(function(){
/* HTML content inlined from HTML import */
const d=document.createElement("div");
d.setAttribute("inlined-html","");
d.innerHTML="";
document.head.appendChild(d);
})();if(window["ytcsi"])window["ytcsi"]["tick"]("rses_dpj");(function(){/*
Copyright The Closure Library Authors.
SPDX-License-Identifier: Apache-2.0
*/'use strict';var f,aaa=function(a){var b=0;return function(){return b>>0)+"_",d=0,e=function(h){if(this instanceof e)throw new TypeError("Symbol is not a constructor");return new b(c+(h||"")+"_"+d++,h)};
return e});
ca("Symbol.iterator",function(a){if(a)return a;a=Symbol("Symbol.iterator");for(var b="Array Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array Float32Array Float64Array".split(" "),c=0;c=e}});
var xaa=function(a,b,c){a instanceof String&&(a=String(a));for(var d=a.length,e=0;e=h}});
ca("String.prototype.repeat",function(a){return a?a:function(b){var c=ra(this,null,"repeat");if(0>b||1342177279>>=1)c+=c;return d}});
ca("Object.setPrototypeOf",function(a){return a||ha});
var yaa=function(a,b){a instanceof String&&(a+="");var c=0,d=!1,e={next:function(){if(!d&&cc&&(c=Math.max(c+e,0));cc&&(c=Math.max(0,e+c));if(null==d||d>e)d=e;d=Number(d);0>d&&(d=Math.max(0,e+d));for(c=Number(c||0);cb?-c:c}});
ca("Number.isInteger",function(a){return a?a:function(b){return Number.isFinite(b)?b===Math.floor(b):!1}});
ca("Array.of",function(a){return a?a:function(b){return Array.from(arguments)}});
ca("Object.getOwnPropertySymbols",function(a){return a?a:function(){return[]}});
ca("Reflect.ownKeys",function(a){return a?a:function(b){var c=[],d=Object.getOwnPropertyNames(b);b=Object.getOwnPropertySymbols(b);for(var e=0;e>>0),Caa=0,Daa=function(a){var b=Aaa(a);
if("object"==b||"array"==b){if("function"===typeof a.clone)return a.clone();if("undefined"!==typeof Map&&a instanceof Map)return new Map(a);if("undefined"!==typeof Set&&a instanceof Set)return new Set(a);b="array"==b?[]:{};for(var c in a)b[c]=Daa(a[c]);return b}return a},Eaa=function(a,b,c){return a.call.apply(a.bind,arguments)},Faa=function(a,b,c){if(!a)throw Error();
if(2b?null:"string"===typeof a?a.charAt(b):a[b]}
function Naa(a,b,c){for(var d=a.length,e="string"===typeof a?a.split(""):a,h=0;h=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)}
function eb(a,b){b=b||a;for(var c=0,d=0,e={};d>>1);var m=c(b,a[l]);0b?1:aa.length?"&":"")+encodeURIComponent(d)+"="+encodeURIComponent(String(l)))}}return b};var ob=function(a,b){return 0==a.lastIndexOf(b,0)},pb=function(a,b){var c=a.length-b.length;
return 0<=c&&a.indexOf(b,c)==c},qb=function(a){return /^[\s\xa0]*$/.test(a)},rb=String.prototype.trim?function(a){return a.trim()}:function(a){return /^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(a)[1]},Bba=function(a,b){if(b)a=a.replace(uba,"&").replace(vba,"<").replace(wba,">").replace(xba,""").replace(yba,"'").replace(zba,"�");else
{if(!Aba.test(a))return a;-1!=a.indexOf("&")&&(a=a.replace(uba,"&"));-1!=a.indexOf("<")&&(a=a.replace(vba,"<"));-1!=a.indexOf(">")&&(a=a.replace(wba,">"));-1!=a.indexOf("\"")&&(a=a.replace(xba,"""));-1!=a.indexOf("'")&&(a=a.replace(yba,"'"));-1!=a.indexOf("\0")&&(a=a.replace(zba,"�"))}return a},uba=/&/g,vba=//g,xba=/"/g,yba=/'/g,zba=/\x00/g,Aba=/[\x00&<>"']/,sb=function(a,b){return-1!=a.indexOf(b)},tb=function(a,b){return sb(a.toLowerCase(),b.toLowerCase())},ub=
function(a,b){var c=0;
a=rb(String(a)).split(".");b=rb(String(b)).split(".");for(var d=Math.max(a.length,b.length),e=0;0==c&&eb?1:0};var vb=function(a,b){this.privateDoNotAccessOrElseSafeUrlWrappedValue_=b===Dba?a:""};
f=vb.prototype;f.implementsGoogStringTypedString=!0;f.getTypedStringValue=function(){return this.privateDoNotAccessOrElseSafeUrlWrappedValue_.toString()};
f.implementsGoogI18nBidiDirectionalString=!0;f.JSC$30429_getDirection=function(){return 1};
f.toString=function(){return this.privateDoNotAccessOrElseSafeUrlWrappedValue_.toString()};
var wb=function(a){return a instanceof vb&&a.constructor===vb?a.privateDoNotAccessOrElseSafeUrlWrappedValue_:"type_error:SafeUrl"},Eba=RegExp("^(?:audio/(?:3gpp2|3gpp|aac|L16|midi|mp3|mp4|mpeg|oga|ogg|opus|x-m4a|x-matroska|x-wav|wav|webm)|font/\\w+|image/(?:bmp|gif|jpeg|jpg|png|tiff|webp|x-icon)|video/(?:mpeg|mp4|ogg|webm|quicktime|x-matroska))(?:;\\w+=(?:\\w+|\"[\\w;,= ]+\"))*$","i"),Fba=/^data:(.*);base64,[a-z0-9+\/]+=*$/i,yb=function(a){a=String(a);
a=a.replace(/(%0A|%0D)/g,"");var b=a.match(Fba);return b&&Eba.test(b[1])?xb(a):null},Gba=/^(?:(?:https?|mailto|ftp):|[^:/?#]*(?:[/?#]|$))/i,Ab=function(a){a instanceof vb||(a="object"==typeof a&&a.implementsGoogStringTypedString?a.getTypedStringValue():String(a),a=Gba.test(a)?xb(a):yb(a));
return a||zb},Bb=function(a,b){if(a instanceof vb)return a;
a="object"==typeof a&&a.implementsGoogStringTypedString?a.getTypedStringValue():String(a);if(b&&/^data:/i.test(a)&&(b=yb(a)||zb,b.getTypedStringValue()==a))return b;Gba.test(a)||(a="about:invalid#zClosurez");return xb(a)},Dba={},xb=function(a){return new vb(a,Dba)},zb=xb("about:invalid#zClosurez");var Cb={},Db=function(a,b){this.privateDoNotAccessOrElseSafeStyleWrappedValue_=b===Cb?a:"";this.implementsGoogStringTypedString=!0};
Db.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseSafeStyleWrappedValue_};
Db.prototype.toString=function(){return this.privateDoNotAccessOrElseSafeStyleWrappedValue_.toString()};
var Hba=function(a){return a instanceof Db&&a.constructor===Db?a.privateDoNotAccessOrElseSafeStyleWrappedValue_:"type_error:SafeStyle"},Eb=function(a){var b="",c;
for(c in a)if(Object.prototype.hasOwnProperty.call(a,c)){if(!/^[-_a-zA-Z0-9]+$/.test(c))throw Error("Name allows only [-_a-zA-Z0-9], got: "+c);var d=a[c];null!=d&&(d=Array.isArray(d)?d.map(Iba).join(" "):Iba(d),b+=c+":"+d+";")}return b?new Db(b,Cb):Jba},Kba=function(a){var b="",c=function(d){Array.isArray(d)?d.forEach(c):b+=Hba(d)};
Array.prototype.forEach.call(arguments,c);return b?new Db(b,Cb):Jba},Jba=new Db("",Cb);
function Iba(a){if(a instanceof vb)return"url(\""+wb(a).replace(/",0);var Nb=function(a,b){return Kb(b,null)};var bca=Na(function(){var a=document.createElement("div"),b=document.createElement("div");b.appendChild(document.createElement("div"));a.appendChild(b);b=a.firstChild.firstChild;a.innerHTML=Ib(Mb);return!b.parentElement}),Ob=function(a,b){if(bca())for(;a.lastChild;)a.removeChild(a.lastChild);
a.innerHTML=Ib(b)},cca=function(a,b){b=b instanceof vb?b:Bb(b);
a.action=wb(b)},Pb=function(a,b){b=b instanceof vb?b:Bb(b);
a.href=wb(b)},Qb=function(a,b){b=b instanceof vb?b:Bb(b,/^data:image\//i.test(b));
a.src=wb(b)},dca=function(a,b){a.src=qba(b);
(b=Rb(a.ownerDocument&&a.ownerDocument.defaultView))&&a.setAttribute("nonce",b)},Sb=function(a,b,c,d){a=a instanceof vb?a:Bb(a);
b=b||v;c=c instanceof gb?hb(c):c||"";return void 0!==d?b.open(wb(a),c,d):b.open(wb(a),c)},eca=/^[\w+/_-]+[=]{0,2}$/,Rb=function(a){a=(a||v).document;
return a.querySelector?(a=a.querySelector("script[nonce]"))&&(a=a.nonce||a.getAttribute("nonce"))&&eca.test(a)?a:"":""};var fca=function(a,b){for(var c=a.split("%s"),d="",e=Array.prototype.slice.call(arguments,1);e.length&&1",""":"\""};var c=v.document.createElement("div");return a.replace(gca,function(d,e){var h=b[d];if(h)return h;"#"==e.charAt(0)&&(e=Number("0"+e.substr(1)),isNaN(e)||(h=String.fromCharCode(e)));h||(h=Nb(ib("Single HTML entity."),d+" "),Ob(c,h),h=c.firstChild.nodeValue.slice(0,-1));return b[d]=h})},ica=function(a){return a.replace(/&([^;]+);/g,function(b,c){switch(c){case"amp":return"&";
case"lt":return"<";case"gt":return">";case"quot":return"\"";default:return"#"!=c.charAt(0)||(c=Number("0"+c.substr(1)),isNaN(c))?b:String.fromCharCode(c);}})},gca=/&([^;\s<&]+);?/g,jca={"\0":"\\0",
"\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\x0B":"\\x0B","\"":"\\\"","\\":"\\\\","<":"\\u003C"},Wb={"'":"\\'"},kca=function(a){return String(a).replace(/([-()\[\]{}+?*.$\^|,:#>>0;
return b},nca=2147483648*Math.random()|0,oca=function(a){return String(a).replace(/\-([a-z])/g,function(b,c){return c.toUpperCase()})},Zb=function(a){return String(a).replace(/([A-Z])/g,"-$1").toLowerCase()},pca=function(a){return a.replace(RegExp("(^|[\\s]+)([a-z])","g"),function(b,c,d){return c+d.toUpperCase()})},qca=function(a){var b=1;
a=a.split(":");for(var c=[];0b?a:a.substr(0,b)},ec=function(a,b){a=$b(a);
b=$b(b);return a[3]==b[3]&&a[1]==b[1]&&a[4]==b[4]},fc=function(a,b){if(a){a=a.split("&");
for(var c=0;cb&&(b=a.length);var c=a.indexOf("?");if(0>c||c>b){c=b;var d=""}else d=a.substring(c+1,b);return[a.substr(0,c),d,a.substr(b)]},xca=function(a,b){return b?a?a+"&"+b:b:a},yca=function(a,b){if(!b)return a;
a=wca(a);a[1]=xca(a[1],b);return a[0]+(a[1]?"?"+a[1]:"")+a[2]},zca=function(a,b,c){if(Array.isArray(b))for(var d=0;dd)return null;var e=a.indexOf("&",d);if(0>e||e>c)e=c;d+=b.length+1;return Ub(a.substr(d,e-d))},Cca=/[?&]($|#)/,kc=function(a,b){for(var c=a.search(Bca),d=0,e,h=[];0<=(e=Aca(a,d,b,c));)h.push(a.substring(d,e)),d=Math.min(a.indexOf("&",e)+1||c,c);
h.push(a.substr(d));return h.join("").replace(Cca,"$1")},lc=function(a,b,c){return ic(kc(a,b),b,c)},Dca=function(a){var b=wca(window.location.href),c=b[1],d=[];
c&&c.split("&").forEach(function(e){var h=e.indexOf("=");a.hasOwnProperty(0<=h?e.substr(0,h):e)||d.push(e)});
b[1]=xca(d.join("&"),gc(a));return b[0]+(b[1]?"?"+b[1]:"")+b[2]},Eca=function(a,b){pb(a,"/")&&(a=a.substr(0,a.length-1));
ob(b,"/")&&(b=b.substr(1));return""+a+"/"+b};var nc=function(a,b){var c={},d;for(d in a)Object.prototype.hasOwnProperty.call(a,d)&&0>b.indexOf(d)&&(c[d]=a[d]);if(null!=a&&"function"===typeof Object.getOwnPropertySymbols){var e=0;for(d=Object.getOwnPropertySymbols(a);eb.indexOf(d[e])&&(c[d[e]]=a[d[e]])}return c},y=function(a,b,c,d){var e=arguments.length,h=3>e?b:null===d?d=Object.getOwnPropertyDescriptor(b,c):d,l;
if("object"===typeof Reflect&&Reflect&&"function"===typeof Reflect.decorate)h=Reflect.decorate(a,b,c,d);else for(var m=a.length-1;0<=m;m--)if(l=a[m])h=(3>e?l(h):3e?b[c++]=e:(2048>e?b[c++]=e>>6|192:(55296==(e&64512)&&d+1>18|240,b[c++]=e>>12&63|128):b[c++]=e>>12|224,b[c++]=e>>6&63|128),b[c++]=e&63|128)}return b},Lca=function(a){for(var b=[],c=0,d=0;ce)b[d++]=String.fromCharCode(e);else if(191e){var h=a[c++];b[d++]=String.fromCharCode((e&31)<<6|h&63)}else if(239e){h=a[c++];var l=a[c++],m=a[c++];e=((e&7)<<18|(h&63)<<12|(l&63)<<6|m&63)-65536;b[d++]=String.fromCharCode(55296+(e>>10));b[d++]=String.fromCharCode(56320+(e&1023))}else h=a[c++],l=a[c++],b[d++]=String.fromCharCode((e&15)<<12|(h&63)<<6|l&63)}return b.join("")};function Mca(){return Gb("iPhone")&&!Gb("iPod")&&!Gb("iPad")}
function pc(){return Mca()||Gb("iPad")||Gb("iPod")}
;var Nca=function(a){Nca[" "](a);return a};
Nca[" "]=ya;var qc=function(a,b){try{return Nca(a[b]),!0}catch(c){}return!1},Oca=function(a,b,c,d){d=d?d(b):b;
return Object.prototype.hasOwnProperty.call(a,d)?a[d]:a[d]=c(b)};var Pca=Gb("Opera"),rc=Gb("Trident")||Gb("MSIE"),sc=Gb("Edge"),tc=sc||rc,uc=Gb("Gecko")&&!(tb(Fb,"WebKit")&&!Gb("Edge"))&&!(Gb("Trident")||Gb("MSIE"))&&!Gb("Edge"),vc=tb(Fb,"WebKit")&&!Gb("Edge"),Qca=vc&&Gb("Mobile"),wc=Gb("Macintosh"),Rca=Gb("Windows"),Sca=Gb("Linux")||Gb("CrOS"),Tca=v.navigator||null;Tca&&sb(Tca.appVersion||"","X11");var Uca=Gb("Android"),Vca=Mca(),Wca=Gb("iPad"),Xca=Gb("iPod"),Yca=pc();tb(Fb,"KaiOS");var Zca=function(){var a=v.document;return a?a.documentMode:void 0},$ca;
a:{var ada="",bda=function(){var a=Fb;if(uc)return /rv:([^\);]+)(\)|;)/.exec(a);if(sc)return /Edge\/([\d\.]+)/.exec(a);if(rc)return /\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(vc)return /WebKit\/(\S+)/.exec(a);if(Pca)return /(?:Version)[ \/]?(\S+)/.exec(a)}();
bda&&(ada=bda?bda[1]:"");if(rc){var cda=Zca();if(null!=cda&&cda>parseFloat(ada)){$ca=String(cda);break a}}$ca=ada}var xc=$ca,dda={},yc=function(a){return Oca(dda,a,function(){return 0<=ub(xc,a)})},Ac=function(a){return Number(eda)>=a},fda;
if(v.document&&rc){var gda=Zca();fda=gda?gda:parseInt(xc,10)||void 0}else fda=void 0;var eda=fda;var hda=Uba(),ida=Mca()||Gb("iPod"),jda=Gb("iPad"),kda=Xba(),Bc=Wba(),lda=Vba()&&!pc();var mda={},Cc=null,Dc=function(a,b){void 0===b&&(b=0);nda();b=mda[b];for(var c=Array(Math.floor(a.length/3)),d=b[64]||"",e=0,h=0;e>2];l=b[(l&3)<<4|m>>4];m=b[(m&15)<<2|n>>6];n=b[n&63];c[h++]=""+q+l+m+n}q=0;n=d;switch(a.length-e){case 2:q=a[e+1],n=b[(q&15)<<2]||d;case 1:a=a[e],c[h]=""+b[a>>2]+b[(a&3)<<4|q>>4]+n+d;}return c.join("")},pda=function(a){var b=[];
oda(a,function(c){b.push(c)});
return b},Ec=function(a){var b=a.length,c=3*b/4;
c%3?c=Math.floor(c):sb("=.",a[b-1])&&(c=sb("=.",a[b-2])?c-2:c-1);var d=new Uint8Array(c),e=0;oda(a,function(h){d[e++]=h});
return d.subarray(0,e)},oda=function(a,b){function c(n){for(;d>4);64!=l&&(b(h<<4&240|l>>2),64!=m&&b(l<<6&192|m))}},nda=function(){if(!Cc){Cc={};
for(var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),b=["+/=","+/","-_=","-_.","-_"],c=0;5>c;c++){var d=a.concat(b[c].split(""));mda[c]=d;for(var e=0;e>>0;a=Math.floor((a-b)/4294967296)>>>0;Gc=b;Hc=a}
function Ic(a){var b=0>a;a=Math.abs(a);var c=a>>>0;a=Math.floor((a-c)/4294967296);a>>>=0;b&&(a=~a>>>0,c=(~c>>>0)+1,4294967295a;a=2*Math.abs(a);tda(a);a=Gc;var c=Hc;b&&(0==a?0==c?c=a=4294967295:(c--,a=4294967295):a--);Gc=a;Hc=c}
function vda(a){var b=0>a?1:0;a=b?-a:a;if(0===a)0<1/a?Gc=Hc=0:(Hc=0,Gc=2147483648);else if(isNaN(a))Hc=0,Gc=2147483647;else if(3.4028234663852886E38>>0;else if(1.1754943508222875e-38>a)a=Math.round(a/Math.pow(2,-149)),Hc=0,Gc=(b<<31|a)>>>0;else{var c=Math.floor(Math.log(a)/Math.LN2);a*=Math.pow(2,-c);a=Math.round(8388608*a);16777216<=a&&++c;Hc=0;Gc=(b<<31|c+127<<23|a&8388607)>>>0}}
function wda(a){var b=0>a?1:0;a=b?-a:a;if(0===a)Hc=0<1/a?0:2147483648,Gc=0;else if(isNaN(a))Hc=2147483647,Gc=4294967295;else if(1.7976931348623157E308>>0,Gc=0;else if(2.2250738585072014e-308>a){var c=a/Math.pow(2,-1074);Hc=(b<<31|c/4294967296)>>>0;Gc=c>>>0}else{var d=a;c=0;if(2<=d)for(;2<=d&&1023>c;)c++,d/=2;else for(;1>d&&-1022>>0;Gc=4503599627370496*a>>>0}}
function xda(a){var b=k(a);a=b.next().value;var c=b.next().value,d=b.next().value,e=b.next().value,h=b.next().value,l=b.next().value,m=b.next().value;b=b.next().value;Gc=a+(c<<8)+(d<<16)+(e<<24)>>>0;Hc=h+(l<<8)+(m<<16)+(b<<24)>>>0}
function yda(a,b){return 4294967296*b+(a>>>0)}
function zda(a,b){var c=b&2147483648;c&&(a=~a+1>>>0,b=~b>>>0,0==a&&(b=b+1>>>0));a=yda(a,b);return c?-a:a}
function Ada(a,b,c){var d=b>>31;c(a<<1^d,(b<<1|a>>>31)^d)}
function Bda(a,b){return Cda(a,b,zda)}
function Cda(a,b,c){var d=-(a&1);return c((a>>>1|b<<31)^d,b>>>1^d)}
function Dda(a,b){function c(e,h){e=e?String(e):"";return h?"0000000".slice(e.length)+e:e}
if(2097151>=b)return""+(4294967296*b+a);var d=(a>>>24|b<<8)>>>0&16777215;b=b>>16&65535;a=(a&16777215)+6777216*d+6710656*b;d+=8147497*b;b*=2;1E7<=a&&(d+=Math.floor(a/1E7),a%=1E7);1E7<=d&&(b+=Math.floor(d/1E7),d%=1E7);return c(b,0)+c(d,b)+c(a,1)}
function Eda(a,b){var c=b&2147483648;c&&(a=~a+1>>>0,b=~b+(0==a?1:0)>>>0);a=Dda(a,b);return c?"-"+a:a}
function Fda(a){function b(l,m){for(var n=0;8>n&&(1!==l||0>>=8}
function c(){for(var l=0;8>l;l++)e[l]=~e[l]&255}
var d=!1;"-"===a[0]&&(d=!0,a=a.slice(1));for(var e=[0,0,0,0,0,0,0,0],h=0;hKc.length&&Kc.push(this)};
Jc.prototype.clone=function(){return Ida(this.bytes_,this.JSC$30455_start_,this.JSC$30455_end_-this.JSC$30455_start_)};
Jc.prototype.clear=function(){this.dataView_=this.bytes_=null;this.cursor_=this.JSC$30455_end_=this.JSC$30455_start_=0;this.bytesFieldsAsMutableViews=this.JSC$30455_error_=!1};
var Hda=function(a,b,c,d){a.bytes_=Gda(b);a.JSC$30455_start_=void 0!==c?c:0;a.JSC$30455_end_=void 0!==d?a.JSC$30455_start_+d:a.bytes_.length;a.cursor_=a.JSC$30455_start_};
f=Jc.prototype;f.reset=function(){this.cursor_=this.JSC$30455_start_};
f.advance=function(a){this.cursor_+=a};
f.atEnd=function(){return this.cursor_==this.JSC$30455_end_};
f.pastEnd=function(){return this.cursor_>this.JSC$30455_end_};
f.getError=function(){return this.JSC$30455_error_||0>this.cursor_||this.cursor_>this.JSC$30455_end_};
var Lc=function(a,b){for(var c=128,d=0,e=0,h=0;4>h&&128<=c;h++)c=a.bytes_[a.cursor_++],d|=(c&127)<<7*h;128<=c&&(c=a.bytes_[a.cursor_++],d|=(c&127)<<28,e|=(c&127)>>4);if(128<=c)for(h=0;5>h&&128<=c;h++)c=a.bytes_[a.cursor_++],e|=(c&127)<<7*h+3;if(128>c)return b(d>>>0,e>>>0);a.JSC$30455_error_=!0},Jda=function(a){return Lc(a,function(b,c){return Cda(b,c,Eda)})},Kda=function(a,b){for(;128>>=7;
a.cursor_--};
f=Jc.prototype;
f.readUnsignedVarint32=function(){var a=this.bytes_,b=a[this.cursor_+0],c=b&127;if(128>b)return this.cursor_+=1,c;b=a[this.cursor_+1];c|=(b&127)<<7;if(128>b)return this.cursor_+=2,c;b=a[this.cursor_+2];c|=(b&127)<<14;if(128>b)return this.cursor_+=3,c;b=a[this.cursor_+3];c|=(b&127)<<21;if(128>b)return this.cursor_+=4,c;b=a[this.cursor_+4];c|=(b&15)<<28;if(128>b)return this.cursor_+=5,c>>>0;this.cursor_+=5;128<=a[this.cursor_++]&&128<=a[this.cursor_++]&&128<=a[this.cursor_++]&&128<=a[this.cursor_++]&&this.cursor_++;
return c};
f.readSignedVarint32=function(){return this.readUnsignedVarint32()};
f.readZigzagVarint32=function(){var a=this.readUnsignedVarint32();return a>>>1^-(a&1)};
f.readUnsignedVarint64=function(){return Lc(this,yda)};
f.readUnsignedVarint64String=function(){return Lc(this,Dda)};
f.readSignedVarint64=function(){return Lc(this,zda)};
f.readSignedVarint64String=function(){return Lc(this,Eda)};
f.readZigzagVarint64=function(){return Lc(this,Bda)};
f.readZigzagVarint64String=function(){return Jda(this)};
f.readUint8=function(){var a=this.bytes_[this.cursor_+0];this.cursor_+=1;return a};
f.readUint16=function(){var a=this.bytes_[this.cursor_+0],b=this.bytes_[this.cursor_+1];this.cursor_+=2;return a<<0|b<<8};
f.JSC$30458_readUint32=function(){var a=this.bytes_[this.cursor_+0],b=this.bytes_[this.cursor_+1],c=this.bytes_[this.cursor_+2],d=this.bytes_[this.cursor_+3];this.cursor_+=4;return(a<<0|b<<8|c<<16|d<<24)>>>0};
f.JSC$30458_readUint64=function(){var a=this.JSC$30458_readUint32(),b=this.JSC$30458_readUint32();return yda(a,b)};
f.JSC$30458_readUint64String=function(){var a=this.JSC$30458_readUint32(),b=this.JSC$30458_readUint32();return Dda(a,b)};
f.readInt8=function(){var a=this.bytes_[this.cursor_+0];this.cursor_+=1;return a<<24>>24};
f.readInt16=function(){var a=this.bytes_[this.cursor_+0],b=this.bytes_[this.cursor_+1];this.cursor_+=2;return(a<<0|b<<8)<<16>>16};
f.JSC$30458_readInt32=function(){var a=this.bytes_[this.cursor_+0],b=this.bytes_[this.cursor_+1],c=this.bytes_[this.cursor_+2],d=this.bytes_[this.cursor_+3];this.cursor_+=4;return a<<0|b<<8|c<<16|d<<24};
f.JSC$30458_readInt64=function(){var a=this.JSC$30458_readUint32(),b=this.JSC$30458_readUint32();return zda(a,b)};
f.JSC$30458_readInt64String=function(){var a=this.JSC$30458_readUint32(),b=this.JSC$30458_readUint32();return Eda(a,b)};
f.JSC$30458_readFloat=function(){var a=this.JSC$30458_readUint32(),b=2*(a>>31)+1,c=a>>>23&255;a&=8388607;return 255==c?a?NaN:Infinity*b:0==c?b*Math.pow(2,-149)*a:b*Math.pow(2,c-150)*(a+Math.pow(2,23))};
var Lda=function(a){var b=a.JSC$30458_readUint32(),c=a.JSC$30458_readUint32();a=2*(c>>31)+1;var d=c>>>20&2047;b=4294967296*(c&1048575)+b;return 2047==d?b?NaN:Infinity*a:0==d?a*Math.pow(2,-1074)*b:a*Math.pow(2,d-1075)*(b+4503599627370496)};
Jc.prototype.JSC$30458_readBool=function(){return!!this.bytes_[this.cursor_++]};
Jc.prototype.JSC$30458_readEnum=function(){return this.readSignedVarint32()};
var Kc=[],Mda=void 0;var Mc=function(a){var b={},c=void 0===b.discardUnknownFields?!1:b.discardUnknownFields;this.decoderOptions={bytesFieldsAsMutableViews:void 0===b.bytesFieldsAsMutableViews?!1:b.bytesFieldsAsMutableViews};this.discardUnknownFields=c;this.decoder_=Ida(a,void 0,void 0,this.decoderOptions);this.fieldCursor_=this.decoder_.cursor_;this.nextWireType_=this.nextTag_=this.nextField_=-1;this.JSC$30463_error_=!1;this.readCallbacks_=null};
Mc.prototype.JSC$30466_free=function(){this.decoder_.clear();this.nextWireType_=this.nextField_=this.nextTag_=-1;this.JSC$30463_error_=!1;this.readCallbacks_=null;100>Nda.length&&Nda.push(this)};
Mc.prototype.JSC$30466_getCursor=function(){return this.decoder_.cursor_};
Mc.prototype.JSC$30466_getBuffer=function(){return this.decoder_.bytes_};
var Nc=function(a){return 2==a.nextWireType_};
Mc.prototype.getError=function(){return this.JSC$30463_error_||this.decoder_.getError()};
Mc.prototype.JSC$30466_setBlock=function(a,b,c){Hda(this.decoder_,a,b,c);this.nextWireType_=this.nextField_=-1};
Mc.prototype.reset=function(){this.decoder_.reset();this.nextWireType_=this.nextField_=-1};
Mc.prototype.advance=function(a){this.decoder_.advance(a)};
var Oc=function(a){if(a.decoder_.atEnd()||a.getError())return!1;a.fieldCursor_=a.decoder_.cursor_;var b=a.decoder_.readUnsignedVarint32(),c=b&7;if(0!=c&&5!=c&&1!=c&&2!=c&&3!=c&&4!=c)return a.JSC$30463_error_=!0,!1;a.nextTag_=b;a.nextField_=b>>>3;a.nextWireType_=c;return!0};
Mc.prototype.skipMatchingFields=function(){var a=this.nextField_;for(Kda(this.decoder_,this.nextTag_);Oc(this)&&this.nextField_==a;)Pc(this);this.decoder_.atEnd()||Kda(this.decoder_,this.nextTag_)};
var Pc=function(a){switch(a.nextWireType_){case 0:if(0!=a.nextWireType_)Pc(a);else{for(a=a.decoder_;a.bytes_[a.cursor_]&128;)a.cursor_++;a.cursor_++}break;case 1:1!=a.nextWireType_?Pc(a):a.decoder_.advance(8);break;case 2:if(2!=a.nextWireType_)Pc(a);else{var b=a.decoder_.readUnsignedVarint32();a.decoder_.advance(b)}break;case 5:5!=a.nextWireType_?Pc(a):a.decoder_.advance(4);break;case 3:b=a.nextField_;do{if(!Oc(a)){a.JSC$30463_error_=!0;break}if(4==a.nextWireType_){a.nextField_!=b&&(a.JSC$30463_error_=
!0);break}Pc(a)}while(1);break;default:a.JSC$30463_error_=!0;}},Oda=function(a,b){var c=a.fieldCursor_;
Pc(a);a.discardUnknownFields||(a=sda(a.decoder_.bytes_,c,a.decoder_.cursor_),(c=b.internalUnknownFields_)?c.push(a):b.internalUnknownFields_=[a])};
f=Mc.prototype;f.registerReadCallback=function(a,b){null===this.readCallbacks_&&(this.readCallbacks_={});this.readCallbacks_[a]=b};
f.runReadCallback=function(a){return(0,this.readCallbacks_[a])(this)};
f.readAny=function(a){this.nextWireType_=Fca(a);switch(a){case 1:return Lda(this.decoder_);case 2:return this.decoder_.JSC$30458_readFloat();case 3:return this.decoder_.readSignedVarint64();case 4:return this.decoder_.readUnsignedVarint64();case 5:return this.decoder_.readSignedVarint32();case 6:return this.decoder_.JSC$30458_readUint64();case 7:return this.decoder_.JSC$30458_readUint32();case 8:return!!this.decoder_.readUnsignedVarint32();case 9:return Pda(this);case 10:case 11:case 12:return Qda(this);
case 13:return this.decoder_.readUnsignedVarint32();case 14:return this.decoder_.readSignedVarint64();case 15:return this.decoder_.JSC$30458_readInt32();case 16:return this.decoder_.JSC$30458_readInt64();case 17:return this.decoder_.readZigzagVarint32();case 18:return this.decoder_.readZigzagVarint64();}return 0};
f.readMessage=function(a,b){var c=this.decoder_.JSC$30455_end_,d=this.decoder_.readUnsignedVarint32(),e=this.decoder_.cursor_+d;this.decoder_.JSC$30455_end_=e;b(a,this);b=e-this.decoder_.cursor_;if(0!==b)throw Error("Message parsing ended unexpectedly. Expected to read "+d+" bytes, instead read "+(d-b)+" bytes, either the data ended unexpectedly or the message misreported its own length");this.decoder_.cursor_=e;this.decoder_.JSC$30455_end_=c;return a};
f.readGroup=function(a,b,c){c(b,this);this.JSC$30463_error_||4==this.nextWireType_||(this.JSC$30463_error_=!0);return b};
f.getFieldDecoder=function(){var a=this.decoder_.readUnsignedVarint32(),b=this.decoder_.cursor_,c=b+a;a=Ida(this.decoder_.bytes_,b,a,this.decoderOptions);this.decoder_.cursor_=c;return a};
f.readSfixed32String=function(){return this.decoder_.JSC$30458_readInt32().toString()};
var Pda=function(a){var b=a.decoder_.readUnsignedVarint32();a=a.decoder_;var c=a.cursor_;a.cursor_+=b;a=a.bytes_;var d;if(Ica)(d=Hca)||(d=Hca=new TextDecoder("utf-8",{fatal:!1})),d=d.decode(a.subarray(c,c+b));else{b=c+b;for(var e=[],h=null,l,m,n;cl?e.push(l):224>l?c>=b?e.push(65533):(m=a[c++],194>l||128!==(m&192)?(c--,e.push(65533)):e.push((l&31)<<6|m&63)):240>l?c>=b-1?e.push(65533):(m=a[c++],128!==(m&192)||224===l&&160>m||237===l&&160<=m||128!==((d=a[c++])&192)?(c--,e.push(65533)):
e.push((l&15)<<12|(m&63)<<6|d&63)):244>=l?c>=b-2?e.push(65533):(m=a[c++],128!==(m&192)||0!==(l<<28)+(m-144)>>30||128!==((d=a[c++])&192)||128!==((n=a[c++])&192)?(c--,e.push(65533)):(l=(l&7)<<18|(m&63)<<12|(d&63)<<6|n&63,l-=65536,e.push((l>>10&1023)+55296,(l&1023)+56320))):e.push(65533),8192<=e.length&&(h=Gca(h,e),e.length=0);d=Gca(h,e)}return d},Qda=function(a){var b=a.decoder_.readUnsignedVarint32();
a=a.decoder_;if(0>b||a.cursor_+b>a.bytes_.length)a.JSC$30455_error_=!0,b=new Uint8Array(0);else{var c=a.bytesFieldsAsMutableViews?a.bytes_.subarray(a.cursor_,a.cursor_+b):sda(a.bytes_,a.cursor_,a.cursor_+b);a.cursor_+=b;b=c}return b};
Mc.prototype.JSC$30466_readSplitVarint64=function(a){return Lc(this.decoder_,a)};
Mc.prototype.JSC$30466_readSplitZigzagVarint64=function(a){return Lc(this.decoder_,function(b,c){return Cda(b,c,a)})};
Mc.prototype.JSC$30466_readSplitFixed64=function(a){var b=this.decoder_,c=b.bytes_,d=b.cursor_;b.cursor_+=8;for(var e=b=0,h=d+7;h>=d;h--)b=b<<8|c[h],e=e<<8|c[h+4];return a(b,e)};
var Qc=function(a,b,c){var d=a.decoder_.readUnsignedVarint32();for(d=a.decoder_.cursor_+d;a.decoder_.cursor_>>1|(a.JSC$30468_hi&1)<<31)>>>0,a.JSC$30468_hi>>>1>>>0)},Sda=function(a){return new Rc(a.JSC$30468_lo<<1>>>0,(a.JSC$30468_hi<<1|a.JSC$30468_lo>>>31)>>>0)};
Rc.prototype.lsb=function(){return!!(this.JSC$30468_lo&1)};
Rc.prototype.add=function(a){return new Rc((this.JSC$30468_lo+a.JSC$30468_lo&4294967295)>>>0>>>0,((this.JSC$30468_hi+a.JSC$30468_hi&4294967295)>>>0)+(4294967296<=this.JSC$30468_lo+a.JSC$30468_lo?1:0)>>>0)};
Rc.prototype.sub=function(a){return new Rc((this.JSC$30468_lo-a.JSC$30468_lo&4294967295)>>>0>>>0,((this.JSC$30468_hi-a.JSC$30468_hi&4294967295)>>>0)-(0>this.JSC$30468_lo-a.JSC$30468_lo?1:0)>>>0)};
var Tda=function(a){var b=a&65535,c=a>>>16;a=10*b+65536*(0*b&65535)+65536*(10*c&65535);for(b=0*c+(0*b>>>16)+(10*c>>>16);4294967296<=a;)a-=4294967296,b+=1;return new Rc(a>>>0,b>>>0)};
Rc.prototype.div=function(a){if(0==a)return[];for(var b=new Rc(0,0),c=new Rc(this.JSC$30468_lo,this.JSC$30468_hi),d=new Rc(a,0),e=new Rc(1,0);!(d.JSC$30468_hi&2147483648);)d=Sda(d),e=Sda(e);for(;0!=e.JSC$30468_lo||0!=e.JSC$30468_hi;)0>=(d.JSC$30468_hia[d]||"9">>0>>>0,((this.JSC$30471_hi+a.JSC$30471_hi&4294967295)>>>0)+(4294967296<=this.JSC$30471_lo+a.JSC$30471_lo?1:0)>>>0)};
Tc.prototype.sub=function(a){return new Tc((this.JSC$30471_lo-a.JSC$30471_lo&4294967295)>>>0>>>0,((this.JSC$30471_hi-a.JSC$30471_hi&4294967295)>>>0)-(0>this.JSC$30471_lo-a.JSC$30471_lo?1:0)>>>0)};
Tc.prototype.clone=function(){return new Tc(this.JSC$30471_lo,this.JSC$30471_hi)};
Tc.prototype.toString=function(){var a=0!=(this.JSC$30471_hi&2147483648),b=new Rc(this.JSC$30471_lo,this.JSC$30471_hi);a&&(b=new Rc(0,0).sub(b));return(a?"-":"")+b.toString()};
var Uda=function(a){var b=0>>7|c<<25)>>>0,c>>>=7;a.push(b)},Xc=function(a,b,c){Wc(a,b);
Wc(a,c)},Wda=function(a,b,c){Ada(b,c,function(d,e){Vc(a,d>>>0,e>>>0)})},Yc=function(a,b){for(;127>>=7;
a.push(b)},Zc=function(a,b){if(0<=b)Yc(a,b);else
{for(var c=0;9>c;c++)a.push(b&127|128),b>>=7;a.push(1)}},Xda=function(a,b){Yc(a,(b<<1^b>>31)>>>0)},Yda=function(a,b){xda(Fda(b));
Ada(Gc,Hc,function(c,d){Vc(a,c>>>0,d>>>0)})};
Uc.prototype.writeUint8=function(a){this.push(a>>>0&255)};
Uc.prototype.writeUint16=function(a){this.push(a>>>0&255);this.push(a>>>8&255)};
var Wc=function(a,b){a.push(b>>>0&255);a.push(b>>>8&255);a.push(b>>>16&255);a.push(b>>>24&255)};
Uc.prototype.writeInt8=function(a){this.push(a>>>0&255)};
Uc.prototype.writeInt16=function(a){this.push(a>>>0&255);this.push(a>>>8&255)};
var Zda=function(a,b){a.push(b>>>0&255);a.push(b>>>8&255);a.push(b>>>16&255);a.push(b>>>24&255)};var $c=function(){this.blocks_=[];this.totalLength_=0;this.encoder_=new Uc},ad=function(a,b){0!==b.length&&(a.blocks_.push(b),a.totalLength_+=b.length)},bd=function(a){ad(a,a.encoder_.end())},dd=function(a,b){cd(a,b,2);
bd(a);return{lengthAtStart:a.totalLength_,blockIndex:a.blocks_.length-1}},ed=function(a,b){bd(a);
Yc(a.encoder_,a.totalLength_+a.encoder_.length()-b.lengthAtStart);var c=a.encoder_.end();a.totalLength_+=c.length;a.blocks_.splice(1+b.blockIndex,0,c)};
$c.prototype.maybeWriteSerializedMessage=function(a,b,c){null!=a&&null!=b&&null!=c&&(a=a.subarray(b,c),bd(this),ad(this,a))};
var fd=function(a){var b=a.totalLength_+a.encoder_.length();if(0===b)return new Uint8Array(0);b=new Uint8Array(b);for(var c=a.blocks_,d=c.length,e=0,h=0;hl)e[d++]=l;else{if(2048>l)e[d++]=l>>6|192;else{if(55296<=l&&57343>=l){if(56319>=l&&h=m){l=1024*(l-55296)+m-56320+65536;e[d++]=l>>18|240;e[d++]=l>>12&63|128;e[d++]=l>>6&63|128;e[d++]=l&63|128;continue}else h--}if(c)throw Error("Found an unpaired surrogate");
l=65533}e[d++]=l>>12|224;e[d++]=l>>6&63|128}e[d++]=l&63|128}}b=e.subarray(0,d)}cd(this,a,2);Yc(this.encoder_,b.length);bd(this);ad(this,b)}};
var ld=function(a,b,c){null!=c&&(c=Gda(c),cd(a,b,2),Yc(a.encoder_,c.length),bd(a),ad(a,c))};
f=$c.prototype;f.writeMessage=function(a,b,c){null!=b&&(a=dd(this,a),c(b,this),ed(this,a))};
f.writeMessageSet=function(a,b,c){null!=b&&(cd(this,1,3),cd(this,2,0),Zc(this.encoder_,a),a=dd(this,3),c(b,this),ed(this,a),cd(this,1,4))};
f.writeGroup=function(a,b,c){null!=b&&(cd(this,a,3),c(b,this),cd(this,a,4))};
f.writeRepeatedInt32=function(a,b){if(null!=b)for(var c=0;c>>0,l>>>0)}};
f.writeRepeatedInt64String=function(a,b){if(null!=b)for(var c=0;c=a.pivot_?a.internalExtensionObject_?a.internalExtensionObject_[b]:void 0:a.internalArray_[b+a.arrayIndexOffset]},Ed=function(a,b){return null!=D(a,b)},Gd=function(a,b,c){return Fd(a,c)===b},Id=function(a,b){var c=void 0===c?!1:c;
var d=D(a,b,c);null==d&&(d=Dd);d===Dd&&(d=vd([]),Hd(a,b,d,c));return d},Jd=function(a,b){a=D(a,b);
return null==a?a:+a},Kd=function(a,b){a=D(a,b);
return null==a?a:!!a};
C.prototype.internal_getRepeatedFloatingPointField=function(a){var b=Id(this,a);this.convertedPrimitiveFields_||(this.convertedPrimitiveFields_={});if(!this.convertedPrimitiveFields_[a]){for(var c=0;c=a.pivot_?(mea(a),a.internalExtensionObject_[b]=c):a.internalArray_[b+a.arrayIndexOffset]=c;
return a},Pd=function(a,b,c,d){d=void 0===d?!1:d;
return Hd(a,b,vd(c||[]),d)},Qd=function(a,b){return Hd(a,b,void 0)},Rd=function(a,b){return Hd(a,b,Dd)},Td=function(a,b){return Sd(a,b,void 0)},Vd=function(a,b){return Ud(a,b,void 0)};
function Wd(a,b,c,d){c!==d?Hd(a,b,c):Qd(a,b);return a}
function Xd(a,b,c){null!=c&&0!==c.length?Hd(a,b,c):Qd(a,b);return a}
var Yd=function(a,b,c,d){b=Id(a,b);void 0!=d?b.splice(d,0,c):b.push(c);return a},Zd=function(a,b,c,d){(c=Fd(a,c))&&c!==b&&null!=d&&(a.internalWrappers_&&c in a.internalWrappers_&&(a.internalWrappers_[c]=void 0),Hd(a,c,void 0));
return Hd(a,b,d)},Fd=function(a,b){for(var c=0,d=0;da.aspectRatio()?a.width/this.width:a.height/this.height;return this.scale(a)};var Re=function(a){return a?new Pe(Qe(a)):Iaa||(Iaa=new Pe)},Se=function(a,b){return"string"===typeof b?a.getElementById(b):b},Te=function(a,b){return(b||document).getElementsByTagName(String(a))},Qea=function(a,b){var c=b||document;
return c.querySelectorAll&&c.querySelector?c.querySelectorAll("."+a):Ue(document,"*",a,b)},Sea=function(a,b){var c=b||document,d=null;
c.getElementsByClassName?d=c.getElementsByClassName(a)[0]:d=Rea(document,"*",a,b);return d||null},Ue=function(a,b,c,d){a=d||a;
b=b&&"*"!=b?String(b).toUpperCase():"";if(a.querySelectorAll&&a.querySelector&&(b||c))return a.querySelectorAll(b+(c?"."+c:""));if(c&&a.getElementsByClassName){a=a.getElementsByClassName(c);if(b){d={};for(var e=0,h=0,l;l=a[h];h++)b==l.nodeName&&(d[e++]=l);d.length=e;return d}return a}a=a.getElementsByTagName(b||"*");if(c){d={};for(h=e=0;l=a[h];h++)b=l.className,"function"==typeof b.split&&Ya(b.split(/\s+/),c)&&(d[e++]=l);d.length=e;return d}return a},Rea=function(a,b,c,d){var e=d||a,h=b&&"*"!=b?String(b).toUpperCase():
"";
return e.querySelectorAll&&e.querySelector&&(h||c)?e.querySelector(h+(c?"."+c:"")):Ue(a,b,c,d)[0]||null},Uea=function(a,b){x.forEach(b,function(c,d){c&&"object"==typeof c&&c.implementsGoogStringTypedString&&(c=c.getTypedStringValue());
"style"==d?a.style.cssText=c:"class"==d?a.className=c:"for"==d?a.htmlFor=c:Tea.hasOwnProperty(d)?a.setAttribute(Tea[d],c):ob(d,"aria-")||ob(d,"data-")?a.setAttribute(d,c):a[d]=c})},Tea={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"},Ve=function(a){return Vea(a||window)},Vea=function(a){a=a.document;
a=We(a)?a.documentElement:a.body;return new Oe(a.clientWidth,a.clientHeight)},Ye=function(a){var b=Xe(a);
a=a.parentWindow||a.defaultView;return rc&&yc("10")&&a.pageYOffset!=b.scrollTop?new Me(b.scrollLeft,b.scrollTop):new Me(a.pageXOffset||b.scrollLeft,a.pageYOffset||b.scrollTop)},Xe=function(a){return a.scrollingElement?a.scrollingElement:!vc&&We(a)?a.documentElement:a.body||a.documentElement},Ze=function(a){return a?a.parentWindow||a.defaultView:window},$e=function(a,b,c){return Wea(document,arguments)},Wea=function(a,b){var c=b[1],d=af(a,String(b[0]));
c&&("string"===typeof c?d.className=c:Array.isArray(c)?d.className=c.join(" "):Uea(d,c));2a},qf=function(a){var b=[];
rfa(a,b,!0);a=b.join("");a=a.replace(/ \xAD /g," ").replace(/\xAD/g,"");a=a.replace(/\u200B/g,"");a=a.replace(/ +/g," ");" "!=a&&(a=a.replace(/^\s*/,""));return a},sfa=function(a){var b=[];
rfa(a,b,!1);return b.join("")},rfa=function(a,b,c){if(!(a.nodeName in nfa))if(3==a.nodeType)c?b.push(String(a.nodeValue).replace(/(\r\n|\r|\n)/g,"")):b.push(a.nodeValue);else
if(a.nodeName in of)b.push(of[a.nodeName]);else for(a=a.firstChild;a;)rfa(a,b,c),a=a.nextSibling},Zea=function(a){if(a&&"number"==typeof a.length){if(Ca(a))return"function"==typeof a.item||"string"==typeof a.item;
if("function"===typeof a)return"function"==typeof a.item}return!1},sf=function(a,b,c,d){if(!b&&!c)return null;
var e=b?String(b).toUpperCase():null;return rf(a,function(h){return(!e||h.nodeName==e)&&(!c||"string"===typeof h.className&&Ya(h.className.split(/\s+/),c))},!0,d)},tfa=function(a,b,c){return sf(a,null,b,c)},rf=function(a,b,c,d){a&&!c&&(a=a.parentNode);
for(c=0;a&&(null==d||c<=d);){if(b(a))return a;a=a.parentNode;c++}return null},tf=function(a){try{var b=a&&a.activeElement;
return b&&b.nodeName?b:null}catch(c){return null}},Pe=function(a){this.JSC$30570_document_=a||v.document||document};
f=Pe.prototype;f.JSC$30572_getDomHelper=Re;f.getElement=function(a){return Se(this.JSC$30570_document_,a)};
f.getRequiredElement=function(a){return Se(this.JSC$30570_document_,a)};
f.$=Pe.prototype.getElement;f.getElementsByTagName=function(a,b){return(b||this.JSC$30570_document_).getElementsByTagName(String(a))};
f.getElementsByTagNameAndClass=function(a,b,c){return Ue(this.JSC$30570_document_,a,b,c)};
f.getElementByTagNameAndClass=function(a,b,c){return Rea(this.JSC$30570_document_,a,b,c)};
f.JSC$30572_getRequiredElementByClass=function(a,b){return Sea(a,b||this.JSC$30570_document_)};
f.$$=Pe.prototype.getElementsByTagNameAndClass;f.setProperties=Uea;f.getDocumentHeight=function(){var a=uf(this),b=a.document;var c=0;if(b){c=b.body;var d=b.documentElement;if(d&&c){if(a=Vea(a).height,We(b)&&d.scrollHeight)c=d.scrollHeight!=a?d.scrollHeight:d.offsetHeight;else{b=d.scrollHeight;var e=d.offsetHeight;d.clientHeight!=e&&(b=c.scrollHeight,e=c.offsetHeight);c=b>a?b>e?b:e:bc++&&(!vf(b)||!a(b));)a:{try{var d=b.parent;if(d&&d!=b){b=d;break a}}catch(e){}b=null}},wf=function(a,b,c){if(a)for(var d in a)Object.prototype.hasOwnProperty.call(a,d)&&b.call(c,a[d],d,a)},yfa=function(){var a=[];
wf(xfa,function(b){a.push(b)});
return a},zfa=/https?:\/\/[^\/]+/,Afa=function(a){return(a=zfa.exec(a))&&a[0]||""},Cfa=function(){var a=Bfa;
if(!a)return"";var b=RegExp(".*[&#?]google_debug(=[^&]*)?(&.*)?$");try{var c=b.exec(decodeURIComponent(a));if(c)return c[1]&&1=this.left&&a.right<=this.right&&a.top>=this.top&&a.bottom<=this.bottom:a.x>=this.left&&a.x<=this.right&&a.y>=this.top&&a.y<=this.bottom:!1};
f.expand=function(a,b,c,d){Ca(a)?(this.top-=a.top,this.right+=a.right,this.bottom+=a.bottom,this.left-=a.left):(this.top-=a,this.right+=Number(b),this.bottom+=Number(c),this.left-=Number(d));return this};
f.expandToInclude=function(a){this.left=Math.min(this.left,a.left);this.top=Math.min(this.top,a.top);this.right=Math.max(this.right,a.right);this.bottom=Math.max(this.bottom,a.bottom)};
f.expandToIncludeCoordinate=function(a){this.top=Math.min(this.top,a.y);this.right=Math.max(this.right,a.x);this.bottom=Math.max(this.bottom,a.y);this.left=Math.min(this.left,a.x)};
var Gfa=function(a,b){return a==b?!0:a&&b?a.top==b.top&&a.right==b.right&&a.bottom==b.bottom&&a.left==b.left:!1};
f=yf.prototype;f.ceil=function(){this.top=Math.ceil(this.top);this.right=Math.ceil(this.right);this.bottom=Math.ceil(this.bottom);this.left=Math.ceil(this.left);return this};
f.floor=function(){this.top=Math.floor(this.top);this.right=Math.floor(this.right);this.bottom=Math.floor(this.bottom);this.left=Math.floor(this.left);return this};
f.round=function(){this.top=Math.round(this.top);this.right=Math.round(this.right);this.bottom=Math.round(this.bottom);this.left=Math.round(this.left);return this};
f.translate=function(a,b){a instanceof Me?(this.left+=a.x,this.right+=a.x,this.top+=a.y,this.bottom+=a.y):(this.left+=a,this.right+=a,"number"===typeof b&&(this.top+=b,this.bottom+=b));return this};
f.scale=function(a,b){b="number"===typeof b?b:a;this.left*=a;this.right*=a;this.top*=b;this.bottom*=b;return this};var Af=function(a,b,c,d){this.left=a;this.top=b;this.width=c;this.height=d};
Af.prototype.clone=function(){return new Af(this.left,this.top,this.width,this.height)};
Af.prototype.toBox=function(){return new yf(this.top,this.left+this.width,this.top+this.height,this.left)};
var Hfa=function(a,b){var c=Math.max(a.left,b.left),d=Math.min(a.left+a.width,b.left+b.width);if(c<=d){var e=Math.max(a.top,b.top);a=Math.min(a.top+a.height,b.top+b.height);if(e<=a)return new Af(c,e,d-c,a-e)}return null},Ifa=function(a,b){return a.left<=b.left+b.width&&b.left<=a.left+a.width&&a.top<=b.top+b.height&&b.top<=a.top+a.height};
f=Af.prototype;f.intersects=function(a){return Ifa(this,a)};
f.JSC$30581_difference=function(a){var b=Hfa(this,a);if(b&&b.height&&b.width){b=[];var c=this.top,d=this.height,e=this.left+this.width,h=this.top+this.height,l=a.left+a.width,m=a.top+a.height;a.top>this.top&&(b.push(new Af(this.left,this.top,this.width,a.top-this.top)),c=a.top,d-=a.top-this.top);mthis.left&&b.push(new Af(this.left,c,a.left-this.left,d));l=this.left&&a.x<=this.left+this.width&&a.y>=this.top&&a.y<=this.top+this.height:this.left<=a.left&&this.left+this.width>=a.left+a.width&&this.top<=a.top&&this.top+this.height>=a.top+a.height};
f.distance=function(a){var b=a.xa.clientWidth||a.scrollHeight>a.clientHeight||"fixed"==c||"absolute"==c||"relative"==c))return a;return null},Pfa=function(a){for(var b=new yf(0,Infinity,Infinity,0),c=Re(a),d=c.JSC$30570_document_.body,e=c.JSC$30570_document_.documentElement,h=Xe(c.JSC$30570_document_);a=Ofa(a);)if(!(rc&&
0==a.clientWidth||vc&&0==a.clientHeight&&a==d)&&a!=d&&a!=e&&"visible"!=Ef(a,"overflow")){var l=If(a),m=new Me(a.clientLeft,a.clientTop);
l.x+=m.x;l.y+=m.y;b.top=Math.max(b.top,l.y);b.right=Math.min(b.right,l.x+a.clientWidth);b.bottom=Math.min(b.bottom,l.y+a.clientHeight);b.left=Math.max(b.left,l.x)}d=h.scrollLeft;h=h.scrollTop;b.left=Math.max(b.left,d);b.top=Math.max(b.top,h);c=Ve(uf(c));b.right=Math.min(b.right,d+c.width);b.bottom=Math.min(b.bottom,h+c.height);return 0<=b.top&&0<=b.left&&b.bottom>b.top&&b.right>b.left?b:null},If=function(a){var b=Qe(a),c=new Me(0,0);
var d=b?Qe(b):document;d=!rc||Ac(9)||We(Re(d).JSC$30570_document_)?d.documentElement:d.body;if(a==d)return c;a=Nfa(a);b=Ye(Re(b).JSC$30570_document_);c.x=a.left+b.x;c.y=a.top+b.y;return c},Jf=function(a,b){var c=new Me(0,0),d=Ze(Qe(a));
if(!qc(d,"parent"))return c;do{var e=d==b?If(a):Qfa(a);c.x+=e.x;c.y+=e.y}while(d&&d!=b&&d!=d.parent&&(a=d.frameElement)&&(d=d.parent));return c},Qfa=function(a){a=Nfa(a);
return new Me(a.left,a.top)},Rfa=function(a){if(1==a.nodeType)return Qfa(a);
a=a.changedTouches?a.changedTouches[0]:a;return new Me(a.clientX,a.clientY)},Kf=function(a,b,c){if(b instanceof Oe)c=b.height,b=b.width;else
if(void 0==c)throw Error("missing height argument");a.style.width=Gf(b,!0);a.style.height=Gf(c,!0)},Gf=function(a,b){"number"==typeof a&&(a=(b?Math.round(a):a)+"px");
return a},Lf=function(a){var b=Sfa;
if("none"!=Ef(a,"display"))return b(a);var c=a.style,d=c.display,e=c.visibility,h=c.position;c.visibility="hidden";c.position="absolute";c.display="inline";a=b(a);c.display=d;c.position=h;c.visibility=e;return a},Sfa=function(a){var b=a.offsetWidth,c=a.offsetHeight,d=vc&&!b&&!c;
return(void 0===b||d)&&a.getBoundingClientRect?(a=Nfa(a),new Oe(a.right-a.left,a.bottom-a.top)):new Oe(b,c)},Mf=function(a){var b=If(a);
a=Lf(a);return new Af(b.x,b.y,a.width,a.height)},Tfa=function(a,b){a=a.style;
"opacity"in a?a.opacity=b:"MozOpacity"in a?a.MozOpacity=b:"filter"in a&&(a.filter=""===b?"":"alpha(opacity="+100*Number(b)+")")},Nf=function(a,b){a.style.display=b?"":"none"},Of=function(a){return"rtl"==Ef(a,"direction")},Ufa=function(a,b){if(/^\d+px?$/.test(b))return parseInt(b,10);
var c=a.style.left,d=a.runtimeStyle.left;a.runtimeStyle.left=a.currentStyle.left;a.style.left=b;b=a.style.pixelLeft;a.style.left=c;a.runtimeStyle.left=d;return+b},Pf=function(a,b){return(b=a.currentStyle?a.currentStyle[b]:null)?Ufa(a,b):0},Vfa=function(a,b){if(rc){var c=Pf(a,b+"Left"),d=Pf(a,b+"Right"),e=Pf(a,b+"Top");
a=Pf(a,b+"Bottom");return new yf(e,d,a,c)}c=Df(a,b+"Left");d=Df(a,b+"Right");e=Df(a,b+"Top");a=Df(a,b+"Bottom");return new yf(parseFloat(e),parseFloat(d),parseFloat(a),parseFloat(c))},Wfa={thin:2,
medium:4,thick:6},Qf=function(a,b){if("none"==(a.currentStyle?a.currentStyle[b+"Style"]:null))return 0;b=a.currentStyle?a.currentStyle[b+"Width"]:null;return b in Wfa?Wfa[b]:Ufa(a,b)},Rf=function(a){if(rc&&!Ac(9)){var b=Qf(a,"borderLeft"),c=Qf(a,"borderRight"),d=Qf(a,"borderTop");
a=Qf(a,"borderBottom");return new yf(d,c,a,b)}b=Df(a,"borderLeftWidth");c=Df(a,"borderRightWidth");d=Df(a,"borderTopWidth");a=Df(a,"borderBottomWidth");return new yf(parseFloat(d),parseFloat(c),parseFloat(a),parseFloat(b))};var Xfa=!!window.google_async_iframe_id,Sf=Xfa&&window.parent||window,Tf=function(){if(Xfa&&!vf(Sf)){var a="."+re.domain;try{for(;2E;E+=4)A[E/4]=w[E]<<24|w[E+1]<<16|w[E+2]<<8|w[E+3];for(E=16;80>E;E++)w=A[E-3]^A[E-8]^A[E-14]^A[E-16],A[E]=(w<<1|w>>>31)&4294967295;w=e[0];var F=e[1],K=e[2],U=e[3],ba=e[4];for(E=0;80>E;E++){if(40>E){if(20>E){var sa=U^F&(K^U);var Ha=1518500249}else sa=F^K^U,Ha=1859775393;}else 60>E?(sa=F&K|U&(F|K),Ha=2400959708):(sa=F^K^U,Ha=3395469782);sa=((w<<5|w>>>27)&4294967295)+sa+ba+Ha+A[E]&4294967295;ba=U;U=K;K=(F<<30|F>>>2)&4294967295;F=w;w=sa}e[0]=e[0]+w&4294967295;e[1]=e[1]+
F&4294967295;e[2]=e[2]+K&4294967295;e[3]=e[3]+U&4294967295;e[4]=e[4]+ba&4294967295}
function c(w,A){if("string"===typeof w){w=unescape(encodeURIComponent(w));for(var E=[],F=0,K=w.length;Fq?c(m,56-q):c(m,64-(q-56));for(var E=63;56<=E;E--)h[E]=A&255,A>>>=8;b(h);for(E=A=0;5>E;E++)for(var F=24;0<=F;F-=8)w[A++]=e[E]>>F&255;return w}
for(var e=[],h=[],l=[],m=[128],n=1;64>n;++n)m[n]=0;var q,u;a();return{reset:a,update:c,digest:d,digestString:function(){for(var w=d(),A="",E=0;Em?"":0==m?";expires="+new Date(1970,1,1).toUTCString():";expires="+new Date(Date.now()+1E3*m).toUTCString();this.JSC$30588_document_.cookie=a+"="+
b+c+l+m+d+(null!=e?";samesite="+e:"")};
f.get=function(a,b){for(var c=a+"=",d=(this.JSC$30588_document_.cookie||"").split(";"),e=0,h;ea&&0===a%1&&this.data_[a]!=b&&(this.data_[a]=b,this.cachedPackedInt52_=-1)};
hga.prototype.get=function(a){return!!this.data_[a]};
var iga=function(a){-1==a.cachedPackedInt52_&&(a.cachedPackedInt52_=Ta(a.data_,function(b,c,d){return c?b+Math.pow(2,d):b},0));
return a.cachedPackedInt52_};var jga=function(a,b,c){a&&null!==b&&b!=b.top&&(b=b.top);try{return(void 0===c?0:c)?new Oe(b.innerWidth,b.innerHeight).round():Ve(b).round()}catch(d){return new Oe(-12245933,-12245933)}},Yf=function(a,b,c){try{a&&(b=b.top);
var d=jga(a,b,void 0===c?!1:c),e=Ye(Re(b.document).JSC$30570_document_);if(-12245933==d.width){var h=d.width;var l=new yf(h,h,h,h)}else l=new yf(e.y,e.x+d.width,e.y+d.height,e.x);return l}catch(m){return new yf(-12245933,-12245933,-12245933,-12245933)}};var kga=function(a){return{visible:1,hidden:2,prerender:3,preview:4,unloaded:5}[a.visibilityState||a.webkitVisibilityState||a.mozVisibilityState||""]||0},lga=function(){var a;
re.visibilityState?a="visibilitychange":re.mozVisibilityState?a="mozvisibilitychange":re.webkitVisibilityState&&(a="webkitvisibilitychange");return a};var Zf=function(a,b){this.limit_=100;this.JSC$30600_create_=a;this.reset_=b;this.occupants_=0;this.JSC$30600_head_=null};
Zf.prototype.get=function(){if(0a.occupants_&&(a.occupants_++,b.next=a.JSC$30600_head_,a.JSC$30600_head_=b)};
Zf.prototype.occupants=function(){return this.occupants_};var qga=function(a){a=nga(a);"function"!==typeof v.setImmediate||v.Window&&v.Window.prototype&&!Gb("Edge")&&v.Window.prototype.setImmediate==v.setImmediate?(oga||(oga=pga()),oga(a)):v.setImmediate(a)},oga,pga=function(){var a=v.MessageChannel;
"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!Gb("Presto")&&(a=function(){var e=bf("IFRAME");e.style.display="none";document.documentElement.appendChild(e);var h=e.contentWindow;e=h.document;e.open();e.close();var l="callImmediate"+Math.random(),m="file:"==h.location.protocol?"*":h.location.protocol+"//"+h.location.host;e=Ea(function(n){if(("*"==m||n.origin==m)&&n.data==l)this.port1.onmessage()},this);
h.addEventListener("message",e,!1);this.port1={};this.port2={postMessage:function(){h.postMessage(l,m)}}});
if("undefined"!==typeof a&&!Gb("Trident")&&!Gb("MSIE")){var b=new a,c={},d=c;b.port1.onmessage=function(){if(void 0!==c.next){c=c.next;var e=c.cb;c.cb=null;e()}};
return function(e){d.next={cb:e};d=d.next;b.port2.postMessage(0)}}return function(e){v.setTimeout(e,0)}},nga=Ma;function rga(a){v.setTimeout(function(){throw a},0)}
;var sga=function(){this.workTail_=this.workHead_=null};
sga.prototype.add=function(a,b){var c=tga.get();c.set(a,b);this.workTail_?this.workTail_.next=c:this.workHead_=c;this.workTail_=c};
sga.prototype.remove=function(){var a=null;this.workHead_&&(a=this.workHead_,this.workHead_=this.workHead_.next,this.workHead_||(this.workTail_=null),a.next=null);return a};
var tga=new Zf(function(){return new uga},function(a){return a.reset()}),uga=function(){this.next=this.scope=this.fn=null};
uga.prototype.set=function(a,b){this.fn=a;this.scope=b;this.next=null};
uga.prototype.reset=function(){this.next=this.scope=this.fn=null};var bg=function(a,b){ag||vga();wga||(ag(),wga=!0);xga.add(a,b)},ag,vga=function(){if(v.Promise&&v.Promise.resolve){var a=v.Promise.resolve(void 0);
ag=function(){a.then(yga)}}else ag=function(){qga(yga)}},wga=!1,xga=new sga,yga=function(){for(var a;a=xga.remove();){try{a.fn.call(a.scope)}catch(b){rga(b)}mga(tga,a)}wga=!1};var zga=function(a,b){this.childIterator_=a[v.Symbol.iterator]();this.mapFn_=b;this.nextIndex_=0};
zga.prototype[Symbol.iterator]=function(){return this};
zga.prototype.next=function(){var a=this.childIterator_.next();return{value:a.done?void 0:this.mapFn_.call(void 0,a.value,this.nextIndex_++),done:a.done}};
var Aga=function(a,b){return new zga(a,b)};var Bga=function(){this.blockSize=-1};var cg=function(){this.blockSize=-1;this.blockSize=64;this.chain_=[];this.buf_=[];this.W_=[];this.pad_=[];this.pad_[0]=128;for(var a=1;ae;e++)d[e]=b.charCodeAt(c)<<24|b.charCodeAt(c+1)<<16|b.charCodeAt(c+2)<<8|b.charCodeAt(c+3),c+=4;else for(e=0;16>e;e++)d[e]=b[c]<<24|b[c+1]<<16|b[c+2]<<8|b[c+3],c+=4;for(e=16;80>e;e++){var h=d[e-3]^d[e-8]^d[e-14]^d[e-16];d[e]=(h<<1|h>>>31)&4294967295}b=a.chain_[0];c=a.chain_[1];var l=a.chain_[2],m=a.chain_[3],n=a.chain_[4];for(e=0;80>e;e++){if(40>e){if(20>e){h=m^c&(l^m);var q=1518500249}else h=c^l^m,q=1859775393;}else 60>
e?(h=c&l|m&(c|l),q=2400959708):(h=c^l^m,q=3395469782);h=(b<<5|b>>>27)+h+n+q+d[e]&4294967295;n=m;m=l;l=(c<<30|c>>>2)&4294967295;c=b;b=h}a.chain_[0]=a.chain_[0]+b&4294967295;a.chain_[1]=a.chain_[1]+c&4294967295;a.chain_[2]=a.chain_[2]+l&4294967295;a.chain_[3]=a.chain_[3]+m&4294967295;a.chain_[4]=a.chain_[4]+n&4294967295};
cg.prototype.update=function(a,b){if(null!=a){void 0===b&&(b=a.length);for(var c=b-this.blockSize,d=0,e=this.buf_,h=this.inbuf_;dthis.inbuf_?this.update(this.pad_,56-this.inbuf_):this.update(this.pad_,this.blockSize-(this.inbuf_-56));for(var c=this.blockSize-1;56<=c;c--)this.buf_[c]=b&255,b/=256;dg(this,this.buf_);for(c=b=0;5>c;c++)for(var d=24;0<=d;d-=8)a[b]=this.chain_[c]>>d&255,++b;return a};var Dga=function(a){var b=wa("window.location.href");null==a&&(a="Unknown Error of type \"null/undefined\"");if("string"===typeof a)return{message:a,name:"Unknown error",lineNumber:"Not available",fileName:b,stack:"Not available"};var c=!1;try{var d=a.lineNumber||a.line||"Not available"}catch(l){d="Not available",c=!0}try{var e=a.fileName||a.filename||a.sourceURL||v.$googDebugFname||b}catch(l){e="Not available",c=!0}b=Cga(a);if(!(!c&&a.lineNumber&&a.fileName&&a.stack&&a.message&&a.name)){c=a.message;
if(null==c){if(a.constructor&&a.constructor instanceof Function){if(a.constructor.name)c=a.constructor.name;else if(c=a.constructor,eg[c])c=eg[c];else{c=String(c);if(!eg[c]){var h=/function\s+([^\(]+)/m.exec(c);eg[c]=h?h[1]:"[Anonymous]"}c=eg[c]}c="Unknown Error of type \""+c+"\""}else c="Unknown Error of unknown type";"function"===typeof a.toString&&Object.prototype.toString!==a.toString&&(c+=": "+a.toString())}return{message:c,name:a.name||"UnknownError",lineNumber:d,fileName:e,stack:b||"Not available"}}a.stack=
b;return{message:a.message,name:a.name,lineNumber:a.lineNumber,fileName:a.fileName,stack:a.stack}},Cga=function(a,b){b||(b={});
b[Ega(a)]=!0;var c=a.stack||"";(a=a.cause)&&!b[Ega(a)]&&(c+="\nCaused by: ",a.stack&&0==a.stack.indexOf(a.toString())||(c+="string"===typeof a?a:a.message+"\n"),c+=Cga(a,b));return c},Ega=function(a){var b="";
"function"===typeof a.toString&&(b=""+a);return b+a.stack},eg={};function fg(a){a&&"function"==typeof a.dispose&&a.dispose()}
;function Fga(a){for(var b=0,c=arguments.length;b=a.length)throw pg;if(b in a)return a[b++];b++}};
return c}throw Error("Not implemented")},Jga=function(a,b,c){if(Ba(a))try{Qa(a,b,c)}catch(d){if(d!==pg)throw d;
}else{a=rg(a);try{for(;;)b.call(c,a.nextValueOrThrow(),void 0,a)}catch(d){if(d!==pg)throw d}}},Kga=function(a,b){var c=1;
Jga(a,function(d){c=b.call(void 0,c,d)});
return c},Lga=function(a,b){var c=rg(a);
a=new qg;a.nextValueOrThrow=function(){var d=c.nextValueOrThrow();if(b.call(void 0,d,void 0,c))return d;throw pg};
return a},Mga=function(a){var b=rg(a);
a=new qg;var c=100;a.nextValueOrThrow=function(){if(02*this.size&&xg(this),!0):!1};
var xg=function(a){if(a.size!=a.keys_.length){for(var b=0,c=0;b=d.keys_.length)throw pg;var h=d.keys_[b++];return a?h:d.map_[h]};
return e};
f.setSizeInternal_=function(a){this.size=a};
var yg=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};var Qga=function(a,b){b||(b={});var c=window;var d=a instanceof vb?a:Ab("undefined"!=typeof a.href?a.href:String(a));var e=void 0!==self.crossOriginIsolation,h="strict-origin-when-cross-origin";window.Request&&(h=new Request("/").referrerPolicy);h="unsafe-url"===h;if(e&&b.noreferrer){if(h)throw Error("Cannot use the noreferrer option on a page that sets a referrer-policy of `unsafe-url` in modern browsers!");b.noreferrer=!1}a=b.target||a.target;e=[];for(var l in b)switch(l){case"width":case"height":case"top":case"left":e.push(l+
"="+b[l]);break;case"target":case"noopener":case"noreferrer":break;default:e.push(l+"="+(b[l]?1:0));}l=e.join(",");pc()&&c.navigator&&c.navigator.standalone&&a&&"_self"!=a?(l=bf("A"),Pb(l,d),l.setAttribute("target",a),b.noreferrer&&l.setAttribute("rel","noreferrer"),b=document.createEvent("MouseEvent"),b.initMouseEvent("click",!0,!0,c,1),l.dispatchEvent(b),c={}):b.noreferrer?(c=Sb("",c,a,l),b=wb(d),c&&(tc&&sb(b,";")&&(b="'"+b.replace(/'/g,"%27")+"'"),c.opener=null,b=Nb(ib("b/12014412, meta tag with sanitized URL"),
""),(d=c.document)&&d.write&&(d.write(Ib(b)),d.close()))):(c=Sb(d,c,a,l))&&b.noopener&&(c.opener=null);return c};var zg=function(a){this.id=a};
zg.prototype.toString=function(){return this.id};var Ag=function(a,b){this.type=a instanceof zg?String(a):a;this.currentTarget=this.target=b;this.defaultPrevented=this.propagationStopped_=!1};
Ag.prototype.stopPropagation=function(){this.propagationStopped_=!0};
Ag.prototype.preventDefault=function(){this.defaultPrevented=!0};
var Rga=function(a){a.preventDefault()};var Sga=function(){if(!v.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},"passive",{get:function(){a=!0}});
try{v.addEventListener("test",ya,b),v.removeEventListener("test",ya,b)}catch(c){}return a}();var Bg=function(a,b){Ag.call(this,a?a.type:"");this.relatedTarget=this.currentTarget=this.target=null;this.button=this.screenY=this.screenX=this.clientY=this.clientX=this.JSC$30658_offsetY=this.JSC$30658_offsetX=0;this.key="";this.charCode=this.keyCode=0;this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1;this.state=null;this.platformModifierKey=!1;this.pointerId=0;this.pointerType="";this.event_=null;a&&this.init(a,b)};
Ia(Bg,Ag);var Tga={2:"touch",3:"pen",4:"mouse"};
Bg.prototype.init=function(a,b){var c=this.type=a.type,d=a.changedTouches&&a.changedTouches.length?a.changedTouches[0]:null;this.target=a.target||a.srcElement;this.currentTarget=b;(b=a.relatedTarget)?uc&&(qc(b,"nodeName")||(b=null)):"mouseover"==c?b=a.fromElement:"mouseout"==c&&(b=a.toElement);this.relatedTarget=b;d?(this.clientX=void 0!==d.clientX?d.clientX:d.pageX,this.clientY=void 0!==d.clientY?d.clientY:d.pageY,this.screenX=d.screenX||0,this.screenY=d.screenY||0):(this.JSC$30658_offsetX=vc||void 0!==
a.offsetX?a.offsetX:a.layerX,this.JSC$30658_offsetY=vc||void 0!==a.offsetY?a.offsetY:a.layerY,this.clientX=void 0!==a.clientX?a.clientX:a.pageX,this.clientY=void 0!==a.clientY?a.clientY:a.pageY,this.screenX=a.screenX||0,this.screenY=a.screenY||0);this.button=a.button;this.keyCode=a.keyCode||0;this.key=a.key||"";this.charCode=a.charCode||("keypress"==c?a.keyCode:0);this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.platformModifierKey=wc?a.metaKey:a.ctrlKey;
this.pointerId=a.pointerId||0;this.pointerType="string"===typeof a.pointerType?a.pointerType:Tga[a.pointerType]||"";this.state=a.state;this.event_=a;a.defaultPrevented&&Bg.superClass_.preventDefault.call(this)};
Bg.prototype.stopPropagation=function(){Bg.superClass_.stopPropagation.call(this);this.event_.stopPropagation?this.event_.stopPropagation():this.event_.cancelBubble=!0};
Bg.prototype.preventDefault=function(){Bg.superClass_.preventDefault.call(this);var a=this.event_;a.preventDefault?a.preventDefault():a.returnValue=!1};var Uga="closure_listenable_"+(1E6*Math.random()|0),Cg=function(a){return!(!a||!a[Uga])};var Vga=0;var Wga=function(a,b,c,d,e){this.listener=a;this.proxy=null;this.src=b;this.type=c;this.capture=!!d;this.handler=e;this.key=++Vga;this.removed=this.callOnce=!1},Dg=function(a){a.removed=!0;
a.listener=null;a.proxy=null;a.src=null;a.handler=null};var Eg=function(a){this.src=a;this.listeners={};this.typeCount_=0};
Eg.prototype.JSC$30669_getListenerCount=function(){var a=0,b;for(b in this.listeners)a+=this.listeners[b].length;return a};
Eg.prototype.add=function(a,b,c,d,e){var h=a.toString();a=this.listeners[h];a||(a=this.listeners[h]=[],this.typeCount_++);var l=Xga(a,b,d,e);-1>>0),Hg=function(a){if("function"===typeof a)return a;
a[fha]||(a[fha]=function(b){return a.handleEvent(b)});
return a[fha]};var Lg=function(){gg.call(this);this.eventTargetListeners_=new Eg(this);this.actualEventTarget_=this;this.parentEventTarget_=null};
Ia(Lg,gg);Lg.prototype[Uga]=!0;f=Lg.prototype;f.setParentEventTarget=function(a){this.parentEventTarget_=a};
f.addEventListener=function(a,b,c,d){Gg(this,a,b,c,d)};
f.removeEventListener=function(a,b,c,d){Jg(this,a,b,c,d)};
f.dispatchEvent=function(a){var b,c=this.parentEventTarget_;if(c)for(b=[];c;c=c.parentEventTarget_)b.push(c);c=this.actualEventTarget_;var d=a.type||a;if("string"===typeof a)a=new Ag(a,c);else if(a instanceof Ag)a.target=a.target||c;else{var e=a;a=new Ag(d,c);x.extend(a,e)}e=!0;if(b)for(var h=b.length-1;!a.propagationStopped_&&0<=h;h--){var l=a.currentTarget=b[h];e=Mg(l,d,!0,a)&&e}a.propagationStopped_||(l=a.currentTarget=c,e=Mg(l,d,!0,a)&&e,a.propagationStopped_||(e=Mg(l,d,!1,a)&&e));if(b)for(h=
0;!a.propagationStopped_&&hGa()};
dh.prototype.set=function(a,b,c){if(b=Jha(b)){if(c){if(c=c.length)throw pg;var e=c.key(b++);if(a)return e;e=c.getItem(e);if("string"!==typeof e)throw"Storage mechanism: Invalid value was encountered";return e};
return d};
f.clear=function(){this.storage_.clear()};
f.key=function(a){return this.storage_.key(a)};var Mha=function(){var a=null;try{a=window.localStorage||null}catch(b){}this.storage_=a};
Ia(Mha,fh);var gh=function(){var a=null;try{a=window.sessionStorage||null}catch(b){}this.storage_=a};
Ia(gh,fh);var Nha=function(a,b){this.storageKey_=a;this.storageNode_=null;if(rc&&!Ac(9)){hh||(hh=new wg);this.storageNode_=hh.get(a);this.storageNode_||(b?this.storageNode_=document.getElementById(b):(this.storageNode_=document.createElement("userdata"),this.storageNode_.addBehavior("#default#userData"),document.body.appendChild(this.storageNode_)),hh.set(a,this.storageNode_));try{this.storageNode_.load(this.storageKey_)}catch(c){this.storageNode_=null}}};
Ia(Nha,eh);var Oha={".":".2E","!":".21","~":".7E","*":".2A","'":".27","(":".28",")":".29","%":"."},hh=null,Pha=function(a){return"_"+encodeURIComponent(a).replace(/[.!~*'()%]/g,function(b){return Oha[b]})};
f=Nha.prototype;f.isAvailable=function(){return!!this.storageNode_};
f.set=function(a,b){this.storageNode_.setAttribute(Pha(a),b);Qha(this)};
f.get=function(a){a=this.storageNode_.getAttribute(Pha(a));if("string"!==typeof a&&null!==a)throw"Storage mechanism: Invalid value was encountered";return a};
f.remove=function(a){this.storageNode_.removeAttribute(Pha(a));Qha(this)};
f.getCount=function(){return Rha(this).attributes.length};
f.__iterator__=function(a){var b=0,c=Rha(this).attributes,d=new qg;d.nextValueOrThrow=function(){if(b>=c.length)throw pg;var e=c[b++];if(a)return decodeURIComponent(e.nodeName.replace(/\./g,"%")).substr(1);e=e.nodeValue;if("string"!==typeof e)throw"Storage mechanism: Invalid value was encountered";return e};
return d};
f.clear=function(){for(var a=Rha(this),b=a.attributes.length;0: <"+F+" "+U+"=\""+ba+"\">",q)));return sa}}}
function Hia(a,b,c){return[,{filterRaw:function(d,e,h){return h},
filterString:void 0,safeReplacement:void 0,safeType:void 0},{filterRaw:void 0,filterString:void 0,safeReplacement:void 0,safeType:"HTML"},{filterRaw:void 0,filterString:void 0,safeReplacement:Hh,safeType:"URL"},{filterRaw:void 0,filterString:void 0,safeReplacement:Hh,safeType:"RESOURCE_URL"},{filterRaw:void 0,filterString:void 0,safeReplacement:Gh,safeType:"STYLE"},,{filterRaw:void 0,filterString:void 0,safeReplacement:Iia,safeType:"JAVASCRIPT"},{filterRaw:void 0,filterString:function(d,e,h){h=String(h).toLowerCase();
a:{var l=null;(d=gia[d])&&(l=d[e]);if("number"!==typeof l&&((d=gia["*"])&&(l=d[e]),"number"!==typeof l)){e=!1;break a}e=!0===fia[l][String(h).toLowerCase()]}return e?h:Gh},
safeReplacement:Gh,safeType:void 0},{filterRaw:void 0,filterString:void 0,safeReplacement:Gh,safeType:"CONSTANT"},{filterRaw:void 0,filterString:function(d,e,h){return a.test(h)?h:Gh},
safeReplacement:Gh,safeType:"CONSTANT"},{filterRaw:function(d,e,h,l){if("string"===typeof h)var m=(m=h.match(Aia))?m.map(Dia).filter(Boolean):[];else if(Array.isArray(h))m=h;else return Hh;var n=m;m=[];var q=[],u={};if(Array.isArray(n))for(var w=0,A=n.length;w: <"+d+" "+e+"=\""+h+"\">: "+n,l);return q===Fh?Hh:q},
filterString:void 0,safeReplacement:void 0,safeType:void 0}]}
var Jia=function(){var a=function(){var d={createHTML:function(){return"zClosurez"},
createScript:function(){return" /*zClosurez*/ "},
createScriptURL:function(){return"about:invalid#zClosurez"}};
return"undefined"!==typeof trustedTypes?trustedTypes.createPolicy("polymer_resin",d):d}(),b=a.createHTML(""),c=a.createScript("");
a=a.createScriptURL("");return{INNOCUOUS_STRING:b,INNOCUOUS_SCRIPT:c,INNOCUOUS_URL:a}}(),Gh=Jia.INNOCUOUS_STRING,Iia=Jia.INNOCUOUS_SCRIPT,Hh=Jia.INNOCUOUS_URL;
function Kia(a){var b=Gia(a);return function(c,d,e,h){return h||h===document.all?b(c,d,e)(h):h}}
;var Ih=function(a){C.call(this,a,92,Lia)};
p(Ih,C);f=Ih.prototype;f.getPlayerClientVersion=function(){return H(this,91)};
f.setPlayerClientVersion=function(a){return Hd(this,91,a)};
f.clearPlayerClientVersion=function(){return Qd(this,91)};
f.hasPlayerClientVersion=function(){return Ed(this,91)};
f.JSC$30768_serializeBinary=function(){var a=new $c;a.JSC$30479_writeString(91,D(this,91));pe(this,a,Mia);return fd(a)};
var Nia={},Mia={},Lia=[82];Ih.prototype.toObject=function(){var a;if(null!=this){var b={playerClientVersion:null==(a=D(this,91))?void 0:a};oea(this,b,Nia,void 0);a=b}else a=void 0;return a};var Oia,Pia,Qia,Jh=v.window,Kh=(null===(Oia=null===Jh||void 0===Jh?void 0:Jh.yt)||void 0===Oia?void 0:Oia.config_)||(null===(Pia=null===Jh||void 0===Jh?void 0:Jh.ytcfg)||void 0===Pia?void 0:Pia.data_)||{},Ria=(null===(Qia=null===Jh||void 0===Jh?void 0:Jh.ytcfg)||void 0===Qia?void 0:Qia.obfuscatedData_)||[];new Ih(Ria);va("yt.config_",Kh,void 0);va("yt.configJspb_",Ria,void 0);function Lh(a){for(var b=0;ba;a++)this.cycles_.push(0);this.index_=0;this.mouseListenerKey_=Yh(window,"mousemove",Ea(this.onMouseMove_,this));this.timerId_=mja(Ea(this.checkPosition_,this),25)};
Ia(di,gg);di.prototype.onMouseMove_=function(a){void 0===a.pageX_&&hja(a);var b=a.pageX_;void 0===a.pageY_&&hja(a);this.JSC$30785_position_=new Me(b,a.pageY_)};
di.prototype.JSC$30787_getPosition=function(){return this.JSC$30785_position_||new Me};
di.prototype.checkPosition_=function(){if(this.JSC$30785_position_){var a=ai();if(0!=this.previousTime_){var b=this.previousPosition_,c=this.JSC$30785_position_,d=b.x-c.x;b=b.y-c.y;d=Math.sqrt(d*d+b*b)/(a-this.previousTime_);this.cycles_[this.index_]=.5c;c++)b+=this.cycles_[c]||0;3<=b&&this.callback_();this.previousVelocity_=d}this.previousTime_=a;this.previousPosition_=this.JSC$30785_position_;this.index_=(this.index_+1)%
4}};
di.prototype.disposeInternal=function(){window.clearInterval(this.timerId_);Zh(this.mouseListenerKey_)};var ei=function(){this.cancelDebouncedJobMap=new WeakMap;this.cancelThrottledJobMap=new WeakMap},fi=function(a,b,c){return a.addJob(b,0,c)},gi=function(a,b,c){return a.addJob(b,1,c)},hi=function(a,b,c){return a.addJob(b,2,c)},ii=function(a,b,c){return a.addJob(b,3,c)},ji=function(a,b,c){return a.addJob(b,4,c)},ki=function(a){var b=wa("yt.scheduler.instance.addImmediateJob");
b?b(a):a()};
ei.prototype.cancelJobList=function(a){for(var b=0,c=a.length;bn.status,A=500<=n.status&&600>n.status;if(q||w||A)u=Lja(a,c,n,b.convertToSafeHtml);if(q)a:if(n&&204==n.status)q=!0;else{switch(c){case"XML":q=0==parseInt(u&&u.return_code,10);break a;case"RAW":q=!0;break a;}q=!!u}u=u||{};w=b.context||v;q?b.onSuccess&&b.onSuccess.call(w,n,u):b.onError&&b.onError.call(w,n,u);b.onFinish&&b.onFinish.call(w,n,u)}},b.method,
d,b.headers,b.responseType,b.withCredentials);
if(b.onTimeout&&0
\"",style:"display:none"}),Qe(a).body.appendChild(a)));else if(e)Kja(a,b,"POST",e,d);else if(I("USE_NET_AJAX_FOR_PING_TRANSPORT",!1)||d)Kja(a,b,"GET","",d);else{b:{try{var h=new Ka({url:a});if(h.isSonicV2OrV3_&&h.adurl_||h.isSonicV4_){var l=bc(a);var m=
!(!l||!l.endsWith("/aclk")||"1"!==jc(a,"ri"));break b}}catch(n){}m=!1}m?Sja(a)?(b&&b(),c=!0):c=!1:c=!1;c||Tja(a,b)}}
function Uja(a){if(a)for(var b=0;b=a?Si({writeThenSend:!0},J("flush_only_full_queue")?c:void 0):10<=b-aka&&(eka(),aka=b)}}
function fka(a,b){if("log_event"===a.endpoint){var c="";a.dangerousLogToVisitorSession?c="visitorOnlyApprovedKey":a.cttAuthInfo&&(Ri[a.cttAuthInfo.token]=dka(a.cttAuthInfo),c=a.cttAuthInfo.token);var d=new Map;d.set(c,[a.payload]);b&&(Oi=new b);return new Tg(function(e){Oi&&Oi.isReady()?gka(d,e,{bypassNetworkless:!0},!0):e()})}}
function Si(a,b){a=void 0===a?{}:a;new Tg(function(c){ci($ja);ci(Pi);Pi=0;if(Oi&&Oi.isReady()){if(void 0!==b){var d=new Map,e=Qi.get(b)||[];d.set(b,e);gka(d,c,a);Qi.delete(b)}else gka(Qi,c,a),Qi.clear();}else eka(),c()})}
function eka(){J("web_gel_timeout_cap")&&!Pi&&(Pi=bi(function(){Si({writeThenSend:!0})},6E4));
ci($ja);var a=I("LOGGING_BATCH_TIMEOUT",Oh("web_gel_debounce_ms",1E4));J("shorten_initial_gel_batch_timeout")&&bka&&(a=Yja);$ja=bi(function(){Si({writeThenSend:!0})},a)}
function gka(a,b,c,d){var e=Oi;c=void 0===c?{}:c;var h=Math.round(Ni()),l=a.size;a=k(a);for(var m=a.next();!m.done;m=a.next()){var n=k(m.value);m=n.next().value;var q=n=n.next().value;n=x.unsafeClone({context:hka(e.config_||Ti())});n.events=q;(q=Ri[m])&&ika(n,m,q);delete Ri[m];m="visitorOnlyApprovedKey"===m;jka(n,h,m);J("always_send_and_write")&&(c.writeThenSend=!1);J("send_beacon_before_gel")&&window.navigator&&window.navigator.sendBeacon&&!c.writeThenSend&&Ei("/generate_204");kka(e,"log_event",
n,{retry:!0,onSuccess:function(){l--;l||b()},
onError:function(){l--;l||b()},
networklessOptions:c,dangerousLogToVisitorSession:m,bypassMonitoring:!!d});bka=!1}}
function jka(a,b,c){a.requestTimeMs=String(b);J("unsplit_gel_payloads_in_logs")&&(a.unsplitGelPayloadsInLogs=!0);!c&&(b=I("EVENT_ID",void 0))&&((c=I("BATCH_CLIENT_COUNTER",void 0)||0)||(c=Math.floor(Math.random()*Zja/2)),c++,c>Zja&&(c=1),Lh("BATCH_CLIENT_COUNTER",c),a.serializedClientEventId={serializedEventId:b,clientCounter:String(c)})}
function ika(a,b,c){if(c.videoId)var d="VIDEO";else if(c.playlistId)d="PLAYLIST";else return;a.credentialTransferTokenTargetId=c;a.context=a.context||{};a.context.user=a.context.user||{};a.context.user.credentialTransferTokens=[{token:b,scope:d}]}
function dka(a){var b={};a.videoId?b.videoId=a.videoId:a.playlistId&&(b.playlistId=a.playlistId);return b}
;var Ui=v.ytLoggingGelSequenceIdObj_||{};va("ytLoggingGelSequenceIdObj_",Ui,void 0);
function Vi(a,b,c,d){d=void 0===d?{}:d;if(J("lr_drop_other_and_business_payloads")){if(Xia[a]||Wia[a])return}else if(J("lr_drop_other_payloads")&&Xia[a])return;var e={},h=Math.round(d.timestamp||Ni());e.eventTimeMs=hMath.round(Ni())-d.requestTime)){var e=d.authState,h=Bka(Aka(!1));x.equals(e,h)&&(e=d.request,"requestTimeMs"in e&&(e.requestTimeMs=Math.round(Ni())),kka(a,d.method,e,{}));delete b[c]}}ej().set("requests",b,86400,!0)}}
;var Gka=function(){var a;return function(){a||(a=new dj("ytidb"));return a}}();
function Hka(){var a;return null===(a=Gka())||void 0===a?void 0:a.get("LAST_RESULT_ENTRY_KEY",!0)}
;var fj=[],gj,hj=!1;function Ika(){var a={};for(gj=new Jka(void 0===a.handleError?Kka:a.handleError,void 0===a.logEvent?ij:a.logEvent);0=n)bla(l,w,U,q,ba,b.join(),m),u=ba;Ha.jumpTo(2);break;case 3:return Ha.return(Promise.reject(u));}})})},bla=function(a,b,c,d,e,h,l){b=c-b;
e?(e instanceof tj&&("QUOTA_EXCEEDED"===e.type||"QUOTA_MAYBE_EXCEEDED"===e.type)&&kj("QUOTA_EXCEEDED",{dbName:pj(a.JSC$30890_wrapped.name),objectStoreNames:h,transactionCount:a.transactionCount,transactionMode:l.mode}),e instanceof tj&&"UNKNOWN_ABORT"===e.type&&(c-=a.startedMs,0>c&&c>=Math.pow(2,31)&&(c=0),kj("TRANSACTION_UNEXPECTEDLY_ABORTED",{objectStoreNames:h,transactionDuration:b,transactionCount:a.transactionCount,dbDuration:c}),a.hasUnknownAbortedTransaction=!0),cla(a,!1,d,h,b,l.tag),jj(e)):
cla(a,!0,d,h,b,l.tag)},cla=function(a,b,c,d,e,h){kj("TRANSACTION_ENDED",{objectStoreNames:d,
connectionHasUnknownAbortedTransaction:a.hasUnknownAbortedTransaction,duration:e,isSuccessful:b,tryCount:c,tag:void 0===h?"IDB_TRANSACTION_TAG_UNKNOWN":h})};
Bj.prototype.getName=function(){return this.JSC$30890_wrapped.name};
var Dj=function(a){this.JSC$30904_wrapped=a};
Dj.prototype.add=function(a,b){return yj(this.JSC$30904_wrapped.add(a,b))};
Dj.prototype.autoIncrement=function(){return this.JSC$30904_wrapped.autoIncrement};
Dj.prototype.clear=function(){return yj(this.JSC$30904_wrapped.clear()).then(function(){})};
var Ij=function(a,b,c){a.JSC$30904_wrapped.createIndex(b,c,{unique:!1})};
Dj.prototype.count=function(a){return yj(this.JSC$30904_wrapped.count(a))};
var dla=function(a,b){return Jj(a,{query:b},function(c){return c.delete().then(function(){return c.continue()})}).then(function(){})};
Dj.prototype.delete=function(a){return a instanceof IDBKeyRange?dla(this,a):yj(this.JSC$30904_wrapped.delete(a))};
Dj.prototype.get=function(a){return yj(this.JSC$30904_wrapped.get(a))};
var $ka=function(a,b,c){return"getAll"in IDBObjectStore.prototype?yj(a.JSC$30904_wrapped.getAll(b,c)):ela(a,b,c)},ela=function(a,b,c){var d=[];
return Jj(a,{query:b},function(e){if(!(void 0!==c&&d.length>=c))return d.push(e.getValue()),e.continue()}).then(function(){return d})};
Dj.prototype.JSC$30904_getAllKeys=function(a,b){return"getAllKeys"in IDBObjectStore.prototype?yj(this.JSC$30904_wrapped.getAllKeys(a,b)):fla(this,a,b)};
var fla=function(a,b,c){var d=[];return gla(a,{query:b},function(e){if(!(void 0!==c&&d.length>=c))return d.push(e.getPrimaryKey()),e.continue()}).then(function(){return d})};
Dj.prototype.index=function(a){try{return new Kj(this.JSC$30904_wrapped.index(a))}catch(b){if(b instanceof Error&&"NotFoundError"===b.name)throw new uj(a,this.JSC$30904_wrapped.name);throw b}};
Dj.prototype.JSC$30904_indexNames=function(){return Array.from(this.JSC$30904_wrapped.indexNames)};
Dj.prototype.getName=function(){return this.JSC$30904_wrapped.name};
Dj.prototype.keyPath=function(){return this.JSC$30904_wrapped.keyPath};
var Fj=function(a,b,c){return yj(a.JSC$30904_wrapped.put(b,c))},Jj=function(a,b,c){a=a.JSC$30904_wrapped.openCursor(b.query,b.direction);
return Lj(a).then(function(d){return zj(d,c)})},gla=function(a,b,c){var d=b.query;
b=b.direction;a="openKeyCursor"in IDBObjectStore.prototype?a.JSC$30904_wrapped.openKeyCursor(d,b):a.JSC$30904_wrapped.openCursor(d,b);return Aj(a).then(function(e){return zj(e,c)})},Hj=function(a){var b=this;
this.JSC$30912_wrapped=a;this.objectStoreCache=new Map;this.JSC$30912_aborted=!1;this.done=new Promise(function(c,d){b.JSC$30912_wrapped.addEventListener("complete",function(){c()});
b.JSC$30912_wrapped.addEventListener("error",function(e){e.currentTarget===e.target&&d(b.JSC$30912_wrapped.error)});
b.JSC$30912_wrapped.addEventListener("abort",function(){var e=b.JSC$30912_wrapped.error;if(e)d(e);else if(!b.JSC$30912_aborted){e=tj;for(var h=b.JSC$30912_wrapped.objectStoreNames,l=[],m=0;m=c))return d.push(e.getPrimaryKey()),e.continue()}).then(function(){return d})};
Kj.prototype.getKey=function(a){return yj(this.JSC$30914_wrapped.getKey(a))};
Kj.prototype.keyPath=function(){return this.JSC$30914_wrapped.keyPath};
Kj.prototype.JSC$30914_openCursor=function(a,b){a=this.JSC$30914_wrapped.openCursor(void 0===a?null:a,void 0===b?"next":b);return Lj(a)};
Kj.prototype.unique=function(){return this.JSC$30914_wrapped.unique};
var Mj=function(a,b,c){a=a.JSC$30914_wrapped.openCursor(void 0===b.query?null:b.query,void 0===b.direction?"next":b.direction);return Lj(a).then(function(d){return zj(d,c)})},kla=function(a,b,c){var d=b.query;
b=b.direction;a="openKeyCursor"in IDBIndex.prototype?a.JSC$30914_wrapped.openKeyCursor(d,b):a.JSC$30914_wrapped.openCursor(d,b);return Aj(a).then(function(e){return zj(e,c)})},lla=function(a,b){this.request=a;
this.cursor=b},Lj=function(a){return yj(a).then(function(b){return b?new lla(a,b):null})};
f=lla.prototype;f.advance=function(a){this.cursor.advance(a);return Lj(this.request)};
f.continue=function(a){this.cursor.continue(a);return Lj(this.request)};
f.delete=function(){return yj(this.cursor.delete()).then(function(){})};
f.getKey=function(){return this.cursor.key};
f.getPrimaryKey=function(){return this.cursor.primaryKey};
f.getValue=function(){return this.cursor.value};
f.update=function(a){return yj(this.cursor.update(a))};function mla(a,b,c){return new Promise(function(d,e){var h=void 0!==b?self.indexedDB.open(a,b):self.indexedDB.open(a);var l=c.blocked,m=c.blocking,n=c.terminated,q=c.upgrade,u=c.closed,w,A=function(){w||(w=new Bj(h.result,{closed:u}));return w};
h.addEventListener("upgradeneeded",function(E){try{if(null===E.newVersion)throw Error("Invariant: newVersion on IDbVersionChangeEvent is null");if(null===h.transaction)throw Error("Invariant: transaction on IDbOpenDbRequest is null");E.dataLoss&&"none"!==E.dataLoss&&kj("IDB_DATA_CORRUPTED",{reason:E.dataLossMessage||"unknown reason",dbName:pj(a)});var F=A(),K=new Hj(h.transaction);q&&q(F,function(U){return E.oldVersion=U},K);
K.done.catch(function(U){e(U)})}catch(U){e(U)}});
h.addEventListener("success",function(){var E=h.result;m&&E.addEventListener("versionchange",function(){m(A())});
E.addEventListener("close",function(){kj("IDB_UNEXPECTEDLY_CLOSED",{dbName:pj(a),dbVersion:E.version});n&&n()});
d(A())});
h.addEventListener("error",function(){e(h.error)});
l&&h.addEventListener("blocked",function(){l()})})}
function nla(a,b,c){c=void 0===c?{}:c;return mla(a,b,c)}
function Nj(a,b){b=void 0===b?{}:b;return B(this,function d(){var e,h,l;return t(d,function(m){e=self.indexedDB.deleteDatabase(a);h=b;(l=h.blocked)&&e.addEventListener("blocked",function(){l()});
return r(m,Xka(e),0)})})}
;var Oj=function(a,b){this.name=a;this.options=b;this.isCompatible=!0;this.deletedToFixMissingObjectStore=!1};
Oj.prototype.openDb=function(a,b,c){c=void 0===c?{}:c;return nla(a,b,c)};
Oj.prototype.delete=function(a){a=void 0===a?{}:a;return Nj(this.name,a)};
var ola=function(a,b){return new tj("INCOMPATIBLE_DB_VERSION",{dbName:a.name,oldVersion:a.options.version,newVersion:b})},Pj=function(a,b){if(!b)throw vj("openWithToken",pj(a.name));
return a.open()};
Oj.prototype.open=function(){var a=this;if(!this.isCompatible)throw ola(this);if(this.connectionPromise)return this.connectionPromise;var b,c=function(){a.connectionPromise===b&&(a.connectionPromise=void 0)},d={blocking:function(h){h.close()},
closed:c,terminated:c,upgrade:this.options.upgrade},e=function(){return B(a,function l(){var m,n,q,u=this,w,A,E,F,K;return t(l,function(U){switch(U.nextAddress){case 1:return q=null!==(m=Error().stack)&&void 0!==m?m:"",ma(U,2),r(U,u.openDb(u.name,u.options.version,d),4);case 4:w=U.yieldResult;a:{var ba=u.options;for(var sa=k(Object.keys(ba.objectStores)),Ha=sa.next();!Ha.done;Ha=sa.next()){Ha=Ha.value;var la=ba.objectStores[Ha],za=void 0===la.removedAtVersion?Number.MAX_VALUE:la.removedAtVersion;
if(w.JSC$30890_wrapped.version>=la.addedAtVersion&&!(w.JSC$30890_wrapped.version>=za)&&!w.JSC$30890_wrapped.objectStoreNames.contains(Ha)){ba=Ha;break a}}ba=void 0}A=ba;if(void 0===A){U.jumpTo(5);break}if(u.deletedToFixMissingObjectStore){U.jumpTo(6);break}u.deletedToFixMissingObjectStore=!0;return r(U,u.delete(),7);case 7:return jj(new tj("DB_DELETED_BY_MISSING_OBJECT_STORE",{dbName:u.name,missingObjectStore:A})),U.return(e());case 6:throw new Oka(A);case 5:return U.return(w);case 2:E=oa(U);if(E instanceof
DOMException?"VersionError"!==E.name:"DOMError"in self&&E instanceof DOMError?"VersionError"!==E.name:!(E instanceof Object&&"message"in E)||"An attempt was made to open a database using a lower version than the existing version."!==E.message){U.jumpTo(8);break}return r(U,u.openDb(u.name,void 0,Object.assign(Object.assign({},d),{upgrade:void 0})),9);case 9:F=U.yieldResult;K=F.JSC$30890_wrapped.version;if(void 0!==u.options.version&&K>u.options.version+1)throw F.close(),u.isCompatible=!1,ola(u,K);
return U.return(F);case 8:throw c(),E instanceof Error&&!J("ytidb_async_stack_killswitch")&&(E.stack=E.stack+"\n"+q.substring(q.indexOf("\n")+1)),Qka(E,u.name,"",null!==(n=u.options.version)&&void 0!==n?n:-1);}})})};
return this.connectionPromise=b=e()};var pla=new Oj("YtIdbMeta",{objectStores:{databases:{addedAtVersion:1}},upgrade:function(a,b){b(1)&&Ej(a,"databases",{keyPath:"actualName"})}});
function qla(a,b){return B(this,function d(){var e;return t(d,function(h){if(1==h.nextAddress)return r(h,Pj(pla,b),2);e=h.yieldResult;return h.return(Cj(e,["databases"],{enableRetries:!0,mode:"readwrite"},function(l){var m=l.objectStore("databases");return m.get(a.actualName).then(function(n){if(n?a.actualName!==n.actualName||a.publicName!==n.publicName||a.userIdentifier!==n.userIdentifier:1)return Fj(m,a).then(function(){})})}))})})}
function Qj(a,b){return B(this,function d(){var e;return t(d,function(h){if(1==h.nextAddress)return a?r(h,Pj(pla,b),2):h.return();e=h.yieldResult;return h.return(e.delete("databases",a))})})}
function rla(a,b){return B(this,function d(){var e,h;return t(d,function(l){return 1==l.nextAddress?(e=[],r(l,Pj(pla,b),2)):3!=l.nextAddress?(h=l.yieldResult,r(l,Cj(h,["databases"],{enableRetries:!0,mode:"readonly"},function(m){e.length=0;return Jj(m.objectStore("databases"),{},function(n){a(n.getValue())&&e.push(n.getValue());return n.continue()})}),3)):l.return(e)})})}
function sla(a,b){return rla(function(c){return c.publicName===a&&void 0!==c.userIdentifier},b)}
function tla(a,b){return rla(function(c){return void 0!==c.userIdentifier&&!a.includes(c.userIdentifier)},b)}
;var ula,vla=new function(a){this.privateInitializer=a}(new function(){this.JSC$56349_isPrivateInternalUseOnly=!0}());
function wla(){return B(this,function b(){var c,d,e;return t(b,function(h){switch(h.nextAddress){case 1:c=Hka();if(null===c||void 0===c?0:c.hasSucceededOnce)return h.return(!0);var l;if(l=Pja)l=/WebKit\/([0-9]+)/.exec(Fb),l=!!(l&&600<=parseInt(l[1],10));l&&(l=/WebKit\/([0-9]+)/.exec(Fb),l=!(l&&602<=parseInt(l[1],10)));if(l||sc)return h.return(!1);try{if(d=self,!(d.indexedDB&&d.IDBIndex&&d.IDBKeyRange&&d.IDBObjectStore))return h.return(!1)}catch(m){return h.return(!1)}if(!("IDBTransaction"in self&&
"objectStoreNames"in IDBTransaction.prototype))return h.return(!1);ma(h,2);e={actualName:"yt-idb-test-do-not-use",publicName:"yt-idb-test-do-not-use",userIdentifier:void 0};return r(h,qla(e,vla),4);case 4:return r(h,Qj("yt-idb-test-do-not-use",vla),5);case 5:return h.return(!0);case 2:return oa(h),h.return(!1);}})})}
function Rj(){if(void 0!==ula)return ula;hj=!0;return ula=wla().then(function(a){hj=!1;var b,c;null!==(b=Gka())&&void 0!==b&&b.expiringStorage_&&(b=Hka(),b={hasSucceededOnce:(null===b||void 0===b?void 0:b.hasSucceededOnce)||a},null===(c=Gka())||void 0===c?void 0:c.set("LAST_RESULT_ENTRY_KEY",b,2592E3,!0));return a})}
function Sj(){return Rj().then(function(a){return a?vla:void 0})}
;var Tj=0;function xla(a){var b=this;Tj||(Tj=gi(pi,function(){return B(b,function d(){var e,h,l,m,n;return t(d,function(q){switch(q.nextAddress){case 1:return r(q,Sj(),2);case 2:e=q.yieldResult;if(!e)return q.return();h=!0;ma(q,3);return r(q,tla(a,e),5);case 5:l=q.yieldResult;if(!l.length){h=!1;q.jumpTo(6);break}m=l[0];return r(q,Nj(m.actualName),7);case 7:return r(q,Qj(m.actualName,e),6);case 6:na(q,4);break;case 3:n=oa(q),jj(n),h=!1;case 4:pi.cancelJob(Tj),Tj=0,h&&xla(a),ja(q);}})})}))}
new Pg;function yla(a){if(!mj())throw a=new tj("AUTH_INVALID",{dbName:a}),jj(a),a;var b=nj();return{actualName:a+":"+b,publicName:a,userIdentifier:b}}
function zla(a,b,c,d){var e;return B(this,function l(){var m,n,q,u,w;return t(l,function(A){switch(A.nextAddress){case 1:return m=null!==(e=Error().stack)&&void 0!==e?e:"",r(A,Sj(),2);case 2:n=A.yieldResult;if(!n)throw q=vj("openDbImpl",a,b),J("ytidb_async_stack_killswitch")||(q.stack=q.stack+"\n"+m.substring(m.indexOf("\n")+1)),jj(q),q;oj(a);u=c?{actualName:a,publicName:a,userIdentifier:void 0}:yla(a);ma(A,3);return r(A,qla(u,n),5);case 5:return r(A,nla(u.actualName,b,d),6);case 6:return A.return(A.yieldResult);
case 3:return w=oa(A),ma(A,7),r(A,Qj(u.actualName,n),9);case 9:na(A,8);break;case 7:oa(A);case 8:throw w;}})})}
function Ala(a,b,c){c=void 0===c?{}:c;return zla(a,b,!1,c)}
function Bla(a,b,c){c=void 0===c?{}:c;return zla(a,b,!0,c)}
function Cla(a,b){b=void 0===b?{}:b;return B(this,function d(){var e,h;return t(d,function(l){if(1==l.nextAddress)return r(l,Sj(),2);if(3!=l.nextAddress){e=l.yieldResult;if(!e)return l.return();oj(a);h=yla(a);return r(l,Nj(h.actualName,b),3)}return r(l,Qj(h.actualName,e),0)})})}
function Dla(a,b,c){var d=this;a=a.map(function(e){return B(d,function l(){return t(l,function(m){return 1==m.nextAddress?r(m,Nj(e.actualName,b),2):r(m,Qj(e.actualName,c),0)})})});
return Promise.all(a).then(function(){})}
function Ela(a,b){b=void 0===b?{}:b;return B(this,function d(){var e,h;return t(d,function(l){if(1==l.nextAddress)return r(l,Sj(),2);if(3!=l.nextAddress){e=l.yieldResult;if(!e)return l.return();oj(a);return r(l,sla(a,e),3)}h=l.yieldResult;return r(l,Dla(h,b,e),0)})})}
function Fla(a,b){b=void 0===b?{}:b;return B(this,function d(){var e;return t(d,function(h){if(1==h.nextAddress)return r(h,Sj(),2);if(3!=h.nextAddress){e=h.yieldResult;if(!e)return h.return();oj(a);return r(h,Nj(a,b),3)}return r(h,Qj(a,e),0)})})}
;var Uj=function(a){var b=this,c,d,e,h,l,m,n,q;this.initialized=!1;this.potentialEsfErrorCounter=this.intervalJob=0;this.handleError=function(){};
this.handleWarning=function(){};
this.now=Date.now;this.TEST_ONLY={setDbToken:function(u){b.databaseToken=u},
triggerThrottle:function(){b.throttledSend()},
cancelThrottle:function(){b.cancelThrottledSend()},
immediateSend:function(u){return B(b,function A(){var E=this;return t(A,function(F){return r(F,E.immediateSend(u),0)})})},
requestWithinAgeLimit:function(u,w){return b.requestWithinAgeLimit(u,w)},
retryQueuedRequests:function(){b.retryQueuedRequests()}};
this.throttleTimeout=null!==(c=a.throttleTimeout)&&void 0!==c?c:100;this.retryMaxAttempts=null!==(d=a.retryMaxAttempts)&&void 0!==d?d:1;this.requestAgeLimitMs=null!==(e=a.requestAgeLimitMs)&&void 0!==e?e:2592E6;this.queuedRequestAgeLimitMs=null!==(h=a.queuedRequestAgeLimitMs)&&void 0!==h?h:12E4;this.retryDelayMs=null!==(l=a.retryDelayMs)&&void 0!==l?l:5E3;this.databaseToken=null!==(m=a.databaseToken)&&void 0!==m?m:void 0;this.enableCleaning=!!a.enableCleaning;this.cleaningRate=null!==(n=a.cleaningRate)&&
void 0!==n?n:.1;this.potentialEsfErrorLimit=null!==(q=a.potentialEsfErrorLimit)&&void 0!==q?q:10;a.handleError&&(this.handleError=a.handleError);a.handleWarning&&(this.handleWarning=a.handleWarning);this.getBooleanFlag=a.getBooleanFlag;this.jobManager=a.jobManager;this.logsStore=a.logsStore;this.networkManager=a.networkManager;this.sendFn=a.sendFn;this.onlineEvent=a.onlineEvent;this.offlineEvent=a.offlineEvent;this.databaseToken&&(!this.getBooleanFlag||this.getBooleanFlag("networkless_logging"))&&
Gla(this)},Gla=function(a){B(a,function c(){var d=this;
return t(c,function(e){if(!d.databaseToken)return e.return();d.retryQueuedRequests();d.networkManager.isNetworkAvailable()&&d.throttledSend();d.networkManager.listen(d.onlineEvent,d.throttledSend.bind(d));d.networkManager.listen(d.offlineEvent,d.cancelThrottledSend.bind(d));d.initialized=!0;return d.enableCleaning&&Math.random()<=d.cleaningRate?r(e,d.logsStore.cleanLogsStore(d.databaseToken),0):e.jumpTo(0)})})};
f=Uj.prototype;f.writeThenSend=function(a,b){var c=this;b=void 0===b?{}:b;if(this.databaseToken&&this.initialized){var d={url:a,options:b,timestamp:this.now(),status:"NEW",sendCount:0};this.logsStore.set(d,this.databaseToken).then(function(e){d.id=e;c.networkManager.isNetworkAvailable()&&c.immediateSend(d)}).catch(function(e){c.immediateSend(d);
Vj(c,e)})}else this.sendFn(a,b)};
f.sendThenWrite=function(a,b,c){var d=this;b=void 0===b?{}:b;if(this.databaseToken&&this.initialized){var e={url:a,options:b,timestamp:this.now(),status:"NEW",sendCount:0};this.getBooleanFlag&&this.getBooleanFlag("nwl_skip_retry")&&(e.skipRetry=c);if(this.networkManager.isNetworkAvailable()){if(!e.skipRetry){var h=b.onError?b.onError:function(){};
b.onError=function(l,m){return B(d,function q(){var u=this,w;return t(q,function(A){if(1==A.nextAddress)return w=u,r(A,u.logsStore.set(e,u.databaseToken).catch(function(E){Vj(w,E)}),2);
h(l,m);ja(A)})})}}this.sendFn(a,b,e.skipRetry)}else this.logsStore.set(e,this.databaseToken).catch(function(l){d.sendFn(a,b,e.skipRetry);
Vj(d,l)})}else this.sendFn(a,b,this.getBooleanFlag&&this.getBooleanFlag("nwl_skip_retry")&&c)};
f.sendAndWrite=function(a,b){var c=this;b=void 0===b?{}:b;if(this.databaseToken&&this.initialized){var d={url:a,options:b,timestamp:this.now(),status:"NEW",sendCount:0},e=!1,h=b.onSuccess?b.onSuccess:function(){};
d.options.onSuccess=function(l,m){void 0!==d.id?c.logsStore.deleteRequest(d.id,c.databaseToken):e=!0;c.networkManager.networkStatusHint&&c.getBooleanFlag&&c.getBooleanFlag("vss_network_hint")&&c.networkManager.networkStatusHint(!0);h(l,m)};
this.sendFn(d.url,d.options);this.logsStore.set(d,this.databaseToken).then(function(l){d.id=l;e&&c.logsStore.deleteRequest(d.id,c.databaseToken)}).catch(function(l){Vj(c,l)})}else this.sendFn(a,b)};
f.isNetworklessLoggingInitialized=function(){return this.initialized};
f.throttledSend=function(){var a=this;if(!this.databaseToken)throw vj("throttleSend");this.intervalJob||(this.intervalJob=gi(this.jobManager,function(){return B(a,function c(){var d=this,e;return t(c,function(h){if(1==h.nextAddress)return r(h,d.logsStore.getMostRecentByStatus("NEW",d.databaseToken),2);if(3!=h.nextAddress)return e=h.yieldResult,e?r(h,d.immediateSend(e),3):(d.cancelThrottledSend(),h.return());d.intervalJob&&(d.intervalJob=0,d.throttledSend());ja(h)})})},this.throttleTimeout))};
f.cancelThrottledSend=function(){this.jobManager.cancelJob(this.intervalJob);this.intervalJob=0};
f.immediateSend=function(a){return B(this,function c(){var d=this,e,h;return t(c,function(l){switch(l.nextAddress){case 1:if(!d.databaseToken)throw e=vj("immediateSend"),e;if(void 0===a.id){l.jumpTo(2);break}return r(l,d.logsStore.markAsQueued(a.id,d.databaseToken),3);case 3:(h=l.yieldResult)?a=h:d.handleWarning(Error("The request cannot be found in the database."));case 2:if(d.requestWithinAgeLimit(a,d.requestAgeLimitMs)){l.jumpTo(4);break}d.handleWarning(Error("Networkless Logging: Stored logs request expired age limit"));
if(void 0===a.id){l.jumpTo(5);break}return r(l,d.logsStore.deleteRequest(a.id,d.databaseToken),5);case 5:return l.return();case 4:a.skipRetry||(a=Hla(d,a));if(!a){l.jumpTo(0);break}if(!a.skipRetry||void 0===a.id){l.jumpTo(8);break}return r(l,d.logsStore.deleteRequest(a.id,d.databaseToken),8);case 8:d.sendFn(a.url,a.options,!!a.skipRetry),ja(l);}})})};
var Hla=function(a,b){if(!a.databaseToken)throw vj("updateRequestHandlers");var c=b.options.onError?b.options.onError:function(){};
b.options.onError=function(e,h){return B(a,function m(){var n=this,q,u;return t(m,function(w){switch(w.nextAddress){case 1:q=n;u=Ila(h);if(!(n.getBooleanFlag&&n.getBooleanFlag("nwl_consider_error_code")&&u||n.getBooleanFlag&&!n.getBooleanFlag("nwl_consider_error_code")&&n.potentialEsfErrorCounter<=n.potentialEsfErrorLimit)){w.jumpTo(2);break}if(!n.networkManager.sendNetworkCheckRequest){w.jumpTo(3);break}return r(w,n.networkManager.sendNetworkCheckRequest(),3);case 3:if(n.networkManager.isNetworkAvailable()){w.jumpTo(2);
break}c(e,h);if(!n.getBooleanFlag||!n.getBooleanFlag("nwl_consider_error_code")||void 0===(null===b||void 0===b?void 0:b.id)){w.jumpTo(6);break}return r(w,n.logsStore.resetRequest(b.id,n.databaseToken,!1),6);case 6:return w.return();case 2:if(n.getBooleanFlag&&n.getBooleanFlag("nwl_consider_error_code")&&!u&&n.potentialEsfErrorCounter>n.potentialEsfErrorLimit)return w.return();n.potentialEsfErrorCounter++;if(void 0===(null===b||void 0===b?void 0:b.id)){w.jumpTo(8);break}return b.sendCount=b?!1:!0};
Uj.prototype.retryQueuedRequests=function(){var a=this;if(!this.databaseToken)throw vj("retryQueuedRequests");this.logsStore.getMostRecentByStatus("QUEUED",this.databaseToken).then(function(b){b&&!a.requestWithinAgeLimit(b,a.queuedRequestAgeLimitMs)?gi(a.jobManager,function(){return B(a,function d(){var e=this;return t(d,function(h){if(1==h.nextAddress)return void 0===b.id?h.jumpTo(2):r(h,e.logsStore.resetRequest(b.id,e.databaseToken),2);e.retryQueuedRequests();ja(h)})})}):a.networkManager.isNetworkAvailable()&&
a.throttledSend()})};
var Vj=function(a,b){a.writeError&&!a.networkManager.isNetworkAvailable()?a.writeError(b):a.handleError(b)};
function Ila(a){var b;return(a=null===(b=null===a||void 0===a?void 0:a.error)||void 0===b?void 0:b.code)&&400<=a&&599>=a?!1:!0}
;var Wj=function(a,b){this.version=a;this.args=b};
Wj.prototype.serialize=function(){return{version:this.version,args:this.args}};var Xj=function(a,b){this.topic=a;this.dataClass=b};
Xj.prototype.toString=function(){return this.topic};var Jla=wa("ytPubsub2Pubsub2Instance")||new ah;ah.prototype.subscribe=ah.prototype.subscribe;ah.prototype.unsubscribeByKey=ah.prototype.unsubscribeByKey;ah.prototype.publish=ah.prototype.JSC$30708_publish;ah.prototype.clear=ah.prototype.clear;va("ytPubsub2Pubsub2Instance",Jla,void 0);var Zj=wa("ytPubsub2Pubsub2SubscribedKeys")||{};va("ytPubsub2Pubsub2SubscribedKeys",Zj,void 0);var ak=wa("ytPubsub2Pubsub2TopicToKeys")||{};va("ytPubsub2Pubsub2TopicToKeys",ak,void 0);
var Kla=wa("ytPubsub2Pubsub2IsAsync")||{};va("ytPubsub2Pubsub2IsAsync",Kla,void 0);va("ytPubsub2Pubsub2SkipSubKey",null,void 0);function bk(a,b){var c=Lla();c&&c.publish.call(c,a.toString(),a,b)}
function Mla(a,b,c){var d=Lla();if(!d)return 0;var e=d.subscribe(a.toString(),function(h,l){var m=wa("ytPubsub2Pubsub2SkipSubKey");m&&m==e||(m=function(){if(Zj[e])try{if(l&&a instanceof Xj&&a!=h)try{var n=a.dataClass,q=l;if(!q.args||!q.version)throw Error("yt.pubsub2.Data.deserialize(): serializedData is incomplete.");try{if(!n.version_){var u=new n;n.version_=u.version}var w=n.version_}catch(A){}if(!w||q.version!=w)throw Error("yt.pubsub2.Data.deserialize(): serializedData version is incompatible.");
try{l=Reflect.construct(n,bb(q.args))}catch(A){throw A.message="yt.pubsub2.Data.deserialize(): "+A.message,A}}catch(A){throw A.message="yt.pubsub2.pubsub2 cross-binary conversion error for "+a.toString()+": "+A.message,A}b.call(c||window,l)}catch(A){Vh(A)}},Kla[a.toString()]?wa("yt.scheduler.instance")?gi(pi,m):bi(m,0):m())});
Zj[e]=!0;ak[a.toString()]||(ak[a.toString()]=[]);ak[a.toString()].push(e);return e}
function Nla(){var a=Ola,b=Mla(Pla,function(c){a.apply(void 0,arguments);Qla(b)},void 0);
return b}
function Qla(a){var b=Lla();b&&("number"===typeof a&&(a=[a]),Qa(a,function(c){b.unsubscribeByKey(c);delete Zj[c]}))}
function Lla(){return wa("ytPubsub2Pubsub2Instance")}
;var ck=function(a,b){Oj.call(this,a,b);this.options=b;oj(a)};
p(ck,Oj);var Rla=function(a,b){var c;return function(){c||(c=new ck(a,b));return c}};
ck.prototype.openDb=function(a,b,c){c=void 0===c?{}:c;return(this.options.shared?Bla:Ala)(a,b,Object.assign({},c))};
ck.prototype.delete=function(a){a=void 0===a?{}:a;return(this.options.shared?Fla:Cla)(this.name,a)};
function dk(a,b){return Rla(a,b)}
;var ek;
function Sla(){if(ek)return ek();var a={};ek=dk("LogsDatabaseV2",{objectStores:(a.LogsRequestsStore={addedAtVersion:2},a),shared:!1,upgrade:function(b,c,d){c(2)&&Ej(b,"LogsRequestsStore",{keyPath:"id",autoIncrement:!0});c(3);c(5)&&(d=d.objectStore("LogsRequestsStore"),d.JSC$30904_wrapped.indexNames.contains("newRequest")&&d.JSC$30904_wrapped.deleteIndex("newRequest"),Ij(d,"newRequestV2",["status","interface","timestamp"]));c(7)&&b.JSC$30890_wrapped.objectStoreNames.contains("sapisid")&&b.JSC$30890_wrapped.deleteObjectStore("sapisid");c(9)&&
b.JSC$30890_wrapped.objectStoreNames.contains("SWHealthLog")&&b.JSC$30890_wrapped.deleteObjectStore("SWHealthLog")},
version:9});return ek()}
;function fk(a){return Pj(Sla(),a)}
function Tla(a,b){return B(this,function d(){var e,h,l,m;return t(d,function(n){if(1==n.nextAddress)return e={startTime:Ni(),transactionType:"YT_IDB_TRANSACTION_TYPE_WRITE"},r(n,fk(b),2);if(3!=n.nextAddress)return h=n.yieldResult,l=Object.assign(Object.assign({},a),{options:JSON.parse(JSON.stringify(a.options)),interface:I("INNERTUBE_CONTEXT_CLIENT_NAME",0)}),r(n,Gj(h,"LogsRequestsStore",l),3);m=n.yieldResult;e.transactionCompleteTime=Ni();Ula(e);return n.return(m)})})}
function Vla(a,b){return B(this,function d(){var e,h,l,m,n,q,u;return t(d,function(w){if(1==w.nextAddress)return e={startTime:Ni(),transactionType:"YT_IDB_TRANSACTION_TYPE_READ"},r(w,fk(b),2);if(3!=w.nextAddress)return h=w.yieldResult,l=I("INNERTUBE_CONTEXT_CLIENT_NAME",0),m=[a,l,0],n=[a,l,Ni()],q=IDBKeyRange.bound(m,n),u=void 0,r(w,Cj(h,["LogsRequestsStore"],{mode:"readwrite",enableRetries:!0},function(A){return Mj(A.objectStore("LogsRequestsStore").index("newRequestV2"),{query:q,direction:"prev"},
function(E){E.getValue()&&(u=E.getValue(),"NEW"===a&&(u.status="QUEUED",E.update(u)))})}),3);
e.transactionCompleteTime=Ni();Ula(e);return w.return(u)})})}
function Wla(a,b){return B(this,function d(){var e;return t(d,function(h){if(1==h.nextAddress)return r(h,fk(b),2);e=h.yieldResult;return h.return(Cj(e,["LogsRequestsStore"],{mode:"readwrite",enableRetries:!0},function(l){var m=l.objectStore("LogsRequestsStore");return m.get(a).then(function(n){if(n)return n.status="QUEUED",Fj(m,n).then(function(){return n})})}))})})}
function gk(a,b,c){c=void 0===c?!0:c;return B(this,function e(){var h;return t(e,function(l){if(1==l.nextAddress)return r(l,fk(b),2);h=l.yieldResult;return l.return(Cj(h,["LogsRequestsStore"],{mode:"readwrite",enableRetries:!0},function(m){var n=m.objectStore("LogsRequestsStore");return n.get(a).then(function(q){return q?(q.status="NEW",c&&(q.sendCount+=1),Fj(n,q).then(function(){return q})):xj.resolve(void 0)})}))})})}
function hk(a,b){return B(this,function d(){var e;return t(d,function(h){if(1==h.nextAddress)return r(h,fk(b),2);e=h.yieldResult;return h.return(e.delete("LogsRequestsStore",a))})})}
function Xla(a){return B(this,function c(){var d,e;return t(c,function(h){if(1==h.nextAddress)return r(h,fk(a),2);d=h.yieldResult;e=Ni()-2592E6;return r(h,Cj(d,["LogsRequestsStore"],{mode:"readwrite",enableRetries:!0},function(l){return Jj(l.objectStore("LogsRequestsStore"),{},function(m){if(m.getValue().timestamp<=e)return m.delete().then(function(){return m.continue()})})}),0)})})}
function Yla(){return B(this,function b(){return t(b,function(c){return r(c,Ela("LogsDatabaseV2"),0)})})}
function Ula(a){J("nwl_csi_killswitch")||.01>=Math.random()&&bk("nwl_transaction_latency_payload",a)}
;var Zla={},$la=dk("ServiceWorkerLogsDatabase",{objectStores:(Zla.SWHealthLog={addedAtVersion:1},Zla),shared:!0,upgrade:function(a,b){b(1)&&Ij(Ej(a,"SWHealthLog",{keyPath:"id",autoIncrement:!0}),"swHealthNewRequest",["interface","timestamp"])},
version:1});function ama(a){return Pj($la(),a)}
function bma(a){return B(this,function c(){var d,e;return t(c,function(h){if(1==h.nextAddress)return J("web_clean_sw_logs_store")?r(h,ama(a),3):h.jumpTo(0);d=h.yieldResult;e=Ni()-2592E6;return r(h,Cj(d,["SWHealthLog"],{mode:"readwrite",enableRetries:!0},function(l){return Jj(l.objectStore("SWHealthLog"),{},function(m){if(m.getValue().timestamp<=e)return m.delete().then(function(){return m.continue()})})}),0)})})}
function cma(a){var b=100;b=void 0===b?500:b;return B(this,function d(){var e,h,l,m,n,q;return t(d,function(u){return 1==u.nextAddress?(e=I("INNERTUBE_CONTEXT_CLIENT_NAME",0),h=[e,Ni()-2592E6],l=[e,Ni()],m=IDBKeyRange.bound(h,l),r(u,ama(a),2)):3!=u.nextAddress?(n=u.yieldResult,q=[],r(u,Cj(n,["SWHealthLog"],{mode:"readwrite",enableRetries:!0},function(w){q.length=0;return Mj(w.objectStore("SWHealthLog").index("swHealthNewRequest"),{query:m,direction:"prev"},function(A){if(A.getValue()&&q.length=Math.random())){c.jumpTo(5);break}return r(c,Xla(mk),6);case 6:return r(c,bma(mk),5);case 5:oma();pk().isNetworkAvailable()&&qk();pk().listen("publicytnetworkstatus-online",
qk);pk().listen("publicytnetworkstatus-offline",pma);if(!J("networkless_immediately_drop_sw_health_store")){c.jumpTo(8);break}return r(c,qma(),8);case 8:if(J("networkless_immediately_drop_all_requests"))return r(c,Yla(),0);c.jumpTo(0);}})})}
function rma(a,b){b=void 0===b?{}:b;var c=function(d){var e=pk().isNetworkAvailable();if(!rk()||!d||e&&J("vss_networkless_bypass_write"))sk(a,b);else{var h={url:a,options:b,timestamp:Ni(),status:"NEW",sendCount:0};Tla(h,d).then(function(l){h.id=l;pk().isNetworkAvailable()&&sma(h)}).catch(function(l){sma(h);
pk().isNetworkAvailable()?Vh(l):fma(l)})}};
J("skip_is_supported_killswitch")?Sj().then(function(d){c(d)}):c(tk())}
function tma(a,b){b=void 0===b?{}:b;var c=function(d){if(rk()&&d){var e={url:a,options:b,timestamp:Ni(),status:"NEW",sendCount:0},h=!1,l=b.onSuccess?b.onSuccess:function(){};
e.options.onSuccess=function(m,n){void 0!==e.id?hk(e.id,d):h=!0;J("vss_network_hint")&&pk().networkStatusHint(!0);l(m,n)};
sk(e.url,e.options);Tla(e,d).then(function(m){e.id=m;h&&hk(e.id,d)}).catch(function(m){pk().isNetworkAvailable()?Vh(m):fma(m)})}else sk(a,b)};
J("skip_is_supported_killswitch")?Sj().then(function(d){c(d)}):c(tk())}
function qk(){var a=this,b=tk();if(!b)throw vj("throttleSend");nk||(nk=gi(pi,function(){return B(a,function d(){var e;return t(d,function(h){if(1==h.nextAddress)return r(h,Vla("NEW",b),2);if(3!=h.nextAddress)return e=h.yieldResult,e?r(h,sma(e),3):(pma(),h.return());nk&&(nk=0,qk());ja(h)})})},100))}
function pma(){pi.cancelJob(nk);nk=0}
function sma(a){return B(this,function c(){var d,e,h;return t(c,function(l){switch(l.nextAddress){case 1:d=tk();if(!d)throw e=vj("immediateSend"),e;if(void 0===a.id){l.jumpTo(2);break}return r(l,Wla(a.id,d),3);case 3:(h=l.yieldResult)?a=h:Wh(Error("The request cannot be found in the database."));case 2:if(uma(a,2592E6)){l.jumpTo(4);break}Wh(Error("Networkless Logging: Stored logs request expired age limit"));if(void 0===a.id){l.jumpTo(5);break}return r(l,hk(a.id,d),5);case 5:return l.return();case 4:a.skipRetry||(
a=vma(a));var m=a,n,q;if(null===(q=null===(n=null===m||void 0===m?void 0:m.options)||void 0===n?void 0:n.postParams)||void 0===q?0:q.requestTimeMs)m.options.postParams.requestTimeMs=Math.round(Ni());a=m;if(!a){l.jumpTo(0);break}if(!a.skipRetry||void 0===a.id){l.jumpTo(8);break}return r(l,hk(a.id,d),8);case 8:sk(a.url,a.options,!!a.skipRetry),ja(l);}})})}
function vma(a){var b=this,c=tk();if(!c)throw vj("updateRequestHandlers");var d=a.options.onError?a.options.onError:function(){};
a.options.onError=function(h,l){return B(b,function n(){var q;return t(n,function(u){switch(u.nextAddress){case 1:q=Ila(l);if(!(J("nwl_consider_error_code")&&q||!J("nwl_consider_error_code")&&wma()<=Oh("potential_esf_error_limit",10))){u.jumpTo(2);break}return r(u,pk().sendNetworkCheckRequest(),3);case 3:if(pk().isNetworkAvailable()){u.jumpTo(2);break}d(h,l);if(!J("nwl_consider_error_code")||void 0===(null===a||void 0===a?void 0:a.id)){u.jumpTo(5);break}return r(u,gk(a.id,c,!1),5);case 5:return u.return();
case 2:if(J("nwl_consider_error_code")&&!q&&wma()>Oh("potential_esf_error_limit",10))return u.return();wa("ytNetworklessLoggingInitializationOptions")&&ok.potentialEsfErrorCounter++;lma++;if(void 0===(null===a||void 0===a?void 0:a.id)){u.jumpTo(7);break}return 1>a.sendCount?r(u,gk(a.id,c),11):r(u,hk(a.id,c),7);case 11:gi(pi,function(){pk().isNetworkAvailable()&&qk()},5E3);
case 7:d(h,l),ja(u);}})})};
var e=a.options.onSuccess?a.options.onSuccess:function(){};
a.options.onSuccess=function(h,l){return B(b,function n(){return t(n,function(q){if(1==q.nextAddress)return void 0===(null===a||void 0===a?void 0:a.id)?q.jumpTo(2):r(q,hk(a.id,c),2);J("vss_network_hint")&&pk().networkStatusHint(!0);e(h,l);ja(q)})})};
return a}
function uma(a,b){a=a.timestamp;return Ni()-a>=b?!1:!0}
function oma(){var a=this,b=tk();if(!b)throw vj("retryQueuedRequests");Vla("QUEUED",b).then(function(c){c&&!uma(c,12E4)?gi(pi,function(){return B(a,function e(){return t(e,function(h){if(1==h.nextAddress)return void 0===c.id?h.jumpTo(2):r(h,gk(c.id,b),2);oma();ja(h)})})}):pk().isNetworkAvailable()&&qk()})}
function qma(){return B(this,function b(){var c,d;return t(b,function(e){c=tk();if(!c)throw d=vj("clearSWHealthLogsDb"),d;return e.return(dma(c).catch(function(h){Vh(h)}))})})}
function pk(){mma||(mma=new kk({logOfflineErrors:!0,enablePolling:!0}));return mma}
function sk(a,b,c){if(J("networkless_with_beacon")){var d=["method","postBody"];if(Object.keys(b).length>d.length)c=!0;else{c=0;d=k(d);for(var e=d.next();!e.done;e=d.next())b.hasOwnProperty(e.value)&&c++;c=Object.keys(b).length!==c}c?Bi(a,b):Ei(a,void 0,b.postBody)}else c&&0===Object.keys(b).length?Di(a):Bi(a,b)}
function rk(){return wa("ytNetworklessLoggingInitializationOptions")?ok.isNwlInitialized:lk}
function tk(){return wa("ytNetworklessLoggingInitializationOptions")?ok.databaseToken:mk}
function wma(){return wa("ytNetworklessLoggingInitializationOptions")?ok.potentialEsfErrorCounter:lma}
;var uk=function(){Uj.call(this,{logsStore:{cleanLogsStore:Xla,deleteRequest:hk,getMostRecentByStatus:Vla,markAsQueued:Wla,resetRequest:gk,set:Tla},networkManager:new kk({logOfflineErrors:!0,enablePolling:!0}),handleError:Vh,handleWarning:Wh,sendFn:xma,now:Ni,writeError:fma,jobManager:mi(),onlineEvent:"publicytnetworkstatus-online",offlineEvent:"publicytnetworkstatus-offline",enableCleaning:!0,cleaningRate:.1,potentialEsfErrorLimit:Oh("potential_esf_error_limit",10),getBooleanFlag:J});var a=this;this.INSTANCE_TEST_ONLY=
{setDbToken:function(b){a.databaseToken=b}};
this.enableCleaning&&Math.random()<=this.cleaningRate&&this.databaseToken&&bma(this.databaseToken);J("networkless_immediately_drop_sw_health_store")&&yma(this);J("networkless_immediately_drop_all_requests")&&Yla();Fla("LogsDatabaseV2")};
p(uk,Uj);var zma=function(){var a=wa("yt.networklessRequestController.instance");a||(a=new uk,va("yt.networklessRequestController.instance",a,void 0),J("networkless_logging")&&Sj().then(function(b){a.databaseToken=b;Gla(a)}));
return a};
uk.prototype.writeThenSend=function(a,b){b||(b={});mj()||(this.initialized=!1);Uj.prototype.writeThenSend.call(this,a,b)};
uk.prototype.sendThenWrite=function(a,b,c){b||(b={});mj()||(this.initialized=!1);Uj.prototype.sendThenWrite.call(this,a,b,c)};
uk.prototype.sendAndWrite=function(a,b){b||(b={});mj()||(this.initialized=!1);Uj.prototype.sendAndWrite.call(this,a,b)};
var yma=function(a){B(a,function c(){var d=this,e,h;return t(c,function(l){e=d;if(!d.databaseToken)throw h=vj("clearSWHealthLogsDb"),h;return l.return(dma(d.databaseToken).catch(function(m){e.handleError(m)}))})})};
function xma(a,b,c){var d;if(null===(d=b.postParams)||void 0===d?0:d.requestTimeMs)b.postParams.requestTimeMs=Math.round(Ni());if(J("networkless_with_beacon")){c=b;var e=["method","postBody"];if(Object.keys(c).length>e.length)c=!0;else{d=0;e=k(e);for(var h=e.next();!h.done;h=e.next())c.hasOwnProperty(h.value)&&d++;c=Object.keys(c).length!==d}c?Bi(a,b):Ei(a,void 0,b.postBody)}else c&&0===Object.keys(b).length?Di(a):Bi(a,b)}
;var vk=function(a){var b=this;this.config_=null;a?this.config_=a:zka()&&(this.config_=Ti());fi(pi,function(){Fka(b)},5E3)};
vk.prototype.isReady=function(){!this.config_&&zka()&&(this.config_=Ti());return!!this.config_};
var kka=function(a,b,c,d){!I("VISITOR_DATA")&&"visitor_id"!==b&&.01>Math.random()&&Wh(new lj("Missing VISITOR_DATA when sending innertube request.",b,c,d));if(!a.isReady()){var e=new lj("innertube xhrclient not ready",b,c,d);Vh(e);throw e}var h={headers:{"Content-Type":"application/json"},method:"POST",postParams:c,postBodyFormat:"JSON",onTimeout:function(){d.onTimeout()},
onFetchTimeout:d.onTimeout,onSuccess:function(F,K){if(d.onSuccess)d.onSuccess(K)},
onFetchSuccess:function(F){if(d.onSuccess)d.onSuccess(F)},
onError:function(F,K){if(d.onError)d.onError(K)},
onFetchError:function(F){if(d.onError)d.onError(F)},
timeout:d.timeout,withCredentials:!0},l="";(e=a.config_.innertubeHostOverride)&&(l=e);var m=a.config_.innertubeUseThirdPartyAuth||!1,n=Aka(m,l,d);Object.assign(h.headers,n);(e=h.headers.Authorization)&&!l&&(h.headers["x-origin"]=window.location.origin);var q="/youtubei/"+a.config_.innertubeApiVersion+"/"+b,u={alt:"json"},w=a.config_.innertubeOmitApiKeyWhenAuthHeaderIsPresent&&e;J("omit_innertube_api_key_for_Bearer_auth_header")&&(w=w&&e.startsWith("Bearer"));w||(u.key=a.config_.innertubeApiKey);var A=
yi(""+l+q,u),E=function(F){F=void 0===F?!1:F;var K;if(d.retry&&"www.youtube-nocookie.com"!=l&&(F||J("skip_ls_gel_retry")||(K=Dka(b,c,n,m)),K)){var U=h.onSuccess,ba=h.onFetchSuccess;h.onSuccess=function(sa,Ha){Eka(K);U(sa,Ha)};
c.onFetchSuccess=function(sa,Ha){Eka(K);ba(sa,Ha)}}try{F&&d.retry&&!d.networklessOptions.bypassNetworkless?(h.method="POST",d.networklessOptions.writeThenSend?J("use_new_nwl")?zma().writeThenSend(A,h):rma(A,h):J("use_new_nwl")?zma().sendAndWrite(A,h):tma(A,h)):(h.method="POST",h.postParams||(h.postParams={}),Bi(A,h))}catch(sa){if("InvalidAccessError"==sa.name)K&&(Eka(K),K=0),Wh(Error("An extension is blocking network request."));else
throw sa}K&&fi(pi,function(){Fka(a)},5E3)};
J("use_new_nwl")||rk()?Rj().then(function(F){E(F)}):E(!1)};function ij(a,b,c){c=void 0===c?{}:c;var d=vk;Mh("ytLoggingEventsDefaultDisabled",!1)&&vk==vk&&(d=null);Vi(a,b,d,c)}
function Ama(){Si()}
;var Bma=[{messageFn:function(a){return"Cannot read property '"+a.key+"'"},
patternsForType:{Error:[{regexp:/(Permission denied) to access property "([^']+)"/,groups:["reason","key"]}],TypeError:[{regexp:/Cannot read property '([^']+)' of (null|undefined)/,groups:["key","value"]},{regexp:/\u65e0\u6cd5\u83b7\u53d6\u672a\u5b9a\u4e49\u6216 (null|undefined) \u5f15\u7528\u7684\u5c5e\u6027\u201c([^\u201d]+)\u201d/,groups:["value","key"]},{regexp:/\uc815\uc758\ub418\uc9c0 \uc54a\uc74c \ub610\ub294 (null|undefined) \ucc38\uc870\uc778 '([^']+)' \uc18d\uc131\uc744 \uac00\uc838\uc62c \uc218 \uc5c6\uc2b5\ub2c8\ub2e4./,
groups:["value","key"]},{regexp:/No se puede obtener la propiedad '([^']+)' de referencia nula o sin definir/,groups:["key"]},{regexp:/Unable to get property '([^']+)' of (undefined or null) reference/,groups:["key","value"]},{regexp:/(null) is not an object \(evaluating '(?:([^.]+)\.)?([^']+)'\)/,groups:["value","base","key"]}]}},{messageFn:function(a){return"Cannot call '"+a.key+"'"},
patternsForType:{TypeError:[{regexp:/(?:([^ ]+)?\.)?([^ ]+) is not a function/,groups:["base","key"]},{regexp:/([^ ]+) called on (null or undefined)/,groups:["key","value"]},{regexp:/Object (.*) has no method '([^ ]+)'/,groups:["base","key"]},{regexp:/Object doesn't support property or method '([^ ]+)'/,groups:["key"]},{regexp:/\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306f '([^']+)' \u30d7\u30ed\u30d1\u30c6\u30a3\u307e\u305f\u306f\u30e1\u30bd\u30c3\u30c9\u3092\u30b5\u30dd\u30fc\u30c8\u3057\u3066\u3044\u307e\u305b\u3093/,
groups:["key"]},{regexp:/\uac1c\uccb4\uac00 '([^']+)' \uc18d\uc131\uc774\ub098 \uba54\uc11c\ub4dc\ub97c \uc9c0\uc6d0\ud558\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4./,groups:["key"]}]}},{messageFn:function(a){return a.key+" is not defined"},
patternsForType:{ReferenceError:[{regexp:/(.*) is not defined/,groups:["key"]},{regexp:/Can't find variable: (.*)/,groups:["key"]}]}}];var Dma={messageWeights:[],callbackWeights:[{callback:Cma,weight:500}]};function Cma(a){if("JavaException"===a.name)return!0;a=a.stack;return a.includes("chrome://")||a.includes("chrome-extension://")||a.includes("moz-extension://")}
;var Ema=function(){this.callbackWeights=[];this.messageWeights=[]},Fma,Hma=function(){if(!Fma){var a=Fma=new Ema;
a.messageWeights.length=0;a.callbackWeights.length=0;Gma(a,Dma)}return Fma},Gma=function(a,b){b.messageWeights&&a.messageWeights.push.apply(a.messageWeights,b.messageWeights);
b.callbackWeights&&a.callbackWeights.push.apply(a.callbackWeights,b.callbackWeights)};var Fha=new ah;function Ima(a){return atob(a.replace(/-/g,"+").replace(/_/g,"/"))}
function Jma(a,b){var c=a.length,d=0,e=function(){return a.charCodeAt(d++)};
do{var h=Kma(e);if(Infinity===h)break;var l=h>>3;switch(h&7){case 0:h=Kma(e);if(l===b)return h;break;case 1:if(l===b)return;d+=8;break;case 2:h=Kma(e);if(l===b)return a.substr(d,h);d+=h;break;case 5:if(l===b)return;d+=4;break;default:return;}}while(db)return c;b=a();c|=(b&127)<<7;if(128>b)return c;b=a();c|=(b&127)<<14;if(128>b)return c;b=a();return 128>b?c|(b&127)<<21:Infinity}
;function Lma(a,b,c,d){if(a){if(Array.isArray(a)){var e=d;for(d=0;da.urlMaxLength;)if(1=b.branches_&&b.cancel())}this.onCancelFunction_?this.onCancelFunction_.call(this.defaultScope_,this):this.silentlyCanceled_=!0;this.fired_||this.errback(new Wk(this))}};
Vk.prototype.continue_=function(a,b){this.blocked_=!1;Tna(this,a,b)};
var Tna=function(a,b,c){a.fired_=!0;a.JSC$31089_result_=c;a.hadError_=!b;Una(a)},Vna=function(a){if(a.fired_){if(!a.silentlyCanceled_)throw new Xk(a);
a.silentlyCanceled_=!1}};
Vk.prototype.callback=function(a){Vna(this);Tna(this,!0,a)};
Vk.prototype.errback=function(a){Vna(this);Tna(this,!1,a)};
Vk.prototype.assertNotDeferred_=function(){};
var Wna=function(a,b){return Zk(a,b,null,void 0)};
Vk.prototype.addErrback=function(a,b){return Zk(this,null,a,b)};
Vk.prototype.addBoth=function(a,b){return Zk(this,a,a,b)};
Vk.prototype.addFinally=function(a,b){return Zk(this,a,function(c){var d=a.call(this,c);if(void 0===d)throw c;return d},b)};
var Zk=function(a,b,c,d){a.sequence_.push([b,c,d]);a.fired_&&Una(a);return a};
Vk.prototype.then=function(a,b,c){var d,e,h=new Tg(function(l,m){e=l;d=m});
Zk(this,e,function(l){l instanceof Wk?h.cancel():d(l)});
return h.then(a,b,c)};
Qg(Vk);Vk.prototype.awaitDeferred=function(a){return a instanceof Vk?Wna(this,Ea(a.branch,a)):Wna(this,function(){return a})};
Vk.prototype.branch=function(a){var b=new Vk;Zk(this,b.callback,b.errback,b);a&&(b.JSC$31089_parent_=this,this.branches_++);return b};
Vk.prototype.isError=function(a){return a instanceof Error};
var Xna=function(a){return Ua(a.sequence_,function(b){return"function"===typeof b[1]})};
Vk.prototype.getLastValueForMigration=function(){return this.fired_&&!this.hadError_?this.JSC$31089_result_:void 0};
var Una=function(a){if(a.unhandledErrorId_&&a.fired_&&Xna(a)){var b=a.unhandledErrorId_,c=$k[b];c&&(v.clearTimeout(c.JSC$31099_id_),delete $k[b]);a.unhandledErrorId_=0}a.JSC$31089_parent_&&(a.JSC$31089_parent_.branches_--,delete a.JSC$31089_parent_);b=a.JSC$31089_result_;for(var d=c=!1;a.sequence_.length&&!a.blocked_;){var e=a.sequence_.shift(),h=e[0],l=e[1];e=e[2];if(h=a.hadError_?l:h)try{var m=h.call(e||a.defaultScope_,b);void 0!==m&&(a.hadError_=a.hadError_&&(m==b||a.isError(m)),a.JSC$31089_result_=
b=m);if(Rg(b)||"function"===typeof v.Promise&&b instanceof v.Promise)d=!0,a.blocked_=!0}catch(n){b=n,a.hadError_=!0,Xna(a)||(c=!0)}}a.JSC$31089_result_=b;d&&(m=Ea(a.continue_,a,!0),d=Ea(a.continue_,a,!1),b instanceof Vk?(Zk(b,m,d),b.blocking_=!0):b.then(m,d));c&&(b=new Yna(b),$k[b.JSC$31099_id_]=b,a.unhandledErrorId_=b.JSC$31099_id_)},Xk=function(a){Ja.call(this);
this.JSC$31093_deferred=a};
Ia(Xk,Ja);Xk.prototype.message="Deferred has already fired";Xk.prototype.name="AlreadyCalledError";var Wk=function(a){Ja.call(this);this.JSC$31096_deferred=a};
Ia(Wk,Ja);Wk.prototype.message="Deferred was canceled";Wk.prototype.name="CanceledError";var Yna=function(a){this.JSC$31099_id_=v.setTimeout(Ea(this.throwError,this),0);this.JSC$31099_error_=a};
Yna.prototype.throwError=function(){delete $k[this.JSC$31099_id_];throw this.JSC$31099_error_};
var $k={};var al=function(){Ok.call(this);this.moduleInfoMap={};this.loadingModuleIds_=[];this.requestedLoadingModuleIds_=[];this.requestedModuleIds_=[];this.requestedModuleIdsQueue_=[];this.userInitiatedLoadingModuleIds_=[];this.JSC$31102_extraEdges_={};this.JSC$31102_callbackMap_={};this.JSC$31102_currentlyLoadingModule_=this.baseModuleInfo_=new Mk([],"");this.lastInitialModuleId_=null;this.initialModulesLoaded_=new Vk;this.JSC$31102_logger_=null;this.concurrentLoadingEnabled_=this.batchModeEnabled_=!1;this.consecutiveFailures_=
0;this.isDisposed_=this.userLastActive_=this.lastActive_=!1};
Ia(al,Ok);var Zna=function(a,b){Ja.call(this,"Error loading "+a+": "+xna(b));this.failureType=b};
Ia(Zna,Ja);f=al.prototype;f.setBatchModeEnabled=function(a){this.batchModeEnabled_=a};
f.setConcurrentLoadingEnabled=function(a){this.concurrentLoadingEnabled_=a};
f.setAllModuleInfo=function(a){for(var b in a)$na(this,b,a[b]);this.initialModulesLoaded_.fired_||this.initialModulesLoaded_.callback();aoa(this)};
f.setAllModuleInfoString=function(a,b){if(!(this instanceof al))this.setAllModuleInfoString(a,b);else if("string"===typeof a){a=a.split("/");for(var c=[],d=0;da&&b.setFullYear(b.getFullYear()-1900);return b};
f=kl.prototype;f.firstDayOfWeek_=hl.FIRSTDAYOFWEEK;f.firstWeekCutOffDay_=hl.FIRSTWEEKCUTOFFDAY;f.clone=function(){var a=new kl(this.date);a.firstDayOfWeek_=this.firstDayOfWeek_;a.firstWeekCutOffDay_=this.firstWeekCutOffDay_;return a};
f.getFullYear=function(){return this.date.getFullYear()};
f.getMonth=function(){return this.date.getMonth()};
f.getDate=function(){return this.date.getDate()};
f.getTime=function(){return this.date.getTime()};
f.getDay=function(){return this.date.getDay()};
f.getWeekday=function(){return((this.getDay()+6)%7-this.firstDayOfWeek_+7)%7};
f.getUTCFullYear=function(){return this.date.getUTCFullYear()};
f.getUTCMonth=function(){return this.date.getUTCMonth()};
f.getUTCDate=function(){return this.date.getUTCDate()};
f.JSC$31126_getUTCDay=function(){return this.date.getDay()};
f.getUTCHours=function(){return this.date.getUTCHours()};
f.getUTCMinutes=function(){return this.date.getUTCMinutes()};
f.getUTCWeekday=function(){return((this.date.getUTCDay()+6)%7-this.firstDayOfWeek_+7)%7};
f.getNumberOfDaysInMonth=function(){return il(this.getFullYear(),this.getMonth())};
f.getWeekNumber=function(){return toa(this.getFullYear(),this.getMonth(),this.getDate(),this.firstWeekCutOffDay_,this.firstDayOfWeek_)};
f.getYearOfWeek=function(){return new Date(soa(this.getFullYear(),this.getMonth(),this.getDate(),this.firstWeekCutOffDay_,this.firstDayOfWeek_)).getFullYear()};
f.getDayOfYear=function(){for(var a=this.getDate(),b=this.getFullYear(),c=this.getMonth()-1;0<=c;c--)a+=il(b,c);return a};
f.getTimezoneOffset=function(){return this.date.getTimezoneOffset()};
f.set=function(a){this.date=new Date(a.getFullYear(),a.getMonth(),a.getDate())};
f.setFullYear=function(a){this.date.setFullYear(a)};
f.JSC$31126_setYear=function(a){this.setFullYear(a)};
f.setMonth=function(a){this.date.setMonth(a)};
f.setDate=function(a){this.date.setDate(a)};
f.setTime=function(a){this.date.setTime(a)};
f.JSC$31126_setUTCFullYear=function(a){this.date.setUTCFullYear(a)};
f.JSC$31126_setUTCMonth=function(a){this.date.setUTCMonth(a)};
f.JSC$31126_setUTCDate=function(a){this.date.setUTCDate(a)};
f.add=function(a){if(a.years||a.months){var b=this.getMonth()+a.months+12*a.years,c=this.getFullYear()+Math.floor(b/12);b%=12;0>b&&(b+=12);var d=Math.min(il(c,b),this.getDate());this.setDate(1);this.setFullYear(c);this.setMonth(b);this.setDate(d)}a.days&&(c=this.getFullYear(),b=0<=c&&99>=c?-1900:0,a=new Date(new Date(c,this.getMonth(),this.getDate(),12).getTime()+864E5*a.days),this.setDate(1),this.setFullYear(a.getFullYear()+b),this.setMonth(a.getMonth()),this.setDate(a.getDate()),jl(this,a.getDate()))};
f.JSC$31126_toIsoString=function(a){return[this.getFullYear(),Xb(this.getMonth()+1,2),Xb(this.getDate(),2)].join(a?"-":"")+""};
f.toUTCIsoString=function(a){return[Xb(this.getUTCFullYear(),4),Xb(this.getUTCMonth()+1,2),Xb(this.getUTCDate(),2)].join(a?"-":"")+""};
f.equals=function(a){return!(!a||this.getFullYear()!=a.getFullYear()||this.getMonth()!=a.getMonth()||this.getDate()!=a.getDate())};
f.toString=function(){return this.JSC$31126_toIsoString()};
var jl=function(a,b){a.getDate()!=b&&a.date.setUTCHours(a.date.getUTCHours()+(a.getDate()c?"-":"+"];c=Math.abs(c);d.push(Math.floor(c/60)%100);c%=60;0!=c&&d.push(":",Xb(c,2));c=d.join("")}b.timeZoneId_=c;c=woa(a);a=xoa(a);b.tzNames_=[c,c];b.tzNamesExt_={STD_LONG_NAME_GMT:a,STD_GENERIC_LOCATION:a};b.transitions_=[];return b}b=new ol;b.timeZoneId_=a.id;b.standardOffset_=-a.std_offset;b.tzNames_=a.names;b.tzNamesExt_=a.names_ext;b.transitions_=a.transitions;return b},xoa=function(a){var b=["GMT"];
b.push(0>=a?"+":"-");a=Math.abs(a);b.push(Xb(Math.floor(a/60)%100,2),":",Xb(a%60,2));return b.join("")},woa=function(a){if(0==a)return"UTC";
var b=["UTC",0>a?"+":"-"];a=Math.abs(a);b.push(Math.floor(a/60)%100);a%=60;0!=a&&b.push(":",a);return b.join("")};
ol.prototype.getTimeZoneData=function(){return{id:this.timeZoneId_,std_offset:-this.standardOffset_,names:bb(this.tzNames_),names_ext:x.clone(this.tzNamesExt_),transitions:bb(this.transitions_)}};
var ql=function(a,b){b=Date.UTC(b.getUTCFullYear(),b.getUTCMonth(),b.getUTCDate(),b.getUTCHours(),b.getUTCMinutes())/36E5;for(var c=0;c=a.transitions_[c];)c+=2;return 0==c?0:a.transitions_[c-1]};
ol.prototype.getUTCString=function(a){return woa(this.standardOffset_-ql(this,a))};
ol.prototype.getLongNameGMT=function(a){return 0b)var c=a.JSC$31143_dateTimeSymbols_.DATEFORMATS[b];else if(8>b)c=a.JSC$31143_dateTimeSymbols_.TIMEFORMATS[b-4];else if(12>b)c=a.JSC$31143_dateTimeSymbols_.DATETIMEFORMATS[b-8],c=c.replace("{1}",a.JSC$31143_dateTimeSymbols_.DATEFORMATS[b-8]),c=c.replace("{0}",a.JSC$31143_dateTimeSymbols_.TIMEFORMATS[b-8]);else{yoa(a,10);return}zoa(a,c)},ul=function(a,b){b=String(b);
a=a.JSC$31143_dateTimeSymbols_||hl;if(void 0!==a.ZERODIGIT&&!tl){for(var c=[],d=0;d=e?String.fromCharCode(a.ZERODIGIT+e-48):b.charAt(d))}b=c.join("")}return b},tl=!1,Boa=!1,vl=function(a){if(!(a.getHours&&a.getSeconds&&a.getMinutes))throw Error("The date to format has no time (probably a goog.date.Date). Use Date or goog.date.DateTime, or use a pattern without time fields.");
},Coa=function(a,b,c,d,e,h){var l=b.length;
switch(b.charAt(0)){case"G":return c=0c&&(c=-c),2==l&&(c%=100),ul(a,Xb(c,l));case"Y":return c=new Date(soa(d.getFullYear(),d.getMonth(),d.getDate(),a.JSC$31143_dateTimeSymbols_.FIRSTWEEKCUTOFFDAY,a.JSC$31143_dateTimeSymbols_.FIRSTDAYOFWEEK)).getFullYear(),0>c&&(c=-c),2==l&&(c%=100),ul(a,Xb(c,l));case"M":a:switch(c=d.getMonth(),l){case 5:l=a.JSC$31143_dateTimeSymbols_.NARROWMONTHS[c];
break a;case 4:l=a.JSC$31143_dateTimeSymbols_.MONTHS[c];break a;case 3:l=a.JSC$31143_dateTimeSymbols_.SHORTMONTHS[c];break a;default:l=ul(a,Xb(c+1,l));}return l;case"k":return vl(e),ul(a,Xb(sl(e)||24,l));case"S":return ul(a,(e.getMilliseconds()/1E3).toFixed(Math.min(3,l)).substr(2)+(3l?
1:0];case"h":return vl(e),ul(a,Xb(sl(e)%12||12,l));case"K":return vl(e),ul(a,Xb(sl(e)%12,l));case"H":return vl(e),ul(a,Xb(sl(e),l));case"c":a:switch(c=d.getDay(),l){case 5:l=a.JSC$31143_dateTimeSymbols_.STANDALONENARROWWEEKDAYS[c];break a;case 4:l=a.JSC$31143_dateTimeSymbols_.STANDALONEWEEKDAYS[c];break a;case 3:l=a.JSC$31143_dateTimeSymbols_.STANDALONESHORTWEEKDAYS[c];break a;default:l=ul(a,Xb(c,1));}return l;case"L":a:switch(c=d.getMonth(),l){case 5:l=a.JSC$31143_dateTimeSymbols_.STANDALONENARROWMONTHS[c];
break a;case 4:l=a.JSC$31143_dateTimeSymbols_.STANDALONEMONTHS[c];break a;case 3:l=a.JSC$31143_dateTimeSymbols_.STANDALONESHORTMONTHS[c];break a;default:l=ul(a,Xb(c+1,l));}return l;case"Q":return c=Math.floor(d.getMonth()/3),4>l?a.JSC$31143_dateTimeSymbols_.SHORTQUARTERS[c]:a.JSC$31143_dateTimeSymbols_.QUARTERS[c];case"d":return ul(a,Xb(d.getDate(),l));case"m":return vl(e),ul(a,Xb(e.getMinutes(),l));case"s":return vl(e),ul(a,Xb(e.getSeconds(),l));case"v":return l=h||pl(c.getTimezoneOffset()),
l.timeZoneId_;case"V":return a=h||pl(c.getTimezoneOffset()),2>=l?a.timeZoneId_:0l?a.tzNames_[0l?(l=-(b.standardOffset_-ql(b,c)),a=[0>l?"-":"+"],l=Math.abs(l),a.push(Xb(Math.floor(l/60)%100,2),Xb(l%60,2)),l=a.join("")):l=ul(a,xoa(b.standardOffset_-ql(b,c))),l;default:return"";}};var Doa={DECIMAL_SEP:".",GROUP_SEP:",",PERCENT:"%",ZERO_DIGIT:"0",PLUS_SIGN:"+",MINUS_SIGN:"-",EXP_SYMBOL:"E",PERMILL:"\u2030",INFINITY:"\u221E",NAN:"NaN",DECIMAL_PATTERN:"#,##0.###",SCIENTIFIC_PATTERN:"#E0",PERCENT_PATTERN:"#,##0%",CURRENCY_PATTERN:"\xA4#,##0.00",DEF_CURRENCY_CODE:"USD"},Eoa=Doa,Foa=Doa;Foa=Eoa=Doa;var Goa=function(a,b){var c=a|0;if(void 0===b){b=Math;var d=b.min;a+="";var e=a.indexOf(".");b=d.call(b,-1==e?0:a.length-e-1,3)}return 1==c&&0==b?"one":"other"},wl=Goa;
wl=Goa;var Hoa;
Hoa={DAY:{LONG:{R:{"-1":"yesterday",0:"today",1:"tomorrow"},P:"one{# day ago}other{# days ago}",F:"one{in # day}other{in # days}"}},HOUR:{LONG:{R:{0:"this hour"},P:"one{# hour ago}other{# hours ago}",F:"one{in # hour}other{in # hours}"},SHORT:{R:{0:"this hour"},P:"one{# hr. ago}other{# hr. ago}",F:"one{in # hr.}other{in # hr.}"}},MINUTE:{LONG:{R:{0:"this minute"},P:"one{# minute ago}other{# minutes ago}",F:"one{in # minute}other{in # minutes}"},SHORT:{R:{0:"this minute"},P:"one{# min. ago}other{# min. ago}",F:"one{in # min.}other{in # min.}"}},
MONTH:{LONG:{R:{"-1":"last month",0:"this month",1:"next month"},P:"one{# month ago}other{# months ago}",F:"one{in # month}other{in # months}"},SHORT:{R:{"-1":"last mo.",0:"this mo.",1:"next mo."},P:"one{# mo. ago}other{# mo. ago}",F:"one{in # mo.}other{in # mo.}"}},QUARTER:{LONG:{R:{"-1":"last quarter",0:"this quarter",1:"next quarter"},P:"one{# quarter ago}other{# quarters ago}",F:"one{in # quarter}other{in # quarters}"},SHORT:{R:{"-1":"last qtr.",0:"this qtr.",1:"next qtr."},P:"one{# qtr. ago}other{# qtrs. ago}",
F:"one{in # qtr.}other{in # qtrs.}"}},SECOND:{LONG:{R:{0:"now"},P:"one{# second ago}other{# seconds ago}",F:"one{in # second}other{in # seconds}"},SHORT:{R:{0:"now"},P:"one{# sec. ago}other{# sec. ago}",F:"one{in # sec.}other{in # sec.}"}},WEEK:{LONG:{R:{"-1":"last week",0:"this week",1:"next week"},P:"one{# week ago}other{# weeks ago}",F:"one{in # week}other{in # weeks}"},SHORT:{R:{"-1":"last wk.",0:"this wk.",1:"next wk."},P:"one{# wk. ago}other{# wk. ago}",F:"one{in # wk.}other{in # wk.}"}},YEAR:{LONG:{R:{"-1":"last year",
0:"this year",1:"next year"},P:"one{# year ago}other{# years ago}",F:"one{in # year}other{in # years}"},SHORT:{R:{"-1":"last yr.",0:"this yr.",1:"next yr."},P:"one{# yr. ago}other{# yr. ago}",F:"one{in # yr.}other{in # yr.}"}}};var xl=function(a){this.mechanism=a};
Ia(xl,dh);var Ioa=function(a,b){var c=[];Jga(b,function(d){try{var e=xl.prototype.getWrapper.call(this,d,!0)}catch(h){if("Storage: Invalid value was encountered"==h)return;throw h}void 0===e?c.push(d):Kha(e)&&c.push(d)},a);
return c},Joa=function(a,b){Ioa(a,b).forEach(function(c){xl.prototype.remove.call(this,c)},a)};var Koa=function(a){return a.getCount&&"function"==typeof a.getCount?a.getCount():Ba(a)||"string"===typeof a?a.length:x.getCount(a)},yl=function(a){if(a.getValues&&"function"==typeof a.getValues)return a.getValues();
if("undefined"!==typeof Map&&a instanceof Map||"undefined"!==typeof Set&&a instanceof Set)return Array.from(a.values());if("string"===typeof a)return a.split("");if(Ba(a)){for(var b=[],c=a.length,d=0;db)throw Error("Bad port number "+b);a.JSC$31171_port_=b}else a.JSC$31171_port_=null;return a};
Dl.prototype.getPath=function(){return this.JSC$31171_path_};
var Il=function(a,b,c){Fl(a);a.JSC$31171_path_=c?Ll(b,!0):b;return a},Jl=function(a,b,c){Fl(a);
b instanceof Ml?(a.JSC$31171_queryData_=b,Soa(a.JSC$31171_queryData_,a.JSC$31171_ignoreCase_)):(c||(b=Nl(b,Toa)),a.JSC$31171_queryData_=new Ml(b,a.JSC$31171_ignoreCase_));return a};
Dl.prototype.JSC$31174_setQuery=function(a,b){return Jl(this,a,b)};
Dl.prototype.getDecodedQuery=function(){return Ll(this.JSC$31171_queryData_.toString())};
Dl.prototype.JSC$31174_getQuery=function(){return this.JSC$31171_queryData_.toString()};
var Ol=function(a,b,c){Fl(a);a.JSC$31171_queryData_.set(b,c);return a},Pl=function(a,b,c){Fl(a);
Array.isArray(c)||(c=[String(c)]);Uoa(a.JSC$31171_queryData_,b,c)};
Dl.prototype.getParameterValues=function(a){return this.JSC$31171_queryData_.getValues(a)};
var Ql=function(a,b){return a.JSC$31171_queryData_.get(b)},Kl=function(a,b,c){Fl(a);
a.fragment_=c?Ll(b):b;return a};
Dl.prototype.hasSameDomainAs=function(a){return(!this.JSC$31171_domain_&&!a.JSC$31171_domain_||this.JSC$31171_domain_==a.JSC$31171_domain_)&&(null==this.JSC$31171_port_&&null==a.JSC$31171_port_||this.JSC$31171_port_==a.JSC$31171_port_)};
var Rl=function(a){Fl(a);Ol(a,"zx",Yb());return a};
Dl.prototype.setReadOnly=function(a){this.isReadOnly_=a;return this};
Dl.prototype.isReadOnly=function(){return this.isReadOnly_};
var Fl=function(a){if(a.isReadOnly_)throw Error("Tried to modify a read-only Uri")};
Dl.prototype.JSC$31174_setIgnoreCase=function(a){this.JSC$31171_ignoreCase_=a;this.JSC$31171_queryData_&&Soa(this.JSC$31171_queryData_,a);return this};
var Sl=function(a){return a instanceof Dl?a.clone():new Dl(a,void 0)},Voa=function(a,b,c,d){var e=new Dl(null,void 0);
a&&El(e,a);b&&Gl(e,b);c&&Hl(e,c);d&&Il(e,d);return e},Woa=function(a,b){a instanceof Dl||(a=Sl(a));
b instanceof Dl||(b=Sl(b));return a.resolve(b)},Ll=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""},Nl=function(a,b,c){return"string"===typeof a?(a=encodeURI(a).replace(b,Xoa),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null},Xoa=function(a){a=a.charCodeAt(0);
return"%"+(a>>4&15).toString(16)+(a&15).toString(16)},Ooa=/[#\/\?@]/g,Qoa=/[#\?:]/g,Poa=/[#\?]/g,Toa=/[#\?@]/g,Roa=/#/g,Ml=function(a,b){this.count_=this.keyMap_=null;
this.encodedQuery_=a||null;this.JSC$31172_ignoreCase_=!!b},Tl=function(a){a.keyMap_||(a.keyMap_=new Map,a.count_=0,a.encodedQuery_&&fc(a.encodedQuery_,function(b,c){a.add(Ub(b),c)}))};
f=Ml.prototype;f.getCount=function(){Tl(this);return this.count_};
f.add=function(a,b){Tl(this);this.encodedQuery_=null;a=Ul(this,a);var c=this.keyMap_.get(a);c||this.keyMap_.set(a,c=[]);c.push(b);this.count_+=1;return this};
f.remove=function(a){Tl(this);a=Ul(this,a);return this.keyMap_.has(a)?(this.encodedQuery_=null,this.count_-=this.keyMap_.get(a).length,this.keyMap_.delete(a)):!1};
f.clear=function(){this.keyMap_=this.encodedQuery_=null;this.count_=0};
f.isEmpty=function(){Tl(this);return 0==this.count_};
f.containsKey=function(a){Tl(this);a=Ul(this,a);return this.keyMap_.has(a)};
f.containsValue=function(a){var b=this.getValues();return Ya(b,a)};
f.forEach=function(a,b){Tl(this);this.keyMap_.forEach(function(c,d){c.forEach(function(e){a.call(b,e,d,this)},this)},this)};
f.getKeys=function(){Tl(this);for(var a=Array.from(this.keyMap_.values()),b=Array.from(this.keyMap_.keys()),c=[],d=0;db;b++)a[b]=Zoa[0|Math.random()*c];return a.join("")},Vl=function(){for(var a=Array(36),b=0,c,d=0;36>d;d++)8==d||13==d||18==d||23==d?a[d]="-":14==d?a[d]="4":(2>=b&&(b=33554432+16777216*Math.random()|0),c=b&15,b>>=4,a[d]=Zoa[19==d?c&3|8:c]);
return a.join("")};/*
The MIT License (MIT)
Copyright (c) 2015-present Dan Abramov
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
*/
function apa(a){for(var b=[],c=0;ca;a++){b=Date.now();for(c=0;c=b.eventsLimit&&b.flush()},Cpa=function(a){if(J("export_player_version_to_ytconfig")){var b;
(b=I("PLAYER_CLIENT_VERSION"))?(b=b.split("-")[0].replace(/\./g,""),b=isNaN(Number(b))?"0":b):b="";var c=I("PLAYER_CLIENT_VERSION");if(c){c=c.split("-");var d="";1=a)&&0e&&(b=a.substring(e,d),b=b.replace(Rpa,""),b=b.replace(Spa,""),b=b.replace("debug-",""),b=b.replace("tracing-",""))}return b}
;var Sm=function(){this.loading=!1;this.vm=null};
Sm.prototype.initialize=function(a,b,c,d){d=void 0===d?!1:d;var e,h;if(a.program){var l=null!==(e=a.interpreterScript)&&void 0!==e?e:null;c=null!==(h=a.interpreterUrl)&&void 0!==h?h:null;if(a.interpreterSafeScript){l=a.interpreterSafeScript;ib("From proto message. b/166824318");l=l.privateDoNotAccessOrElseSafeScriptWrappedValue||"";var m=jba();l=m?m.createScript(l):l;l=new jb(l,mba).toString()}a.interpreterSafeUrl&&(c=qoa(a.interpreterSafeUrl).toString());Vpa(this,l,c,a.program,b,d)}else yk(Error("Cannot initialize botguard without program"))};
var Vpa=function(a,b,c,d,e,h){h=void 0===h?!1:h;if(c)a.loading=!0,Rm(c,function(){a.loading=!1;var m=0<=c.indexOf("/th/");(m?window.trayride:window.botguard)?Wpa(a,d,!!h,m,e):(m=Tpa(c),spf.script.unload(m),yk(new lj("Unable to load Botguard","from "+c)))});else
if(b){var l=bf("SCRIPT");l.textContent=b;l.nonce=Rb(void 0);document.head.appendChild(l);document.head.removeChild(l);((b=b.includes("trayride"))?window.trayride:window.botguard)?Wpa(a,d,!!h,b,e):yk(Error("Unable to load Botguard from JS"))}};
Sm.prototype.isInitialized=function(){return!!this.vm};
var Wpa=function(a,b,c,d,e){var h,l;if(d=d?null===(h=window.trayride)||void 0===h?void 0:h.ad:null===(l=window.botguard)||void 0===l?void 0:l.bg){if(c)try{Xpa(a,new d(b,e?function(){return e(b)}:ya))}catch(m){m instanceof Error&&yk(m)}else{try{Xpa(a,new d(b))}catch(m){m instanceof Error&&yk(m)}e&&e(b)}}else yk(Error("Failed to finish initializing VM"))};
Sm.prototype.invoke=function(a){a=void 0===a?{}:a;return this.vm?this.vm.hasOwnProperty("hot")?this.vm.hot(void 0,void 0,a):this.vm.invoke(void 0,void 0,a):null};
var Ypa=function(a,b){var c=Oh("botguard_async_snapshot_timeout_ms",3E3);b=void 0===b?{}:b;c=void 0===c?3E3:c;return a.vm?Promise.race([new Promise(function(d,e){setTimeout(function(){setTimeout(function(){setTimeout(function(){e(Error("Timed out waiting for snapshot"))},0)},0)},c)}),
new Promise(function(d){a.vm?a.vm.hasOwnProperty("hot")?a.vm.hot(d,!0,b):a.vm.invoke(d,!0,b):d(null)})]):Promise.resolve(null)};
Sm.prototype.dispose=function(){this.vm=null};
var Xpa=function(a,b){a.vm=b};var Zpa=new Map([["dark","USER_INTERFACE_THEME_DARK"],["light","USER_INTERFACE_THEME_LIGHT"]]),$pa=["/fashion","/feed/fashion_destination","/channel/UCrpQ4p1Ql_hG8rKXIKM1MOQ"],aqa=!1,Tm=null,Um=void 0;
function bqa(){var a={isWide:"1"==Yi("wide","0")};$i.getInstance();if(aj(0,165)||aj(0,174))a.theme=Vm(!0);if(Wm()){var b=Xm()?"USER_INTERFACE_THEME_DARK":"USER_INTERFACE_THEME_LIGHT";a.system_theme=b}if((b=Tm)?!x.equals(b,a):a)b={currentValue:a},Um&&(b.timeSinceLastSnapshotSecs=Math.round((Ni()-Um)/1E3)),Tm&&(b.previousValue=Tm),ij("appSettingsCaptured",b),Tm=a,Um=Ni()}
function Vm(a){a=void 0===a?!1:a;$i.getInstance();var b="USER_INTERFACE_THEME_LIGHT";aj(0,165)?b="USER_INTERFACE_THEME_DARK":aj(0,174)?b="USER_INTERFACE_THEME_LIGHT":Xm()&&(b="USER_INTERFACE_THEME_DARK");return a?b:cqa()||b}
function Wm(){return!J("kevlar_legacy_browsers")&&window.matchMedia&&window.matchMedia("(prefers-color-scheme)").matches}
function Xm(){return Wm()&&window.matchMedia("(prefers-color-scheme: dark)").matches}
function dqa(){$i.getInstance();return Wm()&&!aj(0,165)&&!aj(0,174)}
function cqa(){var a=void 0===a?window.location.href:a;if(J("kevlar_disable_theme_param"))return null;var b=bc(a);if(eqa(b))return"USER_INTERFACE_THEME_DARK";try{var c=xi(a).theme;return Zpa.get(c)||null}catch(d){}return null}
function eqa(a){var b=$pa.map(function(c){return c.toLowerCase()});
return!J("disable_dark_fashion_destination_launch")&&b.some(function(c){return a.toLowerCase().startsWith(c)})?!0:!1}
;var fqa=["account/accounts_list"],gqa=["acknowledge_channel_tou_strike"],hqa=["notification/add_upcoming_event_reminder"],iqa=["att/get"],jqa=["browse","music/browse","unplugged/browse"],kqa=["channel/claim_legacy_youtube_channel"],lqa=["history/clear_search_history"],mqa=["history/clear_watch_history"],nqa=["comment/perform_comment_action"],oqa=["comment/get_comment_replies"],pqa=["ypc/commerce_action"],qqa=["backstage/create_post"],rqa=["channel/create_channel"],sqa=["comment/create_comment_reply"],
tqa=["comment/create_comment"],uqa=["live_chat/create_poll"],vqa=["playlist/create"],wqa=["live_chat/delete_message"],xqa=["playlist/delete"],yqa=["like/dislike"],zqa=["dismissal/dismiss"],Aqa=["channel/edit_navigation_settings"],Bqa=["flag/flag"],Cqa=["account/account_menu"],Dqa=["playlist/get_add_to_playlist"],Eqa=["channel/get_channel_creation_form"],Fqa=["offline/get_download_action"],Gqa=["kids/get_kids_blocklist_picker"],Hqa=["live_chat/get_item_context_menu"],Iqa=["live_chat/get_live_chat_message_buy_flow"],
Jqa=["live_chat/get_live_chat_replay"],Kqa=["live_chat/get_live_chat"],Lqa=["live_chat/get_live_chat_super_sticker_buy_flow"],Mqa=["notification/get_notification_menu"],Nqa=["playlist/get_settings_editor"],Oqa=["backstage/get_post_video_preview"],Pqa=["share/get_share_panel"],Qqa=["get_survey"],Rqa=["notification/get_unseen_count"],Sqa=["get_user_mention_suggestions"],Tqa=["guide"],Uqa=["feedback"],Vqa=["kids/update_blacklist"],Wqa=["like/like"],Xqa=["live_chat/live_chat_action"],Yqa=["att/log"],
Zqa=["live_chat/manage_user"],$qa=["live_chat/moderate"],ara=["notification/modify_channel_preference"],bra=["notification/opt_out"],cra=["history/pause_search_history"],dra=["history/pause_watch_history"],era=["player"],fra=["browse/edit_playlist"],gra=["notification/record_interactions"],hra=["reel/reel_item_watch"],ira=["reel/reel_watch_sequence"],jra=["like/removelike"],kra=["notification/remove_upcoming_event_reminder"],lra=["flag/get_form"],mra=["navigation/resolve_url"],nra=["history/resume_search_history"],
ora=["history/resume_watch_history"],pra=["channel/reveal_business_email"],qra=["in_video/search"],rra=["search","sfv/search","unplugged/search"],sra=["live_chat/send_message"],tra=["live_chat/send_live_chat_vote"],ura=["account/set_setting"],vra=["subscription/subscribe"],wra=["get_transcript"],xra=["resolve_location","unplugged/resolve_location"],yra=["subscription/unsubscribe"],zra=["backstage/update_post"],Ara=["comment/update_comment_reply"],Bra=["comment/update_comment"],Cra=["comment/update_comments_settings"],
Dra=["pdg/update_enablement"],Era=["updated_metadata"],Fra=["verify_age"],Gra=["next","unplugged/watch_next"],Hra=["whitelist/edit"],Ira=["ypc/cancel_recurrence"],Jra=["ypc/complete_transaction"],Kra=["ypc/get_cart"],Lra=["ypc/get_cross_device_offline_enabled_devices"],Mra=["ypc/get_fix_instrument_params"],Nra=["ypc/get_offers"],Ora=["ypc/get_payment_instruments_params"],Pra=["ypc/handle_transaction"],Qra=["ypc/log_payment_server_analytics"],Rra=["ypc/offline_video_on_device"],Sra=["ypc/pause_subscription"],
Tra=["ypc/redeem_code"],Ura=["ypc/resume_subscription"];var Vra=function(a){Wj.call(this,1,arguments);this.csn=a};
p(Vra,Wj);var Pla=new Xj("screen-created",Vra),Ym=[],Xra=Wra,Yra=0;
function Zra(a,b,c,d,e,h,l){var m=Xra();h={csn:m,pageVe:new vm({veType:b,youtubeData:h}).getAsJson()};c&&c.visualElement?(h.implicitGesture={parentCsn:c.clientScreenNonce,gesturedVe:c.visualElement.getAsJson()},l&&(h.implicitGesture.gestureType=l)):c&&yk(new lj("newScreen() parent element does not have a VE - rootVe",b));d&&(h.cloneCsn=d);b={cttAuthInfo:e,sequenceGroup:m};a?Vi("screenCreated",h,a,b):ij("screenCreated",h,b);bk(Pla,new Vra(m));return m}
function Zm(a,b,c,d){var e=d.filter(function(h){h.csn!==b?(h.csn=b,h=!0):h=!1;return h});
c={csn:b,parentVe:c.getAsJson(),childVes:Sa(e,function(h){return h.getAsJson()})};
d=k(d);for(e=d.next();!e.done;e=d.next())e=e.value.getAsJson(),(x.isEmpty(e)||!e.trackingParams&&!e.veType)&&yk(Error("Child VE logged with no data"));d={cttAuthInfo:Cm(b),sequenceGroup:b};"UNDEFINED_CSN"==b?$m("visualElementAttached",c,d):a?Vi("visualElementAttached",c,a,d):ij("visualElementAttached",c,d)}
function $ra(a,b,c,d){c={csn:b,ve:c.getAsJson(),eventType:1};d&&(c.clientData=d);d={cttAuthInfo:Cm(b),sequenceGroup:b};"UNDEFINED_CSN"==b?$m("visualElementShown",c,d):a?Vi("visualElementShown",c,a,d):ij("visualElementShown",c,d)}
function asa(a,b,c,d){c={csn:b,ve:c.getAsJson(),eventType:4};d&&(c.clientData=d);d={cttAuthInfo:Cm(b),sequenceGroup:b};"UNDEFINED_CSN"==b?$m("visualElementShown",c,d):a?Vi("visualElementShown",c,a,d):ij("visualElementShown",c,d)}
function bsa(a,b,c,d,e){var h=(d=void 0===d?!1:d)?16:8;c={csn:b,ve:c.getAsJson(),eventType:h};e&&(c.clientData=e);d={cttAuthInfo:Cm(b),sequenceGroup:b,endOfSequence:d};"UNDEFINED_CSN"==b?$m("visualElementHidden",c,d):a?Vi("visualElementHidden",c,a,d):ij("visualElementHidden",c,d)}
function an(a,b,c,d,e){d=d||"INTERACTION_LOGGING_GESTURE_TYPE_GENERIC_CLICK";c={csn:b,ve:c.getAsJson(),gestureType:d};e&&(c.clientData=e);e={cttAuthInfo:Cm(b),sequenceGroup:b};"UNDEFINED_CSN"==b?$m("visualElementGestured",c,e):a?Vi("visualElementGestured",c,a,e):ij("visualElementGestured",c,e)}
function bn(a,b,c,d){c={csn:b,ve:c.getAsJson(),clientData:d};d={cttAuthInfo:Cm(b),sequenceGroup:b};"UNDEFINED_CSN"==b?$m("visualElementStateChanged",c,d):a?Vi("visualElementStateChanged",c,a,d):ij("visualElementStateChanged",c,d)}
function Wra(){for(var a=Math.random()+"",b=[],c=0,d=0;d>=8);b[c++]=e}return Dc(b,3)}
function $m(a,b,c){Ym.push({payloadName:a,payload:b,options:c});Yra||(Yra=Nla())}
function Ola(a){if(Ym){for(var b=k(Ym),c=b.next();!c.done;c=b.next())c=c.value,c.payload&&(c.payload.csn=a.csn,Vi(c.payloadName,c.payload,null,c.options));Ym.length=0}Yra=0}
;function cn(a,b,c){Zm(void 0,a,b,[c])}
function dn(a,b){$ra(void 0,a,b,void 0)}
function en(a,b){Qa(b,function(c){asa(void 0,a,c,void 0)})}
function csa(a,b,c){Qa(b,function(d){bsa(void 0,a,d,c,void 0)})}
function fn(a,b,c){an(void 0,a,b,void 0,c)}
;var dsa={CHANNEL_PAGE_VIEW:3611,ABANDONED_WATCH_NOTIFICATION:27686,ACCESSIBILITY_SETTINGS_SCREEN:85013,ACCOUNT_PAGE:23462,ADD_BY_EMAIL_PAGE:42016,ADD_BY_LINK_PAGE:62407,ADD_CONTACTS_PAGE:26926,ADDME_SHARE_PANEL_PAGE:43781,ADMIN_REVIEW_PAGE:51236,ADMIN_REVUE_PAGE:79148,ADMIN_TOOLBOX_PAGE:50160,ADMIN_YURT_PAGE:77504,ANALYTICS_CATALYST_FEEDBACK_SCREEN:87907,ANALYTICS_MAIN_SCREEN:18630,APP_PROMO_AD_ENGAGEMENT_PANEL_SCREEN:54445,AR_CAMERA_ENGAGEMENT_PANEL_SCREEN:80935,BACKGROUND_PLAYBACK_NOTIFICATION_SCREEN:105675,
BACKSTAGE_FULLSCREEN_IMAGE_VIEWER_SCREEN:37521,BACKSTAGE_POST_DIALOG_SCREEN:47786,BEDTIME_REMINDER_DIALOG_PAGE:98349,BOTTOM_SHEET_PAGE:123695,BROWSE_PAGE:6827,CAPTIONS_MANAGER_PAGE:29434,CHANNEL_BROWSE_PAGE:7282,CHANNEL_CREATION_FORM_PAGE:124448,COMMENT_REPLIES_ENGAGEMENT_PANEL_SCREEN:32276,COMMENTS_ENGAGEMENT_PANEL_SCREEN:76278,CONFIRMATION_FORMFILL_AD_ENGAGEMENT_PANEL_SCREEN:93911,CONSENT_BUMP_PAGE:106531,CONTACTS_PERMISSION_DENIED_FOREVER_PAGE:27259,CONTACTS_PERMISSION_PRE_PROMPT_PAGE:27262,CONTACTS_PERMISSION_SYSTEM_DIALOG_PAGE:27263,
CONVERSATION_PAGE:21759,CONVERSATION_PARTICIPANTS_PAGE:27107,CONVERSATION_VIDEO_PICKER_PAGE:62936,COWATCH_WATCH_PAGE:49568,CREATOR_STUDIO_ANALYTICS_SCREEN:38408,CREATOR_STUDIO_ARTIST_ANALYTICS_SCREEN:80637,CREATOR_STUDIO_ARTIST_CONCERTS_PAGE:68727,CREATOR_STUDIO_ARTIST_PRESS_KIT_PAGE:68728,CREATOR_STUDIO_ASSET_ANALYTICS_SCREEN:80353,CREATOR_STUDIO_ASSET_METADATA_SCREEN:80356,CREATOR_STUDIO_CHANNEL_COMMENTS_SCREEN:74610,CREATOR_STUDIO_CHANNEL_COPYRIGHT:45707,CREATOR_STUDIO_CHANNEL_COPYRIGHT_INTERSTITIAL_PAGE:83962,
CREATOR_STUDIO_CHANNEL_COPYRIGHT_STRIKES_MODAL_PAGE:83970,CREATOR_STUDIO_CHANNEL_DASHBOARD_PAGE:46713,CREATOR_STUDIO_CHANNEL_EDITING_PAGE:89711,CREATOR_STUDIO_CHANNEL_MONETIZATION_SCREEN:74612,CREATOR_STUDIO_CHANNEL_SPONSORSHIPS_SCREEN:93265,CREATOR_STUDIO_CHANNEL_TRANSLATIONS_SCREEN:74611,CREATOR_STUDIO_CHANNEL_TWO_STEP_VERIFICATION_INTERSTITIAL_PAGE:131380,CREATOR_STUDIO_CMS_ALBUM_RELEASE_ART_TRACKS_SCREEN:128979,CREATOR_STUDIO_CMS_ALBUM_RELEASE_OVERVIEW_SCREEN:128978,CREATOR_STUDIO_CMS_ALBUM_RELEASES_SCREEN:131391,
CREATOR_STUDIO_CMS_ALLOWLIST_SCREEN:105350,CREATOR_STUDIO_CMS_ART_TRACK_OVERVIEW_SCREEN:134800,CREATOR_STUDIO_CMS_ART_TRACKS_SCREEN:131392,CREATOR_STUDIO_CMS_ASSET_CLAIMED_VIDEOS_SCREEN:113533,CREATOR_STUDIO_CMS_ASSET_COMPOSITION_SCREEN:93252,CREATOR_STUDIO_CMS_ASSET_EMBEDDED_IN_SCREEN:99357,CREATOR_STUDIO_CMS_ASSET_GROUP_ASSETS_SCREEN:94521,CREATOR_STUDIO_CMS_ASSET_GROUP_CAMPAIGNS_SCREEN:114252,CREATOR_STUDIO_CMS_ASSET_GROUP_CLAIMED_VIDEOS_SCREEN:113532,CREATOR_STUDIO_CMS_ASSET_GROUP_METADATA_SCREEN:94522,
CREATOR_STUDIO_CMS_ASSET_GROUPS_SCREEN:94583,CREATOR_STUDIO_CMS_ASSET_ISSUE_SCREEN:88E3,CREATOR_STUDIO_CMS_ASSET_METADATA_SCREEN:93253,CREATOR_STUDIO_CMS_ASSET_OWNERSHIP_POLICY_SCREEN:93254,CREATOR_STUDIO_CMS_ASSET_OWNERSHIP_SCREEN:94387,CREATOR_STUDIO_CMS_ASSET_POLICY_SCREEN:94388,CREATOR_STUDIO_CMS_ASSET_REFERENCE_SCREEN:93255,CREATOR_STUDIO_CMS_ASSET_SOUND_RECORDINGS_SCREEN:97424,CREATOR_STUDIO_CMS_ASSETS_LIST_SCREEN:72502,CREATOR_STUDIO_CMS_CAMPAIGNS_PAGE:110111,CREATOR_STUDIO_CMS_CHANNELS_PAGE:76019,
CREATOR_STUDIO_CMS_CLAIMED_VIDEO_DETAIL_SCREEN:117092,CREATOR_STUDIO_CMS_CLAIMED_VIDEO_POLICY_SCREEN:117093,CREATOR_STUDIO_CMS_CLAIMED_VIDEOS_LIST_SCREEN:89431,CREATOR_STUDIO_CMS_CONTENT_DELIVERY_SCREEN:110466,CREATOR_STUDIO_CMS_DASHBOARD_PAGE:77240,CREATOR_STUDIO_CMS_ISSUES_LIST_SCREEN:60508,CREATOR_STUDIO_CMS_LICENSE_STRATEGY_DETAILS_SCREEN:137401,CREATOR_STUDIO_CMS_LICENSE_STRATEGY_HISTORY_SCREEN:137402,CREATOR_STUDIO_CMS_LICENSE_STRATEGY_MANAGEMENT_SCREEN:137046,CREATOR_STUDIO_CMS_MANUAL_CLAIMING_VIDEO_SEARCH_SCREEN:73393,
CREATOR_STUDIO_CMS_POLICIES_SCREEN:113534,CREATOR_STUDIO_CMS_REPORTS_SCREEN:92098,CREATOR_STUDIO_CMS_TWO_STEP_VERIFICATION_INTERSTITIAL_PAGE:131381,CREATOR_STUDIO_CMS_VIDEO_DETAIL_SCREEN:84517,CREATOR_STUDIO_CMS_VIDEO_LIST_SCREEN:83759,CREATOR_STUDIO_CONTENT_OWNER_ANALYTICS_SCREEN:80357,CREATOR_STUDIO_GROUP_ANALYTICS_SCREEN:86113,CREATOR_STUDIO_LIVE_CHAT_MONETIZATION:72598,CREATOR_STUDIO_LIVE_STREAMING_PAGE:72733,CREATOR_STUDIO_MENTION_LIST_SCREEN:107349,CREATOR_STUDIO_MOBILE_ACCOUNT_ERROR_SCREEN:124275,
CREATOR_STUDIO_MOBILE_ACCOUNT_SCREEN:118203,CREATOR_STUDIO_MOBILE_ANALYTICS_AUDIENCE_TAB:133275,CREATOR_STUDIO_MOBILE_ANALYTICS_ENGAGEMENT_TAB:133274,CREATOR_STUDIO_MOBILE_ANALYTICS_OVERVIEW_TAB:133272,CREATOR_STUDIO_MOBILE_ANALYTICS_REACH_TAB:133273,CREATOR_STUDIO_MOBILE_ANALYTICS_REVENUE_TAB:133276,CREATOR_STUDIO_MOBILE_COMMENT_SCREEN:117431,CREATOR_STUDIO_MOBILE_COMMENTS_REPLIES_SCREEN:133797,CREATOR_STUDIO_MOBILE_ELEMENTS_SCREEN:128572,CREATOR_STUDIO_MOBILE_NOTIFICATIONS_COMMENTS_SCREEN:133405,
CREATOR_STUDIO_MOBILE_NOTIFICATIONS_SCREEN:117429,CREATOR_STUDIO_MOBILE_NOTIFICATIONS_SETTINGS_SCREEN:117430,CREATOR_STUDIO_MOBILE_PLAYLIST_EDITOR_SCREEN:117432,CREATOR_STUDIO_MOBILE_SEARCH_SCREEN:120080,CREATOR_STUDIO_MOBILE_SETTINGS_SCREEN:117259,CREATOR_STUDIO_MOBILE_SPLASH_SCREEN:121692,CREATOR_STUDIO_MOBILE_VIDEO_LIST_LIVE_TAB:132972,CREATOR_STUDIO_MOBILE_VIDEO_LIST_SEARCH_RESULTS:133051,CREATOR_STUDIO_MOBILE_VIDEO_LIST_SHORTS_TAB:133658,CREATOR_STUDIO_MOBILE_VIDEO_LIST_UPLOADS_TAB:132971,CREATOR_STUDIO_MUSIC_SCREEN:97615,
CREATOR_STUDIO_MY_VIDEOS_SCREEN:31402,CREATOR_STUDIO_OTT_PROGRAM_ARTWORK_SCREEN:133624,CREATOR_STUDIO_OTT_PROGRAM_METADATA_SCREEN:133623,CREATOR_STUDIO_OTT_PROGRAM_OVERVIEW_SCREEN:133622,CREATOR_STUDIO_OTT_PROGRAMS_LIST_SCREEN:133621,CREATOR_STUDIO_PITCH_MUSIC_SCREEN:84774,CREATOR_STUDIO_PLAYLISTS_PAGE:95117,CREATOR_STUDIO_POST_COMMENTS_SCREEN:98930,CREATOR_STUDIO_POST_DETAILS_SCREEN:98931,CREATOR_STUDIO_POST_LIST_SCREEN:98932,CREATOR_STUDIO_SCREEN:43347,CREATOR_STUDIO_SHORTS_FUND_SCREEN:129889,CREATOR_STUDIO_TAKEDOWN_WEBFORM_PAGE:45474,
CREATOR_STUDIO_TOU_PAGE:100352,CREATOR_STUDIO_TOU_STRIKES_DIALOG_PAGE:84758,CREATOR_STUDIO_TOU_STRIKES_INTERSTITIAL_PAGE:98443,CREATOR_STUDIO_UNIFIED_TAKEDOWN_FORM_PAGE:117985,CREATOR_STUDIO_VIDEO_ANALYTICS_SCREEN:74613,CREATOR_STUDIO_VIDEO_COMMENTS_SCREEN:74614,CREATOR_STUDIO_VIDEO_COPYRIGHT_DIALOG:64502,CREATOR_STUDIO_VIDEO_COPYRIGHT_SCREEN:136032,CREATOR_STUDIO_VIDEO_DETAILS_SCREEN:74615,CREATOR_STUDIO_VIDEO_EDITOR_SCREEN:74616,CREATOR_STUDIO_VIDEO_LIVE_SETTINGS_SCREEN:122224,CREATOR_STUDIO_VIDEO_MONETIZATION_SCREEN:74617,
CREATOR_STUDIO_VIDEO_RIGHTS_MANAGEMENT_SCREEN:77820,CREATOR_STUDIO_VIDEO_TRANSLATIONS_SCREEN:74618,CREATOR_STUDIO_YPP_SIGNUP_INELIGIBLE:93278,CREATOR_STUDIO_YPP_SIGNUP_MAIN:93274,CREATOR_STUDIO_YPP_SIGNUP_OVERVIEW:93275,CREATOR_STUDIO_YPP_SIGNUP_REJECTED:93276,CROWDSOURCING_CONTRIBUTOR_QUEUE_PAGE:22110,CROWDSOURCING_EDITOR_PAGE:29433,DATA_SAVING_SETTINGS:133798,DEEP_LINK_PAGE:132295,DESCRIPTION_ENGAGEMENT_PANEL_PAGE:120541,DIRECT_SIGN_IN_AUTHZEN_CHALLENGE_PAGE:82047,DIRECT_SIGN_IN_DEVICE_PROMPT_CHALLENGE_PAGE:113550,
DIRECT_SIGN_IN_IDENTIFIER_ENTRY_PAGE:75836,DIRECT_SIGN_IN_PASSWORD_ENTRY_PAGE:75837,DOWNLOADS_PAGE:42352,EDIT_CREATOR_COMPLIANCE_PAGE:84512,EDIT_INK_OVERLAY:76065,EDIT_VOLUME_SHEET_PANEL:75989,EMBED_PAGE:16623,EMBED_PREVIEW_PAGE:32594,EMBED_WATCH_PAGE:27240,ENGAGEMENT_PANEL_SCREEN:32633,EXPLORE_PAGE:74858,FEED_PAGE:3945,FEEDBACK_PAGE:16989,FINE_LOCATION_PERMISSION_SYSTEM_DIALOG_PAGE:45520,FIRST_TIME_SIGN_IN_COUNTERFACTUAL_PAGE:25488,FIRST_TIME_SIGN_IN_VARIANT1_PAGE:25492,FIRST_TIME_SIGN_IN_VARIANT2_PAGE:25494,
FORMFILL_AD_ENGAGEMENT_PANEL_SCREEN:55760,FULL_SCREEN_WATCH_PAGE:14057,GAME_PAGE:18451,GAMING_ACCOUNT_LINK_CONFIRM_DIALOG:57204,GAMING_ACCOUNT_LINK_SETTING_DIALOG:57203,GAMING_LEFT_RAIL:17897,GAMING_MULTIPLE_ACCOUNT_LINK_DIALOG:57205,GAMING_ONBOARDING_PAGE:18198,GAMING_RIGHT_RAIL:17898,GAMING_WARM_WELCOME_PAGE:17909,GAMING_WATCH_NEXT_CONTAINER_SCREEN:43980,GENERIC_UPSELL_DIALOG_PAGE:46220,GUIDE_PAGE:11721,HELP_PAGE:49954,HISTORY_PAGE:96369,HOME_PAGE:3854,IMMERSIVE_AD_ENGAGEMENT_PANEL_SCREEN:56251,
INLINE_SIGN_IN_PAGE:25624,INTERSTITIAL_PAGE:16906,INTERSTITIAL_PRODUCT_SHELF_ENGAGEMENT_PANEL_SCREEN:99999,INVITATION_FORMFILL_AD_ENGAGEMENT_PANEL_SCREEN:68172,INVITE_MORE_PANEL_PAGE:27068,JOIN_GROUP_PAGE:47973,KIDS_ACTION_PAGE:72773,KIDS_ALL_USER_CONSENT_FLOW_ACTIVITY_PAGE:26970,KIDS_ALL_USER_SIGN_IN_ACTIVITY_PAGE:26971,KIDS_ANNOUNCEMENT_DIALOG_PAGE:96805,KIDS_APP_REVIEW_FLOW_PAGE:17752,KIDS_EDIT_CORPUS_PREFERENCES_FLOW_PAGE:73233,KIDS_IMPRESSUM_NOTICE_FLOW_PAGE:109512,KIDS_NO_RED_ACCOUNT_CONSENT_FLOW_PAGE:22256,
KIDS_ONBOARDING_FLOW_PAGE:14115,KIDS_ONBOARDING_FOR_EXISTING_USER_FLOW_PAGE:22696,KIDS_PARENT_PROFILE_SETTINGS_PAGE:89278,KIDS_PARENT_SETTINGS_PAGE:89277,KIDS_PRIVACY_NOTICE_FLOW_PAGE:109513,KIDS_PROFILE_CREATION_FLOW_PAGE:43278,KIDS_PROFILE_PIN_CREATION_PAGE:43459,KIDS_PROFILE_PIN_GATE:43464,KIDS_PROFILE_SETTINGS_PAGE:89279,KIDS_PROFILE_SWITCHER_PAGE:43717,KIDS_PROMO_EVENT_PAGE_VIEW:55764,KIDS_RED_ACCOUNT_CONSENT_FLOW_PAGE:22255,KIDS_SECRET_CODE_PAGE:89281,KIDS_SHOW_BROWSE_PAGE:40963,KIDS_SIGN_IN_FLOW_PAGE:43277,
KIDS_UNICORN_ONBOARDING_FLOW_PAGE:43442,LABS_PAGE:91824,LAUNCHER_RECOMMENDATIONS_PAGE:120137,LIBRARY_PAGE:96367,LIGHTWEIGHT_CAMERA_PAGE:36850,LIGHTWEIGHT_CREATION_PAGE:72694,LIGHTWEIGHT_PLAYER_PAGE:37414,LIGHTWEIGHT_VIDEO_EDITING_PAGE:36851,LIST_RECOMMENDATIONS_PAGE:124863,LISTEN_FIRST_ENGAGEMENT_PANEL_SCREEN:121343,LIVE_CHAT_ENGAGEMENT_PANEL_SCREEN:73491,LIVE_CHAT_PAGE:54473,LIVE_DASHBOARD_PAGE:43375,LIVE_STUDIO_PAGE:46674,MAIN_AUTO_OFFLINE_NOTIFICATIONS_PAGE:32473,MANGO_ACCOUNT_ERROR_PAGE:72901,
MANGO_ACCOUNT_LOADING_PAGE:72906,MANGO_CHANNEL_DESCRIPTION_PAGE:50947,MANGO_CHANNEL_LIST_PAGE:50612,MANGO_CHANNEL_PREVIEW_PAGE:50613,MANGO_CHANNEL_VIDEOS_PAGE:50942,MANGO_DIALOG_YTB_EDUCATION:84938,MANGO_DIALOG_YTB_INVALID_FILE_ERROR:84943,MANGO_DIALOG_YTB_PERMISSION:84939,MANGO_DIALOG_YTB_PERMISSION_DEEP_LINK:84941,MANGO_DIALOG_YTB_PERMISSION_ERROR:84944,MANGO_DIALOG_YTB_PERMISSION_SETTINGS:84940,MANGO_DIALOG_YTB_PERMISSION_SETTINGS_DEEP_LINK:84942,MANGO_DISCO_SEND_PAGE:35585,MANGO_EXPLORATION_PAGE:51926,
MANGO_GUEST_DOWNLOAD_TAB_PAGE:79983,MANGO_HOME_HOUSEWARMING_CARD_PAGE:63238,MANGO_HOME_PAGE:18921,MANGO_HOME_TOPICK_PICKER_PAGE:63241,MANGO_HOME_VIDEO_REPORTING_PAGE:57893,MANGO_LOW_APKVERSION_PAGE:41182,MANGO_MAIN_APP_PROMO_PAGE:135732,MANGO_MAIN_PAGE:33424,MANGO_NOTIFICATION_DAILY_VIDEOS_AVAILABLE_PAGE:22207,MANGO_NOTIFICATION_SOCIAL_MESSAGES:42993,MANGO_NOTIFICATION_UPGRADE_AVAILABLE_PAGE:36229,MANGO_NOTIFICATION_VIDEO_TRANSFER_COMPLETED_PAGE:22206,MANGO_NOTIFICATION_VIDEO_TRANSFER_IN_PROGRESS_PAGE:22205,
MANGO_ONBOARDING_ACCOUNT_CREATION_PAGE:18993,MANGO_ONBOARDING_COMPLETE_PAGE:19001,MANGO_ONBOARDING_LANGUAGE_SELECTION_PAGE:18990,MANGO_ONBOARDING_PHONE_NUMBER_SELECTION_PAGE:18991,MANGO_ONBOARDING_PHONE_VERIFICATION_PAGE:18997,MANGO_ONBOARDING_SCREEN:18725,MANGO_ONBOARDING_SLIDE_SHOW_PAGE:19003,MANGO_ONBOARDING_VIDEO_PREVIEW_PAGE:36874,MANGO_PROFILE_PAGE:44763,MANGO_SAVED_PAGE:33427,MANGO_SETTINGS_MANAGE_HISTORY_PAGE:67793,MANGO_SETTINGS_PAGE:22182,MANGO_SPLASH_PAGE:37091,MANGO_STORAGE_MANAGEMENT_PAGE:34650,
MANGO_SUBSCRIPTIONS_FEED_PAGE:50617,MANGO_UNFORK_MIGRATION_ERROR_PAGE:47261,MANGO_UPDATE_APK_PAGE:22287,MANGO_VIDEO_FORMAT_SELECTION_PAGE:25144,MANUAL_SYNC_DOWNLOADED_PLAYLIST_DIALOG_PAGE:97917,MDX_ASSISTED_TV_SIGN_IN_DIALOG_PAGE:62397,MDX_AUTOCONNECT_PROMPT:125598,MDX_AUTOCONNECT_PROMPT_COUNTERFACTUAL:137935,MDX_FIJI_DRAWER:36961,MDX_LOCAL_NETWORK_PERMISSIONS_REQUEST_PAGE:108035,MDX_REMOTE_WATCH_DIALOG:27426,MDX_SMART_PAIRING_DELETE_TV_CODES_PAGE:27857,MDX_SMART_PAIRING_PAIR_WITH_TV_PAGE:27846,MDX_SMART_PAIRING_USE_TV_CODE_PAGE:27854,
MDX_SMART_REMOTE_PERMISSION_REQUEST_PAGE:69692,MDX_SMART_REMOTE_SCREEN:61411,MDX_SYSTEM_NOTIFICATION_COUNTERFACTUAL_PAGE:39299,MDX_SYSTEM_NOTIFICATION_PAGE:38696,MDX_TOAST_PAGE:62520,MDX_TV_SIGN_IN_ACCOUNT_CHOOSER_PAGE:36382,MDX_TV_SIGN_IN_PASSIVE_ACCOUNT_CHOOSER_PAGE:108701,MDX_TV_SIGN_IN_PASSIVE_WAITING_PAGE:50663,MDX_TV_SIGN_IN_PERMISSIONS_PAGE:36387,MDX_WATCH_PAGE:14908,MEALBAR_PROMO_PAGE:37533,MEDIA_ACTIONS_BROWSE_PAGE:105443,MEDIA_BROWSER_ANDROID_AUTO_PAGE:61635,MEDIA_BROWSER_ANDROID_CLOCK_PAGE:62274,
MEDIA_BROWSER_ANDROID_WEAR_PAGE:133818,MEDIA_BROWSER_CAR_PLAY_ERROR_PAGE:65702,MEDIA_BROWSER_CAR_PLAY_LOADING_PAGE:65703,MEDIA_BROWSER_CAR_PLAY_SCREEN:65701,MEDIA_BROWSER_WAZE_PAGE:76256,MESSAGES_EXTENSION_CONVERSATION_PAGE:37671,METADATA_EDITOR_PAGE:49953,MOBILE_CREATION_PAGE:36216,MOBILE_LIVE_ADVANCED_SETTINGS_PAGE:28237,MOBILE_LIVE_LOCATION_SEARCH_PAGE:39553,MOBILE_LIVE_PERMISSION_REQUEST_PAGE:29222,MOBILE_LIVE_PREFERENCES_PAGE:26107,MOBILE_LIVE_SCHEDULED_BROADCASTS_PAGE:38050,MOBILE_LIVE_STATS_PAGE:26108,
MOBILE_LIVE_STREAM_END_PAGE:120745,MOBILE_LIVE_STREAMING_PAGE:26109,MOBILE_LIVE_THUMBNAIL_PAGE:26110,MOBILE_SCREENCAST_THUMBNAIL_PAGE:66881,MOBILE_THUMBNAIL_EDITOR_PAGE:28236,MODAL_ACCOUNT_SWITCHER_PAGE:14586,MULTI_REEL_DISMISSAL_PAGE:57929,MUSIC_ADD_TO_PLAYLIST_POPUP:74723,MUSIC_ALBUM_PAGE:44098,MUSIC_ARTIST_PAGE:44099,MUSIC_AUDIO_CAST_UPSELL_PROMO:23528,MUSIC_AUDIO_PREVIEW_PAGE:61699,MUSIC_AUDIOBOOK_ARTIST_PAGE:134104,MUSIC_AUDIOBOOK_PAGE:134103,MUSIC_DEEP_LINK_PAGE:59149,MUSIC_IOSSDKSCREEN:101951,
MUSIC_LIBRARY_ARTIST_PAGE:97346,MUSIC_LISTENING_REVIEW_PAGE:118051,MUSIC_LYRICS_PAGE:95102,MUSIC_NAVIGATION_ERROR_PAGE:64882,MUSIC_ONBOARDING_PAGE:119505,MUSIC_PERSISTED_WATCH_PAGE:63595,MUSIC_PLAYLIST_PAGE:63349,MUSIC_RELATED_PAGE:95101,MUSIC_REMOVE_DOWNLOADS_AFTER_REMOVING_FROM_LIBRARY_DIALOG_PAGE:75240,MUSIC_RESUME_PLAYBACK_MINIPLAYER_PAGE:27039,MUSIC_SHORTCUTS_SYSTEM_DIALOG_PAGE:68823,MUSIC_SIGN_IN_PAGE:21537,MUSIC_SIRI_MEDIA_INTENT_PAGE:83464,MUSIC_SONG_DETAIL_PAGE:75707,MUSIC_USER_CHANNEL_PAGE:83113,
MUSIC_WATCH_APP_SCREEN:101952,MUSIC_WATCH_APP_UPGRADE_SCREEN:101953,MUSIC_WIDGET_WATCH_PAGE:79610,NEW_STORE_VISITS_AD_ENGAGEMENT_PANEL_SCREEN:125755,NEW_VERSION_AVAILABLE_FORCE_PAGE:24402,NEW_VERSION_AVAILABLE_NAG_PAGE:24400,NEW_VERSION_AVAILABLE_TIMER_PAGE:32925,NOTIFICATION_SETTINGS_PAGE:57173,OFFLINE_DOWNLOADS_SEARCH_RESULTS_PAGE:122502,OFFLINE_MUSIC_ALBUM_PAGE:64423,OFFLINE_MUSIC_PLAYLIST_PAGE:64424,OFFLINE_PROMO_RENDERER_PAGE:33986,OFFLINE_SEARCH_PAGE:100828,OFFLINE_SETTINGS_PAGE:129089,OFFLINE_VIDEO_PAGE:21409,
PARENT_TOOLS_ALL_SET_PAGE:135155,PARENT_TOOLS_APP_CHOICE_PAGE:135156,PARENT_TOOLS_APP_UNAVAILABLE_PAGE:135157,PARENT_TOOLS_CONTENT_SETTINGS_PAGE:135158,PARENT_TOOLS_DASHBOARD_PAGE:135159,PARENT_TOOLS_EDIT_PROFILE_PAGE:135160,PARENT_TOOLS_ONBOARDED_TO_OTHER_APP_PAGE:135161,PARENT_TOOLS_PARENT_FEATURE_TOUR_PAGE:135162,PARENT_TOOLS_PARENT_SETTINGS_PAGE:135163,PARENT_TOOLS_SEARCH_ON_OFF_PAGE:135164,PARENT_TOOLS_SETTINGS_PAGE:135165,PARENT_TOOLS_WELCOME_PAGE:135166,PARENTAL_CONTROL_PAGE:11070,PARENTAL_CONTROL_TIMER_EXPIRED_PAGE:11074,
PARENTAL_CONTROL_TIMER_PAGE:17880,PAUSE_AND_BUFFER_NOTIFICATIONS_PAGE:14001,PHONE_VERIFICATION_CODE_ENTRY_PAGE:30709,PHONE_VERIFICATION_INTRO_PAGE:30707,PHONE_VERIFICATION_RESULT_ERROR_PAGE:30711,PHONE_VERIFICATION_RESULT_SUCCESS_PAGE:30710,PHONE_VERIFICATION_TELEPHONE_NUMBER_ENTRY_PAGE:30708,PHONEBOOK_PAGE:26984,PIN_CONFIGURATION_SCREEN:63648,PIN_LOCK_SCREEN:63649,PLAYER_ERROR_PAGE:51879,PLAYLIST_ENGAGEMENT_PANEL_SCREEN:111059,PLAYLIST_PAGE:5754,PLAYLIST_SETTINGS_EDITOR_PAGE:20445,POST_COMMENT_REPLIES_ENGAGEMENT_PANEL_SCREEN:130975,
POST_COMMENTS_ENGAGEMENT_PANEL_SCREEN:130976,PREMIUM_YPC_OFFERS_BROWSE_PAGE:110386,PRODUCT_PANEL_SCREEN:113746,PROFILE_CARD_PAGE:66557,PUSH_NOTIFICATION_DIALOG:17310,PUSH_NOTIFICATION_PAGE:28631,QUICK_ACTION_PAGE:21589,REDEEM_PAGE:68012,REELS_CREATION_ONBOARDING_PAGE:60480,REELS_PERMISSION_REQUEST_PAGE:31571,REQUIRED_SIGN_IN_PAGE:76980,RESTORE_VIDEO_AFTER_CRASH_PAGE:41577,RETROACTIVE_SIGN_IN_PROMO_PAGE:45469,SCAN_CODE_PAGE:38669,SCREENCAST_CONTROLLER_PAGE:13768,SCREENCAST_LAUNCH_PAGE:13777,SEARCH_INPUT_PAGE:62985,
SEARCH_PAGE:4724,SEARCH_SUGGESTION_PAGE:59369,SEND_SMS_PERMISSION_PRE_PROMPT_PAGE:43927,SEND_SMS_PERMISSION_SYSTEM_DIALOG_PAGE:43928,SETTINGS_OVERVIEW_PAGE:12924,SFV_AUDIO_PICKER_SEARCH_PAGE:100355,SHARE_CONVERSATION_INBOX_PAGE:56219,SHARE_CONVERSATION_PAGE:27669,SHARE_MENU:10337,SHARED_TAB_NEW_GROUP_PAGE:47896,SHOPPING_CART_SCREEN:122629,SHORTS_CREATION_ADD_CLIP_PAGE:121258,SHORTS_CREATION_AUDIO_SCRUBBER_BOTTOM_SHEET_PAGE:107598,SHORTS_CREATION_AUDIO_SCRUBBER_OVERLAY_PAGE:127991,SHORTS_CREATION_CAMERA_PAGE:96639,
SHORTS_CREATION_CAMERA_PERMISSIONS_PAGE:107536,SHORTS_CREATION_CLIP_EDIT_PAGE:130169,SHORTS_CREATION_CREATION_PAGE:96661,SHORTS_CREATION_EDITOR_PAGE:96658,SHORTS_CREATION_EDITOR_TIMELINE_EDITOR_PAGE:116646,SHORTS_CREATION_EFFECTS_TRAY_PAGE:121122,SHORTS_CREATION_GALLERY_PAGE:96660,SHORTS_CREATION_GREEN_SCREEN_MEDIA_PICKER_GALLERY_PAGE:127738,SHORTS_CREATION_GREEN_SCREEN_MEDIA_PICKER_PAGE:127083,SHORTS_CREATION_TIMER_BOTTOM_SHEET_PAGE:104443,SHORTS_CREATION_TRIM_PAGE:96659,SHORTS_CREATION_VOLUME_BALANCER_PAGE:106442,
SHORTS_WATCH_PAGE:134840,SIDELOADED_MUSIC_ALBUM_PAGE:63667,SIDELOADED_MUSIC_ARTIST_PAGE:63668,SIDELOADED_MUSIC_PLAYLIST_PAGE:63669,SIDELOADED_SEARCH_RESULTS_PAGE:130686,SPONSORSHIPS_COMMENTS_ENGAGEMENT_PANEL_SCREEN:78314,STORE_VISITS_AD_ENGAGEMENT_PANEL_SCREEN:55761,STORIES_CREATION_GALLERY_PAGE:127098,STORIES_WATCH_PAGE:134841,SUBSCRIPTIONS_PAGE:96368,SUGGESTED_PLAYLIST_VIDEOS_PAGE:67374,SUPER_CHAT_CONTRACT_PAGE:48992,THUMBNAIL_EDITOR_PAGE:49956,TODAY_WIDGET_PAGE:31961,TOMBSTONED_PAGE_VISUAL_ELEMENT:26388,
TOPIC_EXPLORER_PAGE:23811,TOPIC_PICKER_PAGE:5E4,TRANSCRIPT_ENGAGEMENT_PANEL_SCREEN:126250,TRENDING_PAGE:96370,TUNEDER_FORM_PAGE:47355,TUNEDER_SWIPE_PAGE:47356,TV_SPLASH_PAGE:37935,UDC_LOCATION_REPORTING_CONSENT_FLOW_PAGE:45521,UNIFIED_SHARE_PANEL_PAGE:21760,UNKNOWN_PAGE:83769,UNLIMITED_FAMILY_MESSAGE_INTERSTITIAL_PAGE:49977,UNLIMITED_FAMILY_PROFILE_INTERSTITIAL_PAGE:49974,UNLIMITED_MANAGE_SUBSCRIPTION_PAGE:93497,UNLIMITED_ONBOARDING_PAGE:93498,UNLIMITED_POST_PURCHASE_WELCOME_PAGE:34325,UNPLUGGED_APP_OVERLAY_PAGE:115803,
UNPLUGGED_DOWNLOADS_PAGE:123707,UNPLUGGED_INFO_DIALOG_PAGE:100081,UNPLUGGED_LOCATION_PAGE:35309,UNPLUGGED_ONBOARDING_ACCESS_PENDING_PAGE:68314,UNPLUGGED_ONBOARDING_PAGE:25602,UNPLUGGED_ONBOARDING_V2_PAGE:100339,UPLOAD_PAGE:59018,UPLOAD_VIDEO_CAMERA_EXTERNAL_PAGE:18248,UPLOAD_VIDEO_CAMERA_PAGE:50625,UPLOAD_VIDEO_EDITING_PAGE:9729,UPLOAD_VIDEO_EDITING_STICKER_CATALOG_PAGE:37168,UPLOAD_VIDEO_EDITING_TEXT_PAGE:37169,UPLOAD_VIDEO_METADATA_EDITING_PAGE:21667,UPLOAD_VIDEO_PERMISSION_PAGE:16749,UPLOAD_VIDEO_PERMISSION_REQUEST_PAGE:18635,
UPLOAD_VIDEO_SELECTION_PAGE:39305,UPLOAD_VIDEO_SPLIT_PAGE:18046,VIDEO_GAME_TOPIC_CHANNEL_PAGE:53969,VIDEO_MANAGER_PAGE:8213,VIDEO_QUALITY_PERSISTENT_SETTINGS:93926,VOICE_SEARCH_EXTERNAL_LINK_PAGE:102852,VOICE_SEARCH_MOBILE_REMOTE_PAGE:110099,VOICE_SEARCH_PAGE:22678,VOICE_SEARCH_PERMISSION_REQUEST_PAGE:69076,VOICE_SEARCH_VAA_CONSENT_PAGE:137575,VR_MOVIES_PAGE:100856,WATCH_IT_AGAIN_PAGE:17736,WATCH_PAGE:3832,WEBSITE_ACTIONS_AMP_AD_ENGAGEMENT_PANEL_SCREEN:55759,WEBSITE_ACTIONS_EXTENSIONS_AD_ENGAGEMENT_PANEL_SCREEN:64031,
WELCOME_PAGE:93044,WHOS_WATCHING_PAGE:93045,YOU_TUBE_ORIGINALS_HOME_PAGE:34388,YPC_DONATION_POST_TRANSACTION:17657,YPC_DONATION_SCREEN:17655,YPC_MEMBERSHIP_CANCEL_SUCCESS_PAGE:39579,YPC_MEMBERSHIP_POST_TRANSACTION_PAGE:39578,YPC_OFFERS_MODULE_PAGE:77448,YPC_OFFERS_PAGE:8196,YPC_POST_TIP_PAGE:11357,YPC_SPONSORSHIP_OFFER_SCREEN:69877,YPC_TIP_PAGE:8197,YT_FLOWS_PAGE:82039};var gn=function(){this.shownElements_=new Set;this.JSC$31331_hiddenElements_=new Set;this.visibleState_=new Map;this.csn_=null;this.JSC$31331_client_=vk};
gn.prototype.JSC$31333_setClient=function(a){this.JSC$31331_client_=a};
var esa=function(){var a=gn.getInstance();a.clear();a.csn_=Bm()};
gn.prototype.clear=function(){this.shownElements_.clear();this.JSC$31331_hiddenElements_.clear();this.visibleState_.clear();this.csn_=null};
var gsa=function(a,b,c){var d=hn(0,b),e=b.visualElement?b.visualElement:d,h=a.shownElements_.has(e),l=a.visibleState_.get(e);a.shownElements_.add(e);a.visibleState_.set(e,!0);b.impressionLog&&!h&&b.impressionLog();if(d||b.visualElement)if(c=fsa(a,b,c))if(e=!(!b.data||!b.data.loggingDirectives),jn(b)||e){d=b.visualElement?b.visualElement:wm(d);var m=b.interactionLoggingClientData;e||h?jn(b)&4?l||asa(a.JSC$31331_client_,c,d,m):jn(b)&1&&!h&&$ra(a.JSC$31331_client_,c,d,m):$ra(a.JSC$31331_client_,c,d,
m)}},kn=function(a,b,c){var d=hn(0,b),e=b.visualElement?b.visualElement:d,h=a.JSC$31331_hiddenElements_.has(e),l=a.visibleState_.get(e);
a.JSC$31331_hiddenElements_.add(e);a.visibleState_.set(e,!1);if(!1===l)return!0;if(!d&&!b.visualElement)return!1;c=fsa(a,b,c);if(!c||!jn(b)&&b.data&&b.data.loggingDirectives)return!1;d=b.visualElement?b.visualElement:wm(d);jn(b)&8?bsa(a.JSC$31331_client_,c,d):jn(b)&2&&!h&&(a=a.JSC$31331_client_,b={csn:c,ve:d.getAsJson(),eventType:2},h={cttAuthInfo:Cm(c),sequenceGroup:c},"UNDEFINED_CSN"==c?$m("visualElementHidden",b,h):a?Vi("visualElementHidden",b,a,h):ij("visualElementHidden",b,h));return!0},hsa=
function(a,b,c){var d=Array.from(b.children);
b.shadowRoot&&(d=d.concat(b.shadowRoot.children));if(d&&d.length){b=d.length;for(var e=0;e=e.length?(b.append(e),a-=e.length):a?(b.append(new Uint8Array(e.buffer,e.byteOffset,a)),c.append(new Uint8Array(e.buffer,e.byteOffset+a,e.length-a)),a=0):c.append(e);return{headView:b,tailView:c}};
f.extract=function(a,b){return this.split(a).tailView.split(b).headView};
f.isFocused=function(a){return a>=this.arrayPos&&ac&&(c=a.totalLength-b);a.focus(b);if(!(b-a.arrayPos+c<=a.arrays[a.arrayIdx].length)){var d=a.arrayIdx,e=a.arrayPos;a.focus(b+c-1);e=new Uint8Array(a.arrayPos+a.arrays[a.arrayIdx].length-e);for(var h=0,l=d;l<=a.arrayIdx;l++)e.set(a.arrays[l],h),h+=a.arrays[l].length;a.arrays.splice(d,a.arrayIdx-d+1,e);Ssa(a);a.focus(b)}d=a.arrays[a.arrayIdx];a=new DataView(d.buffer,d.byteOffset+b-a.arrayPos,c)}else a=new DataView(new ArrayBuffer(0));
return new Uint8Array(a.buffer,a.byteOffset,a.byteLength)};
Rn.prototype.getUint8ArrayCopy=function(a,b){a=Usa(this,void 0===a?0:a,void 0===b?-1:b);b=new Uint8Array(a.length);try{b.set(a)}catch(d){for(var c=0;cb)return b;for(var c=b&127,d=1;128<=b;)b=Sn(a.arrayView,a.JSC$31385_pos),++a.JSC$31385_pos,d*=128,c+=(b&127)*d;return c},Un=function(a,b){a.lastTagRequested=b;
var c=a.pendingTagAndType;for(a.pendingTagAndType=-1;a.JSC$31385_pos+1<=a.arrayView.totalLength;){0>c&&(c=Tn(a));var d=c>>3,e=c&7;if(d===b)return!0;if(d>b){a.pendingTagAndType=c;break}c=-1;switch(e){case 0:Tn(a);break;case 1:a.JSC$31385_pos+=8;break;case 2:d=Tn(a);a.JSC$31385_pos+=d;break;case 5:a.JSC$31385_pos+=4;}}return!1};
Vsa.prototype.readBoolean=function(a,b){b=void 0===b?!1:b;return Un(this,a)?!!Tn(this):b};
Vsa.prototype.JSC$31385_readBytes=function(a,b){b=void 0===b?null:b;if(!Un(this,a))return b;a=Tn(this);b=Usa(this.arrayView,this.JSC$31385_pos,a);this.JSC$31385_pos+=a;return b};var Wsa=function(){var a=function(d){return new Uint8Array(d)},b=function(d){for(var e=new Uint8Array(d.length),h=0;h=b)){for(var c=2*a.buf.length;cd;d++)a.view.setUint8(a.JSC$31388_pos,c&127|128),c>>=7,a.JSC$31388_pos+=1;b=Math.floor(b/268435456)}for(Xsa(a,4);127>=7,a.JSC$31388_pos+=1;a.view.setUint8(a.JSC$31388_pos,b);a.JSC$31388_pos+=1};
Vn.prototype.writeSignedVarint=function(a,b){Wn(this,a<<3|0);Wn(this,b<<1^b>>31)};
Vn.prototype.writeBoolean=function(a,b){b=b?1:0;Wn(this,a<<3|0);Wn(this,b)};
var Ysa=function(a,b,c){c=a.textEncoder?a.textEncoder.encode(c):new Uint8Array(Wsa(oc(c)).buffer);Wn(a,b<<3|2);b=c.length;Wn(a,b);Xsa(a,b);a.buf.set(c,a.JSC$31388_pos);a.JSC$31388_pos+=b};
Vn.prototype.startSubmessage=function(a){Wn(this,a<<3|2);this.submessagePosStack.push(this.JSC$31388_pos);this.JSC$31388_pos+=2};
Vn.prototype.endSubmessage=function(){var a=this.submessagePosStack.pop()||0,b=this.JSC$31388_pos-a-2;this.view.setUint8(a,b&127|128);this.view.setUint8(a+1,b>>7)};function Xn(a){a=new Vsa(new Rn([Ec(decodeURIComponent(a))]));var b=void 0===b?"":b;if(Un(a,2))if(b=Tn(a)){var c=Usa(a.arrayView,a.JSC$31385_pos,b);a.JSC$31385_pos+=b;b=v.TextDecoder?new TextDecoder().decode(c):Lca(c)}else b="";var d=void 0===d?0:d;d=Un(a,4)?Tn(a):d;a=Zsa[d];if("undefined"===typeof a)throw d=new lj("Failed to recognize field number",{name:"EntityKeyHelperError",fieldNumber:d}),xk(d),d;return{entityTypeFieldNumber:d,entityType:a,entityId:b}}
function Yn(a,b){var c=new Vn;Ysa(c,2,a);a=$sa[b];if("undefined"===typeof a)throw b=new lj("Failed to recognize entity type",{name:"EntityKeyHelperError",entityType:b}),xk(b),b;Wn(c,32);Wn(c,a);Wn(c,40);Wn(c,1);b=new Uint8Array(c.buf.buffer,0,c.JSC$31388_pos);return encodeURIComponent(Dc(b))}
for(var $sa={captionTrack:225,downloadQualityPickerEntity:202,fakeChannel:2,fakePlaylist:279,fakePlaylistEntryCollection:280,fakeVideo:182,fakeVideoDescription:278,liveChatPollStateEntity:217,logoEntity:245,offlineOrchestrationActionWrapperEntity:169,offlineVideoPolicy:130,offlineVideoStreams:198,offlineabilityEntity:246,orchestrationWebSamplingEntity:242,pinnedProductEntity:273,playbackData:119,transfer:120,ytMainChannelEntity:152,ytMainDownloadedVideoEntity:155,ytMainVideoEntity:151},Zsa={},ata=
k(Object.entries($sa)),bta=ata.next();!bta.done;bta=ata.next()){var cta=k(bta.value),dta=cta.next().value,eta=cta.next().value,fta=dta,gta=eta;gta&&(Zsa[gta]=fta)}function hta(a){a=a.key||a.id;if(!a)throw Error("Entity key is missing");return a}
;function ita(a,b){a=void 0===a?{}:a;switch(b.type){case"ENTITY_LOADED":return b.payload.reduce(function(d,e){var h,l=null===(h=e.options)||void 0===h?void 0:h.persistenceOption;if(l&&"ENTITY_PERSISTENCE_OPTION_UNKNOWN"!==l&&"ENTITY_PERSISTENCE_OPTION_INMEMORY_AND_PERSIST"!==l)return d;if(!e.entityKey)return xk(Error("Missing entity key")),d;if("ENTITY_MUTATION_TYPE_REPLACE"===e.type){if(!e.payload)return xk(new lj("REPLACE entity mutation is missing a payload",{entityKey:e.entityKey})),d;var m=x.getAnyKey(e.payload);
return Zn(d,m,e.entityKey,e.payload[m])}if("ENTITY_MUTATION_TYPE_DELETE"===e.type){e=e.entityKey;try{var n=Xn(e).entityType;m=Zn(d,n,e,void 0)}catch(q){if(q instanceof Error)xk(new lj("Failed to deserialize entity key",{entityKey:e,originalMessage:q.message})),m=d;else throw q}}else m=d;return m},a);
case"REPLACE_ENTITY":var c=b.payload;return Zn(a,c.entityType,c.key,c.entityPayload);case"REPLACE_ENTITIES":return Object.keys(b.payload).reduce(function(d,e){var h=b.payload[e];return Object.keys(h).reduce(function(l,m){return Zn(l,e,m,h[m])},d)},a);
default:return a;}}
function Zn(a,b,c,d){if(void 0===d)return c=nc(a[b]||{},["symbol"===typeof c?c:c+""]),d={},Object.assign(Object.assign({},a),(d[b]=c,d));var e={},h={};return Object.assign(Object.assign({},a),(h[b]=Object.assign(Object.assign({},a[b]),(e[c]=d,e)),h))}
;function $n(a,b,c){return a[b]?a[b][c]||null:null}
;var jta=!1,ao,bo,co,eo,fo,kta=function(a){this.counter=[0,0,0,0];this.cipherBlock=new Uint8Array(16);this.blockOffset=16;if(!jta){var b,c=new Uint8Array(256),d=new Uint8Array(256);var e=1;for(b=0;256>b;b++)c[e]=b,d[b]=e,e^=e<<1^(e>>7&&283);ao=new Uint8Array(256);bo=[];co=[];eo=[];fo=[];for(var h=0;256>h;h++){e=h?d[255^c[h]]:0;e^=e<<1^e<<2^e<<3^e<<4;e=e&255^e>>>8^99;ao[h]=e;b=e<<1^(e>>7&&283);var l=b^e;bo.push(b<<24|e<<16|e<<8|l);co.push(l<<24|bo[h]>>>8);eo.push(e<<24|co[h]>>>8);fo.push(e<<24|eo[h]>>>
8)}jta=!0}e=[];for(c=0;4>c;c++)e.push(a[4*c]<<24|a[4*c+1]<<16|a[4*c+2]<<8|a[4*c+3]);for(d=1;44>c;c++)a=e[c-1],c%4||(a=(ao[a>>16&255]^d)<<24|ao[a>>8&255]<<16|ao[a&255]<<8|ao[a>>>24],d=d<<1^(d>>7&&283)),e.push(e[c-4]^a);this.key=e};
kta.prototype.encrypt=function(a){var b=a.length;a=new Uint8Array(a.buffer.slice(a.byteOffset,a.byteOffset+b));for(var c=this.cipherBlock,d=0;dthis.blockOffset;)a[d++]^=c[this.blockOffset++];for(var e=b-(b-d)%16;dc;c++)a.counter[c]=b[4*c]<<24|b[4*c+1]<<16|b[4*c+2]<<8|b[4*c+3];a.blockOffset=16},lta=function(a){for(var b=a.key,c=a.counter[0]^b[0],d=a.counter[1]^b[1],e=a.counter[2]^b[2],h=a.counter[3]^b[3],l=3;0<=l&&!(a.counter[l]=-~a.counter[l]);l--);
for(l=4;40>l;){var m=bo[c>>>24]^co[d>>16&255]^eo[e>>8&255]^fo[h&255]^b[l++];var n=bo[d>>>24]^co[e>>16&255]^eo[h>>8&255]^fo[c&255]^b[l++];var q=bo[e>>>24]^co[h>>16&255]^eo[c>>8&255]^fo[d&255]^b[l++];h=bo[h>>>24]^co[c>>16&255]^eo[d>>8&255]^fo[e&255]^b[l++];c=m;d=n;e=q}a=a.cipherBlock;c=[c,d,e,h];for(d=0;16>d;)a[d++]=ao[c[0]>>>24]^b[l]>>>24,a[d++]=ao[c[1]>>16&255]^b[l]>>16&255,a[d++]=ao[c[2]>>8&255]^b[l]>>8&255,a[d++]=ao[c[3]&255]^b[l++]&255,c.push(c.shift())};var nta=!1;(function(){var a=function(d){return new Uint8Array(d)},b=function(d){for(var e=new Uint8Array(d.length),h=0;h=e.length)return h.return();b&&b.dispatch(Ln({type:"ENTITY_LOADED",payload:e}));return r(h,bua(e),2)}e.length=0;ja(h)})})}
function bua(a){return B(this,function c(){var d;return t(c,function(e){return 1==e.nextAddress?r(e,ro(),2):(d=e.yieldResult)?r(e,qo(d,"readwrite",function(h){for(var l=[],m=k(a),n=m.next();!n.done;n=m.next()){n=n.value;var q;if(q=n.entityKey){q=void 0;var u=null===(q=n.options)||void 0===q?void 0:q.persistenceOption;q="ENTITY_PERSISTENCE_OPTION_PERSIST"===u||"ENTITY_PERSISTENCE_OPTION_INMEMORY_AND_PERSIST"===u}q&&(q=x.getAnyKey(n.payload),"ENTITY_MUTATION_TYPE_REPLACE"===n.type&&l.push(Pta(h,n.payload[q],
q)),"ENTITY_MUTATION_TYPE_DELETE"===n.type&&l.push(Sta(h,n.entityKey)))}return xj.all(l)}),0):e.return()})})}
;function cua(a,b,c){B(this,function e(){var h,l;return t(e,function(m){if(1==m.nextAddress)return r(m,ro(),2);if(3!=m.nextAddress)return(h=m.yieldResult)?r(m,qo(h,"readonly",function(n){var q={},u=Object.keys(b).filter(function(w){return c.includes(w)}).map(function(w){var A=b[w]?[].concat(ea(b[w])):[];
return dua(n,w,A,q)});
return xj.all(u).then(function(){return q})}),3):m.return();
l=m.yieldResult;0a?"0"+a:""+a;return{thumbnailOverlayTimeStatusRenderer:{text:vo(b?b+":"+(10>c?"0"+c:""+c)+":"+a:c+":"+a),style:"DEFAULT"}}}
function lua(a){return{thumbnailOverlayDownloadingRenderer:{state:a}}}
;function mua(a){if(a.length)return{titleText:vo(mn("DOWNLOADS",void 0,"Downloads")),contents:a.map(function(b){var c=b.videoEntity;b={videoId:c.videoId,title:wo(c.title),shortBylineText:wo(b.channelEntity.title),thumbnail:c.thumbnail};c.videoId&&(b.navigationEndpoint=uo(c.videoId,"PPSV"));c.lengthSeconds&&(b.thumbnailOverlays=[kua(c.lengthSeconds)]);return{playlistPanelVideoRenderer:b}}),
totalVideos:a.length}}
;function nua(a){var b=[];b=b.concat.apply(b,ea(a.filter(function(h){return h.streamEntity}).map(function(h){var l=Object.assign({},h.streamEntity);
l.streamsProgress=l.streamsProgress||[];l.streamsProgress=l.streamsProgress.map(function(m){var n;m=Object.assign({},m);"TRANSFER_STATE_COMPLETE"===(null===(n=h.transferEntity)||void 0===n?void 0:n.transferState)&&(m.numBytesDownloaded=m.numTotalBytes);return m});
return l}).map(function(h){return h.streamsProgress})));
var c=a=0;b=k(b);for(var d=b.next();!d.done;d=b.next()){var e=d.value;d=Number(e.numBytesDownloaded);e=Number(e.numTotalBytes);c+=isNaN(d)?0:d;a+=isNaN(e)?0:e}return 0===a?0:Math.round(100*c/a)/100}
function oua(a){if(!a||!a.expirationTimestamp||!a.action)return!1;var b=Ni()/1E3;return Number(a.expirationTimestamp)>=b&&"OFFLINE_VIDEO_POLICY_ACTION_OK"===a.action}
function yo(a){return["TRANSFER_STATE_TRANSFER_IN_QUEUE","TRANSFER_STATE_PAUSED_BY_USER","TRANSFER_STATE_TRANSFERRING"].includes(a||"TRANSFER_STATE_UNKNOWN")}
function pua(a){var b=new Vn;Ysa(b,1,a);a=new Uint8Array(b.buf.buffer,0,b.JSC$31388_pos);return new TextDecoder("utf-8").decode(a)}
;var qua=["TRANSFER_STATE_COMPLETE","TRANSFER_STATE_FAILED","TRANSFER_STATE_TRANSFER_IN_QUEUE","TRANSFER_STATE_PAUSED_BY_USER","TRANSFER_STATE_TRANSFERRING"];
function rua(a,b){if(!b)return"TRANSFER_STATE_UNKNOWN";var c=$n(a,"transfer",Yn(b,"transfer"));if(c)return c.transferState||"TRANSFER_STATE_UNKNOWN";c=$n(a,"offlineOrchestrationActionWrapperEntity",Yn(b,"offlineOrchestrationActionWrapperEntity"));a=$n(a,"ytMainVideoEntity",Yn(b,"ytMainVideoEntity"));return c||a?"TRANSFER_STATE_TRANSFER_IN_QUEUE":"TRANSFER_STATE_UNKNOWN"}
function zo(a,b){var c,d,e,h;if(b){var l=$n(a,"ytMainVideoEntity",Yn(b,"ytMainVideoEntity")),m=$n(a,"ytMainChannelEntity",Yn(b,"ytMainChannelEntity")),n=null!==(c=$n(a,"playbackData",Yn(b,"playbackData")))&&void 0!==c?c:null,q=null!==(d=$n(a,"transfer",Yn(b,"transfer")))&&void 0!==d?d:null,u=null!==(e=$n(a,"offlineVideoStreams",Yn(b,"offlineVideoStreams")))&&void 0!==e?e:null;a=null!==(h=$n(a,"offlineVideoPolicy",Yn(b,"offlineVideoPolicy")))&&void 0!==h?h:null;if(l&&m)return{videoEntity:l,playbackDataEntity:n,
channelEntity:m,transferEntity:q,streamEntity:u,policyEntity:a}}}
function Ao(a){var b,c;if(!a.ytMainDownloadedVideoEntity)return[];for(var d=[],e=k(Object.keys(a.ytMainDownloadedVideoEntity)),h=e.next();!h.done;h=e.next()){var l=h.value;h=zo(a,Xn(l).entityId);l=null!==(c=Number(null===(b=$n(a,"ytMainDownloadedVideoEntity",l))||void 0===b?void 0:b.addedTimestampMillis))&&void 0!==c?c:Ni();l={videoEntity:h,addedTimestampMillis:l};void 0!==h&&d.push(l)}return d.sort(function(m,n){return m.addedTimestampMillis-n.addedTimestampMillis}).map(function(m){return m.videoEntity})}
function sua(a){var b=["TRANSFER_STATE_COMPLETE"];b=void 0===b?qua:b;return a.filter(function(c){var d,e;return b.includes(null!==(e=null===(d=c.transferEntity)||void 0===d?void 0:d.transferState)&&void 0!==e?e:"TRANSFER_STATE_UNKNOWN")})}
function tua(a,b){return"TRANSFER_STATE_COMPLETE"===rua(a,b)}
function uua(a){return Ao(a).filter(function(b){var c,d;return(null===(c=b.policyEntity)||void 0===c?0:c.action)&&"OFFLINE_VIDEO_POLICY_ACTION_OK"!==b.policyEntity.action?!1:(null===(d=b.transferEntity)||void 0===d?0:d.transferState)?yo(b.transferEntity.transferState):!0})}
;function Bo(a,b){return rua(a.entities,b)}
function vua(a){return Ao(a.entities).length}
function Gsa(a){a=Ao(a.entities);return sua(a).length}
function wua(a,b){return(a=zo(a.entities,b))?nua([a]):0}
function xua(a){return a.download.isLeaderTab}
;function yua(){var a=wa("ytDebugData.callbacks");a||(a={},va("ytDebugData.callbacks",a,void 0));return a}
;function zua(a,b){yua()[a]=b}
function Aua(){return B(this,function b(){var c,d,e,h,l,m,n,q,u,w,A,E,F,K,U,ba,sa,Ha;return t(b,function(la){switch(la.nextAddress){case 1:c={},d=yua(),e=k(Object.entries(d)),h=e.next();case 4:if(h.done){la.jumpTo(3);break}l=h.value;m=k(l);n=m.next().value;q=m.next().value;u=n;w=q;if(!w){la.jumpTo(5);break}A=c;E=u;return r(la,w(),8);case 8:A[E]=la.yieldResult;case 5:h=e.next();la.jumpTo(4);break;case 2:F=k(void 0),K=F.next();case 9:if(K.done){la.jumpTo(3);break}U=K.value;ba=d[U];if(!ba){la.jumpTo(10);
break}sa=c;Ha=U;return r(la,ba(),13);case 13:sa[Ha]=la.yieldResult;case 10:K=F.next();la.jumpTo(9);break;case 3:return la.return(c);}})})}
;var Bua=new Pg,Co=new En("WATCH_PLAYER_PROMISE_TOKEN");function Cua(){B(this,function b(){var c;return t(b,function(d){if(1==d.nextAddress)return r(d,Aua(),2);c=d.yieldResult;return r(d,navigator.clipboard.writeText(JSON.stringify(c,null,2)),0)})})}
function Dua(){return B(this,function b(){return t(b,function(c){return c.return({isLeader:xua(On.getState()),c:I("INNERTUBE_CONTEXT_CLIENT_NAME"),cver:I("INNERTUBE_CONTEXT_CLIENT_VERSION")})})})}
function Eua(){B(this,function b(){var c=this,d,e;return t(b,function(h){if(1==h.nextAddress)return d=c,zua("APP_STATE",Dua),r(h,Fn().resolve(Co),2);e=h.yieldResult;zua("PI",function(){return B(d,function m(){return t(m,function(n){return n.return(e.getVideoStats())})})});
ja(h)})})}
;function Do(){return{isShellLoad:Mh("IS_SHELL_LOAD",!1)}}
var Fua=function(a,b){var c=Nm();a||(a="unknown");b||(b="unknown");a="MAIN_APP_WEB_PAGE_TYPE_"+a.toUpperCase();a in Tia||(a="MAIN_APP_WEB_PAGE_TYPE_UNKNOWN");b="MAIN_APP_WEB_REQUEST_TYPE_"+b.toUpperCase();b in Uia||(b="MAIN_APP_WEB_REQUEST_TYPE_UNKNOWN");Km(c,{mainAppWeb:{pageType:a,requestType:b,isShellLoad:Mh("IS_SHELL_LOAD",!1)}})},Gua={start:function(){Km(Mm(),{mainAppWeb:Do()})},
success:function(){um(Mm(),"SUCCESS")},
failure:function(){um(Mm(),"FAILURE")},
cancelled:function(){um(Mm(),"CANCELLED")}};var Hua=new En("APP_STORE_TOKEN");var Iua={UNKNOWN:"unknown",BROWSE:"browse",SEARCH:"search",WATCH:"watch"};function Jua(a){var b=dc(cc(v.location.href));a=dc(cc(a));return J("kevlar_clear_non_displayable_url_params")?b==Eo(a):Eo(b)==Eo(a)}
function Eo(a){var b=a.indexOf("#");b=0>b?null:a.substr(b+1);a=a.slice(0);var c=["frags"];J("kevlar_hide_pp_url_param")&&c.push("pp");J("kevlar_hide_time_continue_url_param")&&c.push("time_continue");c=k(c);for(var d=c.next();!d.done;d=c.next())d=d.value,a=kc(dc(a),d);return dc(a)+(b?"#"+b:"")}
function Kua(a){if(!a)return a;a=a.toLowerCase();a.startsWith("web_page_type_")&&(a=a.slice(14));return a}
;var Fo={},Lua=(Fo.WEB_UNPLUGGED="^unplugged/",Fo.WEB_UNPLUGGED_ONBOARDING="^unplugged/",Fo.WEB_UNPLUGGED_OPS="^unplugged/",Fo.WEB_UNPLUGGED_PUBLIC="^unplugged/",Fo.WEB_CREATOR="^creator/",Fo.WEB_KIDS="^kids/",Fo.WEB_EXPERIMENTS="^experiments/",Fo.WEB_MUSIC="^music/",Fo.WEB_REMIX="^music/",Fo.WEB_MUSIC_EMBEDDED_PLAYER="^music/",Fo.WEB_MUSIC_EMBEDDED_PLAYER="^main_app/|^sfv/",Fo);
function Mua(a){var b=void 0===b?"UNKNOWN_INTERFACE":b;if(1===a.length)return a[0];var c=Lua[b];if(c){var d=new RegExp(c),e=k(a);for(c=e.next();!c.done;c=e.next())if(c=c.value,d.exec(c))return c}var h=[];Object.entries(Lua).forEach(function(l){var m=k(l);l=m.next().value;m=m.next().value;b!==l&&h.push(m)});
d=new RegExp(h.join("|"));a.sort(function(l,m){return l.length-m.length});
e=k(a);for(c=e.next();!c.done;c=e.next())if(c=c.value,!d.exec(c))return c;return a[0]}
function Go(a){return"/youtubei/v1/"+Mua(a)}
;var Nua=function(){this.JSC$31509_innertubeTransportService=Ho()},Pua=function(a){var b=Nua.instance;
return a.runAttestationCommand?Zg(Io(b.JSC$31509_innertubeTransportService,a).then(function(c){if(!c)throw new lj("Fetching RunAttestationCommand returned falsy",a);Oua(b,c)}),function(c){xk(c)}):Vg(Error("Bad Command: no runAttestationCommand"))},Oua=function(a,b){if(!b.challenge)throw Error("Bad AttestationChallengeResponse: no attestation challenge string");
if(b.botguardData&&b.botguardData.program){var c=new Sm;c.initialize(b.botguardData,function(){Ypa(c,{atr_challenge:b.challenge}).then(function(d){if(!d)throw Error("BG invocation returned null");return Qua(a,b.challenge,d)}).catch(function(d){yk(d);
return Qua(a,b.challenge,void 0)})},void 0,!0)}else Qua(a,b.challenge,void 0)},Qua=function(a,b,c){b={challenge:b};
c&&(b.webResponse=c);return Jo(a.JSC$31509_innertubeTransportService,b,Go(Yqa))};var Rua=function(){this.syncHeaders=!0},Sua=function(a){var b={},c=Xf([]);
c&&(b.Authorization=c,c=a=null===a||void 0===a?void 0:a.sessionIndex,void 0===c&&(c=Number(I("SESSION_INDEX",0)),c=isNaN(c)?0:c),b["X-Goog-AuthUser"]=c,"INNERTUBE_HOST_OVERRIDE"in Kh||(b["X-Origin"]=window.location.origin),void 0===a&&"DELEGATED_SESSION_ID"in Kh&&(b["X-Goog-PageId"]=I("DELEGATED_SESSION_ID")));return b};var Tua={identityType:"UNAUTHENTICATED_IDENTITY_TYPE_UNKNOWN"};var Uua=new En("AUTH_SERVICE_TOKEN");var Ko=function(a,b,c,d,e,h,l){this.buildCommandPayload=a;this.navigate=b;this.handleServiceRequest=c;this.sendAction=d;this.JSC$31520_screenManager=e;this.disableScreenCreation=void 0===h?!1:h;this.disableNetworkClicks=void 0===l?!1:l;this.pendingCommands=new Set},Vua=function(a,b,c,d,e,h,l){Ko.instance=new Ko(a,b,c,d,e,void 0===h?!1:h,void 0===l?!1:l)};
Ko.prototype.resolveCommand=function(a,b){var c=this;if(Wua(a))return Xua(this,a,b);var d=this.buildCommandPayload(a,b);if(0===d.type){if(!this.navigate)return xk(Error("Error: Command handler navigate function was called but not set.")),!1;if(!Yua(d.command))return xk(Error("Error: Command handler page requests need to specify a url.")),!1;if(Zua(this,d.command))return!1;a=this.navigate(d)||[];sha(a).then(function(){c.pendingCommands.delete(d.command)});
this.JSC$31520_screenManager&&!this.disableScreenCreation&&$ua(this.JSC$31520_screenManager,d.command,{dataPromises:a,layer:d.layer});return!0}if(1===d.type){if(!this.handleServiceRequest)return xk(Error("Error: Command handler handle service request function was called but not set.")),!1;if(Zua(this,d.command))return!1;this.disableNetworkClicks||ava(this,d.command,b);a=this.handleServiceRequest(d);sha(a).then(function(){c.pendingCommands.delete(d.command)});
return!0}if(2===d.type){if(!this.sendAction)return xk(Error("Error: Command handler send action was called but not set.")),!1;ava(this,d.command,b);this.sendAction(d);return!0}return!1};
var Zua=function(a,b){if(a.pendingCommands.has(b))return!0;a.pendingCommands.add(b);return!1},ava=function(a,b,c){(null===c||void 0===c?0:c.disableClickTracking)||a.JSC$31520_screenManager&&b.clickTrackingParams&&a.JSC$31520_screenManager.clickCommand(b)},Wua=function(a){var b,c=!!a.commandExecutorCommand;
a="CLIENT_SIGNAL"===(null===(b=a.signalServiceEndpoint)||void 0===b?void 0:b.signal);return c||a},Xua=function(a,b,c){var d,e,h;
if(b.commandExecutorCommand)var l=(null===(d=b.commandExecutorCommand)||void 0===d?void 0:d.commands)||[];else"CLIENT_SIGNAL"===(null===(e=b.signalServiceEndpoint)||void 0===e?void 0:e.signal)&&(l=(null===(h=b.signalServiceEndpoint)||void 0===h?void 0:h.actions)||[]);if(l){b=k(l);for(l=b.next();!l.done;l=b.next()){l=l.value;try{a.resolveCommand(l,c)}catch(m){m instanceof Error&&xk(m)}}return!0}xk(Error("Could not handle the meta command."));return!1},Yua=function(a){var b,c;
return!(null===(c=null===(b=null===a||void 0===a?void 0:a.commandMetadata)||void 0===b?void 0:b.webCommandMetadata)||void 0===c||!c.url)};var Lo=new En("COMMAND_HANDLER_TOKEN");var Mo=new En("STATE_STORE_TOKEN");var bva=function(a){this.store=a};
bva.prototype.handleResponse=function(a){var b;(a=null===(b=a.frameworkUpdates)||void 0===b?void 0:b.entityBatchUpdate)&&so(a,this.store)};
bva[Dn]=[Mo];var cva=new En("ENTITIES_RESPONSE_PROCESSOR_TOKEN");var No=new En("ENTITY_STATE_TOKEN"),dva=new En("PERSISTENT_ENTITY_STORE_PROMISE_TOKEN");var Oo=function(){this.tokenJars={};if(this.cookiesEnabled=oka()){var a=Yi("CONSISTENCY");a&&eva(this,{encryptedTokenJarContents:a})}},fva=function(){Oo.instance||(Oo.instance=new Oo);
return Oo.instance};
Oo.prototype.handleResponse=function(a,b){var c,d,e;b=(null===(d=null===(c=b.innerTubeRequest.context)||void 0===c?void 0:c.request)||void 0===d?void 0:d.consistencyTokenJars)||[];(a=null===(e=a.responseContext)||void 0===e?void 0:e.consistencyTokenJar)&&this.replace(b,a)};
Oo.prototype.replace=function(a,b){a=k(a);for(var c=a.next();!c.done;c=a.next())delete this.tokenJars[c.value.encryptedTokenJarContents];eva(this,b)};
var eva=function(a,b){if(b.encryptedTokenJarContents&&(a.tokenJars[b.encryptedTokenJarContents]=b,"string"===typeof b.expirationSeconds)){var c=Number(b.expirationSeconds);setTimeout(function(){delete a.tokenJars[b.encryptedTokenJarContents]},1E3*c);
a.cookiesEnabled&&Xi("CONSISTENCY",b.encryptedTokenJarContents,c,void 0,!0)}};var Po=function(){var a=I("LOCATION_PLAYABILITY_TOKEN");"TVHTML5"===I("INNERTUBE_CLIENT_NAME")&&(this.localStorage=gva(this))&&(a=this.localStorage.get("yt-location-playability-token"));a&&(this.locationPlayabilityToken=a,this.mostRecentPosition=void 0)},Qo;
Po.getInstance=function(){Qo=wa("yt.clientLocationService.instance");Qo||(Qo=new Po,va("yt.clientLocationService.instance",Qo,void 0));return Qo};
Po.prototype.setLocationOnInnerTubeContext=function(a){a.client||(a.client={});this.mostRecentPosition?(a.client.locationInfo||(a.client.locationInfo={}),a.client.locationInfo.latitudeE7=1E7*this.mostRecentPosition.coords.latitude,a.client.locationInfo.longitudeE7=1E7*this.mostRecentPosition.coords.longitude,a.client.locationInfo.horizontalAccuracyMeters=this.mostRecentPosition.coords.accuracy,a.client.locationInfo.forceLocationPlayabilityTokenRefresh=!0):this.locationPlayabilityToken&&(a.client.locationPlayabilityToken=
this.locationPlayabilityToken)};
Po.prototype.handleResponse=function(a){var b;a=null===(b=a.responseContext)||void 0===b?void 0:b.locationPlayabilityToken;void 0!==a&&(this.locationPlayabilityToken=a,this.mostRecentPosition=void 0,"TVHTML5"===I("INNERTUBE_CLIENT_NAME")?(this.localStorage=gva(this))&&this.localStorage.set("yt-location-playability-token",a,15552E3):Xi("YT_CL",JSON.stringify({loctok:a}),15552E3,void 0,!0))};
var gva=function(a){return void 0===a.localStorage?new dj("yt-client-location"):a.localStorage};
Po.prototype.getCurrentPositionFromGeolocation=function(){var a=this;if(!(navigator&&navigator.geolocation&&navigator.geolocation.getCurrentPosition)||!J("web_enable_browser_geolocation_api")&&!J("enable_handoff_location_2fa_on_mweb"))return Promise.reject(Error("Geolocation unsupported"));var b=!1,c=1E4;J("enable_handoff_location_2fa_on_mweb")&&(b=!0,c=15E3);return new Promise(function(d,e){navigator.geolocation.getCurrentPosition(function(h){a.mostRecentPosition=h;d(h)},function(h){e(h)},{enableHighAccuracy:b,
maximumAge:0,timeout:c})})};
Po.prototype.createUnpluggedLocationInfo=function(a){var b={};a=a.coords;if(null===a||void 0===a?0:a.latitude)b.latitudeE7=Math.floor(1E7*a.latitude);if(null===a||void 0===a?0:a.longitude)b.longitudeE7=Math.floor(1E7*a.longitude);if(null===a||void 0===a?0:a.accuracy)b.locationRadiusMeters=Math.round(a.accuracy);return b};function Ro(a,b,c,d,e){b=void 0===b?!1:b;c=void 0===c?!1:c;var h=I("INNERTUBE_CONTEXT");if(!h)return xk(Error("Error: No InnerTubeContext shell provided in ytconfig.")),{};h=x.unsafeClone(h);J("web_no_tracking_params_in_shell_killswitch")||delete h.clickTracking;h.client||(h.client={});var l=h.client;"MWEB"===l.clientName&&(l.clientFormFactor=I("IS_TABLET")?"LARGE_FORM_FACTOR":"SMALL_FORM_FACTOR");l.screenWidthPoints=window.innerWidth;l.screenHeightPoints=window.innerHeight;l.screenPixelDensity=Math.round(window.devicePixelRatio||
1);l.screenDensityFloat=window.devicePixelRatio||1;l.utcOffsetMinutes=-Math.floor(new Date().getTimezoneOffset());l.userInterfaceTheme=Vm();if(!b){var m=cj();m&&(l.connectionType=m);J("web_log_effective_connection_type")&&(m=yka())&&(h.client.effectiveConnectionType=m)}b&&d&&!J("web_it_context_set_original_url_ks")&&(l.originalUrl=Woa(v.location.href,d).toString());m=xi(v.location.href);!J("web_populate_internal_geo_killswitch")&&m.internalcountrycode&&(l.internalGeo=m.internalcountrycode);!J("web_populate_client_screen_killswitch")&&
e&&(l.clientScreen=e);"MWEB"===l.clientName||"WEB"===l.clientName?(l.mainAppWebInfo={graftUrl:d||v.location.href},J("kevlar_woffle")&&Wi.instance&&(l.mainAppWebInfo.pwaInstallabilityStatus=Wi.instance.deferredInstallPrompt?"PWA_INSTALLABILITY_STATUS_CAN_BE_INSTALLED":"PWA_INSTALLABILITY_STATUS_UNKNOWN"),J("web_include_display_mode_killswitch")||(l.mainAppWebInfo.webDisplayMode=lka()),l.mainAppWebInfo.isWebNativeShareAvailable=navigator&&void 0!==navigator.share):"TVHTML5"===l.clientName&&!J("web_lr_app_quality_killswitch")&&(
d=I("LIVING_ROOM_APP_QUALITY"))&&(l.tvAppInfo=Object.assign(Object.assign({},l.tvAppInfo),{appQuality:d}));!J("web_populate_time_zone_itc_killswitch")&&(d=wka())&&(l.timeZone=d);(d=I("EXPERIMENTS_TOKEN",""))?l.experimentsToken=d:delete l.experimentsToken;d=Sia();e=x.getValues(fva().tokenJars);h.request=Object.assign(Object.assign({},h.request),{internalExperimentFlags:d,consistencyTokenJars:e});!J("web_prequest_context_killswitch")&&(d=I("INNERTUBE_CONTEXT_PREQUEST_CONTEXT"))&&(h.request.externalPrequestContext=
d);e=$i.getInstance();d=aj(0,58);e=e.get("gsml","");h.user=Object.assign({},h.user);d&&(h.user.enableSafetyMode=d);e&&(h.user.lockedSafetyMode=!0);J("warm_op_csn_cleanup")?c&&(b=Bm())&&(h.clientScreenNonce=b):!b&&(b=Bm())&&(h.clientScreenNonce=b);a&&(h.clickTracking={clickTrackingParams:a});if(a=wa("yt.mdx.remote.remoteClient_"))h.remoteClient=a;J("web_enable_client_location_service")&&Po.getInstance().setLocationOnInnerTubeContext(h);var n;try{var q=yja(void 0),u=q.bid;delete q.bid;h.adSignalsInfo=
{params:[],bid:u};for(var w=k(Object.entries(q)),A=w.next();!A.done;A=w.next()){var E=k(A.value),F=E.next().value,K=E.next().value;q=F;u=K;null===(n=h.adSignalsInfo.params)||void 0===n?void 0:n.push({key:q,value:""+u})}}catch(U){xk(U)}return h}
;function So(a,b){var c,d;if(!a)return!1;if((null===(c=a.signalServiceEndpoint)||void 0===c?0:c.signal)&&b.signalEndpointMap)return!!b.signalEndpointMap[a.signalServiceEndpoint.signal];if((null===(d=a.continuationCommand)||void 0===d?0:d.request)&&b.continuationEndpointMap)return!!b.continuationEndpointMap[a.continuationCommand.request];for(var e in a)if(b.commandEndpointMap[e])return!0;return!1}
function hva(a,b){var c,d;if((null===(c=a.signalServiceEndpoint)||void 0===c?0:c.signal)&&b.signalEndpointMap){var e=b.signalEndpointMap[a.signalServiceEndpoint.signal];if(e)return new e}if((null===(d=a.continuationCommand)||void 0===d?0:d.request)&&b.continuationEndpointMap&&(e=b.continuationEndpointMap[a.continuationCommand.request]))return new e;for(var h in a)if(b.commandEndpointMap[h]&&(a=b.commandEndpointMap[h]))return new a}
;function iva(a){var b=I("INNERTUBE_HOST_OVERRIDE");b&&(a=String(b)+String(cc(a)));return a}
function jva(a,b){I("INNERTUBE_OMIT_API_KEY_WHEN_AUTH_HEADER_IS_PRESENT")&&(null===b||void 0===b?0:b.Authorization)||(a=vja(a,{key:I("INNERTUBE_API_KEY")},!1));return a}
function To(a,b){return{method:void 0===b?"POST":b,mode:zi(a)?"same-origin":"cors",credentials:zi(a)?"same-origin":"include"}}
function Uo(a,b){b=void 0===b?{}:b;return"service:"+a+"/"+Object.keys(b).sort().map(function(c){return c+":"+b[c]}).join("/")}
function kva(a){var b,c,d,e;a=null===(e=null===(d=null===(c=null===(b=a.watchEndpoint)||void 0===b?void 0:b.watchEndpointSupportedOnesieConfig)||void 0===c?void 0:c.html5PlaybackOnesieConfig)||void 0===d?void 0:d.commonConfig)||void 0===e?void 0:e.url;if(!a)return[];a=new Dl(a);return a.JSC$31171_domain_?["https://"+a.JSC$31171_domain_+"/generate_204"]:[]}
;var Vo=function(){};
f=Vo.prototype;
f.JSC$31559_getRequest=function(a,b,c){b=void 0===b?{}:b;c=void 0===c?Tua:c;var d=b;var e,h;if(this.isNavigationCommand()){var l=null===(h=null===(e=null===a||void 0===a?void 0:a.commandMetadata)||void 0===e?void 0:e.webCommandMetadata)||void 0===h?void 0:h.url;d=Ro(a.clickTrackingParams,!0,!1,l,this.getClientScreen(d))}else d=Ro(a.clickTrackingParams,!1,this.includeCsn);d={context:d};if(e=this.getExtension(a)){this.buildRequest(d,e,b);var m,n;e=Go(this.getApiPaths(a));(h=null===(n=null===(m=a.commandMetadata)||
void 0===m?void 0:m.webCommandMetadata)||void 0===n?void 0:n.apiUrl)&&(e=h);m=jva(iva(e),void 0);a={input:m,requestShell:To(m),innerTubeRequest:d,config:Object.assign({},this.getRequestConfig(a,b))};a.config.authStrategy?a.config.authStrategy.identity=c:a.config.authStrategy={identity:c};return a}xk(new lj("Error: Failed to create Request from Command.",a))};
f.isNavigationCommand=function(){return!1};
f.getClientScreen=function(){};
f.getRetryStrategy=function(){};
f.JSC$31559_getStoreKey=function(){};
f.getRequestConfig=function(){};
g.Object.defineProperties(Vo.prototype,{includeCsn:{configurable:!0,enumerable:!0,get:function(){return!1}}});var Wo=function(){};
p(Wo,Vo);Wo.prototype.JSC$31559_getRequest=function(){return{input:"/getDatasyncIdsEndpoint",requestShell:To("/getDatasyncIdsEndpoint","GET"),innerTubeRequest:{}}};
Wo.prototype.getApiPaths=function(){return[]};
Wo.prototype.getExtension=function(){};
Wo.prototype.buildRequest=function(){};var lva={},mva=(lva.GET_DATASYNC_IDS=Wo,lva);var nva=function(a,b){Wj.call(this,1,arguments);this.JSC$31568_aft=a;this.timer=b};
p(nva,Wj);var ova=function(a,b){Wj.call(this,1,arguments);this.JSC$31570_aft=a;this.timer=b};
p(ova,Wj);var pva=new Xj("aft-recorded",nva),qva=new Xj("timing-sent",ova);var Xo=window,rva=function(){this.timing={};this.clearResourceTimings=function(){};
this.webkitClearResourceTimings=function(){};
this.mozClearResourceTimings=function(){};
this.msClearResourceTimings=function(){};
this.oClearResourceTimings=function(){}},Yo=Xo.performance||Xo.mozPerformance||Xo.msPerformance||Xo.webkitPerformance||new rva;var sva=!1,tva={"script[name=\"scheduler/scheduler\"]":"sj","script[name=\"player/base\"]":"pj","link[rel=\"stylesheet\"][name=\"www-player\"]":"pc","link[rel=\"stylesheet\"][name=\"player/www-player\"]":"pc","script[name=\"desktop_polymer/desktop_polymer\"]":"dpj","link[rel=\"import\"][name=\"desktop_polymer\"]":"dph","script[name=\"mobile-c3\"]":"mcj","link[rel=\"stylesheet\"][name=\"mobile-c3\"]":"mcc","script[name=\"player-plasma-ias-phone/base\"]":"mcppj","script[name=\"player-plasma-ias-tablet/base\"]":"mcptj","link[rel=\"stylesheet\"][name=\"mobile-polymer-player-ias\"]":"mcpc",
"link[rel=\"stylesheet\"][name=\"mobile-polymer-player-svg-ias\"]":"mcpsc","script[name=\"mobile_blazer_core_mod\"]":"mbcj","link[rel=\"stylesheet\"][name=\"mobile_blazer_css\"]":"mbc","script[name=\"mobile_blazer_logged_in_users_mod\"]":"mbliuj","script[name=\"mobile_blazer_logged_out_users_mod\"]":"mblouj","script[name=\"mobile_blazer_noncore_mod\"]":"mbnj","#player_css":"mbpc","script[name=\"mobile_blazer_desktopplayer_mod\"]":"mbpj","link[rel=\"stylesheet\"][name=\"mobile_blazer_tablet_css\"]":"mbtc","script[name=\"mobile_blazer_watch_mod\"]":"mbwj"},
uva=Ea(Yo.clearResourceTimings||Yo.webkitClearResourceTimings||Yo.mozClearResourceTimings||Yo.msClearResourceTimings||Yo.oClearResourceTimings||ya,Yo);function vva(a){var b=Zo(a);if(b.aft)return b.aft;a=I((a||"")+"TIMING_AFT_KEYS",["ol"]);for(var c=a.length,d=0;d1E5*Math.random()&&(c=new lj("CSI data exceeded logging limit with key",b.split("_")),0<=b.indexOf("plev")||yk(c)),!0):!1};var jp={},Fva=(jp.auto_search="LATENCY_ACTION_AUTO_SEARCH",jp.ad_to_ad="LATENCY_ACTION_AD_TO_AD",jp.ad_to_video="LATENCY_ACTION_AD_TO_VIDEO",jp["analytics.explore"]="LATENCY_ACTION_CREATOR_ANALYTICS_EXPLORE",jp.app_startup="LATENCY_ACTION_APP_STARTUP",jp["artist.analytics"]="LATENCY_ACTION_CREATOR_ARTIST_ANALYTICS",jp["artist.events"]="LATENCY_ACTION_CREATOR_ARTIST_CONCERTS",jp["artist.presskit"]="LATENCY_ACTION_CREATOR_ARTIST_PROFILE",jp.browse="LATENCY_ACTION_BROWSE",jp.channels="LATENCY_ACTION_CHANNELS",
jp.creator_channel_dashboard="LATENCY_ACTION_CREATOR_CHANNEL_DASHBOARD",jp["channel.analytics"]="LATENCY_ACTION_CREATOR_CHANNEL_ANALYTICS",jp["channel.comments"]="LATENCY_ACTION_CREATOR_CHANNEL_COMMENTS",jp["channel.content"]="LATENCY_ACTION_CREATOR_POST_LIST",jp["channel.copyright"]="LATENCY_ACTION_CREATOR_CHANNEL_COPYRIGHT",jp["channel.editing"]="LATENCY_ACTION_CREATOR_CHANNEL_EDITING",jp["channel.monetization"]="LATENCY_ACTION_CREATOR_CHANNEL_MONETIZATION",jp["channel.music"]="LATENCY_ACTION_CREATOR_CHANNEL_MUSIC",
jp["channel.playlists"]="LATENCY_ACTION_CREATOR_CHANNEL_PLAYLISTS",jp["channel.translations"]="LATENCY_ACTION_CREATOR_CHANNEL_TRANSLATIONS",jp["channel.videos"]="LATENCY_ACTION_CREATOR_CHANNEL_VIDEOS",jp["channel.live_streaming"]="LATENCY_ACTION_CREATOR_LIVE_STREAMING",jp.chips="LATENCY_ACTION_CHIPS",jp["dialog.copyright_strikes"]="LATENCY_ACTION_CREATOR_DIALOG_COPYRIGHT_STRIKES",jp["dialog.uploads"]="LATENCY_ACTION_CREATOR_DIALOG_UPLOADS",jp.direct_playback="LATENCY_ACTION_DIRECT_PLAYBACK",jp.embed=
"LATENCY_ACTION_EMBED",jp.entity_key_serialization_perf="LATENCY_ACTION_ENTITY_KEY_SERIALIZATION_PERF",jp.entity_key_deserialization_perf="LATENCY_ACTION_ENTITY_KEY_DESERIALIZATION_PERF",jp.explore="LATENCY_ACTION_EXPLORE",jp.home="LATENCY_ACTION_HOME",jp.library="LATENCY_ACTION_LIBRARY",jp.live="LATENCY_ACTION_LIVE",jp.live_pagination="LATENCY_ACTION_LIVE_PAGINATION",jp.onboarding="LATENCY_ACTION_ONBOARDING",jp.parent_profile_settings="LATENCY_ACTION_KIDS_PARENT_PROFILE_SETTINGS",jp.parent_tools_collection=
"LATENCY_ACTION_PARENT_TOOLS_COLLECTION",jp.parent_tools_dashboard="LATENCY_ACTION_PARENT_TOOLS_DASHBOARD",jp.player_att="LATENCY_ACTION_PLAYER_ATTESTATION",jp["post.comments"]="LATENCY_ACTION_CREATOR_POST_COMMENTS",jp["post.edit"]="LATENCY_ACTION_CREATOR_POST_EDIT",jp.prebuffer="LATENCY_ACTION_PREBUFFER",jp.prefetch="LATENCY_ACTION_PREFETCH",jp.profile_settings="LATENCY_ACTION_KIDS_PROFILE_SETTINGS",jp.profile_switcher="LATENCY_ACTION_LOGIN",jp.reel_watch="LATENCY_ACTION_REEL_WATCH",jp.results="LATENCY_ACTION_RESULTS",
jp.search_ui="LATENCY_ACTION_SEARCH_UI",jp.search_suggest="LATENCY_ACTION_SUGGEST",jp.search_zero_state="LATENCY_ACTION_SEARCH_ZERO_STATE",jp.secret_code="LATENCY_ACTION_KIDS_SECRET_CODE",jp.seek="LATENCY_ACTION_PLAYER_SEEK",jp.settings="LATENCY_ACTION_SETTINGS",jp.tenx="LATENCY_ACTION_TENX",jp.video_to_ad="LATENCY_ACTION_VIDEO_TO_AD",jp.watch="LATENCY_ACTION_WATCH",jp.watch_it_again="LATENCY_ACTION_KIDS_WATCH_IT_AGAIN",jp["watch,watch7"]="LATENCY_ACTION_WATCH",jp["watch,watch7_html5"]="LATENCY_ACTION_WATCH",
jp["watch,watch7ad"]="LATENCY_ACTION_WATCH",jp["watch,watch7ad_html5"]="LATENCY_ACTION_WATCH",jp.wn_comments="LATENCY_ACTION_LOAD_COMMENTS",jp.ww_rqs="LATENCY_ACTION_WHO_IS_WATCHING",jp["video.analytics"]="LATENCY_ACTION_CREATOR_VIDEO_ANALYTICS",jp["video.comments"]="LATENCY_ACTION_CREATOR_VIDEO_COMMENTS",jp["video.edit"]="LATENCY_ACTION_CREATOR_VIDEO_EDIT",jp["video.editor"]="LATENCY_ACTION_CREATOR_VIDEO_VIDEO_EDITOR",jp["video.editor_async"]="LATENCY_ACTION_CREATOR_VIDEO_VIDEO_EDITOR_ASYNC",jp["video.live_settings"]=
"LATENCY_ACTION_CREATOR_VIDEO_LIVE_SETTINGS",jp["video.live_streaming"]="LATENCY_ACTION_CREATOR_VIDEO_LIVE_STREAMING",jp["video.monetization"]="LATENCY_ACTION_CREATOR_VIDEO_MONETIZATION",jp["video.translations"]="LATENCY_ACTION_CREATOR_VIDEO_TRANSLATIONS",jp.voice_assistant="LATENCY_ACTION_VOICE_ASSISTANT",jp.cast_load_by_entity_to_watch="LATENCY_ACTION_CAST_LOAD_BY_ENTITY_TO_WATCH",jp.networkless_performance="LATENCY_ACTION_NETWORKLESS_PERFORMANCE",jp),kp={},Gva=(kp.ad_allowed="adTypesAllowed",kp.yt_abt=
"adBreakType",kp.ad_cpn="adClientPlaybackNonce",kp.ad_docid="adVideoId",kp.yt_ad_an="adNetworks",kp.ad_at="adType",kp.aida="appInstallDataAgeMs",kp.browse_id="browseId",kp.p="httpProtocol",kp.t="transportProtocol",kp.cs="commandSource",kp.cpn="clientPlaybackNonce",kp.ccs="creatorInfo.creatorCanaryState",kp.ctop="creatorInfo.topEntityType",kp.csn="clientScreenNonce",kp.docid="videoId",kp.GetHome_rid="requestIds",kp.GetSearch_rid="requestIds",kp.GetPlayer_rid="requestIds",kp.GetWatchNext_rid="requestIds",
kp.GetBrowse_rid="requestIds",kp.GetLibrary_rid="requestIds",kp.is_continuation="isContinuation",kp.is_nav="isNavigation",kp.b_p="kabukiInfo.browseParams",kp.is_prefetch="kabukiInfo.isPrefetch",kp.is_secondary_nav="kabukiInfo.isSecondaryNav",kp.nav_type="kabukiInfo.navigationType",kp.prev_browse_id="kabukiInfo.prevBrowseId",kp.query_source="kabukiInfo.querySource",kp.voz_type="kabukiInfo.vozType",kp.yt_lt="loadType",kp.mver="creatorInfo.measurementVersion",kp.yt_ad="isMonetized",kp.nr="webInfo.navigationReason",
kp.nrsu="navigationRequestedSameUrl",kp.ncnp="webInfo.nonPreloadedNodeCount",kp.pnt="performanceNavigationTiming",kp.prt="playbackRequiresTap",kp.plt="playerInfo.playbackType",kp.pis="playerInfo.playerInitializedState",kp.paused="playerInfo.isPausedOnLoad",kp.yt_pt="playerType",kp.fmt="playerInfo.itag",kp.yt_pl="watchInfo.isPlaylist",kp.yt_pre="playerInfo.preloadType",kp.yt_ad_pr="prerollAllowed",kp.pa="previousAction",kp.yt_red="isRedSubscriber",kp.rce="mwebInfo.responseContentEncoding",kp.rc="resourceInfo.resourceCache",
kp.scrh="screenHeight",kp.scrw="screenWidth",kp.st="serverTimeMs",kp.ssdm="shellStartupDurationMs",kp.br_trs="tvInfo.bedrockTriggerState",kp.kebqat="kabukiInfo.earlyBrowseRequestInfo.abandonmentType",kp.kebqa="kabukiInfo.earlyBrowseRequestInfo.adopted",kp.label="tvInfo.label",kp.is_mdx="tvInfo.isMdx",kp.preloaded="tvInfo.isPreloaded",kp.aac_type="tvInfo.authAccessCredentialType",kp.upg_player_vis="playerInfo.visibilityState",kp.query="unpluggedInfo.query",kp.upg_chip_ids_string="unpluggedInfo.upgChipIdsString",
kp.yt_vst="videoStreamType",kp.vph="viewportHeight",kp.vpw="viewportWidth",kp.yt_vis="isVisible",kp.rcl="mwebInfo.responseContentLength",kp.GetSettings_rid="requestIds",kp.GetTrending_rid="requestIds",kp.GetMusicSearchSuggestions_rid="requestIds",kp.REQUEST_ID="requestIds",kp),Hva="isContinuation isNavigation kabukiInfo.earlyBrowseRequestInfo.adopted kabukiInfo.isPrefetch kabukiInfo.isSecondaryNav isMonetized navigationRequestedSameUrl performanceNavigationTiming playerInfo.isPausedOnLoad prerollAllowed isRedSubscriber tvInfo.isMdx tvInfo.isPreloaded isVisible watchInfo.isPlaylist playbackRequiresTap".split(" "),
lp={},Iva=(lp.ccs="CANARY_STATE_",lp.mver="MEASUREMENT_VERSION_",lp.pis="PLAYER_INITIALIZED_STATE_",lp.yt_pt="LATENCY_PLAYER_",lp.pa="LATENCY_ACTION_",lp.ctop="TOP_ENTITY_TYPE_",lp.yt_vst="VIDEO_STREAM_TYPE_",lp),Jva="all_vc ap aq c cbr cbrand cbrver cmodel cos cosver cplatform ctheme cver ei l_an l_mm plid srt yt_fss yt_li vpst vpni2 vpil2 icrc icrt pa GetAccountOverview_rid GetHistory_rid cmt d_vpct d_vpnfi d_vpni nsru pc pfa pfeh pftr pnc prerender psc rc start tcrt tcrc ssr vpr vps yt_abt yt_fn yt_fs yt_pft yt_pre yt_pt yt_pvis ytu_pvis yt_ref yt_sts tds".split(" ");
function mp(a){return Mh("FORCE_CSI_ON_GEL",!1)||J("csi_on_gel")||J("enable_csi_on_gel")||J("unplugged_tvhtml5_csi_on_gel")||!!bp(a).useGel}
function Kva(a,b,c){var d=np(c);d.gelTicks&&(d.gelTicks["tick_"+a]=!0);c||b||Ni();if(mp(c)){ep(c||"").tick[a]=b||Ni();d=dp(c);var e=bp(c).cttAuthInfo;"_start"===a?hp().baseline(d,b,e):hp().tick(a,d,b,e);Ava(c);return!0}return!1}
function Lva(a,b,c){c=np(c);if(c.gelInfos)c.gelInfos["info_"+a]=!0;else{var d={};c.gelInfos=(d["info_"+a]=!0,d)}if(a.match("_rid")){var e=a.split("_rid")[0];a="REQUEST_ID"}if(a in Gva){c=Gva[a];Ya(Hva,c)&&(b=!!b);a in Iva&&"string"===typeof b&&(b=Iva[a]+b.toUpperCase());a=b;b=c.split(".");for(var h=d={},l=0;l=ap()&&0c.duration?d:c},{duration:0}))&&0d?b.replace("B","\u1014\u1036\u1014\u1000\u103A"):12===d&&0===a?b.replace("B","\u1019\u103D\u1014\u103A\u1038\u1010\u100A\u1037\u103A"):16>d?b.replace("B","\u1014\u1031\u1037\u101C\u101A\u103A"):19>d?b.replace("B","\u100A\u1014\u1031"):b.replace("B","\u100A")}return b}
var wwa=new Map;function vwa(a){if(wwa.has(a))return wwa.get(a);var b=xwa(a);b=ywa(b);b=new rl(b,mwa);wwa.set(a,b);return b}
function xwa(a){return new rl(a,mwa).patternParts_.map(function(b){return 0===b.type?"'"+b.text+"'":b.text}).join("")}
function ywa(a){return"en"===Cp||"es_US"===Cp||"es-US"===Cp?a:a.replace(/(?:a\s?)?([hK]+)([:.]mm)(?:\s?a)?/g,function(b,c,d){return"H".repeat(c.length)+d})}
;function zwa(a){return{itemSectionRenderer:{contents:[{backgroundPromoRenderer:a}]}}}
;var Ep=function(){};
Ep.prototype.shouldPreferLocalResponse=function(){return!1};
Ep.prototype.localInnertubeResponse=function(){return B(this,function b(){return t(b,function(c){return c.return(Promise.reject(Error("No local Account Menu response available.")))})})};
Ep.prototype.canProvideFallbackResponse=function(){return!0};
Ep.prototype.localFallbackInnertubeResponse=function(){return B(this,function b(){var c,d,e;return t(b,function(h){c=yp("CLOSE_POPUP");d={openPopupAction:hwa()};e={actions:[c,d]};return h.return(e)})})};function Awa(a){a.responseContext||(a.responseContext={});a.responseContext.maxAgeSeconds=0;return a}
function Bwa(a){return B(this,function c(){var d;return t(c,function(e){return 1==e.nextAddress?r(e,Cwa(a,"service:topbar:fallback"),2):(d=e.yieldResult)&&wp(d)?e.return(Awa(wp(d))):e.return()})})}
function Dwa(a){return B(this,function c(){var d;return t(c,function(e){return 1==e.nextAddress?r(e,Cwa(a,"service:downloads_settings:fallback"),2):(d=e.yieldResult)&&wp(d)?e.return(d):e.return()})})}
function Cwa(a,b){return B(this,function d(){var e;return t(d,function(h){if(1==h.nextAddress)return a?r(h,a.get(b),2):h.return();e=h.yieldResult;return!e||!wp(e)||!isNaN(Number(e.data.expireTimestampMs))&&e.isExpired()?h.return():h.return(e)})})}
;function Ewa(a,b){return B(this,function d(){var e;return t(d,function(h){if(1==h.nextAddress)return ma(h,2),r(h,a,4);if(2!=h.nextAddress)return(e=0l.length||!c&&!l.length?a.signals.push(d):vxa(a,d,c,b,l)}return d},vxa=function(a,b,c,d,e){var h=e.length,l=function(){c||
0===--h?a.processSignal(b):wxa(a,b)};
e=k(e);for(var m=e.next();!m.done;m=e.next())a.addListener(m.value,l);a.compoundSignals.set(b,{signals:d,isOnAny:c,isInitialized:!1,isTimeoutConditionSatisfied:!1,timeoutConditionObservers:[]});wxa(a,b)},wxa=function(a,b){if(!bs(a,b)){var c=a.compoundSignals.get(b);
if(c&&!c.isTimeoutConditionSatisfied){for(var d=!1,e=0,h=0,l=k(c.signals),m=l.next();!m.done;m=l.next()){var n=m.value;m=!bs(a,n);uxa.has(n)?d=!0:(n=a.compoundSignals.get(n))?m&&!n.isTimeoutConditionSatisfied&&(h++,c.isInitialized||n.timeoutConditionObservers.push(function(){wxa(a,b)})):m&&e++}c.isInitialized=!0;
c.isOnAny?d&&(c.isTimeoutConditionSatisfied=!0):0===e&&0===h&&(c.isTimeoutConditionSatisfied=!0);if(c.isTimeoutConditionSatisfied)for(c=k(c.timeoutConditionObservers),d=c.next();!d.done;d=c.next())d=d.value,d()}}};
Zr.prototype.processSignal=Zr.prototype.processSignal;Zr.prototype.parkOrScheduleJob=Zr.prototype.parkOrScheduleJob;Zr.prototype.onAny=Zr.prototype.onAny;va("ytsignals.getInstance",$r,void 0);Zr.prototype.onAny=Zr.prototype.onAny;Zr.prototype.parkOrScheduleJob=Zr.prototype.parkOrScheduleJob;Zr.prototype.processSignal=Zr.prototype.processSignal;
Zr.RawSignal={END_OF_HOME_PRECONSTRUCTION_SCHEDULE:"eohps",END_OF_SEARCH_PRECONSTRUCTION_SCHEDULE:"eosps",END_OF_WATCH_PRECONSTRUCTION_SCHEDULE:"eowps",END_OF_PRECONSTRUCTION:"eop",END_OF_CRITICAL_SECTION:"eocs",END_OF_REGISTRATION:"eor",END_OF_DEFERRED_HTML_IMPORT:"eodhi",APPLICATION_ATTACHED:"aa",DOCUMENT_LOADED:"dl",PAGE_COLD_LOADED:"pcl",CLIENT_INITIALIZED:"ci",MINIPLAYER_ATTACHED:"ma"};var uxa=new Set(["eop","eocs","dl","pcl"]);var cs=function(a,b,c){Yr.call(this,void 0===c?"uninitialized":c);this.env=a;this.documentLifecycle=b;this.transitions=[{from:"uninitialized",to:"initialized",action:this.init},{from:"initialized",to:"rendered",action:this.initialRender},{from:"rendered",to:"disposed",action:this.dispose}]};
p(cs,Yr);cs.prototype.init=function(a){return B(this,function c(){var d=this,e,h,l;return t(c,function(m){if(1==m.nextAddress)return e=d,h={},d.documentLifecycle.install((h.document_disposed={callback:function(){e.transition("disposed")}},h)),a(d.env),d.jobSet?r(m,d.jobSet.completedResolver.promise,2):m.jumpTo(2);
l=$r();l.parkOrScheduleJob(function(){e.transition("rendered")},10,"ci");
ja(m)})})};
cs.prototype.initialRender=function(a){a(this.env)};
cs.prototype.dispose=function(a){a(this.env)};function xxa(a){a=[].concat(ea(a)).sort(function(c,d){return c-d});
var b=Math.floor(a.length/2);return a.length%2?a[b]:(a[b-1]+a[b])/2}
;var yxa=function(a,b){this.innertubeClientName=a;this.JSC$32227_userPrefs=b};
yxa[Dn]=[Mr,Gn];var ds=function(){yxa.apply(this,arguments);this.storagePrefix="yt-signal-be";this.cookiePrefix="lsbe";this.poolSize=5};
p(ds,yxa);function zxa(){Mla("nwl_transaction_latency_payload",function(a){J("nwl_csi_timeline_killswitch")||(Uva("networkless_performance",a.startTime,"nwl_latency_timer"),Vva({transactionType:a.transactionType},"nwl_latency_timer"),rp("tc",a.transactionCompleteTime,"nwl_latency_timer"))})}
;function Axa(a,b){a=a&&a.watchEndpointSupportedAuthorizationTokenConfig&&a.watchEndpointSupportedAuthorizationTokenConfig.videoAuthorizationToken&&a.watchEndpointSupportedAuthorizationTokenConfig.videoAuthorizationToken.credentialTransferTokens||[];for(var c=0;cm.length?void 0:400>n?1:1E3>n?2:3;void 0!==m&&(l.JSC$32227_userPrefs.set(""+l.cookiePrefix+l.innertubeClientName,m),l.JSC$32227_userPrefs.save())}}else Kn(l.storagePrefix+"-"+l.innertubeClientName),l.JSC$32227_userPrefs.remove(""+l.cookiePrefix+l.innertubeClientName),l.JSC$32227_userPrefs.save()},1,"eocs"));
J("web_debug_handler_registration_killswitch")||$r().parkOrScheduleJob(function(){zua("DOWNLOAD_PES",Kxa)},0,"eocs");
J("kevlar_prevent_polymer_dynamic_font_load")&&$r().parkOrScheduleJob(function(){var l=[Ee(lya),Ee(mya)];l=k(l);for(var m=l.next();!m.done;m=l.next()){m=m.value;var n=document.createElement("link");if(m instanceof kb||m instanceof xe)n.href=Iea(m);else{if(-1===Jea.indexOf("stylesheet"))throw Error("TrustedResourceUrl href attribute required with rel=\"stylesheet\"");n.href=Fe(m)}n.rel="stylesheet";document.head.appendChild(n)}},1,"eocs");
Nua.instance=new Nua}
;var Fya={},Gya=(Fya.initialized={priority:10,callback:Eya},Fya);function Hya(a){var b,c,d,e,h,l,m=On,n=null===(c=null===(b=a.response)||void 0===b?void 0:b.frameworkUpdates)||void 0===c?void 0:c.entityBatchUpdate,q=null===(e=null===(d=a.playerResponse)||void 0===d?void 0:d.frameworkUpdates)||void 0===e?void 0:e.entityBatchUpdate;a=null===(l=null===(h=a.reelWatchSequenceResponse)||void 0===h?void 0:h.frameworkUpdates)||void 0===l?void 0:l.entityBatchUpdate;n&&so(n,m);q&&so(q,m);a&&so(a,m)}
var Iya={},Jya=(Iya.rendered={callback:function(a){var b=window;if(b.getInitialData){var c=b.getInitialData();b.getInitialData=void 0;Hya(c);oya(a,c)}else b.loadInitialData=function(d){Hya(d);oya(a,d)}}},Iya);Lh("FILLER_DATA",{browse:{filler:!0,page:"browse"},home:{filler:!0,page:"home",endpoint:{commandMetadata:{webCommandMetadata:{url:"/",webPageType:"WEB_PAGE_TYPE_BROWSE"}},urlEndpoint:{url:"/"}},response:{contents:{twoColumnBrowseResultsRenderer:{tabs:[{tabRenderer:{selected:!0,content:{richGridRenderer:{contents:[],continuations:[{nextContinuationData:{continuation:""}}]}}}}]}}}},search:{filler:!0,page:"search",endpoint:{commandMetadata:{webCommandMetadata:{url:"/results",webPageType:"WEB_PAGE_TYPE_SEARCH"}},
urlEndpoint:{url:"/results"}},response:{contents:{twoColumnSearchResultsRenderer:{primaryContents:{sectionListRenderer:{contents:[],subMenu:{searchSubMenuRenderer:{}}}},secondaryContents:{secondarySearchContainerRenderer:{contents:[]}}}}}},watch:{filler:!0,page:"watch",endpoint:{commandMetadata:{webCommandMetadata:{url:"/watch",webPageType:"WEB_PAGE_TYPE_WATCH"}},urlEndpoint:{url:"/watch"}},playerResponse:{playabilityStatus:{status:"OK"}},response:{contents:{twoColumnWatchNextResults:{results:{results:{contents:[{videoPrimaryInfoRenderer:{},
videoSecondaryInfoRenderer:{}}]}},secondaryResults:{secondaryResults:{}}}}}}});
if(J("kevlar_enable_mss")){Pk=new fl;var Sk=!0,Rk,Tk,Bs;Sk=void 0===Sk?!1:Sk;Rk=void 0===Rk?"base-js":Rk;Tk=void 0===Tk?!1:Tk;Bs=void 0===Bs?{}:Bs;var Cna="",Dna="";window&&window._F_cssRowKey&&(Cna=window._F_cssRowKey,window._F_combinedSignature&&(Dna=window._F_combinedSignature));if(Cna&&"function"!==typeof window._F_installCss)throw Error("No installCss function found, yet concatenated CSS / JS responses are enabled! Check if the CssLoader is included in the moduleset");var Kya=new Uk;Bs.useCors&&(
Kya.useCors_=Bs.useCors);Bs.urlMaxLength&&(Kya.urlMaxLength=Bs.urlMaxLength);var Lya=Qk();Lya.JSC$31079_loader_=Kya;Lya.setBatchModeEnabled(!0)}if(J("kevlar_startup_lifecycle")){var Mya=document.querySelector("ytd-app");if(!Mya)throw Error("Could not find root selector ytd-app");var Cs=new cs({root:Mya},gya());Cs.install(uya);Cs.install(Aya);Cs.install(Gya);Mh("IS_SHELL_LOAD")?Cs.install(rya):Cs.install(Jya);Cs.transition("initialized")};var Nya=!/^\s*class\s*\{\s*\}\s*$/.test(function(){}.toString());var Ds=function(a){if(a.instance_&&a.hasOwnProperty("instance_"))return a.instance_;var b=new a;return a.instance_=b};/*
Copyright 2016 Google LLC
SPDX-License-Identifier: BSD-3-Clause
*/
(function(){if(Nya&&!HTMLElement.es5Shimmed&&void 0!==window.Reflect&&void 0!==window.customElements&&!window.customElements.polyfillWrapFlushCallback){var a=HTMLElement;window.HTMLElement=function(){return Reflect.construct(a,[],this.constructor)};
HTMLElement.prototype=a.prototype;HTMLElement.prototype.constructor=HTMLElement;HTMLElement.es5Shimmed=!0;Object.setPrototypeOf(HTMLElement,a)}})();/*
*****************************************************************************
Copyright (C) Microsoft. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
this file except in compliance with the License. You may obtain a copy of the
License at http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*****************************************************************************/
var Oya=Oya||{id:"third_party/javascript/node_modules/reflect_decorators/Reflect.closure.js"},Pya;(function(a){function b(la,za,ta){var ab=Ha.get(la);if(!ab){if(!ta)return;ab=new ba;Ha.set(la,ab)}la=ab.get(za);if(!la){if(!ta)return;la=new ba;ab.set(za,la)}return la}
function c(la,za,ta){if(d(la,za,ta))return!0;za=A(za);return null!==za?c(la,za,ta):!1}
function d(la,za,ta){za=b(za,ta,!1);return void 0===za?!1:!!za.has(la)}
function e(la,za,ta){if(d(la,za,ta))return h(la,za,ta);za=A(za);if(null!==za)return e(la,za,ta)}
function h(la,za,ta){za=b(za,ta,!1);if(void 0!==za)return za.get(la)}
function l(la,za){var ta=m(la,za);la=A(la);if(null===la)return ta;var ab=l(la,za);if(0>=ab.length)return ta;if(0>=ta.length)return ab;za=new sa;la=[];ta=k(ta);for(var Fc=ta.next();!Fc.done;Fc=ta.next())Fc=Fc.value,za.has(Fc)||(za.add(Fc),la.push(Fc));ta=k(ab);for(Fc=ta.next();!Fc.done;Fc=ta.next())ab=Fc.value,za.has(ab)||(za.add(ab),la.push(ab));return la}
function m(la,za){la=b(la,za,!1);var ta=[];la&&la.forEach(function(ab,Fc){return ta.push(Fc)});
return ta}
function n(la){return void 0===la}
function q(la){return"object"===typeof la?null!==la:"function"===typeof la}
function u(la){return"function"===typeof la}
function w(la){return"symbol"===typeof la?la:String(la)}
function A(la){var za=Object.getPrototypeOf(la);if("function"!==typeof la||la===U||za!==U)return za;var ta=Object.getPrototypeOf(la.prototype);if(null==ta||ta===Object.prototype)return za;ta=ta.constructor;return"function"!==typeof ta||ta===la?za:ta}
function E(){function la(){this._keys=[];this._values=[];this._cache=za}
var za={};la.prototype={get size(){return this._keys.length},has:function(ta){return ta===this._cache?!0:0<=this._find(ta)?(this._cache=ta,!0):!1},
get:function(ta){var ab=this._find(ta);if(0<=ab)return this._cache=ta,this._values[ab]},
set:function(ta,ab){this.delete(ta);this._keys.push(ta);this._values.push(ab);this._cache=ta;return this},
delete:function(ta){ta=this._find(ta);return 0<=ta?(this._keys.splice(ta,1),this._values.splice(ta,1),this._cache=za,!0):!1},
clear:function(){this._keys.length=0;this._values.length=0;this._cache=za},
forEach:function(ta){for(var ab=this.size,Fc=0;FcYj;++Yj){var UL=mc[Yj];if(4===Yj||6===Yj||8===Yj)Yk+="-";16>UL&&(Yk+="0");Yk+=UL.toString(16).toLowerCase()}mc="@@WeakMap@@"+Yk}while(tg.call(zf,mc));zf[mc]=!0;return mc}
function ab(mc,Yk){if(!tg.call(mc,lr)){if(!Yk)return;Object.defineProperty(mc,lr,{value:Object.create(null)})}return mc[lr]}
var Fc="undefined"!==typeof global&&"object"===typeof Oya&&"function"===typeof require&&require("crypto"),tg=Object.prototype.hasOwnProperty,zf={},lr=ta();la.prototype={has:function(mc){return(mc=ab(mc,!1))?this._key in mc:!1},
get:function(mc){if(mc=ab(mc,!1))return mc[this._key]},
set:function(mc,Yk){ab(mc,!0)[this._key]=Yk;return this},
delete:function(mc){return(mc=ab(mc,!1))&&this._key in mc?delete mc[this._key]:!1},
clear:function(){this._key=ta()}};
return la}
var U=Object.getPrototypeOf(Function),ba="function"===typeof Map?Map:E(),sa="function"===typeof Set?Set:F(),Ha=new("function"===typeof WeakMap?WeakMap:K());a.decorate=function(la,za,ta,ab){if(n(ab)){if(n(ta)){if(!Array.isArray(la))throw new TypeError;if(!u(za))throw new TypeError;for(ta=la.length-1;0<=ta;--ta)if(ab=(0,la[ta])(za),!n(ab)){if(!u(ab))throw new TypeError;za=ab}return za}if(!Array.isArray(la))throw new TypeError;if(!q(za))throw new TypeError;ta=w(ta);for(ab=la.length-1;0<=ab;--ab)(0,la[ab])(za,
ta)}else{if(Array.isArray(la)){if(q(za)){if(n(ta))throw new TypeError;if(!q(ab))throw new TypeError}else throw new TypeError;}else throw new TypeError;ta=w(ta);for(var Fc=la.length-1;0<=Fc;--Fc){var tg=(0,la[Fc])(za,ta,ab);if(!n(tg)){if(!q(tg))throw new TypeError;ab=tg}}return ab}};
a.metadata=function(la,za){return function(ta,ab){if(n(ab)){if(!u(ta))throw new TypeError;b(ta,void 0,!0).set(la,za)}else{if(!q(ta))throw new TypeError;ab=w(ab);b(ta,ab,!0).set(la,za)}}};
a.defineMetadata=function(la,za){var ta;if(q(za))n(ta)||(ta=w(ta));else throw new TypeError;b(za,ta,!0).set("parameters",la)};
a.hasMetadata=function(la,za,ta){if(q(za))n(ta)||(ta=w(ta));else throw new TypeError;return c(la,za,ta)};
a.hasOwnMetadata=function(la,za,ta){if(q(za))n(ta)||(ta=w(ta));else throw new TypeError;return d(la,za,ta)};
a.getMetadata=function(la,za,ta){if(q(za))n(ta)||(ta=w(ta));else throw new TypeError;return e(la,za,ta)};
a.getOwnMetadata=function(la,za,ta){if(q(za))n(ta)||(ta=w(ta));else throw new TypeError;return h(la,za,ta)};
a.getMetadataKeys=function(la,za){if(q(la))n(za)||(za=w(za));else throw new TypeError;return l(la,za)};
a.getOwnMetadataKeys=function(la,za){if(q(la))n(za)||(za=w(za));else throw new TypeError;return m(la,za)};
a.deleteMetadata=function(la,za,ta){if(q(za))n(ta)||(ta=w(ta));else throw new TypeError;var ab=b(za,ta,!1);if(!n(ab)){if(!ab.delete(la))return!1;if(0arguments.length?this[c]:e;this._valueToNodeAttribute(this,e,d||this.constructor.attributeNameForProperty(c));this.__serializing=!1};
b.prototype._valueToNodeAttribute=function(c,d,e){d=this._serializeValue(d);if("class"===e||"name"===e||"slot"===e)c=Ms(c);void 0===d?c.removeAttribute(e):c.setAttribute(e,d)};
b.prototype._serializeValue=function(c){switch(typeof c){case"boolean":return c?"":void 0;default:return null!=c?c.toString():void 0;}};
b.prototype._deserializeValue=function(c,d){switch(d){case Boolean:return null!==c;case Number:return Number(c);default:return c;}};
return b});var Zya=0,Ns=[];function _regLog$$module$third_party$javascript$polymer$v2$polymer$lib$utils$telemetry(a){console.log("["+a.is+"]: registered")}
function $ya(a){Ns.push(a)}
;var aza=Ls(function(a){function b(h){h=Object.getPrototypeOf(h);return h.prototype instanceof e?h:null}
function c(h){if(!h.hasOwnProperty("__ownProperties")){var l=null;if(h.hasOwnProperty("properties")){var m=h.properties;if(m){l={};for(var n in m){var q=m[n];l[n]="function"===typeof q?{type:q}:q}}}h.__ownProperties=l}return h.__ownProperties}
var d=Yya(a),e=function(){return d.apply(this,arguments)||this};
p(e,d);e.finalize=function(){if(!this.hasOwnProperty("__finalized")){var h=b(this);h&&h.finalize();this.__finalized=!0;this._finalizeClass()}};
e._finalizeClass=function(){var h=c(this);h&&this.createProperties(h)};
e.typeForProperty=function(h){return(h=this._properties[h])&&h.type};
e.prototype._initializeProperties=function(){Zya++;this.constructor.finalize();d.prototype._initializeProperties.call(this)};
e.prototype.connectedCallback=function(){d.prototype.connectedCallback&&d.prototype.connectedCallback.call(this);this._enableProperties()};
e.prototype.disconnectedCallback=function(){d.prototype.disconnectedCallback&&d.prototype.disconnectedCallback.call(this)};
g.Object.defineProperties(e,{observedAttributes:{configurable:!0,enumerable:!0,get:function(){var h=this;if(!this.hasOwnProperty("__observedAttributes")){$ya(this.prototype);var l=this._properties;this.__observedAttributes=l?Object.keys(l).map(function(m){return h.prototype._addPropertyToAttributeMap(m)}):[]}return this.__observedAttributes}},
_properties:{configurable:!0,enumerable:!0,get:function(){if(!this.hasOwnProperty("__properties")){var h=b(this);this.__properties=Object.assign({},h&&h._properties,c(this))}return this.__properties}}});
return e});var Os={},bza=/-[a-z]/g,cza=/([A-Z])/g;function Ps(a){return Os[a]||(Os[a]=0>a.indexOf("-")?a:a.replace(bza,function(b){return b[1].toUpperCase()}))}
function Qs(a){return Os[a]||(Os[a]=a.replace(cza,"-$1").toLowerCase())}
;for(var dza={},Rs=HTMLElement.prototype;Rs;){for(var eza=Object.getOwnPropertyNames(Rs),fza=0;fza>1,E=n.get(m[A].methodInfo)-n.get(l.methodInfo);if(0>E)q=A+1;else if(0w&&(w=u+1);m.splice(w,0,l)}}};
function Bza(a){var b=a.constructor.__orderedComputedDeps;if(!b){b=new Map;for(var c=a.__computeEffects,d=Cza(a),e=d.counts,h=d.ready,l=d.total;d=h.shift();)b.set(d,b.size),(d=c[d])&&d.forEach(function(m){m=m.info.methodInfo;--l;0===--e[m]&&h.push(m)});
0!==l&&console.warn("Computed graph for "+a.localName+" incomplete; circular?");a.constructor.__orderedComputedDeps=b}return b}
function Cza(a){var b=a.__computeInfo,c={};a=a.__computeEffects;var d=[],e=0,h;for(h in b){var l=b[h];e+=c[h]=l.args.filter(function(n){return!n.literal}).length+(l.dynamicFn?1:0)}for(var m in a)b[m]||d.push(m);
return{counts:c,ready:d,total:e}}
function Dza(a,b,c,d,e){b=Eza(a,b,c,d,e);if(b===Zs)return!1;e=e.methodInfo;if(a.__dataHasAccessor&&a.__dataHasAccessor[e])return a._setPendingProperty(e,b,!0);a[e]=b;return!1}
function Fza(a,b,c,d,e,h,l){c.bindings=c.bindings||[];d={kind:d,target:e,parts:h,literal:l,isCompound:1!==h.length};c.bindings.push(d);d.target&&"attribute"!=d.kind&&"text"!=d.kind&&!d.isCompound&&"{"===d.parts[0].mode&&(c=d.parts[0],h=c.negate,d.listenerEvent=c.event||Qs(e)+"-changed",d.listenerNegate=h);e=b.nodeInfoList.length;for(c=0;cn.source.length&&"property"==m.kind&&!m.isCompound&&l.__isPropertyEffectsClient&&l.__dataHasAccessor&&l.__dataHasAccessor[m.target]?(c=c[b],b=Vs(n.source,m.target,b),l._setPendingPropertyOrPath(b,c,!1,!0)&&a._enqueueClient(l)):(b=e.evaluator._evaluateBinding(a,n,b,c,d,h),b!==Zs&&(m.isCompound&&(c=l.__dataCompoundStorage[m.target],c[n.compoundIndex]=b,b=c.join("")),"attribute"===m.kind||"textContent"!==m.target&&(
"value"!==m.target||"input"!==l.localName&&"textarea"!==l.localName)||(b=void 0==b?"":b),n=b,rh&&(n=rh(n,m.target,m.kind,l)),"attribute"==m.kind?a._valueToNodeAttribute(l,n,m.target):(m=m.target,l.__isPropertyEffectsClient&&l.__dataHasAccessor&&l.__dataHasAccessor[m]?l.__readOnly&&l.__readOnly[m]||l._setPendingProperty(m,n)&&a._enqueueClient(l):a._setUnmanagedPropertyToNode(l,m,n))))}
function Iza(a,b,c){if(c.listenerEvent){var d=c.parts[0];a.addEventListener(c.listenerEvent,function(e){var h=c.target,l=d.source,m=e.detail,n=m&&m.path;n?(l=Vs(h,l,n),e=m&&m.value):e=e.currentTarget[h];b.__readOnly&&b.__readOnly[l]||!b._setPendingPropertyOrPath(l,d.negate?!e:e,!0,!!n)||m&&m.queueProperty||b._invalidateProperties()})}}
function Jza(a,b,c,d,e,h){h=b.static||h&&("object"!==typeof h||h[b.methodName]);e={methodName:b.methodName,args:b.args,methodInfo:e,dynamicFn:h};for(var l=0,m=void 0;l=c&&(c="#");switch(c){case"'":case"\"":b.value=a.slice(1,-1);b.literal=!0;break;case"#":b.value=Number(a),b.literal=!0;}b.literal||(b.rootProperty=Ts(a),b.structured=Ss(a),b.structured&&(b.wildcard=".*"==a.slice(-2),b.wildcard&&(b.name=a.slice(0,-2))));return b}
function Pza(a,b,c){a=Xs(a,c);void 0===a&&(a=b[c]);return a}
function Qza(a,b,c,d){d={indexSplices:d};yh&&!a._overrideLegacyUndefined&&(b.splices=d);a.notifyPath(c+".splices",d);a.notifyPath(c+".length",b.length);yh&&!a._overrideLegacyUndefined&&(d.indexSplices=[])}
function at(a,b,c,d,e,h){Qza(a,b,c,[{index:d,addedCount:e,removed:h,object:b,type:"splice"}])}
var ct=Ls(function(a){var b=nza(hza(a));a=function(){var c=b.call(this)||this;c.__isPropertyEffectsClient=!0;return c};
p(a,b);a.prototype._initializeProperties=function(){b.prototype._initializeProperties.call(this);this._registerHost();this.__dataClientsReady=!1;this.__dataLinkedPaths=this.__dataToNotify=this.__dataPendingClients=null;this.__dataHasPaths=!1;this.__dataCompoundStorage=this.__dataCompoundStorage||null;this.__dataHost=this.__dataHost||null;this.__dataTemp={};this.__dataClientsInitialized=!1};
a.prototype._registerHost=function(){if(bt.length){var c=bt[bt.length-1];c._enqueueClient(this);this.__dataHost=c}};
a.prototype._initializeProtoProperties=function(c){this.__data=Object.create(c);this.__dataPending=Object.create(c);this.__dataOld={}};
a.prototype._initializeInstanceProperties=function(c){var d=this.__readOnly,e;for(e in c)d&&d[e]||(this.__dataPending=this.__dataPending||{},this.__dataOld=this.__dataOld||{},this.__data[e]=this.__dataPending[e]=c[e])};
a.prototype._addPropertyEffect=function(c,d,e){this._createPropertyAccessor(c,"__readOnly"==d);var h=uza(this,d,!0)[c];h||(h=this[d][c]=[]);h.push(e)};
a.prototype._removePropertyEffect=function(c,d,e){c=uza(this,d,!0)[c];e=c.indexOf(e);0<=e&&c.splice(e,1)};
a.prototype._hasPropertyEffect=function(c,d){d=this[d];return!(!d||!d[c])};
a.prototype._hasReadOnlyEffect=function(c){return this._hasPropertyEffect(c,"__readOnly")};
a.prototype._hasNotifyEffect=function(c){return this._hasPropertyEffect(c,"__notifyEffects")};
a.prototype._hasReflectEffect=function(c){return this._hasPropertyEffect(c,"__reflectEffects")};
a.prototype._hasComputedEffect=function(c){return this._hasPropertyEffect(c,"__computeEffects")};
a.prototype._setPendingPropertyOrPath=function(c,d,e,h){if(h||Ts(Array.isArray(c)?c[0]:c)!==c){if(!h&&(h=Xs(this,c),c=rza(this,c,d),!c||!b.prototype._shouldPropertyChange.call(this,c,d,h)))return!1;this.__dataHasPaths=!0;if(this._setPendingProperty(c,d,e)){if(e=this.__dataLinkedPaths)for(var l in e)h=e[l],Us(l,c)?(h=Vs(l,h,c),this._setPendingPropertyOrPath(h,d,!0,!0)):Us(h,c)&&(h=Vs(h,l,c),this._setPendingPropertyOrPath(h,d,!0,!0));return!0}}else{if(this.__dataHasAccessor&&this.__dataHasAccessor[c])return this._setPendingProperty(c,
d,e);this[c]=d}return!1};
a.prototype._setUnmanagedPropertyToNode=function(c,d,e){if(e!==c[d]||"object"==typeof e)"className"===d&&(c=Ms(c)),c[d]=e};
a.prototype._setPendingProperty=function(c,d,e){var h=this.__dataHasPaths&&Ss(c);if(this._shouldPropertyChange(c,d,(h?this.__dataTemp:this.__data)[c])){this.__dataPending||(this.__dataPending={},this.__dataOld={});c in this.__dataOld||(this.__dataOld[c]=this.__data[c]);h?this.__dataTemp[c]=d:this.__data[c]=d;this.__dataPending[c]=d;if(h||this.__notifyEffects&&this.__notifyEffects[c])this.__dataToNotify=this.__dataToNotify||{},this.__dataToNotify[c]=e;return!0}return!1};
a.prototype._setProperty=function(c,d){this._setPendingProperty(c,d,!0)&&this._invalidateProperties()};
a.prototype._invalidateProperties=function(){this.__dataReady&&this._flushProperties()};
a.prototype._enqueueClient=function(c){this.__dataPendingClients=this.__dataPendingClients||[];c!==this&&this.__dataPendingClients.push(c)};
a.prototype._flushClients=function(){this.__dataClientsReady?this.__enableOrFlushClients():(this.__dataClientsReady=!0,this._readyClients(),this.__dataReady=!0)};
a.prototype.__enableOrFlushClients=function(){var c=this.__dataPendingClients;if(c){this.__dataPendingClients=null;for(var d=0;dd?d=n.length-Math.floor(-d):d&&(d=Math.floor(d));var q=2===arguments.length?n.splice(d):n.splice.apply(n,[d,e].concat(ea(l)));(l.length||q.length)&&at(this,n,m.path,d,l.length,q);return q};
a.prototype.shift=function(c){var d={path:""};c=Xs(this,c,d);var e=!!c.length,h=c.shift();e&&at(this,c,d.path,0,0,[h]);return h};
a.prototype.unshift=function(c,d){for(var e=[],h=1;hh&&e.push({literal:c.slice(h,l.index)});h=l[1][0];var m=!!l[2];l=l[3].trim();var n=!1,q="",u=-1;"{"==h&&0<(u=l.indexOf("::"))&&(q=l.substring(u+2),l=l.substring(0,u),n=!0);u=Nza(l);var w=[];if(u){var A=u,E=A.args;A=A.methodName;for(var F=0;Fc.indexOf(".")&&c==d&&this.__deselectChangedIdx(d))};
a.prototype.__applySplices=function(c){for(var d=this,e=this.__selectedMap,h={},l=0;l=u.$jscomp$loop$prop$s$2798.index+u.$jscomp$loop$prop$s$2798.removed.length?e.set(A,w+u.$jscomp$loop$prop$s$2798.addedCount-u.$jscomp$loop$prop$s$2798.removed.length):e.set(A,-1))}}(h));
for(var m=0;mu?(d.multi?d.splice("selected",q,1):d.selected=d.selectedItem=null,e.delete(w)):q++})};
a.prototype.__updateLinks=function(){var c=this;this.__dataLinkedPaths={};if(this.multi){var d=0;this.__selectedMap.forEach(function(e){0<=e&&c.linkPaths("items."+e,"selected."+d++)})}else this.__selectedMap.forEach(function(e){c.linkPaths("selected","items."+e);
c.linkPaths("selectedItem","items."+e)})};
a.prototype.clearSelection=function(){this.__dataLinkedPaths={};this.__selectedMap=new Map;this.selected=this.multi?[]:null;this.selectedItem=null};
a.prototype.isSelected=function(c){return this.__selectedMap.has(c)};
a.prototype.isIndexSelected=function(c){return this.isSelected(this.items[c])};
a.prototype.__deselectChangedIdx=function(c){var d=this,e=this.__selectedIndexForItemIndex(c);if(0<=e){var h=0;this.__selectedMap.forEach(function(l,m){e==h++&&d.deselect(m)})}};
a.prototype.__selectedIndexForItemIndex=function(c){if(c=this.__dataLinkedPaths["items."+c])return parseInt(c.slice(9),10)};
a.prototype.deselect=function(c){var d=this.__selectedMap.get(c);if(0<=d){this.__selectedMap.delete(c);var e;this.multi&&(e=this.__selectedIndexForItemIndex(d));this.__updateLinks();this.multi?this.splice("selected",e,1):this.selected=this.selectedItem=null}};
a.prototype.deselectIndex=function(c){this.deselect(this.items[c])};
a.prototype.select=function(c){this.selectIndex(this.items.indexOf(c))};
a.prototype.selectIndex=function(c){var d=this.items[c];this.isSelected(d)?this.toggle&&this.deselectIndex(c):(this.multi||this.__selectedMap.clear(),this.__selectedMap.set(d,c),this.__updateLinks(),this.multi?this.push("selected",d):this.selected=this.selectedItem=d)};
g.Object.defineProperties(a,{properties:{configurable:!0,enumerable:!0,get:function(){return{items:{type:Array},multi:{type:Boolean,value:!1},selected:{type:Object,notify:!0},selectedItem:{type:Object,notify:!0},toggle:{type:Boolean,value:!1}}}},
observers:{configurable:!0,enumerable:!0,get:function(){return["__updateSelection(multi, items.*)"]}}});
return a}),gAa=fAa(jt),kt=function(){return gAa.apply(this,arguments)||this};
p(kt,gAa);g.Object.defineProperties(kt,{is:{configurable:!0,enumerable:!0,get:function(){return"array-selector"}},
template:{configurable:!0,enumerable:!0,get:function(){return null}}});
customElements.define(kt.is,kt);var hAa=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+)|\{([^}]*)\}(?:(?=[;\s}])|$))/gi,lt=/(?:^|\W+)@apply\s*\(?([^);\n]*)\)?/gi,iAa=/@media\s(.*)/;function jAa(a,b){for(var c in b)null===c?a.style.removeProperty(c):a.style.setProperty(c,b[c])}
function kAa(a,b){return(a=window.getComputedStyle(a).getPropertyValue(b))?a.trim():""}
;var lAa=null,mAa=window.HTMLImports&&window.HTMLImports.whenReady||null,nAa;function oAa(a){requestAnimationFrame(function(){mAa?mAa(a):(lAa||(lAa=new Promise(function(b){nAa=b}),"complete"===document.readyState?nAa():document.addEventListener("readystatechange",function(){"complete"===document.readyState&&nAa()})),lAa.then(function(){a&&a()}))})}
;var mt=null,nt=null,ot=function(){this.customStyles=[];this.enqueued=!1;oAa(function(){window.ShadyCSS.flushCustomStyles&&window.ShadyCSS.flushCustomStyles()})},pAa=function(a){!a.enqueued&&nt&&(a.enqueued=!0,oAa(nt))};
ot.prototype.addCustomStyle=function(a){a.__seenByShadyCSS||(a.__seenByShadyCSS=!0,this.customStyles.push(a),pAa(this))};
ot.prototype.getStyleForCustomStyle=function(a){if(a.__shadyCSSCachedStyle)return a.__shadyCSSCachedStyle;var b;a.getStyle?b=a.getStyle():b=a;return b};
ot.prototype.processStyles=function(){for(var a=this.customStyles,b=0;b=b.left&&c<=b.right&&a>=b.top&&a<=b.bottom)}return!1}
var GAa=null,Bt=null,KAa=0,LAa=0,MAa=-1,NAa=!1;function OAa(a,b,c){a.movefn=b;a.upfn=c;document.addEventListener("mousemove",b);document.addEventListener("mouseup",c)}
function Ct(a){document.removeEventListener("mousemove",a.movefn);document.removeEventListener("mouseup",a.upfn);a.movefn=null;a.upfn=null}
document.addEventListener("touchend",function(a){Bt||IAa(!0);GAa=zt(a)[0];Bt=vt(Bt,Is.after(2500),function(){IAa();Bt=GAa=null})},AAa?{passive:!0}:!1);
var zt=window.ShadyDOM&&window.ShadyDOM.noPatch?window.ShadyDOM.composedPath:function(a){return a.composedPath&&a.composedPath()||[]},Dt={},Et=[];
function PAa(a,b){for(var c=document.elementFromPoint(a,b),d=c;d&&d.shadowRoot&&!window.ShadyDOM;){var e=d;d=d.shadowRoot.elementFromPoint(a,b);if(e===d)break;d&&(c=d)}return c}
function _findOriginalTarget$$module$third_party$javascript$polymer$v2$polymer$lib$utils$gestures(a){var b=zt(a);return 0e:"pan-y"===c&&(d=e>b));d?a.preventDefault():
Ft("track")}}
function Gt(a,b,c){return Dt[b]?(_add$$module$third_party$javascript$polymer$v2$polymer$lib$utils$gestures(a,b,c),!0):!1}
function QAa(a,b,c){return Dt[b]?(_remove$$module$third_party$javascript$polymer$v2$polymer$lib$utils$gestures(a,b,c),!0):!1}
function _add$$module$third_party$javascript$polymer$v2$polymer$lib$utils$gestures(a,b,c){var d=Dt[b],e=d.deps,h=d.name,l=a.__polymerGestures;l||(a.__polymerGestures=l={});for(var m=0,n,q;m=d&&25>=e||JAa(b))||a.prevent||_fire$$module$third_party$javascript$polymer$v2$polymer$lib$utils$gestures(h,"tap",{x:b.clientX,y:b.clientY,sourceEvent:b,preventer:c})}
;var UAa=Ls(function(a){var b=function(){return a.apply(this,arguments)||this};
p(b,a);b.prototype._addEventListenerToNode=function(c,d,e){Gt(c,d,e)||a.prototype._addEventListenerToNode.call(this,c,d,e)};
b.prototype._removeEventListenerFromNode=function(c,d,e){QAa(c,d,e)||a.prototype._removeEventListenerFromNode.call(this,c,d,e)};
return b});function VAa(a,b,c,d,e){var h;e&&(h="object"===typeof c&&null!==c)&&(d=a.__dataTemp[b]);d=d!==c&&(d===d||c===c);h&&d&&(a.__dataTemp[b]=c);return d}
var Kt=Ls(function(a){var b=function(){return a.apply(this,arguments)||this};
p(b,a);b.prototype._shouldPropertyChange=function(c,d,e){return VAa(this,c,d,e,!0)};
return b}),WAa=Ls(function(a){var b=function(){return a.apply(this,arguments)||this};
p(b,a);b.prototype._shouldPropertyChange=function(c,d,e){return VAa(this,c,d,e,this.mutableData)};
g.Object.defineProperties(b,{properties:{configurable:!0,enumerable:!0,get:function(){return{mutableData:Boolean}}}});
return b});
Kt._mutablePropertyChange=VAa;var XAa=!1;function YAa(){if(vh&&!oh){if(!XAa){XAa=!0;var a=document.createElement("style");a.textContent="dom-bind,dom-if,dom-repeat{display:none;}";document.head.appendChild(a)}return!0}return!1}
;var ZAa=UAa(WAa(ct(HTMLElement))),Lt=function(){var a=ZAa.call(this)||this;if(th)throw Error("strictTemplatePolicy: dom-bind not allowed");a.root=null;a.$=null;a.__children=null;return a};
p(Lt,ZAa);f=Lt.prototype;f.attributeChangedCallback=function(){this.mutableData=!0};
f.connectedCallback=function(){YAa()||(this.style.display="none");this.render()};
f.disconnectedCallback=function(){this.__removeChildren()};
f.__insertChildren=function(){Ms(Ms(this).parentNode).insertBefore(this.root,this)};
f.__removeChildren=function(){if(this.__children)for(var a=0;a child")});
c.observe(this,{childList:!0});return}this.root=this._stampTemplate(b);this.$=this.root.$;this.__children=[];for(var d=this.root.firstChild;d;d=d.nextSibling)this.__children[this.__children.length]=d;this._enableProperties()}this.__insertChildren();this.dispatchEvent(new CustomEvent("dom-change",{bubbles:!0,composed:!0}))};
g.Object.defineProperties(Lt,{observedAttributes:{configurable:!0,enumerable:!0,get:function(){return["mutable-data"]}}});
customElements.define("dom-bind",Lt);var Mt=function(){do{var a=window.ShadyDOM&&ShadyDOM.flush();window.ShadyCSS&&window.ShadyCSS.ScopingShim&&window.ShadyCSS.ScopingShim.flush();var b=wAa()}while(a||b)};var $Aa=null;function aBa(){return $Aa}
aBa.prototype=Object.create(HTMLTemplateElement.prototype,{constructor:{value:aBa,writable:!0}});var bBa=ct(aBa),cBa=Kt(bBa);function dBa(a,b){$Aa=a;Object.setPrototypeOf(a,b.prototype);new b;$Aa=null}
var eBa=ct(function(){});
function fBa(a,b){for(var c=0;c can only be templatized once");a.__templatizeOwner=b;var d=(b?b.constructor:Nt)._parseTemplate(a),e=d.templatizeInstanceClass;e||(e=iBa(a,d,c),d.templatizeInstanceClass=e);var h=hBa(a);kBa(a,d,c,h);c=function(){return e.apply(this,arguments)||this};
p(c,e);c.prototype._methodHost=h;c.prototype.__dataHost=a;c.prototype.__templatizeOwner=b;c.prototype.__hostProps=d.hostProps;return c}
function mBa(a,b,c){c=c.constructor._properties;a=a.propertyEffects;b=b.instanceProps;for(var d in a)if(!(c[d]||b&&b[d]))for(var e=a[d],h=0;h child")});
c.observe(this,{childList:!0});return!1}this.__template=b}return!0};
f.__ensureInstance=function(){var a=Ms(this).parentNode;if(this.__hasInstance()){var b=this.__getInstanceNodes();if(b&&b.length&&Ms(this).previousSibling!==b[b.length-1])for(var c=0,d=void 0;c child")});
c.observe(this,{childList:!0});return!1}var d={};d[this.as]=!0;d[this.indexAs]=!0;d[this.itemsIndexAs]=!0;this.__ctor=Ot(b,this,{mutableData:this.mutableData,parentModel:!0,instanceProps:d,forwardHostProp:function(e,h){for(var l=this.__instances,m=0,n=void 0;m=e;a--)this.__detachAndRemoveInstance(a)};
f.__detachInstance=function(a){a=this.__instances[a];for(var b=Ms(a.root),c=0;cd?c:c.substring(0,d);if(a==parseInt(a,10)){c=0>d?"":c.substring(d+1);this.__handleObservedPaths(c);if(a=this.__instances[this.__itemsIdxToInstIdx[a]])a._setPendingPropertyOrPath(this.as+(c?"."+c:""),b,!1,!0),a._flushProperties();return!0}};
f.itemForElement=function(a){return(a=this.modelForElement(a))&&a[this.as]};
f.indexForElement=function(a){return(a=this.modelForElement(a))&&a[this.indexAs]};
f.modelForElement=function(a){return pBa(this.template,a)};
g.Object.defineProperties(St,{is:{configurable:!0,enumerable:!0,get:function(){return"dom-repeat"}},
template:{configurable:!0,enumerable:!0,get:function(){return null}},
properties:{configurable:!0,enumerable:!0,get:function(){return{items:{type:Array},as:{type:String,value:"item"},indexAs:{type:String,value:"index"},itemsIndexAs:{type:String,value:"itemsIndex"},sort:{type:Function,observer:"__sortChanged"},filter:{type:Function,observer:"__filterChanged"},observe:{type:String,observer:"__observeChanged"},delay:Number,renderedItemCount:{type:Number,notify:!Ch,readOnly:!0},initialCount:{type:Number},targetFramerate:{type:Number,value:20},_targetFrameTime:{type:Number,
computed:"__computeFrameTime(targetFramerate)"},notifyDomChange:{type:Boolean},reuseChunkedInstances:{type:Boolean}}}},
observers:{configurable:!0,enumerable:!0,get:function(){return["__itemsChanged(items.*)"]}}});
St.prototype._setRenderedItemCount=function(){};
customElements.define(St.is,St);function Tt(a){return"slot"===a.localName}
var sBa=function(a,b){var c=this;this._nativeChildrenObserver=this._shadyChildrenObserver=null;this._connected=!1;this._target=a;this.callback=b;this._effectiveNodes=[];this._observer=null;this._scheduled=!1;this._boundSchedule=function(){c._schedule()};
this.connect();this._schedule()},tBa=function(a){var b=Ms(a);
return Tt(a)?b.assignedNodes({flatten:!0}):Array.from(b.childNodes).map(function(c){return Tt(c)?Ms(c).assignedNodes({flatten:!0}):[c]}).reduce(function(c,d){return c.concat(d)},[])};
f=sBa.prototype;f.connect=function(){var a=this;Tt(this._target)?this._listenSlots([this._target]):Ms(this._target).children&&(this._listenSlots(Ms(this._target).children),window.ShadyDOM?this._shadyChildrenObserver=window.ShadyDOM.observeChildren(this._target,function(b){a._processMutations(b)}):(this._nativeChildrenObserver=new MutationObserver(function(b){a._processMutations(b)}),this._nativeChildrenObserver.observe(this._target,{childList:!0})));
this._connected=!0};
f.disconnect=function(){Tt(this._target)?this._unlistenSlots([this._target]):Ms(this._target).children&&(this._unlistenSlots(Ms(this._target).children),window.ShadyDOM&&this._shadyChildrenObserver?(window.ShadyDOM.unobserveChildren(this._shadyChildrenObserver),this._shadyChildrenObserver=null):this._nativeChildrenObserver&&(this._nativeChildrenObserver.disconnect(),this._nativeChildrenObserver=null));this._connected=!1};
f._schedule=function(){var a=this;this._scheduled||(this._scheduled=!0,Ks.run(function(){return a.flush()}))};
f._processMutations=function(a){this._processSlotMutations(a);this.flush()};
f._processSlotMutations=function(a){if(a)for(var b=0;b *")};
var oCa=function(a,b,c){b=b.replace(hAa,function(d,e,h,l){return a._produceCssProperties(d,e,h,l,c)});
return a._consumeCssProperties(b,c)};
f=hu.prototype;f._getInitialValueForProperty=function(a){this._measureElement||(this._measureElement=document.createElement("meta"),this._measureElement.setAttribute("apply-shim-measure",""),this._measureElement.style.all="initial",document.head.appendChild(this._measureElement));return window.getComputedStyle(this._measureElement).getPropertyValue(a)};
f._fallbacksFromPreviousRules=function(a){for(var b=this,c=a;c.parent;)c=c.parent;var d={},e=!1;fu(c,function(h){(e=e||h===a)||h.selector===a.selector&&Object.assign(d,b._cssTextToMap(h.parsedCssText))});
return d};
f._consumeCssProperties=function(a,b){for(var c;c=lt.exec(a);){var d=c[0],e=c[1];c=c.index;var h=c+d.indexOf("@apply");h=a.slice(0,h);a=a.slice(c+d.length);d=b?this._fallbacksFromPreviousRules(b):{};Object.assign(d,this._cssTextToMap(h));e=this._atApplyToCssProperties(e,d);a=""+h+e+a;lt.lastIndex=c+e.length}return a};
f._atApplyToCssProperties=function(a,b){a=a.replace(kCa,"");var c=[],d=this._map.get(a);d||(this._map.set(a,{}),d=this._map.get(a));if(d){this._currentElement&&(d.dependants[this._currentElement]=!0);var e,h=d.properties;for(e in h){var l=b&&b[e];d=[e,": var(",a,"_-_",e];l&&d.push(",",l.replace(mCa,""));d.push(")");mCa.test(h[e])&&d.push(" !important");c.push(d.join(""))}}return c.join("; ")};
f._replaceInitialOrInherit=function(a,b){var c=lCa.exec(b);c&&(b=c[1]?this._getInitialValueForProperty(a):"apply-shim-inherit");return b};
f._cssTextToMap=function(a,b){b=void 0===b?!1:b;a=a.split(";");for(var c,d,e={},h=0;he?Ks.cancel(~e):Is.cancel(e)};
a.prototype.create=function(e,h){e=document.createElement(e);if(h)if(e.setProperties)e.setProperties(h);else for(var l in h)e[l]=h[l];return e};
a.prototype.elementMatches=function(e,h){return vBa(h||this,e)};
a.prototype.toggleAttribute=function(e,h){var l=this;3===arguments.length&&(l=arguments[2]);1==arguments.length&&(h=!l.hasAttribute(e));if(h)return Ms(l).setAttribute(e,""),!0;Ms(l).removeAttribute(e);return!1};
a.prototype.toggleClass=function(e,h,l){l=l||this;1==arguments.length&&(h=!l.classList.contains(e));h?l.classList.add(e):l.classList.remove(e)};
a.prototype.transform=function(e,h){h=h||this;h.style.webkitTransform=e;h.style.transform=e};
a.prototype.translate3d=function(e,h,l,m){this.transform("translate3d("+e+","+h+","+l+")",m||this)};
a.prototype.arrayDelete=function(e,h){if(Array.isArray(e)){if(h=e.indexOf(h),0<=h)return e.splice(h,1)}else if(h=Xs(this,e).indexOf(h),0<=h)return this.splice(e,h,1);return null};
a.prototype._logger=function(e,h){Array.isArray(h)&&1===h.length&&Array.isArray(h[0])&&(h=h[0]);switch(e){case"log":case"warn":case"error":console[e].apply(console,ea(h));}};
a.prototype._log=function(e){for(var h=[],l=0;lb.indexOf(e)&&(!c||0>c.indexOf(e))&&b.unshift(e):console.warn("behavior is null, check for missing or 404 import")}return b}
function xCa(a,b){for(var c in b){var d=a[c],e=b[c];a[c]=!("value"in e)&&d&&"value"in d?Object.assign({value:d.value},e):e}}
var yCa=lu(HTMLElement);function zCa(a,b,c){var d={},e=function(){return b.apply(this,arguments)||this};
p(e,b);e._finalizeClass=function(){if(this.hasOwnProperty("generatedFrom")){if(l)for(var n=0,q;n ")+")":""}
function YCa(a,b,c,d){if(d){var e=Error(" caused by: "+(d instanceof Error?d.message:d));e.ngOriginalError=d}else e=Error();e.addKey=ZCa;e.keys=[b];e.injectors=[a];e.constructResolvingMessage=c;e.message=e.constructResolvingMessage();e.ngOriginalError=d;return e}
function ZCa(a,b){this.injectors.push(a);this.keys.push(b);this.message=this.constructResolvingMessage()}
function $Ca(a,b){return YCa(a,b,function(){return"No provider for "+ru(this.keys[0].token)+"!"+XCa(this.keys)})}
function aDa(a,b){return YCa(a,b,function(){return"Cannot instantiate cyclic dependency!"+XCa(this.keys)})}
function bDa(a,b,c){return YCa(a,c,function(){var d=ru(this.keys[0].token);return this.ngOriginalError.message+": Error during instantiation of "+d+"!"+XCa(this.keys)+"."},b)}
function cDa(a,b){for(var c=[],d=0,e=b.length;dd||d>=a.providers.length)throw Error("Index "+d+" is out-of-bounds.");c[e]=b(a.providers[d])}return c}
function rDa(a){return"function"===typeof a&&VCa.parameters(a).every(function(b){return!!b})}
;var tDa=!1;function uDa(){if(!tDa){if(Polymer.Base){var a=Polymer.Base.createdCallback;Polymer.Base.createdCallback=function(){try{a.apply(this,arguments)}catch(w){Vh(w)}};
var b=Polymer.Base.attachedCallback;Polymer.Base.attachedCallback=function(){try{b.apply(this,arguments)}catch(w){Vh(w)}};
var c=Polymer.Base.detachedCallback;Polymer.Base.detachedCallback=function(){try{c.apply(this,arguments)}catch(w){Vh(w)}};
var d=Polymer.Base.attributeChangedCallback;Polymer.Base.attributeChangedCallback=function(){try{d.apply(this,arguments)}catch(w){Vh(w)}};
var e=Polymer.Base._listen,h=new WeakMap;Polymer.Base._listen=function(w,A,E){var F=function(){try{E.apply(this,arguments)}catch(K){Vh(K)}};
h.set(E,F);e.call(this,w,A,F)};
var l=Polymer.Base._unlisten;Polymer.Base._unlisten=function(w,A,E){l.call(this,w,A,h.get(E))}}if(Polymer.Async){var m=Polymer.Async,n=m._atEndOfMicrotask;
m._atEndOfMicrotask=function(){try{n.apply(m,arguments)}catch(w){Vh(w)}}}if(Polymer.RenderStatus){var q=Polymer.RenderStatus,u=q.afterNextRender;
q.afterNextRender=function(w,A,E){u.call(q,w,function(){try{A.apply(this,arguments)}catch(F){Vh(F)}},E)}}tDa=!0}}
;function vDa(a,b){a=k(a);for(var c=a.next();!c.done;c=a.next())if(c=c.value,c.constructor===Array)vDa(c,b);else{var d=b;d.has(c)||(c.inject&&d.add(c),c.behaviors&&vDa(c.behaviors,d))}}
;var wDa=!1;function xDa(){function a(e,h,l,m){var n=e[h];e[h]=function(){this._host=b.currentHost();this.initializeInjection&&this.initializeInjection();if(n)return n.apply(this,arguments)};
var q=e[l];e[l]=function(){b.push(m?this._host:this);var u=q.apply(this,arguments);b.pop();return u}}
var b={stack:[],push:function(e){this.stack.push(e)},
pop:function(){this.stack.pop()},
currentHost:function(){if(this.stack.length)return this.stack[this.stack.length-1]}};
nu.Class=function(e,h){e=mu(e,h);a(e.prototype,"created","_stampTemplate",!1);return e};
a(St.prototype,"_initializeProperties","__stampInstance",!0);a(Qt.prototype,"_initializeProperties","__ensureInstance",!0);if(aia)a(CCa,"created","stamp",!0);else{var c=function(){a(customElements.get("tp-yt-iron-list").prototype,"_initializeProperties","stamp",!0)};
if(customElements.get("tp-yt-iron-list"))c();else{var d=customElements.define;customElements.define=function(e,h,l){d.call(customElements,e,h,l);"tp-yt-iron-list"===e&&(c(),customElements.define=d)}}}Ls(function(e){var h=function(){return e.apply(this,arguments)||this};
p(h,e);h.prototype._initializeProperties=function(){this._host=b.currentHost();this.initializeInjection&&this.initializeInjection();e.prototype._initializeProperties.call(this)};
h.prototype._stampTemplate=function(l){for(var m=[],n=0;n "):"unknown"}
function BDa(a){var b=a._host;return b?BDa(b)+" > "+a.localName+":"+!!a.injector:a.localName+":"+!!a.injector}
function CDa(a){var b=a.tagName.toLowerCase();return a.parentElement?CDa(a.parentElement)+" > "+b:b}
;var DDa={};wDa||(xDa(),wDa=!0);
DDa.InjectBehavior={initializeInjection:function(){var a=this.isInjectionRoot,b=this.provide,c=xu||zDa(this)||yDa[yDa.length-1];xu=void 0;if(c||a){!c||b&&0=(void 0!==d[b]?d[b]:I("ELEMENT_POOL_DEFAULT_CAP",0)))return!1;c.push(a);return!0},HDa=new Map,JDa=0,IDa=0;var KDa={home:{"ytd-thumbnail":1,"ytd-topbar-menu-button-renderer":1,"ytd-item-section-renderer":5,"ytd-shelf-renderer":5,"yt-horizontal-list-renderer":5,"ytd-grid-video-renderer":30,"ytd-button-renderer":11,"tp-yt-paper-icon-button":7,"tp-yt-paper-button":5,"yt-formatted-string":5,"tp-yt-paper-tooltip":2,"yt-next-continuation":1,"~ytd-guide-entry-renderer":17,"~ytd-guide-signin-promo-renderer":1,"~ytd-browse":{count:1,signals:["yt-app-context","aa"]}},search:{"yt-next-continuation":1,"ytd-button-renderer":2,
"ytd-channel-renderer":2,"ytd-item-section-renderer":1,"ytd-video-renderer":20,"ytd-promoted-video-renderer":1,"ytd-search-pyv-renderer":1,"ytd-thumbnail":1,"ytd-thumbnail-overlay-time-status-renderer":20,"ytd-thumbnail-overlay-toggle-button-renderer":0,"ytd-shelf-renderer":1,"ytd-vertical-list-renderer":1,"ytd-thumbnail-overlay-hover-text-renderer":2,"ytd-thumbnail-overlay-side-panel-renderer":2,"yt-formatted-string":3,"iron-icon":1,"tp-yt-iron-icon":1,"tp-yt-paper-button":3,"tp-yt-paper-tooltip":33,
"yt-icon":1,"ytd-playlist-renderer":1,"ytd-playlist-video-thumbnail-renderer":1,"ytd-subscribe-button-renderer":1,"~ytd-artist-watch-card-renderer":1,"~ytd-search":{count:1,signals:["yt-app-context","aa"]}},watch:{"yt-next-continuation":2,"ytd-video-view-count-renderer":1,"ytd-button-renderer":3,"ytd-toggle-button-renderer":2,"ytd-menu-renderer":1,"ytd-compact-autoplay-renderer":1,"ytd-compact-video-renderer":19,"ytd-compact-promoted-video-renderer":1,"ytd-compact-playlist-renderer":1,"ytd-compact-radio-renderer":1,
"ytd-thumbnail":1,"ytd-thumbnail-overlay-time-status-renderer":20,"ytd-thumbnail-overlay-toggle-button-renderer":0,"ytd-player-legacy-desktop-watch-ads-renderer":1,"tp-yt-paper-button":20,"tp-yt-paper-icon-button":20,"tp-yt-paper-tooltip":30,"yt-formatted-string":5}},LDa={home:"eohps",search:"eosps",watch:"eowps"},MDa=["watch","search","home"],Bu=function(){this.SKIP_INITIAL_PASS_="~";this.WEIGHTED_DECREASE_COEFFICIENT_=I("PRECONSTRUCTION_COEF",.45);this.DEFAULT_DELAY_=I("PRECONSTRUCTION_DELAY",0);
this.FILLABLE_COMPONENTS_={"ytd-browse":!0,"ytd-search":!0,"ytd-watch-flexy":!0,"ytd-watch-fixie":!0};this.JSC$32679_isInitialized_=!1;this.signals_=$r();this.isInitialPass_=!0;this.isSeenDuringInitialPass_={};this.JSC$32679_queue_=[];this.pendingPages_=[];this.blockedTypes_={};this.averageCreationPeriod_={};this.targetPage_="";this.pagePreparerJobId_=this.fragmentJobId_=0};
Bu.prototype.init=function(a,b){if(this.JSC$32679_isInitialized_)this.abort();else if(this.JSC$32679_isInitialized_=!0,a&&NDa(this,a),b){var c=bs(this.signals_,"pcl")?0:10,d=function(){for(var e=0,h;h=MDa[e++];)h!=a&&h!=b&&this.pendingPages_.push(h);ODa(this)}.bind(this);
this.signals_.parkOrScheduleJob(d,c,"pcl")}};
Bu.prototype.abort=function(){this.fragmentJobId_&&(pi.cancelJob(this.fragmentJobId_),this.fragmentJobId_=0);PDa(this)};
var RDa=function(a,b){var c=MDa.indexOf(b);-1=a.invocationLimit&&a.snapshotAndFlush()};
fw.prototype.snapshotAndFlush=function(){var a=this.metricMap.values();a=[].concat(ea(a)).filter(function(b){return b.cellMap_.size});
a.length&&this.streamzLogger_.flush(a,this.sendIsolatedPayload_);HGa(a);this.invocationCount=0;this.JSC$32947_flushTimer.enabled&&this.JSC$32947_flushTimer.stop()};
fw.prototype.setDisabledMetrics=function(a){this.disabledMetrics_=new Set(a)};
fw.prototype.addNewCounter=function(a,b){for(var c=[],d=1;da?1:a;this._windowTime=1>b?1:b;Infinity===b?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow};
p(Xw,Pw);Xw.create=Pw.create;f=Xw.prototype;f.nextInfiniteTimeWindow=function(a){var b=this._events;b.push(a);b.length>this._bufferSize&&b.shift();Pw.prototype.next.call(this,a)};
f.nextTimeWindow=function(a){this._events.push({time:this._getNow(),value:a});this._trimBufferThenGetEvents();Pw.prototype.next.call(this,a)};
f._subscribe=function(a){var b=this._infiniteTimeWindow,c=b?this._events:this._trimBufferThenGetEvents(),d=c.length;if(this.closed)throw new Nw;if(this.isStopped||this.hasError)var e=Fw.EMPTY;else this.observers.push(a),e=new Mw(this,a);if(b)for(var h=0;hb&&(h=Math.max(h,e-b));0=b?this.connection=null:(a._refCount=b-1,1this.index};
Bx.prototype.hasCompleted=function(){return this.array.length===this.index};
var Dx=function(a,b,c){gx.call(this,a);this.parent=b;this.observable=c;this.stillUnsubscribed=!0;this.JSC$33150_buffer=[];this.isComplete=!1};
p(Dx,gx);Dx.EMPTY=gx.EMPTY;Dx.create=gx.create;Dx.prototype[ix]=function(){return this};
f=Dx.prototype;f.next=function(){var a=this.JSC$33150_buffer;return 0===a.length&&this.isComplete?{value:null,done:!0}:{value:a.shift(),done:!1}};
f.hasValue=function(){return 0=this.total?this.total:this.count,d=this.ring,e=0;ea?b.lift(new cIa(-1,b)):b.lift(new cIa(a-1,b))}}
var cIa=function(a,b){this.count=a;this.source=b};
cIa.prototype.call=function(a,b){return b.subscribe(new cy(a,this.count,this.source))};
var cy=function(a,b,c){Hw.call(this,a);this.count=b;this.source=c};
p(cy,Hw);cy.EMPTY=Hw.EMPTY;cy.create=Hw.create;cy.prototype.complete=function(){if(!this.isStopped){var a=this.source,b=this.count;if(0===b)return Hw.prototype.complete.call(this);-1b&&(this.JSC$33270_delayTime=0);Uw(c)||(this.JSC$33270_scheduler=zHa)};
p(ey,Lw);ey.create=Lw.create;ey.dispatch=function(a){return MGa(this,a.source.subscribe(a.subscriber))};
ey.prototype._subscribe=function(a){return this.JSC$33270_scheduler.schedule(ey.dispatch,this.JSC$33270_delayTime,{source:this.source,subscriber:a})};
function dIa(){var a=void 0===a?0:a;return function(b){return b.lift(new eIa(a))}}
var eIa=function(a){this.JSC$33274_scheduler=lHa;this.delay=a};
eIa.prototype.call=function(a,b){return new ey(b,this.delay,this.JSC$33274_scheduler).subscribe(a)};function fy(a){return function(b){return b.lift(new fIa(a))}}
var fIa=function(a){this.project=a};
fIa.prototype.call=function(a,b){return b.subscribe(new gy(a,this.project))};
var gy=function(a,b){gx.call(this,a);this.project=b;this.index=0};
p(gy,gx);gy.EMPTY=gx.EMPTY;gy.create=gx.create;f=gy.prototype;f._next=function(a){var b=this.index++;try{var c=this.project(a,b)}catch(e){this.destination.error(e);return}var d=this.innerSubscription;d&&d.unsubscribe();a=new hx(this,a,b);this.destination.add(a);this.innerSubscription=jx(this,c,void 0,void 0,a)};
f._complete=function(){var a=this.innerSubscription;a&&!a.closed||gx.prototype._complete.call(this);this.unsubscribe()};
f._unsubscribe=function(){this.innerSubscription=null};
f.JSC$33087_notifyComplete=function(a){this.destination.remove(a);this.innerSubscription=null;this.isStopped&&gx.prototype._complete.call(this)};
f.notifyNext=function(a){this.destination.next(a)};function hy(a,b){b=void 0===b?!1:b;return function(c){return c.lift(new gIa(a,b))}}
var gIa=function(a,b){this.JSC$33283_predicate=a;this.JSC$33283_inclusive=b};
gIa.prototype.call=function(a,b){return b.subscribe(new iy(a,this.JSC$33283_predicate,this.JSC$33283_inclusive))};
var iy=function(a,b,c){Hw.call(this,a);this.JSC$33286_predicate=b;this.JSC$33286_inclusive=c;this.index=0};
p(iy,Hw);iy.EMPTY=Hw.EMPTY;iy.create=Hw.create;iy.prototype._next=function(a){var b=this.destination;try{var c=this.JSC$33286_predicate(a,this.index++)}catch(d){b.error(d);return}b=this.destination;c?b.next(a):(this.JSC$33286_inclusive&&b.next(a),b.complete())};function jy(a,b,c){return function(d){return d.lift(new hIa(a,b,c))}}
var hIa=function(a,b,c){this.nextOrObserver=a;this.error=b;this.complete=c};
hIa.prototype.call=function(a,b){return b.subscribe(new ky(a,this.nextOrObserver,this.error,this.complete))};
var ky=function(a,b,c,d){Hw.call(this,a);this._tapComplete=this._tapError=this._tapNext=vx;this._tapError=c||vx;this._tapComplete=d||vx;Ew(b)?(this.JSC$33292__context=this,this._tapNext=b):b&&(this.JSC$33292__context=b,this._tapNext=b.next||vx,this._tapError=b.error||vx,this._tapComplete=b.complete||vx)};
p(ky,Hw);ky.EMPTY=Hw.EMPTY;ky.create=Hw.create;ky.prototype._next=function(a){try{this._tapNext.call(this.JSC$33292__context,a)}catch(b){this.destination.error(b);return}this.destination.next(a)};
ky.prototype._error=function(a){try{this._tapError.call(this.JSC$33292__context,a)}catch(b){this.destination.error(b);return}this.destination.error(a)};
ky.prototype._complete=function(){try{this._tapComplete.call(this.JSC$33292__context)}catch(a){this.destination.error(a);return}return this.destination.complete()};function iIa(a){for(var b=[],c=0;cMath.random())};
ty.prototype.disable=function(){this.collectionEnabled=!1;this.events!=this.installedWindow.google_js_reporting_queue&&(sy()&&Qa(this.events,qIa),this.events.length=0)};
var qIa=function(a){a&&ry&&sy()&&(ry.clearMarks("goog_"+a.label+"_"+a.uniqueId+"_start"),ry.clearMarks("goog_"+a.label+"_"+a.uniqueId+"_end"))};
ty.prototype.start=function(a,b){if(!this.collectionEnabled)return null;var c=qy()||nIa();a=new oIa(a,b,c);b="goog_"+a.label+"_"+a.uniqueId+"_start";ry&&sy()&&ry.mark(b);return a};
ty.prototype.end=function(a){if(this.collectionEnabled&&"number"===typeof a.value){var b=qy()||nIa();a.duration=b-a.value;b="goog_"+a.label+"_"+a.uniqueId+"_end";ry&&sy()&&ry.mark(b);!this.collectionEnabled||2048e.length&&e.push(d)}}return h}};var tIa=function(){ww.apply(this,arguments)};
p(tIa,ww);tIa.prototype.timeExecution=function(a,b){return ww.prototype.timeExecution.call(this,a,sIa(a,b))};function uy(a,b){return function(c){return new Lw(function(d){return c.subscribe(function(e){a.timeExecution(b,function(){d.next(e)})()},function(e){a.timeExecution(b,function(){d.error(e)})()},function(){a.timeExecution(b,function(){d.complete()})()})})}}
;var vy=function(a,b){this.intrinsicFunctionNamespace=a;this.performanceMonitor=b};
vy.prototype.now=function(){return this.intrinsicFunctionNamespace.performance.now()};
vy.prototype.setTimeout=function(a,b){return this.intrinsicFunctionNamespace.setTimeout(this.performanceMonitor.timeExecution(734,a),b)};
vy.prototype.clearTimeout=function(a){this.intrinsicFunctionNamespace.clearTimeout(a)};
vy.prototype.interval=function(a){var b=this;return new Lw(function(c){var d=0,e=b.intrinsicFunctionNamespace.setInterval(function(){c.next(d++)},a);
return function(){b.intrinsicFunctionNamespace.clearInterval(e)}})};var uIa=function(a){this.global=a=void 0===a?window:a};
uIa.prototype.ping=function(a){for(var b=[],c=0;cd&&!c(a);++d)a=b(a)}
function DIa(a,b){CIa(a,function(c){try{return c===c.parent?null:c.parent}catch(d){}return null},b)}
function EIa(a,b){if("IFRAME"==a.tagName)b(a);else{a=a.querySelectorAll("IFRAME");for(var c=0;c=a.length?Sw:kx(a.map(function(b){var c=0;return b.pipe(ex(function(d){return{index:c++,value:d}}))})).pipe(xx(function(b){return b.every(function(c){return c.index===b[0].index})}),ex(function(b){return b.map(function(c){return c.value})}))}
;var mJa=ex(function(a){return[a.value.topWindowViewportExternalGeometry.width,a.value.topWindowViewportExternalGeometry.height]});function nJa(a,b){return function(c){return lJa(b.map(function(d){return c.pipe(a(d))}))}}
;function oJa(){return Kw(Xx(function(a,b){return a.lastValue&&a.lastValue.value?{lastValue:b,consecutiveTime:Math.max(b.timestamp-a.lastValue.timestamp,0)+a.consecutiveTime}:{lastValue:b,consecutiveTime:0}},{consecutiveTime:0}),xx(function(a){return!!a.lastValue}),ex(function(a){return{timestamp:a.lastValue.timestamp,
value:Math.round(a.consecutiveTime)}}))}
;var Jy={viewportGeometrySourceName:"ns",exposedViewportLocalGeometry:xy,topWindowViewportExternalGeometry:xy,measurementRequests:new Pw,elementGeometrySourceName:"ns",elementGeometry:xy,intersectionGeometry:xy};
function pJa(a,b){return yy(a.topWindowViewportExternalGeometry,b.topWindowViewportExternalGeometry)&&yy(a.elementGeometry,b.elementGeometry)&&yy(a.exposedViewportLocalGeometry,b.exposedViewportLocalGeometry)&&yy(a.intersectionGeometry,b.intersectionGeometry)&&a.elementGeometrySourceName===b.elementGeometrySourceName&&a.measurementRequests===b.measurementRequests&&a.viewportGeometrySourceName===b.viewportGeometrySourceName}
;function qJa(a,b){return function(c){return function(d){var e=d.pipe(ay(),$w());d=c.element.pipe(Mx());e=e.pipe(ex(function(h){return h.value}));
return kx([d,e,b]).pipe(ex(function(h){var l=k(h);h=l.next().value;var m=l.next().value;l=l.next().value;var n=h.getBoundingClientRect(),q=Jf(h,a.global);n={top:q.y,left:q.x,width:n.width,height:n.height};q=MIa(n,m.exposedViewportLocalGeometry);var u=a.timeProvider.now(),w=Object,A=w.assign;m=Object.assign({},m);if(2!==l||a.inCrossDomainIframe||0>=q.width||0>=q.height)var E=!1;else try{var F=a.document.elementFromPoint(q.left+q.width/2,q.top+q.height/2);E=F?!rJa(F,h):!1}catch(K){E=!1}return{timestamp:u,
value:A.call(w,m,{elementGeometrySourceName:"geo",intersectionGeometry:E?Jy.intersectionGeometry:q,elementGeometry:n})}}),my(a.queue))}}}
function rJa(a,b,c){c=void 0===c?0:c;return a===b||rf(b,function(d){return d===a})?!0:b.ownerDocument&&b.ownerDocument.defaultView&&b.ownerDocument.defaultView===b.ownerDocument.defaultView.top?!1:10>c&&b.ownerDocument&&b.ownerDocument.defaultView&&b.ownerDocument.defaultView.frameElement?rJa(a,b.ownerDocument.defaultView.frameElement,c+1):!0}
;function sJa(a){return function(b){return b.pipe(a.ResizeObserver?tJa(a):uJa(a),by(),$w())}}
function tJa(a){return function(b){return b.pipe(fy(function(c){var d=a.ResizeObserver;if(!d)return Vw(Jy.elementGeometry);var e=new Lw(function(h){var l=new d(function(m){m.forEach(function(n){h.next(n)})});
l.observe(c);return function(){l.disconnect()}}).pipe(uy(a.performanceMonitor,736),ex(function(h){return h.contentRect}));
return ux(Vw(c.getBoundingClientRect()),e)}),Mx(yy))}}
function uJa(a){return function(b){var c=b.pipe(fJa(a)),d=a.onResize;c=ux(b.pipe(ex(function(){return xIa("resize")})),c,d);
return kx(b,c).pipe(uy(a.performanceMonitor,737),ex(function(e){return k(e).next().value.getBoundingClientRect()}),Mx(yy))}}
;function vJa(a,b){var c=wJa(a,b).pipe(by(),$w());return function(d){d=d.pipe(fy(function(e){return e.element}),Mx());
return kx([c,d]).pipe(fy(function(e){var h=k(e);e=h.next().value;h=h.next().value;return xJa(a,e.intersectionObserver,sJa(a),e.observations,e.flushRecords,h)}),my(a.queue))}}
function yJa(a){return ex(function(b){return"nio"!==b.value.viewportGeometrySourceName?b:Object.assign(Object.assign({},b),{value:Object.assign(Object.assign({},b.value),{exposedViewportLocalGeometry:Cy(a,!0),topWindowViewportExternalGeometry:Cy(a,!0)})})})}
function zJa(a,b){return Vw(b).pipe(a,ex(function(){return b}))}
function wJa(a,b){return"undefined"===typeof performance?Ww(new Fy(2)):a.MutationObserver?"undefined"===typeof IntersectionObserver?Ww(new Fy(0)):new Lw(function(c){var d=new Pw,e=new IntersectionObserver(d.next.bind(d),{threshold:b});c.next({observations:d.pipe(uy(a.performanceMonitor,735)),intersectionObserver:e,flushRecords:function(){var h=e.takeRecords();0a.length)return{chain:Sw,capturedErrors:Sw};var c=new Pw;return{chain:a.slice(1).reduce(function(d,e){return d.pipe(Ix(function(h){c.next(h);return e}))},a[0]).pipe(Ix(function(d){c.next(d);
return Ww(b)}),ay(),$w()),
capturedErrors:c}}
;function HJa(a){return function(b){return b.pipe(iIa(a),ex(function(c){var d=k(c);c=d.next().value;d=d.next().value;var e=c.value;return{timestamp:c.timestamp,value:1<=e?!0:0>=e?!1:e>=d}}))}}
;var IJa=ex(function(a){return"geo"===a.value.elementGeometrySourceName?a.value.viewportGeometrySourceName:a.value.elementGeometrySourceName});var JJa=Ky(Kw(ex(function(a){return a.intersectionGeometry.width*a.intersectionGeometry.height/(a.exposedViewportLocalGeometry.width*a.exposedViewportLocalGeometry.height)}),ex(function(a){return isFinite(a)?Math.min(1,a):0})));function KJa(a,b,c){return a?kx([b,c]).pipe(xx(function(d){var e=k(d);d=e.next().value;e=e.next().value;return d.timestamp===e.timestamp}),ex(function(d){var e=k(d);
d=e.next().value;e=e.next().value;return d.value>e.value?d:e})):b}
function LJa(a){return function(b){var c=b.pipe(FJa),d=b.pipe(JJa);return a.pipe(fy(function(e){return KJa(e,c,d)}))}}
;function MJa(a,b,c){var d=c.geometryIsOccluded,e=c.exposureThreshold,h=c.wasLargeAdAtRender,l=c.allowLargeAdThreshold,m=c.largeAdExposureThreshold,n=c.mayUseViewportShareExposure;c=c.hasMeasurementStarted;var q=NJa(a,b);b=OJa(a,b);var u=PJa(a,d,n,q),w=u.pipe(ex(function(U){return U.value}),Mx(),ny(a.queue),Xx(function(U,ba){return Math.max(U,ba)},0));
h=QJa(a,q,h,l);var A=h.pipe(dy(!1),Mx(),ex(function(U){return U?m:e}));
l=u.pipe(HJa(A),Mx(),ny(a.queue));var E=kx([l,q]).pipe(xx(function(U){var ba=k(U);U=ba.next().value;ba=ba.next().value;return U.timestamp===ba.timestamp}),ex(function(U){var ba=k(U);
U=ba.next().value;ba=ba.next().value;return{visible:U.value,geometry:ba.value.elementGeometry}}),Xx(function(U,ba){return!ba.visible&&U.visible?U:ba},{visible:!1,
geometry:xy}),ex(function(U){return U.geometry}),dy(xy),ny(a.queue),Mx(yy));
n=n.pipe(Mx(),Vx(void 0));A=kx([n,A]).pipe(Vx(void 0));var F=q.pipe(xx(function(U){return"ns"!==U.value.viewportGeometrySourceName&&"ns"!==U.value.elementGeometrySourceName}),Xx(function(U){return U+1},0),dy(0),ny(a.queue)),K=b.pipe(Vx(!0),dy(!1),ny(a.queue));
a=kx([c,K]).pipe(ex(function(U){var ba=k(U);U=ba.next().value;ba=ba.next().value;return U&&!ba}),ny(a.queue));
return{shouldResetExposureSignals:n,shouldResetViewabilitySignals:A,geometrySignals:{readyGeometryWithDefault:q,measurementStrategy:q.pipe(IJa),creativePosition:E.pipe(Mx(yy)),visible:l.pipe(Mx(Ly)),timestampedExposure:u.pipe(Mx(Ly)),maximumExposure:w,browserSize:q.pipe(mJa,Mx(fb)),geometricMeasurementErrors:b,measurementRequests:q.pipe(ex(function(U){return U.value.measurementRequests})),
isLargeAd:h,geometryIsOccluded:d,hasMeasurementStarted:c,geometryMeasurable:a,validMeasurementCount:F}}}
function OJa(a,b){return b.pipe(xx(function(){return!1}),ex(function(c){return c}),Ix(function(c){return oy(a,c)}))}
function NJa(a,b){return b.pipe(ZHa(wx),ny(a.queue)).pipe(Mx(function(c,d){return Ly(c,d,pJa)}),dy({timestamp:a.timeProvider.now(),
value:Jy}),ny(a.queue))}
function PJa(a,b,c,d){c=d.pipe(LJa(c),Ky(ex(function(e){var h=Math.pow(10,2);return Math.round(e*h)/h})),ny(a.queue));
return kx([c,b]).pipe(ex(function(e){var h=k(e);e=h.next().value;h=h.next().value;return{timestamp:Math.max(h.timestamp,e.timestamp),value:h.value?0:e.value}}),Mx(Ly),ny(a.queue))}
function QJa(a,b,c,d){b=b.pipe(ex(function(e){return 242500<=e.value.elementGeometry.width*e.value.elementGeometry.height}));
c=kx([b,c]);return d?c.pipe(ex(function(e){return e.some(function(h){return h})}),dy(!1),Mx(),ny(a.queue)):oy(a,!1)}
;var RJa=function(a,b){var c=this;this.context=a;this.measurementRequestObserver=this.lastMeasurementRequest=null;this.requestSubscription=b.pipe(Mx()).subscribe(function(d){My(c);c.measurementRequestObserver=d})},SJa=function(a,b){My(a);
a.lastMeasurementRequest=a.context.timeProvider.setTimeout(function(){var c;return void(null===(c=a.measurementRequestObserver)||void 0===c?void 0:c.next())},b)},My=function(a){null!==a.lastMeasurementRequest&&a.context.timeProvider.clearTimeout(a.lastMeasurementRequest);
a.lastMeasurementRequest=null};
RJa.prototype.dispose=function(){My(this);this.requestSubscription.unsubscribe();this.measurementRequestObserver=null};function TJa(a,b,c,d,e){var h=void 0===h?new RJa(a,c):h;return new Lw(function(l){var m=b.pipe(dy(void 0),fy(function(){return UJa(d)})).pipe(ex(function(n){var q=n.timestamp,u=n.value;
n=u.visible;u=u.consecutiveViewTime;var w=u>=e;w||!n?My(h):(q=Math.max(0,a.timeProvider.now()-q),SJa(h,Math.max(0,e-u-q)));return w}),Xx(function(n,q){return q||n},!1),Mx()).subscribe(l);
return function(){h.dispose();m.unsubscribe()}}).pipe(hy(function(l){return!l},!0),ny(a.queue))}
function UJa(a){return sHa(a,a.pipe(oJa())).pipe(ex(function(b){var c=k(b);b=c.next().value;c=c.next().value;return{timestamp:b.timestamp,value:{visible:b.value,consecutiveViewTime:c.value}}}),Mx(function(b,c){return Ly(b,c,function(d,e){return d.consecutiveViewTime===e.consecutiveViewTime&&d.visible===e.visible})}))}
;function VJa(){return Kw(EJa(),Xx(function(a,b){return Math.max(a,b)},0),ex(function(a){return Math.round(a)}))}
function WJa(a){return Kw(HJa(Vw(a)),VJa())}
;function XJa(a,b){return b.pipe(fy(function(c){return c?Ww(new Fy(15)):a}))}
;var YJa=function(){};var ZJa=function(a,b){this.context=a;this.strategies=b};
p(ZJa,YJa);ZJa.prototype.buildGeometrySource=function(a,b){var c=this.strategies.map(function(h){return h.buildGeometrySource(a,b)}),d=GJa(c.map(function(h){return h.geometrySource})),e=d.capturedErrors.pipe($Ja());
return{geometrySource:d.chain.pipe(ny(this.context.queue)),additionalOutputs:Object.assign.apply(Object,[{strategyFailureReasons:e,strategyErrors:d.capturedErrors}].concat(ea(c.map(function(h){return h.additionalOutputs}))))}};
var $Ja=function(){return Xx(function(a,b){b instanceof Fy?a.push(b.measurementStrategyFailureReason):a.push(-1);return a},[])};function aKa(a,b){var c=a.pipe(ay(),$w());return fy(function(d){return c.pipe(b(d))})}
;function bKa(a,b){if(a.inCrossDomainIframe)return Ww(new Fy(6));var c=new Pw;return ux(Vw({}),b,c).pipe(ex(function(){return{timestamp:a.timeProvider.now(),value:{viewportGeometrySourceName:"geo",exposedViewportLocalGeometry:cKa(a),topWindowViewportExternalGeometry:Cy(a,!0),measurementRequests:c}}}),my(a.queue))}
function cKa(a){var b=Cy(a,!1);if(!a.inIframe||!vf(a.global.parent)||a.global.parent===a.global)return b;var c=cKa(new By(a.global.parent,a.debugChannel));a=a.global.frameElement.getBoundingClientRect();c=MIa(c,a);return MIa({left:Math.round(c.left+(b.left-a.left)),top:Math.round(c.top+(b.top-a.top)),width:c.width,height:c.height},b)}
;var dKa=function(a,b){this.context=a;this.poller=b};
p(dKa,YJa);dKa.prototype.buildGeometrySource=function(a,b){var c=aKa(bKa(this.context,this.poller),qJa(this.context,b.requestSource));return{geometrySource:XJa(a.measurableCreative.pipe(c),b.inApp),additionalOutputs:{}}};var eKa=function(a,b,c){c=void 0===c?vJa(a,b):c;this.context=a;this.intersectionObserverStrategy=c};
p(eKa,YJa);eKa.prototype.buildGeometrySource=function(a,b){return{geometrySource:XJa(a.measurableCreative.pipe(this.intersectionObserverStrategy,yJa(this.context)),b.inApp),additionalOutputs:{}}};function fKa(a){return a.document.onVisibilityChange.pipe(ex(function(b){return"visible"===b}),Mx(),ny(a.queue))}
;function gKa(a,b,c){var d;return b.pipe(Mx(),fy(function(e){return c.pipe(ex(function(){if(!d){d=!0;try{e.next()}finally{d=!1}}return!0}))}),dy(!1),ny(a.queue))}
;function hKa(a){return Kw(Ky(ex(function(b){return 1<=b?!0:0>=b?!1:b>=a})),DJa(),ex(function(b){return Math.round(b)}))}
;function iKa(a,b,c,d,e,h){var l=jKa,m=Ny.timeThresholdMs;if(1e?encodeURIComponent(RKa(a,b,c,d,e+1)):"...";return encodeURIComponent(String(a))},dz=function(a,b,c){a.allPriorities_.push(b);
a.allPriorityLists_[b]=c};
bz.prototype.addParams=function(a){wf(a,function(b,c){if(null!=b){var d=this.nextPriority_++;dz(this,d,cz(c,b))}},this)};
bz.prototype.getUrl=function(a,b,c,d){a=a+"//"+b+c;var e=SKa(this)-c.length-d.length;if(0>e)return"";this.allPriorities_.sort(function(u,w){return u-w});
c=null;b="";for(var h=0;h=q.length){e-=q.length;a+=q;b=this.paramDelimiter_;break}c=null==c?l:c}}e="";null!=c&&(e=b+"trn="+c);return a+e+d};
var SKa=function(a){var b=1,c;for(c in a.allPriorityLists_)b=c.length>b?c.length:b;return a.maxPathLength_-3-b-a.paramDelimiter_.length-1};
bz.prototype.setMaxPathLength=function(a){this.maxPathLength_=a};var ez=function(a,b){this.urlAndMetadata=a;this.depth=b},UKa=function(){var a=MKa(),b=Math.max(a.length-1,0),c=PKa(a);
a=c.topFullUrl;var d=c.topOriginOnly,e=c.ampCacheUrl,h=[];c=function(m,n){return null==m?n:m};
e&&h.push(new ez([e.url,e.isOriginOnly?2:0],c(e.depth,1)));d&&d!=e&&h.push(new ez([d.url,2],0));a.url&&a!=e&&h.push(new ez([a.url,0],c(a.depth,b)));var l=Sa(h,function(m,n){return h.slice(0,h.length-n)});
!a.url||(e||d)&&a!=e||(d=Afa(a.url))&&l.push([new ez([d,1],c(a.depth,b))]);l.push([]);return Sa(l,function(m){return TKa(b,m)})};
function TKa(a,b){var c=Ta(b,function(e,h){return Math.max(e,h.depth)},-1),d=Xaa(c+2);
d[0]=a;Qa(b,function(e){return d[e.depth+1]=e.urlAndMetadata});
return d}
var VKa=function(){var a=UKa();return Sa(a,function(b){return QKa(b)})};var fz=function(){this.pageVisibility=new JKa;this.performance_=$y()?new az:new Zy},WKa=function(){gz();
var a=se.document;return!!(a&&a.body&&a.body.getBoundingClientRect&&"function"===typeof se.setInterval&&"function"===typeof se.clearInterval&&"function"===typeof se.setTimeout&&"function"===typeof se.clearTimeout)};
fz.prototype.setInterval=function(a,b){return se.setInterval(a,b)};
fz.prototype.clearInterval=function(a){se.clearInterval(a)};
fz.prototype.setTimeout=function(a,b){return se.setTimeout(a,b)};
fz.prototype.clearTimeout=function(a){se.clearTimeout(a)};
var XKa=function(a){gz();var b=Tf()||se;Bf(b,a,!1)};
fz.prototype.getPageSignals=function(){return VKa()};var YKa=function(){};
YKa.prototype.getContext=function(){if(!this.JSC$33485_context_){if(!se)throw Error("Context has not been set and window is undefined.");this.JSC$33485_context_=Ds(fz)}return this.JSC$33485_context_};
YKa.prototype.JSC$33484_setContext=function(a){this.JSC$33485_context_=a};var gz=function(){return Ds(YKa).getContext()};var ZKa=function(a){C.call(this,a)};
p(ZKa,C);f=ZKa.prototype;f.JSC$33487_getAccumulatedTime=function(){return Nd(this,1)};
f.JSC$33487_getUsedHeapSize=function(){return ge(this,2)};
f.JSC$33487_getTotalHeapSize=function(){return ge(this,3)};
f.JSC$33487_getHeapSizeLimit=function(){return ge(this,4)};
f.JSC$33487_getThreadEntryCount=function(){return ge(this,5)};
f.toObject=function(){var a=null!=this?{accumulatedTime:Nd(this,1),usedHeapSize:ge(this,2),totalHeapSize:ge(this,3),heapSizeLimit:ge(this,4),threadEntryCount:ge(this,5)}:void 0;return a};var $Ka=function(a){this.JSC$33490_context_=a;this.enterTime_=-1;this.threadEntryCount_=this.accumulatedTime_=0},hz=function(a,b){return function(c){for(var d=[],e=0;ec.height?n>u?(d=n,e=q):(d=u,e=w):n=this.inherentVisibleGeometryCapability_?a:this;b!==this.effectiveViewportProvider?(this.JSC$33535_isActive_=this.effectiveViewportProvider.JSC$33535_isActive_,vz(this)):this.JSC$33535_isActive_!==this.effectiveViewportProvider.JSC$33535_isActive_&&(this.JSC$33535_isActive_=this.effectiveViewportProvider.JSC$33535_isActive_,vz(this))};
var OLa=function(a,b){var c=!a.currentObservation.equals(b,a.volumeRequired_);a.currentObservation=b;c&&QLa(a)};
uz.prototype.handleViewportObservationUpdate=function(a){a.originatingProvider===this.effectiveViewportProvider&&OLa(this,a)};
uz.prototype.JSC$33574_requiresVolume=function(){return this.volumeRequired_};
uz.prototype.dispose=function(){this.JSC$33535_disposed_=!0};
uz.prototype.isDisposed=function(){return this.JSC$33535_disposed_};var xz=function(a,b,c,d){this.element=a;this.elementGeometry=new yf(0,0,0,0);this.containerGeometry=null;this.frameVisibleGeometry=new yf(0,0,0,0);this.JSC$33539_viewportProvider=b;this.featureSet=c;this.requiresVolume_=d;this.JSC$33539_disposed_=!1;this.isEventBasedMeasurement=!0;this.timestamp=-1;this.currentMeasurement=new pz(b.getViewportObservation(),this.element,this.elementGeometry,new yf(0,0,0,0),0,0,oz(),0)};
f=xz.prototype;f.observe=function(){return!0};
f.JSC$33541_unobserve=function(){};
f.dispose=function(){if(!this.isDisposed()){var a=this.JSC$33539_viewportProvider;Za(a.observationListeners,this);a.volumeRequired_&&this.JSC$33574_requiresVolume()&&PLa(a);this.JSC$33541_unobserve();this.JSC$33539_disposed_=!0}};
f.isDisposed=function(){return this.JSC$33539_disposed_};
f.getLogParams=function(){return this.JSC$33539_viewportProvider.getLogParams()};
f.getVisibleGeometryCapability=function(){return this.JSC$33539_viewportProvider.getVisibleGeometryCapability()};
f.getFailureCode=function(){return this.JSC$33539_viewportProvider.getFailureCode()};
f.hasFailed=function(){return this.JSC$33539_viewportProvider.hasFailed()};
f.handleViewportProviderStatusUpdate=function(){};
f.handleViewportObservationUpdate=function(){this.calculateMeasurement()};
f.JSC$33574_requiresVolume=function(){return this.requiresVolume_};var yz=function(a){this.JSC$33542_disposed_=!1;this.JSC$33542_viewportProvider=a;this.failureCallback=ya};
f=yz.prototype;f.getVisibleGeometryCapability=function(){return this.JSC$33542_viewportProvider.getVisibleGeometryCapability()};
f.getFailureCode=function(){return this.JSC$33542_viewportProvider.getFailureCode()};
f.hasFailed=function(){return this.JSC$33542_viewportProvider.hasFailed()};
f.create=function(a,b,c){var d=null;this.JSC$33542_viewportProvider&&(d=this.JSC$33544_createInstance(a,b,c),wz(this.JSC$33542_viewportProvider,d));return d};
f.JSC$33544_shouldBeUsedForMeasurement=function(){return this.JSC$33544_canBeUsed()};
f.JSC$33544_canBeUsed=function(){return!1};
f.init=function(a){return this.JSC$33542_viewportProvider.initialize()?(wz(this.JSC$33542_viewportProvider,this),this.failureCallback=a,!0):!1};
f.handleViewportProviderStatusUpdate=function(a){0==a.getVisibleGeometryCapability()&&this.failureCallback(a.getFailureCode(),this)};
f.handleViewportObservationUpdate=function(){};
f.JSC$33574_requiresVolume=function(){return!1};
f.dispose=function(){this.JSC$33542_disposed_=!0};
f.isDisposed=function(){return this.JSC$33542_disposed_};
f.getLogParams=function(){return{}};var zz=function(a,b,c){this.priority_=void 0===c?0:c;this.JSC$33545_key_=a;this.JSC$33545_value_=null==b?"":b};
zz.prototype.getParameter=function(){return this.JSC$33545_key_};
zz.prototype.JSC$33547_getPriority=function(){return this.priority_};
var RLa=function(a){switch(Math.trunc(a.priority_)){case-16:return-16;case-8:return-8;case 0:return 0;case 8:return 8;case 16:return 16;default:return 16;}},SLa=function(a,b){return a.priority_b.priority_?!1:a.JSC$33545_key_b.JSC$33545_key_?!1:typeof a.JSC$33545_value_typeof b.JSC$33545_value_?!1:a.JSC$33545_value_=l;l=!(0=l)||c;this.buckets_[e].update(h&&m,d,!h||l)}};
var Iz=function(a,b,c){a=Sa(a.buckets_,function(d){return b(d)});
return c?a:nMa(a)},iMa=function(a,b,c){var d=Oaa(a.thresholds_,function(e){return b<=e});
return-1==d?0:c(a.buckets_[d])},nMa=function(a){return Sa(a,function(b,c,d){return 0c++;){if(a===b)return!0;try{if(a=ffa(a)||a){var d=Qe(a),e=d&&Ze(d),h=e&&e.frameElement;h&&(a=h)}}catch(l){break}}return!1}
function sMa(a,b,c){if(!a||!b)return!1;b=a.clone().translate(-b.left,-b.top);a=(b.left+b.right)/2;b=(b.top+b.bottom)/2;var d=Tf();vf(d.top)&&d.top&&d.top.document&&(d=d.top);if(!wLa(d))return!1;a=d.document.elementFromPoint(a,b);if(!a)return!1;b=(b=(b=Qe(c))&&b.defaultView&&b.defaultView.frameElement)&&rMa(b,a);d=a===c;a=!d&&a&&rf(a,function(e){return e===c});
return!(b||d||a)}
function tMa(a,b,c,d){return sz().insideCrossDomainIframe?!1:0>=a.getWidth()||0>=a.getHeight()?!0:c&&d?nLa(208,function(){return sMa(a,b,c)}):!1}
;var uMa=new yf(0,0,0,0),Kz=function(a,b,c){gg.call(this);this.position=uMa.clone();this.measurementData=new oMa;this.loadTimeExposure=-2;this.timeCreated=Date.now();this.timestampViewedByUser=-1;this.lastUpdateTime=b;this.lastMeasurement_=null;this.elementLoaded_=!1;this.offsetInViewport=null;this.opacity=-1;this.requestSource=c;this.unmeasurableImpressionCallback=this.measurementUpdateCallback=ya;this.creativeSearchResults=new EKa;this.creativeSearchResults.markedUpElement=a;this.creativeSearchResults.monitoredElement=
a;this.isUnmeasurableImpression=!1;this.contextualEventHandlers_={mouseOver:null,mouseOut:null};this.shouldSendTimeOnScreenPing=!0;this.strategyVerifier_=null;this.inFullscreenMode=this.isPedestalAd=!1;this.adBlockId=iz().nextAdBlockId++;this.lastComputedExposure_=0;this.lastAdState=new Py;this.timeLastSeen=this.timeFirstSeen=-1;this.hoverTime_=0;this.hoverStartTime_=-1;this.measurementStrategy=null;this.visibleBox=new yf(0,0,0,0);this.isCoReRequest=!1;a=this.featureSet=new Ty;Uy(a,"od",rKa);Sy(Uy(a,
"opac",Qy));Sy(Uy(a,"sbeos",Qy));Sy(Uy(a,"prf",Qy));Sy(Uy(a,"mwt",Qy));Uy(a,"iogeo",Qy);(a=this.creativeSearchResults.markedUpElement)&&a.getAttribute&&TIa(a,"googleAvInapp")&&(sz().inAppContext=!0);1==this.requestSource?(a=this.featureSet.features_.od)&&a.setValue(1):(a=this.featureSet.features_.od)&&a.setValue(0)};
p(Kz,gg);
Kz.prototype.disposeInternal=function(){vMa(this);this.strategyVerifier_&&this.strategyVerifier_.dispose();this.measurementStrategy&&this.measurementStrategy.dispose();delete this.measurementData;delete this.measurementUpdateCallback;delete this.unmeasurableImpressionCallback;delete this.creativeSearchResults.markedUpElement;delete this.creativeSearchResults.monitoredElement;delete this.contextualEventHandlers_;delete this.strategyVerifier_;delete this.measurementStrategy;delete this.featureSet;gg.prototype.disposeInternal.call(this)};
Kz.prototype.getMeasurementStrategy=function(){return this.measurementStrategy};
var Lz=function(a){return a.measurementStrategy?a.measurementStrategy.elementGeometry:a.position};
f=Kz.prototype;f.getContainerPosition=function(){return this.measurementStrategy?this.measurementStrategy.containerGeometry:null};
f.JSC$33587_processActiveViewMetadata=function(a){var b=iz();"string"===typeof a&&0!=a.length&&(b.messagedActiveViewMetadata=BKa(b.featureSet,a))};
f.JSC$33587_requiresVolume=function(){return!1};
f.setElementLoaded=function(){this.elementLoaded_=!0};
f.isReadyForMeasurement=function(){return this.elementLoaded_};
f.resetFractionOnScreenValues=function(){this.lastAdState.exposure=0};
f.resetTimeOnScreenTimers=function(){this.measurementData=new oMa};
f.setFullscreenMode=function(a){if(a!=this.inFullscreenMode){this.inFullscreenMode=a;var b=sz();a?b.fullscreenAdblockCount_++:0=(this.isLargeAd()?.3:.5),this.measurementData.update(h,e,this.lastAdState,d),this.lastUpdateTime=b,0=Jz(Lz(a))?!1:MMa(a)&&!a.cpmavViewUrlInvoked};
f=Oz.prototype;f.updateElementToMeasure=function(a){vMa(this);this.creativeSearchResults.monitoredElement=a;zMa(this);FMa(this,a);if(this.measurementStrategy){var b=this.measurementStrategy;b.JSC$33541_unobserve();b.element=a;b.observe();b.calculateMeasurement()}};
f.shouldSendImmediatePing=function(){return this.immediatePingEnabled&&!0};
f.isGpt=function(){return 3==this.requestSource};
f.setRecheckedActiveViewDivs=function(){this.recheckedActiveViewDivs_=!0};
f.setRenderStartTimeFromEpoch=function(a){-1==this.timeRenderStartedFromEpoch_&&(this.timeRenderStartedFromEpoch_=a)};
f.setAdDomLoadingTime=function(a){-1==this.timeAdDomLoadingFromEpoch_&&(this.timeAdDomLoadingFromEpoch_=this.timeRenderStartedFromEpoch_+a)};
f.setScrollDepthAtRenderStart=function(a){this.renderStartScrollDepth_=a};
f.getScrollDepthAtRenderStart=function(){return this.renderStartScrollDepth_};
f.JSC$33587_requiresVolume=function(){return!1};
f.hasMetricsChangeListener=function(){return void 0!==this.metricsChangeCallback_};var PMa=function(a){this.JSC$33604_reporter_=a;this.key="goog_adspeed";this.validEvents=[3,4];this.cachedPayload_=null};
PMa.prototype.JSC$33611_maybeSend=function(a,b,c){if(!Ya(this.validEvents,c)||!new Yy(a.adk,null).isValid())return!1;c={};c=(c[0]=this.key,c[40]=JSON.stringify(NMa(a)),c);if(this.cachedPayload_&&(0,x.equals)(this.cachedPayload_,c))return!1;this.cachedPayload_=c;var d={};(0,x.extend)(d,c,b);return this.JSC$33604_reporter_.report(a,0,{urlParams:{},messageParams:d})};var Qz=function(a){this.JSC$33609_reporter_=a;this.key="goog_update_data";this.validEvent=0;this.viewedMessageSent_=!1};
Qz.prototype.JSC$33611_maybeSend=function(a,b,c){if(c!=this.validEvent||!new Yy(a.adk,null).isValid())return!1;c=1==a.listenerMode;var d=Mz(a),e={},h={};b={messageParams:(e[0]=this.key,e[40]=JSON.stringify(NMa(a)),e),urlParams:Object.assign({},b,(h.r=b.r,h))};if(c)return d&&!this.viewedMessageSent_?(this.viewedMessageSent_=d,this.JSC$33609_reporter_.report(a,0,b)):!1;this.viewedMessageSent_=d;return this.JSC$33609_reporter_.report(a,0,b)};var QMa=function(a){Qz.call(this,a);this.key="goog_image_request";this.validEvent=2};
p(QMa,Qz);var RMa=function(a){Qz.call(this,a);this.key="goog_image_request";this.validEvent=1};
p(RMa,Qz);RMa.prototype.JSC$33611_maybeSend=function(a,b,c){var d=!a.activeviewPingSent;if(Mz(a)&&a.shouldSendTimeOnScreenPing||d){if(b=Qz.prototype.JSC$33611_maybeSend.call(this,a,b,c))if(Mz(a)||(a.activeviewPingSent=!0),Mz(a)||a.shouldSendTimeOnScreenPing)a.shouldSendTimeOnScreenPing=!1;return b}return!1};var Rz=function(a,b,c,d){xz.call(this,a,b,c,d)};
p(Rz,xz);f=Rz.prototype;f.calculateElementGeometry=function(){if(this.element){var a=this.element,b=this.JSC$33539_viewportProvider.effectiveViewportProvider.JSC$33535_win;try{try{var c=DLa(a.getBoundingClientRect())}catch(q){c=new yf(0,0,0,0)}var d=c.right-c.left,e=c.bottom-c.top,h=Jf(a,b),l=h.x,m=h.y;var n=new yf(Math.round(m),Math.round(l+d),Math.round(m+e),Math.round(l))}catch(q){n=pMa.clone()}this.elementGeometry=n}};
f.calculateFrameVisibleGeometry=function(){this.frameVisibleGeometry=this.JSC$33539_viewportProvider.getViewportObservation().JSC$33519_visibleGeometry};
f.isElementHidden=function(a){var b=1==Vy(this.featureSet,"od");return tMa(a,this.frameVisibleGeometry,this.element,b)};
f.calculateMeasurement=function(){this.timestamp=oz();this.calculateElementGeometry();if(this.element&&"number"===typeof this.element.videoWidth&&"number"===typeof this.element.videoHeight){var a=this.element,b=new Oe(a.videoWidth,a.videoHeight);this.containerGeometry=this.elementGeometry;a=this.elementGeometry;var c=a.getWidth(),d=a.getHeight(),e=b.width;b=b.height;0>=e||0>=b||0>=c||0>=d||(e/=b,b=c/d,a=a.clone(),e>b?(c/=e,d=(d-c)/2,0=a.bottom||a.left>=a.right?new yf(0,0,0,0):a;a=this.JSC$33539_viewportProvider.getViewportObservation();
b=e=d=0;0<(this.elementGeometry.bottom-this.elementGeometry.top)*(this.elementGeometry.right-this.elementGeometry.left)&&(this.isElementHidden(c)?c=new yf(0,0,0,0):(d=sz().screenSize,b=new yf(0,d.height,d.width,0),d=qMa(c,this.elementGeometry),e=qMa(c,sz().browserViewportBox),b=qMa(c,b)));c=c.top>=c.bottom||c.left>=c.right?new yf(0,0,0,0):c.translate(-this.elementGeometry.left,-this.elementGeometry.top);MLa()||(e=d=0);this.currentMeasurement=new pz(a,this.element,this.elementGeometry,c,d,e,this.timestamp,
b)};
f.getName=function(){return this.JSC$33539_viewportProvider.getName()};var Sz=function(){this.videoInstreamAdBlocks_=[];this.displayAdBlocks_=[]};
Sz.prototype.findDisplayAdBlockByAdBlockId=function(a){return Xa(this.displayAdBlocks_,function(b){return a.matches(new Yy(b.adk,null))})};
var SMa=function(a,b){return b?Xa(a.displayAdBlocks_,function(c){return c.creativeSearchResults.markedUpElement==b}):null},TMa=function(a,b){return Xa(a.videoInstreamAdBlocks_,function(c){return c.queryID==b})},UMa=function(a,b){return b?Xa(a.videoInstreamAdBlocks_,function(c){return c.creativeSearchResults.markedUpElement==b}):null},VMa=function(a){return Xa(a.displayAdBlocks_,function(){return!1})};
Sz.prototype.findAdBlockByQueryID=function(a){return TMa(this,a)||VMa(this)};
var Tz=function(a){return 0==a.videoInstreamAdBlocks_.length?a.displayAdBlocks_:0==a.displayAdBlocks_.length?a.videoInstreamAdBlocks_:Raa(a.displayAdBlocks_,a.videoInstreamAdBlocks_)};
Sz.prototype.reset=function(){this.videoInstreamAdBlocks_=[];this.displayAdBlocks_=[]};
Sz.prototype.addVideoAdBlock=function(a){this.videoInstreamAdBlocks_.push(a)};
var WMa=function(a,b){a=a.displayAdBlocks_;var c=Naa(a,function(d){return d==b});
return-1!=c?(a.splice(c,1),b.measurementStrategy&&b.measurementStrategy.JSC$33541_unobserve(),b.dispose(),!0):!1},XMa=function(a){var b=Uz;
if(WMa(b,a)){a=function(){return null};
a=function(){return VMa(b)};
for(var c=a();c;c=a())WMa(b,c)}};
Sz.prototype.mergeIntoVideoAdBlocks=function(a,b){var c=this;a=Ra(a,(void 0===b?0:b)?function(d){return!TMa(c,d.queryID)}:function(d){return!UMa(c,d.creativeSearchResults.markedUpElement)});
this.videoInstreamAdBlocks_.push.apply(this.videoInstreamAdBlocks_,ea(a));return a};
var YMa=function(a){var b=Uz,c=[];Qa(a,function(d){d.creativeSearchResults.markedUpElement&&null==SMa(b,d.creativeSearchResults.markedUpElement)&&(b.displayAdBlocks_.push(d),c.push(d))})};
Sz.prototype.mergeIntoFlashVideoAdBlocks=function(a){var b=this,c=[];Qa(a,function(d){Ua(b.videoInstreamAdBlocks_,function(e){return e.creativeSearchResults.markedUpElement===d.creativeSearchResults.markedUpElement&&e.sdkID===d.sdkID&&e.queryID===d.queryID})||(b.videoInstreamAdBlocks_.push(d),c.push(d))});
return c};
Sz.prototype.hasAdBlockInFullscreenMode=function(){return Ua(Tz(this),function(a){return a.inFullscreenMode})};
var Uz=Ds(Sz);var Vz=function(a,b,c,d){xz.call(this,a,b,c,d);this.currentMeasurement=new pz(b.getViewportObservation(),this.element,new yf(0,0,0,0),new yf(0,0,0,0),1,1,oz(),1)};
p(Vz,xz);Vz.prototype.getName=function(){return"a100"};
Vz.prototype.calculateMeasurement=function(){this.currentMeasurement=new pz(this.JSC$33539_viewportProvider.getViewportObservation(),this.element,new yf(0,0,0,0),new yf(0,0,0,0),1,1,oz(),1)};var Wz=function(a){yz.call(this,new uz(a,2))};
p(Wz,yz);Wz.prototype.getName=function(){return"a100"};
Wz.prototype.JSC$33544_shouldBeUsedForMeasurement=function(){return!0};
Wz.prototype.JSC$33544_createInstance=function(a,b,c){return new Vz(a,this.JSC$33542_viewportProvider,b,c)};var Xz=function(a,b,c,d){xz.call(this,a,b,c,d);this.isEventBasedMeasurement_=!1;this.JSC$33633_screenShare_=this.JSC$33633_visibleFraction_=0};
p(Xz,xz);Xz.prototype.handleExternalMeasurement=function(a){var b=a.position;this.elementGeometry=new yf(b.top,b.right,b.bottom,b.left);this.JSC$33633_visibleFraction_=a.exposure||0;this.JSC$33633_screenShare_=a.screenShare;b=sz();var c=a.insideIframe;void 0!==c&&0==c&&(b.insideCrossDomainIframe=!1);a.documentSize&&(b.documentSize=new Oe(a.documentSize.width,a.documentSize.height));a.viewportSize&&(b.browserViewportBox=new yf(0,a.viewportSize.width,a.viewportSize.height,0))};
Xz.prototype.getName=function(){return"exc"};
Xz.prototype.calculateMeasurement=function(){this.currentMeasurement=new pz(this.JSC$33539_viewportProvider.getViewportObservation(),this.element,this.elementGeometry,new yf(0,0,0,0),this.JSC$33633_visibleFraction_,0,oz(),this.JSC$33633_screenShare_)};var Yz=function(){yz.call(this,new uz(se,2))};
p(Yz,yz);Yz.prototype.getName=function(){return"exc"};
Yz.prototype.JSC$33544_shouldBeUsedForMeasurement=function(){return!0};
Yz.prototype.JSC$33544_canBeUsed=function(){return!0};
Yz.prototype.JSC$33544_createInstance=function(a,b,c){return new Xz(a,this.JSC$33542_viewportProvider,b,c)};var Zz=function(){this.JSC$33639_selectedStrategy_=this.availableStrategies_=null},ZMa=function(a,b){if(null==a.availableStrategies_)return!1;
var c=function(d,e){b(d,e)};
a.JSC$33639_selectedStrategy_=Xa(a.availableStrategies_,function(d){return null!=d&&d.JSC$33544_shouldBeUsedForMeasurement()});
a.JSC$33639_selectedStrategy_&&(a.JSC$33639_selectedStrategy_.init(c)?NLa(a.JSC$33639_selectedStrategy_.JSC$33542_viewportProvider):b(a.JSC$33639_selectedStrategy_.JSC$33542_viewportProvider.getFailureCode(),a.JSC$33639_selectedStrategy_));return null!=a.JSC$33639_selectedStrategy_};var $z=function(a){var b=$Ma(a);yz.call(this,b.length?b[b.length-1]:new uz(se,0));this.selectedProviders_=b;this.activeProvider_=null;this.availableProviders_=a};
p($z,yz);f=$z.prototype;f.getAvailableProviders=function(){return[].concat(this.availableProviders_)};
f.getName=function(){return(this.activeProvider_?this.activeProvider_:this.JSC$33542_viewportProvider).getName()};
f.getLogParams=function(){return(this.activeProvider_?this.activeProvider_:this.JSC$33542_viewportProvider).getLogParams()};
f.getVisibleGeometryCapability=function(){return(this.activeProvider_?this.activeProvider_:this.JSC$33542_viewportProvider).getVisibleGeometryCapability()};
f.init=function(a){var b=!1;Qa(this.selectedProviders_,function(c){c.initialize()&&(b=!0)});
b&&(this.failureCallback=a,wz(this.JSC$33542_viewportProvider,this));return b};
f.dispose=function(){Qa(this.selectedProviders_,function(a){a.dispose()});
yz.prototype.dispose.call(this)};
f.JSC$33544_shouldBeUsedForMeasurement=function(){return Ua(this.selectedProviders_,function(a){return a.JSC$33537_canBeUsed()})};
f.JSC$33544_canBeUsed=function(){return Ua(this.selectedProviders_,function(a){return a.JSC$33537_canBeUsed()})};
f.JSC$33544_createInstance=function(a,b,c){return new Rz(a,this.JSC$33542_viewportProvider,b,c)};
f.handleViewportObservationUpdate=function(a){this.activeProvider_=a.originatingProvider};
var $Ma=function(a){if(!a.length)return[];a=Ra(a,function(c){return null!=c&&c.JSC$33537_canBeUsed()});
for(var b=1;b
c.time?b:c},a[0])};
f=aA.prototype;f.calculateMeasurement=function(){var a=cNa(this);0this.effectiveViewportProvider.inherentVisibleGeometryCapability_&&(this.effectiveViewportProvider=this,vz(this)),this.inherentVisibleGeometryCapability_=a);return 2==a};
var eNa=function(){iz();var a=sz();return a.insideCrossDomainIframe||a.inAppContext?0:2};var fNa={},gNa=(fNa[1]=function(){return new cA},fNa[2]=function(){return new $z([Ds(dA)])},fNa);var hNa=function(){this.JSC$33659_selectedStrategy_=null;this.strategyMap_=gNa};
hNa.prototype.JSC$33661_selectStrategy=function(){a:{var a=Vy(iz().featureSet,"mv");if(null!=a&&(a=this.strategyMap_[a])&&(a=a())&&a.JSC$33544_canBeUsed())break a;a=null}this.JSC$33659_selectedStrategy_=a;return null!=this.JSC$33659_selectedStrategy_};var eA=function(){this.done=!1;this.dbg={adBlocksRegistered:0,adBlocksFound:0,scrollTime:0,displayUpdates:0,initTime:-1,creativeOnLoadSearches:0,creativeOnDCLSearches:0,creativesAfterFirstSearch:0};this.protectedHandleTabVisibilityEvent_=null;this.JSC$33662_isMonitoring=this.startMonitored_=!1;this.JSC$33662_pingId_="";this.currentPageStats_=null;this.tabInViewTime_=0;this.JSC$33662_sampler=new tz(this)},jNa=function(){var a=fA;
a.startMonitored_||(a.startMonitored_=!0,iNa(a,function(b){for(var c=[],d=0;d
h.length)mA("n");else{oNa();var l=Ds(Zz);if(null==l.availableStrategies_){var m=INa();l.availableStrategies_=m}ZMa(l,function(n,q){nA(n,q)})?fA.done||(JNa(),pNa(),jNa()):c.inAppContext?nA("w"):nA("i")}}else nA("pv")}}catch(n){throw Uz.reset(),mA("x"),n;
}};
var KNa=function(a){var b=Uz.displayAdBlocks_;iz().unmeasurableReason=a;Qa(b,function(c){return c.isUnmeasurableImpression=!0})},JNa=function(){gz().setTimeout(oLa(176,function(){return mA("t")}),36E5)},nA=function(a,b){KNa(a);
mA(a,b)},mA=function(a,b){var c=iz();
if(1===Vy(c.featureSet,"omid")){if("w"!==a&&"i"!==a)return}else if(c.isSellsideGma)return;fA.JSC$33662_sampler.cancel();if(!fA.done&&(c=Uz.displayAdBlocks_,gA(fA,c,!0),!fA.done)){var d=Ra(c,function(h){return!h.activeviewPingSent}),e={};
a=(e.r=a,e);b&&x.extend(a,b.getLogParams());fA.dbg.adBlocksRegistered=se.__google_lidar_;e=hA(fA,se,!1);x.extend(a,e);0==d.length||DNa(d,a,b);ENa(c,a);fA.done=!0}},LNa=function(a,b,c,d){var e=new tNa,h=new vNa,l=iz(),m=new Oz(se,"",b,d,c,ya,[],[new kA(new zNa(e,h))]);
c=l.monitor_.stopwatch_;AMa(m,hz(c,function(n){for(var q=[],u=0;u>>3;1!=h.tag_&&2!=h.tag_&&15!=h.tag_&&zC(h,l,m,"unexpected tag");h.JSC$34079_state_=1;h.length_=0;h.countLengthBytes_=0}
function c(n){h.countLengthBytes_++;5==h.countLengthBytes_&&n&240&&zC(h,l,m,"message length too long");h.length_|=(n&127)<<7*(h.countLengthBytes_-1);n&128||(h.JSC$34079_state_=2,h.countMessageBytes_=0,"undefined"!==typeof Uint8Array?h.messageBuffer_=new Uint8Array(h.length_):h.messageBuffer_=Array(h.length_),0==h.length_&&e())}
function d(n){h.messageBuffer_[h.countMessageBytes_++]=n;h.countMessageBytes_==h.length_&&e()}
function e(){if(15>h.tag_){var n={};n[h.tag_]=h.messageBuffer_;h.JSC$34079_result_.push(n)}h.JSC$34079_state_=0}
for(var h=this,l=a instanceof Array?a:new Uint8Array(a),m=0;mb||3==b&&!e&&0==a.length))if(d=200==d||206==d,4==b&&(8==c?GC(this,7):7==c?GC(this,
8):d||GC(this,3)),this.JSC$34093_parser_||(this.JSC$34093_parser_=QQa(this.JSC$34093_xhr_),null==this.JSC$34093_parser_&&GC(this,5)),2this.JSC$34093_pos_){var l=a.length;c=[];try{if(this.JSC$34093_parser_.acceptsBinaryInput())for(var m=0;mthis.JSC$34093_pos_){m=e.substr(this.JSC$34093_pos_);this.JSC$34093_pos_=e.length;try{var q=this.JSC$34093_parser_.parse(m);null!=q&&this.dataHandler_&&this.dataHandler_(q)}catch(u){GC(this,5);HC(this);break a}}4==b?(0!=e.length||this.hasStreamingResponseData_?
GC(this,2):GC(this,4),HC(this)):GC(this,1)}}}catch(u){GC(this,6),HC(this)}};var IC=function(a){this.JSC$34097_logger_=null;this.xhrReader_=a;a=Ea(this.onData_,this);this.xhrReader_.dataHandler_=a;a=Ea(this.onStatusChange_,this);this.xhrReader_.statusHandler_=a;this.JSC$34097_callbackMap_={};this.callbackOnceMap_={}};
f=IC.prototype;f.on=function(a,b){var c=this.JSC$34097_callbackMap_[a];c||(c=[],this.JSC$34097_callbackMap_[a]=c);c.push(b);return this};
f.addListener=function(a,b){this.on(a,b);return this};
f.removeListener=function(a,b){var c=this.JSC$34097_callbackMap_[a];c&&Za(c,b);(a=this.callbackOnceMap_[a])&&Za(a,b);return this};
f.once=function(a,b){var c=this.callbackOnceMap_[a];c||(c=[],this.callbackOnceMap_[a]=c);c.push(b);return this};
f.onData_=function(a){var b=this.JSC$34097_callbackMap_.data;b&&RQa(a,b);(b=this.callbackOnceMap_.data)&&RQa(a,b);this.callbackOnceMap_.data=[]};
var RQa=function(a,b){for(var c={},d=0;dc&&(a.currentMaxDelayMs_=c))}a.inRetryMode_=!0;return b};var cD=function(a){C.call(this,a)};
p(cD,C);f=cD.prototype;f.JSC$34247_getVersion=function(){return D(this,1)};
f.JSC$34247_clearVersion=function(){return Qd(this,1)};
f.JSC$34247_hasVersion=function(){return Ed(this,1)};
f.getLibrary=function(){return D(this,2)};
f.clearLibrary=function(){return Qd(this,2)};
f.hasLibrary=function(){return Ed(this,2)};
f.getBuildBaselineChangelist=function(){return D(this,3)};
f.setBuildBaselineChangelist=function(a){return Hd(this,3,a)};
f.clearBuildBaselineChangelist=function(){return Qd(this,3)};
f.hasBuildBaselineChangelist=function(){return Ed(this,3)};
f.JSC$34247_serializeBinary=function(){var a=new $c;tSa(this,a);return fd(a)};
var tSa=function(a,b){jd(b,1,D(a,1));nd(b,2,D(a,2));id(b,3,D(a,3));pe(a,b)};
cD.prototype.toObject=function(){return uSa(void 0,this)};
var uSa=function(a,b){if(null!=b){var c,d={version:null==(c=D(b,1))?void 0:c,library:null==(c=D(b,2))?void 0:c,buildBaselineChangelist:null==(c=D(b,3))?void 0:c};a&&(d.$jspbMessageInstance=b);return d}};var dD=function(a){C.call(this,a,-1,vSa)};
p(dD,C);dD.prototype.setPartsList=function(a){return Ud(this,1,a)};
dD.prototype.addAndReturnParts=function(a,b){return be(this,1,a,eD,b)};
dD.prototype.clearPartsList=function(){return Vd(this,1)};
dD.prototype.JSC$34251_serializeBinary=function(){var a=new $c;fD(this,a);return fd(a)};
var fD=function(a,b){rd(b,1,$d(a,eD,1),wSa);pe(a,b)},eD=function(a){C.call(this,a)};
p(eD,C);f=eD.prototype;f.clearBytesDecreasing=function(){return Qd(this,5)};
f.hasBytesDecreasing=function(){return Gd(this,5,gD)};
f.clearSignedNumDecreasing=function(){return Qd(this,4)};
f.hasSignedNumDecreasing=function(){return Gd(this,4,gD)};
f.clearStringDecreasing=function(){return Qd(this,3)};
f.hasStringDecreasing=function(){return Gd(this,3,gD)};
f.clearNumDecreasing=function(){return Qd(this,6)};
f.hasNumDecreasing=function(){return Gd(this,6,gD)};
f.clearBytes=function(){return Qd(this,7)};
f.JSC$34254_hasBytes=function(){return Gd(this,7,gD)};
f.clearSignedNumIncreasing=function(){return Qd(this,2)};
f.hasSignedNumIncreasing=function(){return Gd(this,2,gD)};
f.clearString=function(){return Qd(this,1)};
f.hasString=function(){return Gd(this,1,gD)};
f.clearNumIncreasing=function(){return Qd(this,8)};
f.hasNumIncreasing=function(){return Gd(this,8,gD)};
f.clearDoubleDecreasing=function(){return Qd(this,9)};
f.hasDoubleDecreasing=function(){return Gd(this,9,gD)};
f.clearDoubleIncreasing=function(){return Qd(this,10)};
f.hasDoubleIncreasing=function(){return Gd(this,10,gD)};
f.clearTimestampDecreasing=function(){return Td(this,11)};
f.hasTimestampDecreasing=function(){return Gd(this,11,gD)};
f.clearTimestampIncreasing=function(){return Td(this,12)};
f.hasTimestampIncreasing=function(){return Gd(this,12,gD)};
f.JSC$34254_serializeBinary=function(){var a=new $c;wSa(this,a);return fd(a)};
var wSa=function(a,b){ld(b,5,D(a,5));od(b,4,D(a,4));b.JSC$30479_writeString(3,D(a,3));pd(b,6,D(a,6));ld(b,7,D(a,7));od(b,2,D(a,2));b.JSC$30479_writeString(1,D(a,1));pd(b,8,D(a,8));gd(b,9,D(a,9));gd(b,10,D(a,10));b.writeMessage(11,je(a,Eu,11,gD),Fu);b.writeMessage(12,je(a,Eu,12,gD),Fu);pe(a,b)},vSa=[1];
dD.prototype.toObject=function(){return hD(void 0,this)};
var hD=function(a,b){if(null!=b){var c={partsList:oe($d(b,eD,1),xSa,a)};a&&(c.$jspbMessageInstance=b);return c}},gD=[5,
4,3,6,7,2,1,8,9,10,11,12];eD.prototype.toObject=function(){return xSa(void 0,this)};
var xSa=function(a,b){if(null!=b){var c,d={bytesDecreasing:null==(c=qe(he(b,5,gD)))?void 0:c,signedNumDecreasing:null==(c=he(b,4,gD))?void 0:c,stringDecreasing:null==(c=he(b,3,gD))?void 0:c,numDecreasing:null==(c=he(b,6,gD))?void 0:c,bytes:null==(c=qe(he(b,7,gD)))?void 0:c,signedNumIncreasing:null==(c=he(b,2,gD))?void 0:c,string:null==(c=he(b,1,gD))?void 0:c,numIncreasing:null==(c=he(b,8,gD))?void 0:c,doubleDecreasing:null==(c=Jd(b,fe(b,gD,9)))?void 0:c,doubleIncreasing:null==(c=Jd(b,fe(b,gD,10)))?
void 0:c,timestampDecreasing:Gu(a,je(b,Eu,11,gD)),timestampIncreasing:Gu(a,je(b,Eu,12,gD))};a&&(d.$jspbMessageInstance=b);return d}};var iD=function(a){C.call(this,a)};
p(iD,C);f=iD.prototype;f.setObjectPath=function(a){return Sd(this,6,a)};
f.clearObjectPath=function(){return Td(this,6)};
f.hasObjectPath=function(){return Ed(this,6)};
f.JSC$34259_setPayload=function(a){return Hd(this,2,a)};
f.JSC$34259_clearPayload=function(){return Qd(this,2)};
f.JSC$34259_hasPayload=function(){return Ed(this,2)};
f.JSC$34259_setVersion=function(a){return Hd(this,3,a)};
f.JSC$34259_clearVersion=function(){return Qd(this,3)};
f.JSC$34259_hasVersion=function(){return Ed(this,3)};
f.getChangeTimeMicros=function(){return D(this,4)};
f.setChangeTimeMicros=function(a){return Hd(this,4,a)};
f.clearChangeTimeMicros=function(){return Qd(this,4)};
f.hasChangeTimeMicros=function(){return Ed(this,4)};
f.JSC$34259_serializeBinary=function(){var a=new $c;ySa(this,a);return fd(a)};
var ySa=function(a,b){b.writeMessage(6,G(a,dD,6),fD);ld(b,2,D(a,2));od(b,3,D(a,3));cea(b,4,D(a,4));pe(a,b)};
iD.prototype.toObject=function(){return zSa(void 0,this)};
var zSa=function(a,b){if(null!=b){var c,d={objectPath:hD(a,G(b,dD,6)),payload:null==(c=qe(D(b,2)))?void 0:c,version:null==(c=D(b,3))?void 0:c,changeTimeMicros:null==(c=D(b,4))?void 0:c};a&&(d.$jspbMessageInstance=b);return d}};var jD=function(a){C.call(this,a)};
p(jD,C);f=jD.prototype;f.getOwnerCase=function(){return Fd(this,kD)};
f.getIsPublic=function(){return ie(this,1,kD)};
f.clearIsPublic=function(){return Qd(this,1)};
f.hasIsPublic=function(){return Gd(this,1,kD)};
f.getIsPrivateToUser=function(){return ie(this,2,kD)};
f.clearIsPrivateToUser=function(){return Qd(this,2)};
f.hasIsPrivateToUser=function(){return Gd(this,2,kD)};
f.getPrivateUserGaiaIdForTest=function(){return he(this,3,kD)};
f.setPrivateUserGaiaIdForTest=function(a){return Zd(this,3,kD,a)};
f.clearPrivateUserGaiaIdForTest=function(){return Qd(this,3)};
f.hasPrivateUserGaiaIdForTest=function(){return Gd(this,3,kD)};
f.JSC$34263_getIsEnd=function(){return ie(this,15,kD)};
f.JSC$34263_setIsEnd=function(a){return Zd(this,15,kD,a)};
f.JSC$34263_clearIsEnd=function(){return Qd(this,15)};
f.JSC$34263_hasIsEnd=function(){return Gd(this,15,kD)};
f.JSC$34263_serializeBinary=function(){var a=new $c;lD(this,a);return fd(a)};
var lD=function(a,b){kd(b,1,D(a,1));kd(b,2,D(a,2));id(b,3,D(a,3));kd(b,15,D(a,15));pe(a,b)},kD=[1,
2,3,15];jD.prototype.toObject=function(){return mD(void 0,this)};
var mD=function(a,b){if(null!=b){var c,d={isPublic:null==(c=ie(b,1,kD))?void 0:c,isPrivateToUser:null==(c=ie(b,2,kD))?void 0:c,privateUserGaiaIdForTest:null==(c=he(b,3,kD))?void 0:c,isEnd:null==(c=ie(b,15,kD))?void 0:c};a&&(d.$jspbMessageInstance=b);return d}};var nD=function(a){C.call(this,a)};
p(nD,C);f=nD.prototype;f.getProjectCase=function(){return Fd(this,oD)};
f.getName=function(){return he(this,1,oD)};
f.clearName=function(){return Qd(this,1)};
f.hasName=function(){return Gd(this,1,oD)};
f.JSC$34267_getIsEnd=function(){return ie(this,2,oD)};
f.JSC$34267_setIsEnd=function(a){return Zd(this,2,oD,a)};
f.JSC$34267_clearIsEnd=function(){return Qd(this,2)};
f.JSC$34267_hasIsEnd=function(){return Gd(this,2,oD)};
f.JSC$34267_serializeBinary=function(){var a=new $c;pD(this,a);return fd(a)};
var pD=function(a,b){b.JSC$30479_writeString(1,D(a,1));kd(b,2,D(a,2));pe(a,b)},oD=[1,
2];nD.prototype.toObject=function(){return qD(void 0,this)};
var qD=function(a,b){if(null!=b){var c,d={name:null==(c=he(b,1,oD))?void 0:c,isEnd:null==(c=ie(b,2,oD))?void 0:c};a&&(d.$jspbMessageInstance=b);return d}};var rD=function(a){C.call(this,a)};
p(rD,C);f=rD.prototype;f.JSC$34271_clearProject=function(){return Td(this,1)};
f.JSC$34271_hasProject=function(){return Ed(this,1)};
f.JSC$34271_clearOwner=function(){return Td(this,2)};
f.JSC$34271_hasOwner=function(){return Ed(this,2)};
f.getPath=function(){return G(this,dD,3)};
f.clearPath=function(){return Td(this,3)};
f.JSC$34271_hasPath=function(){return Ed(this,3)};
f.JSC$34271_serializeBinary=function(){var a=new $c;ASa(this,a);return fd(a)};
var ASa=function(a,b){b.writeMessage(1,G(a,nD,1),pD);b.writeMessage(2,G(a,jD,2),lD);b.writeMessage(3,a.getPath(),fD);pe(a,b)};
rD.prototype.toObject=function(){return BSa(void 0,this)};
var BSa=function(a,b){if(null!=b){var c={project:qD(a,G(b,nD,1)),owner:mD(a,G(b,jD,2)),path:hD(a,b.getPath())};a&&(c.$jspbMessageInstance=b);return c}};var sD=function(a){C.call(this,a)};
p(sD,C);f=sD.prototype;f.JSC$34275_clearProject=function(){return Td(this,1)};
f.JSC$34275_hasProject=function(){return Ed(this,1)};
f.JSC$34275_clearOwner=function(){return Td(this,2)};
f.JSC$34275_hasOwner=function(){return Ed(this,2)};
f.JSC$34275_clearPrefix=function(){return Td(this,3)};
f.JSC$34275_hasPrefix=function(){return Ed(this,3)};
f.JSC$34275_serializeBinary=function(){var a=new $c;CSa(this,a);return fd(a)};
var CSa=function(a,b){b.writeMessage(1,G(a,nD,1),pD);b.writeMessage(2,G(a,jD,2),lD);b.writeMessage(3,G(a,dD,3),fD);pe(a,b)};
sD.prototype.toObject=function(){return DSa(void 0,this)};
var DSa=function(a,b){if(null!=b){var c={project:qD(a,G(b,nD,1)),owner:mD(a,G(b,jD,2)),prefix:hD(a,G(b,dD,3))};a&&(c.$jspbMessageInstance=b);return c}};var tD=function(a){C.call(this,a)};
p(tD,C);f=tD.prototype;f.JSC$34279_setProject=function(a){return Sd(this,3,a)};
f.JSC$34279_clearProject=function(){return Td(this,3)};
f.JSC$34279_hasProject=function(){return Ed(this,3)};
f.JSC$34279_setOwner=function(a){return Sd(this,4,a)};
f.JSC$34279_clearOwner=function(){return Td(this,4)};
f.JSC$34279_hasOwner=function(){return Ed(this,4)};
f.setMinPath=function(a){return Sd(this,5,a)};
f.clearMinPath=function(){return Td(this,5)};
f.hasMinPath=function(){return Ed(this,5)};
f.setMaxPath=function(a){return Sd(this,6,a)};
f.clearMaxPath=function(){return Td(this,6)};
f.hasMaxPath=function(){return Ed(this,6)};
f.JSC$34279_serializeBinary=function(){var a=new $c;ESa(this,a);return fd(a)};
var ESa=function(a,b){b.writeMessage(3,G(a,nD,3),pD);b.writeMessage(4,G(a,jD,4),lD);b.writeMessage(5,G(a,dD,5),fD);b.writeMessage(6,G(a,dD,6),fD);pe(a,b)};
tD.prototype.toObject=function(){return FSa(void 0,this)};
var FSa=function(a,b){if(null!=b){var c={project:qD(a,G(b,nD,3)),owner:mD(a,G(b,jD,4)),minPath:hD(a,G(b,dD,5)),maxPath:hD(a,G(b,dD,6))};a&&(c.$jspbMessageInstance=b);return c}};var GSa=function(a,b,c){var d=Mc.prototype.readMessage,e=$c.prototype.writeMessageSet;this.fieldInfo=a;this.binaryReaderFn=d;this.binaryWriterFn=e;this.wireTypes=[2];this.binaryMessageSerializeFn=b;this.binaryMessageDeserializeFn=c};var uD=function(a){C.call(this,a,1)};
p(uD,C);uD.prototype.JSC$34284_serializeBinary=function(){var a=new $c;HSa(this,a);return fd(a)};
var HSa=function(a,b){pe(a,b,vD)},ISa=function(a,b){for(var c=vD;Oc(b)&&4!=b.nextWireType_;)if(1===b.nextField_&&3===b.nextWireType_){for(var d=0,e=null;Oc(b)&&(0!==b.nextWireType_||0!==b.nextField_);)if(0===b.nextWireType_&&2===b.nextField_)d=b.decoder_.readUnsignedVarint32();else
if(2===b.nextWireType_&&3===b.nextField_)e=Qda(b);else if(4===b.nextWireType_)break;else Oda(b,a);if(1!==b.nextField_||4!==b.nextWireType_||null==e||0==d)throw Error("Malformed binary bytes for message set");var h=c[d];if(h){d=h.fieldInfo;var l=new d.ctor;h.binaryMessageDeserializeFn.call(l,l,new Mc(e));e=a;h=d.fieldIndex;var m=d.ctor;d.isRepeated?m?Ud(e,h,l,!0):Pd(e,h,l,!0):m?Sd(e,h,l,!0):Hd(e,h,l,!0)}}else Oda(b,a);return a},JSa={},vD={};
uD.prototype.toObject=function(){return KSa(void 0,this)};
var KSa=function(a,b){if(null!=b){var c={};oea(b,c,JSa,a);a&&(c.$jspbMessageInstance=b);return c}};var wD=function(a){C.call(this,a)};
p(wD,C);wD.prototype.getReason=function(){return Ld(this,1,0)};
wD.prototype.clearReason=function(){return Qd(this,1)};
wD.prototype.hasReason=function(){return Ed(this,1)};
wD.prototype.JSC$34286_serializeBinary=function(){var a=new $c;LSa(this,a);return fd(a)};
var LSa=function(a,b){nd(b,1,D(a,1));pe(a,b)};
wD.prototype.toObject=function(){return MSa(void 0,this)};
var MSa=function(a,b){if(null!=b){var c,d={reason:null==(c=D(b,1))?void 0:c};a&&(d.$jspbMessageInstance=b);return d}},NSa=new jea(376010773,wD,MSa);
vD[376010773]=new GSa(NSa,LSa,function(a,b){for(;Oc(b);)switch(b.nextTag_){case 8:var c=b.decoder_.readSignedVarint64();Hd(a,1,c);break;default:if(!pea(a,b))return a;}return a});
JSa[376010773]=NSa;var xD=function(a){C.call(this,a)};
p(xD,C);f=xD.prototype;f.getObjectIdsCase=function(){return Fd(this,yD)};
f.JSC$34291_clearHeader=function(){return Td(this,4)};
f.hasHeader=function(){return Ed(this,4)};
f.getStartTimeMicros=function(){return D(this,1)};
f.clearStartTimeMicros=function(){return Qd(this,1)};
f.hasStartTimeMicros=function(){return Ed(this,1)};
f.clearPoint=function(){return Td(this,2)};
f.hasPoint=function(){return Gd(this,2,yD)};
f.JSC$34291_setRange=function(a){return ae(this,3,yD,a)};
f.clearRange=function(){return Td(this,3)};
f.hasRange=function(){return Gd(this,3,yD)};
f.JSC$34291_clearPrefix=function(){return Td(this,6)};
f.JSC$34291_hasPrefix=function(){return Gd(this,6,yD)};
f.getMonitoringTag=function(){return D(this,5)};
f.setMonitoringTag=function(a){return Hd(this,5,a)};
f.clearMonitoringTag=function(){return Qd(this,5)};
f.hasMonitoringTag=function(){return Ed(this,5)};
f.JSC$34291_serializeBinary=function(){var a=new $c;OSa(this,a);return fd(a)};
var OSa=function(a,b){b.writeMessage(4,G(a,cD,4),tSa);cea(b,1,D(a,1));b.writeMessage(2,je(a,rD,2,yD),ASa);b.writeMessage(3,je(a,tD,3,yD),ESa);b.writeMessage(6,je(a,sD,6,yD),CSa);b.JSC$30479_writeString(5,D(a,5));pe(a,b)},yD=[2,
3,6];xD.prototype.toObject=function(){return PSa(void 0,this)};
var PSa=function(a,b){if(null!=b){var c,d={header:uSa(a,G(b,cD,4)),startTimeMicros:null==(c=D(b,1))?void 0:c,point:BSa(a,je(b,rD,2,yD)),range:FSa(a,je(b,tD,3,yD)),prefix:DSa(a,je(b,sD,6,yD)),monitoringTag:null==(c=D(b,5))?void 0:c};a&&(d.$jspbMessageInstance=b);return d}};var zD=function(a){C.call(this,a)};
p(zD,C);zD.prototype.clearWatchRequest=function(){return Td(this,1)};
zD.prototype.hasWatchRequest=function(){return Ed(this,1)};
zD.prototype.JSC$34295_serializeBinary=function(){var a=new $c;a.writeMessage(1,G(this,xD,1),OSa);pe(this,a);return fd(a)};
zD.prototype.toObject=function(){var a=null!=this?{watchRequest:PSa(void 0,G(this,xD,1))}:void 0;return a};var QSa=function(a){C.call(this,a)};
p(QSa,C);f=QSa.prototype;f.setGsessionid=function(a){return Hd(this,1,a)};
f.clearGsessionid=function(){return Qd(this,1)};
f.hasGsessionid=function(){return Ed(this,1)};
f.JSC$34299_setAffinitization=function(a){return Hd(this,2,a)};
f.JSC$34299_clearAffinitization=function(){return Qd(this,2)};
f.JSC$34299_hasAffinitization=function(){return Ed(this,2)};
f.setInitialConnectionDelayMillis=function(a){return Hd(this,3,a)};
f.clearInitialConnectionDelayMillis=function(){return Qd(this,3)};
f.hasInitialConnectionDelayMillis=function(){return Ed(this,3)};
f.JSC$34299_serializeBinary=function(){var a=new $c;a.JSC$30479_writeString(1,D(this,1));nd(a,2,D(this,2));jd(a,3,D(this,3));pe(this,a);return fd(a)};
f.toObject=function(){if(null!=this){var a;var b={gsessionid:null==(a=D(this,1))?void 0:a,affinitization:null==(a=D(this,2))?void 0:a,initialConnectionDelayMillis:null==(a=D(this,3))?void 0:a}}else b=void 0;return b};var AD=function(a){C.call(this,a)};
p(AD,C);f=AD.prototype;f.getRequestCase=function(){return Fd(this,BD)};
f.JSC$34303_getStreamId=function(){return D(this,1)};
f.JSC$34303_clearStreamId=function(){return Qd(this,1)};
f.JSC$34303_hasStreamId=function(){return Ed(this,1)};
f.clearOpen=function(){return Td(this,2)};
f.hasOpen=function(){return Gd(this,2,BD)};
f.JSC$34303_clearClose=function(){return Td(this,3)};
f.JSC$34303_hasClose=function(){return Gd(this,3,BD)};
f.JSC$34303_getAffinitization=function(){return D(this,4)};
f.JSC$34303_clearAffinitization=function(){return Qd(this,4)};
f.JSC$34303_hasAffinitization=function(){return Ed(this,4)};
f.JSC$34303_serializeBinary=function(){var a=new $c;RSa(this,a);return fd(a)};
var RSa=function(a,b){od(b,1,D(a,1));b.writeMessage(2,je(a,xD,2,BD),OSa);b.writeMessage(3,je(a,CD,3,BD),SSa);nd(b,4,D(a,4));pe(a,b)},CD=function(a){C.call(this,a)};
p(CD,C);CD.prototype.JSC$34306_serializeBinary=function(){var a=new $c;pe(this,a);return fd(a)};
var SSa=function(a,b){pe(a,b)},BD=[2,
3];AD.prototype.toObject=function(){return TSa(void 0,this)};
var TSa=function(a,b){if(null!=b){var c,d={streamId:null==(c=D(b,1))?void 0:c,open:PSa(a,je(b,xD,2,BD)),close:USa(a,je(b,CD,3,BD)),affinitization:null==(c=D(b,4))?void 0:c};a&&(d.$jspbMessageInstance=b);return d}};
CD.prototype.toObject=function(){return USa(void 0,this)};
var USa=function(a,b){if(null!=b){var c={};a&&(c.$jspbMessageInstance=b);return c}};var DD=function(a){C.call(this,a,-1,VSa)};
p(DD,C);DD.prototype.setRequestsList=function(a){return Ud(this,1,a)};
DD.prototype.addRequests=function(a,b){return ce(this,1,a,AD,b)};
DD.prototype.clearRequestsList=function(){return Vd(this,1)};
DD.prototype.JSC$34309_serializeBinary=function(){var a=new $c;rd(a,1,$d(this,AD,1),RSa);pe(this,a);return fd(a)};
var VSa=[1];DD.prototype.toObject=function(){var a=null!=this?{requestsList:oe($d(this,AD,1),TSa,void 0)}:void 0;return a};var ED=function(a){C.call(this,a)};
p(ED,C);f=ED.prototype;f.JSC$34313_setStart=function(a){return ae(this,1,FD,a)};
f.clearStart=function(){return Td(this,1)};
f.hasStart=function(){return Gd(this,1,FD)};
f.setChanges=function(a){return ae(this,2,FD,a)};
f.clearChanges=function(){return Td(this,2)};
f.hasChanges=function(){return Gd(this,2,FD)};
f.setAdvance=function(a){return ae(this,3,FD,a)};
f.clearAdvance=function(){return Td(this,3)};
f.hasAdvance=function(){return Gd(this,3,FD)};
f.setResync=function(a){return ae(this,5,FD,a)};
f.clearResync=function(){return Td(this,5)};
f.hasResync=function(){return Gd(this,5,FD)};
f.JSC$34313_serializeBinary=function(){var a=new $c;WSa(this,a);return fd(a)};
var WSa=function(a,b){b.writeMessage(1,je(a,GD,1,FD),XSa);b.writeMessage(2,je(a,HD,2,FD),YSa);b.writeMessage(3,je(a,ID,3,FD),ZSa);b.writeMessage(5,je(a,JD,5,FD),$Sa);pe(a,b)},GD=function(a){C.call(this,a)};
p(GD,C);GD.prototype.JSC$34316_serializeBinary=function(){var a=new $c;pe(this,a);return fd(a)};
var XSa=function(a,b){pe(a,b)},HD=function(a){C.call(this,a,-1,aTa)};
p(HD,C);f=HD.prototype;f.setChangesList=function(a){return Ud(this,1,a)};
f.addChanges=function(a,b){return ce(this,1,a,iD,b)};
f.addAndReturnChanges=function(a,b){return be(this,1,a,iD,b)};
f.clearChangesList=function(){return Vd(this,1)};
f.JSC$34318_serializeBinary=function(){var a=new $c;YSa(this,a);return fd(a)};
var YSa=function(a,b){rd(b,1,$d(a,iD,1),ySa);pe(a,b)},ID=function(a){C.call(this,a)};
p(ID,C);ID.prototype.setTimestampMicros=function(a){return Hd(this,1,a)};
ID.prototype.clearTimestampMicros=function(){return Qd(this,1)};
ID.prototype.hasTimestampMicros=function(){return Ed(this,1)};
ID.prototype.JSC$34321_serializeBinary=function(){var a=new $c;ZSa(this,a);return fd(a)};
var ZSa=function(a,b){od(b,1,D(a,1));pe(a,b)},JD=function(a){C.call(this,a)};
p(JD,C);JD.prototype.JSC$34324_setPayload=function(a){return Sd(this,1,a)};
JD.prototype.JSC$34324_clearPayload=function(){return Td(this,1)};
JD.prototype.JSC$34324_hasPayload=function(){return Ed(this,1)};
JD.prototype.JSC$34324_serializeBinary=function(){var a=new $c;$Sa(this,a);return fd(a)};
var $Sa=function(a,b){b.writeMessage(1,G(a,wD,1),LSa);pe(a,b)},FD=[1,
2,3,5];ED.prototype.toObject=function(){return bTa(void 0,this)};
var bTa=function(a,b){if(null!=b){var c={start:cTa(a,je(b,GD,1,FD)),changes:dTa(a,je(b,HD,2,FD)),advance:eTa(a,je(b,ID,3,FD)),resync:fTa(a,je(b,JD,5,FD))};a&&(c.$jspbMessageInstance=b);return c}};
GD.prototype.toObject=function(){return cTa(void 0,this)};
var cTa=function(a,b){if(null!=b){var c={};a&&(c.$jspbMessageInstance=b);return c}},aTa=[1];
HD.prototype.toObject=function(){return dTa(void 0,this)};
var dTa=function(a,b){if(null!=b){var c={changesList:oe($d(b,iD,1),zSa,a)};a&&(c.$jspbMessageInstance=b);return c}};
ID.prototype.toObject=function(){return eTa(void 0,this)};
var eTa=function(a,b){if(null!=b){var c,d={timestampMicros:null==(c=D(b,1))?void 0:c};a&&(d.$jspbMessageInstance=b);return d}};
JD.prototype.toObject=function(){return fTa(void 0,this)};
var fTa=function(a,b){if(null!=b){var c={payload:MSa(a,G(b,wD,1))};a&&(c.$jspbMessageInstance=b);return c}};var KD=function(a){C.call(this,a)};
p(KD,C);f=KD.prototype;f.JSC$34331_clearCode=function(){return Qd(this,1)};
f.JSC$34331_hasCode=function(){return Ed(this,1)};
f.getSpace=function(){return D(this,2)};
f.clearSpace=function(){return Qd(this,2)};
f.hasSpace=function(){return Ed(this,2)};
f.getMessage=function(){return D(this,3)};
f.clearMessage=function(){return Qd(this,3)};
f.hasMessage=function(){return Ed(this,3)};
f.getCanonicalCode=function(){return D(this,6)};
f.clearCanonicalCode=function(){return Qd(this,6)};
f.hasCanonicalCode=function(){return Ed(this,6)};
f.clearMessageSet=function(){return Td(this,5)};
f.hasMessageSet=function(){return Ed(this,5)};
f.JSC$34331_serializeBinary=function(){var a=new $c;gTa(this,a);return fd(a)};
var gTa=function(a,b){jd(b,1,D(a,1));b.JSC$30479_writeString(2,D(a,2));b.JSC$30479_writeString(3,D(a,3));jd(b,6,D(a,6));b.writeMessage(5,G(a,uD,5),HSa);pe(a,b)};
KD.prototype.toObject=function(){return hTa(void 0,this)};
var hTa=function(a,b){if(null!=b){var c,d={code:null==(c=D(b,1))?void 0:c,space:null==(c=D(b,2))?void 0:c,message:null==(c=D(b,3))?void 0:c,canonicalCode:null==(c=D(b,6))?void 0:c,messageSet:KSa(a,G(b,uD,5))};a&&(d.$jspbMessageInstance=b);return d}},iTa=new jea(10071,KD,hTa);
vD[10071]=new GSa(iTa,gTa,function(a,b){for(;Oc(b);)switch(b.nextTag_){case 8:var c=b.decoder_.readSignedVarint32();Hd(a,1,c);break;case 18:c=Pda(b);Hd(a,2,c);break;case 26:c=Pda(b);Hd(a,3,c);break;case 48:c=b.decoder_.readSignedVarint32();Hd(a,6,c);break;case 42:c=b.readMessage(new uD,ISa);Sd(a,5,c);break;default:if(!pea(a,b))return a;}return a});
JSa[10071]=iTa;var LD=function(a){C.call(this,a)};
p(LD,C);f=LD.prototype;f.getResponseCase=function(){return Fd(this,MD)};
f.JSC$34335_setStreamId=function(a){return Hd(this,1,a)};
f.JSC$34335_clearStreamId=function(){return Qd(this,1)};
f.JSC$34335_hasStreamId=function(){return Ed(this,1)};
f.setWatchResponse=function(a){return ae(this,2,MD,a)};
f.clearWatchResponse=function(){return Td(this,2)};
f.hasWatchResponse=function(){return Gd(this,2,MD)};
f.JSC$34335_setClose=function(a){return ae(this,3,MD,a)};
f.JSC$34335_clearClose=function(){return Td(this,3)};
f.JSC$34335_serializeBinary=function(){var a=new $c;jTa(this,a);return fd(a)};
var jTa=function(a,b){od(b,1,D(a,1));b.writeMessage(2,je(a,ED,2,MD),WSa);b.writeMessage(3,je(a,ND,3,MD),kTa);pe(a,b)},ND=function(a){C.call(this,a)};
p(ND,C);f=ND.prototype;f.getStatus=function(){return G(this,KD,1)};
f.JSC$34338_setStatus=function(a){return Sd(this,1,a)};
f.JSC$34338_clearStatus=function(){return Td(this,1)};
f.JSC$34338_hasStatus=function(){return Ed(this,1)};
f.JSC$34338_serializeBinary=function(){var a=new $c;kTa(this,a);return fd(a)};
var kTa=function(a,b){b.writeMessage(1,a.getStatus(),gTa);pe(a,b)},MD=[2,
3];LD.prototype.toObject=function(){return lTa(void 0,this)};
var lTa=function(a,b){if(null!=b){var c,d={streamId:null==(c=D(b,1))?void 0:c,watchResponse:bTa(a,je(b,ED,2,MD)),close:mTa(a,je(b,ND,3,MD))};a&&(d.$jspbMessageInstance=b);return d}};
ND.prototype.toObject=function(){return mTa(void 0,this)};
var mTa=function(a,b){if(null!=b){var c={status:hTa(a,b.getStatus())};a&&(c.$jspbMessageInstance=b);return c}};var OD=function(a){C.call(this,a)};
p(OD,C);OD.prototype.JSC$34343_setCode=function(a){return Hd(this,1,a)};
OD.prototype.JSC$34343_clearCode=function(){return Qd(this,1)};
OD.prototype.JSC$34343_hasCode=function(){return Ed(this,1)};
OD.prototype.JSC$34343_serializeBinary=function(){var a=new $c;nTa(this,a);return fd(a)};
var nTa=function(a,b){nd(b,1,D(a,1));pe(a,b)};
OD.prototype.toObject=function(){return oTa(this)};
var oTa=function(a){if(null!=a){var b;return{code:null==(b=D(a,1))?void 0:b}}};var PD=function(a){C.call(this,a,-1,pTa)};
p(PD,C);f=PD.prototype;f.setResponsesList=function(a){return Ud(this,1,a)};
f.addResponses=function(a,b){return ce(this,1,a,LD,b)};
f.addAndReturnResponses=function(a,b){return be(this,1,a,LD,b)};
f.clearResponsesList=function(){return Vd(this,1)};
f.getStatus=function(){return G(this,OD,2)};
f.JSC$34347_setStatus=function(a){return Sd(this,2,a)};
f.JSC$34347_clearStatus=function(){return Td(this,2)};
f.JSC$34347_serializeBinary=function(){var a=new $c;rd(a,1,$d(this,LD,1),jTa);a.writeMessage(2,this.getStatus(),nTa);pe(this,a);return fd(a)};
var pTa=[1];PD.prototype.toObject=function(){var a=null!=this?{responsesList:oe($d(this,LD,1),lTa,void 0),status:oTa(this.getStatus())}:void 0;return a};var qTa=function(){Ag.call(this,"d")};
Ia(qTa,Ag);var rTa=function(){Ag.call(this,"c")};
Ia(rTa,Ag);var sTa=function(a,b){this.path=a;this.JSC$57097_authMethod=b},QD=function(a,b,c,d,e){this.channelMessageHandler=a;
this.channelStatusHandler=b;this.config=c;this.channelCreator=d;this.state=0;this.channelHandler=new xC;this.channel=tTa(this,e)},tTa=function(a,b){b={sendRawJson:!0,
messageContentType:"application/json+protobuf",httpSessionIdParam:void 0,messageUrlParams:Object.assign({gsessionid:b},a.config.JSC$57097_authMethod.getQueryParameters()),messageHeaders:a.config.JSC$57097_authMethod.getHeaders(),supportsCrossDomainXhr:a.config.JSC$57097_authMethod.usesCredentialedRequests()};b=a.channelCreator(a.config.path,b);a.channelHandler.listen(b,"a",function(){a.channelStatusHandler.onOpen()});
a.channelHandler.listen(b,"b",function(){a.channelStatusHandler.onClose(new RD(a.channel.JSC$34459_channel_).JSC$34469_channel_.JSC$34450_lastStatusCode_);a.state=2;a.channel.removeAllListeners();a.channelHandler.removeAll()});
a.channelHandler.listen(b,"d",function(c){(c=c.data)&&1===c.length&&a.channelMessageHandler(new PD(c[0]))});
a.channelHandler.listen(b,"c",function(c){a.channelStatusHandler.onError(c,new RD(a.channel.JSC$34459_channel_).JSC$34469_channel_.JSC$34450_lastStatusCode_);0!==c.status&&(a.state=2)});
return b};
QD.prototype.open=function(){0===this.state&&(this.state=1,this.channel.open())};
QD.prototype.close=function(){2!==this.state&&this.channel.close()};
QD.prototype.send=function(a){a=a.serialize();this.channel.send(a)};var uTa,vTa=new cD;uTa=Hd(vTa,1,3);var wTa=Hd(uTa,2,5);var SD=function(a){this.partCase=0;this.rep=a};
SD.prototype.equals=function(a){return this.rep===a.rep};var xTa=function(){var a=8;a=void 0===a?1:a;this.periodMs=3E5;this.max=8;this.lastAddedTimestampMs=Date.now();this.tokens=a};
xTa.prototype.updateAndGetTokenCountForTest=function(){this.update();return this.tokens};
xTa.prototype.update=function(){var a=Date.now();a=Math.floor((a-this.lastAddedTimestampMs)/3E5);this.tokens=Math.min(this.tokens+a,this.max);this.lastAddedTimestampMs+=3E5*a};var yTa=function(a,b,c){this.objectId=a;this.version=b;this.payload=c},zTa=function(){},ATa=function(a){this.timestampMicros=a};var TD=function(a,b){this.seconds=a;this.nanos=b};
TD.prototype.asDateTime=function(){var a=1E3*this.seconds+Math.floor(this.nanos/1E6),b=new ll;b.setTime(a);return b};
TD.prototype.asDate=function(){return new Date(1E3*this.seconds+Math.floor(this.nanos/1E6))};
var BTa=function(a){var b=new Eu;le(b,1,a.seconds);le(b,2,a.nanos);return b},CTa=function(a){try{var b=ge(a,1),c=ge(a,2);
if(-62135596800>b)throw Error("seconds must be at least -62135596800: "+b);if(253402300800<=b)throw Error("seconds must be less than 253402300800: "+b);if(0>c)throw Error("nanos must be at least 0: "+c);if(1E9<=c)throw Error("nanos must be less than 1000000000: "+c);if(!Number.isInteger(b))throw Error("seconds must be integer: "+b);if(!Number.isInteger(c))throw Error("nanos must be integer: "+c);return new TD(b,c)}catch(d){return null}};
TD.prototype.equals=function(a){return this.seconds===a.seconds&&this.nanos===a.nanos};var UD=function(a,b){this.low_=a|0;this.high_=b|0};
UD.prototype.toInt=function(){return this.low_};
var VD=function(a){return 4294967296*a.high_+(a.low_>>>0)};
UD.prototype.isSafeInteger=function(){var a=this.high_>>21;return 0==a||-1==a&&!(0==this.low_&&-2097152==this.high_)};
UD.prototype.toString=function(a){a=a||10;if(2>a||36>2);var c=Math.pow(a,b),d=WD(c,c/4294967296);c=this.div(d);d=Math.abs(VD(this.add(XD(c,d).negate())));var e=10==a?""+d:d.toString(a);e.lengththis.compare(a)};
f.compare=function(a){return this.high_==a.high_?this.low_==a.low_?0:this.low_>>>0>a.low_>>>0?1:-1:this.high_>a.high_?1:-1};
f.negate=function(){var a=~this.low_+1|0;return WD(a,~this.high_+!a|0)};
f.add=function(a){var b=this.high_>>>16,c=this.high_&65535,d=this.low_>>>16,e=a.high_>>>16,h=a.high_&65535,l=a.low_>>>16;a=(this.low_&65535)+(a.low_&65535);l=(a>>>16)+(d+l);d=l>>>16;d+=c+h;b=(d>>>16)+(b+e)&65535;return WD((l&65535)<<16|a&65535,b<<16|d&65535)};
var XD=function(a,b){if(YD(a))return a;if(YD(b))return b;var c=a.high_>>>16,d=a.high_&65535,e=a.low_>>>16;a=a.low_&65535;var h=b.high_>>>16,l=b.high_&65535,m=b.low_>>>16;b=b.low_&65535;var n=a*b;var q=(n>>>16)+e*b;var u=q>>>16;q=(q&65535)+a*m;u+=q>>>16;u+=d*b;var w=u>>>16;u=(u&65535)+e*m;w+=u>>>16;u=(u&65535)+a*l;w=w+(u>>>16)+(c*b+d*m+e*l+a*h)&65535;return WD((q&65535)<<16|n&65535,w<<16|u&65535)};
f=UD.prototype;
f.div=function(a){if(YD(a))throw Error("division by zero");if(0>this.high_){if(this.equals(ZD)){if(a.equals($D)||a.equals(DTa))return ZD;if(a.equals(ZD))return $D;var b=1;if(0==b)b=this;else{var c=this.high_;b=32>b?WD(this.low_>>>b|c<<32-b,c>>b):WD(c>>b-32,0<=c?0:-1)}b=b.div(a);c=1;if(0!=c){var d=b.low_;b=32>c?WD(d<>>32-c):WD(0,d<a.high_?$D:DTa;c=this.add(XD(a,b).negate());return b.add(c.div(a))}return 0>a.high_?this.negate().div(a.negate()):this.negate().div(a).negate()}if(YD(this))return aE;
if(0>a.high_)return a.equals(ZD)?aE:this.div(a.negate()).negate();d=aE;for(c=this;0<=c.compare(a);){b=Math.max(1,Math.floor(VD(c)/VD(a)));var e=Math.ceil(Math.log(b)/Math.LN2);e=48>=e?1:Math.pow(2,e-48);for(var h=bE(b),l=XD(h,a);0>l.high_||0a?WD(this.low_>>>a|b<<32-a,b>>>a):32==a?WD(b,0):WD(b>>>a-32,0)};
var bE=function(a){return 0a?-0x7fffffffffffffff>=a?ZD:new UD(-a,-a/4294967296).negate():aE},WD=function(a,b){return new UD(a,b)},cE=function(a,b){if("-"==a.charAt(0))return cE(a.substring(1),b).negate();
var c=parseInt(a,b||10);if(9007199254740991>=c)return new UD(c%4294967296|0,c/4294967296|0);if(0==a.length)throw Error("number format error: empty string");if(0<=a.indexOf("-"))throw Error("number format error: interior \"-\" character: "+a);b=b||10;if(2>b||36h?(h=bE(Math.pow(b,h)),d=XD(d,h).add(bE(l))):(d=XD(d,c),d=d.add(bE(l)))}return d},aE=
WD(0,0),$D=WD(1,0),DTa=WD(-1,-1),ETa=WD(4294967295,2147483647),ZD=WD(0,2147483648);var dE=function(a,b){this.value=a;this.isDecreasing=!!b};
dE.prototype.equals=function(a){if(this.isDecreasing!==a.isDecreasing)var b=!1;else if("string"===typeof this.value||"number"===typeof this.value)b=this.value===a.value;else if(this.value instanceof UD)b=a.value instanceof UD?this.value.equals(a.value):!1;else if(this.value instanceof SD)b=a.value instanceof SD?this.value.equals(a.value):!1;else if(this.value instanceof Uint8Array){if(a.value instanceof Uint8Array){a:if(b=this.value,a=a.value,b.length!==a.length)b=!1;else{for(var c=0;ca.parts.length)b=!1;else{for(b=0;be.length)){var h=e[1];if(Array.isArray(h)&&!(1>h.length)){var l=h[0];if("noop"!=l&&"stop"!=l&&"close"!=l)for(var m=1;mb||3==b&&!tc&&!nUa(a))){a.JSC$34426_cancelled_||4!=b||7==c||(8==c||0>=d?hE(3):hE(2));pE(a);var e=a.JSC$34426_xmlHttp_.getStatus();a.JSC$34426_lastStatusCode_=e;c=oUa(a);nUa(a)||a.JSC$34426_channelDebug_.debug(function(){return"No response text for uri "+a.JSC$34426_requestUri_+" status "+e});
a.JSC$34426_successful_=200==e;dUa(a.JSC$34426_channelDebug_,a.JSC$34426_verb_,a.JSC$34426_requestUri_,a.JSC$34426_rid_,a.JSC$34426_retryId_,b,e);if(a.JSC$34426_successful_){if(a.decodeInitialResponse_&&!a.initialResponseDecoded_)if(d=pUa(a))lE(a.JSC$34426_channelDebug_,a.JSC$34426_rid_,d,"Initial handshake response via X-HTTP-Initial-Response"),a.initialResponseDecoded_=!0,qUa(a,d);else{a.JSC$34426_successful_=!1;a.JSC$34426_lastError_=3;iE(12);a.JSC$34426_channelDebug_.warning("XMLHTTP Missing X_HTTP_INITIAL_RESPONSE ("+
a.JSC$34426_rid_+")");qE(a);rE(a);return}a.decodeChunks_?(rUa(a,b,c),tc&&a.JSC$34426_successful_&&3==b&&sUa(a)):(lE(a.JSC$34426_channelDebug_,a.JSC$34426_rid_,c,null),qUa(a,c));4==b&&qE(a);a.JSC$34426_successful_&&!a.JSC$34426_cancelled_&&(4==b?a.JSC$34426_channel_.JSC$34452_onRequestComplete(a):(a.JSC$34426_successful_=!1,oE(a)))}else 400==e&&0b.length)return nE;b=b.substr(d,c);a.JSC$34426_xmlHttpChunkStart_=d+c;return b};
mE.prototype.cancel=function(){this.JSC$34426_cancelled_=!0;qE(this)};
var oE=function(a){a.JSC$34426_watchDogTimeoutTime_=Date.now()+a.timeout_;wUa(a,a.timeout_)},wUa=function(a,b){if(null!=a.JSC$34426_watchDogTimerId_)throw Error("WatchDog timer not null");
a.JSC$34426_watchDogTimerId_=jE(Ea(a.JSC$34430_onWatchDogTimeout_,a),b)},pE=function(a){a.JSC$34426_watchDogTimerId_&&(v.clearTimeout(a.JSC$34426_watchDogTimerId_),a.JSC$34426_watchDogTimerId_=null)};
mE.prototype.JSC$34430_onWatchDogTimeout_=function(){this.JSC$34426_watchDogTimerId_=null;var a=Date.now();0<=a-this.JSC$34426_watchDogTimeoutTime_?this.handleTimeout_():(this.JSC$34426_channelDebug_.warning("WatchDog timer called too early"),wUa(this,this.JSC$34426_watchDogTimeoutTime_-a))};
mE.prototype.handleTimeout_=function(){fUa(this.JSC$34426_channelDebug_,this.JSC$34426_requestUri_);2!=this.JSC$34426_type_&&(hE(3),iE(17));qE(this);this.JSC$34426_lastError_=2;rE(this)};
var rE=function(a){0==a.JSC$34426_channel_.JSC$34452_state_||a.JSC$34426_cancelled_||a.JSC$34426_channel_.JSC$34452_onRequestComplete(a)},qE=function(a){pE(a);
fg(a.JSC$34426_readyStateChangeThrottle_);a.JSC$34426_readyStateChangeThrottle_=null;a.JSC$34426_pollingTimer_.stop();a.JSC$34426_eventHandler_.removeAll();if(a.JSC$34426_xmlHttp_){var b=a.JSC$34426_xmlHttp_;a.JSC$34426_xmlHttp_=null;b.abort();b.dispose()}};
mE.prototype.getLastError=function(){return this.JSC$34426_lastError_};
mE.prototype.JSC$34430_getSessionId=function(){return this.sid_};
var qUa=function(a,b){try{var c=a.JSC$34426_channel_;if(0!=c.JSC$34452_state_&&(c.JSC$34450_backChannelRequest_==a||xUa(c.forwardChannelRequestPool_,a)))if(c.JSC$34450_lastStatusCode_=a.JSC$34426_lastStatusCode_,!a.initialResponseDecoded_&&xUa(c.forwardChannelRequestPool_,a)&&3==c.JSC$34452_state_){try{var d=c.wireCodec_.JSC$34445_parser_.parse(b)}catch(m){d=null}if(Array.isArray(d)&&3==d.length){b=d;if(0==b[0]){a:if(c.JSC$34450_channelDebug_.debug("Server claims our backchannel is missing."),c.JSC$34450_backChannelTimerId_)c.JSC$34450_channelDebug_.debug("But we are currently starting the request.");else
{if(c.JSC$34450_backChannelRequest_){if(c.JSC$34450_backChannelRequest_.JSC$34426_requestStartTime_+3E3h&&c.enableStreaming_&&
0==c.JSC$34450_backChannelRetryCount_&&!c.JSC$34450_deadBackChannelTimerId_&&(c.JSC$34450_deadBackChannelTimerId_=jE(Ea(c.JSC$34452_onBackChannelDead_,c),6E3))}}if(1>=uE(c.forwardChannelRequestPool_)&&c.forwardChannelFlushedCallback_){try{c.forwardChannelFlushedCallback_()}catch(m){}c.forwardChannelFlushedCallback_=void 0}}else c.JSC$34450_channelDebug_.debug("Bad POST response data returned"),vE(c,11)}else if((a.initialResponseDecoded_||c.JSC$34450_backChannelRequest_==a)&&sE(c),!qb(b)){var l=c.wireCodec_.JSC$34445_parser_.parse(b);
c.onInput_(l,a)}hE(4)}catch(m){}};var zUa=function(){this.bufferingProxyResult=this.handshakeResult=null};var AUa=function(a,b){this.JSC$34434_mapId=a;this.map=b;this.context=null};var BUa=function(a){this.maxPoolSizeConfigured_=a||10;v.PerformanceNavigationTiming?(a=v.performance.getEntriesByType("navigation"),a=0=a.JSC$34437_maxSize_:!1},uE=function(a){return a.JSC$34437_request_?1:a.requestPool_?a.requestPool_.size:0},xUa=function(a,b){return a.JSC$34437_request_?a.JSC$34437_request_==b:a.requestPool_?a.requestPool_.has(b):!1},DUa=function(a,b){a.requestPool_?a.requestPool_.add(b):a.JSC$34437_request_=b},EUa=function(a,b){a.JSC$34437_request_&&a.JSC$34437_request_==b?a.JSC$34437_request_=null:a.requestPool_&&a.requestPool_.has(b)&&
a.requestPool_.delete(b)};
BUa.prototype.cancel=function(){this.JSC$34437_pendingMessages_=FUa(this);if(this.JSC$34437_request_)this.JSC$34437_request_.cancel(),this.JSC$34437_request_=null;else if(this.requestPool_&&0!==this.requestPool_.size){for(var a=k(this.requestPool_.values()),b=a.next();!b.done;b=a.next())b.value.cancel();this.requestPool_.clear()}};
var GUa=function(a){return null!=a.JSC$34437_request_||null!=a.requestPool_&&0!==a.requestPool_.size},FUa=function(a){if(null!=a.JSC$34437_request_)return a.JSC$34437_pendingMessages_.concat(a.JSC$34437_request_.JSC$34426_pendingMessages_);
if(null!=a.requestPool_&&0!==a.requestPool_.size){var b=a.JSC$34437_pendingMessages_;a=k(a.requestPool_.values());for(var c=a.next();!c.done;c=a.next())b=b.concat(c.value.JSC$34426_pendingMessages_);return b}return bb(a.JSC$34437_pendingMessages_)},HUa=function(a,b){a.JSC$34437_pendingMessages_=a.JSC$34437_pendingMessages_.concat(b)},IUa=function(a,b){if(null!=a.JSC$34437_request_)return a.JSC$34437_request_.cancel(),b(a.JSC$34437_request_),!0;
if(a.requestPool_&&0!==a.requestPool_.size){a=k(a.requestPool_.values());for(var c=a.next();!c.done;c=a.next())c=c.value,c.cancel(),b(c);return!0}return!1};var JUa=function(a,b){var c=new kE;c.debug("TestLoadImage: loading "+a);if(v.Image){var d=new Image;d.onload=Fa(wE,c,d,"TestLoadImage: loaded",!0,b);d.onerror=Fa(wE,c,d,"TestLoadImage: error",!1,b);d.onabort=Fa(wE,c,d,"TestLoadImage: abort",!1,b);d.ontimeout=Fa(wE,c,d,"TestLoadImage: timeout",!1,b);v.setTimeout(function(){if(d.ontimeout)d.ontimeout()},1E4);
d.src=a}else b(!1)},wE=function(a,b,c,d,e){try{a.debug(c),b.onload=null,b.onerror=null,b.onabort=null,b.ontimeout=null,e(d)}catch(h){}};var xE=function(){this.reviver_=this.JSC$34442_replacer_=void 0};
xE.prototype.stringify=function(a){return v.JSON.stringify(a,void 0)};
xE.prototype.parse=function(a){return v.JSON.parse(a,void 0)};var KUa=function(){this.JSC$34445_parser_=new xE},LUa=function(a,b,c){var d=c||"";
try{zl(a,function(e,h){var l=e;Ca(e)&&(l=Og(e));b.push(d+h+"="+encodeURIComponent(l))})}catch(e){throw b.push(d+"type="+encodeURIComponent("_badmap")),e;
}};var yE=function(a,b,c){return c&&c.internalChannelParams?c.internalChannelParams[a]||b:b},zE=function(a){this.JSC$34450_clientVersion_=22;
this.serverVersion_=0;this.JSC$34450_outgoingMaps_=[];this.JSC$34450_channelDebug_=new kE;this.connState_=new zUa;this.JSC$34450_hostPrefix_=this.JSC$34450_backChannelUri_=this.JSC$34450_forwardChannelUri_=this.JSC$34450_path_=this.JSC$34450_backChannelRequest_=this.httpSessionId_=this.httpSessionIdParam_=this.JSC$34450_extraParams_=this.httpHeadersOverwriteParam_=this.initHeaders_=this.JSC$34450_extraHeaders_=null;this.JSC$34450_allowHostPrefix_=!0;this.JSC$34450_nextMapId_=this.JSC$34450_nextRid_=
0;this.JSC$34450_failFast_=yE("failFast",!1,a);this.enableStreaming_=this.JSC$34450_deadBackChannelTimerId_=this.JSC$34450_backChannelTimerId_=this.JSC$34450_forwardChannelTimerId_=this.handler_=null;this.allowStreamingMode_=!0;this.JSC$34450_lastStatusCode_=this.JSC$34450_lastPostResponseArrayId_=this.JSC$34450_lastArrayId_=-1;this.JSC$34450_backChannelAttemptId_=this.JSC$34450_backChannelRetryCount_=this.JSC$34450_forwardChannelRetryCount_=0;this.JSC$34450_baseRetryDelayMs_=yE("baseRetryDelayMs",
5E3,a);this.JSC$34450_retryDelaySeedMs_=yE("retryDelaySeedMs",1E4,a);this.JSC$34450_forwardChannelMaxRetries_=yE("forwardChannelMaxRetries",2,a);this.JSC$34450_forwardChannelRequestTimeoutMs_=yE("forwardChannelRequestTimeoutMs",2E4,a);this.JSC$34450_xmlHttpFactory_=a&&a.xmlHttpFactory||void 0;this.usesFetchStreams_=a&&a.useFetchStreams||!1;this.backChannelRequestTimeoutMs_=void 0;this.JSC$34450_readyStateChangeThrottleMs_=0;this.JSC$34450_supportsCrossDomainXhrs_=a&&a.supportsCrossDomainXhr||!1;this.sid_=
"";this.forwardChannelRequestPool_=new BUa(a&&a.concurrentRequestLimit);this.wireCodec_=new KUa;this.fastHandshake_=a&&a.fastHandshake||!1;this.blockingHandshake_=a&&a.blockingHandshake||!1;a&&a.disableRedact&&this.JSC$34450_channelDebug_.disableRedact();a&&a.forceLongPolling&&(this.allowStreamingMode_=!1);this.detectBufferingProxy_=!this.fastHandshake_&&this.allowStreamingMode_&&a&&a.detectBufferingProxy||!1;this.forwardChannelFlushedCallback_=void 0;this.handshakeRttMs_=0;this.bpDetectionDone_=
!1;this.bpDetectionTimerId_=null;this.enableOriginTrials_=!a||!1!==a.enableOriginTrials};
f=zE.prototype;f.JSC$34452_channelVersion_=8;f.JSC$34452_state_=1;f.getServerVersion=function(){return this.serverVersion_};
f.getWireCodec=function(){return this.wireCodec_};
f.JSC$34452_getChannelDebug=function(){return this.JSC$34450_channelDebug_};
f.JSC$34452_setChannelDebug=function(a){this.JSC$34450_channelDebug_=a};
f.connect=function(a,b,c,d){this.JSC$34450_channelDebug_.debug("connect()");this.enableOriginTrials_&&(this.JSC$34450_channelDebug_.info("Origin Trials enabled."),bg(Ea(this.runOriginTrials_,this,a)));iE(0);this.JSC$34450_path_=a;this.JSC$34450_extraParams_=b||{};c&&void 0!==d&&(this.JSC$34450_extraParams_.OSID=c,this.JSC$34450_extraParams_.OAID=d);this.enableStreaming_=this.allowStreamingMode_;this.JSC$34450_channelDebug_.debug("connectChannel_()");a=MUa(this,null,this.JSC$34450_path_);this.JSC$34450_channelDebug_.debug("GetForwardChannelUri: "+
a);this.JSC$34450_forwardChannelUri_=a;AE(this)};
f.disconnect=function(){this.JSC$34450_channelDebug_.debug("disconnect()");NUa(this);if(3==this.JSC$34452_state_){var a=this.JSC$34450_nextRid_++,b=this.JSC$34450_forwardChannelUri_.clone();Ol(b,"SID",this.sid_);Ol(b,"RID",a);Ol(b,"TYPE","terminate");BE(this,b);a=new mE(this,this.JSC$34450_channelDebug_,this.sid_,a,void 0);a.JSC$34426_type_=2;a.JSC$34426_baseUri_=Rl(b.clone());b=!1;v.navigator&&v.navigator.sendBeacon&&(b=v.navigator.sendBeacon(a.JSC$34426_baseUri_.toString(),""));!b&&v.Image&&(new Image().src=
a.JSC$34426_baseUri_,b=!0);b||(a.JSC$34426_xmlHttp_=lUa(a.JSC$34426_channel_,null),a.JSC$34426_xmlHttp_.send(a.JSC$34426_baseUri_));a.JSC$34426_requestStartTime_=Date.now();oE(a)}OUa(this)};
f.JSC$34452_getSessionId=function(){return this.sid_};
f.runOriginTrials_=function(a){try{WTa(a,function(){}),this.JSC$34450_channelDebug_.info("Origin Trials invoked: "+a)}catch(b){}};
var tE=function(a){a.JSC$34450_backChannelRequest_&&(vUa(a),a.JSC$34450_backChannelRequest_.cancel(),a.JSC$34450_backChannelRequest_=null)},NUa=function(a){tE(a);
a.JSC$34450_backChannelTimerId_&&(v.clearTimeout(a.JSC$34450_backChannelTimerId_),a.JSC$34450_backChannelTimerId_=null);sE(a);a.forwardChannelRequestPool_.cancel();a.JSC$34450_forwardChannelTimerId_&&PUa(a)},PUa=function(a){"number"===typeof a.JSC$34450_forwardChannelTimerId_&&v.clearTimeout(a.JSC$34450_forwardChannelTimerId_);
a.JSC$34450_forwardChannelTimerId_=null};
f=zE.prototype;f.JSC$34452_getExtraHeaders=function(){return this.JSC$34450_extraHeaders_};
f.getInitHeaders=function(){return this.initHeaders_};
f.JSC$34452_setReadyStateChangeThrottle=function(a){this.JSC$34450_readyStateChangeThrottleMs_=a};
f.JSC$34452_getHandler=function(){return this.handler_};
f.JSC$34452_getAllowHostPrefix=function(){return this.JSC$34450_allowHostPrefix_};
f.JSC$34452_setAllowHostPrefix=function(a){this.JSC$34450_allowHostPrefix_=a};
f.getAllowStreamingMode=function(){return this.allowStreamingMode_};
f.setAllowStreamingMode=function(a){this.allowStreamingMode_=a};
var QUa=function(a,b){a.JSC$34450_outgoingMaps_.push(new AUa(a.JSC$34450_nextMapId_++,b));3==a.JSC$34452_state_&&AE(a)};
f=zE.prototype;
f.JSC$34452_setFailFast=function(a){this.JSC$34450_failFast_=a;this.JSC$34450_channelDebug_.info("setFailFast: "+a);if((GUa(this.forwardChannelRequestPool_)||this.JSC$34450_forwardChannelTimerId_)&&this.JSC$34450_forwardChannelRetryCount_>(this.JSC$34450_failFast_?0:this.JSC$34450_forwardChannelMaxRetries_)){var b=this;this.JSC$34450_channelDebug_.info(function(){return"Retry count "+b.JSC$34450_forwardChannelRetryCount_+" > new maxRetries "+(b.JSC$34450_failFast_?0:b.JSC$34450_forwardChannelMaxRetries_)+". Fail immediately!"});
IUa(this.forwardChannelRequestPool_,Ea(this.JSC$34452_onRequestComplete,this))||(PUa(this),vE(this,2))}};
f.JSC$34452_setForwardChannelMaxRetries=function(a){this.JSC$34450_forwardChannelMaxRetries_=a};
f.JSC$34452_setForwardChannelRequestTimeout=function(a){this.JSC$34450_forwardChannelRequestTimeoutMs_=a};
f.getState=function(){return this.JSC$34452_state_};
f.JSC$34452_getLastArrayId=function(){return this.JSC$34450_lastArrayId_};
f.JSC$34452_hasOutstandingRequests=function(){var a=0;this.JSC$34450_backChannelRequest_&&a++;a+=uE(this.forwardChannelRequestPool_);return 0!=a};
var AE=function(a){CUa(a.forwardChannelRequestPool_)||a.JSC$34450_forwardChannelTimerId_||(a.JSC$34450_forwardChannelTimerId_=!0,bg(a.JSC$34452_onStartForwardChannelTimer_,a),a.JSC$34450_forwardChannelRetryCount_=0)},SUa=function(a,b){if(uE(a.forwardChannelRequestPool_)>=a.forwardChannelRequestPool_.JSC$34437_maxSize_-(a.JSC$34450_forwardChannelTimerId_?1:0))return!1;
if(a.JSC$34450_forwardChannelTimerId_)return a.JSC$34450_channelDebug_.debug("Use the retry request that is already scheduled."),a.JSC$34450_outgoingMaps_=b.JSC$34426_pendingMessages_.concat(a.JSC$34450_outgoingMaps_),!0;if(1==a.JSC$34452_state_||2==a.JSC$34452_state_||a.JSC$34450_forwardChannelRetryCount_>=(a.JSC$34450_failFast_?0:a.JSC$34450_forwardChannelMaxRetries_))return!1;a.JSC$34450_channelDebug_.debug("Going to retry POST");a.JSC$34450_forwardChannelTimerId_=jE(Ea(a.JSC$34452_onStartForwardChannelTimer_,
a,b),RUa(a,a.JSC$34450_forwardChannelRetryCount_));a.JSC$34450_forwardChannelRetryCount_++;return!0};
zE.prototype.JSC$34452_onStartForwardChannelTimer_=function(a){if(this.JSC$34450_forwardChannelTimerId_)if(this.JSC$34450_forwardChannelTimerId_=null,this.JSC$34450_channelDebug_.debug("startForwardChannel_"),1==this.JSC$34452_state_){if(!a){this.JSC$34450_channelDebug_.debug("open_()");this.JSC$34450_nextRid_=Math.floor(1E5*Math.random());a=this.JSC$34450_nextRid_++;var b=new mE(this,this.JSC$34450_channelDebug_,"",a,void 0),c=this.JSC$34450_extraHeaders_;this.initHeaders_&&(c?(c=x.clone(c),x.extend(c,
this.initHeaders_)):c=this.initHeaders_);null===this.httpHeadersOverwriteParam_&&(b.JSC$34426_extraHeaders_=c);var d;if(this.fastHandshake_)a:{for(var e=d=0;eq)h=Math.max(0,e[n].JSC$34434_mapId-100),m=!1;else try{LUa(u,l,"req"+q+"_")}catch(w){d&&d(u)}}if(m){d=l.join("&");break a}}a=a.JSC$34450_outgoingMaps_.splice(0,c);b.JSC$34426_pendingMessages_=a;return d},VUa=function(a){a.JSC$34450_backChannelRequest_||
a.JSC$34450_backChannelTimerId_||(a.JSC$34450_backChannelAttemptId_=1,bg(a.JSC$34452_onStartBackChannelTimer_,a),a.JSC$34450_backChannelRetryCount_=0)},yUa=function(a){if(a.JSC$34450_backChannelRequest_||a.JSC$34450_backChannelTimerId_||3<=a.JSC$34450_backChannelRetryCount_)return!1;
a.JSC$34450_channelDebug_.debug("Going to retry GET");a.JSC$34450_backChannelAttemptId_++;a.JSC$34450_backChannelTimerId_=jE(Ea(a.JSC$34452_onStartBackChannelTimer_,a),RUa(a,a.JSC$34450_backChannelRetryCount_));a.JSC$34450_backChannelRetryCount_++;return!0};
zE.prototype.JSC$34452_onStartBackChannelTimer_=function(){this.JSC$34450_backChannelTimerId_=null;WUa(this);if(this.detectBufferingProxy_&&!this.bpDetectionDone_)if(null==this.JSC$34450_backChannelRequest_||0>=this.handshakeRttMs_)this.JSC$34450_channelDebug_.warning("Skip bpDetectionTimerId_ "+this.JSC$34450_backChannelRequest_+" "+this.handshakeRttMs_);else{var a=2*this.handshakeRttMs_;this.JSC$34450_channelDebug_.info("BP detection timer enabled: "+a);this.bpDetectionTimerId_=jE(Ea(this.onBpDetectionTimer_,
this),a)}};
zE.prototype.onBpDetectionTimer_=function(){if(this.bpDetectionTimerId_){this.bpDetectionTimerId_=null;this.JSC$34450_channelDebug_.info("BP detection timeout reached.");if(null!=this.JSC$34450_backChannelRequest_.JSC$34426_xmlHttp_){var a=lC(this.JSC$34450_backChannelRequest_.JSC$34426_xmlHttp_);a&&this.JSC$34450_channelDebug_.warning("Timer should have been cancelled : "+a)}this.JSC$34450_channelDebug_.info("Buffering proxy detected and switch to long-polling!");this.enableStreaming_=!1;this.bpDetectionDone_=
!0;iE(10);tE(this);WUa(this)}else this.JSC$34450_channelDebug_.warning("Invalid operation.")};
var vUa=function(a){null!=a.bpDetectionTimerId_&&(a.JSC$34450_channelDebug_.debug("Cancel the BP detection timer."),v.clearTimeout(a.bpDetectionTimerId_),a.bpDetectionTimerId_=null)},WUa=function(a){a.JSC$34450_channelDebug_.debug("Creating new HttpRequest");
a.JSC$34450_backChannelRequest_=new mE(a,a.JSC$34450_channelDebug_,a.sid_,"rpc",a.JSC$34450_backChannelAttemptId_);null===a.httpHeadersOverwriteParam_&&(a.JSC$34450_backChannelRequest_.JSC$34426_extraHeaders_=a.JSC$34450_extraHeaders_);a.JSC$34450_backChannelRequest_.JSC$34426_readyStateChangeThrottleMs_=a.JSC$34450_readyStateChangeThrottleMs_;var b=a.JSC$34450_backChannelUri_.clone();Ol(b,"RID","rpc");Ol(b,"SID",a.sid_);Ol(b,"CI",a.enableStreaming_?"0":"1");Ol(b,"AID",a.JSC$34450_lastArrayId_);BE(a,
b);Ol(b,"TYPE","xmlhttp");a.httpHeadersOverwriteParam_&&a.JSC$34450_extraHeaders_&&wC(b,a.httpHeadersOverwriteParam_,a.JSC$34450_extraHeaders_);a.backChannelRequestTimeoutMs_&&a.JSC$34450_backChannelRequest_.setTimeout(a.backChannelRequestTimeoutMs_);var c=a.JSC$34450_backChannelRequest_,d=a.JSC$34450_hostPrefix_;c.JSC$34426_type_=1;c.JSC$34426_baseUri_=Rl(b.clone());c.JSC$34426_postData_=null;c.decodeChunks_=!0;jUa(c,d);a.JSC$34450_channelDebug_.debug("New Request created")};
zE.prototype.JSC$34452_onBackChannelDead_=function(){null!=this.JSC$34450_deadBackChannelTimerId_&&(this.JSC$34450_deadBackChannelTimerId_=null,tE(this),yUa(this),iE(19))};
var sE=function(a){null!=a.JSC$34450_deadBackChannelTimerId_&&(v.clearTimeout(a.JSC$34450_deadBackChannelTimerId_),a.JSC$34450_deadBackChannelTimerId_=null)};
zE.prototype.JSC$34452_onRequestComplete=function(a){this.JSC$34450_channelDebug_.debug("Request complete");var b=null;if(this.JSC$34450_backChannelRequest_==a){sE(this);vUa(this);this.JSC$34450_backChannelRequest_=null;var c=2}else if(xUa(this.forwardChannelRequestPool_,a))b=a.JSC$34426_pendingMessages_,EUa(this.forwardChannelRequestPool_,a),c=1;else return;this.JSC$34450_lastStatusCode_=a.JSC$34426_lastStatusCode_;if(0!=this.JSC$34452_state_)if(a.JSC$34426_successful_)1==c?(bUa(a.JSC$34426_postData_?
a.JSC$34426_postData_.length:0,Date.now()-a.JSC$34426_requestStartTime_,this.JSC$34450_forwardChannelRetryCount_),AE(this)):VUa(this);else{var d=a.getLastError();if(3==d||0==d&&0n.knowledgeTimestamp&&(n.knowledgeTimestamp=q);try{n.observer.next(m)}catch(F){}}break;case 2:m=a.nonCausalStreams.get(m)||a.limboStreams.get(m);if(!m)break;n=m.interestSet;if(u=je(q,HD,2,FD)){q=new aVa;u=k($d(u,iD,1));
for(var w=u.next();!w.done;w=u.next()){var A=w.value,E=G(A,dD,6);w=D(A,3);E&&w&&(A=xd(D(A,2)),A=null===A?void 0:A,(E=qVa(n,E))&&q.add(new yTa(E,cE(w),A)))}n=q}else n=void 0;if(n)for(n=k(n.changeList),q=n.next();!q.done;q=n.next()){q=q.value;q=new yTa(q.objectId,q.version,q.payload);try{m.observer.next(q)}catch(F){}}break;case 5:if(n=a,q=n.causalStreams.get(m)||n.limboStreams.get(m)||n.nonCausalStreams.get(m))try{q.observer.complete(),mVa(n,m)}catch(F){}}}if(Ed(h,2))switch(h=h.getStatus(),D(h,1)){case 1:a.channelState&&
a.channelState.channel.close();}},a,c.gsessionid),
affinitization:c.affinitization};b=[].concat(Array.from(a.causalStreams.entries())).concat(Array.from(a.nonCausalStreams.entries()));b.sort(function(h,l){return h[0]-l[0]});
b=k(b);for(c=b.next();!c.done;c=b.next()){var d=k(c.value);c=d.next().value;d=d.next().value;iVa(a,c,d)}b=k(a.limboStreams);for(c=b.next();!c.done;c=b.next())c=k(c.value),c.next(),c.next().value.observer.complete();a.limboStreams.clear();var e=a.channelState;Bl(function(){a.channelState===e&&a.delayGenerator.reset()},45E3)};
EE.prototype.watch=function(a,b){var c=this;b=void 0===b?{}:b;return new Lw(function(d){var e,h=++c.streamNumber,l=null!==(e=b.projectOverride)&&void 0!==e?e:c.defaultProject;d=new rVa(d,l,a);c.causalStreams.set(h,d);c.newStreamSubject.next({});iVa(c,h,d);return function(){mVa(c,h)}})};
EE.prototype.watchWithStartTime=function(a,b,c){var d=this;c=void 0===c?{}:c;return new Lw(function(e){var h,l=++d.streamNumber,m=null!==(h=c.projectOverride)&&void 0!==h?h:d.defaultProject;e=new hVa(e,m,a,b);d.nonCausalStreams.set(l,e);d.newStreamSubject.next({});iVa(d,l,e);return function(){mVa(d,l)}})};
var rVa=function(a,b,c){this.observer=a;this.project=b;this.interestSet=c};
rVa.prototype.start=function(){return new sVa(this.observer,this.project,this.interestSet)};
var sVa=function(a,b,c){this.observer=a;this.project=b;this.interestSet=c};
sVa.prototype.advance=function(a){return new hVa(this.observer,this.project,this.interestSet,a)};
var hVa=function(a,b,c,d){this.observer=a;this.project=b;this.interestSet=c;this.knowledgeTimestamp=d};
function jVa(a){var b=new nD;Zd(b,1,oD,a);return b}
function kVa(a){a.isPrivateToUser()?(a=new jD,Zd(a,2,kD,!0)):(a=new jD,Zd(a,1,kD,!0));return a}
function lVa(a){var b=new dD;a=k(a.parts);for(var c=a.next();!c.done;c=a.next()){var d=c.value;c=new eD;if(d.value instanceof UD)d.isDecreasing?Zd(c,4,gD,d.value.toString()):Zd(c,2,gD,d.value.toString());else if("string"===typeof d.value)d.isDecreasing?Zd(c,3,gD,d.value):Zd(c,1,gD,d.value);else if("number"===typeof d.value)d.isDecreasing?Zd(c,9,gD,d.value):Zd(c,10,gD,d.value);else if(d.value instanceof Uint8Array)d.isDecreasing?Zd(c,5,gD,d.value):Zd(c,7,gD,d.value);else if(d.value instanceof TD)d.isDecreasing?(
d=BTa(d.value),ae(c,11,gD,d)):(d=BTa(d.value),ae(c,12,gD,d));else if(d.value instanceof SD){var e=d.value.rep;d.isDecreasing?Zd(c,6,gD,e):Zd(c,8,gD,e)}ce(b,1,c,eD,void 0)}return b}
function qVa(a,b){if(a instanceof fE)return 0<$d(b,eD,1).length?null:GTa.apply(fE,ea(a.parts));a=Array.of.apply(Array,ea(a.root.parts));b=k($d(b,eD,1));for(var c=b.next();!c.done;c=b.next())switch(c=c.value,Fd(c,gD)){case 4:a.push(eE(cE(he(c,4,gD))));break;case 2:a.push(new dE(cE(he(c,2,gD))));break;case 6:a.push(eE(new SD(he(c,6,gD))));break;case 8:a.push(new dE(new SD(he(c,8,gD))));break;case 10:a.push(new dE(Jd(c,fe(c,gD,10))));break;case 9:a.push(eE(new dE(Jd(c,fe(c,gD,9)))));break;case 3:a.push(eE(he(c,
3,gD)));break;case 1:a.push(new dE(he(c,1,gD)));break;case 7:a.push(new dE(xd(he(c,7,gD))));break;case 5:a.push(eE(xd(he(c,5,gD))));break;case 12:c=CTa(je(c,Eu,12,gD));if(null===c)return null;a.push(new dE(c));break;case 11:c=CTa(je(c,Eu,11,gD));if(null===c)return null;a.push(eE(c));break;case 0:return null;default:return null;}return GTa.apply(fE,ea(a))}
;var tVa={firstPartyUri:new Dl("https://signaler-pa.clients6.google.com"),thirdPartyUri:new Dl("https://signaler-pa.googleapis.com")},uVa={firstPartyUri:new Dl("https://punctual-dev.corp.google.com"),thirdPartyUri:new Dl("https://signaler-staging.sandbox.google.com")},vVa=new Map(Object.entries({prod:tVa,ytprod:{firstPartyUri:new Dl("https://signaler-pa.youtube.com"),thirdPartyUri:new Dl("https://signaler-pa.googleapis.com")},dev:uVa}));var FE=function(a){this.projectPath=a;this.authParams=new JTa;this.inferProject=!1};
FE.prototype.setReconnectHint=function(a){this.JSC$34512_reconnectHint=a;return this};
var wVa=function(a){var b=KTa(a.authParams),c=a.projectPath;if(!c.startsWith("/punctual/"))throw Error("Invalid Punctual project path does not start with /punctual/: "+c);var d=c.substring(10).split("/");if(2!==d.length)throw Error("Invalid Punctual path has an incorrect number of parts: "+c);c=k(d);d=c.next().value;c=c.next().value;if(d.startsWith("custom:"))d=new Dl(decodeURIComponent(d.substring(7))),d={firstPartyUri:d,thirdPartyUri:d};else{var e=vVa.get(d);if(!e)throw Error("Invalid Punctual environment: '"+
d+"'");d=e}return fVa(d,b,a.JSC$34512_reconnectHint,a.inferProject?void 0:c)};var GE=function(a,b,c){this.name=a;this.isPrivateToUser=b;this.legacySource=c};
GE.makePrivateToUser=function(a){return new GE(a,!0)};
GE.makeLegacy=function(a,b){return new GE(b,!1,a)};
GE.prettyPrint=function(a){var b="{";a.legacySource&&(b=b.concat(" legacySource: "+a.legacySource+","));return b=b.concat(" name: \""+encodeURIComponent(a.name)+"\""," "+(a.isPrivateToUser?"(private)":"(public)")+" }")};var xVa=function(a){this.client=a};
xVa.prototype.createClientWithOverride=function(a){return new HE(this.client,{projectOverride:a})};
var HE=function(a,b){b=void 0===b?{}:b;this.punctualClient=a;this.watchOpts=b;this.status=a.status};
HE.prototype.start=function(){return{stop:function(){return Promise.resolve()}}};
var yVa=function(a,b){b=b.isPrivateToUser?HTa(b.name):GTa(b.name);return a.punctualClient.watch(new ITa(b),a.watchOpts).pipe(xx(function(c){return!(c instanceof ATa)}),ex(function(c){if(c instanceof yTa){var d=1===c.objectId.parts.length,e=c.payload&&Lca(c.payload);
return{version:c.version,payload:e,isSynthetic:!1,isSuppressor:d}}return{isSynthetic:!0,isSuppressor:!0}}),bIa())};var IE=function(a){this.inner=a},zVa=function(){var a=new FE("/punctual/prod/");
a.inferProject=!0;return new IE(a)};
IE.forProject=function(a){return new IE(new FE(a))};
IE.prototype.enableChannelSharing=function(){return this};
IE.prototype.JSC$34529_withAuthUser=function(a){this.inner.authParams.authUser=a;return this};
var AVa=function(a,b){a.inner.authParams.apiKey=b;return a};
IE.prototype.JSC$34529_withOAuthTokens=function(a){this.inner.authParams.JSC$34391_oauthTokens=a;return this};
IE.prototype.JSC$34529_forceAnonymous=function(){var a=this.inner.authParams;a.JSC$34391_appAuthTokens=new Rw("");a.JSC$34391_oauthTokens=void 0;return this};/*
gapi.loader.OBJECT_CREATE_TEST_OVERRIDE &&*/
var JE=window,KE=document,BVa=JE.location,CVa=function(){},DVa=/\[native code\]/,LE=function(a,b,c){return a[b]=a[b]||c},EVa=function(a){a=a.sort();
for(var b=[],c=void 0,d=0;dh}h&&c.push(e)}return c},dWa=function(){var a=OE.nonce;
return void 0!==a?a&&a===String(a)&&a.match(bWa)?a:OE.nonce=null:KE.querySelector?(a=KE.querySelector("script[nonce]"))?(a=a.nonce||a.getAttribute("nonce")||"",a&&a===String(a)&&a.match(bWa)?OE.nonce=a:OE.nonce=null):null:null},fWa=function(a){if("loading"!=KE.readyState)eWa(a);else
{var b=dWa(),c="";null!==b&&(c=" nonce=\""+b+"\"");a="<"+VE+" src=\""+encodeURI(a)+"\""+c+">";KE.write(WE?WE.createHTML(a):a)}},eWa=function(a){var b=KE.createElement(VE);
b.setAttribute("src",WE?WE.createScriptURL(a):a);a=dWa();null!==a&&b.setAttribute("nonce",a);b.async="true";(a=KE.getElementsByTagName(VE)[0])?a.parentNode.insertBefore(b,a):(KE.head||KE.body||KE.documentElement).appendChild(b)},gWa=function(a,b){var c=b&&b._c;
if(c)for(var d=0;d=e.right)&&(h&=-2);132==(h&132)&&(d.y=e.bottom)&&(h&=-5);d.xe.right&&(m.width=Math.min(e.right-
d.x,q+m.width-e.left),m.width=Math.max(m.width,0),n|=4)}d.x+m.width>e.right&&h&1&&(d.x=Math.max(e.right-m.width,e.left),n|=1);h&2&&(n|=(d.xe.right?32:0));d.ye.bottom&&(m.height=Math.min(e.bottom-d.y,q+m.height-e.top),m.height=Math.max(m.height,0),n|=8));d.y+m.height>e.bottom&&h&4&&(d.y=Math.max(e.bottom-m.height,e.top),n|=2);h&8&&(n|=(d.ye.bottom?128:0));e=n}else e=
256;n=e}e=new Af(0,0,0,0);e.left=a.x;e.top=a.y;e.width=l.width;e.height=l.height;n&496||(Hf(b,new Me(e.left,e.top)),l=new Oe(e.width,e.height),c==l||c&&l&&c.width==l.width&&c.height==l.height||(c=l,l=We(Re(Qe(b)).JSC$30570_document_),!rc||yc("10")||l?(b=b.style,uc?b.MozBoxSizing="border-box":vc?b.WebkitBoxSizing="border-box":b.boxSizing="border-box",b.width=Math.max(c.width,0)+"px",b.height=Math.max(c.height,0)+"px"):(e=b.style,l?(l=Vfa(b,"padding"),b=Rf(b),e.pixelWidth=c.width-b.left-l.left-l.right-
b.right,e.pixelHeight=c.height-b.top-l.top-l.bottom-b.bottom):(e.pixelWidth=c.width,e.pixelHeight=c.height))))},nF=function(a,b){return(b&8&&Of(a)?b^4:b)&-9};var oF=function(){};
Aa(oF);oF.prototype.JSC$34610_nextId_=0;oF.prototype.idPrefix_="";oF.prototype.setIdPrefix=function(a){this.idPrefix_=a};var pF=function(a){Lg.call(this);this.JSC$34612_dom_=a||Re();this.JSC$34612_rightToLeft_=BXa;this.JSC$34612_id_=null;this.inDocument_=!1;this.JSC$34612_element_=null;this.googUiComponentHandler_=void 0;this.childIndex_=this.children_=this.JSC$34612_parent_=this.model_=null;this.pointerEventsEnabled_=this.wasDecorated_=!1};
Ia(pF,Lg);pF.prototype.idGenerator_=oF.getInstance();var BXa=null;f=pF.prototype;f.getId=function(){var a;(a=this.JSC$34612_id_)||(a=this.idGenerator_,a=this.JSC$34612_id_=a.idPrefix_+":"+(a.JSC$34610_nextId_++).toString(36));return a};
f.JSC$34614_setId=function(a){this.JSC$34612_parent_&&this.JSC$34612_parent_.childIndex_&&(x.remove(this.JSC$34612_parent_.childIndex_,this.JSC$34612_id_),x.add(this.JSC$34612_parent_.childIndex_,a,this));this.JSC$34612_id_=a};
f.getElement=function(){return this.JSC$34612_element_};
f.JSC$34614_getElementsByClass=function(a){return this.JSC$34612_element_?Qea(a,this.JSC$34612_element_||this.JSC$34612_dom_.JSC$30570_document_):[]};
f.JSC$34614_getRequiredElementByClass=function(a){return this.JSC$34612_element_?Sea(a,this.JSC$34612_element_||this.JSC$34612_dom_.JSC$30570_document_):null};
var qF=function(a){a.googUiComponentHandler_||(a.googUiComponentHandler_=new xC(a));return a.googUiComponentHandler_},CXa=function(a,b){if(a==b)throw Error("Unable to set parent component");
var c;if(c=b&&a.JSC$34612_parent_&&a.JSC$34612_id_){c=a.JSC$34612_parent_;var d=a.JSC$34612_id_;c=c.childIndex_&&d?x.get(c.childIndex_,d)||null:null}if(c&&a.JSC$34612_parent_!=b)throw Error("Unable to set parent component");a.JSC$34612_parent_=b;pF.superClass_.setParentEventTarget.call(a,b)};
pF.prototype.setParentEventTarget=function(a){if(this.JSC$34612_parent_&&this.JSC$34612_parent_!=a)throw Error("Method not supported");pF.superClass_.setParentEventTarget.call(this,a)};
pF.prototype.JSC$34614_createDom=function(){this.JSC$34612_element_=this.JSC$34612_dom_.createElement("DIV")};
pF.prototype.render=function(a){DXa(this,a)};
pF.prototype.renderBefore=function(a){DXa(this,a.parentNode,a)};
var DXa=function(a,b,c){if(a.inDocument_)throw Error("Component already rendered");a.JSC$34612_element_||a.JSC$34614_createDom();b?b.insertBefore(a.JSC$34612_element_,c||null):a.JSC$34612_dom_.JSC$30570_document_.body.appendChild(a.JSC$34612_element_);a.JSC$34612_parent_&&!a.JSC$34612_parent_.inDocument_||a.enterDocument()};
f=pF.prototype;f.decorate=function(a){if(this.inDocument_)throw Error("Component already rendered");if(a&&this.canDecorate(a)){this.wasDecorated_=!0;var b=Qe(a);this.JSC$34612_dom_&&this.JSC$34612_dom_.JSC$30570_document_==b||(this.JSC$34612_dom_=Re(a));this.decorateInternal(a);this.enterDocument()}else throw Error("Invalid element to decorate")};
f.canDecorate=function(){return!0};
f.wasDecorated=function(){return this.wasDecorated_};
f.decorateInternal=function(a){this.JSC$34612_element_=a};
f.enterDocument=function(){this.inDocument_=!0;rF(this,function(a){!a.inDocument_&&a.getElement()&&a.enterDocument()})};
f.exitDocument=function(){rF(this,function(a){a.inDocument_&&a.exitDocument()});
this.googUiComponentHandler_&&this.googUiComponentHandler_.removeAll();this.inDocument_=!1};
f.disposeInternal=function(){this.inDocument_&&this.exitDocument();this.googUiComponentHandler_&&(this.googUiComponentHandler_.dispose(),delete this.googUiComponentHandler_);rF(this,function(a){a.dispose()});
!this.wasDecorated_&&this.JSC$34612_element_&&gf(this.JSC$34612_element_);this.JSC$34612_parent_=this.model_=this.JSC$34612_element_=this.childIndex_=this.children_=null;pF.superClass_.disposeInternal.call(this)};
f.makeIds=function(a){var b={},c;for(c in a){var d=c;var e=a[c];e=this.getId()+"."+e;b[d]=e}return b};
f.JSC$34614_getModel=function(){return this.model_};
f.JSC$34614_setModel=function(a){this.model_=a};
f.getFragmentFromId=function(a){return a.substring(this.getId().length+1)};
f.getElementByFragment=function(a){if(!this.inDocument_)throw Error("Operation not supported while component is not in document");var b=this.JSC$34612_dom_,c=b.getElement;a=this.getId()+"."+a;return c.call(b,a)};
f.addChild=function(a,b){var c=this.children_?this.children_.length:0;if(a.inDocument_&&(b||!this.inDocument_))throw Error("Component already rendered");if(0>c||c>(this.children_?this.children_.length:0))throw Error("Child component index out of bounds");this.childIndex_&&this.children_||(this.childIndex_={},this.children_=[]);a.JSC$34612_parent_==this?(x.set(this.childIndex_,a.getId(),a),Za(this.children_,a)):x.add(this.childIndex_,a.getId(),a);CXa(a,this);db(this.children_,c,0,a);a.inDocument_&&
this.inDocument_&&a.JSC$34612_parent_==this?(b=this.getContentElement(),(b.childNodes[c]||null)!=a.getElement()&&(a.getElement().parentElement==b&&b.removeChild(a.getElement()),c=b.childNodes[c]||null,b.insertBefore(a.getElement(),c))):b?(this.JSC$34612_element_||this.JSC$34614_createDom(),c=this.children_?this.children_[c+1]||null:null,DXa(a,this.getContentElement(),c?c.JSC$34612_element_:null)):this.inDocument_&&!a.inDocument_&&a.JSC$34612_element_&&a.JSC$34612_element_.parentNode&&1==a.JSC$34612_element_.parentNode.nodeType&&
a.enterDocument()};
f.getContentElement=function(){return this.JSC$34612_element_};
f.isRightToLeft=function(){null==this.JSC$34612_rightToLeft_&&(this.JSC$34612_rightToLeft_=Of(this.inDocument_?this.JSC$34612_element_:this.JSC$34612_dom_.JSC$30570_document_.body));return this.JSC$34612_rightToLeft_};
f.setRightToLeft=function(a){if(this.inDocument_)throw Error("Component already rendered");this.JSC$34612_rightToLeft_=a};
f.getChildIds=function(){var a=[];rF(this,function(b){a.push(b.getId())});
return a};
var rF=function(a,b){a.children_&&a.children_.forEach(b,void 0)};
f=pF.prototype;f.indexOfChild=function(a){return this.children_&&a?this.children_.indexOf(a):-1};
f.removeChild=function(a,b){if(a){var c="string"===typeof a?a:a.getId();a=this.childIndex_&&c?x.get(this.childIndex_,c)||null:null;c&&a&&(x.remove(this.childIndex_,c),Za(this.children_,a),b&&(a.exitDocument(),a.JSC$34612_element_&&gf(a.JSC$34612_element_)),CXa(a,null))}if(!a)throw Error("Child is not in parent component");return a};
f.JSC$34614_removeChildren=function(a){for(var b=[];this.children_&&0!=this.children_.length;){var c=b,d=c.push;var e=this.removeChild(this.children_?this.children_[0]||null:null,a);d.call(c,e)}return b};
f.pointerEventsEnabled=function(){return this.pointerEventsEnabled_};
f.setPointerEventsEnabled=function(a){if(this.inDocument_)throw Error("Component already rendered");this.pointerEventsEnabled_=a};function sF(a){pF.call(this,a)}
Ia(sF,pF);sF.prototype.JSC$34614_createDom=function(){var a=this.JSC$34612_dom_,b=a.JSC$30572_createDom("DIV");this.JSC$34612_element_=b;var c=a.JSC$30572_createDom("DIV","picker-min-arrow-inner"),d=a.JSC$30572_createDom("DIV","picker-min-arrow-border");a.appendChild(b,c);a.appendChild(b,d)};
var EXa=function(a,b,c){a=a.getElement();Cf(a,"left","");Cf(a,"right","");ng(b,"picker-min-top");ng(b,"picker-min-bottom");c=nF(b,c);c&1?(jg(a,"picker-min-arrow-down"),lg(b,"picker-min-bottom")):(jg(a,"picker-min-arrow-up"),lg(b,"picker-min-top"))};
sF.prototype.update=function(a,b,c){this.inDocument_&&(c||(c=new yf(0,0,0,0)),EXa(this,a,b),a=this.getElement(),b&4?Cf(a,"right",-c.right+"px"):Cf(a,"left",-c.left+"px"))};function FXa(a,b){hF.call(this,"set-drive-options");this.appId=a;this.appOrigin=b}
Ia(FXa,hF);var tF=function(a){hF.call(this,"visibility");this.visible=a};
Ia(tF,hF);var GXa;var uF=function(a,b){b?a.setAttribute("role",b):a.removeAttribute("role")},vF=function(a,b,c){Array.isArray(c)&&(c=c.join(" "));
var d="aria-"+b;""===c||void 0==c?(GXa||(GXa=x.create("atomic",!1,"autocomplete","none","dropeffect","none","haspopup",!1,"live","off","multiline",!1,"multiselectable",!1,"orientation","vertical","readonly",!1,"relevant","additions text","required",!1,"sort","none","busy",!1,"disabled",!1,"hidden",!1,"invalid","false")),c=GXa,b in c?a.setAttribute(d,c[b]):a.removeAttribute(d)):a.setAttribute(d,c)};var IXa=function(a){if(a.altKey&&!a.ctrlKey||a.metaKey||112<=a.keyCode&&123>=a.keyCode)return!1;if(HXa(a.keyCode))return!0;switch(a.keyCode){case 18:case 20:case 93:case 17:case 40:case 35:case 27:case 36:case 45:case 37:case 224:case 91:case 144:case 12:case 34:case 33:case 19:case 255:case 44:case 39:case 145:case 16:case 38:case 252:case 224:case 92:return!1;case 0:return!uc;default:return 166>a.keyCode||183=a||96<=a&&106>=a||65<=a&&90>=a||(vc||sc)&&0==
a)return!0;
switch(a){case 32:case 43:case 63:case 64:case 107:case 109:case 110:case 111:case 186:case 59:case 189:case 187:case 61:case 188:case 190:case 191:case 192:case 222:case 219:case 220:case 221:case 163:case 58:return!0;case 173:return uc;default:return!1;}},JXa=function(a){switch(a){case 61:return 187;
case 59:return 186;case 173:return 189;case 224:return 91;case 0:return 224;default:return a;}},KXa=function(a){switch(a){case 93:return 91;
default:return a;}};var wF=function(a,b,c){Lg.call(this);this.target=a;this.handle=b||a;this.limits=c||new Af(NaN,NaN,NaN,NaN);this.JSC$34621_document_=Qe(a);this.JSC$34621_eventHandler_=new xC(this);hg(this,this.JSC$34621_eventHandler_);this.deltaY=this.deltaX=this.startY=this.startX=this.screenY=this.screenX=this.clientY=this.clientX=0;this.enabled_=!0;this.dragging_=!1;this.preventMouseDown_=!0;this.hysteresisDistanceSquared_=0;this.useRightPositioningForRtl_=this.ieDragStartCancellingOn_=!1;Gg(this.handle,["touchstart",
"mousedown"],this.startDrag,!1,this);this.useSetCapture_=LXa};
Ia(wF,Lg);var LXa=v.document&&v.document.documentElement&&!!v.document.documentElement.setCapture&&!!v.document.releaseCapture;f=wF.prototype;f.setAllowSetCapture=function(a){this.useSetCapture_=a&&LXa};
f.enableRightPositioningForRtl=function(a){this.useRightPositioningForRtl_=a};
f.JSC$34624_getHandler=function(){return this.JSC$34621_eventHandler_};
f.JSC$34624_getHysteresis=function(){return Math.sqrt(this.hysteresisDistanceSquared_)};
f.setCancelIeDragStart=function(a){this.ieDragStartCancellingOn_=a};
f.getEnabled=function(){return this.enabled_};
f.setPreventMouseDown=function(a){this.preventMouseDown_=a};
f.disposeInternal=function(){wF.superClass_.disposeInternal.call(this);Jg(this.handle,["touchstart","mousedown"],this.startDrag,!1,this);this.JSC$34621_eventHandler_.removeAll();this.useSetCapture_&&this.JSC$34621_document_.releaseCapture();this.handle=this.target=null};
var MXa=function(a){void 0===a.JSC$34621_rightToLeft_&&(a.JSC$34621_rightToLeft_=Of(a.target));return a.JSC$34621_rightToLeft_};
wF.prototype.startDrag=function(a){var b="mousedown"==a.type;if(!this.enabled_||this.dragging_||b&&(0!=a.event_.button||wc&&a.ctrlKey))this.dispatchEvent("earlycancel");else{if(0==this.hysteresisDistanceSquared_){if(this.dispatchEvent(new xF("start",this,a.clientX,a.clientY,a)))this.dragging_=!0,this.preventMouseDown_&&b&&a.preventDefault();else return;}else this.preventMouseDown_&&b&&a.preventDefault();b=this.JSC$34621_document_;var c=b.documentElement,d=!this.useSetCapture_;this.JSC$34621_eventHandler_.listen(b,
["touchmove","mousemove"],this.handleMove_,{capture:d,passive:!1});this.JSC$34621_eventHandler_.listen(b,["touchend","mouseup"],this.endDrag,d);this.useSetCapture_?(c.setCapture(!1),this.JSC$34621_eventHandler_.listen(c,"losecapture",this.endDrag)):this.JSC$34621_eventHandler_.listen(Ze(b),"blur",this.endDrag);rc&&this.ieDragStartCancellingOn_&&this.JSC$34621_eventHandler_.listen(b,"dragstart",Rga);this.scrollTarget_&&this.JSC$34621_eventHandler_.listen(this.scrollTarget_,"scroll",this.onScroll_,
d);this.clientX=this.startX=a.clientX;this.clientY=this.startY=a.clientY;this.screenX=a.screenX;this.screenY=a.screenY;this.deltaX=this.useRightPositioningForRtl_?yXa(this.target):this.target.offsetLeft;this.deltaY=this.target.offsetTop;this.pageScroll=Ye(Re(this.JSC$34621_document_).JSC$30570_document_)}};
wF.prototype.endDrag=function(a,b){this.JSC$34621_eventHandler_.removeAll();this.useSetCapture_&&this.JSC$34621_document_.releaseCapture();this.dragging_?(this.dragging_=!1,this.dispatchEvent(new xF("end",this,a.clientX,a.clientY,a,NXa(this,this.deltaX),OXa(this,this.deltaY),b||"touchcancel"==a.type))):this.dispatchEvent("earlycancel")};
wF.prototype.endDragCancel=function(a){this.endDrag(a,!0)};
wF.prototype.handleMove_=function(a){if(this.enabled_){var b=(this.useRightPositioningForRtl_&&MXa(this)?-1:1)*(a.clientX-this.clientX),c=a.clientY-this.clientY;this.clientX=a.clientX;this.clientY=a.clientY;this.screenX=a.screenX;this.screenY=a.screenY;if(!this.dragging_){var d=this.startX-this.clientX,e=this.startY-this.clientY;if(d*d+e*e>this.hysteresisDistanceSquared_)if(this.dispatchEvent(new xF("start",this,a.clientX,a.clientY,a)))this.dragging_=!0;else{this.isDisposed()||this.endDrag(a);return}}c=
PXa(this,b,c);b=c.x;c=c.y;this.dragging_&&this.dispatchEvent(new xF("beforedrag",this,a.clientX,a.clientY,a,b,c))&&(QXa(this,a,b,c),a.preventDefault())}};
var PXa=function(a,b,c){var d=Ye(Re(a.JSC$34621_document_).JSC$30570_document_);b+=d.x-a.pageScroll.x;c+=d.y-a.pageScroll.y;a.pageScroll=d;a.deltaX+=b;a.deltaY+=c;return new Me(NXa(a,a.deltaX),OXa(a,a.deltaY))};
wF.prototype.onScroll_=function(a){var b=PXa(this,0,0);a.clientX=this.clientX;a.clientY=this.clientY;QXa(this,a,b.x,b.y)};
var QXa=function(a,b,c,d){a.useRightPositioningForRtl_&&MXa(a)?a.target.style.right=c+"px":a.target.style.left=c+"px";a.target.style.top=d+"px";a.dispatchEvent(new xF("drag",a,b.clientX,b.clientY,b,c,d))},NXa=function(a,b){var c=a.limits;
a=isNaN(c.left)?null:c.left;c=isNaN(c.width)?0:c.width;return Math.min(null!=a?a+c:Infinity,Math.max(null!=a?a:-Infinity,b))},OXa=function(a,b){var c=a.limits;
a=isNaN(c.top)?null:c.top;c=isNaN(c.height)?0:c.height;return Math.min(null!=a?a+c:Infinity,Math.max(null!=a?a:-Infinity,b))};
wF.prototype.isDragging=function(){return this.dragging_};
var xF=function(a,b,c,d,e,h,l,m){Ag.call(this,a);this.clientX=c;this.clientY=d;this.browserEvent=e;this.left=void 0!==h?h:b.deltaX;this.top=void 0!==l?l:b.deltaY;this.dragger=b;this.dragCanceled=!!m};
Ia(xF,Ag);var yF=function(a){this.map_=new Map;var b=arguments.length;if(1Date.now()-this.lastHideTime_};
BF.prototype.setVisible=function(a){this.showTransition_&&this.showTransition_.stop();this.hideTransition_&&this.hideTransition_.stop();if(a){if(!this.isVisible_&&this.dispatchEvent("beforeshow")){if(!this.JSC$34642_element_)throw Error("Caller must call setElement before trying to show the popup");this.JSC$34642_reposition();a=Qe(this.JSC$34642_element_);this.hideOnEscape_&&this.handler_.listen(a,"keydown",this.onDocumentKeyDown_,!0);if(this.autoHide_)if(this.handler_.listen(a,"mousedown",this.onDocumentMouseDown_,
!0),rc){try{var b=a.activeElement}catch(d){}for(;b&&"IFRAME"==b.nodeName;){try{var c=lf(b)}catch(d){break}a=c;b=a.activeElement}this.handler_.listen(a,"mousedown",this.onDocumentMouseDown_,!0);this.handler_.listen(a,"deactivate",this.onDocumentBlur_)}else this.handler_.listen(a,"blur",this.onDocumentBlur_);"toggle_display"==this.JSC$34642_type_?$Xa(this):"move_offscreen"==this.JSC$34642_type_&&this.JSC$34642_reposition();this.isVisible_=!0;this.lastShowTime_=Date.now();this.lastHideTime_=-1;if(this.showTransition_)Fg(this.showTransition_,
"end",this.onShow,!1,this),this.showTransition_.play();else this.onShow()}}else CF(this)};
BF.prototype.JSC$34642_reposition=ya;var CF=function(a,b){if(!a.isVisible_||!a.dispatchEvent({type:"beforehide",target:b}))return!1;a.handler_&&a.handler_.removeAll();a.isVisible_=!1;a.lastHideTime_=Date.now();a.hideTransition_?(Fg(a.hideTransition_,"end",Fa(a.continueHidingPopup_,b),!1,a),a.hideTransition_.play()):a.continueHidingPopup_(b);return!0};
BF.prototype.continueHidingPopup_=function(a){"toggle_display"==this.JSC$34642_type_?this.shouldHideAsync_?Bl(this.hidePopupElement,0,this):this.hidePopupElement():"move_offscreen"==this.JSC$34642_type_&&(this.JSC$34642_element_.style.top="-10000px");this.onHide(a)};
var $Xa=function(a){a.JSC$34642_element_.style.visibility="visible";Nf(a.JSC$34642_element_,!0)};
f=BF.prototype;f.hidePopupElement=function(){this.JSC$34642_element_.style.visibility="hidden";Nf(this.JSC$34642_element_,!1)};
f.onShow=function(){this.dispatchEvent("show")};
f.onHide=function(a){this.dispatchEvent({type:"hide",target:a})};
f.onDocumentMouseDown_=function(a){a=a.target;kf(this.JSC$34642_element_,a)||aYa(this,a)||this.autoHideRegion_&&!kf(this.autoHideRegion_,a)||150>Date.now()-this.lastShowTime_||CF(this,a)};
f.onDocumentKeyDown_=function(a){27==a.keyCode&&CF(this,a.target)&&(a.preventDefault(),a.stopPropagation())};
f.onDocumentBlur_=function(a){if(this.enableCrossIframeDismissal_){var b=Qe(this.JSC$34642_element_);if("undefined"!=typeof document.activeElement){if(a=b.activeElement,!a||kf(this.JSC$34642_element_,a)||"BODY"==a.tagName||aYa(this,a))return}else if(a.target!=b)return;150>Date.now()-this.lastShowTime_||CF(this)}};
var aYa=function(a,b){return Ua(a.autoHidePartners_||[],function(c){return b===c||kf(c,b)})};
BF.prototype.disposeInternal=function(){BF.superClass_.disposeInternal.call(this);this.handler_.dispose();fg(this.showTransition_);fg(this.hideTransition_);delete this.JSC$34642_element_;delete this.handler_;delete this.autoHidePartners_};var DF=function(a,b){pF.call(this,b);this.useIframeMask_=!!a;this.lastFocus_=null;this.resizeBackgroundTask_=VXa({mutate:this.resizeBackground_},this)};
Ia(DF,pF);f=DF.prototype;f.JSC$34647_focusHandler_=null;f.visible_=!1;f.bgEl_=null;f.bgIframeEl_=null;f.JSC$34647_tabCatcherElement_=null;f.JSC$34647_backwardTabWrapInProgress_=!1;f.getCssClass=function(){return"goog-modalpopup"};
f.getBackgroundElement=function(){return this.bgEl_};
f.JSC$34614_createDom=function(){DF.superClass_.JSC$34614_createDom.call(this);var a=this.getElement(),b=rb(this.getCssClass()).split(" ");mg(a,b);pf(a,!0);Nf(a,!1);bYa(this);cYa(this)};
var bYa=function(a){if(a.useIframeMask_&&!a.bgIframeEl_){var b=a.JSC$34612_dom_.JSC$30572_createDom("IFRAME",{frameborder:0,style:"border:0;vertical-align:bottom;"});b.src=lb(WXa);a.bgIframeEl_=b;a.bgIframeEl_.className=a.getCssClass()+"-bg";Nf(a.bgIframeEl_,!1);Tfa(a.bgIframeEl_,0)}a.bgEl_||(a.bgEl_=a.JSC$34612_dom_.JSC$30572_createDom("DIV",a.getCssClass()+"-bg"),Nf(a.bgEl_,!1))},cYa=function(a){a.JSC$34647_tabCatcherElement_||(a.JSC$34647_tabCatcherElement_=a.JSC$34612_dom_.createElement("SPAN"),
Nf(a.JSC$34647_tabCatcherElement_,!1),pf(a.JSC$34647_tabCatcherElement_,!0),a.JSC$34647_tabCatcherElement_.style.position="absolute")};
f=DF.prototype;f.JSC$34647_resetBackwardTabWrap_=function(){this.JSC$34647_backwardTabWrapInProgress_=!1};
f.canDecorate=function(a){return!!a&&"DIV"==a.tagName};
f.decorateInternal=function(a){DF.superClass_.decorateInternal.call(this,a);a=rb(this.getCssClass()).split(" ");mg(this.getElement(),a);bYa(this);cYa(this);pf(this.getElement(),!0);Nf(this.getElement(),!1)};
f.enterDocument=function(){this.bgIframeEl_&&ef(this.bgIframeEl_,this.getElement());ef(this.bgEl_,this.getElement());DF.superClass_.enterDocument.call(this);ff(this.JSC$34647_tabCatcherElement_,this.getElement());this.JSC$34647_focusHandler_=new AF(this.JSC$34612_dom_.JSC$30570_document_);qF(this).listen(this.JSC$34647_focusHandler_,"focusin",this.onFocus);dYa(this,!1)};
f.exitDocument=function(){this.isVisible()&&this.setVisible(!1);fg(this.JSC$34647_focusHandler_);DF.superClass_.exitDocument.call(this);gf(this.bgIframeEl_);gf(this.bgEl_);gf(this.JSC$34647_tabCatcherElement_)};
f.setVisible=function(a){if(a!=this.visible_)if(this.popupShowTransition_&&this.popupShowTransition_.stop(),this.bgShowTransition_&&this.bgShowTransition_.stop(),this.popupHideTransition_&&this.popupHideTransition_.stop(),this.bgHideTransition_&&this.bgHideTransition_.stop(),this.inDocument_&&dYa(this,a),a){if(this.dispatchEvent("beforeshow")){try{this.lastFocus_=this.JSC$34612_dom_.JSC$30570_document_.activeElement}catch(e){}this.resizeBackground_();this.JSC$34647_reposition();qF(this).listen(uf(this.JSC$34612_dom_),
"resize",this.resizeBackground_).listen(uf(this.JSC$34612_dom_),"orientationchange",this.resizeBackgroundTask_);eYa(this,!0);this.focus();this.visible_=!0;if(this.popupShowTransition_&&this.bgShowTransition_)Fg(this.popupShowTransition_,"end",this.onShow,!1,this),this.bgShowTransition_.play(),this.popupShowTransition_.play();else this.onShow()}}else if(this.dispatchEvent("beforehide")){qF(this).unlisten(uf(this.JSC$34612_dom_),"resize",this.resizeBackground_).unlisten(uf(this.JSC$34612_dom_),"orientationchange",
this.resizeBackgroundTask_);this.visible_=!1;if(this.popupHideTransition_&&this.bgHideTransition_)Fg(this.popupHideTransition_,"end",this.onHide,!1,this),this.bgHideTransition_.play(),this.popupHideTransition_.play();else this.onHide();a:{try{var b=this.JSC$34612_dom_,c=b.JSC$30570_document_.body,d=b.JSC$30570_document_.activeElement||c;if(!this.lastFocus_||this.lastFocus_==c){this.lastFocus_=null;break a}(d==c||b.contains(this.getElement(),d))&&this.lastFocus_.focus()}catch(e){}this.lastFocus_=null}}};
var dYa=function(a,b){a.modalAriaVisibilityHelper_||(a.modalAriaVisibilityHelper_=new YXa(a.JSC$34612_element_,a.JSC$34612_dom_));a=a.modalAriaVisibilityHelper_;if(b){a.JSC$34639_hiddenElements_||(a.JSC$34639_hiddenElements_=[]);b=a.JSC$34637_dom_.getChildren(a.JSC$34637_dom_.JSC$30570_document_.body);for(var c=0;c"),a.JSC$30429_getDirection()));this.content_=a;this.contentEl_&&Ob(this.contentEl_,a)};
f.getContent=function(){return null!=this.content_?Ib(this.content_).toString():""};
f.getSafeHtmlContent=function(){return this.content_};
f.setPreferredAriaRole=function(a){this.preferredAriaRole_=a};
f.isAriaDescribedByContent=function(){return this.isAriaDescribedByContent_};
f.setIsAriaDescribedByContent=function(a){this.isAriaDescribedByContent_=a};
var HF=function(a){a.getElement()||a.render()};
f=GF.prototype;f.getContentElement=function(){HF(this);return this.contentEl_};
f.getTitleElement=function(){HF(this);return this.titleEl_};
f.getTitleTextElement=function(){HF(this);return this.titleTextEl_};
f.getTitleCloseElement=function(){HF(this);return this.titleCloseEl_};
f.getDialogCloseMessage=function(){return"Close"};
f.getButtonElement=function(){HF(this);return this.buttonEl_};
var gYa=function(a){HF(a);return a.getElement()};
GF.prototype.getBackgroundElement=function(){HF(this);return GF.superClass_.getBackgroundElement.call(this)};
GF.prototype.getBackgroundElementOpacity=function(){return this.backgroundElementOpacity_};
var hYa=function(a,b){a.backgroundElementOpacity_=b;a.getElement()&&(b=a.getBackgroundElement())&&Tfa(b,a.backgroundElementOpacity_)};
GF.prototype.setModal=function(a){a!=this.modal_&&iYa(this,a)};
var iYa=function(a,b){a.modal_=b;if(a.inDocument_){var c=a.JSC$34612_dom_,d=a.getBackgroundElement(),e=a.bgIframeEl_;b?(e&&c.insertSiblingBefore(e,a.getElement()),c.insertSiblingBefore(d,a.getElement())):(c.removeNode(e),c.removeNode(d))}a.isVisible()&&dYa(a,b)};
GF.prototype.getModal=function(){return this.modal_};
GF.prototype.getClass=function(){return this.getCssClass()};
GF.prototype.setDraggable=function(a){this.draggable_=a;jYa(this,a&&this.inDocument_)};
GF.prototype.getDraggable=function(){return this.draggable_};
var jYa=function(a,b){var c=rb(a.JSC$34654_class_+"-title-draggable").split(" ");a.getElement()&&(b?mg(a.titleEl_,c):og(a.titleEl_,c));b&&!a.JSC$34656_dragger_?(b=new wF(a.getElement(),a.titleEl_),a.JSC$34656_dragger_=b,mg(a.titleEl_,c),Gg(a.JSC$34656_dragger_,"start",a.setDraggerLimits_,!1,a)):!b&&a.JSC$34656_dragger_&&(a.JSC$34656_dragger_.dispose(),a.JSC$34656_dragger_=null)};
f=GF.prototype;
f.JSC$34614_createDom=function(){GF.superClass_.JSC$34614_createDom.call(this);var a=this.getElement(),b=this.JSC$34612_dom_;this.titleTextId_=this.getId();var c=this.getId()+".contentEl";this.titleEl_=b.JSC$30572_createDom("DIV",this.JSC$34654_class_+"-title",this.titleTextEl_=b.JSC$30572_createDom("SPAN",{className:this.JSC$34654_class_+"-title-text",id:this.titleTextId_},this.JSC$34656_title_),this.titleCloseEl_=b.JSC$30572_createDom("SPAN",this.JSC$34654_class_+"-title-close"));$ea(a,this.titleEl_,
this.contentEl_=b.JSC$30572_createDom("DIV",{className:this.JSC$34654_class_+"-content",id:c}),this.buttonEl_=b.JSC$30572_createDom("DIV",this.JSC$34654_class_+"-buttons"));uF(this.titleTextEl_,"heading");uF(this.titleCloseEl_,"button");pf(this.titleCloseEl_,!0);vF(this.titleCloseEl_,"label","Close");uF(a,this.preferredAriaRole_);vF(a,"labelledby",this.titleTextId_||"");this.content_&&(Ob(this.contentEl_,this.content_),this.isAriaDescribedByContent_&&c&&vF(a,"describedby",c));Nf(this.titleCloseEl_,
this.hasTitleCloseButton_);this.buttons_&&(a=this.buttons_,a.JSC$34659_element_=this.buttonEl_,a.render());Nf(this.buttonEl_,!!this.buttons_);hYa(this,this.backgroundElementOpacity_)};
f.decorateInternal=function(a){GF.superClass_.decorateInternal.call(this,a);a=this.getElement();var b=this.JSC$34654_class_+"-content";this.contentEl_=Ue(document,null,b,a)[0];this.contentEl_||(this.contentEl_=this.JSC$34612_dom_.JSC$30572_createDom("DIV",b),this.content_&&Ob(this.contentEl_,this.content_),a.appendChild(this.contentEl_));b=this.JSC$34654_class_+"-title";var c=this.JSC$34654_class_+"-title-text",d=this.JSC$34654_class_+"-title-close";(this.titleEl_=Ue(document,null,b,a)[0])?(this.titleTextEl_=
Ue(document,null,c,this.titleEl_)[0],this.titleCloseEl_=Ue(document,null,d,this.titleEl_)[0]):(this.titleEl_=this.JSC$34612_dom_.JSC$30572_createDom("DIV",b),a.insertBefore(this.titleEl_,this.contentEl_));this.titleTextEl_?(this.JSC$34656_title_=qf(this.titleTextEl_),this.titleTextEl_.id||(this.titleTextEl_.id=this.getId())):(this.titleTextEl_=$e("SPAN",{className:c,id:this.getId()}),this.titleEl_.appendChild(this.titleTextEl_));this.titleTextId_=this.titleTextEl_.id;vF(a,"labelledby",this.titleTextId_||
"");this.titleCloseEl_||(this.titleCloseEl_=this.JSC$34612_dom_.JSC$30572_createDom("SPAN",d),this.titleEl_.appendChild(this.titleCloseEl_));Nf(this.titleCloseEl_,this.hasTitleCloseButton_);b=this.JSC$34654_class_+"-buttons";(this.buttonEl_=Ue(document,null,b,a)[0])?(this.buttons_=new EF(this.JSC$34612_dom_),this.buttons_.decorate(this.buttonEl_)):(this.buttonEl_=this.JSC$34612_dom_.JSC$30572_createDom("DIV",b),a.appendChild(this.buttonEl_),this.buttons_&&(a=this.buttons_,a.JSC$34659_element_=this.buttonEl_,
a.render()),Nf(this.buttonEl_,!!this.buttons_));hYa(this,this.backgroundElementOpacity_)};
f.enterDocument=function(){GF.superClass_.enterDocument.call(this);qF(this).listen(this.getElement(),"keydown",this.onKey_).listen(this.getElement(),"keypress",this.onKey_);qF(this).listen(this.buttonEl_,"click",this.onButtonClick_);jYa(this,this.draggable_);qF(this).listen(this.titleCloseEl_,"click",this.onTitleCloseClick_);var a=this.getElement();uF(a,this.preferredAriaRole_);""!==this.titleTextEl_.id&&vF(a,"labelledby",this.titleTextEl_.id);this.modal_||iYa(this,!1)};
f.exitDocument=function(){this.isVisible()&&this.setVisible(!1);jYa(this,!1);GF.superClass_.exitDocument.call(this)};
f.setVisible=function(a){a!=this.isVisible()&&(this.inDocument_||this.render(),GF.superClass_.setVisible.call(this,a))};
f.onShow=function(){GF.superClass_.onShow.call(this);this.dispatchEvent("aftershow")};
f.onHide=function(){GF.superClass_.onHide.call(this);this.dispatchEvent("afterhide");this.JSC$34656_disposeOnHide_&&this.dispose()};
f.setDraggerLimits_=function(){var a=this.JSC$34612_dom_.JSC$30570_document_,b=Ve(Ze(a)||window),c=Math.max(a.body.scrollWidth,b.width);a=Math.max(a.body.scrollHeight,b.height);var d=Lf(this.getElement());"fixed"==Ff(this.getElement())?this.JSC$34656_dragger_.limits=new Af(0,0,Math.max(0,b.width-d.width),Math.max(0,b.height-d.height)):this.JSC$34656_dragger_.limits=new Af(0,0,c-d.width,a-d.height)};
f.onTitleCloseClick_=function(){kYa(this)};
var kYa=function(a){if(a.hasTitleCloseButton_){var b=a.buttons_,c=b&&b.cancelButton_;c?(b=b.get(c),a.dispatchEvent(new IF(c,b))&&a.setVisible(!1)):a.setVisible(!1)}};
GF.prototype.getHasTitleCloseButton=function(){return this.hasTitleCloseButton_};
var lYa=function(a){a.hasTitleCloseButton_=!1;a.titleCloseEl_&&Nf(a.titleCloseEl_,a.hasTitleCloseButton_)};
f=GF.prototype;f.isEscapeToCancel=function(){return this.escapeToCancel_};
f.JSC$34656_getDisposeOnHide=function(){return this.JSC$34656_disposeOnHide_};
f.disposeInternal=function(){this.buttonEl_=this.titleCloseEl_=null;GF.superClass_.disposeInternal.call(this)};
f.onButtonClick_=function(a){a:{for(a=a.target;null!=a&&a!=this.buttonEl_;){if("BUTTON"==a.tagName)break a;a=a.parentNode}a=null}if(a&&!a.disabled){a=a.name;var b=this.buttons_.get(a);this.dispatchEvent(new IF(a,b))&&this.setVisible(!1)}};
f.onKey_=function(a){var b=!1,c=!1,d=this.buttons_,e=a.target;if("keydown"==a.type){if(this.escapeToCancel_&&27==a.keyCode){var h=d&&d.cancelButton_;e="SELECT"==e.tagName&&!e.disabled;h&&!e?(c=!0,b=d.get(h),b=this.dispatchEvent(new IF(h,b))):e||(b=!0)}else{if(9==a.keyCode&&a.shiftKey&&e==this.getElement()){this.JSC$34647_backwardTabWrapInProgress_=!0;try{this.JSC$34647_tabCatcherElement_.focus()}catch(n){}Bl(this.JSC$34647_resetBackwardTabWrap_,0,this)}}}else if(13==a.keyCode){if("BUTTON"==e.tagName&&
!e.disabled)h=e.name;else if(e==this.titleCloseEl_)kYa(this);else if(d){var l=d.defaultButton_,m=l&&mYa(d,l);e=("TEXTAREA"==e.tagName||"SELECT"==e.tagName||"A"==e.tagName)&&!e.disabled;!m||m.disabled||e||(h=l)}h&&d&&(c=!0,b=this.dispatchEvent(new IF(h,String(d.get(h)))))}else e!=this.titleCloseEl_||32!=a.keyCode&&" "!=a.key||kYa(this);if(b||c)a.stopPropagation(),a.preventDefault();b&&this.setVisible(!1)};
var IF=function(a,b){this.type="dialogselect";this.key=a;this.caption=b};
Ia(IF,Ag);var EF=function(a){yF.call(this);this.JSC$34659_dom_=a||Re();this.JSC$34659_class_="goog-buttonset";this.cancelButton_=this.JSC$34659_element_=this.defaultButton_=null};
Ia(EF,yF);f=EF.prototype;f.clear=function(){yF.prototype.clear.call(this);this.defaultButton_=this.cancelButton_=null};
f.set=function(a,b,c,d){yF.prototype.set.call(this,a,b);c&&(this.defaultButton_=a);d&&(this.cancelButton_=a);return this};
f.addButton=function(a,b,c){return this.set(a.key,a.caption,b,c)};
f.render=function(){if(this.JSC$34659_element_){Ob(this.JSC$34659_element_,Mb);var a=Re(this.JSC$34659_element_);this.forEach(function(b,c){b=a.JSC$30572_createDom("BUTTON",{name:c},b);c==this.defaultButton_&&(b.className="goog-buttonset-default");this.JSC$34659_element_.appendChild(b)},this)}};
f.decorate=function(a){if(a&&1==a.nodeType){this.JSC$34659_element_=a;a=Te("BUTTON",this.JSC$34659_element_);for(var b=0,c,d,e;c=a[b];b++)if(d=c.name||c.id,e=qf(c)||c.value,d){var h=0==b;this.set(d,e,h,"cancel"==c.name);h&&lg(c,"goog-buttonset-default")}}};
f.getElement=function(){return this.JSC$34659_element_};
f.JSC$34671_getDomHelper=function(){return this.JSC$34659_dom_};
f.setDefault=function(a){this.defaultButton_=a};
f.setCancel=function(a){this.cancelButton_=a};
var mYa=function(a,b){a=Te("BUTTON",a.JSC$34659_element_);for(var c=0,d;d=a[c];c++)if(d.name==b||d.id==b)return d;return null};
EF.prototype.setButtonEnabled=function(a,b){if(a=mYa(this,a))a.disabled=!b};
EF.prototype.setAllButtonsEnabled=function(a){for(var b=Te("BUTTON",this.JSC$34659_element_),c=0,d;d=b[c];c++)d.disabled=!a};
var fYa={key:"ok",caption:"OK"},FF={key:"cancel",caption:"Cancel"},nYa={key:"yes",caption:"Yes"},oYa={key:"no",caption:"No"},pYa={key:"save",caption:"Save"},qYa={key:"continue",caption:"Continue"};"undefined"!=typeof document&&(new EF().addButton(fYa,!0,!0),new EF().addButton(fYa,!0).addButton(FF,!1,!0),new EF().addButton(nYa,!0).addButton(oYa,!1,!0),new EF().addButton(nYa).addButton(oYa,!0).addButton(FF,!1,!0),new EF().addButton(qYa).addButton(pYa).addButton(FF,!0,!0));var rYa=function(a,b,c){GF.call(this,a,b,c)};
Ia(rYa,GF);var sYa=function(a){dF.call(this,a)};
Ia(sYa,dF);var tYa=nb(ib("//www-onepick-opensocial.googleusercontent.com/gadgets/js/rpc.js?c=1&container=onepick")),uYa=nb(ib("//apis.google.com/js/rpc.js"));function vYa(a,b){if(!wYa(b)){b=b||Re(document);var c=b.createElement("SCRIPT");Je(c,a);c.type="text/javascript";b.JSC$30570_document_.body.appendChild(c)}}
function wYa(a){a=a&&uf(a)||window;return a.gadgets&&a.gadgets.rpc}
var JF=null;function xYa(a,b){var c=b&&uf(b)||window;if(wYa(b))a();else if(JF)JF.push(a);else var d=JF=[a],e=c.setInterval(function(){if(wYa(b)){c.clearInterval(e);for(var h=0;hl&&(e=l,d.getBoundingClientRect().left+l/2>a.getBoundingClientRect().left&&(e=Math.min(e,l/2))));Cf(c,"left",e+"px")}}else this.calloutArrow_.update(this.getElement(),b,this.JSC$34685_margin_||null);nF(this.getElement(),b)&1?jg(this.JSC$34693_iframe_,"picker-min-frame-down"):jg(this.JSC$34693_iframe_,"picker-min-frame-up")}};
var zYa=function(a){return rc&&yc("7")&&ob(a.JSC$34693_url_,"https")?nb(ib("https://about:blank")):rc?nb(ib("javascript:\"\"")):nb(ib("about:blank"))},AYa=function(a){OF(a,Ea(function(b){b.setAuthToken(this.JSC$34691_targetId_,this.JSC$34691_rpcToken_)},a));
a.JSC$34693_iframeLoaded_=!0;a.handler_.unlisten(uf(a.JSC$34687_domHelper_),"keydown",a.JSC$34693_handleKeydown_);pf(a.JSC$34693_iframe_,!0);a.isVisible()&&Bl(Ea(a.focus,a,a.JSC$34693_iframe_),0)};
NF.prototype.JSC$34693_handleKeydown_=function(a){27==a.keyCode&&(CYa(this),a.stopPropagation(),a.preventDefault())};
var OF=function(a,b){var c=a.JSC$34687_domHelper_;xYa(function(){b(uf(c).gadgets.rpc)},c)};
NF.prototype.setUrl=function(a){a=Ol(Ol(new Dl(a),"rpctoken",this.JSC$34691_rpcToken_),"rpcService",this.JSC$34691_targetId_);El(a,"https");this.JSC$34693_url_=a.toString();this.JSC$34693_iframe_&&He(this.JSC$34693_iframe_,Ng(this.JSC$34693_url_))};
var DYa=function(a,b){a.callback_=b;OF(a,Ea(function(c){c.register(this.JSC$34691_targetId_,Ea(this.JSC$34693_handlePickerAction_,this))},a))};
NF.prototype.JSC$34693_handlePickerAction_=function(a){switch(a.action){case"viewUpdated":case"viewChanged":this.JSC$34642_reposition();return;case"enableWhiteCallout":a=a.extraUserInputs;var b=this.getElement();a&&a.ewc?lg(b,"picker-white-callout"):ng(b,"picker-white-callout");return;case"loaded":this.JSC$34693_loadedFired_=!0;this.sendCommand(new tF(this.isVisible()));EYa(this);break;case"blurred":this.getElement()!=tf(this.JSC$34687_domHelper_.JSC$30570_document_)&&this.isVisible()&&(this.setVisible(!1),
this.callback_({action:"cancel"}));return;case"picked":case"cancel":this.setVisible(!1);}this.callback_(a)};
var EYa=function(a){a.JSC$34693_appId_&&a.sendCommand(new FXa(a.JSC$34693_appId_,window.location.protocol+"//"+window.location.host))};
f=NF.prototype;f.setRelayUrl=function(a){OF(this,Ea(function(b){b.setRelayUrl(this.JSC$34691_targetId_,a)},this))};
f.sendCommand=function(a){"refresh"==a.action?(this.JSC$34693_iframe_&&!this.isVisible()&&(this.getElement().removeChild(this.JSC$34693_iframe_),this.JSC$34693_iframe_=null),BYa(this)):OF(this,Ea(function(b){b.call(this.JSC$34691_targetId_,"picker",null,a)},this))};
f.onShow=function(){NF.superClass_.onShow.call(this);ff(this.JSC$34687_tabCatcherElement_,this.getElement());this.JSC$34689_focusHandler_=new AF(this.JSC$34687_domHelper_.JSC$30570_document_);this.handler_.listen(this.JSC$34689_focusHandler_,"focusin",this.onFocus_).listen(this.getElement(),"keydown",this.onKeyDown_);BYa(this);if(!this.JSC$34691_disableAutoHide_){var a=this.JSC$34687_domHelper_.JSC$30570_document_;this.handler_.listen(a,"mousedown",this.handleDocumentMouseDown_,!0);if(rc){for(var b=
tf(a);b&&"IFRAME"==b.nodeName;){try{var c=lf(b)}catch(u){break}a=c;b=tf(a)}this.handler_.listen(a,"mousedown",this.handleDocumentMouseDown_,!0)}}this.sendCommand(new tF(!0));AXa(new Me(0,0),this.getElement(),0,this.JSC$34685_margin_||null);this.JSC$34642_reposition();if(this.isNew&&(a=this.JSC$34683_position_||null,a instanceof KF&&"function"===typeof this.getElement().getBoundingClientRect)){b=this.popupCorner_;var d=Ve(uf(this.JSC$34687_domHelper_)).height,e=Ve(uf(this.JSC$34687_domHelper_)).width;
c=null;var h=a.corner,l=this.viewportElement_?this.viewportElement_.getBoundingClientRect():void 0,m=l?l.top:0;d=l?Math.min(l.bottom,d):d;e=l?Math.min(l.right,e):e;l=l?l.left:0;var n=a.element.getBoundingClientRect(),q=this.getElement().getBoundingClientRect();if(!(h&1)&&q.topd&&n.top>m+(q.bottom-q.top))h^=1,c=new KF(a.element,h),b^=1;if(h&4&&q.lefte&&n.right>l+(q.right-q.left))c=new KF(a.element,h^4),b^=4;c&&(this.JSC$34683_position_=c||void 0,this.isVisible()&&
this.JSC$34642_reposition(),this.popupCorner_=b,this.isVisible()&&this.JSC$34642_reposition(),this.JSC$34642_reposition())}this.JSC$34693_iframeLoaded_?this.focus(this.JSC$34693_iframe_):this.focus(this.getElement())};
f.onHide=function(a){NF.superClass_.onHide.call(this,a);fg(this.JSC$34689_focusHandler_);gf(this.JSC$34687_tabCatcherElement_);this.sendCommand(new tF(!1))};
f.handleDocumentMouseDown_=function(a){a=a.target;kf(this.getElement(),a)||aYa(this,a)||this.autoHideRegion_&&!kf(this.autoHideRegion_,a)||150>Date.now()-this.lastShowTime_||CYa(this)};
var CYa=function(a){a.isVisible()&&(a.setVisible(!1),a.callback_({action:"cancel"}))};
NF.prototype.disposeInternal=function(){this.canDispose_?(gf(this.getElement()),NF.superClass_.disposeInternal.call(this)):Bl(function(){this.canDispose_=!0;this.disposeInternal()},0,this)};var PF=function(a,b){Lg.call(this);this.JSC$34698_element_=a;a=jf(this.JSC$34698_element_)?this.JSC$34698_element_:this.JSC$34698_element_?this.JSC$34698_element_.body:null;this.JSC$34698_isRtl_=!!a&&Of(a);this.listenKey_=Gg(this.JSC$34698_element_,uc?"DOMMouseScroll":"mousewheel",this,b)};
Ia(PF,Lg);PF.prototype.setMaxDeltaX=function(a){this.maxDeltaX_=a};
PF.prototype.setMaxDeltaY=function(a){this.maxDeltaY_=a};
PF.prototype.handleEvent=function(a){var b=0,c=0,d=a.event_;"mousewheel"==d.type?(a=FYa(-d.wheelDelta),void 0!==d.wheelDeltaX?(b=FYa(-d.wheelDeltaX),c=FYa(-d.wheelDeltaY)):c=a):(a=d.detail,100a&&(a=-3),void 0!==d.axis&&d.axis===d.HORIZONTAL_AXIS?b=a:c=a);"number"===typeof this.maxDeltaX_&&(b=Ke(b,-this.maxDeltaX_,this.maxDeltaX_));"number"===typeof this.maxDeltaY_&&(c=Ke(c,-this.maxDeltaY_,this.maxDeltaY_));this.JSC$34698_isRtl_&&(b=-b);b=new GYa(a,d,b,c);this.dispatchEvent(b)};
var FYa=function(a){return vc&&(wc||Sca)&&0!=a%40?a:a/40};
PF.prototype.disposeInternal=function(){PF.superClass_.disposeInternal.call(this);Kg(this.listenKey_);this.listenKey_=null};
var GYa=function(a,b,c,d){Bg.call(this,b);this.type="mousewheel";this.detail=a;this.deltaX=c;this.deltaY=d};
Ia(GYa,Bg);function HYa(a,b){var c;a:{for(c=b.target;c;){if(1==c.nodeType){var d=Ef(c,"overflowY");if("auto"==d||"scroll"==d)break a}c=c.parentNode}c=null}(!c||!kf(a,c)||c.scrollHeight==c.clientHeight||0=Math.abs(c.scrollTop-(c.scrollHeight-c.clientHeight))||0>b.deltaY&&0==c.scrollTop)&&b.stopPropagation()}
;var IYa;var QF=function(a,b,c,d,e,h,l){GF.call(this,h?h+" picker modal-dialog":"picker modal-dialog",!0,c);this.useGapiIframesProtocol_="gapi_iframes"==jc(a,"protocol");this.iframeManager_=new kF;this.JSC$34703_targetId_=Yb();this.JSC$34703_rpcToken_=Yb();this.useGapi_=!1;this.setUrl(a);this.preferredDialogWidth_=d;this.preferredDialogHeight_=e;void 0!==d||void 0!==e?c=!0:(c=Ql(Sl(a),"hostId"),IYa||(IYa=new Set("DocVerse fusiontables geo geowiki gm gmail-gadget gws hotpot jointly presentations pwa sites templates trix trix-copy-sheet webstore".split(" "))),
c=!IYa.has(c));this.autoSizeDialog_=c;this.JSC$34703_gadgetsDomHelper_=l||this.JSC$34612_dom_;b&&(Ql(Sl(a),"hostId"),b="true"==Ql(Sl(this.JSC$34705_url_),"grugl"),vYa(b?uYa:tYa,this.JSC$34703_gadgetsDomHelper_));b=null;l=a.indexOf("/picker?");-1e||(b[d.substring(0,e)]=d.substring(e+2,d.length))}return b}
bZa(function(){if(!v.Blob)return!1;var a=new Uint8Array(100);try{var b=new Blob([a])}catch(c){return!1}return 100!=b.size?!1:!0});
var dZa=bZa(function(){if(!v.Blob)return!1;var a=new Uint8Array(100);try{var b=new Blob([a])}catch(c){return!1}return null===$Ya(b,0,1)?!1:!0});var YF=function(a){C.call(this,a,-1,eZa)};
p(YF,C);f=YF.prototype;f.setEntryList=function(a){return Ud(this,1,a)};
f.JSC$34736_addEntry=function(a,b){return ce(this,1,a,ZF,b)};
f.addAndReturnEntry=function(a,b){return be(this,1,a,ZF,b)};
f.clearEntryList=function(){return Vd(this,1)};
f.JSC$34736_serializeBinary=function(){var a=new $c;fZa(this,a);return fd(a)};
var fZa=function(a,b){rd(b,1,$d(a,ZF,1),gZa);pe(a,b)},ZF=function(a){C.call(this,a)};
p(ZF,C);f=ZF.prototype;f.getValueOrBucket=function(){return Jd(this,1)};
f.setValueOrBucket=function(a){return Hd(this,1,a)};
f.clearValueOrBucket=function(){return Qd(this,1)};
f.hasValueOrBucket=function(){return Ed(this,1)};
f.getCount=function(){return D(this,2)};
f.setCount=function(a){return Hd(this,2,a)};
f.clearCount=function(){return Qd(this,2)};
f.hasCount=function(){return Ed(this,2)};
f.JSC$34739_serializeBinary=function(){var a=new $c;gZa(this,a);return fd(a)};
var gZa=function(a,b){gd(b,1,D(a,1));id(b,2,D(a,2));pe(a,b)},eZa=[1];
YF.prototype.toObject=function(){return hZa(void 0,this)};
var hZa=function(a,b){if(null!=b){var c={entryList:oe($d(b,ZF,1),iZa,a)};a&&(c.$jspbMessageInstance=b);return c}};
ZF.prototype.toObject=function(){return iZa(void 0,this)};
var iZa=function(a,b){if(null!=b){var c,d={valueOrBucket:null==(c=Jd(b,1))?void 0:c,count:null==(c=D(b,2))?void 0:c};a&&(d.$jspbMessageInstance=b);return d}};var $F=function(a){C.call(this,a,-1,jZa)};
p($F,C);f=$F.prototype;f.getStreamzName=function(){return D(this,1)};
f.clearStreamzName=function(){return Qd(this,1)};
f.hasStreamzName=function(){return Ed(this,1)};
f.getHashedStreamzName=function(){return D(this,5)};
f.setHashedStreamzName=function(a){return Hd(this,5,a)};
f.clearHashedStreamzName=function(){return Qd(this,5)};
f.hasHashedStreamzName=function(){return Ed(this,5)};
f.setRootSpec=function(a){return Sd(this,2,a)};
f.clearRootSpec=function(){return Td(this,2)};
f.hasRootSpec=function(){return Ed(this,2)};
f.getFieldNameList=function(){return Id(this,3)};
f.addFieldName=function(a,b){return Yd(this,3,a,b)};
f.clearFieldNameList=function(){return Rd(this,3)};
f.getHashedFieldNameList=function(){return Id(this,6)};
f.setHashedFieldNameList=function(a){return Pd(this,6,a)};
f.addHashedFieldName=function(a,b){return Yd(this,6,a,b)};
f.clearHashedFieldNameList=function(){return Rd(this,6)};
f.addInc=function(a,b){return ce(this,4,a,aG,b)};
f.addAndReturnInc=function(a,b){return be(this,4,a,aG,b)};
f.clearIncList=function(){return Vd(this,4)};
var bG=function(a){C.call(this,a)};
p(bG,C);f=bG.prototype;f.getSpecCase=function(){return Fd(this,cG)};
f.JSC$34747_setMobile=function(a){return ae(this,1,cG,a)};
f.JSC$34747_clearMobile=function(){return Td(this,1)};
f.JSC$34747_hasMobile=function(){return Gd(this,1,cG)};
f.setMobileExp=function(a){return ae(this,2,cG,a)};
f.clearMobileExp=function(){return Td(this,2)};
f.hasMobileExp=function(){return Gd(this,2,cG)};
f.JSC$34747_serializeBinary=function(){var a=new $c;kZa(this,a);return fd(a)};
var kZa=function(a,b){b.writeMessage(1,je(a,dG,1,cG),lZa);b.writeMessage(2,je(a,eG,2,cG),mZa);pe(a,b)},dG=function(a){C.call(this,a)};
p(dG,C);f=dG.prototype;f.JSC$34750_getAppName=function(){return D(this,1)};
f.JSC$34750_setAppName=function(a){return Hd(this,1,a)};
f.JSC$34750_clearAppName=function(){return Qd(this,1)};
f.JSC$34750_hasAppName=function(){return Ed(this,1)};
f.JSC$34750_getAppVersion=function(){return D(this,2)};
f.JSC$34750_setAppVersion=function(a){return Hd(this,2,a)};
f.JSC$34750_clearAppVersion=function(){return Qd(this,2)};
f.JSC$34750_hasAppVersion=function(){return Ed(this,2)};
f.JSC$34750_getUseMobilespec=function(){return Kd(this,3)};
f.JSC$34750_setUseMobilespec=function(a){return Hd(this,3,a)};
f.JSC$34750_clearUseMobilespec=function(){return Qd(this,3)};
f.JSC$34750_hasUseMobilespec=function(){return Ed(this,3)};
f.JSC$34750_serializeBinary=function(){var a=new $c;lZa(this,a);return fd(a)};
var lZa=function(a,b){b.JSC$30479_writeString(1,D(a,1));b.JSC$30479_writeString(2,D(a,2));kd(b,3,D(a,3));pe(a,b)},eG=function(a){C.call(this,a)};
p(eG,C);f=eG.prototype;f.JSC$34753_getAppName=function(){return D(this,1)};
f.JSC$34753_setAppName=function(a){return Hd(this,1,a)};
f.JSC$34753_clearAppName=function(){return Qd(this,1)};
f.JSC$34753_hasAppName=function(){return Ed(this,1)};
f.JSC$34753_getAppVersion=function(){return D(this,2)};
f.JSC$34753_setAppVersion=function(a){return Hd(this,2,a)};
f.JSC$34753_clearAppVersion=function(){return Qd(this,2)};
f.JSC$34753_hasAppVersion=function(){return Ed(this,2)};
f.getExperimentId=function(){return D(this,3)};
f.setExperimentId=function(a){return Hd(this,3,a)};
f.clearExperimentId=function(){return Qd(this,3)};
f.hasExperimentId=function(){return Ed(this,3)};
f.JSC$34753_getUseMobilespec=function(){return Kd(this,4)};
f.JSC$34753_setUseMobilespec=function(a){return Hd(this,4,a)};
f.JSC$34753_clearUseMobilespec=function(){return Qd(this,4)};
f.JSC$34753_hasUseMobilespec=function(){return Ed(this,4)};
f.JSC$34753_serializeBinary=function(){var a=new $c;mZa(this,a);return fd(a)};
var mZa=function(a,b){b.JSC$30479_writeString(1,D(a,1));b.JSC$30479_writeString(2,D(a,2));jd(b,3,D(a,3));kd(b,4,D(a,4));pe(a,b)},aG=function(a){C.call(this,a,-1,nZa)};
p(aG,C);f=aG.prototype;f.addField=function(a,b){return ce(this,1,a,fG,b)};
f.addAndReturnField=function(a,b){return be(this,1,a,fG,b)};
f.clearFieldList=function(){return Vd(this,1)};
f.clearIncBy=function(){return Td(this,2)};
f.hasIncBy=function(){return Ed(this,2)};
f.JSC$34756_serializeBinary=function(){var a=new $c;oZa(this,a);return fd(a)};
var oZa=function(a,b){rd(b,1,$d(a,fG,1),pZa);b.writeMessage(2,G(a,gG,2),qZa);pe(a,b)},fG=function(a){C.call(this,a)};
p(fG,C);f=fG.prototype;f.JSC$34759_getValueCase=function(){return Fd(this,hG)};
f.getStrVal=function(){return he(this,1,hG)};
f.clearStrVal=function(){return Qd(this,1)};
f.hasStrVal=function(){return Gd(this,1,hG)};
f.getIntVal=function(){return he(this,2,hG)};
f.clearIntVal=function(){return Qd(this,2)};
f.hasIntVal=function(){return Gd(this,2,hG)};
f.getBoolVal=function(){return ie(this,3,hG)};
f.clearBoolVal=function(){return Qd(this,3)};
f.hasBoolVal=function(){return Gd(this,3,hG)};
f.JSC$34759_serializeBinary=function(){var a=new $c;pZa(this,a);return fd(a)};
var pZa=function(a,b){b.JSC$30479_writeString(1,D(a,1));jd(b,2,D(a,2));kd(b,3,D(a,3));pe(a,b)},gG=function(a){C.call(this,a)};
p(gG,C);f=gG.prototype;f.JSC$34762_getValueCase=function(){return Fd(this,iG)};
f.getInt64Val=function(){return he(this,1,iG)};
f.clearInt64Val=function(){return Qd(this,1)};
f.hasInt64Val=function(){return Gd(this,1,iG)};
f.getDoubleVal=function(){return Jd(this,fe(this,iG,2))};
f.clearDoubleVal=function(){return Qd(this,2)};
f.hasDoubleVal=function(){return Gd(this,2,iG)};
f.setHistogramVal=function(a){return ae(this,3,iG,a)};
f.clearHistogramVal=function(){return Td(this,3)};
f.hasHistogramVal=function(){return Gd(this,3,iG)};
f.JSC$34762_serializeBinary=function(){var a=new $c;qZa(this,a);return fd(a)};
var qZa=function(a,b){id(b,1,D(a,1));gd(b,2,D(a,2));b.writeMessage(3,je(a,YF,3,iG),fZa);pe(a,b)},jZa=[3,
6,4];$F.prototype.toObject=function(){if(null!=this){var a;var b={streamzName:null==(a=D(this,1))?void 0:a,hashedStreamzName:null==(a=D(this,5))?void 0:a,rootSpec:rZa(G(this,bG,2)),fieldNameList:null==(a=Id(this,3))?void 0:a,hashedFieldNameList:null==(a=Id(this,6))?void 0:a,incList:oe($d(this,aG,4),sZa,void 0)}}else b=void 0;return b};
var cG=[1,2];bG.prototype.toObject=function(){return rZa(this)};
var rZa=function(a){if(null!=a)return{mobile:tZa(je(a,dG,1,cG)),mobileExp:uZa(je(a,eG,2,cG))}};
dG.prototype.toObject=function(){return tZa(this)};
var tZa=function(a){if(null!=a){var b;return{appName:null==(b=D(a,1))?void 0:b,appVersion:null==(b=D(a,2))?void 0:b,useMobilespec:null==(b=Kd(a,3))?void 0:b}}};
eG.prototype.toObject=function(){return uZa(this)};
var uZa=function(a){if(null!=a){var b;return{appName:null==(b=D(a,1))?void 0:b,appVersion:null==(b=D(a,2))?void 0:b,experimentId:null==(b=D(a,3))?void 0:b,useMobilespec:null==(b=Kd(a,4))?void 0:b}}},nZa=[1];
aG.prototype.toObject=function(){return sZa(void 0,this)};
var sZa=function(a,b){if(null!=b){var c={fieldList:oe($d(b,fG,1),vZa,a),incBy:wZa(a,G(b,gG,2))};a&&(c.$jspbMessageInstance=b);return c}},hG=[1,
2,3];fG.prototype.toObject=function(){return vZa(void 0,this)};
var vZa=function(a,b){if(null!=b){var c,d={strVal:null==(c=he(b,1,hG))?void 0:c,intVal:null==(c=he(b,2,hG))?void 0:c,boolVal:null==(c=ie(b,3,hG))?void 0:c};a&&(d.$jspbMessageInstance=b);return d}},iG=[1,
2,3];gG.prototype.toObject=function(){return wZa(void 0,this)};
var wZa=function(a,b){if(null!=b){var c,d={int64Val:null==(c=he(b,1,iG))?void 0:c,doubleVal:null==(c=Jd(b,fe(b,iG,2)))?void 0:c,histogramVal:hZa(a,je(b,YF,3,iG))};a&&(d.$jspbMessageInstance=b);return d}};var xZa=Symbol("PIECES");function yZa(a,b,c){zZa(a,b);a[b][xZa].unshift(c)}
function zZa(a,b){if(!a[b]||!a[b][xZa]){var c=a[b],d=c?[c]:[];a[b]=function(){for(var e=k(d),h=e.next();!h.done;h=e.next())h.value.apply(this,arguments)};
a[b][xZa]=d}}
function AZa(a){if(!a)return[];var b=[];a=k(a);for(var c=a.next();!c.done;c=a.next())c=c.value,Array.isArray(c)?b.push.apply(b,ea(AZa(c))):b.push(c);return b}
;var BZa=window.Polymer,jG=BZa&&BZa.version&&BZa.version.startsWith("1."),CZa=/\bclass\b/.test(function(){}.toString());
window.PolymerFakeBaseClass=function(){};
var N=function(){return PolymerFakeBaseClass.apply(this,arguments)||this};
p(N,PolymerFakeBaseClass);var kG=function(){return PolymerFakeBaseClass.apply(this,arguments)||this};
p(kG,PolymerFakeBaseClass);function DZa(a){var b={};Object.defineProperties(b,Object.getOwnPropertyDescriptors(a));return b}
var EZa=Symbol("POLYMER_COMPONENT_DEFINITION");
function FZa(a){var b="string"!==typeof a?a:{is:a,notifyObserversOnUndefined:!0};void 0===b.fastInit&&(b.fastInit=!0);return function(c){if(Object.getPrototypeOf(c.prototype).constructor!==N)throw Error("Custom elements must inherit directly from PolymerElement.");var d=CZa&&jG?DZa(c.prototype):c.prototype;d.is=b.is;GZa(d,c,b.fastInit);b.notifyObserversOnUndefined&&(jG?yZa(d,"created",function(){var q=this._propertyEffects;if(q)for(var u=k(Object.keys(q)),w=u.next();!w.done;w=u.next()){w=k(q[w.value]);
for(var A=w.next();!A.done;A=w.next())if(A=A.value,"compute"===A.kind||"complexObserver"===A.kind)A.effect.args=[]}}):d._overrideLegacyUndefined=!0);
if(CZa)for(var e=k(Object.getOwnPropertyNames(d)),h=e.next();!h.done;h=e.next()){h=h.value;var l=Object.getOwnPropertyDescriptor(d,h);!1===l.enumerable&&(l.enumerable=!0,Object.defineProperty(d,h,l))}if("template"in c)var m=function(){return c.template};else
void 0!==b.template&&(m=b.template);if(void 0!==m){var n;Object.defineProperty(d,"_template",{get:function(){void 0===n&&(n=m());return n},
set:function(q){n=q},
configurable:!0,enumerable:!0})}Polymer(d);c[EZa]=d}}
function lG(){var a=void 0===a?{}:a;void 0===a.fastInit&&(a.fastInit=!0);return function(b){if(Object.getPrototypeOf(b.prototype).constructor!==kG)throw Error("Custom behaviors must inherit directly from PolymerBehavior.");GZa(b.prototype,b,a.fastInit)}}
function GZa(a,b,c){c=void 0===c?!1:c;HZa(b);jG||!c?yZa(a,"ready",function(){for(var d={},e=k(AZa(this.behaviors)),h=e.next();!h.done;h=e.next())h=h.value,h.properties&&Object.assign(d,IZa(this,h.properties));Object.assign(d,IZa(this,this.properties));JZa(b,this);e=k(Object.keys(d));for(h=e.next();!h.done;h=e.next())h=h.value,this[h]=d[h]}):yZa(a,"created",function(){JZa(b,this)})}
function JZa(a,b){if(CZa){a=new a;for(var c=k(Object.getOwnPropertyNames(a)),d=c.next();!d.done;d=c.next())d=d.value,b[d]=a[d];for(c=b;c&&c!==Object.prototype;c=Object.getPrototypeOf(c)){d=k(Object.getOwnPropertyNames(c));for(var e=d.next();!e.done;e=d.next())e=e.value,a.hasOwnProperty(e)||Object.defineProperty(a,e,KZa(b,e))}}else a.apply(b)}
function KZa(a,b){return{get:function(){var c=a[b];return c instanceof Function?c.bind(a):c},
set:function(c){a[b]=c}}}
function IZa(a,b){if(!b)return{};for(var c={},d=k(Object.keys(b)),e=d.next();!e.done;e=d.next())if(e=e.value,!b[e].readOnly){var h=a[e];void 0!==h&&(c[e]=h)}return c}
function HZa(a){var b=new a;a=a.prototype.properties||{};for(var c=k(Object.keys(a)),d=c.next();!d.done;d=c.next())if(d=d.value,b.hasOwnProperty(d)){var e=a[d];"function"===typeof e&&(a[d]=e={type:e});null!=b[d]&&e.type===Object&&(e.type=LZa(b[d].constructor))}}
var MZa=[Array,Boolean,Date,Number,Object,String];function LZa(a){for(var b=k(MZa),c=b.next();!c.done;c=b.next())if(c=c.value,a===c)return c;return Object}
function O(a){return function(b,c){b.behaviors=b.behaviors||[];b.behaviors.push(a||(void 0!==window.Reflect&&void 0!==window.Reflect.getMetadata?Reflect.getMetadata("design:type",b,c).prototype:void 0));Object.defineProperty(b,c,{get:function(){return this},
enumerable:!0,configurable:!0})}}
function Q(a){a=void 0===a?{}:a;return function(b,c){b.properties=b.properties||{};a.type||(void 0!==window.Reflect&&void 0!==window.Reflect.getMetadata?a.type=LZa(Reflect.getMetadata("design:type",b,c)):a.type=String);var d=a,e=b.properties[c];b.properties[c]=e?Object.assign(Object.assign({},e),d):d}}
function R(a){return function(b,c){b.listeners=b.listeners||{};b.listeners[a]=c}}
function S(a){for(var b=[],c=0;cb?"#"+(16777216|c).toString(16).substr(1):"#"+c.toString(16)},SZa=/^#(?:[0-9a-f]{3}){1,2}$/i;var qG=function(a,b,c){if(isNaN(a)||0>a||255b||255c||255=a.compareBrowserRangeEndpoints(b,1,0):0<=a.compareBrowserRangeEndpoints(b,0,0)&&0>=a.compareBrowserRangeEndpoints(b,1,1)}catch(d){if(!rc)throw d;return!1}};
UZa.prototype.JSC$34821_containsNode=function(a,b){return WZa(this,XZa(a),b)};
var YZa=function(a){var b=new TZa;Jga(a,function(c,d,e){3==c.nodeType?b.append(Vb(c.nodeValue.substring(e.getStartTextOffset(),e.getEndTextOffset()))):1==c.nodeType&&(-1==e.tagType?cf(c)&&b.append(""):(d=c.cloneNode(!1),d=nf(d),rc&&"LI"==c.tagName?b.append(d):(c=d.lastIndexOf("<"),b.append(c?d.substr(0,c):d))))},a);
return b.toString()};
UZa.prototype.__iterator__=function(){return new wG(this.range_.startContainer,this.range_.startOffset,this.range_.endContainer,this.range_.endOffset)};var xG=function(a){this.range_=a};
Ia(xG,UZa);var ZZa=function(a){var b=Qe(a).createRange();if(3==a.nodeType)b.setStart(a,0),b.setEnd(a,a.length);else if(cf(a)||3==a.nodeType){for(var c,d=a;(c=d.firstChild)&&(cf(c)||3==c.nodeType);)d=c;b.setStart(d,0);for(d=a;(c=d.lastChild)&&(cf(c)||3==c.nodeType);)d=c;b.setEnd(d,1==d.nodeType?d.childNodes.length:d.length)}else c=a.parentNode,a=Array.prototype.indexOf.call(c.childNodes,a),b.setStart(c,a),b.setEnd(c,a+1);return b},$Za=function(a,b,c,d){var e=Qe(a).createRange();
e.setStart(a,b);e.setEnd(c,d);return e};
f=xG.prototype;f.clone=function(){return new this.constructor(this.range_.cloneRange())};
f.getContainer=function(){return this.range_.commonAncestorContainer};
f.compareBrowserRangeEndpoints=function(a,b,c){return this.range_.compareBoundaryPoints(1==c?1==b?v.Range.START_TO_START:v.Range.START_TO_END:1==b?v.Range.END_TO_START:v.Range.END_TO_END,a)};
f.isCollapsed=function(){return this.range_.collapsed};
f.select=function(a){this.selectInternal(Ze(Qe(this.range_.startContainer)).getSelection(),a)};
f.selectInternal=function(a){a.removeAllRanges();a.addRange(this.range_)};
f.insertNode=function(a,b){var c=this.range_.cloneRange();c.collapse(b);c.insertNode(a);c.detach();return a};
f.collapse=function(a){this.range_.collapse(a)};var yG=function(a){this.range_=a};
Ia(yG,xG);yG.prototype.selectInternal=function(a,b){!b||this.isCollapsed()?yG.superClass_.selectInternal.call(this,a,b):(a.collapse(this.range_.endContainer,this.range_.endOffset),a.extend(this.range_.startContainer,this.range_.startOffset))};var zG=function(a){this.range_=a};
Ia(zG,xG);zG.prototype.compareBrowserRangeEndpoints=function(a,b,c){return zG.superClass_.compareBrowserRangeEndpoints.call(this,a,b,c)};
zG.prototype.selectInternal=function(a,b){b?a.setBaseAndExtent(this.range_.endContainer,this.range_.endOffset,this.range_.startContainer,this.range_.startOffset):a.setBaseAndExtent(this.range_.startContainer,this.range_.startOffset,this.range_.endContainer,this.range_.endOffset)};var a_a=function(a){return vc?new zG(a):uc?new yG(a):new xG(a)},XZa=function(a){return vc?new zG(ZZa(a)):uc?new yG(ZZa(a)):new xG(ZZa(a))};var AG=function(){gg.call(this)};
Ia(AG,gg);var b_a=function(){gg.call(this)};
Ia(b_a,AG);var BG=function(a){gg.call(this);this.startCaretId_="goog_"+nca++;this.endCaretId_="goog_"+nca++;this.reversed_=a.isReversed();var b=Qe(rc?a.getContainer():a.JSC$34807_getStartNode());this.JSC$34839_dom_=Re(b);a.JSC$34807_surroundWithNodes(this.JSC$34839_dom_.JSC$30572_createDom("SPAN",{id:this.startCaretId_}),this.JSC$34839_dom_.JSC$30572_createDom("SPAN",{id:this.endCaretId_}))};
Ia(BG,b_a);BG.prototype.toAbstractRange=function(){var a=null,b=CG(this,!0),c=CG(this,!1);b&&c&&(a=DG(b,0,c,0));return a};
var CG=function(a,b){return a.JSC$34839_dom_.getElement(b?a.startCaretId_:a.endCaretId_)},c_a=function(a,b){gf(CG(a,!0));
gf(CG(a,!1));return b};
BG.prototype.setRestorationDocument=function(a){this.JSC$34839_dom_.JSC$30570_document_=a};
BG.prototype.restoreInternal=function(){var a=null,b=CG(this,!this.reversed_),c=CG(this,this.reversed_);if(b&&c){a=b.parentNode;b=Array.prototype.indexOf.call(a.childNodes,b);var d=c.parentNode;c=Array.prototype.indexOf.call(d.childNodes,c);d==a&&(this.reversed_?b--:c--);a=DG(a,b,d,c);a=c_a(this,a);a.select()}else c_a(this);return a};
BG.prototype.disposeInternal=function(){c_a(this);this.JSC$34839_dom_=null};var EG=function(){this.endOffset_=this.endNode_=this.startOffset_=this.startNode_=this.browserRangeWrapper_=null;this.isReversed_=!1};
Ia(EG,tG);var d_a=function(a,b){var c=new EG;c.browserRangeWrapper_=a;c.isReversed_=!!b;return c},FG=function(a){return d_a(XZa(a),void 0)},DG=function(a,b,c,d){var e=new EG;
e.isReversed_=e_a(a,b,c,d);if(jf(a)&&!cf(a)){var h=a.parentNode;b=Array.prototype.indexOf.call(h.childNodes,a);a=h}jf(c)&&!cf(c)&&(h=c.parentNode,d=Array.prototype.indexOf.call(h.childNodes,c),c=h);e.isReversed_?(e.startNode_=c,e.startOffset_=d,e.endNode_=a,e.endOffset_=b):(e.startNode_=a,e.startOffset_=b,e.endNode_=c,e.endOffset_=d);return e};
EG.prototype.clone=function(){var a=new EG;a.browserRangeWrapper_=this.browserRangeWrapper_&&this.browserRangeWrapper_.clone();a.startNode_=this.startNode_;a.startOffset_=this.startOffset_;a.endNode_=this.endNode_;a.endOffset_=this.endOffset_;a.isReversed_=this.isReversed_;return a};
EG.prototype.JSC$34807_getType=function(){return"text"};
EG.prototype.getBrowserRangeObject=function(){return GG(this).range_};
EG.prototype.setBrowserRangeObject=function(a){if(a&&a.addElement)return!1;this.browserRangeWrapper_=a_a(a);HG(this);return!0};
var HG=function(a){a.startNode_=a.startOffset_=a.endNode_=a.endOffset_=null};
EG.prototype.getTextRangeCount=function(){return 1};
EG.prototype.getTextRange=function(){return this};
var GG=function(a){var b;if(!(b=a.browserRangeWrapper_)){b=a.JSC$34807_getStartNode();var c=a.JSC$34807_getStartOffset(),d=a.JSC$34807_getEndNode(),e=a.JSC$34807_getEndOffset();b=vc?new zG($Za(b,c,d,e)):uc?new yG($Za(b,c,d,e)):new xG($Za(b,c,d,e));b=a.browserRangeWrapper_=b}return b};
f=EG.prototype;f.getContainer=function(){return GG(this).getContainer()};
f.JSC$34807_getStartNode=function(){return this.startNode_||(this.startNode_=GG(this).range_.startContainer)};
f.JSC$34807_getStartOffset=function(){return null!=this.startOffset_?this.startOffset_:this.startOffset_=GG(this).range_.startOffset};
f.JSC$34807_getStartPosition=function(){return VZa(GG(this),!0)};
f.JSC$34807_getEndNode=function(){return this.endNode_||(this.endNode_=GG(this).range_.endContainer)};
f.JSC$34807_getEndOffset=function(){return null!=this.endOffset_?this.endOffset_:this.endOffset_=GG(this).range_.endOffset};
f.JSC$34807_getEndPosition=function(){return VZa(GG(this),!1)};
f.moveToNodes=function(a,b,c,d,e){this.startNode_=a;this.startOffset_=b;this.endNode_=c;this.endOffset_=d;this.isReversed_=e;this.browserRangeWrapper_=null};
f.isReversed=function(){return this.isReversed_};
f.JSC$34807_containsRange=function(a,b){var c=a.JSC$34807_getType();return"text"==c?WZa(GG(this),GG(a),b):"control"==c?(a=IG(a),(b?Ua:Wa)(a,function(d){return this.JSC$34807_containsNode(d,b)},this)):!1};
f.JSC$34807_containsNode=function(a,b){return this.JSC$34807_containsRange(FG(a),b)};
var f_a=function(a){if(rc&&!Ac(9)){var b=!1;try{b=a.parentNode}catch(c){}return!!b}return kf(a.ownerDocument.body,a)};
f=EG.prototype;f.isRangeInDocument=function(){return(!this.startNode_||f_a(this.startNode_))&&(!this.endNode_||f_a(this.endNode_))};
f.isCollapsed=function(){return GG(this).isCollapsed()};
f.JSC$34807_getText=function(){return GG(this).range_.toString()};
f.JSC$34807_getHtmlFragment=function(){return YZa(GG(this))};
f.JSC$34807_getValidHtml=function(){var a=GG(this);var b=Re(a.range_.startContainer).JSC$30572_createDom("DIV");b.appendChild(a.range_.cloneContents());b=b.innerHTML;ob(b,"<")||!a.isCollapsed()&&!sb(b,"<")?a=b:(a=a.getContainer(),a=1==a.nodeType?a:a.parentNode,a=nf(a.cloneNode(!1)).replace(">",">"+b));return a};
f.getPastableHtml=function(){var a=this.JSC$34807_getValidHtml();if(a.match(/^\s* | " +a+"<="" tr="">";else if(a.match(/^\s*
" +a+"<="" tbody="">";else if(a.match(/^\s*" +a+"<="" table="">";else if(a.match(/^\s*"+a+""}return a};
f.__iterator__=function(){return new wG(this.JSC$34807_getStartNode(),this.JSC$34807_getStartOffset(),this.JSC$34807_getEndNode(),this.JSC$34807_getEndOffset())};
f.select=function(){GG(this).select(this.isReversed_)};
f.JSC$34807_removeContents=function(){var a=GG(this),b=a.range_;b.extractContents();if(b.startContainer.hasChildNodes()){var c=b.startContainer.childNodes[b.startOffset];if(c){var d=c.previousSibling;""==sfa(c)&&gf(c);d&&""==sfa(d)&&gf(d)}}if(tc){c=a.range_.startContainer;d=a.range_.startOffset;var e=a.range_.endContainer;a=a.range_.endOffset;var h=c.nextSibling;c==e&&c.parentNode&&3==c.nodeType&&h&&3==h.nodeType&&(c.nodeValue+=h.nodeValue,gf(h),b.setStart(c,d),b.setEnd(e,a))}HG(this)};
f.JSC$34844_surroundContents=function(a){GG(this).range_.surroundContents(a);HG(this);return a};
f.insertNode=function(a,b){a=GG(this).insertNode(a,b);HG(this);return a};
f.JSC$34807_surroundWithNodes=function(a,b){var c=GG(this),d=JG(Ze(Qe(c.range_.startContainer)));if(d)var e=d.JSC$34807_getStartNode(),h=d.JSC$34807_getEndNode(),l=d.JSC$34807_getStartOffset(),m=d.JSC$34807_getEndOffset();var n=c.range_.cloneRange();c=c.range_.cloneRange();n.collapse(!1);c.collapse(!0);n.insertNode(b);c.insertNode(a);n.detach();c.detach();if(d){if(3==e.nodeType)for(;l>e.length;){l-=e.length;do e=e.nextSibling;while(e==a||e==b)}if(3==h.nodeType)for(;m>h.length;){m-=h.length;do h=h.nextSibling;while(
h==a||h==b)}DG(e,l,h,m).select()}HG(this)};
f.saveUsingDom=function(){return new KG(this)};
f.saveUsingCarets=function(){return this.JSC$34807_getStartNode()&&this.JSC$34807_getEndNode()?new BG(this):null};
f.collapse=function(a){a=this.isReversed()?!a:a;this.browserRangeWrapper_&&this.browserRangeWrapper_.collapse(a);a?(this.endNode_=this.startNode_,this.endOffset_=this.startOffset_):(this.startNode_=this.endNode_,this.startOffset_=this.endOffset_);this.isReversed_=!1};
var KG=function(a){gg.call(this);this.anchorNode_=a.isReversed()?a.JSC$34807_getEndNode():a.JSC$34807_getStartNode();this.anchorOffset_=a.isReversed()?a.JSC$34807_getEndOffset():a.JSC$34807_getStartOffset();this.focusNode_=a.isReversed()?a.JSC$34807_getStartNode():a.JSC$34807_getEndNode();this.focusOffset_=a.isReversed()?a.JSC$34807_getStartOffset():a.JSC$34807_getEndOffset()};
Ia(KG,AG);KG.prototype.restoreInternal=function(){return DG(this.anchorNode_,this.anchorOffset_,this.focusNode_,this.focusOffset_)};
KG.prototype.disposeInternal=function(){KG.superClass_.disposeInternal.call(this);this.focusNode_=this.anchorNode_=null};var LG=function(){};
Ia(LG,tG);LG.prototype.JSC$34807_containsRange=function(a,b){var c=uG(this);a=uG(a);return(b?Ua:Wa)(a,function(d){return Ua(c,function(e){return e.JSC$34807_containsRange(d,b)})})};
LG.prototype.JSC$34807_containsNode=function(a,b){return this.JSC$34807_containsRange(FG(a),b)};
LG.prototype.insertNode=function(a,b){b?ef(a,this.JSC$34807_getStartNode()):ff(a,this.JSC$34807_getEndNode());return a};
LG.prototype.JSC$34807_surroundWithNodes=function(a,b){this.insertNode(a,!0);this.insertNode(b,!1)};var MG=function(){this.sortedElements_=this.elements_=this.range_=null};
Ia(MG,LG);var g_a=function(a){var b=new MG;b.range_=a;return b},h_a=function(a){for(var b=Qe(arguments[0]).body.createControlRange(),c=0,d=arguments.length;cb.right){var e=this.currDragItem_.getBoundingClientRect();this.JSC$34876_dragger_.deltaX=d-(d-e.left)/e.width*b.width}c=OXa(this.JSC$34876_dragger_,c);c>b.bottom&&(this.JSC$34876_dragger_.deltaY+=c-b.bottom)}this.draggerEl_.style.visibility="";this.updateWhileDragging_&&(this.currDragItem_.style.display="none");z_a(this,this.currDragItem_);this.currDragItem_.style.display="";Gg(this.JSC$34876_dragger_,
"drag",this.handleDragMove_,!1,this);this.dispatchEvent(new YG(p_a,this,a.browserEvent,this.currDragItem_,this.draggerEl_,this.JSC$34876_dragger_))}else a.preventDefault(),this.JSC$34878_cleanup_()};
f.handleDragMove_=function(a){var b=If(this.draggerEl_);b=new Me(b.x+this.draggerEl_.halfWidth,b.y+this.draggerEl_.halfHeight);a:{var c=null;if("none"!=this.currDragItem_.style.display){c=this.currDragItem_.parentNode;var d=Mf(c);if(A_a(b,d))break a}d=0;for(var e=this.dragLists_.length;dh?null:n}else l=null;if(!this.dispatchEvent(new YG(q_a,this,a,this.currDragItem_,this.draggerEl_,this.JSC$34876_dragger_,
b,c,l)))return!1;if(c&&1!=c.dlgDragPermission)this.updateWhileDragging_?this.currDragItem_.parentNode==c&&efa(this.currDragItem_)==l||c.insertBefore(this.currDragItem_,l):l&&(this.currHoverItem_=l),this.currDragItem_.style.display="",c.dlgDragHoverClass_&&lg(c,c.dlgDragHoverClass_);else for(this.isCurrDragItemAlwaysDisplayed_||(this.currDragItem_.style.display="none"),m=0,q=this.dragLists_.length;mb.left&&a.xb.top&&a.yb},YG=function(a,b,c,d,e,h,l,m,n){Ag.call(this,a);
this.dragListGroup=b;this.event=c;this.currDragItem=d;this.draggerEl=e;this.dragger=h;this.draggerElCenter=l;this.hoverList=m;this.hoverNextItem=n};
Ia(YG,Ag);var ZG=function(a,b,c){gg.call(this);this.constrainScroll_=!1;this.horizontalScrolling_=!0;this.containerNode_=a;this.scrollTimer_=new Al(50);this.JSC$34882_eventHandler_=new xC(this);this.scrollDelta_=new Me;this.containerBounds_=Mf(a);if("BODY"===a.tagName||"HTML"===a.tagName)a=Ve(),this.containerBounds_.height=a.height,this.containerBounds_.width=a.width;this.JSC$34882_margin_=b||0;if(b){if(b=this.containerBounds_.clone(),a=this.JSC$34882_margin_){var d=Math.min(a,.25*b.height);b.top+=d;b.height-=
2*d;a=Math.min(a,.25*b.width);b.left+=a;b.width-=2*a}}else b=this.containerBounds_;this.scrollBounds_=b;c||this.JSC$34882_eventHandler_.listen(Qe(this.containerNode_),"mousemove",this.onMouseMove);this.JSC$34882_eventHandler_.listen(this.scrollTimer_,"tick",this.JSC$34884_onTick_)};
Ia(ZG,gg);ZG.prototype.JSC$34884_onTick_=function(){this.containerNode_.scrollTop+=this.scrollDelta_.y;this.containerNode_.scrollLeft+=this.scrollDelta_.x};
ZG.prototype.onMouseMove=function(a){var b=this.horizontalScrolling_?this.calculateScrollDelta(a.clientX,this.scrollBounds_.left,this.scrollBounds_.width):0,c=this.calculateScrollDelta(a.clientY,this.scrollBounds_.top,this.scrollBounds_.height);this.scrollDelta_.x=b;this.scrollDelta_.y=c;!(b=!b&&!c)&&(b=this.constrainScroll_)&&(b=a.clientX,a=a.clientY,c=this.containerBounds_,b=!(c.left<=b&&c.left+c.width>=b&&c.top<=a&&c.top+c.height>=a));b?this.scrollTimer_.stop():this.scrollTimer_.enabled||this.scrollTimer_.start()};
ZG.prototype.calculateScrollDelta=function(a,b,c){var d=0;ab+c&&(d=8);return d};
ZG.prototype.disposeInternal=function(){ZG.superClass_.disposeInternal.call(this);this.JSC$34882_eventHandler_.dispose();this.scrollTimer_.dispose()};var H_a=!1,J_a=function(){if(!H_a){for(var a in I_a)$G[a]=I_a[a];H_a=!0}},$G={AED:[2,
"dh","\u062F.\u0625."],ALL:[0,"Lek","Lek"],AUD:[2,"$","AU$"],BDT:[2,"\u09F3","Tk"],BGN:[2,"lev","lev"],BRL:[2,"R$","R$"],CAD:[2,"$","C$"],CDF:[2,"FrCD","CDF"],CHF:[2,"CHF","CHF"],CLP:[0,"$","CL$"],CNY:[2,"\xA5","RMB\xA5"],COP:[32,"$","COL$"],CRC:[0,"\u20A1","CR\u20A1"],CZK:[50,"K\u010D","K\u010D"],DKK:[50,"kr.","kr."],DOP:[2,"RD$","RD$"],EGP:[2,"\xA3","LE"],ETB:[2,"Birr","Birr"],EUR:[2,"\u20AC","\u20AC"],GBP:[2,"\xA3","GB\xA3"],HKD:[2,"$","HK$"],HRK:[2,"kn","kn"],HUF:[34,"Ft","Ft"],IDR:[0,
"Rp","Rp"],ILS:[34,"\u20AA","IL\u20AA"],INR:[2,"\u20B9","Rs"],IRR:[0,"Rial","IRR"],ISK:[0,"kr","kr"],JMD:[2,"$","JA$"],JPY:[0,"\xA5","JP\xA5"],KRW:[0,"\u20A9","KR\u20A9"],LKR:[2,"Rs","SLRs"],LTL:[2,"Lt","Lt"],MNT:[0,"\u20AE","MN\u20AE"],MVR:[2,"Rf","MVR"],MXN:[2,"$","Mex$"],MYR:[2,"RM","RM"],NOK:[50,"kr","NOkr"],PAB:[2,"B/.","B/."],PEN:[2,"S/.","S/."],PHP:[2,"\u20B1","PHP"],PKR:[0,"Rs","PKRs."],PLN:[50,"z\u0142","z\u0142"],RON:[2,"RON","RON"],RSD:[0,"din","RSD"],RUB:[50,"\u20BD","RUB"],SAR:[2,
"Rial","Rial"],SEK:[50,"kr","kr"],SGD:[2,"$","S$"],THB:[2,"\u0E3F","THB"],TRY:[2,"\u20BA","TRY"],TWD:[2,"$","NT$"],TZS:[0,"TSh","TSh"],UAH:[2,"\u0433\u0440\u043D.","UAH"],USD:[2,"$","US$"],UYU:[2,"$","$U"],VND:[48,"\u20AB","VN\u20AB"],YER:[0,"Rial","Rial"],ZAR:[2,"R","ZAR"]},I_a={AFN:[48,"Af.","AFN"],AMD:[32,"Dram","dram"],ANG:[2,"NAf.","ANG"],AOA:[2,"Kz","Kz"],ARS:[34,"$","AR$"],AWG:[2,"Afl.","Afl."],AZN:[34,"\u20BC","AZN"],BAM:[2,"KM","KM"],BBD:[2,"$","Bds$"],BHD:[3,"din","din"],BIF:[0,"FBu","FBu"],
BMD:[2,"$","BD$"],BND:[2,"$","B$"],BOB:[2,"Bs","Bs"],BSD:[2,"$","BS$"],BTN:[2,"Nu.","Nu."],BWP:[2,"P","pula"],BYN:[50,"\u0440.","BYN"],BYR:[48,"\u0440.","BYR"],BZD:[2,"$","BZ$"],CLF:[4,"UF","CLF"],CNH:[2,"\xA5","RMB\xA5"],CUC:[1,"$","CUC$"],CUP:[2,"$","CU$"],CVE:[2,"CVE","Esc"],DJF:[0,"Fdj","Fdj"],DZD:[2,"din","din"],ERN:[2,"Nfk","Nfk"],FJD:[2,"$","FJ$"],FKP:[2,"\xA3","FK\xA3"],GEL:[2,"GEL","GEL"],GHS:[2,"GHS","GHS"],GIP:[2,"\xA3","GI\xA3"],GMD:[2,"GMD","GMD"],GNF:[0,"FG","FG"],GTQ:[2,
"Q","GTQ"],GYD:[0,"$","GY$"],HNL:[2,"L","HNL"],HTG:[2,"HTG","HTG"],IQD:[0,"din","IQD"],JOD:[3,"din","JOD"],KES:[2,"Ksh","Ksh"],KGS:[2,"KGS","KGS"],KHR:[2,"Riel","KHR"],KMF:[0,"CF","KMF"],KPW:[0,"\u20A9KP","KPW"],KWD:[3,"din","KWD"],KYD:[2,"$","KY$"],KZT:[2,"\u20B8","KZT"],LAK:[0,"\u20AD","\u20AD"],LBP:[0,"L\xA3","LBP"],LRD:[2,"$","L$"],LSL:[2,"LSL","LSL"],LYD:[3,"din","LD"],MAD:[2,"dh","MAD"],MDL:[2,"MDL","MDL"],MGA:[0,"Ar","MGA"],MKD:[2,"din","MKD"],MMK:[0,"K","MMK"],MOP:[2,"MOP","MOP$"],MRO:[0,
"MRO","MRO"],MUR:[0,"MURs","MURs"],MWK:[2,"MWK","MWK"],MZN:[2,"MTn","MTn"],NAD:[2,"$","N$"],NGN:[2,"\u20A6","NG\u20A6"],NIO:[2,"C$","C$"],NPR:[2,"Rs","NPRs"],NZD:[2,"$","NZ$"],OMR:[3,"Rial","OMR"],PGK:[2,"PGK","PGK"],PYG:[16,"Gs.","PYG"],QAR:[2,"Rial","QR"],RWF:[0,"RF","RF"],SBD:[2,"$","SI$"],SCR:[2,"SCR","SCR"],SDG:[2,"SDG","SDG"],SHP:[2,"\xA3","SH\xA3"],SLL:[0,"SLL","SLL"],SOS:[0,"SOS","SOS"],SRD:[2,"$","SR$"],SSP:[2,"\xA3","SSP"],STD:[0,"Db","Db"],SYP:[0,"\xA3","SY\xA3"],SZL:[2,"SZL",
"SZL"],TJS:[2,"Som","TJS"],TMT:[50,"m","TMT"],TND:[3,"din","DT"],TOP:[2,"T$","T$"],TTD:[2,"$","TT$"],UGX:[0,"UGX","UGX"],UZS:[0,"so\u02BCm","UZS"],VEF:[2,"Bs","Bs"],VES:[2,"Bs","Bs"],VUV:[0,"VUV","VUV"],WST:[2,"WST","WST"],XAF:[0,"FCFA","FCFA"],XCD:[2,"$","EC$"],XOF:[0,"CFA","CFA"],XPF:[48,"FCFP","FCFP"],ZMW:[0,"ZMW","ZMW"],ZWD:[0,"$","Z$"]};var L_a=function(a){this.patternParts_=[];this.JSC$34885_dateTimeSymbols_=hl;if("number"==typeof a){11a)var b=this.JSC$34885_dateTimeSymbols_.DATEFORMATS[a];else 8>a?b=this.JSC$34885_dateTimeSymbols_.TIMEFORMATS[a-4]:(b=this.JSC$34885_dateTimeSymbols_.DATETIMEFORMATS[a-8],b=b.replace("{1}",this.JSC$34885_dateTimeSymbols_.DATEFORMATS[a-8]),b=b.replace("{0}",this.JSC$34885_dateTimeSymbols_.TIMEFORMATS[a-8]));K_a(this,b)}else K_a(this,a)},K_a=function(a,b){for(var c=!1,d="",e=0;e=l?m=!1:(m="MydhHmsSDkK".indexOf(h),
m=0l);a.patternParts_.push({text:h,count:l,abutStart:!1,numeric:m});e+=l-1}else"'"==h?e+1"ahHkKm".indexOf(h.text.charAt(0))||2=a.length);l++){if(0==this.patternParts_[l].count){a:{var m=a;var n=this.patternParts_[l],q=d;if(" "==
n.text.charAt(0)){if(n=c[0],N_a(m,c),c[0]>n){m=!0;break a}}else{if(m.indexOf(n.text,c[0])==c[0]){c[0]+=n.text.length;m=!0;break a}if(q&&0==n.text.indexOf(m.substring(c[0]))){c[0]+=m.length-c[0];m=!0;break a}}m=!1}if(m)continue;return 0}if(this.patternParts_[l].abutStart){a:{n=a;q=l;var u=c[0],w=0;for(m=q;m=m)return 0;l+=m-1}else if(!O_a(this,a,c,this.patternParts_[l],0,h,d))return 0}a:{a=e;if(null==b)throw Error("Parameter 'date' should not be null.");void 0!=h.era&&void 0!=h.year&&0==h.era&&0e?e:d));"function"===typeof b.setHours&&(void 0==h.hours&&(h.hours=b.getHours()),void 0!=h.ampm&&
0h.hours&&(h.hours+=12),b.setHours(h.hours));"function"===typeof b.setMinutes&&void 0!=h.minutes&&b.setMinutes(h.minutes);"function"===typeof b.setSeconds&&void 0!=h.seconds&&b.setSeconds(h.seconds);"function"===typeof b.setMilliseconds&&void 0!=h.milliseconds&&b.setMilliseconds(h.milliseconds);if(a&&(h.year&&h.year!=b.getFullYear()||h.month&&h.month!=b.getMonth()||h.day&&h.day!=b.getDate()||h.hours&&24<=h.hours||h.minutes&&60<=h.minutes||h.seconds&&60<=h.seconds||h.milliseconds&&1E3<=
h.milliseconds))b=!1;else{void 0!=h.tzOffset&&b.setTime(b.getTime()+6E4*(h.tzOffset-b.getTimezoneOffset()));h.ambiguousYear&&(a=new Date,a.setFullYear(a.getFullYear()-80),b.getTime()b.length)return!1;switch(d.text.charAt(0)){case"G":return aH(b,c,[a.JSC$34885_dateTimeSymbols_.ERAS],function(m){h.era=m}),!0;
case"M":case"L":return P_a(a,b,c,e,d,h);case"E":return aH(b,c,[a.JSC$34885_dateTimeSymbols_.WEEKDAYS,a.JSC$34885_dateTimeSymbols_.SHORTWEEKDAYS],function(m){h.dayOfWeek=m});
case"a":return a=aH(b,c,[a.JSC$34885_dateTimeSymbols_.AMPMS],function(m){h.ampm=m},l),l?a:!0;
case"y":return Q_a(a,b,c,d,e,h);case"Q":return aH(b,c,[a.JSC$34885_dateTimeSymbols_.QUARTERS,a.JSC$34885_dateTimeSymbols_.SHORTQUARTERS],function(m){h.month=3*m;h.day=1});
case"d":return bH(a,b,c,d,e,function(m){h.day=m}),!0;
case"S":return R_a(a,b,c,e,h);case"h":case"K":case"H":case"k":return a=bH(a,b,c,d,e,function(m){h.hours="h"===d.text.charAt(0)&&12===m?0:m},l),l?a:!0;
case"m":return a=bH(a,b,c,d,e,function(m){h.minutes=m},l),l?a:!0;
case"s":return bH(a,b,c,d,e,function(m){h.seconds=m}),!0;
case"z":case"Z":case"v":return S_a(a,b,c,h);default:return!1;}},Q_a=function(a,b,c,d,e,h){var l=c[0];
e=cH(a,b,c,e);null===e&&(e=cH(a,b,c,0,!0));if(null===e)return!1;0<=e&&2==c[0]-l&&2==d.count?(a=e,b=new Date().getFullYear()-80,c=b%100,h.ambiguousYear=a==c,a+=100*Math.floor(b/100)+(ac?a*Math.pow(10,3-c):Math.round(a/Math.pow(10,c-3));return!0},S_a=function(a,b,c,d){b.indexOf("GMT",c[0])==c[0]&&(c[0]+=3);
if(c[0]>=b.length)return d.tzOffset=0,!0;var e=c[0],h=cH(a,b,c,0,!0);if(null===h)return!1;if(c[0]l&&3>=c[0]-e?60*l:l%100+l/100*60;d.tzOffset=-l;return!0},bH=function(a,b,c,d,e,h,l){l=l||!1;
var m=c[0];a=cH(a,b,c,e);if(null===a)return!1;if(l&&c[0]-mq&&0==w.indexOf(E)&&(q=m[A].length,u=A)}null!==u&&(h[0]+=q);h=u;if(null!==h)return d(h),!0}return!1},N_a=function(a,b){(a=a.substring(b[0]).match(/^\s+/))&&(b[0]+=a[0].length)},cH=function(a,b,c,d,e){b=0=l?String.fromCharCode(l+48):b.charAt(h))}b=d.join("")}else b=b.substring(c[0]);a=b.match(new RegExp("^"+(e?"[+-]?":"")+"\\d+"));if(!a)return null;c[0]+=a[0].length;return parseInt(a[0],10)},M_a=function(){};
M_a.prototype.ambiguousYear=!1;var gH=function(a,b,c,d){var e;if(e=b){a:if(b&&3===b.length){for(e=0;3>e;e++){var h=b[e];if("A">h||"Z"h||"z"e&&n++;break;case"0":if(0e&&n++;break;case",":0h+l||1>a.minExponentDigits_)throw Error("Malformed exponential pattern \""+b+"\"");u=!1;break;default:c[0]--,u=!1;}0==l&&0e&&0h+l)||0==n)throw Error("Malformed pattern \""+b+"\"");m=h+l+m;a.maximumFractionDigits_=0<=e?m-e:0;0<=e&&(a.minimumFractionDigits_=
h+l-e,0>a.minimumFractionDigits_&&(a.minimumFractionDigits_=0));a.minimumIntegerDigits_=(0<=e?e:m)-h;a.useExponentialNotation_&&(a.maximumIntegerDigits_=h+a.minimumIntegerDigits_,0==a.maximumFractionDigits_&&0==a.minimumIntegerDigits_&&(a.minimumIntegerDigits_=1));a.groupingArray_.push(Math.max(0,n));a.decimalSeparatorAlwaysShown_=0==e||e==m;d=c[0]-d;a.positiveSuffix_=hH(a,b,c);c[0]this.negativePrefix_.length?d=!1:this.positivePrefix_.length=K)E+=K,m=!0;else if(F==u.charAt(0)){if(h||l)break;E+=".";h=!0}else if(F==w.charAt(0)&&("\xA0"!=w.charAt(0)||b[0]+1this.maximumFractionDigits_)throw Error("Min value must be less than max value");if(isNaN(a))return dH(this).NAN;var b=[],c=X_a(this,null===this.baseFormattingNumber_?a:this.baseFormattingNumber_,a);a=iH(a,-c.divisorBase);var d=0>a||0==a&&0>1/a;d?c.negative_prefix?b.push(c.negative_prefix):(b.push(c.prefix),b.push(this.negativePrefix_)):(b.push(c.prefix),b.push(this.positivePrefix_));if(isFinite(a)){if(a=a*(d?-1:1)*this.multiplier_,this.useExponentialNotation_){var e=
a;if(0==e)Y_a(this,e,this.minimumIntegerDigits_,b),Z_a(this,0,b);else{var h=Math.floor(Math.log(e)/Math.log(10)+2e-15);e=iH(e,-h);var l=this.minimumIntegerDigits_;1this.minimumIntegerDigits_?(l=h%this.maximumIntegerDigits_,0>l&&(l=this.maximumIntegerDigits_+l),e=iH(e,l),h-=l,l=1):1>this.minimumIntegerDigits_?(h++,e=iH(e,-1)):(h-=this.minimumIntegerDigits_-1,e=iH(e,this.minimumIntegerDigits_-1));Y_a(this,e,l,b);Z_a(this,h,b)}}else Y_a(this,a,
this.minimumIntegerDigits_,b);}else b.push(dH(this).INFINITY);d?c.negative_suffix?b.push(c.negative_suffix):(isFinite(a)&&b.push(c.suffix),b.push(this.negativeSuffix_)):(isFinite(a)&&b.push(c.suffix),b.push(this.positiveSuffix_));return b.join("")};
gH.prototype.formatUsingNativeMode_=function(a){(null==this.JSC$34894_intlFormatter_.format||this.resetSignificantDigits_||this.resetFractionDigits_)&&W_a(this,this.inputPattern_);if(1>Math.abs(a)&&this.significantDigits_>this.maximumFractionDigits_){var b=Math.pow(10,this.maximumFractionDigits_);a=Math.round(Math.abs(a)*b)*Math.sign(a)/b}b=this.JSC$34894_intlFormatter_.resolvedOptions();if("percent"===b.style&&this.overrideNumberFormatSymbols_&&this.overrideNumberFormatSymbols_.PERCENT){a=this.JSC$34894_intlFormatter_.formatToParts(a);
var c=this.overrideNumberFormatSymbols_.PERCENT;return a.map(function(n){return"percentSign"===n.type?c:n.value}).join("")}if(this.showTrailingZeros_){var d=this.JSC$34894_intlFormatter_.formatToParts(a),e=0;
d.forEach(function(n){return"integer"===n.type&&"0"!==n.value?e+=n.value.length:0});
for(var h=0,l=0;la.maximumFractionDigits_)throw Error("Min value must be less than max value");
d||(d=[]);b=a0a(a,b);var e=b.intValue,h=b.fracValue,l=0==e?0:jH(e)+1,m=0h.length&&(h="1"+lca("0",a.maximumFractionDigits_-h.length)+h);for(a=h.length;"0"==h.charAt(a-1)&&a>b+1;)a--;for(b=1;bb?(b=-b,c.push(dH(a).MINUS_SIGN)):a.useSignForPositiveExponent_&&c.push(dH(a).PLUS_SIGN);b=""+b;for(var d=dH(a).ZERO_DIGIT,e=b.length;eb)return b-48;a=dH(a).ZERO_DIGIT.charCodeAt(0);return a<=b&&bb)return kH;b=Math.min(14,b);var c=a[iH(1,b)];for(--b;!c&&3<=b;)c=a[iH(1,b)],b--;if(!c)return kH;c=c.other;var d=a="",e=c.indexOf(";");0<=e&&(c=c.substring(0,e),e=c.substring(e+1))&&(d=/([^0]*)(0+)(.*)/.exec(e),a=d[1],d=d[3]);return c&&"0"!=c?(c=/([^0]*)(0+)(.*)/.exec(c))?{divisorBase:b+
1-(c[2].length-1),negative_prefix:a,negative_suffix:d,prefix:c[1],suffix:c[3]}:kH:kH},X_a=function(a,b,c){if(0==a.compactStyle_)return kH;
b=Math.abs(b);c=Math.abs(c);var d=b0a(a,1>=b?0:jH(b)).divisorBase;c=iH(c,-d);a0a(a,c);b=iH(b,-d);b=a0a(a,b);return b0a(a,d+jH(b.intValue))},jH=function(a){if(!isFinite(a))return 0=c)return 0;if(1<=c)return 1;for(var d=0,e=1,h=0,l=0;8>l;l++){h=qH(a,c);var m=(qH(a,c+1E-6)-h)/1E-6;if(1E-6>Math.abs(h-b))return c;if(1E-6>Math.abs(m))break;else hl;l++)hb)break a}else if(3>b||3==b&&!lC(this.JSC$34918_xmlHttp_))break a;this.JSC$34918_cancelled_||4!=b||7==c||(8==c||0>=d?this.JSC$34916_channel_.notifyServerReachabilityEvent(3):this.JSC$34916_channel_.notifyServerReachabilityEvent(2));wH(this);var e=this.JSC$34918_xmlHttp_.getStatus();
this.JSC$34918_lastStatusCode_=e;var h=lC(this.JSC$34918_xmlHttp_);h||this.JSC$34916_channelDebug_.debug("No response text for uri "+this.JSC$34918_requestUri_+" status "+e);this.JSC$34918_successful_=200==e;this.JSC$34916_channelDebug_.info("XMLHTTP RESP ("+this.JSC$34916_rid_+") [ attempt "+this.JSC$34916_retryId_+"]: "+this.JSC$34918_verb_+"\n"+this.JSC$34918_requestUri_+"\n"+b+" "+e);this.JSC$34918_successful_?(4==b&&xH(this),this.decodeChunks_?H0a(this,b,h):(yH(this.JSC$34916_channelDebug_,this.JSC$34916_rid_,
h,null),I0a(this,h)),this.JSC$34918_successful_&&!this.JSC$34918_cancelled_&&(4==b?this.JSC$34916_channel_.JSC$34925_onRequestComplete(this):(this.JSC$34918_successful_=!1,vH(this)))):(400==e&&0b.length)return D0a;b=b.substr(d,c);a.JSC$34918_xmlHttpChunkStart_=d+c;return b},K0a=function(a,b){a.JSC$34918_requestStartTime_=Date.now();
vH(a);var c=b?window.location.hostname:"";a.JSC$34918_requestUri_=a.JSC$34918_baseUri_.clone();Ol(a.JSC$34918_requestUri_,"DOMAIN",c);Ol(a.JSC$34918_requestUri_,"t",a.JSC$34916_retryId_);try{a.trident_=new ActiveXObject("htmlfile")}catch(n){xH(a);a.JSC$34918_lastError_=7;tH(22);zH(a);return}var d="";if(b){var e="";for(b=0;b"==h)h=e+"\\x3e";else{if(h in Wb)h=Wb[h];else if(h in jca)h=Wb[h]=jca[h];else{var l=h.charCodeAt(0);
if(31l)var m=h;else{if(256>l){if(m="\\x",16>l||256l&&(m+="0");m+=l.toString(16).toUpperCase()}h=Wb[h]=m}h=e+h}e=h}d+=""}d+="";c=Nb(ib("b/12014412"),d);a.trident_.open();a.trident_.write(Ib(c));a.trident_.close();a.trident_.parentWindow.m=Ea(a.onTridentRpcMessage_,a);a.trident_.parentWindow.d=Ea(a.onTridentDone_,a,!0);a.trident_.parentWindow.rpcClose=Ea(a.onTridentDone_,a,!1);c=a.trident_.createElement("DIV");
a.trident_.parentWindow.document.body.appendChild(c);d=Ab(a.JSC$34918_requestUri_.toString());d=Vb(wb(d));d=Nb(ib("b/12014412"),"");Ob(c,d);a.JSC$34916_channelDebug_.info("TRIDENT REQ ("+a.JSC$34916_rid_+") [ attempt "+a.JSC$34916_retryId_+"]: GET\n"+a.JSC$34918_requestUri_);a.JSC$34916_channel_.notifyServerReachabilityEvent(1)};
f=uH.prototype;f.onTridentRpcMessage_=function(a){rH(Ea(this.onTridentRpcMessageAsync_,this,a),0)};
f.onTridentRpcMessageAsync_=function(a){if(!this.JSC$34918_cancelled_){var b=this.JSC$34916_channelDebug_;b.info("TRIDENT TEXT ("+this.JSC$34916_rid_+"): "+L0a(b,a));wH(this);I0a(this,a);vH(this)}};
f.onTridentDone_=function(a){rH(Ea(this.onTridentDoneAsync_,this,a),0)};
f.onTridentDoneAsync_=function(a){this.JSC$34918_cancelled_||(this.JSC$34916_channelDebug_.info("TRIDENT TEXT ("+this.JSC$34916_rid_+"): "+a?"success":"failure"),xH(this),this.JSC$34918_successful_=a,this.JSC$34916_channel_.JSC$34925_onRequestComplete(this),this.JSC$34916_channel_.notifyServerReachabilityEvent(4))};
f.cancel=function(){this.JSC$34918_cancelled_=!0;xH(this)};
var vH=function(a){a.JSC$34918_watchDogTimeoutTime_=Date.now()+a.timeout_;M0a(a,a.timeout_)},M0a=function(a,b){if(null!=a.JSC$34918_watchDogTimerId_)throw Error("WatchDog timer not null");
a.JSC$34918_watchDogTimerId_=rH(Ea(a.JSC$34918_onWatchDogTimeout_,a),b)},wH=function(a){a.JSC$34918_watchDogTimerId_&&(v.clearTimeout(a.JSC$34918_watchDogTimerId_),a.JSC$34918_watchDogTimerId_=null)};
uH.prototype.JSC$34918_onWatchDogTimeout_=function(){this.JSC$34918_watchDogTimerId_=null;var a=Date.now();0<=a-this.JSC$34918_watchDogTimeoutTime_?this.handleTimeout_():(this.JSC$34916_channelDebug_.warning("WatchDog timer called too early"),M0a(this,this.JSC$34918_watchDogTimeoutTime_-a))};
uH.prototype.handleTimeout_=function(){this.JSC$34916_channelDebug_.info("TIMEOUT: "+this.JSC$34918_requestUri_);2!=this.JSC$34918_type_&&this.JSC$34916_channel_.notifyServerReachabilityEvent(3);xH(this);this.JSC$34918_lastError_=2;tH(18);zH(this)};
var zH=function(a){a.JSC$34916_channel_.JSC$34925_isClosed()||a.JSC$34918_cancelled_||a.JSC$34916_channel_.JSC$34925_onRequestComplete(a)},xH=function(a){wH(a);
fg(a.JSC$34918_readyStateChangeThrottle_);a.JSC$34918_readyStateChangeThrottle_=null;a.JSC$34916_pollingTimer_.stop();a.JSC$34916_eventHandler_.removeAll();if(a.JSC$34918_xmlHttp_){var b=a.JSC$34918_xmlHttp_;a.JSC$34918_xmlHttp_=null;b.abort();b.dispose()}a.trident_&&(a.trident_=null)};
uH.prototype.getLastError=function(){return this.JSC$34918_lastError_};
uH.prototype.JSC$34918_getSessionId=function(){return this.sid_};
var I0a=function(a,b){try{a.JSC$34916_channel_.JSC$34925_onRequestData(a,b),a.JSC$34916_channel_.notifyServerReachabilityEvent(4)}catch(c){}};var AH=function(){this.JSC$34920_logger_=null};
AH.prototype.JSC$34922_getLogger=function(){return null};
AH.prototype.JSC$34922_browserOfflineResponse=function(a){this.info("BROWSER_OFFLINE: "+a)};
var yH=function(a,b,c,d){a.info("XMLHTTP TEXT ("+b+"): "+L0a(a,c)+(d?" "+d:""))};
f=AH.prototype;f.debug=function(a){this.info(a)};
f.JSC$34922_dumpException=function(){};
f.info=function(){};
f.warning=function(){};
f.JSC$34922_severe=function(){};
var L0a=function(a,b){if(!b||"y2f%"==b)return b;try{var c=JSON.parse(b);if(c)for(var d=0;de.length)){var h=e[1];if(Array.isArray(h)&&!(1>h.length)){var l=h[0];if("noop"!=l&&"stop"!=l)for(var m=1;ma)this.JSC$34925_lastStatusCode_=200,this.JSC$34925_request_.cancel(),this.JSC$34923_channelDebug_.debug("Test connection succeeded; using streaming connection"),tH(12),EH(this.JSC$34923_channel_,this,!0)}else tH(8),this.firstTime_=this.lastTime_=
Date.now(),this.receivedIntermediateResult_=!1};
f.JSC$34925_onRequestComplete=function(){this.JSC$34925_lastStatusCode_=this.JSC$34925_request_.JSC$34918_lastStatusCode_;this.JSC$34925_request_.JSC$34918_successful_?0==this.JSC$34925_state_?(this.JSC$34923_channelDebug_.debug("TestConnection: request complete for initial check"),this.blockedPrefix_?(this.JSC$34925_state_=1,Q0a(this)):(this.JSC$34925_state_=2,R0a(this))):2==this.JSC$34925_state_&&(this.JSC$34923_channelDebug_.debug("TestConnection: request complete for stage 2"),(!rc||Ac(10)?!this.receivedIntermediateResult_:
200>this.lastTime_-this.firstTime_)?(this.JSC$34923_channelDebug_.debug("Test connection failed; not using streaming"),tH(11),EH(this.JSC$34923_channel_,this,!1)):(this.JSC$34923_channelDebug_.debug("Test connection succeeded; using streaming connection"),tH(12),EH(this.JSC$34923_channel_,this,!0))):(this.JSC$34923_channelDebug_.debug("TestConnection: request failed, in state "+this.JSC$34925_state_),0==this.JSC$34925_state_?tH(9):2==this.JSC$34925_state_&&tH(10),U0a(this.JSC$34923_channel_,this,
this.JSC$34925_request_.getLastError()))};
f.JSC$34925_shouldUseSecondaryDomains=function(){return this.JSC$34923_channel_.JSC$34925_shouldUseSecondaryDomains()};
f.isActive=function(){return this.JSC$34923_channel_.isActive()};
f.notifyServerReachabilityEvent=function(a){this.JSC$34923_channel_.notifyServerReachabilityEvent(a)};var V0a=function(){this.nextPtr_=0;this.JSC$34927_maxSize_=5;this.buff_=[]};
f=V0a.prototype;f.add=function(a){var b=this.buff_[this.nextPtr_];this.buff_[this.nextPtr_]=a;this.nextPtr_=(this.nextPtr_+1)%5;return b};
f.get=function(a){a=W0a(this,a);return this.buff_[a]};
f.set=function(a,b){a=W0a(this,a);this.buff_[a]=b};
f.getCount=function(){return this.buff_.length};
f.isEmpty=function(){return 0==this.buff_.length};
f.clear=function(){this.nextPtr_=this.buff_.length=0};
f.getValues=function(){var a=this.getCount(),b=this.getCount(),c=[];for(a=this.getCount()-a;a=a.buff_.length)throw Error("Out of bounds exception");return 5>a.buff_.length?b:(a.nextPtr_+Number(b))%5};var FH=function(a,b,c){this.JSC$34926_clientVersion_="1";this.JSC$34926_state_=1;this.JSC$34926_outgoingMaps_=[];this.pendingMaps_=[];this.JSC$34926_channelDebug_=new AH;this.JSC$34926_parser_=new xE;this.firstTestResults_=a||null;this.secondTestResults_=null!=b?b:null;this.asyncTest_=c||!1},X0a=function(a,b){this.JSC$34931_mapId=a;
this.map=b;this.context=null};
f=FH.prototype;f.JSC$34933_extraHeaders_=null;f.JSC$34933_extraParams_=null;f.forwardChannelRequest_=null;f.JSC$34933_backChannelRequest_=null;f.JSC$34933_path_=null;f.JSC$34933_forwardChannelUri_=null;f.JSC$34933_backChannelUri_=null;f.JSC$34933_hostPrefix_=null;f.JSC$34933_allowHostPrefix_=!0;f.JSC$34933_nextRid_=0;f.JSC$34933_nextMapId_=0;f.JSC$34933_failFast_=!1;f.handler_=null;f.JSC$34933_forwardChannelTimerId_=null;f.JSC$34933_backChannelTimerId_=null;f.JSC$34933_deadBackChannelTimerId_=null;
f.connectionTest_=null;f.useChunked_=null;f.allowChunkedMode_=!0;f.JSC$34933_lastArrayId_=-1;f.JSC$34933_lastPostResponseArrayId_=-1;f.JSC$34933_lastStatusCode_=-1;f.JSC$34933_forwardChannelRetryCount_=0;f.JSC$34933_backChannelRetryCount_=0;f.JSC$34933_baseRetryDelayMs_=5E3;f.JSC$34933_retryDelaySeedMs_=1E4;f.JSC$34933_forwardChannelMaxRetries_=2;f.JSC$34933_forwardChannelRequestTimeoutMs_=2E4;f.JSC$34933_readyStateChangeThrottleMs_=0;f.JSC$34933_supportsCrossDomainXhrs_=!1;
f.JSC$34933_channelVersion_=8;var Y0a=function(a,b,c,d){Ag.call(this,"timingevent",a);this.size=b;this.JSC$34934_rtt=c;this.retries=d};
Ia(Y0a,Ag);var Z0a=function(a,b){Ag.call(this,"serverreachability",a);this.JSC$34936_reachabilityType=b};
Ia(Z0a,Ag);f=FH.prototype;f.JSC$34933_getChannelDebug=function(){return this.JSC$34926_channelDebug_};
f.JSC$34933_setChannelDebug=function(a){null!=a&&(this.JSC$34926_channelDebug_=a)};
f.connect=function(a,b,c,d,e){this.JSC$34926_channelDebug_.debug("connect()");tH(0);this.JSC$34933_path_=b;this.JSC$34933_extraParams_=c||{};d&&void 0!==e&&(this.JSC$34933_extraParams_.OSID=d,this.JSC$34933_extraParams_.OAID=e);this.asyncTest_?(rH(Ea(this.connectTest_,this,a),100),$0a(this)):this.connectTest_(a)};
f.disconnect=function(){this.JSC$34926_channelDebug_.debug("disconnect()");a1a(this);if(3==this.JSC$34926_state_){var a=this.JSC$34933_nextRid_++,b=this.JSC$34933_forwardChannelUri_.clone();Ol(b,"SID",this.sid_);Ol(b,"RID",a);Ol(b,"TYPE","terminate");GH(this,b);a=new uH(this,this.JSC$34926_channelDebug_,this.sid_,a,void 0);a.JSC$34918_type_=2;a.JSC$34918_baseUri_=Rl(b.clone());Qb(new Image,a.JSC$34918_baseUri_.toString());a.JSC$34918_requestStartTime_=Date.now();vH(a)}b1a(this)};
f.connectTest_=function(a){this.JSC$34926_channelDebug_.debug("connectTest_()");this.connectionTest_=new CH(this,this.JSC$34926_channelDebug_);this.connectionTest_.JSC$34925_extraHeaders_=this.JSC$34933_extraHeaders_;this.connectionTest_.JSC$34923_parser_=this.JSC$34926_parser_;this.connectionTest_.connect(a)};
var $0a=function(a){a.JSC$34926_channelDebug_.debug("connectChannel_()");a.JSC$34933_ensureInState_(1,0);a.JSC$34933_forwardChannelUri_=P0a(a,a.JSC$34933_path_);c1a(a)},a1a=function(a){a.connectionTest_&&(a.connectionTest_.abort(),a.connectionTest_=null);
a.JSC$34933_backChannelRequest_&&(a.JSC$34933_backChannelRequest_.cancel(),a.JSC$34933_backChannelRequest_=null);a.JSC$34933_backChannelTimerId_&&(v.clearTimeout(a.JSC$34933_backChannelTimerId_),a.JSC$34933_backChannelTimerId_=null);HH(a);a.forwardChannelRequest_&&(a.forwardChannelRequest_.cancel(),a.forwardChannelRequest_=null);a.JSC$34933_forwardChannelTimerId_&&(v.clearTimeout(a.JSC$34933_forwardChannelTimerId_),a.JSC$34933_forwardChannelTimerId_=null)};
f=FH.prototype;f.JSC$34933_setReadyStateChangeThrottle=function(a){this.JSC$34933_readyStateChangeThrottleMs_=a};
f.JSC$34933_setSupportsCrossDomainXhrs=function(a){this.JSC$34933_supportsCrossDomainXhrs_=a};
f.JSC$34933_getHandler=function(){return this.handler_};
f.JSC$34933_getAllowHostPrefix=function(){return this.JSC$34933_allowHostPrefix_};
f.JSC$34933_setAllowHostPrefix=function(a){this.JSC$34933_allowHostPrefix_=a};
f.getAllowChunkedMode=function(){return this.allowChunkedMode_};
f.setAllowChunkedMode=function(a){this.allowChunkedMode_=a};
var d1a=function(a,b){if(0==a.JSC$34926_state_)throw Error("Invalid operation: sending map when state is closed");1E3==a.JSC$34926_outgoingMaps_.length&&a.JSC$34926_parser_.stringify(b);a.JSC$34926_outgoingMaps_.push(new X0a(a.JSC$34933_nextMapId_++,b));2!=a.JSC$34926_state_&&3!=a.JSC$34926_state_||c1a(a)};
f=FH.prototype;
f.JSC$34933_setFailFast=function(a){this.JSC$34933_failFast_=a;this.JSC$34926_channelDebug_.info("setFailFast: "+a);(this.forwardChannelRequest_||this.JSC$34933_forwardChannelTimerId_)&&this.JSC$34933_forwardChannelRetryCount_>(this.JSC$34933_failFast_?0:this.JSC$34933_forwardChannelMaxRetries_)&&(this.JSC$34926_channelDebug_.info("Retry count "+this.JSC$34933_forwardChannelRetryCount_+" > new maxRetries "+(this.JSC$34933_failFast_?0:this.JSC$34933_forwardChannelMaxRetries_)+". Fail immediately!"),this.forwardChannelRequest_?(
this.forwardChannelRequest_.cancel(),this.JSC$34925_onRequestComplete(this.forwardChannelRequest_)):(v.clearTimeout(this.JSC$34933_forwardChannelTimerId_),this.JSC$34933_forwardChannelTimerId_=null,DH(this,2)))};
f.JSC$34933_setForwardChannelMaxRetries=function(a){this.JSC$34933_forwardChannelMaxRetries_=a};
f.JSC$34933_setForwardChannelRequestTimeout=function(a){this.JSC$34933_forwardChannelRequestTimeoutMs_=a};
f.JSC$34925_isClosed=function(){return 0==this.JSC$34926_state_};
f.getState=function(){return this.JSC$34926_state_};
f.JSC$34933_setParser=function(a){this.JSC$34926_parser_=a};
var c1a=function(a){a.forwardChannelRequest_||a.JSC$34933_forwardChannelTimerId_||(a.JSC$34933_forwardChannelTimerId_=rH(Ea(a.JSC$34933_onStartForwardChannelTimer_,a),0),a.JSC$34933_forwardChannelRetryCount_=0)};
FH.prototype.JSC$34933_onStartForwardChannelTimer_=function(a){this.JSC$34933_forwardChannelTimerId_=null;e1a(this,a)};
var e1a=function(a,b){a.JSC$34926_channelDebug_.debug("startForwardChannel_");if(1==a.JSC$34926_state_){if(!b){a.JSC$34926_channelDebug_.debug("open_()");a.JSC$34933_nextRid_=Math.floor(1E5*Math.random());b=a.JSC$34933_nextRid_++;var c=new uH(a,a.JSC$34926_channelDebug_,"",b,void 0);c.JSC$34918_extraHeaders_=a.JSC$34933_extraHeaders_;var d=f1a(a),e=a.JSC$34933_forwardChannelUri_.clone();Ol(e,"RID",b);Ol(e,"CVER","1");GH(a,e);F0a(c,e,d);a.forwardChannelRequest_=c;a.JSC$34926_state_=2}}else 3==a.JSC$34926_state_&&(
b?g1a(a,b):0==a.JSC$34926_outgoingMaps_.length?a.JSC$34926_channelDebug_.debug("startForwardChannel_ returned: nothing to send"):a.forwardChannelRequest_||(g1a(a),a.JSC$34926_channelDebug_.debug("startForwardChannel_ finished, sent request")))},g1a=function(a,b){if(b){if(6=a.JSC$34933_channelVersion_?h:e.$jscomp$loop$prop$mapId$2825-d;try{x.forEach(l,function(m){return function(n,q){c.push("req"+m.$jscomp$loop$prop$mapId$2825+
"_"+q+"="+encodeURIComponent(n))}}(e))}catch(m){c.push("req"+e.$jscomp$loop$prop$mapId$2825+"_type="+encodeURIComponent("_badmap"))}}a.pendingMaps_=a.pendingMaps_.concat(a.JSC$34926_outgoingMaps_.splice(0,b));
return c.join("&")},h1a=function(a){a.JSC$34933_backChannelRequest_||a.JSC$34933_backChannelTimerId_||(a.JSC$34933_backChannelAttemptId_=1,a.JSC$34933_backChannelTimerId_=rH(Ea(a.JSC$34933_onStartBackChannelTimer_,a),0),a.JSC$34933_backChannelRetryCount_=0)},j1a=function(a){if(a.JSC$34933_backChannelRequest_||a.JSC$34933_backChannelTimerId_||3<=a.JSC$34933_backChannelRetryCount_)return!1;
a.JSC$34926_channelDebug_.debug("Going to retry GET");a.JSC$34933_backChannelAttemptId_++;a.JSC$34933_backChannelTimerId_=rH(Ea(a.JSC$34933_onStartBackChannelTimer_,a),i1a(a,a.JSC$34933_backChannelRetryCount_));a.JSC$34933_backChannelRetryCount_++;return!0};
FH.prototype.JSC$34933_onStartBackChannelTimer_=function(){this.JSC$34933_backChannelTimerId_=null;this.JSC$34926_channelDebug_.debug("Creating new HttpRequest");this.JSC$34933_backChannelRequest_=new uH(this,this.JSC$34926_channelDebug_,this.sid_,"rpc",this.JSC$34933_backChannelAttemptId_);this.JSC$34933_backChannelRequest_.JSC$34918_extraHeaders_=this.JSC$34933_extraHeaders_;this.JSC$34933_backChannelRequest_.JSC$34918_readyStateChangeThrottleMs_=this.JSC$34933_readyStateChangeThrottleMs_;var a=
this.JSC$34933_backChannelUri_.clone();Ol(a,"RID","rpc");Ol(a,"SID",this.sid_);Ol(a,"CI",this.useChunked_?"0":"1");Ol(a,"AID",this.JSC$34933_lastArrayId_);GH(this,a);if(!rc||Ac(10))Ol(a,"TYPE","xmlhttp"),G0a(this.JSC$34933_backChannelRequest_,a,!0,this.JSC$34933_hostPrefix_,!1);else{Ol(a,"TYPE","html");var b=this.JSC$34933_backChannelRequest_,c=!!this.JSC$34933_hostPrefix_;b.JSC$34918_type_=3;b.JSC$34918_baseUri_=Rl(a.clone());K0a(b,c)}this.JSC$34926_channelDebug_.debug("New Request created")};
var EH=function(a,b,c){a.JSC$34926_channelDebug_.debug("Test Connection Finished");a.useChunked_=a.allowChunkedMode_&&c;a.JSC$34933_lastStatusCode_=b.JSC$34925_lastStatusCode_;a.asyncTest_||$0a(a)},U0a=function(a,b){a.JSC$34926_channelDebug_.debug("Test Connection Failed");
a.JSC$34933_lastStatusCode_=b.JSC$34925_lastStatusCode_;DH(a,2)};
FH.prototype.JSC$34925_onRequestData=function(a,b){if(0!=this.JSC$34926_state_&&(this.JSC$34933_backChannelRequest_==a||this.forwardChannelRequest_==a))if(this.JSC$34933_lastStatusCode_=a.JSC$34918_lastStatusCode_,this.forwardChannelRequest_==a&&3==this.JSC$34926_state_){if(7b&&this.useChunked_&&0==this.JSC$34933_backChannelRetryCount_&&!this.JSC$34933_deadBackChannelTimerId_&&(this.JSC$34933_deadBackChannelTimerId_=rH(Ea(this.JSC$34933_onBackChannelDead_,this),6E3)));}else this.JSC$34926_channelDebug_.debug("Bad POST response data returned"),DH(this,11)}else"y2f%"!=b&&(this.JSC$34926_channelDebug_.debug("Bad data returned - missing/invald magic cookie"),DH(this,
11));}else this.JSC$34933_backChannelRequest_==a&&HH(this),qb(b)||(a=this.JSC$34926_parser_.parse(b),this.onInput_(a))};
FH.prototype.JSC$34933_onBackChannelDead_=function(){null!=this.JSC$34933_deadBackChannelTimerId_&&(this.JSC$34933_deadBackChannelTimerId_=null,this.JSC$34933_backChannelRequest_.cancel(),this.JSC$34933_backChannelRequest_=null,j1a(this),tH(20))};
var HH=function(a){null!=a.JSC$34933_deadBackChannelTimerId_&&(v.clearTimeout(a.JSC$34933_deadBackChannelTimerId_),a.JSC$34933_deadBackChannelTimerId_=null)};
FH.prototype.JSC$34925_onRequestComplete=function(a){this.JSC$34926_channelDebug_.debug("Request complete");if(this.JSC$34933_backChannelRequest_==a){HH(this);this.JSC$34933_backChannelRequest_=null;var b=2}else if(this.forwardChannelRequest_==a)this.forwardChannelRequest_=null,b=1;else return;this.JSC$34933_lastStatusCode_=a.JSC$34918_lastStatusCode_;if(0!=this.JSC$34926_state_)if(a.JSC$34918_successful_){if(1==b){b=Date.now()-a.JSC$34918_requestStartTime_;var c=sH;c.dispatchEvent(new Y0a(c,a.JSC$34918_postData_?
a.JSC$34918_postData_.length:0,b,this.JSC$34933_forwardChannelRetryCount_));c1a(this);this.pendingMaps_.length=0}else h1a(this);}else{c=a.getLastError();if(3==c||7==c||0==c&&0=(
this.JSC$34933_failFast_?0:this.JSC$34933_forwardChannelMaxRetries_)?d=!1:(this.JSC$34926_channelDebug_.debug("Going to retry POST"),this.JSC$34933_forwardChannelTimerId_=rH(Ea(this.JSC$34933_onStartForwardChannelTimer_,this,a),i1a(this,this.JSC$34933_forwardChannelRetryCount_)),this.JSC$34933_forwardChannelRetryCount_++,d=!0);if(d||2==b&&j1a(this))return;this.JSC$34926_channelDebug_.debug("Exceeded max number of retries")}this.JSC$34926_channelDebug_.debug("Error: HTTP request failed");switch(c){case 1:DH(this,
5);break;case 4:DH(this,10);break;case 3:DH(this,6);break;case 7:DH(this,12);break;default:DH(this,2);}}};
var i1a=function(a,b){var c=a.JSC$34933_baseRetryDelayMs_+Math.floor(Math.random()*a.JSC$34933_retryDelaySeedMs_);a.isActive()||(a.JSC$34926_channelDebug_.debug("Inactive channel"),c*=2);return c*b};
FH.prototype.JSC$34933_setRetryDelay=function(a,b){this.JSC$34933_baseRetryDelayMs_=a;this.JSC$34933_retryDelaySeedMs_=b};
FH.prototype.onInput_=function(a){for(var b=0;bNumber(xc)){var b=a.JSC$34943_iframe_;var c=ib("javascript:\"\"");c=xb(hb(c));cca(b,c)}b=a.JSC$34943_iframe_.style;b.visibility="hidden";b.width=b.height="10px";b.display="none";vc?b.marginTop=b.marginLeft="-10px":(b.position="absolute",
b.top=b.left="-10px");if(rc&&!yc("11")){a.JSC$34943_form_.target=a.iframeName_||"";Re(a.JSC$34943_form_).JSC$30570_document_.body.appendChild(a.JSC$34943_iframe_);a.ignoreResponse_||Gg(a.JSC$34943_iframe_,"readystatechange",a.onIeReadyStateChange_,!1,a);try{a.errorHandled_=!1,a.JSC$34943_form_.submit()}catch(A){a.ignoreResponse_||Jg(a.JSC$34943_iframe_,"readystatechange",a.onIeReadyStateChange_,!1,a),LH(a,1)}}else{Re(a.JSC$34943_form_).JSC$30570_document_.body.appendChild(a.JSC$34943_iframe_);b=a.iframeName_+
"_inner";c=lf(a.JSC$34943_iframe_);if(document.baseURI){var d=Vb(b);d=Nb(ib("Short HTML snippet, input escaped, safe URL, for performance"),"