// Copyright 2011 Google Inc. All Rights Reserved. (function(){var m,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}); ha("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}});ha("Array.prototype.find",function(a){return a?a:function(b,c){a:{var d=this;d instanceof String&&(d=String(d));for(var e=d.length,f=0;f=f}});ha("Number.isFinite",function(a){return a?a:function(b){return typeof b!=="number"?!1:!isNaN(b)&&b!==Infinity&&b!==-Infinity}}); ha("String.prototype.repeat",function(a){return a?a:function(b){var c=Fa(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}});ha("Object.entries",function(a){return a?a:function(b){var c=[],d;for(d in b)sa(b,d)&&c.push([d,b[d]]);return c}});ha("Number.MAX_SAFE_INTEGER",function(){return 9007199254740991});ha("Number.MIN_SAFE_INTEGER",function(){return-9007199254740991}); ha("Object.values",function(a){return a?a:function(b){var c=[],d;for(d in b)sa(b,d)&&c.push(b[d]);return c}});ha("Object.is",function(a){return a?a:function(b,c){return b===c?b!==0||1/b===1/c:b!==b&&c!==c}});ha("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));c0&&c?c.repeat(Math.ceil(b/c.length)).substring(0,b):"")+d}});ha("Math.sign",function(a){return a?a:function(b){b=Number(b);return b===0||isNaN(b)?b:b>0?1:-1}}); ha("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}});ha("Number.parseInt",function(a){return a||parseInt});/* Copyright The Closure Library Authors. SPDX-License-Identifier: Apache-2.0 */ var Ha=Ha||{},B=this||self,Ia=function(a,b,c){a=a.split(".");c=c||B;a[0]in c||typeof c.execScript=="undefined"||c.execScript("var "+a[0]);for(var d;a.length&&(d=a.shift());)a.length||b===void 0?c[d]&&c[d]!==Object.prototype[d]?c=c[d]:c=c[d]={}:c[d]=b},Ja=function(a){a=a.split(".");for(var b=B,c=0;c>>0),Oa=0,Pa=function(a,b,c){return a.call.apply(a.bind,arguments)},Qa=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)}},Ra=function(a,b,c){Ra= Function.prototype.bind&&Function.prototype.bind.toString().indexOf("native code")!=-1?Pa:Qa;return Ra.apply(null,arguments)},Sa=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)}},Ta=function(){return Date.now()},Ua=function(a){return a},Va=function(a,b){function c(){}c.prototype=b.prototype;a.Xb=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.nq=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 ab=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 jb(a,b){return Ya(a,b)>=0} function kb(a,b){b=Ya(a,b);var c;(c=b>=0)&&lb(a,b);return c}function lb(a,b){return Array.prototype.splice.call(a,b,1).length==1}function nb(a,b){var c=0;$a(a,function(d,e){b.call(void 0,d,e,a)&&lb(a,e)&&c++})}function ob(a){return Array.prototype.concat.apply([],arguments)}function pb(a){var b=a.length;if(b>0){for(var c=Array(b),d=0;db?1:a=.3:this.ma>=.5};var Ab={Mo:0,So:1},Bb={668123728:0,668123729:1},Cb={44731964:0,44731965:1},Eb={NONE:0,wp:1,Wo:2},Fb={480596784:0,480596785:1,21063355:2};function Gb(a,b,c){for(var d in a)b.call(c,a[d],d,a)}function Hb(a,b){var c={},d;for(d in a)b.call(void 0,a[d],d,a)&&(c[d]=a[d]);return c}function Ib(a){var b=Jb,c;for(c in b)if(!a.call(void 0,b[c],c,b))return!1;return!0}function Kb(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b}function Mb(a){var b=[],c=0,d;for(d in a)b[c++]=d;return b}function Nb(a,b){var c=La(b),d=c?b:arguments;for(c=c?0:1;c0&&(b[e]=d)},a);return b},kc=function(a){a=jc(a);var b=[];Gb(a,function(c,d){d in Object.prototype||typeof c!="undefined"&& b.push([d,":",c].join(""))});return b},mc=function(a){var b=lc().da;b.l&&Za(Kb(b.g),function(c){return ac(c,a)})};var nc=function(a){fc(a,"od",wb);$b(fc(a,"opac",Ab));$b(fc(a,"sbeos",Ab));$b(fc(a,"prf",Ab));$b(fc(a,"mwt",Ab));fc(a,"iogeo",Ab)};var oc=document,C=window;var pc,qc=Ja("CLOSURE_FLAGS"),rc=qc&&qc[610401301];pc=rc!=null?rc:!1;var sc=function(a,b){var c=a.length-b.length;return c>=0&&a.indexOf(b,c)==c},tc=function(a,b){var c=String(b).toLowerCase();a=String(a.slice(0,b.length)).toLowerCase();return(c/g,yc=/"/g,zc=/'/g,Ac=/\x00/g,Bc=/[\x00&<>"']/,Cc=function(a,b){return a.indexOf(b)!=-1},Dc=function(a,b){return Cc(a.toLowerCase(), b.toLowerCase())},Fc=function(a,b){var c=0;a=uc(String(a)).split(".");b=uc(String(b)).split(".");for(var d=Math.max(a.length,b.length),e=0;c==0&&e b?1:0};function Gc(){var a=B.navigator;return a&&(a=a.userAgent)?a:""}var Hc,Ic=B.navigator;Hc=Ic?Ic.userAgentData||null:null;function Jc(a){return pc?Hc?Hc.brands.some(function(b){return(b=b.brand)&&Cc(b,a)}):!1:!1}function Kc(a){return Cc(Gc(),a)};function Lc(){return pc?!!Hc&&Hc.brands.length>0:!1}function Mc(){return Lc()?!1:Kc("Opera")}function Nc(){return Lc()?!1:Kc("Trident")||Kc("MSIE")}function Oc(){return Lc()?Jc("Microsoft Edge"):Kc("Edg/")}function Pc(){return Kc("Firefox")||Kc("FxiOS")}function Qc(){return Kc("Safari")&&!(Rc()||(Lc()?0:Kc("Coast"))||Mc()||(Lc()?0:Kc("Edge"))||Oc()||(Lc()?Jc("Opera"):Kc("OPR"))||Pc()||Kc("Silk")||Kc("Android"))} function Rc(){return Lc()?Jc("Chromium"):(Kc("Chrome")||Kc("CriOS"))&&!(Lc()?0:Kc("Edge"))||Kc("Silk")}function Sc(){return Kc("Android")&&!(Rc()||Pc()||Mc()||Kc("Silk"))}function Tc(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 Uc(a){var b=Gc();if(a==="Internet Explorer"){if(Nc())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=Tc(c); switch(a){case "Opera":if(Mc())return b(["Version","Opera"]);if(Lc()?Jc("Opera"):Kc("OPR"))return b(["OPR"]);break;case "Microsoft Edge":if(Lc()?0:Kc("Edge"))return b(["Edge"]);if(Oc())return b(["Edg"]);break;case "Chromium":if(Rc())return b(["Chrome","CriOS","HeadlessChrome"])}return a==="Firefox"&&Pc()||a==="Safari"&&Qc()||a==="Android Browser"&&Sc()||a==="Silk"&&Kc("Silk")?(b=c[2])&&b[1]||"":""} function Vc(a){if(Lc()&&a!=="Silk"){var b=Hc.brands.find(function(c){return c.brand===a});if(!b||!b.version)return NaN;b=b.version.split(".")}else{b=Uc(a);if(b==="")return NaN;b=b.split(".")}return b.length===0?NaN:Number(b[0])};/* Copyright Google LLC SPDX-License-Identifier: Apache-2.0 */ function Wc(a){return{valueOf:a}.valueOf()};var Xc=globalThis.trustedTypes,Yc;function Zc(){var a=null;if(!Xc)return a;try{var b=function(c){return c};a=Xc.createPolicy("goog#html",{createHTML:b,createScript:b,createScriptURL:b})}catch(c){}return a}function $c(){Yc===void 0&&(Yc=Zc());return Yc};var ad=function(a){this.g=a};ad.prototype.toString=function(){return this.g+""};function cd(a){var b=$c();return new ad(b?b.createScriptURL(a):a)}function dd(a){if(a instanceof ad)return a.g;throw Error("");};var ed=function(a){this.g=a};ed.prototype.toString=function(){return this.g};var fd=new ed("about:invalid#zClosurez");function gd(a){return a instanceof ed}function hd(a){if(gd(a))return a.g;throw Error("");};var id=function(a){this.pi=a};function jd(a){return new id(function(b){return b.substr(0,a.length+1).toLowerCase()===a+":"})}var kd=[jd("data"),jd("http"),jd("https"),jd("mailto"),jd("ftp"),new id(function(a){return/^[^:]*([/?#]|$)/.test(a)})];function ld(a,b){b=b===void 0?kd:b;if(gd(a))return a;for(var c=0;c")!=-1&&(a=a.replace(xc,">")),a.indexOf('"')!=-1&&(a=a.replace(yc,""")),a.indexOf("'")!=-1&&(a=a.replace(zc,"'")),a.indexOf("\x00")!=-1&&(a=a.replace(Ac,"�")));return a},Fd=function(a){return Cc(a,"&")?"document"in B?Dd(a):Ed(a):a},Dd=function(a){var b={"&":"&","<":"<",">":">", """:'"'};var c=B.document.createElement("div");return a.replace(Gd,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||(vd(c,td(d+" ")),f=c.firstChild.nodeValue.slice(0,-1));return b[d]=f})},Ed=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)}})}, Gd=/&([^;\s<&]+);?/g,Hd=function(a,b){a.length>b&&(a=a.substring(0,b-3)+"...");return a},Id=String.prototype.repeat?function(a,b){return a.repeat(b)}:function(a,b){return Array(b+1).join(a)},E=function(a){return a==null?"":String(a)},Jd=function(){return Math.floor(Math.random()*2147483648).toString(36)+Math.abs(Math.floor(Math.random()*2147483648)^Ta()).toString(36)},Kd=Math.random()*2147483648|0,Ld=function(a){var b=Number(a);return b==0&&D(a)?NaN:b},Md=function(a){return String(a).replace(/\-([a-z])/g, function(b,c){return c.toUpperCase()})},Nd=function(){return"googleAvInapp".replace(/([A-Z])/g,"-$1").toLowerCase()},Od=function(a){return a.replace(RegExp("(^|[\\s]+)([a-z])","g"),function(b,c,d){return c+d.toUpperCase()})},Pd=function(a){isFinite(a)&&(a=String(a));return typeof a==="string"?/^\s*-?0x/i.test(a)?parseInt(a,16):parseInt(a,10):NaN};function Qd(){return pc?!!Hc&&!!Hc.platform:!1}function Rd(){return Kc("iPhone")&&!Kc("iPod")&&!Kc("iPad")};var Sd=function(a){Sd[" "](a);return a};Sd[" "]=function(){};var Td=function(a,b){try{return Sd(a[b]),!0}catch(c){}return!1};var Ud=Nc(),Vd=Kc("Gecko")&&!(Dc(Gc(),"WebKit")&&!Kc("Edge"))&&!(Kc("Trident")||Kc("MSIE"))&&!Kc("Edge"),Wd=Dc(Gc(),"WebKit")&&!Kc("Edge"),Xd=Wd&&Kc("Mobile"),Yd=Qd()?Hc.platform==="macOS":Kc("Macintosh"),Zd=Qd()?Hc.platform==="Windows":Kc("Windows"),$d=Qd()?Hc.platform==="Android":Kc("Android"),ae=Rd(),be=Kc("iPad"),ce=Kc("iPod"),de=Rd()||Kc("iPad")||Kc("iPod");Sc();Rc();var ee=Qc()&&!(Rd()||Kc("iPad")||Kc("iPod"));var fe=!Ud&&!Qc();var ge=function(a,b){this.x=a!==void 0?a:0;this.y=b!==void 0?b:0};m=ge.prototype;m.clone=function(){return new ge(this.x,this.y)};m.Hd=function(a){return a instanceof ge&&(this==a?!0:this&&a?this.x==a.x&&this.y==a.y:!1)};m.ceil=function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this};m.floor=function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);return this};m.round=function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this}; m.scale=function(a,b){this.x*=a;this.y*=typeof b==="number"?b:a;return this};var he=function(a,b){this.width=a;this.height=b};m=he.prototype;m.clone=function(){return new he(this.width,this.height)};m.aspectRatio=function(){return this.width/this.height};m.isEmpty=function(){return!(this.width*this.height)};m.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};m.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this}; m.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};m.scale=function(a,b){this.width*=a;this.height*=typeof b==="number"?b:a;return this};function ie(a){if(a instanceof sd)return a;a=String(a).replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'");return td(a)}function je(a){var b=ie("");return td(a.map(function(c){return ud(ie(c))}).join(ud(b).toString()))}var ke=/^[a-z][a-z\d-]*$/i,le="APPLET BASE EMBED IFRAME LINK MATH META OBJECT SCRIPT STYLE SVG TEMPLATE".split(" "),me="AREA BR COL COMMAND HR IMG INPUT KEYGEN PARAM SOURCE TRACK WBR".split(" "),ne=["action","formaction","href"]; function oe(a){var b;if(!ke.test("div"))throw Error("");if(le.indexOf("DIV")!==-1)throw Error("");var c="":(a=je(b.map(function(d){return d instanceof sd?d:ie(String(d))})),c+=">"+a.toString()+"");return td(c)} function pe(a){for(var b="",c=Object.keys(a),d=0;d")+1,c.lastIndexOf("2&&Ue(a,d,b,2);return d},Ue=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(Ma(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}Za(g?pb(f):f,e)}}},Te=function(a,b){b=String(b);a.contentType==="application/xhtml+xml"&& (b=b.toLowerCase());return a.createElement(b)},Ve=function(a,b){Ue(Ge(a),a,arguments,1)},We=function(a){for(var b;b=a.firstChild;)a.removeChild(b)},Xe=function(a){return a&&a.parentNode?a.parentNode.removeChild(a):null},Ye=function(a){return a.children!=void 0?a.children:Array.prototype.filter.call(a.childNodes,function(b){return b.nodeType==1})},Ze=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},Ge=function(a){return a.nodeType==9?a:a.ownerDocument||a.document},$e=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 We(a),a.appendChild(Ge(a).createTextNode(String(b)))},af={SCRIPT:1,STYLE:1,HEAD:1,IFRAME:1,OBJECT:1},bf={IMG:" ",BR:"\n"},df= function(a){var b=[];cf(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},cf=function(a,b,c){if(!(a.nodeName in af))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 bf)b.push(bf[a.nodeName]);else for(a=a.firstChild;a;)cf(a,b,c),a=a.nextSibling},ef=function(a,b){a&&(a=a.parentNode);for(var c=0;a;){if(b(a))return a;a=a.parentNode; c++}return null},Fe=function(a){this.g=a||B.document||document};m=Fe.prototype;m.getElementsByTagName=function(a,b){return(b||this.g).getElementsByTagName(String(a))};m.rm=function(a,b,c){return Re(this.g,arguments)};m.appendChild=function(a,b){a.appendChild(b)};m.append=Ve;m.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}; m.contains=Ze;var ff=function(){this.g=this.pd=null};var gf=function(a,b){this.j=(a===void 0?0:a)||0;this.g=(b===void 0?"":b)||""};gf.prototype.pi=function(){return!!this.j||!!this.g};gf.prototype.toString=function(){return this.j+(this.g?"-":"")+this.g};gf.prototype.matches=function(a){return this.g||a.g?this.g==a.g:this.j||a.j?this.j==a.j:!1};var hf=function(){};hf.prototype.g=function(){return 0};hf.prototype.l=function(){return 0};hf.prototype.o=function(){return 0};hf.prototype.j=function(){return 0};var kf=function(){if(!jf())throw Error();};q(kf,hf);var jf=function(){return!(!C||!C.performance)};kf.prototype.g=function(){return jf()&&C.performance.now?C.performance.now():hf.prototype.g.call(this)};kf.prototype.l=function(){return jf()&&C.performance.memory?C.performance.memory.totalJSHeapSize||0:hf.prototype.l.call(this)};kf.prototype.o=function(){return jf()&&C.performance.memory?C.performance.memory.usedJSHeapSize||0:hf.prototype.o.call(this)}; kf.prototype.j=function(){return jf()&&C.performance.memory?C.performance.memory.jsHeapSizeLimit||0:hf.prototype.j.call(this)};var lf=function(){},nf=function(a){var b=!1,c;return function(){b||(c=a(),b=!0);return c}},of=function(a){var b=0,c=!1,d=[],e=function(){b=0;c&&(c=!1,f())},f=function(){b=B.setTimeout(e,1E3);var g=d;d=[];a.apply(void 0,g)};return function(g){d=arguments;b?c=!0:f()}};var pf=nf(function(){var a=!1;try{var b=Object.defineProperty({},"passive",{get:function(){a=!0}});B.addEventListener("test",null,b)}catch(c){}return a});function qf(a){return a?a.passive&&pf()?a:a.capture||!1:!1}var rf=function(a,b,c,d){return a.addEventListener?(a.addEventListener(b,c,qf(d)),!0):!1},sf=function(a,b,c){a.removeEventListener&&a.removeEventListener(b,c,qf())};var tf=function(){return oc.prerendering?3:{visible:1,hidden:2,prerender:3,preview:4,unloaded:5}[oc.visibilityState||oc.webkitVisibilityState||oc.mozVisibilityState||""]||0},uf=function(a){var b;a.visibilityState?b="visibilitychange":a.mozVisibilityState?b="mozvisibilitychange":a.webkitVisibilityState&&(b="webkitvisibilitychange");return b};var vf=function(){};vf.prototype.isVisible=function(){return tf()===1};var wf=function(){return tf()===0};var yf=function(){return pc&&Hc?Hc.mobile:!xf()&&(Kc("iPod")||Kc("iPhone")||Kc("Android")||Kc("IEMobile"))},xf=function(){return pc&&Hc?!Hc.mobile&&(Kc("iPad")||Kc("Android")||Kc("Silk")):Kc("iPad")||Kc("Android")&&!Kc("Mobile")||Kc("Silk")};var zf=RegExp("^(?:([^:/?#.]+):)?(?://(?:([^\\\\/?#]*)@)?([^\\\\/?#]*?)(?::([0-9]+))?(?=[\\\\/?#]|$))?([^?#]+)?(?:\\?([^#]*))?(?:#([\\s\\S]*))?$"),Af=function(a){var b=a.match(zf);a=b[1];var c=b[3];b=b[4];var d="";a&&(d+=a+":");c&&(d=d+"//"+c,b&&(d+=":"+b));return d},Bf=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?Bd(e):"")}}},Cf=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},Df=function(a,b,c,d){for(var e=c.length;(b=a.indexOf(c,b))>=0&&b=0},Gf=function(a,b){var c=a.search(Ef),d=Df(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 Bd(a.slice(d,e!==-1?e:0))},Hf=/[?&]($|#)/,If=function(a,b){for(var c=a.search(Ef),d=0,e,f=[];(e=Df(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(Hf,"$1")};var Jf=function(a){try{return!!a&&a.location.href!=null&&Td(a,"foo")}catch(b){return!1}},Lf=function(a,b){var c=!0;c=c===void 0?!1:c;b=b===void 0?B:b;b=Kf(b);for(var d=0;b&&d++<40&&(!c&&!Jf(b)||!a(b));)b=Kf(b)},Kf=function(a){try{var b=a.parent;if(b&&b!=a)return b}catch(c){}return null},Mf=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()}},Nf=function(a,b){if(a)for(var c in a)Object.prototype.hasOwnProperty.call(a, c)&&b(a[c],c,a)},Pf=function(){var a=[];Nf(Of,function(b){a.push(b)});return a};function Qf(a){var b,c;return(c=(b=/https?:\/\/[^\/]+/.exec(a))==null?void 0:b[0])!=null?c:""} var Of={wo:"allow-forms",xo:"allow-modals",yo:"allow-orientation-lock",zo:"allow-pointer-lock",Ao:"allow-popups",Bo:"allow-popups-to-escape-sandbox",Co:"allow-presentation",Do:"allow-same-origin",Eo:"allow-scripts",Fo:"allow-top-navigation",Go:"allow-top-navigation-by-user-activation"},Rf=nf(function(){return Pf()}),Sf=function(a){var b=Rf();return a.length?ab(b,function(c){return!jb(a,c)}):b},Tf=function(a){a=a&&a.toString&&a.toString();return typeof a==="string"&&Cc(a,"[native code]")},Uf=nf(function(){return yf()? 2:xf()?1:0}),Vf=function(a,b){b=b===void 0?document:b;return b.createElement(String(a).toLowerCase())},Wf=function(a){for(var b=a;a&&a!=a.parent;)a=a.parent,Jf(a)&&(b=a);return b};var Xf=RegExp("^https?://(\\w|-)+\\.cdn\\.ampproject\\.(net|org)(\\?|/|$)"),ag=function(a){a=a||Yf();for(var b=new Zf(B.location.href,!1),c=null,d=a.length-1,e=d;e>=0;--e){var f=a[e];!c&&Xf.test(f.url)&&(c=f);if(f.url&&!f.mi){b=f;break}}e=null;f=a.length&&a[d].url;b.depth!=0&&f&&(e=a[d]);return new $f(b,e,c)},Yf=function(){var a=B,b=[],c=null;do{var d=a;if(Jf(d)){var e=d.location.href;c=d.document&&d.document.referrer||null}else e=c,c=null;b.push(new Zf(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=B;if(d.location&&d.location.ancestorOrigins&&d.location.ancestorOrigins.length==b.length-1)for(a=1;a=l.length){d-=l.length;b+=l;e=a.l;break}c=c==null?g:c}}a="";c!=null&& (a=""+e+"trn="+c);return b+a},hg=function(a){var b=1,c;for(c in a.j)c.length>b&&(b=c.length);return 3997-b-a.l.length-1};var jg=function(a,b){this.g=a;this.depth=b},og=function(){var a=Yf(),b=Math.max(a.length-1,0),c=ag(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 jg([e.url,e.mi?2:0],c(e.depth,1)));d&&d!=e&&f.push(new jg([d.url,2],0));a.url&&a!=e&&f.push(new jg([a.url,0],c(a.depth,b)));var g=bb(f,function(h,k){return f.slice(0,f.length-k)});!a.url||(e||d)&&a!=e||(d=Qf(a.url))&&g.push([new jg([d,1],c(a.depth,b))]);g.push([]);return bb(g,function(h){return kg(b,h)})}; function kg(a,b){var c=cb(b,function(e,f){return Math.max(e,f.depth)},-1),d=tb("",c+2);d[0]=a;Za(b,function(e){return d[e.depth+1]=e.g});return d}function pg(){var a=a===void 0?og():a;return a.map(function(b){return dg(b)})};var rg=function(a,b,c,d,e){qg(a,b,c===void 0?null:c,d===void 0?!1:d,e===void 0?!1:e)};function qg(a,b,c,d,e){e=e===void 0?!1:e;a.google_image_requests||(a.google_image_requests=[]);var f=Vf("IMG",a.document);if(c||d){var g=function(h){c&&c(h);d&&kb(a.google_image_requests,f);sf(f,"load",g);sf(f,"error",g)};rf(f,"load",g);rf(f,"error",g)}e&&(f.attributionSrc="");f.src=b;a.google_image_requests.push(f)} var tg=function(a,b){var c=c===void 0?!1:c;var d="https://pagead2.googlesyndication.com/pagead/gen_204?id="+b;Nf(a,function(e,f){if(e||e===0)d+="&"+f+"="+encodeURIComponent(""+e)});sg(d,c)},sg=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)):rg(c,a,void 0,b,d)};var ug=function(a){var b="ki";if(a.ki&&a.hasOwnProperty(b))return a.ki;b=new a;return a.ki=b};var vg=function(){this.j=new vf;this.g=jf()?new kf:new hf},xg=function(){wg();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")};vg.prototype.setInterval=function(a,b){return C.setInterval(a,b)};vg.prototype.clearInterval=function(a){C.clearInterval(a)};vg.prototype.setTimeout=function(a,b){return C.setTimeout(a,b)}; vg.prototype.clearTimeout=function(a){C.clearTimeout(a)};var yg=function(){wg();return pg()};var zg=function(){},wg=function(){var a=ug(zg);if(!a.g){if(!C)throw Error("Context has not been set and window is undefined.");a.g=ug(vg)}return a.g};function Ag(){throw Error("Invalid UTF8");}function Bg(a,b){b=String.fromCharCode.apply(null,b);return a==null?b:a+b}var Cg=void 0,Dg,Eg=typeof TextDecoder!=="undefined",Fg,Gg=typeof String.prototype.isWellFormed==="function",Hg=typeof TextEncoder!=="undefined"; function Ig(a){var b=!1;b=b===void 0?!1:b;if(Hg){if(b&&(Gg?!a.isWellFormed():/(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])/.test(a)))throw Error("Found an unpaired surrogate");a=(Fg||(Fg=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 Jg(a){B.setTimeout(function(){throw a;},0)};var Kg=function(a){for(var b=[],c=0,d=0;d255&&(b[c++]=e&255,e>>=8);b[c++]=e}return b},Lg=function(a){return Array.prototype.map.call(a,function(b){b=b.toString(16);return b.length>1?b:"0"+b}).join("")};var Mg={},Ng=null,Og=Vd||Wd||!ee&&typeof B.atob=="function",Qg=function(a,b){b===void 0&&(b=0);Pg();b=Mg[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++]=""+l+g+h+k}l=0;k=d;switch(a.length-e){case 2:l=a[e+1],k=b[(l&15)<<2]||d;case 1:a=a[e],c[f]=""+b[a>>2]+b[(a&3)<<4|l>>4]+k+d}return c.join("")},Sg=function(a){if(Og)return B.atob(a);var b="";Rg(a,function(c){b+=String.fromCharCode(c)}); return b},Tg=function(a){var b=[];Rg(a,function(c){b.push(c)});return b},Ug=function(a){var b=a.length,c=b*3/4;c%3?c=Math.floor(c):Cc("=.",a[b-1])&&(c=Cc("=.",a[b-2])?c-2:c-1);var d=new Uint8Array(c),e=0;Rg(a,function(f){d[e++]=f});return e!==c?d.subarray(0,e):d},Rg=function(a,b){function c(k){for(;d>4);g!=64&&(b(f<<4&240|g>>2),h!=64&&b(g<<6&192|h))}},Pg=function(){if(!Ng){Ng={};for(var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),b=["+/=","+/","-_=","-_.","-_"],c=0;c<5;c++){var d=a.concat(b[c].split(""));Mg[c]=d;for(var e=0;e=Zh&&a<=$h:a[0]==="-"?ai(a,bi):ai(a,ci)}),bi=Number.MIN_SAFE_INTEGER.toString(),Zh=Xh?BigInt(Number.MIN_SAFE_INTEGER):void 0,ci=Number.MAX_SAFE_INTEGER.toString(),$h=Xh?BigInt(Number.MAX_SAFE_INTEGER):void 0; function ai(a,b){if(a.length>b.length)return!1;if(a.lengthe)return!1;if(d>>0;fi=b;gi=(a-b)/4294967296>>>0}function ji(a){if(a<0){ii(0-a);var b=v(ki(fi,gi));a=b.next().value;b=b.next().value;fi=a>>>0;gi=b>>>0}else ii(a)}function li(a,b){var c=b&2147483648;c&&(a=~a+1>>>0,b=~b>>>0,a==0&&(b=b+1>>>0));var d=b*4294967296+(a>>>0);a=Number.isSafeInteger(d)?d:mi(a,b);return typeof a==="number"?c?-a:a:c?"-"+a:a} function mi(a,b){b>>>=0;a>>>=0;if(b<=2097151)var c=""+(4294967296*b+a);else Ch()?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+=a/1E7>>>0,a%=1E7),c>=1E7&&(b+=c/1E7>>>0,c%=1E7),c=b+ni(c)+ni(a));return c}function ni(a){a=String(a);return"0000000".slice(a.length)+a} function oi(){var a=fi,b=gi;b&2147483648?Ch()?a=""+(BigInt(b|0)<>>0)):(b=v(ki(a,b)),a=b.next().value,b=b.next().value,a="-"+mi(a,b)):a=mi(a,b);return a} function pi(a){if(a.length<16)ji(Number(a));else if(Ch())a=BigInt(a),fi=Number(a&BigInt(4294967295))>>>0,gi=Number(a>>BigInt(32)&BigInt(4294967295));else{var b=+(a[0]==="-");gi=fi=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)),gi*=1E6,fi=fi*1E6+d,fi>=4294967296&&(gi+=Math.trunc(fi/4294967296),gi>>>=0,fi>>>=0);b&&(b=v(ki(fi,gi)),a=b.next().value,b=b.next().value,fi=a,gi=b)}}function ki(a,b){b=~b;a?a=~a+1:b+=1;return[a,b]};var qi=typeof BigInt==="function"?BigInt.asIntN:void 0,ri=Number.isSafeInteger,si=Number.isFinite,ti=Math.trunc;function ui(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 vi(a){if(a==null||typeof a==="number")return a;if(a==="NaN"||a==="Infinity"||a==="-Infinity")return Number(a)}function wi(a){if(a!=null&&typeof a!=="boolean")throw Error("Expected boolean but got "+Ka(a)+": "+a);return a} function xi(a){if(a==null||typeof a==="boolean")return a;if(typeof a==="number")return!!a}var yi=/^-?([1-9][0-9]*|0)(\.[0-9]+)?$/;function zi(a){switch(typeof a){case "bigint":return!0;case "number":return si(a);case "string":return yi.test(a);default:return!1}}function Ai(a){if(!si(a))throw jh("enum");return a|0}function Bi(a){return a==null?a:Ai(a)}function Ci(a){return a==null?a:si(a)?a|0:void 0}function Di(a){if(typeof a!=="number")throw jh("int32");if(!si(a))throw jh("int32");return a|0} function Ei(a){return a==null?a:Di(a)}function Fi(a){if(a==null)return a;if(typeof a==="string"&&a)a=+a;else if(typeof a!=="number")return;return si(a)?a|0:void 0}function Gi(a){if(a!=null){if(typeof a!=="number")throw jh("uint32");if(!si(a))throw jh("uint32");a>>>=0}return a}function Hi(a){if(a==null)return a;if(typeof a==="string"&&a)a=+a;else if(typeof a!=="number")return;return si(a)?a>>>0:void 0} function Ii(a){var b=0;b=b===void 0?0:b;if(!zi(a))throw jh("int64");var c=typeof a;switch(b){case 4096:switch(c){case "string":return Ji(a);case "bigint":return String(qi(64,a));default:return Ki(a)}case 8192:switch(c){case "string":return Li(a);case "bigint":return Yh(qi(64,a));default:return Mi(a)}case 0:switch(c){case "string":return Ji(a);case "bigint":return Yh(qi(64,a));default:return Ni(a)}default:throw Error("Unknown format requested type for int64");}} function Oi(a){var b=a.length;return a[0]==="-"?b<20?!0:b===20&&Number(a.substring(0,7))>-922337:b<19?!0:b===19&&Number(a.substring(0,6))<922337}function Pi(a){if(Oi(a))return a;pi(a);return oi()}function Ni(a){a=ti(a);ri(a)||(ji(a),a=li(fi,gi));return a}function Ki(a){a=ti(a);if(ri(a))a=String(a);else{var b=String(a);Oi(b)?a=b:(ji(a),a=oi())}return a}function Ji(a){var b=ti(Number(a));if(ri(b))return String(b);b=a.indexOf(".");b!==-1&&(a=a.substring(0,b));return Pi(a)} function Li(a){var b=ti(Number(a));if(ri(b))return Yh(b);b=a.indexOf(".");b!==-1&&(a=a.substring(0,b));return Ch()?Yh(qi(64,BigInt(a))):Yh(Pi(a))}function Mi(a){return ri(a)?Yh(Ni(a)):Yh(Ki(a))}function Qi(a){if(a==null)return a;var b=typeof a;if(b==="bigint")return String(qi(64,a));if(zi(a)){if(b==="string")return Ji(a);if(b==="number")return Ni(a)}}function Ri(a){if(typeof a!=="string")throw Error();return a}function Si(a){if(a!=null&&typeof a!=="string")throw Error();return a} function Ti(a){return a==null||typeof a==="string"?a:void 0}function Ui(a,b,c,d){if(a!=null&&typeof a==="object"&&a.Gg===Eh)return a;if(!Array.isArray(a))return c?d&2?((a=b[oh])||(a=new b,sh(a.M,34),a=b[oh]=a),b=a):b=new b:b=void 0,b;var e=c=th(a);e===0&&(e|=d&32);e|=d&2;e!==c&&uh(a,e);return new b(a)};function Vi(a,b){return Wi(b)}function Wi(a){switch(typeof a){case "number":return isFinite(a)?a:String(a);case "bigint":return di(a)?Number(a):String(a);case "boolean":return a?1:0;case "object":if(a)if(Array.isArray(a)){if(Jh(a))return}else{if(bh(a))return Xg(a);if(a instanceof eh){var b=a.g;return b==null?"":typeof b==="string"?b:a.g=Xg(b)}}}return a};function Xi(a,b,c){var d=Dh(a),e=d.length,f=b&256?d[e-1]:void 0;e+=f?-1:0;for(b=b&512?1:0;b0?void 0:a===0?cj||(cj=[0,void 0]):[-a,void 0];case "string":return[0,a];case "object":return a}}function ej(a,b,c){a=H(a,b[0],b[1],c?1:2);b!==bj&&c&&sh(a,16384);return a} function H(a,b,c,d){if(a==null){var e=96;c?(a=[c],e|=512):a=[];b&&(e=e&-33521665|(b&1023)<<15)}else{if(!Array.isArray(a))throw Error("narr");e=th(a);if(e&2048)throw Error("farr");if(e&64)return a;d===1||d===2||(e|=64);if(c&&(e|=512,c!==a[0]))throw Error("mid");a:{c=a;if(d=c.length){var f=d-1;if(Hh(c[f])){e|=256;b=f-(e&512?0:-1);if(b>=1024)throw Error("pvtlmt");e=e&-33521665|(b&1023)<<15;break a}}if(b){b=Math.max(b,d-(e&512?0:-1));if(b>1024)throw Error("spvt");e=e&-33521665|(b&1023)<<15}}}uh(a,e); return a};function fj(a,b,c){c=c===void 0?Bh:c;if(a!=null){if(Vg&&a instanceof Uint8Array)return b?a:new Uint8Array(a);if(Array.isArray(a)){var d=th(a);if(d&2)return a;b&&(b=d===0||!!(d&32)&&!(d&64||!(d&16)));return b?(uh(a,(d|34)&-12293),a):Zi(a,fj,d&4?Bh:c,!0,!0)}a.Gg===Eh&&(c=a.M,d=th(c),a=d&2?a:new a.constructor(gj(c,d,!0)));return a}}function gj(a,b,c){var d=c||b&2?Bh:Ah,e=!!(b&32);a=Xi(a,b,function(f){return fj(f,e,d)});sh(a,32|(c?2:0));return a} function hj(a){var b=a.M,c=th(b);return c&2?new a.constructor(gj(b,c,!1)):a};var ij=Yh(0),kj=function(a,b){a=a.M;return jj(a,th(a),b)},jj=function(a,b,c,d){if(c===-1)return null;var e=c+(b&512?0:-1),f=a.length-1;if(e>=f&&b&256)return a[f][c];if(d&&b&256&&(b=a[f][c],b!=null)){if(a[e]!=null&&ph!=null){var g;a=(g=ih)!=null?g:ih={};g=a[ph]||0;g>=4||(a[ph]=g+1,g=Error(),Ad(g,"incident"),Jg(g))}return b}if(e<=f)return a[e]},mj=function(a,b,c){var d=a.M,e=th(d);Mh(e);lj(d,e,b,c);return a}; function lj(a,b,c,d){var e=b&512?0:-1,f=c+e,g=a.length-1;if(f>=g&&b&256)return a[g][c]=d,b;if(f<=g)return a[f]=d,b&256&&(a=a[g],c in a&&delete a[c]),b;d!==void 0&&(g=b>>15&1023||536870912,c>=g?d!=null&&(f={},a[g+e]=(f[c]=d,f),b|=256,uh(a,b)):a[f]=d);return b}var nj=function(a){return a===Oh?2:4}; function oj(a,b,c,d,e){var f=a.M;a=th(f);var g=2&a?1:d;e=!!e;d=pj(f,a,b);var h=th(d);if(!(4&h)){4&h&&(d=Dh(d),h=wj(h,a),a=lj(f,a,b,d));for(var k=0,l=0;k "+a)};function pk(a){if(typeof a==="string")return{buffer:ah(a),Qd:!1};if(Array.isArray(a))return{buffer:new Uint8Array(a),Qd:!1};if(a.constructor===Uint8Array)return{buffer:a,Qd:!1};if(a.constructor===ArrayBuffer)return{buffer:new Uint8Array(a),Qd:!1};if(a.constructor===eh)return{buffer:hh(a)||new Uint8Array(0),Qd:!0};if(a instanceof Uint8Array)return{buffer:new Uint8Array(a.buffer,a.byteOffset,a.byteLength),Qd:!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"); };var qk=function(a,b){this.j=null;this.A=!1;this.g=this.l=this.o=0;this.init(a,void 0,void 0,b)};qk.prototype.init=function(a,b,c,d){d=d===void 0?{}:d;this.Pf=d.Pf===void 0?!1:d.Pf;a&&(a=pk(a),this.j=a.buffer,this.A=a.Qd,this.o=b||0,this.l=c!==void 0?this.o+c:this.j.length,this.g=this.o)};qk.prototype.clear=function(){this.j=null;this.A=!1;this.g=this.l=this.o=0;this.Pf=!1};qk.prototype.reset=function(){this.g=this.o}; var rk=function(a,b){a.g=b;if(b>a.l)throw ok(a.l,b);},sk=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 nk();rk(a,c);return e},tk=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];rk(a,a.g+4);return(d<<0|e<<8|f<<16|b<<24)>>>0},uk=function(a){var b=tk(a),c=tk(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*4.9E-324*b:a*Math.pow(2,d-1075)*(b+4503599627370496)},vk=function(a){for(var b=0,c=a.g,d=c+10,e=a.j;ca.l)throw ok(b,a.l-c);a.g=d;return c},yk=function(a,b){if(b==0)return gh();var c=xk(a,b);a.Pf&&a.A?c=a.j.subarray(c,c+b):(a= a.j,b=c+b,c=c===b?new Uint8Array(0):ei?a.slice(c,b):new Uint8Array(a.subarray(c,b)));return c.length==0?gh():new eh(c,ch)},zk=[];var Bk=function(a,b){if(zk.length){var c=zk.pop();c.init(a,void 0,void 0,b);a=c}else a=new qk(a,b);this.g=a;this.l=this.g.g;this.j=this.o=-1;Ak(this,b)},Ak=function(a,b){b=b===void 0?{}:b;a.Qh=b.Qh===void 0?!1:b.Qh};Bk.prototype.reset=function(){this.g.reset();this.l=this.g.g;this.j=this.o=-1}; var Ck=function(a){var b=a.g;if(b.g==b.l)return!1;a.l=a.g.g;var c=sk(a.g)>>>0;b=c>>>3;c&=7;if(!(c>=0&&c<=5))throw mk(c,a.l);if(b<1)throw Error("Invalid field number: "+b+" (at position "+a.l+")");a.o=b;a.j=c;return!0},Dk=function(a){switch(a.j){case 0:a.j!=0?Dk(a):vk(a.g);break;case 1:a=a.g;rk(a,a.g+8);break;case 2:if(a.j!=2)Dk(a);else{var b=sk(a.g)>>>0;a=a.g;rk(a,a.g+b)}break;case 5:a=a.g;rk(a,a.g+4);break;case 3:b=a.o;do{if(!Ck(a))throw Error("Unmatched start-group tag: stream EOF");if(a.j==4){if(a.o!= b)throw Error("Unmatched end-group tag");break}Dk(a)}while(1);break;default:throw mk(a.j,a.l);}},Ek=function(a,b,c){var d=a.g.l,e=sk(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},Fk=function(a){var b=sk(a.g)>>>0;a=a.g;var c=xk(a,b);a=a.j;if(Eg){var d=a,e;(e= Dg)||(e=Dg=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(l){if(Cg===void 0){try{e.decode(new Uint8Array([128]))}catch(p){}try{e.decode(new Uint8Array([97])),Cg=!0}catch(p){Cg=!1}}!Cg&&(Dg=void 0);throw l;}}else{f=c;b=f+b;c=[];for(var g=null,h,k;f=b?Ag():(k=a[f++],h<194||(k&192)!==128?(f--,Ag()):c.push((h&31)<<6|k&63)):h<240?f>=b-1?Ag():(k=a[f++],(k&192)!==128||h===224&&k<160||h===237&&k>=160||((e= a[f++])&192)!==128?(f--,Ag()):c.push((h&15)<<12|(k&63)<<6|e&63)):h<=244?f>=b-2?Ag():(k=a[f++],(k&192)!==128||(h<<28)+(k-144)>>30!==0||((e=a[f++])&192)!==128||((d=a[f++])&192)!==128?(f--,Ag()):(h=(h&7)<<18|(k&63)<<12|(e&63)<<6|d&63,h-=65536,c.push((h>>10&1023)+55296,(h&1023)+56320))):Ag(),c.length>=8192&&(g=Bg(g,c),c.length=0);f=Bg(g,c)}return f},Gk=function(a,b,c){var d=sk(a.g)>>>0;for(d=a.g.g+d;a.g.g0;c--){h=f[c-1];if(!(h==null||Jh(h)||Gh(h)&&h.size===0))break;var r=!0}if(f!== a||g||r){if(!b)f=Array.prototype.slice.call(f,0,c);else if(r||g||k)f.length=c;k&&f.push(k)}r=f}else r=a;return r}function Nk(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");sh(b,128);return new a(wh(b))};var Ok=function(a,b){this.j=a>>>0;this.g=b>>>0},Qk=function(a){if(!a)return Pk||(Pk=new Ok(0,0));if(!/^-?\d+$/.test(a))return null;pi(a);return new Ok(fi,gi)},Pk;var Rk=function(){this.g=[]};Rk.prototype.length=function(){return this.g.length};Rk.prototype.end=function(){var a=this.g;this.g=[];return a}; var Sk=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)},Tk=function(a,b){for(;b>127;)a.g.push(b&127|128),b>>>=7;a.g.push(b)},Uk=function(a,b){if(b>=0)Tk(a,b);else{for(var c=0;c<9;c++)a.g.push(b&127|128),b>>=7;a.g.push(1)}},Vk=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 Wk=function(){this.l=[];this.j=0;this.g=new Rk},Xk=function(a,b){b.length!==0&&(a.l.push(b),a.j+=b.length)},Zk=function(a,b){Yk(a,b,2);b=a.g.end();Xk(a,b);b.push(a.j);return b},$k=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++},al=function(a){Xk(a,a.g.end());for(var b=new Uint8Array(a.j),c=a.l,d=c.length,e=0,f=0;f0;){for(var k=0;k>31)*2+1;var e=d>>>23&255;d&=8388607;Nl(b,c,e==255?d?NaN:a*Infinity:e==0?a*1.401298464324817E-45*d:a*Math.pow(2,e-150)*(d+8388608));return!0},function(a,b,c){b=vi(b);b!=null&&(Yk(a,c,5),a=a.g,c=hi||(hi=new DataView(new ArrayBuffer(8))),c.setFloat32(0,+b,!0),gi=0,fi= c.getUint32(0,!0),Vk(a,fi))},fl()),Xl=Ll(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 nk();Nl(b,c,a===0?void 0:a);return!0},function(a,b,c){b=Qi(b);if(b!=null){switch(typeof b){case "string":Qk(b)}if(b!=null)switch(Yk(a,c,0),typeof b){case "number":a=a.g;ji(b);Sk(a,fi,gi);break;case "bigint":c=BigInt.asUintN(64, b);c=new Ok(Number(c&BigInt(4294967295)),Number(c>>BigInt(32)));Sk(a.g,c.j,c.g);break;default:c=Qk(b),Sk(a.g,c.j,c.g)}}},fl()),Yl=Ll(function(a,b,c){if(a.j!==0)return!1;Nl(b,c,sk(a.g));return!0},Pl,il),Zl=Ml(function(a,b,c){if(a.j!==0&&a.j!==2)return!1;b=Dj(b,th(b),c,!1,!1);a.j==2?Gk(a,sk,b):b.push(sk(a.g));return!0},function(a,b,c){b=Jl(Fi,b);if(b!=null&&b.length){c=Zk(a,c);for(var d=0;d>>0;a=yk(a.g,d);Nl(b,c,a===gh()?void 0:a);return!0},function(a,b,c){b=b==null||typeof b=="string"||bh(b)||b instanceof eh?b:void 0;b!=null&&bl(a,c,pk(b).buffer)},fl()),jm=Ll(function(a,b,c){if(a.j!==0)return!1;Nl(b,c,sk(a.g)>>>0);return!0},Sl,jl),km=Ll(function(a,b,c){if(a.j!==0)return!1;a=sk(a.g)>>>0;Nl(b,c,a===0?void 0:a);return!0},Sl,jl), pm=Ll(function(a,b,c){if(a.j!==0)return!1;Nl(b,c,sk(a.g));return!0},Tl,ll),qm=Ml(function(a,b,c){if(a.j!==0&&a.j!==2)return!1;b=Dj(b,th(b),c,!1,!1);a.j==2?Gk(a,wk,b):b.push(sk(a.g));return!0},function(a,b,c){b=Jl(Fi,b);if(b!=null&&b.length){c=Zk(a,c);for(var d=0;d-1)return b.apply(null,w(c));try{return a.g=a.l.g.g(),b.apply(null,w(c))}finally{a.o+=a.l.g.g()-a.g,a.g=-1,a.j+=1}}};var Am=function(a,b){this.j=a;this.l=b;this.g=new ym(a)};var Bm=function(){this.g={}},Cm=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 Dm={Hp:1,jq:2,Ap:3,1:"POSITION",2:"VISIBILITY",3:"MONITOR_VISIBILITY"};var Em=function(){this.A=void 0;this.N=0;this.B=new gf(0,"");this.l=0;this.J=-1;this.da=new ec;$b(fc(this.da,"mv",Eb)).l=Fb===void 0?null:Fb;fc(this.da,"omid",Ab);$b(fc(this.da,"epoh",Ab));$b(fc(this.da,"epph",Ab));$b(fc(this.da,"umt",Ab)).l=Bb===void 0?null:Bb;$b(fc(this.da,"phel",Ab));$b(fc(this.da,"phell",Ab));$b(fc(this.da,"oseid",Dm));var a=this.da;a.g.sloi||(a.g.sloi=new cc);$b(a.g.sloi);fc(this.da,"mm",yb);$b(fc(this.da,"ovms",xb));$b(fc(this.da,"xdi",Ab));$b(fc(this.da,"amp",Ab));$b(fc(this.da, "prf",Ab));$b(fc(this.da,"gtx",Ab));$b(fc(this.da,"mvp_lv",Ab));$b(fc(this.da,"ssmol",Ab)).l=Cb===void 0?null:Cb;$b(fc(this.da,"fmd",Ab));fc(this.da,"gen204simple",Ab);this.j=new Am(wg(),this.da);this.C=this.g=this.o=!1;this.flags=new Bm}; Em.prototype.Vg=function(a){if(typeof a==="string"&&a.length!=0){var b=this.da;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)}}}}; Em.prototype.Wg=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}),Qm=function(a,b){this.events=[];this.g=b||B;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=Pm()||(c!=null?c:Math.random()2048||this.events.push(a)};var Rm=function(a){a&&Nm&&Pm()&&(Nm.clearMarks("goog_"+a.label+"_"+a.uniqueId+"_start"),Nm.clearMarks("goog_"+a.label+"_"+a.uniqueId+"_end"))}; Qm.prototype.start=function(a,b){if(!this.j)return null;a=new Mm(a,b,Lm()||Km());b="goog_"+a.label+"_"+a.uniqueId+"_start";Nm&&Pm()&&Nm.mark(b);return a};Qm.prototype.end=function(a){if(this.j&&typeof a.value==="number"){a.duration=(Lm()||Km())-a.value;var b="goog_"+a.label+"_"+a.uniqueId+"_end";Nm&&Pm()&&Nm.mark(b);this.B(a)}};var Um=function(){var a=Sm;this.C=Tm;this.A="jserror";this.l=!0;this.j=null;this.B=this.sc;this.g=a===void 0?null:a;this.o=!1};m=Um.prototype;m.Pi=function(a){this.j=a};m.rk=function(a){this.A=a};m.Ri=function(a){this.l=a};m.uk=function(a){this.o=a};m.Wd=function(a,b,c){var d=this;return zm(lc().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{Rm(e),g=d.B(a,new Vm(Wm(h)),void 0,c)}catch(k){d.sc(217,k)}if(!g)throw h;}return f})()}; m.Xg=function(a,b,c,d){var e=this;return zm(lc().j.g,function(){var f=Ea.apply(0,arguments);return e.Wd(a,function(){return b.apply(c,f)},d)})}; m.sc=function(a,b,c,d,e){e=e||this.A;try{var f=new bg;gg(f,1,"context",a);Hm(b)||(b=new Vm(Wm(b)));b.msg&&gg(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){}fg(f,3,[g]);var h=ag();h.j&&gg(f,4,"top",h.j.url||"");fg(f,5,[{url:h.g.url||""},{url:h.g.url?Af(h.g.url):""}]);Fm(this.C,e,f,this.o,c)}catch(k){try{Fm(this.C,e,{context:"ecmserr",rctx:a,msg:Wm(k),url:h&&h.g.url},this.o,c)}catch(l){}}return this.l}; var Wm=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},Vm=function(a){Gm.call(this,Error(a),{message:a})};q(Vm,Gm);var Tm,Xm,Sm=new Qm(1,window),Ym=function(){C&&typeof C.google_measure_js_timing!="undefined"&&(C.google_measure_js_timing||Sm.C())};Tm=new function(){var a="https:";C&&C.location&&C.location.protocol==="http:"&&(a="http:");this.j=a;this.g=.01;this.l=Math.random()};Xm=new Um;C&&C.document&&(C.document.readyState=="complete"?Ym():Sm.j&&rf(C,"load",function(){Ym()})); var Zm=function(a){Xm.Pi(function(b){Za(a,function(c){c(b)})})},$m=function(a,b){return Xm.Wd(a,b)},an=function(a,b,c,d){return Xm.Xg(a,b,c,d)},bn=function(a,b,c,d){Xm.sc(a,b,c,d)};var cn=Date.now(),dn=-1,en=-1,fn,gn=-1,hn=!1,jn=function(){return Date.now()-cn},kn=function(){var a=lc().A,b=en>=0?jn()-en:-1,c=hn?jn()-dn:-1,d=gn>=0?jn()-gn:-1;if(a==947190542)return 100;if(a==79463069)return 200;a=[2E3,4E3];var e=[250,500,1E3];bn(637,Error(),.001);var f=b;c!=-1&&c1500&&d<4E3?500:g};var ln=function(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.left=d};m=ln.prototype;m.getWidth=function(){return this.right-this.left};m.getHeight=function(){return this.bottom-this.top};m.clone=function(){return new ln(this.top,this.right,this.bottom,this.left)};m.contains=function(a){return this&&a?a instanceof ln?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}; m.expand=function(a,b,c,d){Ma(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 mn=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};ln.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}; ln.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};ln.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 nn=function(a,b,c){b instanceof ge?(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};ln.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 on=function(a,b,c){var d=new ln(0,0,0,0);this.time=a;this.volume=null;this.l=b;this.g=d;this.j=c};on.prototype.Hd=function(a,b){return!!a&&(!(b===void 0?0:b)||this.volume==a.volume)&&this.l==a.l&&mn(this.g,a.g)&&!0};var pn=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};pn.prototype.getTimestamp=function(){return this.B};pn.prototype.Hd=function(a,b){return this.l.Hd(a.l,b===void 0?!1:b)&&this.J==a.J&&mn(this.j,a.j)&&mn(this.A,a.A)&&this.g==a.g&&this.o==a.o&&this.B==a.B&&this.C==a.C};var qn={currentTime:1,duration:2,isVpaid:4,volume:8,isYouTube:16,isPlaying:32},Rb={lj:"start",FIRST_QUARTILE:"firstquartile",MIDPOINT:"midpoint",THIRD_QUARTILE:"thirdquartile",COMPLETE:"complete",ERROR:"error",Fl:"metric",PAUSE:"pause",kj:"resume",SKIPPED:"skip",Rl:"viewable_impression",Jl:"mute",Ql:"unmute",FULLSCREEN:"fullscreen",gl:"exitfullscreen",bj:"bufferstart",aj:"bufferfinish",il:"fully_viewable_audible_half_duration_impression",El:"measurable_impression",Xk:"abandon",fl:"engagedview",IMPRESSION:"impression", cl:"creativeview",LOADED:"loaded",PROGRESS:"progress",Ko:"close",Lo:"collapse",Bp:"overlay_resize",Cp:"overlay_unmeasurable_impression",Dp:"overlay_unviewable_impression",Fp:"overlay_viewable_immediate_impression",Ep:"overlay_viewable_end_of_session_impression",dl:"custom_metric_viewable",Zk:"audio_audible",bl:"audio_measurable",al:"audio_impression"},rn="start firstquartile midpoint thirdquartile resume loaded".split(" "),sn=["start","firstquartile","midpoint","thirdquartile"],tn=["abandon"],un= {UNKNOWN:-1,lj:0,FIRST_QUARTILE:1,MIDPOINT:2,THIRD_QUARTILE:3,COMPLETE:4,Fl:5,PAUSE:6,kj:7,SKIPPED:8,Rl:9,Jl:10,Ql:11,FULLSCREEN:12,gl:13,il:14,El:15,Xk:16,fl:17,IMPRESSION:18,cl:19,LOADED:20,dl:21,bj:22,aj:23,al:27,bl:28,Zk:29};var Jb={uo:"addEventListener",Xo:"getMaxSize",Zo:"getScreenSize",ap:"getState",bp:"getVersion",Ip:"removeEventListener",xp:"isViewable"},vn=function(a){var b=a!==a.top,c=a.top===Wf(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),Ib(function(g){return typeof f[g]==="function"})||(e=1));return{Lb:f,Zf:e,Xn:d}};var wn=function(){var a=window.document;return a&&typeof a.elementFromPoint==="function"};function xn(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 he(d.innerWidth,d.innerHeight)).round():Ne(d||window).round()}catch(p){e=new he(-12245933,-12245933)}a=e;var f=a.height,g=a.width;if(g===-12245933)return new ln(g,g,g,g);var h=Pe(He(b.document).g),k=h.x,l=h.y;return new ln(l,k+g,l+f,k)}catch(p){return new ln(-12245933,-12245933,-12245933,-12245933)}};var yn=function(a,b,c,d){this.left=a;this.top=b;this.width=c;this.height=d};yn.prototype.clone=function(){return new yn(this.left,this.top,this.width,this.height)};var zn=function(a){return new ln(a.top,a.left+a.width,a.top+a.height,a.left)},An=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 yn(c,e,d-c,a-e)}return null};m=yn.prototype; m.contains=function(a){return a instanceof ge?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};m.getSize=function(){return new he(this.width,this.height)};m.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}; m.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};m.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};m.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 Cn=function(a,b,c){if(typeof b==="string")(b=Bn(a,b))&&(a.style[b]=c);else for(var d in b){c=a;var e=b[d],f=Bn(c,d);f&&(c.style[f]=e)}},Dn={},Bn=function(a,b){var c=Dn[b];if(!c){var d=Md(b);c=d;a.style[d]===void 0&&(d=(Wd?"Webkit":Vd?"Moz":null)+Od(d),a.style[d]!==void 0&&(c=d));Dn[b]=c}return c},En=function(a,b){var c=Ge(a);return c.defaultView&&c.defaultView.getComputedStyle&&(a=c.defaultView.getComputedStyle(a,null))?a[b]||a.getPropertyValue(b)||"":""},Fn=function(a,b){return En(a,b)||(a.currentStyle? a.currentStyle[b]:null)||a.style&&a.style[b]},Gn=function(a){try{return a.getBoundingClientRect()}catch(b){return{left:0,top:0,right:0,bottom:0}}},Hn=function(a){var b=Ge(a),c=Fn(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=Fn(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},In= function(a){var b=Ge(a),c=new ge(0,0);if(a==(b?Ge(b):document).documentElement)return c;a=Gn(a);b=Pe(He(b).g);c.x=a.left+b.x;c.y=a.top+b.y;return c},Kn=function(a,b){var c=new ge(0,0),d=Qe(Ge(a));if(!Td(d,"parent"))return c;do{var e=d==b?In(a):Jn(a);c.x+=e.x;c.y+=e.y}while(d&&d!=b&&d!=d.parent&&(a=d.frameElement)&&(d=d.parent));return c},Jn=function(a){a=Gn(a);return new ge(a.left,a.top)},Ln=function(a){typeof a=="number"&&(a=Math.round(a)+"px");return a},Nn=function(a){var b=Mn;if(Fn(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},Mn=function(a){var b=a.offsetWidth,c=a.offsetHeight,d=Wd&&!b&&!c;return(b===void 0||d)&&a.getBoundingClientRect?(a=Gn(a),new he(a.right-a.left,a.bottom-a.top)):new he(b,c)},On=function(a){var b=In(a);a=Nn(a);return new yn(b.x,b.y,a.width,a.height)},Pn=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+")")},Qn=function(a,b){a.style.display=b?"":"none"};var Rn=function(a,b){b=Math.pow(10,b);return Math.floor(a*b)/b},Sn=function(a){return new ln(a.top,a.right,a.bottom,a.left)},Tn=function(a){var b=a.top||0,c=a.left||0;return new ln(b,c+(a.width||0),b+(a.height||0),c)},Un=function(a){return a!=null&&a>=0&&a<=1};function Vn(){var a=Gc();return a?db("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 Dc(a,b)})||Dc(a,"OMI/")&&!Dc(a,"XiaoMi/")?!0:Dc(a,"Presto")&&Dc(a,"Linux")&&!Dc(a,"X11")&&!Dc(a,"Android")&&!Dc(a,"Mobi"):!1} function Wn(){var a=Gc();return Dc(a,"AppleTV")||Dc(a,"Apple TV")||Dc(a,"CFNetwork")||Dc(a,"tvOS")}function Xn(){var a=Gc();return Dc(a,"sdk_google_atv_x86")||Dc(a,"Android TV")}function Yn(a){return(a=a.userAgentData)?a.brands.some(function(b){return b.brand.includes("kepler_webview")}):Dc(Gc(),"Kepler")}function Zn(){return Dc(Gc(),"CrKey")&&!(Dc(Gc(),"CrKey")&&Dc(Gc(),"SmartSpeaker"))||Dc(Gc(),"PlayStation")||Dc(Gc(),"Roku")||Vn()||Dc(Gc(),"Xbox")||Wn()||Xn()};var ao=function(){this.N=!1;this.l=!Jf(C.top);this.C=xf()||yf();var a=Yf();a=a.length>0&&a[a.length-1]!=null&&a[a.length-1].url!=null?((a=a[a.length-1].url.match(zf)[3]||null)?decodeURI(a):a)||"":"";this.domain=a;this.g=new ln(0,0,0,0);this.A=new he(0,0);this.o=new he(0,0);this.J=new ln(0,0,0,0);this.frameOffset=new ge(0,0);this.F=!1;this.B=0;this.D=!1;this.j=!(!C||!vn(C).Lb);$n(this)},bo=function(a,b){b&&b.screen&&(a.A=new he(b.screen.width,b.screen.height))},co=function(a,b){a:{var c=a.g?new he(a.g.getWidth(), a.g.getHeight()):new he(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,l=h.scrollWidth,p=h.offsetHeight,n=h.offsetWidth;h.clientHeight!=p&&(k=g.scrollHeight,l=g.scrollWidth,p=g.offsetHeight,n=g.offsetWidth);k>c.height?k>p?(d=k,e=l):(d=p,e=n):k0||a.D)return!0;a=wg().j.isVisible();var b=wf();return a||b},eo=function(){return ug(ao)};var go=function(a){this.l=a;this.j=0;this.g=null};go.prototype.cancel=function(){wg().clearTimeout(this.g);this.g=null};var ho=function(a){var b=wg(),c=lc().j.g;a.g=b.setTimeout(zm(c,an(143,function(){a.j++;a.l.sample()})),kn())};var io=function(a,b,c){this.l=a;this.qa=c===void 0?"na":c;this.C=[];this.Aa=!1;this.o=new on(-1,!0,this);this.g=this;this.N=b;this.K=this.D=!1;this.W="uk";this.R=!1;this.A=!0};io.prototype.F=function(){return!1};io.prototype.G=function(){return this.Aa=!0};io.prototype.oe=function(){return this.g.W};io.prototype.hf=function(){return this.g.K};var ko=function(a,b,c){if(!a.K||(c===void 0?0:c))a.K=!0,a.W=b,a.N=0,a.g!=a||jo(a)};io.prototype.getName=function(){return this.g.qa};io.prototype.cd=function(){return this.g.ba()}; io.prototype.ba=function(){return{}};io.prototype.Cc=function(){return this.g.N};var lo=function(a,b){jb(a.C,b)||(a.C.push(b),b.qe(a.g),b.fd(a.o),b.uc()&&(a.D=!0))};io.prototype.T=function(){var a=eo();a.g=xn(!0,this.l,a.C)};io.prototype.Y=function(){bo(eo(),this.l)};io.prototype.ea=function(){return this.o.g};var mo=function(a){a=a.g;a.Y();a.T();var b=eo();b.J=xn(!1,a.l,b.C);co(eo(),a.l);a.o.g=a.ea()};io.prototype.sample=function(){};var no=function(a,b){a.g!=a?no(a.g,b):a.A!==b&&(a.A=b,jo(a))}; io.prototype.isActive=function(){return this.g.A};var oo=function(a){a.D=a.C.length?db(a.C,function(b){return b.uc()}):!1},po=function(a){var b=pb(a.C);Za(b,function(c){c.fd(a.o)})},jo=function(a){var b=pb(a.C);Za(b,function(c){c.qe(a.g)});a.g!=a||po(a)};m=io.prototype;m.qe=function(a){var b=this.g;this.g=a.Cc()>=this.N?a:this;b!==this.g?(this.A=this.g.A,jo(this)):this.A!==this.g.A&&(this.A=this.g.A,jo(this))};m.fd=function(a){if(a.j===this.g){var b=!this.o.Hd(a,this.D);this.o=a;b&&po(this)}}; m.uc=function(){return this.D};m.dispose=function(){this.R=!0};m.Ka=function(){return this.R};var qo=function(a,b,c,d){this.element=a;this.g=new ln(0,0,0,0);this.l=null;this.C=new ln(0,0,0,0);this.j=b;this.da=c;this.L=d;this.K=!1;this.timestamp=-1;this.D=new pn(b.o,this.element,this.g,new ln(0,0,0,0),0,0,jn(),0);this.A=void 0};qo.prototype.oh=function(){return!0};qo.prototype.N=function(){};qo.prototype.dispose=function(){if(!this.Ka()){var a=this.j;kb(a.C,this);a.D&&this.uc()&&oo(a);this.N();this.K=!0}};qo.prototype.Ka=function(){return this.K}; var ro=function(a,b){return a.A?new ln(Math.max(b.top+a.A.top,b.top),Math.min(b.left+a.A.right,b.right),Math.min(b.top+a.A.bottom,b.bottom),Math.max(b.left+a.A.left,b.left)):b.clone()};m=qo.prototype;m.cd=function(){return this.j.cd()};m.Cc=function(){return this.j.Cc()};m.oe=function(){return this.j.oe()};m.hf=function(){return this.j.hf()};m.qe=function(){};m.fd=function(){this.xc()};m.uc=function(){return this.L};var so=function(a){this.A=!1;this.g=a;this.o=function(){}};m=so.prototype;m.Cc=function(){return this.g.Cc()};m.oe=function(){return this.g.oe()};m.hf=function(){return this.g.hf()};m.create=function(a,b,c){var d=null;this.g&&(d=this.Oe(a,b,c),lo(this.g,d));return d};m.ph=function(){return this.de()};m.de=function(){return!1};m.init=function(a){return this.g.G()?(lo(this.g,this),this.o=a,!0):!1};m.qe=function(a){a.Cc()==0&&this.o(a.oe(),this)};m.fd=function(){};m.uc=function(){return!1}; m.dispose=function(){this.A=!0};m.Ka=function(){return this.A};m.cd=function(){return{}};var to=function(a,b,c){this.l=c===void 0?0:c;this.j=a;this.g=b==null?"":b},uo=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}},vo=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 Co=function(a){var b=[],c=[];Gb(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)},Do=function(a){a=a.toString();wg();rg(C,a)};var Eo=function(){this.g=0};function Fo(a){a&&typeof a.dispose=="function"&&a.dispose()};var L=function(){this.N=this.N;this.J=this.J};L.prototype.N=!1;L.prototype.Ka=function(){return this.N};L.prototype.dispose=function(){this.N||(this.N=!0,this.P())};L.prototype[Symbol.dispose]=function(){this.dispose()};var M=function(a,b){Go(a,Sa(Fo,b))},Go=function(a,b){a.N?b():(a.J||(a.J=[]),a.J.push(b))};L.prototype.P=function(){if(this.J)for(;this.J.length;)this.J.shift()()};var Ho=function(a,b,c){Za(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 wo;g.add("id","av-js");g.add("type","verif");g.add("vtype",d.A);d=ug(Eo);g.add("i",d.g++);g.add("adk",e);yo(g,f);e=new Bo(g);Do(e)}})};var Io=function(){this.j=this.l=this.o=this.g=0},Jo=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 Ko=[1,.75,.5,.3,0],Lo=function(a){this.j=a=a===void 0?Ko:a;this.g=bb(this.j,function(){return new Io})},No=function(a,b){return Mo(a,function(c){return c.g},b===void 0?!0:b)},Po=function(a,b){return Oo(a,b,function(c){return c.g})},Qo=function(a,b){return Mo(a,function(c){return c.l},b===void 0?!0:b)},Ro=function(a,b){return Oo(a,b,function(c){return c.l})},So=function(a,b){return Oo(a,b,function(c){return c.j})},To=function(a){Za(a.g,function(b){b.j=0})},Uo=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;Jo(a.g[f],g&&k,e,!g||h)}},Mo=function(a,b,c){a=bb(a.g,function(d){return b(d)});return c?a:Vo(a)},Oo=function(a,b,c){var d=ib(a.j,function(e){return b<=e});return d==-1?0:c(a.g[d])},Vo=function(a){return bb(a,function(b,c,d){return c>0?d[c]-d[c-1]:d[c]})};var Wo=function(){this.l=new Lo;this.Y=this.T=0;this.ba=new Io;this.G=this.B=-1;this.oa=1E3;this.qa=new Lo([1,.9,.8,.7,.6,.5,.4,.3,.2,.1,0]);this.aa=this.K=-1},Xo=function(a,b){return Qo(a.l,b===void 0?!0:b)}; Wo.prototype.N=function(a,b,c,d){this.B=this.B!=-1?Math.min(this.B,b.ma):b.ma;this.G=Math.max(this.G,b.ma);this.K=this.K!=-1?Math.min(this.K,b.rb):b.rb;this.aa=Math.max(this.aa,b.rb);Uo(this.qa,b.rb,c.rb,b.g,a,d);this.T+=a;b.ma===0&&(this.Y+=a);Uo(this.l,b.ma,c.ma,b.g,a,d);c=d||c.Rd!=b.Rd?c.isVisible()&&b.isVisible():c.isVisible();b=!b.isVisible()||b.g;Jo(this.ba,c,a,b)};Wo.prototype.Hc=function(){return this.ba.l>=this.oa};function Yo(a){a=a===void 0?B: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(oc&&oc.URL){var Zo=oc.URL,$o;if($o=!!Zo){var ap;a:{if(Zo){var bp=RegExp(".*[&#?]google_debug(=[^&]*)?(&.*)?$");try{var cp=bp.exec(decodeURIComponent(Zo));if(cp){ap=cp[1]&&cp[1].length>1?cp[1].substring(1):"true";break a}}catch(a){}}ap=""}$o=ap.length>0}Xm.Ri(!$o)}var dp=function(a,b,c,d){var e=e===void 0?!1:e;c=an(d,c);rf(a,b,c,{capture:e})};var ep=new ln(0,0,0,0);function fp(a,b){b=gp(b);return b===0?0:gp(a)/b}function gp(a){return Math.max(a.bottom-a.top,0)*Math.max(a.right-a.left,0)}function hp(a,b){if(!a||!b)return!1;for(var c=0;a!==null&&c++<100;){if(a===b)return!0;try{if(a=a.parentElement||a){var d=Ge(a),e=d&&Qe(d),f=e&&e.frameElement;f&&(a=f)}}catch(g){break}}return!1} function ip(a,b,c){if(!a||!b)return!1;b=nn(a.clone(),-b.left,-b.top);a=(b.left+b.right)/2;b=(b.top+b.bottom)/2;Jf(window.top)&&window.top&&window.top.document&&(window=window.top);if(!wn())return!1;a=window.document.elementFromPoint(a,b);if(!a)return!1;b=(b=(b=Ge(c))&&b.defaultView&&b.defaultView.frameElement)&&hp(b,a);var d=a===c;a=!d&&a&&ef(a,function(e){return e===c});return!(b||d||a)} function jp(a,b,c,d){return eo().l?!1:a.getWidth()<=0||a.getHeight()<=0?!0:c&&d?$m(208,function(){return ip(a,b,c)}):!1};var kp=new ln(0,0,0,0),mp=function(a,b,c){L.call(this);this.position=kp.clone();this.Dg=this.kg();this.ti=-2;this.eo=Date.now();this.Ek=-1;this.zg=b;this.yg=null;this.Ze=!1;this.Ng=null;this.opacity=-1;this.Qn=c;this.fo=!1;this.wi=function(){};this.Ik=function(){};this.vb=new ff;this.vb.pd=a;this.vb.g=a;this.Tb=!1;this.Gd={zi:null,yi:null};this.yk=!0;this.Df=null;this.ue=this.nn=!1;lc().N++;this.qb=this.fi();this.Ck=-1;this.la=null;this.Nj=this.kn=!1;this.da=new ec;nc(this.da);lp(this);this.Qn==1? hc(this.da,"od",1):hc(this.da,"od",0)};q(mp,L);mp.prototype.P=function(){this.vb.g&&(this.Gd.zi&&(sf(this.vb.g,"mouseover",this.Gd.zi),this.Gd.zi=null),this.Gd.yi&&(sf(this.vb.g,"mouseout",this.Gd.yi),this.Gd.yi=null));this.Df&&this.Df.dispose();this.la&&this.la.dispose();delete this.Dg;delete this.wi;delete this.Ik;delete this.vb.pd;delete this.vb.g;delete this.Gd;delete this.Df;delete this.la;delete this.da;L.prototype.P.call(this)};mp.prototype.dd=function(){return this.la?this.la.g:this.position}; mp.prototype.Vg=function(a){lc().Vg(a)};mp.prototype.Wg=function(a){lc().Wg(a)};var lp=function(a){a=a.vb.pd;var b;if(b=a&&a.getAttribute)b=/-[a-z]/.test("googleAvInapp")?!1:fe&&a.dataset?"googleAvInapp"in a.dataset:a.hasAttribute?a.hasAttribute("data-"+Nd()):!!a.getAttribute("data-"+Nd());b&&(eo().j=!0)};mp.prototype.uc=function(){return!1};mp.prototype.kg=function(){return new Wo};mp.prototype.Xa=function(){return this.Dg}; var np=function(a,b){b!=a.ue&&(a.ue=b,a=eo(),b?a.B++:a.B>0&&a.B--)},op=function(a,b){if(a.la){if(b.getName()===a.la.getName())return;a.la.dispose();a.la=null}b=b.create(a.vb.g,a.da,a.uc());if(b=b!=null&&b.oh()?b:null)a.la=b},pp=function(a,b,c){if(!a.yg||a.zg==-1||b.getTimestamp()===-1||a.yg.getTimestamp()===-1)return 0;a=b.getTimestamp()-a.yg.getTimestamp();return a>c?0:a};mp.prototype.Lj=function(a){return pp(this,a,1E4)}; var qp=function(a,b,c){if(a.la){a.la.xc();var d=a.la.D,e=d.l,f=e.g;if(d.A!=null){var g=d.j;a.Ng=new ge(g.left-f.left,g.top-f.top)}f=a.bh()?Math.max(d.g,d.o):d.g;g={};e.volume!==null&&(g.volume=e.volume);e=a.Lj(d);a.yg=d;a.Ui(f,b,c,!1,g,e,d.C)}},rp=function(a){if(a.Ze&&a.Df){var b=ic(a.da,"od")==1,c=eo().g,d=a.Df,e=a.la?a.la.getName():"ns",f=a.Ng,g=new he(c.getWidth(),c.getHeight());c=a.bh();a={Zn:e,Ng:f,ro:g,bh:c,ma:a.qb.ma,no:b};if(b=d.j){b.xc();e=b.D;f=e.l.g;var h=g=null;e.A!=null&&f&&(g=e.j,g= new ge(g.left-f.left,g.top-f.top),h=new he(f.right-f.left,f.bottom-f.top));e=c?Math.max(e.g,e.o):e.g;c={Zn:b.getName(),Ng:g,ro:h,bh:c,no:!1,ma:e}}else c=null;c&&Ho(d,a,c)}};m=mp.prototype;m.Ui=function(a,b,c,d,e,f,g){this.Tb||(this.Ze&&(a=this.zh(a,c,e,g),d=d&&this.qb.ma>=(this.Rd()?.3:.5),this.Vi(f,a,d),this.zg=b,a.ma>0&&-1===this.Ck&&(this.Ck=b),this.Ek==-1&&this.Hc()&&(this.Ek=b),this.ti==-2&&(this.ti=gp(this.dd())?a.ma:-1),this.qb=a),this.wi(this))}; m.Vi=function(a,b,c){this.Xa().N(a,b,this.qb,c)};m.fi=function(){return new zb};m.zh=function(a,b,c,d){c=this.fi();c.g=b;b=wg().j;b=wf()?-1:b.isVisible()?0:1;c.j=b;c.ma=this.Fh(a);c.Rd=this.Rd();c.rb=d;return c};m.Fh=function(a){return this.opacity===0&&ic(this.da,"opac")===1?0:a};m.Rd=function(){return!1};m.bh=function(){return this.kn||this.nn};m.Kb=function(){return 0};m.Hc=function(){return this.Dg.Hc()}; m.Mj=function(){var a=this.Ze;a=(this.Nj||this.Ka())&&!a;var b=lc().l!==2||this.fo;return this.Tb||b&&a?2:this.Hc()?4:3};m.hg=function(){return 0};var sp=function(a,b,c){b&&(a.wi=b);c&&(a.Ik=c)};var tp=function(){};tp.prototype.next=function(){return up};var up={done:!0,value:void 0};tp.prototype.ee=function(){return this};var vp=function(){this.o=this.g=this.l=this.j=this.A=0},wp=function(a){var b={};b=(b.ptlt=Ta()-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 xp=function(){zb.call(this);this.fullscreen=!1;this.volume=void 0;this.l=!1;this.mediaTime=-1};q(xp,zb);var yp=function(a){return Un(a.volume)&&a.volume>0};var Ap=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 zp(f,b,c)}},Bp=function(a,b){return function(c){return b(c)?c[a]:void 0}},Cp=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 Dp=Cp([void 0,1,2,3,4,8,16]),Ep=Cp([void 0,4,8,16]),Fp={sv:"sv",v:"v",cb:"cb",e:"e",nas:"nas",msg:"msg","if":"if",sdk:"sdk",p:"p",p0:Bp("p0",Ep),p1:Bp("p1",Ep),p2:Bp("p2",Ep),p3:Bp("p3",Ep),cp:"cp",tos:"tos",mtos:"mtos",amtos:"amtos",mtos1:Ap("mtos1",[0,2,4],!1,Ep),mtos2:Ap("mtos2",[0,2,4],!1,Ep),mtos3:Ap("mtos3",[0,2,4],!1,Ep),mcvt:"mcvt",ps:"ps",scs:"scs",bs:"bs",vht:"vht",mut:"mut",a:"a",a0:Bp("a0",Ep),a1:Bp("a1",Ep),a2:Bp("a2",Ep),a3:Bp("a3",Ep),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:Bp("c0",Ep),c1:Bp("c1",Ep),c2:Bp("c2",Ep),c3:Bp("c3",Ep),mc:"mc",nc:"nc",mv:"mv",nv:"nv",qmt:Bp("qmtos",Dp),qnc:Bp("qnc",Dp),qmv:Bp("qmv",Dp),qnv:Bp("qnv",Dp), 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:Bp("ss0",Ep),ss1:Bp("ss1",Ep),ss2:Bp("ss2",Ep),ss3:Bp("ss3",Ep),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",tm:"tm",tu:"tu"},Gp=Object.assign({},Fp,{avid:function(a){return function(){return a}}("audio"),avas:"avas",vs:"vs"}),Hp={atos:"atos",avt:Ap("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 Ip=function(){this.j=this.g=""};var Jp=function(){},Kp=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 Yb(c,a);return Ao(yo(new wo,c))};var Lp=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}; Lp.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 Mp=function(a){var b=Mb(a.j),c=0,d;for(d in a.g)jb(b,d)&&a.g[d]==1&&(c+=a.j[d][1],a.g[d]=2);return c},Np=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 Op=function(){this.g=this.j=0};Op.prototype.getValue=function(){return this.j};var Pp=function(a,b,c){b>=32||(a.g&1<=.5;Un(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);Uo(this.j,b.ma,c.ma,b.g,a,d,e);Jo(this.g,!0,a);Jo(this.A,e,a);Jo(this.F,c.fullscreen,a);Jo(this.Fa,e&&!f,a);a=Math.floor(b.mediaTime/1E3);Pp(this.R,a,b.isVisible());Pp(this.ia,a,b.ma>=1);Pp(this.ea,a,yp(b))}};var Sp=function(){this.l=!1};Sp.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 Tp=function(a,b){this.l=!1;this.o=a;this.N=b;this.A=0};q(Tp,Sp);Tp.prototype.g=function(){return!0};Tp.prototype.C=function(){return!1};Tp.prototype.getId=function(){var a=this,b=Qb(function(c){return c==a.o});return un[b].toString()};Tp.prototype.toString=function(){var a="";this.C()&&(a+="c");this.l&&(a+="s");this.A>0&&(a+=":"+this.A);return this.getId()+a};var Up=function(a,b){Tp.call(this,a,b);this.B=[]};q(Up,Tp);Up.prototype.j=function(a,b){b=b===void 0?null:b;b!=null&&this.B.push(b);Tp.prototype.j.call(this,a)};var Vp=function(){};var Wp=function(){};q(Wp,Vp);Wp.prototype.j=function(){return null};Wp.prototype.l=function(){return[]};var Xp=function(a,b,c,d){qo.call(this,a,b,c,d)};q(Xp,qo);m=Xp.prototype;m.Ah=function(){if(this.element){var a=this.element,b=this.j.g.l;try{try{var c=Sn(a.getBoundingClientRect())}catch(l){c=new ln(0,0,0,0)}var d=c.right-c.left,e=c.bottom-c.top,f=Kn(a,b),g=f.x,h=f.y;var k=new ln(Math.round(h),Math.round(g+d),Math.round(h+e),Math.round(g))}catch(l){k=ep.clone()}this.l=k;this.g=ro(this,this.l)}};m.xj=function(){this.C=this.j.o.g}; m.Oj=function(a){var b=ic(this.da,"od")==1;return jp(a,this.C,this.element,b)};m.yj=function(){this.timestamp=jn()}; m.xc=function(){this.yj();this.Ah();if(this.element&&typeof this.element.videoWidth==="number"&&typeof this.element.videoHeight==="number"){var a=this.element;var b=new he(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.xj(); a=this.g;c=this.C;a=a.left<=c.right&&c.left<=a.right&&a.top<=c.bottom&&c.top<=a.bottom?new ln(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 ln(0,0,0,0);c=a.top>=a.bottom||a.left>=a.right?new ln(0,0,0,0):a;a=this.j.o;b=e=d=0;if((this.g.bottom-this.g.top)*(this.g.right-this.g.left)>0)if(this.Oj(c))c=new ln(0,0,0,0);else{d=eo().A;b=new ln(0,d.height,d.width,0);var f;d=fp(c,(f=this.A)!=null?f:this.g);e=fp(c,eo().g);b=fp(c,b)}f=c.top>=c.bottom|| c.left>=c.right?new ln(0,0,0,0):nn(c,-this.g.left,-this.g.top);fo()||(e=d=0);this.D=new pn(a,this.element,this.g,f,d,e,this.timestamp,b)};m.getName=function(){return this.j.getName()};var Yp=new ln(0,0,0,0),Zp=function(a,b,c){qo.call(this,null,a,b,c);this.J=a.isActive();this.B=0};q(Zp,Xp);m=Zp.prototype;m.oh=function(){this.o();return!0};m.fd=function(){Xp.prototype.xc.call(this)};m.yj=function(){};m.Ah=function(){};m.xc=function(){this.o();Xp.prototype.xc.call(this)};m.qe=function(a){a=a.isActive();a!==this.J&&(a?this.o():(eo().g=new ln(0,0,0,0),this.g=new ln(0,0,0,0),this.C=new ln(0,0,0,0),this.timestamp=-1));this.J=a};function $p(a){return[a.top,a.left,a.bottom,a.right]} var aq={},bq=(aq.firstquartile=0,aq.midpoint=1,aq.thirdquartile=2,aq.complete=3,aq),cq=function(a,b,c,d,e,f){f=f===void 0?new Wp:f;mp.call(this,b,c,d);this.Fi=e;this.Nh=0;this.Ma={};this.za=new Lp;this.Qk={};this.Ra="";this.vd=null;this.Hb=!1;this.g=[];this.Ic=f.j();this.C=f.l();this.A=null;this.o=-1;this.ea=this.F=void 0;this.K=this.G=0;this.R=-1;this.Ta=this.qa=!1;this.aa=this.D=this.j=this.Me=this.Fb=0;this.Ib=this.ba=-1;this.ib=0;this.Fa=new Lo;this.T=this.ia=this.W=0;this.oa=-1;this.Pa=0;this.B= lf;this.L=[this.kg()];this.hc=2;this.ce={};this.ce.pause="p";this.ce.resume="r";this.ce.skip="s";this.ce.mute="m";this.ce.unmute="um";this.ce.exitfullscreen="ef";this.l=null;this.Ua=this.Va=!1;this.fc=Math.floor(Date.now()/1E3-1704067200);this.Y=0};q(cq,mp);cq.prototype.uc=function(){return!0};var dq=function(a){a.Nj=!0;a.Pa!=0&&(a.Pa=3)},eq=function(a){return a===void 0?a:Number(a)?Rn(a,3):0};m=cq.prototype;m.Lj=function(a){return pp(this,a,Math.max(1E4,this.o/3))}; m.Ui=function(a,b,c,d,e,f,g){var h=this,k=this.B(this)||{};Yb(k,e);this.o=k.duration||this.o;this.F=k.isVpaid||this.F;this.ea=k.isYouTube||this.ea;wg();this.Ua=!1;e=fq(this,b);gq(this)===1&&(f=e);mp.prototype.Ui.call(this,a,b,c,d,k,f,g);this.Ic&&this.Ic.l&&Za(this.C,function(l){l.j(h)})}; m.Vi=function(a,b,c){mp.prototype.Vi.call(this,a,b,c);hq(this).N(a,b,this.qb,c);this.Ta=yp(this.qb)&&yp(b);this.R==-1&&this.qa&&(this.R=this.Xa().g.g);this.za.l=0;a=this.Hc();b.isVisible()&&this.za.reportEvent("vs");a&&this.za.reportEvent("vw");Un(b.volume)&&this.za.reportEvent("am");yp(b)?this.za.reportEvent("a"):this.za.reportEvent("mut");this.ue&&this.za.reportEvent("f");b.j!=-1&&(this.za.reportEvent("bm"),b.j==1&&(this.za.reportEvent("b"),yp(b)&&this.za.reportEvent("umutb")));yp(b)&&b.isVisible()&& this.za.reportEvent("avs");this.Ta&&a&&this.za.reportEvent("avw");b.ma>0&&this.za.reportEvent("pv");iq(this,this.Xa().g.g,!0)&&this.za.reportEvent("gdr");Ro(this.Xa().l,1)>=2E3&&this.za.reportEvent("pmx");this.Ua&&this.za.reportEvent("tvoff")};m.kg=function(){return new Qp};m.Xa=function(){return this.Dg};var hq=function(a,b){return a.L[b!=null&&b=0?c:-1;return a}; var gq=function(a){var b=!!ic(lc().da,"umt");return a.F||!b&&!a.ea?0:1},fq=function(a,b){a.Pa==2?b=0:a.zg==-1?b=0:(b-=a.zg,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.ia+=Math.abs(d);d!=0&&(a.K=0);a.oa==-1&&d>0&&(a.oa=gn>=0?jn()-gn:-1);a.G=c;return e};cq.prototype.Fh=function(a){return eo().N?0:this.ue?1:mp.prototype.Fh.call(this,a)};cq.prototype.Kb=function(){return 1}; cq.prototype.getDuration=function(){return this.o}; var jq=function(a,b){db(a.C,function(c){return c.o==b.o})||a.C.push(b)},kq=function(a){var b=Po(a.Xa().j,1);return iq(a,b)},iq=function(a,b,c){return b>=15E3?!0:a.qa?(c===void 0?0:c)?!0:a.o>0?b>=a.o/2:a.R>0?b>=a.R:!1:!1},lq=function(a){var b={},c=eo();b.insideIframe=c.l;b.unmeasurable=a.Tb;var d=a.dd(),e=a.la?a.la.l:null;b.position=d;e&&!mn(d,e)&&(b.containerPosition=e);b.exposure=a.qb.ma;b.documentSize=c.o;b.viewportSize=new he(c.g.getWidth(),c.g.getHeight());a.l!=null&&(b.presenceData=a.l);b.screenShare= a.qb.rb;return b},mq=function(a){var b=Rn(a.qb.ma,2),c=a.za.l,d=a.qb,e=hq(a),f=eq(e.o),g=eq(e.C),h=eq(d.volume),k=Rn(e.B,2),l=Rn(e.G,2),p=Rn(d.ma,2),n=Rn(e.K,2),r=Rn(e.aa,2);d=Rn(d.rb,2);var u=a.dd().clone().round();a=a.la&&a.la.l?(a.la?a.la.l:null).clone().round():null;e=Xo(e,!1);return{qo:b,mf:c,Hg:f,Ag:g,Se:h,Ig:k,Bg:l,ma:p,Jg:n,Cg:r,rb:d,position:u,We:a,Kg:e}},oq=function(a,b){nq(a.g,b,function(){return{qo:0,mf:void 0,Hg:-1,Ag:-1,Se:-1,Ig:-1,Bg:-1,ma:-1,Jg:-1,Cg:-1,rb:-1,position:void 0,We:void 0, Kg:[]}});a.g[b]=mq(a)},nq=function(a,b,c){for(var d=a.length;d0?1:0;n.atos=No(l.j);n.ssb=No(l.qa,!1);n.amtos=Qo(l.j,!1);n.uac=a.Fb;n.vpt=l.g.g;p=="nio"&&(n.nio=1,n.avms="nio");n.gmm="4";n.gdr=iq(a,l.g.g,!0)?1:0;n.efpf=a.hc;if(p== "gsv"||p=="nis")p=a.la,p.B>0&&(n.nnut=p.B);n.tcm=gq(a);n.nmt=a.ia;n.bt=a.T;n.pst=a.oa;n.vpaid=a.F;n.dur=a.o;n.vmtime=a.G;n.is=a.za.l;a.g.length>=1&&(n.i0=a.g[0].mf,n.a0=[a.g[0].Se],n.c0=[a.g[0].ma],n.ss0=[a.g[0].rb],p=a.g[0].position,f=a.g[0].We,n.p0=p?$p(p):void 0,p&&f&&!mn(f,p)&&(n.cp0=$p(f)));a.g.length>=2&&(n.i1=a.g[1].mf,n.a1=sq(a.g[1].Hg,a.g[1].Se,a.g[1].Ag),n.c1=sq(a.g[1].Ig,a.g[1].ma,a.g[1].Bg),n.ss1=sq(a.g[1].Jg,a.g[1].rb,a.g[1].Cg),p=a.g[1].position,f=a.g[1].We,n.p1=p?$p(p):void 0,p&&f&& !mn(f,p)&&(n.cp1=$p(f)),n.mtos1=a.g[1].Kg);a.g.length>=3&&(n.i2=a.g[2].mf,n.a2=sq(a.g[2].Hg,a.g[2].Se,a.g[2].Ag),n.c2=sq(a.g[2].Ig,a.g[2].ma,a.g[2].Bg),n.ss2=sq(a.g[2].Jg,a.g[2].rb,a.g[2].Cg),p=a.g[2].position,f=a.g[2].We,n.p2=p?$p(p):void 0,p&&f&&!mn(f,p)&&(n.cp2=$p(f)),n.mtos2=a.g[2].Kg);a.g.length>=4&&(n.i3=a.g[3].mf,n.a3=sq(a.g[3].Hg,a.g[3].Se,a.g[3].Ag),n.c3=sq(a.g[3].Ig,a.g[3].ma,a.g[3].Bg),n.ss3=sq(a.g[3].Jg,a.g[3].rb,a.g[3].Cg),p=a.g[3].position,f=a.g[3].We,n.p3=p?$p(p):void 0,p&&f&&!mn(f, p)&&(n.cp3=$p(f)),n.mtos3=a.g[3].Kg);n.cs=Np(a.za);b&&(n.ic=Mp(a.za),n.dvpt=l.g.j,n.dvs=So(l.l,.5),n.dfvs=So(l.l,1),n.davs=So(l.j,.5),n.dafvs=So(l.j,1),c&&(l.g.j=0,To(l.l),To(l.j)),a.Hc()&&(n.dtos=l.L,n.dav=l.D,n.dtoss=a.Nh+1,c&&(l.L=0,l.D=0,a.Nh++)),n.dat=l.A.j,n.dft=l.F.j,c&&(l.A.j=0,l.F.j=0));n.ps=[h.o.width,h.o.height];n.bs=[h.g.getWidth(),h.g.getHeight()];n.scs=[h.A.width,h.A.height];n.dom=h.domain;a.Me&&(n.vds=a.Me);if(a.C.length>0||a.Ic)b=pb(a.C),a.Ic&&b.push(a.Ic),n.pings=bb(b,function(r){return r.toString()}); b=bb(ab(a.C,function(r){return r.C()}),function(r){return r.getId()});qb(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.la?a.la.getName():"ns";a.la&&Yb(n,a.la.cd());k.g&&(n.femt=a.ba,n.femvt=a.Ib,n.emc=a.ib,n.emb=No(a.Fa,!1),n.emuc=a.W,n.avms="exc");d?(n.c=Rn(a.qb.ma,2),n.ss=Rn(a.qb.rb,2)):n.tth=jn()-fn;n.mc=Rn(l.G,2);n.nc=Rn(l.B,2);n.mv=eq(l.C);n.nv=eq(l.o);n.lte=Rn(a.ti,2);d=hq(a,e);Xo(l);n.qmtos=Xo(d);n.qnc=Rn(d.B,2);n.qmv=eq(d.C);n.qnv=eq(d.o);n.qas=d.o>0?1:0;n.qi= a.Ra;n.avms||(n.avms="geo");n.psm=l.R.g;n.psv=l.R.getValue();n.psfv=l.ia.getValue();n.psa=l.ea.getValue();k=kc(k.da);k.length&&(n.veid=k);a.l&&Yb(n,wp(a.l));n.avas=a.hg();n.vs=a.Mj();n.co=tq(a);n.tm=l.T;n.tu=l.Y;return n},pq=function(a,b){if(jb(tn,b))return!0;var c=a.Ma[b];return c!==void 0?(a.Ma[b]=!0,!c):!1};cq.prototype.Mj=function(){return this.Tb?2:kq(this)?5:this.Hc()?4:3};cq.prototype.hg=function(){return this.Va?this.Xa().A.l>=2E3?4:3:2}; var tq=function(a){var b=a.Y.toString(10).padStart(2,"0");b=""+a.fc+b;a.Y<99&&a.Y++;return b};var uq=Ta(),xq=function(){this.g={};var a=Qe();vq(this,a,document);var b=wq();try{if("1"==b){for(var c=a.parent;c!=a.top;c=c.parent)vq(this,c,c.document);vq(this,a.top,a.top.document)}}catch(d){}},wq=function(){var a=document.documentElement;try{if(!Jf(Qe().top))return"2";var b=[],c=Qe(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"}},vq=function(a,b,c){dp(c,"mousedown",function(){return yq(a)},301); dp(b,"scroll",function(){return zq(a)},302);dp(c,"touchmove",function(){return Aq(a)},303);dp(c,"mousemove",function(){return Bq(a)},304);dp(c,"keydown",function(){return Cq(a)},305)},yq=function(a){Gb(a.g,function(b){b.l>1E5||++b.l})},zq=function(a){Gb(a.g,function(b){b.g>1E5||++b.g})},Aq=function(a){Gb(a.g,function(b){b.g>1E5||++b.g})},Cq=function(a){Gb(a.g,function(b){b.j>1E5||++b.j})},Bq=function(a){Gb(a.g,function(b){b.o>1E5||++b.o})};var Dq=function(){this.g=[];this.j=[]},Eq=function(a,b){return eb(a.g,function(c){return c.Ra==b})},Lq=function(a,b){return b?eb(a.g,function(c){return c.vb.pd==b}):null},Mq=function(a,b){return eb(a.j,function(c){return c.Kb()==2&&c.Ra==b})},Oq=function(){var a=Nq;return a.g.length==0?a.j:a.j.length==0?a.g:ob(a.j,a.g)};Dq.prototype.reset=function(){this.g=[];this.j=[]}; var Pq=function(a,b){a=b.Kb()==1?a.g:a.j;var c=fb(a,function(d){return d==b});return c!=-1?(a.splice(c,1),b.la&&b.la.N(),b.dispose(),!0):!1},Qq=function(a){var b=Nq;if(Pq(b,a)){switch(a.Kb()){case 0:var c=function(){return null};case 2:c=function(){return Mq(b,a.Ra)};break;case 1:c=function(){return Eq(b,a.Ra)}}for(var d=c();d;d=c())Pq(b,d)}},Rq=function(a){var b=Nq;a=ab(a,function(c){return!Lq(b,c.vb.pd)});b.g.push.apply(b.g,w(a))},Sq=function(a){var b=[];Za(a,function(c){db(Nq.g,function(d){return d.vb.pd=== c.vb.pd&&d.Ra===c.Ra})||(Nq.g.push(c),b.push(c))})},Nq=ug(Dq);var Tq=function(a,b,c,d){qo.call(this,a,b,c,d);this.o=this.B=0};q(Tq,qo);Tq.prototype.getName=function(){return"exc"};Tq.prototype.xc=function(){this.D=new pn(this.j.o,this.element,this.g,new ln(0,0,0,0),this.B,0,jn(),this.o)};var Uq=function(){so.call(this,new io(C,2))};q(Uq,so);Uq.prototype.getName=function(){return"exc"};Uq.prototype.ph=function(){return!0};Uq.prototype.de=function(){return!0};Uq.prototype.Oe=function(a,b,c){return new Tq(a,this.g,b,c)};var Vq=function(){this.g=this.j=null},Wq=function(a,b){if(a.j==null)return!1;var c=function(d,e){b(d,e)};a.g=eb(a.j,function(d){return d!=null&&d.ph()});a.g&&(a.g.init(c)?mo(a.g.g):b(a.g.g.oe(),a.g));return a.g!=null};var Yq=function(a){a=Xq(a);so.call(this,a.length?a[a.length-1]:new io(C,0));this.l=a;this.j=null};q(Yq,so);m=Yq.prototype;m.getName=function(){return(this.j?this.j:this.g).getName()};m.cd=function(){return(this.j?this.j:this.g).cd()};m.Cc=function(){return(this.j?this.j:this.g).Cc()};m.init=function(a){var b=!1;Za(this.l,function(c){c.G()&&(b=!0)});b&&(this.o=a,lo(this.g,this));return b};m.dispose=function(){Za(this.l,function(a){a.dispose()});so.prototype.dispose.call(this)}; m.ph=function(){return db(this.l,function(a){return a.F()})};m.de=function(){return db(this.l,function(a){return a.F()})};m.Oe=function(a,b,c){return new Xp(a,this.g,b,c)};m.fd=function(a){this.j=a.j};var Xq=function(a){if(!a.length)return[];a=ab(a,function(c){return c!=null&&c.F()});for(var b=1;bc.time?b:c},a[0])};m=$q.prototype;m.xc=function(){var a=br(this);a.length>0&&cr(this,a);Xp.prototype.xc.call(this)}; m.Ah=function(){};m.Oj=function(){return!1};m.xj=function(){};m.cd=function(){var a={};return Object.assign(this.j.cd(),(a.niot_obs=this.G,a.niot_cbk=this.F,a))};m.getName=function(){return"nio"};var er=function(a){a=a===void 0?C:a;so.call(this,new io(a,2))};q(er,so);er.prototype.getName=function(){return"nio"};er.prototype.de=function(){return!eo().j&&this.g.g.l.IntersectionObserver!=null};er.prototype.Oe=function(a,b,c){return new $q(a,this.g,b,c)};var gr=function(){var a=fr();io.call(this,C.top,a,"geo")};q(gr,io);gr.prototype.ea=function(){return eo().g};gr.prototype.F=function(){var a=fr();this.N!==a&&(this.g!=this&&a>this.g.N&&(this.g=this,jo(this)),this.N=a);return a==2};var fr=function(){lc();var a=eo();return a.l||a.j?0:2};var hr=function(){};var ir=function(){this.done=!1;this.g={Tl:0,mj:0,Cq:0,Ej:0,ii:-1,vm:0,sm:0,wm:0,Yn:0};this.A=null;this.C=!1;this.l=null;this.B=0;this.j=new go(this)},lr=function(){var a=jr;a.C||(a.C=!0,kr(a,function(){return a.o.apply(a,w(Ea.apply(0,arguments)))}),a.o())};ir.prototype.sample=function(){mr(this,Oq(),!1)}; var nr=function(){ug(hr);var a=ug(Vq);a.g!=null&&a.g.g?mo(a.g.g):$n(eo())},mr=function(a,b,c){if(!a.done&&(a.j.cancel(),b.length!=0)){a.l=null;try{nr();var d=jn();lc().J=d;if(ug(Vq).g!=null)for(var e=0;e=0?jn()-en:-1,h=jn();e.g.ii==-1&&(g=h);var k=eo(),l=lc(),p=jc(l.da),n=Oq();try{if(n.length>0){var r= k.g;r&&(p.bs=[r.getWidth(),r.getHeight()]);var u=k.o;u&&(p.ps=[u.width,u.height]);C.screen&&(p.scs=[C.screen.width,C.screen.height])}else p.url=encodeURIComponent(C.location.href.substring(0,512)),f.referrer&&(p.referrer=encodeURIComponent(f.referrer.substring(0,512)));p.tt=g;p.pt=en;p.bin=l.l;C.google_osd_load_pub_page_exp!==void 0&&(p.olpp=C.google_osd_load_pub_page_exp);p.deb=[1,e.g.Tl,e.g.mj,e.g.Ej,e.g.ii,0,e.j.j,e.g.vm,e.g.sm,e.g.wm,e.g.Yn,-1].join(";");p.tvt=or(e,h);k.j&&(p.inapp=1);if(C!== null&&C!=C.top){n.length>0&&(p.iframe_loc=encodeURIComponent(C.location.href.substring(0,512)));var t=k.J;p.is=[t.getWidth(),t.getHeight()]}}catch(x){p.error=1}jr.l=p}r=Wb(jr.l);u=lc().j;ic(u.l,"prf")==1?(t=new xm,e=u.g,f=0,e.g>-1&&(f=e.l.g.g()-e.g),t=Cj(t,1,ui(e.o+f),0),e=u.g,t=ek(t,5,e.g>-1?e.j+1:e.j),t=gk(t,2,u.j.g.o()),t=gk(t,3,u.j.g.l()),u=gk(t,4,u.j.g.j()),t={},u=(t.pf=Qg(u.g()),t)):u={};Yb(r,u);Yb(b,d,c,r,a())}])},jr=ug(ir);var sr=null,tr="",ur=!1,vr=function(){var a=sr||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 wr(){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 xr=function(){return"ima_html5_sdk".includes("ima_html5_sdk")?{ac:"ima",bc:null}:"ima_html5_sdk".includes("ima_native_sdk")?{ac:"nima",bc:null}:"ima_html5_sdk".includes("admob-native-video-javascript")?{ac:"an",bc:null}:"av.default_js_unreleased_RCxx".includes("cast_js_sdk")?{ac:"cast",bc:wr()}:"av.default_js_unreleased_RCxx".includes("youtube.player.web")?{ac:"yw",bc:wr()}:"av.default_js_unreleased_RCxx".includes("outstream_web_client")?{ac:"out",bc:wr()}:"av.default_js_unreleased_RCxx".includes("drx_rewarded_web")? {ac:"r",bc:wr()}:"av.default_js_unreleased_RCxx".includes("gam_native_web_video")?{ac:"n",bc:wr()}:"av.default_js_unreleased_RCxx".includes("admob_interstitial_video")?{ac:"int",bc:wr()}:{ac:"j",bc:null}},yr=xr().ac,zr=xr().bc;var Br=function(a,b){var c={sv:"966"};zr!==null&&(c.v=zr);c.cb=yr;c.nas=Nq.g.length;c.msg=a;b!==void 0&&(a=Ar(b))&&(c.e=un[a]);return c},Cr=function(a){return a.lastIndexOf("custom_metric_viewable",0)==0},Ar=function(a){var b=Cr(a)?"custom_metric_viewable":a.toLowerCase();return Qb(function(c){return c==b})};var Dr={To:"visible",Ho:"audible",Vp:"time",Wp:"timetype"},Er={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)}},Fr=function(){this.g=void 0;this.j=!1;this.l=0;this.o=-1;this.A="tos"},Gr=function(a){try{var b=a.split(",");return b.length>Mb(Dr).length?null:cb(b,function(c,d){d=d.toLowerCase().split("=");if(d.length!=2||Er[d[0]]=== void 0||!Er[d[0]](d[1]))throw Error("Entry ("+d[0]+", "+d[1]+") is invalid.");c[d[0]]=d[1];return c},{})}catch(c){return null}},Hr=function(a,b){if(a.g==void 0)return 0;switch(a.A){case "mtos":return a.j?Ro(b.j,a.g):Ro(b.l,a.g);case "tos":return a.j?Po(b.j,a.g):Po(b.l,a.g)}return 0};var Ir=function(a,b,c,d){Tp.call(this,b,d);this.B=a;this.J=c};q(Ir,Tp);Ir.prototype.getId=function(){return this.B};Ir.prototype.C=function(){return!0};Ir.prototype.g=function(a){var b=a.Xa(),c=a.getDuration();return db(this.J,function(d){if(d.g!=void 0)var e=Hr(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 Jr=function(){};q(Jr,Jp);Jr.prototype.g=function(a){var b=new Ip;b.g=Kp(a,Fp);b.j=Kp(a,Hp);return b};var Kr=function(a){Tp.call(this,"fully_viewable_audible_half_duration_impression",a)};q(Kr,Tp);Kr.prototype.g=function(a){return kq(a)};var Lr=function(a){this.g=a};q(Lr,Vp);var Mr=function(a,b){Tp.call(this,a,b)};q(Mr,Tp);Mr.prototype.g=function(a){return a.Xa().Hc()};var Nr=function(a){Up.call(this,"measurable_impression",a)};q(Nr,Up);Nr.prototype.g=function(a){var b=jb(this.B,ic(lc().da,"ovms"));return!a.Tb&&(a.Pa!=0||b)};var Or=function(){Lr.apply(this,arguments)};q(Or,Lr);Or.prototype.j=function(){return new Nr(this.g)};Or.prototype.l=function(){return[new Mr("viewable_impression",this.g),new Kr(this.g)]};var Pr=function(a,b,c){Zp.call(this,a,b,c)};q(Pr,Zp);Pr.prototype.o=function(){var a=Ja("ima.admob.getViewability"),b=ic(this.da,"queryid");typeof a==="function"&&b&&a(b)};Pr.prototype.getName=function(){return"gsv"};var Qr=function(a){a=a===void 0?C:a;so.call(this,new io(a,2))};q(Qr,so);Qr.prototype.getName=function(){return"gsv"};Qr.prototype.de=function(){var a=eo();lc();return a.j&&!1};Qr.prototype.Oe=function(a,b,c){return new Pr(this.g,b,c)};var Rr=function(a,b,c){Zp.call(this,a,b,c)};q(Rr,Zp);Rr.prototype.o=function(){var a=this,b=Ja("ima.bridge.getNativeViewability"),c=ic(this.da,"queryid");typeof b==="function"&&c&&b(c,function(d){Tb(d)&&a.B++;var e=d.opt_nativeViewVisibleBounds||{},f=d.opt_nativeViewHidden;a.g=Tn(d.opt_nativeViewBounds||{});var g=a.j.o;g.g=f?Yp.clone():Tn(e);a.timestamp=d.opt_nativeTime||-1;eo().g=g.g;d=d.opt_nativeVolume;d!==void 0&&(g.volume=d)})};Rr.prototype.getName=function(){return"nis"};var Sr=function(a){a=a===void 0?C:a;so.call(this,new io(a,2))};q(Sr,so);Sr.prototype.getName=function(){return"nis"};Sr.prototype.de=function(){var a=eo();lc();return a.j&&!1};Sr.prototype.Oe=function(a,b,c){return new Rr(this.g,b,c)};var Tr=function(){io.call(this,C,2,"mraid");this.ia=0;this.L=this.aa=!1;this.J=null;this.j=vn(this.l);this.o.g=new ln(0,0,0,0);this.oa=!1};q(Tr,io);Tr.prototype.F=function(){return this.j.Lb!=null};Tr.prototype.ba=function(){var a={};this.ia&&(a.mraid=this.ia);this.aa&&(a.mlc=1);a.mtop=this.j.Xn;this.J&&(a.mse=this.J);this.oa&&(a.msc=1);a.mcp=this.j.Zf;return a}; Tr.prototype.B=function(a){var b=Ea.apply(1,arguments);try{return this.j.Lb[a].apply(this.j.Lb,b)}catch(c){bn(538,c,.01,function(d){d.method=a})}};var Ur=function(a,b,c){a.B("addEventListener",b,c)}; Tr.prototype.G=function(){var a=this;if(this.Aa)return!this.hf();this.Aa=!0;if(this.j.Zf===2)return this.J="ng",ko(this,"w"),!1;if(this.j.Zf===1)return this.J="mm",ko(this,"w"),!1;eo().D=!0;this.l.document.readyState&&this.l.document.readyState=="complete"?Vr(this):dp(this.l,"load",function(){wg().setTimeout(an(292,function(){return Vr(a)}),100)},292);return!0}; var Vr=function(a){lc().C=!!a.B("isViewable");Ur(a,"viewableChange",Wr);a.B("getState")==="loading"?Ur(a,"ready",Xr):Yr(a)},Yr=function(a){typeof a.j.Lb.AFMA_LIDAR==="string"?(a.aa=!0,Zr(a)):(a.j.Zf=3,a.J="nc",ko(a,"w"))},Zr=function(a){a.L=!1;var b=ic(lc().da,"rmmt")==1,c=!!a.B("isViewable");(b?!c:1)&&wg().setTimeout(an(524,function(){a.L||($r(a),bn(540,Error()),a.J="mt",ko(a,"w"))}),500);as(a);Ur(a,a.j.Lb.AFMA_LIDAR,bs)},as=function(a){var b=ic(lc().da,"sneio")==1,c=a.j.Lb.AFMA_LIDAR_EXP_1!==void 0, d=a.j.Lb.AFMA_LIDAR_EXP_2!==void 0;(b=b&&d)&&(a.j.Lb.AFMA_LIDAR_EXP_2=!0);c&&(a.j.Lb.AFMA_LIDAR_EXP_1=!b)},$r=function(a){a.B("removeEventListener",a.j.Lb.AFMA_LIDAR,bs);a.aa=!1};Tr.prototype.T=function(){var a=eo(),b=cs(this,"getMaxSize");a.g=new ln(0,b.width,b.height,0)};Tr.prototype.Y=function(){eo().A=cs(this,"getScreenSize")}; var cs=function(a,b){if(a.B("getState")==="loading")return new he(-1,-1);b=a.B(b);if(!b)return new he(-1,-1);a=parseInt(b.width,10);b=parseInt(b.height,10);return isNaN(a)||isNaN(b)?new he(-1,-1):new he(a,b)};Tr.prototype.dispose=function(){$r(this);io.prototype.dispose.call(this)}; var Xr=function(){try{var a=ug(Tr);a.B("removeEventListener","ready",Xr);Yr(a)}catch(b){bn(541,b)}},bs=function(a,b){try{var c=ug(Tr);c.L=!0;var d=a?new ln(a.y,a.x+a.width,a.y+a.height,a.x):new ln(0,0,0,0);var e=jn(),f=fo();var g=new on(e,f,c);g.g=d;g.volume=b;c.fd(g)}catch(h){bn(542,h)}},Wr=function(a){var b=lc(),c=ug(Tr);a&&!b.C&&(b.C=!0,c.oa=!0,c.J&&ko(c,"w",!0))};var ds=function(a){this.key=a;this.defaultValue=!1;this.valueType="boolean"};var es=new ds("45381479"),fs=new ds("45378663");var hs=function(){this.Aa=!1;this.K="";this.l=!1;this.g=this.j=null;var a={};this.R=(a.start=this.Wm,a.firstquartile=this.Rm,a.midpoint=this.Tm,a.thirdquartile=this.Xm,a.complete=this.Om,a.error=this.Pm,a.pause=this.Ei,a.resume=this.lk,a.skip=this.Vm,a.viewable_impression=this.lc,a.mute=this.Ke,a.unmute=this.Ke,a.fullscreen=this.Sm,a.exitfullscreen=this.Qm,a.fully_viewable_audible_half_duration_impression=this.lc,a.measurable_impression=this.lc,a.abandon=this.Ei,a.engagedview=this.lc,a.impression= this.lc,a.creativeview=this.lc,a.progress=this.Ke,a.custom_metric_viewable=this.lc,a.bufferstart=this.Ei,a.bufferfinish=this.lk,a.audio_measurable=this.lc,a.audio_audible=this.lc,a);a={};this.Y=(a.overlay_resize=this.Um,a.abandon=this.gi,a.close=this.gi,a.collapse=this.gi,a.overlay_unmeasurable_impression=function(b){return rq(b,"overlay_unmeasurable_impression",fo())},a.overlay_viewable_immediate_impression=function(b){return rq(b,"overlay_viewable_immediate_impression",fo())},a.overlay_unviewable_impression= function(b){return rq(b,"overlay_unviewable_impression",fo())},a.overlay_viewable_end_of_session_impression=function(b){return rq(b,"overlay_viewable_end_of_session_impression",fo())},a);lc().l=3;gs(this);this.D=null};hs.prototype.o=function(a){np(a,!1);Qq(a)};hs.prototype.A=function(){};var is=function(a,b,c,d){a=a.B(null,d,!0,b);a.A=c;Rq([a]);return a}; hs.prototype.B=function(a,b,c,d){var e=this;a=new cq(C,a,c?b:-1,7,this.Gh(),this.Dj());a.Ra=d;gc(a.da);hc(a.da,"queryid",a.Ra);a.Vg(this.K);sp(a,function(){return e.aa.apply(e,w(Ea.apply(0,arguments)))},function(){return e.T.apply(e,w(Ea.apply(0,arguments)))});(d=ug(Vq).g)&&op(a,d);this.D&&(a.la&&(a.la.A=this.D),this.D=null);a.vb.pd&&ug(hr);return a}; var js=function(a,b,c){vb(b);var d=a.g;Za(b,function(e){var f=bb(e.g,function(g){var h=Gr(g);if(h==null)g=null;else if(g=new Fr,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",l=sc(h.time,"%")?"%":"ms";h=parseInt(h.time,10);l=="%"&&(h/=100);l=="ms"?(g.l=h,g.o=-1):(g.l=-1,g.o=h);g.A=k===void 0?"tos":k}return g});db(f,function(g){return g==null})||jq(c,new Ir(e.id,e.event,f,d))})},ks=function(){var a=[],b=lc();b.g||a.push(ug(gr)); ic(b.da,"mvp_lv")&&a.push(ug(Tr));var c=[new Qr,new Sr];b.g&&c.push(new Uq);c.push(new Yq(a));b.g||c.push(new er(C));return c},ms=function(a){if(!a.Aa){a.Aa=!0;try{var b=jn(),c=lc(),d=eo();en=b;c.A=79463069;a.j!=="o"&&(sr=Wf(C));if(xg()){jr.g.mj=0;jr.g.ii=jn()-b;var e=ks(),f=ug(Vq);f.j=e;Wq(f,function(){ls()})?jr.done||(qr(),lo(f.g.g,a),lr()):d.l&&!c.g?ls():lr()}else ur=!0}catch(g){throw Nq.reset(),g;}}},ns=function(a){jr.j.cancel();tr=a;jr.done=!0},os=function(a){if(a.j)return a.j;var b=ug(Vq).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},ps=function(a,b,c){if(a.g==null)return b.Me|=4,!1;a=a.g.report(c,b);b.Me|=a;return a==0};hs.prototype.qe=function(a){switch(a.Cc()){case 0:if(a=ug(Vq).g)a=a.g,kb(a.C,this),a.D&&this.uc()&&oo(a);ls();break;case 2:lr()}};hs.prototype.fd=function(){};hs.prototype.uc=function(){return!1};var ls=function(){var a=[new er(C)],b=ug(Vq);b.j=a;Wq(b,function(){ns("i")})?jr.done||(qr(),lr()):ns("i")}; hs.prototype.T=function(a,b){a.Tb=!0;switch(a.Kb()){case 1:qs(a,b);break;case 2:this.Ki(a)}this.Oi(a)};var qs=function(a,b){if(!a.Hb){var c=rq(a,"start",fo());c=a.Fi.g(c).g;var d={id:"lidarv"};d.r=b;d.sv="966";zr!==null&&(d.v=zr);Bf(c,function(e,f){return d[e]=e=="mtos"||e=="tos"?f:encodeURIComponent(f)});b=vr();Bf(b,function(e,f){return d[e]=encodeURIComponent(f)});b="//pagead2.googlesyndication.com/pagead/gen_204?"+Ao(yo(new wo,d));Do(b);a.Hb=!0}};m=hs.prototype; m.Wm=function(a){var b=a.B(a);b&&(b=b.volume,a.Va=Un(b)&&b>0);oq(a,0);return rq(a,"start",fo())};m.Ke=function(a,b,c){mr(jr,[a],!fo());return this.lc(a,b,c)};m.lc=function(a,b,c){return rq(a,c,fo())};m.Rm=function(a){return rs(a,"firstquartile",1)};m.Tm=function(a){a.qa=!0;return rs(a,"midpoint",2)};m.Xm=function(a){return rs(a,"thirdquartile",3)};m.Om=function(a){var b=rs(a,"complete",4);dq(a);return b};m.Pm=function(a){a.Pa=3;return rq(a,"error",fo())}; var rs=function(a,b,c){mr(jr,[a],!fo());oq(a,c);c!=4&&nq(a.L,c,a.kg);return rq(a,b,fo())};m=hs.prototype;m.lk=function(a,b,c){b=fo();a.Pa!=2||b||(a.Xa().J=jn());mr(jr,[a],!b);a.Pa==2&&(a.Pa=1);return rq(a,c,b)};m.Vm=function(a,b){b=this.Ke(a,b||{},"skip");dq(a);return b};m.Sm=function(a,b){np(a,!0);return this.Ke(a,b||{},"fullscreen")};m.Qm=function(a,b){np(a,!1);return this.Ke(a,b||{},"exitfullscreen")}; m.Ei=function(a,b,c){b=a.Xa();b.W=Rp(b,jn(),a.Pa!=1);mr(jr,[a],!fo());a.Pa==1&&(a.Pa=2);return rq(a,c,fo())};m.Um=function(a){mr(jr,[a],!fo());return a.j()};m.gi=function(a){mr(jr,[a],!fo());this.kk(a);dq(a);return a.j()}; var gs=function(a){rr(function(){var b=ts();a.j!=null&&(b.sdk=a.j);var c=ug(Vq);c.g!=null&&(b.avms=c.g.getName());return b})},us=function(a,b,c,d){var e=Lq(Nq,c);e!==null&&e.Ra!==b&&(a.o(e),e=null);e||(b=a.B(c,jn(),!1,b),Nq.j.length==0&&(lc().A=79463069),Sq([b]),e=b,e.A=os(a),d&&(e.vd=d));return e};hs.prototype.aa=function(){};var ws=function(a,b){b.D=0;for(var c in qn)a[c]==null&&(b.D|=qn[c]);vs(a,"currentTime");vs(a,"duration")};m=hs.prototype;m.Ki=function(){};m.kk=function(){};m.fj=function(){}; m.Oi=function(){};m.Hh=function(){};m.Dj=function(){this.g||(this.g=this.Hh());return this.g==null||this.l?new Wp:new Or(this.g)};m.Gh=function(){return new Jr};var vs=function(a,b){var c=a[b];c!==void 0&&c>0&&(a[b]=Math.floor(c*1E3))},ts=function(){var a=eo(),b={},c={},d={};return Object.assign({},(b.sv="966",b),zr!==null&&(c.v=zr,c),(d["if"]=a.l?"1":"0",d.nas=String(Nq.g.length),d))};var xs=function(a){Tp.call(this,"audio_audible",a)};q(xs,Tp);xs.prototype.g=function(a){return a.hg()==4};var ys=function(a){Up.call(this,"audio_measurable",a)};q(ys,Up);ys.prototype.g=function(a){a=a.hg();return a==3||a==4};var zs=function(){Lr.apply(this,arguments)};q(zs,Lr);zs.prototype.j=function(){return new ys(this.g)};zs.prototype.l=function(){return[new xs(this.g)]};var As=function(){};q(As,Jp);As.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 Ip;b.g=Kp(a,Gp);b.j=Kp(a,Hp);return b};var Bs=function(a){this.j=a};Bs.prototype.report=function(a,b){var c=this.g(b);if(typeof c==="function"){var d={};var e={};d=Object.assign({},zr!==null&&(d.v=zr,d),(e.sv="966",e.cb=yr,e.e=Cs(a),e));e=rq(b,a,fo());Yb(d,e);b.Qk[a]=e;d=b.Kb()==2?Co(d).join("&"):b.Fi.g(d).g;try{return c(b.Ra,d,a),0}catch(f){return 2}}else return 1};var Cs=function(a){var b=Cr(a)?"custom_metric_viewable":a;a=Qb(function(c){return c==b});return un[a]};Bs.prototype.g=function(){return Ja(this.j)};var Ds=function(a,b){this.j=a;this.l=b};q(Ds,Bs);Ds.prototype.g=function(a){if(!a.vd)return Bs.prototype.g.call(this,a);if(this.l[a.vd])return function(){};bn(393,Error());return null};var Es=function(){hs.call(this);this.C=void 0;this.G=null;this.F=!1;this.N={};this.L=0;this.J="ACTIVE_VIEW_TRAFFIC_TYPE_UNSPECIFIED"};q(Es,hs);Es.prototype.A=function(a,b){var c=this,d=ug(Vq);if(d.g!=null)switch(d.g.getName()){case "nis":var e=Fs(this,a,b);break;case "gsv":e=Gs(this,a,b);break;case "exc":e=Hs(this,a)}e||(b.opt_overlayAdElement?e=void 0:b.opt_adElement&&(e=us(this,a,b.opt_adElement,b.opt_osdId)));e&&e.Kb()==1&&(e.B==lf&&(e.B=function(f){return c.fj(f)}),Is(this,e,b));return e}; var Is=function(a,b,c){c=c.opt_configurable_tracking_events;a.g!=null&&Array.isArray(c)&&js(a,c,b)}; Es.prototype.fj=function(a){a.j=0;a.aa=0;if(a.A=="h"||a.A=="n"){if(lc().o)var b=Ja("ima.bridge.getVideoMetadata");else if(a.vd&&Js(this)){var c=this.N[a.vd];c?b=function(e){return Ks(c,e)}:c!==null&&bn(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:Tb(d)?a.j|=32:d.errorCode!=null&&(a.aa=d.errorCode,a.j|=64));d==null&&(d={});ws(d,a);Un(d.volume)&&Un(this.C)&&(d.volume*=this.C);return d}; var Gs=function(a,b,c){var d=Eq(Nq,b);d||(d=c.opt_nativeTime||-1,d=is(a,b,os(a),d),c.opt_osdId&&(d.vd=c.opt_osdId));return d},Fs=function(a,b,c){var d=Eq(Nq,b);d||(d=is(a,b,"n",c.opt_nativeTime||-1));return d},Hs=function(a,b){var c=Eq(Nq,b);c||(c=is(a,b,"h",-1));return c};Es.prototype.Hh=function(){if(Js(this))return new Ds("ima.common.triggerExternalActivityEvent",this.N);var a=Ls(this);return a!=null?new Bs(a):null}; var Ls=function(a){var b=lc();switch(os(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};Es.prototype.Ki=function(a){!a.g&&a.Tb&&ps(this,a,"overlay_unmeasurable_impression")&&(a.g=!0)}; Es.prototype.kk=function(a){a.yk&&(a.Hc()?ps(this,a,"overlay_viewable_end_of_session_impression"):ps(this,a,"overlay_unviewable_impression"),a.yk=!1)}; var Ms=function(a,b,c,d){c=c===void 0?{}:c;var e={};Yb(e,{opt_adElement:void 0,opt_fullscreen:void 0},c);var f=a.A(b,c);c=f?f.Fi:a.Gh();if(e.opt_bounds)return c.g(Br("ol",d));if(d!==void 0)if(Ar(d)!==void 0)if(ur)a=Br("ue",d);else if(ms(a),tr=="i")a=Br("i",d),a["if"]=0;else if(b=a.A(b,e)){b:{tr=="i"&&(b.Tb=!0,a.Oi(b));f=e.opt_fullscreen;f!==void 0&&np(b,!!f);var g;if(g=!eo().j&&!Zn()&&wf(wg().j)){switch(b.Kb()){case 1:qs(b,"pv");break;case 2:a.Ki(b)}ns("pv")}f=d.toLowerCase();if(g=!g)c:{if(ic(lc().da, "ssmol")&&(g=a.l,f==="loaded"))break c;g=jb(rn,f)}if(g&&b.Pa==0){tr!="i"&&(jr.done=!1);g=e!==void 0?e.opt_nativeTime:void 0;gn=g=typeof g==="number"?g:jn();b.Ze=!0;var h=fo();b.Pa=1;b.Ma={};b.Ma.start=!1;b.Ma.firstquartile=!1;b.Ma.midpoint=!1;b.Ma.thirdquartile=!1;b.Ma.complete=!1;b.Ma.resume=!1;b.Ma.pause=!1;b.Ma.skip=!1;b.Ma.mute=!1;b.Ma.unmute=!1;b.Ma.viewable_impression=!1;b.Ma.measurable_impression=!1;b.Ma.fully_viewable_audible_half_duration_impression=!1;b.Ma.fullscreen=!1;b.Ma.exitfullscreen= !1;b.Nh=0;h||(b.Xa().J=g);mr(jr,[b],!h)}(g=b.ce[f])&&b.za.reportEvent(g);ic(lc().da,"fmd")||jb(sn,f)&&b.Ic&&b.Ic.j(b,null);switch(b.Kb()){case 1:var k=Cr(f)?a.R.custom_metric_viewable:a.R[f];break;case 2:k=a.Y[f]}if(k&&(d=k.call(a,b,e,d),ic(lc().da,"fmd")&&jb(sn,f)&&b.Ic&&b.Ic.j(b,null),d!==void 0)){e=Br(void 0,f);Yb(e,d);d=e;break b}d=void 0}b.Pa==3&&a.o(b);a=d}else a=Br("nf",d);else a=void 0;else ur?a=Br("ue"):f?(a=Br(),Yb(a,qq(f,!0,!1,!1))):a=Br("nf");return typeof a==="string"?c.g():c.g(a)}; Es.prototype.aa=function(a){this.l&&a.Kb()==1&&Ns(this,a)};Es.prototype.Oi=function(a){this.l&&a.Kb()==1&&Ns(this,a)};var Ns=function(a,b){var c;if(b.vd&&Js(a)){var d=a.N[b.vd];d?c=function(f,g){Os(d,f,g)}:d!==null&&bn(379,Error())}else c=Ja("ima.common.triggerViewabilityMeasurementUpdate");if(typeof c==="function"){var e=lq(b);e.nativeVolume=a.C;c(b.Ra,e)}},Js=function(a){return lc().o||os(a)!="h"&&os(a)!="m"?!1:a.L!=0}; Es.prototype.B=function(a,b,c,d){if(Cm(lc().flags,fs)){var e=ic(lc().da,"mm"),f={};(e=(f[yb.Yk]="ACTIVE_VIEW_TRAFFIC_TYPE_AUDIO",f[yb.VIDEO]="ACTIVE_VIEW_TRAFFIC_TYPE_VIDEO",f)[e])&&e&&(this.J=e);this.J==="ACTIVE_VIEW_TRAFFIC_TYPE_UNSPECIFIED"&&bn(1044,Error())}a=hs.prototype.B.call(this,a,b,c,d);this.F&&(b=this.G,a.l==null&&(a.l=new vp),b.g[a.Ra]=a.l,a.l.A=uq);return a};Es.prototype.o=function(a){a&&a.Kb()==1&&this.F&&delete this.G.g[a.Ra];return hs.prototype.o.call(this,a)}; Es.prototype.Dj=function(){this.g||(this.g=this.Hh());return this.g==null||this.l?new Wp:this.J==="ACTIVE_VIEW_TRAFFIC_TYPE_AUDIO"?new zs(this.g):new Or(this.g)};Es.prototype.Gh=function(){return this.J==="ACTIVE_VIEW_TRAFFIC_TYPE_AUDIO"?new As:new Jr};var Ps=function(a){var b={};return b.viewability=a.g,b.googleViewability=a.j,b},Qs=function(a,b,c){c=c===void 0?{}:c;a=Ms(ug(Es),b,c,a);return Ps(a)},Rs=an(193,Qs,void 0,ts);Ia("Goog_AdSense_Lidar_sendVastEvent",Rs); var Ss=an(194,function(a,b){b=b===void 0?{}:b;a=Ms(ug(Es),a,b);return Ps(a)});Ia("Goog_AdSense_Lidar_getViewability",Ss);var Ts=an(195,function(){return yg()});Ia("Goog_AdSense_Lidar_getUrlSignalsArray",Ts);var Us=an(196,function(){return JSON.stringify(yg())});Ia("Goog_AdSense_Lidar_getUrlSignalsList",Us);var Vs=ra(["//tpc.googlesyndication.com/sodar/",""]);B.console&&typeof B.console.log==="function"&&Ra(B.console.log,B.console);var Ws=function(a){for(var b=[],c=a=Qe(a.ownerDocument);c!=a.top;c=c.parent)if(c.frameElement)b.push(c.frameElement);else break;return b};var Xs=function(a,b){this.type=a;this.currentTarget=this.target=b;this.defaultPrevented=this.j=!1};Xs.prototype.stopPropagation=function(){this.j=!0};Xs.prototype.preventDefault=function(){this.defaultPrevented=!0};var Ys=function(){if(!B.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},"passive",{get:function(){a=!0}});try{var c=function(){};B.addEventListener("test",c,b);B.removeEventListener("test",c,b)}catch(d){}return a}();var Zs=function(a,b){Xs.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.Pb=null;a&&this.init(a,b)};Va(Zs,Xs); Zs.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;b||(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=Wd||a.offsetX!==void 0?a.offsetX:a.layerX,this.l=Wd|| 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=a.pointerType;this.state=a.state;this.Pb=a;a.defaultPrevented&&Zs.Xb.preventDefault.call(this)}; Zs.prototype.stopPropagation=function(){Zs.Xb.stopPropagation.call(this);this.Pb.stopPropagation?this.Pb.stopPropagation():this.Pb.cancelBubble=!0};Zs.prototype.preventDefault=function(){Zs.Xb.preventDefault.call(this);var a=this.Pb;a.preventDefault?a.preventDefault():a.returnValue=!1};var $s="closure_listenable_"+(Math.random()*1E6|0),at=function(a){return!(!a||!a[$s])};var bt=0;var ct=function(a,b,c,d,e){this.listener=a;this.proxy=null;this.src=b;this.type=c;this.capture=!!d;this.ng=e;this.key=++bt;this.yf=this.Rf=!1},dt=function(a){a.yf=!0;a.listener=null;a.proxy=null;a.src=null;a.ng=null};var et=function(a){this.src=a;this.g={};this.j=0};et.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=ft(a,b,d,e);g>-1?(b=a[g],c||(b.Rf=!1)):(b=new ct(b,this.src,f,!!d,e),b.Rf=c,a.push(b));return b};et.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.g))return!1;var e=this.g[a];b=ft(e,b,c,d);return b>-1?(dt(e[b]),lb(e,b),e.length==0&&(delete this.g[a],this.j--),!0):!1}; var gt=function(a,b){var c=b.type;c in a.g&&kb(a.g[c],b)&&(dt(b),a.g[c].length==0&&(delete a.g[c],a.j--))};et.prototype.df=function(a,b,c,d){a=this.g[a.toString()];var e=-1;a&&(e=ft(a,b,c,d));return e>-1?a[e]:null};var ft=function(a,b,c,d){for(var e=0;e>>0),mt=function(a){if(typeof a==="function")return a;a[vt]||(a[vt]=function(b){return a.handleEvent(b)});return a[vt]};var N=function(){L.call(this);this.C=new et(this);this.mg=this;this.aa=null};Va(N,L);N.prototype[$s]=!0;m=N.prototype;m.addEventListener=function(a,b,c,d){lt(this,a,b,c,d)};m.removeEventListener=function(a,b,c,d){tt(this,a,b,c,d)}; m.dispatchEvent=function(a){var b,c=this.aa;if(c)for(b=[];c;c=c.aa)b.push(c);c=this.mg;var d=a.type||a;if(typeof a==="string")a=new Xs(a,c);else if(a instanceof Xs)a.target=a.target||c;else{var e=a;a=new Xs(d,c);Yb(a,e)}e=!0;var f;if(b)for(f=b.length-1;!a.j&&f>=0;f--){var g=a.currentTarget=b[f];e=wt(g,d,!0,a)&&e}a.j||(g=a.currentTarget=c,e=wt(g,d,!0,a)&&e,a.j||(e=wt(g,d,!1,a)&&e));if(b)for(f=0;!a.j&&f0){this.j--;var a=this.g;this.g=a.next;a.next=null}else a=this.l();return a};var zt=function(a,b){a.o(b);a.j<100&&(a.j++,b.next=a.g,a.g=b)};var At=function(){this.j=this.g=null};At.prototype.add=function(a,b){var c=Bt.get();c.set(a,b);this.j?this.j.next=c:this.g=c;this.j=c};At.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 Bt=new yt(function(){return new Ct},function(a){return a.reset()}),Ct=function(){this.next=this.g=this.j=null};Ct.prototype.set=function(a,b){this.j=a;this.g=b;this.next=null};Ct.prototype.reset=function(){this.next=this.g=this.j=null};var Dt,Et=!1,Ft=new At,Ht=function(a,b){Dt||Gt();Et||(Dt(),Et=!0);Ft.add(a,b)},Gt=function(){var a=Promise.resolve(void 0);Dt=function(){a.then(It)}};function It(){for(var a;a=Ft.remove();){try{a.j.call(a.g)}catch(b){Jg(b)}zt(Bt,a)}Et=!1};var Kt=function(a){this.g=0;this.B=void 0;this.o=this.j=this.l=null;this.A=this.C=!1;if(a!=lf)try{var b=this;a.call(void 0,function(c){Jt(b,2,c)},function(c){Jt(b,3,c)})}catch(c){Jt(this,3,c)}},Lt=function(){this.next=this.context=this.j=this.l=this.g=null;this.o=!1};Lt.prototype.reset=function(){this.context=this.j=this.l=this.g=null;this.o=!1};var Mt=new yt(function(){return new Lt},function(a){a.reset()}),Nt=function(a,b,c){var d=Mt.get();d.l=a;d.j=b;d.context=c;return d}; Kt.prototype.then=function(a,b,c){return Ot(this,xt(typeof a==="function"?a:null),xt(typeof b==="function"?b:null),c)};Kt.prototype.$goog_Thenable=!0;var Pt=function(a,b){return Ot(a,null,xt(b))};Kt.prototype.cancel=function(a){if(this.g==0){var b=new Qt(a);Ht(function(){Rt(this,b)},this)}}; var Rt=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?Rt(c,b):(f?(d=f,d.next==c.o&&(c.o=d),d.next=d.next.next):St(c),Tt(c,e,3,b)))}a.l=null}else Jt(a,3,b)},Vt=function(a,b){a.j||a.g!=2&&a.g!=3||Ut(a);a.o?a.o.next=b:a.j=b;a.o=b},Ot=function(a,b,c,d){var e=Nt(null,null,null);e.g=new Kt(function(f,g){e.l=b?function(h){try{var k=b.call(d,h);f(k)}catch(l){g(l)}}:f;e.j=c?function(h){try{var k=c.call(d, h);k===void 0&&h instanceof Qt?g(h):f(k)}catch(l){g(l)}}:g});e.g.l=a;Vt(a,e);return e.g};Kt.prototype.N=function(a){this.g=0;Jt(this,2,a)};Kt.prototype.D=function(a){this.g=0;Jt(this,3,a)}; var Jt=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 Kt){Vt(d,Nt(e||lf,f||null,a));var g=!0}else{if(d)try{var h=!!d.$goog_Thenable}catch(l){h=!1}else h=!1;if(h)d.then(e,f,a),g=!0;else{if(Ma(d))try{var k=d.then;if(typeof k==="function"){Wt(d,k,e,f,a);g=!0;break a}}catch(l){f.call(a,l);g=!0;break a}g=!1}}}g||(a.B=c,a.g=b,a.l=null,Ut(a),b!=3||c instanceof Qt||Xt(a,c))}},Wt=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)}},Ut=function(a){a.C||(a.C=!0,Ht(a.J,a))},St=function(a){var b=null;a.j&&(b=a.j,a.j=b.next,b.next=null);a.j||(a.o=null);return b};Kt.prototype.J=function(){for(var a;a=St(this);)Tt(this,a,this.g,this.B);this.C=!1}; var Tt=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,Yt(b,c,d);else try{b.o?b.l.call(b.context):Yt(b,c,d)}catch(e){Zt.call(null,e)}zt(Mt,b)},Yt=function(a,b,c){b==2?a.l.call(a.context,c):a.j&&a.j.call(a.context,c)},Xt=function(a,b){a.A=!0;Ht(function(){a.A&&Zt.call(null,b)})},Zt=Jg,Qt=function(a){Wa.call(this,a)};Va(Qt,Wa);Qt.prototype.name="cancel";var $t=function(a,b){N.call(this);this.j=a||1;this.g=b||B;this.l=Ra(this.bo,this);this.o=Ta()};Va($t,N);m=$t.prototype;m.enabled=!1;m.Qb=null;m.setInterval=function(a){this.j=a;this.Qb&&this.enabled?(this.stop(),this.start()):this.Qb&&this.stop()};m.bo=function(){if(this.enabled){var a=Ta()-this.o;a>0&&a2147483647?-1:B.setTimeout(a,b||0)},bu=function(a){B.clearTimeout(a)},cu=function(a){var b=null;return Pt(new Kt(function(c,d){b=au(function(){c(void 0)},a);b==-1&&d(Error("Failed to schedule timer."))}),function(c){bu(b);throw c;})};var du=function(){return Math.round(Date.now()/1E3)};var eu=function(){this.g={};return this};eu.prototype.remove=function(a){var b=this.g;a in b&&delete b[a]};eu.prototype.set=function(a,b){this.g[a]=b};var fu=function(a,b){a.g.eb=Vb(a.g,"eb",0)|b};eu.prototype.get=function(a){return Vb(this.g,a,null)};var gu=null,hu=function(){this.g={};this.j=0},iu=function(){gu||(gu=new hu);return gu},ju=function(a,b){a.g[b.getName()]=b},ku=function(a,b){this.o=a;this.l=!0;this.g=b};ku.prototype.getName=function(){return this.o};ku.prototype.getValue=function(){return this.g};ku.prototype.j=function(){return String(this.g)};var lu=function(a,b){ku.call(this,String(a),b);this.A=a;this.g=!!b};q(lu,ku);lu.prototype.j=function(){return this.g?"1":"0"};var mu=function(a,b){ku.call(this,a,b)};q(mu,ku); mu.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 nu=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 mu("",new yn(c,b,Number(a[3])-c,Number(a[2])-b))}return new mu("",new yn(0,0,0,0))};var ou=function(a){var b=new yn(-Number.MAX_VALUE/2,-Number.MAX_VALUE/2,Number.MAX_VALUE,Number.MAX_VALUE),c=new yn(0,0,0,0);if(!a||0==a.length)return c;for(var d=0;d0?(e=zn(b),f=zn(c),e=e.top>=f.top&&e.top0?(e=zn(b),f=zn(c),e=e.bottom<=f.bottom&&e.bottom>f.top):e=!1;ju(a,new lu(1024,e));d&&d>0?(e=zn(b),f=zn(c),e=e.left>=f.left&&e.left0?(b=zn(b),c=zn(c),c=b.right<=c.right&&b.right>c.left):c=!1;ju(a,new lu(4096,c))}};var ru=function(a,b){var c=0;Nb(Qe(),"ima","video","client","tagged")&&(c=1);var d=null;a&&(d=a());if(d){a=iu();a.g={};var e=new lu(32,!0);e.l=!1;ju(a,e);e=Qe().document;e=e.visibilityState||e.webkitVisibilityState||e.mozVisibilityState||e.msVisibilityState||"";ju(a,new lu(64,e.toLowerCase().substring(e.length-6)!="hidden"?!0:!1));a:{try{var f=Qe().top;try{var g=!!f.location.href||f.location.href===""}catch(p){g=!1}if(g){var h=Ws(d);var k=h&&h.length!=0?"1":"0";break a}k="2";break a}catch(p){k="2"; break a}k=void 0}ju(a,new lu(256,k=="2"));ju(a,new lu(128,k=="1"));h=g=Qe().top;k=="2"&&(h=Qe());f=pu(d,h);ju(a,new mu("er",f));try{var l=h.document&&!h.document.body?null:Ne(h||window)}catch(p){l=null}l?(h=Pe(He(h.document).g),ju(a,new lu(16384,!!h)),l=h?new yn(h.x,h.y,l.width,l.height):null):l=null;ju(a,new mu("vi",l));if(l&&"1"==k){k=Ws(d);d=[];for(h=0;h0?Math.round(window.performance.timing.domLoading/1E3):null;c.set.call(c,"td",du()-(a!=null?a:b!=null?b:du()))};new $t(200); var tu=function(a,b){try{var c=new ru(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,l=c.l;e=d;f=[];e||(e=0);for(var p in l.g){var n=l.g[p];if(n instanceof lu)n.getValue()&&(e|=n.A);else{var r=l.g[p],u=r.l?r.j():"";u&&f.push(p+u)}}f.push("eb"+String(e));(k=f.join("_"))&&a.push(k);c.g.set("eb",d);return a.join("_")}catch(t){return"tle;"+Hd(t.name,12)+";"+Hd(t.message, 40)}};var uu=function(a){this.M=H(a)};q(uu,K);uu.prototype.getName=function(){return J(this,1)};uu.prototype.getValue=function(){return J(this,2)};var vu=function(a){this.M=H(a)};q(vu,K);var wu=function(a){this.M=H(a)};q(wu,K);var xu=function(a){this.M=H(a)};q(xu,K);var yu=function(a){this.M=H(a)};q(yu,K);var zu=function(a){this.M=H(a)};q(zu,K);var Au=function(a){this.M=H(a)};q(Au,K);var Bu=function(a){return I(a,vu,29)};var Cu=function(a){this.M=H(a)};q(Cu,K);var Du=wm(Cu);var Eu=function(a){this.M=H(a)};q(Eu,K);function Fu(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 Iu=function(){var a=Gu;this.A=Hu;this.C="jserror";this.j=!0;this.g=a===void 0?null:a;this.l=null;this.o=!1;this.bf=this.sc};m=Iu.prototype;m.Pi=function(a){this.l=a};m.rk=function(a){this.C=a};m.Ri=function(a){this.j=a};m.uk=function(a){this.o=a}; m.Wd=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.j;try{Rm(d),b=this.bf(a,new Gm(h,{message:Fu(h)}),void 0,c)}catch(k){this.sc(217,k)}if(b){var f,g;(f=window.console)==null||(g=f.error)==null||g.call(f,h)}else throw h;}return e};m.Xg=function(a,b,c,d){var e=this;return function(){var f=Ea.apply(0,arguments);return e.Wd(a,function(){return b.apply(c,f)},d)}}; m.sc=function(a,b,c,d,e){e=e||this.C;var f=void 0;try{var g=new bg;gg(g,1,"context",a);Hm(b)||(b=new Gm(b,{message:Fu(b)}));b.msg&&gg(g,2,"msg",b.msg.substring(0,512));var h=b.meta||{};if(this.l)try{this.l(h)}catch(p){}if(d)try{d(h)}catch(p){}fg(g,3,[h]);f=ag();f.j&&gg(g,4,"top",f.j.url||"");fg(g,5,[{url:f.g.url||""},{url:f.g.url?Af(f.g.url):""}]);Ju(this.A,e,g,this.o,c)}catch(p){try{var k,l;Ju(this.A,e,{context:"ecmserr",rctx:a,msg:Fu(p),url:(l=(k=f)==null?void 0:k.g.url)!=null?l:""},this.o,c)}catch(n){}}return this.j};var Ku=function(a){this.M=H(a)};q(Ku,K);var Lu=[2,3,4];var Mu=[0,Lu,pm,sm,-2];var Nu=function(a){this.M=H(a)};q(Nu,K);var Ou=[3,4,5],Pu=[6,7];var Qu=function(a){this.M=H(a)};q(Qu,K);var Ru=[4,5];var Su=[0,Ou,Pu,rm,fm,function(){return Su},sm,-2,Vl,dm,bm];var Tu=[0,Ru,Su,pm,Yl,sm,hm,Mu];function Uu(a,b){var c=Qj(a,Nu,2,nj());if(!c.length)return Vu(a,b);a=bk(a,1);if(a===1){var d=Uu(c[0],b);return d.success?{success:!0,value:!d.value}:d}c=bb(c,function(h){return Uu(h,b)});switch(a){case 2:var e;return(e=(d=c.find(function(h){return h.success&&!h.value}))!=null?d:c.find(function(h){return!h.success}))!=null?e:{success:!0,value:!0};case 3:var f,g;return(g=(f=c.find(function(h){return h.success&&h.value}))!=null?f:c.find(function(h){return!h.success}))!=null?g:{success:!0,value:!1};default:return{success:!1, errorType:3}}} function Vu(a,b){var c=Jj(a,Ou);a:{switch(c){case 3:var d=dk(a,3,Ou);break a;case 4:d=dk(a,4,Ou);break a;case 5:d=dk(a,5,Ou);break a}d=void 0}if(!d)return{success:!1,errorType:2};b=(b=b[c])&&b[d];if(!b)return{success:!1,Oc:d,wf:c,errorType:1};try{var e=b.apply;var f=ck(a,8);var g=e.call(b,null,w(f))}catch(h){return{success:!1,Oc:d,wf:c,errorType:2}}e=bk(a,1);if(e===4)return{success:!0,value:!!g};if(e===5)return{success:!0,value:g!=null};if(e===12)a=J(a,Kj(a,Pu,7));else a:{switch(c){case 4:a=ak(a, Kj(a,Pu,6));break a;case 5:a=J(a,Kj(a,Pu,7));break a}a=void 0}if(a==null)return{success:!1,Oc:d,wf:c,errorType:3};if(e===6)return{success:!0,value:g===a};if(e===9)return{success:!0,value:g!=null&&Fc(String(g),a)===0};if(g==null)return{success:!1,Oc:d,wf:c,errorType:4};switch(e){case 7:c=ga;break;case 12:c=Rh(a)&&Rh(g)&&(new RegExp(a)).test(g);break;case 10:c=g!=null&&Fc(String(g),a)===-1;break;case 11:c=g!=null&&Fc(String(g),a)===1;break;default:return{success:!1,errorType:3}}return{success:!0, value:c}}function Wu(a,b){return a?b?Uu(a,b):{success:!1,errorType:1}:{success:!0,value:!0}};var Lj=function(a){this.M=H(a)};q(Lj,K);var Xu=function(a){this.M=H(a)};q(Xu,K);Xu.prototype.getValue=function(){return I(this,Lj,2)};var Yu=function(a){this.M=H(a)};q(Yu,K);var Zu=wm(Yu),$u=[1,2,3,6,7,8];var av=function(a){this.M=H(a)};q(av,K);var bv=um([0,rm,cm]);function cv(a,b){try{var c=function(d){var e={};return[(e[d.Rc]=d.Eg,e)]};return JSON.stringify([a.filter(function(d){return d.Vb}).map(c),Lk(b),a.filter(function(d){return!d.Vb}).map(c)])}catch(d){return dv(d,b),""}}function ev(a,b){var c=new Wk;try{var d=a.filter(function(f){return f.Vb}).map(fv);el(c,1,d);cl(c,2,bv(b),dl);var e=a.filter(function(f){return!f.Vb}).map(fv);el(c,3,e)}catch(f){dv(f,b)}return al(c)} function dv(a,b){try{tg({m:Fu(a instanceof Error?a:Error(String(a))),b:bk(b,1)||null,v:J(b,2)||null},"rcs_internal")}catch(c){}}function fv(a){var b=new Wk;cl(b,a.Rc,a.Zg,dl);return al(b)}function dl(a,b){a=a.subarray(0,a.length);Xk(b,b.g.end());Xk(b,a)}var gv=function(a,b){var c=new av;a=lk(c,1,a);b=ik(a,2,b);a=b.M;c=th(a);this.j=c&2?b:new b.constructor(gj(a,c,!0))};var hv=function(a){this.M=H(a)};q(hv,K);hv.prototype.getTagSessionCorrelator=function(){return Zj(this,1)};var iv=function(a,b){return gk(a,1,b)},jv=function(a,b){return gk(a,2,b)},kv=function(a,b){return lk(a,3,b)};var lv=um([0,Xl,-1,rm]);var mv=function(a){this.M=H(a)};q(mv,K);var nv=function(){var a=new mv;return Uj(a,1,Ai,[20],Ci)};var ov=[0,qm];var pv=[0,Yl];var qv=function(a){this.M=H(a)};q(qv,K);var rv=[0,Yl,-1,pm];var tv=function(a){this.M=H(a)};q(tv,K);var uv=function(a,b){return lk(a,1,b)},vv=function(a,b){return lk(a,2,b)};var wv=[0,rm,-1];var xv=function(a){this.M=H(a)};q(xv,K);var yv=[1,2];var zv=[0,yv,sm,-1,$l];var Av=function(a){this.M=H(a)};q(Av,K);var Bv=function(a,b){return Rj(a,1,b)},Cv=function(a,b){return Tj(a,2,b)},Dv=function(a,b){return Bj(a,4,b,Di)},Ev=function(a,b){return Tj(a,5,b)},Fv=function(a,b){return lk(a,6,b)};var Gv=[0,wv,fm,wv,1,Zl,fm,zv,rm];var Hv=function(a){this.M=H(a)};q(Hv,K);var Iv=[1,2,3,4,6];var Jv=[0,Iv,sm,-3,Zl,sm];var Kv=function(a){this.M=H(a)};q(Kv,K);var Lv=[0,$l,fm,Jv,-1];var Mv=function(a){this.M=H(a)};q(Mv,K);Mv.prototype.getTagSessionCorrelator=function(){return Zj(this,2)};var Ov=function(a){var b=new Mv;return Sj(b,4,Nv,a)},Nv=[4,5,7,8,9];var Pv=um([0,Nv,Xl,-1,1,hm,Gv,hm,pv,Xl,hm,Lv,hm,rv,hm,Tu]);var Qv=function(a){this.M=H(a)};q(Qv,K);Qv.prototype.Cf=function(a){return gk(this,7,a)};Qv.prototype.Qi=function(a){return gk(this,8,a)};var Rv=[0,cm,-1,Yl,rm,ov,Xl,-2,rm,Zl,cm];var Sv=function(a){this.M=H(a)};q(Sv,K);var Tv=[0,Yl,-2];var Uv=function(a){this.M=H(a)};q(Uv,K);var Vv=[0,$l,-1];var Wv=function(a){this.M=H(a)};q(Wv,K);var Xv=[0,$l,-1];var Yv=function(a){this.M=H(a)};q(Yv,K);Yv.prototype.dd=function(){return I(this,Uv,2)};Yv.prototype.getSize=function(){return I(this,Wv,3)};Yv.prototype.getDuration=function(){return I(this,Sv,4)};var Zv=[0,rm,Vv,Xv,Tv];var $v=[0,Vv,Xv,Tv,Yl];var aw=function(a){this.M=H(a)};q(aw,K);aw.prototype.getSize=function(){return I(this,Wv,2)};var bw=[0,rm,Xv];var cw=function(a){this.M=H(a)};q(cw,K);var dw=wm(cw);var ew=um([0,bw,$v,Zv,Rv]);var fw=function(a){this.M=H(a)};q(fw,K);var gw=[0,rm,$l];var hw=function(a){this.M=H(a)};q(hw,K);var iw=function(a,b){return gk(a,1,b)},jw=wm(hw);var kw=[0,Xl,-1];var lw=function(a){this.M=H(a)};q(lw,K);var mw=[0,rm,pm,-1,kw,-1];var nw=function(a){this.M=H(a)};q(nw,K);nw.prototype.Cf=function(a){return gk(this,3,a)};var ow=[6];var pw=um([0,ow,ov,Xl,-1,gw,Zl,hm,mw]);var qw=function(a){this.M=H(a)};q(qw,K);var rw=function(a,b){Rj(a,13,b)};var tw=function(a){this.M=H(a)};q(tw,K);tw.prototype.getEscapedQemQueryId=function(){return J(this,2)};var uw=function(){gv.apply(this,arguments)};q(uw,gv);var vw=function(){uw.apply(this,arguments)};q(vw,uw);vw.prototype.Bf=function(){this.o.apply(this,w(Ea.apply(0,arguments).map(function(a){return{Vb:!0,Rc:4,Eg:Lk(a)}})))};vw.prototype.B=function(){this.o.apply(this,w(Ea.apply(0,arguments).map(function(a){return{Vb:!0,Rc:16,Eg:Lk(a)}})))};vw.prototype.qk=function(){this.o.apply(this,w(Ea.apply(0,arguments).map(function(a){return{Vb:!0,Rc:20,Eg:Lk(a)}})))}; vw.prototype.pk=function(){this.o.apply(this,w(Ea.apply(0,arguments).map(function(a){return{Vb:!0,Rc:25,Eg:Lk(a)}})))};var ww=function(){uw.apply(this,arguments)};q(ww,uw);ww.prototype.Bf=function(){this.g.apply(this,w(Ea.apply(0,arguments).map(function(a){return{Vb:!0,Rc:4,Zg:Pv(a)}})))};ww.prototype.B=function(){this.g.apply(this,w(Ea.apply(0,arguments).map(function(a){return{Vb:!0,Rc:16,Zg:lv(a)}})))}; ww.prototype.qk=function(){this.g.apply(this,w(Ea.apply(0,arguments).map(function(a){return{Vb:!0,Rc:20,Zg:pw(a)}})))};ww.prototype.pk=function(){this.g.apply(this,w(Ea.apply(0,arguments).map(function(a){return{Vb:!0,Rc:25,Zg:ew(a)}})))};var xw=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 yw=function(a,b,c,d,e,f,g,h){vw.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};q(yw,vw);var zw=function(a){a.l!==null&&(clearTimeout(a.l),a.l=null);if(a.g.length){var b=cv(a.g,a.j);a.J(a.N+"?e=1",b);a.g=[]}}; yw.prototype.o=function(){var a=Ea.apply(0,arguments),b=this;try{this.F&&cv(this.g.concat(a),this.j).length>=65536&&zw(this),this.A&&!this.C&&(this.C=!0,this.A.g(function(){zw(b)})),this.g.push.apply(this.g,w(a)),this.g.length>=this.D&&zw(this),this.g.length&&this.l===null&&(this.l=setTimeout(function(){zw(b)},this.G))}catch(c){dv(c,this.j)}}; var Aw=function(a,b,c,d,e,f){yw.call(this,a,b,"https://pagead2.googlesyndication.com/pagead/ping",xw,c===void 0?1E3:c,d===void 0?100:d,(e===void 0?!1:e)&&!!globalThis.fetch,f)};q(Aw,yw);var Bw=function(a,b,c){var d=d===void 0?new Aw(6,"unknown",b):d;this.A=a;this.o=c;this.j=d;this.g=[];this.l=a>0&&Mf()<1/a},Dw=function(a,b,c,d,e,f){if(a.l){var g=vv(uv(new tv,b),c);b=Fv(Cv(Bv(Ev(Dv(new Av,d),e),g),a.g.slice()),f);b=Ov(b);a.j.Bf(Cw(a,b));if(f===1||f===3||f===4&&!a.g.some(function(h){return bk(h,1)===bk(g,1)&&bk(h,2)===c}))a.g.push(g),a.g.length>100&&a.g.shift()}},Ew=function(a,b,c,d){if(a.l){var e=new qv;b=mj(e,1,Ei(b));c=mj(b,2,Ei(c));d=kk(c,3,d);c=new Mv;d=Sj(c,8,Nv,d);a.j.Bf(Cw(a, d))}},Fw=function(a,b,c,d,e){if(a.l){var f=new Qu;b=Rj(f,1,b);c=kk(b,2,c);d=mj(c,3,Ei(d));if(e.wf===void 0)Hj(d,4,Ru,Bi(e.errorType));else switch(e.wf){case 3:c=new Ku;c=Hj(c,2,Lu,Bi(e.Oc));e=kk(c,1,e.errorType);Sj(d,5,Ru,e);break;case 4:c=new Ku;c=Hj(c,3,Lu,Bi(e.Oc));e=kk(c,1,e.errorType);Sj(d,5,Ru,e);break;case 5:c=new Ku,c=Hj(c,4,Lu,Bi(e.Oc)),e=kk(c,1,e.errorType),Sj(d,5,Ru,e)}e=new Mv;e=Sj(e,9,Nv,d);a.j.Bf(Cw(a,e))}},Cw=function(a,b){var c=Date.now();c=Number.isFinite(c)?Math.round(c):0;b=gk(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()*4503599627370496);e.call(d,c,"goog_pvsid",{value:g,configurable:!1})}catch(h){}e=gk(b,2,Number(c.goog_pvsid)||-1);return gk(e,6,a.A)};var Gw=function(){var a={};this.Wb=(a[3]={},a[4]={},a[5]={},a)};var Hw=/^true$/.test("false");function Iw(a,b){switch(b){case 1:return dk(a,1,$u);case 2:return dk(a,2,$u);case 3:return dk(a,3,$u);case 6:return dk(a,6,$u);case 8:return dk(a,8,$u);default:return null}}function Jw(a,b){if(!a)return null;switch(b){case 1:return Vj(a,1);case 7:return J(a,3);case 2:return ak(a,2);case 3:return J(a,3);case 6:return ck(a,4);case 8:return ck(a,4);default:return null}} var Kw=nf(function(){if(!Hw)return{};try{var a=a===void 0?window:a;try{var b=a.sessionStorage.getItem("GGDFSSK")}catch(c){b=null}if(b)return JSON.parse(b)}catch(c){}return{}});function Lw(a,b,c,d){var e=d=d===void 0?0:d,f,g;ug(Mw).l[e]=(g=(f=ug(Mw).l[e])==null?void 0:f.add(b))!=null?g:(new Set).add(b);e=Kw();if(e[b]!=null)return e[b];b=Nw(d)[b];if(!b)return c;b=Zu(JSON.stringify(b));b=Ow(b);a=Jw(b,a);return a!=null?a:c} function Ow(a){var b=ug(Gw).Wb;if(b&&Jj(a,$u)!==8){var c=gb(Qj(a,Xu,5,nj()),function(f){f=Wu(I(f,Nu,1),b);return f.success&&f.value});if(c){var d;return(d=c.getValue())!=null?d:null}}var e;return(e=I(a,Lj,4))!=null?e:null}var Mw=function(){this.j={};this.o=[];this.l={};this.g=new Map};function Pw(a,b,c){return!!Lw(1,a,b===void 0?!1:b,c)}function Qw(a,b,c){b=b===void 0?0:b;a=Number(Lw(2,a,b,c));return isNaN(a)?b:a}function Rw(a,b,c){b=b===void 0?"":b;a=Lw(3,a,b,c);return typeof a==="string"?a:b} function Sw(a,b,c){b=b===void 0?[]:b;a=Lw(6,a,b,c);return Array.isArray(a)?a:b}function Tw(a,b,c){b=b===void 0?[]:b;a=Lw(8,a,b,c);return Array.isArray(a)?a:b}function Nw(a){return ug(Mw).j[a]||(ug(Mw).j[a]={})}function Uw(a,b){var c=Nw(b);Nf(a,function(d,e){if(c[e]){d=Zu(JSON.stringify(d));var f=Kj(d,$u,8);if(Ci(kj(d,f))!=null){var g=Zu(JSON.stringify(c[e]));f=Mj(d);g=ck(Pj(g,Lj,4),4);Uj(f,4,Ri,g,Ti)}c[e]=Lk(d)}else c[e]=d})} function Vw(a,b,c,d,e){e=e===void 0?!1:e;var f=[],g=[];b=v(b);for(var h=b.next();!h.done;h=b.next()){h=h.value;for(var k=Nw(h),l=v(a),p=l.next();!p.done;p=l.next()){p=p.value;var n=Jj(p,$u),r=Iw(p,n);if(r){var u=void 0,t=void 0,x=void 0;var A=(u=(x=ug(Mw).g.get(h))==null?void 0:(t=x.get(r))==null?void 0:t.slice(0))!=null?u:[];a:{u=r;t=n;x=new Hv;switch(t){case 1:Hj(x,1,Iv,Bi(u));break;case 2:Hj(x,2,Iv,Bi(u));break;case 3:Hj(x,3,Iv,Bi(u));break;case 6:Hj(x,4,Iv,Bi(u));break;case 8:Hj(x,6,Iv,Bi(u)); break;default:A=void 0;break a}Bj(x,5,A,Di);A=x}if(u=A)t=void 0,u=!((t=ug(Mw).l[h])==null||!t.has(r));u&&f.push(A);if(n===8&&k[r])A=Zu(JSON.stringify(k[r])),n=Mj(p),A=ck(Pj(A,Lj,4),4),Uj(n,4,Ri,A,Ti);else{if(n=A)u=void 0,n=!((u=ug(Mw).g.get(h))==null||!u.has(r));n&&g.push(A)}e||(n=r,A=h,u=d,t=ug(Mw),t.g.has(A)||t.g.set(A,new Map),t.g.get(A).has(n)||t.g.get(A).set(n,[]),u&&t.g.get(A).get(n).push(u));k[r]=Lk(p)}}}if(f.length||g.length)a=d!=null?d:void 0,c.l&&c.o&&(d=new Kv,f=Tj(d,2,f),g=Tj(f,3,g),a&& ek(g,1,a),f=new Mv,g=Sj(f,7,Nv,g),c.j.Bf(Cw(c,g)))}function Ww(a,b){b=Nw(b);a=v(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=Zu(JSON.stringify(c)),e=Jj(d,$u);(d=Iw(d,e))&&(b[d]||(b[d]=c))}}function Xw(){return Object.keys(ug(Mw).j).map(function(a){return Number(a)})}function Yw(a){ug(Mw).o.includes(a)||Uw(Nw(4),a)};function Zw(a,b,c){c.hasOwnProperty(a)||Object.defineProperty(c,String(a),{value:b})}function $w(a,b,c){return b[a]||c}function ax(a){Zw(5,Pw,a);Zw(6,Qw,a);Zw(7,Rw,a);Zw(8,Sw,a);Zw(17,Tw,a);Zw(13,Ww,a);Zw(15,Yw,a)} function bx(a){Zw(4,function(b){ug(Gw).Wb=b},a);Zw(9,function(b,c){var d=ug(Gw);d.Wb[3][b]==null&&(d.Wb[3][b]=c)},a);Zw(10,function(b,c){var d=ug(Gw);d.Wb[4][b]==null&&(d.Wb[4][b]=c)},a);Zw(11,function(b,c){var d=ug(Gw);d.Wb[5][b]==null&&(d.Wb[5][b]=c)},a);Zw(14,function(b){for(var c=ug(Gw),d=v([3,4,5]),e=d.next();!e.done;e=d.next())e=e.value,Object.assign(c.Wb[e],b[e])},a)}function cx(a){a.hasOwnProperty("init-done")||Object.defineProperty(a,"init-done",{value:!0})};var dx=function(){};dx.prototype.j=function(){};dx.prototype.g=function(){return[]};var ex=function(a,b,c){a.j=function(d,e){$w(2,b,function(){return[]})(d,c,e)};a.g=function(){return $w(3,b,function(){return[]})(c)}};var fx=function(){this.g=Math.random()},gx=function(){var a=Hu,b=window.google_srt;b>=0&&b<=1&&(a.g=b)},Ju=function(a,b,c,d,e){if(((d===void 0?0:d)?a.g:Math.random())<(e||.01))try{if(c instanceof bg)var f=c;else f=new bg,Nf(c,function(h,k){var l=f,p=l.o++;fg(l,p,cg(k,h))});var g=ig(f,"https:","/pagead/gen_204?id="+b+"&");g&&rg(B,g)}catch(h){}};var Hu,hx,Gu=new Qm(1,window);(function(a){Hu=a!=null?a:new fx;typeof window.google_srt!=="number"&&(window.google_srt=Math.random());gx();hx=new Iu;hx.Pi(function(){});hx.uk(!0);window.document.readyState=="complete"?window.google_measure_js_timing||Gu.C():Gu.j&&rf(window,"load",function(){window.google_measure_js_timing||Gu.C()})})(); var ix=function(a,b){return hx.Xg(a,b)},jx=function(a,b){var c=ug(dx).g();!a.eid&&c.length&&(a.eid=c.toString());Ju(Hu,"gdn::mta",a,!0,b)},kx=function(a,b){hx.sc(531,a,.01,b)};var lx=function(a){this.M=H(a)};q(lx,K);var mx=function(a){this.M=H(a)};q(mx,K);var nx=function(a,b){return Bj(a,1,b,Ai)},ox=function(a,b){return Bj(a,2,b,Ai)},px=function(a,b){return Bj(a,3,b,Di)},qx=function(a,b){Bj(a,4,b,Di)};var rx=function(a){this.M=H(a)};q(rx,K);var sx=function(a){this.M=H(a)};q(sx,K);sx.prototype.getVersion=function(){return Wj(this,1)}; var Nx=function(a,b){return ek(a,1,b)},Ox=function(a,b){return Rj(a,2,b)},Px=function(a,b){return Rj(a,3,b)},Qx=function(a,b){return ek(a,4,b)},Rx=function(a,b){return ek(a,5,b)},Sx=function(a,b){return ek(a,6,b)},Tx=function(a,b){return ik(a,7,b)},Ux=function(a,b){return ek(a,8,b)},Vx=function(a,b){return ek(a,9,b)},Wx=function(a,b){return Cj(a,10,wi(b),!1)},Xx=function(a,b){return Cj(a,11,wi(b),!1)},Yx=function(a,b){return Bj(a,12,b,Ai)},Zx=function(a,b){return Bj(a,13,b,Ai)},$x=function(a,b){return Bj(a, 14,b,Ai)},ay=function(a,b){return Cj(a,15,wi(b),!1)},by=function(a,b){return ik(a,16,b)},cy=function(a,b){return Bj(a,17,b,Di)},dy=function(a,b){return Bj(a,18,b,Di)},ey=function(a,b){return Tj(a,19,b)};var fy=function(a){this.M=H(a)};q(fy,K);var gy="a".charCodeAt(),hy=Kb({rp:0,qp:1,np:2,ip:3,op:4,jp:5,pp:6,lp:7,mp:8,hp:9,kp:10,sp:11}),iy=Kb({up:0,vp:1,tp:2});var jy=function(a){if(/[^01]/.test(a))throw Error("Input bitstring "+a+" is malformed!");this.j=a;this.g=0},ly=function(a){a=ky(a,36);var b=new rx;b=gk(b,1,Math.floor(a/10));return ek(b,2,a%10*1E8)},my=function(a){return String.fromCharCode(gy+ky(a,6))+String.fromCharCode(gy+ky(a,6))},py=function(a){var b=ky(a,16);return!!ky(a,1)===!0?(a=ny(a),a.forEach(function(c){if(c>b)throw Error("ID "+c+" is past MaxVendorId "+b+"!");}),a):oy(a,b)},qy=function(a){for(var b=[],c=ky(a,12);c--;){var d=ky(a,6),e= ky(a,2),f=ny(a),g=b,h=g.push,k=new lx;d=lk(k,1,d);e=lk(d,2,e);f=Bj(e,3,f,Di);h.call(g,f)}return b},ny=function(a){for(var b=ky(a,12),c=[];b--;){var d=!!ky(a,1)===!0,e=ky(a,16);if(d)for(d=ky(a,16);e<=d;e++)c.push(e);else c.push(e)}c.sort(function(f,g){return f-g});return c},oy=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)};jy.prototype.skip=function(a){this.g+=a};var ry=function(a){try{var b=Tg(a).map(function(f){return f.toString(2).padStart(8,"0")}).join(""),c=new jy(b);if(ky(c,3)!==3)return null;var d=ox(nx(new mx,oy(c,24,hy)),oy(c,24,hy)),e=ky(c,6);e!==0&&qx(px(d,oy(c,e)),oy(c,e));return d}catch(f){return null}};var sy=function(a){try{var b=Tg(a).map(function(d){return d.toString(2).padStart(8,"0")}).join(""),c=new jy(b);return ey(dy(cy(by(ay($x(Zx(Yx(Xx(Wx(Vx(Ux(Tx(Sx(Rx(Qx(Px(Ox(Nx(new sx,ky(c,6)),ly(c)),ly(c)),ky(c,12)),ky(c,12)),ky(c,6)),my(c)),ky(c,12)),ky(c,6)),!!ky(c,1)),!!ky(c,1)),oy(c,12,iy)),oy(c,24,hy)),oy(c,24,hy)),!!ky(c,1)),my(c)),py(c)),py(c)),qy(c))}catch(d){return null}};var uy=function(a){if(!a)return null;var b=a.split(".");if(b.length>4)return null;a=sy(b[0]);if(!a)return null;var c=new fy;a=Rj(c,1,a);b.shift();b=v(b);for(c=b.next();!c.done;c=b.next())switch(c=c.value,ty(c)){case 1:case 2:break;case 3:c=ry(c);if(!c)return null;Rj(a,2,c);break;default:return null}return a},ty=function(a){try{var b=Tg(a).map(function(c){return c.toString(2).padStart(8,"0")}).join("");return ky(new jy(b),3)}catch(c){return-1}};var vy=function(a,b){var c={};if(Array.isArray(b)&&b.length!==0){b=v(b);for(var d=b.next();!d.done;d=b.next())d=d.value,c[d]=a.indexOf(d)!==-1}else for(a=v(a),b=a.next();!b.done;b=a.next())c[b.value]=!0;delete c[0];return c};var wy=function(a){this.M=H(a)};q(wy,K);var yy=function(a){var b=new wy;Uj(b,1,Ai,a,Ci)};[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].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 zy=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?(tg({e:String(a.internalErrorState)}, "tcfe"),!1):!0:a.cmpStatus!=="loaded"||a.eventStatus!=="tcloaded"&&a.eventStatus!=="useractioncomplete"?!1:!0};var Ay=function(){this.blockSize=-1};yy([1,8,9,10,11,12,2,3,4,5,15,16,19,20,21,23]);yy([1,6,7,9,10,11,12,2,3,4,5,13,14,18,19,20,21,23]);yy([1,6,7,9,10,11,12,22,2,3,4,5,13,14,17,18,19,20,21,23]);new wy;var O=function(a,b){this.j=this.B=this.o="";this.A=null;this.N=this.l="";this.C=!1;var c;a instanceof O?(this.C=b!==void 0?b:a.C,By(this,a.o),this.B=a.B,Cy(this,a.j),Dy(this,a.A),this.l=a.l,Ey(this,a.g.clone()),this.N=a.D()):a&&(c=String(a).match(zf))?(this.C=!!b,By(this,c[1]||"",!0),this.B=Fy(c[2]||""),Cy(this,c[3]||"",!0),Dy(this,c[4]),this.l=Fy(c[5]||"",!0),Ey(this,c[6]||"",!0),this.N=Fy(c[7]||"")):(this.C=!!b,this.g=new Gy(null,this.C))}; O.prototype.toString=function(){var a=[],b=this.o;b&&a.push(Hy(b,Iy,!0),":");var c=this.j;if(c||b=="file")a.push("//"),(b=this.B)&&a.push(Hy(b,Iy,!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(Hy(c,c.charAt(0)=="/"?Jy:Ky,!0));(c=this.g.toString())&&a.push("?",c);(c=this.D())&&a.push("#",Hy(c,Ly));return a.join("")}; O.prototype.resolve=function(a){var b=this.clone(),c=!!a.o;c?By(b,a.o):c=!!a.B;c?b.B=a.B:c=!!a.j;c?Cy(b,a.j):c=a.A!=null;var d=a.l;if(c)Dy(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(Cc(e,"./")||Cc(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?Ey(b,a.g.clone()):c=!!a.N;c&&(b.N=a.D());return b};O.prototype.clone=function(){return new O(this)}; var By=function(a,b,c){a.o=c?Fy(b,!0):b;a.o&&(a.o=a.o.replace(/:$/,""))},Cy=function(a,b,c){a.j=c?Fy(b,!0):b},Dy=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},Ey=function(a,b,c){b instanceof Gy?(a.g=b,My(a.g,a.C)):(c||(b=Hy(b,Ny)),a.g=new Gy(b,a.C));return a},Oy=function(a,b){return a.g.get(b)};O.prototype.D=function(){return this.N}; var Py=function(a,b){return(!a.j&&!b.j||a.j==b.j)&&(a.A==null&&b.A==null||a.A==b.A)},Qy=function(a){return a instanceof O?a.clone():new O(a,void 0)},Fy=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""},Hy=function(a,b,c){return typeof a==="string"?(a=encodeURI(a).replace(b,Ry),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null},Ry=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)},Iy=/[#\/\?@]/g,Ky=/[#\?:]/g,Jy=/[#\?]/g,Ny= /[#\?@]/g,Ly=/#/g,Gy=function(a,b){this.j=this.g=null;this.l=a||null;this.o=!!b},Sy=function(a){a.g||(a.g=new Map,a.j=0,a.l&&Bf(a.l,function(b,c){a.add(Bd(b),c)}))};Gy.prototype.add=function(a,b){Sy(this);this.l=null;a=Ty(this,a);var c=this.g.get(a);c||this.g.set(a,c=[]);c.push(b);this.j+=1;return this};Gy.prototype.remove=function(a){Sy(this);a=Ty(this,a);return this.g.has(a)?(this.l=null,this.j-=this.g.get(a).length,this.g.delete(a)):!1};Gy.prototype.clear=function(){this.g=this.l=null;this.j=0}; Gy.prototype.isEmpty=function(){Sy(this);return this.j==0};var Uy=function(a,b){Sy(a);b=Ty(a,b);return a.g.has(b)};m=Gy.prototype;m.forEach=function(a,b){Sy(this);this.g.forEach(function(c,d){c.forEach(function(e){a.call(b,e,d,this)},this)},this)};m.jg=function(){Sy(this);for(var a=Array.from(this.g.values()),b=Array.from(this.g.keys()),c=[],d=0;d0?String(a[0]):b}; m.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(Ty(this,e),pb(c)),this.j+=c.length))},a));a.o=b};var Vy=function(){var a=this;this.promise=new Promise(function(b,c){a.resolve=b;a.reject=c})};function Wy(){var a=new Vy;return{promise:a.promise,resolve:a.resolve}};function Xy(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=Wy();a[9]=c;b();return c};function Yy(){var a=a===void 0?window:a;var b;return z(function(c){b=[Xy(a).promise];try{b.push(Xy(a.parent).promise)}catch(d){}return c.return(Promise.race(b))})};var Zy=[0,2,1],$y=null,az=function(){var a=window.event||$y;if(!a)return null;var b;(b=a.which?1<=0?c.substring(0,d)+b+c.substring(e):c.substring(0,d)+b}c=ld(b.length>6E4?c:b);c=rd(c);c!==void 0&&(a.href=c)}}};function bz(a){var b=b===void 0?B:b;var c=new Eu;a!=null&&(a.fe!=null&&hk(c,1,a.fe),a.ho!=null&&hk(c,3,a.ho),a.label!=null&&hk(c,6,a.label),a.Qj!=null&&hk(c,7,a.Qj),a.Aj!=null&&hk(c,8,a.Aj),a.Rn!=null&&hk(c,11,a.Rn));var d;a=b;a=a===void 0?window:a;(d=a.fence)==null||d.reportEvent({eventType:"interaction",eventData:Mk(c),destination:["buyer"]})};var cz=new Set(["impression","click"]);var dz=function(a){return typeof a.className=="string"?a.className:a.getAttribute&&a.getAttribute("class")||""},ez=function(a){return a.classList?a.classList:dz(a).match(/\S+/g)||[]},fz=function(a,b){typeof a.className=="string"?a.className=b:a.setAttribute&&a.setAttribute("class",b)},gz=function(a,b){return a.classList?a.classList.contains(b):jb(ez(a),b)},hz=function(a,b){if(a.classList)a.classList.add(b);else if(!gz(a,b)){var c=dz(a);fz(a,c+(c.length>0?" "+b:b))}},iz=function(a,b){if(a.classList)Array.prototype.forEach.call(b, function(e){hz(a,e)});else{var c={};Array.prototype.forEach.call(ez(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;fz(a,b)}},jz=function(a,b){a.classList?a.classList.remove(b):gz(a,b)&&fz(a,Array.prototype.filter.call(ez(a),function(c){return c!=b}).join(" "))};var kz=function(a){this.serializedAttributionData=Lk(a);this.g=a.clone();this.isMutableImpression=Oj(this.g,Au,1)!==void 0&&!!Vj(I(this.g,Au,1),33);J(this.g,30);Vj(this.g,11);this.hasUserFeedbackData=!!this.g&&Oj(this.g,Au,1)!==void 0;Vj(this.g,4);Vj(this.g,6);Vj(this.g,13);this.Xj=Wj(this.g,8)||1;this.creativeIndexSuffix=Wj(this.g,8)>1?Wj(this.g,7).toString():"";Ti(kj(this.g,34))!=null&&(this.creativeIndexSuffix=J(this.g,34)+"_"+this.creativeIndexSuffix);Vj(this.g,17);Vj(this.g,18);this.C=!!Vj(this.g, 14);this.B=!!Vj(this.g,15);Vj(this.g,31);Vj(this.g,9);this.openAttributionInline=Vj(this.g,10)==1;this.isMobileDevice=!!Vj(this.g,12);this.Ef=null;this.J=(a=oc.querySelector("[data-slide]"))?a.getAttribute("data-slide")==="true":!1;(this.o=Wj(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=oc.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}Ie("abgcp"+this.creativeIndexSuffix);Ie("abgc"+this.creativeIndexSuffix);this.j=Ie("abgs"+this.creativeIndexSuffix);Ie("abgl"+this.creativeIndexSuffix);Ie("abgb"+this.creativeIndexSuffix);Ie("abgac"+this.creativeIndexSuffix);Ie("mute_panel"+this.creativeIndexSuffix);this.l=Ke("goog_delegate_attribution"+this.creativeIndexSuffix); this.isDelegateAttributionActive=!!this.l&&!!this.C&&!Ke("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;vz(d,h);tz(d.j)?e=h:f=h}vz(d,e)}b()})},this);return new Promise(a)};uz.prototype.getSize=function(){return this.g};var wz=function(a,b){a.l=b};var xz=function(a){return!!a&&!!J(a,30)&&!!J(a,31)&&!!J(a,32)},yz=function(a,b){return Ie(a+(b===void 0?"":b))},zz=function(a,b){return Ie(a+(b===void 0?"":b))},Az=function(a){if(Ti(kj(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"?Yy().then(function(d){d.dismiss(3)}):C.top.postMessage(c,"*")}catch(d){kx(d,function(e){e.closeMsg=c})}}}},Bz=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);a.dispatchEvent(d)};var Cz=RegExp("[\u0591-\u06ef\u06fa-\u08ff\u200f\ud802-\ud803\ud83a-\ud83b\ufb1d-\ufdff\ufe70-\ufefc]");var Dz={},Ez={},Fz={},Gz={},Hz=function(){throw Error("Do not instantiate directly");};Hz.prototype.Bj=null;Hz.prototype.getContent=function(){return this.content};Hz.prototype.toString=function(){return this.content};Hz.prototype.Fk=function(){if(this.Cj!==Dz)throw Error("Sanitized content was not of kind HTML.");return td(this.toString())};var Iz=function(){Hz.call(this)};Va(Iz,Hz);Iz.prototype.Cj=Dz;var Jz=function(a){if(a!=null)switch(a.Bj){case 1:return 1;case -1:return-1;case 0:return 0}return null},Oz=function(a){return Kz(a,Dz)?a:a instanceof sd?Lz(ud(a).toString()):Lz(String(String(a)).replace(Mz,Nz),Jz(a))},Lz=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.Bj=d);return c}}(Iz),Pz=function(a,b){for(var c in b)c in a||(a[c]=b[c]);return a},Qz=function(a){return a instanceof Hz?!!a.getContent():!!a},Tz=function(a){return Rz(String(a), function(){return""}).replace(Sz,"<")},Uz=RegExp.prototype.hasOwnProperty("sticky"),Vz=new RegExp((Uz?"":"^")+"(?:!|/?([a-zA-Z][a-zA-Z0-9:-]*))",Uz?"gy":"g"); function Rz(a,b){for(var c=[],d=a.length,e=0,f=[],g,h,k=0;k":f.push(l);c.push(b(f.join(""), g));e=0;f=[];h=g=null;break;default:f.push(l)}break;default:throw Error();}e===1&&k>=d&&(k=h+1,c.push("<"),e=0,f=[],h=g=null)}return c.join("")} var Wz=function(a,b){a=a.replace(/<\//g,"<\\/").replace(/\]\]>/g,"]]\\>");return b?a.replace(/{/g," \\{").replace(/}/g," \\}").replace(/\/\*/g,"/ *").replace(/\\$/,"\\ "):a},P=function(a){return Kz(a,Dz)?String(Tz(a.getContent())).replace(Xz,Nz):String(a).replace(Mz,Nz)},$z=function(a){return Kz(a,Dz)?String(Tz(a.getContent())).replace(Yz,Nz):String(a).replace(Zz,Nz)},eA=function(a){Kz(a,Ez)||Kz(a,Fz)?a=aA(a):gd(a)?a=aA(hd(a)):a instanceof ad?a=aA(dd(a).toString()):(a=String(a),a=bA.test(a)?a.replace(cA, dA):"about:invalid#zSoyz");return a},gA=function(a){Kz(a,Ez)||Kz(a,Fz)?a=aA(a):gd(a)?a=aA(hd(a)):a instanceof ad?a=aA(dd(a).toString()):(a=String(a),a=fA.test(a)?a.replace(cA,dA):"about:invalid#zSoyz");return a},Q=function(a){return Kz(a,Gz)?Wz(a.getContent(),!1):a==null?"":Wz(String(a),!0)},Kz=function(a,b){return a!=null&&a.Cj===b},hA={"\x00":"�","\t":" ","\n":" ","\v":" ","\f":" ","\r":" "," ":" ",'"':""","&":"&","'":"'","-":"-","/":"/","<":"<", "=":"=",">":">","`":"`","\u0085":"…","\u00a0":" ","\u2028":"
","\u2029":"
"},Nz=function(a){return hA[a]},iA={"\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"},dA=function(a){return iA[a]},Mz=/[\x00\x22\x26\x27\x3c\x3e]/g,Xz=/[\x00\x22\x27\x3c\x3e]/g,Zz=/[\x00\x09-\x0d \x22\x26\x27\x2d\/\x3c-\x3e`\x85\xa0\u2028\u2029]/g,Yz=/[\x00\x09-\x0d \x22\x27\x2d\/\x3c-\x3e`\x85\xa0\u2028\u2029]/g,cA=/[\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, bA=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i,fA=/^[^&:\/?#]*(?:[\/?#]|$)|^https?:|^ftp:|^data:image\/[a-z0-9+-]+;base64,[a-z0-9+\/]+=*$|^blob:/i,jA=/^[a-zA-Z0-9+\/_-]+={0,2}$/,aA=function(a){return String(a).replace(cA,dA)},kA=function(a){a=String(a);return jA.test(a)?a:"zSoyz"},Sz=/
';h?p='
'+(da?"":'")+ '
'+(k&&!l?(G?qA(a):"")+(fa?"":''+Oz(f)+""):"")+(n?"":p?''+Oz(u)+' ': ''+Oz(A)+' ')+"
":(f=(da?"":'")+'
'+(F>40?'
': "")+(G?qA(a)+'':""),!k||l||fa?k="":(k=a.creativeIndexSuffix,l=a.jk,k=Lz(''+Oz(l)+"")),k=f+k,n?p="":p?(p='',n=a.creativeIndexSuffix,l=a.Tk,fa=a.Sk,f=a.kh,h=a.oi,n=Lz(''+(f&&!h?rA(a.creativeIndexSuffix,a.ah)+Oz(fa):Oz(fa)+" "+rA(a.creativeIndexSuffix,a.ah))+""),p+=n):(p='',n=a.creativeIndexSuffix,l=a.wk,fa=a.vk,f=a.ah,n=Lz(''+Oz(fa)+' '),p+=n),p=k+p+"
");g=e+p+'
'+Oz(g)+'
'; G?(d='
'+(da?"":'
'+pA()+"
")+'
'+(da?'
'+pA()+"
":"")+'
'+Oz(S)+'
', G=a.creativeIndexSuffix,S=a.oi,da=a.Yl,e=a.Zl,G=Lz(''+(S?sA()+Oz(da):Oz(da)+" "+sA())+""),d=d+G+"
"):d="";Sb=Sb(g+d+"");d=a.creativeIndexSuffix;G=a.ci;S=a.Ul;da=a.dm;g=a.Ci;e=a.Tg;p=a.Am;n=a.dk;k=a.ek;l=a.kh;fa=a.Kk;f=a.enableNativeJakeUi;h=a.Ti;a=a.ug;b=b&&b.xm;b=Lz((l?'":"")+"#panel_set"+Q(d)+">.panel {position: absolute;"+(G?"top: -100%; left: -100%;":"top: -"+Q(S)+"px; left: -"+Q(da)+"px;")+"z-index: 2147483646; display: block;"+(G?"width: 100%; height: 100%":"width: "+Q(g)+"px; height: "+Q(e)+"px;")+"}#panel_set"+Q(d)+" img {border: 0;}#panel_set"+Q(d)+">.panel.visible, #panel_set"+Q(d)+" .visible .panel {position: absolute;"+(p?"top: 0; left: 0;":"left: "+Q(n)+"px; top: "+Q(k)+"px;")+ "opacity: 1;}#panel_set"+Q(d)+" .panel-container {display: table;"+(G?"width: 100%; height: 100%;":"width: "+Q(g)+"px; height: "+Q(e)+"px;")+"margin: 0; padding: 0; background-color: #fafafa;}#panel_set"+Q(d)+" .panel-row {display: block; padding: 0 0 0.3em 0;}#panel_set"+Q(d)+" .panel-row:first-child {padding: 0.3em 17px;}#panel_set"+Q(d)+" .panel-content {"+(a?"vertical-align: middle;":"vertical-align: top;")+"padding-top: "+Q(h)+"px; display: table-cell; color: #999; color: rgba(0,0,0,0.4); transition: opacity 150ms linear; text-align: center;}.collapsed #panel_set"+ Q(d)+" .fade {opacity: 0.4;}#menu-dismiss"+Q(d)+" {padding-top: "+Q(h)+"px;}.jake-middle.survey-horiz #panel_set .panel-content {vertical-align: middle;}#ad_closed_panel"+Q(d)+" .btn, #ad_options_panel"+Q(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"+Q(d)+", #final_closed_text"+Q(d)+" {display: inline-block; line-height: 1.28em; font-size: 1.2em;}#native_closed_text"+ Q(d)+" {display: flex; flex-direction: row; align-items: center;}#closed_text"+Q(d)+" img, #native_closed_text"+Q(d)+" img, #final_closed_text"+Q(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'+Q(d)+" img {margin: 0 0.3em -0.2em 0.3em; height: 1.4em;}.spacer"+Q(d)+" {display: inline-block; padding: 0; box-shadow: none; width: 3px;}"+(g<=360&& e>=100?"#ad_closed_panel"+Q(d)+" .responsive-btn, #ad_options_panel"+Q(d)+" .responsive-btn {max-width: 288px; width: 75%; white-space: normal; margin-bottom: 0.4em;}.spacer"+Q(d)+" {display: none;}":"")+(g<=220?"#ad_closed_panel"+Q(d)+" .responsive-btn, #ad_options_panel"+Q(d)+" .responsive-btn {max-width: 198px; width: 90%; white-space: normal; margin-bottom: 0.4em;}.spacer"+Q(d)+" {display: none;}":"")+(e>=220&&!a?"#panel_set"+Q(d)+" .panel-content {vertical-align: top;}":"")+(e<=36?"#closed_text"+ Q(d)+" {padding: 0 1em 0 0;}#panel_set"+Q(d)+" .panel-row {padding: 0 !important;}":"")+".btn>span {display: inline-block; padding: 0.5em 0.6em; line-height: 1em;}#ad_closed_panel"+Q(d)+" .settings-btn, #ad_options_panel"+Q(d)+" .settings-btn {background-color: #fff; color: #9e9ea6;}#ad_closed_panel"+Q(d)+" .settings-btn:hover, #ad_closed_panel"+Q(d)+" .settings-btn:active, #ad_options_panel"+Q(d)+" .settings-btn:hover, #ad_options_panel"+Q(d)+" .settings-btn:active{background-color: #f5f5f5;}.settings-text {white-space: nowrap;}#report_btn"+ Q(d)+".primary-btn, #ad_options_btn"+Q(d)+".primary-btn {background-color: #4285f5; color: white;}#report_btn"+Q(d)+".primary-btn:hover, #report_btn"+Q(d)+".primary-btn:active, #ad_options_btn"+Q(d)+".primary-btn:hover, #ad_options_btn"+Q(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'+ Q(d)+" {font-weight: bold; color: #333;}#confirmation_msg"+Q(d)+", #final_closed_text"+Q(d)+" {line-height: 1.1em; padding: 0.3em;}"+(e>=100?"#confirmation_msg"+Q(d)+", #final_closed_text"+Q(d)+" {padding: 1em 0.3em;}":"")+"#post_survey_panel"+Q(d)+" span {display: block; text-align: center; line-height: 1em;}#post_survey_panel"+Q(d)+" a, #post_survey_panel"+Q(d)+" a:active, #post_survey_panel"+Q(d)+" a:hover {text-decoration: none; color: #4285f5;}#final_closed_panel"+Q(d)+", #final_closed_panel"+ Q(d)+" #final_closed_text {opacity: 0; transition: opacity 400ms linear;}#final_closed_panel"+Q(d)+" span {white-space: normal;}#final_closed_panel"+Q(d)+" #final_closed_text.visible {opacity: 1;}"+(fa?"#personalize_toggle"+Q(d)+" {pointer-events: none; margin-top: 6px; margin-bottom: 6px;}#ad_options_panel"+Q(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'+Q(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"+Q(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"+ Q(d)+" {position: absolute; top: 0; left: 0; cursor: pointer;}#menu-dismiss"+Q(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"+Q(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"+ Q(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"+Q(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"+ Q(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"+Q(d)+":hover {background-color: rgba(20,91,183,1);}.native-button-container #settings_btn"+Q(d)+", .native-button-container #why_this_ad_btn"+Q(d)+", .native-button-container #learn_more_btn"+Q(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;}":""):"")+(l?"#panel_set"+Q(d)+" .panel-content {font-family: 'Google Sans', sans-serif;}#closed_text"+Q(d)+" img, #native_closed_text"+Q(d)+" img, #final_closed_text"+Q(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'+Q(d)+" .btn, #ad_options_panel"+ Q(d)+" .btn {border-radius: 4px;}#ad_closed_panel"+Q(d)+" .settings-btn, #ad_options_panel"+Q(d)+" .settings-btn {box-shadow: inset 0 0 0 1px #dadce0;}#closed_text"+Q(d)+", #final_closed_text"+Q(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"+Q(d)+" {width: 4px;}#closed_text"+Q(d)+", #final_closed_text"+Q(d)+" {line-height: 1em;}"+(e>=90?".close {height: 24px; width: 24px; top: 8px; left: 8px;}#closed_text"+Q(d)+ ", #final_closed_text"+Q(d)+" {font-size: 1.3em;}.panel-lower {margin-top: 6px;}.panel-buttons {margin-top: 6px;}":"#closed_text"+Q(d)+", #final_closed_text"+Q(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"+Q(d)+" .panel-row:first-child {padding: 0 17px;}#ad_closed_panel"+ Q(d)+" .responsive-btn, #ad_options_panel"+Q(d)+" .responsive-btn {margin-bottom: 8px; width: 51%;}"):"#panel_set"+Q(d)+" .panel-content {font-family: 'Arial', sans-serif;}#ad_closed_panel"+Q(d)+" .btn, #ad_options_panel"+Q(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;}")+(fa?"#learn_more_btn"+Q(d)+" .window-icon {height: 16px; width: 16px;}#personalize_toggle"+Q(d)+" .track {pointer-events: all; position: relative; display: inline-block; width: 36px; height: 14px; top: 1px; margin-left: 6px;}#personalize_toggle"+ Q(d)+" .track input {opacity: 0; width: 0; height: 0;}#personalize_toggle"+Q(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"+Q(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'+ Q(d)+" input:checked + .handle {background-color: rgba(66, 133, 244, .5);}#personalize_toggle"+Q(d)+" input:focus + .handle {box-shadow: 0 0 1px #4285f4;}#personalize_toggle"+Q(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"+ Q(d)+" .track {width: 24px; height: 9px; top: 2px;}#personalize_toggle"+Q(d)+" .handle:before {height: 13px; width: 13px; left: -7px; bottom: -2px;}#learn_more_btn"+Q(d)+" .window-icon {height: 14px; width: 14px;}":"")+(e>=500?"#personalize_toggle"+Q(d)+" {margin-top: 6;}":"")+(g<=100||e<=100?"#personalize_toggle"+Q(d)+" {margin-top: 0; margin-bottom: 3px;}#learn_more_btn"+Q(d)+" .window-icon {height: 12px; width: 12px;}":"")+(g<=60||e<=60?"#learn_more_btn"+Q(d)+" .window-icon {height: 11px; width: 11px;}": "")+(g<=50||e<=50?"#learn_more_btn"+Q(d)+" .window-icon {height: 9px; width: 9px;}":""):"")+"");return c(Sb+b)},qA=function(a){var b=a.creativeIndexSuffix;a=a.Xl;return Lz(''+Oz(a)+"")},rA=function(a,b){return Lz('')},pA=function(){return Lz('')}, sA=function(){return Lz('')};var uA=function(a,b){var c=a.creativeIndexSuffix,d=a.on,e=a.ao,f=a.Bm,g=Lz,h=Pz({Fm:Qz(d)?"left":"right",im:Qz(d)?"right":"left"},a);d=h.Fm;var k=h.im,l=h.creativeIndexSuffix,p=h.jm,n=h.lm,r=h.km,u=h.oo,t=h.Pn,x=h.ci,A=h.Ci,F=h.Tg,G=h.kh,S=h.Ti;h=h.ug;b=b&&b.xm;f=" "+Lz((G?'":"")+"#survey-container"+Q(l)+" {position: absolute; top: 0; left: 0;"+ (Qz(x)?"width: 100%; height: 100%;":"width: "+Q(A)+"px; height: "+Q(F)+"px;")+"overflow: hidden;"+(h?"display: table;":"")+"background-color: #fafafa; font-size: 0; white-space: nowrap;}.survey-native-scroll #survey-container"+Q(l)+" {overflow-x: scroll;}.survey-horiz, .survey-vert {text-align: center;}#survey-container"+Q(l)+" * {box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box;}.survey-block {height: "+Q(p)+"px;}.survey-option {position: relative; overflow: hidden; display: inline-block; padding: 1px 5px; width: "+ Q(n)+"px; height: "+Q(p)+"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"+ Q(l)+".survey-horiz .survey-option {display: inline-block; margin-"+Q(k)+": -1px; box-shadow: none;}#mute_panel"+Q(l)+".survey-horiz .survey-option:first-child {margin-"+Q(k)+": 0;}#mute_panel"+Q(l)+".survey-horiz.survey-spaced .survey-option {margin-"+Q(k)+": "+Q(r)+"px;}#mute_panel"+Q(l)+".survey-horiz.survey-spaced .survey-option:first-child {margin-"+Q(k)+": 0;}#mute_panel"+Q(l)+".survey-horiz.jake-middle .survey-block {margin-top: "+Q(((F!=null?F:0)-p)/2)+"px;}#mute_panel"+Q(l)+".survey-horiz.jake-top .survey-block {margin-top: "+ Q(r)+"px;}#mute_panel"+Q(l)+".survey-vert .survey-option, #mute_panel"+Q(l)+".survey-horiz.survey-spaced .survey-option {border-radius: 2px;}#mute_panel"+Q(l)+".survey-vert .survey-option {margin: "+Q(r)+"px auto 0 auto; display: block;}#mute_panel"+Q(l)+".survey-vert.jake-top .survey-option:first-child {margin-top: "+Q(r)+"px;}#mute_panel"+Q(l)+".survey-vert.jake-middle .survey-option:first-child {margin-top: "+Q(((F!=null?F:0)-u)/2)+"px;}#mute_panel"+Q(l)+".survey-grid #survey-container"+Q(l)+" {width: initial; height: initial; white-space: normal; padding: 1px;}#mute_panel"+ Q(l)+".survey-grid .survey-option {display: inline-block; width: "+Q(((A!=null?A:0)-6)/2)+"px; height: "+Q(((F!=null?F:0)-6)/2)+"px; margin: 1px;}#mute_panel"+Q(l)+".survey-small-grid #survey-container"+Q(l)+" {white-space: normal; padding: "+Q((F!=null?F:0)/2-(p+2))+"px 0px;}#mute_panel"+Q(l)+".survey-small-grid #option-container"+Q(l)+" {padding: 0 "+Q((A!=null?A:0)/2-(n+2))+"px;}#mute_panel"+Q(l)+".survey-small-grid .survey-option {display: inline-block; margin: 1px;}.option-container {"+(h?"display: table-cell; vertical-align: middle;": "margin-top: "+Q(S)+"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 {"+ Q(d)+": 0;}.native-scroll.scroll-"+Q(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-"+Q(k)+"-radius: 4px; border-bottom-"+Q(k)+'-radius: 4px;}.scroll-right div {background-image:url("'+gA(t)+"/images/icons/material/system/1x/keyboard_arrow_"+aA(d)+'_white_36dp.png");}.scroll-left {'+Q(k)+": 0;}.native-scroll.scroll-"+Q(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-"+ Q(d)+"-radius: 4px; border-bottom-"+Q(d)+'-radius: 4px;}.scroll-left div {background-image:url("'+gA(t)+"/images/icons/material/system/1x/keyboard_arrow_"+aA(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);}'+ (G?".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?'
'+Lz('')+ "
":"");e=Pz({options:e},a);a=e.options;e=e.creativeIndexSuffix;b="";d=a.length;for(k=0;k
'+Oz(a[k])+"
";b+='
';a=Lz(b);return g(f+a+'
')};var wA=function(a,b,c,d,e,f,g,h,k,l,p,n,r,u,t){this.J=a;this.g=b;this.o=c;this.Fa=d;this.ia=h;this.j=k;this.Va=l;this.F=e;this.hc=f;this.R=g;this.Ua=n;this.Ta=r;this.qa=u;this.Y=void 0;this.oa=p;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.ea=this.aa=null;this.ba=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&&vA(this)<=4;this.Fb=this.g>=196&&this.o>=2*this.C+ 4&&vA(this)<=4;this.ib=this.Va==="enable_jake_ui_grid"&&b&&a;this.W=!!this.oa;this.T=t;this.collapse()};wA.prototype.render=function(){lA(this.J,uA,{Ci:this.g,Tg:this.o,dk:0,ek:this.Fa,ci:this.ia,creativeIndexSuffix:this.j,on:this.F,Pn:this.hc,lm:96,jm:this.C,km:8,oo:vA(this)*(this.C+8)-8,vq:vA(this)*95+1,wq:vA(this)*104-8,ao:bb(Qj(this.R,xu,2,nj()),function(a){return J(a,1)}),kh:this.Ua,Ti:this.Ta,ug:this.qa,Bm:this.T});xA(this)};wA.prototype.expand=function(){this.J&&hz(this.J,"visible")}; wA.prototype.collapse=function(){this.J&&jz(this.J,"visible")};wA.prototype.display=function(a){this.Y=a;this.expand()}; var vA=function(a){return Qj(a.R,xu,2,nj()).length},yA=function(a){var b=[],c=a.o,d=a.g,e=a.C,f=vA(a)*95+1,g=vA(a)*104-8;var h=vA(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},xA=function(a){a.aa= document.getElementById("survey-container"+a.j);a.ea=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.W?a.aa&&a.K&&a.G&&(a.aa.onscroll=function(){a.L=!0},window.setInterval(function(){if(a.L){var e=a.ea.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&&rf(a.B,"click",Ra(a.Ib,a)),a.A&&rf(a.A,"click",Ra(a.Hb,a)));var b=(a.J||document).querySelectorAll(".survey-option");if(b&&b[0]){a.N=b[0];for(var c=0;c1?1:0])||jx({context:"mta_nomop"});this.Fb=a||new zu;this.g=this.o.creativeIndexSuffix;this.hc=this.o.isMobileDevice;this.Ta=!!this.o.creativeIndexSuffix;this.Hb=this.o.autoExpandOnLoad;this.R=oz(J(this.j,5),J(this.j,6),J(this.j,19)); a=new pz(this.L);this.ia=!!this.o.enableNativeJakeUi;this.xg=qz(a,"jake_ui_extension","jake_default_ui");this.re=qz(a,"disable_report_button",(!1).toString()).toString()==="true";this.vg=qz(a,"disable_wta_button",(!1).toString()).toString()==="true";this.qa=!!Vj(this.j,43);this.W=Vj(Bu(this.j),24);this.K=bk(Bu(this.j),27);this.Va=this.ib=this.Ua=!1;this.fc=Vj(Bu(this.j),29);this.A=this.ba;this.l=this.B;this.Y=0;this.G=!1;this.oa=parseInt(qz(a,"post_click_menu_height_when_bottom_anchor_on_mobile", "0"),10);AA(this);this.F=null;this.ea=ix(279,function(){c.D&&(jx({ev:"psx",efsb:1,elsb:0,ttd:Date.now()-c.D},1),c.D=null,sf(C,"beforeunload",c.ea))});this.Ib=!1;this.T=this.D=null;this.Fa=Wj(Bu(this.j),28)};q(BA,N); BA.prototype.render=function(){var a=this,b=zz("mute_panel",this.g),c=Bu(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),l=J(this.j,39),p=J(this.j,40),n=Vj(this.j,41),r=J(Bu(this.j),17),u=J(this.j,31);r&&(u=Cf(u,"eid",r));r=xz(this.j);c&&J(c,11)&&J(c,12)&&(e=J(c,12),f=J(c,11));Vj(this.L,35)&&this.oa>0&&this.B>this.oa&&(this.G=!1,this.l=this.oa,this.Y=this.B-this.l);c={isMutableImpression:this.o.isMutableImpression, rn:!1,Ul:this.B,dm:this.ba,Tg:this.l,Ci:this.A,dk:0,ek:this.Y,ci:this.G,creativeIndexSuffix:this.g,Am:this.Ta,Eq:this.j,oi:Vj(this.j,27),jk:J(Bu(this.j),6),qm:J(Bu(this.j),7),vk:e,wk:d,ah:f,so:r,to:this.vg,Sk:g,Tk:u,enableNativeJakeUi:this.ia,kh:this.W,Kk:this.K!==0,Xl:h,Mn:k,Yl:l,Zl:p,zm:this.re,Ti:this.Fa,ug:this.qa};lA(b,tA,c);(c=this.ia?yz("native_closed_text",this.g):yz("closed_text",this.g))&&CA(this,c,J(Bu(this.j),18));(c=yz("final_closed_text",this.g))&&CA(this,c,J(Bu(this.j),3));(c=yz("report_btn", this.g))&&rf(c,"click",ix(280,function(){DA(a)}));(c=yz("settings_btn",this.g))&&rf(c,"click",function(){return a.collapse()});if(xz(this.j)){var t=yz("why_this_ad_btn",this.g);t&&rf(t,"click",ix(281,function(G){var S;(S=a.R)==null||mz(S,"closebutton_whythisad_click","1",!1);S=t.getAttribute("href");var fa={};G=(fa.wtaUrl=S,fa.underlyingEvent=G,fa);Bz(a,"wtaClicked",{detail:G})}))}(c=yz("menu-dismiss",this.g))&&rf(c,"click",ix(354,function(){EA(a,"btn")}));if(this.K!==0){(c=yz("ad_options_btn",this.g))&& rf(c,"click",function(){var G=yz("ad_options_panel",a.g);G&&hz(G,"visible")});(c=yz("ad_options_dismiss",this.g))&&rf(c,"click",function(){return FA(a)});var x=yz("learn_more_btn",this.g);x&&rf(x,"click",function(G){a.Va||(a.Va=!0,jx({context:"mta_paidLearnMore"},.01));var S=x.getAttribute("href"),fa={};G=(fa.learnMoreUrl=S,fa.underlyingEvent=G,fa);Bz(a,"learnMoreClicked",{detail:G})});if(c=yz("personalize_toggle",this.g))if(rf(c,"click",function(){var G=yz("personalize_checkbox",a.g);G.checked=!G.checked; var S=G.checked,fa=!a.Ua;a.Ua=!0;var da={};S=(da.gpidType=a.K,da.gpidPersonalizationEnabled=S,da.gpidShouldResetAdsData=fa,da);Bz(a,"updateGpid",{detail:S});fa&&a.K==1&&jx({context:"mta_paidClearAdsData"},.01);(fa=J(a.j,42))&&C.fetch&&C.fetch(fa);a.ib||(a.ib=!0,jx({context:"mta_paidPersonalizationToggle",state_toggled:G.checked},.01))}),c=yz("personalize_checkbox",this.g))c.checked=n}(n=yz("native-menu-bg",this.g))&&rf(n,"click",ix(354,function(){EA(a,"bg")}));n=yz("survey_panel",this.g);c=I(this.Fb, yu,3);d=["jake-top"];n&&c&&(this.F=new wA(n,this.A,this.l,this.Y,Vj(this.j,27),J(Bu(this.j),16),c,this.G,this.g,this.xg,this.hc,this.W,this.Fa,this.qa,this.fc),d=yA(this.F),this.F.render());iz(b,d);b=[];n=this.W?15:16;if(this.ia)n=new uz("#mute_panel"+this.g+" .native-panel",n,6),b.push(n.resize());else{var A=new uz("#mute_panel"+this.g+" .panel-row",n,9);wz(A,function(){var G=yz("ad_closed_panel",a.g);A.getSize()<=13?hz(G,"fallback-wrap"):jz(G,"fallback-wrap")});var F=new uz("#mute_panel"+this.g+ " .btn-text",n,9);b.push(A.resize().then(function(){return F.resize()}))}n=new uz("#mute_panel"+this.g+" .conf-msg",17,12);b.push(n.resize());n=new uz("#mute_panel"+this.g+" #final_closed_text",17,12);b.push(n.resize());n=new uz("#mute_panel"+this.g+" .survey-option span",12,8);b.push(n.resize());return Promise.all(b)}; var AA=function(a){if(a.g){for(var b=null,c=0,d=0,e=document.querySelectorAll("[data-dim]"),f=0;f=115?(a.l=b.offsetHeight,a.A=b.offsetWidth):a.Ta=!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.B=b,a.ba=c,a.l=b,a.A=c,a.G=!0},EA=function(a,b){jx({context:"mta_dismiss",close_method:b,jake_mta_context:J(Bu(a.j),17),height:a.l,width:a.A},.01);a.collapse()},CA=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(Bu(a.j),5));a=document.createElement("span");a.innerText=c[1];b.appendChild(d);b.appendChild(e);b.appendChild(a)},DA=function(a){var b=I(a.Fb,wu,2);if(!a.Ib)if(b){var c;(c=a.R)==null||nz(c, b);a.Ib=!0}else jx({context:"mta_nomoconv"},.01);b=0;a.F?(b=2,a.F.display(function(d,e){var f;(f=a.R)==null||nz(f,d);a.T=d;jx({type:"jake_survey_idx",idx:e,jake_mta_context:J(Bu(a.j),17)},.01);GA(a)}),a.D=Date.now(),(c=yz("survey_panel",a.g))&&hz(c,"visible")):GA(a);jx({type:"jake_telemetry",surv_rc:b,jake_mta_context:J(Bu(a.j),17)},.01);a.D&&rf(C,"beforeunload",a.ea)},GA=function(a){var b=yz("survey_panel",a.g);b&&jz(b,"visible");(b=yz("post_survey_panel",a.g))&&hz(b,"visible");setTimeout(function(){return HA(a)}, 1600)},HA=function(a){var b=yz("final_closed_panel",a.g);b&&hz(b,"visible");setTimeout(function(){return IA(a)},300)},IA=function(a){var b=yz("final_closed_text",a.g);b&&hz(b,"visible");b=a.T&&J(a.T,1)==="mute_survey_option"&&J(a.T,2)==="3";(a.g===""||b)&&setTimeout(function(){return Az(a.j)},900)}; BA.prototype.expand=function(){hz(zz("ad_closed_panel",this.g),"visible");hz(document.body,"goog_menu_opened");if(!this.Hb){var a=I(this.j,wu,7);if(a){var b;(b=this.R)==null||nz(b,a);this.Hb=!0}else jx({context:"mta_noiconv"},.01)}this.dispatchEvent("p-control-panel-shown")};BA.prototype.collapse=function(){jz(zz("ad_closed_panel",this.g),"visible");jz(document.body,"goog_menu_opened");FA(this);this.dispatchEvent("p-control-panel-hidden")};BA.prototype.P=function(){sf(C,"beforeunload",this.ea);N.prototype.P.call(this)}; var FA=function(a){(a=yz("ad_options_panel",a.g))&&jz(a,"visible")};var JA={};Ia("adsense.mobileads.afmanotify.receiveMessage",function(a,b){if(JA.hasOwnProperty(a))for(var c=JA[a],d=0;dc)return this.g;Hm(b)||(b=new Gm(b,{context:a,id:d}));B.google_js_errors=B.google_js_errors||[];B.google_js_errors.push(b);B.error_rep_loaded||(b=B.document,a=Vf("SCRIPT",b),zd(a,this.o),(b=b.getElementsByTagName("script")[0])&&b.parentNode&&b.parentNode.insertBefore(a,b),B.error_rep_loaded=!0);return this.g};uB.prototype.Wd=function(a,b){try{return b()}catch(c){if(!this.sc(a,c,this.l,this.j))throw c;}}; uB.prototype.Xg=function(a,b,c){var d=this;return function(){var e=Ea.apply(0,arguments);return d.Wd(a,function(){return b.apply(c,e)})}};var vB=function(a){a=a._google_rum_ns_=a._google_rum_ns_||{};return a.pq=a.pq||[]};var wB=function(a,b){b=b.google_js_reporting_queue=b.google_js_reporting_queue||[];b.length<2048&&b.push(a)},xB=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=Lm(),h=3;try{var k=b.apply(this,arguments)}catch(l){h=13;if(!c)throw l;c(a,l)}finally{e.google_measure_js_timing&&g&&wB(Object.assign({},{label:a.toString(), value:g,duration:(Lm()||0)-g,type:h},d&&f&&{taskId:e.google_rum_task_id_counter=e.google_rum_task_id_counter||1}),e)}return k}};function yB(a,b,c){Nf(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 DB=function(a,b,c,d,e,f,g,h){f=f===void 0?Infinity:f;g=g===void 0?!1:g;Qm.call(this,a,h);var k=this;this.Y=b;this.domain=c;this.path=d;this.W=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||zB(this,"dat",1);a&&a.deviceMemory&&zB(this,"dmc",a.deviceMemory);this.g===this.g.top&&zB(this,"top",1);this.R=!g;this.K=function(){k.g.setTimeout(function(){AB(k)}, 1100)};this.aa=function(){zB(k,"uet",2);for(var p=v(k.L),n=p.next();!n.done;n=p.next()){n=n.value;try{n()}catch(u){}}p=k.g;var r=r===void 0?{}:r;typeof window.CustomEvent==="function"?n=new CustomEvent("rum_blp",r):(n=document.createEvent("CustomEvent"),n.initCustomEvent("rum_blp",!!r.bubbles,!!r.cancelable,r.detail));p.dispatchEvent(n);AB(k);k.A.uet!=null&&(k.o-=3+k.A.uet.length+2,delete k.A.uet)};this.ba=of(function(){AB(k)});this.ea=function(){var p=k.g.document;(p.hidden!=null?p.hidden:p.mozHidden!= null?p.mozHidden:p.webkitHidden!=null&&p.webkitHidden)&&k.ba()};this.N=this.g.setTimeout(function(){AB(k)},5E3);this.o=b.length+c.length+d.length+e.length+3;Za(this.events,function(p){BB(k,p)});b=vB(this.g);var l=function(){var p=Ea.apply(0,arguments)[0],n=p[0];p=p[1];var r=n.length+p.length+2;k.o+k.l+r>8E3&&AB(k);k.D.push([n,p]);k.l+=r;k.o+k.l>=6E3&&AB(k);return 0};Za(b,function(p){return l(p)});b.length=0;b.push=l;zB(this,"puid",(this.J+1).toString(36)+"~"+Ta().toString(36));CB(this)};q(DB,Qm); var CB=function(a){a.g.document.readyState==="complete"?a.g.setTimeout(function(){AB(a)},0):rf(a.g,"load",a.K);var b=uf(a.g.document);typeof b!=="undefined"&&rf(a.g,b,a.ea);rf(a.g,"pagehide",a.aa)},zB=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},EB=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&&(AB(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&&AB(a)},AB=function(a){if(a.j&&a.R){try{a.l&&(a.sendBeacon(a.report),a.J===a.G&&a.C())}catch(b){(new uB).sc(358,b)}a.report={};a.l=0;a.events.length=0;a.g.clearTimeout(a.N);a.N=0}},FB=function(a,b){var c=a.Y+"//"+a.domain+a.path+a.W,d={};c=yB(c,a.A,d);c=yB(c,b,d);b=a.g;b.google_timing_params&&(c=yB(c,b.google_timing_params,d),b.google_timing_params=void 0);Za(a.D,function(e){var f=v(e);e=f.next().value; f=f.next().value;var g={};c=yB(c,(g[e]=f,g))});a.D.length=0;return c};DB.prototype.sendBeacon=function(a){this.J++;a=FB(this,a);var b=!1;try{b=!!(this.T&&this.g.navigator&&this.g.navigator.sendBeacon(a,null))}catch(c){this.T=!1}b||rg(this.g,a);zB(this,"puid",(this.J+1).toString(36)+"~"+Ta().toString(36))}; var BB=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):"");EB(a,c,b,!0,"~")};DB.prototype.B=function(a){this.j&&this.J1)return XB("multiple-elements",a.g),null;b=b[0];return b?b.innerHTML:(XB("missing-element",a.g),null)},$B=function(){var a=ZB,b=YB(a);if(b!==null)if(OB(b)){var c=JSON.parse(b);b=c.experimentIds;var d=c.binaryIdentifier;c=c.adEventId;var e=typeof d==="string";typeof c=="string"&&HB(U(),"qqid",c);e&& (a.g=d);typeof b!=="string"?XB("missing-flags",a.g):(e||XB("missing-binary-id",a.g),a.l=b)}else XB("invalid-json",a.g)};WB.prototype.reset=function(){this.l=null;this.g="missing-id"};var aC=function(){WB.apply(this,arguments)};q(aC,WB);var XB=function(a,b){var c=U();T(c,"eee",a);T(c,"bi",b)};function bC(a){return a.split(",").map(function(b){return parseInt(b,10)}).filter(function(b){return!isNaN(b)})};var jB=new dB,cC=new dB,dC=new dB,eC=new dB,fC=new dB,gC=new dB,hC=new dB,iC=new dB;R({id:95342637,U:0});R({id:318475490,U:0});R({id:324123032,U:0});R({id:420706097,U:10});R({id:420706098,U:10});R({id:95342168,U:10});R({id:95342169,U:10});R({id:21062100,U:0});R({id:420706142,U:0});R({id:44745813,U:0});var jC=R({id:44746068,U:0});R({id:21064565,U:0});R({id:21064567,U:0});R({id:418572006,U:10});R({id:95338773,U:10,ya:eC});R({id:95338774,U:10,ya:eC});R({id:95334214,U:10});var kC=R({id:95334215,U:10}); R({id:44749839,U:0});var lC=R({id:44714743,U:0});R({id:44715336,U:10});R({id:44724516,U:0});R({id:44726389,U:10});R({id:44752711,U:50});R({id:44752052,U:50});R({id:44752657,U:50});R({id:44733246,U:10});var mC=R({id:95343833,U:10,ya:cC}),nC=R({id:95343834,U:10,ya:cC}),oC=R({id:95343835,U:10,ya:cC}),pC=R({id:95343836,U:10,ya:cC}),qC=R({id:95343837,U:10,ya:cC});R({id:95343832,U:10,ya:cC});R({id:44751889,U:10});R({id:44751890,U:10});R({id:44752995,U:10});R({id:44752996,U:10});R({id:44762627,U:0}); R({id:44762628,U:0});R({id:44801479,U:10,ya:dC});R({id:44801480,U:10,ya:dC});R({id:44752538,U:0});R({id:44754608,U:10});R({id:44754609,U:10});R({id:44776384,U:0});R({id:95322945,U:10});R({id:95322946,U:10});R({id:44789282,U:0});R({id:44792636,U:0});R({id:95344889,U:0});R({id:95334260,U:0});R({id:95345698,U:0});R({id:75259416,U:0});R({id:75259420,U:0});R({id:75259421,U:0});R({id:45401791,U:0});R({id:95326337,U:990,ya:fC});var rC=window.navigator||{},sC=rC.cookieDeprecationLabel?990:0; R({id:95322906,U:rC.cookieDeprecationLabel?10:0,ya:gC});R({id:95320461,U:0,ya:gC});var tC=R({id:95322907,U:sC,ya:gC});R({id:44809192,U:10,ya:iC});var uC=R({id:44809193,U:10,ya:iC});R({id:95320804,U:10,ya:iC});R({id:95320805,U:10,ya:iC});R({id:95322027,U:1E3,ya:hC});R({id:46130031,U:0});R({id:95328713,U:10});var vC=R({id:95328714,U:10});R({id:95327848,U:0});R({id:31065644,U:1});R({id:31065645,U:1});var wC=new dB;R({id:95331588,U:0,ya:wC});R({id:95331589,U:1E3,ya:wC});R({id:95332182,U:0}); R({id:95347814,U:10});var xC=R({id:95347815,U:10});if(typeof window.initializeVirtualDom==="undefined"){var ZB=ug(aC),yC;ZB.j||($B(),ZB.j=!0);yC=ZB.l;var zC;ZB.j||($B(),ZB.j=!0);zC=ZB.g;if(yC!=null){var AC=new NB(bC(yC),zC);iB(AC)}};var BC=function(a,b,c){this.j=a;this.l=b;this.g=c===void 0?null:c};BC.prototype.getName=function(){return this.j};var CC=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||CC();var DC=function(){this.adPosition=1;this.l=-1;this.j=this.g=0;this.totalAds=1};DC.prototype.getAdPosition=function(){return this.adPosition};DC.prototype.getPodIndex=function(){return this.g};DC.prototype.getTimeOffset=function(){return this.j};DC.prototype.getTotalAds=function(){return this.totalAds};var EC=function(a){return(a=a.match(/^\w{2,3}([-_]|$)/))?a[0].replace(/[_-]/g,""):""};function FC(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+Id("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 GC(a,b){return D(b)?!1:(new RegExp(a)).test(b)}function HC(a){if(!a)return!1;switch(a.toLowerCase()){case "true":case "1":return!0}return!1}function IC(a){var b=[""];if(!a)return null;a=a.toLowerCase().replace("-","_");if(b.includes(a))return a;a=EC(a);return b.includes(a)?a:null};var JC={aq:2,cq:3,Zp:4,bq:5,eq:6,fq:7,gq:8,hq:11,iq:12};var KC={LOADED:"loaded",lj:"start",FIRST_QUARTILE:"firstQuartile",MIDPOINT:"midpoint",THIRD_QUARTILE:"thirdQuartile",COMPLETE:"complete",PAUSE:"pause",kj:"resume",bj:"bufferStart",aj:"bufferFinish",SKIPPED:"skipped",kq:"volumeChange",Gp:"playerStateChange",vo:"adUserInteraction"};function LC(a,b){return a&&(a[b]||(a[b]={}))}function MC(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(LC,c)[a[a.length-1]]=b};function NC(a){for(var b=v(OC.keys()),c=b.next();!c.done;c=b.next()){c=c.value;for(var d=v(OC.get(c)),e=d.next();!e.done;e=d.next())if(e.value.test(a))return c}return 1} var OC=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\/.*$/]]]);MC("OmidSessionClient.verificationVendorIdForScriptUrl",NC); MC("OmidSessionClient.VerificationVendorId",{OTHER:1,MOAT:2,DOUBLEVERIFY:3,INTEGRAL_AD_SCIENCE:4,PIXELATE:5,NIELSEN:6,COMSCORE:7,MEETRICS:8,GOOGLE:9});var PC={Yp:"ultrahigh",gp:"high",zp:"medium"},QC=new Set("disable_frequency_capping adgroups adsafe adsid adtest adk ad_type js alternate_ad_url is_amp mv an u_ah u_aw bbt channel client u_cd ca_h ca_type ca_w cdm co tfcd correlator creatives ad_block debug_experiment_id disable_budget_throttling disable_fcap dnd dlt dt eo_id_str expflags 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 uptc 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 RC="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split(""),SC=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]=RC[d==19?c&3|8:c]);return a.join("")};var TC=function(){var a=a===void 0?SC():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},UC=function(a,b){a=a.clone();a.adTagUrl=b;a.adsResponse=null;a.A=!0;return a}; TC.prototype.clone=function(){var a=new TC;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 WC=function(a){O.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;VC(this,c)};q(WC,O);WC.prototype.toString=function(){return XC(this,O.prototype.toString.call(this))};WC.prototype.D=function(){return""}; var VC=function(a,b){D(E(b))||b.split(";").forEach(function(c){var d=c.indexOf("=");if(!(d<=0)){var e=Bd(c.substring(0,d));c=Bd(c.substring(d+1));d=a.J.get(e);d!=null?d.includes(c)||d.push(c):d=[E(c)];a.J.set(e,d)}},a)},YC=function(a,b){if(D(E(b)))return null;a=a.J.get(b);return a!=null?a:null},ZC=function(a,b,c){D(E(b))||(c=c.map(E),a.J.set(b,c))},XC=function(a,b){b=[E(b)];b.push.apply(b,w($C(a)));return b.join(";")},$C=function(a){var b=YC(a,"ord");b==null?b=[E(Date.now())]:D(E("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]);ZC(a,"ord",b);return c};WC.prototype.clone=function(){return new WC(this.toString())};function aD(){try{var a=window.top.location.href}catch(b){return 2}return a==null?2:a==window.document.location.href?0:1}function bD(a,b){b.forEach(function(c,d){a.g.set(d,c)})}function cD(a,b){b=v(b.entries());for(var c=b.next();!c.done;c=b.next()){var d=v(c.value);c=d.next().value;d=d.next().value;D(d)&&a.g.remove(c)}}function dD(a){By(a,"https")} function eD(a){var b;(b=fD(a)||gD(a)||hD(a)||iD(a)||jD(a))||(a=new O(a),b=a.l,b=a.j==="pubads.g.doubleclick.net"&&(GC("/ssai/",b)||GC("/ondemand/",b)));return b}function gD(a){var b=new WC(a);a=b.j;b=XC(b,b.l);return!sc(a,".g.doubleclick.net")&&(sc(a,"doubleclick.net")||sc(a,"pagead2.googlesyndication.com"))&&GC("/(ad|pfad)[x|i|j]?/",b)}function iD(a){return(new O(a)).j=="bid.g.doubleclick.net"} function fD(a){a=new O(a);var b=a.l;return sc(a.j,"googleads.g.doubleclick.net")&&GC("/pagead/(live/)?ads",b)}function hD(a){a=new O(a);var b=a.l;return sc(a.j,"doubleclick.net")&&GC("/gampad/(live/)?ads",b)}function jD(a){a=new O(a);var b=a.l;return a.j==="ad.doubleclick.net"&&GC("/dv3/adv",b)}function kD(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 lD(a){var b=gB(),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(",")}function mD(a,b,c){c=c===void 0?"":c;a=a.g;var d=c;Uy(a,b)&&(d=a.get(b));return D(d)?c:d};var qD=function(a,b){a=a===void 0?{}:a;b=b===void 0?new Map:b;nD(b,"ADCOUNT",function(){var e=a.Db;return(e=e===void 0?null:e)?e.getAdPosition().toString():"-1"});nD(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()});nD(b,"ADPLAYHEAD",function(){var e=a.H;e=e===void 0?null:e;return e==null?"-1":FC(e.getCurrentTime(),!0)});nD(b,"ADSERVINGID",function(){var e=a.ad;return(e=(e=e===void 0?null:e)&&e.Bd)?e:"-1"});nD(b,"ASSETURI", function(){var e=a.H;e=e===void 0?null:e;return e==null?"-1":e.If});oD(b,"CLICKPOS","-1");nD(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.ko;c=c.lo;oD(b,"UNIVERSALADID",d&&c?d+" "+c:"-1");pD(a,b)},pD=function(a,b){a=a===void 0?{}:a;b=b===void 0?new Map:b;nD(b,"ADTYPE",function(){var d=a.ad;return(d=d===void 0?null:d)?d.Xc:"-1"});oD(b,"APPBUNDLE",a.appName||"-1");nD(b,"BREAKMAXADS",function(){var d=a.Db;return(d=d===void 0?null:d)?d.getTotalAds().toString(): "-1"});oD(b,"BREAKMAXADLENGTH","-1");nD(b,"BREAKMAXDURATION",function(){var d=a.Db;return(d=d===void 0?null:d)?d.l.toString():"-1"});oD(b,"BREAKMINADLENGTH","-1");oD(b,"BREAKMINDURATION","-1");nD(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});nD(b,"CACHEBUSTING",rD);oD(b,"CLICKTYPE",a.zj||"-1");var c=a;oD(b,"CLIENTUA",sD({Ue:c.Ue,Ve:c.Ve,tf:c.tf,uf:c.uf}));oD(b,"CONTENTID","-1");oD(b,"CONTENTURI","-1");oD(b,"DEVICEIP", "-1");oD(b,"DEVICEUA","-1");oD(b,"DOMAIN",a.domain||tD());oD(b,"GDPRCONSENT",a.cf?a.cf:"-1");oD(b,"IFA","-2");oD(b,"IFATYPE","-2");oD(b,"INVENTORYSTATE","-1");oD(b,"LATLONG","-1");nD(b,"LIMITADTRACKING",function(){return"-1"});nD(b,"MEDIAPLAYHEAD",function(){var d=a.Db;return(d=d===void 0?null:d)?d.getTimeOffset().toString():"-1"});nD(b,"OMIDPARTNER",function(){var d=a.Og,e=a.ak;d=d===void 0?null:d;e=e===void 0?null:e;return d==null||e==null?"-1":d+"/"+e});oD(b,"PAGEURL",a.pageUrl||uD());oD(b,"PLACEMENTTYPE", a.fk||"-1");oD(b,"PLAYERSIZE","-1");oD(b,"PLAYERSTATE","-1");oD(b,"REGULATIONS","-1");oD(b,"SERVERSIDE","0");oD(b,"SERVERUA","-1");nD(b,"TIMESTAMP",vD);nD(b,"TRANSACTIONID",function(){var d=a.na;return(d=d===void 0?null:d)?d.transactionId.toString():"-1"});oD(b,"US_PRIVACY",a.Jk||"-1");a.yd&&oD(b,"UACH",a.yd);return b},oD=function(a,b,c){a.set(b,new BC(b,{toString:function(){return c}}))},nD=function(a,b,c){a.set(b,new BC(b,{toString:function(){return c()}}))},wD=function(a,b){b=b===void 0?new Map: b;b.set("ERRORCODE",new BC("ERRORCODE",a))},sD=function(a){var b=a.Ue===void 0?null:a.Ue;var c=a.Ve===void 0?null:a.Ve;var d=a.tf===void 0?null:a.tf;a=a.uf===void 0?null:a.uf;if(!b&&!d)return"-1";var e="unknown";b&&(e=b+(c?"/"+c:""));b="";d&&(b=" "+d+(a?"/"+a:""));return e+b},rD=function(){return Math.round(Math.random()*1E8+1E8).toString().slice(1)},tD=function(){var a=aD()==2?null:Qe().top.location.hostname;return a?a:"-1"},uD=function(){var a=aD()==2?null:Qe().top.location.href;return a?a:"-1"}, vD=function(){return(new Date).toISOString()};var xD=/(?:\[|%5B)([a-zA-Z0-9_]+)(?:\]|%5D)/g,yD=function(a,b){return a.replace(xD,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!=""&&D(E(e))?null:encodeURIComponent(e).replace(/%2C/g,",")}else e=null;return e!=null?e:c})};var zD=function(a){this.N=a;this.sa=null},AD=function(a,b){return a.map(function(c){c=typeof c==="string"?new TA(c):c;return new TA(yD(c.url,b),c.g==null?null:yD(c.g,b))})},CD=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 TA(e):e});c=c?AD(b,c):b;BD(a.N,c,d)};var ED=function(a,b,c){c=c===void 0?[]:c;zD.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 DD(d)})};q(ED,zD);ED.prototype.report=function(a,b){b=b===void 0?FD(this,a):b;GD(this,a,b||[])}; var GD=function(a,b,c){var d=c.map(function(f){return typeof f==="string"?new TA(f):f}),e=[];a.C.forEach(function(f){a:{try{var g=f(b);if(typeof g==="object"&&typeof g.then==="function"){var h=g||Promise.resolve();break a}}catch(k){}h=void 0}f=h;f!==void 0&&e.push(f)});e.length===0?HD(a,b,d):Promise.all(e).then(function(f){f=f[0];Array.isArray(f)&&f.every(function(g){return typeof g==="string"})?HD(a,b,f.map(function(g){return new TA(g)})):HD(a,b,d)})},HD=function(a,b,c){ID(a,b)?JD(a,b,c):KD(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"&&KB(U(),"evoace"),b=="progress"&&KB(U(),"evoape"),b=="engagedView"&&KB(U(),"evoaeve")),LD(a,b,c))},LD=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{fe:Gf(d.url,"ad_signals"), rj:Gf(d.url,"auction_data"),label:Gf(d.url,"label"),Ln:Gf(d.url,"event_type")}}).filter(function(d){var e=d.fe;d=d.rj;return!!e||!!d}).forEach(function(d){var e=d.fe,f=d.rj,g=d.Ln||b;d=d.label||"";var h=h===void 0?B:h;if(e!==""||f!=="")if(g==="auctionwinner"){var k;(k=h.fence)==null||k.reportEvent({eventType:"auctionwinner",eventData:f,destination:["buyer"]})}else if(cz.has(g)){f=new Eu;e=hk(f,1,e);e=hk(e,6,d);e=hk(e,10,Date.now().toString());g==="impression"&&kk(e,9,1);e=Mk(e);if(g==="click"){var l; (l=h.fence)==null||l.setReportEventDataForAutomaticBeacons({eventType:"reserved.top_navigation",eventData:e,destination:["buyer"],once:!0});var p;(p=h.fence)==null||p.setReportEventDataForAutomaticBeacons({eventType:"reserved.top_navigation_start",eventData:e,destination:["buyer"],once:!0})}var n;(n=h.fence)==null||n.reportEvent({eventType:g,eventData:e,destination:["buyer"]})}else bz({fe:e,label:d||g})}),c=c.filter(function(d){return!Gf(d.url,"ad_signals")&&!Gf(d.url,"auction_data")}),c.length&& CD(a,c,a.l,a.J.includes(b)));MD(a,b)},MD=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),LD(a,c,b))},ND=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,l=h.l;l&&l<=b*1E3*100/c&&l>a.o?(g=l>g?l:g,e.push(ZA(h))):k&&k<=b&&k>a.A&&(f=k>f?k:f,e.push(ZA(h)))});a.A=f;a.o=g;e.length>0&&a.report("progress",e)}}; ED.prototype.reportError=function(a){KB(U(),"err");T(U(),"aec",String(a));wD(a,this.l);this.report("error")}; var OD=function(a,b){a.l.set(b.getName(),b)},PD=function(a,b){b.forEach(function(c){return OD(a,c)})},QD=function(a,b){a.C.push(b)},JD=function(a,b,c){var d=c;a.l!=null&&(d=AD(c,a.l));a.j.has(b)?d.forEach(function(e){return void a.j.get(b).push(e)}):a.j.set(b,d)},ID=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}},KD=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 "vastProgress":case "error":case "click":case "expand":case "collapse":case "videoIconClicked":case "vastIconRendered":return!0;default:return!a.g.has(b)}},FD=function(a,b){return(a.B.get(b)||[]).map(function(c){return ZA(c)})},DD=function(a){T(U(), "rec",Array.from(a.g,function(b){var c=v(b);b=c.next().value;c=c.next().value;return b+"-"+c}).join("|"))};var RD={},SD=(RD.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(" "),RD),TD=new Map,UD=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;L.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 gf;this.B=(a=a.ga.get(RA))? a.j:"";this.C=a?a.g:"";this.D=a?a.l:[];QD(this.j,function(h){g.K(h)});a=kB();mc(a);TD.set(this.l,this)};q(UD,L);UD.prototype.reportEvent=function(a){this.j.report(a)};var WD=function(a,b){OD(a.j,new BC("VIEWABILITY",b.viewability));OD(a.j,new BC("GOOGLE_VIEWABILITY",b.googleViewability,function(c){return function(d){return VD(d,c)}}("GOOGLE_VIEWABILITY")))}; UD.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.Pd(),f.opt_adElement=void 0,f);a=="start"&&(c.opt_configurable_tracking_events=e);d&&(c.opt_bounds=On(d));a=Qs(a,b,c);WD(this,a)}; var XD=function(a){if(a.G&&a.o.pi()){eo().F=!0;ug(Es);var b=a.o;lc().B=b}b=ug(Es);var c=a.B;b.K=c;lc().Vg(c);ug(Es);a=a.C;b=lc();try{var d=Sg(a);b.Wg(d)}catch(e){Fm(Tm,"lidarv",{processDecodedFlagsFailure:1},!0,1E-6),b.Wg(a)}hc(b.da,"fmd",Cm(b.flags,es)?1:0)},VD=function(a,b){b=SD[b];return b==null?!0:b.some(function(c){return a.match(c)!=null})};UD.prototype.P=function(){TD.delete(this.l);this.g=this.j=null;this.o=new gf}; Ia("ima.common.triggerExternalActivityEvent",function(a,b,c){(a=TD.get(a))&&a.reportEvent(c)});Ia("ima.common.getVideoMetadata",function(a){return(a=TD.get(a))?{currentTime:a.g.getCurrentTime(),duration:a.g.getDuration(),zq:a.F,volume:a.g.muted?0:a.g.getVolume()}:{}});var YD=function(a){this.M=H(a)};q(YD,K);YD.prototype.getValue=function(){return J(this,1)};var ZD=function(a,b){return hk(a,1,b)},$D=function(a,b){return mj(a,2,b==null?b:Ii(b))},aE=function(a,b){return hk(a,3,b)},bE=function(a,b){return hk(a,4,b)};YD.prototype.getVersion=function(){return bk(this,5)};var cE=function(a){this.g=a};var dE=function(a){this.g=a===void 0?null:a};var eE=function(a,b){var c=b===void 0?{}:b;b=c.vendor===void 0?null:c.vendor;var d=c.Pc===void 0?null:c.Pc;var e=c.parameters===void 0?null:c.parameters;c=c.X===void 0?[]:c.X;this.g=a;this.vendor=b;this.parameters=e;this.Pc=d;this.X=c};var fE=function(a,b,c){this.id=a;this.title=b;this.g=c};var gE=function(a,b,c,d,e){this.id=a;this.Gc=d===void 0?!1:d;this.title=b;this.j=c;this.g=!(e===void 0?0:e)};var hE=function(a,b,c){this.j=a;this.l=b;this.g=(c===void 0?null:c)||""};hE.prototype.Gc=function(){return this.j.Gc};var iE=function(a){var b=a.Ea;var c=a.Oa;var d=a.height;var e=a.width;a=a.Ba===void 0?!1:a.Ba;this.Ea=b;this.Oa=c;this.height=d;this.width=e;this.Ba=a};iE.prototype.getHeight=function(){return this.height};iE.prototype.getWidth=function(){return this.width};var jE=function(){this.g=this.j=0;this.gb=this.creativeType=this.l=null};jE.prototype.clone=function(){var a=new jE;a.j=this.j;a.g=this.g;a.l=this.l;a.creativeType=this.creativeType;a.gb=this.gb;return a};var kE=function(){this.gb=this.fa=this.yb=null;this.g=this.j=0;this.N=1;this.Ab="left";this.Bb="top";this.Eb=this.Ha=-1;this.D=this.o=this.C=this.A=null;this.J=[];this.B=[];this.l=[]};kE.prototype.getApiFramework=function(){return this.fa}; var lE=function(a,b){return a.Ab=="left"?"0px":a.Ab=="right"?b-a.j+"px":a.Ab+"px"},mE=function(a,b){return a.Bb=="bottom"?"0px":a.Bb=="top"?b-a.g+"px":b-a.g-Pd(a.Bb)+"px"},nE=function(a,b){var c=new yn(0,0,b.width,b.height),d=Number.MIN_VALUE,e=null;a.l.forEach(function(f){var g=new yn(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 vE(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 wE(){var a=document.featurePolicy;return a!==void 0&&typeof a.allowedFeatures=="function"&&typeof a.allowedFeatures()=="object"&&a.allowedFeatures().includes("attribution-reporting")} function xE(a){return(a==null?void 0:a.g)!=null&&wE()?(a=a.g)?"attributionsrc="+encodeURIComponent(a):a===""?"attributionsrc":"":""}function yE(a,b){(a==null?void 0:a.g)!=null&&wE()&&b.setAttribute("attributionsrc",E(a.g))};var zE=RegExp("(doubleclick\\.net|googleadservices\\.com|googlesyndication\\.com)"),AE=["ai","sigh"],BE=["xai","sig"];function CE(a){return a&&zE.test(a)?a.includes("/pagead/adview")||a.includes("/pagead/conversion")||a.includes("/gampad/live/conversion")||a.includes("/pagead/interaction")?AE.every(function(b){return Ff(a,b)}):a.includes("/pcs/view")?BE.every(function(b){return Ff(a,b)}):!1:!1}function DE(a,b){var c=a.indexOf("&adurl=");return c!=-1?a.substr(0,c)+b+a.substr(c,a.length):a+b} function EE(a,b){a&&b!=null&&(b=wE()?"6":"5",a=If(a,"nis"),a=DE(a,"&nis="+b));return a};var FE=function(a){var b=a.If;var c=a.uj;var d=a.Nk;var e=a.sj;var f=a.Ea;var g=a.Oa;var h=a.Ok;var k=a.tj;iE.call(this,{Ea:f,Oa:g,height:a.height,width:a.width,Ba:a.Ba===void 0?!1:a.Ba});this.j=b;this.C=c;this.o=d;this.l=e;this.g=h;this.A=k};q(FE,iE);var GE=function(a){var b=a.tn;var c=a.mimeType;iE.call(this,{Ea:a.Ea,Oa:a.Oa,height:a.height,width:a.width,Ba:a.Ba===void 0?!1:a.Ba});this.j=b;this.g=c};q(GE,iE);GE.prototype.getMediaUrl=function(){return this.j};var HE=function(a,b,c){this.g=a;this.resourceType=b;this.creativeType=c===void 0?null:c};var IE=function(a){var b=a===void 0?{}:a;a=b.id===void 0?null:b.id;var c=b.Cd===void 0?null:b.Cd;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.kb===void 0?!1:b.kb;var h=b.Xf===void 0?null:b.Xf;var k=b.Yf===void 0?[]:b.Yf;var l=b.resources===void 0?[]:b.resources;b=b.X===void 0?[]:b.X;this.id=a;this.Cd=c;this.fa=d;this.width=e;this.height=f;this.kb=g;this.Xf=h;this.Yf=k;this.resources=l;this.X=b};var JE=function(a,b){this.g=a;this.j=b===void 0?"none":b};var KE=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 LE=function(a,b,c,d){this.La=a;this.width=b===void 0?null:b;this.height=c===void 0?null:c;this.gb=d===void 0?null:d};var ME=function(a){var b=a===void 0?{}:a;a=b.Gb===void 0?null:b.Gb;var c=b.yc===void 0?[]:b.yc;b=b.Vf===void 0?[]:b.Vf;this.Gb=a;this.yc=c;this.Vf=b};var NE=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.hi===void 0?null:b.hi;var l=b.Ha===void 0?null:b.Ha;var p=b.Eb===void 0?null:b.Eb;var n=b.xf===void 0?null:b.xf;var r=b.se===void 0?null:b.se;var u=b.jf===void 0?[]:b.jf;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.hi=k;this.Ha=l;this.xf=n;this.Eb=p;this.se=r;this.jf=u;this.resources=b};var OE=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.Le===void 0?null:c.Le;this.La=a;this.fa=d;this.mimeType=b;this.Le=c},PE=function(a){return a.La.resourceType==="Url"?a.La.g:null},QE=function(a){return a.La.resourceType==="Html"?a.La.g:null};var RE=function(a,b){var c=b===void 0?{}:b;b=c.wb===void 0?null:c.wb;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.wb=b;this.mimeType=d;this.codec=e;this.width=f;this.height=c};var SE=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.wb===void 0?null:c.wb;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.wa===void 0?null:c.wa;var l=c.maxBitrate===void 0?null:c.maxBitrate;var p=c.Ga===void 0?null:c.Ga;RE.call(this,a,{wb:e,mimeType:f,codec:c.codec===void 0?null:c.codec,width:d,height:b});this.fa=g;this.wa=k||l||h||0;this.maxBitrate=l||k||h|| 0;this.Ga=p};q(SE,RE);var TE=function(a){var b=a===void 0?{}:a;a=b.Gb===void 0?null:b.Gb;var c=b.yc===void 0?[]:b.yc;b=b.Xe===void 0?[]:b.Xe;this.Gb=a;this.yc=c;this.Xe=b};var UE=function(a){var b=a===void 0?{}:a;a=b.duration===void 0?null:b.duration;var c=b.Ob===void 0?null:b.Ob;var d=b.X===void 0?[]:b.X;var e=b.Jc===void 0?[]:b.Jc;var f=b.Za===void 0?[]:b.Za;var g=b.Dh===void 0?[]:b.Dh;var h=b.zd===void 0?null:b.zd;var k=b.ka===void 0?null:b.ka;b=b.va===void 0?[]:b.va;this.duration=a;this.ka=k;this.Ob=c;this.X=d;this.Jc=e;this.Za=f;this.Dh=g;this.zd=h;this.va=b};var VE=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.Kc===void 0?null:b.Kc;var g=b.resources===void 0?[]:b.resources;var h=b.Lg===void 0?null:b.Lg;var k=b.Mg===void 0?[]:b.Mg;b=b.ka===void 0?null:b.ka;this.id=a;this.fa=c;this.height=d;this.width=e;this.Kc=f;this.resources=g;this.Lg=h;this.Mg=k;this.ka=b};var WE=function(a,b){b=b===void 0?[]:b;this.g=a;this.X=b};var XE=function(a){var b=a===void 0?{}:a;a=b.lf===void 0?"unknown":b.lf;b=b.kf===void 0?"unknown":b.kf;this.lf=a||"unknown";this.kf=b||"unknown"};var YE=function(a){var b=a===void 0?{}:a;a=b.Da===void 0?null:b.Da;var c=b.id===void 0?null:b.id;var d=b.adId===void 0?null:b.adId;var e=b.Ub===void 0?null:b.Ub;var f=b.Be===void 0?null:b.Be;var g=b.je===void 0?null:b.je;b=b.bb===void 0?[]:b.bb;this.Da=a;this.id=c;this.adId=d;this.Ub=e;this.Be=f;this.je=g;this.bb=b};var ZE=function(a,b){this.url=a;this.g=b===void 0?null:b};var $E=function(a){var b=a===void 0?{}:a;a=b.vendor===void 0?null:b.vendor;var c=b.He===void 0?null:b.He;var d=b.Pc===void 0?null:b.Pc;var e=b.parameters===void 0?null:b.parameters;b=b.X===void 0?[]:b.X;this.vendor=a;this.He=c;this.Pc=d;this.parameters=e;this.X=b};var aF=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.Dc===void 0?[]:b.Dc;var e=b.ra===void 0?[]:b.ra;var f=b.sb===void 0?[]:b.sb;b=b.ga===void 0?[]:b.ga;this.Na=a;this.g=c;this.j=d;this.ra=e;this.sb=f;this.ga=b};var bF=function(a,b){var c=b===void 0?{}:b;b=c.id===void 0?null:c.id;var d=c.Da===void 0?null:c.Da;c=c.Xc===void 0?null:c.Xc;this.Sa=a;this.id=b;this.Da=d;this.Xc=c=="audio"?"audio":c=="hybrid"?"hybrid":"video"};var cF=function(a){this.g=a=a===void 0?[]:a};cF.prototype.unshift=function(a){this.g.unshift(a)};var dF=function(a,b){var c=[];a.g.forEach(function(d){c=c.concat(d.Sa.ga.filter(function(e){return e instanceof b}))});return c};var eF=function(a){this.X=a=a===void 0?[]:a};var fF=function(a,b,c,d){b=b===void 0?[]:b;c=c===void 0?"":c;d=d===void 0?"":d;eF.call(this,a);this.g=b;this.l=c;this.j=d};q(fF,eF);var gF=function(){};gF.prototype.g=function(a,b){var c=[],d="",e="";dF(a,fF).forEach(function(f){c.push.apply(c,w(f.g));d=d||f.l;e=e||f.j});(c.length>0||d||e)&&b.ga.set(RA,new RA(c,d,e))};var hF=function(){var a={};var b=a.ta===void 0?"":a.ta;var c=a.ub===void 0?"http://www.google.com/adsense/support":a.ub;var d=a.Ed===void 0?!1:a.Ed;a=a.wc===void 0?0:a.wc;this.ta=b;this.ub=c;this.Ed=d;this.wc=a};var iF=function(a,b){var c=b===void 0?{}:b;b=c.ta===void 0?null:c.ta;var d=c.ub===void 0?null:c.ub;var e=c.ke===void 0?null:c.ke;var f=c.ni===void 0?!1:c.ni;var g=c.ze===void 0?[]:c.ze;var h=c.Je===void 0?!1:c.Je;var k=c.uiConfig===void 0?null:c.uiConfig;var l=c.Uc===void 0?null:c.Uc;c=c.Yb===void 0?null:c.Yb;eF.call(this,a);this.ta=b;this.ub=d;this.ke=e;this.ni=f;this.ze=g;this.Je=h;this.uiConfig=k;this.Uc=l;this.Yb=c};q(iF,eF);var jF=function(a){this.g=a};var kF="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(" "),lF=["c.googlesyndication.com"]; function mF(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:nF(a,lF)?c=!1:b.includes("https")&&nF(a,kF)&&(c=!0);return c?(a=new O(a),T(U(),"htp","1"),By(a,"https"),a.toString()):a}function nF(a,b){return(new RegExp("^https?://([a-z0-9-]{1,63}\\.)*("+b.join("|").replace(/\./g,"\\.")+")(:[0-9]+)?([/?#]|$)","i")).test(a)} function oF(a){var b=pF;try{var c=(new O(a)).j;c=c.replace(/^www./i,"");return b.some(function(d){return qF(d,c)})}catch(d){return!1}}function qF(a,b){if(D(E(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 rF(a){a=new O(a);var b=a.j;return a.o!="http"&&a.o!="https"?!1:b.indexOf(".")==-1||b.match(/^[\.0-9]*$/)?!1:sF(a.toString())} function sF(a){try{Bd(a)}catch(b){return!1}return!0};var tF=/OS (\S+) like/,uF=/Android ([\d\.]+)/;function vF(a,b){a=(a=a.exec(Gc()))?a[1]:"";a=a.replace(/_/g,".");return Fc(a,b)>=0} var wF=function(){var a=B.navigator||null;return EC((a==null?void 0:a.language)||(a==null?void 0:a.userLanguage)||(a==null?void 0:a.browserLanguage)||(a==null?void 0:a.systemLanguage)||"")},xF=function(){return yf()||xf()},yF=function(){return be||Yd&&"ontouchstart"in document.documentElement},zF=function(a,b){var c=window.screen.availHeight||window.screen.height;return(window.screen.availWidth||window.screen.width)-a<=0&&c-b<=42};var AF=ra(["about:blank"]),BF=ra(["javascript:undefined"]),CF=Ee(AF);dd(CF);var DF=Ee(BF);dd(DF);var EF={TYPE_EXTERNAL:0,TYPE_SITELINK:1,TYPE_WEBSITE_DEEP_LINK:2};var FF=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.Sg===void 0?null:b.Sg;b=b.gg===void 0?null:b.gg;this.type=a;this.target=c;this.title=d;this.Sg=e;this.gg=b};var GF={TYPE_ADX_ENDCAP:0,TYPE_WEBSITE:1};var HF=function(a){var b=a===void 0?{}:a;a=b.eh===void 0?!1:b.eh;var c=b.fh===void 0?!1:b.fh;b=b.af===void 0?5E3:b.af;this.eh=a;this.fh=c;this.af=b};var IF=function(a){var b=a===void 0?{}:a;a=b.si===void 0?null:b.si;var c=b.Oh===void 0?null:b.Oh;b=b.Ph===void 0?null:b.Ph;this.si=a;this.Oh=c;this.Ph=b};var JF=function(a){a=a===void 0?{}:a;this.Si=a.Si===void 0?[]:a.Si};var KF=function(a){var b=a===void 0?{}:a;a=b.description===void 0?null:b.description;var c=b.Sb===void 0?null:b.Sb;var d=b.Ja===void 0?null:b.Ja;b=b.Yh===void 0?null:b.Yh;this.description=a;this.Sb=c;this.Ja=d;this.Yh=b};var LF=function(a){var b=a===void 0?{}:a;a=b.type;var c=b.priority===void 0?-1:b.priority;var d=b.X===void 0?[]:b.X;var e=b.actions===void 0?[]:b.actions;var f=b.ud===void 0?null:b.ud;b=b.Vc===void 0?null:b.Vc;this.type=a;this.priority=c;this.X=d;this.actions=e;this.ud=f;this.Vc=b};var MF=function(a){a=a===void 0?{}:a;this.Fd=a.Fd===void 0?[]:a.Fd};var NF=function(a,b,c,d){this.value=a;this.g=b;this.path=c;this.domain=d};var OF=function(a){this.g=a};var PF=function(a){this.g=a};var QF=function(){};QF.prototype.g=function(a,b){a=v(a.g);for(var c=a.next();!c.done;c=a.next()){c=v(c.value.Sa.ga);for(var d=c.next();!d.done;d=c.next())d=d.value,d instanceof PF&&b.ga.set(cE,new cE(d.g))}};var RF=function(a,b,c,d,e){this.value=a;this.g=b;this.path=c;this.domain=d;this.j=e};var SF={},TF=(SF[18]=496,SF[22]=2128,SF[43]=488,SF[44]=848,SF[45]=2128,SF[59]=848,SF[133]=242,SF[134]=400,SF[135]=1E3,SF[136]=2E3,SF[139]=48,SF[140]=128,SF[141]=256,SF[160]=108,SF[242]=150,SF[243]=276,SF[244]=512,SF[245]=1E3,SF[247]=1E3,SF[249]=48,SF[250]=64,SF[251]=128,SF[278]=95,SF[342]=464,SF[343]=1064,SF[344]=2128,SF[345]=496,SF[346]=816,SF[347]=2096,SF),UF={el:"application/dash+xml",ep:"video/gma-demuxed",HLS:"application/vnd.apple.mpegurl",Dl:"application/x-mpegURL",MP3:"audio/mpeg",Gl:"video/mp4", Hl:"audio/mp4",Il:"video/mpeg",Ml:"video/ogg",Nl:"audio/ogg",Pl:"video/3gpp",Sl:"video/webm"};var VF=function(){N.call(this);this.headers=new Map;this.j=!1;this.g=null;this.G="";this.o=0;this.l=this.F=this.A=this.D=!1;this.K=0;this.B=null;this.T="";this.L=!1};Va(VF,N); var WF=/^https?$/i,XF=["POST","PUT"],$F=function(a,b,c,d){if(a.g)throw Error("[goog.net.XhrIo] Object is active with another request="+a.G+"; newUri="+b);c=c?c.toUpperCase():"GET";a.G=b;a.o=0;a.D=!1;a.j=!0;a.g=new XMLHttpRequest;a.g.onreadystatechange=xt(Ra(a.R,a));try{a.F=!0,a.g.open(c,String(b),!0),a.F=!1}catch(g){YF(a);return}b=d||"";d=new Map(a.headers);var e=Array.from(d.keys()).find(function(g){return"content-type"==g.toLowerCase()}),f=B.FormData&&b instanceof B.FormData;!jb(XF,c)||e||f||d.set("Content-Type", "application/x-www-form-urlencoded;charset=utf-8");c=v(d);for(d=c.next();!d.done;d=c.next())e=v(d.value),d=e.next().value,e=e.next().value,a.g.setRequestHeader(d,e);a.T&&(a.g.responseType=a.T);"withCredentials"in a.g&&a.g.withCredentials!==a.L&&(a.g.withCredentials=a.L);try{ZF(a),a.K>0&&(a.B=setTimeout(a.Y.bind(a),a.K)),a.A=!0,a.g.send(b),a.A=!1}catch(g){YF(a)}};VF.prototype.Y=function(){typeof Ha!="undefined"&&this.g&&(this.o=8,this.dispatchEvent("timeout"),this.abort(8))}; var YF=function(a){a.j=!1;a.g&&(a.l=!0,a.g.abort(),a.l=!1);a.o=5;aG(a);bG(a)},aG=function(a){a.D||(a.D=!0,a.dispatchEvent("complete"),a.dispatchEvent("error"))};VF.prototype.abort=function(a){this.g&&this.j&&(this.j=!1,this.l=!0,this.g.abort(),this.l=!1,this.o=a||7,this.dispatchEvent("complete"),this.dispatchEvent("abort"),bG(this))};VF.prototype.P=function(){this.g&&(this.j&&(this.j=!1,this.l=!0,this.g.abort(),this.l=!1),bG(this,!0));VF.Xb.P.call(this)}; VF.prototype.R=function(){this.Ka()||(this.F||this.A||this.l?cG(this):this.W())};VF.prototype.W=function(){cG(this)}; var cG=function(a){if(a.j&&typeof Ha!="undefined")if(a.A&&(a.g?a.g.readyState:0)==4)setTimeout(a.R.bind(a),0);else if(a.dispatchEvent("readystatechange"),(a.g?a.g.readyState:0)==4){a.j=!1;try{var b=dG(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.G).match(zf)[1]||null;!f&&B.self&&B.self.location&&(f=B.self.location.protocol.slice(0,-1));e=!WF.test(f?f.toLowerCase():"")}d=e}d?(a.dispatchEvent("complete"), a.dispatchEvent("success")):(a.o=6,aG(a))}finally{bG(a)}}},bG=function(a,b){if(a.g){ZF(a);var c=a.g;a.g=null;b||a.dispatchEvent("ready");try{c.onreadystatechange=null}catch(d){}}},ZF=function(a){a.B&&(clearTimeout(a.B),a.B=null)};VF.prototype.isActive=function(){return!!this.g};var dG=function(a){try{return(a.g?a.g.readyState:0)>2?a.g.status:-1}catch(b){return-1}},eG=function(a){if(a.g){a:{a=a.g.responseText;if(B.JSON)try{var b=B.JSON.parse(a);break a}catch(c){}b=PB(a)}return b}};var fG=RegExp("/itag/(\\d+)/"),gG=RegExp("/cpn/([\\w-]{16})(/|$)"),hG=RegExp("^[\\w-]{16}$");function iG(a){var b=Gf(a,"cpn");return b&&b.match(hG)?b:(a=a.match(gG))&&a.length===3?a[1]:null};var jG=function(a,b,c){var d=c===void 0?{}:c;c=d.wb===void 0?null:d.wb;var e=d.Ga===void 0?null:d.Ga;var f=d.mimeType===void 0?null:d.mimeType;var g=d.Ea===void 0?null:d.Ea;var h=d.Oa===void 0?null:d.Oa;var k=d.Xi===void 0?null:d.Xi;var l=d.xh===void 0?null:d.xh;var p=d.Ba===void 0?null:d.Ba;var n=d.width===void 0?null:d.width;var r=d.height===void 0?null:d.height;d=d.bd===void 0?null:d.bd;this.type=b;this.Ga=e;this.Oa=h;this.Xi=k;this.xh=l;this.Ba=p;this.url=a;this.wb=c;this.mimeType=f;this.Ea=g; this.width=n;this.height=r;this.bd=d};var kG=function(a,b,c,d,e){this.o=a;this.j=b;this.A=c;this.l=d;this.g=e};var lG=function(a){this.j=a===void 0?null:a}; lG.prototype.g=function(a,b){if(b instanceof sE&&this.j&&!(b.g.length>0)){a=v(a.g);for(var c=a.next();!c.done;c=a.next()){c=v(c.value.Sa.ga);for(var d=c.next();!d.done;d=c.next()){var e=d.value;if(e instanceof kG){d=this.j.select(e,b);var f=void 0;if(d.length>0)for(var g=v(d),h=g.next();!h.done;h=g.next()){h=h.value;var k=void 0;h instanceof GE&&(k=h.getMediaUrl());h instanceof FE&&(k=h.j);if(k&&(h=iG(k))){f=h;break}}e=f?f:e.o;T(U(),"cpn",e);b.C=e;d=v(d);for(e=d.next();!e.done;e=d.next())b.g.push(e.value)}}}}};var mG=function(a){this.g=a};var nG=function(a){var b=a===void 0?{}:a;a=b.Bd===void 0?null:b.Bd;var c=b.Na===void 0?null:b.Na;var d=b.Dd===void 0?null:b.Dd;var e=b.Nf===void 0?null:b.Nf;var f=b.description===void 0?null:b.description;var g=b.Ef===void 0?null:b.Ef;aF.call(this,{Na:c,errors:b.errors===void 0?[]:b.errors,Dc:b.Dc===void 0?[]:b.Dc,ra:b.ra===void 0?[]:b.ra,sb:b.sb===void 0?[]:b.sb,ga:b.ga===void 0?[]:b.ga});this.Bd=a;this.Dd=d;this.Nf=e;this.description=f;this.Ef=g};q(nG,aF);var oG=function(a,b){this.fb=a===void 0?null:a;this.g=b===void 0?null:b};var pG=function(){};pG.prototype.g=function(a,b){a=v(a.g);for(var c=a.next();!c.done;c=a.next()){a:{var d=b;c=v(c.value.Sa.ga);for(var e=c.next();!e.done;e=c.next())if(e=e.value,e instanceof oG){d.ga.set(dE,new dE(e.fb,e.g));d=!0;break a}d=!1}if(d)break}};var qG=function(a){this.sb=a=a===void 0?[]:a};var rG=function(a){this.dealId=a};var sG=function(a,b,c,d){this.l=a;this.j=d===void 0?null:d;this.o=b;this.g=c};var tG=function(a){this.g=a===void 0?!1:a};var uG=function(a){var b=a===void 0?{}:a;a=b.Tc===void 0?null:b.Tc;var c=b.Gc===void 0?!1:b.Gc;var d=b.Ne===void 0?null:b.Ne;var e=b.Hf===void 0?null:b.Hf;var f=b.Sd===void 0?!1:b.Sd;var g=b.Yc===void 0?null:b.Yc;var h=b.ie===void 0?null:b.ie;var k=b.he===void 0?null:b.he;var l=b.Uf===void 0?null:b.Uf;var p=b.format===void 0?null:b.format;var n=b.Rg===void 0?null:b.Rg;b=b.mh===void 0?null:b.mh;this.Tc=a;this.Gc=c;this.Ne=d;this.Hf=e;this.Sd=f;this.Yc=g;this.ie=h;this.he=k;this.Uf=l;this.format=p; this.Rg=n;this.mh=b;T(U(),"ytext_viu",this.Sd?"1":"0");T(U(),"ytext_hd",this.Ne&&this.he&&this.ie?"1":"0");this.Sd&&T(U(),"ytext_vi",this.Tc?this.Tc:"Undefined")};var vG=function(){};vG.prototype.g=function(a,b){a=v(a.g);for(var c=a.next();!c.done;c=a.next()){c=v(c.value.Sa.ga);for(var d=c.next();!d.done;d=c.next())if(d=d.value,d instanceof uG){b.ga.set(hE,new hE(new gE(d.Tc,d.Ne,d.Hf,d.Gc,d.Sd),new fE(d.Yc,d.ie,d.he),d.format,d.mh,d.Rg));return}}};var wG=function(){};wG.prototype.l=function(){return!0};wG.prototype.j=function(a){var b=new $A;this.g(a,b);return b};wG.prototype.g=function(a,b){a.g.forEach(function(e){xG(e,b);e.Sa.Na&&b.j.push(e.Sa.Na)});if(a.g.length>0){var c=a.g[0];c.id&&(b.id=c.id);c.Xc&&(b.Xc=c.Xc);c.Da&&(b.l=c.Da);a=v([].concat(w(a.g)).reverse());for(var d=a.next();!d.done;d=a.next())d=d.value,d.Da&&b.J.push(d.Da);c=c.Sa;c instanceof nG&&(b.Dd=c.Dd,b.Bd=c.Bd,yG(c,b))}}; var xG=function(a,b){var c=a.Sa.j;a.Sa.g.forEach(function(d){aB(b,new VA("error",d))});c.forEach(function(d){aB(b,XA("impression",d.url,d.g))})},yG=function(a,b){a=v(a.ra);for(var c=a.next();!c.done;c=a.next())if((c=c.value.Ub)&&c.Za&&c.Za.length>0){a=v(c.Za);for(c=a.next();!c.done;c=a.next())c=c.value,b.Za.push(new SA(PE(c),QE(c),c.mimeType,c.fa,c.Le));break}};var zG=function(a,b){a=Error.call(this,a);this.message=a.message;"stack"in a&&(this.stack=a.stack);this.errorType=b===void 0?900:b};q(zG,Error);var AG=function(a){this.j=a;this.g=Date.now()};AG.prototype.reset=function(){this.g=Date.now()};var BG=function(a){a=a.g+a.j-Date.now();return a>0?a:0};var CG="://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(" "),DG=/\bocr\b/;function EG(a){if(D(E(a))||Ud&&a.length>2048)return!1;try{if((new O(a)).D().match(DG))return!0}catch(b){}return CG.find(function(b){return a.match(b)!=null})!=null};var FG=function(a){var b=Error.call(this,a);this.message=b.message;"stack"in b&&(this.stack=b.stack);this.errorCode=a};q(FG,Error);function GG(a){return td(a===null?"null":a===void 0?"undefined":a)};var HG=function(a){if(typeof DOMParser!="undefined"){var b=new DOMParser;a=GG(a);return b.parseFromString(ud(a),"application/xml")}throw Error("Your browser does not support loading xml documents");};var IG=function(a){L.call(this);this.j=a;this.g={}};Va(IG,L);var JG=[];IG.prototype.listen=function(a,b,c,d){return KG(this,a,b,c,d)};var KG=function(a,b,c,d,e,f){Array.isArray(c)||(c&&(JG[0]=c.toString()),c=JG);for(var g=0;g0?a[a.length-1]:null} function V(a){if(a.childNodes.length==0)return null;var b="";a=v(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 lH(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 mH(a,b){return a.hasAttribute("type")&&a.getAttribute("type").toLowerCase()==b.toLowerCase()}function nH(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*60*60*1E3+c*60*1E3+e*1E3,a+=b}} function oH(a){var b=[];a=v(Ye(a));for(var c=a.next();!c.done;c=a.next()){var d=c.value;if(d.nodeName=="Verification"){c={vendor:d.getAttribute("vendor"),X:[]};d=v(Ye(d));for(var e=d.next();!e.done;e=d.next())switch(e=e.value,e.nodeName){case "JavaScriptResource":c.He=V(e);c.Pc=e.getAttribute("apiFramework");break;case "VerificationParameters":c.parameters=V(e);break;case "TrackingEvents":c.X=pH(e)}c.He!=null&&b.push(new $E(c))}}return b} function qH(a){var b=[];a=v(Ye(a));for(var c=a.next();!c.done;c=a.next())c=c.value,c.nodeName=="CustomTracking"&&b.push.apply(b,w(pH(c)));return b}function rH(a,b){var c=a.getAttribute("id");a=lH(a);b=new tE(b,c,a);b.url=EE(b.url,b.g);return b} function pH(a){var b=[];a=v(Ye(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&&!D(e)){var f=d.getAttribute("offset"),g=null,h=null;f&&f.endsWith("%")?h=parseInt(f,10):f&&f.includes(":")&&(g=nH(f));d=lH(d);e=EE(e,d);b.push(new UA(c,e,{Ha:g,Ud:h},d))}}}return b}function sH(a){return a==null||a==="about:blank"?null:a} function tH(a){var b={};b.yb=a.getAttribute("program");b.fa=a.getAttribute("apiFramework");b.gb=a.getAttribute("altText");b.hi=a.getAttribute("hoverText");b.width=hH(a,"width");b.height=hH(a,"height");b.Ab=a.getAttribute("xPosition");b.Bb=a.getAttribute("yPosition");b.Eb=nH(a.getAttribute("duration"));b.xf=nH(a.getAttribute("pxratio"));b.Ha=uH(a.getAttribute("offset"),b.Eb);b.resources=vH(a);b.jf=[];a=v(Ye(a));for(var c=a.next();!c.done;c=a.next()){var d=c.value;switch(d.nodeName){case "IconViewTracking":b.jf.push(V(d)); break;case "IconClicks":c=null;var e=[],f=[];d=v(Ye(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=rH(g,h));break;case "IconClickTracking":h!=null&&e.push(new tE(h,k));break;case "IconClickFallbackImages":f=wH(g)}}b.se=new ME({Gb:c,yc:e,Vf:f})}}return new NE(b)}function uH(a,b){if(a!=null)return a.endsWith("%")&&b!=null?parseInt(a,10)*b/100:nH(a)} function vH(a){var b=[];a=v(Ye(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 HE(d,"Static",c.getAttribute("creativeType")));break;case "HTMLResource":b.push(new HE(d,"Html"));break;case "IFrameResource":b.push(new HE(d,"IFrame"))}}return b} function wH(a){var b=[];a=v(Ye(a));for(var c=a.next();!c.done;c=a.next()){var d=c.value;c=vH(d).filter(function(g){return g.resourceType=="Static"});if(c.length>0){var e=hH(d,"width"),f=hH(d,"height");d=xH(d);b.push(new LE(c[0],e,f,d))}}return b}function xH(a){a=v(Ye(a));for(var b=a.next();!b.done;b=a.next())if(b=b.value,b.nodeName=="AltText")return V(b);return null};var yH=function(){this.g=[]},zH=function(a,b){a.g.includes(b)||a.g.push(b)},AH=function(a,b){var c=[];b=v(b);for(var d=b.next();!d.done;d=b.next())if(d=d.value,d.nodeName=="Extension")for(var e=v(a.g),f=e.next();!f.done;f=e.next())if(f=f.value.g(d),f!=null){c.push(f);break}return c},CH=function(a){var b={bb:[]};b.Da=hH(a,"sequence");b.id=a.getAttribute("id");b.adId=a.getAttribute("adId");for(var c=v(Ye(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=[],l=[],p=[],n=[],r=[],u=v(Ye(e)),t=u.next();!t.done;t=u.next()){var x=t.value;switch(x.nodeName){case "TrackingEvents":k=pH(x);break;case "VideoClicks":for(var A=null,F=[],G=[],S=v(Ye(x)),fa=S.next();!fa.done;fa=S.next()){var da=fa.value,Sb=V(da);if(Sb!=null){var lm=da.getAttribute("id");switch(da.nodeName){case "ClickThrough":A=rH(da,Sb);break;case "ClickTracking":var Fq=lH(da);F.push(new tE(Sb,lm,Fq));break;case "CustomClick":G.push(new tE(Sb,lm))}}}h=new TE({Gb:A,yc:F,Xe:G}); break;case "MediaFiles":for(var mf=[],qj=[],lg=[],mm=v(Ye(x)),xh=mm.next();!xh.done;xh=mm.next()){var Lb=xh.value;switch(Lb.nodeName){case "MediaFile":var mg=void 0,Db=V(Lb);if(Db==null)var yh=null;else{Db.indexOf("www.youtube.com/get_video")!=-1?T(U(),"hgvu","1"):Db.indexOf("redirector.gvt1.com/get_video")!=-1&&T(U(),"hgvuc","1");var bd={};bd.height=hH(Lb,"height");bd.width=hH(Lb,"width");bd.wb=Lb.getAttribute("delivery");bd.bitrate=hH(Lb,"bitrate");bd.wa=hH(Lb,"minBitrate");bd.maxBitrate=hH(Lb, "maxBitrate");bd.mimeType=(mg=Lb.getAttribute("type"))==null?void 0:mg.toLowerCase();bd.fa=Lb.getAttribute("apiFramework");bd.codec=Lb.getAttribute("codec");var Gq=Db,nm=Number(Gf(Gq,"itag"));if(nm)var ng=nm;else{var rj=Gq.match(fG);ng=rj&&rj.length===2?Number(rj[1]):null}ng!=null&&(bd.Ga=ng);yh=new SE(Db,bd)}var Hq=yh;Hq!==null&&mf.push(Hq);break;case "ClosedCaptionFiles":for(var sj=[],tj=v(Ye(Lb)),tx=tj.next();!tx.done;tx=tj.next()){var ux=tx.value,kJ=V(ux);if(kJ!==null){var vx={url:kJ},lJ=void 0; vx.mimeType=(lJ=ux.getAttribute("type"))==null?void 0:lJ.toLowerCase();vx.language=ux.getAttribute("language");sj.push(new KE(vx))}}lg=sj;break;case "InteractiveCreativeFile":var mJ=void 0,nJ=kH(Lb,"HTMLResource");if(nJ){var wx="Html";var Iq=V(nJ)}else wx="Url",Iq=V(Lb);if(!Iq||D(Iq))var oJ=null;else{var G0=new HE(Iq,wx),Jq={};Jq.mimeType=(mJ=Lb.getAttribute("type"))==null?void 0:mJ.toLowerCase();Jq.fa=Lb.getAttribute("apiFramework");Jq.Le=iH(Lb.getAttribute("variableDuration"));var H0=new OE(G0, Jq);wx==="Html"?LB("lima_p_ich"):LB("lima_p_icu");oJ=H0}var pJ=oJ;pJ!==null&&qj.push(pJ)}}T(U(),"vmfc",""+mf.length);var I0=lg.length===0?"0":"1";T(U(),"vhc",I0);var J0=mf;var K0=lg;var L0=qj;l=J0;n=K0;p=L0;break;case "Duration":g=nH(V(x));break;case "AdParameters":f=E(V(x));break;case "Icons":for(var qJ=[],rJ=v(Ye(x)),xx=rJ.next();!xx.done;xx=rJ.next()){var sJ=xx.value;sJ.nodeName=="Icon"&&qJ.push(tH(sJ))}var yx=r=qJ;T(U(),"icc",yx.length.toString());if(yx.length>0){for(var tJ=0,uJ=0,vJ=0,wJ=0,uj= null,xJ="ns",yJ="ns",zJ=v(yx),zx=zJ.next();!zx.done;zx=zJ.next()){for(var vj=zx.value,AJ=v(vj.resources),Ax=AJ.next();!Ax.done;Ax=AJ.next())switch(Ax.value.resourceType){case "Html":tJ++;break;case "IFrame":uJ++;break;case "Static":vJ++;break;default:wJ++}uj=vj.yb;yJ=vj.width?vj.width.toString():"ns";xJ=vj.height?vj.height.toString():"ns"}T(U(),"icrh",tJ.toString());T(U(),"icri",uJ.toString());T(U(),"icrs",vJ.toString());T(U(),"icru",wJ.toString());uj&&(uj.length>16&&(uj=uj.substring(0,15)+"*"),T(U(), "icp",uj));T(U(),"icdi",xJ+"x"+yJ)}}}var M0=uH(e.getAttribute("skipoffset"),g);b.Ub=new UE({duration:g,Ob:M0,X:k,Jc:l,Za:p,Dh:n,zd:h,ka:f,va:r});break;case "NonLinearAds":for(var BJ=[],CJ=[],DJ=v(Ye(e)),Bx=DJ.next();!Bx.done;Bx=DJ.next()){var Cx=Bx.value;switch(Cx.nodeName){case "NonLinear":for(var EJ=BJ,N0=EJ.push,zh=Cx,O0=vH(zh),P0=zh.getAttribute("id"),Q0=hH(zh,"width"),R0=hH(zh,"height"),S0=zh.getAttribute("apiFramework"),T0=nH(zh.getAttribute("minSuggestedDuration")),FJ=null,GJ=null,HJ=[],IJ= v(Ye(zh)),Dx=IJ.next();!Dx.done;Dx=IJ.next()){var om=Dx.value,Kq=V(om);if(Kq!=null)switch(om.nodeName){case "NonLinearClickThrough":GJ=rH(om,Kq);break;case "NonLinearClickTracking":var U0=lH(om);HJ.push(new tE(Kq,om.getAttribute("id"),U0));break;case "AdParameters":FJ=E(Kq)}}N0.call(EJ,new VE({id:P0,fa:S0,width:Q0,height:R0,Kc:T0,Lg:GJ,Mg:HJ,resources:O0,ka:FJ}));break;case "TrackingEvents":CJ=pH(Cx)}}b.Be=new WE(BJ,CJ);var Ex=b.Be.g;T(U(),"nlc",Ex.length.toString());if(Ex.length>0){for(var JJ=0, KJ=0,LJ=0,MJ=0,Fx=!1,NJ=v(Ex),Gx=NJ.next();!Gx.done;Gx=NJ.next())for(var OJ=v(Gx.value.resources),Hx=OJ.next();!Hx.done;Hx=OJ.next()){var PJ=Hx.value;switch(PJ.resourceType){case "Html":JJ++;Fx=Fx||Cc(PJ.g,"<");break;case "IFrame":KJ++;break;case "Static":LJ++;break;default:MJ++}}T(U(),"nlrh",JJ.toString());T(U(),"nlri",KJ.toString());T(U(),"nlrs",LJ.toString());T(U(),"nlru",MJ.toString());T(U(),"nlrhc",Fx.toString())}break;case "CompanionAds":b.je=BH(e);var Ix=b.je.g;T(U(),"ccc",Ix.length.toString()); if(Ix.length>0){for(var RJ=0,SJ=0,TJ=0,UJ=0,Jx=!1,VJ=v(Ix),Kx=VJ.next();!Kx.done;Kx=VJ.next())for(var WJ=v(Kx.value.resources),Lx=WJ.next();!Lx.done;Lx=WJ.next()){var XJ=Lx.value;switch(XJ.resourceType){case "Html":RJ++;Jx=Jx||Cc(XJ.g,"<");break;case "IFrame":SJ++;break;case "Static":TJ++;break;default:UJ++}}T(U(),"ccrh",RJ.toString());T(U(),"ccri",SJ.toString());T(U(),"ccrs",TJ.toString());T(U(),"ccru",UJ.toString());T(U(),"ccrhc",Jx.toString())}break;case "UniversalAdId":var YJ=b.bb,V0=YJ.push, Mx=V(e);Mx||(Mx=e.getAttribute("idValue"));var W0=e.getAttribute("idRegistry");V0.call(YJ,new XE({kf:W0,lf:Mx}))}}return new YE(b)},BH=function(a){var b=[],c=a.getAttribute("required");c!="any"&&c!="all"&&(c="none");a=v(Ye(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=vH(e),h=e.getAttribute("id"),k=e.getAttribute("adSlotID"),l=e.getAttribute("apiFramework"),p=e.getAttribute("width")==="fluid"&&e.getAttribute("height")==="fluid",n=hH(e,"width"), r=hH(e,"height"),u=[],t=null,x=[],A;e=v(Ye(e));for(A=e.next();!A.done;A=e.next()){var F=A.value;switch(F.nodeName){case "TrackingEvents":u=pH(F);break;case "CompanionClickThrough":A=V(F);A==null||D(A)||(t=rH(F,A));break;case "CompanionClickTracking":if(A=V(F),A!=null&&!D(A)){var G=lH(F);x.push(new tE(A,F.getAttribute("id"),G))}}}f.call(d,new IE({id:h,Cd:k,fa:l,width:n,height:r,kb:p,Xf:t,Yf:x,resources:g,X:u}))}}return new JE(b,c)};var EH=function(){var a={oj:[new DH,new wG]};var b=a.oj===void 0?[]:a.oj;a=a.Wl===void 0?[]:a.Wl;this.j=b;this.g=a},FH=function(a,b){a:{var c=v(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=v(a.g);for(d=a.next();!d.done;d=a.next())d.value.g(b,c);return c}throw new zG("Ad Provider was not found for ad.",1014);},GH=function(a,b){a.g.unshift(b)};var HH=function(a,b){this.j=a;this.g=b===void 0?null:b};var IH=function(a,b){eF.call(this,a);this.g=b};q(IH,eF);var DH=function(){};q(DH,wG);DH.prototype.l=function(a){a=(a.g.length<1?null:a.g[0]).Sa;return a instanceof nG?a.ra.find(function(b){return b.Ub!=null})!=null:!1};DH.prototype.j=function(a){var b=new sE;this.g(a,b);return b}; DH.prototype.g=function(a,b){wG.prototype.g.call(this,a,b);for(var c=v(a.g),d=c.next();!d.done;d=c.next())d=d.value,JH(d,b),d=d.Sa,d instanceof nG&&(b.description=d.description);a:if(c=a.g.length<1?null:a.g[0])if(d=dF(a,HH),d.length>0)for(a=v(d),c=a.next();!c.done;c=a.next())c=c.value,c.j&&(b.Ob=c.g?c.g:5E3);else{c=v(c.Sa.ra);for(d=c.next();!d.done;d=c.next())if((d=d.value.Ub)&&d.Ob!=null){b.Ob=d.Ob;break a}c=dF(a,eF);c=v(c);for(d=c.next();!d.done;d=c.next()){d=v(d.value.X);for(var e=d.next();!e.done;e= d.next())if(e.value.eventType=="skip"){b.Ob=5E3;break a}}a=dF(a,IH);a=v(a);for(c=a.next();!c.done;c=a.next())if(c.value.g=="Generic"){b.Ob=5E3;break}}}; var JH=function(a,b){for(var c=v(a.Sa.ra),d=c.next();!d.done;d=c.next()){d=d.value;var e=d.Ub;if(e){b.creativeId=d.id;b.o=d.adId;b.bb=d.bb.map(function(k){return new rE(k.lf,k.kf)});for(var f=v(e.X),g=f.next();!g.done;g=f.next())aB(b,WA(g.value));if(f=e.zd){g=v(f.yc);for(var h=g.next();!h.done;h=g.next())h=h.value,aB(b,XA("click",h.url,h.g,h.id));g=v(f.Xe);for(h=g.next();!h.done;h=g.next())h=h.value,h.id&&aB(b,new VA(h.id,h.url))}a.Sa instanceof nG&&(b.Eb=d.Ub.duration,e.ka&&(b.ka=e.ka),f&&f.Gb&& (b.N=f.Gb.url,b.A=xE(f.Gb),b.B=f.Gb.g))}}};var KH=function(a){L.call(this);this.C=1;this.l=[];this.o=0;this.g=[];this.j={};this.D=!!a};Va(KH,L);var LH=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};KH.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&&kb(c,a),delete this.g[a],delete this.g[a+1],delete this.g[a+2])}return!!b}; KH.prototype.B=function(a,b){var c=this.j[a];if(c){var d=Array(arguments.length-1),e=arguments.length,f;for(f=1;f0&&this.o==0)for(;c=this.l.pop();)this.A(c)}}return f!=0}return!1};var MH=function(a,b,c){Ht(function(){a.apply(b,c)})}; KH.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={}};KH.prototype.P=function(){KH.Xb.P.call(this);this.clear();this.l.length=0};var NH=function(a){L.call(this);this.g=new KH(a);M(this,this.g)};Va(NH,L);var OH=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)},PH=function(a,b,c){return a.g.B(b.toString(),c)};NH.prototype.clear=function(a){this.g.clear(a!==void 0?a.toString():void 0)};function QH(a,b,c,d){OH(b,c,d);Go(a,function(){return void LH(b.g,c.toString(),d)})};function RH(a,b){b=b!=null?b:"";Ud&&(b="");if(!D(E(a))){var c=!gd(a)&&QA.test(a)?new ed(a):a;a=gd(c)?c:md(a);c=window;a=rd(a);a!==void 0&&c.open(a,"_blank",b)}};var TH=nf(SH);function SH(){for(var a="",b=v(UH()),c=b.next();!c.done;c=b.next())c=c.value,c<=15&&(a+="0"),a+=c.toString(16);return a} function UH(){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;b0||this.Ff<=0&&this.Gf<=0){var b=this.ge<=0?yf()?500:Infinity:this.ge;a=bI(this,a);if(a.length===0)b=null;else{HB(U(),"smb",b);for(var c=null,d=v(a),e=d.next();!e.done;e=d.next()){e=e.value;var f=e.wa,g=e.maxBitrate;f!=null&&f>b||g!=null&&gf)||(c=e)}if(!c)for(c=null,d=v(a),e=d.next();!e.done;e=d.next())if(e=e.value,f=e.wa,g=e.maxBitrate,!(g!=null&&g>b))if(g==null||c==null||c.maxBitrate==null||c.maxBitratef)c=e;if(!c)for(c=null,d=v(a),e=d.next();!e.done;e=d.next())if(e=e.value,f=e.wa,g=e.maxBitrate,!(f!=null&&ff)c=e;b=c}b||cI(a);a=b}else{a=bI(this,a);if(this.Gf>=this.Ff){b=this.Gf;c=this.lh;c=c===void 0?!1:c;d=null;e=v(a);for(f=e.next();!f.done;f=e.next())f=f.value,d==null?d=f:d!=null&&f.width&&d.width&&Math.abs(f.width-b)=0&&e++;f=v(a.g);for(g=f.next();!g.done;g=f.next())g=g.value,c+=g.Ga+",",g.url.indexOf("gvt1.com")>=0&&e++;f=v(a.j);for(g=f.next();!g.done;g=f.next())g=g.value,d+=g.Ga+",",g.url.indexOf("gvt1.com")>=0&&e++;f=v(a.A);for(g=f.next();!g.done;g=f.next())g=g.value,g.mimeType==="application/dash+xml"?T(U(),"ghmsh_hd","1"):g.mimeType==="application/vnd.apple.mpegurl"&& T(U(),"ghmsh_hh","1");T(U(),"ghmsh_mi",b);T(U(),"ghmsh_vi",c);T(U(),"ghmsh_ai",d);T(U(),"ghmsh_gvt",e.toString());b=eI(this,a);b||(KB(U(),"ghmsh_f"),a.l.length>0?b=fI(a.l[0]):a.j.length>0&&a.g.length>0?b=gI(a.g[0],a.j[0]):(KB(U(),"ghmsh_ff"),b=null));return b?((c=b)?(T(U(),"ams","1"),c.getWidth()&&c.getHeight()&&T(U(),"vs",c.getWidth()+"x"+c.getHeight()),c.Ea&&T(U(),"vc",c.Ea),c instanceof GE?(c.g&&T(U(),"mt",c.g),c.getMediaUrl().indexOf("gvt1.com")>=0&&T(U(),"gvt1","1"),ZH(c.getMediaUrl())):c instanceof FE&&(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)),ZH(c.j))):T(U(),"ams","0"),hI(b),cB(jC)&&(a=(a=iI(a,18))?a:null)?[b,a]:[b]):[]}; var eI=function(a,b){var c=null,d=null;a=v(a.g);for(var e=a.next();!e.done;e=a.next()){var f=e.value;switch(f.type){case "dash":if(c=jI(b,"application/dash+xml"))return c;break;case "hls":if(c=jI(b,"application/vnd.apple.mpegurl"))return c;break;case "itag":if(f.Td)c=iI(b,f.Td);else if(f.Yi&&f.hm){e=c=void 0;var g=b,h=f.Yi;f=f.hm;for(var k=v(g.g),l=k.next();!l.done;l=k.next())l=l.value,l.Ga===h&&(e=l);if(f)for(g=v(g.j),h=g.next();!h.done;h=g.next())h=h.value,h.Ga===f&&(c=h);c=e&&c?gI(e,c):e?fI(e): null;c instanceof GE&&d==null&&(d=c,c=null)}else if(f.Yi){c=void 0;e=f.Yi;f=v(b.g);for(g=f.next();!g.done;g=f.next())g=g.value,g.Ga===e&&(c=g);c=c?new FE({If:c.url,uj:"",Nk:c.Ga,sj:null,Ok:c.mimeType,tj:"",Ea:c.Ea,Oa:"",height:c.height,width:c.width,Ba:c.Ba||!1,po:c.bd,gm:0}):null}if(c)return c}}return d},jI=function(a,b){a=v(a.A);for(var c=a.next();!c.done;c=a.next())if(c=c.value,c.mimeType===b)return fI(c);return null},iI=function(a,b){a=v(a.l);for(var c=a.next();!c.done;c=a.next())if(c=c.value, c.Ga===b)return fI(c);return null},fI=function(a){return new GE({tn:a.url,mimeType:a.mimeType,Ga:a.Ga,Ea:a.Ea,Oa:a.Oa,height:a.height,width:a.width,Ba:a.Ba||!1,bd:a.bd})},gI=function(a,b){return new FE({If:a.url,uj:b.url,Nk:a.Ga,sj:b.Ga,Ok:a.mimeType,tj:b.mimeType,Ea:a.Ea,Oa:b.Oa,height:a.height,width:a.width,Ba:a.Ba&&b.Ba||!1,po:a.bd,gm:b.bd})},hI=function(a){a=$H(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 kI=function(a){this.g=a};kI.prototype.toString=function(){return this.g};var lI=[];function mI(a){a=new kI(a);lI.push(a);return a}mI("imalib_instrumentation");mI("simid_video_addon_pause");mI("simid_video_addon_play");mI("simid_video_addon_stop");mI("request_resize");mI("video_creative_resize_result");mI("ui_ad_clicked");mI("ui_endcap_impression");mI("ui_replay_icon_clicked");mI("ui_skip_to_endcap_clicked");mI("ui_continue_button_clicked");mI("ui_play_pause_clicked");mI("ui_play_resume_clicked");mI("ui_play_pause_hidden");mI("ui_play_pause_shown");mI("ui_mute_button_clicked"); mI("ui_skip_shown");mI("ui_skip_clicked");mI("ui_learn_more_clicked");mI("ui_author_icon_clicked");mI("ui_ad_author_clicked");mI("ui_ad_title_clicked");mI("ui_wta_clicked");mI("ui_cta_clicked");var nI=mI("ui_close_countdown_complete");mI("update_action_title");mI("video_time_update");mI("accumulated_video_time");mI("animate_time_update");mI("video_reward_granted");mI("video_show_endcard");mI("video_player_end");mI("video_player_pause");mI("video_player_play_attempted");mI("video_player_play");mI("video_player_volume_change"); mI("video_player_media_loaded");mI("video_player_start");mI("video_player_focus_ui_element");mI("video_error");mI("request_cta_url_for_qr");mI("receive_cta_for_qr");mI("och_click");mI("close_ad");mI("request_change_ad_duration");mI("ad_duration_change_result");var oI=new kI("ad_author_icon_update"),pI=new kI("ad_author_update"),qI=new kI("ad_cta_text_update"),rI=new kI("ad_title_update"),sI=new kI("in_creative_widget_shown"),tI=new kI("in_creative_widget_hidden"),uI=new kI("in_creative_widget_navigation_dispatched"),vI=new kI("gpid_consent_data_changed"),wI=function(a,b,c){this.type=a;this.j=b;this.g=c},xI=new kI("publisher_invoked_skip"),yI=new kI("ui_ad_attribution_clicked"),zI=new kI("ui_ad_author_clicked"),AI=new kI("ui_ad_clicked"),BI=new kI("ui_ad_mouse_enter"), CI=new kI("ui_ad_mouse_over"),DI=new kI("ui_ad_mouse_leave"),EI=new kI("ui_author_icon_clicked"),FI=new kI("ui_ad_title_clicked"),GI=new kI("ui_close_button_clicked"),HI=new kI("ui_close_button_shown"),II=new kI("ui_close_countdown_shown"),JI=new kI("ui_close_countdown_timeout"),KI=new kI("ui_endcap_learn_more_clicked"),LI=new kI("ui_focus_element"),MI=new kI("ui_focus_skip_button"),NI=new kI("ui_icon_fallback_image_closed"),OI=new kI("ui_learn_more_clicked"),PI=new kI("ui_sandboxed_iframe_loaded"), QI=function(a,b){this.Ab=a;this.Bb=b},RI=new kI("ui_overlay_clicked"),SI=new kI("ui_overlay_faded"),TI=new kI("ui_overlay_rendered"),UI=new kI("ui_play_pause_clicked"),VI=new kI("ui_play_pause_hidden"),WI=new kI("ui_play_pause_shown"),XI=new kI("ui_recall_button_clicked"),YI=new kI("ui_skip_clicked"),ZI=new kI("ui_skip_shown"),$I=new kI("ui_vast_icon_clicked"),aJ=new kI("ui_vast_icon_rendered"),bJ=new kI("ui_wta_clicked"),cJ=new kI("video_clicked"),dJ=new kI("video_pause"),eJ=new kI("video_ad_shown"), fJ=new kI("video_started"),gJ=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},hJ=new kI("video_time_update");var iJ=function(){return Lz('
')},jJ=function(){return Lz('
')},QJ=function(a){a=a.Kh;return Lz('
'+Oz(a)+"
")};var ZJ=function(a){a=a||{};a=a.ri;return Lz('
'+Oz(a)+"
")},$J=function(a){a=a.ri;return Lz('
'+Oz(a)+"
")};var aK=function(){N.call(this);this.element=null;this.g=new IG(this);M(this,this.g)};q(aK,N);aK.prototype.P=function(){this.g=null};var dK=function(a,b){aK.call(this);this.l=this.j=null;this.element=oA(iJ,{});a.appendChild(this.element);this.g.listen(this.element,"touchmove",function(c){c.preventDefault()});bK(this);cK(this,b);(parseInt(En(a,"width"),10)||parseInt(a.getAttribute("width"),10))<=400&&hz(this.element,"videoAdUi-mobile");this.ca()};q(dK,aK); var bK=function(a){a.j=oA(jJ,{});a.element.appendChild(a.j);a.g.listen(a.j,"click",function(b){KB(U(),"sic");b.stopPropagation()})},cK=function(a,b){a.l=oA(QJ,{Kh:b||"Learn More "});a.element.appendChild(a.l);a.g.listen(Ke("callToActionButton",a.element),"click",function(c){KB(U(),"ecbc");a.dispatchEvent("video_card_endcap_action");c.stopPropagation()})};dK.prototype.show=function(){Qn(this.element,!0)};dK.prototype.ca=function(){Qn(this.element,!1)}; dK.prototype.P=function(){Xe(this.element);this.element=null;aK.prototype.P.call(this)};var eK=function(){return Lz('
')};var gK=function(a){aK.call(this);this.l=a;this.j=null;this.element=oA(eK,{});fK(this)};q(gK,aK);var fK=function(a){a.j=Ke("advertiserChannelThumbnail",a.element);a.g.listen(a.j,"click",function(){a.l?KB(U(),"ectc"):KB(U(),"ctc")});a.g.listen(Ke("advertiserHeadline",a.element),"click",function(){a.l?KB(U(),"eadc"):KB(U(),"adc")});a.g.listen(Ke("advertiserDescription",a.element),"click",function(){a.l?KB(U(),"eahc"):KB(U(),"ahc")})};gK.prototype.P=function(){Xe(this.element);this.element=null;aK.prototype.P.call(this)};var hK=function(){N.call(this);this.g=new IG(this);M(this,this.g)};q(hK,N);hK.prototype.P=function(){this.g=null};hK.prototype.Qf=function(){};var iK=function(){hK.apply(this,arguments)};q(iK,hK);iK.prototype.Jf=function(){};var jK=function(a){a=a===void 0?!1:a;iK.call(this);this.j=new gK(a);this.A=Ke("advertiserChannelThumbnail",this.j.element);this.l=Ke("advertiserDescription",this.j.element);this.o=Ke("advertiserHeadline",this.j.element)};q(jK,iK);jK.prototype.Pe=function(a){if(a){var b=this.j;b.j.setAttribute("src",a);Cn(b.j,"display","inline")}};jK.prototype.qh=function(a){a&&this.o&&$e(this.o,a)};jK.prototype.Jf=function(a){a&&this.l&&$e(this.l,a)}; jK.prototype.Qf=function(a){a.insertBefore(this.j.element,a.childNodes[0]||null)};var kK=function(a){a.g.listen(a.A,"click",function(b){b.stopPropagation();a.dispatchEvent("video_card_endcap_action")});a.g.listen(a.l,"click",function(b){b.stopPropagation();a.dispatchEvent("video_card_endcap_action")});a.g.listen(a.o,"click",function(b){b.stopPropagation();a.dispatchEvent("video_card_endcap_action")})};var nK=function(a,b){a=a.ae;return Lz('
'+lK(null,b)+mK(a)+"
")},lK=function(){var a='
')},oK=function(a){a=a||{};var b=a.nh,c="";return c=a.rc?c+("You can skip in "+ b):c+("You can skip this ad in "+b)},pK=function(a){return mK(a.ae)},mK=function(a){var b='
'; return Lz(b)};var qK=function(){N.call(this);this.j=0;this.endTime=this.startTime=null};Va(qK,N);var rK=function(a,b){Array.isArray(b)||(b=[b]);b=b.map(function(c){return typeof c==="string"?c:c.Oc+" "+c.duration+"s "+c.timing+" "+c.delay+"s"});Cn(a,"transition",b.join(","))},sK=nf(function(){var a=Te(document,"DIV"),b=Wd?"-webkit":Vd?"-moz":null,c="transition:opacity 1s linear;";b&&(c+=b+"-transition:opacity 1s linear;");vd(a,oe({style:c}));a=a.firstChild;b=a.style[Md("transition")];return(typeof b!=="undefined"?b:a.style[Bn(a,"transition")]||"")!=""});function tK(a,b,c,d,e){qK.call(this);this.g=a;this.A=b;this.B=c;this.l=d;this.D=Array.isArray(e)?e:[e]}Va(tK,qK);m=tK.prototype;m.play=function(){if(this.j==1)return!1;this.dispatchEvent("begin");this.dispatchEvent("play");this.startTime=Ta();this.j=1;if(sK())return Cn(this.g,this.B),this.o=au(this.On,void 0,this),!0;this.rh(!1);return!1};m.On=function(){Nn(this.g);rK(this.g,this.D);Cn(this.g,this.l);this.o=au(Ra(this.rh,this,!1),this.A*1E3)};m.stop=function(){this.j==1&&this.rh(!0)}; m.rh=function(a){Cn(this.g,"transition","");bu(this.o);Cn(this.g,this.l);this.endTime=Ta();this.j=0;a?this.dispatchEvent("stop"):this.dispatchEvent("finish");this.dispatchEvent("end")};m.P=function(){this.stop();tK.Xb.P.call(this)};m.pause=function(){};var uK=function(a,b){return new tK(a,b,{opacity:0},{opacity:1},{Oc:"opacity",duration:b,timing:"ease-out",delay:0})};var wK=function(a){aK.call(this);this.F=this.D=this.j=this.o=this.B=this.A=this.l=null;vK(this,a)};q(wK,aK); var vK=function(a,b){a.l=oA(lK);a.A=Ke("videoAdUiPreSkipButton",a.l);a.B=Ke("videoAdUiPreSkipText",a.A);a.j=oA(pK,{ae:uc("Skip Ad ")});a.o=Ke("videoAdUiSkipButton",a.j);Qn(a.l,!1);b.appendChild(a.l);b.appendChild(a.j);a.g.listen(a.o,"click",function(c){c.stopPropagation();a.dispatchEvent("click")})},xK=function(a){a.A.style.backgroundColor="black";a.o.style.backgroundColor="black"},yK=function(a){Qn(a.j,!1);Pn(a.j,0)};wK.prototype.show=function(){Qn(this.A,!0);Qn(this.o,!0)}; wK.prototype.ca=function(){Qn(this.A,!1);Qn(this.o,!1)};wK.prototype.P=function(){Fo(this.D);this.D=null;Fo(this.F);this.F=null;this.l&&(Xe(this.l),this.l=null);this.o&&(this.o=null);this.j&&(Xe(this.j),this.j=null);aK.prototype.P.call(this)};var zK=function(){if(Zd){var a=/Windows NT ([0-9.]+)/;return(a=a.exec(Gc()))?a[1]:"0"}return Yd?(a=/1[0|1][_.][0-9_.]+/,(a=a.exec(Gc()))?a[0].replace(/_/g,"."):"10"):$d?(a=/Android\s+([^\);]+)(\)|;)/,(a=a.exec(Gc()))?a[1]:""):ae||be||ce?(a=/(?:iPhone|CPU)\s+OS\s+(\S+)/,(a=a.exec(Gc()))?a[1].replace(/_/g,"."):""):""}();var BK=function(a,b){hK.call(this);this.l=b;this.j=new wK(a);this.o=b==0?3:1;M(this,this.j);AK(this)};q(BK,hK);var AK=function(a){CK(a);$d&&zK==="4.4.4"&&xK(a.j);a.l==0?a.dispatchEvent("skipShown"):yK(a.j);a.g.listen(a.j,"click",function(){a.o==3&&a.dispatchEvent("videoSkipClicked")})},CK=function(a){if(!(a.l<0)){var b=Math.ceil(a.l-0),c=b.toString();b>=60&&(c=FC(b));$e(a.j.B,oK({nh:c}))}};BK.prototype.skip=function(){return this.l>=0&&this.o==3?(this.dispatchEvent("publisher_invoked_skip"),!0):!1}; BK.prototype.show=function(){this.j.show()};BK.prototype.ca=function(){this.j.ca()};var DK=function(a,b,c){hK.call(this);var d=this;this.o=new dK(a,c);this.B=0;this.D=b;this.j=null;this.l=new jK(!0);this.g.listen(this.o,"video_card_endcap_action",function(){d.dispatchEvent("video_card_endcap_action")});M(this,this.o);this.l.aa=this;this.l.Qf(this.o.l);kK(this.l);M(this,this.l);this.A=new BK(this.o.element,0);this.A.aa=this;M(this,this.A);b>0&&(this.j=new $t(100),M(this,this.j),this.g.listen(this.j,"tick",this.Dn))};q(DK,hK); var EK=function(a,b){var c=c===void 0?!1:c;if(b){var d=Ke("advertiserVideoThumbnail",a.o.j);d.setAttribute("src",b);c&&(Cn(d,{width:"100%",pointer:"cursor"}),a.g.listen(d,"click",function(){a.dispatchEvent("click")}))}};m=DK.prototype;m.skip=function(){return this.A!=null?(this.dispatchEvent("video_card_endcap_dismiss"),this.A.skip()):!1};m.show=function(){this.o.show();this.B=Date.now();this.j&&this.j.start();this.dispatchEvent("video_card_endcap_impression")}; m.ca=function(){this.o.ca();this.j&&this.j.stop();this.dispatchEvent("video_card_endcap_collapse")};m.Dn=function(){this.dispatchEvent("timeupdate");(this.B>0?Date.now()-this.B:0)>=this.D&&this.ca()};m.pause=function(){this.j&&this.j.stop()};var FK=function(a){a=a.Kh;return Lz('
'+Oz(a)+"
")};var HK=function(a){aK.call(this);var b=this;this.element=oA(FK,{Kh:a||"Learn More "});a=function(){return b.dispatchEvent("click")};this.j=Ke("videoAdUiActionCtaInset",this.element);this.o=Ke("videoAdUiActionCtaText",this.j);GK(this,this.o,"fctc",a);this.A=Ke("videoAdUiActionCtaLink",this.j);GK(this,this.A,"fcvuc",a);this.l=Ke("videoAdUiActionCtaIconContainer",this.j);GK(this,this.l,"fctnc",a);GK(this,Ke("videoAdUiActionCtaButton",this.j),"fcabc",function(){return b.dispatchEvent("click")});GK(this, Ke("videoAdUiActionCtaInset",this.j),"fcbgc",a);GK(this,Ke("actionCtaCollapsibleContainer",this.j),"fcbgc",a)};q(HK,aK);var GK=function(a,b,c,d){d=d===void 0?null:d;b!=null&&a.g.listen(b,"click",function(e){e.stopPropagation();KB(U(),c);d&&(GB(U().g),d())})};HK.prototype.show=function(){Qn(this.element,!0)};HK.prototype.ca=function(){Qn(this.element,!1)};var IK=function(a){iK.call(this);this.j=new HK(a)};q(IK,iK);m=IK.prototype;m.Qf=function(a){var b=this;a.insertBefore(this.j.element,a.childNodes[0]||null);this.g.listen(this.j,"click",function(){b.dispatchEvent("ctaClicked")})};m.qh=function(a){a&&$e(this.j.o,a)};m.Pe=function(a){var b=this.j,c=Te(document,"IMG");c.setAttribute("onerror",'this.style.display="none"');c.setAttribute("src",a);hz(c,"videoAdUiActionIcon");b.l.appendChild(c);Cn(b.l,"display","inline")}; m.Jf=function(a){a&&$e(this.j.A,a)};m.show=function(){this.j.show()};m.ca=function(){this.j.ca()};var JK=function(a){L.call(this);this.I=a};q(JK,L);JK.prototype.build=function(){};var KK=function(a){a=a===void 0?null:a;L.call(this);this.g=new IG(this);M(this,this.g);this.o=a};q(KK,L);var LK=function(a,b,c,d){a.o&&(OH(a.o,b,c,d),Go(a,function(){LH(a.o.g,b.toString(),c,d)}))},MK=function(a,b,c){return PH(a.o,b,c)};var NK=function(a,b){KK.call(this);b&&a.l&&a.l.setAttribute("data-ck-navigates","true")};q(NK,KK);var OK=function(a,b,c){c=c===void 0?null:c;KK.call(this,b);var d=this;this.l=a;M(this,this.l);(this.j=c)&&this.g.listen(this.l,"click",function(){d.j&&MK(d,d.j,null)})};q(OK,KK);var PK=function(a,b,c,d){KK.call(this,b);var e=this;this.j=a;M(this,this.j);this.g.listen(this.j,"click",function(){MK(e,c,null)});LK(this,d,this.l,this)};q(PK,KK);PK.prototype.l=function(a){this.j.l(a);this.j.show()};var RK=function(a,b,c,d,e){d=d===void 0?0:d;e=e===void 0?0:e;KK.call(this,b);var f=this;this.j=a;M(this,this.j);this.aa=c;this.A=d;this.K=e;this.L=null;this.B=this.D=this.l=this.G=!1;QK(this,this.A);LK(this,hJ,this.C,this);LK(this,eJ,this.F,this);LK(this,fJ,this.R,this);this.g.listen(this.j,"click",function(){f.l&&MK(f,f.aa,null)})};q(RK,KK);RK.prototype.C=function(a){!a||a.currentTimeSeconds<0||a.durationSeconds<0||(this.l?this.o&&LH(this.o.g,hJ.toString(),this.C,this):QK(this,this.A-a.currentTimeSeconds))}; var QK=function(a,b){if(b<=0)b=a.j,Qn(b.l,!0),Qn(b.j,!1),a.l=!0,MK(a,HI,null),a.A>0&&!a.B&&(MK(a,nI,null),a.B=!0);else{var c=a.j;Qn(c.l,!1);Qn(c.j,!0);$e(c.j,Math.ceil(b).toString());a.D||(MK(a,II,null),a.D=!0)}};RK.prototype.F=function(){var a=this;this.K>0&&!this.L&&(this.L=au(function(){if(!a.G){var b=a.j;Qn(b.l,!0);Qn(b.j,!1);a.l=!0;MK(a,HI,null);MK(a,JI,null);a.o&&LH(a.o.g,eJ.toString(),a.F,a)}},this.K*1E3))};RK.prototype.R=function(){this.G=!0};var TK=function(a,b,c){KK.call(this,b);var d=this;this.j=a;this.C=c;LK(this,XI,function(){SK(d,500)},this);SK(this,2E3)};q(TK,KK);var SK=function(a,b){a.j.Zd(!1);a.g.pa(a.j,"click",a.A);a.l&&clearTimeout(a.l);a.l=setTimeout(function(){a.j.Zd(!0);a.g.listen(a.j,"click",a.A)},b)};TK.prototype.A=function(a){a instanceof Zs&&a.g!=null&&a.l!=null?a=new QI(a.g,a.l):(a.nodeType==1?a=Jn(a):(a=a.changedTouches?a.changedTouches[0]:a,a=new ge(a.clientX,a.clientY)),a=new QI(a.x,a.y));MK(this,this.C,a)};var UK=function(a,b){KK.call(this,b);this.view=a};q(UK,KK);UK.prototype.show=function(){this.view.show()};UK.prototype.ca=function(){this.view.ca()};var VK=function(a,b,c){c=c===void 0?!1:c;KK.call(this,b);var d=this;this.g.listen(a,"click",function(){MK(d,AI,null)});c?this.g.listen(a,"mouseover",function(){MK(d,CI,null)}):this.g.listen(a,"mouseenter",function(){MK(d,BI,null)});this.g.listen(a,"mouseleave",function(){MK(d,DI,null)})};q(VK,KK);var WK=function(a,b,c,d){d=d===void 0?45E3:d;KK.call(this,b);this.j=a;M(this,this.j);this.F=c;this.G=d;this.D=this.C=!1;LK(this,GI,this.Km,this);LK(this,XI,this.Nm,this);this.g.listen(this.j,"mouseover",this.Zm);this.g.listen(this.j,"mouseout",this.jo);this.j.sk(400);this.play()};q(WK,KK);m=WK.prototype;m.play=function(){var a=this;this.l==null&&(this.l=au(function(){a.C||(a.ca(),a.D=!0);a.l=null},this.D?15E3:this.G,this))};m.stop=function(){this.l!=null&&(bu(this.l),this.l=null)}; m.Zm=function(){var a=this;this.show();this.C=!0;this.B=au(function(){a.C&&a.stop();a.B=null},1E3,this)};m.jo=function(){this.B!=null&&(bu(this.B),this.B=null);this.C&&this.play();this.C=!1};m.show=function(){this.j.hj();this.A!=null&&(bu(this.A),this.A=null)};m.ca=function(){var a=this;this.j.Hj();this.A==null&&(this.A=au(function(){a.F&&a.j.ca();a.A=null;MK(a,SI,null)},400,this))};m.Km=function(){this.j.ca();MK(this,SI,null)};m.Nm=function(){this.j.show()};var XK=function(a,b,c){L.call(this);this.j=a;this.C=b||0;this.l=c;this.A=Ra(this.o,this)};Va(XK,L);XK.prototype.g=0;XK.prototype.P=function(){XK.Xb.P.call(this);this.stop();delete this.j;delete this.l};XK.prototype.start=function(a){this.stop();this.g=au(this.A,a!==void 0?a:this.C)};var YK=function(a){a.isActive()||a.start(void 0)};XK.prototype.stop=function(){this.isActive()&&bu(this.g);this.g=0};XK.prototype.isActive=function(){return this.g!=0};XK.prototype.o=function(){this.g=0;this.j&&this.j.call(this.l)};var bL=function(a,b,c){c=c===void 0?!1:c;KK.call(this,b);var d=this;this.A=!1;this.l=a;M(this,this.l);this.B=c;ZK(this.l,c);this.C=!c;c?$K(this):aL(this);this.j=new XK(function(){return void aL(d)},2E3);this.g.listen(this.l,"click",function(){MK(d,UI,!d.B);d.j.stop();d.A&&YK(d.j)});LK(this,AI,function(){$K(d);YK(d.j)},this);Xd||(LK(this,BI,function(){$K(d);d.j.stop();d.A&&YK(d.j)},this),LK(this,CI,function(){$K(d);d.j.stop();d.A&&YK(d.j)},this),LK(this,DI,function(){if(!d.B||d.A){var e=d.j;e.stop(); e.o()}},this));LK(this,dJ,function(e){ZK(d.l,e);(d.B=e)?$K(d):d.A||aL(d);d.A&&YK(d.j)},this)};q(bL,KK);var $K=function(a){a.C||(a.C=!0,MK(a,WI,null),a.l.show())},aL=function(a){a.C&&(a.C=!1,MK(a,VI,null),a.l.ca())},cL=function(a){a.A=!0;hz(a.l.element,"fullScreen")};var dL=function(a,b){KK.call(this,b);this.j=a;M(this,this.j);LK(this,hJ,this.l,this)};q(dL,KK);dL.prototype.l=function(a){a&&this.j.j(a.currentTimeSeconds,a.durationSeconds,a.adPosition,a.totalAds)};var eL=function(a,b,c){KK.call(this,b);var d=this;this.j=a;M(this,this.j);this.j.ca();this.g.listen(this.j,"click",function(){MK(d,XI,null);d.j.ca()});LK(this,c,function(){d.j.show()},this)};q(eL,KK);var hL=function(a,b,c,d){d=d===void 0?0:d;KK.call(this,b);var e=this;this.l=c;this.D=d;this.j=a;M(this,this.j);this.A=this.l==0?3:1;fL(this,0);this.l==0?MK(this,ZI,null):gL(this.j);this.g.listen(this.j,"click",function(){e.A==3&&MK(e,YI,null)});LK(this,hJ,this.C,this);LK(this,MI,this.B,this)};q(hL,KK); hL.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){fL(this,0);var b=this.j;uK(b.l,b.B).play();Qn(b.l,!0)}this.A=2}else{b=this.j;Qn(b.o,!0);var c=b.B;c=new tK(b.l,c,{opacity:1,visibility:"shown"},{opacity:.9,visibility:"hidden"},{Oc:"opacity",duration:c,timing:"ease-out",delay:0});b=uK(b.o,b.B);c.play();b.play();this.A=3;MK(this,ZI,null)}this.A==2&&fL(this,a.currentTimeSeconds)}}; var fL=function(a,b){if(!(a.l<0)){var c=Math.ceil(a.l-b);b=c.toString();c>=60&&(b=FC(c));a=a.j;b={nh:b,rc:a.F};a.G?$e(a.D,""+(b||{}).nh):$e(a.D,oK(b))}};hL.prototype.B=function(){var a=this.j;a.j&&a.j.focus()};var lL=function(a,b,c,d){d=d===void 0?!1:d;KK.call(this,b);var e=this;this.l=a;M(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&&(MK(e,$I,e.j),iL(e))}),this.j.Ha>=0?jL(this):kL(this),(this.j.Ha>=0||this.j.Eb>=0)&&LK(this,hJ,this.C,this)):jL(this)};q(lL,KK); lL.prototype.C=function(a){if(a){var b=this.j.Ha>=0?this.j.Ha:0,c=this.j.Eb>=0?this.j.Eb+b:-1;c>=0&&a.currentTimeSeconds*1E3>=c?(jL(this),mL(this)):a.currentTimeSeconds*1E3>=b&&(kL(this),c<0&&mL(this))}}; var mL=function(a){a.o&&LH(a.o.g,hJ.toString(),a.C,a)},jL=function(a){a.l.B&&a.l.ca()},kL=function(a){a.l.B||(a.l.show(),MK(a,aJ,a.j))},iL=function(a){if(a.B&&!a.A){var b=Nn(a.l.element.parentElement),c=nE(a.j,b);if(!c){c=oE(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&&(nL(a.l,c),(c=a.l.A)&&a.g.listen(c,"click",function(e){MK(a,NI,a.j);e.stopPropagation();a.A&&(e=a.l,e.j&&(e.g.pa(e.j,"load",e.D,!0,e),e.g.pa(e.j,"error",e.D,!0,e),e.g.pa(e.j,"focusout"),Xe(e.j), e.element.focus(),e.j=null,e.A=null),a.A=!1)}));a.A=!0}};lL.prototype.P=function(){mL(this);KK.prototype.P.call(this)};var oL=function(){return Lz('
')};var pL=function(a){a=a||{};a=a.ta;return Lz('
'+Oz(a)+"
")},qL=function(a){var b=a.Dk,c=a.adPosition;a=a.totalAds;return a>=2&&c>=1?"Ad "+c+" of "+a+" "+b:"Ad "+b};var rL=function(){return Lz('
')};var sL=function(a){a=a||{};a=a.mq;return Lz('
'+Oz(a)+"
")};var tL=function(a){a=a.gn;return Lz('
'+(a?'
':"")+'
')};var uL=function(){var a=Lz,b='
';var c=Lz(''); return a(b+c+"
")};var vL=function(a){return Lz('
")};var wL=function(){return Lz('
')},xL=function(a){var b=a.La,c=a.height,d=a.width;a=a.alt;return Lz('
'+P(a)+'
')};var yL=function(a){var b=a.height,c=a.width;a=a.attribution;return Lz('
'+Oz(a)+"
")},zL=function(a){var b=a.height,c=a.width;a=a.attribution;return Lz('
'+Oz(a)+"
")},AL=function(a){var b=a.height,c=a.width,d=a.La;a=a.attribution;return Lz('
'+Oz(a)+"
")},BL=function(a){var b=a.title,c=a.text,d=a.dir,e=a.attribution,f=a.image,g=a.duration;a=a.Uc;return Lz('
'+(Qz(f)?'
'+(Qz(g)?'
'+Oz(g)+"
":"")+"
":"")+'
'+Oz(a)+"
":"")+'
'+Oz(e)+ "
")};var CL=function(){var a=Lz,b='
';var c=Lz('');b=b+c+'
';c=Lz(''); return a(b+c+"
")};var DL=function(){var a=Lz,b='
';var c=Lz('');return a(b+c+"
")};var EL=function(){var a='
'; return Lz(a)};var FL=function(){N.call(this);this.element=null;this.g=new IG(this);M(this,this.g)};q(FL,N);var GL=function(a,b){a.element&&b.element&&a.element.appendChild(b.element)};FL.prototype.Ia=function(){return this.element};var HL=function(){FL.call(this)};q(HL,FL);var IL=function(a,b){a.element&&b.insertBefore(a.element,b.childNodes[0]||null)};var JL=function(){FL.call(this);var a=this;this.element=oA(oL);Qn(this.element,!1);this.g.listen(this.element,"click",function(b){b.stopPropagation();a.dispatchEvent("click")})};q(JL,FL);JL.prototype.l=function(a){$e(this.element,a)};JL.prototype.show=function(){Qn(this.element,!0)};var KL=function(a){a=a===void 0?!1:a;FL.call(this);this.element=oA(pL,{ta:qL({Dk:"",adPosition:0,totalAds:0})});this.l=Ke("videoAdUiAttribution",this.element);this.o=a;this.g.listen(this.element,"click",function(b){b.stopPropagation()});Qn(this.element,!1)};q(KL,FL);KL.prototype.show=function(){Qn(this.element,!0)};KL.prototype.j=function(a,b,c,d){this.l&&(a=FC(b-a),c=qL({Dk:": ("+a+")",adPosition:c||0,totalAds:d||0}),this.o&&(c=a),$e(this.l,c.toString()));this.show()};var LL=function(){FL.call(this);var a=this;this.element=oA(rL);Qn(this.element,!1);this.g.listen(this.element,"click",function(b){b.stopPropagation();a.dispatchEvent("click")})};q(LL,FL);LL.prototype.l=function(a){$e(this.element,"by "+a)};LL.prototype.show=function(){Qn(this.element,!0)};var ML=function(){FL.call(this);this.element=oA(sL);this.l=Ke("videoAdUiAutoClose",this.element);Qn(this.element,!1)};q(ML,FL);ML.prototype.j=function(a,b){this.l&&(a=a={Sn:FC(b-a)},a="Ad will close in "+Oz(a.Sn),a=Lz(a),$e(this.l,a.toString()));Qn(this.element,!0)};var NL=function(a,b,c,d){d=d===void 0?!1:d;FL.call(this);var e=this;this.D=c;this.A=d;this.element=oA(tL,{gn: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=Ke("videoAdUiTopBar",this.element);this.B=Ke("videoAdUiTopBarTextContainer",this.element);this.l=Ke("videoAdUiClickElement",this.element);b&&this.j.classList.add(b);this.o=Ke("videoAdUiBottomBar",this.element);de||yF()||this.g.listen(this.element, "touchmove",function(f){f.preventDefault()});this.g.listen(this.element,"click",function(){e.dispatchEvent("click")});this.g.listen(this.element,"mouseover",function(){e.dispatchEvent("mouseover")});this.g.listen(this.element,"mouseenter",function(){e.dispatchEvent("mouseenter")});this.g.listen(this.element,"mouseleave",function(){e.dispatchEvent("mouseleave")});Qn(this.j,!1)};q(NL,HL); var OL=function(a){var b=(parseInt(En(a.element,"width"),10)||a.element.width)<=400;a=a.element;b?hz(a,"videoAdUi-mobile"):jz(a,"videoAdUi-mobile")},PL=function(a){a.j&&Qn(a.j,!0)},QL=function(a,b){a.j&&b.element&&a.j.appendChild(b.element)},RL=function(a,b){a.o&&b.element&&a.o.appendChild(b.element)};NL.prototype.Zd=function(a){Cn(this.element,{"pointer-events":a?"auto":"none",cursor:a&&this.D?"pointer":"auto"})}; var SL=function(a,b){b?a.g.listen(a.element,"mouseover",function(){hz(a.j,"videoAdUiTopBarTransitions")}):jz(a.j,"videoAdUiTopBarTransitions")},TL=function(a,b){a=a.j;b?hz(a,"videoAdUiTopBarCollapsed"):jz(a,"videoAdUiTopBarCollapsed")},UL=function(a,b){a=a.o;b?hz(a,"videoAdUiBottomBarCollapsed"):jz(a,"videoAdUiBottomBarCollapsed")},VL=function(a,b){a.B&&b.element&&a.B.appendChild(b.element)},WL=function(a,b){a.l&&b.element&&a.l.appendChild(b.element)}; NL.prototype.ca=function(){Qn(this.j,!1);Qn(this.o,!1);Qn(this.l,!1)};var XL=function(){FL.call(this);var a=this;this.element=oA(uL);this.j=Ke("closeCountdownText",this.element);this.l=Ke("closeButtonIcon",this.element);this.g.listen(this.element,"click",function(b){b.stopPropagation();a.dispatchEvent("click")})};q(XL,FL);var YL=function(a){FL.call(this);this.element=oA(vL,{backgroundImage:"data:image/png;base64,"+a.sf})};q(YL,FL);YL.prototype.show=function(){Qn(this.element,!0)};YL.prototype.ca=function(){Qn(this.element,!1)};var ZL=function(a){FL.call(this);var b=this;this.A=this.j=null;this.B=!1;this.element=oA(wL);switch(a){case "author":hz(this.element,"authorIcon");break;case "vast":hz(this.element,"vastIcon");break;case "freeplayWta":hz(this.element,"vastIcon"),hz(this.element,"freeplayAtv")}this.ca();this.o=null;this.g.listen(this.element,"click",function(c){c.stopPropagation();b.dispatchEvent("click")})};q(ZL,HL); ZL.prototype.l=function(a){this.o||(this.o=Te(document,"IMG"));this.o.setAttribute("src",a);this.o.setAttribute("onerror",'this.style.display="none"');this.element.appendChild(this.o)};var $L=function(a,b,c){Cn(a.element,{height:b+"px",width:c+"px"});a.o&&(a.o.setAttribute("width",c+"px"),a.o.setAttribute("height",b+"px"))},aM=function(a,b,c){Cn(a.element,{position:"absolute",overflow:"hidden",left:b,bottom:c})};ZL.prototype.show=function(){Qn(this.element,!0);this.B=!0}; ZL.prototype.ca=function(){Qn(this.element,!1);this.B=!1};var nL=function(a,b){a.j||(a.j=oA(xL,{La:b.l,width:b.j,height:b.g,alt:b.gb}),Qn(a.j,!1),a.element.appendChild(a.j),a.A=(new XL).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()}))};ZL.prototype.D=function(){Qn(this.j,!0);this.A.focus()};var bM=function(a){a=a===void 0?null:a;FL.call(this);var b=this;this.element=oA($J,{ri:a||"Learn More "});this.j=Ke("learnMoreButton",this.element);this.g.listen(this.j,"click",function(c){c.stopPropagation();b.dispatchEvent("click")})};q(bM,FL);bM.prototype.l=function(a){$e(this.j,a)};bM.prototype.show=function(){Qn(this.element,!0)};var cM=function(){FL.call(this);var a=this;this.element=oA(ZJ,{ri:"Learn More "});this.g.listen(this.element,"click",function(b){b.stopPropagation();a.dispatchEvent("click")})};q(cM,FL);var eM=function(a,b,c){L.call(this);this.j=a;this.A=b;this.B=c;this.o=0;this.g={};this.l=new IG(this);M(this,this.l);dM(this)};q(eM,L);var dM=function(a){a.B.forEach(function(b){this.l.listen(b.element,"mousedown",this.D,!0);this.l.listen(b.element,"mouseup",Sa(this.G,b),!0)},a);a.l.listen(a.A,"mouseenter",a.F)},fM=function(a,b){Gb(a.g,function(c,d){b=Cf(If(b,d),d,c)});return b};eM.prototype.D=function(){this.C=Date.now()}; eM.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.Wf);(this.j&8)==8&&(a=In(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=az())&&(this.g.mb=b);c.tagName.toUpperCase()=="A"&&(b=fM(this,c.href),b=rd(b),b!==void 0&&(c.href=b))};eM.prototype.F=function(){this.o++};var gM=function(a,b,c){FL.call(this);var d=this,e=[];switch(b){case "embedded":this.element=oA(yL,a);Ke("embeddedOverlayIframe",this.element).setAttribute("src",a.La||"");break;case "html":this.element=oA(zL,a);vd(Ke("overlayInnerElement",this.element),Be(a.La||""));break;case "image":this.element=oA(AL,a);break;case "text":this.element=oA(BL,a);a=Ke("textImageContainer",this.element);a!=null&&e.push({element:a,Wf:9});a=Ke("overlayTextTitle",this.element);a!=null&&e.push({element:a,Wf:0});a=Ke("overlayTextUrl", this.element);a!=null&&e.push({element:a,Wf:1});break;default:this.element=Se("DIV","overlayContainer")}e.push({element:this.element,Wf:2});this.j=new eM(c,this.element,e);this.g.listen(this.element,"click",function(f){d.dispatchEvent(f)});this.g.listen(this.element,"mouseover",function(){d.dispatchEvent("mouseover")});this.g.listen(this.element,"mouseout",function(){d.dispatchEvent("mouseout")})};q(gM,FL);m=gM.prototype;m.Zd=function(a){var b=this.element;a?hz(b,"clickable"):jz(b,"clickable")}; m.sk=function(a){rK(this.element,"opacity "+a/1E3+"s")};m.show=function(){Qn(this.element,!0)};m.ca=function(){Qn(this.element,!1)};m.hj=function(){Pn(this.element,1)};m.Hj=function(){Pn(this.element,.3)};m.Ia=function(){return this.element};var hM=function(a){return Ke("overlayTextAttribution",a.element)};var iM=function(){FL.call(this);var a=this;this.element=oA(CL);this.l=Ke("videoAdUiPlayIcon",this.element);this.j=Ke("videoAdUiPauseIcon",this.element);this.g.listen(this.element,"click",function(b){b.stopPropagation();a.dispatchEvent("click")});ZK(this,!1)};q(iM,FL);var ZK=function(a,b){Qn(a.l,b);Qn(a.j,!b)};iM.prototype.show=function(){this.element&&hz(this.element,"fade-in")};iM.prototype.ca=function(){this.element&&jz(this.element,"fade-in")};var jM=function(){FL.call(this);var a=this;this.element=oA(DL);this.j=!0;this.g.listen(this.element,"click",function(b){a.j&&(b.stopPropagation(),a.dispatchEvent("click"))})};q(jM,FL);jM.prototype.show=function(){Qn(this.element,!0);this.j=!0};jM.prototype.ca=function(){Qn(this.element,!1);this.j=!1};var kM=function(a){var b=a.rf===void 0?!1:a.rf;var c=a.Yg===void 0?!1:a.Yg;var d=a.hh===void 0?.5:a.hh;a=a.rc===void 0?!1:a.rc;FL.call(this);var e=this;this.F=a;this.element=oA(nK,{ae:uc(a?"Skip ":"Skip Ad ")});b&&hz(this.element,"noTextSkipButton");c&&hz(this.element,"raisedSkipButton");this.G=b;this.B=d;this.l=Ke("videoAdUiPreSkipContainer",this.element);this.A=Ke("videoAdUiPreSkipButton",this.element);this.D=Ke("videoAdUiPreSkipText",this.element);this.o=Ke("videoAdUiSkipContainer",this.element); this.j=Ke("videoAdUiSkipButton",this.element);Qn(this.l,!1);this.g.listen(this.j,"click",function(f){f.stopPropagation();e.dispatchEvent("click")});this.g.listen(this.A,"click",function(f){f.stopPropagation()});$d&&zK==="4.4.4"&&(this.A.style.backgroundColor="black",this.j.style.backgroundColor="black")};q(kM,FL);kM.prototype.ca=function(){Qn(this.A,!1);Qn(this.j,!1)};var gL=function(a){Qn(a.o,!1);Pn(a.o,0)};var lM=function(a){a=a===void 0?!1:a;FL.call(this);var b=this;this.element=oA(EL);a&&this.element.classList.add("smallWtaIcon");this.g.listen(this.element,"click",function(c){c.stopPropagation();b.dispatchEvent("click")})};q(lM,FL);function mM(a,b){if(typeof ReportingObserver==="undefined")return null;var c=function(e){e=v(e);for(var f=e.next();!f.done;f=e.next())f=f.value,a(f)&&b(f)},d=new ReportingObserver(c,{buffered:!0});B.addEventListener("pagehide",function(){c(d.takeRecords(),d);d.disconnect()});d.observe();return d}function nM(a){return mM(function(b){return b.body&&b.body.id==="HeavyAdIntervention"},a)} function oM(a){return nM(function(b){b=b.body.message;b.includes("CPU")?a("heavy_ad_intervention_cpu"):b.includes("network")&&a("heavy_ad_intervention_network")})}function pM(a){a=a===void 0?null:a;mM(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 qM=[new he(200,200),new he(250,250),new he(300,250),new he(336,280),new he(450,50),new he(468,60),new he(480,70),new he(728,90)];function rM(a,b,c,d){a&&(c=Math.min(c,90));var e=[];qM.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 sM(a){var b=HC(Oy(new O(a.adTagUrl),"overlay"));return rM(b,a.nonLinearAdSlotWidth||0,a.nonLinearAdSlotHeight||0,a.forceNonLinearFullSlot||!1)}function tM(a){return a==="flash"||a==="image"||a==="staticimage"}function uM(a){var b=[];a.forEach(function(c){c==="video"?b.push("standardvideo"):c!="skippablevideo"&&b.push(c)});return b}function vM(a){a=mD(a,"ad_type");return D(a)?["video"]:a.split("_")};var wM=function(){};wM.prototype.g=function(){};var xM=function(a,b){a=a===void 0?new Map:a;b=b===void 0?new wM:b;aH.call(this,a);this.j=b};q(xM,aH); xM.prototype.g=function(a){if(!a.adTagUrl)return null;var b=new O(a.adTagUrl),c=new Map;c.set("sdkv","h.0.0.0");var d=new O(a.adTagUrl),e=c.set,f=mD(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",mD(d,"client"));c.set("min_ad_duration",Number(mD(d,"min_ad_duration",(0).toString())).toString());e=Number(mD(d,"max_ad_duration",(1E5).toString()));e>0&&c.set("max_ad_duration",Math.round(1.1*e).toString());e=Number(mD(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,l=a.nonLinearAdSlotHeight||0;f=new O(a.adTagUrl);g=Math.max(g,k)+"x"+Math.max(h,l);f=mD(f,"sz");e.call(c,"sz",D(f)||g!=="0x0"?g:f);e=c.set;f=mD(d,"channel");f=Array.from(new Set(f.split(/[+, ]/))).slice(0,30).join("+");e.call(c,"channel",f);c.set("h_ch",mD(d,"h_ch").split(/[+, ]/).join("+"));e=c.set;f=mD(d,"adsafe");e.call(c,"adsafe", Pb(PC,f)?f:"high");e=c.set;d=mD(d,"videoad_start_delay");e.call(c,"videoad_start_delay",D(d)?"1":d);c.set("hl",wF());c.set("vid_d",a.contentDuration||"");c.set("ca_type","image");c.set("unviewed_position_start","1");c.set("output","xml_vast4");bH(c);d=Map;e=[];f=e.concat;g={};g.u_tz=-(new Date).getTimezoneOffset();var p=p===void 0?C:p;try{var n=p.history.length}catch(G){n=0}g.u_his=n;var r;g.u_h=(r=C.screen)==null?void 0:r.height;var u;g.u_w=(u=C.screen)==null?void 0:u.width;var t;g.u_ah=(t=C.screen)== null?void 0:t.availHeight;var x;g.u_aw=(x=C.screen)==null?void 0:x.availWidth;var A;g.u_cd=(A=C.screen)==null?void 0:A.colorDepth;n=new Map;for(var F in g)n.set(F,g[F]);a=new d(f.call(e,w(n),w(kD(a)),w(c)));cH(this,a);bD(b,a);yM(b);dD(b);this.j.g(b);return b.toString()};var yM=function(a){a.g.forEach(function(b,c){QC.has(c)&&!D(b)||a.g.remove(c)})};var zM=function(a,b){a=a===void 0?new Map:a;b=b===void 0?new wM:b;aH.call(this,a);this.j=b};q(zM,aH);zM.prototype.g=function(a){if(a.adTagUrl==null)return null;var b=new O(a.adTagUrl),c=new Map;c.set("sdkv","h.0.0.0");bH(c);c.set("nel",wE()?"1":"0");a=new Map([].concat(w(kD(a)),w(c)));cH(this,a);bD(b,a);cD(b,a);dD(b);this.j.g(b);return b.toString()};var AM=function(a,b){a=a===void 0?new Map:a;b=b===void 0?new wM:b;aH.call(this,a);this.j=b};q(AM,aH); AM.prototype.g=function(a){if(!a.adTagUrl)return null;var b=new WC(a.adTagUrl),c=new Map;bH(c);c.set("dc_sdkv","h.0.0.0");c.set("dc_sdki",dH().toString(16));c.set("dc_eid",hB());c.set("dcmt","text/xml");c.set("nel",wE()?"1":"0");var d=YC(b,"dc_output")||[];(d.includes("vast")||d.includes("xml_vast2"))&&c.set("dc_output","xml_vast3");a=new Map([].concat(w(kD(a)),w(c)));cH(this,a);c=v(a);for(d=c.next();!d.done;d=c.next()){var e=v(d.value);d=e.next().value;e.next();e=BM(d);d=a.get(d);e!=="dc_rfl"&&(d= encodeURIComponent(d));D(e)||D(d)||ZC(b,e,[d])}dD(b);this.j.g(b);return b.toString()};var BM=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 CM=function(a,b){a=a===void 0?new Map:a;b=b===void 0?new wM:b;aH.call(this,a);this.j=b};q(CM,aH);CM.prototype.g=function(a){if(!a.adTagUrl)return null;var b=new O(a.adTagUrl),c=new Map;bH(c);c.set("sdkv","h.0.0.0");c.set("sdki",dH().toString(16));c.set("output","xml_vast4");a=new Map([].concat(w(kD(a)),w(c)));cH(this,a);bD(b,a);dD(b);this.j.g(b);return b.toString()};var DM=function(a,b){a=a===void 0?new Map:a;b=b===void 0?new wM:b;aH.call(this,a);this.j=b};q(DM,aH); DM.prototype.g=function(a){if(!a.adTagUrl)return null;var b=new O(a.adTagUrl),c=new Map;c.set("sdkv","h.0.0.0");bH(c);c.set("hl",wF());c.set("afvsz",sM(a));c.set("unviewed_position_start","1");var d=(new O(a.adTagUrl)).g,e=String(d.get("output")||"");d=String(d.get("ad_rule")||"");d=HC(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(w(kD(a)),w(c)));cH(this,a);bD(b,a);cD(b,a);b.g.remove("impl");dD(b);this.j.g(b); return b.toString()};var EM={Jo:"SIMID:Creative:clickThru",Uo:"SIMID:Creative:fatalError",Yo:"SIMID:Creative:getMediaState",LOG:"SIMID:Creative:log",Jp:"SIMID:Creative:reportTracking",Kp:"SIMID:Creative:requestChangeAdDuration",Lp:"SIMID:Creative:requestChangeVolume",Mp:"SIMID:Creative:requestExitFullscreen",Np:"SIMID:Creative:requestFullscreen",REQUEST_PAUSE:"SIMID:Creative:requestPause",REQUEST_PLAY:"SIMID:Creative:requestPlay",Pp:"SIMID:Creative:requestResize",Qp:"SIMID:Creative:requestSkip",REQUEST_STOP:"SIMID:Creative:requestStop", Op:"SIMID:Creative:requestNavigation",fp:"SIMID:Creative:handleSkipShown"};function FM(a){return typeof a!="object"?!1:Qh(a.width)&&Qh(a.height)&&Qh(a.x)&&Qh(a.y)};var GM=function(a){a=a===void 0?{}:a;this.ka=a.ka;this.Bh=a.Bh;this.Ch=a.Ch;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.Ai=a.Ai;this.Fe=a.Fe;this.Ge=a.Ge;this.jh=a.jh;this.uri=a.uri;this.Wi=a.Wi;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 HM(a){a=a.trackingUrls;if(!(a instanceof Array))return KB(U(),"sp_s_vrt_ia"),!1;if(a.every(function(b){return typeof b=="string"}))return KB(U(),"sp_s_vrt_s"),!0;KB(U(),"sp_s_vrt_iu");return!1}function IM(a){if(!FM(a.videoDimensions))return KB(U(),"sp_s_vr_ivd"),!1;if(!FM(a.creativeDimensions))return KB(U(),"sp_s_vr_icd"),!1;if(typeof a.fullscreen!="boolean")return KB(U(),"sp_s_vr_ifs"),!1;KB(U(),"sp_s_vr_s");return!0} var JM=function(){},KM=function(a,b){switch(a){case "SIMID:Creative:requestChangeAdDuration":return a=b.duration,isNaN(a)||typeof a!="number"?null:new GM({duration:a});case "SIMID:Creative:reportTracking":return HM(b)?new GM({jh:b.trackingUrls}):null;case "SIMID:Creative:requestResize":return IM(b)?new GM({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 GM({volume:b.volume,muted:b.muted});case "SIMID:Creative:requestNavigation":return typeof b.uri!="string"?null:new GM({uri:b.uri});case "SIMID:Creative:log":return typeof b.message!="string"?null:new GM({message:b.message})}return new GM};var LM=function(a,b,c,d){this.type=a;this.args=d;this.messageId=b;this.g=c};var MM=function(a,b,c){Xs.call(this,a.type);this.resolve=b;this.reject=c;this.args=a.args};q(MM,Xs);function NM(a){if(!a.data)return null;var b={};try{b=JSON.parse(a.data)}catch(c){return null}return typeof b!="object"?null:b}var OM=function(a,b,c,d){d=d===void 0?{}:d;N.call(this);this.o=new Vy;this.G=c;var e,f,g,h;this.g={dg:(e=d.dg)!=null?e:!1,Rh:(f=d.Rh)!=null?f:!1,Sh:(g=d.Sh)!=null?g:!0,Th:(h=d.Th)!=null?h:!1};this.l="";this.K=1;this.A=this.F=window;this.L=b;this.B=new IG(this);M(this,this.B);this.j=new Map;this.D=SC()};q(OM,N); var SM=function(a,b){var c=b.vh;b=b.target;a.A=c;a.F=b;a.B.listen(window,"message",function(d){a:{d=d.Pb;var e=a.A===d.source;if(a.g.Sh){var f=(a.g.dg?new Set([null,"*",d.origin]):new Set(["*",d.origin])).has(a.L);e=a.g.dg?e&&f:e||f}e&&(e=NM(d),e=!(e==null||e.sendingInstanceId==null?0:a.g.Th&&e.sendingInstanceId===a.D));if(e){var g=NM(d);if(g!=null&&(d=g.type,e=g.sessionId,e==a.l||d=="createSession")&&(!a.g.Rh||d!=="createSession"||a.l==null)&&(f=g.args,g=g.messageId,g!=null)){var h=null;try{if(d== "resolve"||d=="reject"){var k=f.messageId;h=k==null?null:new GM({Ge:k,Fe:f.value})}else h=KM(d,f)}catch(l){if(l.cause===1210){k=JSON.stringify({type:"TimingEvent",key:"smd_ss_nfo_init"});a.sendMessage("SIMID:Creative:log",new GM({message:k}));k=JSON.stringify({type:"OneShotParameter",key:"smd_ss_nfo_init_r",value:l.message});a.sendMessage("SIMID:Creative:log",new GM({message:k}));break a}throw l;}if(h)switch(d==="SIMID:Player:init"&&(k=JSON.stringify({type:"TimingEvent",key:"smd_ss_so_init"}),a.sendMessage("SIMID:Creative:log", new GM({message:k}))),k=new LM(d,g,e,h),k.type){case "resolve":case "reject":if(d=k.args.Ge)e=k.args.Fe||{},a.j.has(d)&&(f=a.j.get(d),k.type=="resolve"?f.resolve(e):k.type=="reject"&&f.reject(e),a.j.delete(d));break;case "createSession":a.l=k.g;PM(a,k.messageId);a.o.resolve();break;default:QM(a,k)}else RM(a,g,{errorCode:1211,message:"Invalid message arguments."})}}}})}; OM.prototype.sendMessage=function(a,b){b=b===void 0?new GM:b;var c=this.K++,d={};d.type=a;d.sessionId=this.l;this.g.Th&&(d.sendingInstanceId=this.D);d.messageId=c;d.timestamp=Date.now();if(a=="resolve"||a=="reject"){var e={};b=(e.messageId=b.Ge,e.value=b.Fe,e)}else{e={};switch(a){case "SIMID:Player:init":var f={};f=(f.adParameters=b.ka,f.clickThruUri=b.Bh,f.clickThruUrl=b.Ch,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.Wi,k.skippableState="adHandles",k.navigationSupport=b.Ai,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 Vy,this.j.set(c,a), a.promise):Promise.resolve({})};var QM=function(a,b){a.dispatchEvent(new MM(b,function(c){c=c===void 0?{}:c;PM(a,b.messageId,c)},function(c){c=c===void 0?{}:c;RM(a,b.messageId,c)}))},PM=function(a,b,c){c=c===void 0?{}:c;a.sendMessage("resolve",new GM({Ge:b,Fe:c}))},RM=function(a,b,c){a.sendMessage("reject",new GM({Ge:b,Fe:c}))};function TM(a){return(a=a.Za.find(function(b){return E(b.fa)=="SIMID"&&b.mimeType=="text/html"&&!!b.url&&!D(b.url)}))?a.url:null}function UM(a){return(a=a.Za.find(function(b){return E(b.fa)=="SIMID"&&b.mimeType=="text/html"&&!!b.g&&!D(b.g)}))?a.g:null};var VM="SIMID:Player:adSkipped SIMID:Player:adStopped SIMID:Player:appBackgrounded SIMID:Player:fatalError SIMID:Player:init SIMID:Player:startCreative".split(" "),WM=function(a,b,c){c=c===void 0?!1:c;N.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 O(a),a.o+"://"+a.j);d=e}this.g=new OM(new JM,d,VM,b);M(this,this.g);this.j=null;this.l=0;this.o=!1};q(WM,N); var XM=function(a,b){SM(a.g,{vh:b.vh,target:b.target});Object.values(EM).forEach(function(c){a.g.listen(c,function(d){a.o&&LB("lima_pmh_m_"+c);c==="SIMID:Creative:log"&&d.args.message==="cr"?a.l=0:a.dispatchEvent(d)})})};WM.prototype.log=function(a){return this.g.sendMessage("SIMID:Player:log",new GM({message:a}))}; var YM=function(a){a.o=!1;var b=[];Object.values(EM).forEach(function(c){b.push("lima_pmh_m_"+c)});MB(b)},ZM=function(a){a.j&&(a.l===2?(a.j.resolve(),a.j=null):(a.log("pp"),a.l++,setTimeout(function(){return ZM(a)},2E3)))};var $M=function(a){KB(U(),"lima_csiu");var b="border:0; opacity:1; margin:0; overflow:hidden;padding:0; width:"+((Xn()?"99":"100")+"%; height:100%; position: absolute;display:none"),c=Jd();b=Se("IFRAME",{id:c,name:c,allow:"autoplay",allowFullscreen:!0,allowtransparency:!0,background:"transparent",style:b});a=md(a);b.removeAttribute("srcdoc");if(a instanceof ad)throw new yd("TrustedResourceUrl",2);xd(b,"allow-same-origin allow-scripts allow-forms allow-popups allow-popups-to-escape-sandbox allow-storage-access-by-user-activation".split(" ")); a=rd(a);a!==void 0&&(b.src=a);return b},aN=function(a){KB(U(),"lima_csih");var b="border:0; opacity:1; margin:0; overflow:hidden;padding:0; width:"+((Xn()?"99":"100")+"%; height:100%; position: absolute;display:none"),c=Jd();b=Se("IFRAME",{id:c,name:c,allow:"autoplay",allowFullscreen:!0,allowtransparency:!0,background:"transparent",style:b});b.removeAttribute("src");if(a instanceof sd)throw new yd("SafeHtml",1);xd(b,["allow-scripts","allow-forms","allow-popups","allow-popups-to-escape-sandbox","allow-storage-access-by-user-activation"]); a=td(a);b.srcdoc=ud(a);return b};var bN={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 cN(a){if(!a)return!1;if(a=dN(a)){if(a.g=="TRUEVIEW"||a.g=="SKIPPABLE")return!0;if(a.g)return!1;KB(U(),"ytu_nf");return a.Gc()}return!1} function eN(a){return a?(a=dN(a))&&a.g=="BUMPER"?!0:!1:!1}function fN(a){return a?(a=dN(a))&&a.g=="NONSKIPPABLE"?!0:!1:!1}function gN(a){return a?(a=dN(a))?a.j.id:null:null}function hN(a){return(a=dN(a))?a.j:null}function iN(a){return(a=dN(a))?a.l:null}function jN(a){return(a=(a=dN(a))?a.g:null)?bN[a]||null:null}function dN(a){return a.ga.get(hE)};var kN=function(a){this.duration=a};var lN=function(a,b,c){this.sf=a;this.j=b;this.g=c};var mN=function(a,b,c){this.g=a;this.j=b;this.l=c};var nN=function(a){this.g=a};var oN=function(a){this.Da=a};var pN=function(a){var b=a.ve===void 0?null:a.ve;var c=a.we===void 0?null:a.we;var d=a.xe===void 0?null:a.xe;var e=a.Ja===void 0?null:a.Ja;var f=a.imageWidth===void 0?0:a.imageWidth;a=a.imageHeight===void 0?0:a.imageHeight;this.ve=b;this.we=c;this.xe=d;this.Ja=e;this.imageWidth=f;this.imageHeight=a};var qN=function(a){this.g=a};var rN=function(){}; rN.prototype.g=function(a){if(!mH(a,"activeview"))return null;var b=[],c=jH(a,"trackingConfiguration");c=v(c);for(var d=c.next();!d.done;d=c.next()){d=jH(d.value,"trackingEventConfiguration");d=v(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=jH(f,"trackingEventCriteria");f=v(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 ub(g,e,h):null}e&&b.push(e)}}c=qH(a);e=kH(a,"activeViewMetadata");d="";e&&(d=V(e)||"");a=kH(a,"activeViewFlags");e="";a&&(e=V(a)||"");return new fF(c,b,d,e)};var sN=function(){};sN.prototype.g=function(a){if(!mH(a,"wrapper_info"))return null;var b=0;(a=kH(a,"Duration"))&&(b=nH(V(a)));return b!=null&&b>0?new kN(b):null};var tN=function(){}; tN.prototype.g=function(a){if(!mH(a,"adsense"))return null;for(var b=null,c=null,d=null,e,f=[],g,h=null,k=null,l=null,p=v(Ye(a)),n=p.next();!n.done;n=p.next())switch(n=n.value,n.nodeName.toLowerCase()){case "attributiontext":b=V(n);break;case "attributionurl":c=V(n);break;case "conversionurl":d=V(n);break;case "is_pharma":e=iH(n.getAttribute("bool"));break;case "checkedevents":f=uN(n);break;case "showyoutubeannotations":g=iH(V(n));break;case "ui":h=null;n=kH(n,"config");if(n!=null){var r=kH(n,"context"); if(r!=null&&r.getAttribute("data").toLowerCase()=="default"&&(h=new hF,r=kH(n,"params"))){n=h;r=v(Ye(r));for(var u=r.next();!u.done;u=r.next())switch(u=u.value,u.nodeName.toLowerCase()){case "audio_muted_on_start":n.Ed=iH(u.getAttribute("bool"))||!1;break;case "attribution_text":n.ta=u.getAttribute("data");break;case "attribution_url":n.ub=u.getAttribute("data");break;case "signals":n.wc=hH(u,"int")||0}}}break;case "visibleurl":k=V(n);break;case "whythisad":a:{l=v(Ye(n));for(n=l.next();!n.done;n= l.next())if(n=n.value,n.nodeName.toLowerCase()=="wtaclickthroughurl"){l=V(n);break a}l=null}l&&T(U(),"wta","1")}return new iF(qH(a),{ta:b,ub:c,ke:d,ni:e,ze:f,Je:g,uiConfig:h,Uc:k,Yb:l})};var uN=function(a){var b=[];Array.from(Ye(a)).forEach(function(c){(c=c.getAttribute("id"))&&b.push(c.toLowerCase())});return b};var vN=function(){};vN.prototype.g=function(a){if(!mH(a,"AdVerifications"))return null;var b=[];a=jH(a,"AdVerifications");a=v(a);for(var c=a.next();!c.done;c=a.next())b.push.apply(b,w(oH(c.value)));return new qG(b)};var wN=function(){};wN.prototype.g=function(a){if(!mH(a,"adx"))return null;var b;if(a=kH(a,"skippability")){var c=V(a);if(c=="skippable"){var d=!0;(a=a.getAttribute("offset"))&&!D(a)&&(b=nH(a))}else c=="nonskippable"&&(d=!1)}return d!=null?new HH(d,b):null};var xN=function(){};xN.prototype.g=function(a){if(!mH(a,"companion_about_this_ad"))return null;a=jH(a,"Icon");if(a.length<1)return null;a=tH(a[0]);return new jF(a)};var yN=function(){};yN.prototype.g=function(a){a=qH(a);return a.length>0?new eF(a):null};var zN=function(){};zN.prototype.g=function(a){if(!mH(a,"dart"))return null;a=qH(a);var b=a.find(function(c){return c.eventType=="skip"})?"Generic":"Unavailable";return new IH(a,b)};var AN=function(){};AN.prototype.g=function(a){if(!mH(a,"dfp"))return null;var b="Unavailable",c=kH(a,"skippableadtype");c&&V(c)=="Generic"&&(b="Generic");return new IH(qH(a),b)};var BN=function(){};BN.prototype.g=function(a){if(!mH(a,"watermark"))return null;var b=kH(a,"WatermarkData");if(!b)return null;a=hH(b,"max_width");var c=hH(b,"max_height");b=b?V(b):null;return!b||b===""||a==null||isNaN(a)||c==null||isNaN(c)?null:new lN(b,a,c)};var CN=function(){};CN.prototype.g=function(a){if(!mH(a,"eoid_cookie"))return null;a=v(Ye(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=hH(c,"expires"),e=c.getAttribute("path"),f=void 0;c=(f=c.getAttribute("value"))!=null?f:"";if(b&&d!=null&&e)return new NF(c,d,e,b)}}return null};var DN=function(){};DN.prototype.g=function(a){if(!mH(a,"esp"))return null;var b=[];a=v(Ye(a));for(var c=a.next();!c.done;c=a.next()){var d=c.value;d.nodeName=="EspLibrary"&&(c=kH(d,"LibraryName"))&&(c=V(c))&&(d=(d=kH(d,"LibraryUrl"))?V(d):null,b.push({om:c,Aq:d}))}return new OF(b)};var EN=function(a){this.M=H(a)};q(EN,K);EN.prototype.getWidth=function(){return Wj(this,9)};EN.prototype.getHeight=function(){return Wj(this,10)};var FN=wm(EN);var GN=function(){};GN.prototype.g=function(a){if(!mH(a,"privacy_sandbox"))return null;a=kH(a,"TurtledoveConfig");if(!a)return null;a=V(a);if(!a)return null;a=FN(Fd(a).replaceAll("\\\\","\\"));return new PF(a)};var HN=function(){};HN.prototype.g=function(a){var b=mH(a,"gfp_cookie"),c=mH(a,"gfp_cookie_v2");if(!b&&!c)return null;a=v(Ye(a));for(b=a.next();!b.done;b=a.next()){var d=b.value;if(d.nodeName=="Cookie"){b=d.getAttribute("domain");var e=hH(d,"expires"),f=d.getAttribute("path"),g=void 0;d=(g=d.getAttribute("value"))!=null?g:"";if(b&&e!=null&&f)return new RF(d,e,f,b,c)}}return null};var IN=function(){}; IN.prototype.g=function(a){if(!mH(a,"GoogleHostedMedia"))return null;T(U(),"hghme","1");var b=[],c=[],d=[],e=[],f,g=kH(a,"clientplaybacknonce");g&&(f=V(g));a=v(Ye(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=v(Ye(h));for(var k=h.next();!k.done;k=h.next()){k=k.value;var l=V(k),p=k.getAttribute("delivery"),n= hH(k,"itag"),r=void 0,u=(r=k.getAttribute("mimeType"))==null?void 0:r.toLowerCase();r=iH(k.getAttribute("mseCompatible"));var t=hH(k,"contentLength"),x=null,A=null,F=null,G=null,S=null,fa=null;if(g=="video"||g=="muxed")x=k.getAttribute("videoCodec"),A=hH(k,"videoBitrate"),S=hH(k,"width"),fa=hH(k,"height");if(g=="audio"||g=="muxed")F=k.getAttribute("audioCodec"),G=hH(k,"audioBitrate");if(l!=null&&g!=null)switch(k=new jG(l,g,{wb:p,Ga:n,mimeType:u,Ea:x,Oa:F,Xi:A,xh:G,Ba:r,width:S,height:fa,bd:t}),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 kG(f?f:"None",b,c,d,e)};var JN=function(){};JN.prototype.g=function(a){if(!mH(a,"gpid_wta"))return null;a=v(Ye(a));for(var b=a.next();!b.done;b=a.next())if(b=b.value,b.nodeName=="AttributionData"&&(b=V(b)))return new mG(b);return null};var KN=Object.keys(GF),LN={TYPE_ACTION_ENDCAP:0,TYPE_COLLAPSE_ENDCAP:1,TYPE_DISMISS_ENDCAP:2,TYPE_IMPRESSION_ENDCAP:3},MN=new Map([[0,"video_card_endcap_action"],[1,"video_card_endcap_collapse"],[2,"video_card_endcap_dismiss"],[3,"video_card_endcap_impression"]]),NN=function(){}; NN.prototype.g=function(a){if(!mH(a,"InfoCards"))return null;var b=[];a=jH(a,"card");a=v(a);for(var c=a.next(),d={};!c.done;d={Ug:void 0},c=a.next()){var e=c.value;c=e.getAttribute("type");if(KN.includes(c)){var f=hH(e,"priority"),g=ON(e),h=jH(e,"action").map(function(t){return new FF({target:t.getAttribute("target"),title:t.getAttribute("title"),type:EF[t.getAttribute("type")],Sg:t.getAttribute("package_id"),gg:t.getAttribute("fallback_url")})});d.Ug=kH(e,"placement");var k=null;d.Ug&&(k=function(t){return function(x){return iH(t.Ug.getAttribute(x))|| !1}}(d),k=new HF({eh:k("show_in_cta"),fh:k("show_in_endcap"),af:hH(d.Ug,"endcap_duration_ms")}));d=kH(e,"website_card");e=null;if(d){e=null;var l=kH(d,"image");l&&(l=kH(l,"url"))&&(e=V(l));l=kH(d,"extension_data");var p=null;if(l){p=jH(l,"sitelink_extensions");l=[];p=v(p);for(var n=p.next();!n.done;n=p.next()){n=n.value;var r=kH(n,"link_action"),u=null;r&&((u=r.getAttribute("target"))||(u=r.getAttribute("link_url")),u=new FF({target:u,title:r.getAttribute("title"),type:1,Sg:null,gg:null}));l.push(new IF({si:u, Oh:n.getAttribute("description_line_1"),Ph:n.getAttribute("description_line_2")}))}p=new JF({Si:l})}e=new KF({description:d.getAttribute("description"),Sb:d.getAttribute("headline"),Ja:e,Yh:p})}b.push(new LF({type:GF[c],priority:isNaN(f)||f==void 0?-1:f,X:g,actions:h,ud:k,Vc:e}))}}return new MF({Fd:b})}; var ON=function(a){var b=[];a=jH(a,"event");a=v(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=c.getAttribute("type");d=MN.get(LN[d]);c=c.getAttribute("base_url");d&&c&&b.push(new UA(d,c))}return b};var PN=function(){};PN.prototype.g=function(a){if(!mH(a,"inred_info"))return null;a=v(Ye(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 mN(c,d,e):null};var QN=function(){};QN.prototype.g=function(a){if(!mH(a,"metrics"))return null;a=v(Ye(a));for(var b=a.next();!b.done;b=a.next())switch(b=b.value,b.nodeName){case "AdEventId":var c=df(b);break;case "FeEventId":var d=df(b)}return new oG(c,d)};var RN=function(){};RN.prototype.g=function(a){if(!mH(a,"non_linear_about_this_ad"))return null;a=jH(a,"Icon");if(a.length<1)return null;a=tH(a[0]);return new nN(a)};var SN=function(){};SN.prototype.g=function(a){if(!mH(a,"pod"))return null;a=hH(a,"sequence");a==null&&(a=-1);return new oN(a)};var TN=function(){};TN.prototype.g=function(a){return mH(a,"programmatic")?(a=kH(a,"DealId"))&&(a=V(a))&&!D(a)?new rG(a):null:null};var UN=function(){};UN.prototype.g=function(a){if(!mH(a,"sodar"))return null;var b=null;a=v(Ye(a));for(var c=a.next();!c.done;c=a.next())switch(c=c.value,c.nodeName){case "Siub":var d=V(c);break;case "Scs":b=V(c)||null;break;case "Bgub":var e=V(c);break;case "Bgp":var f=V(c)}return d&&b&&e&&f?new sG(d,e,f,b):null};var VN=function(){};VN.prototype.g=function(a){if(!mH(a,"textad"))return null;var b={};a=v(Ye(a));for(var c=a.next();!c.done;c=a.next())switch(c=c.value,c.nodeName.toLowerCase()){case "line1":b.ve=V(c);break;case "line2":b.we=V(c);break;case "line3":b.xe=V(c);break;case "imageurl":b.Ja=V(c),b.imageWidth=hH(c,"width"),b.imageHeight=hH(c,"height")}return new pN(b)};var WN=function(){};WN.prototype.g=function(a){if(!mH(a,"uisettings"))return null;var b;(a=kH(a,"uihideable"))&&(b=iH(V(a)));return new tG(b)};var XN=function(){};XN.prototype.g=function(a){if(!mH(a,"waterfall"))return null;a=hH(a,"fallback_index");a==null&&(a=-1);return new qN(a)};var YN=function(){}; YN.prototype.g=function(a){if(!mH(a,"youtubehostedad"))return null;var b=null,c=!1,d=null,e=null,f=!1,g=null,h=null,k=null,l=null,p=null,n=null,r=null,u=kH(a,"youtubevideoid");u&&(b=V(u));if(u=kH(a,"istrueview"))u=iH(V(u)),u!=void 0&&(c=u);(u=kH(a,"videotitle"))&&(d=V(u));(u=kH(a,"videothumbnailurl"))&&(e=V(u));if(u=kH(a,"isvideounlisted"))u=iH(V(u)),u!=void 0&&(f=u);(u=kH(a,"channelid"))&&(g=V(u));(u=kH(a,"channeltitle"))&&(h=V(u));(u=kH(a,"channelthumbnailurl"))&&(k=V(u));(u=kH(a,"channelcustomurl"))&& (l=V(u));(u=kH(a,"format"))&&(p=V(u));(u=kH(a,"youtubeownershipfingerprint"))&&(n=V(u));(a=kH(a,"youtubevisitordata"))&&(r=V(a));return new uG({Tc:b,Gc:c,Ne:d,Hf:e,Sd:f,Yc:g,ie:h,he:k,Uf:l,format:p,Rg:n,mh:r})};var ZN=function(a){var b=a===void 0?{}:a;a=b.id===void 0?null:b.id;var c=b.Wa===void 0?!1:b.Wa;var d=b.di===void 0?!0:b.di;var e=b.Mf===void 0?null:b.Mf;b=b.be===void 0?null:b.be;this.id=a;this.Wa=c;this.di=d;this.Mf=e;this.be=b};var $N=function(a,b){this.eventType=a;this.url=b};var aO=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.X===void 0?[]:d.X;d=d.ga===void 0?[]:d.ga;this.j=a;this.g=b;this.breakId=c;this.breakType=e;this.X=f;this.ga=d};var bO=function(a){this.g=a=a===void 0?[]:a};var cO=function(){};var dO=function(){};var eO=function(){this.g=[]},fO=function(a){var b=new dO;a.g.includes(b)||a.g.push(b)},hO=function(a,b){if(!b)throw Error("VMAP string is empty.");if(!gO(b))throw Error("Response string is not a valid VMAP document.");var c=[];b=v(Ye(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"),l=e.getAttribute("timeOffset"),p=0,n=[];if(l=="start")p=0;else if(l=="end")p=-1;else if(l!= void 0){var r=nH(l);r!=void 0&&(p=r/1E3)}e=v(Ye(e));for(r=e.next();!r.done;r=e.next()){var u=r.value;switch(u.nodeName){case "vmap:AdSource":var t=g=r=void 0,x=u;u=x.getAttribute("id");var A=x.getAttribute("followRedirects")!="false",F=x.getAttribute("allowMultipleAds")=="true";x=v(Ye(x));for(var G=x.next();!G.done;G=x.next())switch(G=G.value,G.nodeName){case "vmap:AdTagURI":t=(t=V(G))?t:void 0;break;case "vmap:VASTAdData":G=v(Ye(G));for(var S=G.next();!S.done;S=G.next())S=S.value,S.nodeName=="VAST"&& (g=S)}if(!t&&!g)throw Error("VMAP ad source contains neither ad tag nor inline VAST data.");if(t&&g)throw Error("VMAP ad source contains both ad tag and inline VAST data");g=new ZN({id:u,Wa:F,di:A,Mf:t,be:(r=g)!=null?r:null});break;case "vmap:Extensions":f=d;r=[];t=v(Ye(u));for(u=t.next();!u.done;u=t.next())if(u=u.value,u.nodeName=="vmap:Extension")for(A=v(f.g),F=A.next();!F.done;F=A.next())F=u.getAttribute("type")!="bumper"?null:new cO,F!=null&&r.push(F);f=r;break;case "vmap:TrackingEvents":for(n= [],r=v(Ye(u)),t=r.next();!t.done;t=r.next())u=t.value,u.nodeName=="vmap:Tracking"&&(t=u.getAttribute("event"),u=V(u),u!=null&&n.push(new $N(t,u)))}}if(!g||l==null||isNaN(p))throw Error("VMAP ad source contains neither ad tag nor inline VAST data.");c.push(new aO(g,p,{breakId:h,breakType:k,X:n,ga:f}))}}return new bO(c)},gO=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 iO=function(a,b){this.l=a;this.o=b;this.j=this.g=null};var jO={"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"},kO={el:"application/dash+xml",Gl:"video/mp4",Il:"video/mpeg",Dl:"application/x-mpegURL",Ml:"video/ogg",Nl:"audio/ogg",Pl:"video/3gpp",Sl:"video/webm",AAC:"audio/aac",MP3:"audio/mpeg",Hl:"audio/mp4"};var lO=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};q(lO,Error);var mO=function(a,b){a.ad||(a.ad=b)};m=lO.prototype;m.getAd=function(){return this.ad};m.getInnerError=function(){return this.g};m.getMessage=function(){return this.errorMessage};m.getErrorCode=function(){return this.errorCode};m.getVastErrorCode=function(){return this.errorCode<1E3?this.errorCode:900};m.getType=function(){return this.type}; m.toString=function(){return"AdError "+this.getErrorCode()+": "+this.getMessage()+(this.getInnerError()!=null?" Caused by: "+this.getInnerError():"")};var nO=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 lO){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 oO=function(){this.g=this.j=this.o=this.A=null;this.l=[]};var pO=function(){};var qO=function(a,b){this.message=a;this.errorCode=b};qO.prototype.getErrorCode=function(){return this.errorCode};qO.prototype.getMessage=function(){return this.message}; var rO=new qO("Unable to request ads from server. Cause: {0}.",1005),sO=new qO("Cannot parse the {0} value for the adslist response: {1}.",900),tO=new qO("Invalid usage of the API. Cause: {0}",900),uO=new qO("The browser prevented playback initiated without user interaction.",1205),vO=new qO("Unable to display one or more required companions.",602),wO=new qO("There was a problem requesting ads from the server.",1005),xO=new qO("Ad tag URI {0} is invalid. It must be properly encoded before being passed.", 1013),yO=new qO("The provided ad type: {0} is not supported.",200),zO=new qO("The provided {0} information: {1} is invalid.",1101),AO=new qO("The response does not contain any valid ads.",1009),BO=new qO("The overlay ad content could not be displayed since creative dimensions do not align with display area.",501),CO=new qO("A Protected Audience API error occurred.",1014),DO=new qO("The ad response was not understood and cannot be parsed.",1010),EO=new qO("An unexpected error occurred and the cause is not known. Refer to the inner error for more info.", 900),FO=new qO("Unable to open URL. The URL appears to be invalid or is not supported by your current browser. URL requested: {0}",1022),GO=new qO("No assets were found in the VAST ad response.",200),HO=new qO("Linear assets were found in the VAST ad response, but none of them matched the video player's capabilities.",403),IO=new qO("Ad request reached a timeout.",301),JO=new qO("VAST response was malformed and could not be parsed.",100),KO=new qO("VAST media file loading reached a timeout of {0} seconds.", 402),LO=new qO("Non linear assets were found in the VAST ad response, but none of them matched the video player's capabilities.",503),MO=new qO("The maximum number of VAST wrappers ({0}) has been reached.",302),NO=new qO("VAST media file duration differs from the VAST response duration by {0} seconds.",202),OO=new qO("No additional VAST wrappers allowed.",300),PO=new qO("No Ads VAST response after one or more Wrappers",303),QO=new qO("No Ads were found in the VAST response or after the Protected Audience auction.", 303),RO=new qO("There was an error playing the video ad.",400),SO=new qO("An unexpected error occurred within the VPAID creative. Refer to the inner error for more info.",901);var TO=ra(["https://imasdk.googleapis.com/js/sdkloader/car.js"]);Ee(TO);function UO(a,b){return a.od!==b.od?a.od-b.od:a.qd!==b.qd?a.qd-b.qd:a.td!==b.td?a.td-b.td:0}function VO(a){a=a.split(".");if(a.length!==3)return null;var b=v(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:{od:c,qd:a,td:b}};var WO=function(a){this.l=this.g=this.j=this.o=this.platformVersion=this.platform=null;a=E(a).split(":");if(a!=null&&a.length>=3){if(tc(a[0],"ios"))this.platform="ios",this.platformVersion=a[0].substr(3);else if(tc(a[0],"android"))this.platform="android",this.platformVersion=a[0].substr(7);else if(tc(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= VO(a[1]);this.g=a[2];if(this.platform==="ios"||this.platform==="tvos")this.l=a.length>3?a[3]:""}};function XO(a){return a?fD(a)?"adsense":iD(a)?"dbm":gD(a)?"dcm":jD(a)?"dv3":hD(a)?"xfp":"thirdparty":""}function YO(a){if(!a)return null;a=(new O(a)).g;return a.get("ms")!=null?E(a.get("ms")):null};var ZO=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.UPTC_UptcString="uptcString",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:"";c=a.gppSid;this.o=typeof c==="string"?c:"";a=a.uptcString;this.A=typeof a==="string"?a:""};var $O=function(a){this.g=a},aP=function(a,b){return Ob(a.g,b)&&(a=a.g[b],typeof a==="boolean")?a:!1},bP=function(a){if(Ob(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 cP=function(a){this.M=H(a)};q(cP,K);var dP=function(){this.T="always";this.ea=4;this.aa=null;this.g=1;this.R=0;this.j=!0;this.locale="en";this.N=!0;this.K=this.C=this.l=!1;this.oa=this.ia="";this.B=null;this.G=this.F=this.o="";this.ba=this.qa=!1;this.J=null;this.W=!0;this.D=SC();this.A={};this.L="";this.Y=0;try{this.J=og()[0]}catch(a){}},eP=function(a){a=E(a);D(a)||(a=a.substring(0,20));return a};m=dP.prototype;m.setCompanionBackfill=function(a){this.T=a};m.getCompanionBackfill=function(){return this.T}; m.setNumRedirects=function(a){this.ea=a};m.getNumRedirects=function(){return this.ea};m.setPpid=function(a){this.aa=a};m.getPpid=function(){return this.aa};m.setVpaidAllowed=function(a){typeof a==="boolean"&&(this.g=a?1:0)};m.setVpaidMode=function(a){this.g=a};m.Im=function(){return this.g};m.setAutoPlayAdBreaks=function(a){this.j=a};m.jn=function(){return this.j};m.tk=function(a){this.l=a};m.Hm=function(){return this.l};m.setLocale=function(a){if(a=IC(a))this.locale=a};m.getLocale=function(){return this.locale}; m.setPlayerType=function(a){this.ia=eP(a)};m.getPlayerType=function(){return this.ia};m.setPlayerVersion=function(a){this.oa=eP(a)};m.getPlayerVersion=function(){return this.oa};var gP=function(){var a=fP;if(a.B==null){var b={},c=(new O(Qe().location.href)).g;if(Uy(c,"tcnfp"))try{b=JSON.parse(c.get("tcnfp"))}catch(d){}a.B=new $O(b)}return a.B};m=dP.prototype;m.Qi=function(){};m.Cf=function(){};m.setDisableCustomPlaybackForIOS10Plus=function(a){this.ba=a};m.getDisableCustomPlaybackForIOS10Plus=function(){return this.ba}; m.isCookiesEnabled=function(){return this.W};m.setCookiesEnabled=function(a){a!=null&&(this.W=a)};m.setSessionId=function(a){this.D=a};m.Vn=function(){};m.Gm=function(){return!0};m.setFeatureFlags=function(a){this.A=a};m.getFeatureFlags=function(){return this.A};var hP=function(a){var b=fP;return b.A.hasOwnProperty(a)&&!!b.A[a]};dP.prototype.getFeatureFlags=dP.prototype.getFeatureFlags;dP.prototype.setFeatureFlags=dP.prototype.setFeatureFlags;dP.prototype.getDisableFlashAds=dP.prototype.Gm; dP.prototype.setDisableFlashAds=dP.prototype.Vn;dP.prototype.setSessionId=dP.prototype.setSessionId;dP.prototype.setCookiesEnabled=dP.prototype.setCookiesEnabled;dP.prototype.isCookiesEnabled=dP.prototype.isCookiesEnabled;dP.prototype.getDisableCustomPlaybackForIOS10Plus=dP.prototype.getDisableCustomPlaybackForIOS10Plus;dP.prototype.setDisableCustomPlaybackForIOS10Plus=dP.prototype.setDisableCustomPlaybackForIOS10Plus;dP.prototype.setStreamCorrelator=dP.prototype.Cf; dP.prototype.setPageCorrelator=dP.prototype.Qi;dP.prototype.getPlayerVersion=dP.prototype.getPlayerVersion;dP.prototype.setPlayerVersion=dP.prototype.setPlayerVersion;dP.prototype.getPlayerType=dP.prototype.getPlayerType;dP.prototype.setPlayerType=dP.prototype.setPlayerType;dP.prototype.getLocale=dP.prototype.getLocale;dP.prototype.setLocale=dP.prototype.setLocale;dP.prototype.getIsVpaidAdapter=dP.prototype.Hm;dP.prototype.setIsVpaidAdapter=dP.prototype.tk;dP.prototype.isAutoPlayAdBreaks=dP.prototype.jn; dP.prototype.setAutoPlayAdBreaks=dP.prototype.setAutoPlayAdBreaks;dP.prototype.getVpaidMode=dP.prototype.Im;dP.prototype.setVpaidMode=dP.prototype.setVpaidMode;dP.prototype.setVpaidAllowed=dP.prototype.setVpaidAllowed;dP.prototype.getPpid=dP.prototype.getPpid;dP.prototype.setPpid=dP.prototype.setPpid;dP.prototype.getNumRedirects=dP.prototype.getNumRedirects;dP.prototype.setNumRedirects=dP.prototype.setNumRedirects;dP.prototype.getCompanionBackfill=dP.prototype.getCompanionBackfill; dP.prototype.setCompanionBackfill=dP.prototype.setCompanionBackfill;var fP=new dP;var iP=function(){var a={};this.g=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.j=function(){}};function jP(a){return ug(iP).g(a.g,a.defaultValue)};var kP=["gdpr_consent","addtl_consent"];function lP(a){var b={};(new O(a)).g.forEach(function(c,d){b[d]=c});return b}function mP(a){return a==="1"||a==="true"}function nP(a){a.forEach(function(b,c,d){b===""&&d.delete(c)})} var oP=function(a,b,c,d){b=b===void 0?{}:b;c=c===void 0?{}:c;this.j=a===void 0?!1:a;this.tg=d===void 0?!1:d;a={};b=v(Object.entries(b));for(d=b.next();!d.done;d=b.next()){var e=v(d.value);d=e.next().value;e=e.next().value;e!=null&&(a[d]=String(e))}this.l=a;this.g=new ZO(c)},pP=function(a,b,c){c=c===void 0?!1:c;return new oP(eD(a),lP(a),b,c)},qP=function(a,b,c){return new oP(!0,a||{},b,c===void 0?!1:c)},xP=function(a){var b=new Map,c=b.set;if(a.j){var d=rP(a,"rdp");d=mP(d)?"1":""}else d="";c.call(b, "rdp",d);b.set("us_privacy",sP(a));c=b.set;d=rP(a,"npa");d=mP(d);c.call(b,"npa",a.j&&d?"1":"");b.set("gdpr",tP(a));b.set("gdpr_consent",uP(a));b.set("addtl_consent",vP(a));b.set("gpp",a.g.gppString);b.set("gpp_sid",a.g.o);b.set("ltd",wP(a)?"1":"");a.j&&b.set("uptc",a.g.A);nP(b);return b},rP=function(a,b){if(a.l.hasOwnProperty(b))return a.l[b]},sP=function(a){var b=rP(a,"us_privacy");return a.g.uspString||b||""},vP=function(a){var b=rP(a,"addtl_consent");return a.g.l||b||""},tP=function(a){var b=rP(a, "gdpr");a=a.g.j;return a==="1"||a==="0"?a:b!==void 0?b:""},uP=function(a){var b=a.g.g;a=rP(a,"gdpr_consent");return b&&b!=="tcunavailable"?b:b==="tcunavailable"?a||b:a||""},zP=function(a){var b;if(!(b=wP(a))){if(yP(a)){b=uP(a);if(b==="tcunavailable")b=null;else{var c;a=yP(a);var d=uy(b);if(d&&b){var e=I(d,sx,1);d=I(d,mx,2)||new mx;var f=Wj(e,9),g=Wj(e,4),h=Wj(e,5),k=Vj(e,10),l=Vj(e,11),p=J(e,16),n=Vj(e,15),r={consents:vy(oj(e,13,Ci,nj()),hy),legitimateInterests:vy(oj(e,14,Ci,nj()),hy)},u={consents:vy(oj(e, 17,Fi,nj())),legitimateInterests:vy(oj(e,18,Fi,nj()))},t=vy(oj(e,12,Ci,nj()),iy),x=Qj(e,lx,19,nj());e={};x=v(x);for(var A=x.next();!A.done;A=x.next()){A=A.value;var F=bk(A,1);e[F]=e[F]||{};var G=oj(A,3,Fi,nj());G=v(G);for(var S=G.next();!S.done;S=G.next())e[F][S.value]=bk(A,2)}b={tcString:b,tcfPolicyVersion:f,gdprApplies:a,cmpId:g,cmpVersion:h,isServiceSpecific:k,useNonStandardStacks:l,publisherCC:p,purposeOneTreatment:n,purpose:r,vendor:u,specialFeatureOptins:t,publisher:{restrictions:e,consents:vy(oj(d, 1,Ci,nj()),hy),legitimateInterests:vy(oj(d,2,Ci,nj()),hy),customPurposes:{consents:vy(oj(d,3,Fi,nj())),legitimateInterests:vy(oj(d,4,Fi,nj()))}}}}else b=null;b=(c=b)!=null?c:null}c=b;if(b=!!c){var fa=fa===void 0?{}:fa;if(zy(c))if(c.gdprApplies===!1)var da=!0;else if(c.tcString==="tcunavailable")da=!fa.idpcApplies;else if((fa.idpcApplies||c.gdprApplies!==void 0||fa.uq)&&(fa.idpcApplies||typeof c.tcString==="string"&&c.tcString.length)){da=da===void 0?"755":da;c:{if(c.publisher&&c.publisher.restrictions&& (fa=c.publisher.restrictions["1"],fa!==void 0)){fa=fa[da===void 0?"755":da];break c}fa=void 0}fa===0?da=!1:c.purpose&&c.vendor?(fa=c.vendor.consents,(da=!(!fa||!fa[da===void 0?"755":da]))&&c.purposeOneTreatment&&c.publisherCC==="CH"?da=!0:da&&(da=c.purpose.consents,da=!(!da||!da["1"]))):da=!0}else da=!0;else da=!1;b=da}da=b}else da=!0;b=!da}return b},wP=function(a){a=rP(a,"ltd");return mP(a)},yP=function(a){var b=tP(a).toLowerCase();b=b==="true"||b==="1";return jP(OA)?b||a.tg:b},AP=function(a){var b= {"native":!1},c=yP(a);if(b.gdpr=c)c=a.g.j,b.gdprCmp=c==="1"||c==="0",c=rP(a,"gdpr")!==void 0,b.gdprUrl=c;c=!!uP(a);if(b.tcStrValid=c){c=a.g.g;var d=!!c;b.tcCmpPresent=d;b.tcCmpAvail=d&&c!=="tcunavailable";a=rP(a,"gdpr_consent");c=!!a;b.tcUrlPresent=c;b.tcUrlAvail=c&&a!=="tcunavailable"}return b};var BP=function(a){this.M=H(a)};q(BP,K);BP.prototype.getVersion=function(){return J(this,2)};var CP=function(a){this.M=H(a)};q(CP,K);var DP=function(a,b){return hk(a,2,b)},EP=function(a,b){return hk(a,3,b)},FP=function(a,b){return hk(a,4,b)},GP=function(a,b){return hk(a,5,b)},HP=function(a,b){return hk(a,9,b)},IP=function(a,b){return Tj(a,10,b)},JP=function(a,b){return mj(a,11,wi(b))},KP=function(a,b){return hk(a,1,b)},LP=function(a,b){return mj(a,7,wi(b))};var MP="platform platformVersion architecture model uaFullVersion bitness fullVersionList wow64".split(" ");function NP(a){var b;return(b=a.google_tag_data)!=null?b:a.google_tag_data={}}function OP(a){var b,c;return typeof((b=a.navigator)==null?void 0:(c=b.userAgentData)==null?void 0:c.getHighEntropyValues)==="function"} function PP(){var a=window;if(!OP(a))return null;var b=NP(a);if(b.uach_promise)return b.uach_promise;a=a.navigator.userAgentData.getHighEntropyValues(MP).then(function(c){b.uach!=null||(b.uach=c);return c});return b.uach_promise=a} function QP(a){var b;return JP(IP(GP(DP(KP(FP(LP(HP(EP(new CP,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 BP;d=hk(d,1,c.brand);return hk(d,2,c.version)}))||[]),a.wow64||!1)}function RP(){var a,b;return(b=(a=PP())==null?void 0:a.then(function(c){return QP(c)}))!=null?b:null};function SP(){var a=a===void 0?null:a;var b="h.3.682.0";a!=null&&(b+="/n."+a);return b} var UP=function(){this.A=1;this.Ib=this.Hb=this.Fb=this.appName=null;this.g=new oP;this.Y=null;this.mg=!1;this.vg=this.re=this.ba=this.F=this.W=null;this.mk=!1;this.secureSignals=null;this.fc=!1;SC();this.deviceId="";this.N=this.kl=this.hc=this.l=null;this.G="";this.ea=-1;this.oa=this.Sj="";this.ik=this.hk=this.ck=this.hl=this.Zj=this.Ec=this.Wj=!1;this.D=null;this.K=!1;this.Rk=this.B=this.o=this.ml=this.ll=this.qa=this.Mk=this.Hk=this.j=this.Bk=null;this.Al=!1;this.Vk=this.Uk=null;this.Wk=!1;this.Ta= 0;this.xg=null;this.Zi=new Map;this.referrer=this.R=null;this.Yd=!1;this.Ua=this.Bl=this.cj=null;this.Va=this.L=this.Ll=this.Kl=this.dj=this.Cl=this.J=!1;this.yd=this.aa=this.Ol=null;this.Lk=this.ej=this.Sc=!1;this.ib=null;this.jl="";this.C=new qw;this.Fa=this.T=null;this.ia=new cw;TP(this)},VP=function(){return Math.floor(Math.random()*4503599627370496)},WP=function(a){var b=a.B,c=a.appName,d=fP,e="h.3.682.0";b!=null?(e+="/n."+b,c!=null&&(e+="/"+c)):d.l&&(e+="/vpaid_adapter");a.hk&&(e+="/ima_eap"); return e},ZP=function(a,b){a=a===void 0?{}:a;b=b===void 0?!1:b;var c=XP(),d=a.env||null,e=null;d&&(e=new WO(d));d=a.videoEnvironment||{};a.quicksilverSignals&&(c.ia=dw(a.quicksilverSignals));var f=a.pvsid||0;f>0&&(c.Ta=f);f=a.settings||{};f.ppid!=null&&(c.R=f.ppid);f=d.contentMediaUrl;f!=null&&(c.Y=f);f=d.customClickTrackingProvided;f!=null&&(c.fc=f);c.mg=a.eoidCookieEnabled||!1;c.W=a.eoidCookieValue||null;f=a.gfpCookieValue;f!=null&&f?c.F=f:c.F=null;c.ba=a.gfpCookieV2Id||null;c.re=a.gfpCookieV2OptOut|| null;c.mk=a.ivtDetectionOnlyStorageAllowed||!1;c.secureSignals=a.espSignals||null;c.T=a.clientBidsProto||null;c.Fa=a.publisherInitiatedExperimentDataProto||null;f=a.topicsEnabled;f!==void 0&&(c.Va=f);f=d.iframeState;f!=null&&(c.ea=f);f=d.isAmp;f!=null&&(c.Wj=f);f=d.topAccessiblePageUrl;f!=null&&(c.j=f);f=d.referrer;f!=null&&(c.referrer=f);f=d.topOrigin;f!=null&&(c.Ol=f);f=d.domLoadTime;f!=null&&(c.hc=f);f=d.downloadBandwidthKbps;f!=null&&(c.kl=f);f=d.sdkImplLoadTime;f!=null&&(c.cj=f);f=d.imaHostingDomain; f!=null&&(c.Sj=f);f=d.imaHostingPageUrl;f!=null&&(c.oa=f);f=d.usesCustomVideoPlayback;f!=null?c.Sc=f:c.Sc=a.usesCustomVideoPlayback||!1;f=d.usesProxyMediaElement;f!=null&&(c.ej=f);f=d.rendersUiNatively;f!=null&&(c.Yd=f);f=a.sdkOwnedRendering;f!=null&&(c.Bl=f);f=d.supportsResizing;f!=null?c.L=f:c.L=a.supportsResizing||!1;c.ck=a.isBrowserCookieEnabled||!1;c.J=a.supportsIconClickFallback||!1;c.dj=YP(a,e);c.Al=a.omidAdSessionsOnStartedOnly||!1;c.Ll=a.supportsOmidJsManagedAppSessions||!1;f=d.usesInlinePlayback; f!=null&&(c.Lk=f);d=d.videoAdKey;d!=null&&(c.ib=d);if(d=a.companionSlots)c.ll=d;if(d=a.network)c.ml=d;c.Cl=a.supportsNativeClickSignals||!1;c.Kl=a.supportsNativeNetworking||!1;(d=a.identifierInfo||null)?(c.Fb=d.appSetId||null,c.Hb=d.appSetIdScope||null,c.deviceId=d.deviceId,c.G=d.idType,c.D=d.isLimitedAdTracking,c.Uk=d.perAppIdentifier,c.Vk=d.perAppIdentifierV2,c.Wk=d.perAppIdentifierV2UserEnabled||!1,c.xg=d.idfv,c.aa=d.trackingAuthorizationStatus||null,c.jl=d.adsIdentityToken):b&&(c.deviceId=a.rdid|| "",c.G=a.idType||"",d=a.isLat)&&(c.D=String(d)==="1");c.qa=a.msParameter||"";if(d=a.marketAppInfo||null)c.Mk=d.appVersion||"",c.Hk=d.packageName||"";e&&(c.appName=e.g,c.l=e.l,d=e.platform,c.j="//mbapp"+encodeURIComponent(String((d==="ios"||d==="tvos"?1:d==="android"?2:0)+"-"+e.g))+".com",c.o=e.platform,c.B=e.platform+"."+e.o,c.Rk=e.j);a.gmaSignals&&(c.vg=a.gmaSignals);a.platformSignals&&(c.Zi=new Map(Object.entries(a.platformSignals)));c.K=b;c.Ec=a.isTv||!1;c.Zj=a.isAndroidTvAdsFramework||!1;c.hl= a.wrappedCompanionsEnabled||!1;c.hk=a.isEapLoader||!1;c.ik=a.isFledgeEligible||!1;c.Ua=a.sqid||null;c.C=new qw;return c},YP=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 UO({od:3,qd:16,td:2},a)<=0;case "ios":return UO({od:3,qd:11,td:1},a)<=0;default:return!1}},TP=function(a){var b=RP();b&&b.then(function(c){a.yd=c==null?null:Qg(Kg(Mk(c)),3)})},XP=function(){return ug(UP)}, $P=VP(),aQ=VP(),bQ=$P,cQ=aQ;function dQ(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={},eQ=(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),fQ="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(" "), gQ=["vpaidEvent"],hQ="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(" "), iQ="viewable_impression measurable_impression overlay_unmeasurable_impression overlay_unviewable_impression overlay_viewable_immediate_impression overlay_viewable_end_of_session_impression externalActivityEvent".split(" "),jQ={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 kQ(a){return a.startsWith("custom_metric_viewable")?!0:jQ[a]!=null}var lQ="acceptInvitation acceptInvitationLinear click collapse complete exitFullscreen expand firstQuartile fullscreen impression loaded midpoint pause resume skip start thirdQuartile videoClicked volumeChange".split(" ");var mQ=new UG;function nQ(a,b){a!=null&&b!=null&&(a=yD(a,b));return a}function oQ(a,b){var c=c===void 0?mQ:c;var d=d===void 0?null:d;a=nQ(a,b);d=d?nQ(d,b):d;YG(c,new TA(a,d))}function pQ(a,b){a!=null&&a.forEach(function(c){return void oQ(c,b)})};var qQ=function(){this.g=Math.random()<.01;this.l=Math.floor(Math.random()*4503599627370496);this.j=null}; qQ.prototype.report=function(a,b,c){b=b===void 0?{}:b;if(B.G_testRunner==null&&(this.g||(c===void 0?0:c))){b.lid=a;WP(XP())&&(b.sdkv=WP(XP()));this.j&&(b.palv=this.j);a=hB();D(E(a))||(b.e=a);b=rQ(this,b);var d=new O("https://pagead2.googlesyndication.com/pagead/gen_204");Gb(b,function(e,f){e!=null&&d.g.set(f,e==null?"":typeof e==="boolean"?e?"t":"f":""+e)},this);fP.C||(b=d.toString(),a=Oy(d,"url"),a!=null&&Nc()&&b.length>2083&&(b=dQ(d,a)),oQ(b))}}; var rQ=function(a,b){b.id="ima_html5";var c=Qe();var d=document;c=new O(c.parent===c?c.location.href:d.referrer);b.c=a.l;b.domain=c.j;return b},sQ=function(){return ug(qQ)};var tQ=function(){this.X=new Map},uQ=function(a,b){b.forEach(function(c){var d=c.g,e=a.getEvents(d);e.push(c);a.X.set(d,e)})},wQ=function(a,b,c,d,e){var f=null,g=null;d&&(vQ(d)!==-1?f=vQ(d):g=d.g?d.value:-1);c=new VA(b,c,f,g,e===void 0?null:e);d=a.getEvents(b);d.push(c);a.X.set(b,d)};tQ.prototype.getEvents=function(a){return a!=null?this.X.get(a)||[]:[]};tQ.prototype.isEmpty=function(){return this.X.size===0}; var xQ=function(a,b){return a.getEvents(b).map(function(c){return YA(c)})},yQ=function(a,b){b.X.forEach(function(c){uQ(a,c)})};var zQ=function(a){this.na=a;this.g=!1;this.X=new tQ};zQ.prototype.getMaxDuration=function(){if(this.na.adTagUrl==null)return null;var a=this.na.adTagUrl.match(zf)[6]||null;if(!a)return null;var b=null;Bf(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 AQ(a){var b=Te(document,"VIDEO"),c=Kb(kO).filter(function(d){var e=["video/3gpp","application/x-mpegURL"];return Rc()&&e.includes(d)||(Qc()||de||yF())&&d==="video/webm"?!1:b.canPlayType(d)});a=a.filter(function(d){return c.includes(d)});return a.length>0?a:c} var BQ=function(a){return!(a||ae||ce||Zn()||$d&&(!$d||!vF(uF,4)))},CQ=function(){var a=gP();return a&&aP(a,"disableOnScreenDetection")?!1:!Wn()},DQ=function(a){a=a===void 0?[]:a;return AQ(a)},EQ=function(a){var b;if(!(b=Zn()||Dc(Gc(),"CrKey")&&Dc(Gc(),"SmartSpeaker"))){var c,d;b=!!((c=window)==null?0:(d=c.chrome)==null?0:d.webview)}return b||a.ej?!1:!0},GQ=function(a){var b=a.Lk;var c=a.Ec;var d=a.Sc;a=a.Yd;return!(yF()||de&&vF(tF,10))||!b&&d?c||Dc(Gc(),"Xbox")?!0:ae||ce?!1:!$d||$d&&vF(uF,4)?Wn()? a:FQ()?!1:!0:!1:!0},HQ=function(){var a=XP(),b=a.Rk;switch(a.o){case "android":return a.Ec?a.J:!!b&&UO({od:3,qd:5,td:2},b)<=0;case "ios":return!!b&&UO({od:3,qd:4,td:1},b)<=0;case "tvos":return a.Yd;default:return!FQ()}},IQ=function(a){var b=b===void 0?!0:b;var c=[];!a.K&&fP.g!==0&&c.push("2");EQ(a)&&c.push("7");(a.Ec||!FQ())&&b&&c.push("8");return c},FQ=function(){return JQ()===1||JQ()===2},JQ=function(){switch(XP(),0){case 1:return 3;case 2:return 1}var a=B.navigator||null;return XP().Ec||(XP(), !1)||a&&Yn(a)||XP().o==="tvos"?1:Zn()?2:0},KQ=function(a){return XP().J?XP().Zj?(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 LQ="abort canplay canplaythrough durationchange emptied loadstart loadeddata loadedmetadata progress ratechange seeked seeking stalled suspend waiting".split(" ");var MQ=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}; MQ.prototype.append=function(a){if(a){var b=a.autoAlign;b!=null&&(this.autoAlign=b);b=Pd(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=Pd(a.playAdsAfterTime);typeof b==="number"&&!isNaN(b)&&b>0&&(this.playAdsAfterTime=b);this.restoreCustomPlaybackStateOnAdBreakComplete= a.restoreCustomPlaybackStateOnAdBreakComplete||this.restoreCustomPlaybackStateOnAdBreakComplete;b=Pd(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 NQ=function(a,b){b=b===void 0?"videoDisplay1":b;N.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.If="";this.sa=this.error=null;this.F=8E3;this.B=0;this.D=new IG(this);M(this,this.D)};q(NQ,N);var PQ=function(a){a.D.listen(a.j,a.g,a.Lm);OQ(a.j,a.g,"startTracking")},QQ=function(a){MG(a.D);OQ(a.j,a.g,"stopTracking")};NQ.prototype.load=function(){throw Error("Unexpected usage of VideoDisplayChannel");}; var TQ=function(a,b,c,d){a.If=b||"";RQ(a);d=d?SQ(d):null;if(c){if(c instanceof GE){OQ(a.j,a.g,"load",{videoUrl:b,adPodInfo:d,muxedMediaUrl:c.getMediaUrl(),muxedMimeType:c.g,muxedVideoCodec:c.Ea,muxedAudioCodec:c.Oa,mseCompatible:c.Ba});return}if(c instanceof FE){var e=c.j,f=c.C,g=c.g,h=c.A,k=c.Ea,l=c.Oa;if(e&&f&&g&&h&&k&&l){OQ(a.j,a.g,"load",{videoUrl:b,adPodInfo:d,demuxedVideoUrl:e,demuxedAudioUrl:f,demuxedVideoMimeType:g,demuxedAudioMimeType:h,demuxedVideoCodec:k,demuxedAudioCodec:l,mseCompatible:c.Ba}); return}}}OQ(a.j,a.g,"load",{videoUrl:b,adPodInfo:d})};NQ.prototype.reset=function(a){this.l||this.o||this.pause();de&&!a&&(UQ(this,.001),TQ(this,"",null,null));(ae||ce)&&this.Pd()&&!a&&OQ(this.j,this.g,"exitFullscreen")};var RQ=function(a){a.duration=-1;a.currentTime=-1;a.o=!1;a.l=!1;a.A=!1;VQ(a)},UQ=function(a,b){OQ(a.j,a.g,"setCurrentTime",{currentTime:b})};m=NQ.prototype;m.setVolume=function(a){this.volume=a;OQ(this.j,this.g,"setVolume",{volume:a})};m.canPlayType=function(a){return DQ().includes(a)}; m.play=function(){OQ(this.j,this.g,"play");this.B||(this.B=au(this.G,this.F,this));return Promise.resolve()};m.pause=function(){OQ(this.j,this.g,"pause");VQ(this)};m.unload=function(){RQ(this);de||yF()||OQ(this.j,this.g,"unload")};m.getCurrentTime=function(){return this.currentTime};m.getDuration=function(){return this.duration};m.getError=function(){return this.error};m.getVolume=function(){return this.muted?0:this.volume};m.Pd=function(){return this.fullscreen}; m.Lm=function(a){var b=a.Cb;a=a.messageType;switch(a){case "click":this.dispatchEvent("click");break;case "end":this.o=!0;this.dispatchEvent("end");break;case "error":VQ(this);if(b.errorCode==null||b.errorMessage==null||b.type==null)a=null;else for(var c=a=new lO(b.type,b.errorMessage,b.errorCode),d=b.innerError,e=0;e<3;++e)if(d instanceof Object){var f=new lO(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|| RO.getMessage(),this.error=Error(b));this.dispatchEvent("error");break;case "fullscreen":this.fullscreen=!0;this.dispatchEvent("beginFullscreen");break;case "exitFullscreen":this.fullscreen=!1;this.dispatchEvent("endFullscreen");break;case "loaded":this.dispatchEvent("loaded");break;case "mute":this.muted=!0;this.dispatchEvent("volumeChange");break;case "pause":this.l||(this.l=!0,b.ended!=null&&(this.o=b.ended),this.dispatchEvent("pause"));break;case "play":this.l=!1;this.dispatchEvent("play");break; case "autoplayDisallowed":this.dispatchEvent("autoplayDisallowed");break;case "skip":this.dispatchEvent("skip");break;case "focusSkipButton":this.dispatchEvent("focusSkipButton");break;case "start":this.A||(VQ(this),this.A=!0,WQ(this,b),this.dispatchEvent("start"));break;case "timeupdate":this.A&&(c=b.timeUnit,a=XQ(b.currentTime,c),b=XQ(b.duration,c),a!==void 0&&b!==void 0&&(this.currentTime=a,this.duration!==b&&(this.duration=b,this.dispatchEvent("durationChange")),this.dispatchEvent("timeUpdate"))); break;case "timedMetadata":this.dispatchEvent("timedMetadata");break;case "unmute":this.muted=!1;this.dispatchEvent("volumeChange");break;case "volumeChange":WQ(this,b);this.dispatchEvent("volumeChange");break;case "loadedmetadata":this.duration=Ld(b.duration);this.dispatchEvent(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":this.dispatchEvent(a)}}; var WQ=function(a,b){b=b.volume;typeof b!=="number"||isNaN(b)||b<0||b>1||(a.muted=b===0,a.volume=b)};NQ.prototype.G=function(){this.A||this.dispatchEvent("mediaLoadTimeout")};var VQ=function(a){a.B&&(bu(a.B),a.B=0)},XQ=function(a,b){if(a===void 0)return a;switch(b){case "ms":return Ld(a)/1E3;default:return Ld(a)}};var YQ=function(a,b){N.call(this);this.l=a;this.contentDuration=b;this.j=0;this.g=new IG(this);M(this,this.g)};q(YQ,N);YQ.prototype.dd=function(){return this.j};YQ.prototype.start=function(){this.stop();this.g.listen(this.l,"contentTimeUpdate",this.o)};YQ.prototype.stop=function(){MG(this.g)};YQ.prototype.o=function(a){a=a.Cb;a=XQ(a.currentTime,a.timeUnit);a!==void 0&&(this.j=a,this.dispatchEvent(new Xs("contentPlayheadChanged")))};var ZQ=function(a,b){Xs.call(this,"OffsetTrackerEvent");this.l=a;this.g=b};q(ZQ,Xs);var $Q=function(a,b){N.call(this);this.j=a;this.g=b;this.sa=null;this.l=new IG(this);M(this,this.l)};q($Q,N);$Q.prototype.remove=function(a){this.g.splice(this.g.indexOf(a),1)};$Q.prototype.start=function(){this.stop();this.l.listen(this.j,"contentPlayheadChanged",this.o,!1);this.j.start()};$Q.prototype.stop=function(){MG(this.l);this.j.stop()};$Q.prototype.o=function(){aR(this)}; var aR=function(a){var b=a.j.dd();if(!(isNaN(b)||b<0)){var c=bR(a,b);b=cR(a,b,a.j.contentDuration);c==null&&b==null||a.dispatchEvent(new ZQ(c,b))}},cR=function(a,b,c){var d=a.g.filter(function(f){return f!==-1&&b>=f-(fP.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-(fP.j?8:2):a.g.length===1||b>a.g[a.g.length-2]+1)?-1:null:null},bR=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},dR=function(a){var b=a.g.find(function(c){return c===-1?!0:a.j.dd()<=c});return b==null?null:b};var eR=function(){this.g=new Map};eR.prototype.add=function(a,b){var c=this.g.get(a)||[];c.push.apply(c,w(b));this.g.set(a,c)};eR.prototype.remove=function(a){this.g.delete(a)};var gR=function(a){return fR(Array.from(a.g.keys()))};eR.prototype.getPodIndex=function(a){var b=gR(this);switch(a){case 0:return 0;case -1:return-1;default:return a=b.indexOf(a),b[0]===0?a:a+1}};var fR=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 hR=function(a,b,c){this.j=a;this.g=b;this.Ae=c};function iR(a,b){return jR("adPlayError",a,b===void 0?null:b,Ea.apply(2,arguments))}function jR(a,b,c,d){if(c instanceof lO)return c;var e=b.getErrorCode();b=b.getMessage();if(d.length>0)for(var f=0;f 0&&this.settings.nearMatchPercent<=100?this.settings.nearMatchPercent:90},zR=function(a,b){var c=[];b.forEach(function(d){a.settings.allowCustom&&(d.og()&&(isNaN(d.Ca())||isNaN(wR(d))||wR(d)===d.Ca())&&xR(a,d)?c.push(d):(d=yR(a,d),d!=null&&d.og()&&c.push(d)))});return c};vR.prototype.pb=function(){return this.resourceType}; var xR=function(a,b){var c;if(c=b.getContentType()!=="Flash"){if(c=a.resourceType==="All"||a.resourceType===b.pb())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.nf())||a.g.kb)a=b&&a.g.kb;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||b]+) attributionsrc([^>]+)>","g"),""));return a}; m.ag=function(){var a=E(this.g);if(!D(E(this.Rb()))){a=new O(a);var b=encodeURIComponent(String(this.Rb()));a.g.set("clickTAG",b);a=a.toString()}b=Se("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",RR(a));return eS(this,b)}; m.ed=function(a){var b=E(this.g);if(!D(E(this.Rb()))){b=new O(b);var c=encodeURIComponent(String(this.Rb()));b.g.set("clickTAG",c);b=b.toString()}return new gM({height:this.getHeight(),width:this.getWidth(),La:RR(b),attribution:a.ta},"embedded",a.wc)};m.getAdId=function(){return this.id};m.getContentType=function(){return this.contentType};m.getSize=function(){return this.size};m.getWidth=function(){return this.getSize().width};m.nf=function(){return this.kb};m.getHeight=function(){return this.getSize().height}; m.getMinSuggestedDuration=function(){return this.Kc<=0?45:this.Kc};m.pb=function(){return this.resourceType};m.getMediaUrl=function(){return this.g};m.sh=function(){return this.fa==="VPAID"&&this.contentType==="Javascript"?this.g:null};m.getApiFramework=function(){return this.fa};m.Rb=function(){var a,b;return(b=(a=this.j)==null?void 0:a.url)!=null?b:null};m.Qe=function(){return xE(this.j)};m.th=function(){var a,b;return(b=(a=this.j)==null?void 0:a.g)!=null?b:null}; var eS=function(a,b){var c=Se("DIV");Cn(c,"cursor","default");Cn(c,"position","relative");Cn(c,"z-index","1001");Cn(c,"height",a.getHeight()+"px");a.getContentType()!=="Text"&&Cn(c,"width",a.getWidth()+"px");a=a.getAdId();D(E(a))||(c.id=a);c.appendChild(b);return c},dS=function(a){if(!a.o)return null;a=[].concat(w(VR(a).getEvents("start")),w(VR(a).getEvents("creativeView")));if(a.length>0){var b=[];a.forEach(function(c){var d=YA(c);if(!D(E(d))){var e=He().rm("IFRAME",{frameborder:0,style:"border:0;vertical-align:bottom;"}); e.src=dd(CF).toString();c.j!=null&&e.setAttribute("attributionsrc",c.j||"");Cn(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",RR(d));e.setAttribute("id",c);b.push(e)}});return b}return null};cS.prototype.B=function(){for(var a=[this],b,c=(b=this.getAd())==null?void 0:b.Z;c;)b=this.o?WR(this,c)||WR(this,c,!0):fS(this,c)||fS(this,c,!0),b!=null&&a.push(b),c=c.Z;return a}; var fS=function(a,b,c){c=c===void 0?!1:c;return b.ra.find(function(d){var e=d.Ca()===a.Ca();return a instanceof d.constructor&&(c||e)})};function gS(a){return a.map(function(b){var c={};return c.adIdRegistry=b.getAdIdRegistry(),c.adIdValue=b.getAdIdValue(),c.universalAdIdRegistry=b.getAdIdRegistry(),c.universalAdIdValue=b.getAdIdValue(),c})};var jS=function(a,b,c,d,e,f,g,h,k,l,p,n,r,u,t,x,A,F,G,S){var fa=this;x=x===void 0?null:x;A=A===void 0?!1:A;F=F===void 0?!1:F;G=G===void 0?[]:G;S=S===void 0?!0:S;this.adId=a;this.Na=b;this.D=c;this.aa=d;this.title=e;this.description=f;this.ea=g;this.dealId=h;this.be=t;this.ba=G;this.J=[];this.A=[];this.Z=this.g=this.N=null;this.ga=new Map;this.tb=new oO;this.na=null;this.Db=new GR;this.C=new he(0,0);this.Zb=String(Math.floor(Math.random()*1E9));this.uiElements=[];this.W=null;this.F=0;this.Y=this.T= !1;this.B=null;this.disableUi=this.L=!1;this.Da=k>0?k:-1;this.G=l?l.slice():[];this.K=p?p.slice():[];this.ra=n?n.slice():[];u!=null&&u.forEach(function(da,Sb){fa.ga.set(Sb,da)});this.Wa=(this.l=x!=null)?A:!1;this.Jd=this.l?F:!1;this.R=E(x);this.ra.forEach(function(da){da.ad=fa});this.o=new EH;GH(this.o,new pG);S&&GH(this.o,new vG);GH(this.o,new gF);GH(this.o,new QF);T(U(),"ghmsh_eids",hB());hS(this.o);this.j=FH(this.o,new cF([t]),new TC);iS(this,r)},hS=function(a){var b=[{type:"itag",Td:22},{type:"itag", Td:18}];(de||yF()||Yd&&ee)&&b.unshift({type:"hls"});GH(a,new lG(new dI(b)))},kS=function(a){var b=a.g;return a.qc()?b.Jc:[]};m=jS.prototype;m.qc=function(){var a=this.g;return a!=null&&a instanceof $R};m.getAdSystem=function(){return this.Na!=null?this.Na:""};m.getAdvertiserName=function(){return this.aa!=null?this.aa:""};m.getApiFramework=function(){var a=this.g;return a!=null?a.getApiFramework():null};m.getTitle=function(){return E(this.title)};m.getDescription=function(){return E(this.description)}; var lS=function(a){for(var b=[];a!=null;)b=[].concat(w(a.G),w(b)),a=a.Z;return b},mS=function(a){return a.Z!=null?mS(a.Z).concat(a.K):a.K};jS.prototype.getSurveyUrl=function(){return this.ea};jS.prototype.getDealId=function(){var a=this.dealId!=null?this.dealId:"",b=this.Z;return b!=null?(b=b.getDealId(),D(b)?a:b):a}; jS.prototype.getContentType=function(){if(nS(this)!=null)return"application/javascript";if(oS(this))return"image/jpeg";var a=this.g,b="";if(a===null)return b;if(a instanceof $R)a=a.g,a!==null&&(b=E(a.mimeType));else if(a instanceof cS)switch(a.pb()){case "IFrame":case "Html":b="text/html";break;case "Static":b=E(a.creativeType)}return b};var pS=function(a){return a.Z!=null?a.A.concat(pS(a.Z)):a.A};jS.prototype.getTraffickingParametersString=function(){return this.g!=null?this.g.ka:""}; var qS=function(a,b){return a.ga.get(b)},rS=function(a){for(var b=new Map;a;)a.ga.forEach(function(c,d){var e=b.get(d);e?b.set(d,[].concat(w(e),[c])):b.set(d,[c])}),a=a.Z;return b},sS=function(a,b){var c=[];a.ga.forEach(function(d){c=c.concat(JR(d,b))});return c},tS=function(a,b,c){c=c===void 0?null:c;a.g=b;a.C=new he(0,0);a.g&&(c=a.g,a.g instanceof cS&&(a.C=a.g.getSize()));if(b=a.Z){var d=WR(c,b)||WR(c,b,!0);tS(b,d,c)}c=a.Db;a=a.getDuration();c.g=a},vS=function(a){if(a.na){var b=new cF(uS(a));a.j= FH(a.o,b)}},uS=function(a){return a.Z?[a.be].concat(w(uS(a.Z))):[a.be]},wS=function(a){var b=0;for(a=a.Z;a!=null;)a=a.Z,b++;return b};m=jS.prototype;m.getAdId=function(){return this.adId!=null?this.adId:""};m.getWrapperAdIds=function(){var a=qS(this,"inred_info");a=a?a.j:[];var b=this.Z?this.Z.getAdId():[],c=this.Z?this.Z.getWrapperAdIds():[];return[].concat(a,b,c)};m.getCreativeAdId=function(){var a=this.g;return a!=null?E(a.getCreativeAdId()):""}; m.getCreativeId=function(){var a=this.g;return a!=null?(a=a.getCreativeId(),a!=null?a:""):""};m.getWrapperCreativeIds=function(){var a=qS(this,"inred_info");a=a?a.o:[];var b=this.Z?this.Z.getCreativeId():[],c=this.Z?this.Z.getWrapperCreativeIds():[];return[].concat(a,b,c)};m.getWrapperAdSystems=function(){var a=qS(this,"inred_info");a=a?a.l:[];var b=this.Z?this.Z.getAdSystem():[],c=this.Z?this.Z.getWrapperAdSystems():[];return[].concat(a,b,c)}; var xS=function(a){if(a.Z){var b=xS(a.Z);if(b)return b}return(a=qS(a,"metrics"))?a.j:null};jS.prototype.getUniversalAdIds=function(){var a=this.g;return a!=null?a.getUniversalAdIds():[]};jS.prototype.getUniversalAdIdValue=function(){var a=this.getUniversalAdIds();return a.length?a[0].getAdIdValue():"unknown"};jS.prototype.getUniversalAdIdRegistry=function(){var a=this.getUniversalAdIds();return a.length?a[0].getAdIdRegistry():"unknown"}; var yS=function(a){if(a.Z){var b=yS(a.Z);if(b)return b}return(a=qS(a,"metrics"))?a.l:null},zS=function(a){if(a.Z==null)return[a.D];var b=zS(a.Z);b.push(a.D);return b},AS=function(a){a=qS(a,"waterfall");return a==null?-1:a.j};jS.prototype.getPodIndex=function(){if(this.Da!==-1)return this.Da;var a=qS(this,"pod");return a==null?-1:a.Ca()};jS.prototype.Xd=function(){if(!this.L){this.L=!0;var a;(a=this.B)==null||a.Xd(this.getDuration());a=this.Z;a!=null&&a.Xd()}}; var BS=function(a){var b;if((b=a.B)==null?0:b.Tf())return a.B;a=a.Z;return a!=null?BS(a):null};jS.prototype.getCompanionAds=function(a,b){b=b===void 0?new tR:b;return zR(new vR(a,b),pS(this))};jS.prototype.rg=function(){for(var a=this;a;){if(CS(a))return!1;a=a.Z}return!0}; var DS=function(a,b){return b||a.Z==null?a.J:a.J.concat(DS(a.Z))},iS=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){ES(c,a)})},FS=function(a,b){return a.ra.some(function(c){return c instanceof $R&&b==="linear"||c instanceof cS&&b==="nonlinear"?!0:!1})};jS.prototype.isLinear=function(){return this.T?this.Y:GS(this)?!0:FS(this,"linear")};jS.prototype.isSkippable=function(){return HS(this)!=null}; var GS=function(a){var b=a.g,c,d=!((c=a.na)==null||!c.forceNonLinearFullSlot);return CS(a)&&b!=null&&b instanceof cS&&(a.C.height>90||d)},IS=function(a,b){if(b==null)return null;var c=qS(b,"adx");return c!=null?c:IS(a,b.Z)},HS=function(a){var b=IS(a,a.Z);if(b!=null)return b.isSkippable()?b.offset:null;b=null;var c=new bS(5,!1);a:{var d=v(a.ga.values());for(var e=d.next();!e.done;e=d.next())if(JR(e.value,"skip").length!==0){d=!0;break a}d=a.ga.get("DFP");d=d instanceof KR&&d.j?!0:!1}e=a.g;b==null&& e!=null&&e instanceof $R&&(b=e.skipOffset);b==null&&d&&(b=c);return GS(a)?(qS(a,"AdSense"),new bS(5,!1)):b};jS.prototype.getSkipTimeOffset=function(){var a=HS(this);if(a!=null){var b=this.getDuration();a.g&&b>0&&(a.g=!1,a.value=a.value*b/100);return vQ(a)}return-1};var JS=function(a){return a.g!==null?a.g.Rb():null},KS=function(a){return a.g!=null?a.g.Qe():null},LS=function(a){return a.g!=null?a.g.getDuration():-1},MS=function(a){return a.N!=null?a.N:0}; jS.prototype.getDuration=function(){if(GS(this))return qS(this,"AdSense"),15+MS(this);if(this.l){var a=qS(this,"wrapper_info");if(a)return a.getDuration()}return LS(this)+MS(this)};jS.prototype.getMediaUrl=function(){var a=null,b=this.g;b!=null&&(a=b.getMediaUrl(),D(E(a))&&(a=null));return a};var nS=function(a){return a.g!==null?a.g.sh():null},OS=function(a){a=qS(a,"InfoCards");return a!=null&&NS(a)!=null};m=jS.prototype; m.getVastMediaWidth=function(){var a=0,b=this.g;b&&(b instanceof $R?(b=b.g,b!==null&&(a=b.getWidth())):b instanceof cS&&(a=b.getSize().width));return a};m.getVastMediaHeight=function(){var a=0,b=this.g;b&&(b instanceof $R?(b=b.g,b!==null&&(a=b.getHeight())):b instanceof cS&&(a=b.getSize().height));return a};m.getWidth=function(){return this.isLinear()?0:this.C.width};m.getHeight=function(){return this.isLinear()?0:this.C.height};m.getUiElements=function(){return this.uiElements}; m.getMinSuggestedDuration=function(){return this.g==null?-2:this.g instanceof cS?this.g.getMinSuggestedDuration():this.g.getDuration()};m.getAdPodInfo=function(){return this.Db}; var CS=function(a){return["ADSENSE","ADSENSE/ADX","ADSENSE-VIRAL"].includes(a.D)},oS=function(a){return a.qc()?a.g.Za.some(function(b){return E(b.fa)==="Safeframe"}):!1},PS=function(a){return a.qc()?a.g.Za.some(function(b){return E(b.fa)==="SIMID"}):!1},QS=function(a,b,c){a.disableUi=c&&b;(c||b)&&sQ().report(60,{ui_disabled_available:c,ui_disable_requested:b},!0);return a.disableUi},RS=function(a){var b=[];a.g instanceof $R&&b.push.apply(b,w(a.g.va));a.Z&&b.push.apply(b,w(RS(a.Z)));var c=new Set, d=[];b.forEach(function(e){c.has(e.yb)||(c.add(e.yb),d.push(e))});return d},SS=function(a){var b=a.ba.slice();a=qS(a,"adVerifications");a!=null&&(b=b.concat(a.Bc()));return b};jS.prototype.Bc=function(){var a=SS(this),b=this.Z;b!=null&&(a=b.Bc().concat(a));return a}; var US=function(a){for(var b=TS(a),c;((c=a)==null?void 0:c.Z)!=null;){a=a.Z;var d=void 0;b=((d=a)==null?void 0:TS(d))||b}return b},TS=function(a){a=a.ga.get("EoidCookieExtension");return a instanceof LR?a.j:null},WS=function(a,b){for(var c=VS(a,b),d;((d=a)==null?void 0:d.Z)!=null;){a=a.Z;var e=void 0;c=((e=a)==null?void 0:VS(e,b))||c}return c},VS=function(a,b){a=a.ga.get(b?"GfpCookieV2Extension":"GfpCookieV1Extension");return a instanceof OR?a.j:null}; jS.prototype.getVastMediaBitrate=function(){if(this.qc()){var a=this.g.g;if(a!=null)return a.wa||0}return 0}; var XS=function(a){var b={};b=(b.adId=a.getAdId(),b.adPodInfo=SQ(a.getAdPodInfo()),b.adQueryId=a.Zb,b.adSystem=a.getAdSystem(),b.adWrapperCreativeIds=a.getWrapperCreativeIds(),b.adWrapperIds=a.getWrapperAdIds(),b.adWrapperSystems=a.getWrapperAdSystems(),b.advertiserName=a.getAdvertiserName(),b.apiFramework=a.getApiFramework(),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=gS(a.getUniversalAdIds()),b.universalAdIdRegistry=a.getUniversalAdIdRegistry(),b.universalAdIdValue=a.getUniversalAdIdValue(),b.vpaid= nS(a)!=null,b.width=a.getWidth(),b.vastMediaBitrate=a.getVastMediaBitrate(),b.vastMediaHeight=a.getVastMediaHeight(),b.vastMediaWidth=a.getVastMediaWidth(),b);a=a.g;a!=null&&(b.attributionParams=a.Qe(),b.clickThroughUrl=a.Rb()||"");return b},YS=function(a){var b=a.g,c=b!=null?VR(b):new tQ;mS(a).forEach(function(d){wQ(c,"impression",d.url,null,d.g)});lS(a).forEach(function(d){wQ(c,"error",d)});rS(a).forEach(function(d){d.forEach(function(e){yQ(c,e.g)})});return c.X},ZS=function(a){for(var b=[];a!= null;)a.ga.forEach(function(c){b=[].concat(w(b),w(c.ze))}),a=a.Z;return b};jS.prototype.isCustomClickTrackingUsed=function(){return(this.rg()?xF():!1)&&XP().fc};var $S=ra(["https://pagead2.googlesyndication.com/omsdk/releases/live/omweb-v1.js"]),aT=ra(["https://pagead2.googlesyndication.com/omsdk/releases/control/omweb-v1.js"]),bT=ra(["https://pagead2.googlesyndication.com/omsdk/releases/canary/omweb-v1.js"]),cT=ra(["https://pagead2.googlesyndication.com/omsdk/releases/experimental/omweb-v1.js"]);Ee($S);Ee(aT);Ee(bT);Ee(cT);var dT=function(a,b,c){b=b===void 0?null:b;c=c===void 0?null:c;Xs.call(this,a);this.ad=b;this.g=c};q(dT,Xs);var X=function(a){var b=a.type,c,d=(c=a.ad)!=null?c:null,e;a=(e=a.data)!=null?e:null;return new dT(b,d,a)},eT=function(a){return a.type==="videoIconClicked"?new dT(a.type,null,a.data):new dT(a.type)},fT=function(a){return new dT(a.type,null,a.data)};dT.prototype.getAd=function(){return this.ad};dT.prototype.getAdData=function(){return this.g};var gT=function(a,b){this.g=a[B.Symbol.iterator]();this.j=b};gT.prototype[Symbol.iterator]=function(){return this};gT.prototype.next=function(){var a=this.g.next();return{value:a.done?void 0:this.j.call(void 0,a.value),done:a.done}};var hT=function(a,b){return new gT(a,b)};var lT=function(a){if(a instanceof iT||a instanceof jT||a instanceof kT)return a;if(typeof a.next=="function")return new iT(function(){return a});if(typeof a[Symbol.iterator]=="function")return new iT(function(){return a[Symbol.iterator]()});if(typeof a.ee=="function")return new iT(function(){return a.ee()});throw Error("Not an iterator or iterable.");},iT=function(a){this.g=a};iT.prototype.ee=function(){return new jT(this.g())};iT.prototype[Symbol.iterator]=function(){return new kT(this.g())}; iT.prototype.j=function(){return new kT(this.g())};var jT=function(a){this.g=a};q(jT,tp);jT.prototype.next=function(){return this.g.next()};jT.prototype[Symbol.iterator]=function(){return new kT(this.g)};jT.prototype.j=function(){return new kT(this.g)};var kT=function(a){iT.call(this,function(){return a});this.l=a};q(kT,iT);kT.prototype.next=function(){return this.l.next()};var mT=function(a,b){this.j={};this.g=[];this.l=this.size=0;var c=arguments.length;if(c>1){if(c%2)throw Error("Uneven number of arguments");for(var d=0;d2*this.size&&nT(this),!0):!1};var nT=function(a){if(a.size!=a.g.length){for(var b=0,c=0;b=d.g.length)return up;var f=d.g[b++];return{value:a?f:d.j[f],done:!1}};return e};var oT=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};var qT=null,rT=function(){N.call(this);this.A=this.g=null;this.L="";this.G=this.H=this.R=null;this.K=-1;this.B=!1;this.j=new mT;this.l=new Map;this.o=new IG(this);M(this,this.o);this.F=new Map;lc().o=!0;CQ()};q(rT,N); var sT=function(){qT==null&&(qT=new rT);return qT},uT=function(a,b){var c=a.Zb;CQ()&&tT(sT(),c,b);var d=[];(rS(a).get("activeview")||[]).forEach(function(e){d.push.apply(d,w(e.j))});d.length&&sT().l.set(c,d)},vT=function(a){sT().F.delete(a.Zb);sT().l.delete(a.Zb)},tT=function(a,b,c){a.F.set(b,c)},wT=function(a,b){var c={};a=(c.queryId=a,c.viewabilityString=b,c);sT().dispatchEvent(fT({type:"measurable_impression",data:a}))},xT=function(a,b){var c={};a=(c.queryId=a,c.viewabilityString=b,c);sT().dispatchEvent(fT({type:"viewable_impression", data:a}))},yT=function(a,b,c){var d={};a=(d.queryId=a,d.viewabilityString=b,d.eventName=c,d);sT().dispatchEvent(fT({type:"externalActivityEvent",data:a}))},zT=function(a,b){a.g&&a.o.pa(a.g,"activityMonitor",a.D);a.g=b;a.o.listen(a.g,"activityMonitor",a.D);OQ(a.g,"activityMonitor","getPageSignals")},AT=function(a){var b=sT();if(b.g)if(b.G)a(b.G+"_ct"+(Ta()-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.Pd());e.osdId=b.L;e.eventId=d;sQ().g&&(b.A=Ta(),e.loggingId=Math.random(),sQ().report(43,{step:"sendingMessage",logid:e.loggingId,time:b.A}));OQ(b.g,"activityMonitor","fetchAdTagUrl",e)}else a("")};rT.prototype.destroy=function(){this.o.pa(this.g,"activityMonitor",this.D);this.g=null}; rT.prototype.D=function(a){var b=a.Cb,c;switch(a.messageType){case "appStateChanged":ug(Es);b=b.appState;a=eo();a.N!=b&&(a.N=b,(a=ug(Vq).g)&&no(a.g,!b));break;case "externalActivityEvent":yT(b.queryId,b.viewabilityString,b.eventName);break;case "measurableImpression":wT(b.queryId,b.viewabilityString);break;case "pageSignals":this.R=b.pageSignals;break;case "viewableImpression":xT(b.queryId,b.viewabilityString);break;case "engagementData":b=b.engagementString;sT().G=b;sT().K=Ta();break;case "viewability":(c= this.H)==null||c.getVolume();a=b.queryId;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=ug(Es);c=b.queryId;b=b.viewabilityData;if(lc().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 vp),Yb(a.l,b.presenceData));a.ba==-1&&(a.ba=jn(),a.Ib=a.Xa().g.g);a.W+=e?1:0;a.ib++;Uo(a.Fa,d,d,!1,1,!1);a.Tb=e||a.Tb;a= a.la;c=b.position;a.g=new ln(c.top,c.right,c.bottom,c.left);a.B=b.exposure||0;a.o=b.screenShare;a=eo();c=b.insideIframe;c!==void 0&&c==0&&(a.l=!1);b.documentSize&&(a.o=new he(b.documentSize.width,b.documentSize.height));b.viewportSize&&(a.g=new ln(0,b.viewportSize.width,b.viewportSize.height,0))}break;case "engagement":a=b.eventId,clearTimeout(a),c=this.j.get(a),sQ().g&&(d=-1,this.A&&(d=Ta()-this.A),e=!1,c||(e=!0),Ob(b,"loggingId")&&sQ().report(43,{step:"receivedResponse",time:Ta(),timeout:e,logid:b.loggingId, timediff:d})),c&&(this.j.delete(a),c(b.engagementString))}};Ia("ima.bridge.getNativeViewability",function(a,b){sT();b({})});Ia("ima.bridge.getVideoMetadata",function(a){return(a=sT().F.get(a))?a():{}});Ia("ima.bridge.triggerViewEvent",xT);Ia("ima.bridge.triggerMeasurableEvent",wT);Ia("ima.bridge.triggerExternalActivityEvent",yT);var BT=function(a){this.M=H(a)};q(BT,K);BT.prototype.getUniversalAdIdValue=function(){return Ti(kj(this,7))};BT.prototype.getUniversalAdIdRegistry=function(){return Ti(kj(this,8))};var CT=[0,jm,pm,-1,Wl,am,-1,em,-1,jm,am,em,pm];var DT=function(a){this.M=H(a)};q(DT,K);DT.prototype.getType=function(){return Ci(kj(this,1))};var ET=function(a,b){return kk(a,1,b)};DT.prototype.getAdSystem=function(){return Ti(kj(this,3))};var FT=function(a,b){kk(a,4,b)};DT.prototype.getAdId=function(){return Ti(kj(this,5))};DT.prototype.getCreativeId=function(){return Ti(kj(this,6))};DT.prototype.getCreativeAdId=function(){return Ti(kj(this,7))};var GT=[0,pm,em,-1,pm,em,-2,jm,em,CT,bm];var HT=function(a){this.M=H(a)};q(HT,K);var IT=um([0,fm,GT,am,-1]);var JT=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]]),LT=function(a){var b=ET(new DT,a.l?2:1),c=a.na;if(c&&c.adTagUrl){var d=null;try{d=(new O(c.adTagUrl)).j}catch(e){}d!= null&&d.length>0?d=d.slice(-40):d=null;hk(b,2,d)}c=a.getAdSystem();c=c.length===0?null:c;FT(hk(b,3,c),KT(a.F));c=a.getAdId();c=c.length===0?null:c;hk(b,5,c);c=a.getCreativeId();c=c.length===0?null:c;hk(b,6,c);c=a.getCreativeAdId();c=c.length===0?null:c;hk(b,7,c);a=a.tb;c=a.A;d=a.o;c!=null&&d!=null&&d>=c&&mj(b,8,Gi(d-c));a=a.l.map(function(e){var f;return(f=e.vendor)!=null?f:""});Bj(b,11,a,Ri);return b},KT=function(a){return a>=1&&a<2?1:a>=2&&a<3?2:a>=3&&a<4?3:a>=4&&a<5?4:0},MT=function(a){a=a.trim().toLowerCase(); a=a.split(" ")[0];return JT.get(a)||0};var NT=[202,1009],OT=!1;function PT(a,b,c){c=c===void 0?null:c;var d=a?a.j:null;if(a){var e=a.getAdPodInfo();var f=new DC;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 QT(d,e,b,a?a.na:null,c)} function RT(a,b,c,d){c=c===void 0?null:c;var e=new Map;a=PT(c,d===void 0?null:d,a);ST(e,a,b);wD(a.error.getVastErrorCode(),e);oD(e,"SDKV",WP(XP()));TT(e,a);UT(e);b=a.error.getErrorCode();oD(e,"ERROR_MSG",a.error.getMessage());oD(e,"IMA_ERROR",b.toString());oD(e,"INTERNAL_ID","0");b=NT.includes(b);oD(e,"BLOCKING_ERROR",b?"1":"0");VT(e,c);return e}function WT(a,b){var c=new Map,d=PT(null,null);ST(c,d,b);b=c;b=b===void 0?new Map:b;oD(b,"REASON",a);return c} function XT(a,b,c){var d=new Map;c=PT(a,c===void 0?null:c);ST(d,c,b);oD(d,"SDKV",WP(XP()));TT(d,c);UT(d);VT(d,a);return d}function YT(){var a=uP(XP().g);/^[\.\w_-]*$/.test(a)||OT||(sQ().report(141,{tcstring:a}),OT=!0)} function ZT(a,b,c){var d,e,f,g,h,k,l;return z(function(p){if(p.g==1)return e=d=null,EQ(c)&&(d="Google1",e="3.682.0"),(g=a.adTagUrl)!=null&&g.includes("GOOGLE_INSTREAM_VIDEO_NONCE")?p=y(p,b(a),3):(p.g=2,p=void 0),p;p.g!=2&&(f=p.j||void 0);h=c.yd;k=uP(c.g);l=sP(c.g);YT();var n=p.return;var r={fk:"1",na:a,appName:c.appName,Ak:DQ(),zj:FQ()?"0":xF()?"2":"1",Og:d,ak:e,domain:(new O(c.j)).j||"",pageUrl:$T(a),Ue:fP.getPlayerType(),Ve:fP.getPlayerVersion(),tf:"IMA",uf:"3.682.0",pj:IQ(c),cf:k,yd:h,Jk:l,Jm:f}; r=r===void 0?{}:r;var u=u===void 0?new Map:u;oD(u,"ADCATEGORIES","-1");oD(u,"ADCOUNT","-1");oD(u,"APIFRAMEWORKS",r.pj?r.pj.join(","):"-1");oD(u,"BLOCKEDADCATEGORIES","-1");var t;oD(u,"GOOGLE_INSTREAM_VIDEO_NONCE",(t=r.Jm)!=null?t:"-1");oD(u,"EXTENSIONS","-2");oD(u,"MEDIAMIME",r.Ak?r.Ak.join(","):"-1");oD(u,"PLAYERCAPABILITIES","-1");oD(u,"VASTVERSIONS",Kb(JC).join(","));oD(u,"VERIFICATIONVENDORS","-2");r=pD(r,u);return n.call(p,r)})} function ST(a,b,c){var d=b.ad,e=b.Db,f=b.na;b=b.display;var g=c.appName,h=FQ()?"0":xF()?"2":"1",k=null,l=null;d instanceof sE&&d.bb.length>0&&(l=d.bb[0],k=l.getAdIdValue(),l=l.getAdIdRegistry());var p=null,n=null;EQ(c)&&(p="Google1",n="3.682.0");var r=(new O(c.j)).j||"",u=$T(f),t=fP.getPlayerType(),x=fP.getPlayerVersion(),A=uP(c.g),F=c.yd;c=sP(c.g);YT();qD({H:b,fk:"1",Db:e,ad:d,na:f,appName:g,zj:h,lo:k,ko:l,Og:p,ak:n,Ue:t,Ve:x,tf:"IMA",uf:"3.682.0",domain:r,pageUrl:u,cf:A,yd:F,Jk:c},a)} function VT(a,b){nD(a,"CREATIVE_PLAYBACK",function(){if(b){var c=new HT;for(var d=[],e=b;e!=null;)d.push(LT(e)),e=e.Z;e=d[0];var f=new BT,g=b.g;if(g instanceof $R){if(mj(f,5,wi(!0)),g=g.g,g!=null){var h=g.mimeType||"";h=h.length===0?null:MT(h);kk(f,2,h);h=g.wa||0;h=mj(f,1,Gi(h<=0?null:h));var k=g.url;k!=null&&oF(k)?(k=(new O(k)).l,k=k!=null&&k.startsWith("/videoplayback")):k=!1;hk(h,11,k?g.g:null)}}else g instanceof cS&&(mj(f,5,wi(!1)),g=g.creativeType||"",g=g.length===0?null:MT(g),g=kk(f,2,g),mj(g, 1,Gi(null)));nS(b)!=null&&(fP.g===2?kk(f,12,1):kk(f,12,2));g=b.getDuration();g=mj(f,4,ui(g<0?null:g));h=b.getUniversalAdIdValue();g=hk(g,7,h);h=b.getUniversalAdIdRegistry();hk(g,8,h);h=b.tb;g=h.j;h=h.g;g!=null&&h!=null&&h>=g&&mj(f,9,Gi(h-g));mj(f,10,wi(!1));Rj(e,10,f);d.reverse();d=Tj(c,1,d);mj(d,3,wi((document.visibilityState||"")==="visible"));c=IT(c);c=Qg(c,3)}else c="";return c})} function UT(a){nD(a,"URL_SIGNALS",function(){var b=sT().R;!b&&window.Goog_AdSense_Lidar_getUrlSignalsArray&&(b=window.Goog_AdSense_Lidar_getUrlSignalsArray());return b?b[0]:""})}function TT(a,b){if(b.ad!=null){var c=b.ad.ga.get(dE);oD(a,"AQI",(c instanceof dE?c.g:"")||"");nD(a,"AD_V",function(){if(b.ad instanceof sE){var d=gN(b.ad);if(d!=null)return d}return"0"});oD(a,"FINAL","1")}}function $T(a){a=(a==null?void 0:a.pageUrl)||null;return rF(a)?a:XP().j} var QT=function(a,b,c,d,e){this.ad=a;this.Db=b;this.display=c;this.na=d===void 0?null:d;this.error=e===void 0?null:e};function aU(a,b){var c=E(a);D(c)?b=a:CE(c)?(a=c,c=WP(XP()),a=DE(a,"&sdkv="+c),XP().K&&(a=DE(a,"&ssss=gima")),b!=="impression"&&b!=="click"&&(a=DE(a,"&vci=[CREATIVE_PLAYBACK]")),b=a):b=c;return b}function bU(a){a=E(a);if(D(a))return!1;try{Bd(a)}catch(b){return!1}return!0};var cU=function(a,b){this.g=a;this.j=b};var dU=function(a,b,c){this.g=a;this.yh=b;this.l=c;this.j=null};m=dU.prototype; m.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};m.getContentType=function(){return this.g.getContentType()};m.getWidth=function(){return this.g.getWidth()};m.getHeight=function(){return this.g.getHeight()};m.nf=function(){return this.g.nf()};m.og=function(){return this.g.og()};m.Ca=function(){return this.g.Ca()}; var wR=function(a){var b;a=(b=a.g.getAd())==null?void 0:b.g;return a!=null?a.Ca():NaN};m=dU.prototype;m.getSize=function(){return this.g.getSize()};m.pb=function(){return this.g.pb()};m.getAdSlotId=function(){return this.l};m.getApiFramework=function(){return this.g.getApiFramework()||""};m.getAd=function(){return this.g.getAd()}; var ES=function(a,b){a.g.ad=b;a.yh.forEach(function(c){ES(c,b)});eU(a,b)},eU=function(a,b){var c,d;a.j=((d=((c=rS(b).get("companionAta"))!=null?c:[])[0])==null?void 0:d.j)||null},fU=function(a){var b={};return b.apiFramework=a.getApiFramework(),b.content=a.getContent(),b.size=a.getSize(),b.fluidSize=a.nf(),b.resourceType=a.pb(),b.resourceValue=a.g.g,b.contentType=a.getContentType(),b.sequenceNumber=a.Ca(),b.mainAdSequenceNumber=wR(a),b.adSlotId=a.getAdSlotId(),b.backupCompanions=a.yh.map(function(c){return fU(c)}), b.height=a.getSize().height,b.width=a.getSize().width,b};var gU=function(a,b,c,d){cS.call(this,a,b,"Html",c,d)};q(gU,cS);gU.prototype.ed=function(a){return new gM({height:this.getHeight(),width:this.getWidth(),La:this.g,attribution:a.ta},"html",a.wc)};gU.prototype.ag=function(){var a=Se("DIV");vd(a,GG(this.g));return eS(this,a)};var hU=function(a,b,c,d){cS.call(this,a,b!=null?b:new he(0,0),"Static",c,d);this.l=b==null};q(hU,cS);hU.prototype.getContent=function(){var a=cS.prototype.getContent.call(this);this.o&&(a=a.replace(' src=""',' src="'+RR(E(this.g))+'"'));return a};hU.prototype.ed=function(a){var b=this.o?"":RR(E(this.g));return new gM({height:this.l?void 0:this.getHeight(),width:this.l?void 0:this.getWidth(),La:b,attribution:a.ta},"image",a.wc)}; hU.prototype.ag=function(){var a=this.ed(new PR).Ia(),b=Se("a",{target:"_blank",id:this.getAdId()});b.setAttribute("href",RR(E(this.Rb())));yE(this.j,b);b.appendChild(a);return b};var iU=function(a,b){cS.call(this,a,b,"Static","text","");this.l=null};q(iU,cS);iU.prototype.getSize=function(){return new he(this.getWidth(),this.getHeight())};iU.prototype.getHeight=function(){return 63};iU.prototype.getWidth=function(){return this.l!=null?On(this.l).width:0};var jU=function(a,b){if(b!=null){var c=Se("a");c.setAttribute("href",RR(E(a.Rb())));yE(a.j,c);var d;(d=b.parentElement)==null||d.replaceChild(c,b);c.appendChild(b)}}; iU.prototype.ag=function(){this.l=this.ed(new PR).Ia();this.l.id=this.getAdId();jU(this,Ke("textImageContainer",this.l));jU(this,Ke("overlayTextTitle",this.l));return this.l}; var kU=function(a,b){var c=a.getAd();if(!c)return{};a=qS(c,"AdSense");var d=qS(c,"TextAd"),e=d.ve||"",f="rtl";e!=null&&(f=Cz.test.call(Cz,e)?"rtl":"ltr");e={title:e,text:(d.we||"")+" "+(d.xe||""),dir:f};if(d=d.Ja)e.image=RR(d),c=c.ra.find(function(g){return g instanceof $R}),c!=null&&(e.duration=FC(c.getDuration()));a.Uc&&(e.Uc=a.Uc);e.attribution=a.ta?a.ta:b;return e};iU.prototype.ed=function(a){return new gM(kU(this,a.ta),"text",a.wc)};function lU(a,b,c){if(c.length===0)return new cS(a,b,"",null,"");var d=mU(c);c=d.pb();var e=d.creativeType;d=d.g;sQ().report(95,{rt:c,ct:e});switch(c){case "Html":return new gU(a,b,e,d);case "Static":if(e!=null)switch(jO[e]){case "Image":return new hU(a,b,e,d);case "Text":return new iU(a,b)}}return new cS(a,b,c,e,d)} function mU(a){var b=a.find(function(f){return f.pb()==="IFrame"}),c=a.find(function(f){return f.pb()==="Html"}),d=a.find(function(f){var g=f.creativeType;return f.pb()==="Static"&&g!=null&&jO[g]==="Image"}),e=a.find(function(f){var g=f.creativeType;return f.pb()==="Static"&&g!=null&&jO[g]==="Text"});return b!=null?b:c!=null?c:d!=null?d:e!=null?e:a[0]};function nU(a,b,c,d,e){var f=mU(e),g=lU(a.id,a.size,[f]),h=function(l){l.o=!0;l.fa=a.fa;l.j=b;l.A=c;d&&(l.X=d);l.kb=!!a.kb};h(g);e.splice(e.indexOf(f),1);var k=[];e.forEach(function(l){l=lU(a.id,a.size,[l]);h(l);k.push(new dU(l,[],a.Cd))});return new dU(g,k,a.Cd)};var oU=function(a,b,c){this.resourceType=a;this.creativeType=b;this.g=c};oU.prototype.pb=function(){return this.resourceType};oU.prototype.getContentType=function(){return this.creativeType==null?null:jO[this.creativeType]||"Other"};var pU=function(a,b){HR.call(this,b);this.j=a};q(pU,HR);var qU=function(a){HR.call(this);this.duration=a};q(qU,HR);qU.prototype.getDuration=function(){return this.duration};var rU=function(a){HR.call(this);this.sb=a};q(rU,HR);rU.prototype.Bc=function(){return this.sb};var sU=function(a,b,c,d,e,f,g,h,k){HR.call(this,h,k);this.ta=a;this.ub=b;this.ke=c;this.Uc=d;this.j=e;this.uiConfig=f;this.Je=g};q(sU,HR);var tU=function(a,b){HR.call(this);this.j=a;this.offset=b};q(tU,HR);tU.prototype.isSkippable=function(){return this.j};var uU=function(a){HR.call(this);this.j=a};q(uU,HR);var vU=function(a){HR.call(this);this.sf=a};q(vU,HR);var wU=function(a){HR.call(this);this.j=a};q(wU,HR);var xU=function(a){HR.call(this);this.j=a};q(xU,HR);var yU=function(a,b){HR.call(this,b);this.Fd=a};q(yU,HR);var NS=function(a){var b=[];a=v(a.Fd);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 zU=function(a,b,c){HR.call(this);this.j=a;this.l=b;this.o=c};q(zU,HR);var AU=function(a,b){HR.call(this);this.j=a;this.l=b};q(AU,HR);var BU=function(a){HR.call(this);this.j=a};q(BU,HR);var CU=function(a){HR.call(this);this.dealId=a};q(CU,HR);CU.prototype.getDealId=function(){return this.dealId};var DU=function(a,b,c,d,e){e=e===void 0?null:e;HR.call(this);this.l=a;this.A=b;this.j=c;this.o=d;this.C=e};q(DU,HR); DU.prototype.init=function(){if(this.l&&(this.A&&this.j||this.o)){var a,b=window,c=this.l,d=(a=this.C)!=null?a:void 0;a=this.A;var e=this.j,f=this.o,g=a?"//pagead2.googlesyndication.com/bg/"+Cd(a)+".js":"";a=b.document;var h={};d&&(h._scs_=d);h._bgu_=g;h._bgp_=e;h._li_="v_h.3.682.0";f&&(h._upb_=f);(d=b.GoogleTyFxhY)&&typeof d.push=="function"||(d=b.GoogleTyFxhY=[]);d.push(h);d=He(a);d=Te(d.g,"SCRIPT");d.type="text/javascript";d.async=!0;c=Ee(Vs,Cd(c)+".js");zd(d,c);(b=(b.GoogleTyFxhYEET||{})[d.src])? b():a.getElementsByTagName("head")[0].appendChild(d)}};var EU=function(a,b,c,d,e,f){HR.call(this);this.ve=a;this.we=b;this.xe=c;this.Ja=d;this.imageWidth=e;this.imageHeight=f};q(EU,HR);var FU=function(a){HR.call(this);this.j=a};q(FU,HR);var GU=function(a){HR.call(this);this.j=a};q(GU,HR);GU.prototype.Ca=function(){return this.j};var HU=function(a){HR.call(this);this.j=isNaN(a)?-1:a};q(HU,HR);var IU=function(a,b,c,d,e,f,g,h,k,l){k=RR(E(k));SE.call(this,k,{height:h,width:g,wb:a,mimeType:b,fa:l,bitrate:d,wa:e,maxBitrate:f,codec:c});this.g=iG(k)};q(IU,SE);IU.prototype.getWidth=function(){return this.width||0};IU.prototype.getHeight=function(){return this.height||0};IU.prototype.getApiFramework=function(){return this.fa};var KU=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,l,p,n){if(l=="%")return"%";var r=c.shift();if(typeof r=="undefined")throw Error("[goog.string.format] Not enough arguments");arguments[0]=r;return JU[l].apply(null,arguments)})},JU={s:function(a,b,c){return isNaN(c)||c==""||a.length>=Number(c)?a:a=b.indexOf("-",0)>-1? a+Id(" ",Number(c)-a.length):Id(" ",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+Id(" ",a):f+Id(b.indexOf("0",0)>=0?"0":" ",a)+d},d:function(a,b,c,d,e,f,g,h){return JU.f(parseInt(a, 10),b,c,d,0,f,g,h)}};JU.i=JU.d;JU.u=JU.d;var LU=function(a,b){this.j=a;this.l=b};q(LU,pO);LU.prototype.g=function(){var a=this;try{var b=MU(this)}catch(d){throw lR(JO,d);}var c=b.g.map(function(d){d=a.getAd(d);var e=vE(a.j)||0;d.F=e;pR("vl");return d});return new hR(c,null,b.Ae)}; LU.prototype.getAd=function(a){var b=a.Sa,c=null,d=null,e=!1,f=null,g=!1,h=null,k=null;b instanceof nG?(c=b.Nf,d=b.Dd,f=b.description,h=b.Ef):b instanceof gH&&(e=b.Wa,g=b.Jd,k=b.Lf);var l=NU(b.ga,this.l),p=l==null;a:{var n=b.Na;if(D(E(n)))n="UNKNOWN";else switch(n=n.toUpperCase(),n){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:n="UNKNOWN"}}return new jS(a.id||"",b.Na,n,c,d,f,h,this.getDealId(b.ga),a.Da||0,OU(b.g),PU(b.j),QU(this,b.ra,l),RU(this,b.ra),SU(this,b.ga,p),a,k,e,g,this.Bc(b.sb),!l)}; var NU=function(a,b){if(!b.Ec&&FQ())return cB(mC)||cB(nC)||cB(pC)||cB(qC)||cB(oC)?KB(U(),"ima_lvp_nss_ycs"):KB(U(),"ima_lvp_nss_ncs"),null;if(!(cB(mC)||cB(nC)||cB(pC)||cB(qC)||cB(oC)))return KB(U(),"ima_lvp_ncs"),null;KB(U(),"ima_lvp_ycs");b=a.find(function(e){return e instanceof uG});var c=a.find(function(e){return e instanceof MF});if(!(b instanceof uG)||c)return KB(U(),"ima_lvp_ycs_ns"),null;c=a.find(function(e){return e instanceof kG});a=a.find(function(e){return e instanceof iF});var d={};return d.channelCustomUrl= b.Uf,d.channelId=b.Yc,d.channelThumbnailUrl=b.he,d.channelTitle=b.ie,d.cpn=c instanceof kG?c.o:null,d.format=b.format,d.isSkippable=b.format!=="BUMPER"&&b.format!=="NONSKIPPABLE",d.isTrueView=b.Gc,d.isVideoUnlisted=b.Sd,d.title=b.Ne,d.videoThumbnailUrl=b.Hf,d.wtaUrl=a instanceof iF?a.Yb:null,d.youtubeVideoId=b.Tc,d.engagedViewUrls=[],d.infoCards=[],d},TU=function(a,b){return bU(a)?aU(a,b):null},OU=function(a){var b=[];a.forEach(function(c){(c=TU(c,"error"))&&b.push(c)});return b},PU=function(a){var b= [];a.forEach(function(c){var d=TU(c.url,"impression");d&&b.push(new TA(d,c.g))});return b},RU=function(a,b){var c=[];b.forEach(function(d){d.je!=null&&(d=a.getCompanionAds(d.je,d.Da||0),c.push(d))});return c};LU.prototype.getCompanionAds=function(a,b){var c=this,d=[];a.g.forEach(function(e){(e=UU(c,e,b))&&d.push(e)});return new cU(d,VU(a.j))}; var UU=function(a,b,c){var d={fa:b.fa,size:a.getSize(b.width,b.height),id:b.id,Cd:b.Cd,kb:b.kb},e=b.Xf||null;a=WU(a,b.resources);if(a.length===0)return null;var f=XU(b.X);b.Yf.forEach(function(g){wQ(f,"click",g.url,null,g.g)});return nU(d,e,c,f,a)},VU=function(a){a=a!=null?a.toLowerCase():"";return a==="all"?"all":a==="any"?"any":"none"},QU=function(a,b,c){var d=[];b.forEach(function(e){e.Ub!=null?d.push(YU(a,e,c)):e.Be!=null&&(d=d.concat(ZU(a,e)))});return d},YU=function(a,b,c){var d=b.Ub,e=d.Za; e.length>0?KB(U(),"ima_lvp_nvs"):KB(U(),"ima_lvp_yvs");c&&(e=KU("https://imasdk.googleapis.com/js/simid/simid_trueview_%s.html",fP.getLocale()),e=[new OE(new HE(e,"Url"),{mimeType:"text/html",fa:"SIMID",Le:!1})]);e=new $R(d.duration?d.duration/1E3:0,$U(d.zd),aV(d.Jc),e,bV(d.Ob),cV(a,d.va));var f=XU(d.X);dV(d.zd).forEach(function(g){wQ(f,"click",g.url,null,g.g)});d.zd&&d.zd.Xe.forEach(function(g){c&&cB(nC)&&g.id==="engagedView"?c.engagedViewUrls.push(g.url):wQ(f,g.id?g.id:"",g.url)});c?TR(e,JSON.stringify(c)): e.ka=d.ka||"";e.A=b.Da||0;e.creativeId=b.id;e.C=b.adId;f&&(e.X=f);UR(e,a.getUniversalAdIds(b.bb));return e},ZU=function(a,b){var c=b.Be,d=XU(c.X);c=c.g.map(function(f){return eV(a,f,d)});if(c.length===0&&!d.isEmpty()){var e=new cS(null,new he(-1,-1),"",null,"");d&&(e.X=d);c.push(e)}c.forEach(function(f){f.A=b.Da||0;f.creativeId=b.id;f.C=b.adId;var g=a.getUniversalAdIds(b.bb);f.bb=g});return c},eV=function(a,b,c){var d=-1;b.Kc!=null&&(d=b.Kc/1E3);a=lU(b.id,a.getSize(b.width,b.height),WU(a,b.resources)); a.ka=b.ka||"";a.fa=b.fa;a.j=b.Lg;var e=new tQ;b.Mg.forEach(function(f){wQ(e,"click",f.url)});yQ(e,c);e&&(a.X=e);a.Kc=d;return a},WU=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.pb(e.resourceType);g==null||c&&g!=="Static"||f==="text/javascript"||d.push(new oU(g,f,e.g))});return d},cV=function(a,b){var c=[];b.forEach(function(d){(d=fV(a,d))&&c.push(d)});return c},fV=function(a,b){a=WU(a,b.resources,!0);if(a.length===0)return null; a=mU(a);var c=new kE;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.xf?b.xf:1;c.Ab=b.Ab?b.Ab.toLowerCase():"left";c.Bb=b.Bb?b.Bb.toLowerCase():"top";c.Ha=b.Ha!=null?b.Ha:0;c.Eb=b.Eb!=null?b.Eb:-1;var d=$U(b.se),e;c.A=(e=d==null?void 0:d.url)!=null?e:null;c.C=xE(d);c.B=dV(b.se).map(function(f){return f.url});c.l=gV(b.se);c.J=b.jf;c.o=a.g;c.D=a.creativeType;return c},aV=function(a){var b=[];a.forEach(function(c){c=new IU(c.wb?c.wb.toLowerCase(): null,c.mimeType?c.mimeType.toLowerCase():null,c.codec?c.codec.toLowerCase():null,c.wa||0,c.wa||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},$U=function(a){var b;return(b=a==null?void 0:a.Gb)!=null?b:null},dV=function(a){var b=[];return a==null?b:a.yc},gV=function(a){return(a==null?[]:a.Vf).map(function(b){var c=new jE;c.j=b.width||0;c.g=b.height||0;c.l=b.La?b.La.g:"";c.gb=b.gb;return c})},XU=function(a){var b=new tQ;a.forEach(function(c){var d= TU(c.url,c.eventType);if(d){var e=bV(c.Ha);e==null&&c.Ud!=null&&(e=new bS(c.Ud,!0));wQ(b,c.eventType,d,e,c.g)}});return b};LU.prototype.pb=function(a){switch(a){case "Static":case "IFrame":case "Html":return a;default:return null}}; var SU=function(a,b,c){var d=new Map;b.forEach(function(e){var f=hV(a,e);e=f.type;f=f.Dm;if(e!=null&&f!=null&&(c||e!=="InfoCards")){var g=d.get(e);g==null?d.set(e,f):e==="generic"&&IR(g,f.g)}});return d},hV=function(a,b){var c=null,d=null;if(b instanceof fF)c="activeview",d=new pU(b.g,XU(b.X));else if(b instanceof kN)c="wrapper_info",d=new qU(b.duration/1E3);else if(b instanceof qG)c="adVerifications",b=a.Bc(b.sb),b.length!==0&&(d=new rU(b));else if(b instanceof HH)c="adx",d=new tU(b.j,bV(b.g));else if(b instanceof iF)c="AdSense",d=XU(b.X),d=new sU(b.ta,b.ub,b.ke,b.Uc,b.Yb,iV(b.uiConfig),b.Je,d,b.ze);else if(b instanceof IH)c="DFP",d=new KR(b.g==="Generic",XU(b.X));else if(b instanceof NF)c="EoidCookieExtension",d=new LR(bE(aE($D(ZD(new YD,b.value),b.g),b.path),b.domain));else if(b instanceof RF)c=b.j?"GfpCookieV2Extension":"GfpCookieV1Extension",d=new OR(bE(aE($D(ZD(new YD,b.value),b.g),b.path),b.domain));else if(b instanceof kG)c="GoogleHostedMediaExtension",d=new wU(b);else if(b instanceof mG)try{var e=Du(Fd(b.g)); d=new xU(e);c="GpidWtaExtension"}catch(g){}else if(b instanceof mN)c="inred_info",d=new zU(b.g,b.j,b.l);else if(b instanceof oG)c="metrics",d=new AU(b.g,b.fb);else if(b instanceof oN)c="pod",d=new GU(b.Da);else if(b instanceof rG)c="programmatic",d=new CU(b.dealId);else if(b instanceof sG)c="sodar",d=new DU(b.l,b.o,b.g,"",b.j);else if(b instanceof pN)c="TextAd",d=new EU(b.ve,b.we,b.xe,b.Ja,b.imageWidth,b.imageHeight);else if(b instanceof tG)c="uiSettings",d=new FU(b.g);else if(b instanceof qN)c="waterfall", d=new HU(b.g);else if(b instanceof eF)c="generic",d=new HR(XU(b.X));else if(b instanceof MF){c="InfoCards";var f=[];b.Fd.forEach(function(g){return f.push.apply(f,w(g.X))});d=new yU(b.Fd,XU(f))}else if(b instanceof OF)c="esp",d=new MR(b.g);else if(b instanceof lN)c="watermark",d=new vU(b.sf,b.j,b.g);else if(b instanceof nN){if(b=fV(a,b.g))c="nonlinearAta",d=new BU(b)}else b instanceof jF&&(b=fV(a,b.g))&&(c="companionAta",d=new uU(b));return{type:c,Dm:d}}; LU.prototype.getUniversalAdIds=function(a){return a.map(function(b){return new rE(b.lf,b.kf)})};LU.prototype.Bc=function(a){var b=[];a.forEach(function(c){if(c.He!=null){var d=XU(c.X).getEvents("verificationNotExecuted");b.push(new eE(c.He,{Pc:c.Pc||void 0,X:d,vendor:c.vendor||void 0,parameters:c.parameters||void 0}))}});return b};var iV=function(a){var b=new PR;if(a==null)return b;a.ta!=null&&(b.ta=a.ta);b.ub=a.ub;b.Ed=a.Ed;b.wc=a.wc;return b}; LU.prototype.getDealId=function(a){var b="";a.forEach(function(c){c instanceof rG&&(b=c.dealId||"")});return b};LU.prototype.getSize=function(a,b){return new he(a!=null?a:NaN,b!=null?b:NaN)}; var bV=function(a){return a==null?null:new bS(a/1E3,!1)},MU=function(a){var b=new yH;zH(b,new rN);zH(b,new wN);zH(b,new tN);zH(b,new AN);zH(b,new GN);zH(b,new NN);zH(b,new UN);zH(b,new IN);zH(b,new YN);zH(b,new DN);zH(b,new JN);zH(b,new BN);zH(b,new RN);zH(b,new xN);zH(b,new HN);zH(b,new CN);zH(b,new sN);zH(b,new vN);zH(b,new zN);zH(b,new PN);zH(b,new QN);zH(b,new SN);zH(b,new TN);zH(b,new VN);zH(b,new WN);zH(b,new XN);zH(b,new yN);var c=a.j;if(!c)throw Error("VAST string is empty.");if(!uE(c))throw Error("Response string is not a valid VAST document."); a=[];var d=[];c=v(Ye(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.Da=hH(f,"sequence");e.Xc=f.getAttribute("adType");f=v(Ye(f));for(var k=f.next();!k.done;k=f.next()){var l=k.value;if(l.nodeName=="InLine"){var p=k=f=g=void 0,n=void 0,r=void 0,u=void 0,t=[],x=[],A=[],F=[];l=v(Ye(l));for(var G=l.next();!G.done;G=l.next()){var S=G.value;switch(S.nodeName){case "AdServingId":u=V(S);break;case "AdSystem":r=V(S);break; case "AdTitle":n=V(S);break;case "AdVerifications":F=F.concat(oH(S));break;case "Advertiser":p=V(S);break;case "Creatives":G=v(Ye(S));for(S=G.next();!S.done;S=G.next())S=S.value,S.nodeName=="Creative"&&A.push(CH(S));break;case "Description":k=V(S);break;case "Error":V(S)!=null&&t.push(V(S));break;case "Extensions":g=AH(h,Ye(S));break;case "Impression":G=sH(V(S));S=lH(S);G!=null&&x.push(new ZE(G,S));break;case "Survey":f=V(S)}}g=new nG({Bd:u,Na:r,Dd:n,Nf:p,description:k,Ef:f,errors:t,Dc:x,ra:A,sb:F, ga:g});break}else if(l.nodeName=="Wrapper"){f=k=g=void 0;p=h;F=l;n=[];r=[];u=[];h=[];t=F.getAttribute("followAdditionalWrappers")!="false";x=F.getAttribute("allowMultipleAds")=="true";A=F.getAttribute("fallbackOnNoAd")=="true";F=v(Ye(F));for(l=F.next();!l.done;l=F.next())switch(G=l.value,G.nodeName){case "AdSystem":f=V(G);break;case "VASTAdTagURI":k=(k=V(G))?k:void 0;break;case "Creatives":l=v(Ye(G));for(G=l.next();!G.done;G=l.next())G=G.value,G.nodeName=="Creative"&&u.push(CH(G));break;case "Error":l= V(G);l!=null&&n.push(l);break;case "AdVerifications":h=h.concat(oH(G));break;case "Extensions":g=AH(p,Ye(G));break;case "Impression":l=sH(V(G)),G=lH(G),l!=null&&r.push(new ZE(l,G))}g=new gH({Na:f,Jd:t,Wa:x,bi:A,Lf:k,errors:n,Dc:r,ra:u,sb:h,ga:g});break}}if(!g)throw Error("Vast Ad contains neither inline nor wrapper data.");a.push(new bF(g,e));break;case "Error":(e=V(f))&&d.push(e)}}MB(["lima_p_ich","lima_p_icu"]);return new fH({ads:a,Ae:d})};var jV=function(a,b){this.j=a;this.na=b;this.adsResponse=null;sQ().report(115,{vmap:!0})};q(jV,pO);jV.prototype.g=function(){this.adsResponse||(this.adsResponse=new hR(null,kV(this),[]));return this.adsResponse}; var kV=function(a){var b=new eR,c=new eO;fO(c);try{var d=hO(c,a.j)}catch(e){throw lR(AO);}d.g.forEach(function(e){var f=e.j;var g=f.Mf;f=f.be;g?g=UC(a.na,g):f?(g=a.na.clone(),g.adTagUrl=null,g.adsResponse=f,g.A=!0):g=null;g!=null&&(g=lV(e,g),b.add(e.g,[g]))});if(gR(b).length===0)throw lR(AO);return b},lV=function(a,b){b=new zQ(b);var c=new tQ;a.ga.find(function(d){return d instanceof cO})&&(b.g=!0);a.X.forEach(function(d){var e=d.eventType,f=aU(d.url,e);f&&bU(f)&&e!=null&&wQ(c,d.eventType,f)});b.X= c;return b};function mV(a,b,c){if(a!=null){if(a&&a.nodeName==="Playlist")return new nR(a,b);if(gO(a))return new jV(a,b);if(uE(a))return new LU(a,c)}return null};var nV=function(){L.apply(this,arguments);this.g=new Set};q(nV,L);var oV=function(a,b){var c=au(function(){a.g.delete(c);b.call(a)});a.g.add(c)};nV.prototype.P=function(){this.g.forEach(function(a){return bu(a)});this.g.clear()};function pV(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 OV(){return/\d+\.\d+\.\d+(-.*)?/.test("1.5.2-google_20241009")}function PV(){for(var a=["1","5","2"],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);kW.indexOf(a)>=0&&(b=b.mediaEvents);b=b[a];if(!b)throw Error("Unrecognized method name: "+a+".");b.apply(null,w(c))};var pW=function(a,b,c){LV("AdSession.context",a);this.g=VV();this.o=a;this.J=!1;var d=this.o.g||void 0;if(!b){b=cW();var e=e===void 0?YV:e;var f=[b,aW(b)?b.top:$V];d&&f.unshift(d);a:{d=v(f);for(var g=d.next();!g.done;g=d.next()){b:{f=b;g=g.value;var h=e;if(!bW(g))try{var k=fW(g);if(k){var l=new ZV(k);break b}}catch(p){}l=h(g)?new dW(f,g):null}if(f=l){b=f;break a}}b=null}}this.A=b;this.D=c||new mW;this.N=this.G=this.F=!1;this.l=this.j=null;this.B=!1;this.C={};this.A&&(this.A.g=this.Mm.bind(this)); this.xa("setClientInfo","1.5.2-google_20241009",this.o.j.name,this.o.j.version,this.g);nW(this,a.B);(a=a.A)&&this.xa("setContentUrl",a,this.g);oW(this)},qW=function(a){return!!a.A||a.D.g!=null};m=pW.prototype;m.registerSessionObserver=function(a){this.sendMessage("registerSessionObserver",a,this.g)};m.start=function(){this.xa("startSession",{customReferenceData:this.o.C,underEvaluation:this.o.o},this.g)};m.error=function(a,b){this.xa("sessionError",a,b,this.g)}; m.xa=function(a){this.sendMessage.apply(this,[a,null].concat(w(Ea.apply(1,arguments))))};m.sendMessage=function(a,b){var c=Ea.apply(2,arguments);if(this.A){var d=VV();b&&(this.C[d]=b);c=new QV(d,"SessionService."+a,"1.5.2-google_20241009",OV()&&PV()?c:JSON.stringify(c));this.A.sendMessage(c)}else if(this.D.g!=null)try{this.D.sendMessage(a,b,c)}catch(e){WV("Failed to communicate with SessionInterface with error:"),WV(e)}}; m.Mm=function(a){var b=a.method,c=a.g;a=a.args;if(b==="response"&&this.C[c]){var d=OV()&&PV()?a?a:[]:a&&typeof a==="string"?JSON.parse(a):[];this.C[c].apply(this,d)}b==="error"&&window.console&&WV(a)};var nW=function(a,b){b&&(b=b.map(function(c){return c.toJSON()}),a.xa("injectVerificationScriptResources",b,a.g))},oW=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)})}; MC("OmidSessionClient.AdSession",pW);var rW=function(a){LV("AdEvents.adSession",a);this.j=a.g;try{if(a.F)throw Error("AdEvents already registered.");a.F=!0;a.xa("registerAdEvents",a.g);this.g=a}catch(b){throw Error("AdSession already has an ad events instance registered");}}; rW.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.xa("loaded",a,this.j)};MC("OmidSessionClient.AdEvents",rW);var sW=function(a){LV("MediaEvents.adSession",a);this.j=a.g;try{if(a.G)throw Error("MediaEvents already registered.");a.G=!0;a.xa("registerMediaEvents",a.g);this.g=a}catch(b){throw Error("AdSession already has a media events instance registered");}};sW.prototype.start=function(a,b){MV("MediaEvents.start.duration",a);NV("MediaEvents.start.mediaPlayerVolume",b);this.g.xa("start",a,b,this.j)};sW.prototype.pause=function(){this.g.xa("pause",this.j)};sW.prototype.resume=function(){this.g.xa("resume",this.j)}; var tW=function(a,b){LV("MediaEvents.playerStateChange.playerState",b);a.g.xa("playerStateChange",b,a.j)},uW=function(a,b){LV("MediaEvents.adUserInteraction.interactionType",b);a.g.xa("adUserInteraction",b,a.j)};MC("OmidSessionClient.MediaEvents",sW);var vW=function(a,b,c,d,e){N.call(this);this.ad=a;this.R=b;this.K=c;this.omidAccessModeRules=d;this.L=e;this.sa=this.l=null;this.B=[];this.G=this.Y=this.D=this.W=!1;this.A=this.g=this.F=this.j=null;this.o=new IG(this);this.o.listen(this.R,lQ,this.ea);this.o.listen(this.R,["adError","streamError"],this.ba)};q(vW,N); var DW=function(a,b,c){var d=wW(a);xW(d);d.length===0?yW(a,"noVerifications"):(b=new iW(b,d,a.L.j),c&&(b.l(c),c=Object.keys(a.omidAccessModeRules).length>0,b.o=!c,sQ().report(159,{pcp:c})),a.j=new pW(b),pR("sc"),qW(a.j)?(a.F=new rW(a.j),a.g=new sW(a.j),a.j.registerSessionObserver(function(e){if(!zW(a))switch(e.type){case "sessionStart":pR("ss");e=e.data;a.D=!0;AW(a,e==null?void 0:e.creativeType);BW(a,e==null?void 0:e.impressionType);CW(a);break;case "sessionFinish":pR("sf");a.Y=!0;a.dispatchEvent(new Xs("omidAdSessionCompleted")); break;case "sessionError":pR("se")}}),a.W=!0,AW(a),BW(a),a.j.start(),pR("ssa")):(a.j=null,yW(a,"notSupported")))};vW.prototype.ea=function(a){this.G||zW(this)||(a.type!=="firstQuartile"||this.D||pR("bf"),a.type!=="complete"||this.D||pR("bc"),this.B.push(a),CW(this))};vW.prototype.ba=function(a){this.B.push(a);CW(this)};vW.prototype.T=function(){CW(this)}; var EW=function(a){if(!a.G){a.G=!0;var b;(b=a.j)!=null&&b.xa("finishSession",b.g);au(function(){zW(a)||(pR("le"),yW(a,"sessionLingering"))},5E3)}},CW=function(a){if(a.D&&!zW(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 dT){var d=void 0,e=c;if(e.F&&e.g)switch(b.type){case "loaded":pR("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 JV(d,g,f.na?f.na.g==="auto":!1,e));break;case "impression":pR("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.xa("impressionOccurred",e.j);break;case "start":pR("ps");e.g.start(e.ad.getDuration(),e.l==null?0:e.l.getVolume()); ((d=e.l)==null?0:d.Pd())&&tW(e.g,"fullscreen");break;case "firstQuartile":e=e.g;e.g.xa("firstQuartile",e.j);break;case "midpoint":e=e.g;e.g.xa("midpoint",e.j);break;case "thirdQuartile":e=e.g;e.g.xa("thirdQuartile",e.j);break;case "complete":b=e.g;b.g.xa("complete",b.j);EW(e);break;case "pause":e.g.pause();break;case "resume":e.g.resume();break;case "skip":b=e.g;b.g.xa("skipped",b.j);EW(e);break;case "volumeChange":b=b.getAdData();e=e.g;b=b.volume;NV("MediaEvents.volumeChange.mediaPlayerVolume",b); e.g.xa("volumeChange",b,e.j);break;case "click":case "videoClicked":uW(e.g,"click");break;case "fullscreen":tW(e.g,"fullscreen");break;case "exitFullscreen":tW(e.g,"normal");break;case "expand":tW(e.g,"expanded");break;case "collapse":tW(e.g,"collapsed");break;case "acceptInvitation":case "acceptInvitationLinear":uW(e.g,"invitationAccept")}}else b instanceof kR&&(e=void 0,b=b.getError(),pR("e"),(e=c.j)==null||e.error("video",b.toString()),EW(c))}},yW=function(a,b){a.A=b;a.dispatchEvent(new Xs("omidAdSessionAbandoned")); pR("ab");a.A==="notSupported"&&FW(a,a.ad.Bc(),"3","notSupported")},AW=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.xa("setCreativeType",a,b.g);b.j=a}},BW=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.xa("setImpressionType","beginToRender", a.g);a.l="beginToRender"}},zW=function(a){return a.Y||a.A!=null};vW.prototype.getAd=function(){return this.ad}; var wW=function(a){for(var b=[],c=a.ad;c!=null;){var d=SS(c),e=[];d=v(d);for(var f=d.next();!f.done;f=d.next())if(f=f.value,f.Pc==="omid")if(f.g==null)FW(a,[f],"3","nullUrl");else{var g=new hW(f.g,f.vendor||void 0,f.parameters||void 0,FV(a.omidAccessModeRules,f.g));b.push(g);e.push(f)}else FW(a,[f],"2");if(d=c.tb)d.l=e;c=c.Z}return b},FW=function(a,b,c,d){var e=[];b=v(b);for(var f=b.next();!f.done;f=b.next())f=f.value,e=[].concat(w(e),w(f.X.map(function(g){return YA(g)})));d&&(e=e.map(function(g){g= new O(g);g.g.set("dbg",d);return g.toString()}));PD(a.K,WT(c,a.L));a.K.report("verificationNotExecuted",e)};vW.prototype.P=function(){MG(this.o);Fo(this.o);N.prototype.P.call(this)};var xW=function(a){a=a.map(function(b){return[b.j||"",b.g]});sQ().report(129,{omData:JSON.stringify(a)});pR("oms")};var GW=null,HW=function(){N.call(this);this.A=!0;this.Og=new gW("Google1","3.682.0");this.j=[];this.sa=this.B=this.g=null;this.o=new IG(this)};q(HW,N);var IW=function(){GW==null&&(GW=new HW);return GW};HW.prototype.D=function(){this.A=!1;this.dispatchEvent(new Xs("omidUnavailable"));sQ().report(128,{status:"disabled",reason:"iframeLoadFailed",description:"The OM SDK iframe failed to load. No measurements can be taken."})}; HW.prototype.Gk=function(a,b,c,d,e){var f=this;e=e===void 0?{}:e;pR("omo");var g=new vW(a,b,c,e,d);if(!this.A)return FW(g,a.Bc(),"3","notEnabled"),null;this.o.nd(b,["show_ad","start","adError"],function(h){switch(h.type){case "show_ad":JW(f,g);break;case "start":JW(f,g);break;case "adError":g.D||FW(g,g.getAd().Bc(),"3","A fatal ad error occurred, so no OMID ad session was started.")}});this.o.listen(g,"omidAdSessionAbandoned",function(){KW(!0,g);g.dispose();f.g=null;LW(f)});this.o.listen(g,"omidAdSessionCompleted", function(){KW(!1,g);g.dispose();f.g=null;LW(f)});return g};var JW=function(a,b){b.W||zW(b)||a.j.includes(b)||(a.j.push(b),a.g&&(pR("saa"),EW(a.g)),LW(a))},LW=function(a){a.A&&!a.g&&a.j.length!==0&&a.B&&(a.g=a.j.shift(),DW(a.g,a.Og,a.B))};HW.prototype.l=function(a){this.B=a;LW(this)};var KW=function(a,b){var c={es:a?"abandon":"complete",ai:b.getAd().getAdId(),qy:b.getAd().Zb};a&&b.A!=null&&(c.ar=b.A);sQ().report(87,c)};function MW(a){var b="";a.forEach(function(c,d){D(c)||(b+=d+"="+c+"&")});return b.slice(0,-1)}function NW(a){var b=new O(a);if(b.o)return a;b.j?(By(b,"https"),a=b.toString()):a="https://"+b;return a};function OW(a,b){this.blockSize=-1;this.blockSize=64;this.o=B.Uint8Array?new Uint8Array(this.blockSize):Array(this.blockSize);this.l=this.j=0;this.g=[];this.C=a;this.A=b;this.B=B.Int32Array?new Int32Array(64):Array(64);PW===void 0&&(B.Int32Array?PW=new Int32Array(QW):PW=QW);this.reset()}Va(OW,Ay);var RW=[].concat(128,tb(0,63));OW.prototype.reset=function(){this.l=this.j=0;this.g=B.Int32Array?new Int32Array(this.A):pb(this.A)}; var SW=function(a){for(var b=a.o,c=a.B,d=0,e=0;e>>7|d<<25)^(d>>>18|d<<14)^d>>>3)|0)+((c[b-7]|0)+((e>>>17|e<<15)^(e>>>19|e<<13)^e>>>10)|0)|0;b=a.g[0]|0;d=a.g[1]|0;e=a.g[2]|0;for(var f=a.g[3]|0,g=a.g[4]|0,h=a.g[5]|0,k=a.g[6]|0,l=a.g[7]|0,p=0;p<64;p++){var n=((b>>>2|b<<30)^(b>>>13|b<<19)^(b>>>22|b<<10))+(b&d^b&e^d&e)|0,r=(l+((g>>>6|g<<26)^(g>>>11|g<<21)^(g>>>25|g<<7))|0)+(((g&h^ ~g&k)+(PW[p]|0)|0)+(c[p]|0)|0)|0;l=k;k=h;h=g;g=f+r|0;f=e;e=d;d=b;b=r+n|0}a.g[0]=a.g[0]+b|0;a.g[1]=a.g[1]+d|0;a.g[2]=a.g[2]+e|0;a.g[3]=a.g[3]+f|0;a.g[4]=a.g[4]+g|0;a.g[5]=a.g[5]+h|0;a.g[6]=a.g[6]+k|0;a.g[7]=a.g[7]+l|0},TW=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&&(SW(a),e=0)}else throw Error("message must be string or array");a.j=e;a.l+=c},UW=function(a){var b=[],c=a.l*8;a.j<56?TW(a,RW,56-a.j):TW(a,RW,a.blockSize-(a.j-56));for(var d=63;d>=56;d--)a.o[d]=c&255,c/=256;SW(a);for(d=c=0;d=0;e-=8)b[c++]=a.g[d]>>e&255;return b},QW=[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],PW;function VW(){OW.call(this,8,WW)}Va(VW,OW);var WW=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225];var XW=function(){this.g=(typeof document=="undefined"?null:document)||{cookie:""}},ZW=function(){var a=YW;if(!B.navigator.cookieEnabled)return!1;if(!a.isEmpty())return!0;a.set("TESTCOOKIESENABLED","1",{Tj:60});if(a.get("TESTCOOKIESENABLED")!=="1")return!1;a.remove("TESTCOOKIESENABLED");return!0};m=XW.prototype; m.set=function(a,b,c){var d=!1;if(typeof c==="object"){var e=c.Bq;d=c.Dq||!1;var f=c.domain||void 0;var g=c.path||void 0;var h=c.Tj}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:"")}; m.get=function(a,b){for(var c=a+"=",d=(this.g.cookie||"").split(";"),e=0,f;e=0;b--)this.remove(a[b])}; var $W=function(a){a=(a.g.cookie||"").split(";");for(var b=[],c=[],d,e,f=0;f0&&b.push(c.map(function(d){return d.kb?"fluid":d.size.width+"x"+d.size.height}).join("|"))});return b.join(",")}function cX(a,b){var c;a=(c=dX(a,b).get("url"))!=null?c:"";c=new Map;var d=b.W;d==null||/[;\r\n]/.test(d)?b.mg&&(c.set("eoidce","1"),eX(c,a,b)):c.set("eo_id_str",d);return c} function fX(a,b){var c;a=(c=dX(a,b).get("url"))!=null?c:"";c=new Map;if(!fP.isCookiesEnabled())c.set("co","1");else if(b.ck&&!zP(b.g)){var d=b.F,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"),eX(c,a,b));b=b.re;b!=null&&!/[;\r\n]/.test(b)&&c.set("pdopt",b)}return c}function eX(a,b,c){c=c.Sj;var d=null;try{d=(new URL(decodeURIComponent(b))).hostname}catch(e){}d!==c&&a.set("cdm",c)} function gX(a,b){var c=new Map,d=XP().Ta;d>0&&c.set("pvsid",d.toString());c.set("correlator",$P.toString());c.set("scor",aQ.toString());d=b.N;d!=null&&(b.N=null,c.set("fbidx",d.toString()));b.R!=null&&c.set("ppid",b.R);b.l!=null&&c.set("submodel",b.l);b.T!=null&&c.set("cbidsp",b.T);b.Fa!=null&&c.set("pied",b.Fa);var e=a.adTagUrl||"";d=new Map;var f=b.Ib;f!=null?(e=bX(f),d.set("ciu_szs",e)):e=(new O(e)).g.get("ciu_szs","");hP("audioPosterImageEnabled")&&(f=aX.join(","),e=e===""?f:e+","+f);d.set("ciu_szs", e);e=fX(a,b);f=cX(a,b);!zP(b.g)&&cB(vC)&&a.j&&c.set("aos",a.j);return new Map([].concat(w(d),w(hX(a,b)),w(e),w(f),w(c)))} function iX(a,b,c){var d=new Map;d.set("correlator",$P.toString());var e=new O(a.adTagUrl),f=e.g;f.get("description_url","")!==""&&(f=f.get("ad_block",""),f=D(f)?c.A.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(w(jX(e,a,c)),w(hX(a,c)),w(fX(a,c)),w(cX(a,c)),w(d)))} function hX(a,b){var c=new Map;c.set("sdkv",WP(b));var d=c.set,e=1;GQ(b)&&(jP(PA)?e+=4:b.Yd||(e+=4));FQ()||(e+=1024);!FQ()&&(e+=64);b.Yd&&(e+=2147483648);d.call(c,"sdki",e.toString(16));c.set("ptt",(20).toString());b.Ua!=null&&c.set("sq",b.Ua);b.ib!=null&&c.set("adk",b.ib);d=IQ(b);d.length>0&&c.set("sdk_apis",d.join(","));if(EQ(b)){var f;d="Google1/"+((f=b.B)!=null?f:"h.3.682.0")}else d=null;f=d;f!=null&&c.set("omid_p",f);b.Y&&c.set("media_url",b.Y);fP.D&&c.set("sid",fP.D);b.secureSignals&&!zP(b.g)&& c.set("a3p",b.secureSignals);b.Va&&c.set("htps",(10).toString());c.set("nel",wE()?"1":"0");(f=b.vg)&&c.set("scar",f);b.ik&&c.set("td",(1).toString());f=lD((new O(a.adTagUrl)).g.get("eid",""));D(E(f))||c.set("eid",f);c.set("afvsz",sM(a));f=(new O(a.adTagUrl)).g.get("ctv","");d={};sQ().report(197,(d.pctv=f,d));f=new Map;b.aa?f.set("attmas",b.aa):b.D!=null&&f.set("is_lat",b.D?"1":"0");if(!zP(b.g)){d=fP.L;cB(tC)&&d!==null&&(e=new cP,lk(ik(e,3,d),4,fP.Y),d=Qg(Kg(Mk(e)),3),f.set("psd",d));e=b.deviceId; d=b.g;if(d.j){var g=rP(d,"tfcd");g=g==="0"||g==="false"?(0).toString():mP(g)?(1).toString():""}else g="";(g=g===(1).toString())||(d.j?(d=rP(d,"tfua"),d=d==="0"||d==="false"?(0).toString():mP(d)?(1).toString():""):d="",g=d===(1).toString());d=e&&e!=="00000000-0000-0000-0000-000000000000"&&!g;b.G&&f.set("idtype",b.G);e&&!g&&f.set("rdid",e);if((e=b.Uk)&&!d){f.set("paid",e);if(e=b.xg)g=new VW,TW(g,Kg(e)),g=Lg(UW(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.Vk;var h=!b.Wk;g&&(f.set("paid2",g),f.set("paopt",h?"1":"0"),e&&(g=new VW,TW(g,Kg(e)),e=Lg(UW(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.Fb;g=b.Hb;e&&g&&!d&&(f.set("pvid",e),f.set("pvid_s",""+g))}d=new Map;e=b.ea;g=(document.visibilityState||"")==="visible";g!=null&&d.set("vis",g?"1": "2");e!==-1&&d.set("frm",e.toString());CQ()&&(e=2,g=C&&vn(C).Lb?!1:wf(wg().j),!FQ()&&g&&(e|=2048),d.set("osd",e.toString()));e=b.qa;e!=null&&d.set("ms",e);d.set("sdr","1");d.set("unviewed_position_start","1");d.set("is_amp",b.Wj?"1":"0");(e=wF())&&d.set("hl",e);(e=b.yd)&&d.set("uach",e);e=new Map;g=b.B;g!=null&&e.set("js","ima-"+g);g=b.appName;g!=null&&(e.set("an",g),b.o==="android"&&e.set("msid",g));g=b.Mk;g!=null&&e.set("mv",g+"."+(b.Hk||""));g=a.linearAdSlotWidth;h=a.linearAdSlotHeight;e.set("u_so", g==null||h==null?"l":h>g?"p":"l");e.set("ctv",String(JQ()));g=new Map;D(fP.getPlayerType())||(g.set("mpt",fP.getPlayerType()),D(fP.getPlayerVersion())||g.set("mpv",fP.getPlayerVersion()));h=new Map;HQ()||h.set("wta","0");if(a instanceof TC&&a.A&&a.adTagUrl!==null){var k=a.adTagUrl;var l=xP(b.g);k=lP(k);for(var p=v(kP),n=p.next();!n.done;n=p.next())n=n.value,k[n]==="redundant"&&l.set(n,"redundant")}else l=xP(b.g);k=Map;p=[];n=p.concat;h=w(h);var r=new Map;zP(b.g)||(D(fP.o)||r.set("adsid",fP.o),D(fP.G)|| r.set("pucrd",fP.G),D(fP.F)||r.set("jar",fP.F));h=new k(n.call(p,h,w(r),w(l)));l=new Map;k=b.hc;(p=b.cj)&&k&&k>0&&p>k&&(l.set("dlt",k.toString()),l.set("idt",(p-k).toString()));l.set("dt",Km().toString());a=dX(a,b);b=b.Zi||{};return new Map([].concat(w(f),w(d),w(e),w(g),w(b),w(h),w(c),w(a),w(l)))} function jX(a,b,c){var d=new Map,e=vM(a);GQ(c)||(e=uM(e));e.some(function(f){return tM(f)})&&b.nonLinearAdSlotWidth!=null&&b.nonLinearAdSlotHeight!=null&&(b=sM(b),d.set("image_size",b),D(b)&&(e=e.filter(function(f){return!tM(f)})));d.set("ad_type",e.join("_"));b=e.some(function(f){return f==="text"});d.set("num_ads",b?"3":"1");a=mD(a,"t_pyv");D(a)&&(a=b?"allow":"exclude");d.set("t_pyv",a);e.some(function(f){return f==="bumpervideo"||f==="skippablevideo"||f==="standardvideo"||f==="video"})&&(e=Vc("Chromium")>= 6||Vc("Firefox")>=4||$d&&vF(uF,2.3)?43:18,d.set("video_format",e.toString()));return d} function dX(a,b){var c,d=(c=a.adTagUrl)!=null?c:"";c=new O(d);var e;a=(e=a.pageUrl)!=null?e:"";var f;e=(f=Oy(c,"url"))!=null?f:"";f=rF(a)?a:e;c=kX(c);c=rF(f)?f:c;c=new O(c);e=new O(b.oa);a=new O(b.j);d="unknown";Py(a,e)?d="flat":Py(c,e)?d="bottom":Py(c,a)&&(d="top");sQ().report(160,{contentLocation:d});c=new Map;e=b.referrer;D(E(e))||c.set("ref",e);if(rF(f)){c.set("url",f);var g;c.set("top",(g=b.j)!=null?g:"");c.set("loc",b.oa)}else g=c.set,b=b.j&&rF(b.j)?b.j:b.referrer&&rF(b.referrer)?b.referrer: "null",g.call(c,"url",b);return c}function kX(a){var b="";["video_url_to_fetch","description_url","durl"].find(function(c){c=Oy(a,c)||"";return rF(c)?(b=c,!0):!1});return b}function lX(a){return a?eD(a)?(a=new O(a),a.g.remove("ctv"),a.toString()):a:null};var mX=function(){this.g=[];this.j=[]},nX=function(a){a.g.length===0&&(a.g=a.j,a.g.reverse(),a.j=[])},oX=function(a,b){a.j.push(b)};m=mX.prototype;m.isEmpty=function(){return this.g.length===0&&this.j.length===0};m.clear=function(){this.g=[];this.j=[]};m.contains=function(a){return jb(this.g,a)||jb(this.j,a)}; m.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?(lb(b,c),b=!0):b=!1;return b||kb(this.j,a)};m.ff=function(){for(var a=[],b=this.g.length-1;b>=0;--b)a.push(this.g[b]);b=this.j.length;for(var c=0;c=4294967296)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)},lY=new Uint8Array(0);var mY=function(a,b,c){this.l=a;this.g=b;this.j=c};mY.prototype.Jb=function(){return this.l};var nY=function(a){this.l=a;this.j=null;this.g=new Map};nY.prototype.Ya=function(){return this.l};var pY=function(a,b){return(a=oY(a,b))?a:[]},oY=function(a,b){b instanceof Uint8Array&&(b=[].concat(w(b)).toString());return a.g.get(b)};/* Copyright 2022 Google LLC SPDX-License-Identifier: Apache-2.0 */ function qY(a){return a==null?void 0:new Uint8Array(hh(a)||0)}function rY(a){a==null?a=void 0:a=(a=hh(a))?a.length:0;return a};function sY(){for(var a=0,b=0;bNumber.MAX_SAFE_INTEGER)throw new Z("cannot convert number larger than "+Number.MAX_SAFE_INTEGER);var b=a%4294967296;a/=4294967296;for(var c=new Uint8Array(8),d=7;d>=4;d--)c[d]=b&255,b>>>=8;for(b=3;b>=0;b--)c[b]=a&255,a>>>=8;return c}function uY(a){for(var b="",c=0;c1?d:"0"+d}return b} function vY(a){a=a.replace(/-/g,"+").replace(/_/g,"/");return wY(globalThis.atob(a))}function xY(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=vY(b);b=vY(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]=CY(BigInt("0x"+uY(b)),0)?3:2;return d;default:throw new Y("invalid format");}} function DY(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 EY(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=DY(zY(a));var e=d-BigInt(3);a:switch(zY(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(CY(d,0)&&CY(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 dZ=function(a,b){this.key=a;this.md=b};dZ.prototype.encrypt=function(a){var b=this,c,d,e,f;return z(function(g){if(g.g==1)return bZ(a),c=WY(b.md),d=new Uint8Array(16),d.set(c),e={name:"AES-CTR",counter:d,length:128},y(g,globalThis.crypto.subtle.encrypt(e,b.key,a),2);f=g.j;return g.return(sY(c,new Uint8Array(f)))})}; dZ.prototype.decrypt=function(a){var b=this,c,d,e;return z(function(f){if(f.g==1){bZ(a);if(a.length16)throw new Y("invalid IV length, must be at least 12 and at most 16");bZ(a);aZ(a.length);return y(d,globalThis.crypto.subtle.importKey("raw",a,{name:"AES-CTR",length:a.length},!1,["encrypt","decrypt"]),2)}c=d.j;return d.return(new dZ(c,b))})};var fZ=function(){};var gZ=function(a,b,c){this.hash=a;this.key=b;this.xd=c};q(gZ,fZ);var hZ=function(a,b){var c;return z(function(d){if(d.g==1)return bZ(b),y(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.xd)))})},iZ=function(a,b,c){var d;return z(function(e){if(e.g==1)return bZ(b),bZ(c),y(e,hZ(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 y(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 gZ(a,d,c))})};var kZ=function(a,b,c,d){this.g=a;this.md=b;this.j=c;this.xd=d};q(kZ,ZY);kZ.prototype.encrypt=function(a,b){b=b===void 0?new Uint8Array(0):b;var c=this,d,e,f;return z(function(g){if(g.g==1)return bZ(a),y(g,c.g.encrypt(a),2);if(g.g!=3)return d=g.j,bZ(b),e=tY(b.length*8),y(g,hZ(c.j,sY(b,d,e)),3);f=g.j;if(c.xd!=f.length)throw new Y("invalid tag size, expected "+c.xd+" but got "+f.length);return g.return(sY(d,f))})}; kZ.prototype.decrypt=function(a,b){b=b===void 0?new Uint8Array(0):b;var c=this,d,e,f,g,h;return z(function(k){if(k.g==1){bZ(a);if(a.length16)throw new Y("Invalid AES CTR HMAC key format: IV size is out of range: "+c);return{em:a,Of:b,md:c}},oZ=function(a){if(!a)throw new Y("Invalid AES CTR HMAC key format: key format undefined");var b=Xj(a,2);if(b<16)throw new Y("Invalid AES CTR HMAC key format: HMAC key is too small: "+ Xj(a,2));a=I(a,rX,1);if(!a)throw new Y("Invalid AES CTR HMAC key format: params undefined");var c=Xj(a,2);if(c<10)throw new Y("Invalid HMAC params: tag size "+c+" is too small.");if(!pZ.has(bk(a,1)))throw new Y("Unknown hash type.");if(c>pZ.get(bk(a,1)))throw new Y("Invalid HMAC params: tag size "+c+" is out of range.");switch(bk(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{cn:a,bn:b,Ym:d,xd:c}},pZ=new Map([[1,20],[3,32],[4,64]]), qZ=function(){this.g=new mZ};m=qZ.prototype; m.Jb=function(a,b){var c,d,e,f,g,h=this,k,l,p,n,r,u;return z(function(t){if(t.g==1){if(a!=h.Ya())throw new Y("Requested primitive type which is not supported by this key manager.");if(b instanceof cY){if(!h.me(J(b,1)))throw new Y("Key type "+J(b,1)+" is not supported. This key manager supports "+h.lb()+".");try{k=wX(b.getValue())}catch(G){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 tX)k=b;else throw new Y("Given key type is not supported. This key manager supports "+h.lb()+".");var x=I(k,qX,2);if(!x)throw new Y("Invalid AES CTR HMAC key format: key undefined");cZ(x.getVersion(),h.getVersion());var A=new xX;var F=I(x,pX,2);A=Rj(A,1,F);F=rY(Aj(x,3));A=fk(A,2,F);A=nZ(A).md;f=qY(Aj(x,3));g=A;l=f;p=g;x=I(k,sX,3);if(!x)throw new Y("Invalid AES CTR HMAC key format: key undefined");cZ(x.getVersion(),h.getVersion());A=new yX;F=I(x,rX,2);A=Rj(A,1,F);F=rY(Aj(x,3)); A=fk(A,2,F);F=oZ(A);A=F.Ym;F=F.xd;c=qY(Aj(x,3));d=A;e=F;n=c;r=d;u=e;return y(t,lZ(l,p,r,n,u),2)}return t.return(t.j)})};m.me=function(a){return a===this.lb()};m.lb=function(){return"type.googleapis.com/google.crypto.tink.AesCtrHmacAeadKey"};m.Ya=function(){return ZY};m.getVersion=function(){return 0};m.pe=function(){return this.g};var rZ=function(a){var b=a.key;a=a.Mc;this.key=b;this.Mc=a};rZ.prototype.encrypt=function(a,b,c){var d=this,e,f;return z(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 y(g,globalThis.crypto.subtle.encrypt(e,d.key,b),2)}f=g.j;return g.return(d.Mc?sY(a,new Uint8Array(f)):new Uint8Array(f))})}; rZ.prototype.decrypt=function(a,b,c){var d=this,e,f,g,h,k;return z(function(l){if(l.g==1){e=d.Mc?28:16;if(b.length5)){k.g=2;break}d=a.subarray(0,5);return y(k,pY(c.g,d),3);case 3:return e=k.j,f=a.subarray(5,a.length),k.l=4,y(k,zZ(e,f,b),6);case 6:g=k.j;k.g=5;k.l=0;break;case 4:xa(k);case 5:if(g)return k.return(g);case 2:return y(k,pY(c.g,lY),7);case 7:return h=k.j,k.return(zZ(h,a,b))}})}; var zZ=function(a,b,c){var d,e,f,g;return z(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");}bZ(c);bZ(d);g=e;if(e==null||g===void 0||g.length==0)g=new Uint8Array(f); bZ(g);return y(t,jZ(b,g,f),2);case 2:return h=t.j,y(t,hZ(h,c),3);case 3:return k=t.j,y(t,jZ(b,k,f),4);case 4:h=t.j,l=1,p=0,n=new Uint8Array(0),r=new Uint8Array(a);case 5:return u=new Uint8Array(n.length+d.length+1),u.set(n,0),u.set(d,n.length),u[u.length-1]=l,y(t,hZ(h,u),8);case 8:n=t.j;if(p+n.length>8*(a-d-1)&255;return c}function f_(a){var b=a.ld;var c=a.kd;return sY(e_,a.zb,wY(b),c)}function g_(a){var b=a.Nd;var c=a.info;var d=a.zb;return sY(VZ(2,a.length),e_,d,wY(b),c)}function h_(a){switch(a){case 2:return 1;case 4:return 3;default:throw new Z("Unrecognized NIST HPKE KEM identifier");}} function i_(a,b){var c;return z(function(d){return d.g==1?(c=FY(a,1,b),y(d,JY(c),2)):d.return(d.j)})}function j_(a){var b=a.Lh;var c=a.publicKey;var d=a.privateKey;var e;return z(function(f){return f.g==1?(e=FY(b,1,c),e.d=xY(d),y(f,KY(e),2)):f.return(f.j)})}function k_(a){var b,c;return z(function(d){if(d.g==1)return b=a.algorithm,y(d,IY(a),2);c=d.j;if(!c.crv)throw new Y("Curve has to be defined.");return d.return(AY(b.namedCurve,1,c))})};var l_=function(a,b,c,d){this.Vh=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 n_(a,b,c,d,e,f){var g,h,k,l,p,n,r,u,t;return z(function(x){switch(x.g){case 1:a:{switch(e.wg){case 16:var A=a_;break a;case 32:A=b_;break a}A=void 0}a:{switch(d.pg){case "SHA-256":var F=ZZ;break a;case "SHA-512":F=$Z;break a}F=void 0}g=sY(d_,o_(c),F,A);h=p_(d,{kd:new Uint8Array(0),ld:"psk_id_hash",zb:g});return y(x,p_(d,{kd:f,ld:"info_hash",zb:g}),2);case 2:return k=x.j,y(x,h,3);case 3:return l=x.j,p=sY(WZ,l,k),y(x,p_(d,{kd:new Uint8Array(0),ld:"secret",zb:g,salt:b}),4);case 4:return n=x.j, r=q_(d,{gk:n,info:p,Nd:"key",zb:g,length:e.wg}),y(x,q_(d,{gk:n,info:p,Nd:"base_nonce",zb:g,length:12}),5);case 5:return u=x.j,y(x,r,6);case 6:return t=x.j,x.return(new l_(a,t,u,e))}})}function r_(a,b,c,d,e){var f,g,h;return z(function(k){return k.g==1?y(k,b.Uh(a),2):k.g!=3?(f=k.j,g=f.Vh,h=f.Wn,y(k,n_(g,h,b,c,d,e),3)):k.return(k.j)})}function s_(a,b,c,d,e,f){var g;return z(function(h){return h.g==1?y(h,c.Mh(a,b),2):h.g!=3?(g=h.j,y(h,n_(a,g,c,d,e,f),3)):h.return(h.j)})};var t_=function(a,b){this.privateKey=a;this.publicKey=b},u_=function(a){return z(function(b){return b.g==1?y(b,k_(a.publicKey),2):b.return(b.j)})};function v_(a){var b=a.privateKey;var c=a.publicKey;var d=a.Lh;var e,f;return z(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 y(g,i_(yY(d),c),2)}if(g.g!=3)return e=g.j,y(g,j_({Lh:yY(d),publicKey:c,privateKey:b}),3);f=g.j;return g.return(new t_(f,e))})} function w_(a){return z(function(b){x_(a.privateKey,"private");x_(a.publicKey,"public");return b.return(new t_(a.privateKey,a.publicKey))})}function x_(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 y_=function(a){this.wg=a};y_.prototype.seal=function(a){var b=a.key;var c=a.nonce;var d=a.Nn;var e=a.wh;var f=this,g;return z(function(h){if(h.g==1){if(b.length!==f.wg)throw new Y("Unexpected key length: "+b.length.toString());return y(h,sZ({key:b,Mc:!1}),2)}return h.g!=3?(g=h.j,y(h,g.encrypt(c,d,e),3)):h.return(h.j)})}; y_.prototype.open=function(a){var b=a.key;var c=a.nonce;var d=a.mm;var e=a.wh;var f=this,g;return z(function(h){if(h.g==1){if(b.length!==f.wg)throw new Y("Unexpected key length: "+b.length.toString());return y(h,sZ({key:b,Mc:!1}),2)}g=h.j;return h.return(g.decrypt(c,d,e))})};var z_=function(a){this.pg=a},p_=function(a,b){var c=b.kd;var d=b.ld;var e=b.zb;var f=b.salt;return z(function(g){return g.g==1?y(g,A_(a,f_({ld:d,kd:c,zb:e}),f),2):g.return(g.j)})},q_=function(a,b){var c=b.gk;var d=b.info;var e=b.Nd;var f=b.zb;var g=b.length;return z(function(h){return h.g==1?y(h,a.expand(c,g_({Nd:e,info:d,zb:f,length:g}),g),2):h.return(h.j)})},B_=function(a,b){var c=b.kd;var d=b.ld;var e=b.info;var f=b.Nd;var g=b.zb;var h=b.length;var k=b.salt;var l;return z(function(p){return p.g== 1?y(p,A_(a,f_({ld:d,kd:c,zb:g}),k),2):p.g!=3?(l=p.j,y(p,a.expand(l,g_({Nd:f,info:e,zb:g,length:h}),h),3)):p.return(p.j)})}; z_.prototype.expand=function(a,b,c){var d=this,e,f,g,h,k,l,p;return z(function(n){switch(n.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=C_(d);if(c>255*e)throw new Y("length too large");bZ(b);return y(n,jZ(d.pg,a,e),2);case 2:f=n.j,g=1,h=0,k=new Uint8Array(0),l=new Uint8Array(c);case 3:return p=new Uint8Array(k.length+b.length+1),p.set(k,0),p.set(b,k.length),p[p.length-1]=g,y(n,hZ(f,p),6);case 6:k=n.j;if(h+k.length25)a.A=!0},touchend:function(b){return void n0(a,b)}},Gb(a.G,function(b,c){a.g.addEventListener(c,b,!1)})):a.K.listen(a.g,"click",a.Y)},l0=function(a){a.K.pa(a.g,"click",a.Y);Gb(a.G,function(b,c){this.g.removeEventListener(c,b,!1)},a);a.G={}},n0=function(a,b){!a.D||a.j!==1||a.A||a.L||a.B||!m0(a,b.changedTouches)||(a.l=window.setTimeout(function(){return void p0(a)},300));a.j=b.touches.length;a.j===0&&(a.D=!1,a.A=!1,a.o=[]);a.L=!1};k0.prototype.Y=function(){p0(this)}; var m0=function(a,b){for(var c=0;c
';b=Math.max(0,Math.ceil(b-0));for(var d=0;d
';return Lz(c+"
")},y0=function(){return Lz('
')};var z0=function(){FL.call(this);this.element=oA(y0);this.j=Ke("fullSlotContentContainer",this.element);this.l=Ke("fullSlotBottomBar",this.element)};q(z0,HL);var A0=function(a,b){a.l&&b.element&&a.l.appendChild(b.element)},B0=function(a,b){a.j&&b.element&&a.j.appendChild(b.element)};var C0=function(a,b,c,d,e,f,g){w0.call(this,b);this.l=a;this.A=c;this.uiConfig=d;this.ta=e;this.C=f;this.B=g;this.o=[];this.g=0;this.view=new z0;this.j=new IG(this)};q(C0,w0);m=C0.prototype; m.build=function(){var a=this;IL(this.view,this.A);this.l.forEach(function(d,e){d=d.ed(a.uiConfig);a.o.push(d);var f=hM(d);f!=null&&a.j.listen(f,"click",function(g){g.stopPropagation();PH(a.I,yI,null)});new TK(d,a.I,RI);a.j.listen(d,"click",function(){a.g=e});B0(a.view,d)});if(this.C){var b=new kM({rf:!0,Yg:!0,rc:hP("promoskip")});A0(this.view,b);b=new hL(b,this.I,5);M(this,b);b=new ML;A0(this.view,b);new dL(b,this.I);b=new JL;new OK(b,this.I,yI);b.l(this.ta);A0(this.view,b);b.show();if(this.B){var c= new lM(!0);new OK(c,this.I,bJ);GL(b,c)}}uK(this.view.element,.3).play();PH(this.I,TI,null)};m.P=function(){Xe(this.view.Ia());w0.prototype.P.call(this)};m.Re=function(){return this.view.j};m.show=function(){};m.ca=function(){};m.ne=function(){return this.l[this.g]};m.ig=function(){return this.o[this.g]};var D0=function(a,b){FL.call(this);var c=this;this.D=b;this.l=this.o=null;this.B=!1;this.element=oA(x0,{Xj:a,margin:(57-10*a)/a});this.j=Ke("innerContainer",this.element);this.A=Array.from((this.element||document).querySelectorAll(".overlaySelector"));this.A.forEach(function(d,e){c.g.listen(d,"click",function(f){c.select(e);f.stopPropagation()})});this.select(0);this.g.listen(this.element,"mouseover",function(){c.dispatchEvent("mouseover")});this.g.listen(this.element,"mouseout",function(){c.dispatchEvent("mouseout")})}; q(D0,HL);D0.prototype.Zd=function(a){this.B=a;this.l&&this.l.Zd(a)};D0.prototype.select=function(a){this.o!=null&&jz(this.A[this.o],"active");hz(this.A[a],"active");this.o=a;this.D(a)};var E0=function(a,b){if(a.l){var c;(c=a.j)==null||c.removeChild(a.l.Ia());a.g.pa(b,"click")}a.l=b;a.l.Zd(a.B);var d;(d=a.j)==null||d.appendChild(b.element);a.g.listen(b,"click",function(e){a.dispatchEvent(e);e.stopPropagation()})};m=D0.prototype;m.sk=function(a){rK(this.j,"opacity "+a/1E3+"s")}; m.show=function(){Qn(this.j,!0)};m.ca=function(){Qn(this.j,!1)};m.hj=function(){Pn(this.j,1)};m.Hj=function(){Pn(this.j,.3)};var F0=function(a,b,c,d){w0.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 IG(this);this.o=new $t(15E3);this.view=new D0(a.length,function(f){e.select(f)})};q(F0,w0);m=F0.prototype; m.build=function(){var a=this;IL(this.view,this.B);new WK(this.view,this.I,!1);new TK(this.view,this.I,RI);this.l=this.C.map(function(b){var c=b.ed(a.uiConfig),d=hM(c);d!=null&&a.A.listen(d,"click",function(e){e.stopPropagation();PH(a.I,yI,null)});d=new XL;new RK(d,a.I,GI);GL(c,d);b.Yb&&(b=new lM(!0),new OK(b,a.I,bJ),GL(c,b));return c});this.select(0);this.g=new jM;new eL(this.g,this.I,GI);GL(this.view,this.g);OH(this.I,GI,function(){return void a.stop()});OH(this.I,XI,function(){return void a.play()}); this.A.listen(this.o,"tick",this.ol);this.play()};m.P=function(){Xe(this.view.Ia());w0.prototype.P.call(this)};m.play=function(){this.o.start()};m.stop=function(){this.o.stop()};m.ol=function(){this.view.select((this.j+1)%this.l.length)};m.select=function(a){a!==this.j&&this.l[a]&&(E0(this.view,this.l[a]),this.j=a,PH(this.I,TI,null))};m.Re=function(){var a=this.ig();return a?a.Ia():null};m.ig=function(){return this.l[this.j]};m.show=function(){this.view&&this.view.show();this.g&&this.g.ca()}; m.ca=function(){this.view&&this.view.ca();this.g&&this.g.show()};m.ne=function(){return this.C[this.j]};var X0=function(a){this.I=a},Y0=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})},Z0=function(a,b){var c=Qe().screen;if(c){var d=c.availWidth||c.width,e=c.availHeight||c.height,f=new ge(0,e),g=Number.MAX_VALUE,h=null;b.forEach(function(k,l){l=a[l];if(l.B){var p=new ge(Pd(lE(k,d)),Pd(mE(k,e)));k=f.x-p.x;p=f.y-p.y;k=Math.sqrt(k*k+p*p);g>k&&(h=l,g=k)}});h!=null&&(b=h.Ia(),b!=null&&b.focus())}};var $0=function(a,b,c,d){KK.call(this,b);var e=this;this.A=d;this.j=new NH;new lL(a,this.j,c,!1);OH(this.j,$I,function(){e.A.show()});LK(this,hJ,this.l,this)};q($0,KK);$0.prototype.l=function(a){PH(this.j,hJ,a)};var a1=function(a,b){KK.call(this,b);var c=this;this.view=a;M(this,this.view);this.g.listen(this.view.j,"wtaClicked",function(d){d=d.detail;d.underlyingEvent.preventDefault();MK(c,uI,d.wtaUrl)});this.g.listen(this.view.j,"learnMoreClicked",function(d){d=d.detail;d.underlyingEvent.preventDefault();MK(c,uI,d.learnMoreUrl)});this.g.listen(this.view.j,"updateGpid",function(d){d=d.detail;MK(c,vI,new wI(d.gpidType,d.gpidPersonalizationEnabled,d.gpidShouldResetAdsData))});this.g.listen(this.view.j,"p-control-panel-hidden", function(){return void MK(c,tI,null)});LK(this,dJ,function(d){d||c.ca()},this)};q(a1,KK);a1.prototype.show=function(){this.view.show();MK(this,sI,null)};a1.prototype.ca=function(){this.view.ca()};var b1=function(a){FL.call(this);this.element=Te(document,"div");this.element!==null&&(this.element.id="ima_"+a)};q(b1,FL);var c1=function(){return Lz('')};var d1=function(a){FL.call(this);var b=this;this.o=this.l=!1;this.element=oA(c1);var c;(c=I(a,Au,1))!=null&&hk(c,40,"https://support.google.com/ads/answer/10923348");if(!a)throw Error("bad attrdata");c=new kz(a);this.j=new BA(a,c);this.g.listen(this.j,"p-control-panel-hidden",function(){b.l=!1})};q(d1,HL);d1.prototype.show=function(){this.l||(this.o||(this.j.render(),this.o=!0),this.j.expand(),this.l=!0)};d1.prototype.ca=function(){this.l&&(this.j.collapse(),this.l=!1)};var e1=function(a,b,c,d,e,f){f=f===void 0?!1:f;JK.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 NL([this.g.F],this.g.A?"videoAdUiTopBar-gvn":"videoAdUiTopBarWithGradients",!this.g.g,this.j);SL(this.view,!this.j&&(!xF()||!1));this.G=new IG(this);M(this,this.G);document.addEventListener("click",function(h){var k=g.view.Ia().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),GB(U().g))},!0);this.L=new X0(b)};q(e1,JK);m=e1.prototype; m.build=function(){var a=this;IL(this.view,this.D);OL(this.view);Go(this,function(){return Xe(a.view.Ia())});this.g.fb&&GL(this.view,new b1(this.g.fb));if(this.g.isSkippable()){OH(this.I,ZI,function(){a.B=!0});var b=new kM({rf:!0,Yg:!0,hh:this.g.hh,rc:hP("promoskip")});RL(this.view,b);var c=new hL(b,this.I,this.g.C);M(this,c);this.o&&b.ca()}if(this.g.j&&!this.o){var d=new KL(this.j);this.j?RL(this.view,d):this.g.A?(QL(this.view,d),PL(this.view)):RL(this.view,d);this.g.l?new dL(d,this.I):d.show()}this.g.B&& (b=new lM(!0),new OK(b,this.I,bJ),this.j?RL(this.view,b):d?GL(d,b):this.g.A?QL(this.view,b):RL(this.view,b));this.j&&(d=new iM,cL(new bL(d,this.I)),WL(this.view,d),OH(this.I,dJ,function(e){a.C&&(TL(a.view,!e),UL(a.view,!e))}));if(this.j||this.g.o&&!this.o)d=new ZL("author"),new PK(d,this.I,EI,oI),QL(this.view,d),d=new JL,new PK(d,this.I,FI,rI),this.j?VL(this.view,d):QL(this.view,d),d=new LL,new PK(d,this.I,zI,pI),this.j?VL(this.view,d):QL(this.view,d),OH(this.I,oI,function(){return void PL(a.view)}), OH(this.I,rI,function(){return void PL(a.view)}),OH(this.I,pI,function(){return void PL(a.view)});this.j?new VK(this.view,this.I,!0):this.o||(d=AI,this.g.g||!this.g.G?d=cJ:new NK(this.view,!0),this.K?new TK(this.view,this.I,d):(new OK(this.view,this.I,d),this.view.Zd(!0)));this.g.va.forEach(function(e){var f=null;if(a.g.J&&e.yb==="GoogleWhyThisAd"){f=new ZL("vast");var g=new d1(a.g.J);IL(g,a.D);Go(a,function(){return Xe(g.Ia())});var h=new a1(g,a.I);new $0(f,a.I,e,h)}else f=hP("force_wta_top_left")? new ZL("freeplayWta"):new ZL("vast"),new lL(f,a.I,e,KQ(e.l));$L(f,e.g,e.j);GL(a.view,f);a.A.push(f)});this.j?(this.l=new bM,new PK(this.l,this.I,OI,qI)):(this.l=new cM,new OK(this.l,this.I,OI));this.g.D!=null&&(d=new YL(this.g.D),new UK(d,this.I),WL(this.view,d));OH(this.I,hJ,function(e){!a.j&&e&&e.durationSeconds>0&&e.durationSeconds-e.currentTimeSeconds<5&&SL(a.view,!1);a.j&&!a.C&&e&&e.currentTimeSeconds>5&&(a.C=!0,TL(a.view,!0),UL(a.view,!0))});OH(this.I,LI,function(){var e=a.L,f=a.A,g=a.g.va, h=a.g.isSkippable();Y0(f)||(h?PH(e.I,MI,null):Z0(f,g))});this.Ce()};m.De=function(){this.B&&PH(this.I,xI,null)};m.Pg=function(){!this.F&&this.g.o&&!this.o&&this.g.g&&this.l&&(this.F=!0,QL(this.view,this.l),PL(this.view))};m.Ce=function(){var a=this,b=Nn(this.view.Ia()),c=b.height;hP("force_wta_top_left")&&(c=c-16-20-2);this.g.va.forEach(function(d,e){a.g.va.length===a.A.length&&aM(a.A[e],lE(d,b.width),mE(d,c))})};m.getConfig=function(){return this.g};var f1=function(a,b,c,d,e,f,g){g=g===void 0?!1:g;JK.call(this,c);this.g=new e1(b,c,d,e,f,g);this.j=new C0([a],c,d,new PR,"",!1,!1)};q(f1,JK);m=f1.prototype;m.build=function(){this.g.build();this.j.build()};m.De=function(){this.g.De()};m.Pg=function(){this.g.Pg()};m.Ce=function(){this.g.Ce()};m.getConfig=function(){return this.g.getConfig()};m.P=function(){this.g.dispose();this.j.dispose()};var g1=function(a,b,c,d){JK.call(this,a);this.l=b;this.g=c;this.o=d;this.j=null;this.view=new NL(["videoAdUiInstreamUxRefresh","endcap"],"",!0,!0)};q(g1,JK); g1.prototype.build=function(){IL(this.view,this.l);OL(this.view);this.j=new kM({rf:!0,Yg:!0,rc:hP("promoskip")});RL(this.view,this.j);new hL(this.j,this.I,0);var a=new bM(this.g.actions[0].title);new OK(a,this.I,KI);QL(this.view,a);a=new JL;var b;if((b=this.g.Vc)==null?0:b.Sb)a.l(this.g.Vc.Sb),a.show();new OK(a,this.I,KI);WL(this.view,a);b=new LL;var c;if((c=this.g.Vc)==null?0:c.description)b.l(this.g.Vc.description),b.show();WL(this.view,b);new OK(b,this.I,KI);c=new ZL("author");var d;if(b=((d=this.g.Vc)== null?void 0:d.Ja)||this.o)c.l(b),c.show();new OK(c,this.I,KI);QL(this.view,c);PL(this.view)};var h1=function(a){var b;(b=a.j)!=null&&b.j&&b.j.focus()};g1.prototype.P=function(){Xe(this.view.Ia());this.view.dispose();JK.prototype.P.call(this)};function i1(a,b){b!=null&&(a.j=b.includes("adAttribution"),a.l=b.includes("countdown"))} function j1(a,b){b=b===void 0?6:b;var c=new k1;var d=a.getDuration()!==-1&&a.getDuration()!==0&&a.getDuration()<=7;c.C=d?-1:a.getSkipTimeOffset();c.va=RS(a);c.fb=yS(a);hP("force_wta_top_left")&&l1(c.va);if(XP().o==="tvos"){var e,f,g,h;d=new he((g=(e=a.na)==null?void 0:e.linearAdSlotWidth)!=null?g:0,(h=(f=a.na)==null?void 0:f.linearAdSlotHeight)!=null?h:0);m1(c.va,d)}c.G=!D(E(JS(a)));c.o=a.getDuration()>b||a.getDuration()===0;a.j&&(c.F=jN(a.j)||"");b=gP();aP(b,"disableSkipFadeTransition")&&(c.hh=0); if(n1(RS(a))){var k;b=((k=rS(a).get("GpidWtaExtension"))!=null?k:[])[0];c.J=b==null?void 0:b.j}if(a=(rS(a).get("watermark")||[]).pop())c.D={sf:a.sf};return c}function n1(a){return a.some(function(b){return b.yb==="GoogleWhyThisAd"})}function l1(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 m1(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 o1=function(a){FL.call(this);this.element=Se("DIV","nonLinearContainer");a&&hz(this.element,"autoalign")};q(o1,HL);var p1=function(a,b,c,d,e,f){w0.call(this,b);this.l=a;this.A=c;this.j=this.g=null;this.o=new IG(this);M(this,this.o);this.view=new o1(d);this.C=e;this.uiConfig=f};q(p1,w0);m=p1.prototype; m.build=function(){var a=this;IL(this.view,this.A);Go(this,function(){return Xe(a.view.Ia())});this.g=this.l.ed(this.uiConfig);var b=hM(this.g);b!=null&&this.o.listen(b,"click",function(c){c.stopPropagation();PH(a.I,yI,null)});b=this.l.getMinSuggestedDuration()*1E3;new WK(this.g,this.I,!0,b);new TK(this.g,this.I,RI);GL(this.view,this.g);this.C&&(b=new XL,new RK(b,this.I,GI),GL(this.g,b),this.j=new jM,new eL(this.j,this.I,SI),GL(this.view,this.j));this.l.Yb&&(b=new lM(!0),new OK(b,this.I,bJ),GL(this.g, b));PH(this.I,TI,null)};m.Re=function(){return this.g?this.g.Ia():null};m.show=function(){this.j&&this.j.ca();this.g&&this.g.show()};m.ca=function(){this.j&&this.j.show();this.g&&this.g.ca()};m.ne=function(){return this.l};m.ig=function(){return this.g};var q1=function(){return Lz('
')};var r1=function(){FL.call(this);this.element=oA(q1);this.j=Ke("safeFrameParent",this.element);this.l=Ke("safeFrameBottomBar",this.element)};q(r1,HL);var s1=function(a,b){b.element&&a.l.appendChild(b.element)};var t1=function(a){var b={};Za(a,function(c){b[c.g()]=c.j()});return b};var u1=function(a,b,c,d,e,f){L.call(this);this.o=a;this.status=1;this.l=b;this.j=c;this.K=d;this.sg=!!e;this.A=Math.random();this.C={};this.g=null;this.D=Ra(this.G,this);this.B=f};q(u1,L); u1.prototype.G=function(a){if(!(this.j!=="*"&&a.origin!==this.j||!this.sg&&a.source!=this.l)){var b=null;try{b=JSON.parse(a.data)}catch(c){}if(Ma(b)&&(a=b.i,b.c===this.o&&a!=this.A)){if(this.status!==2)try{this.status=2,v1(this),this.g&&(this.g(),this.g=null)}catch(c){}a=b.s;b=b.p;if(typeof a==="string"&&(typeof b==="string"||Ma(b))&&this.C.hasOwnProperty(a))this.C[a](b)}}};var v1=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)}; u1.prototype.F=function(){if(this.status===1){try{this.l.postMessage&&v1(this)}catch(a){}window.setTimeout(Ra(this.F,this),50)}};u1.prototype.connect=function(a){a&&(this.g=a);rf(window,"message",this.D);this.K&&this.F()};var w1=function(a,b,c){a.C[b]=c},x1=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){}};u1.prototype.P=function(){this.status=3;sf(window,"message",this.D);L.prototype.P.call(this)};function y1(a,b){b=b===void 0?{}:b;var c={};c=(c.frameborder=0,c.allowTransparency="true",c.style="border:0;vertical-align:bottom;",c.src="about:blank",c);Yb(c,b);Me(a,c)};var z1=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},A1=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})},B1=function(a){var b= window,c=b.screenX||b.screenLeft||0,d=b.screenY||b.screenTop||0;b=new ln(d,c+(b.outerWidth||document.documentElement.clientWidth||0),d+(b.outerHeight||document.documentElement.clientHeight||0),c);c=In(a);d=Nn(a);var e=new yn(c.x,c.y,d.width,d.height);c=zn(e);d=String(Fn(a,"zIndex"));var f=new ln(0,Infinity,Infinity,0);for(var g=He(a),h=g.g.body,k=g.g.documentElement,l=Oe(g.g);a=Hn(a);)if((!Wd||a.clientHeight!=0||a!=h)&&a!=h&&a!=k&&Fn(a,"overflow")!="visible"){var p=In(a),n=new ge(a.clientLeft,a.clientTop); p.x+=n.x;p.y+=n.y;f.top=Math.max(f.top,p.y);f.right=Math.min(f.right,p.x+a.clientWidth);f.bottom=Math.min(f.bottom,p.y+a.clientHeight);f.left=Math.max(f.left,p.x)}a=l.scrollLeft;l=l.scrollTop;f.left=Math.max(f.left,a);f.top=Math.max(f.top,l);g=Ne(g.g.defaultView||window);f.right=Math.min(f.right,a+g.width);f.bottom=Math.min(f.bottom,l+g.height);l=(f=(f=f.top>=0&&f.left>=0&&f.bottom>f.top&&f.right>f.left?f:null)?new yn(f.left,f.top,f.right-f.left,f.bottom-f.top):null)?An(e,f):null;g=a=0;l&&!l.getSize().isEmpty()&& (a=l.width/e.width,g=l.height/e.height);l=new ln(0,0,0,0);if(h=f)(e=An(e,f))?(k=zn(f),p=zn(e),h=p.right!=k.left&&k.right!=p.left,k=p.bottom!=k.top&&k.bottom!=p.top,h=(e.width!=0||h)&&(e.height!=0||k)):h=!1;h&&(l=new ln(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 z1(b,c,d,l,a,g)};var C1=function(a){this.A=a;this.o=null;this.D=this.status=0;this.j=null;this.ba="sfchannel"+a};C1.prototype.Aa=function(){return this.status==1};var D1=ra(["https://s0.2mdn.net/ads/richmedia/studio/mu/templates/hifi/hifi.js"]),E1=ra(["https://s0.2mdn.net/ads/richmedia/studio_canary/mu/templates/hifi/hifi_canary.js"]);({})[3]=Ee(D1);({})[3]=Ee(E1);var F1=function(a){this.g=a};F1.prototype.getValue=function(a,b){return this.g[a]==null||this.g[a][b]==null?null:this.g[a][b]};var G1=function(a,b){this.eg=a;this.fg=b;this.j=this.g=!1};var H1=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.sg=g;this.hostpageLibraryTokens=h;this.g=""};function I1(a){return typeof a==="number"||typeof a==="string"}var J1=function(a,b){this.j=a;this.l=b};J1.prototype.g=function(a){this.l&&a&&(a.sentinel=this.l);return JSON.stringify(a)};var K1=function(a,b,c){J1.call(this,a,c===void 0?"":c);this.version=b};q(K1,J1);K1.prototype.g=function(){return J1.prototype.g.call(this,{uid:this.j,version:this.version})};var L1=function(a,b,c,d){J1.call(this,a,d===void 0?"":d);this.A=b;this.o=c};q(L1,J1); L1.prototype.g=function(){return J1.prototype.g.call(this,{uid:this.j,initialWidth:this.A,initialHeight:this.o})};var M1=function(a,b,c){J1.call(this,a,c===void 0?"":c);this.description=b};q(M1,J1);M1.prototype.g=function(){return J1.prototype.g.call(this,{uid:this.j,description:this.description})};var N1=function(a,b,c,d){J1.call(this,a,d===void 0?"":d);this.expand=b;this.push=c};q(N1,J1); N1.prototype.g=function(){return J1.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 O1=function(a,b){J1.call(this,a,b===void 0?"":b)};q(O1,J1);O1.prototype.g=function(){return J1.prototype.g.call(this,{uid:this.j})};var P1=function(a,b,c){J1.call(this,a,c===void 0?"":c);this.o=b};q(P1,J1); P1.prototype.g=function(){var a={uid:this.j,newGeometry:A1(this.o)};return J1.prototype.g.call(this,a)};var Q1=function(a,b,c,d,e,f){P1.call(this,a,c,f===void 0?"":f);this.success=b;this.expand=d;this.push=e};q(Q1,P1);Q1.prototype.g=function(){var a={uid:this.j,success:this.success,newGeometry:A1(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 R1=function(a,b,c,d){J1.call(this,a,d===void 0?"":d);this.width=b;this.height=c};q(R1,J1);R1.prototype.g=function(){return J1.prototype.g.call(this,{uid:this.j,width:this.width,height:this.height})};var S1=function(a){var b;if((b=a.location)==null?0:b.ancestorOrigins)return a.location.ancestorOrigins.length;var c=0;Lf(function(){c++;return!1},a);return c};var T1=function(){this.g=[]},V1=function(a,b,c,d,e){a.g.push(new U1(b,c,d,e))},W1=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},U1=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 a2=function(a){C1.call(this,a.uniqueId);var b=this;this.B=a.sa;this.N=a.size===1;this.aa=new G1(a.permissions.eg&&!this.N,a.permissions.fg&&!this.N);this.C=a.Di;var c;this.qa=(c=a.hostpageLibraryTokens)!=null?c:[];var d=window.location;c=d.protocol;d=d.host;this.oa=c=="file:"?"*":c+"//"+d;this.Fa=!!a.sg;this.T=a.Ie?"//"+a.Ie+".safeframe.googlesyndication.com":"//tpc.googlesyndication.com";this.ia=a.xb?"*":"https:"+this.T;this.W=X1(a);this.l=new T1;Y1(this,a);this.o=this.Y=B1(a.Di);this.K=a.zf|| "1-0-40";var e;this.ea=(e=a.qq)!=null?e:"";Z1(this,a);this.F=xB(412,function(){return $1(b)},a.zc);this.G=-1;this.J=0;var f=xB(415,function(){b.g&&(b.g.name="",a.bk&&a.bk(),sf(b.g,"load",f))},a.zc);rf(this.g,"load",f);this.ji=xB(413,this.ji,a.zc);this.Hi=xB(417,this.Hi,a.zc);this.Ji=xB(419,this.Ji,a.zc);this.Wh=xB(411,this.Wh,a.zc);this.Eh=xB(409,this.Eh,a.zc);this.L=xB(410,this.L,a.zc);this.Bi=xB(416,this.Bi,a.zc);this.j=new u1(this.ba,this.g.contentWindow,this.ia,!1);w1(this.j,"init_done",Ra(this.ji, this));w1(this.j,"register_done",Ra(this.Hi,this));w1(this.j,"report_error",Ra(this.Ji,this));w1(this.j,"expand_request",Ra(this.Wh,this));w1(this.j,"collapse_request",Ra(this.Eh,this));w1(this.j,"creative_geometry_update",Ra(this.L,this));this.j.connect(Ra(this.Bi,this))};q(a2,C1); var Y1=function(a,b){var c=b.Di;var d=b.size;b=b.qn;a.N?(c.style.width=Ln("100%"),c.style.height=Ln("auto")):b||(c.style.width=Ln(d.width),c.style.height=Ln(d.height))},Z1=function(a,b){var c=b.xb;var d=b.content;var e=b.en;var f=b.size;var g=b.fn===void 0?"3rd party ad content":b.fn;var h=b.sq;var k=b.lq;var l=(b=b.qn)||!c;d=b||!c?d!=null?d:"":"";var p={shared:{sf_ver:a.K,ck_on:ZW()?1:0,flash_ver:"0"}};d=a.K+";"+d.length+";"+d;p=new H1(a.A,a.oa,a.Y,a.aa,new F1(p),a.N,a.Fa,a.qa);var n={};n.uid=p.j; n.hostPeerName=p.l;n.initialGeometry=A1(p.o);var r=p.permissions;r=JSON.stringify({expandByOverlay:r.eg,expandByPush:r.fg,readCookie:r.g,writeCookie:r.j});n=(n.permissions=r,n.metadata=JSON.stringify(p.metadata.g),n.reportCreativeGeometry=p.A,n.isDifferentSourceWindow=p.sg,n.goog_safeframe_hlt=t1(p.hostpageLibraryTokens),n);p.g&&(n.sentinel=p.g);p=JSON.stringify(n);n=f.width;f=f.height;a.N&&(f=n=0);r={};e=(r.id=e,r.title=g,r.name=d+p,r.scrolling="no",r.marginWidth="0",r.marginHeight="0",r.width=String(n), r.height=String(f),r["data-is-safeframe"]="true",r);l&&(g=a.ea,l=a.T,f=a.K,(d=g)&&(d="?"+d),l=(l===void 0?"//tpc.googlesyndication.com":l)+("/safeframe/"+f+"/html/container.html"+d),(f=S1(Qe(Ge(a.C))))&&(l+=(g?"&":"?")+"n="+f),e.src="https:"+l);a.W!==null&&(e.sandbox=a.W);h&&(e.allow=h);k&&(e.credentialless="true");e["aria-label"]="Advertisement";e.tabIndex="0";b?(a.C.removeChild(c),y1(c,e),a.g=c):c?(a.g=c,Me(a.g,e)):(c=Vf("IFRAME"),y1(c,e),a.g=c);a.N&&(a.g.style.minWidth="100%");a.C.appendChild(a.g)}; m=a2.prototype;m.Bi=function(){rf(window,"resize",this.F);rf(window,"scroll",this.F)}; m.ji=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(!Ma(b)||!I1(b.uid)||typeof b.version!=="string")throw Error("Cannot parse JSON message");var c=new K1(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)}}; m.Hi=function(a){try{if(!this.Aa())throw Error("Container not initialized");if(typeof a!=="string")throw Error("Could not parse serialized message");var b=JSON.parse(a);if(!Ma(b)||!I1(b.uid)||typeof b.initialWidth!=="number"||typeof b.initialHeight!=="number")throw Error("Cannot parse JSON message");if(this.A!==(new L1(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)}};m.Ji=function(a){try{if(typeof a!=="string")throw Error("Could not parse serialized message");var b=JSON.parse(a);if(!Ma(b)||!I1(b.uid)||typeof b.description!=="string")throw Error("Cannot parse JSON message");var c=new M1(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)}}; m.Wh=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(!Ma(b)||!I1(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 N1(b.uid,new ln(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.fg||!c.push&&this.aa.eg){var e=c.expand,f=c.push,g=this.o=B1(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)V1(this.l,h,"overflowX","visible","important"),V1(this.l,h,"overflowY","visible", "important");var k=zn(new yn(0,0,this.o.j.getWidth(),this.o.j.getHeight())).expand(e);V1(this.l,this.C,"position","relative");V1(this.l,this.g,"position","absolute");if(f){var l=this.l,p=this.C,n=k.getWidth();V1(l,p,"width",n+"px");var r=this.l,u=this.C,t=k.getHeight();V1(r,u,"height",t+"px")}else V1(this.l,this.g,"zIndex","10000");var x=this.l,A=this.g,F=k.getWidth();V1(x,A,"width",F+"px");var G=this.l,S=this.g,fa=k.getHeight();V1(G,S,"height",fa+"px");V1(this.l,this.g,"left",k.left+"px");V1(this.l, this.g,"top",k.top+"px");this.D=2;this.o=B1(this.g);d=!0}else d=!1}a=d;x1(this.j,"expand_response",(new Q1(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(Sb){var da;(da=this.B)==null||da.error("Invalid EXPAND_REQUEST message. Reason: "+Sb.message)}}; m.Eh=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(!Ma(b)||!I1(b.uid))throw Error("Cannot parse JSON message");if(this.A!==(new O1(b.uid,b.sentinel)).j)throw Error("Wrong source container");W1(this.l);this.D=0;this.g&&(this.o=B1(this.g));x1(this.j,"collapse_response",(new P1(this.A,this.o)).g())}catch(d){var c;(c=this.B)== null||c.error("Invalid COLLAPSE_REQUEST message. Reason: "+d.message)}};var $1=function(a){if(a.status==1||a.status==2)switch(a.J){case 0:b2(a);a.G=window.setTimeout(Ra(a.R,a),1E3);a.J=1;break;case 1:a.J=2;break;case 2:a.J=2}}; a2.prototype.L=function(a){try{if(typeof a!=="string")throw Error("Could not parse serialized message");var b=JSON.parse(a);if(!Ma(b)||!I1(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 R1(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,$1(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)}};a2.prototype.R=function(){if(this.status==1||this.status==2)switch(this.J){case 1:this.J=0;break;case 2:b2(this),this.G=window.setTimeout(Ra(this.R,this),1E3),this.J=1}};var b2=function(a){a.o=B1(a.g);x1(a.j,"geometry_update",(new P1(a.A,a.o)).g())}; a2.prototype.destroy=function(){this.status!=100&&(this.D==2&&(W1(this.l),this.D=0),window.clearTimeout(this.G),this.G=-1,this.J=3,this.j&&(this.j.dispose(),this.j=null),sf(window,"resize",this.F),sf(window,"scroll",this.F),this.C&&this.g&&this.C==(this.g.parentElement||null)&&this.C.removeChild(this.g),this.C=this.g=null,this.status=100)}; var X1=function(a){var b=null;a.nk&&(b=a.nk);return b==null?null:b.join(" ")},c2=["allow-modals","allow-orientation-lock","allow-presentation","allow-pointer-lock"],d2=["allow-top-navigation"],e2=["allow-same-origin"],f2=Sf([].concat(w(c2),w(d2)));Sf([].concat(w(c2),w(e2)));Sf([].concat(w(c2),w(d2),w(e2)));var g2=function(a){var b=a.container;var c=a.Ih;var d=a.Jh;var e=a.fb;var f=a.bf;var g=a.Ie;var h=a.zf;var k=a.skipOffset;JK.call(this,a.I);this.sa=this.safeFrame=null;this.container=b;this.Ih=c;this.Jh=d;this.fb=e;this.bf=f;this.Ie=g;this.zf=h;this.skipOffset=k;(this.g=k!=null?new kM({rf:!0}):null)&&M(this,this.g);this.view=new r1};q(g2,JK); g2.prototype.build=function(){var a=this;IL(this.view,this.container);if(this.g&&this.skipOffset!=null){var b=new hL(this.g,this.I,this.skipOffset,7);s1(this.view,this.g);M(this,b)}this.fb&&s1(this.view,new b1(this.fb));this.safeFrame=new a2({content:this.Ih,zc:this.bf,en:"safe-frame-container",sa:{info:function(){},Fq:function(){},error:function(){}},bk:function(){return void PH(a.I,PI,null)},Di:this.view.j,permissions:{eg:!1,fg:!1},Ie:this.Ie,zf:this.zf,nk:f2,size:this.Jh,uniqueId:Jd()});Go(this, function(){var e;return void((e=a.safeFrame)==null?void 0:e.destroy())});var c=this.safeFrame.g,d=function(e){(c==null?void 0:c.contentWindow)===e.source&&(e=JSON.parse(e.data),e.googMsgType==="gpi-uoo"&&PH(a.I,vI,new wI(2,!e.userOptOut,e.clearAdsData||!1)))};window.addEventListener("message",d);Go(this,function(){window.removeEventListener("message",d)})};g2.prototype.P=function(){Xe(this.view.Ia());this.view.dispose();JK.prototype.P.call(this)};var h2=function(){FL.call(this);this.element=Se("div");Cn(this.element,{position:"absolute",width:"100%",height:"100%"})};q(h2,HL);var i2=function(a,b,c,d){JK.call(this,c);this.va=a;this.fb=b;this.g=d;this.view=new h2};q(i2,JK);i2.prototype.build=function(){var a=this;window.frameElement&&Cn(window.frameElement,{"z-index":100});IL(this.view,this.g);this.fb&&GL(this.view,new b1(this.fb));this.va.forEach(function(b){var c=new ZL("vast");new lL(c,a.I,b);GL(a.view,c);var d=Nn(a.view.Ia());aM(c,lE(b,d.width),mE(b,d.height));$L(c,b.g,b.j)})};i2.prototype.P=function(){Xe(this.view.Ia());JK.prototype.P.call(this)};var j2=function(){};j2.prototype.g=function(a){Cy(a,"pagead2.googlesyndication.com")};var k2=function(){};k2.prototype.g=function(a){var b=a.j;b==="googleads.g.doubleclick.net"||b==="www.googleads.g.doubleclick.net"?Cy(a,"googleads-att.g.doubleclick.net"):(b==="pubads.g.doubleclick.net"||b==="www.pubads.g.doubleclick.net")&&Cy(a,"pubads-att.g.doubleclick.net")};var l2=["adsense","dbm","dcm","dv3","xfp"],m2=["adsense","xfp"];function n2(a,b,c){c=c===void 0?null:c;var d=$G(a.adTagUrl||"");if(zP(b.g)&&l2.includes(d))var e=new j2;else{e=b.o==="tvos";var f=b.aa==="authorized";e=jP(NA)&&e&&f&&m2.includes(d)?new k2:new wM}switch(d){case "dcm":var g=new Map;b.l!=null&&g.set("dc_submodel",b.l);c=fP.J;c!=null&&g.set("dc_rfl",dg(c));c=new WC(a.adTagUrl||"");d=YC(c,"dc_output")||[];(d.includes("vast")||d.includes("xml_vast2")||d.includes("xml_vast3"))&&g.set("dc_output","xml_vast4");c=YC(c,"dc_eid")||[];c=lD(c[0]||"");D(E(c))|| g.set("dc_eid",c);a=new Map([].concat(w(hX(a,b)),w(g)));return new AM(a,e);case "dv3":g=new Map;b.l!=null&&g.set("submodel",b.l);c=lD((new O(a.adTagUrl)).g.get("eid",""));D(E(c))||g.set("eid",c);if(c=fP.J)c=dg(c),c=encodeURIComponent(E(c)),g.set("rfl",c);a=new Map([].concat(w(hX(a,b)),w(g)));return new CM(a,e);case "adsense":return c=((g=c)==null?void 0:g.l)||[],new xM(iX(a,c,b),e);case "xfp":return new DM(gX(a,b),e);case "dbm":return new zM(hX(a,b),e);default:return new eH}};var o2="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(" "),p2=[].concat(w(fQ),w(gQ)).filter(function(a){return!o2.includes(a)}),q2=function(a){N.call(this);this.V=a};q(q2,N);m=q2.prototype;m.getAd=function(){return this.V.getAd()};m.Fc=function(){return this.V.Fc()};m.expand=function(){this.V.expand()}; m.collapse=function(){this.V.collapse()};m.Af=function(){this.V.Af()};m.destroy=function(){this.V.destroy()};m.init=function(){this.V.init()};m.start=function(){this.V.start()};m.pause=function(){this.V.pause()};m.resume=function(){this.V.resume()};m.skip=function(){this.V.skip()};m.getRemainingTime=function(){return this.V.getRemainingTime()};m.getVolume=function(){return this.V.getVolume()};m.setVolume=function(a){this.V.setVolume(a)};m.Mb=function(){this.V.Mb()}; m.resize=function(a,b){this.V.resize(a,b)};m.getDuration=function(){return this.V.getDuration()};m.getCurrentTime=function(){return this.V.getCurrentTime()};m.Zc=function(){this.V.Zc()};m.reportEvent=function(a){this.V.reportEvent(a)};m.Nb=function(a,b){this.V.Nb(a,b)};m.ab=function(a,b,c){this.V.ab(a,b,c)};m.Lc=function(){this.V.Lc()};m.tc=function(){this.V.tc()};m.toString=function(){return this.V.toString()};var r2=function(a,b,c,d){d=d===void 0?!1:d;q2.call(this,a);this.ha=b;this.O=c;this.G=d;this.K=this.g=this.D=this.A=this.F=this.l=this.j=null;this.R=!1;this.L=this.B=null;this.T=Wb(this.ha);this.o=new IG(a);M(this,this.o)};q(r2,q2);r2.prototype.init=function(){this.R||(s2(this),this.R=!0);q2.prototype.init.call(this)}; r2.prototype.start=function(){this.G||(this.ha.g=!1);q2.prototype.start.call(this);var a,b;(a=Ke("videoAdUi"))==null||(b=a.classList)==null||b.add("ima-action-ad");if(a=this.getAd())if(b=qS(a,"InfoCards"))if(this.A=NS(b))this.D=this.A.actions[0].title,this.g=this.A.Vc,this.K=this.A.actions[0].target||JS(a);var c,d;if((c=this.A)==null?0:(d=c.ud)==null?0:d.eh)if(this.G){var e=this.O.g.kc();this.D&&PH(e,qI,this.D);var f;((f=this.g)==null?0:f.Sb)&&PH(e,rI,this.g.Sb);var g;((g=this.g)==null?0:g.description)&& PH(e,pI,this.g.description);var h;((h=this.g)==null?0:h.Ja)&&PH(e,oI,this.g.Ja)}else{f=document.body;this.j=new IK(this.D);this.j.ca();this.F=Se("DIV");hz(this.F,"videoAdUiFloatingLayer");f.appendChild(this.F);this.j.Qf(this.F);((e=this.g)==null?0:e.Sb)&&this.j.qh(this.g.Sb);var k;((k=this.g)==null?0:k.description)&&this.j.Jf(this.g.description);var l;((l=this.g)==null?0:l.Ja)&&this.j.Pe(this.g.Ja);(f=(f=this.getAd())&&f.j?jN(f.j):null)&&this.j.j.element.classList.add(f)}var p,n;if((p=this.A)==null? 0:(n=p.ud)==null?0:n.fh)if(p=this.O.g.ob(),n=this.getAd(),p&&n&&this.A&&this.A.ud)if(f=this.A.ud.af,n.N=f/1E3,this.G){var r=iN(n.j);this.B=new g1(this.O.g.kc(),p,this.A,(r==null?void 0:r.g)||null);this.B.build()}else{this.l=new DK(p,f,this.D);((r=this.g)==null?0:r.Sb)&&this.l.l.qh(this.g.Sb);var u;((u=this.g)==null?0:u.description)&&this.l.l.Jf(this.g.description);var t;((t=this.g)==null?0:t.Ja)&&this.l.l.Pe(this.g.Ja)}var x;if(r=(x=this.getAd())==null?void 0:x.j){if((x=hN(r))&&x.j){var A;(A=this.l)== null||EK(A,x.j)}A=iN(r);var F;if(((F=this.g)==null||!F.Ja)&&(A==null?0:A.g)){var G;(G=this.j)==null||G.Pe(A.g||"");var S;(S=this.l)!=null&&S.l.Pe(A.g||"")}}t2(this);u2(this,"start")};r2.prototype.destroy=function(){Object.assign(this.ha,this.T);q2.prototype.destroy.call(this)}; var t2=function(a){a.j&&a.o.listen(a.j,"ctaClicked",function(){a.pause();u2(a,"ctaclick");a.Zc()});a.l&&(a.o.listen(a.l,"video_card_endcap_action",function(){return void v2(a)}),a.o.listen(a.l,"video_card_endcap_collapse",function(){return void w2(a,"video_card_endcap_collapse")}),a.o.listen(a.l,"videoSkipClicked",function(){return void w2(a,"video_card_endcap_dismiss")}))},s2=function(a){var b=a.V;a.o.listen(b,p2,function(c){return a.dispatchEvent(c)});a.o.listen(b,"start",function(){u2(a,"showui"); a.j&&a.j.show()});a.o.listen(b,"contentPauseRequested",function(c){return a.dispatchEvent(c)});a.o.listen(b,"contentResumeRequested",function(){return function(){}});a.o.listen(b,"adError",function(c){u2(a,"error");c=c.getError()||iR(RO);mR(a,RO,c.getInnerError());a.destroy()});a.o.listen(b,"allAdsCompleted",function(){return void x2(a)});a.o.listen(b,"skip",function(){u2(a,"skip");a.l=null;var c;(c=a.B)==null||c.dispose();a.B=null;a.j&&a.j.ca();a.destroy()})},x2=function(a){u2(a,"complete");a.j&& a.j.ca();if(a.l)a.O.g.Qc(),a.l.show();else if(a.B){a.O.g.Qc();var b=a.O.g.kc();OH(b,YI,function(){w2(a,"video_card_endcap_collapse")});OH(b,KI,function(){v2(a)});a.O.j.Ec&&h1(a.B);var c,d,e;a.L=setTimeout(function(){w2(a,"video_card_endcap_collapse")},(e=(c=a.A)==null?void 0:(d=c.ud)==null?void 0:d.af)!=null?e:0)}else a.dispatchEvent(X({type:"contentResumeRequested",ad:a.getAd()})),a.dispatchEvent(X({type:"allAdsCompleted",ad:a.getAd()}));Object.assign(a.ha,a.T)},v2=function(a){u2(a,"endcapclick"); var b;(b=a.l)==null||b.pause();a.L&&clearTimeout(a.L);b={};b=(b.url=a.K,b);a.dispatchEvent(X({type:"navigationRequested",ad:a.getAd(),data:b}))};r2.prototype.Zc=function(){u2(this,"outerclick");this.ab(this.K,null,null)}; var w2=function(a,b){var c=a.getAd();a.dispatchEvent(X({type:b,ad:c}));a.dispatchEvent(X({type:"contentResumeRequested",ad:c}));a.dispatchEvent(X({type:"allAdsCompleted",ad:c}));var d;(d=a.B)==null||d.dispose();a.O.g.gd();a.destroy()},u2=function(a,b){var c={};a=(c.evt=b,c.format=y2(a),c);sQ().report(143,a,!0)},y2=function(a){a=a.getAd();if(!a)return"noad";a=a.j;if(!a)return"noimalibad";a=dN(a);if(!a)return"noextension";a=a.g;return a!=null?a:"noformat"}; r2.prototype.P=function(){var a;(a=this.B)==null||a.dispose();q2.prototype.P.call(this)};var A2=function(a,b,c,d){L.call(this);this.l=a;this.O=b;this.o=c;this.ha=d;this.j=null;M(this,this.l);a.o=[].concat(w(a.B));a=z2(a);this.A=this.g=this.o.create([a],this.O,this.ha)};q(A2,L);m=A2.prototype;m.Ld=function(){return this.g};m.lg=function(){var a=this,b,c;return z(function(d){if(d.g==1)return b=B2(a),a.j=null,y(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)})}; m.Vd=function(){var a=this;return z(function(b){return b.g==1?y(b,B2(a),2):b.return(b.j)})};m.li=function(){return this.Ld()===this.A};m.P=function(){this.g.destroy();L.prototype.P.call(this)};var B2=function(a){if(a.Ka())return Promise.resolve(null);if(a.j)return a.j;a.j=new Promise(function(b){a.l.jc().then(function(c){a.Ka()?b(null):c?b(a.o.create([c],a.O,a.ha)):b(null)}).catch(function(){b(null)})});return a.j};var C2=function(){N.call(this)};q(C2,N);m=C2.prototype;m.getAd=function(){return null};m.Fc=function(){return!0};m.expand=function(){};m.collapse=function(){};m.Af=function(){};m.destroy=function(){};m.init=function(){};m.start=function(){};m.pause=function(){};m.resume=function(){};m.skip=function(){};m.reportEvent=function(){};m.Nb=function(){};m.getRemainingTime=function(){return 0};m.getVolume=function(){return 0};m.setVolume=function(){};m.Mb=function(){};m.resize=function(){}; m.getDuration=function(){return 0};m.getCurrentTime=function(){return 0};m.Zc=function(){};m.ab=function(){};m.Lc=function(){};m.tc=function(){};var D2=function(a,b,c,d,e,f,g,h){this.g=a;this.A=b;this.C=c;this.o=d;this.B=e;this.j=f;this.N=g;this.J=h;this.l=[]};var E2=function(a){L.call(this);this.g=a.slice();this.l=this.j=this.g.shift()};q(E2,L);m=E2.prototype;m.Ld=function(){return this.j};m.lg=function(){var a=this;return z(function(b){a.j=a.g.shift();return b.return(a.Ld())})};m.Vd=function(){var a=this;return z(function(b){return a.Ka()?b.return(Promise.resolve(null)):a.g.length>0?b.return(a.g[0]):b.return(null)})};m.li=function(){return this.Ld()===this.l};m.P=function(){this.g.forEach(function(a){return void a.destroy()});L.prototype.P.call(this)};var G2=function(a,b,c){N.call(this);this.ad=a;this.O=b;this.ha=c;this.sa=null;this.A=!1;this.volume=0;this.Fa=this.K=null;this.Y=new IG(this);M(this,this.Y);this.g=new IG(this);M(this,this.g);this.oa=new nV;this.j=new ED(YS(this.getAd()),new g0,ZS(this.getAd()));if(this.getAd().g==null)throw lR(GO);this.Fb=FQ()?new DV:IW();F2(this)};q(G2,N);G2.prototype.Mb=function(){};G2.prototype.expand=function(){};G2.prototype.collapse=function(){}; var F2=function(a){var b=a.getAd(),c=b.na;a.K=a.Fb.Gk(b,a,a.j,a.O.j,c==null?void 0:c.omidAccessModeRules);a.Fa=oM(function(d){return void a.reportEvent(d)})};G2.prototype.getAd=function(){return this.ad};G2.prototype.Fc=function(){return this.ad.isLinear()};G2.prototype.P=function(){this.oa.dispose();this.dispatchEvent(X({type:"contentResumeRequested",ad:this.getAd()}));this.dispatchEvent(X({type:"allAdsCompleted",ad:this.getAd()}));Fo(this.g);var a;(a=this.Fa)==null||a.disconnect();N.prototype.P.call(this)}; G2.prototype.ab=function(a,b,c){var d={};a=(d.url=a,d.attributionParams=b,d.attributionSrc=c,d);this.dispatchEvent(X({type:"navigationRequested",ad:this.getAd(),data:a}))};var H2=function(a){MG(a.Y);a.Y.nd(a.O.o,"companion_display_error",function(){});var b=a.O.o.B(a.getAd());b!=null&&a.Y.listen(b,"companion_click",a.Hb);if(!a.O.o.qj())throw iR(vO);};G2.prototype.Hb=function(){};var I2=function(a){var b=a.getAd();for(a=qS(b,"sodar");!a&&(b=b.Z);)a=qS(b,"sodar");a!=null&&a.init()}; G2.prototype.init=function(){};G2.prototype.reportEvent=function(a){this.j.report(a)};G2.prototype.Nb=function(a,b){PD(this.j,b);this.j.reportError(a.getErrorCode())};var J2=function(a,b){a.reportEvent(b);var c=a.dispatchEvent,d=a.getAd();d=d===void 0?null:d;c.call(a,new dT(b,d===void 0?null:d,null))};m=G2.prototype;m.getCurrentTime=function(){return-1};m.getDuration=function(){return-1};m.getRemainingTime=function(){return-1};m.pause=function(){};m.resume=function(){};m.skip=function(){}; m.start=function(){if(!this.A)throw lR(tO,null,"Must call init before start.");};m.getVolume=function(){var a;return(a=this.volume)!=null?a:0};m.setVolume=function(a){isNaN(a)||a<0||a>1?mR(this,zO,null,"volume",String(a)):this.volume=a};m.Af=function(){this.reportEvent("abandon")};m.Qg=function(a){var b=a.type;if(iQ.indexOf(b)!==-1){if(b==="externalActivityEvent"&&(b=a.getAdData().eventName,!kQ(b)))return;J2(this,b)}};m.resize=function(){};m.destroy=function(){var a=this;oV(this.oa,function(){return void a.dispose()})}; m.Zc=function(){};m.Lc=function(){};m.tc=function(){};var K2=function(a,b,c){G2.call(this,a,b,c);this.l=null;this.height=this.width=-1;this.B=!1;this.G=[];this.layout=null;this.I=b.g.kc()};q(K2,G2);m=K2.prototype; m.start=function(){G2.prototype.start.call(this);L2(this);this.O.g.Qc();this.l=this.O.g.ob();if(this.l!=null){this.reportEvent("show_ad");this.dispatchEvent(X({type:"show_ad",ad:this.getAd()}));We(this.l);this.wj();if(CQ()&&this.layout){var a=this.layout.Re(),b=new UD(this.getAd().j,this.j,this.O.g.Md(),CQ(),this.getAd().Zb);b.A=a;XD(b);M(this,b)}this.Te();this.G.forEach(function(c){return void c()});this.G=[];this.B=!0}}; m.init=function(){if(!this.A){this.A=!0;this.dispatchEvent(X({type:"loaded",ad:this.getAd()}));var a=sT();this.g.listen(a,iQ,this.Qg)}};m.expand=function(){this.layout!=null&&this.layout.show();this.reportEvent("expand")};m.collapse=function(){this.layout!=null&&this.layout.ca();this.reportEvent("collapse")};m.Mb=function(){G2.prototype.Mb.call(this);this.Te();this.B&&this.reportEvent("overlay_resize")}; m.resize=function(a,b){G2.prototype.resize.call(this,a,b);this.width=a;this.height=b;this.Te();this.B&&this.reportEvent("overlay_resize")};m.P=function(){var a;(a=this.layout)==null||a.dispose();this.layout=null;this.I.clear();this.B=!1;this.l!=null&&(We(this.l),this.l=null);this.O.g.gd();G2.prototype.P.call(this)}; m.wj=function(){var a=this;if(!this.layout){var b=this.getAd().g;if(b==null){var c=iR(GO);M2(this,c);throw c;}try{H2(this)}catch(d){throw M2(this,d),d;}PD(this.j,XT(this.getAd(),this.O.j));c=CS(this.getAd())||this.ha.useStyledNonLinearAds;this.l&&(this.layout=new p1(b,this.I,this.l,this.ha.autoAlign,c,new PR),OH(this.I,GI,function(){return void a.gf()}),OH(this.I,RI,function(){var d=b.Rb(),e=b.Qe();J2(a,"click");a.ab(d,e,null)}),OH(this.I,XI,function(){return void N2(a)}),OH(this.I,TI,function(){return void a.W()}), OH(this.I,bJ,function(){return void a.R()}),this.layout.build())}};m.Te=function(a,b){a=a===void 0?0:a;b=b===void 0?0:b;if(this.layout!=null){var c=Nn(this.O.g.ob()),d=this.width,e=this.height;if(d===-1||e===-1)d=c.width,e=c.height;c=Nn(this.layout.Re());if(c.width+a>d||c.height+b>e)throw a=iR(BO),M2(this,a),this.destroy(),a;}};var M2=function(a,b){var c=RT(b,a.O.j,a.getAd());a.Nb(b,c)};K2.prototype.gf=function(){this.reportEvent("close");this.dispatchEvent(X({type:"userClose",ad:this.getAd()}))}; K2.prototype.W=function(){var a=this;if(this.layout){var b=this.layout.ne().getAd();this.B?this.D(b):this.G.push(function(){return void a.D(b)})}};K2.prototype.D=function(a){a&&(PD(this.j,XT(a,this.O.j)),J2(this,"impression"),this.reportEvent("creativeView"),J2(this,"start"))};var N2=function(a){a.dispatchEvent(X({type:"userRecall",ad:a.getAd()}))};K2.prototype.Qg=function(a){var b=a.getAdData();this.getAd().Zb===b.queryId&&G2.prototype.Qg.call(this,a)}; K2.prototype.R=function(){this.layout&&this.ab(this.layout.ne().Yb,null,null)};var L2=function(a){var b=a.getAd().g,c,d;if(a=(d=((c=rS(a.getAd()).get("nonlinearAta"))!=null?c:[])[0])==null?void 0:d.j.A)b.Yb=a};K2.prototype.toString=function(){return"nonlinearman"};var Q2=function(a,b,c){K2.call(this,a[0],b,c);var d=this;this.T=!1;this.uiConfig=null;this.o=[];this.L=!1;this.elapsedTime=0;this.ia=[];this.ea=!1;this.F=new $t(200);M(this,this.F);this.ba=new g0;a.forEach(function(e){var f=e.g;if(f==null)f=lR(GO),e=RT(f,d.O.j,e),d.Nb(f,e);else{if(d.uiConfig==null){var g=qS(e,"AdSense");g&&(d.uiConfig=g.uiConfig)}f.getContentType()==="Text"&&(d.T=!0);!(e=O2(e))||P2(d)&&!d.T||(f.Yb=e);d.o.push(f)}});pS(this.getAd()).length!==0&&H2(this)};q(Q2,K2);m=Q2.prototype; m.wj=function(){var a=this;if(!this.layout&&this.l){if(this.o.length===0)throw iR(GO);this.uiConfig==null&&(this.uiConfig=new PR);if(P2(this)){var b=this.getAd(),c=v0(b,RS(b));b=QS(b,this.ha.disableUi,c);c=R2(this);this.layout=new C0(this.o,this.I,this.l,this.uiConfig,c.text,!b,c.shouldRenderWta);this.g.listen(this.F,"tick",this.mo)}else this.o.length===1?this.layout=new p1(this.o[0],this.I,this.l,!0,!0,this.uiConfig):this.layout=new F0(this.o,this.I,this.l,this.uiConfig);OH(this.I,RI,function(d){var e= d.Ab,f=d.Bb;if(a.layout){d=a.layout.ne();var g=d.getAd();if(g){var h=qS(g,"AdSense");h=new O(h.ke);var k=Nn(a.layout.Re()),l=Nn(a.O.g.ob());e=["0","aw="+k.width,"ah="+k.height,"nx="+e,"ny="+f,"viewMode="+(zF(l.width,l.height)?"fullscreen":"normal"),"sdkv=h.3.682.0","eids="+hB(),"bw="+l.width,"bh="+l.height];h.g.set("label","elementclick");h.g.set("value",e.join(";"));a.ba.g(h.toString());S2(a,g);a.reportEvent("click");T2(a);a.dispatchEvent(X({type:"click",ad:a.getAd()}));if(e=d.Rb())(g=a.layout.ig())&& (e=fM(g.j,e)),a.ab(e,d.Qe(),d.th())}}});OH(this.I,TI,function(){return void a.W()});OH(this.I,GI,function(){return void a.gf()});OH(this.I,XI,function(){return void N2(a)});OH(this.I,ZI,function(){a.dispatchEvent(X({type:"skippableStateChanged",ad:a.getAd()}))});OH(this.I,YI,function(){return void U2(a)});OH(this.I,bJ,function(){return void a.R()});OH(this.I,yI,function(){var d,e=qS(a.getAd(),"AdSense");e&&(d=e.ub);d==null&&a.uiConfig&&(d=a.uiConfig.ub);d&&a.ab(d,null,null)});this.layout.build()}}; m.mo=function(){this.elapsedTime+=.2;var a=new gJ(this.elapsedTime,this.getDuration());PH(this.I,hJ,a);this.elapsedTime>=this.getDuration()&&(this.dispatchEvent(X({type:"complete",ad:this.getAd()})),V2(this))};m.init=function(){K2.prototype.init.call(this)};m.start=function(){K2.prototype.start.call(this);!this.L&&P2(this)&&(this.L=!0,this.dispatchEvent(X({type:"contentPauseRequested",ad:this.getAd()})),this.F.start())}; m.gf=function(){var a=this;K2.prototype.gf.call(this);this.o.forEach(function(b){if(b=b.getAd())S2(a,b),a.reportEvent("close"),T2(a)})};var O2=function(a){return(a=qS(a,"AdSense"))?a.j:null},R2=function(a){var b=qS(a.getAd(),"AdSense").ta,c;b=b!=null?b:(c=a.uiConfig)==null?void 0:c.ta;if(c=!!O2(a.getAd()))c=P2(a)&&!a.T;a={text:b,shouldRenderWta:c};a.text==null&&(a.text=Lz("Ads by Google"));return a}; Q2.prototype.W=function(){var a=this;if(this.layout){var b=this.layout.ne().getAd();if(b!=null){this.ad=b;var c=b.getAdId();this.ia.includes(c)||(this.ia.push(c),this.B?this.D(b):this.G.push(function(){return void a.D(b)}))}}}; Q2.prototype.D=function(a){a&&(this.ad=a,this.ea||(this.dispatchEvent(X({type:"impression",ad:this.getAd()})),this.ea=!0),S2(this,a),this.reportEvent("impression"),this.reportEvent("creativeView"),this.reportEvent("start"),this.dispatchEvent(X({type:"start",ad:this.getAd()})),T2(this))};Q2.prototype.R=function(){if(P2(this)){var a=O2(this.getAd());this.ab(a,null,null)}else K2.prototype.R.call(this)};Q2.prototype.Te=function(){var a=P2(this)?15:0,b=P2(this)?65:0;K2.prototype.Te.call(this,a,b)}; var P2=function(a){return GS(a.getAd())},U2=function(a){a.dispatchEvent(X({type:"skip",ad:a.getAd()}));a.gf();V2(a)},V2=function(a){a.F.stop();a.layout&&(a.layout.dispose(),a.layout=null);a.L&&(a.L=!1,a.dispatchEvent(X({type:"contentResumeRequested",ad:a.getAd()})))};Q2.prototype.skip=function(){var a;var b=(a=this.getAd())==null?void 0:HS(a);b?(a=vQ(b),a=a!==-1&&this.getCurrentTime()>=a):a=!1;a&&U2(this)};Q2.prototype.getCurrentTime=function(){return P2(this)?this.elapsedTime:K2.prototype.getCurrentTime.call(this)}; Q2.prototype.getDuration=function(){return P2(this)&&this.uiConfig!=null?15:K2.prototype.getDuration.call(this)};Q2.prototype.getRemainingTime=function(){var a=this.getDuration(),b=this.getCurrentTime();return P2(this)&&0<=b&&b<=a?a-b:K2.prototype.getRemainingTime.call(this)};var S2=function(a,b){a.j=new ED(YS(b),a.ba,ZS(b));PD(a.j,XT(b,a.O.j))},T2=function(a){a.j=new ED(new Map,a.ba)};Q2.prototype.toString=function(){return"adsensenonlinearman"};var X2=function(a,b,c,d,e){L.call(this);this.B=a;this.D=b;this.O=c;this.C=d;this.ha=e;this.A=!1;this.l=new IG;this.j=null;this.g=a;W2(this,a);M(this,this.l);this.o=[b]};q(X2,L);m=X2.prototype;m.Ld=function(){return this.g};m.lg=function(){var a=this,b,c;return z(function(d){if(d.g==1)return b=Y2(a),a.j=null,y(d,b,2);c=d.j;if(!c)throw Error("Called getNextManager when there are no more managers.");W2(a,c);a.g=c;return d.return(a.g)})}; m.Vd=function(){var a=this;return z(function(b){return b.g==1?a.A?b.return(null):y(b,Y2(a),2):b.return(b.j)})};m.li=function(){return this.Ld()===this.B};m.P=function(){this.g.destroy();L.prototype.P.call(this)}; var Z2=function(a){if(!cB(kC)){var b;return(b=a.g.getAd())==null?void 0:BS(b)}var c;return(c=a.o.find(function(d){var e;return(e=BS(d))==null?void 0:e.Tf()}))==null?void 0:BS(c)},Y2=function(a){if(a.j)return a.j;var b=Z2(a);if(b==null)return Promise.resolve(null);a.j=new Promise(function(c){b.Id(function(d){if(a.Ka())c(null);else{a.o.push.apply(a.o,w(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.O,a.ha);c(d)}else c(null)}},function(){return void c(null)})});return a.j},W2=function(a,b){a.l.listen(b,["adStarted","start","impression"],function(){a.A=!0;a.l.dispose()})};var $2=[{type:"itag",Td:18},{type:"itag",Td:22}],a3=[{type:"itag",Td:22},{type:"itag",Td:18}];var b3=function(a,b,c){this.currentTime=b;this.duration=c;this.adBreakDuration=a.getMaxDuration();this.adPosition=a.getAdPosition();this.totalAds=a.getTotalAds()};function c3(a,b,c){var d=null,e=c+b;a.ra.forEach(function(f){var g;if(g=f instanceof cS)c===0&&b===0||f instanceof iU?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=fP.getFeatureFlags().audioPosterImageDefaultUrl;!b&&c&&(b=new hU(null,null,"Image",c));return b};var f3="start creativeView engagedView impression measurable_impression viewable_impression firstQuartile midpoint thirdQuartile complete".split(" "),g3=f3.concat(),h3=f3.concat(["skipShown","skip"]),i3=function(a){N.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.sa=null;this.g=new IG(this);M(this,this.g);this.F=new Set};q(i3,N);i3.prototype.P=function(){j3(this);N.prototype.P.call(this)}; var j3=function(a){MG(a.g);a.H!=null&&QQ(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},m3=function(a,b,c,d,e){j3(a);a.H=c;PQ(a.H);a.B=d;a.I=e;a.j=new k3(a.H);a.A=b.Zb;CQ()&&(b=sT(),a.g.listen(b,"externalActivityEvent",a.An),a.g.listen(b,"measurable_impression",a.Cn),a.g.listen(b,"viewable_impression",a.In));a.g.listen(a.H,"timeUpdate",a.ul);a.g.listen(a.H,"loadedmetadata",function(){a.notify((new Xs("loadedMetadata")).type)});a.g.listen(a.H,"durationChange",function(){a.notify((new Xs("durationChange")).type)}); a.g.listen(a.H,"canplay",function(){a.notify((new Xs("adCanPlay")).type)});a.g.listen(a.H,"volumeChange",a.Jn);a.g.listen(a.H,"pause",a.sl);a.g.listen(a.H,"play",a.tl);a.g.listen(a.H,"end",a.zn);a.g.listen(a.H,"beginFullscreen",a.T);a.g.listen(a.H,"endFullscreen",a.R);a.g.listen(a.H,"skip",a.L);a.g.listen(a.H,"skipShown",a.ij);a.g.listen(a.H,"start",a.Fn);a.g.listen(a.H,"error",a.ql);a.g.listen(a.H,"mediaLoadTimeout",a.rl);a.g.listen(a.H,"autoplayDisallowed",a.pl);a.g.listen(a.H,"loaded",function(){return void a.report("loaded")}); l3(a,a.B,a.I)},l3=function(a,b,c){b!=null&&c!=null&&(OH(c,cJ,function(){a.notify(eT({type:"videoClicked"}).type)}),OH(c,YI,function(){return void a.L()}),OH(c,ZI,function(){return void a.ij()}),OH(c,xI,function(){return void a.De()}),OH(c,EI,function(){a.notify(eT({type:"authorIconClicked"}).type)}),OH(c,FI,function(){a.notify(eT({type:"titleClicked"}).type)}),OH(c,zI,function(){a.notify(eT({type:"authorNameClicked"}).type)}),OH(c,OI,function(){a.notify(eT({type:"learnMoreClicked"}).type)}),OH(c, aJ,function(d){return void n3(d)}),OH(c,$I,function(d){return void o3(a,d.l,d.A,d.C,d.B)}),OH(c,NI,function(){a.notify(eT({type:"iconFallbackImageClosed"}).type)}),OH(c,bJ,function(){return void o3(a,[],b?b.B:null,null)}))};m=i3.prototype;m.notify=function(a){if(this.l||!g3.includes(a))this.F.has(a)&&h3.includes(a)||(this.F.add(a),this.report(a),this.dispatchEvent(a))};m.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)}; m.Cn=function(a){(a=a.getAdData())&&a.queryId===this.A&&this.notify("measurable_impression")};m.In=function(a){(a=a.getAdData())&&a.queryId===this.A&&this.notify("viewable_impression")};m.An=function(a){if(a=a.getAdData()){var b=a.eventName;a=kQ(b)&&a.queryId===this.A?b:null;a!=null&&this.l&&!this.F.has(a)&&this.notify(a)}}; m.ul=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"),ND(this.G,this.H.getCurrentTime(),a*1E3));p3(this)}};var p3=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"))};m=i3.prototype; m.Fn=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"))};m.Jn=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}}; m.sl=function(){this.H&&this.j&&(this.H.o?(p3(this),this.notify("complete")):this.H.l&&(this.j.j=!0,this.notify("pause")))};m.tl=function(){this.j&&this.j.j&&(this.j.j=!1,this.notify("resume"))};m.zn=function(){p3(this);this.notify("complete")};m.uh=function(){this.notify("click")};m.ql=function(){this.notify("error")};m.rl=function(){this.notify("mediaLoadTimeout")};m.pl=function(){this.notify("autoplayDisallowed")};m.ij=function(){this.notify("skipShown")}; var n3=function(a){a.J.forEach(function(b){oQ(b)})},o3=function(a,b,c,d,e){e=e===void 0?[]:e;var f={};c=(f.clickThroughUrl=c,f.attributionParams=d,f);b.length>0&&!KQ(b)&&(c.iconClickFallbackImages=b.map(function(g){return X_(g)}));a.dispatchEvent(eT({type:"videoIconClicked",data:c}));e.forEach(function(g){oQ(g)})};i3.prototype.L=function(){this.notify("skip")};i3.prototype.De=function(){this.notify("skip")};i3.prototype.T=function(){this.notify("fullscreen")};i3.prototype.R=function(){this.notify("exitFullscreen")}; var k3=function(a){this.j=!1;this.g=a.muted;this.volume=a.getVolume()};k3.prototype.muted=function(a,b){return!this.g&&a||this.volume!==0&&b===0};var q3=function(a,b){b=b===void 0?null:b;Xs.call(this,a);this.data=b};q(q3,Xs);var s3=function(a){N.call(this);this.l=a;this.j=!1;this.o=new IG(this);M(this,this.o);this.g=new r3;this.o.listen(this.l,"nativeUi",this.A)};q(s3,N);var u3=function(a){a.j||(a.j=!0,t3(a))},v3=function(a,b){a.g.j=b;t3(a)};s3.prototype.P=function(){this.g=new r3;t3(this);this.j=!1;N.prototype.P.call(this)};var t3=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.ae,c),d);OQ(a.l,"nativeUi","updateUiState",b)}}; s3.prototype.A=function(a){switch(a.messageType){case "iconClicked":this.dispatchEvent(new q3("iconClicked",a.Cb));break;case "iconRendered":this.dispatchEvent(new q3("iconRendered",a.Cb));break;case "skipButtonClicked":this.dispatchEvent(new q3("skipButtonClicked"))}};var r3=function(){this.ae="";this.j={};this.g="skipStateHidden"};var w3=["image/jpeg","image/jpg","image/png"],x3=function(a,b,c){L.call(this);this.g=a;this.I=b;this.va=c.filter(function(d){var e=d.D;return e!=null&&w3.includes(e.toLowerCase())&&d.o!=null});this.j=new IG(this);M(this,this.j);this.j.listen(this.g,"iconClicked",this.l);this.j.listen(this.g,"iconRendered",this.o);a={};v3(this.g,(a.icons=this.va.map(function(d,e){return $_(d,e)}),a.iconsFallbackImageCloseText="OK",a.iconsFallbackImageErrorText="The requested information could not be loaded.",a))}; q(x3,L);x3.prototype.l=function(a){(a=y3(this,a.data))&&PH(this.I,$I,a)};x3.prototype.o=function(a){(a=y3(this,a.data))&&PH(this.I,aJ,a)};var y3=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 B3=function(a,b,c,d){d=d===void 0?!1:d;L.call(this);this.j=a;this.I=b;this.g=c;this.rc=d;this.currentTimeSeconds=0;a=this.g;this.state=a<0?1:a===0?3:2;this.l=new IG(this);M(this,this.l);z3(this);A3(this);this.state===3&&PH(this.I,ZI,null)};q(B3,L);var z3=function(a){a.l.listen(a.j,"skipButtonClicked",function(){a.state===3&&PH(a.I,YI,null)});OH(a.I,hJ,a.o,a);Go(a,function(){LH(a.I.g,hJ.toString(),a.o,a)})}; B3.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,PH(this.I,ZI,null)):this.state=2,A3(this))}; var A3=function(a){var b="skipStateHidden",c="";if(a.state===3)b="skipStateSkippable",c=uc(a.rc?"Skip ":"Skip Ad ");else if(a.state===2){b="skipStatePreSkip";c=a.rc;var d=Math.ceil(a.g-a.currentTimeSeconds),e=d.toString();d>=60&&(e=FC(d));c=oK({nh:e,rc:c})}a=a.j;if(a.g.g!==b||a.g.ae!==c)a.g.g=b,a.g.ae=c,t3(a)};var C3=function(a,b,c){L.call(this);this.g=a;this.I=b;this.config=c;this.j=!1};q(C3,L);m=C3.prototype;m.build=function(){var a=this;OH(this.I,ZI,this.jj,this);Go(this,function(){LH(a.I.g,ZI.toString(),a.jj,a)});var b=hP("promoskip");b=new B3(this.g,this.I,this.config.C,b);M(this,b);b=new x3(this.g,this.I,this.config.va);M(this,b);u3(this.g)};m.De=function(){this.j&&PH(this.I,xI,null)};m.Ce=function(){};m.getConfig=function(){return this.config};m.Pg=function(){};m.jj=function(){this.j=!0};var D3=function(a,b,c,d){d=d===void 0?!1:d;G2.call(this,a,b,c);var e=this;this.R=d;this.sa=this.ea=this.l=this.H=null;this.W=this.D=!1;this.Ua=this.qa=this.F=1;this.B=null;this.T=!1;this.ba=this.Va=null;this.Ta=!1;this.G=b.A;this.I=b.g.kc();this.o=new i3(this.j);this.ia=new iO(this.I,this.getAd().isSkippable());this.ib=function(){var f={};return f.currentTime=e.getCurrentTime(),f.duration=e.getDuration(),f.isPlaying=!0,f.isVpaid=nS(e.getAd())!=null,f.isYouTube=!1,f.volume=e.getVolume(),f};b.l.push(this.toString())}; q(D3,G2);D3.prototype.P=function(){vT(this.getAd());var a;(a=this.l)==null||a.dispose();this.l=null;this.I.clear();Fo(this.o);Fo(this.ea);Fo(this.j);this.W=!1;if(this.D){a=this.D=!1;this.O.g!=null&&(a=this.O.j.Sc);var b;(b=this.H)==null||b.reset(a)}var c;(c=this.H)==null||c.unload();E3(this.G,this.H);G2.prototype.P.call(this)}; var F3=function(a,b,c){if(!a.D){a.D=!0;uT(a.getAd(),a.ib);sT().H=b;if(a.K!=null){var d=a.K;d.l=b;d.o.listen(d.l,"start",d.T)}a.ea=new t0(b);d=a.ea;var e;(e=d.g)==null||MG(e);d.g=new IG(d);M(d,d.g);d.g.listen(d.H,"play",d.l);d.g.listen(d.H,"start",d.o);T(U(),"mts",String(a.ha.loadVideoTimeout));e=a.ha.loadVideoTimeout;e>0&&(b.F=e);e=a.getAd().j;e=e instanceof sE?e.g.length>0?e.g[0]:null:null;d=a.getAd().tb;d.j=Date.now();d.g=null;TQ(b,c.url||"",e,a.getAd().getAdPodInfo());fP.C&&fP.K&&(b={},c=(b.mediaUrl= c.url,b),a.dispatchEvent(X({type:"mediaUrlPinged",ad:a.getAd(),data:c})))}},H3=function(a,b){if(a.O.j.Yd){var c=new s3(a.O.C);b=new C3(c,a.I,b);M(b,c);return b}c=document.body;var d=a.getAd(),e=a.O.g.ob();e=(e=e?Nn(e):null)?e3(d,e):null;var f=v0(d,RS(d));d=QS(d,a.ha.disableUi,f);b=e?new f1(e,b,a.I,c,d,!0,a.R):new e1(b,a.I,c,d,!0,a.R);OH(a.I,UI,function(){G3(a)});OH(a.I,sI,function(){a.pause()});OH(a.I,tI,function(){a.resume()});OH(a.I,uI,function(g){a.ab(g,null,null)});OH(a.I,vI,function(g){var h= {};a.dispatchEvent(X({type:"updateGfpCookie",ad:a.getAd(),data:(h.gfpCookieUserEnabled=g.j,h.gfpCookieClearData=g.g,h)}))});return b},I3=function(a,b){a.g.listen(b,"loaded",a.Gn);a.g.listen(b,"timeUpdate",a.Hn);a.g.listen(b,"waiting",a.Kn);a.g.listen(b,"volumeChange",function(){var c=b.getVolume();c!==a.F&&(a.F=c,a.dispatchEvent(X({type:"volumeChange",ad:a.getAd(),data:{volume:c}})),c===0&&a.dispatchEvent(X({type:"mute",ad:a.getAd()})))});a.g.listen(b,"focusSkipButton",a.Bn);a.g.listen(b,"seeked", function(){return void a.dispatchEvent("seeked")});a.g.listen(b,"seeking",function(){return void a.dispatchEvent("seeking")})};m=D3.prototype; m.init=function(){if(this.A)J3(this);else{this.A=!0;var a=this.getAd().isSkippable()&&!GQ(this.O.j)?iR(yO,null,"skippablevideo"):null;if(a)K3(this,this.H,yO,a);else{a:{a=this.getAd();var b=this.getAd().j,c=qS(a,"GoogleHostedMediaExtension");if(c){var d=$2;yf()&&JQ()!==1&&JQ()!==2||(d=a3);c=(new dI(d)).select(c.j,b);if(c.length>0)for(c=v(c),d=c.next();!d.done;d=c.next())if(d=d.value,d instanceof GE){a=new IU(null,d.g,d.Ea,0,0,0,d.getWidth()||0,d.getHeight()||0,d.getMediaUrl(),null);break a}}c=DQ(this.ha.mimeTypes|| []);a=(new aI({ge:this.ha.bitrate,mimeTypes:c})).select(kS(a),b);a=a.length>0?a[0]:null}this.B=a;this.B===null?L3(this,iR(HO)):(this.getAd().g.g=this.B,J3(this),M3(this,this.B))}}};m.skip=function(){var a;if(a=this.H)if(a=this.getAd().isSkippable())a=gP(),a=aP(a,"enableSkipApi")||this.getAd().disableUi;a&&(this.l!=null?this.l.De():(this.reportEvent("skip"),N3(this)))}; m.start=function(){if(this.Va){var a=this.H;K3(this,a,RO,iR(RO,a.getError()))}else if(G2.prototype.start.call(this),this.B!==null)try{a:if(a=this.B,this.dispatchEvent(X({type:"contentPauseRequested",ad:this.getAd()})),this.H||(this.H=O3(this.G),this.H||(P3(this.G),this.H=O3(this.G))),this.H){var b=this.getAd().j;if(b instanceof sE){var c=gN(b);c&&(this.getAd().W=c)}if(this.ha.useVideoAdUi||this.O.j.Yd){var d=this.getAd(),e=this.ha,f=d.rg(),g=e.useStyledLinearAds;if(FQ())var h=!1;else{var k;if(!(k= xF()&&!d.isCustomClickTrackingUsed())){var l,p;(p=d.j instanceof sE&&cN(d.j)||OS(d))||(p=d.j instanceof sE&&dN(d.j)?fN(d.j):!1);(l=p)||(l=d.j instanceof sE&&dN(d.j)?eN(d.j):!1);k=l||g}h=k?!0:!1}var n=h;var r=(rS(d).get("AdSense")||[]).pop(),u=r!=null&&r.Je,t=r?r.j:null,x=n||u||e.useStyledLinearAds;if(PS(d)){if(n1(RS(d))){var A,F;var G=(F=((A=rS(d).get("GpidWtaExtension"))!=null?A:[])[0])==null?void 0:F.j}var S=RS(d);e=G;var fa=yS(d),da=new k1;da.fb=fa;da.va=S;da.j=!1;da.l=!1;da.g=!1;da.o=!1;da.A= !1;da.C=-1;e&&(da.J=e);var Sb=da}else if(x){var lm=E(JS(d)),Fq=n||u||e.useLearnMoreButton;if(D(lm)||!sF(lm))Fq=!1;S=Fq;var mf=j1(d,0);mf.g=S;mf.N=e.g;!f||i1(mf,e.uiElements);n1(RS(d))||D(E(t))||XP().Ec||(mf.B=t);Sb=mf}else{c:{f=["ADSENSE","ADSENSE/ADX","402"];for(var qj=zS(d),lg=qj.length-1;lg>=0;lg--)if(qj[lg]!=="UNKNOWN"){var mm=f.includes(qj[lg]);break c}mm=!1}if(mm){var xh=j1(d);xh.A=!0;n1(RS(d))||D(E(t))||(xh.B=t);var Lb=xh}else{var mg=j1(d);mg.o=!1;mg.j=!1;mg.l=!1;i1(mg,e.uiElements);Lb=mg}Sb= Lb}this.ba=Sb;this.l=H3(this,Sb);this.l.build();if(this.getAd().W!=null&&Sb.N){var Db=this.ia,yh=this.getAd().j;Db.g=yh instanceof sE?hN(yh):null;Db.j=yh instanceof sE?iN(yh):null;Db.g&&Db.g.g&&(Db.g.title&&PH(Db.l,rI,Db.g.title),Db.j&&Db.j.title&&PH(Db.l,pI,Db.j.title),Db.j&&Db.j.g&&PH(Db.l,oI,Db.j.g))}var bd=this.getAd(),Gq=Sb.getUiElements();bd.uiElements=Gq}var nm=this.H;OQ(nm.j,nm.g,"activate");var ng=this.H;m3(this.o,this.getAd(),ng,this.l?this.l.getConfig():null,this.I);this.g.listen(this.o, "adCanPlay durationChange engagedView authorIconClicked authorNameClicked videoClicked videoIconClicked iconFallbackImageClosed learnMoreClicked muteClicked titleClicked unmuteClicked start skipShown loadedMetadata".split(" "),this.L);var rj=new UD(this.getAd().j,this.j,ng,CQ(),this.getAd().Zb);XD(rj);M(this,rj);I3(this,ng);KG(this.g,this.o,"impression",this.L,!1,this);Q3(this,ng);F3(this,this.H,a);var Hq=this.setVolume,sj=qS(this.getAd(),"AdSense");Hq.call(this,sj!=null&&sj.uiConfig!=null&&sj.uiConfig.Ed? 0:this.Ua);this.reportEvent("show_ad");this.dispatchEvent(X({type:"show_ad",ad:this.getAd()}));this.O.g.gh();try{H2(this)}catch(tj){K3(this,this.H,vO,tj);break a}this.H.play()}else K3(this,this.H,EO,Error("Could not claim video display."))}catch(tj){L3(this,tj)}};m.getVolume=function(){return this.D&&this.H?this.H.muted?0:this.H.getVolume():this.F};m.setVolume=function(a){this.D&&this.H?this.H.setVolume(a):this.F=a;this.Ua=a};m.pause=function(){this.H&&this.H.pause()}; m.resume=function(){this.H&&this.H.play()};m.getCurrentTime=function(){return this.H?this.H.getCurrentTime():-1};m.getDuration=function(){return this.H?this.H.getDuration():-2};m.getRemainingTime=function(){var a=this.getDuration(),b=this.getCurrentTime();return a>=0&&b>=0?Math.max(0,a-b):-1}; var K3=function(a,b,c,d){a.getAd().Xd();R3(a,b,d);mR(a,c,d);a.destroy()},R3=function(a,b,c){c=iR(RO,c);b=RT(c,a.O.j,a.getAd(),b);a.Ka()||a.Ta||(a.Ta=!0,a.Nb(c,b))},Q3=function(a,b){PD(a.j,XT(a.getAd(),a.O.j,b));var c=a.getAd().g;c!=null&&c instanceof $R&&(hQ.forEach(function(d){KG(a.g,a.o,d,a.L,!1,a)}),c=a.g,c.listen(a.o,"error",function(){K3(a,b,RO,iR(RO,b.getError()))}),c.listen(a.o,"mediaLoadTimeout",function(){a.getAd().tb.g=Date.now();K3(a,b,KO,iR(KO,null,(a.ha.loadVideoTimeout/1E3).toString()))}), c.listen(a.o,"autoplayDisallowed",function(){var d=iR(RO),e=iR(uO);d.g=e;K3(a,b,RO,d)}));a.getAd().isSkippable()&&(a.o.D=30)},S3=function(a){if(a.T){a.dispatchEvent(X({type:"click",ad:a.getAd()}));var b=a.getAd(),c=JS(b);!a.ha.disableClickThrough&&c&&((new O(c)).o||(c=NW(c)),RH(c,KS(b)))}}; D3.prototype.L=function(a){switch(a.type){case "start":I2(this);this.T=!0;this.l&&this.l.Pg();T3(this,"start");KB(U(),"ff");a=this.o;var b=this.O.g.ei();b||a.B||!a.H||a.g.listen(a.H,"click",a.uh);if(b){a.o=new k0;a.g.listen(a.o,"click",a.uh,!1);var c=a.o;b==null||c.F||(c.g=b,o0(c),c.F=!0)}a.I&&OH(a.I,AI,a.uh,a);this.dispatchEvent(X({type:"start",ad:this.getAd()}));break;case "impression":this.dispatchEvent(X({type:"impression",ad:this.getAd()}));break;case "viewable_impression":this.dispatchEvent(X({type:"viewable_impression", ad:this.getAd()}));break;case "measurable_impression":this.dispatchEvent(X({type:"measurable_impression",ad:this.getAd()}));break;case "pause":PH(this.I,dJ,!0);this.dispatchEvent(X({type:"pause",ad:this.getAd()}));break;case "resume":PH(this.I,dJ,!1);this.dispatchEvent(X({type:"resume",ad:this.getAd()}));break;case "firstQuartile":this.dispatchEvent(X({type:"firstQuartile",ad:this.getAd()}));break;case "midpoint":this.dispatchEvent(X({type:"midpoint",ad:this.getAd()}));break;case "thirdQuartile":this.dispatchEvent(X({type:"thirdQuartile", ad:this.getAd()}));break;case "complete":this.dispatchEvent(X({type:"complete",ad:this.getAd()}));this.destroy();break;case "loadedMetadata":this.dispatchEvent(X({type:"loadedMetadata",ad:this.getAd()}));break;case "durationChange":this.dispatchEvent(X({type:"durationChange",ad:this.getAd()}));break;case "adCanPlay":this.dispatchEvent(X({type:"adCanPlay",ad:this.getAd()}));break;case "click":T3(this,"click");S3(this);this.pause();break;case "engagedView":this.dispatchEvent(X({type:"engagedView",ad:this.getAd()})); break;case "videoClicked":G3(this);this.dispatchEvent(X({type:"videoClicked"}));break;case "videoIconClicked":this.dispatchEvent(a);(a=a.getAdData())&&!this.O.j.J&&this.ab(a.clickThroughUrl,a.attributionParams,null);this.pause();break;case "iconFallbackImageClosed":this.dispatchEvent(X({type:"iconFallbackImageClosed",ad:this.getAd()}));break;case "authorIconClicked":U3(this);break;case "authorNameClicked":U3(this);break;case "learnMoreClicked":T3(this,"learn_more_click");S3(this);this.pause();break; case "titleClicked":b=this.ia;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 O("//www.youtube.com/watch");var d=c.g;d.set("v",a);d.set("feature",b?"trueview-instream":"instream");Ey(c,d);a=c.toString()}else a=null;a!==null&&(this.pause(),this.ab(a,null,null));break;case "muteClicked":this.qa=this.F;this.setVolume(0);break;case "unmuteClicked":this.setVolume(this.qa);break;case "skipShown":this.dispatchEvent(X({type:"skippableStateChanged",ad:this.getAd()}));break;case "skip":N3(this); break;case "fullscreen":this.dispatchEvent(X({type:"fullscreen",ad:this.getAd()}));break;case "exitFullscreen":this.dispatchEvent(X({type:"exitFullscreen",ad:this.getAd()}));break;case "fully_viewable_audible_half_duration_impression":this.dispatchEvent(X({type:"fully_viewable_audible_half_duration_impression",ad:this.getAd()}))}};var G3=function(a){a.H&&(a.H.l?a.resume():a.pause())},N3=function(a){a.dispatchEvent(X({type:"skip",ad:a.getAd()}));a.destroy()};m=D3.prototype; m.Zc=function(){T3(this,"external_click");if(this.getAd().disableUi&&this.T){var a={};a=(a.url=JS(this.getAd()),a.attributionParams=KS(this.getAd()),a);this.reportEvent("click");this.dispatchEvent(X({type:"click",ad:this.getAd(),data:a}))}this.getAd();this.pause()};m.Gn=function(){this.getAd().tb.g=Date.now()};m.xk=function(a,b){return b>=0&&a>=0}; m.Hn=function(){var a=this.getCurrentTime(),b=this.getDuration();if(this.xk(a,b)){var c=new b3(this.getAd().getAdPodInfo(),a,b);this.dispatchEvent(X({type:"adProgress",ad:this.getAd(),data:c}))}if(this.l!=null&&b>=0&&a>=0){if(!(this.W||this.getAd().F<3)&&this.H){c=this.H.getDuration();var d=LS(this.getAd());c=Math.abs(c-d);c>2&&(c=iR(NO,null,Number(c).toFixed(2)),d=RT(c,this.O.j,this.getAd(),this.H),this.Nb(c,d));this.W=!0}c=this.getAd().getAdPodInfo();a=new gJ(a,b,this.H?this.H.duration:-1,c.getAdPosition(), c.getTotalAds());PH(this.I,hJ,a)}};m.Bn=function(){this.l&&PH(this.I,MI,null)};m.Kn=function(){this.dispatchEvent(X({type:"adBuffering",ad:this.getAd()}))};var U3=function(a){var b,c=a.ia;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=E(c.j.id),b=D(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.ab(b,null,null))}; D3.prototype.Mb=function(){G2.prototype.Mb.call(this);this.l!=null&&this.l.Ce()};D3.prototype.resize=function(a,b){G2.prototype.resize.call(this,a,b);this.l!=null&&this.l.Ce()}; var M3=function(a,b){a.ha.enablePreloading&&BQ(a.O.j.Sc)&&(a.H=O3(a.G),a.H&&(I3(a,a.H),a.g.listen(a.H,"error",function(c){a.Va=c}),PQ(a.H),F3(a,a.H,b)))},L3=function(a,b){R3(a,a.H,b);b instanceof lO?a.dispatchEvent(new kR(b)):mR(a,RO,b);a.destroy()},J3=function(a){a.dispatchEvent(X({type:"loaded",ad:a.getAd()}));a.dispatchEvent(X({type:"adMetadata",ad:a.getAd()}))},T3=function(a,b){var c,d=(c=a.getAd())==null?void 0:c.j;if(d&&(dN(d)||a.R)){c=a.ba?a.ba.g:"null";var e={},f=sQ(),g=f.report;e.evt=b;b= (b=dN(d))?(b=b.g)?b:"noformat":"noextension";g.call(f,170,(e.format=b,e.clicks_allowed=a.T,e.ux_refresh=a.R,e.learn_more_enabled=c,e))}};D3.prototype.toString=function(){return"videoman"};var V3=function(){D3.apply(this,arguments)};q(V3,D3);V3.prototype.L=function(a){switch(a.type){case "complete":this.dispatchEvent(X({type:"complete",ad:this.getAd()}));break;default:D3.prototype.L.call(this,a)}};V3.prototype.xk=function(a,b){return(b>=0||b===-2)&&a>=0};V3.prototype.getDuration=function(){return D3.prototype.getDuration.call(this)+MS(this.getAd())};function W3(a){return{"${seller_video_url}":"imasdk.googleapis.com/pavp/3.682.0/","${seller_video_query_params}":"&"+Object.keys(a).map(function(b){return b+"="+a[b]}).join("&")+"&adtag="}}var X3=function(a){L.call(this);this.Jj=a;this.xb=Te(document,"IFRAME");this.xb.allow="autoplay *";Cn(this.xb,"width","100%");Cn(this.xb,"height","100%")};q(X3,L); var Y3=function(a,b){b.appendChild(a.xb);Go(a,function(){return Xe(a.xb)})},Z3=function(a,b,c){var d,e,f;return z(function(g){if(g.g==1)return d={},e=(d.gdpr=c.gdprApplies,d.gdpr_consent=c.cf,d.addtl_consent=c.addtlConsent,d),f=W3(e),y(g,a.Jj.deprecatedReplaceInURN(b,f),2);var h=a.xb;if(/^(uuid-in-package|urn:uuid):[0-9a-fA-F-]*$/.test(b)){var k=cd(b);h.src=dd(k).toString();h=!0}else h=!1;if(!h)throw Error("Unable to write URN to iframe.");g.g=0})};X3.prototype.show=function(){Qn(this.xb,!0)}; X3.prototype.ca=function(){Qn(this.xb,!1)};var $3=function(a,b){L.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);Go(this,function(){window.removeEventListener("message",c.l,!0)})};q($3,L);$3.prototype.postMessage=function(a){if(this.A){var b;(b=this.xb.contentWindow)==null||b.postMessage(a,"*")}else this.j.push(a)}; var a4=function(a){for(a.o=!0;a.g.length>0;){var b=a.g.shift();b&&a.C(b)}};var b4=function(a,b,c,d){d=d===void 0?navigator:d;N.call(this);var e=this;this.ad=a;this.O=b;this.ha=c;this.Jj=d;this.Aa=!1;this.Pk=this.bg=this.currentTime=this.Rj=0;this.yn=function(f){switch(f.type){case "fledge_player_ready":f=e.jd;for(f.A=!0;f.j.length>0;){var g=f.j.shift();g&&f.postMessage(g)}break;case "fledge_player_loaded":clearTimeout(e.Pk);e.getAd().tb.g=Date.now();break;case "fledge_player_progress":g=f.data;f=g.currentTime;g=g.duration;e.bg!==g&&e.dispatchEvent(X({type:"durationChange", ad:e.getAd()}));e.currentTime=f;e.bg=g;f=new b3(e.getAd().getAdPodInfo(),f,g);e.dispatchEvent(X({type:"adProgress",ad:e.getAd(),data:f}));break;case "fledge_player_complete":if(f=f.data.error){mR(e,CO,Error(f));e.destroy();break}e.dispatchEvent(X({type:"complete",ad:e.getAd()}));e.destroy();break;case "fledge_player_on_playback_change":f.data.enable?e.dispatchEvent(X({type:"resume",ad:e.getAd()})):e.dispatchEvent(X({type:"pause",ad:e.getAd()}));break;case "fledge_player_on_volume_change":f=f.data.volume, e.dispatchEvent(X({type:"volumeChange",ad:e.getAd(),data:{volume:f}}))}};this.io=this.O.g.ob();this.te=new X3(d);M(this,this.te);this.jd=new $3(this.te.xb,this.yn);M(this,this.jd);this.Fj=new jS(null,null,"UNKNOWN",null,null,null,null,null,0,[],[],[],[],new Map,new bF(new nG({ra:[new YE({Ub:new UE})]})));this.Fj.Db=this.ad.getAdPodInfo();b.l.push(this.toString())};q(b4,N);m=b4.prototype;m.getAd=function(){return this.Fj};m.Fc=function(){return!0}; m.init=function(){var a=this,b;return z(function(c){switch(c.g){case 1:if(a.Aa)return c.return();var d=a.getAd().tb;d.j=Date.now();d.g=null;a.te.ca();c.l=2;return y(c,Z3(a.te,a.ad.g,{gdprApplies:tP(a.O.j.g),cf:uP(a.O.j.g),addtlConsent:vP(a.O.j.g)}),4);case 4:c.g=3;c.l=0;break;case 2:return b=xa(c),mR(a,CO,b),a.destroy(),c.return();case 3:Y3(a.te,a.io),a.Aa=!0,c.g=0}})}; m.start=function(){var a=this;return z(function(b){if(b.g==1)return y(b,a.init(),2);a.dispatchEvent(X({type:"contentPauseRequested",ad:a.getAd()}));a.O.g.Qc();a.te.show();a.jd.postMessage({type:"fledge_player_set_playback",data:{enable:!0}});a4(a.jd);a.Pk=setTimeout(function(){a.getAd().tb.g=Date.now();mR(a,KO,void 0);a.destroy()},a.ha.loadVideoTimeout);b.g=0})};m.pause=function(){this.jd.postMessage({type:"fledge_player_set_playback",data:{enable:!1}})}; m.resume=function(){this.jd.postMessage({type:"fledge_player_set_playback",data:{enable:!0}})};m.destroy=function(){this.dispatchEvent(X({type:"contentResumeRequested",ad:this.getAd()}));this.dispatchEvent(X({type:"allAdsCompleted",ad:this.getAd()}));this.dispose()};m.skip=function(){};m.setVolume=function(a){this.Rj=a;this.jd.postMessage({type:"fledge_player_set_volume",data:{volume:a}})};m.getVolume=function(){return this.Rj};m.Af=function(){this.jd.postMessage({type:"fledge_player_abandon"})}; m.getCurrentTime=function(){return this.currentTime};m.getDuration=function(){return this.bg};m.getRemainingTime=function(){return this.bg-this.currentTime};m.Mb=function(){};m.resize=function(){};m.Zc=function(){};m.collapse=function(){};m.expand=function(){};m.reportEvent=function(){};m.Nb=function(){};m.ab=function(){};m.Lc=function(){};m.tc=function(){};m.toString=function(){return"fledgeman"};var c4=function(a){L.call(this);this.g=a};q(c4,L);m=c4.prototype;m.ei=function(){return this.g.ei()};m.ob=function(){return this.g.ob()};m.Md=function(){return this.g.Md()};m.ca=function(){};m.gh=function(){this.g.gh()};m.qg=function(){this.g.ca()};m.Qc=function(){this.g.Qc()};m.gd=function(){this.g.gd()};m.kc=function(){return this.g.kc()};m.Li=function(a){this.g.Li(a)};m.Mi=function(){this.g.Mi()};var e4=function(a,b,c){q2.call(this,a.Ld());this.g=a;this.O=b;this.ha=c;this.A=this.B=-1;this.l=this.j=this.D=this.G=this.o=!1;this.F=d4(this,this.V);this.volume=1};q(e4,q2);e4.prototype.resize=function(a,b){this.B=a;this.A=b;q2.prototype.resize.call(this,a,b)};e4.prototype.start=function(){this.D=!0;f4(this)};var f4=function(a){a.j||a.l||(a.j=!0,a.V.Fc()||g4(a),q2.prototype.start.call(a))};e4.prototype.setVolume=function(a){this.volume=a;q2.prototype.setVolume.call(this,a)}; e4.prototype.destroy=function(){this.g.dispose();q2.prototype.destroy.call(this)};e4.prototype.P=function(){q2.prototype.P.call(this);this.V.dispose()}; var h4=function(a,b){var c,d,e;return z(function(f){if(f.g==1)return a.l=!0,c=b.getError()||iR(RO),y(f,a.g.Vd(),2);(d=f.j)?(e=X({type:"log",data:c}),a.dispatchEvent(e)):a.dispatchEvent(b);a.V.destroy();f.g=0})},k4=function(a,b){var c,d;return z(function(e){switch(e.g){case 1:return y(e,a.g.Vd(),2);case 2:c=e.j;case 3:return c&&c.Ka()?y(e,a.g.lg(),6):c?y(e,a.g.lg(),8):(i4(a,c),a.dispatchEvent(b),a.dispose(),e.return());case 6:return y(e,a.g.Vd(),7);case 7:c=e.j;e.g=3;break;case 8:d=e.j,i4(a,d),a.V.Ka()|| a.V.dispose(),a.V=d,a.l=!1,a.j=!1,a.D?(j4(a),f4(a)):j4(a),e.g=0}})},l4=function(a){var b;return z(function(c){if(c.g==1)return y(c,a.g.Vd(),2);(b=c.j)?b.Fc()||g4(a):g4(a);c.g=0})},g4=function(a){!a.G&&a.o&&(a.G=!0,a.dispatchEvent(X({type:"contentResumeRequested",ad:a.getAd()})))},j4=function(a){if(a.g.li())throw Error("1st manager initialization is done by publisher calling ad pod manager api.");var b;(b=a.F)==null||b.dispose();a.F=d4(a,a.V);a.setVolume(a.volume);a.resize(a.B,a.A);a.init()},n4=function(a, b,c){c.listen(b,p2,function(d){return a.dispatchEvent(d)});c.listen(b,"contentResumeRequested",function(){return void l4(a)});c.listen(b,"adError",function(d){return void h4(a,d)});c.listen(b,"allAdsCompleted",function(d){return void k4(a,d)});c.listen(b,"contentPauseRequested",function(){a.o||(a.dispatchEvent(X({type:"contentPauseRequested",ad:a.getAd()})),a.o=!0)});c.listen(b,"impression",function(){return void m4(a)})},m4=function(a){var b;return z(function(c){if(c.g==1)return y(c,a.g.Vd(),2); (b=c.j)&&a.ha.enablePreloading&&BQ(a.O.j.Sc)&&(o4(a,b),b.setVolume(a.getVolume()),b.init());c.g=0})},d4=function(a,b){var c=new IG(b);M(a,c);n4(a,b,c);return c},i4=function(a,b){b?b.Fc()||a.O.g.qg():(a.O.g.qg(),a.O.g.gd())},o4=function(a,b){fP.C&&fP.K&&(new IG(b)).nd(b,"mediaUrlPinged",function(c){return a.dispatchEvent(c)})};e4.prototype.Lc=function(){this.V.Lc()};e4.prototype.tc=function(){this.V.tc()};var r4=function(a){var b=a.ad;var c=a.O;a=a.ha;G2.call(this,b,c,a);var d=this;this.o=null;this.T=!1;this.G=.4;this.F=null;this.currentTime=-1;this.B=null;this.D=this.L=this.R=!1;this.layout=null;this.ba=p4(b);if(this.ka=q4(b)){this.o=new he(this.ka._width_,this.ka._height_);var e;this.T=(e=this.ka._should_resize_)!=null?e:!1;this.G=this.ka._resizing_threshold_!=null&&this.ka._resizing_threshold_>0?this.ka._resizing_threshold_:.4}this.W=a.loadVideoTimeout!==-1?a.loadVideoTimeout:8E3;this.l=new $t(200); M(this,this.l);this.g.listen(this.l,"tick",function(){var f=d.getDuration();d.currentTime+=.2;var g=d.currentTime>=f;d.currentTime=Math.min(f,d.currentTime);f=new b3(d.getAd().getAdPodInfo(),d.currentTime,f);d.dispatchEvent(X({type:"adProgress",ad:d.getAd(),data:f}));f=new gJ(d.currentTime,d.getDuration());PH(d.I,hJ,f);g&&(d.l.stop(),J2(d,"complete"),d.destroy())});this.I=c.g.kc();Go(this,function(){return void d.I.clear()})};q(r4,G2);m=r4.prototype; m.P=function(){this.B!=null&&(bu(this.B),this.B=null);this.O.g.gd();var a=this.O.g.ob();a&&We(a);G2.prototype.P.call(this)}; m.init=function(){var a=this;if(!this.A){this.A=!0;var b=this.ba,c=this.O.g.ob(),d=this.ka;if(b&&c&&d){b=QE(b);QH(this,this.I,PI,function(){a.L=!0;a.R&&s4(a)});QH(this,this.I,ZI,function(){a.dispatchEvent(X({type:"skippableStateChanged",ad:a.getAd()}));J2(a,"skipShown")});QH(this,this.I,YI,function(){a.skip()});QH(this,this.I,vI,function(g){var h={};a.dispatchEvent(X({type:"updateGfpCookie",ad:a.getAd(),data:(h.gfpCookieUserEnabled=g.j,h.gfpCookieClearData=g.g,h)}))});We(c);var e,f;this.layout=new g2({container:c, Ih:b,Jh:new he(d._width_,d._height_),fb:yS(this.getAd()),bf:function(g,h){var k=null,l=null,p=null;try{var n;k=(n=h==null?void 0:h.name)!=null?n:"Unknown error"}catch(t){k="exception"}try{var r;l=(r=h==null?void 0:h.message)!=null?r:"Caught "+h}catch(t){l="exception"}try{var u;p=(u=h==null?void 0:h.stack)!=null?u:Error().stack}catch(t){p="exception"}h={};sQ().report(185,(h.m=g,h.name=k,h.message=l,h.stack=p,h))},Ie:TH(),zf:"1-0-40",skipOffset:(f=(e=HS(this.getAd()))==null?void 0:vQ(e))!=null?f:null, I:this.I});this.F&&this.resize(this.F.width,this.F.height);Go(this,function(){var g;return void((g=a.layout)==null?void 0:g.dispose())});this.layout.build();J2(this,"loaded")}else c=iR(yO,null,"SafeFrame"),t4(this,c),this.destroy()}}; m.start=function(){var a=this;if(!this.R){this.R=!0;var b=this.O.j.ia,c=BV(this.getAd(),this.O.g,this.ka,this.getDuration());Rj(b,3,c);j0(this.O.J,b);G2.prototype.start.call(this);this.dispatchEvent(X({type:"contentPauseRequested",ad:this.getAd()}));this.currentTime=0;this.L?s4(this):this.B=au(function(){a.B=null;if(!a.L){var d=iR(KO,null,(a.W/1E3).toString());t4(a,d);a.destroy()}},this.W)}};m.pause=function(){this.D&&(this.l.stop(),J2(this,"pause"))}; m.resume=function(){this.D&&(this.l.start(),J2(this,"resume"))};m.Mb=function(){G2.prototype.Mb.call(this)}; m.resize=function(a,b){G2.prototype.resize.call(this,a,b);if(this.T&&this.o&&this.G&&this.o.width!==0&&this.o.height!==0&&a!==0&&b!==0){var c=this.o.width;var d=this.o.height;c=Math.min((a-c)/c,(b-d)/d);if(c!==0)if(c<0&&Math.abs(c)<=this.G)u4(this,a,b,c+1);else if(c>0)u4(this,a,b,Math.min(this.G,c)+1);else if(d=iR(BO,null),this.ka){var e={};sQ().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)); t4(this,d);this.destroy()}}};m.getDuration=function(){return this.getAd().getDuration()};m.getCurrentTime=function(){return this.currentTime};m.getRemainingTime=function(){return this.getCurrentTime()<0?-1:this.getDuration()-this.getCurrentTime()};m.skip=function(){var a;(a=HS(this.getAd()))?(a=vQ(a),a=a!==-1&&this.currentTime!==-1&&this.currentTime>=a):a=!1;a&&(this.l.stop(),J2(this,"skip"),this.destroy())}; var s4=function(a){var b;if(b=!a.T)if(b=a.O.g.ob()){var c=a.ka;b=c?b.clientWidth=c&&J4(a,2)};D4.prototype.pause=function(){this.o?this.o.stop():q2.prototype.pause.call(this)};D4.prototype.resume=function(){this.o?this.o.start():q2.prototype.resume.call(this)}; var H4=function(a){a.ua.g.sendMessage("SIMID:Media:ended");a.D?(a.o=new $t,M(a,a.o),a.j.listen(a.o,"tick",function(){a.F+=.25;var b=a.getAd();b&&(b=new b3(b.getAdPodInfo(),a.getCurrentTime(),a.getDuration()),a.dispatchEvent(X({type:"adProgress",ad:a.getAd(),data:b})));G4(a,a.getCurrentTime())}),a.o.setInterval(250),a.o.start()):J4(a,2)};D4.prototype.getCurrentTime=function(){return q2.prototype.getCurrentTime.call(this)+this.F}; var F4=function(a){a.T.listen(a.ua,Object.values(EM),function(b){switch(b.type){case "SIMID:Creative:clickThru":a.reportEvent("click");a.dispatchEvent(X({type:"click",ad:a.getAd()}));a.Y&&sQ().report(148,{time:a.getCurrentTime(),dur:a.getDuration()},!0);b.resolve();break;case "SIMID:Creative:fatalError":case "SIMID:Creative:requestStop":b.resolve();J4(a,4);break;case "SIMID:Creative:requestSkip":b.resolve();a.skip();break;case "SIMID:Creative:handleSkipShown":a.dispatchEvent(X({type:"skippableStateChanged", ad:a.getAd()}));a.reportEvent("skipShown");a.dispatchEvent(X({type:"skipShown",ad:a.getAd()}));b.resolve();break;case "SIMID:Creative:reportTracking":if(Array.isArray(b.args.jh))for(var c=v(b.args.jh),d=c.next();!d.done;d=c.next())oQ(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.Pd(), c));break;case "SIMID:Creative:requestPause":a.pause();b.resolve();break;case "SIMID:Creative:requestPlay":a.resume();b.resolve();break;case "SIMID:Creative:requestResize":K4(a,b);break;case "SIMID:Creative:requestChangeAdDuration":d=b.args.duration;if(d<0&&d!==-2)b.reject();else if(c=a.getAd())d-=LS(c),c.N=d,a.D=!0,a.dispatchEvent(X({type:"durationChange",ad:a.getAd()})),b.resolve();break;case "SIMID:Creative:requestNavigation":var e,f;a.ab(b.args.uri,((e=a.getAd())==null?void 0:KS(e))||null,((f= a.getAd())==null?void 0:f.g!=null?f.g.th():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":KB(c, d.key);break;case "Parameter":d.value&&HB(c,d.key,d.value);break;case "OneShotParameter":d.value&&T(c,d.key,d.value)}}b.resolve();break;default:b.reject()}})},J4=function(a,b){b=a.ua.g.sendMessage("SIMID:Player:adStopped",new GM({code:b}));E4(a,b)},L4=function(a,b){var c;return z(function(d){if(!a.O.j.L)throw Error("Resize is not supported.");c=y4(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,l=b.creativeHeight,p=b.creativeX,n=b.creativeY;if(p===void 0||n===void 0||k===void 0||l===void 0)throw Error("Invalid creative dimensions.");if(k!==c.width||l!==c.height||p!==0||n!==0)throw Error("Creative resizing is not supported.");e=new yn(g,h,e,f);if(!(new yn(0,0,c.width,c.height)).contains(e))throw Error("Video cannot be moved out of slot bounds.");a.G=e;a.O.g.Li(a.G);d.g=0})},K4=function(a,b){L4(a,b.args).then(function(c){return b.resolve(c)}).catch(function(c){return b.reject(c)})}; D4.prototype.start=function(){var a=this;q2.prototype.start.call(this);this.B.promise.then(function(){return void M4(a)}).catch(function(){N4(a)})}; var M4=function(a){if(!a.Ka()){O4(a);KB(U(),"ima_lsc");var b,c;(b=a.ua)!=null&&(b.j?b=void 0:(b.l=0,b.j=new Vy,ZM(b),b=b.j.promise),(c=b)==null||c.then(function(){KB(U(),"ima_csr")},function(){KB(U(),"ima_cmc")}));a.ua.g.sendMessage("SIMID:Player:startCreative").catch(function(){return void N4(a)})}},O4=function(a){a.O.g.Qc();a.l&&(a.l.style.display="block")},N4=function(a){var b=iR(EO),c=RT(b,a.O.j,a.getAd());q2.prototype.Nb.call(a,b,c);a.dispatchEvent(new kR(b));E4(a)}; D4.prototype.skip=function(){var a=this.ua.g.sendMessage("SIMID:Player:adSkipped");this.reportEvent("skip");this.dispatchEvent(X({type:"skip",ad:this.getAd()}));E4(this,a)};D4.prototype.Lc=function(){q2.prototype.Lc.call(this);this.ua.g.sendMessage("SIMID:Player:appBackgrounded")};D4.prototype.tc=function(){q2.prototype.tc.call(this);this.ua.g.sendMessage("SIMID:Player:appForegrounded")}; D4.prototype.Mb=function(){var a=y4(this.g),b=new yn(0,0,a.width,a.height),c=this.G||b;this.ua.g.sendMessage("SIMID:Player:resize",new GM({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:zF(a.width,a.height)}))};var I4=function(a){a.ua.g.o.promise.then(function(){var b=a.ua,c=a.getDuration();b.g.sendMessage("SIMID:Media:durationchange",new GM({duration:c}))})}; D4.prototype.P=function(){this.K.dispose();this.O.j.L&&this.O.g.Mi();this.O.g.gd();this.l&&(this.l.style.visibility="hidden");this.dispatchEvent(X({type:"contentResumeRequested",ad:this.getAd()}));this.dispatchEvent(X({type:"allAdsCompleted",ad:this.getAd()}));E4(this);q2.prototype.P.call(this)};D4.prototype.destroy=function(){var a=this;q2.prototype.destroy.call(this);oV(this.K,function(){return void a.dispose()})}; var E4=function(a,b){b=b===void 0?Promise.resolve({}):b;var c;(c=a.ua)!=null&&c.j&&(c.j.reject(),c.j=null);var d;(d=a.ua)==null||YM(d);a.R||(c=cu(2E3),a.R=Promise.race([b,c]).then(function(){Xe(a.l);a.ua.dispose();a.T.dispose()}),a.destroy())};var P4=function(a){Xs.call(this,"vpaid-message");this.data=a};q(P4,Xs);var Q4=function(a,b,c){N.call(this);this.j=a;this.A=b;this.l=c;this.H=this.g=null;this.o=new IG(this);M(this,this.o)};q(Q4,N);Q4.prototype.init=function(){this.o.listen(Qe(),"message",this.vl);R4(this)}; var R4=function(a){if(!a.H||!a.g){a.H||(a.H=O3(a.l));if(!a.g){a:{var b=a.A;for(var c=v(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),OQ(b.g,"adsManager","vpaidEvent",a))}};m=Q4.prototype; m.start=function(){R4(this);if(!this.H)throw P3(this.l),R4(this),Error("Play ad was called before prior video display was released.");if(!this.g)throw sQ().report(122,{man:"vpaid",when:"start"},!0),Error("Play ad was called before insecure iframe channel was available.");};m.resume=function(){};m.getName=function(){return"friendly"};m.nj=function(){};m.Ee=function(a,b){b.session=this.j;b.type=a;Qe().parent.postMessage(JSON.stringify(b),"*")}; m.vl=function(a){(a=S4(a))&&a.session===this.j&&(a.type==="friendlyReady"?(a={},this.dispatchEvent(new P4((a.type="vpaidChannelLoaded",a)))):this.dispatchEvent(new P4(a)))};var S4=function(a){a=a.Pb||null;if(!a)return null;a=a.data;if(typeof a!=="string")return null;a=c0(a);if(a!=null)try{return JSON.parse(a.data)}catch(b){}return null}; Q4.prototype.P=function(){var a;if((a=this.g)!=null){var b=this.j,c={};b=(c.vpaidEventType="destroyFriendlyIframe",c.session=b,c);OQ(a.g,"adsManager","vpaidEvent",b)}E3(this.l,this.H);a=this.A;(b=this.g)&&a.g.set(b,!1)};Q4.prototype.Md=function(){return this.H};var T4=function(a,b,c,d,e){N.call(this);this.ad=a;this.A=b;this.l=c;this.j=d;this.F=e;this.H=null;this.D="";this.frameElement=null;this.B=this.o=!1;this.g=new IG(this);M(this,this.g)};q(T4,N);m=T4.prototype; m.init=function(){if(!this.o&&(this.H||(this.H=O3(this.j)),this.H)){var a;if((a=nS(this.ad))&&/\.html(\?.*)?$/.test(a))this.F&&(a=a.replace(".html","_"+"en".replace("-","_")+".html")),a=E(a);else{var b=new O(a),c=new O("http://tpc.googlesyndication.com/pagead/js/loader21.html");b.o==="https"&&By(c,"https");a=Ey(c,a||"").toString()}this.frameElement=Se("IFRAME",{src:RR(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.g.listen(this.frameElement,"load",this.Tn);var d;(d=this.l.ob())==null||d.appendChild(this.frameElement);this.g.listen(Qe(),"message",this.wl);this.g.listen(this.H,"beginFullscreen click end endFullscreen error loaded mediaLoadTimeout pause play timeUpdate volumeChange".split(" "),this.Kj);this.g.listen(this.H,LQ,this.Kj);this.o=!0}}; m.start=function(){this.init();this.B=!0;if(!this.H)throw P3(this.j),this.init(),Error("Play ad was called before prior video display was released.");this.frameElement!=null&&(this.frameElement.style.display="block")};m.resume=function(){U4(this,"play")};m.getName=function(){return"secure"};m.nj=function(a){var b={};U4(this,"supportedMimeTypes",(b.supportedMimeTypes=a,b))}; m.Ee=function(a,b){var c;if(((c=this.frameElement)==null?void 0:c.contentWindow)!=null){b.session=this.A;b.type=a;var d;(d=this.frameElement)==null||d.contentWindow.postMessage(JSON.stringify(b),"*")}}; m.wl=function(a){a=a.Pb||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.frameElement)==null?void 0:c.contentWindow)&&b!=null&&b.session===this.A)if(b.type==="videoCall")switch(b.func){case "load":case "play":if(!this.B){this.dispatchEvent(new P4({type:"AdError",message:"VPAID ad called play on video element before start was called on VPAID manager"}));break}this.l.gh();var d=b.src;if(this.D!==d){this.D=d;var e;(e=this.H)==null||TQ(e, d,null,this.ad.getAdPodInfo())}var f;(f=this.H)==null||f.play();break;case "pause":var g;(g=this.H)==null||g.pause();break;case "currentTime":e=b.currentTime,(d=this.H)==null||UQ(d,e)}else this.dispatchEvent(new P4(b))};m.Tn=function(){var a={};this.dispatchEvent(new P4((a.type="vpaidChannelLoaded",a)))};m.P=function(){Xe(this.frameElement);E3(this.j,this.H)}; m.Kj=function(a){switch(a.type){case "loadedmetadata":var b,c={};U4(this,"loadedmetadata",(c.duration=(b=this.H)==null?void 0:b.getDuration(),c));break;case "timeUpdate":var d;b={};U4(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":U4(this,"ended");break;case "beginFullscreen":U4(this,"fullscreenchange");break;case "endFullscreen":U4(this,"fullscreenchange");break;case "loaded":U4(this,"loadstart"); break;case "mediaLoadTimeout":U4(this,"stalled");break;case "play":U4(this,"playing");break;default:U4(this,a.type)}};var U4=function(a,b,c){c=c===void 0?{}:c;c.messageType=b;a.Ee("wrapperCall",c)};T4.prototype.Md=function(){return this.H};function V4(a){a=nS(a);return!(!a||!a.match("//s0.2mdn.net/instream/html5/survey/survey.html"))};var W4=function(a,b,c){G2.call(this,a,b,c);var d=this;this.H=null;this.ba=this.R=this.loaded=!1;this.G=[];this.sa=this.o=null;this.T=this.duration=this.ea=-1;this.W=this.D=!1;this.l=this.layout=null;this.Va=b.A;this.qa=b.B;this.ib=function(){var e={};return e.currentTime=d.getCurrentTime(),e.duration=d.getDuration(),e.isPlaying=!0,e.isVpaid=nS(d.getAd())!=null,e.isYouTube=!1,e.volume=d.o,e};this.ia="goog_"+Kd++;this.L=new $t(500);this.re=(new O(nS(this.getAd()))).j;this.B=this.getAd().qc();this.I= b.g.kc();this.F="normal";b.l.push(this.toString())};q(W4,G2);m=W4.prototype; m.init=function(){if(fP.g===0){var a=iR(yO,null,"vpaid");X4(this,a);throw a;}if(!this.A){a=this.getAd();var b=this.ia,c=this.O.g,d=this.Va,e=this.qa;this.l=V4(a)||fP.g!==2?new T4(a,b,c,d,V4(a)):new Q4(b,e,d);M(this,this.l);a=this.getAd().tb;a.j=Ta();a.g=null;this.g.listen(this.L,"tick",this.hc);this.g.listen(sT(),iQ,this.Qg);this.g.listen(this.l,"vpaid-message",this.fc);this.l.init();this.H=this.l.Md();Y4(this,this.H);this.A=!0;J2(this,"loaded")}}; m.start=function(){this.init();G2.prototype.start.call(this);if(this.l){try{this.l.start()}catch(d){var a=iR(RO,d,"internal");X4(this,a);return}if(this.H=this.l.Md()){Y4(this,this.H);Z4(this);PD(this.j,XT(this.getAd(),this.O.j,this.H));PQ(this.H);this.reportEvent("show_ad");this.dispatchEvent(X({type:"show_ad",ad:this.getAd()}));this.O.g.Qc();a=this.getAd();if(a.g instanceof $R){var b=RS(a);if(b!=null&&b.length!==0){var c=document.body;c&&(this.layout=new i2(b,yS(a),this.I,c),this.layout.build(), OH(this.I,$I,this.Ib,this),OH(this.I,aJ,this.Ta,this))}}this.o!=null&&this.H.setVolume(this.o);CQ()&&(a=new UD(this.getAd().j,this.j,this.H,CQ(),this.getAd().Zb,!0),XD(a),M(this,a));this.ba=!0;this.B?this.dispatchEvent(X({type:"contentPauseRequested",ad:this.getAd()})):this.dispatchEvent(new u0("vpaidNonLinear",this.ia));$4(this);this.R||(this.T=au(this.Ua,this.ha.loadVideoTimeout,this))}}}; m.resize=function(a,b){this.F=zF(a,b)?"fullscreen":"normal";var c={};a=(c.width=a,c.height=b,c.viewMode=this.F,c);this.sendMessage("resizeAd",a)};m.expand=function(){this.sendMessage("expandAd");this.F="fullscreen"};m.collapse=function(){this.sendMessage("collapseAd");this.F="normal"};m.pause=function(){this.D||this.sendMessage("pauseAd")};m.resume=function(){if(this.D){this.sendMessage("resumeAd");var a;(a=this.l)==null||a.resume()}}; m.setVolume=function(a){G2.prototype.setVolume.call(this,a);this.o==null&&(this.o=a);this.ba&&this.sendMessage("setAdVolume",{value:a})};var Y4=function(a,b){b&&(uT(a.getAd(),a.ib),sT().H=b,a.K!=null&&(a=a.K,a.l=b,a.o.listen(a.l,"start",a.T)))}; W4.prototype.P=function(){vT(this.getAd());this.L.stop();var a;(a=this.layout)==null||a.dispose();this.I.clear();this.H&&(QQ(this.H),this.O.j.Sc||this.H.unload(),this.B&&(!this.R||this.H.l||this.H.o||this.H.pause()));this.loaded=!1;this.G=[];bu(this.T);this.L.dispose();G2.prototype.P.call(this)}; var a5=function(a){var b=a.getAd().getTraffickingParametersString(),c=E(JS(a.getAd())),d=a.getAd();if(a.B){var e=d.g,f=aS(e);f!=null&&(e.g=f)}e=a.o!=null?a.o:1;f={};b=(f.desiredBitrate=a.ha.bitrate,f.creativeData=b,f.viewMode=a.F,f.clickThroughUrl=c,f.attributionParams=KS(a.getAd()),f.adUrl=nS(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.l)==null||g.nj(a.ha.mimeTypes||[])}; W4.prototype.sendMessage=function(a,b){b=b===void 0?{}:b;if(this.loaded){var c;(c=this.l)==null||c.Ee(a,b)}else this.G.push({type:a,params:b})};W4.prototype.Ua=function(){this.getAd().tb.g=Ta();X4(this,iR(KO,null,(this.ha.loadVideoTimeout/1E3).toString()))};var X4=function(a,b){a.getAd().Xd();var c=a.getAd().tb;c.g==null&&(b.getErrorCode(),KO.getErrorCode(),c.g=Ta());c=RT(b,a.O.j,a.getAd());a.Nb(b,c);a.dispatchEvent(new kR(b));a.destroy()}; W4.prototype.fc=function(a){a=a.data;if(typeof a.type==="string")switch(a.type){case "forwardVpaidManagerEvent":this.dispatchEvent(a.data);break;case "vpaidChannelLoaded":a5(this);break;case "heavyAdIntervention":this.reportEvent(a.heavyAdInterventionEventType);break;case "returnDuration":this.duration=a.duration;break;case "returnRemainingTime":b5(this,a.remainingTime);break;case "AdClickThru":this.reportEvent("click");this.dispatchEvent(X({type:"click",ad:this.getAd()}));break;case "AdDurationChange":this.duration= a.duration;b5(this,a.remainingTime);var b,c;(b=this.getAd())!=null&&(c=b.g)!=null&&(c.duration=this.duration);this.dispatchEvent(X({type:"durationChange",ad:this.getAd()}));break;case "AdError":this.W=!0;X4(this,iR(SO,Error(a.message)));break;case "AdExpandedChange":this.dispatchEvent(X({type:"expandedChanged",ad:this.getAd()}));break;case "AdImpression":H2(this);J2(this,"impression");this.W=!0;this.dispatchEvent(X({type:"start",ad:this.getAd()}));break;case "AdLinearChange":var d=a.isLinear;!this.B&& d?(this.dispatchEvent(X({type:"contentPauseRequested",ad:this.getAd()})),this.sendMessage("becameLinear")):!d&&this.B&&(this.dispatchEvent(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.Y=d;this.dispatchEvent(X({type:"linearChanged",ad:this.getAd()}));break;case "AdLoaded":bu(this.T);this.R=!0;this.getAd().tb.g=Ta();a=a.companions;var f=this.getAd(); if(pS(f).length===0&&(b=f.g)){a:{b=b.Ca();c=this.O.j;try{e=HG(E(a));if(e==null||!e.documentElement){d=[];break a}var g=BH(e.documentElement);d=g.g.length===0?[]:[(new LU(e.documentElement,c)).getCompanionAds(g,b)];break a}catch(h){d=[];break a}d=void 0}d.length!==0&&iS(f,d)}$4(this);this.dispatchEvent(X({type:"adCanPlay",ad:this.getAd()}));break;case "AdPaused":this.D=!0;J2(this,"pause");break;case "AdPlaying":this.D=!1;J2(this,"resume");break;case "AdRemainingTimeChange":b5(this,a.remainingTime); break;case "AdSkipped":J2(this,"skip");this.destroy();break;case "AdSkippableStateChange":J2(this,"skippableStateChanged");break;case "AdStarted":this.reportEvent("creativeView");I2(this);this.dispatchEvent(X({type:"adStarted",ad:this.getAd()}));break;case "AdStopped":this.reportEvent("stop");this.W||X4(this,iR(SO));this.destroy();break;case "AdUserAcceptInvitation":this.B?this.reportEvent("acceptInvitationLinear"):this.reportEvent("acceptInvitation");break;case "AdUserMinimize":this.reportEvent("collapse"); break;case "AdUserClose":J2(this,"userClose");break;case "AdVideoComplete":J2(this,"complete");break;case "AdVideoFirstQuartile":J2(this,"firstQuartile");break;case "AdVideoMidpoint":J2(this,"midpoint");break;case "AdVideoStart":this.reportEvent("start");break;case "AdVideoThirdQuartile":J2(this,"thirdQuartile");break;case "AdVolumeChange":d=a.volume;d!==this.o&&(this.dispatchEvent(X({type:"volumeChange",ad:this.getAd(),data:{volume:d}})),d===0?(this.reportEvent("mute"),this.dispatchEvent(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);this.dispatchEvent(X({type:"interaction",ad:this.getAd(),data:d}));break;case "Ping":oQ(a.url)}};var $4=function(a){if(a.R&&a.ba){var b;(b=a.H)!=null&&OQ(b.j,b.g,"activate");a.sendMessage("startAd");a.L.start();a.B||(a.sendMessage("becameNonlinear"),a.sendMessage("getAdRemainingTime"));a.sendMessage("getAdDuration")}}; W4.prototype.getCurrentTime=function(){return this.getDuration()<0||this.getRemainingTime()<0?-1:this.getDuration()-this.getRemainingTime()};W4.prototype.getDuration=function(){return this.duration};W4.prototype.getRemainingTime=function(){return this.ea}; var b5=function(a,b){a.ea=b;if(!a.D){b=a.getAd().getDuration();var c=b-a.ea;if(b>=0&&c>=0){var d=new b3(a.getAd().getAdPodInfo(),c,b);a.dispatchEvent(X({type:"adProgress",ad:a.getAd(),data:d}));ND(a.j,c,b*1E3)}}b=a.getAd().getDuration();c=b-a.getRemainingTime();c<=b&&PH(a.I,hJ,new gJ(c,b))};W4.prototype.hc=function(){this.sendMessage("getAdRemainingTime")}; var Z4=function(a){var b={};U();b.pid="0";b.dn=a.re;var c;b["if"]=(c=a.l)==null?void 0:c.getName();b.asys=a.getAd().getAdSystem();c=new O(nS(a.getAd()));b.vad=c.l.indexOf("vpaid_adapter.js")!==-1;b.atag=Uy(c.g,"adTagUrl");var d=[];kS(a.getAd()).forEach(function(e){d.push(E(e.mimeType).toLowerCase())});b.mtypes=d.join(",");sQ().report(29,b)};W4.prototype.Ta=function(a){a.J.forEach(function(b){oQ(b)})};W4.prototype.Ib=function(a){var b=a.A;b!=null&&(this.ab(b,a.C,null),this.pause());a.B.forEach(function(c){oQ(c)})}; W4.prototype.skip=function(){this.sendMessage("skipAd")};W4.prototype.toString=function(){return"vpaidman"};var c5=function(a,b){this.g=a;this.duration=b;this.Db=new GR};m=c5.prototype;m.rg=function(){return!1};m.isLinear=function(){return!0};m.qc=function(){return!0};m.getAdPodInfo=function(){return this.Db};m.getDuration=function(){return this.duration};function d5(a){return FS(a,"nonlinear")&&nS(a)==null}function e5(a){sQ().report(100,{type:a})}function f5(a){var b=0;a.forEach(function(c){c&&c.qc()&&(b+=c.getDuration())});a.forEach(function(c,d){var e=c.getAdPodInfo();e.totalAds=a.length;c&&c.qc()&&(e.adPosition=d+1,e.g=b)})}var g5=function(){}; g5.prototype.create=function(a,b,c){if(a.length===0)throw Error("Ads manager creation failure, no ads.");var d=new c4(b.g);d=new D2(d,b.A,b.C,b.o,b.B,b.j,b.N,b.J);d.l=b.l;b=a[0];if(b instanceof jS&&CS(b)&&d5(b))e5("adsense"),a=[new Q2(a,d,c)];else{b=[];for(var e=0;e0)return this.g=null,Promise.resolve(z2(this));if(!(this.l.length>0||this.j))return Promise.resolve(null);this.g=new Vy;return this.g.promise}; var k5=function(a){return a.l.length>0&&a.o.length<1&&!a.j},m5=function(a){a.D.pa(a.A,"adBreakFetched",a.K,!1,a);a.D.pa(a.A,"adBreakFetchError",a.R,!1,a)},l5=function(a){KG(a.D,a.A,"adBreakFetched",a.K,!1,a);KG(a.D,a.A,"adBreakFetchError",a.R,!1,a);var b;a.j=(b=a.l.shift())!=null?b:null;b=new h5;b.offset=a.offset;b.g=a.T;b.l=a.j;fP.setCompanionBackfill("on_master_ad");n5(a.A,a.j.na,b)}; j5.prototype.K=function(a){var b=a.g;if(b.offset===this.offset){fP.setCompanionBackfill(this.F);m5(this);this.j=null;var c=a.o;this.B=[].concat(w(this.B),w(c));o5(this.B,this.offset,this.L,this.l.length,this.aa);this.o=[].concat(w(this.o),w(c));this.o.length>0&&(this.g&&(c=this.g.resolve,this.g=null,c(z2(this))),this.C.dispatchEvent(a));k5(this)&&l5(this);this.l.length>0||this.j||p5(this,b)}}; j5.prototype.R=function(a){a=a.g;a.offset===this.offset&&(fP.setCompanionBackfill(this.F),m5(this),this.j=null,o5(this.B,this.offset,this.L,this.l.length,this.aa),k5(this)&&l5(this),this.l.length>0||this.j||p5(this,a))};var p5=function(a,b){if(a.g){var c=a.g.resolve;a.g=null;c(null)}a.B.length===0&&(fP.getCompanionBackfill()==="always"&&a.A.Kf.B(AV()),b=new i5("adBreakFetchError",b),lR(AO),a.C.dispatchEvent(b))};j5.prototype.P=function(){fP.setCompanionBackfill(this.F);m5(this);L.prototype.P.call(this)}; function o5(a,b,c,d,e){var f=q5(e,a),g=a.length+d;a.forEach(function(h,k){var l=h.getAdPodInfo();l.totalAds=g;l.l=b;l.j=c;h&&h.qc()&&(l.adPosition=k+1,l.g=f)})}function q5(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.qc()&&(d+=e.getDuration())});return d>0?d:-1};var r5=function(a,b,c){this.j=a;this.g=b;this.l=c};r5.prototype.create=function(a){return new j5(this.j,[].concat(w(this.g.g.get(a)||[])),a,this.g.getPodIndex(a),this.l)};var s5=function(a,b,c,d){d=d===void 0?null:d;Xs.call(this,a);this.offset=b;this.g=c;this.l=d};q(s5,Xs);var u5=function(a,b,c){N.call(this);this.o=a;this.F=b;this.A=c;this.l=null;this.g=new Map;this.j=new IG(this);M(this,this.j);t5(this);this.B=gR(this.A).reduce(function(d,e){d.set(e,b.create(e));return d},new Map);this.D=new Set};q(u5,N); var v5=function(a,b){return[].concat(w(a.A.g.get(b)||[]))},w5=function(a,b,c){a.g.set(b,c);a.l===b&&(a.l=null)},x5=function(a){return[].concat(w(gR(a.A))).length===a.g.size};u5.prototype.start=function(){this.o.start();aR(this.o)};u5.prototype.P=function(){MG(this.j);this.o.stop();N.prototype.P.call(this)}; var t5=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||y5(a,b):(a.l=c,y5(a,c))})},y5=function(a,b){var c=a.B.get(b);a.D.has(b)?z5(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,l5(c)))},A5=function(a,b){a.j.pa(b,"adBreakFetched");a.j.pa(b,"adBreakFetchError")};u5.prototype.K=function(a){z5(this,a.g.offset)}; var z5=function(a,b){a.D.add(b);var c=a.B.get(b);A5(a,c.C);a.g.get(b)==null&&(a.l===b?(a.l=null,a.dispatchEvent(new s5("play",b,c))):a.l==null&&a.dispatchEvent(new s5("load",b,c)))};u5.prototype.G=function(a){a=a.g.offset;var b=this.B.get(a);A5(this,b.C);this.B.set(a,this.F.create(a));var c=lR(AO);this.dispatchEvent(new s5("error",a,b,c))};var C5=function(a,b,c,d,e,f){q2.call(this,new C2);this.ea=a;this.D=c;this.ha=e;this.O=f;this.A=null;this.R=this.o=this.T=!1;this.l=null;this.F=this.B=this.G=!1;this.K=this.L=-1;a=e.playAdsAfterTime;e=gR(b);e=v(e);for(var g=e.next();!g.done;g=e.next())g=g.value,g!==-1&&g<=a&&b.remove(g);d=new $Q(d,gR(b));M(this,d);this.g=new u5(d,new r5(c,b,f.C.j),b);M(this,this.g);this.j=new IG(this);M(this,this.j);B5(this);this.j.listen(c,"contentComplete",this.ia);this.volume=1;f.l.push(this.toString())};q(C5,q2); m=C5.prototype;m.resize=function(a,b){this.L=a;this.K=b;q2.prototype.resize.call(this,a,b)};m.discardAdBreak=function(){var a=this.V;D5(this)&&a instanceof e4&&a.j?E5(this):(a=dR(this.g.o),a!=null&&this.g.g.get(a)==null&&(w5(this.g,a,1),a===0&&F5(this),(x5(this.g)||this.o)&&G5(this)))};m.getCuePoints=function(){return[].concat(w(gR(this.g.A)))}; m.init=function(){var a=this;this.D.wd=!1;this.j.listen(this,"allAdsCompleted",function(){a.D.wd=!0});var b={};b=(b.cuepoints=this.getCuePoints(),b);b=X({type:"adMetadata",ad:this.getAd(),data:b});this.dispatchEvent(b);v5(this.g,0).length===0&&F5(this);this.g.start()};m.start=function(){fP.j||D5(this)&&this.B||(D5(this)?(this.B=!0,H5(this)):this.G=!0)}; var F5=function(a){a.T=!0;a.dispatchEvent(X({type:"contentResumeRequested",ad:a.getAd()}))},G5=function(a){a.R||(a.R=!0,a.dispatchEvent(X({type:"allAdsCompleted",ad:a.getAd()})))},H5=function(a){I5(a,"breakStart");a.l&&(bu(a.l),a.l=null);q2.prototype.start.call(a)};C5.prototype.setVolume=function(a){this.volume=a;q2.prototype.setVolume.call(this,a)}; var K5=function(a,b){a.A=b.offset;var c=a.ea;b=b.g;var d=a.O,e=a.ha,f=new c4(d.g);f=new D2(f,d.A,d.C,d.o,d.B,d.j,d.N,d.J);f.l=d.l;c=new e4(new A2(b,f,c,e),f,e);a.V.Ka()||a.V.dispose();a.V=c;J5(a);a.V.setVolume(a.volume);a.V.resize(a.L,a.K);a.V.init()},J5=function(a){var b=[].concat(w(p2));a.j.listen(a.V,b,function(c){return void a.dispatchEvent(c)});a.j.listen(a.V,"contentResumeRequested",function(){B5(a);F5(a)});a.j.listen(a.V,"contentPauseRequested",function(c){a.j.pa(a.g,"load",a.W);a.j.pa(a.g, "play",a.ba);a.j.pa(a.g,"error",a.Y);a.dispatchEvent(c)});a.j.listen(a.V,"adError",function(c){c=c.getError()||iR(RO);a.dispatchEvent(X({type:"log",data:c}))});a.j.listen(a.V,"allAdsCompleted",function(){a.B=!1;if(a.g.g.get(-1)!=null&&(aQ=VP(),a.O.o!=null)){var c=a.O.o.F();c!=null&&L5(c)}a.T||F5(a);I5(a,"breakEnd");(x5(a.g)||a.o)&&G5(a);a.F&&(G5(a),a.dispose())})};C5.prototype.W=function(a){var b=a.offset;this.A!==b&&(b!==-1||this.Fc())&&K5(this,a)}; C5.prototype.ba=function(a){this.A!==a.offset&&K5(this,a);w5(this.g,a.offset,0);var b=v5(this.g,0).length===1;a.offset===0&&b&&(this.Fc()||F5(this));fP.j?H5(this):M5(this,a.offset)}; C5.prototype.ia=function(a){this.o||this.Ka()||this.F||(this.o=!0,this.g.g.get(-1)!=null&&this.g.g.get(-1)===1)||(x5(this.g)&&this.V instanceof C2?(this.dispatchEvent(X({type:"contentResumeRequested",ad:null})),G5(this)):x5(this.g)||this.g.g.get(-1)!==2?v5(this.g,-1).length>0?(a.l=!1,a=this.g.o,a.g.includes(-1)&&a.dispatchEvent(new ZQ(-1,null)),a.stop()):G5(this):(a.l=!0,G5(this)))}; C5.prototype.Y=function(a){w5(this.g,a.offset,2);var b=a.l||lR(AO);this.dispatchEvent(X({type:"log",data:b}));b={};this.dispatchEvent(X({type:"adBreakFetchError",ad:null,data:(b.adBreakTime=a.offset,b)}));((b=x5(this.g)||this.o)||a.offset===0)&&F5(this);b&&G5(this)};var B5=function(a){a.j.listen(a.g,"load",a.W);a.j.listen(a.g,"play",a.ba);a.j.listen(a.g,"error",a.Y)}; C5.prototype.destroy=function(){this.l&&(bu(this.l),this.l=null);var a=this.V;D5(this)&&a instanceof e4&&a.j?(this.F=!0,E5(this)):(G5(this),this.dispose())};var E5=function(a){q2.prototype.destroy.call(a)},D5=function(a){return!(a.V instanceof C2)&&!a.V.Ka()},M5=function(a,b){b===0&&(a.l=au(function(){F5(a)},100));b===-1&&(a.l=au(function(){E5(a)},500));a.G&&(a.G=!1,a.B=!0,H5(a));var c={};b=(c.adBreakTime=b,c);b=X({type:"adBreakReady",ad:a.getAd(),data:b});a.dispatchEvent(b)}; C5.prototype.P=function(){this.D.wd=!0;q2.prototype.P.call(this)};C5.prototype.toString=function(){return"vmapman"};var I5=function(a,b){a.A!==null&&v5(a.g,a.A).forEach(function(c){pQ(xQ(c.X,b))})};function N5(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 O5=function(a,b,c,d){this.j=a;this.g=b;this.O=c;this.l=d};O5.prototype.build=function(a,b){a.enablePreloading&&BQ(this.O.j.Sc)?P5(this.O.A,2):P5(this.O.A,1);if(this.g instanceof eR){var c=this.g,d=this.j,e=this.O,f=new g5;sQ().report(100,{type:"vmap"});a=new C5(f,c,d,b,a,e)}else b=this.g,c=this.O,d=new g5,f5(b),a=d.create(b,c,a);this.l(a);return a};var Q5=function(a,b){L.call(this);this.g=new IG(this);M(this,this.g);this.g.listen(b,"userInteraction",this.j);this.I=a};q(Q5,L);Q5.prototype.j=function(a){switch(a.messageType){case "focusSkipButton":PH(this.I,MI,null);break;case "focusUiElement":PH(this.I,LI,null)}};var R5=function(a,b,c,d,e){L.call(this);var f=this;this.L=a;this.container=b;this.ha=c;this.o=d;this.D=e;this.l=this.g=null;this.F=-1;this.C=[];this.B={};this.A=null;this.D.start();this.j=new IG(this);this.ba=new Q5(this.container.kc(),this.o);this.sa=null;this.j.listen(this.o,"adsManager",this.Y);this.j.listen(this.o,"userInteraction",this.W);this.A=lt(window,"beforeunload",function(){f.g&&f.g.Af()})};q(R5,L); R5.prototype.P=function(){var a=this;this.g&&this.g.destroy();this.A&&(ut(this.A),this.A=null);Fo(this.l);Fo(this.ba);au(function(){Fo(a.j)},0);L.prototype.P.call(this)};R5.prototype.T=function(a){var b=a.type,c={};a=(c.vpaidEventType=a.l,c.session=a.g,c);this.sendMessage({type:b,data:a})};R5.prototype.Y=function(a){try{S5(this,{type:a.messageType,data:a.Cb})}catch(b){T5(this,b)}};R5.prototype.W=function(){var a;(a=this.g)==null||a.tc()}; var T5=function(a,b){b instanceof lO?(b.getErrorCode(),U5(a,b)):U5(a,iR(EO,b));a.dispose()},S5=function(a,b){if(b.type!=="start"||a.g)if(a.g||b.type==="init")var c=!1;else a.C.push(b),c=!0;else U5(a,iR(tO,null,"Should call init before calling start.")),c=!0;if(!c)switch(b.type){case "init":if(a.g)break;a.ha.append(b.data.adsRenderingSettings);try{var d=a.L.build(a.ha,a.D);a.j.listen(d,fQ,a.R);a.j.listen(d,"adError",a.aa);a.j.listen(d,gQ,a.T);a.g=d}catch(G){T5(a,G);break}for(;a.C.length!==0;){var e= a.C.shift();S5(a,e)}a.l==null&&(a.l=new $t(200));a.j.listen(a.l,"tick",a.G);a.l.start();a.g.init();Wn()||a.j.listen(Qe(),"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 C5)E5(a.g);else{var h;(h=a.g)==null||h.destroy()}break;case "navigationRequestedFailed":var k;(k=a.g)==null||k.resume();b=iR(FO,null,(e=b.data.url)!=null?e:"unknown");e={};a.sendMessage({type:"log",data:(e.logData=nO(b),e)});break; case "pause":var l;(l=a.g)==null||l.pause();break;case "resume":var p;(p=a.g)==null||p.resume();break;case "destroy":a.dispose();break;case "expand":var n;(n=a.g)==null||n.expand();break;case "collapse":var r;(r=a.g)==null||r.collapse();break;case "volume":var u;(u=a.g)==null||u.setVolume(b.data.volume);break;case "resize":var t;(t=a.g)==null||t.resize(b.data.width,b.data.height);break;case "discardAdBreak":a.g&&a.g instanceof C5&&a.g.discardAdBreak();break;case "updateAdsRenderingSettings":if(b.data== null)break;a.ha.append(b.data.adsRenderingSettings);break;case "click":var x;(x=a.g)==null||x.Zc();break;case "appForegrounding":var A;(A=a.g)==null||A.tc();break;case "appBackgrounding":var F;(F=a.g)==null||F.Lc()}}; R5.prototype.R=function(a){var b=V5(this,a.type,a.getAd()),c=a.type,d=a.getAdData();a.getAd();switch(c){case "adBreakReady":this.sendMessage({type:c,data:d});break;case "adBreakFetchError":this.sendMessage({type:c,data:d});break;case "mediaUrlPinged":this.sendMessage({type:c,data:d});break;case "adProgress":d instanceof b3&&(b={},b=(b.adBreakDuration=d.adBreakDuration,b.adPosition=d.adPosition,b.currentTime=d.currentTime,b.duration=d.duration,b.totalAds=d.totalAds,b),this.sendMessage({type:c,data:b})); break;case "interaction":var e={};this.sendMessage({type:c,data:(e.adData=b,e.interactionData=d,e)});break;case "adMetadata":b=d==null?void 0:d.cuepoints;if(!b)break;d=N5(b);e={};this.sendMessage({type:c,data:(e.adCuePoints=b,e.internalCuePoints=d,e)});break;case "complete":d={};this.sendMessage({type:"remainingTime",data:(d.currentTime=-1,d.duration=-1,d.remainingTime=-1,d)});d={};this.sendMessage({type:c,data:(d.adData=b,d)});break;case "allAdsCompleted":W5(this);d={};this.sendMessage({type:c,data:(d.adData= b,d)});break;case "loaded":c=a.getAd();if(!c){U5(this,iR(EO));break}c.getContentType()!=null&&b&&(b.contentType=c.getContentType());c={};c=(c.adData=b,c);this.sendMessage({type:"loaded",data:c});break;case "videoIconClicked":c=d.clickThroughUrl;(XP().J||c)&&this.sendMessage({type:"videoIconClicked",data:d});break;case "iconFallbackImageClosed":this.sendMessage({type:"iconFallbackImageClosed"});break;case "click":c={};this.sendMessage({type:"click",data:(c.adData=b,c)});break;case "log":d=a.getAdData(); if(!d)break;if(!(d instanceof lO))break;d=nO(d);e={};this.sendMessage({type:c,data:(e.adData=b,e.logData=d,e)});break;case "companionBackfill":this.sendMessage({type:"companionBackfill"});break;case "volumeChange":b={};this.sendMessage({type:c,data:(b.adData=d,b)});break;case "navigationRequested":c=d.url;if(!c)break;(new O(c)).o||(c=NW(c),d.url=c);XP().dj?(b=c,(c=(e=d.attributionSrc)!=null?e:null)&&cB(vC)&&(b=new O(b),Oy(b,"ase")==="3"&&Oy(b,"asrd")==="1"&&(c=new O(c),Cy(c,"googleadservices.com"), c=c.toString())),d.attributionSrc=c,this.sendMessage({type:"navigationRequested",data:d})):this.ha.disableClickThrough||RH(c,d.attributionParams);break;case "setPaidV2UserEnabled":this.sendMessage({type:c,data:d});break;case "updateGfpCookie":this.sendMessage({type:c,data:d});break;default:d={},this.sendMessage({type:c,data:(d.adData=b,d)})}};R5.prototype.aa=function(a){var b=this;W5(this);this.j.pa(Qe(),"resize",this.K);U5(this,a.getError());au(function(){return b.dispose()})}; var W5=function(a){a.j.pa(a.l,"tick",a.G);Fo(a.l);a.l=null;var b={};a.sendMessage({type:"remainingTime",data:(b.currentTime=-1,b.duration=-1,b.remainingTime=-1,b)})};R5.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={};var e=(a.currentTime=(c=this.g)==null?void 0:c.getCurrentTime(),a.duration=(d=this.g)==null?void 0:d.getDuration(),a.remainingTime=b,a);this.sendMessage({type:"remainingTime",data:e})}}; R5.prototype.K=function(){try{var a;(a=this.g)==null||a.Mb()}catch(b){T5(this,b)}};var V5=function(a,b,c){if(c==null)return null;var d=XS(c);b==="start"&&(a.B[c.getAdId()]==null&&(b=pS(c)||[],a.B[c.getAdId()]=b.map(function(e){return fU(e)})),d.companions=a.B[c.getAdId()]);return d};R5.prototype.sendMessage=function(a){OQ(this.o,"adsManager",a.type,a.data||{})};var U5=function(a,b){b=nO(b);a.sendMessage({type:"error",data:b})};var X5=function(a){this.g=a};var Y5=function(){this.g=new Map},Z5=function(a,b){a.g.clear();for(var c=0;c<1;c++)a.g.set(new X5(b),!1)};var $5=["videoDisplay1","videoDisplay2"],a6=function(a){this.l=a;this.j=new Set;this.g=[]},P5=function(a,b){a.j.clear();a.g=$5.slice(0,b).map(function(c){return new NQ(a.l,c)})},O3=function(a){if(a.g.length>0){var b=a.g.shift();a.j.add(b);return b}return null},E3=function(a,b){b&&(a.j.delete(b),a.g.push(b))},P3=function(a){for(var b=v(a.j),c=b.next();!c.done;c=b.next())c=c.value,c.reset(XP().Sc),c.unload(),a.g.unshift(c)};var b6=function(a,b){Xs.call(this,"adsLoaded");this.g=a;this.l=b};q(b6,Xs);var c6=function(a,b){this.l=a;this.j=b;this.sa=null};c6.prototype.encrypt=function(a){var b=this;return z(function(c){if(c.g==1)return c.l=2,y(c,b.l.encrypt(a),4);if(c.g!=2)return c.return(c.j);xa(c);return c.return("")})};var d6=function(a){this.ads=a},f6=function(a,b){(b=e6(a,b))&&a.ads.splice(a.ads.indexOf(b),1);return b},e6=function(a,b){b<=0&&(b=120);return a.ads.find(function(c){return c.getDuration()>0&&c.getDuration()<=b})||null};var h6=function(a,b){this.j=a;a=g6(a,b);b=a.Zh;this.g=a.hn;this.Zh=b},i6=function(a){return a.j.reduce(function(b,c){var d;return[].concat(w(b),w((d=a.g.get(c))!=null?d:[]))},[])},j6=function(a,b){a.Zh.forEach(function(c){var d=f6(b,c.getDuration());d&&a.g.set(c,[d])})},g6=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.Z;h;){if(h===e){h=!0;break a}h=h.Z}h=!1}h&&f.push(g)});f.length===0&&d.push(e);c.set(e,f)}else c.set(e,[e])});return{hn:c, Zh:d}};var k6=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 h6(this.A,[]);this.l=new d6([])},l6=function(a,b){a=a.length===0;var c=b.length>=2,d=b.length>0,e;if(e=a)b=b[0],e=CS(b)&&FS(b,"nonlinear")&&nS(b)==null;return e?!1:a&&c||!a&&d};m=k6.prototype; m.Id=function(a,b){var c=this;if(this.B){var d=f6(this.l,this.C);d?a([d]):b(lR(AO))}else{var e=!1,f=!1;this.N.Id(function(g){c.g=new h6(c.A,g);f&&m6(c,a,b);e=!0},function(g){c.o=g;f&&m6(c,a,b);e=!0});this.J.Id(function(g){c.l=new d6(g);e&&m6(c,a,b);f=!0},function(g){c.j=g;e&&m6(c,a,b);f=!0})}};m.Tf=function(){return l6(this.A,this.l.ads)};m.oc=function(){throw Error("Do not use hasMoreAds in ad buffet ad source.");};m.jc=function(){throw Error("Do not use getNextAd in ad buffet ad source.");}; m.Yj=function(){throw Error("Do not use numInlineAdsProduced in ad buffet ad source.");};m.Xd=function(a){this.C=a;this.B=!0};var m6=function(a,b,c){a.o&&a.j?a.A.length>0&&a.o?c(a.o):a.j?c(a.j):(a=lR(AO),c(a)):a.j?b(i6(a.g)):a.o?(j6(a.g,a.l),i6(a.g).length>0?b(i6(a.g)):(a=lR(AO),c(a))):(j6(a.g,a.l),b(i6(a.g)))};var n6=function(a,b){this.C=a;this.A=b;this.g=this.j=0;this.l=-1;this.o="none"},o6=function(a,b){a.j+=1;a.o=b instanceof eR?"map":"src";sQ().report(176,{sic:a.j,eic:a.g,lst:a.o,lec:a.l});a.j>1||a.g>1||a.C(b)},p6=function(a,b){a.g+=1;a.l=b.getErrorCode();sQ().report(176,{sic:a.j,eic:a.g,lst:a.o,lec:a.l});a.j>1||a.g>1||a.A(b)};var q6=function(a,b,c,d,e){this.C=a;this.J=b;this.na=c;this.N=d;this.F=e;this.Wa=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.sa=null};q6.prototype.Id=function(a,b){r6(this,a,b)}; var s6=function(a,b,c){var d=[],e=function(f){a.oc()?a.jc(function(g){d.push(g);e(null)},function(g){e(g)}):d.length>0?b(d):(f==null&&(f=lR(AO)),c(f))};e(null)},r6=function(a,b,c){var d=[],e=[];t6(a,d,e);Promise.all(e).then(function(){return u6(a,d,b,c)},function(){return c(lR(IO))})},t6=function(a,b,c){a.ads.forEach(function(d){var e=[];b.push(e);d.l?v6(a,d)||(d=w6(a,d,e,function(f){return a.o=f}),c.push(d)):e.push(d)})},v6=function(a,b){if(wS(b)>=fP.getNumRedirects()){var c=a.j(b,MO,null,String(fP.getNumRedirects())); x6(a,b,c);return!0}return a.B?!1:(a.o=a.j(b,OO),!0)},u6=function(a,b,c,d){var e=[];b.forEach(function(f){f.forEach(function(g){return a.vf(g,function(h){return e.push(h)},function(h){return a.o=h})})});e.length>0?c(e):(a.o===null&&(a.o=lR(AO)),d(a.o))},w6=function(a,b,c,d){return new Promise(function(e,f){var g=UC(a.na,b.R);a.N.fetch(g,new n6(function(h){h instanceof q6?y6(a,h,b,c,d,e,f):(h=new lO("adLoadError","Ad source cannot contain playlist response.",2),mO(h,b),d(h),e())},function(h){h=z6(a, h,b);x6(a,b,h);d(h);e()}))})},y6=function(a,b,c,d,e,f,g){A6(b,c,a.Wa&&c.Wa,c.Jd);b.ads.length===0?(x6(a,c,a.j(c,PO)),f()):b.Id(function(h){d.push.apply(d,w(h));f()},function(h){x6(a,c,h);e(h);h.getErrorCode()===301&&g();f()})};m=q6.prototype;m.oc=function(){return this.g!=null&&this.g.oc()?!0:this.ads.length>0&&this.l0?a:b:a.length===1?a:b.slice(0,1)}; q6.prototype.vf=function(a,b,c){var d;if(!(d=a.g!=null)){var e=this.na;d=e.nonLinearAdSlotWidth||0;e=e.nonLinearAdSlotHeight||0;CS(a)&&!a.l?FS(a,"nonlinear")?c3(a,d,e):d3(a):FS(a,"linear")?d3(a):FS(a,"nonlinear")&&c3(a,d,e);d=a.g!=null}d||a.getAdId()==="privacy_sandbox"?(this.A++,b(a)):(b=a.ra.length===0?this.j(a,JO):a.isLinear()?this.j(a,GO):this.j(a,LO),mO(b,a),E6(this,b,a),c(b))};q6.prototype.Gi=function(a,b,c){var d=UC(this.na,a.R);F6(this,a,d,b,c)}; var F6=function(a,b,c,d,e){a.N.fetch(c,new n6(function(f){f instanceof q6?(A6(f,b,a.Wa&&b.Wa,b.Jd),d(f)):f instanceof eR?(f=new lO("adLoadError","Ad source cannot contain playlist response.",2),mO(f,b),e(f)):(f=new lO("adLoadError","Unknown ad source.",2),mO(f,b),e(f))},e))},B6=function(a,b,c){var d;if((d=a.g)!=null&&d.oc()){var e;(e=a.g)==null||e.jc(function(g){a.vf(g,b,function(h){a.oc()?a.jc(b,c):c(h)})},function(g){x6(a,a.ads[a.l],g);a.g=null;g.getErrorCode()===301?c(g):a.oc()?a.jc(b,c):c(g)})}else{var f; ((f=a.g)==null?void 0:f.Yj())===0&&(d=a.ads[a.l],x6(a,d,a.j(d,PO)));a.g=null;a.jc(b,c)}},x6=function(a,b,c){a.o=c;E6(a,c,b)},C6=function(a,b,c){a.l++;var d=a.ads[a.l];if(d.l)if(wS(d)>=fP.getNumRedirects()){var e=a.j(d,MO,null,String(fP.getNumRedirects()));x6(a,d,e);c(e)}else a.B?a.Gi(d,function(f){a.g=f;a.jc(b,c)},function(f){f=z6(a,f,null);x6(a,d,f);c(f)}):(e=a.j(d,OO),c(e));else a.vf(d,b,c)},z6=function(a,b,c){switch(b.getErrorCode()){case 300:case 301:case 302:case 303:case 200:case 1005:mO(b, c);break;default:b.getAd()&&(c=b.getAd()),b=a.j(c,PO)}return b},A6=function(a,b,c,d){a.ads.forEach(function(e){e.Z=b;vS(e)});D6(a,c);a.B=d};q6.prototype.j=function(a,b,c){var d=lR.apply(null,[b,c].concat(w(Ea.apply(3,arguments))));mO(d,a);return d};var E6=function(a,b,c){var d=c.G,e=b.getAd();e&&(c=e);a=RT(b,a.F,c);pQ(d,a)};var G6=function(a,b,c,d){q6.call(this,[],a,b,c,d)};q(G6,q6);G6.prototype.Tf=function(){return H6(this)>0};var H6=function(a){var b=a.ads.length-(a.l<0?1:a.l+1);return a.g!=null&&a.g instanceof G6?b+H6(a.g):b};m=G6.prototype;m.Id=function(a,b){s6(this,a,b)};m.oc=function(){if(this.g!=null&&this.g.oc())return!0;var a=this.A===0||this.A===this.D;return this.ads.length>0&&a&&this.l0&&AS(a.g[0])>=0?new G6(a.g,c,b,a.j):l6(a.l,a.g)?new k6(new q6(a.l,[],c,b,a.j),new q6([],a.g,c,b,a.j),a.l):new q6(a.l,a.g,c,b,a.j)},I6=function(a){a=a.filter(function(b){return b.getPodIndex()>0});a.sort(function(b,c){return b.getPodIndex()-c.getPodIndex()});return a},J6=function(a){return a.filter(function(b){return b.getPodIndex()===-1})};var M6=function(a,b,c,d){this.j=a;this.l=b;this.o=c;this.g=d;this.sa=null}; M6.prototype.fetch=function(a,b){if(a.adsResponse!=null&&(typeof a.adsResponse==="string"&&!D(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=HG(a.adsResponse).documentElement}catch(e){p6(b,lR(DO,e));break a}if(c){var d=Ta();N6(this,c,a,d,d,b)}else p6(b,lR(DO))}else hD(a.adTagUrl||"")?O6(this,a,b):P6(this,a,b)}; var P6=function(a,b,c){var d;if(!(d=b.adTagUrl==null))a:{try{Bd(b.adTagUrl)}catch(e){d=!1;break a}d=!0}d?fP.N?AT(function(e){return void Q6(a,b,c,e)}):Q6(a,b,c):p6(c,lR(xO,null,b.adTagUrl))},O6=function(a,b,c){a.j?a.j.K().then(function(){return void P6(a,b,c)}).catch(function(){}):P6(a,b,c)},Q6=function(a,b,c,d){d=d===void 0?"":d;var e,f,g,h,k;return z(function(l){if(l.g==1)return R6(b.adTagUrl||""),y(l,S6(a,b,d),2);e=l.j;f=zP(a.g.g);g=a.g.Va;h=new AG(b.vastLoadTimeout);k=Date.now();return l.return(a.o.get({url:e, timeout:h,withCredentials:!f,browsingTopics:g}).then(function(p){var n;return(n=p.documentElement)!=null?n:Promise.reject()}).then(function(p){N6(a,p,b,k,Date.now(),c)},function(p){var n="",r=lR(wO);p instanceof Error&&(r=lR(wO,p),n=p.message,n==="8"||p instanceof DOMException&&p.name==="AbortError")&&(r=lR(IO,p));p6(c,r);p=n;p={rt:XO(b.adTagUrl||""),ec:p};sQ().report(18,p)}))})},S6=function(a,b,c){var d,e,f,g,h;return z(function(k){if(k.g==1)return b.adTagUrl=lX(b.adTagUrl),d=n2(b,a.g,a.j),e=new O(d.g(b)), a.g.o==="tvos"&&cB(uC)&&(f=e.j,f==="googleads.g.doubleclick.net"||f==="www.googleads.g.doubleclick.net"?Cy(e,"googleads-att.g.doubleclick.net"):(f==="pubads.g.doubleclick.net"||f==="www.pubads.g.doubleclick.net")&&Cy(e,"pubads-att.g.doubleclick.net")),(g=D(c)?null:c)&&QR(e.j)&&e.g.set("ged",g),y(k,ZT(b,function(l){var p=a.l;if(!p.g){l=gX(l,p.j);var n=encodeURIComponent(Gc());l.set("useragent",n);g&&l.set("ged",g);n=fP.o;n==null||l.set("adsid",n);l=MW(l);p.g=p.encrypt(l)}p=p.g;return p},a.g),2);h= k.j;return k.return(nQ(e.toString(),h))})},R6=function(a){a={rt:XO(a)};sQ().report(17,a)},N6=function(a,b,c,d,e,f){var g=null,h=null;try{var k=mV(b,c,a.g);if(!k)throw lR(DO);var l=k.g();T6(a,l,c,d,e,new n6(function(p){g=p},function(p){h=p}))}catch(p){h=p instanceof lO?p:lR(EO,p)}h!=null?p6(f,h):g&&o6(f,g)},T6=function(a,b,c,d,e,f){var g=b.g,h=b.j;if(g!=null)o6(f,g);else if(h&&h.length>0){h.forEach(function(l){l.na=c;vS(l);l=l.tb;l.A=d;l.o=e});var k=L6(new K6(h,a.g),a,c);h.forEach(function(l){l.B= k});o6(f,k)}else throw f=lR(PO),b=b.Ae,a=RT(f,a.g),pQ(b,a),f;};var U6=function(a,b,c,d){this.l=a;this.o=d;this.g=new mX;this.j=!1;this.sa=null;this.A=new M6(this.l,b,c,d)};U6.prototype.requestAds=function(a,b,c){var d=this,e=function(g){b(g);g=d.g;nX(g);g.g.pop();d.j=!1;V6(d)},f=function(g){c(g);g=d.g;nX(g);g.g.pop();d.j=!1;V6(d)};oX(this.g,function(){return void W6(d,a,e,f)});V6(this)}; var V6=function(a){if(!a.j){var b=a.g;nX(b);b=b.g;b=b[b.length-1];b!=null&&(a.j=!0,b())}},W6=function(a,b,c,d){var e=YO(b.adTagUrl);e!=null&&eD(b.adTagUrl||"")&&(a.o.qa=e);a.A.fetch(b,new n6(function(f){f instanceof eR?c(f):f.Id(c,d)},d))};var X6=function(a,b,c,d,e){N.call(this);this.Kf=a;this.xl=e;this.wd=!0;this.sa=this.g=null;this.j=new c6(b,d);this.l=new U6(a,this.j,c,d)};q(X6,N);X6.prototype.requestAds=function(a,b){var c=this;this.wd&&(a.adTagUrl&&!sF(a.adTagUrl)?Y6(this,new lO("adLoadError","URI malformed",1005),b):(this.j.g=void 0,this.l.requestAds(a,function(d){c.wd?Z6(c,d,b):$6(c,d,b)},function(d){return void Y6(c,d,b)})))}; var n5=function(a,b,c){a.wd||a.l.requestAds(b,function(d){a.wd?Z6(a,d,c):$6(a,d,c)},function(d){return void Y6(a,d,c)})};X6.prototype.contentComplete=function(){var a=new i5("contentComplete",new h5);this.dispatchEvent(a);a.l&&(aQ=VP(),a=this.Kf.F(),a!=null&&L5(a))}; var Z6=function(a,b,c){var d;z(function(e){if(e.g==1){if(b instanceof eR){a.dispatchEvent(new b6(b,c));e.g=0;return}a7(b);d=b;a.g?e=y(e,b7(a.g,b),4):(e.g=3,e=void 0);return e}e.g!=3&&(d=e.j);d instanceof lO?Y6(a,d,c):a.dispatchEvent(new b6(d,c));e.g=0})},$6=function(a,b,c){var d;z(function(e){if(e.g==1){if(b instanceof eR)return Y6(a,lR(rO,null,"Unsupported ad format."),c),e.return();a7(b);d=b;a.g?e=y(e,b7(a.g,b),3):(e.g=2,e=void 0);return e}e.g!=2&&(d=e.j);if(d instanceof lO)Y6(a,d,c);else{var f= new i5("adBreakFetched",c);f.o=d;a.dispatchEvent(f)}e.g=0})},Y6=function(a,b,c){a.wd?(fP.getCompanionBackfill()==="always"&&a.Kf.B(AV()),b=new kR(b),b.gj=c,a.dispatchEvent(b)):a.dispatchEvent(new i5("adBreakFetchError",c))},a7=function(a){for(var b={},c=v(a),d=c.next();!d.done;d=c.next()){d=rS(d.value);d=v(d.entries());for(var e=d.next();!e.done;e=d.next()){var f=v(e.value);e=f.next().value;f=f.next().value;var g=void 0;b[e]=((g=b[e])!=null?g:0)+f.length}}sQ().report(199,{adCount:a.length,extensionCounts:JSON.stringify(b)})};var c7=function(){this.g=[];this.j=!1};c7.prototype.push=function(a){this.g.push(a);this.j||d7(this)};var d7=function(a){var b=a.g.shift();b!=null&&(a.j=!0,b(),au(function(){a.j=!1;a.g.length!==0&&d7(a)},4))};var e7=function(){sV.apply(this,arguments)};q(e7,sV); e7.prototype.sendMessage=function(a){var b=f7(a,this.j);g7.push(function(){var c=a.name,d=b;d=d===void 0?null:d;switch(h7){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{var g,h,k;(e=Qe())==null||(g=e.webkit)==null||(h=g.messageHandlers)==null||(k=h.bridge)==null||k.postMessage(c)}catch(l){}break;case 3:f=B.browserlessSender;f!=null&&f(c,d);break;case 4:f=B.androidWebViewCompatSender,d=Wb(d),d.name=c,c=JSON.stringify(d),f!=null&&f.postMessage&&f.postMessage(c)}})}; var j7=function(a){a=(a===void 0?null:a)||"*";var b=i7.get(a);b==null&&(b=new e7(a),i7.set(a,b));return b},f7=function(a,b){var c=a.type,d=eQ[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},h7=0,i7=new Map,g7=new c7;new DOMParser;VO("3.25.1");function k7(a,b){try{var c=a.split(".");a=B;for(var d=0,e;a!=null&&d>2)+b.charCodeAt(e)&4294967295;b=d>0?d:4294967296+d}return b%1E3}};var B7=[12,13,20],C7=function(a,b,c,d){d=d===void 0?{}:d;var e=d.Xh===void 0?!1:d.Xh;d=d.Un===void 0?[]:d.Un;this.qf=a;this.rd=c;this.o={};this.Xh=e;a={};this.g=(a[b]=[],a[4]=[],a);this.j={};this.l={};if(b=Jm())for(b=v(b.split(",")||[]),a=b.next();!a.done;a=b.next())(a=Number(a.value))&&(this.j[a]=!0);d=v(d);for(b=d.next();!b.done;b=d.next())this.j[b.value]=!0},F7=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 Dw(a.rd,b,c,e,[],4),e;f=B7.includes(b);for(var g=[],h= [],k=v([0,1,2]),l=k.next();!l.done;l=k.next()){l=l.value;for(var p=v(a.qf[l].entries()),n=p.next();!n.done;n=p.next()){var r=v(n.value);n=r.next().value;r=r.next().value;var u=n,t=r;n=new xv;r=t.filter(function(S){return S.cg===b&&a.j[S.dc.getId()]&&D7(a,S)});if(r.length)for(n=v(r),r=n.next();!r.done;r=n.next())h.push(r.value.dc);else if(!a.Xh){r=void 0;l===2?(r=d[1],Hj(n,2,yv,Bi(u))):r=d[0];var x=void 0,A=void 0;r=(A=(x=r)==null?void 0:x(String(u)))!=null?A:l===2&&bk(t[0].ih,11)===1?void 0:d[0](String(u)); if(r!==void 0){u=v(t);for(t=u.next();!t.done;t=u.next())if(t=t.value,t.cg===b){x=r-t.zk;var F=t;A=F.Uj;var G=F.Vj;F=F.un;x<0||x>=A*G||x%G!==F||!D7(a,t)||(x=bk(t.ih,13),x!==0&&x!==void 0&&(A=a.l[String(x)],A!==void 0&&A!==t.dc.getId()?Ew(a.rd,a.l[String(x)],t.dc.getId(),x):a.l[String(x)]=t.dc.getId()),h.push(t.dc))}Jj(n,yv)!==0&&(ek(n,3,r),g.push(n))}}}}d=v(h);for(h=d.next();!h.done;h=d.next())h=h.value,k=h.getId(),e.push(k),E7(a,k,f?4:c),Vw(Qj(h,Yu,2,nj()),f?Xw():[c],a.rd,k);Dw(a.rd,b,c,e,g,1);return e}, E7=function(a,b,c){a.g[c]||(a.g[c]=[]);a=a.g[c];a.includes(b)||a.push(b)},D7=function(a,b){var c=ug(Gw).Wb,d=Wu(I(b.ih,Nu,3),c);if(!d.success)return Fw(a.rd,I(b.ih,Nu,3),b.cg,b.dc.getId(),d),!1;if(!d.value)return!1;c=Wu(I(b.dc,Nu,3),c);return c.success?c.value?!0:!1:(Fw(a.rd,I(b.dc,Nu,3),b.cg,b.dc.getId(),c),!1)},G7=function(a,b){b=b.map(function(c){return new u7(c)}).filter(function(c){return!B7.includes(bk(c,1))});a.qf=y7(a.qf,b)},H7=function(a,b){Zw(1,function(c){a.j[c]=!0},b);Zw(2,function(c, d,e){return F7(a,c,d,e)},b);Zw(3,function(c){return(a.g[c]||[]).concat(a.g[4])},b);Zw(12,function(c){return void G7(a,c)},b);Zw(16,function(c,d){return void E7(a,c,d)},b)};var I7=function(){this.g=function(){}},J7=function(a,b){a.g=$w(14,b,function(){})};function K7(a){ug(I7).g(a)};var L7,M7,N7,O7,P7,Q7; function R7(a){var b=a.Cm;var c=a.Wb;var d=a.config;var e=a.fm===void 0?q7():a.fm;var f=a.vj===void 0?0:a.vj;var g=a.rd===void 0?new Bw((O7=(L7=I(b,v7,5))==null?void 0:Yj(L7,2))!=null?O7:0,(P7=(M7=I(b,v7,5))==null?void 0:Yj(M7,4))!=null?P7:0,(Q7=(N7=I(b,v7,5))==null?void 0:Vj(N7,3))!=null?Q7:!1):a.rd;a=a.qf===void 0?x7(Qj(b,u7,2,nj(Oh))):a.qf;e.hasOwnProperty("init-done")?($w(12,e,function(){})(Qj(b,u7,2,nj()).map(function(h){return Lk(h)})),$w(13,e,function(){})(Qj(b,Yu,1,nj()).map(function(h){return Lk(h)}),f), c&&$w(14,e,function(){})(c),S7(f,e)):(H7(new C7(a,f,g,d),e),ax(e),bx(e),cx(e),S7(f,e),Vw(Qj(b,Yu,1,nj(Oh)),[f],g,void 0,!0),Hw=Hw||!(!d||!d.xq),K7(p7),c&&K7(c))}function S7(a,b){var c=b=b===void 0?q7():b;ex(ug(dx),c,a);T7(b,a);a=b;J7(ug(I7),a);ug(iP).j()} function T7(a,b){var c=ug(iP);c.g=function(d,e){return $w(5,a,function(){return!1})(d,e,b)};c.o=function(d,e){return $w(6,a,function(){return 0})(d,e,b)};c.A=function(d,e){return $w(7,a,function(){return""})(d,e,b)};c.C=function(d,e){return $w(8,a,function(){return[]})(d,e,b)};c.l=function(d,e){return $w(17,a,function(){return[]})(d,e,b)};c.j=function(){$w(15,a,function(){})(b)}};var U7,V7=64;function W7(){try{return U7!=null||(U7=new Uint32Array(64)),V7>=64&&(crypto.getRandomValues(U7),V7=0),U7[V7++]}catch(a){return Math.floor(Math.random()*4294967296)}};var X7=function(){var a;this.g=a=a===void 0?{vn:W7()+(W7()&2097151)*4294967296,ym:Number.MAX_SAFE_INTEGER}:a},i0=function(a){a=a.g;return a.vn*100<=a.ym};function Y7(){var a=Ja("google.ima.NativeLoader.getIsGdprLoader");return a?a():!1}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 tV(a,c.type,c.data||{},c.sid,"",c.id,c.replyToMessageId);j7().dispatchEvent(e);d!=="*"&&j7(d).dispatchEvent(e)}}}catch(f){}}); Ia("google.ima.NativeBridge.calculateIdlessState",function(a,b){b=b===void 0?{}:b;return zP(b.adTagUrl?pP(b.adTagUrl,a,Y7()):b.adTagParameters?qP(b.adTagParameters,a,Y7()):new oP(!1,{},a,Y7()))});var $7=function(a,b){b=b===void 0?new IG:b;N.call(this);var c=this;this.j=this.o=null;this.g=a;this.l=b;M(this,this.l);this.B=new a6(this.g.Wc);this.A=new Y5;zT(sT(),this.g.Wc);this.l.listen(this.g.Wc,"adsLoader",function(d){var e=new h5;e.g=d.nl;switch(d.messageType){case "requestAds":c.g.Ac(e.g);c.requestAds(d.Cb,e);break;case "requestStream":c.g.Ac(e.g);Z7(c,d.Cb,e);break;case "contentComplete":var f;(f=c.j)==null||f.contentComplete();c.g.contentComplete();break;case "signalsRefresh":d=d.Cb;var g; XP().secureSignals=(g=d.espSignals)!=null?g:null}});pM(function(){T(U(),"haib","1")})};q($7,N);$7.prototype.P=function(){Fo(this.j);N.prototype.P.call(this)}; var b8=function(a,b,c){a.l.listen(b,"adsLoaded",function(d){a8(a,d,b,c)});a.l.listen(b,"adError",function(d){var e=d.gj.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);OQ(a.g.Ac(e),"adsLoader","error",f)}})},a8=function(a,b,c,d){var e=b.g,f=b.l,g=f.adTagUrl||"";b=a.g.Ac(f.g);var h=f.j;new R5(new O5(c,e,new D2(h,a.B,b,c.Kf,a.A,d,a.g.zl,c.xl),function(k){var l=a.g;if(l.g){l=l.g; var p;(p=l.l)!=null&&KG(p,k,fQ,l.L,!1,l);var n;(n=l.l)!=null&&KG(n,k,"adError",l.B,!1,l)}}),h,c8(),b,new YQ(b,f.contentDuration));Z5(a.A,b);c=d8(g,e);rw(d.C,gk(I(d.C,hw,13)||new hw,2,Date.now()));OQ(b,"adsLoader","adsLoaded",c)},d8=function(a,b){if(b instanceof eR){var c=gR(b);b=xF()}else c=[],b=b[0].rg()&&xF();var d=N5(c),e={};c=(e.adCuePoints=c,e.internalCuePoints=d,e);gP();c.isCustomClickTrackingAllowed=b;c.adTagUrl=a;return c},e8=function(a){if(a!=null){var b=fP;if(a!=null){var c=a.activityMonitorMode; c!=null&&(b.R=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.N=c);c=a.isFunctionalTest;c!=null&&(b.C=c);c=a.isVpaidAdapter;c!=null&&b.tk(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.K=c);c=a.sessionId;c!=null&&b.setSessionId(c);c=a.supportsMultipleVideoDisplayChannels;c!=null&&(b.qa=c);c=a.testingConfig;c!=null&&(b.B=new $O(c));c=a.urlSignals;c!=null&&(b.J=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.F=a["1pJar"]||"";b.G=a.privacyControls||"";c=a.cookieDeprecationLabel;if(c!=null){b.L=c;var d;c=(d=a.cookieDeprecationLabelStatus)!=null?d: 0;b.Y=c}}a.persistentStateCorrelator!=null&&(b=U(),HB(b,"c",a.persistentStateCorrelator),IB(U()));a.activeViewPushUpdates!=null&&(sT().B=a.activeViewPushUpdates);sQ().report(41,{mode:fP.g});a.backgroundPlayback!=null&&sQ().report(32);a.pipState!=null&&sQ().report(42,{state:a.pipState});Array.isArray(a.swiftLibraries)&&Wn()&&sQ().report(135,{count:a.swiftLibraries.length,libs:a.swiftLibraries.join("~")});b=a.pageCorrelator||0;a=a.streamCorrelator||0;b>0&&($P=b);a>0&&(aQ=a)}},f8=function(a){a!=null&& a.osdId!=null&&(sT().L=a.osdId)}; $7.prototype.requestAds=function(a,b){var c=this,d,e,f,g,h,k,l,p,n,r;return z(function(u){if(u.g==1){d=ZP(a);rw(d.C,iw(new hw,Date.now()));e=a.adTagUrl;e8(a.settings);f8(a.videoEnvironment);g8(a);sT().B&&pr();d.g=pP(e,a.consentSettings||{},c.g.tg());e!=null&&(b.adTagUrl=e);sQ().report(165,AP(d.g));var t=new TC;t.adTagUrl=a.adTagUrl;t.adsResponse=a.adsResponse;t.linearAdSlotWidth=a.linearAdSlotWidth||0;t.linearAdSlotHeight=a.linearAdSlotHeight||0;t.nonLinearAdSlotWidth=a.nonLinearAdSlotWidth||0;t.nonLinearAdSlotHeight= a.nonLinearAdSlotHeight||0;t.forceNonLinearFullSlot=a.forceNonLinearFullSlot||!1;t.contentDuration=a.contentDuration||null;t.contentKeywords=a.contentKeywords||null;t.contentTitle=a.contentTitle||null;a.vastLoadTimeout!=null&&a.vastLoadTimeout>0&&(t.vastLoadTimeout=a.vastLoadTimeout);t.l=a.videoContinuousPlay||"0";t.g=a.videoPlayActivation||"unknown";t.o=a.videoPlayMuted||"unknown";t.omidAccessModeRules=a.omidAccessModeRules||{};t.pageUrl=a.pageUrl||null;var x;t.j=((x=a.rubidiumApiVersion)==null? void 0:x.toString())||null;f=t;t=f.adTagUrl||"";fD(t)&&(t=(new O(t)).g.get("description_url",""),d.Bk===t?d.A=d.A%99===0?1:d.A+1:(d.A=1,d.Bk=t));b.contentDuration=f.contentDuration;if(e)if(e==="")var A=null;else t=new O(e),(x=Oy(t,"slotname")||Oy(t,"iu"))?x=x?(x=/\/(\d+)(?:,\d+){0,2}\//.exec(x))&&x.length===2?x[1]:null:null:x=null,x||(x=(t=(A=Oy(t,"client"))!=null?A:"")?t:null),A=x;else A=null;g=A;A=new Qv;t=ik(A,1,SP());t=ik(t,2,g);t=lk(t,4,d.K?2:1);x=nv();t=Rj(t,5,x);t=gk(t,6,100);t=lk(t.Cf(cQ).Qi(bQ), 9,2);x=gB();t=Bj(t,10,x,Di);ik(t,11,d.j);h=A;A=new aw;t=new O(f.adTagUrl);x=Number(mD(t,"plcmt"));lk(A,1,x);t=mD(t,"sz");t===""?t=null:(t=t.split("|")[0].split("x"),t=t.length!==2?null:t);if(t){x=v(t);t=x.next().value;x=x.next().value;var F=new Wv;t=ek(F,1,Number(t));ek(t,2,Number(x));Rj(A,2,F)}k=A;A=Rj(d.ia,4,h);Rj(A,1,k);c.g.Ac(b.g);l=h8(c);b.j=l;c.j||(A=c.g,x=Wn()?new qV:new W_,F=Rc()&&Tf(window.fetch)&&Tf(window.AbortController)?new i8:new NG,t=new h0(A.F,A.G),x=new X6(A.D,x,F,d,t),F=new j8(A.Wc), x.g=new k8(F,t),l8(A,x),c.j=x,b8(c,c.j,d));A=c.j;p=A;n=a.liveStreamPrefetchSeconds||0;if(!(n>0)){u.g=2;return}r=Math.floor(n*1E3*Math.random());return y(u,cu(r),2)}if(u.g!=4)return y(u,m8(),4);c.Ii(f,p,n);p.requestAds(f,b);u.g=0})}; var g8=function(a){var b=(a.imalibExperiments||{}).limaExperimentIds||null;b!=null&&(fB.reset(),b=bC(b),iB(new lB(b)));b=a.pvsid;a=(a=(a.genotypeExperimentData||{}).experimentStateProto)?JSON.parse(a):[];b&&a&&(a=Nk(w7,a),R7({Cm:a,vj:7}),a={},b=(a[0]=A7(b),a),ug(dx).j(16,b));b=gP();aP(b,"disableExperiments")&&fB.reset();b=gP();(b=bP(b))&&b.length>0&&(fB.reset(),iB(new lB(b)));CQ()&&mc(kB())},Z7=function(a,b,c){var d,e,f,g,h;z(function(k){if(k.g==1){d=ZP(b,!0);rw(d.C,iw(new hw,Date.now()));e8(b.settings); f8(b.videoEnvironment);var l=new CV;l.T=b.videoStitcherSessionOptions||{};l.o=b.assetKey||"";l.A=b.authToken||"";l.C=b.contentSourceId||"";l.J=b.customAssetKey||"";l.networkCode=b.networkCode||"";l.G=b.liveStreamEventId||"";l.region=b.region||"";l.L=b.projectNumber||"";l.K=b.oAuthToken||"";l.Tc=b.videoId||"";l.l=b.apiKey||"";l.g=b.adTagParameters||{};l.aa=b.streamActivityMonitorId||"";l.format="hls";l.R=b.useQAStreamBaseUrl||!1;l.B=b.contentSourceUrl||"";l.adTagUrl=b.adTagUrl||"";b.format==="dash"&& (l.format=b.format);var p=gP();aP(p,"useTestStreamManager")&&(l.F=!0);l.N=b.enableNonce||!1;l.Y=b.vodConfigId||"";l.j=b.rubidiumApiVersion||"";e=l;f=qP(e.g,b.consentSettings||{},a.g.tg());sQ().report(165,AP(f));d.g=f;e.D=zP(f);sT().B&&pr();g8(b);g=a.g.Ac(c.g);h=h8(a);c.j=h}else a.g.g(e,h,g,d);k.g=0})},h8=function(a){a.o||(a.o=new n8(document.body,a.g.Ac()));return a.o}; $7.prototype.Ii=function(a,b,c){c=c===void 0?0:c;this.g.Ii(a,b);b=XP().appName;var d=XP().B,e={};D(E(b))||(e.app_name=b);D(E(d))||(e.external_version=d);e.delay=c;e.vpaidadapter=fP.l;e.request_type=XO(a.adTagUrl);e.ctv=JQ().toString();sQ().report(6,e)};Ia("ima.Bridge",$7,window);var o8=function(a,b,c,d){ww.call(this,a,b);this.o=c;this.l=d};q(o8,ww);o8.prototype.g=function(){var a=Ea.apply(0,arguments);try{var b=encodeURIComponent(Qg(ev(a,this.j),3));this.l(this.o+"?e=4&d="+b)}catch(c){dv(c,this.j)}};var p8=function(a,b,c){b=b===void 0?null:b;c=c===void 0?null:c;Xs.call(this,a);this.error=b;this.g=c};q(p8,Xs);p8.prototype.getError=function(){return this.error};var q8=function(a,b){return a.indexOf(b)==0?a.substr(b.length):null};var r8=function(){N.call(this);this.B=!1;this.W=void 0;this.G=!1;this.ba=void 0;this.D=!1;this.K=void 0;this.F=!1;this.o=null;this.ea=0;this.j=null;this.R=new Vy;this.l=null;this.g={cslots:0,dispcorr:0,streamcorr:0};this.sa=null;this.A=new IG(this)};q(r8,N);var s8=function(a,b){a.j!=null&&a.A.pa(a.j,"gpt",a.L);a.j=b;a.A.listen(a.j,"gpt",a.L)};r8.prototype.P=function(){Fo(this.o);Fo(this.l);Fo(this.A);N.prototype.P.call(this)};r8.prototype.Aa=function(){return this.B}; var t8=function(a){if(a.G&&a.W!=null)return a.W.map(function(b){return b.clone()})},u8=function(a){a=t8(a);if(a!=null)return a.map(function(b){return b.getSizes()})};r8.prototype.getDisplayAdsCorrelator=function(){if(this.D)return this.ba}; r8.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 $t(100),this.A.listen(this.l,"tick",this.Y),this.l.start());this.Y()}else this.g.isgptpresent="0",this.T();break;case "getDisplayAdsCorrelator":isNaN(c)||(this.g.dispcorr="1",this.ba=c,this.D=!0);v8(this);break;case "getVideoStreamCorrelator":isNaN(c)||(this.g.streamcorr="1", this.K=c,this.F=!0);v8(this);break;case "googleGetCompanionAdSlots":b!=null&&(a=b.map(this.oa,this),this.g.cslots="1",this.W=a,this.G=!0),v8(this)}};r8.prototype.sendMessage=function(a,b,c){this.j!=null&&(a={scope:a},c!=null&&(a.args=c),OQ(this.j,"gpt",b,a))};r8.prototype.setVideoSession=function(a){var b=0,c=0;a!=null&&(a=new O(a.adTagUrl),b=Number(Oy(a,"pod")||0),c=Number(Oy(a,"ppos")||0));this.sendMessage("companionAds","setVideoSession",[aQ,b,c])}; var L5=function(a){a.K=aQ;a.sendMessage("pubads","setImaContent",["",""]);a.setVideoSession(null)},w8=function(a){a.o&&(a.o.stop(),a.A.pa(a.o,"tick",a.T),a.o.dispose(),a.o=null);a.l!=null&&(a.l.stop(),a.A.pa(a.l,"tick",a.Y),a.l.dispose(),a.l=null)};r8.prototype.T=function(){this.B||(this.B=!0,this.R.resolve(),w8(this),x8(this,!1),y8(this),this.dispatchEvent(new p8("companion_initialization_failed",Error("GPT companion ads service not available."))),this.j!=null&&this.A.pa(this.j,"gpt",this.L))}; r8.prototype.Y=function(){this.D||this.sendMessage("companionAds","getDisplayAdsCorrelator",[WP(XP())]);this.F||this.sendMessage("companionAds","getVideoStreamCorrelator");this.G||this.sendMessage(null,"googleGetCompanionAdSlots")}; var v8=function(a){a.B||(a.G&&a.D&&a.F?(a.B=!0,a.R.resolve(),w8(a),x8(a,!0),y8(a),a.dispatchEvent(new p8("companions_success"))):a.o||(a.o=new $t(5E3),a.A.nd(a.o,"tick",a.T),a.o.start()))},x8=function(a,b){a={initSuccess:b,latency:Date.now()-a.ea,slotLoadingDone:a.G,gptCorrelatorRetrieved:a.D,gptStreamCorrelatorRetrieved:a.F};sQ().report(184,a)};r8.prototype.oa=function(a){var b=a.adSizes.map(function(c){return{size:new he(c.adWidth,c.adHeight),kb:!!c.fluidSize}});return new xV(a.slotId,b)}; r8.prototype.ia=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 y8=function(a){if(!a.g.loggingDone){var b=a.g;if(Wn())var c=window.location.href;else{var d=ag();c=d.j;var e=d.g;d=d.l;var f=null;if(d)b:{try{var g=Qy(d.url),h=g.l,k=q8(h,"/v/");k||(k=q8(h,"/a/"));if(!k)throw Error("Can not extract standalone amp url.");var l=q8("/"+k,"/s/"),p=g.g.clone();p.remove("amp_js_v");p.remove("amp_lite");var n=l?Qy("https://"+l):Qy("http://"+k);Ey(n,p);f=n.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=fP.l;a.g.ifstate=XP().ea;sQ().report(70,a.g);a.g={loggingDone:!0}}};var z8=function(a){zV.call(this);this.g=a;this.j=null;this.o=!1;this.sa=null;this.G=!1;this.A=null;this.D=new IG;KG(this.D,this.g,["companions_success","companion_initialization_failed"],this.En,!1,this);KG(this.D,this.g,"companion_display_error",this.xn,!1,this);KG(this.D,this.g,["companion_slot_init","companion_click"],this.wn,!1,this);this.g.Aa()?this.G=!0:(a=this.g,a.B||(a.ea=Date.now(),a.sendMessage("proxy","isGptPresent"),v8(a)))};q(z8,zV);z8.prototype.P=function(){this.destroy();zV.prototype.P.call(this)}; z8.prototype.destroy=function(){this.D.dispose();this.A=null;this.l.forEach(function(a){yV(a)});this.j=null};z8.prototype.B=function(a){Fo(this.j);this.j=new N;this.A=a;this.o=!0;this.Aa()?A8(this):(this.o=B8(C8(a),[]),this.o||(this.j=this.A=null));return this.j}; z8.prototype.K=function(){var a=this,b,c,d;return z(function(e){if(e.g==1)return hP("force_ad_request_wait_gpt_sync")?e=y(e,a.g.R.promise,2):a.g.Aa()?(e.g=2,e=void 0):e=e.return(),e;(b=a.g.getDisplayAdsCorrelator())&&($P=b);var f=a.g;f=f.F&&f.K!==0?f.K:void 0;(c=f)&&(aQ=c);if(d=u8(a.g))XP().Ib=d;e.g=0})}; var A8=function(a){var b=a.A;a.A=null;if(a.l.length===0)a.o=B8(C8(b),[]),D8(a,Error("Companion slots not available."));else if(b==null)D8(a,Error("Invalid main ad."));else{var c=E8(a,b),d=a.g,e=a.l.map(d.ia,d);d.sendMessage(null,"googleSetCompanionAdContents",[e,null,WP(XP())]);if(c.length>0&&(a=a.g,c.length!==0&&zS(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 l=d[f++],p=d[f++];h=((h&7)<<18|(k&63)<<12|(l&63)<<6|p&63)-65536;e[g++]=String.fromCharCode(55296+(h>>10));e[g++]=String.fromCharCode(56320+(h&1023))}else k=d[f++],l=d[f++],e[g++]=String.fromCharCode((h&15)<<12| (k&63)<<6|l&63)}return new RegExp(e.join(""))})};J8.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.682.0"||c.length>=2&&c[2]==="3.682.0"?!0:!1}):!1}; var K8=[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],L8=[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],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,112,97,108,47,115,100,107,108,111,97,100,101,114,47],N8=[[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]],O8=[[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]],P8=[[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 J8(K8,N8,!1);var Q8=new J8(K8,O8,!0);new J8(L8,N8,!1);var R8=new J8(L8,O8,!0); new J8([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],N8,!1); new J8([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 J8(K8,[[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 J8(K8,P8,!1);new J8(K8,P8,!1);new J8(M8,[[112,97,108,46,106,115]],!1);new J8(M8,[[99,97,115,116,95,112,97,108,46,106,115]],!1);new J8(M8,[[99,116,118,95,112,97,108,46,106,115]],!1);function S8(){var a=[Q8,R8];if(a.some(function(c){return c.match(Qe().location.href)}))return!0;var b=T8(a,Je(document,"script"));b==null&&document.querySelectorAll&&(b=T8(a,document.querySelectorAll("script")));return b!=null} function T8(a,b){for(var c={},d=0;d0&&Ta()>this.C?(this.j="failed",e9(this)):d9(this);break;case "loaded":f9(this);break;case "failed":this.C>0&&Ta()>this.C?e9(this):(this.j="loading",d9(this))}}; var f9=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)},e9=function(a){f9(a);if(a.g!=null){var b;(b=a.l)==null||b.pa(a.g,"gpt",a.D);a.g=null}a.A=[]};b9.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")};var g9=function(){};var h9=ra(["https://securepubads.g.doubleclick.net/pagead/js/car.js"]),i9=ra(["https://securepubads.g.doubleclick.net/pagead/js/cocar.js"]),j9=ra(["https://ep3.adtrafficquality.google/ivt/worklet/caw.js"]);Ee(h9);var k9=Ee(i9),l9=Ee(j9);function m9(a,b){for(var c=[],d=0;d<8;++d){var e=new o8(7,"","https://pagead2.googlesyndication.com/pagead/ping",function(g){c.push({url:g})}),f=kv(jv(iv(new hv,a),d),b);e.B(f)}return c} function n9(a,b,c,d){var e=e===void 0?function(){}:e;var f,g,h,k;z(function(l){switch(l.g){case 1:f=Qe();if(!f.sharedStorage)return l.return();l.l=2;return y(l,f.sharedStorage.createWorklet(b.toString(),{dataOrigin:"script-origin"}),4);case 4:return g=l.j,y(l,g.selectURL("ps_caus",m9(a,c),d?{resolveToConfig:!0,savedQuery:"ps_cac"}:{resolveToConfig:!0}),5);case 5:if(h=l.j){var p=f.document.body,n=document.createElement("fencedframe");n.id="ps_caff";n.name="ps_caff";n.mode="opaque-ads";n.config=h;Cn(n, "border","0");p.appendChild(n)}l.g=0;l.l=0;break;case 2:k=xa(l),e(k),l.g=0}})};function o9(a){(new dW(cW())).g=function(b,c){b.method==="identifyServiceWindow"&&a(c)}}MC("OmidSessionClient.listenForServiceWindow",o9);function p9(a){IW().l(a)} var s9=function(){N.call(this);this.g=null;this.o=this.A=!1;if(!S8())throw Error("IMA SDK is either not loaded from a google domain or is not a supported version.");this.F=new Aw(16,SP());this.G=new X7;this.j=new IG(this);M(this,this.j);this.Wc=q9();this.l=new Map;this.l.set("*",this.Wc);this.B=r9();var a=new r8;s8(a,this.B);this.D=new z8(a);this.zl=new g9;this.j.listen(Qe().document.body,"click dblclick mouseup mouseover mouseout mousemove selectstart mousedown".split(" "),this.K);"ontouchstart"in document&&this.j.listen(Qe().document.body,["touchstart","touchend","touchmove","touchcancel"],this.L);this.j.listen(this.Wc,"omid",function(b){b.messageType==="iframeFailed"&&IW().D()});o9(p9)};q(s9,N);s9.prototype.tg=function(){try{return Oy(new O(Qe().location.href),"gdpr")==="1"}catch(a){return!1}};var c8=function(){var a=new MQ;a.mimeTypes=DQ();return a}; s9.prototype.Ac=function(a){a=(a===void 0?null:a)||"*";var b=this.l.get(a);if(b==null){b=new b0(Qe().location.hash.slice(1),a);b.B=!0;var c=t9(this);c&&(b.l(c),b.connect());this.l.set(a,b)}return b};var m8=function(){return z(function(a){return a.return()})}; s9.prototype.Ii=function(a,b){var c=E(XP().j);if(Ff(c,"google_console")||Ff(c,"google_force_console")||Ff(c,"googfc")){if(!this.g){c=this.g=new b9(this.B);var d;(d=c.l)!=null&&KG(d,b,"adError",c.B,!1,c)}b=this.g;b.K||(c9(b,"version",{type:"HTML5",version:"3.682.0"}),b.K=!0);c9(this.g,"ad_request",{adTagUrl:a.adTagUrl,adType:"Deprecated"})}};var q9=function(){var a=new b0(Qe().location.hash.slice(1),"*");a.B=!0;return a};s9.prototype.contentComplete=function(){}; var t9=function(a){var b=null;a.l.forEach(function(c){c=c.g;c!=null&&(b=c)});return b},l8=function(a,b){a.j.listen(b,"adsLoaded",function(c){var d=c.g;d instanceof eR||(u9(a,d,c.l.g),v9(a,jP(MA)),jP(LA)&&v9(a,!0,!0,4))});a.j.listen(b,"adBreakFetched",function(c){u9(a,c.o,c.g.g)})},u9=function(a,b,c){var d=zP(XP().g);a=a.Ac(c);c={};b=b.filter(function(k){return k instanceof jS});var e=w9(b);if(e){var f;XP().W=(f=e.getValue())!=null?f:null;c.eoidCookie=Mk(e)}if(!d){if(d=x9(b,!1)){var g;XP().F=(g=d.getValue())!= null?g:null;c.gfpCookie=Mk(d)}if(g=x9(b,!0)){var h;XP().ba=(h=g.getValue())!=null?h:null;c.gfpCookieV2=Mk(g)}c.encryptedSignalBidderIds=y9(b)}OQ(a,"adsLoader","cookieUpdate",c)},w9=function(a){return(a=a.find(function(b){return US(b)!=null}))?US(a):null},x9=function(a,b){var c=zP(XP().g);return!fP.isCookiesEnabled()||c?null:(a=a.find(function(d){return WS(d,b)!=null}))?WS(a,b):null},y9=function(a){return a.map(function(b){for(var c=[];b;){var d=qS(b,"esp");d instanceof MR&&(c=[].concat(w(c),w(NR(d)))); b=b.Z}return c}).flat()},r9=function(){var a=Qe();a=new I8([a.top,a.parent],Qe().location.hash.slice(1),"*");a.connect();return a};s9.prototype.K=function(a){OQ(this.Wc,"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 z9=function(a){var b=[];if(a==null)return b;var c=!!("TouchEvent"in window&&TouchEvent.length>0),d=0;for(;d0;g=c?h:!zP(g);h=Qe();var k=h.isSecureContext;var l=h.document;l=l===void 0?h.document:l;k=!!(k&&"sharedStorage"in h&&h.sharedStorage&&RG("shared-storage",l));var p;h=!((p=h.sharedStorage)==null||!p.createWorklet);p=!g||!k||!e||!h;sQ().report(204,{enabled:!p,storageAllowed:g,isSharedStorageEnabled:k,isCreateWorkletApiEnabled:h,isValidPVSID:e});if(!p)try{n9(f,c?l9: k9,d,b),c?a.o=!0:a.A=!0}catch(r){var n;sQ().report(205,{message:(n=r)==null?void 0:n.message},!0)}}};Ia("ima.IframeBridge",s9,window);})();