(function(){/* Copyright The Closure Library Authors. SPDX-License-Identifier: Apache-2.0 */ 'use strict';var m=this||self;function aa(a,b,c){return a.call.apply(a.bind,arguments)}function ba(a,b,c){if(!a)throw Error();if(2e;e++){var f=c.concat(d[e].split(""));ca[e]=f;for(var g=0;g>2];l=b[(l&3)<<4|k>>4];k=b[(k&15)<<2|h>>6];h=b[h&63];c[e++]=g+l+k+h}g=0;h=d;switch(a.length-f){case 2:g=a[f+1],h=b[(g&15)<<2]||d;case 1:a=a[f],c[e]=b[a>>2]+b[(a&3)<<4|g>>4]+h+d}a=c.join("")}}return Array.isArray(a)?v(a,ia):a};let z;function A(a){var b=z;z=null;a||(a=b);b=this.constructor.messageId;a||(a=b?[b]:[]);this.i=(b?0:-1)-(this.constructor.X||0);this.g=a;a:{b=this.g.length;a=b-1;if(b&&(b=this.g[a],fa(b))){this.l=a-this.i;this.j=b;break a}this.l=Number.MAX_VALUE}}Object.freeze(ea([]));function ma(a,b){return-1===b?null:b>=a.l?a.j?a.j[b]:void 0:a.g[b+a.i]}function D(a,b,c){a=ma(a,b);return null==a?c:a}function E(a,b){a=ma(a,b);a=null==a?a:!!a;return null==a?!1:a} function na(a){a=ma(a,13);a=null==a?a:+a;return null==a?0:a}A.prototype.toJSON=function(){return v(this.g,ia)};function oa(a){var b=pa;z=a=a?JSON.parse(a):null;b=new b(a);z=null;return b}A.prototype.toString=function(){return this.g.toString()};var pa=class extends A{};function F(a,b){if(!b(a))throw Error(String(a));return a};var qa=a=>"string"===typeof a,ra=a=>!!a&&("object"===typeof a||"function"===typeof a);function sa(a,b){var c=F(JSON.parse(a.name),ra);c=F(c._context,ra);const d=F(c.mode,ra);c={version:F(d.rtvVersion,qa),W:F(c.sentinel,qa)};const {version:e,W:f}=c;b.sentinel=f;a.parent.postMessage(`amp-${e}${JSON.stringify(b)}`,"*")};function ta(a=window){return a};var ua=document,G=window;/* SPDX-License-Identifier: Apache-2.0 */ function H(a,b,c){a.addEventListener&&a.addEventListener(b,c,!1)}function I(a,b,c){a.removeEventListener&&a.removeEventListener(b,c,!1)};var va=RegExp("^(?:([^:/?#.]+):)?(?://(?:([^\\\\/?#]*)@)?([^\\\\/?#]*?)(?::([0-9]+))?(?=[\\\\/?#]|$))?([^?#]+)?(?:\\?([^#]*))?(?:#([\\s\\S]*))?$");function J(a){try{var b;if(b=!!a&&null!=a.location.href)a:{try{p(a.foo);b=!0;break a}catch(c){}b=!1}return b}catch(c){return!1}}function wa(a,b){if(a)for(const c in a)Object.prototype.hasOwnProperty.call(a,c)&&b(a[c],c,a)}let K=[];const xa=()=>{const a=K;K=[];for(const b of a)try{b()}catch(c){}}; var ya=(a,b)=>{"complete"===a.readyState||"interactive"===a.readyState?(K.push(b),1==K.length&&(window.Promise?Promise.resolve().then(xa):window.setImmediate?setImmediate(xa):setTimeout(xa,0))):a.addEventListener("DOMContentLoaded",b)};function za(a=document){return a.createElement("img")};function L(a,b,c=null){Aa(a,b,c)}function Aa(a,b,c){a.google_image_requests||(a.google_image_requests=[]);const d=za(a.document);if(c){const e=f=>{c&&c(f);I(d,"load",e);I(d,"error",e)};H(d,"load",e);H(d,"error",e)}d.src=b;a.google_image_requests.push(d)} var Ca=()=>{let a="https://pagead2.googlesyndication.com/pagead/gen_204?id=badpubwin";wa({stack:Error().stack,aswift:window.google_async_iframe_id},(b,c)=>{b&&(a+=`&${c}=${encodeURIComponent(b)}`)});Ba(a)},Ba=a=>{var b=window;b.fetch?b.fetch(a,{keepalive:!0,credentials:"include",redirect:"follow",method:"get",mode:"no-cors"}):L(b,a)};let Da=0;function Ea(a){return(a=Fa(a,document.currentScript))&&a.getAttribute("data-jc-version")||"unknown"}function Fa(a,b=null){return b&&b.getAttribute("data-jc")===String(a)?b:document.querySelector(`[${"data-jc"}="${a}"]`)};var Ga=!!window.google_async_iframe_id;let M=Ga&&window.parent||window;class La{constructor(a,b){this.error=a;this.context=b.context;this.msg=b.message||"";this.id=b.id||"jserror";this.meta={}}};const Ma=RegExp("^https?://(\\w|-)+\\.cdn\\.ampproject\\.(net|org)(\\?|/|$)");var Na=class{constructor(a,b){this.g=a;this.i=b}},Oa=class{constructor(a,b){this.url=a;this.V=!!b;this.depth=null}};function O(a,b){const c={};c[a]=b;return[c]}function Pa(a,b,c,d,e){const f=[];wa(a,function(g,h){(g=Qa(g,b,c,d,e))&&f.push(h+"="+g)});return f.join(b)} function Qa(a,b,c,d,e){if(null==a)return"";b=b||"&";c=c||",$";"string"==typeof c&&(c=c.split(""));if(a instanceof Array){if(d=d||0,de?encodeURIComponent(Pa(a,b,c,d,e+1)):"...";return encodeURIComponent(String(a))}function Ra(a){let b=1;for(const c in a.i)b=c.length>b?c.length:b;return 3997-b-a.j.length-1} function Sa(a,b,c){b=b+"//pagead2.googlesyndication.com"+c;let d=Ra(a)-c.length;if(0>d)return"";a.g.sort(function(f,g){return f-g});c=null;let e="";for(let f=0;f=k.length){d-=k.length;b+=k;e=a.j;break}c=null==c?g:c}}}a="";null!=c&&(a=e+"trn="+c);return b+a}class Ta{constructor(){this.j="&";this.i={};this.l=0;this.g=[]}};function Ua(){var a=P,b=Q.google_srt;0<=b&&1>=b&&(a.g=b)}function Va(a,b,c,d,e,f){if((d?a.g:Math.random())<(e||.01))try{let g;c instanceof Ta?g=c:(g=new Ta,wa(c,(l,k)=>{var q=g,t=q.l++;l=O(k,l);q.g.push(t);q.i[t]=l}));const h=Sa(g,a.i,"/pagead/gen_204?id="+b+"&");h&&("undefined"!==typeof f?L(m,h,f):L(m,h))}catch(g){}}class Wa{constructor(){this.i="http:"===G.location.protocol?"http:":"https:";this.g=Math.random()}};let R=null;var Xa=()=>{const a=m.performance;return a&&a.now&&a.timing?Math.floor(a.now()+a.timing.navigationStart):Date.now()},Ya=()=>{const a=m.performance;return a&&a.now?a.now():null};class Za{constructor(a,b){var c=Ya()||Xa();this.label=a;this.type=b;this.value=c;this.duration=0;this.uniqueId=Math.random();this.slotId=void 0}};const S=m.performance,$a=!!(S&&S.mark&&S.measure&&S.clearMarks),T=function(a){let b=!1,c;return function(){b||(c=a(),b=!0);return c}}(()=>{var a;if(a=$a){var b;if(null===R){R="";try{a="";try{a=m.top.location.hash}catch(c){a=m.location.hash}a&&(R=(b=a.match(/\bdeid=([\d,]+)/))?b[1]:"")}catch(c){}}b=R;a=!!b.indexOf&&0<=b.indexOf("1337")}return a});function ab(a){a&&S&&T()&&(S.clearMarks(`goog_${a.label}_${a.uniqueId}_start`),S.clearMarks(`goog_${a.label}_${a.uniqueId}_end`))} class bb{constructor(){var a=Q;this.events=[];this.i=a||m;let b=null;a&&(a.google_js_reporting_queue=a.google_js_reporting_queue||[],this.events=a.google_js_reporting_queue,b=a.google_measure_js_timing);this.g=T()||(null!=b?b:1>Math.random())}start(a,b){if(!this.g)return null;a=new Za(a,b);b=`goog_${a.label}_${a.uniqueId}_start`;S&&T()&&S.mark(b);return a}end(a){if(this.g&&"number"===typeof a.value){a.duration=(Ya()||Xa())-a.value;var b=`goog_${a.label}_${a.uniqueId}_end`;S&&T()&&S.mark(b);!this.g|| 2048db(c,a,()=>b.apply(void 0,d))} class fb{constructor(a=null){this.j=P;this.i=null;this.m=this.J;this.g=a;this.l=!1}pinger(){return this.j}J(a,b,c,d,e){e=e||"jserror";let f;try{const w=new Ta;var g=w;g.g.push(1);g.i[1]=O("context",a);b.error&&b.meta&&b.id||(b=new La(b,{message:cb(b)}));if(b.msg){g=w;var h=b.msg.substring(0,512);g.g.push(2);g.i[2]=O("msg",h)}var l=b.meta||{};b=l;if(this.i)try{this.i(b)}catch(B){}if(d)try{d(b)}catch(B){}d=w;l=[l];d.g.push(3);d.i[3]=l;d=m;l=[];b=null;do{var k=d;if(J(k)){var q=k.location.href;b=k.document&& k.document.referrer||null}else q=b,b=null;l.push(new Oa(q||""));try{d=k.parent}catch(B){d=null}}while(d&&k!=d);for(let B=0,Ha=l.length-1;B<=Ha;++B)l[B].depth=Ha-B;k=m;if(k.location&&k.location.ancestorOrigins&&k.location.ancestorOrigins.length==l.length-1)for(q=1;qMath.random()&&Ca();const Q=M,V=new bb;var hb=()=>{Q.google_measure_js_timing||(V.g=!1,V.events!=V.i.google_js_reporting_queue&&(T()&&Array.prototype.forEach.call(V.events,ab,void 0),V.events.length=0))}; (a=>{P=null!=a?a:new Wa;"number"!==typeof Q.google_srt&&(Q.google_srt=Math.random());Ua();U=new fb(V);U.i=b=>{const c=Da;0!==c&&(b.jc=String(c),b.shv=Ea(c))};U.l=!0;"complete"==Q.document.readyState?hb():V.g&&H(Q,"load",()=>{hb()})})();var X=(a,b)=>eb(a,b),ib=(a,b,c)=>{var d=gb,e="U";d.U&&d.hasOwnProperty(e)||(e=new d,d.U=e);d=[];!b.eid&&d.length&&(b.eid=d.toString());Va(P,a,b,!0,c,void 0)};function Y(a,b,c={}){c.msg_type=b;c.googMsgType="sth";b=JSON.stringify(c);a.parent.postMessage(b,"*")}function jb(a){if(a.C||E(a.i,2))return!0;let b=!0;const c=kb(a);c&&(b=36E5<=c);if(b)try{a.g.localStorage.removeItem("LAST_INTERSTITIAL_TIME")}catch(d){}return b}function Z(a,b,c){D(a.i,3,"")&&(b.qid=D(a.i,3,""));D(a.i,10,"")&&(b.eid=D(a.i,10,""));b.rtype=D(a.i,12,0);b.req=G.location.href;ib(a.M(),b,c)} function kb(a){try{const b=+a.g.localStorage.getItem("LAST_INTERSTITIAL_TIME"),c=Date.now();if(b&&b{b.forEach(d=>{if(!(0>=d.intersectionRatio)){this.v();for(const e of this.m.document.getElementsByClassName("GoogleActiveViewElement"))e.removeAttribute("data-google-av-dm");c.disconnect()}})},{threshold:na(this.i)})).observe(this.g.document.documentElement));H(this.g, "message",X(262,b=>{a:{var c=a;if(b&&(this.g.parent==b.source||this.g.parent.parent==b.source)){var d={};try{d=this.g.JSON.parse(b.data)}catch(f){b=void 0;break a}var e;switch(null==(e=d)?void 0:e.msg_type){case "i-view":this.s&&!c&&this.v();break;case "r-back-button":this.N()}}b=void 0}return b}));this.C||(this.A=X(263,()=>{this.s=jb(this);if(!this.s){var b={i_tslv:kb(this)};Y(this.g,"i-no",b)}}),H(this.g,"storage",this.A));E(this.i,22)?sa(this.g,{type:"render-start",interstitialCloseBtn:!0,width:-1, height:-1}):Y(this.g,"i-adframe-load")}T(a){let b;try{const c=ta(this.m);c.vv?c.vv():b=!0}catch(c){U.J(533,c,void 0,void 0);return}a=a||1;b?(Z(this,{vf:a}),3<=a||this.g.setTimeout(n(lb.prototype.T,this,a+1),3E3)):1{this.resolve=a})}};function nb(a){window.parent.postMessage(JSON.stringify({type:"rewarded",message:a}),"*")};var ob=a=>{a=a.document;let b={};a&&(b="CSS1Compat"==a.compatMode?a.documentElement:a.body);return b||{}};function pb(a,b,c){ib("jserror",{context:"iaf::itf",req:G.location.href,db:a?1:0,ls:b?1:0,eid:D(c,10,""),qid:D(c,3,""),rtype:D(c,12,0)})}function qb(a,b){rb(a,b)&&(a.j.style.background="rgba(192,192,192, .3)",m.setTimeout(()=>{a.j.style.background="transparent";a.dismiss(2)},750))}function sb(a,b){b.some(c=>{let d;return"intervention"===c.type&&"HeavyAdIntervention"===(null==(d=c.body)?void 0:d.id)})&&(Z(a,{hai:"1"},1),a.l?a.dismiss(8):Y(a.g,"i_iif"))} function tb(a){const b=X(259,n(function(){Y(this.g,"i-blur");I(this.g,"blur",b)},a));H(a.g,"blur",b)}function vb(a){a.o||0===a.l||(a.j.setAttribute("aria-label",D(a.i,7,"")),a.j.setAttribute("role","button"),a.j.setAttribute("tabindex","0"),a.j.focus())}function wb(a,b){var c={};E(a.i,15)?(nb("canceled"),nb("closed")):E(a.i,22)?sa(a.g,{type:"interstitial-close-ad",interstitialCloseBtn:!0}):Y(a.g,b,c)} function xb(a,b){const c=a.g.document.getElementById("creative");a.g.goog_vignette_survey&&(a.g.goog_vignette_survey.display(c,()=>{a.dismiss(3)},()=>{},1),b&&b.stopPropagation())}function yb(a){!1===a.o&&a.enableDismissListeners();a.R&&H(a.R,"click",X(261,c=>xb(a,c)));const b=a.g.document.getElementById("card");b&&b.addEventListener("click",X(909,c=>{null==c||c.stopPropagation()}))} function zb(a){H(a.g,"resize",()=>{var b=a.g;b=b.innerHeight>=b.innerWidth?1:2;a.D?(a.D=!1,a.I=2===b):(a.I?1===b:2===b)&&a.dismiss(4)})}function Ab(a){a.g.addEventListener("message",b=>{if(b.source===a.m)try{const c=JSON.parse(b.data);"rewarded"===c.type&&"closed"===c.message&&a.dismiss(11===D(a.i,12,0)?6:1)}catch(c){}})} function rb(a,b){if(!b)return!0;if((b.preventDefault?b.defaultPrevented:!1===b.returnValue)||b.target&&b.target.ownerDocument==a.m.document)return!1;for(a=b.target;a;){if("creative"==a.id)return!1;a=a.parentElement}return!0} class Bb extends lb{constructor(a,b,c,d){super(a,d);this.j=b;this.R=c;this.K=0;this.P=X(260,e=>{this.dismiss(1);e&&e.stopPropagation()});this.O=e=>qb(this,e);this.H=[];this.B=[];this.o=!1;this.L=()=>{};this.D=this.I=!1;this.u=null}F(){super.F();(this.u=this.g.ReportingObserver?new this.g.ReportingObserver((a,b)=>{sb(this,a)&&b.disconnect()},{buffered:!0}):null)&&H(this.g,"unload",()=>{sb(this,this.u.takeRecords());this.u.disconnect()})}M(){return"ia_evt"}N(){this.o?this.L():this.dismiss(9)}addViewListener(a){a= eb(483,a);this.l?a():this.H.push(a)}addDismissListener(a){this.B.push(eb(484,a))}disableDismissListeners(a){this.o=!0;this.L=a;I(this.j,"click",this.P);I(this.g.document,"click",this.O)}enableDismissListeners(){this.o=!1;H(this.j,"click",this.P);H(this.g.document,"click",this.O);vb(this)}dismiss(a){document.body.setAttribute("aria-hidden","true");Z(this,{ttd:Date.now()-this.l,req:G.location.href,pda:this.K,ds:a,idrw:E(this.i,15)?1:0});this.K++||tb(this);let b=0;for(let d=0;dwb(this,c),b)}G(){super.G();yb(this)}v(){super.v();var a=this.g;this.I=2===(a.innerHeight>=a.innerWidth?1:2);this.D=0===this.g.innerWidth&&0===this.g.innerHeight;zb(this);vb(this);var b=this.j.getBoundingClientRect(),c=b.bottom,d=b.right;a=ob(this.g).clientHeight;var e=ob(this.g).clientWidth,f=Math.floor(c-a);const g=Math.floor(d-e);if(0<=f||5=c?1:0,dhr:g>=d?1:0,h:a,w:e,bh:c,bw:d,opb:f,opr:g,pt:b.innerHeight>=b.innerWidth?1:0,req:this.g.location.href});document.getElementById("ad_iframe").contentWindow.postMessage(JSON.stringify({type:"rewarded",message:"visible"}),"*");for(a=0;a{{var c=document.getElementById("ad_iframe").contentWindow;var d=G.document;const g=c.document,h=D(b,5,0);var e=0===h||2===h?g.getElementById(D(b,6,"")):d.getElementById(D(b,6,""));d=0===h?g.getElementById(D(b,8,"")):d.getElementById(D(b,8,""));try{var f=!!G.localStorage}catch(l){}e?(f||pb(e,f,b),c=new Bb(c,e,d,b),c.F()):(pb(e,f,b),Y(G,"i_iif"),c=null)}window.interstitialAdFrame=c;e=window;e.google_llp||(e.google_llp={});e=e.google_llp;f=e[9];if(!f){const {promise:g, resolve:h}=new mb;f={promise:g,resolve:h};e[9]=f}e=f;e.resolve(c);return c});if(0===D(b,5,0)||2===D(b,5,0)||E(b,16)){const c=document.getElementById("ad_iframe");null!=c.contentDocument?ya(c.contentDocument,a):document.getElementById("ad_iframe").addEventListener("load",a)}else a()})(Db);}).call(this);