(function(){var p,ba=typeof Object.create=="function"?Object.create:function(a){var b=function(){};b.prototype=a;return new b},ca=typeof Object.defineProperties=="function"?Object.defineProperty:function(a,b,c){if(a==Array.prototype||a==Object.prototype)return a;a[b]=c.value;return a},da=function(a){a=["object"==typeof globalThis&&globalThis,a,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var b=0;b0;){var a=this.h.pop();if(a in this.j)return a}return null}; za.prototype.getNext=za.prototype.l; var Aa=function(a){this.h=new wa;this.j=a},Da=function(a,b){xa(a.h);var c=a.h.C;if(c)return Ba(a,"return"in c?c["return"]:function(d){return{value:d,done:!0}},b,a.h.return);a.h.return(b);return Ca(a)},Ba=function(a,b,c,d){try{var e=b.call(a.h.C,c);va(e);if(!e.done)return a.h.N=!1,e;var f=e.value}catch(g){return a.h.C=null,ya(a.h,g),Ca(a)}a.h.C=null;d.call(a.h,f);return Ca(a)},Ca=function(a){for(;a.h.l;)try{var b=a.j(a.h);if(b)return a.h.N=!1,{value:b.value,done:!1}}catch(c){a.h.j=void 0,ya(a.h,c)}a.h.N= !1;if(a.h.B){b=a.h.B;a.h.B=null;if(b.gj)throw b.Li;return{value:b.return,done:!0}}return{value:void 0,done:!0}},Ea=function(a){this.next=function(b){xa(a.h);a.h.C?b=Ba(a,a.h.C.next,b,a.h.P):(a.h.P(b),b=Ca(a));return b};this.throw=function(b){xa(a.h);if(a.h.C){var c=a.h.C["throw"];if(c)var d=Ba(a,c,b,a.h.P);else{b=a.h.C;a.h.C=null;try{b["return"]&&(d=b["return"](),va(d)),ya(a.h,new TypeError("The iterator does not provide a 'throw' method."))}catch(e){ya(a.h,e)}d=Ca(a)}}else ya(a.h,b),d=Ca(a);return d}; this.return=function(b){return Da(a,b)};this[Symbol.iterator]=function(){return this}},Fa=function(a){function b(d){return a.next(d)}function c(d){return a.throw(d)}return new Promise(function(d,e){function f(g){g.done?d(g.value):Promise.resolve(g.value).then(b,c).then(f,e)}f(a.next())})},A=function(a){return Fa(new Ea(new Aa(a)))},Ga=function(){for(var a=Number(this),b=[],c=a;c>>0)+"_",d=0,e=function(f){if(this instanceof e)throw new TypeError("Symbol is not a constructor");return new b(c+(f||"")+"_"+d++,f)};return e}); ha("Symbol.iterator",function(a){if(a)return a;a=Symbol("Symbol.iterator");ca(Array.prototype,a,{configurable:!0,writable:!0,value:function(){return Ha(qa(this))}});return a});var Ha=function(a){a={next:a};a[Symbol.iterator]=function(){return this};return a}; ha("Promise",function(a){function b(){this.h=null}function c(g){return g instanceof e?g:new e(function(h){h(g)})}if(a)return a;b.prototype.j=function(g){if(this.h==null){this.h=[];var h=this;this.l(function(){h.A()})}this.h.push(g)};var d=fa.setTimeout;b.prototype.l=function(g){d(g,0)};b.prototype.A=function(){for(;this.h&&this.h.length;){var g=this.h;this.h=[];for(var h=0;h=f}}); ha("String.prototype.endsWith",function(a){return a?a:function(b,c){var d=Ja(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 Ka=function(a,b){a instanceof String&&(a+="");var c=0,d=!1,e={next:function(){if(!d&&c1342177279)throw new RangeError("Invalid count value");b|=0;for(var d="";b;)if(b&1&&(d+=c),b>>>=1)c+=c;return d}});ha("Array.prototype.findIndex",function(a){return a?a:function(b,c){return Ia(this,b,c).ej}}); ha("String.prototype.padStart",function(a){return a?a:function(b,c){var d=Ja(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}});ha("Promise.prototype.finally",function(a){return a?a:function(b){return this.then(function(c){return Promise.resolve(b()).then(function(){return c})},function(c){return Promise.resolve(b()).then(function(){throw c;})})}}); ha("Promise.allSettled",function(a){function b(d){return{status:"fulfilled",value:d}}function c(d){return{status:"rejected",reason:d}}return a?a:function(d){var e=this;d=Array.from(d,function(f){return e.resolve(f).then(b,c)});return e.all(d)}});ha("Math.imul",function(a){return a?a:function(b,c){b=Number(b);c=Number(c);var d=b&65535,e=c&65535;return d*e+((b>>>16&65535)*e+d*(c>>>16&65535)<<16>>>0)|0}});ha("Math.sign",function(a){return a?a:function(b){b=Number(b);return b===0||isNaN(b)?b:b>0?1:-1}}); ha("Array.prototype.flatMap",function(a){return a?a:function(b,c){var d=[];Array.prototype.forEach.call(this,function(e,f,g){e=b.call(c,e,f,g);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 Ma=Ma||{},C=this||self,Oa=function(a,b){var c=Na("CLOSURE_FLAGS");a=c&&c[a];return a!=null?a:b},Na=function(a,b){a=a.split(".");b=b||C;for(var c=0;c>>0),Ta=0,Wa=function(a,b,c){return a.call.apply(a.bind,arguments)},Xa=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)}}, Ya=function(a,b,c){Ya=Function.prototype.bind&&Function.prototype.bind.toString().indexOf("native code")!=-1?Wa:Xa;return Ya.apply(null,arguments)},Za=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)}},D=function(a,b){a=a.split(".");for(var c=C,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.Sb=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.Wp=function(d,e,f){for(var g=Array(arguments.length-2),h=2;h255&&(b[c++]=e&255,e>>=8);b[c++]=e}return b}function rb(a){return Array.prototype.map.call(a,function(b){b=b.toString(16);return b.length>1?b:"0"+b}).join("")};function E(a){return/^[\s\xa0]*$/.test(a)}var sb=String.prototype.trim?function(a){return a.trim()}:function(a){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(a)[1]},tb=/&/g,ub=//g,wb=/"/g,xb=/'/g,yb=/\x00/g,zb=/[\x00&<>"']/;function Ab(a,b){return a.indexOf(b)!=-1}function Bb(a,b){return Ab(a.toLowerCase(),b.toLowerCase())} function Cb(a,b){var c=0;a=sb(String(a)).split(".");b=sb(String(b)).split(".");for(var d=Math.max(a.length,b.length),e=0;c==0&&eb?1:0};var Eb=Oa(610401301,!1),Fb=Oa(1331761403,!0),Hb=Oa(748402147,!0);function Ib(){var a=C.navigator;return a&&(a=a.userAgent)?a:""}var Jb,Kb=C.navigator;Jb=Kb?Kb.userAgentData||null:null;function Lb(a){if(!Eb||!Jb)return!1;for(var b=0;b0:!1}function Pb(){return Ob()?!1:Mb("Trident")||Mb("MSIE")}function Qb(){return Mb("Firefox")||Mb("FxiOS")}function Rb(){return Mb("Safari")&&!(Sb()||(Ob()?0:Mb("Coast"))||(Ob()?0:Mb("Opera"))||(Ob()?0:Mb("Edge"))||(Ob()?Lb("Microsoft Edge"):Mb("Edg/"))||(Ob()?Lb("Opera"):Mb("OPR"))||Qb()||Mb("Silk")||Mb("Android"))}function Sb(){return Ob()?Lb("Chromium"):(Mb("Chrome")||Mb("CriOS"))&&!(Ob()?0:Mb("Edge"))||Mb("Silk")};function Tb(){return Eb&&Jb&&Jb.platform?Jb.platform==="Android":Mb("Android")}function Ub(){return Mb("iPhone")&&!Mb("iPod")&&!Mb("iPad")}function Vb(){return Ub()||Mb("iPad")||Mb("iPod")};var Wb=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},Yb=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 $b=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 jc(a,b){return Wb(a,b)>=0}function kc(a,b){b=Wb(a,b);var c;(c=b>=0)&&lc(a,b);return c} function lc(a,b){return Array.prototype.splice.call(a,b,1).length==1}function mc(a,b){var c=0;Zb(a,function(d,e){b.call(void 0,d,e,a)&&lc(a,e)&&c++})}function nc(a){return Array.prototype.concat.apply([],arguments)}function oc(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("")} function Nc(a){if(Kc)return C.atob(a);var b="";Oc(a,function(c){b+=String.fromCharCode(c)});return b}function Pc(a){var b=[];Oc(a,function(c){b.push(c)});return b}function Qc(a){var b=a.length,c=b*3/4;c%3?c=Math.floor(c):Ab("=.",a[b-1])&&(c=Ab("=.",a[b-2])?c-2:c-1);var d=new Uint8Array(c),e=0;Oc(a,function(f){d[e++]=f});return e!==c?d.subarray(0,e):d} function Oc(a,b){function c(k){for(;d>4);g!=64&&(b(f<<4&240|g>>2),h!=64&&b(g<<6&192|h))}} function Mc(){if(!Ic){Ic={};for(var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),b=["+/=","+/","-_=","-_.","-_"],c=0;c<5;c++){var d=a.concat(b[c].split(""));Hc[c]=d;for(var e=0;e=b||(d[a]=c+1,a=Error(),ed(a,"incident"),nb(a))}};function id(){return typeof BigInt==="function"};var jd=typeof Symbol==="function"&&typeof Symbol()==="symbol";function kd(a,b,c){return typeof Symbol==="function"&&typeof Symbol()==="symbol"?(c===void 0?0:c)&&Symbol.for&&a?Symbol.for(a):a!=null?Symbol(a):Symbol():b}var ld=kd("jas",void 0,!0),md=kd(void 0,"0di"),nd=kd(void 0,"1oa"),od=kd(void 0,Symbol()),pd=kd(void 0,"0ubs"),qd=kd(void 0,"0ubsb"),rd=kd(void 0,"0actk"),sd=kd("m_m","qq",!0),vd=kd(void 0,"vps");var wd={Rl:{value:0,configurable:!0,writable:!0,enumerable:!1}},xd=Object.defineProperties,G=jd?ld:"Rl",yd,zd=[];Ad(zd,7);yd=Object.freeze(zd);function Bd(a,b){jd||G in a||xd(a,wd);a[G]|=b}function Ad(a,b){jd||G in a||xd(a,wd);a[G]=b}function Cd(a){if(4&a)return 512&a?512:1024&a?1024:0}function Dd(a){Bd(a,34);return a}function Ed(a){Bd(a,8192);return a}function Fd(a){Bd(a,32);return a};var Gd={};function Hd(a,b){return b===void 0?a.h!==Id&&!!(2&(a.I[G]|0)):!!(2&b)&&a.h!==Id}var Id={};function Jd(a,b){if(a!=null)if(typeof a==="string")a=a?new ad(a,Yc):cd();else if(a.constructor!==ad)if(Rc&&a!=null&&a instanceof Uint8Array)a=a.length?new ad(new Uint8Array(a),Yc):cd();else{if(!b)throw Error();a=void 0}return a}var Kd=function(a,b,c){this.h=a;this.j=b;this.l=c};Kd.prototype.next=function(){var a=this.h.next();a.done||(a.value=this.j.call(this.l,a.value));return a}; Kd.prototype[Symbol.iterator]=function(){return this};var Ld=Object.freeze({}),Md=Object.freeze({});function Nd(a,b,c){var d=b&128?0:-1,e=a.length,f;if(f=!!e)f=a[e-1],f=f!=null&&typeof f==="object"&&f.constructor===Object;var g=e+(f?-1:0);for(b=b&128?1:0;b=ie&&a<=je:a[0]==="-"?ke(a,le):ke(a,me)}),le=Number.MIN_SAFE_INTEGER.toString(),ie=ge?BigInt(Number.MIN_SAFE_INTEGER):void 0,me=Number.MAX_SAFE_INTEGER.toString(),je=ge?BigInt(Number.MAX_SAFE_INTEGER):void 0; function ke(a,b){if(a.length>b.length)return!1;if(a.lengthe)return!1;if(d>>0;pe=b;qe=(a-b)/4294967296>>>0}function te(a){if(a<0){se(0-a);var b=w(ue(pe,qe));a=b.next().value;b=b.next().value;pe=a>>>0;qe=b>>>0}else se(a)}function ve(a,b){var c=b*4294967296+(a>>>0);return Number.isSafeInteger(c)?c:we(a,b)}function xe(a,b){return he(id()?BigInt.asUintN(64,(BigInt(b>>>0)<>>0)):we(a,b))} function ye(a,b){return id()?he(BigInt.asIntN(64,(BigInt.asUintN(32,BigInt(b))<>>=0;a>>>=0;if(b<=2097151)var c=""+(4294967296*b+a);else id()?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+Ae(c)+Ae(a));return c}function Ae(a){a=String(a);return"0000000".slice(a.length)+a} function ze(a,b){b&2147483648?id()?a=""+(BigInt(b|0)<>>0)):(b=w(ue(a,b)),a=b.next().value,b=b.next().value,a="-"+we(a,b)):a=we(a,b);return a} function Be(a){if(a.length<16)te(Number(a));else if(id())a=BigInt(a),pe=Number(a&BigInt(4294967295))>>>0,qe=Number(a>>BigInt(32)&BigInt(4294967295));else{var b=+(a[0]==="-");qe=pe=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)),qe*=1E6,pe=pe*1E6+d,pe>=4294967296&&(qe+=Math.trunc(pe/4294967296),qe>>>=0,pe>>>=0);b&&(b=w(ue(pe,qe)),a=b.next().value,b=b.next().value,pe=a,qe=b)}}function ue(a,b){b=~b;a?a=~a+1:b+=1;return[a,b]};function Ce(a){return Array.prototype.slice.call(a)};var Ee=typeof BigInt==="function"?BigInt.asIntN:void 0,Fe=typeof BigInt==="function"?BigInt.asUintN:void 0,Ge=Number.isSafeInteger,He=Number.isFinite,Ie=Math.trunc;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 "+Pa(a)+": "+a);return a}function Le(a){if(a==null||typeof a==="boolean")return a;if(typeof a==="number")return!!a}var Me=/^-?([1-9][0-9]*|0)(\.[0-9]+)?$/; function Ne(a){switch(typeof a){case "bigint":return!0;case "number":return He(a);case "string":return Me.test(a);default:return!1}}function Oe(a){if(!He(a))throw gd("enum");return a|0}function Pe(a){return a==null?a:He(a)?a|0:void 0}function Qe(a){if(typeof a!=="number")throw gd("int32");if(!He(a))throw gd("int32");return a|0}function Ue(a){if(a==null)return a;if(typeof a==="string"&&a)a=+a;else if(typeof a!=="number")return;return He(a)?a|0:void 0} function Ve(a){if(a==null)return a;if(typeof a==="string"&&a)a=+a;else if(typeof a!=="number")return;return He(a)?a>>>0:void 0} function We(a){var b=void 0;b!=null||(b=1024);if(!Ne(a))throw gd("int64");var c=typeof a;switch(b){case 512:switch(c){case "string":return Xe(a);case "bigint":return String(Ee(64,a));default:return Ye(a)}case 1024:switch(c){case "string":return Ze(a);case "bigint":return he(Ee(64,a));default:return $e(a)}case 0:switch(c){case "string":return Xe(a);case "bigint":return he(Ee(64,a));default:return af(a)}default:throw Error("Unknown format requested type for int64");}} function bf(a){return a==null?a:We(a)}function cf(a){var b=a.length;if(a[0]==="-"?b<20||b===20&&a<="-9223372036854775808":b<19||b===19&&a<="9223372036854775807")return a;Be(a);return ze(pe,qe)}function af(a){a=Ie(a);if(!Ge(a)){te(a);var b=pe,c=qe;if(a=c&2147483648)b=~b+1>>>0,c=~c>>>0,b==0&&(c=c+1>>>0);b=ve(b,c);a=typeof b==="number"?a?-b:b:a?"-"+b:b}return a}function Ye(a){a=Ie(a);Ge(a)?a=String(a):(te(a),a=ze(pe,qe));return a} function Xe(a){var b=Ie(Number(a));if(Ge(b))return String(b);b=a.indexOf(".");b!==-1&&(a=a.substring(0,b));return cf(a)}function Ze(a){var b=Ie(Number(a));if(Ge(b))return he(b);b=a.indexOf(".");b!==-1&&(a=a.substring(0,b));return id()?he(Ee(64,BigInt(a))):he(cf(a))}function $e(a){return Ge(a)?he(af(a)):he(Ye(a))}function df(a){var b=typeof a;if(a==null)return a;if(b==="bigint")return he(Ee(64,a));if(Ne(a))return b==="string"?Ze(a):$e(a)} function ef(a){if(a==null)return a;var b=typeof a;if(b==="bigint")return String(Ee(64,a));if(Ne(a)){if(b==="string")return Xe(a);if(b==="number")return af(a)}} function ff(a){if(a==null)return a;var b=typeof a;if(b==="bigint")return String(Fe(64,a));if(Ne(a)){if(b==="string")return b=Ie(Number(a)),Ge(b)&&b>=0?a=String(b):(b=a.indexOf("."),b!==-1&&(a=a.substring(0,b)),a[0]==="-"?b=!1:(b=a.length,b=b<20?!0:b===20&&a<="18446744073709551615"),b||(Be(a),a=we(pe,qe))),a;if(b==="number")return a=Ie(a),a>=0&&Ge(a)||(te(a),a=ve(pe,qe)),a}}function gf(a){if(typeof a!=="string")throw Error();return a} function hf(a){if(a!=null&&typeof a!=="string")throw Error();return a}function jf(a){return a==null||typeof a==="string"?a:void 0}function kf(a,b,c,d){if(a!=null&&a[sd]===Gd)return a;if(!Array.isArray(a))return c?d&2?b[md]||(b[md]=lf(b)):new b:void 0;c=a[G]|0;d=c|d&32|d&2;d!==c&&Ad(a,d);return new b(a)}function lf(a){a=new a;Dd(a.I);return a}function mf(a,b,c){if(b)return Ke(a);var d;return(d=Le(a))!=null?d:c?!1:void 0} function nf(a,b,c){if(b)return gf(a);var d;return(d=jf(a))!=null?d:c?"":void 0};var of={};function pf(a){return a};var qf={},rf=function(){try{var a=function(){return ia(Map,[],this.constructor)};u(a,Map);tc(new a);return!1}catch(b){return!0}}(),sf=function(){this.h=new Map};p=sf.prototype;p.get=function(a){return this.h.get(a)};p.set=function(a,b){this.h.set(a,b);this.size=this.h.size;return this};p.delete=function(a){a=this.h.delete(a);this.size=this.h.size;return a};p.clear=function(){this.h.clear();this.size=this.h.size};p.has=function(a){return this.h.has(a)};p.entries=function(){return this.h.entries()}; p.keys=function(){return this.h.keys()};p.values=function(){return this.h.values()};p.forEach=function(a,b){return this.h.forEach(a,b)};sf.prototype[Symbol.iterator]=function(){return this.entries()};var tf=function(){if(rf)return Object.setPrototypeOf(sf.prototype,Map.prototype),Object.defineProperties(sf.prototype,{size:{value:0,configurable:!0,enumerable:!0,writable:!0}}),sf;var a=function(){return ia(Map,[],this.constructor)};u(a,Map);return a}();function uf(a){return a} var wf=function(a,b,c,d){c=c===void 0?uf:c;d=d===void 0?uf:d;var e=tf.call(this)||this;e.dd=a[G]|0;e.Wc=b;e.gf=c;e.Wj=e.Wc?vf:d;for(var f=0;f=g){var t=r-m,v=void 0;((v=b)!=null?v:b={})[t]=q}else f[r]=q}if(n)for(var y in n)h=n[y],h!= null&&(h=c(h,d))!=null&&(r=+y,q=void 0,l&&!Number.isNaN(r)&&(q=r+m)0?void 0:a===0?Pf||(Pf=[0,void 0]):[-a,void 0];case "string":return[0,a];case "object":return a}}function Uf(a,b){return Vf(a,b[0],b[1])}function H(a,b,c){return Vf(a,b,c,2048)} function Vf(a,b,c,d){d=d===void 0?0:d;if(a==null){var e=32;c?(a=[c],e|=128):a=[];b&&(e=e&-16760833|(b&1023)<<14)}else{if(!Array.isArray(a))throw Error("narr");e=a[G]|0;if(Hb&&1&e)throw Error("rfarr");2048&e&&!(2&e)&&Wf();if(e&256)throw Error("farr");if(e&64)return(e|d)!==e&&Ad(a,e|d),a;if(c&&(e|=128,c!==a[0]))throw Error("mid");a:{c=a;e|=64;var f=c.length;if(f){var g=f-1,h=c[g];if(h!=null&&typeof h==="object"&&h.constructor===Object){b=e&128?0:-1;g-=b;if(g>=1024)throw Error("pvtlmt");for(var k in h)f= +k,f1024)throw Error("spvt");e=e&-16760833|(k&1023)<<14}}}Ad(a,e|64|d);return a}function Wf(){if(Hb)throw Error("carr");hd(rd,5)};function Xf(a,b){if(typeof a!=="object")return a;if(Array.isArray(a)){var c=a[G]|0;return a.length===0&&c&1?void 0:Yf(a,c,b)}if(a!=null&&a[sd]===Gd)return Zf(a);if(a instanceof wf){b=a.dd;if(b&2)return a;if(!a.size)return;c=Dd(yf(a));if(a.Wc)for(a=0;a=f){var g=a[f];if(g!=null&&typeof g==="object"&&g.constructor===Object){c=g[b];var h=!0}else if(e===f)c=g;else return}else c=a[e];if(d&&c!=null){d=d(c);if(d==null)return d;if(!Object.is(d,c))return h?g[b]=d:a[e]=d,d}return c}},kg=function(a,b,c){dg(a);var d=a.I;jg(d,d[G]|0,b,c);return a}; function jg(a,b,c,d,e){var f=c+(e?0:-1),g=a.length-1;if(g>=1+(e?0:-1)&&f>=g){var h=a[g];if(h!=null&&typeof h==="object"&&h.constructor===Object)return h[c]=d,b}if(f<=g)return a[f]=d,b;if(d!==void 0){var k;g=((k=b)!=null?k:b=a[G]|0)>>14&1023||536870912;c>=g?d!=null&&(f={},a[g+(e?0:-1)]=(f[c]=d,f)):a[f]=d}return b}var lg=function(a){return a===Ld?2:4}; function mg(a,b,c,d,e,f){var g=a.I,h=g[G]|0;d=Hd(a,h)?1:d;e=!!e||d===3;d===2&&cg(a)&&(g=a.I,h=g[G]|0);a=ng(g,b,f);var k=a===yd?7:a[G]|0,l=og(k,h);var m=4&l?!1:!0;if(m){4&l&&(a=Ce(a),k=0,l=pg(l,h),h=jg(g,h,b,a,f));for(var n=0,r=0;n>>=0}return wg(a,b,c,0)},jh=function(a,b,c){return wg(a,b,bf(c),"0")},kh=function(a,b,c){return kg(a,b,hf(c))},lh=function(a,b,c){return wg(a,b,Jd(c,!1),cd())},mh=function(a,b,c){return kg(a,b,c==null?c:Oe(c))},nh=function(a,b,c){return wg(a,b,c==null?c:Oe(c),0)},oh=function(a,b,c,d){return Ag(a,b,c,d==null?d:Oe(d))};var ph=function(a,b,c){this.buffer=a;if(c&&!b)throw Error();this.h=b}; function qh(a,b){if(typeof a==="string")return new ph(Xc(a),b);if(Array.isArray(a))return new ph(new Uint8Array(a),b);if(a.constructor===Uint8Array)return new ph(a,!1);if(a.constructor===ArrayBuffer)return a=new Uint8Array(a),new ph(a,!1);if(a.constructor===ad)return b=dd(a)||new Uint8Array(0),new ph(b,!0,a);if(a instanceof Uint8Array)return a=a.constructor===Uint8Array?a:new Uint8Array(a.buffer,a.byteOffset,a.byteLength),new ph(a,!1);throw Error();};var rh=function(a,b,c,d){this.j=null;this.A=!1;this.h=this.l=this.o=0;this.init(a,b,c,d)};rh.prototype.init=function(a,b,c,d){var e=d===void 0?{}:d;d=e.bg;e=e.Fh;e=e===void 0?!1:e;this.bg=d===void 0?!1:d;this.Fh=e;a&&(a=qh(a,this.Fh),this.j=a.buffer,this.A=a.h,this.o=b||0,this.l=c!==void 0?this.o+c:this.j.length,this.h=this.o)};rh.prototype.clear=function(){this.j=null;this.A=!1;this.h=this.l=this.o=0;this.bg=!1};rh.prototype.reset=function(){this.h=this.o}; var th=function(a,b){var c=0,d=0,e=0,f=a.j,g=a.h;do{var h=f[g++];c|=(h&127)<32)for(d|=(h&127)>>4,e=3;e<32&&h&128;e+=7)h=f[g++],d|=(h&127)<>>0,d>>>0);throw Error();},sh=function(a,b){a.h=b;if(b>a.l)throw Error();},uh=function(a){var b=a.j,c=a.h,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 Error();sh(a,c);return e},vh=function(a){var b=a.j,c=a.h,d=b[c+0],e=b[c+1],f=b[c+2];b=b[c+3];sh(a,a.h+4);return(d<<0|e<<8|f<<16|b<<24)>>>0},wh=function(a){for(var b=0,c=a.h,d=c+10,e=a.j;ca.l)throw Error();a.h=b;return c},yh=function(a,b){if(b==0)return cd();var c=xh(a,b);a.bg&&a.A?c=a.j.subarray(c,c+b):(a=a.j,b=c+b,c=c===b?new Uint8Array(0): oe?a.slice(c,b):new Uint8Array(a.subarray(c,b)));return c.length==0?cd():new ad(c,Yc)},zh=[];var Ah=0,Ch=function(a,b,c,d){if(zh.length){var e=zh.pop();e.init(a,b,c,d);a=e}else a=new rh(a,b,c,d);this.h=a;this.o=this.h.h;this.j=this.l=-1;Bh(this,d)},Bh=function(a,b){b=(b===void 0?{}:b).Ci;a.Ci=b===void 0?!1:b},Eh=function(a,b,c,d){if(Dh.length){var e=Dh.pop();Bh(e,d);e.h.init(a,b,c,d);return e}return new Ch(a,b,c,d)},Fh=function(a){a.h.clear();a.l=-1;a.j=-1;Dh.length<100&&Dh.push(a)};Ch.prototype.reset=function(){this.h.reset();this.o=this.h.h;this.j=this.l=-1}; var Gh=function(a){var b=a.h;if(b.h==b.l)return!1;a.o=a.h.h;var c=uh(a.h)>>>0;b=c>>>3;c&=7;if(!(c>=0&&c<=5))throw Error();if(b<1)throw Error();a.l=b;a.j=c;return!0},Hh=function(){if(Ah>=100)throw new SyntaxError;Ah++},Ih=function(a){try{switch(a.j){case 0:a.j!=0?Ih(a):wh(a.h);break;case 1:var b=a.h;sh(b,b.h+8);break;case 2:if(a.j!=2)Ih(a);else{var c=uh(a.h)>>>0,d=a.h;sh(d,d.h+c)}break;case 5:var e=a.h;sh(e,e.h+4);break;case 3:Hh();var f=a.l;try{do{if(!Gh(a))throw Error();if(a.j==4){if(a.l!=f)throw Error(); break}Ih(a)}while(1)}catch(g){if(g instanceof RangeError)throw new SyntaxError;throw g;}finally{Ah>0&&Ah--}break;default:throw Error();}}catch(g){if(g instanceof RangeError)throw new SyntaxError;throw g;}},Jh=function(a,b,c){var d=a.h.l,e=uh(a.h)>>>0;e=a.h.h+e;var f=e-d;f<=0&&(a.h.l=e,c(b,a,void 0,void 0,void 0),f=e-a.h.h);if(f)throw Error();a.h.h=e;a.h.l=d},Kh=function(a){var b=uh(a.h)>>>0;a=a.h;var c=xh(a,b);a=a.j;if(ib){var d=a,e;(e=gb)||(e=gb=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(fb===void 0){try{e.decode(new Uint8Array([128]))}catch(m){}try{e.decode(new Uint8Array([97])),fb=!0}catch(m){fb=!1}}!fb&&(gb=void 0);throw l;}}else{f=c;b=f+b;c=[];for(var g=null,h,k;f=b?db():(k=a[f++],h<194||(k&192)!==128?(f--,db()):c.push((h&31)<<6|k&63)):h<240?f>=b-1?db():(k=a[f++],(k&192)!==128||h===224&&k<160||h===237&&k>=160||((e=a[f++])&192)!==128?(f--,db()):c.push((h&15)<<12|(k&63)<<6|e&63)): h<=244?f>=b-2?db():(k=a[f++],(k&192)!==128||(h<<28)+(k-144)>>30!==0||((e=a[f++])&192)!==128||((d=a[f++])&192)!==128?(f--,db()):(h=(h&7)<<18|(k&63)<<12|(e&63)<<6|d&63,h-=65536,c.push((h>>10&1023)+55296,(h&1023)+56320))):db(),c.length>=8192&&(g=eb(g,c),c.length=0);f=eb(g,c)}return f},Dh=[];var Lh=function(a,b){this.j=a>>>0;this.h=b>>>0},Nh=function(a){if(!a)return Mh||(Mh=new Lh(0,0));if(!/^\d+$/.test(a))return null;Be(a);return new Lh(pe,qe)},Oh=function(a){return new Lh(a&4294967295,Math.floor(a/4294967296))},Mh,Ph=function(a,b){this.j=a>>>0;this.h=b>>>0},Rh=function(a){if(!a)return Qh||(Qh=new Ph(0,0));if(!/^-?\d+$/.test(a))return null;Be(a);return new Ph(pe,qe)},Sh=function(a){return new Ph(a&4294967295,Math.floor(a/4294967296))},Qh,Th,Uh,Vh,Wh,Xh,Yh,Zh; function $h(a,b,c){if(typeof BigInt64Array!=="undefined")return Yh||(Yh=new BigInt64Array(1),Zh=new Uint32Array(Yh.buffer),Yh[0]=BigInt(1),Xh=Zh[0]===1),Yh[0]=a,a=Xh?0:1,new b(Zh[a],Zh[1-a]);Wh||(Th=BigInt(Number.MIN_SAFE_INTEGER),Uh=BigInt(Number.MAX_SAFE_INTEGER),Vh=BigInt(4294967295),Wh=BigInt(32));if(a>=Th&&a<=Uh)return c(Number(a));a=BigInt.asUintN(64,a);return new b(Number(a&Vh),Number(a>>Wh))};var ai=function(){this.h=[]};ai.prototype.length=function(){return this.h.length};ai.prototype.end=function(){var a=this.h;this.h=[];return a}; var bi=function(a,b,c){for(;c>0||b>127;)a.h.push(b&127|128),b=(b>>>7|c<<25)>>>0,c>>>=7;a.h.push(b)},ci=function(a,b){for(;b>127;)a.h.push(b&127|128),b>>>=7;a.h.push(b)},di=function(a,b){if(b>=0)ci(a,b);else{for(var c=0;c<9;c++)a.h.push(b&127|128),b>>=7;a.h.push(1)}},ei=function(a,b){a.h.push(b>>>0&255);a.h.push(b>>>8&255);a.h.push(b>>>16&255);a.h.push(b>>>24&255)};var fi=function(){this.l=[];this.j=0;this.h=new ai},gi=function(a,b){b.length!==0&&(a.l.push(b),a.j+=b.length)},ii=function(a,b){hi(a,b,2);b=a.h.end();gi(a,b);b.push(a.j);return b},ji=function(a,b){var c=b.pop();for(c=a.j+a.h.length()-c;c>127;)b.push(c&127|128),c>>>=7,a.j++;b.push(c);a.j++},hi=function(a,b,c){ci(a.h,b*8+c)},ki=function(a,b,c){hi(a,b,2);ci(a.h,c.length);gi(a,a.h.end());gi(a,c)};function li(){var a=function(){throw Error();};Object.setPrototypeOf(a,a.prototype);return a}var mi=li(),oi=li(),pi=li(),qi=li(),ri=li(),si=li(),ti=li(),ui=li(),vi=li(),wi=li(),xi=li();var K=function(a,b,c){this.I=H(a,b,c)};K.prototype.toJSON=function(){return Nf(this)};K.prototype.ia=function(a){return JSON.stringify(Nf(this,a))};K.prototype.clone=function(){var a=this.I,b=a[G]|0;return bg(this,a,b)?ag(this,a,!0):new this.constructor($f(a,b,!1))};K.prototype[sd]=Gd;K.prototype.toString=function(){return this.I.toString()};var yi=function(a,b,c){this.h=a;this.j=b;a=$a(mi);this.l=!!a&&c===a||!1};function zi(a){var b=Ai;var c=c===void 0?mi:c;return new yi(a,b,c)}function Ai(a,b,c,d,e){b=Bi(b,d);b!=null&&(c=ii(a,c),e(b,a),ji(a,c))}var Ci=zi(function(a,b,c,d,e){if(a.j!==2)return!1;Jh(a,Eg(b,d,c),e);return!0}),Di=zi(function(a,b,c,d,e){if(a.j!==2)return!1;Jh(a,Eg(b,d,c),e);return!0}),Ei=Symbol(),Fi=Symbol(),Gi=Symbol(),Hi=Symbol(),Ii=Symbol(),Ji,Ki; function Li(a,b,c,d){var e=d[a];if(e)return e;e={};e.el=d;e.ie=Qf(d[0]);var f=d[1],g=1;f&&f.constructor===Object&&(e.L=f,f=d[++g],typeof f==="function"&&(e.hj=!0,Ji!=null||(Ji=f),Ki!=null||(Ki=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;k0&&Ah--}I=void 0}return I};a[Gi]=b;a[Ii]=Ti.bind(a);return b} function Ti(a,b,c,d){var e=this[Fi],f=this[Gi],g=Uf(void 0,e.ie),h=Df(a);if(h){var k=!1,l=e.L;if(l){e=function(t,v,y){if(y.length!==0)if(l[v]){t=w(y);v=t.next();var z;try{for(;!v.done;v=t.next()){var B=Eh(v.value);try{k=!0,f(g,B)}finally{Fh(B)}}}finally{v&&!v.done&&(z=t.return)&&z.call(t)}}else d==null||d(a,v,y)};if(b==null)Ff(h,e);else if(h!=null){var m=h[b];m&&e(h,b,m)}if(k){var n=a[G]|0;if(n&2&&n&2048&&(c==null||!c.wq))throw Error();var r=n&128?Od:void 0,q=function(t,v){if(hg(a,t,r)!=null)switch(c== null?void 0:c.vq){case 1:return;default:throw Error();}v!=null&&(n=jg(a,n,t,v,r));delete h[t]};b==null?Nd(g,g[G]|0,function(t,v){q(t,v)}):q(b,hg(g,b,r))}}}}function Qi(a){a=Mi(a);var b=a[0].h;if(a=a[1]){var c=Pi(a),d=Li(Fi,Ni,Oi,a).ie;return function(e,f,g){return b(e,f,g,d,c)}}return b};function Ui(a,b,c){a[b]=c.j}function Vi(a,b,c,d){var e,f,g=c.j;a[b]=function(h,k,l){return g(h,k,l,f||(f=Li(Ei,Ui,Vi,d).ie),e||(e=Wi(d)))}}function Wi(a){var b=a[Hi];if(!b){var c=Li(Ei,Ui,Vi,a);b=function(d,e){return Xi(d,e,c)};a[Hi]=b}return b}function Xi(a,b,c){Nd(a,a[G]|0,function(d,e){if(e!=null){var f=Yi(c,d);f?f(b,e,d):d<500||hd(qd,3)}});(a=Df(a))&&Ff(a,function(d,e,f){gi(b,b.h.end());for(d=0;d>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)}ki(a,c,b)}}function ej(a,b,c){b=Ve(b);b!=null&&b!=null&&(hi(a,c,0),ci(a.h,b))}function fj(a,b,c){b=Ue(b);b!=null&&(b=parseInt(b,10),hi(a,c,0),di(a.h,b))} var gj=$i(function(a,b,c){if(a.j!==1)return!1;var d=a.h;a=vh(d);var e=vh(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);aj(b,c,a===0?void 0:a);return!0},function(a,b,c){b=Je(b);b!=null&&(hi(a,c,1),a=a.h,c=re||(re=new DataView(new ArrayBuffer(8))),c.setFloat64(0,+b,!0),pe=c.getUint32(0,!0),qe=c.getUint32(4,!0),ei(a,pe),ei(a,qe))},vi),hj=$i(function(a,b,c){if(a.j!==5)return!1;var d=vh(a.h);a=(d>>31)* 2+1;var e=d>>>23&255;d&=8388607;aj(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&&(hi(a,c,5),a=a.h,c=re||(re=new DataView(new ArrayBuffer(8))),c.setFloat32(0,+b,!0),qe=0,pe=c.getUint32(0,!0),ei(a,pe))},ui),ij=$i(function(a,b,c){a.j!==0?a=!1:(aj(b,c,th(a.h,ye)),a=!0);return a},bj,si),jj=$i(function(a,b,c){a.j!==0?b=!1:(a=th(a.h,ye),aj(b,c,a===Zi?void 0:a),b=!0);return b},bj,si),kj=$i(function(a,b,c){a.j!==0?a=!1: (aj(b,c,th(a.h,xe)),a=!0);return a},function(a,b,c){b=ff(b);if(b!=null){switch(typeof b){case "string":Nh(b)}if(b!=null)switch(hi(a,c,0),typeof b){case "number":a=a.h;te(b);bi(a,pe,qe);break;case "bigint":c=$h(b,Lh,Oh);bi(a.h,c.j,c.h);break;default:c=Nh(b),bi(a.h,c.j,c.h)}}},ti),lj=$i(function(a,b,c){if(a.j!==0)return!1;aj(b,c,uh(a.h));return!0},cj,qi),mj=$i(function(a,b,c){if(a.j!==0)return!1;a=uh(a.h);aj(b,c,a===0?void 0:a);return!0},cj,qi),nj=$i(function(a,b,c){if(a.j!==0)return!1;aj(b,c,wh(a.h)); return!0},function(a,b,c){b=Le(b);b!=null&&(hi(a,c,0),a.h.h.push(b?1:0))},oi),oj=$i(function(a,b,c){if(a.j!==2)return!1;a=Kh(a);aj(b,c,a===""?void 0:a);return!0},dj,pi),pj=$i(function(a,b,c){if(a.j!==2)return!1;aj(b,c,Kh(a));return!0},dj,pi),qj,rj=void 0;rj=rj===void 0?mi:rj; qj=new yi(function(a,b,c,d,e){if(a.j!==2)return!1;d=Uf(void 0,d);xg(b,b[G]|0,c).push(d);Jh(a,d,e);return!0},function(a,b,c,d,e){if(Array.isArray(b)){for(var f=0;f>>0;a=yh(a.h,d);aj(b,c,a===cd()?void 0:a);return!0},function(a,b,c){b=b==null||typeof b=="string"||b instanceof ad?b:void 0;b!=null&&ki(a,c,qh(b,!0).buffer)},wi),tj=$i(function(a,b,c){if(a.j!==0)return!1;aj(b,c,uh(a.h)>>>0);return!0},ej,ri),uj=$i(function(a,b,c){if(a.j!==0)return!1;a=uh(a.h)>>>0;aj(b,c,a===0?void 0:a);return!0},ej,ri),vj=$i(function(a,b,c){if(a.j!==0)return!1;aj(b,c,uh(a.h));return!0},fj,xi),wj; wj=new yi(function(a,b,c){if(a.j!==0&&a.j!==2)return!1;b=xg(b,b[G]|0,c);if(a.j==2)for(c=uh(a.h)>>>0,c=a.h.h+c;a.h.h")!=-1&&(a=a.replace(vb,">")),a.indexOf('"')!=-1&&(a=a.replace(wb,""")),a.indexOf("'")!=-1&&(a=a.replace(xb,"'")),a.indexOf("\x00")!=-1&&(a=a.replace(yb,"�")));return a},Ck=function(a){var b={"&":"&","<":"<",">":">",""":'"'};var c=C.document.createElement("div");return a.replace(Bk, 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=tk(d+" "),c.nodeType===1&&xk(c),c.innerHTML=uk(f),f=c.firstChild.nodeValue.slice(0,-1));return b[d]=f})},Dk=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)}})},Bk=/&([^;\s<&]+);?/g, Ek=function(a,b){a.length>b&&(a=a.substring(0,b-3)+"...");return a},Fk=String.prototype.repeat?function(a,b){return a.repeat(b)}:function(a,b){return Array(b+1).join(a)},Gk=function(a){return a==null?"":String(a)},Hk=function(a){return String(a).replace(/\-([a-z])/g,function(b,c){return c.toUpperCase()})},Ik=function(){return"googleAvInapp".replace(/([A-Z])/g,"-$1").toLowerCase()},Jk=function(a){return a.replace(RegExp("(^|[\\s]+)([a-z])","g"),function(b,c,d){return c+d.toUpperCase()})};function Kk(a){var b,c;return(c=(b=/https?:\/\/[^\/]+/.exec(a))==null?void 0:b[0])!=null?c:""}function Lk(){try{for(var a=C,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}var Mk=Sj(function(){return Vj()?2:Wj()?1:0});function Nk(){if(!globalThis.crypto)return Math.random();try{var a=new Uint32Array(1);globalThis.crypto.getRandomValues(a);return a[0]/65536/65536}catch(b){return Math.random()}};var Ok,Pk=64;function Qk(){try{return Ok!=null||(Ok=new Uint32Array(64)),Pk>=64&&(crypto.getRandomValues(Ok),Pk=0),Ok[Pk++]}catch(a){return Math.floor(Math.random()*4294967296)}};function Rk(a){var b=window;if(!Ud(b.goog_pvsid))try{var c=Qk()+(Qk()&2097151)*4294967296;Object.defineProperty(b,"goog_pvsid",{value:c,configurable:!1})}catch(d){a.Lb({methodName:784,hd:d})}b=Number(b.goog_pvsid);(!b||b<=0)&&a.Lb({methodName:784,hd:Error("Invalid correlator, "+b)});return b||-1};function Sk(a,b){var c=b.createRange();c.selectNode(b.body);a=tk(a);return c.createContextualFragment(uk(a))};function Tk(a){a=a.nodeName;return typeof a==="string"?a:"FORM"}function Uk(a){a=a.nodeType;return a===1||typeof a!=="number"};var Vk="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(" "), Wk=[["A",new Map([["href",{Ha:7}]])],["AREA",new Map([["href",{Ha:7}]])],["LINK",new Map([["href",{Ha: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",{Ha:5}],["srcset",{Ha:6}]])],["IMG",new Map([["src",{Ha:5}],["srcset",{Ha:6}]])],["VIDEO",new Map([["src",{Ha:5}]])],["AUDIO",new Map([["src",{Ha:5}]])]],Xk="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 cite color cols colspan controls controlslist coords crossorigin datetime disabled download draggable enctype face formenctype frameborder height hreflang hidden inert ismap label lang loop max maxlength media minlength min multiple muted nonce open playsinline placeholder preload rel required reversed role rows rowspan selected shape size sizes slot span spellcheck start step summary translate type usemap valign value width wrap itemscope itemtype itemid itemprop itemref".split(" "), Yk=[["dir",{Ha:3,conditions:Xj(function(){return new Map([["dir",new Set(["auto","ltr","rtl"])]])})}],["async",{Ha:3,conditions:Xj(function(){return new Map([["async",new Set(["async"])]])})}],["loading",{Ha:3,conditions:Xj(function(){return new Map([["loading",new Set(["eager","lazy"])]])})}],["poster",{Ha:5}],["target",{Ha:3,conditions:Xj(function(){return new Map([["target",new Set(["_self","_blank"])]])})}]],Zk=new function(){var a=new Set(Xk),b=new Map(Yk),c=new Map(Wk);this.j=new Set(Vk);this.h= c;this.l=a;this.o=b};var $k=function(){this.h=Zk},wl=function(a,b){var c=al;a=Sk(a,b);a=document.createTreeWalker(a,5,function(h){if(h.nodeType===3)h=1;else if(Uk(h))if(h=Tk(h),h===null)h=2;else{var k=c.h;h=h!=="FORM"&&(k.j.has(h)||k.h.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(Uk(d))g=vl(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},vl=function(a,b,c){var d=Tk(b);c=c.createElement(d);b=b.attributes;var e=w(b),f=e.next(),g;try{for(;!f.done;f=e.next()){var h=f.value,k=h.name,l=h.value;var m=a.h,n=m.h.get(d);if(n==null?0:n.has(k))var r=n.get(k);else if(m.l.has(k))r={Ha:1};else{var q=m.o.get(k);r=q?q:{Ha:0}}var t=r;a:{var v=void 0,y=void 0,z=t.conditions;if(z){var B=w(z),F=B.next();try{for(;!F.done;F=B.next()){v=w(F.value);var I=v.next().value,M=v.next().value,Q=void 0,U=(Q=b.getNamedItem(I))== null?void 0:Q.value;if(U&&!M.has(U)){var ea=!1;break a}}}finally{F&&!F.done&&(y=B.return)&&y.call(B)}}ea=!0}if(ea)switch(t.Ha){case 1:xl(c,k,l);break;case 2:throw Error();case 3:xl(c,k,l.toLowerCase());break;case 4:xl(c,k,l);break;case 5:xl(c,k,l);break;case 6:xl(c,k,l);break;case 7:v=t=l;a:if(y=void 0,Q=v,ok){try{y=new URL(Q)}catch(pa){var Y="https:";break a}Y=y.protocol}else b:{var Z=document.createElement("a");try{Z.href=Q}catch(pa){Y=void 0;break b}var aa=Z.protocol;Y=aa===":"||aa===""?"https:": aa}t=Y!==void 0&&pk.indexOf(Y.toLowerCase())!==-1?v:"about:invalid#zClosurez";xl(c,k,t)}}}finally{f&&!f.done&&(g=e.return)&&g.call(e)}return c};function xl(a,b,c){a.setAttribute(b,c)}var al=Xj(function(){return new $k});function yl(a){var b=a.split(/[?#]/),c=/[?]/.test(a)?"?"+b[1]:"";return{Jh:b[0],params:c,fragment:/[#]/.test(a)?"#"+(c?b[2]:b[1]):""}}function zl(a){var b=Ga.apply(1,arguments);if(b.length===0)return dk(a[0]);for(var c=a[0],d=0;d2&&im(a,d,b,2);return d},im=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(Ra(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}Yb(g?oc(f):f,e)}}},hm=function(a,b){b=String(b);a.contentType==="application/xhtml+xml"&&(b=b.toLowerCase());return a.createElement(b)},jm=function(a,b){im($l(a),a,arguments,1)},km=function(a){return a.children!=void 0?a.children:Array.prototype.filter.call(a.childNodes, function(b){return b.nodeType==1})},lm=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},$l=function(a){return a.nodeType==9?a:a.ownerDocument||a.document},mm=function(a){try{return a.contentWindow||(a.contentDocument?em(a.contentDocument):null)}catch(b){}return null},nm={SCRIPT:1,STYLE:1,HEAD:1,IFRAME:1,OBJECT:1},om={IMG:" ", BR:"\n"},qm=function(a){var b=[];pm(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},pm=function(a,b,c){if(!(a.nodeName in nm))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 om)b.push(om[a.nodeName]);else for(a=a.firstChild;a;)pm(a,b,c),a=a.nextSibling},rm=function(a,b){a&&(a=a.parentNode);for(var c=0;a;){if(b(a))return a; a=a.parentNode;c++}return null},Zl=function(a){this.h=a||C.document||document};Zl.prototype.getElementsByTagName=function(a,b){return(b||this.h).getElementsByTagName(String(a))};Zl.prototype.j=function(a,b,c){return fm(this.h,arguments)};var sm=function(a){var b=a.h;a=b.scrollingElement?b.scrollingElement:xc||b.compatMode!="CSS1Compat"?b.body||b.documentElement:b.documentElement;b=b.defaultView;return new Gl((b==null?void 0:b.pageXOffset)||a.scrollLeft,(b==null?void 0:b.pageYOffset)||a.scrollTop)}; Zl.prototype.appendChild=function(a,b){a.appendChild(b)};Zl.prototype.append=jm;Zl.prototype.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}; Zl.prototype.contains=lm;function tm(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.left=d}p=tm.prototype;p.getWidth=function(){return this.right-this.left};p.getHeight=function(){return this.bottom-this.top};p.clone=function(){return new tm(this.top,this.right,this.bottom,this.left)};p.contains=function(a){return this&&a?a instanceof tm?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}; p.expand=function(a,b,c,d){Ra(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 um=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};tm.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}; tm.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};tm.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 vm=function(a,b,c){b instanceof Gl?(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};function wm(a,b,c,d){this.left=a;this.top=b;this.width=c;this.height=d}wm.prototype.clone=function(){return new wm(this.left,this.top,this.width,this.height)}; var xm=function(a){return new tm(a.top,a.left+a.width,a.top+a.height,a.left)},ym=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},zm=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 wm(c,e,d-c,a-e)}return null}; wm.prototype.contains=function(a){return a instanceof Gl?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};wm.prototype.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}; wm.prototype.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};wm.prototype.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};var Bm=function(a,b){if(typeof b==="string")Am(a,void 0,b);else for(var c in b)Am(a,b[c],c)},Cm=/^--.+/,Am=function(a,b,c){var d=Dm[c];if(!d){var e=Hk(c);d=e;a.style[e]===void 0&&(e=(xc?"Webkit":wc?"Moz":null)+Jk(e),a.style[e]!==void 0&&(d=e));Dm[c]=d}(c=d)&&(Cm.test(c)?a.style.setProperty(c,b):a.style[c]=b)},Dm={},Em=function(a){try{return a.getBoundingClientRect()}catch(b){return{left:0,top:0,right:0,bottom:0}}},Fm=function(a,b){var c=new Gl(0,0),d=em($l(a));if(!uc(d,"parent"))return c;do{if(d== b){var e=$l(a);var f=new Gl(0,0);if(a!=(e?$l(e):document).documentElement){var g=Em(a);e=sm(am(e));f.x=g.left+e.x;f.y=g.top+e.y}}else f=Em(a),f=new Gl(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},Gm=function(){var a="100%";typeof a=="number"&&(a=Math.round(a)+"px");return a},Hm=function(a){var b=a.offsetWidth,c=a.offsetHeight,d=xc&&!b&&!c;return(b===void 0||d)&&a.getBoundingClientRect?(a=Em(a),new Hl(a.right-a.left,a.bottom-a.top)):new Hl(b, c)};var Im=Sj(function(){var a=!1;try{var b=Object.defineProperty({},"passive",{get:function(){a=!0}});C.addEventListener("test",null,b)}catch(c){}return a});function Jm(a){return a?a.passive&&Im()?a:a.capture||!1:!1}function Km(a,b,c,d){return typeof a.addEventListener==="function"?(a.addEventListener(b,c,Jm(d)),!0):!1}function Lm(a,b,c){typeof a.removeEventListener==="function"&&a.removeEventListener(b,c,Jm())};function Mm(a,b,c,d,e){Nm(a,b,c===void 0?null:c,d===void 0?!1:d,e===void 0?!1:e)}function Nm(a,b,c,d,e){e=e===void 0?!1:e;a.google_image_requests||(a.google_image_requests=[]);var f=El("IMG",a.document);if(c||d){var g=function(h){c&&c(h);d&&kc(a.google_image_requests,f);Lm(f,"load",g);Lm(f,"error",g)};Km(f,"load",g);Km(f,"error",g)}e&&(f.attributionSrc="");f.src=b;a.google_image_requests.push(f)} function Om(a){var b=b===void 0?!1:b;var c;if(c=C.navigator)c=C.navigator.userAgent,c=/Chrome/.test(c)&&!/Edge/.test(c)?!0:!1;c&&typeof C.navigator.sendBeacon==="function"?C.navigator.sendBeacon(a):Mm(C,a,void 0,b)}function Pm(a,b){var c=c===void 0?!1:c;var d="https://pagead2.googlesyndication.com/pagead/gen_204?id="+b;Oj(a,function(e,f){if(e||e===0)d+="&"+f+"="+encodeURIComponent(String(e))});Qm(d,c)} function Qm(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)):Mm(c,a,void 0,b,d)};function Rm(a,b){try{var c=function(d){var e={};return[(e[d.Dh]=d.ah,e)]};return JSON.stringify([a.filter(function(d){return d.nf}).map(c),Nf(b),a.filter(function(d){return!d.nf}).map(c)])}catch(d){return Sm(d,b),""}}function Sm(a,b){try{Pm({m:Nj(a instanceof Error?a:Error(String(a))),b:Xg(b,1)||null,v:Wg(b,2)||null},"rcs_internal")}catch(c){}} var Tm=function(a,b,c){this.B=c;c=new Kj;a=nh(c,1,a);this.l=wg(a,2,hf(b),"")},Um=function(a){if(a.B){var b=a.l,c=[],d=c.concat,e=Set,f=[],g=f.concat;var h=Yg(a.l,3);c=d.call(c,x(new e(g.call(f,x(h),x(a.B())))));vg(b,3,c,Qe)}a=a.l;b=a.I;c=b[G]|0;return Hd(a,c)?a:bg(a,b,c)?ag(a,b):new a.constructor($f(b,c,!0))}; function Vm(a){var b=new CompressionStream("gzip"),c=(new Response(b.readable)).arrayBuffer(),d=b.writable.getWriter(),e=typeof a==="string"?(new TextEncoder).encode(a):a;return d.ready.then(function(){return d.write(e)}).then(function(){return d.close()}).then(function(){return c}).then(function(f){return new Uint8Array(f)})};var Wm=function(a){this.I=H(a)};u(Wm,K);var Xm=function(a){this.I=H(a)};u(Xm,K);var Ym=function(a,b){return nh(a,1,b)},Zm=function(a,b){return nh(a,2,b)};var $m=function(a){this.I=H(a)};u($m,K);var an=[1,2];var bn=function(a){this.I=H(a)};u(bn,K);var cn=function(a,b){return Mg(a,1,b)},dn=function(a,b){return Og(a,2,b)},en=function(a,b){return vg(a,4,b,Qe)},fn=function(a,b){return Og(a,5,b)},gn=function(a,b){return nh(a,6,b)};var hn=function(a){this.I=H(a)};u(hn,K);var jn=[1,2,3,4,6,7];var kn=function(a){this.I=H(a)};u(kn,K);var ln=function(a){this.I=H(a)};u(ln,K);var mn=[2,3,4];var nn=function(a){this.I=H(a)};u(nn,K);var on=[3,4,5],pn=[6,7];var qn=function(a){this.I=H(a)};u(qn,K);var rn=[4,5];var sn=function(a){this.I=H(a)};u(sn,K);sn.prototype.getTagSessionCorrelator=function(){return Ug(this,2)};var un=function(a){var b=new sn;return Ng(b,4,tn,a)},tn=[4,5,7,8,9];var vn=function(a){this.I=H(a)};u(vn,K);var wn=Bj(vn);var xn=function(a){this.I=H(a)};u(xn,K);var yn=function(a){this.I=H(a)};u(yn,K);var zn=function(a){this.I=H(a)};u(zn,K);zn.prototype.getType=function(){return Sg(this,5)};var An=function(a,b){return gh(a,5,b)};zn.prototype.getValue=function(){return Ug(this,2)};var Bn=function(a,b){return kg(a,2,bf(b))};zn.prototype.clearValue=function(){return kg(this,2)};zn.prototype.getDuration=function(){return Ug(this,6)};var Cn=[1,8,9,11];var Dn=function(a){this.I=H(a)};u(Dn,K);var En=function(a,b){kg(a,24,bf(b))};var Fn=function(a){this.I=H(a)};u(Fn,K);Fn.prototype.getName=function(){return Wg(this,1)};var Gn=function(a,b){return kh(a,1,b)};Fn.prototype.getValue=function(){return Wg(this,2)};var Hn=function(a,b){return kh(a,2,b)};Fn.prototype.clearValue=function(){return kg(this,2)};var In=function(a){this.I=H(a)};u(In,K);In.prototype.getSlotId=function(){return Sg(this,22)};var Jn=function(a,b){return gh(a,22,b)};In.prototype.l=function(){return Kg(this,Fn,28,lg())};In.prototype.A=function(a){Og(this,28,a)};In.prototype.j=function(a){Qg(this,28,Fn,a)};var Kn=function(a){this.I=H(a)};u(Kn,K);Kn.prototype.getCorrelator=function(){return Wg(this,1)};Kn.prototype.setCorrelator=function(a){return kh(this,1,a)};var Ln=function(a,b){Qg(a,2,zn,b)},Mn=function(a){return Dg(a,Dn,12)},Nn=function(a){return Kg(a,In,3,lg())},On=function(a,b){Qg(a,3,In,b)};Kn.prototype.l=function(){return Kg(this,Fn,11,lg())};Kn.prototype.A=function(a){Og(this,11,a)};Kn.prototype.j=function(a){Qg(this,11,Fn,a)};var Pn=function(a){this.I=H(a)};u(Pn,K);Pn.prototype.getTagSessionCorrelator=function(){return Ug(this,2)};var Qn=[6,7];var Rn=function(){Tm.apply(this,arguments)};u(Rn,Tm);var Sn=function(){Rn.apply(this,arguments)};u(Sn,Rn);Sn.prototype.Mf=function(){this.o.apply(this,x(Ga.apply(0,arguments).map(function(a){return{nf:!0,Dh:4,ah:Nf(a)}})))};Sn.prototype.Nm=function(){this.o.apply(this,x(Ga.apply(0,arguments).map(function(a){return{nf:!0,Dh:30,ah:Nf(a)}})))};Sn.prototype.Om=function(){this.o.apply(this,x(Ga.apply(0,arguments).map(function(a){return{nf:!0,Dh:37,ah:Nf(a)}})))};function Tn(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)}} function Un(a,b,c,d){c=c===void 0?1:c;if(d===void 0?0:d){d=typeof CompressionStream==="function";var e=b.length>1024;typeof document!=="undefined"&&document.visibilityState!=="hidden"&&d&&e?Vm(b).then(function(f){var g=c===1?5:6;f=Lc(f);Tn(a+"?e="+g,f)}).catch(function(){Tn(a+"?e="+c,b)}):Tn(a+"?e="+c,b)}else Tn(a+"?e="+c,b)};var Vn=function(a,b,c,d,e,f,g,h,k){Sn.call(this,a,b,k);this.H=c;this.D=d;this.J=e;this.G=f;this.C=g;this.A=h;this.h=[];this.j=null;this.F=!1};u(Vn,Sn);var Wn=function(a){a.j!==null&&(clearTimeout(a.j),a.j=null);if(a.h.length){var b=Rm(a.h,Um(a));a.D(a.H,b,1,!1);a.h=[]}}; Vn.prototype.o=function(){var a=Ga.apply(0,arguments),b=this;try{this.C&&Rm(this.h.concat(a),Um(this)).length>=65536&&Wn(this),this.A&&!this.F&&(this.F=!0,this.A.h(function(){Wn(b)})),this.h.push.apply(this.h,x(a)),this.h.length>=this.G&&Wn(this),this.h.length&&this.j===null&&(this.j=setTimeout(function(){Wn(b)},this.J))}catch(c){Sm(c,Um(this))}}; var Xn=function(a,b,c,d,e,f,g){Vn.call(this,a,b,"https://pagead2.googlesyndication.com/pagead/ping",Un,c===void 0?1E3:c,d===void 0?100:d,(e===void 0?!1:e)&&!!globalThis.fetch,f,g)};u(Xn,Vn);function Yn(a){a=a===void 0?C: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 Zn=function(){this.S={}},$n=function(){var a=Yn(window);if(a){if(a){var b=a.pageViewId;a=a.clientId;Vd(a)&&(b+=a.replace(/\D/g,"").substring(0,6))}else b=null;return+b}b=Qj(window);a=b.google_global_correlator;a||(b.google_global_correlator=a=1+Math.floor(Math.random()*8796093022208));return a},bo=function(a,b){var c=ao[7]||"google_ps_7";a=a.S;var d=a[c];return d===void 0?(a[c]=b(),a[c]):d},co=function(a){var b=$n();return bo(a,function(){return b})},fo=function(){if(eo)var a=eo;else{a=((a=a=== void 0?Yn():a)?Pj(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"?eo=b:a.google_persistent_state_async=eo=new Zn}return co(a)},eo=null,go={},ao=(go[8]="google_prev_ad_formats_by_region",go[9]="google_prev_ad_slotnames_by_region",go);var ho=sa(["https://pagead2.googlesyndication.com/pagead/js/err_rep.js"]),io=function(){var a=a===void 0?"jserror":a;var b=b===void 0?.01:b;var c=c===void 0?zl(ho):c;this.j=a;this.l=b;this.o=c;this.h=!1};io.prototype.Bh=function(a){this.h=a}; io.prototype.wb=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.h;Mj(b)||(b=new Lj(b,{context:a,id:d}));C.google_js_errors=C.google_js_errors||[];C.google_js_errors.push(b);C.error_rep_loaded||(b=C.document,a=El("SCRIPT",b),wk(a,this.o),(b=b.getElementsByTagName("script")[0])&&b.parentNode&&b.parentNode.insertBefore(a,b),C.error_rep_loaded=!0);return this.h};io.prototype.Qc=function(a,b){try{return b()}catch(c){if(!this.wb(a,c,this.l,this.j))throw c;}}; io.prototype.rh=function(a,b,c){var d=this;return function(){var e=Ga.apply(0,arguments);return d.Qc(a,function(){return b.apply(c,e)})}};function jo(){var a=ko;if(a.prerendering)return 3;var b;return(b={visible:1,hidden:2,prerender:3,preview:4,unloaded:5,"":0}[a.visibilityState||a.webkitVisibilityState||a.mozVisibilityState||""])!=null?b:0}function lo(a){var b;a.visibilityState?b="visibilitychange":a.mozVisibilityState?b="mozvisibilitychange":a.webkitVisibilityState&&(b="webkitvisibilitychange");return b};var mo=null,no=function(){var a=a===void 0?window:a;if(mo===null){mo="";try{var b="";try{b=a.top.location.hash}catch(d){b=a.location.hash}if(b){var c=b.match(/\bdeid=([\d,]+)/);mo=c?c[1]:""}}catch(d){}}return mo};function oo(){var a=a===void 0?C:a;return(a=a.performance)&&a.now&&a.timing?Math.floor(a.now()+a.timing.navigationStart):Date.now()}function po(){var a=a===void 0?C:a;return(a=a.performance)&&a.now?a.now():null};var qo=function(a,b,c,d){d=d===void 0?0:d;this.label=a;this.type=b;this.value=c;this.duration=d;this.taskId=this.slotId=void 0;this.uniqueId=Math.random()};var ro=C.performance,so=!!(ro&&ro.mark&&ro.measure&&ro.clearMarks),to=Sj(function(){var a;if(a=so)a=no(),a=!!a.indexOf&&a.indexOf("1337")>=0;return a}),uo=function(a,b){this.events=[];this.h=b||C;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=to()||(c!=null?c:Math.random()2048||this.events.push(a)};var vo=function(a){a&&ro&&to()&&(ro.clearMarks("goog_"+a.label+"_"+a.uniqueId+"_start"),ro.clearMarks("goog_"+a.label+"_"+a.uniqueId+"_end"))}; uo.prototype.start=function(a,b){if(!this.l)return null;a=new qo(a,b,po()||oo());b="goog_"+a.label+"_"+a.uniqueId+"_start";ro&&to()&&ro.mark(b);return a};uo.prototype.end=function(a){if(this.l&&Ud(a.value)){a.duration=(po()||oo())-a.value;var b="goog_"+a.label+"_"+a.uniqueId+"_end";ro&&to()&&ro.mark(b);this.D(a)}};function wo(a){a=a._google_rum_ns_=a._google_rum_ns_||{};return a.pq=a.pq||[]};function xo(a,b,c){Oj(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}function yo(a,b,c,d){d=d===void 0?!0:d;var e=a.l();if(!d){var f=e.findIndex(function(g){return g.getName()===b});if(f!==-1){Hn(e[f],c);c=e.filter(function(g,h){return h<=f||g.getName()!==b});a.A(c);return}}a.j(Hn(Gn(new Fn,b),c))} function zo(a,b,c,d){d=d===void 0?!0:d;if(b!=="ec")switch(b){case "c":a.setCorrelator(c);break;case "e":c.split(",").map(Number).filter(function(h){return!isNaN(h)}).forEach(function(h){Pg(a,7,Qe,h,Ue)});break;default:var e=b.lastIndexOf(".");if(e!==-1){var f=b.substring(0,e);e=b.substring(e+1);if(e!==""){var g=Number(e);if(!isNaN(g)){b=Nn(a).find(function(h){return h.getSlotId()===g});b||(b=Jn(new In,g),On(a,b));f==="qqid"?kh(b,63,c):yo(b,f,c,d);break}}}yo(a,b,c,d)}} var Io=function(a,b,c,d,e,f,g,h,k){f=f===void 0?Infinity:f;g=g===void 0?!1:g;uo.call(this,a,h);var l=this;this.protocol=b;this.domain=c;this.path=d;this.la=e;this.H=0;this.J=1;this.B={};this.P={};this.Z=[];this.report={};this.j=0;this.G=[];k!=null&&k!==0&&(this.J=k);this.V=f;this.namespace=(a=(this.path+this.la).match(/[?&]s=([^&]*)/))?a[1]:"";a=this.h.navigator;this.wa=!(this.domain!=="csi.gstatic.com"||!a||!a.sendBeacon);this.h.performance&&this.h.performance.now||Ao(this,"dat",1);a&&a.deviceMemory&& Ao(this,"dmc",a.deviceMemory);this.h===this.h.top&&Ao(this,"top",1);this.ra=!g;this.fa=function(){l.h.setTimeout(function(){l.o()},1100)};this.ha=function(){var n=w(l.Z),r=n.next(),q;try{for(;!r.done;r=n.next()){var t=r.value;try{t()}catch(y){}}}finally{r&&!r.done&&(q=n.return)&&q.call(n)}n=l.h;var v=v===void 0?{}:v;typeof window.CustomEvent==="function"?r=new CustomEvent("rum_blp",v):(r=document.createEvent("CustomEvent"),r.initCustomEvent("rum_blp",!!v.bubbles,!!v.cancelable,v.detail));n.dispatchEvent(r); l.o();l.M instanceof Vn&&Wn(l.M)};this.Ca=Uj(function(){l.o()});this.Ua=function(){var n=l.h.document;(n.hidden!=null?n.hidden:n.mozHidden!=null?n.mozHidden:n.webkitHidden!=null&&n.webkitHidden)&&l.Ca()};this.N=this.h.setTimeout(function(){l.o()},5E3);this.A=b.length+c.length+d.length+e.length+3;Yb(this.events,function(n){Bo(l)&&Co(l,n);Do(l)&&Eo(l,n)});b=wo(this.h);var m=function(){var n=Ga.apply(0,arguments)[0],r=n[0];n=n[1];var q=r.length+n.length+2;Bo(l)&&l.A+l.j+q>8E3&&l.o();l.G.push([r,n]); Bo(l)&&(l.j+=q,Fo(l));return 0};Yb(b,function(n){return m(n)});b.length=0;b.push=m;Go(this);Ho(this)};u(Io,uo); var Ho=function(a){a.h.document.readyState==="complete"?a.h.setTimeout(function(){a.o()},0):Km(a.h,"load",a.fa);var b=lo(a.h.document);typeof b!=="undefined"&&Km(a.h,b,a.Ua);Km(a.h,"pagehide",a.ha)},Ao=function(a,b,c){c=String(c);a.A=a.B[b]!=null?a.A+(c.length-a.B[b].length):a.A+(b.length+c.length+2);a.B[b]=c},Lo=function(a,b,c,d,e){e=e===void 0?"":e;var f=Jo(a,b,c,d,e);a.A+a.j+f>8E3&&(a.o(),f=b.length+c.length+2);Ko(a,b,c,d,e);a.j+=f;Fo(a)},Jo=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},Ko=function(a,b,c,d,e){a.report[b]=d&&a.report[b]!=null?a.report[b]+(""+(e===void 0?"":e)+c):c},Fo=function(a){a.A+a.j>=6E3&&a.o()};Io.prototype.o=function(){if(this.l&&this.ra){var a=new io;if(Do(this))try{Mo(this)}catch(b){a.wb(358,b)}if(Bo(this)){try{this.j&&this.sendBeacon(this.report)}catch(b){a.wb(358,b)}this.report={};this.j=0}this.H===this.V&&this.F();this.events.length=0;this.h.clearTimeout(this.N);this.N=0}}; var No=function(a,b){var c=a.protocol+"//"+a.domain+a.path+a.la,d={};c=xo(c,a.B,d);c=xo(c,b,d);b=a.h;b.google_timing_params&&(c=xo(c,b.google_timing_params,d),b.google_timing_params=void 0);Yb(a.G,function(e){var f=w(e);e=f.next().value;f=f.next().value;var g={};c=xo(c,(g[e]=f,g))});a.G.length=0;return c};Io.prototype.sendBeacon=function(a){this.H++;a=No(this,a);var b=!1;try{b=!!(this.wa&&this.h.navigator&&this.h.navigator.sendBeacon(a,null))}catch(c){this.wa=!1}b||Mm(this.h,a);Go(this)}; var Go=function(a){Ao(a,"puid",(a.H+1).toString(36)+"~"+Date.now().toString(36))},Co=function(a,b){var c="met."+b.type,d=Ud(b.value)?Math.round(b.value).toString(36):b.value,e=Math.round(b.duration);Lo(a,c,""+b.label+(b.slotId!=null?"_"+b.slotId:"")+("."+d)+(e>0?"_"+e.toString(36):"")+(b.taskId!=null?"__"+Math.round(b.taskId).toString(36):""),!0,"~")};Io.prototype.D=function(a){this.l&&this.H8E3||d)&&a.o()}g= w(Object.keys(b));h=g.next();var k;try{for(;!h.done;h=g.next()){var l=h.value;Bo(a)&&Ko(a,l,b[l],!1);Do(a)&&l!=="ec"&&zo(Po(a),l,b[l],!1)}}finally{h&&!h.done&&(k=g.return)&&k.call(g)}Bo(a)&&(a.j+=c,Fo(a))},Ro=function(a,b){a=a.h;a.l&&a.D(new qo(b,4,oo()-0,0))}; N.prototype.recordClick=function(a,b,c,d){for(var e=!1,f="notag";d!=null&&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.h;d.l&&d.D(new qo(a+"_"+b+"x"+c+"|"+e+"|"+f,4,oo(), 0))};N.getInstance=function(){return L(N)};var So=function(a){var b=N.getInstance();b.j.has(a)?b.j.set(a,b.j.get(a)+1):b.j.set(a,1)};function To(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,""))}var Uo=function(a){try{return C.JSON.parse(a)}catch(b){}a=String(a);if(To(a))try{return eval("("+a+")")}catch(b){}throw Error("Invalid JSON string: "+a);};var Vo=function(){this.l=null;this.h="missing-id";this.j=!1},Xo=function(a){var b=null;try{b=document.getElementsByClassName("lima-exp-data")}catch(c){return Wo("missing-element",a.h),null}if(b.length>1)return Wo("multiple-elements",a.h),null;b=b[0];return b?b.innerHTML:(Wo("missing-element",a.h),null)},Zo=function(){var a=Yo,b=Xo(a);if(b!==null)if(To(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=N.getInstance(); c!=null&&Ao(f.h,"qqid",c)}e&&(a.h=d);typeof b!=="string"?Wo("missing-flags",a.h):(e||Wo("missing-binary-id",a.h),a.l=b)}else Wo("invalid-json",a.h)};Vo.prototype.reset=function(){this.l=null;this.h="missing-id"};var $o=function(){};$o.prototype.Lf=function(a){a=w(a);var b=a.next(),c;try{for(;!b.done;b=a.next()){var d=0,e=Math.floor(Math.random()*1E3),f=w(b.value.h),g=f.next(),h;try{for(;!g.done;g=f.next()){var k=g.value;d+=k.K;if(ea;break;case 12:c=Vd(a)&&Vd(g)&&(new RegExp(a)).test(g);break;case 10:c=g!=null&&Cb(String(g),a)===-1;break;case 11:c=g!=null&&Cb(String(g),a)===1;break;default:return{success:!1,Xa:3}}return{success:!0,value:c}} function dp(a,b){return a?b?bp(a,b):{success:!1,Xa:1}:{success:!0,value:!0}};var Gg=function(a){this.I=H(a)};u(Gg,K);var ep=function(a){return mg(a,4,jf,lg())};var fp=function(a){this.I=H(a)};u(fp,K);fp.prototype.getValue=function(){return J(this,Gg,2)};fp.prototype.clearValue=function(){return kg(this,2)};var gp=function(a){this.I=H(a)};u(gp,K);var hp=Bj(gp),ip=[1,2,3,6,7,8];var jp=function(a,b,c,d){d=d===void 0?new Xn(6,"unknown",b):d;this.Bj=a;this.l=c;this.pinger=d;this.h=[];this.j=a>0&&Nk()<1/a},lp=function(a,b,c,d,e,f){if(a.j){var g=Zm(Ym(new Xm,b),c);b=gn(dn(cn(fn(en(new bn,d),e),g),a.h.slice()),f);b=un(b);a.pinger.Mf(kp(a,b));if(f===1||f===3||f===4&&!a.h.some(function(h){return Xg(h,1)===Xg(g,1)&&Xg(h,2)===c}))a.h.push(g),a.h.length>100&&a.h.shift()}},mp=function(a,b,c,d){if(a.j){var e=new Wm;b=gh(e,1,b);c=gh(b,2,c);d=mh(c,3,d);c=new sn;d=Ng(c,8,tn,d);a.pinger.Mf(kp(a, d))}},np=function(a,b,c,d,e){if(a.j){var f=new qn;b=Mg(f,1,b);c=mh(b,2,c);d=gh(c,3,d);if(e.se===void 0)oh(d,4,rn,e.Xa);else switch(e.se){case 3:c=new ln;c=oh(c,2,mn,e.Dd);e=mh(c,1,e.Xa);Ng(d,5,rn,e);break;case 4:c=new ln;c=oh(c,3,mn,e.Dd);e=mh(c,1,e.Xa);Ng(d,5,rn,e);break;case 5:c=new ln,c=oh(c,4,mn,e.Dd),e=mh(c,1,e.Xa),Ng(d,5,rn,e)}e=new sn;e=Ng(e,9,tn,d);a.pinger.Mf(kp(a,e))}},kp=function(a,b){var c=Date.now();c=Number.isFinite(c)?Math.round(c):0;b=jh(b,1,c);c=Dl();b=jh(b,2,c);return jh(b,6,a.Bj)};var op=function(){var a={};this.nb=(a[3]={},a[4]={},a[5]={},a)};var pp=/^true$/.test("false");function qp(a,b){switch(b){case 1:return dh(a,1,ip);case 7:return dh(a,7,ip);case 2:return dh(a,2,ip);case 3:return dh(a,3,ip);case 6:return dh(a,6,ip);case 8:return dh(a,8,ip);default:return null}}function rp(a,b){if(!a)return null;switch(b){case 1:return Rg(a,1);case 7:return Wg(a,3);case 2:return Vg(a,2);case 3:return Wg(a,3);case 6:return ep(a);case 8:return ep(a);default:return null}} var sp=Sj(function(){if(!pp)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 tp(a,b,c,d){var e=d=d===void 0?0:d,f,g;L(up).l[e]=(g=(f=L(up).l[e])==null?void 0:f.add(b))!=null?g:(new Set).add(b);e=sp();if(e[b]!=null)return e[b];b=vp(d)[b];if(!b)return c;b=hp(JSON.stringify(b));b=wp(b);a=rp(b,a);return a!=null?a:c} function wp(a){var b=L(op).nb;if(b&&Bg(a,ip)!==8){var c=hc(Kg(a,fp,5,lg()),function(f){f=dp(J(f,nn,1),b);return f.success&&f.value});if(c){var d;return(d=c.getValue())!=null?d:null}}var e;return(e=J(a,Gg,4))!=null?e:null}var up=function(){this.j={};this.o=[];this.l={};this.h=new Map};function Kp(a,b,c){return!!tp(1,a,b===void 0?!1:b,c)}function Lp(a,b,c){b=b===void 0?"":b;a=tp(7,a,b,c);if(Vd(a))try{return JSON.parse(a)}catch(d){}try{return JSON.parse(b)}catch(d){return null}} function Mp(a,b,c){b=b===void 0?0:b;a=Number(tp(2,a,b,c));return isNaN(a)?b:a}function Np(a,b,c){b=b===void 0?"":b;a=tp(3,a,b,c);return Vd(a)?a:b}function Op(a,b,c){b=b===void 0?[]:b;a=tp(6,a,b,c);return Array.isArray(a)?a:b}function Pp(a,b,c){b=b===void 0?[]:b;a=tp(8,a,b,c);return Array.isArray(a)?a:b}function vp(a){return L(up).j[a]||(L(up).j[a]={})} function Qp(a,b){var c=vp(b);Oj(a,function(d,e){if(c[e]){d=hp(JSON.stringify(d));var f=Cg(d,ip,8);if(Pe(ig(d,f))!=null){var g=hp(JSON.stringify(c[e]));f=Dg(d,Gg,4);g=ep(Hg(g));Pg(f,4,gf,g,jf,void 0,void 0,!0)}c[e]=Nf(d)}else c[e]=d})} function Rp(a,b,c,d,e){e=e===void 0?!1:e;var f=[],g=[];b=w(b);var h=b.next(),k;try{for(;!h.done;h=b.next()){var l=h.value,m=vp(l),n=w(a),r=n.next(),q;try{for(;!r.done;r=n.next()){var t=r.value,v=Bg(t,ip),y=qp(t,v);if(y){var z=void 0,B=void 0,F=void 0;var I=(z=(F=L(up).h.get(l))==null?void 0:(B=F.get(y))==null?void 0:B.slice(0))!=null?z:[];a:{z=y;B=v;F=I;var M=new hn;switch(B){case 1:oh(M,1,jn,z);break;case 2:oh(M,2,jn,z);break;case 3:oh(M,3,jn,z);break;case 6:oh(M,4,jn,z);break;case 7:oh(M,7,jn,z); break;case 8:oh(M,6,jn,z);break;default:var Q=void 0;break a}vg(M,5,F,Qe);Q=M}z=Q;var U;if(U=z)B=void 0,U=!((B=L(up).l[l])==null||!B.has(y));U&&f.push(z);if(v===8&&m[y]){var ea=hp(JSON.stringify(m[y])),Y=Dg(t,Gg,4),Z=ep(Hg(ea));Pg(Y,4,gf,Z,jf,void 0,void 0,!0)}else{var aa;if(aa=z)B=void 0,aa=!((B=L(up).h.get(l))==null||!B.has(y));aa&&g.push(z)}if(!e){z=y;B=l;F=d;var pa=L(up);pa.h.has(B)||pa.h.set(B,new Map);pa.h.get(B).has(z)||pa.h.get(B).set(z,[]);F&&pa.h.get(B).get(z).push(F)}m[y]=Nf(t)}}}finally{r&& !r.done&&(q=n.return)&&q.call(n)}}}finally{h&&!h.done&&(k=b.return)&&k.call(b)}if(f.length||g.length)a=d!=null?d:void 0,c.j&&c.l&&(d=new kn,f=Og(d,2,f),g=Og(f,3,g),a&&hh(g,1,a),f=new sn,g=Ng(f,7,tn,g),c.pinger.Mf(kp(c,g)))}function Sp(a,b){b=vp(b);a=w(a);var c=a.next(),d;try{for(;!c.done;c=a.next()){var e=c.value,f=hp(JSON.stringify(e)),g=Bg(f,ip),h=qp(f,g);h&&(b[h]||(b[h]=e))}}finally{c&&!c.done&&(d=a.return)&&d.call(a)}} function Tp(){return Object.keys(L(up).j).map(function(a){return Number(a)})}function Up(a){L(up).o.includes(a)||Qp(vp(4),a)};function Vp(a,b,c){c.hasOwnProperty(a)||Object.defineProperty(c,String(a),{value:b})}function Wp(a,b,c){return b[a]||c}function Xp(a){Vp(5,Kp,a);Vp(18,Lp,a);Vp(6,Mp,a);Vp(7,Np,a);Vp(8,Op,a);Vp(17,Pp,a);Vp(13,Sp,a);Vp(15,Up,a)} function Yp(a){Vp(4,function(b){L(op).nb=b},a);Vp(9,function(b,c){var d=L(op);d.nb[3][b]==null&&(d.nb[3][b]=c)},a);Vp(10,function(b,c){var d=L(op);d.nb[4][b]==null&&(d.nb[4][b]=c)},a);Vp(11,function(b,c){var d=L(op);d.nb[5][b]==null&&(d.nb[5][b]=c)},a);Vp(14,function(b){var c=L(op),d=w([3,4,5]),e=d.next(),f;try{for(;!e.done;e=d.next()){var g=e.value;Object.assign(c.nb[g],b[g])}}finally{e&&!e.done&&(f=d.return)&&f.call(d)}},a)} function Zp(a){a.hasOwnProperty("init-done")||Object.defineProperty(a,"init-done",{value:!0})};var $p=function(){};$p.prototype.h=function(){};$p.prototype.j=function(){};$p.prototype.l=function(){return[]};var aq=function(a,b,c){a.j=function(d,e){Wp(2,b,function(){return[]})(d,c,e)};a.l=function(d){return Wp(3,b,function(){return[]})(d!=null?d:c)};a.h=function(d){Wp(16,b,function(){})(d,c)}};function bq(a){return L($p).l(a)};var cq=function(a,b,c){this.id=a;this.K=b;this.Qi=c;this.selected=!1};cq.prototype.select=function(){this.selected=!0}; var dq=function(a){return a.selected||a.Qi},eq=function(){this.h=[]},fq=function(){this.j=!1;this.h=new Map;this.o=new eq;this.A=new cq(0,0,!1);this.l=[this.o]},P=function(a){var b=gq;if(b.j||b.h.has(a.id)||a.K==null&&a.control==null||a.Yp===!1)return b.A;var c=b.o;if(a.control!=null){var d=w(b.l),e=d.next(),f;try{for(;!e.done;e=d.next()){var g=e.value;if(g.h.includes(a.control)){c=g;break}}}finally{e&&!e.done&&(f=d.return)&&f.call(d)}}else a.bb!=null&&(c=a.bb);d=0;a.control!=null?d=a.control.K:a.K!= null&&(d=a.K);a=new cq(a.id,d,!!a.Qi);c.h.push(a);b.l.includes(c)||b.l.push(c);b.h.set(a.id,a);return a},hq=function(){var a=gq;a=[].concat(x(a.h.keys())).filter(function(c){return dq(this.h.get(c))},a);var b=bq();return[].concat(x(a),x(b))},iq=function(){return hq().sort(function(a,b){return Number.isNaN(a)?1:Number.isNaN(b)?-1:a-b}).join(",")},jq=function(a){var b=gq;b.j||(a.Lf(b.l,b.h),b.j=!0)}; fq.prototype.reset=function(){var a=w(this.h),b=a.next(),c;try{for(;!b.done;b=a.next()){var d=w(b.value);d.next();d.next().value.selected=!1}}finally{b&&!b.done&&(c=a.return)&&c.call(a)}this.j=!1};var gq=new fq;function kq(){return lq.h.filter(function(a){return dq(a)}).map(function(a){return a.id})};var mq=function(a,b){this.h=a;this.j=b};u(mq,ap);mq.prototype.Lf=function(a,b){ap.prototype.Lf.call(this,a,b);var c=[];a=[];var d=w(this.h),e=d.next(),f;try{for(;!e.done;e=d.next()){var g=e.value;b.get(g)?c.push(g):a.push(g)}}finally{e&&!e.done&&(f=d.return)&&f.call(d)}b=c.map(String).join(",")||"0";a=a.map(String).join(",")||"0";O(N.getInstance(),"sei",b);O(N.getInstance(),"nsei",a);O(N.getInstance(),"bi",this.j)};var nq=function(){Vo.apply(this,arguments)};u(nq,Vo);var Wo=function(a,b){var c=N.getInstance();O(c,"eee",a);O(c,"bi",b)};nq.getInstance=function(){return L(nq)};function oq(){return pq.split(",").map(function(a){a=a.trim();a=Number((a.charCodeAt(0)-43&-3?"0":"")+a+".");a=Number.isInteger(a)?a:void 0;return a}).filter(function(a){return a!=null&&!isNaN(a)})};var lq=new eq,qq=new eq,rq=new eq,sq=new eq,tq=new eq;P({id:95342637,K:0});P({id:318475490,K:0});P({id:324123032,K:0});P({id:420706097,K:10});P({id:420706098,K:10});P({id:95342168,K:10});P({id:95342169,K:10});P({id:95391947,K:10});P({id:21062100,K:0});P({id:420706142,K:0});P({id:44745813,K:0});P({id:95355265,K:0});P({id:95382105,K:0});P({id:95389385,K:0});P({id:95391052,K:0});P({id:95390991,K:0});var uq=P({id:44746068,K:0});P({id:418572006,K:10});P({id:95338773,K:10,bb:rq});P({id:95338774,K:10,bb:rq}); P({id:95334214,K:10});P({id:95334215,K:10});P({id:44714743,K:0});P({id:44715336,K:10});P({id:44724516,K:0});P({id:44726389,K:10});P({id:44733246,K:10});P({id:44751889,K:10});P({id:44751890,K:10});P({id:44752995,K:10});P({id:44752996,K:10});P({id:44762627,K:0});var vq=P({id:44762628,K:0});P({id:44801479,K:10,bb:qq});P({id:44801480,K:10,bb:qq});P({id:44752538,K:0});P({id:44754608,K:10});P({id:44754609,K:10});P({id:44776384,K:0});P({id:44789282,K:0});P({id:95344889,K:0});P({id:95355192,K:0}); P({id:95334260,K:0});P({id:75259416,K:0});P({id:75259420,K:0});P({id:318524579,K:0});P({id:75259421,K:0});P({id:95399021,K:0});P({id:45401791,K:0});P({id:44809192,K:0,bb:tq});P({id:44809193,K:0,bb:tq});P({id:95320804,K:0,bb:tq});var wq=P({id:95320805,K:0,bb:tq});P({id:95322027,K:1E3,bb:sq});P({id:46130031,K:0});P({id:95377441,K:0});P({id:95327848,K:0});P({id:31065644,K:1});P({id:31065645,K:1});var xq=new eq;P({id:95331588,K:0,bb:xq});P({id:95331589,K:1E3,bb:xq});P({id:95378017,K:0}); P({id:95332182,K:0});P({id:95362047,K:0});P({id:95363795,K:0});var yq=P({id:789179015,K:0});P({id:798227501,K:0});P({id:95370886,K:0});P({id:318523523,K:0});P({id:95379050,K:10});P({id:95379051,K:10});P({id:95391729,K:0});P({id:95392006,K:0});P({id:95392007,K:0});P({id:95378020,K:0});P({id:95380703,K:0});P({id:95380704,K:0});P({id:95380705,K:0});P({id:95380706,K:0});P({id:95387020,K:0});P({id:95392225,K:0});P({id:95386938,K:1});P({id:95386939,K:1});P({id:95389256,K:0});P({id:95389401,K:0}); P({id:95391764,K:0});P({id:95396213,K:0});P({id:95397687,K:10});var zq=P({id:95397688,K:10});if(typeof window!=="undefined"&&typeof window.initializeVirtualDom==="undefined"){var Yo=nq.getInstance();Yo.j||(Zo(),Yo.j=!0);var pq=Yo.l,Aq;Yo.j||(Zo(),Yo.j=!0);Aq=Yo.h;if(pq!=null){var Bq=new mq(oq(),Aq);jq(Bq)}};var Cq=function(a){this.I=H(a)};u(Cq,K);var Dq=function(a){this.I=H(a)};u(Dq,K);Dq.prototype.getId=function(){return Sg(this,1)};var Eq=function(a){this.I=H(a)};u(Eq,K);var Fq=function(a){return Kg(a,Dq,2,lg())};var Gq=function(a){this.I=H(a)};u(Gq,K);var Hq=function(a){this.I=H(a)};u(Hq,K);var Iq=function(a){this.I=H(a)};u(Iq,K);var Jq=function(a){this.I=H(a)};u(Jq,K);var Kq=Aj(Jq);var Lq=null;function Mq(){var a;return(a=Lq)!=null?a:Lq=Kq("[[[[45713128,null,null,[]],[45848619,null,null,[]],[45796605,null,null,[1]],[957164676,null,null,[1]],[45816264,null,null,[]],[45761044,null,null,[]],[45803173,null,null,[]],[45722344,null,null,[]],[45801847,null,null,[]],[45784857,null,null,[]],[45668885,null,null,[]],[45685340,null,null,[]],[45734716,null,null,[]],[45735891,null,null,[]],[45663239,null,null,[]],[839547366,null,null,[1]],[45676441,null,null,[]],[null,45645574,null,[]],[45688859,null,null,[]],[45685601,null,null,[1]],[null,45685602,null,[null,100]],[45830425,null,null,[]],[45820997,null,null,[]],[null,45812678,null,[]],[45756824,null,null,[1]],[45794243,null,null,[]],[45747172,null,null,[]],[775241416,null,null,[]],[781107959,null,null,[]],[781107958,null,null,[]],[792614055,null,null,[]],[781107957,null,null,[]],[45729602,null,null,[]],[45753603,null,null,[]],[45753604,null,null,[]]],[[16,[[10,[[83323635],[83323636,[[null,45812678,null,[null,100]]]]]],[50,[[83323870],[83323871,[[45830425,null,null,[1]]]]]],[1000,[[95332046]]],[null,[[95332047]]],[10,[[95338769,[[null,45645574,null,[null,1]]]],[95338770,[[null,45645574,null,[null,2]]]]]],[1,[[95373378,[[792614055,null,null,[1]]]],[95373379,[[45747172,null,null,[1]],[781107959,null,null,[1]],[792614055,null,null,[1]],[781107957,null,null,[1]]]]]],[10,[[95378629],[95378630,[[45729602,null,null,[1]]]],[95404887,[[45729602,null,null,[1]]]]]],[10,[[95389581],[95389582,[[635466687,null,null,[1]]]]]],[null,[[95391735]]],[50,[[95394237],[95394238,[[45801847,null,null,[1]]]]]],[null,[[95394594],[95394595,[[45803173,null,null,[1]]]]]],[10,[[95398837],[95398838,[[null,960449109,null,[null,1]]]]]],[10,[[95401453],[95401454,[[45668885,null,null,[1]]]]]]]]],null,null,[null,1000,1,1000]],null,[\"rte.ie\",[null,[[[\"3014\"],[\"15180072\"]],\"rte.ie\"],[[[\"15180072\",1],[\"3014\",1]]],null,[],null,[[\"3014\",[[\"ceeid.eu\",null,1],[\"uidapi.com\",null,1],[\"mygaruID\",null,1],[\"liveintent.indexexchange.com\",null,1],[\"bidswitch.net\",null,1],[\"id5-sync.com\",null,1],[\"adserver.org\",null,1],[\"liveintent.sovrn.com\",null,1],[\"criteo.com\",null,1],[\"liveintent.com\",null,1],[\"acxiom.id\",null,1],[\"yahoo.com\",null,1],[\"intimatemerger.com\",null,1],[\"rubiconproject.com\",null,1],[\"liveintent.triplelift.com\",null,1],[\"euid.eu\",null,1],[\"liveramp.com\",null,1],[\"pubmatic.com\",null,1],[\"esp.pubmatic.com\",null,1],[\"intentiq.com\",null,1],[\"openx.net\",null,1],[\"pubcid.org\",null,1],[\"crwdcntrl.net\",null,1],[\"novatiq.com\",null,1],[\"utiq.com\",null,1],[\"justtag.com\",null,1],[\"audigent.com\",null,1],[\"epsilon.com\",null,1],[\"google.com\",null,1]]]]]],[0,0,0]]")};function Nq(a){if(a!=null)return Oq(a)}function Pq(a){return a==null?null:Oq(a)}function Oq(a){return ne(a)?Number(a):String(a)};function Qq(a){a=a&&a.toString&&a.toString();return Vd(a)&&Ab(a,"[native code]")};function Rq(a,b){try{var c=a.split(".");a=C;for(var d=0,e;a!=null&&d=0){var f=a[c].substring(0,d);e=a[c].substring(d+1)}else f=a[c];b(f,e?zk(e):"")}}} function dr(a,b,c){for(var d=0,e=b.length;(d=a.indexOf(b,d))>=0&&dc)e=c;d+=b.length+1;return zk(a.slice(d,e!==-1?e:0))};function gr(a){var b=a.length;if(b===0)return 0;for(var c=305419896,d=0;d>2)+a.charCodeAt(d)&4294967295;return c>0?c:4294967296+c};var hr=[12,13,20,32],ir=function(a,b,c,d){d=d===void 0?{}:d;var e=d.Mi;e=e===void 0?!1:e;d=d.yq;d=d===void 0?[]:d;this.kf=a;this.Pc=c;this.o={};this.Mi=e;a={};this.h=(a[b]=[],a[4]=[],a);this.j={};this.l={};if(b=no()){b=w(b.split(",")||[]);a=b.next();var f;try{for(;!a.done;a=b.next()){var g=Number(a.value);g&&(this.j[g]=!0)}}finally{a&&!a.done&&(f=b.return)&&f.call(b)}}f=w(d);g=f.next();var h;try{for(;!g.done;g=f.next())this.j[g.value]=!0}finally{g&&!g.done&&(h=f.return)&&h.call(f)}},lr=function(a, b,c,d){var e=[],f;if(f=b!==9)a.o[b]?f=!0:(a.o[b]=!0,f=!1);if(f)return lp(a.Pc,b,c,e,[],4),e;f=hr.includes(b);var g=[],h=[],k=w([0,1,2]),l=k.next(),m;try{for(;!l.done;l=k.next()){var n=l.value,r=w(a.kf[n].entries()),q=r.next(),t;try{for(;!q.done;q=r.next()){var v=w(q.value),y=v.next().value,z=v.next().value,B=y,F=z,I=new $m,M=F.filter(function(td){return td.Ke===b&&a.j[td.rb.getId()]&&jr(a,td)});if(M.length){var Q=w(M),U=Q.next(),ea;try{for(;!U.done;U=Q.next())h.push(U.value.rb)}finally{U&&!U.done&& (ea=Q.return)&&ea.call(Q)}}else if(!a.Mi){var Y=void 0;n===2?(Y=d[1],oh(I,2,an,B)):Y=d[0];var Z=void 0,aa=void 0,pa=(aa=(Z=Y)==null?void 0:Z(String(B)))!=null?aa:n===2&&Xg(F[0].Qf,11)===1?void 0:d[0](String(B));if(pa!==void 0){var La=w(F),Gb=La.next(),Nb;try{for(;!Gb.done;Gb=La.next()){var ob=Gb.value;if(ob.Ke===b){var fc=pa-ob.Lj;B=ob;var Tc=B.kj,ud=B.lj,ni=B.Yl;if(!(fc<0||fc>=Tc*ud||fc%ud!==ni)&&jr(a,ob)){var pb=Xg(ob.Qf,13);if(pb!==0&&pb!==void 0){var Ig=a.l[String(pb)];Ig!==void 0&&Ig!==ob.rb.getId()? mp(a.Pc,a.l[String(pb)],ob.rb.getId(),pb):a.l[String(pb)]=ob.rb.getId()}h.push(ob.rb)}}}}finally{Gb&&!Gb.done&&(Nb=La.return)&&Nb.call(La)}Bg(I,an)!==0&&(hh(I,3,pa),g.push(I))}}}}finally{q&&!q.done&&(t=r.return)&&t.call(r)}}}finally{l&&!l.done&&(m=k.return)&&m.call(k)}d=w(h);m=d.next();var Sd;try{for(;!m.done;m=d.next()){var Jc=m.value,De=Jc.getId();e.push(De);kr(a,De,f?4:c);Rp(Kg(Jc,gp,2,lg()),f?Tp():[c],a.Pc,De)}}finally{m&&!m.done&&(Sd=d.return)&&Sd.call(d)}lp(a.Pc,b,c,e,g,1);return e},kr=function(a, b,c){a.h[c]||(a.h[c]=[]);a=a.h[c];a.includes(b)||a.push(b)},jr=function(a,b){var c=L(op).nb,d=dp(J(b.Qf,nn,3),c);if(!d.success)return np(a.Pc,J(b.Qf,nn,3),b.Ke,b.rb.getId(),d),!1;if(!d.value)return!1;c=dp(J(b.rb,nn,3),c);return c.success?c.value?!0:!1:(np(a.Pc,J(b.rb,nn,3),b.Ke,b.rb.getId(),c),!1)},mr=function(a,b){b=b.map(function(c){return new Gq(c)}).filter(function(c){return!hr.includes(Xg(c,1))});a.kf=Zq(a.kf,b)},nr=function(a,b){Vp(1,function(c){a.j[c]=!0},b);Vp(2,function(c,d,e){return lr(a, c,d,e)},b);Vp(3,function(c){return(a.h[c]||[]).concat(a.h[4])},b);Vp(12,function(c){return void mr(a,c)},b);Vp(16,function(c,d){return void kr(a,c,d)},b)};var or=function(){var a={};this.j=function(b,c){return a[b]!=null?a[b]:c};this.o=function(b,c){var d=a[b];if(typeof d==="string"&&b!=null)try{return JSON.parse(d)}catch(e){}try{return JSON.parse(c)}catch(e){return null}};this.h=function(b,c){return a[b]!=null?a[b]:c};this.B=function(b,c){return a[b]!=null?a[b]:c};this.F=function(b,c){return a[b]!=null?a[b]:c};this.A=function(b,c){return a[b]!=null?c.concat(a[b]):c};this.l=function(){}};function pr(a){return L(or).j(a.h,a.defaultValue)};var qr=function(){this.h=function(){}},rr=function(a,b){a.h=Wp(14,b,function(){})};function sr(a){L(qr).h(a)};var tr,ur,vr,wr,xr,yr;function zr(a,b){var c=b=b===void 0?Xq():b;aq(L($p),c,a);Ar(b,a);a=b;rr(L(qr),a);L(or).l()} function Ar(a,b){var c=L(or);c.j=function(d,e){return Wp(5,a,function(){return!1})(d,e,b)};c.o=function(d,e){return Wp(18,a,function(){return null})(d,e,b)};c.h=function(d,e){return Wp(6,a,function(){return 0})(d,e,b)};c.B=function(d,e){return Wp(7,a,function(){return""})(d,e,b)};c.F=function(d,e){return Wp(8,a,function(){return[]})(d,e,b)};c.A=function(d,e){return Wp(17,a,function(){return[]})(d,e,b)};c.l=function(){Wp(15,a,function(){})(b)}};gq.reset();jq(new $o);var Br=Mq(),Cr,Dr; (function(a){var b=a.xl;var c=a.nb;var d=a.config;var e=a.Vp;e=e===void 0?Xq():e;var f=a.dl;f=f===void 0?0:f;var g=a.pinger;var h=a.Pc;g=h===void 0?new jp((wr=Nq((tr=J(b,Hq,5))==null?void 0:Ug(tr,2)))!=null?wr:0,(xr=Nq((ur=J(b,Hq,5))==null?void 0:Ug(ur,4)))!=null?xr:0,(yr=(vr=J(b,Hq,5))==null?void 0:Rg(vr,3))!=null?yr:!1,g):h;a=a.kf;a=a===void 0?Yq(Kg(b,Gq,2,lg(Ld))):a;e.hasOwnProperty("init-done")?(Wp(12,e,function(){})(Kg(b,Gq,2,lg()).map(function(k){return Nf(k)})),Wp(13,e,function(){})(Kg(b,gp, 1,lg()).map(function(k){return Nf(k)}),f),c&&Wp(14,e,function(){})(c),zr(f,e)):(nr(new ir(a,f,g,d),e),Xp(e),Yp(e),Zp(e),zr(f,e),Rp(Kg(b,gp,1,lg(Ld)),[f],g,void 0,!0),pp=pp||!(!d||!d.iq),sr(Wq),c&&sr(c))})({xl:(Dr=(Cr=J(Br,Iq,1))==null?void 0:Af(Cr))!=null?Dr:new Iq,dl:7});var Er=Dl(),Fr={},Gr=(Fr[0]=function(a){a=a===void 0?Nk():a;return function(b){return gr(b+" + "+a)%1E3}}(Er),Fr);L($p).j(16,Gr);var Hr=w(Yg(Br,2)),Ir=Hr.next(),Jr; try{for(;!Ir.done;Ir=Hr.next()){var Kr=Ir.value;L($p).h(Kr)}}finally{Ir&&!Ir.done&&(Jr=Hr.return)&&Jr.call(Hr)}var Lr=Sg(Br,5);Lr&&L($p).h(Lr);var Mr=function(a,b,c){this.id=a;a=oc(c);qc(a);this.h=a;this.event=b};Mr.prototype.equals=function(a){var b;if(b=this.event==a.event&&this.id==a.id)a:if(b=this.h,a=a.h,Qa(b)&&Qa(a)&&b.length==a.length){for(var c=b.length,d=0;d25||c<0)throw Error("Invalid character code, expected in range [0,25], got: "+c);return String.fromCharCode(97+c)};return b()+b()},Js=function(a){var b=Es(a,16);if(!!Es(a,1)===!0){a=Hs(a);var c=w(a),d=c.next(),e;try{for(;!d.done;d=c.next()){var f= d.value;if(f>b)throw Error("ID "+f+" is past MaxVendorId "+b+"!");}}finally{d&&!d.done&&(e=c.return)&&e.call(c)}return a}return Is(a,b)},Ks=function(a){for(var b=[],c=Es(a,12);c--;){var d=Es(a,6),e=Es(a,2),f=Hs(a),g=b,h=g.push,k=new $r;d=nh(k,1,d);e=nh(d,2,e);f=vg(e,3,f,Qe);h.call(g,f)}return b},Hs=function(a){for(var b=Es(a,12),c=[];b--;){var d=!!Es(a,1)===!0,e=Es(a,16);if(d)for(d=Es(a,16);e<=d;e++)c.push(e);else c.push(e)}c.sort(function(f,g){return f-g});return c},Is=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.h,a.h+b);a.h+=b;return parseInt(c,2)};Ds.prototype.skip=function(a){this.h+=a};function Ls(a){try{var b=Pc(a).map(function(d){return d.toString(2).padStart(8,"0")}).join(""),c=new Ds(b);return Es(c,3)!==1?null:Zr(new Yr,Js(c))}catch(d){return null}};function Ms(a){try{var b=Pc(a).map(function(f){return f.toString(2).padStart(8,"0")}).join(""),c=new Ds(b);if(Es(c,3)!==3)return null;var d=cs(bs(new as,Is(c,24,Bs)),Is(c,24,Bs)),e=Es(c,6);e!==0&&es(ds(d,Is(c,e)),Is(c,e));return d}catch(f){return null}};function Ns(a){try{var b=Pc(a).map(function(d){return d.toString(2).padStart(8,"0")}).join(""),c=new Ds(b);return zs(ys(xs(ws(vs(us(ts(rs(qs(ps(os(ns(ms(ls(ks(js(is(hs(gs(new fs,Es(c,6)),Fs(c)),Fs(c)),Es(c,12)),Es(c,12)),Es(c,6)),Gs(c)),Es(c,12)),Es(c,6)),!!Es(c,1)),!!Es(c,1)),Is(c,12,Cs)),Is(c,24,Bs)),Is(c,24,Bs)),!!Es(c,1)),Gs(c)),Js(c)),Js(c)),Ks(c))}catch(d){return null}};function Os(a){if(!a)return null;a=a.split(".");if(a.length>4)return null;var b=Ns(a[0]);if(!b)return null;var c=new As;b=Mg(c,1,b);a.shift();a=w(a);c=a.next();var d;try{for(;!c.done;c=a.next()){var e=c.value;switch(Ps(e)){case 1:var f=Ls(e);if(!f)return null;Mg(b,3,f);break;case 2:break;case 3:var g=Ms(e);if(!g)return null;Mg(b,2,g);break;default:return null}}}finally{c&&!c.done&&(d=a.return)&&d.call(a)}return b} function Ps(a){try{var b=Pc(a).map(function(c){return c.toString(2).padStart(8,"0")}).join("");return Es(new Ds(b),3)}catch(c){return-1}};function Qs(a,b){var c={};if(Array.isArray(b)&&b.length!==0){var d=w(b);b=d.next();var e;try{for(;!b.done;b=d.next()){var f=b.value;c[f]=a.indexOf(f)!==-1}}finally{b&&!b.done&&(e=d.return)&&e.call(d)}}else{a=w(a);e=a.next();try{for(;!e.done;e=a.next())c[e.value]=!0}finally{e&&!e.done&&(d=a.return)&&d.call(a)}}delete c[0];return c};function Rs(){var a=Ib();return a?cc("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;Version/8.0 Safari/601.1 WPE;WebOS".split(";"),function(b){return Bb(a,b)})||Bb(a,"OMI/")&&!Bb(a,"XiaoMi/")?!0:Bb(a,"Presto")&&Bb(a,"Linux")&&!Bb(a,"X11")&&!Bb(a,"Android")&&!Bb(a,"Mobi"):!1} function Ss(){var a=Ib();return Bb(a,"AppleTV")||Bb(a,"Apple TV")||Bb(a,"CFNetwork")||Bb(a,"tvOS")}function Ts(a){a=a.userAgentData;return Array.isArray(a==null?void 0:a.brands)?a.brands.some(function(b){return b.brand.includes("kepler_webview")}):Bb(Ib(),"Kepler")}function Us(){var a;(a=Bb(Ib(),"CrKey")&&!(Bb(Ib(),"CrKey")&&Bb(Ib(),"SmartSpeaker"))||Bb(Ib(),"PlayStation")||Bb(Ib(),"Roku")||Rs()||Bb(Ib(),"Xbox")||Ss())||(a=Ib(),a=Bb(a,"sdk_google_atv_x86")||Bb(a,"Android TV"));return a};function Vs(a){this.h=this.G=this.o="";this.A=null;this.B=this.l="";this.F=!1;var b;a instanceof Vs?(this.F=a.F,Ws(this,a.o),this.G=a.G,Xs(this,a.h),Ys(this,a.A),this.l=a.l,Zs(this,a.j.clone()),this.B=a.B):a&&(b=String(a).match(ar))?(this.F=!1,Ws(this,b[1]||"",!0),this.G=$s(b[2]||""),Xs(this,b[3]||"",!0),Ys(this,b[4]),this.l=$s(b[5]||"",!0),Zs(this,b[6]||"",!0),this.B=$s(b[7]||"")):(this.F=!1,this.j=new at(null,this.F))} Vs.prototype.toString=function(){var a=[],b=this.o;b&&a.push(bt(b,ct,!0),":");var c=this.h;if(c||b=="file")a.push("//"),(b=this.G)&&a.push(bt(b,ct,!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.h&&c.charAt(0)!="/"&&a.push("/"),a.push(bt(c,c.charAt(0)=="/"?dt:et,!0));(c=this.j.toString())&&a.push("?",c);(c=this.B)&&a.push("#",bt(c,ft));return a.join("")}; Vs.prototype.resolve=function(a){var b=this.clone(),c=!!a.o;c?Ws(b,a.o):c=!!a.G;c?b.G=a.G:c=!!a.h;c?Xs(b,a.h):c=a.A!=null;var d=a.l;if(c)Ys(b,a.A);else if(c=!!a.l){if(d.charAt(0)!="/")if(this.h&&!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(Ab(e,"./")||Ab(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.j.toString()!=="";c?Zs(b,a.j.clone()):c=!!a.B;c&&(b.B=a.B);return b};Vs.prototype.clone=function(){return new Vs(this)}; var Ws=function(a,b,c){a.o=c?$s(b,!0):b;a.o&&(a.o=a.o.replace(/:$/,""))},Xs=function(a,b,c){a.h=c?$s(b,!0):b},Ys=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},Zs=function(a,b,c){b instanceof at?(a.j=b,gt(a.j,a.F)):(c||(b=bt(b,ht)),a.j=new at(b,a.F))},it=function(a,b,c){a.j.set(b,c)},jt=function(a,b){return a.j.get(b)},kt=function(a,b){return(!a.h&&!b.h||a.h==b.h)&&(a.A==null&&b.A==null||a.A==b.A)},lt=function(a){return a instanceof Vs?a.clone(): new Vs(a)},$s=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""},bt=function(a,b,c){return typeof a==="string"?(a=encodeURI(a).replace(b,mt),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null},mt=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)},ct=/[#\/\?@]/g,et=/[#\?:]/g,dt=/[#\?]/g,ht=/[#\?@]/g,ft=/#/g,at=function(a,b){this.j=this.h=null;this.l=a||null;this.o=!!b},nt=function(a){a.h||(a.h=new Map,a.j=0,a.l&&cr(a.l,function(b, c){a.add(zk(b),c)}))};at.prototype.add=function(a,b){nt(this);this.l=null;a=ot(this,a);var c=this.h.get(a);c||this.h.set(a,c=[]);c.push(b);this.j+=1;return this};at.prototype.remove=function(a){nt(this);a=ot(this,a);return this.h.has(a)?(this.l=null,this.j-=this.h.get(a).length,this.h.delete(a)):!1};at.prototype.clear=function(){this.h=this.l=null;this.j=0};at.prototype.isEmpty=function(){nt(this);return this.j==0};var pt=function(a,b){nt(a);b=ot(a,b);return a.h.has(b)};p=at.prototype; p.forEach=function(a,b){nt(this);this.h.forEach(function(c,d){c.forEach(function(e){a.call(b,e,d,this)},this)},this)};p.Ve=function(){nt(this);for(var a=Array.from(this.h.values()),b=Array.from(this.h.keys()),c=[],d=0;d0?String(a[0]):b}; p.toString=function(){if(this.l)return this.l;if(!this.h)return"";for(var a=[],b=Array.from(this.h.keys()),c=0;c0&&(this.l=null,this.h.set(ot(this,e),oc(c)),this.j+=c.length))},a));a.o=b};var qt="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(" "),rt=["c.googlesyndication.com"]; function tt(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:ut(a,rt)?c=!1:b.includes("https")&&ut(a,qt)&&(c=!0);return c?(a=new Vs(a),O(N.getInstance(),"htp","1"),Ws(a,"https"),a.toString()):a}function vt(a){if(!a)return!1;try{return(typeof a==="string"?new Vs(a):a).o==="gcache"}catch(b){return!1}}function wt(a){return vt(a)&&!!jt(new Vs(a),"url")} function xt(a){try{var b=typeof a==="string"?new Vs(a):a;if(vt(b)){var c,d;return(d=(c=jt(b,"url"))!=null?c:jt(b,"tag.check_url"))!=null?d:null}}catch(e){}return null}function ut(a,b){return(new RegExp("^https?://([a-z0-9-]{1,63}\\.)*("+b.join("|").replace(/\./g,"\\.")+")(:[0-9]+)?([/?#]|$)","i")).test(a)} function yt(a){a=new Vs(a);var b=a.h;if(a.o!=="http"&&a.o!=="https")a=!1;else if(b.indexOf(".")===-1||b.match(/^[\.0-9]*$/))a=!1;else a:{try{zk(a.toString())}catch(c){a=!1;break a}a=!0}return a};var zt=["image/jpeg","image/jpg","image/png","image/gif"];function At(a){if(a&&a.nodeName==="VAST")if(a=a.getAttribute("version")){O(N.getInstance(),"vast_v",a);a=a.split(".")[0].trim();var b=Number(a);a=isNaN(b)||a===""?null:Math.trunc(b)}else O(N.getInstance(),"vast_v","not_specified"),a=null;else O(N.getInstance(),"vast_v","error"),a=null;return a===null||a<2||a>4?!1:!0};function Bt(a,b){var c=window.screen.availHeight||window.screen.height;return(window.screen.availWidth||window.screen.width)-a<=0&&c-b<=42};var Ct="://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(" "),Dt=/\bocr\b/;function Et(a){if(E(Gk(a))||vc&&a.length>2048)return!1;try{if((new Vs(a)).B.match(Dt))return!0}catch(b){}return Ct.find(function(b){return a.match(b)!=null})!=null};function Ft(a){var b=!0;b=b===void 0?!1:b;a=a<0?0:a;a=b?a:Math.round(a);if(b){var c=Math.floor(a/3600);if(Number.isFinite(c)){c=String(c);var d=c.indexOf(".");d===-1&&(d=c.length);var e=c[0]==="-"?"-":"";e&&(c=c.substring(1));c=e+Fk("0",Math.max(0,2-d))+c}else c=String(c);c+=":";d=Math.floor(a/60)%60<10?"0":""}else c=a>=3600?Math.floor(a/3600)+":":"",d=Math.floor(a/60)%60<10&&a>=3600?"0":"";return""+c+d+Math.floor(a/60)%60+":"+(Math.floor(a%60)<10?"0":"")+Math.floor(a%60)+(b?(a%1).toFixed(3).slice(1): "")} function Gt(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};var Ht=function(a){this.timeoutMs=a;this.startTime=Date.now()};Ht.prototype.reset=function(){this.startTime=Date.now()};var It=function(a){a=a.startTime+a.timeoutMs-Date.now();return a>0?a:0};var Jt=function(a){this.url=a};var Kt=function(a,b){var c=Error.call(this,String(a));this.message=c.message;"stack"in c&&(this.stack=c.stack);this.errorCode=a;this.dj=b};u(Kt,Error);function Lt(a){if(typeof DOMParser!="undefined"){var b=new DOMParser;a=tk(a===null?"null":a===void 0?"undefined":a);return b.parseFromString(uk(a),"application/xml")}throw Error("Your browser does not support loading xml documents");};function Mt(a){a&&typeof a.dispose=="function"&&a.dispose()};function R(){this.G=this.G;this.F=this.F}R.prototype.G=!1;R.prototype.Hb=function(){return this.G};R.prototype.dispose=function(){this.G||(this.G=!0,this.R())};R.prototype[Symbol.dispose]=function(){this.dispose()};var Ot=function(a,b){Nt(a,Za(Mt,b))},Nt=function(a,b){a.G?b():(a.F||(a.F=[]),a.F.push(b))};R.prototype.R=function(){if(this.F)for(;this.F.length;)this.F.shift()()};var Pt=function(a,b){this.type=a;this.currentTarget=this.target=b;this.defaultPrevented=!1};Pt.prototype.preventDefault=function(){this.defaultPrevented=!0};function Qt(a,b){Pt.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.h=null;a&&this.init(a,b)}ab(Qt,Pt); Qt.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.h=a;a.defaultPrevented&&Qt.Sb.preventDefault.call(this)};Qt.prototype.preventDefault=function(){Qt.Sb.preventDefault.call(this);var a=this.h;a.preventDefault?a.preventDefault():a.returnValue=!1};var Rt="closure_listenable_"+(Math.random()*1E6|0),St=function(a){return!(!a||!a[Rt])};var Tt=0;function Ut(a,b,c,d,e){this.listener=a;this.proxy=null;this.src=b;this.type=c;this.capture=!!d;this.handler=e;this.key=++Tt;this.te=this.Ee=!1}var Vt=function(a){a.te=!0;a.listener=null;a.proxy=null;a.src=null;a.handler=null};function Wt(a){this.src=a;this.h={};this.j=0}Wt.prototype.add=function(a,b,c,d,e){var f=a.toString();a=this.h[f];a||(a=this.h[f]=[],this.j++);var g=Xt(a,b,d,e);g>-1?(b=a[g],c||(b.Ee=!1)):(b=new Ut(b,this.src,f,!!d,e),b.Ee=c,a.push(b));return b};Wt.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.h))return!1;var e=this.h[a];b=Xt(e,b,c,d);return b>-1?(Vt(e[b]),lc(e,b),e.length==0&&(delete this.h[a],this.j--),!0):!1}; var Yt=function(a,b){var c=b.type;c in a.h&&kc(a.h[c],b)&&(Vt(b),a.h[c].length==0&&(delete a.h[c],a.j--))};Wt.prototype.Yd=function(a,b,c,d){a=this.h[a.toString()];var e=-1;a&&(e=Xt(a,b,c,d));return e>-1?a[e]:null};var Xt=function(a,b,c,d){for(var e=0;e>>0),du=function(a){if(typeof a==="function")return a;a[lu]||(a[lu]=function(b){return a.handleEvent(b)});return a[lu]};function mu(a){R.call(this);this.j=a;this.h={}}ab(mu,R);var nu=[];mu.prototype.listen=function(a,b,c,d){Array.isArray(b)||(b&&(nu[0]=b.toString()),b=nu);for(var e=0;e=0;f--){var g=a.currentTarget=b[f];e=tu(g,d,!0,a)&&e}g=a.currentTarget=c;e=tu(g,d,!0,a)&&e;e=tu(g,d,!1,a)&&e;if(b)for(f=0;f0&&(a.C=setTimeout(a.ha.bind(a),a.D)),a.A=!0,a.h.send(b),a.A=!1}catch(q){yu(a)}};vu.prototype.ha=function(){typeof Ma!="undefined"&&this.h&&(this.o=8,this.dispatchEvent("timeout"),this.abort(8))}; var yu=function(a){a.j=!1;a.h&&(a.l=!0,a.h.abort(),a.l=!1);a.o=5;Bu(a);Cu(a)},Bu=function(a){a.J||(a.J=!0,a.dispatchEvent("complete"),a.dispatchEvent("error"))};vu.prototype.abort=function(a){this.h&&this.j&&(this.j=!1,this.l=!0,this.h.abort(),this.l=!1,this.o=a||7,this.dispatchEvent("complete"),this.dispatchEvent("abort"),Cu(this))};vu.prototype.R=function(){this.h&&(this.j&&(this.j=!1,this.l=!0,this.h.abort(),this.l=!1),Cu(this,!0));vu.Sb.R.call(this)}; vu.prototype.P=function(){this.Hb()||(this.M||this.A||this.l?Du(this):this.Z())};vu.prototype.Z=function(){Du(this)}; var Du=function(a){if(a.j&&typeof Ma!="undefined")if(a.A&&(a.h?a.h.readyState:0)==4)setTimeout(a.P.bind(a),0);else if(a.dispatchEvent("readystatechange"),(a.h?a.h.readyState:0)==4){a.j=!1;try{a.Ug()?(a.dispatchEvent("complete"),a.dispatchEvent("success")):(a.o=6,a.Fa(),Bu(a))}finally{Cu(a)}}},Cu=function(a,b){if(a.h){zu(a);var c=a.h;a.h=null;b||a.dispatchEvent("ready");try{c.onreadystatechange=null}catch(d){}}},zu=function(a){a.C&&(clearTimeout(a.C),a.C=null)};p=vu.prototype;p.isActive=function(){return!!this.h}; p.Ug=function(){var a=this.Fa(),b;if(!(b=uu(a))){if(a=a===0)a=String(this.N).match(ar)[1]||null,!a&&C.self&&C.self.location&&(a=C.self.location.protocol.slice(0,-1)),a=!wu.test(a?a.toLowerCase():"");b=a}return b};p.Fa=function(){try{return(this.h?this.h.readyState:0)>2?this.h.status:-1}catch(a){return-1}};p.Xe=function(){try{return this.h?this.h.responseText:""}catch(a){return""}};p.Wi=function(){try{return this.h?this.h.responseXML:null}catch(a){return null}}; p.Zd=function(){if(this.h){a:{var a=this.h.responseText;if(C.JSON)try{var b=C.JSON.parse(a);break a}catch(c){}b=Uo(a)}return b}};var Eu=function(a){if(a.h&&(a.h?a.h.readyState:0)==4)return a=a.h.getResponseHeader("Content-Type"),a===null?void 0:a};var Fu=function(){};Fu.prototype.get=function(a){var b=a.withCredentials,c=a.headers;return Gu({url:a.url,timeout:a.timeout,withCredentials:b===void 0?!0:b,method:"GET",headers:c===void 0?{}:c})};Fu.prototype.Cd=function(a){var b=a.url;var c=a.timeout;var d=a.withCredentials;d=d===void 0?!0:d;var e=a.headers;e=e===void 0?{}:e;a=a.content;a=a===void 0?void 0:a;b=new Vs(b);a||(a=b.j.toString(),Zs(b,""));return Gu({url:b.toString(),timeout:c,withCredentials:d,method:"POST",content:a,headers:e})}; var Gu=function(a){var b=a.url;var c=a.timeout;var d=a.withCredentials;var e=a.method;var f=a.content;var g=f===void 0?void 0:f;a=a.headers;var h=a===void 0?{}:a;var k,l;return A(function(m){switch(m.l){case 1:return m.A(2),m.h(Hu({url:b,timeout:c,withCredentials:d,method:e,content:g,headers:h}),4);case 4:return m.return(m.j);case 2:if(k=m.o(),l=k instanceof Error&&k.message==="6"||k instanceof Kt&&k.errorCode===6,!l||!d)throw k instanceof Error?k:Error(String(k));case 3:return m.h(Hu({url:b,timeout:c, withCredentials:!d,method:e,content:g,headers:h}),5);case 5:return m.return(m.j)}})},Hu=function(a){var b=a.url;var c=a.timeout;var d=a.withCredentials;var e=a.method;var f=a.content;var g=f===void 0?void 0:f;a=a.headers;var h=a===void 0?{}:a;var k,l,m,n,r,q,t,v,y,z;return A(function(B){if(B.l==1){k=new vu;k.H=d;k.D=Math.max(0,It(c));l=w(Object.entries(h));m=l.next();try{for(;!m.done;m=l.next())r=m.value,q=w(r),t=q.next().value,v=q.next().value,y=t,z=v,k.headers.set(y,z)}finally{m&&!m.done&&(n=l.return)&& n.call(l)}B.fa(2);return B.h(Iu(k,tt(b),e,g),4)}if(B.l!=2)return B.return(B.j);B.J();k.dispose();return B.M(0)})};function Iu(a,b,c,d){var e=Ju,f=new mu;return(new Promise(function(g,h){f.jc(a,"success",function(){try{g(e(a))}catch(k){h(k)}});f.jc(a,["error","timeout"],function(){return void h(new Kt(a.o,a.Fa()))});Au(a,b,c,d)})).finally(function(){f.dispose()})} function Ju(a){a:{if(Ss())try{a.Zd();var b="application/json";break a}catch(c){b="application/xml";break a}b=Eu(a)||""}if(b.indexOf("application/json")!==-1)try{return a.Zd()||{}}catch(c){throw new Kt(5,a.Fa());}b=a.Wi();b==null&&(a=a.Xe(),b=Lt(a));Pd(b,Td);return b}D("google.javascript.ads.imalib.common.UrlLoader",Fu);var Ku=function(){var a=this;this.promise=new Promise(function(b,c){a.resolve=b;a.reject=c})};var Lu=function(a){a=a===void 0?!0:a;this.l=0;this.h=new Map;this.j=a&&typeof window!=="undefined"&&window.fetch!=null},Pu=function(a,b,c,d){c=c===void 0?!1:c;d=d===void 0?!1:d;return A(function(e){if(e.l==1){e.A(2);b=d?tt(b,"https"):tt(b);c=c||Et(b);if(a.j)e=e.h(Mu(a,b,c),5);else{var f=e.h;var g=b;var h=c;g=Ss()?Nu(g):Ou(a,g,h);e=f.call(e,g,5)}return e}if(e.l!=2)return e.G(0);e.o();e.F()})},Qu=function(a){var b={keepalive:!0,method:"get",redirect:"follow",credentials:"include"};a&&(b.referrerPolicy= "no-referrer");b.mode="no-cors";return b},Mu=function(a,b,c){var d,e,f,g,h,k;return A(function(l){if(l.l==1)return O(N.getInstance(),"faa","1"),d=Qu(c),e=fetch(b,d).then(function(m){O(N.getInstance(),"fas","1");if(dq(yq)&&b.includes("/pagead/adview")){var n=window,r={};if(m=m.headers.get("X-Ad-Event-Value"))try{var q=JSON.parse(m);r.revenueCurrency=q.currency;r.revenueMicros=q.value;var t=n.parent;r.googMsgType="aevi";t.postMessage(JSON.stringify(r),"*")}catch(v){}}},function(){O(N.getInstance(), "faf","1");a.j=!1;return Ss()?Nu(b):Ou(a,b,c)}),f=w,l.h(Promise.allSettled([e]),2);g=f(l.j);k=h=g.next().value;if(k.status==="rejected")throw Error(k.reason);l.F()})},Ou=function(a,b,c){var d=new Ku,e=El("IMG",window.document),f=(a.l++).toString();a.h.set(f,e);e.addEventListener("load",function(){a.h.delete(f);d.resolve()});e.addEventListener("error",function(g){a.h.delete(f);d.reject(g)});c&&(e.referrerPolicy="no-referrer");e.src=b;return d.promise},Nu=function(a){var b;return A(function(c){b=new Fu; return c.h(b.get({url:a,timeout:new Ht(5E3)}),0)})},Su=function(a){var b=new Lu(Ru());var c=c===void 0?!1:c;a.map(function(d){return Pu(b,d,c)})},Tu=function(a,b,c){c=c===void 0?!1:c;b.map(function(d){return Pu(a,d.url,c===void 0?!1:c,!1)})};var Uu=/(?:\[|%5B)([a-zA-Z0-9_]+)(?:\]|%5D)/g;function Vu(a,b){return a.replace(Uu,function(c,d){d=b.get(d);if(d==null)return c;if(d.h==null)var e=!0;else try{e=d.h(a)||!1}catch(g){e=!1}if(e){b:{try{var f=d.j.toString();break b}catch(g){}f=null}e=f;e=e==null||e!==""&&E(Gk(e))?null:encodeURIComponent(e).replace(/%2C/g,",")}else e=null;return e!=null?e:c})};function Wu(){try{var a=window.top.location.href}catch(b){return 2}return a==null?2:a===window.document.location.href?0:1}function Xu(a){var b=hq(),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 Yu={},Zu=(Yu.iframe="IFrame",Yu["static"]="Static",Yu.html="Html",Yu[""]="",Yu),$u={Fo:"IABUSPrivacy_String",no:"IABTCF_gdprApplies",Eo:"IABTCF_TCString",mo:"IABTCF_AddtlConsent",lo:"IABGPP_HDR_GppString",ko:"IABGPP_GppSID"};function av(a){var b={};a=w(Object.entries(a));var c=a.next(),d;try{for(;!c.done;c=a.next()){var e=w(c.value),f=e.next().value,g=e.next().value,h=f,k=g;k!=null&&(b[h]=String(k))}}finally{c&&!c.done&&(d=a.return)&&d.call(a)}return b};var bv={bk:"api-key",fk:"auth-token",Ln:"cld",vk:"givn",Sk:"dai-sam-id",Tk:"sas",Kp:"targeting_parameters",Rp:"dai-hls-itstl"};var cv="acceptInvitation acceptInvitationLinear click collapse complete exitFullscreen expand firstQuartile fullscreen impression loaded midpoint pause resume skip start thirdQuartile videoClicked volumeChange".split(" ");function dv(){this.blockSize=-1};function ev(a,b){this.blockSize=-1;this.blockSize=64;this.o=C.Uint8Array?new Uint8Array(this.blockSize):Array(this.blockSize);this.l=this.j=0;this.h=[];this.B=a;this.A=b;this.F=C.Int32Array?new Int32Array(64):Array(64);fv===void 0&&(C.Int32Array?fv=new Int32Array(gv):fv=gv);this.reset()}ab(ev,dv);var hv=[].concat(128,sc(0,63));ev.prototype.reset=function(){this.l=this.j=0;this.h=C.Int32Array?new Int32Array(this.A):oc(this.A)}; var iv=function(a){for(var b=a.o,c=a.F,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.h[0]|0;d=a.h[1]|0;e=a.h[2]|0;for(var f=a.h[3]|0,g=a.h[4]|0,h=a.h[5]|0,k=a.h[6]|0,l=a.h[7]|0,m=0;m<64;m++){var n=((b>>>2|b<<30)^(b>>>13|b<<19)^(b>>>22|b<<10))+(b&d^b&e^d&e)|0,r=(l+((g>>>6|g<<26)^(g>>>11|g<<21)^(g>>>25|g<<7))|0)+(((g&h^ ~g&k)+(fv[m]|0)|0)+(c[m]|0)|0)|0;l=k;k=h;h=g;g=f+r|0;f=e;e=d;d=b;b=r+n|0}a.h[0]=a.h[0]+b|0;a.h[1]=a.h[1]+d|0;a.h[2]=a.h[2]+e|0;a.h[3]=a.h[3]+f|0;a.h[4]=a.h[4]+g|0;a.h[5]=a.h[5]+h|0;a.h[6]=a.h[6]+k|0;a.h[7]=a.h[7]+l|0},jv=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&&(iv(a),e=0)}else throw Error("message must be string or array");a.j=e;a.l+=c},kv=function(a){var b=[],c=a.l*8;a.j<56?jv(a,hv,56-a.j):jv(a,hv,a.blockSize-(a.j-56));for(var d=63;d>=56;d--)a.o[d]=c&255,c/=256;iv(a);for(d=c=0;d=0;e-=8)b[c++]=a.h[d]>>e&255;return b},gv=[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],fv;function lv(){ev.call(this,8,mv)}ab(lv,ev);var mv=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225];var wv=function(a,b){return a.indexOf(b)==0?a.substr(b.length):null};var xv=RegExp("^https?://(\\w|-)+\\.cdn\\.ampproject\\.(net|org)(\\?|/|$)"),Bv=function(a){a=a||yv();for(var b=new zv(C.location.href,!1),c=null,d=a.length-1,e=d;e>=0;--e){var f=a[e];!c&&xv.test(f.url)&&(c=f);if(f.url&&!f.h){b=f;break}}e=null;f=a.length&&a[d].url;b.depth!==0&&f&&(e=a[d]);return new Av(b,e,c)},yv=function(){var a=C,b=[],c=null;do{var d=a;if(Pj(d)){var e=d.location.href;c=d.document&&d.document.referrer||null}else e=c,c=null;b.push(new zv(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=C;if(d.location&&d.location.ancestorOrigins&&d.location.ancestorOrigins.length===b.length-1)for(a=1;a0?[].concat(x(a)).join(","):"":""};var Ev=function(a){this.h=a},Fv=function(a,b){return Pl(a.h,b)&&(a=a.h[b],typeof a==="boolean")?a:!1},Gv=function(a){if(Pl(a.h,"forceExperimentIds")){a=a.h.forceExperimentIds;var b=[],c=0;Array.isArray(a)&&a.forEach(function(d){typeof d==="number"&&(b[c++]=d)});return b}return null};var Hv=function(){this.l="&";this.j={};this.o=0;this.h=[]},Iv=function(a,b){var c={};c[a]=b;return[c]},Kv=function(a,b,c,d,e){var f=[];Oj(a,function(g,h){(g=Jv(g,b,c,d,e))&&f.push(encodeURIComponent(h)+"="+g)});return f.join(b)},Jv=function(a,b,c,d,e){if(a==null)return"";b=b||"&";c=c||",$";Vd(c)&&(c=c.split(""));if(a instanceof Array){if(d||(d=0),d=l.length){c-=l.length;b+=l;e=a.l;break}d= d==null?g:d}}a="";d!=null&&(a=""+e+"trn="+d);return b+a},Nv=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 Qv=function(a,b){this.h=a;this.depth=b},Sv=function(){var a=yv(),b=Math.max(a.length-1,0),c=Bv(a);a=c.h;var d=c.j,e=c.l,f=[];c=function(h,k){return h==null?k:h};e&&f.push(new Qv([e.url,e.h?2:0],c(e.depth,1)));d&&d!=e&&f.push(new Qv([d.url,2],0));a.url&&a!=e&&f.push(new Qv([a.url,0],c(a.depth,b)));var g=ac(f,function(h,k){return f.slice(0,f.length-k)});!a.url||(e||d)&&a!=e||(d=Kk(a.url))&&g.push([new Qv([d,1],c(a.depth,b))]);g.push([]);return ac(g,function(h){return Rv(b,h)})}; function Rv(a,b){var c=bc(b,function(e,f){return Math.max(e,f.depth)},-1),d=sc("",c+2);d[0]=a;Yb(b,function(e){return d[e.depth+1]=e.h});return d}function Tv(){var a=a===void 0?Sv():a;return a.map(function(b){return Jv(b)})};/* 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 Uv="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split("");function Vv(){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]=Uv[d==19?c&3|8:c]);return a.join("")};var Wv=function(){this.P="always";this.fa=4;this.J=null;this.F=1;this.G=0;this.N=!0;this.locale="en";this.B=!0;this.ra=this.C=this.D=!1;this.ha=this.Z="";this.A=null;this.o=this.l=this.h="";this.V=!1;this.H=null;this.M=Vv();this.la=null;this.j={};try{this.H=Sv()[0]}catch(a){}},Xv=function(a){a=Gk(a);E(a)||(a=a.substring(0,20));return a};p=Wv.prototype;p.setCompanionBackfill=function(a){this.P=a};p.getCompanionBackfill=function(){return this.P};p.setNumRedirects=function(a){this.fa=a}; p.getNumRedirects=function(){return this.fa};p.setPpid=function(a){this.J=a};p.getPpid=function(){return this.J};p.setVpaidAllowed=function(a){typeof a==="boolean"&&(this.F=a?1:0)};p.setVpaidMode=function(a){this.F=a};p.setAutoPlayAdBreaks=function(a){this.N=a};p.setPreloadTimeSeconds=function(a){this.la=a};p.getPreloadTimeSeconds=function(){return this.la};p.setLocale=function(a){if(a=Gt(a))this.locale=a};p.getLocale=function(){return this.locale};p.setPlayerType=function(a){this.Z=Xv(a)}; p.getPlayerType=function(){return this.Z};p.setPlayerVersion=function(a){this.ha=Xv(a)};p.getPlayerVersion=function(){return this.ha};var Yv=function(a){if(a.A==null){var b={};var c=(new Vs(em().location.href)).j;if(pt(c,"tcnfp"))try{b=JSON.parse(c.get("tcnfp"))}catch(d){}a.A=new Ev(b)}return a.A};p=Wv.prototype;p.setDisableCustomPlaybackForIOS10Plus=function(a){this.V=a};p.getDisableCustomPlaybackForIOS10Plus=function(){return this.V};p.setSessionId=function(a){this.M=a}; p.setFeatureFlags=function(a){this.j=a};p.getFeatureFlags=function(){return this.j};var $v=function(a){var b=Zv;return b.j.hasOwnProperty(a)&&!!b.j[a]}; Wv.prototype.ia=function(a){a=a===void 0?null:a;var b={};a!=null&&(b.activeViewPushUpdates=a);b.activityMonitorMode=this.G;b.adsToken=this.h;b.autoPlayAdBreaks=this.N;b.companionBackfill=this.getCompanionBackfill();b.disableCustomPlaybackForIOS10Plus=this.getDisableCustomPlaybackForIOS10Plus();b.engagementDetection=this.B;b.isFunctionalTest=this.C;b.isVpaidAdapter=this.D;b["1pJar"]=this.l;b.numRedirects=this.getNumRedirects();b.pageCorrelator=-1;b.persistentStateCorrelator=fo();b.playerType=this.getPlayerType(); b.playerVersion=this.getPlayerVersion();b.ppid=this.getPpid();b.preloadTimeSeconds=this.getPreloadTimeSeconds();b.privacyControls=this.o;b.reportMediaRequests=this.ra;b.sessionId=this.M;b.streamCorrelator=-1;b.testingConfig=Yv(this).h;b.urlSignals=this.H;b.vpaidMode=this.F;b.featureFlags=this.getFeatureFlags();return b}; Wv.prototype.vg=function(a){if(a!=null){var b=a.activityMonitorMode;b!=null&&(this.G=b);b=a.autoPlayAdBreaks;b!=null&&this.setAutoPlayAdBreaks(b);b=a.companionBackfill;b!=null&&this.setCompanionBackfill(b);b=a.disableCustomPlaybackForIOS10Plus;b!=null&&this.setDisableCustomPlaybackForIOS10Plus(b);b=a.engagementDetection;b!=null&&(this.B=b);b=a.isFunctionalTest;b!=null&&(this.C=b);b=a.isVpaidAdapter;b!=null&&(this.D=b);b=a.numRedirects;b!=null&&this.setNumRedirects(b);b=a.playerType;b!=null&&this.setPlayerType(b); b=a.playerVersion;b!=null&&this.setPlayerVersion(b);b=a.ppid;b!=null&&this.setPpid(b);b=a.preloadTimeSeconds;b!=null&&this.setPreloadTimeSeconds(b);b=a.reportMediaRequests;b!=null&&(this.ra=b);b=a.sessionId;b!=null&&this.setSessionId(b);b=a.testingConfig;b!=null&&(this.A=new Ev(b));b=a.urlSignals;b!=null&&(this.H=b);b=a.vpaidMode;b!=null&&this.setVpaidMode(b);b=a.featureFlags;b!=null&&this.setFeatureFlags(b);this.h=a.adsToken||"";this.l=a["1pJar"]||"";this.o=a.privacyControls||""}};var Zv=new Wv;function aw(a,b){return a.kc!==b.kc?a.kc-b.kc:a.oc!==b.oc?a.oc-b.oc:a.rc!==b.rc?a.rc-b.rc:0}function bw(a){a=a.split(".");if(a.length!==3)return null;var b=w(a),c=b.next().value;a=b.next().value;b=b.next().value;if(!c||!a||!b)return null;c=Number(c);a=Number(a);b=Number(b);return Number.isNaN(c)||Number.isNaN(a)||Number.isNaN(b)?null:{kc:c,oc:a,rc:b}};function cw(a){if(a==null||a==="")return null;var b=new RegExp([/^/,/(ios|tvos|android|kepler|[A-Za-z]*)/,/(?:([^:]*))?/,/(?::([^:]*))?/,/(?::([^:]*))?/,/(?::([^:]*))?/,/(?::([^:]*))?/].map(function(k){return k.source}).join(""));a=a==null?void 0:a.match(b);if(a==null)return{platform:null,platformVersion:null,Kf:null,wh:null,Oc:"null.null",ji:null,md:null,canonicalUrl:dw(null,null)};b=a[1];var c,d=(c=a[3])!=null?c:null;c=d?bw(d):null;var e,f=(e=a[4])!=null?e:null,g,h;return{platform:b,platformVersion:(g= a[2])!=null?g:null,Kf:d,wh:c,Oc:(b!=null?b:"null")+"."+(d!=null?d:"null"),ji:f,md:(h=a[5])!=null?h:null,canonicalUrl:dw(b,f)}}function dw(a,b){return"//mbapp"+encodeURIComponent(String(ew(a)+"-"+(b!=null?b:"null")))+".com"}function ew(a){switch(a){case "ios":case "tvos":return 1;case "android":return 2;case "kepler":return 7;default:return 0}};var fw=function(a){return A(function(b){return b.l==1?b.h(a.h.promise,2):b.return({serializedConfig:a.serializedConfig,errorMessage:a.j,latencyMs:a.l})})},jw=function(){var a=gw,b=hw,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?iw(a,Error("status: "+d.status)):(a.j=null,a.serializedConfig=d.responseText,a.h.resolve())};d.onerror=function(){a.l=Date.now()-c;iw(a,Error("status: "+d.status))};d.send()},iw=function(a,b){a.serializedConfig= null;a.j=b.message;a.h.resolve()},kw=new function(){this.o=function(){return new XMLHttpRequest};this.h=new Ku;this.j=this.serializedConfig=null;this.l=0}; function lw(){var a=mw;var b=a.appName;var c=a.qc;a=a.pageUrl;var d=new URL("https://securepubads.g.doubleclick.net/pagead/ima_ppub_config");if(b&&c){switch(c){case "android":d.searchParams.set("msid",b);break;case "ios":case "tvos":case "kepler":d.searchParams.set("an",b)}return d.toString()}return a?(d.searchParams.set("ippd",a),d.toString()):null};var nw=function(a){var b=a;b:{if(b&&typeof b==="object"){a=w(Object.values($u));var c=a.next(),d;try{for(;!c.done;c=a.next())if(b.hasOwnProperty(c.value)){var e=!0;break b}}finally{c&&!c.done&&(d=a.return)&&d.call(a)}}e=!1}if(e){var f,g,h,k,l,m;e={};a=(e.uspString=(f=b.IABUSPrivacy_String)!=null?f:null,e.gdprApplies=(g=b.IABTCF_gdprApplies)!=null?g:null,e.tcString=(h=b.IABTCF_TCString)!=null?h:null,e.addtlConsent=(k=b.IABTCF_AddtlConsent)!=null?k:null,e.gppString=(l=b.IABGPP_HDR_GppString)!=null? l:null,e.gppSid=(m=b.IABGPP_GppSID)!=null?m:null,e)}else a=b;b=a.uspString;this.uspString=typeof b==="string"?b:"";b=a.gdprApplies;this.l=typeof b==="boolean"?b?"1":"0":typeof b!=="number"||b!==1&&b!==0?typeof b!=="string"||b!=="1"&&b!=="0"?"":b==="1"?"1":"0":b===1?"1":"0";b=a.tcString;this.h=typeof b==="string"?b:"";/^[\.\w_-]*$/.test(this.h)||(this.h=encodeURIComponent(this.h));b=a.addtlConsent;this.j=typeof b==="string"?b:"";b=a.gppString;this.gppString=typeof b==="string"?b:"";a=a.gppSid;this.o= typeof a==="string"?a:""};var ow=function(a){this.I=H(a)};u(ow,K);function pw(a){a.addtlConsent===void 0||Vd(a.addtlConsent)||(a.addtlConsent=void 0);a.gdprApplies===void 0||Wd(a.gdprApplies)||(a.gdprApplies=void 0);return a.tcString!==void 0&&!Vd(a.tcString)||a.listenerId!==void 0&&!Ud(a.listenerId)?2:a.cmpStatus&&a.cmpStatus!=="error"?0:3}var qw=function(a,b){b=b===void 0?{}:b;R.call(this);this.h=null;this.o={};this.A=0;this.l=null;this.j=a;var c;this.timeoutMs=(c=b.timeoutMs)!=null?c:500;var d;this.Td=(d=b.Td)!=null?d:!1};u(qw,R); qw.prototype.R=function(){this.o={};this.l&&(Lm(this.j,"message",this.l),delete this.l);delete this.o;delete this.j;delete this.h;R.prototype.R.call(this)}; var tw=function(a){return typeof a.j.__tcfapi==="function"||rw(a)!=null},ww=function(a,b){var c={internalErrorState:0,internalBlockOnErrors:a.Td},d=Tj(function(){b(c)}),e=0;a.timeoutMs!==-1&&(e=setTimeout(function(){e=0;c.tcString="tcunavailable";c.internalErrorState=1;d()},a.timeoutMs));uw(a,"addEventListener",function(f){f&&(c=f,c.internalErrorState=pw(c),c.internalBlockOnErrors=a.Td,vw(c)?(c.internalErrorState!==0&&(c.tcString="tcunavailable"),uw(a,"removeEventListener",null,c.listenerId),(f=e)&& clearTimeout(f),d()):(c.cmpStatus==="error"||c.internalErrorState!==0)&&(f=e)&&clearTimeout(f))})}; qw.prototype.addEventListener=function(a){var b=this,c={internalBlockOnErrors:this.Td},d=Tj(function(){a(c)}),e=0;this.timeoutMs!==-1&&(e=setTimeout(function(){c.tcString="tcunavailable";c.internalErrorState=1;d()},this.timeoutMs));var f=function(g,h){clearTimeout(e);g?(c=g,c.internalErrorState=pw(c),c.internalBlockOnErrors=b.Td,h&&c.internalErrorState===0||(c.tcString="tcunavailable",h||(c.internalErrorState=3))):(c.tcString="tcunavailable",c.internalErrorState=3);a(c)};try{uw(this,"addEventListener", f)}catch(g){c.tcString="tcunavailable",c.internalErrorState=3,e&&(clearTimeout(e),e=0),d()}};qw.prototype.removeEventListener=function(a){a&&a.listenerId&&uw(this,"removeEventListener",null,a.listenerId)}; var xw=function(a,b){return!(!a||!a[b])},uw=function(a,b,c,d){c||(c=function(){});var e=a.j;typeof e.__tcfapi==="function"?(a=e.__tcfapi,a(b,2,c,d)):rw(a)?(yw(a),e=++a.A,a.o[e]=c,a.h&&(c={},a.h.postMessage((c.__tcfapiCall={command:b,version:2,callId:e,parameter:d},c),"*"))):c({},!1)},rw=function(a){if(a.h)return a.h;a.h=Cl(a.j,"__tcfapiLocator");return a.h},yw=function(a){if(!a.l){var b=function(c){if(c.source===a.h)try{var d=(Vd(c.data)?JSON.parse(c.data):c.data).__tcfapiReturn;a.o[d.callId](d.returnValue, d.success)}catch(e){}};a.l=b;Km(a.j,"message",b)}},vw=function(a){if(a.gdprApplies===!1)return!0;a.internalErrorState===void 0&&(a.internalErrorState=pw(a));return a.cmpStatus==="error"||a.internalErrorState!==0?a.internalBlockOnErrors?(Pm({e:String(a.internalErrorState)},"tcfe"),!1):!0:a.cmpStatus!=="loaded"||a.eventStatus!=="tcloaded"&&a.eventStatus!=="useractioncomplete"?!1:!0};function zw(a){return a==="1"||a==="true"}function Aw(a){a.forEach(function(b,c,d){b===""&&d.delete(c)})}var Bw=function(a,b,c,d){b=b===void 0?{}:b;c=c===void 0?{}:c;d=d===void 0?!1:d;this.j=a===void 0?!1:a;this.l=d;this.adTagParameters=av(b);this.h=new nw(c)};Bw.prototype.replaceAdTagParameters=function(a){this.adTagParameters=av(a)}; var Ew=function(a){var b=Cw(a);if(b==="tcunavailable")return null;var c;a=Dw(a);var d=Os(b);if(d&&b){var e=J(d,fs,1),f=J(d,as,2)||new as,g={consents:Qs(Yg(e,17)),legitimateInterests:Qs(Yg(e,18))},h=d.I;Fg(h,h[G]|0,Yr,3)!==void 0&&(d=J(d,Yr,3),d=Yg(d,1),g.disclosedVendors=Qs(d));d=Sg(e,9);h=Sg(e,4);var k=Sg(e,5),l=Rg(e,10),m=Rg(e,11),n=Wg(e,16),r=Rg(e,15),q={consents:Qs(mg(e,13,Pe,lg()),Bs),legitimateInterests:Qs(mg(e,14,Pe,lg()),Bs)},t=Qs(mg(e,12,Pe,lg()),Cs),v=Kg(e,$r,19,lg());e={};v=w(v);var y= v.next(),z;try{for(;!y.done;y=v.next()){var B=y.value,F=Xg(B,1);e[F]=e[F]||{};var I=Yg(B,3);var M=w(I),Q=M.next(),U;try{for(;!Q.done;Q=M.next())e[F][Q.value]=Xg(B,2)}finally{Q&&!Q.done&&(U=M.return)&&U.call(M)}}}finally{y&&!y.done&&(z=v.return)&&z.call(v)}b={tcString:b,tcfPolicyVersion:d,gdprApplies:a,cmpId:h,cmpVersion:k,isServiceSpecific:l,useNonStandardStacks:m,publisherCC:n,purposeOneTreatment:r,purpose:q,vendor:g,specialFeatureOptins:t,publisher:{restrictions:e,consents:Qs(mg(f,1,Pe,lg()),Bs), legitimateInterests:Qs(mg(f,2,Pe,lg()),Bs),customPurposes:{consents:Qs(Yg(f,3)),legitimateInterests:Qs(Yg(f,4))}}}}else b=null;return(c=b)!=null?c:null},Fw=function(a,b){if(a.adTagParameters.hasOwnProperty(b))return a.adTagParameters[b]},Gw=function(a){var b=Fw(a,"us_privacy");return a.h.uspString||b||""},Hw=function(a){var b=Fw(a,"gdpr");a=a.h.l;return a==="1"||a==="0"?a:b!==void 0?b:""},Cw=function(a){var b=a.h.h;a=Fw(a,"gdpr_consent");return b&&b!=="tcunavailable"?b:b==="tcunavailable"?a||b:a|| ""},Jw=function(a){var b;if(!(b=Iw(a))){if(Dw(a)){a=Ew(a);if(b=!!a){var c=c===void 0?{}:c;if(vw(a))if(a.gdprApplies===!1)var d=!0;else if(a.tcString==="tcunavailable")d=!c.idpcApplies;else if((c.idpcApplies||a.gdprApplies!==void 0||c.hq)&&(c.idpcApplies||Vd(a.tcString)&&a.tcString.length)){d=d===void 0?"755":d;c:{if(a.publisher&&a.publisher.restrictions&&(c=a.publisher.restrictions["1"],c!==void 0)){c=c[d===void 0?"755":d];break c}c=void 0}d=c===0?!1:a.purpose&&a.vendor?(d=xw(a.vendor.consents,d=== void 0?"755":d))&&a.purposeOneTreatment&&a.publisherCC==="CH"?!0:d&&xw(a.purpose.consents,"1"):!0}else d=!0;else d=!1;b=d}d=b}else d=!0;b=!d}return b},Kw=function(a){if(a.j){var b=Fw(a,"tfcd");b=b==="0"||b==="false"?(0).toString():zw(b)?(1).toString():""}else b="";(b=b===(1).toString())||(a.j?(b=Fw(a,"tfua"),b=b==="0"||b==="false"?(0).toString():zw(b)?(1).toString():""):b="",b=b===(1).toString());b||(a.j?(a=Fw(a,"tfat"),a=a===(0).toString()||a===(1).toString()||a===(2).toString()?a:""):a="",b=a=== (1).toString());return b},Iw=function(a){a=Fw(a,"ltd");return zw(a)},Dw=function(a){var b=Hw(a).toLowerCase();return b==="true"||b==="1"||a.l},Lw=function(a){var b=new ow,c=!Jw(a);fh(b,5,c);a=Dw(a)?(a=Ew(a))&&a.tcString!=="tcunavailable"?a.gdprApplies?a.vendor?a.vendor.disclosedVendors===void 0?!0:xw(a.vendor.consents,"755")||xw(a.vendor.legitimateInterests,"755")||xw(a.vendor.disclosedVendors,"755"):!1:!0:!0:!0;fh(b,17,a);return b};var Mw=function(a){this.I=H(a)};u(Mw,K);Mw.prototype.getVersion=function(){return Wg(this,2)};var Nw=function(a){this.I=H(a)};u(Nw,K);var Ow=function(a,b){return kh(a,2,b)},Pw=function(a,b){return kh(a,3,b)},Qw=function(a,b){return kh(a,4,b)},Rw=function(a,b){return kh(a,5,b)},Sw=function(a,b){return kh(a,9,b)},Tw=function(a,b){return Og(a,10,b)},Uw=function(a,b){return fh(a,11,b)},Vw=function(a,b){return kh(a,1,b)},Ww=function(a,b){return fh(a,7,b)};var Xw="platform platformVersion architecture model uaFullVersion bitness fullVersionList wow64".split(" ");function Yw(a){var b;return(b=a.google_tag_data)!=null?b:a.google_tag_data={}}function Zw(a){var b,c;return typeof((b=a.navigator)==null?void 0:(c=b.userAgentData)==null?void 0:c.getHighEntropyValues)==="function"} function $w(){var a=window;if(!Zw(a))return null;var b=Yw(a);if(b.uach_promise)return b.uach_promise;a=a.navigator.userAgentData.getHighEntropyValues(Xw).then(function(c){b.uach!=null||(b.uach=c);return c});return b.uach_promise=a} function ax(a){var b;return Uw(Tw(Rw(Ow(Vw(Qw(Ww(Sw(Pw(new Nw,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 Mw;d=kh(d,1,c.brand);return kh(d,2,c.version)}))||[]),a.wow64||!1)}function bx(){var a,b;return(b=(a=$w())==null?void 0:a.then(function(c){return ax(c)}))!=null?b:null};var dx=function(){this.ha=this.Z=this.appName=null;this.ka=new Bw;this.Xl=null;this.C=!1;this.Km=this.D=this.F=this.j=this.B=null;this.gn=!1;this.secureSignals=null;this.dm=!1;this.Bm=Vv();this.deviceId="";this.Hm=this.Gm=this.md=null;this.l="";this.H=-1;this.G=this.J="";this.Rg=this.M=this.Rk=this.fe=this.Ym=!1;this.il=0;this.Tb=null;this.N=!1;this.o=null;this.ra=!1;this.Ub=this.Oc=this.qc=this.nn=this.ln=this.Ua=this.P=this.Ca=this.h=null;this.on=[];this.qn=!1;this.Od=this.Vb=this.hk=this.gk=null; this.Pd=!1;this.Bl=1;this.Vl=0;this.nk=Dl();this.la=this.hm=null;this.Ce=new Map;this.referrer=this.Ql=null;this.De=!1;this.wk=this.xk=this.uk=this.rk=null;this.Ni=this.zi=this.Jk=this.Fk=this.Ek=this.Dk=this.yk=this.A=!1;this.Vc=this.Lk=this.V=this.Kk=null;this.Mk=this.Uj=this.Ri=!1;this.Ok=null;this.fa="";this.wa=new yn;this.lk=this.globalPlacementId=this.Wl=null;this.Tm=new vn;cx(this)},ex=function(a){var b=a.Oc,c=a.appName,d=a.N,e=a.Rg;a=a.Tb;var f=Zv,g="h.3.792.0";b!=null?(g+="/n."+b,c!=null&& (g+="/"+c)):f.D&&(g+="/vpaid_adapter");d&&(g+="/ima_eap");e&&(g+="/ima_cast");a&&(g+="/n."+a);return g},fx=function(a,b){if(a.supportsExternalNavigation!=null)return a.supportsExternalNavigation;a=b==null?void 0:b.wh;if(!a)return!1;switch(b==null?void 0:b.platform){case "android":return aw({kc:3,oc:16,rc:2},a)<=0;case "ios":return aw({kc:3,oc:11,rc:1},a)<=0;default:return!1}},cx=function(a){var b=bx();b&&b.then(function(c){c==null?c=null:(c=c.ia(),c=Lc(qb(c),3));a.Vc=c})};dx.getInstance=function(){return L(dx)}; var gx=Math.floor(Math.random()*4503599627370496);function hx(a,b){it(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);it(a,"url",d)}catch(g){}return a.toString()};var ix=new Lu;function jx(a){var b=b===void 0?ix:b;Pu(b,(new Jt(a)).url,!1,!1)};var kx=function(){this.l=Math.random();this.j=Math.floor(Math.random()*4503599627370496);this.h=null};kx.prototype.report=function(a,b,c){b=b===void 0?{}:b;lx(this,c===void 0?.01:c)&&mx(this,a,b)}; var mx=function(a,b,c){c=c===void 0?{}:c;if(C.G_testRunner==null){c.lid=b;ex(dx.getInstance())&&(c.sdkv=ex(dx.getInstance()));a.h&&(c.palv=a.h);b=iq();E(Gk(b))||(c.e=b);c=nx(a,c);var d=new Vs("https://pagead2.googlesyndication.com/pagead/gen_204");Il(c,function(e,f){e!=null&&it(d,f,e==null?"":typeof e==="boolean"?e?"t":"f":""+e)},a);Zv.C||(a=d.toString(),c=jt(d,"url"),c!=null&&Pb()&&a.length>2083&&(a=hx(d,c)),jx(a))}},nx=function(a,b){b.id="ima_html5";var c=em();var d=document;c=new Vs(c.parent=== c?c.location.href:d.referrer);b.c=a.j;b.domain=c.h;return b},lx=function(a,b){return a.l<(b===void 0?.01:b)};kx.getInstance=function(){return L(kx)};function ox(a,b,c,d){var e,f,g;a=((g=(e=J(a,Ej,2))==null?void 0:(f=Kg(e,Dj,1,lg()))==null?void 0:f.map(function(h){return Wg(h,1)}))!=null?g:[]).some(function(h){return h===b});kx.getInstance().report(190,{fm:a,fl:c,nc:b,t:d,b:"daiWeb"})};var px=function(a,b){this.l=a;this.o=b;this.j=0;this.h=null};px.prototype.get=function(){if(this.j>0){this.j--;var a=this.h;this.h=a.next;a.next=null}else a=this.l();return a};var qx=function(a,b){a.o(b);a.j<100&&(a.j++,b.next=a.h,a.h=b)};var rx=function(){this.j=this.h=null};rx.prototype.add=function(a,b){var c=sx.get();c.set(a,b);this.j?this.j.next=c:this.h=c;this.j=c};rx.prototype.remove=function(){var a=null;this.h&&(a=this.h,this.h=this.h.next,this.h||(this.j=null),a.next=null);return a};var sx=new px(function(){return new tx},function(a){return a.reset()}),tx=function(){this.next=this.h=this.j=null};tx.prototype.set=function(a,b){this.j=a;this.h=b;this.next=null};tx.prototype.reset=function(){this.next=this.h=this.j=null};var ux,vx=!1,wx=new rx,yx=function(a,b){ux||xx();vx||(ux(),vx=!0);wx.add(a,b)},xx=function(){var a=Promise.resolve(void 0);ux=function(){a.then(zx)}};function zx(){for(var a;a=wx.remove();){try{a.j.call(a.h)}catch(b){nb(b)}qx(sx,a)}vx=!1};var Ax=function(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(b){return!1}};var Cx=function(a){this.h=0;this.F=void 0;this.o=this.j=this.l=null;this.A=this.B=!1;if(a!=Rj)try{var b=this;a.call(void 0,function(c){Bx(b,2,c)},function(c){Bx(b,3,c)})}catch(c){Bx(this,3,c)}},Dx=function(){this.next=this.context=this.j=this.l=this.h=null;this.o=!1};Dx.prototype.reset=function(){this.context=this.j=this.l=this.h=null;this.o=!1}; var Ex=new px(function(){return new Dx},function(a){a.reset()}),Fx=function(a,b,c){var d=Ex.get();d.l=a;d.j=b;d.context=c;return d},Hx=function(a,b,c){Gx(a,b,c,null)||yx(Za(b,a))},Ix=function(a){return new Cx(function(b){var c=a.length,d=[];if(c)for(var e=function(h,k,l){c--;d[h]=k?{yl:!0,value:l}:{yl:!1,reason:l};c==0&&b(d)},f,g=0;g1)));g=g.next)e||(f=g);e&&(c.h==0&&d==1?Lx(c,b):(f?(d=f,d.next==c.o&&(c.o=d),d.next=d.next.next):Mx(c),Nx(c,e,3,b)))}a.l=null}else Bx(a,3,b)},Px=function(a,b){a.j||a.h!=2&&a.h!=3||Ox(a);a.o?a.o.next=b:a.j=b;a.o=b},Jx=function(a,b,c,d){var e=Fx(null,null,null);e.h=new Cx(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 Kx?g(h):f(k)}catch(l){g(l)}}:g});e.h.l=a;Px(a,e);return e.h};Cx.prototype.D=function(a){this.h=0;Bx(this,2,a)};Cx.prototype.H=function(a){this.h=0;Bx(this,3,a)}; var Bx=function(a,b,c){a.h==0&&(a===c&&(b=3,c=new TypeError("Promise cannot resolve to itself")),a.h=1,Gx(c,a.D,a.H,a)||(a.F=c,a.h=b,a.l=null,Ox(a),b!=3||c instanceof Kx||Qx(a,c)))},Gx=function(a,b,c,d){if(a instanceof Cx)return Px(a,Fx(b||Rj,c||null,d)),!0;if(Ax(a))return a.then(b,c,d),!0;if(Ra(a))try{var e=a.then;if(typeof e==="function")return Rx(a,e,b,c,d),!0}catch(f){return c.call(d,f),!0}return!1},Rx=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)}},Ox=function(a){a.B||(a.B=!0,yx(a.C,a))},Mx=function(a){var b=null;a.j&&(b=a.j,a.j=b.next,b.next=null);a.j||(a.o=null);return b};Cx.prototype.C=function(){for(var a;a=Mx(this);)Nx(this,a,this.h,this.F);this.B=!1}; var Nx=function(a,b,c,d){if(c==3&&b.j&&!b.o)for(;a&&a.A;a=a.l)a.A=!1;if(b.h)b.h.l=null,Sx(b,c,d);else try{b.o?b.l.call(b.context):Sx(b,c,d)}catch(e){Tx.call(null,e)}qx(Ex,b)},Sx=function(a,b,c){b==2?a.l.call(a.context,c):a.j&&a.j.call(a.context,c)},Qx=function(a,b){a.A=!0;yx(function(){a.A&&Tx.call(null,b)})},Tx=nb,Kx=function(a){bb.call(this,a)};ab(Kx,bb);Kx.prototype.name="cancel";function Ux(a,b){S.call(this);this.j=a||1;this.h=b||C;this.l=Ya(this.Um,this);this.o=Date.now()}ab(Ux,S);p=Ux.prototype;p.enabled=!1;p.kb=null;p.setInterval=function(a){this.j=a;this.kb&&this.enabled?(this.stop(),this.start()):this.kb&&this.stop()};p.Um=function(){if(this.enabled){var a=Date.now()-this.o;a>0&&a2147483647?-1:C.setTimeout(a,b||0)},Wx=function(a,b){var c=null;return(new Cx(function(d,e){c=Vx(function(){d(b)},a);c==-1&&e(Error("Failed to schedule timer."))})).G(function(d){C.clearTimeout(c);throw d;})};var Yx=function(a){var b=Xx;if(b.h)return ox(b.h,a,0,!0),Promise.resolve(b.h);b=fw(b.j).then(function(c){var d=c.serializedConfig;var e=c.errorMessage;if(d)d=Wr(d);else throw Error(e!=null?e:"Unknown PPC error");ox(d,a,c.latencyMs,!1);return d}).catch(function(c){kx.getInstance().report(189,{message:c.message});return null});return Promise.race([b,Wx(500,null)])},Xx=new function(){var a;this.j=a=a===void 0?kw:a};var Zx,$x=Mq();Zx=J($x,Cq,3);var ay=Xx,by=Zx!=null?Zx:null,cy=Cv(),dy;if(by){var ey=Wg(by,1);if(ey&&(new URL(cy)).hostname.includes(ey)){var fy=J(by,Jj,2);dy=fy?fy:null}else dy=null}else dy=null;var gy=dy;if(gy)ay.h=gy;else{var gw=ay.j,mw={pageUrl:cy};try{var hw=lw();if(!hw)throw Error("Could not generate config URL");jw()}catch(a){iw(gw,a)}};var hy=function(){this.ga=0;this.h=!1;this.j=-1;this.Mc=!1;this.Oa=0};hy.prototype.isVisible=function(){return this.Mc?this.ga>=.3:this.ga>=.5};var iy={Kn:0,Tn:1},jy={668123728:0,668123729:1},ky={44731964:0,44731965:1},ly={NONE:0,So:1,Zn:2},my={480596784:0,480596785:1,21063355:2};var ny=function(){this.h=null;this.o=!1;this.l=null},oy=function(a){a.o=!0;return a},py=function(a,b){a.l&&Yb(b,function(c){c=a.l[c];c!==void 0&&a.j(c)})};ny.prototype.getValue=function(){return this.h};var qy=function(a){ny.call(this);this.A=a};u(qy,ny);qy.prototype.j=function(a){var b;if(!(b=this.h!==null)){a:{b=this.A;for(c in b)if(b[c]==a){var c=!0;break a}c=!1}b=!c}b||(this.h=a)};var ry=function(){ny.call(this)};u(ry,ny); ry.prototype.j=function(a){this.h===null&&typeof a==="number"&&(this.h=a)};var sy=function(){ny.call(this)};u(sy,ny);sy.prototype.j=function(a){this.h===null&&typeof a==="string"&&(this.h=a)};var ty=function(){this.h={};this.l=!0;this.j={}};ty.prototype.reset=function(){this.h={};this.l=!0;this.j={}}; var uy=function(a,b,c){a.h[b]||(a.h[b]=new qy(c));return a.h[b]},vy=function(a){a.h.queryid||(a.h.queryid=new sy)},wy=function(a,b,c){(a=a.h[b])&&a.j(c)},yy=function(a,b){if(Pl(a.j,b))return a.j[b];if(a=a.h[b])return a.getValue()},zy=function(a){var b={},c=Jl(a.h,function(d){return d.o});Il(c,function(d,e){d=a.j[e]!==void 0?String(a.j[e]):d.o&&d.h!==null?String(d.h):"";d.length>0&&(b[e]=d)},a);return b},Ay=function(a){a=zy(a);var b=[];Il(a,function(c,d){d in Object.prototype||typeof c!="undefined"&& b.push([d,":",c].join(""))});return b},By=function(a,b){a.l&&Yb(Ml(a.h),function(c){return py(c,b)})};var Cy=function(a){uy(a,"od",Or);oy(uy(a,"opac",iy));oy(uy(a,"sbeos",iy));oy(uy(a,"prf",iy));oy(uy(a,"mwt",iy));uy(a,"iogeo",iy)};var ko=document,T=window;var Dy=!vc&&!Rb();var Ey=function(){this.h=this.lc=null};var Fy=function(a,b){b=b===void 0?"":b;this.j=(a===void 0?0:a)||0;this.h=b||""};Fy.prototype.zd=function(){return!!this.j||!!this.h};Fy.prototype.toString=function(){return this.j+(this.h?"-":"")+this.h};Fy.prototype.matches=function(a){return this.h||a.h?this.h==a.h:this.j||a.j?this.j==a.j:!1};var Gy=function(){};Gy.prototype.now=function(){return 0};Gy.prototype.j=function(){return 0};Gy.prototype.l=function(){return 0};Gy.prototype.h=function(){return 0};var Iy=function(){if(!Hy())throw Error();};u(Iy,Gy);var Hy=function(){return!(!T||!T.performance)};Iy.prototype.now=function(){return Hy()&&T.performance.now?T.performance.now():Gy.prototype.now.call(this)};Iy.prototype.j=function(){return Hy()&&T.performance.memory?T.performance.memory.totalJSHeapSize||0:Gy.prototype.j.call(this)};Iy.prototype.l=function(){return Hy()&&T.performance.memory?T.performance.memory.usedJSHeapSize||0:Gy.prototype.l.call(this)}; Iy.prototype.h=function(){return Hy()&&T.performance.memory?T.performance.memory.jsHeapSizeLimit||0:Gy.prototype.h.call(this)};var Jy=function(){};Jy.prototype.isVisible=function(){return jo()===1};var Ky=function(){return jo()===0};var Ly=function(){this.j=new Jy;this.h=Hy()?new Iy:new Gy},Ny=function(){My();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")};Ly.prototype.setInterval=function(a,b){return T.setInterval(a,b)};Ly.prototype.clearInterval=function(a){T.clearInterval(a)};Ly.prototype.setTimeout=function(a,b){return T.setTimeout(a,b)}; Ly.prototype.clearTimeout=function(a){T.clearTimeout(a)};var Oy=function(){My();return Tv()};var Py=function(){},My=function(){var a=L(Py);if(!a.h){if(!T)throw Error("Context has not been set and window is undefined.");a.h=L(Ly)}return a.h};var Qy=function(a){this.I=H(a)};u(Qy,K);Qy.prototype.j=zj([0,gj,jj,-2,mj]);var Ry=function(a){this.l=a;this.h=-1;this.j=this.o=0},Sy=function(a,b){return function(){var c=Ga.apply(0,arguments);if(a.h>-1)return b.apply(null,x(c));try{return a.h=a.l.h.now(),b.apply(null,x(c))}finally{a.o+=a.l.h.now()-a.h,a.h=-1,a.j+=1}}};var Ty=function(a,b){this.j=a;this.l=b;this.h=new Ry(a)};var Uy=function(){this.h={}},Vy=function(a,b){a=a.h[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 Wy={op:1,Tp:2,Xo:3,1:"POSITION",2:"VISIBILITY",3:"MONITOR_VISIBILITY"};var Xy=function(){this.o=void 0;this.G=0;this.B=new Fy(0,"");this.j=0;this.F=-1;this.T=new ty;oy(uy(this.T,"mv",ly)).l=my===void 0?null:my;uy(this.T,"omid",iy);oy(uy(this.T,"epoh",iy));oy(uy(this.T,"epph",iy));oy(uy(this.T,"umt",iy)).l=jy===void 0?null:jy;oy(uy(this.T,"phel",iy));oy(uy(this.T,"phell",iy));oy(uy(this.T,"oseid",Wy));var a=this.T;a.h.sloi||(a.h.sloi=new ry);oy(a.h.sloi);uy(this.T,"mm",Qr);oy(uy(this.T,"ovms",Pr));oy(uy(this.T,"xdi",iy));oy(uy(this.T,"amp",iy));oy(uy(this.T,"prf",iy)); oy(uy(this.T,"gtx",iy));oy(uy(this.T,"mvp_lv",iy));oy(uy(this.T,"ssmol",iy)).l=ky===void 0?null:ky;oy(uy(this.T,"fmd",iy));uy(this.T,"gen204simple",iy);this.h=new Ty(My(),this.T);this.A=this.l=!1;this.flags=new Uy};Xy.prototype.Gf=function(a){if(typeof a==="string"&&a.length!=0){var b=this.T;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.h[e])&&e.j(d)}}}}; Xy.prototype.Hf=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?qz()-mz:-1,c=pz?qz()-lz:-1,d=oz>=0?qz()-oz:-1;if(a==947190542)return 100;if(a==79463069)return 200;a=[2E3,4E3];var e=[250,500,1E3];jz(637,Error(),.001);var f=b;c!=-1&&c1500&&d<4E3?500:g};var sz=function(a,b,c){var d=new tm(0,0,0,0);var e=e===void 0?null:e;var f=f===void 0?null:f;this.time=a;this.volume=e;this.o=b;this.h=d;this.j=f;this.l=c};sz.prototype.equals=function(a,b){return!!a&&(!(b===void 0?0:b)||this.volume==a.volume)&&this.o==a.o&&um(this.h,a.h)&&this.j==a.j};var tz=function(a,b,c,d,e,f,g,h){this.l=a;this.G=b;this.j=c;this.A=d;this.h=e;this.o=f;this.F=g;this.B=h};tz.prototype.getTimestamp=function(){return this.F};tz.prototype.equals=function(a,b){return this.l.equals(a.l,b===void 0?!1:b)&&this.G==a.G&&um(this.j,a.j)&&um(this.A,a.A)&&this.h==a.h&&this.o==a.o&&this.F==a.F&&this.B==a.B};var Ll={un:"addEventListener",ao:"getMaxSize",eo:"getScreenSize",fo:"getState",ho:"getVersion",qp:"removeEventListener",To:"isViewable"},uz=function(a){var b=a!==a.top,c=a.top===Qj(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),Kl(function(g){return typeof f[g]==="function"})||(e=1));return{fb:f,Je:e,Qm:d}};var vz=function(){var a=window.document;return a&&typeof a.elementFromPoint==="function"};function wz(a,b,c){try{if(a){if(!b.top)return new tm(-12245933,-12245933,-12245933,-12245933);b=b.top}a:{var d=b;if(a&&d!==null&&d!=d.top){if(!d.top){var e=new Hl(-12245933,-12245933);break a}d=d.top}try{e=(c===void 0?0:c)?(new Hl(d.innerWidth,d.innerHeight)).round():dm(d||window).round()}catch(m){e=new Hl(-12245933,-12245933)}}a=e;var f=a.height,g=a.width;if(g===-12245933)return new tm(g,g,g,g);var h=sm(am(b.document)),k=h.x,l=h.y;return new tm(l,k+g,l+f,k)}catch(m){return new tm(-12245933,-12245933, -12245933,-12245933)}};var xz=function(a,b){b=Math.pow(10,b);return Math.floor(a*b)/b},yz=function(a){return new tm(a.top,a.right,a.bottom,a.left)},zz=function(a){var b=a.top||0,c=a.left||0;return new tm(b,c+(a.width||0),b+(a.height||0),c)},Az=function(a){return a!=null&&a>=0&&a<=1};var Cz=function(){this.C=!1;this.l=!Pj(T.top);this.B=Wj()||Vj();var a=yv();a=a.length>0&&a[a.length-1]!=null&&a[a.length-1].url!=null?((a=a[a.length-1].url.match(ar)[3]||null)?decodeURI(a):a)||"":"";this.domain=a;this.h=new tm(0,0,0,0);this.A=new Hl(0,0);this.o=new Hl(0,0);this.G=new tm(0,0,0,0);this.frameOffset=new Gl(0,0);this.H=!1;this.F=0;this.D=!1;this.j=!(!T||!uz(T).fb);Bz(this)},Dz=function(a,b){b&&b.screen&&(a.A=new Hl(b.screen.width,b.screen.height))},Ez=function(a,b){a:{var c=a.h?new Hl(a.h.getWidth(), a.h.getHeight()):new Hl(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,m=h.offsetHeight,n=h.offsetWidth;h.clientHeight!=m&&(k=g.scrollHeight,l=g.scrollWidth,m=g.offsetHeight,n=g.offsetWidth);k>c.height?k>m?(d=k,e=l):(d=m,e=n):k0||a.D)return!0;a=My().j.isVisible();var b=Ky();return a||b},Fz=function(){return L(Cz)};var Hz=function(a){this.l=a;this.j=0;this.h=null};Hz.prototype.cancel=function(){My().clearTimeout(this.h);this.h=null};var Iz=function(a){var b=My(),c=Yy().h.h;a.h=b.setTimeout(Sy(c,iz(143,function(){a.j++;a.l.sample()})),rz())};var Jz=function(a,b,c){c=c===void 0?"na":c;this.l=a;this.Ua=c;this.F=[];this.A=!1;this.o=new sz(-1,!0,this);this.h=this;this.D=b;this.H=!1;this.sampler=new Hz(this);this.M=!1;this.ha="uk";this.V=!1;this.B=!0};Jz.prototype.J=function(){return!1};Jz.prototype.initialize=function(){return this.A=!0};Jz.prototype.qd=function(){return this.h.ha};Jz.prototype.ce=function(){return this.h.M};var Lz=function(a,b,c){if(!a.M||(c===void 0?0:c))a.M=!0,a.ha=b,a.D=0,a.h!=a||Kz(a)};Jz.prototype.getName=function(){return this.h.Ua}; Jz.prototype.Yb=function(){return this.h.la()};Jz.prototype.la=function(){return{}};Jz.prototype.Gb=function(){return this.h.D};var Mz=function(a,b){jc(a.F,b)||(a.F.push(b),b.vd(a.h),b.ac(a.o),b.xb()&&(a.H=!0))};Jz.prototype.fa=function(){var a=Fz();a.h=wz(!0,this.l,a.B)};Jz.prototype.Z=function(){Dz(Fz(),this.l)};Jz.prototype.ra=function(){return this.o.h};var Nz=function(a){a=a.h;a.Z();a.fa();var b=Fz();b.G=wz(!1,a.l,b.B);Ez(Fz(),a.l);a.o.h=a.ra()};Jz.prototype.sample=function(){}; var Oz=function(a,b){a.h!=a?Oz(a.h,b):a.B!==b&&(a.B=b,Kz(a))};Jz.prototype.isActive=function(){return this.h.B};var Pz=function(a){a.H=a.F.length?cc(a.F,function(b){return b.xb()}):!1},Qz=function(a){var b=oc(a.F);Yb(b,function(c){c.ac(a.o)})},Kz=function(a){var b=oc(a.F);Yb(b,function(c){c.vd(a.h)});a.h!=a||Qz(a)};p=Jz.prototype;p.vd=function(a){var b=this.h;this.h=a.Gb()>=this.D?a:this;b!==this.h?(this.B=this.h.B,Kz(this)):this.B!==this.h.B&&(this.B=this.h.B,Kz(this))}; p.ac=function(a){if(a.l===this.h){var b=!this.o.equals(a,this.H);this.o=a;b&&Qz(this)}};p.xb=function(){return this.H};p.dispose=function(){this.V=!0};p.Hb=function(){return this.V};var Rz=function(a,b,c,d){this.element=a;this.h=new tm(0,0,0,0);this.l=null;this.B=new tm(0,0,0,0);this.j=b;this.T=c;this.N=d;this.M=!1;this.timestamp=-1;this.D=new tz(b.o,this.element,this.h,new tm(0,0,0,0),0,0,qz(),0);this.A=void 0};Rz.prototype.Vf=function(){return!0};Rz.prototype.C=function(){};Rz.prototype.dispose=function(){if(!this.Hb()){var a=this.j;kc(a.F,this);a.H&&this.xb()&&Pz(a);this.C();this.M=!0}};Rz.prototype.Hb=function(){return this.M}; var Sz=function(a,b){return a.A?new tm(Math.max(b.top+a.A.top,b.top),Math.min(b.left+a.A.right,b.right),Math.min(b.top+a.A.bottom,b.bottom),Math.max(b.left+a.A.left,b.left)):b.clone()};p=Rz.prototype;p.Yb=function(){return this.j.Yb()};p.Gb=function(){return this.j.Gb()};p.qd=function(){return this.j.qd()};p.ce=function(){return this.j.ce()};p.vd=function(){};p.ac=function(){this.Wb()};p.xb=function(){return this.N};var Tz=function(a){this.A=!1;this.h=a;this.o=function(){}};p=Tz.prototype;p.Gb=function(){return this.h.Gb()};p.qd=function(){return this.h.qd()};p.ce=function(){return this.h.ce()};p.create=function(a,b,c){var d=null;this.h&&(d=this.ve(a,b,c),Mz(this.h,d));return d};p.Wh=function(){return this.Md()};p.Md=function(){return!1};p.init=function(a){return this.h.initialize()?(Mz(this.h,this),this.o=a,!0):!1};p.vd=function(a){a.Gb()==0&&this.o(a.qd(),this)};p.ac=function(){};p.xb=function(){return!1}; p.dispose=function(){this.A=!0};p.Hb=function(){return this.A};p.Yb=function(){return{}};var Uz=function(a,b,c){this.l=c===void 0?0:c;this.j=a;this.h=b==null?"":b},Vz=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}};Uz.prototype.o=function(a){return this.la.l?!1:this.ja.j?!1:typeof this.htypeof a.h?!1:this.h0&&(a+="?"+b);return a};var bA=function(a){var b=[],c=[];Il(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)},cA=function(a){a=a.toString();My();Mm(T,a)};var dA=function(){this.h=0};var eA=function(a,b,c){Yb(a.l,function(d){var e=a.h;if(!d.h&&(d.l(b,c),d.o())){d.h=!0;var f=d.j(),g=new Wz;g.add("id","av-js");g.add("type","verif");g.add("vtype",d.A);d=L(dA);g.add("i",d.h++);g.add("adk",e);Yz(g,f);e=new aA(g);cA(e)}})};var fA=function(){var a=a===void 0?0:a;var b=b===void 0?0:b;var c=c===void 0?0:c;this.h=0;this.o=a;this.l=b;this.j=c},gA=function(a,b,c,d){d=d===void 0?!b:d;b&&(a.h+=c,a.j+=c,a.o+=c,a.l=Math.max(a.l,a.o));d&&(a.o=0)};var hA=[1,.75,.5,.3,0],iA=function(a){this.j=a=a===void 0?hA:a;this.h=ac(this.j,function(){return new fA})},kA=function(a,b){return jA(a,function(c){return c.h},b===void 0?!0:b)},mA=function(a,b){return lA(a,b,function(c){return c.h})},nA=function(a,b){return jA(a,function(c){return c.l},b===void 0?!0:b)},oA=function(a,b){return lA(a,b,function(c){return c.l})},pA=function(a,b){return lA(a,b,function(c){return c.j})},qA=function(a){Yb(a.h,function(b){b.j=0})},rA=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;gA(a.h[f],g&&k,e,!g||h)}},jA=function(a,b,c){a=ac(a.h,function(d){return b(d)});return c?a:sA(a)},lA=function(a,b,c){var d=ic(a.j,function(e){return b<=e});return d==-1?0:c(a.h[d])},sA=function(a){return ac(a,function(b,c,d){return c>0?d[c]-d[c-1]:d[c]})};var tA=function(){this.j=new iA;this.la=this.ha=0;this.wa=new fA;this.M=this.F=-1;this.Z=1E3;this.Ub=new iA([1,.9,.8,.7,.6,.5,.4,.3,.2,.1,0]);this.V=this.N=-1},uA=function(a,b){return nA(a.j,b===void 0?!0:b)}; tA.prototype.D=function(a,b,c,d){this.F=this.F!=-1?Math.min(this.F,b.ga):b.ga;this.M=Math.max(this.M,b.ga);this.N=this.N!=-1?Math.min(this.N,b.Oa):b.Oa;this.V=Math.max(this.V,b.Oa);rA(this.Ub,b.Oa,c.Oa,b.h,a,d);this.ha+=a;b.ga===0&&(this.la+=a);rA(this.j,b.ga,c.ga,b.h,a,d);c=d||c.Mc!=b.Mc?c.isVisible()&&b.isVisible():c.isVisible();b=!b.isVisible()||b.h;gA(this.wa,c,a,b)};tA.prototype.Jb=function(){return this.wa.l>=this.Z};if(ko&&ko.URL){var vA=ko.URL,wA;a:{if(vA){var xA=RegExp(".*[&#?]google_debug(=[^&]*)?(&.*)?$");try{var yA=xA.exec(decodeURIComponent(vA));if(yA){wA=yA[1]&&yA[1].length>1?yA[1].substring(1):"true";break a}}catch(a){}}wA=""}ez.Bh(!(wA.length>0))}var zA=function(a,b,c,d){var e=e===void 0?!1:e;c=iz(d,c);Km(a,b,c,{capture:e})};var AA=new tm(0,0,0,0);function BA(a,b){b=CA(b);return b===0?0:CA(a)/b}function CA(a){return Math.max(a.bottom-a.top,0)*Math.max(a.right-a.left,0)}function DA(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=$l(a),e=d&&em(d),f=e&&e.frameElement;f&&(a=f)}}catch(g){break}}return!1} function EA(a,b,c){if(!a||!b)return!1;b=vm(a.clone(),-b.left,-b.top);a=(b.left+b.right)/2;b=(b.top+b.bottom)/2;Pj(window.top)&&window.top&&window.top.document&&(window=window.top);if(!vz())return!1;a=window.document.elementFromPoint(a,b);if(!a)return!1;b=(b=(b=$l(c))&&b.defaultView&&b.defaultView.frameElement)&&DA(b,a);var d=a===c;a=!d&&a&&rm(a,function(e){return e===c});return!(b||d||a)} function FA(a,b,c,d){return Fz().l?!1:a.getWidth()<=0||a.getHeight()<=0?!0:c&&d?hz(208,function(){return EA(a,b,c)}):!1};var GA=new tm(0,0,0,0),IA=function(a,b,c){R.call(this);this.position=GA.clone();this.vf=this.We();this.Xg=-2;this.Vm=Date.now();this.Pj=-1;this.jf=b;this.hf=null;this.Xd=!1;this.Cf=null;this.opacity=-1;this.Im=c;this.Xm=!1;this.Zg=function(){};this.Sj=function(){};this.Qa=new Ey;this.Qa.lc=a;this.Qa.h=a;this.Ib=!1;this.Ec={fh:null,eh:null};this.Gj=!0;this.ue=null;this.xd=this.Ul=!1;Yy().G++;this.Ga=this.Gg();this.Oj=-1;this.da=null;this.aj=this.Sl=!1;this.T=new ty;Cy(this.T);HA(this);this.Im==1?wy(this.T, "od",1):wy(this.T,"od",0)};u(IA,R);IA.prototype.R=function(){this.Qa.h&&(this.Ec.fh&&(Lm(this.Qa.h,"mouseover",this.Ec.fh),this.Ec.fh=null),this.Ec.eh&&(Lm(this.Qa.h,"mouseout",this.Ec.eh),this.Ec.eh=null));this.ue&&this.ue.dispose();this.da&&this.da.dispose();delete this.vf;delete this.Zg;delete this.Sj;delete this.Qa.lc;delete this.Qa.h;delete this.Ec;delete this.ue;delete this.da;delete this.T;R.prototype.R.call(this)};var JA=function(a){return a.da?a.da.h:a.position};IA.prototype.Gf=function(a){Yy().Gf(a)}; IA.prototype.Hf=function(a){Yy().Hf(a)};var HA=function(a){a=a.Qa.lc;var b;if(b=a&&a.getAttribute)b=/-[a-z]/.test("googleAvInapp")?!1:Dy&&a.dataset?"googleAvInapp"in a.dataset:a.hasAttribute?a.hasAttribute("data-"+Ik()):!!a.getAttribute("data-"+Ik());b&&(Fz().j=!0)};IA.prototype.xb=function(){return!1};IA.prototype.We=function(){return new tA};IA.prototype.Da=function(){return this.vf}; var KA=function(a,b){b!=a.xd&&(a.xd=b,a=Fz(),b?a.F++:a.F>0&&a.F--)},LA=function(a,b){if(a.da){if(b.getName()===a.da.getName())return;a.da.dispose();a.da=null}b=b.create(a.Qa.h,a.T,a.xb());if(b=b!=null&&b.Vf()?b:null)a.da=b},MA=function(a,b,c){if(!a.hf||a.jf==-1||b.getTimestamp()===-1||a.hf.getTimestamp()===-1)return 0;a=b.getTimestamp()-a.hf.getTimestamp();return a>c?0:a};IA.prototype.Vi=function(a){return MA(this,a,1E4)}; var NA=function(a,b,c){if(a.da){a.da.Wb();var d=a.da.D,e=d.l,f=e.h;if(d.A!=null){var g=d.j;a.Cf=new Gl(g.left-f.left,g.top-f.top)}f=a.Pf()?Math.max(d.h,d.o):d.h;g={};e.volume!==null&&(g.volume=e.volume);e=a.Vi(d);a.hf=d;a.Hh(f,b,c,!1,g,e,d.B)}},OA=function(a){if(a.Xd&&a.ue){var b=yy(a.T,"od")==1,c=Fz().h,d=a.ue,e=a.da?a.da.getName():"ns",f=a.Cf,g=new Hl(c.getWidth(),c.getHeight());c=a.Pf();a={Sm:e,Cf:f,kn:g,Pf:c,ga:a.Ga.ga,fn:b};if(b=d.j){b.Wb();e=b.D;f=e.l.h;var h=g=null;e.A!=null&&f&&(g=e.j,g=new Gl(g.left- f.left,g.top-f.top),h=new Hl(f.right-f.left,f.bottom-f.top));e=c?Math.max(e.h,e.o):e.h;c={Sm:b.getName(),Cf:g,kn:h,Pf:c,fn:!1,ga:e}}else c=null;c&&eA(d,a,c)}};p=IA.prototype;p.Hh=function(a,b,c,d,e,f,g){this.Ib||(this.Xd&&(a=this.fg(a,c,e,g),d=d&&this.Ga.ga>=(this.Mc()?.3:.5),this.Ih(f,a,d),this.jf=b,a.ga>0&&-1===this.Oj&&(this.Oj=b),this.Pj==-1&&this.Jb()&&(this.Pj=b),this.Xg==-2&&(this.Xg=CA(JA(this))?a.ga:-1),this.Ga=a),this.Zg(this))};p.Ih=function(a,b,c){this.Da().D(a,b,this.Ga,c)};p.Gg=function(){return new hy}; p.fg=function(a,b,c,d){c=this.Gg();c.h=b;b=My().j;b=Ky()?-1:b.isVisible()?0:1;c.j=b;c.ga=this.og(a);c.Mc=this.Mc();c.Oa=d;return c};p.og=function(a){return this.opacity===0&&yy(this.T,"opac")===1?0:a};p.Mc=function(){return!1};p.Pf=function(){return this.Sl||this.Ul};p.ab=function(){return 0};p.Jb=function(){return this.vf.Jb()};p.Xi=function(){var a=this.Xd;a=(this.aj||this.Hb())&&!a;var b=Yy().j!==2||this.Xm;return this.Ib||b&&a?2:this.Jb()?4:3};p.Se=function(){return 0}; var PA=function(a,b,c){b&&(a.Zg=b);c&&(a.Sj=c)};function QA(){}QA.prototype.next=function(){return RA};var RA={done:!0,value:void 0};QA.prototype.Zc=function(){return this};var SA=function(){var a=a===void 0?0:a;var b=b===void 0?0:b;var c=c===void 0?0:c;var d=d===void 0?0:d;this.A=0;this.j=a;this.l=b;this.h=d;this.o=c},TA=function(a){var b={};b=(b.ptlt=Date.now()-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.h)&&(b.pns=a);return b};var UA=function(){hy.call(this);this.fullscreen=!1;this.volume=void 0;this.paused=!1;this.mediaTime=-1};u(UA,hy);var VA=function(a){return Az(a.volume)&&a.volume>0};var XA=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 WA(f,b,c)}},YA=function(a,b){return function(c){return b(c)?c[a]:void 0}},ZA=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 $A=ZA([void 0,1,2,3,4,8,16]),aB=ZA([void 0,4,8,16]),bB={sv:"sv",v:"v",cb:"cb",e:"e",nas:"nas",msg:"msg","if":"if",sdk:"sdk",p:"p",p0:YA("p0",aB),p1:YA("p1",aB),p2:YA("p2",aB),p3:YA("p3",aB),cp:"cp",tos:"tos",mtos:"mtos",amtos:"amtos",mtos1:XA("mtos1",[0,2,4],!1,aB),mtos2:XA("mtos2",[0,2,4],!1,aB),mtos3:XA("mtos3",[0,2,4],!1,aB),mcvt:"mcvt",ps:"ps",scs:"scs",bs:"bs",vht:"vht",mut:"mut",a:"a",a0:YA("a0",aB),a1:YA("a1",aB),a2:YA("a2",aB),a3:YA("a3",aB),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:YA("c0",aB),c1:YA("c1",aB),c2:YA("c2",aB),c3:YA("c3",aB),mc:"mc",nc:"nc",mv:"mv",nv:"nv",qmt:YA("qmtos",$A),qnc:YA("qnc",$A),qmv:YA("qmv",$A),qnv:YA("qnv",$A), 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:YA("ss0",aB),ss1:YA("ss1",aB),ss2:YA("ss2",aB),ss3:YA("ss3",aB),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"},cB=Object.assign({},bB,{avid:function(a){return function(){return a}}("audio"),avas:"avas",vs:"vs"}),dB={atos:"atos",avt:XA("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 eB=function(){this.j=this.h=""};var fB=function(){},gB=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 Yl(c,a);return $z(Yz(new Wz,c))};var hB=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.yt1sv=[268435456,268435456],a);this.h={};for(var b in this.j)this.j[b][1]>0&&(this.h[b]=0);this.l=0},iB=function(a,b){var c=a.j[b],d=c[1];a.l+=c[0]; d>0&&a.h[b]==0&&(a.h[b]=1)},jB=function(a){var b=Nl(a.j),c=0,d;for(d in a.h)jc(b,d)&&a.h[d]==1&&(c+=a.j[d][1],a.h[d]=2);return c},kB=function(a){var b=0,c;for(c in a.h){var d=a.h[c];if(d==1||d==2)b+=a.j[c][1]}return b};var lB=function(){this.h=this.j=0};lB.prototype.getValue=function(){return this.j};var mB=function(a,b,c){b>=32||(a.h&1<=.5;Az(b.volume)&&(this.o=this.o!=-1?Math.min(this.o,b.volume):b.volume,this.B=Math.max(this.B,b.volume));f&&(this.P+=a,this.H+=e?a:0);rA(this.h,b.ga,c.ga,b.h,a,d,e);gA(this.l,!0,a);gA(this.A,e,a);gA(this.J,c.fullscreen,a);gA(this.Vb,e&&!f,a);a=Math.floor(b.mediaTime/1E3);mB(this.fa,a,b.isVisible());mB(this.Ua,a,b.ga>=1);mB(this.Ca,a,VA(b))}};var pB=function(){this.l=!1};pB.prototype.j=function(a){this.l||(this.h(a)?(a=this.C.report(this.o,a),this.A|=a,a=a==0):a=!1,this.l=a)};var qB=function(a,b){this.l=!1;this.o=a;this.C=b;this.A=0};u(qB,pB);qB.prototype.h=function(){return!0};qB.prototype.B=function(){return!1};qB.prototype.getId=function(){var a=this,b=Ql(function(c){return c==a.o});return Vr[b].toString()};qB.prototype.toString=function(){var a="";this.B()&&(a+="c");this.l&&(a+="s");this.A>0&&(a+=":"+this.A);return this.getId()+a};var rB=function(a,b){qB.call(this,a,b);this.F=[]};u(rB,qB);rB.prototype.j=function(a,b){b=b===void 0?null:b;b!=null&&this.F.push(b);qB.prototype.j.call(this,a)};var sB=function(){};var tB=function(){};u(tB,sB);tB.prototype.h=function(){return null};tB.prototype.j=function(){return[]};var uB=function(a,b,c,d){Rz.call(this,a,b,c,d)};u(uB,Rz);p=uB.prototype;p.gg=function(){if(this.element){var a=this.element,b=this.j.h.l;try{try{var c=yz(a.getBoundingClientRect())}catch(l){c=new tm(0,0,0,0)}var d=c.right-c.left,e=c.bottom-c.top,f=Fm(a,b),g=f.x,h=f.y;var k=new tm(Math.round(h),Math.round(g+d),Math.round(h+e),Math.round(g))}catch(l){k=AA.clone()}this.l=k;this.h=Sz(this,this.l)}};p.ni=function(){this.B=this.j.o.h}; p.fj=function(a){var b=yy(this.T,"od")==1;return FA(a,this.B,this.element,b)};p.oi=function(){this.timestamp=qz()}; p.Wb=function(){this.oi();this.gg();if(this.element&&typeof this.element.videoWidth==="number"&&typeof this.element.videoHeight==="number"){var a=this.element;var b=new Hl(a.videoWidth,a.videoHeight);a=this.h;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.h=a}this.ni(); a=this.h;c=this.B;a=a.left<=c.right&&c.left<=a.right&&a.top<=c.bottom&&c.top<=a.bottom?new tm(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 tm(0,0,0,0);c=a.top>=a.bottom||a.left>=a.right?new tm(0,0,0,0):a;a=this.j.o;b=e=d=0;if((this.h.bottom-this.h.top)*(this.h.right-this.h.left)>0)if(this.fj(c))c=new tm(0,0,0,0);else{d=Fz().A;b=new tm(0,d.height,d.width,0);var f;d=BA(c,(f=this.A)!=null?f:this.h);e=BA(c,Fz().h);b=BA(c,b)}f=c.top>=c.bottom|| c.left>=c.right?new tm(0,0,0,0):vm(c,-this.h.left,-this.h.top);Gz()||(e=d=0);this.D=new tz(a,this.element,this.h,f,d,e,this.timestamp,b)};p.getName=function(){return this.j.getName()};var vB=new tm(0,0,0,0),wB=function(a,b,c){Rz.call(this,null,a,b,c);this.G=a.isActive();this.F=0};u(wB,uB);p=wB.prototype;p.Vf=function(){this.o();return!0};p.ac=function(){uB.prototype.Wb.call(this)};p.oi=function(){};p.gg=function(){};p.Wb=function(){this.o();uB.prototype.Wb.call(this)};p.vd=function(a){a=a.isActive();a!==this.G&&(a?this.o():(Fz().h=new tm(0,0,0,0),this.h=new tm(0,0,0,0),this.B=new tm(0,0,0,0),this.timestamp=-1));this.G=a};function xB(a){return[a.top,a.left,a.bottom,a.right]} var yB={},zB=(yB.firstquartile=0,yB.midpoint=1,yB.thirdquartile=2,yB.complete=3,yB),AB=function(a,b,c,d,e,f){f=f===void 0?new tB:f;IA.call(this,b,c,d);this.oh=e;this.tg=0;this.xa={};this.sa=new hB;this.Yj={};this.Aa="";this.sc=null;this.Pd=!1;this.h=[];this.Mb=f.h();this.C=f.j();this.A=null;this.l=-1;this.M=this.J=void 0;this.Ca=!1;this.P=this.N=0;this.fa=-1;this.Ub=this.Ua=!1;this.V=this.H=this.j=this.Jd=this.Od=0;new iA;this.Z=this.ra=0;this.wa=-1;this.za=0;this.D=Rj;this.B=[this.We()];this.De= 2;this.Xc={};this.Xc.pause="p";this.Xc.resume="r";this.Xc.skip="s";this.Xc.mute="m";this.Xc.unmute="um";this.Xc.exitfullscreen="ef";this.o=null;this.Vb=this.la=!1;this.Ce=Math.floor(Date.now()/1E3-1704067200);this.ha=0};u(AB,IA);var BB=function(a,b){var c=(a.Ca=b)?1E3:2E3;(b=a.Da())&&b.G&&b.G(c);a.B&&a.B.forEach(function(d){d&&d.G&&d.G(c)})};AB.prototype.xb=function(){return!0};var CB=function(a){a.aj=!0;a.za!=0&&(a.za=3)},DB=function(a){return a===void 0?a:Number(a)?xz(a,3):0};p=AB.prototype; p.Vi=function(a){return MA(this,a,Math.max(1E4,this.l/3))};p.Hh=function(a,b,c,d,e,f,g){var h=this,k=this.D(this)||{};Yl(k,e);this.l=k.duration||this.l;this.J=k.isVpaid||this.J;this.M=k.isYouTube||this.M;My();this.Vb=!1;e=EB(this,b);FB(this)===1&&(f=e);IA.prototype.Hh.call(this,a,b,c,d,k,f,g);this.Mb&&this.Mb.l&&Yb(this.C,function(l){l.j(h)})}; p.Ih=function(a,b,c){IA.prototype.Ih.call(this,a,b,c);GB(this).D(a,b,this.Ga,c);this.Ub=VA(this.Ga)&&VA(b);this.fa==-1&&this.Ua&&(this.fa=this.Da().l.h);this.sa.l=0;a=this.Jb();b.isVisible()&&iB(this.sa,"vs");a&&iB(this.sa,"vw");Az(b.volume)&&iB(this.sa,"am");VA(b)?iB(this.sa,"a"):iB(this.sa,"mut");this.xd&&iB(this.sa,"f");b.j!=-1&&(iB(this.sa,"bm"),b.j==1&&(iB(this.sa,"b"),VA(b)&&iB(this.sa,"umutb")));VA(b)&&b.isVisible()&&iB(this.sa,"avs");this.Ub&&a&&iB(this.sa,"avw");b.ga>0&&iB(this.sa,"pv"); HB(this,this.Da().l.h,!0)&&iB(this.sa,"gdr");oA(this.Da().j,1)>=2E3&&iB(this.sa,"pmx");this.Vb&&iB(this.sa,"tvoff");this.Ca&&a&&iB(this.sa,"yt1sv")};p.We=function(){var a=new nB;this&&this.Ca&&a.G(1E3);return a};p.Da=function(){return this.vf};var GB=function(a,b){return a.B[b!=null&&b=0?c:-1;return a}; var FB=function(a){var b=!!yy(Yy().T,"umt");return a.J||!b&&!a.M?0:1},EB=function(a,b){a.za==2?b=0:a.jf==-1?b=0:(b-=a.jf,b=b>Math.max(1E4,a.l/3)?0:b);var c=a.D(a)||{};c=c.currentTime!==void 0?c.currentTime:a.N;var d=c-a.N,e=0;d>=0?(a.P+=b,a.Z+=Math.max(b-d,0),e=Math.min(d,a.P)):a.ra+=Math.abs(d);d!=0&&(a.P=0);a.wa==-1&&d>0&&(a.wa=oz>=0?qz()-oz:-1);a.N=c;return e};AB.prototype.og=function(a){return Fz().C?0:this.xd?1:IA.prototype.og.call(this,a)};AB.prototype.ab=function(){return 1}; AB.prototype.getDuration=function(){return this.l}; var IB=function(a,b){cc(a.C,function(c){return c.o==b.o})||a.C.push(b)},JB=function(a){var b=mA(a.Da().h,1);return HB(a,b)},HB=function(a,b,c){return b>=15E3?!0:a.Ua?(c===void 0?0:c)?!0:a.l>0?b>=a.l/2:a.fa>0?b>=a.fa:!1:!1},KB=function(a){var b={},c=Fz();b.insideIframe=c.l;b.unmeasurable=a.Ib;var d=JA(a),e=a.da?a.da.l:null;b.position=d;e&&!um(d,e)&&(b.containerPosition=e);b.exposure=a.Ga.ga;b.documentSize=c.o;b.viewportSize=new Hl(c.h.getWidth(),c.h.getHeight());a.o!=null&&(b.presenceData=a.o);b.screenShare= a.Ga.Oa;return b},LB=function(a){var b=xz(a.Ga.ga,2),c=a.sa.l,d=a.Ga,e=GB(a),f=DB(e.o),g=DB(e.B),h=DB(d.volume),k=xz(e.F,2),l=xz(e.M,2),m=xz(d.ga,2),n=xz(e.N,2),r=xz(e.V,2);d=xz(d.Oa,2);var q=JA(a).clone().round();a=a.da&&a.da.l?(a.da?a.da.l:null).clone().round():null;e=uA(e,!1);return{jn:b,ee:c,yf:f,sf:g,Sd:h,zf:k,tf:l,ga:m,Af:n,uf:r,Oa:d,position:q,Ud:a,Bf:e}},NB=function(a,b){MB(a.h,b,function(){return{jn:0,ee:void 0,yf:-1,sf:-1,Sd:-1,zf:-1,tf:-1,ga:-1,Af:-1,uf:-1,Oa:-1,position:void 0,Ud:void 0, Bf:[]}});a.h[b]=LB(a)},OB=function(a,b){b!=4&&MB(a.B,b,function(){return a.We()})},MB=function(a,b,c){for(var d=a.length;d0?1:0;n.atos=kA(l.h);n.ssb=kA(l.Ub,!1);n.amtos=nA(l.h,!1);n.uac=a.Od;n.vpt=l.l.h;m=="nio"&&(n.nio=1,n.avms= "nio");n.gmm="4";n.gdr=HB(a,l.l.h,!0)?1:0;n.efpf=a.De;if(m=="gsv"||m=="nis")m=a.da,m.F>0&&(n.nnut=m.F);n.tcm=FB(a);n.nmt=a.ra;n.bt=a.Z;n.pst=a.wa;n.vpaid=a.J;n.dur=a.l;n.vmtime=a.N;n.is=a.sa.l;a.h.length>=1&&(n.i0=a.h[0].ee,n.a0=[a.h[0].Sd],n.c0=[a.h[0].ga],n.ss0=[a.h[0].Oa],m=a.h[0].position,f=a.h[0].Ud,n.p0=m?xB(m):void 0,m&&f&&!um(f,m)&&(n.cp0=xB(f)));a.h.length>=2&&(n.i1=a.h[1].ee,n.a1=SB(a.h[1].yf,a.h[1].Sd,a.h[1].sf),n.c1=SB(a.h[1].zf,a.h[1].ga,a.h[1].tf),n.ss1=SB(a.h[1].Af,a.h[1].Oa,a.h[1].uf), m=a.h[1].position,f=a.h[1].Ud,n.p1=m?xB(m):void 0,m&&f&&!um(f,m)&&(n.cp1=xB(f)),n.mtos1=a.h[1].Bf);a.h.length>=3&&(n.i2=a.h[2].ee,n.a2=SB(a.h[2].yf,a.h[2].Sd,a.h[2].sf),n.c2=SB(a.h[2].zf,a.h[2].ga,a.h[2].tf),n.ss2=SB(a.h[2].Af,a.h[2].Oa,a.h[2].uf),m=a.h[2].position,f=a.h[2].Ud,n.p2=m?xB(m):void 0,m&&f&&!um(f,m)&&(n.cp2=xB(f)),n.mtos2=a.h[2].Bf);a.h.length>=4&&(n.i3=a.h[3].ee,n.a3=SB(a.h[3].yf,a.h[3].Sd,a.h[3].sf),n.c3=SB(a.h[3].zf,a.h[3].ga,a.h[3].tf),n.ss3=SB(a.h[3].Af,a.h[3].Oa,a.h[3].uf),m=a.h[3].position, f=a.h[3].Ud,n.p3=m?xB(m):void 0,m&&f&&!um(f,m)&&(n.cp3=xB(f)),n.mtos3=a.h[3].Bf);n.cs=kB(a.sa);b&&(n.ic=jB(a.sa),n.dvpt=l.l.j,n.dvs=pA(l.j,.5),n.dfvs=pA(l.j,1),n.davs=pA(l.h,.5),n.dafvs=pA(l.h,1),c&&(l.l.j=0,qA(l.j),qA(l.h)),a.Jb()&&(n.dtos=l.P,n.dav=l.H,n.dtoss=a.tg+1,c&&(l.P=0,l.H=0,a.tg++)),n.dat=l.A.j,n.dft=l.J.j,c&&(l.A.j=0,l.J.j=0));n.ps=[h.o.width,h.o.height];n.bs=[h.h.getWidth(),h.h.getHeight()];n.scs=[h.A.width,h.A.height];n.dom=h.domain;a.Jd&&(n.vds=a.Jd);if(a.C.length>0||a.Mb)b=oc(a.C), a.Mb&&b.push(a.Mb),n.pings=ac(b,function(r){return r.toString()});b=ac($b(a.C,function(r){return r.B()}),function(r){return r.getId()});pc(b);n.ces=b;a.j&&(n.vmer=a.j);a.H&&(n.vmmk=a.H);a.V&&(n.vmiec=a.V);n.avms=a.da?a.da.getName():"ns";a.da&&Yl(n,a.da.Yb());d?(n.c=xz(a.Ga.ga,2),n.ss=xz(a.Ga.Oa,2)):n.tth=qz()-nz;n.mc=xz(l.M,2);n.nc=xz(l.F,2);n.mv=DB(l.B);n.nv=DB(l.o);n.lte=xz(a.Xg,2);d=GB(a,e);uA(l);n.qmtos=uA(d);n.qnc=xz(d.F,2);n.qmv=DB(d.B);n.qnv=DB(d.o);n.qas=d.o>0?1:0;n.qi=a.Aa;n.avms||(n.avms= "geo");n.psm=l.fa.h;n.psv=l.fa.getValue();n.psfv=l.Ua.getValue();n.psa=l.Ca.getValue();k=Ay(k.T);k.length&&(n.veid=k);a.o&&Yl(n,TA(a.o));n.avas=a.Se();n.vs=a.Xi();n.co=TB(a);n.tm=l.ha;n.tu=l.la;return n},PB=function(a,b){if(jc(Ur,b))return!0;var c=a.xa[b];return c!==void 0?(a.xa[b]=!0,!c):!1};AB.prototype.Xi=function(){return this.Ib?2:JB(this)?5:this.Jb()?4:3};AB.prototype.Se=function(){return(this.M?this.la:yy(Yy().T,"mm")===Qr.Sh||this.la)&&Az(this.Ga.volume)?this.Da().A.l>=2E3?4:3:2}; var TB=function(a){var b=""+a.Ce+a.ha.toString(10).padStart(2,"0");a.ha<99&&a.ha++;return b};var UB=Date.now(),XB=function(){this.h={};var a=em();VB(this,a,document);var b=WB();try{if("1"==b){for(var c=a.parent;c!=a.top;c=c.parent)VB(this,c,c.document);VB(this,a.top,a.top.document)}}catch(d){}},WB=function(){var a=document.documentElement;try{if(!Pj(em().top))return"2";var b=[],c=em(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"}},VB=function(a,b,c){zA(c,"mousedown",function(){return YB(a)}, 301);zA(b,"scroll",function(){return ZB(a)},302);zA(c,"touchmove",function(){return $B(a)},303);zA(c,"mousemove",function(){return aC(a)},304);zA(c,"keydown",function(){return bC(a)},305)},YB=function(a){Il(a.h,function(b){b.l>1E5||++b.l})},ZB=function(a){Il(a.h,function(b){b.h>1E5||++b.h})},$B=function(a){Il(a.h,function(b){b.h>1E5||++b.h})},bC=function(a){Il(a.h,function(b){b.j>1E5||++b.j})},aC=function(a){Il(a.h,function(b){b.o>1E5||++b.o})};var cC=function(){this.h=[];this.j=[]},dC=function(a,b){return dc(a.h,function(c){return c.Aa==b})},eC=function(a,b){return b?dc(a.h,function(c){return c.Qa.lc==b}):null},fC=function(a,b){return dc(a.j,function(c){return c.ab()==2&&c.Aa==b})},hC=function(){var a=gC;return a.h.length==0?a.j:a.j.length==0?a.h:nc(a.j,a.h)};cC.prototype.reset=function(){this.h=[];this.j=[]}; var iC=function(a,b){a=b.ab()==1?a.h:a.j;var c=ec(a,function(d){return d==b});return c!=-1?(a.splice(c,1),b.da&&b.da.C(),b.dispose(),!0):!1},jC=function(a){var b=gC;if(iC(b,a)){switch(a.ab()){case 0:var c=function(){return null};case 2:c=function(){return fC(b,a.Aa)};break;case 1:c=function(){return dC(b,a.Aa)}}for(var d=c();d;d=c())iC(b,d)}},kC=function(a){var b=gC;a=$b(a,function(c){return!eC(b,c.Qa.lc)});b.h.push.apply(b.h,x(a))},lC=function(a){var b=gC,c=[];Yb(a,function(d){cc(b.h,function(e){return e.Qa.lc=== d.Qa.lc&&e.Aa===d.Aa})||(b.h.push(d),c.push(d))})},gC=L(cC);var mC=function(){this.h=this.j=null},nC=function(a,b){if(a.j==null)return!1;var c=function(d,e){b(d,e)};a.h=dc(a.j,function(d){return d!=null&&d.Wh()});a.h&&(a.h.init(c)?Nz(a.h.h):b(a.h.h.qd(),a.h));return a.h!=null};var pC=function(a){a=oC(a);Tz.call(this,a.length?a[a.length-1]:new Jz(T,0));this.l=a;this.j=null};u(pC,Tz);p=pC.prototype;p.getName=function(){return(this.j?this.j:this.h).getName()};p.Yb=function(){return(this.j?this.j:this.h).Yb()};p.Gb=function(){return(this.j?this.j:this.h).Gb()};p.init=function(a){var b=!1;Yb(this.l,function(c){c.initialize()&&(b=!0)});b&&(this.o=a,Mz(this.h,this));return b};p.dispose=function(){Yb(this.l,function(a){a.dispose()});Tz.prototype.dispose.call(this)}; p.Wh=function(){return cc(this.l,function(a){return a.J()})};p.Md=function(){return cc(this.l,function(a){return a.J()})};p.ve=function(a,b,c){return new uB(a,this.h,b,c)};p.ac=function(a){this.j=a.l};var oC=function(a){if(!a.length)return[];a=$b(a,function(c){return c!=null&&c.J()});for(var b=1;bc.time?b:c},a[0])};p=rC.prototype;p.Wb=function(){var a=tC(this);a.length>0&&uC(this,a);uB.prototype.Wb.call(this)}; p.gg=function(){};p.fj=function(){return!1};p.ni=function(){};p.Yb=function(){var a={};return Object.assign(this.j.Yb(),(a.niot_obs=this.J,a.niot_cbk=this.H,a))};p.getName=function(){return"nio"};var wC=function(a){a=a===void 0?T:a;Tz.call(this,new Jz(a,2))};u(wC,Tz);wC.prototype.getName=function(){return"nio"};wC.prototype.Md=function(){return!Fz().j&&this.h.h.l.IntersectionObserver!=null};wC.prototype.ve=function(a,b,c){return new rC(a,this.h,b,c)};var yC=function(){var a=xC();Jz.call(this,T.top,a,"geo")};u(yC,Jz);yC.prototype.ra=function(){return Fz().h};yC.prototype.J=function(){var a=xC();this.D!==a&&(this.h!=this&&a>this.h.D&&(this.h=this,Kz(this)),this.D=a);return a==2};var xC=function(){Yy();var a=Fz();return a.l||a.j?0:2};var zC=function(){};var AC=function(){this.done=!1;this.h={Yk:0,ei:0,xq:0,Di:0,Qg:-1,ol:0,nl:0,pl:0,Rm:0};this.o=null;this.A=!1;this.j=null;this.B=0;this.sampler=new Hz(this)},DC=function(){var a=BC;a.A||(a.A=!0,CC(a,function(){return a.l.apply(a,x(Ga.apply(0,arguments)))}),a.l())};AC.prototype.sample=function(){EC(this,hC(),!1)}; var FC=function(){L(zC);var a=L(mC);a.h!=null&&a.h.h?Nz(a.h.h):Bz(Fz())},EC=function(a,b,c){if(!a.done&&(a.sampler.cancel(),b.length!=0)){a.j=null;try{FC();var d=qz();Yy().F=d;if(L(mC).h!=null)for(var e=0;e=0?qz()-mz:-1,h=qz();b.h.Qg==-1&&(g=h);var k=Fz(),l=Yy(),m=zy(l.T),n=hC();try{if(n.length>0){var r=k.h;r&&(m.bs=[r.getWidth(),r.getHeight()]);var q=k.o;q&&(m.ps=[q.width,q.height]); T.screen&&(m.scs=[T.screen.width,T.screen.height])}else m.url=encodeURIComponent(T.location.href.substring(0,512)),f.referrer&&(m.referrer=encodeURIComponent(f.referrer.substring(0,512)));m.tt=g;m.pt=mz;m.bin=l.j;T.google_osd_load_pub_page_exp!==void 0&&(m.olpp=T.google_osd_load_pub_page_exp);m.deb=[1,b.h.Yk,b.h.ei,b.h.Di,b.h.Qg,0,b.sampler.j,b.h.ol,b.h.nl,b.h.pl,b.h.Rm,-1].join(";");m.tvt=GC(b,h);k.j&&(m.inapp=1);if(T!==null&&T!=T.top){n.length>0&&(m.iframe_loc=encodeURIComponent(T.location.href.substring(0, 512)));var t=k.G;m.is=[t.getWidth(),t.getHeight()]}}catch(v){m.error=1}b.j=m}r=Vl(b.j);q=Yy().h;if(yy(q.l,"prf")==1){t=new Qy;f=q.h;g=0;f.h>-1&&(g=f.l.h.now()-f.h);f=f.o+g;if(f!=null&&typeof f!=="number")throw Error("Value of float/double field must be a number, found "+typeof f+": "+f);t=wg(t,1,f,0);f=q.h;t=hh(t,5,f.h>-1?f.j+1:f.j);t=jh(t,2,q.j.h.l());t=jh(t,3,q.j.h.j());q=jh(t,4,q.j.h.h());t={};q=(t.pf=Lc(q.j()),t)}else q={};Yl(r,q);Yl(c,e,d,r,a())}])},BC=L(AC);var JC=null,KC="",LC=!1,MC=function(){var a=JC||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 NC(){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 OC=function(){return"ima_html5_sdk".includes("ima_html5_sdk")?{ob:"ima",qb:null}:"ima_html5_sdk".includes("ima_native_sdk")?{ob:"nima",qb:null}:"ima_html5_sdk".includes("admob-native-video-javascript")?{ob:"an",qb:null}:"av.default_js_unreleased_RCxx".includes("cast_js_sdk")?{ob:"cast",qb:NC()}:"av.default_js_unreleased_RCxx".includes("youtube.player.web")?{ob:"yw",qb:NC()}:"av.default_js_unreleased_RCxx".includes("outstream_web_client")?{ob:"out",qb:NC()}:"av.default_js_unreleased_RCxx".includes("drx_rewarded_web")? {ob:"r",qb:NC()}:"av.default_js_unreleased_RCxx".includes("gam_native_web_video")?{ob:"n",qb:NC()}:"av.default_js_unreleased_RCxx".includes("admob_interstitial_video")?{ob:"int",qb:NC()}:{ob:"j",qb:null}},PC=OC().ob,QC=OC().qb;var SC=function(a,b){var c={sv:"971"};QC!==null&&(c.v=QC);c.cb=PC;c.nas=gC.h.length;c.msg=a;b!==void 0&&(a=RC(b))&&(c.e=Vr[a]);return c},TC=function(a){return a.lastIndexOf("custom_metric_viewable",0)==0},RC=function(a){var b=TC(a)?"custom_metric_viewable":a.toLowerCase();return Ql(function(c){return c==b})};var UC={Un:"visible",Cn:"audible",Lp:"time",Mp:"timetype"},VC={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)}},WC=function(){this.h=void 0;this.j=!1;this.l=0;this.o=-1;this.A="tos"},XC=function(a){try{var b=a.split(",");return b.length>Nl(UC).length?null:bc(b,function(c,d){d=d.toLowerCase().split("=");if(d.length!=2||VC[d[0]]=== void 0||!VC[d[0]](d[1]))throw Error("Entry ("+d[0]+", "+d[1]+") is invalid.");c[d[0]]=d[1];return c},{})}catch(c){return null}},YC=function(a,b){if(a.h==void 0)return 0;switch(a.A){case "mtos":return a.j?oA(b.h,a.h):oA(b.j,a.h);case "tos":return a.j?mA(b.h,a.h):mA(b.j,a.h)}return 0};var ZC=function(a,b,c,d){qB.call(this,b,d);this.F=a;this.G=c};u(ZC,qB);ZC.prototype.getId=function(){return this.F};ZC.prototype.B=function(){return!0};ZC.prototype.h=function(a){var b=a.Da(),c=a.getDuration();return cc(this.G,function(d){if(d.h!=void 0)var e=YC(d,b);else b:{switch(d.A){case "mtos":e=d.j?b.A.l:b.l.h;break b;case "tos":e=d.j?b.A.h:b.l.h;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 $C=function(){};u($C,fB);$C.prototype.h=function(a){var b=new eB;b.h=gB(a,bB);b.j=gB(a,dB);return b};var aD=function(a){qB.call(this,"fully_viewable_audible_half_duration_impression",a)};u(aD,qB);aD.prototype.h=function(a){return JB(a)};var bD=function(a){this.na=a};u(bD,sB);var cD=function(a,b){qB.call(this,a,b)};u(cD,qB);cD.prototype.h=function(a){return a.Da().Jb()};var dD=function(a){rB.call(this,"measurable_impression",a)};u(dD,rB);dD.prototype.h=function(a){var b=jc(this.F,yy(Yy().T,"ovms"));return!a.Ib&&(a.za!=0||b)};var eD=function(){bD.apply(this,arguments)};u(eD,bD);eD.prototype.h=function(){return new dD(this.na)};eD.prototype.j=function(){return[new cD("viewable_impression",this.na),new aD(this.na)]};var fD=function(a,b,c){wB.call(this,a,b,c)};u(fD,wB);fD.prototype.o=function(){var a=Na("ima.admob.getViewability"),b=yy(this.T,"queryid");typeof a==="function"&&b&&a(b)};fD.prototype.getName=function(){return"gsv"};var gD=function(a){a=a===void 0?T:a;Tz.call(this,new Jz(a,2))};u(gD,Tz);gD.prototype.getName=function(){return"gsv"};gD.prototype.Md=function(){var a=Fz();Yy();return a.j&&!1};gD.prototype.ve=function(a,b,c){return new fD(this.h,b,c)};var hD=function(a,b,c){wB.call(this,a,b,c)};u(hD,wB);hD.prototype.o=function(){var a=this,b=Na("ima.bridge.getNativeViewability"),c=yy(this.T,"queryid");typeof b==="function"&&c&&b(c,function(d){Sl(d)&&a.F++;var e=d.opt_nativeViewVisibleBounds||{},f=d.opt_nativeViewHidden;a.h=zz(d.opt_nativeViewBounds||{});var g=a.j.o;g.h=f?vB.clone():zz(e);a.timestamp=d.opt_nativeTime||-1;Fz().h=g.h;d=d.opt_nativeVolume;d!==void 0&&(g.volume=d)})};hD.prototype.getName=function(){return"nis"};var iD=function(a){a=a===void 0?T:a;Tz.call(this,new Jz(a,2))};u(iD,Tz);iD.prototype.getName=function(){return"nis"};iD.prototype.Md=function(){var a=Fz();Yy();return a.j&&!1};iD.prototype.ve=function(a,b,c){return new hD(this.h,b,c)};var jD=function(){Jz.call(this,T,2,"mraid");this.wa=0;this.N=this.P=!1;this.C=null;this.j=uz(this.l);this.o.h=new tm(0,0,0,0);this.Ca=!1};u(jD,Jz);jD.prototype.J=function(){return this.j.fb!=null};jD.prototype.la=function(){var a={};this.wa&&(a.mraid=this.wa);this.P&&(a.mlc=1);a.mtop=this.j.Qm;this.C&&(a.mse=this.C);this.Ca&&(a.msc=1);a.mcp=this.j.Je;return a}; jD.prototype.G=function(a){var b=Ga.apply(1,arguments);try{return this.j.fb[a].apply(this.j.fb,b)}catch(c){jz(538,c,.01,function(d){d.method=a})}};var kD=function(a,b,c){a.G("addEventListener",b,c)}; jD.prototype.initialize=function(){var a=this;if(this.A)return!this.ce();this.A=!0;if(this.j.Je===2)return this.C="ng",Lz(this,"w"),!1;if(this.j.Je===1)return this.C="mm",Lz(this,"w"),!1;Fz().D=!0;this.l.document.readyState&&this.l.document.readyState=="complete"?lD(this):zA(this.l,"load",function(){My().setTimeout(iz(292,function(){return lD(a)}),100)},292);return!0}; var lD=function(a){Yy().A=!!a.G("isViewable");kD(a,"viewableChange",mD);a.G("getState")==="loading"?kD(a,"ready",nD):oD(a)},oD=function(a){typeof a.j.fb.AFMA_LIDAR==="string"?(a.P=!0,pD(a)):(a.j.Je=3,a.C="nc",Lz(a,"w"))},pD=function(a){a.N=!1;var b=yy(Yy().T,"rmmt")==1,c=!!a.G("isViewable");(b?!c:1)&&My().setTimeout(iz(524,function(){a.N||(qD(a),jz(540,Error()),a.C="mt",Lz(a,"w"))}),500);rD(a);kD(a,a.j.fb.AFMA_LIDAR,sD)},rD=function(a){var b=yy(Yy().T,"sneio")==1,c=a.j.fb.AFMA_LIDAR_EXP_1!==void 0, d=a.j.fb.AFMA_LIDAR_EXP_2!==void 0;(b=b&&d)&&(a.j.fb.AFMA_LIDAR_EXP_2=!0);c&&(a.j.fb.AFMA_LIDAR_EXP_1=!b)},qD=function(a){a.G("removeEventListener",a.j.fb.AFMA_LIDAR,sD);a.P=!1};jD.prototype.fa=function(){var a=Fz(),b=tD(this,"getMaxSize");a.h=new tm(0,b.width,b.height,0)};jD.prototype.Z=function(){Fz().A=tD(this,"getScreenSize")}; var tD=function(a,b){if(a.G("getState")==="loading")return new Hl(-1,-1);b=a.G(b);if(!b)return new Hl(-1,-1);a=parseInt(b.width,10);b=parseInt(b.height,10);return isNaN(a)||isNaN(b)?new Hl(-1,-1):new Hl(a,b)};jD.prototype.dispose=function(){qD(this);Jz.prototype.dispose.call(this)}; var nD=function(){try{var a=L(jD);a.G("removeEventListener","ready",nD);oD(a)}catch(b){jz(541,b)}},sD=function(a,b){try{var c=L(jD);c.N=!0;var d=a?new tm(a.y,a.x+a.width,a.y+a.height,a.x):new tm(0,0,0,0);var e=qz(),f=Gz();var g=new sz(e,f,c);g.h=d;g.volume=b;c.ac(g)}catch(h){jz(542,h)}},mD=function(a){var b=Yy(),c=L(jD);a&&!b.A&&(b.A=!0,c.Ca=!0,c.C&&Lz(c,"w",!0))};var uD=function(a){var b=b===void 0?!1:b;this.key=a;this.defaultValue=b;this.valueType="boolean"};var vD=new uD("45381479"),wD=new uD("45378663");var yD=function(){this.A=!1;this.N="";this.l=!1;this.h=this.j=null;var a={};this.fa=(a.start=this.Ll,a.firstquartile=this.Gl,a.midpoint=this.Il,a.thirdquartile=this.Ml,a.complete=this.Dl,a.error=this.El,a.pause=this.nh,a.resume=this.Aj,a.skip=this.Kl,a.viewable_impression=this.tb,a.mute=this.Hd,a.unmute=this.Hd,a.fullscreen=this.Hl,a.exitfullscreen=this.Fl,a.fully_viewable_audible_half_duration_impression=this.tb,a.measurable_impression=this.tb,a.abandon=this.nh,a.engagedview=this.tb,a.impression= this.tb,a.creativeview=this.tb,a.progress=this.Hd,a.custom_metric_viewable=this.tb,a.bufferstart=this.nh,a.bufferfinish=this.Aj,a.audio_measurable=this.tb,a.audio_audible=this.tb,a);a={};this.ha=(a.overlay_resize=this.Jl,a.abandon=this.Mg,a.close=this.Mg,a.collapse=this.Mg,a.overlay_unmeasurable_impression=function(b){return RB(b,"overlay_unmeasurable_impression",Gz())},a.overlay_viewable_immediate_impression=function(b){return RB(b,"overlay_viewable_immediate_impression",Gz())},a.overlay_unviewable_impression= function(b){return RB(b,"overlay_unviewable_impression",Gz())},a.overlay_viewable_end_of_session_impression=function(b){return RB(b,"overlay_viewable_end_of_session_impression",Gz())},a);Yy().j=3;xD(this);this.C=null};yD.prototype.o=function(a){KA(a,!1);jC(a)};yD.prototype.D=function(){};var zD=function(a,b,c,d){a=a.B(null,d,!0,b);a.A=c;kC([a]);return a}; yD.prototype.B=function(a,b,c,d){var e=this;a=new AB(T,a,c?b:-1,7,this.pg(),this.yi());a.Aa=d;vy(a.T);wy(a.T,"queryid",a.Aa);a.Gf(this.N);PA(a,function(){return e.V.apply(e,x(Ga.apply(0,arguments)))},function(){return e.Z.apply(e,x(Ga.apply(0,arguments)))});(d=L(mC).h)&&LA(a,d);this.C&&(a.da&&(a.da.A=this.C),this.C=null);a.Qa.lc&&L(zC);return a}; var AD=function(a,b,c){Nr(b);var d=a.h;Yb(b,function(e){var f=ac(e.h,function(g){var h=XC(g);if(h==null)g=null;else if(g=new WC,h.visible!=null&&(g.h=h.visible/100),h.audible!=null&&(g.j=h.audible==1),h.time!=null){var k=h.timetype=="mtos"?"mtos":"tos",l=h.time,m=l.length-1;l=m>=0&&l.indexOf("%",m)==m?"%":"ms";h=parseInt(h.time,10);l=="%"&&(h/=100);k=k===void 0?"tos":k;l=="ms"?(g.l=h,g.o=-1):(g.l=-1,g.o=h);g.A=k}return g});cc(f,function(g){return g==null})||IB(c,new ZC(e.id,e.event,f,d))})},BD=function(){var a= [],b=Yy();a.push(L(yC));yy(b.T,"mvp_lv")&&a.push(L(jD));b=[new gD,new iD];b.push(new pC(a));b.push(new wC(T));return b},DD=function(a){if(!a.A){a.A=!0;try{var b=qz(),c=Yy(),d=Fz();mz=b;c.o=79463069;a.j!=="o"&&(JC=Qj(T));if(Ny()){BC.h.ei=0;BC.h.Qg=qz()-b;var e=BD(),f=L(mC);f.j=e;nC(f,function(){CD()})?BC.done||(HC(),Mz(f.h.h,a),DC()):d.l?CD():DC()}else LC=!0}catch(g){throw gC.reset(),g;}}},ED=function(a){BC.sampler.cancel();KC=a;BC.done=!0},FD=function(a){if(a.j)return a.j;var b=L(mC).h;if(b)switch(b.getName()){case "nis":a.j= "n";break;case "gsv":a.j="m"}a.j||(a.j="h");return a.j},GD=function(a,b,c){if(a.h==null)return b.Jd|=4,!1;a=a.h.report(c,b);b.Jd|=a;return a==0};yD.prototype.vd=function(a){switch(a.Gb()){case 0:if(a=L(mC).h)a=a.h,kc(a.F,this),a.H&&this.xb()&&Pz(a);CD();break;case 2:DC()}};yD.prototype.ac=function(){};yD.prototype.xb=function(){return!1};var CD=function(){var a=[new wC(T)],b=L(mC);b.j=a;nC(b,function(){ED("i")})?BC.done||(HC(),DC()):ED("i")}; yD.prototype.Z=function(a,b){a.Ib=!0;switch(a.ab()){case 1:HD(a,b);break;case 2:this.sh(a)}this.yh(a)};var HD=function(a,b){if(!a.Pd){var c=RB(a,"start",Gz());c=a.oh.h(c).h;var d={id:"lidarv"};d.r=b;d.sv="971";QC!==null&&(d.v=QC);cr(c,function(e,f){return d[e]=e=="mtos"||e=="tos"?f:encodeURIComponent(f)});b=MC();cr(b,function(e,f){return d[e]=encodeURIComponent(f)});b="//pagead2.googlesyndication.com/pagead/gen_204?"+$z(Yz(new Wz,d));cA(b);a.Pd=!0}};p=yD.prototype; p.Ll=function(a){var b=a.D(a);b&&(b=b.volume,a.la=Az(b)&&b>0);NB(a,0);return RB(a,"start",Gz())};p.Hd=function(a,b,c){EC(BC,[a],!Gz());return this.tb(a,b,c)};p.tb=function(a,b,c){return RB(a,c,Gz())};p.Gl=function(a){return ID(a,"firstquartile",1)};p.Il=function(a){a.Ua=!0;return ID(a,"midpoint",2)};p.Ml=function(a){return ID(a,"thirdquartile",3)};p.Dl=function(a){var b=ID(a,"complete",4);CB(a);return b};p.El=function(a){a.za=3;return RB(a,"error",Gz())}; var ID=function(a,b,c){EC(BC,[a],!Gz());NB(a,c);OB(a,c);return RB(a,b,Gz())};p=yD.prototype;p.Aj=function(a,b,c){b=Gz();a.za!=2||b||(a.Da().C=qz());EC(BC,[a],!b);a.za==2&&(a.za=1);return RB(a,c,b)};p.Kl=function(a,b){b=this.Hd(a,b||{},"skip");CB(a);return b};p.Hl=function(a,b){KA(a,!0);return this.Hd(a,b||{},"fullscreen")};p.Fl=function(a,b){KA(a,!1);return this.Hd(a,b||{},"exitfullscreen")};p.nh=function(a,b,c){b=a.Da();b.ra=oB(b,qz(),a.za!=1);EC(BC,[a],!Gz());a.za==1&&(a.za=2);return RB(a,c,Gz())}; p.Jl=function(a){EC(BC,[a],!Gz());return a.j()};p.Mg=function(a){EC(BC,[a],!Gz());this.xj(a);CB(a);return a.j()};var xD=function(a){IC(function(){var b=JD();a.j!=null&&(b.sdk=a.j);var c=L(mC);c.h!=null&&(b.avms=c.h.getName());return b})},KD=function(a,b,c,d){var e=eC(gC,c);e!==null&&e.Aa!==b&&(a.o(e),e=null);e||(b=a.B(c,qz(),!1,b),gC.j.length==0&&(Yy().o=79463069),lC([b]),e=b,e.A=FD(a),d&&(e.sc=d));return e};yD.prototype.V=function(){}; var MD=function(a,b){b.H=0;for(var c in Rr)a[c]==null&&(b.H|=Rr[c]);LD(a,"currentTime");LD(a,"duration")};p=yD.prototype;p.sh=function(){};p.xj=function(){};p.Xh=function(){};p.yh=function(){};p.qg=function(){};p.yi=function(){this.h||(this.h=this.qg());return this.h==null||this.l?new tB:new eD(this.h)};p.pg=function(){return new $C}; var LD=function(a,b){var c=a[b];c!==void 0&&c>0&&(a[b]=Math.floor(c*1E3))},JD=function(){var a=Fz(),b={},c={},d={};return Object.assign({},(b.sv="971",b),QC!==null&&(c.v=QC,c),(d["if"]=a.l?"1":"0",d.nas=String(gC.h.length),d))};var ND=function(a){qB.call(this,"audio_audible",a)};u(ND,qB);ND.prototype.h=function(a){return a.Se()==4};var OD=function(a){rB.call(this,"audio_measurable",a)};u(OD,rB);OD.prototype.h=function(a){a=a.Se();return a==3||a==4};var PD=function(){bD.apply(this,arguments)};u(PD,bD);PD.prototype.h=function(){return new OD(this.na)};PD.prototype.j=function(){return[new ND(this.na)]};var QD=function(){};u(QD,fB);QD.prototype.h=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 eB;b.h=gB(a,cB);b.j=gB(a,dB);return b};var RD=function(a){this.j=a};RD.prototype.report=function(a,b){var c=this.h(b);if(typeof c==="function"){var d={};var e={};d=Object.assign({},QC!==null&&(d.v=QC,d),(e.sv="971",e.cb=PC,e.e=SD(a),e));e=RB(b,a,Gz());Yl(d,e);b.Yj[a]=e;d=b.ab()==2?bA(d).join("&"):b.oh.h(d).h;try{return c(b.Aa,d,a),0}catch(f){return 2}}else return 1};var SD=function(a){var b=TC(a)?"custom_metric_viewable":a;a=Ql(function(c){return c==b});return Vr[a]};RD.prototype.h=function(){return Na(this.j)};var TD=function(a,b){this.j=a;this.l=b};u(TD,RD);TD.prototype.h=function(a){if(!a.sc)return RD.prototype.h.call(this,a);if(this.l[a.sc])return function(){};jz(393,Error());return null};var UD=function(){yD.call(this);this.J=void 0;this.M=null;this.H=!1;this.G={};this.P=0;this.F="ACTIVE_VIEW_TRAFFIC_TYPE_UNSPECIFIED"};u(UD,yD);var VD=function(){var a=L(UD),b=FD(a)=="h"||FD(a)=="b",c=!(Yy(),!1);b&&c&&(a.H=!0,a.M=new XB)}; UD.prototype.D=function(a,b){var c=this,d=L(mC);if(d.h!=null)switch(d.h.getName()){case "nis":var e=WD(this,a,b);break;case "gsv":e=XD(this,a,b);break;case "exc":e=YD(this,a)}e||(b.opt_overlayAdElement?e=void 0:b.opt_adElement&&(e=KD(this,a,b.opt_adElement,b.opt_osdId)));e&&e.ab()==1&&(e.D==Rj&&(e.D=function(f){return c.Xh(f)}),a=e,b.opt_useOneSecViewableForShortsVideo!==void 0&&BB(a,!!b.opt_useOneSecViewableForShortsVideo),ZD(this,a,b));return e}; var ZD=function(a,b,c){c=c.opt_configurable_tracking_events;a.h!=null&&Array.isArray(c)&&AD(a,c,b)}; UD.prototype.Xh=function(a){a.j=0;a.V=0;if(a.A=="h"||a.A=="n"){if(Yy().l)var b=Na("ima.bridge.getVideoMetadata");else if(a.sc&&$D(this)){var c=this.G[a.sc];c?b=function(e){return aE(c,e)}:c!==null&&jz(379,Error())}else b=Na("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=Na("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=Na("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:Sl(d)?a.j|=32:d.errorCode!=null&&(a.V=d.errorCode,a.j|=64));d==null&&(d={});MD(d,a);Az(d.volume)&&Az(this.J)&&(d.volume*=this.J);return d}; var XD=function(a,b,c){var d=dC(gC,b);d||(d=c.opt_nativeTime||-1,d=zD(a,b,FD(a),d),c.opt_osdId&&(d.sc=c.opt_osdId));return d},WD=function(a,b,c){var d=dC(gC,b);d||(d=zD(a,b,"n",c.opt_nativeTime||-1));return d},YD=function(a,b){var c=dC(gC,b);c||(c=zD(a,b,"h",-1));return c};UD.prototype.qg=function(){if($D(this))return new TD("ima.common.triggerExternalActivityEvent",this.G);var a=bE(this);return a!=null?new RD(a):null}; var bE=function(a){var b=Yy();switch(FD(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};UD.prototype.sh=function(a){!a.h&&a.Ib&&GD(this,a,"overlay_unmeasurable_impression")&&(a.h=!0)}; UD.prototype.xj=function(a){a.Gj&&(a.Jb()?GD(this,a,"overlay_viewable_end_of_session_impression"):GD(this,a,"overlay_unviewable_impression"),a.Gj=!1)}; var cE=function(a,b,c,d){c=c===void 0?{}:c;var e={};Yl(e,{opt_adElement:void 0,opt_fullscreen:void 0},c);var f=a.D(b,c);c=f?f.oh:a.pg();if(e.opt_bounds)return c.h(SC("ol",d));if(d!==void 0)if(RC(d)!==void 0)if(LC)a=SC("ue",d);else if(DD(a),KC=="i")a=SC("i",d),a["if"]=0;else if(b=a.D(b,e)){b:{KC=="i"&&(b.Ib=!0,a.yh(b));f=e.opt_fullscreen;f!==void 0&&KA(b,!!f);var g;if(g=!Fz().j&&!Us()&&Ky(My().j)){switch(b.ab()){case 1:HD(b,"pv");break;case 2:a.sh(b)}ED("pv")}f=d.toLowerCase();if(g=!g)c:{if(yy(Yy().T, "ssmol")&&(g=a.l,f==="loaded"))break c;g=jc(Sr,f)}if(g&&b.za==0){KC!="i"&&(BC.done=!1);g=e!==void 0?e.opt_nativeTime:void 0;oz=g=typeof g==="number"?g:qz();b.Xd=!0;var h=Gz();b.za=1;b.xa={};b.xa.start=!1;b.xa.firstquartile=!1;b.xa.midpoint=!1;b.xa.thirdquartile=!1;b.xa.complete=!1;b.xa.resume=!1;b.xa.pause=!1;b.xa.skip=!1;b.xa.mute=!1;b.xa.unmute=!1;b.xa.viewable_impression=!1;b.xa.measurable_impression=!1;b.xa.fully_viewable_audible_half_duration_impression=!1;b.xa.fullscreen=!1;b.xa.exitfullscreen= !1;b.tg=0;h||(b.Da().C=g);EC(BC,[b],!h)}(g=b.Xc[f])&&iB(b.sa,g);yy(Yy().T,"fmd")||jc(Tr,f)&&b.Mb&&b.Mb.j(b,null);switch(b.ab()){case 1:var k=TC(f)?a.fa.custom_metric_viewable:a.fa[f];break;case 2:k=a.ha[f]}if(k&&(d=k.call(a,b,e,d),yy(Yy().T,"fmd")&&jc(Tr,f)&&b.Mb&&b.Mb.j(b,null),d!==void 0)){e=SC(void 0,f);Yl(e,d);d=e;break b}d=void 0}b.za==3&&a.o(b);a=d}else a=SC("nf",d);else a=void 0;else LC?a=SC("ue"):f?(a=SC(),Yl(a,QB(f,!0,!1,!1))):a=SC("nf");return typeof a==="string"?c.h():c.h(a)}; UD.prototype.V=function(a){this.l&&a.ab()==1&&dE(this,a)};UD.prototype.yh=function(a){this.l&&a.ab()==1&&dE(this,a)};var dE=function(a,b){var c;if(b.sc&&$D(a)){var d=a.G[b.sc];d?c=function(f,g){eE(d,f,g)}:d!==null&&jz(379,Error())}else c=Na("ima.common.triggerViewabilityMeasurementUpdate");if(typeof c==="function"){var e=KB(b);e.nativeVolume=a.J;c(b.Aa,e)}},$D=function(a){return Yy().l||FD(a)!="h"&&FD(a)!="m"?!1:a.P!=0}; UD.prototype.B=function(a,b,c,d){if(Vy(Yy().flags,wD)){var e=yy(Yy().T,"mm"),f={};(e=(f[Qr.Sh]="ACTIVE_VIEW_TRAFFIC_TYPE_AUDIO",f[Qr.VIDEO]="ACTIVE_VIEW_TRAFFIC_TYPE_VIDEO",f)[e])&&e&&(this.F=e);this.F==="ACTIVE_VIEW_TRAFFIC_TYPE_UNSPECIFIED"&&jz(1044,Error())}a=yD.prototype.B.call(this,a,b,c,d);this.H&&(b=this.M,a.o==null&&(a.o=new SA),b.h[a.Aa]=a.o,a.o.A=UB);return a};UD.prototype.o=function(a){a&&a.ab()==1&&this.H&&delete this.M.h[a.Aa];return yD.prototype.o.call(this,a)}; UD.prototype.yi=function(){this.h||(this.h=this.qg());return this.h==null||this.l?new tB:this.F==="ACTIVE_VIEW_TRAFFIC_TYPE_AUDIO"?new PD(this.h):new eD(this.h)};UD.prototype.pg=function(){return this.F==="ACTIVE_VIEW_TRAFFIC_TYPE_AUDIO"?new QD:new $C};var fE=function(a){var b={};return b.viewability=a.h,b.googleViewability=a.j,b},gE=function(a,b,c){c=c===void 0?{}:c;a=cE(L(UD),b,c,a);return fE(a)};D("Goog_AdSense_Lidar_sendVastEvent",iz(193,gE,void 0,JD)); D("Goog_AdSense_Lidar_getViewability",iz(194,function(a,b){b=b===void 0?{}:b;a=cE(L(UD),a,b);return fE(a)}));D("Goog_AdSense_Lidar_getUrlSignalsArray",iz(195,function(){return Oy()}));D("Goog_AdSense_Lidar_getUrlSignalsList",iz(196,function(){return JSON.stringify(Oy())}));var hE=sa(["//ep2.adtrafficquality.google/sodar/",""]),iE=sa(["//tpc.googlesyndication.com/sodar/",""]);C.console&&typeof C.console.log==="function"&&Ya(C.console.log,C.console);var jE=function(a){for(var b=[],c=a=em(a.ownerDocument);c!=a.top;c=c.parent)if(c.frameElement)b.push(c.frameElement);else break;return b};var kE=function(){return Math.round(Date.now()/1E3)};var lE=function(){this.h={};return this};lE.prototype.remove=function(a){var b=this.h;a in b&&delete b[a]};lE.prototype.set=function(a,b){this.h[a]=b};var mE=function(a,b){a.h.eb=Ul(a.h,"eb",0)|b};lE.prototype.get=function(a){return Ul(this.h,a,null)};lE.prototype.ia=function(){var a=[],b;for(b in this.h)a.push(b+this.h[b]);return a.join("_")};var nE=null,oE=function(){this.h={};this.j=0},pE=function(){nE||(nE=new oE);return nE},qE=function(a,b){a.h[b.getName()]=b};oE.prototype.ia=function(a){var b=[];a||(a=0);for(var c in this.h){var d=this.h[c];d instanceof rE?d.getValue()&&(a|=d.A):(d=this.h[c].ia())&&b.push(c+d)}b.push("eb"+String(a));return b.join("_")};var sE=function(a,b){this.o=a;this.l=!0;this.h=b};sE.prototype.getName=function(){return this.o};sE.prototype.getValue=function(){return this.h}; sE.prototype.ia=function(){return this.l?this.j():""};sE.prototype.j=function(){return String(this.h)};var rE=function(a,b){sE.call(this,String(a),b);this.A=a;this.h=!!b};u(rE,sE);rE.prototype.j=function(){return this.h?"1":"0"};var tE=function(a,b){sE.call(this,a,b)};u(tE,sE);tE.prototype.j=function(){return this.h?Math.round(this.h.top)+"."+Math.round(this.h.left)+"."+(Math.round(this.h.top)+Math.round(this.h.height))+"."+(Math.round(this.h.left)+Math.round(this.h.width)):""}; var uE=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 tE("",new wm(c,b,Number(a[3])-c,Number(a[2])-b))}return new tE("",new wm(0,0,0,0))};var vE=function(a){var b=new wm(-Number.MAX_VALUE/2,-Number.MAX_VALUE/2,Number.MAX_VALUE,Number.MAX_VALUE),c=new wm(0,0,0,0);if(!a||0==a.length)return c;for(var d=0;d0?(e=xm(b),f=xm(c),e=e.top>=f.top&&e.top0?(e=xm(b),f=xm(c),e=e.bottom<=f.bottom&&e.bottom>f.top):e=!1;qE(a,new rE(1024,e));d&&d>0?(e=xm(b),f=xm(c),e=e.left>=f.left&&e.left0?(b=xm(b),c=xm(c),c=b.right<=c.right&&b.right>c.left):c=!1;qE(a,new rE(4096,c))}};var yE=function(a,b){var c=0;Ol(em(),"ima","video","client","tagged")&&(c=1);var d=null;a&&(d=a());if(d){a=pE();a.h={};var e=new rE(32,!0);e.l=!1;qE(a,e);e=em().document;e=e.visibilityState||e.webkitVisibilityState||e.mozVisibilityState||e.msVisibilityState||"";qE(a,new rE(64,e.toLowerCase().substring(e.length-6)!="hidden"?!0:!1));a:{try{var f=em().top;try{var g=!!f.location.href||f.location.href===""}catch(m){g=!1}if(g){var h=jE(d);var k=h&&h.length!=0?"1":"0";break a}k="2";break a}catch(m){k="2"; break a}k=void 0}qE(a,new rE(256,k=="2"));qE(a,new rE(128,k=="1"));h=g=em().top;k=="2"&&(h=em());f=wE(d,h);qE(a,new tE("er",f));try{var l=h.document&&!h.document.body?null:dm(h||window)}catch(m){l=null}l?(h=sm(am(h.document)),qE(a,new rE(16384,!!h)),l=h?new wm(h.x,h.y,l.width,l.height):null):l=null;qE(a,new tE("vi",l));if(l&&"1"==k){k=jE(d);d=[];for(h=0;h0?Math.round(window.performance.timing.domLoading/1E3):null;c.set.call(c,"td",kE()-(a!=null?a:b!=null?b:kE()))};yE.prototype.ia=function(){var a=[],b=Number(this.h.get("eb"));this.h.remove("eb");var c=this.h.ia();c&&a.push(c);this.j&&(c=this.j.serialize())&&a.push(c);(c=this.l.ia(b))&&a.push(c);this.h.set("eb",b);return a.join("_")};new Ux(200);var zE=function(a){this.I=H(a)};u(zE,K);var AE=function(a){var b=new zE;return mh(b,1,a)};var BE=[0,vj];var CE=function(a){this.I=H(a)};u(CE,K);var DE=function(a,b){return kh(a,1,b)},EE=function(a){kg(a,2)},FE=function(a){var b=window.Date.now();b=Number.isFinite(b)?Math.round(b):0;return kg(a,3,bf(b))};CE.prototype.getError=function(){return J(this,zE,10)};CE.prototype.Pa=function(a){return Mg(this,10,a)};var GE=Bj(CE);var HE=[0,pj,-1,ij,lj,-2,ij,hj,nj,BE,nj];var IE=[0,1,[0,kj,-2],-1,pj,-1,nj,[0,3,vj,pj],ij,wj,tj];var JE=function(a){this.I=H(a)};u(JE,K);JE.prototype.j=zj([0,qj,IE,qj,HE]);var KE=function(a){this.I=H(a)};u(KE,K);var LE=Bj(KE);var OE=function(){var a=ME,b=NE;b=b===void 0?null:b;this.pinger=a;this.A="jserror";this.j=!0;this.h=b;this.l=null;this.o=!1;this.Ka=this.wb};p=OE.prototype;p.Ah=function(a){this.l=a};p.Cj=function(a){this.A=a};p.Bh=function(a){this.j=a};p.Ej=function(a){this.o=a}; p.Qc=function(a,b,c){try{if(this.h&&this.h.l){var d=this.h.start(a.toString(),3);var e=b();this.h.end(d)}else e=b()}catch(h){b=this.j;try{vo(d),b=this.Ka(a,new Lj(h,{message:Nj(h)}),void 0,c)}catch(k){this.wb(217,k)}if(b){var f,g;(f=window.console)==null||(g=f.error)==null||g.call(f,h)}else throw h;}return e};p.rh=function(a,b,c,d){var e=this;return function(){var f=Ga.apply(0,arguments);return e.Qc(a,function(){return b.apply(c,f)},d)}}; p.wb=function(a,b,c,d,e){e=e||this.A;var f=void 0;try{var g=new Hv;Mv(g,1,"context",a);Mj(b)||(b=new Lj(b,{message:Nj(b)}));b.msg&&Mv(g,2,"msg",b.msg.substring(0,512));var h=b.meta||{};if(this.l)try{this.l(h)}catch(m){}if(d)try{d(h)}catch(m){}Lv(g,3,[h]);f=Bv();f.j&&Mv(g,4,"top",f.j.url||"");Lv(g,5,[{url:f.h.url||""},{url:f.h.url?br(f.h.url):""}]);PE(this.pinger,e,g,this.o,c)}catch(m){try{var k,l;PE(this.pinger,e,{context:"ecmserr",rctx:a,msg:Nj(m),url:(l=(k=f)==null?void 0:k.h.url)!=null?l:""},this.o, c)}catch(n){}}return this.j};var QE=function(){var a=a===void 0?!1:a;this.domain="pagead2.googlesyndication.com";this.path="/pagead/gen_204?id=";this.j=a;this.protocol="https:";this.h=Math.random()},RE=function(){var a=ME,b=window.google_srt;b>=0&&b<=1&&(a.h=b)},PE=function(a,b,c,d,e){if(((d===void 0?0:d)?a.h:Math.random())<(e||.01))try{if(c instanceof Hv)var f=c;else f=new Hv,Oj(c,function(h,k){var l=f,m=l.o++;Lv(l,m,Iv(k,h))});var g=Pv(f,a.protocol,a.domain,a.path+b+"&");g&&(a.j?Om(g):Mm(C,g))}catch(h){}};var ME,SE,NE=new uo(1,window);(function(a){ME=a!=null?a:new QE;typeof window.google_srt!=="number"&&(window.google_srt=Math.random());RE();SE=new OE;SE.Ah(function(){});SE.Ej(!0);window.document.readyState==="complete"?window.google_measure_js_timing||NE.F():NE.l&&Km(window,"load",function(){window.google_measure_js_timing||NE.F()})})();[2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2].reduce(function(a,b){return a+b});[2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2].reduce(function(a,b){return a+b});[2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2].reduce(function(a,b){return a+b});[2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2].reduce(function(a,b){return a+b});[2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2].reduce(function(a,b){return a+b});[2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2].reduce(function(a,b){return a+b});var TE=function(a,b){b=b===void 0?!1:b;this.h=a;this.defaultValue=b},UE=function(a,b){b=b===void 0?0:b;this.h=a;this.defaultValue=b};var VE=new TE(45796605,!0),WE=new TE(45803173),XE=new TE(45722344),YE=new UE(45645574),ZE=new TE(45685601,!0),$E=new UE(45685602,100),aF=new TE(45830425);var bF=function(a){this.I=H(a)};u(bF,K);var cF=function(a){var b=new bF;Pg(b,1,Oe,a,Pe,void 0,void 0,!0)};var dF=/^((market|itms|intent|itms-appss):\/\/)/i;var eF=function(a,b,c){this.l=a;this.j=b;this.h=c};var fF=function(){this.ca=new Map;this.L=new Map;this.o=[];this.adTitle=this.id=null;this.zc="video";this.D=null;this.N=[];this.bd=null;this.ub=[]};fF.prototype.getId=function(){return this.id};fF.prototype.Wa=function(a){var b=a.eventType,c=this.ca.get(b);c?c.push(a):this.ca.set(b,[a])};var gF=function(a,b,c){c=c===void 0?null:c;this.name=a;this.j=b;this.h=c};gF.prototype.getName=function(){return this.name};function hF(){if(window.MutationObserver){var a=[];(new MutationObserver(function(){var b=w(a),c=b.next(),d;try{for(;!c.done;c=b.next()){var e=c.value;e()}}finally{c&&!c.done&&(d=b.return)&&d.call(b)}a=[]})).observe(document.createTextNode(""),{characterData:!0})}}typeof Promise==="function"&&String(Promise).indexOf("[native code]")>-1||hF();function iF(a,b){a=a===void 0?{}:a;b=b===void 0?new Map:b;jF(b,"AD_TOS",function(){var e=a.Up;e=e===void 0?null:e;if(e==null)e="-1";else{var f=Date.now();e=e>f?"-1":Math.round(f-e).toString()}return e});jF(b,"ADCOUNT",function(){var e=a.pa;return(e=e===void 0?null:e)?e.getAdPosition().toString():"-1"});jF(b,"AD_MT",function(){var e=a.X;e=e===void 0?null:e;return e==null?"-1":Math.round(Math.max(0,e.getCurrentTime()*1E3)).toString()});jF(b,"ADPLAYHEAD",function(){var e=a.X;e=e===void 0?null:e;return e== null?"-1":Ft(e.getCurrentTime())});jF(b,"ADSERVINGID",function(){var e=a.ad;return(e=(e=e===void 0?null:e)&&e.bd)?e:"-1"});jF(b,"ASSETURI",function(){var e=a.X;e=e===void 0?null:e;return e==null?"-1":e.Ic()});kF(b,"CLICKPOS","-1");jF(b,"CSET",function(){return Date.now().toString()});jF(b,"PODSEQUENCE",function(){var e=a.ad,f;return(e=(f=e===void 0?null:e)==null?void 0:f.D)?e.toString():"-1"});var c=a,d=c.bn;c=c.cn;kF(b,"UNIVERSALADID",d&&c?d+" "+c:"-1");return lF(a,b)} function lF(a,b){a=a===void 0?{}:a;b=b===void 0?new Map:b;jF(b,"ADTYPE",function(){var d=a.ad;return(d=d===void 0?null:d)?d.zc:"-1"});kF(b,"APPBUNDLE",a.appName||"-1");jF(b,"BREAKMAXADS",function(){var d=a.pa;return(d=d===void 0?null:d)?d.getTotalAds().toString():"-1"});kF(b,"BREAKMAXADLENGTH","-1");jF(b,"BREAKMAXDURATION",function(){var d=a.pa;return(d=d===void 0?null:d)?d.l.toString():"-1"});kF(b,"BREAKMINADLENGTH","-1");kF(b,"BREAKMINDURATION","-1");jF(b,"BREAKPOSITION",function(){var d=a.pa;d= d===void 0?null:d;d==null?d="-1":(d=d.getPodIndex(),d=d===0?"1":d===-1?"3":"2");return d});jF(b,"CACHEBUSTING",mF);kF(b,"CLICKTYPE",a.kl||"-1");var c=a;kF(b,"CLIENTUA",nF({mg:c.mg,ng:c.ng,ph:c.ph,qh:c.qh}));kF(b,"CONTENTID","-1");kF(b,"CONTENTURI","-1");kF(b,"DEVICEIP","-1");kF(b,"DEVICEUA","-1");kF(b,"DOMAIN",a.domain||oF());kF(b,"GDPRCONSENT",a.Si?a.Si:"-1");kF(b,"IFA","-2");kF(b,"IFATYPE","-2");kF(b,"INVENTORYSTATE","-1");kF(b,"LATLONG","-1");jF(b,"LIMITADTRACKING",function(){return"-1"});jF(b, "MEDIAPLAYHEAD",function(){var d=a.pa;return(d=d===void 0?null:d)?d.getTimeOffset().toString():"-1"});jF(b,"OMIDPARTNER",function(){var d=a.ih,e=a.im;d=d===void 0?null:d;e=e===void 0?null:e;return d==null||e==null?"-1":d+"/"+e});kF(b,"PAGEURL",a.pageUrl||pF());kF(b,"PLACEMENTTYPE",a.rj||"-1");kF(b,"PLAYERSIZE","-1");kF(b,"PLAYERSTATE","-1");kF(b,"REGULATIONS","-1");kF(b,"SERVERSIDE","0");kF(b,"SERVERUA","-1");jF(b,"TIMESTAMP",qF);jF(b,"TRANSACTIONID",function(){var d=a.Zf;return(d=d===void 0?null: d)&&d.transactionId?d.transactionId.toString():"-1"});kF(b,"US_PRIVACY",a.en||"-1");a.Vc&&kF(b,"UACH",a.Vc);return b}function kF(a,b,c){a.set(b,new gF(b,{toString:function(){return c}}))}function jF(a,b,c){a.set(b,new gF(b,{toString:function(){return c()}}))}function nF(a){var b=a.mg;b=b===void 0?null:b;var c=a.ng;c=c===void 0?null:c;var d=a.ph;d=d===void 0?null:d;a=a.qh;a=a===void 0?null:a;if(!b&&!d)return"-1";var e="unknown";b&&(e=b+(c?"/"+c:""));b="";d&&(b=" "+d+(a?"/"+a:""));return e+b} function mF(){return Math.round(Math.random()*1E8+1E8).toString().slice(1)}function oF(){var a=Wu()===2?null:em().top.location.hostname;return a?a:"-1"}function pF(){var a=Wu()===2?null:em().top.location.href;return a?a:"-1"}function qF(){return(new Date).toISOString()};var rF=function(a){this.F=a},sF=function(a,b){return a.map(function(c){c=typeof c==="string"?new Jt(c):c;return new Jt(Vu(c.url,b))})},tF=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 Jt(e):e});c=c?sF(b,c):b;Tu(a.F,c,d)};var vF=function(a,b,c){c=c===void 0?[]:c;this.F=b;var d=this;this.G=[];this.B=[];this.o=this.A=-1;this.ca=a;this.ke=c;this.h=new Map;this.j=new Map;this.l=new Map;O(N.getInstance(),"ua_e",navigator&&navigator.userActivation?"1":"0");N.getInstance().h.Z.push(function(){uF(d)})};u(vF,rF);vF.prototype.report=function(a,b){b=b===void 0?wF(this,a):b;xF(this,a,b||[])}; var xF=function(a,b,c){var d;A(function(e){if(e.l==1)return d=c.map(function(f){return typeof f==="string"?new Jt(f):f}),a.B.length>0?e.h(Promise.all(d.map(function(f){var g,h,k,l;return A(function(m){switch(m.l){case 1:g=w(a.B),h=g.next(),m.fa(2);case 4:if(h.done){m.Y(2);break}l=h.value;return m.h(l(b,f),7);case 7:f=m.j;h=g.next();m.Y(4);break;case 2:m.J();h&&!h.done&&(k=g.return)&&k.call(g);m.M(3);break;case 3:return m.return(f)}})})),3):e.Y(2);e.l!=2&&(d=e.j);a.G.forEach(function(f){try{f(b)}catch(g){}}); yF(a,b,d);e.F()})},yF=function(a,b,c){zF(a,b)?AF(a,b,c):BF(a,b)&&(b==="skip"&&navigator&&navigator.userActivation&&(O(N.getInstance(),"uas_hba",navigator.userActivation.hasBeenActive?"1":"0"),O(N.getInstance(),"uas_ia",navigator.userActivation.isActive?"1":"0")),c.filter(function(d){return d.url.match(/\/aclk.*label=video_engaged_view/)}).length&&(b==="complete"&&Ro(N.getInstance(),"evoace"),b==="progress"&&Ro(N.getInstance(),"evoape"),b==="engagedView"&&Ro(N.getInstance(),"evoaeve")),CF(a,b,c))}, CF=function(a,b,c){a.h.has(b)?a.h.set(b,a.h.get(b)+1):a.h.set(b,1);c.length&&tF(a,c,a.l,a.ke.includes(b));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),CF(a,c,b))},EF=function(a,b,c){var d=a.ca.get("progress");if(d&&!(d.length<=0)){var e=[],f=a.A,g=a.o;d.forEach(function(h){var k=h.j,l=h.h;l&&l<=b*1E3*100/c&&l>a.o?(g=l>g?l:g,e.push(DF(h))):k&&k<=b&&k>a.A&&(f=k>f?k:f,e.push(DF(h)))});a.A= f;a.o=g;e.length>0&&a.report("progress",e)}};vF.prototype.reportError=function(a){Ro(N.getInstance(),"err");O(N.getInstance(),"aec",String(a));var b=this.l;b=b===void 0?new Map:b;b.set("ERRORCODE",new gF("ERRORCODE",a));this.report("error")}; var FF=function(a,b){a.l.set(b.getName(),b)},GF=function(a,b){b.forEach(function(c){return void FF(a,c)})},HF=function(a,b){a.G.push(b)},AF=function(a,b,c){var d=c;a.l!=null&&(d=sF(c,a.l));a.j.has(b)?d.forEach(function(e){return void a.j.get(b).push(e)}):a.j.set(b,d)},zF=function(a,b){if(a.h.has(b))return!1;switch(b){case "measurable_impression":return!a.h.has("impression");case "viewable_impression":return!a.h.has("impression")||!a.h.has("measurable_impression");default:return!1}},BF=function(a, b){switch(b){case "abandon":return!a.h.has(b)&&!a.h.has("skip")&&!a.h.has("instreamAdComplete")&&a.h.has("impression");case "instreamAdComplete":case "complete":return!a.h.has(b)&&!a.h.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.h.has(b)}},wF=function(a,b){return(a.ca.get(b)|| []).map(function(c){return DF(c)})},uF=function(a){O(N.getInstance(),"rec",Array.from(a.h,function(b){var c=w(b);b=c.next().value;c=c.next().value;return b+"-"+c}).join("|"))};var IF={},JF=(IF.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(" "),IF),KF=new Map,LF=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.h=c;this.H=d;this.D=f;this.o=new Fy;this.B=(a=a.L.get(eF))?a.j:"";this.A= a?a.h:"";this.C=a?a.l:[];HF(this.j,function(h){g.J(h)});a=kq();By(Yy().T,a);KF.set(this.l,this)};u(LF,R);var NF=function(a,b){FF(a.j,new gF("VIEWABILITY",b.viewability));FF(a.j,new gF("GOOGLE_VIEWABILITY",b.googleViewability,function(c){return function(d){return MF(d,c)}}("GOOGLE_VIEWABILITY")))}; LF.prototype.J=function(a){var b=this.l,c=this.h,d=this.C;d=d===void 0?[]:d;var e=c.zg()||void 0,f={};c=(f.opt_fullscreen=c.yd(),f.opt_adElement=e,f);a=="start"&&(c.opt_configurable_tracking_events=d);a=gE(a,b,c);NF(this,a)};var MF=function(a,b){b=JF[b];return b==null?!0:b.some(function(c){return a.match(c)!=null})};LF.prototype.R=function(){KF.delete(this.l);this.h=this.j=null;this.o=new Fy};D("ima.common.triggerExternalActivityEvent",function(a,b,c){(a=KF.get(a))&&a.j.report(c)}); D("ima.common.getVideoMetadata",function(a){return(a=KF.get(a))?{currentTime:a.h.getCurrentTime(),duration:a.h.getDuration(),lq:a.D,volume:a.h.df()?0:a.h.getVolume()}:{}});var OF=function(a){this.h=a===void 0?null:a};var PF=Zd({Po:1,Oo:2,Ko:3,No:4,Mo:5,Lo:6,Jn:7,Jo:8,Io:9,Ho:10,Go:11,1:"INITIATES_WITHOUT_USER_INTERACTION_SOUND_ON",2:"INITIATES_WITHOUT_USER_INTERACTION_SOUND_OFF_BY_DEFAULT",3:"INITIATES_ON_CLICK_SOUND_ON",4:"INITIATES_ON_MOUSE_OVER_SOUND_ON",5:"INITIATES_ON_ENTERING_VIEWPORT_SOUND_ON",6:"INITIATES_ON_ENTERING_VIEWPORT_SOUND_OFF_BY_DEFAULT",7:"CONTINUOUS_PLAYBACK",8:"INITIATED_BY_USER_PAUSING_CONTENT_SOUND_ON",9:"INITIATED_BY_USER_PAUSING_CONTENT_SOUND_OFF",10:"INITIATED_BY_IDLING_SOUND_ON",11:"INITIATED_BY_IDLING_SOUND_OFF"}), QF=function(){};var RF=Zd({Ro:1,tn:2,INTERSTITIAL:3,Ip:4,PAUSE:5,Fp:6,ep:7,Hp:8,Qo:9,1:"INSTREAM",2:"ACCOMPANYING_CONTENT",3:"INTERSTITIAL",4:"STANDALONE",5:"PAUSE",6:"SCREENSAVER",7:"OVERLAY",8:"SQUEEZEBACK",9:"INSCENE"}),SF=function(){};var TF=Zd({UNKNOWN:0,rn:1,Uo:2,Dn:3,jo:4,Xn:5,Gp:6,Vh:7,lp:8,Np:9,Op:10,Yn:11,Qn:12,Rn:13,En:14,Fn:15,Vo:16,Ep:17,0:"UNKNOWN",1:"ABOVE_THE_FOLD",2:"LOCKED",3:"BELOW_THE_FOLD",4:"HEADER",5:"FOOTER",6:"SIDEBAR",7:"FULLSCREEN",8:"PARTIAL_SCREEN",9:"TOP_LEFT",10:"TOP_RIGHT",11:"FRAME_THE_CONTENT",12:"DOUBLE_BOX",13:"DOUBLE_BOX_WITH_BACKGROUND",14:"BOTTOM_LEFT",15:"BOTTOM_RIGHT",16:"L_SHAPE",17:"REVERSED_L_SHAPE"}),UF=function(a){this.position=a};var VF=function(a){this.h=a};var WF=function(a){this.h=a};var XF=function(a){this.re=a};var YF=function(a){this.I=H(a)};u(YF,K);YF.prototype.getValue=function(){return Wg(this,1)};YF.prototype.clearValue=function(){return kg(this,1)};YF.prototype.getVersion=function(){return Xg(this,5)};var ZF=function(a){this.h=a};var $F=function(a){this.h=a};var aG=function(a){this.h=a},bG=function(){aG.apply(this,arguments)};u(bG,aG);var cG=function(){aG.apply(this,arguments)};u(cG,aG);var dG=function(){};var eG=function(a){this.h=a===void 0?null:a};var fG=function(a,b,c,d,e){c=c===void 0?null:c;d=d===void 0?null:d;e=e===void 0?null:e;this.eventType=a;this.url=b;this.j=c;this.h=d;this.id=e},gG=function(a){var b=null,c=null;a.gb?b=Math.floor(a.gb/1E3):a.Df&&(c=a.Df);return new fG(a.eventType,a.url,b,c,a.id)},hG=function(a){return a.url instanceof Jt?a.url.url:a.url},DF=function(a){return a.url instanceof Jt?a.url:new Jt(a.url)};fG.prototype.getId=function(){return this.id};var iG=function(a,b){var c=b===void 0?{}:b;b=c.vendor;b=b===void 0?null:b;var d=c.Rc;d=d===void 0?null:d;var e=c.parameters;e=e===void 0?null:e;c=c.ca;c=c===void 0?[]:c;this.h=a;this.vendor=b;this.parameters=e;this.Rc=d;this.ca=c},jG=function(){this.h=[]},kG=function(a,b,c,d,e,f){a.h.push(new iG(c,{vendor:b,parameters:d,Rc:e,ca:f}))};var lG=function(a){this.h=a};lG.prototype.getDealId=function(){return this.h};var mG=function(a,b,c,d){d=d===void 0?null:d;this.l=a;this.h=d;this.o=b;this.j=c}; mG.prototype.init=function(a){var b,c=window,d=this.l,e=(b=this.h)!=null?b:void 0,f=this.o;b=this.j;a="v_h."+a;var g=g===void 0?!1:g;var h;f?h=(g===void 0?0:g)?"//ep1.adtrafficquality.google/bg/"+Ak(f)+".js":"//pagead2.googlesyndication.com/bg/"+Ak(f)+".js":h="";f=h;h=g;h=h===void 0?!1:h;g=c.document;var k={};e&&(k._scs_=e);k._bgu_=f;k._bgp_=b;a&&(k._li_=a);(e=c.GoogleTyFxhY)&&typeof e.push=="function"||(e=c.GoogleTyFxhY=[]);e.push(k);e=am(g);e=hm(e.h,"SCRIPT");e.type="text/javascript";e.async=!0; d=(h===void 0?0:h)?zl(hE,Ak(d)+".js"):zl(iE,Ak(d)+".js");wk(e,d);(c=(c.GoogleTyFxhYEET||{})[e.src])?c():g.getElementsByTagName("head")[0].appendChild(e)};var nG=function(a){this.h=a};var oG=function(a){this.h=a};var pG=function(a,b,c,d){this.id=a;this.title=b;this.h=c;this.j=d};var qG=function(a,b,c,d,e){d=d===void 0?!1:d;e=e===void 0?!1:e;this.id=a;this.ec=d;this.title=b;this.j=c;this.h=!e};var rG=function(a,b,c){c=c===void 0?null:c;this.j=a;this.l=b;this.h=c||""};rG.prototype.ec=function(){return this.j.ec};var sG=function(a,b,c){b=b===void 0?null:b;c=c===void 0?{}:c;Pt.call(this,a);this.ad=b;this.h=c};u(sG,Pt);sG.prototype.getAd=function(){return this.ad};sG.prototype.getAdData=function(){return this.h};var tG=function(a){var b=a.Ba;var c=a.Ja;var d=a.height;var e=a.width;a=a.Na;a=a===void 0?!1:a;this.Ba=b;this.Ja=c;this.height=d;this.width=e;this.Na=a};tG.prototype.getHeight=function(){return this.height};tG.prototype.getWidth=function(){return this.width};var uG=function(){var a=a===void 0?-1:a;var b=b===void 0?[]:b;var c=c===void 0?0:c;var d=d===void 0?0:d;var e=e===void 0?1:e;this.adPosition=1;this.l=a;this.cd=b;this.h=c;this.j=d;this.totalAds=e};uG.prototype.getAdPosition=function(){return this.adPosition};uG.prototype.getPodIndex=function(){return this.h};uG.prototype.getTimeOffset=function(){return this.j};uG.prototype.getTotalAds=function(){return this.totalAds};var vG=function(){var a=a===void 0?null:a;var b=b===void 0?null:b;var c=c===void 0?null:c;var d=d===void 0?null:d;var e=e===void 0?null:e;var f=f===void 0?-1:f;var g=g===void 0?-1:g;var h=h===void 0?!1:h;var k=k===void 0?null:k;var l=l===void 0?[]:l;this.yc=null;this.ba=a;this.content=b;this.creativeType=c;this.resourceType=d;this.j=e;this.width=f;this.height=g;this.yg=h;this.jb=k;this.h=l};p=vG.prototype;p.getAdSlotId=function(){return this.yc};p.getContent=function(){return this.content};p.pd=function(){return this.creativeType}; p.getWidth=function(){return this.width};p.getHeight=function(){return this.height};p.getApiFramework=function(){return this.ba};var wG=function(){fF.call(this);this.j=this.skipoffset=this.ta=this.description=this.ba=null;this.h=[];this.l=this.adParameters=null;this.icons=[];this.B=this.creativeId=this.M=null;this.zb=[]};u(wG,fF);wG.prototype.Te=function(){return this.ta};wG.prototype.Pe=function(){return this.adParameters};var xG=function(a){return a.h.length>0?a.h[0]:null};p=wG.prototype;p.getAdSystem=function(){return this.o.length?this.o[0]:null};p.getApiFramework=function(){return this.ba};p.getDescription=function(){return this.description}; p.td=function(){return this.skipoffset};p.Fb=function(){return this.j};p.isSkippable=function(){return this.skipoffset!=null};p.Fg=function(){return this.icons};p.getCreativeId=function(){return this.creativeId};p.getCreativeAdId=function(){return this.B};p.getUniversalAdIds=function(){return this.zb};var yG=RegExp("(doubleclick\\.net|googleadservices\\.com|googlesyndication\\.com)"),zG=["ai","sigh"],AG=["xai","sig"];function BG(a,b){var c=Gk(a);if(E(c))return a;CG(c)&&(a=DG(a,"&sdkv="+b),a=DG(a,"&ssss=gima"));return a} function CG(a){return a&&yG.test(a)?a.includes("/pagead/adview")||a.includes("/pagead/conversion")||a.includes("/gampad/live/conversion")||a.includes("/pagead/interaction")?zG.every(function(b){return dr(a,b,a.search(er))>=0}):a.includes("/pcs/view")?AG.every(function(b){return dr(a,b,a.search(er))>=0}):!1:!1}function DG(a,b){var c=a.indexOf("&adurl=");return c!==-1?a.slice(0,c)+b+a.slice(c,a.length):a+b};var EG={LOADED:"loaded",ci:"start",FIRST_QUARTILE:"firstQuartile",MIDPOINT:"midpoint",THIRD_QUARTILE:"thirdQuartile",COMPLETE:"complete",PAUSE:"pause",bi:"resume",Uh:"bufferStart",Th:"bufferFinish",SKIPPED:"skipped",di:"volumeChange",np:"playerStateChange",xn:"adUserInteraction"};var FG=function(a){wG.call(this);this.J=a;this.isLinear=!0;this.pa=new uG;this.A=null;this.companionAds=[];this.dealId=null;this.F=[];this.G=[];this.C=[];this.H=String(Math.floor(Math.random()*1E9))};u(FG,wG);p=FG.prototype;p.Wa=function(a){var b=BG(hG(a),this.J);wG.prototype.Wa.call(this,new fG(a.eventType,b,a.j,a.h))};p.getAdPodInfo=function(){return this.pa};p.getAdvertiserName=function(){return this.A};p.getCompanionAds=function(){return this.companionAds};p.getDealId=function(){return this.dealId}; p.getWrapperAdIds=function(){return this.F};p.getWrapperAdSystems=function(){return this.G};p.getWrapperCreativeIds=function(){return this.C};p.Qe=function(){return this.H};p.pd=function(){return"video"};var GG=function(a){fF.call(this);this.l=a;this.isLinear=!1;this.description=null;this.pa=new uG;this.icons=[];this.ta=null;this.h=[]};u(GG,fF);p=GG.prototype;p.Wa=function(a){var b=BG(hG(a),this.l);fF.prototype.Wa.call(this,new fG(a.eventType,b,a.j,a.h))};p.getAdPodInfo=function(){return this.pa};p.Fg=function(){return this.icons};p.Te=function(){return this.ta?this.ta:this.h.length>0?this.h[0].je:null};p.Pe=function(){return this.h.length>0?this.h[0].adParameters:null}; p.Fb=function(){return this.h.length>0?this.h[0].h:null};p.getDescription=function(){return this.description};p.td=function(){return null};p.isSkippable=function(){return!1};var yH=function(a){var b=a.Tf;var c=a.eg;var d=a.Kd;var e=a.fd;var f=a.Ba;var g=a.Ja;var h=a.Ld;var k=a.Be;var l=a.height;var m=a.width;var n=a.Na;var r=a.Mh;a=a.dg;tG.call(this,{Ba:f,Ja:g,height:l,width:m,Na:n===void 0?!1:n});this.Tf=b;this.eg=c;this.Kd=d;this.fd=e;this.Ld=h;this.Be=k;this.Mh=r;this.dg=a};u(yH,tG);yH.prototype.Ic=function(){return this.Tf};var zH=function(){this.altText=this.ba=this.program=null;this.h=this.j=0;this.C=1;this.xPosition="left";this.yPosition="top";this.ta=this.gb=-1;this.G=this.l=this.o=null;this.F=[];this.B=[];this.A=[]};zH.prototype.getApiFramework=function(){return this.ba};zH.prototype.Te=function(){return this.ta};zH.prototype.Fb=function(){return this.o};var AH=function(){this.h=this.l=0;this.altText=this.creativeType=this.j=null};AH.prototype.pd=function(){return this.creativeType};AH.prototype.clone=function(){var a=new AH;a.l=this.l;a.h=this.h;a.j=this.j;a.creativeType=this.creativeType;a.altText=this.altText;return a};var BH=function(a,b,c,d,e){c=c===void 0?null:c;d=d===void 0?null:d;e=e===void 0?!1:e;this.url=a;this.h=b;this.mimeType=c;this.ba=d;this.Rf=e};var CH=function(a){var b=a===void 0?{}:a;a=b.xf;a=a===void 0?null:a;var c=b.itag;c=c===void 0?null:c;var d=b.mimeType;d=d===void 0?null:d;var e=b.Ba,f=b.Ja,g=b.height,h=b.width,k=b.Na;b=b.pb;b=b===void 0?null:b;tG.call(this,{Ba:e===void 0?null:e,Ja:f===void 0?null:f,height:g===void 0?null:g,width:h===void 0?null:h,Na:k===void 0?!1:k});this.xf=a;this.mimeType=d;this.itag=c;this.pb=b};u(CH,tG);CH.prototype.getMediaUrl=function(){return this.xf};var DH=function(){fF.call(this);this.creativeType="";this.width=this.height=0;this.resourceType=this.resource="";this.je=0;this.l=this.A=!1;this.ba=this.adParameters=this.h=null;this.j=[]};u(DH,fF);var EH=function(a,b){b=b===void 0?"unknown":b;this.j=a===void 0?"unknown":a;this.h=b};EH.prototype.getAdIdValue=function(){return this.j};EH.prototype.getAdIdRegistry=function(){return this.h};EH.prototype.ia=function(){return this.h+":"+this.j};var FH=function(a){this.ca=a=a===void 0?[]:a};var GH=function(a,b,c,d){b=b===void 0?[]:b;c=c===void 0?"":c;d=d===void 0?"":d;FH.call(this,a);this.h=b;this.l=c;this.j=d};u(GH,FH);var HH=function(a){this.h=a=a===void 0?[]:a};HH.prototype.unshift=function(a){this.h.unshift(a)};var IH=function(a,b){var c=[];a.h.forEach(function(d){c=c.concat(d.h.L.filter(function(e){return e instanceof b}))});return c};var JH=function(){};JH.prototype.ma=function(a,b){var c=[],d="",e="";IH(a,GH).forEach(function(f){c.push.apply(c,x(f.h));d=d||f.l;e=e||f.j});(c.length>0||d||e)&&b.L.set(eF,new eF(c,d,e))};var KH=function(a){this.h=a};var LH=function(){};LH.prototype.ma=function(a,b){a=w(a.h);var c=a.next(),d;try{for(;!c.done;c=a.next()){var e=w(c.value.h.L),f=e.next(),g;try{for(;!f.done;f=e.next()){var h=f.value;if(h instanceof KH){var k=h.h;if(PF(k)){b.L.set(QF,new QF(k));return}}}}finally{f&&!f.done&&(g=e.return)&&g.call(e)}}}finally{c&&!c.done&&(d=a.return)&&d.call(a)}};var MH=function(a){this.h=a};var NH=function(){};NH.prototype.ma=function(a,b){a=w(a.h);var c=a.next(),d;try{for(;!c.done;c=a.next()){var e=w(c.value.h.L),f=e.next(),g;try{for(;!f.done;f=e.next()){var h=f.value;if(h instanceof MH){var k=h.h;if(RF(k)){b.L.set(SF,new SF(k));return}}}}finally{f&&!f.done&&(g=e.return)&&g.call(e)}}}finally{c&&!c.done&&(d=a.return)&&d.call(a)}};var OH=function(a){this.h=a};var PH=function(){};PH.prototype.ma=function(a,b){a=w(a.h);var c=a.next(),d;try{for(;!c.done;c=a.next()){var e=w(c.value.h.L),f=e.next(),g;try{for(;!f.done;f=e.next()){var h=f.value;if(h instanceof OH){var k=h.h;if(TF(k)){b.L.set(UF,new UF(k));return}}}}finally{f&&!f.done&&(g=e.return)&&g.call(e)}}}finally{c&&!c.done&&(d=a.return)&&d.call(a)}};var QH=function(a,b){var c=b===void 0?{}:b;b=c.Qd;b=b===void 0?null:b;var d=c.Rd;d=d===void 0?null:d;var e=c.xi;e=e===void 0?null:e;var f=c.ij;f=f===void 0?!1:f;var g=c.ke;g=g===void 0?[]:g;var h=c.Hj;h=h===void 0?!1:h;var k=c.uiConfig;k=k===void 0?null:k;var l=c.Zj;l=l===void 0?null:l;c=c.Qh;c=c===void 0?null:c;FH.call(this,a);this.Qd=b;this.Rd=d;this.xi=e;this.ij=f;this.ke=g;this.Hj=h;this.uiConfig=k;this.Zj=l;this.Qh=c};u(QH,FH);var RH=function(){};RH.prototype.ma=function(a,b){a=w(a.h);var c=a.next(),d;try{for(;!c.done;c=a.next()){var e=w(c.value.h.L),f=e.next(),g;try{for(;!f.done;f=e.next()){var h=f.value;if(h instanceof QH){b.L.set(OF,new OF(h.Qh,h.ke));return}}}finally{f&&!f.done&&(g=e.return)&&g.call(e)}}}finally{c&&!c.done&&(d=a.return)&&d.call(a)}};function SH(a){return(a==null?[]:a.lg).map(function(b){var c=new AH;c.l=b.width||0;c.h=b.height||0;c.j=b.resource?b.resource.h:"";c.altText=b.altText;return c})} function TH(a){var b=a.resources.find(function(g){return g.resourceType==="Static"});if(!b)return null;var c=new zH;c.program=a.program;c.ba=a.ba;c.altText=a.altText;c.xPosition=a.xPosition!=null?a.xPosition:"left";c.yPosition=a.yPosition!=null?a.yPosition:"top";c.h=a.height?a.height:0;c.j=a.width?a.width:0;c.C=a.If?a.If:1;c.gb=a.gb?a.gb:0;c.ta=a.ta?a.ta:-1;c.F=a.Og;if(a.Jc&&a.Jc.Cb){c.o=a.Jc.Cb.url;var d=w(a.Jc.Bc),e=d.next(),f;try{for(;!e.done;e=d.next())c.B.push(e.value.url)}finally{e&&!e.done&& (f=d.return)&&f.call(d)}}c.A=SH(a.Jc);c.l=b.h;c.G=b.creativeType;return c};var UH=function(a){this.h=a};var VH=function(){};VH.prototype.ma=function(a,b){a=w(a.h);var c=a.next(),d;try{for(;!c.done;c=a.next()){var e=w(c.value.h.L),f=e.next(),g;try{for(;!f.done;f=e.next()){var h=f.value;if(h instanceof UH){var k=TH(h.h);k&&b.L.set(VF,new VF(k))}}}finally{f&&!f.done&&(g=e.return)&&g.call(e)}}}finally{c&&!c.done&&(d=a.return)&&d.call(a)}};var WH=function(a){this.h=a};var XH=function(){};XH.prototype.ma=function(a,b){a=w(a.h);var c=a.next(),d;try{for(;!c.done;c=a.next()){var e=w(c.value.h.L),f=e.next(),g;try{for(;!f.done;f=e.next()){var h=f.value;if(h instanceof WH){var k=new Map,l=w(h.h),m=l.next(),n;try{for(;!m.done;m=l.next()){var r=w(m.value),q=r.next().value,t=r.next().value,v=q,y=TH(t);y&&k.set(v,y)}}finally{m&&!m.done&&(n=l.return)&&n.call(l)}b.L.set(WF,new WF(k))}}}finally{f&&!f.done&&(g=e.return)&&g.call(e)}}}finally{c&&!c.done&&(d=a.return)&&d.call(a)}};var YH=function(){var a;this.transactionId=a=a===void 0?Vv():a;this.adTagUrl=null;this.o="0";this.B=this.A="unknown";this.vastLoadTimeout=5E3;this.contentTitle=this.contentKeywords=this.contentDuration=this.forceNonLinearFullSlot=this.nonLinearAdSlotHeight=this.nonLinearAdSlotWidth=this.linearAdSlotHeight=this.linearAdSlotWidth=this.adsResponse=null;this.omidAccessModeRules={};this.l=this.h=this.pageUrl=null;this.j=1}; YH.prototype.clone=function(){var a=new YH;a.o=this.o;a.A=this.A;a.B=this.B;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.h=this.h;a.l=this.l;a.j=this.j;return a};var ZH=function(a){var b=a===void 0?{}:a;a=b.id;var c=b.yc;c=c===void 0?null:c;var d=b.ba;d=d===void 0?null:d;var e=b.width;e=e===void 0?null:e;var f=b.height;f=f===void 0?null:f;var g=b.yg;g=g===void 0?!1:g;var h=b.Dc;h=h===void 0?null:h;var k=b.ti;k=k===void 0?[]:k;var l=b.resources;l=l===void 0?[]:l;b=b.ca;b=b===void 0?[]:b;this.id=a===void 0?null:a;this.yc=c;this.ba=d;this.width=e;this.height=f;this.yg=g;this.Dc=h;this.ti=k;this.resources=l;this.ca=b};var $H=function(a,b,c){c=c===void 0?null:c;this.h=a;this.resourceType=b;this.creativeType=c};var aI=function(a,b,c){var d=c===void 0?{}:c;c=d.gb;c=c===void 0?null:c;d=d.Df;d=d===void 0?null:d;var e=e===void 0?null:e;this.eventType=a;this.url=b;this.gb=c;this.Df=d;this.id=e};var bI=sa(["about:blank"]),cI=sa(["javascript:undefined"]),dI=zl(bI);ek(dI);var eI=zl(cI);ek(eI);var fI=function(){}; fI.prototype.ma=function(a,b){if(a.h.length!=0&&b instanceof FG){var c=b.L.get(VF),d=b.L.get(WF);a=w(a.h);var e=a.next(),f;try{for(;!e.done;e=a.next()){var g=w(e.value.h.Ra),h=g.next(),k;try{for(;!h.done;h=g.next()){var l=h.value;if(l.jd!=null){var m=w(l.jd.h),n=m.next(),r;try{for(;!n.done;n=m.next()){var q=n.value,t=q.id||"",v=void 0,y=void 0,z=((v=d)==null?void 0:v.h.get(t))||((y=c)==null?void 0:y.h)||null,B=gI(q,l.jb,z);B&&b.companionAds.push(B)}}finally{n&&!n.done&&(r=m.return)&&r.call(m)}}}}finally{h&& !h.done&&(k=g.return)&&k.call(g)}}}finally{e&&!e.done&&(f=a.return)&&f.call(a)}}}; var hI=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"&&zt.includes(c.creativeType||"")}))?b:a.length>0?a[0]:null},gI=function(a,b,c){var d=hI(a.resources);if(!d)return null;var e=iI(a,d,b,c);e.h=a.resources.filter(function(f){return f!=d}).map(function(f){return iI(a,f,b,c)});return e},iI=function(a,b,c,d){var e=new vG;e.yc=a.yc;e.width=a.width||-1;e.height= a.height||-1;e.ba=a.ba;e.creativeType=b.creativeType;e.resourceType=b.resourceType;e.j=b.h;e.jb=c;if(Ss())d=null;else{var f=jI(a,b);f?(c=hm(document,"div"),c.id=a.id,Bm(c,{height:a.height+"px",width:a.width+"px"}),jm(c,f),a=kI(a.ca),jm(c,a),"outerHTML"in c?c=c.outerHTML:(a=hm($l(c),"DIV"),a.appendChild(c.cloneNode(!0)),c=a.innerHTML),b.resourceType=="Static"&&(b=tt(Gk(b.h)),c.indexOf("\n \n \n \n '+c+"\n "),d=c):d=""}e.content=d;return e},jI=function(a,b){if(b.resourceType=="Static"&& zt.includes(b.creativeType||"")){b=hm(document,"a");b.target="_blank";if(a=a.Dc&&a.Dc.url)a=rk(a),a!==void 0&&(b.href=a);a=hm(document,"img");a.src="";a.border="0";Bm(a,{height:"100%",width:"100%"});jm(b,a);return b}if(b.resourceType=="IFrame"){b=b.h;a.Dc!=null&&(b=new Vs(b),it(b,"clickTAG",encodeURIComponent(String(a.Dc.url))),b=b.toString());var c=gm("IFRAME",{marginwidth:0,marginheight:0,hspace:0,vspace:0,frameborder:0,scrolling:"no"});c.height=a.height;c.width=a.width;c.setAttribute("src",tt(b)); return c}return b.resourceType=="Html"?(a=gm("DIV"),c=b.h,b=document.implementation.createHTMLDocument(""),c=wl(c,b),b=b.body,b.appendChild(c),b=(new XMLSerializer).serializeToString(b),b=b.slice(b.indexOf(">")+1,b.lastIndexOf("0)){a=w(a.h);var c=a.next(),d;try{for(;!c.done;c=a.next()){var e=w(c.value.h.L),f=e.next(),g;try{for(;!f.done;f=e.next()){var h=f.value;if(h instanceof NI){var k=this.he.select(h,b),l=void 0;if(k.length>0){var m=w(k),n=m.next(),r;try{for(;!n.done;n=m.next()){var q=n.value,t=void 0;q instanceof CH&&(t=q.getMediaUrl());q instanceof yH&&(t=q.Ic());if(t){var v=fr(t,"cpn");if(v&&v.match(JI))var y=v;else{var z=t.match(II);y=z&&z.length=== 3?z[1]:null}if(t=y){l=t;break}}}}finally{n&&!n.done&&(r=m.return)&&r.call(m)}}var B=l?l:h.A;O(N.getInstance(),"cpn",B);b.M=B;var F=w(k),I=F.next(),M;try{for(;!I.done;I=F.next())b.h.push(I.value)}finally{I&&!I.done&&(M=F.return)&&M.call(F)}}}}finally{f&&!f.done&&(g=e.return)&&g.call(e)}}}finally{c&&!c.done&&(d=a.return)&&d.call(a)}}};var QI=function(a){this.h=a};var RI=function(){};RI.prototype.ma=function(a,b){a=w(a.h);var c=a.next(),d;try{for(;!c.done;c=a.next()){var e=w(c.value.h.L),f=e.next(),g;try{for(;!f.done;f=e.next()){var h=f.value;if(h instanceof QI)try{var k=h.h;var l=Ab(k,"&")?"document"in C?Ck(k):Dk(k):k;var m=LE(l);b.L.set(dG,new dG(m));return}catch(n){}}}finally{f&&!f.done&&(g=e.return)&&g.call(e)}}}finally{c&&!c.done&&(d=a.return)&&d.call(a)}};var SI=function(a){var b=a===void 0?{}:a;a=b.program;var c=b.ba;c=c===void 0?null:c;var d=b.xPosition;d=d===void 0?null:d;var e=b.yPosition;e=e===void 0?null:e;var f=b.width;f=f===void 0?null:f;var g=b.height;g=g===void 0?null:g;var h=b.altText;h=h===void 0?null:h;var k=b.cj;k=k===void 0?null:k;var l=b.gb;l=l===void 0?null:l;var m=b.ta;m=m===void 0?null:m;var n=b.If;n=n===void 0?null:n;var r=b.Jc;r=r===void 0?null:r;var q=b.Og;q=q===void 0?[]:q;b=b.resources;b=b===void 0?[]:b;this.program=a===void 0? null:a;this.ba=c;this.xPosition=d;this.yPosition=e;this.width=f;this.height=g;this.altText=h;this.cj=k;this.gb=l;this.If=n;this.ta=m;this.Jc=r;this.Og=q;this.resources=b};var TI=function(){};TI.prototype.ma=function(a,b){b instanceof wG&&(b.l=UI(a),b.l&&(b.l.F.forEach(function(c){b.Wa(new fG("vastIconRendered",c))}),b.l.B.forEach(function(c){b.Wa(new fG("vastIconClicked",c))})))}; var UI=function(a){a=VI(a);a=w(a);var b=a.next(),c;try{for(;!b.done;b=a.next()){var d=TH(b.value);if(d)return d}}finally{b&&!b.done&&(c=a.return)&&c.call(a)}return null},VI=function(a){var b=[];a=w(a.h);var c=a.next(),d;try{for(;!c.done;c=a.next()){var e=w(c.value.h.Ra),f=e.next(),g;try{for(;!f.done;f=e.next()){var h=f.value;h.Kb&&b.push.apply(b,x(h.Kb.icons))}}finally{f&&!f.done&&(g=e.return)&&g.call(e)}}}finally{c&&!c.done&&(d=a.return)&&d.call(a)}return b};var WI=function(a){var b=a===void 0?{}:a;a=b.Bb;var c=b.errors;c=c===void 0?[]:c;var d=b.wd;d=d===void 0?[]:d;var e=b.Ra;e=e===void 0?[]:e;var f=b.Ab;f=f===void 0?[]:f;b=b.L;b=b===void 0?[]:b;this.Bb=a===void 0?null:a;this.h=c;this.j=d;this.Ra=e;this.Ab=f;this.L=b};var XI=function(a){var b=a===void 0?{}:a;a=b.bd;a=a===void 0?null:a;var c=b.Bb;var d=b.adTitle;d=d===void 0?null:d;var e=b.ag;e=e===void 0?null:e;var f=b.description;f=f===void 0?null:f;var g=b.Nj;g=g===void 0?null:g;var h=b.errors,k=b.wd,l=b.Ra,m=b.Ab;b=b.L;WI.call(this,{Bb:c===void 0?null:c,errors:h===void 0?[]:h,wd:k===void 0?[]:k,Ra:l===void 0?[]:l,Ab:m===void 0?[]:m,L:b===void 0?[]:b});this.bd=a;this.adTitle=d;this.ag=e;this.description=f;this.Nj=g};u(XI,WI);var YI=function(){this.he=void 0}; YI.prototype.ma=function(a,b){if(b instanceof wG)if(b.h.length>0)O(N.getInstance(),"msm","0");else{O(N.getInstance(),"msm","1");a=w(a.h);var c=a.next(),d;try{for(;!c.done;c=a.next()){var e=c.value,f=w(e.h.Ra),g=f.next(),h;try{for(;!g.done;g=f.next()){var k=g.value.Kb;if(k&&e.h instanceof XI){var l=[];l=this.he?this.he.select(k.wf,b):k.wf;if(l.length>0){var m=w(l),n=m.next(),r;try{for(;!n.done;n=m.next()){var q=n.value,t=new Vs(q.url);t.h==="www.youtube.com"&&t.l==="/get_video"&&O(N.getInstance(), "ugvu","1");var v=(q.url=q.url)?KI(q.url):null,y=new CH({xf:q.url,itag:v,mimeType:q.mimeType,Ba:q.codec,Ja:q.codec,height:q.height,width:q.width,pb:null});q.ba===void 0||b.ba||(b.ba=q.ba);b.h.push(y)}}finally{n&&!n.done&&(r=m.return)&&r.call(m)}}}}}finally{g&&!g.done&&(h=f.return)&&h.call(f)}}}finally{c&&!c.done&&(d=a.return)&&d.call(a)}}};var ZI=function(a,b){b=b===void 0?null:b;this.h=a===void 0?null:a;this.j=b};var $I=function(){};$I.prototype.ma=function(a,b){a=w(a.h);var c=a.next(),d;try{for(;!c.done;c=a.next()){a:{var e=void 0,f=void 0,g=b,h=w(c.value.h.L),k=h.next();try{for(;!k.done;k=h.next())if(e=k.value,e instanceof ZI){g.L.set(eG,new eG(e.h,e.j));var l=!0;break a}}finally{k&&!k.done&&(f=h.return)&&f.call(h)}l=!1}if(l)break}}finally{c&&!c.done&&(d=a.return)&&d.call(a)}};var aJ=function(){};u(aJ,TI);aJ.prototype.ma=function(a,b){b instanceof wG&&(b.icons=bJ(a))};var bJ=function(a){var b=new Set;return VI(a).map(function(c){return TH(c)}).filter(function(c){if(!c||b.has(c.program))return!1;b.add(c.program);return!0})};var cJ=function(a){this.Ab=a=a===void 0?[]:a};var dJ=function(a){var b=a===void 0?{}:a;a=b.vendor;var c=b.uh;c=c===void 0?null:c;var d=b.Rc;d=d===void 0?null:d;var e=b.parameters;e=e===void 0?null:e;b=b.ca;b=b===void 0?[]:b;this.vendor=a===void 0?null:a;this.uh=c;this.Rc=d;this.parameters=e;this.ca=b};var eJ=function(){};eJ.prototype.ma=function(a,b){var c=new jG,d=[];IH(a,cJ).forEach(function(e){d=d.concat(e.Ab)});a.h.forEach(function(e){d=d.concat(e.h.Ab)});d.forEach(function(e){var f=e.uh;if(f){var g=e.ca.map(function(h){return gG(h)});kG(c,e.vendor,f,e.parameters,e.Rc,g)}});c.h.length&&b.L.set(jG,c)};var fJ=function(a){this.dealId=a};var gJ=function(){};gJ.prototype.ma=function(a,b){a=w(a.h.slice().reverse());var c=a.next(),d;try{for(;!c.done;c=a.next()){var e=w(c.value.h.L),f=e.next(),g;try{for(;!f.done;f=e.next()){var h=f.value;if(h instanceof fJ){var k=h.dealId;if(k&&!E(k)){b.L.set(lG,new lG(k));return}}}}finally{f&&!f.done&&(g=e.return)&&g.call(e)}}}finally{c&&!c.done&&(d=a.return)&&d.call(a)}};var hJ=function(a){this.modifiers=a};hJ.prototype.ma=function(a,b,c){var d=w(this.modifiers),e=d.next(),f;try{for(;!e.done;e=d.next())e.value.ma(a,b,c)}finally{e&&!e.done&&(f=d.return)&&f.call(d)}};var iJ=function(a,b,c,d){d=d===void 0?null:d;this.l=a;this.j=d;this.o=b;this.h=c};var jJ=function(){};jJ.prototype.ma=function(a,b){a=w(a.h.slice());var c=a.next(),d;try{for(;!c.done;c=a.next()){var e=w(c.value.h.L),f=e.next(),g;try{for(;!f.done;f=e.next()){var h=f.value;if(h instanceof iJ){b.L.set(mG,new mG(h.l,h.o,h.h,h.j));return}}}finally{f&&!f.done&&(g=e.return)&&g.call(e)}}}finally{c&&!c.done&&(d=a.return)&&d.call(a)}};var kJ=function(a){this.h=a===void 0?!1:a};var lJ=function(){}; lJ.prototype.ma=function(a,b){var c=w(a.h),d=c.next(),e;try{for(;!d.done;d=c.next()){var f=w(d.value.h.L),g=f.next(),h;try{for(;!g.done;g=f.next()){var k=g.value;if(k instanceof kJ){var l=new nG(k.h);if(!l.h){b.L.set(nG,l);return}}}}finally{g&&!g.done&&(h=f.return)&&h.call(f)}}}finally{d&&!d.done&&(e=c.return)&&e.call(c)}if(a=a.h.length<1?null:a.h[a.h.length-1]){a=w(a.h.L);c=a.next();var m;try{for(;!c.done;c=a.next()){var n=c.value;n instanceof kJ&&b.L.set(nG,new nG(n.h))}}finally{c&&!c.done&&(m= a.return)&&m.call(a)}}};var mJ=function(a){this.h=a};var nJ=function(){};nJ.prototype.ma=function(a,b){a=w(a.h);var c=a.next(),d;try{for(;!c.done;c=a.next()){var e=w(c.value.h.L),f=e.next(),g;try{for(;!f.done;f=e.next()){var h=f.value;if(h instanceof mJ){var k=TH(h.h);k&&b.L.set(oG,new oG(k))}}}finally{f&&!f.done&&(g=e.return)&&g.call(e)}}}finally{c&&!c.done&&(d=a.return)&&d.call(a)}};var oJ=function(a){var b=a===void 0?{}:a;a=b.videoId;var c=b.ec;c=c===void 0?!1:c;var d=b.Sf;d=d===void 0?null:d;var e=b.Nh;e=e===void 0?null:e;var f=b.ge;f=f===void 0?!1:f;var g=b.ig;g=g===void 0?null:g;var h=b.Ie;h=h===void 0?null:h;var k=b.He;k=k===void 0?null:k;var l=b.hg;l=l===void 0?null:l;var m=b.format;m=m===void 0?null:m;var n=b.mh;n=n===void 0?null:n;b=b.Ph;b=b===void 0?null:b;this.videoId=a===void 0?null:a;this.ec=c;this.Sf=d;this.Nh=e;this.ge=f;this.ig=g;this.Ie=h;this.He=k;this.hg=l; this.format=m;this.mh=n;this.Ph=b;O(N.getInstance(),"ytext_viu",this.ge?"1":"0");O(N.getInstance(),"ytext_hd",this.Sf&&this.He&&this.Ie?"1":"0");this.ge&&O(N.getInstance(),"ytext_vi",this.videoId?this.videoId:"Undefined")};var pJ=function(){};pJ.prototype.ma=function(a,b){a=w(a.h);var c=a.next(),d;try{for(;!c.done;c=a.next()){var e=w(c.value.h.L),f=e.next(),g;try{for(;!f.done;f=e.next()){var h=f.value;if(h instanceof oJ){b.L.set(rG,new rG(new qG(h.videoId,h.Sf,h.Nh,h.ec,h.ge),new pG(h.ig,h.Ie,h.He,h.hg),h.format,h.Ph,h.mh));return}}}finally{f&&!f.done&&(g=e.return)&&g.call(e)}}}finally{c&&!c.done&&(d=a.return)&&d.call(a)}};var qJ=function(){};qJ.prototype.j=function(a){var b=new fF;this.h(a,b);return b};qJ.prototype.h=function(a,b){a.h.forEach(function(g){rJ(g,b);g.h.Bb&&b.o.push(g.h.Bb)});if(a.h.length>0){var c=a.h[0];c.id&&(b.id=c.id);c.zc&&(b.zc=c.zc);c.jb&&(b.D=c.jb);a=w([].concat(x(a.h)).reverse());var d=a.next(),e;try{for(;!d.done;d=a.next()){var f=d.value;f.jb&&b.N.push(f.jb)}}finally{d&&!d.done&&(e=a.return)&&e.call(a)}c=c.h;c instanceof XI&&(b.adTitle=c.adTitle,b.bd=c.bd,sJ(c,b))}}; var rJ=function(a,b){var c=a.h.j;a.h.h.forEach(function(d){b.Wa(new fG("error",d))});c.forEach(function(d){b.Wa(new fG("impression",d.url))})},sJ=function(a,b){a=w(a.Ra);var c=a.next(),d;try{for(;!c.done;c=a.next()){var e=c.value.Kb;if(e&&e.ub&&e.ub.length>0){var f=w(e.ub),g=f.next(),h;try{for(;!g.done;g=f.next()){var k=g.value;b.ub.push(new BH(k.resource.resourceType==="Url"?k.resource.h:null,k.resource.resourceType==="Html"?k.resource.h:null,k.mimeType,k.ba,k.Rf))}}finally{g&&!g.done&&(h=f.return)&& h.call(f)}break}}}finally{c&&!c.done&&(d=a.return)&&d.call(a)}};var tJ=function(a,b){b=b===void 0?900:b;a=Error.call(this,a);this.message=a.message;"stack"in a&&(this.stack=a.stack);this.Xa=b};u(tJ,Error);var uJ=function(a){var b=a===void 0?{}:a;a=b.al;a=a===void 0?[]:a;b=b.mj;b=b===void 0?[]:b;this.h=a;this.mj=b};var vJ=function(a){var b=a===void 0?{}:a;a=b.Bb;var c=b.Pi;c=c===void 0?!0:c;var d=b.hi;d=d===void 0?!1:d;var e=b.Oi;e=e===void 0?!1:e;var f=b.fi;f=f===void 0?null:f;var g=b.errors,h=b.wd,k=b.Ra,l=b.Ab;b=b.L;WI.call(this,{Bb:a===void 0?null:a,errors:g===void 0?[]:g,wd:h===void 0?[]:h,Ra:k===void 0?[]:k,Ab:l===void 0?[]:l,L:b===void 0?[]:b});this.Pi=c;this.hi=d;this.Oi=e;this.fi=f};u(vJ,WI);var wJ=function(a,b){b=b===void 0?null:b;this.url=a;this.id=b};var xJ=function(a){var b=a===void 0?{}:a;a=b.url;var c=b.mimeType;c=c===void 0?null:c;b=b.language;b=b===void 0?null:b;this.url=a===void 0?"":a;this.mimeType=c;this.language=b};var yJ=function(a,b){b=b===void 0?"none":b;this.h=a;this.required=b};var zJ=function(a){var b=a===void 0?{}:a;a=b.jb;var c=b.id;c=c===void 0?null:c;var d=b.adId;d=d===void 0?null:d;var e=b.Kb;e=e===void 0?null:e;var f=b.gh;f=f===void 0?null:f;var g=b.jd;g=g===void 0?null:g;b=b.zb;b=b===void 0?[]:b;this.jb=a===void 0?null:a;this.id=c;this.adId=d;this.Kb=e;this.gh=f;this.jd=g;this.zb=b};var AJ=function(a){this.url=a};var BJ=function(a,b){var c=b===void 0?{}:b;b=c.mimeType;b=b===void 0?null:b;var d=c.ba;d=d===void 0?null:d;c=c.Rf;c=c===void 0?null:c;this.resource=a;this.ba=d;this.mimeType=b;this.Rf=c};var CJ=function(a){var b=a===void 0?{}:a;a=b.duration;var c=b.skipoffset;c=c===void 0?null:c;var d=b.ca;d=d===void 0?[]:d;var e=b.wf;e=e===void 0?[]:e;var f=b.ub;f=f===void 0?[]:f;var g=b.si;g=g===void 0?[]:g;var h=b.Lh;h=h===void 0?null:h;var k=b.adParameters;k=k===void 0?null:k;b=b.icons;b=b===void 0?[]:b;this.duration=a===void 0?null:a;this.adParameters=k;this.skipoffset=c;this.ca=d;this.wf=e;this.ub=f;this.si=g;this.Lh=h;this.icons=b};var DJ=function(a,b){var c=b===void 0?{}:b;b=c.Fc;b=b===void 0?null:b;var d=c.mimeType;d=d===void 0?null:d;var e=c.codec;e=e===void 0?null:e;var f=c.width;f=f===void 0?null:f;c=c.height;c=c===void 0?null:c;this.url=a===void 0?"":a;this.Fc=b;this.mimeType=d;this.codec=e;this.width=f;this.height=c};var EJ=function(a,b){var c=b===void 0?{}:b;b=c.height;var d=c.width,e=c.Fc,f=c.mimeType;var g=c.ba;g=g===void 0?null:g;var h=c.bitrate;h=h===void 0?null:h;var k=c.jj;k=k===void 0?null:k;var l=c.maxBitrate;l=l===void 0?null:l;var m=c.itag;m=m===void 0?null:m;c=c.codec;DJ.call(this,a===void 0?"":a,{Fc:e===void 0?null:e,mimeType:f===void 0?null:f,codec:c===void 0?null:c,width:d===void 0?null:d,height:b===void 0?null:b});this.ba=g;this.jj=k||l||h||0;this.maxBitrate=l||k||h||0;this.itag=m};u(EJ,DJ);var FJ=function(a,b){b=b===void 0?[]:b;this.h=a;this.ca=b};var GJ=function(a){var b=a===void 0?{}:a;a=b.id;var c=b.ba;c=c===void 0?null:c;var d=b.height;d=d===void 0?null:d;var e=b.width;e=e===void 0?null:e;var f=b.je;f=f===void 0?null:f;var g=b.resources;g=g===void 0?[]:g;var h=b.nj;h=h===void 0?null:h;var k=b.oj;k=k===void 0?[]:k;b=b.adParameters;b=b===void 0?null:b;this.id=a===void 0?null:a;this.ba=c;this.height=d;this.width=e;this.je=f;this.resources=g;this.nj=h;this.oj=k;this.adParameters=b};var HJ=function(a){var b=a===void 0?{}:a;a=b.Pg;b=b.de;b=b===void 0?"unknown":b;this.Pg=(a===void 0?"unknown":a)||"unknown";this.de=b||"unknown"};var IJ=function(a){var b=a===void 0?{}:a;a=b.Cb;var c=b.Bc;c=c===void 0?[]:c;b=b.sg;b=b===void 0?[]:b;this.Cb=a===void 0?null:a;this.Bc=c;this.sg=b};var JJ=function(a,b,c,d){b=b===void 0?null:b;c=c===void 0?null:c;d=d===void 0?null:d;this.resource=a;this.width=b;this.height=c;this.altText=d};var KJ=function(a){var b=a===void 0?{}:a;a=b.Cb;var c=b.Bc;c=c===void 0?[]:c;b=b.lg;b=b===void 0?[]:b;this.Cb=a===void 0?null:a;this.Bc=c;this.lg=b};function LJ(a,b){a=a.getAttribute(b);if(a!==null&&a.trim()!==""&&(a=Number(a),!isNaN(a)))return a}function MJ(a){if(a!=null){a=a.toLowerCase();if(a==="1"||a==="true")return!0;if(a==="0"||a==="false")return!1}}function NJ(a,b){var c=[];b=b.toLowerCase();a=w(km(a));var d=a.next(),e;try{for(;!d.done;d=a.next()){var f=d.value;f.nodeName.toLowerCase()===b&&c.push(f)}}finally{d&&!d.done&&(e=a.return)&&e.call(a)}return c}function OJ(a,b){a=NJ(a,b);return a.length>0?a[a.length-1]:null} function V(a){if(a.childNodes.length===0)return null;for(var b="",c=0;c0){var g=LJ(e,"width"),h=LJ(e,"height"),k=aK(e);b.push(new JJ(f[0],g,h,k))}}}finally{c&&!c.done&&(d=a.return)&&d.call(a)}return b}function aK(a){a=w(km(a));var b=a.next(),c;try{for(;!b.done;b=a.next()){var d=b.value;if(d.nodeName==="AltText")return V(d)}}finally{b&&!b.done&&(c=a.return)&&c.call(a)}return null};var bK=function(){this.h=[]},cK=function(a,b){a.h.includes(b)||a.h.push(b)},dK=function(a,b){var c=[];b=w(b);var d=b.next(),e;try{for(;!d.done;d=b.next()){var f=d.value;if(f.nodeName==="Extension"){var g=w(a.h),h=g.next(),k;try{for(;!h.done;h=g.next()){var l=h.value.parse(f);if(l!=null){c.push(l);break}}}finally{h&&!h.done&&(k=g.return)&&k.call(g)}}}}finally{d&&!d.done&&(e=b.return)&&e.call(b)}return c},eK=function(a){var b={zb:[]};b.jb=LJ(a,"sequence");b.id=a.getAttribute("id");b.adId=a.getAttribute("adId"); var c=w(km(a)),d=c.next(),e;try{for(;!d.done;d=c.next()){var f=d.value;switch(f.nodeName){case "Linear":var g=void 0,h=void 0,k=void 0,l=[],m=[],n=[],r=[],q=[],t=null,v=null,y=w(km(f)),z=y.next();try{for(;!z.done;z=y.next())switch(g=z.value,g.nodeName){case "TrackingEvents":l=TJ(g);break;case "VideoClicks":var B=void 0,F=void 0,I=null,M=[],Q=[],U=w(km(g)),ea=U.next();try{for(;!ea.done;ea=U.next()){B=ea.value;var Y=V(B);if(Y!=null){var Z=B.getAttribute("id");switch(B.nodeName){case "ClickThrough":I= VJ(B,Y);break;case "ClickTracking":M.push(new wJ(Y,Z));break;case "CustomClick":Q.push(new wJ(Y,Z))}}}}finally{ea&&!ea.done&&(F=U.return)&&F.call(U)}k=new IJ({Cb:I,Bc:M,sg:Q});break;case "MediaFiles":var aa=void 0,pa=void 0,La=[],Gb=[],Nb=[],ob=w(km(g)),fc=ob.next();try{for(;!fc.done;fc=ob.next())switch(aa=fc.value,aa.nodeName){case "MediaFile":var Tc=void 0,ud=V(aa);if(ud==null)var ni=null;else{ud.indexOf("www.youtube.com/get_video")!==-1?O(N.getInstance(),"hgvu","1"):ud.indexOf("redirector.gvt1.com/get_video")!== -1&&O(N.getInstance(),"hgvuc","1");var pb={};pb.height=LJ(aa,"height");pb.width=LJ(aa,"width");pb.Fc=aa.getAttribute("delivery");pb.bitrate=LJ(aa,"bitrate");pb.jj=LJ(aa,"minBitrate");pb.maxBitrate=LJ(aa,"maxBitrate");pb.mimeType=(Tc=aa.getAttribute("type"))==null?void 0:Tc.toLowerCase();pb.ba=aa.getAttribute("apiFramework");pb.codec=aa.getAttribute("codec");var Ig=KI(ud);Ig!=null&&(pb.itag=Ig);ni=new EJ(ud,pb)}var Sd=ni;Sd!==null&&La.push(Sd);break;case "ClosedCaptionFiles":var Jc=void 0,De=void 0, td=[],de=w(km(aa)),Rf=de.next();try{for(;!Rf.done;Rf=de.next()){Jc=Rf.value;var bl=V(Jc);if(bl!==null){var Ri={url:bl},cl=void 0;Ri.mimeType=(cl=Jc.getAttribute("type"))==null?void 0:cl.toLowerCase();Ri.language=Jc.getAttribute("language");td.push(new xJ(Ri))}}}finally{Rf&&!Rf.done&&(De=de.return)&&De.call(de)}Nb=td;break;case "InteractiveCreativeFile":var dl=void 0,Zc="",Re="",Sf=OJ(aa,"HTMLResource");Sf?(Re="Html",Zc=V(Sf)):(Re="Url",Zc=V(aa));if(!Zc||E(Zc))var el=null;else{var Zg=new $H(Zc,Re), $g={};$g.mimeType=(dl=aa.getAttribute("type"))==null?void 0:dl.toLowerCase();$g.ba=aa.getAttribute("apiFramework");$g.Rf=MJ(aa.getAttribute("variableDuration"));var fl=new BJ(Zg,$g);Re==="Html"?So("lima_p_ich"):So("lima_p_icu");el=fl}var gl=el;gl!==null&&Gb.push(gl)}}finally{fc&&!fc.done&&(pa=ob.return)&&pa.call(ob)}O(N.getInstance(),"vmfc",""+La.length);var Se=Nb.length===0?"0":"1";O(N.getInstance(),"vhc",Se);var xp=La;var HG=Nb;var bX=Gb;m=xp;r=HG;n=bX;break;case "Duration":var IG=void 0;t=(IG= RJ(V(g)))!=null?IG:null;break;case "AdParameters":v=Gk(V(g));break;case "Icons":var nv=void 0,JG=void 0,KG=[],yp=w(km(g)),hl=yp.next();try{for(;!hl.done;hl=yp.next())nv=hl.value,nv.nodeName==="Icon"&&KG.push(XJ(nv))}finally{hl&&!hl.done&&(JG=yp.return)&&JG.call(yp)}q=KG;var ah=void 0,LG=void 0,ov=q;O(N.getInstance(),"icc",ov.length.toString());if(ov.length>0){var MG=0,NG=0,OG=0,PG=0,Si=null,QG="ns",RG="ns",zp=w(ov),il=zp.next();try{for(;!il.done;il=zp.next()){ah=il.value;var Ap=w(ah.resources),jl= Ap.next(),SG;try{for(;!jl.done;jl=Ap.next())switch(jl.value.resourceType){case "Html":MG++;break;case "IFrame":NG++;break;case "Static":OG++;break;default:PG++}}finally{jl&&!jl.done&&(SG=Ap.return)&&SG.call(Ap)}Si=ah.program;RG=ah.width?ah.width.toString():"ns";QG=ah.height?ah.height.toString():"ns"}}finally{il&&!il.done&&(LG=zp.return)&&LG.call(zp)}O(N.getInstance(),"icrh",MG.toString());O(N.getInstance(),"icri",NG.toString());O(N.getInstance(),"icrs",OG.toString());O(N.getInstance(),"icru",PG.toString()); Si&&(Si.length>16&&(Si=Si.substring(0,15)+"*"),O(N.getInstance(),"icp",Si));O(N.getInstance(),"icdi",QG+"x"+RG)}}}finally{z&&!z.done&&(h=y.return)&&h.call(y)}var cX=YJ(f.getAttribute("skipoffset"),t);b.Kb=new CJ({duration:t,skipoffset:cX,ca:l,wf:m,ub:n,si:r,Lh:k,adParameters:v,icons:q});break;case "NonLinearAds":var Bp=void 0,TG=void 0,UG=[],VG=[],Cp=w(km(f)),kl=Cp.next();try{for(;!kl.done;kl=Cp.next())switch(Bp=kl.value,Bp.nodeName){case "NonLinear":var WG=UG,dX=WG.push,ll=void 0,XG=void 0,bh=Bp, eX=ZJ(bh),fX=bh.getAttribute("id"),gX=LJ(bh,"width"),hX=LJ(bh,"height"),iX=bh.getAttribute("apiFramework"),jX=RJ(bh.getAttribute("minSuggestedDuration")),YG=null,ZG=null,$G=[],Dp=w(km(bh)),ml=Dp.next();try{for(;!ml.done;ml=Dp.next()){ll=ml.value;var Ep=V(ll);if(Ep!=null)switch(ll.nodeName){case "NonLinearClickThrough":ZG=VJ(ll,Ep);break;case "NonLinearClickTracking":$G.push(new wJ(Ep,ll.getAttribute("id")));break;case "AdParameters":YG=Gk(Ep)}}}finally{ml&&!ml.done&&(XG=Dp.return)&&XG.call(Dp)}dX.call(WG, new GJ({id:fX,ba:iX,width:gX,height:hX,je:jX,nj:ZG,oj:$G,resources:eX,adParameters:YG}));break;case "TrackingEvents":VG=TJ(Bp)}}finally{kl&&!kl.done&&(TG=Cp.return)&&TG.call(Cp)}b.gh=new FJ(UG,VG);var nl=void 0,aH=void 0,pv=b.gh.h;O(N.getInstance(),"nlc",pv.length.toString());if(pv.length>0){var bH=0,cH=0,dH=0,eH=0,qv=!1,Fp=w(pv),ol=Fp.next();try{for(;!ol.done;ol=Fp.next()){nl=w(ol.value.resources);var pl=nl.next(),fH;try{for(;!pl.done;pl=nl.next()){var gH=pl.value;switch(gH.resourceType){case "Html":bH++; qv=qv||Ab(gH.h,"<");break;case "IFrame":cH++;break;case "Static":dH++;break;default:eH++}}}finally{pl&&!pl.done&&(fH=nl.return)&&fH.call(nl)}}}finally{ol&&!ol.done&&(aH=Fp.return)&&aH.call(Fp)}O(N.getInstance(),"nlrh",bH.toString());O(N.getInstance(),"nlri",cH.toString());O(N.getInstance(),"nlrs",dH.toString());O(N.getInstance(),"nlru",eH.toString());O(N.getInstance(),"nlrhc",qv.toString())}break;case "CompanionAds":var rv=void 0,hH=void 0,iH=[],Gp=f.getAttribute("required");Gp!=="any"&&Gp!=="all"&& (Gp="none");var Hp=w(km(f)),ql=Hp.next();try{for(;!ql.done;ql=Hp.next())if(rv=ql.value,rv.nodeName==="Companion"){var jH=iH,kX=jH.push,ch=void 0,kH=void 0,Te=rv,lX=ZJ(Te),mX=Te.getAttribute("id"),nX=Te.getAttribute("adSlotID"),oX=Te.getAttribute("apiFramework"),pX=Te.getAttribute("width")==="fluid"&&Te.getAttribute("height")==="fluid",qX=LJ(Te,"width"),rX=LJ(Te,"height"),lH=[],mH=null,nH=[],Tf=null,Ip=w(km(Te)),rl=Ip.next();try{for(;!rl.done;rl=Ip.next())switch(ch=rl.value,ch.nodeName){case "TrackingEvents":lH= TJ(ch);break;case "CompanionClickThrough":Tf=V(ch);Tf==null||E(Tf)||(mH=VJ(ch,Tf));break;case "CompanionClickTracking":Tf=V(ch),Tf==null||E(Tf)||nH.push(new wJ(Tf,ch.getAttribute("id")))}}finally{rl&&!rl.done&&(kH=Ip.return)&&kH.call(Ip)}kX.call(jH,new ZH({id:mX,yc:nX,ba:oX,width:qX,height:rX,yg:pX,Dc:mH,ti:nH,resources:lX,ca:lH}))}}finally{ql&&!ql.done&&(hH=Hp.return)&&hH.call(Hp)}b.jd=new yJ(iH,Gp);var sl=void 0,oH=void 0,tv=b.jd.h;O(N.getInstance(),"ccc",tv.length.toString());if(tv.length>0){var pH= 0,qH=0,rH=0,sH=0,uv=!1,Jp=w(tv),tl=Jp.next();try{for(;!tl.done;tl=Jp.next()){sl=w(tl.value.resources);var ul=sl.next(),tH;try{for(;!ul.done;ul=sl.next()){var uH=ul.value;switch(uH.resourceType){case "Html":pH++;uv=uv||Ab(uH.h,"<");break;case "IFrame":qH++;break;case "Static":rH++;break;default:sH++}}}finally{ul&&!ul.done&&(tH=sl.return)&&tH.call(sl)}}}finally{tl&&!tl.done&&(oH=Jp.return)&&oH.call(Jp)}O(N.getInstance(),"ccrh",pH.toString());O(N.getInstance(),"ccri",qH.toString());O(N.getInstance(), "ccrs",rH.toString());O(N.getInstance(),"ccru",sH.toString());O(N.getInstance(),"ccrhc",uv.toString())}break;case "UniversalAdId":var vH=b.zb,sX=vH.push,wH=void 0,vv=V(f);vv||(vv=f.getAttribute("idValue"));var xH=f.getAttribute("idRegistry");var tX=new HJ({de:xH!=null?xH:void 0,Pg:(wH=vv)!=null?wH:void 0});sX.call(vH,tX)}}}finally{d&&!d.done&&(e=c.return)&&e.call(c)}return new zJ(b)};var fK=function(a,b){b=b===void 0?null:b;this.j=a;this.h=b};var gK=function(a,b){FH.call(this,a);this.h=b};u(gK,FH);var hK=function(){};u(hK,qJ);hK.prototype.j=function(a){var b=new wG;this.h(a,b);return b}; hK.prototype.h=function(a,b){qJ.prototype.h.call(this,a,b);var c=w(a.h),d=c.next(),e;try{for(;!d.done;d=c.next()){var f=d.value;iK(f,b);var g=f.h;g instanceof XI&&(b.description=g.description)}}finally{d&&!d.done&&(e=c.return)&&e.call(c)}a:if(c=a.h.length<1?null:a.h[0])if(d=IH(a,fK),d.length>0){var h=w(d);a=h.next();var k;try{for(;!a.done;a=h.next()){var l=a.value;l.j&&(b.skipoffset=l.h?l.h:5E3)}}finally{a&&!a.done&&(k=h.return)&&k.call(h)}}else{k=w(c.h.Ra);l=k.next();var m;try{for(;!l.done;l=k.next()){var n= l.value.Kb;if(n&&n.skipoffset!=null){b.skipoffset=n.skipoffset;break a}}}finally{l&&!l.done&&(m=k.return)&&m.call(k)}k=IH(a,FH);k=w(k);l=k.next();var r;try{for(;!l.done;l=k.next()){var q=w(l.value.ca),t=q.next(),v;try{for(;!t.done;t=q.next())if(t.value.eventType=="skip"){b.skipoffset=5E3;break a}}finally{t&&!t.done&&(v=q.return)&&v.call(q)}}}finally{l&&!l.done&&(r=k.return)&&r.call(k)}a=IH(a,gK);a=w(a);r=a.next();try{for(;!r.done;r=a.next())if(r.value.h=="Generic"){b.skipoffset=5E3;break}}finally{r&& !r.done&&(h=a.return)&&h.call(a)}}}; var iK=function(a,b){var c=w(a.h.Ra),d=c.next(),e;try{for(;!d.done;d=c.next()){var f=d.value,g=f.Kb;if(g){b.creativeId=f.id;b.B=f.adId;b.zb=f.zb.map(function(F){return new EH(F.Pg,F.de)});var h=w(g.ca),k=h.next(),l;try{for(;!k.done;k=h.next())b.Wa(gG(k.value))}finally{k&&!k.done&&(l=h.return)&&l.call(h)}var m=g.Lh;if(m){var n=w(m.Bc),r=n.next(),q;try{for(;!r.done;r=n.next()){var t=r.value;b.Wa(new fG("click",t.url,null,null,t.id))}}finally{r&&!r.done&&(q=n.return)&&q.call(n)}var v=w(m.sg),y=v.next(), z;try{for(;!y.done;y=v.next()){var B=y.value;B.id&&b.Wa(new fG(B.id,B.url))}}finally{y&&!y.done&&(z=v.return)&&z.call(v)}}a.h instanceof XI&&(b.ta=f.Kb.duration,g.adParameters&&(b.adParameters=g.adParameters),m&&m.Cb&&(b.j=m.Cb.url))}}}finally{d&&!d.done&&(e=c.return)&&e.call(c)}};var jK=function(a){this.l=a};u(jK,hK);jK.prototype.j=function(a){var b=new FG(this.l);this.h(a,b);return b};jK.prototype.h=function(a,b){hK.prototype.h.call(this,a,b);b.A=a.h[0].h.ag};var kK=function(a,b,c,d){this.status=a;this.success=b;this.contentType=c;this.h=d};p=kK.prototype;p.getContentType=function(){return this.contentType};p.Fa=function(){return this.status};p.Ug=function(){return this.success};p.Wi=function(){var a=this;return A(function(b){return b.return(Lt(a.h)||new Document)})};p.Zd=function(){var a=this;return A(function(b){return b.return(JSON.parse(a.h))})};p.Xe=function(){var a=this;return A(function(b){return b.return(a.h)})};var lK=function(){};lK.prototype.get=function(a){var b,c,d,e,f,g,h;return A(function(k){b=a;c=b.url;d=b.timeout;e=b.withCredentials;f=e===void 0?!0:e;g=b.browsingTopics;h=g===void 0?!0:g;return k.return(mK(function(l){return nK({url:c,timeout:d,withCredentials:l,browsingTopics:h})},f))})}; var nK=function(a){var b=a.url;var c=a.timeout;var d=a.withCredentials;var e=d===void 0?!0:d;a=a.browsingTopics;var f=a===void 0?!0:a;var g,h,k,l;return A(function(m){g=new AbortController;h=e?"include":"omit";k=setTimeout(function(){g.abort()},It(c));l={method:"GET",credentials:h,signal:g.signal};f&&(l.browsingTopics=f);return m.return(oK(b,l,k))})}; lK.prototype.Cd=function(a){var b,c,d,e,f,g,h,k,l;return A(function(m){b=a;c=b.url;d=b.timeout;e=b.withCredentials;f=e===void 0?!0:e;g=b.headers;h=g===void 0?void 0:g;k=b.content;l=k===void 0?void 0:k;return m.return(mK(function(n){return pK({url:c,timeout:d,withCredentials:n,headers:h,content:l})},f))})}; var pK=function(a){var b=a.url;var c=a.timeout;var d=a.withCredentials;var e=d===void 0?!0:d;d=a.headers;var f=d===void 0?void 0:d;a=a.content;var g=a===void 0?void 0:a;var h,k,l,m;return A(function(n){h=new AbortController;k=e?"include":"omit";l=setTimeout(function(){h.abort()},It(c));m={method:"POST",credentials:k,signal:h.signal,headers:f,body:g};return n.return(oK(b,m,l))})},oK=function(a,b,c){var d,e,f,g,h;return A(function(k){switch(k.l){case 1:return k.A(2,3),k.h(fetch(a,b),5);case 5:d=k.j; case 3:k.J();clearTimeout(c);k.M(4);break;case 2:f=e=k.o();if(f.name==="AbortError")throw new Kt(7,-1);throw new Kt(6,-1);case 4:return g=d.headers.get("Content-Type")||"",k.h(d.text(),6);case 6:return h=k.j,k.return(new kK(d.status,uu(d.status),g,h))}})},mK=function(a,b){var c,d;return A(function(e){if(e.l==1)return e.A(2),e.h(a(b),4);if(e.l!=2)return c=e.j,e.return(c);d=e.o();if(b)return e.return(a(!1));throw d;})};var qK=function(){};qK.prototype.get=function(a){var b=a.url;var c=a.timeout;var d=a.withCredentials;var e=d===void 0?!0:d;a=a.browsingTopics;var f=a===void 0?!0:a;var g;return A(function(h){if(h.l==1)return h.A(2),h.h(rK({url:b,timeout:c,withCredentials:e,browsingTopics:f}),4);if(h.l!=2)return h.return(h.j);g=h.o();if(!e)throw g;return h.return(rK({url:b,timeout:c,withCredentials:!1,browsingTopics:f}))})}; var rK=function(a){var b=a.url;var c=a.timeout;var d=a.withCredentials;var e=d===void 0?!0:d;a=a.browsingTopics;var f=a===void 0?!0:a;var g,h,k,l;return A(function(m){g=new AbortController;h=e?"include":"omit";k=setTimeout(function(){g.abort()},It(c));l={method:"GET",credentials:h,signal:g.signal};f&&(l.browsingTopics=f);return m.return(sK(b,l,k))})}; qK.prototype.Cd=function(a){var b=a.url;var c=a.timeout;var d=a.withCredentials;var e=d===void 0?!0:d;d=a.headers;var f=d===void 0?void 0:d;a=a.content;var g=a===void 0?void 0:a;var h;return A(function(k){if(k.l==1)return k.A(2),k.h(tK({url:b,timeout:c,withCredentials:e,headers:f,content:g}),4);if(k.l!=2)return k.return(k.j);h=k.o();if(!e)throw h;return k.return(tK({url:b,timeout:c,withCredentials:!1,headers:f,content:g}))})}; var tK=function(a){var b=a.url;var c=a.timeout;var d=a.withCredentials;var e=d===void 0?!0:d;d=a.headers;var f=d===void 0?void 0:d;a=a.content;var g=a===void 0?void 0:a;var h,k,l,m,n;return A(function(r){g||(h=new URL(b),g=h.search.slice(1),h.search="",b=h.toString());k=new AbortController;l=e?"include":"omit";m=setTimeout(function(){k.abort()},It(c));n={method:"POST",credentials:l,signal:k.signal,headers:f,body:g};return r.return(sK(b,n,m))})},sK=function(a,b,c){var d,e,f,g,h;return A(function(k){switch(k.l){case 1:return k.A(2, 3),k.h(fetch(a,b),5);case 5:d=k.j;case 3:k.J();clearTimeout(c);k.M(4);break;case 2:f=e=k.o();if(f.name==="AbortError")throw new Kt(7,-1);throw new Kt(6,-1);case 4:if(!d.ok)throw new Kt(6,d.status);g=d.headers.get("Content-Type")||"";return g.indexOf("application/json")!==-1?k.h(d.json(),9):k.h(d.text(),8);case 8:return h=k.j,k.return(Lt(h)||new Document);case 9:return k.return(k.j||{})}})};var uK=function(a,b,c,d){R.call(this);this.H=b;this.D=c;this.C=d;this.A=new Map;this.J=0;this.o=new Map;this.B=new Map;this.l=void 0;this.j=a};u(uK,R);uK.prototype.R=function(){delete this.h;this.A.clear();this.o.clear();this.B.clear();this.l&&(Lm(this.j,"message",this.l),delete this.l);delete this.j;delete this.C;R.prototype.R.call(this)}; var vK=function(a){if(a.h)return a.h;a.D&&a.D(a.j)?a.h=a.j:a.h=Cl(a.j,a.H);var b;return(b=a.h)!=null?b:null},xK=function(a,b,c){if(vK(a))if(a.h===a.j)(b=a.A.get(b))&&b(a.h,c);else{var d=a.o.get(b);if(d&&d.qf){wK(a);var e=++a.J;a.B.set(e,{me:d.me,rl:d.Yg(c),Cm:b==="addEventListener"});a.h.postMessage(d.qf(c,e),"*")}}},wK=function(a){a.l||(a.l=function(b){if(b.source===a.h)try{var c=a.C?a.C(b):void 0;if(c){var d=c.tj,e=a.B.get(d);if(e){e.Cm||a.B.delete(d);var f;(f=e.me)==null||f.call(e,e.rl,c.payload)}}}catch(g){}}, Km(a.j,"message",a.l))};var yK=function(a,b){(0,a.__uspapi)("getUSPData",1,function(c,d){b.callback({wi:c!=null?c:void 0,Ki:d?void 0:2})})},zK={Yg:function(a){return a.callback},qf:function(a,b){a={};return a.__uspapiCall={callId:b,command:"getUSPData",version:1},a},me:function(a,b){b=b.__uspapiReturn;var c;a({wi:(c=b.returnValue)!=null?c:void 0,Ki:b.success?void 0:2})}};function AK(a){a=Vd(a.data)?JSON.parse(a.data):a.data;return{payload:a,tj:a.__uspapiReturn.callId}} var BK=function(a,b){b=b===void 0?{}:b;R.call(this);var c;this.timeoutMs=(c=b.timeoutMs)!=null?c:500;this.caller=new uK(a,"__uspapiLocator",function(d){return typeof d.__uspapi==="function"},AK);this.caller.A.set("getDataWithCallback",yK);this.caller.o.set("getDataWithCallback",zK)};u(BK,R);BK.prototype.R=function(){this.caller.dispose();R.prototype.R.call(this)}; var CK=function(a,b){var c={};if(vK(a.caller)){var d=Tj(function(){b(c)});xK(a.caller,"getDataWithCallback",{callback:function(e){e.Ki||(c=e.wi);d()}});setTimeout(d,a.timeoutMs)}else b(c)};var DK=function(a,b){b=b.listener;(a=(0,a.__gpp)("addEventListener",b))&&b(a,!0)},EK=function(a,b){(0,a.__gpp)("removeEventListener",b.listener,b.listenerId)},FK={Yg:function(a){return a.listener},qf:function(a,b){a={};return a.__gppCall={callId:b,command:"addEventListener",version:"1.1"},a},me:function(a,b){b=b.__gppReturn;a(b.returnValue,b.success)}},GK={Yg:function(a){return a.listener},qf:function(a,b){var c={};return c.__gppCall={callId:b,command:"removeEventListener",version:"1.1",parameter:a.listenerId}, c},me:function(a,b){b=b.__gppReturn;var c=b.returnValue.data;a==null||a(c,b.success)}};function HK(a){var b={};Vd(a.data)?b=JSON.parse(a.data):b=a.data;return{payload:b,tj:b.__gppReturn.callId}} var IK=function(a,b){b=(b===void 0?{}:b).timeoutMs;R.call(this);this.caller=new uK(a,"__gppLocator",function(c){return typeof c.__gpp==="function"},HK);this.caller.A.set("addEventListener",DK);this.caller.o.set("addEventListener",FK);this.caller.A.set("removeEventListener",EK);this.caller.o.set("removeEventListener",GK);this.timeoutMs=b!=null?b:500};u(IK,R);IK.prototype.R=function(){this.caller.dispose();R.prototype.R.call(this)}; IK.prototype.addEventListener=function(a){var b=this,c=Tj(function(){a(JK,!0)}),d=this.timeoutMs===-1?void 0:setTimeout(function(){c()},this.timeoutMs);xK(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)}catch(k){if(e==null?0:e.listenerId)try{b.removeEventListener(e.listenerId)}catch(l){a(KK,!0);return}a(LK,!0)}}})}; IK.prototype.removeEventListener=function(a){xK(this.caller,"removeEventListener",{listener:function(){},listenerId:a})}; var LK={eventName:"signalStatus",data:"ready",pingData:{internalErrorState:2,gppString:"GPP_ERROR_STRING_UNAVAILABLE",applicableSections:[-1]},listenerId:-1},JK={eventName:"signalStatus",data:"ready",pingData:{gppString:"GPP_ERROR_STRING_LISTENER_REGISTRATION_TIMEOUT",internalErrorState:2,applicableSections:[-1]},listenerId:-1},KK={eventName:"signalStatus",data:"ready",pingData:{gppString:"GPP_ERROR_STRING_REMOVE_EVENT_LISTENER_ERROR",internalErrorState:2,applicableSections:[-1]},listenerId:-1};cF([1,8,9,10,11,12,2,3,4,5,15,16,19,20,21,23,25]);cF([1,6,7,9,10,11,12,2,22,3,4,5,13,14,18,19,20,21,23,24]);cF([1,6,7,9,10,11,12,22,2,3,4,5,13,14,17,18,19,20,21,23,24]);new bF;var MK,NK,OK,PK=function(){return C.navigator?C.navigator.userAgent:""},QK=Ab(PK(),"(iPad")||Ab(PK(),"(Macintosh")||Ab(PK(),"(iPod")||Ab(PK(),"(iPhone"),RK=function(){NK===void 0&&(NK=Ab(PK(),"afma-sdk-a"));return NK?!0:!1},SK=function(){if(OK===void 0){a:{if(MK===void 0){if(QK){var a=Ab(PK(),"Safari");var b=(new Vs(window.location.href)).j.ud("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=MK=!0;break a}}MK=!1}a=MK}OK=a||RK()}return OK};function TK(a){if(!E(Gk(a))){var b=!ik(a)&&dF.test(a)?gk(a):a;a=ik(b)?b:nk(a);vk(window,a,"_blank")}};function UK(a,b){for(var c;!(c=a.next()).done;)b(c.value)}var VK=function(a,b){this.h=a[C.Symbol.iterator]();this.j=b};VK.prototype[Symbol.iterator]=function(){return this};VK.prototype.next=function(){var a=this.h.next();return{value:a.done?void 0:this.j.call(void 0,a.value),done:a.done}};var WK=function(a,b){return new VK(a,b)};var XK=function(a,b){var c=new Set(a);UK(b[Symbol.iterator](),function(d){return c.add(d)});return c};var YK={attributes:!0,attributeFilter:["style","class"]},ZK=new Map;function $K(a,b,c,d){return typeof DOMRect!=="undefined"?new DOMRect(a,b,c,d):{x:a,y:b,width:c,height:d,top:b,bottom:b+d,left:a,right:a+c,toJSON:function(){return this}}}function aL(a,b){return[a.top-b.top,a.left-b.left,a.width-b.width,a.height-b.height].every(function(c){return Math.abs(c)<=1})}var bL=function(){this.l=this.h=this.j=null}; function cL(a,b,c,d){var e=a.getBoundingClientRect();aL(b,e)?(e=setTimeout(function(){return void cL(a,b,c,d)},200),d.l=e):(dL(d),c(e))} function eL(a){var b=new bL,c=new Promise(function(f){var g=a.getBoundingClientRect();if("ResizeObserver"in window){var h=new ResizeObserver(function(k){window.requestAnimationFrame(function(){var l=w(k),m=l.next(),n;try{for(;!m.done;m=l.next()){var r=m.value,q=0,t=0;if(r.contentBoxSize){var v=Array.isArray(r.contentBoxSize)?r.contentBoxSize[0]:r.contentBoxSize;q=Math.round(v.inlineSize);t=Math.round(v.blockSize)}else q=Math.round(r.contentRect.width),t=Math.round(r.contentRect.height);var y=void 0, z=void 0,B=((y=r)==null?void 0:(z=y.contentRect)==null?void 0:z.left)||g.left;z=y=void 0;var F=((y=r)==null?void 0:(z=y.contentRect)==null?void 0:z.top)||g.top,I=$K(B,F,q,t);if(!aL(g,I)){dL(b);f(I);break}}}finally{m&&!m.done&&(n=l.return)&&n.call(l)}})});b.j=h;h.observe(a);h=new MutationObserver(function(){window.requestAnimationFrame(function(){var k=a.getBoundingClientRect();aL(g,k)||(dL(b),f(k))})});b.h=h;h.observe(a,YK)}else cL(a,g,f,b)}),d,e=(d=ZK.get(c))!=null?d:new Set;e.add(b);ZK.set(c,e); return c}function fL(a){var b=b===void 0?$K(0,0,1,1):b;var c=function(g){var h=eL(a),k,l=(k=ZK.get(g))!=null?k:new Set,m;k=(m=ZK.get(h))!=null?m:new Set;ZK.set(g,XK(l,k));return h},d=function(g,h){c(g).then(function(k){b.width<=k.width&&b.height<=k.height?(gL(g),h(k)):d(g,h)})},e=new Ku,f=e.promise;d(f,e.resolve);return f}function gL(a){a=ZK.get(a);a=w(a);var b=a.next(),c;try{for(;!b.done;b=a.next())dL(b.value)}finally{b&&!b.done&&(c=a.return)&&c.call(a)}} function dL(a){a.l&&window.clearTimeout(a.l);a.j&&(a.j.disconnect(),a.j=null);a.h&&(a.h.disconnect(),a.h=null)};var hL=function(a){S.call(this);this.j=a;this.l=this.o=!1;this.A=this.C=0;this.h=new Ux(1E3);Ot(this,this.h);cu(this.h,"tick",this.xm,!1,this);cu(this.j,"pause",this.Ef,!1,this);cu(this.j,"playing",this.Ef,!1,this);cu(this.j,"ended",this.Ef,!1,this);cu(this.j,"timeupdate",this.Ef,!1,this)};u(hL,S);p=hL.prototype;p.getCurrentTime=function(){var a=this.j;return typeof a.currentTime==="number"?a.currentTime:typeof a.getCurrentTime==="function"?a.getCurrentTime():0}; p.Ef=function(a){switch(a.type){case "playing":this.Rb();break;case "pause":case "ended":this.wc();break;case "timeupdate":!this.o&&this.getCurrentTime()>0&&(this.o=!0,this.Rb())}};p.Rb=function(){!this.h.enabled&&this.o&&(this.C=this.getCurrentTime()*1E3,this.A=Date.now(),this.l=!1,this.h.start())};p.wc=function(){this.h.enabled&&this.h.stop()}; p.xm=function(){var a=Date.now(),b=a-this.A,c=this.getCurrentTime()*1E3;c-this.C"),TL(f,PL(h,b)),f}g.onsuccess=function(){f.callback(g.result)};g.onerror=function(h){b+=" for range "+(e?yk(e):"");TL(f,OL(h.target,b))};return f},jM=function(a,b){return fM(a.h,b)};var kM=function(a){this.h=a};kM.prototype.getName=function(){return this.h.name};var lM=function(a,b,c,d,e){var f=new SL;try{var g=e?a.h[b](d,e):a.h[b](d)}catch(h){return c+=yk(d),e&&(c+=", with key "+yk(e)),TL(f,PL(h,c)),f}g.onsuccess=function(h){f.callback(h.target.result)};g.onerror=function(h){c+=yk(d);e&&(c+=", with key "+yk(e));TL(f,OL(h.target,c))};return f},mM=function(a,b){return lM(a,"put","putting into "+a.getName()+" with value",b)}; kM.prototype.add=function(a,b){return lM(this,"add","adding into "+this.getName()+" with value ",a,b)};kM.prototype.remove=function(a){var b=new SL;try{var c=this.h["delete"](a instanceof QL?a.range():a)}catch(e){return c="removing from "+this.getName()+" with key "+yk(a),TL(b,PL(e,c)),b}c.onsuccess=function(){b.callback()};var d=this;c.onerror=function(e){var f="removing from "+d.getName()+" with key "+yk(a);TL(b,OL(e.target,f))};return b}; kM.prototype.get=function(a){var b=new SL;try{var c=this.h.get(a)}catch(e){return c="getting from "+this.getName()+" with key "+yk(a),TL(b,PL(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 "+yk(a);TL(b,OL(e.target,f))};return b};kM.prototype.getAll=function(a,b){return nM(this,"getting all from index "+this.getName(),a,b)}; var nM=function(a,b,c,d){var e;c===void 0?e=void 0:e=c instanceof QL?c.range():(new QL(RL.only(c))).range();var f=new SL;try{var g=a.h.getAll(e,d)}catch(h){return b+=" for range "+(e?yk(e):""),TL(f,PL(h,b)),f}g.onsuccess=function(){f.callback(g.result)};g.onerror=function(h){b+=" for range "+(e?yk(e):"");TL(f,OL(h.target,b))};return f}; kM.prototype.clear=function(){var a="clearing store "+this.getName(),b=new SL;try{var c=this.h.clear()}catch(d){return TL(b,PL(d,a)),b}c.onsuccess=function(){b.callback()};c.onerror=function(d){TL(b,OL(d.target,a))};return b};var oM=function(a){try{return new gM(a.h.index("timestamp"))}catch(b){throw PL(b,"getting index timestamp");}}; kM.prototype.count=function(a){var b=new SL;try{var c=a?a.range():null,d=this.h.count(c);d.onsuccess=function(f){b.callback(f.target.result)};var e=this;d.onerror=function(f){TL(b,OL(f.target,e.getName()))}}catch(f){TL(b,PL(f,this.getName()))}return b};var pM=function(a,b){S.call(this);this.h=a;this.l=b;this.j=new mu(this);this.j.listen(this.h,"complete",Ya(this.dispatchEvent,this,"complete"));this.j.listen(this.h,"abort",Ya(this.dispatchEvent,this,"abort"));this.j.listen(this.h,"error",this.Ak)};u(pM,S);p=pM.prototype;p.Ak=function(a){a.target instanceof zL?this.dispatchEvent({type:"error",target:a.target}):this.dispatchEvent({type:"error",target:OL(a.target,"in transaction")})}; p.objectStore=function(a){try{return new kM(this.h.objectStore(a))}catch(b){throw PL(b,"getting object store "+a);}};p.commit=function(a){if(this.h.commit||!a)try{this.h.commit()}catch(b){throw PL(b,"cannot commit the transaction");}};p.wait=function(){var a=new SL;bu(this,"complete",Ya(a.callback,a));var b=bu(this,"abort",function(){ku(c);TL(a,new zL(IL,"waiting for transaction to complete"))});var c=bu(this,"error",function(e){ku(b);TL(a,e.target)});var d=this.l;return $L(a,function(){return d})}; p.abort=function(){this.h.abort()};p.R=function(){S.prototype.R.call(this);this.j.dispose()};var qM={READ_ONLY:"readonly",READ_WRITE:"readwrite",Sp:"versionchange"};function rM(a){S.call(this);this.h=a;this.j=new mu(this);this.j.listen(this.h,"abort",Ya(this.dispatchEvent,this,"abort"));this.j.listen(this.h,"error",this.Bk);this.j.listen(this.h,"versionchange",this.ul);this.j.listen(this.h,"close",Ya(this.dispatchEvent,this,"close"))}ab(rM,S);p=rM.prototype;p.kh=!0;p.Bk=function(a){a=(a=a.target)&&a.error;this.dispatchEvent({type:"error",errorCode:a&&a.severity})};p.ul=function(a){this.dispatchEvent(new sM(a.oldVersion,a.newVersion))}; p.close=function(){this.kh&&(this.h.close(),this.kh=!1)};p.Nc=function(){return this.kh};p.getName=function(){return this.h.name};p.getVersion=function(){return Number(this.h.version)};var tM=function(a,b){var c=["MediaSourceVideoChunk"];try{var d=b?a.h.transaction(c,b):a.h.transaction(c);return new pM(d,a)}catch(e){throw PL(e,"creating transaction");}};rM.prototype.R=function(){rM.Sb.R.call(this);this.j.dispose()}; var sM=function(a,b){Pt.call(this,"versionchange");this.oldVersion=a;this.newVersion=b};ab(sM,Pt);var uM=void 0; function vM(a){var b=new SL;uM==void 0&&(uM=C.indexedDB||C.mozIndexedDB||C.webkitIndexedDB||C.moz_indexedDB);var c=uM.open("IndexedDbVideoChunkPersistentStorage",7);c.onsuccess=function(d){d=new rM(d.target.result);b.callback(d)};c.onerror=function(d){TL(b,OL(d.target,"opening database IndexedDbVideoChunkPersistentStorage"))};c.onupgradeneeded=function(d){if(a){var e=new rM(d.target.result);a(new sM(d.oldVersion,d.newVersion),e,new pM(d.target.transaction,e))}};c.onblocked=function(){};return b};var wM=function(a){S.call(this);this.j=a;this.h=null};u(wM,S);wM.prototype.initialize=function(){var a=this;return Promise.resolve(vM(this.l)).then(function(b){a.h=b},function(b){O(N.getInstance(),"codf",b.message)})};wM.prototype.Nc=function(){return this.h!==null&&this.h.Nc()};wM.prototype.close=function(){var a=this;return(new Promise(function(b){xM(a,b)})).then(function(){return yM()}).then(function(){a.h.close()})}; var yM=function(){var a;return((a=navigator.storage)==null?0:a.estimate)?navigator.storage.estimate().then(function(b){O(N.getInstance(),"csue",String(b.usage))}):Promise.resolve(void 0)};wM.prototype.Lg=function(a){return(a=zM(this,a,0))?AM(this,BM(a),a.lmt):Promise.resolve(null)};wM.prototype.ye=function(a,b,c,d){(b=zM(this,b,c))?(c=b.startIndex,CM(this,{cacheId:BM(b),startIndex:c,endIndex:c+a.byteLength-1,lmt:b.lmt,timestamp:new Date(Date.now()),isLastVideoChunk:d,itag:b.itag,video:a})):Promise.resolve(void 0)}; wM.prototype.l=function(a,b){if(a.oldVersion!==6){if(b.h.objectStoreNames.contains("MediaSourceVideoChunk"))try{b.h.deleteObjectStore("MediaSourceVideoChunk")}catch(d){throw PL(d,"deleting object store MediaSourceVideoChunk");}a={keyPath:"cacheId"};try{var c=new kM(b.h.createObjectStore("MediaSourceVideoChunk",a))}catch(d){throw PL(d,"creating object store MediaSourceVideoChunk");}b={unique:!1};try{c.h.createIndex("timestamp","timestamp",b)}catch(d){throw PL(d,"creating new index timestamp with key path timestamp"); }}}; var xM=function(a,b){var c=new Date(Date.now());c.setDate(c.getDate()-30);c=new QL(RL.upperBound(c,void 0));var d=jM(oM(tM(a.h,qM.READ_WRITE).objectStore("MediaSourceVideoChunk")),c),e=d.listen("n",function(){d.remove();d.next()});bu(d,"c",function(){ku(e);b()})},DM=function(a){var b=new Set,c=new QL(RL.bound(new Date(Date.now()-2592E6),new Date(Date.now()),void 0,void 0));return new Promise(function(d){var e=jM(oM(tM(a.h,qM.READ_ONLY).objectStore("MediaSourceVideoChunk")),c),f=e.listen("n",function(){var g=e.getValue(); g&&g.videoId&&b.add(g.videoId);e.next()});bu(e,"c",function(){ku(f);d(Array.from(b))})})},zM=function(a,b,c){var d,e=new sL(b,(d=a.j)==null?void 0:d.Ei);d=e.getId();a=uL(e,"itag");b=e.ae();var f=uL(e,"lmt");e=vL(e);var g=[];d?a?b?f?e===null&&g.push("startIndex"):g.push("lmt"):g.push("source"):g.push("itag"):g.push("videoId");return g.length>0?(O(N.getInstance(),"civp",g.join("-")),null):{videoId:d,itag:a,source:b,lmt:f,startIndex:e+c}},BM=function(a){for(var b=[a.videoId,a.source,a.startIndex].join(), c=0,d=0;d0&&((h=d.j)==null||h.dispatchEvent(MI("indexed_db_mrid", {Jq:g.join(",")})));k.F()})})};u(FM,qL);p=FM.prototype;p.Eg=function(){return this.l};p.Kg=function(){return this.o};p.Yc=function(){return this.state===3};p.Sg=function(){return this.state===0};p.bf=function(){return this.l<=this.o};p.Mj=function(){var a;(a=this.h)!=null&&a.Gd&&(this.M=!0,this.state===3||this.bf()||(this.state=1,GM(this)))};p.Ji=function(){var a;(a=this.h)!=null&&a.Gd&&(this.M=!1,HM(this))};p.reset=function(){HM(this);this.N=this.state=this.o=this.l=0}; var HM=function(a){a.H&&(a.H.abort(),a.H=null,a.state=0)};FM.prototype.Wg=function(a){if(this.state===1)this.l+=a,this.state=2;else if(this.state===0){this.l+=a;var b;if((b=this.h)==null||!b.Gd||this.M)this.state=1,GM(this)}}; var IM=function(a){var b;if(((b=a.h)==null?0:b.Gd)&&!a.M)return!1;b=a.N>3;var c=a.j&&a.j.readyState>=HTMLMediaElement.HAVE_FUTURE_DATA,d=a.o>=a.l||a.state===3,e;if(((e=a.h)==null?0:e.hh)&&c)return!d;b&&a.D!==null&&(e=MI("media_source_error",{code:a.o>0?MediaError.MEDIA_ERR_NETWORK:MediaError.MEDIA_ERR_SRC_NOT_SUPPORTED,message:'Response code "'+a.D+'" with '+a.l+" bytes requested and "+a.o+" bytes loaded"}),a.dispatchEvent(e));return!d&&!b},GM=function(a){var b,c,d,e,f;A(function(g){switch(g.l){case 1:b= 0;case 2:c=void 0;if((c=a.h)==null||!c.hh){g.Y(5);break}return g.h(new Promise(function(h){setTimeout(h,Math.min(1E3,Math.pow(2,b)-1))}),5);case 5:return a.state===2&&(a.state=1),g.h(JM(a),7);case 7:b++,d=jt(a.uri,"range"),e=void 0,(e=a.j)==null||e.dispatchEvent(MI("chunk_load_attempted",{Gh:b,range:d,mimeType:a.J.mimeType})),IM(a)?g.Y(2):((f=a.j)==null||f.dispatchEvent(MI("chunk_loaded",{Gh:b,mimeType:a.J.mimeType})),a.state!==3&&(a.state=0),g.F())}})},JM=function(a){var b,c;return A(function(d){switch(d.l){case 1:b= a.o+"-"+(a.l-1);it(a.uri,"range",b);if(!a.C){d.Y(2);break}return d.h(a.P,3);case 3:return d.return(KM(a));case 2:return d.A(4,5),d.h(LM(a),5);case 5:d.J();a.H=null;d.M(0);break;case 4:c=d.o(),MM(a,c),d.Y(5)}})},KM=function(a){var b,c,d;return A(function(e){switch(e.l){case 1:return e.h(a.A.Lg(a.uri),2);case 2:b=e.j;(c=a.j)==null||c.dispatchEvent(MI("chunk_cache_query",{hl:b!==null,mimeType:a.J.mimeType}));if(b){b.isLastVideoChunk&&(a.state=3);NM(a,b.video,0);e.Y(0);break}e.A(4,5);return e.h(LM(a), 5);case 5:e.J();a.H=null;e.M(0);break;case 4:d=e.o(),MM(a,d),e.Y(5)}})},MM=function(a,b){if(!(b instanceof EM)){var c;b=new sL(a.uri,(c=a.h)==null?void 0:c.Ei);var d;if(((d=a.h)==null?0:d.wg)&&tL(b)){a:if(tL(b)){var e=(c=uL(b,"mn"))?c.split(","):null;d=uL(b,"fvip");c=b.uri.clone();if(e&&d&&!b.h){var f=(Number(uL(b,"fallback_count"))||0)+1;if(e=e[f]){Xs(c,"r"+d+"---"+e+".googlevideo.com");it(c,"fallback_count",f);var g=c;break a}}var h;d=Number(((h=(g=jt(c,"cmo"))==null?void 0:g.split("="))!=null? h:[])[1])||0;b.uri.h.match(/^r{1,2}(\d+)---(.+)\.googlevideo.com$/)&&Xs(c,"redirector.googlevideo.com");it(c,"cmo","pf="+(d+1));g=c}else g=b.uri;a.uri=g;a.dispatchEvent(MI("bandaid_fallback_count"))}else((f=a.h)==null?0:f.Fq)&&wt(a.uri)&&(a.uri=new Vs(xt(a.uri)));a.N++}},LM=function(a){var b=OM(a);return new Promise(function(c,d){var e=new XMLHttpRequest;a.H=e;var f;((f=a.h)==null?0:f.Gd)&&e.addEventListener("abort",function(){d(new EM)});var g=0,h=[],k=a.l-a.o,l=function(){if(e.status>=400)a.D=e.status; else{var m=g;if(b){var n=e.responseText;m=new ArrayBuffer(n.length-g);for(var r=new Uint8Array(m),q=0;q=400)O(N.getInstance(),"lvlxes",e.status.toString()),a.D=e.status,d();else{var m=b?e.responseText.length:e.response.byteLength;m0)if(m=m3,c=a.j&&a.j.readyState>=HTMLMediaElement.HAVE_FUTURE_DATA,d=a.l>=a.h||a.state===3,e;if(((e=a.H)==null?0:e.hh)&&c)return!d;b&&(a.A===null&&(a.A=400),c=MI("media_source_error",{code:a.l>0?MediaError.MEDIA_ERR_NETWORK:MediaError.MEDIA_ERR_SRC_NOT_SUPPORTED,message:'Response code "'+a.A+'" with '+a.h+" bytes requested and "+a.l+" bytes loaded"}),a.dispatchEvent(c));return!d&&!b},UM=function(a){var b,c,d,e,f;A(function(g){switch(g.l){case 1:b=0;case 2:c=void 0;if((c=a.H)== null||!c.hh){g.Y(5);break}return g.h(new Promise(function(h){setTimeout(h,Math.min(1E3,Math.pow(2,b)-1))}),5);case 5:return a.state===2&&(a.state=1),g.h(WM(a),7);case 7:b++,d=jt(a.uri,"range"),e=void 0,(e=a.j)==null||e.dispatchEvent(MI("chunk_load_attempted",{Gh:b,range:d,mimeType:a.D.mimeType})),VM(a)?g.Y(2):((f=a.j)==null||f.dispatchEvent(MI("chunk_loaded",{Gh:b,mimeType:a.D.mimeType})),a.state!==3&&(a.state=0),g.F())}})},WM=function(a){var b;return A(function(c){switch(c.l){case 1:b=a.l+"-"+(a.h- 1);it(a.uri,"range",b);if(!a.o){c.Y(2);break}return c.h(a.J,3);case 3:return c.return(XM(a));case 2:return c.A(4),c.h(YM(a),6);case 6:c.G(0);break;case 4:c.o(),a.C++,c.F()}})},XM=function(a){var b,c;return A(function(d){switch(d.l){case 1:return a.o?d.h(a.o.Lg(a.uri),2):d.return(Promise.reject());case 2:b=d.j;(c=a.j)==null||c.dispatchEvent(MI("chunk_cache_query",{hl:b!==null,mimeType:a.D.mimeType}));if(b)return b.isLastVideoChunk&&(a.state=3),ZM(a,b.video),d.return();d.A(3);return d.h(YM(a),5);case 5:d.G(0); break;case 3:d.o(),a.C++,d.F()}})},YM=function(a){var b,c,d,e,f,g,h;return A(function(k){if(k.l==1)return b=0,c=a.h-a.l,k.h(fetch(a.uri.toString()),2);d=k.j;if(d.status>=400)return O(N.getInstance(),"lvlfes",d.status.toString()),a.A=d.status,k.return(Promise.reject());f=(e=d.body)==null?void 0:e.getReader();if(!f)return Ro(N.getInstance(),"lvlmr"),a.A=d.status,k.return(Promise.reject());g=[];h=function(){var l,m,n,r,q,t;return A(function(v){if(v.l==1)return v.h(f.read(),2);l=v.j;m=l.done;n=l.value; if(m)return r=b0&&a.o.ye(d.buffer,a.uri,0,c)},ZM=function(a,b){b!==null&& (b=b.slice(0),a.l+=b.byteLength,a.dispatchEvent({type:"progress",kg:b}))};TM.prototype.R=function(){var a;((a=this.o)==null?0:a.Nc())&&this.o.close();qL.prototype.R.call(this)};var aN=function(){this.h=void 0};aN.prototype.gm=function(a,b,c,d){var e;return((e=this.h)==null?0:e.eq)&&c-d>=3E5?0:c===0?1E6:b-a<5E3?3E5:0};var cN=function(a,b,c,d,e,f){c=c===void 0?0:c;d=d===void 0?null:d;e=e===void 0?null:e;f=f===void 0?0:f;S.call(this);var g=this;this.yb=a;this.h=[];this.j=!1;this.C=c;this.A=d;this.l=e;this.o=f;this.l&&this.l.listen("updateend",function(){bN(g)});this.yb||Ro(N.getInstance(),"msms_sbf"+b);this.yb.addEventListener("updateend",function(){bN(g)});this.yb.addEventListener("error",function(){Ro(N.getInstance(),"msms_sbe"+b)})};u(cN,S); fa.Object.defineProperties(cN.prototype,{updating:{configurable:!0,enumerable:!0,get:function(){return this.j}}});var bN=function(a){if(!a.yb.updating&&a.j){if(a.l&&a.A!==null){var b=a.l.yb;b=b.buffered.length>0?b.buffered.end(b.buffered.length-1):0;var c=a.yb.buffered.length>0?a.yb.buffered.end(a.yb.buffered.length-1):0;if(!a.A()&&c>b-a.C)return}a.h.length>0?(b=a.h.shift(),a.yb.appendBuffer(b)):(a.j=!1,a.dispatchEvent(new Event("updateend")))}};var dN=function(a){this.j=a;this.h=this.cache=null};p=dN.prototype;p.initialize=function(){var a=this;return window.caches.open("CACHE_VIDEO_CHUNK_PERSISTENT_STORAGE").then(function(b){a.cache=b},function(b){O(N.getInstance(),"codf",b.message)})};p.Nc=function(){return this.cache!==null};p.close=function(){return Promise.resolve()}; p.Lg=function(a){var b=this;a=eN(this,a);return this.Nc()&&a?this.cache.match(a).then(function(c){if(!c)return O(N.getInstance(),"cenf","1"),Promise.resolve(null);O(N.getInstance(),"cef","1");return c.arrayBuffer().then(function(d){var e=vL(b.h),f;(f=jt(b.h.uri,"range"))?(f=f.split("-")[1],f=!f||isNaN(Number(f))?null:Number(f)):f=null;e=e+d.byteLength-1;f=f>e;return{itag:uL(b.h,"itag"),endIndex:e,isLastVideoChunk:f,video:d}})},function(c){O(N.getInstance(),"cgvf",c.message);return Promise.resolve(null)}): (O(N.getInstance(),"cgvf","1"),Promise.resolve(null))};p.ye=function(a,b){b=eN(this,b);a=new Response(a);this.Nc()&&b?this.cache.put(b,a).then(function(){O(N.getInstance(),"cavs","1")},function(c){O(N.getInstance(),"cavf",c.message)}):(O(N.getInstance(),"cavf","1"),Promise.resolve())}; var eN=function(a,b){var c;a.h=new sL(b,(c=a.j)==null?void 0:c.Ei);b=a.h.getId();c=uL(a.h,"itag");var d=a.h.ae(),e=uL(a.h,"lmt");a=uL(a.h,"range");if(b&&c&&d&&a)return new Request("http://url/videoplayback?id="+b+"&itag="+c+"&source="+d+"&lmt="+e+"&range="+a);O(N.getInstance(),"civp","1");return null};var fN=function(a,b){this.currentTimeSeconds=a;this.removedRanges=b},kN=function(a,b,c,d,e){d=d===void 0?1:d;e=e===void 0?1E3:e;S.call(this);var f=this;this.A=a;this.h=b;this.j=c;this.o=[];this.H=[];this.J=null;this.D=0;this.M=!1;this.V=0;this.C=[];this.ra=!1;this.wa=d;this.N=e;this.la=function(){f.ra=!0};this.h.addEventListener("ended",this.la,{once:!0});var g;if((g=this.j)==null?0:g.Kh){var h=null;if(xL(this.j)){var k;h=((k=this.j)==null?0:k.Gq)?wI(dN):wI(wM)}this.l=this.A.map(function(l){return wI(TM, l,wt(l.url)?null:h,f.h,f.j)})}else this.l=this.A.map(function(l){return wI(FM,l,f.h,f.j)});(c==null?0:c.wg)&&this.l.forEach(function(l){l.listen("bandaid_fallback_count",function(m){f.dispatchEvent(m)})});this.Ma=wI(QM());this.ha=function(){gN(f)};this.Ma.addEventListener("sourceopen",this.ha);RM(this.Ma)&&(this.Ma.addEventListener("startstreaming",function(){var l;if((l=f.j)==null?0:l.Gd){l=w(f.l);var m=l.next(),n;try{for(;!m.done;m=l.next())m.value.Mj()}finally{m&&!m.done&&(n=l.return)&&n.call(l)}hN(f)}f.h.dispatchEvent(new CustomEvent("mms_start_streaming"))}), this.Ma.addEventListener("endstreaming",function(){var l;if((l=f.j)==null?0:l.Gd){l=w(f.l);var m=l.next(),n;try{for(;!m.done;m=l.next())m.value.Ji()}finally{m&&!m.done&&(n=l.return)&&n.call(l)}}f.h.dispatchEvent(new CustomEvent("mms_end_streaming"))}));this.P=iN(this);this.Z=function(){jN(f)};this.h.addEventListener("playbackStalled",this.Z)};u(kN,S); var iN=function(a){for(var b=[],c=0;c0?(b.Xj=a.l[0],d=a.H[0],b.tc=wI(cN,a.Ma.addSourceBuffer(c.mimeType),b.va,a.wa,function(g){return function(){return g.Xj.Yc()}}(b),d,a.N)):b.tc=wI(cN,a.Ma.addSourceBuffer(c.mimeType),b.va,0,null,null,a.N):b.tc=wI(cN,a.Ma.addSourceBuffer(c.mimeType),b.va),b.lf=a.l[b.va],b.lf.listen("progress",function(g){return function(h){var k=g.tc,l=g.lf;h=h.kg;if(h.byteLength!==0){k.j=!0;if(k.o>0)for(var m=0;m0&&a.h.dispatchEvent(new CustomEvent("bufferremoved", {detail:new fN(a.h.currentTime,g.removedRanges)}))}}(b))}O(N.getInstance(),"msms_ns",a.o.length.toString());a.M=!0;hN(a)}},nN=function(a,b,c){a.C[c].length===0&&a.l[c].bf()?hN(a):b.updating||a.C[c].length===0||(a=a.C[c].shift(),b.appendBuffer(a))},mN=function(a){var b,c,d;((b=a.j)==null?0:b.Tj)||((c=a.j)==null?0:c.Gi)||((d=a.j)==null?0:d.Fi)&&RK()?Promise.all(a.H.map(function(e){return new Promise(function(f){e.updating?e.jc("updateend",function(){f()}):f()})})).then(function(){a.Ma.endOfStream()}): Promise.all(a.o.map(function(e,f){return new Promise(function(g){if(e.updating){var h=function(){var k;((k=a.j)==null?0:k.Kh)&&(e.updating||a.C[f].length>0)||(e.removeEventListener("updateend",h),g())};e.addEventListener("updateend",h)}else g()})})).then(function(){a.Ma.endOfStream()})},hN=function(a){if(a.M&&!lN(a))for(var b=0;b=.25)){c=w(a.o);var d=c.next(),e;try{for(;!d.done;d=c.next()){var f=d.value,g=f.buffered.end(f.buffered.length-1);if(b>g-oN){a.h.currentTime=a.h.duration+.01;break}}}finally{d&&!d.done&&(e=c.return)&&e.call(c)}}},qN=function(a){var b=a.Ma;var c=window;if(typeof MediaSource!=="undefined"&&b instanceof MediaSource||typeof c.ManagedMediaSource!=="undefined"&& b instanceof c.ManagedMediaSource)b=gk(URL.createObjectURL(b));else{c=b.type;c.toLowerCase()==="application/octet-stream"?c=!0:(c=c.match(/^([^;]+)(?:;\w+=(?:\w+|"[\w;,= ]+"))*$/i),c=(c==null?void 0:c.length)===2&&(/^image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp|x-icon|heic|heif|avif|x-ms-bmp)$/i.test(c[1])||/^video\/(?:3gpp|avi|mpeg|mpg|mp4|ogg|webm|x-flv|matroska|x-matroska|quicktime|x-ms-wmv)$/i.test(c[1])||/^audio\/(?:3gpp2|3gpp|aac|amr|L16|midi|mp3|mp4|mpeg|oga|ogg|opus|x-m4a|matroska|x-matroska|x-wav|wav|webm)$/i.test(c[1])|| /^font\/[\w-]+$/i.test(c[1])));if(!c)throw Error("");b=gk(URL.createObjectURL(b))}a.J=b.toString();return a.J},jN=function(a){if(lN(a)&&(a.h.ended||Math.abs(a.h.currentTime-a.h.duration)<.25))a.h.currentTime=a.h.duration+.01;else{var b,c;if(!(c=a.h.readyState===HTMLMediaElement.HAVE_ENOUGH_DATA)&&(c=((b=a.j)==null?0:b.aq)&&a.h.readyState===HTMLMediaElement.HAVE_FUTURE_DATA))a:{b=a.h.currentTime;c=a.h.buffered;for(var d=0;d=c.start(d)&&b=1;break a}c=!1}if(c)rN(a); else if(lN(a)){a.D=0;b=w(a.l);c=b.next();var e;try{for(;!c.done;c=b.next())c.value.reset()}finally{c&&!c.done&&(e=b.return)&&e.call(b)}hN(a)}else if(sN(a)&&tN(a)){for(e=a.D=0;e0&&this.o==0)for(;c=this.l.pop();)this.A(c)}}}};var WN=function(a,b,c){yx(function(){a.apply(b,c)})}; VN.prototype.clear=function(a){if(a){var b=this.j[a];b&&(b.forEach(this.A,this),delete this.j[a])}else this.h.length=0,this.j={}};VN.prototype.R=function(){VN.Sb.R.call(this);this.clear();this.l.length=0};function XN(a){R.call(this);this.h=new VN(a);Ot(this,this.h)}ab(XN,R);XN.prototype.subscribe=function(a,b,c){return this.h.subscribe(a.toString(),b,c)};XN.prototype.unsubscribe=function(a,b,c){return this.h.unsubscribe(a.toString(),b,c)};var YN=function(a,b,c){a.h.C(b.toString(),c)};XN.prototype.clear=function(a){this.h.clear(a!==void 0?a.toString():void 0)};var ZN=function(a,b){TN.call(this,b);UN(this,function(c){a.h.mode=c?"showing":"hidden"},this)};u(ZN,TN);var $N=function(){S.call(this);this.element=null;this.j=new mu(this);Ot(this,this.j)};u($N,S);var bO=function(a,b,c){c=c===void 0?!0:c;$N.call(this);a.setAttribute("crossorigin","anonymous");var d=gm("TRACK");d.setAttribute("kind","captions");d.setAttribute("src",b);d.setAttribute("default","");a.appendChild(d);this.h=a.textTracks[0];aO(this);this.h.mode=c?"showing":"hidden"};u(bO,$N);var aO=function(a){var b=a.h;b.addEventListener("cuechange",function(){for(var c=b.cues,d=0;d0&&e>0&&f>0&&g>0?(d=d.width/d.height,b/=e,b=Math.min(b,d)/Math.max(b,d)>=.97?"cover":"contain"):b=null;b!==null&&Bm(c,{"object-fit":b})})});a.U.addEventListener("play",function(){a.yj||(AN(a.U,"first_play"),a.yj=!0)});a.U.addEventListener("pause",function(){a.Jf||(AN(a.U,"first_pause"),CN(a.U),a.Jf=!0)});cu(C,"pagehide",function(){a.Jf||(AN(a.U,"first_pause"),CN(a.U), a.Jf=!0)});a.U.addEventListener("stalled",function(){O(N.getInstance(),"ves","1")});wI(hL,a.U).listen("playbackStalled",function(){O(N.getInstance(),"pbs","1");var b;if((b=a.hc)==null?0:b.Hi){var c;(c=a.ua)==null||jN(c)}});a.U.addEventListener("media_source_error",function(b){vO(a);b=b.detail;wO(a,new kO(b.code,b.message))});zO(a)},oO=function(a){var b=jO(a.childNodes);b&&AO(a,b);a.Ge===null&&BO(a)},BO=function(a){if(C.MutationObserver){var b=new MutationObserver(function(c){c=w(c);var d=c.next(), e;try{for(;!d.done;d=c.next()){var f=d.value;if(f.type==="childList"){var g=jO(f.addedNodes);if(g){AO(a,g);b.disconnect();break}}}}finally{d&&!d.done&&(e=c.return)&&e.call(c)}});b.observe(a,gO)}},nO=function(a){a.U.addEventListener("volumechange",function(){YN(a.Uc,RN,a.U.muted);a.Zm||YN(a.Uc,SN,a.U.muted)})},AO=function(a,b){if(a.Ge===null&&b.hasAttribute("src")){var c=b.getAttribute("src");a.Ge=new bO(a.U,c,b.hasAttribute("default"));new ZN(a.Ge,a.Uc);c.includes("kind=asr")&&O(N.getInstance(),"act", "1")}},rO=function(a,b){if(b!==a.vj){a.vj=b;a.dn&&b&&vt(b)&&(b=xt(b));var c=b?KI(b):null,d=!!c&&SM(c);O(N.getInstance(),"umsem",d?"1":"0");if(d){b=wI(BN,b,LI(c),AI[c]*1E3,null);a.ua=wI(kN,[b],a.U,a.hc);a.Vd&&a.ua.Nf(a.Vd);a.ua.listen("media_source_error",function(f){f=MI("media_source_error",f.detail);a.U.dispatchEvent(f)});var e;((e=a.hc)==null?0:e.wg)&&a.ua.listen("bandaid_fallback_count",function(){a.dispatchEvent(MI("bandaid_fallback_count"))});a.ne=function(){return pN(a.ua,a.U.currentTime*1E3)}; a.U.addEventListener("timeupdate",a.ne);RM(a.ua.Ma)&&(tO(a,"disableRemotePlayback","true"),uO());tO(a,"src",qN(a.ua))}else vO(a),tO(a,"src",b);a.Jj||qO(a)}},sO=function(a){a.src&&wO(a,new kO(MediaError.MEDIA_ERR_ABORTED,"Setting demuxed src after src is already set."));if(!a.ld&&!a.Gc&&a.ua)vO(a),tO(a,"src",null),qO(a);else if(a.ld&&a.Gc){var b=KI(vt(a.Gc)?xt(a.Gc):a.Gc),c=KI(vt(a.ld)?xt(a.ld):a.ld);if(b&&SM(b))if(c&&SM(c)){var d=!!b&&SM(b)&&!!c&&SM(c);O(N.getInstance(),"umsed",d?"1":"0");b=wI(BN, a.Gc,LI(b),-1,null);c=wI(BN,a.ld,LI(c),-1,null);var e;d=((e=a.hc)==null?0:e.Hq)?[b]:[b,c];a.ua=wI(kN,d,a.U,a.hc);a.Vd&&a.ua.Nf(a.Vd);a.ua.listen("media_source_error",function(h){h=MI("media_source_error",h.detail);a.U.dispatchEvent(h)});var f;((f=a.hc)==null?0:f.wg)&&a.ua.listen("bandaid_fallback_count",function(){a.dispatchEvent(MI("bandaid_fallback_count"))});a.ne=function(){return pN(a.ua,a.U.currentTime*1E3)};a.U.addEventListener("timeupdate",a.ne);var g;if((g=a.hc)==null?0:g.Hi)a.jh=function(){rN(a.ua)}, a.U.addEventListener("playing",a.jh);RM(a.ua.Ma)&&(tO(a,"disableRemotePlayback","true"),uO());tO(a,"src",qN(a.ua));a.Jj||qO(a)}else wO(a,new lO('Audio itag "'+c+'" not supported.'));else wO(a,new lO('Video itag "'+b+'" not supported.'))}},xO=function(a){var b=w(fO),c=b.next(),d;try{for(var e={};!c.done;e={Pb:void 0,getValue:void 0},c=b.next())e.Pb=c.value,e.Pb in a.U&&(typeof a.U[e.Pb]==="function"?(e.getValue=a.U[e.Pb].bind(a.U),Object.defineProperty(a,e.Pb,{set:function(f){return function(g){a.U[f.Pb]= g}}(e),get:function(f){return function(){return f.getValue}}(e)})):Object.defineProperty(a,e.Pb,{set:function(f){return function(g){a.U[f.Pb]=g}}(e),get:function(f){return function(){return a.U[f.Pb]}}(e)}))}finally{c&&!c.done&&(d=b.return)&&d.call(b)}},yO=function(a){Object.defineProperty(a,"error",{set:function(){},get:function(){return a.U.error?a.U.error:a.gi}})},zO=function(a){a.U.style.width=Gm();a.U.style.height=Gm()}; pO.prototype.disconnectedCallback=function(){this.Uf&&gL(this.Uf);iO.prototype.disconnectedCallback&&iO.prototype.disconnectedCallback.call(this)};fa.Object.defineProperties(pO,{observedAttributes:{configurable:!0,enumerable:!0,get:function(){return eO}}});C.customElements&&(C.customElements.get("lima-video")||C.customElements.define("lima-video",pO));var CO=function(){mL.apply(this,arguments)};u(CO,mL);CO.prototype.unload=function(){this.h.removeAttribute("demuxedVideoSrc");this.h.removeAttribute("demuxedAudioSrc");mL.prototype.unload.call(this)};var DO=function(a,b,c,d){CO.call(this,a,b===void 0?!1:b,c===void 0?!1:c,d===void 0?!1:d)};u(DO,CO);function EO(a){a=new sL(new Vs(a));var b=uL(a,"manifest"),c=uL(a,"itag");b=b||c||0;a=a.ae()||"none";O(N.getInstance(),"vsrc",a);O(N.getInstance(),"bit",String(b))} function FO(a){if(a instanceof yH){var b=a.Kd,c=a.fd;if(b===243&&c){var d=a.Ld+'; codecs="vp09.00.10.08"',e=a.Be+'; codecs="'+a.Ja+'"';b=yI[b]*1E3||4E5;c=yI[c]*1E3||4E5;var f=dm(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 OI=function(){var a=a===void 0?[]:a;var b=b===void 0?!1:b;var c=c===void 0?null:c;var d=d===void 0?0:d;this.o=a;this.l=b;this.h=c;this.j=d}; OI.prototype.select=function(a,b,c){c=c===void 0?!1:c;Ro(N.getInstance(),"ghmsh_s");var d=b="",e="",f=0,g=w(a.l),h=g.next(),k;try{for(;!h.done;h=g.next()){var l=h.value;b+=l.itag+",";l.url.indexOf("gvt1.com")>=0&&f++}}finally{h&&!h.done&&(k=g.return)&&k.call(g)}k=w(a.h);l=k.next();var m;try{for(;!l.done;l=k.next()){var n=l.value;d+=n.itag+",";n.url.indexOf("gvt1.com")>=0&&f++}}finally{l&&!l.done&&(m=k.return)&&m.call(k)}m=w(a.j);n=m.next();var r;try{for(;!n.done;n=m.next()){var q=n.value;e+=q.itag+ ",";q.url.indexOf("gvt1.com")>=0&&f++}}finally{n&&!n.done&&(r=m.return)&&r.call(m)}r=w(a.o);q=r.next();var t;try{for(;!q.done;q=r.next()){var v=q.value;v.mimeType==="application/dash+xml"?O(N.getInstance(),"ghmsh_hd","1"):v.mimeType==="application/vnd.apple.mpegurl"&&O(N.getInstance(),"ghmsh_hh","1")}}finally{q&&!q.done&&(t=r.return)&&t.call(r)}O(N.getInstance(),"ghmsh_mi",b);O(N.getInstance(),"ghmsh_vi",d);O(N.getInstance(),"ghmsh_ai",e);O(N.getInstance(),"ghmsh_gvt",f.toString());c=GO(this,a,c); c||(Ro(N.getInstance(),"ghmsh_f"),a.l.length>0?c=HO(a.l[0]):a.j.length>0&&a.h.length>0?c=IO(a.h[0],a.j[0]):(Ro(N.getInstance(),"ghmsh_ff"),c=null));return c?((t=c)?(O(N.getInstance(),"ams","1"),t.getWidth()&&t.getHeight()&&O(N.getInstance(),"vs",t.getWidth()+"x"+t.getHeight()),t.Ba&&O(N.getInstance(),"vc",t.Ba),t instanceof CH?(t.mimeType&&O(N.getInstance(),"mt",t.mimeType),t.getMediaUrl().indexOf("gvt1.com")>=0&&O(N.getInstance(),"gvt1","1"),EO(t.getMediaUrl())):t instanceof yH&&(t.Ld&&O(N.getInstance(), "mt",t.Ld),t.Kd&&(O(N.getInstance(),"bit",String(t.Kd)),t.Ic().indexOf("gvt1.com")>=0&&O(N.getInstance(),"gvt1","1")),t.fd&&O(N.getInstance(),"bait",String(t.fd)),EO(t.Ic()))):O(N.getInstance(),"ams","0"),JO(c),dq(uq)&&(a=(a=KO(this,a,18))?a:null)?[c,a]:[c]):[]}; var GO=function(a,b,c){c=c===void 0?!1:c;var d=null,e=null,f=w(a.o),g=f.next(),h;try{for(;!g.done;g=f.next()){var k=g.value;switch(k.type){case "dash":if(d=LO(a,b,"application/dash+xml",c))return d;break;case "hls":if(d=LO(a,b,"application/vnd.apple.mpegurl",c))return d;break;case "itag":if(k.Zl)d=KO(a,b,k.Zl,c);else if(k.Oh&&k.cl){var l=void 0,m=void 0,n=void 0,r=void 0,q=void 0,t=void 0,v=a,y=b,z=k.Oh,B=k.cl,F=c;F=F===void 0?!1:F;var I=MO(v,y.h,v.h,F),M=w(I),Q=M.next();try{for(;!Q.done;Q=M.next())n= Q.value,n.itag===z&&(t=n)}finally{Q&&!Q.done&&(r=M.return)&&r.call(M)}if(B){var U=MO(v,y.j,v.h,F),ea=w(U),Y=ea.next();try{for(;!Y.done;Y=ea.next())l=Y.value,l.itag===B&&(q=l)}finally{Y&&!Y.done&&(m=ea.return)&&m.call(ea)}}d=t&&q?IO(t,q):t&&!v.l?HO(t):null;d instanceof CH&&e==null&&(e=d,d=null)}else if(k.Oh){n=m=l=void 0;r=a;var Z=k.Oh,aa=MO(r,b.h,r.h,c===void 0?!1:c),pa=w(aa),La=pa.next();try{for(;!La.done;La=pa.next())l=La.value,l.itag===Z&&(n=l)}finally{La&&!La.done&&(m=pa.return)&&m.call(pa)}d= n?new yH({Tf:n.url,eg:"",Kd:n.itag,fd:null,Ld:n.mimeType,Be:"",Ba:n.Ba,Ja:"",height:n.height,width:n.width,Na:n.Na||!1,Mh:n.pb,dg:0}):null}if(d)return d}}}finally{g&&!g.done&&(h=f.return)&&h.call(f)}return e},LO=function(a,b,c,d){a=MO(a,b.o,a.h,d===void 0?!1:d);a=w(a);b=a.next();var e;try{for(;!b.done;b=a.next()){var f=b.value;if(f.mimeType===c)return HO(f)}}finally{b&&!b.done&&(e=a.return)&&e.call(a)}return null},KO=function(a,b,c,d){a=MO(a,b.l,a.h,d===void 0?!1:d);a=w(a);b=a.next();var e;try{for(;!b.done;b= a.next()){var f=b.value;if(f.itag===c)return HO(f)}}finally{b&&!b.done&&(e=a.return)&&e.call(a)}return null},MO=function(a,b,c,d){d=d===void 0?!1:d;return b.slice().sort(function(e,f){if(d){var g=e.width,h=e.height;var k=f.width;var l=f.height,m=a.j;if(m===0)k=0;else{var n=g&&h,r=k&&l;n||r?n&&r?(g=(g>h?1:gl?1:km&&l>m?k-l:0));return f})},HO=function(a){return new CH({xf:a.url,mimeType:a.mimeType,itag:a.itag,Ba:a.Ba,Ja:a.Ja,height:a.height,width:a.width,Na:a.Na||!1,pb:a.pb})},IO=function(a,b){return new yH({Tf:a.url,eg:b.url,Kd:a.itag,fd:b.itag,Ld:a.mimeType,Be:b.mimeType,Ba:a.Ba,Ja:b.Ja,height:a.height,width:a.width,Na:a.Na&&b.Na||!1,Mh:a.pb,dg:b.pb})},JO=function(a){a=FO(a);var b,c;a&&((b=navigator)==null?0:(c=b.mediaCapabilities)== null?0:c.decodingInfo)&&navigator.mediaCapabilities.decodingInfo(a).then(function(d){O(N.getInstance(),"mcsu",d.supported?"1":"0");O(N.getInstance(),"mcsm",d.smooth?"1":"0");O(N.getInstance(),"mcpe",d.powerEfficient?"1":"0")})};/* The MIT License (MIT) Copyright (c) 2018 LG Electronics Inc. SPDX-License-Identifier: MIT A set of methods based on the CSS Spatial Navigation [specs](https://www.w3.org/TR/css-nav-1/) and [code](https://www.gstatic.com/external_hosted/spatial_navigation_polyfill/spatial-navigation-polyfill.js) to manage focus for a pre-registered basic HTML elements in a single DOM environment. */ var NO=new Map([["ArrowUp","up"],["ArrowDown","down"],["ArrowLeft","left"],["ArrowRight","right"]]),OO=["top","bottom","left","right"];RegExp.prototype.hasOwnProperty("sticky");var PO={Gn:"SIMID:Creative:clickThru",sk:"SIMID:Creative:fatalError",bo:"SIMID:Creative:getMediaState",LOG:"SIMID:Creative:log",rp:"SIMID:Creative:reportTracking",sp:"SIMID:Creative:requestChangeAdDuration",tp:"SIMID:Creative:requestChangeVolume",up:"SIMID:Creative:requestExitFullscreen",wp:"SIMID:Creative:requestFullscreen",REQUEST_PAUSE:"SIMID:Creative:requestPause",REQUEST_PLAY:"SIMID:Creative:requestPlay",yp:"SIMID:Creative:requestResize",zp:"SIMID:Creative:requestSkip",REQUEST_STOP:"SIMID:Creative:requestStop", xp:"SIMID:Creative:requestNavigation",io:"SIMID:Creative:handleSkipShown",vp:"SIMID:Creative:requestFocus"},QO=Zd({UNSPECIFIED:0,Qp:1,Wo:2,mp:3,Nn:4,Yo:5,0:"UNSPECIFIED",1:"USER_INITIATED",2:"MEDIA_PLAYBACK_COMPLETE",3:"PLAYER_INITATED",4:"CREATIVE_INITIATED",5:"NONLINEAR_DURATION_COMPLETED"}),RO=Zd({Rh:"adHandles",bp:"notSkippable",Zh:"playerHandles"}),SO=Zd({Rh:"adHandles",NOT_SUPPORTED:"notSupported",Zh:"playerHandles"}),TO=Zd({Rh:"adHandles",Zh:"playerHandles"}),UO=fe(Zd({Mn:"createSession",Dp:"resolve", pp:"reject"}),Zd(PO),Zd({DURATION_CHANGE:"SIMID:Media:durationchange",ENDED:"SIMID:Media:ended",ERROR:"SIMID:Media:error",PAUSE:"SIMID:Media:pause",PLAY:"SIMID:Media:play",PLAYING:"SIMID:Media:playing",SEEKED:"SIMID:Media:seeked",SEEKING:"SIMID:Media:seeking",STALLED:"SIMID:Media:stalled",TIME_UPDATE:"SIMID:Media:timeupdate",di:"SIMID:Media:volumechange"}),Zd({Qk:"SIMID:Player:resize",INIT:"SIMID:Player:init",Jp:"SIMID:Player:startCreative",vn:"SIMID:Player:adSkipped",wn:"SIMID:Player:adStopped", yn:"SIMID:Player:appBackgrounded",An:"SIMID:Player:appForegrounded",sk:"SIMID:Player:fatalError",LOG:"SIMID:Player:log",Vn:"SIMID:Player:focusIn",Wn:"SIMID:Player:focusOut"}));function VO(a){return dq(zq)?WO(a):typeof a!=="object"?!1:Ud(a.width)&&Ud(a.height)&&Ud(a.x)&&Ud(a.y)}var XO={},WO=ae((XO.x=Ud,XO.y=Ud,XO.width=Ud,XO.height=Ud,XO));var YO=function(a){a=a===void 0?{}:a;this.adParameters=a.adParameters;this.clickThruUri=a.clickThruUri;this.clickThruUrl=a.clickThruUrl;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.errorMessage=a.errorMessage;this.fullscreen=a.fullscreen;this.fullscreenAllowed=a.fullscreenAllowed;this.message=a.message;this.muted= a.muted;this.navigationSupport=a.navigationSupport;this.Ed=a.Ed;this.Fd=a.Fd;this.skippableState=a.skippableState;this.skipOffset=a.skipOffset;this.Eh=a.Eh;this.uri=a.uri;this.variableDurationAllowed=a.variableDurationAllowed;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;this.sj=a.sj;this.focusAllowed=a.focusAllowed};function ZO(a){if(dq(zq)&&(a==null||typeof a!=="object"))return Ro(N.getInstance(),"sp_s_vrt_id"),!1;a=a.trackingUrls;if(!(dq(zq)?Array.isArray(a):a instanceof Array))return Ro(N.getInstance(),"sp_s_vrt_ia"),!1;if(a.every(function(b){return typeof b==="string"}))return Ro(N.getInstance(),"sp_s_vrt_s"),!0;Ro(N.getInstance(),"sp_s_vrt_iu");return!1} function $O(a){if(dq(zq)&&(a==null||typeof a!=="object"))return Ro(N.getInstance(),"sp_s_vr_id"),!1;if(!VO(a.videoDimensions))return Ro(N.getInstance(),"sp_s_vr_ivd"),!1;if(!VO(a.creativeDimensions))return Ro(N.getInstance(),"sp_s_vr_icd"),!1;if(typeof a.fullscreen!=="boolean")return Ro(N.getInstance(),"sp_s_vr_ifs"),!1;Ro(N.getInstance(),"sp_s_vr_s");return!0}var aP=function(){}; aP.prototype.ia=function(a,b){var c={};switch(a){case "SIMID:Player:init":a={};a=(a.adParameters=b.adParameters,a.clickThruUri=b.clickThruUri,a.clickThruUrl=b.clickThruUrl,a);var d={},e={},f={};b=(f.videoDimensions=(d.height=b.videoHeight,d.width=b.videoWidth,d.x=0,d.y=0,d),f.creativeDimensions=(e.height=b.videoHeight,e.width=b.videoWidth,e.x=0,e.y=0,e),f.fullscreen=b.fullscreen,f.fullscreenAllowed=!0,f.variableDurationAllowed=b.variableDurationAllowed,f.skippableState=b.skippableState,f.skipoffset= b.skipOffset,f.navigationSupport=b.navigationSupport,f.version="1.0",f.focusAllowed=b.focusAllowed,f.muted=b.muted,f.volume=b.volume,f);c.environmentData=b;c.creativeData=a;break;case "SIMID:Media:timeupdate":c.currentTime=b.currentTime;break;case "SIMID:Media:volumechange":c.volume=b.volume;c.muted=b.muted;break;case "SIMID:Media:durationchange":c.duration=b.duration;break;case "SIMID:Player:adStopped":c.code=b.code;break;case "SIMID:Player:resize":a={};a=(a.height=b.creativeHeight,a.width=b.creativeWidth, a.x=b.creativeX,a.y=b.creativeY,a);d={};d=(d.height=b.videoHeight,d.width=b.videoWidth,d.x=b.videoX,d.y=b.videoY,d);c.creativeDimensions=a;c.videoDimensions=d;c.fullscreen=b.fullscreen;break;case "SIMID:Player:fatalError":c.errorCode=b.errorCode;break;case "SIMID:Player:log":c.message=b.message}return c}; aP.prototype.vg=function(a,b){switch(a){case "SIMID:Creative:requestChangeAdDuration":return b=b.duration,typeof b!=="number"||isNaN(b)?null:new YO({duration:b});case "SIMID:Creative:reportTracking":return ZO(b)?new YO({Eh:b.trackingUrls}):null;case "SIMID:Creative:requestResize":if(!$O(b))return null;a=b.videoDimensions;var c=b.creativeDimensions;return new YO({videoX:a.x,videoY:a.y,videoWidth:a.width,videoHeight:a.height,creativeX:c.x,creativeY:c.y,creativeWidth:c.width,creativeHeight:c.height, fullscreen:b.fullscreen});case "SIMID:Creative:requestChangeVolume":return a=b.volume,b=b.muted,dq(zq)&&(typeof a!=="number"||isNaN(a)||typeof b!=="boolean")?null:new YO({volume:a,muted:b});case "SIMID:Creative:clickThru":return new YO({uri:typeof b.uri==="string"?b.uri:void 0,url:typeof b.url==="string"?b.url:void 0,sj:typeof b.playerHandles==="boolean"?b.playerHandles:void 0});case "SIMID:Creative:requestNavigation":return typeof b.uri!=="string"?null:new YO({uri:b.uri});case "SIMID:Creative:log":return typeof b.message!== "string"?null:new YO({message:b.message})}return new YO};var bP=function(a,b,c){Pt.call(this,a.type);this.resolve=b;this.reject=c;this.args=a.args};u(bP,Pt);var cP=function(a,b,c,d){this.type=a;this.messageId=b;this.h=c;this.args=d};var dP=ae({errorCode:be(fe(Ud,Yd,Xd)),message:be(fe(Vd,Yd,Xd))});ae({currentSrc:be(fe(Vd,Yd,Xd)),currentTime:be(fe(Ud,Yd,Xd)),duration:be(fe(Ud,Yd,Xd)),ended:be(fe(Wd,Yd,Xd)),muted:be(fe(Wd,Yd,Xd)),paused:be(fe(Wd,Yd,Xd)),volume:be(fe(Ud,Yd,Xd)),fullscreen:be(fe(Wd,Yd,Xd))}); var eP=ae({videoDimensions:WO,creativeDimensions:WO,fullscreen:Wd,fullscreenAllowed:Wd,variableDurationAllowed:Wd,skippableState:RO,skipoffset:be(fe(Ud,Yd,Xd)),version:Vd,muted:be(fe(Wd,Yd,Xd)),volume:be(fe(Ud,Yd,Xd)),siteUrl:be(fe(Vd,Yd,Xd)),appId:be(fe(Vd,Yd,Xd)),useragent:be(fe(Vd,Yd,Xd)),deviceId:be(fe(Vd,Yd,Xd)),navigationSupport:be(fe(SO,Yd,Xd)),closeButtonSupport:be(fe(TO,Yd,Xd)),nonlinearDuration:be(fe(Ud,Yd,Xd)),focusAllowed:be(fe(Wd,Yd,Xd))}),fP=ae({adParameters:Vd,clickThruUrl:be(fe(Vd, Yd,Xd)),clickThruUri:be(fe(Vd,Yd,Xd))});ae({environmentData:eP,creativeData:fP});ae({errorCode:Ud,errorMessage:be(fe(Vd,Yd,Xd))});ae({duration:Ud});ae({currentTime:Ud});ae({volume:Ud,muted:Wd});ae({code:QO});ae({message:Vd});function gP(a){a=a==null?void 0:a.data;if(dq(zq)&&typeof a!=="string")return null;var b={};try{b=JSON.parse(a)}catch(c){return null}return dq(zq)&&b==null||typeof b!=="object"?null:b}var hP=function(a,b,c){c=c===void 0?{}:c;S.call(this);this.C=a;this.H=b;this.h=null;this.J=1;this.D=new Ku;this.o={xg:!!c.xg};this.Ze=function(){return window};this.Re=function(){return window};this.l=new mu(this);Ot(this,this.l);this.j=new Map;this.A=Vv()};u(hP,S); hP.prototype.Vg=function(a){var b=this;var c=a.Re;a=a.Ze;this.Re=c;this.Ze=a;this.l.listen(window,"message",function(d){return void b.receiveMessage(d.h)})}; hP.prototype.sendMessage=function(a,b){b=b===void 0?new YO:b;var c=this.J++,d={};d.type=a;d.sessionId=this.h;this.o.xg&&(d.sendingInstanceId=this.A);d.messageId=c;d.timestamp=Date.now();if(a==="resolve"||a==="reject"){var e={};b=(e.messageId=b.Fd,e.value=b.Ed,e)}else b=this.C.ia(a,b);d.args=b;b=this.Ze();if(!b)throw Error("Target window is null.");b.postMessage(JSON.stringify(d),"*");return this.H.includes(a)?(a=new Ku,this.j.set(c,a),a.promise):Promise.resolve({})}; hP.prototype.receiveMessage=function(a){var b=this.Re();if(b=b?b===a.source:!1)b=gP(a),b=!(b==null||b.sendingInstanceId==null?0:this.o.xg&&b.sendingInstanceId===this.A);if(b){var c=gP(a);if(!(c==null||(a=c.type,dq(zq)&&!UO(a))||(b=c.sessionId,dq(zq)&&typeof b!=="string")||b!==this.h&&a!=="createSession"||a==="createSession"&&this.h!=null)){var d=c.args;if(!dq(zq)||d!=null&&typeof d==="object")if(c=c.messageId,c!=null&&(!dq(zq)||typeof c==="number")){var e=null;try{if(a==="resolve"||a==="reject"){var f= d.messageId;if(f==null||dq(zq)&&typeof f!=="number")e=null;else{var g=d.value;e=!dq(zq)||g!=null&&typeof g==="object"?new YO({Fd:f,Ed:g}):null}}else e=this.C.vg(a,d)}catch(k){if(k.cause===1210){var h=JSON.stringify({type:"TimingEvent",key:"smd_ss_nfo_init"});this.sendMessage("SIMID:Creative:log",new YO({message:h}));h=JSON.stringify({type:"OneShotParameter",key:"smd_ss_nfo_init_r",value:k.message});this.sendMessage("SIMID:Creative:log",new YO({message:h}));return}throw k;}if(e)switch(a==="SIMID:Player:init"&& (f=JSON.stringify({type:"TimingEvent",key:"smd_ss_so_init"}),this.sendMessage("SIMID:Creative:log",new YO({message:f}))),f=new cP(a,c,b,e),f.type){case "resolve":case "reject":a:if(g=f.args.Fd){a=f.args.Ed;if(dq(zq)){if(a=(h=a)!=null?h:{},typeof a!=="object")break a}else a=a||{};if(this.j.has(g)&&(h=this.j.get(g),!dq(zq)||h!=null)){if(f.type==="resolve")h.resolve(a);else if(f.type==="reject"){if(dq(zq))try{Pd(a,dP)}catch(k){h.reject({errorCode:1211,message:"Failed to deserialize reject message arguments."}); break a}h.reject(a)}this.j.delete(g)}}break;case "createSession":this.h=f.h;this.resolve(f.messageId);this.D.resolve();break;default:iP(this,f)}else this.reject(c,{errorCode:1211,message:"Invalid message arguments."})}}}};hP.prototype.zh=function(){return this.D.promise};var iP=function(a,b){a.dispatchEvent(new bP(b,function(c){c=c===void 0?{}:c;return void a.resolve(b.messageId,c)},function(c){return void a.reject(b.messageId,c)}))}; hP.prototype.resolve=function(a,b){b=b===void 0?{}:b;this.sendMessage("resolve",new YO({Fd:a,Ed:b}))};hP.prototype.reject=function(a,b){this.sendMessage("reject",new YO({Fd:a,Ed:b}))};var jP="SIMID:Player:adSkipped SIMID:Player:adStopped SIMID:Player:appBackgrounded SIMID:Player:fatalError SIMID:Player:init SIMID:Player:startCreative".split(" "),kP=function(a){S.call(this);this.Eb=null;this.h=0;this.protocol=new hP(new aP,jP,a);Ot(this,this.protocol)};u(kP,S);kP.prototype.Vg=function(a){var b=this;this.protocol.Vg(a);Object.values(PO).forEach(function(c){b.protocol.listen(c,function(d){c==="SIMID:Creative:log"&&d.args.message==="cr"?b.h=0:b.dispatchEvent(d)})})}; kP.prototype.zh=function(){return this.protocol.zh()};kP.prototype.xh=function(a){return this.protocol.sendMessage("SIMID:Player:init",new YO(a))};var lP=function(a){return a.protocol.sendMessage("SIMID:Player:startCreative")};kP.prototype.log=function(a){return this.protocol.sendMessage("SIMID:Player:log",new YO({message:a}))}; var nP=function(a){if(!a.Eb)return a.h=0,a.Eb=new Ku,mP(a),a.Eb.promise},mP=function(a){a.Eb&&(a.h===2?(a.Eb.resolve(),a.Eb=null):(a.log("pp"),a.h++,setTimeout(function(){return void mP(a)},2E3)))};var oP={ENDED:"ended",ERROR:"error",PLAY:"play",PAUSE:"pause",zn:"appBackgrounding",Bn:"appForegrounding",SEEKED:"seeked",SEEKING:"seeking",SKIPPED:"skipped",STALLED:"stalled",TIME_UPDATE:"timeUpdate",di:"volumeChange",DURATION_CHANGE:"durationChange",Qk:"resize"};var pP=function(a,b,c){R.call(this);this.j=a;this.h=b;this.A=c;this.l=null;Ot(this,this.A);this.o=new mu(this);Ot(this,this.o)};u(pP,R); var qP=function(a,b,c){a=new pP(b,a,c);Ot(a,b);return a},sP=function(a){if(a.l)return a.l.promise;var b=rP(a.A),c=new Ku;a.l=c;a.j.Vg(b);return a.j.zh().then(function(){a.xh();return dq(zq)?c.promise:a.l.promise})},wP=function(a){var b=!0;b=b===void 0?!1:b;var c;A(function(d){if(d.l==1){if(dq(zq))return c=sP(a),a.o.listen(a.j,Object.values(PO),function(e){return void tP(a,e)}),a.o.listen(a.h,Object.values(oP),function(e){return void uP(a,e)}),d.h(c,3);a.l||sP(a);a.o.listen(a.j,Object.values(PO),function(e){return void tP(a, e)});a.o.listen(a.h,Object.values(oP),function(e){return void uP(a,e)});return d.h(a.l.promise,3)}if(d.l!=8)return b?(vP(a.A.Wf,"showIframe"),d.h(lP(a.j),0)):d.h(lP(a.j),8);vP(a.A.Wf,"showIframe");return d.Y(0)})}; pP.prototype.xh=function(){var a=this;xP(this.h).then(function(b){var c=a.h.getBounds(),d=a.h.ad.j;d=dq(zq)?d!=null?d:void 0:d;var e=a.h.Pe(),f=b.fullscreen,g=b.muted,h=yP(a.h.O)?"notSupported":"adHandles";var k=a.h.ad.td();k=k!=null?Ft(k/1E3):void 0;b={adParameters:e,clickThruUri:d,clickThruUrl:d,fullscreen:f,muted:g,navigationSupport:h,skipOffset:k,skippableState:a.h.ad.isSkippable()?"adHandles":"notSkippable",variableDurationAllowed:!1,videoWidth:c.width,videoHeight:c.height,volume:b.volume};d= a.l;if(dq(zq)&&d==null)throw Error("Initialization resolver is null");a.j.xh(b).then(d.resolve).catch(d.reject);Ro(N.getInstance(),"ima_si");Number.isInteger(c.width)&&Number.isInteger(c.height)||Ro(N.getInstance(),"ima_vsni")})}; var uP=function(a,b){switch(b.type){case "appBackgrounding":a.j.protocol.sendMessage("SIMID:Player:appBackgrounded");break;case "appForegrounding":a.j.protocol.sendMessage("SIMID:Player:appForegrounded");break;case "ended":a.j.protocol.sendMessage("SIMID:Media:ended");break;case "pause":a.j.protocol.sendMessage("SIMID:Media:pause");break;case "play":a.j.protocol.sendMessage("SIMID:Media:play");break;case "seeked":a.j.protocol.sendMessage("SIMID:Media:seeked");break;case "seeking":a.j.protocol.sendMessage("SIMID:Media:seeking"); break;case "skipped":a.j.protocol.sendMessage("SIMID:Player:adSkipped");break;case "stalled":a.j.protocol.sendMessage("SIMID:Media:stalled");break;case "timeUpdate":xP(a.h).then(function(e){return a.j.protocol.sendMessage("SIMID:Media:timeupdate",new YO({currentTime:e.currentTime}))});break;case "volumeChange":xP(a.h).then(function(e){return a.j.protocol.sendMessage("SIMID:Media:volumechange",new YO({volume:e.volume,muted:e.muted}))});break;case "durationChange":xP(a.h).then(function(e){return a.j.protocol.sendMessage("SIMID:Media:durationchange", new YO({duration:e.duration}))});break;case "resize":b=a.h.getBounds();var c=new wm(0,0,b.width,b.height),d=zP(a.h);a.j.protocol.sendMessage("SIMID:Player:resize",new YO({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:Bt(b.width,b.height)}))}},tP=function(a,b){AP(a,b.type,b.args).then(function(c){return void b.resolve(c)}).catch(function(c){dq(zq)?b.reject({errorCode:1200,message:c instanceof Error?c.message:String(c)}):b.reject(c)})},AP=function(a,b,c){switch(b){case "SIMID:Creative:clickThru":return BP(a.h);case "SIMID:Creative:getMediaState":return xP(a.h).then(function(d){return d.ia()});case "SIMID:Creative:reportTracking":return CP(c.Eh);case "SIMID:Creative:requestPause":return a.h.pause();case "SIMID:Creative:requestPlay":return a.h.play();case "SIMID:Creative:requestSkip":return a.h.skip().then(function(){return a.j.protocol.sendMessage("SIMID:Player:adSkipped")});case "SIMID:Creative:requestChangeVolume":return Promise.resolve(void 0); case "SIMID:Creative:requestResize":return DP(a,c);case "SIMID:Creative:requestNavigation":return Promise.reject();case "SIMID:Creative:requestStop":return a.h.stop();case "SIMID:Creative:log":return a.h.log(c.message);default:return Promise.reject(Error("Unknown creative message type: "+b))}},DP=function(a,b){var c=new wm(b.videoX,b.videoY,b.videoWidth,b.videoHeight);b=new wm(b.creativeX,b.creativeY,b.creativeWidth,b.creativeHeight);var d=a.h.getBounds();d=new wm(0,0,d.width,d.height);ym(d,b)||Ro(N.getInstance(), "sp_rrc");b=zm(d,c);if(!b)return Ro(N.getInstance(),"sp_rrv_oob"),Promise.reject(Error("Video rect is out of bounds."));ym(b,c)?Ro(N.getInstance(),"sp_arv"):Ro(N.getInstance(),"sp_arv_c");return a.h.resize(b)};var EP=function(a){var b=a===void 0?{}:a;a=b.currentSrc;var c=b.currentTime;c=c===void 0?-1:c;var d=b.duration;d=d===void 0?-1:d;var e=b.ended;e=e===void 0?!1:e;var f=b.fullscreen;f=f===void 0?!1:f;var g=b.muted;g=g===void 0?!1:g;var h=b.paused;h=h===void 0?!1:h;b=b.volume;b=b===void 0?1:b;this.currentSrc=a===void 0?null:a;this.currentTime=c;this.duration=d;this.ended=e;this.fullscreen=f;this.muted=g;this.paused=h;this.volume=b}; EP.prototype.ia=function(){var a={};return a.currentSrc=this.currentSrc,a.currentTime=this.currentTime,a.duration=this.duration,a.ended=this.ended,a.muted=this.muted,a.paused=this.paused,a.volume=this.volume,a.fullscreen=this.fullscreen,a};function FP(a){return(a=a.ub.find(function(b){return Gk(b.ba)==="SIMID"&&b.mimeType==="text/html"&&!!b.url&&!E(b.url)}))?a.url:null}function GP(a){return(a=a.ub.find(function(b){return Gk(b.ba)==="SIMID"&&b.mimeType==="text/html"&&!!b.h&&!E(b.h)}))?a.h:null}function HP(a,b){try{var c=JSON.parse(a)}catch(d){return a}return typeof c!=="object"||dq(zq)&&c==null?a:c.hasOwnProperty("youtubeVideoId")?JSON.stringify(Object.assign({},c,b)):a};var IP=function(a,b,c){var d=c===void 0?{}:c;c=d.Fc;c=c===void 0?null:c;var e=d.itag;e=e===void 0?null:e;var f=d.mimeType;f=f===void 0?null:f;var g=d.Ba;g=g===void 0?null:g;var h=d.Ja;h=h===void 0?null:h;var k=d.Id;k=k===void 0?null:k;var l=d.ed;l=l===void 0?null:l;var m=d.Na;m=m===void 0?null:m;var n=d.width;n=n===void 0?null:n;var r=d.height;r=r===void 0?null:r;d=d.pb;d=d===void 0?null:d;this.type=b;this.itag=e;this.Ja=h;this.Id=k;this.ed=l;this.Na=m;this.url=a;this.Fc=c;this.mimeType=f;this.Ba= g;this.width=n;this.height=r;this.pb=d};var JP=function(){var a={};var b=a.Qd;var c=a.Rd;c=c===void 0?"http://www.google.com/adsense/support":c;var d=a.ki;d=d===void 0?!1:d;a=a.Ij;a=a===void 0?0:a;this.Qd=b===void 0?"":b;this.Rd=c;this.ki=d;this.Ij=a};var KP=function(){};KP.prototype.parse=function(a){if(!PJ(a,"vast2_about_this_ad"))return null;a=NJ(a,"Icon");if(a.length<1)return null;a=XJ(a[0]);return new mJ(a)};var LP=function(){}; LP.prototype.parse=function(a){if(!PJ(a,"activeview"))return null;var b=[],c=NJ(a,"trackingConfiguration");c=w(c);var d=c.next(),e;try{for(;!d.done;d=c.next()){var f=NJ(d.value,"trackingEventConfiguration"),g=w(f),h=g.next(),k;try{for(;!h.done;h=g.next()){var l=void 0,m=void 0,n=h.value,r=n.getAttribute("event"),q=n.getAttribute("id");if(q==null||r==null)var t=null;else{r=r.toLowerCase();q=q.toLowerCase();var v=[],y=NJ(n,"trackingEventCriteria"),z=w(y),B=z.next();try{for(;!B.done;B=z.next())l=B.value.getAttribute("value"), l!=null&&v.push(l.toLowerCase())}finally{B&&!B.done&&(m=z.return)&&m.call(z)}t=v.length?new Mr(q,r,v):null}(l=t)&&b.push(l)}}finally{h&&!h.done&&(k=g.return)&&k.call(g)}}}finally{d&&!d.done&&(e=c.return)&&e.call(c)}e=UJ(a);g=OJ(a,"activeViewMetadata");f="";g&&(f=V(g)||"");a=OJ(a,"activeViewFlags");g="";a&&(g=V(a)||"");return new GH(e,b,f,g)};var MP=function(){}; MP.prototype.parse=function(a){if(!PJ(a,"adsense"))return null;var b=null,c=null,d=null,e=[],f=null,g=null,h=null,k=w(km(a)),l=k.next(),m;try{for(;!l.done;l=k.next()){var n=l.value;switch(n.nodeName.toLowerCase()){case "attributiontext":b=V(n);break;case "attributionurl":c=V(n);break;case "conversionurl":d=V(n);break;case "is_pharma":var r=MJ(n.getAttribute("bool"));break;case "checkedevents":var q=void 0,t=void 0,v=[],y=w(km(n)),z=y.next();try{for(;!z.done;z=y.next())(q=z.value.getAttribute("id"))&&v.push(q.toLowerCase())}finally{z&& !z.done&&(t=y.return)&&t.call(y)}e=v;break;case "showyoutubeannotations":var B=MJ(V(n));break;case "ui":t=void 0;q=null;var F=OJ(n,"config");if(F==null)f=q;else{var I=OJ(F,"context");if(I==null||((t=I.getAttribute("data"))==null?void 0:t.toLowerCase())!=="default")f=q;else{q=new JP;var M=OJ(F,"params");if(M){v=t=void 0;var Q=q,U=w(km(M)),ea=U.next();try{for(;!ea.done;ea=U.next())switch(t=ea.value,t.nodeName.toLowerCase()){case "audio_muted_on_start":Q.ki=MJ(t.getAttribute("bool"))||!1;break;case "attribution_text":Q.Qd= t.getAttribute("data");break;case "attribution_url":Q.Rd=t.getAttribute("data");break;case "signals":Q.Ij=LJ(t,"int")||0}}finally{ea&&!ea.done&&(v=U.return)&&v.call(U)}}f=q}}break;case "visibleurl":g=V(n);break;case "whythisad":a:{t=q=void 0;var Y=w(km(n)),Z=Y.next();try{for(;!Z.done;Z=Y.next())if(q=Z.value,q.nodeName.toLowerCase()==="wtaclickthroughurl"){h=V(q);break a}}finally{Z&&!Z.done&&(t=Y.return)&&t.call(Y)}h=null}h&&O(N.getInstance(),"wta","1")}}}finally{l&&!l.done&&(m=k.return)&&m.call(k)}return new QH(UJ(a), {Qd:b,Rd:c,xi:d,ij:r,ke:e,Hj:B,uiConfig:f,Zj:g,Qh:h})};var NP=function(){};NP.prototype.parse=function(a){if(!PJ(a,"AdVerifications"))return null;var b=[];a=NJ(a,"AdVerifications");a=w(a);var c=a.next(),d;try{for(;!c.done;c=a.next())b.push.apply(b,x(SJ(c.value)))}finally{c&&!c.done&&(d=a.return)&&d.call(a)}return new cJ(b)};var OP=function(){};OP.prototype.parse=function(a){if(!PJ(a,"playbackmethod")||!QJ(a))return null;a=OJ(a,"playbackmethod");if(!a)return null;a=V(a);return!a||a===""||isNaN(Number(a))?null:new KH(Number(a))};var PP=function(){};PP.prototype.parse=function(a){if(!PJ(a,"plcmt")||!QJ(a))return null;a=OJ(a,"plcmt");if(!a)return null;a=V(a);return!a||a===""||isNaN(Number(a))?null:new MH(Number(a))};var QP=function(){};QP.prototype.parse=function(a){if(!PJ(a,"pos")||!QJ(a))return null;a=OJ(a,"pos");if(!a)return null;a=V(a);return!a||a===""||isNaN(Number(a))?null:new OH(Number(a))};var RP=function(){};RP.prototype.parse=function(a){if(!PJ(a,"companion_about_this_ad"))return null;var b=NJ(a,"IconWrapper");if(b.length>0){a=new Map;b=w(b);var c=b.next(),d;try{for(;!c.done;c=b.next()){var e=c.value,f=e.getAttribute("companionId"),g=NJ(e,"Icon");if(f&&g.length>0){var h=XJ(g[0]);a.set(f,h)}}}finally{c&&!c.done&&(d=b.return)&&d.call(b)}return new WH(a)}d=NJ(a,"Icon");if(d.length<1)return null;d=XJ(d[0]);return new UH(d)};var SP=function(){};SP.prototype.parse=function(a){a=UJ(a);return a.length>0?new FH(a):null};var TP=function(){};TP.prototype.parse=function(a){if(!PJ(a,"watermark"))return null;var b=OJ(a,"WatermarkData");if(!b)return null;a=LJ(b,"max_width");var c=LJ(b,"max_height");b=b?V(b):null;return!b||b===""||a==null||isNaN(a)||c==null||isNaN(c)?null:new oI(b,a,c)};var UP=function(){};UP.prototype.parse=function(a){if(!PJ(a,"eoid_cookie"))return null;a=w(km(a));var b=a.next(),c;try{for(;!b.done;b=a.next()){var d=b.value;if(d.nodeName==="Cookie"){var e=d.getAttribute("domain"),f=LJ(d,"expires"),g=d.getAttribute("path"),h=void 0,k=(h=d.getAttribute("value"))!=null?h:"";if(e&&f!=null&&g)return new qI(k,f,g,e)}}}finally{b&&!b.done&&(c=a.return)&&c.call(a)}return null};var VP=function(){};VP.prototype.parse=function(a){if(!PJ(a,"esp"))return null;var b=[];a=w(km(a));var c=a.next(),d;try{for(;!c.done;c=a.next()){var e=c.value;if(e.nodeName==="EspLibrary"){var f=OJ(e,"LibraryName");if(f){var g=V(f);if(g){var h=OJ(e,"LibraryUrl");b.push({ml:g,nq:h?V(h):null})}}}}}finally{c&&!c.done&&(d=a.return)&&d.call(a)}return new sI(b)};var WP=function(){};WP.prototype.parse=function(a){var b=PJ(a,"gfp_cookie"),c=PJ(a,"gfp_cookie_v2");if(!b&&!c)return null;a=w(km(a));b=a.next();var d;try{for(;!b.done;b=a.next()){var e=b.value;if(e.nodeName==="Cookie"){var f=e.getAttribute("domain"),g=LJ(e,"expires"),h=e.getAttribute("path"),k=void 0,l=(k=e.getAttribute("value"))!=null?k:"";if(f&&g!=null&&h)return new uI(l,g,h,f,c)}}}finally{b&&!b.done&&(d=a.return)&&d.call(a)}return null};var XP=function(){}; XP.prototype.parse=function(a){if(!PJ(a,"GoogleHostedMedia"))return null;O(N.getInstance(),"hghme","1");var b=[],c=[],d=[],e=[],f=null,g=OJ(a,"clientplaybacknonce");g&&(f=V(g));a=w(km(a));g=a.next();var h;try{for(;!g.done;g=a.next()){var k=g.value,l=null;switch(k.nodeName.toLowerCase()){case "audiourls":l="audio";break;case "manifestsurls":l="manifest";break;case "muxedmediaurls":l="muxed";break;case "videourls":l="video"}if(l){var m=w(km(k)),n=m.next(),r;try{for(;!n.done;n=m.next()){var q=n.value, t=V(q),v=q.getAttribute("delivery"),y=LJ(q,"itag"),z=void 0,B=(z=q.getAttribute("mimeType"))==null?void 0:z.toLowerCase(),F=MJ(q.getAttribute("mseCompatible")),I=LJ(q,"contentLength"),M=z=null,Q=null,U=null,ea=null,Y=null;if(l==="video"||l==="muxed"){z=q.getAttribute("videoCodec");var Z=void 0;M=(Z=LJ(q,"videoBitrate"))!=null?Z:null;Z=void 0;ea=(Z=LJ(q,"width"))!=null?Z:null;Z=void 0;Y=(Z=LJ(q,"height"))!=null?Z:null}if(l==="audio"||l==="muxed")Q=q.getAttribute("audioCodec"),Z=void 0,U=(Z=LJ(q,"audioBitrate"))!= null?Z:null;if(t!=null&&l!=null){var aa=Z=void 0,pa=void 0,La=void 0,Gb=void 0,Nb=void 0,ob=void 0,fc=void 0,Tc=new IP(t,l,{Fc:(Z=v)!=null?Z:void 0,itag:y,mimeType:(aa=B)!=null?aa:void 0,Ba:(pa=z)!=null?pa:void 0,Ja:(La=Q)!=null?La:void 0,Id:(Gb=M)!=null?Gb:void 0,ed:(Nb=U)!=null?Nb:void 0,Na:F,width:(ob=ea)!=null?ob:void 0,height:(fc=Y)!=null?fc:void 0,pb:I});switch(l){case "audio":b.push(Tc);break;case "manifest":c.push(Tc);break;case "muxed":d.push(Tc);break;case "video":e.push(Tc)}}}}finally{n&& !n.done&&(r=m.return)&&r.call(m)}}}}finally{g&&!g.done&&(h=a.return)&&h.call(a)}return new NI(f?f:"None",b,c,d,e)};var YP=function(){};YP.prototype.parse=function(a){if(!PJ(a,"gpid_wta"))return null;a=w(km(a));var b=a.next(),c;try{for(;!b.done;b=a.next()){var d=b.value;if(d.nodeName==="AttributionData"){var e=V(d);if(e)return new QI(e)}}}finally{b&&!b.done&&(c=a.return)&&c.call(a)}return null};var ZP=function(){};ZP.prototype.parse=function(a){if(!PJ(a,"metrics"))return null;var b=null,c=null;a=w(km(a));var d=a.next(),e;try{for(;!d.done;d=a.next()){var f=d.value;switch(f.nodeName){case "AdEventId":b=qm(f);break;case "FeEventId":c=qm(f)}}}finally{d&&!d.done&&(e=a.return)&&e.call(a)}return new ZI(b,c)};var $P=function(){};$P.prototype.parse=function(a){return PJ(a,"programmatic")?(a=OJ(a,"DealId"))&&(a=V(a))&&!E(a)?new fJ(a):null:null};var aQ=function(){};aQ.prototype.parse=function(a){if(!PJ(a,"sodar"))return null;var b=null,c=null,d=null,e=null;a=w(km(a));var f=a.next(),g;try{for(;!f.done;f=a.next()){var h=f.value;switch(h.nodeName){case "Siub":b=V(h);break;case "Scs":c=V(h)||null;break;case "Bgub":d=V(h);break;case "Bgp":e=V(h)}}}finally{f&&!f.done&&(g=a.return)&&g.call(a)}return b&&c&&d&&e?new iJ(b,d,e,c):null};var bQ=function(){};bQ.prototype.parse=function(a){if(!PJ(a,"uisettings"))return null;var b;(a=OJ(a,"uihideable"))&&(b=MJ(V(a)));return new kJ(b)};var cQ=function(){}; cQ.prototype.parse=function(a){if(!PJ(a,"youtubehostedad"))return null;var b=null,c=!1,d=null,e=null,f=!1,g=null,h=null,k=null,l=null,m=null,n=null,r=null,q=OJ(a,"youtubevideoid");q&&(b=V(q));if(q=OJ(a,"istrueview"))q=MJ(V(q)),q!==void 0&&(c=q);(q=OJ(a,"videotitle"))&&(d=V(q));(q=OJ(a,"videothumbnailurl"))&&(e=V(q));if(q=OJ(a,"isvideounlisted"))q=MJ(V(q)),q!==void 0&&(f=q);(q=OJ(a,"channelid"))&&(g=V(q));(q=OJ(a,"channeltitle"))&&(h=V(q));(q=OJ(a,"channelthumbnailurl"))&&(k=V(q));(q=OJ(a,"channelcustomurl"))&& (l=V(q));(q=OJ(a,"format"))&&(m=V(q));(q=OJ(a,"youtubeownershipfingerprint"))&&(n=V(q));(a=OJ(a,"youtubevisitordata"))&&(r=V(a));return new oJ({videoId:b,ec:c,Sf:d,Nh:e,ge:f,ig:g,Ie:h,He:k,hg:l,format:m,mh:n,Ph:r})};function dQ(a){if(!a)return!1;if(a=a.L.get(rG)){if(a.h=="TRUEVIEW"||a.h=="SKIPPABLE")return!0;if(a.h)return!1;Ro(N.getInstance(),"ytu_nf");return a.ec()}return!1};var eQ=function(a){this.Uc=new XN;this.l=a;this.h=this.j=null},fQ=function(a){return!(!a.j||!a.j.h)};function Ru(){var a=a===void 0?!1:a;return Qq(window.fetch)&&Qq(window.AbortController)&&!Bb(Ib(),"HbbTV")&&(a||pr(VE))};var gQ=ae({newToken:be(Vd)}); function hQ(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(Dv());return(Ru()?new qK:new Fu).get({url:c,withCredentials:!0,timeout:new Ht(5E3),headers:a}).then(function(d){Pd(d,gQ);var e=Date.now();d=d.newToken||"";var f={};kx.getInstance().report(182,(f.t=e-b,f.aos=Dv(),f));return new iQ(d)}).catch(function(d){var e="not instanceof Error";d instanceof Error&&(e=qu(Number(d.message)));d=Date.now(); var f={};kx.getInstance().report(182,(f.except=e,f.t=d-b,f));return Promise.resolve(jQ)})}var kQ=function(){S.call(this);this.h=null;this.o=new mu(this);Ot(this,this.o);this.j=new Ux(72E5);this.l=Promise.resolve(jQ)};u(kQ,S);var lQ=function(a){var b="requester_type_8";b=b===void 0?"requester_type_9":b;var c=function(d){a.h=d;return a.h};a.l=hQ(b).then(c);a.j=new Ux(72E5);a.o.listen(a.j,"tick",function(){a.l=hQ(b).then(c)});a.j.start();Nt(a,function(){a.j.stop()})}; kQ.prototype.getId=function(){var a=this;return A(function(b){if(b.l==1)return a.h!=null&&a.h!==jQ?b.Y(2):b.h(a.l,3);b.l!=2&&(a.h=b.j);return b.return(a.h)})};var iQ=function(a){this.id=a},jQ=new iQ("");function mQ(a){for(var b=a.length,c=new Uint8Array(b),d=0;d=0;b--)this.remove(a[b])}; var OQ=function(a){a=(a.h.cookie||"").split(";");for(var b=[],c=[],d,e,f=0;fb+2592E5?2:a>b+432E5?1:0}; tR.prototype.get=function(a,b,c,d){function e(l){qR(6,a,l==null?void 0:l.message,{},d);f=!0}if(this.cache[a])return{aa:this.cache[a],success:!0};var f=!1,g="_GESPSK-"+a;b=c?bR(g,window,e):cR(g,b,e);if(f)return{aa:null,success:!1};if(!b)return{aa:null,success:!0};try{var h=GE(b);this.cache[a]=h;return{aa:h,success:!0}}catch(l){var k;qR(5,a,(k=l)==null?void 0:k.message,{},d);return{aa:null,success:!1}}}; tR.prototype.set=function(a,b,c,d){function e(h){qR(7,f,h==null?void 0:h.message,{},d)}var f=eh(a,1),g="_GESPSK-"+f;FE(a);if(c?!dR(g,a.ia(),window,e):!eR(g,a.ia(),b,e))return!1;this.cache[f]=a;return!0};tR.prototype.remove=function(a,b,c,d){function e(f){qR(8,a,f==null?void 0:f.message,{},d)}c?fR("_GESPSK-"+a,window,e):gR("_GESPSK-"+a,b,window,e);delete this.cache[a]};var uR=null;var xR=function(a){var b=new Map;a=w(a);var c=a.next(),d;try{for(;!c.done;c=a.next()){var e=c.value,f=Wg(e,1),g=void 0,h=(g=b.get(f))!=null?g:new Map,k=w(Ij(e)),l=k.next(),m;try{for(;!l.done;l=k.next()){var n=l.value,r=Wg(n,1);h.has(r)||h.set(r,[]);h.get(r).push(n)}}finally{l&&!l.done&&(m=k.return)&&m.call(k)}b.set(f,h)}}finally{c&&!c.done&&(d=a.return)&&d.call(a)}this.h=b},yR=function(a,b,c){var d,e,f;return!!((d=a.h)==null?0:(e=d.get(c))==null?0:(f=e.get(b))==null?0:f.some(function(g){return Rg(g, 4)}))},zR=function(a,b){a=w(a.h.values());var c=a.next(),d;try{for(;!c.done;c=a.next()){var e=void 0;if((e=c.value.get(b))==null?0:e.some(function(f){return Rg(f,4)}))return!0}}finally{c&&!c.done&&(d=a.return)&&d.call(a)}return!1},BR=function(a,b){return AR(a,b,function(c){return Rg(c,4)})},AR=function(a,b,c){var d=new Set;a=a.h.get(b);if(!a)return d;a=w(a.entries());b=a.next();var e;try{for(;!b.done;b=a.next()){var f=w(b.value),g=f.next().value,h=f.next().value,k=g;h.some(function(l){return c(l)})&& d.add(k)}}finally{b&&!b.done&&(e=a.return)&&e.call(a)}return d};function CR(a,b,c){b=Wg(b,1);var d;if((d=a.get(b))==null?0:jf(ig(d,2))!=null)return!1;d=null;try{var e,f,g,h;d=(e=c.getUserIdsAsEidBySource)==null?void 0:(f=e.call(c,b))==null?void 0:(g=f.uids)==null?void 0:(h=g[0])==null?void 0:h.id}catch(l){var k;qR(45,b,(k=l)==null?void 0:k.message,{});return!1}if(!d)return qR(57,b,null,{}),!1;if(d.length>1024)return a={},qR(12,b,null,(a.sl=String(d.length),a.fp="1",a)),!1;c=a.set;e=DE(new CE,b);e=kh(e,2,d);e=fh(e,11,!0);c.call(a,b,e);a={};qR(19,b,null,(a.fp="1", a.hs="1",a.sl=String(d.length),a));return!0};function DR(a,b,c,d){var e=new Map,f={};qR(56,"",null,b?(f.nc=b,f):void 0);f=d!=null?d:[];if(b&&c&&f&&typeof c.getUserIdsAsEidBySource==="function"&&typeof c.getUserIdsAsEids==="function")try{var g=w(c.getUserIdsAsEids()),h=g.next(),k;try{for(;!h.done;h=g.next()){var l=h.value;if(Vd(l.source)){var m=f=void 0,n=void 0,r=void 0,q={};qR(52,l.source,null,(q.sl=String((r=(f=l.uids)==null?void 0:(m=f[0])==null?void 0:(n=m.id)==null?void 0:n.length)!=null?r:-1),q))}}}finally{h&&!h.done&&(k=g.return)&&k.call(g)}}catch(Nb){var t; qR(45,"",(t=Nb)==null?void 0:t.message,{})}h=d!=null?d:[];if(b&&c&&h&&typeof c.getUserIdsAsEidBySource==="function"){g=b.split(",");h=w(h);k=h.next();var v;try{for(;!k.done;k=h.next()){var y=k.value;if(g.includes(Wg(y,1))){var z=w(Ij(y)),B=z.next(),F;try{for(;!B.done;B=z.next()){var I=B.value;Rg(I,Cg(I,Gj,3))&&CR(e,I,c)}}finally{B&&!B.done&&(F=z.return)&&F.call(z)}}}}finally{k&&!k.done&&(v=h.return)&&v.call(h)}}ER(e,b,d!=null?d:[],a);a=d!=null?d:[];if(b&&c&&a&&typeof c.getUserIdsAsEidBySource==="function"){b= b.split(",");a=w(a);d=a.next();var M;try{for(;!d.done;d=a.next()){var Q=d.value;if(b.includes(Wg(Q,1))){var U=w(Ij(Q)),ea=U.next(),Y;try{for(;!ea.done;ea=U.next()){var Z=ea.value,aa=Wg(Z,1);v=void 0;((v=e.get(aa))==null?0:jf(ig(v,2))!=null)||CR(e,Z,c)&&qR(58,aa,null,{})}}finally{ea&&!ea.done&&(Y=U.return)&&Y.call(U)}}}}finally{d&&!d.done&&(M=a.return)&&M.call(a)}}c=new JE;e=w(e);M=e.next();var pa;try{for(;!M.done;M=e.next()){var La=w(M.value);La.next();var Gb=La.next().value;Qg(c,2,CE,Gb)}}finally{M&& !M.done&&(pa=e.return)&&pa.call(e)}if(!Kg(c,CE,2,lg()).length)return null;pa={};qR(50,"",null,(pa.ns=String(Kg(c,CE,2,lg()).length),pa));pa=c.j();return Lc(pa,3)} function ER(a,b,c,d){var e=new xR(c),f;c=Array.from(FR(d,(f=b==null?void 0:b.split(","))!=null?f:[],e));f=w(c);c=f.next();var g;try{for(var h={};!c.done;h={Db:void 0},c=f.next()){h.Db=c.value;var k=void 0;if((k=a.get(h.Db))==null||jf(ig(k,2))==null){var l=k=void 0,m=vR().get(h.Db,d,GR(h.Db,(l=(k=b)==null?void 0:k.split(","))!=null?l:[],e),void 0).aa;if(m){var n=wR(m);if(n!==2&&n!==3){k=!1;if(b){var r=/^(\d+)$/.exec(h.Db);if(r&&!(k=b.split(",").includes(r[1])))continue;if(!k&&!b.split(",").some(function(y){return function(z){var B= y.Db,F,I;return!!((F=e.h)==null?0:(I=F.get(z))==null?0:I.has(B))}}(h)))continue}fh(m,9,k);var q=eh(m,2);q&&q.length>1024&&(k={},qR(55,h.Db,null,(k.sl=String(q.length),k)),EE(m.Pa(AE(108))));a.set(h.Db,m);var t=eh(m,2);l=k=void 0;var v={};qR(19,h.Db,null,(v.hs=t?"1":"0",v.sl=String((l=(k=t)==null?void 0:k.length)!=null?l:-1),v))}}}}}finally{c&&!c.done&&(g=f.return)&&g.call(f)}} function FR(a,b,c){for(var d=Set,e=[],f=RegExp("^_GESPSK-(.+)$"),g=iR(a),h,k=0;k<((h=g)!=null?h:0);k++){var l=kR(k,a);l!==null&&(l=(f.exec(l)||[])[1])&&e.push(l)}a=new d(e);b=w(b);d=b.next();var m;try{for(;!d.done;d=b.next()){var n=w(BR(c,d.value)),r=n.next(),q;try{for(;!r.done;r=n.next())a.add(r.value)}finally{r&&!r.done&&(q=n.return)&&q.call(n)}}}finally{d&&!d.done&&(m=b.return)&&m.call(b)}return a}function GR(a,b,c){return b.some(function(d){return yR(c,a,d)})};var HR=function(a){a=Error.call(this,a);this.message=a.message;"stack"in a&&(this.stack=a.stack);Object.setPrototypeOf(this,HR.prototype);this.name="InputError"};u(HR,Error);var IR=function(a){this.reason=a},JR=function(){this.h=!1},KR=function(){JR.apply(this,arguments);this.l=new Ku};u(KR,JR);var LR=function(a,b){a.h||(a.h=!0,a.o=b,a.l.resolve(b))}; fa.Object.defineProperties(KR.prototype,{promise:{configurable:!0,enumerable:!0,get:function(){return this.l.promise}},zj:{configurable:!0,enumerable:!0,get:function(){return this.h}},error:{configurable:!0,enumerable:!0,get:function(){return this.j}}});var MR=function(){KR.apply(this,arguments)};u(MR,KR);var NR=function(a,b){b.then(function(c){LR(a,c)}).catch(function(c){a.Pa(c)})};MR.prototype.Pa=function(a,b){this.h||(this.h=!0,this.o=null,this.j=a,b&&b(this.j),this.l.reject(a))}; var OR=function(a){this.h=!1;this.l=a};u(OR,JR);fa.Object.defineProperties(OR.prototype,{error:{configurable:!0,enumerable:!0,get:function(){return this.l.j}}});OR.prototype.zj=function(){return this.l.h};var PR=function(a){OR.call(this,a);this.l=a};u(PR,OR);fa.Object.defineProperties(PR.prototype,{value:{configurable:!0,enumerable:!0,get:function(){var a;return(a=this.l.o)!=null?a:null}}});var QR=function(){KR.apply(this,arguments)};u(QR,KR);QR.prototype.notify=function(){LR(this,null)}; var RR=function(a,b,c){b.then(function(){a.notify()}).catch(function(d){a.h=!0;a.j=d;c&&c(a.j);a.l.reject(d)})};var SR=function(){R.apply(this,arguments);this.j=[];this.h=[];this.l=[]};u(SR,R);var TR=function(a,b){a.h.push({Ae:!1,ug:b})};SR.prototype.Ae=function(a){var b=this.h.find(function(c){return c.ug===a});b&&(b.Ae=!0)};SR.prototype.R=function(){this.j.length=0;this.l.length=0;this.h.length=0;R.prototype.R.call(this)};function UR(a,b){var c,d;return A(function(e){if(e.l==1)return c=b?a.filter(function(f){return!f.Ae}):a,e.h(Promise.all(c.map(function(f){return f.ug.promise})),2);if(a.length===c.length)return e.return();d=a.filter(function(f){return f.Ae});return e.h(Promise.race([Promise.all(d.map(function(f){return f.ug.promise})),new Promise(function(f){return void setTimeout(f,b)})]),0)})}var VR=function(a,b,c){R.call(this);this.id=a;this.A=b;this.timeoutMs=c;this.l=!1;this.h=new SR;Ot(this,this.h)};u(VR,R); VR.prototype.start=function(){var a=this,b,c;return A(function(d){if(d.l==1){if(a.l)return d.return();a.l=!0;d.A(2);return d.h(UR(a.h.h,(b=a.D)!=null?b:a.timeoutMs),4)}if(d.l!=2){if(!a.Hb()){var e=0,f=w(a.h.l),g=f.next(),h;try{for(;!g.done;g=f.next()){if(g.value.l.o==null)throw Error("missing input: "+a.id+"/"+e);++e}}finally{g&&!g.done&&(h=f.return)&&h.call(f)}e=a.f;f=e.apply;g={};h=w(Object.entries(a.inputs));var k=h.next(),l;try{for(;!k.done;k=h.next()){var m=w(k.value),n=m.next().value,r=m.next().value; g[n]=r.value}}finally{k&&!k.done&&(l=h.return)&&l.call(h)}l=f.call(e,a,[g].concat(x(a.C)));a.o(l)}return d.G(0)}c=d.o();if(a.Hb())return d.return();c instanceof HR?a.B(c):c instanceof Error&&(a.A.Lb({methodName:a.id,hd:c}),a.j(c));d.F()})};var WR=function(a,b){b=b===void 0?new MR:b;a.h.j.push(b);return b};VR.prototype.B=function(){}; VR.prototype.j=function(a){if(this.h.j.length){var b=new HR(a.message),c=w(this.h.j),d=c.next(),e;try{for(;!d.done;d=c.next()){var f=d.value;if(!f.zj){var g=f,h=b;g.h=!0;g.j=h;g.l.reject(h)}}}finally{d&&!d.done&&(e=c.return)&&e.call(c)}}if(!(a instanceof HR)){var k;(k=console)==null||k.error(a)}};var YR=function(a,b,c,d,e){VR.call(this,a,c);this.f=b;this.C=e;a={};d=w(Object.entries(d));b=d.next();var f;try{for(;!b.done;b=d.next()){var g=w(b.value),h=g.next().value,k=g.next().value;k&&(TR(this.h,k),a[h]=new PR(k))}}finally{b&&!b.done&&(f=d.return)&&f.call(d)}this.inputs=a};u(YR,VR);YR.prototype.B=function(a){this.j(a)};YR.prototype.reportError=function(){};var ZR=function(a,b){if(a.l)throw Error("Invalid operation: producer has already started");TR(a.h,b);return a};var $R=function(a,b,c,d,e,f){YR.call(this,a,b,c,d,f);this.Ka=e;this.output=WR(this,new MR);this.complete=new QR};u($R,YR);$R.prototype.o=function(a){var b=this;a.then(function(c){c instanceof IR||(LR(b.output,c),b.complete.notify())},function(c){b.Ka?LR(b.output,b.Ka(c)):b.output.Pa(new HR("output error: "+c.message),function(){b.A.Lb({methodName:b.id,hd:c})});b.complete.notify()})};$R.prototype.j=function(a){this.Ka?(LR(this.output,this.Ka(a)),this.complete.notify()):YR.prototype.j.call(this,a)}; function aS(a,b){a.id=b.id;a.Ka=b.Ka;return a}function bS(a,b,c){return new $R(a.id,a,b,c,a.Ka,Ga.apply(3,arguments))};var cS=function(a,b,c,d,e,f,g){YR.call(this,a,b,c,d,g);this.Ka=f;this.finished=new QR;a=Object.keys(e);a=w(a);b=a.next();var h;try{for(;!b.done;b=a.next())this[b.value]=WR(this)}finally{b&&!b.done&&(h=a.return)&&h.call(a)}};u(cS,YR);cS.prototype.o=function(a){a=w(Object.entries(a));var b=a.next(),c;try{for(;!b.done;b=a.next()){var d=w(b.value),e=d.next().value,f=d.next().value,g=e,h=f;h instanceof Error&&this[g].Pa(h);h instanceof IR||LR(this[g],h)}}finally{b&&!b.done&&(c=a.return)&&c.call(a)}this.finished.notify()}; cS.prototype.j=function(a){this.Ka?this.o(this.Ka(a)):YR.prototype.j.call(this,a)};function dS(a,b){a.id=b.id;a.lb=b.lb;a.Ka=b.Ka;return a}function eS(a,b,c){return new cS(a.id,a,b,c,a.lb,a.Ka,Ga.apply(3,arguments))};var fS=function(a){R.call(this);this.D=a;this.C=[];this.J=[];this.B={};this.l=[];this.j=new Ku;this.A={}};u(fS,R);var gS=function(a,b){Ot(a,b);a.C.push(b);return b};fS.prototype.h=function(a,b){return gS(this,eS.apply(null,[a,this.D,b].concat(x(Ga.apply(2,arguments)))))};fS.prototype.o=function(a,b){return gS(this,bS.apply(null,[a,this.D,b].concat(x(Ga.apply(2,arguments)))))}; var iS=function(a){var b,c,d,e,f,g,h,k,l,m,n,r,q,t,v,y;A(function(z){switch(z.l){case 1:if(!a.l.length){z.Y(2);break}return z.h(Promise.all(a.l.map(function(B){return B.j.promise})),2);case 2:return z.h(hS(),4);case 4:b=z.j;if(!b)return a.j.resolve(a.B),z.return(a.j.promise);c=w(a.C);d=c.next();try{for(;!d.done;d=c.next())f=d.value,f.start()}finally{d&&!d.done&&(e=c.return)&&e.call(c)}g=w(a.J);h=g.next();try{for(;!h.done;h=g.next())l=h.value,iS(l)}finally{h&&!h.done&&(k=g.return)&&k.call(g)}if(!a.A){z.Y(5); break}m=Object.keys(a.A);if(!m.length){z.Y(5);break}return z.h(Promise.all(Object.values(a.A).map(function(B){return B.promise})),7);case 7:n=z.j;r=0;q=w(m);t=q.next();try{for(;!t.done;t=q.next())y=t.value,a.B[y]=n[r++]}finally{t&&!t.done&&(v=q.return)&&v.call(q)}case 5:return a.j.resolve(a.B),z.return(a.j.promise)}})},hS=function(){return A(function(a){return a.return(!0)})};fS.prototype.R=function(){R.prototype.R.call(this);this.C.length=0;this.J.length=0;this.l.length=0};var kS=dS(jS,{id:1041,lb:{}});function jS(a,b,c){if(!a.aa)return{};vR().set(a.aa,a.ka,b)&&jf(ig(a.aa,2))!=null&&qR(27,eh(a.aa,1),null,{},c);return{}};var lS=dS(function(a){var b=a.ka;if(a=a.Lm){a=w(a);var c=a.next(),d;try{for(;!c.done;c=a.next()){var e=w(Ij(c.value)),f=e.next(),g;try{for(;!f.done;f=e.next()){var h=f.value;Rg(h,4)&&vR().remove(Wg(h,1),b,!0)}}finally{f&&!f.done&&(g=e.return)&&g.call(e)}}}finally{c&&!c.done&&(d=a.return)&&d.call(a)}}if(Rg(b,5)){if(b){var k;d=(k=mR(b))!=null?k:[];k=w(d);d=k.next();var l;try{for(;!d.done;d=k.next()){var m=d.value;m.startsWith("_GESPSK")&&gR(m,b)}}finally{d&&!d.done&&(l=k.return)&&l.call(k)}}uR=new tR}return{}}, {id:1094,lb:{}});var mS=dS(function(a,b,c){var d=a.aa;a=function(e){var f={};qR(e,eh(d,1),null,(f.tic=String(Math.round((Date.now()-Pq(ig(d,3,void 0,void 0,df)))/6E4)),f),c)};switch(wR(d)){case 0:return a(24),{Xb:new IR("FRESH_ENTRY"),Cc:new IR("FRESH_ENTRY")};case 1:return a(25),{Xb:new IR("STALE_ENTRY"),Cc:d};case 2:return a(26),{Xb:d,Cc:new IR("EXPIRED_ENTRY")};case 3:return qR(9,eh(d,1),null,{},c),{Xb:d,Cc:new IR("ERROR_ENTRY")};case 4:return a(23),{Xb:d,Cc:new IR("NEW_ENTRY")};default:return{Xb:new IR("DEFAULT_ENTRY"), Cc:new IR("DEFAULT_ENTRY")}}},{id:1048,lb:{Xb:void 0,Cc:void 0}});var nS=dS(function(a,b,c,d,e,f){if(a=vR().get(b,d,c,f).aa)return{Ta:a,Ia:new IR("CACHED_ENTRY")};a=FE(DE(new CE,b));return{Ta:a,Ia:a.Pa(AE(100))}},{id:1027,lb:{Ta:void 0,Ia:void 0}});var pS=dS(oS,{id:1046,lb:{Va:void 0}});function oS(a){return{Va:a.Ta}};var qS=dS(function(a){var b=a.li;a=a.aa;return b.Ia?{Ch:a.Pa(b.Ia),Ta:new IR,signal:new IR}:{Ta:b.Ta,Ch:new IR,signal:b.signal}},{id:1479,lb:{Ta:void 0,Ch:void 0,signal:void 0}});function rS(a){return Vd(a)?a:a instanceof Error?a.message:null}var sS=aS(function(a,b,c){var d,e;return A(function(f){d=oo();e=jf(ig(a.aa,1));qR(18,e,null,{},c);try{return f.return(b().then(function(g){qR(29,e,null,{delta:String(oo()-d)},c);return{Ta:kh(a.aa,2,g),Ia:null,signal:g}}).catch(function(g){qR(28,e,rS(g),{},c);return{Ta:null,Ia:AE(106),signal:null}}))}catch(g){return qR(1,e,rS(g),{},c),f.return({Ta:null,Ia:AE(107),signal:null})}})},{id:1478});var uS=dS(tS,{id:1028,lb:{Va:void 0}});function tS(a,b){var c=eh(a.aa,1);var d=ig(a.aa,3,void 0,void 0,df);d!=null&&(typeof d==="bigint"?ne(d)?d=Number(d):(d=Ee(64,d),d=ne(d)?Number(d):String(d)):d=Ne(d)?typeof d==="number"?af(d):Xe(d):void 0);d!=null||qR(35,c,null,{},b);return{Va:a.aa}};var wS=dS(vS,{id:1050,lb:{Va:void 0}});function vS(a,b,c){var d=eh(a.aa,1);if(a.signal==null)return qR(41,d,null,{},c),a.aa.Pa(AE(111)),{Va:a.aa};if(!Vd(a.signal))return qR(21,d,null,{},c),{Va:a.aa.Pa(AE(113))};if(a.signal.length>b)return b={},qR(12,d,null,(b.sl=String(a.signal.length),b),c),EE(a.aa.Pa(AE(108))),{Va:a.aa};a.signal.length||qR(20,d,null,{},c);kg(a.aa,10);return{Va:a.aa}};var xS=function(a,b,c){this.output=new QR;RR(this.output,a,function(d){return void c.Lb({methodName:b,hd:d})})};var yS=function(a,b){xS.call(this,a,1046,b)};u(yS,xS);var zS=function(a,b,c,d,e,f,g){f=f===void 0?nR:f;fS.call(this,e,2);this.H=new MR;var h=this.h(nS,{},a,b,d,e),k=new MR;LR(k,d);this.h(kS,{aa:h.Ia,ka:k},b,g);d=this.h(uS,{aa:h.Ta},g);d=this.h(mS,{aa:d.Va},e,g);h=this.o(sS,{aa:d.Xb},c,g);h=this.h(qS,{li:h.output,aa:d.Xb});var l=h.signal,m=h.Ta;this.h(kS,{aa:h.Ch,ka:k},b,g);h=this.h(wS,{aa:m,signal:l},1024,g);this.h(kS,{aa:h.Va,ka:k},b,g);f=f.Jm?sR():rR(window);e=new yS(f,e);e=ZR(this.h(pS,{Ta:d.Cc}),e.output);c=this.o(sS,{aa:e.Va},c,g);c=this.h(qS,{li:c.output, aa:e.Va}).Ta;this.h(kS,{aa:c,ka:k},b,g);b=h.Va.promise.then(function(n){var r;return{id:a,collectorGeneratedData:(r=n==null?void 0:jf(ig(n,2)))!=null?r:null}}).catch(function(){return{id:a,collectorGeneratedData:null}});NR(this.H,b)};u(zS,fS);var AS=aS(function(a,b,c,d,e){d=d===void 0?nR:d;var f,g,h,k,l,m,n,r,q,t,v;return A(function(y){g=new xR((f=a.Mm)!=null?f:[]);h=a.Qb;k=h.id;l=h.networkCode;m=h.collectorFunction;r=(n=l)!=null?n:k;q=k&&zR(g,k)||zR(g,r)?!0:!1;if(!Rg(a.ka,5)&&!q)return y.return(new IR("Storage consent not granted."));t={};qR(42,r,null,(t.ea=String(Number(b)),t),e);v=new zS(r,q,m,a.ka,c,d,e);iS(v);return y.return(v.H.promise)})},{id:1059});var BS=dS(function(a,b,c,d,e){d=d===void 0?nR:d;if(!b)return qR(39,"UNKNOWN_COLLECTOR_ID",null,{},e),{Ia:DE(new CE,"UNKNOWN_COLLECTOR_ID").Pa(AE(110)),Qb:new IR};if(typeof b!=="object")return qR(46,"UNKNOWN_COLLECTOR_ID",null,{},e),{Ia:DE(new CE,"UNKNOWN_COLLECTOR_ID").Pa(AE(112)),Qb:new IR};a=b.id;c=b.networkCode;a&&c&&(delete b.id,qR(47,a+";"+c,null,{},e));a=c!=null?c:a;return Vd(a)?typeof b.collectorFunction!=="function"?(qR(14,a,null,{},e),{Ia:DE(new CE,a).Pa(AE(105)),Qb:new IR}):d.tl.includes(a)? (qR(22,a,null,{},e),{Ia:DE(new CE,a).Pa(AE(104)),Qb:new IR}):{Ia:null,Qb:b}:(b={},qR(37,"INVALID_COLLECTOR_ID",null,(b.ii=JSON.stringify(a),b),e),{Ia:DE(new CE,"INVALID_COLLECTOR_ID").Pa(AE(102)),Qb:new IR})},{id:1057,lb:{Ia:void 0,Qb:void 0}});var DS=function(a,b,c,d,e,f,g){var h=document;h=h===void 0?document:h;g=g===void 0?nR:g;this.l=b;this.G=c;this.D=d;this.A=h;this.H=e;this.B=f;this.j=g;this.C=[];this.F=[];this.h=new CS;this.o=0;a=w(a);b=a.next();var k;try{for(;!b.done;b=a.next())this.push(b.value)}finally{b&&!b.done&&(k=a.return)&&k.call(a)}}; DS.prototype.push=function(a){this.D||this.H();var b=new fS(this.h,3);a=b.h(BS,{},a,this.h,this.j,void 0);var c=a.Qb;b.h(kS,{aa:a.Ia,ka:this.l},void 0,void 0);a=b.o(AS,{Qb:c,ka:this.l,Mm:this.G},this.D,this.h,this.j,void 0).output.promise;iS(b);this.C.push(a);b=w(this.F);c=b.next();var d;try{for(;!c.done;c=b.next())a.then(c.value)}finally{c&&!c.done&&(d=b.return)&&d.call(b)}}; DS.prototype.addOnSignalResolveCallback=function(a){this.F.push(a);var b=w(this.C),c=b.next(),d;try{for(;!c.done;c=b.next())c.value.then(a)}finally{c&&!c.done&&(d=b.return)&&d.call(b)}};var ES=function(a,b){a.h.h.push(b)}; DS.prototype.clearAllCache=function(){var a=this,b=this.A.currentScript instanceof HTMLScriptElement?this.A.currentScript.src:"";if(this.o===1){var c={};qR(49,"",null,(c.url=b,c))}else if(this.j.jl.includes(String(gr(b!=null?b:""))))c={},qR(48,"",null,(c.url=b,c));else{this.B&&this.B();var d=new fS(this.h,4);c=d.h(lS,{ka:this.l,Lm:this.G},this.h);iS(d);this.o=1;setTimeout(function(){a.o=0},this.j.gl*1E3);d={};qR(43,"",null,(d.url=b,d));return c.finished.promise}};var CS=function(){this.h=[]}; CS.prototype.Lb=function(a){this.h.forEach(function(b){return void b.Lb(a)})};var FS=function(a){this.push=function(b){a.push(b)};this.addOnSignalResolveCallback=function(b){a.addOnSignalResolveCallback(b)};this.addErrorHandler=function(b){ES(a,{Lb:function(c){return void b(c.methodName,c.hd)}})};this.clearAllCache=function(){a.clearAllCache()}};function GS(a,b,c,d,e,f,g,h){h=h===void 0?nR:h;if(!HS(a,"encryptedSignalProviders",d,g)||!HS(a,"secureSignalProviders",d,g)){qR(38,"",null,{});var k={Lb:function(l){return void d(l.methodName,l.hd)}};IS(a,"encryptedSignalProviders",b,c,h,k,e,f,g);IS(a,"secureSignalProviders",b,c,h,k,function(){},f,g)}} function HS(a,b,c,d){a=b==="secureSignalProviders"?a.secureSignalProviders:a.encryptedSignalProviders;if(a===void 0||a instanceof Array)return!1;d&&a.addOnSignalResolveCallback(d);a.addErrorHandler(c);return!0} function IS(a,b,c,d,e,f,g,h,k){var l=b==="secureSignalProviders"?a.secureSignalProviders:a.encryptedSignalProviders;c=new DS(l instanceof Array?l:[],c,d,b==="secureSignalProviders",g,h,e);d=new FS(c);b==="secureSignalProviders"?a.secureSignalProviders=d:a.encryptedSignalProviders=d;k&&c.addOnSignalResolveCallback(k);ES(c,f)}function JS(a,b,c,d,e,f){var g=void 0;g=g===void 0?nR:g;var h=new MR;LR(h,b);GS(a,h,void 0,c,d,e,f,g)} function KS(a,b,c,d){var e=LS,f=MS,g=new MR;LR(g,c);var h=new Map;b.flatMap(function(k){return Ij(k).map(function(l){return Wg(l,1)})}).map(function(k){return new Promise(function(l){h.set(k,l)})});c=new MR;LR(c,b);GS(a,g,c,d,e,f,function(k){var l=k.collectorGeneratedData;k=k.id;var m;return void((m=h.get(k))==null?void 0:m({collectorGeneratedData:l,id:k}))})} function NS(a,b,c,d){var e=LS,f=MS,g=new Map;b.map(function(h){var k=h.ml;return new Promise(function(l){g.set(k,l)})});JS(a,c,d,e,f,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}))})};function OS(){var a;return(a=C.googletag)!=null?a:C.googletag={cmd:[]}};function PS(a,b){b=Lw(b);Rg(b,5)&&a.length!==0&&KS(OS(),a,b,function(){})}function QS(a,b){b=Lw(b);Rg(b,5)&&a.length!==0&&NS(OS(),a,b,function(){})}function MS(){}function LS(){};var RS=new DN("show_ad_ui"),SS=new DN("hide_ad_ui");var TS=new Map([["videoOverlay","videoOverlay"],["callToAction","callToAction"],["attribution","attribution"],["skipButton","skipButton"],["preSkip","skipCountdown"],["aboutThisAdIcon","GoogleWhyThisAd"],["aboutThisAdFallbackImage","GoogleWhyThisAdFallbackImage"],["adTitle","adTitle"],["authorIcon","authorIcon"],["authorTitle","authorTitle"]]); function US(a,b){return new KQ({onClick:function(c,d){if(c=TS.get(c))b.onClick(c,d)},setVisibleElements:function(c){c=[].concat(x(c.keys())).flatMap(function(d){var e;return(e=TS.get(d))!=null?e:[]});VS(b,new Set(c))},getConfig:function(){var c=new Map,d=w(a.entries()),e=d.next(),f;try{for(;!e.done;e=d.next()){var g=w(e.value),h=g.next().value,k=g.next().value;c.set(h,new JQ(k))}}finally{e&&!e.done&&(f=d.return)&&f.call(d)}return c}})} function WS(a,b){return{onClick:function(c,d){b.onClick(c,d)},setVisibleElements:function(c){VS(b,new Set([].concat(x(c.keys()))))},getConfig:function(){return a}}};var XS=function(a,b){Pt.call(this,a);this.data=b||{}};u(XS,Pt);var YS="avia.vtg.paramount.tech bet.com bet.plus cbs.com cbsinteractive.com cbsivideo.com paramountplus.com webplex.vmn.io".split(" "),ZS="8264 7869 21633895671 22866208757 59026966 1303 189479937 8026 7336".split(" "),$S="51636543 502815242 103823691 21775744923 6881 7009 21725384143".split(" ").concat(x(ZS));function aT(a){var b;return $S.includes(a)||bT((b=window.document.domain)!=null?b:"",YS)} function bT(a,b){b=w(b);var c=b.next(),d;try{for(;!c.done;c=b.next())if(a.endsWith(c.value))return!0}finally{c&&!c.done&&(d=b.return)&&d.call(b)}return!1};function cT(){var a=Yv(Zv);return a&&Fv(a,"disableOnScreenDetection")?!1:!(navigator&&Ts(navigator))&&!Ss()}function dT(a){var b=a.Tb;a=a.Uj;return b?!0:Us()||Bb(Ib(),"CrKey")&&Bb(Ib(),"SmartSpeaker")||Bb(Ib(),"Edge/18.")||a?!1:!0} function eT(a,b){if(fT(a)||!E(a.assetKey))return!1;if(b.Rg){var c,d;if(d=!((c=cast.framework.CastReceiverContext.getInstance().getDeviceCapabilities())==null||!c[cast.framework.system.DeviceCapabilities.DISPLAY_SUPPORTED])){var e;d=!((e=cast.framework.CastReceiverContext.getInstance().getDeviceCapabilities())==null||!e[cast.framework.system.DeviceCapabilities.TOUCH_INPUT_SUPPORTED])}return d}c=a.j;a=!((d=a.ui.custom)==null||!d.skippableSupport);return c||a} function gT(a,b){var c=b.Ub;switch(b.qc){case "android":return b.fe?b.A:!!c&&aw({kc:3,oc:5,rc:2},c)<=0;case "ios":return!!c&&aw({kc:3,oc:4,rc:1},c)<=0;case "tvos":return b.De;case "kepler":return!1;default:return b.Tb!=null?a:a&&!yP(b)}}function yP(a){return hT(a)===1||hT(a)===2}function hT(a){var b=a.il;var c=a.fe;var d=a.Rg;var e=a.Tb;a=a.qc;switch(b){case 1:return 3;case 2:return 1}b=C.navigator||null;return c||d||e||b&&Ts(b)||a==="tvos"||a==="kepler"?1:Us()?2:0};function iT(a){var b;return((b=a.L.get(eG))==null?void 0:b.h)||null}function jT(a,b){return a.Fb()==null||yP(b)?!1:Vj()||Wj()||dQ(a)}function kT(a){return a.some(function(b){return b.program==="GoogleWhyThisAd"})}function lT(a){a.forEach(function(b){if(b.program==="GoogleWhyThisAd"||b.program==="AdChoices")b.xPosition="left",b.yPosition="top",b.j=20,b.h=20})} function mT(a){a.forEach(function(b){if(b.program==="GoogleWhyThisAd"){var c=b.j*b.h;c<2116&&(c=Math.sqrt(2116/c),b.j=Math.ceil(b.j*c),b.h=Math.ceil(b.h*c))}})}var nT=function(){this.h=-1;this.l=this.j=!0;this.A=!1;this.B=!0;this.C=this.M=!1;this.H=null;this.icons=[];this.D=!1;this.F=null;this.o=this.G=!1};nT.prototype.getUiElements=function(){var a=[];this.j&&a.push("adAttribution");this.l&&a.push("countdown");return a};nT.prototype.isSkippable=function(){return this.h>=0};var oT={skipButton:"Skip Ad "},pT={mn:"${TIME_TO_SKIP_SECS}"};pT=pT||{};var qT=pT.mn,rT="";rT=pT.kq?rT+("You can skip in "+qT):rT+("You can skip this ad in "+qT);oT.skipCountdown=rT;var sT=(oT.callToAction="Learn More ",oT.attribution="Advertisement",oT);function tT(a){var b=a.A,c=a.program;return b.length&&c?b.flatMap(function(d){var e=d.j,f,g=(f=d.altText)!=null?f:"";f=d.l;d=d.h;return e&&f&&d?[{id:""+c+"FallbackImage",program:c,url:e,altText:g,width:f,height:d}]:[]}):[]};var uT=function(a,b,c,d){d=d===void 0?new XN:d;R.call(this);this.ad=a;this.config=b;this.O=c;this.ya=d;this.j=new Set;this.h=new Set};u(uT,R);uT.prototype.build=function(){YN(this.ya,RS,this.config)};uT.prototype.getConfig=function(){return new nT}; uT.prototype.onClick=function(a){kx.getInstance().report(221,{uiId:a});switch(a){case "videoOverlay":this.config.videoOverlay&&(YN(this.ya,QN,null),Vj()||Wj()||vT(this));break;case "callToAction":this.config.callToAction&&(YN(this.ya,KN,null),vT(this));break;case "skipButton":this.config.skip&&YN(this.ya,LN,null);break;case "adTitle":this.config.adTitle&&YN(this.ya,JN,null);break;case "authorIcon":this.config.authorIcon&&YN(this.ya,IN,null);break;case "authorTitle":this.config.authorName&&YN(this.ya, HN,null);break;default:var b=wT(this,a);b&&(YN(this.ya,NN,b),a.toLowerCase()==="googlewhythisad"&&YN(this.ya,PN,null))}}; var vT=function(a){var b=a.O;if(!b.Tb&&!yP(b)){var c=a.ad.Fb();if(c&&c){a={target:"_blank"};Tb()&&(a.fullscreen=!0);(b=a)||(b={});a=window;var d=ik(c)?c:nk(typeof c.href!="undefined"?c.href:String(c));var e=self.crossOriginIsolated!==void 0,f="strict-origin-when-cross-origin";window.Request&&(f=(new Request("/")).referrerPolicy);var g=b.noreferrer;if(e&&g&&f==="unsafe-url")throw Error("Cannot use the noreferrer option on a page that sets a referrer-policy of `unsafe-url` in modern browsers!");f=g&& !e;c=b.target||c.target;g=[];var h=[],k=!1;for(m in b){var l=b[m];switch(m){case "width":case "height":case "top":case "left":g.push(m+"="+l);break;case "target":break;case "noopener":case "noreferrer":l?h.push(m):(k=!0,h.push(m+"=false"));break;case "attributionsrc":g.push(m+(l?"="+l:""));break;default:g.push(m+"="+(l?1:0))}}var m=c!==void 0&&!["_blank","_self","_top","_parent",""].includes(c);m=Qb()&&m;Fb&&e&&g.length===0&&h.length>0&&!m&&!k?(h.length===2&&(h=["noreferrer"]),vk(a,d,c,h[0])):(m= g.join(","),Vb()&&a.navigator&&a.navigator.standalone&&c&&c!="_self"?(m=hm(document,"A"),d=rk(d),d!==void 0&&(m.href=d),m.target=c,f&&(m.rel="noreferrer"),((b=b.attributionsrc)||b==="")&&m.setAttribute("attributionsrc",b),b=document.createEvent("MouseEvent"),b.initMouseEvent("click",!0,!0,a,1),m.dispatchEvent(b)):f?(a=vk(a,"",c,m),b=jk(d),a&&(a.opener=null,b===""&&(b="javascript:''"),b='',b=tk(b),(a= a.document)&&a.write&&(a.write(uk(b)),a.close()))):((a=vk(a,d,c,m))&&b.noopener&&(a.opener=null),a&&b.noreferrer&&(a.opener=null)))}}},wT=function(a,b){a=a.ad.Fg().filter(function(c){var d;return((d=c.program)==null?void 0:d.toLowerCase())===b.toLowerCase()});return a.length?a[0]:null},VS=function(a,b){kx.getInstance().report(222,{uiElements:[].concat(x(b.keys())).join(",")});a.j=new Set;b=w(b.keys());var c=b.next(),d;try{for(;!c.done;c=b.next()){var e=c.value;a.j.add(e);if(!a.h.has(e))switch(a.h.add(e), e){case "skipButton":a.config.skip&&YN(a.ya,MN,null);break;default:var f=wT(a,e);f&&YN(a.ya,ON,f)}}}finally{c&&!c.done&&(d=b.return)&&d.call(b)}};uT.prototype.R=function(){YN(this.ya,SS,null);R.prototype.R.call(this)};var xT=new Map([[QN,"click"],[KN,"learnMoreClicked"],[LN,"skip"],[MN,"skipShown"],[PN,"helpIconClicked"],[NN,"videoIconClicked"],[ON,"vastIconRendered"],[JN,"titleClicked"],[IN,"authorIconClicked"],[HN,"authorNameClicked"]]),yT=function(){S.apply(this,arguments)};u(yT,S); var zT=function(a,b,c,d){d.subscribe(b,c);Nt(a,function(){d.unsubscribe(b,c)})},AT=function(a,b,c){var d=w(xT.entries()),e=d.next(),f;try{for(var g={};!e.done;g={Me:void 0},e=d.next()){var h=w(e.value),k=h.next().value,l=h.next().value,m=k;g.Me=l;switch(m){case NN:case ON:zT(a,m,function(n){return function(r){r=n.Me==="videoIconClicked"?r.B:r.F;if(r.length){var q={},t={};r=(t.trackingUrls=(q.eventUrls=r,q),t)}else r={};a.dispatchEvent(new sG(n.Me,c,r))}}(g),b);break;default:zT(a,m,function(n){return function(){a.dispatchEvent(new sG(n.Me, c,{}))}}(g),b)}}}finally{e&&!e.done&&(f=d.return)&&f.call(d)}};function BT(a){var b=new Map;if(a.videoOverlay){var c={};b.set("videoOverlay",(c.required=a.videoOverlay.required,c.clickable=!0,c))}a.attribution&&(c={},b.set("attribution",(c.required=a.attribution.required,c.clickable=!1,c.text=a.attribution.text,c)));a.callToAction&&(console.log("serializeV1UiConfig > callToAction",a.callToAction),c={},b.set("callToAction",(c.required=a.callToAction.required,c.clickable=!0,c.text=a.callToAction.text,c)));a.skip&&(c={},b.set("preSkip",(c.required=a.skip.countdown.required, c.clickable=!1,c.text=a.skip.countdown.text,c)),c={},b.set("skipButton",(c.required=a.skip.button.required,c.clickable=!0,c.text=a.skip.button.text,c)));var d;if((d=a.icons)==null?0:d.length)d=a.icons.filter(function(e){return e.program.toLowerCase()==="googlewhythisad"}),d.length&&(d=d[0],c={},c=(c.required=d.required,c.clickable=d.clickable,c),d.clickUrl&&(c.clickUrl=d.clickUrl),d.image.url&&(c.imageUrl=d.image.url),d.image.altText&&(c.altText=d.image.altText),b.set("aboutThisAdIcon",c),d=d.fallbackImages.map(function(e){var f; return{url:e.url,altText:(f=e.altText)!=null?f:"",width:e.width,height:e.height}}),d.length&&(c={},b.set("aboutThisAdFallbackImage",(c.required=!0,c.clickable=!1,c.imageVariants=d,c))));a.adTitle&&(d={},b.set("adTitle",(d.required=a.adTitle.required,d.clickable=!0,d.text=a.adTitle.text,d.clickUrl=a.adTitle.clickUrl,d)));a.authorIcon&&(d={},b.set("authorIcon",(d.required=a.authorIcon.required,d.clickable=a.authorIcon.clickable,d.imageUrl=a.authorIcon.image.url,d.altText=a.authorIcon.image.altText, d.clickUrl=a.authorIcon.clickUrl,d)));a.authorName&&(d={},b.set("authorTitle",(d.required=a.authorName.required,d.clickable=!0,d.text=a.authorName.text,d.clickUrl=a.authorName.clickUrl,d)));return b};var CT=function(a,b,c,d,e,f){f=f===void 0?null:f;R.call(this);this.W=a;this.A=b;this.O=c;this.B=d;this.l=e;this.networkCode=f;this.h=null;this.j=new mu(this)};u(CT,R);CT.prototype.initialize=function(){this.j.listen(this.W,["complete","joinedMiddleAd","start","skip"],this.o)};CT.prototype.o=function(a){switch(a.type){case "joinedMiddleAd":case "start":(a=a.getAd())&&DT(this,a);break;case "complete":case "skip":if(this.h){a=this.h;var b=a.Wm,c=a.ya;a.ql.dispose();b.dispose();c.clear();this.h=null}}}; var DT=function(a,b){var c,d,e,f;A(function(g){if(g.l==1)return c=new XN,d=new yT,g.h(ET(a,b),2);e=g.j;f=new uT(b,e,a.O,c);a.h={ql:f,Wm:d,ya:c};FT(a,b,c,d,f);AT(d,c,b);f.build();g.F()})},ET=function(a,b){var c;return A(function(d){if(d.l==1)return c=sT,a.A.getLocale()==="en"?d.Y(2):d.h(a.B,3);d.l!=2&&(c=d.j);var e=d.return,f=c,g=a.O;var h;if(dQ(b)){var k,l=(k=b.td())!=null?k:0;k=new eQ(l>0);b instanceof wG?l=(l=b.L.get(rG))?l.j:null:l=null;k.j=l;b instanceof wG?l=(l=b.L.get(rG))?l.l:null:l=null;k.h= l;fQ(k)&&(k.j.title&&YN(k.Uc,GN,k.j.title),k.h&&k.h.title&&YN(k.Uc,FN,k.h.title),k.h&&k.h.h&&YN(k.Uc,EN,k.h.h));l=b.adTitle;if(fQ(k)){var m=k.j.id;var n=k.l;n=n===void 0?!1:n;if(m==null)m=null;else{var r=new Vs("//www.youtube.com/watch"),q=r.j;q.set("v",m);q.set("feature",n?"trueview-instream":"instream");Zs(r,q);m=r.toString()}}else m=null;l&&m&&(h={id:"adTitle",required:!1,text:l,clickUrl:m});var t;if(fQ(k))if(k.h){var v=v===void 0?null:v;(t=t===void 0?null:t)||(t="//www.youtube.com/");v?t+=v:(v= Gk(k.h.id),t=E(v)?null:t+"channel/"+(v.lastIndexOf("UC",0)==0&&v.length==24?v:"UC"+v))}else t=null;else t=null;v=fQ(k)&&k.h?k.h.h:null;if((k=fQ(k)&&k.h?k.h.title:null)&&t&&v){var y={id:"authorIcon",required:!1,clickable:!0,image:{url:v,altText:k},clickUrl:t};var z={id:"authorTitle",required:!1,text:k,clickUrl:t}}}k=Vj()||Wj()||b.Fb()&&!yP(g)?{id:"videoOverlay",required:!0}:void 0;if(b instanceof FG)g=jT(b,g);else throw Error("Unsupported ad type");g=g?{id:"callToAction",required:!0,text:f.callToAction}: void 0;var B;t=((B=b.td())!=null?B:0)<=0?void 0:{button:{id:"skipButton",required:!0,text:f.skipButton},countdown:{id:"skipCountdown",required:!0,text:f.skipCountdown}};f={id:"attribution",required:!1,text:f.attribution};var F;B=new Map;v=w(b.Fg());l=v.next();try{for(;!l.done;l=v.next()){var I=l.value,M=I.program;if(M&&!B.has(M.toLowerCase())){var Q=M.toLowerCase()==="googlewhythisad",U=tT(I),ea=I.l;if(ea){var Y={url:ea,width:I.j,height:I.h},Z=I.altText;Z&&(Y.altText=Z);var aa=I.Fb(),pa={id:M,required:Q, program:M,clickable:!!aa,image:Y,fallbackImages:U,xPosition:I.xPosition,yPosition:I.yPosition};aa&&(pa.clickUrl=aa);B.set(M.toLowerCase(),pa)}}}}finally{l&&!l.done&&(F=v.return)&&F.call(v)}F=[].concat(x(B.values()));return e.call(d,{videoOverlay:k,callToAction:g,skip:t,attribution:f,icons:F,adTitle:h,authorIcon:y,authorName:z})})},FT=function(a,b,c,d,e){c.subscribe(RS,function(f){var g=null,h=a.networkCode,k;(h&&ZS.includes(h)||bT((k=window.document.domain)!=null?k:"",YS))&&(g=US(BT(f),e));f=WS(f, e);a.l.dispatchEvent(new DQ("showAdUi",{},new wQ(b),g,f))});c.subscribe(SS,function(){a.l.dispatchEvent(new DQ("hideAdUi",{},new wQ(b)))});a.j.listen(d,"click skipShown skip vastIconRendered videoClicked videoIconClicked".split(" "),function(f){f=new XS(f.type,f.getAdData());a.W.Zb(f.type,f)})};CT.prototype.R=function(){pu(this.j);this.h=null;R.prototype.R.call(this)};var GT=function(){S.apply(this,arguments)};u(GT,S);GT.prototype.Qj=function(){return null};GT.prototype.Of=function(){};GT.prototype.Dj=function(){};var HT=function(a,b){b=b===void 0?{}:b;Pt.call(this,a);this.data=b||{}};u(HT,Pt);function IT(a,b){return a&&(a[b]||(a[b]={}))}function JT(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(IT,c)[a[a.length-1]]=b};function KT(a){var b=w(LT.keys()),c=b.next(),d;try{for(;!c.done;c=b.next()){var e=c.value,f=w(LT.get(e)),g=f.next(),h;try{for(;!g.done;g=f.next())if(g.value.test(a))return e}finally{g&&!g.done&&(h=f.return)&&h.call(f)}}}finally{c&&!c.done&&(d=b.return)&&d.call(b)}return 1} var LT=new Map([[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\/.*$/]],[10,[/^(https?:\/\/|\/\/)?[-a-zA-Z0-9.]+\.script\.ac\/.*$/,/^(https?:\/\/|\/\/)?[-a-zA-Z0-9.]+\/(2|ag|static)\/[a-zA-Z0-9.]*\/analytics.js.*$/]],[11,[/^(https?:\/\/|\/\/)?[-a-zA-Z0-9.]+\.outcomes\.net\/.*$/]]]); JT("OmidSessionClient.verificationVendorIdForScriptUrl",KT);JT("OmidSessionClient.VerificationVendorId",{OTHER:1,MOAT:2,DOUBLEVERIFY:3,INTEGRAL_AD_SCIENCE:4,PIXELATE:5,NIELSEN:6,COMSCORE:7,MEETRICS:8,GOOGLE:9,HUMAN:10,MOBIAN:11});var MT=Object.values({FULL:"full",DOMAIN:"domain",LIMITED:"limited"});function NT(a,b){return Object.keys(a).some(function(c){return MT.includes(c)})?OT(a,b):PT(a,b)}function OT(a,b){return QT(a,"limited",b)?"limited":QT(a,"domain",b)?(console.warn("OmidAccessMode.DOMAIN has been removed. Using OmidAccessMode.LIMITED."),"limited"):QT(a,"full",b)?"full":PT({},b)}function QT(a,b,c){return(a[b]||[]).some(function(d){return d.test(c)})} function PT(a,b){b=KT(b);Object.keys(a).includes(""+b)||(b=1);return(a=a[b])&&MT.includes(a)?a:"limited"};function RT(a){kx.getInstance().report(211,{message:a})};var ST=function(a,b,c){b=b===void 0?null:b;c=c===void 0?null:c;Pt.call(this,a);this.ad=b;this.h=c};u(ST,Pt);var TT=function(a){return new ST(a.type,null,a.data)};ST.prototype.getAd=function(){return this.ad};ST.prototype.getAdData=function(){return this.h};var UT=sa(["https://pagead2.googlesyndication.com/omsdk/releases/live/omweb-v1.js"]),VT=sa(["https://pagead2.googlesyndication.com/omsdk/releases/control/omweb-v1.js"]),WT=sa(["https://pagead2.googlesyndication.com/omsdk/releases/canary/omweb-v1.js"]),XT=sa(["https://pagead2.googlesyndication.com/omsdk/releases/experimental/omweb-v1.js"]),YT=zl(UT),ZT=zl(VT),$T=zl(WT),aU=zl(XT);var eU=function(a){if(a instanceof bU||a instanceof cU||a instanceof dU)return a;if(typeof a.next=="function")return new bU(function(){return a});if(typeof a[Symbol.iterator]=="function")return new bU(function(){return a[Symbol.iterator]()});if(typeof a.Zc=="function")return new bU(function(){return a.Zc()});throw Error("Not an iterator or iterable.");},bU=function(a){this.h=a};bU.prototype.Zc=function(){return new cU(this.h())};bU.prototype[Symbol.iterator]=function(){return new dU(this.h())}; bU.prototype.j=function(){return new dU(this.h())};var cU=function(a){this.h=a};u(cU,QA);cU.prototype.next=function(){return this.h.next()};cU.prototype[Symbol.iterator]=function(){return new dU(this.h)};cU.prototype.j=function(){return new dU(this.h)};var dU=function(a){bU.call(this,function(){return a});this.l=a};u(dU,bU);dU.prototype.next=function(){return this.l.next()};function fU(a,b){this.j={};this.h=[];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&&gU(this),!0):!1};var gU=function(a){if(a.size!=a.h.length){for(var b=0,c=0;b=d.h.length)return RA;var f=d.h[b++];return{value:a?f:d.j[f],done:!1}};return e};var hU=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};var jU=null,kU=function(){S.call(this);this.D=this.X=this.j=null;this.H=-1;this.h=new fU;this.l=new Map;this.o=new mu(this);Ot(this,this.o);this.C=new Map;Yy().l=!0;cT()};u(kU,S); var lU=function(){jU==null&&(jU=new kU);return jU},mU=function(a,b){var c={};a=(c.queryId=a,c.viewabilityString=b,c);lU().dispatchEvent(TT({type:"measurable_impression",data:a}))},nU=function(a,b){var c={};a=(c.queryId=a,c.viewabilityString=b,c);lU().dispatchEvent(TT({type:"viewable_impression",data:a}))},oU=function(a,b,c){var d={};a=(d.queryId=a,d.viewabilityString=b,d.eventName=c,d);lU().dispatchEvent(TT({type:"externalActivityEvent",data:a}))}; kU.prototype.destroy=function(){this.o.unlisten(this.j,"activityMonitor",this.A);this.j=null}; kU.prototype.A=function(a){var b=a.h(),c;switch(a.j()){case "appStateChanged":L(UD);b=b.appState;a=Fz();a.C!=b&&(a.C=b,(a=L(mC).h)&&Oz(a.h,!b));break;case "externalActivityEvent":oU(b.queryId,b.viewabilityString,b.eventName);break;case "measurableImpression":mU(b.queryId,b.viewabilityString);break;case "viewableImpression":nU(b.queryId,b.viewabilityString);break;case "engagementData":b=b.engagementString;lU().D=b;lU().H=Date.now();break;case "viewability":(c=this.X)==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.h.get(a))this.h.delete(a),c(b.viewabilityData);break;case "viewabilityMeasurement":L(UD);Yy();break;case "engagement":a=b.eventId;clearTimeout(a);c=this.h.get(a);if(lx(kx.getInstance())){var d=!1;c||(d=!0);Pl(b,"loggingId")&&kx.getInstance().report(43,{step:"receivedResponse",time:Date.now(),timeout:d,logid:b.loggingId,timediff:-1})}c&&(this.h.delete(a),c(b.engagementString))}}; D("ima.bridge.getNativeViewability",function(a,b){lU();b({})});D("ima.bridge.getVideoMetadata",function(a){return(a=lU().C.get(a))?a():{}});D("ima.bridge.triggerViewEvent",nU);D("ima.bridge.triggerMeasurableEvent",mU);D("ima.bridge.triggerExternalActivityEvent",oU);var pU=!1; function qU(a,b){var c=new Map;var d=new rU;var e=d.ad,f=d.pa,g=d.Zf;d=d.display;var h=b.appName,k=yP(b)?"0":Vj()||Wj()?"2":"1",l=null,m=null;e instanceof wG&&e.zb.length>0&&(m=e.zb[0],l=m.getAdIdValue(),m=m.getAdIdRegistry());var n=null,r=null;dT(b)&&(n="Google1",r="3.792.0");var q=(new Vs(b.h)).h||"";var t=(g==null?void 0:g.pageUrl)||null;t=yt(t)?t:b.h;var v=Zv.getPlayerType(),y=Zv.getPlayerVersion(),z=Cw(b.ka),B=b.Vc,F=Gw(b.ka);b=Cw(b.ka);/^[\.\w_-]*$/.test(b)||pU||(kx.getInstance().report(141,{tcstring:b}), pU=!0);iF({X:d,rj:"1",pa:f,ad:e,Zf:g,appName:h,kl:k,cn:l,bn:m,ih:n,im:r,mg:v,ng:y,ph:"IMA",qh:"3.792.0",domain:q,pageUrl:t,Si:z,Vc:B,en:F},c);e=c;e=e===void 0?new Map:e;kF(e,"REASON",a);return c}var rU=function(){var a=null,b=null;b=b===void 0?null:b;a=a===void 0?null:a;this.display=this.pa=this.ad=null;this.Zf=b;this.error=a};var sU=function(a,b,c,d){this.isSkippable=a;this.skipOffset=b;this.h=c;this.position=d};sU.prototype.toJSON=function(){return{isSkippable:this.isSkippable,skipOffset:this.skipOffset,isAutoPlay:this.h,position:this.position}};function tU(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 uU(a,b){if(b==null)throw Error("Value for "+a+" is undefined or null");}function vU(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 wU(a,b){vU(a,b);if(b<0||b>1)throw Error("Value for "+a+" is outside the range [0,1]");};function xU(){return/\d+\.\d+\.\d+(-.*)?/.test("1.6.9-google_20260729")}function yU(){for(var a=["1","6","9"],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);VU.indexOf(a)>=0&&(b=b.mediaEvents);b=b[a];if(!b)throw Error("Unrecognized method name: "+a+".");b.apply(null,x(c))};var aV=function(a,b,c){uU("AdSession.context",a);this.h=DU()?EU():FU();this.j=a;this.C=!1;var d=this.j.uc||void 0;if(!b){var e;typeof e==="undefined"&&typeof window!=="undefined"&&window&&(e=window);e=LU(e)?e:KU;var f=f===void 0?IU:f;var g=[e,LU(e)?e.top:KU];d&&g.unshift(d);a:{d=w(g);g=d.next();var h;try{for(;!g.done;g=d.next()){b:{var k=e,l=g.value,m=f;if(!MU(l))try{var n=PU(l);if(n){var r=new JU(n);break b}}catch(q){}r=m(l)?new NU(k,l):null}if(k=r){b=k;break a}}}finally{g&&!g.done&&(h=d.return)&& h.call(d)}b=null}}this.l=b;this.B=c||new XU;this.D=this.J=this.H=!1;this.A=this.o=null;this.G=!1;this.F={};this.l&&(this.l.onMessage=this.Cl.bind(this));this.oa("setClientInfo","1.6.9-google_20260729",this.j.Ff.name,this.j.Ff.version,this.h);YU(this,a.B);ZU(this,a.h,"setSlotElement");ZU(this,null,"setVideoElement");(a=a.o)&&this.oa("setContentUrl",a,this.h);$U(this)},bV=function(a){return!!a.l||a.B.h!=null},cV=function(a,b){a.sendMessage("registerSessionObserver",b,a.h)};p=aV.prototype; p.start=function(){var a={customReferenceData:this.j.A,underEvaluation:this.j.j};if(this.j.l){var b=this.j.l;a.universalAdId=b.value+"; "+b.de}this.oa("startSession",a,this.h)};p.error=function(a,b){this.oa("sessionError",a,b,this.h)};p.oa=function(a){this.sendMessage.apply(this,[a,null].concat(x(Ga.apply(1,arguments))))}; p.sendMessage=function(a,b){var c=Ga.apply(2,arguments);if(this.l){var d=DU()?EU():FU();b&&(this.F[d]=b);c=new zU(d,"SessionService."+a,"1.6.9-google_20260729",xU()&&yU()?c:JSON.stringify(c));this.l.sendMessage(c)}else if(this.B.h!=null)try{this.B.sendMessage(a,b,c)}catch(e){GU("Failed to communicate with SessionInterface with error:"),GU(e)}}; p.Cl=function(a){var b=a.method,c=a.h;a=a.args;if(b==="response"&&this.F[c]){var d=xU()&&yU()?a?a:[]:a&&typeof a==="string"?JSON.parse(a):[];this.F[c].apply(this,d)}b==="error"&&window.console&&GU(a)}; var YU=function(a,b){b&&(b=b.map(function(c){return c.toJSON()}),a.oa("injectVerificationScriptResources",b,a.h))},ZU=function(a,b,c){b&&((a.l?a.l.h==="DIRECT":a.B.h!=null)?a.oa(c,b,a.h):a.error("generic","Session Client "+c+" called when communication is cross-origin"))},$U=function(a){cV(a,function(b){b.type==="sessionStart"&&(a.D=!0,a.o=b.data.creativeType,a.A=b.data.impressionType);b.type==="sessionFinish"&&(a.D=!1)})};JT("OmidSessionClient.AdSession",aV);var dV=function(a){uU("AdEvents.adSession",a);this.j=a.h;try{if(a.H)throw Error("AdEvents already registered.");a.H=!0;a.oa("registerAdEvents",a.h);this.h=a}catch(b){throw Error("AdSession already has an ad events instance registered");}}; dV.prototype.loaded=function(a){a=a===void 0?null:a;var b=this.h;if(b.o==="definedByJavaScript")throw Error("Creative type has not been redefined");if(b.A==="definedByJavaScript")throw Error("Impression type has not been redefined");b.G=!0;a=a?a.toJSON():null;this.h.oa("loaded",a,this.j)};JT("OmidSessionClient.AdEvents",dV);var eV=function(a){uU("MediaEvents.adSession",a);this.j=a.h;try{if(a.J)throw Error("MediaEvents already registered.");a.J=!0;a.oa("registerMediaEvents",a.h);this.h=a}catch(b){throw Error("AdSession already has a media events instance registered");}};p=eV.prototype;p.start=function(a,b){vU("MediaEvents.start.duration",a);wU("MediaEvents.start.mediaPlayerVolume",b);this.h.oa("start",a,b,this.j)};p.complete=function(){this.h.oa("complete",this.j)};p.pause=function(){this.h.oa("pause",this.j)}; p.resume=function(){this.h.oa("resume",this.j)};p.skipped=function(){this.h.oa("skipped",this.j)};var fV=function(a,b){uU("MediaEvents.playerStateChange.playerState",b);a.h.oa("playerStateChange",b,a.j)},gV=function(a,b){uU("MediaEvents.adUserInteraction.interactionType",b);a.h.oa("adUserInteraction",b,a.j)};JT("OmidSessionClient.MediaEvents",eV);var hV=function(a,b,c,d,e,f){S.call(this);this.ad=a;this.na=c;this.omidAccessModeRules=d;this.O=e;this.Jg=f;this.l=null;this.C=[];this.J=this.M=this.D=this.N=!1;this.A=this.h=this.H=this.j=null;this.o=new mu(this);this.o.listen(b,cv,this.V);this.o.listen(b,["adError","streamError"],this.P)};u(hV,S); var rV=function(a,b){var c=b.Ff;b=b.uc;var d=iV(a);jV(d);if(d.length===0)kV(a,"noVerifications");else{c=new SU(c,d,a.O.h);d=null;try{d=a.Jg()}catch(e){lV(a,mV(a.ad),"3","Failed to get slot element when one was expected.")}d&&TU(c,d);b&&(c.Of(b),b=Object.keys(a.omidAccessModeRules).length>0,c.j=!b,kx.getInstance().report(159,{pcp:b}));a.j=new aV(c);RT("sc");bV(a.j)?(a.H=new dV(a.j),a.h=new eV(a.j),cV(a.j,function(e){if(!nV(a))switch(e.type){case "sessionStart":RT("ss");e=e.data;a.D=!0;oV(a,e==null? void 0:e.creativeType);pV(a,e==null?void 0:e.impressionType);qV(a);break;case "sessionFinish":RT("sf");a.M=!0;a.dispatchEvent(new Pt("omidAdSessionCompleted"));break;case "sessionError":RT("se")}}),a.N=!0,oV(a),pV(a),a.j.start(),RT("ssa")):(a.j=null,kV(a,"notSupported"))}};hV.prototype.V=function(a){this.J||nV(this)||(a.type!=="firstQuartile"||this.D||RT("bf"),a.type!=="complete"||this.D||RT("bc"),this.C.push(a),qV(this))};hV.prototype.P=function(a){this.C.push(a);qV(this)};hV.prototype.Z=function(){qV(this)}; var sV=function(a){if(!a.J){a.J=!0;var b;(b=a.j)!=null&&b.oa("finishSession",b.h);Vx(function(){nV(a)||(RT("le"),kV(a,"sessionLingering"))},5E3)}},qV=function(a){if(a.D&&!nV(a))for(;a.C.length>0;){var b=a.C[0];if(b.type==="start"&&(a.l==null?0:a.l.getVolume())<0)break;a.C.shift();var c=a;if(b instanceof ST||b instanceof sG){var d=void 0,e=c;if(e.H&&e.h)switch(b.type){case "loaded":RT("oml");b=e.H;c=b.loaded;var f=e;e="preroll";f.ad.getAdPodInfo().getPodIndex()<0?e="postroll":f.ad.getAdPodInfo().getPodIndex()> 0&&(e="midroll");d=f.ad.isSkippable();var g=f.ad.getSkipTimeOffset();f=f.ad;c.call(b,new sU(d,g,f.h&&f.h.adTagParameters?f.h.adTagParameters.vpa==="auto":!1,e));break;case "impression":RT("i");b=e.H;if(!b.h.D)throw Error("Session not started.");c=b.h;if(c.o==="definedByJavaScript")throw Error("Creative type has not been redefined");if(c.A==="definedByJavaScript")throw Error("Impression type has not been redefined");c.C=!0;b.h.oa("impressionOccurred",b.j);break;case "start":RT("ps");e.h.start(e.ad.getDuration(), e.l==null?0:e.l.getVolume());((d=e.l)==null?0:d.yd())&&fV(e.h,"fullscreen");break;case "firstQuartile":b=e.h;b.h.oa("firstQuartile",b.j);break;case "midpoint":b=e.h;b.h.oa("midpoint",b.j);break;case "thirdQuartile":b=e.h;b.h.oa("thirdQuartile",b.j);break;case "complete":e.h.complete();sV(e);break;case "pause":e.h.pause();break;case "resume":e.h.resume();break;case "skip":e.h.skipped();sV(e);break;case "volumeChange":b=b.getAdData();c=e.h;b=b.volume;wU("MediaEvents.volumeChange.mediaPlayerVolume", b);c.h.oa("volumeChange",b,c.j);break;case "click":case "videoClicked":gV(e.h,"click");break;case "fullscreen":fV(e.h,"fullscreen");break;case "exitFullscreen":fV(e.h,"normal");break;case "expand":fV(e.h,"expanded");break;case "collapse":fV(e.h,"collapsed");break;case "acceptInvitation":case "acceptInvitationLinear":gV(e.h,"invitationAccept")}}else b instanceof HT&&b.type==="streamError"&&(e=void 0,(e=c.j)==null||e.error("video",b.data.errorMessage||""),sV(c))}},kV=function(a,b){a.A=b;a.dispatchEvent(new Pt("omidAdSessionAbandoned")); RT("ab");a.A==="notSupported"&&lV(a,mV(a.ad),"3","notSupported")},oV=function(a,b){b=b===void 0?null:b;if(a.j&&(!b||b==="definedByJavaScript")){b=a.j;a=a.ad.pd();if(a==="definedByJavaScript")throw Error("Creative type cannot be redefined with value definedByJavaScript");if(b.C)throw Error("Impression has already occurred");if(b.G)throw Error("Creative has already loaded");if(b.o&&b.o!=="definedByJavaScript")throw Error("Creative type cannot be redefined");if(b.o===void 0)throw Error("Native integration is using OMID 1.2 or earlier"); b.oa("setCreativeType",a,b.h);b.o=a}},pV=function(a,b){b=b===void 0?null:b;if(a.j&&(!b||b==="definedByJavaScript")){a=a.j;if(a.C)throw Error("Impression has already occurred");if(a.G)throw Error("Creative has already loaded");if(a.A&&a.A!=="definedByJavaScript")throw Error("Impression type cannot be redefined");if(a.A===void 0)throw Error("Native integration is using OMID 1.2 or earlier");a.oa("setImpressionType","beginToRender",a.h);a.A="beginToRender"}},nV=function(a){return a.M||a.A!=null}; hV.prototype.getAd=function(){return this.ad}; var iV=function(a){for(var b=[],c=a.ad;c!=null;){var d=mV(c);c=[];d=w(d);var e=d.next(),f;try{for(;!e.done;e=d.next()){var g=e.value;if(g.Rc==="omid")if(g.h==null)lV(a,[g],"3","nullUrl");else{var h=new RU(g.h,g.vendor||void 0,g.parameters||void 0,NT(a.omidAccessModeRules,g.h));b.push(h);c.push(g)}else lV(a,[g],"2")}}finally{e&&!e.done&&(f=d.return)&&f.call(d)}c=null}return b},lV=function(a,b,c,d){var e=[];b=w(b);var f=b.next(),g;try{for(;!f.done;f=b.next()){var h=f.value;e=[].concat(x(e),x(h.ca.map(function(k){return hG(k)})))}}finally{f&& !f.done&&(g=b.return)&&g.call(b)}d&&(e=e.map(function(k){k=new Vs(k);it(k,"dbg",d);return k.toString()}));GF(a.na,qU(c,a.O));a.na.report("verificationNotExecuted",e)};hV.prototype.R=function(){pu(this.o);Mt(this.o);S.prototype.R.call(this)};var jV=function(a){a=a.map(function(b){return[b.j||"",b.h]});kx.getInstance().report(129,{omData:JSON.stringify(a)});RT("oms")};var tV=null,uV=function(){S.call(this);this.o=!0;this.ih=new QU("Google1","3.792.0");this.j=[];this.uc=this.h=null;this.l=new mu(this)};u(uV,S);var vV=function(){tV==null&&(tV=new uV);return tV};uV.prototype.Dj=function(){this.o=!1;this.dispatchEvent(new Pt("omidUnavailable"));kx.getInstance().report(128,{status:"disabled",reason:"iframeLoadFailed",description:"The OM SDK iframe failed to load. No measurements can be taken."})}; uV.prototype.Qj=function(a){var b=this;var c=a.ad;var d=a.Zk;var e=a.na;var f=a.O;var g=a.Jg;a=a.omidAccessModeRules;a=a===void 0?{}:a;RT("omo");var h=new hV(c,d,e,a,f,g);if(!this.o)return lV(h,mV(c),"3","notEnabled"),null;this.l.jc(d,["show_ad","start","adError"],function(k){switch(k.type){case "show_ad":wV(b,h);break;case "start":wV(b,h);break;case "adError":h.D||lV(h,mV(h.getAd()),"3","A fatal ad error occurred, so no OMID ad session was started.")}});this.l.listen(h,"omidAdSessionAbandoned",function(){xV(!0, h);h.dispose();b.h=null;yV(b)});this.l.listen(h,"omidAdSessionCompleted",function(){xV(!1,h);h.dispose();b.h=null;yV(b)});return h};var wV=function(a,b){b.N||nV(b)||a.j.includes(b)||(a.j.push(b),a.h&&(RT("saa"),sV(a.h)),yV(a))},yV=function(a){a.o&&!a.h&&a.j.length!==0&&a.uc&&(a.h=a.j.shift(),rV(a.h,{Ff:a.ih,uc:a.uc}))};uV.prototype.Of=function(a){this.uc=a;yV(this)}; var xV=function(a,b){var c={es:a?"abandon":"complete",ai:b.getAd().getAdId(),qy:b.getAd().Qe()};a&&b.A!=null&&(c.ar=b.A);kx.getInstance().report(87,c)};function zV(a){var b;return(b=a.omidSessionInterface)!=null?b:null} function AV(){var a=document.body,b,c,d,e,f,g;return A(function(h){if(h.l==1)return pr(WE)?(b=El("IFRAME"),b.style.visibility="hidden",b.style.width="0",b.style.height="0",b.style.position="absolute",b.style.left="0",b.style.top="0",b.title="Advertisement"):b=gm("IFRAME",{style:"visibility: hidden; width: 0; height: 0; position: absolute; left: 0; top: 0;",title:"Advertisement"}),c=new Promise(function(k){b.addEventListener("load",function(){k()})}),a.appendChild(b),h.h(c,2);d=pr(WE)?El("SCRIPT"): gm("SCRIPT");e=BV();wk(d,e);f=new Promise(function(k,l){d.addEventListener("load",function(){var m=mm(b);m&&zV(m)?k(b):l()})});g=b.contentDocument||b.contentWindow.document;g.head.appendChild(d);return h.return(f)})}function BV(){switch(L(or).h(YE.h,YE.defaultValue)){case 0:return YT;case 1:return ZT;case 2:return $T;case 3:return aU;default:return YT}};var CV=function(a,b){S.call(this);this.j=b;this.h=zV(a)};u(CV,S);var DV=function(a){try{a.h&&a.h.registerSessionObserver(function(b){if(b.type==="sessionStart"){b=a.j;b instanceof pO&&(b=b.U);var c;if(((c=b.tagName)==null?void 0:c.toUpperCase())!=="AUDIO")try{a.h&&a.h.setVideoElement(b)}catch(d){a.dispatchEvent(new Event("error"))}}else b.type==="sessionFinish"&&DV(a)})}catch(b){a.dispatchEvent(new Event("error"))}};CV.prototype.R=function(){try{this.h&&this.h.finishAdSession()}catch(a){}S.prototype.R.call(this)};var EV=function(a,b){R.call(this);this.X=a;this.O=b;this.h=null};u(EV,R);EV.prototype.load=function(){var a=this;return A(function(b){return dT(a.O)?b.h(FV(a),0):b.return()})}; var FV=function(a){var b,c;return A(function(d){if(d.l==1)return d.A(2),d.h(AV(),4);if(d.l!=2)return b=d.j,a.h=b,c=mm(b),GV(a,c),d.G(0);d.o();HV(a);d.F()})},GV=function(a,b){(dT(a.O)?vV():new GT).Of(b);b=new CV(b,a.X.h);b.listen("error",function(){return void HV(a)});DV(b)},HV=function(a){(dT(a.O)?vV():new GT).Dj();if(a.h){var b=a.h;b&&b.parentNode&&b.parentNode.removeChild(b);a.h=null}};EV.prototype.R=function(){if(this.h){var a=this.h;a&&a.parentNode&&a.parentNode.removeChild(a);this.h=null}R.prototype.R.call(this)};var IV=function(a,b,c){this.key=a;this.duration=b;this.position=c};var JV=function(a){this.data=a};p=JV.prototype;p.getAdPosition=function(a){return((this.data.ads||{})[a]||{}).position||0};p.Ya=function(a){return((this.data.ads||{})[a]||{})["break"]||""};p.getTotalAds=function(a){return((this.data.breaks||{})[a]||{}).ads||0};p.Oe=function(a){return((this.data.breaks||{})[a]||{}).duration||0};p.Ag=function(a){return((this.data.breaks||{})[a]||{}).expected_duration||0}; p.Hg=function(a){var b=this.data.ads||{},c=this.getAdPosition(a);a=this.Ya(a);var d=0,e=w(Object.keys(b)),f=e.next(),g;try{for(;!f.done;f=e.next()){var h=b[f.value]||{},k=h.position||Number.MAX_SAFE_INTEGER,l=h.duration||0;a===h["break"]&&k>0&&k0}).sort(function(k,l){return k.position-l.position})};var LV={html:"Html",iframe:"IFrame","static":"Static"}; function MV(a,b,c){a.ta=b.duration*1E3||null;var d=w(c.creatives||[]),e=d.next(),f;try{for(;!e.done;e=d.next())a.h.push(NV(e.value))}finally{e&&!e.done&&(f=d.return)&&f.call(d)}if(c=c.tracking_events){c=w(c);d=c.next();var g;try{for(;!d.done;d=c.next()){var h=d.value,k=h.event,l=h.uri,m=a.ca.get(k)||[];m.push(new fG(k,l));a.ca.set(k,m)}}finally{d&&!d.done&&(g=c.return)&&g.call(c)}}b=b.vast_error_urls;Array.isArray(b)&&b.length>0&&(b=b.map(function(n){return new fG("error",n)}),g=a.ca.get("error")|| [],g.push.apply(g,x(b)),a.ca.set("error",g))} function OV(a,b){var c=a.non_linear_ads;b=c?new GG(b):new FG(b);if(b.isLinear){b.A=a.advertiser||null;b.j=a.clickthrough_url||"";b.creativeId=a.creative_id||null;b.B=a.creative_ad_id||null;c=a.universal_ad_id||null;b.zb=c?[new EH(c.id_value||"unknown",c.id_registry||"unknown")]:[];b.C=PV(a,"creative_id");b.F=PV(a,"ad_id");b.G=PV(a,"system");b.ta=a.duration*1E3||-1;c=a.deal_id||null;b.dealId=QV(a)||c;c=a.interactive_file;if(!c||E(c.api_framework))c=[];else{var d=c.html_resource||null,e=c.resource|| null;c=d!==null&&!E(d)||e!==null&&!E(e)?[new BH(e,d,c.type,c.api_framework,c.variable_duration||!1)]:[]}b.ub=c;if(a=a.skip_metadata)b.skipoffset=a.offset*1E3,b.ca.set("skip",[new fG("skip",a.tracking_url)])}else MV(b,a,c);return b} function RV(a,b){b=OV(a,b);b.o=SV(a);b.adTitle=a.title||null;var c=TV(a.click_tracking_urls||null);if(c.length>0)if(b.ca.has("click")){var d;(d=b.ca.get("click")).push.apply(d,x(c))}else b.ca.set("click",c);b.description=a.description||null;b.id=a.ad_id||null;d=(a.extensions||[]).map(function(e){return Lt(e).documentElement});d=dK(UV(),d);d=new HH([new lI(new XI({Ra:VV(a.companions),L:d}))]);WV().ma(d,b,new YH);(d=XV(a))&&b.L.set(jG,d);b.icons.push.apply(b.icons,x(YV(a.icons)));(a=b.L.get(oG))&&b.icons.push(a.h); b.icons=ZV(b.icons);return b}function $V(a,b){var c=a.vast||"";if(!c)return null;b=aW(c,b);if(!b)return null;b.C=PV(a,"creative_id");b.G=PV(a,"system");b.F=PV(a,"ad_id");a=QV(a);b.dealId=a||b.dealId;return b}function QV(a){a=w(a.wrappers||[]);var b=a.next(),c;try{for(;!b.done;b=a.next()){var d=b.value;if(d.deal_id)return d.deal_id}}finally{b&&!b.done&&(c=a.return)&&c.call(a)}return""} function VV(a){if(!a||a.length===0)return[];var b=[];a=w(a);var c=a.next(),d;try{for(;!c.done;c=a.next())b.push(bW(c.value))}finally{c&&!c.done&&(d=a.return)&&d.call(a)}return b} function YV(a){if(!a||a.length===0)return[];var b=[];a=w(a);var c=a.next(),d;try{for(;!c.done;c=a.next()){var e=c.value,f=new zH,g=e.click_data;g&&(f.o=g.url);f.G=e.creative_type;f.l=e.resource;f.h=e.height;f.j=e.width;f.xPosition=e.x_position;f.yPosition=e.y_position;f.program=e.program;f.altText=e.alt_text;var h=void 0,k=void 0,l=e.click_fallback_images;if(l&&l.length!==0){var m=[],n=w(l),r=n.next();try{for(;!r.done;r=n.next()){h=r.value;var q=new AH;q.l=h.width;q.h=h.height;q.j=h.resource;q.creativeType= h.creative_type;q.altText=h.alt_text;m.push(q)}}finally{r&&!r.done&&(k=n.return)&&k.call(n)}var t=m}else t=[];f.A=t;b.push(f)}}finally{c&&!c.done&&(d=a.return)&&d.call(a)}return b}function bW(a){var b=new wJ(a.click_data.url),c=[],d=a.tracking_events;d&&(c=d.map(function(e){return new aI(e.event,e.uri)}));return new zJ({jd:new yJ([new ZH({yc:a.ad_slot_id,ba:a.api_framework,width:a.width,height:a.height,Dc:b,ca:c,resources:[new $H(a.resource,LV[a.type],a.creative_type)]})])})} function PV(a,b){var c=[];(a.wrappers||[]).forEach(function(d){return c.push(d[b]||"")});return c.reverse()} function aW(a,b){try{var c=Lt(a);if(c){var d=c.documentElement;if(d&&At(d)){var e=UV();if(!d)throw Error("VAST string is empty.");if(!At(d))throw Error("Response string is not a valid VAST document.");a=[];c=[];var f=w(km(d)),g=f.next(),h;try{for(;!g.done;g=f.next()){var k=g.value;switch(k.nodeName){case "Ad":var l=void 0,m=d=void 0,n=e,r={};r.id=k.getAttribute("id");r.jb=LJ(k,"sequence");r.zc=k.getAttribute("adType");var q=w(km(k)),t=q.next();try{for(;!t.done;t=q.next())if(l=t.value,l.nodeName=== "InLine"){var v=void 0,y=void 0,z=null,B=null,F=null,I=null,M=null,Q=null,U=[],ea=[],Y=[],Z=[],aa=[],pa=w(km(l)),La=pa.next();try{for(;!La.done;La=pa.next())switch(v=La.value,v.nodeName){case "AdServingId":z=V(v);break;case "AdSystem":B=V(v);break;case "AdTitle":F=V(v);break;case "AdVerifications":Z=Z.concat(SJ(v));break;case "Advertiser":I=V(v);break;case "Creatives":var Gb=w(km(v)),Nb=Gb.next(),ob;try{for(;!Nb.done;Nb=Gb.next()){var fc=Nb.value;fc.nodeName==="Creative"&&Y.push(eK(fc))}}finally{Nb&& !Nb.done&&(ob=Gb.return)&&ob.call(Gb)}break;case "Description":M=V(v);break;case "Error":var Tc=V(v);Tc!=null&&U.push(Tc);break;case "Extensions":aa=dK(n,km(v));break;case "Impression":var ud=WJ(V(v));ud!=null&&ea.push(new AJ(ud));break;case "Survey":Q=V(v)}}finally{La&&!La.done&&(y=pa.return)&&y.call(pa)}m=new XI({bd:z,Bb:B,adTitle:F,ag:I,description:M,Nj:Q,errors:U,wd:ea,Ra:Y,Ab:Z,L:aa});break}else if(l.nodeName==="Wrapper"){y=v=void 0;z=null;B=void 0;F=[];I=[];M=[];Q=[];U=[];var ni=l.getAttribute("followAdditionalWrappers")!== "false",pb=l.getAttribute("allowMultipleAds")==="true",Ig=l.getAttribute("fallbackOnNoAd")==="true",Sd=w(km(l)),Jc=Sd.next();try{for(;!Jc.done;Jc=Sd.next())switch(v=Jc.value,v.nodeName){case "AdSystem":z=V(v);break;case "VASTAdTagURI":var De=V(v);B=De?De:void 0;break;case "Creatives":var td=w(km(v)),de=td.next(),Rf;try{for(;!de.done;de=td.next()){var bl=de.value;bl.nodeName==="Creative"&&M.push(eK(bl))}}finally{de&&!de.done&&(Rf=td.return)&&Rf.call(td)}break;case "Error":var Ri=V(v);Ri!=null&&F.push(Ri); break;case "AdVerifications":Q=Q.concat(SJ(v));break;case "Extensions":U=dK(n,km(v));break;case "Impression":var cl=WJ(V(v));cl!=null&&I.push(new AJ(cl))}}finally{Jc&&!Jc.done&&(y=Sd.return)&&y.call(Sd)}m=new vJ({Bb:z,Pi:ni,hi:pb,Oi:Ig,fi:B,errors:F,wd:I,Ra:M,Ab:Q,L:U});break}}finally{t&&!t.done&&(d=q.return)&&d.call(q)}if(!m)throw Error("Vast Ad contains neither inline nor wrapper data.");a.push(new lI(m,r));break;case "Error":var dl=V(k);dl&&c.push(dl)}}}finally{g&&!g.done&&(h=f.return)&&h.call(f)}var Zc= N.getInstance(),Re=w(["lima_p_ich","lima_p_icu"]),Sf=Re.next(),el;try{for(;!Sf.done;Sf=Re.next()){var Zg=Sf.value;Zc.j.has(Zg)?(O(Zc,Zg,""+Zc.j.get(Zg)),Zc.j.delete(Zg)):O(Zc,Zg,"0")}}finally{Sf&&!Sf.done&&(el=Re.return)&&el.call(Re)}Zc.o();var $g=new uJ({al:a,mj:c})}else $g=null;var fl=$g}else fl=null;if(!fl)return null;var gl=new HH(fl.h),Se=(new jK(b)).j(gl);if(!Se)return null;WV().ma(gl,Se,new YH);var xp=Se.L.get(oG);xp&&Se.icons.push(xp.h);Se.icons=ZV(Se.icons);return Se}catch(HG){return null}} function WV(){var a=[new JH,new RH,new VH,new XH,new fI,new mI,new rI,new tI,new vI,new PI,new RI,new YI,new $I,new aJ,new eJ,new gJ,new jJ,new lJ,new nJ,new pJ,new PH,new NH,new LH];pr(XE)&&a.push(new pI);return new hJ(a)} function UV(){var a=new bK;cK(a,new KP);cK(a,new LP);cK(a,new MP);cK(a,new NP);cK(a,new RP);cK(a,new SP);pr(XE)&&cK(a,new TP);cK(a,new UP);cK(a,new VP);cK(a,new WP);cK(a,new XP);cK(a,new YP);cK(a,new ZP);cK(a,new $P);cK(a,new aQ);cK(a,new bQ);cK(a,new cQ);cK(a,new QP);cK(a,new PP);cK(a,new OP);return a}function SV(a){var b=a.ad_system||"";a=PV(a,"system");return[b].concat(x(a))} function XV(a){a=a.verifications||null;if(!a)return null;var b=new jG;a.forEach(function(c){var d=c.vendor,e=c.parameters,f=cW(c);c=c.java_script_resources||[];c.length>0&&(c=c[0],kG(b,d,c.script_url||"",e,c.api_framework||"",f))});return b}function cW(a){var b=[];(a.tracking_events||[]).forEach(function(c){b.push(new fG(c.event,c.uri))});return b}function TV(a){if(!a)return[];var b=[];a.forEach(function(c){b.push(new fG("click",c))});return b} function ZV(a){var b=new Set;return a.filter(function(c){if(b.has(c.program))return!1;b.add(c.program);return!0})} function NV(a){var b=new DH;b.id=a.id||null;b.creativeType=a.creative_type||"";b.height=a.height||0;b.width=a.width||0;b.A=a.scalable||!1;b.l=a.maintain_aspect_ratio||!1;var c=a.min_suggested_duration;c&&(b.je=RJ(c)||0);b.resource=a.resource||"";b.resourceType=Zu[(a.type||"").toLowerCase()]||"";b.h=a.clickthrough_url||null;b.j=a.click_tracking_urls||[];b.ba=a.api_framework||null;b.adParameters=a.ad_parameters||null;return b};var dW=function(a){this.played=!1;this.data=a};dW.prototype.contains=function(a){return Math.floor(eW(this))<=a&&a<=Math.ceil(fW(this))};var eW=function(a){return a.data.start_float},fW=function(a){return a.data.end_float};dW.prototype.zd=function(){return eW(this)<=fW(this)};dW.prototype.equals=function(a){return a?eW(this)===eW(a)&&fW(this)===fW(a)&&this.played===a.played:!1};dW.prototype.ia=function(){var a={};a.end=fW(this);a.start=eW(this);a.played=this.played;return a};function gW(a){a=(a.cuepoints||[]).map(function(b){return new dW(b)});a=a.filter(function(b){return b.zd()});a.sort(function(b,c){return eW(b)-eW(c)});return a}function hW(a){var b={};a=w(Object.entries(a));var c=a.next(),d;try{for(;!c.done;c=a.next()){var e=w(c.value),f=e.next().value,g=e.next().value,h=f,k=g,l=k.non_linear_ads;l!==void 0&&l!==null&&Object.keys(l).length!==0||(b[h]=k)}}finally{c&&!c.done&&(d=a.return)&&d.call(a)}return b};var iW=function(){JV.apply(this,arguments)};u(iW,JV);var jW=function(a,b){var c=[];((a.data.times||{})[b]||[]).forEach(function(d){var e=d.url,f=d.event_uris;d={ad:d.ad||"",type:Gk(d.type)};e!==void 0&&(d.url=e);f!==void 0&&(d.wl=f);c.push(d)});return c};p=iW.prototype;p.getCuePoints=function(){return gW(this.data)};p.getAd=function(a,b,c){c=c===void 0?0:c;var d=KV(this,a);if(!d)return null;b=$V(d,b);if(!b)return null;b.pa=this.getAdPodInfo(a,c);return b}; p.Bg=function(){return hW(this.data.ads||{})};p.bj=function(){var a=this.data.times||{},b=w(Object.keys(a)),c=b.next(),d;try{for(;!c.done;c=b.next())for(var e=a[c.value],f=0;f0&&eW(a[0])===0;a.some(function(e,f){return e.contains(b||0)?(c.h=d?f:f+1,c.j=eW(e),!0):!1})}return c};var kW=function(a,b){this.ad=a;this.h=b};kW.prototype.getDuration=function(){var a=this.ad.Te();return a?a/1E3:0};var mV=function(a){return(a=a.ad.L.get(jG))?a.h:[]};p=kW.prototype;p.isSkippable=function(){return this.ad.isSkippable()};p.getSkipTimeOffset=function(){var a=this.ad.td();return a!=null?a/1E3:-1};p.getAdPodInfo=function(){return this.ad.getAdPodInfo()}; p.getContentType=function(){if(!this.h)return"";switch(this.h.format){case "dash":return"application/dash+xml";case "hls":return"application/x-mpegURL";default:return""}};p.pd=function(){return this.ad.pd()};p.Qe=function(){return this.ad.Qe()};p.getAdId=function(){return this.ad.getId()};function lW(a,b,c){if(!a)return null;a=new LF(b,a,c,cT(),b.Qe());VD();a.H&&a.o.zd()&&(Fz().H=!0,L(UD),b=a.o,Yy().B=b);b=L(UD);c=a.B;b.N=c;Yy().Gf(c);L(UD);c=a.A;b=Yy();try{var d=Nc(c);b.Hf(d)}catch(e){Zy($y,"lidarv",{processDecodedFlagsFailure:1},!0,1E-6),b.Hf(c)}d=Vy(b.flags,vD)?1:0;wy(b.T,"fmd",d);return a} function mW(a,b,c,d,e,f){var g=dT(f)?vV():new GT;c.na&&(b=g.Qj({ad:new kW(e,d),Zk:b,na:c.na,O:f,Jg:function(){return null},omidAccessModeRules:d.omidAccessModeRules}))&&(b.l=a,b.o.listen(b.l,"start",b.Z))};var nW=function(a){var b=a===void 0?{}:a;a=b.adBreakDuration;var c=b.we;c=c===void 0?0:c;var d=b.adPeriodDuration;d=d===void 0?0:d;var e=b.adPosition;e=e===void 0?0:e;var f=b.xe;f=f===void 0?0:f;var g=b.currentTime;g=g===void 0?0:g;var h=b.duration;h=h===void 0?0:h;var k=b.cd;k=k===void 0?[]:k;b=b.totalAds;b=b===void 0?0:b;this.adBreakDuration=a===void 0?0:a;this.we=c;this.adPeriodDuration=d;this.adPosition=e;this.xe=f;this.currentTime=g;this.duration=h;this.cd=k;this.totalAds=b}; nW.prototype.ia=function(){var a={};a.adBreakDuration=this.adBreakDuration;a.adBreakStartTime=this.we;a.adPeriodDuration=this.adPeriodDuration;a.adPosition=this.adPosition;a.adStartTime=this.xe;a.currentTime=this.currentTime;a.duration=this.duration;a.adsDurationsMs=this.cd;a.totalAds=this.totalAds;return a};function oW(a){var b="";a.forEach(function(c,d){E(c)||(c=encodeURIComponent(c),b+=d+"="+c+"&")});return b.slice(0,-1)};function pW(a,b,c){c=c.J;var d=null;try{d=(new URL(decodeURIComponent(b))).hostname}catch(e){}d!==c&&a.set("cdm",c)} function qW(a){var b=new Map;a.V?b.set("attmas",a.V):a.o!=null&&b.set("is_lat",a.o?"1":"0");if(Jw(a.ka))return b;var c=a.deviceId,d=Kw(a.ka),e=c&&c!=="00000000-0000-0000-0000-000000000000"&&!d,f=a.l==="dpid";a.l&&b.set("idtype",a.l);!c||f||d||b.set("rdid",c);c=function(){b.set("paopt",a.Pd?"0":"1")};(d=a.la)&&!e&&a.qc==="ios"&&(b.set("idfv",d),c());(f=a.Vb)&&!e&&(b.set("paid",f),d&&(f=rW(d))&&b.set("vid1",f),f=a.Od)&&(b.set("paid2",f),c(),d&&(c=sW(d))&&b.set("vid2",c));c=a.Z;d=a.ha;c&&d&&!e&&(b.set("pvid", c),b.set("pvid_s",""+d));return b}function rW(a){var b=new lv;jv(b,qb(a));a=rb(kv(b)).substring(0,32).toUpperCase();if(a.length===32)return[a.substring(0,8),a.substring(8,12),a.substring(12,16),a.substring(16,20),a.substring(20)].join("-")}function sW(a){var b=new lv;jv(b,qb(a));a=rb(kv(b)).substring(32).toUpperCase();if(a.length===32)return[a.substring(0,8),a.substring(8,12),a.substring(12,16),a.substring(16,20),a.substring(20)].join("-")};function tW(a,b,c,d,e){d=d===void 0?!1:d;var f,g,h;return A(function(k){if(k.l==1){var l,m=f=new Map(Object.entries((l=(d===void 0?0:d)?null:a.adTagParameters)!=null?l:{})),n=d;l=c.ka;var r=ex(c)||"",q=c.Oc||"",t=q?"ima-"+q:"";q=new Map;if(n===void 0?0:n)q.set("ott_placement","1"),q.set("nofb","1"),q.set("vad_type","nonlinear");q.set("ctv",String(hT(c)));q.set("mv",c.P==null?"":c.P+"."+c.Ca);q.set("ms",c.Ua||"");q.set("js",t);q.set("correlator",gx.toString());q.set("mpt",m.get("mpt")||Zv.getPlayerType()|| "");q.set("mpv",m.get("mpv")||Zv.getPlayerVersion()||"");q.set("ptt",(20).toString());n=Gk(Zv.getPpid());E(n)||q.set("ppid",n);if(cT()){n=q.set;t=String;var v=2,y=T&&uz(T).fb?!1:Ky(My().j);!yP(c)&&y&&(v|=2048);n.call(q,"osd",t(v))}q.set("sdr","1");n=q.set;t=a.j;a.ui.custom?(t=1,eT(a,c)&&(t+=2147483648),c.Tb||yP(c)||(t+=1024),t=t.toString(16)):(v=1,t?v=v+4+1024:eT(a,c)&&(v+=2147483648),!yP(c)&&(v+=64),c.zi&&(v+=4294967296),t=v.toString(16));n.call(q,"sdki",t);q.set("sdkv",r);c.Vc&&q.set("uach",c.Vc); q.set("ua",Ib());c.appName!=null&&(q.set("an",c.appName),(c.qc==="android"||c.Tb)&&q.set("msid",c.appName));var z;r=Xu((z=m.get("eid"))!=null?z:"");E(r)||q.set("eid",r);q.set("frm",String(c.H));c.md!=null&&q.set("submodel",c.md);if(dT(c)){var B;z="Google1/"+((B=c.Oc)!=null?B:"h.3.792.0")}else z=null;B=z;B!=null&&q.set("omid_p",B);B=a.j;z=!!a.ui.custom;B=B===void 0?!0:B;z=z===void 0?!1:z;r=[];!c.ra&&Zv.F!==0&&r.push("2");dT(c)&&r.push("7");!c.fe&&yP(c)||!B||z||r.push("8");r.length>0&&q.set("sdk_apis", r.join(","));m.get("sid")||q.set("sid",c.Bm);m=c.fa;m==null||Jw(l)||q.set("adsid",m);l=a.networkCode;Jw(c.ka)?l=null:pr(aF)&&e?(m=Kg(e,Hj,7,lg()),m=uW(m!=null?m:[],l!=null?l:null),PS(m,c.ka),l=DR(Lw(c.ka),l,null,m)):l=DR(Lw(c.ka));l&&q.set("a3p",l);z=c.Ce||{};(l=a.l)&&q.set("scar",l);q.set("ssss","gima");l=Map;m=[];B=m.concat;q=x(q);z=x(z);r=x(vW(a,c));n=x(qW(c));var F;t=new Map;v=a instanceof YH?!1:!((F=a.ui.custom)==null||!F.aboutThisAdSupport);v||gT(a instanceof YH?!0:a.j,c)||t.set("wta","0"); v=c.ka;F=new Map;y=F.set;if(v.j){var I=Fw(v,"rdp");I=zw(I)?"1":""}else I="";y.call(F,"rdp",I);F.set("us_privacy",Gw(v));y=F.set;I=Fw(v,"npa");I=zw(I);y.call(F,"npa",v.j&&I?"1":"");F.set("gdpr",Hw(v));F.set("gdpr_consent",Cw(v));y=F.set;I=Fw(v,"addtl_consent");y.call(F,"addtl_consent",v.h.j||I||"");F.set("gpp",v.h.gppString);F.set("gpp_sid",v.h.o);F.set("ltd",Iw(v)?"1":"");Aw(F);v=Map;y=[];I=y.concat;t=x(t);var M=new Map;Jw(c.ka)||(E(Zv.h)||M.set("adsid",Zv.h),E(Zv.o)||M.set("pucrd",Zv.o),E(Zv.l)|| M.set("jar",Zv.l));F=new v(I.call(y,t,x(M),x(F)));F=x(F);var Q;v=(Q=vW(a,c).get("url"))!=null?Q:"";Q=dq(vq);t=new Map;if(c.M&&!Jw(c.ka)){I=c.j;(y=I!=null&&NQ(I))&&t.set("cookie",I);I=c.F;M=I!=null&&NQ(I);Q&&M&&t.set("gpic",I);if(!y||Q&&!M)t.set("cookie_enabled","1"),pW(t,v,c);v=c.D;y=v!=null&&NQ(v);Q&&y&&t.set("pdopt",v)}Q=x(t);var U;t=(U=vW(a,c).get("url"))!=null?U:"";U=new Map;v=c.B;v!=null&&NQ(v)?U.set("eo_id_str",v):c.C&&(U.set("eoidce","1"),pW(U,t,c));g=new l(B.call(m,q,z,r,n,F,Q,x(U)));U=f.get("ctv", "");Q={};kx.getInstance().report(197,(Q.pctv=U,Q));return k.h(wW(a,g,b,c),2)}h=k.j;return k.return(new Map([].concat(x(f),x(h),x(g))))})}function wW(a,b,c,d){var e,f,g,h;return A(function(k){switch(k.l){case 1:e=new Map;f=bv;e.set(f.bk,a.apiKey);e.set(f.fk,a.authToken);e.set(f.Sk,a.streamActivityMonitorId);eT(a,d)&&e.set(f.Tk,"1");if(!a.enableNonce){k.Y(2);break}k.A(3);g=oW(b);return k.h(c.encrypt(g),5);case 5:h=k.j;e.set(f.vk,h);k.G(2);break;case 3:k.o();case 2:return k.return(e)}})} function vW(a,b){var c=a.adTagParameters||{},d;a=(d=c.page_url)!=null?d:"";var e;d=(e=c.description_url)!=null?e:"";e=yt(a)?a:d;e=new Vs(e);d=new Vs(b.G);c=new Vs(b.h);var f="unknown";kt(c,d)?f="flat":kt(e,d)?f="bottom":kt(e,c)&&(f="top");kx.getInstance().report(160,{contentLocation:f});e=new Map;d=b.referrer;E(Gk(d))||e.set("ref",d);if(yt(a)){e.set("url",a);var g;e.set("top",(g=b.h)!=null?g:"");e.set("loc",b.G)}else g=e.set,b=b.h&&yt(b.h)?b.h:b.referrer&&yt(b.referrer)?b.referrer:"null",g.call(e, "url",b);return e}function uW(a,b){return b?(a=a.find(function(c){return Wg(c,1)===b}))?[a]:[]:[]}function xW(a,b,c){var d=d===void 0?!1:d;var e,f;return A(function(g){if(g.l==1)return g.h(tW(a,b,c,d),2);e=g.j;f=new Vs;e.forEach(function(h,k){E(h)||it(f,k,h)});return g.return(f.j.toString())})};function yW(a,b){var c=b;a.forEach(function(d){var e=eW(d);d=fW(d);b>=d?c-=d-e:be&&(c-=b-e)});return c}function zW(a,b){var c=b,d=0,e=0;a.forEach(function(f){var g=eW(f);f=fW(f);d+=g-e;if(d>b)return c;c+=f-g;e=f});return c}function AW(a,b,c,d){xW(b,d,c).then(function(e){var f=Ru()?new qK:new Fu,g={};g=(g["Content-Type"]="application/x-www-form-urlencoded;charset=utf-8",g);f.Cd({url:a,timeout:new Ht(8E3),withCredentials:!b.h,content:e,headers:g})})};var BW=function(a,b,c,d,e,f,g){this.B=a;this.Kf=b;this.P=c;this.fa=d;this.O=e;this.Z=f;this.V=g;this.j=null;this.F=0;this.h="";this.G=0;this.A=!1;this.N=!0;this.D=!1;this.o=0;this.l=this.na=null;this.H=this.C=this.M=!1;this.volume=1;this.J=new Set},CW=function(a){Mt(a.na);a.H=!1;a.na=null;a.j=null;a.h=""},DW=function(a){a.A||(a.F=a.o,a.A=!0,a.dispatchEvent(new HT("adBreakStarted")))},FW=function(a){a.A&&(a.N&&(a.N=!1,(EW(a.B)||a.B.data.stream_type==="on_demand")&&kx.getInstance().report(206,{st:EW(a.B)? "live":"vod",meta:a.D?"1":"0",pt:Zv.getPlayerType()||"",pv:Zv.getPlayerVersion()||"",n:"0",ctv:yP(a.O)?"1":"0"})),a.dispatchEvent(new HT("adBreakEnded")),a.A=!1)}; BW.prototype.sb=function(){if(this.l){var a=this.l;var b=this.h,c=this.o,d=this.G;if(a==null||E(b))a=null;else{var e=a.Ya(b);a=new nW({adBreakDuration:a.Oe(e),we:this.F,adPeriodDuration:a.Ag(e),adPosition:a.getAdPosition(b),xe:d,currentTime:c-d,duration:((a.data.ads||{})[b]||{}).duration||0,totalAds:a.getTotalAds(e),cd:a.getAdPodInfo(b,d).cd})}}else a=null;return a};BW.prototype.getCurrentTime=function(){var a=this.sb();return a!=null?a.currentTime:0}; BW.prototype.getDuration=function(){var a=this.sb();return a!=null?a.duration:0};BW.prototype.getVolume=function(){return this.volume};var GW=function(a,b,c){!E(a.h)&&a.h===b&&a.na!=null&&a.na.report("progress",c.filter(function(d){return d.length>0}))},IW=function(a,b){if(a.J.has(b)||!a.l)return null;a.J.add(b);var c=a.l.getAd(b,a.Kf,a.o);if(!c)return CW(a),null;a.j=c;a.h=b;a.G=a.o;HW(a,c);return c};BW.prototype.Zb=function(a,b){var c;JW(this,a,(c=KW(b))!=null?c:void 0);a==="skip"&&LW(this)}; var MW=function(a){var b=a.B.getStreamData();a.dispatchEvent(new HT("loadStream",b))};BW.prototype.pe=function(a){this.M||(NW(this,a),this.M=!0);this.C&&(JW(this,"resume"),this.C=!1)};BW.prototype.oe=function(){this.C||(JW(this,"pause"),this.C=!0)};BW.prototype.qe=function(a){NW(this,a)}; var OW=function(a){if(a.j){var b=a.sb();b=b!=null?b.ia():{};a.dispatchEvent(new HT("adProgress",b));a.na&&(b=a.getDuration()*1E3,EF(a.na,a.getCurrentTime(),b))}},PW=function(a,b){b=b===void 0?!1:b;var c;!a.H&&(c=a.j)!=null&&c.isSkippable()&&(a.getCurrentTime()>=30||b)&&(a.H=!0,JW(a,"engagedView"))},QW=function(a){if(!a.A&&a.l){var b=a.l.Hg(a.h);a.F=a.G-b;a.A=!0;a.dispatchEvent(new HT("adBreakStarted"))}JW(a,"loaded");JW(a,"adCanPlay");JW(a,"impression");JW(a,"creativeView");JW(a,"start");a.volume=== 0&&JW(a,"mute")},JW=function(a,b,c){a.j&&(a.V.onEvent(b,a.j),a.na!=null&&a.na.report(b,c),a.dispatchEvent(new sG(b,a.j)))},LW=function(a){var b=a.l,c=a.h;if(b==null||E(c))var d=!0;else d=b.getTotalAds(b.Ya(c)),b=b.getAdPosition(c),d=typeof d!=="number"||typeof b!=="number"?!0:b>=d;CW(a);d&&FW(a)};BW.prototype.dispatchEvent=function(a){this.P.dispatchEvent(a)}; var HW=function(a,b){Mt(a.na);a.na=new vF(b.ca,new Lu(Ru()));b=iF({rj:"1",pa:b.getAdPodInfo(),ad:b,X:a.fa});GF(a.na,b);FF(a.na,new gF("SDKV",{toString:function(){return a.Kf}}));a.Z.forEach(function(c){var d;(d=a.na)!=null&&(c=c.create(),d.B.push(c))})},NW=function(a,b){if(a.j!=null){var c=b===0,d=a.volume===0;c&&!d?JW(a,"mute"):!c&&d&&JW(a,"unmute");a.volume!==b&&a.dispatchEvent(new sG("volumeChange",a.j,{volume:b}))}a.volume=b}; function KW(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};var RW=function(a,b){S.call(this);this.W=a;this.X=b;this.h=null};u(RW,S);p=RW.prototype;p.getVolume=function(){return this.X.getVolume()};p.cf=function(){return this.X.cf()};p.yd=function(){return this.X.yd()};p.Tg=function(){return this.X.Tg()};p.df=function(){return this.X.df()};p.getCurrentTime=function(){return this.W.getCurrentTime()};p.getDuration=function(){return this.W.getDuration()||-1};p.Ic=function(){return this.X.Ic()}; p.Rb=function(){this.wc();this.h=new mu(this);this.h.listen(this.W,"adProgress",this.ib);this.h.listen(this.W,"complete",this.Ck)};p.wc=function(){var a;(a=this.h)==null||a.dispose();this.h=null};p.zg=function(){return this.X.zg()};p.ib=function(){this.dispatchEvent("timeUpdate")};p.Ck=function(){this.dispatchEvent("end");this.wc()};var SW=function(a,b,c,d,e,f){S.call(this);this.j=a;this.O=d;this.l=new RW(this,c);this.controller=new BW(b,ex(this.O)||"",this,this.l,this.O,e,f)};u(SW,S);p=SW.prototype;p.sb=function(){return this.controller.sb()};p.getCurrentTime=function(){return this.controller.getCurrentTime()};p.getDuration=function(){return this.controller.getDuration()};p.getVolume=function(){return this.controller.getVolume()};p.th=function(){CW(this.controller);this.l.wc()};p.Zb=function(a,b){this.controller.Zb(a,b)}; p.pe=function(){this.controller.pe(this.l.getVolume())};p.oe=function(){this.controller.oe()};p.qe=function(a){this.controller.qe(a)};p.yd=function(){return this.l.yd()}; p.handleEvent=function(a,b,c,d){c=c===void 0?[]:c;switch(a.toLowerCase()){case "start":this.Yi(b,d);break;case "firstquartile":this.be("firstQuartile",b);break;case "midpoint":this.be("midpoint",b);break;case "thirdquartile":this.be("thirdQuartile",b);break;case "complete":this.Nd("complete",b);break;case "vastprogress":GW(this.controller,b,c)}};p.be=function(a,b){var c=this.controller;E(c.h)||c.h!==b?a=!1:(JW(c,a),a=!0);return a}; p.Nd=function(a,b){a=this.controller;E(a.h)||a.h!==b||(PW(a,!0),JW(a,"complete"),LW(a));this.l.wc()};var TW=function(a,b,c,d,e,f){SW.call(this,a,b,c,d,e,f);this.h=null;this.o=[];this.C=new Set};u(TW,SW);TW.prototype.onTimedMetadata=function(){this.controller.D=!0}; TW.prototype.ib=function(a){var b=this.controller.o;this.controller.o=a;if(this.h){PW(this.controller);var c=a-b;if(c<0||c>3)c=[String(Math.floor(a))];else{c=[];for(var d=Math.floor(b);d<=Math.floor(a);d++)c.push(String(d))}c=w(c);d=c.next();var e;try{for(;!d.done;d=c.next())UW(this,d.value)}finally{d&&!d.done&&(e=c.return)&&e.call(c)}try{a-=b,1<=a&&a<3&&kx.getInstance().report(146,{n:"0",ctv:yP(this.O)?"1":"0"},1)}catch(f){}VW(this);OW(this.controller)}}; var UW=function(a,b){var c,d=((c=a.h)==null?void 0:jW(c,b))||[];d.length===0||a.C.has(b)||(a.C.add(b),d.forEach(function(e){var f=e.type,g=e.ad,h=e.url||"";e=e.wl||[];E(g)?E(h)||f.toLowerCase()!=="start"&&f.toLowerCase()!=="complete"||Su([h]):a.handleEvent(f,g,e,b)}))};p=TW.prototype;p.replaceAdTagParameters=function(){};p.start=function(){return Promise.resolve()};p.contentTimeForStreamTime=function(a){return yW(this.o,a)}; p.previousCuePointForStreamTime=function(a){a:{for(var b=this.o,c=b.length-1;c>=0;c--){var d=b[c];if(eW(d)0?!1:!(GP(a)!=null||FP(a)!=null)&&!(a instanceof wG&&dQ(a))};var yX="avia.vtg.paramount.tech bet.com bet.plus cbs.com cbsinteractive.com cbsivideo.com paramountplus.com webplex.vmn.io".split(" ");function zX(){var a=window.document.domain;return $v("promotion_customize_ui")&&bT(a,yX)};var AX=function(a,b){R.call(this);this.h=a;this.Wf=b};u(AX,R);var rP=function(a){var b=a.Wf.qa.contentWindow;return{Re:function(){return b},Ze:function(){return a.h}}};var CX=function(a,b,c){S.call(this);this.j=a;this.h=b;this.l=c;BX(this,this.j.qa.contentWindow)};u(CX,S);var BX=function(a,b){b=qP(a.l,a.h,new AX(b,a.j));Ot(a,b);sP(b).then(function(){Ro(N.getInstance(),"ima_lsc");var c;(c=nP(a.h))==null||c.then(function(){Ro(N.getInstance(),"ima_csr")},function(){Ro(N.getInstance(),"ima_cmc")})});wP(b)};CX.prototype.R=function(){var a;(a=this.h)!=null&&a.Eb&&(a.Eb.reject(),a.Eb=null);S.prototype.R.call(this)};am();var DX={},EX=(DX.play="play",DX.pause="pause",DX.seeked="seeked",DX.seeking="seeking",DX.stalled="stalled",DX.timeUpdate="timeUpdate",DX.volumeChange="volumeChange",DX),FX=function(a,b,c,d,e){S.call(this);var f=this;this.X=a;this.W=b;this.ad=c;this.j=d;this.O=e;this.h=new mu(this);Ot(this,this.h);this.h.listen(this.X,Object.keys(EX),function(g){return void f.dispatchEvent(EX[g.type])})};u(FX,S); FX.prototype.Pe=function(){var a=this.ad.Pe()||"",b={};return HP(a,(b.sdkv=ex(this.O),b.eid=iq(),b.ssss="gima",b))}; var xP=function(a){var b=a.W.sb(),c=!0;b&&(c=b.duration7||b.ta===0)k.h=b.skipoffset!=null?b.skipoffset/1E3:-1,b.ta!=null&& k.h>=b.ta/1E3&&(k.h=-1);m=b.L.get(OF);b.L.get(dG);!m||kT(b.icons)||h.fe||(k.H=m.h);k.D=!0;k.B=!0;k.A=jT(b,h);k.icons=b.icons;k.F=iT(b);$v("force_wta_top_left")&&lT(k.icons);h.qc==="tvos"&&mT(k.icons);m=Yv(Zv);Fv(m,"disableSkipFadeTransition")&&(k.P=0);if(m=b.L.get(XF))k.N={re:m.re};k.o=h.A;m=k}h=m;h.G=d.l;m={};m.uiConfig=JX(h);(h=b.L.get(rG))?(k={},l=h.j,e={},l=(e.videoId=l.id,e.videoTitle=l.title,e.videoThumbnail=l.j,e.isTrueView=l.ec,e.isUnlisted=!l.h,e),k.videoMetadata=l,l=h.l,e={},l=(e.channelId= l.id,e.channelTitle=l.title,e.channelThumbnail=l.h,e.customUrl=l.j,e),h=(k.channelMetadata=l,k.format=h.h,k)):h=null;m.youtubeExtension=h;m.clickthroughUrl=b.j;if(a||c)b={},c?b.creativeHtml=c:b.creativeUrl=a,m.simidAdUi=b;vP(d,"start",m)}break;case "complete":case "skip":a=this.h;(b=a.h)==null||KX(b);vP(a,"complete");window.focus();(c=this.l)==null||c.dispose();this.l=null;break;case "pause":this.h.pause();break;case "resume":this.h.resume()}}; GX.prototype.ib=function(){var a=this.W.sb();if(a){var b=this.h,c={};c.timeInfo=a.ia();vP(b,"progress",c)}};GX.prototype.R=function(){pu(this.j);this.l=null;R.prototype.R.call(this)};var LX=function(a,b,c){R.call(this);this.X=a;this.W=b;this.bh=c;this.h=new mu(this)};u(LX,R);p=LX.prototype;p.Rb=function(){this.h.listen(this.X,"timeUpdate",this.ib);this.h.listen(this.X,"volumeChange",this.qe);this.h.listen(this.X,"play",this.pe);this.h.listen(this.X,"pause",this.oe);this.X.Rb()};p.ib=function(){var a=this.X.getCurrentTime();this.W.ib(a);var b=this.bh;a=Math.floor(a);if(a!==b.j){var c=a-1;c>=0&&b.h.has(c)&&MX(b,b.h.get(c));b.h.has(a)&&(b.j=a,MX(b,b.h.get(a)))}}; p.qe=function(){var a=this.X.getVolume();this.W.qe(a)};p.pe=function(){this.W.pe()};p.oe=function(){this.W.oe()};p.R=function(){pu(this.h)};var NX=function(a){this.data=a;this.position=0},OX=function(a,b){if(b<0||b>a.data.length-a.position)throw Error("Invalid skip");a.position+=b},PX=function(a){var b=a.data[a.position]&255;a.position++;return b},QX=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&&OX(this.h,d-4);c-=d}(b&8)!==0&&(c-=10);for(b=c;b>0;){c=QX(this.h,4);d=String.fromCharCode.apply(null,c);c=RX(this.h);if(c<=1)return a;OX(this.h,2);if("TXXX"===d){d=PX(this.h);switch(d){case 0:case 2:case 3:break;default:throw Error("Unsupported encoding "+d);}var e=DataView,f= this.h,g=c-1;if(g<0||g>f.data.length-f.position)throw Error("Invalid byteCount");var h=new ArrayBuffer(g);h=new Uint8Array(h);for(var k=0,l=f.position+g,m=f.position;m191&&h<224?(k=d[f++],e[g++]=String.fromCharCode((h&31)<<6|k&63)):h>239&&h<365?(k=d[f++],l=d[f++],m=d[f++],h=((h&7)<<18|(k&63)<<12|(l&63)<<6|m&63)-65536,e[g++]=String.fromCharCode(55296+ (h>>10)),e[g++]=String.fromCharCode(56320+(h&1023))):(k=d[f++],l=d[f++],e[g++]=String.fromCharCode((h&15)<<12|(k&63)<<6|l&63));d=e.join("");break a;default:d=""}a.push(d)}else OX(this.h,c-1);b-=c+10}if(a.length===0)throw Error("No TXXX frames found.");return a};var UX=["ID3","urn:google:dai:2018"],VX=function(a){this.W=a;this.j=-1;this.h=new Map},MX=function(a,b){b.forEach(function(c){c.Zi||(c.Zi=!0,a.W.onTimedMetadata(c.value))})};VX.prototype.processMetadata=function(a,b,c){UX.includes(a)&&b!=null&&(a=b instanceof Uint8Array?(new TX(new NX(b))).parse()[0]:b,a.indexOf("google_")===0&&(a={value:a,Zi:!1},c=Math.floor(c),this.h.has(c)?this.h.get(c).push(a):this.h.set(c,[a])))};var WX=function(){JV.apply(this,arguments)};u(WX,JV);p=WX.prototype;p.Yf=function(a){return((this.data.tags||{})[a]||{}).type||""};p.Xf=function(a){return((this.data.tags||{})[a]||{}).ad||""};p.getAd=function(a,b){var c=KV(this,a);if(!c)return null;b=$V(c,b);if(!b)return null;b.pa=this.getAdPodInfo(a);return b};p.Bg=function(){return hW(this.data.ads||{})}; p.bj=function(){var a=this.data.tags||{},b=w(Object.keys(a)),c=b.next(),d;try{for(;!c.done;c=b.next())if((a[c.value].type||"")==="progress")return!0}finally{c&&!c.done&&(d=b.return)&&d.call(b)}return!1};var XX=function(a,b){a=a.Yf(b);if(!a)return!1;switch(a.toLowerCase()){case "progress":case "vastprogress":return!1;default:return!0}},YX=function(a){a=a.data.next_delta_token;return Vd(a)?a:""};WX.prototype.Dg=function(){return"breaks"}; var $X=function(a,b,c){if(c in b.data){var d,e;a.data[c]=Object.assign({},(d=ZX(a,c))!=null?d:{},(e=ZX(b,c))!=null?e:{})}},aY=function(a,b){if(b&&b.length!==0){var c=ZX(a,a.Dg()),d=ZX(a,"ads"),e=ZX(a,"tags"),f=new Set(b);b=Object.keys(d).filter(function(n){return f.has(a.Ya(n))});var g=Object.keys(e).filter(function(n){return f.has(a.Ti(n))});g=w(g);var h=g.next(),k;try{for(;!h.done;h=g.next())delete e[h.value]}finally{h&&!h.done&&(k=g.return)&&k.call(g)}e=w(b);k=e.next();var l;try{for(;!k.done;k= e.next())delete d[k.value]}finally{k&&!k.done&&(l=e.return)&&l.call(e)}d=w(f);l=d.next();var m;try{for(;!l.done;l=d.next())delete c[l.value]}finally{l&&!l.done&&(m=d.return)&&m.call(d)}}},ZX=function(a,b){a=a.data[b];return $d(a)?a:{}};WX.prototype.Ti=function(a){return(a=this.Xf(a))?this.Ya(a):""}; WX.prototype.getAdPodInfo=function(a,b){b=JV.prototype.getAdPodInfo.call(this,a,b===void 0?0:b);a=this.Ya(a);var c=((this.data.breaks||{})[a]||{}).type||"";b.h=-2;switch(c){case "pre":b.h=0;break;case "mid":a=Number(a),isNaN(a)||(b.h=a)}return b};var bY=function(){WX.apply(this,arguments)};u(bY,WX);p=bY.prototype;p.Yf=function(a){return cY(this,a).type||""};p.Xf=function(a){return cY(this,a).ad||""};p.Ya=function(a){return((this.data.ads||{})[a]||{}).ad_break_id||""};p.getTotalAds=function(a){return((this.data.ad_breaks||{})[a]||{}).ads||0};p.Oe=function(a){return((this.data.ad_breaks||{})[a]||{}).duration||0};p.Ag=function(a){return((this.data.ad_breaks||{})[a]||{}).expected_duration||0}; p.Hg=function(a){var b=this.data.ads||{},c=this.getAdPosition(a);a=this.Ya(a);var d=0,e=w(Object.keys(b)),f=e.next(),g;try{for(;!f.done;f=e.next()){var h=b[f.value]||{},k=h.position||Number.MAX_SAFE_INTEGER,l=h.duration||0;a===h.ad_break_id&&k>0&&k0}).sort(function(k,l){return k.position-l.position})};p.Ti=function(a){a=cY(this,a);var b=a.ad;return a.ad_break_id||this.Ya(b)}; var cY=function(a,b){a=a.data.tags||{};var c=w(Object.keys(a)),d=c.next(),e;try{for(;!d.done;d=c.next()){var f=d.value;if(b.startsWith(f))return a[f]}}finally{d&&!d.done&&(e=c.return)&&e.call(c)}return{}};var dY=function(a){this.data=a=a===void 0?{}:a},eY=function(a){var b=a.data.polling_frequency;return isNaN(b)||b==null||b<0?10:a.data.polling_frequency},fY=function(a){return a.data.stream_id||""};dY.prototype.Ye=function(){return this.data.pod_manifest_url||""};dY.prototype.getStreamData=function(){var a={};return a.pod_manifest_url=this.Ye(),a.manifestFormat=this.data.manifest_format||"",a.streamUrl=this.data.stream_manifest||"",a.subtitles=this.data.subtitles||[],a.streamId=fY(this),a}; var EW=function(a){return a.data.stream_type==="live"};dY.prototype.ia=function(){return this.data};var gY=function(){S.call(this);this.j=this.currentTime=0;this.h=!1};u(gY,S);gY.prototype.ib=function(a){this.currentTime=a;a=Math.abs(this.currentTime-this.j);this.h&&a>2.5&&(this.h=!1,this.dispatchEvent(new HT("adPeriodEnded")))};gY.prototype.reset=function(){this.j=this.currentTime=0;this.h=!1};var hY=new Map([["top","down"],["bottom","up"],["left","right"],["right","left"]]);var kY=function(){S.call(this);var a=this;this.h=new Map;this.j=null;this.A=function(b){b.stopPropagation();b.preventDefault();iY(a,"left")};this.C=function(b){b.stopPropagation();b.preventDefault();iY(a,"right")};this.D=function(b){b.stopPropagation();b.preventDefault();iY(a,"top")};this.o=function(b){b.stopPropagation();b.preventDefault();iY(a,"bottom")};this.l=function(b){var c=NO.get(b.key);if(!b.defaultPrevented&&c){var d=document.activeElement;if(d){var e=w(a.h.entries()),f=e.next(),g;try{for(;!f.done;f= e.next()){var h=w(f.value),k=h.next().value,l=h.next().value,m=k;if(l===d){var n=hY.get(m);if(n&&c===n){b.preventDefault();b.stopPropagation();jY(a,m);break}break}}}finally{f&&!f.done&&(g=e.return)&&g.call(e)}}}};this.container=El("DIV");this.container.style.border="0";this.container.style.boxSizing="border-box";this.container.style.height="100%";this.container.style.margin="0";this.container.style.padding="0";this.container.style.position="absolute";this.container.style.width="100%"};u(kY,S); var jY=function(a,b){var c={};b=new XS("focusInnerFrame",(c.bound=b,c));a.dispatchEvent(b)},iY=function(a,b){if(a.j===b)a.j=null;else{var c=a.h.get(b);c&&(c.style.border="0",c.style.outline="none",jY(a,b))}},KX=function(a){document.removeEventListener("keydown",a.l);var b=w(a.h.entries()),c=b.next(),d;try{for(;!c.done;c=b.next()){var e=w(c.value),f=e.next().value,g=e.next().value;switch(f){case "top":g.removeEventListener("focus",a.D);break;case "bottom":g.removeEventListener("focus",a.o);break;case "left":g.removeEventListener("focus", a.A);break;case "right":g.removeEventListener("focus",a.C)}}}finally{c&&!c.done&&(d=b.return)&&d.call(b)}a.h.clear();a.container.textContent="";a.j=null};kY.prototype.dispose=function(){KX(this);var a;(a=this.container.parentElement)==null||a.removeChild(this.container);S.prototype.dispose.call(this)};function lY(a){var b={};return b.program=a.program,b.apiFramework=a.ba,b.widthPx=a.j,b.heightPx=a.h,b.pxRatio=a.C,b.xPosition=a.xPosition,b.yPosition=a.yPosition,b.offsetMs=a.gb,b.durationMs=a.ta,b.clickthroughUrl=a.o,b.staticResourceUrl=a.l,b.staticResourceMimeType=a.G,b.iconViewTrackingUrls=a.F,b.iconClickTrackingUrls=a.B,b.iconClickFallbackImages=a.A.map(function(c){var d={};return d.widthPx=c.l,d.heightPx=c.h,d.staticResourceUrl=c.j,d.creativeType=c.creativeType,d.altText=c.altText,d}),b} function JX(a){var b=a.N,c={},d={};return d.skipTime=a.h,d.enableAttributionBar=a.j,d.enableCountdown=a.l,d.enableLearnMoreButton=a.A,d.enableTitleBar=a.B,d.enableYouTubeMetadata=a.M,d.gvnStyleAnnotation=a.C,d.wtaClickthroughUrl=a.H,d.icons=a.icons.map(function(e){return lY(e)}),d.hasClickthrough=a.D,d.gpidAttributionData=a.J?JSON.stringify(Nf(a.J)):null,d.enigmaWatermarkData=b?(c.overlayPngBase64=b.re,c):null,d.useKeyNavigation=a.G,d.supportsIconClickFallback=a.o,d};var mY=Promise;var nY=function(a){this.j=a};nY.prototype.h=function(a,b,c){this.j.then(function(d){d.h(a,b,c)})};var oY=function(a){this.data=a};var pY=function(a){this.j=a};pY.prototype.h=function(a,b,c){c=c===void 0?[]:c;var d=new MessageChannel;qY(d.port1,b);this.j.postMessage(a,[d.port2].concat(c))};var rY=function(a,b){qY(a,b);return new pY(a)},qY=function(a,b){b&&(a.onmessage=function(c){b(new oY(c.data,rY(c.ports[0])))})};var sY=function(a){this.h=a},tY=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 vY=function(a){var b=a.destination;var c=a.qa;var d=a.origin;var e=a.jg;e=e===void 0?"ZNWN1d":e;var f=a.onMessage;f=f===void 0?void 0:f;a=a.pj;a=a===void 0?void 0:a;return uY({destination:b,ae:function(){return c.contentWindow},Am:d instanceof sY?d:typeof d==="function"?new sY(d):new sY(tY(d)),jg:e,onMessage:f,pj:a})},uY=function(a){var b=a.destination;var c=a.ae;var d=a.Am;var e=a.Dq;var f=e===void 0?void 0:e;var g=a.jg;e=a.onMessage;var h=e===void 0?void 0:e;a=a.pj;var k=a===void 0?void 0:a; return new nY(new mY(function(l,m){var n=function(r){r.source&&r.source===c()&&d.h(r.origin)&&(r.data.n||r.data)===g&&(b.removeEventListener("message",n,!1),f&&r.data.t!==f?m(Error('Token mismatch while establishing channel "'+g+'". Expected '+f+", but received "+r.data.t+".")):(l(rY(r.ports[0],h)),k&&k(r)))};b.addEventListener("message",n,!1)}))};function wY(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,m,n){if(l=="%")return"%";var r=c.shift();if(typeof r=="undefined")throw Error("[goog.string.format] Not enough arguments");arguments[0]=r;return xY[l].apply(null,arguments)})} var xY={s:function(a,b,c){return isNaN(c)||c==""||a.length>=Number(c)?a:a=b.indexOf("-",0)>-1?a+Fk(" ",Number(c)-a.length):Fk(" ",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+Fk(" ",a):f+Fk(b.indexOf("0",0)>=0?"0":" ",a)+d},d:function(a,b,c,d,e,f,g,h){return xY.f(parseInt(a,10),b,c,d,0,f,g,h)}};xY.i=xY.d;xY.u=xY.d;var yY=sa(["https://imasdk.googleapis.com/js/core"]);function zY(a,b){a=(Lk()?"https:":"http:")+wY(b.Tb?"//imasdk.googleapis.com/js/core/dai_ctv_iframe3.792.0_%s.html":"//imasdk.googleapis.com/js/core/dai_iframe3.792.0_%s.html",a);a=new Vs(a);a.j.add("origin",window.location.origin);return a} function AY(a,b,c){var d=zl(yY);b=(b.Tb?"dai_ctv_iframe":"dai_iframe")+"3.792.0_"+c+".html";d=yl(ek(d).toString());b=d.Jh+(d.Jh.slice(-1)==="/"?"":"/")+encodeURIComponent(b);d=dk(b+d.params+d.fragment);b={};b=(b.origin=window.location.origin,b);d=yl(ek(d).toString());d=Al(d.Jh,d.params,d.fragment,b);a.src=ek(d).toString()} var DY=function(a,b,c,d,e){e=e===void 0?!1:e;S.call(this);var f=this;this.O=d;this.l=e;this.h=null;this.j=zY(b,d);pr(WE)?(this.qa=El("IFRAME"),this.qa.allowFullscreen=!0,this.qa.style.height="100%",this.qa.style.border="0",this.qa.style.margin="0",this.qa.style.padding="0",this.qa.style.position="relative",this.qa.style.width="100%",this.qa.style.colorScheme="light",this.qa.title="Advertisement",AY(this.qa,d,b)):this.qa=gm("IFRAME",{src:this.j.toString(),allowFullscreen:!0,style:"height: 100%; border: 0; margin: 0; padding: 0;position: relative; width: 100%; color-scheme: light", title:"Advertisement"});a.appendChild(this.qa);this.l&&(this.qa.tabIndex=-1,this.qa.style.position="absolute",this.qa.style.top="0",this.qa.style.left="0",this.h=new kY,this.h.listen("focusInnerFrame",function(g){f.focus(g.data.bound)}),Ot(this,this.h),a.appendChild(this.h.container));this.o=BY(this,this.qa);CY(this);IX(this)};u(DY,S); var EY=function(a){var b=a.j.h;return b?a.j.o+"://"+b:window.location.origin},CY=function(a){var b={experimentIds:iq()};b.imaSdkSettings=Zv.ia();b.topAccessiblePageUrl=Cv();var c=Dl(),d=Mq(),e=J(d,Iq,1),f={};e=(f.experimentStateProto=e==null?void 0:e.ia(),f);b.genotypeExperimentData=e;b.pvsid=c;b.eventfeExperimentIds=Yg(d,2);b.managedJsExperimentId=Sg(d,5);vP(a,"loaded",b)},BY=function(a,b){return vY({destination:window,qa:b,origin:EY(a),jg:"uiChannel",onMessage:function(c){var d=c.data.type;c=c.data.data; c=c===void 0?{}:c;switch(d){case "localeUpdated":case "videoClicked":case "click":case "pause":case "resume":case "skip":case "skipShown":case "updateGfpCookie":case "videoIconClicked":case "vastIconRendered":a.dispatchEvent(new XS(d,c));break;case "focusOuterFrame":var e=c.bound;if(e&&a.h){window.focus();var f=a.h,g=f.h.get(e);g&&(f.j=e,g.focus());a.dispatchEvent(new XS(d,c))}}}})},IX=function(a){Bm(a.qa,{display:"none"});(a=a.h)!=null&&(a.container.style.display="none")}; DY.prototype.focus=function(a){a=a===void 0?null:a;var b={};vP(this,"focusInnerFrame",(b.bound=a,b))};DY.prototype.pause=function(){vP(this,"pause")};DY.prototype.resume=function(){vP(this,"resume")};var vP=function(a,b,c){c=c===void 0?{}:c;var d={};d.type=b;d.data=c;a.o.h(d)};var FY=function(){},GY=function(a,b){a=new Vs(a);b.h&&Xs(a,"dai.google.com");return a},HY=function(a){var b=a.adTagParameters,c=new Map;if(b!=null){var d=w(Object.keys(b)),e=d.next(),f;try{for(;!e.done;e=d.next()){var g=e.value,h=b[g];h!=null&&c.set(g,h)}}finally{e&&!e.done&&(f=d.return)&&f.call(d)}}c.set("api-key",a.apiKey);c.set("auth-token",a.authToken);c.set("dai-sam-id",a.streamActivityMonitorId);a.h&&c.set("cld","1");return c};FY.prototype.mi=function(){return null};FY.prototype.gd=function(){return null};function IY(a,b,c){return a+"/"+b+"/vid/"+c+"/streams"}function JY(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 KY(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 LY(a,b){b.forEach(function(c,d){E(c)||it(a,d,c)})};var MY=function(){};u(MY,FY);MY.prototype.Sc=function(a){return NY(a)&&a.format==="dash"};MY.prototype.Ac=function(a,b){b=b===void 0?new Map:b;var c=GY(E(a.assetKey)?IY("https://pubads.g.doubleclick.net/ondemand/dash/content",a.contentSourceId,a.videoId):"https://pubads.g.doubleclick.net/ssai/event/"+a.assetKey+"/streams",a);a=HY(a);LY(c,a);LY(c,b);return c.toString()};MY.prototype.gd=function(){var a={};return a["Content-Type"]="application/x-www-form-urlencoded;charset=utf-8",a};var OY=function(){};u(OY,FY);OY.prototype.Sc=function(a){return NY(a)&&a.format!=="dash"};OY.prototype.Ac=function(a,b){b=b===void 0?new Map:b;var c=GY(E(a.assetKey)?IY("https://pubads.g.doubleclick.net/ondemand/hls/content",a.contentSourceId,a.videoId):"https://pubads.g.doubleclick.net/ssai/event/"+a.assetKey+"/streams",a);a=HY(a);LY(c,a);LY(c,b);return c.toString()};OY.prototype.gd=function(){var a={};return a["Content-Type"]="application/x-www-form-urlencoded;charset=utf-8",a};var PY=function(){};u(PY,FY);PY.prototype.Sc=function(a){return fT(a)||QY(a)};PY.prototype.Ac=function(a,b){b=b===void 0?new Map:b;var c=GY("https://pubads.g.doubleclick.net/ssai/pods/api/v1/network/"+a.networkCode+"/custom_asset/"+a.customAssetKey+"/stream",a),d=HY(a);LY(c,d);LY(c,b);it(c,"manifest-type",a.format);return c.toString()};PY.prototype.gd=function(){var a={};return a["Content-Type"]="application/x-www-form-urlencoded;charset=utf-8",a};var RY=function(){};u(RY,FY);RY.prototype.Sc=function(a){return SY(a)||TY(a)||UY(a)};RY.prototype.Ac=function(a){return GY("https://pubads.g.doubleclick.net/ondemand/pods/api/v1/network/"+a.networkCode+"/stream_registration",a).toString()};RY.prototype.mi=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))}; RY.prototype.gd=function(){if(Zv.getFeatureFlags().daiPodVodNoPreflight){var a={};return a["Content-Type"]="text/plain",a}a={};return a["Content-Type"]="application/json",a};var VY=function(){};u(VY,FY);VY.prototype.Sc=function(a){return NY(a)&&a.o}; VY.prototype.Ac=function(a,b){b=b===void 0?new Map:b;var c=new Vs(fT(a)?"https://truman-qa.sandbox.google.com/ssai/pods/api/v1/network/"+a.networkCode+"/custom_asset/"+a.customAssetKey+"/stream":E(a.assetKey)?a.format==="dash"?IY("https://truman-qa.sandbox.google.com/ondemand/dash/content",a.contentSourceId,a.videoId):IY("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=HY(a);LY(c,d); LY(c,b);fT(a)&&!E(a.format)&&it(c,"manifest-type",a.format);return c.toString()};var WY=function(){};u(WY,FY);WY.prototype.Sc=function(){return!1};WY.prototype.Ac=function(){return""};var XY=function(){this.h=[]},YY=function(a,b){a=w(a.h);var c=a.next(),d;try{for(;!c.done;c=a.next()){var e=c.value;if(e.Sc(b))return e}}finally{c&&!c.done&&(d=a.return)&&d.call(a)}return new WY};var ZY=function(){};u(ZY,FY);ZY.prototype.Sc=function(){return!1};ZY.prototype.Ac=function(a,b){b=b===void 0?new Map:b;var c="";E(a.assetKey)?$Y(a)?c=a.contentSourceId:fT(a)&&(c=a.networkCode):c=a.assetKey;c=new Vs(c);a=HY(a);LY(c,a);LY(c,b);return c.toString()};ZY.prototype.gd=function(){var a={};return a["Content-Type"]="application/x-www-form-urlencoded;charset=utf-8",a};var aZ=function(){var a;this.j=a=a===void 0?Ru()?new qK:new Fu:a;this.h=new XY},bZ=function(a,b){b&&a.h.h.push(b)}; aZ.prototype.fetch=function(a,b,c){c=c===void 0?new Map:c;var d=new tJ("Invalid stream initialization request.",2001);if(!NY(a))return Promise.reject(d);var e=YY(this.h,a),f=e.Ac(a,c);b.qc==="tvos"&&f.startsWith("https://pubads.g.doubleclick.net")&&dq(wq)&&(f=f.replace("https://pubads.g.doubleclick.net/","https://pubads-att.g.doubleclick.net/"));var g=e.gd();c=e.mi(c);if(E(f))return Promise.reject(d);var h=Date.now();return this.j.Cd({headers:g!=null?g:void 0,url:f,timeout:new Ht(cZ(a)),withCredentials:!a.h, content:c!=null?c:void 0}).then(function(k){var l=b.wa;var m=new xn;m=jh(m,1,h);m=jh(m,2,Date.now());Mg(l,14,m);l=new dY(k);if(l.data.stream_id==null)throw new tJ("Stream initialization response was invalid.\nResponse: "+JSON.stringify(k),1020);return l}).catch(function(k){var l=new tJ("Stream initialization failed",1020);k instanceof tJ?l=k:k instanceof Kt?l=dZ(a,f,k.dj):k instanceof Error&&(k=Number(k.message),k=isNaN(k)?500:Math.floor(k),l=dZ(a,f,k));throw l;})}; var dZ=function(a,b,c){var d=1020,e="Stream initialization failed because\nHTTP status code: ";c===404?(d=1020,E(a.assetKey)?$Y(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=1024,e="Stream initialization failed because: \nAPI key was incorrect. Access unauthorized\nHTTP status code: "): c===408&&(d=1023,e="Stream initialization failed because: \nRequest timed out\nHTTP status code: ");return new tJ(e+(c+" with URL: "+b),d)};var eZ=function(){this.adTagParameters=null;this.customAssetKey=this.contentSourceUrl=this.contentSourceId=this.authToken=this.assetKey=this.apiKey="";this.h=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.videoStitcherSessionOptions=this.l=null;this.ui={custom:null};this.format="hls"},cZ=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},NY=function(a){return!E(a.assetKey)||$Y(a)||fT(a)||SY(a)||TY(a)||UY(a)||QY(a)},fT=function(a){return!E(a.networkCode)&&!E(a.customAssetKey)},SY=function(a){return!E(a.networkCode)&&!fT(a)&&!(TY(a)||UY(a))&&!QY(a)&&!!E(a.assetKey)&&!$Y(a)},QY=function(a){return fT(a)&&!E(a.liveStreamEventId)&&!E(a.region)&&!E(a.projectNumber)&&!E(a.oAuthToken)}, TY=function(a){return!E(a.vodConfigId)&&!E(a.region)&&!E(a.projectNumber)&&!E(a.oAuthToken)&&!E(a.networkCode)},UY=function(a){return E(a.vodConfigId)&&!E(a.networkCode)&&!E(a.region)&&!E(a.projectNumber)&&!E(a.oAuthToken)&&!E(a.adTagUrl)&&!E(a.contentSourceUrl)},$Y=function(a){return!E(a.contentSourceId)&&!E(a.videoId)};function fZ(){this.h=[];this.j=[]}p=fZ.prototype;p.isEmpty=function(){return this.h.length===0&&this.j.length===0};p.clear=function(){this.h=[];this.j=[]};p.contains=function(a){return jc(this.h,a)||jc(this.j,a)};p.remove=function(a){var b=this.h;var c=Xb(b,a);c>=0?(lc(b,c),b=!0):b=!1;return b||kc(this.j,a)};p.ud=function(){for(var a=[],b=this.h.length-1;b>=0;--b)a.push(this.h[b]);b=this.j.length;for(var c=0;c3E5?c.h(GZ(a),3):c.Y(2);c.l!=2&&(a.signal=c.j,a.h=Date.now());return c.return(a.signal)})},GZ=function(a){return Promise.race([FZ(a).then(function(b){if(b== null)return null;a.signal=b.length>1E4?"0":b;a.h=Date.now();return a.signal}),Wx(a.timeoutMs,"0")])};/* 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)};u(W,Error);W.prototype.name="SecurityException";var IZ=function(a){this.I=H(a)};u(IZ,K);var JZ=function(a){this.I=H(a)};u(JZ,K);JZ.prototype.getVersion=function(){return Tg(this,1)};var KZ=function(a){this.I=H(a)};u(KZ,K);var LZ=function(a){this.I=H(a)};u(LZ,K);LZ.prototype.getVersion=function(){return Tg(this,1)};var MZ=function(a){this.I=H(a)};u(MZ,K);MZ.prototype.getVersion=function(){return Tg(this,1)};var NZ=[0,uj];var OZ=[0,xj,uj];var PZ=yj(MZ,[0,uj,[0,uj,NZ,sj],[0,uj,OZ,sj]]);var QZ=function(a){this.I=H(a)};u(QZ,K);var RZ=function(a){this.I=H(a)};u(RZ,K);RZ.prototype.getVersion=function(){return Tg(this,3)};var SZ=function(a){this.I=H(a)};u(SZ,K);var TZ=yj(SZ,[0,[0,NZ,uj],[0,OZ,uj,-1]]);var UZ=function(a){this.I=H(a)};u(UZ,K);UZ.prototype.getVersion=function(){return Tg(this,1)};var VZ=yj(UZ,[0,uj,1,sj]);var WZ=function(a){this.I=H(a)};u(WZ,K);WZ.prototype.getVersion=function(){return Tg(this,3)};var XZ=yj(WZ,[0,1,uj,-1]);var YZ=function(a){this.I=H(a)};u(YZ,K);YZ.prototype.getValue=function(){return tg(this,2)};YZ.prototype.clearValue=function(){return kg(this,2)};var ZZ=function(a){this.I=H(a)};u(ZZ,K);var $Z=[0,1,[0,oj,sj,xj]];var a_=function(a){this.I=H(a)};u(a_,K);var b_=[0,xj,-1,8,sj];var c_=function(a){this.I=H(a)};u(c_,K);var d_=[0,b_,$Z,xj];var e_=function(a){this.I=H(a)};u(e_,K);var f_=yj(e_,[0,d_]);var g_=function(a){this.I=H(a)};u(g_,K);g_.prototype.getVersion=function(){return Tg(this,1)};var h_=[0,uj,d_,sj,-1];var i_=function(a){this.I=H(a)};u(i_,K);i_.prototype.getVersion=function(){return Tg(this,1)};var j_=yj(i_,[0,uj,h_,sj]);var k_=yj(g_,h_);var l_=function(a){this.I=H(a)};u(l_,K);l_.prototype.Hc=function(){return Xg(this,3)};var m_=[0,xj,-2];var n_=function(a){this.I=H(a)};u(n_,K);var o_=[0,m_];n_.prototype.j=zj(o_);var p_=yj(n_,o_);/* Copyright 2023 Google LLC SPDX-License-Identifier: Apache-2.0 */ var q_=function(a){this.I=H(a)};u(q_,K);q_.prototype.getVersion=function(){return Tg(this,1)};var r_=function(){var a=new q_;return ih(a,1,0)};var s_=[0,uj,m_,sj];var t_=function(a){this.I=H(a)};u(t_,K);t_.prototype.getVersion=function(){return Tg(this,1)};var u_=function(a){var b=new t_;b=ih(b,1,0);return Mg(b,2,a)};var v_=yj(t_,[0,uj,s_,sj]);var w_=yj(q_,s_);var x_=function(a){this.I=H(a)};u(x_,K);x_.prototype.getValue=function(){return tg(this,2)};x_.prototype.clearValue=function(){return kg(this,2)};var y_=[0,oj,sj,xj];var z_=function(a){this.I=H(a)};u(z_,K);z_.prototype.Fa=function(){return Xg(this,2)};var A_=[0,y_,xj,uj,xj];var B_=function(a){this.I=H(a)};u(B_,K);var C_=function(a){return Kg(a,z_,2,lg())};var D_=yj(B_,[0,uj,qj,A_]);var E_=function(a){this.h=a};E_.prototype.read=function(){try{var a=D_(this.h)}catch(b){throw new W("Could not parse the given serialized proto as a keyset proto.");}if(C_(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)};u(X,Error);X.prototype.name="InvalidArgumentsException";var F_=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)},G_=new Uint8Array(0);var H_=function(a,b,c){this.primitive=a;this.h=b;this.j=c};H_.prototype.Za=function(){return this.primitive};var I_=function(a){this.l=a;this.j=null;this.h=new Map};I_.prototype.Ea=function(){return this.l};var K_=function(a,b){return(a=J_(a,b))?a:[]},J_=function(a,b){b instanceof Uint8Array&&(b=[].concat(x(b)).toString());return a.h.get(b)};/* Copyright 2022 Google LLC SPDX-License-Identifier: Apache-2.0 */ function L_(a){return a==null?void 0:new Uint8Array(dd(a)||0)}function M_(a){a==null?a=void 0:a=(a=dd(a))?a.length:0;return a};function N_(){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 P_(a){for(var b="",c=0;c1?d:"0"+d}return b} function Q_(a){a=a.replace(/-/g,"+").replace(/_/g,"/");return R_(globalThis.atob(a))}function S_(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=Q_(b);b=Q_(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]=X_(BigInt("0x"+P_(b)),0)?3:2;return d;default:throw new W("invalid format");}} function Y_(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 Z_(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=Y_(U_(a));var e=d-BigInt(3);a:switch(U_(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(X_(d,0)&&X_(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 y0=function(a,b){this.key=a;this.fc=b};y0.prototype.encrypt=function(a){var b=this,c,d,e,f;return A(function(g){if(g.l==1)return w0(a),c=q0(b.fc),d=new Uint8Array(16),d.set(c),e={name:"AES-CTR",counter:d,length:128},g.h(globalThis.crypto.subtle.encrypt(e,b.key,a),2);f=g.j;return g.return(N_(c,new Uint8Array(f)))})}; y0.prototype.decrypt=function(a){var b=this,c,d,e;return A(function(f){if(f.l==1){w0(a);if(a.length16)throw new W("invalid IV length, must be at least 12 and at most 16");w0(a);v0(a.length);return d.h(globalThis.crypto.subtle.importKey("raw",a,{name:"AES-CTR",length:a.length},!1,["encrypt","decrypt"]),2)}c=d.j;return d.return(new y0(c,b))})};var A0=function(){};var B0=function(a,b,c){this.hash=a;this.key=b;this.xc=c};u(B0,A0);var C0=function(a,b){var c;return A(function(d){if(d.l==1)return w0(b),d.h(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.xc)))})},D0=function(a,b,c){var d;return A(function(e){if(e.l==1)return w0(b),w0(c),e.h(C0(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 e.h(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 B0(a,d,c))})};var F0=function(a,b,c,d){this.h=a;this.fc=b;this.j=c;this.xc=d};u(F0,t0);F0.prototype.encrypt=function(a,b){b=b===void 0?new Uint8Array(0):b;var c=this,d,e,f;return A(function(g){if(g.l==1)return w0(a),g.h(c.h.encrypt(a),2);if(g.l!=3)return d=g.j,w0(b),e=O_(b.length*8),g.h(C0(c.j,N_(b,d,e)),3);f=g.j;if(c.xc!=f.length)throw new W("invalid tag size, expected "+c.xc+" but got "+f.length);return g.return(N_(d,f))})}; F0.prototype.decrypt=function(a,b){b=b===void 0?new Uint8Array(0):b;var c=this,d,e,f,g,h;return A(function(k){if(k.l==1){w0(a);if(a.length16)throw new W("Invalid AES CTR HMAC key format: IV size is out of range: "+c);return{bl:a,ze:b,fc:c}},J0=function(a){if(!a)throw new W("Invalid AES CTR HMAC key format: key format undefined");var b=Tg(a,2);if(b<16)throw new W("Invalid AES CTR HMAC key format: HMAC key is too small: "+ Tg(a,2));a=J(a,KZ,1);if(!a)throw new W("Invalid AES CTR HMAC key format: params undefined");var c=Tg(a,2);if(c<10)throw new W("Invalid HMAC params: tag size "+c+" is too small.");if(!K0.has(Xg(a,1)))throw new W("Unknown hash type.");if(c>K0.get(Xg(a,1)))throw new W("Invalid HMAC params: tag size "+c+" is out of range.");switch(Xg(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{Pl:a,Ol:b,Nl:d,xc:c}},K0=new Map([[1,20],[3,32],[4,64]]), L0=function(){this.h=new H0};p=L0.prototype; p.Za=function(a,b){var c,d,e,f,g,h=this,k,l,m,n,r,q;return A(function(t){if(t.l==1){if(a!=h.Ea())throw new W("Requested primitive type which is not supported by this key manager.");if(b instanceof x_){if(!h.nd(Wg(b,1)))throw new W("Key type "+Wg(b,1)+" is not supported. This key manager supports "+h.La()+".");try{k=PZ(b.getValue())}catch(B){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 MZ)k=b;else throw new W("Given key type is not supported. This key manager supports "+h.La()+".");var v=J(k,JZ,2);if(!v)throw new W("Invalid AES CTR HMAC key format: key undefined");x0(v.getVersion(),h.getVersion());var y=new QZ;var z=J(v,IZ,2);y=Mg(y,1,z);z=M_(tg(v,3));y=ih(y,2,z);y=I0(y).fc;f=L_(tg(v,3));g=y;l=f;m=g;v=J(k,LZ,3);if(!v)throw new W("Invalid AES CTR HMAC key format: key undefined");x0(v.getVersion(),h.getVersion());y=new RZ;z=J(v,KZ,2);y=Mg(y,1,z);z=M_(tg(v,3)); y=ih(y,2,z);z=J0(y);y=z.Nl;z=z.xc;c=L_(tg(v,3));d=y;e=z;n=c;r=d;q=e;return t.h(G0(l,m,r,n,q),2)}return t.return(t.j)})};p.nd=function(a){return a===this.La()};p.La=function(){return"type.googleapis.com/google.crypto.tink.AesCtrHmacAeadKey"};p.Ea=function(){return t0};p.getVersion=function(){return 0};p.rd=function(){return this.h};var M0=function(a){var b=a.key;a=a.Nb;this.key=b;this.Nb=a};M0.prototype.encrypt=function(a,b,c){var d=this,e,f;return A(function(g){if(g.l==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 g.h(globalThis.crypto.subtle.encrypt(e,d.key,b),2)}f=g.j;return g.return(d.Nb?N_(a,new Uint8Array(f)):new Uint8Array(f))})}; M0.prototype.decrypt=function(a,b,c){var d=this,e,f,g,h,k;return A(function(l){if(l.l==1){e=d.Nb?28:16;if(b.length5)){k.Y(2);break}d=a.subarray(0,5);return k.h(K_(c.h,d),3);case 3:return e=k.j,f=a.subarray(5,a.length),k.A(4),k.h(U0(e,f,b),6);case 6:g=k.j;k.G(5);break;case 4:k.o();case 5:if(g)return k.return(g);case 2:return k.h(K_(c.h,G_),7);case 7:return h=k.j,k.return(U0(h,a,b))}})}; var U0=function(a,b,c){var d,e,f,g;return A(function(h){switch(h.l){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");}w0(c);w0(d);g=e;if(e==null||g===void 0||g.length==0)g=new Uint8Array(f); w0(g);return t.h(E0(b,g,f),2);case 2:return h=t.j,t.h(C0(h,c),3);case 3:return k=t.j,t.h(E0(b,k,f),4);case 4:h=t.j,l=1,m=0,n=new Uint8Array(0),r=new Uint8Array(a);case 5:return q=new Uint8Array(n.length+d.length+1),q.set(n,0),q.set(d,n.length),q[q.length-1]=l,t.h(C0(h,q),8);case 8:n=t.j;if(m+n.length>8*(a-d-1)&255;return c}function B1(a){var b=a.dc;var c=a.bc;return N_(A1,a.Sa,R_(b),c)}function C1(a){var b=a.Kc;var c=a.info;var d=a.Sa;return N_(p1(2,a.length),A1,d,R_(b),c)} function D1(a){switch(a){case 2:return 1;case 4:return 3;default:throw new X("Unrecognized NIST HPKE KEM identifier");}}function E1(a,b){var c;return A(function(d){return d.l==1?(c=$_(a,1,b),d.h(d0(c),2)):d.return(d.j)})}function F1(a){var b=a.rg;var c=a.publicKey;var d=a.privateKey;var e;return A(function(f){return f.l==1?(e=$_(b,1,c),e.d=S_(d),f.h(e0(e),2)):f.return(f.j)})} function G1(a){var b,c;return A(function(d){if(d.l==1)return b=a.algorithm,d.h(c0(a),2);c=d.j;if(!c.crv)throw new W("Curve has to be defined.");return d.return(V_(b.namedCurve,1,c))})};var H1=function(a,b,c,d){this.Le=a;this.key=b;this.l=c;this.j=d;this.h=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.h+=BigInt(1);return d}; function J1(a,b,c,d,e,f){var g,h,k,l,m,n,r,q,t;return A(function(v){switch(v.l){case 1:a:{switch(e.ff){case 16:var y=w1;break a;case 32:y=x1;break a}y=void 0}a:{switch(d.af){case "SHA-256":var z=u1;break a;case "SHA-512":z=v1;break a}z=void 0}g=N_(z1,c.Ue(),z,y);h=K1(d,{bc:new Uint8Array(0),dc:"psk_id_hash",Sa:g});return v.h(K1(d,{bc:f,dc:"info_hash",Sa:g}),2);case 2:return k=v.j,v.h(h,3);case 3:return l=v.j,m=N_(q1,l,k),v.h(K1(d,{bc:new Uint8Array(0),dc:"secret",Sa:g,salt:b}),4);case 4:return n= v.j,r=L1(d,{uj:n,info:m,Kc:"key",Sa:g,length:e.ff}),v.h(L1(d,{uj:n,info:m,Kc:"base_nonce",Sa:g,length:12}),5);case 5:return q=v.j,v.h(r,6);case 6:return t=v.j,v.return(new H1(a,t,q,e))}})}function M1(a,b,c,d,e){var f,g,h;return A(function(k){return k.l==1?k.h(b.od(a),2):k.l!=3?(f=k.j,g=f.Le,h=f.Fj,k.h(J1(g,h,b,c,d,e),3)):k.return(k.j)})}function N1(a,b,c,d,e,f){var g;return A(function(h){return h.l==1?h.h(c.kd(a,b),2):h.l!=3?(g=h.j,h.h(J1(a,g,c,d,e,f),3)):h.return(h.j)})};var O1=function(a,b){this.privateKey=a;this.publicKey=b};O1.prototype.Ig=function(){var a=this;return A(function(b){return b.l==1?b.h(G1(a.publicKey),2):b.return(b.j)})}; function P1(a){var b=a.privateKey;var c=a.publicKey;var d=a.rg;var e,f;return A(function(g){if(g.l==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 g.h(E1(T_(d),c),2)}if(g.l!=3)return e=g.j,g.h(F1({rg:T_(d),publicKey:c,privateKey:b}),3);f=g.j;return g.return(new O1(f,e))})}function Q1(a){return A(function(b){R1(a.privateKey,"private");R1(a.publicKey,"public");return b.return(new O1(a.privateKey,a.publicKey))})} function R1(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);};/* Copyright 2026 Google LLC SPDX-License-Identifier: Apache-2.0 */ var S1=function(a,b){this.wj=b;this.algorithm={name:"X-Wing"};this.extractable=!0;this.type=a;this.usages=["deriveKey","deriveBits"]},T1=function(a,b){if(a.length!==32)throw Error("Invalid seed length: "+a.length);if(b.length!==1216)throw Error("Invalid public key length: "+b.length);this.publicKey=new S1("public",b);this.privateKey=new S1("private",a)};T1.prototype.Ig=function(){var a=this;return A(function(b){return b.return(a.publicKey.wj)})};var U1=function(a){this.ff=a};U1.prototype.seal=function(a){var b=a.key;var c=a.nonce;var d=a.Dm;var e=a.cg;var f=this,g;return A(function(h){if(h.l==1){if(b.length!==f.ff)throw new W("Unexpected key length: "+b.length.toString());return h.h(N0({key:b,Nb:!1}),2)}return h.l!=3?(g=h.j,h.h(g.encrypt(c,d,e),3)):h.return(h.j)})}; U1.prototype.open=function(a){var b=a.key;var c=a.nonce;var d=a.ri;var e=a.cg;var f=this,g;return A(function(h){if(h.l==1){if(b.length!==f.ff)throw new W("Unexpected key length: "+b.length.toString());return h.h(N0({key:b,Nb:!1}),2)}g=h.j;return h.return(g.decrypt(c,d,e))})};var V1=function(a){this.af=a},K1=function(a,b){var c=b.bc;var d=b.dc;var e=b.Sa;var f=b.salt;return A(function(g){return g.l==1?g.h(W1(a,B1({dc:d,bc:c,Sa:e}),f),2):g.return(g.j)})},L1=function(a,b){var c=b.uj;var d=b.info;var e=b.Kc;var f=b.Sa;var g=b.length;return A(function(h){return h.l==1?h.h(a.expand(c,C1({Kc:e,info:d,Sa:f,length:g}),g),2):h.return(h.j)})},X1=function(a,b){var c=b.bc;var d=b.dc;var e=b.info;var f=b.Kc;var g=b.Sa;var h=b.length;var k=b.salt;var l;return A(function(m){return m.l== 1?m.h(W1(a,B1({dc:d,bc:c,Sa:g}),k),2):m.l!=3?(l=m.j,m.h(a.expand(l,C1({Kc:f,info:e,Sa:g,length:h}),h),3)):m.return(m.j)})}; V1.prototype.expand=function(a,b,c){var d=this,e,f,g,h,k,l,m;return A(function(n){switch(n.l){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=Y1(d);if(c>255*e)throw new W("length too large");w0(b);return n.h(E0(d.af,a,e),2);case 2:f=n.j,g=1,h=0,k=new Uint8Array(0),l=new Uint8Array(c);case 3:return m=new Uint8Array(k.length+b.length+1),m.set(k,0),m.set(b,k.length),m[m.length-1]=g,n.h(C0(f,m),6);case 6:k=n.j;if(h+k.length element. Viewability/audibility measurement will fail.");this.l=this.h=null;this.o=!1;this.D=this.H=null;this.C=new mu(this);Ot(this,this.C);d={};var e=!0;d=d===void 0?{}:d;e=e===void 0?!1:e;var f=dx.getInstance(),g=cw(d.env),h=d.videoEnvironment|| {};d.quicksilverSignals&&(f.Tm=wn(d.quicksilverSignals));d.daiIntegration&&Ud(d.daiIntegration)&&(f.hm=d.daiIntegration);var k=d.pvsid||0;k>0&&(f.nk=k);k=d.settings||{};k.ppid!=null&&(f.Ql=k.ppid);k=h.contentMediaUrl;k!=null&&(f.Xl=k);k=h.customClickTrackingProvided;k!=null&&(f.dm=k);f.C=d.eoidCookieEnabled||!1;f.B=d.eoidCookieValue||null;k=d.gfpCookieValue;k!=null&&k?f.j=k:f.j=null;f.F=d.gfpCookieV2Id||null;f.D=d.gfpCookieV2OptOut||null;f.gn=d.ivtDetectionOnlyStorageAllowed||!1;f.secureSignals=d.espSignals|| null;f.Wl=d.clientBidsProto||null;f.globalPlacementId=d.globalPlacementId||null;f.lk=d.publisherInitiatedExperimentDataProto||null;k=h.iframeState;k!=null&&(f.H=k);k=h.isAmp;k!=null&&(f.Ym=k);k=h.topAccessiblePageUrl;k!=null&&(f.h=k);k=h.referrer;k!=null&&(f.referrer=k);k=h.topOrigin;k!=null&&(f.Kk=k);k=h.domLoadTime;k!=null&&(f.Gm=k);k=h.downloadBandwidthKbps;k!=null&&(f.Hm=k);k=h.sdkImplLoadTime;k!=null&&(f.rk=k);k=h.imaHostingDomain;k!=null&&(f.J=k);k=h.imaHostingPageUrl;k!=null&&(f.G=k);k=h.usesCustomVideoPlayback; k!=null?f.Ri=k:f.Ri=d.usesCustomVideoPlayback||!1;k=h.usesProxyMediaElement;k!=null&&(f.Uj=k);k=h.rendersUiNatively;k!=null&&(f.De=k);k=d.sdkOwnedRendering;k!=null&&(f.uk=k);k=h.supportsResizing;k!=null?f.Ni=k:f.Ni=d.supportsResizing||!1;f.M=d.isBrowserCookieEnabled||!1;f.A=d.supportsIconClickFallback||!1;f.Dk=fx(d,g);f.qn=d.omidAdSessionsOnStartedOnly||!1;f.Jk=d.supportsOmidJsManagedAppSessions||!1;k=h.usesInlinePlayback;k!=null&&(f.Mk=k);h=h.videoAdKey;h!=null&&(f.Ok=h);if(h=d.companionSlots)f.ln= h;if(h=d.pauseAdSlot)f.hk=h;if(h=d.underlayAdSlot)f.Lk=h;if(h=d.overlayAdSlot)f.gk=h;if(h=d.network)f.nn=h;f.yk=d.supportsNativeClickSignals||!1;f.Ek=d.supportsNativeNetworking||!1;f.Fk=d.supportsNativeViewSignals||!1;(h=d.identifierInfo||null)?(f.Z=h.appSetId||null,f.ha=h.appSetIdScope||null,f.deviceId=h.deviceId,f.l=h.idType,f.o=h.isLimitedAdTracking,f.Vb=h.perAppIdentifier,f.Od=h.perAppIdentifierV2,f.Pd=h.perAppIdentifierV2UserEnabled||!1,f.la=h.idfv,f.V=h.trackingAuthorizationStatus||null,f.fa= h.adsIdentityToken):e&&(f.deviceId=d.rdid||"",f.l=d.idType||"",h=d.isLat)&&(f.o=String(h)==="1");f.Ua=d.msParameter||"";if(h=d.marketAppInfo||null)f.P=h.appVersion||"",f.Ca=h.packageName||"";g&&(f.appName=g.ji,f.md=g.md,f.h=g.canonicalUrl,f.qc=g.platform,f.Oc=g.Oc,f.Ub=g.wh);d.gmaSignals&&(f.Km=d.gmaSignals);d.platformSignals&&(f.Ce=new Map(Object.entries(d.platformSignals)));f.ra=e;f.fe=d.isTv||!1;f.Rk=d.wrappedCompanionsEnabled||!1;f.N=d.isEapLoader||!1;e=d.networkCodes;e!=null&&(f.on=e);f.xk=d.sqid|| null;f.wk=d.sjk||null;f.wa=new yn;f.Bl=d.pixelDensity||1;f.Vl=d.preferredLinearOrientation||0;f.zi=d.supportsQuicksilver||!1;this.O=f;this.O.N=!1;this.O.H=Wu();this.O.J=window.document.domain;this.O.G=window.document.URL;this.O.h=Cv();this.O.referrer=window.document.referrer;d=Yv(Zv);d=Gv(d);Array.isArray(d)&&d.length>0&&(gq.reset(),jq(new ap(d)));this.X=new DO(a);this.j=b?new DY(b,c.getLocale(),null,this.O):null;J2(this);a=new EV(this.X,this.O);a.load();Ot(this,a);this.N=new rQ(window);Ot(this,this.N); this.A=new $Q(this.O);this.P=new z2;a=L(or).h($E.h,$E.defaultValue);this.V=new EZ(a);HZ(this.V)};u(K2,S);K2.prototype.addEventListener=function(a,b){if(Array.isArray(a)){console.warn("Array not supported. Listen for a single event type.");kx.getInstance().report(217,{method:"StreamManager.addEventListener w/ array"});a=w(a);var c=a.next(),d;try{for(;!c.done;c=a.next())this.addEventListener(c.value,b)}finally{c&&!c.done&&(d=a.return)&&d.call(a)}}else S.prototype.listen.call(this,a,b)}; K2.prototype.removeEventListener=function(a,b){if(Array.isArray(a)){console.warn("Array not supported. Listen for a single event type.");kx.getInstance().report(217,{method:"StreamManager.removeEventListener w/ array"});a=w(a);var c=a.next(),d;try{for(;!c.done;c=a.next())this.removeEventListener(c.value,b)}finally{c&&!c.done&&(d=a.return)&&d.call(a)}}else S.prototype.unlisten.call(this,a,b)};K2.prototype.listen=function(){throw Error("Not supported; use addEventListener instead.");}; K2.prototype.dispatchEvent=function(){throw Error("Dispatching events is not supported.");};var L2=function(a,b){S.prototype.dispatchEvent.call(a,b)};K2.prototype.getAdSkippableState=function(){return this.o};K2.prototype.requestStream=function(a){kx.getInstance().report(127,{ori:window.location.origin,hasUi:this.j!=null});M2(this,a)};K2.prototype.loadStreamMetadata=function(){var a,b=(a=this.h)==null?void 0:a.W;b instanceof rZ&&tZ(b)}; var M2=function(a,b){var c,d,e,f,g,h,k,l,m,n,r,q,t,v,y,z;A(function(B){switch(B.l){case 1:return c=aT(b.networkCode),b.ui.custom&&c&&(kx.getInstance().report(220,{locale:a.M.getLocale(),skippableSupport:b.ui.custom.skippableSupport,aboutThisAdSupport:b.ui.custom.aboutThisAdSupport}),a.J=b.ui.custom),d=[],d.push(HZ(a.V)),e=sQ(a.N),d.push(e),f=null,d.push(Yx(b.networkCode).then(function(F){f=F})),B.h(Ix(d),2);case 2:return g=B.j,h=w(g),k=h.next().value,l=h.next().value,m=k,n=l,m&&(b.h=m.value),q={}, kx.getInstance().report(155,(q.ws=DZ(),q.blob=(r=b.h)!=null?r:"undef",q)),v={},kx.getInstance().report(253,(v.evt="req",v.hgm=!!b.enableNonce,v.it="dai",v.nc=(t=b.networkCode)!=null?t:null,v)),a.reset(),B.h(N2(a,b,f,n.value),3);case 3:return y=B.j,B.h(tW(y,a.P,a.O,!1,f),4);case 4:return z=B.j,B.h(O2(a,y,z),0)}})},O2=function(a,b,c){var d=new aZ;bZ(d,new ZY);bZ(d,new VY);bZ(d,new RY);bZ(d,new PY);bZ(d,new OY);bZ(d,new MY);return d.fetch(b,a.O,c).then(function(e){return void P2(a,b,e)}).catch(function(e){var f, g={};kx.getInstance().report(253,(g.evt="err",g.hgm=!!b.enableNonce,g.it="dai",g.nc=(f=b.networkCode)!=null?f:null,g));f={};L2(a,new DQ("streamError",(f.errorMessage=e.message,f)))})},P2=function(a,b,c){var d,e={};kx.getInstance().report(253,(e.evt="init",e.hgm=!!b.enableNonce,e.it="dai",e.nc=(d=b.networkCode)!=null?d:null,e));d=xZ(b,c,a.X,a.O);e=new VX(d);var f=new LX(a.X,d,e);f.Rb();a.h={W:d,bh:e,hn:f};a.J?(b=new CT(d,a.M,a.O,a.Z.promise,{dispatchEvent:function(g){return void L2(a,g)}},b.networkCode), b.initialize(),a.h.Rj=b):a.j&&(b=new GX(d,a.j,a.O,a.X,a.A),b.initialize(),a.h.Rj=b);Q2(a);b={};c=(b.streamId=fY(c),b.pod_manifest_url=c.Ye(),b.manifestFormat=c.data.manifest_format||"",b);L2(a,new DQ("streamInitialized",c));d.start()};p=K2.prototype;p.Pm=function(a){this.j||(this.H=a)};p.processMetadata=function(a,b,c){try{var d;(d=this.h)==null||d.bh.processMetadata(a,b,c)}catch(e){}};p.onTimedMetadata=function(a){if(a!=null&&this.h&&(a=Gk(a.TXXX),!E(a)))this.h.W.onTimedMetadata(a)}; p.contentTimeForStreamTime=function(a){return this.h?this.h.W.contentTimeForStreamTime(a):a};p.skipAd=function(){if(this.l&&R2(this.l)&&this.o){var a;(a=this.h)==null||a.W.Zb("skip")}};p.ll=function(){if(this.l&&R2(this.l)){var a=this.l.ad.Fb();TK(a!=null?a:"");this.X.pause();var b;(b=this.h)==null||b.W.Zb("click")}};p.streamTimeForContentTime=function(a){return this.h?this.h.W.streamTimeForContentTime(a):a}; p.previousCuePointForStreamTime=function(a){return this.h?(a=this.h.W.previousCuePointForStreamTime(a))?new zQ(a.ia()):null:null};p.replaceAdTagParameters=function(a){this.h&&a&&(a=av(a),this.O.ka.replaceAdTagParameters(a),this.h.W.replaceAdTagParameters(a,this.P))}; var N2=function(a,b,c,d){var e,f,g,h,k;return A(function(l){if(l.l==1){e=new eZ;e.apiKey=b.apiKey;e.authToken=b.authToken;e.format="hls";b.format==="dash"&&(e.format="dash");e.networkCode=b.networkCode;e.streamActivityMonitorId=b.streamActivityMonitorId;e.o=!1;e.adTagParameters=av(b.adTagParameters||{});a.J&&(e.ui.custom=b.ui.custom);e.omidAccessModeRules=Vl(b.omidAccessModeRules);f=b.enableNonce;e.enableNonce=f;e.l=b.h;g=new Bw(!0,e.adTagParameters||{},d,!1);a.O.ka=g;var m=a.A,n=Lw(g),r=XQ(m.h,"__gads", n);r&&(m.O.j=r);if(dq(vq)){if(r=XQ(m.h,"__gpi",n))m.O.F=r;if(n=XQ(m.h,"__gpi_opt_out",n))m.O.D=n}m=m.O;n=Lw(g);r=window;n=Rg(n,5)?!!QQ(r):!1;m.M=n;h=Jw(g);e.h=h;b instanceof D2?e.assetKey=b.assetKey:b instanceof E2?(e.customAssetKey=b.customAssetKey,b instanceof G2&&(e.liveStreamEventId=b.liveStreamEventId,e.region=b.region,e.projectNumber=b.projectNumber,e.oAuthToken=b.oAuthToken,e.videoStitcherSessionOptions=b.videoStitcherSessionOptions)):b instanceof F2||(b instanceof I2?(e.contentSourceId=b.contentSourceId, e.videoId=b.videoId):b instanceof H2&&(e.region=b.region,e.projectNumber=b.projectNumber,e.oAuthToken=b.oAuthToken,e.contentSourceUrl=b.contentSourceUrl,e.adTagUrl=b.adTagUrl,e.vodConfigId=b.vodConfigId,e.videoStitcherSessionOptions=b.videoStitcherSessionOptions));e.j=a.j!=null;m=l.h;h?(a.D=null,n=Promise.resolve()):n=f?S2(a):Promise.resolve();return m.call(l,n,2)}m=a.A;r=g;var q=e,t=m.O;var v=Lw(r);var y=aR(r,q,c);v=VQ(window,v,y);t.C=v;t=Lw(r);r=aR(r,q,c);q=m.j;r=VQ(q.h,t,r)?(n=SQ("__eoi",q.h))!= null?n:void 0:void 0;if(n=r)m.O.B=n;k={};kx.getInstance().report(182,(k.aid=!!Zv.h,k.aidf=!!a.D,k.hsc=!h&&f,k));return l.return(e)})}; K2.prototype.la=function(a){if(a.type==="adBreakStarted")T2(this);else if(a.type==="adBreakEnded"||a.type==="adPeriodEnded")U2(this);else if(a.type==="adProgress"&&!this.o&&this.l){var b,c=((b=this.l)==null?void 0:b.getSkipTimeOffset())||0,d,e;b=(((d=this.h)==null?void 0:(e=d.W.sb())==null?void 0:e.currentTime)||0)>=c;c!==-1&&b&&(this.o=!0,L2(this,new DQ("skipShown",{},this.l)))}L2(this,new DQ(a.type,a.data))}; K2.prototype.ha=function(a){var b=a.getAd(),c=b!=null?new wQ(b):null;this.l=c;switch(a.type){case "start":V2(this,b,"start");if(b){var d=this.O,e=b.L.get($F);e instanceof $F&&e.h.length&&QS(e.h,d.ka);d=this.A;e=b.L.get(bG);if(e instanceof bG){e=e.h;var f=Lw(d.O.ka);YQ(d.h,"__gads",e,f);d.O.j=e.getValue()}d=this.A;dq(vq)&&(e=b.L.get(cG),e instanceof cG&&(e=e.h,f=Lw(d.O.ka),YQ(d.h,"__gpi",e,f),d.O.F=e.getValue()));d=this.A;b=b.L.get(ZF);b instanceof ZF&&(b=b.h)&&(e=d.j,f=Oq(Ug(b,2))-Date.now()/1E3, f={rf:Math.max(f,0),path:Wg(b,3),domain:Wg(b,4),secure:!1},TQ("__eoi",b.getValue(),f,e.h),d.O.B=b.getValue())}break;case "complete":this.o=!1;break;case "click":b&&(d=b.Fb(),V2(this,b,"click"),d==null||this.j||TK(d));break;case "skip":this.o=!1;if(b=this.h?this.h.W.sb():null)this.X.h.currentTime=b.xe+b.duration;break;case "loaded":this.o=!1;break;case "skipShown":this.o=!0}L2(this,new DQ(a.type,{},c))}; var T2=function(a){a.H&&(a.H.onclick=function(){var b;(b=a.h)==null||b.W.Zb("click")})},U2=function(a){a.H&&(a.H.onclick=function(){})};K2.prototype.reset=function(){pu(this.C);J2(this);if(this.h){var a=this.h,b=a.Rj,c=a.hn;a.W.th();b==null||b.dispose();c.dispose();this.h=null}};K2.prototype.focus=function(){var a;(a=this.j)==null||a.focus()}; var Q2=function(a){if(a.h){var b=a.h.W;pu(a.C);J2(a);a.C.listen(b,"adBreakStarted adBreakEnded adPeriodStarted adPeriodEnded adProgress cuepointsChanged loadStream streamError".split(" "),a.la);a.C.listen(b,"start firstQuartile midpoint thirdQuartile complete click skip skipShown videoClicked pause resume".split(" "),a.ha)}},S2=function(a){var b;return A(function(c){if(c.l==1)return a.D||(a.D=new kQ,lQ(a.D)),c.h(a.D.getId(),2);b=c.j;Zv.h=b.id||"";c.F()})},V2=function(a,b,c){if(b&&(b=b.L.get(rG))){var d, e={};kx.getInstance().report(170,(e.evt=c,e.format=(d=b.h)!=null?d:"noformat",e.has_ui_frame=!!a.j,e))}},J2=function(a){a.j&&a.C.listen(a.j,["localeUpdated"],function(b){b.type==="localeUpdated"&&a.Z.resolve(b.data)})};K2.prototype.focus=K2.prototype.focus;K2.prototype.reset=K2.prototype.reset;K2.prototype.replaceAdTagParameters=K2.prototype.replaceAdTagParameters;K2.prototype.previousCuePointForStreamTime=K2.prototype.previousCuePointForStreamTime;K2.prototype.streamTimeForContentTime=K2.prototype.streamTimeForContentTime; K2.prototype.clicked=K2.prototype.ll;K2.prototype.skipAd=K2.prototype.skipAd;K2.prototype.contentTimeForStreamTime=K2.prototype.contentTimeForStreamTime;K2.prototype.onTimedMetadata=K2.prototype.onTimedMetadata;K2.prototype.processMetadata=K2.prototype.processMetadata;K2.prototype.setClickElement=K2.prototype.Pm;K2.prototype.loadStreamMetadata=K2.prototype.loadStreamMetadata;K2.prototype.requestStream=K2.prototype.requestStream;K2.prototype.getAdSkippableState=K2.prototype.getAdSkippableState; K2.prototype.dispatchEvent=K2.prototype.dispatchEvent;K2.prototype.listen=K2.prototype.listen;K2.prototype.removeEventListener=K2.prototype.removeEventListener;K2.prototype.addEventListener=K2.prototype.addEventListener;function R2(a){a=a.ad;return zX()&&xX(a,a.icons)};D("google.ima.dai.api.Ad",wQ);D("google.ima.dai.api.AdPeriodData",xQ);D("google.ima.dai.api.AdPodInfo",tQ);D("google.ima.dai.api.AdProgressData",yQ);D("google.ima.dai.api.CloudPodStreamRequest",G2);D("google.ima.dai.api.CompanionAd",uQ);D("google.ima.dai.api.CuePoint",zQ);D("google.ima.dai.api.DaiSdkSettings",B2);D("google.ima.dai.api.LiveStreamRequest",D2);D("google.ima.dai.api.OmidAccessMode",{LIMITED:"limited",DOMAIN:"limited",FULL:"full"}); D("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"});D("google.ima.dai.api.PodStreamRequest",E2);D("google.ima.dai.api.PodVodStreamRequest",F2);D("google.ima.dai.api.StreamData",AQ);D("google.ima.dai.api.StreamEvent",DQ);D("google.ima.dai.api.StreamEvent.Type",BQ); D("google.ima.dai.api.StreamManager",K2);D("google.ima.dai.api.StreamRequest",C2);D("google.ima.dai.api.StreamRequest.StreamFormat.DASH","dash");D("google.ima.dai.api.StreamRequest.StreamFormat.HLS","hls");D("google.ima.dai.api.ui",KQ);D("google.ima.dai.api.ui.UiData",JQ);D("google.ima.dai.api.ui.UiData.UiImage",IQ);D("google.ima.dai.api.ui.UiKey",HQ);D("google.ima.dai.api.ui.UiOptions",GQ);D("google.ima.dai.api.ui.UiOptions.ClickThroughNavigation",FQ); D("google.ima.dai.api.customUi.UiOptions",function(){this.aboutThisAdSupport=this.skippableSupport=!1});D("google.ima.dai.api.UiSettings",LQ);D("google.ima.dai.api.UniversalAdIdInfo",vQ);D("google.ima.dai.api.VideoStitcherLiveStreamRequest",G2);D("google.ima.dai.api.VideoStitcherVodStreamRequest",H2);D("google.ima.dai.api.VODStreamRequest",I2);}).call(this);