(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 y(a){var b;a:{if(b=m.navigator)if(b=b.userAgent)break a;b=""}return-1!=b.indexOf(a)};function z(){return da?!!x&&0>11&1023;return 0===a?536870912:a};var oa={};function E(a){return null!==a&&"object"===typeof a&&!Array.isArray(a)&&a.constructor===Object}var G;const pa=[];pa[B]=39;G=Object.freeze(pa);function H(a){if(null==a)return a;switch(typeof a){case "string":return+a;case "number":return a}}function qa(a){return null==a?a:a};let I;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=D(b)){if(b&256)return a[a.length-1][c]}else if(b=c+((b>>9&1)-1),b=e){c=b;if(b&256)e=a[a.length-1];else{if(null==d)break a;e=a[e+((b>>9&1)-1)]={};c|=256}e[13]=d;c&=-1025;c!==b&&(a[B]=c)}else a[13+((b>>9&1)-1)]=d,b&256&&(c=a[a.length-1],13 in c&&delete c[13]),b&1024&&(a[B]=b&-1025)}return d}function K(a){return a??0} function L(a,b){a=J(a,b);return(null==a?a:"boolean"===typeof a||"number"===typeof a?!!a:void 0)??!1}function M(a,b){a=J(a,b);return(null==a||"string"===typeof a?a:void 0)??""};var Ba=class{constructor(a){a:{null==a&&(a=I);I=void 0;if(null==a){var b=96;a=[]}else{if(!Array.isArray(a))throw Error();b=a[B]|0;if(b&64)break a;var c=a;b|=64;var d=c.length;if(d){var e=d-1;d=c[e];if(E(d)){b|=256;const f=(b>>9&1)-1;e-=f;if(1024<=e){e=1023+f;const h=c.length;for(let g=e;g=e){Object.assign(b[b.length-1]={},h);break}f=!0}e=b;c=!c;h=a.o[B];a=D(h);h=(h>>9&1)-1;var g;for(let v=0;v{if(null==b||""==b)b=new a;else{b=JSON.parse(b);if(!Array.isArray(b))throw Error(void 0);b[B]|=32;I=b;b=new a(b);I=void 0}return b}}(class extends Ba{});function Da(a=window){return a};var N=window;function O(a,b,c){a.addEventListener&&a.addEventListener(b,c,!1)}function P(a,b,c){a.removeEventListener&&a.removeEventListener(b,c,!1)};var Ea=RegExp("^(?:([^:/?#.]+):)?(?://(?:([^\\\\/?#]*)@)?([^\\\\/?#]*?)(?::([0-9]+))?(?=[\\\\/?#]|$))?([^?#]+)?(?:\\?([^#]*))?(?:#([\\s\\S]*))?$");function Fa(a,b){if(a)for(const c in a)Object.prototype.hasOwnProperty.call(a,c)&&b(a[c],c,a)}let Q=[];const Ga=()=>{const a=Q;Q=[];for(const b of a)try{b()}catch{}};var Ha=(a,b)=>{"complete"===a.readyState||"interactive"===a.readyState?(Q.push(b),1==Q.length&&(window.Promise?Promise.resolve().then(Ga):window.setImmediate?setImmediate(Ga):setTimeout(Ga,0))):a.addEventListener("DOMContentLoaded",b)};function Ia(a=document){return a.createElement("img")};function Ja(a,b,c=null,d=!1){Ka(a,b,c,d)}function Ka(a,b,c,d){a.google_image_requests||(a.google_image_requests=[]);const e=Ia(a.document);if(c||d){const f=h=>{c&&c(h);if(d){h=a.google_image_requests;const g=Array.prototype.indexOf.call(h,e,void 0);0<=g&&Array.prototype.splice.call(h,g,1)}P(e,"load",f);P(e,"error",f)};O(e,"load",f);O(e,"error",f)}e.src=b;a.google_image_requests.push(e)};let La=0;function Ma(a){return(a=Na(a,document.currentScript))&&a.getAttribute("data-jc-version")||"unknown"}function Na(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.X=!!b;this.depth=null}};function R(a,b){const c={};c[a]=b;return[c]}function Xa(a,b,c,d,e){const f=[];Fa(a,function(h,g){(h=Ya(h,b,c,d,e))&&f.push(g+"="+h)});return f.join(b)} function Ya(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(Xa(a,b,c,d,e+1)):"...";return encodeURIComponent(String(a))}function Za(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 $a(a,b){let c="https://pagead2.googlesyndication.com"+b,d=Za(a)-b.length;if(0>d)return"";a.g.sort(function(f,h){return f-h});b=null;let e="";for(let f=0;f=k.length){d-=k.length;c+=k;e=a.j;break}b=null==b?h:b}}}a="";null!=b&&(a=e+"trn="+b);return c+a}class ab{constructor(){this.j="&";this.i={};this.l=0;this.g=[]}};function bb(){var a=S,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 ab?f=c:(f=new ab,Fa(c,(g,l)=>{var k=f;const n=k.l++;g=R(l,g);k.g.push(n);k.i[n]=g}));const h=$a(f,"/pagead/gen_204?id="+b+"&");h&&Ja(m,h)}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};var hb=class{constructor(a,b){var c=gb()||fb();this.label=a;this.type=b;this.value=c;this.duration=0;this.taskId=this.slotId=void 0;this.uniqueId=Math.random()}};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 Oa(f,{message:lb(f)}),void 0,void 0)}catch(h){a.D(217,h)}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.D(967,c instanceof Error?c:Error(c),void 0,b.g||void 0)})} class pb{constructor(a=null){this.j=S;this.g=null;this.m=this.D;this.i=a;this.l=!1}pinger(){return this.j}D(a,b,c,d,e){e=e||"jserror";let f;try{const t=new ab;t.g.push(1);t.i[1]=R("context",a);b.error&&b.meta&&b.id||(b=new Oa(b,{message:lb(b)}));if(b.msg){var h=b.msg.substring(0,512);t.g.push(2);t.i[2]=R("msg",h)}const ca=b.meta||{};if(this.g)try{this.g(ca)}catch(C){}if(d)try{d(ca)}catch(C){}b=[ca];t.g.push(3);t.i[3]=b;d=m;b=[];let sa;h=null;do{var g=d;try{var l;if(l=!!g&&null!=g.location.href)b:{try{la(g.foo); l=!0;break b}catch(C){}l=!1}var k=l}catch{k=!1}k?(sa=g.location.href,h=g.document&&g.document.referrer||null):(sa=h,h=null);b.push(new Ra(sa||""));try{d=g.parent}catch(C){d=null}}while(d&&g!=d);for(let C=0,Sa=b.length-1;C<=Sa;++C)b[C].depth=Sa-C;g=m;if(g.location&&g.location.ancestorOrigins&&g.location.ancestorOrigins.length==b.length-1)for(k=1;k{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=>{S=a??new db;"number"!==typeof window.google_srt&&(window.google_srt=Math.random());bb();V=new pb(W);V.g=b=>{const c=La;0!==c&&(b.jc=String(c),b.shv=Ma(c))};V.l=!0;"complete"==window.document.readyState?rb():W.g&&O(window,"load",()=>{rb()})})(); var X=(a,b)=>nb(a,b),sb=(a,b,c)=>{var d=qb;var e="W";d.W&&d.hasOwnProperty(e)||(e=new d,d.W=e);d=[];!b.eid&&d.length&&(b.eid=d.toString());cb(S,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.H||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=H(J(a.i,12))??0;b.req=N.location.href;sb(a.P(),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.s.document.getElementsByClassName("GoogleActiveViewElement"))d.removeAttribute("data-google-av-dm")};0c(),b):c();Z(a,{isfsapi:!!a.j,avp:fb()-a.Y},.01)}} var zb=class{constructor(a,b,c){this.g=N;this.s=a;this.v=!1;this.B=null;this.m=0;this.i=b;this.Y=fb();this.H=L(this.i,11)||10===(H(J(this.i,12))??0)||11===(H(J(this.i,12))??0);this.j=c;c?.enableCustomCloseButton()}P(){}F(){(this.v=wb(this))?(this.K(),M(this.i,1)&&this.g.parent.postMessage(M(this.i,1),"*")):this.j?.notifyError("freq_cap")}A(){if(!this.m){this.B&&P(this.g,"storage",this.B);this.m=Date.now();if(!L(this.i,2)&&!this.H)try{this.g.localStorage.setItem("LAST_INTERSTITIAL_TIME",""+this.m)}catch(b){}this.V(); if(this.s){var a=this.g.document.createEvent("Event");a.initEvent("i-creative-view",!0,!1);this.s.dispatchEvent(a);a=this.g.document.createEvent("Event");a.initEvent("onshow",!0,!1);this.g.dispatchEvent(a)}}}I(){}K(){let a=!1;if(this.j){const b=this.j.waitForOnShow().then(()=>{this.A();yb(this)});ob(b);this.j.listenToBackButton(()=>{this.I()})}else this.g.IntersectionObserver&&.01{b.forEach(d=>{0>=d.intersectionRatio||(this.A(),yb(this), c.disconnect())})},{threshold:K(za(this.i))})).observe(this.g.document.documentElement));O(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.v&&!c&&this.A();Z(this,{type:"viewmsg",has_iobs:!!this.g.IntersectionObserver});break;case "r-back-button":null==this.j&&this.I()}}b=void 0}return b}));this.H||(this.B=X(263,()=>{this.v=wb(this);if(!this.v){var b= {i_tslv:xb(this)};Y(this.g,"i-no",b)}}),O(this.g,"storage",this.B));this.j||Y(this.g,"i-adframe-load")}V(a){let b;try{const c=Da(this.s);c.vv?c.vv():b=!0}catch(c){V.D(533,c,void 0,void 0);return}a=a||1;b?(Z(this,{vf:a}),3<=a||this.g.setTimeout(p(zb.prototype.V,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:N.location.href,db:a?1:0,ls:b?1:0,eid:M(c,10),qid:M(c,3),rtype:H(J(c,12))??0},.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,p(function(){Y(this.g,"i-blur");P(this.g,"blur",b)},a));O(a.g,"blur",b)}function Ib(a){a.u||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.u&&a.enableDismissListeners();a.U&&O(a.U,"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){O(a.g,"resize",()=>{var b=a.g;b=b.innerHeight>=b.innerWidth?1:2;a.J?(a.J=!1,a.M=2===b):(a.M?1===b:2===b)&&a.dismiss(4)})}function Nb(a){a.g.addEventListener("message",b=>{if(b.source===a.s)try{const c=JSON.parse(b.data);"rewarded"===c.type&&"closed"===c.message&&a.dismiss(11===(H(J(a.i,12))??0)?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.s.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.U=c;this.N=0;this.T=X(260,f=>{this.dismiss(1);f&&f.stopPropagation()});this.R=f=>Db(this,f);this.L=[];this.G=[];this.u=!1;this.O=()=>{};this.J=this.M=!1;this.C=null}F(){super.F();(this.C=this.g.ReportingObserver?new this.g.ReportingObserver((a,b)=>{Fb(this,a)&&b.disconnect()},{buffered:!0}):null)&&O(this.g,"pagehide",()=>{Fb(this,this.C.takeRecords());this.C.disconnect()})}P(){return"ia_evt"}I(){this.u?this.O():this.dismiss(9)}addViewListener(a){a= nb(483,a);this.m?a():this.L.push(a)}addDismissListener(a){this.G.push(nb(484,a))}disableDismissListeners(a){this.u=!0;this.O=a;P(this.l,"click",this.T);P(this.g.document,"click",this.R)}enableDismissListeners(){this.u=!1;O(this.l,"click",this.T);O(this.g.document,"click",this.R);Ib(this)}dismiss(a){document.body.setAttribute("aria-hidden","true");Z(this,{ttd:Date.now()-this.m,req:N.location.href,pda:this.N,ds:a,idrw:L(this.i,15)?1:0});this.N++||Hb(this);let b=0;for(let d=0;dJb(this,c),b)}K(){super.K();Lb(this)}A(){super.A();var a=this.g;this.M=2===(a.innerHeight>=a.innerWidth?1:2);this.J=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 h=Math.floor(d-e);if(0<=f||5=c?1:0,dhr:h>=d?1:0,h:a,w:e,bh:c,bw:d,opb:f,opr:h,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=N.document;const h=e.document,g=K(qa(J(b,5))),l=0===g||2===g?h.getElementById(M(b,6)):f.getElementById(M(b,6));f=0===g?h.getElementById(M(b,8)):f.getElementById(M(b,8));let k;try{k=!!N.localStorage}catch(n){}l?(k||Cb(l,k,b),e=new Ob(e,l,f,b,d),e.F()):(Cb(l,k,b),d?d.notifyError("no_dismiss_button"):Y(N,"i_iif"),e=null)}window.interstitialAdFrame= e;ub(9,window).resolve(e)});0===K(qa(J(b,5)))||2===K(qa(J(b,5)))||L(b,16)?(a=document.getElementById("ad_iframe"),null!=a.contentDocument?Ha(a.contentDocument,()=>void c()):(sb("interst_no_doc",{type:"before"}),document.getElementById("ad_iframe").addEventListener("load",()=>{sb("interst_no_doc",{type:"load"});c()}))):c()})(Qb);}).call(this);