// Copyright 2011 Google Inc. All Rights Reserved. (function(){var l,aa=function(a){var b=0;return function(){return b>>0)+"_",d=0,e=function(f){if(this instanceof e)throw new TypeError("Symbol is not a constructor");return new b(c+(f||"")+"_"+d++,f)};return e}); fa("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;c0&&c>0;)if(d[--c]!=b[--e])return!1;return e<=0}});fa("Object.setPrototypeOf",function(a){return a||sa});fa("Symbol.dispose",function(a){return a?a:Symbol("Symbol.dispose")}); var Fa=function(a,b,c){a instanceof String&&(a=String(a));for(var d=a.length,e=0;e=f}}); fa("Number.isFinite",function(a){return a?a:function(b){return typeof b!=="number"?!1:!isNaN(b)&&b!==Infinity&&b!==-Infinity}});fa("String.prototype.repeat",function(a){return a?a:function(b){var c=Ea(this,null,"repeat");if(b<0||b>1342177279)throw new RangeError("Invalid count value");b|=0;for(var d="";b;)if(b&1&&(d+=c),b>>>=1)c+=c;return d}}); fa("Set",function(a){if(function(){if(!a||typeof a!="function"||!a.prototype.entries||typeof Object.seal!="function")return!1;try{var c=Object.seal({x:4}),d=new a(q([c]));if(!d.has(c)||d.size!=1||d.add(c)!=d||d.size!=1||d.add({x:4})!=d||d.size!=2)return!1;var e=d.entries(),f=e.next();if(f.done||f.value[0]!=c||f.value[1]!=c)return!1;f=e.next();return f.done||f.value[0]==c||f.value[0].x!=4||f.value[1]!=f.value[0]?!1:e.next().done}catch(g){return!1}}())return a;var b=function(c){this.g=new Map;if(c){c= q(c);for(var d;!(d=c.next()).done;)this.add(d.value)}this.size=this.g.size};b.prototype.add=function(c){c=c===0?0:c;this.g.set(c,c);this.size=this.g.size;return this};b.prototype.delete=function(c){c=this.g.delete(c);this.size=this.g.size;return c};b.prototype.clear=function(){this.g.clear();this.size=0};b.prototype.has=function(c){return this.g.has(c)};b.prototype.entries=function(){return this.g.entries()};b.prototype.values=function(){return this.g.values()};b.prototype.keys=b.prototype.values; b.prototype[Symbol.iterator]=b.prototype.values;b.prototype.forEach=function(c,d){var e=this;this.g.forEach(function(f){return c.call(d,f,f,e)})};return b});fa("globalThis",function(a){return a||da});fa("Number.MAX_SAFE_INTEGER",function(){return 9007199254740991});fa("Number.isInteger",function(a){return a?a:function(b){return Number.isFinite(b)?b===Math.floor(b):!1}});fa("Number.isSafeInteger",function(a){return a?a:function(b){return Number.isInteger(b)&&Math.abs(b)<=Number.MAX_SAFE_INTEGER}}); fa("Math.trunc",function(a){return a?a:function(b){b=Number(b);if(isNaN(b)||b===Infinity||b===-Infinity||b===0)return b;var c=Math.floor(Math.abs(b));return b<0?-c:c}});fa("Object.values",function(a){return a?a:function(b){var c=[],d;for(d in b)la(b,d)&&c.push(b[d]);return c}});fa("Object.is",function(a){return a?a:function(b,c){return b===c?b!==0||1/b===1/c:b!==b&&c!==c}}); fa("Array.prototype.includes",function(a){return a?a:function(b,c){var d=this;d instanceof String&&(d=String(d));var e=d.length;c=c||0;for(c<0&&(c=Math.max(c+e,0));c>>0;if(b===0)return 32;var c=0;(b&4294901760)===0&&(b<<=16,c+=16);(b&4278190080)===0&&(b<<=8,c+=8);(b&4026531840)===0&&(b<<=4,c+=4);(b&3221225472)===0&&(b<<=2,c+=2);(b&2147483648)===0&&c++;return c}});fa("Math.log10",function(a){return a?a:function(b){return Math.log(b)/Math.LN10}});fa("Object.entries",function(a){return a?a:function(b){var c=[],d;for(d in b)la(b,d)&&c.push([d,b[d]]);return c}}); fa("String.prototype.padStart",function(a){return a?a:function(b,c){var d=Ea(this,null,"padStart");b-=d.length;c=c!==void 0?String(c):" ";return(b>0&&c?c.repeat(Math.ceil(b/c.length)).substring(0,b):"")+d}});fa("Array.prototype.findIndex",function(a){return a?a:function(b,c){return Fa(this,b,c).wj}});fa("Math.sign",function(a){return a?a:function(b){b=Number(b);return b===0||isNaN(b)?b:b>0?1:-1}}); fa("Array.prototype.flat",function(a){return a?a:function(b){b=b===void 0?1:b;var c=[];Array.prototype.forEach.call(this,function(d){Array.isArray(d)&&b>0?(d=Array.prototype.flat.call(d,b-1),c.push.apply(c,d)):c.push(d)});return c}}); fa("String.prototype.replaceAll",function(a){return a?a:function(b,c){if(b instanceof RegExp&&!b.global)throw new TypeError("String.prototype.replaceAll called with a non-global RegExp argument.");return b instanceof RegExp?this.replace(b,c):this.replace(new RegExp(String(b).replace(/([-()\[\]{}+?*.$\^|,:#>>0),Pa=0,Qa=function(a,b,c){return a.call.apply(a.bind,arguments)},Ra=function(a,b,c){if(!a)throw Error();if(arguments.length>2){var d=Array.prototype.slice.call(arguments,2);return function(){var e=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(e,d);return a.apply(b,e)}}return function(){return a.apply(b, arguments)}},Sa=function(a,b,c){Sa=Function.prototype.bind&&Function.prototype.bind.toString().indexOf("native code")!=-1?Qa:Ra;return Sa.apply(null,arguments)},Ta=function(a,b){var c=Array.prototype.slice.call(arguments,1);return function(){var d=c.slice();d.push.apply(d,arguments);return a.apply(this,d)}},Ua=function(){return Date.now()},Va=function(a,b){function c(){}c.prototype=b.prototype;a.Vb=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.wp=function(d,e,f){for(var g=Array(arguments.length- 2),h=2;h=0;--d)d in c&&b.call(void 0,c[d],d,a)} var cb=function(a,b){for(var c=a.length,d=[],e=0,f=typeof a==="string"?a.split(""):a,g=0;g=0;d--)if(d in c&&b.call(void 0,c[d],d,a))return d;return-1}function lb(a,b){return $a(a,b)>=0} function nb(a,b){b=$a(a,b);var c;(c=b>=0)&&ob(a,b);return c}function ob(a,b){return Array.prototype.splice.call(a,b,1).length==1}function pb(a,b){var c=0;bb(a,function(d,e){b.call(void 0,d,e,a)&&ob(a,e)&&c++})}function qb(a){return Array.prototype.concat.apply([],arguments)}function rb(a){var b=a.length;if(b>0){for(var c=Array(b),d=0;db?1:a=.3:this.na>=.5};var Cb={Sn:0,Yn:1},Db={668123728:0,668123729:1},Eb={44731964:0,44731965:1},Fb={NONE:0,Do:1,eo:2},Gb={480596784:0,480596785:1,21063355:2};function Ib(a,b,c){for(var d in a)b.call(c,a[d],d,a)}function Jb(a,b){var c={},d;for(d in a)b.call(void 0,a[d],d,a)&&(c[d]=a[d]);return c}function Kb(a){var b=Lb,c;for(c in b)if(!a.call(void 0,b[c],c,b))return!1;return!0}function Mb(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b}function Ob(a){var b=[],c=0,d;for(d in a)b[c++]=d;return b}function Pb(a,b){var c=Ma(b),d=c?b:arguments;for(c=c?0:1;c0&&(b[e]=d)},a);return b},mc=function(a){a=lc(a);var b=[];Ib(a,function(c,d){d in Object.prototype||typeof c!="undefined"&& b.push([d,":",c].join(""))});return b},oc=function(a){var b=nc().ea;b.l&&ab(Mb(b.g),function(c){return cc(c,a)})};var pc=function(a){hc(a,"od",yb);bc(hc(a,"opac",Cb));bc(hc(a,"sbeos",Cb));bc(hc(a,"prf",Cb));bc(hc(a,"mwt",Cb));hc(a,"iogeo",Cb)};var qc=document,C=window;var rc=Ka(610401301,!1),sc=Ka(188588736,Ka(1,!0));var tc=function(a,b){var c=a.length-b.length;return c>=0&&a.indexOf(b,c)==c},uc=function(a,b){var c=String(b).toLowerCase();a=String(a.slice(0,b.length)).toLowerCase();return(c")!= -1&&(a=a.replace(zc,">"));a.indexOf('"')!=-1&&(a=a.replace(Ac,"""));a.indexOf("'")!=-1&&(a=a.replace(Bc,"'"));a.indexOf("\x00")!=-1&&(a=a.replace(Cc,"�"));return a},xc=/&/g,yc=//g,Ac=/"/g,Bc=/'/g,Cc=/\x00/g,wc=/[\x00&<>"']/,Ec=function(a,b){return a.indexOf(b)!=-1},Fc=function(a,b){return Ec(a.toLowerCase(),b.toLowerCase())},Hc=function(a,b){var c=0;a=vc(String(a)).split(".");b=vc(String(b)).split(".");for(var d=Math.max(a.length,b.length),e=0;c==0&&eb?1:0};function Ic(){var a=z.navigator;return a&&(a=a.userAgent)?a:""}var Jc,Kc=z.navigator;Jc=Kc?Kc.userAgentData||null:null;function Lc(a){return rc?Jc?Jc.brands.some(function(b){return(b=b.brand)&&Ec(b,a)}):!1:!1}function Mc(a){return Ec(Ic(),a)};function Nc(){return rc?!!Jc&&Jc.brands.length>0:!1}function Oc(){return Nc()?!1:Mc("Opera")}function Pc(){return Nc()?!1:Mc("Trident")||Mc("MSIE")}function Qc(){return Nc()?Lc("Microsoft Edge"):Mc("Edg/")}function Rc(){return Mc("Firefox")||Mc("FxiOS")}function Sc(){return Mc("Safari")&&!(Tc()||(Nc()?0:Mc("Coast"))||Oc()||(Nc()?0:Mc("Edge"))||Qc()||(Nc()?Lc("Opera"):Mc("OPR"))||Rc()||Mc("Silk")||Mc("Android"))} function Tc(){return Nc()?Lc("Chromium"):(Mc("Chrome")||Mc("CriOS"))&&!(Nc()?0:Mc("Edge"))||Mc("Silk")}function Uc(){return Mc("Android")&&!(Tc()||Rc()||Oc()||Mc("Silk"))}function Vc(a){var b={};a.forEach(function(c){b[c[0]]=c[1]});return function(c){return b[c.find(function(d){return d in b})]||""}} function Wc(a){var b=Ic();if(a==="Internet Explorer"){if(Pc())if((a=/rv: *([\d\.]*)/.exec(b))&&a[1])b=a[1];else{a="";var c=/MSIE +([\d\.]+)/.exec(b);if(c&&c[1])if(b=/Trident\/(\d.\d)/.exec(b),c[1]=="7.0")if(b&&b[1])switch(b[1]){case "4.0":a="8.0";break;case "5.0":a="9.0";break;case "6.0":a="10.0";break;case "7.0":a="11.0"}else a="7.0";else a=c[1];b=a}else b="";return b}var d=RegExp("([A-Z][\\w ]+)/([^\\s]+)\\s*(?:\\((.*?)\\))?","g");c=[];for(var e;e=d.exec(b);)c.push([e[1],e[2],e[3]||void 0]);b=Vc(c); switch(a){case "Opera":if(Oc())return b(["Version","Opera"]);if(Nc()?Lc("Opera"):Mc("OPR"))return b(["OPR"]);break;case "Microsoft Edge":if(Nc()?0:Mc("Edge"))return b(["Edge"]);if(Qc())return b(["Edg"]);break;case "Chromium":if(Tc())return b(["Chrome","CriOS","HeadlessChrome"])}return a==="Firefox"&&Rc()||a==="Safari"&&Sc()||a==="Android Browser"&&Uc()||a==="Silk"&&Mc("Silk")?(b=c[2])&&b[1]||"":""} function Xc(a){if(Nc()&&a!=="Silk"){var b=Jc.brands.find(function(c){return c.brand===a});if(!b||!b.version)return NaN;b=b.version.split(".")}else{b=Wc(a);if(b==="")return NaN;b=b.split(".")}return b.length===0?NaN:Number(b[0])};/* SPDX-License-Identifier: Apache-2.0 */ function Yc(a){return{valueOf:a}.valueOf()};var Zc,$c=function(){if(Zc===void 0){var a=null,b=z.trustedTypes;if(b&&b.createPolicy){try{a=b.createPolicy("goog#html",{createHTML:Wa,createScript:Wa,createScriptURL:Wa})}catch(c){z.console&&z.console.error(c.message)}Zc=a}else Zc=a}return Zc};var dd=function(a,b){this.g=a===ad&&b||"";this.j=cd};dd.prototype.toString=function(){return this.g};var ed=function(a){return a instanceof dd&&a.constructor===dd&&a.j===cd?a.g:"type_error:Const"},cd={},ad={};var fd=function(a){this.g=a};fd.prototype.toString=function(){return this.g+""};var gd=function(a){return a instanceof fd&&a.constructor===fd?a.g:"type_error:TrustedResourceUrl"},hd={},id=function(a){var b=$c();a=b?b.createScriptURL(a):a;return new fd(a,hd)};var jd=function(a){this.g=a};jd.prototype.toString=function(){return this.g};var kd=new jd("about:invalid#zClosurez");function ld(a){if(a instanceof jd)return a.g;throw Error("");};var md=function(a){this.Vh=a};function nd(a){return new md(function(b){return b.substr(0,a.length+1).toLowerCase()===a+":"})}var od=[nd("data"),nd("http"),nd("https"),nd("mailto"),nd("ftp"),new md(function(a){return/^[^:]*([/?#]|$)/.test(a)})];function pd(a){var b=b===void 0?od:b;a:if(b=b===void 0?od:b,!(a instanceof jd)){for(var c=0;c",""":'"'};var c=z.document.createElement("div");return a.replace(ce,function(d,e){var f=b[d];if(f)return f;e.charAt(0)=="#"&&(e=Number("0"+e.slice(1)),isNaN(e)||(f=String.fromCharCode(e)));f||(Sd(c,Kd(d+" ")),f=c.firstChild.nodeValue.slice(0,-1));return b[d]=f})},ae=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.slice(1)),isNaN(c))?b:String.fromCharCode(c)}})},ce=/&([^;\s<&]+);?/g,de=function(a,b){a.length>b&&(a=a.substring(0,b-3)+"...");return a},ee=String.prototype.repeat?function(a,b){return a.repeat(b)}:function(a,b){return Array(b+1).join(a)},G=function(a){return a==null?"":String(a)},fe=function(){return Math.floor(Math.random()*2147483648).toString(36)+ Math.abs(Math.floor(Math.random()*2147483648)^Ua()).toString(36)},ge=Math.random()*2147483648|0,he=function(a){var b=Number(a);return b==0&&E(a)?NaN:b},ie=function(a){return String(a).replace(/\-([a-z])/g,function(b,c){return c.toUpperCase()})},je=function(){return"googleAvInapp".replace(/([A-Z])/g,"-$1").toLowerCase()},ke=function(a){return a.replace(RegExp("(^|[\\s]+)([a-z])","g"),function(b,c,d){return c+d.toUpperCase()})},le=function(a){isFinite(a)&&(a=String(a));return typeof a==="string"?/^\s*-?0x/i.test(a)? parseInt(a,16):parseInt(a,10):NaN};function me(){return rc?!!Jc&&!!Jc.platform:!1}function ne(){return Mc("iPhone")&&!Mc("iPod")&&!Mc("iPad")};var oe=function(a){oe[" "](a);return a};oe[" "]=function(){};var pe=function(a,b){try{return oe(a[b]),!0}catch(c){}return!1};var qe=Pc(),re=Mc("Gecko")&&!(Fc(Ic(),"WebKit")&&!Mc("Edge"))&&!(Mc("Trident")||Mc("MSIE"))&&!Mc("Edge"),se=Fc(Ic(),"WebKit")&&!Mc("Edge"),te=se&&Mc("Mobile"),ue=me()?Jc.platform==="macOS":Mc("Macintosh"),ve=me()?Jc.platform==="Windows":Mc("Windows"),we=me()?Jc.platform==="Android":Mc("Android"),xe=ne(),ye=Mc("iPad"),ze=Mc("iPod"),Ae=ne()||Mc("iPad")||Mc("iPod");Uc();Tc();var Be=Sc()&&!(ne()||Mc("iPad")||Mc("iPod"));var Ce=!qe&&!Sc();var De=function(){},Ee=function(a){var b=!1,c;return function(){b||(c=a(),b=!0);return c}},Fe=function(a){var b=0,c=!1,d=[],e=function(){b=0;c&&(c=!1,f())},f=function(){b=z.setTimeout(e,1E3);var g=d;d=[];a.apply(void 0,g)};return function(g){d=arguments;b?c=!0:f()}};function Ge(a,b){var c=b.createRange();c.selectNode(b.body);a=Kd(a);return c.createContextualFragment(Jd(a))};function He(a){a=a.nodeName;return typeof a==="string"?a:"FORM"}function Ie(a){a=a.nodeType;return a===1||typeof a!=="number"};var Je="ARTICLE SECTION NAV ASIDE H1 H2 H3 H4 H5 H6 HEADER FOOTER ADDRESS P HR PRE BLOCKQUOTE OL UL LH LI DL DT DD FIGURE FIGCAPTION MAIN DIV EM STRONG SMALL S CITE Q DFN ABBR RUBY RB RT RTC RP DATA TIME CODE VAR SAMP KBD SUB SUP I B U MARK BDI BDO SPAN BR WBR INS DEL PICTURE PARAM TRACK MAP TABLE CAPTION COLGROUP COL TBODY THEAD TFOOT TR TD TH SELECT DATALIST OPTGROUP OPTION OUTPUT PROGRESS METER FIELDSET LEGEND DETAILS SUMMARY MENU DIALOG SLOT CANVAS FONT CENTER ACRONYM BASEFONT BIG DIR HGROUP STRIKE TT".split(" "), Ke=[["A",new Map([["href",{Qa:2}]])],["AREA",new Map([["href",{Qa:2}]])],["LINK",new Map([["href",{Qa:2,conditions:new Map([["rel",new Set("alternate author bookmark canonical cite help icon license next prefetch dns-prefetch prerender preconnect preload prev search subresource".split(" "))]])}]])],["SOURCE",new Map([["src",{Qa:1}],["srcset",{Qa:1}]])],["IMG",new Map([["src",{Qa:1}],["srcset",{Qa:1}]])],["VIDEO",new Map([["src",{Qa:1}]])],["AUDIO",new Map([["src",{Qa:1}]])]],Le="title aria-atomic aria-autocomplete aria-busy aria-checked aria-current aria-disabled aria-dropeffect aria-expanded aria-haspopup aria-hidden aria-invalid aria-label aria-level aria-live aria-multiline aria-multiselectable aria-orientation aria-posinset aria-pressed aria-readonly aria-relevant aria-required aria-selected aria-setsize aria-sort aria-valuemax aria-valuemin aria-valuenow aria-valuetext alt align autocapitalize autocomplete autocorrect autofocus autoplay bgcolor border cellpadding cellspacing checked color cols colspan controls datetime disabled download draggable enctype face formenctype frameborder height hreflang hidden ismap label lang loop max maxlength media minlength min multiple muted nonce open placeholder preload rel required reversed role rows rowspan selected shape size sizes slot span spellcheck start step summary translate type valign value width wrap itemscope itemtype itemid itemprop itemref".split(" "), Me=[["dir",{Qa:3,conditions:Yc(function(){return new Map([["dir",new Set(["auto","ltr","rtl"])]])})}],["async",{Qa:3,conditions:Yc(function(){return new Map([["async",new Set(["async"])]])})}],["cite",{Qa:2}],["loading",{Qa:3,conditions:Yc(function(){return new Map([["loading",new Set(["eager","lazy"])]])})}],["poster",{Qa:2}],["target",{Qa:3,conditions:Yc(function(){return new Map([["target",new Set(["_self","_blank"])]])})}]],Ne=new function(){var a=new Set(Le),b=new Map(Me),c=new Map(Ke);this.j= new Set(Je);this.g=c;this.l=a;this.o=b};var Oe=function(){this.g=Ne},Re=function(a){var b=Pe,c=document.implementation.createHTMLDocument("");a=Qe(b,a,c);c=c.body;c.appendChild(a);c=(new XMLSerializer).serializeToString(c);c=c.slice(c.indexOf(">")+1,c.lastIndexOf("2&&qf(a,d,b,2);return d},qf=function(a,b,c,d){function e(h){h&&b.appendChild(typeof h==="string"?a.createTextNode(h):h)}for(;d0)e(f);else{a:{if(f&&typeof f.length=="number"){if(Na(f)){var g=typeof f.item=="function"||typeof f.item=="string";break a}if(typeof f==="function"){g=typeof f.item=="function";break a}}g=!1}ab(g?rb(f):f,e)}}},pf=function(a,b){b=String(b); a.contentType==="application/xhtml+xml"&&(b=b.toLowerCase());return a.createElement(b)},rf=function(a,b){qf($e(a),a,arguments,1)},sf=function(a){for(var b;b=a.firstChild;)a.removeChild(b)},tf=function(a){return a&&a.parentNode?a.parentNode.removeChild(a):null},uf=function(a){return a.children!=void 0?a.children:Array.prototype.filter.call(a.childNodes,function(b){return b.nodeType==1})},vf=function(a){var b;if(se&&(b=a.parentElement))return b;b=a.parentNode;return Na(b)&&b.nodeType==1?b:null},wf= function(a,b){if(!a||!b)return!1;if(a.contains&&b.nodeType==1)return a==b||a.contains(b);if(typeof a.compareDocumentPosition!="undefined")return a==b||!!(a.compareDocumentPosition(b)&16);for(;b&&a!=b;)b=b.parentNode;return b==a},$e=function(a){return a.nodeType==9?a:a.ownerDocument||a.document},xf=function(a,b){if("textContent"in a)a.textContent=b;else if(a.nodeType==3)a.data=String(b);else if(a.firstChild&&a.firstChild.nodeType==3){for(;a.lastChild!=a.firstChild;)a.removeChild(a.lastChild);a.firstChild.data= String(b)}else sf(a),a.appendChild($e(a).createTextNode(String(b)))},yf={SCRIPT:1,STYLE:1,HEAD:1,IFRAME:1,OBJECT:1},zf={IMG:" ",BR:"\n"},Bf=function(a){var b=[];Af(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},Af=function(a,b,c){if(!(a.nodeName in yf))if(a.nodeType==3)c?b.push(String(a.nodeValue).replace(/(\r\n|\r|\n)/g,"")):b.push(a.nodeValue);else if(a.nodeName in zf)b.push(zf[a.nodeName]); else for(a=a.firstChild;a;)Af(a,b,c),a=a.nextSibling},Cf=function(a,b){a&&(a=a.parentNode);for(var c=0;a;){if(b(a))return a;a=a.parentNode;c++}return null},Ze=function(a){this.g=a||z.document||document};l=Ze.prototype;l.getElementsByTagName=function(a,b){return(b||this.g).getElementsByTagName(String(a))};l.Il=function(a,b,c){return mf(this.g,arguments)};l.appendChild=function(a,b){a.appendChild(b)};l.append=rf;l.canHaveChildren=function(a){if(a.nodeType!=1)return!1;switch(a.tagName){case "APPLET":case "AREA":case "BASE":case "BR":case "COL":case "COMMAND":case "EMBED":case "FRAME":case "HR":case "IMG":case "INPUT":case "IFRAME":case "ISINDEX":case "KEYGEN":case "LINK":case "NOFRAMES":case "NOSCRIPT":case "META":case "OBJECT":case "PARAM":case "SCRIPT":case "SOURCE":case "STYLE":case "TRACK":case "WBR":return!1}return!0}; l.contains=wf;var Df=function(){this.g=this.ed=null};var Ef=function(a,b){this.j=(a===void 0?0:a)||0;this.g=(b===void 0?"":b)||""};Ef.prototype.Vh=function(){return!!this.j||!!this.g};Ef.prototype.toString=function(){return this.j+(this.g?"-":"")+this.g};Ef.prototype.matches=function(a){return this.g||a.g?this.g==a.g:this.j||a.j?this.j==a.j:!1};var Ff=function(){};Ff.prototype.g=function(){return 0};Ff.prototype.l=function(){return 0};Ff.prototype.o=function(){return 0};Ff.prototype.j=function(){return 0};var Hf=function(){if(!Gf())throw Error();};w(Hf,Ff);var Gf=function(){return!(!C||!C.performance)};Hf.prototype.g=function(){return Gf()&&C.performance.now?C.performance.now():Ff.prototype.g.call(this)};Hf.prototype.l=function(){return Gf()&&C.performance.memory?C.performance.memory.totalJSHeapSize||0:Ff.prototype.l.call(this)};Hf.prototype.o=function(){return Gf()&&C.performance.memory?C.performance.memory.usedJSHeapSize||0:Ff.prototype.o.call(this)}; Hf.prototype.j=function(){return Gf()&&C.performance.memory?C.performance.memory.jsHeapSizeLimit||0:Ff.prototype.j.call(this)};var If=Ee(function(){var a=!1;try{var b=Object.defineProperty({},"passive",{get:function(){a=!0}});z.addEventListener("test",null,b)}catch(c){}return a});function Jf(a){return a?a.passive&&If()?a:a.capture||!1:!1}var Kf=function(a,b,c,d){return a.addEventListener?(a.addEventListener(b,c,Jf(d)),!0):!1},Lf=function(a,b,c){a.removeEventListener&&a.removeEventListener(b,c,Jf())};var Mf=function(){return qc.prerendering?3:{visible:1,hidden:2,prerender:3,preview:4,unloaded:5}[qc.visibilityState||qc.webkitVisibilityState||qc.mozVisibilityState||""]||0},Nf=function(a){var b;a.visibilityState?b="visibilitychange":a.mozVisibilityState?b="mozvisibilitychange":a.webkitVisibilityState&&(b="webkitvisibilitychange");return b};var Of=function(){};Of.prototype.isVisible=function(){return Mf()===1};var Pf=function(){return Mf()===0};var Rf=function(){return rc&&Jc?Jc.mobile:!Qf()&&(Mc("iPod")||Mc("iPhone")||Mc("Android")||Mc("IEMobile"))},Qf=function(){return rc&&Jc?!Jc.mobile&&(Mc("iPad")||Mc("Android")||Mc("Silk")):Mc("iPad")||Mc("Android")&&!Mc("Mobile")||Mc("Silk")};var Sf=RegExp("^(?:([^:/?#.]+):)?(?://(?:([^\\\\/?#]*)@)?([^\\\\/?#]*?)(?::([0-9]+))?(?=[\\\\/?#]|$))?([^?#]+)?(?:\\?([^#]*))?(?:#([\\s\\S]*))?$"),Tf=function(a){var b=a.match(Sf);a=b[1];var c=b[3];b=b[4];var d="";a&&(d+=a+":");c&&(d=d+"//"+c,b&&(d+=":"+b));return d},Uf=function(a,b){if(a){a=a.split("&");for(var c=0;c=0){var f=a[c].substring(0,d);e=a[c].substring(d+1)}else f=a[c];b(f,e?Yd(e):"")}}},Vf=function(a,b,c){c=c!=null?"="+encodeURIComponent(String(c)): "";if(b+=c){c=a.indexOf("#");c<0&&(c=a.length);var d=a.indexOf("?");if(d<0||d>c){d=c;var e=""}else e=a.substring(d+1,c);a=[a.slice(0,d),e,a.slice(c)];c=a[1];a[1]=b?c?c+"&"+b:b:c;a=a[0]+(a[1]?"?"+a[1]:"")+a[2]}return a},Wf=function(a,b,c,d){for(var e=c.length;(b=a.indexOf(c,b))>=0&&b=0},Zf=function(a,b){var c=a.search(Xf),d=Wf(a, 0,b,c);if(d<0)return null;var e=a.indexOf("&",d);if(e<0||e>c)e=c;d+=b.length+1;return Yd(a.slice(d,e!==-1?e:0))},$f=/[?&]($|#)/,ag=function(a,b){for(var c=a.search(Xf),d=0,e,f=[];(e=Wf(a,d,b,c))>=0;)f.push(a.substring(d,e)),d=Math.min(a.indexOf("&",e)+1||c,c);f.push(a.slice(d));return f.join("").replace($f,"$1")};var bg=function(a){try{return!!a&&a.location.href!=null&&pe(a,"foo")}catch(b){return!1}},dg=function(a,b){var c=!0;c=c===void 0?!1:c;b=b===void 0?z:b;b=cg(b);for(var d=0;b&&d++<40&&(!c&&!bg(b)||!a(b));)b=cg(b)},cg=function(a){try{var b=a.parent;if(b&&b!=a)return b}catch(c){}return null},eg=function(){if(!globalThis.crypto)return Math.random();try{var a=new Uint32Array(1);globalThis.crypto.getRandomValues(a);return a[0]/65536/65536}catch(b){return Math.random()}},fg=function(a,b){if(a)for(var c in a)Object.prototype.hasOwnProperty.call(a, c)&&b(a[c],c,a)},hg=function(){var a=[];fg(gg,function(b){a.push(b)});return a};function ig(a){var b,c;return(c=(b=/https?:\/\/[^\/]+/.exec(a))==null?void 0:b[0])!=null?c:""} var gg={Cn:"allow-forms",Dn:"allow-modals",En:"allow-orientation-lock",Fn:"allow-pointer-lock",Gn:"allow-popups",Hn:"allow-popups-to-escape-sandbox",In:"allow-presentation",Jn:"allow-same-origin",Kn:"allow-scripts",Ln:"allow-top-navigation",Mn:"allow-top-navigation-by-user-activation"},jg=Ee(function(){return hg()}),kg=function(a){var b=jg();return a.length?cb(b,function(c){return!lb(a,c)}):b},og=function(a){a=a&&a.toString&&a.toString();return typeof a==="string"&&Ec(a,"[native code]")},pg=Ee(function(){return Rf()? 2:Qf()?1:0}),qg=function(a,b){b=b===void 0?document:b;return b.createElement(String(a).toLowerCase())},rg=function(a){for(var b=a;a&&a!=a.parent;)a=a.parent,bg(a)&&(b=a);return b};var sg=RegExp("^https?://(\\w|-)+\\.cdn\\.ampproject\\.(net|org)(\\?|/|$)"),wg=function(a){a=a||tg();for(var b=new ug(z.location.href,!1),c=null,d=a.length-1,e=d;e>=0;--e){var f=a[e];!c&&sg.test(f.url)&&(c=f);if(f.url&&!f.Sh){b=f;break}}e=null;f=a.length&&a[d].url;b.depth!=0&&f&&(e=a[d]);return new vg(b,e,c)},tg=function(){var a=z,b=[],c=null;do{var d=a;if(bg(d)){var e=d.location.href;c=d.document&&d.document.referrer||null}else e=c,c=null;b.push(new ug(e||""));try{a=d.parent}catch(f){a=null}}while(a&& d!=a);d=0;for(a=b.length-1;d<=a;++d)b[d].depth=a-d;d=z;if(d.location&&d.location.ancestorOrigins&&d.location.ancestorOrigins.length==b.length-1)for(a=1;a=m.length){d-=m.length;b+=m;e=a.l;break}c=c==null?g:c}}a="";c!=null&& (a=e+"trn="+c);return b+a},Dg=function(a){var b=1,c;for(c in a.j)b=c.length>b?c.length:b;return 3997-b-a.l.length-1};var Fg=function(a,b){this.g=a;this.depth=b},Hg=function(){var a=tg(),b=Math.max(a.length-1,0),c=wg(a);a=c.g;var d=c.j,e=c.l,f=[];c=function(h,k){return h==null?k:h};e&&f.push(new Fg([e.url,e.Sh?2:0],c(e.depth,1)));d&&d!=e&&f.push(new Fg([d.url,2],0));a.url&&a!=e&&f.push(new Fg([a.url,0],c(a.depth,b)));var g=db(f,function(h,k){return f.slice(0,f.length-k)});!a.url||(e||d)&&a!=e||(d=ig(a.url))&&g.push([new Fg([d,1],c(a.depth,b))]);g.push([]);return db(g,function(h){return Gg(b,h)})}; function Gg(a,b){var c=eb(b,function(e,f){return Math.max(e,f.depth)},-1),d=vb("",c+2);d[0]=a;ab(b,function(e){return d[e.depth+1]=e.g});return d}function Ig(){var a=a===void 0?Hg():a;return a.map(function(b){return zg(b)})};var Kg=function(a,b,c,d,e){Jg(a,b,c===void 0?null:c,d===void 0?!1:d,e===void 0?!1:e)};function Jg(a,b,c,d,e){e=e===void 0?!1:e;a.google_image_requests||(a.google_image_requests=[]);var f=qg("IMG",a.document);if(c||d){var g=function(h){c&&c(h);d&&nb(a.google_image_requests,f);Lf(f,"load",g);Lf(f,"error",g)};Kf(f,"load",g);Kf(f,"error",g)}e&&(f.attributionSrc="");f.src=b;a.google_image_requests.push(f)} var Mg=function(a,b){var c=c===void 0?!1:c;var d="https://pagead2.googlesyndication.com/pagead/gen_204?id="+b;fg(a,function(e,f){if(e||e===0)d+="&"+f+"="+encodeURIComponent(""+e)});Lg(d,c)},Lg=function(a,b){var c=window;b=b===void 0?!1:b;var d=d===void 0?!1:d;c.fetch?(b={keepalive:!0,credentials:"include",redirect:"follow",method:"get",mode:"no-cors"},d&&(b.mode="cors","setAttributionReporting"in XMLHttpRequest.prototype?b.attributionReporting={eventSourceEligible:"true",triggerEligible:"false"}: b.headers={"Attribution-Reporting-Eligible":"event-source"}),c.fetch(a,b)):Kg(c,a,void 0,b,d)};var Ng=function(a){var b="Qh";if(a.Qh&&a.hasOwnProperty(b))return a.Qh;b=new a;return a.Qh=b};var Og=function(){this.j=new Of;this.g=Gf()?new Hf:new Ff},Qg=function(){Pg();var a=C.document;return!!(a&&a.body&&a.body.getBoundingClientRect&&typeof C.setInterval==="function"&&typeof C.clearInterval==="function"&&typeof C.setTimeout==="function"&&typeof C.clearTimeout==="function")};Og.prototype.setTimeout=function(a,b){return C.setTimeout(a,b)};Og.prototype.clearTimeout=function(a){C.clearTimeout(a)};var Rg=function(){Pg();return Ig()};var Sg=function(){},Pg=function(){var a=Ng(Sg);if(!a.g){if(!C)throw Error("Context has not been set and window is undefined.");a.g=Ng(Og)}return a.g};function Tg(){throw Error("Invalid UTF8");}function Ug(a,b){b=String.fromCharCode.apply(null,b);return a==null?b:a+b}var Vg=void 0,Wg,Xg=typeof TextDecoder!=="undefined",Yg,Zg=typeof String.prototype.Fm==="function",$g=typeof TextEncoder!=="undefined"; function ah(a){var b=!1;b=b===void 0?!1:b;if($g){if(b&&(Zg?!a.Fm():/(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])/.test(a)))throw Error("Found an unpaired surrogate");a=(Yg||(Yg=new TextEncoder)).encode(a)}else{for(var c=0,d=new Uint8Array(3*a.length),e=0;e>6|192;else{if(f>=55296&&f<=57343){if(f<=56319&&e=56320&&g<=57343){f=(f-55296)*1024+g-56320+65536; d[c++]=f>>18|240;d[c++]=f>>12&63|128;d[c++]=f>>6&63|128;d[c++]=f&63|128;continue}else e--}if(b)throw Error("Found an unpaired surrogate");f=65533}d[c++]=f>>12|224;d[c++]=f>>6&63|128}d[c++]=f&63|128}}a=c===d.length?d:d.subarray(0,c)}return a};function bh(a){z.setTimeout(function(){throw a;},0)};var ch=function(a){for(var b=[],c=0,d=0;d255&&(b[c++]=e&255,e>>=8);b[c++]=e}return b},dh=function(a){return Array.prototype.map.call(a,function(b){b=b.toString(16);return b.length>1?b:"0"+b}).join("")};var eh={},fh=null,gh=re||se||!Be&&typeof z.atob=="function",ih=function(a,b){b===void 0&&(b=0);hh();b=eh[b];for(var c=Array(Math.floor(a.length/3)),d=b[64]||"",e=0,f=0;e>2];g=b[(g&3)<<4|h>>4];h=b[(h&15)<<2|k>>6];k=b[k&63];c[f++]=""+m+g+h+k}m=0;k=d;switch(a.length-e){case 2:m=a[e+1],k=b[(m&15)<<2]||d;case 1:a=a[e],c[f]=""+b[a>>2]+b[(a&3)<<4|m>>4]+k+d}return c.join("")},kh=function(a){if(gh)return z.atob(a);var b="";jh(a,function(c){b+=String.fromCharCode(c)}); return b},lh=function(a){var b=[];jh(a,function(c){b.push(c)});return b},mh=function(a){var b=a.length,c=b*3/4;c%3?c=Math.floor(c):Ec("=.",a[b-1])&&(c=Ec("=.",a[b-2])?c-2:c-1);var d=new Uint8Array(c),e=0;jh(a,function(f){d[e++]=f});return e!==c?d.subarray(0,e):d},jh=function(a,b){function c(k){for(;d>4);g!=64&&(b(f<<4&240|g>>2),h!=64&&b(g<<6&192|h))}},hh=function(){if(!fh){fh={};for(var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),b=["+/=","+/","-_=","-_.","-_"],c=0;c<5;c++){var d=a.concat(b[c].split(""));eh[c]=d;for(var e=0;e "+a)};function Hh(a){if(typeof a==="string")return{buffer:th(a),Id:!1};if(Array.isArray(a))return{buffer:new Uint8Array(a),Id:!1};if(a.constructor===Uint8Array)return{buffer:a,Id:!1};if(a.constructor===ArrayBuffer)return{buffer:new Uint8Array(a),Id:!1};if(a.constructor===Bh)return{buffer:Dh(a)||new Uint8Array(0),Id:!0};if(a instanceof Uint8Array)return{buffer:new Uint8Array(a.buffer,a.byteOffset,a.byteLength),Id:!1};throw Error("Type not convertible to a Uint8Array, expected a Uint8Array, an ArrayBuffer, a base64 encoded string, a ByteString or an Array of numbers"); };function Ih(){return typeof BigInt==="function"};var Jh=typeof Uint8Array.prototype.slice==="function",Kh=0,Lh=0,Mh;function Nh(a){var b=a<0;a=Math.abs(a);var c=a>>>0;a=Math.floor((a-c)/4294967296);b&&(c=q(Oh(c,a)),b=c.next().value,a=c.next().value,c=b);Kh=c>>>0;Lh=a>>>0}function Ph(a,b){var c=b&2147483648;c&&(a=~a+1>>>0,b=~b>>>0,a==0&&(b=b+1>>>0));a=b*4294967296+(a>>>0);return c?-a:a} function Qh(a,b){b>>>=0;a>>>=0;if(b<=2097151)var c=""+(4294967296*b+a);else Ih()?c=""+(BigInt(b)<>>24|b<<8)&16777215,b=b>>16&65535,a=(a&16777215)+c*6777216+b*6710656,c+=b*8147497,b*=2,a>=1E7&&(c+=Math.floor(a/1E7),a%=1E7),c>=1E7&&(b+=Math.floor(c/1E7),c%=1E7),c=b+Rh(c)+Rh(a));return c}function Rh(a){a=String(a);return"0000000".slice(a.length)+a} function Sh(){var a=Kh,b=Lh;b&2147483648?Ih()?a=""+(BigInt(b|0)<>>0)):(b=q(Oh(a,b)),a=b.next().value,b=b.next().value,a="-"+Qh(a,b)):a=Qh(a,b);return a} function Th(a){if(a.length<16)Nh(Number(a));else if(Ih())a=BigInt(a),Kh=Number(a&BigInt(4294967295))>>>0,Lh=Number(a>>BigInt(32)&BigInt(4294967295));else{var b=+(a[0]==="-");Lh=Kh=0;for(var c=a.length,d=0+b,e=(c-b)%6+b;e<=c;d=e,e+=6)d=Number(a.slice(d,e)),Lh*=1E6,Kh=Kh*1E6+d,Kh>=4294967296&&(Lh+=Math.trunc(Kh/4294967296),Lh>>>=0,Kh>>>=0);b&&(b=q(Oh(Kh,Lh)),a=b.next().value,b=b.next().value,Kh=a,Lh=b)}}function Oh(a,b){b=~b;a?a=~a+1:b+=1;return[a,b]};var Uh=function(a,b){this.j=null;this.A=!1;this.g=this.l=this.o=0;this.init(a,void 0,void 0,b)};Uh.prototype.init=function(a,b,c,d){d=d===void 0?{}:d;this.Df=d.Df===void 0?!1:d.Df;a&&(a=Hh(a),this.j=a.buffer,this.A=a.Id,this.o=b||0,this.l=c!==void 0?this.o+c:this.j.length,this.g=this.o)};Uh.prototype.clear=function(){this.j=null;this.A=!1;this.g=this.l=this.o=0;this.Df=!1};Uh.prototype.reset=function(){this.g=this.o}; var Vh=function(a,b){a.g=b;if(b>a.l)throw Gh(a.l,b);},Wh=function(a){var b=a.j,c=a.g,d=b[c++],e=d&127;if(d&128&&(d=b[c++],e|=(d&127)<<7,d&128&&(d=b[c++],e|=(d&127)<<14,d&128&&(d=b[c++],e|=(d&127)<<21,d&128&&(d=b[c++],e|=d<<28,d&128&&b[c++]&128&&b[c++]&128&&b[c++]&128&&b[c++]&128&&b[c++]&128)))))throw Fh();Vh(a,c);return e},Xh=function(a){var b=a.j,c=a.g,d=b[c+0],e=b[c+1],f=b[c+2];b=b[c+3];Vh(a,a.g+4);return(d<<0|e<<8|f<<16|b<<24)>>>0},Yh=function(a){var b=Xh(a),c=Xh(a);a=(c>>31)*2+1;var d=c>>>20& 2047;b=4294967296*(c&1048575)+b;return d==2047?b?NaN:a*Infinity:d==0?a*Math.pow(2,-1074)*b:a*Math.pow(2,d-1075)*(b+4503599627370496)},Zh=function(a){for(var b=0,c=a.g,d=c+10,e=a.j;ca.l)throw Gh(b,a.l-c);a.g=d;return c},bi=function(a,b){if(b==0)return Ch();var c=ai(a,b);a.Df&&a.A?c=a.j.subarray(c, c+b):(a=a.j,b=c+b,c=c===b?new Uint8Array(0):Jh?a.slice(c,b):new Uint8Array(a.subarray(c,b)));return c.length==0?Ch():new Bh(c,yh)},ci=[];var ei=function(a,b){if(ci.length){var c=ci.pop();c.init(a,void 0,void 0,b);a=c}else a=new Uh(a,b);this.g=a;this.l=this.g.g;this.j=this.o=-1;di(this,b)},di=function(a,b){b=b===void 0?{}:b;a.yh=b.yh===void 0?!1:b.yh};ei.prototype.reset=function(){this.g.reset();this.l=this.g.g;this.j=this.o=-1}; var fi=function(a){var b=a.g;if(b.g==b.l)return!1;a.l=a.g.g;var c=Wh(a.g)>>>0;b=c>>>3;c&=7;if(!(c>=0&&c<=5))throw Eh(c,a.l);if(b<1)throw Error("Invalid field number: "+b+" (at position "+a.l+")");a.o=b;a.j=c;return!0},gi=function(a){switch(a.j){case 0:a.j!=0?gi(a):Zh(a.g);break;case 1:a=a.g;Vh(a,a.g+8);break;case 2:if(a.j!=2)gi(a);else{var b=Wh(a.g)>>>0;a=a.g;Vh(a,a.g+b)}break;case 5:a=a.g;Vh(a,a.g+4);break;case 3:b=a.o;do{if(!fi(a))throw Error("Unmatched start-group tag: stream EOF");if(a.j==4){if(a.o!= b)throw Error("Unmatched end-group tag");break}gi(a)}while(1);break;default:throw Eh(a.j,a.l);}},hi=function(a,b,c){var d=a.g.l,e=Wh(a.g)>>>0,f=a.g.g+e,g=f-d;g<=0&&(a.g.l=f,c(b,a,void 0,void 0,void 0),g=f-a.g.g);if(g)throw Error("Message parsing ended unexpectedly. Expected to read "+(e+" bytes, instead read "+(e-g)+" bytes, either the data ended unexpectedly or the message misreported its own length"));a.g.g=f;a.g.l=d},ii=function(a){var b=Wh(a.g)>>>0;a=a.g;var c=ai(a,b);a=a.j;if(Xg){var d=a,e;(e= Wg)||(e=Wg=new TextDecoder("utf-8",{fatal:!0}));b=c+b;d=c===0&&b===d.length?d:d.subarray(c,b);try{var f=e.decode(d)}catch(m){if(Vg===void 0){try{e.decode(new Uint8Array([128]))}catch(n){}try{e.decode(new Uint8Array([97])),Vg=!0}catch(n){Vg=!1}}!Vg&&(Wg=void 0);throw m;}}else{f=c;b=f+b;c=[];for(var g=null,h,k;f=b?Tg():(k=a[f++],h<194||(k&192)!==128?(f--,Tg()):c.push((h&31)<<6|k&63)):h<240?f>=b-1?Tg():(k=a[f++],(k&192)!==128||h===224&&k<160||h===237&&k>=160||((e= a[f++])&192)!==128?(f--,Tg()):c.push((h&15)<<12|(k&63)<<6|e&63)):h<=244?f>=b-2?Tg():(k=a[f++],(k&192)!==128||(h<<28)+(k-144)>>30!==0||((e=a[f++])&192)!==128||((d=a[f++])&192)!==128?(f--,Tg()):(h=(h&7)<<18|(k&63)<<12|(e&63)<<6|d&63,h-=65536,c.push((h>>10&1023)+55296,(h&1023)+56320))):Tg(),c.length>=8192&&(g=Ug(g,c),c.length=0);f=Ug(g,c)}return f},ji=function(a,b,c){var d=Wh(a.g)>>>0;for(d=a.g.g+d;a.g.g>>0;this.g=b>>>0},ni=function(a){if(!a)return mi||(mi=new li(0,0));if(!/^-?\d+$/.test(a))return null;Th(a);return new li(Kh,Lh)},mi;var oi=function(){this.g=[]};oi.prototype.length=function(){return this.g.length};oi.prototype.end=function(){var a=this.g;this.g=[];return a}; var pi=function(a,b,c){for(;c>0||b>127;)a.g.push(b&127|128),b=(b>>>7|c<<25)>>>0,c>>>=7;a.g.push(b)},qi=function(a,b){for(;b>127;)a.g.push(b&127|128),b>>>=7;a.g.push(b)},ri=function(a,b){if(b>=0)qi(a,b);else{for(var c=0;c<9;c++)a.g.push(b&127|128),b>>=7;a.g.push(1)}},si=function(a,b){a.g.push(b>>>0&255);a.g.push(b>>>8&255);a.g.push(b>>>16&255);a.g.push(b>>>24&255)};var ti=function(){this.l=[];this.j=0;this.g=new oi},ui=function(a,b){b.length!==0&&(a.l.push(b),a.j+=b.length)},wi=function(a,b){vi(a,b,2);b=a.g.end();ui(a,b);b.push(a.j);return b},xi=function(a,b){var c=b.pop();for(c=a.j+a.g.length()-c;c>127;)b.push(c&127|128),c>>>=7,a.j++;b.push(c);a.j++},yi=function(a){ui(a,a.g.end());for(var b=new Uint8Array(a.j),c=a.l,d=c.length,e=0,f=0;f>14&1023;return a===0?536870912:a};var Vi={},Wi={};function Xi(a){return!(!a||typeof a!=="object"||a.g!==Wi)}function Yi(a){return a!==null&&typeof a==="object"&&!Array.isArray(a)&&a.constructor===Object}var Zi;function $i(a,b,c){if(a!=null)if(typeof a==="string")a=a?new Bh(a,yh):Ch();else if(a.constructor!==Bh)if(uh(a))a=a.length?new Bh(c?a:new Uint8Array(a),yh):Ch();else{if(!b)throw Error();a=void 0}return a} function aj(a,b,c){if(!Array.isArray(a)||a.length)return!1;var d=Oi(a);if(d&1)return!0;if(!(b&&(Array.isArray(b)?b.includes(c):b.has(c))))return!1;Qi(a,d|1);return!0}var bj,cj=[];Qi(cj,55);bj=Object.freeze(cj);function dj(a){if(a&2)throw Error();}var ej;function fj(a,b){(b=ej?b[ej]:void 0)&&(a[ej]=Ei(b))}var gj,hj=function(){};Object.freeze(new function(){});Object.freeze(new hj);var ij=Object.freeze(new hj);var jj;function kj(){var a=Error();Xd(a,"incident");bh(a)}function lj(a){a=Error(a);Xd(a,"warning");return a};function mj(a){if(a!=null&&typeof a!=="number")throw Error("Value of float/double field must be a number, found "+typeof a+": "+a);return a}function tj(a){if(a==null||typeof a==="number")return a;if(a==="NaN"||a==="Infinity"||a==="-Infinity")return Number(a)}function uj(a){if(a!=null&&typeof a!=="boolean")throw Error("Expected boolean but got "+La(a)+": "+a);return a}function vj(a){if(a==null||typeof a==="boolean")return a;if(typeof a==="number")return!!a}var wj=/^-?([1-9][0-9]*|0)(\.[0-9]+)?$/; function xj(a){var b=typeof a;return b==="number"?Number.isFinite(a):b!=="string"?!1:wj.test(a)}function yj(a){if(!Number.isFinite(a))throw lj("enum");return a|0}function zj(a){return a==null?a:yj(a)}function Aj(a){return a==null?a:Number.isFinite(a)?a|0:void 0}function Bj(a){if(typeof a!=="number")throw lj("int32");if(!Number.isFinite(a))throw lj("int32");return a|0} function Cj(a){if(a==null)return a;if(typeof a==="string"){if(!a)return;a=+a}if(typeof a==="number")return Number.isFinite(a)?a|0:void 0}function Dj(a){if(typeof a!=="number")throw lj("uint32");if(!Number.isFinite(a))throw lj("uint32");return a>>>0}function Ej(a){if(a==null)return a;if(typeof a==="string"){if(!a)return;a=+a}if(typeof a==="number")return Number.isFinite(a)?a>>>0:void 0} function Fj(a){var b=!!b;if(!xj(a))throw lj("int64");typeof a==="string"?a=Gj(a):b?(a=Math.trunc(a),Number.isSafeInteger(a)?a=String(a):(b=String(a),Hj(b)?a=b:(Nh(a),a=Sh()))):a=Ij(a);return a}function Hj(a){return a[0]==="-"?a.length<20?!0:a.length===20&&Number(a.substring(0,7))>-922337:a.length<19?!0:a.length===19&&Number(a.substring(0,6))<922337}function Ij(a){a=Math.trunc(a);Number.isSafeInteger(a)||(Nh(a),a=Ph(Kh,Lh));return a} function Gj(a){var b=Math.trunc(Number(a));if(Number.isSafeInteger(b))return String(b);b=a.indexOf(".");b!==-1&&(a=a.substring(0,b));Hj(a)||(Th(a),a=Sh());return a}function Jj(a){if(typeof a!=="string")throw Error();return a}function Kj(a){if(a!=null&&typeof a!=="string")throw Error();return a}function Lj(a){return a==null||typeof a==="string"?a:void 0} function Mj(a,b,c,d){if(a!=null&&typeof a==="object"&&a.rg===Vi)return a;if(!Array.isArray(a))return c?d&2?Nj(b):new b:void 0;var e=c=Oi(a);e===0&&(e|=d&32);e|=d&2;e!==c&&Qi(a,e);return new b(a)}function Nj(a){var b=a[Ii];if(b)return b;b=new a;Li(b.M,34);return a[Ii]=b};var Oj;function Pj(a,b){Oj=b;a=new a(b);Oj=void 0;return a}var Qj,Rj;function Sj(a){switch(typeof a){case "boolean":return Qj||(Qj=[0,void 0,!0]);case "number":return a>0?void 0:a===0?Rj||(Rj=[0,void 0]):[-a,void 0];case "string":return[0,a];case "object":return a}} function H(a,b,c){a==null&&(a=Oj);Oj=void 0;if(a==null){var d=96;c?(a=[c],d|=512):a=[];b&&(d=d&-16760833|(b&1023)<<14)}else{if(!Array.isArray(a))throw Error("narr");d=Oi(a);if(d&2048)throw Error("farr");if(d&64)return a;d|=64;if(c&&(d|=512,c!==a[0]))throw Error("mid");a:{c=a;var e=c.length;if(e){var f=e-1;if(Yi(c[f])){d|=256;b=f-(+!!(d&512)-1);if(b>=1024)throw Error("pvtlmt");d=d&-16760833|(b&1023)<<14;break a}}if(b){b=Math.max(b,e-(+!!(d&512)-1));if(b>1024)throw Error("spvt");d=d&-16760833|(b&1023)<< 14}}}Qi(a,d);return a};function Tj(a,b){return Uj(b)}function Uj(a){switch(typeof a){case "number":return isFinite(a)?a:String(a);case "boolean":return a?1:0;case "object":if(a)if(Array.isArray(a)){if(aj(a,void 0,0))return}else{if(uh(a))return ph(a);if(a instanceof Bh){var b=a.g;return b==null?"":typeof b==="string"?b:a.g=ph(b)}}}return a};function Vj(a,b,c){var d=Ei(a),e=d.length,f=b&256?d[e-1]:void 0;e+=f?-1:0;for(b=b&512?1:0;b=a.length||b>=c))return a[b]} var ek=function(a,b,c,d){if(c===-1)return null;var e=Ui(b);if(c>=e){if(b&256)return a[a.length-1][c]}else{var f=a.length;if(d&&b&256&&(d=a[f-1][c],d!=null)){if(gk(a,b,e,c)&&Ji!=null){var g;a=(g=jj)!=null?g:jj={};g=a[Ji]||0;g>=4||(a[Ji]=g+1,kj())}return d}return gk(a,b,e,c)}},ik=function(a,b,c){var d=a.M,e=Pi(d);dj(e);hk(d,e,b,c);return a}; function hk(a,b,c,d,e){var f=Ui(b);if(c>=f||e){var g=b;if(b&256)e=a[a.length-1];else{if(d==null)return g;e=a[f+(+!!(b&512)-1)]={};g|=256}e[c]=d;c=0;f--){var g=c[f];e===0&&ek(a,b,g)!=null?e=g:e!==0&&(b=hk(a,b,g))}Dk(d,a,e);return e} var Fk=function(a){var b=Ek;a=a.M;var c=Pi(a);dj(c);var d=ek(a,c,4);b=ck(Mj(d,b,!0,c));d!==b&&hk(a,c,4,b);return b},Gk=function(a,b,c,d){var e=Pi(a),f=ek(a,e,c,d),g;if(f!=null&&f.rg===Vi)return b=ck(f),b!==f&&hk(a,e,c,b,d),b.M;if(Array.isArray(f)){var h=Oi(f);h&2?g=bk(f,h,!1):g=f;g=H(g,b[0],b[1])}else g=H(void 0,b[0],b[1]);g!==f&&hk(a,e,c,g,d);return g};function jk(a,b,c,d){a=a.M;var e=Pi(a),f=ek(a,e,c,d);b=Mj(f,b,!1,e);b!==f&&b!=null&&hk(a,e,c,b,d);return b} var Hk=function(a,b,c){return(a=jk(a,b,c,!1))?a:Nj(b)},I=function(a,b,c){var d=d===void 0?!1:d;b=jk(a,b,c,d);if(b==null)return b;a=a.M;var e=Pi(a);if(!(e&2)){var f=ck(b);f!==b&&(b=f,hk(a,e,c,b,d))}return b},Ik=function(a,b,c){a=a.M;var d=Pi(a),e=d,f=!(2&d),g=!!(2&e);d=g?1:2;f&&(f=!g);g=ok(a,e,c);var h=Oi(g),k=!!(4&h);if(!k){h=qk(h,e);var m=g,n=e,p=!!(2&h);p&&(n=Ni(n,2,!0));for(var r=!p,t=!0,v=0,A=0;v=0;p--){var r=c[p];d&&p===c.length-1&&r===d||(m++,r!=null&&k++)}if(d)for(var t in d)p=+t,isNaN(p)||(n+=kl(p),h++,p>g&&(g=p));m=e(m,k)+f(h,g,n);t=k;p=h;r=g;for(var v=n,A=c.length-1;A>=0;A--){var B=c[A];if(!(B==null||d&&A===c.length-1&&B===d)){B=A-b;var D=e(B,t)+f(p,r,v);D= 1024||(p--,t++,v-=F.length,g=e(d,t)+f(p,r,v),g1?a-1:0)}function il(a,b){return(a>1?a-1:0)+(a-b)*4}function gl(a,b){return a==0?0:9*Math.max(1<<32-Math.clz32(a+a/2-1),4)<=b?a==0?0:a<4?100+(a-1)*16:a<6?148+(a-4)*16:a<12?244+(a-6)*16:a<22?436+(a-12)*19:a<44?820+(a-22)*17:52+32*a:40+4*b}function fl(a){return 40+4*a}function kl(a){return a>=100?a>=1E4?Math.ceil(Math.log10(1+a)):a<1E3?3:4:a<10?1:2} function ll(a){switch(a){case cl:case dl:case hl:break;default:throw Error("ipsel");}};var K=function(a,b,c){this.M=H(a,b,c)},Zj=function(a){var b=b===void 0?cl:b;ll(b);return a.toJSON()};K.prototype.toJSON=function(){return Zi?ml(this,this.M,!1):ml(this,Xj(this.M,Yj,void 0,void 0,!1),!0)};var nl=function(a){var b=b===void 0?cl:b;Zi=!0;try{return b!==cl&&ll(b),JSON.stringify(a.toJSON(),Tj)}finally{Zi=!1}};K.prototype.clone=function(){var a=this.M;return Pj(this.constructor,bk(a,Pi(a),!1))};K.prototype.Id=function(){return!!(Oi(this.M)&2)};K.prototype.rg=Vi; K.prototype.toString=function(){return ml(this,this.M,!1).toString()}; function ml(a,b,c){var d=sc?void 0:a.constructor.ua;c=Pi(c?a.M:b);a=b.length;if(!a)return b;var e=b[a-1],f=Yi(e);f?a--:e=void 0;c=+!!(c&512)-1;var g=a-c,h=g!==g,k=h?Array.prototype.slice.call(b,0,a):b;if(f||h){a:{var m=k;var n=e;f={};var p=!1;if(h)for(var r=Math.max(0,g+c);r0;a--){B=a-1;A=k[B];B-=c;if(!(A==null||aj(A,d,B)||Xi(A)&&A.size===0))break;D=!0}if(k===b&&!m&&!D)return k;h?D&&(k.length=a):k=Array.prototype.slice.call(k,0,a);n&&k.push(n);return k} function ol(a,b){if(b==null)return new a;if(!Array.isArray(b))throw Error("must be an array");if(Object.isFrozen(b)||Object.isSealed(b)||!Object.isExtensible(b))throw Error("arrays passed to jspb constructors must be mutable");Li(b,128);return Pj(a,Ri(b))};function pl(a){return Array.isArray(a)?a[0]instanceof Di?a:[ql,a]:[a,void 0]}function rl(a,b){if(Array.isArray(b)){var c=Oi(b);if(c&4)return b;for(var d=0,e=0;d0?void 0:b]} function ul(a){var b=a[Al];if(b)return b;b=Dl(a,a[Al]=new zl,Cl,Cl,Bl);if(!b.ga&&!b.j&&!b.g){var c=!0,d;for(d in b)isNaN(d)||(c=!1);c?(Sj(a[0])===Qj?yl?b=yl:(b=new zl,b.pe=Sj(!0),b=yl=b):b=xl||(xl=new zl),b=a[Al]=b):b.A=!0}return b}function El(a,b,c){a[b]=c} function Dl(a,b,c,d,e){e=e===void 0?El:e;b.pe=Sj(a[0]);var f=0,g=a[++f];g&&g.constructor===Object&&(b.ga=g,g=a[++f],typeof g==="function"&&(b.l=g,b.o=a[++f],g=a[++f]));for(var h={};Array.isArray(g)&&typeof g[0]==="number"&&g[0]>0;){for(var k=0;k>31)*2+1;var e=d>>>23&255;d&=8388607;Vl(b,c,e==255?d?NaN:a*Infinity:e==0?a*Math.pow(2,-149)*d:a*Math.pow(2,e-150)*(d+Math.pow(2,23)));return!0},function(a,b,c){b=tj(b);b!=null&&(vi(a,c,5),a=a.g,c=Mh||(Mh=new DataView(new ArrayBuffer(8))),c.setFloat32(0,+b,!0),Lh=0,Kh=c.getUint32(0, !0),si(a,Kh))}),em=Tl(function(a,b,c){if(a.j!==0)return!1;a=a.g;var d=0,e=0,f=0,g=a.j,h=a.g;do{var k=g[h++];d|=(k&127)<32&&(e|=(k&127)>>4);for(f=3;f<32&&k&128;f+=7)k=g[h++],e|=(k&127)<>>0,e>>>0);else throw Fh();Vl(b,c,a===0?void 0:a);return!0},function(a,b,c){a:if(b!=null){if(xj(b)){if(typeof b==="string"){b=Gj(b);break a}if(typeof b==="number"){b=Ij(b);break a}}b=void 0}b!=null&&(typeof b==="string"&&ni(b),b!=null&&(vi(a,c,0),typeof b==="number"? (a=a.g,Nh(b),pi(a,Kh,Lh)):(c=ni(b),pi(a.g,c.j,c.g))))}),fm=Tl(function(a,b,c){if(a.j!==0)return!1;Vl(b,c,Wh(a.g));return!0},Xl),gm=Ul(function(a,b,c){if(a.j!==0&&a.j!==2)return!1;b=mk(b,Pi(b),c,2,!1);a.j==2?ji(a,Wh,b):b.push(Wh(a.g));return!0},function(a,b,c){b=rl(Cj,b);if(b!=null&&b.length){c=wi(a,c);for(var d=0;d>>0;a=bi(a.g,d);Vl(b,c,a===Ch()?void 0:a);return!0},function(a,b,c){b=b==null||typeof b=="string"||uh(b)||b instanceof Bh?b:void 0;b!=null&&zi(a,c,Hh(b).buffer)}),um=Tl(function(a,b,c){if(a.j!==0)return!1;Vl(b,c,Wh(a.g)>>>0);return!0},$l),vm=Tl(function(a,b,c){if(a.j!==0)return!1;a=Wh(a.g)>>>0;Vl(b,c,a===0?void 0:a);return!0},$l), wm=Tl(function(a,b,c){if(a.j!==0)return!1;Vl(b,c,Wh(a.g));return!0},am),xm=Ul(function(a,b,c){if(a.j!==0&&a.j!==2)return!1;b=mk(b,Pi(b),c,2,!1);a.j==2?ji(a,$h,b):b.push(Wh(a.g));return!0},function(a,b,c){b=rl(Cj,b);if(b!=null&&b.length){c=wi(a,c);for(var d=0;d-1)return b.apply(null,u(c));try{return a.g=a.l.g.g(),b.apply(null,u(c))}finally{a.o+=a.l.g.g()-a.g,a.g=-1,a.j+=1}}};var Im=function(a,b){this.j=a;this.l=b;this.g=new Gm(a)};var Jm=function(){this.g={}},Km=function(a,b){a=a.g[b.key];if(b.valueType==="proto"){try{var c=JSON.parse(a);if(Array.isArray(c))return c}catch(d){}return b.defaultValue}return typeof a===typeof b.defaultValue?a:b.defaultValue};var Lm={Oo:1,rp:2,Ho:3};var Mm=function(){this.A=void 0;this.N=0;this.B=new Ef(0,"");this.l=0;this.J=-1;this.ea=new gc;bc(hc(this.ea,"mv",Fb)).l=Gb===void 0?null:Gb;hc(this.ea,"omid",Cb);bc(hc(this.ea,"epoh",Cb));bc(hc(this.ea,"epph",Cb));bc(hc(this.ea,"umt",Cb)).l=Db===void 0?null:Db;bc(hc(this.ea,"phel",Cb));bc(hc(this.ea,"phell",Cb));bc(hc(this.ea,"oseid",Lm));var a=this.ea;a.g.sloi||(a.g.sloi=new ec);bc(a.g.sloi);hc(this.ea,"mm",Ab);bc(hc(this.ea,"ovms",zb));bc(hc(this.ea,"xdi",Cb));bc(hc(this.ea,"amp",Cb));bc(hc(this.ea, "prf",Cb));bc(hc(this.ea,"gtx",Cb));bc(hc(this.ea,"mvp_lv",Cb));bc(hc(this.ea,"ssmol",Cb)).l=Eb===void 0?null:Eb;bc(hc(this.ea,"fmd",Cb));hc(this.ea,"gen204simple",Cb);this.j=new Im(Pg(),this.ea);this.C=this.g=this.o=!1;this.flags=new Jm}; Mm.prototype.Gg=function(a){if(typeof a==="string"&&a.length!=0){var b=this.ea;if(b.l){a=a.split("&");for(var c=a.length-1;c>=0;c--){var d=a[c].split("="),e=decodeURIComponent(d[0]);d.length>1?(d=decodeURIComponent(d[1]),d=/^[0-9]+$/g.exec(d)?parseInt(d,10):d):d=1;(e=b.g[e])&&e.j(d)}}}}; Mm.prototype.Hg=function(a){if(typeof a==="string"&&a.length!=0){var b=this.flags;try{var c=JSON.parse(a)[0];a="";for(var d=0;d=0;return a}),Ym=function(a,b){this.events=[];this.g=b||z;var c=null;b&&(b.google_js_reporting_queue=b.google_js_reporting_queue||[],this.events=b.google_js_reporting_queue,c=b.google_measure_js_timing);this.j=Xm()||(c!=null?c:Math.random()2048||this.events.push(a)};var Zm=function(a){a&&Vm&&Xm()&&(Vm.clearMarks("goog_"+a.label+"_"+a.uniqueId+"_start"),Vm.clearMarks("goog_"+a.label+"_"+a.uniqueId+"_end"))}; Ym.prototype.start=function(a,b){if(!this.j)return null;a=new Um(a,b,Tm()||Sm());b="goog_"+a.label+"_"+a.uniqueId+"_start";Vm&&Xm()&&Vm.mark(b);return a};Ym.prototype.end=function(a){if(this.j&&typeof a.value==="number"){a.duration=(Tm()||Sm())-a.value;var b="goog_"+a.label+"_"+a.uniqueId+"_end";Vm&&Xm()&&Vm.mark(b);this.B(a)}};var bn=function(){var a=$m;this.C=an;this.A="jserror";this.l=!0;this.j=null;this.B=this.lc;this.g=a===void 0?null:a;this.o=!1};l=bn.prototype;l.Kg=function(a){this.j=a};l.yi=function(a){this.A=a};l.zi=function(a){this.l=a};l.Bi=function(a){this.o=a};l.Od=function(a,b,c){var d=this;return Hm(nc().j.g,function(){try{if(d.g&&d.g.j){var e=d.g.start(a.toString(),3);var f=b();d.g.end(e)}else f=b()}catch(h){var g=d.l;try{Zm(e),g=d.B(a,new cn(dn(h)),void 0,c)}catch(k){d.lc(217,k)}if(!g)throw h;}return f})()}; l.Ig=function(a,b,c,d){var e=this;return Hm(nc().j.g,function(){var f=Da.apply(0,arguments);return e.Od(a,function(){return b.apply(c,f)},d)})}; l.lc=function(a,b,c,d,e){e=e||this.A;try{var f=new xg;Cg(f,1,"context",a);Pm(b)||(b=new cn(dn(b)));b.msg&&Cg(f,2,"msg",b.msg.substring(0,512));var g=b.meta||{};if(this.j)try{this.j(g)}catch(k){}if(d)try{d(g)}catch(k){}Bg(f,3,[g]);var h=wg();h.j&&Cg(f,4,"top",h.j.url||"");Bg(f,5,[{url:h.g.url||""},{url:h.g.url?Tf(h.g.url):""}]);Nm(this.C,e,f,this.o,c)}catch(k){try{Nm(this.C,e,{context:"ecmserr",rctx:a,msg:dn(k),url:h&&h.g.url},this.o,c)}catch(m){}}return this.l}; var dn=function(a){var b=a.toString();a.name&&b.indexOf(a.name)==-1&&(b+=": "+a.name);a.message&&b.indexOf(a.message)==-1&&(b+=": "+a.message);if(a.stack)a:{a=a.stack;var c=b;try{a.indexOf(c)==-1&&(a=c+"\n"+a);for(var d;a!=d;)d=a,a=a.replace(/((https?:\/..*\/)[^\/:]*:\d+(?:.|\n)*)\2/,"$1");b=a.replace(/\n */g,"\n");break a}catch(e){b=c;break a}b=void 0}return b},cn=function(a){Om.call(this,Error(a),{message:a})};w(cn,Om);var an,en,$m=new Ym(1,window),fn=function(){C&&typeof C.google_measure_js_timing!="undefined"&&(C.google_measure_js_timing||$m.C())};an=new function(){var a="https:";C&&C.location&&C.location.protocol==="http:"&&(a="http:");this.j=a;this.g=.01;this.l=Math.random()};en=new bn;C&&C.document&&(C.document.readyState=="complete"?fn():$m.j&&Kf(C,"load",function(){fn()})); var gn=function(a){en.Kg(function(b){ab(a,function(c){c(b)})})},hn=function(a,b){return en.Od(a,b)},jn=function(a,b,c,d){return en.Ig(a,b,c,d)},kn=function(a,b,c,d){en.lc(a,b,c,d)};var ln=Date.now(),mn=-1,nn=-1,on,pn=-1,qn=!1,rn=function(){return Date.now()-ln},sn=function(){var a=nc().A,b=nn>=0?rn()-nn:-1,c=qn?rn()-mn:-1,d=pn>=0?rn()-pn:-1;if(a==947190542)return 100;if(a==79463069)return 200;a=[2E3,4E3];var e=[250,500,1E3];kn(637,Error(),.001);var f=b;c!=-1&&c1500&&d<4E3?500:g};var tn=function(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.left=d};l=tn.prototype;l.getWidth=function(){return this.right-this.left};l.getHeight=function(){return this.bottom-this.top};l.clone=function(){return new tn(this.top,this.right,this.bottom,this.left)};l.contains=function(a){return this&&a?a instanceof tn?a.left>=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}; l.expand=function(a,b,c,d){Na(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};var un=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};tn.prototype.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}; tn.prototype.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};tn.prototype.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}; var vn=function(a,b,c){b instanceof Xe?(a.left+=b.x,a.right+=b.x,a.top+=b.y,a.bottom+=b.y):(a.left+=b,a.right+=b,typeof c==="number"&&(a.top+=c,a.bottom+=c));return a};tn.prototype.scale=function(a,b){b=typeof b==="number"?b:a;this.left*=a;this.right*=a;this.top*=b;this.bottom*=b;return this};var wn=function(a,b,c){var d=new tn(0,0,0,0);this.time=a;this.volume=null;this.l=b;this.g=d;this.j=c};wn.prototype.yd=function(a,b){return!!a&&(!(b===void 0?0:b)||this.volume==a.volume)&&this.l==a.l&&un(this.g,a.g)&&!0};var xn=function(a,b,c,d,e,f,g,h){this.l=a;this.J=b;this.j=c;this.A=d;this.g=e;this.o=f;this.B=g;this.C=h};xn.prototype.getTimestamp=function(){return this.B};xn.prototype.yd=function(a,b){return this.l.yd(a.l,b===void 0?!1:b)&&this.J==a.J&&un(this.j,a.j)&&un(this.A,a.A)&&this.g==a.g&&this.o==a.o&&this.B==a.B&&this.C==a.C};var yn={currentTime:1,duration:2,isVpaid:4,volume:8,isYouTube:16,isPlaying:32},Tb={Vi:"start",FIRST_QUARTILE:"firstquartile",MIDPOINT:"midpoint",THIRD_QUARTILE:"thirdquartile",COMPLETE:"complete",ERROR:"error",gl:"metric",PAUSE:"pause",Ui:"resume",SKIPPED:"skip",pl:"viewable_impression",kl:"mute",ol:"unmute",FULLSCREEN:"fullscreen",Kk:"exitfullscreen",Li:"bufferstart",Ki:"bufferfinish",Mk:"fully_viewable_audible_half_duration_impression",fl:"measurable_impression",Bk:"abandon",Jk:"engagedview",IMPRESSION:"impression", Gk:"creativeview",LOADED:"loaded",PROGRESS:"progress",Qn:"close",Rn:"collapse",Io:"overlay_resize",Jo:"overlay_unmeasurable_impression",Ko:"overlay_unviewable_impression",Mo:"overlay_viewable_immediate_impression",Lo:"overlay_viewable_end_of_session_impression",Hk:"custom_metric_viewable",Dk:"audio_audible",Fk:"audio_measurable",Ek:"audio_impression"},zn="start firstquartile midpoint thirdquartile resume loaded".split(" "),An=["start","firstquartile","midpoint","thirdquartile"],Bn=["abandon"],Cn= {UNKNOWN:-1,Vi:0,FIRST_QUARTILE:1,MIDPOINT:2,THIRD_QUARTILE:3,COMPLETE:4,gl:5,PAUSE:6,Ui:7,SKIPPED:8,pl:9,kl:10,ol:11,FULLSCREEN:12,Kk:13,Mk:14,fl:15,Bk:16,Jk:17,IMPRESSION:18,Gk:19,LOADED:20,Hk:21,Li:22,Ki:23,Ek:27,Fk:28,Dk:29};var Lb={An:"addEventListener",fo:"getMaxSize",io:"getScreenSize",jo:"getState",ko:"getVersion",Po:"removeEventListener",Eo:"isViewable"},Dn=function(a){var b=a!==a.top,c=a.top===rg(a),d=-1,e=0;if(b&&c&&a.top.mraid){d=3;var f=a.top.mraid}else d=(f=a.mraid)?b?c?2:1:0:-1;f&&(f.IS_GMA_SDK||(e=2),Kb(function(g){return typeof f[g]==="function"})||(e=1));return{Kb:f,Nf:e,fn:d}};var En=function(){var a=window.document;return a&&typeof a.elementFromPoint==="function"};function Fn(a,b,c){try{a&&(b=b.top);var d=b;a&&d!==null&&d!=d.top&&(d=d.top);try{var e=(c===void 0?0:c)?(new Ye(d.innerWidth,d.innerHeight)).round():hf(d||window).round()}catch(n){e=new Ye(-12245933,-12245933)}a=e;var f=a.height,g=a.width;if(g===-12245933)return new tn(g,g,g,g);var h=kf(af(b.document).g),k=h.x,m=h.y;return new tn(m,k+g,m+f,k)}catch(n){return new tn(-12245933,-12245933,-12245933,-12245933)}};var Gn=function(a,b,c,d){this.left=a;this.top=b;this.width=c;this.height=d};Gn.prototype.clone=function(){return new Gn(this.left,this.top,this.width,this.height)};var Hn=function(a){return new tn(a.top,a.left+a.width,a.top+a.height,a.left)},In=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 Gn(c,e,d-c,a-e)}return null};l=Gn.prototype; l.contains=function(a){return a instanceof Xe?a.x>=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};l.getSize=function(){return new Ye(this.width,this.height)};l.ceil=function(){this.left=Math.ceil(this.left);this.top=Math.ceil(this.top);this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this}; l.floor=function(){this.left=Math.floor(this.left);this.top=Math.floor(this.top);this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};l.round=function(){this.left=Math.round(this.left);this.top=Math.round(this.top);this.width=Math.round(this.width);this.height=Math.round(this.height);return this};l.scale=function(a,b){b=typeof b==="number"?b:a;this.left*=a;this.width*=a;this.top*=b;this.height*=b;return this};var Kn=function(a,b,c){if(typeof b==="string")(b=Jn(a,b))&&(a.style[b]=c);else for(var d in b){c=a;var e=b[d],f=Jn(c,d);f&&(c.style[f]=e)}},Ln={},Jn=function(a,b){var c=Ln[b];if(!c){var d=ie(b);c=d;a.style[d]===void 0&&(d=(se?"Webkit":re?"Moz":qe?"ms":null)+ke(d),a.style[d]!==void 0&&(c=d));Ln[b]=c}return c},Mn=function(a,b){var c=$e(a);return c.defaultView&&c.defaultView.getComputedStyle&&(a=c.defaultView.getComputedStyle(a,null))?a[b]||a.getPropertyValue(b)||"":""},Nn=function(a,b){return Mn(a, b)||(a.currentStyle?a.currentStyle[b]:null)||a.style&&a.style[b]},On=function(a){try{return a.getBoundingClientRect()}catch(b){return{left:0,top:0,right:0,bottom:0}}},Pn=function(a){var b=$e(a),c=Nn(a,"position"),d=c=="fixed"||c=="absolute";for(a=a.parentNode;a&&a!=b;a=a.parentNode)if(a.nodeType==11&&a.host&&(a=a.host),c=Nn(a,"position"),d=d&&c=="static"&&a!=b.documentElement&&a!=b.body,!d&&(a.scrollWidth>a.clientWidth||a.scrollHeight>a.clientHeight||c=="fixed"||c=="absolute"||c=="relative"))return a; return null},Qn=function(a){var b=$e(a),c=new Xe(0,0);if(a==(b?$e(b):document).documentElement)return c;a=On(a);b=kf(af(b).g);c.x=a.left+b.x;c.y=a.top+b.y;return c},Sn=function(a,b){var c=new Xe(0,0),d=lf($e(a));if(!pe(d,"parent"))return c;do{var e=d==b?Qn(a):Rn(a);c.x+=e.x;c.y+=e.y}while(d&&d!=b&&d!=d.parent&&(a=d.frameElement)&&(d=d.parent));return c},Rn=function(a){a=On(a);return new Xe(a.left,a.top)},Tn=function(a){typeof a=="number"&&(a=Math.round(a)+"px");return a},Vn=function(a){var b=Un;if(Nn(a, "display")!="none")return b(a);var c=a.style,d=c.display,e=c.visibility,f=c.position;c.visibility="hidden";c.position="absolute";c.display="inline";a=b(a);c.display=d;c.position=f;c.visibility=e;return a},Un=function(a){var b=a.offsetWidth,c=a.offsetHeight,d=se&&!b&&!c;return(b===void 0||d)&&a.getBoundingClientRect?(a=On(a),new Ye(a.right-a.left,a.bottom-a.top)):new Ye(b,c)},Wn=function(a){var b=Qn(a);a=Vn(a);return new Gn(b.x,b.y,a.width,a.height)},Xn=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="+Number(b)*100+")")},Yn=function(a,b){a.style.display=b?"":"none"};var Zn=function(a,b){b=Math.pow(10,b);return Math.floor(a*b)/b},$n=function(a){return new tn(a.top,a.right,a.bottom,a.left)},ao=function(a){var b=a.top||0,c=a.left||0;return new tn(b,c+(a.width||0),b+(a.height||0),c)},bo=function(a){return a!=null&&a>=0&&a<=1};function co(){var a=Ic();return a?fb("AmazonWebAppPlatform;Android TV;Apple TV;AppleTV;BRAVIA;BeyondTV;Freebox;GoogleTV;HbbTV;LongTV;MiBOX;MiTV;NetCast.TV;Netcast;Opera TV;PANASONIC;POV_TV;SMART-TV;SMART_TV;SWTV;Smart TV;SmartTV;TV Store;UnionTV;WebOS".split(";"),function(b){return Fc(a,b)})||Fc(a,"OMI/")&&!Fc(a,"XiaoMi/")?!0:Fc(a,"Presto")&&Fc(a,"Linux")&&!Fc(a,"X11")&&!Fc(a,"Android")&&!Fc(a,"Mobi"):!1} function eo(){var a=Ic();return Fc(a,"AppleTV")||Fc(a,"Apple TV")||Fc(a,"CFNetwork")||Fc(a,"tvOS")}function fo(){var a=Ic();return Fc(a,"sdk_google_atv_x86")||Fc(a,"Android TV")}function go(){return Fc(Ic(),"CrKey")&&!(Fc(Ic(),"CrKey")&&Fc(Ic(),"SmartSpeaker"))||Fc(Ic(),"PlayStation")||Fc(Ic(),"Roku")||co()||Fc(Ic(),"Xbox")||eo()||fo()};var io=function(){this.N=!1;this.l=!bg(C.top);this.C=Qf()||Rf();var a=tg();a=a.length>0&&a[a.length-1]!=null&&a[a.length-1].url!=null?((a=a[a.length-1].url.match(Sf)[3]||null)?decodeURI(a):a)||"":"";this.domain=a;this.g=new tn(0,0,0,0);this.A=new Ye(0,0);this.o=new Ye(0,0);this.J=new tn(0,0,0,0);this.frameOffset=new Xe(0,0);this.F=!1;this.B=0;this.D=!1;this.j=!(!C||!Dn(C).Kb);ho(this)},jo=function(a,b){b&&b.screen&&(a.A=new Ye(b.screen.width,b.screen.height))},ko=function(a,b){a:{var c=a.g?new Ye(a.g.getWidth(), a.g.getHeight()):new Ye(0,0);b=b===void 0?C:b;b!==null&&b!=b.top&&(b=b.top);var d=0,e=0;try{var f=b.document,g=f.body,h=f.documentElement;if(f.compatMode=="CSS1Compat"&&h.scrollHeight)d=h.scrollHeight!=c.height?h.scrollHeight:h.offsetHeight,e=h.scrollWidth!=c.width?h.scrollWidth:h.offsetWidth;else{var k=h.scrollHeight,m=h.scrollWidth,n=h.offsetHeight,p=h.offsetWidth;h.clientHeight!=n&&(k=g.scrollHeight,m=g.scrollWidth,n=g.offsetHeight,p=g.offsetWidth);k>c.height?k>n?(d=k,e=m):(d=n,e=p):k0||a.D)return!0;a=Pg().j.isVisible();var b=Pf();return a||b},lo=function(){return Ng(io)};var no=function(a){this.l=a;this.j=0;this.g=null};no.prototype.cancel=function(){Pg().clearTimeout(this.g);this.g=null};var oo=function(a){var b=Pg(),c=nc().j.g;a.g=b.setTimeout(Hm(c,jn(143,function(){a.j++;a.l.sample()})),sn())};var po=function(a,b,c){this.l=a;this.Ga=c===void 0?"na":c;this.C=[];this.G=!1;this.o=new wn(-1,!0,this);this.g=this;this.N=b;this.L=this.D=!1;this.Y="uk";this.T=!1;this.A=!0};po.prototype.F=function(){return!1};po.prototype.K=function(){return this.G=!0};po.prototype.ee=function(){return this.g.Y};po.prototype.Ue=function(){return this.g.L};var ro=function(a,b,c){if(!a.L||(c===void 0?0:c))a.L=!0,a.Y=b,a.N=0,a.g!=a||qo(a)};po.prototype.getName=function(){return this.g.Ga};po.prototype.Vc=function(){return this.g.ba()}; po.prototype.ba=function(){return{}};po.prototype.xc=function(){return this.g.N};var so=function(a,b){lb(a.C,b)||(a.C.push(b),b.he(a.g),b.Xc(a.o),b.qc()&&(a.D=!0))};po.prototype.V=function(){var a=lo();a.g=Fn(!0,this.l,a.C)};po.prototype.da=function(){jo(lo(),this.l)};po.prototype.ha=function(){return this.o.g};var to=function(a){a=a.g;a.da();a.V();var b=lo();b.J=Fn(!1,a.l,b.C);ko(lo(),a.l);a.o.g=a.ha()};po.prototype.sample=function(){};var uo=function(a,b){a.g!=a?uo(a.g,b):a.A!==b&&(a.A=b,qo(a))}; po.prototype.isActive=function(){return this.g.A};var vo=function(a){a.D=a.C.length?fb(a.C,function(b){return b.qc()}):!1},wo=function(a){var b=rb(a.C);ab(b,function(c){c.Xc(a.o)})},qo=function(a){var b=rb(a.C);ab(b,function(c){c.he(a.g)});a.g!=a||wo(a)};l=po.prototype;l.he=function(a){var b=this.g;this.g=a.xc()>=this.N?a:this;b!==this.g?(this.A=this.g.A,qo(this)):this.A!==this.g.A&&(this.A=this.g.A,qo(this))};l.Xc=function(a){if(a.j===this.g){var b=!this.o.yd(a,this.D);this.o=a;b&&wo(this)}}; l.qc=function(){return this.D};l.dispose=function(){this.T=!0};l.Ia=function(){return this.T};var xo=function(a,b,c,d){this.element=a;this.g=new tn(0,0,0,0);this.o=new tn(0,0,0,0);this.j=b;this.ea=c;this.F=d;this.D=!1;this.timestamp=-1;this.B=new xn(b.o,this.element,this.g,new tn(0,0,0,0),0,0,rn(),0)};l=xo.prototype;l.Wg=function(){return!0};l.vf=function(){};l.dispose=function(){if(!this.Ia()){var a=this.j;nb(a.C,this);a.D&&this.qc()&&vo(a);this.vf();this.D=!0}};l.Ia=function(){return this.D};l.Vc=function(){return this.j.Vc()};l.xc=function(){return this.j.xc()};l.ee=function(){return this.j.ee()}; l.Ue=function(){return this.j.Ue()};l.he=function(){};l.Xc=function(){this.sc()};l.qc=function(){return this.F};var yo=function(a){this.A=!1;this.g=a;this.o=function(){}};l=yo.prototype;l.xc=function(){return this.g.xc()};l.ee=function(){return this.g.ee()};l.Ue=function(){return this.g.Ue()};l.create=function(a,b,c){var d=null;this.g&&(d=this.Ge(a,b,c),so(this.g,d));return d};l.Xg=function(){return this.Vd()};l.Vd=function(){return!1};l.init=function(a){return this.g.K()?(so(this.g,this),this.o=a,!0):!1};l.he=function(a){a.xc()==0&&this.o(a.ee(),this)};l.Xc=function(){};l.qc=function(){return!1}; l.dispose=function(){this.A=!0};l.Ia=function(){return this.A};l.Vc=function(){return{}};var zo=function(a,b,c){this.l=c===void 0?0:c;this.j=a;this.g=b==null?"":b},Ao=function(a){switch(Math.trunc(a.l)){case -16:return-16;case -8:return-8;case 0:return 0;case 8:return 8;case 16:return 16;default:return 16}},Bo=function(a,b){return a.lb.l?!1:a.jb.j?!1:typeof a.gtypeof b.g?!1:a.g0&&(a+="?"+b);return a};var Io=function(a){var b=[],c=[];Ib(a,function(d,e){if(!(e in Object.prototype)&&typeof d!="undefined")switch(Array.isArray(d)&&(d=d.join(",")),d=[e,"=",d].join(""),e){case "adk":case "r":case "tt":case "error":case "mtos":case "tos":case "p":case "bs":b.unshift(d);break;case "req":case "url":case "referrer":case "iframe_loc":c.push(d);break;default:b.push(d)}});return b.concat(c)},Jo=function(a){a=a.toString();Pg();Kg(C,a)};var Ko=function(){this.g=0};function Lo(a){a&&typeof a.dispose=="function"&&a.dispose()};var Mo=function(){this.N=this.N;this.J=this.J};Mo.prototype.N=!1;Mo.prototype.Ia=function(){return this.N};Mo.prototype.dispose=function(){this.N||(this.N=!0,this.R())};var L=function(a,b){No(a,Ta(Lo,b))},No=function(a,b){a.N?b():(a.J||(a.J=[]),a.J.push(b))};Mo.prototype.R=function(){if(this.J)for(;this.J.length;)this.J.shift()()};var Oo=function(a,b,c){ab(a.l,function(d){var e=a.g;if(!d.g&&(d.l(b,c),d.o())){d.g=!0;var f=d.j(),g=new Co;g.add("id","av-js");g.add("type","verif");g.add("vtype",d.A);d=Ng(Ko);g.add("i",d.g++);g.add("adk",e);Eo(g,f);e=new Ho(g);Jo(e)}})};var Po=function(){this.j=this.l=this.o=this.g=0},Qo=function(a,b,c,d){b&&(a.g+=c,a.j+=c,a.o+=c,a.l=Math.max(a.l,a.o));if(d===void 0?!b:d)a.o=0};var Ro=[1,.75,.5,.3,0],So=function(a){this.j=a=a===void 0?Ro:a;this.g=db(this.j,function(){return new Po})},Uo=function(a,b){return To(a,function(c){return c.g},b===void 0?!0:b)},Wo=function(a,b){return Vo(a,b,function(c){return c.g})},Xo=function(a,b){return To(a,function(c){return c.l},b===void 0?!0:b)},Yo=function(a,b){return Vo(a,b,function(c){return c.l})},Zo=function(a,b){return Vo(a,b,function(c){return c.j})},$o=function(a){ab(a.g,function(b){b.j=0})},ap=function(a,b,c,d,e,f,g){g=g===void 0? !0:g;c=f?Math.min(b,c):c;for(f=0;f0&&c>=h;h=!(b>0&&b>=h)||d;Qo(a.g[f],g&&k,e,!g||h)}},To=function(a,b,c){a=db(a.g,function(d){return b(d)});return c?a:bp(a)},Vo=function(a,b,c){var d=kb(a.j,function(e){return b<=e});return d==-1?0:c(a.g[d])},bp=function(a){return db(a,function(b,c,d){return c>0?d[c]-d[c-1]:d[c]})};var cp=function(){this.l=new So;this.V=new Po;this.G=this.B=-1;this.ba=1E3;this.ha=new So([1,.9,.8,.7,.6,.5,.4,.3,.2,.1,0]);this.aa=this.K=-1},dp=function(a,b){return Xo(a.l,b===void 0?!0:b)}; cp.prototype.N=function(a,b,c,d){this.B=this.B!=-1?Math.min(this.B,b.na):b.na;this.G=Math.max(this.G,b.na);this.K=this.K!=-1?Math.min(this.K,b.pb):b.pb;this.aa=Math.max(this.aa,b.pb);ap(this.ha,b.pb,c.pb,b.g,a,d);ap(this.l,b.na,c.na,b.g,a,d);c=d||c.Jd!=b.Jd?c.isVisible()&&b.isVisible():c.isVisible();b=!b.isVisible()||b.g;Qo(this.V,c,a,b)};cp.prototype.Bc=function(){return this.V.l>=this.ba};function ep(a){a=a===void 0?z:a;var b=a.context||a.AMP_CONTEXT_DATA;if(!b)try{b=a.parent.context||a.parent.AMP_CONTEXT_DATA}catch(e){}var c,d;return((c=b)==null?0:c.pageViewId)&&((d=b)==null?0:d.canonicalUrl)?b:null};if(qc&&qc.URL){var fp=qc.URL,gp;if(gp=!!fp){var hp;a:{if(fp){var ip=RegExp(".*[&#?]google_debug(=[^&]*)?(&.*)?$");try{var jp=ip.exec(decodeURIComponent(fp));if(jp){hp=jp[1]&&jp[1].length>1?jp[1].substring(1):"true";break a}}catch(a){}}hp=""}gp=hp.length>0}en.zi(!gp)}var kp=function(a,b,c,d){var e=e===void 0?!1:e;c=jn(d,c);Kf(a,b,c,{capture:e})};var lp=new tn(0,0,0,0);function mp(a,b){b=np(b);return b===0?0:np(a)/b}function np(a){return Math.max(a.bottom-a.top,0)*Math.max(a.right-a.left,0)}function op(a,b){if(!a||!b)return!1;for(var c=0;a!==null&&c++<100;){if(a===b)return!0;try{if(a=vf(a)||a){var d=$e(a),e=d&&lf(d),f=e&&e.frameElement;f&&(a=f)}}catch(g){break}}return!1} function pp(a,b,c){if(!a||!b)return!1;b=vn(a.clone(),-b.left,-b.top);a=(b.left+b.right)/2;b=(b.top+b.bottom)/2;bg(window.top)&&window.top&&window.top.document&&(window=window.top);if(!En())return!1;a=window.document.elementFromPoint(a,b);if(!a)return!1;b=(b=(b=$e(c))&&b.defaultView&&b.defaultView.frameElement)&&op(b,a);var d=a===c;a=!d&&a&&Cf(a,function(e){return e===c});return!(b||d||a)} function qp(a,b,c,d){return lo().l?!1:a.getWidth()<=0||a.getHeight()<=0?!0:c&&d?hn(208,function(){return pp(a,b,c)}):!1};var rp=new tn(0,0,0,0),tp=function(a,b,c){Mo.call(this);this.position=rp.clone();this.qg=this.Yf();this.Yh=-2;this.kn=Date.now();this.gk=-1;this.lg=b;this.kg=null;this.Qe=!1;this.yg=null;this.opacity=-1;this.Xm=c;this.ln=!1;this.Zh=function(){};this.kk=function(){};this.ub=new Df;this.ub.ed=a;this.ub.g=a;this.Sb=!1;this.xd={di:null,ci:null};this.ak=!0;this.rf=null;this.ke=this.Cm=!1;nc().N++;this.ob=this.Lh();this.ek=-1;this.sa=null;this.vj=this.zm=!1;this.ea=new gc;pc(this.ea);sp(this);this.Xm== 1?jc(this.ea,"od",1):jc(this.ea,"od",0)};w(tp,Mo);tp.prototype.R=function(){this.ub.g&&(this.xd.di&&(Lf(this.ub.g,"mouseover",this.xd.di),this.xd.di=null),this.xd.ci&&(Lf(this.ub.g,"mouseout",this.xd.ci),this.xd.ci=null));this.rf&&this.rf.dispose();this.sa&&this.sa.dispose();delete this.qg;delete this.Zh;delete this.kk;delete this.ub.ed;delete this.ub.g;delete this.xd;delete this.rf;delete this.sa;delete this.ea;Mo.prototype.R.call(this)};tp.prototype.Ed=function(){return this.sa?this.sa.g:this.position}; tp.prototype.Gg=function(a){nc().Gg(a)};tp.prototype.Hg=function(a){nc().Hg(a)};var sp=function(a){a=a.ub.ed;var b;if(b=a&&a.getAttribute)b=/-[a-z]/.test("googleAvInapp")?!1:Ce&&a.dataset?"googleAvInapp"in a.dataset:a.hasAttribute?a.hasAttribute("data-"+je()):!!a.getAttribute("data-"+je());b&&(lo().j=!0)};tp.prototype.qc=function(){return!1};tp.prototype.Yf=function(){return new cp};tp.prototype.Ya=function(){return this.qg}; var up=function(a,b){b!=a.ke&&(a.ke=b,a=lo(),b?a.B++:a.B>0&&a.B--)},vp=function(a,b){if(a.sa){if(b.getName()===a.sa.getName())return;a.sa.dispose();a.sa=null}b=b.create(a.ub.g,a.ea,a.qc());if(b=b!=null&&b.Wg()?b:null)a.sa=b},wp=function(a,b,c){if(!a.kg||a.lg==-1||b.getTimestamp()===-1||a.kg.getTimestamp()===-1)return 0;a=b.getTimestamp()-a.kg.getTimestamp();return a>c?0:a};tp.prototype.tj=function(a){return wp(this,a,1E4)}; var xp=function(a,b,c){if(a.sa){a.sa.sc();var d=a.sa.B,e=d.l,f=e.g;if(d.A!=null){var g=d.j;a.yg=new Xe(g.left-f.left,g.top-f.top)}f=a.Mg()?Math.max(d.g,d.o):d.g;g={};e.volume!==null&&(g.volume=e.volume);e=a.tj(d);a.kg=d;a.Fi(f,b,c,!1,g,e,d.C)}},yp=function(a){if(a.Qe&&a.rf){var b=kc(a.ea,"od")==1,c=lo().g,d=a.rf,e=a.sa?a.sa.getName():"ns",f=a.yg,g=new Ye(c.getWidth(),c.getHeight());c=a.Mg();a={hn:e,yg:f,xn:g,Mg:c,na:a.ob.na,rn:b};if(b=d.j){b.sc();e=b.B;f=e.l.g;var h=g=null;e.A!=null&&f&&(g=e.j,g= new Xe(g.left-f.left,g.top-f.top),h=new Ye(f.right-f.left,f.bottom-f.top));e=c?Math.max(e.g,e.o):e.g;c={hn:b.getName(),yg:g,xn:h,Mg:c,rn:!1,na:e}}else c=null;c&&Oo(d,a,c)}};l=tp.prototype;l.Fi=function(a,b,c,d,e,f,g){this.Sb||(this.Qe&&(a=this.hh(a,c,e,g),d=d&&this.ob.na>=(this.Jd()?.3:.5),this.Gi(f,a,d),this.lg=b,a.na>0&&-1===this.ek&&(this.ek=b),this.gk==-1&&this.Bc()&&(this.gk=b),this.Yh==-2&&(this.Yh=np(this.Ed())?a.na:-1),this.ob=a),this.Zh(this))}; l.Gi=function(a,b,c){this.Ya().N(a,b,this.ob,c)};l.Lh=function(){return new Bb};l.hh=function(a,b,c,d){c=this.Lh();c.g=b;b=Pg().j;b=Pf()?-1:b.isVisible()?0:1;c.j=b;c.na=this.nh(a);c.Jd=this.Jd();c.pb=d;return c};l.nh=function(a){return this.opacity===0&&kc(this.ea,"opac")===1?0:a};l.Jd=function(){return!1};l.Mg=function(){return this.zm||this.Cm};l.Jb=function(){return 0};l.Bc=function(){return this.qg.Bc()}; l.uj=function(){var a=this.Qe;a=(this.vj||this.Ia())&&!a;var b=nc().l!==2||this.ln;return this.Sb||b&&a?2:this.Bc()?4:3};l.Vf=function(){return 0};var zp=function(a,b,c){b&&(a.Zh=b);c&&(a.kk=c)};var Ap=function(){};Ap.prototype.next=function(){return Bp};var Bp={done:!0,value:void 0};Ap.prototype.Wd=function(){return this};var Cp=function(){this.o=this.g=this.l=this.j=this.A=0},Dp=function(a){var b={};b=(b.ptlt=Ua()-a.A,b);var c=a.j;c&&(b.pnk=c);(c=a.l)&&(b.pnc=c);(c=a.o)&&(b.pnmm=c);(a=a.g)&&(b.pns=a);return b};var Ep=function(){Bb.call(this);this.fullscreen=!1;this.volume=void 0;this.l=!1;this.mediaTime=-1};w(Ep,Bb);var Fp=function(a){return bo(a.volume)&&a.volume>0};var Hp=function(a,b,c,d){c=c===void 0?!0:c;d=d===void 0?function(){return!0}:d;return function(e){var f=e[a];if(Array.isArray(f)&&d(e))return Gp(f,b,c)}},Ip=function(a,b){return function(c){return b(c)?c[a]:void 0}},Jp=function(a){return function(b){for(var c=0;c0?f[e-1]+1:0,d+1).reduce(function(g,h){return g+ h},0)})};var Kp=Jp([void 0,1,2,3,4,8,16]),Lp=Jp([void 0,4,8,16]),Mp={sv:"sv",v:"v",cb:"cb",e:"e",nas:"nas",msg:"msg","if":"if",sdk:"sdk",p:"p",p0:Ip("p0",Lp),p1:Ip("p1",Lp),p2:Ip("p2",Lp),p3:Ip("p3",Lp),cp:"cp",tos:"tos",mtos:"mtos",amtos:"amtos",mtos1:Hp("mtos1",[0,2,4],!1,Lp),mtos2:Hp("mtos2",[0,2,4],!1,Lp),mtos3:Hp("mtos3",[0,2,4],!1,Lp),mcvt:"mcvt",ps:"ps",scs:"scs",bs:"bs",vht:"vht",mut:"mut",a:"a",a0:Ip("a0",Lp),a1:Ip("a1",Lp),a2:Ip("a2",Lp),a3:Ip("a3",Lp),ft:"ft",dft:"dft",at:"at",dat:"dat",as:"as", vpt:"vpt",gmm:"gmm",std:"std",efpf:"efpf",swf:"swf",nio:"nio",px:"px",nnut:"nnut",vmer:"vmer",vmmk:"vmmk",vmiec:"vmiec",nmt:"nmt",tcm:"tcm",bt:"bt",pst:"pst",vpaid:"vpaid",dur:"dur",vmtime:"vmtime",dtos:"dtos",dtoss:"dtoss",dvs:"dvs",dfvs:"dfvs",dvpt:"dvpt",fmf:"fmf",vds:"vds",is:"is",i0:"i0",i1:"i1",i2:"i2",i3:"i3",ic:"ic",cs:"cs",c:"c",c0:Ip("c0",Lp),c1:Ip("c1",Lp),c2:Ip("c2",Lp),c3:Ip("c3",Lp),mc:"mc",nc:"nc",mv:"mv",nv:"nv",qmt:Ip("qmtos",Kp),qnc:Ip("qnc",Kp),qmv:Ip("qmv",Kp),qnv:Ip("qnv",Kp), raf:"raf",rafc:"rafc",lte:"lte",ces:"ces",tth:"tth",femt:"femt",femvt:"femvt",emc:"emc",emuc:"emuc",emb:"emb",avms:"avms",nvat:"nvat",qi:"qi",psm:"psm",psv:"psv",psfv:"psfv",psa:"psa",pnk:"pnk",pnc:"pnc",pnmm:"pnmm",pns:"pns",ptlt:"ptlt",pngs:"pings",veid:"veid",ssb:"ssb",ss0:Ip("ss0",Lp),ss1:Ip("ss1",Lp),ss2:Ip("ss2",Lp),ss3:Ip("ss3",Lp),dc_rfl:"urlsigs",obd:"obd",omidp:"omidp",omidr:"omidr",omidv:"omidv",omida:"omida",omids:"omids",omidpv:"omidpv",omidam:"omidam",omidct:"omidct",omidia:"omidia", omiddc:"omiddc",omidlat:"omidlat",omiddit:"omiddit",nopd:"nopd",co:"co"},Np=Object.assign({},Mp,{avid:function(a){return function(){return a}}("audio"),avas:"avas",vs:"vs"}),Op={atos:"atos",avt:Hp("atos",[2]),davs:"davs",dafvs:"dafvs",dav:"dav",ss:function(a,b){return function(c){return c[a]===void 0&&b!==void 0?b:c[a]}}("ss",0),t:"t"};var Pp=function(){this.j=this.g=""};var Qp=function(){},Rp=function(a,b){var c={};if(a!==void 0)if(b!=null)for(var d in b){var e=b[d];d in Object.prototype||e!=null&&(c[d]=typeof e==="function"?e(a):a[e])}else $b(c,a);return Go(Eo(new Co,c))};var Sp=function(){var a={};this.j=(a.vs=[1,0],a.vw=[0,1],a.am=[2,2],a.a=[4,4],a.f=[8,8],a.bm=[16,16],a.b=[32,32],a.avw=[0,64],a.avs=[64,0],a.pv=[256,256],a.gdr=[0,512],a.p=[0,1024],a.r=[0,2048],a.m=[0,4096],a.um=[0,8192],a.ef=[0,16384],a.s=[0,32768],a.pmx=[0,16777216],a.mut=[33554432,33554432],a.umutb=[67108864,67108864],a.tvoff=[134217728,134217728],a);this.g={};for(var b in this.j)this.j[b][1]>0&&(this.g[b]=0);this.l=0}; Sp.prototype.reportEvent=function(a){var b=this.j[a],c=b[1];this.l+=b[0];c>0&&this.g[a]==0&&(this.g[a]=1)};var Tp=function(a){var b=Ob(a.j),c=0,d;for(d in a.g)lb(b,d)&&a.g[d]==1&&(c+=a.j[d][1],a.g[d]=2);return c},Up=function(a){var b=0,c;for(c in a.g){var d=a.g[c];if(d==1||d==2)b+=a.j[c][1]}return b};var Vp=function(){this.g=this.j=0};Vp.prototype.getValue=function(){return this.j};var Wp=function(a,b,c){b>=32||(a.g&1<=.5;bo(b.volume)&&(this.o=this.o!=-1?Math.min(this.o,b.volume):b.volume,this.C=Math.max(this.C,b.volume));f&&(this.L+=a,this.D+=e?a:0);ap(this.j,b.na,c.na,b.g,a,d,e);Qo(this.g,!0,a);Qo(this.A,e,a);Qo(this.F,c.fullscreen,a);Qo(this.la,e&&!f,a);a=Math.floor(b.mediaTime/1E3);Wp(this.O,a,b.isVisible());Wp(this.Y,a,b.na>=1);Wp(this.da,a,Fp(b))}};var Zp=function(){this.l=!1};Zp.prototype.j=function(a){this.l||(this.g(a)?(a=this.N.report(this.o,a),this.A|=a,a=a==0):a=!1,this.l=a)};var $p=function(a,b){this.l=!1;this.o=a;this.N=b;this.A=0};w($p,Zp);$p.prototype.g=function(){return!0};$p.prototype.C=function(){return!1};$p.prototype.getId=function(){var a=this,b=Sb(function(c){return c==a.o});return Cn[b].toString()};$p.prototype.toString=function(){var a="";this.C()&&(a+="c");this.l&&(a+="s");this.A>0&&(a+=":"+this.A);return this.getId()+a};var aq=function(a,b){$p.call(this,a,b);this.B=[]};w(aq,$p);aq.prototype.j=function(a,b){b=b===void 0?null:b;b!=null&&this.B.push(b);$p.prototype.j.call(this,a)};var bq=function(){};var cq=function(){};w(cq,bq);cq.prototype.j=function(){return null};cq.prototype.l=function(){return[]};var dq=function(a,b,c,d){xo.call(this,a,b,c,d)};w(dq,xo);l=dq.prototype;l.ih=function(){if(this.element){var a=this.element,b=this.j.g.l;try{try{var c=$n(a.getBoundingClientRect())}catch(m){c=new tn(0,0,0,0)}var d=c.right-c.left,e=c.bottom-c.top,f=Sn(a,b),g=f.x,h=f.y;var k=new tn(Math.round(h),Math.round(g+d),Math.round(h+e),Math.round(g))}catch(m){k=lp.clone()}this.g=k}};l.gj=function(){this.o=this.j.o.g};l.yj=function(a){var b=kc(this.ea,"od")==1;return qp(a,this.o,this.element,b)}; l.hj=function(){this.timestamp=rn()}; l.sc=function(){this.hj();this.ih();if(this.element&&typeof this.element.videoWidth==="number"&&typeof this.element.videoHeight==="number"){var a=this.element;var b=new Ye(a.videoWidth,a.videoHeight);a=this.g;var c=a.getWidth(),d=a.getHeight(),e=b.width;b=b.height;e<=0||b<=0||c<=0||d<=0||(e/=b,b=c/d,a=a.clone(),e>b?(c/=e,d=(d-c)/2,d>0&&(d=a.top+d,a.top=Math.round(d),a.bottom=Math.round(d+c))):(d*=e,c=Math.round((c-d)/2),c>0&&(c=a.left+c,a.left=Math.round(c),a.right=Math.round(c+d))));this.g=a}this.gj(); a=this.g;c=this.o;a=a.left<=c.right&&c.left<=a.right&&a.top<=c.bottom&&c.top<=a.bottom?new tn(Math.max(a.top,c.top),Math.min(a.right,c.right),Math.min(a.bottom,c.bottom),Math.max(a.left,c.left)):new tn(0,0,0,0);c=a.top>=a.bottom||a.left>=a.right?new tn(0,0,0,0):a;a=this.j.o;b=e=d=0;(this.g.bottom-this.g.top)*(this.g.right-this.g.left)>0&&(this.yj(c)?c=new tn(0,0,0,0):(d=lo().A,b=new tn(0,d.height,d.width,0),d=mp(c,this.g),e=mp(c,lo().g),b=mp(c,b)));c=c.top>=c.bottom||c.left>=c.right?new tn(0,0,0, 0):vn(c,-this.g.left,-this.g.top);mo()||(e=d=0);this.B=new xn(a,this.element,this.g,c,d,e,this.timestamp,b)};l.getName=function(){return this.j.getName()};var eq=new tn(0,0,0,0),fq=function(a,b,c){xo.call(this,null,a,b,c);this.C=a.isActive();this.A=0};w(fq,dq);l=fq.prototype;l.Wg=function(){this.l();return!0};l.Xc=function(){dq.prototype.sc.call(this)};l.hj=function(){};l.ih=function(){};l.sc=function(){this.l();dq.prototype.sc.call(this)};l.he=function(a){a=a.isActive();a!==this.C&&(a?this.l():(lo().g=new tn(0,0,0,0),this.g=new tn(0,0,0,0),this.o=new tn(0,0,0,0),this.timestamp=-1));this.C=a};function gq(a){return[a.top,a.left,a.bottom,a.right]} var hq={},iq=(hq.firstquartile=0,hq.midpoint=1,hq.thirdquartile=2,hq.complete=3,hq),jq=function(a,b,c,d,e,f){f=f===void 0?new cq:f;tp.call(this,b,c,d);this.ji=e;this.vh=0;this.La={};this.ya=new Sp;this.sk={};this.Ra="";this.md=null;this.Eb=!1;this.g=[];this.Dc=f.j();this.C=f.l();this.A=null;this.o=-1;this.ba=this.F=void 0;this.K=this.G=0;this.O=-1;this.Aa=this.xa=!1;this.aa=this.D=this.j=this.Ee=this.Xa=0;this.Qb=this.Y=-1;this.Wa=0;this.Ga=new So;this.T=this.ha=this.da=0;this.la=-1;this.Pa=0;this.B= De;this.L=[this.Yf()];this.Uc=2;this.Ud={};this.Ud.pause="p";this.Ud.resume="r";this.Ud.skip="s";this.Ud.mute="m";this.Ud.unmute="um";this.Ud.exitfullscreen="ef";this.l=null;this.sb=this.Ua=!1;this.Tc=Math.floor(Date.now()/1E3-1704067200);this.V=0};w(jq,tp);jq.prototype.qc=function(){return!0};var kq=function(a){a.vj=!0;a.Pa!=0&&(a.Pa=3)},lq=function(a){return a===void 0?a:Number(a)?Zn(a,3):0};l=jq.prototype;l.tj=function(a){return wp(this,a,Math.max(1E4,this.o/3))}; l.Fi=function(a,b,c,d,e,f,g){var h=this,k=this.B(this)||{};$b(k,e);this.o=k.duration||this.o;this.F=k.isVpaid||this.F;this.ba=k.isYouTube||this.ba;Pg();this.sb=!1;e=mq(this,b);nq(this)===1&&(f=e);tp.prototype.Fi.call(this,a,b,c,d,k,f,g);this.Dc&&this.Dc.l&&ab(this.C,function(m){m.j(h)})}; l.Gi=function(a,b,c){tp.prototype.Gi.call(this,a,b,c);oq(this).N(a,b,this.ob,c);this.Aa=Fp(this.ob)&&Fp(b);this.O==-1&&this.xa&&(this.O=this.Ya().g.g);this.ya.l=0;a=this.Bc();b.isVisible()&&this.ya.reportEvent("vs");a&&this.ya.reportEvent("vw");bo(b.volume)&&this.ya.reportEvent("am");Fp(b)?this.ya.reportEvent("a"):this.ya.reportEvent("mut");this.ke&&this.ya.reportEvent("f");b.j!=-1&&(this.ya.reportEvent("bm"),b.j==1&&(this.ya.reportEvent("b"),Fp(b)&&this.ya.reportEvent("umutb")));Fp(b)&&b.isVisible()&& this.ya.reportEvent("avs");this.Aa&&a&&this.ya.reportEvent("avw");b.na>0&&this.ya.reportEvent("pv");pq(this,this.Ya().g.g,!0)&&this.ya.reportEvent("gdr");Yo(this.Ya().l,1)>=2E3&&this.ya.reportEvent("pmx");this.sb&&this.ya.reportEvent("tvoff")};l.Yf=function(){return new Xp};l.Ya=function(){return this.qg};var oq=function(a,b){return a.L[b!=null&&b=0?c:-1;return a}; var nq=function(a){var b=!!kc(nc().ea,"umt");return a.F||!b&&!a.ba?0:1},mq=function(a,b){a.Pa==2?b=0:a.lg==-1?b=0:(b-=a.lg,b=b>Math.max(1E4,a.o/3)?0:b);var c=a.B(a)||{};c=c.currentTime!==void 0?c.currentTime:a.G;var d=c-a.G,e=0;d>=0?(a.K+=b,a.T+=Math.max(b-d,0),e=Math.min(d,a.K)):a.ha+=Math.abs(d);d!=0&&(a.K=0);a.la==-1&&d>0&&(a.la=pn>=0?rn()-pn:-1);a.G=c;return e};jq.prototype.nh=function(a){return lo().N?0:this.ke?1:tp.prototype.nh.call(this,a)};jq.prototype.Jb=function(){return 1}; jq.prototype.getDuration=function(){return this.o}; var qq=function(a,b){fb(a.C,function(c){return c.o==b.o})||a.C.push(b)},rq=function(a){var b=Wo(a.Ya().j,1);return pq(a,b)},pq=function(a,b,c){return b>=15E3?!0:a.xa?(c===void 0?0:c)?!0:a.o>0?b>=a.o/2:a.O>0?b>=a.O:!1:!1},sq=function(a){var b={},c=lo();b.insideIframe=c.l;b.unmeasurable=a.Sb;b.position=a.Ed();b.exposure=a.ob.na;b.documentSize=c.o;b.viewportSize=new Ye(c.g.getWidth(),c.g.getHeight());a.l!=null&&(b.presenceData=a.l);b.screenShare=a.ob.pb;return b},zq=function(a){var b=Zn(a.ob.na,2),c= a.ya.l,d=a.ob,e=oq(a),f=lq(e.o),g=lq(e.C),h=lq(d.volume),k=Zn(e.B,2),m=Zn(e.G,2),n=Zn(d.na,2),p=Zn(e.K,2),r=Zn(e.aa,2);d=Zn(d.pb,2);a=a.Ed().clone();a.round();e=dp(e,!1);return{wn:b,Ye:c,sg:f,ng:g,Ke:h,tg:k,og:m,na:n,ug:p,pg:r,pb:d,position:a,vg:e}},Bq=function(a,b){Aq(a.g,b,function(){return{wn:0,Ye:void 0,sg:-1,ng:-1,Ke:-1,tg:-1,og:-1,na:-1,ug:-1,pg:-1,pb:-1,position:void 0,vg:[]}});a.g[b]=zq(a)},Aq=function(a,b,c){for(var d=a.length;d0?1:0;n.atos=Uo(k.j);n.ssb=Uo(k.ha,!1);n.amtos=Xo(k.j,!1);n.uac=a.Xa;n.vpt=k.g.g;m=="nio"&&(n.nio=1,n.avms="nio");n.gmm="4";n.gdr=pq(a,k.g.g,!0)?1:0;n.efpf=a.Uc;if(m=="gsv"||m=="nis")f=a.sa,f.A>0&&(n.nnut=f.A);n.tcm=nq(a);n.nmt=a.ha;n.bt=a.T;n.pst=a.la;n.vpaid=a.F;n.dur=a.o;n.vmtime=a.G;n.is=a.ya.l;a.g.length>=1&&(n.i0=a.g[0].Ye,n.a0=[a.g[0].Ke],n.c0=[a.g[0].na],n.ss0= [a.g[0].pb],f=a.g[0].position,n.p0=f?gq(f):void 0);a.g.length>=2&&(n.i1=a.g[1].Ye,n.a1=Fq(a.g[1].sg,a.g[1].Ke,a.g[1].ng),n.c1=Fq(a.g[1].tg,a.g[1].na,a.g[1].og),n.ss1=Fq(a.g[1].ug,a.g[1].pb,a.g[1].pg),f=a.g[1].position,n.p1=f?gq(f):void 0,n.mtos1=a.g[1].vg);a.g.length>=3&&(n.i2=a.g[2].Ye,n.a2=Fq(a.g[2].sg,a.g[2].Ke,a.g[2].ng),n.c2=Fq(a.g[2].tg,a.g[2].na,a.g[2].og),n.ss2=Fq(a.g[2].ug,a.g[2].pb,a.g[2].pg),f=a.g[2].position,n.p2=f?gq(f):void 0,n.mtos2=a.g[2].vg);a.g.length>=4&&(n.i3=a.g[3].Ye,n.a3=Fq(a.g[3].sg, a.g[3].Ke,a.g[3].ng),n.c3=Fq(a.g[3].tg,a.g[3].na,a.g[3].og),n.ss3=Fq(a.g[3].ug,a.g[3].pb,a.g[3].pg),f=a.g[3].position,n.p3=f?gq(f):void 0,n.mtos3=a.g[3].vg);n.cs=Up(a.ya);b&&(n.ic=Tp(a.ya),n.dvpt=k.g.j,n.dvs=Zo(k.l,.5),n.dfvs=Zo(k.l,1),n.davs=Zo(k.j,.5),n.dafvs=Zo(k.j,1),c&&(k.g.j=0,$o(k.l),$o(k.j)),a.Bc()&&(n.dtos=k.L,n.dav=k.D,n.dtoss=a.vh+1,c&&(k.L=0,k.D=0,a.vh++)),n.dat=k.A.j,n.dft=k.F.j,c&&(k.A.j=0,k.F.j=0));n.ps=[g.o.width,g.o.height];n.bs=[g.g.getWidth(),g.g.getHeight()];n.scs=[g.A.width,g.A.height]; n.dom=g.domain;a.Ee&&(n.vds=a.Ee);if(a.C.length>0||a.Dc)b=rb(a.C),a.Dc&&b.push(a.Dc),n.pings=db(b,function(p){return p.toString()});b=db(cb(a.C,function(p){return p.C()}),function(p){return p.getId()});sb(b);n.ces=b;a.j&&(n.vmer=a.j);a.D&&(n.vmmk=a.D);a.aa&&(n.vmiec=a.aa);n.avms=a.sa?a.sa.getName():"ns";a.sa&&$b(n,a.sa.Vc());h.g&&(n.femt=a.Y,n.femvt=a.Qb,n.emc=a.Wa,n.emb=Uo(a.Ga,!1),n.emuc=a.da,n.avms="exc");d?(n.c=Zn(a.ob.na,2),n.ss=Zn(a.ob.pb,2)):n.tth=rn()-on;n.mc=Zn(k.G,2);n.nc=Zn(k.B,2);n.mv= lq(k.C);n.nv=lq(k.o);n.lte=Zn(a.Yh,2);d=oq(a,e);dp(k);n.qmtos=dp(d);n.qnc=Zn(d.B,2);n.qmv=lq(d.C);n.qnv=lq(d.o);n.qas=d.o>0?1:0;n.qi=a.Ra;n.avms||(n.avms="geo");n.psm=k.O.g;n.psv=k.O.getValue();n.psfv=k.Y.getValue();n.psa=k.da.getValue();h=mc(h.ea);h.length&&(n.veid=h);a.l&&$b(n,Dp(a.l));n.avas=a.Vf();n.vs=a.uj();n.co=Gq(a);return n},Cq=function(a,b){if(lb(Bn,b))return!0;var c=a.La[b];return c!==void 0?(a.La[b]=!0,!c):!1};jq.prototype.uj=function(){return this.Sb?2:rq(this)?5:this.Bc()?4:3}; jq.prototype.Vf=function(){return this.Ua?this.Ya().A.l>=2E3?4:3:2};var Gq=function(a){var b=a.V.toString(10).padStart(2,"0");b=""+a.Tc+b;a.V<99&&a.V++;return b};var Hq=Ua(),Kq=function(){this.g={};var a=lf();Iq(this,a,document);var b=Jq();try{if("1"==b){for(var c=a.parent;c!=a.top;c=c.parent)Iq(this,c,c.document);Iq(this,a.top,a.top.document)}}catch(d){}},Jq=function(){var a=document.documentElement;try{if(!bg(lf().top))return"2";var b=[],c=lf(a.ownerDocument);for(a=c;a!=c.top;a=a.parent)if(a.frameElement)b.push(a.frameElement);else break;return b&&b.length!=0?"1":"0"}catch(d){return"2"}},Iq=function(a,b,c){kp(c,"mousedown",function(){return Lq(a)},301); kp(b,"scroll",function(){return Mq(a)},302);kp(c,"touchmove",function(){return Nq(a)},303);kp(c,"mousemove",function(){return Oq(a)},304);kp(c,"keydown",function(){return Pq(a)},305)},Lq=function(a){Ib(a.g,function(b){b.l>1E5||++b.l})},Mq=function(a){Ib(a.g,function(b){b.g>1E5||++b.g})},Nq=function(a){Ib(a.g,function(b){b.g>1E5||++b.g})},Pq=function(a){Ib(a.g,function(b){b.j>1E5||++b.j})},Oq=function(a){Ib(a.g,function(b){b.o>1E5||++b.o})};var Qq=function(){this.g=[];this.j=[]},Rq=function(a,b){return gb(a.g,function(c){return c.Ra==b})},Sq=function(a,b){return b?gb(a.g,function(c){return c.ub.ed==b}):null},Tq=function(a,b){return gb(a.j,function(c){return c.Jb()==2&&c.Ra==b})},Vq=function(){var a=Uq;return a.g.length==0?a.j:a.j.length==0?a.g:qb(a.j,a.g)};Qq.prototype.reset=function(){this.g=[];this.j=[]}; var Wq=function(a,b){a=b.Jb()==1?a.g:a.j;var c=ib(a,function(d){return d==b});return c!=-1?(a.splice(c,1),b.sa&&b.sa.vf(),b.dispose(),!0):!1},Xq=function(a){var b=Uq;if(Wq(b,a)){switch(a.Jb()){case 0:var c=function(){return null};case 2:c=function(){return Tq(b,a.Ra)};break;case 1:c=function(){return Rq(b,a.Ra)}}for(var d=c();d;d=c())Wq(b,d)}},Yq=function(a){var b=Uq;a=cb(a,function(c){return!Sq(b,c.ub.ed)});b.g.push.apply(b.g,u(a))},Zq=function(a){var b=[];ab(a,function(c){fb(Uq.g,function(d){return d.ub.ed=== c.ub.ed&&d.Ra===c.Ra})||(Uq.g.push(c),b.push(c))})},Uq=Ng(Qq);var $q=function(a,b,c,d){xo.call(this,a,b,c,d);this.l=this.A=0};w($q,xo);$q.prototype.getName=function(){return"exc"};$q.prototype.sc=function(){this.B=new xn(this.j.o,this.element,this.g,new tn(0,0,0,0),this.A,0,rn(),this.l)};var ar=function(){yo.call(this,new po(C,2))};w(ar,yo);ar.prototype.getName=function(){return"exc"};ar.prototype.Xg=function(){return!0};ar.prototype.Vd=function(){return!0};ar.prototype.Ge=function(a,b,c){return new $q(a,this.g,b,c)};var br=function(){this.g=this.j=null},cr=function(a,b){if(a.j==null)return!1;var c=function(d,e){b(d,e)};a.g=gb(a.j,function(d){return d!=null&&d.Xg()});a.g&&(a.g.init(c)?to(a.g.g):b(a.g.g.ee(),a.g));return a.g!=null};var er=function(a){a=dr(a);yo.call(this,a.length?a[a.length-1]:new po(C,0));this.l=a;this.j=null};w(er,yo);l=er.prototype;l.getName=function(){return(this.j?this.j:this.g).getName()};l.Vc=function(){return(this.j?this.j:this.g).Vc()};l.xc=function(){return(this.j?this.j:this.g).xc()};l.init=function(a){var b=!1;ab(this.l,function(c){c.K()&&(b=!0)});b&&(this.o=a,so(this.g,this));return b};l.dispose=function(){ab(this.l,function(a){a.dispose()});yo.prototype.dispose.call(this)}; l.Xg=function(){return fb(this.l,function(a){return a.F()})};l.Vd=function(){return fb(this.l,function(a){return a.F()})};l.Ge=function(a,b,c){return new dq(a,this.g,b,c)};l.Xc=function(a){this.j=a.j};var dr=function(a){if(!a.length)return[];a=cb(a,function(c){return c!=null&&c.F()});for(var b=1;bc.time?b:c},a[0])};l=gr.prototype;l.sc=function(){var a=ir(this);a.length>0&&jr(this,a);dq.prototype.sc.call(this)};l.ih=function(){}; l.yj=function(){return!1};l.gj=function(){};l.Vc=function(){var a={};return Object.assign(this.j.Vc(),(a.niot_obs=this.N,a.niot_cbk=this.J,a))};l.getName=function(){return"nio"};var lr=function(a){a=a===void 0?C:a;yo.call(this,new po(a,2))};w(lr,yo);lr.prototype.getName=function(){return"nio"};lr.prototype.Vd=function(){return!lo().j&&this.g.g.l.IntersectionObserver!=null};lr.prototype.Ge=function(a,b,c){return new gr(a,this.g,b,c)};var nr=function(){var a=mr();po.call(this,C.top,a,"geo")};w(nr,po);nr.prototype.ha=function(){return lo().g};nr.prototype.F=function(){var a=mr();this.N!==a&&(this.g!=this&&a>this.g.N&&(this.g=this,qo(this)),this.N=a);return a==2};var mr=function(){nc();var a=lo();return a.l||a.j?0:2};var or=function(){};var pr=function(){this.done=!1;this.g={rl:0,Wi:0,Jp:0,oj:0,Oh:-1,Kl:0,Jl:0,Ll:0,gn:0};this.A=null;this.C=!1;this.l=null;this.B=0;this.j=new no(this)},sr=function(){var a=qr;a.C||(a.C=!0,rr(a,function(){return a.o.apply(a,u(Da.apply(0,arguments)))}),a.o())};pr.prototype.sample=function(){tr(this,Vq(),!1)}; var ur=function(){Ng(or);var a=Ng(br);a.g!=null&&a.g.g?to(a.g.g):ho(lo())},tr=function(a,b,c){if(!a.done&&(a.j.cancel(),b.length!=0)){a.l=null;try{ur();var d=rn();nc().J=d;if(Ng(br).g!=null)for(var e=0;e=0?rn()-nn:-1,h=rn();e.g.Oh==-1&&(g=h);var k=lo(),m=nc(),n=lc(m.ea),p=Vq();try{if(p.length>0){var r= k.g;r&&(n.bs=[r.getWidth(),r.getHeight()]);var t=k.o;t&&(n.ps=[t.width,t.height]);C.screen&&(n.scs=[C.screen.width,C.screen.height])}else n.url=encodeURIComponent(C.location.href.substring(0,512)),f.referrer&&(n.referrer=encodeURIComponent(f.referrer.substring(0,512)));n.tt=g;n.pt=nn;n.bin=m.l;C.google_osd_load_pub_page_exp!==void 0&&(n.olpp=C.google_osd_load_pub_page_exp);n.deb=[1,e.g.rl,e.g.Wi,e.g.oj,e.g.Oh,0,e.j.j,e.g.Kl,e.g.Jl,e.g.Ll,e.g.gn,-1].join(";");n.tvt=vr(e,h);k.j&&(n.inapp=1);if(C!== null&&C!=C.top){p.length>0&&(n.iframe_loc=encodeURIComponent(C.location.href.substring(0,512)));var v=k.J;n.is=[v.getWidth(),v.getHeight()]}}catch(A){n.error=1}qr.l=n}r=Yb(qr.l);t=nc().j;kc(t.l,"prf")==1?(v=new Fm,e=t.g,f=0,e.g>-1&&(f=e.l.g.g()-e.g),v=vk(v,1,mj(e.o+f),0),e=t.g,v=Vk(v,5,e.g>-1?e.j+1:e.j),v=Yk(v,2,t.j.g.o()),v=Yk(v,3,t.j.g.l()),t=Yk(v,4,t.j.g.j()),v={},t=(v.pf=ih(t.g()),v)):t={};$b(r,t);$b(b,d,c,r,a())}])},qr=Ng(pr);var zr=null,Ar="",Br=!1,Cr=function(){var a=zr||C;if(!a)return"";var b=[];if(!a.location||!a.location.href)return"";b.push("url="+encodeURIComponent(a.location.href.substring(0,512)));a.document&&a.document.referrer&&b.push("referrer="+encodeURIComponent(a.document.referrer.substring(0,512)));return b.join("&")};function Dr(){var a="av.default_js_unreleased_RCxx".match(/_(\d{8})_RC\d+$/)||"av.default_js_unreleased_RCxx".match(/_(\d{8})_\d+_\d+$/)||"av.default_js_unreleased_RCxx".match(/_(\d{8})_\d+\.\d+$/)||"av.default_js_unreleased_RCxx".match(/_(\d{8})_\d+_RC\d+$/),b;if(((b=a)==null?void 0:b.length)==2)return a[1];a="av.default_js_unreleased_RCxx".match(/.*_(\d{2})\.(\d{4})\.\d+_RC\d+$/);var c;return((c=a)==null?void 0:c.length)==3?"20"+a[1]+a[2]:null} var Er=function(){return"ima_html5_sdk".includes("ima_html5_sdk")?{Yb:"ima",Zb:null}:"ima_html5_sdk".includes("ima_native_sdk")?{Yb:"nima",Zb:null}:"ima_html5_sdk".includes("admob-native-video-javascript")?{Yb:"an",Zb:null}:"av.default_js_unreleased_RCxx".includes("cast_js_sdk")?{Yb:"cast",Zb:Dr()}:"av.default_js_unreleased_RCxx".includes("youtube.player.web")?{Yb:"yw",Zb:Dr()}:"av.default_js_unreleased_RCxx".includes("outstream_web_client")?{Yb:"out",Zb:Dr()}:"av.default_js_unreleased_RCxx".includes("drx_rewarded_web")? {Yb:"r",Zb:Dr()}:"av.default_js_unreleased_RCxx".includes("gam_native_web_video")?{Yb:"n",Zb:Dr()}:"av.default_js_unreleased_RCxx".includes("admob_interstitial_video")?{Yb:"int",Zb:Dr()}:{Yb:"j",Zb:null}},Fr=Er().Yb,Gr=Er().Zb;var Ir=function(a,b){var c={sv:"962"};Gr!==null&&(c.v=Gr);c.cb=Fr;c.nas=Uq.g.length;c.msg=a;b!==void 0&&(a=Hr(b))&&(c.e=Cn[a]);return c},Jr=function(a){return a.lastIndexOf("custom_metric_viewable",0)==0},Hr=function(a){var b=Jr(a)?"custom_metric_viewable":a.toLowerCase();return Sb(function(c){return c==b})};var Kr={Zn:"visible",Nn:"audible",ep:"time",fp:"timetype"},Lr={visible:function(a){return/^(100|[0-9]{1,2})$/.test(a)},audible:function(a){return a=="0"||a=="1"},timetype:function(a){return a=="mtos"||a=="tos"},time:function(a){return/^(100|[0-9]{1,2})%$/.test(a)||/^([0-9])+ms$/.test(a)}},Mr=function(){this.g=void 0;this.j=!1;this.l=0;this.o=-1;this.A="tos"},Nr=function(a){try{var b=a.split(",");return b.length>Ob(Kr).length?null:eb(b,function(c,d){d=d.toLowerCase().split("=");if(d.length!=2||Lr[d[0]]=== void 0||!Lr[d[0]](d[1]))throw Error("Entry ("+d[0]+", "+d[1]+") is invalid.");c[d[0]]=d[1];return c},{})}catch(c){return null}},Or=function(a,b){if(a.g==void 0)return 0;switch(a.A){case "mtos":return a.j?Yo(b.j,a.g):Yo(b.l,a.g);case "tos":return a.j?Wo(b.j,a.g):Wo(b.l,a.g)}return 0};var Pr=function(a,b,c,d){$p.call(this,b,d);this.B=a;this.J=c};w(Pr,$p);Pr.prototype.getId=function(){return this.B};Pr.prototype.C=function(){return!0};Pr.prototype.g=function(a){var b=a.Ya(),c=a.getDuration();return fb(this.J,function(d){if(d.g!=void 0)var e=Or(d,b);else b:{switch(d.A){case "mtos":e=d.j?b.A.l:b.g.g;break b;case "tos":e=d.j?b.A.g:b.g.g;break b}e=0}e==0?d=!1:(d=d.l!=-1?d.l:c!==void 0&&c>0?d.o*c:-1,d=d!=-1&&e>=d);return d})};var Qr=function(){};w(Qr,Qp);Qr.prototype.g=function(a){var b=new Pp;b.g=Rp(a,Mp);b.j=Rp(a,Op);return b};var Rr=function(a){$p.call(this,"fully_viewable_audible_half_duration_impression",a)};w(Rr,$p);Rr.prototype.g=function(a){return rq(a)};var Sr=function(a){this.g=a};w(Sr,bq);var Tr=function(a,b){$p.call(this,a,b)};w(Tr,$p);Tr.prototype.g=function(a){return a.Ya().Bc()};var Ur=function(a){aq.call(this,"measurable_impression",a)};w(Ur,aq);Ur.prototype.g=function(a){var b=lb(this.B,kc(nc().ea,"ovms"));return!a.Sb&&(a.Pa!=0||b)};var Vr=function(){Sr.apply(this,arguments)};w(Vr,Sr);Vr.prototype.j=function(){return new Ur(this.g)};Vr.prototype.l=function(){return[new Tr("viewable_impression",this.g),new Rr(this.g)]};var Wr=function(a,b,c){fq.call(this,a,b,c)};w(Wr,fq);Wr.prototype.l=function(){var a=Ja("ima.admob.getViewability"),b=kc(this.ea,"queryid");typeof a==="function"&&b&&a(b)};Wr.prototype.getName=function(){return"gsv"};var Xr=function(a){a=a===void 0?C:a;yo.call(this,new po(a,2))};w(Xr,yo);Xr.prototype.getName=function(){return"gsv"};Xr.prototype.Vd=function(){var a=lo();nc();return a.j&&!1};Xr.prototype.Ge=function(a,b,c){return new Wr(this.g,b,c)};var Yr=function(a,b,c){fq.call(this,a,b,c)};w(Yr,fq);Yr.prototype.l=function(){var a=this,b=Ja("ima.bridge.getNativeViewability"),c=kc(this.ea,"queryid");typeof b==="function"&&c&&b(c,function(d){Vb(d)&&a.A++;var e=d.opt_nativeViewVisibleBounds||{},f=d.opt_nativeViewHidden;a.g=ao(d.opt_nativeViewBounds||{});var g=a.j.o;g.g=f?eq.clone():ao(e);a.timestamp=d.opt_nativeTime||-1;lo().g=g.g;d=d.opt_nativeVolume;d!==void 0&&(g.volume=d)})};Yr.prototype.getName=function(){return"nis"};var Zr=function(a){a=a===void 0?C:a;yo.call(this,new po(a,2))};w(Zr,yo);Zr.prototype.getName=function(){return"nis"};Zr.prototype.Vd=function(){var a=lo();nc();return a.j&&!1};Zr.prototype.Ge=function(a,b,c){return new Yr(this.g,b,c)};var $r=function(){po.call(this,C,2,"mraid");this.la=0;this.aa=this.O=!1;this.J=null;this.j=Dn(this.l);this.o.g=new tn(0,0,0,0);this.xa=!1};w($r,po);$r.prototype.F=function(){return this.j.Kb!=null};$r.prototype.ba=function(){var a={};this.la&&(a.mraid=this.la);this.O&&(a.mlc=1);a.mtop=this.j.fn;this.J&&(a.mse=this.J);this.xa&&(a.msc=1);a.mcp=this.j.Nf;return a}; $r.prototype.B=function(a){var b=Da.apply(1,arguments);try{return this.j.Kb[a].apply(this.j.Kb,b)}catch(c){kn(538,c,.01,function(d){d.method=a})}};var as=function(a,b,c){a.B("addEventListener",b,c)}; $r.prototype.K=function(){var a=this;if(this.G)return!this.Ue();this.G=!0;if(this.j.Nf===2)return this.J="ng",ro(this,"w"),!1;if(this.j.Nf===1)return this.J="mm",ro(this,"w"),!1;lo().D=!0;this.l.document.readyState&&this.l.document.readyState=="complete"?bs(this):kp(this.l,"load",function(){Pg().setTimeout(jn(292,function(){return bs(a)}),100)},292);return!0}; var bs=function(a){nc().C=!!a.B("isViewable");as(a,"viewableChange",cs);a.B("getState")==="loading"?as(a,"ready",ds):es(a)},es=function(a){typeof a.j.Kb.AFMA_LIDAR==="string"?(a.O=!0,fs(a)):(a.j.Nf=3,a.J="nc",ro(a,"w"))},fs=function(a){a.aa=!1;var b=kc(nc().ea,"rmmt")==1,c=!!a.B("isViewable");(b?!c:1)&&Pg().setTimeout(jn(524,function(){a.aa||(gs(a),kn(540,Error()),a.J="mt",ro(a,"w"))}),500);hs(a);as(a,a.j.Kb.AFMA_LIDAR,is)},hs=function(a){var b=kc(nc().ea,"sneio")==1,c=a.j.Kb.AFMA_LIDAR_EXP_1!==void 0, d=a.j.Kb.AFMA_LIDAR_EXP_2!==void 0;(b=b&&d)&&(a.j.Kb.AFMA_LIDAR_EXP_2=!0);c&&(a.j.Kb.AFMA_LIDAR_EXP_1=!b)},gs=function(a){a.B("removeEventListener",a.j.Kb.AFMA_LIDAR,is);a.O=!1};$r.prototype.V=function(){var a=lo(),b=js(this,"getMaxSize");a.g=new tn(0,b.width,b.height,0)};$r.prototype.da=function(){lo().A=js(this,"getScreenSize")}; var js=function(a,b){if(a.B("getState")==="loading")return new Ye(-1,-1);b=a.B(b);if(!b)return new Ye(-1,-1);a=parseInt(b.width,10);b=parseInt(b.height,10);return isNaN(a)||isNaN(b)?new Ye(-1,-1):new Ye(a,b)};$r.prototype.dispose=function(){gs(this);po.prototype.dispose.call(this)}; var ds=function(){try{var a=Ng($r);a.B("removeEventListener","ready",ds);es(a)}catch(b){kn(541,b)}},is=function(a,b){try{var c=Ng($r);c.aa=!0;var d=a?new tn(a.y,a.x+a.width,a.y+a.height,a.x):new tn(0,0,0,0);var e=rn(),f=mo();var g=new wn(e,f,c);g.g=d;g.volume=b;c.Xc(g)}catch(h){kn(542,h)}},cs=function(a){var b=nc(),c=Ng($r);a&&!b.C&&(b.C=!0,c.xa=!0,c.J&&ro(c,"w",!0))};var ks=function(a){this.key=a;this.defaultValue=!1;this.valueType="boolean"};var ls=new ks("45381479"),ms=new ks("45378663");var os=function(){this.K=!1;this.G="";this.l=!1;this.g=this.j=null;var a={};this.O=(a.start=this.lm,a.firstquartile=this.gm,a.midpoint=this.im,a.thirdquartile=this.mm,a.complete=this.dm,a.error=this.em,a.pause=this.ii,a.resume=this.Sj,a.skip=this.km,a.viewable_impression=this.fc,a.mute=this.Ce,a.unmute=this.Ce,a.fullscreen=this.hm,a.exitfullscreen=this.fm,a.fully_viewable_audible_half_duration_impression=this.fc,a.measurable_impression=this.fc,a.abandon=this.ii,a.engagedview=this.fc,a.impression= this.fc,a.creativeview=this.fc,a.progress=this.Ce,a.custom_metric_viewable=this.fc,a.bufferstart=this.ii,a.bufferfinish=this.Sj,a.audio_measurable=this.fc,a.audio_audible=this.fc,a);a={};this.V=(a.overlay_resize=this.jm,a.abandon=this.Mh,a.close=this.Mh,a.collapse=this.Mh,a.overlay_unmeasurable_impression=function(b){return Eq(b,"overlay_unmeasurable_impression",mo())},a.overlay_viewable_immediate_impression=function(b){return Eq(b,"overlay_viewable_immediate_impression",mo())},a.overlay_unviewable_impression= function(b){return Eq(b,"overlay_unviewable_impression",mo())},a.overlay_viewable_end_of_session_impression=function(b){return Eq(b,"overlay_viewable_end_of_session_impression",mo())},a);nc().l=3;ns(this)};os.prototype.o=function(a){up(a,!1);Xq(a)};os.prototype.A=function(){};var ps=function(a,b,c,d){a=a.B(null,d,!0,b);a.A=c;Yq([a]);return a}; os.prototype.B=function(a,b,c,d){var e=this;a=new jq(C,a,c?b:-1,7,this.oh(),this.nj());a.Ra=d;ic(a.ea);jc(a.ea,"queryid",a.Ra);a.Gg(this.G);zp(a,function(){return e.aa.apply(e,u(Da.apply(0,arguments)))},function(){return e.T.apply(e,u(Da.apply(0,arguments)))});(d=Ng(br).g)&&vp(a,d);a.ub.ed&&Ng(or);return a}; var qs=function(a,b,c){xb(b);var d=a.g;ab(b,function(e){var f=db(e.j,function(g){var h=Nr(g);if(h==null)g=null;else if(g=new Mr,h.visible!=null&&(g.g=h.visible/100),h.audible!=null&&(g.j=h.audible==1),h.time!=null){var k=h.timetype=="mtos"?"mtos":"tos",m=tc(h.time,"%")?"%":"ms";h=parseInt(h.time,10);m=="%"&&(h/=100);m=="ms"?(g.l=h,g.o=-1):(g.l=-1,g.o=h);g.A=k===void 0?"tos":k}return g});fb(f,function(g){return g==null})||qq(c,new Pr(e.id,e.g,f,d))})},rs=function(){var a=[],b=nc();b.g||a.push(Ng(nr)); kc(b.ea,"mvp_lv")&&a.push(Ng($r));var c=[new Xr,new Zr];b.g&&c.push(new ar);c.push(new er(a));b.g||c.push(new lr(C));return c},us=function(a){if(!a.K){a.K=!0;try{var b=rn(),c=nc(),d=lo();nn=b;c.A=79463069;a.j!=="o"&&(zr=rg(C));if(Qg()){qr.g.Wi=0;qr.g.Oh=rn()-b;var e=rs(),f=Ng(br);f.j=e;cr(f,function(){ts()})?qr.done||(xr(),so(f.g.g,a),sr()):d.l&&!c.g?ts():sr()}else Br=!0}catch(g){throw Uq.reset(),g;}}},vs=function(a){qr.j.cancel();Ar=a;qr.done=!0},ws=function(a){if(a.j)return a.j;var b=Ng(br).g;if(b)switch(b.getName()){case "nis":a.j= "n";break;case "gsv":a.j="m"}a.j||(a.j="h");return a.j},xs=function(a,b,c){if(a.g==null)return b.Ee|=4,!1;a=a.g.report(c,b);b.Ee|=a;return a==0};os.prototype.he=function(a){switch(a.xc()){case 0:if(a=Ng(br).g)a=a.g,nb(a.C,this),a.D&&this.qc()&&vo(a);ts();break;case 2:sr()}};os.prototype.Xc=function(){};os.prototype.qc=function(){return!1};var ts=function(){var a=[new lr(C)],b=Ng(br);b.j=a;cr(b,function(){vs("i")})?qr.done||(xr(),sr()):vs("i")}; os.prototype.T=function(a,b){a.Sb=!0;switch(a.Jb()){case 1:ys(a,b);break;case 2:this.oi(a)}this.wi(a)};var ys=function(a,b){if(!a.Eb){var c=Eq(a,"start",mo());c=a.ji.g(c).g;var d={id:"lidarv"};d.r=b;d.sv="962";Gr!==null&&(d.v=Gr);Uf(c,function(e,f){return d[e]=e=="mtos"||e=="tos"?f:encodeURIComponent(f)});b=Cr();Uf(b,function(e,f){return d[e]=encodeURIComponent(f)});b="//pagead2.googlesyndication.com/pagead/gen_204?"+Go(Eo(new Co,d));Jo(b);a.Eb=!0}};l=os.prototype; l.lm=function(a){var b=a.B(a);b&&(b=b.volume,a.Ua=bo(b)&&b>0);Bq(a,0);return Eq(a,"start",mo())};l.Ce=function(a,b,c){tr(qr,[a],!mo());return this.fc(a,b,c)};l.fc=function(a,b,c){return Eq(a,c,mo())};l.gm=function(a){return zs(a,"firstquartile",1)};l.im=function(a){a.xa=!0;return zs(a,"midpoint",2)};l.mm=function(a){return zs(a,"thirdquartile",3)};l.dm=function(a){var b=zs(a,"complete",4);kq(a);return b};l.em=function(a){a.Pa=3;return Eq(a,"error",mo())}; var zs=function(a,b,c){tr(qr,[a],!mo());Bq(a,c);c!=4&&Aq(a.L,c,a.Yf);return Eq(a,b,mo())};l=os.prototype;l.Sj=function(a,b,c){b=mo();a.Pa!=2||b||(a.Ya().J=rn());tr(qr,[a],!b);a.Pa==2&&(a.Pa=1);return Eq(a,c,b)};l.km=function(a,b){b=this.Ce(a,b||{},"skip");kq(a);return b};l.hm=function(a,b){up(a,!0);return this.Ce(a,b||{},"fullscreen")};l.fm=function(a,b){up(a,!1);return this.Ce(a,b||{},"exitfullscreen")}; l.ii=function(a,b,c){b=a.Ya();b.T=Yp(b,rn(),a.Pa!=1);tr(qr,[a],!mo());a.Pa==1&&(a.Pa=2);return Eq(a,c,mo())};l.jm=function(a){tr(qr,[a],!mo());return a.j()};l.Mh=function(a){tr(qr,[a],!mo());this.Rj(a);kq(a);return a.j()}; var ns=function(a){yr(function(){var b=As();a.j!=null&&(b.sdk=a.j);var c=Ng(br);c.g!=null&&(b.avms=c.g.getName());return b})},Bs=function(a,b,c,d){var e=Sq(Uq,c);e!==null&&e.Ra!==b&&(a.o(e),e=null);e||(b=a.B(c,rn(),!1,b),Uq.j.length==0&&(nc().A=79463069),Zq([b]),e=b,e.A=ws(a),d&&(e.md=d));return e};os.prototype.aa=function(){};var Ds=function(a,b){b.D=0;for(var c in yn)a[c]==null&&(b.D|=yn[c]);Cs(a,"currentTime");Cs(a,"duration")};l=os.prototype;l.oi=function(){};l.Rj=function(){};l.Pi=function(){}; l.wi=function(){};l.ph=function(){};l.nj=function(){this.g||(this.g=this.ph());return this.g==null||this.l?new cq:new Vr(this.g)};l.oh=function(){return new Qr};var Cs=function(a,b){var c=a[b];c!==void 0&&c>0&&(a[b]=Math.floor(c*1E3))},As=function(){var a=lo(),b={},c={},d={};return Object.assign({},(b.sv="962",b),Gr!==null&&(c.v=Gr,c),(d["if"]=a.l?"1":"0",d.nas=String(Uq.g.length),d))};var Es=function(a){$p.call(this,"audio_audible",a)};w(Es,$p);Es.prototype.g=function(a){return a.Vf()==4};var Fs=function(a){aq.call(this,"audio_measurable",a)};w(Fs,aq);Fs.prototype.g=function(a){a=a.Vf();return a==3||a==4};var Gs=function(){Sr.apply(this,arguments)};w(Gs,Sr);Gs.prototype.j=function(){return new Fs(this.g)};Gs.prototype.l=function(){return[new Es(this.g)]};var Hs=function(){};w(Hs,Qp);Hs.prototype.g=function(a){a&&(a.e===28&&(a=Object.assign({},a,{avas:3})),a.vs===4||a.vs===5)&&(a=Object.assign({},a,{vs:3}));var b=new Pp;b.g=Rp(a,Np);b.j=Rp(a,Op);return b};var Is=function(a){this.j=a};Is.prototype.report=function(a,b){var c=this.g(b);if(typeof c==="function"){var d={};var e={};d=Object.assign({},Gr!==null&&(d.v=Gr,d),(e.sv="962",e.cb=Fr,e.e=Js(a),e));e=Eq(b,a,mo());$b(d,e);b.sk[a]=e;d=b.Jb()==2?Io(d).join("&"):b.ji.g(d).g;try{return c(b.Ra,d,a),0}catch(f){return 2}}else return 1};var Js=function(a){var b=Jr(a)?"custom_metric_viewable":a;a=Sb(function(c){return c==b});return Cn[a]};Is.prototype.g=function(){return Ja(this.j)};var Ks=function(a,b){this.j=a;this.l=b};w(Ks,Is);Ks.prototype.g=function(a){if(!a.md)return Is.prototype.g.call(this,a);if(this.l[a.md])return function(){};kn(393,Error());return null};var Ls=function(){os.call(this);this.C=void 0;this.F=null;this.D=!1;this.N={};this.L=0;this.J="ACTIVE_VIEW_TRAFFIC_TYPE_UNSPECIFIED"};w(Ls,os);Ls.prototype.A=function(a,b){var c=this,d=Ng(br);if(d.g!=null)switch(d.g.getName()){case "nis":var e=Ms(this,a,b);break;case "gsv":e=Ns(this,a,b);break;case "exc":e=Os(this,a)}e||(b.opt_overlayAdElement?e=void 0:b.opt_adElement&&(e=Bs(this,a,b.opt_adElement,b.opt_osdId)));e&&e.Jb()==1&&(e.B==De&&(e.B=function(f){return c.Pi(f)}),Ps(this,e,b));return e}; var Ps=function(a,b,c){c=c.opt_configurable_tracking_events;a.g!=null&&Array.isArray(c)&&qs(a,c,b)}; Ls.prototype.Pi=function(a){a.j=0;a.aa=0;if(a.A=="h"||a.A=="n"){if(nc().o)var b=Ja("ima.bridge.getVideoMetadata");else if(a.md&&Qs(this)){var c=this.N[a.md];c?b=function(e){return Rs(c,e)}:c!==null&&kn(379,Error())}else b=Ja("ima.common.getVideoMetadata");if(typeof b==="function")try{var d=b(a.Ra)}catch(e){a.j|=4}else a.j|=2}else if(a.A=="b")if(b=Ja("ytads.bulleit.getVideoMetadata"),typeof b==="function")try{d=b(a.Ra)}catch(e){a.j|=4}else a.j|=2;else if(a.A=="ml")if(b=Ja("ima.common.getVideoMetadata"), typeof b==="function")try{d=b(a.Ra)}catch(e){a.j|=4}else a.j|=2;else a.j|=1;a.j||(d===void 0?a.j|=8:d===null?a.j|=16:Vb(d)?a.j|=32:d.errorCode!=null&&(a.aa=d.errorCode,a.j|=64));d==null&&(d={});Ds(d,a);bo(d.volume)&&bo(this.C)&&(d.volume*=this.C);return d}; var Ns=function(a,b,c){var d=Rq(Uq,b);d||(d=c.opt_nativeTime||-1,d=ps(a,b,ws(a),d),c.opt_osdId&&(d.md=c.opt_osdId));return d},Ms=function(a,b,c){var d=Rq(Uq,b);d||(d=ps(a,b,"n",c.opt_nativeTime||-1));return d},Os=function(a,b){var c=Rq(Uq,b);c||(c=ps(a,b,"h",-1));return c};Ls.prototype.ph=function(){if(Qs(this))return new Ks("ima.common.triggerExternalActivityEvent",this.N);var a=Ss(this);return a!=null?new Is(a):null}; var Ss=function(a){var b=nc();switch(ws(a)){case "b":return"ytads.bulleit.triggerExternalActivityEvent";case "n":return"ima.bridge.triggerExternalActivityEvent";case "h":if(b.o)return"ima.bridge.triggerExternalActivityEvent";case "m":case "ml":return"ima.common.triggerExternalActivityEvent"}return null};Ls.prototype.oi=function(a){!a.g&&a.Sb&&xs(this,a,"overlay_unmeasurable_impression")&&(a.g=!0)}; Ls.prototype.Rj=function(a){a.ak&&(a.Bc()?xs(this,a,"overlay_viewable_end_of_session_impression"):xs(this,a,"overlay_unviewable_impression"),a.ak=!1)}; var Ts=function(a,b,c,d){c=c===void 0?{}:c;var e={};$b(e,{opt_adElement:void 0,opt_fullscreen:void 0},c);var f=a.A(b,c);c=f?f.ji:a.oh();if(e.opt_bounds)return c.g(Ir("ol",d));if(d!==void 0)if(Hr(d)!==void 0)if(Br)a=Ir("ue",d);else if(us(a),Ar=="i")a=Ir("i",d),a["if"]=0;else if(b=a.A(b,e)){b:{Ar=="i"&&(b.Sb=!0,a.wi(b));f=e.opt_fullscreen;f!==void 0&&up(b,!!f);var g;if(g=!lo().j&&!go()&&Pf(Pg().j)){switch(b.Jb()){case 1:ys(b,"pv");break;case 2:a.oi(b)}vs("pv")}f=d.toLowerCase();if(g=!g)c:{if(kc(nc().ea, "ssmol")&&(g=a.l,f==="loaded"))break c;g=lb(zn,f)}if(g&&b.Pa==0){Ar!="i"&&(qr.done=!1);g=e!==void 0?e.opt_nativeTime:void 0;pn=g=typeof g==="number"?g:rn();b.Qe=!0;var h=mo();b.Pa=1;b.La={};b.La.start=!1;b.La.firstquartile=!1;b.La.midpoint=!1;b.La.thirdquartile=!1;b.La.complete=!1;b.La.resume=!1;b.La.pause=!1;b.La.skip=!1;b.La.mute=!1;b.La.unmute=!1;b.La.viewable_impression=!1;b.La.measurable_impression=!1;b.La.fully_viewable_audible_half_duration_impression=!1;b.La.fullscreen=!1;b.La.exitfullscreen= !1;b.vh=0;h||(b.Ya().J=g);tr(qr,[b],!h)}(g=b.Ud[f])&&b.ya.reportEvent(g);kc(nc().ea,"fmd")||lb(An,f)&&b.Dc&&b.Dc.j(b,null);switch(b.Jb()){case 1:var k=Jr(f)?a.O.custom_metric_viewable:a.O[f];break;case 2:k=a.V[f]}if(k&&(d=k.call(a,b,e,d),kc(nc().ea,"fmd")&&lb(An,f)&&b.Dc&&b.Dc.j(b,null),d!==void 0)){e=Ir(void 0,f);$b(e,d);d=e;break b}d=void 0}b.Pa==3&&a.o(b);a=d}else a=Ir("nf",d);else a=void 0;else Br?a=Ir("ue"):f?(a=Ir(),$b(a,Dq(f,!0,!1,!1))):a=Ir("nf");return typeof a==="string"?c.g():c.g(a)}; Ls.prototype.aa=function(a){this.l&&a.Jb()==1&&Us(this,a)};Ls.prototype.wi=function(a){this.l&&a.Jb()==1&&Us(this,a)};var Us=function(a,b){var c;if(b.md&&Qs(a)){var d=a.N[b.md];d?c=function(f,g){Vs(d,f,g)}:d!==null&&kn(379,Error())}else c=Ja("ima.common.triggerViewabilityMeasurementUpdate");if(typeof c==="function"){var e=sq(b);e.nativeVolume=a.C;c(b.Ra,e)}},Qs=function(a){return nc().o||ws(a)!="h"&&ws(a)!="m"?!1:a.L!=0}; Ls.prototype.B=function(a,b,c,d){if(Km(nc().flags,ms)){var e=kc(nc().ea,"mm"),f={};(e=(f[Ab.Ck]="ACTIVE_VIEW_TRAFFIC_TYPE_AUDIO",f[Ab.VIDEO]="ACTIVE_VIEW_TRAFFIC_TYPE_VIDEO",f)[e])&&e&&(this.J=e);this.J==="ACTIVE_VIEW_TRAFFIC_TYPE_UNSPECIFIED"&&kn(1044,Error())}a=os.prototype.B.call(this,a,b,c,d);this.D&&(b=this.F,a.l==null&&(a.l=new Cp),b.g[a.Ra]=a.l,a.l.A=Hq);return a};Ls.prototype.o=function(a){a&&a.Jb()==1&&this.D&&delete this.F.g[a.Ra];return os.prototype.o.call(this,a)}; Ls.prototype.nj=function(){this.g||(this.g=this.ph());return this.g==null||this.l?new cq:this.J==="ACTIVE_VIEW_TRAFFIC_TYPE_AUDIO"?new Gs(this.g):new Vr(this.g)};Ls.prototype.oh=function(){return this.J==="ACTIVE_VIEW_TRAFFIC_TYPE_AUDIO"?new Hs:new Qr};var Ws=function(a){var b={};return b.viewability=a.g,b.googleViewability=a.j,b},Xs=function(a,b,c){c=c===void 0?{}:c;a=Ts(Ng(Ls),b,c,a);return Ws(a)},Ys=jn(193,Xs,void 0,As);Ia("Goog_AdSense_Lidar_sendVastEvent",Ys); var Zs=jn(194,function(a,b){b=b===void 0?{}:b;a=Ts(Ng(Ls),a,b);return Ws(a)});Ia("Goog_AdSense_Lidar_getViewability",Zs);var $s=jn(195,function(){return Rg()});Ia("Goog_AdSense_Lidar_getUrlSignalsArray",$s);var at=jn(196,function(){return JSON.stringify(Rg())});Ia("Goog_AdSense_Lidar_getUrlSignalsList",at);var bt=ka(["//tpc.googlesyndication.com/sodar/",""]);z.console&&typeof z.console.log==="function"&&Sa(z.console.log,z.console);var ct=function(a){for(var b=[],c=a=lf(a.ownerDocument);c!=a.top;c=c.parent)if(c.frameElement)b.push(c.frameElement);else break;return b};var dt=function(a,b){this.type=a;this.currentTarget=this.target=b;this.defaultPrevented=this.j=!1};dt.prototype.stopPropagation=function(){this.j=!0};dt.prototype.preventDefault=function(){this.defaultPrevented=!0};var et=function(){if(!z.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},"passive",{get:function(){a=!0}});try{var c=function(){};z.addEventListener("test",c,b);z.removeEventListener("test",c,b)}catch(d){}return a}();var ft=function(a,b){dt.call(this,a?a.type:"");this.relatedTarget=this.currentTarget=this.target=null;this.button=this.screenY=this.screenX=this.clientY=this.clientX=this.l=this.g=0;this.key="";this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1;this.state=null;this.pointerId=0;this.pointerType="";this.Ob=null;a&&this.init(a,b)};Va(ft,dt);var gt={2:"touch",3:"pen",4:"mouse"}; ft.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)?re&&(pe(b,"nodeName")||(b=null)):c=="mouseover"?b=a.fromElement:c=="mouseout"&&(b=a.toElement);this.relatedTarget=b;d?(this.clientX=d.clientX!==void 0?d.clientX:d.pageX,this.clientY=d.clientY!==void 0?d.clientY:d.pageY,this.screenX=d.screenX||0,this.screenY=d.screenY||0):(this.g=se||a.offsetX!==void 0? a.offsetX:a.layerX,this.l=se||a.offsetY!==void 0?a.offsetY:a.layerY,this.clientX=a.clientX!==void 0?a.clientX:a.pageX,this.clientY=a.clientY!==void 0?a.clientY:a.pageY,this.screenX=a.screenX||0,this.screenY=a.screenY||0);this.button=a.button;this.key=a.key||"";this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.pointerId=a.pointerId||0;this.pointerType=typeof a.pointerType==="string"?a.pointerType:gt[a.pointerType]||"";this.state=a.state;this.Ob=a;a.defaultPrevented&& ft.Vb.preventDefault.call(this)};ft.prototype.stopPropagation=function(){ft.Vb.stopPropagation.call(this);this.Ob.stopPropagation?this.Ob.stopPropagation():this.Ob.cancelBubble=!0};ft.prototype.preventDefault=function(){ft.Vb.preventDefault.call(this);var a=this.Ob;a.preventDefault?a.preventDefault():a.returnValue=!1};var ht="closure_listenable_"+(Math.random()*1E6|0),it=function(a){return!(!a||!a[ht])};var jt=0;var kt=function(a,b,c,d,e){this.listener=a;this.proxy=null;this.src=b;this.type=c;this.capture=!!d;this.ag=e;this.key=++jt;this.lf=this.Ff=!1},lt=function(a){a.lf=!0;a.listener=null;a.proxy=null;a.src=null;a.ag=null};var mt=function(a){this.src=a;this.g={};this.j=0};mt.prototype.add=function(a,b,c,d,e){var f=a.toString();a=this.g[f];a||(a=this.g[f]=[],this.j++);var g=nt(a,b,d,e);g>-1?(b=a[g],c||(b.Ff=!1)):(b=new kt(b,this.src,f,!!d,e),b.Ff=c,a.push(b));return b};mt.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.g))return!1;var e=this.g[a];b=nt(e,b,c,d);return b>-1?(lt(e[b]),ob(e,b),e.length==0&&(delete this.g[a],this.j--),!0):!1}; var ot=function(a,b){var c=b.type;c in a.g&&nb(a.g[c],b)&&(lt(b),a.g[c].length==0&&(delete a.g[c],a.j--))},pt=function(a,b,c,d,e){a=a.g[b.toString()];b=-1;a&&(b=nt(a,c,d,e));return b>-1?a[b]:null},nt=function(a,b,c,d){for(var e=0;e>>0),wt=function(a){if(typeof a==="function")return a;a[Et]||(a[Et]=function(b){return a.handleEvent(b)});return a[Et]};var M=function(){Mo.call(this);this.C=new mt(this);this.Tc=this;this.aa=null};Va(M,Mo);M.prototype[ht]=!0;M.prototype.addEventListener=function(a,b,c,d){vt(this,a,b,c,d)};M.prototype.removeEventListener=function(a,b,c,d){Ct(this,a,b,c,d)}; var O=function(a,b){var c,d=a.aa;if(d)for(c=[];d;d=d.aa)c.push(d);a=a.Tc;d=b.type||b;if(typeof b==="string")b=new dt(b,a);else if(b instanceof dt)b.target=b.target||a;else{var e=b;b=new dt(d,a);$b(b,e)}e=!0;if(c)for(var f=c.length-1;!b.j&&f>=0;f--){var g=b.currentTarget=c[f];e=Ft(g,d,!0,b)&&e}b.j||(g=b.currentTarget=a,e=Ft(g,d,!0,b)&&e,b.j||(e=Ft(g,d,!1,b)&&e));if(c)for(f=0;!b.j&&f0){this.j--;var a=this.g;this.g=a.next;a.next=null}else a=this.l();return a};var Ht=function(a,b){a.o(b);a.j<100&&(a.j++,b.next=a.g,a.g=b)};var It,Jt=function(){var a=z.MessageChannel;typeof a==="undefined"&&typeof window!=="undefined"&&window.postMessage&&window.addEventListener&&!Mc("Presto")&&(a=function(){var e=pf(document,"IFRAME");e.style.display="none";document.documentElement.appendChild(e);var f=e.contentWindow;e=f.document;e.open();e.close();var g="callImmediate"+Math.random(),h=f.location.protocol=="file:"?"*":f.location.protocol+"//"+f.location.host;e=Sa(function(k){if((h=="*"||k.origin==h)&&k.data==g)this.port1.onmessage()}, this);f.addEventListener("message",e,!1);this.port1={};this.port2={postMessage:function(){f.postMessage(g,h)}}});if(typeof a!=="undefined"){var b=new a,c={},d=c;b.port1.onmessage=function(){if(c.next!==void 0){c=c.next;var e=c.ij;c.ij=null;e()}};return function(e){d.next={ij:e};d=d.next;b.port2.postMessage(0)}}return function(e){z.setTimeout(e,0)}};var Kt=function(){this.j=this.g=null};Kt.prototype.add=function(a,b){var c=Lt.get();c.set(a,b);this.j?this.j.next=c:this.g=c;this.j=c};Kt.prototype.remove=function(){var a=null;this.g&&(a=this.g,this.g=this.g.next,this.g||(this.j=null),a.next=null);return a};var Lt=new Gt(function(){return new Mt},function(a){return a.reset()}),Mt=function(){this.next=this.g=this.j=null};Mt.prototype.set=function(a,b){this.j=a;this.g=b;this.next=null};Mt.prototype.reset=function(){this.next=this.g=this.j=null};var Nt,Ot=!1,Pt=new Kt,Rt=function(a,b){Nt||Qt();Ot||(Nt(),Ot=!0);Pt.add(a,b)},Qt=function(){if(z.Promise&&z.Promise.resolve){var a=z.Promise.resolve(void 0);Nt=function(){a.then(St)}}else Nt=function(){var b=St;typeof z.setImmediate!=="function"||z.Window&&z.Window.prototype&&z.Window.prototype.setImmediate==z.setImmediate?(It||(It=Jt()),It(b)):z.setImmediate(b)}},St=function(){for(var a;a=Pt.remove();){try{a.j.call(a.g)}catch(b){bh(b)}Ht(Lt,a)}Ot=!1};var Ut=function(a){this.g=0;this.B=void 0;this.o=this.j=this.l=null;this.A=this.C=!1;if(a!=De)try{var b=this;a.call(void 0,function(c){Tt(b,2,c)},function(c){Tt(b,3,c)})}catch(c){Tt(this,3,c)}},Vt=function(){this.next=this.context=this.j=this.l=this.g=null;this.o=!1};Vt.prototype.reset=function(){this.context=this.j=this.l=this.g=null;this.o=!1};var Wt=new Gt(function(){return new Vt},function(a){a.reset()}),Xt=function(a,b,c){var d=Wt.get();d.l=a;d.j=b;d.context=c;return d}; Ut.prototype.then=function(a,b,c){return Yt(this,typeof a==="function"?a:null,typeof b==="function"?b:null,c)};Ut.prototype.$goog_Thenable=!0;var Zt=function(a,b){return Yt(a,null,b)};Ut.prototype.cancel=function(a){if(this.g==0){var b=new $t(a);Rt(function(){au(this,b)},this)}}; var au=function(a,b){if(a.g==0)if(a.l){var c=a.l;if(c.j){for(var d=0,e=null,f=null,g=c.j;g&&(g.o||(d++,g.g==a&&(e=g),!(e&&d>1)));g=g.next)e||(f=g);e&&(c.g==0&&d==1?au(c,b):(f?(d=f,d.next==c.o&&(c.o=d),d.next=d.next.next):bu(c),cu(c,e,3,b)))}a.l=null}else Tt(a,3,b)},eu=function(a,b){a.j||a.g!=2&&a.g!=3||du(a);a.o?a.o.next=b:a.j=b;a.o=b},Yt=function(a,b,c,d){var e=Xt(null,null,null);e.g=new Ut(function(f,g){e.l=b?function(h){try{var k=b.call(d,h);f(k)}catch(m){g(m)}}:f;e.j=c?function(h){try{var k=c.call(d, h);k===void 0&&h instanceof $t?g(h):f(k)}catch(m){g(m)}}:g});e.g.l=a;eu(a,e);return e.g};Ut.prototype.N=function(a){this.g=0;Tt(this,2,a)};Ut.prototype.D=function(a){this.g=0;Tt(this,3,a)}; var Tt=function(a,b,c){if(a.g==0){a===c&&(b=3,c=new TypeError("Promise cannot resolve to itself"));a.g=1;a:{var d=c,e=a.N,f=a.D;if(d instanceof Ut){eu(d,Xt(e||De,f||null,a));var g=!0}else{if(d)try{var h=!!d.$goog_Thenable}catch(m){h=!1}else h=!1;if(h)d.then(e,f,a),g=!0;else{if(Na(d))try{var k=d.then;if(typeof k==="function"){fu(d,k,e,f,a);g=!0;break a}}catch(m){f.call(a,m);g=!0;break a}g=!1}}}g||(a.B=c,a.g=b,a.l=null,du(a),b!=3||c instanceof $t||gu(a,c))}},fu=function(a,b,c,d,e){var f=!1,g=function(k){f|| (f=!0,c.call(e,k))},h=function(k){f||(f=!0,d.call(e,k))};try{b.call(a,g,h)}catch(k){h(k)}},du=function(a){a.C||(a.C=!0,Rt(a.J,a))},bu=function(a){var b=null;a.j&&(b=a.j,a.j=b.next,b.next=null);a.j||(a.o=null);return b};Ut.prototype.J=function(){for(var a;a=bu(this);)cu(this,a,this.g,this.B);this.C=!1}; var cu=function(a,b,c,d){if(c==3&&b.j&&!b.o)for(;a&&a.A;a=a.l)a.A=!1;if(b.g)b.g.l=null,hu(b,c,d);else try{b.o?b.l.call(b.context):hu(b,c,d)}catch(e){iu.call(null,e)}Ht(Wt,b)},hu=function(a,b,c){b==2?a.l.call(a.context,c):a.j&&a.j.call(a.context,c)},gu=function(a,b){a.A=!0;Rt(function(){a.A&&iu.call(null,b)})},iu=bh,$t=function(a){Xa.call(this,a)};Va($t,Xa);$t.prototype.name="cancel";var ju=function(a,b){M.call(this);this.l=a||1;this.j=b||z;this.o=Sa(this.B,this);this.A=Ua()};Va(ju,M);ju.prototype.enabled=!1;ju.prototype.g=null;var ku=function(a){a.l=250;a.g&&a.enabled?(a.stop(),a.start()):a.g&&a.stop()};ju.prototype.B=function(){if(this.enabled){var a=Ua()-this.A;a>0&&a2147483647?-1:z.setTimeout(a,b||0)},mu=function(a){z.clearTimeout(a)},nu=function(a){var b=null;return Zt(new Ut(function(c,d){b=lu(function(){c(void 0)},a);b==-1&&d(Error("Failed to schedule timer."))}),function(c){mu(b);throw c;})};var ou=function(){return Math.round(Date.now()/1E3)};var pu=function(){this.g={};return this};pu.prototype.remove=function(a){var b=this.g;a in b&&delete b[a]};pu.prototype.set=function(a,b){this.g[a]=b};var qu=function(a,b){a.g.eb=Xb(a.g,"eb",0)|b};pu.prototype.get=function(a){return Xb(this.g,a,null)};var ru=null,tu=function(){this.g={};this.j=0},uu=function(){ru||(ru=new tu);return ru},vu=function(a,b){a.g[b.getName()]=b},wu=function(a,b){this.o=a;this.l=!0;this.g=b};wu.prototype.getName=function(){return this.o};wu.prototype.getValue=function(){return this.g};wu.prototype.j=function(){return String(this.g)};var xu=function(a,b){wu.call(this,String(a),b);this.A=a;this.g=!!b};w(xu,wu);xu.prototype.j=function(){return this.g?"1":"0"};var yu=function(a,b){wu.call(this,a,b)};w(yu,wu); yu.prototype.j=function(){return this.g?Math.round(this.g.top)+"."+Math.round(this.g.left)+"."+(Math.round(this.g.top)+Math.round(this.g.height))+"."+(Math.round(this.g.left)+Math.round(this.g.width)):""};var zu=function(a){if(a.match(/^-?[0-9]+\.-?[0-9]+\.-?[0-9]+\.-?[0-9]+$/)){a=a.split(".");var b=Number(a[0]),c=Number(a[1]);return new yu("",new Gn(c,b,Number(a[3])-c,Number(a[2])-b))}return new yu("",new Gn(0,0,0,0))};var Au=function(a){var b=new Gn(-Number.MAX_VALUE/2,-Number.MAX_VALUE/2,Number.MAX_VALUE,Number.MAX_VALUE),c=new Gn(0,0,0,0);if(!a||0==a.length)return c;for(var d=0;d0?(e=Hn(b),f=Hn(c),e=e.top>=f.top&&e.top0?(e=Hn(b),f=Hn(c),e=e.bottom<=f.bottom&&e.bottom>f.top):e=!1;vu(a,new xu(1024,e));d&&d>0?(e=Hn(b),f=Hn(c),e=e.left>=f.left&&e.left0?(b=Hn(b),c=Hn(c),c=b.right<=c.right&&b.right>c.left):c=!1;vu(a,new xu(4096,c))}};var Du=function(a,b){var c=0;Pb(lf(),"ima","video","client","tagged")&&(c=1);var d=null;a&&(d=a());if(d){a=uu();a.g={};var e=new xu(32,!0);e.l=!1;vu(a,e);e=lf().document;e=e.visibilityState||e.webkitVisibilityState||e.mozVisibilityState||e.msVisibilityState||"";vu(a,new xu(64,e.toLowerCase().substring(e.length-6)!="hidden"?!0:!1));a:{try{var f=lf().top;try{var g=!!f.location.href||f.location.href===""}catch(n){g=!1}if(g){var h=ct(d);var k=h&&h.length!=0?"1":"0";break a}k="2";break a}catch(n){k="2"; break a}k=void 0}vu(a,new xu(256,k=="2"));vu(a,new xu(128,k=="1"));h=g=lf().top;k=="2"&&(h=lf());f=Bu(d,h);vu(a,new yu("er",f));try{var m=h.document&&!h.document.body?null:hf(h||window)}catch(n){m=null}m?(h=kf(af(h.document).g),vu(a,new xu(16384,!!h)),m=h?new Gn(h.x,h.y,m.width,m.height):null):m=null;vu(a,new yu("vi",m));if(m&&"1"==k){k=ct(d);d=[];for(h=0;h0?Math.round(window.performance.timing.domLoading/1E3):null;c.set.call(c,"td",ou()-(a!=null?a:b!=null?b:ou()))};new ju(200); var Eu=function(a,b){try{var c=new Du(a,b);a=[];var d=Number(c.g.get("eb"));c.g.remove("eb");var e,f=c.g;b=[];for(var g in f.g)b.push(g+f.g[g]);(e=b.join("_"))&&a.push(e);if(c.j){var h=c.j.serialize();h&&a.push(h)}var k,m=c.l;e=d;f=[];e||(e=0);for(var n in m.g){var p=m.g[n];if(p instanceof xu)p.getValue()&&(e|=p.A);else{var r=m.g[n],t=r.l?r.j():"";t&&f.push(n+t)}}f.push("eb"+String(e));(k=f.join("_"))&&a.push(k);c.g.set("eb",d);return a.join("_")}catch(v){return"tle;"+de(v.name,12)+";"+de(v.message, 40)}};var Fu=function(a){this.M=H(a)};w(Fu,K);Fu.prototype.getName=function(){return J(this,1)};Fu.prototype.getValue=function(){return J(this,2)};var Gu=function(a){this.M=H(a)};w(Gu,K);var Hu=function(a){this.M=H(a)};w(Hu,K);var Iu=function(a){this.M=H(a)};w(Iu,K);var Ju=function(a){this.M=H(a)};w(Ju,K);Ju.ua=[2];var Ku=function(a){this.M=H(a)};w(Ku,K);var kk=function(a){this.M=H(a)};w(kk,K);var Lu=function(a){return I(a,Gu,29)};kk.ua=[28];var Mu=function(a){this.M=H(a)};w(Mu,K);var Nu=Em(Mu);Mu.ua=[21];var Ou=function(a){this.M=H(a)};w(Ou,K);var Ru=function(){var a=Pu;this.A=Qu;this.C="jserror";this.o=!0;this.g=a===void 0?null:a;this.j=null;this.l=!1;this.B=this.lc};l=Ru.prototype;l.Kg=function(a){this.j=a};l.yi=function(a){this.C=a};l.zi=function(a){this.o=a};l.Bi=function(a){this.l=a}; l.Od=function(a,b,c){try{if(this.g&&this.g.j){var d=this.g.start(a.toString(),3);var e=b();this.g.end(d)}else e=b()}catch(h){b=this.o;try{Zm(d),b=this.B(a,new Om(h,{message:Su(h)}),void 0,c)}catch(k){this.lc(217,k)}if(b){var f,g;(f=window.console)==null||(g=f.error)==null||g.call(f,h)}else throw h;}return e};l.Ig=function(a,b,c,d){var e=this;return function(){var f=Da.apply(0,arguments);return e.Od(a,function(){return b.apply(c,f)},d)}}; l.lc=function(a,b,c,d,e){e=e||this.C;try{var f=new xg;Cg(f,1,"context",a);Pm(b)||(b=new Om(b,{message:Su(b)}));b.msg&&Cg(f,2,"msg",b.msg.substring(0,512));var g=b.meta||{};if(this.j)try{this.j(g)}catch(k){}if(d)try{d(g)}catch(k){}Bg(f,3,[g]);var h=wg();h.j&&Cg(f,4,"top",h.j.url||"");Bg(f,5,[{url:h.g.url||""},{url:h.g.url?Tf(h.g.url):""}]);Tu(this.A,e,f,this.l,c)}catch(k){try{Tu(this.A,e,{context:"ecmserr",rctx:a,msg:Su(k),url:h&&h.g.url},this.l,c)}catch(m){}}return this.o}; var Su=function(a){var b=a.toString();a.name&&b.indexOf(a.name)==-1&&(b+=": "+a.name);a.message&&b.indexOf(a.message)==-1&&(b+=": "+a.message);if(a.stack)a:{a=a.stack;var c=b;try{a.indexOf(c)==-1&&(a=c+"\n"+a);for(var d;a!=d;)d=a,a=a.replace(RegExp("((https?:/..*/)[^/:]*:\\d+(?:.|\n)*)\\2"),"$1");b=a.replace(RegExp("\n *","g"),"\n");break a}catch(e){b=c;break a}b=void 0}return b};var Uu=function(){this.g=(typeof document=="undefined"?null:document)||{cookie:""}},Wu=function(){var a=Vu;if(!z.navigator.cookieEnabled)return!1;if(!a.isEmpty())return!0;a.set("TESTCOOKIESENABLED","1",{Aj:60});if(a.get("TESTCOOKIESENABLED")!=="1")return!1;a.remove("TESTCOOKIESENABLED");return!0};l=Uu.prototype; l.set=function(a,b,c){var d=!1;if(typeof c==="object"){var e=c.Ip;d=c.Kp||!1;var f=c.domain||void 0;var g=c.path||void 0;var h=c.Aj}if(/[;=\s]/.test(a))throw Error('Invalid cookie name "'+a+'"');if(/[;\r\n]/.test(b))throw Error('Invalid cookie value "'+b+'"');h===void 0&&(h=-1);this.g.cookie=a+"="+b+(f?";domain="+f:"")+(g?";path="+g:"")+(h<0?"":h==0?";expires="+(new Date(1970,1,1)).toUTCString():";expires="+(new Date(Date.now()+h*1E3)).toUTCString())+(d?";secure":"")+(e!=null?";samesite="+e:"")}; l.get=function(a,b){for(var c=a+"=",d=(this.g.cookie||"").split(";"),e=0,f;e=0;b--)this.remove(a[b])}; var Xu=function(a){a=(a.g.cookie||"").split(";");for(var b=[],c=[],d,e,f=0;fa;break;case 12:c=Zu(a)&&Zu(g)&&(new RegExp(a)).test(g);break;case 10:c=g!=null&&Hc(String(g),a)===-1;break;case 11:c=g!=null&&Hc(String(g),a)===1;break;default:return{success:!1,Hb:3}}return{success:!0,value:c}} function qv(a,b){return a?b?ov(a,b):{success:!1,Hb:1}:{success:!0,value:!0}};var Ek=function(a){this.M=H(a)};w(Ek,K);Ek.ua=[4];var rv=function(a){this.M=H(a)};w(rv,K);rv.prototype.getValue=function(){return I(this,Ek,2)};var tv=function(a){this.M=H(a)};w(tv,K);var uv=Em(tv);tv.ua=[5];var vv=[1,2,3,6,7,8];var wv=function(a){this.M=H(a)};w(wv,K);var xv=Cm([0,ym,om]);function yv(a,b){try{var c=function(d){var e={};return[(e[d.Sd]=d.bi,e)]};return JSON.stringify([a.filter(function(d){return d.Cc}).map(c),Zj(b),a.filter(function(d){return!d.Cc}).map(c)])}catch(d){return zv(d,b),""}}function Av(a,b){var c=new ti;try{var d=a.filter(function(f){return f.Cc}).map(Bv);Ci(c,1,d);Ai(c,2,xv(b),Bi);var e=a.filter(function(f){return!f.Cc}).map(Bv);Ci(c,3,e)}catch(f){zv(f,b)}return yi(c)} function zv(a,b){try{Mg({m:Su(a instanceof Error?a:Error(String(a))),b:Sk(b,1)||null,v:J(b,2)||null},"rcs_internal")}catch(c){}}function Bv(a){var b=new ti;Ai(b,a.Sd,a.xi,Bi);return yi(b)}function Bi(a,b){a=a.subarray(0,a.length);ui(b,b.g.end());ui(b,a)}var Cv=function(a,b){var c=new wv;a=bl(c,1,a);b=vk(a,2,Kj(b),"");a=b.M;c=Pi(a);this.j=c&2?b:Pj(b.constructor,bk(a,c,!0))};var Dv=function(a){this.M=H(a)};w(Dv,K);Dv.prototype.getTagSessionCorrelator=function(){return Qk(this,1)};var Ev=function(a,b){return Yk(a,1,b)},Fv=function(a,b){return Yk(a,2,b)},Gv=Cm([0,em,-1]);var Hv=function(a){this.M=H(a)};w(Hv,K);Hv.ua=[1];var Iv=[0,xm];var Jv=[0,fm];var Kv=function(a){this.M=H(a)};w(Kv,K);var Lv=[0,fm,-1,wm];var Mv=function(a){this.M=H(a)};w(Mv,K);var Nv=function(a,b){return bl(a,1,b)},Ov=function(a,b){return bl(a,2,b)},Pv=[0,ym,-1];var Qv=function(a){this.M=H(a)};w(Qv,K);var Rv=[1,2],Sv=[0,Rv,zm,-1,lm];var Tv=function(a){this.M=H(a)};w(Tv,K);var Uv=function(a,b){return Jk(a,1,b)},Vv=function(a,b){return Lk(a,2,b)},Wv=function(a,b){return uk(a,4,b,Bj)},Xv=function(a,b){return Lk(a,5,b)},Yv=function(a,b){return bl(a,6,b)};Tv.ua=[2,4,5];var Zv=[0,Pv,rm,Pv,1,gm,rm,Sv,ym];var $v=function(a){this.M=H(a)};w($v,K);$v.ua=[5];var aw=[1,2,3,4,6],bw=[0,aw,zm,-3,gm,zm];var cw=function(a){this.M=H(a)};w(cw,K);cw.ua=[2,3];var dw=[0,lm,rm,bw,-1];var ew=function(a){this.M=H(a)};w(ew,K);ew.prototype.getTagSessionCorrelator=function(){return Qk(this,2)};var gw=function(a){var b=new ew;return Kk(b,4,fw,a)},fw=[4,5,7,8,9],hw=Cm([0,fw,em,-1,1,sm,Zv,sm,Jv,em,sm,dw,sm,Lv,sm,nv]);var iw=function(a){this.M=H(a)};w(iw,K);var jw=[0,ym,lm];var kw=function(a){this.M=H(a)};w(kw,K);var lw=function(a,b){return Yk(a,1,b)},mw=Em(kw),nw=[0,em,-1];var ow=function(a){this.M=H(a)};w(ow,K);var pw=[0,ym,wm,-1,nw,-1];var qw=function(a){this.M=H(a)};w(qw,K);qw.prototype.Ai=function(a){return Yk(this,3,a)};qw.ua=[5];var rw=[6],tw=Cm([0,rw,Iv,em,-1,jw,gm,sm,pw]);var uw=function(a){this.M=H(a)};w(uw,K);var vw=function(a,b){Jk(a,13,b)};var ww=function(a){this.M=H(a)};w(ww,K);ww.prototype.getEscapedQemQueryId=function(){return J(this,2)};ww.ua=[28,30];var xw=function(){Cv.apply(this,arguments)};w(xw,Cv);var yw=function(){xw.apply(this,arguments)};w(yw,xw);yw.prototype.qf=function(){this.o.apply(this,u(Da.apply(0,arguments).map(function(a){return{Cc:!0,Sd:4,bi:Zj(a)}})))};yw.prototype.B=function(){this.o.apply(this,u(Da.apply(0,arguments).map(function(a){return{Cc:!0,Sd:16,bi:Zj(a)}})))};yw.prototype.ti=function(){this.o.apply(this,u(Da.apply(0,arguments).map(function(a){return{Cc:!0,Sd:20,bi:Zj(a)}})))};var zw=function(){xw.apply(this,arguments)}; w(zw,xw);zw.prototype.qf=function(){this.g.apply(this,u(Da.apply(0,arguments).map(function(a){return{Cc:!0,Sd:4,xi:hw(a)}})))};zw.prototype.B=function(){this.g.apply(this,u(Da.apply(0,arguments).map(function(a){return{Cc:!0,Sd:16,xi:Gv(a)}})))};zw.prototype.ti=function(){this.g.apply(this,u(Da.apply(0,arguments).map(function(a){return{Cc:!0,Sd:20,xi:tw(a)}})))};var Aw=function(a,b){if(globalThis.fetch)globalThis.fetch(a,{method:"POST",body:b,keepalive:b.length<65536,credentials:"omit",mode:"no-cors",redirect:"follow"}).catch(function(){});else{var c=new XMLHttpRequest;c.open("POST",a,!0);c.send(b)}};var Bw=function(a,b,c,d,e,f,g,h){yw.call(this,a,b);this.N=c;this.J=d;this.G=e;this.D=f;this.F=g;this.A=h;this.g=[];this.l=null;this.C=!1};w(Bw,yw);var Cw=function(a){a.l!==null&&(clearTimeout(a.l),a.l=null);if(a.g.length){var b=yv(a.g,a.j);a.J(a.N+"?e=1",b);a.g=[]}}; Bw.prototype.o=function(){var a=Da.apply(0,arguments),b=this;try{this.F&&yv(this.g.concat(a),this.j).length>=65536&&Cw(this),this.A&&!this.C&&(this.C=!0,this.A.g(function(){Cw(b)})),this.g.push.apply(this.g,u(a)),this.g.length>=this.D&&Cw(this),this.g.length&&this.l===null&&(this.l=setTimeout(function(){Cw(b)},this.G))}catch(c){zv(c,this.j)}}; var Dw=function(a,b,c,d,e,f){Bw.call(this,a,b,"https://pagead2.googlesyndication.com/pagead/ping",Aw,c===void 0?1E3:c,d===void 0?100:d,(e===void 0?!1:e)&&!!globalThis.fetch,f)};w(Dw,Bw);var Ew=function(a,b,c){var d=d===void 0?new Dw(6,"unknown",b):d;this.A=a;this.o=c;this.j=d;this.g=[];this.l=a>0&&eg()<1/a},Gw=function(a,b,c,d,e,f){if(a.l){var g=Ov(Nv(new Mv,b),c);b=Yv(Vv(Uv(Xv(Wv(new Tv,d),e),g),a.g.slice()),f);b=gw(b);a.j.qf(Fw(a,b));if(f===1||f===3||f===4&&!a.g.some(function(h){return Sk(h,1)===Sk(g,1)&&Sk(h,2)===c}))a.g.push(g),a.g.length>100&&a.g.shift()}},Hw=function(a,b,c,d){if(a.l){var e=new Kv;b=ik(e,1,b==null?b:Bj(b));c=ik(b,2,c==null?c:Bj(c));d=al(c,3,d);c=new ew;d=Kk(c, 8,fw,d);a.j.qf(Fw(a,d))}},Iw=function(a,b,c,d,e){if(a.l){var f=new lv;b=Jk(f,1,b);c=al(b,2,c);d=ik(c,3,d==null?d:Bj(d));if(e.jf===void 0)yk(d,4,mv,zj(e.Hb));else switch(e.jf){case 3:c=new ev;c=yk(c,2,fv,zj(e.Ic));e=al(c,1,e.Hb);Kk(d,5,mv,e);break;case 4:c=new ev;c=yk(c,3,fv,zj(e.Ic));e=al(c,1,e.Hb);Kk(d,5,mv,e);break;case 5:c=new ev,c=yk(c,4,fv,zj(e.Ic)),e=al(c,1,e.Hb),Kk(d,5,mv,e)}e=new ew;e=Kk(e,9,fw,d);a.j.qf(Fw(a,e))}},Fw=function(a,b){var c=Date.now();c=Number.isFinite(c)?Math.round(c):0;b=Yk(b, 1,c);c=window;if(typeof c.goog_pvsid!=="number")try{var d=Object;var e=d.defineProperty;var f=void 0;f=f===void 0?Math.random:f;var g=Math.floor(f()*Math.pow(2,52));e.call(d,c,"goog_pvsid",{value:g,configurable:!1})}catch(h){}e=Yk(b,2,Number(c.goog_pvsid)||-1);return Yk(e,6,a.A)};var Jw=function(){var a={};this.Ub=(a[3]={},a[4]={},a[5]={},a)};var Kw=/^true$/.test("false");function Lw(a,b){switch(b){case 1:return Uk(a,1,vv);case 2:return Uk(a,2,vv);case 3:return Uk(a,3,vv);case 6:return Uk(a,6,vv);case 8:return Uk(a,8,vv);default:return null}}function Mw(a,b){if(!a)return null;switch(b){case 1:return Nk(a,1);case 7:return J(a,3);case 2:return Rk(a,2);case 3:return J(a,3);case 6:return Tk(a,4);case 8:return Tk(a,4);default:return null}} var Nw=Ee(function(){if(!Kw)return{};try{var a;var b=b===void 0?window:b;try{var c=b.sessionStorage}catch(e){c=null}var d=(a=c)==null?void 0:a.getItem("GGDFSSK");if(d)return JSON.parse(d)}catch(e){}return{}});function Ow(a,b,c,d){var e=d=d===void 0?0:d,f,g;Ng(Pw).l[e]=(g=(f=Ng(Pw).l[e])==null?void 0:f.add(b))!=null?g:(new Set).add(b);e=Nw();if(e[b]!=null)return e[b];b=Qw(d)[b];if(!b)return c;b=uv(JSON.stringify(b));b=Rw(b);a=Mw(b,a);return a!=null?a:c} function Rw(a){var b=Ng(Jw).Ub;if(b&&Ak(a,vv)!==8){var c=jb(Ik(a,rv,5),function(f){f=qv(I(f,hv,1),b);return f.success&&f.value});if(c){var d;return(d=c.getValue())!=null?d:null}}var e;return(e=I(a,Ek,4))!=null?e:null}var Pw=function(){this.j={};this.o=[];this.l={};this.g=new Map};function Sw(a,b,c){return!!Ow(1,a,b===void 0?!1:b,c)}function Tw(a,b,c){b=b===void 0?0:b;a=Number(Ow(2,a,b,c));return isNaN(a)?b:a}function Uw(a,b,c){b=b===void 0?"":b;a=Ow(3,a,b,c);return typeof a==="string"?a:b} function Vw(a,b,c){b=b===void 0?[]:b;a=Ow(6,a,b,c);return Array.isArray(a)?a:b}function Ww(a,b,c){b=b===void 0?[]:b;a=Ow(8,a,b,c);return Array.isArray(a)?a:b}function Qw(a){return Ng(Pw).j[a]||(Ng(Pw).j[a]={})}function Xw(a,b){var c=Qw(b);fg(a,function(d,e){if(c[e]){d=uv(JSON.stringify(d));var f=Bk(d,vv,8);if(Aj(fk(d,f))!=null){var g=uv(JSON.stringify(c[e]));f=Fk(d);g=Tk(Hk(g,Ek,4),4);wk(f,4,Jj,g)}c[e]=Zj(d)}else c[e]=d})} function Yw(a,b,c,d,e){e=e===void 0?!1:e;var f=[],g=[];b=q(b);for(var h=b.next();!h.done;h=b.next()){h=h.value;for(var k=Qw(h),m=q(a),n=m.next();!n.done;n=m.next()){n=n.value;var p=Ak(n,vv),r=Lw(n,p);if(r){var t=void 0,v=void 0,A=void 0;var B=(t=(A=Ng(Pw).g.get(h))==null?void 0:(v=A.get(r))==null?void 0:v.slice(0))!=null?t:[];a:{t=r;v=p;A=new $v;switch(v){case 1:yk(A,1,aw,zj(t));break;case 2:yk(A,2,aw,zj(t));break;case 3:yk(A,3,aw,zj(t));break;case 6:yk(A,4,aw,zj(t));break;case 8:yk(A,6,aw,zj(t)); break;default:B=void 0;break a}uk(A,5,B,Bj);B=A}if(t=B)v=void 0,t=!((v=Ng(Pw).l[h])==null||!v.has(r));t&&f.push(B);if(p===8&&k[r])B=uv(JSON.stringify(k[r])),p=Fk(n),B=Tk(Hk(B,Ek,4),4),wk(p,4,Jj,B);else{if(p=B)t=void 0,p=!((t=Ng(Pw).g.get(h))==null||!t.has(r));p&&g.push(B)}e||(p=r,B=h,t=d,v=Ng(Pw),v.g.has(B)||v.g.set(B,new Map),v.g.get(B).has(p)||v.g.get(B).set(p,[]),t&&v.g.get(B).get(p).push(t));k[r]=Zj(n)}}}if(f.length||g.length)a=d!=null?d:void 0,c.l&&c.o&&(d=new cw,f=Lk(d,2,f),g=Lk(f,3,g),a&&Vk(g, 1,a),f=new ew,g=Kk(f,7,fw,g),c.j.qf(Fw(c,g)))}function Zw(a,b){b=Qw(b);a=q(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=uv(JSON.stringify(c)),e=Ak(d,vv);(d=Lw(d,e))&&(b[d]||(b[d]=c))}}function $w(){return Object.keys(Ng(Pw).j).map(function(a){return Number(a)})}function ax(a){Ng(Pw).o.includes(a)||Xw(Qw(4),a)};function bx(a,b,c){c.hasOwnProperty(a)||Object.defineProperty(c,String(a),{value:b})}function cx(a,b,c){return b[a]||c}function dx(a){bx(5,Sw,a);bx(6,Tw,a);bx(7,Uw,a);bx(8,Vw,a);bx(17,Ww,a);bx(13,Zw,a);bx(15,ax,a)} function ex(a){bx(4,function(b){Ng(Jw).Ub=b},a);bx(9,function(b,c){var d=Ng(Jw);d.Ub[3][b]==null&&(d.Ub[3][b]=c)},a);bx(10,function(b,c){var d=Ng(Jw);d.Ub[4][b]==null&&(d.Ub[4][b]=c)},a);bx(11,function(b,c){var d=Ng(Jw);d.Ub[5][b]==null&&(d.Ub[5][b]=c)},a);bx(14,function(b){for(var c=Ng(Jw),d=q([3,4,5]),e=d.next();!e.done;e=d.next())e=e.value,Object.assign(c.Ub[e],b[e])},a)}function fx(a){a.hasOwnProperty("init-done")||Object.defineProperty(a,"init-done",{value:!0})};var gx=function(){};gx.prototype.j=function(){};gx.prototype.g=function(){return[]};var hx=function(a,b,c){a.j=function(d,e){cx(2,b,function(){return[]})(d,c,e)};a.g=function(){return cx(3,b,function(){return[]})(c)}};var ix=function(){this.g=Math.random()},jx=function(){var a=Qu,b=window.google_srt;b>=0&&b<=1&&(a.g=b)},Tu=function(a,b,c,d,e){if(((d===void 0?0:d)?a.g:Math.random())<(e||.01))try{if(c instanceof xg)var f=c;else f=new xg,fg(c,function(h,k){var m=f,n=m.o++;Bg(m,n,yg(k,h))});var g=Eg(f,"https:","/pagead/gen_204?id="+b+"&");g&&Kg(z,g)}catch(h){}};var Qu,kx,Pu=new Ym(1,window);(function(a){Qu=a!=null?a:new ix;typeof window.google_srt!=="number"&&(window.google_srt=Math.random());jx();kx=new Ru;kx.Kg(function(){});kx.Bi(!0);window.document.readyState=="complete"?window.google_measure_js_timing||Pu.C():Pu.j&&Kf(window,"load",function(){window.google_measure_js_timing||Pu.C()})})(); var lx=function(a,b){return kx.Ig(a,b)},mx=function(a,b){var c=Ng(gx).g();!a.eid&&c.length&&(a.eid=c.toString());Tu(Qu,"gdn::mta",a,!0,b)},nx=function(a,b){kx.lc(531,a,.01,b)};var ox=function(a){this.M=H(a)};w(ox,K);ox.ua=[3];var px=function(a){this.M=H(a)};w(px,K);var qx=function(a,b){return uk(a,1,b,yj)},rx=function(a,b){return uk(a,2,b,yj)},sx=function(a,b){return uk(a,3,b,Bj)},tx=function(a,b){uk(a,4,b,Bj)};px.ua=[1,2,3,4];var ux=function(a){this.M=H(a)};w(ux,K);var vx=function(a){this.M=H(a)};w(vx,K);vx.prototype.getVersion=function(){return Ok(this,1)}; var wx=function(a,b){return Vk(a,1,b)},Rx=function(a,b){return Jk(a,2,b)},Sx=function(a,b){return Jk(a,3,b)},Tx=function(a,b){return Vk(a,4,b)},Ux=function(a,b){return Vk(a,5,b)},Vx=function(a,b){return Vk(a,6,b)},Wx=function(a,b){return vk(a,7,Kj(b),"")},Xx=function(a,b){return Vk(a,8,b)},Yx=function(a,b){return Vk(a,9,b)},Zx=function(a,b){return vk(a,10,uj(b),!1)},$x=function(a,b){return vk(a,11,uj(b),!1)},ay=function(a,b){return uk(a,12,b,yj)},by=function(a,b){return uk(a,13,b,yj)},cy=function(a, b){return uk(a,14,b,yj)},dy=function(a,b){return vk(a,15,uj(b),!1)},ey=function(a,b){return vk(a,16,Kj(b),"")},fy=function(a,b){return uk(a,17,b,Bj)},gy=function(a,b){return uk(a,18,b,Bj)},hy=function(a,b){return Lk(a,19,b)};vx.ua=[12,13,14,17,18,19];var iy=function(a){this.M=H(a)};w(iy,K);var jy="a".charCodeAt(),ky=Mb({yo:0,xo:1,uo:2,po:3,vo:4,qo:5,wo:6,so:7,to:8,oo:9,ro:10,zo:11}),ly=Mb({Bo:0,Co:1,Ao:2});var my=function(a){if(/[^01]/.test(a))throw Error("Input bitstring "+a+" is malformed!");this.j=a;this.g=0},oy=function(a){a=ny(a,36);var b=new ux;b=Yk(b,1,Math.floor(a/10));return Vk(b,2,a%10*1E8)},py=function(a){return String.fromCharCode(jy+ny(a,6))+String.fromCharCode(jy+ny(a,6))},sy=function(a){var b=ny(a,16);return!!ny(a,1)===!0?(a=qy(a),a.forEach(function(c){if(c>b)throw Error("ID "+c+" is past MaxVendorId "+b+"!");}),a):ry(a,b)},ty=function(a){for(var b=[],c=ny(a,12);c--;){var d=ny(a,6),e= ny(a,2),f=qy(a),g=b,h=g.push,k=new ox;d=bl(k,1,d);e=bl(d,2,e);f=uk(e,3,f,Bj);h.call(g,f)}return b},qy=function(a){for(var b=ny(a,12),c=[];b--;){var d=!!ny(a,1)===!0,e=ny(a,16);if(d)for(d=ny(a,16);e<=d;e++)c.push(e);else c.push(e)}c.sort(function(f,g){return f-g});return c},ry=function(a,b,c){for(var d=[],e=0;ea.j.length)throw Error("Requested length "+ b+" is past end of string.");var c=a.j.substring(a.g,a.g+b);a.g+=b;return parseInt(c,2)};my.prototype.skip=function(a){this.g+=a};var uy=function(a){try{var b=lh(a).map(function(f){return f.toString(2).padStart(8,"0")}).join(""),c=new my(b);if(ny(c,3)!==3)return null;var d=rx(qx(new px,ry(c,24,ky)),ry(c,24,ky)),e=ny(c,6);e!==0&&tx(sx(d,ry(c,e)),ry(c,e));return d}catch(f){return null}};var vy=function(a){try{var b=lh(a).map(function(d){return d.toString(2).padStart(8,"0")}).join(""),c=new my(b);return hy(gy(fy(ey(dy(cy(by(ay($x(Zx(Yx(Xx(Wx(Vx(Ux(Tx(Sx(Rx(wx(new vx,ny(c,6)),oy(c)),oy(c)),ny(c,12)),ny(c,12)),ny(c,6)),py(c)),ny(c,12)),ny(c,6)),!!ny(c,1)),!!ny(c,1)),ry(c,12,ly)),ry(c,24,ky)),ry(c,24,ky)),!!ny(c,1)),py(c)),sy(c)),sy(c)),ty(c))}catch(d){return null}};var yy=function(a){if(!a)return null;var b=a.split(".");if(b.length>4)return null;a=vy(b[0]);if(!a)return null;var c=new iy;a=Jk(c,1,a);b.shift();b=q(b);for(c=b.next();!c.done;c=b.next())switch(c=c.value,wy(c)){case 1:case 2:break;case 3:c=uy(c);if(!c)return null;Jk(a,2,c);break;default:return null}return a},wy=function(a){try{var b=lh(a).map(function(c){return c.toString(2).padStart(8,"0")}).join("");return ny(new my(b),3)}catch(c){return-1}};var zy=function(a,b){var c={};if(Array.isArray(b)&&b.length!==0){b=q(b);for(var d=b.next();!d.done;d=b.next())d=d.value,c[d]=a.indexOf(d)!==-1}else for(a=q(a),b=a.next();!b.done;b=a.next())c[b.value]=!0;delete c[0];return c};var Ay=function(a){this.M=H(a)};w(Ay,K);var By=function(a){var b=new Ay;wk(b,1,yj,a)};Ay.ua=[1];[2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2].reduce(function(a,b){return a+b});[2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2].reduce(function(a,b){return a+b});[2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2].reduce(function(a,b){return a+b});[2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2].reduce(function(a,b){return a+b});[2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2].reduce(function(a,b){return a+b});var Cy=function(a){if(a.gdprApplies===!1)return!0;a.internalErrorState===void 0&&(a.addtlConsent!==void 0&&typeof a.addtlConsent!=="string"&&(a.addtlConsent=void 0),a.gdprApplies!==void 0&&typeof a.gdprApplies!=="boolean"&&(a.gdprApplies=void 0),a.internalErrorState=a.tcString!==void 0&&typeof a.tcString!=="string"||a.listenerId!==void 0&&typeof a.listenerId!=="number"?2:a.cmpStatus&&a.cmpStatus!=="error"?0:3);return a.cmpStatus==="error"||a.internalErrorState!==0?a.internalBlockOnErrors?(Mg({e:String(a.internalErrorState)}, "tcfe"),!1):!0:a.cmpStatus!=="loaded"||a.eventStatus!=="tcloaded"&&a.eventStatus!=="useractioncomplete"?!1:!0};var Dy=function(){this.blockSize=-1};By([1,8,9,10,11,12,2,3,4,5,15,16]);By([1,6,7,9,10,11,12,2,3,4,5,13,14,18]);By([1,6,7,9,10,11,12,2,3,4,5,13,14,17,18]);new Ay;var P=function(a,b){this.j=this.B=this.o="";this.A=null;this.N=this.l="";this.C=!1;var c;a instanceof P?(this.C=b!==void 0?b:a.C,Ey(this,a.o),this.B=a.B,Fy(this,a.j),Gy(this,a.A),this.l=a.l,Hy(this,a.g.clone()),this.N=a.D()):a&&(c=String(a).match(Sf))?(this.C=!!b,Ey(this,c[1]||"",!0),this.B=Iy(c[2]||""),Fy(this,c[3]||"",!0),Gy(this,c[4]),this.l=Iy(c[5]||"",!0),Hy(this,c[6]||"",!0),this.N=Iy(c[7]||"")):(this.C=!!b,this.g=new Jy(null,this.C))}; P.prototype.toString=function(){var a=[],b=this.o;b&&a.push(Ky(b,Ly,!0),":");var c=this.j;if(c||b=="file")a.push("//"),(b=this.B)&&a.push(Ky(b,Ly,!0),"@"),a.push(encodeURIComponent(String(c)).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),c=this.A,c!=null&&a.push(":",String(c));if(c=this.l)this.j&&c.charAt(0)!="/"&&a.push("/"),a.push(Ky(c,c.charAt(0)=="/"?My:Ny,!0));(c=this.g.toString())&&a.push("?",c);(c=this.D())&&a.push("#",Ky(c,Oy));return a.join("")}; P.prototype.resolve=function(a){var b=this.clone(),c=!!a.o;c?Ey(b,a.o):c=!!a.B;c?b.B=a.B:c=!!a.j;c?Fy(b,a.j):c=a.A!=null;var d=a.l;if(c)Gy(b,a.A);else if(c=!!a.l){if(d.charAt(0)!="/")if(this.j&&!this.l)d="/"+d;else{var e=b.l.lastIndexOf("/");e!=-1&&(d=b.l.slice(0,e+1)+d)}e=d;if(e==".."||e==".")d="";else if(Ec(e,"./")||Ec(e,"/.")){d=e.lastIndexOf("/",0)==0;e=e.split("/");for(var f=[],g=0;g1||f.length==1&&f[0]!="")&&f.pop(), d&&g==e.length&&f.push("")):(f.push(h),d=!0)}d=f.join("/")}else d=e}c?b.l=d:c=a.g.toString()!=="";c?Hy(b,a.g.clone()):c=!!a.N;c&&(b.N=a.D());return b};P.prototype.clone=function(){return new P(this)}; var Ey=function(a,b,c){a.o=c?Iy(b,!0):b;a.o&&(a.o=a.o.replace(/:$/,""))},Fy=function(a,b,c){a.j=c?Iy(b,!0):b},Gy=function(a,b){if(b){b=Number(b);if(isNaN(b)||b<0)throw Error("Bad port number "+b);a.A=b}else a.A=null},Hy=function(a,b,c){b instanceof Jy?(a.g=b,Py(a.g,a.C)):(c||(b=Ky(b,Qy)),a.g=new Jy(b,a.C));return a},Ry=function(a,b){return a.g.get(b)};P.prototype.D=function(){return this.N}; var Sy=function(a,b){return(!a.j&&!b.j||a.j==b.j)&&(a.A==null&&b.A==null||a.A==b.A)},Ty=function(a){return a instanceof P?a.clone():new P(a,void 0)},Iy=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""},Ky=function(a,b,c){return typeof a==="string"?(a=encodeURI(a).replace(b,Uy),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null},Uy=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)},Ly=/[#\/\?@]/g,Ny=/[#\?:]/g,My=/[#\?]/g,Qy= /[#\?@]/g,Oy=/#/g,Jy=function(a,b){this.j=this.g=null;this.l=a||null;this.o=!!b},Vy=function(a){a.g||(a.g=new Map,a.j=0,a.l&&Uf(a.l,function(b,c){a.add(Yd(b),c)}))};Jy.prototype.add=function(a,b){Vy(this);this.l=null;a=Wy(this,a);var c=this.g.get(a);c||this.g.set(a,c=[]);c.push(b);this.j+=1;return this};Jy.prototype.remove=function(a){Vy(this);a=Wy(this,a);return this.g.has(a)?(this.l=null,this.j-=this.g.get(a).length,this.g.delete(a)):!1};Jy.prototype.clear=function(){this.g=this.l=null;this.j=0}; Jy.prototype.isEmpty=function(){Vy(this);return this.j==0};var Xy=function(a,b){Vy(a);b=Wy(a,b);return a.g.has(b)};l=Jy.prototype;l.forEach=function(a,b){Vy(this);this.g.forEach(function(c,d){c.forEach(function(e){a.call(b,e,d,this)},this)},this)};l.Xf=function(){Vy(this);for(var a=Array.from(this.g.values()),b=Array.from(this.g.keys()),c=[],d=0;d0?String(a[0]):b}; l.toString=function(){if(this.l)return this.l;if(!this.g)return"";for(var a=[],b=Array.from(this.g.keys()),c=0;c0&&(this.l=null,this.g.set(Wy(this,e),rb(c)),this.j+=c.length))},a));a.o=b};var Yy=function(){var a=this;this.promise=new Promise(function(b,c){a.resolve=b;a.reject=c})};function Zy(){var a=new Yy;return{promise:a.promise,resolve:a.resolve}};function $y(a){var b=b===void 0?function(){}:b;a.google_llp||(a.google_llp={});a=a.google_llp;var c=a[9];if(c)return c;c=Zy();a[9]=c;b();return c};function az(){var a=a===void 0?window:a;var b;return y(function(c){b=[$y(a).promise];try{b.push($y(a.parent).promise)}catch(d){}return c.return(Promise.race(b))})};var bz=[0,2,1],cz=null,dz=function(){var a=window.event||cz;if(!a)return null;var b;(b=a.which?1<=0?c.substring(0,d)+b+c.substring(e):c.substring(0,d)+b}a.href=b.length>6E4?c:b}}};function ez(a){var b=b===void 0?z:b;var c=new Ou;a!=null&&(a.Xd!=null&&Zk(c,1,a.Xd),a.mn!=null&&Zk(c,3,a.mn),a.label!=null&&Zk(c,6,a.label),a.zj!=null&&Zk(c,7,a.zj),a.kj!=null&&Zk(c,8,a.kj));var d;a=b;a=a===void 0?window:a;(d=a.fence)==null||d.reportEvent({eventType:"interaction",eventData:nl(c),destination:["buyer"]})};var fz=function(a){return typeof a.className=="string"?a.className:a.getAttribute&&a.getAttribute("class")||""},gz=function(a){return a.classList?a.classList:fz(a).match(/\S+/g)||[]},hz=function(a,b){typeof a.className=="string"?a.className=b:a.setAttribute&&a.setAttribute("class",b)},iz=function(a,b){return a.classList?a.classList.contains(b):lb(gz(a),b)},jz=function(a,b){if(a.classList)a.classList.add(b);else if(!iz(a,b)){var c=fz(a);hz(a,c+(c.length>0?" "+b:b))}},kz=function(a,b){if(a.classList)Array.prototype.forEach.call(b, function(e){jz(a,e)});else{var c={};Array.prototype.forEach.call(gz(a),function(e){c[e]=!0});Array.prototype.forEach.call(b,function(e){c[e]=!0});b="";for(var d in c)b+=b.length>0?" "+d:d;hz(a,b)}},lz=function(a,b){a.classList?a.classList.remove(b):iz(a,b)&&hz(a,Array.prototype.filter.call(gz(a),function(c){return c!=b}).join(" "))};var mz=function(a){this.serializedAttributionData=Zj(a);this.g=a.clone();this.isMutableImpression=lk(this.g)&&!!Nk(I(this.g,kk,1),33);J(this.g,30);Nk(this.g,11);this.hasUserFeedbackData=!!this.g&&lk(this.g);Nk(this.g,4);Nk(this.g,6);Nk(this.g,13);this.Ej=Ok(this.g,8)||1;this.creativeIndexSuffix=Ok(this.g,8)>1?Ok(this.g,7).toString():"";Lj(fk(this.g,34))!=null&&(this.creativeIndexSuffix=J(this.g,34)+"_"+this.creativeIndexSuffix);Nk(this.g,17);Nk(this.g,18);this.C=!!Nk(this.g,14);this.B=!!Nk(this.g, 15);Nk(this.g,31);Nk(this.g,9);this.openAttributionInline=Nk(this.g,10)==1;this.isMobileDevice=!!Nk(this.g,12);this.sf=null;this.J=(a=qc.querySelector("[data-slide]"))?a.getAttribute("data-slide")==="true":!1;(this.o=Ok(this.g,8)>1)&&C.goog_multislot_cache===void 0&&(C.goog_multislot_cache={});if(this.o&&!this.J&&C.goog_multislot_cache.hd===void 0){a=!1;var b=qc.querySelector("[data-dim]");if(b)if(b=b.getBoundingClientRect(),b.right-b.left>=150&&b.bottom-b.top>=150)a=!1;else{var c=document.body.getBoundingClientRect(); (Math.abs(c.left-b.left)<=1&&Math.abs(c.right-b.right)<=1?b.bottom-b.top:b.right-b.left)<150&&(a=!0)}else a=!1;window.goog_multislot_cache.hd=a}bf("abgcp"+this.creativeIndexSuffix);bf("abgc"+this.creativeIndexSuffix);this.j=bf("abgs"+this.creativeIndexSuffix);bf("abgl"+this.creativeIndexSuffix);bf("abgb"+this.creativeIndexSuffix);bf("abgac"+this.creativeIndexSuffix);bf("mute_panel"+this.creativeIndexSuffix);this.l=ef("goog_delegate_attribution"+this.creativeIndexSuffix);this.isDelegateAttributionActive= !!this.l&&!!this.C&&!ef("goog_delegate_disabled")&&!this.B;if(this.j)a:for(a=this.j,a=a.childNodes,b=0;bg.right-.5&&d.bottom>g.bottom-.5&&d.lefte+.1&&!(g++>30);){var h=(f+e)/2;xz(d,h);vz(d.j)?e=h:f=h}xz(d,e)}b()})},this);return new Promise(a)};wz.prototype.getSize=function(){return this.g};var yz=function(a,b){a.l=b};var zz=function(a){return!!a&&!!J(a,30)&&!!J(a,31)&&!!J(a,32)},Az=function(a,b){return bf(a+(b===void 0?"":b))},Bz=function(a,b){return bf(a+(b===void 0?"":b))},Cz=function(a){if(Lj(fk(a,21))!=null){var b=JSON.parse(J(a,21)).msg_type;if(b==="resize-me"||b==="dismiss"||b==="i-dismiss"){var c=J(a,21);try{b==="i-dismiss"?az().then(function(d){d.dismiss(3)}):C.top.postMessage(c,"*")}catch(d){nx(d,function(e){e.closeMsg=c})}}}},Dz=function(a,b,c){c=c===void 0?{}:c;if(typeof window.CustomEvent==="function")var d= new CustomEvent(b,c);else d=document.createEvent("CustomEvent"),d.initCustomEvent(b,!!c.bubbles,!!c.cancelable,c.detail);O(a,d)};var Ez=RegExp("[\u0591-\u06ef\u06fa-\u08ff\u200f\ud802-\ud803\ud83a-\ud83b\ufb1d-\ufdff\ufe70-\ufefc]");var Fz={},Gz={},Hz={},Iz={},Jz=function(){throw Error("Do not instantiate directly");};Jz.prototype.lj=null;Jz.prototype.getContent=function(){return this.content};Jz.prototype.toString=function(){return this.content};Jz.prototype.hk=function(){if(this.mj!==Fz)throw Error("Sanitized content was not of kind HTML.");return Kd(this.toString())};var Kz=function(){Jz.call(this)};Va(Kz,Jz);Kz.prototype.mj=Fz;var Lz=function(a){if(a!=null)switch(a.lj){case 1:return 1;case -1:return-1;case 0:return 0}return null},Qz=function(a){return Mz(a,Fz)?a:a instanceof Id?Nz(Jd(a).toString()):Nz(String(String(a)).replace(Oz,Pz),Lz(a))},Nz=function(a){function b(c){this.content=c}b.prototype=a.prototype;return function(c,d){c=new b(String(c));d!==void 0&&(c.lj=d);return c}}(Kz),Rz=function(a,b){for(var c in b)c in a||(a[c]=b[c]);return a},Sz=function(a){return a instanceof Jz?!!a.getContent():!!a},Vz=function(a){return Tz(String(a), function(){return""}).replace(Uz,"<")},Wz=RegExp.prototype.hasOwnProperty("sticky"),Xz=new RegExp((Wz?"":"^")+"(?:!|/?([a-zA-Z][a-zA-Z0-9:-]*))",Wz?"gy":"g"); function Tz(a,b){for(var c=[],d=a.length,e=0,f=[],g,h,k=0;k":f.push(m);c.push(b(f.join(""), g));e=0;f=[];h=g=null;break;default:f.push(m)}break;default:throw Error();}e===1&&k>=d&&(k=h+1,c.push("<"),e=0,f=[],h=g=null)}return c.join("")} var Yz=function(a){return a.replace(/<\//g,"<\\/").replace(/\]\]>/g,"]]\\>")},Q=function(a){return Mz(a,Fz)?String(Vz(a.getContent())).replace(Zz,Pz):String(a).replace(Oz,Pz)},bA=function(a){return Mz(a,Fz)?String(Vz(a.getContent())).replace($z,Pz):String(a).replace(aA,Pz)},gA=function(a){Mz(a,Gz)||Mz(a,Hz)?a=cA(a):a instanceof jd?a=cA(ld(a)):a instanceof fd?a=cA(gd(a).toString()):(a=String(a),a=dA.test(a)?a.replace(eA,fA):"about:invalid#zSoyz");return a},iA=function(a){Mz(a,Gz)||Mz(a,Hz)?a=cA(a): a instanceof jd?a=cA(ld(a)):a instanceof fd?a=cA(gd(a).toString()):(a=String(a),a=hA.test(a)?a.replace(eA,fA):"about:invalid#zSoyz");return a},R=function(a){Mz(a,Iz)?a=Yz(a.getContent()):a==null?a="":a instanceof wd?a=Yz(xd(a)):a instanceof Gd?a=Yz(a instanceof Gd&&a.constructor===Gd?a.g:"type_error:SafeStyleSheet"):(a=String(a),a=jA.test(a)?a:"zSoyz");return a},Mz=function(a,b){return a!=null&&a.mj===b},kA={"\x00":"�","\t":" ","\n":" ","\v":" ","\f":" ","\r":" "," ":" ", '"':""","&":"&","'":"'","-":"-","/":"/","<":"<","=":"=",">":">","`":"`","\u0085":"…","\u00a0":" ","\u2028":"
","\u2029":"
"},Pz=function(a){return kA[a]},lA={"\x00":"%00","\u0001":"%01","\u0002":"%02","\u0003":"%03","\u0004":"%04","\u0005":"%05","\u0006":"%06","\u0007":"%07","\b":"%08","\t":"%09","\n":"%0A","\v":"%0B","\f":"%0C","\r":"%0D","\u000e":"%0E","\u000f":"%0F","\u0010":"%10","\u0011":"%11","\u0012":"%12","\u0013":"%13","\u0014":"%14", "\u0015":"%15","\u0016":"%16","\u0017":"%17","\u0018":"%18","\u0019":"%19","\u001a":"%1A","\u001b":"%1B","\u001c":"%1C","\u001d":"%1D","\u001e":"%1E","\u001f":"%1F"," ":"%20",'"':"%22","'":"%27","(":"%28",")":"%29","<":"%3C",">":"%3E","\\":"%5C","{":"%7B","}":"%7D","\u007f":"%7F","\u0085":"%C2%85","\u00a0":"%C2%A0","\u2028":"%E2%80%A8","\u2029":"%E2%80%A9","\uff01":"%EF%BC%81","\uff03":"%EF%BC%83","\uff04":"%EF%BC%84","\uff06":"%EF%BC%86","\uff07":"%EF%BC%87","\uff08":"%EF%BC%88","\uff09":"%EF%BC%89", "\uff0a":"%EF%BC%8A","\uff0b":"%EF%BC%8B","\uff0c":"%EF%BC%8C","\uff0f":"%EF%BC%8F","\uff1a":"%EF%BC%9A","\uff1b":"%EF%BC%9B","\uff1d":"%EF%BC%9D","\uff1f":"%EF%BC%9F","\uff20":"%EF%BC%A0","\uff3b":"%EF%BC%BB","\uff3d":"%EF%BC%BD"},fA=function(a){return lA[a]},Oz=/[\x00\x22\x26\x27\x3c\x3e]/g,Zz=/[\x00\x22\x27\x3c\x3e]/g,aA=/[\x00\x09-\x0d \x22\x26\x27\x2d\/\x3c-\x3e`\x85\xa0\u2028\u2029]/g,$z=/[\x00\x09-\x0d \x22\x27\x2d\/\x3c-\x3e`\x85\xa0\u2028\u2029]/g,eA=/[\x00- \x22\x27-\x29\x3c\x3e\\\x7b\x7d\x7f\x85\xa0\u2028\u2029\uff01\uff03\uff04\uff06-\uff0c\uff0f\uff1a\uff1b\uff1d\uff1f\uff20\uff3b\uff3d]/g, jA=/^(?!-*(?:expression|(?:moz-)?binding))(?:(?:[.#]?-?(?:[_a-z0-9-]+)(?:-[_a-z0-9-]+)*-?|(?:calc|cubic-bezier|drop-shadow|hsl|hsla|hue-rotate|invert|linear-gradient|max|min|rgb|rgba|rotate|rotateZ|translate|translate3d|translateX|translateY|var)\((?:(?:(?:(?:\/(?![\/\*]))|(?:\*(?!\/)))?[-\u0020\t,+.!#%_0-9a-zA-Z]+)*|(?:calc|cubic-bezier|drop-shadow|hsl|hsla|hue-rotate|invert|linear-gradient|max|min|rgb|rgba|rotate|rotateZ|translate|translate3d|translateX|translateY|var)\((?:(?:(?:\/(?![\/\*]))|(?:\*(?!\/)))?[-\u0020\t,+.!#%_0-9a-zA-Z]+)*\))+\)|[-+]?(?:[0-9]+(?:\.[0-9]*)?|\.[0-9]+)(?:e-?[0-9]+)?(?:[a-z]{1,4}|%)?|(?:(?:\/(?![\/\*]))|(?:\*(?!\/)))|!important)(?:\s*[,\u0020]\s*|$))*$/i, dA=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i,hA=/^[^&:\/?#]*(?:[\/?#]|$)|^https?:|^ftp:|^data:image\/[a-z0-9+-]+;base64,[a-z0-9+\/]+=*$|^blob:/i,mA=/^[a-zA-Z0-9+\/_-]+={0,2}$/,cA=function(a){return String(a).replace(eA,fA)},nA=function(a){a=String(a);return mA.test(a)?a:"zSoyz"},Uz=/
';h?n='
'+(ea?"":'")+ '
'+(k&&!m?(F?tA(a):"")+(ia?"":''+Qz(f)+""):"")+(p?"":n?''+Qz(t)+' ': ''+Qz(B)+' ')+"
":(f=(ea?"":'")+'
'+(D>40?'
': "")+(F?tA(a)+'':""),!k||m||ia?k="":(k=a.creativeIndexSuffix,m=a.Qj,k=Nz(''+Qz(m)+"")),k=f+k,p?n="":n?(n='',p=a.creativeIndexSuffix,m=a.vk,ia=a.uk,f=a.Tg,h=a.Uh,p=Nz(''+(f&&!h?uA(a.creativeIndexSuffix,a.Lg)+Qz(ia):Qz(ia)+" "+uA(a.creativeIndexSuffix,a.Lg))+""),n+=p):(n='',p=a.creativeIndexSuffix,m=a.Yj,ia=a.Xj,f=a.Lg,p=Nz(''+Qz(ia)+' '),n+=p),n=k+n+"
");g=e+n+'
'+Qz(g)+'
'; F?(d='
'+(ea?"":'
'+sA()+"
")+'
'+(ea?'
'+sA()+"
":"")+'
'+Qz(N)+'
', F=a.creativeIndexSuffix,N=a.Uh,ea=a.vl,e=a.wl,F=Nz(''+(N?vA()+Qz(ea):Qz(ea)+" "+vA())+""),d=d+F+"
"):d="";Ub=Ub(g+d+"");d=a.creativeIndexSuffix;F=a.Hh;N=a.sl;ea=a.xl;g=a.gi;e=a.Eg;n=a.Ol;p=a.Kj;k=a.Lj;m=a.Tg;ia=a.mk;f=a.enableNativeJakeUi;h=a.Ei;a=a.gg;b=b&&b.Ml;b=Nz((m?'":"")+"#panel_set"+R(d)+">.panel {position: absolute;"+(F?"top: -100%; left: -100%;":"top: -"+R(N)+"px; left: -"+R(ea)+"px;")+"z-index: 2147483646; display: block;"+(F?"width: 100%; height: 100%":"width: "+R(g)+"px; height: "+R(e)+"px;")+"}#panel_set"+R(d)+" img {border: 0;}#panel_set"+R(d)+">.panel.visible, #panel_set"+R(d)+" .visible .panel {position: absolute;"+(n?"top: 0; left: 0;":"left: "+R(p)+"px; top: "+R(k)+"px;")+ "opacity: 1;}#panel_set"+R(d)+" .panel-container {display: table;"+(F?"width: 100%; height: 100%;":"width: "+R(g)+"px; height: "+R(e)+"px;")+"margin: 0; padding: 0; background-color: #fafafa;}#panel_set"+R(d)+" .panel-row {display: block; padding: 0 0 0.3em 0;}#panel_set"+R(d)+" .panel-row:first-child {padding: 0.3em 17px;}#panel_set"+R(d)+" .panel-content {"+(a?"vertical-align: middle;":"vertical-align: top;")+"padding-top: "+R(h)+"px; display: table-cell; color: #999; color: rgba(0,0,0,0.4); transition: opacity 150ms linear; text-align: center;}.collapsed #panel_set"+ R(d)+" .fade {opacity: 0.4;}#menu-dismiss"+R(d)+" {padding-top: "+R(h)+"px;}.jake-middle.survey-horiz #panel_set .panel-content {vertical-align: middle;}#ad_closed_panel"+R(d)+" .btn, #ad_options_panel"+R(d)+" .btn {display: inline-block; border-radius: 2px; box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; width: auto; text-decoration: none; white-space: nowrap; line-height: 1em; cursor: pointer;}#closed_text"+R(d)+", #final_closed_text"+R(d)+" {display: inline-block; line-height: 1.28em; font-size: 1.2em;}#native_closed_text"+ R(d)+" {display: flex; flex-direction: row; align-items: center;}#closed_text"+R(d)+" img, #native_closed_text"+R(d)+" img, #final_closed_text"+R(d)+' img {margin: 0 0 -0.34em 0; height: 1.25em; display: inline-block; width: auto; min-width: 3.75em; opacity: 0.4; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=40)";}#native_closed_text'+R(d)+" img {margin: 0 0.3em -0.2em 0.3em; height: 1.4em;}.spacer"+R(d)+" {display: inline-block; padding: 0; box-shadow: none; width: 3px;}"+(g<=360&& e>=100?"#ad_closed_panel"+R(d)+" .responsive-btn, #ad_options_panel"+R(d)+" .responsive-btn {max-width: 288px; width: 75%; white-space: normal; margin-bottom: 0.4em;}.spacer"+R(d)+" {display: none;}":"")+(g<=220?"#ad_closed_panel"+R(d)+" .responsive-btn, #ad_options_panel"+R(d)+" .responsive-btn {max-width: 198px; width: 90%; white-space: normal; margin-bottom: 0.4em;}.spacer"+R(d)+" {display: none;}":"")+(e>=220&&!a?"#panel_set"+R(d)+" .panel-content {vertical-align: top;}":"")+(e<=36?"#closed_text"+ R(d)+" {padding: 0 1em 0 0;}#panel_set"+R(d)+" .panel-row {padding: 0 !important;}":"")+".btn>span {display: inline-block; padding: 0.5em 0.6em; line-height: 1em;}#ad_closed_panel"+R(d)+" .settings-btn, #ad_options_panel"+R(d)+" .settings-btn {background-color: #fff; color: #9e9ea6;}#ad_closed_panel"+R(d)+" .settings-btn:hover, #ad_closed_panel"+R(d)+" .settings-btn:active, #ad_options_panel"+R(d)+" .settings-btn:hover, #ad_options_panel"+R(d)+" .settings-btn:active{background-color: #f5f5f5;}.settings-text {white-space: nowrap;}#report_btn"+ R(d)+".primary-btn, #ad_options_btn"+R(d)+".primary-btn {background-color: #4285f5; color: white;}#report_btn"+R(d)+".primary-btn:hover, #report_btn"+R(d)+".primary-btn:active, #ad_options_btn"+R(d)+".primary-btn:hover, #ad_options_btn"+R(d)+'.primary-btn:active {background-color: #3275e5;}.btn-icon {position: relative; display: inline-block; margin-bottom: -0.15em; height: 1em; width: 1em; opacity: 0.4; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=40)";}[dir="rtl"] .btn-icon {float: left;}#confirmation_msg'+ R(d)+" {font-weight: bold; color: #333;}#confirmation_msg"+R(d)+", #final_closed_text"+R(d)+" {line-height: 1.1em; padding: 0.3em;}"+(e>=100?"#confirmation_msg"+R(d)+", #final_closed_text"+R(d)+" {padding: 1em 0.3em;}":"")+"#post_survey_panel"+R(d)+" span {display: block; text-align: center; line-height: 1em;}#post_survey_panel"+R(d)+" a, #post_survey_panel"+R(d)+" a:active, #post_survey_panel"+R(d)+" a:hover {text-decoration: none; color: #4285f5;}#final_closed_panel"+R(d)+", #final_closed_panel"+ R(d)+" #final_closed_text {opacity: 0; transition: opacity 400ms linear;}#final_closed_panel"+R(d)+" span {white-space: normal;}#final_closed_panel"+R(d)+" #final_closed_text.visible {opacity: 1;}"+(ia?"#personalize_toggle"+R(d)+" {pointer-events: none; margin-top: 6px; margin-bottom: 6px;}#ad_options_panel"+R(d)+" span {display: block; text-align: center; line-height: 1em;}":"")+".fallback-wrap .btn{margin: 1px auto 1px auto; white-space: normal;}.close {"+(a?"left: 5%;":"top: 2px; left: 2px;")+ "display: inline-block; position: absolute; color: black; font-size: 15px; line-height: 15px; opacity: 0.5; height: 15px; width: 15px; user-select: none; cursor: pointer;}"+(a?".panel-buttons {position: relative;}":"")+'[dir="rtl"] .close {right: 2px; transform: scaleX(-1);}[dir="rtl"] #menu-dismiss'+R(d)+" {left: initial; right: 0; transform: scaleX(-1);}.native-arrow {"+(f?"opacity: 0.6;":"opacity: 0.8;")+"}.window-icon {opacity: 0.4;}"+(f?"#native-menu-bg"+R(d)+" {position: absolute; top: 0; left: 0; display: inline-block; width: 100%; height: 100%; background-color: rgba(0,0,0,0.6); cursor: pointer;}.native-panel-wrapper {display: inline-block; padding: 0.1em;}.visible .native-panel {margin-top: 0; opacity: 1;}#menu-dismiss"+ R(d)+" {position: absolute; top: 0; left: 0; cursor: pointer;}#menu-dismiss"+R(d)+" svg {height: 1.4em; width: 1.4em; max-height: 24px; max-width: 24px; min-height: 10px; min-width: 10px;}.cross {opacity: 0.6; stroke: #52b4c6; stroke-width: 1.25; transform: rotate(0deg); transform-origin: 50% 50%; transition: opacity 0.1s linear, transform 0.1s linear;}#menu-dismiss"+R(d)+":hover .cross {opacity: 0.9; transform: rotate(90deg);}.native-panel-contents {display: flex; flex-wrap: nowrap; flex-direction: column; margin: 0.8em;}.header {display: flex; flex-direction: row; justify-content: flex-start; white-space: nowrap; font-size: 1.3em;}.header-text-wrapper {display: inline-block; margin: 0 0 0.2em 0.1em;}.header {margin: 0 0 5px 0;}#menu-dismiss"+ R(d)+" svg {height: 1em; width: 1em; margin: 0.1em;}.cross {stroke: #888;}.header-text-wrapper {margin: 0 0 0.4em 0;}.native-panel-wrapper {display: flex; padding: 0; justify-content: center; align-items: center; height: 100%;}#native_closed_text"+R(d)+" img {margin: 0 0.3em -0.1em 0.3em;}.header {font-size: 1em; justify-content: center}.native-panel {opacity: 0; display: inline-block; position: relative; box-sizing: border-box; color: rgba(0,0,0,0.4); background-color: #fafafa; font-family: 'Arial', sans-serif; white-space: nowrap; border-radius: 4px; box-shadow: 0 3px 2px 0 rgba(0,0,0,0.3); margin-top: 5px; transition: margin 0.25s ease-out;}.native-button-container {display: flex; justify-content: center; flex-wrap: nowrap; flex-direction: column;}.native-button-container #report_btn"+ R(d)+" {color: white; background-color: rgba(26,115,232,1); border: 1px solid rgba(66,133,245,0.6); opacity: 0.9;}.native-button-container #report_btn"+R(d)+":hover {background-color: rgba(20,91,183,1);}.native-button-container #settings_btn"+R(d)+", .native-button-container #why_this_ad_btn"+R(d)+", .native-button-container #learn_more_btn"+R(d)+" {color: rgba(0,0,0,0.5); border: 1px solid rgba(0,0,0,0.3);}.native-button-container a {display: flex; flex-direction: row; justify-content: center; align-items: center; margin: 5px 0 0 0; flex-grow: 1; cursor: pointer; border-radius: 4px; box-shadow: 0 0 2px rgba(0,0,0,0.12), 0 1px 3px rgba(0,0,0,0.26) !important; background-color: white; font-size: 0.8em; line-height: 1em;}.native-button-container a:hover {background-color: #f5f5f5;}.native-button-container a, .native-button-container a:active, .native-button-container a:hover, .native-button-container a:visited {text-decoration: none;}.native-button-container a:first-child {margin-top: 0;}.button-text {font-size: 1em; display: block;}.padded-text {margin: 0.4em 0.7em;}.native-button-container #settings_icon {opacity: 0.65; opacity: 0.65;}.icon {display: inline-block; width: 2.3em; height: 2.3em; fill: #fff; stroke: none; margin: 0.2em;}"+ (g/e<=.5?".native-panel-wrapper {padding-top: 1em; align-items: flex-start;}":"")+(g/e>=2&&e<=100?".native-panel-contents {margin: 0.5em;}.native-button-container a {margin: 0 0 0 0.2em;}.header {margin: 0;}.native-button-container a:first-child {margin: 0;}.native-panel-contents {flex-direction: column;}.native-button-container {flex-direction: row;}":"")+(g/e>=3&&e<=49?".native-panel-contents {margin: 0.5em 1em;}.native-panel {margin: 0.1em;}.header {margin: 0 0.2em 0 0;}.native-panel-contents {flex-direction: row;}.native-button-container {flex-direction: row;}.header-text-wrapper {margin-bottom: 0;}": "")+(e<=130?".padded-text {white-space: normal; margin: 0.3em; text-align: initial;}":""):"")+(m?"#panel_set"+R(d)+" .panel-content {font-family: 'Google Sans', sans-serif;}#closed_text"+R(d)+" img, #native_closed_text"+R(d)+" img, #final_closed_text"+R(d)+' img {margin: 0 0 -0.3em 0; height: 1.1em; min-width: 3.3em;}.close {top: 6px; left: 6px; height: 22px; width: 22px;}[dir="rtl"] .close {right: 8px; transform: scaleX(-1);}.btn>span {padding: 0.7em 0.5em;}#ad_closed_panel'+R(d)+" .btn, #ad_options_panel"+ R(d)+" .btn {border-radius: 4px;}#ad_closed_panel"+R(d)+" .settings-btn, #ad_options_panel"+R(d)+" .settings-btn {box-shadow: inset 0 0 0 1px #dadce0;}#closed_text"+R(d)+", #final_closed_text"+R(d)+' {line-height: 1.28em; font-size: 1.15em;}.btn-icon {margin-right: 0.5em;}[dir="rtl"] .btn-icon {float: none;}'+(g/e>=2?".spacer"+R(d)+" {width: 4px;}#closed_text"+R(d)+", #final_closed_text"+R(d)+" {line-height: 1em;}"+(e>=90?".close {height: 24px; width: 24px; top: 8px; left: 8px;}#closed_text"+R(d)+ ", #final_closed_text"+R(d)+" {font-size: 1.3em;}.panel-lower {margin-top: 6px;}.panel-buttons {margin-top: 6px;}":"#closed_text"+R(d)+", #final_closed_text"+R(d)+" {font-size: 1.1em;}.close {height: 20px; width: 20px;}.panel-lower {margin-top: 2px;}.panel-buttons {margin-top: -2px;}.btn > span {padding: 0.4em;}"):g<=200?".panel-lower {margin-top: 25px;}.close {height: 16px; width: 16px;}":".panel-lower {margin-top: 40px;}.panel-buttons {margin-top: 14px;}#panel_set"+R(d)+" .panel-row:first-child {padding: 0 17px;}#ad_closed_panel"+ R(d)+" .responsive-btn, #ad_options_panel"+R(d)+" .responsive-btn {margin-bottom: 8px; width: 51%;}"):"#panel_set"+R(d)+" .panel-content {font-family: 'Arial', sans-serif;}#ad_closed_panel"+R(d)+" .btn, #ad_options_panel"+R(d)+" .btn {border-radius: 2px; box-shadow: 0 0 2px rgba(0,0,0,0.12), 0 1px 3px rgba(0,0,0,0.26) !important;}")+(ia?"#learn_more_btn"+R(d)+" .window-icon {height: 16px; width: 16px;}#personalize_toggle"+R(d)+" .track {pointer-events: all; position: relative; display: inline-block; width: 36px; height: 14px; top: 1px; margin-left: 6px;}#personalize_toggle"+ R(d)+" .track input {opacity: 0; width: 0; height: 0;}#personalize_toggle"+R(d)+" .handle {position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #dadce0; -webkit-transition: .4s; transition: .4s; border-radius: 7px;}#personalize_toggle"+R(d)+' .handle:before {position: absolute; content: ""; height: 20px; width: 20px; left: -4px; bottom: -3px; margin-left: 4px; background-color: #fff; -webkit-transition: .4s; transition: .4s; box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .3), 0 1px 3px 1px rgba(60, 64, 67, .15); border-radius: 50%;}#personalize_toggle'+ R(d)+" input:checked + .handle {background-color: rgba(66, 133, 244, .5);}#personalize_toggle"+R(d)+" input:focus + .handle {box-shadow: 0 0 1px #4285f4;}#personalize_toggle"+R(d)+" input:checked + .handle:before {-webkit-transform: translateX(16px); -ms-transform: translateX(16px); transform: translateX(16px); transition: .4s; -webkit-transition: background-color .4s; -ms-transition: background-color .4s; transition: background-color .4s; background-color: #1a73e8;}"+(g<=200||e<=200?"#personalize_toggle"+ R(d)+" .track {width: 24px; height: 9px; top: 2px;}#personalize_toggle"+R(d)+" .handle:before {height: 13px; width: 13px; left: -7px; bottom: -2px;}#learn_more_btn"+R(d)+" .window-icon {height: 14px; width: 14px;}":"")+(e>=500?"#personalize_toggle"+R(d)+" {margin-top: 6;}":"")+(g<=100||e<=100?"#personalize_toggle"+R(d)+" {margin-top: 0; margin-bottom: 3px;}#learn_more_btn"+R(d)+" .window-icon {height: 12px; width: 12px;}":"")+(g<=60||e<=60?"#learn_more_btn"+R(d)+" .window-icon {height: 11px; width: 11px;}": "")+(g<=50||e<=50?"#learn_more_btn"+R(d)+" .window-icon {height: 9px; width: 9px;}":""):"")+"");return c(Ub+b)},tA=function(a){var b=a.creativeIndexSuffix;a=a.ul;return Nz(''+Qz(a)+"")},uA=function(a,b){return Nz('')},sA=function(){return Nz('')}, vA=function(){return Nz('')};var xA=function(a,b){var c=a.creativeIndexSuffix,d=a.Dm,e=a.jn,f=a.Pl,g=Nz,h=Rz({Sl:Sz(d)?"left":"right",Bl:Sz(d)?"right":"left"},a);d=h.Sl;var k=h.Bl,m=h.creativeIndexSuffix,n=h.Cl,p=h.El,r=h.Dl,t=h.tn,v=h.Wm,A=h.Hh,B=h.gi,D=h.Eg,F=h.Tg,N=h.Ei;h=h.gg;b=b&&b.Ml;f=" "+Nz((F?'":"")+"#survey-container"+R(m)+" {position: absolute; top: 0; left: 0;"+ (Sz(A)?"width: 100%; height: 100%;":"width: "+R(B)+"px; height: "+R(D)+"px;")+"overflow: hidden;"+(h?"display: table;":"")+"background-color: #fafafa; font-size: 0; white-space: nowrap;}.survey-native-scroll #survey-container"+R(m)+" {overflow-x: scroll;}.survey-horiz, .survey-vert {text-align: center;}#survey-container"+R(m)+" * {box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box;}.survey-block {height: "+R(n)+"px;}.survey-option {position: relative; overflow: hidden; display: inline-block; padding: 1px 5px; width: "+ R(p)+"px; height: "+R(n)+"px; border: 1px solid #e0e0e0; background-color: #fff; cursor: pointer;}.survey-option:hover, .survey-scroll .survey-option:active {background-color: #f5f5f5;}.survey-option div {width: 100%; height: 100%; display: table; text-align: center;}.survey-option span {vertical-align: middle; display: table-cell; color: #4285f4; font-family: Arial, sans-serif; text-align: center; font-size: 12px; line-height: 14px; white-space: normal;}@media (min-height: 54px) {.survey-horiz.survey-spaced .survey-option, .survey-vert .survey-option {box-shadow: 0 0 2px rgba(0,0,0,0.12), 0px 1px 3px rgba(0,0,0,0.26) !important; border: none;}}#mute_panel"+ R(m)+".survey-horiz .survey-option {display: inline-block; margin-"+R(k)+": -1px; box-shadow: none;}#mute_panel"+R(m)+".survey-horiz .survey-option:first-child {margin-"+R(k)+": 0;}#mute_panel"+R(m)+".survey-horiz.survey-spaced .survey-option {margin-"+R(k)+": "+R(r)+"px;}#mute_panel"+R(m)+".survey-horiz.survey-spaced .survey-option:first-child {margin-"+R(k)+": 0;}#mute_panel"+R(m)+".survey-horiz.jake-middle .survey-block {margin-top: "+R(((D!=null?D:0)-n)/2)+"px;}#mute_panel"+R(m)+".survey-horiz.jake-top .survey-block {margin-top: "+ R(r)+"px;}#mute_panel"+R(m)+".survey-vert .survey-option, #mute_panel"+R(m)+".survey-horiz.survey-spaced .survey-option {border-radius: 2px;}#mute_panel"+R(m)+".survey-vert .survey-option {margin: "+R(r)+"px auto 0 auto; display: block;}#mute_panel"+R(m)+".survey-vert.jake-top .survey-option:first-child {margin-top: "+R(r)+"px;}#mute_panel"+R(m)+".survey-vert.jake-middle .survey-option:first-child {margin-top: "+R(((D!=null?D:0)-t)/2)+"px;}#mute_panel"+R(m)+".survey-grid #survey-container"+R(m)+" {width: initial; height: initial; white-space: normal; padding: 1px;}#mute_panel"+ R(m)+".survey-grid .survey-option {display: inline-block; width: "+R(((B!=null?B:0)-6)/2)+"px; height: "+R(((D!=null?D:0)-6)/2)+"px; margin: 1px;}#mute_panel"+R(m)+".survey-small-grid #survey-container"+R(m)+" {white-space: normal; padding: "+R((D!=null?D:0)/2-(n+2))+"px 0px;}#mute_panel"+R(m)+".survey-small-grid #option-container"+R(m)+" {padding: 0 "+R((B!=null?B:0)/2-(p+2))+"px;}#mute_panel"+R(m)+".survey-small-grid .survey-option {display: inline-block; margin: 1px;}.option-container {"+(h?"display: table-cell; vertical-align: middle;": "margin-top: "+R(N)+"px; display: inline-block;")+"}.scroll, .native-scroll {position: absolute; top: 0; display: none;}.scroll {width: 30px; border: 1px solid transparent; background-color: #666; background-color: rgba(0,0,0,0.6); text-align: center; transition: visibility 150ms step-end; cursor: pointer;}.native-scroll {width: 10px;}.survey-scroll .scroll, .survey-native-scroll .native-scroll {display: block;}.scroll div {position: absolute; top: 50%; left: 50%; height: 36px; width: 36px; margin: -18px 0 0 -18px;}.scroll:hover, .scroll:active {background-color: #999; background-color: rgba(0,0,0,0.4);}.scroll-right {"+ R(d)+": 0;}.native-scroll.scroll-"+R(d)+" {-webkit-box-shadow: inset -10px 0 10px -10px rgba(0,0,0,0.3); -moz-box-shadow: inset -10px 0 10px -10px rgba(0,0,0,0.3); box-shadow: inset -10px 0 10px -10px rgba(0,0,0,0.3);}.scroll-right {border-top-"+R(k)+"-radius: 4px; border-bottom-"+R(k)+'-radius: 4px;}.scroll-right div {background-image:url("'+iA(v)+"/images/icons/material/system/1x/keyboard_arrow_"+cA(d)+'_white_36dp.png");}.scroll-left {'+R(k)+": 0;}.native-scroll.scroll-"+R(k)+" {-webkit-box-shadow: inset 10px 0 10px -10px rgba(0,0,0,0.3); -moz-box-shadow: inset 10px 0 10px -10px rgba(0,0,0,0.3); box-shadow: inset 10px 0 10px -10px rgba(0,0,0,0.3);}.scroll-left {border-top-"+ R(d)+"-radius: 4px; border-bottom-"+R(d)+'-radius: 4px;}.scroll-left div {background-image:url("'+iA(v)+"/images/icons/material/system/1x/keyboard_arrow_"+cA(k)+'_white_36dp.png");}.survey-option {transition: margin 150ms linear;}.close {'+(h?"left: 5%;":"top: 2px; left: 2px;")+'display: inline-block; position: absolute; color: black; font-size: 15px; line-height: 15px; opacity: 0.5; height: 15px; width: 15px; user-select: none; cursor: pointer;}[dir="rtl"] .close {right: 2px; transform: scaleX(-1);}'+ (F?".survey-option {font-family: 'Google Sans', sans-serif; border-radius: 4px;}@media (min-height: 54px) {.survey-horiz.survey-spaced .survey-option, .survey-vert .survey-option {box-shadow: inset 0 0 0 1px #dadce0 !important; border: none;}}":"")+"")+'
'+(f?'
'+Nz('')+ "
":"");e=Rz({options:e},a);a=e.options;e=e.creativeIndexSuffix;b="";d=a.length;for(k=0;k
'+Qz(a[k])+"
";b+='
';a=Nz(b);return g(f+a+'
')};var zA=function(a,b,c,d,e,f,g,h,k,m,n,p,r,t){this.J=a;this.g=b;this.o=c;this.ha=g;this.j=h;this.sb=k;this.F=d;this.Tc=e;this.O=f;this.Aa=n;this.Ga=p;this.xa=r;this.V=void 0;this.la=m;this.C=Math.min(50,this.o);this.L=!1;this.l=0;this.D=!0;this.N=this.G=this.K=this.A=this.B=this.ba=this.aa=null;this.Y=Math.max(1,Math.floor((this.g-30-1)/95));a=this.g/this.o;a=a>.75&&a<1.25;b=this.g>=198&&this.o>=2*this.C+6&&this.g<672&&this.o<7*this.C&&yA(this)<=4;this.Wa=this.g>=196&&this.o>=2*this.C+4&&yA(this)<= 4;this.Ua=this.sb==="enable_jake_ui_grid"&&b&&a;this.da=!!this.la;this.T=t;this.collapse()};zA.prototype.render=function(){oA(this.J,xA,{gi:this.g,Eg:this.o,Kj:0,Lj:0,Hh:this.ha,creativeIndexSuffix:this.j,Dm:this.F,Wm:this.Tc,El:96,Cl:this.C,Dl:8,tn:yA(this)*(this.C+8)-8,Cp:yA(this)*95+1,Dp:yA(this)*104-8,jn:db(Ik(this.O,Iu,2),function(a){return J(a,1)}),Tg:this.Aa,Ei:this.Ga,gg:this.xa,Pl:this.T});AA(this)};zA.prototype.expand=function(){this.J&&jz(this.J,"visible")}; zA.prototype.collapse=function(){this.J&&lz(this.J,"visible")};zA.prototype.display=function(a){this.V=a;this.expand()}; var yA=function(a){return Ik(a.O,Iu,2).length},BA=function(a){var b=[],c=a.o,d=a.g,e=a.C,f=yA(a)*95+1,g=yA(a)*104-8;var h=yA(a)*(a.C+8)-8;var k=ch&&dh+50?b.push("jake-top"):b.push("jake-middle")):(b.push("survey-horiz"),d>=g&&b.push("survey-spaced"),de+50?b.push("jake-top"):b.push("jake-middle")));return b},AA=function(a){a.aa= document.getElementById("survey-container"+a.j);a.ba=document.getElementById("option-container"+a.j);a.B=document.getElementById("scroll-right"+a.j);a.A=document.getElementById("scroll-left"+a.j);a.K=document.getElementById("native-scroll-right"+a.j);a.G=document.getElementById("native-scroll-left"+a.j);a.da?a.aa&&a.K&&a.G&&(a.aa.onscroll=function(){a.L=!0},window.setInterval(function(){if(a.L){var e=a.ba.getBoundingClientRect(),f=a.F?a.G:a.K;(a.F?a.K:a.G).style.visibility=e.left===0?"hidden":"visible"; f.style.visibility=e.right===a.g?"hidden":"visible";a.L=!1}},100)):(a.B&&Kf(a.B,"click",Sa(a.Eb,a)),a.A&&Kf(a.A,"click",Sa(a.Xa,a)));var b=df("survey-option",a.J);if(b&&b[0]){a.N=b[0];for(var c=0;c1?1:0])||mx({context:"mta_nomop"});this.Ua=a||new Ku;this.g=this.l.creativeIndexSuffix;this.Qb=this.l.isMobileDevice;this.xa=!!this.l.creativeIndexSuffix;this.Wa=this.l.autoExpandOnLoad;this.G=qz(J(this.j,5),J(this.j,6),J(this.j,19));a=new rz(this.da); this.ba=!!this.l.enableNativeJakeUi;this.ie=sz(a,"jake_ui_extension","jake_default_ui");this.Uc=sz(a,"disable_report_button",(!1).toString()).toString()==="true";this.ge=sz(a,"disable_wta_button",(!1).toString()).toString()==="true";this.ha=!!Nk(this.j,43);this.O=Nk(Lu(this.j),24);this.F=Sk(Lu(this.j),27);this.Aa=this.sb=this.Ga=!1;this.Eb=Nk(Lu(this.j),29);this.A=this.V;this.o=this.T;this.L=!1;DA(this);this.D=null;this.Y=lx(279,function(){c.B&&(mx({ev:"psx",efsb:1,elsb:0,ttd:Date.now()-c.B},1),c.B= null,Lf(C,"beforeunload",c.Y))});this.Xa=!1;this.K=this.B=null;this.la=Ok(Lu(this.j),28)};w(EA,M); EA.prototype.render=function(){var a=this,b=Bz("mute_panel",this.g),c=Lu(this.j),d=J(this.j,25)||"//support.google.com/adsense/troubleshooter/1631343",e=J(c,2),f=J(c,1),g=J(this.j,32),h=J(this.j,35),k=J(this.j,36),m=J(this.j,39),n=J(this.j,40),p=Nk(this.j,41),r=J(Lu(this.j),17),t=J(this.j,31);r&&(t=Vf(t,"eid",r));r=zz(this.j);c&&J(c,11)&&J(c,12)&&(e=J(c,12),f=J(c,11));c={isMutableImpression:this.l.isMutableImpression,Em:!1,sl:this.T,xl:this.V,Eg:this.o,gi:this.A,Kj:0,Lj:0,Hh:this.L,creativeIndexSuffix:this.g, Ol:this.xa,Lp:this.j,Uh:Nk(this.j,27),Qj:J(Lu(this.j),6),Hl:J(Lu(this.j),7),Xj:e,Yj:d,Lg:f,yn:r,zn:this.ge,uk:g,vk:t,enableNativeJakeUi:this.ba,Tg:this.O,mk:this.F!==0,ul:h,Tm:k,vl:m,wl:n,Nl:this.Uc,Ei:this.la,gg:this.ha};oA(b,wA,c);(c=this.ba?Az("native_closed_text",this.g):Az("closed_text",this.g))&&FA(this,c,J(Lu(this.j),18));(c=Az("final_closed_text",this.g))&&FA(this,c,J(Lu(this.j),3));(c=Az("report_btn",this.g))&&Kf(c,"click",lx(280,function(){GA(a)}));(c=Az("settings_btn",this.g))&&Kf(c,"click", function(){return a.collapse()});if(zz(this.j)){var v=Az("why_this_ad_btn",this.g);v&&Kf(v,"click",lx(281,function(F){var N;(N=a.G)==null||oz(N,"closebutton_whythisad_click","1",!1);N=v.getAttribute("href");var ia={};F=(ia.wtaUrl=N,ia.underlyingEvent=F,ia);Dz(a,"wtaClicked",{detail:F})}))}(c=Az("menu-dismiss",this.g))&&Kf(c,"click",lx(354,function(){HA(a,"btn")}));if(this.F!==0){(c=Az("ad_options_btn",this.g))&&Kf(c,"click",function(){var F=Az("ad_options_panel",a.g);F&&jz(F,"visible")});(c=Az("ad_options_dismiss", this.g))&&Kf(c,"click",function(){return IA(a)});var A=Az("learn_more_btn",this.g);A&&Kf(A,"click",function(F){a.Aa||(a.Aa=!0,mx({context:"mta_paidLearnMore"},.01));var N=A.getAttribute("href"),ia={};F=(ia.learnMoreUrl=N,ia.underlyingEvent=F,ia);Dz(a,"learnMoreClicked",{detail:F})});if(c=Az("personalize_toggle",this.g))if(Kf(c,"click",function(){var F=Az("personalize_checkbox",a.g);F.checked=!F.checked;var N=F.checked,ia=!a.Ga;a.Ga=!0;var ea={};N=(ea.gpidType=a.F,ea.gpidPersonalizationEnabled=N,ea.gpidShouldResetAdsData= ia,ea);Dz(a,"updateGpid",{detail:N});ia&&a.F==1&&mx({context:"mta_paidClearAdsData"},.01);(ia=J(a.j,42))&&C.fetch&&C.fetch(ia);a.sb||(a.sb=!0,mx({context:"mta_paidPersonalizationToggle",state_toggled:F.checked},.01))}),c=Az("personalize_checkbox",this.g))c.checked=p}(p=Az("native-menu-bg",this.g))&&Kf(p,"click",lx(354,function(){HA(a,"bg")}));p=Az("survey_panel",this.g);c=I(this.Ua,Ju,3);d=["jake-top"];p&&c&&(this.D=new zA(p,this.A,this.o,Nk(this.j,27),J(Lu(this.j),16),c,this.L,this.g,this.ie,this.Qb, this.O,this.la,this.ha,this.Eb),d=BA(this.D),this.D.render());kz(b,d);b=[];p=this.O?15:16;if(this.ba)p=new wz("#mute_panel"+this.g+" .native-panel",p,6),b.push(p.resize());else{var B=new wz("#mute_panel"+this.g+" .panel-row",p,9);yz(B,function(){var F=Az("ad_closed_panel",a.g);B.getSize()<=13?jz(F,"fallback-wrap"):lz(F,"fallback-wrap")});var D=new wz("#mute_panel"+this.g+" .btn-text",p,9);b.push(B.resize().then(function(){return D.resize()}))}p=new wz("#mute_panel"+this.g+" .conf-msg",17,12);b.push(p.resize()); p=new wz("#mute_panel"+this.g+" #final_closed_text",17,12);b.push(p.resize());p=new wz("#mute_panel"+this.g+" .survey-option span",12,8);b.push(p.resize());return Promise.all(b)}; var DA=function(a){if(a.g){for(var b=null,c=0,d=0,e=document.querySelectorAll("[data-dim]"),f=0;f=115?(a.o=b.offsetHeight,a.A=b.offsetWidth):a.xa=!1}else b=b===void 0?window:b,b=b.innerHeight||b.document.documentElement.clientHeight||b.document.body.clientHeight,c=c===void 0?window:c,c=c.innerWidth||c.document.documentElement.clientWidth||c.document.body.clientWidth, a.T=b,a.V=c,a.o=b,a.A=c,a.L=!0},HA=function(a,b){mx({context:"mta_dismiss",close_method:b,jake_mta_context:J(Lu(a.j),17),height:a.o,width:a.A},.01);a.collapse()},FA=function(a,b,c){c=c.split("%1$s");var d=document.createElement("span");d.innerText=c[0];var e=document.createElement("img");e.setAttribute("src",J(Lu(a.j),5));a=document.createElement("span");a.innerText=c[1];b.appendChild(d);b.appendChild(e);b.appendChild(a)},GA=function(a){var b=I(a.Ua,Hu,2);if(!a.Xa)if(b){var c;(c=a.G)==null||pz(c, b);a.Xa=!0}else mx({context:"mta_nomoconv"},.01);b=0;a.D?(b=2,a.D.display(function(d,e){var f;(f=a.G)==null||pz(f,d);a.K=d;mx({type:"jake_survey_idx",idx:e,jake_mta_context:J(Lu(a.j),17)},.01);JA(a)}),a.B=Date.now(),(c=Az("survey_panel",a.g))&&jz(c,"visible")):JA(a);mx({type:"jake_telemetry",surv_rc:b,jake_mta_context:J(Lu(a.j),17)},.01);a.B&&Kf(C,"beforeunload",a.Y)},JA=function(a){var b=Az("survey_panel",a.g);b&&lz(b,"visible");(b=Az("post_survey_panel",a.g))&&jz(b,"visible");setTimeout(function(){return KA(a)}, 1600)},KA=function(a){var b=Az("final_closed_panel",a.g);b&&jz(b,"visible");setTimeout(function(){return LA(a)},300)},LA=function(a){var b=Az("final_closed_text",a.g);b&&jz(b,"visible");b=a.K&&J(a.K,1)==="mute_survey_option"&&J(a.K,2)==="3";(a.g===""||b)&&setTimeout(function(){return Cz(a.j)},900)}; EA.prototype.expand=function(){jz(Bz("ad_closed_panel",this.g),"visible");jz(document.body,"goog_menu_opened");if(!this.Wa){var a=I(this.j,Hu,7);if(a){var b;(b=this.G)==null||pz(b,a);this.Wa=!0}else mx({context:"mta_noiconv"},.01)}O(this,"p-control-panel-shown")};EA.prototype.collapse=function(){lz(Bz("ad_closed_panel",this.g),"visible");lz(document.body,"goog_menu_opened");IA(this);O(this,"p-control-panel-hidden")};EA.prototype.R=function(){Lf(C,"beforeunload",this.Y);M.prototype.R.call(this)}; var IA=function(a){(a=Az("ad_options_panel",a.g))&&lz(a,"visible")};var MA={};Ia("adsense.mobileads.afmanotify.receiveMessage",function(a,b){if(MA.hasOwnProperty(a))for(var c=MA[a],d=0;dc)return this.l;Pm(b)||(b=new Om(b,{context:a,id:e}));if(d||this.g)b.meta={},this.g&&this.g(b.meta),d&&d(b.meta);z.google_js_errors=z.google_js_errors||[];z.google_js_errors.push(b);z.error_rep_loaded||(b=z.document,a=qg("SCRIPT",b),Wd(a,this.J),(b=b.getElementsByTagName("script")[0])&&b.parentNode&&b.parentNode.insertBefore(a,b),z.error_rep_loaded=!0);return this.l}; l.Od=function(a,b,c){try{return b()}catch(d){if(!this.C(a,d,this.A,c,this.j))throw d;}};l.Ig=function(a,b,c,d){var e=this;return function(){var f=Da.apply(0,arguments);return e.Od(a,function(){return b.apply(c,f)},d)}};var tB=function(a){a=a._google_rum_ns_=a._google_rum_ns_||{};return a.pq=a.pq||[]};function uB(a){return Kd(a===null?"null":a===void 0?"undefined":a)};var vB=function(a,b){b=b.google_js_reporting_queue=b.google_js_reporting_queue||[];b.length<2048&&b.push(a)},wB=function(a,b,c){var d=d===void 0?!1:d;var e=window,f=typeof queueMicrotask!=="undefined";return function(){d&&f&&queueMicrotask(function(){e.google_rum_task_id_counter=e.google_rum_task_id_counter||1;e.google_rum_task_id_counter+=1});var g=Tm(),h=3;try{var k=b.apply(this,arguments)}catch(m){h=13;if(!c)throw m;c(a,m)}finally{e.google_measure_js_timing&&g&&vB(Object.assign({},{label:a.toString(), value:g,duration:(Tm()||0)-g,type:h},d&&f&&{taskId:e.google_rum_task_id_counter=e.google_rum_task_id_counter||1}),e)}return k}};function xB(a,b,c){fg(b,function(d,e){var f=c&&c[e];!d&&d!==0||f||(a+="&"+encodeURIComponent(e)+"="+encodeURIComponent(String(d)),c&&(c[e]=!0))});return a} var CB=function(a,b,c,d,e,f,g,h){f=f===void 0?Infinity:f;g=g===void 0?!1:g;Ym.call(this,a,h);var k=this;this.V=b;this.domain=c;this.path=d;this.da=e;this.J=0;this.A={};this.F={};this.L=[];this.report={};this.l=0;this.D=[];this.G=f;a=this.g.navigator;this.T=!(this.domain!=="csi.gstatic.com"||!a||!a.sendBeacon);this.g.performance&&this.g.performance.now||yB(this,"dat",1);a&&a.deviceMemory&&yB(this,"dmc",a.deviceMemory);this.g===this.g.top&&yB(this,"top",1);this.O=!g;this.K=function(){k.g.setTimeout(function(){zB(k)}, 1100)};this.aa=function(){yB(k,"uet",2);for(var n=q(k.L),p=n.next();!p.done;p=n.next()){p=p.value;try{p()}catch(t){}}n=k.g;var r=r===void 0?{}:r;typeof window.CustomEvent==="function"?p=new CustomEvent("rum_blp",r):(p=document.createEvent("CustomEvent"),p.initCustomEvent("rum_blp",!!r.bubbles,!!r.cancelable,r.detail));n.dispatchEvent(p);zB(k);k.A.uet!=null&&(k.o-=3+k.A.uet.length+2,delete k.A.uet)};this.Y=Fe(function(){zB(k)});this.ba=function(){var n=k.g.document;(n.hidden!=null?n.hidden:n.mozHidden!= null?n.mozHidden:n.webkitHidden!=null&&n.webkitHidden)&&k.Y()};this.N=this.g.setTimeout(function(){zB(k)},5E3);this.o=b.length+c.length+d.length+e.length+3;ab(this.events,function(n){AB(k,n)});b=tB(this.g);var m=function(){var n=Da.apply(0,arguments)[0],p=n[0];n=n[1];var r=p.length+n.length+2;k.o+k.l+r>8E3&&zB(k);k.D.push([p,n]);k.l+=r;k.o+k.l>=6E3&&zB(k);return 0};ab(b,function(n){return m(n)});b.length=0;b.push=m;yB(this,"puid",(this.J+1).toString(36)+"~"+Ua().toString(36));BB(this)};w(CB,Ym); var BB=function(a){a.g.document.readyState==="complete"?a.g.setTimeout(function(){zB(a)},0):Kf(a.g,"load",a.K);var b=Nf(a.g.document);typeof b!=="undefined"&&Kf(a.g,b,a.ba);Kf(a.g,"pagehide",a.aa)},yB=function(a,b,c){c=String(c);a.o=a.A[b]!=null?a.o+(c.length-a.A[b].length):a.o+(b.length+c.length+2);a.A[b]=c},DB=function(a,b,c,d,e){e=e===void 0?"":e;var f=a.report[b]==null?b.length+c.length+2:d?c.length+(e===void 0?"":e).length:c.length-a.report[b].length;a.o+a.l+f>8E3&&(zB(a),f=b.length+c.length+ 2);a.report[b]=d&&a.report[b]!=null?a.report[b]+(""+(e===void 0?"":e)+c):c;a.l+=f;a.o+a.l>=6E3&&zB(a)},zB=function(a){if(a.j&&a.O){try{a.l&&(a.sendBeacon(a.report),a.J===a.G&&a.C())}catch(b){(new sB).lc(358,b)}a.report={};a.l=0;a.events.length=0;a.g.clearTimeout(a.N);a.N=0}},EB=function(a,b){var c=a.V+"//"+a.domain+a.path+a.da,d={};c=xB(c,a.A,d);c=xB(c,b,d);b=a.g;b.google_timing_params&&(c=xB(c,b.google_timing_params,d),b.google_timing_params=void 0);ab(a.D,function(e){var f=q(e);e=f.next().value; f=f.next().value;var g={};c=xB(c,(g[e]=f,g))});a.D.length=0;return c};CB.prototype.sendBeacon=function(a){this.J++;a=EB(this,a);var b=!1;try{b=!!(this.T&&this.g.navigator&&this.g.navigator.sendBeacon(a,null))}catch(c){this.T=!1}b||Kg(this.g,a);yB(this,"puid",(this.J+1).toString(36)+"~"+Ua().toString(36))}; var AB=function(a,b){var c="met."+b.type,d=typeof b.value==="number"?Math.round(b.value).toString(36):b.value,e=Math.round(b.duration);b=""+b.label+(b.slotId!=null?"_"+b.slotId:"")+("."+d)+(e>0?"_"+e.toString(36):"")+(b.taskId!=null?"__"+Math.round(b.taskId).toString(36):"");DB(a,c,b,!0,"~")};CB.prototype.B=function(a){this.j&&this.J1)return WB("multiple-elements",a.g),null;b=b[0];return b?b.innerHTML:(WB("missing-element",a.g),null)},ZB=function(){var a=YB,b=XB(a);if(b!==null)if(NB(b)){var c=JSON.parse(b);b=c.experimentIds;var d=c.binaryIdentifier;c=c.adEventId;var e=typeof d==="string";typeof c=="string"&&GB(U(),"qqid",c);e&& (a.g=d);typeof b!=="string"?WB("missing-flags",a.g):(e||WB("missing-binary-id",a.g),a.l=b)}else WB("invalid-json",a.g)};VB.prototype.reset=function(){this.l=null;this.g="missing-id"};var $B=function(){VB.apply(this,arguments)};w($B,VB);var WB=function(a,b){var c=U();T(c,"eee",a);T(c,"bi",b)};function aC(a){return a.split(",").map(function(b){return parseInt(b,10)}).filter(function(b){return!isNaN(b)})};var hB=new bB,bC=new bB,cC=new bB,dC=new bB,eC=new bB,fC=new bB,gC=new bB,hC=new bB,iC=new bB,jC=new bB,kC=new bB;S({id:95329493,P:0});S({id:95329494,P:0});S({id:318475490,P:0});S({id:324123032,P:0});S({id:420706097,P:10});S({id:420706098,P:10});S({id:21062100,P:0});S({id:420706142,P:0});S({id:44745813,P:0});var lC=S({id:44746068,P:0});S({id:21064565,P:0});S({id:21064567,P:0});S({id:418572006,P:10});S({id:44768716,P:10,oa:dC});S({id:44768717,P:10,oa:dC});S({id:44787137,P:0,oa:dC}); S({id:95334214,P:10});var mC=S({id:95334215,P:10});S({id:44749839,P:0});var nC=S({id:44714743,P:0});S({id:44715336,P:10});S({id:44724516,P:0});S({id:44726389,P:10});S({id:44752711,P:50});S({id:44752052,P:50});S({id:44752657,P:50});S({id:44733246,P:10});var oC=S({id:44750823,P:10,oa:bC}),pC=S({id:44750824,P:10,oa:bC}),qC=S({id:44794282,P:10,oa:bC}),rC=S({id:44797013,P:10,oa:bC}),sC=S({id:44797014,P:10,oa:bC});S({id:44750822,P:10,oa:bC});S({id:44751889,P:10});S({id:44751890,P:10});S({id:44752995,P:10}); S({id:44752996,P:10});S({id:44762627,P:0});S({id:44762628,P:0});S({id:95322371,P:5});var tC=S({id:95322372,P:5}),uC=S({id:95327100,P:0});S({id:44801479,P:10,oa:cC});S({id:44801480,P:10,oa:cC});S({id:44752538,P:0});S({id:44754608,P:10});S({id:44754609,P:10});var vC=S({id:75259414,P:0});S({id:44776384,P:0});S({id:95322945,P:10});S({id:95322946,P:10});S({id:44787954,P:0});S({id:44789282,P:0});S({id:44792636,P:0});S({id:44794298,P:0});S({id:44803996,P:0});S({id:44805453,P:0});S({id:44804917,P:0}); S({id:44809796,P:0});S({id:95334260,P:0});S({id:75259416,P:0});S({id:75259420,P:0});S({id:75259421,P:0});S({id:44785452,P:10});var wC=S({id:44785453,P:10});S({id:45401791,P:0});S({id:95326337,P:990,oa:eC});S({id:44806074,P:50,oa:iC});S({id:44806075,P:50,oa:iC});var xC=window.navigator||{},yC=xC.cookieDeprecationLabel?990:0;S({id:95322906,P:xC.cookieDeprecationLabel?10:0,oa:fC});S({id:95320461,P:0,oa:fC});var zC=S({id:95322907,P:yC,oa:fC});S({id:44807614,P:10});S({id:44807615,P:10}); S({id:44809192,P:10,oa:hC});var AC=S({id:44809193,P:10,oa:hC});S({id:95320804,P:10,oa:hC});S({id:95320805,P:10,oa:hC});S({id:95322027,P:1E3,oa:gC});S({id:46130031,P:0});S({id:95328713,P:10});var BC=S({id:95328714,P:10});S({id:95327848,P:0});S({id:95335442,P:200,oa:jC});S({id:95335443,P:200,oa:jC});S({id:95327717,P:10,oa:kC});var CC=S({id:95327718,P:10,oa:kC});S({id:31065644,P:1});S({id:31065645,P:1});var DC=new bB;S({id:95331588,P:0,oa:DC});S({id:95331589,P:1E3,oa:DC});S({id:95332092,P:0,oa:new bB}); S({id:95332182,P:0});S({id:95334228,P:10});var EC=S({id:95334229,P:10});if(typeof window.initializeVirtualDom==="undefined"){var YB=Ng($B),FC;YB.j||(ZB(),YB.j=!0);FC=YB.l;var GC;YB.j||(ZB(),YB.j=!0);GC=YB.g;if(FC!=null){var HC=new MB(aC(FC),GC);gB(HC)}};var IC=function(a,b,c){this.j=a;this.l=b;this.g=c===void 0?null:c};IC.prototype.getName=function(){return this.j};var JC=function(){if(window.MutationObserver){var a=[];(new MutationObserver(function(){a.forEach(function(b){return b()});a=[]})).observe(document.createTextNode(""),{characterData:!0})}};typeof Promise==="function"&&String(Promise).indexOf("[native code]")>-1||JC();var KC=function(){this.adPosition=1;this.l=-1;this.j=this.g=0;this.totalAds=1};KC.prototype.getAdPosition=function(){return this.adPosition};KC.prototype.getPodIndex=function(){return this.g};KC.prototype.getTimeOffset=function(){return this.j};KC.prototype.getTotalAds=function(){return this.totalAds};var LC=function(a){return(a=a.match(/^\w{2,3}([-_]|$)/))?a[0].replace(/[_-]/g,""):""};function MC(a,b){b=b===void 0?!1:b;a=a<0?0:a;a=b?a:Math.round(a);if(b){var c=Math.floor(a/3600);if(Number.isFinite(c)){c=String(c);var d=c.indexOf(".");d===-1&&(d=c.length);var e=c[0]==="-"?"-":"";e&&(c=c.substring(1));c=e+ee("0",Math.max(0,2-d))+c}else c=String(c);c+=":";d=Math.floor(a/60)%60<10?"0":""}else c=a>=3600?Math.floor(a/3600)+":":"",d=Math.floor(a/60)%60<10&&a>=3600?"0":"";return""+c+d+Math.floor(a/60)%60+":"+(Math.floor(a%60)<10?"0":"")+Math.floor(a%60)+(b?(a%1).toFixed(3).slice(1):"")} function NC(a,b){return E(b)?!1:(new RegExp(a)).test(b)}function OC(a){if(!a)return!1;switch(a.toLowerCase()){case "true":case "1":return!0}return!1}function PC(a){var b=[""];if(!a)return null;a=a.toLowerCase().replace("-","_");if(b.includes(a))return a;a=LC(a);return b.includes(a)?a:null};var QC={jp:2,lp:3,ip:4,kp:5,mp:6,np:7,op:8,pp:11,qp:12};var RC={LOADED:"loaded",Vi:"start",FIRST_QUARTILE:"firstQuartile",MIDPOINT:"midpoint",THIRD_QUARTILE:"thirdQuartile",COMPLETE:"complete",PAUSE:"pause",Ui:"resume",Li:"bufferStart",Ki:"bufferFinish",SKIPPED:"skipped",sp:"volumeChange",No:"playerStateChange",Bn:"adUserInteraction"};function SC(a,b){return a&&(a[b]||(a[b]={}))}function TC(a,b){var c;if(c=c===void 0?typeof omidExports==="undefined"?null:omidExports:c)a=a.split("."),a.slice(0,a.length-1).reduce(SC,c)[a[a.length-1]]=b};function UC(a){for(var b=q(VC.keys()),c=b.next();!c.done;c=b.next()){c=c.value;for(var d=q(VC.get(c)),e=d.next();!e.done;e=d.next())if(e.value.test(a))return c}return 1} var VC=new Map([[2,[/^(https?:\/\/|\/\/)?[-a-zA-Z0-9.]+\.moatads\.com\/.*$/]],[3,[/^(https?:\/\/|\/\/)?[-a-zA-Z0-9.]+\.doubleverify\.com\/.*$/,/^(https?:\/\/|\/\/)?c\.[\w\-]+\.com\/vfw\/dv\/.*$/,/^(https?:\/\/|\/\/)?(www\.)?[\w]+\.tv\/r\/s\/d\/.*$/,/^(https?:\/\/|\/\/)?(\w\.?)+\.dv\.tech\/.*$/]],[4,[/^(https?:\/\/|\/\/)?[-a-zA-Z0-9.]+\.adsafeprotected\.com\/.*$/]],[5,[/^https?:\/\/(q|cdn)\.adrta\.com\/s\/.*\/(aa|aanf)\.js.*$/,/^https:\/\/cdn\.rta247\.com\/s\/.*\/(aa|aanf)\.js.*$/]],[6,[]],[7,[/^(https?:\/\/|\/\/)?[-a-zA-Z0-9.]+\.voicefive\.com\/.*$/, /^(https?:\/\/|\/\/)?[-a-zA-Z0-9.]+\.measuread\.com\/.*$/,/^(https?:\/\/|\/\/)?[-a-zA-Z0-9.]+\.scorecardresearch\.com\/.*$/]],[8,[/^(https?:\/\/|\/\/)?s418\.mxcdn\.net\/bb-serve\/omid-meetrics.*\.js$/]],[9,[/^(https?:\/\/|\/\/)?pagead2\.googlesyndication\.com\/.*$/,/^(https?:\/\/|\/\/)?www\.googletagservices\.com\/.*$/]]]);TC("OmidSessionClient.verificationVendorIdForScriptUrl",UC); TC("OmidSessionClient.VerificationVendorId",{OTHER:1,MOAT:2,DOUBLEVERIFY:3,INTEGRAL_AD_SCIENCE:4,PIXELATE:5,NIELSEN:6,COMSCORE:7,MEETRICS:8,GOOGLE:9});var WC={hp:"ultrahigh",no:"high",Go:"medium"},XC=new Set("disable_frequency_capping adgroups adsafe adsid adtest adk ad_type js alternate_ad_url is_amp mv an u_ah u_aw channel client u_cd ca_h ca_type ca_w cdm co tfcd correlator creatives ad_block debug_experiment_id disable_budget_throttling dlt dt eo_id_str jar gdpr cookie cookie_enabled addtl_consent gpic u_his h_ch host ht_id idt frm image_size sdkv ltd wta sz u_java eid hl is_lat max_ad_duration media_url min_ad_duration msid ms rdid u_so npa num_ads u_nmime u_nplug omid_p osd output pdopt plcmt pucrd pvtf video_product_type pubf ppt puo ppsj ptt trt idtype ref rdp retrieve_only u_h u_w sdk_apis sdki sdmax slotname sdr scd videoad_start_delay tfua t_pyv a3p cpm u_tz top unviewed_position_start url description_url cust_age cust_gender use_budget_filtering us_privacy gdpr_consent vconp vid_d video_format mpt mpv vpa vpmute vis".split(" "));/* Math.uuid.js (v1.4) http://www.broofa.com mailto:robert@broofa.com Copyright (c) 2010 Robert Kieffer Dual licensed under the MIT and GPL licenses. */ var YC="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split(""),ZC=function(){for(var a=Array(36),b=0,c,d=0;d<36;d++)d==8||d==13||d==18||d==23?a[d]="-":d==14?a[d]="4":(b<=2&&(b=33554432+Math.random()*16777216|0),c=b&15,b>>=4,a[d]=YC[d==19?c&3|8:c]);return a.join("")};var $C=function(){var a=a===void 0?ZC():a;this.adTagUrl=null;this.l="0";this.o=this.g="unknown";this.vastLoadTimeout=5E3;this.contentTitle=this.contentKeywords=this.contentDuration=this.forceNonLinearFullSlot=this.nonLinearAdSlotHeight=this.nonLinearAdSlotWidth=this.linearAdSlotHeight=this.linearAdSlotWidth=null;this.transactionId=a;this.omidAccessModeRules={};this.j=this.C=this.A=this.pageUrl=null},aD=function(a,b){a=a.clone();a.adTagUrl=b;a.adsResponse=null;a.A=!0;return a}; $C.prototype.clone=function(){var a=new $C;a.l=this.l;a.g=this.g;a.o=this.o;a.adTagUrl=this.adTagUrl;a.adsResponse=this.adsResponse;a.vastLoadTimeout=this.vastLoadTimeout;a.linearAdSlotWidth=this.linearAdSlotWidth;a.linearAdSlotHeight=this.linearAdSlotHeight;a.nonLinearAdSlotWidth=this.nonLinearAdSlotWidth;a.nonLinearAdSlotHeight=this.nonLinearAdSlotHeight;a.forceNonLinearFullSlot=this.forceNonLinearFullSlot;a.contentDuration=this.contentDuration;a.contentKeywords=this.contentKeywords?this.contentKeywords.slice(): null;a.contentTitle=this.contentTitle;a.transactionId=this.transactionId;a.omidAccessModeRules=this.omidAccessModeRules;a.pageUrl=this.pageUrl;a.C=this.C;a.j=this.j;return a};var cD=function(a){P.call(this,a);this.J=new Map;a=this.l;var b=a.indexOf(";"),c=null;b>=0?(this.l=a.substring(0,b),c=a.substring(b+1)):this.l=a;bD(this,c)};w(cD,P);cD.prototype.toString=function(){return dD(this,P.prototype.toString.call(this))};cD.prototype.D=function(){return""}; var bD=function(a,b){E(G(b))||b.split(";").forEach(function(c){var d=c.indexOf("=");if(!(d<=0)){var e=Yd(c.substring(0,d));c=Yd(c.substring(d+1));d=a.J.get(e);d!=null?d.includes(c)||d.push(c):d=[G(c)];a.J.set(e,d)}},a)},eD=function(a,b){if(E(G(b)))return null;a=a.J.get(b);return a!=null?a:null},fD=function(a,b,c){E(G(b))||(c=c.map(G),a.J.set(b,c))},dD=function(a,b){b=[G(b)];b.push.apply(b,u(gD(a)));return b.join(";")},gD=function(a){var b=eD(a,"ord");b==null?b=[G(Date.now())]:E(G("ord"))||a.J.delete("ord"); var c=[];a.J.forEach(function(d,e){d.forEach(function(f){c.push(e+"="+f)})});c.push("ord="+b[0]);fD(a,"ord",b);return c};cD.prototype.clone=function(){return new cD(this.toString())};function hD(){try{var a=window.top.location.href}catch(b){return 2}return a==null?2:a==window.document.location.href?0:1}function iD(a,b){b.forEach(function(c,d){a.g.set(d,c)})}function jD(a,b){b=q(b.entries());for(var c=b.next();!c.done;c=b.next()){var d=q(c.value);c=d.next().value;d=d.next().value;E(d)&&a.g.remove(c)}}function kD(a){Ey(a,"https")} function lD(a){var b;(b=mD(a)||nD(a)||oD(a)||pD(a)||qD(a))||(a=new P(a),b=a.l,b=a.j==="pubads.g.doubleclick.net"&&(NC("/ssai/",b)||NC("/ondemand/",b)));return b}function nD(a){var b=new cD(a);a=b.j;b=dD(b,b.l);return!tc(a,".g.doubleclick.net")&&(tc(a,"doubleclick.net")||tc(a,"pagead2.googlesyndication.com"))&&NC("/(ad|pfad)[x|i|j]?/",b)}function pD(a){return(new P(a)).j=="bid.g.doubleclick.net"} function mD(a){a=new P(a);var b=a.l;return tc(a.j,"googleads.g.doubleclick.net")&&NC("/pagead/(live/)?ads",b)}function oD(a){a=new P(a);var b=a.l;return tc(a.j,"doubleclick.net")&&NC("/gampad/(live/)?ads",b)}function qD(a){a=new P(a);var b=a.l;return a.j==="ad.doubleclick.net"&&NC("/dv3/adv",b)}function rD(a){var b=new Map;a.g!="unknown"&&b.set("vpa",a.g);a.o!="unknown"&&b.set("vpmute",a.o=="muted"?"1":"0");a.l!="0"&&b.set("vconp",a.l);return b} function sD(a){var b=eB(),c=new Set(b);a.split(",").forEach(function(d){d=Number(d);Number.isNaN(d)||d===0||c.add(d)});return Array.from(c).sort().join(",")};var wD=function(a,b){a=a===void 0?{}:a;b=b===void 0?new Map:b;tD(b,"ADCOUNT",function(){var e=a.Db;return(e=e===void 0?null:e)?e.getAdPosition().toString():"-1"});tD(b,"AD_MT",function(){var e=a.H;e=e===void 0?null:e;return e==null?"-1":Math.round(Math.max(0,e.getCurrentTime()*1E3)).toString()});tD(b,"ADPLAYHEAD",function(){var e=a.H;e=e===void 0?null:e;return e==null?"-1":MC(e.getCurrentTime(),!0)});tD(b,"ADSERVINGID",function(){var e=a.ad;return(e=(e=e===void 0?null:e)&&e.rd)?e:"-1"});tD(b,"ASSETURI", function(){var e=a.H;e=e===void 0?null:e;return e==null?"-1":e.uf});uD(b,"CLICKPOS","-1");tD(b,"PODSEQUENCE",function(){var e=a.ad;return(e=e===void 0?null:e)&&e.l?e.l.toString():"-1"});var c=a,d=c.on;c=c.pn;uD(b,"UNIVERSALADID",d&&c?d+" "+c:"-1");vD(a,b)},vD=function(a,b){a=a===void 0?{}:a;b=b===void 0?new Map:b;tD(b,"ADTYPE",function(){var d=a.ad;return(d=d===void 0?null:d)?d.Oc:"-1"});uD(b,"APPBUNDLE",a.appName||"-1");tD(b,"BREAKMAXADS",function(){var d=a.Db;return(d=d===void 0?null:d)?d.getTotalAds().toString(): "-1"});uD(b,"BREAKMAXADLENGTH","-1");tD(b,"BREAKMAXDURATION",function(){var d=a.Db;return(d=d===void 0?null:d)?d.l.toString():"-1"});uD(b,"BREAKMINADLENGTH","-1");uD(b,"BREAKMINDURATION","-1");tD(b,"BREAKPOSITION",function(){var d=a.Db;d=d===void 0?null:d;d==null?d="-1":(d=d.getPodIndex(),d=d==0?"1":d==-1?"3":"2");return d});tD(b,"CACHEBUSTING",xD);uD(b,"CLICKTYPE",a.jj||"-1");var c=a;uD(b,"CLIENTUA",yD({Me:c.Me,Ne:c.Ne,ff:c.ff,gf:c.gf}));uD(b,"CONTENTID","-1");uD(b,"CONTENTURI","-1");uD(b,"DEVICEIP", "-1");uD(b,"DEVICEUA","-1");uD(b,"DOMAIN",a.domain||zD());uD(b,"GDPRCONSENT",a.Jh?a.Jh:"-1");uD(b,"IFA","-2");uD(b,"IFATYPE","-2");uD(b,"INVENTORYSTATE","-1");uD(b,"LATLONG","-1");tD(b,"LIMITADTRACKING",function(){return"-1"});tD(b,"MEDIAPLAYHEAD",function(){var d=a.Db;return(d=d===void 0?null:d)?d.getTimeOffset().toString():"-1"});tD(b,"OMIDPARTNER",function(){var d=a.zg,e=a.Hj;d=d===void 0?null:d;e=e===void 0?null:e;return d==null||e==null?"-1":d+"/"+e});uD(b,"PAGEURL",a.pageUrl||AD());uD(b,"PLACEMENTTYPE", a.Mj||"-1");uD(b,"PLAYERSIZE","-1");uD(b,"PLAYERSTATE","-1");uD(b,"REGULATIONS","-1");uD(b,"SERVERSIDE","0");uD(b,"SERVERUA","-1");tD(b,"TIMESTAMP",BD);tD(b,"TRANSACTIONID",function(){var d=a.ma;return(d=d===void 0?null:d)?d.transactionId.toString():"-1"});uD(b,"US_PRIVACY",a.lk||"-1");a.pd&&uD(b,"UACH",a.pd);return b},uD=function(a,b,c){a.set(b,new IC(b,{toString:function(){return c}}))},tD=function(a,b,c){a.set(b,new IC(b,{toString:function(){return c()}}))},CD=function(a,b){b=b===void 0?new Map: b;b.set("ERRORCODE",new IC("ERRORCODE",a))},yD=function(a){var b=a.Me===void 0?null:a.Me;var c=a.Ne===void 0?null:a.Ne;var d=a.ff===void 0?null:a.ff;a=a.gf===void 0?null:a.gf;if(!b&&!d)return"-1";var e="unknown";b&&(e=b+(c?"/"+c:""));b="";d&&(b=" "+d+(a?"/"+a:""));return e+b},xD=function(){return Math.round(Math.random()*1E8+1E8).toString().slice(1)},zD=function(){var a=hD()==2?null:lf().top.location.hostname;return a?a:"-1"},AD=function(){var a=hD()==2?null:lf().top.location.href;return a?a:"-1"}, BD=function(){return(new Date).toISOString()};var DD=/(?:\[|%5B)([a-zA-Z0-9_]+)(?:\]|%5D)/g,ED=function(a,b){return a.replace(DD,function(c,d){d=b.get(d);if(d==null)return c;if(d.g==null)var e=!0;else try{e=d.g(a)||!1}catch(g){e=!1}if(e){b:{try{var f=d.l.toString();break b}catch(g){}f=null}e=f;e=e==null||e!=""&&E(G(e))?null:encodeURIComponent(e).replace(/%2C/g,",")}else e=null;return e!=null?e:c})};var FD=function(a){this.N=a;this.ra=null},GD=function(a,b){return a.map(function(c){c=typeof c==="string"?new RA(c):c;return new RA(ED(c.url,b),c.g==null?null:ED(c.g,b))})},ID=function(a,b,c,d){c=c===void 0?null:c;d=d===void 0?!1:d;b=b.map(function(e){return typeof e==="string"?new RA(e):e});c=c?GD(b,c):b;HD(a.N,c,d)};var KD=function(a,b,c){c=c===void 0?[]:c;FD.call(this,b);var d=this;this.B=a;this.J=c;this.g=new Map;this.j=new Map;this.l=new Map;this.C=[];this.o=this.A=-1;T(U(),"ua_e",navigator&&navigator.userActivation?"1":"0");U().g.L.push(function(){return JD(d)})};w(KD,FD);KD.prototype.report=function(a,b){b=b===void 0?LD(this,a):b;MD(this,a,b||[])}; var MD=function(a,b,c){var d=c.map(function(f){return typeof f==="string"?new RA(f):f});if(aB(vC)){var e=[];a.C.forEach(function(f){f=ND(b,f);f!==void 0&&e.push(f)});e.length===0?OD(a,b,d):Promise.all(e).then(function(f){f=f[0];Array.isArray(f)&&f.every(function(g){return typeof g==="string"})?OD(a,b,f.map(function(g){return new RA(g)})):OD(a,b,d)})}else a.C.forEach(function(f){return ND(b,f)}),OD(a,b,d)},OD=function(a,b,c){PD(a,b)?QD(a,b,c):RD(a,b)&&(b=="skip"&&navigator&&navigator.userActivation&& (T(U(),"uas_hba",navigator.userActivation.hasBeenActive?"1":"0"),T(U(),"uas_ia",navigator.userActivation.isActive?"1":"0")),c.filter(function(d){return d.url.match(/\/aclk.*label=video_engaged_view/)}).length&&(b=="complete"&&JB(U(),"evoace"),b=="progress"&&JB(U(),"evoape"),b=="engagedView"&&JB(U(),"evoaeve")),SD(a,b,c))},SD=function(a,b,c){a.g.has(b)?a.g.set(b,a.g.get(b)+1):a.g.set(b,1);c.length&&(c.map(function(d){return{Xd:Zf(d.url,"ad_signals"),label:Zf(d.url,"label")}}).filter(function(d){return!!d.Xd}).forEach(function(d){var e= d.Xd;d=d.label||"";var f=f===void 0?z:f;if(e!=="")if(b==="impression"||b==="click"){var g=new Ou;e=Zk(g,1,e);e=Zk(e,6,d);if(b==="click"){Zk(e,10,Date.now().toString());d=nl(e);var h;(h=f.fence)==null||h.setReportEventDataForAutomaticBeacons({eventType:"reserved.top_navigation",eventData:d,destination:["buyer"],once:!0});var k;(k=f.fence)==null||k.setReportEventDataForAutomaticBeacons({eventType:"reserved.top_navigation_start",eventData:d,destination:["buyer"],once:!0})}else b==="impression"&&al(e, 9,1);var m;(m=f.fence)==null||m.reportEvent({eventType:b,eventData:nl(e),destination:["buyer"]})}else ez({Xd:e,label:d||b})}),c=c.filter(function(d){return!Zf(d.url,"ad_signals")}),c.length&&ID(a,c,a.l,a.J.includes(b)));TD(a,b)},TD=function(a,b){var c=null;b==="impression"?c="measurable_impression":b==="measurable_impression"&&(c="viewable_impression");c!=null&&a.j.has(c)&&(b=a.j.get(c)||[],a.j.delete(c),SD(a,c,b))},UD=function(a,b,c){var d=a.B.get("progress");if(!(d==null||d.length<=0)){var e=[], f=a.A,g=a.o;d.forEach(function(h){var k=h.o,m=h.l;m&&m<=b*1E5/c&&m>a.o?(g=m>g?m:g,e.push(XA(h))):k&&k<=b&&k>a.A&&(f=k>f?k:f,e.push(XA(h)))});a.A=f;a.o=g;e.length>0&&a.report("progress",e)}},VD=function(a,b){a.l.set(b.getName(),b)},WD=function(a,b){b.forEach(function(c){return VD(a,c)})},XD=function(a,b){a.C.push(b)},QD=function(a,b,c){var d=c;a.l!=null&&(d=GD(c,a.l));a.j.has(b)?d.forEach(function(e){return void a.j.get(b).push(e)}):a.j.set(b,d)},PD=function(a,b){if(a.g.has(b))return!1;switch(b){case "measurable_impression":return!a.g.has("impression"); case "viewable_impression":return!a.g.has("impression")||!a.g.has("measurable_impression");default:return!1}},RD=function(a,b){switch(b){case "abandon":return!a.g.has(b)&&!a.g.has("skip")&&!a.g.has("instreamAdComplete")&&a.g.has("impression");case "instreamAdComplete":case "complete":return!a.g.has(b)&&!a.g.has("skip");case "mute":case "unmute":case "pause":case "resume":case "fullscreen":case "exitFullscreen":case "progress":case "error":case "click":case "expand":case "collapse":return!0;default:return!a.g.has(b)}}, ND=function(a,b){try{var c=b(a);if(typeof c==="object"&&typeof c.then==="function")return c||Promise.resolve()}catch(d){}},LD=function(a,b){return(a.B.get(b)||[]).map(function(c){return XA(c)})},JD=function(a){T(U(),"rec",Array.from(a.g,function(b){var c=q(b);b=c.next().value;c=c.next().value;return b+"-"+c}).join("|"))};var YD={},ZD=(YD.GOOGLE_VIEWABILITY="://pubads.g.doubleclick.net ://googleads.g.doubleclick.net ://ad[.-]([a-z0-9]+.){0,1}doubleclick.net ://ade\\.googlesyndication\\.com ://pagead2.googlesyndication.com ://([a-z0-9]+[.])*youtube.com".split(" "),YD),$D=new Map,aE=function(a,b,c,d,e,f){d=d===void 0?!1:d;e=e===void 0?null:e;f=f===void 0?!1:f;Mo.call(this);var g=this;this.l=e?e:String(Math.floor(Math.random()*1E9));this.j=b;this.g=c;this.G=d;this.F=f;this.A=null;this.o=new Ef;this.B=(a=a.ga.get(PA))? a.j:"";this.C=a?a.g:"";this.D=a?a.l:[];XD(this.j,function(h){g.K(h)});a=iB();oc(a);$D.set(this.l,this)};w(aE,Mo);aE.prototype.reportEvent=function(a){this.j.report(a)};var cE=function(a,b){VD(a.j,new IC("VIEWABILITY",b.viewability));VD(a.j,new IC("GOOGLE_VIEWABILITY",b.googleViewability,function(c){return function(d){return bE(d,c)}}("GOOGLE_VIEWABILITY")))}; aE.prototype.K=function(a){var b=this.l,c=this.g,d=this.A,e=this.D;e=e===void 0?[]:e;var f={};c=(f.opt_fullscreen=c.Hd(),f.opt_adElement=void 0,f);a=="start"&&(c.opt_configurable_tracking_events=e);d&&(c.opt_bounds=Wn(d));a=Xs(a,b,c);cE(this,a)}; var dE=function(a){if(a.G&&a.o.Vh()){lo().F=!0;Ng(Ls);var b=a.o;nc().B=b}b=Ng(Ls);var c=a.B;b.G=c;nc().Gg(c);Ng(Ls);a=a.C;b=nc();try{var d=kh(a);b.Hg(d)}catch(e){Nm(an,"lidarv",{processDecodedFlagsFailure:1},!0,1E-6),b.Hg(a)}jc(b.ea,"fmd",Km(b.flags,ls)?1:0)},bE=function(a,b){b=ZD[b];return b==null?!0:b.some(function(c){return a.match(c)!=null})};aE.prototype.R=function(){$D.delete(this.l);this.g=this.j=null;this.o=new Ef}; Ia("ima.common.triggerExternalActivityEvent",function(a,b,c){(a=$D.get(a))&&a.reportEvent(c)});Ia("ima.common.getVideoMetadata",function(a){return(a=$D.get(a))?{currentTime:a.g.getCurrentTime(),duration:a.g.getDuration(),Gp:a.F,volume:a.g.muted?0:a.g.getVolume()}:{}});var eE=function(a){this.M=H(a)};w(eE,K);eE.prototype.getValue=function(){return J(this,1)};var fE=function(a,b){return Zk(a,1,b)},gE=function(a,b){return ik(a,2,b==null?b:Fj(b))},hE=function(a,b){return Zk(a,3,b)},iE=function(a,b){return Zk(a,4,b)};eE.prototype.getVersion=function(){return Sk(this,5)};var jE=function(a){this.g=a};var kE=function(a){this.g=a===void 0?null:a};var lE=function(a,b){var c=b===void 0?{}:b;b=c.vendor===void 0?null:c.vendor;var d=c.Jc===void 0?null:c.Jc;var e=c.parameters===void 0?null:c.parameters;c=c.W===void 0?[]:c.W;this.g=a;this.vendor=b;this.parameters=e;this.Jc=d;this.W=c};var mE=function(a,b,c){this.id=a;this.title=b;this.g=c};var nE=function(a,b,c,d,e){this.id=a;this.Ac=d===void 0?!1:d;this.title=b;this.j=c;this.g=!(e===void 0?0:e)};var oE=function(a,b,c){this.j=a;this.l=b;this.g=(c===void 0?null:c)||""};oE.prototype.Ac=function(){return this.j.Ac};var pE=function(a){var b=a.Ca;var c=a.Oa;var d=a.height;var e=a.width;a=a.za===void 0?!1:a.za;this.Ca=b;this.Oa=c;this.height=d;this.width=e;this.za=a};pE.prototype.getHeight=function(){return this.height};pE.prototype.getWidth=function(){return this.width};var qE=function(){this.g=this.j=0;this.gb=this.creativeType=this.l=null};qE.prototype.clone=function(){var a=new qE;a.j=this.j;a.g=this.g;a.l=this.l;a.creativeType=this.creativeType;a.gb=this.gb;return a};var rE=function(){this.gb=this.fa=this.yb=null;this.g=this.j=0;this.N=1;this.Ab="left";this.Bb="top";this.Fb=this.Ea=-1;this.D=this.o=this.C=this.A=null;this.J=[];this.B=[];this.l=[]};rE.prototype.getApiFramework=function(){return this.fa}; var sE=function(a,b){return a.Ab=="left"?"0px":a.Ab=="right"?b-a.j+"px":a.Ab+"px"},tE=function(a,b){return a.Bb=="bottom"?"0px":a.Bb=="top"?b-a.g+"px":b-a.g-le(a.Bb)+"px"},uE=function(a,b){var c=new Gn(0,0,b.width,b.height),d=Number.MIN_VALUE,e=null;a.l.forEach(function(f){var g=new Gn(0,0,f.j,f.g);c.contains(g)&&(g=g.getSize(),g=g.width*g.height,dh*c? b.width/g:b.height/h)-1);g4?!1:!0}function CE(a){if(!a||!a.nodeName=="VAST")return T(U(),"vast_v","error"),null;a=a.getAttribute("version");if(!a)return T(U(),"vast_v","not_specified"),null;T(U(),"vast_v",a);a=parseInt(a,10);return a==null||isNaN(a)?null:a}function DE(){var a=document.featurePolicy;return a!==void 0&&typeof a.allowedFeatures=="function"&&typeof a.allowedFeatures()=="object"&&a.allowedFeatures().includes("attribution-reporting")} function EE(a){return(a==null?void 0:a.g)!=null&&DE()?(a=a.g)?"attributionsrc="+encodeURIComponent(a):a===""?"attributionsrc":"":""}function FE(a,b){(a==null?void 0:a.g)!=null&&DE()&&b.setAttribute("attributionsrc",G(a.g))};var GE=RegExp("(doubleclick\\.net|googleadservices\\.com|googlesyndication\\.com)"),HE=["ai","sigh"],IE=["xai","sig"];function JE(a){return a&&GE.test(a)?a.includes("/pagead/adview")||a.includes("/pagead/conversion")||a.includes("/gampad/live/conversion")||a.includes("/pagead/interaction")?HE.every(function(b){return Yf(a,b)}):a.includes("/pcs/view")?IE.every(function(b){return Yf(a,b)}):!1:!1}function KE(a,b){var c=a.indexOf("&adurl=");return c!=-1?a.substr(0,c)+b+a.substr(c,a.length):a+b} function LE(a,b){a&&b!=null&&(b=DE()?"6":"5",a=ag(a,"nis"),a=KE(a,"&nis="+b));return a};var ME=function(a){var b=a.uf;var c=a.cj;var d=a.qk;var e=a.aj;var f=a.Ca;var g=a.Oa;var h=a.rk;var k=a.bj;pE.call(this,{Ca:f,Oa:g,height:a.height,width:a.width,za:a.za===void 0?!1:a.za});this.j=b;this.C=c;this.o=d;this.l=e;this.g=h;this.A=k};w(ME,pE);var NE=function(a){var b=a.Gm;var c=a.mimeType;pE.call(this,{Ca:a.Ca,Oa:a.Oa,height:a.height,width:a.width,za:a.za===void 0?!1:a.za});this.j=b;this.g=c};w(NE,pE);NE.prototype.getMediaUrl=function(){return this.j};var OE=function(a,b,c){this.g=a;this.resourceType=b;this.creativeType=c===void 0?null:c};var PE=function(a){var b=a===void 0?{}:a;a=b.id===void 0?null:b.id;var c=b.td===void 0?null:b.td;var d=b.fa===void 0?null:b.fa;var e=b.width===void 0?null:b.width;var f=b.height===void 0?null:b.height;var g=b.jb===void 0?!1:b.jb;var h=b.Lf===void 0?null:b.Lf;var k=b.Mf===void 0?[]:b.Mf;var m=b.resources===void 0?[]:b.resources;b=b.W===void 0?[]:b.W;this.id=a;this.td=c;this.fa=d;this.width=e;this.height=f;this.jb=g;this.Lf=h;this.Mf=k;this.resources=m;this.W=b};var QE=function(a,b){this.g=a;this.j=b===void 0?"none":b};var RE=function(a){var b=a===void 0?{}:a;a=b.url;var c=b.mimeType===void 0?null:b.mimeType;b=b.language===void 0?null:b.language;this.url=a;this.mimeType=c;this.language=b};var SE=function(a,b,c,d){this.Ka=a;this.width=b===void 0?null:b;this.height=c===void 0?null:c;this.gb=d===void 0?null:d};var TE=function(a){var b=a===void 0?{}:a;a=b.Gb===void 0?null:b.Gb;var c=b.tc===void 0?[]:b.tc;b=b.Jf===void 0?[]:b.Jf;this.Gb=a;this.tc=c;this.Jf=b};var UE=function(a){var b=a===void 0?{}:a;a=b.yb===void 0?null:b.yb;var c=b.fa===void 0?null:b.fa;var d=b.Ab===void 0?null:b.Ab;var e=b.Bb===void 0?null:b.Bb;var f=b.width===void 0?null:b.width;var g=b.height===void 0?null:b.height;var h=b.gb===void 0?null:b.gb;var k=b.Nh===void 0?null:b.Nh;var m=b.Ea===void 0?null:b.Ea;var n=b.Fb===void 0?null:b.Fb;var p=b.kf===void 0?null:b.kf;var r=b.je===void 0?null:b.je;var t=b.Ve===void 0?[]:b.Ve;b=b.resources===void 0?[]:b.resources;this.yb=a;this.fa=c;this.Ab= d;this.Bb=e;this.width=f;this.height=g;this.gb=h;this.Nh=k;this.Ea=m;this.kf=p;this.Fb=n;this.je=r;this.Ve=t;this.resources=b};var VE=function(a,b){var c=b===void 0?{}:b;b=c.mimeType===void 0?null:c.mimeType;var d=c.fa===void 0?null:c.fa;c=c.De===void 0?null:c.De;this.Ka=a;this.fa=d;this.mimeType=b;this.De=c},WE=function(a){return a.Ka.resourceType==="Url"?a.Ka.g:null},XE=function(a){return a.Ka.resourceType==="Html"?a.Ka.g:null};var YE=function(a,b){var c=b===void 0?{}:b;b=c.vb===void 0?null:c.vb;var d=c.mimeType===void 0?null:c.mimeType;var e=c.codec===void 0?null:c.codec;var f=c.width===void 0?null:c.width;c=c.height===void 0?null:c.height;this.url=a;this.vb=b;this.mimeType=d;this.codec=e;this.width=f;this.height=c};var ZE=function(a,b){var c=b===void 0?{}:b;b=c.height===void 0?null:c.height;var d=c.width===void 0?null:c.width;var e=c.vb===void 0?null:c.vb;var f=c.mimeType===void 0?null:c.mimeType;var g=c.fa===void 0?null:c.fa;var h=c.bitrate===void 0?null:c.bitrate;var k=c.Da===void 0?null:c.Da;var m=c.maxBitrate===void 0?null:c.maxBitrate;var n=c.Ja===void 0?null:c.Ja;YE.call(this,a,{vb:e,mimeType:f,codec:c.codec===void 0?null:c.codec,width:d,height:b});this.fa=g;this.Da=k||m||h||0;this.maxBitrate=m||k||h|| 0;this.Ja=n};w(ZE,YE);var $E=function(a){var b=a===void 0?{}:a;a=b.Gb===void 0?null:b.Gb;var c=b.tc===void 0?[]:b.tc;b=b.Oe===void 0?[]:b.Oe;this.Gb=a;this.tc=c;this.Oe=b};var aF=function(a){var b=a===void 0?{}:a;a=b.duration===void 0?null:b.duration;var c=b.Nb===void 0?null:b.Nb;var d=b.W===void 0?[]:b.W;var e=b.Ec===void 0?[]:b.Ec;var f=b.ab===void 0?[]:b.ab;var g=b.lh===void 0?[]:b.lh;var h=b.qd===void 0?null:b.qd;var k=b.ka===void 0?null:b.ka;b=b.va===void 0?[]:b.va;this.duration=a;this.ka=k;this.Nb=c;this.W=d;this.Ec=e;this.ab=f;this.lh=g;this.qd=h;this.va=b};var bF=function(a){var b=a===void 0?{}:a;a=b.id===void 0?null:b.id;var c=b.fa===void 0?null:b.fa;var d=b.height===void 0?null:b.height;var e=b.width===void 0?null:b.width;var f=b.fd===void 0?null:b.fd;var g=b.resources===void 0?[]:b.resources;var h=b.wg===void 0?null:b.wg;var k=b.xg===void 0?[]:b.xg;b=b.ka===void 0?null:b.ka;this.id=a;this.fa=c;this.height=d;this.width=e;this.fd=f;this.resources=g;this.wg=h;this.xg=k;this.ka=b};var cF=function(a,b){b=b===void 0?[]:b;this.g=a;this.W=b};var dF=function(a){var b=a===void 0?{}:a;a=b.Xe===void 0?"unknown":b.Xe;b=b.We===void 0?"unknown":b.We;this.Xe=a||"unknown";this.We=b||"unknown"};var eF=function(a){var b=a===void 0?{}:a;a=b.Ma===void 0?null:b.Ma;var c=b.id===void 0?null:b.id;var d=b.adId===void 0?null:b.adId;var e=b.Tb===void 0?null:b.Tb;var f=b.te===void 0?null:b.te;var g=b.ae===void 0?null:b.ae;b=b.bb===void 0?[]:b.bb;this.Ma=a;this.id=c;this.adId=d;this.Tb=e;this.te=f;this.ae=g;this.bb=b};var fF=function(a,b){this.url=a;this.g=b===void 0?null:b};var gF=function(a){var b=a===void 0?{}:a;a=b.vendor===void 0?null:b.vendor;var c=b.ze===void 0?null:b.ze;var d=b.Jc===void 0?null:b.Jc;var e=b.parameters===void 0?null:b.parameters;b=b.W===void 0?[]:b.W;this.vendor=a;this.ze=c;this.Jc=d;this.parameters=e;this.W=b};var hF=function(a){var b=a===void 0?{}:a;a=b.Na===void 0?null:b.Na;var c=b.errors===void 0?[]:b.errors;var d=b.yc===void 0?[]:b.yc;var e=b.pa===void 0?[]:b.pa;var f=b.qb===void 0?[]:b.qb;b=b.ga===void 0?[]:b.ga;this.Na=a;this.g=c;this.j=d;this.pa=e;this.qb=f;this.ga=b};var iF=function(a,b){var c=b===void 0?{}:b;b=c.id===void 0?null:c.id;var d=c.Ma===void 0?null:c.Ma;c=c.Oc===void 0?null:c.Oc;this.Ta=a;this.id=b;this.Ma=d;this.Oc=c=="audio"?"audio":c=="hybrid"?"hybrid":"video"};var jF=function(a){this.g=a=a===void 0?[]:a},kF=function(a,b){var c=[];a.g.forEach(function(d){c=c.concat(d.Ta.ga.filter(function(e){return e instanceof b}))});return c};var lF=function(a){this.W=a=a===void 0?[]:a};var mF=function(a,b,c,d){b=b===void 0?[]:b;c=c===void 0?"":c;d=d===void 0?"":d;lF.call(this,a);this.g=b;this.l=c;this.j=d};w(mF,lF);var nF=function(){};nF.prototype.g=function(a,b){var c=[],d="",e="";kF(a,mF).forEach(function(f){c.push.apply(c,u(f.g));d=d||f.l;e=e||f.j});(c.length>0||d||e)&&b.ga.set(PA,new PA(c,d,e))};var oF=function(){var a={};var b=a.qa===void 0?"":a.qa;var c=a.tb===void 0?"http://www.google.com/adsense/support":a.tb;var d=a.vd===void 0?!1:a.vd;a=a.rc===void 0?0:a.rc;this.qa=b;this.tb=c;this.vd=d;this.rc=a};var pF=function(a,b){var c=b===void 0?{}:b;b=c.qa===void 0?null:c.qa;var d=c.tb===void 0?null:c.tb;var e=c.be===void 0?null:c.be;var f=c.Th===void 0?!1:c.Th;var g=c.re===void 0?[]:c.re;var h=c.Be===void 0?!1:c.Be;var k=c.uiConfig===void 0?null:c.uiConfig;var m=c.Mc===void 0?null:c.Mc;c=c.Wb===void 0?null:c.Wb;lF.call(this,a);this.qa=b;this.tb=d;this.be=e;this.Th=f;this.re=g;this.Be=h;this.uiConfig=k;this.Mc=m;this.Wb=c};w(pF,lF);var qF=function(a){this.g=a};var rF="ad.doubleclick.net bid.g.doubleclick.net ggpht.com google.co.uk google.com googleads.g.doubleclick.net googleads4.g.doubleclick.net googleadservices.com googlesyndication.com googleusercontent.com gstatic.com gvt1.com prod.google.com pubads.g.doubleclick.net s0.2mdn.net static.doubleclick.net surveys.g.doubleclick.net youtube.com ytimg.com".split(" "),sF=["c.googlesyndication.com"]; function tF(a,b){b=b===void 0?window.location.protocol:b;var c=!1;a==null||!a.startsWith("http")||(a==null?0:a.startsWith("https"))?c=!1:uF(a,sF)?c=!1:b.includes("https")&&uF(a,rF)&&(c=!0);return c?(a=new P(a),T(U(),"htp","1"),Ey(a,"https"),a.toString()):a}function uF(a,b){return(new RegExp("^https?://([a-z0-9-]{1,63}\\.)*("+b.join("|").replace(/\./g,"\\.")+")(:[0-9]+)?([/?#]|$)","i")).test(a)} function vF(a){var b=wF;try{var c=(new P(a)).j;c=c.replace(/^www./i,"");return b.some(function(d){return xF(d,c)})}catch(d){return!1}}function xF(a,b){if(E(G(b)))return!1;a=a.toLowerCase();b=b.toLowerCase();return a.substr(0,2)=="*."?(a=a.substr(2),a.length>b.length?!1:b.substr(-a.length)==a&&(b.length==a.length||b.charAt(b.length-a.length-1)==".")):a==b}function yF(a){a=new P(a);var b=a.j;return a.o!="http"&&a.o!="https"?!1:b.indexOf(".")==-1||b.match(/^[\.0-9]*$/)?!1:zF(a.toString())} function zF(a){try{Yd(a)}catch(b){return!1}return!0};var AF=/OS (\S+) like/,BF=/Android ([\d\.]+)/;function CF(a,b){a=(a=a.exec(Ic()))?a[1]:"";a=a.replace(/_/g,".");return Hc(a,b)>=0}var DF=function(){var a=z.navigator||null;return LC(a.language||a.userLanguage||a.browserLanguage||a.systemLanguage||"")},EF=function(){return Rf()||Qf()},FF=function(){return ye||ue&&"ontouchstart"in document.documentElement},GF=function(a,b){var c=window.screen.availHeight||window.screen.height;return(window.screen.availWidth||window.screen.width)-a<=0&&c-b<=42};var HF=id(ed(new dd(ad,"about:blank")));id(ed(new dd(ad,"javascript:undefined")));function IF(a,b){a=z[a];return a&&a.prototype?(b=Object.getOwnPropertyDescriptor(a.prototype,b))&&b.get||null:null}IF("Element","attributes")||IF("Node","attributes");IF("Element","innerHTML")||IF("HTMLElement","innerHTML");IF("Node","nodeName");IF("Node","nodeType");IF("Node","parentNode");IF("Node","childNodes");IF("HTMLElement","style")||IF("Element","style");IF("HTMLStyleElement","sheet");IF("Element","namespaceURI")||IF("Node","namespaceURI");var JF={TYPE_EXTERNAL:0,TYPE_SITELINK:1,TYPE_WEBSITE_DEEP_LINK:2};var KF=function(a){var b=a===void 0?{}:a;a=b.type;var c=b.target===void 0?null:b.target;var d=b.title===void 0?null:b.title;var e=b.Dg===void 0?null:b.Dg;b=b.Uf===void 0?null:b.Uf;this.type=a;this.target=c;this.title=d;this.Dg=e;this.Uf=b};var LF={TYPE_ADX_ENDCAP:0,TYPE_WEBSITE:1};var MF=function(a){var b=a===void 0?{}:a;a=b.Ng===void 0?!1:b.Ng;var c=b.Og===void 0?!1:b.Og;b=b.Re===void 0?5E3:b.Re;this.Ng=a;this.Og=c;this.Re=b};var NF=function(a){var b=a===void 0?{}:a;a=b.Xh===void 0?null:b.Xh;var c=b.wh===void 0?null:b.wh;b=b.xh===void 0?null:b.xh;this.Xh=a;this.wh=c;this.xh=b};var OF=function(a){a=a===void 0?{}:a;this.Ci=a.Ci===void 0?[]:a.Ci};var PF=function(a){var b=a===void 0?{}:a;a=b.description===void 0?null:b.description;var c=b.Rb===void 0?null:b.Rb;var d=b.Ha===void 0?null:b.Ha;b=b.Eh===void 0?null:b.Eh;this.description=a;this.Rb=c;this.Ha=d;this.Eh=b};var QF=function(a){var b=a===void 0?{}:a;a=b.type;var c=b.priority===void 0?-1:b.priority;var d=b.W===void 0?[]:b.W;var e=b.actions===void 0?[]:b.actions;var f=b.ld===void 0?null:b.ld;b=b.Nc===void 0?null:b.Nc;this.type=a;this.priority=c;this.W=d;this.actions=e;this.ld=f;this.Nc=b};var RF=function(a){a=a===void 0?{}:a;this.wd=a.wd===void 0?[]:a.wd};var SF=function(a,b,c,d){this.value=a;this.g=b;this.path=c;this.domain=d};var TF=function(a){this.g=a};var UF=function(a){this.g=a};var VF=function(){};VF.prototype.g=function(a,b){a=q(a.g);for(var c=a.next();!c.done;c=a.next()){c=q(c.value.Ta.ga);for(var d=c.next();!d.done;d=c.next())d=d.value,d instanceof UF&&b.ga.set(jE,new jE(d.g))}};var WF=function(a,b,c,d,e){this.value=a;this.g=b;this.path=c;this.domain=d;this.j=e};var XF=function(a,b,c){var d=c===void 0?{}:c;c=d.vb===void 0?null:d.vb;var e=d.Ja===void 0?null:d.Ja;var f=d.mimeType===void 0?null:d.mimeType;var g=d.Ca===void 0?null:d.Ca;var h=d.Oa===void 0?null:d.Oa;var k=d.Ii===void 0?null:d.Ii;var m=d.fh===void 0?null:d.fh;var n=d.za===void 0?null:d.za;var p=d.width===void 0?null:d.width;var r=d.height===void 0?null:d.height;d=d.Sc===void 0?null:d.Sc;this.type=b;this.Ja=e;this.Oa=h;this.Ii=k;this.fh=m;this.za=n;this.url=a;this.vb=c;this.mimeType=f;this.Ca=g; this.width=p;this.height=r;this.Sc=d};var YF=function(a,b,c,d,e){this.o=a;this.g=b;this.A=c;this.j=d;this.l=e};var ZF={},$F=(ZF[18]=496,ZF[22]=2128,ZF[43]=488,ZF[44]=848,ZF[45]=2128,ZF[59]=848,ZF[133]=242,ZF[134]=400,ZF[135]=1E3,ZF[136]=2E3,ZF[139]=48,ZF[140]=128,ZF[141]=256,ZF[160]=108,ZF[242]=150,ZF[243]=276,ZF[244]=512,ZF[245]=1E3,ZF[247]=1E3,ZF[249]=48,ZF[250]=64,ZF[251]=128,ZF[278]=95,ZF[342]=464,ZF[343]=1064,ZF[344]=2128,ZF[345]=496,ZF[346]=816,ZF[347]=2096,ZF),aG={Ik:"application/dash+xml",lo:"video/gma-demuxed",HLS:"application/vnd.apple.mpegurl",el:"application/x-mpegURL",MP3:"audio/mpeg",hl:"video/mp4", il:"audio/mp4",jl:"video/mpeg",ll:"video/ogg",ml:"audio/ogg",nl:"video/3gpp",ql:"video/webm"};var bG=function(){};bG.prototype.g=null;var cG=function(a){var b;(b=a.g)||(b=a.g={});return b};var dG,eG=function(){};Va(eG,bG);dG=new eG;var fG=function(a){M.call(this);this.headers=new Map;this.da=a||null;this.j=!1;this.D=this.g=null;this.K="";this.o=0;this.l=this.G=this.A=this.F=!1;this.L=0;this.B=null;this.V="";this.O=!1};Va(fG,M); var gG=/^https?$/i,hG=["POST","PUT"],kG=function(a,b,c,d){if(a.g)throw Error("[goog.net.XhrIo] Object is active with another request="+a.K+"; newUri="+b);c=c?c.toUpperCase():"GET";a.K=b;a.o=0;a.F=!1;a.j=!0;a.g=new XMLHttpRequest;a.D=a.da?cG(a.da):cG(dG);a.g.onreadystatechange=Sa(a.T,a);try{a.G=!0,a.g.open(c,String(b),!0),a.G=!1}catch(g){iG(a);return}b=d||"";d=new Map(a.headers);var e=Array.from(d.keys()).find(function(g){return"content-type"==g.toLowerCase()}),f=z.FormData&&b instanceof z.FormData; !lb(hG,c)||e||f||d.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8");c=q(d);for(d=c.next();!d.done;d=c.next())e=q(d.value),d=e.next().value,e=e.next().value,a.g.setRequestHeader(d,e);a.V&&(a.g.responseType=a.V);"withCredentials"in a.g&&a.g.withCredentials!==a.O&&(a.g.withCredentials=a.O);try{jG(a),a.L>0&&(a.B=lu(a.Y,a.L,a)),a.A=!0,a.g.send(b),a.A=!1}catch(g){iG(a)}};fG.prototype.Y=function(){typeof Ha!="undefined"&&this.g&&(this.o=8,O(this,"timeout"),this.abort(8))}; var iG=function(a){a.j=!1;a.g&&(a.l=!0,a.g.abort(),a.l=!1);a.o=5;lG(a);mG(a)},lG=function(a){a.F||(a.F=!0,O(a,"complete"),O(a,"error"))};fG.prototype.abort=function(a){this.g&&this.j&&(this.j=!1,this.l=!0,this.g.abort(),this.l=!1,this.o=a||7,O(this,"complete"),O(this,"abort"),mG(this))};fG.prototype.R=function(){this.g&&(this.j&&(this.j=!1,this.l=!0,this.g.abort(),this.l=!1),mG(this,!0));fG.Vb.R.call(this)};fG.prototype.T=function(){this.Ia()||(this.G||this.A||this.l?nG(this):this.ba())}; fG.prototype.ba=function(){nG(this)}; var nG=function(a){if(a.j&&typeof Ha!="undefined"&&(!a.D[1]||oG(a)!=4||pG(a)!=2))if(a.A&&oG(a)==4)lu(a.T,0,a);else if(O(a,"readystatechange"),oG(a)==4){a.j=!1;try{var b=pG(a);a:switch(b){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:var c=!0;break a;default:c=!1}var d;if(!(d=c)){var e;if(e=b===0){var f=String(a.K).match(Sf)[1]||null;!f&&z.self&&z.self.location&&(f=z.self.location.protocol.slice(0,-1));e=!gG.test(f?f.toLowerCase():"")}d=e}d?(O(a,"complete"),O(a,"success")):(a.o=6, lG(a))}finally{mG(a)}}},mG=function(a,b){if(a.g){jG(a);var c=a.g,d=a.D[0]?function(){}:null;a.g=null;a.D=null;b||O(a,"ready");try{c.onreadystatechange=d}catch(e){}}},jG=function(a){a.B&&(mu(a.B),a.B=null)};fG.prototype.isActive=function(){return!!this.g};var oG=function(a){return a.g?a.g.readyState:0},pG=function(a){try{return oG(a)>2?a.g.status:-1}catch(b){return-1}},qG=function(a){if(a.g){a:{a=a.g.responseText;if(z.JSON)try{var b=z.JSON.parse(a);break a}catch(c){}b=OB(a)}return b}};var rG=RegExp("/itag/(\\d+)/"),sG=RegExp("/cpn/([\\w-]{16})(/|$)"),tG=RegExp("^[\\w-]{16}$");function uG(a){var b=Zf(a,"cpn");return b&&b.match(tG)?b:(a=a.match(sG))&&a.length===3?a[1]:null};var vG=function(a){this.j=a===void 0?null:a}; vG.prototype.g=function(a,b){if(b instanceof zE&&this.j&&!(b.g.length>0)){a=q(a.g);for(var c=a.next();!c.done;c=a.next()){c=q(c.value.Ta.ga);for(var d=c.next();!d.done;d=c.next()){var e=d.value;if(e instanceof YF){d=wG(this.j,e);var f=void 0;if(d.length>0)for(var g=q(d),h=g.next();!h.done;h=g.next()){h=h.value;var k=void 0;h instanceof NE&&(k=h.getMediaUrl());h instanceof ME&&(k=h.j);if(k&&(h=uG(k))){f=h;break}}e=f?f:e.o;T(U(),"cpn",e);b.C=e;d=q(d);for(e=d.next();!e.done;e=d.next())b.g.push(e.value)}}}}};var xG=function(a){this.g=a};var yG=function(a){var b=a===void 0?{}:a;a=b.rd===void 0?null:b.rd;var c=b.Na===void 0?null:b.Na;var d=b.ud===void 0?null:b.ud;var e=b.Bf===void 0?null:b.Bf;var f=b.description===void 0?null:b.description;var g=b.sf===void 0?null:b.sf;hF.call(this,{Na:c,errors:b.errors===void 0?[]:b.errors,yc:b.yc===void 0?[]:b.yc,pa:b.pa===void 0?[]:b.pa,qb:b.qb===void 0?[]:b.qb,ga:b.ga===void 0?[]:b.ga});this.rd=a;this.ud=d;this.Bf=e;this.description=f;this.sf=g};w(yG,hF);var zG=function(a,b){this.fb=a===void 0?null:a;this.g=b===void 0?null:b};var AG=function(){};AG.prototype.g=function(a,b){a=q(a.g);for(var c=a.next();!c.done;c=a.next()){a:{var d=b;c=q(c.value.Ta.ga);for(var e=c.next();!e.done;e=c.next())if(e=e.value,e instanceof zG){d.ga.set(kE,new kE(e.fb,e.g));d=!0;break a}d=!1}if(d)break}};var BG=function(a){this.qb=a=a===void 0?[]:a};var CG=function(a){this.dealId=a};var DG=function(a,b,c,d){this.l=a;this.j=b;this.o=c;this.g=d};var EG=function(a){this.g=a===void 0?!1:a};var FG=function(a){var b=a===void 0?{}:a;a=b.Lc===void 0?null:b.Lc;var c=b.Ac===void 0?!1:b.Ac;var d=b.Fe===void 0?null:b.Fe;var e=b.tf===void 0?null:b.tf;var f=b.Kd===void 0?!1:b.Kd;var g=b.Qc===void 0?null:b.Qc;var h=b.Zd===void 0?null:b.Zd;var k=b.Yd===void 0?null:b.Yd;var m=b.If===void 0?null:b.If;var n=b.format===void 0?null:b.format;var p=b.Cg===void 0?null:b.Cg;b=b.Ug===void 0?null:b.Ug;this.Lc=a;this.Ac=c;this.Fe=d;this.tf=e;this.Kd=f;this.Qc=g;this.Zd=h;this.Yd=k;this.If=m;this.format=n; this.Cg=p;this.Ug=b;T(U(),"ytext_viu",this.Kd?"1":"0");T(U(),"ytext_hd",this.Fe&&this.Yd&&this.Zd?"1":"0");this.Kd&&T(U(),"ytext_vi",this.Lc?this.Lc:"Undefined")};var GG=function(){};GG.prototype.g=function(a,b){a=q(a.g);for(var c=a.next();!c.done;c=a.next()){c=q(c.value.Ta.ga);for(var d=c.next();!d.done;d=c.next())if(d=d.value,d instanceof FG){b.ga.set(oE,new oE(new nE(d.Lc,d.Fe,d.tf,d.Ac,d.Kd),new mE(d.Qc,d.Zd,d.Yd),d.format,d.Ug,d.Cg));return}}};var HG=function(){};HG.prototype.l=function(){return!0};HG.prototype.j=function(a){var b=new YA;this.g(a,b);return b};HG.prototype.g=function(a,b){a.g.forEach(function(c){IG(c,b);c.Ta.Na&&b.j.push(c.Ta.Na)});a.g.length>0&&(a=a.g[0],a.id&&(b.id=a.id),a.Oc&&(b.Oc=a.Oc),a.Ma&&(b.l=a.Ma),a=a.Ta,a instanceof yG&&(b.ud=a.ud,b.rd=a.rd,JG(a,b)))}; var IG=function(a,b){var c=a.Ta.j;a.Ta.g.forEach(function(d){ZA(b,new TA("error",d))});c.forEach(function(d){ZA(b,VA("impression",d.url,d.g))})},JG=function(a,b){a=q(a.pa);for(var c=a.next();!c.done;c=a.next())if((c=c.value.Tb)&&c.ab&&c.ab.length>0){a=q(c.ab);for(c=a.next();!c.done;c=a.next())c=c.value,b.ab.push(new QA(WE(c),XE(c),c.mimeType,c.fa,c.De));break}};var KG=function(a,b){a=Error.call(this,a);this.message=a.message;"stack"in a&&(this.stack=a.stack);this.Hb=b===void 0?900:b};w(KG,Error);var LG=function(a){this.j=a;this.g=Date.now()};LG.prototype.reset=function(){this.g=Date.now()};var MG=function(a){a=a.g+a.j-Date.now();return a>0?a:0};var NG="://secure-...imrworldwide.com/ ://cdn.imrworldwide.com/ ://aksecure.imrworldwide.com/ ://[^.]*.moatads.com ://youtube[0-9]+.moatpixel.com ://pm.adsafeprotected.com/youtube ://pm.test-adsafeprotected.com/youtube ://e[0-9]+.yt.srs.doubleverify.com www.google.com/pagead/xsul www.youtube.com/pagead/slav".split(" "),OG=/\bocr\b/;function PG(a){if(E(G(a))||qe&&a.length>2048)return!1;try{if((new P(a)).D().match(OG))return!0}catch(b){}return NG.find(function(b){return a.match(b)!=null})!=null};var QG=function(a){var b=Error.call(this,a);this.message=b.message;"stack"in b&&(this.stack=b.stack);this.errorCode=a};w(QG,Error);var RG=function(a){if(typeof DOMParser!="undefined"){var b=new DOMParser;a=uB(a);return b.parseFromString(Jd(a),"application/xml")}throw Error("Your browser does not support loading xml documents");};var SG=function(a){Mo.call(this);this.j=a;this.g={}};Va(SG,Mo);var TG=[];SG.prototype.listen=function(a,b,c,d){return UG(this,a,b,c,d)}; var UG=function(a,b,c,d,e,f){Array.isArray(c)||(c&&(TG[0]=c.toString()),c=TG);for(var g=0;g0?a[a.length-1]:null} function V(a){if(a.childNodes.length==0)return null;var b="";a=q(a.childNodes);for(var c=a.next();!c.done;c=a.next())switch(c=c.value,c.nodeType){case 4:case 3:b+=c.nodeValue}return b.trim()}function xH(a){var b=null;if(a.hasAttribute("attributiontype")){var c=a.getAttribute("attributiontype");c==="SINGLE_PING"?b="":c==="DOUBLE_PING"&&a.hasAttribute("attributionsrc")&&(b=a.getAttribute("attributionsrc"))}else a.hasAttribute("attributionsrc")&&(b=a.getAttribute("attributionsrc"));return b} function yH(a,b){return a.hasAttribute("type")&&a.getAttribute("type").toLowerCase()==b.toLowerCase()}function zH(a){var b=(a||"").split(":");if(b.length==3){a=parseInt(b[0],10);var c=parseInt(b[1],10),d=b[2].split("."),e=parseInt(d[0],10);b=0;d.length==2&&(b=parseInt(d[1],10));if(!(isNaN(a)||isNaN(c)||isNaN(e)||isNaN(b)))return a=a*36E5+c*6E4+e*1E3,a+=b}} function AH(a){var b=[];a=q(uf(a));for(var c=a.next();!c.done;c=a.next()){var d=c.value;if(d.nodeName=="Verification"){c={vendor:d.getAttribute("vendor"),W:[]};d=q(uf(d));for(var e=d.next();!e.done;e=d.next())switch(e=e.value,e.nodeName){case "JavaScriptResource":c.ze=V(e);c.Jc=e.getAttribute("apiFramework");break;case "VerificationParameters":c.parameters=V(e);break;case "TrackingEvents":c.W=BH(e)}c.ze!=null&&b.push(new gF(c))}}return b} function CH(a){var b=[];a=q(uf(a));for(var c=a.next();!c.done;c=a.next())c=c.value,c.nodeName=="CustomTracking"&&b.push.apply(b,u(BH(c)));return b}function DH(a,b){var c=a.getAttribute("id");a=xH(a);b=new AE(b,c,a);b.url=LE(b.url,b.g);return b} function BH(a){var b=[];a=q(uf(a));for(var c=a.next();!c.done;c=a.next()){var d=c.value;if(d.nodeName=="Tracking"){c=d.getAttribute("event");var e=V(d);if(e!=null&&!E(e)){var f=d.getAttribute("offset"),g=null,h=null;f&&f.endsWith("%")?h=parseInt(f,10):f&&f.includes(":")&&(g=zH(f));d=xH(d);e=LE(e,d);b.push(new SA(c,e,{Ea:g,Md:h},d))}}}return b}function EH(a){return a==null||a==="about:blank"?null:a} function FH(a){var b={};b.yb=a.getAttribute("program");b.fa=a.getAttribute("apiFramework");b.gb=a.getAttribute("altText");b.Nh=a.getAttribute("hoverText");b.width=tH(a,"width");b.height=tH(a,"height");b.Ab=a.getAttribute("xPosition");b.Bb=a.getAttribute("yPosition");b.Fb=zH(a.getAttribute("duration"));b.kf=zH(a.getAttribute("pxratio"));b.Ea=GH(a.getAttribute("offset"),b.Fb);b.resources=HH(a);b.Ve=[];a=q(uf(a));for(var c=a.next();!c.done;c=a.next()){var d=c.value;switch(d.nodeName){case "IconViewTracking":b.Ve.push(V(d)); break;case "IconClicks":c=null;var e=[],f=[];d=q(uf(d));for(var g=d.next();!g.done;g=d.next()){g=g.value;var h=V(g),k=g.getAttribute("id");switch(g.nodeName){case "IconClickThrough":h!=null&&(c=DH(g,h));break;case "IconClickTracking":h!=null&&e.push(new AE(h,k));break;case "IconClickFallbackImages":f=IH(g)}}b.je=new TE({Gb:c,tc:e,Jf:f})}}return new UE(b)}function GH(a,b){if(a!=null)return a.endsWith("%")&&b!=null?parseInt(a,10)*b/100:zH(a)} function HH(a){var b=[];a=q(uf(a));for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=V(c);if(d!=null)switch(c.nodeName){case "StaticResource":b.push(new OE(d,"Static",c.getAttribute("creativeType")));break;case "HTMLResource":b.push(new OE(d,"Html"));break;case "IFrameResource":b.push(new OE(d,"IFrame"))}}return b} function IH(a){var b=[];a=q(uf(a));for(var c=a.next();!c.done;c=a.next()){var d=c.value;c=HH(d).filter(function(g){return g.resourceType=="Static"});if(c.length>0){var e=tH(d,"width"),f=tH(d,"height");d=JH(d);b.push(new SE(c[0],e,f,d))}}return b}function JH(a){a=q(uf(a));for(var b=a.next();!b.done;b=a.next())if(b=b.value,b.nodeName=="AltText")return V(b);return null};var KH=function(){this.g=[]},LH=function(a,b){a.g.includes(b)||a.g.push(b)},MH=function(a,b){var c=[];b=q(b);for(var d=b.next();!d.done;d=b.next())if(d=d.value,d.nodeName=="Extension")for(var e=q(a.g),f=e.next();!f.done;f=e.next())if(f=f.value.g(d),f!=null){c.push(f);break}return c},OH=function(a){var b={bb:[]};b.Ma=tH(a,"sequence");b.id=a.getAttribute("id");b.adId=a.getAttribute("adId");for(var c=q(uf(a)),d=c.next();!d.done;d=c.next()){var e=d.value;switch(e.nodeName){case "Linear":for(var f=void 0, g=void 0,h=void 0,k=[],m=[],n=[],p=[],r=[],t=q(uf(e)),v=t.next();!v.done;v=t.next()){var A=v.value;switch(A.nodeName){case "TrackingEvents":k=BH(A);break;case "VideoClicks":for(var B=null,D=[],F=[],N=q(uf(A)),ia=N.next();!ia.done;ia=N.next()){var ea=ia.value,Ub=V(ea);if(Ub!=null){var hm=ea.getAttribute("id");switch(ea.nodeName){case "ClickThrough":B=DH(ea,Ub);break;case "ClickTracking":var tq=xH(ea);D.push(new AE(Ub,hm,tq));break;case "CustomClick":F.push(new AE(Ub,hm))}}}h=new $E({Gb:B,tc:D,Oe:F}); break;case "MediaFiles":for(var of=[],nj=[],lg=[],im=q(uf(A)),vh=im.next();!vh.done;vh=im.next()){var Nb=vh.value;switch(Nb.nodeName){case "MediaFile":var mg=void 0,Hb=V(Nb);if(Hb==null)var wh=null;else{Hb.indexOf("www.youtube.com/get_video")!=-1?T(U(),"hgvu","1"):Hb.indexOf("redirector.gvt1.com/get_video")!=-1&&T(U(),"hgvuc","1");var bd={};bd.height=tH(Nb,"height");bd.width=tH(Nb,"width");bd.vb=Nb.getAttribute("delivery");bd.bitrate=tH(Nb,"bitrate");bd.Da=tH(Nb,"minBitrate");bd.maxBitrate=tH(Nb, "maxBitrate");bd.mimeType=(mg=Nb.getAttribute("type"))==null?void 0:mg.toLowerCase();bd.fa=Nb.getAttribute("apiFramework");bd.codec=Nb.getAttribute("codec");var uq=Hb,jm=Number(Zf(uq,"itag"));if(jm)var ng=jm;else{var oj=uq.match(rG);ng=oj&&oj.length===2?Number(oj[1]):null}ng!=null&&(bd.Ja=ng);wh=new ZE(Hb,bd)}var vq=wh;vq!==null&&of.push(vq);break;case "ClosedCaptionFiles":for(var pj=[],qj=q(uf(Nb)),xx=qj.next();!xx.done;xx=qj.next()){var yx=xx.value,tJ=V(yx);if(tJ!==null){var zx={url:tJ},uJ=void 0; zx.mimeType=(uJ=yx.getAttribute("type"))==null?void 0:uJ.toLowerCase();zx.language=yx.getAttribute("language");pj.push(new RE(zx))}}lg=pj;break;case "InteractiveCreativeFile":var vJ=void 0,wJ=wH(Nb,"HTMLResource");if(wJ){var Ax="Html";var wq=V(wJ)}else Ax="Url",wq=V(Nb);if(!wq||E(wq))var xJ=null;else{var I0=new OE(wq,Ax),xq={};xq.mimeType=(vJ=Nb.getAttribute("type"))==null?void 0:vJ.toLowerCase();xq.fa=Nb.getAttribute("apiFramework");xq.De=uH(Nb.getAttribute("variableDuration"));var J0=new VE(I0, xq);Ax==="Html"?KB("lima_p_ich"):KB("lima_p_icu");xJ=J0}var yJ=xJ;yJ!==null&&nj.push(yJ)}}T(U(),"vmfc",""+of.length);var K0=lg.length===0?"0":"1";T(U(),"vhc",K0);var L0=of;var M0=lg;var N0=nj;m=L0;p=M0;n=N0;break;case "Duration":g=zH(V(A));break;case "AdParameters":f=G(V(A));break;case "Icons":for(var zJ=[],AJ=q(uf(A)),Bx=AJ.next();!Bx.done;Bx=AJ.next()){var BJ=Bx.value;BJ.nodeName=="Icon"&&zJ.push(FH(BJ))}var Cx=r=zJ;T(U(),"icc",Cx.length.toString());if(Cx.length>0){for(var CJ=0,DJ=0,EJ=0,FJ=0,rj= null,GJ="ns",HJ="ns",IJ=q(Cx),Dx=IJ.next();!Dx.done;Dx=IJ.next()){for(var sj=Dx.value,JJ=q(sj.resources),Ex=JJ.next();!Ex.done;Ex=JJ.next())switch(Ex.value.resourceType){case "Html":CJ++;break;case "IFrame":DJ++;break;case "Static":EJ++;break;default:FJ++}rj=sj.yb;HJ=sj.width?sj.width.toString():"ns";GJ=sj.height?sj.height.toString():"ns"}T(U(),"icrh",CJ.toString());T(U(),"icri",DJ.toString());T(U(),"icrs",EJ.toString());T(U(),"icru",FJ.toString());rj&&(rj.length>16&&(rj=rj.substring(0,15)+"*"),T(U(), "icp",rj));T(U(),"icdi",GJ+"x"+HJ)}}}var O0=GH(e.getAttribute("skipoffset"),g);b.Tb=new aF({duration:g,Nb:O0,W:k,Ec:m,ab:n,lh:p,qd:h,ka:f,va:r});break;case "NonLinearAds":for(var KJ=[],LJ=[],MJ=q(uf(e)),Fx=MJ.next();!Fx.done;Fx=MJ.next()){var Gx=Fx.value;switch(Gx.nodeName){case "NonLinear":for(var NJ=KJ,P0=NJ.push,xh=Gx,Q0=HH(xh),R0=xh.getAttribute("id"),S0=tH(xh,"width"),T0=tH(xh,"height"),U0=xh.getAttribute("apiFramework"),V0=zH(xh.getAttribute("minSuggestedDuration")),OJ=null,PJ=null,QJ=[],RJ= q(uf(xh)),Hx=RJ.next();!Hx.done;Hx=RJ.next()){var km=Hx.value,yq=V(km);if(yq!=null)switch(km.nodeName){case "NonLinearClickThrough":PJ=DH(km,yq);break;case "NonLinearClickTracking":var W0=xH(km);QJ.push(new AE(yq,km.getAttribute("id"),W0));break;case "AdParameters":OJ=G(yq)}}P0.call(NJ,new bF({id:R0,fa:U0,width:S0,height:T0,fd:V0,wg:PJ,xg:QJ,resources:Q0,ka:OJ}));break;case "TrackingEvents":LJ=BH(Gx)}}b.te=new cF(KJ,LJ);var Ix=b.te.g;T(U(),"nlc",Ix.length.toString());if(Ix.length>0){for(var SJ=0, TJ=0,UJ=0,VJ=0,Jx=!1,WJ=q(Ix),Kx=WJ.next();!Kx.done;Kx=WJ.next())for(var XJ=q(Kx.value.resources),Lx=XJ.next();!Lx.done;Lx=XJ.next()){var YJ=Lx.value;switch(YJ.resourceType){case "Html":SJ++;Jx=Jx||Ec(YJ.g,"<");break;case "IFrame":TJ++;break;case "Static":UJ++;break;default:VJ++}}T(U(),"nlrh",SJ.toString());T(U(),"nlri",TJ.toString());T(U(),"nlrs",UJ.toString());T(U(),"nlru",VJ.toString());T(U(),"nlrhc",Jx.toString())}break;case "CompanionAds":b.ae=NH(e);var Mx=b.ae.g;T(U(),"ccc",Mx.length.toString()); if(Mx.length>0){for(var $J=0,aK=0,bK=0,cK=0,Nx=!1,dK=q(Mx),Ox=dK.next();!Ox.done;Ox=dK.next())for(var eK=q(Ox.value.resources),Px=eK.next();!Px.done;Px=eK.next()){var fK=Px.value;switch(fK.resourceType){case "Html":$J++;Nx=Nx||Ec(fK.g,"<");break;case "IFrame":aK++;break;case "Static":bK++;break;default:cK++}}T(U(),"ccrh",$J.toString());T(U(),"ccri",aK.toString());T(U(),"ccrs",bK.toString());T(U(),"ccru",cK.toString());T(U(),"ccrhc",Nx.toString())}break;case "UniversalAdId":var gK=b.bb,X0=gK.push, Qx=V(e);Qx||(Qx=e.getAttribute("idValue"));var Y0=e.getAttribute("idRegistry");X0.call(gK,new dF({We:Y0,Xe:Qx}))}}return new eF(b)},NH=function(a){var b=[],c=a.getAttribute("required");c!="any"&&c!="all"&&(c="none");a=q(uf(a));for(var d=a.next();!d.done;d=a.next()){var e=d.value;if(e.nodeName=="Companion"){d=b;var f=d.push,g=HH(e),h=e.getAttribute("id"),k=e.getAttribute("adSlotID"),m=e.getAttribute("apiFramework"),n=e.getAttribute("width")==="fluid"&&e.getAttribute("height")==="fluid",p=tH(e,"width"), r=tH(e,"height"),t=[],v=null,A=[],B;e=q(uf(e));for(B=e.next();!B.done;B=e.next()){var D=B.value;switch(D.nodeName){case "TrackingEvents":t=BH(D);break;case "CompanionClickThrough":B=V(D);B==null||E(B)||(v=DH(D,B));break;case "CompanionClickTracking":if(B=V(D),B!=null&&!E(B)){var F=xH(D);A.push(new AE(B,D.getAttribute("id"),F))}}}f.call(d,new PE({id:h,td:k,fa:m,width:p,height:r,jb:n,Lf:v,Mf:A,resources:g,W:t}))}}return new QE(b,c)};var QH=function(){var a={Yi:[new PH,new HG]};var b=a.Yi===void 0?[]:a.Yi;a=a.tl===void 0?[]:a.tl;this.j=b;this.g=a},RH=function(a,b){a:{var c=q(a.j);for(var d=c.next();!d.done;d=c.next())if(d=d.value,d.l(b)){c=d;break a}c=null}if(c!=null){c=c.j(b);a=q(a.g);for(d=a.next();!d.done;d=a.next())d.value.g(b,c);return c}throw new KG("Ad Provider was not found for ad.",1014);},SH=function(a,b){a.g.unshift(b)};var TH=function(a,b){this.j=a;this.g=b===void 0?null:b};var UH=function(a,b){lF.call(this,a);this.g=b};w(UH,lF);var PH=function(){};w(PH,HG);PH.prototype.l=function(a){a=(a.g.length<1?null:a.g[0]).Ta;return a instanceof yG?a.pa.find(function(b){return b.Tb!=null})!=null:!1};PH.prototype.j=function(a){var b=new zE;this.g(a,b);return b}; PH.prototype.g=function(a,b){HG.prototype.g.call(this,a,b);for(var c=q(a.g),d=c.next();!d.done;d=c.next())d=d.value,VH(d,b),d=d.Ta,d instanceof yG&&(b.description=d.description);a:if(c=a.g.length<1?null:a.g[0])if(d=kF(a,TH),d.length>0)for(a=q(d),c=a.next();!c.done;c=a.next())c=c.value,c.j&&(b.Nb=c.g?c.g:5E3);else{c=q(c.Ta.pa);for(d=c.next();!d.done;d=c.next())if((d=d.value.Tb)&&d.Nb!=null){b.Nb=d.Nb;break a}c=kF(a,lF);c=q(c);for(d=c.next();!d.done;d=c.next()){d=q(d.value.W);for(var e=d.next();!e.done;e= d.next())if(e.value.eventType=="skip"){b.Nb=5E3;break a}}a=kF(a,UH);a=q(a);for(c=a.next();!c.done;c=a.next())if(c.value.g=="Generic"){b.Nb=5E3;break}}}; var VH=function(a,b){for(var c=q(a.Ta.pa),d=c.next();!d.done;d=c.next()){d=d.value;var e=d.Tb;if(e){b.creativeId=d.id;b.o=d.adId;b.bb=d.bb.map(function(k){return new yE(k.Xe,k.We)});for(var f=q(e.W),g=f.next();!g.done;g=f.next())ZA(b,UA(g.value));if(f=e.qd){g=q(f.tc);for(var h=g.next();!h.done;h=g.next())h=h.value,ZA(b,VA("click",h.url,h.g,h.id));g=q(f.Oe);for(h=g.next();!h.done;h=g.next())h=h.value,h.id&&ZA(b,new TA(h.id,h.url))}a.Ta instanceof yG&&(b.Fb=d.Tb.duration,e.ka&&(b.ka=e.ka),f&&f.Gb&& (b.J=f.Gb.url,b.A=EE(f.Gb),b.B=f.Gb.g))}}};var WH=function(a){Mo.call(this);this.C=1;this.l=[];this.o=0;this.g=[];this.j={};this.D=!!a};Va(WH,Mo);var XH=function(a,b,c,d){if(b=a.j[b]){var e=a.g;if(b=b.find(function(f){return e[f+1]==c&&e[f+2]==d}))return a.A(b)}return!1};WH.prototype.A=function(a){var b=this.g[a];if(b){var c=this.j[b];this.o!=0?(this.l.push(a),this.g[a+1]=function(){}):(c&&nb(c,a),delete this.g[a],delete this.g[a+1],delete this.g[a+2])}return!!b}; WH.prototype.B=function(a,b){var c=this.j[a];if(c){for(var d=Array(arguments.length-1),e=1,f=arguments.length;e0&&this.o==0)for(;c=this.l.pop();)this.A(c)}}return e!=0}return!1};var YH=function(a,b,c){Rt(function(){a.apply(b,c)})}; WH.prototype.clear=function(a){if(a){var b=this.j[a];b&&(b.forEach(this.A,this),delete this.j[a])}else this.g.length=0,this.j={}};WH.prototype.R=function(){WH.Vb.R.call(this);this.clear();this.l.length=0};var ZH=function(a){Mo.call(this);this.g=new WH(a);L(this,this.g)};Va(ZH,Mo);var $H=function(a,b,c,d){a=a.g;b=b.toString();var e=a.j[b];e||(e=a.j[b]=[]);var f=a.C;a.g[f]=b;a.g[f+1]=c;a.g[f+2]=d;a.C=f+3;e.push(f)},aI=function(a,b,c){return a.g.B(b.toString(),c)};ZH.prototype.clear=function(a){this.g.clear(a!==void 0?a.toString():void 0)};function bI(a,b,c,d){$H(b,c,d);No(a,function(){return void XH(b.g,c.toString(),d)})};var dI=Ee(cI);function cI(){for(var a="",b=q(eI()),c=b.next();!c.done;c=b.next())c=c.value,c<=15&&(a+="0"),a+=c.toString(16);return a} function eI(){var a;if(typeof((a=window.crypto)==null?void 0:a.getRandomValues)==="function")return a=new Uint8Array(16),window.crypto.getRandomValues(a),a;a=window;var b;if(typeof((b=a.msCrypto)==null?void 0:b.getRandomValues)==="function")return b=new Uint8Array(16),a.msCrypto.getRandomValues(b),b;a=Array(16);for(b=0;b=0&&f++;g=q(b.l);for(h=g.next();!h.done;h=g.next())h=h.value,d+=h.Ja+",",h.url.indexOf("gvt1.com")>=0&&f++;g=q(b.g);for(h=g.next();!h.done;h=g.next())h=h.value,e+=h.Ja+",",h.url.indexOf("gvt1.com")>=0&&f++;g=q(b.A);for(h=g.next();!h.done;h=g.next())h=h.value,h.mimeType=="application/dash+xml"?T(U(),"ghmsh_hd", "1"):h.mimeType=="application/vnd.apple.mpegurl"&&T(U(),"ghmsh_hh","1");T(U(),"ghmsh_mi",c);T(U(),"ghmsh_vi",d);T(U(),"ghmsh_ai",e);T(U(),"ghmsh_gvt",f.toString());a=pI(a,b);a||(JB(U(),"ghmsh_f"),b.j.length>0?a=qI(b.j[0]):b.g.length>0&&b.l.length>0?a=rI(b.l[0],b.g[0]):(JB(U(),"ghmsh_ff"),a=null));return a?((c=a)?(T(U(),"ams","1"),c.getWidth()&&c.getHeight()&&T(U(),"vs",c.getWidth()+"x"+c.getHeight()),c.Ca&&T(U(),"vc",c.Ca),c instanceof NE?(c.g&&T(U(),"mt",c.g),c.getMediaUrl().indexOf("gvt1.com")>= 0&&T(U(),"gvt1","1"),jI(c.getMediaUrl())):c instanceof ME&&(c.g&&T(U(),"mt",c.g),c.o&&(T(U(),"bit",String(c.o)),c.j.indexOf("gvt1.com")>=0&&T(U(),"gvt1","1")),c.l&&T(U(),"bait",String(c.l)),jI(c.j))):T(U(),"ams","0"),sI(a),aB(lC)&&(b=(b=tI(b,18))?b:null)?[a,b]:[a]):[]},pI=function(a,b){var c=null;a=q(a.g);for(var d=a.next();!d.done;d=a.next()){var e=d.value;switch(e.type){case "dash":if(c=uI(b,"application/dash+xml"))return c;break;case "hls":if(c=uI(b,"application/vnd.apple.mpegurl"))return c;break; case "itag":if(e.Ld)c=tI(b,e.Ld);else if(e.vn){d=c=void 0;var f=b,g=e.vn;e=e.up;for(var h=q(f.l),k=h.next();!k.done;k=h.next())k=k.value,k.Ja==g&&(d=k);if(e)for(f=q(f.g),g=f.next();!g.done;g=f.next())g=g.value,g.Ja==e&&(c=g);c=d&&c?rI(d,c):d?new ME({uf:d.url,cj:"",qk:d.Ja,aj:null,rk:d.mimeType,bj:"",Ca:d.Ca,Oa:"",height:d.height,width:d.width,za:d.za||!1,un:d.Sc,Al:0}):null}if(c)return c}}return null},uI=function(a,b){a=q(a.A);for(var c=a.next();!c.done;c=a.next())if(c=c.value,c.mimeType==b)return qI(c); return null},tI=function(a,b){a=q(a.j);for(var c=a.next();!c.done;c=a.next())if(c=c.value,c.Ja==b)return qI(c);return null},qI=function(a){return new NE({Gm:a.url,mimeType:a.mimeType,Ja:a.Ja,Ca:a.Ca,Oa:a.Oa,height:a.height,width:a.width,za:a.za||!1,Sc:a.Sc})},rI=function(a,b){return new ME({uf:a.url,cj:b.url,qk:a.Ja,aj:b.Ja,rk:a.mimeType,bj:b.mimeType,Ca:a.Ca,Oa:b.Oa,height:a.height,width:a.width,za:a.za&&b.za||!1,un:a.Sc,Al:b.Sc})},sI=function(a){a=kI(a);var b,c;a&&((b=navigator)==null?0:(c=b.mediaCapabilities)== null?0:c.decodingInfo)&&navigator.mediaCapabilities.decodingInfo(a).then(function(d){T(U(),"mcsu",d.supported?"1":"0");T(U(),"mcsm",d.smooth?"1":"0");T(U(),"mcpe",d.powerEfficient?"1":"0")})};var vI=function(a){this.g=a};vI.prototype.toString=function(){return this.g};var wI=[];function xI(a){a=new vI(a);wI.push(a);return a}xI("imalib_instrumentation");xI("simid_video_addon_pause");xI("simid_video_addon_play");xI("simid_video_addon_stop");xI("request_resize");xI("video_creative_resize_result");xI("ui_ad_clicked");xI("ui_endcap_impression");xI("ui_replay_icon_clicked");xI("ui_skip_to_endcap_clicked");xI("ui_play_pause_clicked");xI("ui_play_resume_clicked");xI("ui_play_pause_hidden");xI("ui_play_pause_shown");xI("ui_mute_button_clicked");xI("ui_skip_shown");xI("ui_skip_clicked"); xI("ui_learn_more_clicked");xI("ui_author_icon_clicked");xI("ui_ad_author_clicked");xI("ui_ad_title_clicked");xI("ui_wta_clicked");xI("ui_cta_clicked");var yI=xI("ui_close_countdown_complete");xI("update_action_title");xI("video_time_update");xI("accumulated_video_time");xI("animate_time_update");xI("video_reward_granted");xI("video_show_endcard");xI("video_player_end");xI("video_player_pause");xI("video_player_play");xI("video_player_volume_change");xI("video_player_start");xI("video_player_focus_ui_element"); xI("video_error");xI("request_cta_url_for_qr");xI("receive_cta_for_qr");xI("och_click");xI("close_ad");xI("request_change_ad_duration");xI("ad_duration_change_result");var zI=new vI("ad_author_icon_update"),AI=new vI("ad_author_update"),BI=new vI("ad_cta_text_update"),CI=new vI("ad_title_update"),DI=new vI("in_creative_widget_shown"),EI=new vI("in_creative_widget_hidden"),FI=new vI("in_creative_widget_navigation_dispatched"),GI=new vI("gpid_consent_data_changed"),HI=function(a,b,c){this.type=a;this.j=b;this.g=c},II=new vI("publisher_invoked_skip"),JI=new vI("ui_ad_attribution_clicked"),KI=new vI("ui_ad_author_clicked"),LI=new vI("ui_ad_clicked"),MI=new vI("ui_ad_mouse_enter"), NI=new vI("ui_ad_mouse_over"),OI=new vI("ui_ad_mouse_leave"),PI=new vI("ui_author_icon_clicked"),QI=new vI("ui_ad_title_clicked"),RI=new vI("ui_close_button_clicked"),SI=new vI("ui_close_button_shown"),TI=new vI("ui_close_countdown_shown"),UI=new vI("ui_close_countdown_timeout"),VI=new vI("ui_endcap_learn_more_clicked"),WI=new vI("ui_focus_element"),XI=new vI("ui_focus_skip_button"),YI=new vI("ui_icon_fallback_image_closed"),ZI=new vI("ui_learn_more_clicked"),$I=new vI("ui_sandboxed_iframe_loaded"), aJ=function(a,b){this.Ab=a;this.Bb=b},bJ=new vI("ui_overlay_clicked"),cJ=new vI("ui_overlay_faded"),dJ=new vI("ui_overlay_rendered"),eJ=new vI("ui_play_pause_clicked"),fJ=new vI("ui_play_pause_hidden"),gJ=new vI("ui_play_pause_shown"),hJ=new vI("ui_recall_button_clicked"),iJ=new vI("ui_skip_clicked"),jJ=new vI("ui_skip_shown"),kJ=new vI("ui_vast_icon_clicked"),lJ=new vI("ui_vast_icon_rendered"),mJ=new vI("ui_wta_clicked"),nJ=new vI("video_clicked"),oJ=new vI("video_pause"),pJ=new vI("video_ad_shown"), qJ=new vI("video_started"),rJ=function(a,b,c,d,e){this.currentTimeSeconds=a;this.durationSeconds=b;this.bufferedTimeSeconds=c===void 0?null:c;this.adPosition=d===void 0?null:d;this.totalAds=e===void 0?null:e},sJ=new vI("video_time_update");var ZJ=function(){return Nz('
')},hK=function(){return Nz('
')},iK=function(a){a=a.sh;return Nz('
'+Qz(a)+"
")};var jK=function(a){a=a||{};a=a.Wh;return Nz('
'+Qz(a)+"
")},kK=function(){var a="Learn More "+Qz("");return Nz(a)},lK=function(a){a=a.Wh;return Nz('
'+Qz(a)+"
")};var mK=function(){M.call(this);this.element=null;this.g=new SG(this);L(this,this.g)};w(mK,M);mK.prototype.R=function(){this.g=null};var pK=function(a,b){mK.call(this);this.l=this.j=null;this.element=rA(ZJ,{});a.appendChild(this.element);this.g.listen(this.element,"touchmove",function(c){c.preventDefault()});nK(this);oK(this,b);(parseInt(Mn(a,"width"),10)||parseInt(a.getAttribute("width"),10))<=400&&jz(this.element,"videoAdUi-mobile");this.ca()};w(pK,mK); var nK=function(a){a.j=rA(hK,{});a.element.appendChild(a.j);a.g.listen(a.j,"click",function(b){JB(U(),"sic");b.stopPropagation()})},oK=function(a,b){a.l=rA(iK,{sh:b||kK()});a.element.appendChild(a.l);a.g.listen(ef("callToActionButton",a.element),"click",function(c){JB(U(),"ecbc");O(a,"video_card_endcap_action");c.stopPropagation()})};pK.prototype.show=function(){Yn(this.element,!0)};pK.prototype.ca=function(){Yn(this.element,!1)};pK.prototype.R=function(){tf(this.element);this.element=null;mK.prototype.R.call(this)};var qK=function(){return Nz('
')};var sK=function(a){mK.call(this);this.l=a;this.j=null;this.element=rA(qK,{});rK(this)};w(sK,mK);var rK=function(a){a.j=ef("advertiserChannelThumbnail",a.element);a.g.listen(a.j,"click",function(){a.l?JB(U(),"ectc"):JB(U(),"ctc")});a.g.listen(ef("advertiserHeadline",a.element),"click",function(){a.l?JB(U(),"eadc"):JB(U(),"adc")});a.g.listen(ef("advertiserDescription",a.element),"click",function(){a.l?JB(U(),"eahc"):JB(U(),"ahc")})};sK.prototype.R=function(){tf(this.element);this.element=null;mK.prototype.R.call(this)};var tK=function(){M.call(this);this.g=new SG(this);L(this,this.g)};w(tK,M);tK.prototype.R=function(){this.g=null};tK.prototype.Ef=function(){};var uK=function(){tK.apply(this,arguments)};w(uK,tK);uK.prototype.wf=function(){};var vK=function(a){a=a===void 0?!1:a;uK.call(this);this.j=new sK(a);this.A=ef("advertiserChannelThumbnail",this.j.element);this.l=ef("advertiserDescription",this.j.element);this.o=ef("advertiserHeadline",this.j.element)};w(vK,uK);vK.prototype.He=function(a){if(a){var b=this.j;b.j.setAttribute("src",a);Kn(b.j,"display","inline")}};vK.prototype.Yg=function(a){a&&this.o&&xf(this.o,a)};vK.prototype.wf=function(a){a&&this.l&&xf(this.l,a)}; vK.prototype.Ef=function(a){a.insertBefore(this.j.element,a.childNodes[0]||null)};var wK=function(a){a.g.listen(a.A,"click",function(b){b.stopPropagation();O(a,"video_card_endcap_action")});a.g.listen(a.l,"click",function(b){b.stopPropagation();O(a,"video_card_endcap_action")});a.g.listen(a.o,"click",function(b){b.stopPropagation();O(a,"video_card_endcap_action")})};var zK=function(a,b){a=a.Rd;return Nz('
'+xK(null,b)+yK(a)+"
")},xK=function(){var a='
')},AK=function(a){a=a||{};var b=a.Vg,c="";return c=a.kc?c+("You can skip in "+ b):c+("You can skip this ad in "+b)},BK=function(a){return yK(a.Rd)},yK=function(a){var b='
'; return Nz(b)};var CK=function(){M.call(this);this.j=0;this.endTime=this.startTime=null};Va(CK,M);var DK=function(a,b){Array.isArray(b)||(b=[b]);b=b.map(function(c){return typeof c==="string"?c:c.Ic+" "+c.duration+"s "+c.timing+" "+c.delay+"s"});Kn(a,"transition",b.join(","))},EK=Ee(function(){var a=pf(document,"DIV"),b=se?"-webkit":re?"-moz":qe?"-ms":null,c={transition:"opacity 1s linear"};b&&(c[b+"-transition"]="opacity 1s linear");c={style:c};if(!Pd.test("div"))throw Error("");if("DIV"in Rd)throw Error("");b=void 0;var d="";if(c)for(m in c)if(Object.prototype.hasOwnProperty.call(c,m)){if(!Pd.test(m))throw Error(""); var e=c[m];if(e!=null){var f=void 0;var g=m;if(e instanceof dd)e=ed(e);else if(g.toLowerCase()=="style"){if(!Na(e))throw Error("");if(!(e instanceof wd)){var h="";for(f in e)if(Object.prototype.hasOwnProperty.call(e,f)){if(!/^[-_a-zA-Z0-9]+$/.test(f))throw Error("Name allows only [-_a-zA-Z0-9], got: "+f);var k=e[f];k!=null&&(k=Array.isArray(k)?k.map(zd).join(" "):zd(k),h+=f+":"+k+";")}e=h?new wd(h,vd):yd}e=xd(e)}else{if(/^on/i.test(g))throw Error("");if(g.toLowerCase()in Qd)if(e instanceof fd)e=gd(e).toString(); else if(e instanceof jd)e=ld(e);else if(typeof e==="string")e=pd(e).toString();else throw Error("");}f=g+'="'+Dc(String(e))+'"';d+=" "+f}}var m="":(b=Od(b),m+=">"+Jd(b).toString()+"");m=Kd(m);We(a,m);a=a.firstChild;m=a.style[ie("transition")];return(typeof m!=="undefined"?m:a.style[Jn(a,"transition")]||"")!=""});var FK=function(a,b,c,d,e){CK.call(this);this.g=a;this.A=b;this.B=c;this.l=d;this.D=Array.isArray(e)?e:[e]};Va(FK,CK);var GK=function(a){a.j!=1&&(O(a,"begin"),O(a,"play"),a.startTime=Ua(),a.j=1,EK()?(Kn(a.g,a.B),a.o=lu(a.Vm,void 0,a)):a.Zg(!1))};l=FK.prototype;l.Vm=function(){Vn(this.g);DK(this.g,this.D);Kn(this.g,this.l);this.o=lu(Sa(this.Zg,this,!1),this.A*1E3)};l.stop=function(){this.j==1&&this.Zg(!0)}; l.Zg=function(a){Kn(this.g,"transition","");mu(this.o);Kn(this.g,this.l);this.endTime=Ua();this.j=0;a?O(this,"stop"):O(this,"finish");O(this,"end")};l.R=function(){this.stop();FK.Vb.R.call(this)};l.pause=function(){};var HK=function(a,b){return new FK(a,b,{opacity:0},{opacity:1},{Ic:"opacity",duration:b,timing:"ease-out",delay:0})};var JK=function(a){mK.call(this);this.F=this.D=this.j=this.o=this.B=this.A=this.l=null;IK(this,a)};w(JK,mK); var IK=function(a,b){a.l=rA(xK);a.A=ef("videoAdUiPreSkipButton",a.l);a.B=ef("videoAdUiPreSkipText",a.A);a.j=rA(BK,{Rd:vc("Skip Ad ")});a.o=ef("videoAdUiSkipButton",a.j);Yn(a.l,!1);b.appendChild(a.l);b.appendChild(a.j);a.g.listen(a.o,"click",function(c){c.stopPropagation();O(a,"click")})},KK=function(a){a.A.style.backgroundColor="black";a.o.style.backgroundColor="black"},LK=function(a){Yn(a.j,!1);Xn(a.j,0)};JK.prototype.show=function(){Yn(this.A,!0);Yn(this.o,!0)}; JK.prototype.ca=function(){Yn(this.A,!1);Yn(this.o,!1)};JK.prototype.R=function(){Lo(this.D);this.D=null;Lo(this.F);this.F=null;this.l&&(tf(this.l),this.l=null);this.o&&(this.o=null);this.j&&(tf(this.j),this.j=null);mK.prototype.R.call(this)};var MK=function(){if(ve){var a=/Windows NT ([0-9.]+)/;return(a=a.exec(Ic()))?a[1]:"0"}return ue?(a=/1[0|1][_.][0-9_.]+/,(a=a.exec(Ic()))?a[0].replace(/_/g,"."):"10"):we?(a=/Android\s+([^\);]+)(\)|;)/,(a=a.exec(Ic()))?a[1]:""):xe||ye||ze?(a=/(?:iPhone|CPU)\s+OS\s+(\S+)/,(a=a.exec(Ic()))?a[1].replace(/_/g,"."):""):""}();var OK=function(a,b){tK.call(this);this.l=b;this.j=new JK(a);this.o=b==0?3:1;L(this,this.j);NK(this)};w(OK,tK);var NK=function(a){PK(a);we&&MK==="4.4.4"&&KK(a.j);a.l==0?O(a,"skipShown"):LK(a.j);a.g.listen(a.j,"click",function(){a.o==3&&O(a,"videoSkipClicked")})},PK=function(a){if(!(a.l<0)){var b=Math.ceil(a.l-0),c=b.toString();b>=60&&(c=MC(b));xf(a.j.B,AK({Vg:c}))}};OK.prototype.skip=function(){return this.l>=0&&this.o==3?(O(this,"publisher_invoked_skip"),!0):!1};OK.prototype.show=function(){this.j.show()}; OK.prototype.ca=function(){this.j.ca()};var QK=function(a,b,c){tK.call(this);var d=this;this.o=new pK(a,c);this.B=0;this.D=b;this.j=null;this.l=new vK(!0);this.g.listen(this.o,"video_card_endcap_action",function(){O(d,"video_card_endcap_action")});L(this,this.o);this.l.aa=this;this.l.Ef(this.o.l);wK(this.l);L(this,this.l);this.A=new OK(this.o.element,0);this.A.aa=this;L(this,this.A);b>0&&(this.j=new ju(100),L(this,this.j),this.g.listen(this.j,"tick",this.Mm))};w(QK,tK); var RK=function(a,b){var c=c===void 0?!1:c;if(b){var d=ef("advertiserVideoThumbnail",a.o.j);d.setAttribute("src",b);c&&(Kn(d,{width:"100%",pointer:"cursor"}),a.g.listen(d,"click",function(){O(a,"click")}))}};l=QK.prototype;l.skip=function(){return this.A!=null?(O(this,"video_card_endcap_dismiss"),this.A.skip()):!1};l.show=function(){this.o.show();this.B=Date.now();this.j&&this.j.start();O(this,"video_card_endcap_impression")};l.ca=function(){this.o.ca();this.j&&this.j.stop();O(this,"video_card_endcap_collapse")}; l.Mm=function(){O(this,"timeupdate");(this.B>0?Date.now()-this.B:0)>=this.D&&this.ca()};l.pause=function(){this.j&&this.j.stop()};var SK=function(a){a=a.sh;return Nz('
'+Qz(a)+"
")};var UK=function(a){mK.call(this);var b=this;this.element=rA(SK,{sh:a||kK()});a=function(){return O(b,"click")};this.j=ef("videoAdUiActionCtaInset",this.element);this.o=ef("videoAdUiActionCtaText",this.j);TK(this,this.o,"fctc",a);this.A=ef("videoAdUiActionCtaLink",this.j);TK(this,this.A,"fcvuc",a);this.l=ef("videoAdUiActionCtaIconContainer",this.j);TK(this,this.l,"fctnc",a);TK(this,ef("videoAdUiActionCtaButton",this.j),"fcabc",function(){return O(b,"click")});TK(this,ef("videoAdUiActionCtaInset",this.j), "fcbgc",a);TK(this,ef("actionCtaCollapsibleContainer",this.j),"fcbgc",a)};w(UK,mK);var TK=function(a,b,c,d){d=d===void 0?null:d;b!=null&&a.g.listen(b,"click",function(e){e.stopPropagation();JB(U(),c);d&&(FB(U().g),d())})};UK.prototype.show=function(){Yn(this.element,!0)};UK.prototype.ca=function(){Yn(this.element,!1)};var VK=function(a){uK.call(this);this.j=new UK(a)};w(VK,uK);l=VK.prototype;l.Ef=function(a){var b=this;a.insertBefore(this.j.element,a.childNodes[0]||null);this.g.listen(this.j,"click",function(){O(b,"ctaClicked")})};l.Yg=function(a){a&&xf(this.j.o,a)};l.He=function(a){var b=this.j,c=pf(document,"IMG");c.setAttribute("onerror",'this.style.display="none"');c.setAttribute("src",a);jz(c,"videoAdUiActionIcon");b.l.appendChild(c);Kn(b.l,"display","inline")};l.wf=function(a){a&&xf(this.j.A,a)};l.show=function(){this.j.show()}; l.ca=function(){this.j.ca()};var WK=function(a){Mo.call(this);this.I=a};w(WK,Mo);WK.prototype.build=function(){};var XK=function(a){a=a===void 0?null:a;Mo.call(this);this.g=new SG(this);L(this,this.g);this.o=a};w(XK,Mo);var YK=function(a,b,c,d){a.o&&($H(a.o,b,c,d),No(a,function(){XH(a.o.g,b.toString(),c,d)}))},ZK=function(a,b,c){return aI(a.o,b,c)};var $K=function(a,b){XK.call(this);b&&a.l&&a.l.setAttribute("data-ck-navigates","true")};w($K,XK);var aL=function(a,b,c){c=c===void 0?null:c;XK.call(this,b);var d=this;this.l=a;L(this,this.l);(this.j=c)&&this.g.listen(this.l,"click",function(){d.j&&ZK(d,d.j,null)})};w(aL,XK);var bL=function(a,b,c,d){XK.call(this,b);var e=this;this.j=a;L(this,this.j);this.g.listen(this.j,"click",function(){ZK(e,c,null)});YK(this,d,this.l,this)};w(bL,XK);bL.prototype.l=function(a){this.j.l(a);this.j.show()};var dL=function(a,b,c,d,e){d=d===void 0?0:d;e=e===void 0?0:e;XK.call(this,b);var f=this;this.j=a;L(this,this.j);this.aa=c;this.A=d;this.K=e;this.L=null;this.B=this.D=this.l=this.G=!1;cL(this,this.A);YK(this,sJ,this.C,this);YK(this,pJ,this.F,this);YK(this,qJ,this.O,this);this.g.listen(this.j,"click",function(){f.l&&ZK(f,f.aa,null)})};w(dL,XK);dL.prototype.C=function(a){!a||a.currentTimeSeconds<0||a.durationSeconds<0||(this.l?this.o&&XH(this.o.g,sJ.toString(),this.C,this):cL(this,this.A-a.currentTimeSeconds))}; var cL=function(a,b){if(b<=0)b=a.j,Yn(b.l,!0),Yn(b.j,!1),a.l=!0,ZK(a,SI,null),a.A>0&&!a.B&&(ZK(a,yI,null),a.B=!0);else{var c=a.j;Yn(c.l,!1);Yn(c.j,!0);xf(c.j,Math.ceil(b).toString());a.D||(ZK(a,TI,null),a.D=!0)}};dL.prototype.F=function(){var a=this;this.K>0&&!this.L&&(this.L=lu(function(){if(!a.G){var b=a.j;Yn(b.l,!0);Yn(b.j,!1);a.l=!0;ZK(a,SI,null);ZK(a,UI,null);a.o&&XH(a.o.g,pJ.toString(),a.F,a)}},this.K*1E3))};dL.prototype.O=function(){this.G=!0};var fL=function(a,b,c){XK.call(this,b);var d=this;this.j=a;this.C=c;YK(this,hJ,function(){eL(d,500)},this);eL(this,2E3)};w(fL,XK);var eL=function(a,b){a.j.Qd(!1);XG(a.g,a.j,"click",a.A);a.l&&clearTimeout(a.l);a.l=setTimeout(function(){a.j.Qd(!0);a.g.listen(a.j,"click",a.A)},b)};fL.prototype.A=function(a){a instanceof ft&&a.g!=null&&a.l!=null?a=new aJ(a.g,a.l):(a.nodeType==1?a=Rn(a):(a=a.changedTouches?a.changedTouches[0]:a,a=new Xe(a.clientX,a.clientY)),a=new aJ(a.x,a.y));ZK(this,this.C,a)};var gL=function(a,b){XK.call(this,b);this.view=a};w(gL,XK);gL.prototype.show=function(){this.view.show()};gL.prototype.ca=function(){this.view.ca()};var hL=function(a,b,c){c=c===void 0?!1:c;XK.call(this,b);var d=this;this.g.listen(a,"click",function(){ZK(d,LI,null)});c?this.g.listen(a,"mouseover",function(){ZK(d,NI,null)}):this.g.listen(a,"mouseenter",function(){ZK(d,MI,null)});this.g.listen(a,"mouseleave",function(){ZK(d,OI,null)})};w(hL,XK);var jL=function(a,b,c){XK.call(this,b);this.j=a;L(this,this.j);this.F=c;this.D=this.C=!1;YK(this,RI,this.Xl,this);YK(this,hJ,this.cm,this);this.g.listen(this.j,"mouseover",this.qm);this.g.listen(this.j,"mouseout",this.nn);this.j.Vj(400);iL(this)};w(jL,XK);var iL=function(a){a.l==null&&(a.l=lu(function(){a.C||(a.ca(),a.D=!0);a.l=null},a.D?15E3:45E3,a))};l=jL.prototype;l.stop=function(){this.l!=null&&(mu(this.l),this.l=null)}; l.qm=function(){var a=this;this.show();this.C=!0;this.B=lu(function(){a.C&&a.stop();a.B=null},1E3,this)};l.nn=function(){this.B!=null&&(mu(this.B),this.B=null);this.C&&iL(this);this.C=!1};l.show=function(){this.j.Ri();this.A!=null&&(mu(this.A),this.A=null)};l.ca=function(){var a=this;this.j.qj();this.A==null&&(this.A=lu(function(){a.F&&a.j.ca();a.A=null;ZK(a,cJ,null)},400,this))};l.Xl=function(){this.j.ca();ZK(this,cJ,null)};l.cm=function(){this.j.show()};var kL=function(a,b,c){Mo.call(this);this.j=a;this.C=b||0;this.l=c;this.A=Sa(this.o,this)};Va(kL,Mo);kL.prototype.g=0;kL.prototype.R=function(){kL.Vb.R.call(this);this.stop();delete this.j;delete this.l};kL.prototype.start=function(a){this.stop();this.g=lu(this.A,a!==void 0?a:this.C)};var lL=function(a){a.isActive()||a.start(void 0)};kL.prototype.stop=function(){this.isActive()&&mu(this.g);this.g=0};kL.prototype.isActive=function(){return this.g!=0};kL.prototype.o=function(){this.g=0;this.j&&this.j.call(this.l)};var pL=function(a,b,c){c=c===void 0?!1:c;XK.call(this,b);var d=this;this.A=!1;this.l=a;L(this,this.l);this.B=c;mL(this.l,c);this.C=!c;c?nL(this):oL(this);this.j=new kL(function(){return void oL(d)},2E3);this.g.listen(this.l,"click",function(){ZK(d,eJ,!d.B);d.j.stop();d.A&&lL(d.j)});YK(this,LI,function(){nL(d);lL(d.j)},this);te||(YK(this,MI,function(){nL(d);d.j.stop();d.A&&lL(d.j)},this),YK(this,NI,function(){nL(d);d.j.stop();d.A&&lL(d.j)},this),YK(this,OI,function(){if(!d.B||d.A){var e=d.j;e.stop(); e.o()}},this));YK(this,oJ,function(e){mL(d.l,e);(d.B=e)?nL(d):d.A||oL(d);d.A&&lL(d.j)},this)};w(pL,XK);var nL=function(a){a.C||(a.C=!0,ZK(a,gJ,null),a.l.show())},oL=function(a){a.C&&(a.C=!1,ZK(a,fJ,null),a.l.ca())},qL=function(a){a.A=!0;jz(a.l.element,"fullScreen")};var rL=function(a,b){XK.call(this,b);this.j=a;L(this,this.j);YK(this,sJ,this.l,this)};w(rL,XK);rL.prototype.l=function(a){a&&this.j.j(a.currentTimeSeconds,a.durationSeconds,a.adPosition,a.totalAds)};var sL=function(a,b,c){XK.call(this,b);var d=this;this.j=a;L(this,this.j);this.j.ca();this.g.listen(this.j,"click",function(){ZK(d,hJ,null);d.j.ca()});YK(this,c,function(){d.j.show()},this)};w(sL,XK);var vL=function(a,b,c,d){d=d===void 0?0:d;XK.call(this,b);var e=this;this.l=c;this.D=d;this.j=a;L(this,this.j);this.A=this.l==0?3:1;tL(this,0);this.l==0?ZK(this,jJ,null):uL(this.j);this.g.listen(this.j,"click",function(){e.A==3&&ZK(e,iJ,null)});YK(this,sJ,this.C,this);YK(this,XI,this.B,this)};w(vL,XK); vL.prototype.C=function(a){if(a&&!(a.durationSeconds<=this.D||this.l<0||this.l>=a.durationSeconds||this.A==3)){if(a.currentTimeSeconds<=this.l){if(this.A!=2){tL(this,0);var b=this.j;GK(HK(b.l,b.B));Yn(b.l,!0)}this.A=2}else{b=this.j;Yn(b.o,!0);var c=b.B;c=new FK(b.l,c,{opacity:1,visibility:"shown"},{opacity:.9,visibility:"hidden"},{Ic:"opacity",duration:c,timing:"ease-out",delay:0});b=HK(b.o,b.B);GK(c);GK(b);this.A=3;ZK(this,jJ,null)}this.A==2&&tL(this,a.currentTimeSeconds)}}; var tL=function(a,b){if(!(a.l<0)){var c=Math.ceil(a.l-b);b=c.toString();c>=60&&(b=MC(c));a=a.j;b={Vg:b,kc:a.F};a.G?xf(a.D,""+(b||{}).Vg):xf(a.D,AK(b))}};vL.prototype.B=function(){var a=this.j;a.j&&a.j.focus()};var zL=function(a,b,c,d){d=d===void 0?!1:d;XK.call(this,b);var e=this;this.l=a;L(this,this.l);this.j=c;this.B=d;this.A=!1;(a=this.j.o)?(this.l.l(a),this.g.listen(this.l,"click",function(){e.l.B&&(ZK(e,kJ,e.j),wL(e))}),this.j.Ea>=0?xL(this):yL(this),(this.j.Ea>=0||this.j.Fb>=0)&&YK(this,sJ,this.C,this)):xL(this)};w(zL,XK); zL.prototype.C=function(a){if(a){var b=this.j.Ea>=0?this.j.Ea:0,c=this.j.Fb>=0?this.j.Fb+b:-1;c>=0&&a.currentTimeSeconds*1E3>=c?(xL(this),AL(this)):a.currentTimeSeconds*1E3>=b&&(yL(this),c<0&&AL(this))}}; var AL=function(a){a.o&&XH(a.o.g,sJ.toString(),a.C,a)},xL=function(a){a.l.B&&a.l.ca()},yL=function(a){a.l.B||(a.l.show(),ZK(a,lJ,a.j))},wL=function(a){if(a.B&&!a.A){var b=Vn(a.l.element.parentElement),c=uE(a.j,b);if(!c){c=vE(a.j,b);b=Math.min(b.width/c.j,b.height/c.g);var d=c.clone();d.j=c.j*b;d.g=c.g*b;c=d}c&&(BL(a.l,c),(c=a.l.A)&&a.g.listen(c,"click",function(e){ZK(a,YI,a.j);e.stopPropagation();a.A&&(e=a.l,e.j&&(XG(e.g,e.j,"load",e.D,!0,e),XG(e.g,e.j,"error",e.D,!0,e),XG(e.g,e.j,"focusout"),tf(e.j), e.element.focus(),e.j=null,e.A=null),a.A=!1)}));a.A=!0}};zL.prototype.R=function(){AL(this);XK.prototype.R.call(this)};var CL=function(){return Nz('
')};var DL=function(a){a=a||{};a=a.qa;return Nz('
'+Qz(a)+"
")},EL=function(a){var b=a.fk,c=a.adPosition;a=a.totalAds;return a>=2&&c>=1?"Ad "+c+" of "+a+" "+b:"Ad "+b};var FL=function(){return Nz('
')};var GL=function(a){a=a||{};a=a.vp;return Nz('
'+Qz(a)+"
")};var HL=function(a){a=a.wm;return Nz('
'+(a?'
':"")+'
')};var IL=function(){var a=Nz,b='
';var c=Nz(''); return a(b+c+"
")};var JL=function(a){return Nz('
")};var KL=function(){return Nz('
')},LL=function(a){var b=a.Ka,c=a.height,d=a.width;a=a.alt;return Nz('
'+Q(a)+'
')};var ML=function(a){var b=a.height,c=a.width;a=a.attribution;return Nz('
'+Qz(a)+"
")},NL=function(a){var b=a.height,c=a.width;a=a.attribution;return Nz('
'+Qz(a)+"
")},OL=function(a){var b=a.height,c=a.width,d=a.Ka;a=a.attribution;return Nz('
'+Qz(a)+"
")},PL=function(a){var b=a.title,c=a.text,d=a.dir,e=a.attribution,f=a.image,g=a.duration;a=a.Mc;return Nz('
'+(Sz(f)?'
'+(Sz(g)?'
'+Qz(g)+"
":"")+"
":"")+'
'+Qz(a)+"
":"")+'
'+Qz(e)+ "
")};var QL=function(){var a=Nz,b='
';var c=Nz('');b=b+c+'
';c=Nz(''); return a(b+c+"
")};var RL=function(){var a=Nz,b='
';var c=Nz('');return a(b+c+"
")};var SL=function(){var a='
'; return Nz(a)};var TL=function(){M.call(this);this.element=null;this.g=new SG(this);L(this,this.g)};w(TL,M);var UL=function(a,b){a.element&&b.element&&a.element.appendChild(b.element)};TL.prototype.Fa=function(){return this.element};var VL=function(){TL.call(this)};w(VL,TL);var WL=function(a,b){a.element&&b.insertBefore(a.element,b.childNodes[0]||null)};var XL=function(){TL.call(this);var a=this;this.element=rA(CL);Yn(this.element,!1);this.g.listen(this.element,"click",function(b){b.stopPropagation();O(a,"click")})};w(XL,TL);XL.prototype.l=function(a){xf(this.element,a)};XL.prototype.show=function(){Yn(this.element,!0)};var YL=function(a){a=a===void 0?!1:a;TL.call(this);this.element=rA(DL,{qa:EL({fk:"",adPosition:0,totalAds:0})});this.l=ef("videoAdUiAttribution",this.element);this.o=a;this.g.listen(this.element,"click",function(b){b.stopPropagation()});Yn(this.element,!1)};w(YL,TL);YL.prototype.show=function(){Yn(this.element,!0)};YL.prototype.j=function(a,b,c,d){this.l&&(a=MC(b-a),c=EL({fk:": ("+a+")",adPosition:c||0,totalAds:d||0}),this.o&&(c=a),xf(this.l,c.toString()));this.show()};var ZL=function(){TL.call(this);var a=this;this.element=rA(FL);Yn(this.element,!1);this.g.listen(this.element,"click",function(b){b.stopPropagation();O(a,"click")})};w(ZL,TL);ZL.prototype.l=function(a){xf(this.element,"by "+a)};ZL.prototype.show=function(){Yn(this.element,!0)};var $L=function(){TL.call(this);this.element=rA(GL);this.l=ef("videoAdUiAutoClose",this.element);Yn(this.element,!1)};w($L,TL);$L.prototype.j=function(a,b){this.l&&(a=a={Ym:MC(b-a)},a="Ad will close in "+Qz(a.Ym),a=Nz(a),xf(this.l,a.toString()));Yn(this.element,!0)};var aM=function(a,b,c,d){d=d===void 0?!1:d;TL.call(this);var e=this;this.D=c;this.A=d;this.element=rA(HL,{wm:this.A});a.filter(function(f){return!!f}).forEach(function(f){e.element.classList.add(f)});this.A&&this.element.classList.add("videoAdUiInstreamUxRefresh");this.j=ef("videoAdUiTopBar",this.element);this.B=ef("videoAdUiTopBarTextContainer",this.element);this.l=ef("videoAdUiClickElement",this.element);b&&this.j.classList.add(b);this.o=ef("videoAdUiBottomBar",this.element);this.g.listen(this.element, "touchmove",function(f){f.preventDefault()});this.g.listen(this.element,"click",function(){O(e,"click")});this.g.listen(this.element,"mouseover",function(){O(e,"mouseover")});this.g.listen(this.element,"mouseenter",function(){O(e,"mouseenter")});this.g.listen(this.element,"mouseleave",function(){O(e,"mouseleave")});Yn(this.j,!1)};w(aM,VL); var bM=function(a){var b=(parseInt(Mn(a.element,"width"),10)||a.element.width)<=400;a=a.element;b?jz(a,"videoAdUi-mobile"):lz(a,"videoAdUi-mobile")},cM=function(a){a.j&&Yn(a.j,!0)},dM=function(a,b){a.j&&b.element&&a.j.appendChild(b.element)},eM=function(a,b){a.o&&b.element&&a.o.appendChild(b.element)};aM.prototype.Qd=function(a){Kn(this.element,{"pointer-events":a?"auto":"none",cursor:a&&this.D?"pointer":"auto"})}; var fM=function(a,b){b?a.g.listen(a.element,"mouseover",function(){jz(a.j,"videoAdUiTopBarTransitions")}):lz(a.j,"videoAdUiTopBarTransitions")},gM=function(a,b){a=a.j;b?jz(a,"videoAdUiTopBarCollapsed"):lz(a,"videoAdUiTopBarCollapsed")},hM=function(a,b){a=a.o;b?jz(a,"videoAdUiBottomBarCollapsed"):lz(a,"videoAdUiBottomBarCollapsed")},iM=function(a,b){a.B&&b.element&&a.B.appendChild(b.element)},jM=function(a,b){a.l&&b.element&&a.l.appendChild(b.element)}; aM.prototype.ca=function(){Yn(this.j,!1);Yn(this.o,!1);Yn(this.l,!1)};var kM=function(){TL.call(this);var a=this;this.element=rA(IL);this.j=ef("closeCountdownText",this.element);this.l=ef("closeButtonIcon",this.element);this.g.listen(this.element,"click",function(b){b.stopPropagation();O(a,"click")})};w(kM,TL);var lM=function(a){TL.call(this);this.element=rA(JL,{backgroundImage:"data:image/png;base64,"+a.df})};w(lM,TL);lM.prototype.show=function(){Yn(this.element,!0)};lM.prototype.ca=function(){Yn(this.element,!1)};var mM=function(a){TL.call(this);var b=this;this.A=this.j=null;this.B=!1;this.element=rA(KL);switch(a){case "author":jz(this.element,"authorIcon");break;case "vast":jz(this.element,"vastIcon");break;case "freeplayWta":jz(this.element,"vastIcon"),jz(this.element,"freeplayAtv")}this.ca();this.o=null;this.g.listen(this.element,"click",function(c){c.stopPropagation();O(b,"click")})};w(mM,VL); mM.prototype.l=function(a){this.o||(this.o=pf(document,"IMG"));this.o.setAttribute("src",a);this.o.setAttribute("onerror",'this.style.display="none"');this.element.appendChild(this.o)};var nM=function(a,b,c){Kn(a.element,{height:b+"px",width:c+"px"});a.o&&(a.o.setAttribute("width",c+"px"),a.o.setAttribute("height",b+"px"))},oM=function(a,b,c){Kn(a.element,{position:"absolute",overflow:"hidden",left:b,bottom:c})};mM.prototype.show=function(){Yn(this.element,!0);this.B=!0}; mM.prototype.ca=function(){Yn(this.element,!1);this.B=!1};var BL=function(a,b){a.j||(a.j=rA(LL,{Ka:b.l,width:b.j,height:b.g,alt:b.gb}),Yn(a.j,!1),a.element.appendChild(a.j),a.A=(new kM).element,a.j.appendChild(a.A),a.g.listen(a.j,"load",a.D,!0),a.g.listen(a.j,"error",a.D,!0),a.g.listen(a.j,"focusout",function(c){c.stopPropagation();a.A.focus()}))};mM.prototype.D=function(){Yn(this.j,!0);this.A.focus()};var pM=function(a){a=a===void 0?null:a;TL.call(this);var b=this;this.element=rA(lK,{Wh:a||kK()});this.j=ef("learnMoreButton",this.element);this.g.listen(this.j,"click",function(c){c.stopPropagation();O(b,"click")})};w(pM,TL);pM.prototype.l=function(a){xf(this.j,a)};pM.prototype.show=function(){Yn(this.element,!0)};var qM=function(){TL.call(this);var a=this;this.element=rA(jK,{Wh:kK()});this.g.listen(this.element,"click",function(b){b.stopPropagation();O(a,"click")})};w(qM,TL);var sM=function(a,b,c){Mo.call(this);this.j=a;this.A=b;this.B=c;this.o=0;this.g={};this.l=new SG(this);L(this,this.l);rM(this)};w(sM,Mo);var rM=function(a){a.B.forEach(function(b){this.l.listen(b.element,"mousedown",this.D,!0);this.l.listen(b.element,"mouseup",Ta(this.G,b),!0)},a);a.l.listen(a.A,"mouseenter",a.F)},tM=function(a,b){Ib(a.g,function(c,d){b=Vf(ag(b,d),d,c)});return b};sM.prototype.D=function(){this.C=Date.now()}; sM.prototype.G=function(a,b){var c=a.element;(this.j&1)==1&&(this.o==0&&this.o++,this.g.nm=this.o);(this.j&2)==2&&(this.g.nb=a.Kf);(this.j&8)==8&&(a=Qn(this.A),this.g.nx=Math.round(b.clientX-a.x),this.g.ny=Math.round(b.clientY-a.y));(this.j&16)==16&&this.C!=null&&(this.g.clkt=Date.now()-this.C);(this.j&512)==512&&(b=dz())&&(this.g.mb=b);c.tagName.toUpperCase()=="A"&&(b=tM(this,c.href),b=td(b),b!==void 0&&(c.href=b))};sM.prototype.F=function(){this.o++};var uM=function(a,b,c){TL.call(this);var d=this,e=[];switch(b){case "embedded":this.element=rA(ML,a);ef("embeddedOverlayIframe",this.element).setAttribute("src",a.Ka||"");break;case "html":this.element=rA(NL,a);Sd(ef("overlayInnerElement",this.element),Re(a.Ka||""));break;case "image":this.element=rA(OL,a);break;case "text":this.element=rA(PL,a);a=ef("textImageContainer",this.element);a!=null&&e.push({element:a,Kf:9});a=ef("overlayTextTitle",this.element);a!=null&&e.push({element:a,Kf:0});a=ef("overlayTextUrl", this.element);a!=null&&e.push({element:a,Kf:1});break;default:this.element=nf("DIV","overlayContainer")}e.push({element:this.element,Kf:2});this.j=new sM(c,this.element,e);this.g.listen(this.element,"click",function(f){O(d,f)});this.g.listen(this.element,"mouseover",function(){O(d,"mouseover")});this.g.listen(this.element,"mouseout",function(){O(d,"mouseout")})};w(uM,TL);l=uM.prototype;l.Qd=function(a){var b=this.element;a?jz(b,"clickable"):lz(b,"clickable")}; l.Vj=function(a){DK(this.element,"opacity "+a/1E3+"s")};l.show=function(){Yn(this.element,!0)};l.ca=function(){Yn(this.element,!1)};l.Ri=function(){Xn(this.element,1)};l.qj=function(){Xn(this.element,.3)};l.Fa=function(){return this.element};var vM=function(a){return ef("overlayTextAttribution",a.element)};var wM=function(){TL.call(this);var a=this;this.element=rA(QL);this.l=ef("videoAdUiPlayIcon",this.element);this.j=ef("videoAdUiPauseIcon",this.element);this.g.listen(this.element,"click",function(b){b.stopPropagation();O(a,"click")});mL(this,!1)};w(wM,TL);var mL=function(a,b){Yn(a.l,b);Yn(a.j,!b)};wM.prototype.show=function(){this.element&&jz(this.element,"fade-in")};wM.prototype.ca=function(){this.element&&lz(this.element,"fade-in")};var xM=function(){TL.call(this);var a=this;this.element=rA(RL);this.j=!0;this.g.listen(this.element,"click",function(b){a.j&&(b.stopPropagation(),O(a,"click"))})};w(xM,TL);xM.prototype.show=function(){Yn(this.element,!0);this.j=!0};xM.prototype.ca=function(){Yn(this.element,!1);this.j=!1};var yM=function(a){var b=a.cf===void 0?!1:a.cf;var c=a.Jg===void 0?!1:a.Jg;var d=a.Qg===void 0?.5:a.Qg;a=a.kc===void 0?!1:a.kc;TL.call(this);var e=this;this.F=a;this.element=rA(zK,{Rd:vc(a?"Skip ":"Skip Ad ")});b&&jz(this.element,"noTextSkipButton");c&&jz(this.element,"raisedSkipButton");this.G=b;this.B=d;this.l=ef("videoAdUiPreSkipContainer",this.element);this.A=ef("videoAdUiPreSkipButton",this.element);this.D=ef("videoAdUiPreSkipText",this.element);this.o=ef("videoAdUiSkipContainer",this.element); this.j=ef("videoAdUiSkipButton",this.element);Yn(this.l,!1);this.g.listen(this.j,"click",function(f){f.stopPropagation();O(e,"click")});this.g.listen(this.A,"click",function(f){f.stopPropagation()});we&&MK==="4.4.4"&&(this.A.style.backgroundColor="black",this.j.style.backgroundColor="black")};w(yM,TL);yM.prototype.ca=function(){Yn(this.A,!1);Yn(this.j,!1)};var uL=function(a){Yn(a.o,!1);Xn(a.o,0)};var zM=function(a){a=a===void 0?!1:a;TL.call(this);var b=this;this.element=rA(SL);a&&this.element.classList.add("smallWtaIcon");this.g.listen(this.element,"click",function(c){c.stopPropagation();O(b,"click")})};w(zM,TL);function AM(a,b){if(typeof ReportingObserver==="undefined")return null;var c=function(e){e=q(e);for(var f=e.next();!f.done;f=e.next())f=f.value,a(f)&&b(f)},d=new ReportingObserver(c,{buffered:!0});z.addEventListener("pagehide",function(){c(d.takeRecords(),d);d.disconnect()});d.observe();return d}function BM(a){return AM(function(b){return b.body&&b.body.id==="HeavyAdIntervention"},a)} function CM(a){return BM(function(b){b=b.body.message;b.includes("CPU")?a("heavy_ad_intervention_cpu"):b.includes("network")&&a("heavy_ad_intervention_network")})}function DM(a){a=a===void 0?null:a;AM(function(b){return b.body&&b.body.id==="HeavyAdIntervention"},function(b){var c=b.body.message,d=U();T(d,"ham",c);c.includes("CPU")?T(d,"hacpu","true"):c.includes("network")&&T(d,"habytes","true");a&&a(b)})};var EM=[new Ye(200,200),new Ye(250,250),new Ye(300,250),new Ye(336,280),new Ye(450,50),new Ye(468,60),new Ye(480,70),new Ye(728,90)];function FM(a,b,c,d){a&&(c=Math.min(c,90));var e=[];EM.forEach(function(f){var g=b-15>=f.width&&c-65>=f.height,h=!d&&!g&&f.height<=90&&b>=f.width&&c>=f.height;(g||h)&&e.push(f.width+"x"+f.height)});return e.join(",")} function GM(a){var b=OC(Ry(new P(a.adTagUrl),"overlay"));return FM(b,a.nonLinearAdSlotWidth||0,a.nonLinearAdSlotHeight||0,a.forceNonLinearFullSlot||!1)}function HM(a){return a==="flash"||a==="image"||a==="staticimage"}function IM(a){var b=[];a.forEach(function(c){c==="video"?b.push("standardvideo"):c!="skippablevideo"&&b.push(c)});return b}function JM(a){a=KM(a,"ad_type");return E(a)?["video"]:a.split("_")}function KM(a,b,c){c=c===void 0?"":c;a=a.g;var d=c;Xy(a,b)&&(d=a.get(b));return E(d)?c:d};var LM=function(){mH.apply(this,arguments)};w(LM,mH); LM.prototype.g=function(a){if(!a.adTagUrl)return null;var b=new P(a.adTagUrl),c=new Map;c.set("sdkv","h.0.0.0");var d=new P(a.adTagUrl),e=c.set,f=KM(d,"client");e.call(c,"video_product_type",f.lastIndexOf("ca-games-",0)==0?"4":f.lastIndexOf("ca-video-",0)==0?"0":"-1");c.set("client",KM(d,"client"));c.set("min_ad_duration",Number(KM(d,"min_ad_duration",(0).toString())).toString());e=Number(KM(d,"max_ad_duration",(1E5).toString()));e>0&&c.set("max_ad_duration",Math.round(1.1*e).toString());e=Number(KM(d, "sdmax",(0).toString()));e>0&&c.set("sdmax",Math.round(1.1*e).toString());e=c.set;var g=a.linearAdSlotWidth||0,h=a.linearAdSlotHeight||0,k=a.nonLinearAdSlotWidth||0,m=a.nonLinearAdSlotHeight||0;f=new P(a.adTagUrl);g=Math.max(g,k)+"x"+Math.max(h,m);f=KM(f,"sz");e.call(c,"sz",E(f)||g!=="0x0"?g:f);e=c.set;f=KM(d,"channel");f=Array.from(new Set(f.split(/[+, ]/))).slice(0,30).join("+");e.call(c,"channel",f);c.set("h_ch",KM(d,"h_ch").split(/[+, ]/).join("+"));e=c.set;f=KM(d,"adsafe");e.call(c,"adsafe", Rb(WC,f)?f:"high");e=c.set;d=KM(d,"videoad_start_delay");e.call(c,"videoad_start_delay",E(d)?"1":d);c.set("hl",DF());c.set("vid_d",a.contentDuration||"");c.set("ca_type","image");c.set("unviewed_position_start","1");c.set("output","xml_vast4");nH(c);d=Map;e=[];f=e.concat;g={};g.u_tz=-(new Date).getTimezoneOffset();var n=n===void 0?C:n;try{var p=n.history.length}catch(F){p=0}g.u_his=p;var r;g.u_h=(r=C.screen)==null?void 0:r.height;var t;g.u_w=(t=C.screen)==null?void 0:t.width;var v;g.u_ah=(v=C.screen)== null?void 0:v.availHeight;var A;g.u_aw=(A=C.screen)==null?void 0:A.availWidth;var B;g.u_cd=(B=C.screen)==null?void 0:B.colorDepth;p=new Map;for(var D in g)p.set(D,g[D]);a=new d(f.call(e,u(p),u(rD(a)),u(c)));oH(this,a);iD(b,a);MM(b);kD(b);return b.toString()};var MM=function(a){a.g.forEach(function(b,c){XC.has(c)&&!E(b)||a.g.remove(c)})};var NM=function(a){a=a===void 0?new Map:a;mH.call(this,a)};w(NM,mH);NM.prototype.g=function(a){if(a.adTagUrl==null)return null;var b=new P(a.adTagUrl),c=new Map;c.set("sdkv","h.0.0.0");nH(c);c.set("nel",DE()?"1":"0");a=new Map([].concat(u(rD(a)),u(c)));oH(this,a);iD(b,a);jD(b,a);kD(b);return b.toString()};var OM=function(a){a=a===void 0?new Map:a;mH.call(this,a)};w(OM,mH); OM.prototype.g=function(a){if(!a.adTagUrl)return null;var b=new cD(a.adTagUrl),c=new Map;nH(c);c.set("dc_sdkv","h.0.0.0");c.set("dc_sdki",pH().toString(16));c.set("dc_eid",fB());c.set("dcmt","text/xml");c.set("nel",DE()?"1":"0");var d=eD(b,"dc_output")||[];(d.includes("vast")||d.includes("xml_vast2"))&&c.set("dc_output","xml_vast3");a=new Map([].concat(u(rD(a)),u(c)));oH(this,a);c=q(a);for(d=c.next();!d.done;d=c.next()){var e=q(d.value);d=e.next().value;e.next();e=PM(d);d=a.get(d);e!=="dc_rfl"&&(d= encodeURIComponent(d));E(e)||E(d)||fD(b,e,[d])}kD(b);return b.toString()};var PM=function(a){switch(a){case "sdkv":return"dc_sdkv";case "sdki":return"dc_sdki";case "adk":return"dc_adk";case "sdk_apis":return"dc_sdk_apis";case "omid_p":return"dc_omid_p";case "js":return"dc_js";case "msid":return"dc_msid";case "frm":return"dc_frm";case "osd":return"dc_osd";case "sdr":return"dc_sdr";default:return a}};var QM=function(a){a=a===void 0?new Map:a;mH.call(this,a)};w(QM,mH);QM.prototype.g=function(a){if(!a.adTagUrl)return null;var b=new P(a.adTagUrl),c=new Map;nH(c);c.set("sdkv","h.0.0.0");c.set("sdki",pH().toString(16));c.set("output","xml_vast4");a=new Map([].concat(u(rD(a)),u(c)));oH(this,a);iD(b,a);kD(b);return b.toString()};var RM=function(a){a=a===void 0?new Map:a;mH.call(this,a)};w(RM,mH); RM.prototype.g=function(a){if(!a.adTagUrl)return null;var b=new P(a.adTagUrl),c=new Map;c.set("sdkv","h.0.0.0");nH(c);c.set("hl",DF());c.set("afvsz",GM(a));c.set("unviewed_position_start","1");var d=(new P(a.adTagUrl)).g,e=String(d.get("output")||"");d=String(d.get("ad_rule")||"");d=OC(d)&&e.includes("vast");e.includes("vmap")||d?c.set("output","xml_vmap1"):e.includes("vast")&&c.set("output","xml_vast4");a=new Map([].concat(u(rD(a)),u(c)));oH(this,a);iD(b,a);jD(b,a);b.g.remove("impl");kD(b);return b.toString()};var SM={Pn:"SIMID:Creative:clickThru",ao:"SIMID:Creative:fatalError",ho:"SIMID:Creative:getMediaState",LOG:"SIMID:Creative:log",Qo:"SIMID:Creative:reportTracking",Ro:"SIMID:Creative:requestChangeAdDuration",So:"SIMID:Creative:requestChangeVolume",To:"SIMID:Creative:requestExitFullscreen",Uo:"SIMID:Creative:requestFullscreen",REQUEST_PAUSE:"SIMID:Creative:requestPause",REQUEST_PLAY:"SIMID:Creative:requestPlay",Wo:"SIMID:Creative:requestResize",Xo:"SIMID:Creative:requestSkip",REQUEST_STOP:"SIMID:Creative:requestStop", Vo:"SIMID:Creative:requestNavigation",mo:"SIMID:Creative:handleSkipShown"};function TM(a){return typeof a!="object"?!1:Number.isInteger(a.width)&&Number.isInteger(a.height)&&Number.isInteger(a.x)&&Number.isInteger(a.y)};var UM=function(a){a=a===void 0?{}:a;this.ka=a.ka;this.jh=a.jh;this.kh=a.kh;this.creativeWidth=a.creativeWidth;this.creativeHeight=a.creativeHeight;this.creativeX=a.creativeX;this.creativeY=a.creativeY;this.code=a.code;this.currentTime=a.currentTime;this.duration=a.duration;this.errorCode=a.errorCode;this.fullscreen=a.fullscreen;this.message=a.message;this.muted=a.muted;this.ei=a.ei;this.xe=a.xe;this.ye=a.ye;this.Sg=a.Sg;this.uri=a.uri;this.Hi=a.Hi;this.version=a.version;this.videoHeight=a.videoHeight; this.videoWidth=a.videoWidth;this.videoX=a.videoX;this.videoY=a.videoY;this.volume=a.volume;this.url=a.url};function VM(a){a=a.trackingUrls;if(!(a instanceof Array))return JB(U(),"sp_s_vrt_ia"),!1;if(a.every(function(b){return typeof b=="string"}))return JB(U(),"sp_s_vrt_s"),!0;JB(U(),"sp_s_vrt_iu");return!1}function WM(a){if(!TM(a.videoDimensions))return JB(U(),"sp_s_vr_ivd"),!1;if(!TM(a.creativeDimensions))return JB(U(),"sp_s_vr_icd"),!1;if(typeof a.fullscreen!="boolean")return JB(U(),"sp_s_vr_ifs"),!1;JB(U(),"sp_s_vr_s");return!0} var XM=function(){},YM=function(a,b){switch(a){case "SIMID:Creative:requestChangeAdDuration":return a=b.duration,isNaN(a)||typeof a!="number"?null:new UM({duration:a});case "SIMID:Creative:reportTracking":return VM(b)?new UM({Sg:b.trackingUrls}):null;case "SIMID:Creative:requestResize":return WM(b)?new UM({videoX:b.videoDimensions.x,videoY:b.videoDimensions.y,videoWidth:b.videoDimensions.width,videoHeight:b.videoDimensions.height,creativeX:b.creativeDimensions.x,creativeY:b.creativeDimensions.y,creativeWidth:b.creativeDimensions.width, creativeHeight:b.creativeDimensions.height,fullscreen:b.fullscreen}):null;case "SIMID:Creative:requestChangeVolume":return new UM({volume:b.volume,muted:b.muted});case "SIMID:Creative:requestNavigation":return typeof b.uri!="string"?null:new UM({uri:b.uri});case "SIMID:Creative:log":return typeof b.message!="string"?null:new UM({message:b.message})}return new UM};var ZM=function(a,b,c,d){this.type=a;this.args=d;this.messageId=b;this.g=c};var $M=function(a,b,c){dt.call(this,a.type);this.resolve=b;this.reject=c;this.args=a.args};w($M,dt);var aN=function(a,b,c,d){d=d===void 0?{}:d;a=d.Rf===void 0?!1:d.Rf;d=d.Qf===void 0?!1:d.Qf;M.call(this);this.o=new Yy;this.G=c;this.B={Rf:a,Qf:d};this.l="";this.K=1;this.D=this.F=window;this.g=b;this.A=new SG(this);L(this,this.A);this.j=new Map};w(aN,M); var eN=function(a){a.A.listen(window,"message",function(b){a:{b=b.Ob;var c=a.D===b.source;if(a.B.Rf){var d=a.g==null||a.g==="*"||b.origin===a.g;if(!c||!d)break a}else if(b.origin!==a.g&&!c&&a.g!="*")break a;b:if(b.data){c={};try{c=JSON.parse(b.data)}catch(h){b=null;break b}b=typeof c!="object"?null:c}else b=null;var e=b;if(e!=null&&(b=e.type,c=e.sessionId,c==a.l||b=="createSession")&&(!a.B.Qf||b!=="createSession"||a.l==null)&&(d=e.args,e=e.messageId,e!=null)){var f=null;try{if(b=="resolve"||b=="reject"){var g= d.messageId;f=g==null?null:new UM({ye:g,xe:d.value})}else f=YM(b,d)}catch(h){if(h.cause===1210){g=JSON.stringify({type:"TimingEvent",key:"smd_ss_nfo_init"});a.sendMessage("SIMID:Creative:log",new UM({message:g}));g=JSON.stringify({type:"OneShotParameter",key:"smd_ss_nfo_init_r",value:h.message});a.sendMessage("SIMID:Creative:log",new UM({message:g}));break a}throw h;}if(f)switch(b==="SIMID:Player:init"&&(g=JSON.stringify({type:"TimingEvent",key:"smd_ss_so_init"}),a.sendMessage("SIMID:Creative:log", new UM({message:g}))),g=new ZM(b,e,c,f),g.type){case "resolve":case "reject":if(b=g.args.ye)c=g.args.xe||{},a.j.has(b)&&(d=a.j.get(b),g.type=="resolve"?d.resolve(c):g.type=="reject"&&d.reject(c),a.j.delete(b));break;case "createSession":a.l=g.g;bN(a,g.messageId);a.o.resolve();break;default:cN(a,g)}else dN(a,e,{errorCode:1211,message:"Invalid message arguments."})}}})}; aN.prototype.sendMessage=function(a,b){b=b===void 0?new UM:b;var c=this.K++,d={};d.type=a;d.sessionId=this.l;d.messageId=c;d.timestamp=Date.now();if(a=="resolve"||a=="reject"){var e={};b=(e.messageId=b.ye,e.value=b.xe,e)}else{e={};switch(a){case "SIMID:Player:init":var f={};f=(f.adParameters=b.ka,f.clickThruUri=b.jh,f.clickThruUrl=b.kh,f);var g={},h={},k={};b=(k.videoDimensions=(g.height=b.videoHeight,g.width=b.videoWidth,g.x=0,g.y=0,g),k.creativeDimensions=(h.height=b.videoHeight,h.width=b.videoWidth, h.x=0,h.y=0,h),k.fullscreen=b.fullscreen,k.fullscreenAllowed=!0,k.variableDurationAllowed=b.Hi,k.skippableState="adHandles",k.navigationSupport=b.ei,k.version="1.0",k.muted=b.muted,k.volume=b.volume,k);e.environmentData=b;e.creativeData=f;break;case "SIMID:Media:timeupdate":e.currentTime=b.currentTime;break;case "SIMID:Media:volumechange":e.volume=b.volume;e.muted=b.muted;break;case "SIMID:Media:durationchange":e.duration=b.duration;break;case "SIMID:Player:adStopped":e.code=b.code;break;case "SIMID:Player:resize":f= {};f=(f.height=b.creativeHeight,f.width=b.creativeWidth,f.x=b.creativeX,f.y=b.creativeY,f);g={};g=(g.height=b.videoHeight,g.width=b.videoWidth,g.x=b.videoX,g.y=b.videoY,g);e.creativeDimensions=f;e.videoDimensions=g;e.fullscreen=b.fullscreen;break;case "SIMID:Player:fatalError":e.errorCode=b.errorCode;break;case "SIMID:Player:log":e.message=b.message}b=e}d.args=b;this.F.postMessage(JSON.stringify(d),"*");return this.G.includes(a)?(a=new Yy,this.j.set(c,a),a.promise):Promise.resolve({})}; var cN=function(a,b){O(a,new $M(b,function(c){c=c===void 0?{}:c;bN(a,b.messageId,c)},function(c){c=c===void 0?{}:c;dN(a,b.messageId,c)}))},bN=function(a,b,c){c=c===void 0?{}:c;a.sendMessage("resolve",new UM({ye:b,xe:c}))},dN=function(a,b,c){a.sendMessage("reject",new UM({ye:b,xe:c}))};function fN(a){return(a=a.ab.find(function(b){return G(b.fa)=="SIMID"&&b.mimeType=="text/html"&&!!b.url&&!E(b.url)}))?a.url:null}function gN(a){return(a=a.ab.find(function(b){return G(b.fa)=="SIMID"&&b.mimeType=="text/html"&&!!b.g&&!E(b.g)}))?a.g:null};var hN="SIMID:Player:adSkipped SIMID:Player:adStopped SIMID:Player:appBackgrounded SIMID:Player:fatalError SIMID:Player:init SIMID:Player:startCreative".split(" "),iN=function(a,b,c){c=c===void 0?!1:c;M.call(this);var d=null;if(a){if(c)try{var e=(new URL(a,window.location.href)).origin}catch(f){e=null}else e=(a=new P(a),a.o+"://"+a.j);d=e}this.g=new aN(new XM,d,hN,b);this.j=null;this.l=0;this.o=!1};w(iN,M); var jN=function(a){eN(a.g);Object.values(SM).forEach(function(b){a.g.listen(b,function(c){a.o&&KB("lima_pmh_m_"+b);b==="SIMID:Creative:log"&&c.args.message==="cr"?a.l=0:O(a,c)})})},kN=function(a,b){a=a.g;var c=b.source;b=b.target;a.D=c;a.F=b};iN.prototype.log=function(a){return this.g.sendMessage("SIMID:Player:log",new UM({message:a}))}; var lN=function(a){a.o=!1;var b=[];Object.values(SM).forEach(function(c){b.push("lima_pmh_m_"+c)});LB(b)},mN=function(a){a.j&&(a.l===2?(a.j.resolve(),a.j=null):(a.log("pp"),a.l++,setTimeout(function(){return mN(a)},2E3)))};var nN=function(a){JB(U(),"lima_csiu");var b="border:0; opacity:1; margin:0; overflow:hidden;padding:0; width:"+((fo()?"99":"100")+"%; height:100%; position: absolute;display:none"),c=fe();b=nf("IFRAME",{id:c,name:c,allow:"autoplay",allowFullscreen:!0,allowtransparency:!0,background:"transparent",style:b});a=pd(a);b.removeAttribute("srcdoc");if(a instanceof fd)throw new Vd("TrustedResourceUrl",2);Ud(b,"allow-same-origin allow-scripts allow-forms allow-popups allow-popups-to-escape-sandbox allow-storage-access-by-user-activation".split(" ")); a=td(a);a!==void 0&&(b.src=a);return b},oN=function(a){JB(U(),"lima_csih");var b="border:0; opacity:1; margin:0; overflow:hidden;padding:0; width:"+((fo()?"99":"100")+"%; height:100%; position: absolute;display:none"),c=fe();b=nf("IFRAME",{id:c,name:c,allow:"autoplay",allowFullscreen:!0,allowtransparency:!0,background:"transparent",style:b});b.removeAttribute("src");if(a instanceof Id)throw new Vd("SafeHtml",1);Ud(b,["allow-scripts","allow-forms","allow-popups","allow-popups-to-escape-sandbox","allow-storage-access-by-user-activation"]); a=Kd(a);b.srcdoc=Jd(a);return b};var pN={TRUEVIEW:"trueview",SKIPPABLE:"trueview",BUMPER:"bumper",NONSKIPPABLE:"nonskippable",UAC_ANDROID_ON_3P_INSTREAM:"uac-android-on-3p-instream",UAC_IOS_ON_3P_INSTREAM:"uac-ios-on-3p-instream",RDA_ON_3P_INSTREAM:"rda-on-3p-instream",LC_ON_3P_INSTREAM:"lc-on-3p-instream",OUTSTREAM:"outstream",AUDIO:""};function qN(a){if(!a)return!1;if(a=rN(a)){if(a.g=="TRUEVIEW"||a.g=="SKIPPABLE")return!0;if(a.g)return!1;JB(U(),"ytu_nf");return a.Ac()}return!1} function sN(a){return a?(a=rN(a))&&a.g=="BUMPER"?!0:!1:!1}function tN(a){return a?(a=rN(a))&&a.g=="NONSKIPPABLE"?!0:!1:!1}function uN(a){return a?(a=rN(a))?a.j.id:null:null}function vN(a){return(a=rN(a))?a.j:null}function wN(a){return(a=rN(a))?a.l:null}function xN(a){return(a=(a=rN(a))?a.g:null)?pN[a]||null:null}function rN(a){return a.ga.get(oE)};var yN=function(a){this.duration=a};var zN=function(a,b,c){this.df=a;this.j=b;this.g=c};var AN=function(a,b,c){this.g=a;this.j=b;this.l=c};var BN=function(a){this.g=a};var CN=function(a){this.Ma=a};var DN=function(a){var b=a.me===void 0?null:a.me;var c=a.ne===void 0?null:a.ne;var d=a.oe===void 0?null:a.oe;var e=a.Ha===void 0?null:a.Ha;var f=a.imageWidth===void 0?0:a.imageWidth;a=a.imageHeight===void 0?0:a.imageHeight;this.me=b;this.ne=c;this.oe=d;this.Ha=e;this.imageWidth=f;this.imageHeight=a};var EN=function(a){this.g=a};var FN=function(){}; FN.prototype.g=function(a){if(!yH(a,"activeview"))return null;var b=[],c=vH(a,"trackingConfiguration");c=q(c);for(var d=c.next();!d.done;d=c.next()){d=vH(d.value,"trackingEventConfiguration");d=q(d);for(var e=d.next();!e.done;e=d.next()){var f=e.value;e=f.getAttribute("event");var g=f.getAttribute("id");if(g==null||e==null)e=null;else{e=e.toLowerCase();g=g.toLowerCase();var h=[];f=vH(f,"trackingEventCriteria");f=q(f);for(var k=f.next();!k.done;k=f.next())k=k.value.getAttribute("value"),k!=null&&h.push(k.toLowerCase()); e=h.length?new wb(g,e,h):null}e&&b.push(e)}}c=CH(a);e=wH(a,"activeViewMetadata");d="";e&&(d=V(e)||"");a=wH(a,"activeViewFlags");e="";a&&(e=V(a)||"");return new mF(c,b,d,e)};var GN=function(){};GN.prototype.g=function(a){if(!yH(a,"wrapper_info"))return null;var b=0;(a=wH(a,"Duration"))&&(b=zH(V(a)));return b!=null&&b>0?new yN(b):null};var HN=function(){}; HN.prototype.g=function(a){if(!yH(a,"adsense"))return null;for(var b=null,c=null,d=null,e,f=[],g,h=null,k=null,m=null,n=q(uf(a)),p=n.next();!p.done;p=n.next())switch(p=p.value,p.nodeName.toLowerCase()){case "attributiontext":b=V(p);break;case "attributionurl":c=V(p);break;case "conversionurl":d=V(p);break;case "is_pharma":e=uH(p.getAttribute("bool"));break;case "checkedevents":f=IN(p);break;case "showyoutubeannotations":g=uH(V(p));break;case "ui":h=null;p=wH(p,"config");if(p!=null){var r=wH(p,"context"); if(r!=null&&r.getAttribute("data").toLowerCase()=="default"&&(h=new oF,r=wH(p,"params"))){p=h;r=q(uf(r));for(var t=r.next();!t.done;t=r.next())switch(t=t.value,t.nodeName.toLowerCase()){case "audio_muted_on_start":p.vd=uH(t.getAttribute("bool"))||!1;break;case "attribution_text":p.qa=t.getAttribute("data");break;case "attribution_url":p.tb=t.getAttribute("data");break;case "signals":p.rc=tH(t,"int")||0}}}break;case "visibleurl":k=V(p);break;case "whythisad":a:{m=q(uf(p));for(p=m.next();!p.done;p= m.next())if(p=p.value,p.nodeName.toLowerCase()=="wtaclickthroughurl"){m=V(p);break a}m=null}m&&T(U(),"wta","1")}return new pF(CH(a),{qa:b,tb:c,be:d,Th:e,re:f,Be:g,uiConfig:h,Mc:k,Wb:m})};var IN=function(a){var b=[];Array.from(uf(a)).forEach(function(c){(c=c.getAttribute("id"))&&b.push(c.toLowerCase())});return b};var JN=function(){};JN.prototype.g=function(a){if(!yH(a,"AdVerifications"))return null;var b=[];a=vH(a,"AdVerifications");a=q(a);for(var c=a.next();!c.done;c=a.next())b.push.apply(b,u(AH(c.value)));return new BG(b)};var KN=function(){};KN.prototype.g=function(a){if(!yH(a,"adx"))return null;var b;if(a=wH(a,"skippability")){var c=V(a);if(c=="skippable"){var d=!0;(a=a.getAttribute("offset"))&&!E(a)&&(b=zH(a))}else c=="nonskippable"&&(d=!1)}return d!=null?new TH(d,b):null};var LN=function(){};LN.prototype.g=function(a){if(!yH(a,"companion_about_this_ad"))return null;a=vH(a,"Icon");if(a.length<1)return null;a=FH(a[0]);return new qF(a)};var MN=function(){};MN.prototype.g=function(a){a=CH(a);return a.length>0?new lF(a):null};var NN=function(){};NN.prototype.g=function(a){if(!yH(a,"dart"))return null;a=CH(a);var b=a.find(function(c){return c.eventType=="skip"})?"Generic":"Unavailable";return new UH(a,b)};var ON=function(){};ON.prototype.g=function(a){if(!yH(a,"dfp"))return null;var b="Unavailable",c=wH(a,"skippableadtype");c&&V(c)=="Generic"&&(b="Generic");return new UH(CH(a),b)};var PN=function(){};PN.prototype.g=function(a){if(!yH(a,"watermark"))return null;var b=wH(a,"WatermarkData");if(!b)return null;a=tH(b,"max_width");var c=tH(b,"max_height");b=b?V(b):null;return!b||b===""||a==null||isNaN(a)||c==null||isNaN(c)?null:new zN(b,a,c)};var QN=function(){};QN.prototype.g=function(a){if(!yH(a,"eoid_cookie"))return null;a=q(uf(a));for(var b=a.next();!b.done;b=a.next()){var c=b.value;if(c.nodeName=="Cookie"){b=c.getAttribute("domain");var d=tH(c,"expires"),e=c.getAttribute("path"),f=void 0;c=(f=c.getAttribute("value"))!=null?f:"";if(b&&d!=null&&e)return new SF(c,d,e,b)}}return null};var RN=function(){};RN.prototype.g=function(a){if(!yH(a,"esp"))return null;var b=[];a=q(uf(a));for(var c=a.next();!c.done;c=a.next()){var d=c.value;d.nodeName=="EspLibrary"&&(c=wH(d,"LibraryName"))&&(c=V(c))&&(d=(d=wH(d,"LibraryUrl"))?V(d):null,b.push({Gl:c,Hp:d}))}return new TF(b)};var SN=function(a){this.M=H(a)};w(SN,K);SN.prototype.getWidth=function(){return Ok(this,9)};SN.prototype.getHeight=function(){return Ok(this,10)};var TN=Em(SN);SN.ua=[3,7,27,11,32];var UN=function(){};UN.prototype.g=function(a){if(!yH(a,"privacy_sandbox"))return null;a=wH(a,"TurtledoveConfig");if(!a)return null;a=V(a);if(!a)return null;a=TN(be(a).replaceAll("\\\\","\\"));return new UF(a)};var VN=function(){};VN.prototype.g=function(a){var b=yH(a,"gfp_cookie"),c=yH(a,"gfp_cookie_v2");if(!b&&!c)return null;a=q(uf(a));for(b=a.next();!b.done;b=a.next()){var d=b.value;if(d.nodeName=="Cookie"){b=d.getAttribute("domain");var e=tH(d,"expires"),f=d.getAttribute("path"),g=void 0;d=(g=d.getAttribute("value"))!=null?g:"";if(b&&e!=null&&f)return new WF(d,e,f,b,c)}}return null};var WN=function(){}; WN.prototype.g=function(a){if(!yH(a,"GoogleHostedMedia"))return null;T(U(),"hghme","1");var b=[],c=[],d=[],e=[],f,g=wH(a,"clientplaybacknonce");g&&(f=V(g));a=q(uf(a));for(g=a.next();!g.done;g=a.next()){var h=g.value;g=null;switch(h.nodeName.toLowerCase()){case "audiourls":g="audio";break;case "manifestsurls":g="manifest";break;case "muxedmediaurls":g="muxed";break;case "videourls":g="video"}if(g){h=q(uf(h));for(var k=h.next();!k.done;k=h.next()){k=k.value;var m=V(k),n=k.getAttribute("delivery"),p= tH(k,"itag"),r=void 0,t=(r=k.getAttribute("mimeType"))==null?void 0:r.toLowerCase();r=uH(k.getAttribute("mseCompatible"));var v=tH(k,"contentLength"),A=null,B=null,D=null,F=null,N=null,ia=null;if(g=="video"||g=="muxed")A=k.getAttribute("videoCodec"),B=tH(k,"videoBitrate"),N=tH(k,"width"),ia=tH(k,"height");if(g=="audio"||g=="muxed")D=k.getAttribute("audioCodec"),F=tH(k,"audioBitrate");if(m!=null&&g!=null)switch(k=new XF(m,g,{vb:n,Ja:p,mimeType:t,Ca:A,Oa:D,Ii:B,fh:F,za:r,width:N,height:ia,Sc:v}),g){case "audio":b.push(k); break;case "manifest":c.push(k);break;case "muxed":d.push(k);break;case "video":e.push(k)}}}}return new YF(f?f:"None",b,c,d,e)};var XN=function(){};XN.prototype.g=function(a){if(!yH(a,"gpid_wta"))return null;a=q(uf(a));for(var b=a.next();!b.done;b=a.next())if(b=b.value,b.nodeName=="AttributionData"&&(b=V(b)))return new xG(b);return null};var YN=Object.keys(LF),ZN={TYPE_ACTION_ENDCAP:0,TYPE_COLLAPSE_ENDCAP:1,TYPE_DISMISS_ENDCAP:2,TYPE_IMPRESSION_ENDCAP:3},$N=new Map([[0,"video_card_endcap_action"],[1,"video_card_endcap_collapse"],[2,"video_card_endcap_dismiss"],[3,"video_card_endcap_impression"]]),aO=function(){}; aO.prototype.g=function(a){if(!yH(a,"InfoCards"))return null;var b=[];a=vH(a,"card");a=q(a);for(var c=a.next(),d={};!c.done;d={Fg:void 0},c=a.next()){var e=c.value;c=e.getAttribute("type");if(YN.includes(c)){var f=tH(e,"priority"),g=bO(e),h=vH(e,"action").map(function(v){return new KF({target:v.getAttribute("target"),title:v.getAttribute("title"),type:JF[v.getAttribute("type")],Dg:v.getAttribute("package_id"),Uf:v.getAttribute("fallback_url")})});d.Fg=wH(e,"placement");var k=null;d.Fg&&(k=function(v){return function(A){return uH(v.Fg.getAttribute(A))|| !1}}(d),k=new MF({Ng:k("show_in_cta"),Og:k("show_in_endcap"),Re:tH(d.Fg,"endcap_duration_ms")}));d=wH(e,"website_card");e=null;if(d){e=null;var m=wH(d,"image");m&&(m=wH(m,"url"))&&(e=V(m));m=wH(d,"extension_data");var n=null;if(m){n=vH(m,"sitelink_extensions");m=[];n=q(n);for(var p=n.next();!p.done;p=n.next()){p=p.value;var r=wH(p,"link_action"),t=null;r&&((t=r.getAttribute("target"))||(t=r.getAttribute("link_url")),t=new KF({target:t,title:r.getAttribute("title"),type:1,Dg:null,Uf:null}));m.push(new NF({Xh:t, wh:p.getAttribute("description_line_1"),xh:p.getAttribute("description_line_2")}))}n=new OF({Ci:m})}e=new PF({description:d.getAttribute("description"),Rb:d.getAttribute("headline"),Ha:e,Eh:n})}b.push(new QF({type:LF[c],priority:isNaN(f)||f==void 0?-1:f,W:g,actions:h,ld:k,Nc:e}))}}return new RF({wd:b})}; var bO=function(a){var b=[];a=vH(a,"event");a=q(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=c.getAttribute("type");d=$N.get(ZN[d]);c=c.getAttribute("base_url");d&&c&&b.push(new SA(d,c))}return b};var cO=function(){};cO.prototype.g=function(a){if(!yH(a,"inred_info"))return null;a=q(uf(a));for(var b=a.next();!b.done;b=a.next())switch(b=b.value,b.nodeName){case "WrapperAdId":var c=V(b);break;case "WrapperAdSystem":var d=V(b);break;case "WrapperCreativeId":var e=V(b)}return c&&d&&e?new AN(c,d,e):null};var dO=function(){};dO.prototype.g=function(a){if(!yH(a,"metrics"))return null;a=q(uf(a));for(var b=a.next();!b.done;b=a.next())switch(b=b.value,b.nodeName){case "AdEventId":var c=Bf(b);break;case "FeEventId":var d=Bf(b)}return new zG(c,d)};var eO=function(){};eO.prototype.g=function(a){if(!yH(a,"non_linear_about_this_ad"))return null;a=vH(a,"Icon");if(a.length<1)return null;a=FH(a[0]);return new BN(a)};var fO=function(){};fO.prototype.g=function(a){if(!yH(a,"pod"))return null;a=tH(a,"sequence");a==null&&(a=-1);return new CN(a)};var gO=function(){};gO.prototype.g=function(a){return yH(a,"programmatic")?(a=wH(a,"DealId"))&&(a=V(a))&&!E(a)?new CG(a):null:null};var hO=function(){};hO.prototype.g=function(a){if(!yH(a,"sodar"))return null;a=q(uf(a));for(var b=a.next();!b.done;b=a.next())switch(b=b.value,b.nodeName){case "Siub":var c=V(b);break;case "Scs":var d=V(b);break;case "Bgub":var e=V(b);break;case "Bgp":var f=V(b)}return c&&d&&e&&f?new DG(c,d,e,f):null};var iO=function(){};iO.prototype.g=function(a){if(!yH(a,"textad"))return null;var b={};a=q(uf(a));for(var c=a.next();!c.done;c=a.next())switch(c=c.value,c.nodeName.toLowerCase()){case "line1":b.me=V(c);break;case "line2":b.ne=V(c);break;case "line3":b.oe=V(c);break;case "imageurl":b.Ha=V(c),b.imageWidth=tH(c,"width"),b.imageHeight=tH(c,"height")}return new DN(b)};var jO=function(){};jO.prototype.g=function(a){if(!yH(a,"uisettings"))return null;var b;(a=wH(a,"uihideable"))&&(b=uH(V(a)));return new EG(b)};var kO=function(){};kO.prototype.g=function(a){if(!yH(a,"waterfall"))return null;a=tH(a,"fallback_index");a==null&&(a=-1);return new EN(a)};var lO=function(){}; lO.prototype.g=function(a){if(!yH(a,"youtubehostedad"))return null;var b=null,c=!1,d=null,e=null,f=!1,g=null,h=null,k=null,m=null,n=null,p=null,r=null,t=wH(a,"youtubevideoid");t&&(b=V(t));if(t=wH(a,"istrueview"))t=uH(V(t)),t!=void 0&&(c=t);(t=wH(a,"videotitle"))&&(d=V(t));(t=wH(a,"videothumbnailurl"))&&(e=V(t));if(t=wH(a,"isvideounlisted"))t=uH(V(t)),t!=void 0&&(f=t);(t=wH(a,"channelid"))&&(g=V(t));(t=wH(a,"channeltitle"))&&(h=V(t));(t=wH(a,"channelthumbnailurl"))&&(k=V(t));(t=wH(a,"channelcustomurl"))&& (m=V(t));(t=wH(a,"format"))&&(n=V(t));(t=wH(a,"youtubeownershipfingerprint"))&&(p=V(t));(a=wH(a,"youtubevisitordata"))&&(r=V(a));return new FG({Lc:b,Ac:c,Fe:d,tf:e,Kd:f,Qc:g,Zd:h,Yd:k,If:m,format:n,Cg:p,Ug:r})};var mO=function(a){var b=a===void 0?{}:a;a=b.id===void 0?null:b.id;var c=b.Va===void 0?!1:b.Va;var d=b.Ih===void 0?!0:b.Ih;var e=b.Af===void 0?null:b.Af;b=b.Td===void 0?null:b.Td;this.id=a;this.Va=c;this.Ih=d;this.Af=e;this.Td=b};var nO=function(a,b){this.eventType=a;this.url=b};var oO=function(a,b,c){var d=c===void 0?{}:c;c=d.breakId===void 0?null:d.breakId;var e=d.breakType===void 0?null:d.breakType;var f=d.W===void 0?[]:d.W;d=d.ga===void 0?[]:d.ga;this.j=a;this.g=b;this.breakId=c;this.breakType=e;this.W=f;this.ga=d};var pO=function(a){this.g=a=a===void 0?[]:a};var qO=function(){};var rO=function(){};var sO=function(){this.g=[]},tO=function(a){var b=new rO;a.g.includes(b)||a.g.push(b)},vO=function(a,b){if(!b)throw Error("VMAP string is empty.");if(!uO(b))throw Error("Response string is not a valid VMAP document.");var c=[];b=q(uf(b));for(var d=b.next();!d.done;d=b.next()){var e=d.value;if(e.nodeName=="vmap:AdBreak"){var f=void 0,g=void 0;d=a;var h=e.getAttribute("breakId"),k=e.getAttribute("breakType"),m=e.getAttribute("timeOffset"),n=0,p=[];if(m=="start")n=0;else if(m=="end")n=-1;else if(m!= void 0){var r=zH(m);r!=void 0&&(n=r/1E3)}e=q(uf(e));for(r=e.next();!r.done;r=e.next()){var t=r.value;switch(t.nodeName){case "vmap:AdSource":var v=g=r=void 0,A=t;t=A.getAttribute("id");var B=A.getAttribute("followRedirects")!="false",D=A.getAttribute("allowMultipleAds")=="true";A=q(uf(A));for(var F=A.next();!F.done;F=A.next())switch(F=F.value,F.nodeName){case "vmap:AdTagURI":v=(v=V(F))?v:void 0;break;case "vmap:VASTAdData":F=q(uf(F));for(var N=F.next();!N.done;N=F.next())N=N.value,N.nodeName=="VAST"&& (g=N)}if(!v&&!g)throw Error("VMAP ad source contains neither ad tag nor inline VAST data.");if(v&&g)throw Error("VMAP ad source contains both ad tag and inline VAST data");g=new mO({id:t,Va:D,Ih:B,Af:v,Td:(r=g)!=null?r:null});break;case "vmap:Extensions":f=d;r=[];v=q(uf(t));for(t=v.next();!t.done;t=v.next())if(t=t.value,t.nodeName=="vmap:Extension")for(B=q(f.g),D=B.next();!D.done;D=B.next())D=t.getAttribute("type")!="bumper"?null:new qO,D!=null&&r.push(D);f=r;break;case "vmap:TrackingEvents":for(p= [],r=q(uf(t)),v=r.next();!v.done;v=r.next())t=v.value,t.nodeName=="vmap:Tracking"&&(v=t.getAttribute("event"),t=V(t),t!=null&&p.push(new nO(v,t)))}}if(!g||m==null||isNaN(n))throw Error("VMAP ad source contains neither ad tag nor inline VAST data.");c.push(new oO(g,n,{breakId:h,breakType:k,W:p,ga:f}))}}return new pO(c)},uO=function(a){if(!a||!a.nodeName=="vmap:VMAP")return!1;a=a.getAttribute("version");if(!a)return!1;a=parseInt(a,10);return isNaN(a)||a<1||a>1?!1:!0};var wO=function(a,b){this.l=a;this.o=b;this.j=this.g=null};var xO={"application/flash":"Flash","application/shockwave-flash":"Flash","application/x-shockwave-flash":"Flash","application/javascript":"Javascript","text/javascript":"Javascript","image/jpeg":"Image","image/jpg":"Image","image/png":"Image","image/gif":"Image",text:"Text"},yO={Ik:"application/dash+xml",hl:"video/mp4",jl:"video/mpeg",el:"application/x-mpegURL",ll:"video/ogg",ml:"audio/ogg",nl:"video/3gpp",ql:"video/webm",AAC:"audio/aac",MP3:"audio/mpeg",il:"audio/mp4"};var zO=function(a,b,c){var d=Error.call(this);this.message=d.message;"stack"in d&&(this.stack=d.stack);this.type=a;this.errorMessage=b;this.errorCode=c;this.ad=this.g=null};w(zO,Error);var AO=function(a,b){a.ad||(a.ad=b)};l=zO.prototype;l.getAd=function(){return this.ad};l.getInnerError=function(){return this.g};l.getMessage=function(){return this.errorMessage};l.getErrorCode=function(){return this.errorCode};l.getVastErrorCode=function(){return this.errorCode<1E3?this.errorCode:900};l.getType=function(){return this.type}; l.toString=function(){return"AdError "+this.getErrorCode()+": "+this.getMessage()+(this.getInnerError()!=null?" Caused by: "+this.getInnerError():"")};var BO=function(a){var b={},c=b=(b.type=a.getType(),b.errorCode=a.getErrorCode(),b.errorMessage=a.getMessage(),b);a=a.getInnerError();for(var d=0;d<3;++d)if(a instanceof zO){var e={};e=(e.type=a.getType(),e.errorCode=a.getErrorCode(),e.errorMessage=a.getMessage(),e);c=c.innerError=e;a=a.getInnerError()}else{a!=null&&(c.innerError=String(a));break}return b};var CO=function(){this.g=this.l=this.o=this.A=null;this.j=[]},DO=function(a,b){a.l=b;a.g=null};var EO=function(){};var FO=function(a,b){this.message=a;this.errorCode=b};FO.prototype.getErrorCode=function(){return this.errorCode};FO.prototype.getMessage=function(){return this.message}; var GO=new FO("Unable to request ads from server. Cause: {0}.",1005),HO=new FO("Cannot parse the {0} value for the adslist response: {1}.",900),IO=new FO("Invalid usage of the API. Cause: {0}",900),JO=new FO("The browser prevented playback initiated without user interaction.",1205),KO=new FO("Unable to display one or more required companions.",602),LO=new FO("There was a problem requesting ads from the server.",1005),MO=new FO("Ad tag URI {0} is invalid. It must be properly encoded before being passed.", 1013),NO=new FO("The provided ad type: {0} is not supported.",200),OO=new FO("The provided {0} information: {1} is invalid.",1101),PO=new FO("The response does not contain any valid ads.",1009),QO=new FO("The overlay ad content could not be displayed since creative dimensions do not align with display area.",501),RO=new FO("A Protected Audience API error occurred.",1014),SO=new FO("The ad response was not understood and cannot be parsed.",1010),TO=new FO("An unexpected error occurred and the cause is not known. Refer to the inner error for more info.", 900),UO=new FO("No assets were found in the VAST ad response.",200),VO=new FO("Linear assets were found in the VAST ad response, but none of them matched the video player's capabilities.",403),WO=new FO("Ad request reached a timeout.",301),XO=new FO("VAST response was malformed and could not be parsed.",100),YO=new FO("VAST media file loading reached a timeout of {0} seconds.",402),ZO=new FO("Non linear assets were found in the VAST ad response, but none of them matched the video player's capabilities.", 503),$O=new FO("The maximum number of VAST wrappers ({0}) has been reached.",302),aP=new FO("VAST media file duration differs from the VAST response duration by {0} seconds.",202),bP=new FO("No additional VAST wrappers allowed.",300),cP=new FO("No Ads VAST response after one or more Wrappers",303),dP=new FO("There was an error playing the video ad.",400),eP=new FO("An unexpected error occurred within the VPAID creative. Refer to the inner error for more info.",901);var fP=ka(["https://imasdk.googleapis.com/js/sdkloader/car.js"]);Ue(fP);function gP(a,b){return a.dd!==b.dd?a.dd-b.dd:a.gd!==b.gd?a.gd-b.gd:a.kd!==b.kd?a.kd-b.kd:0}function hP(a){a=a.split(".");if(a.length!==3)return null;var b=q(a),c=b.next().value;a=b.next().value;b=b.next().value;if(!c||!a||!b)return null;c=Number(c);a=Number(a);b=Number(b);return Number.isNaN(c)||Number.isNaN(a)||Number.isNaN(b)?null:{dd:c,gd:a,kd:b}};var iP=function(a){this.l=this.g=this.j=this.o=this.platformVersion=this.platform=null;a=G(a).split(":");if(a!=null&&a.length>=3){if(uc(a[0],"ios"))this.platform="ios",this.platformVersion=a[0].substr(3);else if(uc(a[0],"android"))this.platform="android",this.platformVersion=a[0].substr(7);else if(uc(a[0],"tvos"))this.platform="tvos",this.platformVersion=a[0].substr(4);else{var b=a[0].match(/^([A-Za-z]+)(.+)$/);b!=null&&b.length===3&&(this.platform=b[1],this.platformVersion=b[2])}this.o=a[1];this.j= hP(a[1]);this.g=a[2];if(this.platform==="ios"||this.platform==="tvos")this.l=a.length>3?a[3]:""}};function jP(a){return a?mD(a)?"adsense":pD(a)?"dbm":nD(a)?"dcm":qD(a)?"dv3":oD(a)?"xfp":"thirdparty":""}function kP(a){if(!a)return null;a=(new P(a)).g;return a.get("ms")!=null?G(a.get("ms")):null};var lP=function(a){var b={};b=(b.IABUSPrivacy_String="uspString",b.IABTCF_gdprApplies="gdprApplies",b.IABTCF_TCString="tcString",b.IABTCF_AddtlConsent="addtlConsent",b.IABGPP_HDR_GppString="gppString",b.IABGPP_GppSID="gppSid",b);for(var c in b)a[c]!=null&&(a[b[c]]=a[c],delete a[c]);c=a.uspString;this.uspString=typeof c==="string"?c:"";c=a.gdprApplies;this.j=typeof c==="boolean"?c?"1":"0":typeof c!=="number"||c!==1&&c!==0?typeof c!=="string"||c!=="1"&&c!=="0"?"":c==="1"?"1":"0":c===1?"1":"0";c=a.tcString; this.g=typeof c==="string"?c:"";/^[\.\w_-]*$/.test(this.g)||(this.g=encodeURIComponent(this.g));c=a.addtlConsent;this.l=typeof c==="string"?c:"";c=a.gppString;this.gppString=typeof c==="string"?c:"";a=a.gppSid;this.o=typeof a==="string"?a:""};var mP=function(a){this.g=a},nP=function(a,b){return Qb(a.g,b)&&(a=a.g[b],typeof a==="boolean")?a:!1},oP=function(a){if(Qb(a.g,"forceExperimentIds")){a=a.g.forceExperimentIds;var b=[],c=0;Array.isArray(a)&&a.forEach(function(d){typeof d==="number"&&(b[c++]=d)});return b}return null};var pP=function(a){this.M=H(a)};w(pP,K);var qP=function(){this.T="always";this.ba=4;this.aa=null;this.g=1;this.O=0;this.j=!0;this.locale="en";this.J=!0;this.G=this.C=this.l=!1;this.la=this.ha="";this.B=null;this.F=this.D=this.o="";this.Y=this.xa=!1;this.da=!0;this.N=ZC();this.A={};this.L="";this.V=0;try{this.K=Hg()[0]}catch(a){}},rP=function(a){a=G(a);E(a)||(a=a.substring(0,20));return a};l=qP.prototype;l.setCompanionBackfill=function(a){this.T=a};l.getCompanionBackfill=function(){return this.T};l.setNumRedirects=function(a){this.ba=a}; l.getNumRedirects=function(){return this.ba};l.setPpid=function(a){this.aa=a};l.getPpid=function(){return this.aa};l.setVpaidAllowed=function(a){typeof a==="boolean"&&(this.g=a?1:0)};l.setVpaidMode=function(a){this.g=a};l.Vl=function(){return this.g};l.setAutoPlayAdBreaks=function(a){this.j=a};l.ym=function(){return this.j};l.Wj=function(a){this.l=a};l.Ul=function(){return this.l};l.setLocale=function(a){if(a=PC(a))this.locale=a};l.getLocale=function(){return this.locale}; l.setPlayerType=function(a){this.ha=rP(a)};l.getPlayerType=function(){return this.ha};l.setPlayerVersion=function(a){this.la=rP(a)};l.getPlayerVersion=function(){return this.la};var tP=function(){var a=sP;if(a.B==null){var b={},c=(new P(lf().location.href)).g;if(Xy(c,"tcnfp"))try{b=JSON.parse(c.get("tcnfp"))}catch(d){}a.B=new mP(b)}return a.B};l=qP.prototype;l.cn=function(){};l.Ai=function(){};l.setDisableCustomPlaybackForIOS10Plus=function(a){this.Y=a};l.getDisableCustomPlaybackForIOS10Plus=function(){return this.Y}; l.isCookiesEnabled=function(){return this.da};l.setCookiesEnabled=function(a){a!=null&&(this.da=a)};l.setSessionId=function(a){this.N=a};l.bn=function(){};l.Tl=function(){return!0};l.setFeatureFlags=function(a){this.A=a};l.getFeatureFlags=function(){return this.A};var uP=function(a){var b=sP;return b.A.hasOwnProperty(a)&&!!b.A[a]};qP.prototype.getFeatureFlags=qP.prototype.getFeatureFlags;qP.prototype.setFeatureFlags=qP.prototype.setFeatureFlags;qP.prototype.getDisableFlashAds=qP.prototype.Tl; qP.prototype.setDisableFlashAds=qP.prototype.bn;qP.prototype.setSessionId=qP.prototype.setSessionId;qP.prototype.setCookiesEnabled=qP.prototype.setCookiesEnabled;qP.prototype.isCookiesEnabled=qP.prototype.isCookiesEnabled;qP.prototype.getDisableCustomPlaybackForIOS10Plus=qP.prototype.getDisableCustomPlaybackForIOS10Plus;qP.prototype.setDisableCustomPlaybackForIOS10Plus=qP.prototype.setDisableCustomPlaybackForIOS10Plus;qP.prototype.setStreamCorrelator=qP.prototype.Ai; qP.prototype.setPageCorrelator=qP.prototype.cn;qP.prototype.getPlayerVersion=qP.prototype.getPlayerVersion;qP.prototype.setPlayerVersion=qP.prototype.setPlayerVersion;qP.prototype.getPlayerType=qP.prototype.getPlayerType;qP.prototype.setPlayerType=qP.prototype.setPlayerType;qP.prototype.getLocale=qP.prototype.getLocale;qP.prototype.setLocale=qP.prototype.setLocale;qP.prototype.getIsVpaidAdapter=qP.prototype.Ul;qP.prototype.setIsVpaidAdapter=qP.prototype.Wj;qP.prototype.isAutoPlayAdBreaks=qP.prototype.ym; qP.prototype.setAutoPlayAdBreaks=qP.prototype.setAutoPlayAdBreaks;qP.prototype.getVpaidMode=qP.prototype.Vl;qP.prototype.setVpaidMode=qP.prototype.setVpaidMode;qP.prototype.setVpaidAllowed=qP.prototype.setVpaidAllowed;qP.prototype.getPpid=qP.prototype.getPpid;qP.prototype.setPpid=qP.prototype.setPpid;qP.prototype.getNumRedirects=qP.prototype.getNumRedirects;qP.prototype.setNumRedirects=qP.prototype.setNumRedirects;qP.prototype.getCompanionBackfill=qP.prototype.getCompanionBackfill; qP.prototype.setCompanionBackfill=qP.prototype.setCompanionBackfill;var sP=new qP;var vP=["gdpr_consent","addtl_consent"];function wP(a){var b={};(new P(a)).g.forEach(function(c,d){b[d]=c});return b}function xP(a){return a==="1"||a==="true"}function yP(a){a.forEach(function(b,c,d){b===""&&d.delete(c)})} var zP=function(a,b,c){b=b===void 0?{}:b;c=c===void 0?{}:c;this.j=a===void 0?!1:a;a={};b=q(Object.entries(b));for(var d=b.next();!d.done;d=b.next()){var e=q(d.value);d=e.next().value;e=e.next().value;e!=null&&(a[d]=String(e))}this.l=a;this.g=new lP(c)},AP=function(a,b){return new zP(lD(a),wP(a),b)},GP=function(a){var b=new Map,c=b.set;if(a.j){var d=BP(a,"rdp");d=xP(d)?"1":""}else d="";c.call(b,"rdp",d);b.set("us_privacy",CP(a));c=b.set;d=BP(a,"npa");d=xP(d);c.call(b,"npa",a.j&&d?"1":"");b.set("gdpr", DP(a));b.set("gdpr_consent",EP(a));c=b.set;d=BP(a,"addtl_consent");c.call(b,"addtl_consent",a.g.l||d||"");b.set("gpp",a.g.gppString);b.set("gpp_sid",a.g.o);b.set("ltd",FP(a)?"1":"");yP(b);return b},IP=function(a,b){return lD(b)&&HP(a)},BP=function(a,b){if(a.l.hasOwnProperty(b))return a.l[b]},CP=function(a){var b=BP(a,"us_privacy");return a.g.uspString||b||""},DP=function(a){var b=BP(a,"gdpr");a=a.g.j;return a==="1"||a==="0"?a:b!==void 0?b:""},EP=function(a){var b=a.g.g;a=BP(a,"gdpr_consent");return b&& b!=="tcunavailable"?b:b==="tcunavailable"?a||b:a||""},HP=function(a){var b;if(!(b=FP(a))){if(JP(a)){b=EP(a);if(b==="tcunavailable")b=null;else{var c;a=JP(a);var d=yy(b);if(d&&b){var e=I(d,vx,1);d=I(d,px,2)||new px;var f=Ok(e,9),g=Ok(e,4),h=Ok(e,5),k=Nk(e,10),m=Nk(e,11),n=J(e,16),p=Nk(e,15),r={consents:zy(nk(e,13,Aj),ky),legitimateInterests:zy(nk(e,14,Aj),ky)},t={consents:zy(nk(e,17,Cj)),legitimateInterests:zy(nk(e,18,Cj))},v=zy(nk(e,12,Aj),ly),A=Ik(e,ox,19);e={};A=q(A);for(var B=A.next();!B.done;B= A.next()){B=B.value;var D=Sk(B,1);e[D]=e[D]||{};var F=nk(B,3,Cj);F=q(F);for(var N=F.next();!N.done;N=F.next())e[D][N.value]=Sk(B,2)}b={tcString:b,tcfPolicyVersion:f,gdprApplies:a,cmpId:g,cmpVersion:h,isServiceSpecific:k,useNonStandardStacks:m,publisherCC:n,purposeOneTreatment:p,purpose:r,vendor:t,specialFeatureOptins:v,publisher:{restrictions:e,consents:zy(nk(d,1,Aj),ky),legitimateInterests:zy(nk(d,2,Aj),ky),customPurposes:{consents:zy(nk(d,3,Cj)),legitimateInterests:zy(nk(d,4,Cj))}}}}else b=null; b=(c=b)!=null?c:null}c=b;if(b=!!c){var ia=ia===void 0?{}:ia;if(Cy(c))if(c.gdprApplies===!1)var ea=!0;else if(c.tcString==="tcunavailable")ea=!ia.xj;else if((ia.xj||c.gdprApplies!==void 0||ia.Bp)&&(ia.xj||typeof c.tcString==="string"&&c.tcString.length)){ea=ea===void 0?"755":ea;c:{if(c.publisher&&c.publisher.restrictions&&(ia=c.publisher.restrictions["1"],ia!==void 0)){ia=ia[ea===void 0?"755":ea];break c}ia=void 0}ia===0?ea=!1:c.purpose&&c.vendor?(ia=c.vendor.consents,(ea=!(!ia||!ia[ea===void 0?"755": ea]))&&c.purposeOneTreatment&&c.publisherCC==="CH"?ea=!0:ea&&(ea=c.purpose.consents,ea=!(!ea||!ea["1"]))):ea=!0}else ea=!0;else ea=!1;b=ea}ea=b}else ea=!0;b=!ea}return b},FP=function(a){a=BP(a,"ltd");return xP(a)},JP=function(a){a=DP(a).toLowerCase();return a==="true"||a==="1"},KP=function(a){var b={"native":!1},c=JP(a);if(b.gdpr=c)c=a.g.j,b.gdprCmp=c==="1"||c==="0",c=BP(a,"gdpr")!==void 0,b.gdprUrl=c;c=!!EP(a);if(b.tcStrValid=c){c=a.g.g;var d=!!c;b.tcCmpPresent=d;b.tcCmpAvail=d&&c!=="tcunavailable"; a=BP(a,"gdpr_consent");c=!!a;b.tcUrlPresent=c;b.tcUrlAvail=c&&a!=="tcunavailable"}return b};var LP=function(a){this.M=H(a)};w(LP,K);LP.prototype.getVersion=function(){return J(this,2)};var MP=function(a){this.M=H(a)};w(MP,K);var NP=function(a,b){return Zk(a,2,b)},OP=function(a,b){return Zk(a,3,b)},PP=function(a,b){return Zk(a,4,b)},QP=function(a,b){return Zk(a,5,b)},RP=function(a,b){return Zk(a,9,b)},SP=function(a,b){return Lk(a,10,b)},TP=function(a,b){return ik(a,11,uj(b))},UP=function(a,b){return Zk(a,1,b)},VP=function(a,b){return ik(a,7,uj(b))};MP.ua=[10,6];var WP="platform platformVersion architecture model uaFullVersion bitness fullVersionList wow64".split(" ");function XP(a){var b;return(b=a.google_tag_data)!=null?b:a.google_tag_data={}}function YP(a){var b,c;return typeof((b=a.navigator)==null?void 0:(c=b.userAgentData)==null?void 0:c.getHighEntropyValues)==="function"} function ZP(){var a=window;if(!YP(a))return null;var b=XP(a);if(b.uach_promise)return b.uach_promise;a=a.navigator.userAgentData.getHighEntropyValues(WP).then(function(c){b.uach!=null||(b.uach=c);return c});return b.uach_promise=a} function $P(a){var b;return TP(SP(QP(NP(UP(PP(VP(RP(OP(new MP,a.architecture||""),a.bitness||""),a.mobile||!1),a.model||""),a.platform||""),a.platformVersion||""),a.uaFullVersion||""),((b=a.fullVersionList)==null?void 0:b.map(function(c){var d=new LP;d=Zk(d,1,c.brand);return Zk(d,2,c.version)}))||[]),a.wow64||!1)}function aQ(){var a,b;return(b=(a=ZP())==null?void 0:a.then(function(c){return $P(c)}))!=null?b:null};var cQ=function(){this.B=1;this.Tc=this.Qb=this.Eb=this.appName=null;this.g=new zP;this.da=null;this.ie=!1;this.secureSignals=this.jg=this.hg=this.ba=this.L=this.Y=null;this.Uc=!1;ZC();this.deviceId="";this.G=this.Nk=this.ge=this.A=null;this.aa="";this.ha=-1;this.la=this.Dj="";this.xa=this.Pj=this.Oj=this.Jj=this.l=this.Gj=!1;this.K=null;this.Ga=!1;this.tk=this.N=this.C=this.Pk=this.Ok=this.Aa=this.pk=this.jk=this.j=this.dk=null;this.Qk=!1;this.yk=this.xk=null;this.zk=!1;this.sb=0;this.Tj=!1;this.mg= null;this.Ji=new Map;this.referrer=this.T=null;this.D=!1;this.bl=this.Mi=null;this.Ua=this.cl=this.Ni=this.F=!1;this.pd=this.Wa=this.dl=null;this.O=this.Oi=this.o=!1;this.Xa=null;this.Lk="";this.J=new uw;this.V=null;bQ(this)},dQ=function(){return Math.floor(Math.random()*4503599627370496)},eQ=function(a){var b=a.N,c=a.appName,d=sP,e="h.3.646.1";b!=null?(e+="/n."+b,c!=null&&(e+="/"+c)):d.l&&(e+="/vpaid_adapter");a.Pj&&(e+="/ima_eap");return e},hQ=function(a,b){a=a===void 0?{}:a;b=b===void 0?!1:b;var c= fQ(),d=a.identifierInfo||null,e=a.isTv||!1,f=a.isAndroidTvAdsFramework||!1,g=a.marketAppInfo||null,h=a.env||null,k=null;h&&(k=new iP(h));h=a.eoidCookieEnabled;var m=a.eoidCookieValue,n=a.gfpCookieValue,p=a.gfpCookieV2Id||null,r=a.gfpCookieV2OptOut||null;var t=a.espSignals||null;var v=a.companionSlots,A=a.network,B=a.settings||{},D=a.videoEnvironment||{},F=a.pvsid||0,N=a.clientBidsProto||null;F>0&&(c.sb=F);B.ppid!=null&&(c.T=B.ppid);D.contentMediaUrl!=null&&(c.da=D.contentMediaUrl);D.customClickTrackingProvided!= null&&(c.Uc=D.customClickTrackingProvided);c.ie=h||!1;c.Y=m||null;n!=null&&n?c.L=n:c.L=null;c.ba=p;c.hg=r;c.secureSignals=t;c.V=N;D.iframeState!=null&&(c.ha=D.iframeState);D.isAmp!=null&&(c.Gj=D.isAmp);D.topAccessiblePageUrl!=null&&(c.j=D.topAccessiblePageUrl);D.referrer!=null&&(c.referrer=D.referrer);D.topOrigin!=null&&(c.dl=D.topOrigin);D.domLoadTime!=null&&(c.ge=D.domLoadTime);D.downloadBandwidthKbps!=null&&(c.Nk=D.downloadBandwidthKbps);D.sdkImplLoadTime!=null&&(c.Mi=D.sdkImplLoadTime);D.imaHostingDomain!= null&&(c.Dj=D.imaHostingDomain);D.imaHostingPageUrl!=null&&(c.la=D.imaHostingPageUrl);c.o=D.usesCustomVideoPlayback!=null?D.usesCustomVideoPlayback:a.usesCustomVideoPlayback||!1;D.usesProxyMediaElement!=null&&(c.Oi=D.usesProxyMediaElement);D.rendersUiNatively!=null&&(c.D=D.rendersUiNatively);a.sdkOwnedRendering!=null&&(c.bl=a.sdkOwnedRendering);c.Ua=D.supportsResizing!=null?D.supportsResizing:a.supportsResizing||!1;c.Oj=a.isBrowserCookieEnabled||!1;c.F=a.supportsIconClickFallback||!1;c.Ni=gQ(a,k); c.Qk=a.omidAdSessionsOnStartedOnly||!1;D.usesInlinePlayback!=null&&(c.O=D.usesInlinePlayback);D.videoAdKey!=null&&(c.Xa=D.videoAdKey);v&&(c.Ok=v);A&&(c.Pk=A);c.cl=a.supportsNativeNetworking||!1;d?(c.Eb=d.appSetId||null,c.Qb=d.appSetIdScope||null,c.deviceId=d.deviceId,c.aa=d.idType,c.K=d.isLimitedAdTracking,c.xk=d.perAppIdentifier,c.yk=d.perAppIdentifierV2,c.zk=d.perAppIdentifierV2UserEnabled||!1,c.Tj=!!d.perAppIdentifierUnificationVersion,c.mg=d.idfv,c.Wa=d.trackingAuthorizationStatus||null,c.Lk= d.adsIdentityToken):b&&(c.deviceId=a.rdid||"",c.aa=a.idType||"",d=a.isLat)&&(c.K=String(d)==="1");c.Aa=a.msParameter||"";g&&(c.pk=g.appVersion||"",c.jk=g.packageName||"");k&&(c.appName=k.g,c.A=k.l,g=k.platform,c.j="//mbapp"+encodeURIComponent(String((g==="ios"||g==="tvos"?1:g==="android"?2:0)+"-"+k.g))+".com",c.C=k.platform,c.N=k.platform+"."+k.o,c.tk=k.j);a.gmaSignals&&(c.jg=a.gmaSignals);a.platformSignals&&(c.Ji=new Map(Object.entries(a.platformSignals)));c.Ga=b;c.l=e;c.Jj=f;c.Pj=a.isEapLoader|| !1;c.xa=a.isFledgeEligible||!1;c.J=new uw;return c},gQ=function(a,b){if(a.supportsExternalNavigation!=null)return a.supportsExternalNavigation;a=b==null?void 0:b.j;if(!a)return!1;switch(b==null?void 0:b.platform){case "android":return gP({dd:3,gd:16,kd:2},a)<=0;case "ios":return gP({dd:3,gd:11,kd:1},a)<=0;default:return!1}},bQ=function(a){var b=aQ();b&&b.then(function(c){a.pd=c==null?null:ih(ch(nl(c)),3)})},fQ=function(){return Ng(cQ)},iQ=dQ(),jQ=dQ();function kQ(){var a=lf(),b=document;return new P(a.parent===a?a.location.href:b.referrer)}function lQ(a,b){a.g.set("url","");try{var c=2083-a.toString().length-1;if(c<=0)return a.toString();for(var d=b.slice(0,c),e=encodeURIComponent(d),f=c;f>0&&e.length>c;)d=b.slice(0,f--),e=encodeURIComponent(d);a.g.set("url",d)}catch(g){}return a.toString()};var W={},mQ=(W.creativeView="creativeview",W.start="start",W.midpoint="midpoint",W.firstQuartile="firstquartile",W.thirdQuartile="thirdquartile",W.complete="complete",W.mute="mute",W.unmute="unmute",W.pause="pause",W.rewind="rewind",W.resume="resume",W.fullscreen="fullscreen",W.exitFullscreen="exitfullscreen",W.expand="expand",W.collapse="collapse",W.close="close",W.acceptInvitation="acceptinvitation",W.adCanPlay="adCanPlay",W.adStarted="adStarted",W.abandon="abandon",W.acceptInvitationLinear="acceptinvitationlinear", W.engagedView="engagedview",W.instreamAdComplete="instreamAdComplete",W.skipShown="skipshown",W.skippableStateChanged="skippableStateChanged",W.skip="skip",W.progress="progress",W.publisher_invoked_skip="PUBLISHER_INVOKED_SKIP",W.annotation_start="annotation_start",W.annotation_click="annotation_click",W.annotation_close="annotation_close",W.cta_annotation_shown="cta_annotation_shown",W.cta_annotation_clicked="cta_annotation_clicked",W.cta_annotation_closed="cta_annotation_closed",W.replay="replay", W.stop="stop",W.autoplayDisallowed="autoplayDisallowed",W.error="error",W.mediaLoadTimeout="mediaLoadTimeout",W.linearChanged="linearChanged",W.click="click",W.contentPauseRequested="contentPauseRequested",W.contentResumeRequested="contentResumeRequested",W.discardAdBreak="discardAdBreak",W.updateAdsRenderingSettings="updateAdsRenderingSettings",W.durationChange="durationChange",W.expandedChanged="expandedChanged",W.autoClose="autoClose",W.userClose="userClose",W.userRecall="userRecall",W.prefetched= "prefetched",W.loaded="loaded",W.init="init",W.allAdsCompleted="allAdsCompleted",W.adMetadata="adMetadata",W.adBreakReady="adBreakReady",W.adBreakFetchError="adBreakFetchError",W.log="log",W.volumeChange="volumeChange",W.companionBackfill="companionBackfill",W.companionInitialized="companionInitialized",W.companionImpression="companionImpression",W.companionClick="companionClick",W.impression="impression",W.interaction="interaction",W.adProgress="adProgress",W.adBuffering="adBuffering",W.trackingUrlPinged= "trackingUrlPinged",W.measurable_impression="measurable_impression",W.custom_metric_viewable="custom_metric_viewable",W.viewable_impression="viewable_impression",W.fully_viewable_audible_half_duration_impression="fully_viewable_audible_half_duration_impression",W.audio_audible="audio_audible",W.audio_measurable="audio_measurable",W.overlay_resize="overlay_resize",W.overlay_unmeasurable_impression="overlay_unmeasurable_impression",W.overlay_unviewable_impression="overlay_unviewable_impression",W.overlay_viewable_immediate_impression= "overlay_viewable_immediate_impression",W.overlay_viewable_end_of_session_impression="overlay_viewable_end_of_session_impression",W.externalActivityEvent="externalActivityEvent",W.adEvent="adEvent",W.configure="configure",W.remainingTime="remainingTime",W.destroy="destroy",W.resize="resize",W.volume="volume",W.authorIconClicked="videoAuthorIconClicked",W.authorNameClicked="videoAuthorClicked",W.videoClicked="videoClicked",W.videoIconClicked="videoIconClicked",W.learnMoreClicked="videoLearnMoreClicked", W.muteClicked="videoMuteClicked",W.titleClicked="videoTitleClicked",W.videoSkipClicked="SKIPPED",W.unmuteClicked="videoUnmuteClicked",W.vpaidEvent="vpaidEvent",W.show_ad="show_ad",W.video_card_endcap_collapse="video_card_endcap_collapse",W.video_card_endcap_dismiss="video_card_endcap_dismiss",W.video_card_endcap_impression="video_card_endcap_impression",W.mediaUrlPinged="mediaUrlPinged",W.breakStart="breakstart",W.breakEnd="breakend",W.omidReady="omidReady",W.omidUnavailable="omidUnavailable",W.omidAdSessionCompleted= "omidAdSessionCompleted",W.omidAdSessionAbandoned="omidAdSessionAbandoned",W.verificationNotExecuted="verificationNotExecuted",W.loadStart="loadStart",W.seeked="seeked",W.seeking="seeking",W),nQ="adBreakFetchError adBreakReady adBuffering adCanPlay adMetadata adProgress allAdsCompleted click companionBackfill companionInitialized complete contentPauseRequested contentResumeRequested durationChange video_card_endcap_collapse video_card_endcap_dismiss video_card_endcap_impression externalActivityEvent firstQuartile heavy_ad_intervention_cpu heavy_ad_intervention_network iconFallbackImageClosed impression interaction linearChanged loaded log measurable_impression mediaUrlPinged midpoint mute navigationRequested pause resetPaidData setPaidV2UserEnabled resume show_ad skipShown skippableStateChanged skip start thirdQuartile trackingUrlPinged updateGfpCookie userClose videoClicked videoIconClicked viewable_impression volumeChange".split(" "), oQ=["vpaidEvent"],pQ="abandon acceptInvitation acceptInvitationLinear click close collapse companionClick complete creativeView video_card_endcap_collapse video_card_endcap_dismiss video_card_endcap_impression engagedView exitFullscreen expand externalActivityEvent firstQuartile fullscreen instreamAdComplete loaded measurable_impression midpoint mute pause progress replay resume rewind show_ad skipShown skip start stop thirdQuartile unmute userClose verificationNotExecuted viewable_impression".split(" "), qQ="viewable_impression measurable_impression overlay_unmeasurable_impression overlay_unviewable_impression overlay_viewable_immediate_impression overlay_viewable_end_of_session_impression externalActivityEvent".split(" "),rQ={measurable_impression:"measurable_impression",viewable_impression:"viewable_impression",custom_metric_viewable:"custom_metric_viewable",fully_viewable_audible_half_duration_impression:"fully_viewable_audible_half_duration_impression",overlay_unmeasurable_impression:"overlay_unmeasurable_impression", overlay_unviewable_impression:"overlay_unviewable_impression",overlay_viewable_immediate_impression:"overlay_viewable_immediate_impression",overlay_viewable_end_of_session_impression:"overlay_viewable_end_of_session_impression",audio_audible:"audio_audible",audio_measurable:"audio_measurable"};function sQ(a){return a.startsWith("custom_metric_viewable")?!0:rQ[a]!=null}var tQ="acceptInvitation acceptInvitationLinear click collapse complete exitFullscreen expand firstQuartile fullscreen impression loaded midpoint pause resume skip start thirdQuartile videoClicked volumeChange".split(" ");var uQ=new fH;function vQ(a,b){a!=null&&b!=null&&(a=ED(a,b));return a}function wQ(a,b){var c=c===void 0?uQ:c;var d=d===void 0?null:d;a=vQ(a,b);d=d?vQ(d,b):d;jH(c,new RA(a,d))}function xQ(a,b){a!=null&&a.forEach(function(c){return void wQ(c,b)})};var yQ=function(){this.g=Math.random()<.01;this.l=Math.floor(Math.random()*4503599627370496);this.j=null}; yQ.prototype.report=function(a,b,c){b=b===void 0?{}:b;if(z.G_testRunner==null&&(this.g||(c===void 0?0:c))){b.lid=a;eQ(fQ())&&(b.sdkv=eQ(fQ()));this.j&&(b.palv=this.j);a=fB();E(G(a))||(b.e=a);b=zQ(this,b);var d=new P("http://pagead2.googlesyndication.com/pagead/gen_204");Ib(b,function(e,f){e!=null&&d.g.set(f,e==null?"":typeof e==="boolean"?e?"t":"f":""+e)},this);b=kQ().o;b!=="http"&&b!=="https"||Ey(d,b);sP.C||(b=d.toString(),a=Ry(d,"url"),a!=null&&Pc()&&b.length>2083&&(b=lQ(d,a)),wQ(b))}}; var zQ=function(a,b){b.id="ima_html5";var c=kQ();b.c=a.l;b.domain=c.j;return b},AQ=function(){return Ng(yQ)};var BQ=function(){this.W=new Map},CQ=function(a,b){b.forEach(function(c){var d=c.g,e=a.getEvents(d);e.push(c);a.W.set(d,e)})},EQ=function(a,b,c,d,e){var f=null,g=null;d&&(DQ(d)!==-1?f=DQ(d):g=d.g?d.value:-1);c=new TA(b,c,f,g,e===void 0?null:e);d=a.getEvents(b);d.push(c);a.W.set(b,d)};BQ.prototype.getEvents=function(a){return a!=null?this.W.get(a)||[]:[]};BQ.prototype.isEmpty=function(){return this.W.size===0}; var FQ=function(a,b){return a.getEvents(b).map(function(c){return WA(c)})},GQ=function(a,b){b.W.forEach(function(c){CQ(a,c)})};var HQ=function(a){this.ma=a;this.g=!1;this.W=new BQ};HQ.prototype.getMaxDuration=function(){if(this.ma.adTagUrl==null)return null;var a=this.ma.adTagUrl.match(Sf)[6]||null;if(!a)return null;var b=null;Uf(a,function(c,d){if(b==null)switch(c){case "max_ad_duration":case "pmxd":c=Number(d),isFinite(c)&&(b=c/1E3)}});return b};function IQ(a){var b=pf(document,"VIDEO"),c=Mb(yO).filter(function(d){var e=["video/3gpp","application/x-mpegURL"];return Tc()&&e.includes(d)||(Sc()||Ae||FF())&&d==="video/webm"?!1:b.canPlayType(d)});a=a.filter(function(d){return c.includes(d)});return a.length>0?a:c} var KQ=function(a){a=a===void 0?!1:a;return!(FF()||Ae&&CF(AF,10))||!a&&fQ().o?fQ().l||Fc(Ic(),"Xbox")?!0:xe||ze?!1:!we||we&&CF(BF,4)?eo()?fQ().D:JQ()?!1:!0:!1:!0},LQ=function(a){return!(a||xe||ze||go()||we&&(!we||!CF(BF,4)))},MQ=function(){var a=tP();return a&&nP(a,"disableOnScreenDetection")?!1:!eo()},NQ=function(a){a=a===void 0?[]:a;return IQ(a)},OQ=function(){var a;if(!(a=go()||Fc(Ic(),"CrKey")&&Fc(Ic(),"SmartSpeaker"))){var b,c;a=!!((b=window)==null?0:(c=b.chrome)==null?0:c.webview)}return a|| fQ().Oi?!1:!0},PQ=function(){var a=fQ(),b=a.tk;switch(a.C){case "android":return a.l?a.F:!!b&&gP({dd:3,gd:5,kd:2},b)<=0;case "ios":return!!b&&gP({dd:3,gd:4,kd:1},b)<=0;case "tvos":return a.D;default:return!JQ()}},QQ=function(){var a=a===void 0?!0:a;var b=[];!fQ().Ga&&sP.g!==0&&b.push("2");OQ()&&b.push("7");(fQ().l||!JQ())&&a&&b.push("8");return b},JQ=function(){return RQ()===1||RQ()===2},RQ=function(){switch(fQ(),0){case 1:return 3;case 2:return 1}return fQ().l||(fQ(),!1)||fQ().C==="tvos"?1:go()? 2:0},SQ=function(a){return fQ().F?fQ().Jj?(a!=null?a:[]).some(function(b){var c;return(c=b.l)==null?void 0:c.startsWith("https://pubads.g.doubleclick.net/ata-qr")}):!0:!1};var TQ="abort canplay canplaythrough durationchange emptied loadstart loadeddata loadedmetadata progress ratechange seeked seeking stalled suspend waiting".split(" ");var UQ=function(){this.useLearnMoreButton=this.disableUi=this.disableClickThrough=!1;this.autoAlign=this.g=this.useVideoAdUi=!0;this.bitrate=-1;this.enablePreloading=!1;this.loadVideoTimeout=8E3;this.mimeTypes=null;this.playAdsAfterTime=-1;this.restoreCustomPlaybackStateOnAdBreakComplete=!1;this.uiElements=null;this.useStyledNonLinearAds=this.useStyledLinearAds=!1}; UQ.prototype.append=function(a){if(a){var b=a.autoAlign;b!=null&&(this.autoAlign=b);b=le(a.bitrate);typeof b==="number"&&!isNaN(b)&&b>0&&(this.bitrate=b);this.disableClickThrough=a.disableClickThrough||this.disableClickThrough;this.disableUi=a.disableUi||this.disableUi;this.enablePreloading=a.enablePreloading||this.enablePreloading;(b=a.mimeTypes)&&b.length!==0&&(this.mimeTypes=b);b=le(a.playAdsAfterTime);typeof b==="number"&&!isNaN(b)&&b>0&&(this.playAdsAfterTime=b);this.restoreCustomPlaybackStateOnAdBreakComplete= a.restoreCustomPlaybackStateOnAdBreakComplete||this.restoreCustomPlaybackStateOnAdBreakComplete;b=le(a.loadVideoTimeout);typeof b==="number"&&!isNaN(b)&&b>0&&(this.loadVideoTimeout=b);this.uiElements=a.uiElements||this.uiElements;this.useLearnMoreButton=a.useLearnMoreButton||this.useLearnMoreButton;this.useStyledLinearAds=a.useStyledLinearAds||this.useStyledLinearAds;this.useStyledNonLinearAds=a.useStyledNonLinearAds||this.useStyledNonLinearAds;this.useVideoAdUi=a.useVideoAdUi===!1?!1:this.useVideoAdUi; this.g=a.useYouTubeMetadata||this.g}};Ia("module$exports$google3$javascript$ads$interactivemedia$sdk$clientside$api$ads_rendering_settings.AdsRenderingSettings.AUTO_SCALE",-1);var VQ=function(a,b){b=b===void 0?"videoDisplay1":b;M.call(this);this.j=a;this.g=b;this.duration=this.currentTime=-1;this.fullscreen=this.o=this.muted=this.l=this.A=!1;this.volume=-1;this.uf="";this.ra=this.error=null;this.F=8E3;this.B=0;this.D=new SG(this);L(this,this.D)};w(VQ,M);var XQ=function(a){a.D.listen(a.j,a.g,a.Yl);WQ(a.j,a.g,"startTracking")},YQ=function(a){YG(a.D);WQ(a.j,a.g,"stopTracking")};VQ.prototype.load=function(){throw Error("Unexpected usage of VideoDisplayChannel");}; var aR=function(a,b,c,d){a.uf=b||"";ZQ(a);d=d?$Q(d):null;if(c){if(c instanceof NE){WQ(a.j,a.g,"load",{videoUrl:b,adPodInfo:d,muxedMediaUrl:c.getMediaUrl(),muxedMimeType:c.g,muxedVideoCodec:c.Ca,muxedAudioCodec:c.Oa,mseCompatible:c.za});return}if(c instanceof ME){var e=c.j,f=c.C,g=c.g,h=c.A,k=c.Ca,m=c.Oa;if(e&&f&&g&&h&&k&&m){WQ(a.j,a.g,"load",{videoUrl:b,adPodInfo:d,demuxedVideoUrl:e,demuxedAudioUrl:f,demuxedVideoMimeType:g,demuxedAudioMimeType:h,demuxedVideoCodec:k,demuxedAudioCodec:m,mseCompatible:c.za}); return}}}WQ(a.j,a.g,"load",{videoUrl:b,adPodInfo:d})};VQ.prototype.reset=function(a){this.l||this.o||this.pause();Ae&&!a&&(bR(this,.001),aR(this,"",null,null));(xe||ze)&&this.Hd()&&!a&&WQ(this.j,this.g,"exitFullscreen")};var ZQ=function(a){a.duration=-1;a.currentTime=-1;a.o=!1;a.l=!1;a.A=!1;cR(a)},bR=function(a,b){WQ(a.j,a.g,"setCurrentTime",{currentTime:b})};VQ.prototype.setVolume=function(a){this.volume=a;WQ(this.j,this.g,"setVolume",{volume:a})};VQ.prototype.canPlayType=function(a){return NQ().includes(a)}; var dR=function(a){WQ(a.j,a.g,"play");a.B||(a.B=lu(a.G,a.F,a));Promise.resolve()};VQ.prototype.pause=function(){WQ(this.j,this.g,"pause");cR(this)};var eR=function(a){ZQ(a);Ae||FF()||WQ(a.j,a.g,"unload")};l=VQ.prototype;l.getCurrentTime=function(){return this.currentTime};l.getDuration=function(){return this.duration};l.getError=function(){return this.error};l.getVolume=function(){return this.muted?0:this.volume};l.Hd=function(){return this.fullscreen}; l.Yl=function(a){var b=a.Cb;a=a.messageType;switch(a){case "click":O(this,"click");break;case "end":this.o=!0;O(this,"end");break;case "error":cR(this);if(b.errorCode==null||b.errorMessage==null||b.type==null)a=null;else for(var c=a=new zO(b.type,b.errorMessage,b.errorCode),d=b.innerError,e=0;e<3;++e)if(d instanceof Object){var f=new zO(d.type,d.errorMessage,d.errorCode);c=c.g=f;d=d.innerError}else{d!=null&&(c.g=Error(b.innerError));break}a!=null?this.error=a:(b=b.errorMessage||dP.getMessage(),this.error= Error(b));O(this,"error");break;case "fullscreen":this.fullscreen=!0;O(this,"beginFullscreen");break;case "exitFullscreen":this.fullscreen=!1;O(this,"endFullscreen");break;case "loaded":O(this,"loaded");break;case "mute":this.muted=!0;O(this,"volumeChange");break;case "pause":this.l||(this.l=!0,b.ended!=null&&(this.o=b.ended),O(this,"pause"));break;case "play":this.l=!1;O(this,"play");break;case "autoplayDisallowed":O(this,"autoplayDisallowed");break;case "skip":O(this,"skip");break;case "focusSkipButton":O(this, "focusSkipButton");break;case "start":this.A||(cR(this),this.A=!0,fR(this,b),O(this,"start"));break;case "timeupdate":this.A&&(c=b.timeUnit,a=gR(b.currentTime,c),b=gR(b.duration,c),a!==void 0&&b!==void 0&&(this.currentTime=a,this.duration!==b&&(this.duration=b,O(this,"durationChange")),O(this,"timeUpdate")));break;case "timedMetadata":O(this,"timedMetadata");break;case "unmute":this.muted=!1;O(this,"volumeChange");break;case "volumeChange":fR(this,b);O(this,"volumeChange");break;case "loadedmetadata":this.duration= he(b.duration);O(this,a);break;case "abort":case "canplay":case "canplaythrough":case "durationchange":case "emptied":case "loadstart":case "loadeddata":case "progress":case "ratechange":case "seeked":case "seeking":case "stalled":case "suspend":case "waiting":O(this,a)}};var fR=function(a,b){b=b.volume;typeof b!=="number"||isNaN(b)||b<0||b>1||(a.muted=b===0,a.volume=b)};VQ.prototype.G=function(){this.A||O(this,"mediaLoadTimeout")}; var cR=function(a){a.B&&(mu(a.B),a.B=0)},gR=function(a,b){if(a===void 0)return a;switch(b){case "ms":return he(a)/1E3;default:return he(a)}};var hR=function(a,b){M.call(this);this.l=a;this.contentDuration=b;this.j=0;this.g=new SG(this);L(this,this.g)};w(hR,M);hR.prototype.Ed=function(){return this.j};hR.prototype.start=function(){this.stop();this.g.listen(this.l,"contentTimeUpdate",this.o)};hR.prototype.stop=function(){YG(this.g)};hR.prototype.o=function(a){a=a.Cb;a=gR(a.currentTime,a.timeUnit);a!==void 0&&(this.j=a,O(this,new dt("contentPlayheadChanged")))};var iR=function(a,b){dt.call(this,"OffsetTrackerEvent");this.l=a;this.g=b};w(iR,dt);var jR=function(a,b){M.call(this);this.j=a;this.g=b;this.ra=null;this.l=new SG(this);L(this,this.l)};w(jR,M);jR.prototype.remove=function(a){this.g.splice(this.g.indexOf(a),1)};jR.prototype.start=function(){this.stop();this.l.listen(this.j,"contentPlayheadChanged",this.o,!1);this.j.start()};jR.prototype.stop=function(){YG(this.l);this.j.stop()};jR.prototype.o=function(){kR(this)}; var kR=function(a){var b=a.j.Ed();if(!(isNaN(b)||b<0)){var c=lR(a,b);b=mR(a,b,a.j.contentDuration);c==null&&b==null||O(a,new iR(c,b))}},mR=function(a,b,c){var d=a.g.filter(function(f){return f!==-1&&b>=f-(sP.j?8:2)&&b0){var e;return(e=d.pop())!=null?e:null}return a.g[a.g.length-1]===-1?(c===-3?0:c&&c>0?b>=c-(sP.j?8:2):a.g.length===1||b>a.g[a.g.length-2]+1)?-1:null:null},lR=function(a,b){a=a.g.filter(function(d){return d!==-1&&d<=b});if(a.length>0){var c;return(c=a.pop())!=null?c: null}return null},nR=function(a){var b=a.g.find(function(c){return c===-1?!0:a.j.Ed()<=c});return b==null?null:b};var oR=function(){this.g=new Map};oR.prototype.add=function(a,b){var c=this.g.get(a)||[];c.push.apply(c,u(b));this.g.set(a,c)};oR.prototype.remove=function(a){this.g.delete(a)};var qR=function(a){return pR(Array.from(a.g.keys()))};oR.prototype.getPodIndex=function(a){var b=qR(this);switch(a){case 0:return 0;case -1:return-1;default:return a=b.indexOf(a),b[0]===0?a:a+1}};var pR=function(a){if(a.length===0)return a;a.sort(function(b,c){return b-c});a[0]===-1&&a.push(a.shift());return a};var rR=function(a,b,c){this.j=a;this.g=b;this.se=c};function sR(a,b){return tR("adPlayError",a,b===void 0?null:b,Da.apply(2,arguments))}function tR(a,b,c,d){if(c instanceof zO)return c;var e=b.getErrorCode();b=b.getMessage();if(d.length>0)for(var f=0;f1){if(c%2)throw Error("Uneven number of arguments");for(var d=0;d2*this.size&&NR(this),!0):!1};var NR=function(a){if(a.size!=a.g.length){for(var b=0,c=0;b=d.g.length)return Bp;var f=d.g[b++];return{value:a?f:d.j[f],done:!1}};return e};var OR=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};var QR=null,RR=function(){M.call(this);this.A=this.g=null;this.L="";this.G=this.H=this.O=null;this.K=-1;this.B=!1;this.j=new MR;this.l=new Map;this.o=new SG(this);L(this,this.o);this.F=new Map;nc().o=!0;MQ()};w(RR,M); var SR=function(){QR==null&&(QR=new RR);return QR},VR=function(a,b){var c=a.Xb;MQ()&&TR(SR(),c,b);var d=[];(UR(a).get("activeview")||[]).forEach(function(e){d.push.apply(d,u(e.j))});d.length&&SR().l.set(c,d)},WR=function(a){SR().F.delete(a.Xb);SR().l.delete(a.Xb)},TR=function(a,b,c){a.F.set(b,c)},YR=function(a,b){var c={};a=(c.queryId=a,c.viewabilityString=b,c);O(SR(),FR({type:"measurable_impression",data:a}))},ZR=function(a,b){var c={};a=(c.queryId=a,c.viewabilityString=b,c);O(SR(),FR({type:"viewable_impression", data:a}))},$R=function(a,b,c){var d={};a=(d.queryId=a,d.viewabilityString=b,d.eventName=c,d);O(SR(),FR({type:"externalActivityEvent",data:a}))},aS=function(a,b){a.g&&XG(a.o,a.g,"activityMonitor",a.D);a.g=b;a.o.listen(a.g,"activityMonitor",a.D);WQ(a.g,"activityMonitor","getPageSignals")},bS=function(a){var b=SR();if(b.g)if(b.G)a(b.G+"_ct"+(Ua()-b.K));else{var c=b.j,d=setTimeout(function(){a("timeout");Array.from(c.keys()).forEach(function(f){c.get(f)===a&&c.delete(f)})},200);b.j.set(d,a);var e={}; b.H&&(e.isFullscreen=b.H.Hd());e.osdId=b.L;e.eventId=d;AQ().g&&(b.A=Ua(),e.loggingId=Math.random(),AQ().report(43,{step:"sendingMessage",logid:e.loggingId,time:b.A}));WQ(b.g,"activityMonitor","fetchAdTagUrl",e)}else a("")};RR.prototype.destroy=function(){XG(this.o,this.g,"activityMonitor",this.D);this.g=null}; RR.prototype.D=function(a){var b=a.Cb;switch(a.messageType){case "appStateChanged":Ng(Ls);b=b.appState;a=lo();a.N!=b&&(a.N=b,(a=Ng(br).g)&&uo(a.g,!b));break;case "externalActivityEvent":$R(b.queryId,b.viewabilityString,b.eventName);break;case "measurableImpression":YR(b.queryId,b.viewabilityString);break;case "pageSignals":this.O=b.pageSignals;break;case "viewableImpression":ZR(b.queryId,b.viewabilityString);break;case "engagementData":b=b.engagementString;SR().G=b;SR().K=Ua();break;case "viewability":a= b.queryId;var c=b.vastEvent;this.l.get(a)&&c==="start"&&this.l.get(a);a=b.eventId;clearTimeout(a);if(c=this.j.get(a))this.j.delete(a),c(b.viewabilityData);break;case "viewabilityMeasurement":a=Ng(Ls);c=b.queryId;b=b.viewabilityData;if(nc().g){a.C=b.nativeVolume;var d=b.exposure||0,e=b.unmeasurable;a=a.A(c,{});b.presenceData!=null&&(a.l===null&&(a.l=new Cp),$b(a.l,b.presenceData));a.Y==-1&&(a.Y=rn(),a.Qb=a.Ya().g.g);a.da+=e?1:0;a.Wa++;ap(a.Ga,d,d,!1,1,!1);a.Sb=e||a.Sb;a=a.sa;c=b.position;a.g=new tn(c.top, c.right,c.bottom,c.left);a.A=b.exposure||0;a.l=b.screenShare;a=lo();c=b.insideIframe;c!==void 0&&c==0&&(a.l=!1);b.documentSize&&(a.o=new Ye(b.documentSize.width,b.documentSize.height));b.viewportSize&&(a.g=new tn(0,b.viewportSize.width,b.viewportSize.height,0))}break;case "engagement":a=b.eventId,clearTimeout(a),c=this.j.get(a),AQ().g&&(d=-1,this.A&&(d=Ua()-this.A),e=!1,c||(e=!0),Qb(b,"loggingId")&&AQ().report(43,{step:"receivedResponse",time:Ua(),timeout:e,logid:b.loggingId,timediff:d})),c&&(this.j.delete(a), c(b.engagementString))}};Ia("ima.bridge.getNativeViewability",function(a,b){SR();b({})});Ia("ima.bridge.getVideoMetadata",function(a){return(a=SR().F.get(a))?a():{}});Ia("ima.bridge.triggerViewEvent",ZR);Ia("ima.bridge.triggerMeasurableEvent",YR);Ia("ima.bridge.triggerExternalActivityEvent",$R);var wF=["*.googlesyndication.com","gcdn.2mdn.net"];function cS(a){return a==null?!1:tc(a,".g.doubleclick.net")}function dS(a){return tF(a,eo()?"https":lf().location.protocol)};var eS=function(){this.A=null;this.duration=-1;this.C=this.creativeId=null;this.bb=[];this.ka="";this.W=new BQ;this.ad=null};l=eS.prototype;l.Ba=function(){var a;return(a=this.A)!=null?a:NaN};l.getDuration=function(){return this.duration};l.getCreativeId=function(){return this.creativeId};l.getCreativeAdId=function(){return this.C};l.ah=function(){return null};l.getApiFramework=function(){return null};var fS=function(a,b){a.ka=b};eS.prototype.getAd=function(){return this.ad}; var gS=function(a,b){a.bb=b};eS.prototype.getUniversalAdIds=function(){return this.bb};var hS=function(a){var b=new BQ;a.B().forEach(function(c){GQ(b,c.W)});return b};eS.prototype.B=function(){for(var a=[this],b,c=(b=this.ad)==null?void 0:b.X;c;)b=iS(this,c)||iS(this,c,!0),b!=null&&a.push(b),c=c.X;return a};var iS=function(a,b,c){c=c===void 0?!1:c;var d;return(d=b.pa.find(function(e){var f=e.Ba()===a.Ba();return e instanceof a.constructor&&(c||f)}))!=null?d:null};function jS(a){a=a.getApiFramework();return a==="VPAID"||a==="surveys"}var lS=function(a,b,c,d,e,f){eS.call(this);this.j=b;this.skipOffset=e;this.va=f;this.g=null;this.duration=a;this.Ec=kS(c);this.ab=d.slice()};w(lS,eS);var kS=function(a){return a.filter(function(b){return jS(b)&&!E(G(b.mimeType))&&b.mimeType.indexOf("x-shockwave-flash")!==-1?!1:!0})};l=lS.prototype;l.Pb=function(){var a,b;return(b=(a=this.j)==null?void 0:a.url)!=null?b:null};l.Ie=function(){return EE(this.j)}; l.xf=function(){var a,b;return(b=(a=this.j)==null?void 0:a.g)!=null?b:null};l.getMediaUrl=function(){return this.g!=null?this.g.url:null};l.ah=function(){var a=mS(this);return a!=null?a.url:null};var mS=function(a){a=a.Ec.find(function(b){return jS(b)&&!E(G(b.mimeType))&&b.mimeType.indexOf("javascript")!==-1});return a!=null?a:null};lS.prototype.getApiFramework=function(){var a=this.g;return a!=null?a.getApiFramework():this.Ec.length===1?this.Ec[0].getApiFramework():null};var nS=function(a,b,c,d,e){eS.call(this);this.size=b;this.resourceType=c;this.creativeType=d;this.g=e;this.jb=!1;this.element=this.j=this.fa=null;this.fd=-2;this.o=!1;this.Wb=null;E(G(a))&&(a="goog_"+ge++ +"_ima");this.id=G(a);this.creativeType==null?this.contentType=null:this.contentType=xO[this.creativeType]||"Other"};w(nS,eS);l=nS.prototype;l.bg=function(){return!E(G(this.g))}; l.getContent=function(){if(eo())return"";this.element==null&&(this.element=this.Of(),rf(this.element,oS(this)));var a=this.element;if("outerHTML"in a)a=a.outerHTML;else{var b=pf($e(a),"DIV");b.appendChild(a.cloneNode(!0));a=b.innerHTML}this.o&&(a=a.replaceAll(RegExp("]+) attributionsrc([^>]+)>","g"),""));return a}; l.Of=function(){var a=G(this.g);if(!E(G(this.Pb()))){a=new P(a);var b=encodeURIComponent(String(this.Pb()));a.g.set("clickTAG",b);a=a.toString()}b=nf("IFRAME",{marginwidth:0,marginheight:0,hspace:0,vspace:0,frameborder:0,scrolling:"no",title:"Advertisement"},null);b.height=this.getHeight();this.getContentType()!=="Text"&&(b.width=this.getWidth());b.setAttribute("src",dS(a));return pS(this,b)}; l.Wc=function(a){var b=G(this.g);if(!E(G(this.Pb()))){b=new P(b);var c=encodeURIComponent(String(this.Pb()));b.g.set("clickTAG",c);b=b.toString()}return new uM({height:this.getHeight(),width:this.getWidth(),Ka:dS(b),attribution:a.qa},"embedded",a.rc)};l.getAdId=function(){return this.id};l.getContentType=function(){return this.contentType};l.getSize=function(){return this.size};l.getWidth=function(){return this.getSize().width};l.Ze=function(){return this.jb};l.getHeight=function(){return this.getSize().height}; l.getMinSuggestedDuration=function(){return this.fd};l.lb=function(){return this.resourceType};l.getMediaUrl=function(){return this.g};l.ah=function(){return this.fa==="VPAID"&&this.contentType==="Javascript"?this.g:null};l.getApiFramework=function(){return this.fa};l.Pb=function(){var a,b;return(b=(a=this.j)==null?void 0:a.url)!=null?b:null};l.Ie=function(){return EE(this.j)};l.xf=function(){var a,b;return(b=(a=this.j)==null?void 0:a.g)!=null?b:null}; var pS=function(a,b){var c=nf("DIV");Kn(c,"cursor","default");Kn(c,"position","relative");Kn(c,"z-index","1001");Kn(c,"height",a.getHeight()+"px");a.getContentType()!=="Text"&&Kn(c,"width",a.getWidth()+"px");a=a.getAdId();E(G(a))||(c.id=a);c.appendChild(b);return c},oS=function(a){if(!a.o)return null;a=[].concat(u(hS(a).getEvents("start")),u(hS(a).getEvents("creativeView")));if(a.length>0){var b=[];a.forEach(function(c){var d=WA(c);if(!E(G(d))){var e=af().Il("IFRAME",{frameborder:0,style:"border:0;vertical-align:bottom;"}); e.src=gd(HF).toString();c.j!=null&&e.setAttribute("attributionsrc",c.j||"");Kn(e,{display:"block",height:"0px",width:"0px"});c="iframe"+Math.floor(Math.random()*1E9);e.setAttribute("height","0");e.setAttribute("width","0");e.setAttribute("src",dS(d));e.setAttribute("id",c);b.push(e)}});return b}return null};nS.prototype.B=function(){for(var a=[this],b,c=(b=this.getAd())==null?void 0:b.X;c;)b=this.o?iS(this,c)||iS(this,c,!0):qS(this,c)||qS(this,c,!0),b!=null&&a.push(b),c=c.X;return a}; var qS=function(a,b,c){c=c===void 0?!1:c;return b.pa.find(function(d){var e=d.Ba()==a.Ba();return a instanceof d.constructor&&(c||e)})};var rS=function(a){this.M=H(a)};w(rS,K);rS.prototype.getUniversalAdIdValue=function(){return Lj(fk(this,7))};rS.prototype.getUniversalAdIdRegistry=function(){return Lj(fk(this,8))};var sS=[0,um,wm,-1,dm,mm,-1,qm,-1,um,mm,qm,wm];var tS=function(a){this.M=H(a)};w(tS,K);tS.prototype.getType=function(){return Aj(fk(this,1))};var uS=function(a,b){return al(a,1,b)};tS.prototype.getAdSystem=function(){return Lj(fk(this,3))};var vS=function(a,b){al(a,4,b)};tS.prototype.getAdId=function(){return Lj(fk(this,5))};tS.prototype.getCreativeId=function(){return Lj(fk(this,6))};tS.prototype.getCreativeAdId=function(){return Lj(fk(this,7))};tS.ua=[11];var wS=[0,wm,qm,-1,wm,qm,-2,um,qm,sS,nm];var xS=function(a){this.M=H(a)};w(xS,K);xS.ua=[1];xS.prototype.g=Dm([0,rm,wS,mm,-1]);var yS=new Map([["application/dash+xml",1],["application/x-javascript",2],["application/x-mpegurl",3],["application/javascript",4],["audio/ogg",5],["audio/mp4",6],["audio/mpeg",7],["audio/wav",8],["text/javascript",9],["video/m4v",10],["video/ogg",11],["video/x-flv",12],["video/3gpp",13],["video/mpt2",14],["video/mp4",15],["video/mpeg",16],["video/quicktime",17],["video/webm",18]]),AS=function(a){var b=uS(new tS,a.l?2:1),c=a.ma;if(c&&c.adTagUrl){var d=null;try{d=(new P(c.adTagUrl)).j}catch(e){}d!= null&&d.length>0?d=d.slice(-40):d=null;Zk(b,2,d)}c=a.getAdSystem();c=c.length===0?null:c;vS(Zk(b,3,c),zS(a.F));c=a.getAdId();c=c.length===0?null:c;Zk(b,5,c);c=a.getCreativeId();c=c.length===0?null:c;Zk(b,6,c);c=a.getCreativeAdId();c=c.length===0?null:c;Zk(b,7,c);a=a.rb;c=a.A;d=a.o;c!=null&&d!=null&&d>=c&&Wk(b,8,d-c);a=a.j.map(function(e){return e.vendor});uk(b,11,a,Jj);return b},zS=function(a){return a>=1&&a<2?1:a>=2&&a<3?2:a>=3&&a<4?3:a>=4&&a<5?4:0},BS=function(a){a=a.trim().toLowerCase();a=a.split(" ")[0]; return yS.get(a)||0};var CS=[202,1009],DS=!1;function ES(a,b,c){c=c===void 0?null:c;var d=a?a.j:null;if(a){var e=a.getAdPodInfo();var f=new KC;f.adPosition=e.getAdPosition();f.l=e.getMaxDuration();f.g=e.getPodIndex();f.j=e.getTimeOffset();f.totalAds=e.getTotalAds();e=f}else e=null;return new FS(d,e,b,a?a.ma:null,c)} function GS(a,b,c){b=b===void 0?null:b;var d=new Map;a=ES(b,c===void 0?null:c,a);HS(d,a);CD(a.error.getVastErrorCode(),d);IS(d);JS(d,a);KS(d);c=a.error.getErrorCode();uD(d,"ERROR_MSG",a.error.getMessage());uD(d,"IMA_ERROR",c.toString());uD(d,"INTERNAL_ID","0");a=CS.includes(c);uD(d,"BLOCKING_ERROR",a?"1":"0");LS(d,b);return d}function MS(){var a=fQ().j;return(new P(a)).j||""}function NS(a){var b=new Map,c=ES(null,null);HS(b,c);c=b;c=c===void 0?new Map:c;uD(c,"REASON",a);return b} function OS(a,b){var c=new Map;b=ES(a,b===void 0?null:b);HS(c,b);IS(c);JS(c,b);KS(c);LS(c,a);return c}function PS(){var a=EP(fQ().g);/^[\.\w_-]*$/.test(a)||DS||(AQ().report(141,{tcstring:a}),DS=!0)} function QS(a,b){var c,d,e,f,g,h,k;return y(function(m){if(m.g==1)return d=c=null,OQ()&&(c="Google1",d="3.646.1"),(f=a.adTagUrl)!=null&&f.includes("GOOGLE_INSTREAM_VIDEO_NONCE")?m=x(m,b(a),3):(m.g=2,m=void 0),m;m.g!=2&&(e=m.j||void 0);g=fQ().pd;h=EP(fQ().g);k=CP(fQ().g);PS();var n=m.return;var p={Mj:"1",ma:a,appName:fQ().appName,ck:NQ(),jj:JQ()?"0":EF()?"2":"1",zg:c,Hj:d,domain:MS(),pageUrl:RS(a),Me:sP.getPlayerType(),Ne:sP.getPlayerVersion(),ff:"IMA",gf:"3.646.1",Zi:QQ(),Jh:h,pd:g,lk:k,Wl:e};p=p=== void 0?{}:p;var r=r===void 0?new Map:r;uD(r,"ADCATEGORIES","-1");uD(r,"ADCOUNT","-1");uD(r,"APIFRAMEWORKS",p.Zi?p.Zi.join(","):"-1");uD(r,"BLOCKEDADCATEGORIES","-1");var t;uD(r,"GOOGLE_INSTREAM_VIDEO_NONCE",(t=p.Wl)!=null?t:"-1");uD(r,"EXTENSIONS","-2");uD(r,"MEDIAMIME",p.ck?p.ck.join(","):"-1");uD(r,"PLAYERCAPABILITIES","-1");uD(r,"VASTVERSIONS",Mb(QC).join(","));uD(r,"VERIFICATIONVENDORS","-2");p=vD(p,r);return n.call(m,p)})}function IS(a){uD(a,"SDKV",eQ(fQ()))} function HS(a,b){var c=b.ad,d=b.Db,e=b.ma;b=b.display;var f=fQ().appName,g=JQ()?"0":EF()?"2":"1",h=null,k=null;c instanceof zE&&c.bb.length>0&&(k=c.bb[0],h=k.getAdIdValue(),k=k.getAdIdRegistry());var m=null,n=null;OQ()&&(m="Google1",n="3.646.1");var p=MS(),r=RS(e),t=sP.getPlayerType(),v=sP.getPlayerVersion(),A=EP(fQ().g),B=fQ().pd,D=CP(fQ().g);PS();wD({H:b,Mj:"1",Db:d,ad:c,ma:e,appName:f,jj:g,pn:h,on:k,zg:m,Hj:n,Me:t,Ne:v,ff:"IMA",gf:"3.646.1",domain:p,pageUrl:r,Jh:A,pd:B,lk:D},a)} function LS(a,b){tD(a,"CREATIVE_PLAYBACK",function(){if(b){var c=new xS;for(var d=[],e=b;e!=null;)d.push(AS(e)),e=e.X;e=d[0];var f=new rS,g=b.g;if(g instanceof lS){if(ik(f,5,uj(!0)),g=g.g,g!=null){var h=g.mimeType||"";h=h.length===0?null:BS(h);al(f,2,h);h=g.Da||0;h=Wk(f,1,h<=0?null:h);var k=g.url;k!=null&&vF(k)?(k=(new P(k)).l,k=k!=null&&k.startsWith("/videoplayback")):k=!1;Zk(h,11,k?g.g:null)}}else g instanceof nS&&(ik(f,5,uj(!1)),g=g.creativeType||"",g=g.length===0?null:BS(g),g=al(f,2,g),Wk(g,1, null));SS(b)!=null&&(sP.g===2?al(f,12,1):al(f,12,2));g=b.getDuration();g=ik(f,4,mj(g<0?null:g));h=b.getUniversalAdIdValue();g=Zk(g,7,h);h=b.getUniversalAdIdRegistry();Zk(g,8,h);h=b.rb;g=h.l;h=h.g;g!=null&&h!=null&&h>=g&&Wk(f,9,h-g);ik(f,10,uj(!1));Jk(e,10,f);d.reverse();d=Lk(c,1,d);ik(d,3,uj((document.visibilityState||"")==="visible"));c=c.g();c=ih(c,3)}else c="";return c})} function KS(a){tD(a,"URL_SIGNALS",function(){var b=SR().O;!b&&window.Goog_AdSense_Lidar_getUrlSignalsArray&&(b=window.Goog_AdSense_Lidar_getUrlSignalsArray());return b?b[0]:""})}function JS(a,b){if(b.ad!=null){var c=b.ad.ga.get(kE);uD(a,"AQI",(c instanceof kE?c.g:"")||"");tD(a,"AD_V",function(){if(b.ad instanceof zE){var d=uN(b.ad);if(d!=null)return d}return"0"});uD(a,"FINAL","1")}}function RS(a){a=(a==null?void 0:a.pageUrl)||null;return yF(a)?a:fQ().j} var FS=function(a,b,c,d,e){this.ad=a;this.Db=b;this.display=c;this.ma=d===void 0?null:d;this.error=e===void 0?null:e};function TS(a,b){a=US(a);var c=new Map;IS(c);var d=c;d=d===void 0?new Map:d;uD(d,"DEBUG_MESSAGE",b);xQ(a,c)};var VS={IMAGE:"Image",FLASH:"Flash",ALL:"All"},WS={HTML:"Html",IFRAME:"IFrame",STATIC:"Static",ALL:"All"},XS={IGNORE:"IgnoreSize",SELECT_EXACT_MATCH:"SelectExactMatch",SELECT_NEAR_MATCH:"SelectNearMatch",SELECT_FLUID:"SelectFluid"},YS=function(){this.allowCustom=!0;this.creativeType=this.resourceType="All";this.sizeCriteria="SelectExactMatch";this.nearMatchPercent=90;this.adSlotIds=[]}; Ia("module$exports$google3$javascript$ads$interactivemedia$sdk$clientside$api$companion_ad_selection_settings.CompanionAdSelectionSettings.CreativeType",VS);Ia("module$exports$google3$javascript$ads$interactivemedia$sdk$clientside$api$companion_ad_selection_settings.CompanionAdSelectionSettings.ResourceType",WS);Ia("module$exports$google3$javascript$ads$interactivemedia$sdk$clientside$api$companion_ad_selection_settings.CompanionAdSelectionSettings.SizeCriteria",XS);var $S=function(a,b){b=b===void 0?new YS:b;this.g=a;this.settings=b?b:new YS;this.resourceType=ZS(WS,this.settings.resourceType)?this.settings.resourceType:"All";this.creativeType=ZS(VS,this.settings.creativeType)?this.settings.creativeType:"All";this.sizeCriteria=ZS(XS,this.settings.sizeCriteria)?this.settings.sizeCriteria:"SelectExactMatch";this.adSlotIds=this.settings.adSlotIds!=null?this.settings.adSlotIds:[];this.nearMatchPercent=typeof this.settings.nearMatchPercent==="number"&&this.settings.nearMatchPercent> 0&&this.settings.nearMatchPercent<=100?this.settings.nearMatchPercent:90},dT=function(a,b){var c=[];b.forEach(function(d){a.settings.allowCustom&&(d.bg()&&(isNaN(d.Ba())||isNaN(aT(d))||aT(d)===d.Ba())&&bT(a,d)?c.push(d):(d=cT(a,d),d!=null&&d.bg()&&c.push(d)))});return c};$S.prototype.lb=function(){return this.resourceType}; var bT=function(a,b){var c;if(c=b.getContentType()!=="Flash"){if(c=a.resourceType==="All"||a.resourceType===b.lb())c=b.getContentType(),c=c==null?!0:a.creativeType==="All"||a.creativeType===c;c&&(c=b.getAdSlotId(),c=a.adSlotIds.length===0?!0:c!=null?a.adSlotIds.includes(c):!1)}if(c)if(c=b.getSize(),(b=b.Ze())||a.g.jb)a=b&&a.g.jb;else if((b=a.sizeCriteria==="IgnoreSize")||(b=a.g.size,b=b==c?!0:b&&c?b.width==c.width&&b.height==c.height:!1),b)a=!0;else{if(b=a.sizeCriteria==="SelectNearMatch")b=c.width, c=c.height,b=b>a.g.size.width||c>a.g.size.height||b0?k:-1;this.G=m?m.slice():[];this.K=n?n.slice():[];this.pa=p?p.slice():[];t!=null&&t.forEach(function(ea,Ub){ia.ga.set(Ub,ea)});this.Va=(this.l=A!=null)?B:!1;this.Bd=this.l?D:!1;this.O=G(A);this.pa.forEach(function(ea){ea.ad=ia});this.o=new QH;SH(this.o,new AG);N&&SH(this.o,new GG);SH(this.o,new nF);SH(this.o,new VF);T(U(),"ghmsh_eids",fB());wT(this.o);this.j=RH(this.o,new jF([v]),new $C);xT(this,r)},wT=function(a){var b=[{type:"itag",Ld:22},{type:"itag", Ld:18}];(Ae||FF()||ue&&Be)&&b.unshift({type:"hls"});SH(a,new vG(new oI(b)))},zT=function(a){var b=a.g;return a.jc()?b.Ec:[]};l=yT.prototype;l.jc=function(){var a=this.g;return a!=null&&a instanceof lS};l.getAdSystem=function(){return this.Na!=null?this.Na:""};l.getAdvertiserName=function(){return this.aa!=null?this.aa:""};l.getApiFramework=function(){var a=this.g;return a!=null?a.getApiFramework():null};l.getTitle=function(){return G(this.title)};l.getDescription=function(){return G(this.description)}; var AT=function(a){for(var b=[];a!=null;)b=[].concat(u(a.G),u(b)),a=a.X;return b},BT=function(a){return a.X!=null?BT(a.X).concat(a.K):a.K};yT.prototype.getSurveyUrl=function(){return this.ba};yT.prototype.getDealId=function(){var a=this.dealId!=null?this.dealId:"",b=this.X;return b!=null?(b=b.getDealId(),E(b)?a:b):a}; yT.prototype.getContentType=function(){if(SS(this)!=null)return"application/javascript";if(CT(this))return"image/jpeg";var a=this.g,b="";if(a===null)return b;if(a instanceof lS)a=a.g,a!==null&&(b=G(a.mimeType));else if(a instanceof nS)switch(a.lb()){case "IFrame":case "Html":b="text/html";break;case "Static":b=G(a.creativeType)}return b};var DT=function(a){return a.X!=null?a.A.concat(DT(a.X)):a.A};yT.prototype.getTraffickingParametersString=function(){return this.g!=null?this.g.ka:""}; var ET=function(a,b){return a.ga.get(b)},UR=function(a){for(var b=new Map;a;)a.ga.forEach(function(c,d){var e=b.get(d);e?b.set(d,[].concat(u(e),[c])):b.set(d,[c])}),a=a.X;return b},FT=function(a,b){var c=[];a.ga.forEach(function(d){c=c.concat(nT(d,b))});return c},US=function(a){return FT(a,"integrationDebug").map(function(b){return b+"&sdkv=[SDKV]"})},GT=function(a,b,c){c=c===void 0?null:c;a.g=b;a.C=new Ye(0,0);a.g&&(c=a.g,a.g instanceof nS&&(a.C=a.g.getSize()));if(b=a.X){var d=iS(c,b)||iS(c,b,!0); GT(b,d,c)}c=a.Db;a=a.getDuration();c.g=a},IT=function(a){if(a.ma){var b=new jF(HT(a));a.j=RH(a.o,b)}},HT=function(a){return a.X?[a.Td].concat(u(HT(a.X))):[a.Td]},JT=function(a){var b=0;for(a=a.X;a!=null;)a=a.X,b++;return b};l=yT.prototype;l.getAdId=function(){return this.adId!=null?this.adId:""};l.getWrapperAdIds=function(){var a=ET(this,"inred_info");a=a?a.j:[];var b=this.X?this.X.getAdId():[],c=this.X?this.X.getWrapperAdIds():[];return[].concat(a,b,c)}; l.getCreativeAdId=function(){var a=this.g;return a!=null?G(a.getCreativeAdId()):""};l.getCreativeId=function(){var a=this.g;return a!=null?(a=a.getCreativeId(),a!=null?a:""):""};l.getWrapperCreativeIds=function(){var a=ET(this,"inred_info");a=a?a.o:[];var b=this.X?this.X.getCreativeId():[],c=this.X?this.X.getWrapperCreativeIds():[];return[].concat(a,b,c)}; l.getWrapperAdSystems=function(){var a=ET(this,"inred_info");a=a?a.l:[];var b=this.X?this.X.getAdSystem():[],c=this.X?this.X.getWrapperAdSystems():[];return[].concat(a,b,c)};var KT=function(a){if(a.X){var b=KT(a.X);if(b)return b}return(a=ET(a,"metrics"))?a.j:null};yT.prototype.getUniversalAdIds=function(){var a=this.g;return a!=null?a.getUniversalAdIds():[]};yT.prototype.getUniversalAdIdValue=function(){var a=this.getUniversalAdIds();return a.length?a[0].getAdIdValue():"unknown"}; yT.prototype.getUniversalAdIdRegistry=function(){var a=this.getUniversalAdIds();return a.length?a[0].getAdIdRegistry():"unknown"};var LT=function(a){if(a.X){var b=LT(a.X);if(b)return b}return(a=ET(a,"metrics"))?a.l:null},MT=function(a){if(a.X==null)return[a.D];var b=MT(a.X);b.push(a.D);return b},NT=function(a){a=ET(a,"waterfall");return a==null?-1:a.j};yT.prototype.getPodIndex=function(){if(this.Ma!==-1)return this.Ma;var a=ET(this,"pod");return a==null?-1:a.Ba()}; yT.prototype.Pd=function(){if(!this.L){this.L=!0;var a;(a=this.B)==null||a.Pd(this.getDuration());a=this.X;a!=null&&a.Pd()}};var OT=function(a){var b;if((b=a.B)==null?0:b.Hf())return a.B;a=a.X;return a!=null?OT(a):null};yT.prototype.getCompanionAds=function(a,b){b=b===void 0?new YS:b;return dT(new $S(a,b),DT(this))};yT.prototype.eg=function(){for(var a=this;a;){if(PT(a))return!1;a=a.X}return!0}; var QT=function(a,b){return b||a.X==null?a.J:a.J.concat(QT(a.X))},xT=function(a,b){a.J=b?b.slice():[];a.J.forEach(function(c){a.A=a.A.concat(c.g.slice())});a.A.forEach(function(c){RT(c,a)})},ST=function(a,b){return a.pa.some(function(c){return c instanceof lS&&b==="linear"||c instanceof nS&&b==="nonlinear"?!0:!1})};yT.prototype.isLinear=function(){return this.T?this.V:TT(this)?!0:ST(this,"linear")};yT.prototype.isSkippable=function(){return UT(this)!=null}; var TT=function(a){var b=a.g,c=a.ma!=null&&a.ma.forceNonLinearFullSlot!=null&&a.ma.forceNonLinearFullSlot;return PT(a)&&b!=null&&b instanceof nS&&(a.C.height>90||c)},VT=function(a,b){if(b==null)return null;var c=ET(b,"adx");return c!=null?c:VT(a,b.X)},UT=function(a){var b=VT(a,a.X);if(b!=null)return b.isSkippable()?b.offset:null;b=null;var c=new uT(5,!1);a:{var d=q(a.ga.values());for(var e=d.next();!e.done;e=d.next())if(nT(e.value,"skip").length!==0){d=!0;break a}d=a.ga.get("DFP");d=d instanceof oT&& d.j?!0:!1}e=a.g;b==null&&e!=null&&e instanceof lS&&(b=e.skipOffset);b==null&&d&&(b=c);return TT(a)?(ET(a,"AdSense"),new uT(5,!1)):b};yT.prototype.getSkipTimeOffset=function(){var a=UT(this);if(a!=null){var b=this.getDuration();a.g&&b>0&&(a.g=!1,a.value=a.value*b/100);return DQ(a)}return-1};var WT=function(a){return a.g!==null?a.g.Pb():null},XT=function(a){return a.g!=null?a.g.Ie():null},YT=function(a){return a.g!=null?a.g.getDuration():-1},ZT=function(a){return a.N!=null?a.N:0}; yT.prototype.getDuration=function(){if(TT(this))return ET(this,"AdSense"),15+ZT(this);if(this.l){var a=ET(this,"wrapper_info");if(a)return a.getDuration()}return YT(this)+ZT(this)};yT.prototype.getMediaUrl=function(){var a=null,b=this.g;b!=null&&(a=b.getMediaUrl(),E(G(a))&&(a=null));return a};var SS=function(a){return a.g!==null?a.g.ah():null},aU=function(a){a=ET(a,"InfoCards");return a!=null&&$T(a)!=null};l=yT.prototype; l.getVastMediaWidth=function(){var a=0,b=this.g;b&&(b instanceof lS?(b=b.g,b!==null&&(a=b.getWidth())):b instanceof nS&&(a=b.getSize().width));return a};l.getVastMediaHeight=function(){var a=0,b=this.g;b&&(b instanceof lS?(b=b.g,b!==null&&(a=b.getHeight())):b instanceof nS&&(a=b.getSize().height));return a};l.getWidth=function(){return this.isLinear()?0:this.C.width};l.getHeight=function(){return this.isLinear()?0:this.C.height};l.getUiElements=function(){return this.uiElements}; l.getMinSuggestedDuration=function(){return this.g==null?-2:this.g instanceof nS?this.g.getMinSuggestedDuration():this.g.getDuration()};l.getAdPodInfo=function(){return this.Db}; var PT=function(a){return["ADSENSE","ADSENSE/ADX","ADSENSE-VIRAL"].includes(a.D)},CT=function(a){return a.jc()?a.g.ab.some(function(b){return G(b.fa)==="Safeframe"}):!1},bU=function(a){return a.jc()?a.g.ab.some(function(b){return G(b.fa)==="SIMID"}):!1},cU=function(a,b,c){a.disableUi=c&&b;(c||b)&&AQ().report(60,{ui_disabled_available:c,ui_disable_requested:b},!0);return a.disableUi},dU=function(a){var b=[];a.g instanceof lS&&b.push.apply(b,u(a.g.va));a.X&&b.push.apply(b,u(dU(a.X)));var c=new Set, d=[];b.forEach(function(e){c.has(e.yb)||(c.add(e.yb),d.push(e))});return d},eU=function(a){var b=a.Y.slice();a=ET(a,"adVerifications");a!=null&&(b=b.concat(a.wc()));return b};yT.prototype.wc=function(){var a=eU(this),b=this.X;b!=null&&(a=b.wc().concat(a));return a}; var gU=function(a){for(var b=fU(a),c;((c=a)==null?void 0:c.X)!=null;){a=a.X;var d=void 0;b=((d=a)==null?void 0:fU(d))||b}return b},fU=function(a){a=a.ga.get("EoidCookieExtension");return a instanceof pT?a.j:null},iU=function(a,b){for(var c=hU(a,b),d;((d=a)==null?void 0:d.X)!=null;){a=a.X;var e=void 0;c=((e=a)==null?void 0:hU(e,b))||c}return c},hU=function(a,b){a=a.ga.get(b?"GfpCookieV2Extension":"GfpCookieV1Extension");return a instanceof sT?a.j:null}; yT.prototype.getVastMediaBitrate=function(){if(this.jc()){var a=this.g.g;if(a!=null)return a.Da||0}return 0}; var jU=function(a){var b={};b.adId=a.getAdId();b.adPodInfo=$Q(a.getAdPodInfo());b.adQueryId=a.Xb;b.adSystem=a.getAdSystem();b.adWrapperCreativeIds=a.getWrapperCreativeIds();b.adWrapperIds=a.getWrapperAdIds();b.adWrapperSystems=a.getWrapperAdSystems();b.advertiserName=a.getAdvertiserName();b.apiFramework=a.getApiFramework();var c=a.g;c!=null&&(b.attributionParams=c.Ie(),b.clickThroughUrl=c.Pb()||"");b.contentType=a.getContentType();b.creativeAdId=a.getCreativeAdId();b.creativeId=a.getCreativeId(); b.dealId=a.getDealId();b.description=a.getDescription();b.disableUi=a.disableUi;b.duration=a.getDuration();b.height=a.getHeight();b.linear=a.isLinear();b.mediaUrl=a.getMediaUrl();b.minSuggestedDuration=a.getMinSuggestedDuration();b.skippable=a.isSkippable();b.skipTimeOffset=a.getSkipTimeOffset();b.surveyUrl=a.getSurveyUrl();b.title=a.getTitle();b.traffickingParameters=a.getTraffickingParametersString();b.uiElements=a.getUiElements();b.universalAdIds=vT(a.getUniversalAdIds());b.universalAdIdRegistry= a.getUniversalAdIdRegistry();b.universalAdIdValue=a.getUniversalAdIdValue();b.vpaid=SS(a)!=null;b.width=a.getWidth();b.vastMediaBitrate=a.getVastMediaBitrate();b.vastMediaHeight=a.getVastMediaHeight();b.vastMediaWidth=a.getVastMediaWidth();return b},kU=function(a){var b=a.g,c=b!=null?hS(b):new BQ;BT(a).forEach(function(d){EQ(c,"impression",d.url,null,d.g)});AT(a).forEach(function(d){EQ(c,"error",d)});UR(a).forEach(function(d){d.forEach(function(e){GQ(c,e.g)})});return c.W},lU=function(a){for(var b= [];a!=null;)a.ga.forEach(function(c){b=[].concat(u(b),u(c.re))}),a=a.X;return b};yT.prototype.isCustomClickTrackingUsed=function(){return(this.eg()?EF():!1)&&fQ().Uc};function mU(a,b){var c=G(a);E(c)?b=a:JE(c)?(a=c,c=eQ(fQ()),a=KE(a,"&sdkv="+c),fQ().Ga&&(a=KE(a,"&ssss=gima")),b!=="impression"&&b!=="click"&&(a=KE(a,"&vci=[CREATIVE_PLAYBACK]")),b=a):b=c;return b}function nU(a){a=G(a);if(E(a))return!1;try{Yd(a)}catch(b){return!1}return!0};var oU=function(a,b){this.g=a;this.j=b};var pU=function(a,b,c){this.g=a;this.gh=b;this.l=c;this.j=null};l=pU.prototype; l.getContent=function(){var a=this.g.getContent();this.j!==null&&(a='
\n \n \n \n '+a+"\n
");var b=this.g.g;if(a&&b){var c= a.toLowerCase();c.indexOf("-1||c.indexOf("-1||(b=b.toLowerCase(),a=b.indexOf("-1||b.indexOf("-1?""+a+"":a)}return a};l.getContentType=function(){return this.g.getContentType()};l.getWidth=function(){return this.g.getWidth()};l.getHeight=function(){return this.g.getHeight()};l.Ze=function(){return this.g.Ze()};l.bg=function(){return this.g.bg()};l.Ba=function(){return this.g.Ba()}; var aT=function(a){var b;a=(b=a.g.getAd())==null?void 0:b.g;return a!=null?a.Ba():NaN};l=pU.prototype;l.getSize=function(){return this.g.getSize()};l.lb=function(){return this.g.lb()};l.getAdSlotId=function(){return this.l};l.getApiFramework=function(){return this.g.getApiFramework()||""};l.getAd=function(){return this.g.getAd()}; var RT=function(a,b){a.g.ad=b;a.gh.forEach(function(c){RT(c,b)});qU(a,b)},qU=function(a,b){var c,d;a.j=((d=((c=UR(b).get("companionAta"))!=null?c:[])[0])==null?void 0:d.j)||null},rU=function(a){var b={};b.apiFramework=a.getApiFramework();b.content=a.getContent();b.size=a.getSize();b.fluidSize=a.Ze();b.resourceType=a.lb();b.resourceValue=a.g.g;b.contentType=a.getContentType();b.sequenceNumber=a.Ba();b.mainAdSequenceNumber=aT(a);b.adSlotId=a.getAdSlotId();b.backupCompanions=a.gh.map(function(c){return rU(c)}); b.height=a.getSize().height;b.width=a.getSize().width;return b};var sU=function(a,b,c,d){nS.call(this,a,b,"Html",c,d)};w(sU,nS);sU.prototype.Wc=function(a){return new uM({height:this.getHeight(),width:this.getWidth(),Ka:this.g,attribution:a.qa},"html",a.rc)};sU.prototype.Of=function(){var a=nf("DIV");Sd(a,uB(this.g));return pS(this,a)};var tU=function(a,b,c,d){nS.call(this,a,b!=null?b:new Ye(0,0),"Static",c,d);this.l=b==null};w(tU,nS);tU.prototype.getContent=function(){var a=nS.prototype.getContent.call(this);this.o&&(a=a.replace(' src=""',' src="'+dS(G(this.g))+'"'));return a};tU.prototype.Wc=function(a){var b=this.o?"":dS(G(this.g));return new uM({height:this.l?void 0:this.getHeight(),width:this.l?void 0:this.getWidth(),Ka:b,attribution:a.qa},"image",a.rc)}; tU.prototype.Of=function(){var a=this.Wc(new tT).Fa(),b=nf("a",{target:"_blank",id:this.getAdId()});b.setAttribute("href",dS(G(this.Pb())));FE(this.j,b);b.appendChild(a);return b};var uU=function(a,b){nS.call(this,a,b,"Static","text","");this.l=null};w(uU,nS);uU.prototype.getSize=function(){return new Ye(this.getWidth(),this.getHeight())};uU.prototype.getHeight=function(){return 63};uU.prototype.getWidth=function(){return this.l!=null?Wn(this.l).width:0};var vU=function(a,b){if(b!=null){var c=nf("a");c.setAttribute("href",dS(G(a.Pb())));FE(a.j,c);var d;(d=b.parentElement)==null||d.replaceChild(c,b);c.appendChild(b)}}; uU.prototype.Of=function(){this.l=this.Wc(new tT).Fa();this.l.id=this.getAdId();vU(this,ef("textImageContainer",this.l));vU(this,ef("overlayTextTitle",this.l));return this.l}; var wU=function(a,b){var c=a.getAd();if(!c)return{};a=ET(c,"AdSense");var d=ET(c,"TextAd"),e=d.me||"",f="rtl";e!=null&&(f=Ez.test.call(Ez,e)?"rtl":"ltr");e={title:e,text:(d.ne||"")+" "+(d.oe||""),dir:f};if(d=d.Ha)e.image=dS(d),c=c.pa.find(function(g){return g instanceof lS}),c!=null&&(e.duration=MC(c.getDuration()));a.Mc&&(e.Mc=a.Mc);e.attribution=a.qa?a.qa:b;return e};uU.prototype.Wc=function(a){return new uM(wU(this,a.qa),"text",a.rc)};function xU(a,b,c){if(c.length===0)return new nS(a,b,"",null,"");var d=yU(c);c=d.lb();var e=d.creativeType;d=d.g;AQ().report(95,{rt:c,ct:e});switch(c){case "Html":return new sU(a,b,e,d);case "Static":if(e!=null)switch(xO[e]){case "Image":return new tU(a,b,e,d);case "Text":return new uU(a,b)}}return new nS(a,b,c,e,d)} function yU(a){var b=a.find(function(f){return f.lb()==="IFrame"}),c=a.find(function(f){return f.lb()==="Html"}),d=a.find(function(f){var g=f.creativeType;return f.lb()==="Static"&&g!=null&&xO[g]==="Image"}),e=a.find(function(f){var g=f.creativeType;return f.lb()==="Static"&&g!=null&&xO[g]==="Text"});return b!=null?b:c!=null?c:d!=null?d:e!=null?e:a[0]};function zU(a,b,c,d,e){var f=yU(e),g=xU(a.id,a.size,[f]),h=function(m){m.o=!0;m.fa=a.fa;m.j=b;m.A=c;d&&(m.W=d);m.jb=!!a.jb};h(g);e.splice(e.indexOf(f),1);var k=[];e.forEach(function(m){m=xU(a.id,a.size,[m]);h(m);k.push(new pU(m,[],a.td))});return new pU(g,k,a.td)};var AU=function(a,b,c){this.resourceType=a;this.creativeType=b;this.g=c};AU.prototype.lb=function(){return this.resourceType};AU.prototype.getContentType=function(){return this.creativeType==null?null:xO[this.creativeType]||"Other"};var BU=function(a,b){lT.call(this,b);this.j=a};w(BU,lT);var CU=function(a){lT.call(this);this.duration=a};w(CU,lT);CU.prototype.getDuration=function(){return this.duration};var DU=function(a){lT.call(this);this.qb=a};w(DU,lT);DU.prototype.wc=function(){return this.qb};var EU=function(a,b,c,d,e,f,g,h,k){lT.call(this,h,k);this.qa=a;this.tb=b;this.be=c;this.Mc=d;this.j=e;this.uiConfig=f;this.Be=g};w(EU,lT);var FU=function(a,b){lT.call(this);this.j=a;this.offset=b};w(FU,lT);FU.prototype.isSkippable=function(){return this.j};var GU=function(a){lT.call(this);this.j=a};w(GU,lT);var HU=function(a){lT.call(this);this.df=a};w(HU,lT);var IU=function(a){lT.call(this);this.j=a};w(IU,lT);var JU=function(a){lT.call(this);this.j=a};w(JU,lT);var KU=function(a,b){lT.call(this,b);this.wd=a};w(KU,lT);var $T=function(a){var b=[];a=q(a.wd);for(var c=a.next();!c.done;c=a.next())c=c.value,c.type===1&&b.push(c);return b.length>0?b[0]:null};var LU=function(a,b,c){lT.call(this);this.j=a;this.l=b;this.o=c};w(LU,lT);var MU=function(a,b){lT.call(this);this.j=a;this.l=b};w(MU,lT);var NU=function(a){lT.call(this);this.j=a};w(NU,lT);var OU=function(a){lT.call(this);this.dealId=a};w(OU,lT);OU.prototype.getDealId=function(){return this.dealId};var PU=function(a,b,c,d,e){lT.call(this);this.o=a;this.l=b;this.C=c;this.j=d;this.A=e};w(PU,lT); PU.prototype.init=function(){if(this.o&&this.l&&(this.C&&this.j||this.A)){var a=this.o,b=this.l,c=this.C,d=this.j,e=this.A,f=window,g=c?"//pagead2.googlesyndication.com/bg/"+Zd(c)+".js":"";c=f.document;var h={};b&&(h._scs_=b);h._bgu_=g;h._bgp_=d;h._li_="v_h.3.646.1";e&&(h._upb_=e);(b=f.GoogleTyFxhY)&&typeof b.push=="function"||(b=f.GoogleTyFxhY=[]);b.push(h);b=af(c);b=pf(b.g,"SCRIPT");b.type="text/javascript";b.async=!0;a=Ue(bt,Zd(a)+".js");Wd(b,a);(f=(f.GoogleTyFxhYEET||{})[b.src])?f():c.getElementsByTagName("head")[0].appendChild(b)}};var QU=function(a,b,c,d,e,f){lT.call(this);this.me=a;this.ne=b;this.oe=c;this.Ha=d;this.imageWidth=e;this.imageHeight=f};w(QU,lT);var RU=function(a){lT.call(this);this.j=a};w(RU,lT);var SU=function(a){lT.call(this);this.j=a};w(SU,lT);SU.prototype.Ba=function(){return this.j};var TU=function(a){lT.call(this);this.j=isNaN(a)?-1:a};w(TU,lT);var UU=function(a,b,c,d,e,f,g,h,k,m){k=dS(G(k));ZE.call(this,k,{height:h,width:g,vb:a,mimeType:b,fa:m,bitrate:d,Da:e,maxBitrate:f,codec:c});this.g=uG(k)};w(UU,ZE);UU.prototype.getWidth=function(){return this.width||0};UU.prototype.getHeight=function(){return this.height||0};UU.prototype.getApiFramework=function(){return this.fa};var WU=function(a,b){var c=Array.prototype.slice.call(arguments),d=c.shift();if(typeof d=="undefined")throw Error("[goog.string.format] Template required");return d.replace(/%([0\- \+]*)(\d+)?(\.(\d+))?([%sfdiu])/g,function(e,f,g,h,k,m,n,p){if(m=="%")return"%";var r=c.shift();if(typeof r=="undefined")throw Error("[goog.string.format] Not enough arguments");arguments[0]=r;return VU[m].apply(null,arguments)})},VU={s:function(a,b,c){return isNaN(c)||c==""||a.length>=Number(c)?a:a=b.indexOf("-",0)>-1? a+ee(" ",Number(c)-a.length):ee(" ",Number(c)-a.length)+a},f:function(a,b,c,d,e){d=a.toString();isNaN(e)||e==""||(d=parseFloat(a).toFixed(e));var f=Number(a)<0?"-":b.indexOf("+")>=0?"+":b.indexOf(" ")>=0?" ":"";Number(a)>=0&&(d=f+d);if(isNaN(c)||d.length>=Number(c))return d;d=isNaN(e)?Math.abs(Number(a)).toString():Math.abs(Number(a)).toFixed(e);a=Number(c)-d.length-f.length;return d=b.indexOf("-",0)>=0?f+d+ee(" ",a):f+ee(b.indexOf("0",0)>=0?"0":" ",a)+d},d:function(a,b,c,d,e,f,g,h){return VU.f(parseInt(a, 10),b,c,d,0,f,g,h)}};VU.i=VU.d;VU.u=VU.d;var XU=function(a){this.j=a};w(XU,EO);XU.prototype.g=function(){var a=this;try{var b=YU(this)}catch(d){throw vR(XO,d);}var c=b.g.map(function(d){d=a.getAd(d);var e=CE(a.j)||0;d.F=e;TS(d,"vl");return d});return new rR(c,null,b.se)}; XU.prototype.getAd=function(a){var b=a.Ta,c=null,d=null,e=!1,f=null,g=!1,h=null,k=null;b instanceof yG?(c=b.Bf,d=b.ud,f=b.description,h=b.sf):b instanceof sH&&(e=b.Va,g=b.Bd,k=b.zf);var m=ZU(b.ga),n=m==null;a:{var p=b.Na;if(E(G(p)))p="UNKNOWN";else switch(p=p.toUpperCase(),p){case "ADSENSE":case "ADSENSE/ADX":case "ADSENSE-VIRAL":case "DART":case "DART_DFP":case "DART_DFA":case "FREEWHEEL":case "GDFP":case "402":case "YT:ADSENSE":case "YT:DOUBLECLICK":case "YT:FREEWHEEL":case "VIRAL":case "VIRAL-RESERVE":break a; default:p="UNKNOWN"}}return new yT(a.id||"",b.Na,p,c,d,f,h,this.getDealId(b.ga),a.Ma||0,$U(b.g),aV(b.j),bV(this,b.pa,m),cV(this,b.pa),dV(this,b.ga,n),a,k,e,g,this.wc(b.qb),!m)}; var ZU=function(a){if(!fQ().l&&JQ())return aB(oC)||aB(pC)||aB(rC)||aB(sC)||aB(qC)?JB(U(),"ima_lvp_nss_ycs"):JB(U(),"ima_lvp_nss_ncs"),null;if(!(aB(oC)||aB(pC)||aB(rC)||aB(sC)||aB(qC)))return JB(U(),"ima_lvp_ncs"),null;JB(U(),"ima_lvp_ycs");var b=a.find(function(e){return e instanceof FG}),c=a.find(function(e){return e instanceof RF});if(!(b instanceof FG)||c)return JB(U(),"ima_lvp_ycs_ns"),null;c=a.find(function(e){return e instanceof YF});a=a.find(function(e){return e instanceof pF});var d={};return d.channelCustomUrl= b.If,d.channelId=b.Qc,d.channelThumbnailUrl=b.Yd,d.channelTitle=b.Zd,d.cpn=c instanceof YF?c.o:null,d.format=b.format,d.isSkippable=b.format!=="BUMPER"&&b.format!=="NONSKIPPABLE",d.isTrueView=b.Ac,d.isVideoUnlisted=b.Kd,d.title=b.Fe,d.videoThumbnailUrl=b.tf,d.wtaUrl=a instanceof pF?a.Wb:null,d.youtubeVideoId=b.Lc,d.engagedViewUrls=[],d.infoCards=[],d},eV=function(a,b){return nU(a)?mU(a,b):null},$U=function(a){var b=[];a.forEach(function(c){(c=eV(c,"error"))&&b.push(c)});return b},aV=function(a){var b= [];a.forEach(function(c){var d=eV(c.url,"impression");d&&b.push(new RA(d,c.g))});return b},cV=function(a,b){var c=[];b.forEach(function(d){d.ae!=null&&(d=a.getCompanionAds(d.ae,d.Ma||0),c.push(d))});return c};XU.prototype.getCompanionAds=function(a,b){var c=this,d=[];a.g.forEach(function(e){(e=fV(c,e,b))&&d.push(e)});return new oU(d,gV(a.j))}; var fV=function(a,b,c){var d={fa:b.fa,size:a.getSize(b.width,b.height),id:b.id,td:b.td,jb:b.jb},e=b.Lf||null;a=hV(a,b.resources);if(a.length===0)return null;var f=iV(b.W);b.Mf.forEach(function(g){EQ(f,"click",g.url,null,g.g)});return zU(d,e,c,f,a)},gV=function(a){a=a!=null?a.toLowerCase():"";return a==="all"?"all":a==="any"?"any":"none"},bV=function(a,b,c){var d=[];b.forEach(function(e){e.Tb!=null?d.push(jV(a,e,c)):e.te!=null&&(d=d.concat(kV(a,e)))});return d},jV=function(a,b,c){var d=b.Tb,e=d.ab; e.length>0?JB(U(),"ima_lvp_nvs"):JB(U(),"ima_lvp_yvs");c&&(e=WU("https://imasdk.googleapis.com/js/simid/simid_trueview_%s.html",sP.getLocale()),e=[new VE(new OE(e,"Url"),{mimeType:"text/html",fa:"SIMID",De:!1})]);e=new lS(d.duration?d.duration/1E3:0,lV(d.qd),mV(d.Ec),e,nV(d.Nb),oV(a,d.va));var f=iV(d.W);pV(d.qd).forEach(function(g){EQ(f,"click",g.url,null,g.g)});d.qd&&d.qd.Oe.forEach(function(g){c&&aB(pC)&&g.id==="engagedView"?c.engagedViewUrls.push(g.url):EQ(f,g.id?g.id:"",g.url)});c?fS(e,JSON.stringify(c)): e.ka=d.ka||"";e.A=b.Ma||0;e.creativeId=b.id;e.C=b.adId;f&&(e.W=f);gS(e,a.getUniversalAdIds(b.bb));return e},kV=function(a,b){var c=b.te,d=iV(c.W);c=c.g.map(function(f){return qV(a,f,d)});if(c.length===0&&!d.isEmpty()){var e=new nS(null,new Ye(-1,-1),"",null,"");d&&(e.W=d);c.push(e)}c.forEach(function(f){f.A=b.Ma||0;f.creativeId=b.id;f.C=b.adId;var g=a.getUniversalAdIds(b.bb);f.bb=g});return c},qV=function(a,b,c){var d=-1;b.fd!=null&&(d=b.fd/1E3);a=xU(b.id,a.getSize(b.width,b.height),hV(a,b.resources)); a.ka=b.ka||"";a.fa=b.fa;a.j=b.wg;var e=new BQ;b.xg.forEach(function(f){EQ(e,"click",f.url)});GQ(e,c);e&&(a.W=e);a.fd=d;return a},hV=function(a,b,c){c=c===void 0?!1:c;var d=[];b.forEach(function(e){var f=e.creativeType?e.creativeType.toLowerCase():null,g=a.lb(e.resourceType);g==null||c&&g!=="Static"||f==="text/javascript"||d.push(new AU(g,f,e.g))});return d},oV=function(a,b){var c=[];b.forEach(function(d){(d=rV(a,d))&&c.push(d)});return c},rV=function(a,b){a=hV(a,b.resources,!0);if(a.length===0)return null; a=yU(a);var c=new rE;c.yb=b.yb||"";c.fa=b.fa;c.gb=b.gb;c.j=b.width!=null?b.width:NaN;c.g=b.height!=null?b.height:NaN;c.N=b.kf?b.kf:1;c.Ab=b.Ab?b.Ab.toLowerCase():"left";c.Bb=b.Bb?b.Bb.toLowerCase():"top";c.Ea=b.Ea!=null?b.Ea:0;c.Fb=b.Fb!=null?b.Fb:-1;var d=lV(b.je),e;c.A=(e=d==null?void 0:d.url)!=null?e:null;c.C=EE(d);c.B=pV(b.je).map(function(f){return f.url});c.l=sV(b.je);c.J=b.Ve;c.o=a.g;c.D=a.creativeType;return c},mV=function(a){var b=[];a.forEach(function(c){c=new UU(c.vb?c.vb.toLowerCase(): null,c.mimeType?c.mimeType.toLowerCase():null,c.codec?c.codec.toLowerCase():null,c.Da||0,c.Da||0,c.maxBitrate||0,c.width!=null?c.width:NaN,c.height!=null?c.height:NaN,c.url,c.fa);b.push(c)});return b},lV=function(a){var b;return(b=a==null?void 0:a.Gb)!=null?b:null},pV=function(a){var b=[];return a==null?b:a.tc},sV=function(a){return(a==null?[]:a.Jf).map(function(b){var c=new qE;c.j=b.width||0;c.g=b.height||0;c.l=b.Ka?b.Ka.g:"";c.gb=b.gb;return c})},iV=function(a){var b=new BQ;a.forEach(function(c){var d= eV(c.url,c.eventType);if(d){var e=nV(c.Ea);e==null&&c.Md!=null&&(e=new uT(c.Md,!0));EQ(b,c.eventType,d,e,c.g)}});return b};XU.prototype.lb=function(a){switch(a){case "Static":case "IFrame":case "Html":return a;default:return null}}; var dV=function(a,b,c){var d=new Map;b.forEach(function(e){var f=tV(a,e);e=f.type;f=f.Rl;if(e!=null&&f!=null&&(c||e!=="InfoCards")){var g=d.get(e);g==null?d.set(e,f):e==="generic"&&mT(g,f.g)}});return d},tV=function(a,b){var c=null,d=null;if(b instanceof mF)c="activeview",d=new BU(b.g,iV(b.W));else if(b instanceof yN)c="wrapper_info",d=new CU(b.duration/1E3);else if(b instanceof BG)c="adVerifications",b=a.wc(b.qb),b.length!==0&&(d=new DU(b));else if(b instanceof TH)c="adx",d=new FU(b.j,nV(b.g));else if(b instanceof pF)c="AdSense",d=iV(b.W),d=new EU(b.qa,b.tb,b.be,b.Mc,b.Wb,uV(b.uiConfig),b.Be,d,b.re);else if(b instanceof UH)c="DFP",d=new oT(b.g==="Generic",iV(b.W));else if(b instanceof SF)c="EoidCookieExtension",d=new pT(iE(hE(gE(fE(new eE,b.value),b.g),b.path),b.domain));else if(b instanceof WF)c=b.j?"GfpCookieV2Extension":"GfpCookieV1Extension",d=new sT(iE(hE(gE(fE(new eE,b.value),b.g),b.path),b.domain));else if(b instanceof YF)c="GoogleHostedMediaExtension",d=new IU(b);else if(b instanceof xG)try{var e=Nu(be(b.g)); d=new JU(e);c="GpidWtaExtension"}catch(g){}else if(b instanceof AN)c="inred_info",d=new LU(b.g,b.j,b.l);else if(b instanceof zG)c="metrics",d=new MU(b.g,b.fb);else if(b instanceof CN)c="pod",d=new SU(b.Ma);else if(b instanceof CG)c="programmatic",d=new OU(b.dealId);else if(b instanceof DG)c="sodar",d=new PU(b.l,b.j,b.o,b.g,"");else if(b instanceof DN)c="TextAd",d=new QU(b.me,b.ne,b.oe,b.Ha,b.imageWidth,b.imageHeight);else if(b instanceof EG)c="uiSettings",d=new RU(b.g);else if(b instanceof EN)c="waterfall", d=new TU(b.g);else if(b instanceof lF)c="generic",d=new lT(iV(b.W));else if(b instanceof RF){c="InfoCards";var f=[];b.wd.forEach(function(g){return f.push.apply(f,u(g.W))});d=new KU(b.wd,iV(f))}else if(b instanceof TF)c="esp",d=new qT(b.g);else if(b instanceof zN)c="watermark",d=new HU(b.df,b.j,b.g);else if(b instanceof BN){if(b=rV(a,b.g))c="nonlinearAta",d=new NU(b)}else b instanceof qF&&(b=rV(a,b.g))&&(c="companionAta",d=new GU(b));return{type:c,Rl:d}}; XU.prototype.getUniversalAdIds=function(a){return a.map(function(b){return new yE(b.Xe,b.We)})};XU.prototype.wc=function(a){var b=[];a.forEach(function(c){if(c.ze!=null){var d=iV(c.W).getEvents("verificationNotExecuted");b.push(new lE(c.ze,{Jc:c.Jc||void 0,W:d,vendor:c.vendor||void 0,parameters:c.parameters||void 0}))}});return b};var uV=function(a){var b=new tT;if(a==null)return b;a.qa!=null&&(b.qa=a.qa);b.tb=a.tb;b.vd=a.vd;b.rc=a.rc;return b}; XU.prototype.getDealId=function(a){var b="";a.forEach(function(c){c instanceof CG&&(b=c.dealId||"")});return b};XU.prototype.getSize=function(a,b){return new Ye(a!=null?a:NaN,b!=null?b:NaN)}; var nV=function(a){return a==null?null:new uT(a/1E3,!1)},YU=function(a){var b=new KH;LH(b,new FN);LH(b,new KN);LH(b,new HN);LH(b,new ON);(aB(tC)||aB(uC)||uP("fledge"))&&LH(b,new UN);LH(b,new aO);LH(b,new hO);LH(b,new WN);LH(b,new lO);LH(b,new RN);LH(b,new XN);LH(b,new PN);LH(b,new eO);LH(b,new LN);LH(b,new VN);LH(b,new QN);LH(b,new GN);LH(b,new JN);LH(b,new NN);LH(b,new cO);LH(b,new dO);LH(b,new fO);LH(b,new gO);LH(b,new iO);LH(b,new jO);LH(b,new kO);LH(b,new MN);var c=a.j;if(!c)throw Error("VAST string is empty."); if(!BE(c))throw Error("Response string is not a valid VAST document.");a=[];var d=[];c=q(uf(c));for(var e=c.next();!e.done;e=c.next()){var f=e.value;switch(f.nodeName){case "Ad":var g=void 0,h=b;e={};e.id=f.getAttribute("id");e.Ma=tH(f,"sequence");e.Oc=f.getAttribute("adType");f=q(uf(f));for(var k=f.next();!k.done;k=f.next()){var m=k.value;if(m.nodeName=="InLine"){var n=k=f=g=void 0,p=void 0,r=void 0,t=void 0,v=[],A=[],B=[],D=[];m=q(uf(m));for(var F=m.next();!F.done;F=m.next()){var N=F.value;switch(N.nodeName){case "AdServingId":t= V(N);break;case "AdSystem":r=V(N);break;case "AdTitle":p=V(N);break;case "AdVerifications":D=D.concat(AH(N));break;case "Advertiser":n=V(N);break;case "Creatives":F=q(uf(N));for(N=F.next();!N.done;N=F.next())N=N.value,N.nodeName=="Creative"&&B.push(OH(N));break;case "Description":k=V(N);break;case "Error":V(N)!=null&&v.push(V(N));break;case "Extensions":g=MH(h,uf(N));break;case "Impression":F=EH(V(N));N=xH(N);F!=null&&A.push(new fF(F,N));break;case "Survey":f=V(N)}}g=new yG({rd:t,Na:r,ud:p,Bf:n,description:k, sf:f,errors:v,yc:A,pa:B,qb:D,ga:g});break}else if(m.nodeName=="Wrapper"){f=k=g=void 0;n=h;D=m;p=[];r=[];t=[];h=[];v=D.getAttribute("followAdditionalWrappers")!="false";A=D.getAttribute("allowMultipleAds")=="true";B=D.getAttribute("fallbackOnNoAd")=="true";D=q(uf(D));for(m=D.next();!m.done;m=D.next())switch(F=m.value,F.nodeName){case "AdSystem":f=V(F);break;case "VASTAdTagURI":k=(k=V(F))?k:void 0;break;case "Creatives":m=q(uf(F));for(F=m.next();!F.done;F=m.next())F=F.value,F.nodeName=="Creative"&& t.push(OH(F));break;case "Error":m=V(F);m!=null&&p.push(m);break;case "AdVerifications":h=h.concat(AH(F));break;case "Extensions":g=MH(n,uf(F));break;case "Impression":m=EH(V(F)),F=xH(F),m!=null&&r.push(new fF(m,F))}g=new sH({Na:f,Bd:v,Va:A,Gh:B,zf:k,errors:p,yc:r,pa:t,qb:h,ga:g});break}}if(!g)throw Error("Vast Ad contains neither inline nor wrapper data.");a.push(new iF(g,e));break;case "Error":(e=V(f))&&d.push(e)}}LB(["lima_p_ich","lima_p_icu"]);return new rH({ads:a,se:d})};var vV=function(a,b){this.j=a;this.ma=b;this.adsResponse=null;AQ().report(115,{vmap:!0})};w(vV,EO);vV.prototype.g=function(){this.adsResponse||(this.adsResponse=new rR(null,wV(this),[]));return this.adsResponse}; var wV=function(a){var b=new oR,c=new sO;tO(c);try{var d=vO(c,a.j)}catch(e){throw vR(PO);}d.g.forEach(function(e){var f=e.j;var g=f.Af;f=f.Td;g?g=aD(a.ma,g):f?(g=a.ma.clone(),g.adTagUrl=null,g.adsResponse=f,g.A=!0):g=null;g!=null&&(g=xV(e,g),b.add(e.g,[g]))});if(qR(b).length===0)throw vR(PO);return b},xV=function(a,b){b=new HQ(b);var c=new BQ;a.ga.find(function(d){return d instanceof qO})&&(b.g=!0);a.W.forEach(function(d){var e=d.eventType,f=mU(d.url,e);f&&nU(f)&&e!=null&&EQ(c,d.eventType,f)});b.W= c;return b};function yV(a,b){if(a!=null){if(a&&a.nodeName==="Playlist")return new xR(a,b);if(uO(a))return new vV(a,b);if(BE(a))return new XU(a)}return null};var zV=function(){Mo.apply(this,arguments);this.g=new Set};w(zV,Mo);var AV=function(a,b){var c=lu(function(){a.g.delete(c);b.call(a)});a.g.add(c)};zV.prototype.R=function(){this.g.forEach(function(a){return mu(a)});this.g.clear()};function BV(a){for(var b=a.length,c=new Uint8Array(b),d=0;d1)throw Error("Value for "+a+" is outside the range [0,1]");};function YV(){return/\d+\.\d+\.\d+(-.*)?/.test("1.4.10-google_20240110")}function ZV(){for(var a=["1","4","10"],b=["1","0","3"],c=0;c<3;c++){var d=parseInt(a[c],10),e=parseInt(b[c],10);if(d>e)break;else if(d=0&&(b=b.adEvents);uW.indexOf(a)>=0&&(b=b.mediaEvents);b=b[a];if(!b)throw Error("Unrecognized method name: "+a+".");b.apply(null,u(c))};var zW=function(a,b,c){VV("AdSession.context",a);this.g=eW();this.o=a;this.J=!1;var d=this.o.g||void 0;if(!b){b=mW();var e=e===void 0?hW:e;var f=[b,kW(b)?b.top:jW];d&&f.unshift(d);a:{d=q(f);for(var g=d.next();!g.done;g=d.next()){b:{f=b;g=g.value;var h=e;if(!lW(g))try{var k=pW(g);if(k){var m=new iW(k);break b}}catch(n){}m=h(g)?new nW(f,g):null}if(f=m){b=f;break a}}b=null}}this.A=b;this.D=c||new wW;this.N=this.G=this.F=!1;this.l=this.j=null;this.B=!1;this.C={};this.A&&(this.A.g=this.Zl.bind(this)); this.wa("setClientInfo","1.4.10-google_20240110",this.o.j.name,this.o.j.version,this.g);xW(this,a.B);(a=a.A)&&this.wa("setContentUrl",a,this.g);yW(this)},AW=function(a){return!!a.A||a.D.g!=null};l=zW.prototype;l.registerSessionObserver=function(a){this.sendMessage("registerSessionObserver",a,this.g)};l.start=function(){this.wa("startSession",{customReferenceData:this.o.C,underEvaluation:this.o.o},this.g)};l.error=function(a,b){this.wa("sessionError",a,b,this.g)}; l.wa=function(a){this.sendMessage.apply(this,[a,null].concat(u(Da.apply(1,arguments))))};l.sendMessage=function(a,b){var c=Da.apply(2,arguments);if(this.A){var d=eW();b&&(this.C[d]=b);c=new $V(d,"SessionService."+a,"1.4.10-google_20240110",YV()&&ZV()?c:JSON.stringify(c));this.A.sendMessage(c)}else if(this.D.g!=null)try{this.D.sendMessage(a,b,c)}catch(e){fW("Failed to communicate with SessionInterface with error:"),fW(e)}}; l.Zl=function(a){var b=a.method,c=a.g;a=a.args;if(b==="response"&&this.C[c]){var d=YV()&&ZV()?a?a:[]:a&&typeof a==="string"?JSON.parse(a):[];this.C[c].apply(this,d)}b==="error"&&window.console&&fW(a)};var xW=function(a,b){b&&(b=b.map(function(c){return c.toJSON()}),a.wa("injectVerificationScriptResources",b,a.g))},yW=function(a){a.registerSessionObserver(function(b){b.type==="sessionStart"&&(a.N=!0,a.j=b.data.creativeType,a.l=b.data.impressionType);b.type==="sessionFinish"&&(a.N=!1)})}; TC("OmidSessionClient.AdSession",zW);var BW=function(a){VV("AdEvents.adSession",a);this.j=a.g;try{if(a.F)throw Error("AdEvents already registered.");a.F=!0;a.wa("registerAdEvents",a.g);this.g=a}catch(b){throw Error("AdSession already has an ad events instance registered");}}; BW.prototype.loaded=function(a){a=a===void 0?null:a;var b=this.g;if(b.j==="definedByJavaScript")throw Error("Creative type has not been redefined");if(b.l==="definedByJavaScript")throw Error("Impression type has not been redefined");b.B=!0;a=a?a.toJSON():null;this.g.wa("loaded",a,this.j)};TC("OmidSessionClient.AdEvents",BW);var CW=function(a){VV("MediaEvents.adSession",a);this.j=a.g;try{if(a.G)throw Error("MediaEvents already registered.");a.G=!0;a.wa("registerMediaEvents",a.g);this.g=a}catch(b){throw Error("AdSession already has a media events instance registered");}};CW.prototype.start=function(a,b){WV("MediaEvents.start.duration",a);XV("MediaEvents.start.mediaPlayerVolume",b);this.g.wa("start",a,b,this.j)};CW.prototype.pause=function(){this.g.wa("pause",this.j)};CW.prototype.resume=function(){this.g.wa("resume",this.j)}; var DW=function(a,b){VV("MediaEvents.playerStateChange.playerState",b);a.g.wa("playerStateChange",b,a.j)},EW=function(a,b){VV("MediaEvents.adUserInteraction.interactionType",b);a.g.wa("adUserInteraction",b,a.j)};TC("OmidSessionClient.MediaEvents",CW);var FW=function(a,b,c,d){M.call(this);this.ad=a;this.L=b;this.K=c;this.omidAccessModeRules=d;this.ra=this.l=null;this.B=[];this.G=this.T=this.D=this.V=!1;this.A=this.g=this.F=this.j=null;this.o=new SG(this);this.o.listen(this.L,tQ,this.Y);this.o.listen(this.L,["adError","streamError"],this.da)};w(FW,M); var MW=function(a,b,c){var d=GW(a);d.length===0?HW(a,"noVerifications"):(b=new sW(b,d,fQ().j),c&&(b.l(c),c=Object.keys(a.omidAccessModeRules).length>0,b.o=!c,AQ().report(159,{pcp:c})),a.j=new zW(b),AW(a.j)?(a.F=new BW(a.j),a.g=new CW(a.j),a.j.registerSessionObserver(function(e){if(!IW(a))switch(e.type){case "sessionStart":TS(a.ad,"ss");e=e.data;a.D=!0;JW(a,e==null?void 0:e.creativeType);KW(a,e==null?void 0:e.impressionType);LW(a);break;case "sessionFinish":TS(a.ad,"sf");a.T=!0;O(a,new dt("omidAdSessionCompleted")); break;case "sessionError":TS(a.ad,"se")}}),a.V=!0,JW(a),KW(a),a.j.start()):(a.j=null,HW(a,"notSupported")))};FW.prototype.Y=function(a){this.G||IW(this)||(a.type!=="firstQuartile"||this.D||TS(this.ad,"bf"),a.type!=="complete"||this.D||TS(this.ad,"bc"),this.B.push(a),LW(this))};FW.prototype.da=function(a){this.B.push(a);LW(this)};FW.prototype.O=function(){LW(this)}; var NW=function(a){if(!a.G){a.G=!0;var b;(b=a.j)!=null&&b.wa("finishSession",b.g);lu(function(){IW(a)||(TS(a.ad,"le"),HW(a,"sessionLingering"))},5E3)}},LW=function(a){if(a.D&&!IW(a))for(;a.B.length>0;){var b=a.B[0];if(b.type==="start"&&(a.l==null?0:a.l.getVolume())<0)break;a.B.shift();var c=a;if(b instanceof DR){var d=void 0,e=c;if(e.F&&e.g)switch(b.type){case "loaded":TS(e.ad,"oml");b=e.F;c=b.loaded;var f=e;e="preroll";f.ad.getAdPodInfo().getPodIndex()<0?e="postroll":f.ad.getAdPodInfo().getPodIndex()> 0&&(e="midroll");d=f.ad.isSkippable();var g=f.ad.getSkipTimeOffset();f=f.ad;c.call(b,new TV(d,g,f.ma?f.ma.g==="auto":!1,e));break;case "impression":TS(e.ad,"i");e=e.F;if(!e.g.N)throw Error("Session not started.");b=e.g;if(b.j==="definedByJavaScript")throw Error("Creative type has not been redefined");if(b.l==="definedByJavaScript")throw Error("Impression type has not been redefined");b.J=!0;e.g.wa("impressionOccurred",e.j);break;case "start":TS(e.ad,"ps");e.g.start(e.ad.getDuration(),e.l==null?0: e.l.getVolume());((d=e.l)==null?0:d.Hd())&&DW(e.g,"fullscreen");break;case "firstQuartile":e=e.g;e.g.wa("firstQuartile",e.j);break;case "midpoint":e=e.g;e.g.wa("midpoint",e.j);break;case "thirdQuartile":e=e.g;e.g.wa("thirdQuartile",e.j);break;case "complete":b=e.g;b.g.wa("complete",b.j);NW(e);break;case "pause":e.g.pause();break;case "resume":e.g.resume();break;case "skip":b=e.g;b.g.wa("skipped",b.j);NW(e);break;case "volumeChange":b=b.getAdData();e=e.g;b=b.volume;XV("MediaEvents.volumeChange.mediaPlayerVolume", b);e.g.wa("volumeChange",b,e.j);break;case "click":case "videoClicked":EW(e.g,"click");break;case "fullscreen":DW(e.g,"fullscreen");break;case "exitFullscreen":DW(e.g,"normal");break;case "expand":DW(e.g,"expanded");break;case "collapse":DW(e.g,"collapsed");break;case "acceptInvitation":case "acceptInvitationLinear":EW(e.g,"invitationAccept")}}else b instanceof uR&&(e=void 0,b=b.getError(),TS(c.ad,"e"),(e=c.j)==null||e.error("video",b.toString()),NW(c))}},HW=function(a,b){a.A=b;O(a,new dt("omidAdSessionAbandoned")); TS(a.ad,"ab");a.A==="notSupported"&&OW(a,a.ad.wc(),"3","notSupported")},JW=function(a,b){b=b===void 0?null:b;if(a.j&&(!b||b==="definedByJavaScript")){b=a.j;a=a.ad.getContentType().startsWith("audio")?"audio":"video";if(a==="definedByJavaScript")throw Error("Creative type cannot be redefined with value definedByJavaScript");if(b.J)throw Error("Impression has already occurred");if(b.B)throw Error("Creative has already loaded");if(b.j&&b.j!=="definedByJavaScript")throw Error("Creative type cannot be redefined"); if(b.j===void 0)throw Error("Native integration is using OMID 1.2 or earlier");b.wa("setCreativeType",a,b.g);b.j=a}},KW=function(a,b){b=b===void 0?null:b;if(a.j&&(!b||b==="definedByJavaScript")){a=a.j;if(a.J)throw Error("Impression has already occurred");if(a.B)throw Error("Creative has already loaded");if(a.l&&a.l!=="definedByJavaScript")throw Error("Impression type cannot be redefined");if(a.l===void 0)throw Error("Native integration is using OMID 1.2 or earlier");a.wa("setImpressionType","beginToRender", a.g);a.l="beginToRender"}},IW=function(a){return a.T||a.A!=null};FW.prototype.getAd=function(){return this.ad}; var GW=function(a){for(var b=[],c=a.ad;c!=null;){var d=eU(c),e=[];d=q(d);for(var f=d.next();!f.done;f=d.next())if(f=f.value,f.Jc==="omid")if(f.g==null)OW(a,[f],"3","nullUrl");else{var g=new rW(f.g,f.vendor||void 0,f.parameters||void 0,PV(a.omidAccessModeRules,f.g));b.push(g);e.push(f)}else OW(a,[f],"2");if(d=c.rb)d.j=e;c=c.X}PW(a,b);return b},OW=function(a,b,c,d){var e=[];b=q(b);for(var f=b.next();!f.done;f=b.next())f=f.value,e=[].concat(u(e),u(f.W.map(function(g){return WA(g)})));d&&(e=e.map(function(g){g= new P(g);g.g.set("dbg",d);return g.toString()}));WD(a.K,NS(c));a.K.report("verificationNotExecuted",e)};FW.prototype.R=function(){YG(this.o);Lo(this.o);M.prototype.R.call(this)};var PW=function(a,b){b=b.map(function(c){return[c.j||"",c.g]});AQ().report(129,{omData:JSON.stringify(b)});TS(a.ad,"oms")};var QW=null,RW=function(){M.call(this);this.A=!0;this.zg=new qW("Google1","3.646.1");this.j=[];this.ra=this.B=this.g=null;this.o=new SG(this)};w(RW,M);var SW=function(){QW==null&&(QW=new RW);return QW};RW.prototype.D=function(){this.A=!1;O(this,new dt("omidUnavailable"));AQ().report(128,{status:"disabled",reason:"iframeLoadFailed",description:"The OM SDK iframe failed to load. No measurements can be taken."})}; RW.prototype.ik=function(a,b,c,d){var e=this;d=d===void 0?{}:d;TS(a,"omo");var f=new FW(a,b,c,d);if(!this.A)return OW(f,a.wc(),"3","notEnabled"),null;WG(this.o,b,["show_ad","start","adError"],function(g){switch(g.type){case "show_ad":TW(e,f);break;case "start":TW(e,f);break;case "adError":f.D||OW(f,f.getAd().wc(),"3","A fatal ad error occurred, so no OMID ad session was started.")}});this.o.listen(f,"omidAdSessionAbandoned",function(){UW(!0,f);f.dispose();e.g=null;VW(e)});this.o.listen(f,"omidAdSessionCompleted", function(){UW(!1,f);f.dispose();e.g=null;VW(e)});return f};var TW=function(a,b){b.V||IW(b)||a.j.includes(b)||(a.j.push(b),a.g&&(TS(b.getAd(),"saa"),NW(a.g)),VW(a))},VW=function(a){a.A&&!a.g&&a.j.length!==0&&a.B&&(a.g=a.j.shift(),MW(a.g,a.zg,a.B))};RW.prototype.l=function(a){this.B=a;VW(this)};var UW=function(a,b){var c={es:a?"abandon":"complete",ai:b.getAd().getAdId(),qy:b.getAd().Xb};a&&b.A!=null&&(c.ar=b.A);AQ().report(87,c)};function WW(a){var b="";a.forEach(function(c,d){E(c)||(b+=d+"="+c+"&")});return b.slice(0,-1)};var ZW=function(a,b){this.blockSize=-1;this.blockSize=64;this.o=z.Uint8Array?new Uint8Array(this.blockSize):Array(this.blockSize);this.l=this.j=0;this.g=[];this.C=a;this.A=b;this.B=z.Int32Array?new Int32Array(64):Array(64);XW===void 0&&(z.Int32Array?XW=new Int32Array(YW):XW=YW);this.reset()},XW;Va(ZW,Dy);var $W=[].concat(128,vb(0,63));ZW.prototype.reset=function(){this.l=this.j=0;this.g=z.Int32Array?new Int32Array(this.A):rb(this.A)}; var aX=function(a){for(var b=a.o,c=a.B,d=0,e=0;e>>7|e<<25)^(e>>>18|e<<14)^e>>>3)|0,g=(c[b-7]|0)+((d>>>17|d<<15)^(d>>>19|d<<13)^d>>>10)|0;c[b]=f+g|0}d=a.g[0]|0;e=a.g[1]|0;var h=a.g[2]|0,k=a.g[3]|0,m=a.g[4]|0,n=a.g[5]|0,p=a.g[6]|0;f=a.g[7]|0;for(b=0;b<64;b++){var r=((d>>>2|d<<30)^(d>>>13|d<<19)^(d>>>22|d<<10))+(d&e^d&h^e&h)|0;g=m&n^~m&p;f=f+((m>>>6|m<<26)^(m>>>11|m<<21)^(m>>> 25|m<<7))|0;g=g+(XW[b]|0)|0;g=f+(g+(c[b]|0)|0)|0;f=p;p=n;n=m;m=k+g|0;k=h;h=e;e=d;d=g+r|0}a.g[0]=a.g[0]+d|0;a.g[1]=a.g[1]+e|0;a.g[2]=a.g[2]+h|0;a.g[3]=a.g[3]+k|0;a.g[4]=a.g[4]+m|0;a.g[5]=a.g[5]+n|0;a.g[6]=a.g[6]+p|0;a.g[7]=a.g[7]+f|0},bX=function(a,b,c){c===void 0&&(c=b.length);var d=0,e=a.j;if(typeof b==="string")for(;d=f&&f==(f|0)))throw Error("message must be a byte array"); a.o[e++]=f;e==a.blockSize&&(aX(a),e=0)}else throw Error("message must be string or array");a.j=e;a.l+=c},cX=function(a){var b=[],c=a.l*8;a.j<56?bX(a,$W,56-a.j):bX(a,$W,a.blockSize-(a.j-56));for(var d=63;d>=56;d--)a.o[d]=c&255,c/=256;aX(a);for(d=c=0;d=0;e-=8)b[c++]=a.g[d]>>e&255;return b},YW=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401, 4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];var eX=function(){ZW.call(this,8,dX)};Va(eX,ZW);var dX=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225];var fX=["300x250","640x640","301x301"];function gX(a){var b=[];a.forEach(function(c){c.length>0&&b.push(c.map(function(d){return d.jb?"fluid":d.size.width+"x"+d.size.height}).join("|"))});return b.join(",")}function hX(a,b){var c;a=(c=iX(a,b).get("url"))!=null?c:"";c=new Map;var d=b.Y;d==null||/[;\r\n]/.test(d)?b.ie&&(c.set("eoidce","1"),jX(c,a,b)):c.set("eo_id_str",d);return c} function kX(a,b){var c;a=(c=iX(a,b).get("url"))!=null?c:"";c=new Map;if(!sP.isCookiesEnabled())c.set("co","1");else if(b.Oj&&!HP(b.g)){var d=b.L,e=d!=null&&!/[;\r\n]/.test(d);e&&c.set("cookie",d);d=b.ba;var f=d!=null&&!/[;\r\n]/.test(d);f&&c.set("gpic",d);e&&f||(c.set("cookie_enabled","1"),jX(c,a,b));b=b.hg;b!=null&&!/[;\r\n]/.test(b)&&c.set("pdopt",b)}return c}function jX(a,b,c){c=c.Dj;var d=null;try{d=(new URL(decodeURIComponent(b))).hostname}catch(e){}d!==c&&a.set("cdm",c)} function lX(a,b){var c=new Map,d=fQ().sb;d>0&&c.set("pvsid",d.toString());c.set("correlator",iQ.toString());c.set("scor",jQ.toString());d=b.G;d!=null&&(b.G=null,c.set("fbidx",d.toString()));b.T!=null&&c.set("ppid",b.T);b.A!=null&&c.set("submodel",b.A);b.V!=null&&c.set("cbidsp",b.V);var e=a.adTagUrl||"";d=new Map;var f=b.Tc;f!=null?(e=gX(f),d.set("ciu_szs",e)):e=(new P(e)).g.get("ciu_szs","");uP("audioPosterImageEnabled")&&(f=fX.join(","),e=e===""?f:e+","+f);d.set("ciu_szs",e);e=kX(a,b);f=hX(a,b); !HP(b.g)&&aB(BC)&&a.j&&c.set("aos",a.j);return new Map([].concat(u(d),u(mX(a,b)),u(e),u(f),u(c)))} function nX(a,b,c){var d=new Map;d.set("correlator",iQ.toString());var e=new P(a.adTagUrl),f=e.g;f.get("description_url","")!==""&&(f=f.get("ad_block",""),f=E(f)?c.B.toString():f,d.set("ad_block",f));if(b.length>0&&(f=b[0].getSizes(),f.length>0)){var g;b=(g=f.map(function(k){return k.size.width}).filter(function(k){return k&&k>0})[0])!=null?g:-1;var h;g=(h=f.map(function(k){return k.size.height}).filter(function(k){return k&&k>0})[0])!=null?h:-1;b!==-1&&g!==-1&&(d.set("ca_w",b.toString()),d.set("ca_h", g.toString()))}return new Map([].concat(u(oX(e,a,c)),u(mX(a,c)),u(kX(a,c)),u(hX(a,c)),u(d)))} function mX(a,b){var c=new Map;c.set("sdkv",eQ(b));var d=c.set,e=1;KQ(b.O)&&(e+=4);JQ()||(e+=1024);!JQ()&&(e+=64);d.call(c,"sdki",e.toString(16));c.set("ptt",(20).toString());b.Xa!=null&&c.set("adk",b.Xa);d=QQ();d.length>0&&c.set("sdk_apis",d.join(","));d=fQ();if(OQ()){var f;d="Google1/"+((f=d.N)!=null?f:"h.3.646.1")}else d=null;f=d;f!=null&&c.set("omid_p",f);b.da&&c.set("media_url",b.da);sP.N&&c.set("sid",sP.N);b.secureSignals&&!HP(b.g)&&c.set("a3p",b.secureSignals);c.set("nel",DE()?"1":"0");(f= b.jg)&&c.set("scar",f);(b.xa&&aB(tC)||aB(uC)||uP("fledge"))&&c.set("td",(1).toString());f=sD((new P(a.adTagUrl)).g.get("eid",""));E(G(f))||c.set("eid",f);c.set("afvsz",GM(a));f=(new P(a.adTagUrl)).g.get("ctv","");d={};AQ().report(197,(d.pctv=f,d));f=new Map;b.Wa?f.set("attmas",b.Wa):b.K!=null&&f.set("is_lat",b.K?"1":"0");if(!HP(b.g)){d=sP.L;aB(zC)&&d!==null&&(e=new pP,bl(vk(e,3,Kj(d),""),4,sP.V),d=ih(ch(nl(e)),3),f.set("psd",d));e=b.deviceId;d=b.g;if(d.j){var g=BP(d,"tfcd");g=g==="0"||g==="false"? (0).toString():xP(g)?(1).toString():""}else g="";(g=g===(1).toString())||(d.j?(d=BP(d,"tfua"),d=d==="0"||d==="false"?(0).toString():xP(d)?(1).toString():""):d="",g=d===(1).toString());d=e&&e!=="00000000-0000-0000-0000-000000000000"&&!g;b.aa&&f.set("idtype",b.aa);e&&!g&&f.set("rdid",e);if((e=b.xk)&&!d){f.set("paid",e);if(e=b.mg)g=new eX,bX(g,ch(e)),g=dh(cX(g)).substring(0,32).toUpperCase(),g=g.length===32?[g.substring(0,8),g.substring(8,12),g.substring(12,16),g.substring(16,20),g.substring(20)].join("-"): void 0,g&&f.set("vid1",g);g=b.yk;var h=!b.zk,k=b.Tj&&aB(wC);g&&!k&&(f.set("paid2",g),f.set("paopt",h?"1":"0"),e&&(g=new eX,bX(g,ch(e)),e=dh(cX(g)).substring(32).toUpperCase(),e=e.length===32?[e.substring(0,8),e.substring(8,12),e.substring(12,16),e.substring(16,20),e.substring(20)].join("-"):void 0,e&&f.set("vid2",e)))}e=b.Eb;g=b.Qb;e&&g&&!d&&(f.set("pvid",e),f.set("pvid_s",""+g))}d=new Map;e=b.ha;g=(document.visibilityState||"")==="visible";g!=null&&d.set("vis",g?"1":"2");e!==-1&&d.set("frm",e.toString()); MQ()&&(e=2,g=C&&Dn(C).Kb?!1:Pf(Pg().j),!JQ()&&g&&(e|=2048),d.set("osd",e.toString()));e=b.Aa;e!=null&&d.set("ms",e);d.set("sdr","1");d.set("unviewed_position_start","1");d.set("is_amp",b.Gj?"1":"0");(e=DF())&&d.set("hl",e);(e=b.pd)&&d.set("uach",e);e=new Map;g=b.N;g!=null&&e.set("js","ima-"+g);g=b.appName;g!=null&&(e.set("an",g),b.C==="android"&&e.set("msid",g));g=b.pk;g!=null&&e.set("mv",g+"."+(b.jk||""));g=a.linearAdSlotWidth;h=a.linearAdSlotHeight;e.set("u_so",g==null||h==null?"l":h>g?"p":"l"); e.set("ctv",String(RQ()));g=new Map;E(sP.getPlayerType())||(g.set("mpt",sP.getPlayerType()),E(sP.getPlayerVersion())||g.set("mpv",sP.getPlayerVersion()));h=new Map;PQ()||h.set("wta","0");if(a instanceof $C&&a.A&&a.adTagUrl!==null){var m=a.adTagUrl;k=GP(b.g);m=wP(m);for(var n=q(vP),p=n.next();!p.done;p=n.next())p=p.value,m[p]==="redundant"&&k.set(p,"redundant")}else k=GP(b.g);m=Map;n=[];p=n.concat;h=u(h);var r=new Map;HP(b.g)||(E(sP.o)||r.set("adsid",sP.o),E(sP.F)||r.set("pucrd",sP.F),E(sP.D)||r.set("jar", sP.D));h=new m(p.call(n,h,u(r),u(k)));k=new Map;m=b.ge;(n=b.Mi)&&m&&m>0&&n>m&&(k.set("dlt",m.toString()),k.set("idt",(n-m).toString()));k.set("dt",Sm().toString());a=iX(a,b);b=b.Ji||{};return new Map([].concat(u(f),u(d),u(e),u(g),u(b),u(h),u(c),u(a),u(k)))} function oX(a,b,c){var d=new Map,e=JM(a);KQ(c.O)||(e=IM(e));e.some(function(f){return HM(f)})&&b.nonLinearAdSlotWidth!=null&&b.nonLinearAdSlotHeight!=null&&(b=GM(b),d.set("image_size",b),E(b)&&(e=e.filter(function(f){return!HM(f)})));d.set("ad_type",e.join("_"));b=e.some(function(f){return f==="text"});d.set("num_ads",b?"3":"1");a=KM(a,"t_pyv");E(a)&&(a=b?"allow":"exclude");d.set("t_pyv",a);e.some(function(f){return f==="bumpervideo"||f==="skippablevideo"||f==="standardvideo"||f==="video"})&&(e=Xc("Chromium")>= 6||Xc("Firefox")>=4||we&&CF(BF,2.3)?43:18,d.set("video_format",e.toString()));return d} function iX(a,b){var c,d=(c=a.adTagUrl)!=null?c:"";c=new P(d);var e;a=(e=a.pageUrl)!=null?e:"";var f;e=(f=Ry(c,"url"))!=null?f:"";f=yF(a)?a:e;c=pX(c);c=yF(f)?f:c;c=new P(c);e=new P(b.la);a=new P(b.j);d="unknown";Sy(a,e)?d="flat":Sy(c,e)?d="bottom":Sy(c,a)&&(d="top");AQ().report(160,{contentLocation:d});c=new Map;e=b.referrer;E(G(e))||c.set("ref",e);if(yF(f)){c.set("url",f);var g;c.set("top",(g=b.j)!=null?g:"");c.set("loc",b.la)}else g=c.set,b=b.j&&yF(b.j)?b.j:b.referrer&&yF(b.referrer)?b.referrer: "null",g.call(c,"url",b);return c}function pX(a){var b="";["video_url_to_fetch","description_url","durl"].find(function(c){c=Ry(a,c)||"";return yF(c)?(b=c,!0):!1});return b}function qX(a){return a?lD(a)?(a=new P(a),a.g.remove("ctv"),a.toString()):a:null};var rX=function(){this.g=[];this.j=[]},sX=function(a){a.g.length===0&&(a.g=a.j,a.g.reverse(),a.j=[])},tX=function(a,b){a.j.push(b)};l=rX.prototype;l.isEmpty=function(){return this.g.length===0&&this.j.length===0};l.clear=function(){this.g=[];this.j=[]};l.contains=function(a){return lb(this.g,a)||lb(this.j,a)}; l.remove=function(a){var b=this.g;b:{var c=b.length-1;c<0&&(c=Math.max(0,b.length+c));if(typeof b==="string")c=typeof a!=="string"||a.length!=1?-1:b.lastIndexOf(a,c);else{for(;c>=0;c--)if(c in b&&b[c]===a)break b;c=-1}}c>=0?(ob(b,c),b=!0):b=!1;return b||nb(this.j,a)};l.Se=function(){for(var a=[],b=this.g.length-1;b>=0;--b)a.push(this.g[b]);var c=this.j.length;for(b=0;b=Math.pow(2,32))throw new Z("Number has to be unsigned 32-bit integer.");for(var d=Array(4),e=0;e<4;e++)d[e]=255&a>>8*(4-e-1);b=c.call(b,d);return new Uint8Array(b)},uY=new Uint8Array(0);var vY=function(a,b,c){this.l=a;this.g=b;this.j=c};vY.prototype.Ib=function(){return this.l};var wY=function(a){this.l=a;this.j=null;this.g=new Map};wY.prototype.Za=function(){return this.l};var yY=function(a,b){return(a=xY(a,b))?a:[]},xY=function(a,b){b instanceof Uint8Array&&(b=[].concat(u(b)).toString());return a.g.get(b)};/* Copyright 2022 Google LLC SPDX-License-Identifier: Apache-2.0 */ function zY(a){return a==null?void 0:new Uint8Array(Dh(a)||0)}function AY(a){a==null?a=void 0:a=(a=Dh(a))?a.length:0;return a};function BY(){for(var a=0,b=0;bNumber.MAX_SAFE_INTEGER)throw new Z("cannot convert number larger than "+Number.MAX_SAFE_INTEGER);var b=Math.pow(2,32),c=a%b;a/=b;b=new Uint8Array(8);for(var d=7;d>=4;d--)b[d]=c&255,c>>>=8;for(c=3;c>=0;c--)b[c]=a&255,a>>>=8;return b}function DY(a){for(var b="",c=0;c1?d:"0"+d}return b} function EY(a){a=a.replace(/-/g,"+").replace(/_/g,"/");return FY(globalThis.atob(a))}function GY(a){for(var b="",c=0;ca&&(c=c.slice(c.length-a,c.length));b.length>a&&(b=b.slice(b.length-a,b.length));d=new Uint8Array(2*a);d.set(c,0);d.set(b, a);return d;case 2:b=c.x;d=c.y;if(b===void 0)throw new Z("x must be provided");if(d===void 0)throw new Z("y must be provided");c=EY(b);b=EY(d);c.length>a&&(c=c.slice(c.length-a,c.length));b.length>a&&(b=b.slice(b.length-a,b.length));d=new Uint8Array(1+a);d.set(c,1+a-c.length);d[0]=MY(BigInt("0x"+DY(b)),0)?3:2;return d;default:throw new Y("invalid format");}} function NY(a){switch(a){case 1:return BigInt("115792089210356248762697446949407573530086143415290314195533631308867097853951");case 2:return BigInt("39402006196394479212279040100143613805079739270465446667948293404245721771496870329047266088258938001861606973112319");case 3:return BigInt("6864797660130609714981900799081393217269435300143305409394463459185543183397656052122559640661454554977296311391480858037121987999716643812574028291115057151");default:throw new Z("invalid curve");}} function OY(a){a=a.toString(16);a=a.length%2===0?a:"0"+a;if(a.length%2!=0)throw new Z("Hex string length must be multiple of 2");for(var b=new Uint8Array(a.length/2),c=0;c=d)throw new Y("x is out of range");d=NY(IY(a));var e=d-BigInt(3);a:switch(IY(a)){case 1:var f=BigInt("0x5ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b");break a;case 2:f=BigInt("0xb3312fa7e23ee7e4988e056be3f82d19181d9c6efe8141120314088f5013875ac656398d8a2ed19d2a85c8edd3ec2aef");break a;case 3:f=BigInt("0x051953eb9618e1c9a1f929a21a0b68540eea2da725b99b315f3b8b489918ef109e156193951ec7e937b1652c0bd3bb1bf073573df883d2c34f1ef451fd46b503f00"); break a;default:throw new Z("invalid curve");}if(d<=BigInt(0))throw new Z("p must be positive");e=((c*c+e)*c+f)%d%d;if(MY(d,0)&&MY(d,1)){var g=d+BigInt(1)>>BigInt(2);if(g===BigInt(0))f=BigInt(1);else{f=e;g=g.toString(2);for(var h=1;hb){for(var d=0;db)throw new Y("Version is out of bound, must be between 0 and "+b+".");};var nZ=function(a,b){this.key=a;this.cd=b};nZ.prototype.encrypt=function(a){var b=this,c,d,e,f;return y(function(g){if(g.g==1)return lZ(a),c=fZ(b.cd),d=new Uint8Array(16),d.set(c),e={name:"AES-CTR",counter:d,length:128},x(g,globalThis.crypto.subtle.encrypt(e,b.key,a),2);f=g.j;return g.return(BY(c,new Uint8Array(f)))})}; nZ.prototype.decrypt=function(a){var b=this,c,d,e;return y(function(f){if(f.g==1){lZ(a);if(a.length16)throw new Y("invalid IV length, must be at least 12 and at most 16");lZ(a);kZ(a.length);return x(d,globalThis.crypto.subtle.importKey("raw",a,{name:"AES-CTR",length:a.length},!1,["encrypt","decrypt"]),2)}c=d.j;return d.return(new nZ(c,b))})};var pZ=function(){};var qZ=function(a,b,c){this.hash=a;this.key=b;this.od=c};w(qZ,pZ);var rZ=function(a,b){var c;return y(function(d){if(d.g==1)return lZ(b),x(d,globalThis.crypto.subtle.sign({name:"HMAC",hash:{name:a.hash}},a.key,b),2);c=d.j;return d.return(new Uint8Array(c.slice(0,a.od)))})},sZ=function(a,b,c){var d;return y(function(e){if(e.g==1)return lZ(b),lZ(c),x(e,rZ(a,c),2);d=e.j;if(b.length!==d.length)var f=!1;else{for(var g=f=0;g20)throw new Z("tag too long, must not be larger than 20 bytes");break;case "SHA-256":if(c>32)throw new Z("tag too long, must not be larger than 32 bytes");break;case "SHA-384":if(c>48)throw new Z("tag too long, must not be larger than 48 bytes");break; case "SHA-512":if(c>64)throw new Z("tag too long, must not be larger than 64 bytes");break;default:throw new Z(a+" is not supported");}return x(e,globalThis.crypto.subtle.importKey("raw",b,{name:"HMAC",hash:{name:a},length:b.length*8},!1,["sign","verify"]),2)}d=e.j;return e.return(new qZ(a,d,c))})};var uZ=function(a,b,c,d){this.g=a;this.cd=b;this.j=c;this.od=d};w(uZ,iZ);uZ.prototype.encrypt=function(a,b){b=b===void 0?new Uint8Array(0):b;var c=this,d,e,f;return y(function(g){if(g.g==1)return lZ(a),x(g,c.g.encrypt(a),2);if(g.g!=3)return d=g.j,lZ(b),e=CY(b.length*8),x(g,rZ(c.j,BY(b,d,e)),3);f=g.j;if(c.od!=f.length)throw new Y("invalid tag size, expected "+c.od+" but got "+f.length);return g.return(BY(d,f))})}; uZ.prototype.decrypt=function(a,b){b=b===void 0?new Uint8Array(0):b;var c=this,d,e,f,g,h;return y(function(k){if(k.g==1){lZ(a);if(a.length16)throw new Y("Invalid AES CTR HMAC key format: IV size is out of range: "+c);return{yl:a,Cf:b,cd:c}},yZ=function(a){if(!a)throw new Y("Invalid AES CTR HMAC key format: key format undefined");var b=Pk(a,2);if(b<16)throw new Y("Invalid AES CTR HMAC key format: HMAC key is too small: "+ Pk(a,2));a=I(a,yX,1);if(!a)throw new Y("Invalid AES CTR HMAC key format: params undefined");var c=Pk(a,2);if(c<10)throw new Y("Invalid HMAC params: tag size "+c+" is too small.");if(!zZ.has(Sk(a,1)))throw new Y("Unknown hash type.");if(c>zZ.get(Sk(a,1)))throw new Y("Invalid HMAC params: tag size "+c+" is out of range.");switch(Sk(a,1)){case 1:var d="SHA-1";break;case 3:d="SHA-256";break;case 4:d="SHA-512";break;default:d="UNKNOWN HASH"}return{sm:a,rm:b,om:d,od:c}},zZ=new Map([[1,20],[3,32],[4,64]]), AZ=function(){this.g=new wZ};l=AZ.prototype; l.Ib=function(a,b){var c,d,e,f,g,h=this,k,m,n,p,r,t;return y(function(v){if(v.g==1){if(a!=h.Za())throw new Y("Requested primitive type which is not supported by this key manager.");if(b instanceof mY){if(!h.ce(J(b,1)))throw new Y("Key type "+J(b,1)+" is not supported. This key manager supports "+h.kb()+".");try{k=DX(b.getValue())}catch(F){throw new Y("Could not parse the key in key data as a serialized proto of type.googleapis.com/google.crypto.tink.AesCtrHmacAeadKey");}if(k===null||k===void 0)throw new Y("Could not parse the key in key data as a serialized proto of type.googleapis.com/google.crypto.tink.AesCtrHmacAeadKey"); }else if(b instanceof CX)k=b;else throw new Y("Given key type is not supported. This key manager supports "+h.kb()+".");var A=I(k,wX,2);if(!A)throw new Y("Invalid AES CTR HMAC key format: key undefined");mZ(A.getVersion(),h.getVersion());var B=new EX;var D=I(A,uX,2);B=Jk(B,1,D);D=AY(tk(A,3));B=Xk(B,2,D);B=xZ(B).cd;f=zY(tk(A,3));g=B;m=f;n=g;A=I(k,AX,3);if(!A)throw new Y("Invalid AES CTR HMAC key format: key undefined");mZ(A.getVersion(),h.getVersion());B=new GX;D=I(A,yX,2);B=Jk(B,1,D);D=AY(tk(A,3)); B=Xk(B,2,D);D=yZ(B);B=D.om;D=D.od;c=zY(tk(A,3));d=B;e=D;p=c;r=d;t=e;return x(v,vZ(m,n,r,p,t),2)}return v.return(v.j)})};l.ce=function(a){return a===this.kb()};l.kb=function(){return"type.googleapis.com/google.crypto.tink.AesCtrHmacAeadKey"};l.Za=function(){return iZ};l.getVersion=function(){return 0};l.fe=function(){return this.g};var BZ=function(a){var b=a.key;a=a.Gc;this.key=b;this.Gc=a};BZ.prototype.encrypt=function(a,b,c){var d=this,e,f;return y(function(g){if(g.g==1){if(a.length!==12)throw new Y("IV must be 12 bytes");e={name:"AES-GCM",iv:a,tagLength:128};c&&(e.additionalData=c);return x(g,globalThis.crypto.subtle.encrypt(e,d.key,b),2)}f=g.j;return g.return(d.Gc?BY(a,new Uint8Array(f)):new Uint8Array(f))})}; BZ.prototype.decrypt=function(a,b,c){var d=this,e,f,g,h,k;return y(function(m){if(m.g==1){e=d.Gc?28:16;if(b.length5)){k.g=2;break}d=a.subarray(0,5);return x(k,yY(c.g,d),3);case 3:return e=k.j,f=a.subarray(5,a.length),k.l=4,x(k,JZ(e,f,b),6);case 6:g=k.j;k.g=5;k.l=0;break;case 4:wa(k);case 5:if(g)return k.return(g);case 2:return x(k,yY(c.g,uY),7);case 7:return h=k.j,k.return(JZ(h,a,b))}})}; var JZ=function(a,b,c){var d,e,f,g;return y(function(h){switch(h.g){case 1:d=a.length,e=0;case 2:if(!(e5100)throw new Z("size too large");break;case "SHA-256":f=32;if(a>8160)throw new Z("size too large");break;case "SHA-512":f=64;if(a>16320)throw new Z("size too large");break;default:throw new Z(b+" is not supported");}lZ(c);lZ(d);g=e;if(e==null||g===void 0||g.length==0)g=new Uint8Array(f); lZ(g);return x(v,tZ(b,g,f),2);case 2:return h=v.j,x(v,rZ(h,c),3);case 3:return k=v.j,x(v,tZ(b,k,f),4);case 4:h=v.j,m=1,n=0,p=new Uint8Array(0),r=new Uint8Array(a);case 5:return t=new Uint8Array(p.length+d.length+1),t.set(p,0),t.set(d,p.length),t[t.length-1]=m,x(v,rZ(h,t),8);case 8:p=v.j;if(n+p.length>8*(a-d-1)&255;return c}function p_(a){var b=a.bd;var c=a.Zc;return BY(o_,a.zb,FY(b),c)}function q_(a){var b=a.Gd;var c=a.info;var d=a.zb;return BY(e_(2,a.length),o_,d,FY(b),c)}function r_(a){switch(a){case 2:return 1;case 4:return 3;default:throw new Z("Unrecognized NIST HPKE KEM identifier");}} function s_(a,b){var c;return y(function(d){return d.g==1?(c=PY(a,1,b),x(d,TY(c),2)):d.return(d.j)})}function t_(a){var b=a.th;var c=a.publicKey;var d=a.privateKey;var e;return y(function(f){return f.g==1?(e=PY(b,1,c),e.d=GY(d),x(f,UY(e),2)):f.return(f.j)})}function u_(a){var b,c;return y(function(d){if(d.g==1)return b=a.algorithm,x(d,SY(a),2);c=d.j;if(!c.crv)throw new Y("Curve has to be defined.");return d.return(LY(b.namedCurve,1,c))})};var v_=function(a,b,c,d){this.Ah=a;this.key=b;this.l=c;this.j=d;this.g=BigInt(0);this.o=(BigInt(1)<>BigInt(8*(12-d-1)))&255;b=a.l;if(b.length!==c.length)throw new Z("Both byte arrays should be of the same length");d=new Uint8Array(b.length);for(var e=0;e=a.o)throw new Y("message limit reached");a.g+=BigInt(1);return d}; function x_(a,b,c,d,e,f){var g,h,k,m,n,p,r;return y(function(t){switch(t.g){case 1:a:{switch(e.ig){case 16:var v=k_;break a;case 32:v=l_;break a}v=void 0}a:{switch(d.cg){case "SHA-256":var A=i_;break a;case "SHA-512":A=j_;break a}A=void 0}g=BY(n_,y_(c),A,v);return x(t,z_(d,{Zc:new Uint8Array(0),bd:"psk_id_hash",zb:g}),2);case 2:return h=t.j,x(t,z_(d,{Zc:f,bd:"info_hash",zb:g}),3);case 3:return k=t.j,m=BY(f_,h,k),x(t,z_(d,{Zc:new Uint8Array(0),bd:"secret",zb:g,salt:b}),4);case 4:return n=t.j,x(t,A_(d, {Nj:n,info:m,Gd:"key",zb:g,length:e.ig}),5);case 5:return p=t.j,x(t,A_(d,{Nj:n,info:m,Gd:"base_nonce",zb:g,length:12}),6);case 6:return r=t.j,t.return(new v_(a,p,r,e))}})}function B_(a,b,c,d,e){var f,g,h;return y(function(k){return k.g==1?x(k,b.zh(a),2):k.g!=3?(f=k.j,g=f.Ah,h=f.en,x(k,x_(g,h,b,c,d,e),3)):k.return(k.j)})}function C_(a,b,c,d,e,f){var g;return y(function(h){return h.g==1?x(h,c.uh(a,b),2):h.g!=3?(g=h.j,x(h,x_(a,g,c,d,e,f),3)):h.return(h.j)})};var D_=function(a,b){this.privateKey=a;this.publicKey=b},E_=function(a){return y(function(b){return b.g==1?x(b,u_(a.publicKey),2):b.return(b.j)})};function F_(a){var b=a.privateKey;var c=a.publicKey;var d=a.th;var e,f;return y(function(g){if(g.g==1){if(!b)throw new Z("KEM private key was null or undefined");if(!c)throw new Z("KEM public key was null or undefined");return x(g,s_(HY(d),c),2)}if(g.g!=3)return e=g.j,x(g,t_({th:HY(d),publicKey:c,privateKey:b}),3);f=g.j;return g.return(new D_(f,e))})} function G_(a){return y(function(b){H_(a.privateKey,"private");H_(a.publicKey,"public");return b.return(new D_(a.privateKey,a.publicKey))})}function H_(a,b){if(b!==a.type)throw new Z("keyPair "+b+" key was of type "+a.type);a=a.algorithm;if("ECDH"!==a.name)throw new Z("keyPair "+b+" key should be ECDH but found "+a.name);};var I_=function(a){this.ig=a};I_.prototype.seal=function(a){var b=a.key;var c=a.nonce;var d=a.Um;var e=a.eh;var f=this,g;return y(function(h){if(h.g==1){if(b.length!==f.ig)throw new Y("Unexpected key length: "+b.length.toString());return x(h,CZ({key:b,Gc:!1}),2)}return h.g!=3?(g=h.j,x(h,g.encrypt(c,d,e),3)):h.return(h.j)})}; I_.prototype.open=function(a){var b=a.key;var c=a.nonce;var d=a.Fl;var e=a.eh;var f=this,g;return y(function(h){if(h.g==1){if(b.length!==f.ig)throw new Y("Unexpected key length: "+b.length.toString());return x(h,CZ({key:b,Gc:!1}),2)}g=h.j;return h.return(g.decrypt(c,d,e))})};var J_=function(a){this.cg=a},z_=function(a,b){var c=b.Zc;var d=b.bd;var e=b.zb;var f=b.salt;return y(function(g){return g.g==1?x(g,K_(a,p_({bd:d,Zc:c,zb:e}),f),2):g.return(g.j)})},A_=function(a,b){var c=b.Nj;var d=b.info;var e=b.Gd;var f=b.zb;var g=b.length;return y(function(h){return h.g==1?x(h,a.expand(c,q_({Gd:e,info:d,zb:f,length:g}),g),2):h.return(h.j)})},L_=function(a,b){var c=b.Zc;var d=b.bd;var e=b.info;var f=b.Gd;var g=b.zb;var h=b.length;var k=b.salt;var m;return y(function(n){return n.g== 1?x(n,K_(a,p_({bd:d,Zc:c,zb:g}),k),2):n.g!=3?(m=n.j,x(n,a.expand(m,q_({Gd:f,info:e,zb:g,length:h}),h),3)):n.return(n.j)})}; J_.prototype.expand=function(a,b,c){var d=this,e,f,g,h,k,m,n;return y(function(p){switch(p.g){case 1:if(!Number.isInteger(c))throw new Y("length must be an integer");if(c<=0)throw new Y("length must be positive");e=M_(d);if(c>255*e)throw new Y("length too large");lZ(b);return x(p,tZ(d.cg,a,e),2);case 2:f=p.j,g=1,h=0,k=new Uint8Array(0),m=new Uint8Array(c);case 3:return n=new Uint8Array(k.length+b.length+1),n.set(k,0),n.set(b,k.length),n[n.length-1]=g,x(p,rZ(f,n),6);case 6:k=p.j;if(h+k.lengthMath.pow(5,2))a.A=!0},touchend:function(b){return void u0(a,b)}},Ib(a.G,function(b,c){a.g.addEventListener(c,b,!1)})):a.K.listen(a.g,"click",a.V)},s0=function(a){XG(a.K,a.g,"click",a.V);Ib(a.G,function(b,c){this.g.removeEventListener(c,b,!1)},a);a.G={}},u0=function(a,b){!a.D||a.j!==1||a.A||a.L||a.B||!t0(a,b.changedTouches)||(a.l=window.setTimeout(function(){return void w0(a)},300));a.j=b.touches.length;a.j===0&&(a.D=!1,a.A=!1,a.o=[]);a.L=!1};r0.prototype.V=function(){w0(this)}; var t0=function(a,b){for(var c=0;c
';b=Math.max(0,Math.ceil(b-0));for(var d=0;d
';return Nz(c+"
")},F0=function(){return Nz('
')};var G0=function(){TL.call(this);this.element=rA(F0);this.j=ef("fullSlotContentContainer",this.element);this.l=ef("fullSlotBottomBar",this.element)};w(G0,VL);var H0=function(a,b){a.l&&b.element&&a.l.appendChild(b.element)},Z0=function(a,b){a.j&&b.element&&a.j.appendChild(b.element)};var $0=function(a,b,c,d,e,f,g){D0.call(this,b);this.l=a;this.A=c;this.uiConfig=d;this.qa=e;this.C=f;this.B=g;this.o=[];this.g=0;this.view=new G0;this.j=new SG(this)};w($0,D0);l=$0.prototype; l.build=function(){var a=this;WL(this.view,this.A);this.l.forEach(function(d,e){d=d.Wc(a.uiConfig);a.o.push(d);var f=vM(d);f!=null&&a.j.listen(f,"click",function(g){g.stopPropagation();aI(a.I,JI,null)});new fL(d,a.I,bJ);a.j.listen(d,"click",function(){a.g=e});Z0(a.view,d)});if(this.C){var b=new yM({cf:!0,Jg:!0,kc:uP("promoskip")});H0(this.view,b);b=new vL(b,this.I,5);L(this,b);b=new $L;H0(this.view,b);new rL(b,this.I);b=new XL;new aL(b,this.I,JI);b.l(this.qa);H0(this.view,b);b.show();if(this.B){var c= new zM(!0);new aL(c,this.I,mJ);UL(b,c)}}GK(HK(this.view.element,.3));aI(this.I,dJ,null)};l.R=function(){tf(this.view.Fa());D0.prototype.R.call(this)};l.Je=function(){return this.view.j};l.show=function(){};l.ca=function(){};l.de=function(){return this.l[this.g]};l.Wf=function(){return this.o[this.g]};var b1=function(a,b){TL.call(this);var c=this;this.D=b;this.l=this.o=null;this.B=!1;this.element=rA(E0,{Ej:a,margin:(57-10*a)/a});this.j=ef("innerContainer",this.element);this.A=Array.from(df("overlaySelector",this.element));this.A.forEach(function(d,e){c.g.listen(d,"click",function(f){a1(c,e);f.stopPropagation()})});a1(this,0);this.g.listen(this.element,"mouseover",function(){O(c,"mouseover")});this.g.listen(this.element,"mouseout",function(){O(c,"mouseout")})};w(b1,VL); b1.prototype.Qd=function(a){this.B=a;this.l&&this.l.Qd(a)};var a1=function(a,b){a.o!=null&&lz(a.A[a.o],"active");jz(a.A[b],"active");a.o=b;a.D(b)},c1=function(a,b){if(a.l){var c;(c=a.j)==null||c.removeChild(a.l.Fa());XG(a.g,b,"click")}a.l=b;a.l.Qd(a.B);var d;(d=a.j)==null||d.appendChild(b.element);a.g.listen(b,"click",function(e){O(a,e);e.stopPropagation()})};l=b1.prototype;l.Vj=function(a){DK(this.j,"opacity "+a/1E3+"s")};l.show=function(){Yn(this.j,!0)};l.ca=function(){Yn(this.j,!1)}; l.Ri=function(){Xn(this.j,1)};l.qj=function(){Xn(this.j,.3)};var e1=function(a,b,c,d){D0.call(this,b);var e=this;this.C=a;this.B=c;this.uiConfig=d;this.l=[];this.g=null;this.j=-1;this.A=new SG(this);this.o=new ju(15E3);this.view=new b1(a.length,function(f){d1(e,f)})};w(e1,D0); e1.prototype.build=function(){var a=this;WL(this.view,this.B);new jL(this.view,this.I,!1);new fL(this.view,this.I,bJ);this.l=this.C.map(function(b){var c=b.Wc(a.uiConfig),d=vM(c);d!=null&&a.A.listen(d,"click",function(e){e.stopPropagation();aI(a.I,JI,null)});d=new kM;new dL(d,a.I,RI);UL(c,d);b.Wb&&(b=new zM(!0),new aL(b,a.I,mJ),UL(c,b));return c});d1(this,0);this.g=new xM;new sL(this.g,this.I,RI);UL(this.view,this.g);$H(this.I,RI,function(){return void a.stop()});$H(this.I,hJ,function(){a.o.start()}); this.A.listen(this.o,"tick",this.D);this.o.start()};e1.prototype.R=function(){tf(this.view.Fa());D0.prototype.R.call(this)};e1.prototype.stop=function(){this.o.stop()};e1.prototype.D=function(){a1(this.view,(this.j+1)%this.l.length)};var d1=function(a,b){b!==a.j&&a.l[b]&&(c1(a.view,a.l[b]),a.j=b,aI(a.I,dJ,null))};l=e1.prototype;l.Je=function(){var a=this.Wf();return a?a.Fa():null};l.Wf=function(){return this.l[this.j]};l.show=function(){this.view&&this.view.show();this.g&&this.g.ca()}; l.ca=function(){this.view&&this.view.ca();this.g&&this.g.show()};l.de=function(){return this.C[this.j]};var f1=function(a){this.I=a},g1=function(a){return a.some(function(b){if(!b.B)return!1;b=b.A;return b!=null&&b.style.display!="none"?(b.focus(),!0):!1})},h1=function(a,b){var c=lf().screen;if(c){var d=c.availWidth||c.width,e=c.availHeight||c.height,f=new Xe(0,e),g=Number.MAX_VALUE,h=null;b.forEach(function(k,m){m=a[m];if(m.B){var n=new Xe(le(sE(k,d)),le(tE(k,e)));k=f.x-n.x;n=f.y-n.y;k=Math.sqrt(k*k+n*n);g>k&&(h=m,g=k)}});h!=null&&(b=h.Fa(),b!=null&&b.focus())}};var i1=function(a,b,c,d){XK.call(this,b);var e=this;this.A=d;this.j=new ZH;new zL(a,this.j,c,!1);$H(this.j,kJ,function(){e.A.show()});YK(this,sJ,this.l,this)};w(i1,XK);i1.prototype.l=function(a){aI(this.j,sJ,a)};var j1=function(a,b){XK.call(this,b);var c=this;this.view=a;L(this,this.view);this.g.listen(this.view.j,"wtaClicked",function(d){d=d.detail;d.underlyingEvent.preventDefault();ZK(c,FI,d.wtaUrl)});this.g.listen(this.view.j,"learnMoreClicked",function(d){d=d.detail;d.underlyingEvent.preventDefault();ZK(c,FI,d.learnMoreUrl)});this.g.listen(this.view.j,"updateGpid",function(d){d=d.detail;ZK(c,GI,new HI(d.gpidType,d.gpidPersonalizationEnabled,d.gpidShouldResetAdsData))});this.g.listen(this.view.j,"p-control-panel-hidden", function(){return void ZK(c,EI,null)});YK(this,oJ,function(d){d||c.ca()},this)};w(j1,XK);j1.prototype.show=function(){this.view.show();ZK(this,DI,null)};j1.prototype.ca=function(){this.view.ca()};var k1=function(a){TL.call(this);this.element=pf(document,"div");this.element!==null&&(this.element.id="ima_"+a)};w(k1,TL);var l1=function(){return Nz('')};var m1=function(a){TL.call(this);var b=this;this.o=this.l=!1;this.element=rA(l1);var c;(c=I(a,kk,1))!=null&&Zk(c,40,"https://support.google.com/ads/answer/10923348");if(!a)throw Error("bad attrdata");c=new mz(a);this.j=new EA(a,c);this.g.listen(this.j,"p-control-panel-hidden",function(){b.l=!1})};w(m1,VL);m1.prototype.show=function(){this.l||(this.o||(this.j.render(),this.o=!0),this.j.expand(),this.l=!0)};m1.prototype.ca=function(){this.l&&(this.j.collapse(),this.l=!1)};var n1=function(a,b,c,d,e,f){f=f===void 0?!1:f;WK.call(this,b);var g=this;this.g=a;this.D=c;this.o=d;this.K=e;this.j=f;this.F=this.B=!1;this.A=[];this.C=!1;this.l=null;this.view=new aM([this.g.F],this.g.A?"videoAdUiTopBar-gvn":"videoAdUiTopBarWithGradients",!this.g.g,this.j);fM(this.view,!this.j&&(!EF()||!1));this.G=new SG(this);L(this,this.G);document.addEventListener("click",function(h){var k=g.view.Fa().getBoundingClientRect();k.bottomh.clientY||k.left>h.clientX|| (T(U(),"ctie",h.target instanceof Element?"1":"0"),U().recordClick("clk",h.clientX-k.left,h.clientY-k.top,h.target instanceof Element?h.target:void 0),FB(U().g))},!0);this.L=new f1(b)};w(n1,WK);l=n1.prototype; l.build=function(){var a=this;WL(this.view,this.D);bM(this.view);No(this,function(){return tf(a.view.Fa())});this.g.fb&&UL(this.view,new k1(this.g.fb));if(this.g.isSkippable()){$H(this.I,jJ,function(){a.B=!0});var b=new yM({cf:!0,Jg:!0,Qg:this.g.Qg,kc:uP("promoskip")});eM(this.view,b);var c=new vL(b,this.I,this.g.C);L(this,c);this.o&&b.ca()}if(this.g.j&&!this.o){var d=new YL(this.j);this.j?eM(this.view,d):this.g.A?(dM(this.view,d),cM(this.view)):eM(this.view,d);this.g.l?new rL(d,this.I):d.show()}this.g.B&& (b=new zM(!0),new aL(b,this.I,mJ),this.j?eM(this.view,b):d?UL(d,b):this.g.A?dM(this.view,b):eM(this.view,b));this.j&&(d=new wM,qL(new pL(d,this.I)),jM(this.view,d),$H(this.I,oJ,function(e){a.C&&(gM(a.view,!e),hM(a.view,!e))}));if(this.j||this.g.o&&!this.o)d=new mM("author"),new bL(d,this.I,PI,zI),dM(this.view,d),d=new XL,new bL(d,this.I,QI,CI),this.j?iM(this.view,d):dM(this.view,d),d=new ZL,new bL(d,this.I,KI,AI),this.j?iM(this.view,d):dM(this.view,d),$H(this.I,zI,function(){return void cM(a.view)}), $H(this.I,CI,function(){return void cM(a.view)}),$H(this.I,AI,function(){return void cM(a.view)});this.j?new hL(this.view,this.I,!0):this.o||(d=LI,this.g.g||!this.g.G?d=nJ:new $K(this.view,!0),this.K?new fL(this.view,this.I,d):(new aL(this.view,this.I,d),this.view.Qd(!0)));this.g.va.forEach(function(e){var f=null;if(a.g.J&&e.yb==="GoogleWhyThisAd"){f=new mM("vast");var g=new m1(a.g.J);WL(g,a.D);No(a,function(){return tf(g.Fa())});var h=new j1(g,a.I);new i1(f,a.I,e,h)}else f=uP("force_wta_top_left")? new mM("freeplayWta"):new mM("vast"),new zL(f,a.I,e,SQ(e.l));nM(f,e.g,e.j);UL(a.view,f);a.A.push(f)});this.j?(this.l=new pM,new bL(this.l,this.I,ZI,BI)):(this.l=new qM,new aL(this.l,this.I,ZI));this.g.D!=null&&(d=new lM(this.g.D),new gL(d,this.I),jM(this.view,d));$H(this.I,sJ,function(e){!a.j&&e&&e.durationSeconds>0&&e.durationSeconds-e.currentTimeSeconds<5&&fM(a.view,!1);a.j&&!a.C&&e&&e.currentTimeSeconds>5&&(a.C=!0,gM(a.view,!0),hM(a.view,!0))});$H(this.I,WI,function(){var e=a.L,f=a.A,g=a.g.va, h=a.g.isSkippable();g1(f)||(h?aI(e.I,XI,null):h1(f,g))});this.ue()};l.ve=function(){this.B&&aI(this.I,II,null)};l.Ag=function(){!this.F&&this.g.o&&!this.o&&this.g.g&&this.l&&(this.F=!0,dM(this.view,this.l),cM(this.view))};l.ue=function(){var a=this,b=Vn(this.view.Fa()),c=b.height;uP("force_wta_top_left")&&(c=c-16-20-2);this.g.va.forEach(function(d,e){a.g.va.length===a.A.length&&oM(a.A[e],sE(d,b.width),tE(d,c))})};l.getConfig=function(){return this.g};var o1=function(a,b,c,d,e,f,g){g=g===void 0?!1:g;WK.call(this,c);this.g=new n1(b,c,d,e,f,g);this.j=new $0([a],c,d,new tT,"",!1,!1)};w(o1,WK);l=o1.prototype;l.build=function(){this.g.build();this.j.build()};l.ve=function(){this.g.ve()};l.Ag=function(){this.g.Ag()};l.ue=function(){this.g.ue()};l.getConfig=function(){return this.g.getConfig()};l.R=function(){this.g.dispose();this.j.dispose()};var p1=function(a,b,c,d){WK.call(this,a);this.l=b;this.g=c;this.o=d;this.j=null;this.view=new aM(["videoAdUiInstreamUxRefresh","endcap"],"",!0,!0)};w(p1,WK); p1.prototype.build=function(){WL(this.view,this.l);bM(this.view);this.j=new yM({cf:!0,Jg:!0,kc:uP("promoskip")});eM(this.view,this.j);new vL(this.j,this.I,0);var a=new pM(this.g.actions[0].title);new aL(a,this.I,VI);dM(this.view,a);a=new XL;var b;if((b=this.g.Nc)==null?0:b.Rb)a.l(this.g.Nc.Rb),a.show();new aL(a,this.I,VI);jM(this.view,a);b=new ZL;var c;if((c=this.g.Nc)==null?0:c.description)b.l(this.g.Nc.description),b.show();jM(this.view,b);new aL(b,this.I,VI);c=new mM("author");var d;if(b=((d=this.g.Nc)== null?void 0:d.Ha)||this.o)c.l(b),c.show();new aL(c,this.I,VI);dM(this.view,c);cM(this.view)};var q1=function(a){var b;(b=a.j)!=null&&b.j&&b.j.focus()};p1.prototype.R=function(){tf(this.view.Fa());this.view.dispose();WK.prototype.R.call(this)};function r1(a,b){b!=null&&(a.j=b.includes("adAttribution"),a.l=b.includes("countdown"))} function s1(a,b){b=b===void 0?6:b;var c=new t1;var d=a.getDuration()!==-1&&a.getDuration()!==0&&a.getDuration()<=7;c.C=d?-1:a.getSkipTimeOffset();c.va=dU(a);c.fb=LT(a);uP("force_wta_top_left")&&u1(c.va);if(fQ().C==="tvos"){var e,f,g,h;d=new Ye((g=(e=a.ma)==null?void 0:e.linearAdSlotWidth)!=null?g:0,(h=(f=a.ma)==null?void 0:f.linearAdSlotHeight)!=null?h:0);v1(c.va,d)}c.G=!E(G(WT(a)));c.o=a.getDuration()>b||a.getDuration()===0;a.j&&(c.F=xN(a.j)||"");b=tP();nP(b,"disableSkipFadeTransition")&&(c.Qg=0); if(w1(dU(a))){var k;b=((k=UR(a).get("GpidWtaExtension"))!=null?k:[])[0];c.J=b==null?void 0:b.j}if(a=(UR(a).get("watermark")||[]).pop())c.D={df:a.df};return c}function w1(a){return a.some(function(b){return b.yb==="GoogleWhyThisAd"})}function u1(a){a.forEach(function(b){if(b.yb==="GoogleWhyThisAd"||b.yb==="AdChoices")b.Ab="left",b.Bb="top",b.j=20,b.g=20})} function v1(a,b){var c=46;b&&(c=Math.ceil(Math.sqrt(b.width*b.height*.001)));a.forEach(function(d){d.yb==="GoogleWhyThisAd"&&(d.j=0};var x1=function(a){TL.call(this);this.element=nf("DIV","nonLinearContainer");a&&jz(this.element,"autoalign")};w(x1,VL);var y1=function(a,b,c,d,e,f){D0.call(this,b);this.l=a;this.A=c;this.j=this.g=null;this.o=new SG(this);L(this,this.o);this.view=new x1(d);this.C=e;this.uiConfig=f};w(y1,D0);l=y1.prototype; l.build=function(){var a=this;WL(this.view,this.A);No(this,function(){return tf(a.view.Fa())});this.g=this.l.Wc(this.uiConfig);var b=vM(this.g);b!=null&&this.o.listen(b,"click",function(c){c.stopPropagation();aI(a.I,JI,null)});new jL(this.g,this.I,!0);new fL(this.g,this.I,bJ);UL(this.view,this.g);this.C&&(b=new kM,new dL(b,this.I,RI),UL(this.g,b),this.j=new xM,new sL(this.j,this.I,cJ),UL(this.view,this.j));this.l.Wb&&(b=new zM(!0),new aL(b,this.I,mJ),UL(this.g,b));aI(this.I,dJ,null)}; l.Je=function(){return this.g?this.g.Fa():null};l.show=function(){this.j&&this.j.ca();this.g&&this.g.show()};l.ca=function(){this.j&&this.j.show();this.g&&this.g.ca()};l.de=function(){return this.l};l.Wf=function(){return this.g};var z1=function(){return Nz('
')};var A1=function(){TL.call(this);this.element=rA(z1);this.j=ef("safeFrameParent",this.element);this.l=ef("safeFrameBottomBar",this.element)};w(A1,VL);var B1=function(a,b){b.element&&a.l.appendChild(b.element)};var C1=function(a){var b={};ab(a,function(c){b[c.g()]=c.j()});return b};var D1=function(a,b,c,d,e,f){Mo.call(this);this.o=a;this.status=1;this.l=b;this.j=c;this.K=d;this.fg=!!e;this.A=Math.random();this.C={};this.g=null;this.D=Sa(this.G,this);this.B=f};w(D1,Mo); D1.prototype.G=function(a){if(!(this.j!=="*"&&a.origin!==this.j||!this.fg&&a.source!=this.l)){var b=null;try{b=JSON.parse(a.data)}catch(c){}if(Na(b)&&(a=b.i,b.c===this.o&&a!=this.A)){if(this.status!==2)try{this.status=2,E1(this),this.g&&(this.g(),this.g=null)}catch(c){}a=b.s;b=b.p;if(typeof a==="string"&&(typeof b==="string"||Na(b))&&this.C.hasOwnProperty(a))this.C[a](b)}}};var E1=function(a){var b={};b.c=a.o;b.i=a.A;a.B&&(b.e=a.B);a.l.postMessage(JSON.stringify(b),a.j)}; D1.prototype.F=function(){if(this.status===1){try{this.l.postMessage&&E1(this)}catch(a){}window.setTimeout(Sa(this.F,this),50)}};D1.prototype.connect=function(a){a&&(this.g=a);Kf(window,"message",this.D);this.K&&this.F()};var F1=function(a,b,c){a.C[b]=c},G1=function(a,b,c){var d={};d.c=a.o;d.i=a.A;d.s=b;d.p=c;try{a.l.postMessage(JSON.stringify(d),a.j)}catch(e){}};D1.prototype.R=function(){this.status=3;Lf(window,"message",this.D);Mo.prototype.R.call(this)};var H1=function(a,b,c,d,e,f){this.l=a.clone();this.j=b.clone();this.o=c;this.g=d.clone();this.A=e;this.C=f},I1=function(a){return JSON.stringify({windowCoords_t:a.l.top,windowCoords_r:a.l.right,windowCoords_b:a.l.bottom,windowCoords_l:a.l.left,frameCoords_t:a.j.top,frameCoords_r:a.j.right,frameCoords_b:a.j.bottom,frameCoords_l:a.j.left,styleZIndex:a.o,allowedExpansion_t:a.g.top,allowedExpansion_r:a.g.right,allowedExpansion_b:a.g.bottom,allowedExpansion_l:a.g.left,xInView:a.A,yInView:a.C})},J1=function(a){var b= window,c=b.screenX||b.screenLeft||0,d=b.screenY||b.screenTop||0;b=new tn(d,c+(b.outerWidth||document.documentElement.clientWidth||0),d+(b.outerHeight||document.documentElement.clientHeight||0),c);c=Qn(a);d=Vn(a);var e=new Gn(c.x,c.y,d.width,d.height);c=Hn(e);d=String(Nn(a,"zIndex"));var f=new tn(0,Infinity,Infinity,0);for(var g=af(a),h=g.g.body,k=g.g.documentElement,m=jf(g.g);a=Pn(a);)if((!se||a.clientHeight!=0||a!=h)&&a!=h&&a!=k&&Nn(a,"overflow")!="visible"){var n=Qn(a),p=new Xe(a.clientLeft,a.clientTop); n.x+=p.x;n.y+=p.y;f.top=Math.max(f.top,n.y);f.right=Math.min(f.right,n.x+a.clientWidth);f.bottom=Math.min(f.bottom,n.y+a.clientHeight);f.left=Math.max(f.left,n.x)}a=m.scrollLeft;m=m.scrollTop;f.left=Math.max(f.left,a);f.top=Math.max(f.top,m);g=g.g;g=hf(g.parentWindow||g.defaultView||window);f.right=Math.min(f.right,a+g.width);f.bottom=Math.min(f.bottom,m+g.height);m=(f=(f=f.top>=0&&f.left>=0&&f.bottom>f.top&&f.right>f.left?f:null)?new Gn(f.left,f.top,f.right-f.left,f.bottom-f.top):null)?In(e,f):null; g=a=0;m&&!m.getSize().isEmpty()&&(a=m.width/e.width,g=m.height/e.height);m=new tn(0,0,0,0);if(h=f)(e=In(e,f))?(k=Hn(f),n=Hn(e),h=n.right!=k.left&&k.right!=n.left,k=n.bottom!=k.top&&k.bottom!=n.top,h=(e.width!=0||h)&&(e.height!=0||k)):h=!1;h&&(m=new tn(Math.max(c.top-f.top,0),Math.max(f.left+f.width-c.right,0),Math.max(f.top+f.height-c.bottom,0),Math.max(c.left-f.left,0)));return new H1(b,c,d,m,a,g)};var K1=function(a){this.A=a;this.o=null;this.D=this.status=0;this.j=null;this.Y="sfchannel"+a};({})[3]=id(ed(new dd(ad,"https://s0.2mdn.net/ads/richmedia/studio/mu/templates/hifi/hifi.js")));({})[3]=id(ed(new dd(ad,"https://s0.2mdn.net/ads/richmedia/studio_canary/mu/templates/hifi/hifi_canary.js")));var L1=function(a){this.g=a};L1.prototype.getValue=function(a,b){return this.g[a]==null||this.g[a][b]==null?null:this.g[a][b]};var M1=function(a,b){this.Sf=a;this.Tf=b;this.j=this.g=!1};var N1=function(a,b,c,d,e,f,g,h){h=h===void 0?[]:h;this.j=a;this.l=b;this.o=c;this.permissions=d;this.metadata=e;this.A=f;this.fg=g;this.hostpageLibraryTokens=h;this.g=""};function O1(a){return typeof a==="number"||typeof a==="string"}var P1=function(a,b){this.j=a;this.l=b};P1.prototype.g=function(a){this.l&&a&&(a.sentinel=this.l);return JSON.stringify(a)};var Q1=function(a,b,c){P1.call(this,a,c===void 0?"":c);this.version=b};w(Q1,P1);Q1.prototype.g=function(){return P1.prototype.g.call(this,{uid:this.j,version:this.version})};var R1=function(a,b,c,d){P1.call(this,a,d===void 0?"":d);this.A=b;this.o=c};w(R1,P1); R1.prototype.g=function(){return P1.prototype.g.call(this,{uid:this.j,initialWidth:this.A,initialHeight:this.o})};var S1=function(a,b,c){P1.call(this,a,c===void 0?"":c);this.description=b};w(S1,P1);S1.prototype.g=function(){return P1.prototype.g.call(this,{uid:this.j,description:this.description})};var T1=function(a,b,c,d){P1.call(this,a,d===void 0?"":d);this.expand=b;this.push=c};w(T1,P1); T1.prototype.g=function(){return P1.prototype.g.call(this,{uid:this.j,expand_t:this.expand.top,expand_r:this.expand.right,expand_b:this.expand.bottom,expand_l:this.expand.left,push:this.push})};var U1=function(a,b){P1.call(this,a,b===void 0?"":b)};w(U1,P1);U1.prototype.g=function(){return P1.prototype.g.call(this,{uid:this.j})};var V1=function(a,b,c){P1.call(this,a,c===void 0?"":c);this.o=b};w(V1,P1); V1.prototype.g=function(){var a={uid:this.j,newGeometry:I1(this.o)};return P1.prototype.g.call(this,a)};var W1=function(a,b,c,d,e,f){V1.call(this,a,c,f===void 0?"":f);this.success=b;this.expand=d;this.push=e};w(W1,V1);W1.prototype.g=function(){var a={uid:this.j,success:this.success,newGeometry:I1(this.o),expand_t:this.expand.top,expand_r:this.expand.right,expand_b:this.expand.bottom,expand_l:this.expand.left,push:this.push};this.l&&(a.sentinel=this.l);return JSON.stringify(a)}; var X1=function(a,b,c,d){P1.call(this,a,d===void 0?"":d);this.width=b;this.height=c};w(X1,P1);X1.prototype.g=function(){return P1.prototype.g.call(this,{uid:this.j,width:this.width,height:this.height})};var Y1=function(a){var b;if((b=a.location)==null?0:b.ancestorOrigins)return a.location.ancestorOrigins.length;var c=0;dg(function(){c++;return!1},a);return c};var Z1=function(){this.g=[]},a2=function(a,b,c,d,e){a.g.push(new $1(b,c,d,e))},b2=function(a){for(var b=a.g.length-1;b>=0;b--){var c=a.g[b];c.j?(c.l.style.removeProperty(c.g),c.l.style.setProperty(c.g,String(c.o),c.A)):c.l.style[c.g]=c.o}a.g.length=0},$1=function(a,b,c,d){this.l=a;this.g=(this.j=!(d===void 0||!a.style||!a.style.getPropertyPriority))?String(b).replace(/([A-Z])/g,"-$1").toLowerCase():b;this.o=this.j?a.style.getPropertyValue(this.g):a.style[this.g];this.A=this.j?a.style.getPropertyPriority(this.g): void 0;this.j?(a.style.removeProperty(this.g),a.style.setProperty(this.g,String(c),d)):a.style[this.g]=String(c)};var g2=function(a){K1.call(this,a.uniqueId);var b=this;this.B=a.ra;this.N=a.size===1;this.aa=new M1(a.permissions.Sf&&!this.N,a.permissions.Tf&&!this.N);this.C=a.hi;var c;this.xa=(c=a.hostpageLibraryTokens)!=null?c:[];var d=window.location;c=d.protocol;d=d.host;this.la=c=="file:"?"*":c+"//"+d;this.Ga=!!a.fg;this.T=a.Ae?"//"+a.Ae+".safeframe.googlesyndication.com":"//tpc.googlesyndication.com";this.ha=a.xb?"*":"https:"+this.T;this.da=c2(a);this.l=new Z1;d2(this,a.hi,a.size);this.o=this.V=J1(a.hi); this.K=a.mf||"1-0-40";var e;this.ba=(e=a.xp)!=null?e:"";e2(this,a);this.F=wB(412,function(){return f2(b)},a.uc);this.G=-1;this.J=0;var f=wB(415,function(){b.g&&(b.g.name="",a.Ij&&a.Ij(),Lf(b.g,"load",f))},a.uc);Kf(this.g,"load",f);this.Ph=wB(413,this.Ph,a.uc);this.li=wB(417,this.li,a.uc);this.ni=wB(419,this.ni,a.uc);this.Ch=wB(411,this.Ch,a.uc);this.mh=wB(409,this.mh,a.uc);this.L=wB(410,this.L,a.uc);this.fi=wB(416,this.fi,a.uc);this.j=new D1(this.Y,this.g.contentWindow,this.ha,!1);F1(this.j,"init_done", Sa(this.Ph,this));F1(this.j,"register_done",Sa(this.li,this));F1(this.j,"report_error",Sa(this.ni,this));F1(this.j,"expand_request",Sa(this.Ch,this));F1(this.j,"collapse_request",Sa(this.mh,this));F1(this.j,"creative_geometry_update",Sa(this.L,this));this.j.connect(Sa(this.fi,this))};w(g2,K1); var d2=function(a,b,c){a.N?(b.style.width=Tn("100%"),b.style.height=Tn("auto")):(b.style.width=Tn(c.width),b.style.height=Tn(c.height))},e2=function(a,b){var c=b.xb;var d=b.content;var e=b.tm;var f=b.size;var g=b.vm===void 0?"3rd party ad content":b.vm;var h=b.zp;b=b.tp;d=c?"":d!=null?d:"";var k={shared:{sf_ver:a.K,ck_on:Wu()?1:0,flash_ver:"0"}};d=a.K+";"+d.length+";"+d;k=new N1(a.A,a.la,a.V,a.aa,new L1(k),a.N,a.Ga,a.xa);var m={};m.uid=k.j;m.hostPeerName=k.l;m.initialGeometry=I1(k.o);var n=k.permissions; n=JSON.stringify({expandByOverlay:n.Sf,expandByPush:n.Tf,readCookie:n.g,writeCookie:n.j});m=(m.permissions=n,m.metadata=JSON.stringify(k.metadata.g),m.reportCreativeGeometry=k.A,m.isDifferentSourceWindow=k.fg,m.goog_safeframe_hlt=C1(k.hostpageLibraryTokens),m);k.g&&(m.sentinel=k.g);k=JSON.stringify(m);m=f.width;f=f.height;a.N&&(f=m=0);n={};e=(n.id=e,n.title=g,n.name=d+k,n.scrolling="no",n.marginWidth="0",n.marginHeight="0",n.width=String(m),n.height=String(f),n["data-is-safeframe"]="true",n);c=== void 0&&(g=a.ba,f=a.T,d=a.K,(k=g)&&(k="?"+k),f=(f===void 0?"//tpc.googlesyndication.com":f)+("/safeframe/"+d+"/html/container.html"+k),(d=Y1(lf($e(a.C))))&&(f+=(g?"&":"?")+"n="+d),e.src="https:"+f);a.da!==null&&(e.sandbox=a.da);h&&(e.allow=h);b&&(e.credentialless="true");e["aria-label"]="Advertisement";e.tabIndex="0";c?(a.g=c,gf(a.g,e)):(c={},c=(c.frameborder=0,c.allowTransparency="true",c.style="border:0;vertical-align:bottom;",c.src="about:blank",c),e&&$b(c,e),h=qg("IFRAME"),gf(h,c),a.g=h);a.N&& (a.g.style.minWidth="100%");a.C.appendChild(a.g)};l=g2.prototype;l.fi=function(){Kf(window,"resize",this.F);Kf(window,"scroll",this.F)}; l.Ph=function(a){try{if(this.status!=0)throw Error("Container already initialized");if(typeof a!=="string")throw Error("Could not parse serialized message");var b=JSON.parse(a);if(!Na(b)||!O1(b.uid)||typeof b.version!=="string")throw Error("Cannot parse JSON message");var c=new Q1(b.uid,b.version,b.sentinel);if(this.A!==c.j||this.K!==c.version)throw Error("Wrong source container");this.status=1}catch(e){var d;(d=this.B)==null||d.error("Invalid INITIALIZE_DONE message. Reason: "+e.message)}}; l.li=function(a){try{if(this.status!=1)throw Error("Container not initialized");if(typeof a!=="string")throw Error("Could not parse serialized message");var b=JSON.parse(a);if(!Na(b)||!O1(b.uid)||typeof b.initialWidth!=="number"||typeof b.initialHeight!=="number")throw Error("Cannot parse JSON message");if(this.A!==(new R1(b.uid,b.initialWidth,b.initialHeight,b.sentinel)).j)throw Error("Wrong source container");this.status=2}catch(d){var c;(c=this.B)==null||c.error("Invalid REGISTER_DONE message. Reason: "+ d.message)}};l.ni=function(a){try{if(typeof a!=="string")throw Error("Could not parse serialized message");var b=JSON.parse(a);if(!Na(b)||!O1(b.uid)||typeof b.description!=="string")throw Error("Cannot parse JSON message");var c=new S1(b.uid,b.description,b.sentinel);if(this.A!==c.j)throw Error("Wrong source container");var d;(d=this.B)==null||d.info("Ext reported an error. Description: "+c.description)}catch(f){var e;(e=this.B)==null||e.error("Invalid REPORT_ERROR message. Reason: "+f.message)}}; l.Ch=function(a){try{if(this.status!=2)throw Error("Container is not registered");if(this.D!=0)throw Error("Container is not collapsed");if(typeof a!=="string")throw Error("Could not parse serialized message");var b=JSON.parse(a);if(!Na(b)||!O1(b.uid)||typeof b.expand_t!=="number"||typeof b.expand_r!=="number"||typeof b.expand_b!=="number"||typeof b.expand_l!=="number"||typeof b.push!=="boolean")throw Error("Cannot parse JSON message");var c=new T1(b.uid,new tn(b.expand_t,b.expand_r,b.expand_b,b.expand_l), b.push,b.sentinel);if(this.A!==c.j)throw Error("Wrong source container");if(!(c.expand.top>=0&&c.expand.left>=0&&c.expand.bottom>=0&&c.expand.right>=0))throw Error("Invalid expansion amounts");var d;if(d=c.push&&this.aa.Tf||!c.push&&this.aa.Sf){var e=c.expand,f=c.push,g=this.o=J1(this.g);if(e.top<=g.g.top&&e.right<=g.g.right&&e.bottom<=g.g.bottom&&e.left<=g.g.left){if(!f)for(var h=this.g.parentNode;h&&h.style;h=h.parentNode)a2(this.l,h,"overflowX","visible","important"),a2(this.l,h,"overflowY","visible", "important");var k=Hn(new Gn(0,0,this.o.j.getWidth(),this.o.j.getHeight())).expand(e);a2(this.l,this.C,"position","relative");a2(this.l,this.g,"position","absolute");if(f){var m=this.l,n=this.C,p=k.getWidth();a2(m,n,"width",p+"px");var r=this.l,t=this.C,v=k.getHeight();a2(r,t,"height",v+"px")}else a2(this.l,this.g,"zIndex","10000");var A=this.l,B=this.g,D=k.getWidth();a2(A,B,"width",D+"px");var F=this.l,N=this.g,ia=k.getHeight();a2(F,N,"height",ia+"px");a2(this.l,this.g,"left",k.left+"px");a2(this.l, this.g,"top",k.top+"px");this.D=2;this.o=J1(this.g);d=!0}else d=!1}a=d;G1(this.j,"expand_response",(new W1(this.A,a,this.o,c.expand,c.push)).g());if(!a)throw Error("Viewport or document body not large enough to expand into.");}catch(Ub){var ea;(ea=this.B)==null||ea.error("Invalid EXPAND_REQUEST message. Reason: "+Ub.message)}}; l.mh=function(a){try{if(this.status!=2)throw Error("Container is not registered");if(this.D!=2)throw Error("Container is not expanded");if(typeof a!=="string")throw Error("Could not parse serialized message");var b=JSON.parse(a);if(!Na(b)||!O1(b.uid))throw Error("Cannot parse JSON message");if(this.A!==(new U1(b.uid,b.sentinel)).j)throw Error("Wrong source container");b2(this.l);this.D=0;this.g&&(this.o=J1(this.g));G1(this.j,"collapse_response",(new V1(this.A,this.o)).g())}catch(d){var c;(c=this.B)== null||c.error("Invalid COLLAPSE_REQUEST message. Reason: "+d.message)}};var f2=function(a){if(a.status==1||a.status==2)switch(a.J){case 0:h2(a);a.G=window.setTimeout(Sa(a.O,a),1E3);a.J=1;break;case 1:a.J=2;break;case 2:a.J=2}}; g2.prototype.L=function(a){try{if(typeof a!=="string")throw Error("Could not parse serialized message");var b=JSON.parse(a);if(!Na(b)||!O1(b.uid)||typeof b.width!=="number"||typeof b.height!=="number"||b.sentinel&&typeof b.sentinel!=="string")throw Error("Cannot parse JSON message");var c=new X1(b.uid,b.width,b.height,b.sentinel);if(this.A!==c.j)throw Error("Wrong source container");var d=String(c.height);if(this.N)d!==this.g.height&&(this.g.height=d,f2(this));else{var e;(e=this.B)==null||e.error("Got CreativeGeometryUpdate message in non-fluidcontainer. The container is not resized.")}}catch(g){var f; (f=this.B)==null||f.error("Invalid CREATIVE_GEOMETRY_UPDATE message. Reason: "+g.message)}};g2.prototype.O=function(){if(this.status==1||this.status==2)switch(this.J){case 1:this.J=0;break;case 2:h2(this),this.G=window.setTimeout(Sa(this.O,this),1E3),this.J=1}};var h2=function(a){a.o=J1(a.g);G1(a.j,"geometry_update",(new V1(a.A,a.o)).g())}; g2.prototype.destroy=function(){this.status!=100&&(this.D==2&&(b2(this.l),this.D=0),window.clearTimeout(this.G),this.G=-1,this.J=3,this.j&&(this.j.dispose(),this.j=null),Lf(window,"resize",this.F),Lf(window,"scroll",this.F),this.C&&this.g&&this.C==vf(this.g)&&this.C.removeChild(this.g),this.C=this.g=null,this.status=100)}; var c2=function(a){var b=null;a.Uj&&(b=a.Uj);return b==null?null:b.join(" ")},i2=["allow-modals","allow-orientation-lock","allow-presentation","allow-pointer-lock"],j2=["allow-top-navigation"],k2=["allow-same-origin"],l2=kg([].concat(u(i2),u(j2)));kg([].concat(u(i2),u(k2)));kg([].concat(u(i2),u(j2),u(k2)));var m2=function(a){var b=a.container;var c=a.qh;var d=a.rh;var e=a.fb;var f=a.Bh;var g=a.Ae;var h=a.mf;var k=a.skipOffset;WK.call(this,a.I);this.ra=this.j=null;this.container=b;this.qh=c;this.rh=d;this.fb=e;this.Bh=f;this.Ae=g;this.mf=h;this.skipOffset=k;(this.g=k!=null?new yM({cf:!0}):null)&&L(this,this.g);this.view=new A1};w(m2,WK); m2.prototype.build=function(){var a=this;WL(this.view,this.container);if(this.g&&this.skipOffset!=null){var b=new vL(this.g,this.I,this.skipOffset,7);B1(this.view,this.g);L(this,b)}this.fb&&B1(this.view,new k1(this.fb));this.j=new g2({content:this.qh,uc:this.Bh,tm:"safe-frame-container",ra:{info:function(){},Mp:function(){},error:function(){}},Ij:function(){return void aI(a.I,$I,null)},hi:this.view.j,permissions:{Sf:!1,Tf:!1},Ae:this.Ae,mf:this.mf,Uj:l2,size:this.rh,uniqueId:fe()});No(this,function(){var c; return void((c=a.j)==null?void 0:c.destroy())})};m2.prototype.R=function(){tf(this.view.Fa());this.view.dispose();WK.prototype.R.call(this)};var n2=function(){TL.call(this);this.element=nf("div");Kn(this.element,{position:"absolute",width:"100%",height:"100%"})};w(n2,VL);var o2=function(a,b,c,d){WK.call(this,c);this.va=a;this.fb=b;this.g=d;this.view=new n2};w(o2,WK);o2.prototype.build=function(){var a=this;window.frameElement&&Kn(window.frameElement,{"z-index":100});WL(this.view,this.g);this.fb&&UL(this.view,new k1(this.fb));this.va.forEach(function(b){var c=new mM("vast");new zL(c,a.I,b);UL(a.view,c);var d=Vn(a.view.Fa());oM(c,sE(b,d.width),tE(b,d.height));nM(c,b.g,b.j)})};o2.prototype.R=function(){tf(this.view.Fa());WK.prototype.R.call(this)};function p2(a,b,c){c=c===void 0?null:c;switch(lH(a.adTagUrl||"")){case "dcm":c=new Map;b.A!=null&&c.set("dc_submodel",b.A);var d=sP.K;d!=null&&c.set("dc_rfl",zg(d));d=new cD(a.adTagUrl||"");var e=eD(d,"dc_output")||[];(e.includes("vast")||e.includes("xml_vast2")||e.includes("xml_vast3"))&&c.set("dc_output","xml_vast4");d=eD(d,"dc_eid")||[];d=sD(d[0]||"");E(G(d))||c.set("dc_eid",d);a=new Map([].concat(u(mX(a,b)),u(c)));return new OM(a);case "dv3":c=new Map;b.A!=null&&c.set("submodel",b.A);d=sD((new P(a.adTagUrl)).g.get("eid", ""));E(G(d))||c.set("eid",d);if(d=sP.K)d=zg(d),d=encodeURIComponent(G(d)),c.set("rfl",d);a=new Map([].concat(u(mX(a,b)),u(c)));return new QM(a);case "adsense":return new LM(nX(a,c!=null?c.l:[],b));case "xfp":return new RM(lX(a,b));case "dbm":return new NM(mX(a,b));default:return new qH}};var q2="allAdsCompleted contentPauseRequested contentResumeRequested adBreakFetchError adBreakReady externalActivityEvent measurable_impression viewable_impression show_ad video_card_endcap_collapse video_card_endcap_dismiss video_card_endcap_impression linearChanged".split(" "),r2=[].concat(u(nQ),u(oQ)).filter(function(a){return!q2.includes(a)}),s2=function(a){M.call(this);this.U=a};w(s2,M);l=s2.prototype;l.getAd=function(){return this.U.getAd()};l.zc=function(){return this.U.zc()};l.expand=function(){this.U.expand()}; l.collapse=function(){this.U.collapse()};l.nf=function(){this.U.nf()};l.destroy=function(){this.U.destroy()};l.init=function(){this.U.init()};l.start=function(){this.U.start()};l.pause=function(){this.U.pause()};l.resume=function(){this.U.resume()};l.skip=function(){this.U.skip()};l.getRemainingTime=function(){return this.U.getRemainingTime()};l.getVolume=function(){return this.U.getVolume()};l.setVolume=function(a){this.U.setVolume(a)};l.Lb=function(){this.U.Lb()}; l.resize=function(a,b){this.U.resize(a,b)};l.getDuration=function(){return this.U.getDuration()};l.getCurrentTime=function(){return this.U.getCurrentTime()};l.Rc=function(){this.U.Rc()};l.reportEvent=function(a){this.U.reportEvent(a)};l.Mb=function(a,b){this.U.Mb(a,b)};l.Sa=function(a,b,c){this.U.Sa(a,b,c)};l.Fc=function(){this.U.Fc()};l.oc=function(){this.U.oc()};l.toString=function(){return this.U.toString()};var t2=function(a,b,c,d){d=d===void 0?!1:d;s2.call(this,a);this.ia=b;this.Z=c;this.G=d;this.K=this.g=this.D=this.A=this.F=this.l=this.j=null;this.O=!1;this.L=this.B=null;this.T=Yb(this.ia);this.o=new SG(a);L(this,this.o)};w(t2,s2);t2.prototype.init=function(){this.O||(u2(this),this.O=!0);s2.prototype.init.call(this)}; t2.prototype.start=function(){this.G||(this.ia.g=!1);s2.prototype.start.call(this);var a,b;(a=ef("videoAdUi"))==null||(b=a.classList)==null||b.add("ima-action-ad");if(a=this.getAd())if(b=ET(a,"InfoCards"))if(this.A=$T(b))this.D=this.A.actions[0].title,this.g=this.A.Nc,this.K=this.A.actions[0].target||WT(a);var c,d;if((c=this.A)==null?0:(d=c.ld)==null?0:d.Ng)if(this.G){var e=this.Z.g.dc();this.D&&aI(e,BI,this.D);var f;((f=this.g)==null?0:f.Rb)&&aI(e,CI,this.g.Rb);var g;((g=this.g)==null?0:g.description)&& aI(e,AI,this.g.description);var h;((h=this.g)==null?0:h.Ha)&&aI(e,zI,this.g.Ha)}else{f=document.body;this.j=new VK(this.D);this.j.ca();this.F=nf("DIV");jz(this.F,"videoAdUiFloatingLayer");f.appendChild(this.F);this.j.Ef(this.F);((e=this.g)==null?0:e.Rb)&&this.j.Yg(this.g.Rb);var k;((k=this.g)==null?0:k.description)&&this.j.wf(this.g.description);var m;((m=this.g)==null?0:m.Ha)&&this.j.He(this.g.Ha);(f=(f=this.getAd())&&f.j?xN(f.j):null)&&this.j.j.element.classList.add(f)}var n,p;if((n=this.A)==null? 0:(p=n.ld)==null?0:p.Og)if(n=this.Z.g.wb(),p=this.getAd(),n&&p&&this.A&&this.A.ld)if(f=this.A.ld.Re,p.N=f/1E3,this.G){var r=wN(p.j);this.B=new p1(this.Z.g.dc(),n,this.A,(r==null?void 0:r.g)||null);this.B.build()}else{this.l=new QK(n,f,this.D);((r=this.g)==null?0:r.Rb)&&this.l.l.Yg(this.g.Rb);var t;((t=this.g)==null?0:t.description)&&this.l.l.wf(this.g.description);var v;((v=this.g)==null?0:v.Ha)&&this.l.l.He(this.g.Ha)}var A;if(r=(A=this.getAd())==null?void 0:A.j){if((A=vN(r))&&A.j){var B;(B=this.l)== null||RK(B,A.j)}B=wN(r);var D;if(((D=this.g)==null||!D.Ha)&&(B==null?0:B.g)){var F;(F=this.j)==null||F.He(B.g||"");var N;(N=this.l)!=null&&N.l.He(B.g||"")}}v2(this);w2(this,"start")};t2.prototype.destroy=function(){Object.assign(this.ia,this.T);s2.prototype.destroy.call(this)}; var v2=function(a){a.j&&a.o.listen(a.j,"ctaClicked",function(){a.pause();w2(a,"ctaclick");a.Rc()});a.l&&(a.o.listen(a.l,"video_card_endcap_action",function(){return void x2(a)}),a.o.listen(a.l,"video_card_endcap_collapse",function(){return void y2(a,"video_card_endcap_collapse")}),a.o.listen(a.l,"videoSkipClicked",function(){return void y2(a,"video_card_endcap_dismiss")}))},u2=function(a){var b=a.U;a.o.listen(b,r2,function(c){return O(a,c)});a.o.listen(b,"start",function(){w2(a,"showui");a.j&&a.j.show()}); a.o.listen(b,"contentPauseRequested",function(c){return O(a,c)});a.o.listen(b,"contentResumeRequested",function(){return function(){}});a.o.listen(b,"adError",function(c){w2(a,"error");c=c.getError()||sR(dP);wR(a,dP,c.getInnerError());a.destroy()});a.o.listen(b,"allAdsCompleted",function(){return void z2(a)});a.o.listen(b,"skip",function(){w2(a,"skip");a.l=null;var c;(c=a.B)==null||c.dispose();a.B=null;a.j&&a.j.ca();a.destroy()})},z2=function(a){w2(a,"complete");a.j&&a.j.ca();if(a.l)a.Z.g.Kc(),a.l.show(); else if(a.B){a.Z.g.Kc();var b=a.Z.g.dc();$H(b,iJ,function(){y2(a,"video_card_endcap_collapse")});$H(b,VI,function(){x2(a)});a.Z.j.l&&q1(a.B);var c,d,e;a.L=setTimeout(function(){y2(a,"video_card_endcap_collapse")},(e=(c=a.A)==null?void 0:(d=c.ld)==null?void 0:d.Re)!=null?e:0)}else O(a,X({type:"contentResumeRequested",ad:a.getAd()})),O(a,X({type:"allAdsCompleted",ad:a.getAd()}));Object.assign(a.ia,a.T)},x2=function(a){w2(a,"endcapclick");var b;(b=a.l)==null||b.pause();a.L&&clearTimeout(a.L);b={};b= (b.url=a.K,b);O(a,X({type:"navigationRequested",ad:a.getAd(),data:b}))};t2.prototype.Rc=function(){w2(this,"outerclick");this.Sa(this.K,null,null)}; var y2=function(a,b){var c=a.getAd();O(a,X({type:b,ad:c}));O(a,X({type:"contentResumeRequested",ad:c}));O(a,X({type:"allAdsCompleted",ad:c}));var d;(d=a.B)==null||d.dispose();a.Z.g.Yc();a.destroy()},w2=function(a,b){var c={};a=(c.evt=b,c.format=A2(a),c);AQ().report(143,a,!0)},A2=function(a){a=a.getAd();if(!a)return"noad";a=a.j;if(!a)return"noimalibad";a=rN(a);if(!a)return"noextension";a=a.g;return a!=null?a:"noformat"};t2.prototype.R=function(){var a;(a=this.B)==null||a.dispose();s2.prototype.R.call(this)};var C2=function(a,b,c,d){Mo.call(this);this.l=a;this.Z=b;this.o=c;this.ia=d;this.j=null;L(this,this.l);a.o=[].concat(u(a.B));a=B2(a);this.A=this.g=this.o.create([a],this.Z,this.ia)};w(C2,Mo);l=C2.prototype;l.Dd=function(){return this.g};l.Zf=function(){var a=this,b,c;return y(function(d){if(d.g==1)return b=D2(a),a.j=null,x(d,b,2);c=d.j;if(!c)throw Error("Called getNextManager when there are no more managers.");a.g=c;return d.return(a.g)})}; l.Nd=function(){var a=this;return y(function(b){return b.g==1?x(b,D2(a),2):b.return(b.j)})};l.Rh=function(){return this.Dd()===this.A};l.R=function(){this.g.destroy();Mo.prototype.R.call(this)};var D2=function(a){if(a.Ia())return Promise.resolve(null);if(a.j)return a.j;a.j=new Promise(function(b){a.l.bc().then(function(c){a.Ia()?b(null):c?b(a.o.create([c],a.Z,a.ia)):b(null)}).catch(function(){b(null)})});return a.j};var E2=function(){M.call(this)};w(E2,M);l=E2.prototype;l.getAd=function(){return null};l.zc=function(){return!0};l.expand=function(){};l.collapse=function(){};l.nf=function(){};l.destroy=function(){};l.init=function(){};l.start=function(){};l.pause=function(){};l.resume=function(){};l.skip=function(){};l.reportEvent=function(){};l.Mb=function(){};l.getRemainingTime=function(){return 0};l.getVolume=function(){return 0};l.setVolume=function(){};l.Lb=function(){};l.resize=function(){}; l.getDuration=function(){return 0};l.getCurrentTime=function(){return 0};l.Rc=function(){};l.Sa=function(){};l.Fc=function(){};l.oc=function(){};var F2=function(a,b,c,d,e,f){this.g=a;this.A=b;this.C=c;this.l=d;this.B=e;this.j=f;this.o=[]};var G2=function(a){Mo.call(this);this.g=a.slice();this.l=this.j=this.g.shift()};w(G2,Mo);l=G2.prototype;l.Dd=function(){return this.j};l.Zf=function(){var a=this;return y(function(b){a.j=a.g.shift();return b.return(a.Dd())})};l.Nd=function(){var a=this;return y(function(b){return a.Ia()?b.return(Promise.resolve(null)):a.g.length>0?b.return(a.g[0]):b.return(null)})};l.Rh=function(){return this.Dd()===this.l};l.R=function(){this.g.forEach(function(a){return void a.destroy()});Mo.prototype.R.call(this)};var I2=function(a,b,c,d){M.call(this);this.ad=a;this.Ga=b;this.da=c;this.ia=d;this.ra=null;this.A=!1;this.volume=0;this.sb=this.K=null;this.V=new SG(this);L(this,this.V);this.j=new SG(this);L(this,this.j);this.xa=new zV;this.l=new KD(kU(this.getAd()),new q0,lU(this.getAd()));if(this.getAd().g==null)throw vR(UO);this.Uc=JQ()?new NV:SW();H2(this)};w(I2,M);I2.prototype.Lb=function(){};I2.prototype.expand=function(){};I2.prototype.collapse=function(){}; var H2=function(a){var b=a.getAd(),c=b.ma;a.K=a.Uc.ik(b,a,a.l,c==null?void 0:c.omidAccessModeRules);a.sb=CM(function(d){return void a.reportEvent(d)})};I2.prototype.getAd=function(){return this.ad};I2.prototype.zc=function(){return this.ad.isLinear()};I2.prototype.R=function(){this.xa.dispose();O(this,X({type:"contentResumeRequested",ad:this.getAd()}));O(this,X({type:"allAdsCompleted",ad:this.getAd()}));Lo(this.j);var a;(a=this.sb)==null||a.disconnect();M.prototype.R.call(this)}; I2.prototype.Sa=function(a,b,c){var d={};a=(d.url=a,d.attributionParams=b,d.attributionSrc=c,d);O(this,X({type:"navigationRequested",ad:this.getAd(),data:a}))};var J2=function(a){YG(a.V);WG(a.V,a.da,"companion_display_error",function(){});var b=a.da.B(a.getAd());b!=null&&a.V.listen(b,"companion_click",a.ge);if(!a.da.K())throw sR(KO);};I2.prototype.ge=function(){};var K2=function(a){var b=a.getAd();for(a=ET(b,"sodar");!a&&(b=b.X);)a=ET(b,"sodar");a!=null&&a.init()};I2.prototype.init=function(){}; I2.prototype.reportEvent=function(a){this.l.report(a)};I2.prototype.Mb=function(a,b){WD(this.l,b);b=this.l;a=a.getErrorCode();JB(U(),"err");T(U(),"aec",String(a));CD(a,b.l);b.report("error")};var L2=function(a,b){a.reportEvent(b);var c=a.getAd();c=c===void 0?null:c;O(a,new DR(b,c===void 0?null:c,null))};l=I2.prototype;l.getCurrentTime=function(){return-1};l.getDuration=function(){return-1};l.getRemainingTime=function(){return-1};l.pause=function(){};l.resume=function(){};l.skip=function(){}; l.start=function(){if(!this.A)throw vR(IO,null,"Must call init before start.");};l.getVolume=function(){var a;return(a=this.volume)!=null?a:0};l.setVolume=function(a){isNaN(a)||a<0||a>1?wR(this,OO,null,"volume",String(a)):this.volume=a};l.nf=function(){this.reportEvent("abandon")};var M2=function(a){if(!a.Ga){var b,c="Disp cont null.\n"+((b=Error().stack)!=null?b:"no stack");b={err:de(c,1500)};AQ().report(64,b,!0)}return a.Ga};l=I2.prototype; l.Bg=function(a){var b=a.type;if(qQ.indexOf(b)!==-1){if(b==="externalActivityEvent"&&(b=a.getAdData().eventName,!sQ(b)))return;L2(this,b)}};l.resize=function(){};l.destroy=function(){var a=this;AV(this.xa,function(){return void a.dispose()})};l.Rc=function(){};l.Fc=function(){};l.oc=function(){};var N2=function(a,b,c){I2.call(this,a,b.g,b.l,c);this.o=null;this.height=this.width=-1;this.D=!1;this.L=[];this.g=null;this.I=b.g.dc()};w(N2,I2);l=N2.prototype; l.start=function(){I2.prototype.start.call(this);O2(this);M2(this).Kc();this.o=M2(this).wb();if(this.o!=null){this.reportEvent("show_ad");O(this,X({type:"show_ad",ad:this.getAd()}));sf(this.o);this.fj();if(MQ()&&this.g){var a=this.g.Je(),b=new aE(this.getAd().j,this.l,M2(this).Fd(),MQ(),this.getAd().Xb);b.A=a;dE(b);L(this,b)}this.Le();this.L.forEach(function(c){return void c()});this.L=[];this.D=!0}}; l.init=function(){if(!this.A){this.A=!0;O(this,X({type:"loaded",ad:this.getAd()}));var a=SR();this.j.listen(a,qQ,this.Bg)}};l.expand=function(){this.g!=null&&this.g.show();this.reportEvent("expand")};l.collapse=function(){this.g!=null&&this.g.ca();this.reportEvent("collapse")};l.Lb=function(){I2.prototype.Lb.call(this);this.Le();this.D&&this.reportEvent("overlay_resize")};l.resize=function(a,b){I2.prototype.resize.call(this,a,b);this.width=a;this.height=b;this.Le();this.D&&this.reportEvent("overlay_resize")}; l.R=function(){var a;(a=this.g)==null||a.dispose();this.g=null;this.I.clear();this.D=!1;this.o!=null&&(sf(this.o),this.o=null);M2(this).Yc();I2.prototype.R.call(this)}; l.fj=function(){var a=this;if(!this.g){var b=this.getAd().g;if(b==null){var c=sR(UO);P2(this,c);throw c;}try{J2(this)}catch(d){throw P2(this,d),d;}WD(this.l,OS(this.getAd()));c=PT(this.getAd())||this.ia.useStyledNonLinearAds;this.o&&(this.g=new y1(b,this.I,this.o,this.ia.autoAlign,c,new tT),$H(this.I,RI,function(){return void a.Te()}),$H(this.I,bJ,function(){var d=b.Pb(),e=b.Ie();L2(a,"click");a.Sa(d,e,null)}),$H(this.I,hJ,function(){return void Q2(a)}),$H(this.I,dJ,function(){return void a.ba()}), $H(this.I,mJ,function(){return void a.T()}),this.g.build())}};l.Le=function(a,b){a=a===void 0?0:a;b=b===void 0?0:b;if(this.g!=null){var c=Vn(M2(this).wb()),d=this.width,e=this.height;if(d===-1||e===-1)d=c.width,e=c.height;c=Vn(this.g.Je());if(c.width+a>d||c.height+b>e)throw a=sR(QO),P2(this,a),this.destroy(),a;}};var P2=function(a,b){var c=GS(b,a.getAd());a.Mb(b,c)};N2.prototype.Te=function(){this.reportEvent("close");O(this,X({type:"userClose",ad:this.getAd()}))}; N2.prototype.ba=function(){var a=this;if(this.g){var b=this.g.de().getAd();this.D?this.F(b):this.L.push(function(){return void a.F(b)})}};N2.prototype.F=function(a){a&&(WD(this.l,OS(a)),L2(this,"impression"),this.reportEvent("creativeView"),L2(this,"start"))};var Q2=function(a){O(a,X({type:"userRecall",ad:a.getAd()}))};N2.prototype.Bg=function(a){var b=a.getAdData();this.getAd().Xb===b.queryId&&I2.prototype.Bg.call(this,a)};N2.prototype.T=function(){this.g&&this.Sa(this.g.de().Wb,null,null)}; var O2=function(a){var b=a.getAd().g,c,d;if(a=(d=((c=UR(a.getAd()).get("nonlinearAta"))!=null?c:[])[0])==null?void 0:d.j.A)b.Wb=a};N2.prototype.toString=function(){return"nonlinearman"};var T2=function(a,b,c){N2.call(this,a[0],b,c);var d=this;this.Y=!1;this.uiConfig=null;this.B=[];this.O=!1;this.elapsedTime=0;this.Aa=[];this.la=!1;this.G=new ju(200);L(this,this.G);this.ha=new q0;a.forEach(function(e){var f=e.g;if(f==null)f=vR(UO),e=GS(f,e),d.Mb(f,e);else{if(d.uiConfig==null){var g=ET(e,"AdSense");g&&(d.uiConfig=g.uiConfig)}f.getContentType()==="Text"&&(d.Y=!0);!(e=R2(e))||S2(d)&&!d.Y||(f.Wb=e);d.B.push(f)}});DT(this.getAd()).length!==0&&J2(this)};w(T2,N2);l=T2.prototype; l.fj=function(){var a=this;if(!this.g&&this.o){if(this.B.length===0)throw sR(UO);this.uiConfig==null&&(this.uiConfig=new tT);if(S2(this)){var b=this.getAd(),c=C0(b,dU(b));b=cU(b,this.ia.disableUi,c);c=U2(this);this.g=new $0(this.B,this.I,this.o,this.uiConfig,c.text,!b,c.shouldRenderWta);this.j.listen(this.G,"tick",this.qn)}else this.B.length===1?this.g=new y1(this.B[0],this.I,this.o,!0,!0,this.uiConfig):this.g=new e1(this.B,this.I,this.o,this.uiConfig);$H(this.I,bJ,function(d){var e=d.Ab,f=d.Bb;if(a.g){d= a.g.de();var g=d.getAd();if(g){var h=ET(g,"AdSense");h=new P(h.be);var k=Vn(a.g.Je()),m=Vn(M2(a).wb());e=["0","aw="+k.width,"ah="+k.height,"nx="+e,"ny="+f,"viewMode="+(GF(m.width,m.height)?"fullscreen":"normal"),"sdkv=h.3.646.1","eids="+fB(),"bw="+m.width,"bh="+m.height];h.g.set("label","elementclick");h.g.set("value",e.join(";"));a.ha.g(h.toString());V2(a,g);a.reportEvent("click");W2(a);O(a,X({type:"click",ad:a.getAd()}));if(e=d.Pb())(g=a.g.Wf())&&(e=tM(g.j,e)),a.Sa(e,d.Ie(),d.xf())}}});$H(this.I, dJ,function(){return void a.ba()});$H(this.I,RI,function(){return void a.Te()});$H(this.I,hJ,function(){return void Q2(a)});$H(this.I,jJ,function(){O(a,X({type:"skippableStateChanged",ad:a.getAd()}))});$H(this.I,iJ,function(){return void X2(a)});$H(this.I,mJ,function(){return void a.T()});$H(this.I,JI,function(){var d,e=ET(a.getAd(),"AdSense");e&&(d=e.tb);d==null&&a.uiConfig&&(d=a.uiConfig.tb);d&&a.Sa(d,null,null)});this.g.build()}}; l.qn=function(){this.elapsedTime+=.2;var a=new rJ(this.elapsedTime,this.getDuration());aI(this.I,sJ,a);this.elapsedTime>=this.getDuration()&&(O(this,X({type:"complete",ad:this.getAd()})),Y2(this))};l.init=function(){N2.prototype.init.call(this)};l.start=function(){N2.prototype.start.call(this);!this.O&&S2(this)&&(this.O=!0,O(this,X({type:"contentPauseRequested",ad:this.getAd()})),this.G.start())}; l.Te=function(){var a=this;N2.prototype.Te.call(this);this.B.forEach(function(b){if(b=b.getAd())V2(a,b),a.reportEvent("close"),W2(a)})};var R2=function(a){return(a=ET(a,"AdSense"))?a.j:null},U2=function(a){var b=ET(a.getAd(),"AdSense").qa,c;b=b!=null?b:(c=a.uiConfig)==null?void 0:c.qa;if(c=!!R2(a.getAd()))c=S2(a)&&!a.Y;a={text:b,shouldRenderWta:c};a.text==null&&(a.text=Nz("Ads by Google"));return a}; T2.prototype.ba=function(){var a=this;if(this.g){var b=this.g.de().getAd();if(b!=null){this.ad=b;var c=b.getAdId();this.Aa.includes(c)||(this.Aa.push(c),this.D?this.F(b):this.L.push(function(){return void a.F(b)}))}}};T2.prototype.F=function(a){a&&(this.ad=a,this.la||(O(this,X({type:"impression",ad:this.getAd()})),this.la=!0),V2(this,a),this.reportEvent("impression"),this.reportEvent("creativeView"),this.reportEvent("start"),O(this,X({type:"start",ad:this.getAd()})),W2(this))}; T2.prototype.T=function(){if(S2(this)){var a=R2(this.getAd());this.Sa(a,null,null)}else N2.prototype.T.call(this)};T2.prototype.Le=function(){var a=S2(this)?15:0,b=S2(this)?65:0;N2.prototype.Le.call(this,a,b)};var S2=function(a){return TT(a.getAd())},X2=function(a){O(a,X({type:"skip",ad:a.getAd()}));a.Te();Y2(a)},Y2=function(a){a.G.stop();a.g&&(a.g.dispose(),a.g=null);a.O&&(a.O=!1,O(a,X({type:"contentResumeRequested",ad:a.getAd()})))}; T2.prototype.skip=function(){var a;var b=(a=this.getAd())==null?void 0:UT(a);b?(a=DQ(b),a=a!==-1&&this.getCurrentTime()>=a):a=!1;a&&X2(this)};T2.prototype.getCurrentTime=function(){return S2(this)?this.elapsedTime:N2.prototype.getCurrentTime.call(this)};T2.prototype.getDuration=function(){return S2(this)&&this.uiConfig!=null?15:N2.prototype.getDuration.call(this)};T2.prototype.getRemainingTime=function(){var a=this.getDuration(),b=this.getCurrentTime();return S2(this)&&0<=b&&b<=a?a-b:N2.prototype.getRemainingTime.call(this)}; var V2=function(a,b){a.l=new KD(kU(b),a.ha,lU(b));WD(a.l,OS(b))},W2=function(a){a.l=new KD(new Map,a.ha)};T2.prototype.toString=function(){return"adsensenonlinearman"};var $2=function(a,b,c,d,e){Mo.call(this);this.B=a;this.D=b;this.Z=c;this.C=d;this.ia=e;this.A=!1;this.l=new SG;this.j=null;this.g=a;Z2(this,a);L(this,this.l);this.o=[b]};w($2,Mo);l=$2.prototype;l.Dd=function(){return this.g};l.Zf=function(){var a=this,b,c;return y(function(d){if(d.g==1)return b=a3(a),a.j=null,x(d,b,2);c=d.j;if(!c)throw Error("Called getNextManager when there are no more managers.");Z2(a,c);a.g=c;return d.return(a.g)})}; l.Nd=function(){var a=this;return y(function(b){return b.g==1?a.A?b.return(null):x(b,a3(a),2):b.return(b.j)})};l.Rh=function(){return this.Dd()===this.B};l.R=function(){this.g.destroy();Mo.prototype.R.call(this)}; var b3=function(a){if(!aB(mC)){var b;return(b=a.g.getAd())==null?void 0:OT(b)}var c;return(c=a.o.find(function(d){var e;return(e=OT(d))==null?void 0:e.Hf()}))==null?void 0:OT(c)},a3=function(a){if(a.j)return a.j;var b=b3(a);if(b==null)return Promise.resolve(null);a.j=new Promise(function(c){b.zd(function(d){if(a.Ia())c(null);else{a.o.push.apply(a.o,u(d));d=d[0];var e=d.getAdPodInfo(),f=a.D.getAdPodInfo();if(f){var g=f.getAdPosition();e.adPosition=g;g=f.getIsBumper();e.o=g;g=f.getMaxDuration();e.g= g;g=f.getPodIndex();e.j=g;g=f.getTimeOffset();e.l=g;f=f.getTotalAds();e.totalAds=f;d=a.C.create([d],a.Z,a.ia);c(d)}else c(null)}},function(){return void c(null)})});return a.j},Z2=function(a,b){a.l.listen(b,["adStarted","start","impression"],function(){a.A=!0;a.l.dispose()})};var c3=[{type:"itag",Ld:18},{type:"itag",Ld:22}],d3=[{type:"itag",Ld:22},{type:"itag",Ld:18}];var e3=function(a,b,c){this.currentTime=b;this.duration=c;this.adBreakDuration=a.getMaxDuration();this.adPosition=a.getAdPosition();this.totalAds=a.getTotalAds()};function f3(a,b,c){var d=null,e=c+b;a.pa.forEach(function(f){var g;if(g=f instanceof nS)c===0&&b===0||f instanceof uU?g=!0:(g=f.getSize(),g=g.width<=b&&g.height<=c);g&&(g=c===0&&b===0?0:c-f.getSize().height+b-f.getSize().width,f.getContentType()!=="Flash"&&(d==null?(d=f,e=g):gd&&(d=f,b=e,b.o=!1))}c=sP.getFeatureFlags().audioPosterImageDefaultUrl;!b&&c&&(b=new tU(null,null,"Image",c));return b};var i3="start creativeView engagedView impression measurable_impression viewable_impression firstQuartile midpoint thirdQuartile complete".split(" "),j3=i3.concat(),k3=i3.concat(["skipShown","skip"]),l3=function(a){M.call(this);this.G=a;this.o=this.I=this.B=this.H=null;this.D=-1;this.K=!1;this.j=null;this.l=!1;this.A="";this.ra=null;this.g=new SG(this);L(this,this.g);this.F=new Set};w(l3,M);l3.prototype.R=function(){m3(this);M.prototype.R.call(this)}; var m3=function(a){YG(a.g);a.H!=null&&YQ(a.H);a.o!=null&&a.o.dispose();a.o=null;a.F.clear();a.D=-1;a.A="";a.K=!1;a.l=!1},p3=function(a,b,c,d,e){m3(a);a.H=c;XQ(a.H);a.B=d;a.I=e;a.j=new n3(a.H);a.A=b.Xb;MQ()&&(b=SR(),a.g.listen(b,"externalActivityEvent",a.Jm),a.g.listen(b,"measurable_impression",a.Lm),a.g.listen(b,"viewable_impression",a.Qm));a.g.listen(a.H,"timeUpdate",a.Xk);a.g.listen(a.H,"loadedmetadata",function(){a.notify((new dt("loadedMetadata")).type)});a.g.listen(a.H,"durationChange",function(){a.notify((new dt("durationChange")).type)}); a.g.listen(a.H,"canplay",function(){a.notify((new dt("adCanPlay")).type)});a.g.listen(a.H,"volumeChange",a.Rm);a.g.listen(a.H,"pause",a.Vk);a.g.listen(a.H,"play",a.Wk);a.g.listen(a.H,"end",a.Im);a.g.listen(a.H,"beginFullscreen",a.T);a.g.listen(a.H,"endFullscreen",a.O);a.g.listen(a.H,"skip",a.L);a.g.listen(a.H,"skipShown",a.Si);a.g.listen(a.H,"start",a.Nm);a.g.listen(a.H,"error",a.Tk);a.g.listen(a.H,"mediaLoadTimeout",a.Uk);a.g.listen(a.H,"autoplayDisallowed",a.Sk);a.g.listen(a.H,"loaded",function(){return void a.report("loaded")}); o3(a,a.B,a.I)},o3=function(a,b,c){b!=null&&c!=null&&($H(c,nJ,function(){a.notify(ER({type:"videoClicked"}).type)}),$H(c,iJ,function(){return void a.L()}),$H(c,jJ,function(){return void a.Si()}),$H(c,II,function(){return void a.ve()}),$H(c,PI,function(){a.notify(ER({type:"authorIconClicked"}).type)}),$H(c,QI,function(){a.notify(ER({type:"titleClicked"}).type)}),$H(c,KI,function(){a.notify(ER({type:"authorNameClicked"}).type)}),$H(c,ZI,function(){a.notify(ER({type:"learnMoreClicked"}).type)}),$H(c, lJ,function(d){return void q3(d)}),$H(c,kJ,function(d){return void r3(a,d.l,d.A,d.C,d.B)}),$H(c,YI,function(){a.notify(ER({type:"iconFallbackImageClosed"}).type)}),$H(c,mJ,function(){return void r3(a,[],b?b.B:null,null)}))};l=l3.prototype;l.notify=function(a){if(this.l||!j3.includes(a))this.F.has(a)&&k3.includes(a)||(this.F.add(a),this.report(a),O(this,a))};l.report=function(a){if(this.B&&this.B.g){if(a==="click")return;a==="learnMoreClicked"&&this.G.report("click")}a!=="error"&&this.G.report(a)}; l.Lm=function(a){(a=a.getAdData())&&a.queryId===this.A&&this.notify("measurable_impression")};l.Qm=function(a){(a=a.getAdData())&&a.queryId===this.A&&this.notify("viewable_impression")};l.Jm=function(a){if(a=a.getAdData()){var b=a.eventName;a=sQ(b)&&a.queryId===this.A?b:null;a!=null&&this.l&&!this.F.has(a)&&this.notify(a)}}; l.Xk=function(){if(this.H&&this.l){var a=this.H.getDuration();a!==-1&&(this.H.currentTime>=a*.25&&this.notify("firstQuartile"),this.H.currentTime>=a*.5&&this.notify("midpoint"),this.H.currentTime>=a*.75&&this.notify("thirdQuartile"),UD(this.G,this.H.getCurrentTime(),a*1E3));s3(this)}};var s3=function(a){a.H&&!(a.D<0||a.K)&&(a.H.currentTime>=a.D||a.H.o)&&a.l&&(a.K=!0,a.notify("engagedView"))};l=l3.prototype; l.Nm=function(){this.H&&this.j&&(this.l=!0,this.notify("impression"),this.notify("creativeView"),this.notify("start"),this.j.g=this.H.muted,this.j.volume=this.H.getVolume(),(this.j.g||this.j.volume===0)&&this.notify("mute"))};l.Rm=function(){if(this.H&&this.j){var a=this.H.muted,b=this.H.getVolume(),c=this.j;c.g&&!a||!a&&c.volume===0&&b>0?this.notify("unmute"):this.j.muted(a,b)&&this.notify("mute");this.j.g=a;this.j.volume=b}}; l.Vk=function(){this.H&&this.j&&(this.H.o?(s3(this),this.notify("complete")):this.H.l&&(this.j.j=!0,this.notify("pause")))};l.Wk=function(){this.j&&this.j.j&&(this.j.j=!1,this.notify("resume"))};l.Im=function(){s3(this);this.notify("complete")};l.bh=function(){this.notify("click")};l.Tk=function(){this.notify("error")};l.Uk=function(){this.notify("mediaLoadTimeout")};l.Sk=function(){this.notify("autoplayDisallowed")};l.Si=function(){this.notify("skipShown")}; var q3=function(a){a.J.forEach(function(b){wQ(b)})},r3=function(a,b,c,d,e){e=e===void 0?[]:e;var f={};c=(f.clickThroughUrl=c,f.attributionParams=d,f);b.length>0&&!SQ(b)&&(c.iconClickFallbackImages=b.map(function(g){return g0(g)}));O(a,ER({type:"videoIconClicked",data:c}));e.forEach(function(g){wQ(g)})};l3.prototype.L=function(){this.notify("skip")};l3.prototype.ve=function(){this.notify("skip")};l3.prototype.T=function(){this.notify("fullscreen")};l3.prototype.O=function(){this.notify("exitFullscreen")}; var n3=function(a){this.j=!1;this.g=a.muted;this.volume=a.getVolume()};n3.prototype.muted=function(a,b){return!this.g&&a||this.volume!==0&&b===0};var t3=function(a,b){b=b===void 0?null:b;dt.call(this,a);this.data=b};w(t3,dt);var v3=function(a){M.call(this);this.l=a;this.j=!1;this.o=new SG(this);L(this,this.o);this.g=new u3;this.o.listen(this.l,"nativeUi",this.A)};w(v3,M);var x3=function(a){a.j||(a.j=!0,w3(a))},y3=function(a,b){a.g.j=b;w3(a)};v3.prototype.R=function(){this.g=new u3;w3(this);this.j=!1;M.prototype.R.call(this)};var w3=function(a){if(a.j){var b=a.g;var c={},d={};b=(d.iconsView=b.j,d.skipView=(c.state=b.g,c.skipText=b.Rd,c),d);WQ(a.l,"nativeUi","updateUiState",b)}}; v3.prototype.A=function(a){switch(a.messageType){case "iconClicked":O(this,new t3("iconClicked",a.Cb));break;case "iconRendered":O(this,new t3("iconRendered",a.Cb));break;case "skipButtonClicked":O(this,new t3("skipButtonClicked"))}};var u3=function(){this.Rd="";this.j={};this.g="skipStateHidden"};var z3=["image/jpeg","image/jpg","image/png"],A3=function(a,b,c){Mo.call(this);this.g=a;this.I=b;this.va=c.filter(function(d){var e=d.D;return e!=null&&z3.includes(e.toLowerCase())&&d.o!=null});this.j=new SG(this);L(this,this.j);this.j.listen(this.g,"iconClicked",this.l);this.j.listen(this.g,"iconRendered",this.o);a={};y3(this.g,(a.icons=this.va.map(function(d,e){return j0(d,e)}),a.iconsFallbackImageCloseText="OK",a.iconsFallbackImageErrorText="The requested information could not be loaded.",a))}; w(A3,Mo);A3.prototype.l=function(a){(a=B3(this,a.data))&&aI(this.I,kJ,a)};A3.prototype.o=function(a){(a=B3(this,a.data))&&aI(this.I,lJ,a)};var B3=function(a,b){if(!b||b.id==null)return null;b=b.id;return b<0||b>=a.va.length?null:a.va[b]};var E3=function(a,b,c,d){d=d===void 0?!1:d;Mo.call(this);this.j=a;this.I=b;this.g=c;this.kc=d;this.currentTimeSeconds=0;a=this.g;this.state=a<0?1:a===0?3:2;this.l=new SG(this);L(this,this.l);C3(this);D3(this);this.state===3&&aI(this.I,jJ,null)};w(E3,Mo);var C3=function(a){a.l.listen(a.j,"skipButtonClicked",function(){a.state===3&&aI(a.I,iJ,null)});$H(a.I,sJ,a.o,a);No(a,function(){XH(a.I.g,sJ.toString(),a.o,a)})}; E3.prototype.o=function(a){!a||a.durationSeconds<=0||this.g>=a.durationSeconds||this.state===1||this.state===3||(this.currentTimeSeconds=a.currentTimeSeconds,this.currentTimeSeconds>this.g?(this.state=3,aI(this.I,jJ,null)):this.state=2,D3(this))}; var D3=function(a){var b="skipStateHidden",c="";if(a.state===3)b="skipStateSkippable",c=vc(a.kc?"Skip ":"Skip Ad ");else if(a.state===2){b="skipStatePreSkip";c=a.kc;var d=Math.ceil(a.g-a.currentTimeSeconds),e=d.toString();d>=60&&(e=MC(d));c=AK({Vg:e,kc:c})}a=a.j;if(a.g.g!==b||a.g.Rd!==c)a.g.g=b,a.g.Rd=c,w3(a)};var F3=function(a,b,c){Mo.call(this);this.g=a;this.I=b;this.config=c;this.j=!1};w(F3,Mo);l=F3.prototype;l.build=function(){var a=this;$H(this.I,jJ,this.Ti,this);No(this,function(){XH(a.I.g,jJ.toString(),a.Ti,a)});var b=uP("promoskip");b=new E3(this.g,this.I,this.config.C,b);L(this,b);b=new A3(this.g,this.I,this.config.va);L(this,b);x3(this.g)};l.ve=function(){this.j&&aI(this.I,II,null)};l.ue=function(){};l.getConfig=function(){return this.config};l.Ag=function(){};l.Ti=function(){this.j=!0};var G3=function(a,b,c,d){d=d===void 0?!1:d;I2.call(this,a,b.g,b.l,c);var e=this;this.Z=b;this.O=d;this.ra=this.ha=this.g=this.H=null;this.Y=this.D=!1;this.Wa=this.Aa=this.F=1;this.B=null;this.T=!1;this.ba=this.Xa=null;this.Ua=!1;this.G=b.A;this.I=b.g.dc();this.o=new l3(this.l);this.la=new wO(this.I,this.getAd().isSkippable());this.Eb=function(){var f={};return f.currentTime=e.getCurrentTime(),f.duration=e.getDuration(),f.isPlaying=!0,f.isVpaid=SS(e.getAd())!=null,f.isYouTube=!1,f.volume=e.getVolume(), f};b.o.push(this.toString())};w(G3,I2);G3.prototype.R=function(){WR(this.getAd());var a;(a=this.g)==null||a.dispose();this.g=null;this.I.clear();Lo(this.o);Lo(this.ha);Lo(this.l);this.Y=!1;if(this.D){a=this.D=!1;M2(this)!=null&&(a=this.Z.j.o);var b;(b=this.H)==null||b.reset(a)}var c;(c=this.H)==null||eR(c);H3(this.G,this.H);I2.prototype.R.call(this)}; var I3=function(a,b,c){if(!a.D){a.D=!0;VR(a.getAd(),a.Eb);SR().H=b;if(a.K!=null){var d=a.K;d.l=b;d.o.listen(d.l,"start",d.O)}a.ha=new A0(b);d=a.ha;var e;(e=d.g)==null||YG(e);d.g=new SG(d);L(d,d.g);d.g.listen(d.H,"play",d.l);d.g.listen(d.H,"start",d.o);e=a.ia.loadVideoTimeout;e>0&&(b.F=e);e=a.getAd().j;e=e instanceof zE?e.g.length>0?e.g[0]:null:null;DO(a.getAd().rb,Date.now());aR(b,c.url||"",e,a.getAd().getAdPodInfo());sP.C&&sP.G&&(b={},c=(b.mediaUrl=c.url,b),O(a,X({type:"mediaUrlPinged",ad:a.getAd(), data:c})))}},K3=function(a,b){if(a.Z.j.D){var c=new v3(a.Z.C);b=new F3(c,a.I,b);L(b,c);return b}c=document.body;var d=a.getAd(),e=M2(a).wb();e=(e=e?Vn(e):null)?h3(d,e):null;var f=C0(d,dU(d));d=cU(d,a.ia.disableUi,f);b=e?new o1(e,b,a.I,c,d,!0,a.O):new n1(b,a.I,c,d,!0,a.O);$H(a.I,eJ,function(){J3(a)});$H(a.I,DI,function(){a.pause()});$H(a.I,EI,function(){a.resume()});$H(a.I,FI,function(g){a.Sa(g,null,null)});$H(a.I,GI,function(g){var h={};O(a,X({type:"updateGfpCookie",ad:a.getAd(),data:(h.gfpCookieUserEnabled= g.j,h.gfpCookieClearData=g.g,h)}))});return b},L3=function(a,b){a.j.listen(b,"loaded",a.Om);a.j.listen(b,"timeUpdate",a.Pm);a.j.listen(b,"waiting",a.Sm);a.j.listen(b,"volumeChange",function(){var c=b.getVolume();c!==a.F&&(a.F=c,O(a,X({type:"volumeChange",ad:a.getAd(),data:{volume:c}})),c===0&&O(a,X({type:"mute",ad:a.getAd()})))});a.j.listen(b,"focusSkipButton",a.Km);a.j.listen(b,"seeked",function(){return void O(a,"seeked")});a.j.listen(b,"seeking",function(){return void O(a,"seeking")})};l=G3.prototype; l.init=function(){if(this.A)M3(this);else{this.A=!0;if(aU(this.getAd())&&JQ()){T(U(),"bia","1");var a=sR(NO,null,"action")}else a=this.Z.j.O,a=this.getAd().isSkippable()&&!KQ(a)?sR(NO,null,"skippablevideo"):null;if(a)throw N3(this,this.H,NO,a),a;a:{a=this.getAd();this.getAd();var b=ET(a,"GoogleHostedMediaExtension");if(b){var c=c3;Rf()&&RQ()!==1&&RQ()!==2||(c=d3);b=wG(new oI(c),b.j);if(b.length>0)for(b=q(b),c=b.next();!c.done;c=b.next())if(c=c.value,c instanceof NE){a=new UU(null,c.g,c.Ca,0,0,0,c.getWidth()|| 0,c.getHeight()||0,c.getMediaUrl(),null);break a}}b=NQ(this.ia.mimeTypes||[]);b=new lI({ej:this.ia.bitrate,mimeTypes:b,bf:null});c=zT(a);iI(c);a=b.j<=0?Rf()?500:Infinity:b.j;b=mI(b,c);if(b.length==0)a=null;else{GB(U(),"smb",a);c=null;for(var d=q(b),e=d.next();!e.done;e=d.next()){e=e.value;var f=e.Da,g=e.maxBitrate;f!=null&&f>a||g!=null&&gf)||(c=e)}if(!c)for(c=null,d=q(b),e=d.next();!e.done;e=d.next())if(e=e.value,f=e.Da,g=e.maxBitrate,!(g!=null&&g>a))if(g== null||c==null||c.maxBitrate==null||c.maxBitratef)c=e;if(!c)for(c=null,d=q(b),e=d.next();!e.done;e=d.next())if(e=e.value,f=e.Da,g=e.maxBitrate,!(f!=null&&ff)c=e;a=c}(c=a)||nI(b);a=[];c&&(a.push(c),T(U(),"vms","1"),c.maxBitrate?GB(U(),"br",c.maxBitrate):c.Da&&GB(U(),"br",c.Da),c.mimeType&&GB(U(),"mt",c.mimeType),c.width&&c.height&&GB(U(),"vs",c.width+"x"+c.height),c.codec&&GB(U(), "vc",c.codec),b=0,d="none",c.url&&(c=new gI(new P(c.url)),b=hI(c,"itag"),b=hI(c,"manifest")||b||0,d=hI(c,"source")),T(U(),"bit",String(b)),T(U(),"vsrc",d));a=a.length>0?a[0]:null}this.B=a;this.B===null?O3(this,sR(VO)):(this.getAd().g.g=this.B,M3(this),P3(this,this.B))}};l.skip=function(){var a;if(a=this.H)if(a=this.getAd().isSkippable())a=tP(),a=nP(a,"enableSkipApi")||this.getAd().disableUi;a&&(this.g!=null?this.g.ve():(this.reportEvent("skip"),Q3(this)))}; l.start=function(){if(this.Xa)R3(this,this.H);else if(I2.prototype.start.call(this),this.B!==null)try{a:{var a=this.B;O(this,X({type:"contentPauseRequested",ad:this.getAd()}));this.H||(this.H=S3(this.G),this.H||(T3(this.G),this.H=S3(this.G)));if(this.H){var b=this.getAd().j;if(b instanceof zE){var c=uN(b);c&&(this.getAd().da=c)}if(this.ia.useVideoAdUi||this.Z.j.D){var d=this.getAd(),e=this.ia,f=d.eg(),g=e.useStyledLinearAds;if(JQ())var h=!1;else{var k;if(!(k=EF()&&!d.isCustomClickTrackingUsed())){var m, n;(n=d.j instanceof zE&&qN(d.j)||aU(d))||(n=d.j instanceof zE&&rN(d.j)?tN(d.j):!1);(m=n)||(m=d.j instanceof zE&&rN(d.j)?sN(d.j):!1);k=m||g}h=k?!0:!1}var p=h;var r=(UR(d).get("AdSense")||[]).pop(),t=r!=null&&r.Be,v=r?r.j:null,A=p||t||e.useStyledLinearAds;if(bU(d)){if(w1(dU(d))){var B,D;var F=(D=((B=UR(d).get("GpidWtaExtension"))!=null?B:[])[0])==null?void 0:D.j}var N=dU(d);e=F;var ia=LT(d),ea=new t1;ea.fb=ia;ea.va=N;ea.j=!1;ea.l=!1;ea.g=!1;ea.o=!1;ea.A=!1;ea.C=-1;e&&(ea.J=e);var Ub=ea}else if(A){var hm= G(WT(d)),tq=p||t||e.useLearnMoreButton;if(E(hm)||!zF(hm))tq=!1;N=tq;var of=s1(d,0);of.g=N;of.N=e.g;!f||r1(of,e.uiElements);w1(dU(d))||E(G(v))||fQ().l||(of.B=v);Ub=of}else{c:{f=["ADSENSE","ADSENSE/ADX","402"];for(var nj=MT(d),lg=nj.length-1;lg>=0;lg--)if(nj[lg]!=="UNKNOWN"){var im=f.includes(nj[lg]);break c}im=!1}if(im){var vh=s1(d);vh.A=!0;w1(dU(d))||E(G(v))||(vh.B=v);var Nb=vh}else{var mg=s1(d);mg.o=!1;mg.j=!1;mg.l=!1;r1(mg,e.uiElements);Nb=mg}Ub=Nb}this.ba=Ub;this.g=K3(this,Ub);this.g.build();if(this.getAd().da!= null&&Ub.N){var Hb=this.la,wh=this.getAd().j;Hb.g=wh instanceof zE?vN(wh):null;Hb.j=wh instanceof zE?wN(wh):null;Hb.g&&Hb.g.g&&(Hb.g.title&&aI(Hb.l,CI,Hb.g.title),Hb.j&&Hb.j.title&&aI(Hb.l,AI,Hb.j.title),Hb.j&&Hb.j.g&&aI(Hb.l,zI,Hb.j.g))}var bd=this.getAd(),uq=Ub.getUiElements();bd.uiElements=uq}var jm=this.H;WQ(jm.j,jm.g,"activate");var ng=this.H;p3(this.o,this.getAd(),ng,this.g?this.g.getConfig():null,this.I);this.j.listen(this.o,"adCanPlay durationChange engagedView authorIconClicked authorNameClicked videoClicked videoIconClicked iconFallbackImageClosed learnMoreClicked muteClicked titleClicked unmuteClicked start skipShown loadedMetadata".split(" "), this.L);var oj=new aE(this.getAd().j,this.l,ng,MQ(),this.getAd().Xb);dE(oj);L(this,oj);L3(this,ng);UG(this.j,this.o,"impression",this.L,!1,this);U3(this,ng);I3(this,this.H,a);var vq=this.setVolume,pj=ET(this.getAd(),"AdSense");vq.call(this,pj!=null&&pj.uiConfig!=null&&pj.uiConfig.vd?0:this.Wa);this.reportEvent("show_ad");O(this,X({type:"show_ad",ad:this.getAd()}));M2(this).Pg();try{J2(this)}catch(qj){N3(this,this.H,KO,qj);break a}dR(this.H)}else N3(this,this.H,TO,Error("Could not claim video display."))}}catch(qj){O3(this, qj)}};l.getVolume=function(){return this.D&&this.H?this.H.muted?0:this.H.getVolume():this.F};l.setVolume=function(a){this.D&&this.H?this.H.setVolume(a):this.F=a;this.Wa=a};l.pause=function(){this.H&&this.H.pause()};l.resume=function(){this.H&&dR(this.H)};l.getCurrentTime=function(){return this.H?this.H.getCurrentTime():-1};l.getDuration=function(){return this.H?this.H.getDuration():-2}; l.getRemainingTime=function(){var a=this.getDuration(),b=this.getCurrentTime();return a>=0&&b>=0?Math.max(0,a-b):-1}; var R3=function(a,b){a.getAd().Pd();N3(a,b,dP,sR(dP,b.getError()))},N3=function(a,b,c,d){V3(a,b,d);wR(a,c,d);a.destroy()},V3=function(a,b,c){c=sR(dP,c);b=GS(c,a.getAd(),b);a.Ia()||a.Ua||(a.Ua=!0,a.Mb(c,b))},U3=function(a,b){WD(a.l,OS(a.getAd(),b));var c=a.getAd().g;c!=null&&c instanceof lS&&(pQ.forEach(function(d){UG(a.j,a.o,d,a.L,!1,a)}),c=a.j,c.listen(a.o,"error",function(){R3(a,b)}),c.listen(a.o,"mediaLoadTimeout",function(){a.getAd().rb.g=Date.now();N3(a,b,YO,sR(YO,null,(a.ia.loadVideoTimeout/ 1E3).toString()))}),c.listen(a.o,"autoplayDisallowed",function(){var d=sR(dP),e=sR(JO);d.g=e;N3(a,b,dP,d)}));a.getAd().isSkippable()&&(a.o.D=30)},W3=function(a){if(a.T){O(a,X({type:"click",ad:a.getAd()}));var b=a.Sa,c=WT(a.getAd()),d=XT(a.getAd()),e=a.getAd();b.call(a,c,d,e.g!=null?e.g.xf():null)}}; G3.prototype.L=function(a){switch(a.type){case "start":K2(this);this.T=!0;this.g&&this.g.Ag();X3(this,"start");JB(U(),"ff");a=this.o;var b=M2(this).Kh();b||a.B||!a.H||a.g.listen(a.H,"click",a.bh);if(b){a.o=new r0;a.g.listen(a.o,"click",a.bh,!1);var c=a.o;b==null||c.F||(c.g=b,v0(c),c.F=!0)}a.I&&$H(a.I,LI,a.bh,a);O(this,X({type:"start",ad:this.getAd()}));break;case "impression":O(this,X({type:"impression",ad:this.getAd()}));break;case "viewable_impression":O(this,X({type:"viewable_impression",ad:this.getAd()})); break;case "measurable_impression":O(this,X({type:"measurable_impression",ad:this.getAd()}));break;case "pause":aI(this.I,oJ,!0);O(this,X({type:"pause",ad:this.getAd()}));break;case "resume":aI(this.I,oJ,!1);O(this,X({type:"resume",ad:this.getAd()}));break;case "firstQuartile":O(this,X({type:"firstQuartile",ad:this.getAd()}));break;case "midpoint":O(this,X({type:"midpoint",ad:this.getAd()}));break;case "thirdQuartile":O(this,X({type:"thirdQuartile",ad:this.getAd()}));break;case "complete":O(this, X({type:"complete",ad:this.getAd()}));this.destroy();break;case "loadedMetadata":O(this,X({type:"loadedMetadata",ad:this.getAd()}));break;case "durationChange":O(this,X({type:"durationChange",ad:this.getAd()}));break;case "adCanPlay":O(this,X({type:"adCanPlay",ad:this.getAd()}));break;case "click":X3(this,"click");W3(this);this.pause();break;case "engagedView":O(this,X({type:"engagedView",ad:this.getAd()}));break;case "videoClicked":J3(this);O(this,X({type:"videoClicked"}));break;case "videoIconClicked":O(this, a);(a=a.getAdData())&&!this.Z.j.F&&this.Sa(a.clickThroughUrl,a.attributionParams,null);this.pause();break;case "iconFallbackImageClosed":O(this,X({type:"iconFallbackImageClosed",ad:this.getAd()}));break;case "authorIconClicked":Y3(this);break;case "authorNameClicked":Y3(this);break;case "learnMoreClicked":X3(this,"learn_more_click");W3(this);this.pause();break;case "titleClicked":b=this.la;if(b.g&&b.g.g)if(a=b.g.id,b=b.o,b=b===void 0?!1:b,a==null)a=null;else{c=new P("//www.youtube.com/watch");var d= c.g;d.set("v",a);d.set("feature",b?"trueview-instream":"instream");Hy(c,d);a=c.toString()}else a=null;a!==null&&(this.pause(),this.Sa(a,null,null));break;case "muteClicked":this.Aa=this.F;this.setVolume(0);break;case "unmuteClicked":this.setVolume(this.Aa);break;case "skipShown":O(this,X({type:"skippableStateChanged",ad:this.getAd()}));break;case "skip":Q3(this);break;case "fullscreen":O(this,X({type:"fullscreen",ad:this.getAd()}));break;case "exitFullscreen":O(this,X({type:"exitFullscreen",ad:this.getAd()})); break;case "fully_viewable_audible_half_duration_impression":O(this,X({type:"fully_viewable_audible_half_duration_impression",ad:this.getAd()}))}};var J3=function(a){a.H&&(a.H.l?a.resume():a.pause())},Q3=function(a){O(a,X({type:"skip",ad:a.getAd()}));a.destroy()};l=G3.prototype; l.Rc=function(){X3(this,"external_click");if(this.getAd().disableUi&&this.T){var a={};a=(a.url=WT(this.getAd()),a.attributionParams=XT(this.getAd()),a);this.reportEvent("click");O(this,X({type:"click",ad:this.getAd(),data:a}));this.pause()}else this.getAd()};l.Om=function(){this.getAd().rb.g=Date.now()};l.Zj=function(a,b){return b>=0&&a>=0}; l.Pm=function(){var a=this.getCurrentTime(),b=this.getDuration();if(this.Zj(a,b)){var c=new e3(this.getAd().getAdPodInfo(),a,b);O(this,X({type:"adProgress",ad:this.getAd(),data:c}))}if(this.g!=null&&b>=0&&a>=0){if(!(this.Y||this.getAd().F<3)&&this.H){c=this.H.getDuration();var d=YT(this.getAd());c=Math.abs(c-d);c>2&&(c=sR(aP,null,Number(c).toFixed(2)),d=GS(c,this.getAd(),this.H),this.Mb(c,d));this.Y=!0}c=this.getAd().getAdPodInfo();a=new rJ(a,b,this.H?this.H.duration:-1,c.getAdPosition(),c.getTotalAds()); aI(this.I,sJ,a)}};l.Km=function(){this.g&&aI(this.I,XI,null)};l.Sm=function(){O(this,X({type:"adBuffering",ad:this.getAd()}))};var Y3=function(a){var b,c=a.la;if(c.g&&c.g.g)if(c.j){var d=d===void 0?null:d;(b=b===void 0?null:b)||(b="//www.youtube.com/");d?b+=d:(c=G(c.j.id),b=E(c)?null:b+"channel/"+(c.lastIndexOf("UC",0)==0&&c.length==24?c:"UC"+c))}else b=null;else b=null;b&&(a.pause(),a.Sa(b,null,null))};G3.prototype.Lb=function(){I2.prototype.Lb.call(this);this.g!=null&&this.g.ue()}; G3.prototype.resize=function(a,b){I2.prototype.resize.call(this,a,b);this.g!=null&&this.g.ue()}; var P3=function(a,b){a.ia.enablePreloading&&LQ(a.Z.j.o)&&(a.H=S3(a.G),a.H&&(L3(a,a.H),a.j.listen(a.H,"error",function(c){a.Xa=c}),XQ(a.H),I3(a,a.H,b)))},O3=function(a,b){V3(a,a.H,b);b instanceof zO?O(a,new uR(b)):wR(a,dP,b);a.destroy()},M3=function(a){O(a,X({type:"loaded",ad:a.getAd()}));O(a,X({type:"adMetadata",ad:a.getAd()}))},X3=function(a,b){var c,d=(c=a.getAd())==null?void 0:c.j;if(d&&(rN(d)||a.O)){c=a.ba?a.ba.g:"null";var e={},f=AQ(),g=f.report;e.evt=b;b=(b=rN(d))?(b=b.g)?b:"noformat":"noextension"; g.call(f,170,(e.format=b,e.clicks_allowed=a.T,e.ux_refresh=a.O,e.learn_more_enabled=c,e))}};G3.prototype.toString=function(){return"videoman"};var Z3=function(){G3.apply(this,arguments)};w(Z3,G3);Z3.prototype.L=function(a){switch(a.type){case "complete":O(this,X({type:"complete",ad:this.getAd()}));break;default:G3.prototype.L.call(this,a)}};Z3.prototype.Zj=function(a,b){return(b>=0||b===-2)&&a>=0};Z3.prototype.getDuration=function(){return G3.prototype.getDuration.call(this)+ZT(this.getAd())};var $3={"${seller_video_url}":"imasdk.googleapis.com/js/sdkloader/fledge_vast_player","${seller_video_query_params}":"&adtag="},a4=function(a){Mo.call(this);this.g=a;this.xb=pf(document,"IFRAME");this.xb.allow="autoplay";Kn(this.xb,"width","100%");Kn(this.xb,"height","100%")};w(a4,Mo); var b4=function(a,b){b.appendChild(a.xb);No(a,function(){return tf(a.xb)})},c4=function(a,b){return y(function(c){if(c.g==1)return x(c,a.g.deprecatedReplaceInURN(b,$3),2);var d=a.xb;if(/^(uuid-in-package|urn:uuid):[0-9a-fA-F-]*$/.test(b)){var e=id(b);d.src=gd(e).toString();d=!0}else d=!1;if(!d)throw Error("Unable to write URN to iframe.");c.g=0})};a4.prototype.show=function(){Yn(this.xb,!0)};a4.prototype.ca=function(){Yn(this.xb,!1)};var d4=function(a,b){Mo.call(this);var c=this;this.xb=a;this.C=b;this.o=this.A=!1;this.j=[];this.g=[];this.l=function(d){d.source===c.xb.contentWindow&&(c.o||d.data.type==="fledge_player_loaded"?c.C(d.data):c.g.push(d.data))};window.addEventListener("message",this.l,!0);No(this,function(){window.removeEventListener("message",c.l,!0)})};w(d4,Mo);d4.prototype.postMessage=function(a){if(this.A){var b;(b=this.xb.contentWindow)==null||b.postMessage(a,"*")}else this.j.push(a)}; var e4=function(a){for(a.o=!0;a.g.length>0;){var b=a.g.shift();b&&a.C(b)}};var f4=function(a,b,c,d){d=d===void 0?navigator:d;M.call(this);var e=this;this.ad=a;this.Z=b;this.ia=c;this.o=!1;this.D=this.l=this.currentTime=this.B=0;this.F=function(f){switch(f.type){case "fledge_player_ready":f=e.g;for(f.A=!0;f.j.length>0;){var g=f.j.shift();g&&f.postMessage(g)}break;case "fledge_player_loaded":clearTimeout(e.D);e.getAd().rb.g=Date.now();break;case "fledge_player_progress":g=f.data;f=g.currentTime;g=g.duration;e.l!==g&&O(e,X({type:"durationChange",ad:e.getAd()}));e.currentTime= f;e.l=g;f=new e3(e.getAd().getAdPodInfo(),f,g);O(e,X({type:"adProgress",ad:e.getAd(),data:f}));break;case "fledge_player_complete":if(f=f.data.error){wR(e,RO,Error(f));e.destroy();break}O(e,X({type:"complete",ad:e.getAd()}));e.destroy();break;case "fledge_player_on_playback_change":f.data.enable?O(e,X({type:"resume",ad:e.getAd()})):O(e,X({type:"pause",ad:e.getAd()}));break;case "fledge_player_on_volume_change":f=f.data.volume,O(e,X({type:"volumeChange",ad:e.getAd(),data:{volume:f}}))}};this.G=this.Z.g.wb(); this.j=new a4(d);L(this,this.j);this.g=new d4(this.j.xb,this.F);L(this,this.g);this.A=new yT(null,null,"UNKNOWN",null,null,null,null,null,0,[],[],[],[],new Map,new iF(new yG({pa:[new eF({Tb:new aF})]})));this.A.Db=this.ad.getAdPodInfo();b.o.push(this.toString())};w(f4,M);l=f4.prototype;l.getAd=function(){return this.A};l.zc=function(){return!0}; l.init=function(){var a=this;this.o||(this.o=!0,DO(this.getAd().rb,Date.now()),c4(this.j,this.ad.g).then(function(){a.j.ca();b4(a.j,a.G)}).catch(function(b){wR(a,RO,b);a.destroy()}))};l.start=function(){var a=this;this.init();O(this,X({type:"contentPauseRequested",ad:this.getAd()}));this.Z.g.Kc();this.j.show();this.g.postMessage({type:"fledge_player_set_playback",data:{enable:!0}});e4(this.g);this.D=setTimeout(function(){a.getAd().rb.g=Date.now();wR(a,YO,void 0);a.destroy()},this.ia.loadVideoTimeout)}; l.pause=function(){this.g.postMessage({type:"fledge_player_set_playback",data:{enable:!1}})};l.resume=function(){this.g.postMessage({type:"fledge_player_set_playback",data:{enable:!0}})};l.destroy=function(){O(this,X({type:"contentResumeRequested",ad:this.getAd()}));O(this,X({type:"allAdsCompleted",ad:this.getAd()}));this.dispose()};l.skip=function(){};l.setVolume=function(a){this.B=a;this.g.postMessage({type:"fledge_player_set_volume",data:{volume:a}})};l.getVolume=function(){return this.B}; l.nf=function(){this.g.postMessage({type:"fledge_player_abandon"})};l.getCurrentTime=function(){return this.currentTime};l.getDuration=function(){return this.l};l.getRemainingTime=function(){return this.l-this.currentTime};l.Lb=function(){};l.resize=function(){};l.Rc=function(){};l.collapse=function(){};l.expand=function(){};l.reportEvent=function(){};l.Mb=function(){};l.Sa=function(){};l.Fc=function(){};l.oc=function(){};l.toString=function(){return"fledgeman"};var g4=function(a){Mo.call(this);this.g=a};w(g4,Mo);l=g4.prototype;l.Kh=function(){return this.g.Kh()};l.wb=function(){return this.g.wb()};l.Fd=function(){return this.g.Fd()};l.ca=function(){};l.Pg=function(){this.g.Pg()};l.dg=function(){this.g.ca()};l.Kc=function(){this.g.Kc()};l.Yc=function(){this.g.Yc()};l.dc=function(){return this.g.dc()};l.pi=function(a){this.g.pi(a)};l.ri=function(){this.g.ri()};var i4=function(a,b,c){s2.call(this,a.Dd());this.g=a;this.Z=b;this.ia=c;this.A=this.B=-1;this.l=this.j=this.D=this.G=this.o=!1;this.F=h4(this,this.U);this.volume=1};w(i4,s2);i4.prototype.resize=function(a,b){this.B=a;this.A=b;s2.prototype.resize.call(this,a,b)};i4.prototype.start=function(){this.D=!0;j4(this)};var j4=function(a){a.j||a.l||(a.j=!0,a.U.zc()||k4(a),s2.prototype.start.call(a))};i4.prototype.setVolume=function(a){this.volume=a;s2.prototype.setVolume.call(this,a)}; i4.prototype.destroy=function(){this.g.dispose();s2.prototype.destroy.call(this)};i4.prototype.R=function(){s2.prototype.R.call(this);this.U.dispose()}; var l4=function(a,b){var c,d,e;return y(function(f){if(f.g==1)return a.l=!0,c=b.getError()||sR(dP),x(f,a.g.Nd(),2);(d=f.j)?(e=X({type:"log",data:c}),O(a,e)):O(a,b);a.U.destroy();f.g=0})},o4=function(a,b){var c,d;return y(function(e){switch(e.g){case 1:return x(e,a.g.Nd(),2);case 2:c=e.j;case 3:return c&&c.Ia()?x(e,a.g.Zf(),6):c?x(e,a.g.Zf(),8):(m4(a,c),O(a,b),a.dispose(),e.return());case 6:return x(e,a.g.Nd(),7);case 7:c=e.j;e.g=3;break;case 8:d=e.j,m4(a,d),a.U.Ia()||a.U.dispose(),a.U=d,a.l=!1,a.j= !1,a.D?(n4(a),j4(a)):n4(a),e.g=0}})},p4=function(a){var b;return y(function(c){if(c.g==1)return x(c,a.g.Nd(),2);(b=c.j)?b.zc()||k4(a):k4(a);c.g=0})},k4=function(a){!a.G&&a.o&&(a.G=!0,O(a,X({type:"contentResumeRequested",ad:a.getAd()})))},n4=function(a){if(a.g.Rh())throw Error("1st manager initialization is done by publisher calling ad pod manager api.");var b;(b=a.F)==null||b.dispose();a.F=h4(a,a.U);a.setVolume(a.volume);a.resize(a.B,a.A);a.init()},r4=function(a,b,c){c.listen(b,r2,function(d){return O(a, d)});c.listen(b,"contentResumeRequested",function(){return void p4(a)});c.listen(b,"adError",function(d){return void l4(a,d)});c.listen(b,"allAdsCompleted",function(d){return void o4(a,d)});c.listen(b,"contentPauseRequested",function(){a.o||(O(a,X({type:"contentPauseRequested",ad:a.getAd()})),a.o=!0)});c.listen(b,"impression",function(){return void q4(a)})},q4=function(a){var b;return y(function(c){if(c.g==1)return x(c,a.g.Nd(),2);(b=c.j)&&a.ia.enablePreloading&&LQ(a.Z.j.o)&&(s4(a,b),b.setVolume(a.getVolume()), b.init());c.g=0})},h4=function(a,b){var c=new SG(b);L(a,c);r4(a,b,c);return c},m4=function(a,b){b?b.zc()||a.Z.g.dg():(a.Z.g.dg(),a.Z.g.Yc())},s4=function(a,b){sP.C&&sP.G&&WG(new SG(b),b,"mediaUrlPinged",function(c){return O(a,c)})};i4.prototype.Fc=function(){this.U.Fc()};i4.prototype.oc=function(){this.U.oc()};var v4=function(a){var b=a.ad;var c=a.Z;a=a.ia;I2.call(this,b,c.g,c.l,a);var d=this;this.B=null;this.Y=!1;this.L=.4;this.G=null;this.currentTime=-1;this.D=null;this.F=this.O=this.T=!1;this.o=null;this.ha=t4(b);if(this.ka=u4(b)){this.B=new Ye(this.ka._width_,this.ka._height_);var e;this.Y=(e=this.ka._should_resize_)!=null?e:!1;this.L=this.ka._resizing_threshold_!=null&&this.ka._resizing_threshold_>0?this.ka._resizing_threshold_:.4}this.ba=a.loadVideoTimeout!==-1?a.loadVideoTimeout:8E3;this.g=new ju(200); L(this,this.g);this.j.listen(this.g,"tick",function(){var f=d.getDuration();d.currentTime+=.2;var g=d.currentTime>=f;d.currentTime=Math.min(f,d.currentTime);f=new e3(d.getAd().getAdPodInfo(),d.currentTime,f);O(d,X({type:"adProgress",ad:d.getAd(),data:f}));f=new rJ(d.currentTime,d.getDuration());aI(d.I,sJ,f);g&&(d.g.stop(),L2(d,"complete"),d.destroy())});this.I=c.g.dc();No(this,function(){return void d.I.clear()})};w(v4,I2);l=v4.prototype; l.R=function(){this.D!=null&&(mu(this.D),this.D=null);M2(this).Yc();var a=M2(this).wb();a&&sf(a);I2.prototype.R.call(this)}; l.init=function(){var a=this;if(!this.A){this.A=!0;var b=this.ha,c=M2(this).wb(),d=this.ka;if(b&&c&&d){b=XE(b);bI(this,this.I,$I,function(){a.O=!0;a.T&&w4(a)});bI(this,this.I,jJ,function(){O(a,X({type:"skippableStateChanged",ad:a.getAd()}));L2(a,"skipShown")});bI(this,this.I,iJ,function(){a.skip()});sf(c);var e,f;this.o=new m2({container:c,qh:b,rh:new Ye(d._width_,d._height_),fb:LT(this.getAd()),Bh:function(g,h){var k=null,m=null,n=null;try{k=Zu(h==null?void 0:h.name)?h.name:"Unknown error"}catch(p){k= "exception"}try{m=Zu(h==null?void 0:h.message)?h.message:"Caught "+h}catch(p){m="exception"}try{n=Zu(h==null?void 0:h.stack)?h.stack:Error().stack}catch(p){n="exception"}h={};AQ().report(185,(h.m=g,h.name=k,h.message=m,h.stack=n,h))},Ae:dI(),mf:"1-0-40",skipOffset:(f=(e=UT(this.getAd()))==null?void 0:DQ(e))!=null?f:null,I:this.I});this.G&&this.resize(this.G.width,this.G.height);No(this,function(){var g;return void((g=a.o)==null?void 0:g.dispose())});this.o.build();L2(this,"loaded")}else c=sR(NO,null, "SafeFrame"),x4(this,c),this.destroy()}};l.start=function(){var a=this;this.T||(this.T=!0,I2.prototype.start.call(this),O(this,X({type:"contentPauseRequested",ad:this.getAd()})),this.currentTime=0,this.O?w4(this):this.D=lu(function(){a.D=null;if(!a.O){var b=sR(YO,null,(a.ba/1E3).toString());x4(a,b);a.destroy()}},this.ba))};l.pause=function(){this.F&&(this.g.stop(),L2(this,"pause"))};l.resume=function(){this.F&&(this.g.start(),L2(this,"resume"))};l.Lb=function(){I2.prototype.Lb.call(this)}; l.resize=function(a,b){I2.prototype.resize.call(this,a,b);if(this.Y&&this.B&&this.L&&this.B.width!==0&&this.B.height!==0&&a!==0&&b!==0){var c=this.B.width;var d=this.B.height;c=Math.min((a-c)/c,(b-d)/d);if(c!==0)if(c<0&&Math.abs(c)<=this.L)y4(this,a,b,c+1);else if(c>0)y4(this,a,b,Math.min(this.L,c)+1);else if(d=sR(QO,null),this.ka){var e={};AQ().report(193,(e.m="resize_failed",e.resize_rate=c,e.player_width=a,e.player_height=b,e.creative_width=this.ka._width_,e.creative_height=this.ka._height_,e)); x4(this,d);this.destroy()}}};l.getDuration=function(){return this.getAd().getDuration()};l.getCurrentTime=function(){return this.currentTime};l.getRemainingTime=function(){return this.getCurrentTime()<0?-1:this.getDuration()-this.getCurrentTime()};l.skip=function(){var a;(a=UT(this.getAd()))?(a=DQ(a),a=a!==-1&&this.currentTime!==-1&&this.currentTime>=a):a=!1;a&&(this.g.stop(),L2(this,"skip"),this.destroy())}; var w4=function(a){var b;if(b=!a.Y)if(b=M2(a).wb()){var c=a.ka;b=c?b.clientWidth=c&&N4(a,2)};H4.prototype.pause=function(){this.o?this.o.stop():s2.prototype.pause.call(this)};H4.prototype.resume=function(){this.o?this.o.start():s2.prototype.resume.call(this)}; var L4=function(a){a.ta.g.sendMessage("SIMID:Media:ended");a.D?(a.o=new ju,L(a,a.o),a.j.listen(a.o,"tick",function(){a.F+=.25;var b=a.getAd();b&&(b=new e3(b.getAdPodInfo(),a.getCurrentTime(),a.getDuration()),O(a,X({type:"adProgress",ad:a.getAd(),data:b})));K4(a,a.getCurrentTime())}),ku(a.o),a.o.start()):N4(a,2)};H4.prototype.getCurrentTime=function(){return s2.prototype.getCurrentTime.call(this)+this.F}; var J4=function(a){a.T.listen(a.ta,Object.values(SM),function(b){switch(b.type){case "SIMID:Creative:clickThru":a.reportEvent("click");O(a,X({type:"click",ad:a.getAd()}));a.V&&AQ().report(148,{time:a.getCurrentTime(),dur:a.getDuration()},!0);b.resolve();break;case "SIMID:Creative:fatalError":case "SIMID:Creative:requestStop":b.resolve();N4(a,4);break;case "SIMID:Creative:requestSkip":b.resolve();a.skip();break;case "SIMID:Creative:handleSkipShown":O(a,X({type:"skippableStateChanged",ad:a.getAd()})); a.reportEvent("skipShown");O(a,X({type:"skipShown",ad:a.getAd()}));b.resolve();break;case "SIMID:Creative:reportTracking":if(Array.isArray(b.args.Sg))for(var c=q(b.args.Sg),d=c.next();!d.done;d=c.next())wQ(d.value);b.resolve();break;case "SIMID:Creative:getMediaState":c={};b.resolve((c.currentSrc=a.g.getMediaUrl(),c.currentTime=a.g.getCurrentTime(),c.duration=a.g.getDuration(),c.ended=!1,c.muted=a.g.getVolume()===0,c.paused=!1,c.volume=a.g.getVolume(),c.fullscreen=a.g.Hd(),c));break;case "SIMID:Creative:requestPause":a.pause(); b.resolve();break;case "SIMID:Creative:requestPlay":a.resume();b.resolve();break;case "SIMID:Creative:requestResize":O4(a,b);break;case "SIMID:Creative:requestChangeAdDuration":d=b.args.duration;if(d<0&&d!==-2)b.reject();else if(c=a.getAd())d-=YT(c),c.N=d,a.D=!0,O(a,X({type:"durationChange",ad:a.getAd()})),b.resolve();break;case "SIMID:Creative:requestNavigation":var e,f;a.Sa(b.args.uri,((e=a.getAd())==null?void 0:XT(e))||null,((f=a.getAd())==null?void 0:f.g!=null?f.g.xf():null)||null);a.pause(); b.resolve();break;case "SIMID:Creative:log":if(e=b.args.message){c=c===void 0?U():c;a:{try{var g=JSON.parse(e),h;if(h=typeof g.type==="string")b:switch(g.type){case "TimingEvent":case "Parameter":case "OneShotParameter":h=!0;break b;default:h=!1}if(h&&typeof g.key==="string"&&(typeof g.value==="string"||g.value===void 0)){d={type:g.type,key:g.key,value:g.hasOwnProperty("value")?g.value:void 0};break a}}catch(k){}d=void 0}if(d!==void 0)switch(d.type){case "TimingEvent":JB(c,d.key);break;case "Parameter":d.value&& GB(c,d.key,d.value);break;case "OneShotParameter":d.value&&T(c,d.key,d.value)}}b.resolve();break;default:b.reject()}})},N4=function(a,b){b=a.ta.g.sendMessage("SIMID:Player:adStopped",new UM({code:b}));I4(a,b)},P4=function(a,b){var c;return y(function(d){if(!a.Z.j.Ua)throw Error("Resize is not supported.");c=C4(a.g);var e=b.videoWidth,f=b.videoHeight,g=b.videoX,h=b.videoY;if(g===void 0||h===void 0||e===void 0||f===void 0)throw Error("Invalid video dimensions.");var k=b.creativeWidth,m=b.creativeHeight, n=b.creativeX,p=b.creativeY;if(n===void 0||p===void 0||k===void 0||m===void 0)throw Error("Invalid creative dimensions.");if(k!==c.width||m!==c.height||n!==0||p!==0)throw Error("Creative resizing is not supported.");e=new Gn(g,h,e,f);if(!(new Gn(0,0,c.width,c.height)).contains(e))throw Error("Video cannot be moved out of slot bounds.");a.G=e;a.Z.g.pi(a.G);d.g=0})},O4=function(a,b){P4(a,b.args).then(function(c){return b.resolve(c)}).catch(function(c){return b.reject(c)})}; H4.prototype.start=function(){var a=this;s2.prototype.start.call(this);this.B.promise.then(function(){return void Q4(a)}).catch(function(){R4(a)})}; var Q4=function(a){if(!a.Ia()){S4(a);JB(U(),"ima_lsc");var b,c;(b=a.ta)!=null&&(b.j?b=void 0:(b.l=0,b.j=new Yy,mN(b),b=b.j.promise),(c=b)==null||c.then(function(){JB(U(),"ima_csr")},function(){JB(U(),"ima_cmc")}));a.ta.g.sendMessage("SIMID:Player:startCreative").catch(function(){return void R4(a)})}},S4=function(a){a.Z.g.Kc();a.l&&(a.l.style.display="block")},R4=function(a){var b=sR(TO),c=GS(b,a.getAd());s2.prototype.Mb.call(a,b,c);O(a,new uR(b));I4(a)}; H4.prototype.skip=function(){var a=this.ta.g.sendMessage("SIMID:Player:adSkipped");this.reportEvent("skip");O(this,X({type:"skip",ad:this.getAd()}));I4(this,a)};H4.prototype.Fc=function(){s2.prototype.Fc.call(this);this.ta.g.sendMessage("SIMID:Player:appBackgrounded")};H4.prototype.oc=function(){s2.prototype.oc.call(this);this.ta.g.sendMessage("SIMID:Player:appForegrounded")}; H4.prototype.Lb=function(){var a=C4(this.g),b=new Gn(0,0,a.width,a.height),c=this.G||b;this.ta.g.sendMessage("SIMID:Player:resize",new UM({creativeX:b.left,creativeY:b.top,creativeWidth:b.width,creativeHeight:b.height,videoX:c.left,videoY:c.top,videoWidth:c.width,videoHeight:c.height,fullscreen:GF(a.width,a.height)}))};var M4=function(a){a.ta.g.o.promise.then(function(){var b=a.ta,c=a.getDuration();b.g.sendMessage("SIMID:Media:durationchange",new UM({duration:c}))})}; H4.prototype.R=function(){this.K.dispose();this.Z.j.Ua&&this.Z.g.ri();this.Z.g.Yc();this.l&&(this.l.style.visibility="hidden");O(this,X({type:"contentResumeRequested",ad:this.getAd()}));O(this,X({type:"allAdsCompleted",ad:this.getAd()}));I4(this);s2.prototype.R.call(this)};H4.prototype.destroy=function(){var a=this;s2.prototype.destroy.call(this);AV(this.K,function(){return void a.dispose()})}; var I4=function(a,b){b=b===void 0?Promise.resolve({}):b;var c;(c=a.ta)!=null&&c.j&&(c.j.reject(),c.j=null);var d;(d=a.ta)==null||lN(d);a.O||(c=nu(2E3),a.O=Promise.race([b,c]).then(function(){tf(a.l);a.ta.dispose();a.T.dispose()}),a.destroy())};var T4=function(a){dt.call(this,"vpaid-message");this.data=a};w(T4,dt);var U4=function(a,b,c){M.call(this);this.j=a;this.A=b;this.l=c;this.H=this.g=null;this.o=new SG(this);L(this,this.o)};w(U4,M);U4.prototype.init=function(){this.o.listen(lf(),"message",this.Yk);V4(this)}; var V4=function(a){if(!a.H||!a.g){a.H||(a.H=S3(a.l));if(!a.g){a:{var b=a.A;for(var c=q(b.g.keys()),d=c.next();!d.done;d=c.next())if(d=d.value,!b.g.get(d)){b.g.set(d,!0);b=d;break a}b=null}a.g=b}a.H&&a.g&&(b=a.g,c=a.j,a=a.H.g,d={},a=(d.vpaidEventType="createFriendlyIframe",d.session=c,d.videoDisplayName=a,d),WQ(b.g,"adsManager","vpaidEvent",a))}};l=U4.prototype; l.start=function(){V4(this);if(!this.H)throw T3(this.l),V4(this),Error("Play ad was called before prior video display was released.");if(!this.g)throw AQ().report(122,{man:"vpaid",when:"start"},!0),Error("Play ad was called before insecure iframe channel was available.");};l.resume=function(){};l.getName=function(){return"friendly"};l.Xi=function(){};l.we=function(a,b){b.session=this.j;b.type=a;lf().parent.postMessage(JSON.stringify(b),"*")}; l.Yk=function(a){(a=W4(a))&&a.session===this.j&&(a.type==="friendlyReady"?(a={},O(this,new T4((a.type="vpaidChannelLoaded",a)))):O(this,new T4(a)))};var W4=function(a){a=a.Ob||null;if(!a)return null;a=a.data;if(typeof a!=="string")return null;a=m0(a);if(a!=null)try{return JSON.parse(a.data)}catch(b){}return null}; U4.prototype.R=function(){var a;if((a=this.g)!=null){var b=this.j,c={};b=(c.vpaidEventType="destroyFriendlyIframe",c.session=b,c);WQ(a.g,"adsManager","vpaidEvent",b)}H3(this.l,this.H);a=this.A;(b=this.g)&&a.g.set(b,!1)};U4.prototype.Fd=function(){return this.H};var X4=function(a,b,c,d,e){M.call(this);this.ad=a;this.B=b;this.o=c;this.l=d;this.G=e;this.H=null;this.F="";this.g=null;this.D=this.A=!1;this.j=new SG(this);L(this,this.j)};w(X4,M);l=X4.prototype; l.init=function(){if(!this.A&&(this.H||(this.H=S3(this.l)),this.H)){var a;if((a=SS(this.ad))&&/\.html(\?.*)?$/.test(a))this.G&&(a=a.replace(".html","_"+"en".replace("-","_")+".html")),a=G(a);else{var b=new P(a),c=new P("http://tpc.googlesyndication.com/pagead/js/loader21.html");b.o==="https"&&Ey(c,"https");a=Hy(c,a||"").toString()}this.g=nf("IFRAME",{src:dS(a),allow:"autoplay",allowFullscreen:!0,allowtransparency:!0,background:"transparent",style:"border:0; opacity:1; margin:0; overflow:hidden;padding:0; width:100%; height:100%;position: absolute;display:none;", title:"Advertisement"});this.j.listen(this.g,"load",this.Zm);var d;(d=this.o.wb())==null||d.appendChild(this.g);this.j.listen(lf(),"message",this.Zk);this.j.listen(this.H,"beginFullscreen click end endFullscreen error loaded mediaLoadTimeout pause play timeUpdate volumeChange".split(" "),this.sj);this.j.listen(this.H,TQ,this.sj);this.A=!0}}; l.start=function(){this.init();this.D=!0;if(!this.H)throw T3(this.l),this.init(),Error("Play ad was called before prior video display was released.");this.g!=null&&(this.g.style.display="block")};l.resume=function(){Y4(this,"play")};l.getName=function(){return"secure"};l.Xi=function(a){var b={};Y4(this,"supportedMimeTypes",(b.supportedMimeTypes=a,b))}; l.we=function(a,b){var c;if(((c=this.g)==null?void 0:c.contentWindow)!=null){b.session=this.B;b.type=a;var d;(d=this.g)==null||d.contentWindow.postMessage(JSON.stringify(b),"*")}}; l.Zk=function(a){a=a.Ob||null;a:{if(a)try{var b=JSON.parse(a.data);break a}catch(h){}b=null}var c;if((a==null?void 0:a.source)==((c=this.g)==null?void 0:c.contentWindow)&&b!=null&&b.session===this.B)if(b.type==="videoCall")switch(b.func){case "load":case "play":if(!this.D){O(this,new T4({type:"AdError",message:"VPAID ad called play on video element before start was called on VPAID manager"}));break}this.o.Pg();var d=b.src;if(this.F!==d){this.F=d;var e;(e=this.H)==null||aR(e,d,null,this.ad.getAdPodInfo())}var f; (f=this.H)==null||dR(f);break;case "pause":var g;(g=this.H)==null||g.pause();break;case "currentTime":e=b.currentTime,(d=this.H)==null||bR(d,e)}else O(this,new T4(b))};l.Zm=function(){var a={};O(this,new T4((a.type="vpaidChannelLoaded",a)))};l.R=function(){tf(this.g);H3(this.l,this.H)}; l.sj=function(a){switch(a.type){case "loadedmetadata":var b,c={};Y4(this,"loadedmetadata",(c.duration=(b=this.H)==null?void 0:b.getDuration(),c));break;case "timeUpdate":var d;b={};Y4(this,"timeupdate",(b.duration=(c=this.H)==null?void 0:c.getDuration(),b.currentTime=(d=this.H)==null?void 0:d.getCurrentTime(),b));break;case "end":Y4(this,"ended");break;case "beginFullscreen":Y4(this,"fullscreenchange");break;case "endFullscreen":Y4(this,"fullscreenchange");break;case "loaded":Y4(this,"loadstart"); break;case "mediaLoadTimeout":Y4(this,"stalled");break;case "play":Y4(this,"playing");break;default:Y4(this,a.type)}};var Y4=function(a,b,c){c=c===void 0?{}:c;c.messageType=b;a.we("wrapperCall",c)};X4.prototype.Fd=function(){return this.H};function Z4(a){a=SS(a);return!(!a||!a.match("//s0.2mdn.net/instream/html5/survey/survey.html"))};var $4=function(a,b,c){I2.call(this,a,b.g,b.l,c);var d=this;this.Z=b;this.H=null;this.ha=this.O=this.loaded=!1;this.G=[];this.ra=this.o=null;this.Y=this.duration=this.la=-1;this.ba=this.D=!1;this.g=this.T=null;this.Eb=b.A;this.Ua=b.B;this.Qb=function(){var e={};return e.currentTime=d.getCurrentTime(),e.duration=d.getDuration(),e.isPlaying=!0,e.isVpaid=SS(d.getAd())!=null,e.isYouTube=!1,e.volume=d.o,e};this.Aa="goog_"+ge++;this.L=new ju(500);this.mg=(new P(SS(this.getAd()))).j;this.B=this.getAd().jc(); this.I=b.g.dc();this.F="normal";b.o.push(this.toString())};w($4,I2);l=$4.prototype; l.init=function(){if(sP.g===0){var a=sR(NO,null,"vpaid");a5(this,a);throw a;}if(!this.A){a=this.getAd();var b=this.Aa,c=M2(this),d=this.Eb,e=this.Ua;this.g=Z4(a)||sP.g!==2?new X4(a,b,c,d,Z4(a)):new U4(b,e,d);L(this,this.g);DO(this.getAd().rb,Ua());this.j.listen(this.L,"tick",this.jg);this.j.listen(SR(),qQ,this.Bg);this.j.listen(this.g,"vpaid-message",this.hg);this.g.init();this.H=this.g.Fd();b5(this,this.H);this.A=!0;L2(this,"loaded")}}; l.start=function(){this.init();I2.prototype.start.call(this);if(this.g){try{this.g.start()}catch(d){var a=sR(dP,d,"internal");a5(this,a);return}if(this.H=this.g.Fd()){b5(this,this.H);c5(this);WD(this.l,OS(this.getAd(),this.H));XQ(this.H);this.reportEvent("show_ad");O(this,X({type:"show_ad",ad:this.getAd()}));M2(this).Kc();a=this.getAd();if(a.g instanceof lS){var b=dU(a);if(b!=null&&b.length!==0){var c=document.body;c&&(this.T=new o2(b,LT(a),this.I,c),this.T.build(),$H(this.I,kJ,this.ie,this),$H(this.I, lJ,this.Wa,this))}}this.o!=null&&this.H.setVolume(this.o);MQ()&&(a=new aE(this.getAd().j,this.l,this.H,MQ(),this.getAd().Xb,!0),dE(a),L(this,a));this.ha=!0;this.B?O(this,X({type:"contentPauseRequested",ad:this.getAd()})):O(this,new B0("vpaidNonLinear",this.Aa));d5(this);this.O||(this.Y=lu(this.Xa,this.ia.loadVideoTimeout,this))}}};l.resize=function(a,b){this.F=GF(a,b)?"fullscreen":"normal";var c={};a=(c.width=a,c.height=b,c.viewMode=this.F,c);this.sendMessage("resizeAd",a)}; l.expand=function(){this.sendMessage("expandAd");this.F="fullscreen"};l.collapse=function(){this.sendMessage("collapseAd");this.F="normal"};l.pause=function(){this.D||this.sendMessage("pauseAd")};l.resume=function(){if(this.D){this.sendMessage("resumeAd");var a;(a=this.g)==null||a.resume()}};l.setVolume=function(a){I2.prototype.setVolume.call(this,a);this.o==null&&(this.o=a);this.ha&&this.sendMessage("setAdVolume",{value:a})}; var b5=function(a,b){b&&(VR(a.getAd(),a.Qb),SR().H=b,a.K!=null&&(a=a.K,a.l=b,a.o.listen(a.l,"start",a.O)))};$4.prototype.R=function(){WR(this.getAd());this.L.stop();var a;(a=this.T)==null||a.dispose();this.I.clear();this.H&&(YQ(this.H),this.Z.j.o||eR(this.H),this.B&&(!this.O||this.H.l||this.H.o||this.H.pause()));this.loaded=!1;this.G=[];mu(this.Y);this.L.dispose();I2.prototype.R.call(this)}; var e5=function(a){var b=a.getAd().getTraffickingParametersString(),c=G(WT(a.getAd())),d=a.getAd();if(a.B){var e=d.g,f=mS(e);f!=null&&(e.g=f)}e=a.o!=null?a.o:1;f={};b=(f.desiredBitrate=a.ia.bitrate,f.creativeData=b,f.viewMode=a.F,f.clickThroughUrl=c,f.attributionParams=XT(a.getAd()),f.adUrl=SS(d),f.volume=e,f);a.loaded=!0;a.sendMessage("initAd",b);a.G.forEach(function(h){a.sendMessage(h.type,h.params)});a.G=[];var g;(g=a.g)==null||g.Xi(a.ia.mimeTypes||[])}; $4.prototype.sendMessage=function(a,b){b=b===void 0?{}:b;if(this.loaded){var c;(c=this.g)==null||c.we(a,b)}else this.G.push({type:a,params:b})};$4.prototype.Xa=function(){this.getAd().rb.g=Ua();a5(this,sR(YO,null,(this.ia.loadVideoTimeout/1E3).toString()))};var a5=function(a,b){a.getAd().Pd();var c=a.getAd().rb;c.g==null&&(b.getErrorCode(),YO.getErrorCode(),c.g=Ua());c=GS(b,a.getAd());a.Mb(b,c);O(a,new uR(b));a.destroy()}; $4.prototype.hg=function(a){a=a.data;if(typeof a.type==="string")switch(a.type){case "forwardVpaidManagerEvent":O(this,a.data);break;case "vpaidChannelLoaded":e5(this);break;case "heavyAdIntervention":this.reportEvent(a.heavyAdInterventionEventType);break;case "returnDuration":this.duration=a.duration;break;case "returnRemainingTime":f5(this,a.remainingTime);break;case "AdClickThru":this.reportEvent("click");O(this,X({type:"click",ad:this.getAd()}));break;case "AdDurationChange":this.duration=a.duration; f5(this,a.remainingTime);var b,c;(b=this.getAd())!=null&&(c=b.g)!=null&&(c.duration=this.duration);O(this,X({type:"durationChange",ad:this.getAd()}));break;case "AdError":this.ba=!0;a5(this,sR(eP,Error(a.message)));break;case "AdExpandedChange":O(this,X({type:"expandedChanged",ad:this.getAd()}));break;case "AdImpression":J2(this);L2(this,"impression");this.ba=!0;O(this,X({type:"start",ad:this.getAd()}));break;case "AdLinearChange":var d=a.isLinear;!this.B&&d?(O(this,X({type:"contentPauseRequested", ad:this.getAd()})),this.sendMessage("becameLinear")):!d&&this.B&&(O(this,X({type:"contentResumeRequested",ad:this.getAd()})),this.sendMessage("becameNonlinear"),this.sendMessage("getAdRemainingTime"),this.sendMessage("getAdDuration"));this.B=d;var e=this.getAd();e.T=!0;e.V=d;O(this,X({type:"linearChanged",ad:this.getAd()}));break;case "AdLoaded":mu(this.Y);this.O=!0;this.getAd().rb.g=Ua();a=a.companions;var f=this.getAd();if(DT(f).length===0&&(b=f.g)){a:{b=b.Ba();try{e=RG(G(a));if(e==null||!e.documentElement){d= [];break a}var g=NH(e.documentElement);d=g.g.length===0?[]:[(new XU(e.documentElement)).getCompanionAds(g,b)];break a}catch(h){d=[];break a}d=void 0}d.length!==0&&xT(f,d)}d5(this);O(this,X({type:"adCanPlay",ad:this.getAd()}));break;case "AdPaused":this.D=!0;L2(this,"pause");break;case "AdPlaying":this.D=!1;L2(this,"resume");break;case "AdRemainingTimeChange":f5(this,a.remainingTime);break;case "AdSkipped":L2(this,"skip");this.destroy();break;case "AdSkippableStateChange":L2(this,"skippableStateChanged"); break;case "AdStarted":this.reportEvent("creativeView");K2(this);O(this,X({type:"adStarted",ad:this.getAd()}));break;case "AdStopped":this.reportEvent("stop");this.ba||a5(this,sR(eP));this.destroy();break;case "AdUserAcceptInvitation":this.B?this.reportEvent("acceptInvitationLinear"):this.reportEvent("acceptInvitation");break;case "AdUserMinimize":this.reportEvent("collapse");break;case "AdUserClose":L2(this,"userClose");break;case "AdVideoComplete":L2(this,"complete");break;case "AdVideoFirstQuartile":L2(this, "firstQuartile");break;case "AdVideoMidpoint":L2(this,"midpoint");break;case "AdVideoStart":this.reportEvent("start");break;case "AdVideoThirdQuartile":L2(this,"thirdQuartile");break;case "AdVolumeChange":d=a.volume;d!==this.o&&(O(this,X({type:"volumeChange",ad:this.getAd(),data:{volume:d}})),d===0?(this.reportEvent("mute"),O(this,X({type:"mute",ad:this.getAd()}))):this.o===0&&d!==0&&this.reportEvent("unmute"),(f=this.H)==null||f.setVolume(d),this.o=d);break;case "AdInteraction":d={};d=(d.id=a.id, d);O(this,X({type:"interaction",ad:this.getAd(),data:d}));break;case "Ping":wQ(a.url)}};var d5=function(a){if(a.O&&a.ha){var b;(b=a.H)!=null&&WQ(b.j,b.g,"activate");a.sendMessage("startAd");a.L.start();a.B||(a.sendMessage("becameNonlinear"),a.sendMessage("getAdRemainingTime"));a.sendMessage("getAdDuration")}};$4.prototype.getCurrentTime=function(){return this.getDuration()<0||this.getRemainingTime()<0?-1:this.getDuration()-this.getRemainingTime()};$4.prototype.getDuration=function(){return this.duration}; $4.prototype.getRemainingTime=function(){return this.la};var f5=function(a,b){a.la=b;if(!a.D){b=a.getAd().getDuration();var c=b-a.la;if(b>=0&&c>=0){var d=new e3(a.getAd().getAdPodInfo(),c,b);O(a,X({type:"adProgress",ad:a.getAd(),data:d}));UD(a.l,c,b*1E3)}}b=a.getAd().getDuration();c=b-a.getRemainingTime();c<=b&&aI(a.I,sJ,new rJ(c,b))};$4.prototype.jg=function(){this.sendMessage("getAdRemainingTime")}; var c5=function(a){var b={};U();b.pid="0";b.dn=a.mg;var c;b["if"]=(c=a.g)==null?void 0:c.getName();b.asys=a.getAd().getAdSystem();c=new P(SS(a.getAd()));b.vad=c.l.indexOf("vpaid_adapter.js")!==-1;b.atag=Xy(c.g,"adTagUrl");var d=[];zT(a.getAd()).forEach(function(e){d.push(G(e.mimeType).toLowerCase())});b.mtypes=d.join(",");AQ().report(29,b)};$4.prototype.Wa=function(a){a.J.forEach(function(b){wQ(b)})};$4.prototype.ie=function(a){var b=a.A;b!=null&&(this.Sa(b,a.C,null),this.pause());a.B.forEach(function(c){wQ(c)})}; $4.prototype.skip=function(){this.sendMessage("skipAd")};$4.prototype.toString=function(){return"vpaidman"};var g5=function(a,b){this.g=a;this.duration=b;this.Db=new kT};l=g5.prototype;l.eg=function(){return!1};l.isLinear=function(){return!0};l.jc=function(){return!0};l.getAdPodInfo=function(){return this.Db};l.getDuration=function(){return this.duration};function h5(a){return ST(a,"nonlinear")&&SS(a)==null}function i5(a){AQ().report(100,{type:a})}function j5(a){var b=0;a.forEach(function(c){c&&c.jc()&&(b+=c.getDuration())});a.forEach(function(c,d){var e=c.getAdPodInfo();e.totalAds=a.length;c&&c.jc()&&(e.adPosition=d+1,e.g=b)})}var k5=function(){}; k5.prototype.create=function(a,b,c){if(a.length===0)throw Error("Ads manager creation failure, no ads.");var d=new g4(b.g);d=new F2(d,b.A,b.C,b.l,b.B,b.j);d.o=b.o;b=a[0];if(b instanceof yT&&PT(b)&&h5(b))i5("adsense"),a=[new T2(a,d,c)];else{b=[];for(var e=0;e0)return this.g=null,Promise.resolve(B2(this));if(!(this.l.length>0||this.j))return Promise.resolve(null);this.g=new Yy;return this.g.promise}; var o5=function(a){return a.l.length>0&&a.o.length<1&&!a.j},q5=function(a){XG(a.D,a.A,"adBreakFetched",a.K,!1,a);XG(a.D,a.A,"adBreakFetchError",a.O,!1,a)},p5=function(a){UG(a.D,a.A,"adBreakFetched",a.K,!1,a);UG(a.D,a.A,"adBreakFetchError",a.O,!1,a);var b;a.j=(b=a.l.shift())!=null?b:null;b=new l5;b.offset=a.offset;b.g=a.T;b.l=a.j;sP.setCompanionBackfill("on_master_ad");r5(a.A,a.j.ma,b)}; n5.prototype.K=function(a){var b=a.g;if(b.offset===this.offset){sP.setCompanionBackfill(this.F);q5(this);this.j=null;var c=a.o;this.B=[].concat(u(this.B),u(c));s5(this.B,this.offset,this.L,this.l.length,this.aa);this.o=[].concat(u(this.o),u(c));this.o.length>0&&(this.g&&(c=this.g.resolve,this.g=null,c(B2(this))),O(this.C,a));o5(this)&&p5(this);this.l.length>0||this.j||t5(this,b)}}; n5.prototype.O=function(a){a=a.g;a.offset===this.offset&&(sP.setCompanionBackfill(this.F),q5(this),this.j=null,s5(this.B,this.offset,this.L,this.l.length,this.aa),o5(this)&&p5(this),this.l.length>0||this.j||t5(this,a))};var t5=function(a,b){if(a.g){var c=a.g.resolve;a.g=null;c(null)}a.B.length===0&&(sP.getCompanionBackfill()==="always"&&a.A.yf.B(LV()),b=new m5("adBreakFetchError",b),vR(PO),O(a.C,b))};n5.prototype.R=function(){sP.setCompanionBackfill(this.F);q5(this);Mo.prototype.R.call(this)}; function s5(a,b,c,d,e){var f=u5(e,a),g=a.length+d;a.forEach(function(h,k){var m=h.getAdPodInfo();m.totalAds=g;m.l=b;m.j=c;h&&h.jc()&&(m.adPosition=k+1,m.g=f)})}function u5(a,b){var c=0;a.forEach(function(e){(e=e.getMaxDuration())&&(c+=e)});if(c>0)return c;var d=0;b.forEach(function(e){e&&e.jc()&&(d+=e.getDuration())});return d>0?d:-1};var v5=function(a,b,c){this.j=a;this.g=b;this.l=c};v5.prototype.create=function(a){return new n5(this.j,[].concat(u(this.g.g.get(a)||[])),a,this.g.getPodIndex(a),this.l)};var w5=function(a,b,c,d){d=d===void 0?null:d;dt.call(this,a);this.offset=b;this.g=c;this.l=d};w(w5,dt);var y5=function(a,b,c){M.call(this);this.o=a;this.F=b;this.A=c;this.l=null;this.g=new Map;this.j=new SG(this);L(this,this.j);x5(this);this.B=qR(this.A).reduce(function(d,e){d.set(e,b.create(e));return d},new Map);this.D=new Set};w(y5,M); var z5=function(a,b){return[].concat(u(a.A.g.get(b)||[]))},A5=function(a,b,c){a.g.set(b,c);a.l===b&&(a.l=null)},B5=function(a){return[].concat(u(qR(a.A))).length===a.g.size};y5.prototype.start=function(){this.o.start();kR(this.o)};y5.prototype.R=function(){YG(this.j);this.o.stop();M.prototype.R.call(this)}; var x5=function(a){a.j.listen(a.o,"OffsetTrackerEvent",function(b){var c=b.l;b=b.g;c==null||a.g.get(c)!=null?b==null||a.g.get(b)!=null||C5(a,b):(a.l=c,C5(a,c))})},C5=function(a,b){var c=a.B.get(b);a.D.has(b)?D5(a,b):c.G||(b=c.C,a.j.listen(b,"adBreakFetched",a.K),a.j.listen(b,"adBreakFetchError",a.G),c.G||(c.G=!0,p5(c)))},E5=function(a,b){XG(a.j,b,"adBreakFetched");XG(a.j,b,"adBreakFetchError")};y5.prototype.K=function(a){D5(this,a.g.offset)}; var D5=function(a,b){a.D.add(b);var c=a.B.get(b);E5(a,c.C);a.g.get(b)==null&&(a.l===b?(a.l=null,O(a,new w5("play",b,c))):a.l==null&&O(a,new w5("load",b,c)))};y5.prototype.G=function(a){a=a.g.offset;var b=this.B.get(a);E5(this,b.C);this.B.set(a,this.F.create(a));var c=vR(PO);O(this,new w5("error",a,b,c))};var G5=function(a,b,c,d,e,f){s2.call(this,new E2);this.ba=a;this.D=c;this.ia=e;this.Z=f;this.A=null;this.O=this.o=this.T=!1;this.l=null;this.F=this.B=this.G=!1;this.K=this.L=-1;a=e.playAdsAfterTime;e=qR(b);e=q(e);for(var g=e.next();!g.done;g=e.next())g=g.value,g!==-1&&g<=a&&b.remove(g);d=new jR(d,qR(b));L(this,d);this.g=new y5(d,new v5(c,b,f.C.j),b);L(this,this.g);this.j=new SG(this);L(this,this.j);F5(this);this.j.listen(c,"contentComplete",this.ha);this.volume=1;f.o.push(this.toString())};w(G5,s2); l=G5.prototype;l.resize=function(a,b){this.L=a;this.K=b;s2.prototype.resize.call(this,a,b)};l.discardAdBreak=function(){var a=this.U;H5(this)&&a instanceof i4&&a.j?I5(this):(a=nR(this.g.o),a!=null&&this.g.g.get(a)==null&&(A5(this.g,a,1),a===0&&J5(this),(B5(this.g)||this.o)&&K5(this)))};l.getCuePoints=function(){return[].concat(u(qR(this.g.A)))}; l.init=function(){var a=this;this.D.nd=!1;this.j.listen(this,"allAdsCompleted",function(){a.D.nd=!0});var b={};b=(b.cuepoints=this.getCuePoints(),b);b=X({type:"adMetadata",ad:this.getAd(),data:b});O(this,b);z5(this.g,0).length===0&&J5(this);this.g.start()};l.start=function(){sP.j||H5(this)&&this.B||(H5(this)?(this.B=!0,L5(this)):this.G=!0)}; var J5=function(a){a.T=!0;O(a,X({type:"contentResumeRequested",ad:a.getAd()}))},K5=function(a){a.O||(a.O=!0,O(a,X({type:"allAdsCompleted",ad:a.getAd()})))},L5=function(a){M5(a,"breakStart");a.l&&(mu(a.l),a.l=null);s2.prototype.start.call(a)};G5.prototype.setVolume=function(a){this.volume=a;s2.prototype.setVolume.call(this,a)}; var O5=function(a,b){a.A=b.offset;var c=a.ba;b=b.g;var d=a.Z,e=a.ia,f=new g4(d.g);f=new F2(f,d.A,d.C,d.l,d.B,d.j);f.o=d.o;c=new i4(new C2(b,f,c,e),f,e);a.U.Ia()||a.U.dispose();a.U=c;N5(a);a.U.setVolume(a.volume);a.U.resize(a.L,a.K);a.U.init()},N5=function(a){var b=[].concat(u(r2));a.j.listen(a.U,b,function(c){return void O(a,c)});a.j.listen(a.U,"contentResumeRequested",function(){F5(a);J5(a)});a.j.listen(a.U,"contentPauseRequested",function(c){XG(a.j,a.g,"load",a.da);XG(a.j,a.g,"play",a.Y);XG(a.j, a.g,"error",a.V);O(a,c)});a.j.listen(a.U,"adError",function(c){c=c.getError()||sR(dP);O(a,X({type:"log",data:c}))});a.j.listen(a.U,"allAdsCompleted",function(){a.B=!1;if(a.g.g.get(-1)!=null&&(jQ=dQ(),a.Z.l!=null)){var c=a.Z.l.F();c!=null&&P5(c)}a.T||J5(a);M5(a,"breakEnd");(B5(a.g)||a.o)&&K5(a);a.F&&(K5(a),a.dispose())})};G5.prototype.da=function(a){var b=a.offset;this.A!==b&&(b!==-1||this.zc())&&O5(this,a)}; G5.prototype.Y=function(a){this.A!==a.offset&&O5(this,a);A5(this.g,a.offset,0);var b=z5(this.g,0).length===1;a.offset===0&&b&&(this.zc()||J5(this));sP.j?L5(this):Q5(this,a.offset)}; G5.prototype.ha=function(a){this.o||this.Ia()||this.F||(this.o=!0,this.g.g.get(-1)!=null&&this.g.g.get(-1)===1)||(B5(this.g)&&this.U instanceof E2?(O(this,X({type:"contentResumeRequested",ad:null})),K5(this)):B5(this.g)||this.g.g.get(-1)!==2?z5(this.g,-1).length>0?(a.l=!1,a=this.g.o,a.g.includes(-1)&&O(a,new iR(-1,null)),a.stop()):K5(this):(a.l=!0,K5(this)))}; G5.prototype.V=function(a){A5(this.g,a.offset,2);var b=a.l||vR(PO);O(this,X({type:"log",data:b}));b={};O(this,X({type:"adBreakFetchError",ad:null,data:(b.adBreakTime=a.offset,b)}));((b=B5(this.g)||this.o)||a.offset===0)&&J5(this);b&&K5(this)};var F5=function(a){a.j.listen(a.g,"load",a.da);a.j.listen(a.g,"play",a.Y);a.j.listen(a.g,"error",a.V)};G5.prototype.destroy=function(){this.l&&(mu(this.l),this.l=null);var a=this.U;H5(this)&&a instanceof i4&&a.j?(this.F=!0,I5(this)):(K5(this),this.dispose())}; var I5=function(a){s2.prototype.destroy.call(a)},H5=function(a){return!(a.U instanceof E2)&&!a.U.Ia()},Q5=function(a,b){b===0&&(a.l=lu(function(){J5(a)},100));b===-1&&(a.l=lu(function(){I5(a)},500));a.G&&(a.G=!1,a.B=!0,L5(a));var c={};b=(c.adBreakTime=b,c);b=X({type:"adBreakReady",ad:a.getAd(),data:b});O(a,b)};G5.prototype.R=function(){this.D.nd=!0;s2.prototype.R.call(this)};G5.prototype.toString=function(){return"vmapman"}; var M5=function(a,b){a.A!==null&&z5(a.g,a.A).forEach(function(c){xQ(FQ(c.W,b))})};function R5(a){var b=b===void 0?8:b;for(var c=[],d=0;d0&&(c.push(Math.round((e-b)*1E3)/1E3),c.push(Math.round(e*1E3)/1E3))}return c};var S5=function(a,b,c,d){this.j=a;this.g=b;this.Z=c;this.l=d};S5.prototype.build=function(a,b){a.enablePreloading&&LQ(this.Z.j.o)?T5(this.Z.A,2):T5(this.Z.A,1);if(this.g instanceof oR){var c=this.g,d=this.j,e=this.Z,f=new k5;AQ().report(100,{type:"vmap"});a=new G5(f,c,d,b,a,e)}else b=this.g,c=this.Z,d=new k5,j5(b),a=d.create(b,c,a);this.l(a);return a};var U5=function(a,b){Mo.call(this);this.g=new SG(this);L(this,this.g);this.g.listen(b,"userInteraction",this.j);this.I=a};w(U5,Mo);U5.prototype.j=function(a){switch(a.messageType){case "focusSkipButton":aI(this.I,XI,null);break;case "focusUiElement":aI(this.I,WI,null)}};var V5=function(a,b,c,d,e){Mo.call(this);var f=this;this.L=a;this.container=b;this.ia=c;this.o=d;this.l=this.g=null;this.F=-1;this.C=[];this.B={};this.A=null;this.D=new hR(this.o,e);this.D.start();this.j=new SG(this);this.Y=new U5(this.container.dc(),this.o);this.ra=null;this.j.listen(this.o,"adsManager",this.V);this.j.listen(this.o,"userInteraction",this.da);this.A=vt(window,"beforeunload",function(){f.g&&f.g.nf()})};w(V5,Mo); V5.prototype.R=function(){var a=this;this.g&&this.g.destroy();this.A&&(Dt(this.A),this.A=null);Lo(this.l);Lo(this.Y);lu(function(){Lo(a.j)},0);Mo.prototype.R.call(this)};V5.prototype.T=function(a){var b={};b=(b.vpaidEventType=a.l,b.session=a.g,b);this.sendMessage(a.type,b)};V5.prototype.V=function(a){try{W5(this,a.messageType,a.Cb)}catch(b){X5(this,b)}};V5.prototype.da=function(){var a;(a=this.g)==null||a.oc()}; var X5=function(a,b){b instanceof zO?(b.getErrorCode(),Y5(a,b)):Y5(a,sR(TO,b));a.dispose()},W5=function(a,b,c){if(b!=="start"||a.g)if(a.g||b==="init")var d=!1;else a.C.push({type:b,data:c}),d=!0;else Y5(a,sR(IO,null,"Should call init before calling start.")),d=!0;if(!d)switch(b){case "init":if(a.g)break;a.ia.append(c.adsRenderingSettings);try{var e=a.L.build(a.ia,a.D);a.j.listen(e,nQ,a.O);a.j.listen(e,"adError",a.aa);a.j.listen(e,oQ,a.T);a.g=e}catch(F){X5(a,F);break}for(;a.C.length!==0;)b=a.C.shift(), W5(a,b.type,b.data);a.l==null&&(a.l=new ju(200));a.j.listen(a.l,"tick",a.G);a.l.start();a.g.init();eo()||a.j.listen(lf(),"resize",a.K);break;case "skip":var f;(f=a.g)==null||f.skip();break;case "start":var g;(g=a.g)==null||g.start();break;case "stop":if(a.g&&a.g instanceof G5)I5(a.g);else{var h;(h=a.g)==null||h.destroy()}break;case "navigationRequestedFailed":var k;(k=a.g)==null||k.resume();break;case "pause":var m;(m=a.g)==null||m.pause();break;case "resume":var n;(n=a.g)==null||n.resume();break; case "destroy":a.dispose();break;case "expand":var p;(p=a.g)==null||p.expand();break;case "collapse":var r;(r=a.g)==null||r.collapse();break;case "volume":var t;(t=a.g)==null||t.setVolume(c.volume);break;case "resize":var v;(v=a.g)==null||v.resize(c.width,c.height);break;case "discardAdBreak":a.g&&a.g instanceof G5&&a.g.discardAdBreak();break;case "updateAdsRenderingSettings":if(c==null)break;a.ia.append(c.adsRenderingSettings);break;case "click":var A;(A=a.g)==null||A.Rc();break;case "appForegrounding":var B; (B=a.g)==null||B.oc();break;case "appBackgrounding":var D;(D=a.g)==null||D.Fc()}}; V5.prototype.O=function(a){var b=Z5(this,a.type,a.getAd()),c=a.getAdData()||{};switch(a.type){case "adBreakReady":case "adBreakFetchError":case "trackingUrlPinged":case "mediaUrlPinged":this.sendMessage(a.type,c);break;case "adProgress":c instanceof e3&&(b={},b.adBreakDuration=c.adBreakDuration,b.adPosition=c.adPosition,b.currentTime=c.currentTime,b.duration=c.duration,b.totalAds=c.totalAds,this.sendMessage(a.type,b));break;case "interaction":c={};this.sendMessage(a.type,(c.adData=b,c.interactionData= a.getAdData(),c));break;case "adMetadata":b=c.cuepoints;if(!b)break;c=R5(b);var d={};this.sendMessage(a.type,(d.adCuePoints=b,d.internalCuePoints=c,d));break;case "complete":this.sendMessage("remainingTime",{currentTime:-1,duration:-1,remainingTime:-1});c={};this.sendMessage(a.type,(c.adData=b,c));break;case "allAdsCompleted":$5(this);c={};this.sendMessage(a.type,(c.adData=b,c));break;case "loaded":a=a.getAd();if(!a){Y5(this,sR(TO));break}a.getContentType()!=null&&(b.contentType=a.getContentType()); a={};a=(a.adData=b,a);this.sendMessage("loaded",a);break;case "videoIconClicked":a=c.clickThroughUrl;(fQ().F||a)&&this.sendMessage("videoIconClicked",c);break;case "iconFallbackImageClosed":this.sendMessage("iconFallbackImageClosed");break;case "click":a={};this.sendMessage("click",(a.adData=b,a));break;case "log":c=a.getAdData();if(!c)break;if(!(c instanceof zO))break;c=BO(c);d={};this.sendMessage(a.type,(d.adData=b,d.logData=c,d));break;case "companionBackfill":this.sendMessage("companionBackfill"); break;case "volumeChange":b={};this.sendMessage(a.type,(b.adData=c,b));break;case "navigationRequested":a=c.url;if(!a)break;fQ().Ni?((b=c.attributionSrc)&&aB(BC)?(a=new P(a),Ry(a,"ase")==="3"&&Ry(a,"asrd")==="1"?(a=new P(b),Fy(a,"googleadservices.com"),a=a.toString()):a=b):a=b,c.attributionSrc=a,this.sendMessage("navigationRequested",c)):this.ia.disableClickThrough||(b=c.attributionParams,b=b!=null?b:"",qe&&(b=""),E(G(a))||(c=a instanceof jd||!OA.test(a)?a:new jd(a),a=c instanceof jd?c:pd(a),c=window, a=td(a),a!==void 0&&c.open(a,"_blank",b)));break;case "setPaidV2UserEnabled":case "updateGfpCookie":this.sendMessage(a.type,c);break;default:c={},this.sendMessage(a.type,(c.adData=b,c))}};V5.prototype.aa=function(a){var b=this;$5(this);XG(this.j,lf(),"resize",this.K);Y5(this,a.getError());lu(function(){return b.dispose()})};var $5=function(a){XG(a.j,a.l,"tick",a.G);Lo(a.l);a.l=null;a.sendMessage("remainingTime",{currentTime:-1,duration:-1,remainingTime:-1})}; V5.prototype.G=function(){var a,b=(a=this.g)==null?void 0:a.getRemainingTime();if(this.F!==b&&b!==void 0){this.F=b;var c,d;a={currentTime:(c=this.g)==null?void 0:c.getCurrentTime(),duration:(d=this.g)==null?void 0:d.getDuration(),remainingTime:b};this.sendMessage("remainingTime",a)}};V5.prototype.K=function(){try{var a;(a=this.g)==null||a.Lb()}catch(b){X5(this,b)}}; var Z5=function(a,b,c){if(c==null)return{};var d=jU(c);b==="start"&&(a.B[c.getAdId()]==null&&(b=DT(c)||[],a.B[c.getAdId()]=b.map(function(e){return rU(e)})),d.companions=a.B[c.getAdId()]);return d};V5.prototype.sendMessage=function(a,b){b=b===void 0?{}:b;WQ(this.o,"adsManager",a,b)};var Y5=function(a,b){b=BO(b);a.sendMessage("error",b)};var a6=function(a){this.g=a};var b6=function(){this.g=new Map},c6=function(a,b){a.g.clear();for(var c=0;c<1;c++)a.g.set(new a6(b),!1)};var d6=["videoDisplay1","videoDisplay2"],e6=function(a){this.l=a;this.j=new Set;this.g=[]},T5=function(a,b){a.j.clear();a.g=d6.slice(0,b).map(function(c){return new VQ(a.l,c)})},S3=function(a){if(a.g.length>0){var b=a.g.shift();a.j.add(b);return b}return null},H3=function(a,b){b&&(a.j.delete(b),a.g.push(b))},T3=function(a){for(var b=q(a.j),c=b.next();!c.done;c=b.next())c=c.value,c.reset(fQ().o),eR(c),a.g.unshift(c)};var f6=function(a,b){dt.call(this,"adsLoaded");this.g=a;this.l=b};w(f6,dt);var g6=function(a,b){this.l=a;this.j=b;this.ra=null};g6.prototype.encrypt=function(a){var b=this;return y(function(c){if(c.g==1)return c.l=2,x(c,b.l.encrypt(a),4);if(c.g!=2)return c.return(c.j);wa(c);return c.return("")})};var h6=function(a){this.ads=a},j6=function(a,b){(b=i6(a,b))&&a.ads.splice(a.ads.indexOf(b),1);return b},i6=function(a,b){b<=0&&(b=120);return a.ads.find(function(c){return c.getDuration()>0&&c.getDuration()<=b})||null};var l6=function(a,b){this.j=a;a=k6(a,b);b=a.Fh;this.g=a.xm;this.Fh=b},m6=function(a){return a.j.reduce(function(b,c){var d;return[].concat(u(b),u((d=a.g.get(c))!=null?d:[]))},[])},n6=function(a,b){a.Fh.forEach(function(c){var d=j6(b,c.getDuration());d&&a.g.set(c,[d])})},k6=function(a,b){var c=new Map,d=[];a.forEach(function(e){if(e.l){var f=[];b.forEach(function(g){var h;a:{for(h=g.X;h;){if(h===e){h=!0;break a}h=h.X}h=!1}h&&f.push(g)});f.length===0&&d.push(e);c.set(e,f)}else c.set(e,[e])});return{xm:c, Fh:d}};var o6=function(a,b,c){this.N=a;this.J=b;this.A=c;this.j=this.o=null;this.B=!1;this.C=0;this.g=new l6(this.A,[]);this.l=new h6([])},p6=function(a,b){a=a.length===0;var c=b.length>=2,d=b.length>0,e;if(e=a)b=b[0],e=PT(b)&&ST(b,"nonlinear")&&SS(b)==null;return e?!1:a&&c||!a&&d};l=o6.prototype; l.zd=function(a,b){var c=this;if(this.B){var d=j6(this.l,this.C);d?a([d]):b(vR(PO))}else{var e=!1,f=!1;this.N.zd(function(g){c.g=new l6(c.A,g);f&&q6(c,a,b);e=!0},function(g){c.o=g;f&&q6(c,a,b);e=!0});this.J.zd(function(g){c.l=new h6(g);e&&q6(c,a,b);f=!0},function(g){c.j=g;e&&q6(c,a,b);f=!0})}};l.Hf=function(){return p6(this.A,this.l.ads)};l.hc=function(){throw Error("Do not use hasMoreAds in ad buffet ad source.");};l.bc=function(){throw Error("Do not use getNextAd in ad buffet ad source.");}; l.Fj=function(){throw Error("Do not use numInlineAdsProduced in ad buffet ad source.");};l.Pd=function(a){this.C=a;this.B=!0};var q6=function(a,b,c){a.o&&a.j?a.A.length>0&&a.o?c(a.o):a.j?c(a.j):(a=vR(PO),c(a)):a.j?b(m6(a.g)):a.o?(n6(a.g,a.l),m6(a.g).length>0?b(m6(a.g)):(a=vR(PO),c(a))):(n6(a.g,a.l),b(m6(a.g)))};var r6=function(a,b){this.C=a;this.A=b;this.g=this.j=0;this.l=-1;this.o="none"},s6=function(a,b){a.j+=1;a.o=b instanceof oR?"map":"src";AQ().report(176,{sic:a.j,eic:a.g,lst:a.o,lec:a.l});a.j>1||a.g>1||a.C(b)},t6=function(a,b){a.g+=1;a.l=b.getErrorCode();AQ().report(176,{sic:a.j,eic:a.g,lst:a.o,lec:a.l});a.j>1||a.g>1||a.A(b)};var u6=function(a,b,c,d){this.C=a;this.J=b;this.ma=c;this.N=d;this.Va=this.B=!0;this.l=-1;this.g=null;this.D=this.A=0;this.o=null;this.ads=this.C.length>0?this.C:this.J;this.ra=null};u6.prototype.zd=function(a,b){v6(this,a,b)}; var w6=function(a,b,c){var d=[],e=function(f){a.hc()?a.bc(function(g){d.push(g);e(null)},function(g){e(g)}):d.length>0?b(d):(f==null&&(f=vR(PO)),c(f))};e(null)},v6=function(a,b,c){var d=[],e=[];x6(a,d,e);Promise.all(e).then(function(){return y6(a,d,b,c)},function(){return c(vR(WO))})},x6=function(a,b,c){a.ads.forEach(function(d){var e=[];b.push(e);d.l?z6(a,d)||(d=A6(a,d,e,function(f){return a.o=f}),c.push(d)):e.push(d)})},z6=function(a,b){if(JT(b)>=sP.getNumRedirects()){var c=a.j(b,$O,null,String(sP.getNumRedirects())); B6(a,b,c);return!0}return a.B?!1:(a.o=a.j(b,bP),!0)},y6=function(a,b,c,d){var e=[];b.forEach(function(f){f.forEach(function(g){return a.hf(g,function(h){return e.push(h)},function(h){return a.o=h})})});e.length>0?c(e):(a.o===null&&(a.o=vR(PO)),d(a.o))},A6=function(a,b,c,d){return new Promise(function(e,f){var g=aD(a.ma,b.O);a.N.fetch(g,new r6(function(h){h instanceof u6?C6(a,h,b,c,d,e,f):(h=new zO("adLoadError","Ad source cannot contain playlist response.",2),AO(h,b),d(h),e())},function(h){h=D6(a, h,b);B6(a,b,h);d(h);e()}))})},C6=function(a,b,c,d,e,f,g){E6(b,c,a.Va&&c.Va,c.Bd);b.ads.length===0?(B6(a,c,a.j(c,cP)),f()):b.zd(function(h){d.push.apply(d,u(h));f()},function(h){B6(a,c,h);e(h);h.getErrorCode()===301&&g();f()})};l=u6.prototype;l.hc=function(){return this.g!=null&&this.g.hc()?!0:this.ads.length>0&&this.l0?a:b:a.length===1?a:b.slice(0,1)}; u6.prototype.hf=function(a,b,c){var d;if(!(d=a.g!=null)){var e=this.ma;d=e.nonLinearAdSlotWidth||0;e=e.nonLinearAdSlotHeight||0;PT(a)&&!a.l?ST(a,"nonlinear")?f3(a,d,e):g3(a):ST(a,"linear")?g3(a):ST(a,"nonlinear")&&f3(a,d,e);d=a.g!=null}d?(this.A++,b(a)):(b=a.pa.length===0?this.j(a,XO):a.isLinear()?this.j(a,UO):this.j(a,ZO),AO(b,a),I6(b,a),c(b))};u6.prototype.ki=function(a,b,c){var d=aD(this.ma,a.O);J6(this,a,d,b,c)}; var J6=function(a,b,c,d,e){a.N.fetch(c,new r6(function(f){f instanceof u6?(E6(f,b,a.Va&&b.Va,b.Bd),d(f)):f instanceof oR?(f=new zO("adLoadError","Ad source cannot contain playlist response.",2),AO(f,b),e(f)):(f=new zO("adLoadError","Unknown ad source.",2),AO(f,b),e(f))},e))},F6=function(a,b,c){var d;if((d=a.g)!=null&&d.hc()){var e;(e=a.g)==null||e.bc(function(g){a.hf(g,b,function(h){a.hc()?a.bc(b,c):c(h)})},function(g){B6(a,a.ads[a.l],g);a.g=null;g.getErrorCode()===301?c(g):a.hc()?a.bc(b,c):c(g)})}else{var f; ((f=a.g)==null?void 0:f.Fj())===0&&(d=a.ads[a.l],B6(a,d,a.j(d,cP)));a.g=null;a.bc(b,c)}},B6=function(a,b,c){a.o=c;I6(c,b)},G6=function(a,b,c){a.l++;var d=a.ads[a.l];if(d.l)if(JT(d)>=sP.getNumRedirects()){var e=a.j(d,$O,null,String(sP.getNumRedirects()));B6(a,d,e);c(e)}else a.B?a.ki(d,function(f){a.g=f;a.bc(b,c)},function(f){f=D6(a,f,null);B6(a,d,f);c(f)}):(e=a.j(d,bP),c(e));else a.hf(d,b,c)},D6=function(a,b,c){switch(b.getErrorCode()){case 300:case 301:case 302:case 303:case 200:case 1005:AO(b,c); break;default:b.getAd()&&(c=b.getAd()),b=a.j(c,cP)}return b},E6=function(a,b,c,d){a.ads.forEach(function(e){e.X=b;IT(e)});H6(a,c);a.B=d};u6.prototype.j=function(a,b,c){var d=vR.apply(null,[b,c].concat(u(Da.apply(3,arguments))));AO(d,a);return d};var I6=function(a,b){var c=b.G,d=a.getAd();d&&(b=d);a=GS(a,b);xQ(c,a)};var K6=function(a,b,c){u6.call(this,[],a,b,c)};w(K6,u6);K6.prototype.Hf=function(){return L6(this)>0};var L6=function(a){var b=a.ads.length-(a.l<0?1:a.l+1);return a.g!=null&&a.g instanceof K6?b+L6(a.g):b};l=K6.prototype;l.zd=function(a,b){w6(this,a,b)};l.hc=function(){if(this.g!=null&&this.g.hc())return!0;var a=this.A===0||this.A===this.D;return this.ads.length>0&&a&&this.l0&&NT(a.g[0])>=0?new K6(a.g,c,b):p6(a.j,a.g)?new o6(new u6(a.j,[],c,b),new u6([],a.g,c,b),a.j):new u6(a.j,a.g,c,b)},M6=function(a){a=a.filter(function(b){return b.getPodIndex()>0});a.sort(function(b,c){return b.getPodIndex()-c.getPodIndex()});return a},N6=function(a){return a.filter(function(b){return b.getPodIndex()===-1})};var Q6=function(a,b,c,d){this.j=a;this.l=b;this.o=c;this.g=d;this.ra=null}; Q6.prototype.fetch=function(a,b){if(a.adsResponse!=null&&(typeof a.adsResponse==="string"&&!E(a.adsResponse)||a.adsResponse instanceof Document||a.adsResponse instanceof Element))a:{var c=null;if(a.adsResponse instanceof Element)c=a.adsResponse;else if(a.adsResponse instanceof Document)c=a.adsResponse.documentElement;else try{c=RG(a.adsResponse).documentElement}catch(e){t6(b,vR(SO,e));break a}if(c){var d=Ua();R6(this,c,a,d,d,b)}else t6(b,vR(SO))}else oD(a.adTagUrl||"")?S6(this,a,b):T6(this,a,b)}; var T6=function(a,b,c){var d;if(!(d=b.adTagUrl==null))a:{try{Yd(b.adTagUrl)}catch(e){d=!1;break a}d=!0}d?sP.J?bS(function(e){return void U6(a,b,c,e)}):U6(a,b,c):t6(c,vR(MO,null,b.adTagUrl))},S6=function(a,b,c){a.j?a.j.L().then(function(){return void T6(a,b,c)}).catch(function(){}):T6(a,b,c)},U6=function(a,b,c,d){d=d===void 0?"":d;var e,f,g,h;return y(function(k){if(k.g==1)return V6(b.adTagUrl||""),x(k,W6(a,b,d),2);e=k.j;f=HP(a.g.g);g=new LG(b.vastLoadTimeout);h=Date.now();return k.return(a.o.get({url:e, timeout:g,withCredentials:!f}).then(function(m){var n;return(n=m.documentElement)!=null?n:Promise.reject()}).then(function(m){R6(a,m,b,h,Date.now(),c)},function(m){var n="",p=vR(LO);m instanceof Error&&(p=vR(LO,m),n=m.message,n==="8"||m instanceof DOMException&&m.name==="AbortError")&&(p=vR(WO,m));t6(c,p);m=n;m={rt:jP(b.adTagUrl||""),ec:m};AQ().report(18,m)}))})},W6=function(a,b,c){var d,e,f,g,h,k;return y(function(m){if(m.g==1)return b.adTagUrl=qX(b.adTagUrl),d=p2(b,a.g,a.j),e=new P(d.g(b)),a.g.C=== "tvos"&&aB(AC)&&(f=e.j,f==="googleads.g.doubleclick.net"||f==="www.googleads.g.doubleclick.net"?Fy(e,"googleads-att.g.doubleclick.net"):(f==="pubads.g.doubleclick.net"||f==="www.pubads.g.doubleclick.net")&&Fy(e,"pubads-att.g.doubleclick.net")),(g=E(c)?null:c)&&cS(e.j)&&e.g.set("ged",g),(h=HP(a.g.g))&&IP(a.g.g,e.toString())&&Fy(e,"pagead2.googlesyndication.com"),x(m,QS(b,function(n){var p=a.l;if(!p.g){n=lX(n,p.j);var r=encodeURIComponent(Ic());n.set("useragent",r);g&&n.set("ged",g);r=sP.o;r==null|| n.set("adsid",r);n=WW(n);p.g=p.encrypt(n)}p=p.g;return p}),2);k=m.j;return m.return(vQ(e.toString(),k))})},V6=function(a){a={rt:jP(a)};AQ().report(17,a)},R6=function(a,b,c,d,e,f){var g=null,h=null;try{var k=yV(b,c);if(!k)throw vR(SO);var m=k.g();X6(a,m,c,d,e,new r6(function(n){g=n},function(n){h=n}))}catch(n){h=n instanceof zO?n:vR(TO,n)}h!=null?t6(f,h):g&&s6(f,g)},X6=function(a,b,c,d,e,f){var g=b.g,h=b.j;if(g!=null)s6(f,g);else if(h&&h.length>0){h.forEach(function(m){m.ma=c;IT(m);m=m.rb;m.A=d;m.o= e});var k=P6(new O6(h),a,c);h.forEach(function(m){m.B=k});s6(f,k)}else throw a=vR(cP),b=b.se,f=GS(a),xQ(b,f),a;};var Y6=function(a,b,c,d){this.l=a;this.o=d;this.g=new rX;this.j=!1;this.ra=null;this.A=new Q6(this.l,b,c,d)};Y6.prototype.requestAds=function(a,b,c){var d=this,e=function(g){b(g);g=d.g;sX(g);g.g.pop();d.j=!1;Z6(d)},f=function(g){c(g);g=d.g;sX(g);g.g.pop();d.j=!1;Z6(d)};tX(this.g,function(){return void $6(d,a,e,f)});Z6(this)}; var Z6=function(a){if(!a.j){var b=a.g;sX(b);b=b.g;b=b[b.length-1];b!=null&&(a.j=!0,b())}},$6=function(a,b,c,d){var e=kP(b.adTagUrl);e!=null&&lD(b.adTagUrl||"")&&(a.o.Aa=e);a.A.fetch(b,new r6(function(f){f instanceof oR?c(f):f.zd(c,d)},d))};var a7=function(a,b,c,d){M.call(this);this.yf=a;this.nd=!0;this.ra=this.g=null;this.j=new g6(b,d);this.l=new Y6(a,this.j,c,d)};w(a7,M);a7.prototype.requestAds=function(a,b){var c=this;this.nd&&(a.adTagUrl&&!zF(a.adTagUrl)?b7(this,new zO("adLoadError","URI malformed",1005),b):(this.j.g=void 0,this.l.requestAds(a,function(d){c.nd?c7(c,d,b):d7(c,d,b)},function(d){return void b7(c,d,b)})))}; var r5=function(a,b,c){a.nd||a.l.requestAds(b,function(d){a.nd?c7(a,d,c):d7(a,d,c)},function(d){return void b7(a,d,c)})};a7.prototype.contentComplete=function(){var a=new m5("contentComplete",new l5);O(this,a);a.l&&(jQ=dQ(),a=this.yf.F(),a!=null&&P5(a))}; var c7=function(a,b,c){y(function(d){if(d.g==1){if(b instanceof oR){d.g=2;return}e7(b);a.g?d=x(d,f7(a.g,b),4):(d.g=2,d=void 0);return d}d.g!=2&&(b=d.j);O(a,new f6(b,c));d.g=0})},d7=function(a,b,c){y(function(d){if(d.g==1){if(b instanceof oR)return b7(a,vR(GO,null,"Unsupported ad format."),c),d.return();e7(b);a.g?d=x(d,f7(a.g,b),3):(d.g=2,d=void 0);return d}d.g!=2&&(b=d.j);var e=new m5("adBreakFetched",c);e.o=b;O(a,e);d.g=0})},b7=function(a,b,c){a.nd?(sP.getCompanionBackfill()==="always"&&a.yf.B(LV()), b=new uR(b),b.Qi=c,O(a,b)):O(a,new m5("adBreakFetchError",c))},e7=function(a){for(var b={},c=q(a),d=c.next();!d.done;d=c.next()){d=UR(d.value);d=q(d.entries());for(var e=d.next();!e.done;e=d.next()){var f=q(e.value);e=f.next().value;f=f.next().value;var g=void 0;b[e]=((g=b[e])!=null?g:0)+f.length}}AQ().report(199,{adCount:a.length,extensionCounts:JSON.stringify(b)})};var g7=function(){this.g=[];this.j=!1};g7.prototype.push=function(a){this.g.push(a);this.j||h7(this)};var h7=function(a){var b=a.g.shift();b!=null&&(a.j=!0,b(),lu(function(){a.j=!1;a.g.length!=0&&h7(a)},4))};var i7=function(){EV.apply(this,arguments)};w(i7,EV); i7.prototype.sendMessage=function(a){var b=j7(a,this.j);k7.push(function(){var c=a.name,d=b;d=d===void 0?null:d;switch(l7){case 0:c=["gmsg://","afma.google.com/",c];var e="?";for(f in d)c.push(e,f,"=",encodeURIComponent(d[f].toString())),e="&";c.push(e,"dt","=",(new Date).getTime());var f=document.getElementById("afmanotify");!f&&document.body&&(f=document.createElement("iframe"),f.setAttribute("id","afmanotify"),f.setAttribute("style","display: none;"),document.body.appendChild(f));f.setAttribute("src", c.join(""));break;case 2:c={name:c,data:d};try{lf().webkit.messageHandlers.bridge.postMessage(c)}catch(g){}break;case 3:f=z.browserlessSender;f!=null&&f(c,d);break;case 4:f=z.androidWebViewCompatSender,d=Yb(d),d.name=c,c=JSON.stringify(d),f!=null&&f.postMessage&&f.postMessage(c)}})}; var n7=function(a){a=(a===void 0?null:a)||"*";var b=m7.get(a);b==null&&(b=new i7(a),m7.set(a,b));return b},j7=function(a,b){var c=a.type,d=mQ[a.type];d&&(c=d);b={type:c,sid:b};a.data!=null&&(c=JSON.stringify(a.data),b.data=c);a.id&&(b.id=a.id);a.g&&(b.replyToMessageId=a.g);return b},l7=0,m7=new Map,k7=new g7;new DOMParser;hP("3.25.1");function o7(a,b){try{var c=a.split(".");a=z;for(var d=0,e;a!=null&&d>2)+b.charCodeAt(e)&4294967295;b=d>0?d:4294967296+d}return b%1E3}};var E7=[12,13,20],F7=function(a,b,c,d){d=d===void 0?{}:d;var e=d.Dh===void 0?!1:d.Dh;d=d.an===void 0?[]:d.an;this.af=a;this.jd=c;this.o={};this.Dh=e;a={};this.g=(a[b]=[],a[4]=[],a);this.j={};this.l={};if(b=Rm())for(b=q(b.split(",")||[]),a=b.next();!a.done;a=b.next())(a=Number(a.value))&&(this.j[a]=!0);d=q(d);for(b=d.next();!b.done;b=d.next())this.j[b.value]=!0},I7=function(a,b,c,d){var e=[],f;if(f=b!==9)a.o[b]?f=!0:(a.o[b]=!0,f=!1);if(f)return Gw(a.jd,b,c,e,[],4),e;f=E7.includes(b);for(var g=[],h= [],k=q([0,1,2]),m=k.next();!m.done;m=k.next()){m=m.value;for(var n=q(a.af[m].entries()),p=n.next();!p.done;p=n.next()){var r=q(p.value);p=r.next().value;r=r.next().value;var t=p,v=r;p=new Qv;r=v.filter(function(N){return N.Pf===b&&a.j[N.ac.getId()]&&G7(a,N)});if(r.length)for(p=q(r),r=p.next();!r.done;r=p.next())h.push(r.value.ac);else if(!a.Dh){r=void 0;m===2?(r=d[1],yk(p,2,Rv,zj(t))):r=d[0];var A=void 0,B=void 0;r=(B=(A=r)==null?void 0:A(String(t)))!=null?B:m===2&&Sk(v[0].Rg,11)===1?void 0:d[0](String(t)); if(r!==void 0){t=q(v);for(v=t.next();!v.done;v=t.next())if(v=v.value,v.Pf===b){A=r-v.bk;var D=v;B=D.Bj;var F=D.Cj;D=D.Hm;A<0||A>=B*F||A%F!==D||!G7(a,v)||(A=Sk(v.Rg,13),A!==0&&A!==void 0&&(B=a.l[String(A)],B!==void 0&&B!==v.ac.getId()?Hw(a.jd,a.l[String(A)],v.ac.getId(),A):a.l[String(A)]=v.ac.getId()),h.push(v.ac))}Ak(p,Rv)!==0&&(Vk(p,3,r),g.push(p))}}}}d=q(h);for(h=d.next();!h.done;h=d.next())h=h.value,k=h.getId(),e.push(k),H7(a,k,f?4:c),Yw(Ik(h,tv,2),f?$w():[c],a.jd,k);Gw(a.jd,b,c,e,g,1);return e}, H7=function(a,b,c){a.g[c]||(a.g[c]=[]);a=a.g[c];a.includes(b)||a.push(b)},G7=function(a,b){var c=Ng(Jw).Ub,d=qv(I(b.Rg,hv,3),c);if(!d.success)return Iw(a.jd,I(b.Rg,hv,3),b.Pf,b.ac.getId(),d),!1;if(!d.value)return!1;c=qv(I(b.ac,hv,3),c);return c.success?c.value?!0:!1:(Iw(a.jd,I(b.ac,hv,3),b.Pf,b.ac.getId(),c),!1)},J7=function(a,b){b=b.map(function(c){return new x7(c)}).filter(function(c){return!E7.includes(Sk(c,1))});a.af=B7(a.af,b)},K7=function(a,b){bx(1,function(c){a.j[c]=!0},b);bx(2,function(c, d,e){return I7(a,c,d,e)},b);bx(3,function(c){return(a.g[c]||[]).concat(a.g[4])},b);bx(12,function(c){return void J7(a,c)},b);bx(16,function(c,d){return void H7(a,c,d)},b)};var L7=function(){var a={};this.j=function(b,c){return a[b]!=null?a[b]:c};this.o=function(b,c){return a[b]!=null?a[b]:c};this.A=function(b,c){return a[b]!=null?a[b]:c};this.C=function(b,c){return a[b]!=null?a[b]:c};this.l=function(b,c){return a[b]!=null?c.concat(a[b]):c};this.g=function(){}};var M7=function(){this.g=function(){}},N7=function(a,b){a.g=cx(14,b,function(){})};function O7(a){Ng(M7).g(a)};var P7,Q7,R7,S7,T7,U7; function V7(a){var b=a.Ql;var c=a.Ub;var d=a.config;var e=a.zl===void 0?u7():a.zl;var f=a.dj===void 0?0:a.dj;var g=a.jd===void 0?new Ew((S7=(P7=I(b,y7,5))==null?void 0:Qk(P7,2))!=null?S7:0,(T7=(Q7=I(b,y7,5))==null?void 0:Qk(Q7,4))!=null?T7:0,(U7=(R7=I(b,y7,5))==null?void 0:Nk(R7,3))!=null?U7:!1):a.jd;a=a.af===void 0?A7(Ik(b,x7,2)):a.af;e.hasOwnProperty("init-done")?(cx(12,e,function(){})(Ik(b,x7,2).map(function(h){return Zj(h)})),cx(13,e,function(){})(Ik(b,tv,1).map(function(h){return Zj(h)}),f), c&&cx(14,e,function(){})(c),W7(f,e)):(K7(new F7(a,f,g,d),e),dx(e),ex(e),fx(e),W7(f,e),Yw(Ik(b,tv,1),[f],g,void 0,!0),Kw=Kw||!(!d||!d.Ep),O7(t7),c&&O7(c))}function W7(a,b){var c=b=b===void 0?u7():b;hx(Ng(gx),c,a);X7(b,a);a=b;N7(Ng(M7),a);Ng(L7).g()} function X7(a,b){var c=Ng(L7);c.j=function(d,e){return cx(5,a,function(){return!1})(d,e,b)};c.o=function(d,e){return cx(6,a,function(){return 0})(d,e,b)};c.A=function(d,e){return cx(7,a,function(){return""})(d,e,b)};c.C=function(d,e){return cx(8,a,function(){return[]})(d,e,b)};c.l=function(d,e){return cx(17,a,function(){return[]})(d,e,b)};c.g=function(){cx(15,a,function(){})(b)}};Ia("google.ima.NativeBridge.receiveMessage",function(a,b){try{var c=JSON.parse(b);if(c!=null){var d=c.sid;if(d!=null){var e=new FV(a,c.type,c.data||{},c.sid,"",c.id,c.replyToMessageId);O(n7(),e);d!="*"&&O(n7(d),e)}}}catch(f){}});Ia("google.ima.NativeBridge.calculateIdlessState",function(a,b){b=b===void 0?{}:b;return HP(b.adTagUrl?AP(b.adTagUrl,a):b.adTagParameters?new zP(!0,b.adTagParameters||{},a):new zP(!1,{},a))});var Y7=ka(["https://securepubads.g.doubleclick.net/pagead/js/car.js"]),Z7=ka(["https://securepubads.g.doubleclick.net/pagead/js/cocar.js"]);Ue(Y7);var $7=Ue(Z7);function a8(a){for(var b=[],c=0;c<8;++c){var d=new NA(7,"","https://pagead2.googlesyndication.com/pagead/ping",function(f){b.push({url:f})}),e=Fv(Ev(new Dv,a),c);d.B(e)}return b} function b8(a){var b,c,d;y(function(e){if(e.g==1)return b=lf(),b.sharedStorage?x(e,b.sharedStorage.createWorklet($7.toString(),{"Shared-Storage-Cross-Origin-Worklet-Allowed":!0,"Access-Control-Allow-Credentials":!0,"Access-Control-Allow-Origin":!0}),2):e.return();if(e.g!=3)return c=e.j,x(e,c.selectURL("ps_caus",a8(a),{resolveToConfig:!0}),3);if(d=e.j){var f=b.document.body,g=document.createElement("fencedframe");g.id="ps_caff";g.name="ps_caff";g.mode="opaque-ads";g.config=d;f.appendChild(g)}e.g=0})} ;var g8=function(a,b){b=b===void 0?new SG:b;M.call(this);var c=this;this.j=this.o=null;this.B=!1;this.g=a;this.l=b;L(this,this.l);this.D=new e6(this.g.Pc);this.A=new b6;aS(SR(),this.g.Pc);this.l.listen(this.g.Pc,"adsLoader",function(d){var e=new l5;e.g=d.Rk;switch(d.messageType){case "requestAds":c.g.vc(e.g);c.requestAds(d.Cb,e);break;case "requestStream":c.g.vc(e.g);var f=d.Cb;d=hQ(f,!0);vw(d.J,lw(new kw,Date.now()));c8(f.settings);d8(f.videoEnvironment);var g=new MV;g.T=f.videoStitcherSessionOptions|| {};g.o=f.assetKey||"";g.A=f.authToken||"";g.C=f.contentSourceId||"";g.J=f.customAssetKey||"";g.networkCode=f.networkCode||"";g.G=f.liveStreamEventId||"";g.region=f.region||"";g.L=f.projectNumber||"";g.K=f.oAuthToken||"";g.Lc=f.videoId||"";g.l=f.apiKey||"";g.g=f.adTagParameters||{};g.aa=f.streamActivityMonitorId||"";g.format="hls";g.O=f.useQAStreamBaseUrl||!1;g.B=f.contentSourceUrl||"";g.adTagUrl=f.adTagUrl||"";f.format==="dash"&&(g.format=f.format);var h=tP();nP(h,"useTestStreamManager")&&(g.F=!0); g.N=f.enableNonce||!1;g.V=f.vodConfigId||"";g.j=f.rubidiumApiVersion||"";h=new zP(!0,g.g||{},f.consentSettings||{});AQ().report(165,KP(h));d.g=h;g.D=HP(h);SR().B&&wr();e8(f);c.g.vc(e.g);f=f8(c);e.j=f;break;case "contentComplete":(g=c.j)==null||g.contentComplete();c.g.contentComplete();break;case "signalsRefresh":e=d.Cb,fQ().secureSignals=(f=e.espSignals)!=null?f:null}});DM(function(){T(U(),"haib","1")})};w(g8,M);g8.prototype.R=function(){Lo(this.j);M.prototype.R.call(this)}; var i8=function(a,b,c){a.l.listen(b,"adsLoaded",function(d){return h8(a,d,b,c)});a.l.listen(b,"adError",function(d){var e=d.Qi.g,f=d.getError();if(f){d=f.getInnerError();var g={};f=(g.type=f.getType(),g.errorMessage=f.getMessage(),g.errorCode=f.getErrorCode(),g);d!=null&&(f.innerError=d.message);WQ(a.g.vc(e),"adsLoader","error",f)}})},h8=function(a,b,c,d){var e=b.g,f=b.l,g=f.adTagUrl||"";b=a.g.vc(f.g);var h=f.j;new V5(new S5(c,e,new F2(h,a.D,b,c.yf,a.A,d),function(k){var m=a.g;if(m.g){m=m.g;var n; (n=m.l)!=null&&UG(n,k,nQ,m.L,!1,m);var p;(p=m.l)!=null&&UG(p,k,"adError",m.B,!1,m)}}),h,j8(),b,f.contentDuration);c6(a.A,b);c=k8(g,e);vw(d.J,Yk(I(d.J,kw,13)||new kw,2,Date.now()));WQ(b,"adsLoader","adsLoaded",c)},k8=function(a,b){if(b instanceof oR){var c=qR(b);b=EF()}else c=[],b=b[0].eg()&&EF();var d=R5(c),e={};c=(e.adCuePoints=c,e.internalCuePoints=d,e);tP();c.isCustomClickTrackingAllowed=b;c.adTagUrl=a;return c},c8=function(a){if(a!=null){var b=sP;if(a!=null){var c=a.activityMonitorMode;c!=null&& (b.O=c);c=a.autoPlayAdBreaks;c!=null&&b.setAutoPlayAdBreaks(c);c=a.companionBackfill;c!=null&&b.setCompanionBackfill(c);c=a.disableCustomPlaybackForIOS10Plus;c!=null&&b.setDisableCustomPlaybackForIOS10Plus(c);c=a.engagementDetection;c!=null&&(b.J=c);c=a.isFunctionalTest;c!=null&&(b.C=c);c=a.isVpaidAdapter;c!=null&&b.Wj(c);c=a.numRedirects;c!=null&&b.setNumRedirects(c);c=a.playerType;c!=null&&b.setPlayerType(c);c=a.playerVersion;c!=null&&b.setPlayerVersion(c);c=a.ppid;c!=null&&b.setPpid(c);c=a.reportMediaRequests; c!=null&&(b.G=c);c=a.sessionId;c!=null&&b.setSessionId(c);c=a.supportsMultipleVideoDisplayChannels;c!=null&&(b.xa=c);c=a.testingConfig;c!=null&&(b.B=new mP(c));c=a.urlSignals;c!=null&&(b.K=c);c=a.vpaidMode;c!=null&&b.setVpaidMode(c);c=a.featureFlags;c!=null&&b.setFeatureFlags(c);b.o=a.adsToken||"";b.setCookiesEnabled(a.cookiesEnabled);b.D=a["1pJar"]||"";b.F=a.privacyControls||"";c=a.cookieDeprecationLabel;if(c!=null){b.L=c;var d;c=(d=a.cookieDeprecationLabelStatus)!=null?d:0;b.V=c}}a.persistentStateCorrelator!= null&&(b=U(),GB(b,"c",a.persistentStateCorrelator),HB(U()));a.activeViewPushUpdates!=null&&(SR().B=a.activeViewPushUpdates);AQ().report(41,{mode:sP.g});a.backgroundPlayback!=null&&AQ().report(32);a.pipState!=null&&AQ().report(42,{state:a.pipState});Array.isArray(a.swiftLibraries)&&eo()&&AQ().report(135,{count:a.swiftLibraries.length,libs:a.swiftLibraries.join("~")});b=a.pageCorrelator||0;a=a.streamCorrelator||0;b>0&&(iQ=b);a>0&&(jQ=a)}},d8=function(a){a!=null&&a.osdId!=null&&(SR().L=a.osdId)}; g8.prototype.requestAds=function(a,b){var c=this,d,e,f,g,h,k,m;return y(function(n){if(n.g==1){d=hQ(a);vw(d.J,lw(new kw,Date.now()));e=a.adTagUrl;c8(a.settings);d8(a.videoEnvironment);e8(a);SR().B&&wr();d.g=AP(e,a.consentSettings||{});if(aB(EC)&&!c.B){var p=d.sb,r=p>0,t=HP(d.g),v=lf();var A=v.isSecureContext;var B=v.document;B=B===void 0?v.document:B;A=!!(A&&"sharedStorage"in v&&v.sharedStorage&&cH("shared-storage",B));var D;v=!((D=v.sharedStorage)==null||!D.createWorklet);D=t||!A||!r||!v;AQ().report(204, {enabled:!D,isIdless:t,isSharedStorageEnabled:A,isCreateWorkletApiEnabled:v,isValidPVSID:r});D||(b8(p),c.B=!0)}e!=null&&(b.adTagUrl=e);AQ().report(165,KP(d.g));p=new $C;p.adTagUrl=a.adTagUrl;p.adsResponse=a.adsResponse;p.linearAdSlotWidth=a.linearAdSlotWidth||0;p.linearAdSlotHeight=a.linearAdSlotHeight||0;p.nonLinearAdSlotWidth=a.nonLinearAdSlotWidth||0;p.nonLinearAdSlotHeight=a.nonLinearAdSlotHeight||0;p.forceNonLinearFullSlot=a.forceNonLinearFullSlot||!1;p.contentDuration=a.contentDuration||null; p.contentKeywords=a.contentKeywords||null;p.contentTitle=a.contentTitle||null;a.vastLoadTimeout!=null&&a.vastLoadTimeout>0&&(p.vastLoadTimeout=a.vastLoadTimeout);p.l=a.videoContinuousPlay||"0";p.g=a.videoPlayActivation||"unknown";p.o=a.videoPlayMuted||"unknown";p.omidAccessModeRules=a.omidAccessModeRules||{};p.pageUrl=a.pageUrl||null;var F;p.j=((F=a.rubidiumApiVersion)==null?void 0:F.toString())||null;f=p;F=f.adTagUrl||"";mD(F)&&(F=(new P(F)).g.get("description_url",""),d.dk===F?d.B=d.B%99===0?1: d.B+1:(d.B=1,d.dk=F));b.contentDuration=f.contentDuration;c.g.vc(b.g);g=f8(c);b.j=g;if(!c.j){F=c.g;p=eo()?new CV:new f0;r=Tc()&&og(window.fetch)&&og(window.AbortController)?new l8:new ZG;var N=N===void 0?null:N;t="h.3.646.1";N!=null&&(t+="/n."+N);N=new Dw(0,t);p=new a7(F.A,p,r,d);r=new m8(F.Pc);p.g=new n8(r,N);o8(F,p);c.j=p;i8(c,c.j,d)}N=c.j;h=N;k=a.liveStreamPrefetchSeconds||0;if(!(k>0)){n.g=2;return}m=Math.floor(Math.random()*k*1E3);return x(n,nu(m),2)}if(n.g!=4)return x(n,p8(),4);c.mi(f,h,k);h.requestAds(f, b);n.g=0})};var e8=function(a){var b=(a.imalibExperiments||{}).limaExperimentIds||null;b!=null&&(dB.reset(),b=aC(b),gB(new jB(b)));b=a.pvsid;a=(a=(a.genotypeExperimentData||{}).experimentStateProto)?JSON.parse(a):[];b&&a&&(a=ol(z7,a),V7({Ql:a,dj:7}),a={},b=(a[0]=D7(b),a),Ng(gx).j(16,b));b=tP();nP(b,"disableExperiments")&&dB.reset();b=tP();(b=oP(b))&&b.length>0&&(dB.reset(),gB(new jB(b)));MQ()&&oc(iB())},f8=function(a){a.o||(a.o=new q8(document.body,a.g.vc()));return a.o}; g8.prototype.mi=function(a,b,c){c=c===void 0?0:c;this.g.mi(a,b);b=fQ().appName;var d=fQ().N,e={};E(G(b))||(e.app_name=b);E(G(d))||(e.external_version=d);e.delay=c;e.vpaidadapter=sP.l;e.request_type=jP(a.adTagUrl);e.ctv=RQ().toString();AQ().report(6,e)};Ia("ima.Bridge",g8,window);var r8=function(a,b,c){b=b===void 0?null:b;c=c===void 0?null:c;dt.call(this,a);this.error=b;this.g=c};w(r8,dt);r8.prototype.getError=function(){return this.error};var s8=function(a,b){return a.indexOf(b)==0?a.substr(b.length):null};var t8=function(){M.call(this);this.B=!1;this.da=void 0;this.G=!1;this.Y=void 0;this.D=!1;this.K=void 0;this.F=!1;this.o=null;this.ba=0;this.j=null;this.O=new Yy;this.l=null;this.g={cslots:0,dispcorr:0,streamcorr:0};this.ra=null;this.A=new SG(this)};w(t8,M);var u8=function(a,b){a.j!=null&&XG(a.A,a.j,"gpt",a.L);a.j=b;a.A.listen(a.j,"gpt",a.L)};t8.prototype.R=function(){Lo(this.o);Lo(this.l);Lo(this.A);M.prototype.R.call(this)}; var v8=function(a){if(a.G&&a.da!=null)return a.da.map(function(b){return b.clone()})},w8=function(a){a=v8(a);if(a!=null)return a.map(function(b){return b.getSizes()})};t8.prototype.getDisplayAdsCorrelator=function(){if(this.D)return this.Y}; t8.prototype.L=function(a){var b=a.Cb.returnValue,c=Number(b);switch(a.messageType){case "isGptPresent":if(b!=null&&b){this.g.isgptpresent="1";var d,e;(e=this.j)==null||e.l((d=this.j)==null?void 0:d.D);this.l==null&&(this.l=new ju(100),this.A.listen(this.l,"tick",this.V),this.l.start());this.V()}else this.g.isgptpresent="0",this.T();break;case "getDisplayAdsCorrelator":isNaN(c)||(this.g.dispcorr="1",this.Y=c,this.D=!0);x8(this);break;case "getVideoStreamCorrelator":isNaN(c)||(this.g.streamcorr="1", this.K=c,this.F=!0);x8(this);break;case "googleGetCompanionAdSlots":b!=null&&(a=b.map(this.la,this),this.g.cslots="1",this.da=a,this.G=!0),x8(this)}};t8.prototype.sendMessage=function(a,b,c){this.j!=null&&(a={scope:a},c!=null&&(a.args=c),WQ(this.j,"gpt",b,a))};t8.prototype.setVideoSession=function(a){var b=0,c=0;a!=null&&(a=new P(a.adTagUrl),b=Number(Ry(a,"pod")||0),c=Number(Ry(a,"ppos")||0));this.sendMessage("companionAds","setVideoSession",[jQ,b,c])}; var P5=function(a){a.K=jQ;a.sendMessage("pubads","setImaContent",["",""]);a.setVideoSession(null)},y8=function(a){a.o&&(a.o.stop(),XG(a.A,a.o,"tick",a.T),a.o.dispose(),a.o=null);a.l!=null&&(a.l.stop(),XG(a.A,a.l,"tick",a.V),a.l.dispose(),a.l=null)};t8.prototype.T=function(){this.B||(this.B=!0,this.O.resolve(),y8(this),z8(this,!1),A8(this),O(this,new r8("companion_initialization_failed",Error("GPT companion ads service not available."))),this.j!=null&&XG(this.A,this.j,"gpt",this.L))}; t8.prototype.V=function(){this.D||this.sendMessage("companionAds","getDisplayAdsCorrelator",[eQ(fQ())]);this.F||this.sendMessage("companionAds","getVideoStreamCorrelator");this.G||this.sendMessage(null,"googleGetCompanionAdSlots")}; var x8=function(a){a.B||(a.G&&a.D&&a.F?(a.B=!0,a.O.resolve(),y8(a),z8(a,!0),A8(a),O(a,new r8("companions_success"))):a.o||(a.o=new ju(5E3),VG(a.A,a.o,"tick",a.T),a.o.start()))},z8=function(a,b){a={initSuccess:b,latency:Date.now()-a.ba,slotLoadingDone:a.G,gptCorrelatorRetrieved:a.D,gptStreamCorrelatorRetrieved:a.F};AQ().report(184,a)};t8.prototype.la=function(a){var b=a.adSizes.map(function(c){return{size:new Ye(c.adWidth,c.adHeight),jb:!!c.fluidSize}});return new IV(a.slotId,b)}; t8.prototype.ha=function(a){var b={};b.slotId=a.getSlotId();b.adContent=a.getContent();b.adWidth=a.A;b.adHeight=a.l;b.fluidSize=a.j;b.friendlyIframeRendering=a.o;return b}; var A8=function(a){if(!a.g.loggingDone){var b=a.g;if(eo())var c=window.location.href;else{var d=wg();c=d.j;var e=d.g;d=d.l;var f=null;if(d)b:{try{var g=Ty(d.url),h=g.l,k=s8(h,"/v/");k||(k=s8(h,"/a/"));if(!k)throw Error("Can not extract standalone amp url.");var m=s8("/"+k,"/s/"),n=g.g.clone();n.remove("amp_js_v");n.remove("amp_lite");var p=m?Ty("https://"+m):Ty("http://"+k);Hy(p,n);f=p.toString();break b}catch(r){f=null;break b}f=void 0}c=f?f:c&&c.url?c.url:e&&e.url?e.url:""}b.loc=c;a.g.ref=window.document.referrer; a.g.gcasclass="1";a.g.vpaidadapter=sP.l;a.g.ifstate=fQ().ha;AQ().report(70,a.g);a.g={loggingDone:!0}}};var B8=function(a){KV.call(this);this.g=a;this.j=null;this.o=!1;this.ra=null;this.G=!1;this.A=null;this.D=new SG;UG(this.D,this.g,["companions_success","companion_initialization_failed"],this.V,!1,this);UG(this.D,this.g,"companion_display_error",this.T,!1,this);UG(this.D,this.g,["companion_slot_init","companion_click"],this.O,!1,this);this.g.B?this.G=!0:(a=this.g,a.B||(a.ba=Date.now(),a.sendMessage("proxy","isGptPresent"),x8(a)))};w(B8,KV);B8.prototype.R=function(){this.destroy();KV.prototype.R.call(this)}; B8.prototype.destroy=function(){this.D.dispose();this.A=null;this.l.forEach(function(a){JV(a)});this.j=null};B8.prototype.B=function(a){Lo(this.j);this.j=new M;this.A=a;this.o=!0;this.G?C8(this):(this.o=D8(E8(a),[]),this.o||(this.j=this.A=null));return this.j}; B8.prototype.L=function(){var a=this,b,c,d;return y(function(e){if(e.g==1)return uP("force_ad_request_wait_gpt_sync")?e=x(e,a.g.O.promise,2):a.g.B?(e.g=2,e=void 0):e=e.return(),e;(b=a.g.getDisplayAdsCorrelator())&&(iQ=b);var f=a.g;f=f.F&&f.K!==0?f.K:void 0;(c=f)&&(jQ=c);if(d=w8(a.g))fQ().Tc=d;e.g=0})}; var C8=function(a){var b=a.A;a.A=null;if(a.l.length===0)a.o=D8(E8(b),[]),F8(a,Error("Companion slots not available."));else if(b==null)F8(a,Error("Invalid main ad."));else{var c=G8(a,b),d=a.g,e=a.l.map(d.ha,d);d.sendMessage(null,"googleSetCompanionAdContents",[e,null,eQ(fQ())]);if(c.length>0&&(a=a.g,c.length!==0&&MT(b)[0]==="GDFP")){d=[];for(e=0;e191&&h<224){var k=d[f++];e[g++]=String.fromCharCode((h&31)<<6|k&63)}else if(h>239&&h<365){k=d[f++];var m=d[f++],n=d[f++];h=((h&7)<<18|(k&63)<<12|(m&63)<<6|n&63)-65536;e[g++]=String.fromCharCode(55296+(h>>10));e[g++]=String.fromCharCode(56320+(h&1023))}else k=d[f++],m=d[f++],e[g++]=String.fromCharCode((h&15)<<12| (k&63)<<6|m&63)}return new RegExp(e.join(""))})};L8.prototype.match=function(a){var b=this;return a?this.g.some(function(c){c=a.match(c);return c==null?!1:!b.j||c.length>=1&&c[1]==="3.646.1"||c.length>=2&&c[2]==="3.646.1"?!0:!1}):!1}; var M8=[94,40,63,58,104,116,116,112,115,63,58,41,63,47,47,105,109,97,115,100,107,92,46,103,111,111,103,108,101,97,112,105,115,92,46,99,111,109,47,106,115,47,40,115,100,107,108,111,97,100,101,114,124,99,111,114,101,41,47],N8=[94,40,63,58,104,116,116,112,115,63,58,41,63,47,47,115,48,92,46,50,109,100,110,92,46,110,101,116,47,105,110,115,116,114,101,97,109,47,104,116,109,108,53,47],O8=[94,40,63,58,104,116,116,112,115,63,58,41,63,47,47,105,109,97,115,100,107,92,46,103,111,111,103,108,101,97,112,105,115, 92,46,99,111,109,47,112,97,108,47,115,100,107,108,111,97,100,101,114,47],P8=[[105,109,97,51,92,46,106,115],[105,109,97,51,95,100,101,98,117,103,92,46,106,115],[105,109,97,51,95,101,97,112,46,106,115]],Q8=[[98,114,105,100,103,101,40,91,48,45,57,93,43,92,46,91,48,45,57,92,46,93,43,41,40,95,40,91,97,45,122,48,45,57,93,41,123,50,44,51,125,41,123,48,44,50,125,92,46,104,116,109,108],[98,114,105,100,103,101,40,91,48,45,57,93,43,92,46,91,48,45,57,92,46,93,43,41,95,100,101,98,117,103,40,95,40,91,97,45,122, 48,45,57,93,41,123,50,44,51,125,41,123,48,44,50,125,92,46,104,116,109,108],[98,114,105,100,103,101,40,95,40,91,97,45,122,48,45,57,93,41,123,50,44,51,125,41,123,48,44,50,125,92,46,104,116,109,108]],R8=[[111,117,116,115,116,114,101,97,109,92,46,106,115],[111,117,116,115,116,114,101,97,109,95,100,101,98,117,103,92,46,106,115]];new L8(M8,P8,!1);var S8=new L8(M8,Q8,!0);new L8(N8,P8,!1);var T8=new L8(N8,Q8,!0); new L8([94,40,63,58,104,116,116,112,115,63,58,41,63,47,47,105,109,97,115,100,107,92,46,103,111,111,103,108,101,97,112,105,115,92,46,99,111,109,47,112,114,101,114,101,108,101,97,115,101,47,106,115,47,91,48,45,57,93,43,46,91,48,45,57,46,93,43,47],P8,!1); new L8([94,40,63,58,104,116,116,112,115,63,58,41,63,47,47,40,112,97,103,101,97,100,50,124,116,112,99,41,92,46,103,111,111,103,108,101,115,121,110,100,105,99,97,116,105,111,110,92,46,99,111,109,47,112,97,103,101,97,100,47,40,103,97,100,103,101,116,115,124,106,115,41,47],[],!1); new L8(M8,[[100,97,105,95,105,102,114,97,109,101,40,91,48,45,57,93,43,92,46,91,48,45,57,92,46,93,43,41,40,95,40,91,97,45,122,48,45,57,93,41,123,50,44,51,125,41,123,48,44,50,125,92,46,104,116,109,108],[100,97,105,95,105,102,114,97,109,101,40,91,48,45,57,93,43,92,46,91,48,45,57,92,46,93,43,41,95,100,101,98,117,103,40,95,40,91,97,45,122,48,45,57,93,41,123,50,44,51,125,41,123,48,44,50,125,92,46,104,116,109,108],[100,97,105,95,105,102,114,97,109,101,40,95,40,91,97,45,122,48,45,57,93,41,123,50,44,51,125, 41,123,48,44,50,125,92,46,104,116,109,108]],!0);new L8(M8,R8,!1);new L8(M8,R8,!1);new L8(O8,[[112,97,108,46,106,115]],!1);new L8(O8,[[99,97,115,116,95,112,97,108,46,106,115]],!1);new L8(O8,[[99,116,118,95,112,97,108,46,106,115]],!1);function U8(){var a=[S8,T8];if(a.some(function(c){return c.match(lf().location.href)}))return!0;var b=V8(a,cf(document,"script"));b==null&&document.querySelectorAll&&(b=V8(a,document.querySelectorAll("script")));return b!=null} function V8(a,b){for(var c={},d=0;d0&&Ua()>this.C?(this.j="failed",i9(this)):h9(this);break;case "loaded":j9(this);break;case "failed":this.C>0&&Ua()>this.C?i9(this):(this.j="loading",h9(this))}}; var j9=function(a){var b;(b=a.l)==null||b.listen(a.o,"tick",a.G);a.o!=null&&(a.o.stop(),a.o.dispose(),a.o=null)},i9=function(a){j9(a);if(a.g!=null){var b;(b=a.l)==null||XG(b,a.g,"gpt",a.D);a.g=null}a.A=[]};f9.prototype.D=function(a){this.g&&a.messageType==="isConsolePresent"&&(a=a.Cb.returnValue,a!=null&&a?(this.g.l(this.g.D),this.A.forEach(this.F,this),this.A=[],this.j="loaded"):this.j="failed")};function k9(a){(new nW(mW())).g=function(b,c){b.method==="identifyServiceWindow"&&a(c)}}TC("OmidSessionClient.listenForServiceWindow",k9);function l9(a){SW().l(a)} var o9=function(){M.call(this);this.g=null;if(!U8())throw Error("IMA SDK is either not loaded from a google domain or is not a supported version.");this.j=new SG(this);L(this,this.j);this.Pc=m9();this.l=new Map;this.l.set("*",this.Pc);this.o=n9();var a=new t8;u8(a,this.o);this.A=new B8(a);this.j.listen(lf().document.body,"click dblclick mouseup mouseover mouseout mousemove selectstart mousedown".split(" "),this.B);"ontouchstart"in document&&this.j.listen(lf().document.body,["touchstart","touchend", "touchmove","touchcancel"],this.D);this.j.listen(this.Pc,"omid",function(b){b.messageType==="iframeFailed"&&SW().D()});k9(l9)};w(o9,M);var j8=function(){var a=new UQ;a.mimeTypes=NQ();return a};o9.prototype.vc=function(a){a=(a===void 0?null:a)||"*";var b=this.l.get(a);if(b==null){b=new l0(lf().location.hash.slice(1),a);b.B=!0;var c=p9(this);c&&(b.l(c),b.connect());this.l.set(a,b)}return b};var p8=function(){return y(function(a){return a.return()})}; o9.prototype.mi=function(a,b){var c=G(fQ().j);if(Yf(c,"google_console")||Yf(c,"google_force_console")||Yf(c,"googfc")){if(!this.g){c=this.g=new f9(this.o);var d;(d=c.l)!=null&&UG(d,b,"adError",c.B,!1,c)}b=this.g;b.K||(g9(b,"version",{type:"HTML5",version:"3.646.1"}),b.K=!0);g9(this.g,"ad_request",{adTagUrl:a.adTagUrl,adType:"Deprecated"})}};var m9=function(){var a=new l0(lf().location.hash.slice(1),"*");a.B=!0;return a};o9.prototype.contentComplete=function(){}; var p9=function(a){var b=null;a.l.forEach(function(c){c=c.g;c!=null&&(b=c)});return b},o8=function(a,b){a.j.listen(b,"adsLoaded",function(c){var d=c.g;d instanceof oR||q9(a,d,c.l.g)});a.j.listen(b,"adBreakFetched",function(c){q9(a,c.o,c.g.g)})},q9=function(a,b,c){var d=HP(fQ().g);a=a.vc(c);c={};b=b.filter(function(k){return k instanceof yT});var e=r9(b);if(e){var f;fQ().Y=(f=e.getValue())!=null?f:null;c.eoidCookie=nl(e)}if(!d){if(d=s9(b,!1)){var g;fQ().L=(g=d.getValue())!=null?g:null;c.gfpCookie= nl(d)}if(g=s9(b,!0)){var h;fQ().ba=(h=g.getValue())!=null?h:null;c.gfpCookieV2=nl(g)}c.encryptedSignalBidderIds=t9(b)}WQ(a,"adsLoader","cookieUpdate",c)},r9=function(a){return(a=a.find(function(b){return gU(b)!=null}))?gU(a):null},s9=function(a,b){var c=HP(fQ().g);return!sP.isCookiesEnabled()||c?null:(a=a.find(function(d){return iU(d,b)!=null}))?iU(a,b):null},t9=function(a){return a.map(function(b){for(var c=[];b;){var d=ET(b,"esp");d instanceof qT&&(c=[].concat(u(c),u(rT(d))));b=b.X}return c}).flat()}, n9=function(){var a=lf();a=new K8([a.top,a.parent],lf().location.hash.slice(1),"*");a.connect();return a};o9.prototype.B=function(a){WQ(this.Pc,"mouse",a.type,{detail:a.detail,screenX:a.screenX,screenY:a.screenY,clientX:a.clientX,clientY:a.clientY,ctrlKey:a.ctrlKey,altKey:a.altKey,shiftKey:a.shiftKey,metaKey:a.metaKey,button:a.button})}; var u9=function(a){var b=[];if(a==null)return b;var c=!!("TouchEvent"in window&&TouchEvent.length>0),d=0;for(;d