(function(){/* Copyright The Closure Library Authors. SPDX-License-Identifier: Apache-2.0 */ 'use strict';var k=this||self;function aa(a,b,c){return a.call.apply(a.bind,arguments)}function ea(a,b,c){if(!a)throw Error();if(2e;e++){var g=c.concat(d[e].split(""));ha[e]=g;for(var h=0;h>2];l=b[(l&3)<<4|m>>4];m=b[(m&15)<<2|f>>6];f=b[f&63];c[e++]=h+l+m+f}h=0;f=d;switch(a.length-g){case 2:h=a[g+1],f=b[(h&15)<<2]||d;case 1:a=a[g],c[e]=b[a>>2]+b[(a&3)<<4|h>>4]+f+d}a=c.join("")}}return Array.isArray(a)?na(a,ra):a}function oa(a){return ia&&null!=a&&a instanceof Uint8Array?new Uint8Array(a):a};function A(a,b,c=!1){return-1===b?null:b>=a.l?a.g?a.g[b]:void 0:c&&a.g&&(c=a.g[b],null!=c)?c:a.j[b+a.i]}function B(a,b,c){a=A(a,b);return null==a?c:a}function C(a,b){a=A(a,b);a=null==a?a:!!a;return null==a?!1:a}function sa(a){var b=ta;a.h||(a.h={});const c=a.h[1];if(c)return c;let d=A(a,1,!1);if(null==d)return c;b=new b(d);u(a.j)&&v(b.j);return a.h[1]=b} function ua(a){var b=va;a.h||(a.h={});var c=u(a.j),d=a.h[1];if(!d){var e=A(a,1,!1);null==e&&(e=z);if(u(a.j))v(e),Object.freeze(e);else if(e===z||u(e)){d=e=t(e.slice());if(u(a.j))throw Error("Cannot mutate an immutable Message");1{throw Error("Cannot perform instanceof checks for MutableMessage");})});class D extends ya{}Object.defineProperties(D,{[Symbol.hasInstance]:ma(Object[Symbol.hasInstance])});var ta=class extends D{constructor(a){super(a,-1,za)}},va=class extends D{constructor(a){super(a)}},za=[1];var Aa=class extends D{constructor(a){super(a)}};var G=class{constructor(a,b){this.g=b===F?a:""}};G.prototype.i=!0;G.prototype.h=function(){return this.g.toString()};G.prototype.toString=function(){return this.g.toString()};function Ba(a){return a instanceof G&&a.constructor===G?a.g:"type_error:SafeUrl"}var Ca=/^(?:(?:https?|mailto|ftp):|[^:/?#]*(?:[/?#]|$))/i,F={};/* SPDX-License-Identifier: Apache-2.0 */ var Da=class{};class H extends Da{constructor(a){super();this.g=a}toString(){return this.g}}var Ea=new H("about:invalid#zTSz");function Fa(a){if(a instanceof Da)if(a instanceof H)a=a.g;else throw Error("");else a=Ba(a);return a};function Ga(){}function Ha(a){let b=!1,c;return function(){b||(c=a(),b=!0);return c}};var Ia={capture:!0},Ja={passive:!0},Ka=Ha(function(){let a=!1;try{const b=Object.defineProperty({},"passive",{get:function(){a=!0}});k.addEventListener("test",null,b)}catch(b){}return a});function I(a,b,c,d){if(a.addEventListener){var e=a.addEventListener;d=d?d.passive&&Ka()?d:d.capture||!1:!1;e.call(a,b,c,d)}};function La(a,b,c){if(Array.isArray(b))for(var d=0;d{const a=J;J=[];for(const b of a)try{b()}catch(c){}};var Na=a=>{var b=L;"complete"===b.readyState||"interactive"===b.readyState?(J.push(a),1==J.length&&(window.Promise?Promise.resolve().then(K):window.setImmediate?setImmediate(K):setTimeout(K,0))):b.addEventListener("DOMContentLoaded",a)};function Oa(a=document){return a.createElement("img")};function Pa(a=null){return a&&"23"===a.getAttribute("data-jc")?a:document.querySelector('[data-jc="23"]')} function Qa(){if(!(.01{k.google_logging_queue||(k.google_logging_queue=[]);k.google_logging_queue.push([12,a])};class Sa{constructor(a){this.H=a}}function N(a){return new Sa(b=>b.substr(0,a.length+1).toLowerCase()===a+":")}const Ta=new Sa(a=>/^[^:]*([/?#]|$)/.test(a));var Ua=N("http"),Va=N("https"),Wa=N("ftp"),Xa=N("mailto");const Ya=[N("data"),Ua,Va,Xa,Wa,Ta];function Za(a=Ya){for(let b=0;b{var a=`${"http:"===M.location.protocol?"http:":"https:"}//${"pagead2.googlesyndication.com"}/pagead/gen_204`;return b=>{b={id:"unsafeurl",ctx:625,url:b};var c=[];for(d in b)La(d,b[d],c);var d=c.join("&");if(d){b=a.indexOf("#");0>b&&(b=a.length);c=a.indexOf("?");if(0>c||c>b){c=b;var e=""}else e=a.substring(c+1,b);b=[a.slice(0,c),e,a.slice(b)];c=b[1];b[1]=d?c?c+"&"+d:d:c;d=b[0]+(b[1]?"?"+b[1]:"")+b[2]}else d=a;navigator.sendBeacon&&navigator.sendBeacon(d,"")}};var cb=()=>{var a=L;try{return a.querySelectorAll("*[data-ifc]")}catch(b){return[]}},db=(a,b)=>{a&&Ma(b,(c,d)=>{a.style[d]=c})},eb=a=>{var b=L.body;const c=document.createDocumentFragment(),d=a.length;for(let e=0;e{const a=k.performance;return a&&a.now&&a.timing?Math.floor(a.now()+a.timing.navigationStart):Date.now()},gb=()=>{const a=k.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 P=k.performance,ib=!!(P&&P.mark&&P.measure&&P.clearMarks),Q=Ha(()=>{var a;if(a=ib){var b;if(null===O){O="";try{a="";try{a=k.top.location.hash}catch(c){a=k.location.hash}a&&(O=(b=a.match(/\bdeid=([\d,]+)/))?b[1]:"")}catch(c){}}b=O;a=!!b.indexOf&&0<=b.indexOf("1337")}return a});function jb(a){a&&P&&Q()&&(P.clearMarks(`goog_${a.label}_${a.uniqueId}_start`),P.clearMarks(`goog_${a.label}_${a.uniqueId}_end`))} class kb{constructor(){var a=window;this.g=[];this.i=a||k;let b=null;a&&(a.google_js_reporting_queue=a.google_js_reporting_queue||[],this.g=a.google_js_reporting_queue,b=a.google_measure_js_timing);this.h=Q()||(null!=b?b:1>Math.random())}start(a,b){if(!this.h)return null;a=new hb(a,b);b=`goog_${a.label}_${a.uniqueId}_start`;P&&Q()&&P.mark(b);return a}end(a){if(this.h&&"number"===typeof a.value){a.duration=(gb()||fb())-a.value;var b=`goog_${a.label}_${a.uniqueId}_end`;P&&Q()&&P.mark(b);!this.h||2048< this.g.length||this.g.push(a)}}};const R=new kb;var lb=()=>{window.google_measure_js_timing||(R.h=!1,R.g!=R.i.google_js_reporting_queue&&(Q()&&p(R.g,jb),R.g.length=0))};"number"!==typeof window.google_srt&&(window.google_srt=Math.random());"complete"==window.document.readyState?lb():R.h&&I(window,"load",()=>{lb()});var mb=a=>{I(M,"message",b=>{let c;try{c=JSON.parse(b.data)}catch(d){return}!c||"ig"!==c.googMsgType||a(c,b)})};function W(){this.h=this.h;this.i=this.i}W.prototype.h=!1;function nb(a){a.h||(a.h=!0,a.l())}W.prototype.l=function(){if(this.i)for(;this.i.length;)this.i.shift()()};function X(a,b,c){W.call(this);this.o=a;this.D=b||0;this.s=c;this.v=n(this.C,this)}fa(X,W);X.prototype.g=0;X.prototype.l=function(){X.I.l.call(this);0!=this.g&&k.clearTimeout(this.g);this.g=0;delete this.o;delete this.s}; X.prototype.start=function(a){0!=this.g&&k.clearTimeout(this.g);this.g=0;var b=this.v;a=void 0!==a?a:this.D;if("function"!==typeof b)if(b&&"function"==typeof b.handleEvent)b=n(b.handleEvent,b);else throw Error("Invalid listener argument");this.g=2147483647{a&&(a.style.display=b?"inline-block":"none")};function qb(a=""){const b={top:0,right:0,bottom:0,left:0};a&&(a=a.split(","),4===a.length&&a.reduce((c,d)=>c&&!isNaN(+d),!0)&&([b.top,b.right,b.bottom,b.left]=a.map(c=>+c)));return b} function rb(a,b,c=2147483647){const d=L.createElement("div");db(d,Object.assign({},ob,{"z-index":String(c)},b));C(a.data,10)&&I(d,"click",Ga);if(C(a.data,11)){a=b=L.createElement("a");c=bb();const e=$a(ab);e===Ea&&c("#");c=new G(Fa(e),F);c instanceof G||c instanceof G||(c="object"==typeof c&&c.i?c.h():String(c),Ca.test(c)||(c="about:invalid#zClosurez"),c=new G(c,F));a.href=Ba(c);b.appendChild(d);return b}return d} function sb(a,b){switch(B(b.m,5,1)){case 2:var c;let d;null==(c=M.AFMA_Communicator)||null==(d=c.addEventListener)||d.call(c,"onshow",()=>{Z(a,b)});break;case 10:I(M,"i-creative-view",()=>{Z(a,b)});break;case 4:I(L,"DOMContentLoaded",()=>{Z(a,b)});break;case 8:mb(h=>{h.rr&&Z(a,b)});break;case 9:"IntersectionObserver"in M&&(c=new IntersectionObserver(h=>{for(const f of h)if(0{Z(a,b)})}}function tb(a,b){b=qb(b);const c=B(a.data,9,0);a.i=[{width:"100%",height:b.top+c+"px",top:-c+"px",left:"0"},{width:b.right+c+"px",height:"100%",top:"0",right:-c+"px"},{width:"100%",height:b.bottom+c+"px",bottom:-c+"px",left:"0"},{width:b.left+c+"px",height:"100%",top:"0",left:-c+"px"}].map(d=>rb(a,d,9019))} function ub(a){var b=0;for(const d of a.D){const e=d.m,g=a.v[B(e,5,1)];d.u||void 0===g||(b=Math.max(b,g+B(e,2,0)))}a.l&&nb(a.l);b-=Date.now();const c=a.g;0{Y(c,!1)},b),a.l.start()):Y(c,!1)}function Z(a,b){b.u||(a.v[B(b.m,5,1)]=Date.now(),C(b.m,9)&&(a.D.push(b),ub(a)))};window.googqscp=new class{constructor(){this.i=[];this.l=this.g=null;this.D=[];this.data=null;this.C=[];this.h=[];this.s=[];this.v={};this.J=[];this.o=null}init(a){Ra([a]);this.data=new Aa(a);a=sa(this.data);p(ua(a),e=>{this.s.push({F:0,u:!1,G:0,m:e,A:-1})});this.h=cb();let b=!1;a=this.h.length;for(let e=0;e{this.s.push({F:0,u:!1,G:0,m:g,A:e});1===B(g,4,1)&&(b=!0)})}a=!1;for(var d of this.s)c=d.m,0{const e=L.body.querySelectorAll(".amp-fcp, .amp-bcp");for(let h=0;h{if(!1===e.isTrusted&&C(this.data,15))e.preventDefault?e.preventDefault():e.returnValue=!1,e.stopImmediatePropagation(), Qa();else{var g=-1,h=[];for(const w of this.s){var f=w.A,l=-1!==f;if(!(B(w.m,3,0)<=g||w.u||l&&!1===h[f])){var m=!l||h[f]||this.h[f].contains(e.target);l&&m&&(h[f]=!0);if(f=m)if(f=e,m=w,l=m.m,0S||0>T)f=!1;else{m=qb(B(m.m,1,""));x=!(S>=m.left&&ba-S>m.right&&T>=m.top&&ca-T>m.bottom);if(this.o&&C(this.data,12)&&300>f.timeStamp-this.o.timeStamp){f=this.o.changedTouches[0];const [U,V]=[f.clientX/E-l.left,f.clientY/E-l.top];!isNaN(U)&&!isNaN(V)&&0<=U&&0<=V&&(x=(x=C(this.data,16)?x:!1)||!(U>=m.left&&ba-U>m.right&&V>=m.top&&ca-V>m.bottom))}f=x}}}else f=!0;if(f){var y=w;g=B(w.m,3,0)}}}if(y)switch(g=y.m,B(g,4,1)){case 2:case 3:e.preventDefault? e.preventDefault():e.returnValue=!1;h=Date.now();500=B(h,8,0))if(y.u=!0,this.g&&0{this.o=e},Ja)}registerCallback(a){this.C.push(a)}};}).call(this);