/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
'use strict';var k,aa=function(a){var b=0;return function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}}},ba="function"==typeof Object.defineProperties?Object.defineProperty:function(a,b,c){if(a==Array.prototype||a==Object.prototype)return a;a[b]=c.value;return a},ca=function(a){a=["object"==typeof globalThis&&globalThis,a,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var b=0;b<a.length;++b){var c=a[b];if(c&&c.Math==Math)return c}throw Error("Cannot find global object");
},da=ca(this),ea=function(a,b){if(b){var c=da;a=a.split(".");for(var d=0;d<a.length-1;d++){var e=a[d];e in c||(c[e]={});c=c[e]}a=a[a.length-1];d=c[a];b=b(d);b!=d&&null!=b&&ba(c,a,{configurable:!0,writable:!0,value:b})}};
ea("Symbol",function(a){if(a)return a;var b=function(e,f){this.g=e;ba(this,"description",{configurable:!0,writable:!0,value:f})};b.prototype.toString=function(){return this.g};var c=0,d=function(e){if(this instanceof d)throw new TypeError("Symbol is not a constructor");return new b("jscomp_symbol_"+(e||"")+"_"+c++,e)};return d});
var fa=function(){fa=function(){};var a=Symbol.iterator;a||(a=Symbol.iterator=Symbol("Symbol.iterator"));"function"!=typeof Array.prototype[a]&&ba(Array.prototype,a,{configurable:!0,writable:!0,value:function(){return ha(aa(this))}})},ha=function(a){fa();a={next:a};a[Symbol.iterator]=function(){return this};return a},m=function(a){return a.raw=a},n=function(a){var b="undefined"!=typeof Symbol&&Symbol.iterator&&a[Symbol.iterator];return b?b.call(a):{next:aa(a)}},q=function(a){if(!(a instanceof Array)){a=
n(a);for(var b,c=[];!(b=a.next()).done;)c.push(b.value);a=c}return a},ia="function"==typeof Object.create?Object.create:function(a){var b=function(){};b.prototype=a;return new b},ja;if("function"==typeof Object.setPrototypeOf)ja=Object.setPrototypeOf;else{var ka;a:{var la={a:!0},ma={};try{ma.__proto__=la;ka=ma.a;break a}catch(a){}ka=!1}ja=ka?function(a,b){a.__proto__=b;if(a.__proto__!==b)throw new TypeError(a+" is not extensible");return a}:null}
var na=ja,u=function(a,b){a.prototype=ia(b.prototype);a.prototype.constructor=a;if(na)na(a,b);else for(var c in b)if("prototype"!=c)if(Object.defineProperties){var d=Object.getOwnPropertyDescriptor(b,c);d&&Object.defineProperty(a,c,d)}else a[c]=b[c];a.Ab=b.prototype},oa=function(){this.o=!1;this.m=null;this.h=void 0;this.g=1;this.l=this.w=0;this.D=this.j=null},pa=function(a){if(a.o)throw new TypeError("Generator is already running");a.o=!0};oa.prototype.s=function(a){this.h=a};
var qa=function(a,b){a.j={Ec:b,Ym:!0};a.g=a.w||a.l};oa.prototype.return=function(a){this.j={return:a};this.g=this.l};var v=function(a,b,c){a.g=c;return{value:b}};oa.prototype.bb=function(a){this.g=a};
var ra=function(a,b,c){a.w=b;void 0!=c&&(a.l=c)},sa=function(a,b){a.g=b;a.w=0},ta=function(a){a.w=0;var b=a.j.Ec;a.j=null;return b},ua=function(a){var b=a.D.splice(0)[0];(b=a.j=a.j||b)?b.Ym?a.g=a.w||a.l:void 0!=b.bb&&a.l<b.bb?(a.g=b.bb,a.j=null):a.g=a.l:a.g=0},va=function(a){this.g=new oa;this.h=a},ya=function(a,b){pa(a.g);var c=a.g.m;if(c)return wa(a,"return"in c?c["return"]:function(d){return{value:d,done:!0}},b,a.g.return);a.g.return(b);return xa(a)},wa=function(a,b,c,d){try{var e=b.call(a.g.m,
c);if(!(e instanceof Object))throw new TypeError("Iterator result "+e+" is not an object");if(!e.done)return a.g.o=!1,e;var f=e.value}catch(g){return a.g.m=null,qa(a.g,g),xa(a)}a.g.m=null;d.call(a.g,f);return xa(a)},xa=function(a){for(;a.g.g;)try{var b=a.h(a.g);if(b)return a.g.o=!1,{value:b.value,done:!1}}catch(c){a.g.h=void 0,qa(a.g,c)}a.g.o=!1;if(a.g.j){b=a.g.j;a.g.j=null;if(b.Ym)throw b.Ec;return{value:b.return,done:!0}}return{value:void 0,done:!0}},za=function(a){this.next=function(b){pa(a.g);
a.g.m?b=wa(a,a.g.m.next,b,a.g.s):(a.g.s(b),b=xa(a));return b};this.throw=function(b){pa(a.g);a.g.m?b=wa(a,a.g.m["throw"],b,a.g.s):(qa(a.g,b),b=xa(a));return b};this.return=function(b){return ya(a,b)};fa();this[Symbol.iterator]=function(){return this}};
ea("Promise",function(a){function b(){this.g=null}function c(g){return g instanceof e?g:new e(function(h){h(g)})}if(a)return a;b.prototype.h=function(g){if(null==this.g){this.g=[];var h=this;this.j(function(){h.m()})}this.g.push(g)};var d=da.setTimeout;b.prototype.j=function(g){d(g,0)};b.prototype.m=function(){for(;this.g&&this.g.length;){var g=this.g;this.g=[];for(var h=0;h<g.length;++h){var l=g[h];g[h]=null;try{l()}catch(p){this.l(p)}}}this.g=null};b.prototype.l=function(g){this.j(function(){throw g;
})};var e=function(g){this.h=0;this.j=void 0;this.g=[];var h=this.m();try{g(h.resolve,h.reject)}catch(l){h.reject(l)}};e.prototype.m=function(){function g(p){return function(r){l||(l=!0,p.call(h,r))}}var h=this,l=!1;return{resolve:g(this.C),reject:g(this.l)}};e.prototype.C=function(g){if(g===this)this.l(new TypeError("A Promise cannot resolve to itself"));else if(g instanceof e)this.F(g);else{a:switch(typeof g){case "object":var h=null!=g;break a;case "function":h=!0;break a;default:h=!1}h?this.D(g):
this.w(g)}};e.prototype.D=function(g){var h=void 0;try{h=g.then}catch(l){this.l(l);return}"function"==typeof h?this.G(h,g):this.w(g)};e.prototype.l=function(g){this.o(2,g)};e.prototype.w=function(g){this.o(1,g)};e.prototype.o=function(g,h){if(0!=this.h)throw Error("Cannot settle("+g+", "+h+"): Promise already settled in state"+this.h);this.h=g;this.j=h;this.s()};e.prototype.s=function(){if(null!=this.g){for(var g=0;g<this.g.length;++g)f.h(this.g[g]);this.g=null}};var f=new b;e.prototype.F=function(g){var h=
this.m();g.xh(h.resolve,h.reject)};e.prototype.G=function(g,h){var l=this.m();try{g.call(h,l.resolve,l.reject)}catch(p){l.reject(p)}};e.prototype.then=function(g,h){function l(A,z){return"function"==typeof A?function(G){try{p(A(G))}catch(N){r(N)}}:z}var p,r,t=new e(function(A,z){p=A;r=z});this.xh(l(g,p),l(h,r));return t};e.prototype.catch=function(g){return this.then(void 0,g)};e.prototype.xh=function(g,h){function l(){switch(p.h){case 1:g(p.j);break;case 2:h(p.j);break;default:throw Error("Unexpected state: "+
p.h);}}var p=this;null==this.g?f.h(l):this.g.push(l)};e.resolve=c;e.reject=function(g){return new e(function(h,l){l(g)})};e.race=function(g){return new e(function(h,l){for(var p=n(g),r=p.next();!r.done;r=p.next())c(r.value).xh(h,l)})};e.all=function(g){var h=n(g),l=h.next();return l.done?c([]):new e(function(p,r){function t(G){return function(N){A[G]=N;z--;0==z&&p(A)}}var A=[],z=0;do A.push(void 0),z++,c(l.value).xh(t(A.length-1),r),l=h.next();while(!l.done)})};return e});
var Ba=function(a){function b(d){return a.next(d)}function c(d){return a.throw(d)}return new Promise(function(d,e){function f(g){g.done?d(g.value):Promise.resolve(g.value).then(b,c).then(f,e)}f(a.next())})},Ca=function(a){return Ba(new za(new va(a)))},Da=Da||{},Ea=this||self,Ha=function(a){if(a&&a!=Ea)return Fa(a.document);null===Ga&&(Ga=Fa(Ea.document));return Ga},Ia=/^[\w+/_-]+[=]{0,2}$/,Ga=null,Fa=function(a){return(a=a.querySelector&&a.querySelector("script[nonce]"))&&(a=a.nonce||a.getAttribute("nonce"))&&
Ia.test(a)?a:""},Ja=function(a,b){a=a.split(".");b=b||Ea;for(var c=0;c<a.length;c++)if(b=b[a[c]],null==b)return null;return b},Ka=function(){},La=function(a){a.Dj=void 0;a.Kb=function(){return a.Dj?a.Dj:a.Dj=new a}},Ma=function(a){var b=typeof a;if("object"==b)if(a){if(a instanceof Array)return"array";if(a instanceof Object)return b;var c=Object.prototype.toString.call(a);if("[object Window]"==c)return"object";if("[object Array]"==c||"number"==typeof a.length&&"undefined"!=typeof a.splice&&"undefined"!=
typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("splice"))return"array";if("[object Function]"==c||"undefined"!=typeof a.call&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("call"))return"function"}else return"null";else if("function"==b&&"undefined"==typeof a.call)return"object";return b},Na=function(a){var b=Ma(a);return"array"==b||"object"==b&&"number"==typeof a.length},Oa=function(a){return"function"==Ma(a)},Pa=function(a){var b=typeof a;return"object"==b&&null!=a||
"function"==b},Sa=function(a){return Object.prototype.hasOwnProperty.call(a,Qa)&&a[Qa]||(a[Qa]=++Ra)},Ta=function(a){null!==a&&"removeAttribute"in a&&a.removeAttribute(Qa);try{delete a[Qa]}catch(b){}},Qa="closure_uid_"+(1E9*Math.random()>>>0),Ra=0,Ua=function(a,b,c){return a.call.apply(a.bind,arguments)},Va=function(a,b,c){if(!a)throw Error();if(2<arguments.length){var d=Array.prototype.slice.call(arguments,2);return function(){var e=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(e,
d);return a.apply(b,e)}}return function(){return a.apply(b,arguments)}},w=function(a,b,c){Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?w=Ua:w=Va;return w.apply(null,arguments)},Wa=function(a,b){var c=Array.prototype.slice.call(arguments,1);return function(){var d=c.slice();d.push.apply(d,arguments);return a.apply(this,d)}},Xa=Date.now||function(){return+new Date},x=function(a,b){a=a.split(".");var c=Ea;a[0]in c||"undefined"==typeof c.execScript||c.execScript("var "+
a[0]);for(var d;a.length&&(d=a.shift());)a.length||void 0===b?c[d]&&c[d]!==Object.prototype[d]?c=c[d]:c=c[d]={}:c[d]=b},y=function(a,b){function c(){}c.prototype=b.prototype;a.Ab=b.prototype;a.prototype=new c;a.prototype.constructor=a};var chrome=chrome||window.chrome||{};chrome.cast=chrome.cast||{};chrome.cast.media=chrome.cast.media||{};var mojo={};var Ya=function(){return Promise.reject(Error("Not implemented"))};var Za=function(a){this.g=a},ab=function(a){var b=$a.get(a);b||(b=new Za(a),$a.set(a,b));return b},db=function(a){a.level>=bb&&cb.forEach(function(b){return b(a)})};Za.prototype.log=function(a,b,c){if(!(a<bb)){"function"==typeof b&&(b=b());b=b.replace(eb,"[Redacted URL]");b=b.replace(fb,"[Redacted domain/email]");b=b.replace(gb,function(e,f,g){return f+":<"+g.substr(-4)+">"});var d={T:this.g,level:a,time:Date.now(),message:b,Ec:c};cb.forEach(function(e){return e(d)})}};
Za.prototype.error=function(a,b){this.log(3,a,b)};Za.prototype.J=function(a,b){this.log(2,a,b)};var B=function(a,b){a.log(1,b,void 0)},hb=function(a,b,c){a.log(0,b,c)},jb=function(a){a=ib.indexOf(a);return-1==a?0:a},kb=function(a){return 600>=a?0:850>=a?1:950>=a?2:3},cb=[],$a=new Map,ib=["FINE","INFO","WARNING","SEVERE"],fb=/(([\w.+-]+@)|((www|m|mail|ftp)[.]))[\w.-]+[.][\w-]{2,4}/gi,eb=/(data:|https?:\/\/)\S+/gi,gb=/(dial|cast):<([a-zA-Z0-9]+)>/gi,bb=1;var lb=function(a){this.g=a;this.h=Date.now()},mb=function(a,b){null!=b&&(a+="_"+b);return a};lb.prototype.end=function(a){var b=Date.now()-this.h;nb(mb(this.g,a),b)};var nb=function(a,b){0>b&&(ob.J("Timing analytics event with negative time"),b=0);1E4<b&&(b=1E4);try{chrome.metricsPrivate.recordTime(a,b)}catch(c){ob.J("Failed to record time "+b+" in "+a)}},ob=ab("mr.Timing"),pb=function(a){lb.call(this,a)};u(pb,lb);
pb.prototype.end=function(a){var b=Date.now()-this.h;a=mb(this.g,a);if(0>b)qb.J("Timing analytics event with negative time");else{1E4>b&&(b=1E4);18E4<b&&(b=18E4);try{chrome.metricsPrivate.recordMediumTime(a,b)}catch(c){qb.J("Failed to record time "+b+" in "+a)}}};var qb=ab("mr.MediumTiming"),rb=function(a){lb.call(this,a)};u(rb,lb);
rb.prototype.end=function(a){var b=Date.now()-this.h;a=mb(this.g,a);if(0>b)sb.J("Timing analytics event with negative time");else{18E4>b&&(b=18E4);36E5<b&&(b=36E5);try{chrome.metricsPrivate.recordLongTime(a,b)}catch(c){sb.J("Failed to record time "+b+" in "+a)}}};
var sb=ab("mr.LongTiming"),tb=ab("mr.Analytics"),ub=function(a){try{chrome.metricsPrivate.recordUserAction(a)}catch(b){tb.J("Failed to record event "+a)}},vb=function(a,b,c){var d,e=0,f;for(f in c)e++,c[f]==b&&(d=f);if(d){c={metricName:a,type:"histogram-linear",min:1,max:e,buckets:e+1};try{chrome.metricsPrivate.recordValue(c,b)}catch(g){tb.J("Failed to record enum value "+d+" ("+b+") in "+a,g)}}else tb.error("Unknown analytics value, "+b+" for histogram, "+a,Error())},wb=0,xb={UNKNOWN:wb,ZH:1,ON_SINKS_REMOVED:2,
DE:3,CE:4,BE:5},yb=null,zb=function(a){null!=yb&&(clearTimeout(yb),yb=null);wb=a;yb=setTimeout(function(){},250)};var Ab=function(){var a=this;this.g=new Promise(function(b,c){a.j=b;a.h=c})};Ab.prototype.resolve=function(a){this.j(a)};Ab.prototype.reject=function(a){this.h(a)};var Bb=function(a){if(Error.captureStackTrace)Error.captureStackTrace(this,Bb);else{var b=Error().stack;b&&(this.stack=b)}a&&(this.message=String(a))};y(Bb,Error);Bb.prototype.name="CustomError";var Cb;var Db=function(a,b){a=a.split("%s");for(var c="",d=a.length-1,e=0;e<d;e++)c+=a[e]+(e<b.length?b[e]:"%s");Bb.call(this,c+a[d])};y(Db,Bb);Db.prototype.name="AssertionError";var Eb=function(a,b){throw new Db("Failure"+(a?": "+a:""),Array.prototype.slice.call(arguments,1));};var Fb=function(a){return a[a.length-1]},Gb=Array.prototype.indexOf?function(a,b){return Array.prototype.indexOf.call(a,b,void 0)}:function(a,b){if("string"===typeof a)return"string"!==typeof b||1!=b.length?-1:a.indexOf(b,0);for(var c=0;c<a.length;c++)if(c in a&&a[c]===b)return c;return-1},Hb=Array.prototype.forEach?function(a,b,c){Array.prototype.forEach.call(a,b,c)}:function(a,b,c){for(var d=a.length,e="string"===typeof a?a.split(""):a,f=0;f<d;f++)f in e&&b.call(c,e[f],f,a)},Ib=function(a,b){for(var c=
"string"===typeof a?a.split(""):a,d=a.length-1;0<=d;--d)d in c&&b.call(void 0,c[d],d,a)},Jb=Array.prototype.filter?function(a,b,c){return Array.prototype.filter.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=[],f=0,g="string"===typeof a?a.split(""):a,h=0;h<d;h++)if(h in g){var l=g[h];b.call(c,l,h,a)&&(e[f++]=l)}return e},Kb=Array.prototype.map?function(a,b,c){return Array.prototype.map.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=Array(d),f="string"===typeof a?a.split(""):a,g=0;g<d;g++)g in
f&&(e[g]=b.call(c,f[g],g,a));return e},Lb=Array.prototype.reduce?function(a,b,c){return Array.prototype.reduce.call(a,b,c)}:function(a,b,c){var d=c;Hb(a,function(e,f){d=b.call(void 0,d,e,f,a)});return d},Ob=Array.prototype.some?function(a,b){return Array.prototype.some.call(a,b,void 0)}:function(a,b){for(var c=a.length,d="string"===typeof a?a.split(""):a,e=0;e<c;e++)if(e in d&&b.call(void 0,d[e],e,a))return!0;return!1},Pb=Array.prototype.every?function(a,b,c){return Array.prototype.every.call(a,b,
c)}:function(a,b,c){for(var d=a.length,e="string"===typeof a?a.split(""):a,f=0;f<d;f++)if(f in e&&!b.call(c,e[f],f,a))return!1;return!0},Rb=function(a,b){b=Qb(a,b,void 0);return 0>b?null:"string"===typeof a?a.charAt(b):a[b]},Qb=function(a,b,c){for(var d=a.length,e="string"===typeof a?a.split(""):a,f=0;f<d;f++)if(f in e&&b.call(c,e[f],f,a))return f;return-1},Sb=function(a,b){a:{for(var c="string"===typeof a?a.split(""):a,d=a.length-1;0<=d;d--)if(d in c&&b.call(void 0,c[d],d,a)){b=d;break a}b=-1}return 0>
b?null:"string"===typeof a?a.charAt(b):a[b]},Tb=function(a,b){return 0<=Gb(a,b)},Ub=function(a){if(!Array.isArray(a))for(var b=a.length-1;0<=b;b--)delete a[b];a.length=0},Vb=function(a,b){Tb(a,b)||a.push(b)},Xb=function(a,b,c){var d;2==arguments.length||0>(d=Gb(a,c))?a.push(b):Wb(a,d,0,b)},Zb=function(a,b){b=Gb(a,b);var c;(c=0<=b)&&Yb(a,b);return c},Yb=function(a,b){return 1==Array.prototype.splice.call(a,b,1).length},$b=function(a,b){b=Qb(a,b,void 0);return 0<=b?(Yb(a,b),!0):!1},ac=function(a,b){var c=
0;Ib(a,function(d,e){b.call(void 0,d,e,a)&&Yb(a,e)&&c++})},bc=function(a){return Array.prototype.concat.apply([],arguments)},cc=function(a){var b=a.length;if(0<b){for(var c=Array(b),d=0;d<b;d++)c[d]=a[d];return c}return[]},dc=function(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c];if(Na(d)){var e=a.length||0,f=d.length||0;a.length=e+f;for(var g=0;g<f;g++)a[e+g]=d[g]}else a.push(d)}},Wb=function(a,b,c,d){Array.prototype.splice.apply(a,ec(arguments,1))},ec=function(a,b,c){return 2>=arguments.length?
Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)},fc=function(a,b){b=b||a;for(var c={},d=0,e=0;e<a.length;){var f=a[e++];var g=f;g=Pa(g)?"o"+Sa(g):(typeof g).charAt(0)+g;Object.prototype.hasOwnProperty.call(c,g)||(c[g]=!0,b[d++]=f)}b.length=d},gc=function(a,b){for(var c=0,d=a.length,e;c<d;){var f=c+(d-c>>>1);var g=b.call(void 0,a[f],f,a);0<g?c=f+1:(d=f,e=!g)}return e?c:-c-1},ic=function(a,b){a.sort(b||hc)},jc=function(a,b){var c=hc;ic(a,function(d,e){return c(b(d),b(e))})},kc=function(a){jc(a,
function(b){return b.t})},mc=function(a,b,c){if(!Na(a)||!Na(b)||a.length!=b.length)return!1;var d=a.length;c=c||lc;for(var e=0;e<d;e++)if(!c(a[e],b[e]))return!1;return!0},hc=function(a,b){return a>b?1:a<b?-1:0},lc=function(a,b){return a===b},nc=function(a,b){var c={};Hb(a,function(d,e){c[b.call(void 0,d,e,a)]=d});return c},oc=function(a,b){return bc.apply([],Kb(a,b,void 0))};var pc=function(a){return function(){return a}},qc=function(){return!0},rc=function(){return null},sc=function(a){return a},tc=function(a){return function(){throw Error(a);}},uc=function(a){var b=b||0;return function(){return a.apply(this,Array.prototype.slice.call(arguments,0,b))}},vc=function(a){return function(){return!a.apply(this,arguments)}},wc=function(a){var b=!1,c;return function(){b||(c=a(),b=!0);return c}};var xc=function(a,b,c){for(var d in a)b.call(c,a[d],d,a)},yc=function(a,b){var c={},d;for(d in a)c[d]=b.call(void 0,a[d],d,a);return c},zc=function(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return!0;return!1},Ac=function(a){var b=0,c;for(c in a)b++;return b},Bc=function(a){for(var b in a)return b},Cc=function(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b},Dc=function(a){var b=[],c=0,d;for(d in a)b[c++]=d;return b},Ec=function(a,b){return null!==a&&b in a},Fc=function(a,b){for(var c in a)if(a[c]==
b)return!0;return!1},Gc=function(a){for(var b in a)return!1;return!0},Hc=function(a){for(var b in a)delete a[b]},Ic=function(a){var b={},c;for(c in a)b[c]=a[c];return b},Jc=function(a){var b=Ma(a);if("object"==b||"array"==b){if(Oa(a.clone))return a.clone();b="array"==b?[]:{};for(var c in a)b[c]=Jc(a[c]);return b}return a},Kc=function(a){var b={},c;for(c in a)b[a[c]]=c;return b},Lc="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" "),Mc=function(a,
b){for(var c,d,e=1;e<arguments.length;e++){d=arguments[e];for(c in d)a[c]=d[c];for(var f=0;f<Lc.length;f++)c=Lc[f],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])}},Nc=function(a){var b=arguments.length;if(1==b&&Array.isArray(arguments[0]))return Nc.apply(null,arguments[0]);for(var c={},d=0;d<b;d++)c[arguments[d]]=!0;return c};var Qc=function(a,b){this.g=a===Oc&&b||"";this.h=Pc};Qc.prototype.fd=!0;Qc.prototype.Uc=function(){return this.g};Qc.prototype.toString=function(){return"Const{"+this.g+"}"};var Rc=function(a){if(a instanceof Qc&&a.constructor===Qc&&a.h===Pc)return a.g;Eb("expected object of type Const, got '"+a+"'");return"type_error:Const"},Pc={},Oc={};var Tc=function(){this.g=Sc};Tc.prototype.fd=!0;var Sc={};Tc.prototype.Uc=function(){return"".toString()};Tc.prototype.toString=function(){return"SafeScript{}"};var Uc=function(a){if(a instanceof Tc&&a.constructor===Tc&&a.g===Sc)return"";Eb("expected object of type SafeScript, got '"+a+"' of type "+Ma(a));return"type_error:SafeScript"};var Vc=/[A-Za-z\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02b8\u0300-\u0590\u0900-\u1fff\u200e\u2c00-\ud801\ud804-\ud839\ud83c-\udbff\uf900-\ufb1c\ufe00-\ufe6f\ufefd-\uffff]/,Wc=/^[^A-Za-z\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02b8\u0300-\u0590\u0900-\u1fff\u200e\u2c00-\ud801\ud804-\ud839\ud83c-\udbff\uf900-\ufb1c\ufe00-\ufe6f\ufefd-\uffff]*[\u0591-\u06ef\u06fa-\u08ff\u200f\ud802-\ud803\ud83a-\ud83b\ufb1d-\ufdff\ufe70-\ufefc]/,Xc=/^http:\/\/.*/,Yc=/\s+/,Zc=/[\d\u06f0-\u06f9]/;var bd=function(a,b){this.g=a===$c&&b||"";this.h=ad};k=bd.prototype;k.fd=!0;k.Uc=function(){return this.g.toString()};k.Cj=!0;k.vj=function(){return 1};k.toString=function(){return"TrustedResourceUrl{"+this.g+"}"};
var cd=function(a){if(a instanceof bd&&a.constructor===bd&&a.h===ad)return a.g;Eb("expected object of type TrustedResourceUrl, got '"+a+"' of type "+Ma(a));return"type_error:TrustedResourceUrl"},fd=function(){var a={build:245201848},b=Rc(new Qc(Oc,"https://www.gstatic.com/hangouts_echo_detector/release/%{build}/echo_detector_v2_wasm.js"));if(!dd.test(b))throw Error("Invalid TrustedResourceUrl format: "+b);var c=b.replace(ed,function(d,e){if(!Object.prototype.hasOwnProperty.call(a,e))throw Error('Found marker, "'+
e+'", in format string, "'+b+'", but no valid label mapping found in args: '+JSON.stringify(a));d=a[e];return d instanceof Qc?Rc(d):encodeURIComponent(String(d))});return new bd($c,c)},ed=/%{(\w+)}/g,dd=/^((https:)?\/\/[0-9a-z.:[\]-]+\/|\/[^/\\]|[^:/\\%]+\/|[^:/\\%]*[?#]|about:blank#)/i,ad={},$c={};var gd=function(a,b){return 0==a.lastIndexOf(b,0)},hd=function(a,b){return a.toLowerCase()==b.toLowerCase()},id=function(a){return/^[\s\xa0]*$/.test(a)},jd=String.prototype.trim?function(a){return a.trim()}:function(a){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(a)[1]},kd=function(a,b){a=String(a).toLowerCase();b=String(b).toLowerCase();return a<b?-1:a==b?0:1},td=function(a,b){if(b)a=a.replace(ld,"&amp;").replace(nd,"&lt;").replace(od,"&gt;").replace(pd,"&quot;").replace(qd,"&#39;").replace(rd,"&#0;");
else{if(!sd.test(a))return a;-1!=a.indexOf("&")&&(a=a.replace(ld,"&amp;"));-1!=a.indexOf("<")&&(a=a.replace(nd,"&lt;"));-1!=a.indexOf(">")&&(a=a.replace(od,"&gt;"));-1!=a.indexOf('"')&&(a=a.replace(pd,"&quot;"));-1!=a.indexOf("'")&&(a=a.replace(qd,"&#39;"));-1!=a.indexOf("\x00")&&(a=a.replace(rd,"&#0;"))}return a},ld=/&/g,nd=/</g,od=/>/g,pd=/"/g,qd=/'/g,rd=/\x00/g,sd=/[\x00&<>"']/,vd=function(a,b){var c=0;a=jd(String(a)).split(".");b=jd(String(b)).split(".");for(var d=Math.max(a.length,b.length),
e=0;0==c&&e<d;e++){var f=a[e]||"",g=b[e]||"";do{f=/(\d*)(\D*)(.*)/.exec(f)||["","","",""];g=/(\d*)(\D*)(.*)/.exec(g)||["","","",""];if(0==f[0].length&&0==g[0].length)break;c=ud(0==f[1].length?0:parseInt(f[1],10),0==g[1].length?0:parseInt(g[1],10))||ud(0==f[2].length,0==g[2].length)||ud(f[2],g[2]);f=f[3];g=g[3]}while(0==c)}return c},ud=function(a,b){return a<b?-1:a>b?1:0};var yd=function(a,b){this.g=a===wd&&b||"";this.h=xd};k=yd.prototype;k.fd=!0;k.Uc=function(){return this.g.toString()};k.Cj=!0;k.vj=function(){return 1};k.toString=function(){return"SafeUrl{"+this.g+"}"};
var zd=function(a){if(a instanceof yd&&a.constructor===yd&&a.h===xd)return a.g;Eb("expected object of type SafeUrl, got '"+a+"' of type "+Ma(a));return"type_error:SafeUrl"},Ad=/^(?:(?:https?|mailto|ftp):|[^:/?#]*(?:[/?#]|$))/i,Bd=function(a){if(a instanceof yd)return a;a="object"==typeof a&&a.fd?a.Uc():String(a);Ad.test(a)||(a="about:invalid#zClosurez");return new yd(wd,a)},xd={},wd={};var Dd=function(){this.g="";this.h=Cd};Dd.prototype.fd=!0;var Cd={};Dd.prototype.Uc=function(){return this.g};Dd.prototype.toString=function(){return"SafeStyle{"+this.g+"}"};
var Ed=function(a){if(a instanceof Dd&&a.constructor===Dd&&a.h===Cd)return a.g;Eb("expected object of type SafeStyle, got '"+a+"' of type "+Ma(a));return"type_error:SafeStyle"},Fd=function(a){var b=new Dd;b.g=a;return b},Gd=Fd(""),Id=function(a){if(a instanceof yd)return'url("'+zd(a).replace(/</g,"%3c").replace(/[\\"]/g,"\\$&")+'")';a=a instanceof Qc?Rc(a):Hd(String(a));if(/[{;}]/.test(a))throw new Db("Value does not allow [{;}], got: %s.",[a]);return a},Hd=function(a){var b=a.replace(Jd,"$1").replace(Jd,
"$1").replace(Kd,"url");if(Ld.test(b)){if(Md.test(a))return Eb("String value disallows comments, got: "+a),"zClosurez";for(var c=b=!0,d=0;d<a.length;d++){var e=a.charAt(d);"'"==e&&c?b=!b:'"'==e&&b&&(c=!c)}if(!b||!c)return Eb("String value requires balanced quotes, got: "+a),"zClosurez";if(!Nd(a))return Eb("String value requires balanced square brackets and one identifier per pair of brackets, got: "+a),"zClosurez"}else return Eb("String value allows only [-,.\"'%_!# a-zA-Z0-9\\[\\]] and simple functions, got: "+
a),"zClosurez";return Od(a)},Nd=function(a){for(var b=!0,c=/^[-_a-zA-Z0-9]$/,d=0;d<a.length;d++){var e=a.charAt(d);if("]"==e){if(b)return!1;b=!0}else if("["==e){if(!b)return!1;b=!1}else if(!b&&!c.test(e))return!1}return b},Ld=/^[-,."'%_!# a-zA-Z0-9\[\]]+$/,Kd=/\b(url\([ \t\n]*)('[ -&(-\[\]-~]*'|"[ !#-\[\]-~]*"|[!#-&*-\[\]-~]*)([ \t\n]*\))/g,Jd=/\b(calc|cubic-bezier|fit-content|hsl|hsla|linear-gradient|matrix|minmax|repeat|rgb|rgba|(rotate|scale|translate)(X|Y|Z|3d)?)\([-+*/0-9a-z.%\[\], ]+\)/g,Md=
/\/\*/,Od=function(a){return a.replace(Kd,function(b,c,d,e){var f="";d=d.replace(/^(['"])(.*)\1$/,function(g,h,l){f=h;return l});b=Bd(d).Uc();return c+f+b+f+e})};var Qd=function(){this.g="";this.h=Pd};Qd.prototype.fd=!0;
var Pd={},Sd=function(a,b){if(-1!=a.indexOf("<"))throw Error("Selector does not allow '<', got: "+a);var c=a.replace(/('|")((?!\1)[^\r\n\f\\]|\\[\s\S])*\1/g,"");if(!/^[-_a-zA-Z0-9#.:* ,>+~[\]()=^$|]+$/.test(c))throw Error("Selector allows only [-_a-zA-Z0-9#.:* ,>+~[\\]()=^$|] and strings, got: "+a);a:{for(var d={"(":")","[":"]"},e=[],f=0;f<c.length;f++){var g=c[f];if(d[g])e.push(d[g]);else if(Fc(d,g)&&e.pop()!=g){c=!1;break a}}c=0==e.length}if(!c)throw Error("() and [] in selector must be balanced, got: "+a);
if(!(b instanceof Dd)){c="";for(var h in b){if(!/^[-_a-zA-Z0-9]+$/.test(h))throw Error("Name allows only [-_a-zA-Z0-9], got: "+h);d=b[h];null!=d&&(d=Array.isArray(d)?Kb(d,Id).join(" "):Id(d),c+=h+":"+d+";")}b=c?Fd(c):Gd}a=a+"{"+Ed(b).replace(/</g,"\\3C ")+"}";return Rd(a)},Ud=function(a){var b="",c=function(d){Array.isArray(d)?Hb(d,c):b+=Td(d)};Hb(arguments,c);return Rd(b)};Qd.prototype.Uc=function(){return this.g};Qd.prototype.toString=function(){return"SafeStyleSheet{"+this.g+"}"};
var Td=function(a){if(a instanceof Qd&&a.constructor===Qd&&a.h===Pd)return a.g;Eb("expected object of type SafeStyleSheet, got '"+a+"' of type "+Ma(a));return"type_error:SafeStyleSheet"},Rd=function(a){var b=new Qd;b.g=a;return b},Vd=Rd("");var Wd;a:{var Xd=Ea.navigator;if(Xd){var Yd=Xd.userAgent;if(Yd){Wd=Yd;break a}}Wd=""}var Zd=function(a){return-1!=Wd.indexOf(a)},$d=function(a){for(var b=/(\w[\w ]+)\/([^\s]+)\s*(?:\((.*?)\))?/g,c=[],d;d=b.exec(a);)c.push([d[1],d[2],d[3]||void 0]);return c};var ae=function(){return Zd("Trident")||Zd("MSIE")},be=function(){return Zd("Firefox")||Zd("FxiOS")},de=function(){return Zd("Safari")&&!(ce()||Zd("Coast")||Zd("Opera")||Zd("Edge")||Zd("Edg/")||Zd("OPR")||be()||Zd("Silk")||Zd("Android"))},ce=function(){return(Zd("Chrome")||Zd("CriOS"))&&!Zd("Edge")},fe=function(){function a(e){e=Rb(e,d);return c[e]||""}var b=Wd;if(ae())return ee(b);b=$d(b);var c={};Hb(b,function(e){c[e[0]]=e[1]});var d=Wa(Ec,c);return Zd("Opera")?a(["Version","Opera"]):Zd("Edge")?
a(["Edge"]):Zd("Edg/")?a(["Edg"]):ce()?a(["Chrome","CriOS","HeadlessChrome"]):(b=b[2])&&b[1]||""},ee=function(a){var b=/rv: *([\d\.]*)/.exec(a);if(b&&b[1])return b[1];b="";var c=/MSIE +([\d\.]+)/.exec(a);if(c&&c[1])if(a=/Trident\/(\d.\d)/.exec(a),"7.0"==c[1])if(a&&a[1])switch(a[1]){case "4.0":b="8.0";break;case "5.0":b="9.0";break;case "6.0":b="10.0";break;case "7.0":b="11.0"}else b="7.0";else b=c[1];return b};var he=function(){this.g="";this.h=ge;this.ue=null};k=he.prototype;k.Cj=!0;k.vj=function(){return this.ue};k.fd=!0;k.Uc=function(){return this.g.toString()};k.toString=function(){return"SafeHtml{"+this.g+"}"};
var ie=function(a){if(a instanceof he&&a.constructor===he&&a.h===ge)return a.g;Eb("expected object of type SafeHtml, got '"+a+"' of type "+Ma(a));return"type_error:SafeHtml"},ke=function(a){if(a instanceof he)return a;var b="object"==typeof a,c=null;b&&a.Cj&&(c=a.vj());a=td(b&&a.fd?a.Uc():String(a));return je(a,c)},ge={},je=function(a,b){var c=new he;c.g=a;c.ue=b;return c},le=new he;le.g=Ea.trustedTypes&&Ea.trustedTypes.emptyHTML?Ea.trustedTypes.emptyHTML:"";le.ue=0;var me={MATH:!0,SCRIPT:!0,STYLE:!0,SVG:!0,TEMPLATE:!0},ne=wc(function(){if("undefined"===typeof document)return!1;var a=document.createElement("div"),b=document.createElement("div");b.appendChild(document.createElement("div"));a.appendChild(b);if(!a.firstChild)return!1;b=a.firstChild.firstChild;a.innerHTML=ie(le);return!b.parentElement}),oe=function(a,b){if(ne())for(;a.lastChild;)a.removeChild(a.lastChild);a.innerHTML=ie(b)},pe=function(a,b){if(me[a.tagName.toUpperCase()])throw Error("goog.dom.safe.setInnerHtml cannot be used to set content of "+
a.tagName+".");oe(a,b)},qe=function(a,b){a:{try{var c=a&&a.ownerDocument,d=c&&(c.defaultView||c.parentWindow);d=d||Ea;if(d.Element&&d.Location){var e=d;break a}}catch(g){}e=null}if(e&&"undefined"!=typeof e.HTMLScriptElement&&(!a||!(a instanceof e.HTMLScriptElement)&&(a instanceof e.Location||a instanceof e.Element))){if(Pa(a))try{var f=a.constructor.displayName||a.constructor.name||Object.prototype.toString.call(a)}catch(g){f="<object could not be stringified>"}else f=void 0===a?"undefined":null===
a?"null":typeof a;Eb("Argument is not a %s (or a non-Element, non-Location mock); got: %s","HTMLScriptElement",f)}a.src=cd(b);(b=Ha(a.ownerDocument&&a.ownerDocument.defaultView))&&a.setAttribute("nonce",b)};var re=function(a){return a=td(a,void 0)},se=String.prototype.repeat?function(a,b){return a.repeat(b)}:function(a,b){return Array(b+1).join(a)},te=function(a,b){a=String(a);var c=a.indexOf(".");-1==c&&(c=a.length);return se("0",Math.max(0,b-c))+a},ue=function(a){return null==a?"":String(a)},ve=function(a){return Array.prototype.join.call(arguments,"")},we=function(){return Math.floor(2147483648*Math.random()).toString(36)+Math.abs(Math.floor(2147483648*Math.random())^Xa()).toString(36)},xe=function(a,
b,c){a=a.split(b);for(var d=[];0<c&&a.length;)d.push(a.shift()),c--;a.length&&d.push(a.join(b));return d};var ye=function(){return Zd("iPhone")&&!Zd("iPod")&&!Zd("iPad")},ze=function(){return ye()||Zd("iPad")||Zd("iPod")},Ae=function(){return Zd("Macintosh")};var Be=function(a){Be[" "](a);return a};Be[" "]=Ka;var Ce=function(a,b){try{return Be(a[b]),!0}catch(c){}return!1},Ee=function(a,b){var c=De;return Object.prototype.hasOwnProperty.call(c,a)?c[a]:c[a]=b(a)};var Fe=function(){return Ea.navigator||null},Ge=Zd("Opera"),He=ae(),Ie=Zd("Edge"),Je=Zd("Gecko")&&!(-1!=Wd.toLowerCase().indexOf("webkit")&&!Zd("Edge"))&&!(Zd("Trident")||Zd("MSIE"))&&!Zd("Edge"),Ke=-1!=Wd.toLowerCase().indexOf("webkit")&&!Zd("Edge"),Le=Ke&&Zd("Mobile"),Me,Ne=Fe();Me=Ne&&Ne.platform||"";var Oe=Ae(),Pe=Zd("Windows"),Qe=Zd("Linux")||Zd("CrOS"),Re=Zd("Android"),Se=ye(),Te=Zd("iPad"),Ue=Zd("iPod"),Ve=function(){var a=Ea.document;return a?a.documentMode:void 0},We;
a:{var Xe="",Ye=function(){var a=Wd;if(Je)return/rv:([^\);]+)(\)|;)/.exec(a);if(Ie)return/Edge\/([\d\.]+)/.exec(a);if(He)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(Ke)return/WebKit\/(\S+)/.exec(a);if(Ge)return/(?:Version)[ \/]?(\S+)/.exec(a)}();Ye&&(Xe=Ye?Ye[1]:"");if(He){var Ze=Ve();if(null!=Ze&&Ze>parseFloat(Xe)){We=String(Ze);break a}}We=Xe}var $e=We,De={},af=function(a){return Ee(a,function(){return 0<=vd($e,a)})},bf;
if(Ea.document&&He){var cf=Ve();bf=cf?cf:parseInt($e,10)||void 0}else bf=void 0;var df=bf;var ef=be(),ff=ye()||Zd("iPod"),gf=Zd("iPad"),hf=Zd("Android")&&!(ce()||be()||Zd("Opera")||Zd("Silk")),jf=ce(),kf=de()&&!ze();var lf=function(a,b){return a+Math.random()*(b-a)};var mf=function(a,b,c){this.s=a;this.j=b;this.o=c;this.m=0;this.l=!1;this.g=this.h=null};mf.prototype.start=function(){if(null!=this.g)throw Error("Cannot call Retry.start more than once.");this.g=new Ab;this.w();return this.g.g};mf.prototype.w=function(){var a=this;this.h=null;this.l||(this.m++,this.s().then(function(b){nf(a);a.g.resolve(b)},function(b){a.m>=a.o?(nf(a),a.g.reject(b)):(a.h=setTimeout(a.w.bind(a),a.j),a.j*=2)}))};
mf.prototype.abort=function(a){nf(this);this.g.reject(void 0===a?Error("abort"):a)};var nf=function(a){null!=a.h&&(clearTimeout(a.h),a.h=null);a.l=!0};var of=function(a){this.j=a;this.g=0;this.h=[]};of.prototype.send=function(a,b,c,d){var e=void 0===d?{}:d;d=void 0===e.timeoutMillis?this.j:e.timeoutMillis;var f=void 0===e.Pt?1:e.Pt,g=void 0===e.headers?null:e.headers;e=void 0===e.responseType?"":e.responseType;a={yb:new Ab,url:a,method:b,headers:g,responseType:e,body:c,timeoutMillis:d,In:f};1>this.g?pf(this,a):this.h.push(a);return a.yb.g};
var qf=function(a){if(0<a.h.length&&1>a.g){var b=a.h.shift();pf(a,b)}},pf=function(a,b){a.g++;b.In--;rf(b).then(function(c){b.yb.resolve(c);a.g--;qf(a)},function(c){0==b.In?b.yb.reject(c):a.h.push(b);a.g--;qf(a)})},rf=function(a){return new Promise(function(b,c){var d=new XMLHttpRequest;d.onreadystatechange=function(){d.readyState==XMLHttpRequest.DONE&&b(d)};d.timeout=a.timeoutMillis;d.ontimeout=function(){c(Error("Timed out"))};d.open(a.method,a.url,!0);null==a.headers?d.setRequestHeader("Content-Type",
"application/x-www-form-urlencoded;charset=utf-8"):a.headers.forEach(function(e){return d.setRequestHeader(e[0],e[1])});d.responseType=a.responseType;d.send(a.body)})};var tf=function(a,b,c){null==sf&&(sf=new of(3E5));var d="https://crash.corp.google.com/samples?reportid=&q="+encodeURIComponent("UserComments='"+b+"'"),e="http://"+a+":8008/setup/send_log_report";sf.send(e,"POST",JSON.stringify({uuid:b}),{headers:[["Content-Type","application/json"]]}).then(function(f){200==f.status?c("ok",d):c("error","Unable to POST to "+e+", error = "+f.status)},function(f){c("error",String(f))});return d},wf=function(a){var b=new uf;if("string"!==typeof a)return Promise.resolve(b);
null==vf&&(vf=new of(3E3));return vf.send("http://"+a+":8008/setup/eureka_info","GET",void 0,{responseType:"text"}).then(function(c){c=JSON.parse(c.responseText);"cast_build_revision"in c?b.g=String(c.cast_build_revision):"build_version"in c&&(b.g=String(c.build_version));"connected"in c&&(b.l="true"==String(c.connected));"ethernet_connected"in c&&(b.h="true"==String(c.ethernet_connected));"has_update"in c&&(b.j="true"==String(c.has_update));"uptime"in c&&(c=Number(c.uptime),Number.isFinite(c)&&(b.m=
c))}).catch(function(c){ab("mr.DongleUtils").J("Unable to fetch/parse setup info.",c)}).then(function(){return b})},uf=function(){this.m=this.j=this.h=this.l=this.g=null},sf=null,vf=null;var xf=function(a,b,c){this.source=a;this.type=b;this.message=c};var yf=function(a){var b=[],c=[],d={},e=function(f,g){var h=g+"  ";try{if(void 0===f)b.push("undefined");else if(null===f)b.push("NULL");else if("string"===typeof f)b.push('"'+f.replace(/\n/g,"\n"+g)+'"');else if(Oa(f))b.push(String(f).replace(/\n/g,"\n"+g));else if(Pa(f)){f[Qa]||c.push(f);var l=Sa(f);if(d[l])b.push("*** reference loop detected (id="+l+") ***");else{d[l]=!0;b.push("{");for(var p in f)Oa(f[p])||(b.push("\n"),b.push(h),b.push(p+" = "),e(f[p],h));b.push("\n"+g+"}");delete d[l]}}else b.push(f)}catch(r){b.push("*** "+
r+" ***")}};e(a,"");for(a=0;a<c.length;a++)Ta(c[a]);return b.join("")},Af=function(a){var b=zf(Af);if(b)return b;b=[];for(var c=arguments.callee.caller,d=0;c&&(!a||d<a);){b.push(Bf(c));b.push("()\n");try{c=c.caller}catch(e){b.push("[exception trying to get caller]\n");break}d++;if(50<=d){b.push("[...long stack...]");break}}a&&d>=a?b.push("[...reached max depth limit...]"):b.push("[end]");return b.join("")},zf=function(a){var b=Error();if(Error.captureStackTrace)return Error.captureStackTrace(b,a),
String(b.stack);try{throw b;}catch(c){b=c}return(a=b.stack)?String(a):null},Cf=function(a){var b;(b=zf(a||Cf))||(b=Df(a||arguments.callee.caller,[]));return b},Df=function(a,b){var c=[];if(Tb(b,a))c.push("[...circular reference...]");else if(a&&50>b.length){c.push(Bf(a)+"(");for(var d=a.arguments,e=0;d&&e<d.length;e++){0<e&&c.push(", ");var f=d[e];switch(typeof f){case "object":f=f?"object":"null";break;case "string":break;case "number":f=String(f);break;case "boolean":f=f?"true":"false";break;case "function":f=
(f=Bf(f))?f:"[fn]";break;default:f=typeof f}40<f.length&&(f=f.substr(0,40)+"...");c.push(f)}b.push(a);c.push(")\n");try{c.push(Df(a.caller,b))}catch(g){c.push("[exception trying to get caller]\n")}}else a?c.push("[...long stack...]"):c.push("[end]");return c.join("")},Bf=function(a){if(Ef[a])return Ef[a];a=String(a);if(!Ef[a]){var b=/function\s+([^\(]+)/m.exec(a);Ef[a]=b?b[1]:"[Anonymous]"}return Ef[a]},Ef={},Ff=Object.freeze||function(a){return a};var Gf=function(a,b,c){this.reset(a,b,c,void 0,void 0)};Gf.prototype.g=null;var Hf=0;Gf.prototype.reset=function(a,b,c,d,e){"number"==typeof e||Hf++;this.m=d||Xa();this.h=a;this.l=b;this.j=c;delete this.g};Gf.prototype.getMessage=function(){return this.l};var If=function(a){this.m=a;this.g=this.l=this.h=this.j=null},Jf=function(a,b){this.name=a;this.value=b};Jf.prototype.toString=function(){return this.name};var Kf=new Jf("SEVERE",1E3),Lf=new Jf("WARNING",900),Mf=new Jf("INFO",800),Nf=new Jf("CONFIG",700),Of=new Jf("FINE",500),Pf=new Jf("FINER",400),Qf=new Jf("ALL",0);If.prototype.getName=function(){return this.m};If.prototype.getChildren=function(){this.l||(this.l={});return this.l};
var Rf=function(a){if(a.h)return a.h;if(a.j)return Rf(a.j);Eb("Root logger has no level set.");return null};k=If.prototype;k.log=function(a,b,c){a.value>=Rf(this).value&&(Oa(b)&&(b=b()),a=new Gf(a,String(b),this.m),c&&(a.g=c),Sf(this,a))};k.Ra=function(a,b){this.log(Kf,a,b)};k.J=function(a,b){this.log(Lf,a,b)};k.config=function(a,b){this.log(Nf,a,b)};k.logRecord=function(a){a.h.value>=Rf(this).value&&Sf(this,a)};
var Sf=function(a,b){for(;a;){var c,d=a,e=b;if(d.g)for(var f=0;c=d.g[f];f++)c(e);a=a.j}},Tf={},Uf=null,Vf=function(){Uf||(Uf=new If(""),Tf[""]=Uf,Uf.h=Nf)},Wf=function(a){Vf();var b;if(!(b=Tf[a])){b=new If(a);var c=a.lastIndexOf("."),d=a.substr(c+1);c=Wf(a.substr(0,c));c.getChildren()[d]=b;b.j=c;Tf[a]=b}return b};var Xf=function(a,b,c,d){a&&a.log(b,c,d)},Yf=function(a,b,c){a&&a.Ra(b,c)},C=function(a,b,c){a&&a.J(b,c)},D=function(a,b){a&&a.log(Mf,b,void 0)},Zf=function(a,b){a&&a.log(Of,b,void 0)};try{(new self.OffscreenCanvas(0,0)).getContext("2d")}catch(a){}var $f=!Je&&!He||He&&9<=Number(df)||Je&&af("1.9.1");var ag=function(a,b){this.width=a;this.height=b};k=ag.prototype;k.clone=function(){return new ag(this.width,this.height)};k.toString=function(){return"("+this.width+" x "+this.height+")"};k.aspectRatio=function(){return this.width/this.height};k.uc=function(){return!(this.width*this.height)};k.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};k.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};
k.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};var cg=function(a){return a?new bg(9==a.nodeType?a:a.ownerDocument||a.document):Cb||(Cb=new bg)},eg=function(a,b){xc(b,function(c,d){c&&"object"==typeof c&&c.fd&&(c=c.Uc());"style"==d?a.style.cssText=c:"class"==d?a.className=c:"for"==d?a.htmlFor=c:dg.hasOwnProperty(d)?a.setAttribute(dg[d],c):gd(d,"aria-")||gd(d,"data-")?a.setAttribute(d,c):a[d]=c})},dg={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",frameborder:"frameBorder",height:"height",maxlength:"maxLength",nonce:"nonce",
role:"role",rowspan:"rowSpan",type:"type",usemap:"useMap",valign:"vAlign",width:"width"},fg=function(a){a=a.document;a="CSS1Compat"==a.compatMode?a.documentElement:a.body;return new ag(a.clientWidth,a.clientHeight)},hg=function(a){return a?gg(a):window},gg=function(a){return a.parentWindow||a.defaultView},ig=function(a,b){b=String(b);"application/xhtml+xml"===a.contentType&&(b=b.toLowerCase());return a.createElement(b)},jg=function(a){for(var b;b=a.firstChild;)a.removeChild(b)},kg=function(a){return a&&
a.parentNode?a.parentNode.removeChild(a):null},lg=function(a,b){if("textContent"in a)a.textContent=b;else if(3==a.nodeType)a.data=String(b);else if(a.firstChild&&3==a.firstChild.nodeType){for(;a.lastChild!=a.firstChild;)a.removeChild(a.lastChild);a.firstChild.data=String(b)}else jg(a),a.appendChild((9==a.nodeType?a:a.ownerDocument||a.document).createTextNode(String(b)))},bg=function(a){this.g=a||Ea.document||document};k=bg.prototype;k.setProperties=eg;k.appendChild=function(a,b){a.appendChild(b)};
k.zs=kg;k.getChildren=function(a){return $f&&void 0!=a.children?a.children:Jb(a.childNodes,function(b){return 1==b.nodeType})};k.isElement=function(a){return Pa(a)&&1==a.nodeType};k.contains=function(a,b){if(!a||!b)return!1;if(a.contains&&1==b.nodeType)return a==b||a.contains(b);if("undefined"!=typeof a.compareDocumentPosition)return a==b||!!(a.compareDocumentPosition(b)&16);for(;b&&a!=b;)b=b.parentNode;return b==a};var mg=function(a){this.g="number"==typeof a?0<a?1:0>a?-1:null:null==a?null:a?-1:1};
