(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(2b&&-1!=b.indexOf(a)):!1:!1}function t(a){var b;a:{if(b=m.navigator)if(b=b.userAgent)break a;b=""}return-1!=b.indexOf(a)};function u(){return ca?!!r&&0=a.i?a.j?a.j[b]:void 0:a.g[b+-1]}function qa(a){var b=I(a,13);var c=null==b?b:"number"===typeof b||"NaN"===b||"Infinity"===b||"-Infinity"===b?Number(b):void 0;null!=c&&c!==b&&(a.l&&(a.l=void 0),13>=a.i?(b=a.i+-1,(a.j||(a.j=a.g[b]={}))[13]=c):(a.g[12]=c,(a=a.j)&&13 in a&&delete a[13]));return c}function J(a){return K(I(a,12),0)}function L(a,b){a=I(a,b);return K(null==a?a:!!a,!1)}function K(a,b){return null==a?b:a}function M(a,b){return K(I(a,b),"")};let N;function ra(a){switch(typeof a){case "number":return isFinite(a)?a:String(a);case "boolean":return a?1:0;case "object":if(a&&!Array.isArray(a)&&null!=a&&a instanceof Uint8Array){let b="",c=0;const d=a.length-10240;for(;c=e){Object.assign(b[b.length-1]={},f);break}}e=b;c=!c;a=a.i;let l;for(f=0;f{if(null==b||""==b)b=new a;else{b=JSON.parse(b);if(!Array.isArray(b))throw Error(void 0);ma(b,16);N=b;b=new a(b);N=void 0}return b}}(class extends Aa{});function Ca(a=window){return a};var O=window;function P(a,b,c){a.addEventListener&&a.addEventListener(b,c,!1)}function R(a,b,c){a.removeEventListener&&a.removeEventListener(b,c,!1)};var Da=RegExp("^(?:([^:/?#.]+):)?(?://(?:([^\\\\/?#]*)@)?([^\\\\/?#]*?)(?::([0-9]+))?(?=[\\\\/?#]|$))?([^?#]+)?(?:\\?([^#]*))?(?:#([\\s\\S]*))?$");function Ea(a,b){if(a)for(const c in a)Object.prototype.hasOwnProperty.call(a,c)&&b(a[c],c,a)}let S=[];const Fa=()=>{const a=S;S=[];for(const b of a)try{b()}catch{}};var Ga=(a,b)=>{"complete"===a.readyState||"interactive"===a.readyState?(S.push(b),1==S.length&&(window.Promise?Promise.resolve().then(Fa):window.setImmediate?setImmediate(Fa):setTimeout(Fa,0))):a.addEventListener("DOMContentLoaded",b)};function Ha(a=document){return a.createElement("img")};function Ia(a,b,c=null,d=!1){Ja(a,b,c,d)}function Ja(a,b,c,d){a.google_image_requests||(a.google_image_requests=[]);const e=Ha(a.document);if(c||d){const f=g=>{c&&c(g);if(d){g=a.google_image_requests;const k=Array.prototype.indexOf.call(g,e,void 0);0<=k&&Array.prototype.splice.call(g,k,1)}R(e,"load",f);R(e,"error",f)};P(e,"load",f);P(e,"error",f)}e.src=b;a.google_image_requests.push(e)};let Ka=0;function La(a){return(a=Ma(a,document.currentScript))&&a.getAttribute("data-jc-version")||"unknown"}function Ma(a,b=null){return b&&b.getAttribute("data-jc")===String(a)?b:document.querySelector(`[${"data-jc"}="${a}"]`)};class Na{constructor(a,b){this.error=a;this.context=b.context;this.msg=b.message||"";this.id=b.id||"jserror";this.meta={}}};const Oa=RegExp("^https?://(\\w|-)+\\.cdn\\.ampproject\\.(net|org)(\\?|/|$)");var Pa=class{constructor(a,b){this.g=a;this.i=b}},Qa=class{constructor(a,b){this.url=a;this.W=!!b;this.depth=null}};function Ra(a,b){const c={};c[a]=b;return[c]}function Wa(a,b,c,d,e){const f=[];Ea(a,function(g,k){(g=Xa(g,b,c,d,e))&&f.push(k+"="+g)});return f.join(b)} function Xa(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(Wa(a,b,c,d,e+1)):"...";return encodeURIComponent(String(a))}function Ya(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 Za(a,b){let c="https://pagead2.googlesyndication.com"+b,d=Ya(a)-b.length;if(0>d)return"";a.g.sort(function(f,g){return f-g});b=null;let e="";for(let f=0;f=h.length){d-=h.length;c+=h;e=a.j;break}b=null==b?g:b}}}a="";null!=b&&(a=e+"trn="+b);return c+a}class $a{constructor(){this.j="&";this.i={};this.l=0;this.g=[]}};function ab(){var a=bb,b=window.google_srt;0<=b&&1>=b&&(a.g=b)}function cb(a,b,c,d=!1,e){if((d?a.g:Math.random())<(e||.01))try{let f;c instanceof $a?f=c:(f=new $a,Ea(c,(k,l)=>{var h=f;const w=h.l++;k=Ra(l,k);h.g.push(w);h.i[w]=k}));const g=Za(f,"/pagead/gen_204?id="+b+"&");g&&Ia(m,g)}catch(f){}}class db{constructor(){this.g=Math.random()}};let eb=null;function fb(){const a=m.performance;return a&&a.now&&a.timing?Math.floor(a.now()+a.timing.navigationStart):Date.now()}function gb(){const a=m.performance;return a&&a.now?a.now():null};class hb{constructor(a,b){var c=gb()||fb();this.label=a;this.type=b;this.value=c;this.duration=0;this.uniqueId=Math.random();this.taskId=this.slotId=void 0}};const T=m.performance,ib=!!(T&&T.mark&&T.measure&&T.clearMarks),U=function(a){let b=!1,c;return function(){b||(c=a(),b=!0);return c}}(()=>{var a;if(a=ib){var b;if(null===eb){eb="";try{a="";try{a=m.top.location.hash}catch(c){a=m.location.hash}a&&(eb=(b=a.match(/\bdeid=([\d,]+)/))?b[1]:"")}catch(c){}}b=eb;a=!!b.indexOf&&0<=b.indexOf("1337")}return a});function jb(a){a&&T&&U()&&(T.clearMarks(`goog_${a.label}_${a.uniqueId}_start`),T.clearMarks(`goog_${a.label}_${a.uniqueId}_end`))} class kb{constructor(){var a=window;this.i=[];this.j=a||m;let b=null;a&&(a.google_js_reporting_queue=a.google_js_reporting_queue||[],this.i=a.google_js_reporting_queue,b=a.google_measure_js_timing);this.g=U()||(null!=b?b:1>Math.random())}start(a,b){if(!this.g)return null;a=new hb(a,b);b=`goog_${a.label}_${a.uniqueId}_start`;T&&U()&&T.mark(b);return a}end(a){if(this.g&&"number"===typeof a.value){a.duration=(gb()||fb())-a.value;var b=`goog_${a.label}_${a.uniqueId}_end`;T&&U()&&T.mark(b);!this.g||2048< this.i.length||this.i.push(a)}}};function lb(a){let b=a.toString();a.name&&-1==b.indexOf(a.name)&&(b+=": "+a.name);a.message&&-1==b.indexOf(a.message)&&(b+=": "+a.message);if(a.stack){a=a.stack;var c=b;try{-1==a.indexOf(c)&&(a=c+"\n"+a);let d;for(;a!=d;)d=a,a=a.replace(RegExp("((https?:/..*/)[^/:]*:\\d+(?:.|\n)*)\\2"),"$1");b=a.replace(RegExp("\n *","g"),"\n")}catch(d){b=c}}return b} function mb(a,b,c){let d,e;try{a.i&&a.i.g?(e=a.i.start(b.toString(),3),d=c(),a.i.end(e)):d=c()}catch(f){c=!0;try{jb(e),c=a.m(b,new Na(f,{message:lb(f)}),void 0,void 0)}catch(g){a.C(217,g)}if(c)window.console?.error?.(f);else throw f;}return d}function nb(a,b){var c=V;return(...d)=>mb(c,a,()=>b.apply(void 0,d))}function ob(a){var b=V;a.catch(c=>{c=c?c:"unknown rejection";b.C(967,c instanceof Error?c:Error(c),void 0,b.g||void 0)})} class pb{constructor(a=null){this.j=bb;this.g=null;this.m=this.C;this.i=a;this.l=!1}pinger(){return this.j}C(a,b,c,d,e){e=e||"jserror";let f;try{const x=new $a;var g=x;g.g.push(1);g.i[1]=Ra("context",a);b.error&&b.meta&&b.id||(b=new Na(b,{message:lb(b)}));if(b.msg){g=x;var k=b.msg.substring(0,512);g.g.push(2);g.i[2]=Ra("msg",k)}var l=b.meta||{};b=l;if(this.g)try{this.g(b)}catch(y){}if(d)try{d(b)}catch(y){}d=x;l=[l];d.g.push(3);d.i[3]=l;d=m;l=[];let ea;b=null;do{var h=d;try{var w;if(w=!!h&&null!=h.location.href)b:{try{la(h.foo); w=!0;break b}catch(y){}w=!1}var F=w}catch{F=!1}F?(ea=h.location.href,b=h.document&&h.document.referrer||null):(ea=b,b=null);l.push(new Qa(ea||""));try{d=h.parent}catch(y){d=null}}while(d&&h!=d);for(let y=0,Sa=l.length-1;y<=Sa;++y)l[y].depth=Sa-y;h=m;if(h.location&&h.location.ancestorOrigins&&h.location.ancestorOrigins.length==l.length-1)for(F=1;F{window.google_measure_js_timing||(W.g=!1,W.i!=W.j.google_js_reporting_queue&&(U()&&Array.prototype.forEach.call(W.i,jb,void 0),W.i.length=0))};(a=>{bb=a??new db;"number"!==typeof window.google_srt&&(window.google_srt=Math.random());ab();V=new pb(W);V.g=b=>{const c=Ka;0!==c&&(b.jc=String(c),b.shv=La(c))};V.l=!0;"complete"==window.document.readyState?rb():W.g&&P(window,"load",()=>{rb()})})(); var X=(a,b)=>nb(a,b),sb=(a,b,c)=>{var d=qb;var e="V";d.V&&d.hasOwnProperty(e)||(e=new d,d.V=e);d=[];!b.eid&&d.length&&(b.eid=d.toString());cb(bb,a,b,!0,c)};class tb{constructor(){this.promise=new Promise(a=>{this.resolve=a})}};function ub(a,b){b.google_llp||(b.google_llp={});b=b.google_llp;let c=b[a];if(c)return c;const {promise:d,resolve:e}=new tb;c={promise:d,resolve:e};return b[a]=c};async function vb(){return ub(10,m).promise};function Y(a,b,c={}){c.msg_type=b;c.googMsgType="sth";b=JSON.stringify(c);a.parent.postMessage(b,"*")}function wb(a){if(a.G||L(a.i,2))return!0;let b=!0;const c=xb(a);c&&(b=36E5<=c);if(b)try{a.g.localStorage.removeItem("LAST_INTERSTITIAL_TIME")}catch(d){}return b}function Z(a,b,c){M(a.i,3)&&(b.qid=M(a.i,3));M(a.i,10)&&(b.eid=M(a.i,10));b.rtype=J(a.i);b.req=O.location.href;sb(a.O(),b,c)} function xb(a){try{const b=+a.g.localStorage.getItem("LAST_INTERSTITIAL_TIME"),c=Date.now();if(b&&b{for(const d of a.o.document.getElementsByClassName("GoogleActiveViewElement"))d.removeAttribute("data-google-av-dm")};0c(),b):c();Z(a,{isfsapi:!!a.j,avp:fb()-a.X},.01)}} var zb=class{constructor(a,b,c){this.g=O;this.o=a;this.u=!1;this.A=null;this.m=0;this.i=b;this.X=fb();this.G=L(this.i,11)||10===J(this.i)||11===J(this.i);this.j=c;c?.enableCustomCloseButton()}O(){}D(){(this.u=wb(this))?(this.J(),M(this.i,1)&&this.g.parent.postMessage(M(this.i,1),"*")):this.j?.notifyError("freq_cap")}v(){if(!this.m){this.A&&R(this.g,"storage",this.A);this.m=Date.now();if(!L(this.i,2)&&!this.G)try{this.g.localStorage.setItem("LAST_INTERSTITIAL_TIME",""+this.m)}catch(b){}this.U();if(this.o){var a= this.g.document.createEvent("Event");a.initEvent("i-creative-view",!0,!1);this.o.dispatchEvent(a);a=this.g.document.createEvent("Event");a.initEvent("onshow",!0,!1);this.g.dispatchEvent(a)}}}H(){}J(){let a=!1;if(this.j){const b=this.j.waitForOnShow().then(()=>{this.v();yb(this)});ob(b);this.j.listenToBackButton(()=>{this.H()})}else this.g.IntersectionObserver&&.01{b.forEach(d=>{0>=d.intersectionRatio||(this.v(),yb(this),c.disconnect())})}, {threshold:K(qa(this.i),0)})).observe(this.g.document.documentElement));P(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(e){b=void 0;break a}switch(d?.msg_type){case "i-view":this.u&&!c&&this.v();Z(this,{type:"viewmsg",has_iobs:!!this.g.IntersectionObserver});break;case "r-back-button":null==this.j&&this.H()}}b=void 0}return b}));this.G||(this.A=X(263,()=>{this.u=wb(this);if(!this.u){var b={i_tslv:xb(this)}; Y(this.g,"i-no",b)}}),P(this.g,"storage",this.A));this.j||Y(this.g,"i-adframe-load")}U(a){let b;try{const c=Ca(this.o);c.vv?c.vv():b=!0}catch(c){V.C(533,c,void 0,void 0);return}a=a||1;b?(Z(this,{vf:a}),3<=a||this.g.setTimeout(n(zb.prototype.U,this,a+1),3E3)):1{a=a.document;let b={};a&&(b="CSS1Compat"==a.compatMode?a.documentElement:a.body);return b||{}};function Cb(a,b,c){sb("jserror",{context:"iaf::itf",req:O.location.href,db:a?1:0,ls:b?1:0,eid:M(c,10),qid:M(c,3),rtype:J(c)},.5)}function Db(a,b){Eb(a,b)&&(a.l.style.background="rgba(192,192,192, .3)",m.setTimeout(()=>{a.l.style.background="transparent";a.dismiss(2)},750))}function Fb(a,b){b.some(c=>"intervention"===c.type&&"HeavyAdIntervention"===c.body?.id)&&(Z(a,{hai:"1"},1),a.m?a.dismiss(8):a.j?a.j.notifyError("heavy_ads"):Y(a.g,"i_iif"))} function Hb(a){const b=X(259,n(function(){Y(this.g,"i-blur");R(this.g,"blur",b)},a));P(a.g,"blur",b)}function Ib(a){a.s||0===a.m||(a.l.setAttribute("aria-label",M(a.i,7)),a.l.setAttribute("role","button"),a.l.setAttribute("tabindex","0"),a.l.focus())}function Jb(a,b){L(a.i,15)?(Ab("canceled"),Ab("closed")):a.j?a.j.closeAd():Y(a.g,b)} function Kb(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 Lb(a){!1===a.s&&a.enableDismissListeners();a.T&&P(a.T,"click",X(261,c=>Kb(a,c)));const b=a.g.document.getElementById("card");b&&b.addEventListener("click",X(909,c=>{c?.stopPropagation()}))} function Mb(a){P(a.g,"resize",()=>{var b=a.g;b=b.innerHeight>=b.innerWidth?1:2;a.I?(a.I=!1,a.L=2===b):(a.L?1===b:2===b)&&a.dismiss(4)})}function Nb(a){a.g.addEventListener("message",b=>{if(b.source===a.o)try{const c=JSON.parse(b.data);"rewarded"===c.type&&"closed"===c.message&&a.dismiss(11===J(a.i)?6:1)}catch(c){}})} function Eb(a,b){if(!b)return!0;if((b.preventDefault?b.defaultPrevented:!1===b.returnValue)||b.target&&b.target.ownerDocument==a.o.document)return!1;for(a=b.target;a;){if("creative"==a.id)return!1;a=a.parentElement}return!0} var Ob=class extends zb{constructor(a,b,c,d,e){super(a,d,e);this.l=b;this.T=c;this.M=0;this.R=X(260,f=>{this.dismiss(1);f&&f.stopPropagation()});this.P=f=>Db(this,f);this.K=[];this.F=[];this.s=!1;this.N=()=>{};this.I=this.L=!1;this.B=null}D(){super.D();(this.B=this.g.ReportingObserver?new this.g.ReportingObserver((a,b)=>{Fb(this,a)&&b.disconnect()},{buffered:!0}):null)&&P(this.g,"pagehide",()=>{Fb(this,this.B.takeRecords());this.B.disconnect()})}O(){return"ia_evt"}H(){this.s?this.N():this.dismiss(9)}addViewListener(a){a= nb(483,a);this.m?a():this.K.push(a)}addDismissListener(a){this.F.push(nb(484,a))}disableDismissListeners(a){this.s=!0;this.N=a;R(this.l,"click",this.R);R(this.g.document,"click",this.P)}enableDismissListeners(){this.s=!1;P(this.l,"click",this.R);P(this.g.document,"click",this.P);Ib(this)}dismiss(a){document.body.setAttribute("aria-hidden","true");Z(this,{ttd:Date.now()-this.m,req:O.location.href,pda:this.M,ds:a,idrw:L(this.i,15)?1:0});this.M++||Hb(this);let b=0;for(let d=0;dJb(this,c),b)}J(){super.J();Lb(this)}v(){super.v();var a=this.g;this.L=2===(a.innerHeight>=a.innerWidth?1:2);this.I=0===this.g.innerWidth&&0===this.g.innerHeight;Mb(this);Ib(this);var b=this.l.getBoundingClientRect(),c=b.bottom,d=b.right;a=Bb(this.g).clientHeight;var e=Bb(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 d=null;L(b,25)&&(d=await vb());{var e=document.getElementById("ad_iframe").contentWindow;var f=O.document;const g=e.document,k=K(I(b,5),0),l=0===k||2===k?g.getElementById(M(b,6)):f.getElementById(M(b,6));f=0===k?g.getElementById(M(b,8)):f.getElementById(M(b,8));let h;try{h=!!O.localStorage}catch(w){}l?(h||Cb(l,h,b),e=new Ob(e,l,f,b,d),e.D()):(Cb(l,h,b),d?d.notifyError("no_dismiss_button"):Y(O,"i_iif"),e=null)}window.interstitialAdFrame= e;ub(9,window).resolve(e)});0===K(I(b,5),0)||2===K(I(b,5),0)||L(b,16)?(a=document.getElementById("ad_iframe"),null!=a.contentDocument?Ga(a.contentDocument,()=>void c()):document.getElementById("ad_iframe").addEventListener("load",c)):c()})(Qb);}).call(this);