(function(){'use strict';var aa=Object.defineProperty,ba=globalThis;function ca(a,b){if(b)a:{var c=ba;a=a.split(".");for(var d=0;d{throw a;},0)};function r(a){r[" "](a);return a}r[" "]=function(){};let ea=void 0;function fa(a){if(a!=null){var b=ea??(ea={});var c=b[a]||0;c>=5||(b[a]=c+1,a=Error(),a.__closure__error__context__984382||(a.__closure__error__context__984382={}),a.__closure__error__context__984382.severity="incident",da(a))}};function t(a,b=!1){return b&&Symbol.for&&a?Symbol.for(a):a!=null?Symbol(a):Symbol()}var ha=t(),ia=t();const u=t("jas",!0);var ja={};function ka(a){return a!==null&&typeof a==="object"&&!Array.isArray(a)&&a.constructor===Object};function la(a){var b=ma;if(a===null||a===void 0)throw b=(typeof b==="function"?b():b)?.concat("\n")??"",Error(b+String(a));return a}let ma=void 0;const na=BigInt(Number.MIN_SAFE_INTEGER),oa=BigInt(Number.MAX_SAFE_INTEGER);function pa(a,b=`unexpected value ${a}!`){throw Error(b);};const qa=Number.isFinite;function y(a){return a==null||typeof a==="string"?a:void 0};function ra(a){return a};function sa(a,b,c){var d=ta;c=c?!!(b&32):void 0;const e=[];var f=a.length;let g,k,l,h=!1;b&64?(b&256?(f--,g=a[f],k=f):(k=4294967295,g=void 0),b&512||(h=!0,l=(ua??ra)(g?k- -1:b>>15&1023||536870912,-1,a,g),k=l+-1)):(k=4294967295,b&1||(g=f&&a[f-1],ka(g)?(f--,k=f,l=0):g=void 0));b=void 0;for(let m=0;m=k?(b??(b={}))[m- -1]=n:e[m]=n)}if(g)for(let m in g)a=g[m],a!=null&&(a=d(a,c))!=null&&(f=+m,f=na&&a<=oa?Number(a):""+a;case "boolean":return a?1:0;case "object":if(Array.isArray(a)){var b=a[u]|0;return a.length===0&&b&1?void 0:sa(a,b,!1)}if(a.J===ja)return va(a);if(a!=null&&a instanceof Uint8Array){a!=null&&a instanceof Uint8Array&&fa(ia);b="";let c=0;const d=a.length-10240;for(;c=e&&c&256?a[e][b]:d<=e?a[d]:void 0}return b}function C(a,b){a=B(a,b);return(a==null||typeof a==="boolean"?a:typeof a==="number"?!!a:void 0)??!1}function D(a,b){a=B(a,b);return(a==null?a:qa(a)?a|0:void 0)??0};var E=class{constructor(a){a:{if(a==null){var b=96;a=[]}else{if(!Array.isArray(a))throw Error("narr");b=a[u]|0;8192&b||!(64&b)||2&b||wa();if(b&1024)throw Error("farr");if(b&64){b&16384||(a[u]=b|16384);var c=a;break a}var d=a;b|=64;var e=d.length;if(e){var f=e-1;e=d[f];if(ka(e)){b|=256;const g=b&512?0:-1;f-=g;if(f>=1024)throw Error("pvtlmt");for(c in e){const k=+c;if(k{const a=G;G=[];for(const b of a)try{b()}catch{}}; var Ea=a=>{G.push(a);G.length==1&&(window.Promise?Promise.resolve().then(H):window.setImmediate?setImmediate(H):setTimeout(H,0))},Fa=a=>new Promise(b=>{a.readyState==="complete"||a.readyState==="interactive"?Ea(b):a.addEventListener("DOMContentLoaded",b)}),Ga=a=>new Promise(b=>{a.document.readyState==="complete"?Ea(b):a.addEventListener("load",b)});function Ha(a=document){return a.createElement("img")};function Ia(a){p.google_image_requests||(p.google_image_requests=[]);const b=Ha(p.document);b.src=a;p.google_image_requests.push(b)};let Ja=0;function Ka(a){return(a=La(a,document.currentScript))&&a.getAttribute("data-jc-version")||"unknown"}function La(a,b=null){return b&&b.getAttribute("data-jc")===String(a)?b:document.querySelector(`[${"data-jc"}="${a}"]`)};var Ma=class{constructor(a,b){this.error=a;this.context=b.context;this.msg=b.message||"";this.id=b.id||"jserror";this.meta={}}};function I(a){let b=a.toString();a.name&&b.indexOf(a.name)==-1&&(b+=": "+a.name);a.message&&b.indexOf(a.message)==-1&&(b+=": "+a.message);if(a.stack)a:{a=a.stack;var c=b;try{a.indexOf(c)==-1&&(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");break a}catch(d){b=c;break a}b=void 0}return b};const Na=RegExp("^https?://(\\w|-)+\\.cdn\\.ampproject\\.(net|org)(\\?|/|$)");var Oa=class{constructor(a,b){this.g=a;this.h=b}},Pa=class{constructor(a,b){this.url=a;this.H=!!b;this.depth=null}};let J=null;function Qa(){const a=p.performance;return a&&a.now&&a.timing?Math.floor(a.now()+a.timing.navigationStart):Date.now()}function Ra(){const a=p.performance;return a&&a.now?a.now():null};var Sa=class{constructor(a,b){var c=Ra()||Qa();this.label=a;this.type=b;this.value=c;this.duration=0;this.taskId=this.slotId=void 0;this.uniqueId=Math.random()}};const K=p.performance,Ta=!!(K&&K.mark&&K.measure&&K.clearMarks),L=function(a){let b=!1,c;return function(){b||(c=a(),b=!0);return c}}(()=>{var a;if(a=Ta){var b;a=window;if(J===null){J="";try{let c="";try{c=a.top.location.hash}catch(d){c=a.location.hash}c&&(J=(b=c.match(/\bdeid=([\d,]+)/))?b[1]:"")}catch(c){}}b=J;a=!!b.indexOf&&b.indexOf("1337")>=0}return a});function Ua(a){a&&K&&L()&&(K.clearMarks(`goog_${a.label}_${a.uniqueId}_start`),K.clearMarks(`goog_${a.label}_${a.uniqueId}_end`))};function N(a,b){const c={};c[a]=b;return[c]}function Va(a,b,c,d,e){const f=[];za(a,(g,k)=>{(g=Wa(g,b,c,d,e))&&f.push(`${k}=${g}`)});return f.join(b)} function Wa(a,b,c,d,e){if(a==null)return"";b=b||"&";c=c||",$";typeof c==="string"&&(c=c.split(""));if(a instanceof Array){if(d||(d=0),db&&(b=c.length);return 3997-b-a.i.length-1} function Ya(a,b){let c="https://pagead2.googlesyndication.com"+b,d=Xa(a)-b.length;if(d<0)return"";a.g.sort((f,g)=>f-g);b=null;let e="";for(let f=0;f=h.length){d-=h.length;c+=h;e=a.i;break}b=b==null?g:b}}}a="";b!=null&&(a=`${e}${"trn"}=${b}`);return c+a}var O=class{constructor(){this.i="&";this.h={};this.j=0;this.g=[]}};function Za(a,b,c){let d,e;try{a.g&&a.g.g?(e=a.g.start(b.toString(),3),d=c(),a.g.end(e)):d=c()}catch(f){c=!0;try{Ua(e),c=a.m(b,new Ma(f,{message:I(f)}),void 0,void 0)}catch(g){a.l(217,g)}if(c)window.console?.error?.(f);else throw f;}return d}function P(a,b,c){return(...d)=>Za(a,b,()=>c.apply(void 0,d))} var ab=class{constructor(a=null){this.j=Q;this.g=a;this.h=null;this.i=!1;this.m=this.l}l(a,b,c,d,e){e=e||"jserror";let f=void 0;try{const v=new O;var g=v;g.g.push(1);g.h[1]=N("context",a);b.error&&b.meta&&b.id||(b=new Ma(b,{message:I(b)}));g=b;if(g.msg){b=v;var k=g.msg.substring(0,512);b.g.push(2);b.h[2]=N("msg",k)}var l=g.meta||{};k=l;if(this.h)try{this.h(k)}catch(q){}if(d)try{d(k)}catch(q){}d=v;l=[l];d.g.push(3);d.h[3]=l;d=p;l=[];let M;k=null;do{var h=d;try{var m;if(m=!!h&&h.location.href!=null)b:{try{r(h.foo); m=!0;break b}catch(q){}m=!1}var n=m}catch{n=!1}n?(M=h.location.href,k=h.document&&h.document.referrer||null):(M=k,k=null);l.push(new Pa(M||""));try{d=h.parent}catch(q){d=null}}while(d&&h!=d);for(let q=0,Aa=l.length-1;q<=Aa;++q)l[q].depth=Aa-q;h=p;if(h.location&&h.location.ancestorOrigins&&h.location.ancestorOrigins.length==l.length-1)for(n=1;n=0;--z){var x=w[z];!h&&Na.test(x.url)&&(h=x);if(x.url&&!x.H){X=x;break}}x=null;const kb=w.length&&w[Y].url;X.depth!=0&&kb&&(x=w[Y]);f=new Oa(X,x);if(f.h){w=v;var A=f.h.url||"";w.g.push(4);w.h[4]=N("top",A)}var Z={url:f.g.url||""};if(f.g.url){const q=f.g.url.match(ya);var F=q[1],Ba=q[3],Ca=q[4];A="";F&&(A+=F+":");Ba&&(A+="//",A+=Ba,Ca&&(A+=":"+Ca));var Da=A}else Da="";F=v;Z=[Z,{url:Da}];F.g.push(5);F.h[5]=Z;$a(this.j,e,v,this.i,c)}catch(v){try{$a(this.j,e,{context:"ecmserr",rctx:a,msg:I(v),url:f?.g.url?? ""},this.i,c)}catch(M){}}return!0}};function $a(a,b,c,d=!1,e){if((d?a.g:Math.random())<(e||.01))try{let f;c instanceof O?f=c:(f=new O,za(c,(k,l)=>{var h=f;const m=h.j++;k=N(l,k);h.g.push(m);h.h[m]=k}));const g=Ya(f,"/pagead/gen_204?id="+b+"&");g&&Ia(g)}catch(f){}}function bb(){var a=Q,b=window.google_srt;b>=0&&b<=1&&(a.g=b)}class cb{constructor(){this.g=Math.random()}};let Q,R; const S=new class{constructor(a,b){this.h=[];this.i=b||p;let c=null;b&&(b.google_js_reporting_queue=b.google_js_reporting_queue||[],this.h=b.google_js_reporting_queue,c=b.google_measure_js_timing);this.g=L()||(c!=null?c:Math.random() 2048||this.h.push(a)}}}(1,window);var db=()=>{window.google_measure_js_timing||(S.g=!1,S.h!==S.i.google_js_reporting_queue&&(L()&&Array.prototype.forEach.call(S.h,Ua,void 0),S.h.length=0))};(a=>{Q=a??new cb;typeof window.google_srt!=="number"&&(window.google_srt=Math.random());bb();R=new ab(S);R.h=b=>{const c=Ja;c!==0&&(b.jc=String(c),b.shv=Ka(c))};R.i=!0;window.document.readyState=="complete"?db():S.g&&xa(window,"load",()=>{db()})})();var eb=function(a){return b=>{if(b==null||b=="")b=new a;else{b=JSON.parse(b);if(!Array.isArray(b))throw Error("dnarr");b[u]|=32;b=new a(b)}return b}}(class extends E{});var T=a=>{a.googMsgType="fullscreen"},fb=(a,b)=>{const c=e=>{let f;try{f=JSON.parse(e.data)}catch(g){return}!f||f.googMsgType!=="fullscreen"||b(f,e)};xa(a,"message",c);let d=!1;return()=>{let e=!1;d||(d=!0,a.removeEventListener?(a.removeEventListener("message",c,!1),e=!0):e=!1);return e}};function gb(a,b,c,d){return fb(a,P(d,952,(e,f)=>{if(f.source===b){if(!("eventType"in e))throw Error(`bad message ${JSON.stringify(e)}`);delete e.googMsgType;c(e)}}))}function hb(a,b){T(b);a.postMessage(JSON.stringify(b),"*")};class ib{constructor(){this.promise=new Promise((a,b)=>{this.resolve=a;this.reject=b})}};function jb(a){a.google_llp||(a.google_llp={});a=a.google_llp;let b=a[10];if(b)return b;const {promise:c,resolve:d}=new ib;b={promise:c,resolve:d};return a[10]=b};function U(){this.j=this.j;this.h=this.h}U.prototype.j=!1;U.prototype.dispose=function(){if(!this.j&&(this.j=!0,this.h))for(;this.h.length;)this.h.shift()()};U.prototype[Symbol.dispose]=function(){this.dispose()};function lb(a,b){a.j?b():(a.h||(a.h=[]),a.h.push(b))};function mb(a){const b=gb(a.i,a.l,c=>{if(c.eventType==="visible")nb(a);else if(c.eventType==="backButton")for(const d of a.C)Za(a.s,1003,d)},a.s);lb(a,b);ob(a);pb(a)}function V(a,b){qb(a,"usg_err",{error:b,stack:Error().stack??""},.25);throw Error(`FullscreenApi usage error: '${b}'. See ApiError in fullscreen/proto/enums.proto for details`);} function W(a,b,c){b.includes(a.g)?a.g=c:(qb(a,"st_err",{old_state:a.g,new_state:c}),C(a.config,8)&&(a.g=6,a=a.l,b={eventType:"adError"},T(b),a.postMessage(JSON.stringify(b),"*")))}function qb(a,b,c,d=.01){c.type=b;c.version=Ka(105);c.slot=D(a.config,3);c.freq=d;c.qem=y(B(a.config,7))??"";$a(a.I,"fullscreen_adapter",c,!1,d)} function ob(a){const b=a.i;if(b.IntersectionObserver){var c=new b.IntersectionObserver(P(a.s,954,(d,e)=>{for(const f of d)f.intersectionRatio<=0||(nb(a),e.disconnect())}),{threshold:.1});c.observe(b.document.documentElement);lb(a,()=>{c.disconnect()})}} async function pb(a){let b;const c=rb(a),d=D(a.config,5);switch(d){case 0:throw Error("adReadyTrigger is not set");case 1:b=Promise.resolve();break;case 2:b=Fa(c?la(c.contentDocument):a.i.document);break;case 3:b=Ga(c?la(c.contentWindow):a.i);break;default:pa(d,void 0)}try{await b.then(()=>Promise.all(a.A))}catch{a.notifyError("rejected adReadyDelay");return}hb(a.l,{eventType:"adReady",slotType:D(a.config,3),qem:y(B(a.config,7))??""});a.B=!0;W(a,[1],2)} function rb(a){const b=y(B(a.config,2))??"";return b===""?null:a.i.document.getElementById(b)}function nb(a){a.m=!0;W(a,[2],3);a.F.resolve()} class sb extends U{constructor(a,b,c,d){super();this.config=a;this.i=b;this.s=c;this.I=d;this.F=new ib;this.D=new ib;this.B=this.v=this.m=this.o=!1;this.G=void 0;this.C=[];this.A=[];this.g=1;this.l=b.parent;this.u=D(a,1)===2}delayAdReadyEvent(a){if(this.u)(C(this.config,8)?this.g===2||this.g===3||this.g===4||this.g===5:this.B)&&V(this,7),this.A.push(a);else throw Error("not implemented");}async waitForOnShow(){this.u&&!this.o&&V(this,2);return this.F.promise}enableCustomCloseButton(){this.o=!0}disableCustomCloseButton(){this.o= !1}closeAd(){(C(this.config,8)?this.g===3||this.g===4:this.m)||V(this,3);var a=1;D(this.config,3)===2&&(a=(C(this.config,8)?this.g===4:this.v)?2:3);var b=this.G;a={status:a};b!=null&&(a.payload=b);b=this.l;a={eventType:"adClosed",result:a};T(a);b.postMessage(JSON.stringify(a),"*");W(this,[3,4,5],5)}grantReward(a){D(this.config,3)!==2&&V(this,4);(C(this.config,8)?this.g===3||this.g===4:this.m)||V(this,5);(C(this.config,8)?this.g===4:this.v)&&V(this,6);this.v=!0;W(this,[3],4);this.G=a;this.D.resolve()}async waitForGrantReward(){return this.D.promise}listenToBackButton(a){this.C.push(a)}notifyError(a){qb(this, "ntf_err",{error:a},.25);a=this.l;var b={eventType:"adError"};T(b);a.postMessage(JSON.stringify(b),"*")}}function tb(a,b,c){jb(a).resolve(b);c=y(B(c,2))??"";if(c!==""){var d=a.document.getElementById(c);if(d==null)throw Error(`no creative iframe for id ${c}`);a=()=>{jb(d.contentWindow).resolve(b)};d.contentWindow==null?d.addEventListener("load",a):a()}};var ub;ub=P(R,953,a=>{var b=window,c=R,d=Q;a=eb(a.config);c=new sb(a,b,c,d);if(!C(a,4))if(c.u)mb(c);else throw Error(`Can't handle environment ${D(c.config,1)}`);tb(b,C(a,4)?null:c,a)});Ja=105;const vb=La(105,document.currentScript);if(vb==null)throw Error("JSC not found 105");const wb={},xb=vb.attributes;for(let a=xb.length-1;a>=0;a--){const b=xb[a].name;b.indexOf("data-jcp-")===0&&(wb[b.substring(9)]=xb[a].value)}ub(wb);}).call(this);