iBet uBet web content aggregator. Adding the entire web to your favor.
iBet uBet web content aggregator. Adding the entire web to your favor.



Link to original content: https://imasdk.googleapis.com/js/sdkloader/ima3_dai.js
(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}); fa("Symbol.iterator",function(a){if(a)return a;a=Symbol("Symbol.iterator");for(var b="Array Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array Float32Array Float64Array".split(" "),c=0;c=f}}); fa("String.prototype.endsWith",function(a){return a?a:function(b,c){var d=Ha(this,b,"endsWith");b+="";c===void 0&&(c=d.length);c=Math.max(0,Math.min(c|0,d.length));for(var e=b.length;e>0&&c>0;)if(d[--c]!=b[--e])return!1;return e<=0}});var Ia=function(a,b){a instanceof String&&(a+="");var c=0,d=!1,e={next:function(){if(!d&&c>>16&65535)*e+d*(c>>>16&65535)<<16>>>0)|0}});fa("globalThis",function(a){return a||ea});fa("Math.trunc",function(a){return a?a:function(b){b=Number(b);if(isNaN(b)||b===Infinity||b===-Infinity||b===0)return b;var c=Math.floor(Math.abs(b));return b<0?-c:c}}); fa("Number.isNaN",function(a){return a?a:function(b){return typeof b==="number"&&isNaN(b)}});fa("Array.prototype.keys",function(a){return a?a:function(){return Ia(this,function(b){return b})}});fa("Array.prototype.values",function(a){return a?a:function(){return Ia(this,function(b,c){return c})}}); fa("Object.fromEntries",function(a){return a?a:function(b){var c={};if(!(Symbol.iterator in b))throw new TypeError(""+b+" is not iterable");b=b[Symbol.iterator].call(b);for(var d=b.next();!d.done;d=b.next()){d=d.value;if(Object(d)!==d)throw new TypeError("iterable for fromEntries should yield objects");c[d[0]]=d[1]}return c}}); fa("String.prototype.repeat",function(a){return a?a:function(b){var c=Ha(this,null,"repeat");if(b<0||b>1342177279)throw new RangeError("Invalid count value");b|=0;for(var d="";b;)if(b&1&&(d+=c),b>>>=1)c+=c;return d}});fa("String.prototype.padStart",function(a){return a?a:function(b,c){var d=Ha(this,null,"padStart");b-=d.length;c=c!==void 0?String(c):" ";return(b>0&&c?c.repeat(Math.ceil(b/c.length)).substring(0,b):"")+d}}); fa("Math.sign",function(a){return a?a:function(b){b=Number(b);return b===0||isNaN(b)?b:b>0?1:-1}});fa("Array.prototype.flatMap",function(a){return a?a:function(b,c){var d=[];Array.prototype.forEach.call(this,function(e,f){e=b.call(c,e,f,this);Array.isArray(e)?d.push.apply(d,e):d.push(e)});return d}});/* Copyright The Closure Library Authors. SPDX-License-Identifier: Apache-2.0 */ var Ja=Ja||{},A=this||self,La=function(a,b){var c=Ka("CLOSURE_FLAGS");a=c&&c[a];return a!=null?a:b},Ka=function(a,b){a=a.split(".");b=b||A;for(var c=0;c>>0),Ra=0,Va=function(a,b,c){return a.call.apply(a.bind,arguments)},Wa=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)}}, Xa=function(a,b,c){Xa=Function.prototype.bind&&Function.prototype.bind.toString().indexOf("native code")!=-1?Va:Wa;return Xa.apply(null,arguments)},Ya=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)}},Za=function(){return Date.now()},C=function(a,b){a=a.split(".");var c=A;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},$a=function(a){return a},ab=function(a,b){function c(){}c.prototype=b.prototype;a.ib=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.Dn=function(d,e,f){for(var g=Array(arguments.length-2),h=2;h255&&(b[c++]=e&255,e>>=8);b[c++]=e}return b},ub=function(a){return Array.prototype.map.call(a,function(b){b=b.toString(16);return b.length>1?b:"0"+b}).join("")};var vb=function(a,b){var c=String(b).toLowerCase();a=String(a.slice(0,b.length)).toLowerCase();return(c/g,Eb=/"/g,Fb=/'/g,Gb=/\x00/g,Hb=/[\x00&<>"']/,Ib=function(a,b){return a.indexOf(b)!=-1},Jb=function(a,b){return Ib(a.toLowerCase(),b.toLowerCase())},Lb=function(a,b){var c=0;a=wb(String(a)).split("."); b=wb(String(b)).split(".");for(var d=Math.max(a.length,b.length),e=0;c==0&&eb?1:0};var Mb=La(610401301,!1),Nb=La(653718497,La(1,!0));function Ob(){var a=A.navigator;return a&&(a=a.userAgent)?a:""}var Pb,Qb=A.navigator;Pb=Qb?Qb.userAgentData||null:null;function Rb(a){return Mb?Pb?Pb.brands.some(function(b){return(b=b.brand)&&Ib(b,a)}):!1:!1}function F(a){return Ib(Ob(),a)};function Sb(){return Mb?!!Pb&&Pb.brands.length>0:!1}function Tb(){return Sb()?!1:F("Trident")||F("MSIE")}function Ub(){return F("Firefox")||F("FxiOS")}function Vb(){return F("Safari")&&!(Wb()||(Sb()?0:F("Coast"))||(Sb()?0:F("Opera"))||(Sb()?0:F("Edge"))||(Sb()?Rb("Microsoft Edge"):F("Edg/"))||(Sb()?Rb("Opera"):F("OPR"))||Ub()||F("Silk")||F("Android"))}function Wb(){return Sb()?Rb("Chromium"):(F("Chrome")||F("CriOS"))&&!(Sb()?0:F("Edge"))||F("Silk")};function Xb(){return Mb&&Pb&&Pb.platform?Pb.platform==="Android":F("Android")}function Yb(){return F("iPhone")&&!F("iPod")&&!F("iPad")};var Zb=Array.prototype.indexOf?function(a,b){return Array.prototype.indexOf.call(a,b,void 0)}:function(a,b){if(typeof a==="string")return typeof b!=="string"||b.length!=1?-1:a.indexOf(b,0);for(var c=0;c=0;c--)if(c in a&&a[c]===b)return c;return-1},ac=Array.prototype.forEach?function(a,b){Array.prototype.forEach.call(a,b,void 0)}:function(a,b){for(var c=a.length,d=typeof a==="string"?a.split(""):a,e=0;e=0;--d)d in c&&b.call(void 0,c[d],d,a)} var cc=Array.prototype.filter?function(a,b){return Array.prototype.filter.call(a,b,void 0)}: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 kc(a,b){return Zb(a,b)>=0}function nc(a,b){b=Zb(a,b);var c;(c=b>=0)&&oc(a,b);return c} function oc(a,b){return Array.prototype.splice.call(a,b,1).length==1}function pc(a,b){var c=0;bc(a,function(d,e){b.call(void 0,d,e,a)&&oc(a,e)&&c++})}function qc(a){return Array.prototype.concat.apply([],arguments)}function rc(a){var b=a.length;if(b>0){for(var c=Array(b),d=0;db?1:a>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("")},Qc=function(a){if(Mc)return A.atob(a);var b="";Pc(a,function(c){b+=String.fromCharCode(c)}); return b},Rc=function(a){var b=[];Pc(a,function(c){b.push(c)});return b},Sc=function(a){var b=a.length,c=b*3/4;c%3?c=Math.floor(c):Ib("=.",a[b-1])&&(c=Ib("=.",a[b-2])?c-2:c-1);var d=new Uint8Array(c),e=0;Pc(a,function(f){d[e++]=f});return e!==c?d.subarray(0,e):d},Pc=function(a,b){function c(k){for(;d>4);g!=64&&(b(f<<4&240|g>>2),h!=64&&b(g<<6&192|h))}},Nc=function(){if(!Lc){Lc={};for(var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),b=["+/=","+/","-_=","-_.","-_"],c=0;c<5;c++){var d=a.concat(b[c].split(""));Kc[c]=d;for(var e=0;e=fe&&a<=ge:a[0]==="-"?he(a,ie):he(a,je)}),ie=Number.MIN_SAFE_INTEGER.toString(),fe=de?BigInt(Number.MIN_SAFE_INTEGER):void 0,je=Number.MAX_SAFE_INTEGER.toString(),ge=de?BigInt(Number.MAX_SAFE_INTEGER):void 0; function he(a,b){if(a.length>b.length)return!1;if(a.lengthe)return!1;if(d>>0;me=b;ne=(a-b)/4294967296>>>0}function Be(a){if(a<0){pe(0-a);var b=u(Ce(me,ne));a=b.next().value;b=b.next().value;me=a>>>0;ne=b>>>0}else pe(a)}function De(a,b){var c=b*4294967296+(a>>>0);return Number.isSafeInteger(c)?c:Ee(a,b)}function Fe(a,b){var c=b&2147483648;c&&(a=~a+1>>>0,b=~b>>>0,a==0&&(b=b+1>>>0));a=De(a,b);return typeof a==="number"?c?-a:a:c?"-"+a:a} function Ee(a,b){b>>>=0;a>>>=0;if(b<=2097151)var c=""+(4294967296*b+a);else ld()?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+Ge(c)+Ge(a));return c}function Ge(a){a=String(a);return"0000000".slice(a.length)+a} function He(){var a=me,b=ne;b&2147483648?ld()?a=""+(BigInt(b|0)<>>0)):(b=u(Ce(a,b)),a=b.next().value,b=b.next().value,a="-"+Ee(a,b)):a=Ee(a,b);return a} function Ie(a){if(a.length<16)Be(Number(a));else if(ld())a=BigInt(a),me=Number(a&BigInt(4294967295))>>>0,ne=Number(a>>BigInt(32)&BigInt(4294967295));else{var b=+(a[0]==="-");ne=me=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)),ne*=1E6,me=me*1E6+d,me>=4294967296&&(ne+=Math.trunc(me/4294967296),ne>>>=0,me>>>=0);b&&(b=u(Ce(me,ne)),a=b.next().value,b=b.next().value,me=a,ne=b)}}function Ce(a,b){b=~b;a?a=~a+1:b+=1;return[a,b]};function Je(a){if(a==null||typeof a==="number")return a;if(a==="NaN"||a==="Infinity"||a==="-Infinity")return Number(a)}function Ke(a){if(typeof a!=="boolean")throw Error("Expected boolean but got "+Ma(a)+": "+a);return a}function Le(a){return a==null?a:Ke(a)}function Me(a){if(a==null||typeof a==="boolean")return a;if(typeof a==="number")return!!a}var Ne=/^-?([1-9][0-9]*|0)(\.[0-9]+)?$/; function Oe(a){var b=typeof a;switch(b){case "bigint":return!0;case "number":return Number.isFinite(a)}return b!=="string"?!1:Ne.test(a)}function Pe(a){if(!Number.isFinite(a))throw kd("enum");return a|0}function Qe(a){return a==null?a:Pe(a)}function Re(a){return a==null?a:Number.isFinite(a)?a|0:void 0}function Se(a){if(typeof a!=="number")throw kd("int32");if(!Number.isFinite(a))throw kd("int32");return a|0} function Te(a){if(a==null)return a;if(typeof a==="string"){if(!a)return;a=+a}if(typeof a==="number")return Number.isFinite(a)?a|0:void 0}function Ue(a){if(a==null)return a;if(typeof a==="string"){if(!a)return;a=+a}if(typeof a==="number")return Number.isFinite(a)?a>>>0:void 0} function Ve(a){var b=0;b=b===void 0?0:b;if(!Oe(a))throw kd("int64");var c=typeof a;switch(b){case 4096:switch(c){case "string":return We(a);case "bigint":return String(BigInt.asIntN(64,a));default:return Xe(a)}case 8192:switch(c){case "string":return Ye(a);case "bigint":return ee(BigInt.asIntN(64,a));default:return Ze(a)}case 0:switch(c){case "string":return We(a);case "bigint":return ee(BigInt.asIntN(64,a));default:return $e(a)}default:throw Error("Unknown format requested type for int64");}} function af(a){return a==null?a:Ve(a)}function bf(a){return a[0]==="-"?!1:a.length<20?!0:a.length===20&&Number(a.substring(0,6))<184467}function cf(a){return a[0]==="-"?a.length<20?!0:a.length===20&&Number(a.substring(0,7))>-922337:a.length<19?!0:a.length===19&&Number(a.substring(0,6))<922337}function df(a){if(a<0){Be(a);var b=Ee(me,ne);a=Number(b);return Number.isSafeInteger(a)?a:b}b=String(a);if(bf(b))return b;Be(a);return De(me,ne)}function ef(a){if(cf(a))return a;Ie(a);return He()} function $e(a){a=Math.trunc(a);Number.isSafeInteger(a)||(Be(a),a=Fe(me,ne));return a}function Xe(a){a=Math.trunc(a);if(Number.isSafeInteger(a))a=String(a);else{var b=String(a);cf(b)?a=b:(Be(a),a=He())}return a}function We(a){var b=Math.trunc(Number(a));if(Number.isSafeInteger(b))return String(b);b=a.indexOf(".");b!==-1&&(a=a.substring(0,b));return ef(a)} function Ye(a){var b=Math.trunc(Number(a));if(Number.isSafeInteger(b))return ee(b);b=a.indexOf(".");b!==-1&&(a=a.substring(0,b));return ld()?ee(BigInt.asIntN(64,BigInt(a))):ee(ef(a))}function Ze(a){return Number.isSafeInteger(a)?ee($e(a)):ee(Xe(a))}function ff(a){if(a==null)return a;if(typeof a==="bigint")return ke(a)?a=Number(a):(a=BigInt.asIntN(64,a),a=ke(a)?Number(a):String(a)),a;if(Oe(a))return typeof a==="number"?$e(a):We(a)} function gf(a){if(a==null)return a;var b=typeof a;if(b==="bigint")return String(BigInt.asIntN(64,a));if(Oe(a)){if(b==="string")return We(a);if(b==="number")return $e(a)}} function hf(a){if(a==null)return a;var b=typeof a;if(b==="bigint")return String(BigInt.asUintN(64,a));if(Oe(a)){if(b==="string")return b=Math.trunc(Number(a)),Number.isSafeInteger(b)&&b>=0?a=String(b):(b=a.indexOf("."),b!==-1&&(a=a.substring(0,b)),bf(a)||(Ie(a),a=Ee(me,ne))),a;if(b==="number")return a=Math.trunc(a),a>=0&&Number.isSafeInteger(a)?a:df(a)}}function jf(a){if(typeof a!=="string")throw Error();return a}function kf(a){if(a!=null&&typeof a!=="string")throw Error();return a} function lf(a){return a==null||typeof a==="string"?a:void 0}function xf(a,b,c,d){if(a!=null&&typeof a==="object"&&a.Ve===Kd)return a;if(!Array.isArray(a))return c?d&2?yf(b):new b:void 0;var e=c=vd(a);e===0&&(e|=d&32);e|=d&2;e!==c&&xd(a,e);return new b(a)}function yf(a){var b=a[qd];if(b)return b;b=new a;zd(b.G);return a[qd]=b}function zf(a,b,c){if(b)return Ke(a);var d;return(d=Me(a))!=null?d:c?!1:void 0}function Af(a,b,c){if(b)return jf(a);var d;return(d=lf(a))!=null?d:c?"":void 0};var If=function(a){Bf===void 0&&(Bf=typeof Proxy==="function"?Cf(Proxy):null);var b;(b=!Bf)||(Df===void 0&&(Df=typeof WeakMap==="function"?Cf(WeakMap):null),b=!Df);if(b)return a;if(b=Ef(a))return b;if(Math.random()>.01)return a;Ff(a);b=new Bf(a,{set:function(c,d,e){Gf();c[d]=e;return!0}});Hf(a,b);return b};function Gf(){jd()}var Jf=void 0,Kf=void 0,Ef=function(a){var b;return(b=Jf)==null?void 0:b.get(a)},Lf=function(a){var b;return((b=Kf)==null?void 0:b.get(a))||a}; function Hf(a,b){(Jf||(Jf=new Df)).set(a,b);(Kf||(Kf=new Df)).set(b,a)}var Bf=void 0,Df=void 0;function Cf(a){try{return a.toString().indexOf("[native code]")!==-1?a:null}catch(b){return null}}var Mf=void 0;function Ff(a){if(Mf===void 0){var b=new Bf([],{});Mf=Array.prototype.concat.call([],b).length===1}Mf&&typeof Symbol==="function"&&Symbol.isConcatSpreadable&&(a[Symbol.isConcatSpreadable]=!0)};var Nf;function Of(a,b){Nf=b;a=new a(b);Nf=void 0;return a}var Pf,Qf;function Rf(a){switch(typeof a){case "boolean":return Pf||(Pf=[0,void 0,!0]);case "number":return a>0?void 0:a===0?Qf||(Qf=[0,void 0]):[-a,void 0];case "string":return[0,a];case "object":return a}}function Sf(a,b,c){a=G(a,b[0],b[1],c?1:2);b!==Pf&&c&&td(a,16384);return a} function G(a,b,c,d){var e;d=(e=d)!=null?e:0;a==null&&(a=Nf);Nf=void 0;if(a==null)e=96,c?(a=[c],e|=512):a=[],b&&(e=e&-33521665|(b&1023)<<15);else{if(!Array.isArray(a))throw Error("narr");e=vd(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:{d=a;c=e;if(e=d.length){var f=e-1;if(Nd(d[f])){c|=256;b=f-(+!!(c&512)-1);if(b>=1024)throw Error("pvtlmt");e=c&-33521665|(b&1023)<<15;break a}}if(b){b=Math.max(b,e-(+!!(c&512)-1));if(b>1024)throw Error("spvt"); e=c&-33521665|(b&1023)<<15}else e=c}}xd(a,e);return a};var Tf={},Uf=function(){try{var a=function(){return ka(Map,[],this.constructor)};t(a,Map);wc(new a);return!1}catch(b){return!0}}(),Vf=function(){this.g=new Map};m=Vf.prototype;m.get=function(a){return this.g.get(a)};m.set=function(a,b){this.g.set(a,b);this.size=this.g.size;return this};m.delete=function(a){a=this.g.delete(a);this.size=this.g.size;return a};m.clear=function(){this.g.clear();this.size=this.g.size};m.has=function(a){return this.g.has(a)};m.entries=function(){return this.g.entries()}; m.keys=function(){return this.g.keys()};m.values=function(){return this.g.values()};m.forEach=function(a,b){return this.g.forEach(a,b)};Vf.prototype[Symbol.iterator]=function(){return this.entries()};var Wf=function(){if(Uf)return Object.setPrototypeOf(Vf.prototype,Map.prototype),Object.defineProperties(Vf.prototype,{size:{value:0,configurable:!0,enumerable:!0,writable:!0}}),Vf;var a=function(){return ka(Map,[],this.constructor)};t(a,Map);return a}();function Xf(a){return a} var Zf=function(a,b,c,d){c=c===void 0?Xf:c;d=d===void 0?Xf:d;var e=Wf.call(this)||this;var f=vd(a);f|=64;xd(a,f);e.td=f;e.zf=b;e.Jd=c;e.eh=e.zf?Yf:d;for(var g=0;g=a.length||b>=c))return a[b]}var rg=function(a,b,c,d){if(c===-1)return null;var e=b>>15&1023||536870912;if(c>=e){if(b&256)return a[a.length-1][c]}else{var f=a.length;if(d&&b&256&&(d=a[f-1][c],d!=null)){if(zg(a,b,e,c)&&rd!=null){var g;a=(g=id)!=null?g:id={};g=a[rd]||0;g>=4||(a[rd]=g+1,jd())}return d}return zg(a,b,e,c)}},Bg=function(a,b,c){var d=a.G,e=wd(d);Sd(e);Ag(d,e,b,c);return a}; function Ag(a,b,c,d){var e=b>>15&1023||536870912;if(c>=e){var f=b;if(b&256)var g=a[a.length-1];else{if(d==null)return f;g=a[e+(+!!(b&512)-1)]={};f|=256}g[c]=d;c>>=0}return Mg(a,b,c,0)},ph=function(a,b,c){return Mg(a,b,af(c),"0")},qh=function(a,b,c){return Bg(a,b,kf(c))},rh=function(a,b,c){return Mg(a,b,Od(c,!1),fd())},sh=function(a,b,c){return Mg(a,b,Qe(c),0)};function th(a,b){return Error("Invalid wire type: "+a+" (at position "+b+")")}function uh(){return Error("Failed to read varint, encoding is invalid.")}function vh(a,b){return Error("Tried to read past the end of the data "+b+" > "+a)};function wh(a){if(typeof a==="string")return{buffer:Zc(a),Ec:!1};if(Array.isArray(a))return{buffer:new Uint8Array(a),Ec:!1};if(a.constructor===Uint8Array)return{buffer:a,Ec:!1};if(a.constructor===ArrayBuffer)return{buffer:new Uint8Array(a),Ec:!1};if(a.constructor===dd)return{buffer:gd(a)||new Uint8Array(0),Ec:!0};if(a instanceof Uint8Array)return{buffer:new Uint8Array(a.buffer,a.byteOffset,a.byteLength),Ec:!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 xh=function(a,b){this.j=null;this.A=!1;this.g=this.l=this.o=0;this.init(a,void 0,void 0,b)};xh.prototype.init=function(a,b,c,d){d=d===void 0?{}:d;this.be=d.be===void 0?!1:d.be;a&&(a=wh(a),this.j=a.buffer,this.A=a.Ec,this.o=b||0,this.l=c!==void 0?this.o+c:this.j.length,this.g=this.o)};xh.prototype.clear=function(){this.j=null;this.A=!1;this.g=this.l=this.o=0;this.be=!1};xh.prototype.reset=function(){this.g=this.o}; var zh=function(a,b){var c=0,d=0,e=0,f=a.j,g=a.g;do{var h=f[g++];c|=(h&127)<32&&(d|=(h&127)>>4);for(e=3;e<32&&h&128;e+=7)h=f[g++],d|=(h&127)<>>0,d>>>0);throw uh();},yh=function(a,b){a.g=b;if(b>a.l)throw vh(a.l,b);},Ah=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 uh();yh(a,c);return e},Bh=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];yh(a,a.g+4);return(d<<0|e<<8|f<<16|b<<24)>>>0},Ch=function(a){for(var b=0,c=a.g,d=c+10,e=a.j;ca.l)throw vh(b,a.l-c);a.g=d;return c},Eh=function(a,b){if(b==0)return fd();var c=Dh(a,b);a.be&&a.A?c=a.j.subarray(c,c+b): (a=a.j,b=c+b,c=c===b?new Uint8Array(0):le?a.slice(c,b):new Uint8Array(a.subarray(c,b)));return c.length==0?fd():new dd(c,bd)},Fh=[];var Hh=function(a,b){if(Fh.length){var c=Fh.pop();c.init(a,void 0,void 0,b);a=c}else a=new xh(a,b);this.g=a;this.l=this.g.g;this.j=this.o=-1;Gh(this,b)},Gh=function(a,b){b=b===void 0?{}:b;a.fg=b.fg===void 0?!1:b.fg};Hh.prototype.reset=function(){this.g.reset();this.l=this.g.g;this.j=this.o=-1}; var Ih=function(a){var b=a.g;if(b.g==b.l)return!1;a.l=a.g.g;var c=Ah(a.g)>>>0;b=c>>>3;c&=7;if(!(c>=0&&c<=5))throw th(c,a.l);if(b<1)throw Error("Invalid field number: "+b+" (at position "+a.l+")");a.o=b;a.j=c;return!0},Jh=function(a){switch(a.j){case 0:a.j!=0?Jh(a):Ch(a.g);break;case 1:a=a.g;yh(a,a.g+8);break;case 2:if(a.j!=2)Jh(a);else{var b=Ah(a.g)>>>0;a=a.g;yh(a,a.g+b)}break;case 5:a=a.g;yh(a,a.g+4);break;case 3:b=a.o;do{if(!Ih(a))throw Error("Unmatched start-group tag: stream EOF");if(a.j==4){if(a.o!= b)throw Error("Unmatched end-group tag");break}Jh(a)}while(1);break;default:throw th(a.j,a.l);}},Kh=function(a,b,c){var d=a.g.l,e=Ah(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},Lh=function(a){var b=Ah(a.g)>>>0;a=a.g;var c=Dh(a,b);a=a.j;if(jb){var d=a,e;(e= ib)||(e=ib=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(gb===void 0){try{e.decode(new Uint8Array([128]))}catch(p){}try{e.decode(new Uint8Array([97])),gb=!0}catch(p){gb=!1}}!gb&&(ib=void 0);throw l;}}else{f=c;b=f+b;c=[];for(var g=null,h,k;f=b?eb():(k=a[f++],h<194||(k&192)!==128?(f--,eb()):c.push((h&31)<<6|k&63)):h<240?f>=b-1?eb():(k=a[f++],(k&192)!==128||h===224&&k<160||h===237&&k>=160||((e= a[f++])&192)!==128?(f--,eb()):c.push((h&15)<<12|(k&63)<<6|e&63)):h<=244?f>=b-2?eb():(k=a[f++],(k&192)!==128||(h<<28)+(k-144)>>30!==0||((e=a[f++])&192)!==128||((d=a[f++])&192)!==128?(f--,eb()):(h=(h&7)<<18|(k&63)<<12|(e&63)<<6|d&63,h-=65536,c.push((h>>10&1023)+55296,(h&1023)+56320))):eb(),c.length>=8192&&(g=fb(g,c),c.length=0);f=fb(g,c)}return f},Mh=[];var Nh,J=function(a,b,c){this.G=G(a,b,c)};J.prototype.toJSON=function(){return Oh(this)};var Ph=function(a){try{return Nh=!0,JSON.stringify(Oh(a),hg)}finally{Nh=!1}};J.prototype.clone=function(){var a=this.G;return Of(this.constructor,pg(a,wd(a),!1))};J.prototype.Ec=function(){return!!(vd(this.G)&2)};J.prototype.Ve=Kd;J.prototype.toString=function(){try{return Nh=!0,Oh(this).toString()}finally{Nh=!1}}; function Oh(a){a=Nh?a.G:lg(a.G,ng,void 0,void 0,!1);var b=!Nh,c=a.length;if(c){var d=a[c-1],e=Nd(d);e?c--:d=void 0;var f=a;if(e){b:{var g=d;var h;var k=!1;if(g)for(var l in g)if(isNaN(+l))e=void 0,((e=h)!=null?e:h={})[l]=g[l];else if(e=g[l],Array.isArray(e)&&(Pd(e)||Md(e)&&e.size===0)&&(e=null),e==null&&(k=!0),e!=null){var p=void 0;((p=h)!=null?p:h={})[l]=e}k||(h=g);if(h)for(var n in h){k=h;break b}k=null}g=k==null?d!=null:k!==d}for(;c>0;c--){h=f[c-1];if(!(h==null||Pd(h)||Md(h)&&h.size===0))break; var q=!0}if(f!==a||g||q){if(!b)f=Array.prototype.slice.call(f,0,c);else if(q||g||k)f.length=c;k&&f.push(k)}q=f}else q=a;return q};var Qh=function(a,b){this.j=a>>>0;this.g=b>>>0},Sh=function(a){if(!a)return Rh||(Rh=new Qh(0,0));if(!/^\d+$/.test(a))return null;Ie(a);return new Qh(me,ne)},Rh,Th=function(a,b){this.j=a>>>0;this.g=b>>>0},Vh=function(a){if(!a)return Uh||(Uh=new Th(0,0));if(!/^-?\d+$/.test(a))return null;Ie(a);return new Th(me,ne)},Uh;var Wh=function(){this.g=[]};Wh.prototype.length=function(){return this.g.length};Wh.prototype.end=function(){var a=this.g;this.g=[];return a}; var Xh=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)},Yh=function(a,b){for(;b>127;)a.g.push(b&127|128),b>>>=7;a.g.push(b)},Zh=function(a,b){if(b>=0)Yh(a,b);else{for(var c=0;c<9;c++)a.g.push(b&127|128),b>>=7;a.g.push(1)}},$h=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 ai=function(){this.l=[];this.j=0;this.g=new Wh},ki=function(a,b){b.length!==0&&(a.l.push(b),a.j+=b.length)},mi=function(a,b){li(a,b,2);b=a.g.end();ki(a,b);b.push(a.j);return b},ni=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++},li=function(a,b,c){Yh(a.g,b*8+c)},oi=function(a,b,c){li(a,b,2);Yh(a.g,c.length);ki(a,a.g.end());ki(a,c)};function pi(){var a=function(){throw Error();};Object.setPrototypeOf(a,a.prototype);return a}var qi=pi(),ri=pi(),si=pi(),ti=pi(),ui=pi(),vi=pi();var wi=function(a,b,c){this.g=a;this.j=b;a=$a(qi);this.l=!!a&&c===a||!1};function xi(a){var b=yi;var c=c===void 0?qi:c;return new wi(a,b,c)}function yi(a,b,c,d,e){b=zi(b,d);b!=null&&(c=mi(a,c),e(b,a),ni(a,c))}var Ai=xi(function(a,b,c,d,e){if(a.j!==2)return!1;Kh(a,Vg(b,d,c),e);return!0}),Bi=xi(function(a,b,c,d,e){if(a.j!==2)return!1;Kh(a,Vg(b,d,c,!0),e);return!0}),Ci=Symbol(),Di=Symbol(),Ei=Symbol(),Fi=Symbol(),Gi,Hi; function Ii(a,b,c,d){var e=d[a];if(e)return e;e={};e.Ue=Rf(d[0]);var f=d[1],g=1;f&&f.constructor===Object&&(e.M=f,f=d[++g],typeof f==="function"&&(e.Vh=!0,Gi!=null||(Gi=f),Hi!=null||(Hi=d[g+1]),f=d[g+=2]));for(var h={};f&&Array.isArray(f)&&f.length&&typeof f[0]==="number"&&f[0]>0;){for(var k=0;k>BigInt(32)));Xh(a.g,c.j,c.g);break;default:c=Vh(b),Xh(a.g,c.j,c.g)}}}function Wi(a,b,c){b=Te(b);b!=null&&b!=null&&(li(a,c,0),Zh(a.g,b))} function Xi(a,b,c){b=lf(b);if(b!=null){var d=!1;d=d===void 0?!1:d;if(ob){if(d&&(nb?!b.isWellFormed():/(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])/.test(b)))throw Error("Found an unpaired surrogate");b=(kb||(kb=new TextEncoder)).encode(b)}else{for(var e=0,f=new Uint8Array(3*b.length),g=0;g>6|192;else{if(h>=55296&&h<=57343){if(h<=56319&&g=56320&&k<=57343){h= (h-55296)*1024+k-56320+65536;f[e++]=h>>18|240;f[e++]=h>>12&63|128;f[e++]=h>>6&63|128;f[e++]=h&63|128;continue}else g--}if(d)throw Error("Found an unpaired surrogate");h=65533}f[e++]=h>>12|224;f[e++]=h>>6&63|128}f[e++]=h&63|128}}b=e===f.length?f:f.subarray(0,e)}oi(a,c,b)}}function Yi(a,b,c){b=Ue(b);b!=null&&b!=null&&(li(a,c,0),Yh(a.g,b))}function Zi(a,b,c){b=Te(b);b!=null&&(b=parseInt(b,10),li(a,c,0),Zh(a.g,b))} var $i=Ti(function(a,b,c){if(a.j!==1)return!1;var d=a.g;a=Bh(d);var e=Bh(d);d=(e>>31)*2+1;var f=e>>>20&2047;a=4294967296*(e&1048575)+a;a=f==2047?a?NaN:d*Infinity:f==0?d*4.9E-324*a:d*Math.pow(2,f-1075)*(a+4503599627370496);Ui(b,c,a===0?void 0:a);return!0},function(a,b,c){b=Je(b);b!=null&&(li(a,c,1),a=a.g,c=oe||(oe=new DataView(new ArrayBuffer(8))),c.setFloat64(0,+b,!0),me=c.getUint32(0,!0),ne=c.getUint32(4,!0),$h(a,me),$h(a,ne))},pi()),aj=Ti(function(a,b,c){if(a.j!==5)return!1;var d=Bh(a.g);a=(d>> 31)*2+1;var e=d>>>23&255;d&=8388607;Ui(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=Je(b);b!=null&&(li(a,c,5),a=a.g,c=oe||(oe=new DataView(new ArrayBuffer(8))),c.setFloat32(0,+b,!0),ne=0,me=c.getUint32(0,!0),$h(a,me))},pi()),bj=Ti(function(a,b,c){if(a.j!==0)return!1;Ui(b,c,zh(a.g,Fe));return!0},Vi,ui),cj=Ti(function(a,b,c){if(a.j!==0)return!1;a=zh(a.g,Fe);Ui(b,c,a===0?void 0:a);return!0},Vi,ui),dj=Ti(function(a,b,c){if(a.j!== 0)return!1;Ui(b,c,zh(a.g,De));return!0},function(a,b,c){b=hf(b);if(b!=null){switch(typeof b){case "string":Sh(b)}if(b!=null)switch(li(a,c,0),typeof b){case "number":a=a.g;Be(b);Xh(a,me,ne);break;case "bigint":c=BigInt.asUintN(64,b);c=new Qh(Number(c&BigInt(4294967295)),Number(c>>BigInt(32)));Xh(a.g,c.j,c.g);break;default:c=Sh(b),Xh(a.g,c.j,c.g)}}},pi()),ej=Ti(function(a,b,c){if(a.j!==0)return!1;Ui(b,c,Ah(a.g));return!0},Wi,si),fj=Ti(function(a,b,c){if(a.j!==0)return!1;a=Ah(a.g);Ui(b,c,a===0?void 0: a);return!0},Wi,si),gj=Ti(function(a,b,c){if(a.j!==0)return!1;Ui(b,c,Ch(a.g));return!0},function(a,b,c){b=Me(b);b!=null&&(li(a,c,0),a.g.g.push(b?1:0))},pi()),hj=Ti(function(a,b,c){if(a.j!==2)return!1;a=Lh(a);Ui(b,c,a===""?void 0:a);return!0},Xi,ri),ij=Ti(function(a,b,c){if(a.j!==2)return!1;Ui(b,c,Lh(a));return!0},Xi,ri),jj,kj=void 0;kj=kj===void 0?qi:kj; jj=new wi(function(a,b,c,d,e){if(a.j!==2)return!1;d=Sf(void 0,d,!0);Ng(b,wd(b),c,!0).push(d);Kh(a,d,e);return!0},function(a,b,c,d,e){if(Array.isArray(b))for(var f=0;f>>0;a=Eh(a.g,d);Ui(b,c,a===fd()?void 0:a);return!0},function(a,b,c){b=b==null||typeof b=="string"||$c(b)||b instanceof dd?b:void 0;b!=null&&oi(a,c,wh(b).buffer)},pi()),mj=Ti(function(a,b,c){if(a.j!==0)return!1;Ui(b,c,Ah(a.g)>>>0);return!0},Yi,ti),nj=Ti(function(a,b,c){if(a.j!==0)return!1;a=Ah(a.g)>>>0;Ui(b,c,a===0?void 0:a);return!0},Yi,ti),oj=Ti(function(a,b,c){if(a.j!==0)return!1;Ui(b,c,Ah(a.g));return!0},Zi,vi),pj; pj=new wi(function(a,b,c){if(a.j!==0&&a.j!==2)return!1;b=Ng(b,wd(b),c,!1,!1);if(a.j==2)for(c=Ah(a.g)>>>0,c=a.g.g+c;a.g.g")!=-1&&(a=a.replace(zb,">")),a.indexOf('"')!=-1&&(a=a.replace(Eb,""")),a.indexOf("'")!=-1&&(a=a.replace(Fb,"'")),a.indexOf("\x00")!=-1&&(a=a.replace(Gb,"�")));return a},Vk=function(a){var b={"&":"&","<":"<",">":">",""":'"'};var c=A.document.createElement("div");return a.replace(Uk, 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||(f=Nk(d+" "),c.nodeType===1&&Pk(c),c.innerHTML=Ok(f),f=c.firstChild.nodeValue.slice(0,-1));return b[d]=f})},Wk=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)}})},Uk=/&([^;\s<&]+);?/g, Xk=function(a,b){a.length>b&&(a=a.substring(0,b-3)+"...");return a},Yk=String.prototype.repeat?function(a,b){return a.repeat(b)}:function(a,b){return Array(b+1).join(a)},Zk=function(a){return a==null?"":String(a)},$k=function(a){return String(a).replace(/\-([a-z])/g,function(b,c){return c.toUpperCase()})},al=function(){return"googleAvInapp".replace(/([A-Z])/g,"-$1").toLowerCase()},bl=function(a){return a.replace(RegExp("(^|[\\s]+)([a-z])","g"),function(b,c,d){return c+d.toUpperCase()})};var cl=RegExp("^(?:([^:/?#.]+):)?(?://(?:([^\\\\/?#]*)@)?([^\\\\/?#]*?)(?::([0-9]+))?(?=[\\\\/?#]|$))?([^?#]+)?(?:\\?([^#]*))?(?:#([\\s\\S]*))?$"),dl=function(a){var b=a.match(cl);a=b[1];var c=b[3];b=b[4];var d="";a&&(d+=a+":");c&&(d=d+"//"+c,b&&(d+=":"+b));return d},el=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?Sk(e):"")}}},fl=function(a,b,c,d){for(var e=c.length;(b=a.indexOf(c, b))>=0&&bc)e=c;d+=b.length+1;return Sk(a.slice(d,e!==-1?e:0))},il=/[?&]($|#)/;function jl(a,b){var c=b.createRange();c.selectNode(b.body);a=Nk(a);return c.createContextualFragment(Ok(a))};function kl(a){a=a.nodeName;return typeof a==="string"?a:"FORM"}function ll(a){a=a.nodeType;return a===1||typeof a!=="number"};var ml="ARTICLE SECTION NAV ASIDE H1 H2 H3 H4 H5 H6 HEADER FOOTER ADDRESS P HR PRE BLOCKQUOTE OL UL LH LI DL DT DD FIGURE FIGCAPTION MAIN DIV EM STRONG SMALL S CITE Q DFN ABBR RUBY RB RT RTC RP DATA TIME CODE VAR SAMP KBD SUB SUP I B U MARK BDI BDO SPAN BR WBR NOBR INS DEL PICTURE PARAM TRACK MAP TABLE CAPTION COLGROUP COL TBODY THEAD TFOOT TR TD TH SELECT DATALIST OPTGROUP OPTION OUTPUT PROGRESS METER FIELDSET LEGEND DETAILS SUMMARY MENU DIALOG SLOT CANVAS FONT CENTER ACRONYM BASEFONT BIG DIR HGROUP STRIKE TT".split(" "), nl=[["A",new Map([["href",{ya:2}]])],["AREA",new Map([["href",{ya:2}]])],["LINK",new Map([["href",{ya:5,conditions:new Map([["rel",new Set("alternate author bookmark canonical cite help icon license next prefetch dns-prefetch prerender preconnect preload prev search subresource".split(" "))]])}]])],["SOURCE",new Map([["src",{ya:5}],["srcset",{ya:6}]])],["IMG",new Map([["src",{ya:5}],["srcset",{ya:6}]])],["VIDEO",new Map([["src",{ya:5}]])],["AUDIO",new Map([["src",{ya:5}]])]],ol="title aria-atomic aria-autocomplete aria-busy aria-checked aria-current aria-disabled aria-dropeffect aria-expanded aria-haspopup aria-hidden aria-invalid aria-label aria-level aria-live aria-multiline aria-multiselectable aria-orientation aria-posinset aria-pressed aria-readonly aria-relevant aria-required aria-selected aria-setsize aria-sort aria-valuemax aria-valuemin aria-valuenow aria-valuetext alt align autocapitalize autocomplete autocorrect autofocus autoplay bgcolor border cellpadding cellspacing checked color cols colspan controls datetime disabled download draggable enctype face formenctype frameborder height hreflang hidden ismap label lang loop max maxlength media minlength min multiple muted nonce open placeholder preload rel required reversed role rows rowspan selected shape size sizes slot span spellcheck start step summary translate type valign value width wrap itemscope itemtype itemid itemprop itemref".split(" "), pl=[["dir",{ya:3,conditions:Yj(function(){return new Map([["dir",new Set(["auto","ltr","rtl"])]])})}],["async",{ya:3,conditions:Yj(function(){return new Map([["async",new Set(["async"])]])})}],["cite",{ya:2}],["loading",{ya:3,conditions:Yj(function(){return new Map([["loading",new Set(["eager","lazy"])]])})}],["poster",{ya:2}],["target",{ya:3,conditions:Yj(function(){return new Map([["target",new Set(["_self","_blank"])]])})}]],ql=new function(){var a=new Set(ol),b=new Map(pl),c=new Map(nl);this.j= new Set(ml);this.g=c;this.l=a;this.o=b};var rl=function(){this.g=ql},ul=function(a,b){var c=sl;a=jl(a,b);a=document.createTreeWalker(a,5,function(h){if(h.nodeType===3)h=1;else if(ll(h))if(h=kl(h),h===null)h=2;else{var k=c.g;h=h!=="FORM"&&(k.j.has(h)||k.g.has(h))?1:2}else h=2;return h});for(var d=a.nextNode(),e=b.createDocumentFragment(),f=e;d!==null;){var g=void 0;if(d.nodeType===3)g=document.createTextNode(d.data);else if(ll(d))g=tl(c,d,b);else throw Error("");f.appendChild(g);if(d=a.firstChild())f=g;else for(;!(d=a.nextSibling())&&(d= a.parentNode());)f=f.parentNode}return e},tl=function(a,b,c){var d=kl(b);c=c.createElement(d);b=b.attributes;for(var e=u(b),f=e.next();!f.done;f=e.next()){var g=f.value;f=g.name;g=g.value;var h=a.g;var k=h.g.get(d);h=(k==null?0:k.has(f))?k.get(f):h.l.has(f)?{ya:1}:(h=h.o.get(f))?h:{ya:0};a:{if(k=h.conditions){k=u(k);for(var l=k.next();!l.done;l=k.next()){var p=u(l.value);l=p.next().value;p=p.next().value;var n=void 0;if((l=(n=b.getNamedItem(l))==null?void 0:n.value)&&!p.has(l)){k=!1;break a}}}k=!0}if(k)switch(h.ya){case 1:vl(c, f,g);break;case 2:a:if(h=void 0,Ik){try{h=new URL(g)}catch(q){h="https:";break a}h=h.protocol}else b:{h=document.createElement("a");try{h.href=g}catch(q){h=void 0;break b}h=h.protocol;h=h===":"||h===""?"https:":h}vl(c,f,h!==void 0&&Jk.indexOf(h.toLowerCase())!==-1?g:"about:invalid#zClosurez");break;case 3:vl(c,f,g.toLowerCase());break;case 4:vl(c,f,g);break;case 5:vl(c,f,g);break;case 6:vl(c,f,g)}}return c};function vl(a,b,c){a.setAttribute(b,c)}var sl=Yj(function(){return new rl});function wl(a){var b=Ga.apply(1,arguments);if(b.length===0)return ek(a[0]);for(var c=a[0],d=0;d>2)+a.charCodeAt(d)&4294967295;return c>0?c:4294967296+c};function Fl(a){var b,c;return(c=(b=/https?:\/\/[^\/]+/.exec(a))==null?void 0:b[0])!=null?c:""} var Gl=function(){var a=A;try{for(var b=null;b!=a;b=a,a=a.parent)switch(a.location.protocol){case "https:":return!0;case "file:":return!0;case "http:":return!1}}catch(c){}return!0},Hl=function(a,b){for(var c=0;c<50;++c){try{var d=!(!a.frames||!a.frames[b])}catch(e){d=!1}if(d)return a;if(!(a=yl(a)))break}return null},Il=zj(function(){return Hj()?2:Gj()?1:0}),Jl=function(){var a=window;if(typeof a.goog_pvsid!=="number")try{var b=Object,c=b.defineProperty,d=void 0;d=d===void 0?Math.random:d;var e=Math.floor(d()* 4503599627370496);c.call(b,a,"goog_pvsid",{value:e,configurable:!1})}catch(f){}return Number(a.goog_pvsid)||-1},Kl=function(a,b){b=b===void 0?document:b;return b.createElement(String(a).toLowerCase())},Ll=function(a){for(var b=a;a&&a!=a.parent;)a=a.parent,xl(a)&&(b=a);return b};var Nl=function(a,b,c,d,e){Ml(a,b,c===void 0?null:c,d===void 0?!1:d,e===void 0?!1:e)};function Ml(a,b,c,d,e){e=e===void 0?!1:e;a.google_image_requests||(a.google_image_requests=[]);var f=Kl("IMG",a.document);if(c||d){var g=function(h){c&&c(h);d&&nc(a.google_image_requests,f);Fj(f,"load",g);Fj(f,"error",g)};Ej(f,"load",g);Ej(f,"error",g)}e&&(f.attributionSrc="");f.src=b;a.google_image_requests.push(f)} var Pl=function(a,b){var c=c===void 0?!1:c;var d="https://pagead2.googlesyndication.com/pagead/gen_204?id="+b;Dl(a,function(e,f){if(e||e===0)d+="&"+f+"="+encodeURIComponent(""+e)});Ol(d,c)},Ol=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)):Nl(c,a,void 0,b,d)};function Ql(a,b){try{var c=function(d){var e={};return[(e[d.wl]=d.zk,e)]};return JSON.stringify([a.filter(function(d){return d.Yh}).map(c),Oh(b),a.filter(function(d){return!d.Yh}).map(c)])}catch(d){return Rl(d,b),""}}function Rl(a,b){try{Pl({m:xj(a instanceof Error?a:Error(String(a))),b:I(b,1)||null,v:kh(b,2)||null},"rcs_internal")}catch(c){}}var Sl=function(a,b){var c=new uj;a=sh(c,1,a);b=Mg(a,2,kf(b),"");a=b.G;c=wd(a);this.l=c&2?b:Of(b.constructor,pg(a,c,!0))};var Tl=function(a){this.G=G(a)};t(Tl,J);var Ul=function(a){this.G=G(a)};t(Ul,J);var Vl=function(a,b){return sh(a,1,b)},Wl=function(a,b){return sh(a,2,b)};var Xl=function(a){this.G=G(a)};t(Xl,J);var Yl=[1,2];var Zl=function(a){this.G=G(a)};t(Zl,J);var $l=function(a,b){return $g(a,1,b)},am=function(a,b){return bh(a,2,b)},bm=function(a,b){return Lg(a,4,b,Se)},cm=function(a,b){return bh(a,5,b)},dm=function(a,b){return sh(a,6,b)};var em=function(a){this.G=G(a)};t(em,J);var fm=[1,2,3,4,6];var gm=function(a){this.G=G(a)};t(gm,J);var hm=function(a){this.G=G(a)};t(hm,J);var im=[2,3,4];var jm=function(a){this.G=G(a)};t(jm,J);var km=[3,4,5],lm=[6,7];var mm=function(a){this.G=G(a)};t(mm,J);var nm=[4,5];var om=function(a){this.G=G(a)};t(om,J);om.prototype.getTagSessionCorrelator=function(){var a=a===void 0?qg:a;var b=yg(this,2);var c=typeof b;b=b==null?b:c==="bigint"?ee(BigInt.asIntN(64,b)):Oe(b)?c==="string"?Ye(b):Ze(b):void 0;return dh(b,a)};var qm=function(a){var b=new om;return ah(b,4,pm,a)},pm=[4,5,7,8,9];var rm=function(a){this.G=G(a)};t(rm,J);var sm=tj(rm);var tm=function(a){this.G=G(a)};t(tm,J);var um=function(a){this.G=G(a)};t(um,J);var vm=function(){Sl.apply(this,arguments)};t(vm,Sl);var wm=function(){vm.apply(this,arguments)};t(wm,vm);wm.prototype.sf=function(){this.L.apply(this,v(Ga.apply(0,arguments).map(function(a){return{Yh:!0,wl:4,zk:Oh(a)}})))};var xm=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 ym=function(a,b,c,d,e,f,g,h){wm.call(this,a,b);this.F=c;this.D=d;this.J=e;this.C=f;this.B=g;this.o=h;this.g=[];this.j=null;this.A=!1};t(ym,wm);var zm=function(a){a.j!==null&&(clearTimeout(a.j),a.j=null);if(a.g.length){var b=Ql(a.g,a.l);a.D(a.F+"?e=1",b);a.g=[]}}; ym.prototype.L=function(){var a=Ga.apply(0,arguments),b=this;try{this.B&&Ql(this.g.concat(a),this.l).length>=65536&&zm(this),this.o&&!this.A&&(this.A=!0,this.o.g(function(){zm(b)})),this.g.push.apply(this.g,v(a)),this.g.length>=this.C&&zm(this),this.g.length&&this.j===null&&(this.j=setTimeout(function(){zm(b)},this.J))}catch(c){Rl(c,this.l)}}; var Am=function(a,b,c,d,e,f){ym.call(this,a,b,"https://pagead2.googlesyndication.com/pagead/ping",xm,c===void 0?1E3:c,d===void 0?100:d,(e===void 0?!1:e)&&!!globalThis.fetch,f)};t(Am,ym);var Bm=function(a,b){this.x=a!==void 0?a:0;this.y=b!==void 0?b:0};m=Bm.prototype;m.clone=function(){return new Bm(this.x,this.y)};m.Ub=function(a){return a instanceof Bm&&(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 K=function(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.left=d};m=K.prototype;m.getWidth=function(){return this.right-this.left};m.getHeight=function(){return this.bottom-this.top};m.clone=function(){return new K(this.top,this.right,this.bottom,this.left)};m.contains=function(a){return this&&a?a instanceof K?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){Pa(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 Cm=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};K.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}; K.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};K.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 Dm=function(a,b,c){b instanceof Bm?(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};K.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 Em=function(a,b){this.width=a;this.height=b};m=Em.prototype;m.clone=function(){return new Em(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};var Fm=function(a,b,c,d){this.left=a;this.top=b;this.width=c;this.height=d};Fm.prototype.clone=function(){return new Fm(this.left,this.top,this.width,this.height)}; var Gm=function(a){return new K(a.top,a.left+a.width,a.top+a.height,a.left)},Hm=function(a,b){return a==b?!0:a&&b?a.left==b.left&&a.width==b.width&&a.top==b.top&&a.height==b.height:!1},Im=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 Fm(c,e,d-c,a-e)}return null};m=Fm.prototype; m.contains=function(a){return a instanceof Bm?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.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};function Jm(a){a=a===void 0?A: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};var Km=function(){this.S={}},Lm=function(){var a=Jm(window);if(a){if(a){var b=a.pageViewId;a=a.clientId;typeof a==="string"&&(b+=a.replace(/\D/g,"").substr(0,6))}else b=null;return+b}b=Ll(window);a=b.google_global_correlator;a||(b.google_global_correlator=a=1+Math.floor(Math.random()*8796093022208));return a},Nm=function(a,b){var c=Mm[7]||"google_ps_7";a=a.S;var d=a[c];return d===void 0?(a[c]=b(),a[c]):d},Om=function(a){var b=Lm();return Nm(a,function(){return b})},Qm=function(){if(Pm)var a=Pm;else{a= ((a=a===void 0?Jm():a)?xl(a.master)?a.master:null:null)||window;var b=a.google_persistent_state_async;a=b!=null&&typeof b=="object"&&b.S!=null&&typeof b.S=="object"?Pm=b:a.google_persistent_state_async=Pm=new Km}return Om(a)},Pm=null,Rm={},Mm=(Rm[8]="google_prev_ad_formats_by_region",Rm[9]="google_prev_ad_slotnames_by_region",Rm);var Sm=sa(["https://pagead2.googlesyndication.com/pagead/js/err_rep.js"]),Tm=function(){var a=a===void 0?"jserror":a;var b=b===void 0?.01:b;var c=c===void 0?wl(Sm):c;this.j=a;this.l=b;this.o=c;this.g=!1};Tm.prototype.Vg=function(a){this.g=a}; Tm.prototype.Jb=function(a,b,c,d){c=c===void 0?this.l:c;d=d===void 0?this.j:d;if(Math.random()>c)return this.g;wj(b)||(b=new vj(b,{context:a,id:d}));A.google_js_errors=A.google_js_errors||[];A.google_js_errors.push(b);A.error_rep_loaded||(b=A.document,a=Kl("SCRIPT",b),Qk(a,this.o),(b=b.getElementsByTagName("script")[0])&&b.parentNode&&b.parentNode.insertBefore(a,b),A.error_rep_loaded=!0);return this.g};Tm.prototype.Lc=function(a,b){try{return b()}catch(c){if(!this.Jb(a,c,this.l,this.j))throw c;}}; Tm.prototype.Og=function(a,b,c){var d=this;return function(){var e=Ga.apply(0,arguments);return d.Lc(a,function(){return b.apply(c,e)})}};var Vm=function(){var a=Um;return a.prerendering?3:{visible:1,hidden:2,prerender:3,preview:4,unloaded:5}[a.visibilityState||a.webkitVisibilityState||a.mozVisibilityState||""]||0},Wm=function(a){var b;a.visibilityState?b="visibilitychange":a.mozVisibilityState?b="mozvisibilitychange":a.webkitVisibilityState&&(b="webkitvisibilitychange");return b};var Xm=null,Ym=function(){if(Xm===null){Xm="";try{var a="";try{a=A.top.location.hash}catch(c){a=A.location.hash}if(a){var b=a.match(/\bdeid=([\d,]+)/);Xm=b?b[1]:""}}catch(c){}}return Xm};function Zm(){var a=a===void 0?A:a;return(a=a.performance)&&a.now&&a.timing?Math.floor(a.now()+a.timing.navigationStart):Za()}function $m(){var a=a===void 0?A:a;return(a=a.performance)&&a.now?a.now():null};var an=function(a,b,c,d){this.label=a;this.type=b;this.value=c;this.duration=d===void 0?0:d;this.taskId=this.slotId=void 0;this.uniqueId=Math.random()};var bn=A.performance,cn=!!(bn&&bn.mark&&bn.measure&&bn.clearMarks),dn=zj(function(){var a;if(a=cn)a=Ym(),a=!!a.indexOf&&a.indexOf("1337")>=0;return a}),en=function(a,b){this.events=[];this.g=b||A;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.l=dn()||(c!=null?c:Math.random()2048||this.events.push(a)};var fn=function(a){a&&bn&&dn()&&(bn.clearMarks("goog_"+a.label+"_"+a.uniqueId+"_start"),bn.clearMarks("goog_"+a.label+"_"+a.uniqueId+"_end"))}; en.prototype.start=function(a,b){if(!this.l)return null;a=new an(a,b,$m()||Zm());b="goog_"+a.label+"_"+a.uniqueId+"_start";bn&&dn()&&bn.mark(b);return a};en.prototype.end=function(a){if(this.l&&typeof a.value==="number"){a.duration=($m()||Zm())-a.value;var b="goog_"+a.label+"_"+a.uniqueId+"_end";bn&&dn()&&bn.mark(b);this.B(a)}};var gn=function(a){a=a._google_rum_ns_=a._google_rum_ns_||{};return a.pq=a.pq||[]};function hn(a,b,c){Dl(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 on=function(a,b,c,d,e,f,g,h){f=f===void 0?Infinity:f;g=g===void 0?!1:g;en.call(this,a,h);var k=this;this.aa=b;this.domain=c;this.path=d;this.ca=e;this.D=0;this.A={};this.L={};this.N=[];this.report={};this.j=0;this.J=[];this.H=f;a=this.g.navigator;this.ba=!(this.domain!=="csi.gstatic.com"||!a||!a.sendBeacon);this.g.performance&&this.g.performance.now||jn(this,"dat",1);a&&a.deviceMemory&&jn(this,"dmc",a.deviceMemory);this.g===this.g.top&&jn(this,"top",1);this.U=!g;this.K=function(){k.g.setTimeout(function(){kn(k)}, 1100)};this.O=function(){jn(k,"uet",2);for(var p=u(k.N),n=p.next();!n.done;n=p.next()){n=n.value;try{n()}catch(r){}}p=k.g;var q=q===void 0?{}:q;typeof window.CustomEvent==="function"?n=new CustomEvent("rum_blp",q):(n=document.createEvent("CustomEvent"),n.initCustomEvent("rum_blp",!!q.bubbles,!!q.cancelable,q.detail));p.dispatchEvent(n);kn(k);k.A.uet!=null&&(k.o-=3+k.A.uet.length+2,delete k.A.uet)};this.ga=Bj(function(){kn(k)});this.ma=function(){var p=k.g.document;(p.hidden!=null?p.hidden:p.mozHidden!= null?p.mozHidden:p.webkitHidden!=null&&p.webkitHidden)&&k.ga()};this.F=this.g.setTimeout(function(){kn(k)},5E3);this.o=b.length+c.length+d.length+e.length+3;ac(this.events,function(p){ln(k,p)});b=gn(this.g);var l=function(){var p=Ga.apply(0,arguments)[0],n=p[0];p=p[1];var q=n.length+p.length+2;k.o+k.j+q>8E3&&kn(k);k.J.push([n,p]);k.j+=q;mn(k);return 0};ac(b,function(p){return l(p)});b.length=0;b.push=l;jn(this,"puid",(this.D+1).toString(36)+"~"+Za().toString(36));nn(this)};t(on,en); var nn=function(a){a.g.document.readyState==="complete"?a.g.setTimeout(function(){kn(a)},0):Ej(a.g,"load",a.K);var b=Wm(a.g.document);typeof b!=="undefined"&&Ej(a.g,b,a.ma);Ej(a.g,"pagehide",a.O)},jn=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},rn=function(a,b,c,d,e){e=e===void 0?"":e;var f=pn(a,b,c,d,e);a.o+a.j+f>8E3&&(kn(a),f=b.length+c.length+2);qn(a,b,c,d,e);a.j+=f;mn(a)},pn=function(a,b,c,d,e){return a.report[b]==null?b.length+ c.length+2:d?c.length+(e===void 0?"":e).length:c.length-a.report[b].length},qn=function(a,b,c,d,e){a.report[b]=d&&a.report[b]!=null?a.report[b]+(""+(e===void 0?"":e)+c):c},mn=function(a){a.o+a.j>=6E3&&kn(a)},kn=function(a){if(a.l&&a.U){try{a.j&&(a.sendBeacon(a.report),a.D===a.H&&a.C())}catch(b){(new Tm).Jb(358,b)}a.report={};a.j=0;a.events.length=0;a.g.clearTimeout(a.F);a.F=0}},sn=function(a,b){var c=a.aa+"//"+a.domain+a.path+a.ca,d={};c=hn(c,a.A,d);c=hn(c,b,d);b=a.g;b.google_timing_params&&(c=hn(c, b.google_timing_params,d),b.google_timing_params=void 0);ac(a.J,function(e){var f=u(e);e=f.next().value;f=f.next().value;var g={};c=hn(c,(g[e]=f,g))});a.J.length=0;return c};on.prototype.sendBeacon=function(a){this.D++;a=sn(this,a);var b=!1;try{b=!!(this.ba&&this.g.navigator&&this.g.navigator.sendBeacon(a,null))}catch(c){this.ba=!1}b||Nl(this.g,a);jn(this,"puid",(this.D+1).toString(36)+"~"+Za().toString(36))}; var ln=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):"");rn(a,c,b,!0,"~")};on.prototype.B=function(a){this.l&&this.D8E3||d)&&kn(a);d=u(Object.keys(b));for(e=d.next();!e.done;e=d.next())e=e.value,qn(a,e,b[e],!1);a.j+=c;mn(a)},un=function(a,b){a=a.g;a.l&&a.B(new an(b,4,Zm()-0,0))}; M.prototype.recordClick=function(a,b,c,d){for(var e=!1,f="notag";d!=void 0&&d!=document.documentElement;){var g=void 0,h=void 0;if(((g=d)==null?0:g.getAttribute("data-ck-navigates"))||((h=d)==null?0:h.getAttribute("data-ck-tag"))){g=f=void 0;e=(g=(f=d)==null?void 0:f.getAttribute("data-ck-navigates"))!=null?g:!1;h=g=void 0;f=(h=(g=d)==null?void 0:g.getAttribute("data-ck-tag"))!=null?h:"notag";break}g=void 0;d=(g=d.parentElement)!=null?g:void 0}d=this.g;d.l&&d.B(new an(a+"_"+b+"x"+c+"|"+e+"|"+f,4, Zm(),0))};M.getInstance=function(){return L(M)};var vn=function(a){var b=M.getInstance();b.j.has(a)?b.j.set(a,b.j.get(a)+1):b.j.set(a,1)};var wn=function(a){return/^\s*$/.test(a)?!1:/^[\],:{}\s\u2028\u2029]*$/.test(a.replace(/\\["\\\/bfnrtu]/g,"@").replace(/(?:"[^"\\\n\r\u2028\u2029\x00-\x08\x0a-\x1f]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?)[\s\u2028\u2029]*(?=:|,|]|}|$)/g,"]").replace(/(?:^|:|,)(?:[\s\u2028\u2029]*\[)+/g,""))},xn=function(a){try{return A.JSON.parse(a)}catch(b){}a=String(a);if(wn(a))try{return eval("("+a+")")}catch(b){}throw Error("Invalid JSON string: "+a);};var yn=function(){this.l=null;this.g="missing-id";this.j=!1},An=function(a){var b=null;try{b=document.getElementsByClassName("lima-exp-data")}catch(c){return zn("missing-element",a.g),null}if(b.length>1)return zn("multiple-elements",a.g),null;b=b[0];return b?b.innerHTML:(zn("missing-element",a.g),null)},Cn=function(){var a=Bn,b=An(a);if(b!==null)if(wn(b)){var c=JSON.parse(b);b=c.experimentIds;var d=c.binaryIdentifier;c=c.adEventId;var e=typeof d==="string";if(typeof c=="string"){var f=M.getInstance(); c!=null&&jn(f.g,"qqid",c)}e&&(a.g=d);typeof b!=="string"?zn("missing-flags",a.g):(e||zn("missing-binary-id",a.g),a.l=b)}else zn("invalid-json",a.g)};yn.prototype.reset=function(){this.l=null;this.g="missing-id"};function Dn(a,b){var c=Zg(a,jm,2,Cg());if(!c.length)return En(a,b);a=I(a,1);if(a===1){var d=Dn(c[0],b);return d.success?{success:!0,value:!d.value}:d}c=dc(c,function(h){return Dn(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 En(a,b){var c=Rg(a,km);a:{switch(c){case 3:var d=mh(a,3,km);break a;case 4:d=mh(a,4,km);break a;case 5:d=mh(a,5,km);break a}d=void 0}if(!d)return{success:!1,errorType:2};b=(b=b[c])&&b[d];if(!b)return{success:!1,ed:d,Qd:c,errorType:1};try{var e=b.apply;var f=lh(a,8);var g=e.call(b,null,v(f))}catch(h){return{success:!1,ed:d,Qd:c,errorType:2}}e=I(a,1);if(e===4)return{success:!0,value:!!g};if(e===5)return{success:!0,value:g!=null};if(e===12)a=kh(a,Sg(a,lm,7));else a:{switch(c){case 4:a=jh(a, Sg(a,lm,6));break a;case 5:a=kh(a,Sg(a,lm,7));break a}a=void 0}if(a==null)return{success:!1,ed:d,Qd:c,errorType:3};if(e===6)return{success:!0,value:g===a};if(e===9)return{success:!0,value:g!=null&&Lb(String(g),a)===0};if(g==null)return{success:!1,ed:d,Qd:c,errorType:4};switch(e){case 7:c=ga;break;case 12:c=Zd(a)&&Zd(g)&&(new RegExp(a)).test(g);break;case 10:c=g!=null&&Lb(String(g),a)===-1;break;case 11:c=g!=null&&Lb(String(g),a)===1;break;default:return{success:!1,errorType:3}}return{success:!0, value:c}}function Fn(a,b){return a?b?Dn(a,b):{success:!1,errorType:1}:{success:!0,value:!0}};var Tg=function(a){this.G=G(a)};t(Tg,J);var Gn=function(a){this.G=G(a)};t(Gn,J);Gn.prototype.getValue=function(){return H(this,Tg,2)};var Hn=function(a){this.G=G(a)};t(Hn,J);var In=tj(Hn),Jn=[1,2,3,6,7,8];var Kn=function(a,b,c){var d=d===void 0?new Am(6,"unknown",b):d;this.o=a;this.A=c;this.j=d;this.g=[];this.l=a>0&&Cl()<1/a},Mn=function(a,b,c,d,e,f){if(a.l){var g=Wl(Vl(new Ul,b),c);b=dm(am($l(cm(bm(new Zl,d),e),g),a.g.slice()),f);b=qm(b);a.j.sf(Ln(a,b));if(f===1||f===3||f===4&&!a.g.some(function(h){return I(h,1)===I(g,1)&&I(h,2)===c}))a.g.push(g),a.g.length>100&&a.g.shift()}},Nn=function(a,b,c,d){if(a.l){var e=new Tl;b=Bg(e,1,b==null?b:Se(b));c=Bg(b,2,c==null?c:Se(c));d=Bg(c,3,Qe(d));c=new om;d=ah(c, 8,pm,d);a.j.sf(Ln(a,d))}},On=function(a,b,c,d,e){if(a.l){var f=new mm;b=$g(f,1,b);c=Bg(b,2,Qe(c));d=Bg(c,3,d==null?d:Se(d));if(e.Qd===void 0)Qg(d,4,nm,Qe(e.errorType));else switch(e.Qd){case 3:c=new hm;c=Qg(c,2,im,Qe(e.ed));e=Bg(c,1,Qe(e.errorType));ah(d,5,nm,e);break;case 4:c=new hm;c=Qg(c,3,im,Qe(e.ed));e=Bg(c,1,Qe(e.errorType));ah(d,5,nm,e);break;case 5:c=new hm,c=Qg(c,4,im,Qe(e.ed)),e=Bg(c,1,Qe(e.errorType)),ah(d,5,nm,e)}e=new om;e=ah(e,9,pm,d);a.j.sf(Ln(a,e))}},Ln=function(a,b){var c=Date.now(); c=Number.isFinite(c)?Math.round(c):0;b=ph(b,1,c);c=Jl();b=ph(b,2,c);return ph(b,6,a.o)};var Pn=function(){var a={};this.gb=(a[3]={},a[4]={},a[5]={},a)};var Qn=/^true$/.test("false");function Rn(a,b){switch(b){case 1:return mh(a,1,Jn);case 2:return mh(a,2,Jn);case 3:return mh(a,3,Jn);case 6:return mh(a,6,Jn);case 8:return mh(a,8,Jn);default:return null}}function Sn(a,b){if(!a)return null;switch(b){case 1:return fh(a,1);case 7:return kh(a,3);case 2:return jh(a,2);case 3:return kh(a,3);case 6:return lh(a,4);case 8:return lh(a,4);default:return null}} var Tn=zj(function(){if(!Qn)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 Un(a,b,c,d){var e=d=d===void 0?0:d,f,g;L(Vn).l[e]=(g=(f=L(Vn).l[e])==null?void 0:f.add(b))!=null?g:(new Set).add(b);e=Tn();if(e[b]!=null)return e[b];b=Wn(d)[b];if(!b)return c;b=In(JSON.stringify(b));b=Xn(b);a=Sn(b,a);return a!=null?a:c} function Xn(a){var b=L(Pn).gb;if(b&&Rg(a,Jn)!==8){var c=ic(Zg(a,Gn,5,Cg()),function(f){f=Fn(H(f,jm,1),b);return f.success&&f.value});if(c){var d;return(d=c.getValue())!=null?d:null}}var e;return(e=H(a,Tg,4))!=null?e:null}var Vn=function(){this.j={};this.o=[];this.l={};this.g=new Map};function Yn(a,b,c){return!!Un(1,a,b===void 0?!1:b,c)}function Zn(a,b,c){b=b===void 0?0:b;a=Number(Un(2,a,b,c));return isNaN(a)?b:a}function $n(a,b,c){b=b===void 0?"":b;a=Un(3,a,b,c);return typeof a==="string"?a:b} function ao(a,b,c){b=b===void 0?[]:b;a=Un(6,a,b,c);return Array.isArray(a)?a:b}function bo(a,b,c){b=b===void 0?[]:b;a=Un(8,a,b,c);return Array.isArray(a)?a:b}function Wn(a){return L(Vn).j[a]||(L(Vn).j[a]={})}function co(a,b){var c=Wn(b);Dl(a,function(d,e){if(c[e]){d=In(JSON.stringify(d));var f=Sg(d,Jn,8);if(Re(yg(d,f))!=null){var g=In(JSON.stringify(c[e]));f=Ug(d);g=lh(Xg(g),4);ch(f,4,jf,g,lf)}c[e]=Oh(d)}else c[e]=d})} function eo(a,b,c,d,e){e=e===void 0?!1:e;var f=[],g=[];b=u(b);for(var h=b.next();!h.done;h=b.next()){h=h.value;for(var k=Wn(h),l=u(a),p=l.next();!p.done;p=l.next()){p=p.value;var n=Rg(p,Jn),q=Rn(p,n);if(q){var r=void 0,w=void 0,z=void 0;var B=(r=(z=L(Vn).g.get(h))==null?void 0:(w=z.get(q))==null?void 0:w.slice(0))!=null?r:[];a:{r=q;w=n;z=new em;switch(w){case 1:Qg(z,1,fm,Qe(r));break;case 2:Qg(z,2,fm,Qe(r));break;case 3:Qg(z,3,fm,Qe(r));break;case 6:Qg(z,4,fm,Qe(r));break;case 8:Qg(z,6,fm,Qe(r)); break;default:B=void 0;break a}Lg(z,5,B,Se);B=z}if(r=B)w=void 0,r=!((w=L(Vn).l[h])==null||!w.has(q));r&&f.push(B);if(n===8&&k[q])B=In(JSON.stringify(k[q])),n=Ug(p),B=lh(Xg(B),4),ch(n,4,jf,B,lf);else{if(n=B)r=void 0,n=!((r=L(Vn).g.get(h))==null||!r.has(q));n&&g.push(B)}e||(n=q,B=h,r=d,w=L(Vn),w.g.has(B)||w.g.set(B,new Map),w.g.get(B).has(n)||w.g.get(B).set(n,[]),r&&w.g.get(B).get(n).push(r));k[q]=Oh(p)}}}if(f.length||g.length)a=d!=null?d:void 0,c.l&&c.A&&(d=new gm,f=bh(d,2,f),g=bh(f,3,g),a&&nh(g,1, a),f=new om,g=ah(f,7,pm,g),c.j.sf(Ln(c,g)))}function fo(a,b){b=Wn(b);a=u(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=In(JSON.stringify(c)),e=Rg(d,Jn);(d=Rn(d,e))&&(b[d]||(b[d]=c))}}function go(){return Object.keys(L(Vn).j).map(function(a){return Number(a)})}function ho(a){L(Vn).o.includes(a)||co(Wn(4),a)};function io(a,b,c){c.hasOwnProperty(a)||Object.defineProperty(c,String(a),{value:b})}function jo(a,b,c){return b[a]||c}function ko(a){io(5,Yn,a);io(6,Zn,a);io(7,$n,a);io(8,ao,a);io(17,bo,a);io(13,fo,a);io(15,ho,a)} function Jo(a){io(4,function(b){L(Pn).gb=b},a);io(9,function(b,c){var d=L(Pn);d.gb[3][b]==null&&(d.gb[3][b]=c)},a);io(10,function(b,c){var d=L(Pn);d.gb[4][b]==null&&(d.gb[4][b]=c)},a);io(11,function(b,c){var d=L(Pn);d.gb[5][b]==null&&(d.gb[5][b]=c)},a);io(14,function(b){for(var c=L(Pn),d=u([3,4,5]),e=d.next();!e.done;e=d.next())e=e.value,Object.assign(c.gb[e],b[e])},a)}function Ko(a){a.hasOwnProperty("init-done")||Object.defineProperty(a,"init-done",{value:!0})};var Lo=function(){};Lo.prototype.j=function(){};Lo.prototype.g=function(){return[]};var Mo=function(a,b,c){a.j=function(d,e){jo(2,b,function(){return[]})(d,c,e)};a.g=function(){return jo(3,b,function(){return[]})(c)}};var No=function(a,b,c){this.id=a;this.I=b;this.j=c;this.g=!1},Oo=function(a){return a.g||a.j},Po=function(){this.g=[]},Qo=function(){this.g=new Map;this.j=!1;this.o=new Po;this.A=new No(0,0,!1);this.l=[this.o]},O=function(a){var b=Ro;if(b.j||b.g.has(a.id)||a.I==null&&a.control==null||a.Hn==0)return b.A;var c=b.o;if(a.control!=null)for(var d=u(b.l),e=d.next();!e.done;e=d.next()){if(e=e.value,e.g.includes(a.control)){c=e;break}}else a.ha!=null&&(c=a.ha);d=0;a.control!=null?d=a.control.I:a.I!=null&& (d=a.I);a=new No(a.id,d,!!a.Jn);c.g.push(a);b.l.includes(c)||b.l.push(c);b.g.set(a.id,a);return a},So=function(){var a=Ro;a=[].concat(v(a.g.keys())).filter(function(c){return Oo(this.g.get(c))},a);var b=L(Lo).g();return[].concat(v(a),v(b))},To=function(a){var b=Ro;b.j||(a.g(b.l,b.g),b.j=!0)};Qo.prototype.reset=function(){for(var a=u(this.g),b=a.next();!b.done;b=a.next())b=u(b.value),b.next(),b.next().value.g=!1;this.j=!1};var Ro=new Qo,Vo=function(){return Uo.g.filter(function(a){return Oo(a)}).map(function(a){return a.id})};var Wo=function(){};Wo.prototype.g=function(a){a=u(a);for(var b=a.next();!b.done;b=a.next()){var c=0,d=Math.floor(Math.random()*1E3);b=u(b.value.g);for(var e=b.next();!e.done;e=b.next())if(e=e.value,c+=e.I,d=B*da||z%da!==E||!Xp(a,w)||(z=I(w.yf,13),z!==0&&z!==void 0&&(B=a.l[String(z)],B!==void 0&&B!==w.sb.getId()?Nn(a.jc,a.l[String(z)],w.sb.getId(),z):a.l[String(z)]=w.sb.getId()),h.push(w.sb))}Rg(n,Yl)!==0&&(nh(n,3,q),g.push(n))}}}}d=u(h);for(h=d.next();!h.done;h=d.next())h=h.value,k=h.getId(),e.push(k),Yp(a,k,f?4:c),eo(Zg(h,Hn,2,Cg()),f?go():[c],a.jc,k);Mn(a.jc,b,c,e,g,1); return e},Yp=function(a,b,c){a.g[c]||(a.g[c]=[]);a=a.g[c];a.includes(b)||a.push(b)},Xp=function(a,b){var c=L(Pn).gb,d=Fn(H(b.yf,jm,3),c);if(!d.success)return On(a.jc,H(b.yf,jm,3),b.re,b.sb.getId(),d),!1;if(!d.value)return!1;c=Fn(H(b.sb,jm,3),c);return c.success?c.value?!0:!1:(On(a.jc,H(b.sb,jm,3),b.re,b.sb.getId(),c),!1)},$p=function(a,b){b=b.map(function(c){return new Ep(c)}).filter(function(c){return!Vp.includes(I(c,1))});a.Kd=Tp(a.Kd,b)},aq=function(a,b){io(1,function(c){a.j[c]=!0},b);io(2,function(c, d,e){return Zp(a,c,d,e)},b);io(3,function(c){return(a.g[c]||[]).concat(a.g[4])},b);io(12,function(c){return void $p(a,c)},b);io(16,function(c,d){return void Yp(a,c,d)},b)};var bq=function(){var a={};this.g=function(b,c){return a[b]!=null?a[b]:c};this.j=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.o=function(b,c){return a[b]!=null?c.concat(a[b]):c};this.l=function(){}};var cq=function(){this.g=function(){}},dq=function(a,b){a.g=jo(14,b,function(){})};function eq(a){L(cq).g(a)};var fq,gq,hq,iq,jq,kq;function lq(a,b){var c=b=b===void 0?Rp():b;Mo(L(Lo),c,a);mq(b,a);a=b;dq(L(cq),a);L(bq).l()}function mq(a,b){var c=L(bq);c.g=function(d,e){return jo(5,a,function(){return!1})(d,e,b)};c.j=function(d,e){return jo(6,a,function(){return 0})(d,e,b)};c.A=function(d,e){return jo(7,a,function(){return""})(d,e,b)};c.C=function(d,e){return jo(8,a,function(){return[]})(d,e,b)};c.o=function(d,e){return jo(17,a,function(){return[]})(d,e,b)};c.l=function(){jo(15,a,function(){})(b)}};Ro.reset();To(new Wo); (function(a){var b=a.Sj;var c=a.gb;var d=a.config;var e=a.Cj===void 0?Rp():a.Cj;var f=a.wh===void 0?0:a.wh;var g=a.jc===void 0?new Kn((iq=(fq=H(b,Fp,5))==null?void 0:ih(fq,2))!=null?iq:0,(jq=(gq=H(b,Fp,5))==null?void 0:ih(gq,4))!=null?jq:0,(kq=(hq=H(b,Fp,5))==null?void 0:fh(hq,3))!=null?kq:!1):a.jc;a=a.Kd===void 0?Sp(Zg(b,Ep,2,Cg(Wd))):a.Kd;e.hasOwnProperty("init-done")?(jo(12,e,function(){})(Zg(b,Ep,2,Cg()).map(function(h){return Oh(h)})),jo(13,e,function(){})(Zg(b,Hn,1,Cg()).map(function(h){return Oh(h)}),f), c&&jo(14,e,function(){})(c),lq(f,e)):(aq(new Wp(a,f,g,d),e),ko(e),Jo(e),Ko(e),lq(f,e),eo(Zg(b,Hn,1,Cg(Wd)),[f],g,void 0,!0),Qn=Qn||!(!d||!d.Ln),eq(Qp),c&&eq(c))})({Sj:eg(Jp()),wh:7});var nq=Jl(),oq={},pq=(oq[0]=function(a){a=a===void 0?Cl():a;return function(b){return El(b+" + "+a)%1E3}}(nq),oq);L(Lo).j(16,pq);var qq=function(a,b,c){this.id=a;a=rc(c);tc(a);this.g=a;this.event=b};qq.prototype.Ub=function(a){var b;if(b=this.event==a.event&&this.id==a.id)a:if(b=this.g,a=a.g,Oa(b)&&Oa(a)&&b.length==a.length){for(var c=b.length,d=0;db)throw Error("ID "+c+" is past MaxVendorId "+b+"!");}),a):jr(a,b)},lr=function(a){for(var b=[],c=fr(a,12);c--;){var d=fr(a,6),e= fr(a,2),f=ir(a),g=b,h=g.push,k=new Aq;d=sh(k,1,d);e=sh(d,2,e);f=Lg(e,3,f,Se);h.call(g,f)}return b},ir=function(a){for(var b=fr(a,12),c=[];b--;){var d=!!fr(a,1)===!0,e=fr(a,16);if(d)for(d=fr(a,16);e<=d;e++)c.push(e);else c.push(e)}c.sort(function(f,g){return f-g});return c},jr=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)};er.prototype.skip=function(a){this.g+=a};var mr=function(a){try{var b=Rc(a).map(function(f){return f.toString(2).padStart(8,"0")}).join(""),c=new er(b);if(fr(c,3)!==3)return null;var d=Dq(Cq(new Bq,jr(c,24,cr)),jr(c,24,cr)),e=fr(c,6);e!==0&&Fq(Eq(d,jr(c,e)),jr(c,e));return d}catch(f){return null}};var nr=function(a){try{var b=Rc(a).map(function(d){return d.toString(2).padStart(8,"0")}).join(""),c=new er(b);return $q(Zq(Yq(Xq(Wq(Vq(Uq(Tq(Sq(Rq(Qq(Pq(Oq(Nq(Mq(Lq(Kq(Jq(Iq(new Hq,fr(c,6)),gr(c)),gr(c)),fr(c,12)),fr(c,12)),fr(c,6)),hr(c)),fr(c,12)),fr(c,6)),!!fr(c,1)),!!fr(c,1)),jr(c,12,dr)),jr(c,24,cr)),jr(c,24,cr)),!!fr(c,1)),hr(c)),kr(c)),kr(c)),lr(c))}catch(d){return null}};var pr=function(a){if(!a)return null;var b=a.split(".");if(b.length>4)return null;a=nr(b[0]);if(!a)return null;var c=new ar;a=$g(c,1,a);b.shift();b=u(b);for(c=b.next();!c.done;c=b.next())switch(c=c.value,or(c)){case 1:case 2:break;case 3:c=mr(c);if(!c)return null;$g(a,2,c);break;default:return null}return a},or=function(a){try{var b=Rc(a).map(function(c){return c.toString(2).padStart(8,"0")}).join("");return fr(new er(b),3)}catch(c){return-1}};var qr=function(a,b){var c={};if(Array.isArray(b)&&b.length!==0){b=u(b);for(var d=b.next();!d.done;d=b.next())d=d.value,c[d]=a.indexOf(d)!==-1}else for(a=u(a),b=a.next();!b.done;b=a.next())c[b.value]=!0;delete c[0];return c};var rr=new function(){this.defaultValue=!1},sr=new function(a,b){this.g=a;this.defaultValue=b===void 0?0:b}(45645574);function tr(){var a=Ob();return a?fc("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 Jb(a,b)})||Jb(a,"OMI/")&&!Jb(a,"XiaoMi/")?!0:Jb(a,"Presto")&&Jb(a,"Linux")&&!Jb(a,"X11")&&!Jb(a,"Android")&&!Jb(a,"Mobi"):!1} function ur(){var a=Ob();return Jb(a,"AppleTV")||Jb(a,"Apple TV")||Jb(a,"CFNetwork")||Jb(a,"tvOS")}function vr(a){return(a=a.userAgentData)?a.brands.some(function(b){return b.brand.includes("kepler_webview")}):Jb(Ob(),"Kepler")}function wr(){var a;(a=Jb(Ob(),"CrKey")&&!(Jb(Ob(),"CrKey")&&Jb(Ob(),"SmartSpeaker"))||Jb(Ob(),"PlayStation")||Jb(Ob(),"Roku")||tr()||Jb(Ob(),"Xbox")||ur())||(a=Ob(),a=Jb(a,"sdk_google_atv_x86")||Jb(a,"Android TV"));return a};var xr={LOADED:"loaded",qh:"start",FIRST_QUARTILE:"firstQuartile",MIDPOINT:"midpoint",THIRD_QUARTILE:"thirdQuartile",COMPLETE:"complete",PAUSE:"pause",oh:"resume",jh:"bufferStart",ih:"bufferFinish",SKIPPED:"skipped",yj:"volumeChange",bn:"playerStateChange",Ul:"adUserInteraction"};function yr(a,b){return a&&(a[b]||(a[b]={}))}function zr(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(yr,c)[a[a.length-1]]=b};function Ar(a){for(var b=u(Br.keys()),c=b.next();!c.done;c=b.next()){c=c.value;for(var d=u(Br.get(c)),e=d.next();!e.done;e=d.next())if(e.value.test(a))return c}return 1} var Br=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\/.*$/]]]);zr("OmidSessionClient.verificationVendorIdForScriptUrl",Ar); zr("OmidSessionClient.VerificationVendorId",{OTHER:1,MOAT:2,DOUBLEVERIFY:3,INTEGRAL_AD_SCIENCE:4,PIXELATE:5,NIELSEN:6,COMSCORE:7,MEETRICS:8,GOOGLE:9});var Cr=function(a,b,c){this.url=a;this.id=b===void 0?null:b;this.g=c===void 0?null:c};var Fr=function(a){return a?new Dr(Er(a)):db||(db=new Dr)},Hr=function(a,b){Ij(b,function(c,d){d=="style"?a.style.cssText=c:d=="class"?a.className=c:d=="for"?a.htmlFor=c:Gr.hasOwnProperty(d)?a.setAttribute(Gr[d],c):d.lastIndexOf("aria-",0)==0||d.lastIndexOf("data-",0)==0?a.setAttribute(d,c):a[d]=c})},Gr={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",frameborder:"frameBorder",height:"height",maxlength:"maxLength",nonce:"nonce",role:"role",rowspan:"rowSpan",type:"type",usemap:"useMap", valign:"vAlign",width:"width"},Ir=function(a){a=a.document;a=a.compatMode=="CSS1Compat"?a.documentElement:a.body;return new Em(a.clientWidth,a.clientHeight)},Jr=function(a){var b=a.scrollingElement?a.scrollingElement:Ac||a.compatMode!="CSS1Compat"?a.body||a.documentElement:a.documentElement;a=a.defaultView;return new Bm(a.pageXOffset||b.scrollLeft,a.pageYOffset||b.scrollTop)},Kr=function(a){return a?a.defaultView:window},Mr=function(a,b,c){return Lr(document,arguments)},Lr=function(a,b){var c=b[1], d=Nr(a,String(b[0]));c&&(typeof c==="string"?d.className=c:Array.isArray(c)?d.className=c.join(" "):Hr(d,c));b.length>2&&Or(a,d,b,2);return d},Or=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(Pa(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}ac(g?rc(f): f,e)}}},Nr=function(a,b){b=String(b);a.contentType==="application/xhtml+xml"&&(b=b.toLowerCase());return a.createElement(b)},Pr=function(a,b){Or(Er(a),a,arguments,1)},P=function(a){return a.children!=void 0?a.children:Array.prototype.filter.call(a.childNodes,function(b){return b.nodeType==1})},Qr=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},Er=function(a){return a.nodeType==9?a:a.ownerDocument||a.document},Rr=function(a){try{return a.contentWindow||(a.contentDocument?Kr(a.contentDocument):null)}catch(b){}return null},Sr={SCRIPT:1,STYLE:1,HEAD:1,IFRAME:1,OBJECT:1},Tr={IMG:" ",BR:"\n"},Vr=function(a){var b=[];Ur(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},Ur=function(a,b,c){if(!(a.nodeName in Sr))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 Tr)b.push(Tr[a.nodeName]);else for(a=a.firstChild;a;)Ur(a,b,c),a=a.nextSibling},Wr=function(a,b){a&&(a=a.parentNode);for(var c=0;a;){if(b(a))return a;a=a.parentNode;c++}return null},Dr=function(a){this.g=a||A.document||document};m=Dr.prototype;m.getElementsByTagName=function(a,b){return(b||this.g).getElementsByTagName(String(a))};m.Lj=function(a,b,c){return Lr(this.g,arguments)}; m.appendChild=function(a,b){a.appendChild(b)};m.append=Pr;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=Qr;var Xr=function(a){this.j=this.D=this.o="";this.A=null;this.C=this.l="";this.B=!1;var b;a instanceof Xr?(this.B=a.B,Yr(this,a.o),this.D=a.D,Zr(this,a.j),$r(this,a.A),this.l=a.l,as(this,a.g.clone()),this.C=a.C):a&&(b=String(a).match(cl))?(this.B=!1,Yr(this,b[1]||"",!0),this.D=bs(b[2]||""),Zr(this,b[3]||"",!0),$r(this,b[4]),this.l=bs(b[5]||"",!0),as(this,b[6]||"",!0),this.C=bs(b[7]||"")):(this.B=!1,this.g=new cs(null,this.B))}; Xr.prototype.toString=function(){var a=[],b=this.o;b&&a.push(ds(b,es,!0),":");var c=this.j;if(c||b=="file")a.push("//"),(b=this.D)&&a.push(ds(b,es,!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(ds(c,c.charAt(0)=="/"?fs:gs,!0));(c=this.g.toString())&&a.push("?",c);(c=this.C)&&a.push("#",ds(c,hs));return a.join("")}; Xr.prototype.resolve=function(a){var b=this.clone(),c=!!a.o;c?Yr(b,a.o):c=!!a.D;c?b.D=a.D:c=!!a.j;c?Zr(b,a.j):c=a.A!=null;var d=a.l;if(c)$r(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(Ib(e,"./")||Ib(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?as(b,a.g.clone()):c=!!a.C;c&&(b.C=a.C);return b};Xr.prototype.clone=function(){return new Xr(this)}; var Yr=function(a,b,c){a.o=c?bs(b,!0):b;a.o&&(a.o=a.o.replace(/:$/,""))},Zr=function(a,b,c){a.j=c?bs(b,!0):b},$r=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},as=function(a,b,c){b instanceof cs?(a.g=b,is(a.g,a.B)):(c||(b=ds(b,js)),a.g=new cs(b,a.B))},ks=function(a,b,c){a.g.set(b,c)},ls=function(a,b){return(!a.j&&!b.j||a.j==b.j)&&(a.A==null&&b.A==null||a.A==b.A)},ms=function(a){return a instanceof Xr?a.clone():new Xr(a)},bs=function(a,b){return a? b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""},ds=function(a,b,c){return typeof a==="string"?(a=encodeURI(a).replace(b,ns),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null},ns=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)},es=/[#\/\?@]/g,gs=/[#\?:]/g,fs=/[#\?]/g,js=/[#\?@]/g,hs=/#/g,cs=function(a,b){this.j=this.g=null;this.l=a||null;this.o=!!b},os=function(a){a.g||(a.g=new Map,a.j=0,a.l&&el(a.l,function(b,c){a.add(Sk(b),c)}))}; cs.prototype.add=function(a,b){os(this);this.l=null;a=ps(this,a);var c=this.g.get(a);c||this.g.set(a,c=[]);c.push(b);this.j+=1;return this};cs.prototype.remove=function(a){os(this);a=ps(this,a);return this.g.has(a)?(this.l=null,this.j-=this.g.get(a).length,this.g.delete(a)):!1};cs.prototype.clear=function(){this.g=this.l=null;this.j=0};cs.prototype.isEmpty=function(){os(this);return this.j==0};var qs=function(a,b){os(a);b=ps(a,b);return a.g.has(b)};m=cs.prototype; m.forEach=function(a,b){os(this);this.g.forEach(function(c,d){c.forEach(function(e){a.call(b,e,d,this)},this)},this)};m.xe=function(){os(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(ps(this,e),rc(c)),this.j+=c.length))},a));a.o=b};var rs=["image/jpeg","image/jpg","image/png","image/gif"];function ts(a){a&&!a.nodeName!="VAST"?(a=a.getAttribute("version"))?(N(M.getInstance(),"vast_v",a),a=parseInt(a,10),a=a==null||isNaN(a)?null:a):(N(M.getInstance(),"vast_v","not_specified"),a=null):(N(M.getInstance(),"vast_v","error"),a=null);return a==null||a<2||a>4?!1:!0} function us(){var a=document.featurePolicy;return a!==void 0&&typeof a.allowedFeatures=="function"&&typeof a.allowedFeatures()=="object"&&a.allowedFeatures().includes("attribution-reporting")}function vs(a){return(a==null?void 0:a.g)!=null&&us()?(a=a.g)?"attributionsrc="+encodeURIComponent(a):a===""?"attributionsrc":"":""};var ws=function(a,b){var c=window.screen.availHeight||window.screen.height;return(window.screen.availWidth||window.screen.width)-a<=0&&c-b<=42};function xs(a){var b="af am ar_eg ar_sa ar_xb ar be bg bn ca cs da de_at de_cn de el en_au en_ca en_gb en_ie en_in en_sg en_xa en_xc en_za en es_419 es_ar es_bo es_cl es_co es_cr es_do es_ec es_gt es_hn es_mx es_ni es_pa es_pe es_pr es_py es_sv es_us es_uy es_ve es et eu fa fi fil fr_ca fr_ch fr gl gsw gu he hi hr hu id in is it iw ja kn ko ln lo lt lv ml mo mr ms nb ne nl no pl pt_br pt_pt pt ro ru sk sl sr_latn sr sv sw ta te th tl tr uk ur vi zh_cn zh_hk zh_tw zh zu".split(" ");if(!a)return null; a=a.toLowerCase().replace("-","_");if(b.includes(a))return a;a=(a=a.match(/^\w{2,3}([-_]|$)/))?a[0].replace(/[_-]/g,""):"";return b.includes(a)?a:null};/* 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 ys="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split(""),zs=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]=ys[d==19?c&3|8:c]);return a.join("")};var As=function(){var a=a===void 0?zs():a;this.adTagUrl=null;this.l="0";this.A=this.o="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.g=this.pageUrl=null}; As.prototype.clone=function(){var a=new As;a.l=this.l;a.o=this.o;a.A=this.A;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.g=this.g;a.j=this.j;return a};function Bs(){try{var a=window.top.location.href}catch(b){return 2}return a==null?2:a==window.document.location.href?0:1}function Cs(a){var b=So(),c=new Set(b);a.split(",").forEach(function(d){d=Number(d);Number.isNaN(d)||d===0||c.add(d)});return Array.from(c).sort().join(",")};var Ds={cm:"SIMID:Creative:clickThru",qm:"SIMID:Creative:fatalError",vm:"SIMID:Creative:getMediaState",LOG:"SIMID:Creative:log",fn:"SIMID:Creative:reportTracking",gn:"SIMID:Creative:requestChangeAdDuration",hn:"SIMID:Creative:requestChangeVolume",jn:"SIMID:Creative:requestExitFullscreen",kn:"SIMID:Creative:requestFullscreen",REQUEST_PAUSE:"SIMID:Creative:requestPause",REQUEST_PLAY:"SIMID:Creative:requestPlay",mn:"SIMID:Creative:requestResize",nn:"SIMID:Creative:requestSkip",REQUEST_STOP:"SIMID:Creative:requestStop", ln:"SIMID:Creative:requestNavigation",zm:"SIMID:Creative:handleSkipShown"};function Es(a){var b={};a=u(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=u(c.value);c=d.next().value;d=d.next().value;d!=null&&(b[c]=String(d))}return b};function Fs(a,b){return a.ec!==b.ec?a.ec-b.ec:a.hc!==b.hc?a.hc-b.hc:a.kc!==b.kc?a.kc-b.kc:0};var Gs=sa(["https://imasdk.googleapis.com/js/sdkloader/car.js"]);wl(Gs);var Hs=function(a){this.l=this.g=this.j=this.D=this.platformVersion=this.platform=null;a=Zk(a).split(":");if(a!=null&&a.length>=3){if(vb(a[0],"ios"))this.platform="ios",this.platformVersion=a[0].substr(3);else if(vb(a[0],"android"))this.platform="android",this.platformVersion=a[0].substr(7);else if(vb(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.D=a[1];b=a[1].split("."); if(b.length!==3)b=null;else{var c=u(b),d=c.next().value;b=c.next().value;c=c.next().value;d&&b&&c?(d=Number(d),b=Number(b),c=Number(c),b=Number.isNaN(d)||Number.isNaN(b)||Number.isNaN(c)?null:{ec:d,hc:b,kc:c}):b=null}this.j=b;this.g=a[2];if(this.platform==="ios"||this.platform==="tvos")this.l=a.length>3?a[3]:""}};var Is=function(a){var b={};b=(b.IABUSPrivacy_String="uspString",b.IABTCF_gdprApplies="gdprApplies",b.IABTCF_TCString="tcString",b.IABTCF_AddtlConsent="addtlConsent",b.IABGPP_HDR_GppString="gppString",b.IABGPP_GppSID="gppSid",b);for(var c in b)a[c]!=null&&(a[b[c]]=a[c],delete a[c]);c=a.uspString;this.uspString=typeof c==="string"?c:"";c=a.gdprApplies;this.l=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.j=typeof c==="string"?c:"";c=a.gppString;this.gppString=typeof c==="string"?c:"";a=a.gppSid;this.o=typeof a==="string"?a:""};var Js=function(a){this.g=a},Ns=function(){var a=Ks(Ls);return Ms(a)},Os=function(a,b){return Pj(a.g,b)&&(a=a.g[b],typeof a==="boolean")?a:!1},Ms=function(a){if(Pj(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 Ps=RegExp("^https?://(\\w|-)+\\.cdn\\.ampproject\\.(net|org)(\\?|/|$)"),Ts=function(a){a=a||Qs();for(var b=new Rs(A.location.href,!1),c=null,d=a.length-1,e=d;e>=0;--e){var f=a[e];!c&&Ps.test(f.url)&&(c=f);if(f.url&&!f.ug){b=f;break}}e=null;f=a.length&&a[d].url;b.depth!=0&&f&&(e=a[d]);return new Ss(b,e,c)},Qs=function(){var a=A,b=[],c=null;do{var d=a;if(xl(d)){var e=d.location.href;c=d.document&&d.document.referrer||null}else e=c,c=null;b.push(new Rs(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=A;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},$s=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 bt=function(a,b){this.g=a;this.depth=b},dt=function(){var a=Qs(),b=Math.max(a.length-1,0),c=Ts(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 bt([e.url,e.ug?2:0],c(e.depth,1)));d&&d!=e&&f.push(new bt([d.url,2],0));a.url&&a!=e&&f.push(new bt([a.url,0],c(a.depth,b)));var g=dc(f,function(h,k){return f.slice(0,f.length-k)});!a.url||(e||d)&&a!=e||(d=Fl(a.url))&&g.push([new bt([d,1],c(a.depth,b))]);g.push([]);return dc(g,function(h){return ct(b,h)})}; function ct(a,b){var c=ec(b,function(e,f){return Math.max(e,f.depth)},-1),d=vc("",c+2);d[0]=a;ac(b,function(e){return d[e.depth+1]=e.g});return d}function et(){var a=a===void 0?dt():a;return a.map(function(b){return Ws(b)})};var ft=function(a){this.G=G(a)};t(ft,J);var Q=function(){this.F="always";this.H=4;this.B=null;this.j=1;this.A=!0;this.locale="en";this.o=!1;this.O=this.N="";this.C=null;this.U=this.K=-1;this.g="";this.L=!1;this.ba=null;this.J=!0;this.D=zs();this.l={};try{this.ba=dt()[0]}catch(a){}},gt=function(a){a=Zk(a);D(a)||(a=a.substring(0,20));return a};m=Q.prototype;m.setCompanionBackfill=function(a){this.F=a};m.getCompanionBackfill=function(){return this.F};m.setNumRedirects=function(a){this.H=a};m.getNumRedirects=function(){return this.H}; m.setPpid=function(a){this.B=a};m.getPpid=function(){return this.B};m.setVpaidAllowed=function(a){typeof a==="boolean"&&(this.j=a?1:0)};m.setVpaidMode=function(a){this.j=a};m.Xj=function(){return this.j};m.setAutoPlayAdBreaks=function(a){this.A=a};m.pk=function(){return this.A};m.jl=function(a){this.o=a};m.Wj=function(){return this.o};m.setLocale=function(a){if(a=xs(a))this.locale=a};m.getLocale=function(){return this.locale};m.setPlayerType=function(a){this.N=gt(a)};m.getPlayerType=function(){return this.N}; m.setPlayerVersion=function(a){this.O=gt(a)};m.getPlayerVersion=function(){return this.O};var Ks=function(a){if(a.C==null){var b={},c=(new Xr(Kr().location.href)).g;if(qs(c,"tcnfp"))try{b=JSON.parse(c.get("tcnfp"))}catch(d){}a.C=new Js(b)}return a.C};m=Q.prototype;m.kl=function(a){this.K=a};m.ll=function(a){this.U=a};m.setDisableCustomPlaybackForIOS10Plus=function(a){this.L=a};m.getDisableCustomPlaybackForIOS10Plus=function(){return this.L};m.isCookiesEnabled=function(){return this.J}; m.setCookiesEnabled=function(a){a!=null&&(this.J=a)};m.setSessionId=function(a){this.D=a};m.il=function(){};m.Vj=function(){return!0};m.setFeatureFlags=function(a){this.l=a};m.getFeatureFlags=function(){return this.l};var ht=function(a){var b=Ls;return b.l.hasOwnProperty(a)&&!!b.l[a]};Q.prototype.getFeatureFlags=Q.prototype.getFeatureFlags;Q.prototype.setFeatureFlags=Q.prototype.setFeatureFlags;Q.prototype.getDisableFlashAds=Q.prototype.Vj;Q.prototype.setDisableFlashAds=Q.prototype.il; Q.prototype.setSessionId=Q.prototype.setSessionId;Q.prototype.setCookiesEnabled=Q.prototype.setCookiesEnabled;Q.prototype.isCookiesEnabled=Q.prototype.isCookiesEnabled;Q.prototype.getDisableCustomPlaybackForIOS10Plus=Q.prototype.getDisableCustomPlaybackForIOS10Plus;Q.prototype.setDisableCustomPlaybackForIOS10Plus=Q.prototype.setDisableCustomPlaybackForIOS10Plus;Q.prototype.setStreamCorrelator=Q.prototype.ll;Q.prototype.setPageCorrelator=Q.prototype.kl;Q.prototype.getPlayerVersion=Q.prototype.getPlayerVersion; Q.prototype.setPlayerVersion=Q.prototype.setPlayerVersion;Q.prototype.getPlayerType=Q.prototype.getPlayerType;Q.prototype.setPlayerType=Q.prototype.setPlayerType;Q.prototype.getLocale=Q.prototype.getLocale;Q.prototype.setLocale=Q.prototype.setLocale;Q.prototype.getIsVpaidAdapter=Q.prototype.Wj;Q.prototype.setIsVpaidAdapter=Q.prototype.jl;Q.prototype.isAutoPlayAdBreaks=Q.prototype.pk;Q.prototype.setAutoPlayAdBreaks=Q.prototype.setAutoPlayAdBreaks;Q.prototype.getVpaidMode=Q.prototype.Xj; Q.prototype.setVpaidMode=Q.prototype.setVpaidMode;Q.prototype.setVpaidAllowed=Q.prototype.setVpaidAllowed;Q.prototype.getPpid=Q.prototype.getPpid;Q.prototype.setPpid=Q.prototype.setPpid;Q.prototype.getNumRedirects=Q.prototype.getNumRedirects;Q.prototype.setNumRedirects=Q.prototype.setNumRedirects;Q.prototype.getCompanionBackfill=Q.prototype.getCompanionBackfill;Q.prototype.setCompanionBackfill=Q.prototype.setCompanionBackfill;var Ls=new Q;function it(a){a&&typeof a.dispose=="function"&&a.dispose()};var R=function(){this.L=this.L;this.J=this.J};R.prototype.L=!1;R.prototype.Fb=function(){return this.L};R.prototype.dispose=function(){this.L||(this.L=!0,this.R())};R.prototype[Symbol.dispose]=function(){this.dispose()};var kt=function(a,b){jt(a,Ya(it,b))},jt=function(a,b){a.L?b():(a.J||(a.J=[]),a.J.push(b))};R.prototype.R=function(){if(this.J)for(;this.J.length;)this.J.shift()()};var lt=function(a,b,c,d){R.call(this);this.F=b;this.D=c;this.B=d;this.A=new Map;this.H=0;this.o=new Map;this.C=new Map;this.l=void 0;this.j=a};t(lt,R);lt.prototype.R=function(){delete this.g;this.A.clear();this.o.clear();this.C.clear();this.l&&(Fj(this.j,"message",this.l),delete this.l);delete this.j;delete this.B;R.prototype.R.call(this)}; var mt=function(a){if(a.g)return a.g;a.D&&a.D(a.j)?a.g=a.j:a.g=Hl(a.j,a.F);var b;return(b=a.g)!=null?b:null},ot=function(a,b,c){if(mt(a))if(a.g===a.j)(b=a.A.get(b))&&b(a.g,c);else{var d=a.o.get(b);if(d&&d.Ne){nt(a);var e=++a.H;a.C.set(e,{Nd:d.Nd,Pj:d.yg(c),Wk:b==="addEventListener"});a.g.postMessage(d.Ne(c,e),"*")}}},nt=function(a){a.l||(a.l=function(b){try{var c=a.B?a.B(b):void 0;if(c){var d=c.fi,e=a.C.get(d);if(e){e.Wk||a.C.delete(d);var f;(f=e.Nd)==null||f.call(e,e.Pj,c.payload)}}}catch(g){}}, Ej(a.j,"message",a.l))};var pt=function(a,b){(0,a.__uspapi)("getUSPData",1,function(c,d){b.callback({Dh:c!=null?c:void 0,Hh:d?void 0:2})})},qt={yg:function(a){return a.callback},Ne:function(a,b){a={};return a.__uspapiCall={callId:b,command:"getUSPData",version:1},a},Nd:function(a,b){b=b.__uspapiReturn;var c;a({Dh:(c=b.returnValue)!=null?c:void 0,Hh:b.success?void 0:2})}};function rt(a){var b={};typeof a.data==="string"?b=JSON.parse(a.data):b=a.data;return{payload:b,fi:b.__uspapiReturn.callId}} var tt=function(a,b){b=b===void 0?{}:b;R.call(this);var c;this.timeoutMs=(c=b.timeoutMs)!=null?c:500;this.caller=new lt(a,"__uspapiLocator",function(d){return typeof d.__uspapi==="function"},rt);this.caller.A.set("getDataWithCallback",pt);this.caller.o.set("getDataWithCallback",qt)};t(tt,R);tt.prototype.R=function(){this.caller.dispose();R.prototype.R.call(this)}; var ut=function(a,b){var c={};if(mt(a.caller)){var d=Aj(function(){b(c)});ot(a.caller,"getDataWithCallback",{callback:function(e){e.Hh||(c=e.Dh);d()}});setTimeout(d,a.timeoutMs)}else b(c)};function vt(a){a.addtlConsent!==void 0&&typeof a.addtlConsent!=="string"&&(a.addtlConsent=void 0);a.gdprApplies!==void 0&&typeof a.gdprApplies!=="boolean"&&(a.gdprApplies=void 0);return a.tcString!==void 0&&typeof a.tcString!=="string"||a.listenerId!==void 0&&typeof a.listenerId!=="number"?2:a.cmpStatus&&a.cmpStatus!=="error"?0:3} var wt=function(a,b){b=b===void 0?{}:b;R.call(this);this.g=null;this.C={};this.B=0;this.l=null;this.j=a;var c;this.o=(c=b.timeoutMs)!=null?c:500;var d;this.A=(d=b.En)!=null?d:!1};t(wt,R);wt.prototype.R=function(){this.C={};this.l&&(Fj(this.j,"message",this.l),delete this.l);delete this.C;delete this.j;delete this.g;R.prototype.R.call(this)}; var yt=function(a){return typeof a.j.__tcfapi==="function"||xt(a)!=null},Bt=function(a,b){var c={internalErrorState:0,internalBlockOnErrors:a.A},d=Aj(function(){return b(c)}),e=0;a.o!==-1&&(e=setTimeout(function(){e=0;c.tcString="tcunavailable";c.internalErrorState=1;d()},a.o));zt(a,"addEventListener",function(f){f&&(c=f,c.internalErrorState=vt(c),c.internalBlockOnErrors=a.A,At(c)?(c.internalErrorState!==0&&(c.tcString="tcunavailable"),zt(a,"removeEventListener",null,c.listenerId),(f=e)&&clearTimeout(f), d()):(c.cmpStatus==="error"||c.internalErrorState!==0)&&(f=e)&&clearTimeout(f))})}; wt.prototype.addEventListener=function(a){var b=this,c={internalBlockOnErrors:this.A},d=Aj(function(){return a(c)}),e=0;this.o!==-1&&(e=setTimeout(function(){c.tcString="tcunavailable";c.internalErrorState=1;d()},this.o));var f=function(g,h){clearTimeout(e);g?(c=g,c.internalErrorState=vt(c),c.internalBlockOnErrors=b.A,h&&c.internalErrorState===0||(c.tcString="tcunavailable",h||(c.internalErrorState=3))):(c.tcString="tcunavailable",c.internalErrorState=3);a(c)};try{zt(this,"addEventListener",f)}catch(g){c.tcString= "tcunavailable",c.internalErrorState=3,e&&(clearTimeout(e),e=0),d()}};wt.prototype.removeEventListener=function(a){a&&a.listenerId&&zt(this,"removeEventListener",null,a.listenerId)}; var Dt=function(a,b,c){var d=d===void 0?"755":d;a:{if(a.publisher&&a.publisher.restrictions){var e=a.publisher.restrictions[b];if(e!==void 0){e=e[d===void 0?"755":d];break a}}e=void 0}if(e===0)return!1;var f=c;c===2?(f=0,e===2&&(f=1)):c===3&&(f=1,e===1&&(f=0));a=f===0?a.purpose&&a.vendor?(c=Ct(a.vendor.consents,d===void 0?"755":d))&&b==="1"&&a.purposeOneTreatment&&a.publisherCC==="CH"?!0:c&&Ct(a.purpose.consents,b):!0:f===1?a.purpose&&a.vendor?Ct(a.purpose.legitimateInterests,b)&&Ct(a.vendor.legitimateInterests, d===void 0?"755":d):!0:!0;return a},Ct=function(a,b){return!(!a||!a[b])},zt=function(a,b,c,d){c||(c=function(){});var e=a.j;typeof e.__tcfapi==="function"?(a=e.__tcfapi,a(b,2,c,d)):xt(a)?(Et(a),e=++a.B,a.C[e]=c,a.g&&(c={},a.g.postMessage((c.__tcfapiCall={command:b,version:2,callId:e,parameter:d},c),"*"))):c({},!1)},xt=function(a){if(a.g)return a.g;a.g=Hl(a.j,"__tcfapiLocator");return a.g},Et=function(a){if(!a.l){var b=function(c){try{var d=(typeof c.data==="string"?JSON.parse(c.data):c.data).__tcfapiReturn; a.C[d.callId](d.returnValue,d.success)}catch(e){}};a.l=b;Ej(a.j,"message",b)}},At=function(a){if(a.gdprApplies===!1)return!0;a.internalErrorState===void 0&&(a.internalErrorState=vt(a));return a.cmpStatus==="error"||a.internalErrorState!==0?a.internalBlockOnErrors?(Pl({e:String(a.internalErrorState)},"tcfe"),!1):!0:a.cmpStatus!=="loaded"||a.eventStatus!=="tcloaded"&&a.eventStatus!=="useractioncomplete"?!1:!0},Ft=function(a){var b=["2","7","9","10"];return a.gdprApplies===!1?!0:b.every(function(c){return Dt(a, c,3)})};var Gt=function(a,b){b=b.listener;(a=(0,a.__gpp)("addEventListener",b))&&b(a,!0)},Ht=function(a,b){(0,a.__gpp)("removeEventListener",b.listener,b.listenerId)},It={yg:function(a){return a.listener},Ne:function(a,b){a={};return a.__gppCall={callId:b,command:"addEventListener",version:"1.1"},a},Nd:function(a,b){b=b.__gppReturn;a(b.returnValue,b.success)}},Jt={yg:function(a){return a.listener},Ne:function(a,b){var c={};return c.__gppCall={callId:b,command:"removeEventListener",version:"1.1",parameter:a.listenerId}, c},Nd:function(a,b){b=b.__gppReturn;var c=b.returnValue.data;a==null||a(c,b.success)}};function Kt(a){var b={};typeof a.data==="string"?b=JSON.parse(a.data):b=a.data;return{payload:b,fi:b.__gppReturn.callId}} var Lt=function(a,b){var c=b===void 0?{}:b;b=c.timeoutMs;c=c.cmpInteractionEventReporter;R.call(this);this.caller=new lt(a,"__gppLocator",function(d){return typeof d.__gpp==="function"},Kt);this.caller.A.set("addEventListener",Gt);this.caller.o.set("addEventListener",It);this.caller.A.set("removeEventListener",Ht);this.caller.o.set("removeEventListener",Jt);this.timeoutMs=b!=null?b:500;this.cmpInteractionEventReporter=c};t(Lt,R);Lt.prototype.R=function(){this.caller.dispose();R.prototype.R.call(this)}; Lt.prototype.addEventListener=function(a){var b=this,c=Aj(function(){a(Mt,!0)}),d=this.timeoutMs===-1?void 0:setTimeout(function(){c()},this.timeoutMs);ot(this.caller,"addEventListener",{listener:function(e,f){clearTimeout(d);try{var g;if(((g=e.pingData)==null?void 0:g.gppVersion)===void 0||e.pingData.gppVersion==="1"||e.pingData.gppVersion==="1.0"){b.removeEventListener(e.listenerId);var h={eventName:"signalStatus",data:"ready",pingData:{internalErrorState:1,gppString:"GPP_ERROR_STRING_IS_DEPRECATED_SPEC", applicableSections:[-1]}}}else Array.isArray(e.pingData.applicableSections)?h=e:(b.removeEventListener(e.listenerId),h={eventName:"signalStatus",data:"ready",pingData:{internalErrorState:2,gppString:"GPP_ERROR_STRING_EXPECTED_APPLICATION_SECTION_ARRAY",applicableSections:[-1]}});a(h,f);var k;(k=b.cmpInteractionEventReporter)==null||k.g()}catch(l){if(e==null?0:e.listenerId)try{b.removeEventListener(e.listenerId)}catch(p){a(Nt,!0);return}a(Ot,!0)}}})}; Lt.prototype.removeEventListener=function(a){ot(this.caller,"removeEventListener",{listener:function(){},listenerId:a})}; var Ot={eventName:"signalStatus",data:"ready",pingData:{internalErrorState:2,gppString:"GPP_ERROR_STRING_UNAVAILABLE",applicableSections:[-1]},listenerId:-1},Mt={eventName:"signalStatus",data:"ready",pingData:{gppString:"GPP_ERROR_STRING_LISTENER_REGISTRATION_TIMEOUT",internalErrorState:2,applicableSections:[-1]},listenerId:-1},Nt={eventName:"signalStatus",data:"ready",pingData:{gppString:"GPP_ERROR_STRING_REMOVE_EVENT_LISTENER_ERROR",internalErrorState:2,applicableSections:[-1]},listenerId:-1};var Pt=function(a){this.G=G(a)};t(Pt,J);var Qt=function(a){return Xd(function(b){return b instanceof a&&!(vd(b.G)&2)})}(Pt);function Rt(a){return a==="1"||a==="true"}function St(a){a.forEach(function(b,c,d){b===""&&d.delete(c)})}var Tt=function(a,b,c,d){b=b===void 0?{}:b;c=c===void 0?{}:c;this.j=a===void 0?!1:a;this.l=d===void 0?!1:d;this.adTagParameters=Es(b);this.g=new Is(c)};Tt.prototype.fd=function(a){this.adTagParameters=Es(a)}; var Wt=function(a){var b=Ut(a);if(b==="tcunavailable")return null;var c;a=Vt(a);var d=pr(b);if(d&&b){var e=H(d,Hq,1);d=H(d,Bq,2)||new Bq;var f=gh(e,9),g=gh(e,4),h=gh(e,5),k=fh(e,10),l=fh(e,11),p=kh(e,16),n=fh(e,15),q={consents:qr(Dg(e,13,Re,Cg()),cr),legitimateInterests:qr(Dg(e,14,Re,Cg()),cr)},r={consents:qr(Dg(e,17,Te,Cg())),legitimateInterests:qr(Dg(e,18,Te,Cg()))},w=qr(Dg(e,12,Re,Cg()),dr),z=Zg(e,Aq,19,Cg());e={};z=u(z);for(var B=z.next();!B.done;B=z.next()){B=B.value;var E=I(B,1);e[E]=e[E]|| {};var da=Dg(B,3,Te,Cg());da=u(da);for(var pa=da.next();!pa.done;pa=da.next())e[E][pa.value]=I(B,2)}b={tcString:b,tcfPolicyVersion:f,gdprApplies:a,cmpId:g,cmpVersion:h,isServiceSpecific:k,useNonStandardStacks:l,publisherCC:p,purposeOneTreatment:n,purpose:q,vendor:r,specialFeatureOptins:w,publisher:{restrictions:e,consents:qr(Dg(d,1,Re,Cg()),cr),legitimateInterests:qr(Dg(d,2,Re,Cg()),cr),customPurposes:{consents:qr(Dg(d,3,Te,Cg())),legitimateInterests:qr(Dg(d,4,Te,Cg()))}}}}else b=null;return(c=b)!= null?c:null},Xt=function(a,b){if(a.adTagParameters.hasOwnProperty(b))return a.adTagParameters[b]},Yt=function(a){var b=Xt(a,"us_privacy");return a.g.uspString||b||""},Zt=function(a){var b=Xt(a,"gdpr");a=a.g.l;return a==="1"||a==="0"?a:b!==void 0?b:""},Ut=function(a){var b=a.g.g;a=Xt(a,"gdpr_consent");return b&&b!=="tcunavailable"?b:b==="tcunavailable"?a||b:a||""},au=function(a){var b;if(!(b=$t(a))){if(Vt(a)){a=Wt(a);if(b=!!a){var c=c===void 0?{}:c;b=At(a)?a.gdprApplies===!1?!0:a.tcString==="tcunavailable"? !c.idpcApplies:(c.idpcApplies||a.gdprApplies!==void 0||c.Kn)&&(c.idpcApplies||typeof a.tcString==="string"&&a.tcString.length)?Dt(a,"1",0):!0:!1}c=b}else c=!0;b=!c}return b},$t=function(a){a=Xt(a,"ltd");return Rt(a)},Vt=function(a){var b=Zt(a).toLowerCase();b=b==="true"||b==="1";return L(bq).g(45642592,rr.defaultValue)?b||a.l:b},bu=function(a){var b=new Pt;var c=!au(a);c=Bg(b,5,Le(c));Vt(a)?(a=Wt(a),a=!!a&&!Ft(a)):a=!1;Bg(c,8,Le(a));return b};var cu=function(a){this.G=G(a)};t(cu,J);cu.prototype.getVersion=function(){return kh(this,2)};var du=function(a){this.G=G(a)};t(du,J);var eu=function(a,b){return qh(a,2,b)},fu=function(a,b){return qh(a,3,b)},gu=function(a,b){return qh(a,4,b)},hu=function(a,b){return qh(a,5,b)},iu=function(a,b){return qh(a,9,b)},ju=function(a,b){return bh(a,10,b)},ku=function(a,b){return Bg(a,11,Le(b))},lu=function(a,b){return qh(a,1,b)},mu=function(a,b){return Bg(a,7,Le(b))};var nu="platform platformVersion architecture model uaFullVersion bitness fullVersionList wow64".split(" ");function ou(a){var b;return(b=a.google_tag_data)!=null?b:a.google_tag_data={}}function pu(a){var b,c;return typeof((b=a.navigator)==null?void 0:(c=b.userAgentData)==null?void 0:c.getHighEntropyValues)==="function"} function qu(){var a=window;if(!pu(a))return null;var b=ou(a);if(b.uach_promise)return b.uach_promise;a=a.navigator.userAgentData.getHighEntropyValues(nu).then(function(c){b.uach!=null||(b.uach=c);return c});return b.uach_promise=a} function ru(a){var b;return ku(ju(hu(eu(lu(gu(mu(iu(fu(new du,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 cu;d=qh(d,1,c.brand);return qh(d,2,c.version)}))||[]),a.wow64||!1)}function tu(){var a,b;return(b=(a=qu())==null?void 0:a.then(function(c){return ru(c)}))!=null?b:null};var Du=function(){this.Da=this.ma=this.appName=null;this.g=new Tt;this.Ek=null;this.H=!1;this.rl=this.K=this.B=this.l=this.C=null;this.Ol=!1;this.secureSignals=null;this.Vk=!1;this.Zk=zs();this.deviceId="";this.el=this.al=this.L=null;this.D="";this.N=-1;this.F=this.O="";this.Nl=this.ba=this.U=this.qj=this.Ll=this.o=this.Gl=!1;this.A=null;this.Ra=!1;this.Yd=this.J=this.Hc=this.Ni=this.Pl=this.od=this.aa=this.nd=this.j=null;this.Oi=!1;this.zh=this.de=null;this.Fh=!1;this.Ui=0;this.Pa=null;this.Jh=new Map; this.referrer=this.xk=null;this.Kh=!1;this.Zi=this.Xi=null;this.kj=this.Th=this.ij=this.dj=this.cj=this.bj=this.Qh=!1;this.Oc=this.ca=this.jj=null;this.oj=this.Xh=this.Wh=!1;this.pj=null;this.ga="";this.lb=new um;this.Si=this.Ck=null;this.yl=new rm;uu(this)},Eu=function(a){var b=a.J,c=a.appName,d=Ls,e="h.3.677.0";b!=null?(e+="/n."+b,c!=null&&(e+="/"+c)):d.o&&(e+="/vpaid_adapter");a.ba&&(e+="/ima_eap");return e},Gu=function(){var a={},b=!0;a=a===void 0?{}:a;b=b===void 0?!1:b;var c=Du.getInstance(), d=a.env||null,e=null;d&&(e=new Hs(d));d=a.videoEnvironment||{};a.quicksilverSignals&&(c.yl=sm(a.quicksilverSignals));var f=a.pvsid||0;f>0&&(c.Ui=f);f=a.settings||{};f.ppid!=null&&(c.xk=f.ppid);f=d.contentMediaUrl;f!=null&&(c.Ek=f);f=d.customClickTrackingProvided;f!=null&&(c.Vk=f);c.H=a.eoidCookieEnabled||!1;c.C=a.eoidCookieValue||null;f=a.gfpCookieValue;f!=null&&f?c.l=f:c.l=null;c.B=a.gfpCookieV2Id||null;c.K=a.gfpCookieV2OptOut||null;c.Ol=a.ivtDetectionOnlyStorageAllowed||!1;c.secureSignals=a.espSignals|| null;c.Ck=a.clientBidsProto||null;c.Si=a.publisherInitiatedExperimentDataProto||null;f=a.topicsEnabled;f!==void 0&&(c.kj=f);f=d.iframeState;f!=null&&(c.N=f);f=d.isAmp;f!=null&&(c.Gl=f);f=d.topAccessiblePageUrl;f!=null&&(c.j=f);f=d.referrer;f!=null&&(c.referrer=f);f=d.topOrigin;f!=null&&(c.jj=f);f=d.domLoadTime;f!=null&&(c.al=f);f=d.downloadBandwidthKbps;f!=null&&(c.el=f);f=d.sdkImplLoadTime;f!=null&&(c.Xi=f);f=d.imaHostingDomain;f!=null&&(c.O=f);f=d.imaHostingPageUrl;f!=null&&(c.F=f);f=d.usesCustomVideoPlayback; f!=null?c.Wh=f:c.Wh=a.usesCustomVideoPlayback||!1;f=d.usesProxyMediaElement;f!=null&&(c.Xh=f);f=d.rendersUiNatively;f!=null&&(c.Kh=f);f=a.sdkOwnedRendering;f!=null&&(c.Zi=f);f=d.supportsResizing;f!=null?c.Th=f:c.Th=a.supportsResizing||!1;c.U=a.isBrowserCookieEnabled||!1;c.Qh=a.supportsIconClickFallback||!1;c.cj=Fu(a,e);c.Oi=a.omidAdSessionsOnStartedOnly||!1;c.ij=a.supportsOmidJsManagedAppSessions||!1;f=d.usesInlinePlayback;f!=null&&(c.oj=f);d=d.videoAdKey;d!=null&&(c.pj=d);if(d=a.companionSlots)c.Pl= d;if(d=a.network)c.Ni=d;c.bj=a.supportsNativeClickSignals||!1;c.dj=a.supportsNativeNetworking||!1;(d=a.identifierInfo||null)?(c.ma=d.appSetId||null,c.Da=d.appSetIdScope||null,c.deviceId=d.deviceId,c.D=d.idType,c.A=d.isLimitedAdTracking,c.de=d.perAppIdentifier,c.zh=d.perAppIdentifierV2,c.Fh=d.perAppIdentifierV2UserEnabled||!1,c.Pa=d.idfv,c.ca=d.trackingAuthorizationStatus||null,c.ga=d.adsIdentityToken):b&&(c.deviceId=a.rdid||"",c.D=a.idType||"",d=a.isLat)&&(c.A=String(d)==="1");c.od=a.msParameter|| "";if(d=a.marketAppInfo||null)c.aa=d.appVersion||"",c.nd=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.Hc=e.platform,c.J=e.platform+"."+e.D,c.Yd=e.j);a.gmaSignals&&(c.rl=a.gmaSignals);a.platformSignals&&(c.Jh=new Map(Object.entries(a.platformSignals)));c.Ra=b;c.o=a.isTv||!1;c.Ll=a.isAndroidTvAdsFramework||!1;c.qj=a.wrappedCompanionsEnabled||!1;c.ba=a.isEapLoader||!1;c.Nl=a.isFledgeEligible|| !1;c.lb=new um;return c},Fu=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 Fs({ec:3,hc:16,kc:2},a)<=0;case "ios":return Fs({ec:3,hc:11,kc:1},a)<=0;default:return!1}},uu=function(a){var b=tu();b&&b.then(function(c){a.Oc=c==null?null:Oc(tb(Ph(c)),3)})};Du.getInstance=function(){return L(Du)};var Hu=Math.floor(Math.random()*4503599627370496);var Iu=function(){if(!A.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},"passive",{get:function(){a=!0}});try{var c=function(){};A.addEventListener("test",c,b);A.removeEventListener("test",c,b)}catch(d){}return a}();var Ju=function(){var a=Ks(Ls);return a&&Os(a,"disableOnScreenDetection")?!1:!ur()},Ku=function(){var a;if(!(a=wr()||Jb(Ob(),"CrKey")&&Jb(Ob(),"SmartSpeaker"))){var b,c;a=!!((b=window)==null?0:(c=b.chrome)==null?0:c.webview)}return a||Du.getInstance().Xh?!1:!0},Lu=function(a){Du.getInstance();var b=a.j,c;a=!((c=a.Ma)==null||!c.ol);return b||a},Nu=function(a){var b=Du.getInstance(),c=b.Yd;switch(b.Hc){case "android":return b.o?b.Qh:!!c&&Fs({ec:3,hc:5,kc:2},c)<=0;case "ios":return!!c&&Fs({ec:3,hc:4, kc:1},c)<=0;case "tvos":return b.Kh;default:return a&&!Mu()}},Mu=function(){return Ou()===1||Ou()===2},Ou=function(){switch(Du.getInstance(),0){case 1:return 3;case 2:return 1}var a=A.navigator||null;return Du.getInstance().o||(Du.getInstance(),!1)||a&&vr(a)||Du.getInstance().Hc==="tvos"?1:wr()?2:0};var Pu=function(){this.blockSize=-1};var Su=function(a,b){this.blockSize=-1;this.blockSize=64;this.o=A.Uint8Array?new Uint8Array(this.blockSize):Array(this.blockSize);this.l=this.j=0;this.g=[];this.C=a;this.A=b;this.B=A.Int32Array?new Int32Array(64):Array(64);Qu===void 0&&(A.Int32Array?Qu=new Int32Array(Ru):Qu=Ru);this.reset()},Qu;ab(Su,Pu);var Tu=[].concat(128,vc(0,63));Su.prototype.reset=function(){this.l=this.j=0;this.g=A.Int32Array?new Int32Array(this.A):rc(this.A)}; var Uu=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,q=(l+((g>>>6|g<<26)^(g>>>11|g<<21)^(g>>>25|g<<7))|0)+(((g&h^ ~g&k)+(Qu[p]|0)|0)+(c[p]|0)|0)|0;l=k;k=h;h=g;g=f+q|0;f=e;e=d;d=b;b=q+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},Vu=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&&(Uu(a),e=0)}else throw Error("message must be string or array");a.j=e;a.l+=c},Wu=function(a){var b=[],c=a.l*8;a.j<56?Vu(a,Tu,56-a.j):Vu(a,Tu,a.blockSize-(a.j-56));for(var d=63;d>=56;d--)a.o[d]=c&255,c/=256;Uu(a);for(d=c=0;d=0;e-=8)b[c++]=a.g[d]>>e&255;return b},Ru=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774, 264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];var Yu=function(){Su.call(this,8,Xu)};ab(Yu,Su);var Xu=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225];var Zu=function(a,b){return a.indexOf(b)==0?a.substr(b.length):null};function $u(){if(ur())return window.location.href;var a=Ts(),b=a.j,c=a.g;a=a.l;var d=null;if(a)try{var e=ms(a.url),f=e.l,g=Zu(f,"/v/");g||(g=Zu(f,"/a/"));if(!g)throw Error("Can not extract standalone amp url.");var h=Zu("/"+g,"/s/"),k=e.g.clone();k.remove("amp_js_v");k.remove("amp_lite");var l=h?ms("https://"+h):ms("http://"+g);as(l,k);d=l.toString()}catch(p){d=null}return d?d:b&&b.url?b.url:c&&c.url?c.url:""} function av(){var a=Kr().location.ancestorOrigins;return a?a.length>0?[].concat(v(a)).join(","):"":""};var bv=function(){var a=this;this.promise=new Promise(function(b,c){a.resolve=b;a.reject=c})};var dv=function(){return y(function(a){return a.g==1?x(a,cv.g.promise,2):a.return({serializedConfig:cv.serializedConfig,errorMessage:cv.j,latencyMs:cv.l})})},hv=function(){var a=ev,b=fv,c=Date.now(),d=a.o();d.timeout=6E4;d.open("GET",b,!0);d.onload=function(){a.l=Date.now()-c;d.status<200||d.status>=300?gv(a,Error("status: "+d.status)):(a.j=null,a.serializedConfig=d.responseText,a.g.resolve())};d.onerror=function(){a.l=Date.now()-c;gv(a,Error("status: "+d.status))};d.send()},gv=function(a,b){a.serializedConfig= null;a.j=b.message;a.g.resolve()},cv=new function(){this.o=function(){return new XMLHttpRequest};this.g=new bv;this.j=this.serializedConfig=null;this.l=0};function iv(){var a=jv;var b=a.appName;var c=a.Hc;a=a.pageUrl;var d=new URL("https://securepubads.g.doubleclick.net/pagead/ima_ppub_config");return b&&c?(c==="android"?d.searchParams.set("msid",b):c==="ios"&&d.searchParams.set("an",b),d.toString()):a?(d.searchParams.set("ippd",a),d.toString()):null};var ev=cv,jv={pageUrl:$u()};try{var fv=iv();if(!fv)throw Error("Could not generate config URL");hv()}catch(a){gv(ev,a)};var kv=function(){this.Y=0;this.g=!1;this.j=-1;this.Fc=!1;this.Ka=0};kv.prototype.isVisible=function(){return this.Fc?this.Y>=.3:this.Y>=.5};var lv={hm:0,mm:1},mv={668123728:0,668123729:1},nv={44731964:0,44731965:1},ov={NONE:0,Qm:1,rm:2},pv={480596784:0,480596785:1,21063355:2};var qv=function(){this.g=null;this.o=!1;this.l=null},rv=function(a){a.o=!0;return a},tv=function(a,b){a.l&&ac(b,function(c){c=a.l[c];c!==void 0&&a.j(c)})};qv.prototype.getValue=function(){return this.g};var uv=function(a){qv.call(this);this.A=a};t(uv,qv);uv.prototype.j=function(a){var b;if(!(b=this.g!==null)){a:{b=this.A;for(c in b)if(b[c]==a){var c=!0;break a}c=!1}b=!c}b||(this.g=a)};var vv=function(){qv.call(this)};t(vv,qv); vv.prototype.j=function(a){this.g===null&&typeof a==="number"&&(this.g=a)};var wv=function(){qv.call(this)};t(wv,qv);wv.prototype.j=function(a){this.g===null&&typeof a==="string"&&(this.g=a)};var xv=function(){this.g={};this.l=!0;this.j={}};xv.prototype.reset=function(){this.g={};this.l=!0;this.j={}}; var yv=function(a,b,c){a.g[b]||(a.g[b]=new uv(c));return a.g[b]},zv=function(a){a.g.queryid||(a.g.queryid=new wv)},Av=function(a,b,c){(a=a.g[b])&&a.j(c)},Bv=function(a,b){if(Pj(a.j,b))return a.j[b];if(a=a.g[b])return a.getValue()},Cv=function(a){var b={},c=Jj(a.g,function(d){return d.o});Ij(c,function(d,e){d=a.j[e]!==void 0?String(a.j[e]):d.o&&d.g!==null?String(d.g):"";d.length>0&&(b[e]=d)},a);return b},Dv=function(a){a=Cv(a);var b=[];Ij(a,function(c,d){d in Object.prototype||typeof c!="undefined"&& b.push([d,":",c].join(""))});return b},Ev=function(a){var b=S().P;b.l&&ac(Mj(b.g),function(c){return tv(c,a)})};var Fv=function(a){yv(a,"od",sq);rv(yv(a,"opac",lv));rv(yv(a,"sbeos",lv));rv(yv(a,"prf",lv));rv(yv(a,"mwt",lv));yv(a,"iogeo",lv)};var Um=document,T=window;var Gv=!yc&&!Vb();var Hv=function(){this.g=this.fc=null};var Iv=function(a,b){this.j=(a===void 0?0:a)||0;this.g=(b===void 0?"":b)||""};Iv.prototype.bd=function(){return!!this.j||!!this.g};Iv.prototype.toString=function(){return this.j+(this.g?"-":"")+this.g};Iv.prototype.matches=function(a){return this.g||a.g?this.g==a.g:this.j||a.j?this.j==a.j:!1};var Jv=function(){};Jv.prototype.now=function(){return 0};Jv.prototype.j=function(){return 0};Jv.prototype.l=function(){return 0};Jv.prototype.g=function(){return 0};var Lv=function(){if(!Kv())throw Error();};t(Lv,Jv);var Kv=function(){return!(!T||!T.performance)};Lv.prototype.now=function(){return Kv()&&T.performance.now?T.performance.now():Jv.prototype.now.call(this)};Lv.prototype.j=function(){return Kv()&&T.performance.memory?T.performance.memory.totalJSHeapSize||0:Jv.prototype.j.call(this)};Lv.prototype.l=function(){return Kv()&&T.performance.memory?T.performance.memory.usedJSHeapSize||0:Jv.prototype.l.call(this)}; Lv.prototype.g=function(){return Kv()&&T.performance.memory?T.performance.memory.jsHeapSizeLimit||0:Jv.prototype.g.call(this)};var Mv=function(){};Mv.prototype.isVisible=function(){return Vm()===1};var Nv=function(){return Vm()===0};var Ov=function(){this.j=new Mv;this.g=Kv()?new Lv:new Jv},Qv=function(){Pv();var a=T.document;return!!(a&&a.body&&a.body.getBoundingClientRect&&typeof T.setInterval==="function"&&typeof T.clearInterval==="function"&&typeof T.setTimeout==="function"&&typeof T.clearTimeout==="function")};Ov.prototype.setInterval=function(a,b){return T.setInterval(a,b)};Ov.prototype.clearInterval=function(a){T.clearInterval(a)};Ov.prototype.setTimeout=function(a,b){return T.setTimeout(a,b)}; Ov.prototype.clearTimeout=function(a){T.clearTimeout(a)};var Rv=function(){Pv();return et()};var Sv=function(){},Pv=function(){var a=L(Sv);if(!a.g){if(!T)throw Error("Context has not been set and window is undefined.");a.g=L(Ov)}return a.g};var Tv=function(a){this.G=G(a)};t(Tv,J);Tv.prototype.g=sj([0,$i,cj,-2,fj]);var Uv=function(a){this.l=a;this.g=-1;this.j=this.o=0},Vv=function(a,b){return function(){var c=Ga.apply(0,arguments);if(a.g>-1)return b.apply(null,v(c));try{return a.g=a.l.g.now(),b.apply(null,v(c))}finally{a.o+=a.l.g.now()-a.g,a.g=-1,a.j+=1}}};var Wv=function(a,b){this.j=a;this.l=b;this.g=new Uv(a)};var Xv=function(){this.g={}},Yv=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 Zv={cn:1,Bn:2,Sm:3};var $v=function(){this.o=void 0;this.D=0;this.C=new Iv(0,"");this.j=0;this.B=-1;this.P=new xv;rv(yv(this.P,"mv",ov)).l=pv===void 0?null:pv;yv(this.P,"omid",lv);rv(yv(this.P,"epoh",lv));rv(yv(this.P,"epph",lv));rv(yv(this.P,"umt",lv)).l=mv===void 0?null:mv;rv(yv(this.P,"phel",lv));rv(yv(this.P,"phell",lv));rv(yv(this.P,"oseid",Zv));var a=this.P;a.g.sloi||(a.g.sloi=new vv);rv(a.g.sloi);yv(this.P,"mm",uq);rv(yv(this.P,"ovms",tq));rv(yv(this.P,"xdi",lv));rv(yv(this.P,"amp",lv));rv(yv(this.P,"prf",lv)); rv(yv(this.P,"gtx",lv));rv(yv(this.P,"mvp_lv",lv));rv(yv(this.P,"ssmol",lv)).l=nv===void 0?null:nv;rv(yv(this.P,"fmd",lv));yv(this.P,"gen204simple",lv);this.g=new Wv(Pv(),this.P);this.A=this.l=!1;this.flags=new Xv};$v.prototype.lf=function(a){if(typeof a==="string"&&a.length!=0){var b=this.P;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)}}}}; $v.prototype.mf=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?tw()-ow:-1,c=rw?tw()-nw:-1,d=qw>=0?tw()-qw:-1;if(a==947190542)return 100;if(a==79463069)return 200;a=[2E3,4E3];var e=[250,500,1E3];lw(637,Error(),.001);var f=b;c!=-1&&c1500&&d<4E3?500:g};var vw=function(a,b,c){var d=new K(0,0,0,0);this.time=a;this.volume=null;this.l=b;this.g=d;this.j=c};vw.prototype.Ub=function(a,b){return!!a&&(!(b===void 0?0:b)||this.volume==a.volume)&&this.l==a.l&&Cm(this.g,a.g)&&!0};var ww=function(a,b,c,d,e,f,g,h){this.l=a;this.D=b;this.j=c;this.A=d;this.g=e;this.o=f;this.B=g;this.C=h};ww.prototype.getTimestamp=function(){return this.B};ww.prototype.Ub=function(a,b){return this.l.Ub(a.l,b===void 0?!1:b)&&this.D==a.D&&Cm(this.j,a.j)&&Cm(this.A,a.A)&&this.g==a.g&&this.o==a.o&&this.B==a.B&&this.C==a.C};var Lj={Sl:"addEventListener",sm:"getMaxSize",wm:"getScreenSize",xm:"getState",ym:"getVersion",en:"removeEventListener",Rm:"isViewable"},xw=function(a){var b=a!==a.top,c=a.top===Ll(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),Kj(function(g){return typeof f[g]==="function"})||(e=1));return{Xa:f,oe:e,nl:d}};var yw=function(){var a=window.document;return a&&typeof a.elementFromPoint==="function"};function zw(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 Em(d.innerWidth,d.innerHeight)).round():Ir(d||window).round()}catch(p){e=new Em(-12245933,-12245933)}a=e;var f=a.height,g=a.width;if(g===-12245933)return new K(g,g,g,g);var h=Jr(Fr(b.document).g),k=h.x,l=h.y;return new K(l,k+g,l+f,k)}catch(p){return new K(-12245933,-12245933,-12245933,-12245933)}};var Bw=function(a,b){if(typeof b==="string")(b=Aw(a,b))&&(a.style[b]=void 0);else for(var c in b){var d=a,e=b[c],f=Aw(d,c);f&&(d.style[f]=e)}},Cw={},Aw=function(a,b){var c=Cw[b];if(!c){var d=$k(b);c=d;a.style[d]===void 0&&(d=(Ac?"Webkit":zc?"Moz":null)+bl(d),a.style[d]!==void 0&&(c=d));Cw[b]=c}return c},Dw=function(a){try{return a.getBoundingClientRect()}catch(b){return{left:0,top:0,right:0,bottom:0}}},Ew=function(a,b){var c=new Bm(0,0),d=Kr(Er(a));if(!xc(d,"parent"))return c;do{if(d==b){var e=Er(a); var f=new Bm(0,0);if(a!=(e?Er(e):document).documentElement){var g=Dw(a);e=Jr(Fr(e).g);f.x=g.left+e.x;f.y=g.top+e.y}}else f=Dw(a),f=new Bm(f.left,f.top);c.x+=f.x;c.y+=f.y}while(d&&d!=b&&d!=d.parent&&(a=d.frameElement)&&(d=d.parent));return c},Fw=function(){var a="100%";typeof a=="number"&&(a=Math.round(a)+"px");return a},Hw=function(a){var b=Gw;a:{var c=Er(a);if(c.defaultView&&c.defaultView.getComputedStyle&&(c=c.defaultView.getComputedStyle(a,null))){c=c.display||c.getPropertyValue("display")||""; break a}c=""}c||(c=a.currentStyle?a.currentStyle.display:null);if((c||a.style&&a.style.display)!="none")return b(a);c=a.style;var 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},Gw=function(a){var b=a.offsetWidth,c=a.offsetHeight,d=Ac&&!b&&!c;return(b===void 0||d)&&a.getBoundingClientRect?(a=Dw(a),new Em(a.right-a.left,a.bottom-a.top)):new Em(b,c)};var Iw=function(a,b){b=Math.pow(10,b);return Math.floor(a*b)/b},Jw=function(a){return new K(a.top,a.right,a.bottom,a.left)},Kw=function(a){var b=a.top||0,c=a.left||0;return new K(b,c+(a.width||0),b+(a.height||0),c)},Lw=function(a){return a!=null&&a>=0&&a<=1};var Nw=function(){this.F=!1;this.l=!xl(T.top);this.B=Gj()||Hj();var a=Qs();a=a.length>0&&a[a.length-1]!=null&&a[a.length-1].url!=null?((a=a[a.length-1].url.match(cl)[3]||null)?decodeURI(a):a)||"":"";this.domain=a;this.g=new K(0,0,0,0);this.A=new Em(0,0);this.o=new Em(0,0);this.D=new K(0,0,0,0);this.frameOffset=new Bm(0,0);this.L=!1;this.C=0;this.J=!1;this.j=!(!T||!xw(T).Xa);Mw(this)},Ow=function(a,b){b&&b.screen&&(a.A=new Em(b.screen.width,b.screen.height))},Pw=function(a,b){a:{var c=a.g?new Em(a.g.getWidth(), a.g.getHeight()):new Em(0,0);b=b===void 0?T: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.J)return!0;a=Pv().j.isVisible();var b=Nv();return a||b},Qw=function(){return L(Nw)};var Sw=function(a){this.l=a;this.j=0;this.g=null};Sw.prototype.cancel=function(){Pv().clearTimeout(this.g);this.g=null};var Tw=function(a){var b=Pv(),c=S().g.g;a.g=b.setTimeout(Vv(c,kw(143,function(){a.j++;a.l.sample()})),uw())};var Uw=function(a,b,c){this.l=a;this.Ra=c===void 0?"na":c;this.B=[];this.A=!1;this.o=new vw(-1,!0,this);this.g=this;this.J=b;this.K=this.L=!1;this.ca="uk";this.U=!1;this.C=!0};Uw.prototype.H=function(){return!1};Uw.prototype.initialize=function(){return this.A=!0};Uw.prototype.Uc=function(){return this.g.ca};Uw.prototype.Fd=function(){return this.g.K};var Ww=function(a,b,c){if(!a.K||(c===void 0?0:c))a.K=!0,a.ca=b,a.J=0,a.g!=a||Vw(a)};Uw.prototype.getName=function(){return this.g.Ra}; Uw.prototype.Wb=function(){return this.g.ga()};Uw.prototype.ga=function(){return{}};Uw.prototype.Bb=function(){return this.g.J};var Xw=function(a,b){kc(a.B,b)||(a.B.push(b),b.Xc(a.g),b.Xb(a.o),b.xb()&&(a.L=!0))};Uw.prototype.ba=function(){var a=Qw();a.g=zw(!0,this.l,a.B)};Uw.prototype.aa=function(){Ow(Qw(),this.l)};Uw.prototype.ma=function(){return this.o.g};var Yw=function(a){a=a.g;a.aa();a.ba();var b=Qw();b.D=zw(!1,a.l,b.B);Pw(Qw(),a.l);a.o.g=a.ma()};Uw.prototype.sample=function(){}; var Zw=function(a,b){a.g!=a?Zw(a.g,b):a.C!==b&&(a.C=b,Vw(a))};Uw.prototype.isActive=function(){return this.g.C};var $w=function(a){a.L=a.B.length?fc(a.B,function(b){return b.xb()}):!1},ax=function(a){var b=rc(a.B);ac(b,function(c){c.Xb(a.o)})},Vw=function(a){var b=rc(a.B);ac(b,function(c){c.Xc(a.g)});a.g!=a||ax(a)};m=Uw.prototype;m.Xc=function(a){var b=this.g;this.g=a.Bb()>=this.J?a:this;b!==this.g?(this.C=this.g.C,Vw(this)):this.C!==this.g.C&&(this.C=this.g.C,Vw(this))}; m.Xb=function(a){if(a.j===this.g){var b=!this.o.Ub(a,this.L);this.o=a;b&&ax(this)}};m.xb=function(){return this.L};m.dispose=function(){this.U=!0};m.Fb=function(){return this.U};var bx=function(a,b,c,d){this.j=a;this.g=new K(0,0,0,0);this.o=null;this.B=new K(0,0,0,0);this.l=b;this.P=c;this.O=d;this.N=!1;this.timestamp=-1;this.L=new ww(b.o,this.j,this.g,new K(0,0,0,0),0,0,tw(),0);this.C=void 0};bx.prototype.Ff=function(){return!0};bx.prototype.J=function(){};bx.prototype.dispose=function(){if(!this.Fb()){var a=this.l;nc(a.B,this);a.L&&this.xb()&&$w(a);this.J();this.N=!0}};bx.prototype.Fb=function(){return this.N}; var cx=function(a,b){return a.C?new K(Math.max(b.top+a.C.top,b.top),Math.min(b.left+a.C.right,b.right),Math.min(b.top+a.C.bottom,b.bottom),Math.max(b.left+a.C.left,b.left)):b.clone()};m=bx.prototype;m.Wb=function(){return this.l.Wb()};m.Bb=function(){return this.l.Bb()};m.Uc=function(){return this.l.Uc()};m.Fd=function(){return this.l.Fd()};m.Xc=function(){};m.Xb=function(){this.Tb()};m.xb=function(){return this.O};var dx=function(a){this.A=!1;this.g=a;this.o=function(){}};m=dx.prototype;m.Bb=function(){return this.g.Bb()};m.Uc=function(){return this.g.Uc()};m.Fd=function(){return this.g.Fd()};m.create=function(a,b,c){var d=null;this.g&&(d=this.Xd(a,b,c),Xw(this.g,d));return d};m.kh=function(){return this.md()};m.md=function(){return!1};m.init=function(a){return this.g.initialize()?(Xw(this.g,this),this.o=a,!0):!1};m.Xc=function(a){a.Bb()==0&&this.o(a.Uc(),this)};m.Xb=function(){};m.xb=function(){return!1}; m.dispose=function(){this.A=!0};m.Fb=function(){return this.A};m.Wb=function(){return{}};var ex=function(a,b,c){this.l=c===void 0?0:c;this.j=a;this.g=b==null?"":b},fx=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}},gx=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 nx=function(a){var b=[],c=[];Ij(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)},ox=function(a){a=a.toString();Pv();Nl(T,a)};var px=function(){this.g=0};var qx=function(a,b,c){ac(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 hx;g.add("id","av-js");g.add("type","verif");g.add("vtype",d.A);d=L(px);g.add("i",d.g++);g.add("adk",e);jx(g,f);e=new mx(g);ox(e)}})};var rx=function(){this.j=this.l=this.o=this.g=0},sx=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 tx=[1,.75,.5,.3,0],ux=function(a){this.j=a=a===void 0?tx:a;this.g=dc(this.j,function(){return new rx})},wx=function(a,b){return vx(a,function(c){return c.g},b===void 0?!0:b)},yx=function(a,b){return xx(a,b,function(c){return c.g})},zx=function(a,b){return vx(a,function(c){return c.l},b===void 0?!0:b)},Ax=function(a,b){return xx(a,b,function(c){return c.l})},Bx=function(a,b){return xx(a,b,function(c){return c.j})},Cx=function(a){ac(a.g,function(b){b.j=0})},Dx=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;sx(a.g[f],g&&k,e,!g||h)}},vx=function(a,b,c){a=dc(a.g,function(d){return b(d)});return c?a:Ex(a)},xx=function(a,b,c){var d=jc(a.j,function(e){return b<=e});return d==-1?0:c(a.g[d])},Ex=function(a){return dc(a,function(b,c,d){return c>0?d[c]-d[c-1]:d[c]})};var Fx=function(){this.j=new ux;this.aa=this.ba=0;this.ga=new rx;this.H=this.B=-1;this.Pa=1E3;this.Ra=new ux([1,.9,.8,.7,.6,.5,.4,.3,.2,.1,0]);this.O=this.K=-1},Gx=function(a,b){return zx(a.j,b===void 0?!0:b)}; Fx.prototype.F=function(a,b,c,d){this.B=this.B!=-1?Math.min(this.B,b.Y):b.Y;this.H=Math.max(this.H,b.Y);this.K=this.K!=-1?Math.min(this.K,b.Ka):b.Ka;this.O=Math.max(this.O,b.Ka);Dx(this.Ra,b.Ka,c.Ka,b.g,a,d);this.ba+=a;b.Y===0&&(this.aa+=a);Dx(this.j,b.Y,c.Y,b.g,a,d);c=d||c.Fc!=b.Fc?c.isVisible()&&b.isVisible():c.isVisible();b=!b.isVisible()||b.g;sx(this.ga,c,a,b)};Fx.prototype.Ib=function(){return this.ga.l>=this.Pa};if(Um&&Um.URL){var Hx=Um.URL,Ix;if(Ix=!!Hx){var Jx;a:{if(Hx){var Kx=RegExp(".*[&#?]google_debug(=[^&]*)?(&.*)?$");try{var Lx=Kx.exec(decodeURIComponent(Hx));if(Lx){Jx=Lx[1]&&Lx[1].length>1?Lx[1].substring(1):"true";break a}}catch(a){}}Jx=""}Ix=Jx.length>0}gw.Vg(!Ix)}var Mx=function(a,b,c,d){var e=e===void 0?!1:e;c=kw(d,c);Ej(a,b,c,{capture:e})};var Nx=new K(0,0,0,0);function Ox(a,b){b=Px(b);return b===0?0:Px(a)/b}function Px(a){return Math.max(a.bottom-a.top,0)*Math.max(a.right-a.left,0)}function Qx(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=Er(a),e=d&&Kr(d),f=e&&e.frameElement;f&&(a=f)}}catch(g){break}}return!1} function Rx(a,b,c){if(!a||!b)return!1;b=Dm(a.clone(),-b.left,-b.top);a=(b.left+b.right)/2;b=(b.top+b.bottom)/2;xl(window.top)&&window.top&&window.top.document&&(window=window.top);if(!yw())return!1;a=window.document.elementFromPoint(a,b);if(!a)return!1;b=(b=(b=Er(c))&&b.defaultView&&b.defaultView.frameElement)&&Qx(b,a);var d=a===c;a=!d&&a&&Wr(a,function(e){return e===c});return!(b||d||a)} function Sx(a,b,c,d){return Qw().l?!1:a.getWidth()<=0||a.getHeight()<=0?!0:c&&d?jw(208,function(){return Rx(a,b,c)}):!1};var Tx=new K(0,0,0,0),Vx=function(a,b,c){R.call(this);this.position=Tx.clone();this.Se=this.ye();this.xg=-2;this.ul=Date.now();this.zi=-1;this.Je=b;this.Ie=null;this.Cd=!1;this.cf=null;this.opacity=-1;this.bl=c;this.xl=!1;this.zg=function(){};this.Bi=function(){};this.La=new Hv;this.La.fc=a;this.La.g=a;this.Gb=!1;this.zc={Dg:null,Cg:null};this.ti=!0;this.Td=null;this.Zc=this.tk=!1;S().D++;this.Ia=this.og();this.yi=-1;this.X=null;this.Sh=this.qk=!1;this.P=new xv;Fv(this.P);Ux(this);this.bl==1?Av(this.P, "od",1):Av(this.P,"od",0)};t(Vx,R);Vx.prototype.R=function(){this.La.g&&(this.zc.Dg&&(Fj(this.La.g,"mouseover",this.zc.Dg),this.zc.Dg=null),this.zc.Cg&&(Fj(this.La.g,"mouseout",this.zc.Cg),this.zc.Cg=null));this.Td&&this.Td.dispose();this.X&&this.X.dispose();delete this.Se;delete this.zg;delete this.Bi;delete this.La.fc;delete this.La.g;delete this.zc;delete this.Td;delete this.X;delete this.P;R.prototype.R.call(this)};var Wx=function(a){return a.X?a.X.g:a.position};Vx.prototype.lf=function(a){S().lf(a)}; Vx.prototype.mf=function(a){S().mf(a)};var Ux=function(a){a=a.La.fc;var b;if(b=a&&a.getAttribute)b=/-[a-z]/.test("googleAvInapp")?!1:Gv&&a.dataset?"googleAvInapp"in a.dataset:a.hasAttribute?a.hasAttribute("data-"+al()):!!a.getAttribute("data-"+al());b&&(Qw().j=!0)};Vx.prototype.xb=function(){return!1};Vx.prototype.ye=function(){return new Fx};Vx.prototype.Ga=function(){return this.Se}; var Xx=function(a,b){b!=a.Zc&&(a.Zc=b,a=Qw(),b?a.C++:a.C>0&&a.C--)},Yx=function(a,b){if(a.X){if(b.getName()===a.X.getName())return;a.X.dispose();a.X=null}b=b.create(a.La.g,a.P,a.xb());if(b=b!=null&&b.Ff()?b:null)a.X=b},Zx=function(a,b,c){if(!a.Ie||a.Je==-1||b.getTimestamp()===-1||a.Ie.getTimestamp()===-1)return 0;a=b.getTimestamp()-a.Ie.getTimestamp();return a>c?0:a};Vx.prototype.Oh=function(a){return Zx(this,a,1E4)}; var $x=function(a,b,c){if(a.X){a.X.Tb();var d=a.X.L,e=d.l,f=e.g;if(d.A!=null){var g=d.j;a.cf=new Bm(g.left-f.left,g.top-f.top)}f=a.vf()?Math.max(d.g,d.o):d.g;g={};e.volume!==null&&(g.volume=e.volume);e=a.Oh(d);a.Ie=d;a.ah(f,b,c,!1,g,e,d.C)}},ay=function(a){if(a.Cd&&a.Td){var b=Bv(a.P,"od")==1,c=Qw().g,d=a.Td,e=a.X?a.X.getName():"ns",f=a.cf,g=new Em(c.getWidth(),c.getHeight());c=a.vf();a={ql:e,cf:f,Kl:g,vf:c,Y:a.Ia.Y,Fl:b};if(b=d.j){b.Tb();e=b.L;f=e.l.g;var h=g=null;e.A!=null&&f&&(g=e.j,g=new Bm(g.left- f.left,g.top-f.top),h=new Em(f.right-f.left,f.bottom-f.top));e=c?Math.max(e.g,e.o):e.g;c={ql:b.getName(),cf:g,Kl:h,vf:c,Fl:!1,Y:e}}else c=null;c&&qx(d,a,c)}};m=Vx.prototype;m.ah=function(a,b,c,d,e,f,g){this.Gb||(this.Cd&&(a=this.Pf(a,c,e,g),d=d&&this.Ia.Y>=(this.Fc()?.3:.5),this.bh(f,a,d),this.Je=b,a.Y>0&&-1===this.yi&&(this.yi=b),this.zi==-1&&this.Ib()&&(this.zi=b),this.xg==-2&&(this.xg=Px(Wx(this))?a.Y:-1),this.Ia=a),this.zg(this))};m.bh=function(a,b,c){this.Ga().F(a,b,this.Ia,c)};m.og=function(){return new kv}; m.Pf=function(a,b,c,d){c=this.og();c.g=b;b=Pv().j;b=Nv()?-1:b.isVisible()?0:1;c.j=b;c.Y=this.Xf(a);c.Fc=this.Fc();c.Ka=d;return c};m.Xf=function(a){return this.opacity===0&&Bv(this.P,"opac")===1?0:a};m.Fc=function(){return!1};m.vf=function(){return this.qk||this.tk};m.Va=function(){return 0};m.Ib=function(){return this.Se.Ib()};m.Ph=function(){var a=this.Cd;a=(this.Sh||this.Fb())&&!a;var b=S().j!==2||this.xl;return this.Gb||b&&a?2:this.Ib()?4:3};m.we=function(){return 0}; var by=function(a,b,c){b&&(a.zg=b);c&&(a.Bi=c)};var cy=function(){};cy.prototype.next=function(){return dy};var dy={done:!0,value:void 0};cy.prototype.Rc=function(){return this};var ey=function(){this.o=this.g=this.l=this.j=this.A=0},fy=function(a){var b={};b=(b.ptlt=Za()-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 gy=function(){kv.call(this);this.fullscreen=!1;this.volume=void 0;this.paused=!1;this.mediaTime=-1};t(gy,kv);var hy=function(a){return Lw(a.volume)&&a.volume>0};var jy=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 iy(f,b,c)}},ky=function(a,b){return function(c){return b(c)?c[a]:void 0}},ly=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 my=ly([void 0,1,2,3,4,8,16]),ny=ly([void 0,4,8,16]),oy={sv:"sv",v:"v",cb:"cb",e:"e",nas:"nas",msg:"msg","if":"if",sdk:"sdk",p:"p",p0:ky("p0",ny),p1:ky("p1",ny),p2:ky("p2",ny),p3:ky("p3",ny),cp:"cp",tos:"tos",mtos:"mtos",amtos:"amtos",mtos1:jy("mtos1",[0,2,4],!1,ny),mtos2:jy("mtos2",[0,2,4],!1,ny),mtos3:jy("mtos3",[0,2,4],!1,ny),mcvt:"mcvt",ps:"ps",scs:"scs",bs:"bs",vht:"vht",mut:"mut",a:"a",a0:ky("a0",ny),a1:ky("a1",ny),a2:ky("a2",ny),a3:ky("a3",ny),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:ky("c0",ny),c1:ky("c1",ny),c2:ky("c2",ny),c3:ky("c3",ny),mc:"mc",nc:"nc",mv:"mv",nv:"nv",qmt:ky("qmtos",my),qnc:ky("qnc",my),qmv:ky("qmv",my),qnv:ky("qnv",my), 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:ky("ss0",ny),ss1:ky("ss1",ny),ss2:ky("ss2",ny),ss3:ky("ss3",ny),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"},py=Object.assign({},oy,{avid:function(a){return function(){return a}}("audio"),avas:"avas",vs:"vs"}),qy={atos:"atos",avt:jy("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 ry=function(){this.j=this.g=""};var sy=function(){},ty=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 Xj(c,a);return lx(jx(new hx,c))};var uy=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}; uy.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 vy=function(a){var b=Nj(a.j),c=0,d;for(d in a.g)kc(b,d)&&a.g[d]==1&&(c+=a.j[d][1],a.g[d]=2);return c},wy=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 yy=function(){this.g=this.j=0};yy.prototype.getValue=function(){return this.j};var zy=function(a,b,c){b>=32||(a.g&1<=.5;Lw(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.N+=a,this.J+=e?a:0);Dx(this.g,b.Y,c.Y,b.g,a,d,e);sx(this.l,!0,a);sx(this.A,e,a);sx(this.L,c.fullscreen,a);sx(this.lb,e&&!f,a);a=Math.floor(b.mediaTime/1E3);zy(this.U,a,b.isVisible());zy(this.Da,a,b.Y>=1);zy(this.ma,a,hy(b))}};var Cy=function(){this.l=!1};Cy.prototype.j=function(a){this.l||(this.g(a)?(a=this.F.report(this.o,a),this.A|=a,a=a==0):a=!1,this.l=a)};var Dy=function(a,b){this.l=!1;this.o=a;this.F=b;this.A=0};t(Dy,Cy);Dy.prototype.g=function(){return!0};Dy.prototype.C=function(){return!1};Dy.prototype.getId=function(){var a=this,b=Qj(function(c){return c==a.o});return zq[b].toString()};Dy.prototype.toString=function(){var a="";this.C()&&(a+="c");this.l&&(a+="s");this.A>0&&(a+=":"+this.A);return this.getId()+a};var Ey=function(a,b){Dy.call(this,a,b);this.B=[]};t(Ey,Dy);Ey.prototype.j=function(a,b){b=b===void 0?null:b;b!=null&&this.B.push(b);Dy.prototype.j.call(this,a)};var Fy=function(){};var Gy=function(){};t(Gy,Fy);Gy.prototype.j=function(){return null};Gy.prototype.l=function(){return[]};var Hy=function(a,b,c,d){bx.call(this,a,b,c,d)};t(Hy,bx);m=Hy.prototype;m.Qf=function(){if(this.j){var a=this.j,b=this.l.g.l;try{try{var c=Jw(a.getBoundingClientRect())}catch(l){c=new K(0,0,0,0)}var d=c.right-c.left,e=c.bottom-c.top,f=Ew(a,b),g=f.x,h=f.y;var k=new K(Math.round(h),Math.round(g+d),Math.round(h+e),Math.round(g))}catch(l){k=Nx.clone()}this.o=k;this.g=cx(this,this.o)}};m.Ah=function(){this.B=this.l.o.g};m.Uh=function(a){var b=Bv(this.P,"od")==1;return Sx(a,this.B,this.j,b)}; m.Bh=function(){this.timestamp=tw()}; m.Tb=function(){this.Bh();this.Qf();if(this.j&&typeof this.j.videoWidth==="number"&&typeof this.j.videoHeight==="number"){var a=this.j;var b=new Em(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.Ah();a=this.g;c=this.B; a=a.left<=c.right&&c.left<=a.right&&a.top<=c.bottom&&c.top<=a.bottom?new K(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 K(0,0,0,0);c=a.top>=a.bottom||a.left>=a.right?new K(0,0,0,0):a;a=this.l.o;b=e=d=0;if((this.g.bottom-this.g.top)*(this.g.right-this.g.left)>0)if(this.Uh(c))c=new K(0,0,0,0);else{d=Qw().A;b=new K(0,d.height,d.width,0);var f;d=Ox(c,(f=this.C)!=null?f:this.g);e=Ox(c,Qw().g);b=Ox(c,b)}f=c.top>=c.bottom||c.left>=c.right?new K(0, 0,0,0):Dm(c,-this.g.left,-this.g.top);Rw()||(e=d=0);this.L=new ww(a,this.j,this.g,f,d,e,this.timestamp,b)};m.getName=function(){return this.l.getName()};var Iy=new K(0,0,0,0),Jy=function(a,b,c){bx.call(this,null,a,b,c);this.F=a.isActive();this.D=0};t(Jy,Hy);m=Jy.prototype;m.Ff=function(){this.A();return!0};m.Xb=function(){Hy.prototype.Tb.call(this)};m.Bh=function(){};m.Qf=function(){};m.Tb=function(){this.A();Hy.prototype.Tb.call(this)};m.Xc=function(a){a=a.isActive();a!==this.F&&(a?this.A():(Qw().g=new K(0,0,0,0),this.g=new K(0,0,0,0),this.B=new K(0,0,0,0),this.timestamp=-1));this.F=a};function Ky(a){return[a.top,a.left,a.bottom,a.right]} var Ly={},My=(Ly.firstquartile=0,Ly.midpoint=1,Ly.thirdquartile=2,Ly.complete=3,Ly),Ny=function(a,b,c,d,e,f){f=f===void 0?new Gy:f;Vx.call(this,b,c,d);this.Mg=e;this.dg=0;this.pa={};this.la=new uy;this.Fi={};this.Aa="";this.lc=null;this.od=!1;this.g=[];this.Kb=f.j();this.C=f.l();this.A=null;this.l=-1;this.ca=this.F=void 0;this.K=this.H=0;this.U=-1;this.Pa=this.Da=!1;this.O=this.D=this.j=this.ld=this.nd=0;new ux;this.ba=this.ga=0;this.ma=-1;this.wa=0;this.B=yj;this.N=[this.ye()];this.de=2;this.Pc= {};this.Pc.pause="p";this.Pc.resume="r";this.Pc.skip="s";this.Pc.mute="m";this.Pc.unmute="um";this.Pc.exitfullscreen="ef";this.o=null;this.Ra=this.lb=!1;this.Yd=Math.floor(Date.now()/1E3-1704067200);this.aa=0};t(Ny,Vx);Ny.prototype.xb=function(){return!0};var Oy=function(a){a.Sh=!0;a.wa!=0&&(a.wa=3)},Py=function(a){return a===void 0?a:Number(a)?Iw(a,3):0};m=Ny.prototype;m.Oh=function(a){return Zx(this,a,Math.max(1E4,this.l/3))}; m.ah=function(a,b,c,d,e,f,g){var h=this,k=this.B(this)||{};Xj(k,e);this.l=k.duration||this.l;this.F=k.isVpaid||this.F;this.ca=k.isYouTube||this.ca;Pv();this.Ra=!1;e=Qy(this,b);Ry(this)===1&&(f=e);Vx.prototype.ah.call(this,a,b,c,d,k,f,g);this.Kb&&this.Kb.l&&ac(this.C,function(l){l.j(h)})}; m.bh=function(a,b,c){Vx.prototype.bh.call(this,a,b,c);Sy(this).F(a,b,this.Ia,c);this.Pa=hy(this.Ia)&&hy(b);this.U==-1&&this.Da&&(this.U=this.Ga().l.g);this.la.l=0;a=this.Ib();b.isVisible()&&this.la.reportEvent("vs");a&&this.la.reportEvent("vw");Lw(b.volume)&&this.la.reportEvent("am");hy(b)?this.la.reportEvent("a"):this.la.reportEvent("mut");this.Zc&&this.la.reportEvent("f");b.j!=-1&&(this.la.reportEvent("bm"),b.j==1&&(this.la.reportEvent("b"),hy(b)&&this.la.reportEvent("umutb")));hy(b)&&b.isVisible()&& this.la.reportEvent("avs");this.Pa&&a&&this.la.reportEvent("avw");b.Y>0&&this.la.reportEvent("pv");Ty(this,this.Ga().l.g,!0)&&this.la.reportEvent("gdr");Ax(this.Ga().j,1)>=2E3&&this.la.reportEvent("pmx");this.Ra&&this.la.reportEvent("tvoff")};m.ye=function(){return new Ay};m.Ga=function(){return this.Se};var Sy=function(a,b){return a.N[b!=null&&b=0?c:-1;return a}; var Ry=function(a){var b=!!Bv(S().P,"umt");return a.F||!b&&!a.ca?0:1},Qy=function(a,b){a.wa==2?b=0:a.Je==-1?b=0:(b-=a.Je,b=b>Math.max(1E4,a.l/3)?0:b);var c=a.B(a)||{};c=c.currentTime!==void 0?c.currentTime:a.H;var d=c-a.H,e=0;d>=0?(a.K+=b,a.ba+=Math.max(b-d,0),e=Math.min(d,a.K)):a.ga+=Math.abs(d);d!=0&&(a.K=0);a.ma==-1&&d>0&&(a.ma=qw>=0?tw()-qw:-1);a.H=c;return e};Ny.prototype.Xf=function(a){return Qw().F?0:this.Zc?1:Vx.prototype.Xf.call(this,a)};Ny.prototype.Va=function(){return 1}; Ny.prototype.getDuration=function(){return this.l}; var Uy=function(a,b){fc(a.C,function(c){return c.o==b.o})||a.C.push(b)},Vy=function(a){var b=yx(a.Ga().g,1);return Ty(a,b)},Ty=function(a,b,c){return b>=15E3?!0:a.Da?(c===void 0?0:c)?!0:a.l>0?b>=a.l/2:a.U>0?b>=a.U:!1:!1},Wy=function(a){var b={},c=Qw();b.insideIframe=c.l;b.unmeasurable=a.Gb;var d=Wx(a),e=a.X?a.X.o:null;b.position=d;e&&!Cm(d,e)&&(b.containerPosition=e);b.exposure=a.Ia.Y;b.documentSize=c.o;b.viewportSize=new Em(c.g.getWidth(),c.g.getHeight());a.o!=null&&(b.presenceData=a.o);b.screenShare= a.Ia.Ka;return b},Xy=function(a){var b=Iw(a.Ia.Y,2),c=a.la.l,d=a.Ia,e=Sy(a),f=Py(e.o),g=Py(e.C),h=Py(d.volume),k=Iw(e.B,2),l=Iw(e.H,2),p=Iw(d.Y,2),n=Iw(e.K,2),q=Iw(e.O,2);d=Iw(d.Ka,2);var r=Wx(a).clone().round();a=a.X&&a.X.o?(a.X?a.X.o:null).clone().round():null;e=Gx(e,!1);return{Jl:b,Hd:c,We:f,Pe:g,ud:h,Xe:k,Qe:l,Y:p,Ye:n,Re:q,Ka:d,position:r,yd:a,Ze:e}},Zy=function(a,b){Yy(a.g,b,function(){return{Jl:0,Hd:void 0,We:-1,Pe:-1,ud:-1,Xe:-1,Qe:-1,Y:-1,Ye:-1,Re:-1,Ka:-1,position:void 0,yd:void 0,Ze:[]}}); a.g[b]=Xy(a)},Yy=function(a,b,c){for(var d=a.length;d0?1:0;n.atos=wx(l.g);n.ssb=wx(l.Ra,!1);n.amtos=zx(l.g,!1);n.uac=a.nd;n.vpt=l.l.g;p=="nio"&&(n.nio=1,n.avms="nio");n.gmm="4";n.gdr=Ty(a,l.l.g,!0)?1:0;n.efpf=a.de;if(p=="gsv"||p=="nis")p= a.X,p.D>0&&(n.nnut=p.D);n.tcm=Ry(a);n.nmt=a.ga;n.bt=a.ba;n.pst=a.ma;n.vpaid=a.F;n.dur=a.l;n.vmtime=a.H;n.is=a.la.l;a.g.length>=1&&(n.i0=a.g[0].Hd,n.a0=[a.g[0].ud],n.c0=[a.g[0].Y],n.ss0=[a.g[0].Ka],p=a.g[0].position,f=a.g[0].yd,n.p0=p?Ky(p):void 0,p&&f&&!Cm(f,p)&&(n.cp0=Ky(f)));a.g.length>=2&&(n.i1=a.g[1].Hd,n.a1=cz(a.g[1].We,a.g[1].ud,a.g[1].Pe),n.c1=cz(a.g[1].Xe,a.g[1].Y,a.g[1].Qe),n.ss1=cz(a.g[1].Ye,a.g[1].Ka,a.g[1].Re),p=a.g[1].position,f=a.g[1].yd,n.p1=p?Ky(p):void 0,p&&f&&!Cm(f,p)&&(n.cp1=Ky(f)), n.mtos1=a.g[1].Ze);a.g.length>=3&&(n.i2=a.g[2].Hd,n.a2=cz(a.g[2].We,a.g[2].ud,a.g[2].Pe),n.c2=cz(a.g[2].Xe,a.g[2].Y,a.g[2].Qe),n.ss2=cz(a.g[2].Ye,a.g[2].Ka,a.g[2].Re),p=a.g[2].position,f=a.g[2].yd,n.p2=p?Ky(p):void 0,p&&f&&!Cm(f,p)&&(n.cp2=Ky(f)),n.mtos2=a.g[2].Ze);a.g.length>=4&&(n.i3=a.g[3].Hd,n.a3=cz(a.g[3].We,a.g[3].ud,a.g[3].Pe),n.c3=cz(a.g[3].Xe,a.g[3].Y,a.g[3].Qe),n.ss3=cz(a.g[3].Ye,a.g[3].Ka,a.g[3].Re),p=a.g[3].position,f=a.g[3].yd,n.p3=p?Ky(p):void 0,p&&f&&!Cm(f,p)&&(n.cp3=Ky(f)),n.mtos3= a.g[3].Ze);n.cs=wy(a.la);b&&(n.ic=vy(a.la),n.dvpt=l.l.j,n.dvs=Bx(l.j,.5),n.dfvs=Bx(l.j,1),n.davs=Bx(l.g,.5),n.dafvs=Bx(l.g,1),c&&(l.l.j=0,Cx(l.j),Cx(l.g)),a.Ib()&&(n.dtos=l.N,n.dav=l.J,n.dtoss=a.dg+1,c&&(l.N=0,l.J=0,a.dg++)),n.dat=l.A.j,n.dft=l.L.j,c&&(l.A.j=0,l.L.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.ld&&(n.vds=a.ld);if(a.C.length>0||a.Kb)b=rc(a.C),a.Kb&&b.push(a.Kb),n.pings=dc(b,function(q){return q.toString()});b=dc(cc(a.C, function(q){return q.C()}),function(q){return q.getId()});sc(b);n.ces=b;a.j&&(n.vmer=a.j);a.D&&(n.vmmk=a.D);a.O&&(n.vmiec=a.O);n.avms=a.X?a.X.getName():"ns";a.X&&Xj(n,a.X.Wb());d?(n.c=Iw(a.Ia.Y,2),n.ss=Iw(a.Ia.Ka,2)):n.tth=tw()-pw;n.mc=Iw(l.H,2);n.nc=Iw(l.B,2);n.mv=Py(l.C);n.nv=Py(l.o);n.lte=Iw(a.xg,2);d=Sy(a,e);Gx(l);n.qmtos=Gx(d);n.qnc=Iw(d.B,2);n.qmv=Py(d.C);n.qnv=Py(d.o);n.qas=d.o>0?1:0;n.qi=a.Aa;n.avms||(n.avms="geo");n.psm=l.U.g;n.psv=l.U.getValue();n.psfv=l.Da.getValue();n.psa=l.ma.getValue(); k=Dv(k.P);k.length&&(n.veid=k);a.o&&Xj(n,fy(a.o));n.avas=a.we();n.vs=a.Ph();n.co=dz(a);n.tm=l.ba;n.tu=l.aa;return n},$y=function(a,b){if(kc(yq,b))return!0;var c=a.pa[b];return c!==void 0?(a.pa[b]=!0,!c):!1};Ny.prototype.Ph=function(){return this.Gb?2:Vy(this)?5:this.Ib()?4:3};Ny.prototype.we=function(){return this.lb?this.Ga().A.l>=2E3?4:3:2};var dz=function(a){var b=a.aa.toString(10).padStart(2,"0");b=""+a.Yd+b;a.aa<99&&a.aa++;return b};var ez=Za(),hz=function(){this.g={};var a=Kr();fz(this,a,document);var b=gz();try{if("1"==b){for(var c=a.parent;c!=a.top;c=c.parent)fz(this,c,c.document);fz(this,a.top,a.top.document)}}catch(d){}},gz=function(){var a=document.documentElement;try{if(!xl(Kr().top))return"2";var b=[],c=Kr(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"}},fz=function(a,b,c){Mx(c,"mousedown",function(){return iz(a)},301); Mx(b,"scroll",function(){return jz(a)},302);Mx(c,"touchmove",function(){return kz(a)},303);Mx(c,"mousemove",function(){return lz(a)},304);Mx(c,"keydown",function(){return mz(a)},305)},iz=function(a){Ij(a.g,function(b){b.l>1E5||++b.l})},jz=function(a){Ij(a.g,function(b){b.g>1E5||++b.g})},kz=function(a){Ij(a.g,function(b){b.g>1E5||++b.g})},mz=function(a){Ij(a.g,function(b){b.j>1E5||++b.j})},lz=function(a){Ij(a.g,function(b){b.o>1E5||++b.o})};var nz=function(){this.g=[];this.j=[]},oz=function(a,b){return gc(a.g,function(c){return c.Aa==b})},pz=function(a,b){return b?gc(a.g,function(c){return c.La.fc==b}):null},qz=function(a,b){return gc(a.j,function(c){return c.Va()==2&&c.Aa==b})},sz=function(){var a=rz;return a.g.length==0?a.j:a.j.length==0?a.g:qc(a.j,a.g)};nz.prototype.reset=function(){this.g=[];this.j=[]}; var tz=function(a,b){a=b.Va()==1?a.g:a.j;var c=hc(a,function(d){return d==b});return c!=-1?(a.splice(c,1),b.X&&b.X.J(),b.dispose(),!0):!1},uz=function(a){var b=rz;if(tz(b,a)){switch(a.Va()){case 0:var c=function(){return null};case 2:c=function(){return qz(b,a.Aa)};break;case 1:c=function(){return oz(b,a.Aa)}}for(var d=c();d;d=c())tz(b,d)}},vz=function(a){var b=rz;a=cc(a,function(c){return!pz(b,c.La.fc)});b.g.push.apply(b.g,v(a))},wz=function(a){var b=[];ac(a,function(c){fc(rz.g,function(d){return d.La.fc=== c.La.fc&&d.Aa===c.Aa})||(rz.g.push(c),b.push(c))})},rz=L(nz);var xz=function(){this.g=this.j=null},yz=function(a,b){if(a.j==null)return!1;var c=function(d,e){b(d,e)};a.g=gc(a.j,function(d){return d!=null&&d.kh()});a.g&&(a.g.init(c)?Yw(a.g.g):b(a.g.g.Uc(),a.g));return a.g!=null};var Az=function(a){a=zz(a);dx.call(this,a.length?a[a.length-1]:new Uw(T,0));this.l=a;this.j=null};t(Az,dx);m=Az.prototype;m.getName=function(){return(this.j?this.j:this.g).getName()};m.Wb=function(){return(this.j?this.j:this.g).Wb()};m.Bb=function(){return(this.j?this.j:this.g).Bb()};m.init=function(a){var b=!1;ac(this.l,function(c){c.initialize()&&(b=!0)});b&&(this.o=a,Xw(this.g,this));return b};m.dispose=function(){ac(this.l,function(a){a.dispose()});dx.prototype.dispose.call(this)}; m.kh=function(){return fc(this.l,function(a){return a.H()})};m.md=function(){return fc(this.l,function(a){return a.H()})};m.Xd=function(a,b,c){return new Hy(a,this.g,b,c)};m.Xb=function(a){this.j=a.j};var zz=function(a){if(!a.length)return[];a=cc(a,function(c){return c!=null&&c.H()});for(var b=1;bc.time?b:c},a[0])};m=Cz.prototype;m.Tb=function(){var a=Ez(this);a.length>0&&Fz(this,a);Hy.prototype.Tb.call(this)};m.Qf=function(){}; m.Uh=function(){return!1};m.Ah=function(){};m.Wb=function(){var a={};return Object.assign(this.l.Wb(),(a.niot_obs=this.K,a.niot_cbk=this.H,a))};m.getName=function(){return"nio"};var Hz=function(a){a=a===void 0?T:a;dx.call(this,new Uw(a,2))};t(Hz,dx);Hz.prototype.getName=function(){return"nio"};Hz.prototype.md=function(){return!Qw().j&&this.g.g.l.IntersectionObserver!=null};Hz.prototype.Xd=function(a,b,c){return new Cz(a,this.g,b,c)};var Jz=function(){var a=Iz();Uw.call(this,T.top,a,"geo")};t(Jz,Uw);Jz.prototype.ma=function(){return Qw().g};Jz.prototype.H=function(){var a=Iz();this.J!==a&&(this.g!=this&&a>this.g.J&&(this.g=this,Vw(this)),this.J=a);return a==2};var Iz=function(){S();var a=Qw();return a.l||a.j?0:2};var Kz=function(){};var Lz=function(){this.done=!1;this.g={Aj:0,rh:0,Un:0,Gh:0,tg:-1,Nj:0,Mj:0,Oj:0,pl:0};this.A=null;this.C=!1;this.l=null;this.B=0;this.j=new Sw(this)},Oz=function(){var a=Mz;a.C||(a.C=!0,Nz(a,function(){return a.o.apply(a,v(Ga.apply(0,arguments)))}),a.o())};Lz.prototype.sample=function(){Pz(this,sz(),!1)}; var Qz=function(){L(Kz);var a=L(xz);a.g!=null&&a.g.g?Yw(a.g.g):Mw(Qw())},Pz=function(a,b,c){if(!a.done&&(a.j.cancel(),b.length!=0)){a.l=null;try{Qz();var d=tw();S().B=d;if(L(xz).g!=null)for(var e=0;e=0?tw()-ow:-1,h=tw();e.g.tg==-1&&(g=h);var k=Qw(),l=S(),p=Cv(l.P),n=sz();try{if(n.length>0){var q=k.g;q&&(p.bs=[q.getWidth(),q.getHeight()]);var r=k.o;r&&(p.ps=[r.width,r.height]); T.screen&&(p.scs=[T.screen.width,T.screen.height])}else p.url=encodeURIComponent(T.location.href.substring(0,512)),f.referrer&&(p.referrer=encodeURIComponent(f.referrer.substring(0,512)));p.tt=g;p.pt=ow;p.bin=l.j;T.google_osd_load_pub_page_exp!==void 0&&(p.olpp=T.google_osd_load_pub_page_exp);p.deb=[1,e.g.Aj,e.g.rh,e.g.Gh,e.g.tg,0,e.j.j,e.g.Nj,e.g.Mj,e.g.Oj,e.g.pl,-1].join(";");p.tvt=Rz(e,h);k.j&&(p.inapp=1);if(T!==null&&T!=T.top){n.length>0&&(p.iframe_loc=encodeURIComponent(T.location.href.substring(0, 512)));var w=k.D;p.is=[w.getWidth(),w.getHeight()]}}catch(z){p.error=1}Mz.l=p}q=Vj(Mz.l);r=S().g;if(Bv(r.l,"prf")==1){w=new Tv;e=r.g;f=0;e.g>-1&&(f=e.l.g.now()-e.g);e=e.o+f;if(e!=null&&typeof e!=="number")throw Error("Value of float/double field must be a number, found "+typeof e+": "+e);w=Mg(w,1,e,0);e=r.g;w=nh(w,5,e.g>-1?e.j+1:e.j);w=ph(w,2,r.j.g.l());w=ph(w,3,r.j.g.j());r=ph(w,4,r.j.g.g());w={};r=(w.pf=Oc(r.g()),w)}else r={};Xj(q,r);Xj(b,d,c,q,a())}])},Mz=L(Lz);var Uz=null,Vz="",Wz=!1,Xz=function(){var a=Uz||T;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 Yz(){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 Zz=function(){return"ima_html5_sdk".includes("ima_html5_sdk")?{pb:"ima",qb:null}:"ima_html5_sdk".includes("ima_native_sdk")?{pb:"nima",qb:null}:"ima_html5_sdk".includes("admob-native-video-javascript")?{pb:"an",qb:null}:"av.default_js_unreleased_RCxx".includes("cast_js_sdk")?{pb:"cast",qb:Yz()}:"av.default_js_unreleased_RCxx".includes("youtube.player.web")?{pb:"yw",qb:Yz()}:"av.default_js_unreleased_RCxx".includes("outstream_web_client")?{pb:"out",qb:Yz()}:"av.default_js_unreleased_RCxx".includes("drx_rewarded_web")? {pb:"r",qb:Yz()}:"av.default_js_unreleased_RCxx".includes("gam_native_web_video")?{pb:"n",qb:Yz()}:"av.default_js_unreleased_RCxx".includes("admob_interstitial_video")?{pb:"int",qb:Yz()}:{pb:"j",qb:null}},$z=Zz().pb,aA=Zz().qb;var cA=function(a,b){var c={sv:"966"};aA!==null&&(c.v=aA);c.cb=$z;c.nas=rz.g.length;c.msg=a;b!==void 0&&(a=bA(b))&&(c.e=zq[a]);return c},dA=function(a){return a.lastIndexOf("custom_metric_viewable",0)==0},bA=function(a){var b=dA(a)?"custom_metric_viewable":a.toLowerCase();return Qj(function(c){return c==b})};var eA={nm:"visible",Yl:"audible",xn:"time",yn:"timetype"},fA={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)}},gA=function(){this.g=void 0;this.j=!1;this.l=0;this.o=-1;this.A="tos"},hA=function(a){try{var b=a.split(",");return b.length>Nj(eA).length?null:ec(b,function(c,d){d=d.toLowerCase().split("=");if(d.length!=2||fA[d[0]]=== void 0||!fA[d[0]](d[1]))throw Error("Entry ("+d[0]+", "+d[1]+") is invalid.");c[d[0]]=d[1];return c},{})}catch(c){return null}},iA=function(a,b){if(a.g==void 0)return 0;switch(a.A){case "mtos":return a.j?Ax(b.g,a.g):Ax(b.j,a.g);case "tos":return a.j?yx(b.g,a.g):yx(b.j,a.g)}return 0};var jA=function(a,b,c,d){Dy.call(this,b,d);this.B=a;this.D=c};t(jA,Dy);jA.prototype.getId=function(){return this.B};jA.prototype.C=function(){return!0};jA.prototype.g=function(a){var b=a.Ga(),c=a.getDuration();return fc(this.D,function(d){if(d.g!=void 0)var e=iA(d,b);else b:{switch(d.A){case "mtos":e=d.j?b.A.l:b.l.g;break b;case "tos":e=d.j?b.A.g:b.l.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 kA=function(){};t(kA,sy);kA.prototype.g=function(a){var b=new ry;b.g=ty(a,oy);b.j=ty(a,qy);return b};var lA=function(a){Dy.call(this,"fully_viewable_audible_half_duration_impression",a)};t(lA,Dy);lA.prototype.g=function(a){return Vy(a)};var mA=function(a){this.g=a};t(mA,Fy);var nA=function(a,b){Dy.call(this,a,b)};t(nA,Dy);nA.prototype.g=function(a){return a.Ga().Ib()};var oA=function(a){Ey.call(this,"measurable_impression",a)};t(oA,Ey);oA.prototype.g=function(a){var b=kc(this.B,Bv(S().P,"ovms"));return!a.Gb&&(a.wa!=0||b)};var pA=function(){mA.apply(this,arguments)};t(pA,mA);pA.prototype.j=function(){return new oA(this.g)};pA.prototype.l=function(){return[new nA("viewable_impression",this.g),new lA(this.g)]};var qA=function(a,b,c){Jy.call(this,a,b,c)};t(qA,Jy);qA.prototype.A=function(){var a=Ka("ima.admob.getViewability"),b=Bv(this.P,"queryid");typeof a==="function"&&b&&a(b)};qA.prototype.getName=function(){return"gsv"};var rA=function(a){a=a===void 0?T:a;dx.call(this,new Uw(a,2))};t(rA,dx);rA.prototype.getName=function(){return"gsv"};rA.prototype.md=function(){var a=Qw();S();return a.j&&!1};rA.prototype.Xd=function(a,b,c){return new qA(this.g,b,c)};var sA=function(a,b,c){Jy.call(this,a,b,c)};t(sA,Jy);sA.prototype.A=function(){var a=this,b=Ka("ima.bridge.getNativeViewability"),c=Bv(this.P,"queryid");typeof b==="function"&&c&&b(c,function(d){Sj(d)&&a.D++;var e=d.opt_nativeViewVisibleBounds||{},f=d.opt_nativeViewHidden;a.g=Kw(d.opt_nativeViewBounds||{});var g=a.l.o;g.g=f?Iy.clone():Kw(e);a.timestamp=d.opt_nativeTime||-1;Qw().g=g.g;d=d.opt_nativeVolume;d!==void 0&&(g.volume=d)})};sA.prototype.getName=function(){return"nis"};var tA=function(a){a=a===void 0?T:a;dx.call(this,new Uw(a,2))};t(tA,dx);tA.prototype.getName=function(){return"nis"};tA.prototype.md=function(){var a=Qw();S();return a.j&&!1};tA.prototype.Xd=function(a,b,c){return new sA(this.g,b,c)};var uA=function(){Uw.call(this,T,2,"mraid");this.Da=0;this.N=this.O=!1;this.F=null;this.j=xw(this.l);this.o.g=new K(0,0,0,0);this.Pa=!1};t(uA,Uw);uA.prototype.H=function(){return this.j.Xa!=null};uA.prototype.ga=function(){var a={};this.Da&&(a.mraid=this.Da);this.O&&(a.mlc=1);a.mtop=this.j.nl;this.F&&(a.mse=this.F);this.Pa&&(a.msc=1);a.mcp=this.j.oe;return a}; uA.prototype.D=function(a){var b=Ga.apply(1,arguments);try{return this.j.Xa[a].apply(this.j.Xa,b)}catch(c){lw(538,c,.01,function(d){d.method=a})}};var vA=function(a,b,c){a.D("addEventListener",b,c)}; uA.prototype.initialize=function(){var a=this;if(this.A)return!this.Fd();this.A=!0;if(this.j.oe===2)return this.F="ng",Ww(this,"w"),!1;if(this.j.oe===1)return this.F="mm",Ww(this,"w"),!1;Qw().J=!0;this.l.document.readyState&&this.l.document.readyState=="complete"?wA(this):Mx(this.l,"load",function(){Pv().setTimeout(kw(292,function(){return wA(a)}),100)},292);return!0}; var wA=function(a){S().A=!!a.D("isViewable");vA(a,"viewableChange",xA);a.D("getState")==="loading"?vA(a,"ready",yA):zA(a)},zA=function(a){typeof a.j.Xa.AFMA_LIDAR==="string"?(a.O=!0,AA(a)):(a.j.oe=3,a.F="nc",Ww(a,"w"))},AA=function(a){a.N=!1;var b=Bv(S().P,"rmmt")==1,c=!!a.D("isViewable");(b?!c:1)&&Pv().setTimeout(kw(524,function(){a.N||(BA(a),lw(540,Error()),a.F="mt",Ww(a,"w"))}),500);CA(a);vA(a,a.j.Xa.AFMA_LIDAR,DA)},CA=function(a){var b=Bv(S().P,"sneio")==1,c=a.j.Xa.AFMA_LIDAR_EXP_1!==void 0,d= a.j.Xa.AFMA_LIDAR_EXP_2!==void 0;(b=b&&d)&&(a.j.Xa.AFMA_LIDAR_EXP_2=!0);c&&(a.j.Xa.AFMA_LIDAR_EXP_1=!b)},BA=function(a){a.D("removeEventListener",a.j.Xa.AFMA_LIDAR,DA);a.O=!1};uA.prototype.ba=function(){var a=Qw(),b=EA(this,"getMaxSize");a.g=new K(0,b.width,b.height,0)};uA.prototype.aa=function(){Qw().A=EA(this,"getScreenSize")}; var EA=function(a,b){if(a.D("getState")==="loading")return new Em(-1,-1);b=a.D(b);if(!b)return new Em(-1,-1);a=parseInt(b.width,10);b=parseInt(b.height,10);return isNaN(a)||isNaN(b)?new Em(-1,-1):new Em(a,b)};uA.prototype.dispose=function(){BA(this);Uw.prototype.dispose.call(this)}; var yA=function(){try{var a=L(uA);a.D("removeEventListener","ready",yA);zA(a)}catch(b){lw(541,b)}},DA=function(a,b){try{var c=L(uA);c.N=!0;var d=a?new K(a.y,a.x+a.width,a.y+a.height,a.x):new K(0,0,0,0);var e=tw(),f=Rw();var g=new vw(e,f,c);g.g=d;g.volume=b;c.Xb(g)}catch(h){lw(542,h)}},xA=function(a){var b=S(),c=L(uA);a&&!b.A&&(b.A=!0,c.Pa=!0,c.F&&Ww(c,"w",!0))};var FA=function(a){this.key=a;this.defaultValue=!1;this.valueType="boolean"};var GA=new FA("45381479"),HA=new FA("45378663");var JA=function(){this.A=!1;this.N="";this.l=!1;this.g=this.j=null;var a={};this.ba=(a.start=this.hk,a.firstquartile=this.ck,a.midpoint=this.ek,a.thirdquartile=this.ik,a.complete=this.Zj,a.error=this.ak,a.pause=this.Lg,a.resume=this.ni,a.skip=this.gk,a.viewable_impression=this.tb,a.mute=this.kd,a.unmute=this.kd,a.fullscreen=this.dk,a.exitfullscreen=this.bk,a.fully_viewable_audible_half_duration_impression=this.tb,a.measurable_impression=this.tb,a.abandon=this.Lg,a.engagedview=this.tb,a.impression= this.tb,a.creativeview=this.tb,a.progress=this.kd,a.custom_metric_viewable=this.tb,a.bufferstart=this.Lg,a.bufferfinish=this.ni,a.audio_measurable=this.tb,a.audio_audible=this.tb,a);a={};this.ca=(a.overlay_resize=this.fk,a.abandon=this.rg,a.close=this.rg,a.collapse=this.rg,a.overlay_unmeasurable_impression=function(b){return bz(b,"overlay_unmeasurable_impression",Rw())},a.overlay_viewable_immediate_impression=function(b){return bz(b,"overlay_viewable_immediate_impression",Rw())},a.overlay_unviewable_impression= function(b){return bz(b,"overlay_unviewable_impression",Rw())},a.overlay_viewable_end_of_session_impression=function(b){return bz(b,"overlay_viewable_end_of_session_impression",Rw())},a);S().j=3;IA(this);this.F=null};JA.prototype.o=function(a){Xx(a,!1);uz(a)};JA.prototype.J=function(){};var KA=function(a,b,c,d){a=a.C(null,d,!0,b);a.A=c;vz([a]);return a}; JA.prototype.C=function(a,b,c,d){var e=this;a=new Ny(T,a,c?b:-1,7,this.Zf(),this.Eh());a.Aa=d;zv(a.P);Av(a.P,"queryid",a.Aa);a.lf(this.N);by(a,function(){return e.U.apply(e,v(Ga.apply(0,arguments)))},function(){return e.aa.apply(e,v(Ga.apply(0,arguments)))});(d=L(xz).g)&&Yx(a,d);this.F&&(a.X&&(a.X.C=this.F),this.F=null);a.La.fc&&L(Kz);return a}; var LA=function(a,b,c){rq(b);var d=a.g;ac(b,function(e){var f=dc(e.g,function(g){var h=hA(g);if(h==null)g=null;else if(g=new gA,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=h.time,p=l.length-1;l=p>=0&&l.indexOf("%",p)==p?"%":"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});fc(f,function(g){return g==null})||Uy(c,new jA(e.id,e.event,f,d))})},MA=function(){var a= [],b=S();a.push(L(Jz));Bv(b.P,"mvp_lv")&&a.push(L(uA));b=[new rA,new tA];b.push(new Az(a));b.push(new Hz(T));return b},OA=function(a){if(!a.A){a.A=!0;try{var b=tw(),c=S(),d=Qw();ow=b;c.o=79463069;a.j!=="o"&&(Uz=Ll(T));if(Qv()){Mz.g.rh=0;Mz.g.tg=tw()-b;var e=MA(),f=L(xz);f.j=e;yz(f,function(){NA()})?Mz.done||(Sz(),Xw(f.g.g,a),Oz()):d.l?NA():Oz()}else Wz=!0}catch(g){throw rz.reset(),g;}}},PA=function(a){Mz.j.cancel();Vz=a;Mz.done=!0},QA=function(a){if(a.j)return a.j;var b=L(xz).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},RA=function(a,b,c){if(a.g==null)return b.ld|=4,!1;a=a.g.report(c,b);b.ld|=a;return a==0};JA.prototype.Xc=function(a){switch(a.Bb()){case 0:if(a=L(xz).g)a=a.g,nc(a.B,this),a.L&&this.xb()&&$w(a);NA();break;case 2:Oz()}};JA.prototype.Xb=function(){};JA.prototype.xb=function(){return!1};var NA=function(){var a=[new Hz(T)],b=L(xz);b.j=a;yz(b,function(){PA("i")})?Mz.done||(Sz(),Oz()):PA("i")}; JA.prototype.aa=function(a,b){a.Gb=!0;switch(a.Va()){case 1:SA(a,b);break;case 2:this.Sg(a)}this.Tg(a)};var SA=function(a,b){if(!a.od){var c=bz(a,"start",Rw());c=a.Mg.g(c).g;var d={id:"lidarv"};d.r=b;d.sv="966";aA!==null&&(d.v=aA);el(c,function(e,f){return d[e]=e=="mtos"||e=="tos"?f:encodeURIComponent(f)});b=Xz();el(b,function(e,f){return d[e]=encodeURIComponent(f)});b="//pagead2.googlesyndication.com/pagead/gen_204?"+lx(jx(new hx,d));ox(b);a.od=!0}};m=JA.prototype; m.hk=function(a){var b=a.B(a);b&&(b=b.volume,a.lb=Lw(b)&&b>0);Zy(a,0);return bz(a,"start",Rw())};m.kd=function(a,b,c){Pz(Mz,[a],!Rw());return this.tb(a,b,c)};m.tb=function(a,b,c){return bz(a,c,Rw())};m.ck=function(a){return TA(a,"firstquartile",1)};m.ek=function(a){a.Da=!0;return TA(a,"midpoint",2)};m.ik=function(a){return TA(a,"thirdquartile",3)};m.Zj=function(a){var b=TA(a,"complete",4);Oy(a);return b};m.ak=function(a){a.wa=3;return bz(a,"error",Rw())}; var TA=function(a,b,c){Pz(Mz,[a],!Rw());Zy(a,c);c!=4&&Yy(a.N,c,a.ye);return bz(a,b,Rw())};m=JA.prototype;m.ni=function(a,b,c){b=Rw();a.wa!=2||b||(a.Ga().D=tw());Pz(Mz,[a],!b);a.wa==2&&(a.wa=1);return bz(a,c,b)};m.gk=function(a,b){b=this.kd(a,b||{},"skip");Oy(a);return b};m.dk=function(a,b){Xx(a,!0);return this.kd(a,b||{},"fullscreen")};m.bk=function(a,b){Xx(a,!1);return this.kd(a,b||{},"exitfullscreen")}; m.Lg=function(a,b,c){b=a.Ga();b.ca=By(b,tw(),a.wa!=1);Pz(Mz,[a],!Rw());a.wa==1&&(a.wa=2);return bz(a,c,Rw())};m.fk=function(a){Pz(Mz,[a],!Rw());return a.j()};m.rg=function(a){Pz(Mz,[a],!Rw());this.ji(a);Oy(a);return a.j()}; var IA=function(a){Tz(function(){var b=UA();a.j!=null&&(b.sdk=a.j);var c=L(xz);c.g!=null&&(b.avms=c.g.getName());return b})},VA=function(a,b,c,d){var e=pz(rz,c);e!==null&&e.Aa!==b&&(a.o(e),e=null);e||(b=a.C(c,tw(),!1,b),rz.j.length==0&&(S().o=79463069),wz([b]),e=b,e.A=QA(a),d&&(e.lc=d));return e};JA.prototype.U=function(){};var XA=function(a,b){b.D=0;for(var c in vq)a[c]==null&&(b.D|=vq[c]);WA(a,"currentTime");WA(a,"duration")};m=JA.prototype;m.Sg=function(){};m.ji=function(){};m.lh=function(){}; m.Tg=function(){};m.ag=function(){};m.Eh=function(){this.g||(this.g=this.ag());return this.g==null||this.l?new Gy:new pA(this.g)};m.Zf=function(){return new kA};var WA=function(a,b){var c=a[b];c!==void 0&&c>0&&(a[b]=Math.floor(c*1E3))},UA=function(){var a=Qw(),b={},c={},d={};return Object.assign({},(b.sv="966",b),aA!==null&&(c.v=aA,c),(d["if"]=a.l?"1":"0",d.nas=String(rz.g.length),d))};var YA=function(a){Dy.call(this,"audio_audible",a)};t(YA,Dy);YA.prototype.g=function(a){return a.we()==4};var ZA=function(a){Ey.call(this,"audio_measurable",a)};t(ZA,Ey);ZA.prototype.g=function(a){a=a.we();return a==3||a==4};var $A=function(){mA.apply(this,arguments)};t($A,mA);$A.prototype.j=function(){return new ZA(this.g)};$A.prototype.l=function(){return[new YA(this.g)]};var aB=function(){};t(aB,sy);aB.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 ry;b.g=ty(a,py);b.j=ty(a,qy);return b};var bB=function(a){this.j=a};bB.prototype.report=function(a,b){var c=this.g(b);if(typeof c==="function"){var d={};var e={};d=Object.assign({},aA!==null&&(d.v=aA,d),(e.sv="966",e.cb=$z,e.e=cB(a),e));e=bz(b,a,Rw());Xj(d,e);b.Fi[a]=e;d=b.Va()==2?nx(d).join("&"):b.Mg.g(d).g;try{return c(b.Aa,d,a),0}catch(f){return 2}}else return 1};var cB=function(a){var b=dA(a)?"custom_metric_viewable":a;a=Qj(function(c){return c==b});return zq[a]};bB.prototype.g=function(){return Ka(this.j)};var dB=function(a,b){this.j=a;this.l=b};t(dB,bB);dB.prototype.g=function(a){if(!a.lc)return bB.prototype.g.call(this,a);if(this.l[a.lc])return function(){};lw(393,Error());return null};var eB=function(){JA.call(this);this.H=void 0;this.K=null;this.L=!1;this.D={};this.O=0;this.B="ACTIVE_VIEW_TRAFFIC_TYPE_UNSPECIFIED"};t(eB,JA);var fB=function(){var a=L(eB),b=QA(a)=="h"||QA(a)=="b",c=!(S(),!1);b&&c&&(a.L=!0,a.K=new hz)}; eB.prototype.J=function(a,b){var c=this,d=L(xz);if(d.g!=null)switch(d.g.getName()){case "nis":var e=gB(this,a,b);break;case "gsv":e=hB(this,a,b);break;case "exc":e=iB(this,a)}e||(b.opt_overlayAdElement?e=void 0:b.opt_adElement&&(e=VA(this,a,b.opt_adElement,b.opt_osdId)));e&&e.Va()==1&&(e.B==yj&&(e.B=function(f){return c.lh(f)}),jB(this,e,b));return e};var jB=function(a,b,c){c=c.opt_configurable_tracking_events;a.g!=null&&Array.isArray(c)&&LA(a,c,b)}; eB.prototype.lh=function(a){a.j=0;a.O=0;if(a.A=="h"||a.A=="n"){if(S().l)var b=Ka("ima.bridge.getVideoMetadata");else if(a.lc&&kB(this)){var c=this.D[a.lc];c?b=function(e){return lB(c,e)}:c!==null&&lw(379,Error())}else b=Ka("ima.common.getVideoMetadata");if(typeof b==="function")try{var d=b(a.Aa)}catch(e){a.j|=4}else a.j|=2}else if(a.A=="b")if(b=Ka("ytads.bulleit.getVideoMetadata"),typeof b==="function")try{d=b(a.Aa)}catch(e){a.j|=4}else a.j|=2;else if(a.A=="ml")if(b=Ka("ima.common.getVideoMetadata"), typeof b==="function")try{d=b(a.Aa)}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:Sj(d)?a.j|=32:d.errorCode!=null&&(a.O=d.errorCode,a.j|=64));d==null&&(d={});XA(d,a);Lw(d.volume)&&Lw(this.H)&&(d.volume*=this.H);return d}; var hB=function(a,b,c){var d=oz(rz,b);d||(d=c.opt_nativeTime||-1,d=KA(a,b,QA(a),d),c.opt_osdId&&(d.lc=c.opt_osdId));return d},gB=function(a,b,c){var d=oz(rz,b);d||(d=KA(a,b,"n",c.opt_nativeTime||-1));return d},iB=function(a,b){var c=oz(rz,b);c||(c=KA(a,b,"h",-1));return c};eB.prototype.ag=function(){if(kB(this))return new dB("ima.common.triggerExternalActivityEvent",this.D);var a=mB(this);return a!=null?new bB(a):null}; var mB=function(a){var b=S();switch(QA(a)){case "b":return"ytads.bulleit.triggerExternalActivityEvent";case "n":return"ima.bridge.triggerExternalActivityEvent";case "h":if(b.l)return"ima.bridge.triggerExternalActivityEvent";case "m":case "ml":return"ima.common.triggerExternalActivityEvent"}return null};eB.prototype.Sg=function(a){!a.g&&a.Gb&&RA(this,a,"overlay_unmeasurable_impression")&&(a.g=!0)}; eB.prototype.ji=function(a){a.ti&&(a.Ib()?RA(this,a,"overlay_viewable_end_of_session_impression"):RA(this,a,"overlay_unviewable_impression"),a.ti=!1)}; var nB=function(a,b,c,d){c=c===void 0?{}:c;var e={};Xj(e,{opt_adElement:void 0,opt_fullscreen:void 0},c);var f=a.J(b,c);c=f?f.Mg:a.Zf();if(e.opt_bounds)return c.g(cA("ol",d));if(d!==void 0)if(bA(d)!==void 0)if(Wz)a=cA("ue",d);else if(OA(a),Vz=="i")a=cA("i",d),a["if"]=0;else if(b=a.J(b,e)){b:{Vz=="i"&&(b.Gb=!0,a.Tg(b));f=e.opt_fullscreen;f!==void 0&&Xx(b,!!f);var g;if(g=!Qw().j&&!wr()&&Nv(Pv().j)){switch(b.Va()){case 1:SA(b,"pv");break;case 2:a.Sg(b)}PA("pv")}f=d.toLowerCase();if(g=!g)c:{if(Bv(S().P, "ssmol")&&(g=a.l,f==="loaded"))break c;g=kc(wq,f)}if(g&&b.wa==0){Vz!="i"&&(Mz.done=!1);g=e!==void 0?e.opt_nativeTime:void 0;qw=g=typeof g==="number"?g:tw();b.Cd=!0;var h=Rw();b.wa=1;b.pa={};b.pa.start=!1;b.pa.firstquartile=!1;b.pa.midpoint=!1;b.pa.thirdquartile=!1;b.pa.complete=!1;b.pa.resume=!1;b.pa.pause=!1;b.pa.skip=!1;b.pa.mute=!1;b.pa.unmute=!1;b.pa.viewable_impression=!1;b.pa.measurable_impression=!1;b.pa.fully_viewable_audible_half_duration_impression=!1;b.pa.fullscreen=!1;b.pa.exitfullscreen= !1;b.dg=0;h||(b.Ga().D=g);Pz(Mz,[b],!h)}(g=b.Pc[f])&&b.la.reportEvent(g);Bv(S().P,"fmd")||kc(xq,f)&&b.Kb&&b.Kb.j(b,null);switch(b.Va()){case 1:var k=dA(f)?a.ba.custom_metric_viewable:a.ba[f];break;case 2:k=a.ca[f]}if(k&&(d=k.call(a,b,e,d),Bv(S().P,"fmd")&&kc(xq,f)&&b.Kb&&b.Kb.j(b,null),d!==void 0)){e=cA(void 0,f);Xj(e,d);d=e;break b}d=void 0}b.wa==3&&a.o(b);a=d}else a=cA("nf",d);else a=void 0;else Wz?a=cA("ue"):f?(a=cA(),Xj(a,az(f,!0,!1,!1))):a=cA("nf");return typeof a==="string"?c.g():c.g(a)}; eB.prototype.U=function(a){this.l&&a.Va()==1&&oB(this,a)};eB.prototype.Tg=function(a){this.l&&a.Va()==1&&oB(this,a)};var oB=function(a,b){var c;if(b.lc&&kB(a)){var d=a.D[b.lc];d?c=function(f,g){pB(d,f,g)}:d!==null&&lw(379,Error())}else c=Ka("ima.common.triggerViewabilityMeasurementUpdate");if(typeof c==="function"){var e=Wy(b);e.nativeVolume=a.H;c(b.Aa,e)}},kB=function(a){return S().l||QA(a)!="h"&&QA(a)!="m"?!1:a.O!=0}; eB.prototype.C=function(a,b,c,d){if(Yv(S().flags,HA)){var e=Bv(S().P,"mm"),f={};(e=(f[uq.Ii]="ACTIVE_VIEW_TRAFFIC_TYPE_AUDIO",f[uq.VIDEO]="ACTIVE_VIEW_TRAFFIC_TYPE_VIDEO",f)[e])&&e&&(this.B=e);this.B==="ACTIVE_VIEW_TRAFFIC_TYPE_UNSPECIFIED"&&lw(1044,Error())}a=JA.prototype.C.call(this,a,b,c,d);this.L&&(b=this.K,a.o==null&&(a.o=new ey),b.g[a.Aa]=a.o,a.o.A=ez);return a};eB.prototype.o=function(a){a&&a.Va()==1&&this.L&&delete this.K.g[a.Aa];return JA.prototype.o.call(this,a)}; eB.prototype.Eh=function(){this.g||(this.g=this.ag());return this.g==null||this.l?new Gy:this.B==="ACTIVE_VIEW_TRAFFIC_TYPE_AUDIO"?new $A(this.g):new pA(this.g)};eB.prototype.Zf=function(){return this.B==="ACTIVE_VIEW_TRAFFIC_TYPE_AUDIO"?new aB:new kA};var qB=function(a){var b={};return b.viewability=a.g,b.googleViewability=a.j,b},rB=function(a,b,c){c=c===void 0?{}:c;a=nB(L(eB),b,c,a);return qB(a)};C("Goog_AdSense_Lidar_sendVastEvent",kw(193,rB,void 0,UA)); C("Goog_AdSense_Lidar_getViewability",kw(194,function(a,b){b=b===void 0?{}:b;a=nB(L(eB),a,b);return qB(a)}));C("Goog_AdSense_Lidar_getUrlSignalsArray",kw(195,function(){return Rv()}));C("Goog_AdSense_Lidar_getUrlSignalsList",kw(196,function(){return JSON.stringify(Rv())}));var sB=sa(["//tpc.googlesyndication.com/sodar/",""]);A.console&&typeof A.console.log==="function"&&Xa(A.console.log,A.console);var tB=function(a){for(var b=[],c=a=Kr(a.ownerDocument);c!=a.top;c=c.parent)if(c.frameElement)b.push(c.frameElement);else break;return b};var uB=function(a,b){this.type=a;this.currentTarget=this.target=b;this.defaultPrevented=this.g=!1};uB.prototype.stopPropagation=function(){this.g=!0};uB.prototype.preventDefault=function(){this.defaultPrevented=!0};var vB=function(a,b){uB.call(this,a?a.type:"");this.relatedTarget=this.currentTarget=this.target=null;this.button=this.screenY=this.screenX=this.clientY=this.clientX=0;this.key="";this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1;this.state=null;this.pointerId=0;this.pointerType="";this.Qc=null;a&&this.init(a,b)};ab(vB,uB); vB.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.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.Qc=a;a.defaultPrevented&&vB.ib.preventDefault.call(this)}; vB.prototype.stopPropagation=function(){vB.ib.stopPropagation.call(this);this.Qc.stopPropagation?this.Qc.stopPropagation():this.Qc.cancelBubble=!0};vB.prototype.preventDefault=function(){vB.ib.preventDefault.call(this);var a=this.Qc;a.preventDefault?a.preventDefault():a.returnValue=!1};var wB="closure_listenable_"+(Math.random()*1E6|0),xB=function(a){return!(!a||!a[wB])};var yB=0;var zB=function(a,b,c,d,e){this.listener=a;this.proxy=null;this.src=b;this.type=c;this.capture=!!d;this.Be=e;this.key=++yB;this.Rd=this.ee=!1},AB=function(a){a.Rd=!0;a.listener=null;a.proxy=null;a.src=null;a.Be=null};var BB=function(a){this.src=a;this.g={};this.j=0};BB.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=CB(a,b,d,e);g>-1?(b=a[g],c||(b.ee=!1)):(b=new zB(b,this.src,f,!!d,e),b.ee=c,a.push(b));return b};BB.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.g))return!1;var e=this.g[a];b=CB(e,b,c,d);return b>-1?(AB(e[b]),oc(e,b),e.length==0&&(delete this.g[a],this.j--),!0):!1}; var DB=function(a,b){var c=b.type;c in a.g&&nc(a.g[c],b)&&(AB(b),a.g[c].length==0&&(delete a.g[c],a.j--))};BB.prototype.Dd=function(a,b,c,d){a=this.g[a.toString()];var e=-1;a&&(e=CB(a,b,c,d));return e>-1?a[e]:null};var CB=function(a,b,c,d){for(var e=0;e>>0),JB=function(a){if(typeof a==="function")return a;a[RB]||(a[RB]=function(b){return a.handleEvent(b)});return a[RB]};var U=function(){R.call(this);this.C=new BB(this);this.Pa=this;this.ba=null};ab(U,R);U.prototype[wB]=!0;m=U.prototype;m.addEventListener=function(a,b,c,d){IB(this,a,b,c,d)};m.removeEventListener=function(a,b,c,d){PB(this,a,b,c,d)}; m.dispatchEvent=function(a){var b,c=this.ba;if(c)for(b=[];c;c=c.ba)b.push(c);c=this.Pa;var d=a.type||a;if(typeof a==="string")a=new uB(a,c);else if(a instanceof uB)a.target=a.target||c;else{var e=a;a=new uB(d,c);Xj(a,e)}e=!0;var f;if(b)for(f=b.length-1;!a.g&&f>=0;f--){var g=a.currentTarget=b[f];e=SB(g,d,!0,a)&&e}a.g||(g=a.currentTarget=c,e=SB(g,d,!0,a)&&e,a.g||(e=SB(g,d,!1,a)&&e));if(b)for(f=0;!a.g&&f0){this.j--;var a=this.g;this.g=a.next;a.next=null}else a=this.l();return a};var VB=function(a,b){a.o(b);a.j<100&&(a.j++,b.next=a.g,a.g=b)};var WB=function(){this.j=this.g=null};WB.prototype.add=function(a,b){var c=XB.get();c.set(a,b);this.j?this.j.next=c:this.g=c;this.j=c};WB.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 XB=new UB(function(){return new YB},function(a){return a.reset()}),YB=function(){this.next=this.g=this.j=null};YB.prototype.set=function(a,b){this.j=a;this.g=b;this.next=null};YB.prototype.reset=function(){this.next=this.g=this.j=null};var ZB,$B=!1,aC=new WB,cC=function(a,b){ZB||bC();$B||(ZB(),$B=!0);aC.add(a,b)},bC=function(){var a=Promise.resolve(void 0);ZB=function(){a.then(dC)}};function dC(){for(var a;a=aC.remove();){try{a.j.call(a.g)}catch(b){pb(b)}VB(XB,a)}$B=!1};var eC=function(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(b){return!1}};var gC=function(a){this.g=0;this.B=void 0;this.o=this.j=this.l=null;this.A=this.C=!1;if(a!=yj)try{var b=this;a.call(void 0,function(c){fC(b,2,c)},function(c){fC(b,3,c)})}catch(c){fC(this,3,c)}},hC=function(){this.next=this.context=this.j=this.l=this.g=null;this.o=!1};hC.prototype.reset=function(){this.context=this.j=this.l=this.g=null;this.o=!1}; var iC=new UB(function(){return new hC},function(a){a.reset()}),jC=function(a,b,c){var d=iC.get();d.l=a;d.j=b;d.context=c;return d},lC=function(a,b,c){kC(a,b,c,null)||cC(Ya(b,a))},mC=function(a){return new gC(function(b){var c=a.length,d=[];if(c)for(var e=function(h,k,l){c--;d[h]=k?{Uj:!0,value:l}:{Uj:!1,reason:l};c==0&&b(d)},f,g=0;g1)));g=g.next)e||(f=g);e&&(c.g==0&&d==1?pC(c,b):(f?(d=f,d.next==c.o&&(c.o=d),d.next=d.next.next):qC(c),rC(c,e,3,b)))}a.l=null}else fC(a,3,b)},tC=function(a,b){a.j||a.g!=2&&a.g!=3||sC(a);a.o?a.o.next=b:a.j=b;a.o=b},nC=function(a,b,c,d){var e=jC(null,null,null);e.g=new gC(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 oC?g(h):f(k)}catch(l){g(l)}}:g});e.g.l=a;tC(a,e);return e.g};gC.prototype.J=function(a){this.g=0;fC(this,2,a)};gC.prototype.L=function(a){this.g=0;fC(this,3,a)}; var fC=function(a,b,c){a.g==0&&(a===c&&(b=3,c=new TypeError("Promise cannot resolve to itself")),a.g=1,kC(c,a.J,a.L,a)||(a.B=c,a.g=b,a.l=null,sC(a),b!=3||c instanceof oC||uC(a,c)))},kC=function(a,b,c,d){if(a instanceof gC)return tC(a,jC(b||yj,c||null,d)),!0;if(eC(a))return a.then(b,c,d),!0;if(Pa(a))try{var e=a.then;if(typeof e==="function")return vC(a,e,b,c,d),!0}catch(f){return c.call(d,f),!0}return!1},vC=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)}},sC=function(a){a.C||(a.C=!0,cC(a.F,a))},qC=function(a){var b=null;a.j&&(b=a.j,a.j=b.next,b.next=null);a.j||(a.o=null);return b};gC.prototype.F=function(){for(var a;a=qC(this);)rC(this,a,this.g,this.B);this.C=!1}; var rC=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,wC(b,c,d);else try{b.o?b.l.call(b.context):wC(b,c,d)}catch(e){xC.call(null,e)}VB(iC,b)},wC=function(a,b,c){b==2?a.l.call(a.context,c):a.j&&a.j.call(a.context,c)},uC=function(a,b){a.A=!0;cC(function(){a.A&&xC.call(null,b)})},xC=pb,oC=function(a){cb.call(this,a)};ab(oC,cb);oC.prototype.name="cancel";var yC=function(a,b){U.call(this);this.j=a||1;this.g=b||A;this.l=Xa(this.tl,this);this.o=Za()};ab(yC,U);m=yC.prototype;m.enabled=!1;m.bb=null;m.setInterval=function(a){this.j=a;this.bb&&this.enabled?(this.stop(),this.start()):this.bb&&this.stop()};m.tl=function(){if(this.enabled){var a=Za()-this.o;a>0&&a2147483647?-1:A.setTimeout(a,b||0)},AC=function(a,b){var c=null;return(new gC(function(d,e){c=zC(function(){d(b)},a);c==-1&&e(Error("Failed to schedule timer."))})).D(function(d){A.clearTimeout(c);throw d;})};var BC=function(){return Math.round(Date.now()/1E3)};var CC=function(){this.g={};return this};CC.prototype.remove=function(a){var b=this.g;a in b&&delete b[a]};CC.prototype.set=function(a,b){this.g[a]=b};var DC=function(a,b){a.g.eb=Uj(a.g,"eb",0)|b};CC.prototype.get=function(a){return Uj(this.g,a,null)};var EC=null,FC=function(){this.g={};this.j=0},GC=function(){EC||(EC=new FC);return EC},HC=function(a,b){a.g[b.getName()]=b},IC=function(a,b){this.o=a;this.l=!0;this.g=b};IC.prototype.getName=function(){return this.o};IC.prototype.getValue=function(){return this.g};IC.prototype.j=function(){return String(this.g)};var JC=function(a,b){IC.call(this,String(a),b);this.A=a;this.g=!!b};t(JC,IC);JC.prototype.j=function(){return this.g?"1":"0"};var KC=function(a,b){IC.call(this,a,b)};t(KC,IC); KC.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 LC=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 KC("",new Fm(c,b,Number(a[3])-c,Number(a[2])-b))}return new KC("",new Fm(0,0,0,0))};var MC=function(a){var b=new Fm(-Number.MAX_VALUE/2,-Number.MAX_VALUE/2,Number.MAX_VALUE,Number.MAX_VALUE),c=new Fm(0,0,0,0);if(!a||0==a.length)return c;for(var d=0;d0?(e=Gm(b),f=Gm(c),e=e.top>=f.top&&e.top0?(e=Gm(b),f=Gm(c),e=e.bottom<=f.bottom&&e.bottom>f.top):e=!1;HC(a,new JC(1024,e));d&&d>0?(e=Gm(b),f=Gm(c),e=e.left>=f.left&&e.left0?(b=Gm(b),c=Gm(c),c=b.right<=c.right&&b.right>c.left):c=!1;HC(a,new JC(4096,c))}};var PC=function(a,b){var c=0;Oj(Kr(),"ima","video","client","tagged")&&(c=1);var d=null;a&&(d=a());if(d){a=GC();a.g={};var e=new JC(32,!0);e.l=!1;HC(a,e);e=Kr().document;e=e.visibilityState||e.webkitVisibilityState||e.mozVisibilityState||e.msVisibilityState||"";HC(a,new JC(64,e.toLowerCase().substring(e.length-6)!="hidden"?!0:!1));a:{try{var f=Kr().top;try{var g=!!f.location.href||f.location.href===""}catch(p){g=!1}if(g){var h=tB(d);var k=h&&h.length!=0?"1":"0";break a}k="2";break a}catch(p){k="2"; break a}k=void 0}HC(a,new JC(256,k=="2"));HC(a,new JC(128,k=="1"));h=g=Kr().top;k=="2"&&(h=Kr());f=NC(d,h);HC(a,new KC("er",f));try{var l=h.document&&!h.document.body?null:Ir(h||window)}catch(p){l=null}l?(h=Jr(Fr(h.document).g),HC(a,new JC(16384,!!h)),l=h?new Fm(h.x,h.y,l.width,l.height):null):l=null;HC(a,new KC("vi",l));if(l&&"1"==k){k=tB(d);d=[];for(h=0;h0?Math.round(window.performance.timing.domLoading/1E3):null;c.set.call(c,"td",BC()-(a!=null?a:b!=null?b:BC()))};new yC(200); var QC=function(a,b){try{var c=new PC(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 JC)n.getValue()&&(e|=n.A);else{var q=l.g[p],r=q.l?q.j():"";r&&f.push(p+r)}}f.push("eb"+String(e));(k=f.join("_"))&&a.push(k);c.g.set("eb",d);return a.join("_")}catch(w){return"tle;"+Xk(w.name,12)+";"+Xk(w.message, 40)}};var RC=function(a){this.G=G(a)};t(RC,J);var SC=function(a){this.G=G(a)};t(SC,J);var TC=function(a){this.G=G(a)};t(TC,J);var UC=function(a){this.G=G(a)};t(UC,J);var VC=tj(UC);var WC=function(a){this.G=G(a)};t(WC,J);var XC=function(a){var b=new WC;return Bg(b,1,Qe(a))};var YC=[0,oj];var ZC=function(a){this.G=G(a)};t(ZC,J);var $C=function(a){var b=new ZC;return qh(b,1,a)},aD=function(a){var b=window.Date.now();b=Number.isFinite(b)?Math.round(b):0;return Bg(a,3,af(b))};ZC.prototype.getError=function(){return H(this,WC,10)};ZC.prototype.Qb=function(a){return $g(this,10,a)};var bD=tj(ZC);var cD=[0,ij,-1,bj,ej,-2,bj,aj,gj,YC,gj];var dD=[0,1,[0,dj,-2],-1,ij,-1,gj,[0,3,oj,ij],bj,pj,mj];var eD=function(a){this.G=G(a)};t(eD,J);eD.prototype.g=sj([0,jj,dD,jj,cD]);var fD=function(a){this.G=G(a)};t(fD,J);var gD=tj(fD);var hD=function(a){this.G=G(a)};t(hD,J);var kD=function(){var a=iD;this.A=jD;this.C="jserror";this.j=!0;this.g=a===void 0?null:a;this.l=null;this.o=!1;this.B=this.Jb};m=kD.prototype;m.Ug=function(a){this.l=a};m.pi=function(a){this.C=a};m.Vg=function(a){this.j=a};m.si=function(a){this.o=a}; m.Lc=function(a,b,c){try{if(this.g&&this.g.l){var d=this.g.start(a.toString(),3);var e=b();this.g.end(d)}else e=b()}catch(h){b=this.j;try{fn(d),b=this.B(a,new vj(h,{message:xj(h)}),void 0,c)}catch(k){this.Jb(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.Og=function(a,b,c,d){var e=this;return function(){var f=Ga.apply(0,arguments);return e.Lc(a,function(){return b.apply(c,f)},d)}}; m.Jb=function(a,b,c,d,e){e=e||this.C;try{var f=new Us;Zs(f,1,"context",a);wj(b)||(b=new vj(b,{message:xj(b)}));b.msg&&Zs(f,2,"msg",b.msg.substring(0,512));var g=b.meta||{};if(this.l)try{this.l(g)}catch(k){}if(d)try{d(g)}catch(k){}Ys(f,3,[g]);var h=Ts();h.j&&Zs(f,4,"top",h.j.url||"");Ys(f,5,[{url:h.g.url||""},{url:h.g.url?dl(h.g.url):""}]);lD(this.A,e,f,this.o,c)}catch(k){try{lD(this.A,e,{context:"ecmserr",rctx:a,msg:xj(k),url:h&&h.g.url},this.o,c)}catch(l){}}return this.j};var mD=function(){this.g=Math.random()},nD=function(){var a=jD,b=window.google_srt;b>=0&&b<=1&&(a.g=b)},lD=function(a,b,c,d,e){if(((d===void 0?0:d)?a.g:Math.random())<(e||.01))try{if(c instanceof Us)var f=c;else f=new Us,Dl(c,function(h,k){var l=f,p=l.o++;Ys(l,p,Vs(k,h))});var g=at(f,"https:","/pagead/gen_204?id="+b+"&");g&&Nl(A,g)}catch(h){}};var jD,oD,iD=new en(1,window);(function(a){jD=a!=null?a:new mD;typeof window.google_srt!=="number"&&(window.google_srt=Math.random());nD();oD=new kD;oD.Ug(function(){});oD.si(!0);window.document.readyState=="complete"?window.google_measure_js_timing||iD.C():iD.l&&Ej(window,"load",function(){window.google_measure_js_timing||iD.C()})})();var pD=function(a){this.G=G(a)};t(pD,J);var qD=function(a){var b=new pD;ch(b,1,Pe,a,Re)};qD([1,8,9,10,11,12,2,3,4,5,15,16,19,20,21]);qD([1,6,7,9,10,11,12,2,3,4,5,13,14,18,19,20,21]);qD([1,6,7,9,10,11,12,22,2,3,4,5,13,14,17,18,19,20,21]);new pD;var rD,sD,tD,uD=function(){return A.navigator?A.navigator.userAgent:""},vD=Ib(uD(),"(iPad")||Ib(uD(),"(Macintosh")||Ib(uD(),"(iPod")||Ib(uD(),"(iPhone");var wD=[0,2,1],xD=null;document.addEventListener&&document.addEventListener("mousedown",function(a){xD=a},!0); window.mb=function(a){if(a){var b;if(b=window.event||xD){var c;(c=b.which?1<=0?b.substring(0,d)+c+b.substring(e):b.substring(0,d)+c}b=Hk(c.length>6E4?b:c);b=Lk(b);b!==void 0&&(a.href=b)}}};var yD=new Set(["impression","click"]);var zD=/^((market|itms|intent|itms-appss):\/\/)/i;var AD=function(a,b,c){this.l=a;this.j=b;this.g=c};var BD=function(a,b,c,d,e){this.url=a;this.g=b;this.W=d===void 0?null:d;this.mimeType=c===void 0?null:c;this.Vd=!(e===void 0||!e)};var CD=function(a,b){this.url=a;this.g=b===void 0?null:b};var DD=function(a,b,c,d){var e=c===void 0?{}:c;c=e.xa===void 0?null:e.xa;e=e.Md===void 0?null:e.Md;this.eventType=a;this.url=b;this.g=typeof d==="string"?d:null;this.xa=c;this.Md=e;this.id=null};var ED=function(a,b,c,d,e,f){this.g=a;this.url=b;this.o=c===void 0?null:c;this.l=d===void 0?null:d;this.j=e===void 0?null:e;this.id=f===void 0?null:f},FD=function(a){var b=null,c=null;a.xa?b=parseInt(a.xa/1E3,10):a.Md&&(c=a.Md);return new ED(a.eventType,a.url,b,c,a.g,a.id)},GD=function(a,b,c,d){return new ED(a,b,null,null,c,d===void 0?null:d)},HD=function(a){return a.url instanceof CD?a.url.url:a.url},ID=function(a){return a.url instanceof CD?a.url:new CD(a.url,a.j)};ED.prototype.getId=function(){return this.id};var JD=function(){this.Z=new Map;this.M=new Map;this.A=[];this.yb=this.id=null;this.Sb="video";this.D=null;this.U=[];this.sc=null;this.ub=[]};JD.prototype.getId=function(){return this.id};JD.prototype.nb=function(a){this.Z.has(a.g)?this.Z.get(a.g).push(a):this.Z.set(a.g,[a])};var KD=function(a,b,c){this.j=a;this.l=b;this.g=c===void 0?null:c};KD.prototype.getName=function(){return this.j};var LD=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||LD();var MD=function(){this.adPosition=1;this.l=-1;this.tc=[];this.j=this.g=0;this.totalAds=1};MD.prototype.getAdPosition=function(){return this.adPosition};MD.prototype.getPodIndex=function(){return this.g};MD.prototype.getTimeOffset=function(){return this.j};MD.prototype.getTotalAds=function(){return this.totalAds};var QD=function(a,b){a=a===void 0?{}:a;b=b===void 0?new Map:b;ND(b,"ADCOUNT",function(){var e=a.ia;return(e=e===void 0?null:e)?e.getAdPosition().toString():"-1"});ND(b,"AD_MT",function(){var e=a.V;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.V;e=e===void 0?null:e;if(e==null)e="-1";else{e=e.getCurrentTime();var f=!0;f=f===void 0?!1:f;e=e<0?0:e;e=f?e:Math.round(e);if(f){var g=Math.floor(e/3600);if(Number.isFinite(g)){g= String(g);var h=g.indexOf(".");h===-1&&(h=g.length);var k=g[0]==="-"?"-":"";k&&(g=g.substring(1));g=k+Yk("0",Math.max(0,2-h))+g}else g=String(g);g+=":";h=Math.floor(e/60)%60<10?"0":""}else g=e>=3600?Math.floor(e/3600)+":":"",h=Math.floor(e/60)%60<10&&e>=3600?"0":"";e=""+g+h+Math.floor(e/60)%60+":"+(Math.floor(e%60)<10?"0":"")+Math.floor(e%60)+(f?(e%1).toFixed(3).slice(1):"")}return e});ND(b,"ADSERVINGID",function(){var e=a.ad;return(e=(e=e===void 0?null:e)&&e.sc)?e:"-1"});ND(b,"ASSETURI",function(){var e= a.V;e=e===void 0?null:e;return e==null?"-1":e.Hf()});OD(b,"CLICKPOS","-1");ND(b,"PODSEQUENCE",function(){var e=a.ad;return(e=e===void 0?null:e)&&e.D?e.D.toString():"-1"});var c=a,d=c.Bl;c=c.Cl;OD(b,"UNIVERSALADID",d&&c?d+" "+c:"-1");return 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.Sb:"-1"});OD(b,"APPBUNDLE",a.appName||"-1");ND(b,"BREAKMAXADS",function(){var d=a.ia;return(d=d===void 0?null:d)?d.getTotalAds().toString(): "-1"});OD(b,"BREAKMAXADLENGTH","-1");ND(b,"BREAKMAXDURATION",function(){var d=a.ia;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.ia;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.Ij||"-1");var c=a;OD(b,"CLIENTUA",SD({ke:c.ke,me:c.me,hf:c.hf,jf:c.jf}));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.Lh?a.Lh:"-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.ia;return(d=d===void 0?null:d)?d.getTimeOffset().toString():"-1"});ND(b,"OMIDPARTNER",function(){var d=a.Ig,e=a.Fk;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.ei||"-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.Kf;return(d=d===void 0?null:d)?d.transactionId.toString():"-1"});OD(b,"US_PRIVACY",a.El||"-1");a.Oc&&OD(b,"UACH",a.Oc);return b},OD=function(a,b,c){a.set(b,new KD(b,{toString:function(){return c}}))},ND=function(a,b,c){a.set(b,new KD(b,{toString:function(){return c()}}))},SD=function(a){var b=a.ke===void 0?null: a.ke;var c=a.me===void 0?null:a.me;var d=a.hf===void 0?null:a.hf;a=a.jf===void 0?null:a.jf;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=Bs()==2?null:Kr().top.location.hostname;return a?a:"-1"},UD=function(){var a=Bs()==2?null:Kr().top.location.href;return a?a:"-1"},VD=function(){return(new Date).toISOString()};var WD=/(?:\[|%5B)([a-zA-Z0-9_]+)(?:\]|%5D)/g,XD=function(a,b){return a.replace(WD,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(Zk(e))?null:encodeURIComponent(e).replace(/%2C/g,",")}else e=null;return e!=null?e:c})};var YD=function(a){this.D=a},ZD=function(a,b){return a.map(function(c){c=typeof c==="string"?new CD(c):c;return new CD(XD(c.url,b),c.g==null?null:XD(c.g,b))})},aE=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 CD(e):e});c=c?ZD(b,c):b;$D(a.D,c,d)};var cE=function(a,b,c){c=c===void 0?[]:c;this.D=b;var d=this;this.B=a;this.F=c;this.g=new Map;this.j=new Map;this.l=new Map;this.C=[];this.o=this.A=-1;N(M.getInstance(),"ua_e",navigator&&navigator.userActivation?"1":"0");M.getInstance().g.N.push(function(){return bE(d)})};t(cE,YD);cE.prototype.report=function(a,b){b=b===void 0?dE(this,a):b;eE(this,a,b||[])}; var eE=function(a,b,c){var d=c.map(function(f){return typeof f==="string"?new CD(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?fE(a,b,d):Promise.all(e).then(function(f){f=f[0];Array.isArray(f)&&f.every(function(g){return typeof g==="string"})?fE(a,b,f.map(function(g){return new CD(g)})):fE(a,b,d)})},fE=function(a,b,c){gE(a,b)?hE(a,b,c):iE(a,b)&& (b=="skip"&&navigator&&navigator.userActivation&&(N(M.getInstance(),"uas_hba",navigator.userActivation.hasBeenActive?"1":"0"),N(M.getInstance(),"uas_ia",navigator.userActivation.isActive?"1":"0")),c.filter(function(d){return d.url.match(/\/aclk.*label=video_engaged_view/)}).length&&(b=="complete"&&un(M.getInstance(),"evoace"),b=="progress"&&un(M.getInstance(),"evoape"),b=="engagedView"&&un(M.getInstance(),"evoaeve")),jE(a,b,c))},jE=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{qd:hl(d.url,"ad_signals"),th:hl(d.url,"auction_data"),label:hl(d.url,"label"),Uk:hl(d.url,"event_type")}}).filter(function(d){var e=d.qd;d=d.th;return!!e||!!d}).forEach(function(d){var e=d.qd,f=d.th,g=d.Uk||b;d=d.label||"";var h=h===void 0?A:h;if(e!==""||f!=="")if(g==="auctionwinner"){var k;(k=h.fence)==null||k.reportEvent({eventType:"auctionwinner",eventData:f,destination:["buyer"]})}else if(yD.has(g)){var l=new hD;l=qh(l,1,e);l=qh(l,6,d);l=qh(l,10,Date.now().toString()); g==="impression"&&Bg(l,9,Qe(1));l=Ph(l);if(g==="click"){var p;(p=h.fence)==null||p.setReportEventDataForAutomaticBeacons({eventType:"reserved.top_navigation",eventData:l,destination:["buyer"],once:!0});var n;(n=h.fence)==null||n.setReportEventDataForAutomaticBeacons({eventType:"reserved.top_navigation_start",eventData:l,destination:["buyer"],once:!0})}var q;(q=h.fence)==null||q.reportEvent({eventType:g,eventData:l,destination:["buyer"]})}else{h={qd:e,label:d||g};var r=r===void 0?A:r;g=new hD;h!=null&& (h.qd!=null&&qh(g,1,h.qd),h.zl!=null&&qh(g,3,h.zl),h.label!=null&&qh(g,6,h.label),h.vk!=null&&qh(g,7,h.vk),h.Kj!=null&&qh(g,8,h.Kj),h.dl!=null&&qh(g,11,h.dl));h=r;h=h===void 0?window:h;(l=h.fence)==null||l.reportEvent({eventType:"interaction",eventData:Ph(g),destination:["buyer"]})}}),c=c.filter(function(d){return!hl(d.url,"ad_signals")&&!hl(d.url,"auction_data")}),c.length&&aE(a,c,a.l,a.F.includes(b)));kE(a,b)},kE=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),jE(a,c,b))},lE=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(ID(h))):k&&k<=b&&k>a.A&&(f=k>f?k:f,e.push(ID(h)))});a.A=f;a.o=g;e.length>0&&a.report("progress",e)}}; cE.prototype.reportError=function(a){un(M.getInstance(),"err");N(M.getInstance(),"aec",String(a));var b=this.l;b=b===void 0?new Map:b;b.set("ERRORCODE",new KD("ERRORCODE",a));this.report("error")}; var mE=function(a,b){a.l.set(b.getName(),b)},nE=function(a,b){b.forEach(function(c){return mE(a,c)})},oE=function(a,b){a.C.push(b)},hE=function(a,b,c){var d=c;a.l!=null&&(d=ZD(c,a.l));a.j.has(b)?d.forEach(function(e){return void a.j.get(b).push(e)}):a.j.set(b,d)},gE=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}},iE=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)}},dE=function(a,b){return(a.B.get(b)||[]).map(function(c){return ID(c)})},bE=function(a){N(M.getInstance(), "rec",Array.from(a.g,function(b){var c=u(b);b=c.next().value;c=c.next().value;return b+"-"+c}).join("|"))};var pE={},qE=(pE.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(" "),pE),rE=new Map,sE=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;R.call(this);var g=this;this.l=e?e:String(Math.floor(Math.random()*1E9));this.j=b;this.g=c;this.F=d;this.D=f;this.o=new Iv;this.C=(a=a.M.get(AD))?a.j:"";this.A= a?a.g:"";this.B=a?a.l:[];oE(this.j,function(h){g.H(h)});a=Vo();Ev(a);rE.set(this.l,this)};t(sE,R);sE.prototype.reportEvent=function(a){this.j.report(a)};var uE=function(a,b){mE(a.j,new KD("VIEWABILITY",b.viewability));mE(a.j,new KD("GOOGLE_VIEWABILITY",b.googleViewability,function(c){return function(d){return tE(d,c)}}("GOOGLE_VIEWABILITY")))}; sE.prototype.H=function(a){var b=this.l,c=this.g,d=this.B;d=d===void 0?[]:d;var e=c.mg()||void 0,f={};c=(f.opt_fullscreen=c.ac(),f.opt_adElement=e,f);a=="start"&&(c.opt_configurable_tracking_events=d);a=rB(a,b,c);uE(this,a)};var tE=function(a,b){b=qE[b];return b==null?!0:b.some(function(c){return a.match(c)!=null})};sE.prototype.R=function(){rE.delete(this.l);this.g=this.j=null;this.o=new Iv};C("ima.common.triggerExternalActivityEvent",function(a,b,c){(a=rE.get(a))&&a.reportEvent(c)}); C("ima.common.getVideoMetadata",function(a){return(a=rE.get(a))?{currentTime:a.g.getCurrentTime(),duration:a.g.getDuration(),On:a.D,volume:a.g.Ge()?0:a.g.getVolume()}:{}});var vE=function(a){this.g=a===void 0?null:a};var wE=function(a){this.g=a};var xE=function(a){this.G=G(a)};t(xE,J);xE.prototype.getValue=function(){return kh(this,1)};xE.prototype.getVersion=function(){return I(this,5)};var yE=function(a){this.g=a};var zE=function(a){this.g=a};var AE=function(a){this.g=a},BE=function(){AE.apply(this,arguments)};t(BE,AE);var CE=function(){AE.apply(this,arguments)};t(CE,AE);var DE=function(){};var EE=function(a){this.g=a===void 0?null:a};var FE=function(a,b){var c=b===void 0?{}:b;b=c.vendor===void 0?null:c.vendor;var d=c.Pb===void 0?null:c.Pb;var e=c.parameters===void 0?null:c.parameters;c=c.Z===void 0?[]:c.Z;this.g=a;this.vendor=b;this.parameters=e;this.Pb=d;this.Z=c},GE=function(){this.g=[]},HE=function(a,b,c,d,e,f){a.g.push(new FE(c,{vendor:b,parameters:d,Pb:e,Z:f}))};var IE=function(a){this.g=a};IE.prototype.getDealId=function(){return this.g};var JE=function(a,b,c,d){this.l=a;this.g=d===void 0?null:d;this.o=b;this.j=c}; JE.prototype.init=function(a){var b,c=window,d=this.l,e=(b=this.g)!=null?b:void 0,f=this.o;b=this.j;var g="v_h."+a,h=f?"//pagead2.googlesyndication.com/bg/"+Tk(f)+".js":"";a=c.document;f={};e&&(f._scs_=e);f._bgu_=h;f._bgp_=b;g&&(f._li_=g);(e=c.GoogleTyFxhY)&&typeof e.push=="function"||(e=c.GoogleTyFxhY=[]);e.push(f);e=Nr(Fr(a).g,"SCRIPT");e.type="text/javascript";e.async=!0;d=wl(sB,Tk(d)+".js");Qk(e,d);(c=(c.GoogleTyFxhYEET||{})[e.src])?c():a.getElementsByTagName("head")[0].appendChild(e)};var KE=function(a){this.g=a};var LE=function(a,b,c,d){this.id=a;this.title=b;this.g=c;this.j=d};var ME=function(a,b,c,d,e){this.id=a;this.Hb=d===void 0?!1:d;this.title=b;this.j=c;this.g=!(e===void 0?0:e)};var NE=function(a,b,c){this.j=a;this.l=b;this.g=(c===void 0?null:c)||""};NE.prototype.Hb=function(){return this.j.Hb};var OE=function(a,b,c){b=b===void 0?null:b;c=c===void 0?{}:c;uB.call(this,a);this.l=b;this.j=c};t(OE,uB);OE.prototype.getAd=function(){return this.l};OE.prototype.getAdData=function(){return this.j};var PE=function(a){var b=a.ra;var c=a.Ba;var d=a.height;var e=a.width;a=a.oa===void 0?!1:a.oa;this.ra=b;this.Ba=c;this.height=d;this.width=e;this.oa=a};PE.prototype.getHeight=function(){return this.height};PE.prototype.getWidth=function(){return this.width};var QE=function(){this.j=this.resourceType=this.creativeType=this.content=this.Rb=null;this.height=this.width=-1;this.ue=!1;this.Na=null;this.g=[]};m=QE.prototype;m.getAdSlotId=function(){return this.Rb};m.getContent=function(){return this.content};m.getWidth=function(){return this.width};m.getHeight=function(){return this.height};m.getApiFramework=function(){return this.W};var RE=function(){this.g=this.l=0;this.ka=this.creativeType=this.j=null};RE.prototype.clone=function(){var a=new RE;a.l=this.l;a.g=this.g;a.j=this.j;a.creativeType=this.creativeType;a.ka=this.ka;return a};var SE=function(){this.ka=this.W=this.za=null;this.j=this.g=0;this.F=1;this.Za="left";this.ab="top";this.na=this.xa=-1;this.J=this.l=this.A=this.o=null;this.B=[];this.C=[];this.D=[]};SE.prototype.getApiFramework=function(){return this.W};var aF=function(a,b){this.j=a===void 0?"unknown":a;this.g=b===void 0?"unknown":b};aF.prototype.getAdIdValue=function(){return this.j};aF.prototype.getAdIdRegistry=function(){return this.g};var bF=function(){JD.call(this);this.N=this.l=this.qa=this.description=null;this.j=[];this.o=this.sa=null;this.va=[];this.B=this.creativeId=this.O=null;this.kb=[]};t(bF,JD);var cF=function(a){return a.j.length>0?a.j[0]:null};m=bF.prototype;m.getAdSystem=function(){return this.A.length?this.A[0]:null};m.getApiFramework=function(){return this.W};m.getDescription=function(){return this.description};m.isSkippable=function(){return this.qa!=null};m.getCreativeId=function(){return this.creativeId}; m.getCreativeAdId=function(){return this.B};m.getUniversalAdIds=function(){return this.kb};var dF=RegExp("(doubleclick\\.net|googleadservices\\.com|googlesyndication\\.com)"),eF=["ai","sigh"],fF=["xai","sig"];function gF(a){return a&&dF.test(a)?a.includes("/pagead/adview")||a.includes("/pagead/conversion")||a.includes("/gampad/live/conversion")||a.includes("/pagead/interaction")?eF.every(function(b){return fl(a,0,b,a.search(gl))>=0}):a.includes("/pcs/view")?fF.every(function(b){return fl(a,0,b,a.search(gl))>=0}):!1:!1} function hF(a,b){var c=a.indexOf("&adurl=");return c!=-1?a.substr(0,c)+b+a.substr(c,a.length):a+b}function iF(a,b){if(a&&b!=null){b=us()?"6":"5";for(var c=a.search(gl),d=0,e,f=[];(e=fl(a,d,"nis",c))>=0;)f.push(a.substring(d,e)),d=Math.min(a.indexOf("&",e)+1||c,c);f.push(a.slice(d));a=f.join("").replace(il,"$1");a=hF(a,"&nis="+b)}return a};var jF={Yk:function(a,b){var c=Zk(a);if(D(c))return a;gF(c)&&(a=hF(a,"&sdkv="+b),a=hF(a,"&ssss=gima"));return a}},kF=function(a){bF.call(this);this.K=a;this.ia=new MD;this.C=null;this.companionAds=[];this.dealId=null;this.F=[];this.J=[];this.L=[];this.H=String(Math.floor(Math.random()*1E9))};t(kF,bF);m=kF.prototype;m.nb=function(a){var b=jF.Yk(HD(a),this.K);bF.prototype.nb.call(this,new ED(a.g,b,a.o,a.l,a.j))};m.getAdPodInfo=function(){return this.ia};m.getAdvertiserName=function(){return this.C}; m.getCompanionAds=function(){return this.companionAds};m.getDealId=function(){return this.dealId};m.getWrapperAdIds=function(){return this.F};m.getWrapperAdSystems=function(){return this.J};m.getWrapperCreativeIds=function(){return this.L};m.ve=function(){return this.H};var lF=function(a){var b=a.Ei;var c=a.Ci;var d=a.uh;var e=a.ra;var f=a.Ba;var g=a.Di;var h=a.vh;PE.call(this,{ra:e,Ba:f,height:a.height,width:a.width,oa:a.oa===void 0?!1:a.oa});this.o=b;this.j=c;this.g=d;this.l=g;this.A=h};t(lF,PE);var mF=function(a){var b=a.Zh;var c=a.mimeType;PE.call(this,{ra:a.ra,Ba:a.Ba,height:a.height,width:a.width,oa:a.oa===void 0?!1:a.oa});this.j=b;this.g=c};t(mF,PE);mF.prototype.getMediaUrl=function(){return this.j};var nF=function(a,b,c){this.Ya=a;this.resourceType=b;this.creativeType=c===void 0?null:c};var oF=function(a){var b=a===void 0?{}:a;a=b.id===void 0?null:b.id;var c=b.Rb===void 0?null:b.Rb;var d=b.W===void 0?null:b.W;var e=b.width===void 0?null:b.width;var f=b.height===void 0?null:b.height;var g=b.ue===void 0?!1:b.ue;var h=b.zb===void 0?null:b.zb;var k=b.Wf===void 0?[]:b.Wf;var l=b.resources===void 0?[]:b.resources;b=b.Z===void 0?[]:b.Z;this.id=a;this.Rb=c;this.W=d;this.width=e;this.height=f;this.ue=g;this.zb=h;this.Wf=k;this.resources=l;this.Z=b};var pF=function(a,b){this.g=a;this.required=b===void 0?"none":b};var qF=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 rF=function(a,b,c,d){this.Ob=a;this.width=b===void 0?null:b;this.height=c===void 0?null:c;this.ka=d===void 0?null:d};var sF=function(a){var b=a===void 0?{}:a;a=b.ta===void 0?null:b.ta;var c=b.ob===void 0?[]:b.ob;b=b.xd===void 0?[]:b.xd;this.ta=a;this.ob=c;this.xd=b};var tF=function(a){var b=a===void 0?{}:a;a=b.za===void 0?null:b.za;var c=b.W===void 0?null:b.W;var d=b.Za===void 0?null:b.Za;var e=b.ab===void 0?null:b.ab;var f=b.width===void 0?null:b.width;var g=b.height===void 0?null:b.height;var h=b.ka===void 0?null:b.ka;var k=b.sg===void 0?null:b.sg;var l=b.xa===void 0?null:b.xa;var p=b.na===void 0?null:b.na;var n=b.Mc===void 0?null:b.Mc;var q=b.Ha===void 0?null:b.Ha;var r=b.Yc===void 0?[]:b.Yc;b=b.resources===void 0?[]:b.resources;this.za=a;this.W=c;this.Za= d;this.ab=e;this.width=f;this.height=g;this.ka=h;this.sg=k;this.xa=l;this.Mc=n;this.na=p;this.Ha=q;this.Yc=r;this.resources=b};var uF=function(a,b){var c=b===void 0?{}:b;b=c.mimeType===void 0?null:c.mimeType;var d=c.W===void 0?null:c.W;c=c.Vd===void 0?null:c.Vd;this.Ob=a;this.W=d;this.mimeType=b;this.Vd=c};var vF=function(a,b){var c=b===void 0?{}:b;b=c.rb===void 0?null:c.rb;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.rb=b;this.mimeType=d;this.codec=e;this.width=f;this.height=c};var wF=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.rb===void 0?null:c.rb;var f=c.mimeType===void 0?null:c.mimeType;var g=c.W===void 0?null:c.W;var h=c.bitrate===void 0?null:c.bitrate;var k=c.Ag===void 0?null:c.Ag;var l=c.maxBitrate===void 0?null:c.maxBitrate;var p=c.da===void 0?null:c.da;vF.call(this,a,{rb:e,mimeType:f,codec:c.codec===void 0?null:c.codec,width:d,height:b});this.W=g;this.Ag=k||l||h||0;this.maxBitrate=l||k||h||0; this.da=p};t(wF,vF);var xF=function(a){var b=a===void 0?{}:a;a=b.ta===void 0?null:b.ta;var c=b.ob===void 0?[]:b.ob;b=b.qe===void 0?[]:b.qe;this.ta=a;this.ob=c;this.qe=b};var yF=function(a){var b=a===void 0?{}:a;a=b.duration===void 0?null:b.duration;var c=b.qa===void 0?null:b.qa;var d=b.Z===void 0?[]:b.Z;var e=b.Te===void 0?[]:b.Te;var f=b.ub===void 0?[]:b.ub;var g=b.Vf===void 0?[]:b.Vf;var h=b.Af===void 0?null:b.Af;var k=b.sa===void 0?null:b.sa;b=b.va===void 0?[]:b.va;this.duration=a;this.sa=k;this.qa=c;this.Z=d;this.Te=e;this.ub=f;this.Vf=g;this.Af=h;this.va=b};var zF=function(a){var b=a===void 0?{}:a;a=b.id===void 0?null:b.id;var c=b.W===void 0?null:b.W;var d=b.height===void 0?null:b.height;var e=b.width===void 0?null:b.width;var f=b.Bg===void 0?null:b.Bg;var g=b.resources===void 0?[]:b.resources;var h=b.Gg===void 0?null:b.Gg;var k=b.Hg===void 0?[]:b.Hg;b=b.sa===void 0?null:b.sa;this.id=a;this.W=c;this.height=d;this.width=e;this.Bg=f;this.resources=g;this.Gg=h;this.Hg=k;this.sa=b};var AF=function(a,b){b=b===void 0?[]:b;this.g=a;this.Z=b};var BF=function(a){var b=a===void 0?{}:a;a=b.Ee===void 0?"unknown":b.Ee;b=b.De===void 0?"unknown":b.De;this.Ee=a||"unknown";this.De=b||"unknown"};var CF=function(a){var b=a===void 0?{}:a;a=b.Na===void 0?null:b.Na;var c=b.id===void 0?null:b.id;var d=b.adId===void 0?null:b.adId;var e=b.vb===void 0?null:b.vb;var f=b.bf===void 0?null:b.bf;var g=b.yc===void 0?null:b.yc;b=b.kb===void 0?[]:b.kb;this.Na=a;this.id=c;this.adId=d;this.vb=e;this.bf=f;this.yc=g;this.kb=b};var DF=function(a,b){this.url=a;this.g=b===void 0?null:b};var EF=function(a){var b=a===void 0?{}:a;a=b.vendor===void 0?null:b.vendor;var c=b.Sd===void 0?null:b.Sd;var d=b.Pb===void 0?null:b.Pb;var e=b.parameters===void 0?null:b.parameters;b=b.Z===void 0?[]:b.Z;this.vendor=a;this.Sd=c;this.Pb=d;this.parameters=e;this.Z=b};var FF=function(a){var b=a===void 0?{}:a;a=b.Sa===void 0?null:b.Sa;var c=b.errors===void 0?[]:b.errors;var d=b.Eb===void 0?[]:b.Eb;var e=b.ua===void 0?[]:b.ua;var f=b.Qa===void 0?[]:b.Qa;b=b.M===void 0?[]:b.M;this.Sa=a;this.g=c;this.j=d;this.ua=e;this.Qa=f;this.M=b};var GF=function(a,b){var c=b===void 0?{}:b;b=c.id===void 0?null:c.id;var d=c.Na===void 0?null:c.Na;c=c.Sb===void 0?null:c.Sb;this.g=a;this.id=b;this.Na=d;this.Sb=c=="audio"?"audio":c=="hybrid"?"hybrid":"video"};var HF=function(a){this.g=a=a===void 0?[]:a};HF.prototype.unshift=function(a){this.g.unshift(a)};var IF=function(a,b){var c=[];a.g.forEach(function(d){c=c.concat(d.g.M.filter(function(e){return e instanceof b}))});return c};var JF=function(a){this.Z=a=a===void 0?[]:a};var KF=function(a,b,c,d){b=b===void 0?[]:b;c=c===void 0?"":c;d=d===void 0?"":d;JF.call(this,a);this.g=b;this.l=c;this.j=d};t(KF,JF);var LF=function(){};LF.prototype.g=function(a,b){var c=[],d="",e="";IF(a,KF).forEach(function(f){c.push.apply(c,v(f.g));d=d||f.l;e=e||f.j});(c.length>0||d||e)&&b.M.set(AD,new AD(c,d,e))};var MF=function(){var a={};var b=a.uc===void 0?"":a.uc;var c=a.wc===void 0?"http://www.google.com/adsense/support":a.wc;var d=a.Of===void 0?!1:a.Of;a=a.Xg===void 0?0:a.Xg;this.uc=b;this.wc=c;this.Of=d;this.Xg=a};var NF=function(a,b){var c=b===void 0?{}:b;b=c.uc===void 0?null:c.uc;var d=c.wc===void 0?null:c.wc;var e=c.Yf===void 0?null:c.Yf;var f=c.wg===void 0?!1:c.wg;var g=c.af===void 0?[]:c.af;var h=c.Wg===void 0?!1:c.Wg;var k=c.uiConfig===void 0?null:c.uiConfig;var l=c.hh===void 0?null:c.hh;c=c.Ef===void 0?null:c.Ef;JF.call(this,a);this.uc=b;this.wc=d;this.Yf=e;this.wg=f;this.af=g;this.Wg=h;this.uiConfig=k;this.hh=l;this.Ef=c};t(NF,JF);var OF=function(){};OF.prototype.g=function(a,b){a=u(a.g);for(var c=a.next();!c.done;c=a.next()){c=u(c.value.g.M);for(var d=c.next();!d.done;d=c.next())if(d=d.value,d instanceof NF){b.M.set(vE,new vE(d.Ef,d.af));return}}};var PF=function(a){this.g=a};function QF(a){return(a==null?[]:a.xd).map(function(b){var c=new RE;c.l=b.width||0;c.g=b.height||0;c.j=b.Ob?b.Ob.Ya:"";c.ka=b.ka;return c})} function RF(a){var b=a.resources.find(function(f){return f.resourceType==="Static"});if(!b)return null;var c=new SE;c.za=a.za;c.W=a.W;c.ka=a.ka;c.Za=a.Za!=null?a.Za:"left";c.ab=a.ab!=null?a.ab:"top";c.j=a.height?a.height:0;c.g=a.width?a.width:0;c.F=a.Mc?a.Mc:1;c.xa=a.xa?a.xa:0;c.na=a.na?a.na:-1;c.B=a.Yc;if(a.Ha&&a.Ha.ta){c.o=a.Ha.ta.url;c.A=vs(a.Ha.ta);for(var d=u(a.Ha.ob),e=d.next();!e.done;e=d.next())c.C.push(e.value.url)}c.D=QF(a.Ha);c.l=b.Ya;c.J=b.creativeType;return c}var SF=function(){}; SF.prototype.g=function(a,b){a=u(a.g);for(var c=a.next();!c.done;c=a.next()){c=u(c.value.g.M);for(var d=c.next();!d.done;d=c.next())d=d.value,d instanceof PF&&(d=RF(d.g))&&b.M.set(wE,new wE(d))}};var TF="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(" "),UF=["c.googlesyndication.com"]; function VF(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:WF(a,UF)?c=!1:b.includes("https")&&WF(a,TF)&&(c=!0);return c?(a=new Xr(a),N(M.getInstance(),"htp","1"),Yr(a,"https"),a.toString()):a}function XF(a){if(!a)return!1;try{return(typeof a==="string"?new Xr(a):a).o==="gcache"}catch(b){return!1}}function YF(a){var b;if(b=XF(a))b=!!(new Xr(a)).g.get("url");return b} function ZF(a){try{var b=typeof a==="string"?new Xr(a):a;if(XF(b)){var c,d;return(d=(c=b.g.get("url"))!=null?c:b.g.get("tag.check_url"))!=null?d:null}}catch(e){}return null}function WF(a,b){return(new RegExp("^https?://([a-z0-9-]{1,63}\\.)*("+b.join("|").replace(/\./g,"\\.")+")(:[0-9]+)?([/?#]|$)","i")).test(a)} function $F(a){a=new Xr(a);var b=a.j;if(a.o!="http"&&a.o!="https")a=!1;else if(b.indexOf(".")==-1||b.match(/^[\.0-9]*$/))a=!1;else a:{try{Sk(a.toString())}catch(c){a=!1;break a}a=!0}return a};var aG=sa(["about:blank"]),bG=sa(["javascript:undefined"]),cG=wl(aG);fk(cG);var dG=wl(bG);fk(dG);var eG=function(){};eG.prototype.g=function(a,b){if(a.g.length!=0&&b instanceof kF){var c,d=((c=b.M.get(wE))==null?void 0:c.g)||null;a=u(a.g);for(c=a.next();!c.done;c=a.next()){c=u(c.value.g.ua);for(var e=c.next();!e.done;e=c.next())if(e=e.value,e.yc!=null)for(var f=u(e.yc.g),g=f.next();!g.done;g=f.next())(g=fG(g.value,e.Na,d))&&b.companionAds.push(g)}}}; var gG=function(a){var b=a.find(function(c){return c.resourceType=="IFrame"});return b||(b=a.find(function(c){return c.resourceType=="Html"}))?b:(b=a.find(function(c){return c.resourceType=="Static"&&rs.includes(c.creativeType||"")}))?b:a.length>0?a[0]:null},fG=function(a,b,c){var d=gG(a.resources);if(!d)return null;var e=hG(a,d,b,c);e.g=a.resources.filter(function(f){return f!=d}).map(function(f){return hG(a,f,b,c)});return e},hG=function(a,b,c,d){var e=new QE;e.Rb=a.Rb;e.width=a.width||-1;e.height= a.height||-1;e.W=a.W;e.creativeType=b.creativeType;e.resourceType=b.resourceType;e.j=b.Ya;e.Na=c;if(ur())d=null;else{var f=iG(a,b);f?(c=Nr(document,"div"),c.id=a.id,Bw(c,{height:a.height+"px",width:a.width+"px"}),Pr(c,f),a=jG(a.Z),Pr(c,a),"outerHTML"in c?c=c.outerHTML:(a=Nr(Er(c),"DIV"),a.appendChild(c.cloneNode(!0)),c=a.innerHTML),b.resourceType=="Static"&&(b=VF(Zk(b.Ya)),c.indexOf("\n \n \n \n '+c+"\n "),d=c):d=""}e.content=d;return e},iG=function(a,b){if(b.resourceType=="Static"&&rs.includes(b.creativeType|| "")){b=Nr(document,"a");b.target="_blank";var c=a.zb&&a.zb.url;c&&(c=Lk(c),c!==void 0&&(b.href=c),a=a.zb,(a==null?void 0:a.g)!=null&&us()&&b.setAttribute("attributionsrc",Zk(a.g)));a=Nr(document,"img");a.src="";a.border="0";Bw(a,{height:"100%",width:"100%"});Pr(b,a);return b}return b.resourceType=="IFrame"?(b=b.Ya,a.zb!=null&&(b=new Xr(b),ks(b,"clickTAG",encodeURIComponent(String(a.zb.url))),b=b.toString()),c=Mr("IFRAME",{marginwidth:0,marginheight:0,hspace:0,vspace:0,frameborder:0,scrolling:"no"}), c.height=a.height,c.width=a.width,c.setAttribute("src",VF(b)),c):b.resourceType=="Html"?(a=Mr("DIV"),c=b.Ya,b=document.implementation.createHTMLDocument(""),c=ul(c,b),b=b.body,b.appendChild(c),b=(new XMLSerializer).serializeToString(b),b=b.slice(b.indexOf(">")+1,b.lastIndexOf("0&&(a.B=setTimeout(a.ca.bind(a),a.K)),a.A=!0,a.g.send(b),a.A=!1}catch(g){JG(a)}};GG.prototype.ca=function(){typeof Ja!="undefined"&&this.g&&(this.o=8,this.dispatchEvent("timeout"),this.abort(8))}; var JG=function(a){a.j=!1;a.g&&(a.l=!0,a.g.abort(),a.l=!1);a.o=5;MG(a);NG(a)},MG=function(a){a.D||(a.D=!0,a.dispatchEvent("complete"),a.dispatchEvent("error"))};GG.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"),NG(this))};GG.prototype.R=function(){this.g&&(this.j&&(this.j=!1,this.l=!0,this.g.abort(),this.l=!1),NG(this,!0));GG.ib.R.call(this)}; GG.prototype.O=function(){this.Fb()||(this.F||this.A||this.l?OG(this):this.aa())};GG.prototype.aa=function(){OG(this)}; var OG=function(a){if(a.j&&typeof Ja!="undefined")if(a.A&&(a.g?a.g.readyState:0)==4)setTimeout(a.O.bind(a),0);else if(a.dispatchEvent("readystatechange"),(a.g?a.g.readyState:0)==4){a.j=!1;try{var b=PG(a);a:switch(b){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:var c=!0;break a;default:c=!1}var d;if(!(d=c)){var e;if(e=b===0){var f=String(a.H).match(cl)[1]||null;!f&&A.self&&A.self.location&&(f=A.self.location.protocol.slice(0,-1));e=!HG.test(f?f.toLowerCase():"")}d=e}d?(a.dispatchEvent("complete"), a.dispatchEvent("success")):(a.o=6,MG(a))}finally{NG(a)}}},NG=function(a,b){if(a.g){KG(a);var c=a.g;a.g=null;b||a.dispatchEvent("ready");try{c.onreadystatechange=null}catch(d){}}},KG=function(a){a.B&&(clearTimeout(a.B),a.B=null)};GG.prototype.isActive=function(){return!!this.g};var PG=function(a){try{return(a.g?a.g.readyState:0)>2?a.g.status:-1}catch(b){return-1}},QG=function(a){if(a.g){a:{a=a.g.responseText;if(A.JSON)try{var b=A.JSON.parse(a);break a}catch(c){}b=xn(a)}return b}};var RG=RegExp("/itag/(\\d+)/"),SG=RegExp("/cpn/([\\w-]{16})(/|$)"),TG=RegExp("^[\\w-]{16}$");function UG(a){var b=Number(hl(a,"itag"));return b?b:(a=a.match(RG))&&a.length===2?Number(a[1]):null}function VG(a){var b=CG[a];a=EG[a];b?(b=Zk(b).toLowerCase(),b=a?b+'; codecs="'+Zk(a)+'"':b):b="";return b}function WG(a,b){if(typeof CustomEvent==="function")return new CustomEvent(a,{detail:b});var c=document.createEvent("CustomEvent");c.initCustomEvent(a,!1,!0,b);return c};var YG=function(){var a=new XG;this.j=a===void 0?null:a}; YG.prototype.g=function(a,b){if(b instanceof bF&&this.j&&!(b.j.length>0)){a=u(a.g);for(var c=a.next();!c.done;c=a.next()){c=u(c.value.g.M);for(var d=c.next();!d.done;d=c.next())if(d=d.value,d instanceof tG){a:{var e=this.j;un(M.getInstance(),"ghmsh_s");for(var f="",g="",h="",k=0,l=u(d.j),p=l.next();!p.done;p=l.next())p=p.value,f+=p.da+",",p.url.indexOf("gvt1.com")>=0&&k++;l=u(d.l);for(p=l.next();!p.done;p=l.next())p=p.value,g+=p.da+",",p.url.indexOf("gvt1.com")>=0&&k++;l=u(d.g);for(p=l.next();!p.done;p= l.next())p=p.value,h+=p.da+",",p.url.indexOf("gvt1.com")>=0&&k++;l=u(d.o);for(p=l.next();!p.done;p=l.next())p=p.value,p.mimeType=="application/dash+xml"?N(M.getInstance(),"ghmsh_hd","1"):p.mimeType=="application/vnd.apple.mpegurl"&&N(M.getInstance(),"ghmsh_hh","1");N(M.getInstance(),"ghmsh_mi",f);N(M.getInstance(),"ghmsh_vi",g);N(M.getInstance(),"ghmsh_ai",h);N(M.getInstance(),"ghmsh_gvt",k.toString());e=ZG(e,d);e||(un(M.getInstance(),"ghmsh_f"),d.j.length>0?e=$G(d.j[0]):d.g.length>0&&d.l.length> 0?e=aH(d.l[0],d.g[0]):(un(M.getInstance(),"ghmsh_ff"),e=null));if(e){(f=e)?(N(M.getInstance(),"ams","1"),f.getWidth()&&f.getHeight()&&N(M.getInstance(),"vs",f.getWidth()+"x"+f.getHeight()),f.ra&&N(M.getInstance(),"vc",f.ra),f instanceof mF?(f.g&&N(M.getInstance(),"mt",f.g),f.getMediaUrl().indexOf("gvt1.com")>=0&&N(M.getInstance(),"gvt1","1"),bH(f.getMediaUrl())):f instanceof lF&&(f.l&&N(M.getInstance(),"mt",f.l),f.j&&(N(M.getInstance(),"bit",String(f.j)),f.o.indexOf("gvt1.com")>=0&&N(M.getInstance(), "gvt1","1")),f.g&&N(M.getInstance(),"bait",String(f.g)),bH(f.o))):N(M.getInstance(),"ams","0");cH(e);if(Oo(ip)&&(f=(f=dH(d,18))?f:null)){e=[e,f];break a}e=[e]}else e=[]}f=void 0;if(e.length>0)for(g=u(e),h=g.next();!h.done;h=g.next())if(h=h.value,k=void 0,h instanceof mF&&(k=h.getMediaUrl()),h instanceof lF&&(k=h.o),k&&(h=k,h=(k=hl(h,"cpn"))&&k.match(TG)?k:(h=h.match(SG))&&h.length===3?h[1]:null,h)){f=h;break}d=f?f:d.A;N(M.getInstance(),"cpn",d);b.O=d;d=u(e);for(e=d.next();!e.done;e=d.next())b.j.push(e.value)}}}};var eH=function(a){this.g=a};var fH=function(){};fH.prototype.g=function(a,b){a=u(a.g);for(var c=a.next();!c.done;c=a.next()){c=u(c.value.g.M);for(var d=c.next();!d.done;d=c.next())if(d=d.value,d instanceof eH)try{var e=d.g;var f=Ib(e,"&")?"document"in A?Vk(e):Wk(e):e;var g=gD(f);b.M.set(DE,new DE(g));return}catch(h){}}};var gH=function(){};gH.prototype.g=function(a,b){b instanceof bF&&(b.o=hH(a),b.o&&(b.o.B.forEach(function(c){b.nb(new ED("vastIconRendered",c))}),b.o.C.forEach(function(c){b.nb(new ED("vastIconClicked",c))})))}; var hH=function(a){a=iH(a);a=u(a);for(var b=a.next();!b.done;b=a.next())if(b=jH(b.value))return b;return null},iH=function(a){var b=[];a=u(a.g);for(var c=a.next();!c.done;c=a.next()){c=u(c.value.g.ua);for(var d=c.next();!d.done;d=c.next())d=d.value,d.vb&&b.push.apply(b,v(d.vb.va))}return b},kH=function(a){return(a==null?[]:a.xd).map(function(b){var c=new RE;c.l=b.width||0;c.g=b.height||0;c.j=b.Ob?b.Ob.Ya:"";c.ka=b.ka;return c})},jH=function(a){var b=a.resources.find(function(f){return f.resourceType=== "Static"});if(!b)return null;var c=new SE;c.za=a.za;c.W=a.W;c.ka=a.ka;c.Za=a.Za!=null?a.Za:"left";c.ab=a.ab!=null?a.ab:"top";c.j=a.height?a.height:0;c.g=a.width?a.width:0;c.F=a.Mc?a.Mc:1;c.xa=a.xa?a.xa:0;c.na=a.na?a.na:-1;c.B=a.Yc;if(a.Ha&&a.Ha.ta){c.o=a.Ha.ta.url;c.A=vs(a.Ha.ta);for(var d=u(a.Ha.ob),e=d.next();!e.done;e=d.next())c.C.push(e.value.url)}c.D=kH(a.Ha);c.l=b.Ya;c.J=b.creativeType;return c};var lH=function(a){var b=a===void 0?{}:a;a=b.sc===void 0?null:b.sc;var c=b.Sa===void 0?null:b.Sa;var d=b.yb===void 0?null:b.yb;var e=b.Zd===void 0?null:b.Zd;var f=b.description===void 0?null:b.description;var g=b.Yg===void 0?null:b.Yg;FF.call(this,{Sa:c,errors:b.errors===void 0?[]:b.errors,Eb:b.Eb===void 0?[]:b.Eb,ua:b.ua===void 0?[]:b.ua,Qa:b.Qa===void 0?[]:b.Qa,M:b.M===void 0?[]:b.M});this.sc=a;this.yb=d;this.Zd=e;this.description=f;this.Yg=g};t(lH,FF);var mH=function(){}; mH.prototype.g=function(a,b){if(b instanceof bF)if(b.j.length>0)N(M.getInstance(),"msm","0");else{N(M.getInstance(),"msm","1");a=u(a.g);for(var c=a.next();!c.done;c=a.next()){c=c.value;for(var d=u(c.g.ua),e=d.next();!e.done;e=d.next())if((e=e.value.vb)&&c.g instanceof lH&&(e=e.Te[0])){var f=new Xr(e.url);f.j==="www.youtube.com"&&f.l==="/get_video"&&N(M.getInstance(),"ugvu","1");f=(e.url=e.url)?UG(e.url):null;f=new mF({Zh:e.url,da:f,mimeType:e.mimeType,ra:e.codec,Ba:e.codec,height:e.height,width:e.width, Ab:null});b.W=e.W;b.j.push(f)}}}};var nH=function(a,b){this.g=a===void 0?null:a;this.j=b===void 0?null:b};var oH=function(){};oH.prototype.g=function(a,b){a=u(a.g);for(var c=a.next();!c.done;c=a.next()){a:{var d=b;c=u(c.value.g.M);for(var e=c.next();!e.done;e=c.next())if(e=e.value,e instanceof nH){d.M.set(EE,new EE(e.g,e.j));d=!0;break a}d=!1}if(d)break}};var pH=function(){};t(pH,gH);pH.prototype.g=function(a,b){b instanceof bF&&(b.va=qH(a))};var qH=function(a){var b=new Set;return iH(a).map(function(c){return jH(c)}).filter(function(c){if(!c||b.has(c.za))return!1;b.add(c.za);return!0})};var rH=function(a){this.Qa=a=a===void 0?[]:a};var sH=function(){};sH.prototype.g=function(a,b){var c=new GE,d=[];IF(a,rH).forEach(function(e){d=d.concat(e.Qa)});a.g.forEach(function(e){d=d.concat(e.g.Qa)});d.forEach(function(e){var f=e.Sd;if(f){var g=e.Z.map(function(h){return FD(h)});HE(c,e.vendor,f,e.parameters,e.Pb,g)}});c.g.length&&b.M.set(GE,c)};var tH=function(a){this.dealId=a};var uH=function(){};uH.prototype.g=function(a,b){a=u(a.g.slice().reverse());for(var c=a.next();!c.done;c=a.next()){c=u(c.value.g.M);for(var d=c.next();!d.done;d=c.next())if(d=d.value,d instanceof tH&&(d=d.dealId)&&!D(d)){b.M.set(IE,new IE(d));return}}};var yH=function(){this.j=[new LF,new OF,new SF,new eG,new kG,new nG,new pG,new rG,new YG,new fH,new mH,new oH,new pH,new sH,new uH,new vH,new wH,new xH]};yH.prototype.g=function(a,b,c){for(var d=u(this.j),e=d.next();!e.done;e=d.next())e.value.g(a,b,c)};var zH=function(a,b,c,d){this.l=a;this.j=d===void 0?null:d;this.o=b;this.g=c};var vH=function(){};vH.prototype.g=function(a,b){a=u(a.g.slice());for(var c=a.next();!c.done;c=a.next()){c=u(c.value.g.M);for(var d=c.next();!d.done;d=c.next())if(d=d.value,d instanceof zH){b.M.set(JE,new JE(d.l,d.o,d.g,d.j));return}}};var AH=function(a){this.g=a===void 0?!1:a};var wH=function(){};wH.prototype.g=function(a,b){for(var c=u(a.g),d=c.next();!d.done;d=c.next()){d=u(d.value.g.M);for(var e=d.next();!e.done;e=d.next())if(e=e.value,e instanceof AH&&(e=new KE(e.g),!e.g)){b.M.set(KE,e);return}}if(a=a.g.length<1?null:a.g[a.g.length-1])for(a=u(a.g.M),c=a.next();!c.done;c=a.next())c=c.value,c instanceof AH&&b.M.set(KE,new KE(c.g))};var BH=function(a){var b=a===void 0?{}:a;a=b.videoId===void 0?null:b.videoId;var c=b.Hb===void 0?!1:b.Hb;var d=b.Wd===void 0?null:b.Wd;var e=b.Bf===void 0?null:b.Bf;var f=b.cd===void 0?!1:b.cd;var g=b.ie===void 0?null:b.ie;var h=b.wd===void 0?null:b.wd;var k=b.vd===void 0?null:b.vd;var l=b.he===void 0?null:b.he;var p=b.format===void 0?null:b.format;var n=b.gf===void 0?null:b.gf;b=b.Cf===void 0?null:b.Cf;this.videoId=a;this.Hb=c;this.Wd=d;this.Bf=e;this.cd=f;this.ie=g;this.wd=h;this.vd=k;this.he=l; this.format=p;this.gf=n;this.Cf=b;N(M.getInstance(),"ytext_viu",this.cd?"1":"0");N(M.getInstance(),"ytext_hd",this.Wd&&this.vd&&this.wd?"1":"0");this.cd&&N(M.getInstance(),"ytext_vi",this.videoId?this.videoId:"Undefined")};var xH=function(){};xH.prototype.g=function(a,b){a=u(a.g);for(var c=a.next();!c.done;c=a.next()){c=u(c.value.g.M);for(var d=c.next();!d.done;d=c.next())if(d=d.value,d instanceof BH){b.M.set(NE,new NE(new ME(d.videoId,d.Wd,d.Bf,d.Hb,d.cd),new LE(d.ie,d.wd,d.vd,d.he),d.format,d.Cf,d.gf));return}}};var CH=function(){};CH.prototype.j=function(a){var b=new JD;this.g(a,b);return b};CH.prototype.g=function(a,b){a.g.forEach(function(e){DH(e,b);e.g.Sa&&b.A.push(e.g.Sa)});if(a.g.length>0){var c=a.g[0];c.id&&(b.id=c.id);c.Sb&&(b.Sb=c.Sb);c.Na&&(b.D=c.Na);a=u([].concat(v(a.g)).reverse());for(var d=a.next();!d.done;d=a.next())d=d.value,d.Na&&b.U.push(d.Na);c=c.g;c instanceof lH&&(b.yb=c.yb,b.sc=c.sc,EH(c,b))}}; var DH=function(a,b){var c=a.g.j;a.g.g.forEach(function(d){b.nb(new ED("error",d))});c.forEach(function(d){b.nb(GD("impression",d.url,d.g))})},EH=function(a,b){a=u(a.ua);for(var c=a.next();!c.done;c=a.next())if((c=c.value.vb)&&c.ub&&c.ub.length>0){a=u(c.ub);for(c=a.next();!c.done;c=a.next())c=c.value,b.ub.push(new BD(c.Ob.resourceType==="Url"?c.Ob.Ya:null,c.Ob.resourceType==="Html"?c.Ob.Ya:null,c.mimeType,c.W,c.Vd));break}};var FH=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};t(FH,Error);var GH=function(a){this.j=a;this.g=Date.now()};GH.prototype.reset=function(){this.g=Date.now()};var HH=function(a){a=a.g+a.j-Date.now();return a>0?a:0};var IH="://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(" "),JH=/\bocr\b/;function KH(a){if(D(Zk(a))||yc&&a.length>2048)return!1;try{if((new Xr(a)).C.match(JH))return!0}catch(b){}return IH.find(function(b){return a.match(b)!=null})!=null};var LH=function(a,b){var c=Error.call(this,a);this.message=c.message;"stack"in c&&(this.stack=c.stack);this.errorCode=a;this.mk=b};t(LH,Error);var MH=function(a){if(typeof DOMParser!="undefined"){var b=new DOMParser;a=Nk(a===null?"null":a===void 0?"undefined":a);return b.parseFromString(Ok(a),"application/xml")}throw Error("Your browser does not support loading xml documents");};var NH=function(a){R.call(this);this.j=a;this.g={}};ab(NH,R);var OH=[];NH.prototype.listen=function(a,b,c,d){Array.isArray(b)||(b&&(OH[0]=b.toString()),b=OH);for(var e=0;e0?a[a.length-1]:null} function V(a){if(a.childNodes.length==0)return null;var b="";a=u(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 kI(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 lI(a,b){return a.hasAttribute("type")&&a.getAttribute("type").toLowerCase()==b.toLowerCase()}function mI(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 nI(a){var b=[];a=u(P(a));for(var c=a.next();!c.done;c=a.next()){var d=c.value;if(d.nodeName=="Verification"){c={vendor:d.getAttribute("vendor"),Z:[]};d=u(P(d));for(var e=d.next();!e.done;e=d.next())switch(e=e.value,e.nodeName){case "JavaScriptResource":c.Sd=V(e);c.Pb=e.getAttribute("apiFramework");break;case "VerificationParameters":c.parameters=V(e);break;case "TrackingEvents":c.Z=oI(e)}c.Sd!=null&&b.push(new EF(c))}}return b} function pI(a){var b=[];a=u(P(a));for(var c=a.next();!c.done;c=a.next())c=c.value,c.nodeName=="CustomTracking"&&b.push.apply(b,v(oI(c)));return b}function qI(a,b){var c=a.getAttribute("id");a=kI(a);b=new Cr(b,c,a);b.url=iF(b.url,b.g);return b} function oI(a){var b=[];a=u(P(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=mI(f));d=kI(d);e=iF(e,d);b.push(new DD(c,e,{xa:g,Md:h},d))}}}return b}function rI(a){return a==null||a==="about:blank"?null:a} function sI(a){var b={};b.za=a.getAttribute("program");b.W=a.getAttribute("apiFramework");b.ka=a.getAttribute("altText");b.sg=a.getAttribute("hoverText");b.width=gI(a,"width");b.height=gI(a,"height");b.Za=a.getAttribute("xPosition");b.ab=a.getAttribute("yPosition");b.na=mI(a.getAttribute("duration"));b.Mc=mI(a.getAttribute("pxratio"));b.xa=tI(a.getAttribute("offset"),b.na);b.resources=uI(a);b.Yc=[];a=u(P(a));for(var c=a.next();!c.done;c=a.next()){var d=c.value;switch(d.nodeName){case "IconViewTracking":b.Yc.push(V(d)); break;case "IconClicks":c=null;var e=[],f=[];d=u(P(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=qI(g,h));break;case "IconClickTracking":h!=null&&e.push(new Cr(h,k));break;case "IconClickFallbackImages":f=vI(g)}}b.Ha=new sF({ta:c,ob:e,xd:f})}}return new tF(b)}function tI(a,b){if(a!=null)return a.endsWith("%")&&b!=null?parseInt(a,10)*b/100:mI(a)} function uI(a){var b=[];a=u(P(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 nF(d,"Static",c.getAttribute("creativeType")));break;case "HTMLResource":b.push(new nF(d,"Html"));break;case "IFrameResource":b.push(new nF(d,"IFrame"))}}return b} function vI(a){var b=[];a=u(P(a));for(var c=a.next();!c.done;c=a.next()){var d=c.value;c=uI(d).filter(function(g){return g.resourceType=="Static"});if(c.length>0){var e=gI(d,"width"),f=gI(d,"height");d=wI(d);b.push(new rF(c[0],e,f,d))}}return b}function wI(a){a=u(P(a));for(var b=a.next();!b.done;b=a.next())if(b=b.value,b.nodeName=="AltText")return V(b);return null};var xI=function(){this.g=[]},yI=function(a,b){a.g.includes(b)||a.g.push(b)},zI=function(a,b){var c=[];b=u(b);for(var d=b.next();!d.done;d=b.next())if(d=d.value,d.nodeName=="Extension")for(var e=u(a.g),f=e.next();!f.done;f=e.next())if(f=f.value.g(d),f!=null){c.push(f);break}return c},AI=function(a){var b={kb:[]};b.Na=gI(a,"sequence");b.id=a.getAttribute("id");b.adId=a.getAttribute("adId");for(var c=u(P(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=[],q=[],r=u(P(e)),w=r.next();!w.done;w=r.next()){var z=w.value;switch(z.nodeName){case "TrackingEvents":k=oI(z);break;case "VideoClicks":for(var B=null,E=[],da=[],pa=u(P(z)),Ta=pa.next();!Ta.done;Ta=pa.next()){var qb=Ta.value,Cd=V(qb);if(Cd!=null){var qe=qb.getAttribute("id");switch(qb.nodeName){case "ClickThrough":B=qI(qb,Cd);break;case "ClickTracking":var Dd=kI(qb);E.push(new Cr(Cd,qe,Dd));break;case "CustomClick":da.push(new Cr(Cd,qe))}}}h=new xF({ta:B,ob:E,qe:da}); break;case "MediaFiles":for(var Ed=[],bb=[],mf=[],re=u(P(z)),se=re.next();!se.done;se=re.next()){var Na=se.value;switch(Na.nodeName){case "MediaFile":var te=void 0,lc=V(Na);if(lc==null)var sg=null;else{lc.indexOf("www.youtube.com/get_video")!=-1?N(M.getInstance(),"hgvu","1"):lc.indexOf("redirector.gvt1.com/get_video")!=-1&&N(M.getInstance(),"hgvuc","1");var Ab={};Ab.height=gI(Na,"height");Ab.width=gI(Na,"width");Ab.rb=Na.getAttribute("delivery");Ab.bitrate=gI(Na,"bitrate");Ab.Ag=gI(Na,"minBitrate"); Ab.maxBitrate=gI(Na,"maxBitrate");Ab.mimeType=(te=Na.getAttribute("type"))==null?void 0:te.toLowerCase();Ab.W=Na.getAttribute("apiFramework");Ab.codec=Na.getAttribute("codec");var nf=UG(lc);nf!=null&&(Ab.da=nf);sg=new wF(lc,Ab)}var Fd=sg;Fd!==null&&Ed.push(Fd);break;case "ClosedCaptionFiles":for(var rb=[],ad=u(P(Na)),ue=ad.next();!ue.done;ue=ad.next()){var ve=ue.value,we=V(ve);if(we!==null){var xe={url:we},of=void 0;xe.mimeType=(of=ve.getAttribute("type"))==null?void 0:of.toLowerCase();xe.language= ve.getAttribute("language");rb.push(new qF(xe))}}mf=rb;break;case "InteractiveCreativeFile":var pf=void 0,Dc=jI(Na,"HTMLResource");if(Dc){var lb="Html";var Gd=V(Dc)}else lb="Url",Gd=V(Na);if(!Gd||D(Gd))var Hd=null;else{var Id=new nF(Gd,lb),ye={};ye.mimeType=(pf=Na.getAttribute("type"))==null?void 0:pf.toLowerCase();ye.W=Na.getAttribute("apiFramework");ye.Vd=hI(Na.getAttribute("variableDuration"));var tg=new uF(Id,ye);lb==="Html"?vn("lima_p_ich"):vn("lima_p_icu");Hd=tg}var Ec=Hd;Ec!==null&&bb.push(Ec)}}N(M.getInstance(), "vmfc",""+Ed.length);var ug=mf.length===0?"0":"1";N(M.getInstance(),"vhc",ug);var qf=Ed;var bi=mf;var lo=bb;l=qf;n=bi;p=lo;break;case "Duration":g=mI(V(z));break;case "AdParameters":f=Zk(V(z));break;case "Icons":for(var kk=[],lk=u(P(z)),vg=lk.next();!vg.done;vg=lk.next()){var mk=vg.value;mk.nodeName=="Icon"&&kk.push(sI(mk))}var nk=q=kk;N(M.getInstance(),"icc",nk.length.toString());if(nk.length>0){for(var ok=0,mo=0,pk=0,no=0,rf=null,oo="ns",po="ns",Bb=u(nk),ci=Bb.next();!ci.done;ci=Bb.next()){for(var sf= ci.value,wg=u(sf.resources),tf=wg.next();!tf.done;tf=wg.next())switch(tf.value.resourceType){case "Html":ok++;break;case "IFrame":mo++;break;case "Static":pk++;break;default:no++}rf=sf.za;po=sf.width?sf.width.toString():"ns";oo=sf.height?sf.height.toString():"ns"}N(M.getInstance(),"icrh",ok.toString());N(M.getInstance(),"icri",mo.toString());N(M.getInstance(),"icrs",pk.toString());N(M.getInstance(),"icru",no.toString());rf&&(rf.length>16&&(rf=rf.substring(0,15)+"*"),N(M.getInstance(),"icp",rf));N(M.getInstance(), "icdi",oo+"x"+po)}}}var qk=tI(e.getAttribute("skipoffset"),g);b.vb=new yF({duration:g,qa:qk,Z:k,Te:l,ub:p,Vf:n,Af:h,sa:f,va:q});break;case "NonLinearAds":for(var rk=[],di=[],ei=u(P(e)),fi=ei.next();!fi.done;fi=ei.next()){var gi=fi.value;switch(gi.nodeName){case "NonLinear":for(var sk=rk,qo=sk.push,Fc=gi,ro=uI(Fc),uf=Fc.getAttribute("id"),so=gI(Fc,"width"),to=gI(Fc,"height"),vu=Fc.getAttribute("apiFramework"),uo=mI(Fc.getAttribute("minSuggestedDuration")),ze=null,tk=null,uk=[],vk=u(P(Fc)),wk=vk.next();!wk.done;wk= vk.next()){var vf=wk.value,sb=V(vf);if(sb!=null)switch(vf.nodeName){case "NonLinearClickThrough":tk=qI(vf,sb);break;case "NonLinearClickTracking":var Cb=kI(vf);uk.push(new Cr(sb,vf.getAttribute("id"),Cb));break;case "AdParameters":ze=Zk(sb)}}qo.call(sk,new zF({id:uf,W:vu,width:so,height:to,Bg:uo,Gg:tk,Hg:uk,resources:ro,sa:ze}));break;case "TrackingEvents":di=oI(gi)}}b.bf=new AF(rk,di);var xk=b.bf.g;N(M.getInstance(),"nlc",xk.length.toString());if(xk.length>0){for(var vo=0,yk=0,wo=0,xo=0,zk=!1,yo= u(xk),Ak=yo.next();!Ak.done;Ak=yo.next())for(var zo=u(Ak.value.resources),hi=zo.next();!hi.done;hi=zo.next()){var Ao=hi.value;switch(Ao.resourceType){case "Html":vo++;zk=zk||Ib(Ao.Ya,"<");break;case "IFrame":yk++;break;case "Static":wo++;break;default:xo++}}N(M.getInstance(),"nlrh",vo.toString());N(M.getInstance(),"nlri",yk.toString());N(M.getInstance(),"nlrs",wo.toString());N(M.getInstance(),"nlru",xo.toString());N(M.getInstance(),"nlrhc",zk.toString())}break;case "CompanionAds":var Bo=[],Ae=e.getAttribute("required"); Ae!="any"&&Ae!="all"&&(Ae="none");for(var Co=u(P(e)),Bk=Co.next();!Bk.done;Bk=Co.next()){var Ck=Bk.value;if(Ck.nodeName=="Companion"){for(var Do=Bo,Dk=Do.push,Db=void 0,mc=Ck,Eo=uI(mc),Ek=mc.getAttribute("id"),Fo=mc.getAttribute("adSlotID"),Fk=mc.getAttribute("apiFramework"),wu=mc.getAttribute("width")==="fluid"&&mc.getAttribute("height")==="fluid",xu=gI(mc,"width"),Go=gI(mc,"height"),Ho=[],xg=null,ii=[],Io=u(P(mc)),ji=Io.next();!ji.done;ji=Io.next()){var wf=ji.value;switch(wf.nodeName){case "TrackingEvents":Ho= oI(wf);break;case "CompanionClickThrough":Db=V(wf);Db==null||D(Db)||(xg=qI(wf,Db));break;case "CompanionClickTracking":if(Db=V(wf),Db!=null&&!D(Db)){var ZS=kI(wf);ii.push(new Cr(Db,wf.getAttribute("id"),ZS))}}}Dk.call(Do,new oF({id:Ek,Rb:Fo,W:Fk,width:xu,height:Go,ue:wu,zb:xg,Wf:ii,resources:Eo,Z:Ho}))}}b.yc=new pF(Bo,Ae);var yu=b.yc.g;N(M.getInstance(),"ccc",yu.length.toString());if(yu.length>0){for(var TE=0,UE=0,VE=0,WE=0,zu=!1,XE=u(yu),Au=XE.next();!Au.done;Au=XE.next())for(var YE=u(Au.value.resources), Bu=YE.next();!Bu.done;Bu=YE.next()){var ZE=Bu.value;switch(ZE.resourceType){case "Html":TE++;zu=zu||Ib(ZE.Ya,"<");break;case "IFrame":UE++;break;case "Static":VE++;break;default:WE++}}N(M.getInstance(),"ccrh",TE.toString());N(M.getInstance(),"ccri",UE.toString());N(M.getInstance(),"ccrs",VE.toString());N(M.getInstance(),"ccru",WE.toString());N(M.getInstance(),"ccrhc",zu.toString())}break;case "UniversalAdId":var $E=b.kb,$S=$E.push,Cu=V(e);Cu||(Cu=e.getAttribute("idValue"));var aT=e.getAttribute("idRegistry"); $S.call($E,new BF({De:aT,Ee:Cu}))}}return new CF(b)};var BI=function(a,b){this.j=a;this.g=b===void 0?null:b};var CI=function(a,b){JF.call(this,a);this.g=b};t(CI,JF);var DI=function(){};t(DI,CH);DI.prototype.j=function(a){var b=new bF;this.g(a,b);return b}; DI.prototype.g=function(a,b){CH.prototype.g.call(this,a,b);for(var c=u(a.g),d=c.next();!d.done;d=c.next())d=d.value,EI(d,b),d=d.g,d instanceof lH&&(b.description=d.description);a:if(c=a.g.length<1?null:a.g[0])if(d=IF(a,BI),d.length>0)for(a=u(d),c=a.next();!c.done;c=a.next())c=c.value,c.j&&(b.qa=c.g?c.g:5E3);else{c=u(c.g.ua);for(d=c.next();!d.done;d=c.next())if((d=d.value.vb)&&d.qa!=null){b.qa=d.qa;break a}c=IF(a,JF);c=u(c);for(d=c.next();!d.done;d=c.next()){d=u(d.value.Z);for(var e=d.next();!e.done;e= d.next())if(e.value.eventType=="skip"){b.qa=5E3;break a}}a=IF(a,CI);a=u(a);for(c=a.next();!c.done;c=a.next())if(c.value.g=="Generic"){b.qa=5E3;break}}}; var EI=function(a,b){for(var c=u(a.g.ua),d=c.next();!d.done;d=c.next()){d=d.value;var e=d.vb;if(e){b.creativeId=d.id;b.B=d.adId;b.kb=d.kb.map(function(k){return new aF(k.Ee,k.De)});for(var f=u(e.Z),g=f.next();!g.done;g=f.next())b.nb(FD(g.value));if(f=e.Af){g=u(f.ob);for(var h=g.next();!h.done;h=g.next())h=h.value,b.nb(GD("click",h.url,h.g,h.id));g=u(f.qe);for(h=g.next();!h.done;h=g.next())h=h.value,h.id&&b.nb(new ED(h.id,h.url))}a.g instanceof lH&&(b.na=d.vb.duration,e.sa&&(b.sa=e.sa),f&&f.ta&&(b.g= f.ta.url,b.l=vs(f.ta),b.N=f.ta.g))}}};var FI=function(a){this.l=a};t(FI,DI);FI.prototype.j=function(a){var b=new kF(this.l);this.g(a,b);return b};FI.prototype.g=function(a,b){DI.prototype.g.call(this,a,b);b.C=a.g[0].g.Zd};function GI(a,b){b=b!=null?b:"";yc&&(b="");if(!D(Zk(a))){var c=a instanceof gk||!zD.test(a)?a:new gk(a);if(c instanceof gk)a=c;else{var d=d===void 0?Gk:d;a=Hk(a,d)||hk}d=window;a=Lk(a);a!==void 0&&d.open(a,"_blank",b)}};function HI(a,b){for(var c;!(c=a.next()).done;)b(c.value)}var II=function(a,b){this.g=a[A.Symbol.iterator]();this.j=b};II.prototype[Symbol.iterator]=function(){return this};II.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 JI=function(a,b){return new II(a,b)};var KI=function(a,b){var c=new Set(a);HI(b[Symbol.iterator](),function(d){return c.add(d)});return c};var LI=new Map,MI=function(){this.j=this.g=null};function NI(a,b,c,d){var e=Hw(a);b==e||b&&e&&b.width==e.width&&b.height==e.height?(e=setTimeout(function(){return NI(a,b,c,d)},200),d.j=e):(OI(d),c(e))} function PI(a){var b=new MI,c=new Promise(function(f){var g=Hw(a);if("ResizeObserver"in window){var h=new ResizeObserver(function(k){window.requestAnimationFrame(function(){for(var l=new Em(0,0),p=u(k),n=p.next();!n.done;n=p.next())if(n=n.value,n.contentBoxSize?(n=Array.isArray(n.contentBoxSize)?n.contentBoxSize[0]:n.contentBoxSize,l.width=Math.floor(n.inlineSize),l.height=Math.floor(n.blockSize)):(l.width=Math.floor(n.contentRect.width),l.height=Math.floor(n.contentRect.height)),!(g==l||g&&l&&g.width== l.width&&g.height==l.height))return OI(b),f(l)})});b.g=h;h.observe(a)}else NI(a,g,f,b)}),d,e=(d=LI.get(c))!=null?d:new Set;e.add(b);LI.set(c,e);return c}function QI(a){var b=b===void 0?new Em(1,1):b;var c=function(g){var h=PI(a),k,l=(k=LI.get(g))!=null?k:new Set,p;k=(p=LI.get(h))!=null?p:new Set;LI.set(g,KI(l,k));return h},d=function(g,h){c(g).then(function(k){return b.width<=k.width&&b.height<=k.height?(RI(g),h(k)):d(g,h)})},e,f=new Promise(function(g){e=g});d(f,e);return f} function RI(a){a=LI.get(a);a=u(a);for(var b=a.next();!b.done;b=a.next())OI(b.value)}function OI(a){a.j&&window.clearTimeout(a.j);a.g&&(a.g.disconnect(),a.g=null)};var SI=function(a){U.call(this);this.j=a;this.o=this.A=!1;this.B=this.D=0;this.g=new yC(1E3);kt(this,this.g);IB(this.g,"tick",this.F,!1,this);IB(this.j,"pause",this.l,!1,this);IB(this.j,"playing",this.l,!1,this);IB(this.j,"ended",this.l,!1,this);IB(this.j,"timeupdate",this.l,!1,this)};t(SI,U);var TI=function(a){var b;return(b=a.j.currentTime)!=null?b:a.j.getCurrentTime()}; SI.prototype.l=function(a){switch(a.type){case "playing":UI(this);break;case "pause":case "ended":this.g.enabled&&this.g.stop();break;case "timeupdate":!this.A&&TI(this)>0&&(this.A=!0,UI(this))}};var UI=function(a){!a.g.enabled&&a.A&&(a.D=TI(a)*1E3,a.B=Date.now(),a.o=!1,a.g.start())};SI.prototype.F=function(){var a=Date.now(),b=a-this.B,c=TI(this)*1E3;c-this.D3;if(c){a.o===null&&(a.o=400);var d=WG("media_source_error",{code:a.l>0?MediaError.MEDIA_ERR_NETWORK:MediaError.MEDIA_ERR_SRC_NOT_SUPPORTED,message:'Response code "'+a.o+'" with '+a.g+" bytes requested and "+a.l+" bytes loaded"});a.dispatchEvent(d)}a.l=400)return N(M.getInstance(),"lvlfes",d.status.toString()),a.o=d.status,k.return(Promise.reject());f=(e=d.body)==null?void 0:e.getReader();if(!f)return un(M.getInstance(),"lvlmr"),a.o=d.status,k.return(Promise.reject());g=[];h=function(){var l,p,n,q,r,w;return y(function(z){if(z.g==1)return x(z,f.read(),2);l=z.j;p=l.done;n=l.value;if(p)return q=b0&&a.j.Jf(d.buffer,a.uri,0,c)},cJ=function(a,b){b!==null&&(b=b.slice(0),a.l+=b.byteLength,a.dispatchEvent({type:"progress",Rf:b}))};YI.prototype.R=function(){var a;((a=this.j)==null?0:a.Gc())&&this.j.close();XI.prototype.R.call(this)};var fJ=function(a){this.uri=a;this.g=eJ(a)},eJ=function(a){return new Map(a.l.split("/").reduce(function(b,c,d,e){d%2&&b.set(e[d-1],c);return b},new Map))},gJ=function(a){var b,c;return(b=a.uri)==null?void 0:(c=b.l)==null?void 0:c.startsWith("/videoplayback")};fJ.prototype.getId=function(){return hJ(this,"id")};fJ.prototype.Ed=function(){return hJ(this,"source")}; var iJ=function(a){a=a.uri.g.get("range");if(!a)return null;a=a.split("-")[0];return!a||isNaN(Number(a))?null:Number(a)},hJ=function(a,b){var c=a.uri.g.get(b);return c?c:(a=a.g.get(b))?a:null};var jJ=["doubleclick.net"]; function kJ(){if(Yb()||F("iPad")||F("iPod"))var a=!1;else if(Xb()){if(tD===void 0){a:{if(rD===void 0){if(vD){a=Ib(uD(),"Safari");var b=(new Xr(window.location.href)).g.Wc("js");b:{if((b=b.length?b[0]:"")&&b.lastIndexOf("afma-",0)==0){var c=b.lastIndexOf("v");if(c>-1&&(b=b.substr(c+1).match(/^(\d+\.\d+\.\d+|^\d+\.\d+|^\d+)(-.*)?$/))){b=b[1];break b}}b="0.0.0"}if(!a||b!=="0.0.0"){a=rD=!0;break a}}rD=!1}a=rD}a||(sD===void 0&&(sD=Ib(uD(),"afma-sdk-a")?!0:!1),a=sD);tD=a}a=tD?!0:Gj()?!1:lJ()}else a=!1; return a}function lJ(){var a=!1,b=(new Xr(window.location.href)).j;jJ.forEach(function(c){b.includes(c)&&(a=!0)});return a};var mJ,pJ=function(a,b,c){if(typeof a==="number")var d={name:nJ(a)};else d=a,a=oJ(a.name);this.code=a;this.g=d;b="Error "+b+": "+this.getName();c&&(b+=", "+c);cb.call(this,b)};ab(pJ,cb);pJ.prototype.getName=function(){return this.g.name||""}; var qJ={vj:1,Tm:2,NOT_FOUND_ERR:3,Pi:4,Ti:5,Um:6,uj:7,ABORT_ERR:8,sj:9,zn:10,TIMEOUT_ERR:11,rj:12,INVALID_ACCESS_ERR:13,INVALID_STATE_ERR:14},rJ=(A.g||A.j||qJ).vj,sJ=(A.g||A.j||qJ).NOT_FOUND_ERR,tJ=(A.g||A.j||qJ).Pi,uJ=(A.g||A.j||qJ).Ti,vJ=(A.g||A.j||qJ).uj,wJ=(A.g||A.j||qJ).ABORT_ERR,xJ=(A.g||A.j||qJ).sj,yJ=(A.g||A.j||qJ).TIMEOUT_ERR,zJ=(A.g||A.j||qJ).rj,AJ=(A.DOMException||qJ).INVALID_ACCESS_ERR,BJ=(A.DOMException||qJ).INVALID_STATE_ERR,oJ=function(a){switch(a){case "UnknownError":return rJ;case "NotFoundError":return sJ; case "ConstraintError":return tJ;case "DataError":return uJ;case "TransactionInactiveError":return vJ;case "AbortError":return wJ;case "ReadOnlyError":return xJ;case "TimeoutError":return yJ;case "QuotaExceededError":return zJ;case "InvalidAccessError":return AJ;case "InvalidStateError":return BJ;default:return rJ}},nJ=function(a){switch(a){case rJ:return"UnknownError";case sJ:return"NotFoundError";case tJ:return"ConstraintError";case uJ:return"DataError";case vJ:return"TransactionInactiveError"; case wJ:return"AbortError";case xJ:return"ReadOnlyError";case yJ:return"TimeoutError";case zJ:return"QuotaExceededError";case AJ:return"InvalidAccessError";case BJ:return"InvalidStateError";default:return"UnknownError"}},CJ=function(a,b){return"error"in a?new pJ(a.error,b):new pJ({name:"UnknownError"},b)},DJ=function(a,b){return"name"in a?new pJ(a,b+": "+a.message):new pJ({name:"UnknownError"},b)};var EJ=function(a){this.g=a},FJ=A.IDBKeyRange||A.webkitIDBKeyRange;/* Copyright 2005, 2007 Bob Ippolito. All Rights Reserved. Copyright The Closure Library Authors. SPDX-License-Identifier: MIT */ var GJ=function(){this.A=[];this.o=this.l=!1;this.j=void 0;this.F=this.L=this.B=!1;this.C=0;this.g=null;this.D=0};GJ.prototype.cancel=function(a){if(this.l)this.j instanceof GJ&&this.j.cancel();else{if(this.g){var b=this.g;delete this.g;a?b.cancel(a):(b.D--,b.D<=0&&b.cancel())}this.F=!0;this.l||HJ(this,new IJ(this))}};GJ.prototype.J=function(a,b){this.B=!1;JJ(this,a,b)};var JJ=function(a,b,c){a.l=!0;a.j=c;a.o=!b;KJ(a)},MJ=function(a){if(a.l){if(!a.F)throw new LJ(a);a.F=!1}}; GJ.prototype.callback=function(a){MJ(this);JJ(this,!0,a)};var HJ=function(a,b){MJ(a);JJ(a,!1,b)},OJ=function(a,b){return NJ(a,b,null)},NJ=function(a,b,c,d){a.A.push([b,c,d]);a.l&&KJ(a);return a};GJ.prototype.then=function(a,b,c){var d,e,f=new gC(function(g,h){e=g;d=h});NJ(this,e,function(g){g instanceof IJ?f.cancel():d(g);return PJ},this);return f.then(a,b,c)};GJ.prototype.$goog_Thenable=!0; var QJ=function(a){return fc(a.A,function(b){return typeof b[1]==="function"})},PJ={},KJ=function(a){if(a.C&&a.l&&QJ(a)){var b=a.C,c=RJ[b];c&&(A.clearTimeout(c.g),delete RJ[b]);a.C=0}a.g&&(a.g.D--,delete a.g);b=a.j;for(var d=c=!1;a.A.length&&!a.B;){var e=a.A.shift(),f=e[0],g=e[1];e=e[2];if(f=a.o?g:f)try{var h=f.call(e||null,b);h===PJ&&(h=void 0);h!==void 0&&(a.o=a.o&&(h==b||h instanceof Error),a.j=b=h);if(eC(b)||typeof A.Promise==="function"&&b instanceof A.Promise)d=!0,a.B=!0}catch(k){b=k,a.o=!0, QJ(a)||(c=!0)}}a.j=b;d&&(h=Xa(a.J,a,!0),d=Xa(a.J,a,!1),b instanceof GJ?(NJ(b,h,d),b.L=!0):b.then(h,d));c&&(b=new SJ(b),RJ[b.g]=b,a.C=b.g)},LJ=function(){cb.call(this)};ab(LJ,cb);LJ.prototype.message="Deferred has already fired";LJ.prototype.name="AlreadyCalledError";var IJ=function(){cb.call(this)};ab(IJ,cb);IJ.prototype.message="Deferred was canceled";IJ.prototype.name="CanceledError";var SJ=function(a){this.g=A.setTimeout(Xa(this.l,this),0);this.j=a}; SJ.prototype.l=function(){delete RJ[this.g];throw this.j;};var RJ={};var TJ=function(){U.call(this)};ab(TJ,U);TJ.prototype.g=null;TJ.prototype.next=function(a){if(a)this.g["continue"](a);else this.g["continue"]()};TJ.prototype.remove=function(){var a=new GJ;try{var b=this.g["delete"]()}catch(c){return HJ(a,DJ(c,"deleting via cursor")),a}b.onsuccess=function(){a.callback()};b.onerror=function(c){HJ(a,CJ(c.target,"deleting via cursor"))};return a};TJ.prototype.getValue=function(){return this.g.value}; var UJ=function(a,b){var c=new TJ;try{var d=a.openCursor(b?b.g:null)}catch(e){throw c.dispose(),DJ(e,a.name);}d.onsuccess=function(e){c.g=e.target.result||null;c.g?c.dispatchEvent("n"):c.dispatchEvent("c")};d.onerror=function(){c.dispatchEvent("e")};return c};var VJ=function(a){this.g=a};VJ.prototype.getName=function(){return this.g.name};var WJ=function(a,b,c){var d=new GJ;try{var e=a.g.get(c)}catch(f){return b+=" with key "+Rk(c),HJ(d,DJ(f,b)),d}e.onsuccess=function(f){d.callback(f.target.result)};e.onerror=function(f){b+=" with key "+Rk(c);HJ(d,CJ(f.target,b))};return d};VJ.prototype.get=function(a){return WJ(this,"getting from index "+this.getName(),a)};var XJ=function(a,b){return UJ(a.g,b)};var YJ=function(a){this.g=a};YJ.prototype.getName=function(){return this.g.name};var ZJ=function(a,b,c,d,e){var f=new GJ;try{var g=e?a.g[b](d,e):a.g[b](d)}catch(h){return c+=Rk(d),e&&(c+=", with key "+Rk(e)),HJ(f,DJ(h,c)),f}g.onsuccess=function(h){f.callback(h.target.result)};g.onerror=function(h){c+=Rk(d);e&&(c+=", with key "+Rk(e));HJ(f,CJ(h.target,c))};return f},$J=function(a,b){return ZJ(a,"put","putting into "+a.getName()+" with value",b)}; YJ.prototype.add=function(a,b){return ZJ(this,"add","adding into "+this.getName()+" with value ",a,b)};YJ.prototype.remove=function(a){var b=new GJ;try{var c=this.g["delete"](a instanceof EJ?a.g:a)}catch(e){return c="removing from "+this.getName()+" with key "+Rk(a),HJ(b,DJ(e,c)),b}c.onsuccess=function(){b.callback()};var d=this;c.onerror=function(e){var f="removing from "+d.getName()+" with key "+Rk(a);HJ(b,CJ(e.target,f))};return b}; YJ.prototype.get=function(a){var b=new GJ;try{var c=this.g.get(a)}catch(e){return c="getting from "+this.getName()+" with key "+Rk(a),HJ(b,DJ(e,c)),b}c.onsuccess=function(e){b.callback(e.target.result)};var d=this;c.onerror=function(e){var f="getting from "+d.getName()+" with key "+Rk(a);HJ(b,CJ(e.target,f))};return b}; YJ.prototype.clear=function(){var a="clearing store "+this.getName(),b=new GJ;try{var c=this.g.clear()}catch(d){return HJ(b,DJ(d,a)),b}c.onsuccess=function(){b.callback()};c.onerror=function(d){HJ(b,CJ(d.target,a))};return b};var aK=function(a){try{return new VJ(a.g.index("timestamp"))}catch(b){throw DJ(b,"getting index timestamp");}};var bK=function(a,b){U.call(this);this.g=a;this.l=b;this.j=new NH(this);this.j.listen(this.g,"complete",Xa(this.dispatchEvent,this,"complete"));this.j.listen(this.g,"abort",Xa(this.dispatchEvent,this,"abort"));this.j.listen(this.g,"error",this.ej)};ab(bK,U);m=bK.prototype;m.ej=function(a){a.target instanceof pJ?this.dispatchEvent({type:"error",target:a.target}):this.dispatchEvent({type:"error",target:CJ(a.target,"in transaction")})}; m.objectStore=function(a){try{return new YJ(this.g.objectStore(a))}catch(b){throw DJ(b,"getting object store "+a);}};m.commit=function(a){if(this.g.commit||!a)try{this.g.commit()}catch(b){throw DJ(b,"cannot commit the transaction");}};m.wait=function(){var a=new GJ;HB(this,"complete",Xa(a.callback,a));var b=HB(this,"abort",function(){QB(c);HJ(a,new pJ(wJ,"waiting for transaction to complete"))});var c=HB(this,"error",function(e){QB(b);HJ(a,e.target)});var d=this.l;return OJ(a,function(){return d})}; m.abort=function(){this.g.abort()};m.R=function(){bK.ib.R.call(this);this.j.dispose()};var cK=function(a){U.call(this);this.g=a;this.j=new NH(this);this.j.listen(this.g,"abort",Xa(this.dispatchEvent,this,"abort"));this.j.listen(this.g,"error",this.fj);this.j.listen(this.g,"versionchange",this.Rj);this.j.listen(this.g,"close",Xa(this.dispatchEvent,this,"close"))};ab(cK,U);m=cK.prototype;m.Jg=!0;m.fj=function(a){a=(a=a.target)&&a.error;this.dispatchEvent({type:"error",errorCode:a&&a.severity})};m.Rj=function(a){this.dispatchEvent(new dK(a.oldVersion,a.newVersion))}; m.close=function(){this.Jg&&(this.g.close(),this.Jg=!1)};m.Gc=function(){return this.Jg};m.getName=function(){return this.g.name};m.getVersion=function(){return Number(this.g.version)};var eK=function(a){var b=["MediaSourceVideoChunk"];try{var c=a.g.transaction(b,"readwrite");return new bK(c,a)}catch(d){throw DJ(d,"creating transaction");}};cK.prototype.R=function(){cK.ib.R.call(this);this.j.dispose()};var dK=function(a,b){uB.call(this,"versionchange");this.oldVersion=a;this.newVersion=b};ab(dK,uB);var fK=function(a){var b=new GJ;mJ==void 0&&(mJ=A.indexedDB||A.mozIndexedDB||A.webkitIndexedDB||A.moz_indexedDB);var c=mJ.open("IndexedDbVideoChunkPersistentStorage",6);c.onsuccess=function(d){d=new cK(d.target.result);b.callback(d)};c.onerror=function(d){HJ(b,CJ(d.target,"opening database IndexedDbVideoChunkPersistentStorage"))};c.onupgradeneeded=function(d){if(a){var e=new cK(d.target.result);a(new dK(d.oldVersion,d.newVersion),e,new bK(d.target.transaction,e))}};c.onblocked=function(){};return b};var gK=function(){U.apply(this,arguments);this.g=null};t(gK,U);gK.prototype.initialize=function(){var a=this;return Promise.resolve(fK(this.j)).then(function(b){a.g=b},function(b){N(M.getInstance(),"codf",b.message)})};gK.prototype.Gc=function(){return this.g!==null&&this.g.Gc()};gK.prototype.close=function(){var a=this;return(new Promise(function(b){hK(a,b)})).then(function(){return iK()}).then(function(){a.g.close()})}; var iK=function(){var a;return((a=navigator.storage)==null?0:a.estimate)?navigator.storage.estimate().then(function(b){N(M.getInstance(),"csue",String(b.usage))}):Promise.resolve(void 0)};gK.prototype.qg=function(a){return(a=jK(a,0))?kK(this,lK(a),a.Ke):Promise.resolve(null)};gK.prototype.Jf=function(a,b,c,d){(b=jK(b,c))?(c=b.startIndex,mK(this,{Fn:lK(b),startIndex:c,ig:c+a.byteLength-1,Ke:b.Ke,timestamp:new Date(Date.now()),Id:d,da:b.da,video:a})):Promise.resolve(void 0)}; gK.prototype.j=function(a,b){if(b.g.objectStoreNames.contains("MediaSourceVideoChunk"))try{b.g.deleteObjectStore("MediaSourceVideoChunk")}catch(d){throw DJ(d,"deleting object store MediaSourceVideoChunk");}a={keyPath:"cacheId"};try{var c=new YJ(b.g.createObjectStore("MediaSourceVideoChunk",a))}catch(d){throw DJ(d,"creating object store MediaSourceVideoChunk");}b={unique:!1};try{c.g.createIndex("timestamp","timestamp",b)}catch(d){throw DJ(d,"creating new index timestamp with key path timestamp");}}; var hK=function(a,b){var c=new Date(Date.now());c.setDate(c.getDate()-30);c=new EJ(FJ.upperBound(c,void 0));var d=XJ(aK(eK(a.g).objectStore("MediaSourceVideoChunk")),c),e=d.listen("n",function(){d.remove();d.next()});HB(d,"c",function(){QB(e);b()})},jK=function(a,b){var c=new fJ(a);a=c.getId();var d=hJ(c,"itag"),e=c.Ed(),f=hJ(c,"lmt");c=iJ(c);var g=[];a?d?e?f?c===null&&g.push("startIndex"):g.push("lmt"):g.push("source"):g.push("itag"):g.push("videoId");return g.length>0?(N(M.getInstance(),"civp", g.join("-")),null):{videoId:a,da:d,source:e,Ke:f,startIndex:c+b}},lK=function(a){for(var b=[a.videoId,a.source,a.startIndex].join(),c=0,d=0;d3;if(c&&a.o!==null){var d=WG("media_source_error",{code:a.j>0?MediaError.MEDIA_ERR_NETWORK:MediaError.MEDIA_ERR_SRC_NOT_SUPPORTED,message:'Response code "'+a.o+'" with '+a.g+" bytes requested and "+a.j+" bytes loaded"});a.dispatchEvent(d)}a.j=400)N(M.getInstance(),"lvlxes",d.status.toString()),a.o=d.status,c();else{var g=d.response;g.byteLength0&&a.l.Jf(g,a.uri,0,g.byteLength=400)a.o=d.status;else{var g=tK(a,d.response,e);e+=g}});d.responseType="arraybuffer";d.open("get",a.uri.toString());d.send(null)})},tK=function(a,b,c){if(b===null)return 0;b=b.slice(c);a.j+=b.byteLength;a.dispatchEvent({type:"progress",Rf:b});return b.byteLength};nK.prototype.R=function(){this.A&&this.l.Gc()&&this.l.close();XI.prototype.R.call(this)};var uK=function(){};uK.prototype.Dk=function(a,b,c){return c===0?1E6:b-a<5E3?3E5:0};var wK=function(a,b){var c=this;this.g=a;this.index=b;this.j=[];this.g||un(M.getInstance(),"msms_sbf"+this.index);this.g.addEventListener("updateend",function(){vK(c)});this.g.addEventListener("error",function(){un(M.getInstance(),"msms_sbe"+c.index)})},vK=function(a){if(a.j.length>0&&!a.g.updating){var b=a.j.shift();a.g.appendBuffer(b)}};var xK=function(){this.g=this.cache=null};m=xK.prototype;m.initialize=function(){var a=this;return window.caches.open("CACHE_VIDEO_CHUNK_PERSISTENT_STORAGE").then(function(b){a.cache=b},function(b){N(M.getInstance(),"codf",b.message)})};m.Gc=function(){return this.cache!==null};m.close=function(){return Promise.resolve()}; m.qg=function(a){var b=this;a=yK(this,a);return this.Gc()&&a?this.cache.match(a).then(function(c){if(!c)return N(M.getInstance(),"cenf","1"),Promise.resolve(null);N(M.getInstance(),"cef","1");return c.arrayBuffer().then(function(d){var e=iJ(b.g),f;(f=b.g.uri.g.get("range"))?(f=f.split("-")[1],f=!f||isNaN(Number(f))?null:Number(f)):f=null;e=e+d.byteLength-1;f=f>e;return{da:hJ(b.g,"itag"),ig:e,Id:f,video:d}})},function(c){N(M.getInstance(),"cgvf",c.message);return Promise.resolve(null)}):(N(M.getInstance(), "cgvf","1"),Promise.resolve(null))};m.Jf=function(a,b){b=yK(this,b);a=new Response(a);this.Gc()&&b?this.cache.put(b,a).then(function(){N(M.getInstance(),"cavs","1")},function(c){N(M.getInstance(),"cavf",c.message)}):(N(M.getInstance(),"cavf","1"),Promise.resolve())}; var yK=function(a,b){a.g=new fJ(b);b=a.g.getId();var c=hJ(a.g,"itag"),d=a.g.Ed(),e=hJ(a.g,"lmt");a=hJ(a.g,"range");if(b&&c&&d&&a)return new Request("http://url/videoplayback?id="+b+"&itag="+c+"&source="+d+"&lmt="+e+"&range="+a);N(M.getInstance(),"civp","1");return null};var BK=function(a){U.call(this);var b=this;this.l=a;this.g=[];this.A=null;this.B=0;this.N=!1;this.F=0;this.D=[];if(Oo(op)){var c=null;kJ()&&(Oo(qp)?c=uG(xK):c=uG(gK));this.o=this.l.map(function(d){return uG(YI,d.url,YF(d.url)?null:c)})}else this.o=this.l.map(function(d){return uG(nK,d.url)});this.j=uG(MediaSource);this.K=function(){zK(b)};this.j.addEventListener("sourceopen",this.K);this.H=AK(this)};t(BK,U); var AK=function(a){for(var b=[],c=0;c0&&!d.oc.updating){var e=a.D.shift();d.oc.appendBuffer(e)}}}(b)),b.oc.addEventListener("error",function(d){return function(){un(M.getInstance(),"msms_sbe"+d.Wa)}}(b)),b.Me.listen("progress",function(d){return function(e){var f= d.oc,g=d.Me;e=e.Rf;e.byteLength!==0&&(Oo(op)?f.updating?a.D.push(e):f.appendBuffer(e):f.appendBuffer(e));g.B()&&(a.B++,a.B===a.g.length&&CK(a))}}(b)),b.Me.listen("media_source_error",function(d){a.dispatchEvent(d)}),a.g.push(b.oc)):un(M.getInstance(),"msms_sbf"+b.Wa))}N(M.getInstance(),"msms_ns",a.g.length.toString());a.N=!0;DK(a)},CK=function(a){Promise.all(a.g.map(function(b){return new Promise(function(c){b.updating?b.addEventListener("updateend",function(){c()}):c()})})).then(function(){a.j.endOfStream()})}, DK=function(a){if(a.N)for(var b=0;b0&&this.A==0)for(;c=this.o.pop();)this.C(c)}}}};var XK=function(a,b,c){cC(function(){a.apply(b,c)})}; UK.prototype.clear=function(a){if(a){var b=this.j[a];b&&(b.forEach(this.C,this),delete this.j[a])}else this.g.length=0,this.j={}};UK.prototype.R=function(){UK.ib.R.call(this);this.clear();this.o.length=0};var YK=function(a){R.call(this);this.g=new UK(a);kt(this,this.g)};ab(YK,R);YK.prototype.clear=function(a){this.g.clear(a!==void 0?a.toString():void 0)};var ZK=function(a){a=a===void 0?null:a;R.call(this);this.g=new NH(this);kt(this,this.g);this.jb=a};t(ZK,R);var $K=function(a,b,c){a.jb&&(VK(a.jb.g,b,c),jt(a,function(){WK(a.jb.g,b,c)}))};var aL=function(a,b){ZK.call(this,b);$K(this,function(c){a.g.mode=c?"showing":"hidden"},this)};t(aL,ZK);var bL=function(){U.call(this);this.j=new NH(this);kt(this,this.j)};t(bL,U);var dL=function(a,b,c){c=c===void 0?!0:c;bL.call(this);a.setAttribute("crossorigin","anonymous");var d=Mr("TRACK");d.setAttribute("kind","captions");d.setAttribute("src",b);d.setAttribute("default","");a.appendChild(d);this.g=a.textTracks[0];cL(this);this.g.mode=c?"showing":"hidden"};t(dL,bL);var cL=function(a){var b=a.g;b.addEventListener("cuechange",function(){for(var c=b.cues,d=0;d0&&d>0&&e>0&&f>0?(b=b.width/b.height,c/=d,c=Math.min(c,b)/Math.max(c, b)>=.97?"cover":"contain"):c=null;c!==null&&Bw(a.T,{"object-fit":c})})});a.T.addEventListener("play",function(){a.ki||(LK(a.T,"first_play"),a.ki=!0)});a.T.addEventListener("pause",function(){a.qf||(LK(a.T,"first_pause"),NK(a.T),a.qf=!0)});IB(A,"pagehide",function(){a.qf||(LK(a.T,"first_pause"),NK(a.T),a.qf=!0)});a.T.addEventListener("stalled",function(){N(M.getInstance(),"ves","1")});(new SI(a.T)).listen("playbackStalled",function(){return N(M.getInstance(),"pbs","1")});a.T.addEventListener("media_source_error", function(b){wL(a);b=b.detail;xL(a,new mL(b.code,b.message))});AL(a)},qL=function(a){var b=lL(a.childNodes);b&&BL(a,b);a.ge===null&&CL(a)},CL=function(a){if(A.MutationObserver){var b=new MutationObserver(function(c){c=u(c);for(var d=c.next();!d.done;d=c.next())if(d=d.value,d.type==="childList"&&(d=lL(d.addedNodes))){BL(a,d);b.disconnect();break}});b.observe(a,iL)}},pL=function(a){a.T.addEventListener("volumechange",function(){a.jb.g.l(SK.toString(),a.T.muted);a.Al||a.jb.g.l(TK.toString(),a.T.muted)})}, BL=function(a,b){if(a.ge===null&&b.hasAttribute("src")){var c=b.getAttribute("src");a.ge=new dL(a.T,c,b.hasAttribute("default"));new aL(a.ge,a.jb);c.includes("kind=asr")&&N(M.getInstance(),"act","1")}},tL=function(a,b){if(b!==a.hi){a.hi=b;a.Dl&&b&&XF(b)&&(b=ZF(b));var c=b?UG(b):null,d=!!c&&WI(c);N(M.getInstance(),"umsem",d?"1":"0");d?(b=uG(MK,b,VG(c),yG[c]*1E3,null),a.Ja=uG(BK,[b]),a.zd&&a.Ja.tf(a.zd),a.Ja.listen("media_source_error",function(e){e=WG("media_source_error",e.detail);a.T.dispatchEvent(e)}), a.Od=function(){var e=a.Ja;e.F=a.T.currentTime*1E3;DK(e)},a.T.addEventListener("timeupdate",a.Od),vL(a,"src",EK(a.Ja))):(wL(a),vL(a,"src",b));a.wi||sL(a)}},uL=function(a){a.src&&xL(a,new mL(MediaError.MEDIA_ERR_ABORTED,"Setting demuxed src after src is already set."));if(!a.Sc&&!a.Ac&&a.Ja)wL(a),vL(a,"src",null),sL(a);else if(a.Sc&&a.Ac){var b=UG(XF(a.Ac)?ZF(a.Ac):a.Ac),c=UG(XF(a.Sc)?ZF(a.Sc):a.Sc);if(b&&WI(b))if(c&&WI(c)){var d=!!b&&WI(b)&&!!c&&WI(c);N(M.getInstance(),"umsed",d?"1":"0");b=uG(MK, a.Ac,VG(b),-1,null);c=uG(MK,a.Sc,VG(c),-1,null);a.Ja=uG(BK,[b,c]);a.zd&&a.Ja.tf(a.zd);a.Ja.listen("media_source_error",function(e){e=WG("media_source_error",e.detail);a.T.dispatchEvent(e)});a.Od=function(){var e=a.Ja;e.F=a.T.currentTime*1E3;DK(e)};a.T.addEventListener("timeupdate",a.Od);vL(a,"src",EK(a.Ja));a.wi||sL(a)}else xL(a,new nL('Audio itag "'+c+'" not supported.'));else xL(a,new nL('Video itag "'+b+'" not supported.'))}},yL=function(a){for(var b=u(hL),c=b.next(),d={};!c.done;d={Nb:void 0, getValue:void 0},c=b.next())d.Nb=c.value,d.Nb in a.T&&(typeof a.T[d.Nb]==="function"?(d.getValue=a.T[d.Nb].bind(a.T),Object.defineProperty(a,d.Nb,{set:function(e){return function(f){a.T[e.Nb]=f}}(d),get:function(e){return function(){return e.getValue}}(d)})):Object.defineProperty(a,d.Nb,{set:function(e){return function(f){a.T[e.Nb]=f}}(d),get:function(e){return function(){return a.T[e.Nb]}}(d)}))},zL=function(a){Object.defineProperty(a,"error",{set:function(){},get:function(){return a.T.error?a.T.error: a.sh}})},AL=function(a){a.T.style.width=Fw();a.T.style.height=Fw()};rL.prototype.disconnectedCallback=function(){this.Df&&RI(this.Df);kL.prototype.disconnectedCallback&&kL.prototype.disconnectedCallback.call(this)}; ea.Object.defineProperties(rL.prototype,{Sc:{configurable:!0,enumerable:!0,set:function(a){this.setAttribute("demuxedaudiosrc",a)},get:function(){return this.getAttribute("demuxedaudiosrc")}},Ac:{configurable:!0,enumerable:!0,set:function(a){this.setAttribute("demuxedvideosrc",a)},get:function(){return this.getAttribute("demuxedvideosrc")}},src:{configurable:!0,enumerable:!0,set:function(a){this.setAttribute("src",a)},get:function(){return this.getAttribute("src")}}}); ea.Object.defineProperties(rL,{observedAttributes:{configurable:!0,enumerable:!0,get:function(){return gL}}});A.customElements&&(A.customElements.get("lima-video")||A.customElements.define("lima-video",rL));var DL=function(a,b,c,d){b=b===void 0?!1:b;c=c===void 0?!1:c;d=d===void 0?!1:d;U.call(this);this.g=a;this.A=d;this.loaded=this.l=!1;this.o=null;this.j=new NH(this);kt(this,this.j);this.D=b&&Bc&&!Ic||c;this.B=[]};t(DL,U);m=DL.prototype;m.dispatchEvent=function(a){return this.A?(this.B.push(a),!0):U.prototype.dispatchEvent.call(this,a)};m.releaseEvents=function(){var a=this;this.A&&(this.A=!1,this.B.forEach(function(b){a.dispatchEvent(b)}))}; m.wf=function(){this.qc();this.j.listen(this.g,"ended",this.gj);this.j.listen(this.g,"pause",this.Kk);this.j.listen(this.g,"playing",this.Lk);this.j.listen(this.g,"timeupdate",this.wb);this.j.listen(this.g,"volumechange",this.Qk);this.j.listen(this.g,"error",this.mh);this.j.listen(this.g,"canplay",this.Gk);this.j.listen(this.g,"canplaythrough",this.Hk);this.j.listen(this.g,"loadstart",this.Jk);this.j.listen(this.g,"durationchange",this.Ik);this.j.listen(this.g,"waiting",this.Rk);this.j.listen(this.g, "seeked",this.Nk);this.j.listen(this.g,"seeking",this.Ok);this.j.listen(this.g,"stalled",this.Pk);this.j.listen(this.g,"progress",this.Mk);this.j.listen(this.g,"loadeddata",this.di);this.j.listen(this.g,"windowFocusChanged",this.Sk)};m.qc=function(){QH(this.j)};m.getCurrentTime=function(){return this.g.currentTime};m.getDuration=function(){return isNaN(this.g.duration)?-1:this.g.duration};m.getVolume=function(){return this.Ge()?0:this.g.volume};m.mg=function(){return this.g};m.vg=function(){return this.g.paused}; m.Ge=function(){return this.g.muted};m.Fe=function(){return this.g.ended};m.ac=function(){return!1};m.gj=function(){this.dispatchEvent("end");EL(this)};m.Kk=function(){this.Fe()||this.dispatchEvent("pause");EL(this)};m.Lk=function(){this.dispatchEvent("play");this.D&&FL(this)};var FL=function(a){a.l||(a.l=!0,EL(a),a.dispatchEvent("start"))};m=DL.prototype;m.wb=function(){var a=this.getCurrentTime();if(!this.l){if(a<=0)return;if(Ic&&this.Fe()&&this.getDuration()===1){this.mh();return}FL(this)}this.dispatchEvent("timeUpdate")}; m.Rk=function(){this.dispatchEvent("waiting")};m.Qk=function(){this.dispatchEvent("volumeChange")};m.Ik=function(){this.dispatchEvent("durationChange")};m.mh=function(){EL(this);this.dispatchEvent("error")};m.Gk=function(){this.dispatchEvent("canPlay");this.di()};m.Hk=function(){this.dispatchEvent("canPlayThrough")};m.Jk=function(){this.dispatchEvent("loadStart")};m.Nk=function(){this.dispatchEvent("seeked")};m.Ok=function(){this.dispatchEvent("seeking")};m.Pk=function(){this.dispatchEvent("stalled")}; m.Mk=function(){this.g.buffered&&this.g.buffered.length&&this.g.buffered.end(this.g.buffered.length-1)===this.getDuration()&&(un(M.getInstance(),"vfl"),this.dispatchEvent("fullyLoaded"))};m.di=function(){this.loaded||(un(M.getInstance(),"vil"),this.loaded=!0,this.dispatchEvent("loaded"))};m.Sk=function(a){this.dispatchEvent(a)};m.load=function(a){a&&(this.g.src=a,this.g.load())}; m.unload=function(){this.g.removeAttribute("src");this.g.removeAttribute("demuxedVideoSrc");this.g.removeAttribute("demuxedAudioSrc");this.g.load()};m.play=function(){this.l||GL(this);return this.g.play()};m.pause=function(){this.g.pause()};var GL=function(a){a.o||(a.o=zC(function(){a.l||a.dispatchEvent("mediaPlaybackTimeout")},8E3))},EL=function(a){a.o&&(A.clearTimeout(a.o),a.o=null)};DL.prototype.setVolume=function(a){this.g.volume=a}; DL.prototype.canPlayType=function(a){if(typeof this.g.canPlayType!=="function")return N(M.getInstance(),"vmcpy","1"),!0;a=this.g.canPlayType(a);return a!==""&&a!=null};DL.prototype.Hf=function(){return this.g.currentSrc};function bH(a){a=new fJ(new Xr(a));var b=hJ(a,"manifest"),c=hJ(a,"itag");b=b||c||0;a=a.Ed()||"none";N(M.getInstance(),"vsrc",a);N(M.getInstance(),"bit",String(b))} function HL(a){if(a instanceof lF){var b=a.j,c=a.g;if(b===243&&c){var d=a.l+'; codecs="vp09.00.10.08"',e=a.A+'; codecs="'+a.Ba+'"';b=wG[b]*1E3||4E5;c=wG[c]*1E3||4E5;var f=Ir(window),g=a.getHeight()||f.height;a=a.getWidth()||f.width;return{type:"media-source",audio:{contentType:e,channels:"2",bitrate:c,samplerate:44100},video:{contentType:d,width:a,height:g,bitrate:b,framerate:30}}}}return null};var XG=function(){var a;this.g=a=a===void 0?[]:a},ZG=function(a,b){var c=null;a=u(a.g);for(var d=a.next();!d.done;d=a.next()){var e=d.value;switch(e.type){case "dash":if(c=IL(b,"application/dash+xml"))return c;break;case "hls":if(c=IL(b,"application/vnd.apple.mpegurl"))return c;break;case "itag":if(e.Bk)c=dH(b,e.Bk);else if(e.Il){d=c=void 0;var f=b,g=e.Il;e=e.Cn;for(var h=u(f.l),k=h.next();!k.done;k=h.next())k=k.value,k.da==g&&(d=k);if(e)for(f=u(f.g),g=f.next();!g.done;g=f.next())g=g.value,g.da== e&&(c=g);c=d&&c?aH(d,c):d?new lF({Ei:d.url,Ej:"",Ci:d.da,uh:null,Di:d.mimeType,vh:"",ra:d.ra,Ba:"",height:d.height,width:d.width,oa:d.oa||!1,Hl:d.Ab,Dj:0}):null}if(c)return c}}return null},IL=function(a,b){a=u(a.o);for(var c=a.next();!c.done;c=a.next())if(c=c.value,c.mimeType==b)return $G(c);return null},dH=function(a,b){a=u(a.j);for(var c=a.next();!c.done;c=a.next())if(c=c.value,c.da==b)return $G(c);return null},$G=function(a){return new mF({Zh:a.url,mimeType:a.mimeType,da:a.da,ra:a.ra,Ba:a.Ba,height:a.height, width:a.width,oa:a.oa||!1,Ab:a.Ab})},aH=function(a,b){return new lF({Ei:a.url,Ej:b.url,Ci:a.da,uh:b.da,Di:a.mimeType,vh:b.mimeType,ra:a.ra,Ba:b.Ba,height:a.height,width:a.width,oa:a.oa&&b.oa||!1,Hl:a.Ab,Dj:b.Ab})},cH=function(a){a=HL(a);var b,c;a&&((b=navigator)==null?0:(c=b.mediaCapabilities)==null?0:c.decodingInfo)&&navigator.mediaCapabilities.decodingInfo(a).then(function(d){N(M.getInstance(),"mcsu",d.supported?"1":"0");N(M.getInstance(),"mcsm",d.smooth?"1":"0");N(M.getInstance(),"mcpe",d.powerEfficient? "1":"0")})};RegExp.prototype.hasOwnProperty("sticky");function JL(a){return typeof a!="object"?!1:Yd(a.width)&&Yd(a.height)&&Yd(a.x)&&Yd(a.y)};var KL=function(a){a=a===void 0?{}:a;this.sa=a.sa;this.Tf=a.Tf;this.Uf=a.Uf;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.Eg=a.Eg;this.gd=a.gd;this.hd=a.hd;this.Zg=a.Zg;this.uri=a.uri;this.fh=a.fh;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 LL(a){a=a.trackingUrls;if(!(a instanceof Array))return un(M.getInstance(),"sp_s_vrt_ia"),!1;if(a.every(function(b){return typeof b=="string"}))return un(M.getInstance(),"sp_s_vrt_s"),!0;un(M.getInstance(),"sp_s_vrt_iu");return!1} function ML(a){if(!JL(a.videoDimensions))return un(M.getInstance(),"sp_s_vr_ivd"),!1;if(!JL(a.creativeDimensions))return un(M.getInstance(),"sp_s_vr_icd"),!1;if(typeof a.fullscreen!="boolean")return un(M.getInstance(),"sp_s_vr_ifs"),!1;un(M.getInstance(),"sp_s_vr_s");return!0} var NL=function(){},OL=function(a,b){switch(a){case "SIMID:Creative:requestChangeAdDuration":return a=b.duration,isNaN(a)||typeof a!="number"?null:new KL({duration:a});case "SIMID:Creative:reportTracking":return LL(b)?new KL({Zg:b.trackingUrls}):null;case "SIMID:Creative:requestResize":return ML(b)?new KL({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 KL({volume:b.volume,muted:b.muted});case "SIMID:Creative:requestNavigation":return typeof b.uri!="string"?null:new KL({uri:b.uri});case "SIMID:Creative:log":return typeof b.message!="string"?null:new KL({message:b.message})}return new KL};var PL=function(a,b,c,d){this.type=a;this.args=d;this.messageId=b;this.g=c};var QL=function(a,b,c){uB.call(this,a.type);this.resolve=b;this.reject=c;this.args=a.args};t(QL,uB);var RL=function(a,b,c,d){d=d===void 0?{}:d;a=d.te===void 0?!1:d.te;d=d.se===void 0?!1:d.se;U.call(this);this.B=new bv;this.H=c;this.A={te:a,se:d};this.l="";this.K=1;this.D=this.F=window;this.g=b;this.o=new NH(this);kt(this,this.o);this.j=new Map};t(RL,U); var VL=function(a){a.o.listen(window,"message",function(b){a:{b=b.Qc;var c=a.D===b.source;if(a.A.te){var d=a.g==null||a.g==="*"||b.origin===a.g;if(!c||!d)break a}else if(b.origin!==a.g&&!c&&a.g!="*")break a;b:if(b.data){c={};try{c=JSON.parse(b.data)}catch(h){b=null;break b}b=typeof c!="object"?null:c}else b=null;var e=b;if(e!=null&&(b=e.type,c=e.sessionId,c==a.l||b=="createSession")&&(!a.A.se||b!=="createSession"||a.l==null)&&(d=e.args,e=e.messageId,e!=null)){var f=null;try{if(b=="resolve"||b=="reject"){var g= d.messageId;f=g==null?null:new KL({hd:g,gd:d.value})}else f=OL(b,d)}catch(h){if(h.cause===1210){g=JSON.stringify({type:"TimingEvent",key:"smd_ss_nfo_init"});a.sendMessage("SIMID:Creative:log",new KL({message:g}));g=JSON.stringify({type:"OneShotParameter",key:"smd_ss_nfo_init_r",value:h.message});a.sendMessage("SIMID:Creative:log",new KL({message:g}));break a}throw h;}if(f)switch(b==="SIMID:Player:init"&&(g=JSON.stringify({type:"TimingEvent",key:"smd_ss_so_init"}),a.sendMessage("SIMID:Creative:log", new KL({message:g}))),g=new PL(b,e,c,f),g.type){case "resolve":case "reject":if(b=g.args.hd)c=g.args.gd||{},a.j.has(b)&&(d=a.j.get(b),g.type=="resolve"?d.resolve(c):g.type=="reject"&&d.reject(c),a.j.delete(b));break;case "createSession":a.l=g.g;SL(a,g.messageId);a.B.resolve();break;default:TL(a,g)}else UL(a,e,{errorCode:1211,message:"Invalid message arguments."})}}})}; RL.prototype.sendMessage=function(a,b){b=b===void 0?new KL:b;var c=this.K++,d={};d.type=a;d.sessionId=this.l;d.messageId=c;d.timestamp=Date.now();if(a=="resolve"||a=="reject"){var e={};b=(e.messageId=b.hd,e.value=b.gd,e)}else{e={};switch(a){case "SIMID:Player:init":var f={};f=(f.adParameters=b.sa,f.clickThruUri=b.Tf,f.clickThruUrl=b.Uf,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.fh,k.skippableState="adHandles",k.navigationSupport=b.Eg,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.H.includes(a)?(a=new bv,this.j.set(c,a),a.promise):Promise.resolve({})}; var TL=function(a,b){a.dispatchEvent(new QL(b,function(c){c=c===void 0?{}:c;SL(a,b.messageId,c)},function(c){c=c===void 0?{}:c;UL(a,b.messageId,c)}))},SL=function(a,b,c){c=c===void 0?{}:c;a.sendMessage("resolve",new KL({hd:b,gd:c}))},UL=function(a,b,c){a.sendMessage("reject",new KL({hd:b,gd:c}))},WL=function(a,b){var c=b.source;b=b.target;a.D=c;a.F=b};function XL(a){return(a=a.ub.find(function(b){return Zk(b.W)=="SIMID"&&b.mimeType=="text/html"&&!!b.url&&!D(b.url)}))?a.url:null}function YL(a){return(a=a.ub.find(function(b){return Zk(b.W)=="SIMID"&&b.mimeType=="text/html"&&!!b.g&&!D(b.g)}))?a.g:null}function ZL(a){return YL(a)!=null||XL(a)!=null};var $L="SIMID:Player:adSkipped SIMID:Player:adStopped SIMID:Player:appBackgrounded SIMID:Player:fatalError SIMID:Player:init SIMID:Player:startCreative".split(" "),aM=function(a,b,c){c=c===void 0?!1:c;U.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 Xr(a),a.o+"://"+a.j);d=e}this.g=new RL(new NL,d,$L,b);this.j=null;this.l=0};t(aM,U); var bM=function(a){VL(a.g);Object.values(Ds).forEach(function(b){a.g.listen(b,function(c){b==="SIMID:Creative:log"&&c.args.message==="cr"?a.l=0:a.dispatchEvent(c)})})},cM=function(a){return a.g.sendMessage("SIMID:Player:startCreative")};aM.prototype.log=function(a){return this.g.sendMessage("SIMID:Player:log",new KL({message:a}))}; var eM=function(a){if(!a.j)return a.l=0,a.j=new bv,dM(a),a.j.promise},dM=function(a){a.j&&(a.l===2?(a.j.resolve(),a.j=null):(a.log("pp"),a.l++,setTimeout(function(){return dM(a)},2E3)))};var fM={ENDED:"ended",ERROR:"error",PLAY:"play",PAUSE:"pause",Vl:"appBackgrounding",Wl:"appForegrounding",SEEKED:"seeked",SEEKING:"seeking",SKIPPED:"skipped",STALLED:"stalled",TIME_UPDATE:"timeUpdate",yj:"volumeChange",DURATION_CHANGE:"durationChange",tn:"resize"};var gM=function(a,b,c){R.call(this);this.g=a;this.j=b;this.o=c;kt(this,this.o);this.A=new NH(this);kt(this,this.A);this.l=null};t(gM,R); var hM=function(a,b,c){a=new gM(b,a,c);kt(a,b);return a},kM=function(a){if(a.l)return a.l.promise;var b=iM(a.o);a.l=new bv;bM(a.g);WL(a.g.g,b);return a.g.g.B.promise.then(function(){jM(a);return a.l.promise})},oM=function(a){var b=!0;b=b===void 0?!1:b;a.l||kM(a);a.A.listen(a.g,Object.values(Ds),function(c){return void lM(a,c)});a.A.listen(a.j,Object.values(fM),function(c){return void mM(a,c)});b?a.l.promise.then(function(){nM(a.o.g,"showIframe")}).then(function(){return cM(a.g)}):a.l.promise.then(function(){return cM(a.g)}).then(function(){nM(a.o.g, "showIframe")})},jM=function(a){pM(a.j).then(function(b){var c=Hw(a.j.V.g),d={};a:{var e=a.j.ad.sa||"";d=(d.sdkv=Eu(Du.getInstance()),d.eid=So().sort().join(","),d.ssss="gima",d);try{var f=JSON.parse(e)}catch(g){break a}e=typeof f==="object"&&f.hasOwnProperty("youtubeVideoId")?JSON.stringify(Object.assign({},f,d)):e}b={sa:e,Tf:a.j.ad.g,Uf:a.j.ad.g,fullscreen:b.fullscreen,muted:b.muted,Eg:Mu()?"notSupported":"adHandles",fh:!1,videoWidth:c.width,videoHeight:c.height,volume:b.volume};a.g.g.sendMessage("SIMID:Player:init", new KL(b)).then(a.l.resolve).catch(a.l.reject);un(M.getInstance(),"ima_si");Number.isInteger(c.width)&&Number.isInteger(c.height)||un(M.getInstance(),"ima_vsni")})},mM=function(a,b){switch(b.type){case "appBackgrounding":a.g.g.sendMessage("SIMID:Player:appBackgrounded");break;case "appForegrounding":a.g.g.sendMessage("SIMID:Player:appForegrounded");break;case "ended":a.g.g.sendMessage("SIMID:Media:ended");case "error":case "pause":a.g.g.sendMessage("SIMID:Media:pause");break;case "play":a.g.g.sendMessage("SIMID:Media:play"); break;case "seeked":a.g.g.sendMessage("SIMID:Media:seeked");break;case "seeking":a.g.g.sendMessage("SIMID:Media:seeking");break;case "skipped":a.g.g.sendMessage("SIMID:Player:adSkipped");break;case "stalled":a.g.g.sendMessage("SIMID:Media:stalled");break;case "timeUpdate":pM(a.j).then(function(e){return a.g.g.sendMessage("SIMID:Media:timeupdate",new KL({currentTime:e.currentTime}))});break;case "volumeChange":pM(a.j).then(function(e){return a.g.g.sendMessage("SIMID:Media:volumechange",new KL({volume:e.volume, muted:e.muted}))});break;case "durationChange":pM(a.j).then(function(e){return a.g.g.sendMessage("SIMID:Media:durationchange",new KL({duration:e.duration}))});break;case "resize":b=Hw(a.j.V.g);var c=new Fm(0,0,b.width,b.height),d=qM(a.j);a.g.g.sendMessage("SIMID:Player:resize",new KL({creativeX:c.left,creativeY:c.top,creativeWidth:c.width,creativeHeight:c.height,videoX:d.left,videoY:d.top,videoWidth:d.width,videoHeight:d.height,fullscreen:ws(b.width,b.height)}))}},lM=function(a,b){rM(a,b.type,b.args).then(function(c){return b.resolve(c)}).catch(function(c){return b.reject(c)})}, rM=function(a,b,c){switch(b){case "SIMID:Creative:clickThru":return sM(a.j);case "SIMID:Creative:getMediaState":return pM(a.j).then(function(d){var e={};return e.currentSrc=d.currentSrc,e.currentTime=d.currentTime,e.duration=d.duration,e.ended=d.ended,e.muted=d.muted,e.paused=d.paused,e.volume=d.volume,e.fullscreen=d.fullscreen,e});case "SIMID:Creative:reportTracking":return tM(c.Zg);case "SIMID:Creative:requestPause":return a.j.pause();case "SIMID:Creative:requestPlay":return a.j.play();case "SIMID:Creative:requestSkip":return a.j.skip().then(function(){return a.g.g.sendMessage("SIMID:Player:adSkipped")}); case "SIMID:Creative:requestChangeVolume":return Promise.resolve(void 0);case "SIMID:Creative:requestResize":return uM(a,c);case "SIMID:Creative:requestNavigation":return Promise.reject();case "SIMID:Creative:requestStop":return a.j.stop();case "SIMID:Creative:log":return a.j.log(c.message);default:return Promise.reject()}},uM=function(a,b){var c=b.videoWidth,d=b.videoHeight,e=b.videoX,f=b.videoY,g=b.creativeWidth,h=b.creativeHeight,k=b.creativeX;b=b.creativeY;var l=Hw(a.j.V.g);l=new Fm(0,0,l.width, l.height);c=new Fm(e,f,c,d);Hm(l,new Fm(k,b,g,h))||un(M.getInstance(),"sp_rrc");g=Im(l,c);if(!g)return un(M.getInstance(),"sp_rrv_oob"),Promise.reject();Hm(g,c)?un(M.getInstance(),"sp_arv"):un(M.getInstance(),"sp_arv_c");return a.j.resize(g)};var vM=function(a){var b=a===void 0?{}:a;a=b.currentSrc;var c=b.currentTime===void 0?-1:b.currentTime;var d=b.duration===void 0?-1:b.duration;var e=b.ended===void 0?!1:b.ended;var f=b.fullscreen===void 0?!1:b.fullscreen;var g=b.muted===void 0?!1:b.muted;var h=b.paused===void 0?!1:b.paused;b=b.volume===void 0?1:b.volume;this.currentSrc=a;this.currentTime=c;this.duration=d;this.ended=e;this.fullscreen=f;this.muted=g;this.paused=h;this.volume=b};var wM=function(){}; wM.prototype.g=function(a){if(!lI(a,"activeview"))return null;var b=[],c=iI(a,"trackingConfiguration");c=u(c);for(var d=c.next();!d.done;d=c.next()){d=iI(d.value,"trackingEventConfiguration");d=u(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=iI(f,"trackingEventCriteria");f=u(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 qq(g,e,h):null}e&&b.push(e)}}c=pI(a);e=jI(a,"activeViewMetadata");d="";e&&(d=V(e)||"");a=jI(a,"activeViewFlags");e="";a&&(e=V(a)||"");return new KF(c,b,d,e)};var xM=function(){}; xM.prototype.g=function(a){if(!lI(a,"adsense"))return null;for(var b=null,c=null,d=null,e,f=[],g,h=null,k=null,l=null,p=u(P(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=hI(n.getAttribute("bool"));break;case "checkedevents":f=yM(n);break;case "showyoutubeannotations":g=hI(V(n));break;case "ui":h=null;n=jI(n,"config");if(n!=null){var q=jI(n,"context"); if(q!=null&&q.getAttribute("data").toLowerCase()=="default"&&(h=new MF,q=jI(n,"params"))){n=h;q=u(P(q));for(var r=q.next();!r.done;r=q.next())switch(r=r.value,r.nodeName.toLowerCase()){case "audio_muted_on_start":n.Of=hI(r.getAttribute("bool"))||!1;break;case "attribution_text":n.uc=r.getAttribute("data");break;case "attribution_url":n.wc=r.getAttribute("data");break;case "signals":n.Xg=gI(r,"int")||0}}}break;case "visibleurl":k=V(n);break;case "whythisad":a:{l=u(P(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&&N(M.getInstance(),"wta","1")}return new NF(pI(a),{uc:b,wc:c,Yf:d,wg:e,af:f,Wg:g,uiConfig:h,hh:k,Ef:l})};var yM=function(a){var b=[];Array.from(P(a)).forEach(function(c){(c=c.getAttribute("id"))&&b.push(c.toLowerCase())});return b};var zM=function(){};zM.prototype.g=function(a){if(!lI(a,"AdVerifications"))return null;var b=[];a=iI(a,"AdVerifications");a=u(a);for(var c=a.next();!c.done;c=a.next())b.push.apply(b,v(nI(c.value)));return new rH(b)};var AM=function(){};AM.prototype.g=function(a){if(!lI(a,"companion_about_this_ad"))return null;a=iI(a,"Icon");if(a.length<1)return null;a=sI(a[0]);return new PF(a)};var BM=function(){};BM.prototype.g=function(a){a=pI(a);return a.length>0?new JF(a):null};var CM=function(){};CM.prototype.g=function(a){if(!lI(a,"eoid_cookie"))return null;a=u(P(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=gI(c,"expires"),e=c.getAttribute("path"),f=void 0;c=(f=c.getAttribute("value"))!=null?f:"";if(b&&d!=null&&e)return new mG(c,d,e,b)}}return null};var DM=function(){};DM.prototype.g=function(a){if(!lI(a,"esp"))return null;var b=[];a=u(P(a));for(var c=a.next();!c.done;c=a.next()){var d=c.value;d.nodeName=="EspLibrary"&&(c=jI(d,"LibraryName"))&&(c=V(c))&&(d=(d=jI(d,"LibraryUrl"))?V(d):null,b.push({ne:c,Pn:d}))}return new oG(b)};var EM=function(){};EM.prototype.g=function(a){var b=lI(a,"gfp_cookie"),c=lI(a,"gfp_cookie_v2");if(!b&&!c)return null;a=u(P(a));for(b=a.next();!b.done;b=a.next()){var d=b.value;if(d.nodeName=="Cookie"){b=d.getAttribute("domain");var e=gI(d,"expires"),f=d.getAttribute("path"),g=void 0;d=(g=d.getAttribute("value"))!=null?g:"";if(b&&e!=null&&f)return new qG(d,e,f,b,c)}}return null};var FM=function(){}; FM.prototype.g=function(a){if(!lI(a,"GoogleHostedMedia"))return null;N(M.getInstance(),"hghme","1");var b=[],c=[],d=[],e=[],f,g=jI(a,"clientplaybacknonce");g&&(f=V(g));a=u(P(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=u(P(h));for(var k=h.next();!k.done;k=h.next()){k=k.value;var l=V(k),p=k.getAttribute("delivery"), n=gI(k,"itag"),q=void 0,r=(q=k.getAttribute("mimeType"))==null?void 0:q.toLowerCase();q=hI(k.getAttribute("mseCompatible"));var w=gI(k,"contentLength"),z=null,B=null,E=null,da=null,pa=null,Ta=null;if(g=="video"||g=="muxed")z=k.getAttribute("videoCodec"),B=gI(k,"videoBitrate"),pa=gI(k,"width"),Ta=gI(k,"height");if(g=="audio"||g=="muxed")E=k.getAttribute("audioCodec"),da=gI(k,"audioBitrate");if(l!=null&&g!=null)switch(k=new sG(l,g,{rb:p,da:n,mimeType:r,ra:z,Ba:E,gh:B,Nf:da,oa:q,width:pa,height:Ta,Ab:w}), 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 tG(f?f:"None",b,c,d,e)};var GM=function(){};GM.prototype.g=function(a){if(!lI(a,"gpid_wta"))return null;a=u(P(a));for(var b=a.next();!b.done;b=a.next())if(b=b.value,b.nodeName=="AttributionData"&&(b=V(b)))return new eH(b);return null};var HM=function(){};HM.prototype.g=function(a){if(!lI(a,"metrics"))return null;a=u(P(a));for(var b=a.next();!b.done;b=a.next())switch(b=b.value,b.nodeName){case "AdEventId":var c=Vr(b);break;case "FeEventId":var d=Vr(b)}return new nH(c,d)};var IM=function(){};IM.prototype.g=function(a){return lI(a,"programmatic")?(a=jI(a,"DealId"))&&(a=V(a))&&!D(a)?new tH(a):null:null};var JM=function(){};JM.prototype.g=function(a){if(!lI(a,"sodar"))return null;var b=null;a=u(P(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 zH(d,e,f,b):null};var KM=function(){};KM.prototype.g=function(a){if(!lI(a,"uisettings"))return null;var b;(a=jI(a,"uihideable"))&&(b=hI(V(a)));return new AH(b)};var LM=function(){}; LM.prototype.g=function(a){if(!lI(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,q=null,r=jI(a,"youtubevideoid");r&&(b=V(r));if(r=jI(a,"istrueview"))r=hI(V(r)),r!=void 0&&(c=r);(r=jI(a,"videotitle"))&&(d=V(r));(r=jI(a,"videothumbnailurl"))&&(e=V(r));if(r=jI(a,"isvideounlisted"))r=hI(V(r)),r!=void 0&&(f=r);(r=jI(a,"channelid"))&&(g=V(r));(r=jI(a,"channeltitle"))&&(h=V(r));(r=jI(a,"channelthumbnailurl"))&&(k=V(r));(r=jI(a,"channelcustomurl"))&& (l=V(r));(r=jI(a,"format"))&&(p=V(r));(r=jI(a,"youtubeownershipfingerprint"))&&(n=V(r));(a=jI(a,"youtubevisitordata"))&&(q=V(a));return new BH({videoId:b,Hb:c,Wd:d,Bf:e,cd:f,ie:g,wd:h,vd:k,he:l,format:p,gf:n,Cf:q})};function MM(a){if(!a)return!1;if(a=a.M.get(NE)){if(a.g=="TRUEVIEW"||a.g=="SKIPPABLE")return!0;if(a.g)return!1;un(M.getInstance(),"ytu_nf");return a.Hb()}return!1};var NM=function(a){this.jb=new YK;this.l=a;this.g=this.j=null},OM=function(a){return!(!a.j||!a.j.g)};function PM(){var a=Kr(),b=document;return new Xr(a.parent===a?a.location.href:b.referrer)}function QM(a,b){ks(a,"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);ks(a,"url",d)}catch(g){}return a.toString()};var RM="acceptInvitation acceptInvitationLinear click collapse complete exitFullscreen expand firstQuartile fullscreen impression loaded midpoint pause resume skip start thirdQuartile videoClicked volumeChange".split(" ");var SM=new XH;function TM(a){var b=b===void 0?SM:b;var c=c===void 0?null:c;bI(b,new CD(a,c?c:c))};var UM=function(){this.g=Math.random()<.01;this.l=Math.floor(Math.random()*4503599627370496);this.j=null}; UM.prototype.report=function(a,b,c){b=b===void 0?{}:b;if(A.G_testRunner==null&&(this.g||(c===void 0?0:c))){b.lid=a;Eu(Du.getInstance())&&(b.sdkv=Eu(Du.getInstance()));this.j&&(b.palv=this.j);a=So().sort().join(",");D(Zk(a))||(b.e=a);b=VM(this,b);var d=new Xr("http://pagead2.googlesyndication.com/pagead/gen_204");Ij(b,function(e,f){e!=null&&ks(d,f,e==null?"":typeof e==="boolean"?e?"t":"f":""+e)},this);b=PM().o;b!=="http"&&b!=="https"||Yr(d,b);b=d.toString();a=d.g.get("url");a!=null&&Tb()&&b.length> 2083&&(b=QM(d,a));TM(b)}};var VM=function(a,b){b.id="ima_html5";var c=PM();b.c=a.l;b.domain=c.j;return b};UM.getInstance=function(){return L(UM)};function WM(a){var b=Date.now(),c={};a=(c["x-afma-token-requester-type"]=a,c);c="https://pubads.g.doubleclick.net/adsid/integrator.json?aos="+encodeURIComponent(av());return(new RH).get({url:c,withCredentials:!0,timeout:new GH(5E3),headers:a}).then(function(d){var e=Date.now();d=d.newToken||"";var f={};UM.getInstance().report(182,(f.t=e-b,f.aos=av(),f));return new XM(d)}).catch(function(d){var e="not instanceof Error";d instanceof Error&&(e=FG(Number(d.message)));d=Date.now();var f={};UM.getInstance().report(182, (f.except=e,f.t=d-b,f));return Promise.resolve(YM)})}var ZM=function(){U.call(this);this.g=null;this.o=new NH(this);kt(this,this.o);this.j=new yC(72E5);this.l=Promise.resolve(YM)};t(ZM,U);var $M=function(a){var b="requester_type_8";b=b===void 0?"requester_type_9":b;var c=function(d){a.g=d;return a.g};a.l=WM(b).then(c);a.j=new yC(72E5);a.o.listen(a.j,"tick",function(){a.l=WM(b).then(c)});a.j.start();jt(a,function(){a.j.stop()})}; ZM.prototype.getId=function(){var a=this;return y(function(b){if(b.g==1)return a.g!=null&&a.g!==YM?(b.g=2,b=void 0):b=x(b,a.l,3),b;b.g!=2&&(a.g=b.j);return b.return(a.g)})};var XM=function(a){this.id=a},YM=new XM("");function aN(a){for(var b=a.length,c=new Uint8Array(b),d=0;d0);c instanceof bF?h=(h=c.M.get(NE))?h.j:null:h=null;k.j=h;c instanceof bF?h=(h=c.M.get(NE))?h.l:null:h=null;k.g=h;OM(k)&&(k.j.title&&k.jb.g.l(RK.toString(),k.j.title),k.g&&k.g.title&&k.jb.g.l(QK.toString(),k.g.title),k.g&&k.g.g&&k.jb.g.l(PK.toString(),k.g.g));var B;if(OM(k))if(k.g){var E=E===void 0?null:E;(B=B===void 0?null:B)||(B="//www.youtube.com/");E?B+=E:(E=Zk(k.g.id), B=D(E)?null:B+"channel/"+(E.lastIndexOf("UC",0)==0&&E.length==24?E:"UC"+E))}else B=null;else B=null;E=OM(k)&&k.g?k.g.title:null;h=OM(k)&&k.g?k.g.g:null;OM(k)?(l=k.j.id,k=k.l,k=k===void 0?!1:k,l==null?k=null:(p=new Xr("//www.youtube.com/watch"),n=p.g,n.set("v",l),n.set("feature",k?"trueview-instream":"instream"),as(p,n),k=p.toString())):k=null;if(c=c.yb)l={},c=(l.required=!1,l.clickable=!0,l.text=c,l),k&&(c.clickUrl=k),z.set("adTitle",c);E&&(c={},c=(c.required=!1,c.clickable=!!B,c.text=E,c),B&&(c.clickUrl= B),z.set("authorTitle",c));h&&(c={},c=(c.required=!1,c.clickable=!!B,c.imageUrl=h,c),B&&(c.clickUrl=B),E&&(c.text=E),z.set("authorIcon",c))}this.config=new a(d.call(b,e,f,g,v(z)))};t(dN,U);var eN=function(a){this.data=a;this.position=0},fN=function(a,b){if(b<0||b>a.data.length-a.position)throw Error("Invalid skip");a.position+=b},gN=function(a){var b=a.data[a.position]&255;a.position++;return b},hN=function(a,b){if(b<0||b>a.data.length-a.position)throw Error("Invalid byteCount");var c=[],d=0;b=a.position+b;for(var e=a.position;e4&&fN(a.g,f-4);e-=f}(d&8)!==0&&(e-=10);for(d=e;d>0;){e=hN(a.g,4);f=String.fromCharCode.apply(null,e);e=iN(a.g);if(e<=1){a=b;break a}fN(a.g,2);if("TXXX"===f){f=gN(a.g);switch(f){case 0:case 2:case 3:break;default:throw Error("Unsupported encoding "+ f);}var g=DataView,h=a.g,k=e-1;if(k<0||k>h.data.length-h.position)throw Error("Invalid byteCount");var l=new ArrayBuffer(k);l=new Uint8Array(l);for(var p=0,n=h.position+k,q=h.position;q191&&l<224?(p=f[h++],g[k++]=String.fromCharCode((l&31)<<6|p&63)):l>239&&l<365?(p=f[h++],n=f[h++],q=f[h++],l=((l&7)<<18|(p&63)<<12|(n&63)<<6|q&63)-65536,g[k++]=String.fromCharCode(55296+ (l>>10)),g[k++]=String.fromCharCode(56320+(l&1023))):(p=f[h++],n=f[h++],g[k++]=String.fromCharCode((l&15)<<12|(p&63)<<6|n&63));f=g.join("");break b;default:f="";break b}f=void 0}b.push(f)}else fN(a.g,e-1);d-=e+10}if(b.length===0)throw Error("No TXXX frames found.");a=b}a=a[0]}else a=b;a.indexOf("google_")===0&&(a={value:a,Rh:!1},c=Math.floor(c),this.g.has(c)?this.g.get(c).push(a):this.g.set(c,[a]))}};var pN=function(a,b,c){this.key=a;this.duration=b;this.position=c};var qN=function(a){this.data=a};m=qN.prototype;m.getAdPosition=function(a){return((this.data.ads||{})[a]||{}).position||0};m.Vb=function(a){return((this.data.ads||{})[a]||{})["break"]||""};m.getTotalAds=function(a){return((this.data.breaks||{})[a]||{}).ads||0};m.ng=function(a){return((this.data.breaks||{})[a]||{}).duration||0};m.Mh=function(a){return((this.data.breaks||{})[a]||{}).expected_duration||0}; m.pg=function(a){var b=this.data.ads||{},c=this.getAdPosition(a);a=this.Vb(a);for(var d=0,e=u(Object.keys(b)),f=e.next();!f.done;f=e.next()){f=b[f.value]||{};var g=f.position||Number.MAX_SAFE_INTEGER,h=f.duration||0;a===f["break"]&&g>0&&g0}).sort(function(g,h){return g.position-h.position})};var rN=function(a){var b=a===void 0?{}:a;a=b.adBreakDuration===void 0?0:b.adBreakDuration;var c=b.pd===void 0?0:b.pd;var d=b.adPeriodDuration===void 0?0:b.adPeriodDuration;var e=b.adPosition===void 0?0:b.adPosition;var f=b.rd===void 0?0:b.rd;var g=b.currentTime===void 0?0:b.currentTime;var h=b.duration===void 0?0:b.duration;var k=b.tc===void 0?[]:b.tc;b=b.totalAds===void 0?0:b.totalAds;this.adBreakDuration=a;this.pd=c;this.adPeriodDuration=d;this.adPosition=e;this.rd=f;this.currentTime=g;this.duration= h;this.tc=k;this.totalAds=b},sN=function(a){var b={};b.adBreakDuration=a.adBreakDuration;b.adBreakStartTime=a.pd;b.adPeriodDuration=a.adPeriodDuration;b.adPosition=a.adPosition;b.adStartTime=a.rd;b.currentTime=a.currentTime;b.duration=a.duration;b.adsDurationsMs=a.tc;b.totalAds=a.totalAds;return b};var tN=function(a){this.played=!1;this.data=a};tN.prototype.contains=function(a){return Math.floor(uN(this))<=a&&a<=Math.ceil(vN(this))};var uN=function(a){return a.data.start_float},vN=function(a){return a.data.end_float};tN.prototype.bd=function(){return uN(this)<=vN(this)};tN.prototype.Ub=function(a){return a?uN(this)===uN(a)&&vN(this)===vN(a)&&this.played===a.played:!1};var wN=function(a){var b={};b.end=vN(a);b.start=uN(a);b.played=a.played;return b};var xN={html:"Html",iframe:"IFrame","static":"Static"}; function yN(a,b){var c=a.deal_id||null;b=new kF(b);b.A=zN(a);b.yb=a.title||null;b.C=a.advertiser||null;b.g=a.clickthrough_url||"";b.l=a.attribution_params;b.creativeId=a.creative_id||null;b.B=a.creative_ad_id||null;b.description=a.description||null;b.na=a.duration*1E3||-1;b.id=a.ad_id||null;b.kb=AN(a);b.L=BN(a,"creative_id");b.F=BN(a,"ad_id");b.J=BN(a,"system");b.dealId=CN(a)||c;if(c=a.skip_metadata)b.qa=c.offset*1E3,b.Z.set("skip",[new ED("skip",c.tracking_url)]);c=(a.extensions||[]).map(function(d){return MH(d).documentElement}); c=zI(DN(),c);c=new HF([new GF(new lH({ua:EN(a.companions),M:c}))]);(new yH).g(c,b,new As);(a=FN(a))&&b.M.set(GE,a);return b}function GN(a,b){var c=a.vast||"";if(!c)return null;b=HN(c,b);if(!b)return null;b.L=BN(a,"creative_id");b.J=BN(a,"system");b.F=BN(a,"ad_id");a=CN(a);b.dealId=a||b.dealId;return b}function CN(a){a=u(a.wrappers||[]);for(var b=a.next();!b.done;b=a.next())if(b=b.value,b.deal_id)return b.deal_id;return""} function EN(a){if(!a||a.length===0)return[];var b=[];a=u(a);for(var c=a.next();!c.done;c=a.next())b.push(IN(c.value));return b}function IN(a){var b=new Cr(a.click_data.url),c=a.tracking_events.map(function(d){return new DD(d.event,d.uri)});return new CF({yc:new pF([new oF({Rb:a.ad_slot_id,W:a.api_framework,width:a.width,height:a.height,zb:b,Z:c,resources:[new nF(a.resource,xN[a.type],a.creative_type)]})])})} function BN(a,b){var c=[];(a.wrappers||[]).forEach(function(d){return c.push(d[b]||"")});return c.reverse()} function HN(a,b){try{var c=MH(a);if(c){var d=c.documentElement;if(d&&ts(d)){var e=DN();if(!d)throw Error("VAST string is empty.");if(!ts(d))throw Error("Response string is not a valid VAST document.");a=[];c=[];for(var f=u(P(d)),g=f.next();!g.done;g=f.next()){var h=g.value;switch(h.nodeName){case "Ad":d=void 0;var k=e,l={};l.id=h.getAttribute("id");l.Na=gI(h,"sequence");l.Sb=h.getAttribute("adType");for(var p=u(P(h)),n=p.next();!n.done;n=p.next()){var q=n.value;if(q.nodeName=="InLine"){for(var r= void 0,w=void 0,z=void 0,B=void 0,E=void 0,da=void 0,pa=void 0,Ta=[],qb=[],Cd=[],qe=[],Dd=u(P(q)),Ed=Dd.next();!Ed.done;Ed=Dd.next()){var bb=Ed.value;switch(bb.nodeName){case "AdServingId":pa=V(bb);break;case "AdSystem":da=V(bb);break;case "AdTitle":E=V(bb);break;case "AdVerifications":qe=qe.concat(nI(bb));break;case "Advertiser":B=V(bb);break;case "Creatives":for(var mf=u(P(bb)),re=mf.next();!re.done;re=mf.next()){var se=re.value;se.nodeName=="Creative"&&Cd.push(AI(se))}break;case "Description":z= V(bb);break;case "Error":V(bb)!=null&&Ta.push(V(bb));break;case "Extensions":r=zI(k,P(bb));break;case "Impression":var Na=rI(V(bb)),te=kI(bb);Na!=null&&qb.push(new DF(Na,te));break;case "Survey":w=V(bb)}}d=new lH({sc:pa,Sa:da,yb:E,Zd:B,description:z,Yg:w,errors:Ta,Eb:qb,ua:Cd,Qa:qe,M:r});break}else if(q.nodeName=="Wrapper"){z=w=r=void 0;B=k;E=q;da=[];pa=[];k=[];Ta=[];for(var lc=E.getAttribute("followAdditionalWrappers")!="false",sg=E.getAttribute("allowMultipleAds")=="true",Ab=E.getAttribute("fallbackOnNoAd")== "true",nf=u(P(E)),Fd=nf.next();!Fd.done;Fd=nf.next()){var rb=Fd.value;switch(rb.nodeName){case "AdSystem":z=V(rb);break;case "VASTAdTagURI":var ad=V(rb);w=ad?ad:void 0;break;case "Creatives":for(var ue=u(P(rb)),ve=ue.next();!ve.done;ve=ue.next()){var we=ve.value;we.nodeName=="Creative"&&k.push(AI(we))}break;case "Error":var xe=V(rb);xe!=null&&da.push(xe);break;case "AdVerifications":Ta=Ta.concat(nI(rb));break;case "Extensions":r=zI(B,P(rb));break;case "Impression":var of=rI(V(rb)),pf=kI(rb);of!=null&& pa.push(new DF(of,pf))}}d=new fI({Sa:z,lg:lc,Lf:sg,kg:Ab,If:w,errors:da,Eb:pa,ua:k,Qa:Ta,M:r});break}}if(!d)throw Error("Vast Ad contains neither inline nor wrapper data.");a.push(new GF(d,l));break;case "Error":var Dc=V(h);Dc&&c.push(Dc)}}for(var lb=M.getInstance(),Gd=u(["lima_p_ich","lima_p_icu"]),Hd=Gd.next();!Hd.done;Hd=Gd.next()){var Id=Hd.value;lb.j.has(Id)?(N(lb,Id,""+lb.j.get(Id)),lb.j.delete(Id)):N(lb,Id,"0")}var ye=lb.g;ye.U=!0;kn(ye);var tg=new eI({ads:a,Fg:c})}else tg=null;var Ec=tg}else Ec= null;if(!Ec)return null;var ug=new HF(Ec.g),qf=(new FI(b)).j(ug);if(!qf)return null;(new yH).g(ug,qf,new As);return qf}catch(bi){return null}}function DN(){var a=new xI;yI(a,new wM);yI(a,new xM);yI(a,new zM);yI(a,new IM);yI(a,new JM);yI(a,new BM);yI(a,new KM);yI(a,new HM);yI(a,new LM);yI(a,new FM);yI(a,new EM);yI(a,new CM);yI(a,new DM);yI(a,new GM);yI(a,new AM);return a}function zN(a){var b=a.ad_system||"";a=BN(a,"system");return[b].concat(v(a))} function FN(a){a=a.verifications||null;if(!a)return null;var b=new GE;a.forEach(function(c){var d=c.vendor,e=c.parameters,f=JN(c);c=c.java_script_resources||[];c.length>0&&(c=c[0],HE(b,d,c.script_url||"",e,c.api_framework||"",f))});return b}function JN(a){var b=[];(a.tracking_events||[]).forEach(function(c){b.push(new ED(c.event,c.uri))});return b}function AN(a){return(a=a.universal_ad_id||null)?[new aF(a.id_value||"unknown",a.id_registry||"unknown")]:[]};var KN=function(){qN.apply(this,arguments)};t(KN,qN);KN.prototype.Gf=function(a){return((this.data.tags||{})[a]||{}).type||""};KN.prototype.nh=function(a){return((this.data.tags||{})[a]||{}).ad||""};KN.prototype.getAd=function(a,b){var c=(this.data.ads||{})[a];if(!c)return null;b=GN(c,b);if(!b)return null;b.ia=this.getAdPodInfo(a);return b};KN.prototype.g=function(){for(var a=this.data.tags||{},b=u(Object.keys(a)),c=b.next();!c.done;c=b.next())if((a[c.value].type||"")==="progress")return!0;return!1}; var LN=function(a,b){a=a.Gf(b);if(!a)return!1;switch(a.toLowerCase()){case "progress":case "vastprogress":return!1;default:return!0}};KN.prototype.getAdPodInfo=function(a,b){b=qN.prototype.getAdPodInfo.call(this,a,b===void 0?0:b);a=this.Vb(a);var c=((this.data.breaks||{})[a]||{}).type||"";b.g=-2;switch(c){case "pre":b.g=0;break;case "mid":a=Number(a),isNaN(a)||(b.g=a)}return b};var MN=function(){KN.apply(this,arguments)};t(MN,KN);m=MN.prototype;m.Gf=function(a){return NN(this,a).type||""};m.nh=function(a){return NN(this,a).ad||""};m.Vb=function(a){return((this.data.ads||{})[a]||{}).ad_break_id||""};m.getTotalAds=function(a){return((this.data.ad_breaks||{})[a]||{}).ads||0};m.ng=function(a){return((this.data.ad_breaks||{})[a]||{}).duration||0};m.Mh=function(a){return((this.data.ad_breaks||{})[a]||{}).expected_duration||0}; m.pg=function(a){var b=this.data.ads||{},c=this.getAdPosition(a);a=this.Vb(a);for(var d=0,e=u(Object.keys(b)),f=e.next();!f.done;f=e.next()){f=b[f.value]||{};var g=f.position||Number.MAX_SAFE_INTEGER,h=f.duration||0;a===f.ad_break_id&&g>0&&g0}).sort(function(g,h){return g.position-h.position})};var NN=function(a,b){a=a.data.tags||{};for(var c=u(Object.keys(a)),d=c.next();!d.done;d=c.next())if(d=d.value,b.startsWith(d))return a[d];return{}};var ON=function(a,b){b=b===void 0?{}:b;uB.call(this,a);this.data=b||{}};t(ON,uB);var PN=function(a){this.data=a=a===void 0?{}:a},QN=function(a){return a.data.metadata_url||""},RN=function(a){var b=a.data.polling_frequency;return isNaN(b)||b==null||b<0?10:a.data.polling_frequency},SN=function(a){return a.data.stream_id||""};PN.prototype.ze=function(){return this.data.pod_manifest_url||""}; PN.prototype.Ae=function(){var a={};return a.pod_manifest_url=this.ze(),a.manifestFormat=this.data.manifest_format||"",a.streamUrl=this.data.stream_manifest||"",a.subtitles=this.data.subtitles||[],a.streamId=SN(this),a};var TN=function(a){return a.data.stream_type==="live"};var UN=function(){qN.apply(this,arguments)};t(UN,qN);UN.prototype.getCuePoints=function(){var a=(this.data.cuepoints||[]).map(function(b){return new tN(b)});a=a.filter(function(b){return b.bd()});a.sort(function(b,c){return uN(b)-uN(c)});return a};UN.prototype.getAd=function(a,b,c){c=c===void 0?0:c;var d=(this.data.ads||{})[a];if(!d)return null;b=GN(d,b);if(!b)return null;b.ia=this.getAdPodInfo(a,c);return b}; UN.prototype.g=function(){for(var a=this.data.times||{},b=u(Object.keys(a)),c=b.next();!c.done;c=b.next()){c=a[c.value];for(var d=0;d0&&uN(a[0])===0;a.some(function(e,f){return e.contains(b||0)?(c.g=d?f:f+1,c.j=uN(e),!0):!1})}return c};var VN=function(){U.call(this);this.j=this.currentTime=0;this.g=!1};t(VN,U);VN.prototype.wb=function(a){this.currentTime=a;a=Math.abs(this.currentTime-this.j);this.g&&a>2.5&&(this.g=!1,this.dispatchEvent(new ON("adPeriodEnded")))};VN.prototype.reset=function(){this.j=this.currentTime=0;this.g=!1};function WN(a,b){var c=b;a.forEach(function(d){var e=uN(d);d=vN(d);b>=d?c-=d-e:be&&(c-=b-e)});return c}function XN(a,b){var c=b,d=0,e=0;a.forEach(function(f){var g=uN(f);f=vN(f);d+=g-e;if(d>b)return c;c+=f-g;e=f});return c};var YN=function(a,b,c,d){this.B=a;this.D=b;this.ba=c;this.aa=d;this.l=null;this.F=0;this.j="";this.J=0;this.C=!1;this.U=!0;this.H=!1;this.o=0;this.A=this.g=null;this.K=this.L=this.O=!1;this.volume=1;this.N=new Set},ZN=function(a){it(a.g);a.K=!1;a.g=null;a.l=null;a.j=""},$N=function(a){a.C||(a.F=a.o,a.C=!0,a.dispatchEvent(new ON("adBreakStarted")))},aO=function(a){a.C&&(a.U&&(a.U=!1,(TN(a.B)||a.B.data.stream_type==="on_demand")&&UM.getInstance().report(206,{st:TN(a.B)?"live":"vod",meta:a.H?"1":"0", pt:Ls.getPlayerType()||"",pv:Ls.getPlayerVersion()||"",n:"0",ctv:Mu()?"1":"0"},!1)),a.dispatchEvent(new ON("adBreakEnded")),a.C=!1)};YN.prototype.Ta=function(){if(this.A){var a=this.A;var b=this.j,c=this.o,d=this.J;if(a==null||D(b))a=null;else{var e=a.Vb(b);a=new rN({adBreakDuration:a.ng(e),pd:this.F,adPeriodDuration:a.Mh(e),adPosition:a.getAdPosition(b),rd:d,currentTime:c-d,duration:((a.data.ads||{})[b]||{}).duration||0,totalAds:a.getTotalAds(e),tc:a.getAdPodInfo(b,d).tc})}}else a=null;return a}; YN.prototype.getCurrentTime=function(){var a=this.Ta();return a!=null?a.currentTime:0};YN.prototype.getDuration=function(){var a=this.Ta();return a!=null?a.duration:0};YN.prototype.getVolume=function(){return this.volume}; var eO=function(a,b){D(a.j)||a.j!==b||(bO(a,!0),cO(a,"hideAdUi"),cO(a,"complete"),dO(a))},fO=function(a,b,c){return D(a.j)||a.j!==c?!1:(cO(a,b),!0)},gO=function(a,b,c){!D(a.j)&&a.j===b&&a.g!=null&&a.g.report("progress",c.filter(function(d){return d.length>0}))},iO=function(a,b){if(a.N.has(b)||!a.A)return null;a.N.add(b);var c=a.A.getAd(b,a.D,a.o);if(!c)return ZN(a),null;a.l=c;a.j=b;a.J=a.o;hO(a,c);return c}; YN.prototype.Cb=function(a,b){var c;cO(this,a,(c=jO(b))!=null?c:void 0);a==="skip"&&(cO(this,"hideAdUi"),dO(this))};var kO=function(a){(a=a.M.get(JE))&&a.init("3.677.0")},lO=function(a){var b=a.B.Ae();a.dispatchEvent(new ON("loadStream",b))};YN.prototype.Jc=function(a){this.O||(mO(this,a),this.O=!0);this.L&&(cO(this,"resume"),this.L=!1)};YN.prototype.Ic=function(){this.L||(cO(this,"pause"),this.L=!0)};YN.prototype.Kc=function(a){mO(this,a)}; var nO=function(a){if(a.l){var b=a.Ta();a.dispatchEvent(new ON("adProgress",b!=null?sN(b):{}));a.g&&(b=a.getDuration()*1E3,lE(a.g,a.getCurrentTime(),b))}},bO=function(a,b){b=b===void 0?!1:b;var c;!a.K&&(c=a.l)!=null&&c.isSkippable()&&(a.getCurrentTime()>=30||b)&&(a.K=!0,cO(a,"engagedView"))},oO=function(a){if(!a.C&&a.A){var b=a.A.pg(a.j);a.F=a.J-b;a.C=!0;a.dispatchEvent(new ON("adBreakStarted"))}cO(a,"loaded");cO(a,"adCanPlay");cO(a,"impression");cO(a,"creativeView");cO(a,"start");cO(a,"showAdUi"); a.volume===0&&cO(a,"mute")},cO=function(a,b,c){a.l&&(a.g!=null&&a.g.report(b,c),a.dispatchEvent(new OE(b,a.l)))},dO=function(a){var b=a.A,c=a.j;if(b==null||D(c))var d=!0;else d=b.getTotalAds(b.Vb(c)),b=b.getAdPosition(c),d=typeof d!=="number"||typeof b!=="number"?!0:b>=d;ZN(a);d&&aO(a)};YN.prototype.dispatchEvent=function(a){this.ba.dispatchEvent(a)}; var hO=function(a,b){it(a.g);a.g=new cE(b.Z,new XH(!1));b=QD({ei:"1",ia:b.getAdPodInfo(),ad:b,V:a.aa});nE(a.g,b);mE(a.g,new KD("SDKV",{toString:function(){return a.D}}))},mO=function(a,b){if(a.l!=null){var c=b===0,d=a.volume===0;c&&!d?cO(a,"mute"):!c&&d&&cO(a,"unmute");a.volume!==b&&a.dispatchEvent(new OE("volumeChange",a.l,{volume:b}))}a.volume=b}; function jO(a){if(!a)return null;a=a.data;return a instanceof Object?a.trackingUrls&&(a=a.trackingUrls,a instanceof Object&&a.eventUrls&&(a=a.eventUrls,a instanceof Array&&a.length))?a:null:null};function pO(a){var b;return((b=a.M.get(EE))==null?void 0:b.g)||null}function qO(a){return a.some(function(b){return b.za==="GoogleWhyThisAd"})}function rO(a){a.forEach(function(b){if(b.za==="GoogleWhyThisAd"||b.za==="AdChoices")b.Za="left",b.ab="top",b.g=20,b.j=20})}function sO(a){a.forEach(function(b){b.za==="GoogleWhyThisAd"&&(b.g<46||b.j<46)&&(b.g=46,b.j=46)})}var tO=function(){this.l=-1;this.j=this.g=!0;this.o=!1;this.A=!0;this.B=this.L=!1;this.F=null;this.va=[];this.D=!1;this.C=null}; tO.prototype.getUiElements=function(){var a=[];this.g&&a.push("adAttribution");this.j&&a.push("countdown");return a};tO.prototype.isSkippable=function(){return this.l>=0};function uO(a){var b={};return b.skipTime=a.l,b.enableAttributionBar=a.g,b.enableCountdown=a.j,b.enableLearnMoreButton=a.o,b.enableTitleBar=a.A,b.enableYouTubeMetadata=a.L,b.gvnStyleAnnotation=a.B,b.wtaClickthroughUrl=a.F,b.icons=a.va.map(function(c){var d={};return d.program=c.za,d.apiFramework=c.W,d.widthPx=c.g,d.heightPx=c.j,d.pxRatio=c.F,d.xPosition=c.Za,d.yPosition=c.ab,d.offsetMs=c.xa,d.durationMs=c.na,d.clickthroughUrl=c.o,d.attributionParams=c.A,d.staticResourceUrl=c.l,d.staticResourceMimeType= c.J,d.iconViewTrackingUrls=c.B,d.iconClickTrackingUrls=c.C,d}),b.hasClickthrough=a.D,b.gpidAttributionData=a.J?JSON.stringify(Oh(a.J)):null,b};var vO=function(){},wO=function(a,b){a=new Xr(a);b.g&&Zr(a,"dai.google.com");return a},xO=function(a){var b=a.adTagParameters,c=new Map;if(b!=null)for(var d=u(Object.keys(b)),e=d.next();!e.done;e=d.next()){e=e.value;var f=b[e];f!=null&&c.set(e,f)}c.set("api-key",a.apiKey);c.set("auth-token",a.authToken);c.set("dai-sam-id",a.streamActivityMonitorId);a.g&&c.set("cld","1");return c};vO.prototype.yh=function(){return null};vO.prototype.xh=function(){return null};function yO(a,b,c){return a+"/"+b+"/vid/"+c+"/streams"}function zO(a,b){var c={},d={},e={};return e.url="https://videostitcher.googleapis.com/v1/projects/"+a.projectNumber+"/locations/"+a.region+"/liveSessions",e.content=Object.assign({},a.videoStitcherSessionOptions,(d.live_config="projects/"+a.projectNumber+"/locations/"+a.region+"/liveConfigs/"+a.liveStreamEventId,d.gam_settings=(c.stream_id=b,c),d)),e} function AO(a,b){var c={},d={},e={};return e.url="https://videostitcher.googleapis.com/v1/projects/"+a.projectNumber+"/locations/"+a.region+"/vodSessions",e.content=Object.assign({},a.videoStitcherSessionOptions,(d.ad_tag_uri=a.adTagUrl,d.source_uri=a.contentSourceUrl,d.ad_tracking="CLIENT",d.vod_config=a.vodConfigId?"projects/"+a.projectNumber+"/locations/"+a.region+"/vodConfigs/"+a.vodConfigId:"",d.gam_settings=(c.network_code=a.networkCode,c.stream_id=b,c),d)),e} function BO(a,b){b.forEach(function(c,d){D(c)||ks(a,d,c)})};var CO=function(){};t(CO,vO);CO.prototype.Nc=function(a){return DO(a)&&a.format==="dash"};CO.prototype.xc=function(a,b){b=b===void 0?new Map:b;var c=wO(D(a.assetKey)?yO("https://pubads.g.doubleclick.net/ondemand/dash/content",a.contentSourceId,a.videoId):"https://pubads.g.doubleclick.net/ssai/event/"+a.assetKey+"/streams",a);a=xO(a);BO(c,a);BO(c,b);return c.toString()};var EO=function(){};t(EO,vO);EO.prototype.Nc=function(a){return DO(a)&&a.format!=="dash"};EO.prototype.xc=function(a,b){b=b===void 0?new Map:b;var c=wO(D(a.assetKey)?yO("https://pubads.g.doubleclick.net/ondemand/hls/content",a.contentSourceId,a.videoId):"https://pubads.g.doubleclick.net/ssai/event/"+a.assetKey+"/streams",a);a=xO(a);BO(c,a);BO(c,b);return c.toString()};var FO=function(){};t(FO,vO);FO.prototype.Nc=function(a){return GO(a)||HO(a)};FO.prototype.xc=function(a,b){b=b===void 0?new Map:b;var c=wO("https://pubads.g.doubleclick.net/ssai/pods/api/v1/network/"+a.networkCode+"/custom_asset/"+a.customAssetKey+"/stream",a),d=xO(a);BO(c,d);BO(c,b);ks(c,"manifest-type",a.format);return c.toString()};var IO=function(){};t(IO,vO);IO.prototype.Nc=function(a){return JO(a)||KO(a)||LO(a)};IO.prototype.xc=function(a){return wO("https://pubads.g.doubleclick.net/ondemand/pods/api/v1/network/"+a.networkCode+"/stream_registration",a).toString()};IO.prototype.yh=function(a){var b=Object.fromEntries(a);Object.keys(b).forEach(function(c){b[c]=String(b[c])});a={};return JSON.stringify((a.targeting_parameters=b,a))};IO.prototype.xh=function(){var a={};return a["Content-Type"]="application/json",a};var MO=function(){};t(MO,vO);MO.prototype.Nc=function(a){return DO(a)&&a.o}; MO.prototype.xc=function(a,b){b=b===void 0?new Map:b;var c=new Xr(GO(a)?"https://truman-qa.sandbox.google.com/ssai/pods/api/v1/network/"+a.networkCode+"/custom_asset/"+a.customAssetKey+"/stream":D(a.assetKey)?a.format==="dash"?yO("https://truman-qa.sandbox.google.com/ondemand/dash/content",a.contentSourceId,a.videoId):yO("https://truman-qa.sandbox.google.com/ondemand/hls/content",a.contentSourceId,a.videoId):"https://truman-qa.sandbox.google.com/ssai/event/"+a.assetKey+"/streams"),d=xO(a);BO(c,d); BO(c,b);GO(a)&&!D(a.format)&&ks(c,"manifest-type",a.format);return c.toString()};var NO=function(){};t(NO,vO);NO.prototype.Nc=function(){return!1};NO.prototype.xc=function(){return""};var OO=function(){this.g=[]},PO=function(a,b){a=u(a.g);for(var c=a.next();!c.done;c=a.next())if(c=c.value,c.Nc(b))return c;return new NO};var QO=function(){};t(QO,vO);QO.prototype.Nc=function(){return!1};QO.prototype.xc=function(a,b){b=b===void 0?new Map:b;var c="";D(a.assetKey)?RO(a)?c=a.contentSourceId:GO(a)&&(c=a.networkCode):c=a.assetKey;c=new Xr(c);a=xO(a);BO(c,a);BO(c,b);return c.toString()};var SO=function(){this.g=new OO},TO=function(a,b){b&&a.g.g.push(b)}; SO.prototype.fetch=function(a,b,c){c=c===void 0?new Map:c;var d=new FH("Invalid stream initialization request.",2001);if(!DO(a))return Promise.reject(d);var e=PO(this.g,a),f=e.xc(a,c);b.Hc==="tvos"&&f.startsWith("https://pubads.g.doubleclick.net")&&Oo(up)&&(f=f.replace("https://pubads.g.doubleclick.net/","https://pubads-att.g.doubleclick.net/"));var g=e.xh();c=e.yh(c);if(D(f))return Promise.reject(d);var h=Date.now();return TH({headers:g!=null?g:void 0,url:f,timeout:new GH(UO(a)),withCredentials:!a.g, content:c!=null?c:void 0}).then(function(k){var l=b.lb;var p=new tm;p=ph(p,1,h);p=ph(p,2,Date.now());$g(l,14,p);l=new PN(k);if(l.data.stream_id==null)throw new FH("Stream initialization response was invalid.\nResponse: "+JSON.stringify(k),2002);return l}).catch(function(k){var l=new FH("Stream initialization failed",2002);k instanceof FH?l=k:k instanceof LH?l=VO(a,f,k.mk):k instanceof Error&&(k=Number(k.message),k=isNaN(k)?500:Math.floor(k),l=VO(a,f,k));throw l;})}; var VO=function(a,b,c){var d=2002,e="Stream initialization failed because\nHTTP status code: ";c===404?(d=2002,D(a.assetKey)?RO(a)&&(e="Stream initialization failed because either: \n1. Content source ID or video ID was incorrect. \n2. The stream is inactive.\nHTTP status code: "):e="Stream initialization failed because either: \n1. Asset key was incorrect.\n2. The stream is inactive.\nHTTP status code: "):c===401||c===403?(d=2004,e="Stream initialization failed because: \nAPI key was incorrect. Access unauthorized\nHTTP status code: "): c===408&&(d=2003,e="Stream initialization failed because: \nRequest timed out\nHTTP status code: ");return new FH(e+(c+" with URL: "+b),d)};var WO=function(){this.adTagParameters=null;this.customAssetKey=this.contentSourceUrl=this.contentSourceId=this.authToken=this.assetKey=this.apiKey="";this.g=this.j=!1;this.streamActivityMonitorId=this.networkCode="";this.o=!1;this.videoId="";this.omidAccessModeRules={};this.vodConfigId=this.adTagUrl=this.oAuthToken=this.projectNumber=this.region=this.liveStreamEventId="";this.enableNonce=!1;this.Ma=this.videoStitcherSessionOptions=this.l=null;this.format="hls"},UO=function(a){if(!a.adTagParameters)return 8E3; a=a.adTagParameters["dai-apto"];isFinite(a)&&(a=String(a));a=typeof a==="string"?/^\s*-?0x/i.test(a)?parseInt(a,16):parseInt(a,10):NaN;return isNaN(a)?8E3:a+4E3},DO=function(a){return!D(a.assetKey)||RO(a)||GO(a)||JO(a)||KO(a)||LO(a)||HO(a)},GO=function(a){return!D(a.networkCode)&&!D(a.customAssetKey)},JO=function(a){return!D(a.networkCode)&&!GO(a)&&!(KO(a)||LO(a))&&!HO(a)&&!!D(a.assetKey)&&!RO(a)},HO=function(a){return GO(a)&&!D(a.liveStreamEventId)&&!D(a.region)&&!D(a.projectNumber)&&!D(a.oAuthToken)}, KO=function(a){return!D(a.vodConfigId)&&!D(a.region)&&!D(a.projectNumber)&&!D(a.oAuthToken)&&!D(a.networkCode)},LO=function(a){return D(a.vodConfigId)&&!D(a.networkCode)&&!D(a.region)&&!D(a.projectNumber)&&!D(a.oAuthToken)&&!D(a.adTagUrl)&&!D(a.contentSourceUrl)},RO=function(a){return!D(a.contentSourceId)&&!D(a.videoId)};var XO=function(a,b,c){b=b===void 0?null:b;c=c===void 0?null:c;uB.call(this,a);this.ad=b;this.j=c};t(XO,uB);var YO=function(a){return new XO(a.type,null,a.data)};XO.prototype.getAd=function(){return this.ad};XO.prototype.getAdData=function(){return this.j};var bP=function(a){if(a instanceof ZO||a instanceof $O||a instanceof aP)return a;if(typeof a.next=="function")return new ZO(function(){return a});if(typeof a[Symbol.iterator]=="function")return new ZO(function(){return a[Symbol.iterator]()});if(typeof a.Rc=="function")return new ZO(function(){return a.Rc()});throw Error("Not an iterator or iterable.");},ZO=function(a){this.g=a};ZO.prototype.Rc=function(){return new $O(this.g())};ZO.prototype[Symbol.iterator]=function(){return new aP(this.g())}; ZO.prototype.j=function(){return new aP(this.g())};var $O=function(a){this.g=a};t($O,cy);$O.prototype.next=function(){return this.g.next()};$O.prototype[Symbol.iterator]=function(){return new aP(this.g)};$O.prototype.j=function(){return new aP(this.g)};var aP=function(a){ZO.call(this,function(){return a});this.l=a};t(aP,ZO);aP.prototype.next=function(){return this.l.next()};var cP=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&&dP(this),!0):!1};var dP=function(a){if(a.size!=a.g.length){for(var b=0,c=0;b=d.g.length)return dy;var f=d.g[b++];return{value:a?f:d.j[f],done:!1}};return e};var eP=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};var gP=null,hP=function(){U.call(this);this.D=this.V=this.j=null;this.F=-1;this.g=new cP;this.l=new Map;this.o=new NH(this);kt(this,this.o);this.B=new Map;S().l=!0;Ju()};t(hP,U); var iP=function(){gP==null&&(gP=new hP);return gP},jP=function(a,b){var c={};a=(c.queryId=a,c.viewabilityString=b,c);iP().dispatchEvent(YO({type:"measurable_impression",data:a}))},kP=function(a,b){var c={};a=(c.queryId=a,c.viewabilityString=b,c);iP().dispatchEvent(YO({type:"viewable_impression",data:a}))},lP=function(a,b,c){var d={};a=(d.queryId=a,d.viewabilityString=b,d.eventName=c,d);iP().dispatchEvent(YO({type:"externalActivityEvent",data:a}))}; hP.prototype.destroy=function(){this.o.Ud(this.j,"activityMonitor",this.A);this.j=null}; hP.prototype.A=function(a){var b=a.j(),c;switch(a.l()){case "appStateChanged":L(eB);b=b.appState;a=Qw();a.F!=b&&(a.F=b,(a=L(xz).g)&&Zw(a.g,!b));break;case "externalActivityEvent":lP(b.queryId,b.viewabilityString,b.eventName);break;case "measurableImpression":jP(b.queryId,b.viewabilityString);break;case "viewableImpression":kP(b.queryId,b.viewabilityString);break;case "engagementData":b=b.engagementString;iP().D=b;iP().F=Za();break;case "viewability":(c=this.V)==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.g.get(a))this.g.delete(a),c(b.viewabilityData);break;case "viewabilityMeasurement":L(eB);S();break;case "engagement":a=b.eventId;clearTimeout(a);c=this.g.get(a);if(UM.getInstance().g){var d=!1;c||(d=!0);Pj(b,"loggingId")&&UM.getInstance().report(43,{step:"receivedResponse",time:Za(),timeout:d,logid:b.loggingId,timediff:-1})}c&&(this.g.delete(a),c(b.engagementString))}}; C("ima.bridge.getNativeViewability",function(a,b){iP();b({})});C("ima.bridge.getVideoMetadata",function(a){return(a=iP().B.get(a))?a():{}});C("ima.bridge.triggerViewEvent",kP);C("ima.bridge.triggerMeasurableEvent",jP);C("ima.bridge.triggerExternalActivityEvent",lP);var mP=function(){U.apply(this,arguments)};t(mP,U);mP.prototype.Ai=function(){return null};mP.prototype.uf=function(){};mP.prototype.ri=function(){};var nP=Object.values({FULL:"full",DOMAIN:"domain",LIMITED:"limited"});function oP(a,b){return Object.keys(a).some(function(c){return nP.includes(c)})?pP(a,b):qP(a,b)}function pP(a,b){return rP(a,"limited",b)?"limited":rP(a,"domain",b)?"domain":rP(a,"full",b)?"full":qP({},b)}function rP(a,b,c){return(a[b]||[]).some(function(d){return d.test(c)})}function qP(a,b){b=Ar(b);Object.keys(a).includes(""+b)||(b=1);return(a=a[b])&&nP.includes(a)?a:"limited"};function sP(a){UM.getInstance().report(211,{message:a})};var tP=sa(["https://pagead2.googlesyndication.com/omsdk/releases/live/omweb-v1.js"]),uP=sa(["https://pagead2.googlesyndication.com/omsdk/releases/control/omweb-v1.js"]),vP=sa(["https://pagead2.googlesyndication.com/omsdk/releases/canary/omweb-v1.js"]),wP=sa(["https://pagead2.googlesyndication.com/omsdk/releases/experimental/omweb-v1.js"]),xP=wl(tP),yP=wl(uP),zP=wl(vP),AP=wl(wP);var BP=!1; function CP(a){var b=new Map;var c=new DP;var d=c.ad,e=c.ia,f=c.Kf;c=c.display;var g=Du.getInstance().appName,h=Mu()?"0":Hj()||Gj()?"2":"1",k=null,l=null;d instanceof bF&&d.kb.length>0&&(l=d.kb[0],k=l.getAdIdValue(),l=l.getAdIdRegistry());var p=null,n=null;Ku()&&(p="Google1",n="3.677.0");var q=Du.getInstance().j;q=(new Xr(q)).j||"";var r=(f==null?void 0:f.pageUrl)||null;r=$F(r)?r:Du.getInstance().j;var w=Ls.getPlayerType(),z=Ls.getPlayerVersion(),B=Ut(Du.getInstance().g),E=Du.getInstance().Oc,da= Yt(Du.getInstance().g),pa=Ut(Du.getInstance().g);/^[\.\w_-]*$/.test(pa)||BP||(UM.getInstance().report(141,{tcstring:pa}),BP=!0);QD({V:c,ei:"1",ia:e,ad:d,Kf:f,appName:g,Ij:h,Cl:k,Bl:l,Ig:p,Fk:n,ke:w,me:z,hf:"IMA",jf:"3.677.0",domain:q,pageUrl:r,Lh:B,Oc:E,El:da},b);d=b;d=d===void 0?new Map:d;OD(d,"REASON",a);return b}var DP=function(){var a=null;this.Kf=this.display=this.ia=this.ad=null;this.error=a===void 0?null:a};var EP=function(a,b,c,d){this.isSkippable=a;this.j=b;this.g=c;this.position=d};EP.prototype.toJSON=function(){return{isSkippable:this.isSkippable,skipOffset:this.j,isAutoPlay:this.g,position:this.position}};function FP(a,b){if(!b)throw Error("Value for "+a+" is undefined, null or blank.");if(typeof b!=="string"&&!(b instanceof String))throw Error("Value for "+a+" is not a string.");if(b.trim()==="")throw Error("Value for "+a+" is empty string.");}function GP(a,b){if(b==null)throw Error("Value for "+a+" is undefined or null");}function HP(a,b){if(b==null)throw Error(a+" must not be null or undefined.");if(typeof b!=="number"||isNaN(b))throw Error("Value for "+a+" is not a number");} function IP(a,b){HP(a,b);if(b<0||b>1)throw Error("Value for "+a+" is outside the range [0,1]");};function JP(){return/\d+\.\d+\.\d+(-.*)?/.test("1.5.2-google_20241009")}function KP(){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);eQ.indexOf(a)>=0&&(b=b.mediaEvents);b=b[a];if(!b)throw Error("Unrecognized method name: "+a+".");b.apply(null,v(c))};var jQ=function(a,b,c){GP("AdSession.context",a);this.g=QP();this.o=a;this.D=!1;var d=this.o.g||void 0;if(!b){var e;typeof e==="undefined"&&typeof window!=="undefined"&&window&&(e=window);e=WP(e)?e:VP;var f=f===void 0?TP:f;b=[e,WP(e)?e.top:VP];d&&b.unshift(d);a:{d=u(b);for(var g=d.next();!g.done;g=d.next()){b:{b=e;g=g.value;var h=f;if(!XP(g))try{var k=$P(g);if(k){var l=new UP(k);break b}}catch(p){}l=h(g)?new YP(b,g):null}if(b=l)break a}b=null}}this.A=b;this.J=c||new gQ;this.F=this.H=this.L=!1;this.l= this.j=null;this.B=!1;this.C={};this.A&&(this.A.onMessage=this.Yj.bind(this));this.fa("setClientInfo","1.5.2-google_20241009",this.o.j.name,this.o.j.version,this.g);hQ(this,a.C);(a=a.o)&&this.fa("setContentUrl",a,this.g);iQ(this)},kQ=function(a){return!!a.A||a.J.g!=null};m=jQ.prototype;m.registerSessionObserver=function(a){this.sendMessage("registerSessionObserver",a,this.g)};m.start=function(){this.fa("startSession",{customReferenceData:this.o.A,underEvaluation:this.o.l},this.g)}; m.error=function(a,b){this.fa("sessionError",a,b,this.g)};m.fa=function(a){this.sendMessage.apply(this,[a,null].concat(v(Ga.apply(1,arguments))))};m.sendMessage=function(a,b){var c=Ga.apply(2,arguments);if(this.A){var d=QP();b&&(this.C[d]=b);c=new LP(d,"SessionService."+a,"1.5.2-google_20241009",JP()&&KP()?c:JSON.stringify(c));this.A.sendMessage(c)}else if(this.J.g!=null)try{this.J.sendMessage(a,b,c)}catch(e){RP("Failed to communicate with SessionInterface with error:"),RP(e)}}; m.Yj=function(a){var b=a.method,c=a.g;a=a.args;if(b==="response"&&this.C[c]){var d=JP()&&KP()?a?a:[]:a&&typeof a==="string"?JSON.parse(a):[];this.C[c].apply(this,d)}b==="error"&&window.console&&RP(a)};var hQ=function(a,b){b&&(b=b.map(function(c){return c.toJSON()}),a.fa("injectVerificationScriptResources",b,a.g))},iQ=function(a){a.registerSessionObserver(function(b){b.type==="sessionStart"&&(a.F=!0,a.j=b.data.creativeType,a.l=b.data.impressionType);b.type==="sessionFinish"&&(a.F=!1)})}; zr("OmidSessionClient.AdSession",jQ);var lQ=function(a){GP("AdEvents.adSession",a);this.j=a.g;try{if(a.L)throw Error("AdEvents already registered.");a.L=!0;a.fa("registerAdEvents",a.g);this.g=a}catch(b){throw Error("AdSession already has an ad events instance registered");}}; lQ.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.fa("loaded",a,this.j)};zr("OmidSessionClient.AdEvents",lQ);var mQ=function(a){GP("MediaEvents.adSession",a);this.j=a.g;try{if(a.H)throw Error("MediaEvents already registered.");a.H=!0;a.fa("registerMediaEvents",a.g);this.g=a}catch(b){throw Error("AdSession already has a media events instance registered");}};mQ.prototype.start=function(a,b){HP("MediaEvents.start.duration",a);IP("MediaEvents.start.mediaPlayerVolume",b);this.g.fa("start",a,b,this.j)};mQ.prototype.pause=function(){this.g.fa("pause",this.j)};mQ.prototype.resume=function(){this.g.fa("resume",this.j)}; var nQ=function(a,b){GP("MediaEvents.playerStateChange.playerState",b);a.g.fa("playerStateChange",b,a.j)},oQ=function(a,b){GP("MediaEvents.adUserInteraction.interactionType",b);a.g.fa("adUserInteraction",b,a.j)};zr("OmidSessionClient.MediaEvents",mQ);var pQ=function(a,b,c,d,e){U.call(this);this.ad=a;this.N=b;this.K=c;this.omidAccessModeRules=d;this.aa=e;this.l=null;this.B=[];this.H=this.O=this.D=this.U=!1;this.A=this.g=this.F=this.j=null;this.o=new NH(this);this.o.listen(this.N,RM,this.ga);this.o.listen(this.N,["adError","streamError"],this.ca)};t(pQ,U); var xQ=function(a,b,c){var d=qQ(a);rQ(d);d.length===0?sQ(a,"noVerifications"):(b=new cQ(b,d,a.aa.j),c&&(b.uf(c),c=Object.keys(a.omidAccessModeRules).length>0,b.l=!c,UM.getInstance().report(159,{pcp:c})),a.j=new jQ(b),sP("sc"),kQ(a.j)?(a.F=new lQ(a.j),a.g=new mQ(a.j),a.j.registerSessionObserver(function(e){if(!tQ(a))switch(e.type){case "sessionStart":sP("ss");e=e.data;a.D=!0;uQ(a,e==null?void 0:e.creativeType);vQ(a,e==null?void 0:e.impressionType);wQ(a);break;case "sessionFinish":sP("sf");a.O=!0;a.dispatchEvent(new uB("omidAdSessionCompleted")); break;case "sessionError":sP("se")}}),a.U=!0,uQ(a),vQ(a),a.j.start(),sP("ssa")):(a.j=null,sQ(a,"notSupported")))};pQ.prototype.ga=function(a){this.H||tQ(this)||(a.type!=="firstQuartile"||this.D||sP("bf"),a.type!=="complete"||this.D||sP("bc"),this.B.push(a),wQ(this))};pQ.prototype.ca=function(a){this.B.push(a);wQ(this)};pQ.prototype.ma=function(){wQ(this)}; var yQ=function(a){if(!a.H){a.H=!0;var b;(b=a.j)!=null&&b.fa("finishSession",b.g);zC(function(){tQ(a)||(sP("le"),sQ(a,"sessionLingering"))},5E3)}},wQ=function(a){if(a.D&&!tQ(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 XO||b instanceof OE){var d=void 0;if(c.F&&c.g)switch(b.type){case "loaded":sP("oml");b=c.F;d=b.loaded;var e=c;c="preroll";e.ad.getAdPodInfo().getPodIndex()<0?c="postroll":e.ad.getAdPodInfo().getPodIndex()> 0&&(c="midroll");var f=e.ad.isSkippable(),g=e.ad.getSkipTimeOffset();e=e.ad;d.call(b,new EP(f,g,e.g&&e.g.adTagParameters?e.g.adTagParameters.vpa==="auto":!1,c));break;case "impression":sP("i");c=c.F;if(!c.g.F)throw Error("Session not started.");b=c.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.D=!0;c.g.fa("impressionOccurred",c.j);break;case "start":sP("ps");c.g.start(c.ad.getDuration(), c.l==null?0:c.l.getVolume());((d=c.l)==null?0:d.ac())&&nQ(c.g,"fullscreen");break;case "firstQuartile":c=c.g;c.g.fa("firstQuartile",c.j);break;case "midpoint":c=c.g;c.g.fa("midpoint",c.j);break;case "thirdQuartile":c=c.g;c.g.fa("thirdQuartile",c.j);break;case "complete":b=c.g;b.g.fa("complete",b.j);yQ(c);break;case "pause":c.g.pause();break;case "resume":c.g.resume();break;case "skip":b=c.g;b.g.fa("skipped",b.j);yQ(c);break;case "volumeChange":b=b.getAdData();c=c.g;b=b.volume;IP("MediaEvents.volumeChange.mediaPlayerVolume", b);c.g.fa("volumeChange",b,c.j);break;case "click":case "videoClicked":oQ(c.g,"click");break;case "fullscreen":nQ(c.g,"fullscreen");break;case "exitFullscreen":nQ(c.g,"normal");break;case "expand":nQ(c.g,"expanded");break;case "collapse":nQ(c.g,"collapsed");break;case "acceptInvitation":case "acceptInvitationLinear":oQ(c.g,"invitationAccept")}}else b instanceof ON&&b.type==="streamError"&&(d=void 0,(d=c.j)==null||d.error("video",b.data.errorMessage||""),yQ(c))}},sQ=function(a,b){a.A=b;a.dispatchEvent(new uB("omidAdSessionAbandoned")); sP("ab");a.A==="notSupported"&&zQ(a,AQ(a.ad),"3","notSupported")},uQ=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.D)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.fa("setCreativeType",a,b.g);b.j=a}},vQ=function(a,b){b=b===void 0?null:b;if(a.j&&(!b||b==="definedByJavaScript")){a=a.j;if(a.D)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.fa("setImpressionType","beginToRender", a.g);a.l="beginToRender"}},tQ=function(a){return a.O||a.A!=null};pQ.prototype.getAd=function(){return this.ad}; var qQ=function(a){for(var b=[],c=a.ad;c!=null;){var d=AQ(c);c=[];d=u(d);for(var e=d.next();!e.done;e=d.next())if(e=e.value,e.Pb==="omid")if(e.g==null)zQ(a,[e],"3","nullUrl");else{var f=new bQ(e.g,e.vendor||void 0,e.parameters||void 0,oP(a.omidAccessModeRules,e.g));b.push(f);c.push(e)}else zQ(a,[e],"2");c=null}return b},zQ=function(a,b,c,d){var e=[];b=u(b);for(var f=b.next();!f.done;f=b.next())f=f.value,e=[].concat(v(e),v(f.Z.map(function(g){return HD(g)})));d&&(e=e.map(function(g){g=new Xr(g);ks(g, "dbg",d);return g.toString()}));nE(a.K,CP(c));a.K.report("verificationNotExecuted",e)};pQ.prototype.R=function(){QH(this.o);it(this.o);U.prototype.R.call(this)};var rQ=function(a){a=a.map(function(b){return[b.j||"",b.g]});UM.getInstance().report(129,{omData:JSON.stringify(a)});sP("oms")};var BQ=null,CQ=function(){U.call(this);this.o=!0;this.Ig=new aQ("Google1","3.677.0");this.j=[];this.A=this.g=null;this.l=new NH(this)};t(CQ,U);CQ.prototype.ri=function(){this.o=!1;this.dispatchEvent(new uB("omidUnavailable"));UM.getInstance().report(128,{status:"disabled",reason:"iframeLoadFailed",description:"The OM SDK iframe failed to load. No measurements can be taken."})}; CQ.prototype.Ai=function(a,b,c,d,e){var f=this;e=e===void 0?{}:e;sP("omo");var g=new pQ(a,b,c,e,d);if(!this.o)return zQ(g,AQ(a),"3","notEnabled"),null;this.l.Ld(b,["show_ad","start","adError"],function(h){switch(h.type){case "show_ad":DQ(f,g);break;case "start":DQ(f,g);break;case "adError":g.D||zQ(g,AQ(g.getAd()),"3","A fatal ad error occurred, so no OMID ad session was started.")}});this.l.listen(g,"omidAdSessionAbandoned",function(){EQ(!0,g);g.dispose();f.g=null;FQ(f)});this.l.listen(g,"omidAdSessionCompleted", function(){EQ(!1,g);g.dispose();f.g=null;FQ(f)});return g};var DQ=function(a,b){b.U||tQ(b)||a.j.includes(b)||(a.j.push(b),a.g&&(sP("saa"),yQ(a.g)),FQ(a))},FQ=function(a){a.o&&!a.g&&a.j.length!==0&&a.A&&(a.g=a.j.shift(),xQ(a.g,a.Ig,a.A))};CQ.prototype.uf=function(a){this.A=a;FQ(this)};var EQ=function(a,b){var c={es:a?"abandon":"complete",ai:b.getAd().getAdId(),qy:b.getAd().ve()};a&&b.A!=null&&(c.ar=b.A);UM.getInstance().report(87,c)};function GQ(){if(Mu())var a=new mP;else BQ==null&&(BQ=new CQ),a=BQ;return a};var HQ=function(a,b){this.ad=a;this.g=b};HQ.prototype.getDuration=function(){var a=this.ad.na;return a?a/1E3:0};var AQ=function(a){return(a=a.ad.M.get(GE))?a.g:[]};m=HQ.prototype;m.isSkippable=function(){return this.ad.isSkippable()};m.getSkipTimeOffset=function(){var a=this.ad.qa;return a!=null?a/1E3:-1};m.getAdPodInfo=function(){return this.ad.getAdPodInfo()}; m.getContentType=function(){if(!this.g)return"";switch(this.g.format){case "dash":return"application/dash+xml";case "hls":return"application/x-mpegURL";default:return""}};m.ve=function(){return this.ad.ve()};m.getAdId=function(){return this.ad.getId()};function IQ(a,b,c){if(!a)return null;a=new sE(b,a,c,Ju(),b.ve());fB();a.F&&a.o.bd()&&(Qw().L=!0,L(eB),b=a.o,S().C=b);b=L(eB);c=a.C;b.N=c;S().lf(c);L(eB);b=a.A;c=S();try{var d=Qc(b);c.mf(d)}catch(e){aw(cw,"lidarv",{processDecodedFlagsFailure:1},!0,1E-6),c.mf(b)}Av(c.P,"fmd",Yv(c.flags,GA)?1:0);return a}function JQ(a,b,c,d,e,f){var g=GQ();c.g&&(b=g.Ai(new HQ(e,d),b,c.g,f,d.omidAccessModeRules))&&(b.l=a,b.o.listen(b.l,"start",b.ma))};var KQ=function(a,b){U.call(this);this.j=a;this.V=b;this.g=null};t(KQ,U);m=KQ.prototype;m.getVolume=function(){return this.V.getVolume()};m.Fe=function(){return this.V.Fe()};m.ac=function(){return this.V.ac()};m.vg=function(){return this.V.vg()};m.Ge=function(){return this.V.Ge()};m.getCurrentTime=function(){return this.j.getCurrentTime()};m.getDuration=function(){return this.j.getDuration()||-1};m.Hf=function(){return this.V.Hf()}; m.wf=function(){this.qc();this.g=new NH(this);this.g.listen(this.j,"adProgress",this.wb);this.g.listen(this.j,"complete",this.hj)};m.qc=function(){var a;(a=this.g)==null||a.dispose();this.g=null};m.mg=function(){return this.V.mg()};m.wb=function(){this.dispatchEvent("timeUpdate")};m.hj=function(){this.dispatchEvent("end");this.qc()};var LQ={Hj:[],Fj:0,Qj:[],Vn:!1};function MQ(a,b,c){b=b===void 0?window:b;c=c===void 0?function(){}:c;try{return b.localStorage.getItem(a)}catch(d){return c(d),null}}function NQ(a,b,c){var d=window;d=d===void 0?window:d;c=c===void 0?function(){}:c;return fh(b,5)?MQ(a,d,c):null}function OQ(a,b,c,d){c=c===void 0?window:c;d=d===void 0?function(){}:d;try{return c.localStorage.setItem(a,b),!0}catch(e){d(e)}return!1}function PQ(a,b,c,d){var e=window;e=e===void 0?window:e;d=d===void 0?function(){}:d;return fh(c,5)?OQ(a,b,e,d):!1};var QQ=function(){};QQ.getInstance=function(){throw Error("Must be overridden");};var RQ=function(){this.g=0};t(RQ,QQ);RQ.Dc=void 0;RQ.getInstance=function(){return RQ.Dc?RQ.Dc:RQ.Dc=new RQ};function SQ(a,b,c,d){c=c===void 0?null:c;d=d===void 0?{}:d;var e=RQ.getInstance();e.g===0&&(e.g=Math.random()<.001?2:1);e.g===2&&(e={},Pl(Object.assign({},(e.c=String(a),e.pc=String(Jl()),e.em=c,e.lid=b,e.eids=L(Lo).g().join(),e),d),"esp"))};function TQ(){var a=window;var b=b===void 0?function(){}:b;return new Promise(function(c){var d=function(){c(b());Fj(a,"load",d)};Ej(a,"load",d)})};var UQ=function(){this.cache={}},WQ=function(){VQ||(VQ=new UQ);return VQ},XQ=function(a){var b=ff(yg(a,3));if(!b)return 3;if(eh(a,2)===void 0)return 4;a=Date.now();return a>b+2592E5?2:a>b+432E5?1:0}; UQ.prototype.get=function(a,b){if(this.cache[a])return{jd:this.cache[a],success:!0};var c="_GESPSK-"+a,d="",e=!1;if(Qt(b))d=NQ(c,b,function(k){SQ(6,a,k==null?void 0:k.message);e=!0});else try{d=b.getItem(c)}catch(k){var f;SQ(6,a,(f=k)==null?void 0:f.message);e=!0}if(e)return{jd:null,success:!1};if(!d)return{jd:null,success:!0};try{var g=bD(d);this.cache[a]=g;return{jd:g,success:!0}}catch(k){var h;SQ(5,a,(h=k)==null?void 0:h.message);return{jd:null,success:!1}}}; UQ.prototype.set=function(a,b){var c=eh(a,1),d="_GESPSK-"+c;aD(a);if(Qt(b)){if(!PQ(d,Ph(a),b,function(f){SQ(7,c,f==null?void 0:f.message)}))return!1}else try{b.setItem(d,Ph(a))}catch(f){var e;SQ(7,c,(e=f)==null?void 0:e.message);return!1}this.cache[c]=a;return!0};UQ.prototype.remove=function(a,b){a=eh(a,1);try{b.removeItem("_GESPSK-"+a),delete this.cache[a]}catch(d){var c;SQ(8,a,(c=d)==null?void 0:c.message)}};var VQ=null;function YQ(a,b){return Zg(a,ZC,2,Cg()).some(function(c){return eh(c,1)===b&&eh(c,2)!=null})};var ZQ=function(a){a=Error.call(this,a);this.message=a.message;"stack"in a&&(this.stack=a.stack);Object.setPrototypeOf(this,ZQ.prototype);this.name="InputError"};t(ZQ,Error);var $Q=function(){this.bc=!1},aR=function(){$Q.apply(this,arguments);this.nf=new bv};t(aR,$Q);var bR=function(a,b){a.bc||(a.bc=!0,a.ff=b,a.nf.resolve(b))}; ea.Object.defineProperties(aR.prototype,{promise:{configurable:!0,enumerable:!0,get:function(){return this.nf.promise}},mi:{configurable:!0,enumerable:!0,get:function(){return this.bc}},error:{configurable:!0,enumerable:!0,get:function(){return this.Kg}}});var cR=function(){aR.apply(this,arguments)};t(cR,aR);var dR=function(a,b){bR(a,b)},eR=function(a,b){b.then(function(c){bR(a,c)})};cR.prototype.Qb=function(a){this.bc||(this.bc=!0,this.ff=null,this.Kg=a,this.nf.reject(a))}; var fR=function(a){this.bc=!1;this.g=a};t(fR,$Q);fR.prototype.mi=function(){return this.g.bc};ea.Object.defineProperties(fR.prototype,{error:{configurable:!0,enumerable:!0,get:function(){return this.g.Kg}}});var gR=function(a){fR.call(this,a);this.g=a};t(gR,fR);ea.Object.defineProperties(gR.prototype,{value:{configurable:!0,enumerable:!0,get:function(){return this.g.ff}}});var hR=function(a){fR.call(this,a);this.g=a};t(hR,fR); ea.Object.defineProperties(hR.prototype,{value:{configurable:!0,enumerable:!0,get:function(){var a;return(a=this.g.ff)!=null?a:null}}});var iR=function(){aR.apply(this,arguments)};t(iR,aR);iR.prototype.notify=function(){bR(this,null)};var jR=function(){R.apply(this,arguments);this.g=[];this.j=[];this.l=[]};t(jR,R);var kR=function(a,b){a.j.push({ce:!1,eg:b})};jR.prototype.ce=function(a){var b=this.j.find(function(c){return c.eg===a});b&&(b.ce=!0)};jR.prototype.R=function(){this.g.length=0;this.l.length=0;this.j.length=0;R.prototype.R.call(this)};function lR(a,b){var c,d;return y(function(e){if(e.g==1)return c=b?a.filter(function(f){return!f.ce}):a,x(e,Promise.all(c.map(function(f){return f.eg.promise})),2);if(a.length===c.length)return e.return();d=a.filter(function(f){return f.ce});return x(e,Promise.race([Promise.all(d.map(function(f){return f.eg.promise})),new Promise(function(f){return void setTimeout(f,b)})]),0)})}var mR=function(a,b){R.call(this);this.id=a;this.timeoutMs=b;this.A=!1;this.g=new jR;kt(this,this.g)};t(mR,R); mR.prototype.start=function(){var a=this,b,c;return y(function(d){if(d.g==1){if(a.A)return d.return();a.A=!0;d.l=2;return x(d,lR(a.g.j,(b=a.O)!=null?b:a.timeoutMs),4)}if(d.g!=2){if(!a.Fb()){for(var e=0,f=u(a.g.l),g=f.next();!g.done;g=f.next()){if(g.value.g.ff==null)throw Error("missing input: "+a.id+"/"+e);++e}a.j()}return ya(d,0)}c=za(d);if(a.Fb())return d.return();if(!(c instanceof ZQ)&&c instanceof Error&&(a.D?a.D(a.id,c):a.reportError(c),a.g.g.length))for(e=new ZQ(c.message),f=u(a.g.g),g=f.next();!g.done;g= f.next())if(g=g.value,!g.mi){var h=e;g.bc=!0;g.Kg=h;g.nf.reject(h)}d.g=0})};var nR=function(a){var b=b===void 0?new cR:b;a.g.g.push(b);return b},oR=function(a){var b=b===void 0?new iR:b;a.g.g.push(b);return b},pR=function(a,b){kR(a.g,b);b=new gR(b);a.g.l.push(b);return b},qR=function(a,b){kR(a.g,b);return new hR(b)};var rR=function(){};var sR=function(){R.call(this);this.o=[];this.C=[];this.A={};this.g=[];this.j=new bv;this.l={}};t(sR,R); var tR=function(a,b){kt(a,b);a.o.push(b)},uR=function(a,b){b=u(b);for(var c=b.next();!c.done;c=b.next())tR(a,c.value)},vR=function(a){var b,c,d,e,f,g,h,k,l,p,n,q;y(function(r){switch(r.g){case 1:if(!a.g.length){r.g=2;break}return x(r,Promise.all(a.g.map(function(w){return w.j.promise})),2);case 2:b=u(a.o);for(c=b.next();!c.done;c=b.next())d=c.value,d.start();e=u(a.C);for(f=e.next();!f.done;f=e.next())g=f.value,vR(g);if(!a.l){r.g=4;break}h=Object.keys(a.l);if(!h.length){r.g=4;break}return x(r,Promise.all(Object.values(a.l).map(function(w){return w.promise})), 6);case 6:for(k=r.j,l=0,p=u(h),n=p.next();!n.done;n=p.next())q=n.value,a.A[q]=k[l++];case 4:return a.j.resolve(a.A),r.return(a.j.promise)}})};sR.prototype.R=function(){R.prototype.R.call(this);this.o.length=0;this.C.length=0;this.g.length=0};var wR=function(a,b){mR.call(this,a);this.id=a;this.C=b};t(wR,mR);wR.prototype.reportError=function(a){this.C(this.id,a)};var xR=function(a,b,c,d){wR.call(this,1041,d);this.B=pR(this,a);c?this.l=pR(this,c):b&&(this.o=qR(this,b))};t(xR,wR);xR.prototype.j=function(){var a=this.B.value,b,c,d,e=(d=(b=this.l)==null?void 0:b.value)!=null?d:(c=this.o)==null?void 0:c.value;e&&WQ().set(a,e)&&eh(a,2)!=null&&SQ(27,eh(a,1))};var yR=function(a,b){wR.call(this,1094,b);this.l=oR(this);this.o=qR(this,a)};t(yR,wR);yR.prototype.j=function(){var a=this.o.value;if(a){if(a!==void 0)for(var b=u(Object.keys(a)),c=b.next();!c.done;c=b.next())if(c=c.value,c.startsWith("_GESPSK"))try{a.removeItem(c)}catch(d){}VQ=new UQ;this.l.notify()}};var zR=function(a,b){wR.call(this,1048,b);this.l=nR(this);this.o=nR(this);this.B=pR(this,a)};t(zR,wR);zR.prototype.j=function(){var a=this.B.value,b=function(c){var d={};SQ(c,eh(a,1),null,(d.tic=String(Math.round((Date.now()-ff(yg(a,3)))/6E4)),d))};switch(XQ(a)){case 0:b(24);break;case 1:b(25);bR(this.o,a);break;case 2:b(26);bR(this.l,a);break;case 3:SQ(9,eh(a,1));bR(this.l,a);break;case 4:b(23),bR(this.l,a)}};var AR=function(a,b,c,d){wR.call(this,1027,d);this.ne=a;this.l=nR(this);this.o=nR(this);var e;this.B=(e=c!=null?c:b)!=null?e:void 0};t(AR,wR);AR.prototype.j=function(){var a=WQ().get(this.ne,this.B).jd;if(!a){a=aD($C(this.ne));var b=this.o,c=a.Qb(XC(100));bR(b,c)}bR(this.l,a)};var BR=function(a,b,c){wR.call(this,1046,c);this.output=oR(this);this.l=nR(this);this.o=pR(this,b);kR(this.g,a)};t(BR,wR);BR.prototype.j=function(){bR(this.l,this.o.value)};var CR=function(a,b,c){wR.call(this,1047,c);this.collectorFunction=a;this.l=nR(this);this.o=nR(this);this.B=nR(this);this.F=pR(this,b)};t(CR,wR);CR.prototype.j=function(){var a=this,b=this.F.value,c=eh(b,1);SQ(18,c);try{var d=Zm();this.collectorFunction().then(function(e){SQ(29,c,null,{delta:String(Zm()-d)});var f=a.l,g=qh(b,2,e);bR(f,g);bR(a.B,e!=null?e:null)}).catch(function(e){SQ(28,c,DR(e));e=a.o;var f=b.Qb(XC(106));bR(e,f)})}catch(e){SQ(1,c,DR(e)),dR(this.o,b.Qb(XC(107)))}}; function DR(a){return typeof a==="string"?a:a instanceof Error?a.message:null};var ER=function(a,b){wR.call(this,1028,b);this.l=nR(this);this.o=pR(this,a)};t(ER,wR);ER.prototype.j=function(){var a=this.o.value,b=eh(a,1);ff(yg(a,3))!=null||SQ(35,b);bR(this.l,a)};var FR=function(a,b,c,d){wR.call(this,1050,d);this.B=c;this.l=nR(this);this.o=pR(this,a);this.F=qR(this,b)};t(FR,wR);FR.prototype.j=function(){var a=this.o.value,b=eh(a,1),c=this.F.value;if(c==null)SQ(41,b),a.Qb(XC(111)),bR(this.l,a);else if(typeof c!=="string")SQ(21,b),b=this.l,a=a.Qb(XC(113)),bR(b,a);else{if(c.length>this.B){var d={};SQ(12,b,null,(d.sl=String(c.length),d));b=a.Qb(XC(108));Bg(b,2)}else c.length||SQ(20,b),Bg(a,10);bR(this.l,a)}};var GR=function(a){wR.call(this,1046,a);this.output=oR(this)};t(GR,wR);GR.prototype.j=function(){var a=this;TQ().then(function(){a.output.notify()})};function HR(a,b,c,d,e,f,g){var h,k,l,p,n,q,r,w,z,B,E,da,pa,Ta;return y(function(qb){return qb.g==1?(h=new sR(a,2),k=new AR(b,f?null:d,f,g),tR(h,k),l=null,f&&(l=new cR,bR(l,f)),tR(h,new xR(k.o,l?null:e,l,g)),p=new ER(k.l,g),tR(h,p),n=new zR(p.l,g),tR(h,n),q=new CR(c,n.l,g),tR(h,q),tR(h,new xR(q.o,l?null:e,l,g)),r=new FR(q.l,q.B,1024,g),tR(h,r),tR(h,new xR(r.l,l?null:e,l,g)),w=new GR(g),tR(h,w),z=new BR(w.output,n.o,g),tR(h,z),B=new CR(c,z.l,g),tR(h,B),E=new xR(B.l,l?null:e,l,g),tR(h,E),vR(h),Ta=b, x(qb,r.l.promise,2)):qb.return({id:Ta,collectorGeneratedData:(pa=(da=qb.j)==null?void 0:eh(da,2))!=null?pa:null})})};var IR=function(a,b,c,d,e,f){wR.call(this,1059,f);this.B=a;this.K=c;this.H=d;this.o=nR(this);this.N=pR(this,b);e?this.l=pR(this,e):d&&(this.F=qR(this,d))};t(IR,wR); IR.prototype.j=function(){var a,b=(a=this.F)==null?void 0:a.value,c;a=((c=this.l)==null?0:c.value)?fh(this.l.value,5):b;if(b||a){var d=this.N.value;a=d.id;c=d.collectorFunction;var e;d=(e=d.networkCode)!=null?e:a;e={};SQ(42,d,null,(e.ea=String(Number(this.K)),e));var f,g;eR(this.o,HR(this.B,d,c,b!=null?b:null,this.H,(g=(f=this.l)==null?void 0:f.value)!=null?g:null,this.C))}};var JR=function(a,b,c){c=c===void 0?LQ:c;wR.call(this,1057,b);this.l=a;this.F=c;this.o=nR(this);this.B=nR(this)};t(JR,wR); JR.prototype.j=function(){if(this.l)if(typeof this.l!=="object")SQ(46,"UNKNOWN_COLLECTOR_ID"),KR(this,"UNKNOWN_COLLECTOR_ID",112);else{var a=this.l.id,b=this.l.networkCode;a&&b&&(delete this.l.id,SQ(47,a+";"+b));a=b!=null?b:a;typeof a!=="string"?(b={},SQ(37,"INVALID_COLLECTOR_ID",null,(b.ii=JSON.stringify(a),b)),KR(this,"INVALID_COLLECTOR_ID",102)):typeof this.l.collectorFunction!=="function"?(SQ(14,a),KR(this,a,105)):this.F.Qj.includes(a)?(SQ(22,a),KR(this,a,104)):bR(this.B,this.l)}else SQ(39,"UNKNOWN_COLLECTOR_ID"), KR(this,"UNKNOWN_COLLECTOR_ID",110)};var KR=function(a,b,c){a=a.o;b=$C(b).Qb(XC(c));bR(a,b)};var LR=function(a,b,c,d,e,f){var g=document;g=g===void 0?document:g;f=f===void 0?LQ:f;this.j=a;this.l=c;this.A=d;this.C=g;this.J=e;this.g=f;this.F=[];this.D=[];this.B=[];this.o=0;a=u(b);for(b=a.next();!b.done;b=a.next())this.push(b.value)}; LR.prototype.push=function(a){var b=this;this.A||this.J();var c=function(f,g){return void MR(b,f,g)};a=new JR(a,c,this.g);var d=new xR(a.o,this.l,null,c);c=new IR(this.j,a.B,this.A,this.l,null,c,this.g);var e=new sR(this.j,3);uR(e,[a,d,c]);vR(e);a=c.o.promise;this.F.push(a);d=u(this.D);for(c=d.next();!c.done;c=d.next())a.then(c.value)};LR.prototype.addOnSignalResolveCallback=function(a){this.D.push(a);for(var b=u(this.F),c=b.next();!c.done;c=b.next())c.value.then(a)}; LR.prototype.addErrorHandler=function(a){this.B.push(a)}; LR.prototype.clearAllCache=function(){var a=this,b=this.C.currentScript instanceof HTMLScriptElement?this.C.currentScript.src:"";if(this.o===1){var c={};SQ(49,"",null,(c.url=b,c))}else if(this.g.Hj.includes(String(El(b!=null?b:""))))c={},SQ(48,"",null,(c.url=b,c));else{var d=new sR(this.j,4);c=new yR(this.l,function(e,f){return void MR(a,e,f)});tR(d,c);vR(d);this.o=1;setTimeout(function(){a.o=0},this.g.Fj*1E3);d={};SQ(43,"",null,(d.url=b,d));return c.l.promise}}; var MR=function(a,b,c){a=u(a.B);for(var d=a.next();!d.done;d=a.next())d=d.value,d(b,c)},NR=function(a){this.push=function(b){a.push(b)};this.addOnSignalResolveCallback=function(b){a.addOnSignalResolveCallback(b)};this.addErrorHandler=function(b){a.addErrorHandler(b)};this.clearAllCache=function(){a.clearAllCache()}};function OR(a,b,c,d,e,f,g){g=g===void 0?LQ:g;Al()!==Bl()?SQ(16,""):PR(b,"encryptedSignalProviders",d,f)&&PR(b,"secureSignalProviders",d,f)||(SQ(38,""),QR(a,b,"encryptedSignalProviders",c,g,d,e,f),QR(a,b,"secureSignalProviders",c,g,d,function(){},f))}function PR(a,b,c,d){if(a[b]===void 0||a[b]instanceof Array)return!1;a=a[b];d&&a.addOnSignalResolveCallback(d);a.addErrorHandler(c);return!0} function QR(a,b,c,d,e,f,g,h){var k;a=new LR(a,(k=b[c])!=null?k:[],d,c==="secureSignalProviders",g,e);b[c]=new NR(a);h&&a.addOnSignalResolveCallback(h);a.addErrorHandler(f)}function RR(a,b,c,d,e,f){f=f===void 0?new rR:f;var g=g===void 0?LQ:g;var h=new cR;bR(h,b);OR(f,a,h,c,d,e,g)} function SR(a,b,c,d){var e=TR;var f=f===void 0?new rR:f;var g=new Map;b.map(function(h){var k=h.ne;return new Promise(function(l){g.set(k,l)})});RR(a,c,d,e,function(h){var k=h.collectorGeneratedData;h=h.id;var l;return void((l=g.get(h))==null?void 0:l({collectorGeneratedData:k,id:h}))},f)};function UR(){var a;return(a=A.googletag)!=null?a:A.googletag={cmd:[]}};function VR(a){if(au(a))return null;try{return window.localStorage}catch(b){return null}}function WR(a,b){(b=VR(b))&&a.length!==0&&SR(UR(),a,b,function(){})}function TR(){};function YR(a){var b="";a.forEach(function(c,d){D(c)||(c=encodeURIComponent(c),b+=d+"="+c+"&")});return b.slice(0,-1)};function ZR(a){var b;return(b=a.omidSessionInterface)!=null?b:null} function $R(){var a=document.body,b,c,d,e,f,g;return y(function(h){if(h.g==1)return b=Mr("IFRAME",{style:"display: none",title:"Advertisement"}),c=new Promise(function(k){b.addEventListener("load",function(){k()})}),a.appendChild(b),x(h,c,2);d=Mr("SCRIPT");e=aS();Qk(d,e);f=new Promise(function(k,l){d.addEventListener("load",function(){var p=Rr(b);p&&ZR(p)?k(b):l()})});g=b.contentDocument||b.contentWindow.document;g.head.appendChild(d);return h.return(f)})} function aS(){switch(L(bq).j(sr.g,sr.defaultValue)){case 0:return xP;case 1:return yP;case 2:return zP;case 3:return AP;default:return xP}};var bS=function(a){this.g=a||{cookie:""}};m=bS.prototype; m.set=function(a,b,c){var d=!1;if(typeof c==="object"){var e=c.oi;d=c.rf||!1;var f=c.domain||void 0;var g=c.path||void 0;var h=c.Oe}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 cS=function(a){a=(a.g.cookie||"").split(";");for(var b=[],c=[],d,e,f=0;f0&&r.set("sdk_apis",lc.join(","));var sg;Nu(a.j||!((sg=a.Ma)== null||!sg.zj))||r.set("wta","0");k.get("sid")||r.set("sid",c.Zk);var Ab=c.ga;Ab==null||au(l)||r.set("adsid",Ab);var nf;if(au(c.g))var Fd=null;else{var rb=VR(c.g),ad=new eD;SQ(56,"",null);if(rb){var ue=[],ve=RegExp("^_GESPSK-(.+)$");try{for(var we=0;we1024){var Id={};SQ(55,Dc.Gd,null,(Id.sl=String(Hd.length),Id));var ye=lb.Qb(XC(108));Bg(ye,2)}var tg=ad,Ec=lb,ug=ZC,qf=wd(tg.G);Sd(qf);var bi=Yg(tg,qf,ug,2,2,!0);Ec=Ec!=null?Ec:new ug;bi.push(Ec);vd(Ec.G)&2?ud(bi,8):ud(bi,16);var lo=eh(lb,2),kk=void 0,lk=void 0,vg={};SQ(19,Dc.Gd,null,(vg.hs=lo?"1":"0",vg.sl=String((lk=(kk=lo)==null?void 0:kk.length)!=null?lk:-1),vg))}}}}if(Zg(ad,ZC,2,Cg()).length){var mk={};SQ(50,"",null,(mk.ns=String(Zg(ad,ZC,2, Cg()).length),mk));Fd=Oc(ad.g(),3)}else Fd=null}(nf=Fd)&&r.set("a3p",nf);var nk=c.Jh||{},ok=a.l;ok&&r.set("scar",ok);r.set("ssss","gima");var mo=Map,pk=[],no=pk.concat,rf=v(r),oo=v(nk),po=v(fS(a,c));var Bb=new Map;c.ca?Bb.set("attmas",c.ca):c.A!=null&&Bb.set("is_lat",c.A?"1":"0");if(!au(c.g)){if(Oo(tp)){var ci=new ft;sh(Mg(ci,3,kf(""),""),4,0);var sf=Oc(tb(Ph(ci)),3);Bb.set("psd",sf)}var wg=c.deviceId,tf=c.g;if(tf.j){var qk=Xt(tf,"tfcd");var rk=qk==="0"||qk==="false"?(0).toString():Rt(qk)?(1).toString(): ""}else rk="";var di;if(!(di=rk===(1).toString())){if(tf.j){var ei=Xt(tf,"tfua");var fi=ei==="0"||ei==="false"?(0).toString():Rt(ei)?(1).toString():""}else fi="";di=fi===(1).toString()}var gi=di;var sk=wg&&wg!=="00000000-0000-0000-0000-000000000000"&&!gi;c.D&&Bb.set("idtype",c.D);wg&&!gi&&Bb.set("rdid",wg);var qo=c.de;if(qo&&!sk){Bb.set("paid",qo);var Fc=c.Pa;if(Fc){var ro=new Yu;Vu(ro,tb(Fc));var uf=ub(Wu(ro)).substring(0,32).toUpperCase();var so=uf.length===32?[uf.substring(0,8),uf.substring(8, 12),uf.substring(12,16),uf.substring(16,20),uf.substring(20)].join("-"):void 0;so&&Bb.set("vid1",so)}var to=c.zh,vu=!c.Fh;if(to&&(Bb.set("paid2",to),Bb.set("paopt",vu?"1":"0"),Fc)){var uo=new Yu;Vu(uo,tb(Fc));var ze=ub(Wu(uo)).substring(32).toUpperCase();var tk=ze.length===32?[ze.substring(0,8),ze.substring(8,12),ze.substring(12,16),ze.substring(16,20),ze.substring(20)].join("-"):void 0;tk&&Bb.set("vid2",tk)}}var uk=c.ma,vk=c.Da;uk&&vk&&!sk&&(Bb.set("pvid",uk),Bb.set("pvid_s",""+vk))}var wk=v(Bb), vf=new Map;Nu(!0)||vf.set("wta","0");var sb=c.g,Cb=new Map,xk=Cb.set;if(sb.j){var vo=Xt(sb,"rdp");var yk=Rt(vo)?"1":""}else yk="";xk.call(Cb,"rdp",yk);Cb.set("us_privacy",Yt(sb));var wo=Cb.set,xo=Xt(sb,"npa"),zk=Rt(xo);wo.call(Cb,"npa",sb.j&&zk?"1":"");Cb.set("gdpr",Zt(sb));Cb.set("gdpr_consent",Ut(sb));var yo=Cb.set,Ak=Xt(sb,"addtl_consent");yo.call(Cb,"addtl_consent",sb.g.j||Ak||"");Cb.set("gpp",sb.g.gppString);Cb.set("gpp_sid",sb.g.o);Cb.set("ltd",$t(sb)?"1":"");St(Cb);var zo=Map,hi=[],Ao=hi.concat, Bo=v(vf);var Ae=new Map;au(c.g)||(D(Ls.g)||Ae.set("adsid",Ls.g),D("")||Ae.set("pucrd",""),D("")||Ae.set("jar",""));var Co=new zo(Ao.call(hi,Bo,v(Ae),v(Cb)));var Bk=v(Co),Ck;var Do=(Ck=fS(a,c).get("url"))!=null?Ck:"",Dk=Oo(mp),Db=new Map;if(!Ls.isCookiesEnabled())Db.set("co","1");else if(c.U&&!au(c.g)){var mc=c.l,Eo=mc!=null&&!/[;\r\n]/.test(mc);Eo&&Db.set("cookie",mc);var Ek=c.B,Fo=Ek!=null&&!/[;\r\n]/.test(Ek);Dk&&Fo&&Db.set("gpic",Ek);if(!Eo||Dk&&!Fo)Db.set("cookie_enabled","1"),dS(Db,Do,c);var Fk= c.K,wu=Fk!=null&&!/[;\r\n]/.test(Fk);Dk&&wu&&Db.set("pdopt",Fk)}var xu=v(Db),Go,Ho=(Go=fS(a,c).get("url"))!=null?Go:"",xg=new Map,ii=c.C;ii==null||/[;\r\n]/.test(ii)?c.H&&(xg.set("eoidce","1"),dS(xg,Ho,c)):xg.set("eo_id_str",ii);e=new mo(no.call(pk,rf,oo,po,wk,Bk,xu,v(xg)));var Io=d.get("ctv",""),ji={};UM.getInstance().report(197,(ji.pctv=Io,ji));return x(g,gS(a,e,b),2)}f=g.j;return g.return(new Map([].concat(v(d),v(f),v(e))))})} function gS(a,b,c){var d,e,f,g;return y(function(h){switch(h.g){case 1:d=new Map;e=lN;d.set(e.Hi,a.apiKey);d.set(e.Mi,a.authToken);d.set(e.tj,a.streamActivityMonitorId);!D(a.assetKey)||GO(a)?d.set(e.ph,"0"):Lu(a)&&d.set(e.ph,"1");if(!a.enableNonce){h.g=2;break}h.l=3;f=YR(b);return x(h,c.encrypt(f),5);case 5:g=h.j;d.set(e.aj,g);ya(h,2);break;case 3:za(h);case 2:return h.return(d)}})} function fS(a,b){var c=a.adTagParameters||{},d;a=(d=c.page_url)!=null?d:"";var e;d=(e=c.description_url)!=null?e:"";e=$F(a)?a:d;e=new Xr(e);d=new Xr(b.F);c=new Xr(b.j);var f="unknown";ls(c,d)?f="flat":ls(e,d)?f="bottom":ls(e,c)&&(f="top");UM.getInstance().report(160,{contentLocation:f});e=new Map;d=b.referrer;D(Zk(d))||e.set("ref",d);if($F(a)){e.set("url",a);var g;e.set("top",(g=b.j)!=null?g:"");e.set("loc",b.F)}else g=e.set,b=b.j&&$F(b.j)?b.j:b.referrer&&$F(b.referrer)?b.referrer:"null",g.call(e, "url",b);return e}function hS(a,b,c){var d,e;return y(function(f){if(f.g==1)return x(f,eS(a,b,c),2);d=f.j;e=new Xr;d.forEach(function(g,h){D(g)||ks(e,h,g)});return f.return(e.g.toString())})};var iS=function(){this.g=[];this.j=[]};m=iS.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 kc(this.g,a)||kc(this.j,a)};m.remove=function(a){var b=this.g;var c=$b(b,a);c>=0?(oc(b,c),b=!0):b=!1;return b||nc(this.j,a)};m.Wc=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=0;c--){var d=b[c];if(uN(d)3)c=[String(Math.floor(a))];else{c=[];for(var d=Math.floor(b);d<=Math.floor(a);d++)c.push(String(d))}c=u(c);for(d=c.next();!d.done;d=c.next())zS(this,d.value);try{a-=b,1<=a&&a<3&&UM.getInstance().report(146,{n:"0",ctv:Mu()?"1":"0"},!0)}catch(e){}AS(this);nO(this.controller)}}; var zS=function(a,b){var c,d=((c=a.g)==null?void 0:(c.data.times||{})[b]||[])||[];d.length===0||a.B.has(b)||(a.B.add(b),d.forEach(function(e){var f=Zk(e.type),g=e.ad||"",h=e.url||"";e=e.event_uris||[];D(g)?D(h)||f.toLowerCase()!=="start"&&f.toLowerCase()!=="complete"||dI([h]):a.handleEvent(b,f,g,e)}))},AS=function(a){a.controller.l&&!a.l.some(function(b){return b.contains(a.controller.o)})&&(ZN(a.controller),aO(a.controller))};m=xS.prototype;m.Pd=function(){this.controller.H=!0};m.Jc=function(){this.controller.Jc(this.j.getVolume())}; m.Ic=function(){this.controller.Ic()};m.Kc=function(a){this.controller.Kc(a)};m.fd=function(){};m.getVolume=function(){return this.controller.getVolume()};m.ac=function(){return this.j.ac()}; m.handleEvent=function(a,b,c,d){d=d===void 0?[]:d;switch(b.toLowerCase()){case "start":(b=iO(this.controller,c))&&this.g&&(this.j.wf(),this.o=IQ(this.controller.g,b,this.j),JQ(this,this,this.controller,this.A,b,this.D),this.g.getAdPosition(this.controller.j)===1&&BS(this,a),oO(this.controller),kO(b));break;case "firstquartile":fO(this.controller,"firstQuartile",c);break;case "midpoint":fO(this.controller,"midpoint",c);break;case "thirdquartile":fO(this.controller,"thirdQuartile",c);break;case "complete":eO(this.controller, c);it(this.o);this.o=null;this.j.qc();break;case "vastprogress":gO(this.controller,c,d)}};var yS=function(a){var b={};b=(b.cuepoints=a.l.map(function(c){return wN(c)}),b);a.dispatchEvent(new ON("cuepointsChanged",b))},BS=function(a,b){$N(a.controller);a.l.forEach(function(c){Math.floor(uN(c))!==Number(b)||c.played||(c.played=!0,yS(a))})};var CS=function(a,b){uB.call(this,a);this.data=b||{}};t(CS,uB);function DS(a,b,c,d){var e=new bv,f="",g=function(k){try{var l=typeof k.data==="object"?k.data:JSON.parse(k.data);f===l.paw_id&&(Fj(a,"message",g),l.error?e.reject(Error(l.error)):e.resolve(d(l)))}catch(p){}},h=ES(a);return h?(Ej(a,"message",g),f=c(h),e.promise):(c=FS(a))?(f=String(Math.floor(Cl()*2147483647)),Ej(a,"message",g),b(c,f),e.promise):null} function GS(a){return DS(a,function(b,c){var d,e;return void((d=(e=b.getGmaQueryInfo)!=null?e:b.getGmaSig)==null?void 0:d.postMessage(c))},function(b){return b.getQueryInfo()},function(b){return b.signal})}function HS(){var a=window;return!!ES(a)||!!FS(a)}function ES(a){var b;if(typeof((b=a.gmaSdk)==null?void 0:b.getQueryInfo)==="function")return a.gmaSdk} function FS(a){var b,c,d,e,f,g;if(typeof((b=a.webkit)==null?void 0:(c=b.messageHandlers)==null?void 0:(d=c.getGmaQueryInfo)==null?void 0:d.postMessage)==="function"||typeof((e=a.webkit)==null?void 0:(f=e.messageHandlers)==null?void 0:(g=f.getGmaSig)==null?void 0:g.postMessage)==="function")return a.webkit.messageHandlers} (function(a){return Xd(function(b){if(!ae(b))return!1;for(var c=u(Object.entries(a)),d=c.next();!d.done;d=c.next()){var e=u(d.value);d=e.next().value;e=e.next().value;if(!(d in b)){if(e.sk===!0)continue;return!1}if(!e(b[d]))return!1}return!0})})({vc:Zd,pn:Zd,eid:be(),vnm:be(),js:Zd},"RawGmaSdkStaticSignalObject");var IS=function(){this.timeoutMs=500;this.j=GS;this.signal=null;this.g=0},JS=function(a){if(Oo(np)||!HS())return Promise.resolve(null);var b;return((b=a.j(window))!=null?b:Promise.resolve(null)).catch(function(){return"0"})},LS=function(a){var b;return y(function(c){if(c.g==1)return b=Date.now()-a.g,!a.signal||b>3E5?c=x(c,KS(a),3):(c.g=2,c=void 0),c;c.g!=2&&(a.signal=c.j,a.g=Date.now());return c.return(a.signal)})},KS=function(a){return Promise.race([JS(a).then(function(b){if(b==null)return null; a.signal=b.length>1E4?"0":b;a.g=Date.now();return a.signal}),AC(a.timeoutMs,"0")])};function MS(a,b,c){var d,e,f;a=((f=(d=H(a,TC,2))==null?void 0:(e=Zg(d,SC,1,Cg()))==null?void 0:e.map(function(g){return kh(g,1)}))!=null?f:[]).some(function(g){return g===b});UM.getInstance().report(190,{fm:a,fl:c})};/* Copyright 2020 Google LLC SPDX-License-Identifier: Apache-2.0 */ var W=function(a){a=Error.call(this,a);this.message=a.message;"stack"in a&&(this.stack=a.stack);Object.setPrototypeOf(this,W.prototype)};t(W,Error);W.prototype.name="SecurityException";var NS=function(a){this.G=G(a)};t(NS,J);var OS=function(a){this.G=G(a)};t(OS,J);OS.prototype.getVersion=function(){return hh(this,1)};var PS=function(a){this.G=G(a)};t(PS,J);var QS=function(a){this.G=G(a)};t(QS,J);QS.prototype.getVersion=function(){return hh(this,1)};var RS=function(a){this.G=G(a)};t(RS,J);RS.prototype.getVersion=function(){return hh(this,1)};var SS=[0,nj];var TS=[0,qj,nj];var US=rj(RS,[0,nj,[0,nj,SS,lj],[0,nj,TS,lj]]);var VS=function(a){this.G=G(a)};t(VS,J);var WS=function(a){this.G=G(a)};t(WS,J);WS.prototype.getVersion=function(){return hh(this,3)};var XS=function(a){this.G=G(a)};t(XS,J);var YS=rj(XS,[0,[0,SS,nj],[0,TS,nj,-1]]);var bT=function(a){this.G=G(a)};t(bT,J);bT.prototype.getVersion=function(){return hh(this,1)};var cT=rj(bT,[0,nj,1,lj]);var dT=function(a){this.G=G(a)};t(dT,J);dT.prototype.getVersion=function(){return hh(this,3)};var eT=rj(dT,[0,1,nj,-1]);var fT=function(a){this.G=G(a)};t(fT,J);fT.prototype.getValue=function(){return Jg(this,2)};var gT=function(a){this.G=G(a)};t(gT,J);var hT=[0,1,[0,hj,lj,qj]];var iT=function(a){this.G=G(a)};t(iT,J);var jT=[0,qj,-1,8,lj];var kT=function(a){this.G=G(a)};t(kT,J);var lT=[0,jT,hT,qj];var mT=function(a){this.G=G(a)};t(mT,J);var nT=rj(mT,[0,lT]);var oT=function(a){this.G=G(a)};t(oT,J);oT.prototype.getVersion=function(){return hh(this,1)};var pT=[0,nj,lT,lj,-1];var qT=function(a){this.G=G(a)};t(qT,J);qT.prototype.getVersion=function(){return hh(this,1)};var rT=rj(qT,[0,nj,pT,lj]);var sT=rj(oT,pT);var tT=function(a){this.G=G(a)};t(tT,J);tT.prototype.Bc=function(){return I(this,3)};var uT=[0,qj,-2];var vT=function(a){this.G=G(a)};t(vT,J);var wT=[0,uT];vT.prototype.g=sj(wT);var xT=rj(vT,wT);var yT=function(a){this.G=G(a)};t(yT,J);yT.prototype.getVersion=function(){return hh(this,1)};var zT=[0,nj,uT,lj];var AT=function(a){this.G=G(a)};t(AT,J);AT.prototype.getVersion=function(){return hh(this,1)};var BT=rj(AT,[0,nj,zT,lj]);var CT=rj(yT,zT);var DT=function(a){this.G=G(a)};t(DT,J);DT.prototype.getValue=function(){return Jg(this,2)};var ET=[0,hj,lj,qj];var FT=function(a){this.G=G(a)};t(FT,J);var GT=[0,ET,qj,nj,qj];var HT=function(a){this.G=G(a)};t(HT,J);var IT=function(a){return Zg(a,FT,2,Cg())};var JT=rj(HT,[0,nj,jj,GT]);var KT=function(a){this.g=a};KT.prototype.read=function(){try{var a=JT(this.g)}catch(b){throw new W("Could not parse the given serialized proto as a keyset proto.");}if(IT(a).length===0)throw new W("Could not parse the given serialized proto as a keyset proto.");return a};var X=function(a){a=Error.call(this,a);this.message=a.message;"stack"in a&&(this.stack=a.stack);Object.setPrototypeOf(this,X.prototype)};t(X,Error);X.prototype.name="InvalidArgumentsException";var LT=function(a,b){b=[b];var c=b.concat;if(!Number.isInteger(a)||a<0||a>=4294967296)throw new X("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)},MT=new Uint8Array(0);var NT=function(a,b,c){this.l=a;this.g=b;this.j=c};NT.prototype.Ua=function(){return this.l};var OT=function(a){this.l=a;this.j=null;this.g=new Map};OT.prototype.Ca=function(){return this.l};var QT=function(a,b){return(a=PT(a,b))?a:[]},PT=function(a,b){b instanceof Uint8Array&&(b=[].concat(v(b)).toString());return a.g.get(b)};/* Copyright 2022 Google LLC SPDX-License-Identifier: Apache-2.0 */ function RT(a){return a==null?void 0:new Uint8Array(gd(a)||0)}function ST(a){a==null?a=void 0:a=(a=gd(a))?a.length:0;return a};function TT(){for(var a=0,b=0;bNumber.MAX_SAFE_INTEGER)throw new X("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 VT(a){for(var b="",c=0;c1?d:"0"+d}return b} function WT(a){a=a.replace(/-/g,"+").replace(/_/g,"/");return XT(globalThis.atob(a))}function YT(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 X("x must be provided");if(d===void 0)throw new X("y must be provided");c=WT(b);b=WT(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]=cU(BigInt("0x"+VT(b)),0)?3:2;return d;default:throw new W("invalid format");}} function dU(a){switch(a){case 1:return BigInt("115792089210356248762697446949407573530086143415290314195533631308867097853951");case 2:return BigInt("39402006196394479212279040100143613805079739270465446667948293404245721771496870329047266088258938001861606973112319");case 3:return BigInt("6864797660130609714981900799081393217269435300143305409394463459185543183397656052122559640661454554977296311391480858037121987999716643812574028291115057151");default:throw new X("invalid curve");}} function eU(a){a=a.toString(16);a=a.length%2===0?a:"0"+a;if(a.length%2!=0)throw new X("Hex string length must be multiple of 2");for(var b=new Uint8Array(a.length/2),c=0;c=d)throw new W("x is out of range");d=dU($T(a));var e=d-BigInt(3);a:switch($T(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 X("invalid curve");}if(d<=BigInt(0))throw new X("p must be positive");e=((c*c+e)*c+f)%d%d;if(cU(d,0)&&cU(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 W("Version is out of bound, must be between 0 and "+b+".");};var EU=function(a,b){this.key=a;this.dc=b};EU.prototype.encrypt=function(a){var b=this,c,d,e,f;return y(function(g){if(g.g==1)return CU(a),c=wU(b.dc),d=new Uint8Array(16),d.set(c),e={name:"AES-CTR",counter:d,length:128},x(g,globalThis.crypto.subtle.encrypt(e,b.key,a),2);f=g.j;return g.return(TT(c,new Uint8Array(f)))})}; EU.prototype.decrypt=function(a){var b=this,c,d,e;return y(function(f){if(f.g==1){CU(a);if(a.length16)throw new W("invalid IV length, must be at least 12 and at most 16");CU(a);BU(a.length);return x(d,globalThis.crypto.subtle.importKey("raw",a,{name:"AES-CTR",length:a.length},!1,["encrypt","decrypt"]),2)}c=d.j;return d.return(new EU(c,b))})};var GU=function(){};var HU=function(a,b,c){this.hash=a;this.key=b;this.rc=c};t(HU,GU);var IU=function(a,b){var c;return y(function(d){if(d.g==1)return CU(b),x(d,globalThis.crypto.subtle.sign({name:"HMAC",hash:{name:a.hash}},a.key,b),2);c=d.j;return d.return(new Uint8Array(c.slice(0,a.rc)))})},JU=function(a,b,c){var d;return y(function(e){if(e.g==1)return CU(b),CU(c),x(e,IU(a,c),2);d=e.j;if(b.length!==d.length)var f=!1;else{for(var g=f=0;g20)throw new X("tag too long, must not be larger than 20 bytes");break;case "SHA-256":if(c>32)throw new X("tag too long, must not be larger than 32 bytes");break;case "SHA-384":if(c>48)throw new X("tag too long, must not be larger than 48 bytes");break; case "SHA-512":if(c>64)throw new X("tag too long, must not be larger than 64 bytes");break;default:throw new X(a+" is not supported");}return x(e,globalThis.crypto.subtle.importKey("raw",b,{name:"HMAC",hash:{name:a},length:b.length*8},!1,["sign","verify"]),2)}d=e.j;return e.return(new HU(a,d,c))})};var LU=function(a,b,c,d){this.g=a;this.dc=b;this.j=c;this.rc=d};t(LU,zU);LU.prototype.encrypt=function(a,b){b=b===void 0?new Uint8Array(0):b;var c=this,d,e,f;return y(function(g){if(g.g==1)return CU(a),x(g,c.g.encrypt(a),2);if(g.g!=3)return d=g.j,CU(b),e=UT(b.length*8),x(g,IU(c.j,TT(b,d,e)),3);f=g.j;if(c.rc!=f.length)throw new W("invalid tag size, expected "+c.rc+" but got "+f.length);return g.return(TT(d,f))})}; LU.prototype.decrypt=function(a,b){b=b===void 0?new Uint8Array(0):b;var c=this,d,e,f,g,h;return y(function(k){if(k.g==1){CU(a);if(a.length16)throw new W("Invalid AES CTR HMAC key format: IV size is out of range: "+c);return{Bj:a,ae:b,dc:c}},PU=function(a){if(!a)throw new W("Invalid AES CTR HMAC key format: key format undefined");var b=hh(a,2);if(b<16)throw new W("Invalid AES CTR HMAC key format: HMAC key is too small: "+ hh(a,2));a=H(a,PS,1);if(!a)throw new W("Invalid AES CTR HMAC key format: params undefined");var c=hh(a,2);if(c<10)throw new W("Invalid HMAC params: tag size "+c+" is too small.");if(!QU.has(I(a,1)))throw new W("Unknown hash type.");if(c>QU.get(I(a,1)))throw new W("Invalid HMAC params: tag size "+c+" is out of range.");switch(I(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{lk:a,kk:b,jk:d,rc:c}},QU=new Map([[1,20],[3,32],[4,64]]), RU=function(){this.g=new NU};m=RU.prototype; m.Ua=function(a,b){var c,d,e,f,g,h=this,k,l,p,n,q,r;return y(function(w){if(w.g==1){if(a!=h.Ca())throw new W("Requested primitive type which is not supported by this key manager.");if(b instanceof DT){if(!h.Tc(kh(b,1)))throw new W("Key type "+kh(b,1)+" is not supported. This key manager supports "+h.Fa()+".");try{k=US(b.getValue())}catch(da){throw new W("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 W("Could not parse the key in key data as a serialized proto of type.googleapis.com/google.crypto.tink.AesCtrHmacAeadKey"); }else if(b instanceof RS)k=b;else throw new W("Given key type is not supported. This key manager supports "+h.Fa()+".");var z=H(k,OS,2);if(!z)throw new W("Invalid AES CTR HMAC key format: key undefined");DU(z.getVersion(),h.getVersion());var B=new VS;var E=H(z,NS,2);B=$g(B,1,E);E=ST(Jg(z,3));B=oh(B,2,E);B=OU(B).dc;f=RT(Jg(z,3));g=B;l=f;p=g;z=H(k,QS,3);if(!z)throw new W("Invalid AES CTR HMAC key format: key undefined");DU(z.getVersion(),h.getVersion());B=new WS;E=H(z,PS,2);B=$g(B,1,E);E=ST(Jg(z,3)); B=oh(B,2,E);E=PU(B);B=E.jk;E=E.rc;c=RT(Jg(z,3));d=B;e=E;n=c;q=d;r=e;return x(w,MU(l,p,q,n,r),2)}return w.return(w.j)})};m.Tc=function(a){return a===this.Fa()};m.Fa=function(){return"type.googleapis.com/google.crypto.tink.AesCtrHmacAeadKey"};m.Ca=function(){return zU};m.getVersion=function(){return 0};m.Vc=function(){return this.g};var SU=function(a){var b=a.key;a=a.Lb;this.key=b;this.Lb=a};SU.prototype.encrypt=function(a,b,c){var d=this,e,f;return y(function(g){if(g.g==1){if(a.length!==12)throw new W("IV must be 12 bytes");e={name:"AES-GCM",iv:a,tagLength:128};c&&(e.additionalData=c);return x(g,globalThis.crypto.subtle.encrypt(e,d.key,b),2)}f=g.j;return g.return(d.Lb?TT(a,new Uint8Array(f)):new Uint8Array(f))})}; SU.prototype.decrypt=function(a,b,c){var d=this,e,f,g,h,k;return y(function(l){if(l.g==1){e=d.Lb?28:16;if(b.length5)){k.g=2;break}d=a.subarray(0,5);return x(k,QT(c.g,d),3);case 3:return e=k.j,f=a.subarray(5,a.length),k.l=4,x(k,$U(e,f,b),6);case 6:g=k.j;ya(k,5);break;case 4:za(k);case 5:if(g)return k.return(g);case 2:return x(k,QT(c.g,MT),7);case 7:return h=k.j,k.return($U(h,a,b))}})}; var $U=function(a,b,c){var d,e,f,g;return y(function(h){switch(h.g){case 1:d=a.length,e=0;case 2:if(!(e5100)throw new X("size too large");break;case "SHA-256":f=32;if(a>8160)throw new X("size too large");break;case "SHA-512":f=64;if(a>16320)throw new X("size too large");break;default:throw new X(b+" is not supported");}CU(c);CU(d);g=e;if(e==null||g===void 0||g.length==0)g=new Uint8Array(f); CU(g);return x(w,KU(b,g,f),2);case 2:return h=w.j,x(w,IU(h,c),3);case 3:return k=w.j,x(w,KU(b,k,f),4);case 4:h=w.j,l=1,p=0,n=new Uint8Array(0),q=new Uint8Array(a);case 5:return r=new Uint8Array(n.length+d.length+1),r.set(n,0),r.set(d,n.length),r[r.length-1]=l,x(w,IU(h,r),8);case 8:n=w.j;if(p+n.length>8*(a-d-1)&255;return c}function GV(a){var b=a.Zb;var c=a.Yb;return TT(FV,a.Oa,XT(b),c)}function HV(a){var b=a.Cc;var c=a.info;var d=a.Oa;return TT(vV(2,a.length),FV,d,XT(b),c)}function IV(a){switch(a){case 2:return 1;case 4:return 3;default:throw new X("Unrecognized NIST HPKE KEM identifier");}} function JV(a,b){var c;return y(function(d){return d.g==1?(c=fU(a,1,b),x(d,jU(c),2)):d.return(d.j)})}function KV(a){var b=a.bg;var c=a.publicKey;var d=a.privateKey;var e;return y(function(f){return f.g==1?(e=fU(b,1,c),e.d=YT(d),x(f,kU(e),2)):f.return(f.j)})}function LV(a){var b,c;return y(function(d){if(d.g==1)return b=a.algorithm,x(d,iU(a),2);c=d.j;if(!c.crv)throw new W("Curve has to be defined.");return d.return(aU(b.namedCurve,1,c))})};var MV=function(a,b,c,d){this.hg=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 X("Both byte arrays should be of the same length");d=new Uint8Array(b.length);for(var e=0;e=a.o)throw new W("message limit reached");a.g+=BigInt(1);return d}; function OV(a,b,c,d,e,f){var g,h,k,l,p,n,q;return y(function(r){switch(r.g){case 1:a:{switch(e.He){case 16:var w=BV;break a;case 32:w=CV;break a}w=void 0}a:{switch(d.Ce){case "SHA-256":var z=zV;break a;case "SHA-512":z=AV;break a}z=void 0}g=TT(EV,PV(c),z,w);return x(r,QV(d,{Yb:new Uint8Array(0),Zb:"psk_id_hash",Oa:g}),2);case 2:return h=r.j,x(r,QV(d,{Yb:f,Zb:"info_hash",Oa:g}),3);case 3:return k=r.j,l=TT(wV,h,k),x(r,QV(d,{Yb:new Uint8Array(0),Zb:"secret",Oa:g,salt:b}),4);case 4:return p=r.j,x(r,RV(d, {gi:p,info:l,Cc:"key",Oa:g,length:e.He}),5);case 5:return n=r.j,x(r,RV(d,{gi:p,info:l,Cc:"base_nonce",Oa:g,length:12}),6);case 6:return q=r.j,r.return(new MV(a,n,q,e))}})}function SV(a,b,c,d,e){var f,g,h;return y(function(k){return k.g==1?x(k,b.gg(a),2):k.g!=3?(f=k.j,g=f.hg,h=f.ml,x(k,OV(g,h,b,c,d,e),3)):k.return(k.j)})}function TV(a,b,c,d,e,f){var g;return y(function(h){return h.g==1?x(h,c.cg(a,b),2):h.g!=3?(g=h.j,x(h,OV(a,g,c,d,e,f),3)):h.return(h.j)})};var UV=function(a,b){this.privateKey=a;this.publicKey=b},VV=function(a){return y(function(b){return b.g==1?x(b,LV(a.publicKey),2):b.return(b.j)})};function WV(a){var b=a.privateKey;var c=a.publicKey;var d=a.bg;var e,f;return y(function(g){if(g.g==1){if(!b)throw new X("KEM private key was null or undefined");if(!c)throw new X("KEM public key was null or undefined");return x(g,JV(ZT(d),c),2)}if(g.g!=3)return e=g.j,x(g,KV({bg:ZT(d),publicKey:c,privateKey:b}),3);f=g.j;return g.return(new UV(f,e))})} function XV(a){return y(function(b){YV(a.privateKey,"private");YV(a.publicKey,"public");return b.return(new UV(a.privateKey,a.publicKey))})}function YV(a,b){if(b!==a.type)throw new X("keyPair "+b+" key was of type "+a.type);a=a.algorithm;if("ECDH"!==a.name)throw new X("keyPair "+b+" key should be ECDH but found "+a.name);};var ZV=function(a){this.He=a};ZV.prototype.seal=function(a){var b=a.key;var c=a.nonce;var d=a.Xk;var e=a.Mf;var f=this,g;return y(function(h){if(h.g==1){if(b.length!==f.He)throw new W("Unexpected key length: "+b.length.toString());return x(h,TU({key:b,Lb:!1}),2)}return h.g!=3?(g=h.j,x(h,g.encrypt(c,d,e),3)):h.return(h.j)})}; ZV.prototype.open=function(a){var b=a.key;var c=a.nonce;var d=a.Gj;var e=a.Mf;var f=this,g;return y(function(h){if(h.g==1){if(b.length!==f.He)throw new W("Unexpected key length: "+b.length.toString());return x(h,TU({key:b,Lb:!1}),2)}g=h.j;return h.return(g.decrypt(c,d,e))})};var $V=function(a){this.Ce=a},QV=function(a,b){var c=b.Yb;var d=b.Zb;var e=b.Oa;var f=b.salt;return y(function(g){return g.g==1?x(g,aW(a,GV({Zb:d,Yb:c,Oa:e}),f),2):g.return(g.j)})},RV=function(a,b){var c=b.gi;var d=b.info;var e=b.Cc;var f=b.Oa;var g=b.length;return y(function(h){return h.g==1?x(h,a.expand(c,HV({Cc:e,info:d,Oa:f,length:g}),g),2):h.return(h.j)})},bW=function(a,b){var c=b.Yb;var d=b.Zb;var e=b.info;var f=b.Cc;var g=b.Oa;var h=b.length;var k=b.salt;var l;return y(function(p){return p.g== 1?x(p,aW(a,GV({Zb:d,Yb:c,Oa:g}),k),2):p.g!=3?(l=p.j,x(p,a.expand(l,HV({Cc:f,info:e,Oa:g,length:h}),h),3)):p.return(p.j)})}; $V.prototype.expand=function(a,b,c){var d=this,e,f,g,h,k,l,p;return y(function(n){switch(n.g){case 1:if(!Number.isInteger(c))throw new W("length must be an integer");if(c<=0)throw new W("length must be positive");e=cW(d);if(c>255*e)throw new W("length too large");CU(b);return x(n,KU(d.Ce,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,x(n,IU(f,p),6);case 6:k=n.j;if(h+k.length0?!1:!ZL(a)&&!(a instanceof bF&&MM(a));this.disableUi=b};m=Y.prototype;m.getTraffickingParametersString=function(){return this.ad.sa}; m.getAdId=function(){return this.ad.getId()||""};m.getCreativeId=function(){return this.ad.getCreativeId()||""};m.getCreativeAdId=function(){return this.ad.getCreativeAdId()||""};m.getAdSystem=function(){return this.ad.getAdSystem()||""};m.getAdvertiserName=function(){return this.ad.getAdvertiserName()||""};m.getTitle=function(){return this.ad.yb||""};m.getDescription=function(){return this.ad.getDescription()||""};m.getApiFramework=function(){return this.ad.getApiFramework()}; m.getDuration=function(){return(this.ad.na||0)/1E3||-1};m.getVastMediaWidth=function(){var a=cF(this.ad);return a?a.getWidth()||-1:-1};m.getVastMediaHeight=function(){var a=cF(this.ad);return a?a.getHeight()||-1:-1};m.getWrapperAdIds=function(){return this.ad.getWrapperAdIds()||[]};m.getWrapperCreativeIds=function(){return this.ad.getWrapperCreativeIds()||[]};m.getWrapperAdSystems=function(){return this.ad.getWrapperAdSystems()||[]};m.getUniversalAdIds=function(){return this.ad.getUniversalAdIds().map(function(a){return new LW(a)})}; m.getUniversalAdIdValue=function(){var a=this.getUniversalAdIds();return a.length?a[0].getAdIdValue():"unknown"};m.getUniversalAdIdRegistry=function(){var a=this.getUniversalAdIds();return a.length?a[0].getAdIdRegistry():"unknown"};m.getDealId=function(){return this.ad.getDealId()||""};m.getAdPodInfo=function(){return this.ia};m.getCompanionAds=function(){return this.ad.getCompanionAds().map(function(a){return new JW(a)})};m.isSkippable=function(){return this.ad.isSkippable()}; m.getSkipTimeOffset=function(){return this.isSkippable()?(this.ad.qa||0)/1E3:-1};m.uk=function(){return this.disableUi};Y.prototype.isUiDisabled=Y.prototype.uk;Y.prototype.getSkipTimeOffset=Y.prototype.getSkipTimeOffset;Y.prototype.isSkippable=Y.prototype.isSkippable;Y.prototype.getCompanionAds=Y.prototype.getCompanionAds;Y.prototype.getAdPodInfo=Y.prototype.getAdPodInfo;Y.prototype.getDealId=Y.prototype.getDealId;Y.prototype.getUniversalAdIdRegistry=Y.prototype.getUniversalAdIdRegistry; Y.prototype.getUniversalAdIdValue=Y.prototype.getUniversalAdIdValue;Y.prototype.getUniversalAdIds=Y.prototype.getUniversalAdIds;Y.prototype.getWrapperAdSystems=Y.prototype.getWrapperAdSystems;Y.prototype.getWrapperCreativeIds=Y.prototype.getWrapperCreativeIds;Y.prototype.getWrapperAdIds=Y.prototype.getWrapperAdIds;Y.prototype.getVastMediaHeight=Y.prototype.getVastMediaHeight;Y.prototype.getVastMediaWidth=Y.prototype.getVastMediaWidth;Y.prototype.getDuration=Y.prototype.getDuration; Y.prototype.getApiFramework=Y.prototype.getApiFramework;Y.prototype.getDescription=Y.prototype.getDescription;Y.prototype.getTitle=Y.prototype.getTitle;Y.prototype.getAdvertiserName=Y.prototype.getAdvertiserName;Y.prototype.getAdSystem=Y.prototype.getAdSystem;Y.prototype.getCreativeAdId=Y.prototype.getCreativeAdId;Y.prototype.getCreativeId=Y.prototype.getCreativeId;Y.prototype.getAdId=Y.prototype.getAdId;C("google.ima.dai.api.Ad",Y);var MW=function(a){this.adBreakDuration=a.adBreakDuration;this.adPeriodDuration=a.adPeriodDuration;this.adPosition=a.adPosition;this.currentTime=a.currentTime;this.duration=a.duration;this.totalAds=a.totalAds};C("google.ima.dai.api.AdProgressData",MW);var NW=function(a){this.start=a.start;this.end=a.end;this.played=a.played};C("google.ima.dai.api.CuePoint",NW);var OW=function(){};OW.prototype.setFeatureFlags=function(a){Ls.setFeatureFlags(a)};OW.prototype.getFeatureFlags=function(){return Ls.getFeatureFlags()};OW.prototype.getFeatureFlags=OW.prototype.getFeatureFlags;OW.prototype.setFeatureFlags=OW.prototype.setFeatureFlags;C("google.ima.dai.api.DaiSdkSettings",new OW);C("google.ima.dai.api.OmidVerificationVendor",{COMSCORE:7,DOUBLEVERIFY:3,GOOGLE:9,INTEGRAL_AD_SCIENCE:4,MEETRICS:8,MOAT:2,NIELSEN:6,PIXELATE:5,OTHER:1,7:"COMSCORE",3:"DOUBLEVERIFY",9:"GOOGLE",4:"INTEGRAL_AD_SCIENCE",8:"MEETRICS",2:"MOAT",6:"NIELSEN",5:"PIXELATE",1:"OTHER"});var PW=function(a){var b=a=a===void 0?{}:a;a=b.apiKey;var c=b.authToken,d=b.format,e=b.networkCode,f=b.streamActivityMonitorId,g=b.adTagParameters;b=b.Ma;this.omidAccessModeRules={};this.enableNonce=!1;this.g=null;this.apiKey=a||"";this.format=d==="dash"?"dash":"hls";this.networkCode=e||"";this.authToken=c||"";this.streamActivityMonitorId=f||"";this.adTagParameters=g||null;this.Ma=b||null};C("google.ima.dai.api.StreamRequest",PW);C("google.ima.dai.api.StreamRequest.StreamFormat.HLS","hls"); C("google.ima.dai.api.StreamRequest.StreamFormat.DASH","dash");var QW=function(a){a=a===void 0?{}:a;var b=a.assetKey;PW.call(this,{apiKey:a.apiKey,authToken:a.authToken,format:a.format,networkCode:a.networkCode,streamActivityMonitorId:a.streamActivityMonitorId,adTagParameters:a.adTagParameters});this.assetKey=b||""};t(QW,PW);C("google.ima.dai.api.LiveStreamRequest",QW);C("google.ima.dai.api.OmidAccessMode",{LIMITED:"limited",DOMAIN:"domain",FULL:"full"});var RW=function(a){a=a===void 0?{}:a;var b=a.customAssetKey;PW.call(this,{apiKey:a.apiKey,authToken:a.authToken,format:a.format,networkCode:a.networkCode,streamActivityMonitorId:a.streamActivityMonitorId,adTagParameters:a.adTagParameters});this.customAssetKey=b||""};t(RW,PW);C("google.ima.dai.api.PodStreamRequest",RW);var SW=function(a){a=a===void 0?{}:a;PW.call(this,{format:a.format,streamActivityMonitorId:a.streamActivityMonitorId,adTagParameters:a.adTagParameters,networkCode:a.networkCode})};t(SW,PW);C("google.ima.dai.api.PodVodStreamRequest",SW);var TW=function(){this.g=this.url=this.subtitles=this.streamId=this.manifestFormat=this.errorMessage=this.cuepoints=this.adProgressData=null};TW.prototype.ze=function(a,b){return this.g&&!D(this.g)?(a=new Xr(this.g.replace("$pod-id$",a)),ks(a,"pd",b),a.toString()):null};TW.prototype.getStandalonePodManifestUrl=TW.prototype.ze;C("google.ima.dai.api.StreamData",TW);var UW={LOADED:"loaded",AD_BREAK_STARTED:"adBreakStarted",AD_BREAK_ENDED:"adBreakEnded",AD_PERIOD_STARTED:"adPeriodStarted",AD_PERIOD_ENDED:"adPeriodEnded",AD_PROGRESS:"adProgress",CUEPOINTS_CHANGED:"cuepointsChanged",CLICK:"click",ERROR:"error",STARTED:"started",FIRST_QUARTILE:"firstquartile",MIDPOINT:"midpoint",STREAM_INITIALIZED:"streamInitialized",THIRD_QUARTILE:"thirdquartile",COMPLETE:"complete",SKIPPABLE_STATE_CHANGED:"skippableStateChanged",SKIPPED:"skip",VIDEO_CLICKED:"videoClicked",PAUSED:"paused", RESUMED:"resumed",un:"showAdUi",Am:"hideAdUi"},WW=function(a,b,c){b=b===void 0?{}:b;c=c===void 0?null:c;uB.call(this,VW[a]||"");this.data=b;this.ad=c};t(WW,uB); WW.prototype.Ae=function(){var a=new TW,b=this.data.manifestFormat,c=this.data.streamId;switch(this.type){case "adProgress":a.adProgressData=new MW(this.data);break;case "loaded":a.manifestFormat=b!=null?b:null;a.streamId=c!=null?c:null;var d;a.subtitles=(d=this.data.subtitles)!=null?d:null;var e;a.url=(e=this.data.streamUrl)!=null?e:null;break;case "streamInitialized":a.streamId=c!=null?c:null;a.manifestFormat=b!=null?b:null;a.g=this.data.pod_manifest_url;break;case "cuepointsChanged":a.cuepoints= (this.data.cuepoints||[]).map(function(f){return new NW(f)});break;case "error":a.errorMessage=this.data.errorMessage}return a};WW.prototype.getAd=function(){return this.ad};WW.prototype.getAd=WW.prototype.getAd;WW.prototype.getStreamData=WW.prototype.Ae;C("module$exports$google3$javascript$ads$interactivemedia$sdk$dai$api$stream_event.StreamEvent.Type",UW); var XW={},VW=(XW.adBreakStarted="adBreakStarted",XW.adBreakEnded="adBreakEnded",XW.adPeriodStarted="adPeriodStarted",XW.adPeriodEnded="adPeriodEnded",XW.adProgress="adProgress",XW.cuepointsChanged="cuepointsChanged",XW.loadStream="loaded",XW.streamError="error",XW.streamInitialized="streamInitialized",XW.start="started",XW.firstQuartile="firstquartile",XW.midpoint="midpoint",XW.thirdQuartile="thirdquartile",XW.complete="complete",XW.click="click",XW.skip="skip",XW.skipShown="skippableStateChanged", XW.videoClicked="videoClicked",XW.pause="paused",XW.resume="resumed",XW.showAdUi="showAdUi",XW.hideAdUi="hideAdUi",XW);C("google.ima.dai.api.StreamEvent",WW);C("google.ima.dai.api.StreamEvent.Type",UW);var YW=function(){this.locale="en"};YW.prototype.getLocale=function(){return this.locale};YW.prototype.setLocale=function(a){if(a=xs(a))this.locale=a};YW.prototype.setLocale=YW.prototype.setLocale;YW.prototype.getLocale=YW.prototype.getLocale;C("google.ima.dai.api.UiSettings",YW);var ZW=function(a){a=a===void 0?{}:a;var b=a.liveStreamEventId,c=a.region,d=a.projectNumber,e=a.oAuthToken,f=a.videoStitcherSessionOptions;RW.call(this,{apiKey:a.apiKey,authToken:a.authToken,format:a.format,streamActivityMonitorId:a.streamActivityMonitorId,adTagParameters:a.adTagParameters,networkCode:a.networkCode,customAssetKey:a.customAssetKey});this.liveStreamEventId=b||"";this.region=c||"";this.projectNumber=d||"";this.oAuthToken=e||"";this.videoStitcherSessionOptions=f||null};t(ZW,RW); C("google.ima.dai.api.VideoStitcherLiveStreamRequest",ZW);C("google.ima.dai.api.CloudPodStreamRequest",ZW);var $W=function(a){a=a===void 0?{}:a;var b=a.contentSourceUrl,c=a.region,d=a.oAuthToken,e=a.projectNumber,f=a.adTagUrl,g=a.vodConfigId,h=a.videoStitcherSessionOptions;PW.call(this,{apiKey:a.apiKey,authToken:a.authToken,format:a.format,networkCode:a.networkCode,streamActivityMonitorId:a.streamActivityMonitorId,adTagParameters:a.adTagParameters});this.contentSourceUrl=b||"";this.region=c||"";this.oAuthToken=d||"";this.projectNumber=e||"";this.adTagUrl=f||"";this.vodConfigId=g||"";this.videoStitcherSessionOptions= h||null};t($W,PW);C("google.ima.dai.api.VideoStitcherVodStreamRequest",$W);var aX=function(a){a=a===void 0?{}:a;var b=a.contentSourceId,c=a.videoId;PW.call(this,{apiKey:a.apiKey,authToken:a.authToken,format:a.format,networkCode:a.networkCode,streamActivityMonitorId:a.streamActivityMonitorId,adTagParameters:a.adTagParameters});this.contentSourceId=b||"";this.videoId=c||""};t(aX,PW);C("google.ima.dai.api.VODStreamRequest",aX);var bX=Promise;var cX=function(a){this.j=a};cX.prototype.g=function(a,b,c){this.j.then(function(d){d.g(a,b,c)})};var dX=function(a){this.data=a};var eX=function(a){this.j=a};eX.prototype.g=function(a,b,c){c=c===void 0?[]:c;var d=new MessageChannel;fX(d.port1,b);this.j.postMessage(a,[d.port2].concat(c))};var gX=function(a,b){fX(a,b);return new eX(a)},fX=function(a,b){b&&(a.onmessage=function(c){b(new dX(c.data,gX(c.ports[0])))})};var hX=function(a){this.g=a},iX=function(a){var b=Object.create(null);(typeof a==="string"?[a]:a).forEach(function(c){if(c==="null")throw Error("Receiving from null origin not allowed without token verification. Please use NullOriginConnector.");b[c]=!0});return function(c){return b[c]===!0}};var kX=function(a){var b=a.destination;var c=a.Db;var d=a.origin;var e=a.je===void 0?"ZNWN1d":a.je;var f=a.onMessage===void 0?void 0:a.onMessage;a=a.df===void 0?void 0:a.df;return jX({destination:b,Ed:function(){return c.contentWindow},Tk:d instanceof hX?d:typeof d==="function"?new hX(d):new hX(iX(d)),je:e,onMessage:f,df:a})},jX=function(a){var b=a.destination;var c=a.Ed;var d=a.Tk;var e=a.vl===void 0?void 0:a.vl;var f=a.je;var g=a.onMessage===void 0?void 0:a.onMessage;var h=a.df===void 0?void 0: a.df;return new cX(new bX(function(k,l){var p=function(n){n.source&&n.source===c()&&d.g(n.origin)&&(n.data.n||n.data)===f&&(b.removeEventListener("message",p,!1),e&&n.data.t!==e?l(Error('Token mismatch while establishing channel "'+f+'". Expected '+e+", but received "+n.data.t+".")):(k(gX(n.ports[0],g)),h&&h(n)))};b.addEventListener("message",p,!1)}))};var mX=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 q=c.shift();if(typeof q=="undefined")throw Error("[goog.string.format] Not enough arguments");arguments[0]=q;return lX[l].apply(null,arguments)})},lX={s:function(a,b,c){return isNaN(c)||c==""||a.length>=Number(c)?a:a=b.indexOf("-",0)>-1? a+Yk(" ",Number(c)-a.length):Yk(" ",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+Yk(" ",a):f+Yk(b.indexOf("0",0)>=0?"0":" ",a)+d},d:function(a,b,c,d,e,f,g,h){return lX.f(parseInt(a, 10),b,c,d,0,f,g,h)}};lX.i=lX.d;lX.u=lX.d;var oX=function(a,b){U.call(this);b=(Gl()?"https:":"http:")+mX("//imasdk.googleapis.com/js/core/dai_iframe3.677.0_%s.html",b);b=new Xr(b);b.g.add("origin",window.location.origin);this.g=b;this.Db=Mr("IFRAME",{src:this.g.toString(),allowFullscreen:!0,style:"height: 100%; border: 0; margin: 0; padding: 0;position: relative; width: 100%; color-scheme: light",title:"Advertisement"});a.appendChild(this.Db);this.j=nX(this,this.Db);a={experimentIds:So().sort().join(",")};b=Ls;var c=c===void 0?null:c;var d= {};c!=null&&(d.activeViewPushUpdates=c);d.activityMonitorMode=0;d.adsToken=b.g;d.autoPlayAdBreaks=b.A;d.companionBackfill=b.getCompanionBackfill();d.cookiesEnabled=b.isCookiesEnabled();d.disableCustomPlaybackForIOS10Plus=b.getDisableCustomPlaybackForIOS10Plus();d.engagementDetection=!0;d.isFunctionalTest=!1;d.isVpaidAdapter=b.o;d["1pJar"]="";d.numRedirects=b.getNumRedirects();d.pageCorrelator=b.K;d.persistentStateCorrelator=Qm();d.playerType=b.getPlayerType();d.playerVersion=b.getPlayerVersion(); d.ppid=b.getPpid();d.privacyControls="";d.reportMediaRequests=!1;d.sessionId=b.D;d.streamCorrelator=b.U;d.testingConfig=Ks(b).g;d.urlSignals=b.ba;d.vpaidMode=b.j;d.featureFlags=b.getFeatureFlags();d.cookieDeprecationLabel="";d.cookieDeprecationLabelStatus=0;a.imaSdkSettings=d;a.topAccessiblePageUrl=$u();c=Jl();b=eg(Jp());d={};b=(d.experimentStateProto=Ph(b),d);a.genotypeExperimentData=b;a.pvsid=c;nM(this,"loaded",a);Bw(this.Db,{display:"none"})};t(oX,U); var pX=function(a){var b=a.g.j;return b?a.g.o+"://"+b:window.location.origin},nX=function(a,b){return kX({destination:window,Db:b,origin:pX(a),je:"uiChannel",onMessage:function(c){var d=c.data.type;c=c.data.data;c=c===void 0?{}:c;switch(d){case "iframeCreated":case "videoClicked":case "click":case "pause":case "resume":case "skip":case "skipShown":case "updateGfpCookie":case "videoIconClicked":case "vastIconRendered":a.dispatchEvent(new CS(d,c))}}})};oX.prototype.focus=function(){nM(this,"focus")}; oX.prototype.pause=function(){nM(this,"pause")};oX.prototype.resume=function(){nM(this,"resume")};var nM=function(a,b,c){c=c===void 0?{}:c;var d={};d.type=b;d.data=c;a.j.g(d)};var qX=function(a,b){R.call(this);this.j=a;this.g=b};t(qX,R);var iM=function(a){return{source:a.g.Db.contentWindow,target:a.j}};var rX=function(a,b,c){U.call(this);this.j=a;this.g=b;this.l=c};t(rX,U);var sX=function(a,b){switch(b.type){case "iframeCreated":b=b.data;var c,d=(c=a.j.Db.contentWindow)==null?void 0:c.frames[b];c=hM(a.l,a.g,new qX(d,a.j));kt(a,c);kM(c).then(function(){un(M.getInstance(),"ima_lsc");var e;(e=eM(a.g))==null||e.then(function(){un(M.getInstance(),"ima_csr")},function(){un(M.getInstance(),"ima_cmc")})});oM(c)}};rX.prototype.R=function(){var a;(a=this.g)!=null&&a.j&&(a.j.reject(),a.j=null);U.prototype.R.call(this)};Fr();var tX={},uX=(tX.play="play",tX.pause="pause",tX.seeked="seeked",tX.seeking="seeking",tX.stalled="stalled",tX.timeUpdate="timeUpdate",tX.volumeChange="volumeChange",tX),vX=function(a,b,c,d){U.call(this);var e=this;this.V=a;this.g=b;this.ad=c;this.l=d;this.j=new NH(this);kt(this,this.j);this.j.listen(this.V,Object.keys(uX),function(f){return void e.dispatchEvent(uX[f.type])})};t(vX,U); var pM=function(a){var b=a.g.Ta(),c=!0;b&&(c=b.duration0&&(Ro.reset(),To(new Xo(e)));if(a==null)throw Error("Media element must be provided.");var f;((f=a.tagName)==null?void 0: f.toUpperCase())!=="VIDEO"&&console.warn("Media element must be a