(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(2=a.l?a.j?a.j[b]:void 0:a.g[b+a.i]}function D(a,b,c){a=C(a,b);return null==a?c:a}function E(a,b){a=C(a,b);a=null==a?a:!!a;return null==a?!1:a}function ma(a){a=C(a,13);a=null==a?a:+a;return null==a?0:a};function na(a,b=oa){return pa(a,b)}function qa(a,b){if(null!=a){if(Array.isArray(a))a=pa(a,b);else if(ea(a)){const c={};for(let d in a)c[d]=qa(a[d],b);a=c}else a=b(a);return a}}function pa(a,b){const c=a.slice();for(let d=0;de;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)?na(a,ra):a}function oa(a){return da&&null!=a&&a instanceof Uint8Array?new Uint8Array(a):a};let F;function sa(a){var b=ta;F=a=a?JSON.parse(a):null;b=new b(a);F=null;return b} var ua=class{constructor(a,b,c){var d=F;F=null;a||(a=d);d=this.constructor.messageId;a||(a=d?[d]:[]);this.i=(d?0:-1)-(this.constructor.g||0);this.g=a;a:{d=this.g.length;a=d-1;if(d&&(d=this.g[a],ea(d))){this.l=a-this.i;this.j=d;break a}void 0!==b&&-1{Object.defineProperties(va,{[Symbol.hasInstance]:la(()=>{throw Error("Cannot perform instanceof checks for MutableMessage");})})};wa();class xa extends va{}const ya=()=>{Object.defineProperties(xa,{[Symbol.hasInstance]:la(Object[Symbol.hasInstance])})};ya();var ta=class extends xa{constructor(a){super(a)}};function G(a,b){if(!b(a))throw Error(String(a));return a};var za=a=>"string"===typeof a,H=a=>!!a&&("object"===typeof a||"function"===typeof a);function Aa(a,b){var c=G(JSON.parse(a.name),H);c=G(c._context,H);const d=G(c.mode,H);c={version:G(d.rtvVersion,za),W:G(c.sentinel,za)};const {version:e,W:f}=c;b.sentinel=f;a.parent.postMessage(`amp-${e}${JSON.stringify(b)}`,"*")};function Ba(a=window){return a};var I=window;/* SPDX-License-Identifier: Apache-2.0 */ function J(a,b,c){a.addEventListener&&a.addEventListener(b,c,!1)}function K(a,b,c){a.removeEventListener&&a.removeEventListener(b,c,!1)};var Ca=RegExp("^(?:([^:/?#.]+):)?(?://(?:([^\\\\/?#]*)@)?([^\\\\/?#]*?)(?::([0-9]+))?(?=[\\\\/?#]|$))?([^?#]+)?(?:\\?([^#]*))?(?:#([\\s\\S]*))?$");function Da(a,b){if(a)for(const c in a)Object.prototype.hasOwnProperty.call(a,c)&&b(a[c],c,a)}let L=[];const N=()=>{const a=L;L=[];for(const b of a)try{b()}catch(c){}};var Ea=(a,b)=>{"complete"===a.readyState||"interactive"===a.readyState?(L.push(b),1==L.length&&(window.Promise?Promise.resolve().then(N):window.setImmediate?setImmediate(N):setTimeout(N,0))):a.addEventListener("DOMContentLoaded",b)};function Fa(a=document){return a.createElement("img")};function O(a,b,c=null){Ga(a,b,c)}function Ga(a,b,c){a.google_image_requests||(a.google_image_requests=[]);const d=Fa(a.document);if(c){const e=f=>{c&&c(f);K(d,"load",e);K(d,"error",e)};J(d,"load",e);J(d,"error",e)}d.src=b;a.google_image_requests.push(d)};let Ha=0;function Ia(a){return(a=Ja(a,document.currentScript))&&a.getAttribute("data-jc-version")||"unknown"}function Ja(a,b=null){return b&&b.getAttribute("data-jc")===String(a)?b:document.querySelector(`[${"data-jc"}="${a}"]`)};class Oa{constructor(a,b){this.error=a;this.context=b.context;this.msg=b.message||"";this.id=b.id||"jserror";this.meta={}}};const Pa=RegExp("^https?://(\\w|-)+\\.cdn\\.ampproject\\.(net|org)(\\?|/|$)");var Qa=class{constructor(a,b){this.g=a;this.i=b}},Ra=class{constructor(a,b){this.url=a;this.V=!!b;this.depth=null}};function P(a,b){const c={};c[a]=b;return[c]}function Sa(a,b,c,d,e){const f=[];Da(a,function(g,h){(g=Ta(g,b,c,d,e))&&f.push(h+"="+g)});return f.join(b)} function Ta(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(Sa(a,b,c,d,e+1)):"...";return encodeURIComponent(String(a))}function Ua(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 Va(a,b,c){b=b+"//pagead2.googlesyndication.com"+c;let d=Ua(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 Wa{constructor(){this.j="&";this.i={};this.l=0;this.g=[]}};function Xa(){var a=Q,b=window.google_srt;0<=b&&1>=b&&(a.g=b)}function Ya(a,b,c,d,e,f){if((d?a.g:Math.random())<(e||.01))try{let g;c instanceof Wa?g=c:(g=new Wa,Da(c,(l,k)=>{var w=g,r=w.l++;l=P(k,l);w.g.push(r);w.i[r]=l}));const h=Va(g,a.i,"/pagead/gen_204?id="+b+"&");h&&("undefined"!==typeof f?O(m,h,f):O(m,h))}catch(g){}}class Za{constructor(){this.i="http:"===I.location.protocol?"http:":"https:";this.g=Math.random()}};let R=null;var $a=()=>{const a=m.performance;return a&&a.now&&a.timing?Math.floor(a.now()+a.timing.navigationStart):Date.now()},ab=()=>{const a=m.performance;return a&&a.now?a.now():null};class bb{constructor(a,b){var c=ab()||$a();this.label=a;this.type=b;this.value=c;this.duration=0;this.uniqueId=Math.random();this.slotId=void 0}};const S=m.performance,cb=!!(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=cb){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 db(a){a&&S&&T()&&(S.clearMarks(`goog_${a.label}_${a.uniqueId}_start`),S.clearMarks(`goog_${a.label}_${a.uniqueId}_end`))} class eb{constructor(){var a=window;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 bb(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=(ab()||$a())-a.value;var b=`goog_${a.label}_${a.uniqueId}_end`;S&&T()&&S.mark(b);!this.g|| 2048gb(c,a,()=>b.apply(void 0,d))} class ib{constructor(a=null){this.j=Q;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 x=new Wa;var g=x;g.g.push(1);g.i[1]=P("context",a);b.error&&b.meta&&b.id||(b=new Oa(b,{message:fb(b)}));if(b.msg){g=x;var h=b.msg.substring(0,512);g.g.push(2);g.i[2]=P("msg",h)}var l=b.meta||{};b=l;if(this.i)try{this.i(b)}catch(t){}if(d)try{d(b)}catch(t){}d=x;l=[l];d.g.push(3);d.i[3]=l;d=m;l=[];let U;b=null;do{var k=d;try{var w;if(w=!!k&&null!=k.location.href)b:{try{p(k.foo); w=!0;break b}catch(t){}w=!1}var r=w}catch(t){r=!1}r?(U=k.location.href,b=k.document&&k.document.referrer||null):(U=b,b=null);l.push(new Ra(U||""));try{d=k.parent}catch(t){d=null}}while(d&&k!=d);for(let t=0,Ka=l.length-1;t<=Ka;++t)l[t].depth=Ka-t;k=m;if(k.location&&k.location.ancestorOrigins&&k.location.ancestorOrigins.length==l.length-1)for(r=1;r{window.google_measure_js_timing||(W.g=!1,W.events!=W.i.google_js_reporting_queue&&(T()&&Array.prototype.forEach.call(W.events,db,void 0),W.events.length=0))};(a=>{Q=null!=a?a:new Za;"number"!==typeof window.google_srt&&(window.google_srt=Math.random());Xa();V=new ib(W);V.i=b=>{const c=Ha;0!==c&&(b.jc=String(c),b.shv=Ia(c))};V.l=!0;"complete"==window.document.readyState?kb():W.g&&J(window,"load",()=>{kb()})})(); var X=(a,b)=>hb(a,b),lb=(a,b,c)=>{var d=jb,e="U";d.U&&d.hasOwnProperty(e)||(e=new d,d.U=e);d=[];!b.eid&&d.length&&(b.eid=d.toString());Ya(Q,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 mb(a){if(a.C||E(a.i,2))return!0;let b=!0;const c=nb(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=I.location.href;lb(a.M(),b,c)} function nb(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:ma(this.i)})).observe(this.g.document.documentElement));J(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();Z(this,{type:"viewmsg",has_iobs:!!this.g.IntersectionObserver});break;case "r-back-button":this.N()}}b=void 0}return b}));this.C||(this.A=X(263,()=>{this.s=mb(this);if(!this.s){var b={i_tslv:nb(this)};Y(this.g,"i-no",b)}}),J(this.g,"storage",this.A));E(this.i, 22)?Aa(this.g,{type:"render-start",interstitialCloseBtn:!0,width:-1,height:-1}):Y(this.g,"i-adframe-load")}T(a){let b;try{const c=Ba(this.m);c.vv?c.vv():b=!0}catch(c){V.J(533,c,void 0,void 0);return}a=a||1;b?(Z(this,{vf:a}),3<=a||this.g.setTimeout(n(ob.prototype.T,this,a+1),3E3)):1{this.resolve=a})}};function qb(a){window.parent.postMessage(JSON.stringify({type:"rewarded",message:a}),"*")};var rb=a=>{a=a.document;let b={};a&&(b="CSS1Compat"==a.compatMode?a.documentElement:a.body);return b||{}};function sb(a,b,c){lb("jserror",{context:"iaf::itf",req:I.location.href,db:a?1:0,ls:b?1:0,eid:D(c,10,""),qid:D(c,3,""),rtype:D(c,12,0)})}function tb(a,b){ub(a,b)&&(a.j.style.background="rgba(192,192,192, .3)",m.setTimeout(()=>{a.j.style.background="transparent";a.dismiss(2)},750))}function vb(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 wb(a){const b=X(259,n(function(){Y(this.g,"i-blur");K(this.g,"blur",b)},a));J(a.g,"blur",b)}function yb(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 zb(a,b){E(a.i,15)?(qb("canceled"),qb("closed")):E(a.i,22)?Aa(a.g,{type:"interstitial-close-ad",interstitialCloseBtn:!0}):Y(a.g,b)} function Ab(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 Bb(a){!1===a.o&&a.enableDismissListeners();a.R&&J(a.R,"click",X(261,c=>Ab(a,c)));const b=a.g.document.getElementById("card");b&&b.addEventListener("click",X(909,c=>{null==c||c.stopPropagation()}))} function Cb(a){J(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 Db(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 ub(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 Eb extends ob{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=>tb(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)=>{vb(this,a)&&b.disconnect()},{buffered:!0}):null)&&J(this.g,"unload",()=>{vb(this,this.u.takeRecords());this.u.disconnect()})}M(){return"ia_evt"}N(){this.o?this.L():this.dismiss(9)}addViewListener(a){a= hb(483,a);this.l?a():this.H.push(a)}addDismissListener(a){this.B.push(hb(484,a))}disableDismissListeners(a){this.o=!0;this.L=a;K(this.j,"click",this.P);K(this.g.document,"click",this.O)}enableDismissListeners(){this.o=!1;J(this.j,"click",this.P);J(this.g.document,"click",this.O);yb(this)}dismiss(a){document.body.setAttribute("aria-hidden","true");Z(this,{ttd:Date.now()-this.l,req:I.location.href,pda:this.K,ds:a,idrw:E(this.i,15)?1:0});this.K++||wb(this);let b=0;for(let d=0;dzb(this,c),b)}G(){super.G();Bb(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;Cb(this);yb(this);var b=this.j.getBoundingClientRect(),c=b.bottom,d=b.right;a=rb(this.g).clientHeight;var e=rb(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=I.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=!!I.localStorage}catch(l){}e?(f||sb(e,f,b),c=new Eb(c,e,d,b),c.F()):(sb(e,f,b),Y(I,"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 pb;f={promise:g,resolve:h};e[9]=f}e=f;e.resolve(c)});if(0===D(b,5,0)||2===D(b,5,0)||E(b,16)){const c=document.getElementById("ad_iframe");null!=c.contentDocument?Ea(c.contentDocument,a):document.getElementById("ad_iframe").addEventListener("load",a)}else a()})(Gb);}).call(this);