;
(self.AMP=self.AMP||[]).push({m:1,v:"2601162341000",n:"amp-ad-network-adsense-impl",ev:"0.1",l:!0,f:function(t,e){(()=>{function e(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function n(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function i(t){for(var i=1;i<arguments.length;i++){var r=null!=arguments[i]?arguments[i]:{};i%2?n(Object(r),!0).forEach((function(n){e(t,n,r[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function r(t,e){const n=t.length-e.length;return n>=0&&t.indexOf(e,n)==n}function s(t){const{length:e}=t;let n=5381;for(let i=0;i<e;i++)n=33*n^t.charCodeAt(i);return String(n>>>0)}function o(t,e,n){if(t.length>=e)return t;e-=t.length;let i=n;for(;e>i.length;)i+=n;return i.slice(0,e)+t}var{hasOwnProperty:a,toString:c}=Object.prototype;function h(t){return"[object Object]"===c.call(t)}function l(t){const e=Object.create(null);return t&&Object.assign(e,t),e}function d(t,e){return a.call(t,e)}var u=["javascript:","data:","vbscript:"],p=/(?:^[#?]?|&)([^=&]+)(?:=([^&]*))?/g;function m(t,e=""){try{return decodeURIComponent(t)}catch(t){return e}}function f(t){const e=l();if(!t)return e;let n;for(;n=p.exec(t);){const t=m(n[1],n[1]),i=n[2]?m(n[2].replace(/\+/g," "),n[2]):"";e[t]=i}return e}function g(t){const{location:e}=t||self;return f(e.originalHash||e.hash)}var{isArray:T}=Array;function A(t,e){const n=t.indexOf(e);return-1!=n&&(t.splice(n,1),!0)}function _(t){return 1==(null==t?void 0:t.nodeType)}function v(t){return"number"==typeof t&&isFinite(t)}function I(t){return t.indexOf("​​​")>=0}function b(t){const e=Object.getOwnPropertyDescriptor(t,"message");if(null!=e&&e.writable)return t;const{message:n,stack:i}=t,r=new Error(n);for(const e in t)r[e]=t[e];return r.stack=i,r}function y(t){let e=null,n="";for(const t of arguments)t instanceof Error&&!e?e=b(t):(n&&(n+=" "),n+=t);return e?n&&(e.message=n+": "+e.message):e=new Error(n),e}function E(t){var e,n;null===(e=(n=self).__AMP_REPORT_ERROR)||void 0===e||e.call(n,t)}function R(t){const e=y.apply(null,arguments);setTimeout((()=>{throw E(e),e}))}var w="";function S(t){const e=t||self;return e.__AMP_MODE?e.__AMP_MODE:e.__AMP_MODE=function(t){return{localDev:!1,development:N(t,g(t)),esm:!0,test:!1,rtvVersion:P(t),ssrReady:!1}}(e)}function P(t){var e;return w||(w=(null===(e=t.AMP_CONFIG)||void 0===e?void 0:e.v)||"012601162341000"),w}function N(t,e){const n=e||g(t);return["1","actions","amp","amp4ads","amp4email"].includes(n.development)||!!t.AMP_DEV_MODE}self.__AMP_LOG=self.__AMP_LOG||{user:null,dev:null,userForEmbed:null};var C=self.__AMP_LOG;function O(t,e){throw new Error("failed to call initLogConstructor")}function M(t){return C.user||(C.user=j()),function(t,e){return e&&e.ownerDocument.defaultView!=t}(C.user.win,t)?C.userForEmbed||(C.userForEmbed=j()):C.user}function j(t){return O()}function D(){return C.dev||(C.dev=O())}function k(t,e,n,i,r,s,o,a,c,h,l){return t}function x(t,e,n,i,r,s,o,a,c,h,l){return M().assert(t,e,n,i,r,s,o,a,c,h,l)}function V(t,e,n,i,r,s,o,a,c,h,l){return t}function U(t,e){return t}function L(t){return JSON.parse(t)}function $(t,e){try{return L(t)}catch(t){return null==e||e(t),null}}function G(t){return(t.ownerDocument||t).defaultView}function z(t,e){return t.closest(e)}var H,F={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},B=/(&|<|>|"|'|`)/g;function K(t){var e;null===(e=t.parentElement)||void 0===e||e.removeChild(t)}function q(t,e,n){return function(t,e){for(const n in e)t.setAttribute(n,e[n]);return t}(t.createElement(e),n)}function W(t,e){let n=t;do{if(n.nextSibling)return!0}while((n=n.parentNode)&&n!=e);return!1}function Y(t){return t?t.replace(B,X):t}function X(t){return F[t]}function J(t){try{t.focus()}catch(t){}}function Q(t){return t.parent&&t.parent!=t}function Z(t){if(!t)return null;const e=t.match(/^(.*)\/(.*)-([0-9.]+|latest)(\.max)?\.(?:js|mjs)(?:\?ssr-css=[0|1])?$/i),n=e?e[2]:void 0,i=e?e[3]:void 0;return n&&i?{extensionId:n,extensionVersion:i}:null}function tt(){return H||(H=Promise.resolve(void 0))}var et=class{constructor(){this.promise=new Promise(((t,e)=>{this.resolve=t,this.reject=e}))}};function nt(t){return new Promise((e=>{e(t())}))}function it(t,e,n,i){const r=lt(t),s=dt(r);pt(s,r,e,n),i&&ut(s,e)}function rt(t,e){return ut(t=ht(t),e)}function st(t,e){return ut(dt(lt(t)),e)}function ot(t,e){const n=dt(lt(t));return _t(n,e)?ut(n,e):null}function at(t,e){return function(t,e){const n=mt(t,e);if(n)return n;const i=ft(t);return i[e]=function(){const t=new et,{promise:e,reject:n,resolve:i}=t;return e.catch((()=>{})),{obj:null,promise:e,resolve:i,reject:n,context:null,ctor:null}}(),i[e].promise}(dt(t),e)}function ct(t,e){return mt(dt(t),e)}function ht(t){return t.__AMP_TOP||(t.__AMP_TOP=t)}function lt(t){return t.nodeType?(e=G(t),rt(e,"ampdoc")).getAmpDoc(t):t;var e}function dt(t){const e=lt(t);return e.isSingleDoc()?e.win:e}function ut(t,e){k(_t(t,e));const n=ft(t)[e];return n.obj||(k(n.ctor),k(n.context),n.obj=new n.ctor(n.context),k(n.obj),n.context=null,n.resolve&&n.resolve(n.obj)),n.obj}function pt(t,e,n,i,r,s){const o=ft(t);let a=o[n];a||(a=o[n]={obj:null,promise:null,resolve:null,reject:null,context:null,ctor:null,sharedInstance:s||!1}),!r&&a.ctor||(a.ctor=i,a.context=e,a.sharedInstance=s||!1,a.resolve&&ut(t,n))}function mt(t,e){const n=ft(t)[e];return n?n.promise?n.promise:(ut(t,e),n.promise=Promise.resolve(n.obj)):null}function ft(t){let e=t.__AMP_SERVICES;return e||(e=t.__AMP_SERVICES={}),e}function gt(t){return"function"==typeof t.dispose}function Tt(t,e){if(gt(e))try{(function(t){return k(gt(t)),t})(e).dispose()}catch(e){D().error("SERVICE","failed to dispose service",t,e)}}function At(t,e){const n=ut(dt(k(t.getParent())),e);pt(dt(t),t,e,(function(){return n}),!1,!0)}function _t(t,e){const n=t.__AMP_SERVICES&&t.__AMP_SERVICES[e];return!(!n||!n.ctor)}function vt(t,e,n,i){const r=ct(t,e);if(r)return r;const s=lt(t);return s.whenExtensionsKnown().then((()=>{const t=s.getExtensionVersion(n);return t?rt(s.win,"extensions").waitForExtension(n,t):null})).then((n=>n?i?ct(t,e):at(t,e):null))}function It(t,e,n){const i=ot(t,e);return i?Promise.resolve(i):vt(t,e,n)}var bt,yt=t=>ot(t,"action"),Et=t=>lt(t),Rt=t=>rt(t,"ampdoc"),wt=t=>vt(t,"amp-analytics-instrumentation","amp-analytics"),St=t=>at(t,"cid"),Pt=t=>rt(t,"crypto"),Nt=t=>st(t,"documentInfo").get(),Ct=t=>rt(t,"extensions"),Ot=t=>st(t,"history"),Mt=t=>st(t,"mutator"),jt=t=>rt(t,"platform"),Dt=t=>rt(t,"preconnect"),kt=t=>st(t,"resources"),xt=t=>at(t,"storage"),Vt=t=>ut(t,"timer"),Ut=t=>ot(t,"url-replace"),Lt=t=>vt(t,"consentPolicyManager","amp-consent"),$t=t=>vt(t,"geo","amp-geo",!0),Gt=t=>ot(t,"url"),zt=t=>st(t,"viewer"),Ht=t=>rt(t,"vsync"),Ft=t=>st(t,"viewport"),Bt=t=>rt(t,"xhr"),Kt=(()=>self.AMP.config.urls)(),qt=new Set(["c","v","a","ad"]),Wt="__amp_source_origin",Yt=t=>"string"==typeof t?Xt(t):t;function Xt(t,e){return bt||(bt=self.document.createElement("a")),Jt(bt,t)}function Jt(t,e,n){return t.href="",new URL(e,t.href)}function Qt(t,e){return function(t,e,n){if(!e)return t;const i=t.split("#",2),r=i[0].split("?",2);let s=r[0]+(r[1]?`?${r[1]}&${e}`:`?${e}`);return s+=i[1]?`#${i[1]}`:"",s}(t,function(t){const e=[];for(const s in t){let o=t[s];if(null!=o){o=T(r=o)?r:[r];for(let t=0;t<o.length;t++)e.push((n=s,i=o[t],`${encodeURIComponent(n)}=${encodeURIComponent(i)}`))}}var n,i,r;return e.join("&")}(e))}function Zt(t){return"https:"==(t=Yt(t)).protocol||"localhost"==t.hostname||"127.0.0.1"==t.hostname||r(t.hostname,".localhost")}function te(t,e,n="source"){return x(null!=t,"%s %s must be available",e,n),x(Zt(t)||/^\/\//.test(t),'%s %s must start with "https://" or "//" or be relative and served from either https or from localhost. Invalid value: %s',e,n,t),t}function ee(t){return Kt.cdnProxyRegex.test(Yt(t).origin)}function ne(t){return t.startsWith("amp-script:")}function ie(t){return!(t&&u.includes(Yt(t).protocol))}function re(t){if(!ee(t=Yt(t)))return t.href;const e=t.pathname.split("/"),n=e[1];x(qt.has(n),"Unknown path prefix in url %s",t.href);const i=e[2],r="s"==i?"https://"+decodeURIComponent(e[3]):"http://"+decodeURIComponent(i);return x(r.indexOf(".")>0,"Expected a . in origin %s",r),e.splice(1,"s"==i?3:2),r+e.join("/")+function(t,e){if(!t||"?"==t)return"";const n=new RegExp("[?&](amp_(js[^&=]*|gsa|r|kit)|usqp)\\b[^&]*","g"),i=t.replace(n,"").replace(/^[?&]/,"");return i?"?"+i:""}(t.search)+(t.hash||"")}function se(t){return Xt(re(t)).origin}function oe(t){const e=f(Xt(t).search);x(!(Wt in e),"Source origin is not allowed in %s",t)}var ae=(()=>self.AMP.config.urls)(),ce="-test-amp-cookie-tmp";function he(t,e){const n=function(t){try{return t.document.cookie}catch(t){return""}}(t);if(!n)return null;const i=n.split(";");for(let t=0;t<i.length;t++){const n=i[t].trim(),r=n.indexOf("=");if(-1!=r&&m(n.substring(0,r).trim())==e){const t=n.substring(r+1).trim();return m(t,t)}}return null}function le(t,e,n,i,s={}){let o;!function(t,e,n){if(e.allowOnProxyOrigin)return void x(!e.highestAvailableDomain,"Could not support highestAvailable Domain on proxy origin, specify domain explicitly");x(!ee(t.location.href),`Should never attempt to set cookie on proxy origin: ${n}`);const i=Xt(t.location.href).hostname.toLowerCase(),s=Xt(ae.cdn).hostname.toLowerCase();x(!(i==s||r(i,"."+s)),"Should never attempt to set cookie on proxy origin. (in depth check): "+n)}(t,s,e),s.domain?o=s.domain:s.highestAvailableDomain&&(o=function(t){const e=t.document.head&&t.document.head.querySelector("meta[name='amp-cookie-scope']");if(e){const n=e.getAttribute("content")||"",i=se(t.location.href);return r(i,"."+n)?n:i.split("://")[1]}if(!ee(t.location.href)){const e=t.location.hostname.split(".");let n=e[e.length-1];const i=ue(t);for(let r=e.length-2;r>=0;r--)if(n=e[r]+"."+n,de(t,i,"delete",Date.now()+1e3,n),"delete"==he(t,i))return de(t,i,"delete",Date.now()-1e3,n),n}return null}(t)),de(t,e,n,i,o,s.sameSite,s.secure)}function de(t,e,n,i,r,s,o){"ampproject.org"==r&&(n="delete",i=0);const a=encodeURIComponent(e)+"="+encodeURIComponent(n)+"; path=/"+(r?"; domain="+r:"")+"; expires="+new Date(i).toUTCString()+function(t,e){return e?`; SameSite=${e}`:""}(0,s)+(o?"; Secure":"");try{t.document.cookie=a}catch(t){}}function ue(t){let e=ce,n=0;for(;he(t,e);)e=ce+n++;return e}function pe(t){const e=ue(t),n="TESTCOOKIEVALUE";try{return le(t,e,n,Date.now()+1e3),he(t,e)===n}catch(t){}return!1}var me="amp-ff-set-cookies";function fe(t,e){return ee(t.location)?"":e}function ge(t){const e=[];let n=0;for(;_(t)&&n<25;){let i="";t.id&&(i=`/${t.id}`);const r=t.nodeName.toLowerCase();e.push(`${r}${i}${Ae(t)}`),n++,t=t.parentElement}return e.join()}var Te=class{static generate(t){return s(ge(t))}};function Ae(t){const{nodeName:e}=t;let n=0,i=0,r=t.previousElementSibling;for(;r&&i<25&&n<100;)r.nodeName==e&&i++,n++,r=r.previousElementSibling;return i<25&&n<100?`.${i}`:""}function _e(t,e,n,i){return{left:t,top:e,width:n,height:i,bottom:e+i,right:t+n,x:t,y:e}}function ve(t,e,n){return 0==e&&0==n||0==t.width&&0==t.height?t:_e(t.left+e,t.top+n,t.width,t.height)}function Ie(t){const e=t.ownerDocument.body;let n=0,i=0;for(let r=t;r&&r!=e;r=r.offsetParent)n+=r.offsetLeft,i+=r.offsetTop;const{offsetHeight:r,offsetWidth:s}=t;return _e(n,i,s,r)}var be="__AMP__EXPERIMENT_TOGGLES";function ye(t){var e;return!(null===(e=t.AMP_CONFIG)||void 0===e||!e.canary)}function Ee(t){var e;return(null===(e=t.AMP_CONFIG)||void 0===e?void 0:e.type)||"unknown"}function Re(t,e){return!!we(t)[e]}function we(t){var e,n,r,s,o;if(t[be])return t[be];t[be]=l();const a=t[be];V(a);const c=i(i({},null!==(e=t.AMP_CONFIG)&&void 0!==e?e:{}),null!==(n=t.AMP_EXP)&&void 0!==n?n:L((null===(r=t.__AMP_EXP)||void 0===r?void 0:r.textContent)||"{}"));for(const t in c){const e=c[t];"number"==typeof e&&e>=0&&e<=1&&(a[t]=Math.random()<e)}const h=null===(s=t.AMP_CONFIG)||void 0===s?void 0:s["allow-doc-opt-in"];if(T(h)&&h.length){const e=t.document.head.querySelector('meta[name="amp-experiments-opt-in"]');if(e){var d;const t=(null===(d=e.getAttribute("content"))||void 0===d?void 0:d.split(","))||[];for(const e of t)h.includes(e)&&(a[e]=!0)}}Object.assign(a,function(t){var e;let n="";try{var i;"localStorage"in t&&(n=null!==(i=t.localStorage.getItem("amp-experiment-toggles"))&&void 0!==i?i:"")}catch(t){}const r=(null===(e=n)||void 0===e?void 0:e.split(/\s*,\s*/g))||[],s=l();for(const t of r)t&&("-"==t[0]?s[t.substr(1)]=!1:s[t]=!0);return s}(t));const u=null===(o=t.AMP_CONFIG)||void 0===o?void 0:o["allow-url-opt-in"];if(T(u)&&u.length){const e=f(t.location.originalHash||t.location.hash);for(const t of u){const n=e[`e-${t}`];"1"==n&&(a[t]=!0),"0"==n&&(a[t]=!1)}}return a}var Se;function Pe(t){const e=Math.random();return t[Math.floor(e*t.length)]||null}function Ne(t,e){t.__AMP_EXPERIMENT_BRANCHES=t.__AMP_EXPERIMENT_BRANCHES||{};const n={};for(const r of e){var i;const e=r.experimentId;d(t.__AMP_EXPERIMENT_BRANCHES,e)?n[e]=t.__AMP_EXPERIMENT_BRANCHES[e]:null!==(i=r.isTrafficEligible)&&void 0!==i&&i.call(r,t)?!t.__AMP_EXPERIMENT_BRANCHES[e]&&Re(t,e)&&(t.__AMP_EXPERIMENT_BRANCHES[e]=Pe(r.branches),n[e]=t.__AMP_EXPERIMENT_BRANCHES[e]):t.__AMP_EXPERIMENT_BRANCHES[e]=null}return n}function Ce(t,e){return t.__AMP_EXPERIMENT_BRANCHES?t.__AMP_EXPERIMENT_BRANCHES[e]:null}function Oe(t){return function(t,e){const n=e.documentElement;return["⚡4email","amp4email"].some((t=>n.hasAttribute(t)))}(0,t)}function Me(t){return"complete"==t.readyState}var je="Failed to load:";function De(t){return t.data}function ke(t,e,n,i){let r=n;const s=function(t,e,n,i){let r=t,s=n,o=t=>{try{return s(t)}catch(t){var e,n;throw null===(e=(n=self).__AMP_REPORT_ERROR)||void 0===e||e.call(n,t),t}};const a=function(){if(void 0!==Se)return Se;Se=!1;try{const t={get capture(){return Se=!0,!1}};self.addEventListener("test-options",null,t),self.removeEventListener("test-options",null,t)}catch(t){}return Se}(),c=!(null==i||!i.capture);return r.addEventListener(e,o,a?i:c),()=>{null==r||r.removeEventListener(e,o,a?i:c),s=null,r=null,o=null}}(t,e,(t=>{try{r(t)}finally{r=null,s()}}),i);return s}function xe(t){let e,n;if(function(t){return!!(t.complete||"complete"==t.readyState||Ve(t)&&t.readyState>0||t.document&&"complete"==t.document.readyState)}(t))return Promise.resolve(t);const i=Ve(t);return i&&t.__AMP_MEDIA_LOAD_FAILURE_SRC===t.currentSrc?Promise.reject(t):new Promise(((r,s)=>{if(e=i?ke(t,"loadedmetadata",r,{capture:!0}):ke(t,"load",r),!t.tagName)return;let o=t;if(i&&!t.hasAttribute("src")&&(o=function(t,e){for(let n=t.lastElementChild;n;n=n.previousElementSibling)if(e(n))return n;return null}(t,(t=>"SOURCE"===t.tagName)),!o))return s(new Error("Media has no source."));n=ke(o,"error",s)})).then((()=>(n&&n(),t)),(()=>{e&&e(),function(t){Ve(t)&&(t.__AMP_MEDIA_LOAD_FAILURE_SRC=t.currentSrc||!0);let e=t;throw e&&e.src&&(e=e.src),M().createError(je,e)}(t)}))}function Ve(t){return"AUDIO"===t.tagName||"VIDEO"===t.tagName}var Ue={"navigationStart":1,"redirectStart":1,"redirectEnd":1,"fetchStart":1,"domainLookupStart":1,"domainLookupEnd":1,"connectStart":1,"secureConnectionStart":1,"connectEnd":1,"requestStart":1,"responseStart":1,"responseEnd":1,"domLoading":2,"domInteractive":2,"domContentLoaded":2,"domComplete":2,"loadEventStart":3,"loadEventEnd":4};function Le(t,e,n){const i=t.performance&&t.performance.timing;if(!i||0==i.navigationStart)return;const r=void 0===n?i[e]:i[n]-i[e];return!v(r)||r<0?void 0:r}function $e(t,e){const n=t.performance&&t.performance.navigation;if(n&&void 0!==n[e])return n[e]}function Ge(t,e,n,i){const r=isNaN(i)||null==i?1e3:i,s=St(t).then((t=>{if(t)return t.get({scope:e,createCookieIfNotPresent:!0,cookieName:n},Promise.resolve(void 0)).catch((t=>{D().error("AD-CID",t)}))}));return Vt(t.win).timeoutPromise(r,s,"cid timeout").catch((t=>{}))}JSON.parse('{"_ping_":{"renderStartImplemented":true,"clientIdScope":"_PING_","consentHandlingOverride":true},"1wo":{},"24smi":{"prefetch":"https://jsn.24smi.net/smi.js","preconnect":"https://data.24smi.net"},"4wmarketplace":{"renderStartImplemented":true},"a8":{"prefetch":"https://statics.a8.net/amp/ad.js","renderStartImplemented":true},"a9":{"prefetch":"https://z-na.amazon-adsystem.com/widgets/onejs?MarketPlace=US"},"accesstrade":{"prefetch":"https://h.accesstrade.net/js/amp/amp.js"},"adagio":{"prefetch":"https://js-ssl.neodatagroup.com/adagio_amp.js","preconnect":["https://ad-aws-it.neodatagroup.com","https://tracker.neodatagroup.com"],"renderStartImplemented":true},"adblade":{"prefetch":"https://web.adblade.com/js/ads/async/show.js","preconnect":["https://staticd.cdn.adblade.com","https://static.adblade.com"],"renderStartImplemented":true},"adbutler":{"prefetch":"https://servedbyadbutler.com/app.js"},"adenza":{"renderStartImplemented":true},"adform":{},"adfox":{"prefetch":"https://yandex.ru/ads/system/context.js","preconnect":["https://yastatic.net/"],"renderStartImplemented":true},"adgeneration":{"prefetch":"https://i.socdm.com/sdk/js/adg-script-loader.js"},"adglare":{"renderStartImplemented":true},"adhese":{"renderStartImplemented":true},"adincube":{"renderStartImplemented":true},"adition":{},"adman":{},"admanmedia":{"renderStartImplemented":true},"admatic":{},"admixer":{"renderStartImplemented":true,"preconnect":["https://inv-nets.admixer.net","https://cdn.admixer.net"]},"adnuntius":{"prefetch":"https://cdn.adnuntius.com/adn.js","renderStartImplemented":true},"adocean":{"consentHandlingOverride":true},"adop":{},"adpicker":{"renderStartImplemented":true},"adplugg":{"prefetch":"https://www.adplugg.com/serve/js/ad.js","renderStartImplemented":true},"adpon":{"prefetch":"https://ad.adpon.jp/amp.js","clientIdScope":"AMP_ECID_ADPON"},"adpushup":{"prefetch":"https://securepubads.g.doubleclick.net/tag/js/gpt.js","preconnect":"https://cdn.adpushup.com"},"adreactor":{},"ads2bid":{"renderStartImplemented":true},"adsensor":{"prefetch":"https://wfpscripts.webspectator.com/amp/adsensor-amp.js","clientIdScope":"amp_ecid_adensor","renderStartImplemented":true},"adservsolutions":{},"adskeeper":{"renderStartImplemented":true,"preconnect":["https://jsc.adskeeper.com","https://servicer.adskeeper.com","https://s-img.adskeeper.com"]},"adsloom":{"clientIdScope":"AMP_ECID_ADSLOOM"},"adsnative":{"prefetch":"https://static.adsnative.com/static/js/render.v1.js","preconnect":"https://api.adsnative.com"},"adspeed":{"preconnect":"https://g.adspeed.net","renderStartImplemented":true},"adspirit":{},"adstir":{"prefetch":"https://js.ad-stir.com/js/adstir_async.js","preconnect":"https://ad.ad-stir.com"},"adstyle":{"prefetch":"https://widgets.ad.style/amp.js","preconnect":["https://w.ad.style"]},"adtech":{"prefetch":"https://s.aolcdn.com/os/ads/adsWrapper3.js","preconnect":["https://mads.at.atwola.com","https://aka-cdn.adtechus.com"]},"adtelligent":{"preconnect":["https://s.adtelligent.com"],"renderStartImplemented":true},"adthrive":{"prefetch":["https://www.googletagservices.com/tag/js/gpt.js"],"preconnect":["https://partner.googleadservices.com","https://securepubads.g.doubleclick.net","https://tpc.googlesyndication.com"],"renderStartImplemented":true},"adsviu":{"prefetch":"https://widget.adsviu.com/adsviuAMP.js","preconnect":["https://api.adsviu.com"]},"adunity":{"preconnect":["https://content.adunity.com"],"renderStartImplemented":true},"aduptech":{"prefetch":"https://s.d.adup-tech.com/jsapi","preconnect":["https://d.adup-tech.com","https://m.adup-tech.com","https://v.adup-tech.com"],"renderStartImplemented":true,"consentHandlingOverride":true},"adventive":{"preconnect":["https://ads.adventive.com","https://amp.adventivedev.com"],"renderStartImplemented":true},"adverline":{"prefetch":"https://ads.adverline.com/richmedias/amp.js","preconnect":["https://adnext.fr"],"renderStartImplemented":true},"adverticum":{},"advertserve":{"renderStartImplemented":true},"adyoulike":{"consentHandlingOverride":true,"prefetch":"https://fo-static.omnitagjs.com/amp.js","renderStartImplemented":true},"adzerk":{},"affiliateb":{"prefetch":"https://track.affiliate-b.com/amp/a.js","renderStartImplemented":true},"affinity":{"prefetch":"https://securepubads.g.doubleclick.net/tag/js/gpt.js","preconnect":"https://cdn4-hbs.affinitymatrix.com"},"aja":{"prefetch":["https://cdn.as.amanad.adtdp.com/sdk/asot-amp.js","https://cdn.as.amanad.adtdp.com/sdk/asot-v2.js"],"preconnect":["https://ad.as.amanad.adtdp.com"]},"appvador":{"prefetch":["https://cdn.apvdr.com/js/VastAdUnit.min.js","https://cdn.apvdr.com/js/VideoAd.min.js","https://cdn.apvdr.com/js/VideoAd3PAS.min.js","https://cdn.apvdr.com/js/VideoAdAutoPlay.min.js","https://cdn.apvdr.com/js/VideoAdNative.min.js"],"renderStartImplemented":true},"aso":{"renderStartImplemented":true},"amoad":{"prefetch":["https://j.amoad.com/js/a.js","https://j.amoad.com/js/n.js"],"preconnect":["https://d.amoad.com","https://i.amoad.com","https://m.amoad.com","https://v.amoad.com"]},"amplified":{"preconnect":"https://srv.clickfuse.com","renderStartImplemented":true},"andbeyond":{"prefetch":"https://securepubads.g.doubleclick.net/tag/js/gpt.js","preconnect":"https://cdn.andbeyond.media"},"aniview":{"renderStartImplemented":true},"anyclip":{"prefetch":"https://player.anyclip.com/anyclip-widget/lre-widget/prod/v1/src/lre.js","preconnect":["https://trafficmanager.anyclip.com","https://lreprx-server.anyclip.com"],"renderStartImplemented":true},"appmonsta":{"preconnect":"https://ssp.appmonsta.ai"},"appnexus":{"prefetch":"https://acdn.adnxs.com/ast/ast.js","preconnect":"https://ib.adnxs.com","renderStartImplemented":true},"atomx":{"prefetch":"https://s.ato.mx/p.js"},"avantisvideo":{"renderStartImplemented":true},"beaverads":{"renderStartImplemented":true},"beopinion":{"prefetch":"https://widget.beop.io/sdk.js","preconnect":["https://t.beop.io","https://s.beop.io","https://data.beop.io"],"renderStartImplemented":true},"bidgear":{"prefetch":"https://platform.bidgear.com/bidgear-amp.js","renderStartImplemented":true},"bidtellect":{},"blade":{"prefetch":"https://sdk.streamrail.com/blade/sr.blade.js","renderStartImplemented":true},"brainy":{},"bringhub":{"renderStartImplemented":true,"preconnect":["https://static.bh-cdn.com","https://core-api.bringhub.io"]},"broadbandy":{"renderStartImplemented":true},"broadstreetads":{"prefetch":"https://cdn.broadstreetads.com/init-2.min.js","renderStartImplemented":true},"byplay":{},"caajainfeed":{"prefetch":["https://cdn.amanad.adtdp.com/sdk/ajaamp.js"],"preconnect":["https://ad.amanad.adtdp.com"]},"capirs":{"renderStartImplemented":true},"caprofitx":{"prefetch":["https://cdn.caprofitx.com/pfx.min.js","https://cdn.caprofitx.com/tags/amp/profitx_amp.js"],"preconnect":"https://ad.caprofitx.adtdp.com"},"cedato":{"renderStartImplemented":true},"chargeads":{},"cognativex":{},"colombia":{"prefetch":"https://static.clmbtech.com/ad/commons/js/colombia-amp.js"},"colombiafeed":{"prefetch":"https://static.clmbtech.com/c1e/static/themes/js/colombiafeed-amp.js"},"conative":{"renderStartImplemented":true},"connatix":{"renderStartImplemented":true},"contentad":{},"criteo":{"prefetch":"https://static.criteo.net/js/ld/publishertag.js","preconnect":"https://cas.criteo.com"},"csa":{"prefetch":"https://www.google.com/adsense/search/ads.js"},"clever":{"renderStartImplemented":true},"clickio":{"prefetch":"https://securepubads.g.doubleclick.net/tag/js/gpt.js","preconnect":["https://s.clickiocdn.com","https://up.clickiocdn.com","https://cns.clickiocdn.com","https://partner.googleadservices.com","https://tpc.googlesyndication.com"]},"dable":{"preconnect":["https://static.dable.io","https://api.dable.io","https://images.dable.io"],"renderStartImplemented":true},"dex":{"renderStartImplemented":true},"digiteka":{"renderStartImplemented":true},"directadvert":{"renderStartImplemented":true},"distroscale":{"preconnect":["https://c.jsrdn.com","https://s.jsrdn.com","https://i.jsrdn.com"],"renderStartImplemented":true},"dotandads":{"prefetch":"https://amp.ad.dotandad.com/dotandadsAmp.js","preconnect":"https://bal.ad.dotandad.com"},"dynad":{"preconnect":["https://t.dynad.net","https://tm.jsuol.com.br"]},"eadv":{"renderStartImplemented":true,"clientIdScope":"AMP_ECID_EADV","prefetch":["https://www.eadv.it/track/esr.min.js","https://www.eadv.it/track/ead.min.js"]},"empower":{"prefetch":"https://cdn.empower.net/sdk/amp-ad.min.js","renderStartImplemented":true},"engageya":{},"epeex":{},"eplanning":{"prefetch":"https://us.img.e-planning.net/layers/epl-amp.js"},"exco":{"renderStartImplemented":true},"ezoic":{"prefetch":["https://www.googletagservices.com/tag/js/gpt.js","https://g.ezoic.net/ezoic/ampad.js"],"clientIdScope":"AMP_ECID_EZOIC","consentHandlingOverride":true,"renderStartImplemented":true},"f1e":{"prefetch":"https://img.ak.impact-ad.jp/util/f1e_amp.min.js"},"f1h":{"preconnect":"https://img.ak.impact-ad.jp","renderStartImplemented":true},"fairground":{},"fake":{},"fake-delayed":{"renderStartImplemented":true},"feedad":{"clientIdScope":"__fa_amp","prefetch":"https://web.feedad.com/sdk/feedad-async.js","renderStartImplemented":true,"fullWidthHeightRatio":1.7777777777777777,"consentHandlingOverride":true},"felmat":{"prefetch":"https://t.felmat.net/js/fmamp.js","renderStartImplemented":true},"finative":{},"firstimpression":{"prefetch":"https://ecdn.firstimpression.io/static/js/fiamp.js","preconnect":"https://cdn.firstimpression.io","renderStartImplemented":true,"consentHandlingOverride":true},"flite":{},"fluct":{"prefetch":["https://pdn.adingo.jp/p.js"],"preconnect":["https://cdn-fluct.sh.adingo.jp","https://sh.adingo.jp","https://i.adingo.jp"]},"forkmedia":{"renderStartImplemented":true},"freewheel":{"prefetch":"https://cdn.stickyadstv.com/prime-time/fw-amp.min.js","renderStartImplemented":true},"fusion":{"prefetch":"https://assets.adtomafusion.net/fusion/latest/fusion-amp.min.js"},"gecko":{},"genieessp":{"prefetch":"https://js.gsspcln.jp/l/amp.js"},"geozo":{"renderStartImplemented":true},"giraff":{"renderStartImplemented":true},"glomex":{"prefetch":"https://player.glomex.com/integration/1/amp-embed.js"},"gmossp":{"prefetch":"https://cdn.gmossp-sp.jp/ads/amp.js"},"gumgum":{"prefetch":"https://js.gumgum.com/slot.js","renderStartImplemented":true},"holder":{"prefetch":"https://i.holder.com.ua/js2/holder/ajax/ampv1.js","preconnect":"https://h.holder.com.ua","renderStartImplemented":true},"ibillboard":{},"idealmedia":{"renderStartImplemented":true,"preconnect":["https://jsc.idealmedia.io","https://servicer.idealmedia.io","https://s-img.idealmedia.io/"]},"imedia":{"prefetch":"https://i.imedia.cz/js/im3.js","renderStartImplemented":true},"imobile":{"prefetch":"https://spamp.i-mobile.co.jp/script/amp.js","preconnect":"https://spad.i-mobile.co.jp"},"imonomy":{"renderStartImplemented":true},"impactify":{"prefetch":"https://ad.impactify.io/static/ad/tag.js","preconnect":["https://ad.impactify.media","https://dvr.impactify.media","https://securepubads.g.doubleclick.net","https://pubads.g.doubleclick.net","https://secure.adnxs.com"],"renderStartImplemented":true},"improvedigital":{},"incrementx":{"prefetch":"https://cdn.incrementxserv.com/ixamp.js","renderStartImplemented":true},"industrybrains":{"prefetch":"https://web.industrybrains.com/js/ads/async/show.js","preconnect":["https://staticd.cdn.industrybrains.com","https://static.industrybrains.com"],"renderStartImplemented":true},"inmobi":{"prefetch":"https://cf.cdn.inmobi.com/ad/inmobi.secure.js","renderStartImplemented":true},"innity":{"prefetch":"https://cdn.innity.net/admanager.js","preconnect":"https://as.innity.com","renderStartImplemented":true},"insticator":{"preconnect":"https://d3lcz8vpax4lo2.cloudfront.net","renderStartImplemented":true},"insurads":{"prefetch":"https://securepubads.g.doubleclick.net/tag/js/gpt.js","preconnect":["https://tpc.googlesyndication.com","https://cdn.insurads.com","https://services.insurads.com","https://messaging.insurads.com"],"renderStartImplemented":true,"consentHandlingOverride":true},"invibes":{"prefetch":"https://k.r66net.com/GetAmpLink","renderStartImplemented":true,"consentHandlingOverride":true},"iprom":{"prefetch":"https://cdn.ipromcloud.com/ipromNS.js"},"ix":{"prefetch":["https://js-sec.indexww.com/apl/amp.js"],"preconnect":"https://as-sec.casalemedia.com","renderStartImplemented":true},"jubna":{},"kargo":{},"ketshwa":{},"kiosked":{"renderStartImplemented":true},"jioads":{"renderStartImplemented":true},"jixie":{"prefetch":["https://scripts.jixie.media/jxamp.min.js"],"clientIdScope":"__jxamp","clientIdCookieName":"_jxx","renderStartImplemented":true},"kixer":{"prefetch":"https://cdn.kixer.com/ad/load.js","renderStartImplemented":true},"kuadio":{},"ligatus":{"prefetch":"https://ssl.ligatus.com/render/ligrend.js","renderStartImplemented":true},"lockerdome":{"prefetch":"https://cdn2.lockerdomecdn.com/_js/amp.js","renderStartImplemented":true},"logly":{"preconnect":["https://l.logly.co.jp","https://cdn.logly.co.jp"],"renderStartImplemented":true},"loka":{"prefetch":"https://loka-cdn.akamaized.net/scene/amp.js","preconnect":["https://scene-front.lokaplatform.com","https://loka-materials.akamaized.net"],"renderStartImplemented":true},"luckyads":{"renderStartImplemented":true},"macaw":{"renderStartImplemented":true},"mads":{"prefetch":"https://eu2.madsone.com/js/tags.js"},"mantis-display":{"prefetch":"https://assets.mantisadnetwork.com/mantodea.min.js","preconnect":["https://mantodea.mantisadnetwork.com","https://res.cloudinary.com","https://resize.mantisadnetwork.com"]},"marfeel":{"prefetch":"https://securepubads.g.doubleclick.net/tag/js/gpt.js","preconnect":["https://live.mrf.io","https://tpc.googlesyndication.com","https://fastlane.rubiconproject.com","https://htlb.casalemedia.com","https://prg.smartadserver.com","https://ib.adnxs.com","https://bidder.criteo.com","https://marfeel-d.openx.net","https://ice.360yield.com","https://mbid.marfeelrev.com"],"consentHandlingOverride":true},"mantis-recommend":{"prefetch":"https://assets.mantisadnetwork.com/recommend.min.js","preconnect":["https://mantodea.mantisadnetwork.com","https://resize.mantisadnetwork.com"]},"mediaad":{},"medianet":{"preconnect":"https://contextual.media.net","renderStartImplemented":true},"mediavine":{"prefetch":"https://amp.mediavine.com/wrapper.min.js","preconnect":["https://partner.googleadservices.com","https://securepubads.g.doubleclick.net","https://tpc.googlesyndication.com"],"renderStartImplemented":true,"consentHandlingOverride":true},"medyanet":{"renderStartImplemented":true},"meg":{"renderStartImplemented":true},"mgid":{"renderStartImplemented":true,"preconnect":["https://jsc.mgid.com","https://servicer.mgid.com","https://s-img.mgid.com"]},"microad":{"prefetch":"https://j.microad.net/js/camp.js","preconnect":["https://s-rtb.send.microad.jp","https://s-rtb.send.microadinc.com","https://cache.send.microad.jp","https://cache.send.microadinc.com","https://deb.send.microad.jp"]},"miximedia":{"renderStartImplemented":true},"mixpo":{"prefetch":"https://cdn.mixpo.com/js/loader.js","preconnect":["https://player1.mixpo.com","https://player2.mixpo.com"]},"momagic":{"prefetch":"https://securepubads.g.doubleclick.net/tag/js/gpt.js","preconnect":["https://amp.truereach.co.in/"]},"monetizer101":{"renderStartImplemented":true},"mox":{"prefetch":["https://ad.mox.tv/js/amp.min.js","https://ad.mox.tv/mox/mwayss_invocation.min.js"],"renderStartImplemented":true},"my6sense":{"renderStartImplemented":true},"myfinance":{"preconnect":["https://a.myfidevs.io","https://static.myfinance.com","https://www.myfinance.com"],"renderStartImplemented":true,"clientIdScope":"AMP_ECID_GOOGLE"},"myoffrz":{"renderStartImplemented":true},"mytarget":{"prefetch":"https://ad.mail.ru/static/ads-async.js","renderStartImplemented":true},"myua":{"renderStartImplemented":true},"mywidget":{"preconnect":"https://likemore-fe.go.mail.ru","prefetch":"https://likemore-go.imgsmail.ru/widget_amp.js","renderStartImplemented":true},"nativeroll":{"prefetch":"https://cdn01.nativeroll.tv/js/seedr-player.min.js"},"nativery":{"preconnect":"https://cdn.nativery.com"},"nativo":{"prefetch":"https://s.ntv.io/serve/load.js"},"navegg":{"renderStartImplemented":true},"nend":{"prefetch":"https://js1.nend.net/js/amp.js","preconnect":["https://output.nend.net","https://img1.nend.net"]},"netletix":{"preconnect":["https://call.netzathleten-media.de"],"renderStartImplemented":true},"noddus":{"prefetch":"https://noddus.com/amp_loader.js","renderStartImplemented":true},"nokta":{"prefetch":"https://static.virgul.com/theme/mockups/noktaamp/ampjs.js","renderStartImplemented":true},"nws":{},"oblivki":{"renderStartImplemented":true},"onead":{"prefetch":"https://ad-specs.guoshipartners.com/static/js/onead-amp.min.js","renderStartImplemented":true},"onnetwork":{"renderStartImplemented":true},"openadstream":{},"openx":{"prefetch":"https://www.googletagservices.com/tag/js/gpt.js","preconnect":["https://partner.googleadservices.com","https://securepubads.g.doubleclick.net","https://tpc.googlesyndication.com"],"renderStartImplemented":true},"opinary":{"renderStartImplemented":true},"outbrain":{"renderStartImplemented":true,"prefetch":"https://widgets.outbrain.com/widgetAMP/outbrainAMP.min.js","preconnect":["https://odb.outbrain.com"],"consentHandlingOverride":true},"piberica":{"preconnect":["https://trafico.prensaiberica.es"],"renderStartImplemented":true},"pixad":{},"pixels":{"prefetch":"https://cdn.adsfactor.net/amp/pixels-amp.min.js","clientIdCookieName":"__AF","renderStartImplemented":true},"playstream":{"prefetch":"https://app.playstream.media/js/amp.js","renderStartImplemented":true},"playwire":{"prefetch":["https://securepubads.g.doubleclick.net/tag/js/gpt.js","https://cdn.intergient.com/amp/amp.js"],"renderStartImplemented":true},"plista":{},"polymorphicads":{"prefetch":"https://www.polymorphicads.jp/js/amp.js","preconnect":["https://img.polymorphicads.jp","https://ad.polymorphicads.jp"],"renderStartImplemented":true},"popin":{"renderStartImplemented":true},"postquare":{},"ppstudio":{"renderStartImplemented":true},"pressboard":{"renderStartImplemented":true},"promoteiq":{},"pubexchange":{},"pubfuture":{"renderStartImplemented":true},"pubguru":{"renderStartImplemented":true},"pubmatic":{"prefetch":"https://ads.pubmatic.com/AdServer/js/amp.js"},"pubmine":{"prefetch":["https://s.pubmine.com/head.js"],"preconnect":"https://delivery.g.switchadhub.com","renderStartImplemented":true},"pubscale":{"renderStartImplemented":true},"pulse":{"prefetch":"https://static.pulse.mail.ru/pulse-widget-amp.js","renderStartImplemented":true},"pulsepoint":{"prefetch":"https://ads.contextweb.com/TagPublish/getjs.static.js","preconnect":"https://tag.contextweb.com"},"purch":{"prefetch":"https://ramp.purch.com/serve/creative_amp.js","renderStartImplemented":true},"quoraad":{"prefetch":"https://a.quora.com/amp_ad.js","preconnect":"https://ampad.quora.com","renderStartImplemented":true},"r9x":{"prefetch":"https://securepubads.g.doubleclick.net/tag/js/gpt.js","preconnect":"https://cdn.r9x.in"},"rakutenunifiedads":{"prefetch":"https://s-cdn.rmp.rakuten.co.jp/js/amp.js","renderStartImplemented":true},"rbinfox":{"renderStartImplemented":true},"rcmwidget":{"prefetch":"https://rcmjs.rambler.ru/static/rcmw/rcmw-amp.js","renderStartImplemented":true,"clientIdScope":"__rcmw_amp"},"readmo":{"renderStartImplemented":true},"realclick":{"renderStartImplemented":true},"recomad":{"renderStartImplemented":true},"recreativ":{"prefetch":"https://go.rcvlink.com/static/amp.js","renderStartImplemented":true},"relap":{"renderStartImplemented":true},"relappro":{"prefetch":"https://cdn.relappro.com/adservices/amp/relappro.amp.min.js","preconnect":"https://tags.relappro.com","renderStartImplemented":true},"remixd":{"preconnect":"https://tags.remixd.com","renderStartImplemented":true},"revcontent":{"prefetch":"https://labs-cdn.revcontent.com/build/amphtml/revcontent.amp.min.js","preconnect":["https://trends.revcontent.com","https://cdn.revcontent.com","https://img.revcontent.com"],"renderStartImplemented":true},"revjet":{"prefetch":"https://cdn.revjet.com/~cdn/JS/03/amp.js","renderStartImplemented":true},"rfp":{"prefetch":"https://js.rfp.fout.jp/rfp-amp.js","preconnect":"https://ad.rfp.fout.jp","renderStartImplemented":true},"rnetplus":{},"rubicon":{},"runative":{"prefetch":"https://cdn.run-syndicate.com/sdk/v1/n.js","renderStartImplemented":true},"sabavision":{"renderStartImplemented":true},"sas":{"renderStartImplemented":true},"seedingalliance":{},"seedtag":{"prefetch":"https://t.seedtag.com/c/loader.js","preconnect":["https://s.seedtag.com"],"consentHandlingOverride":true,"renderStartImplemented":true},"sekindo":{"renderStartImplemented":true},"sevio":{"preconnect":["https://request.adx.ws"],"prefetch":["https://cdn.adx.ws/scripts/amp.js"],"renderStartImplemented":true},"sharethrough":{"renderStartImplemented":true},"shemedia":{"prefetch":["https://securepubads.g.doubleclick.net/tag/js/gpt.js","https://ads.shemedia.com/static/amp.js"],"preconnect":["https://partner.googleadservices.com","https://tpc.googlesyndication.com","https://ads.blogherads.com"],"renderStartImplemented":true},"sklik":{"prefetch":"https://c.imedia.cz/js/amp.js"},"skoiy":{"preconnect":["https://svas.skoiy.xyz"]},"slimcutmedia":{"preconnect":["https://sb.freeskreen.com","https://static.freeskreen.com","https://video.freeskreen.com"],"renderStartImplemented":true},"smartads":{"prefetch":"https://smart-ads.biz/amp.js"},"smartadserver":{"prefetch":"https://ec-ns.sascdn.com/diff/js/amp.v0.js","preconnect":"https://static.sascdn.com","renderStartImplemented":true},"smartclip":{"prefetch":"https://cdn.smartclip.net/amp/amp.v0.js","preconnect":"https://des.smartclip.net","renderStartImplemented":true},"smi2":{"renderStartImplemented":true},"smilewanted":{"prefetch":"https://prebid.smilewanted.com/amp/amp.js","preconnect":"https://static.smilewanted.com","renderStartImplemented":true},"sogouad":{"prefetch":"https://theta.sogoucdn.com/wap/js/aw.js","renderStartImplemented":true},"sortable":{"prefetch":"https://www.googletagservices.com/tag/js/gpt.js","preconnect":["https://tags-cdn.deployads.com","https://partner.googleadservices.com","https://securepubads.g.doubleclick.net","https://tpc.googlesyndication.com"],"renderStartImplemented":true},"sona":{"renderStartImplemented":true},"sovrn":{"prefetch":"https://ap.lijit.com/www/sovrn_amp/sovrn_ads.js"},"speakol":{"renderStartImplemented":true},"spotx":{"preconnect":"https://js.spotx.tv","renderStartImplemented":true},"springAds":{"preconnect":["https://ib.adnxs.com"],"renderStartImplemented":true},"ssp":{"prefetch":"https://ssp.imedia.cz/static/js/ssp.js","renderStartImplemented":true,"consentHandlingOverride":true},"strossle":{"preconnect":["https://amp.spklw.com","https://widgets.sprinklecontent.com","https://images.sprinklecontent.com"]},"sunmedia":{"preconnect":["https://static.sunmedia.tv","https://services.sunmedia.tv","https://creative.sunmedia.tv","https://vod.sunmedia.tv","https://mx-sunmedia.videoplaza.tv","https://es-sunicontent.videoplaza.tv","https://es-sunelespanol.videoplaza.tv","https://es-suncopperland.videoplaza.tv","https://search.spotxchange.com","https://tpc.googlesyndication.com"],"clientIdScope":"AMP_ECID_SUNMEDIA","fullWidthHeightRatio":1,"renderStartImplemented":true},"svknative":{"renderStartImplemented":true,"prefetch":"https://widget.svk-native.ru/js/embed.js"},"swoop":{"prefetch":"https://www.swoop-amp.com/amp.js","preconnect":["https://www.swpsvc.com","https://client.swpcld.com"],"renderStartImplemented":true},"taboola":{},"tagon":{"prefetch":"https://js.tagon.co/tagon-amp.min.js"},"tail":{"renderStartImplemented":true},"tcsemotion":{"prefetch":"https://ads.tcsemotion.com/www/delivery/amphb.js","renderStartImplemented":true},"teads":{"prefetch":"https://a.teads.tv/media/format/v3/teads-format.min.js","preconnect":["https://cdn2.teads.tv","https://t.teads.tv","https://r.teads.tv"],"consentHandlingOverride":true},"temedya":{"prefetch":["https://widget.cdn.vidyome.com/builds/loader-amp.js","https://vidyome-com.cdn.vidyome.com/vidyome/builds/widgets.js"],"renderStartImplemented":true},"torimochi":{"renderStartImplemented":true},"tracdelight":{"prefetch":"https://scripts.tracdelight.io/amp.js","renderStartImplemented":true},"trafficstars":{"prefetch":"https://cdn.tsyndicate.com/sdk/v1/master.spot.js","renderStartImplemented":true},"triplelift":{},"trugaze":{"clientIdScope":"__tg_amp","renderStartImplemented":true},"uas":{"prefetch":"https://ads.pubmatic.com/AdServer/js/phoenix.js"},"ucfunnel":{"renderStartImplemented":true},"uzou":{"preconnect":["https://speee-ad.akamaized.net"],"renderStartImplemented":true},"unruly":{"prefetch":"https://video.unrulymedia.com/native/native-loader.js","renderStartImplemented":true},"valuecommerce":{"prefetch":"https://amp.valuecommerce.com/amp_bridge.js","preconnect":["https://ad.jp.ap.valuecommerce.com"],"renderStartImplemented":true},"vdoai":{"prefetch":"https://a.vdo.ai/core/dependencies_amp/vdo.min.js","renderStartImplemented":true},"videointelligence":{"preconnect":"https://s.vi-serve.com","renderStartImplemented":true},"videonow":{"renderStartImplemented":true},"viralize":{"renderStartImplemented":true},"vlyby":{"prefetch":"https://cdn.vlyby.com/amp/qad/qad-outer2.js"},"vmfive":{"prefetch":"https://man.vm5apis.com/dist/adn-web-sdk.js","preconnect":["https://vawpro.vm5apis.com","https://vahfront.vm5apis.com"],"renderStartImplemented":true},"vox":{"renderStartImplemented":true},"webediads":{"prefetch":"https://eu1.wbdds.com/amp.min.js","preconnect":["https://goutee.top","https://mediaathay.org.uk"],"renderStartImplemented":true},"weborama-display":{"prefetch":["https://cstatic.weborama.fr/js/advertiserv2/adperf_launch_1.0.0_scrambled.js","https://cstatic.weborama.fr/js/advertiserv2/adperf_core_1.0.0_scrambled.js"]},"whopainfeed":{"prefetch":"https://widget.infeed.com.ar/widget/widget-amp.js"},"widespace":{},"wisteria":{"renderStartImplemented":true},"wpmedia":{"prefetch":"https://std.wpcdn.pl/wpjslib/wpjslib-amp.js","preconnect":["https://www.wp.pl","https://v.wpimg.pl"],"renderStartImplemented":true},"wunderkind":{"preconnect":["https://tag.wknd.ai","https://api.bounceexchange.com"],"renderStartImplemented":true,"fullWidthHeightRatio":1.3333333333333333},"xlift":{"prefetch":"https://cdn.x-lift.jp/resources/common/xlift_amp.js","renderStartImplemented":true},"yahoofedads":{"renderStartImplemented":true},"yahoojp":{"prefetch":["https://s.yimg.jp/images/listing/tool/yads/ydn/amp/amp.js","https://yads.c.yimg.jp/js/yads.js"],"preconnect":"https://yads.yahoo.co.jp"},"yahoonativeads":{"renderStartImplemented":true},"yandex":{"prefetch":"https://yandex.ru/ads/system/context.js","preconnect":["https://yastatic.net/"],"renderStartImplemented":true},"yektanet":{"preconnect":["https://cdn.yektanet.com","https://cg-sc.yektanet.com","https://native.yektanet.com","https://nfetch.yektanet.net","https://rfetch.yektanet.net","https://scrapper.yektanet.com","https://ua.yektanet.com","https://bfetch.yektanet.com","https://mostatil.cdn.yektanet.com"],"renderStartImplemented":true},"yengo":{"renderStartImplemented":true},"yieldbot":{"prefetch":["https://cdn.yldbt.com/js/yieldbot.intent.amp.js","https://msg.yldbt.com/js/ybmsg.html"],"preconnect":"https://i.yldbt.com"},"yieldmo":{"prefetch":"https://static.yieldmo.com/ym.1.js","preconnect":["https://s.yieldmo.com","https://ads.yieldmo.com"],"renderStartImplemented":true},"yieldone":{"prefetch":"https://img.ak.impact-ad.jp/ic/pone/commonjs/yone-amp.js"},"yieldpro":{"preconnect":"https://creatives.yieldpro.eu","renderStartImplemented":true},"yobee":{},"zedo":{"prefetch":"https://ss3.zedo.com/gecko/tag/Gecko.amp.min.js","renderStartImplemented":true},"zen":{"prefetch":"https://zen.yandex.ru/widget-loader","preconnect":["https://yastatic.net/"],"renderStartImplemented":true},"zergnet":{},"zucks":{"preconnect":["https://j.zucks.net.zimg.jp","https://sh.zucks.net","https://k.zucks.net","https://static.zucks.net.zimg.jp"]},"baidu":{"prefetch":"https://dup.baidustatic.com/js/dm.js","renderStartImplemented":true},"sulvo":{}}');var ze="ready-scan",He=["AMP-AD","AMP-ANALYTICS","AMP-PIXEL","AMP-AD-EXIT"],Fe="X-AmpAnalytics",Be={"AMP-CAROUSEL":"ac","AMP-FX-FLYING-CARPET":"fc","AMP-LIGHTBOX":"lb","AMP-STICKY-AD":"sa"},Ke={"visible":"1","hidden":"2","prerender":"3","unloaded":"5"},qe="data-experiment-id",We="data-amp-experiment-id",Ye={name:"trunc",value:"1"},Xe=/^https:\/\/([a-zA-Z0-9_-]+\.)?cdn\.ampproject\.org((\/.*)|($))+/;function Je(t,e){return t.performance&&t.performance.timing&&t.performance.timing[e]||0}function Qe(t){try{return t.history.length}catch(t){return 0}}function Ze(t){return(/^(?:https?:\/\/)?([^\/\?:]+)/i.exec(t)||[])[1]||t}function tn(t){const{ancestorOrigins:e}=t.location;if(e){const{origin:n}=t.location,i=e[e.length-1];if(n==i)return t.top.location.hostname;const r=en(t);return r==t||n==e[e.length-2]?Ze(r.document.referrer):Ze(i)}{try{return t.top.location.hostname}catch(t){}const e=en(t);try{return Ze(e.document.referrer)}catch(t){}return null}}function en(t){let e=t,n=0;for(;e.parent!=e.parent.parent&&n<100;)e=e.parent,n++;return k(e.parent==t.top),e}function nn(t,e,n){return t.ampAdPageCorrelator||(t.ampAdPageCorrelator=Re(t,"exp-new-correlator")?Math.floor(4503599627370496*Math.random()):function(t,e){const n=Number(t||0);return e?n+e.replace(/\D/g,"")%1e6*1e6:Math.floor(4503599627370496*Math.random())}(Nt(e).pageViewId,n)),t.ampAdPageCorrelator}function rn(t,e){let n,i,r,s,o,a;try{n=t.screenX,i=t.screenY}catch(t){}try{r=t.outerWidth,s=t.outerHeight}catch(t){}try{o=e.width,a=e.height}catch(t){}return[t.screenLeft,t.screenTop,n,i,t.screen?t.screen.availWidth:void 0,t.screen?t.screen.availTop:void 0,r,s,o,a].join()}function sn(t,e){return{"on":t,"request":"csi","sampleSpec":{"sampleOn":"a4a-csi-${pageViewId}","threshold":1},"selector":"amp-ad","selectionMethod":"closest","extraUrlParams":e}}function on(t,e){const n=t.filter((t=>Number(t))).join(",");return(e=e||"")+(e&&n?",":"")+n}function an(t){const e={};for(let n=t.parentElement,i=0;n&&i<20;n=n.parentElement,i++){const t=n.tagName.toUpperCase();Be[t]&&(e[Be[t]]=!0)}return Object.keys(e)}function cn(t,e){if(k(!!t&&!!e),new RegExp(`[?|&](${encodeURIComponent(Ye.name)}=${encodeURIComponent(String(Ye.value))}|aet=[^&]*)$`).test(t))return;const n=t+`&aet=${e}`;return k(n.length<=15360),n}function hn(t){return Xe.test(t.location.origin)}function ln(t){let e=0;const n=t.document;t.SVGElement&&n.createElementNS&&(e|=1);const i=n.createElement("iframe");return i.sandbox&&i.sandbox.supports&&(i.sandbox.supports("allow-top-navigation-by-user-activation")&&(e|=2),i.sandbox.supports("allow-popups-to-escape-sandbox")&&(e|=4)),e}function dn(t){const e={"production":"0","control":"1","experimental":"2","rc":"3","nightly":"4","nightly-control":"5","experimentA":"10","experimentB":"11","experimentC":"12","nomod":"42","mod":"43"}[Ee(t)]||null;return hn(t)&&"0"!=e?e:null}function un(t){return t?t.split(","):[]}function pn(t,e,n){if(!t)return;const i=e.getAttribute(n);i&&un(i).every((t=>!isNaN(parseInt(t,10))))?e.setAttribute(n,on([t],i)):e.setAttribute(n,t)}function mn(t,e){pn(t,e,qe)}var fn,gn={SUFFICIENT:1,INSUFFICIENT:2,UNKNOWN_NOT_REQUIRED:3,UNKNOWN:4},Tn={TCF_V1:1,TCF_V2:2,US_PRIVACY_STRING:3,GLOBAL_PRIVACY_PLATFORM:4},An=["Webkit","webkit","Moz","moz","ms","O","o"],_n={"getPropertyPriority":()=>"","getPropertyValue":()=>""};function vn(t){const e=t.replace(/[A-Z]/g,(t=>"-"+t.toLowerCase()));return An.some((t=>e.startsWith(t+"-")))?`-${e}`:e}function In(t,e,n){if(Nn(e))return e;fn||(fn=l());let i=fn[e];if(!i||n){if(i=e,void 0===t[e]){const n=function(t){return t.charAt(0).toUpperCase()+t.slice(1)}(e),r=function(t,e){for(let n=0;n<An.length;n++){const i=An[n]+e;if(void 0!==t[i])return i}return""}(t,n);void 0!==t[r]&&(i=r)}n||(fn[e]=i)}return i}function bn(t,e){const{style:n}=t;for(const t in e)n.setProperty(vn(In(n,t)),String(e[t]),"important")}function yn(t,e,n,i,r){const s=In(t.style,e,r);if(!s)return;const o=i?n+i:n;t.style.setProperty(vn(s),o)}function En(t,e){for(const n in e)yn(t,n,e[n])}function Rn(t,e){void 0===e&&(e=t.hasAttribute("hidden")),e?t.removeAttribute("hidden"):t.setAttribute("hidden","")}function wn(t){return`${t}px`}function Sn(t,e){return t.getComputedStyle(e)||_n}function Pn(t,e){for(let n=0;n<e.length;n++)yn(t,e[n],null)}function Nn(t){return t.startsWith("--")}function Cn(t){if("undefined"!=typeof TextDecoder)return new TextDecoder("utf-8").decode(t);const e=function(t){const e=new Array(t.length);for(let n=0;n<t.length;n++)e[n]=String.fromCharCode(t[n]);return e.join("")}(new Uint8Array(t.buffer||t));return decodeURIComponent(escape(e))}var On=class{constructor(){this.ns=[]}peek(){const t=this.length;return t?this.ns[t-1].item:null}enqueue(t,e){if(isNaN(e))throw new Error("Priority must not be NaN.");const n=this.rs(e);this.ns.splice(n,0,{item:t,priority:e})}rs(t){let e=-1,n=0,i=this.length;for(;n<=i&&(e=Math.floor((n+i)/2),e!==this.length);)if(this.ns[e].priority<t)n=e+1;else{if(!(e>0&&this.ns[e-1].priority>=t))break;i=e-1}return e}forEach(t){let e=this.length;for(;e--;)t(this.ns[e].item)}dequeue(){const t=this.ns.pop();return t?t.item:null}get length(){return this.ns.length}},Mn=["gclid","gclsrc"];function jn(t,e,n,i){let r;try{r=t.open(e,n,i)}catch(t){D().error("DOM","Failed to open url on target: ",n,t)}return r||"_top"==n||("number"!=typeof o&&(o=0),!(o+"noopener".length>(s=i||"").length)&&-1!==s.indexOf("noopener",o))||(r=t.open(e,"_top")),r;var s,o}var Dn="navigation",kn="click",xn="contextmenu",Vn=["_top","_blank"],Un="data-a4a-orig-href",Ln=class{constructor(t){this.ampdoc=t,this.la=t.getRootNode(),this.Il=Ft(this.ampdoc),this.yn=zt(this.ampdoc),this.rr=Ot(this.ampdoc),this.gh=jt(this.ampdoc.win),this.ca=this.gh.isIos()&&this.gh.isSafari(),this.Mu=Q(this.ampdoc.win)&&this.yn.isOvertakeHistory(),this.aa=this.la!=this.ampdoc.getRootNode()||!!this.ampdoc.getParent(),this.da="inabox"==S(this.ampdoc.win).runtime,this.fa=this.la.nodeType==Node.DOCUMENT_NODE?this.la.documentElement:this.la,this.pa=this.ma.bind(this),this.la.addEventListener(kn,this.pa),this.la.addEventListener(xn,this.pa),this._a=!1,function(t){return t.whenReady().then((()=>!!t.getBody().querySelector("amp-analytics[type=googleanalytics]")))}(this.ampdoc).then((t=>{this._a=t})),this.Hu=!1,this.Aa=!1,Promise.all([this.yn.isTrustedViewer(),this.yn.getViewerOrigin()]).then((t=>{var e;this.Hu=t[0],this.Aa=(e=t[1],Kt.localhostRegex.test(Yt(e).origin))})),this.ga=null,this.Pa=new On,this.va=new On}static installAnchorClickInterceptor(t,e){e.document.documentElement.addEventListener("click",$n.bind(null,t),!0)}cleanup(){this.pa&&(this.la.removeEventListener(kn,this.pa),this.la.removeEventListener(xn,this.pa))}openWindow(t,e,n,i){let r="";!this.gh.isIos()&&this.gh.isChrome()||i||(r+="noopener");const s=jn(t,e,n,r);s&&!i&&(s.opener=null)}navigateTo(t,e,n,i={}){const{opener:r=!1,target:s="_top"}=i;e=this.Ea(e);const o=Gt(this.fa);if(!o.isProtocolValid(e))return void M().error(Dn,"Cannot navigate to invalid protocol: "+e);x(Vn.includes(s),`Target '${s}' not supported.`);const a=o.getSourceUrl(t.location);e=o.resolveRelativeUrl(e,a),"_blank"!=s?n&&(this.ga||(this.ga=this.Ta()),this.ga.includes(n)&&this.navigateToAmpUrl(e,n))||(t.top.location.href=e):this.openWindow(t,e,s,r)}navigateToAmpUrl(t,e){return!!this.yn.hasCapability("a2a")&&(this.yn.sendMessage("a2aNavigate",{"url":t,"requestedBy":e}),!0)}Ta(){const t=this.la.querySelector('meta[name="amp-to-amp-navigation"]');return t&&t.hasAttribute("content")?t.getAttribute("content").split(",").map((t=>t.trim())):[]}ma(t){if(t.defaultPrevented)return;const e=z(t.__AMP_CUSTOM_LINKER_TARGET__||t.target,"A");e&&e.href&&(t.type==kn?this.Ra(e,t):t.type==xn&&this.Ia(e,t))}Ra(t,e){this.Ma(t);let n=this.ya(t.href);if(this.wa(e,t,n))return;if(this.ba(e,t,n))return;const i=this.Va();Gn(n)!=Gn(i)&&(this.Sa(t,e),n=this.ya(t.href)),this.xa(e,t,n,i)}Ia(t,e){this.Ma(t),this.Sa(t,e)}Sa(t,e){this.Pa.forEach((n=>{n(t,e)}))}Ea(t){return this.va.forEach((e=>{t=e(t)})),t}Ma(t){let e=null;this._a&&!this.aa&&(e=function(t,e){const n=f(Xt(class{static getTop(t){return t.top}static getLocation(t){return t.location}static getDocumentReferrer(t){return t.document.referrer}static getHostname(t){return t.location.hostname}static getUserAgent(t){return t.navigator.userAgent}static getUserLanguage(t){return t.navigator.userLanguage||t.navigator.language}static getDevicePixelRatio(){return self.devicePixelRatio||1}static getSendBeacon(t){if(t.navigator.sendBeacon)return t.navigator.sendBeacon.bind(t.navigator)}static getXMLHttpRequest(t){return t.XMLHttpRequest}static getImage(t){return t.Image}}.getLocation(t).href).search),i=[];for(let t=0;t<Mn.length;t++){const e=Mn[t];void 0!==n[e]&&i.push(e)}const r=e.getAttribute("data-amp-addparams");let{href:s}=e;r&&(s=Qt(s,f(r)));const o=f(Xt(s).search);for(let t=i.length-1;t>=0;t--)void 0!==o[i[t]]&&i.splice(t,1);return function(t){let e="";for(let n=0;n<t.length;n++){const i=t[n];e+=0==n?`${i}=QUERY_PARAM(${i})`:`&${i}=QUERY_PARAM(${i})`}return e}(i)}(this.ampdoc.win,t)),Ut(t).maybeExpandLink(t,e)}ba(t,e,n){if(!this.Mu)return!1;const i=G(e),r=e.href,{protocol:s}=n;if("ftp:"==s)return jn(i,r,"_blank"),t.preventDefault(),!0;const o=/^(https?|mailto):$/.test(s);return!(!this.ca||o||(jn(i,r,"_top"),t.preventDefault(),0))}wa(t,e,n){return!(!e.hasAttribute("rel")||!e.getAttribute("rel").split(" ").map((t=>t.trim())).includes("amphtml")||!this.navigateToAmpUrl(n.href,"<a rel=amphtml>")||(t.preventDefault(),0))}xa(t,e,n,i){const r=Gn(n),s=Gn(i);if(n.hash&&r==s)this.Oa(t,n,i);else{let n=(e.getAttribute("target")||"").toLowerCase();(this.aa||this.da)&&"_top"!=n&&"_blank"!=n&&(n="_blank",e.setAttribute("target",n));const{win:s}=this.ampdoc,o=jt(s),a=zt(e);i.search&&o.isSafari()&&o.getMajorVersion()>=13&&a.isProxyOrigin()&&a.isEmbedded()&&this.Ca(s,i,n),this.viewerInterceptsNavigation(r,"intercept_click")&&t.preventDefault()}}Ca(t,e,n){const i=e.href,r=`${e.origin}${e.pathname}${e.hash}`;t.history.replaceState(null,"",r);const s=()=>{const e=t.location.href;e==r?t.history.replaceState(null,"",i):D().error(Dn,"Unexpected iframe URL change:",e,r)};"_blank"===n?t.setTimeout(s,0):t.addEventListener("pageshow",(function e(n){n.persisted&&(s(),t.removeEventListener("pageshow",e))}))}Oa(t,e,n){if(t.preventDefault(),this.aa)return;const i=e.hash.slice(1);let r=null;if(i){const t=(s=i,CSS.escape(s));r=this.la.getElementById(i)||this.la.querySelector(`a[name="${t}"]`)}var s;e.hash!=n.hash?this.rr.replaceStateForTarget(e.hash).then((()=>{this.ka(r,i)})):this.ka(r,i)}registerAnchorMutator(t,e){this.Pa.enqueue(t,e)}registerNavigateToMutator(t,e){this.va.enqueue(t,e)}ka(t,e){t&&(this.Il.scrollIntoView(t),Vt(this.ampdoc.win).delay((()=>this.Il.scrollIntoView(t)),1))}ya(t){return Gt(this.fa).parse(t)}Va(){return this.ya("")}viewerInterceptsNavigation(t,e){const n=this.yn.hasCapability("interceptNavigation"),i=this.ampdoc.isSingleDoc()&&this.ampdoc.getRootNode().documentElement.hasAttribute("allow-navigation-interception");return!(!n||!i||!this.Hu&&!this.Aa||(this.yn.sendMessage("navigateTo",{"url":t,"requestedBy":e}),0))}};function $n(t,e){const n=z(e.target,"A");if(!n||!n.href)return;const i=n.getAttribute(Un)||n.getAttribute("href");if(!i)return;const r={"CLICK_X":()=>e.pageX,"CLICK_Y":()=>e.pageY},s=Ut(n).expandUrlSync(i,r,{"CLICK_X":!0,"CLICK_Y":!0});s!=i&&(n.getAttribute(Un)||n.setAttribute(Un,i),n.setAttribute("href",s))}function Gn(t){return`${t.origin}${t.pathname}${t.search}`}function zn(t){var e;return null===(e=t.featurePolicy)||void 0===e?void 0:e.allowedFeatures().includes("attribution-reporting")}var Hn="image_stacked",Fn="image_sidebyside",Bn="mobile_banner_image_sidebyside",Kn="pub_control_image_stacked",qn="pub_control_image_sidebyside",Wn="pub_control_image_card_stacked",Yn="pub_control_image_card_sidebyside",Xn="pub_control_text",Jn="pub_control_text_card",Qn="data-matched-content-ui-type",Zn="data-matched-content-columns-num",ti="data-matched-content-rows-num",ei={[Hn]:1/1.91,[Fn]:1/3.82,[Bn]:1/3.82,[Kn]:1/1.91,[qn]:1/3.82,[Wn]:1/1.91,[Yn]:1/3.74,[Xn]:0,[Jn]:0},ni={[Hn]:80,[Fn]:0,[Bn]:0,[Kn]:80,[qn]:0,[Wn]:85,[Yn]:0,[Xn]:80,[Jn]:80},ii={[Kn]:100,[qn]:200,[Wn]:150,[Yn]:250,[Xn]:100,[Jn]:150},ri="pub_control_",si='\n data-matched-content-rows-num="4,2"\ndata-matched-content-columns-num="1,6"\ndata-matched-content-ui-type="image_stacked,image_card_sidebyside"';function oi(t){return t>=1200?{width:1200,height:600}:t>=850?{width:t,height:Math.floor(.5*t)}:t>=550?{width:t,height:Math.floor(.6*t)}:t>=468?{width:t,height:Math.floor(.7*t)}:{width:t,height:Math.floor(3.44*t)}}function ai(t,e){return t*ei[e]+ni[e]}function ci(t,e){return(t-8*e-8)/e}function hi(t,e){return Math.floor(t*e+8*e+8)}var li="rspv",di="mcrspv";var ui={[li]:13,[di]:15},pi="fix-inconsistent-responsive-height-selection",mi="368226521",fi=class t{constructor(t,e){this.yf=t,this.nJ=!1,this.iJ=!!e,this.i=G(t)}static createIfResponsive(e){const n=e.getAttribute("data-auto-format");return d(ui,n)?new t(e):null}static createContainerWidthState(e){return new t(e,!0)}static maybeUpgradeToResponsive(e,n){return e.hasAttribute("data-auto-format")?Promise.resolve(null):t.isLayoutViewportNarrow(e)?xt(e).then((e=>e.get(t.rJ(n)))).then((n=>n?t.sJ(e):null)).catch((()=>null)):Promise.resolve(null)}static sJ(e){e.setAttribute("height",320),e.setAttribute("width","100vw"),e.setAttribute("data-full-width",""),e.setAttribute("data-auto-format","rspv");const n=t.createIfResponsive(e);return k(null!=n),n}static convertToContainerWidth(e){return Ht(G(e)).runPromise({measure:t=>{t.clientWidth=String(e.parentElement.clientWidth)},mutate:t=>{e.setAttribute("height",320),e.setAttribute("width",t.clientWidth),e.removeAttribute("data-full-width"),e.removeAttribute("data-auto-format")}},{clientWidth:""}).then((()=>{const n=t.createContainerWidthState(e);return k(null!=n),n}))}static maybeAttachSettingsListener(e,n,i){let r;const s=new Promise((t=>{r=t})),o=G(e),a=n=>{const s=De(n);let c=null;if("string"==typeof s?c=$(s):"object"==typeof s&&(c=s),null==c)return;if(c&&"adsense-settings"!=c.googMsgType)return;if(c.adClient!=i)return;const h="1"==c.enableAutoAdSize;o.removeEventListener("message",a),xt(e).then((e=>e.set(t.rJ(i),h).then((()=>{r()})))).catch((()=>{}))};return o.addEventListener("message",a),s}static rJ(t){return`aas-${t}`}isValidElement(){if(this.iJ)return!0;if(!this.yf.hasAttribute("data-full-width"))return!1;const t=this.yf.getAttribute("height"),e=this.yf.getAttribute("width");return(0==t||320==t)&&"100vw"==e}alignToViewport(){if(this.nJ)return;this.nJ=!0;const t=Ht(this.i),e=this.yf.getLayoutBox(),n=Ft(this.yf.getAmpDoc()).getSize(),i=parseInt(function(t,e,n){const i=In(t.style,"width",void 0);if(i)return Nn(i)?t.style.getPropertyValue(i):t.style[i]}(this.yf),10)||0;t.run({measure:t=>{t.direction=Sn(this.i,this.yf.parentElement).direction},mutate:t=>{if(this.iJ)yn(this.yf,"width","100%");else{if(i!=n.width)return;"rtl"==t.direction?yn(this.yf,"marginRight",e.left,"px"):yn(this.yf,"marginLeft",-e.left,"px")}}},{direction:""})}isContainerWidthState(){return this.iJ}oJ(){return this.yf.getAttribute("data-auto-format")}getRafmtParam(){return ui[this.oJ()]}aJ(){const t=[{experimentId:pi,isTrafficEligible:()=>!0,branches:["368226520",mi]}],e=Ne(this.i,t);return Object.keys(e).forEach((t=>mn(e[t],this.yf))),e[pi]==mi}attemptToMatchResponsiveHeight(){const t=Ft(this.yf.getAmpDoc()).getSize();return this.yf.getImpl(!1).then((e=>e.attemptChangeSize(this.cJ(t),t.width).catch((()=>{}))))}cJ(t){switch(this.oJ()){case li:const r=100,s=Math.min(this.aJ()?500:300,t.height);return e=Math.round(t.width/1.2),V((n=r)<=(i=s)),Math.min(Math.max(e,n),i);case di:return function(t,e){const n={numberOfRows:e.getAttribute(ti),numberOfColumns:e.getAttribute(Zn),layoutType:e.getAttribute(Qn)};let i;return i=n.numberOfRows||n.numberOfColumns||n.layoutType?function(t,e){const n=function(t){let e=0;if(t.layoutType&&e++,t.numberOfColumns&&e++,t.numberOfRows&&e++,e<3)return{validationError:"Tags data-matched-content-ui-type, data-matched-content-columns-num and data-matched-content-rows-num should be set together."};const n=t.layoutType.split(","),i=t.numberOfRows.split(","),r=t.numberOfColumns.split(",");if(n.length!==i.length||n.length!==r.length)return{validationError:`Lengths of parameters data-matched-content-ui-type, data-matched-content-columns-num and data-matched-content-rows-num must match. Example: ${si}`};if(n.length>2)return{validationError:`The parameter length of attribute data-matched-content-ui-type, data-matched-content-columns-num and data-matched-content-rows-num is too long. At most 2 parameters for each attribute are needed: one for mobile and one for desktop, while you are providing ${n.length} parameters. Example: ${si}.`};const s=[],o=[];for(let t=0;t<n.length;t++){const e=Number(i[t]);if(isNaN(e)||0===e)return{validationError:`Wrong value '${i[t]}' for data-matched-content-rows-num.`};s.push(e);const n=Number(r[t]);if(isNaN(n)||0===n)return{validationError:`Wrong value '${r[t]}' for data-matched-content-columns-num.`};o.push(n)}return{numberOfRows:s,numberOfColumns:o,layoutTypes:n}}(e);if(n.validationError)return{slotWidth:0,slotHeight:0,numberOfColumns:0,numberOfRows:0,layoutType:Hn,validationError:n.validationError};let i;i=2===n.layoutTypes.length&&t>=468?1:0;const r=function(t){return 0===t.indexOf(ri)?t:ri+t}(n.layoutTypes[i]),s=function(t,e,n){const i=ii[n];let r=e;for(;t/r<i&&r>1;)r--;return r}(t,n.numberOfColumns[i],r),o=n.numberOfRows[i],a=function(t,e,n,i){const r=hi(ai(ci(t,e),i),n);return t>1500?{width:0,height:0,sizeError:"Calculated slot width is too large: "+t}:r>1500?{width:0,height:0,sizeError:"Calculated slot height is too large: "+r}:{width:t,height:r}}(t,s,o,r);return a.sizeError?{slotWidth:0,slotHeight:0,numberOfColumns:0,numberOfRows:0,layoutType:r,validationError:a.sizeError}:{slotWidth:a.width,slotHeight:a.height,numberOfColumns:s,numberOfRows:o,layoutType:r}}(t,n):function(t,e){if(t<468){if(e){const e=Bn,n=1,i=12,r=function(t,e,n,i){const r=ci(t,n);return{width:t,height:Math.floor(r/1.91+70)+hi(ai(r,e),i-1)}}(t,e,n,i);return{slotWidth:r.width,slotHeight:r.height,numberOfColumns:n,numberOfRows:i,layoutType:e}}{const e=oi(t);return{slotWidth:e.width,slotHeight:e.height,numberOfColumns:1,numberOfRows:13,layoutType:Fn}}}{const e=oi(t);return{slotWidth:e.width,slotHeight:e.height,numberOfColumns:4,numberOfRows:2,layoutType:Hn}}}(t,t<=468),i.validationError?(M().error("AMP-AD",i.validationError),0):(e.setAttribute(ti,i.numberOfRows),e.setAttribute(Zn,i.numberOfColumns),e.setAttribute(Qn,i.layoutType),i.slotHeight)}(t.width,this.yf);default:return 0}var e,n,i}static isLayoutViewportNarrow(t){return Ft(t).getSize().width<488}},gi="fluid";function Ti(t){const e=parseFloat(t);return v(e)?e:void 0}function Ai(t,e){t.classList.add("i-amphtml-fill-content"),e&&t.classList.add("i-amphtml-replaced-content")}var _i=(()=>self.AMP.config.urls)();function vi(t,e,n,i){const r=Date.now(),s=e.getAttribute("width"),o=e.getAttribute("height");(i=i||{}).width=Ti(s),i.height=Ti(o),e.getAttribute("title")&&(i.title=e.getAttribute("title"));let a=t.location.href;"about:srcdoc"==a&&(a=t.parent.location.href);const c=Et(e),h=Nt(e),l=zt(e).getUnconfirmedReferrerUrl(),d=Ie(e);var u;i._context={"ampcontextVersion":"2601162341000","ampcontextFilepath":`${_i.thirdParty}/2601162341000/ampcontext-v0.js`,"sourceUrl":h.sourceUrl,"referrer":l,"canonicalUrl":h.canonicalUrl,"pageViewId":h.pageViewId,"location":{"href":a},"startTime":r,"tagName":e.tagName,"mode":{localDev:!1,development:!1,esm:S(u).esm,test:!1,rtvVersion:S(u).rtvVersion},"canary":ye(t),"hidden":!c.isVisible(),"initialLayoutRect":d?{"left":d.left,"top":d.top,"width":d.width,"height":d.height}:null,"domFingerprint":Te.generate(e),"experimentToggles":we(t),"sentinel":n};const p=e.getAttribute("src");return p&&(i.src=p),i}var Ii=(()=>self.AMP.config.urls)();function bi(t,e){const n=e||"frame";return t.__AMP_DEFAULT_BOOTSTRAP_SUBDOMAIN=t.__AMP_DEFAULT_BOOTSTRAP_SUBDOMAIN||"d-"+yi(t),"https://"+t.__AMP_DEFAULT_BOOTSTRAP_SUBDOMAIN+`.${Ii.thirdPartyFrameHost}/2601162341000/${n}.html`}function yi(t){let e;if(t.crypto&&t.crypto.getRandomValues){const n=new Uint32Array(2);t.crypto.getRandomValues(n),e=String(n[0])+n[1]}else e=String(t.Math.random()).substr(2)+"0";return e}var Ei="render-start",Ri="ini-load";function wi(t,e,n={},i=!0){wt(t).then((r=>{r&&r.triggerEventForTarget(t,e,n,i)}))}function Si(t,e,n=!1,i=!1){const r=t.ownerDocument,s=q(r,"amp-analytics",{"sandbox":"true","trigger":i?"":"immediate"}),o=q(r,"script",{"type":"application/json"});if(o.textContent=JSON.stringify(e),s.appendChild(o),s.CONFIG=e,n){const e=Ct(G(t)),n=Et(t);e.installExtensionForDoc(n,"amp-analytics")}else wt(t).then((t=>{k(t)}));return t.appendChild(s),s}var Pi={"google":"https://cdn.ampproject.org/amp-ad-verifying-keyset.json","google-dev":"https://cdn.ampproject.org/amp-ad-verifying-keyset-dev.json"};function Ni(t,e,n={}){const{needsRootBounds:i,rootMargin:r,threshold:s}=n,o=Q(e)&&(i||r)?e.document:void 0;return new e.IntersectionObserver(t,{threshold:s,root:o,rootMargin:r})}var Ci=new WeakMap,Oi=new WeakMap;function Mi(t){const e=new Set;for(let n=t.length-1;n>=0;n--){const i=t[n],{target:r}=i;if(e.has(r))continue;e.add(r);const s=Oi.get(r);if(s)for(let t=0;t<s.length;t++)(0,s[t])(i)}}function ji(t){return{"time":t.time,"rootBounds":Di(t.rootBounds),"boundingClientRect":Di(t.boundingClientRect),"intersectionRect":Di(t.intersectionRect),"intersectionRatio":t.intersectionRatio}}function Di(t){return null===t?null:function(t){return _e(Number(t.left),Number(t.top),Number(t.width),Number(t.height))}(t)}var ki=JSON.parse('{"admax":{"url":"https://prebid.admaxmedia.io/openrtb2/amp?tag_id=PLACEMENT_ID&w=ATTR(width)&h=ATTR(height)&ow=ATTR(data-override-width)&oh=ATTR(data-override-height)&ms=ATTR(data-multi-size)&slot=ATTR(data-slot)&targeting=TGT&curl=CANONICAL_URL&timeout=TIMEOUT&adcid=ADCID&purl=HREF&gdpr_consent=CONSENT_STRING&account=ACCOUNT_ID","macros":["PLACEMENT_ID","CONSENT_STRING","ACCOUNT_ID"],"disableKeyAppend":true},"adpushup":{"url":"https://amp.adpushup.com/prebidserver/openrtb2/amp?tag_id=TAG_ID&w=ATTR(width)&h=ATTR(height)&ow=ATTR(data-override-width)&oh=ATTR(data-override-height)&ms=ATTR(data-multi-size)&slot=ATTR(data-slot)&curl=CANONICAL_URL&gdpr_consent=CONSENT_STRING&adc=ADCID&purl=HREF","macros":["TAG_ID","CONSENT_STRING"],"disableKeyAppend":true},"andbeyond":{"url":"https://prebid.andbeyond.media/amp.php?tag_id=TAG_ID","macros":["TAG_ID"],"disableKeyAppend":true},"aps":{"url":"https://aax.amazon-adsystem.com/e/dtb/bid?src=PUB_ID&pubid=PUB_UUID&amp=1&u=CANONICAL_URL&slots=%5B%7B%22sd%22%3A%22ATTR(data-slot)%22%2C%22s%22%3A%5B%22ATTR(width)xATTR(height)%22%5D%2C%22ms%22%3A%22ATTR(data-multi-size)%22%7D%5D&pj=PARAMS&gdprc=CONSENT_STRING","macros":["PUB_ID","PARAMS","PUB_UUID","CONSENT_STRING"],"disableKeyAppend":true},"automatad":{"url":"https://pbs01.automatad.com/openrtb2/amp?tag_id=TAG_ID","macros":["TAG_ID"],"disableKeyAppend":true},"browsi":{"url":"https://amp.browsiprod.com/predict?pvid=PAGEVIEWID_64&ot=ELEMENT_POS&ul=SCROLL_TOP&pl=PAGE_HEIGHT&bks=BKG_STATE&pk=PUB_KEY&sk=SITE_KEY&h=ATTR(height)&adix=ATTR(data-amp-slot-index)&ref=REFERRER&url=HREF","macros":["PUB_KEY","SITE_KEY"],"errorReportingUrl":"https://events.browsiprod.com/events/amp?e=ERROR_TYPE&h=HREF&et=predict_error","disableKeyAppend":true},"criteo":{"url":"https://bidder.criteo.com/amp/rtc?zid=ZONE_ID&nid=NETWORK_ID&uid=ADUNIT_ID&pid=PUBLISHER_ID&psubid=PUBLISHER_SUB_ID&lir=LINE_ITEM_RANGES&w=ATTR(width)&h=ATTR(height)&ow=ATTR(data-override-width)&oh=ATTR(data-override-height)&ms=ATTR(data-multi-size)&slot=ATTR(data-slot)&timeout=TIMEOUT&curl=CANONICAL_URL&href=HREF&cst=CONSENT_STATE&cst_str=CONSENT_STRING&cst_type=CONSENT_METADATA(consentStringType)&cst_gdpr_applies=CONSENT_METADATA(gdprApplies)","macros":["ZONE_ID","NETWORK_ID","PUBLISHER_SUB_ID","LINE_ITEM_RANGES","CONSENT_STATE","CONSENT_STRING","ADUNIT_ID","PUBLISHER_ID"],"disableKeyAppend":true},"denakop":{"url":"https://ib.adnxs.com/prebid/amp?tag_id=PLACEMENT_ID&w=ATTR(width)&h=ATTR(height)&ow=ATTR(data-override-width)&oh=ATTR(data-override-height)&ms=ATTR(data-multi-size)&slot=ATTR(data-slot)&targeting=TGT&curl=CANONICAL_URL&timeout=TIMEOUT&adcid=ADCID&purl=HREF&gdpr_consent=CONSENT_STRING&account=ACCOUNT_ID&gdpr_applies=CONSENT_METADATA(gdprApplies)&addtl_consent=CONSENT_METADATA(additionalConsent)&consent_type=CONSENT_METADATA(consentStringType)","macros":["PLACEMENT_ID","CONSENT_STRING","ACCOUNT_ID"],"disableKeyAppend":true},"freestar":{"url":"https://prebid-amp.pub.network/openrtb2/amp?tag_id=TAG_ID&w=ATTR(width)&h=ATTR(height)&ow=ATTR(data-override-width)&oh=ATTR(data-override-height)&ms=ATTR(data-multi-size)&slot=ATTR(data-slot)&targeting=TGT&curl=CANONICAL_URL&timeout=TIMEOUT&adc=ADCID&purl=HREF&gdpr_consent=CONSENT_STRING&account=ACCOUNT_ID","macros":["TAG_ID","CONSENT_STRING","ACCOUNT_ID"],"disableKeyAppend":true},"future":{"url":"https://ads.servebom.com/amp?adunit=ADUNIT&gdpr_consent=CONSENT_STRING","macros":["ADUNIT","CONSENT_STRING"],"disableKeyAppend":true},"glxm":{"url":"https://pbserver.galaxiemedia.fr/openrtb2/amp?tag_id=REQUEST_ID&w=ATTR(width)&h=ATTR(height)&ow=ATTR(data-override-width)&oh=ATTR(data-override-height)&ms=ATTR(data-multi-size)&slot=ATTR(data-slot)&targeting=TGT&curl=CANONICAL_URL&timeout=TIMEOUT&adc=ADCID&purl=HREF&gdpr_consent=CONSENT_STRING&account=ACCOUNT_ID","macros":["REQUEST_ID","CONSENT_STRING","ACCOUNT_ID"],"disableKeyAppend":true},"highfivve":{"url":"https://prebid-server.h5v.eu/openrtb2/amp?tag_id=TAG_ID&w=ATTR(width)&h=ATTR(height)&ow=ATTR(data-override-width)&oh=ATTR(data-override-height)&ms=ATTR(data-multi-size)&slot=ATTR(data-slot)&targeting=TGT&curl=CANONICAL_URL&timeout=TIMEOUT&adc=ADCID&purl=HREF&gdpr_consent=CONSENT_STRING&account=ACCOUNT_ID","macros":["TAG_ID","CONSENT_STRING","ACCOUNT_ID"],"disableKeyAppend":true},"hubvisor":{"url":"https://pbs.hubvisor.io/openrtb2/amp?tag_id=PLACEMENT_ID&slot=ATTR(data-slot)&targeting=TGT&curl=CANONICAL_URL&timeout=TIMEOUT&adcid=ADCID&purl=HREF&gdpr_consent=CONSENT_STRING","macros":["PLACEMENT_ID","CONSENT_STRING"],"disableKeyAppend":true},"improvedigital":{"url":"https://pbs.360yield.com/openrtb2/amp?tag_id=TAG_ID&w=ATTR(width)&h=ATTR(height)&ow=ATTR(data-override-width)&oh=ATTR(data-override-height)&ms=ATTR(data-multi-size)&slot=ATTR(data-slot)&targeting=TGT&curl=CANONICAL_URL&timeout=TIMEOUT&adc=ADCID&purl=HREF&consent_string=CONSENT_STRING&account=ACCOUNT_ID&gdpr_applies=CONSENT_METADATA(gdprApplies)&addtl_consent=CONSENT_METADATA(additionalConsent)&consent_type=CONSENT_METADATA(consentStringType)","macros":["TAG_ID","CONSENT_STRING","ACCOUNT_ID"],"disableKeyAppend":true},"indexexchange":{"url":"https://amp.casalemedia.com/amprtc?v=1&w=ATTR(width)&h=ATTR(height)&ow=ATTR(data-override-width)&oh=ATTR(data-override-height)&ms=ATTR(data-multi-size)&s=SITE_ID&p=CANONICAL_URL&consent_state=CONSENT_STATE&consent_string=CONSENT_STRING","macros":["SITE_ID","CONSENT_STATE","CONSENT_STRING"],"disableKeyAppend":true},"kargo":{"url":"https://krk.kargo.com/api/v1/amprtc?slot=SLOT_ID&w=ATTR(width)&h=ATTR(height)&ow=ATTR(data-override-width)&oh=ATTR(data-override-height)&ms=ATTR(data-multi-size)&pslot=ATTR(data-slot)&pvid=PAGEVIEWID&targeting=TGT&curl=CANONICAL_URL&timeout=TIMEOUT&acid=ADCID&purl=HREF","macros":["SLOT_ID"],"errorReportingUrl":"https://krk.kargo.com/api/v1/event/amprtc-error?error_type=ERROR_TYPE&url=HREF","disableKeyAppend":true},"lotame":{"url":"https://ad.crwdcntrl.net/5/pe=y/c=CLIENT_ID/an=AD_NETWORK/ma=MAX_AUDIENCE/gdpr_consent=CONSENT_STRING/gdpr=CONSENT_METADATA(gdprApplies)","macros":["CLIENT_ID","AD_NETWORK","MAX_AUDIENCES"],"disableKeyAppend":true},"medianet":{"url":"https://amprtc.media.net/rtb/getrtc?cid=CID&w=ATTR(width)&h=ATTR(height)&ow=ATTR(data-override-width)&oh=ATTR(data-override-height)&ms=ATTR(data-multi-size)&slot=ATTR(data-slot)&tgt=TGT&curl=CANONICAL_URL&to=TIMEOUT&purl=HREF&cste=CONSENT_STATE&cstr=CONSENT_STRING&adcid=ADCID&dmsv=ATTR(data-multi-size-validation)&ep=ELEMENT_POS&st=SCROLL_TOP&ph=PAGE_HEIGHT&bks=BKG_STATE&ref=REFERRER&dj=ATTR(data-json)&cst_type=CONSENT_METADATA(consentStringType)&gdpr_applies=CONSENT_METADATA(gdprApplies)","macros":["CID"],"errorReportingUrl":"https://qsearch-a.akamaihd.net/log?logid=kfk&evtid=projectevents&project=amprtc_error&error=ERROR_TYPE&rd=HREF","disableKeyAppend":true},"mediasquare":{"url":"https://pbs-front.mediasquare.fr/msq_prebid?owner=OWNER&code=CODE&w=ATTR(width)&h=ATTR(height)&sizes=ATTR(data-multi-size)&adunit=ATTR(data-slot)&referer=HREF&gdpr_consent=CONSENT_STRING","macros":["OWNER","CODE","CONSENT_STRING"],"disableKeyAppend":true},"navegg":{"url":"https://usr.navdmp.com/usr?acc=NVG_ACC&wst=WST&wct=WCT&wla=WLA&v=10","macros":["NVG_ACC","WST","WCT","WLA"],"disableKeyAppend":true},"newspassid":{"url":"https://bidder.newspassid.com/openrtb2/amp?tag_id=TAG_ID&placement_id=PLACEMENT_ID&gdpr_consent=CONSENT_STRING&ad_unit_code=AD_UNIT_CODE&site_id=SITE_ID&publisher_id=PUBLISHER_ID&custom_data=TGT&pubcid=PUBCID&adcid=ADCID&w=ATTR(width)&h=ATTR(height)&ow=ATTR(data-override-width)&oh=ATTR(data-override-height)&ms=ATTR(data-multi-size)&slot=ATTR(data-slot)&curl=CANONICAL_URL&timeout=TIMEOUT&purl=HREF","macros":["TAG_ID","PLACEMENT_ID","SITE_ID","PUBLISHER_ID","AD_UNIT_CODE","PUBCID"],"errorReportingUrl":"https://bidder.newspassid.com/amp_error?err=ERROR_TYPE&url=HREF","disableKeyAppend":true},"nexx360":{"url":"https://pbs.nexx360.io/openrtb2/amp?tag_id=TAG_ID&w=ATTR(width)&h=ATTR(height)&ow=ATTR(data-override-width)&oh=ATTR(data-override-height)&ms=ATTR(data-multi-size)&slot=ATTR(data-slot)&targeting=TGT&curl=CANONICAL_URL&timeout=TIMEOUT&adc=ADCID&purl=HREF&gdpr_consent=CONSENT_STRING&account=ACCOUNT_ID","macros":["TAG_ID","CONSENT_STRING","ACCOUNT_ID"],"disableKeyAppend":true},"openwrap":{"url":"https://ow.pubmatic.com/amp?v=1&w=ATTR(width)&h=ATTR(height)&ms=ATTR(data-multi-size)&auId=ATTR(data-slot)&targeting=TGT&purl=HREF&pubId=PUB_ID&profId=PROFILE_ID&consent_string=CONSENT_STRING&gdpr_applies=CONSENT_METADATA(gdprApplies)&addtl_consent=CONSENT_METADATA(additionalConsent)&curl=CANONICAL_URL&consent_type=CONSENT_METADATA(consentStringType)","macros":["PUB_ID","PROFILE_ID","CONSENT_STRING"],"errorReportingUrl":"https://ow.pubmatic.com/amp_error?e=ERROR_TYPE&h=HREF","disableKeyAppend":true},"ozone":{"url":"https://elb.the-ozone-project.com/openrtb2/amp?tag_id=TAG_ID&placement_id=PLACEMENT_ID&gdpr_consent=CONSENT_STRING&ad_unit_code=AD_UNIT_CODE&site_id=SITE_ID&publisher_id=PUBLISHER_ID&custom_data=TGT&pubcid=PUBCID&adcid=ADCID&w=ATTR(width)&h=ATTR(height)&ow=ATTR(data-override-width)&oh=ATTR(data-override-height)&ms=ATTR(data-multi-size)&slot=ATTR(data-slot)&curl=CANONICAL_URL&timeout=TIMEOUT&purl=HREF","macros":["TAG_ID","PLACEMENT_ID","SITE_ID","PUBLISHER_ID","AD_UNIT_CODE","PUBCID"],"errorReportingUrl":"https://elb.the-ozone-project.com/amp_error?err=ERROR_TYPE&url=HREF","disableKeyAppend":true},"prebidappnexuspsp":{"url":"https://ib.adnxs.com/prebid/amp?tag_id=PLACEMENT_ID&w=ATTR(width)&h=ATTR(height)&ow=ATTR(data-override-width)&oh=ATTR(data-override-height)&ms=ATTR(data-multi-size)&slot=ATTR(data-slot)&targeting=TGT&curl=CANONICAL_URL&timeout=TIMEOUT&adcid=ADCID&purl=HREF&consent_string=CONSENT_STRING&account=ACCOUNT_ID&gdpr_applies=CONSENT_METADATA(gdprApplies)&addtl_consent=CONSENT_METADATA(additionalConsent)&consent_type=CONSENT_METADATA(consentStringType)&pvid=PAGEVIEWID","macros":["PLACEMENT_ID","CONSENT_STRING","ACCOUNT_ID"],"disableKeyAppend":true},"pubwise":{"url":"https://pbs.pubwise.io/openrtb2/amp?tag_id=TAG_ID&w=ATTR(width)&h=ATTR(height)&ow=ATTR(data-override-width)&oh=ATTR(data-override-height)&ms=ATTR(data-multi-size)&slot=ATTR(data-slot)&targeting=TGT&curl=CANONICAL_URL&timeout=TIMEOUT&adc=ADCID&purl=HREF&gdpr_consent=CONSENT_STRING&account=ACCOUNT_ID","macros":["TAG_ID","CONSENT_STRING","ACCOUNT_ID"],"disableKeyAppend":true},"prebidflux":{"url":"https://prebid-server.flux-adserver.com/openrtb2/amp?tag_id=TAG_ID","macros":["TAG_ID"],"disableKeyAppend":true},"prebidopenx":{"url":"https://prebid.openx.net/openrtb2/amp?tag_id=REQUEST_ID&w=ATTR(width)&h=ATTR(height)&ow=ATTR(data-override-width)&oh=ATTR(data-override-height)&ms=ATTR(data-multi-size)&slot=ATTR(data-slot)&targeting=TGT&curl=CANONICAL_URL&timeout=TIMEOUT&adc=ADCID&purl=HREF&gdpr_consent=CONSENT_STRING&account=ACCOUNT_ID","macros":["REQUEST_ID","CONSENT_STRING","ACCOUNT_ID"],"disableKeyAppend":true},"prebidrubicon":{"url":"https://prebid-server.rubiconproject.com/openrtb2/amp?tag_id=REQUEST_ID&w=ATTR(width)&h=ATTR(height)&ow=ATTR(data-override-width)&oh=ATTR(data-override-height)&ms=ATTR(data-multi-size)&slot=ATTR(data-slot)&targeting=TGT&curl=CANONICAL_URL&timeout=TIMEOUT&adc=ADCID&purl=HREF&consent_string=CONSENT_STRING&account=ACCOUNT_ID&gdpr_applies=CONSENT_METADATA(gdprApplies)&addtl_consent=CONSENT_METADATA(additionalConsent)&consent_type=CONSENT_METADATA(consentStringType)&gpp_sid=CONSENT_METADATA(gppSectionId)&pvid=PAGEVIEWID","macros":["REQUEST_ID","CONSENT_STRING","ACCOUNT_ID"],"disableKeyAppend":true},"purch":{"url":"https://ads.servebom.com/tmntag.js?v=1.2&fmt=amp&o={%22p%22%3APLACEMENT_ID}&div_id=DIV_ID","macros":["PLACEMENT_ID","DIV_ID"],"disableKeyAppend":true},"richaudience":{"url":"https://shb.richaudience.com/amp?p=PLACEMENT_ID&w=ATTR(width)&h=ATTR(height)&ow=ATTR(data-override-width)&oh=ATTR(data-override-height)&ms=ATTR(data-multi-size)&slot=ATTR(data-slot)&mref=CANONICAL_URL&timeout=TIMEOUT&adcid=ADCID&purl=HREF&targeting=TGT&consentString=CONSENT_STRING&gdpr=CONSENT_METADATA(gdprApplies)&addtl_consent=CONSENT_METADATA(additionalConsent)&consent_type=CONSENT_METADATA(consentStringType)","macros":["PLACEMENT_ID","CONSENT_STRING"],"disableKeyAppend":true},"salesforcedmp":{"url":"https://cdn.krxd.net/userdata/v2/amp/ORGANIZATION_ID?segments_key=SEGMENTS_KEY&kuid_key=USER_KEY","macros":["ORGANIZATION_ID","SEGMENTS_KEY","USER_KEY"],"disableKeyAppend":true},"snigel":{"url":"https://adserv.snigelweb.com/bp/v1/openrtb2/amp?tag_id=PLACEMENT_ID&w=ATTR(width)&h=ATTR(height)&ow=ATTR(data-override-width)&oh=ATTR(data-override-height)&ms=ATTR(data-multi-size)&slot=ATTR(data-slot)&targeting=TGT&curl=CANONICAL_URL&timeout=TIMEOUT&adcid=ADCID&purl=HREF&consent_string=CONSENT_STRING&account=ACCOUNT_ID&gdpr_applies=CONSENT_METADATA(gdprApplies)&addtl_consent=CONSENT_METADATA(additionalConsent)&consent_type=CONSENT_METADATA(consentStringType)","macros":["PLACEMENT_ID","CONSENT_STRING","ACCOUNT_ID"],"disableKeyAppend":true},"sonobi":{"url":"https://apex.go.sonobi.com/trinity.json?key_maker=%7B%22_DIVIDER_ATTR(data-slot)%7C1%22%3A%22PLACEMENT_ID_DIVIDER_ATTR(width)xATTR(height)%2CATTR(data-multi-size)%22%7D&ref=CANONICAL_URL&lib_name=amp&lib_v=0.1&pv=PAGEVIEWID&amp=1","disableKeyAppend":true,"macros":["PLACEMENT_ID","_DIVIDER_"]},"t13":{"url":"https://s2s.t13.io/openrtb2/amp?tag_id=TAG_ID&w=ATTR(width)&h=ATTR(height)&ow=ATTR(data-override-width)&oh=ATTR(data-override-height)&ms=ATTR(data-multi-size)&slot=ATTR(data-slot)&targeting=TGT&curl=CANONICAL_URL&timeout=TIMEOUT&adc=ADCID&purl=HREF&consent_string=CONSENT_STRING&account=ACCOUNT_ID&gdpr_applies=CONSENT_METADATA(gdprApplies)&addtl_consent=CONSENT_METADATA(additionalConsent)&consent_type=CONSENT_METADATA(consentStringType)","macros":["TAG_ID","CONSENT_STRING","ACCOUNT_ID"],"disableKeyAppend":true},"tail":{"url":"https://ACCOUNT_ID.seg.t.tailtarget.com/amp","macros":["ACCOUNT_ID"],"disableKeyAppend":true},"yieldbot":{"url":"https://i.yldbt.com/m/YB_PSN/v1/amp/init?curl=CANONICAL_URL&sn=YB_SLOT&w=ATTR(width)&h=ATTR(height)&ow=ATTR(data-override-width)&oh=ATTR(data-override-height)&ms=ATTR(data-multi-size)&aup=ATTR(data-slot)&pvi=PAGEVIEWID&tgt=TGT&adcid=ADCID&href=HREF","macros":["YB_PSN","YB_SLOT"],"disableKeyAppend":true},"yieldlab":{"url":"https://ad.yieldlab.net/yp/ADSLOT_ID?content=amp&consent=CONSENT_STRING&t=amp%3D1&pubref=HREF","macros":["ADSLOT_ID","CONSENT_STRING"],"disableKeyAppend":true}}');function xi(t,e,n){if(e[n])return e[n];const i=t.querySelector(`style[${n}], link[${n}]`);return i?(e[n]=i,i):null}var Vi=!1;function Ui(t){k(t.defaultView),Vi||(Vi=!0,function(t){En(t.body,{opacity:1,visibility:"visible","animation":"none"})}(t))}var Li=(()=>self.AMP.config.urls)(),$i="CANCELLED",Gi="BLOCK_BY_CONSENT",zi=self.__AMP_ERRORS||[];self.__AMP_ERRORS=zi;var Hi=function(t){return(Hi=function(t){const e=function(t){let e=0;return()=>{let t=Math.pow(1.5,e++);return t+=function(t,e){let n=t*(e=e||.3)*Math.random();return Math.random()>.5&&(n*=-1),n}(t),1e3*t}}();return t=>setTimeout(t,e())}())(t)};function Fi(t,e){try{let n;if(t)if(void 0!==t.message)t=b(t),n=!0;else{const e=t;(t=new Error(function(t){try{return JSON.stringify(t)}catch(e){return String(t)}}(e))).origError=e}else t=new Error("Unknown error");if(t.reported)return t;if(t.reported=!0,t.messageArray){const e=function(t,e){for(let n=0;n<t.length;n++)if(e(t[n],n,t))return n;return-1}(t.messageArray,(t=>null==t?void 0:t.tagName));e>-1&&(t.associatedElement=t.messageArray[e])}const i=e||t.associatedElement;if(i&&i.classList&&i.classList.add("i-amphtml-error"),self.console&&(I(t.message)||!t.expected)){const e=console.error||console.log;t.messageArray?e.apply(console,t.messageArray):i?e.call(console,t.message,i):e.call(console,t.message)}i&&i.dispatchCustomEventForTesting&&i.dispatchCustomEventForTesting("amp:error",t.message),qi.call(self,void 0,void 0,void 0,void 0,t)}catch(t){setTimeout((function(){throw t}))}return t}function Bi(){return new Error($i)}function Ki(t){return!!t&&("string"==typeof t?t.startsWith($i):"string"==typeof t.message&&t.message.startsWith($i))}function qi(t,e,n,i,r){!this||!this.document||r&&r.expected||Ui(this.document);let s=!1;try{s=function(t){if(!t.document)return!1;const e=t.document.querySelectorAll("script[src]");for(let t=0;t<e.length;t++)if(!ee(e[t].src.toLowerCase()))return!0;return!1}(self)}catch(t){}if(s&&Math.random()<.99)return;const o=function(t,e,n,i,r,s){t=function(t,e){return e&&(t=e.message?e.message:String(e)),t||(t="Unknown error"),t}(t,r);let o=!(!r||!r.expected);if(/_reported_/.test(t))return;if(t==$i)return;const a=!(self&&self.window),c=Math.random();if((function(t){return-1!=t.indexOf(je)}(t)||"Script error."==t||a)&&(o=!0,c<.9999))return;const h=I(t);if(h&&c<.99)return;const l=Object.create(null);l.v=S().rtvVersion,l.noAmp=s?"1":"0",l.m=t.replace("​​​",""),l.a=h?"1":"0",l.ex=o?"1":"0",l.dw=a?"1":"0";let d="1p";if(d="esm",l.esm="1",l.rt="esm",l.cdn=Li.cdn,l.ca=ye(self)?"1":"0",l.bt=Ee(self),self.location.ancestorOrigins&&self.location.ancestorOrigins[0]&&(l.or=self.location.ancestorOrigins[0]),self.viewerState&&(l.vs=self.viewerState),self.parent&&self.parent!=self&&(l.iem="1"),self.AMP&&self.AMP.viewer){const t=self.AMP.viewer.getResolvedViewerUrl(),e=self.AMP.viewer.maybeGetMessagingOrigin();t&&(l.rvu=t),e&&(l.mso=e)}const u=[],p=self[be]||null;var m,f,g;for(const t in p){const e=p[t];u.push(`${t}=${e?"1":"0"}`)}return l.exps=u.join(","),r?(l.el=(null===(m=r.associatedElement)||void 0===m?void 0:m.tagName)||"u",r.args&&(l.args=JSON.stringify(r.args)),h||r.ignoreStack||!r.stack||(l.s=r.stack),r.message&&(r.message+=" _reported_")):(l.f=e||"",l.l=n||"",l.c=i||""),l.r=self.document?self.document.referrer:"",l.ae=zi.join(","),l.fr=self.location.originalHash||self.location.hash,"production"===l.bt&&(l.pt="1"),g=t,(f=zi).length>=25&&f.splice(0,f.length-25+1),f.push(g),l}(t,e,n,i,r,s);o&&Hi((()=>{try{return function(t,e){return e.pt&&Math.random()<.9?tt():function(t,e){const n=Rt(t);if(!n.isSingleDoc())return Promise.resolve(!1);const i=n.getSingleDoc();if(!i.getRootNode().documentElement.hasAttribute("report-errors-to-viewer"))return Promise.resolve(!1);const r=zt(i);return r.hasCapability("errorReporter")?r.isTrustedViewer().then((t=>{return!!t&&(r.sendMessage("error",{"m":(n=e).m,"a":n.a,"s":n.s,"el":n.el,"ex":n.ex,"v":n.v,"pt":n.pt}),!0);var n})):Promise.resolve(!1)}(t,e).then((t=>{if(!t){const t=new XMLHttpRequest;t.open("POST",Math.random()<.1?Li.betaErrorReporting:Li.errorReporting,!0),t.send(JSON.stringify(e))}}))}(this,o).catch((()=>{}))}catch(t){}}))}var Wi={CLIENT_ID:!0,TITLE:!0,SOURCE_URL:!0};var Yi="Expander",Xi=class{constructor(t,e,n,i,r,s){this.Cr=t,this.kr=e,this.Nr=n,this.Dr=i,this.Lr=r,this.Ur=!s}expand(t){if(!t.length)return this.Dr?t:Promise.resolve(t);const e=this.Cr.getExpr(this.kr,this.Lr),n=this.$r(t,e);return n.length?this.Fr(t,n):this.Dr?t:Promise.resolve(t)}getMacroNames(t){const e=this.Cr.getExpr(this.kr,this.Lr);return t.match(e)||[]}$r(t,e){const n=[];return t.replace(e,((t,e,i)=>{const{length:r}=t,s={start:i,stop:r+i-1,name:e,length:r};n.push(s)})),n}Fr(t,e){const n=[];let r=0,s=0,o=e[s],a=0,c=!1;const h=l=>{let u="",p=[];const m=[];for(;r<t.length&&s<=e.length;){const g=u.trim();if(o&&r===o.start){let c;g&&p.push(a?(f=u).trimStart?f.trimStart():(f+"_").trim().slice(0,-1):u),c=this.kr&&d(this.kr,o.name)?{name:o.name,prioritized:this.kr[o.name],encode:l}:i(i({},this.Cr.get(o.name)),{},{name:o.name,encode:l}),r=o.stop+1,o=e[++s],"("===t[r]?(r++,a++,n.push(c),p.push(h(!1))):p.push(this.Br(c)),u=""}else if("`"===t[r])c?(c=!1,u.length&&p.push(u)):(c=!0,g&&p.push(g)),u="",r++;else if(a&&","===t[r]&&!c)g&&p.push(g),m.push(p),p=[],","===t[r+1]&&(m.push([""]),r++),u="",r++;else{if(a&&")"===t[r]&&!c){r++,a--;const t=n.pop();return g&&p.push(g),m.push(p),this.Br(t,m)}u+=t[r],r++}r===t.length&&u.length&&p.push(u)}var f;return this.Dr?p.join(""):Promise.all(p).then((t=>t.join(""))).catch((t=>(R(t),"")))};return h(this.Ur)}Br(t,e){const{encode:n,name:i}=t;let r;if(null!=t.prioritized?r=t.prioritized:this.Dr&&null!=t.sync?r=t.sync:this.Dr?(M().error(Yi,"ignoring async replacement key: ",t.name),r=""):r=t.async||t.sync,this.Dr){const t=this.Hr(r,i,e);return n?encodeURIComponent(t):t}return this.jr(r,i,e).then((t=>n?encodeURIComponent(t):t))}jr(t,e,n){let i;try{if("function"==typeof t){const e=t;i=n?this.zr(n).then((t=>e.apply(null,t))):nt(e)}else i=Promise.resolve(t);return i.then((t=>{let i;return this.Gr(e,t,n),i=null==t?"":t,i})).catch((t=>(R(t),this.Gr(e,"",n),Promise.resolve(""))))}catch(t){return R(t),this.Gr(e,"",n),Promise.resolve("")}}zr(t){return Promise.all(t.map((t=>Promise.all(t).then((t=>t.join(""))))))}Hr(t,e,n){try{let i,r=t;return"function"==typeof t&&(r=t.apply(null,this.qr(n))),r&&"function"==typeof r.then?(M().error(Yi,"ignoring async macro resolution"),i=""):"string"==typeof r||"number"==typeof r||"boolean"==typeof r?(this.Gr(e,r,n),i=r.toString()):(this.Gr(e,"",n),i=""),i}catch(t){return R(t),this.Gr(e,"",n),""}}qr(t){return t?t.map((t=>t.join(""))):t}Gr(t,e,n){if(!this.Nr)return;let i="";n&&(i=`(${n.filter((t=>""!==t)).join(",")})`),this.Nr[`${t}${i}`]=e||""}},Ji=t=>Promise.resolve(t()),Qi=["AMPDOC_HOST","AMPDOC_HOSTNAME","AMPDOC_URL","AMP_VERSION","AVAILABLE_SCREEN_HEIGHT","AVAILABLE_SCREEN_WIDTH","BACKGROUND_STATE","BROWSER_LANGUAGE","CANONICAL_HOST","CANONICAL_HOSTNAME","CANONICAL_PATH","CANONICAL_URL","COUNTER","DOCUMENT_CHARSET","DOCUMENT_REFERRER","PAGE_VIEW_ID","RANDOM","SCREEN_COLOR_DEPTH","SCREEN_HEIGHT","SCREEN_WIDTH","SCROLL_HEIGHT","SCROLL_WIDTH","SOURCE_HOST","SOURCE_HOSTNAME","SOURCE_PATH","SOURCE_URL","TIMESTAMP","TIMEZONE","TITLE","TOTAL_ENGAGED_TIME","USER_AGENT","VARIANT","VARIANTS","VIEWER","VIEWPORT_HEIGHT","VIEWPORT_WIDTH"];function Zi(t){const e=[],{extensions:n}=t;if(!n||!T(n))return e;for(let t=0;t<n.length;t++){const i=Z(n[t].src);i&&e.push(i)}return e}var tr="visible",er="paused",nr=class{constructor(){this.yt=new ir}abort(){if(!this.yt.Ot&&(this.yt.Ot=!0,this.yt.jt)){const t={"type":"abort","bubbles":!1,"cancelable":!1,"target":this.yt,"currentTarget":this.yt};this.yt.jt(t)}}get signal(){return this.yt}},ir=class{constructor(){this.Ot=!1,this.jt=null}get aborted(){return this.Ot}get onabort(){return this.jt}set onabort(t){this.jt=t}},rr="Resource",sr=class t{static forElement(e){return k(t.forElementOptional(e))}static forElementOptional(t){return t.__AMP__RESOURCE}static setOwner(e,n){k(n.contains(e)),t.forElementOptional(e)&&t.forElementOptional(e).updateOwner(n),e.__AMP__OWNER=n;const i=e.getElementsByClassName("i-amphtml-element");for(let e=0;e<i.length;e++){const n=i[e];t.forElementOptional(n)&&t.forElementOptional(n).updateOwner(void 0)}}constructor(t,e,n){e.__AMP__RESOURCE=this,this.Ei=t,this.element=e,this.debugid=e.tagName.toLowerCase()+"#"+t,this.hostWin=e.ownerDocument.defaultView,this.Ti=n,this.Ri=e.hasAttribute("placeholder"),this.Ii=!1,this.Mi=void 0,this.yi=e.isBuilt()?1:0,0==this.yi&&e.isBuilding()&&this.build(),this.wi=-1,this.bi=0,this.Vi=null,this.Si=null,this.xi=!1,this.Oi=_e(-1e4,-1e4,0,0),this.Ci=null,this.ki=!1,this.Ni=null,this.Di=null,this.Li=void 0;const i=new et;this.Ui=i.promise,this.$i=i.resolve,this.Fi=!1}getId(){return this.Ei}updateOwner(t){this.Mi=t}getOwner(){if(void 0===this.Mi){for(let t=this.element;t;t=t.parentElement)if(t.__AMP__OWNER){this.Mi=t.__AMP__OWNER;break}void 0===this.Mi&&(this.Mi=null)}return this.Mi}hasOwner(){return!!this.getOwner()}getLayoutPriority(){return-1!=this.wi?this.wi:this.element.getLayoutPriority()}updateLayoutPriority(t){this.wi=t}getState(){return this.yi}isBuilt(){return this.element.isBuilt()}isBuilding(){return this.Ii}whenBuilt(){return this.element.signals().whenSignal("res-built")}build(){return this.Ii||!this.element.isUpgraded()?null:(this.Ii=!0,this.element.buildInternal().then((()=>{this.Ii=!1,this.yi=1,this.element.signals().signal("res-built")}),(t=>{throw this.maybeReportErrorOnBuildFailure(t),this.Ii=!1,this.element.signals().rejectSignal("res-built",t),t})))}maybeReportErrorOnBuildFailure(t){var e;(e=t)&&("string"==typeof e?e.startsWith(Gi):"string"==typeof e.message&&e.message.startsWith(Gi))||D().error(rr,"failed to build:",this.debugid,t)}changeSize(t,e,n){this.element.applySize(t,e,n),this.requestMeasure()}overflowCallback(t,e,n,i){t&&(this.Li={height:e,width:n,margins:i}),this.element.overflowCallback(t,e,n,i)}resetPendingChangeSize(){this.Li=void 0}getPendingChangeSize(){return this.Li}getUpgradeDelayMs(){return this.element.getUpgradeDelayMs()}measure(){if(this.Ri&&this.element.parentElement&&this.element.parentElement.tagName.startsWith("AMP-")&&!("__AMP__RESOURCE"in this.element.parentElement))return;if(!this.element.ownerDocument||!this.element.ownerDocument.defaultView)return void(this.yi=1);this.ki=!1;const t=this.Oi;this.Bi();const e=this.Oi,n=(r=e,!((i=t).width==r.width&&i.height===r.height));var i,r;(1==this.yi||t.top!=e.top||n)&&this.element.isUpgraded()&&(1==this.yi?this.yi=2:4!=this.yi&&5!=this.yi||!this.element.isRelayoutNeeded()||(this.yi=2)),this.hasBeenMeasured()||(this.Ci=e),this.element.updateLayoutBox(e,n)}ensureMeasured(){return this.hasBeenMeasured()?tt():Ht(this.hostWin).measure((()=>this.measure()))}Bi(){const t=Ft(this.element);this.Oi=t.getLayoutRect(this.element);let e=!1;if(t.supportsPositionFixed()&&this.isDisplayed()){const{win:n}=this.Ti.getAmpdoc(),{body:i}=n.document;for(let r=this.element;r&&r!=i;r=r.offsetParent){if(r.isAlwaysFixed&&r.isAlwaysFixed()){e=!0;break}if(t.isDeclaredFixed(r)&&"fixed"==Sn(n,r).position){e=!0;break}}}this.xi=e,e&&(this.Oi=ve(this.Oi,-t.getScrollLeft(),-t.getScrollTop()))}completeCollapse(){Rn(this.element,!1),this.Oi=_e(this.Oi.left,this.Oi.top,0,0),this.xi=!1,this.element.updateLayoutBox(this.getLayoutBox());const t=this.getOwner();t&&t.collapsedCallback(this.element)}completeExpand(){Rn(this.element,!0),this.requestMeasure()}isMeasureRequested(){return this.ki}hasBeenMeasured(){return!!this.Ci}requestMeasure(){this.ki=!0}getLayoutSize(){return function(t){const{height:e,width:n}=t;return{width:n,height:e}}(this.Oi)}getLayoutBox(){if(!this.xi)return this.Oi;const t=Ft(this.element);return ve(this.Oi,t.getScrollLeft(),t.getScrollTop())}getInitialLayoutBox(){return this.Ci||this.Oi}isDisplayed(){if(!this.element.ownerDocument||!this.element.ownerDocument.defaultView)return!1;const t=this.element.getLayout()==gi,e=this.getLayoutBox(),n=e.height>0&&e.width>0;return t||n}isFixed(){return this.xi}overlaps(t){return n=t,(e=this.getLayoutBox()).top<=n.bottom&&n.top<=e.bottom&&e.left<=n.right&&n.left<=e.right;var e,n}prerenderAllowed(){return this.element.prerenderAllowed()}previewAllowed(){return this.element.previewAllowed()}isBuildRenderBlocking(){return this.element.isBuildRenderBlocking()}whenWithinViewport(t){if(k(!1!==t),!this.isLayoutPending()||!0===t)return tt();const e=t,n=String(e);return this.Ni&&this.Ni[n]?this.Ni[n].promise:this.isWithinViewportRatio(e)?tt():(this.Ni=this.Ni||{},this.Ni[n]=new et,this.Ni[n].promise)}Hi(){if(!this.Ni)return;const t=this.getDistanceViewportRatio();for(const e in this.Ni)this.isWithinViewportRatio(parseFloat(e),t)&&(this.Ni[e].resolve(),delete this.Ni[e])}getDistanceViewportRatio(){const t=Ft(this.element).getRect(),e=this.getLayoutBox(),n=this.Ti.getScrollDirection();let i=1,r=0;if(t.right<e.left||t.left>e.right)return{distance:!1};if(t.bottom<e.top)r=e.top-t.bottom,-1==n&&(i=2);else{if(!(t.top>e.bottom))return{distance:!0};r=t.top-e.bottom,1==n&&(i=2)}return{distance:r,scrollPenalty:i,viewportHeight:t.height}}isWithinViewportRatio(t,e){if("boolean"==typeof t)return t;const{distance:n,scrollPenalty:i,viewportHeight:r}=e||this.getDistanceViewportRatio();return"boolean"==typeof n?n:n<r*t/i}renderOutsideViewport(){return this.Hi(),this.hasOwner()||this.isWithinViewportRatio(this.element.renderOutsideViewport())}idleRenderOutsideViewport(){return this.isWithinViewportRatio(this.element.idleRenderOutsideViewport())}layoutScheduled(t){this.yi=3,this.element.layoutScheduleTime=t}layoutCanceled(){this.yi=this.hasBeenMeasured()?2:1}startLayout(){if(this.Di)return this.Di;if(4==this.yi)return tt();if(5==this.yi)return Promise.reject(this.Si);if(k(0!=this.yi),k(this.isDisplayed()),3!=this.yi){const t=D().createExpectedError("startLayout called but not LAYOUT_SCHEDULED","currently: ",this.yi);return Fi(t,this.element),Promise.reject(t)}if(this.bi>0&&!this.element.isRelayoutNeeded())return this.yi=4,tt();this.bi++,this.yi=3,this.Vi=new AbortController;const{signal:t}=this.Vi,e=new Promise(((e,n)=>{Ht(this.hostWin).mutate((()=>{let i;try{i=this.element.layoutCallback(t)}catch(t){n(t)}Promise.resolve(i).then(e,n)})),t.onabort=()=>n(Bi())})).then((()=>this.ji(!0,t)),(e=>this.ji(!1,t,e)));return this.Di=e}ji(t,e,n){if(this.Vi=null,e.aborted){const t=D().createError("layoutComplete race");throw t.associatedElement=this.element,D().expectedError(rr,t),Bi()}if(this.$i&&(this.$i(),this.$i=null),this.Di=null,this.yi=t?4:5,this.Si=n,!t)return Promise.reject(n)}isLayoutPending(){return 4!=this.yi&&5!=this.yi}loadedOnce(){return this.element.R1()?this.element.whenLoaded():this.Ui}isInViewport(){return this.Fi&&this.Hi(),this.Fi}setInViewport(t){this.Fi=t}unlayout(){0!=this.yi&&1!=this.yi&&2!=this.yi&&(this.Vi&&(this.Vi.abort(),this.Vi=null),this.setInViewport(!1),this.element.unlayoutCallback()&&(this.element.togglePlaceholder(!0),this.yi=1,this.bi=0,this.Di=null))}getTaskId(t){return this.debugid+"#"+t}pause(){this.element.pause()}pauseOnRemove(){this.element.pause()}resume(){this.element.resume()}unload(){this.element.unmount()}disconnect(){delete this.element.__AMP__RESOURCE,this.element.disconnect(!0)}},or=/nochunking=1/.test(self.location.hash),ar=tt();var cr="not_run",hr=class{constructor(t){this.state=cr,this.os=t}us(t){if("run"!=this.state){this.state="run";try{this.os(t)}catch(t){throw this.ls(t),t}}}cs(){return this.os.displayName||this.os.name}ls(t){}ds(){return!1}fs(){return!1}},lr=class extends hr{constructor(t,e,n){super(t),this.ps=n}ls(t){Ui(self.document)}ds(){return this._s()}fs(){return this.ps.As}_s(){return this.ps.ampdoc.isVisible()}},dr=class{constructor(t){var e;this.ampdoc=t,this.i=t.win,this.gs=new On,this.Ps=this.vs.bind(this),this.Es=0,this.Ts=!(!this.i.navigator.scheduling||!this.i.navigator.scheduling.isInputPending),this.Rs=!1,this.hs=this.i.document.documentElement.hasAttribute("i-amphtml-no-boilerplate"),this.i.addEventListener("message",(t=>{"amp-macro-task"==De(t)&&this.vs(null)})),this.As=!1,(e=t,at(e,"viewer")).then((()=>{this.As=!0})),t.onVisibilityChanged((()=>{t.isVisible()&&this.Is()}))}run(t,e){const n=new hr(t);this.Ms(n,e)}runForStartup(t){const e=new lr(t,this.i,this);this.Ms(e,Number.POSITIVE_INFINITY)}Ms(t,e){this.gs.enqueue(t,e),this.Is()}ys(t){let e=this.gs.peek();for(;e&&e.state!==cr;)this.gs.dequeue(),e=this.gs.peek();return e&&t&&this.gs.dequeue(),e}vs(t){const e=this.ys(!0);if(!e)return this.Rs=!1,this.Es=0,!1;let n;try{n=Date.now(),e.us(t)}finally{ar.then().then().then().then().then().then().then().then().then((()=>{this.Rs=!1,this.Es+=Date.now()-n,this.Is()}))}return!0}ws(t){if(this.hs&&(this.Ts?this.i.navigator.scheduling.isInputPending():this.Es>5))return this.Es=0,void this.bs();ar.then((()=>{this.Ps(t)}))}Is(){if(this.Rs)return;const t=this.ys();return t?t.ds()?(this.Rs=!0,void this.ws(null)):void(t.fs()&&this.i.requestIdleCallback?function(t,e,n,i){const r=Date.now();t.requestIdleCallback((function e(n){if(n.timeRemaining()<15){const s=2e3-(Date.now()-r);s<=0||n.didTimeout?i(n):t.requestIdleCallback(e,{timeout:s})}else i(n)}),{timeout:2e3})}(this.i,0,0,this.Ps):this.bs()):void 0}bs(){this.i.postMessage("amp-macro-task","*")}},ur="activate";Date.now();var pr=class{constructor(){this.ut=null}add(t){return this.ut||(this.ut=[]),this.ut.push(t),()=>{this.remove(t)}}remove(t){this.ut&&A(this.ut,t)}removeAll(){this.ut&&(this.ut.length=0)}fire(t){if(this.ut)for(const e of this.ut.slice())e(t)}getHandlerCount(){var t,e;return null!==(t=null===(e=this.ut)||void 0===e?void 0:e.length)&&void 0!==t?t:0}},mr="Action",fr="__AMP_ACTION_MAP__"+Math.random(),gr="__AMP_ACTION_QUEUE__",Tr="__AMP_ACTION_HANDLER__",Ar={"form":["submit","clear"]},_r=[{tagOrTarget:"AMP",method:"setState"},{tagOrTarget:"*",method:"focus"},{tagOrTarget:"*",method:"hide"},{tagOrTarget:"*",method:"show"},{tagOrTarget:"*",method:"toggleClass"},{tagOrTarget:"*",method:"toggleChecked"},{tagOrTarget:"*",method:"toggleVisibility"}],vr={"button":!0,"checkbox":!0,"link":!0,"listbox":!0,"menuitem":!0,"menuitemcheckbox":!0,"menuitemradio":!0,"option":!0,"radio":!0,"scrollbar":!0,"slider":!0,"spinbutton":!0,"switch":!0,"tab":!0,"treeitem":!0},Ir=class{constructor(t,e,n,i,r,s,o,a="?",c=null,h=Math.random()){this.node=t,this.method=e,this.args=n,this.source=i,this.caller=r,this.event=s,this.trust=o,this.actionEventType=a,this.tagOrTarget=c||t.tagName,this.sequenceId=h}satisfiesTrust(t){if(!v(this.trust))return D().error(mr,`Invalid trust for '${this.method}': ${this.trust}`),!1;if(this.trust<t){const t=function(t){switch(t){case 1:return"low";case 3:return"high";default:return V(2===t),"default"}}(this.trust);return M().error(mr,`"${this.actionEventType}" event with "${t}" trust is not allowed to invoke "${this.tagOrTarget.toLowerCase()}.${this.method}".`),!1}return!0}};function br(t){return"amp-"===t.substring(0,4)}var yr=class{constructor(t){this.detail=null,function(t,e){const n=e||l();for(const e in t){const i=t[e];n[e]="function"==typeof i?Er:t[e]}}(t,this)}};function Er(){k(null)}function Rr(t,e){const n=Sr.bind(null,t,e),i=Pr.bind(null,t,e);let r=null;const s=new Or(t);let o,a;do{if(o=s.next(),o.type==Nr.EOF||o.type==Nr.SEPARATOR&&";"==o.value);else if(o.type==Nr.LITERAL||o.type==Nr.ID){const e=o.value;i(s.next(),[Nr.SEPARATOR],":");const c=[];do{const r=i(s.next(),[Nr.LITERAL,Nr.ID]).value;let o=ur,h=null;a=s.peek(),a.type==Nr.SEPARATOR&&"."==a.value&&(s.next(),o=i(s.next(),[Nr.LITERAL,Nr.ID]).value||o,a=s.peek(),a.type==Nr.SEPARATOR&&"("==a.value&&(s.next(),h=wr(s,i,n))),c.push({event:e,target:r,method:o,args:h,str:t}),a=s.peek()}while(a.type==Nr.SEPARATOR&&","==a.value&&s.next());r||(r=l()),r[e]=c}else n(!1,`; unexpected token [${o.value||""}]`)}while(o.type!=Nr.EOF);return r}function wr(t,e,n){let i,r=t.peek(),s=null;if(r.type==Nr.OBJECT){s=l();const{value:n}=t.next();s.__AMP_OBJECT_STRING__=n,e(t.next(),[Nr.SEPARATOR],")")}else do{i=t.next();const{type:a,value:c}=i;if(a!=Nr.SEPARATOR||","!=c&&")"!=c)if(a==Nr.LITERAL||a==Nr.ID){e(t.next(),[Nr.SEPARATOR],"="),i=e(t.next(!0),[Nr.LITERAL,Nr.ID]);const a=[i];if(i.type==Nr.ID)for(r=t.peek();r.type==Nr.SEPARATOR&&"."==r.value;r=t.peek())t.next(),i=e(t.next(!1),[Nr.ID]),a.push(i);const h=0==(o=a).length?null:1==o.length?o[0].value:{expression:o.map((t=>t.value)).join(".")};s||(s=l()),s[c]=h,r=t.peek(),n(r.type==Nr.SEPARATOR&&(","==r.value||")"==r.value),"Expected either [,] or [)]")}else n(!1,`; unexpected token [${i.value||""}]`)}while(i.type!=Nr.SEPARATOR||")"!=i.value);var o;return s}function Sr(t,e,n,i){return x(n,"Invalid action definition in %s: [%s] %s",e,t,i||"")}function Pr(t,e,n,i,r){return void 0!==r?Sr(t,e,i.includes(n.type)&&n.value==r,`; expected [${r}]`):Sr(t,e,i.includes(n.type)),n}var Nr={INVALID:0,EOF:1,SEPARATOR:2,LITERAL:3,ID:4,OBJECT:5},Cr=" \t\n\r\f\v \u2028\u2029",Or=class{constructor(t){this.An=t,this.gn=-1}next(t){const e=this.Pn(t||!1);return this.gn=e.index,e}peek(t){return this.Pn(t||!1)}Pn(t){let e=this.gn+1;if(e>=this.An.length)return{type:Nr.EOF,index:this.gn};let n=this.An.charAt(e);if(-1!=Cr.indexOf(n)){for(e++;e<this.An.length&&-1!=Cr.indexOf(this.An.charAt(e));e++);if(e>=this.An.length)return{type:Nr.EOF,index:e};n=this.An.charAt(e)}if(t&&(Mr(n)||"."==n&&e+1<this.An.length&&Mr(this.An[e+1]))){let t="."==n,i=e+1;for(;i<this.An.length;i++){const e=this.An.charAt(i);if("."!=e){if(!Mr(e))break}else t=!0}const r=this.An.substring(e,i),s=t?parseFloat(r):parseInt(r,10);return e=i-1,{type:Nr.LITERAL,value:s,index:e}}if(-1!=";:.()=,|!".indexOf(n))return{type:Nr.SEPARATOR,value:n,index:e};if(-1!="\"'".indexOf(n)){let t=-1;for(let i=e+1;i<this.An.length;i++)if(this.An.charAt(i)==n){t=i;break}if(-1==t)return{type:Nr.INVALID,index:e};const i=this.An.substring(e+1,t);return e=t,{type:Nr.LITERAL,value:i,index:e}}if("{"==n){let t=1,n=-1;for(let i=e+1;i<this.An.length;i++){const e=this.An[i];if("{"==e?t++:"}"==e&&t--,t<=0){n=i;break}}if(-1==n)return{type:Nr.INVALID,index:e};const i=this.An.substring(e,n+1);return e=n,{type:Nr.OBJECT,value:i,index:e}}let i=e+1;for(;i<this.An.length&&-1==" \t\n\r\f\v \u2028\u2029;:.()=,|!\"'{}".indexOf(this.An.charAt(i));i++);const r=this.An.substring(e,i);if(e=i-1,t&&("true"==r||"false"==r)){const t="true"==r;return{type:Nr.LITERAL,value:t,index:e}}return Mr(r.charAt(0))?{type:Nr.LITERAL,value:r,index:e}:{type:Nr.ID,value:r,index:e}}};function Mr(t){return t>="0"&&t<="9"}var jr={attributes:!0,attributeFilter:["hidden"],subtree:!0};function Dr(t){return T(t)?t:[t]}function kr(t){return t.queryCommandSupported("copy")}function xr(t){return t.hasAttribute("hidden")}var Vr="STANDARD-ACTIONS",Ur=/^i-amphtml-/;function Lr(t){it(t,"standard-actions",class{constructor(t){this.ampdoc=t;const e=t.getHeadNode();this.qc=Mt(t),this.Il=Ft(t),this.Wc(yt(e)),this.Kc()}Wc(t){t.addGlobalTarget("AMP",this.Yc.bind(this)),t.addGlobalMethodHandler("hide",this.Jc.bind(this)),t.addGlobalMethodHandler("show",this.Qc.bind(this)),t.addGlobalMethodHandler("toggleVisibility",this.Xc.bind(this)),t.addGlobalMethodHandler("scrollTo",this.Zc.bind(this)),t.addGlobalMethodHandler("focus",this.ta.bind(this)),t.addGlobalMethodHandler("toggleClass",this.ia.bind(this)),t.addGlobalMethodHandler("copy",this.sa.bind(this)),t.addGlobalMethodHandler("toggleChecked",this.ea.bind(this))}Kc(){this.na()&&this.ampdoc.waitForBodyOpen().then((t=>{const e=t.getAttribute("data-prefers-dark-mode-class")||"amp-dark-mode";t.classList.add(e)}))}na(){var t,e;try{const t=this.ampdoc.win.localStorage.getItem("amp-dark-mode");if(t)return"yes"===t}catch(t){}return null===(t=(e=this.ampdoc.win).matchMedia)||void 0===t?void 0:t.call(e,"(prefers-color-scheme: dark)").matches}Yc(t){if(!t.satisfiesTrust(2))return null;const{args:e,method:n,node:i}=t,r=G(i);switch(n){case"pushState":case"setState":return(t=>It(t,"bind","amp-bind"))(i.nodeType===Node.DOCUMENT_NODE?i.documentElement:i).then((e=>(x(e,"AMP-BIND is not installed."),e.invoke(t))));case"navigateTo":return this.ra(t);case"closeOrNavigateTo":return this.ha(t);case"scrollTo":return x(e.id,"AMP.scrollTo must provide element ID"),t.node=lt(i).getElementById(e.id),this.Zc(t);case"goBack":return Ot(this.ampdoc).goBack(!(!e||!0!==e.navigate)),null;case"print":return r.print(),null;case"copy":return this.sa(t);case"optoutOfCid":return St(this.ampdoc).then((t=>t.optOut())).catch((t=>{D().error(Vr,"Failed to opt out of CID",t)}));case"toggleTheme":return this.oa(),null}throw M().createError("Unknown AMP action ",n)}sa(t){const{args:e,node:n}=t,i=G(n),r="copy-error";let s;if("AMP"===t.tagOrTarget)s=e.text.trim();else{var o;const e=U(t.node);s=(null!==(o=e.value)&&void 0!==o?o:e.textContent).trim()}const a=function(t,e,n){const r=function(t,e,n,i){const r={detail:n};return Object.assign(r,void 0),new t.CustomEvent(e,r)}(i,`${t}`,{data:{type:e}});yt(n.caller).trigger(n.caller,t,r,3)};var c,h,l;null!==(h=(c=i.document).defaultView)&&void 0!==h&&null!==(l=h.navigator)&&void 0!==l&&l.clipboard||kr(c)?function(t,e,n,i){var r;null!==(r=t.navigator)&&void 0!==r&&r.clipboard?t.navigator.clipboard.writeText(e).then(n,i):kr(t.document)&&function(t,e){var n;let i=!1;const r=t.document,s=r.createElement("textarea");En(s,{"position":"fixed","top":0,"left":0,"width":"50px","height":"50px","padding":0,"border":"none","outline":"none","background":"transparent"}),s.value=e,s.readOnly=!0,s.contentEditable="true",r.body.appendChild(s),null===(n=t.getSelection())||void 0===n||n.removeAllRanges(),s.focus(),s.setSelectionRange(0,e.length);try{i=r.execCommand("copy")}catch(t){}return K(s),i}(t,e)?n():i()}(i,s,(()=>{a("copy-success","success",t)}),(()=>{a(r,"error",t)})):a(r,"unsupported",t)}ra(t){const{args:e,caller:n,method:i,node:r}=t,s=G(r);let o=tt();return n.tagName.startsWith("AMP-")&&(o=n.getImpl().then((t=>{"function"==typeof t.throwIfCannotNavigate&&t.throwIfCannotNavigate()}))),o.then((()=>{var t;(t=this.ampdoc,st(t,"navigation")).navigateTo(s,e.url,`AMP.${i}`,{target:e.target,opener:e.opener})}),(t=>{M().error(Vr,t)}))}oa(){this.ampdoc.waitForBodyOpen().then((t=>{try{const e=t.getAttribute("data-prefers-dark-mode-class")||"amp-dark-mode";this.na()?(t.classList.remove(e),this.ampdoc.win.localStorage.setItem("amp-dark-mode","no")):(t.classList.add(e),this.ampdoc.win.localStorage.setItem("amp-dark-mode","yes"))}catch(t){}}))}ha(t){const{node:e}=t,n=G(e),i=n.parent!=n;let r=!1;return n.opener&&this.ampdoc.isSingleDoc()&&!i&&(n.close(),r=n.closed),r?tt():this.ra(t)}Zc(t){const e=t.node,{args:n}=t;let i=n&&n.position,r=n&&n.duration;return i&&!["top","bottom","center"].includes(i)&&(i=void 0),v(r)||(r=void 0),this.Il.animateScrollIntoView(e,i,r)}ta(t){return J(t.node),null}Jc(t){const e=t.node;if(e.classList.contains("i-amphtml-element")){const t=e;this.qc.mutateElement(t,(()=>t.collapse()),!0)}else this.qc.mutateElement(e,(()=>Rn(e,!1)));return null}Qc(t){const{node:e}=t,n=e,i=G(n);if(n.classList.contains("i-amphtml-layout-nodisplay"))return null;this.qc.measureElement((()=>{"none"==Sn(i,n).display&&xr(n)}));const r=(s=n).hasAttribute("autofocus")?s:s.querySelector("[autofocus]");var s;return r&&jt(i).isIos()?(this.ua(n,r),this.qc.mutateElement(n,(()=>{}))):this.qc.mutateElement(n,(()=>{this.ua(n,r)})),null}ua(t,e){t.classList.contains("i-amphtml-element")?t.expand():Rn(t,!0),e&&J(e)}Xc(t){return xr(t.node)?this.Qc(t):this.Jc(t)}ia(t){const e=t.node,{args:n}=t,i=M().assertString(n.class,"Argument 'class' must be a string.");return Ur.test(i)||this.qc.mutateElement(e,(()=>{if(void 0!==n.force){const t=M().assertBoolean(n.force,"Optional argument 'force' must be a boolean.");e.classList.toggle(i,t)}else e.classList.toggle(i)})),null}ea(t){const e=t.node,{args:n}=t;return this.qc.mutateElement(e,(()=>{if(void 0!==(null==n?void 0:n.force)){const t=M().assertBoolean(n.force,"Optional argument 'force' must be a boolean.");e.checked=t}else!0===e.checked?e.checked=!1:e.checked=!0})),null}},!0)}var $r=(()=>self.AMP.config.urls)();function Gr(t){if(t.defaultPrevented)return;const e=t.target;if(!e||"FORM"!=e.tagName)return;let n;n=e.classList.contains("i-amphtml-form")?!e.hasAttribute("amp-novalidate"):!e.hasAttribute("novalidate"),n&&e.checkValidity&&!e.checkValidity()&&t.preventDefault();const i=e.elements;for(let t=0;t<i.length;t++)x(!i[t].name||i[t].name!=Wt,"Illegal input name, %s found: %s",Wt,i[t]);const r=e.getAttribute("action"),s=e.getAttribute("action-xhr"),o=(e.getAttribute("method")||"GET").toUpperCase();if(s&&(te(s,e,"action-xhr"),x(!ee(s),"form action-xhr should not be on AMP CDN: %s",e),oe(s)),r&&(te(r,e,"action"),x(!ee(r),"form action should not be on AMP CDN: %s",e),oe(r)),"GET"==o)x(s||r,"form action-xhr or action attribute is required for method=GET: %s",e);else if("POST"==o){if(r){const t="form";M().error(t,"action attribute is invalid for method=POST: %s",e)}s||(t.preventDefault(),x(!1,"Only XHR based (via action-xhr attribute) submissions are support for POST requests. %s",e))}const a=e.getAttribute("target");a?x("_blank"==a||"_top"==a,"form target=%s is invalid can only be _blank or _top: %s",a,e):e.setAttribute("target","_top"),s&&(t.preventDefault(),t.stopImmediatePropagation(),yt(e).execute(e,"submit",null,e,e,t,3))}function zr(t){k(!!t.getParent()),function(t,e){(function(t){it(t,"url",class{constructor(t){const e=t.getRootNode(),n=e.ownerDocument||e;this.Yo=n.createElement("a"),this.Jo=null}parse(t,e){return Jt(this.Yo,t)}Qo(t){return"string"!=typeof t?t:this.parse(t)}isProtocolValid(t){return ie(t)}getSourceOrigin(t){return se(this.Qo(t))}getSourceUrl(t){return re(this.Qo(t))}resolveRelativeUrl(t,e){return function(t,e){return e=Yt(e),new URL(t,e.href).toString()}(t,this.Qo(e))}assertHttpsUrl(t,e,n="source"){return te(t,e,n)}assertAbsoluteHttpOrHttpsUrl(t){return function(t){return x(/^https?\:/i.test(t),'URL must start with "http://" or "https://". Invalid value: %s',t),Xt(t).href}(t)}isProxyOrigin(t){return ee(this.Qo(t))}isSecure(t){return Zt(this.Qo(t))}getWinOrigin(t){return t.origin||this.Qo(t.location.href).origin}getCdnUrlOnOrigin(t){if(ee(t))return t;const{hash:e,host:n,pathname:i,search:r}=this.Qo(t),s=encodeURIComponent(n);return`${$r.cdn}/c/${s}${i}${r}${e}`}},!0)})(t),function(t,e){const n=dt(k(t.getParent()));k(_t(n,e));const i=ft(n)[e];pt(dt(t),t,e,k(i.ctor))}(t,"templates"),At(t,"documentInfo"),At(t,"cid"),At(t,"viewer"),At(t,"viewport"),function(t){it(t,"hidden-observer",class{constructor(t){this.Zu=t.getRootNode();const e=this.Zu.ownerDocument||this.Zu;this.i=k(e.defaultView),this.tl=null,this.il=null}add(t){this.sl();const e=this.il.add(t);return()=>{e(),0===this.il.getHandlerCount()&&this.dispose()}}sl(){if(this.tl)return;this.il=new pr;const t=new this.i.MutationObserver((t=>{t&&this.il.fire(t)}));this.tl=t,t.observe(this.Zu,jr)}dispose(){this.tl&&(this.tl.disconnect(),this.il.removeAll(),this.tl=null,this.il=null)}})}(t),At(t,"history"),function(t){it(t,"resources",class{constructor(t){var e;this.zi=t,this.win=t.win,this.Ti=[],this.rl=0,this._n=new class{constructor(t,e,n){this.ln=Vt(t),this.cn=e,this.an=n||0,this.dn=-1,this.fn=0,this.pn=!1,this.mn=()=>{this._n()}}isPending(){return-1!=this.dn}schedule(t){let e=t||this.an;this.pn&&e<10&&(e=10);const n=Date.now()+e;return(!this.isPending()||n-this.fn<-10)&&(this.cancel(),this.fn=n,this.dn=this.ln.delay(this.mn,e),!0)}_n(){this.dn=-1,this.fn=0,this.pn=!0,this.cn(),this.pn=!1}cancel(){this.isPending()&&(this.ln.cancel(this.dn),this.dn=-1)}}(this.win,this.Im.bind(this),70),this.xm=new pr,this.xl=new et,this.Vm=null,(e=this.win,rt(e,"input")).setupInputModeClasses(t),"inabox"!=S(this.win).runtime&&t.onVisibilityChanged((()=>{switch(t.getVisibilityState()){case er:this.Ti.forEach((t=>t.pause()));break;case tr:this.Ti.forEach((t=>t.resume())),this.schedulePass()}})),this.Tl=[],this.ll=!1,this.zi.whenReady().then((()=>{this.ll=!0,this.Ul(),this.schedulePass(1)}))}dispose(){this.Ti.forEach((t=>t.unload())),this.Ti.length=0,this.Vm&&(this.Vm.disconnect(),this.Vm=null)}get(){return this.Ti.slice(0)}getAmpdoc(){return this.zi}getResourceForElement(t){return sr.forElement(t)}getResourceForElementOptional(t){return sr.forElementOptional(t)}getScrollDirection(){return 1}add(t){const e=new sr(++this.rl,t,this);this.Ti.push(e)}upgraded(t){const e=sr.forElement(t);this.Tl.push(e),this.Ul()}remove(t){const e=sr.forElementOptional(t);if(!e)return;this.Vm&&this.Vm.unobserve(t);const n=this.Ti.indexOf(e);-1!==n&&this.Ti.splice(n,1)}scheduleLayoutOrPreload(t){this._n.schedule()}schedulePass(t){return this._n.schedule(t)}updateOrEnqueueMutateTask(t,e){}schedulePassVsync(){}onNextPass(t){this.xm.add(t)}ampInitComplete(){}updateLayoutPriority(t,e){}setRelayoutTop(t){}maybeHeightChanged(){}whenFirstPass(){return this.xl.promise}Im(){const t=Date.now();this.Ti.forEach((t=>{t.isLayoutPending()&&!t.element.R1()&&t.measure()})),this.Ti.forEach((e=>{!e.element.R1()&&2===e.getState()&&e.isDisplayed()&&(e.layoutScheduled(t),e.startLayout())})),this.zi.signals().signal(ze),this.xm.fire(),this.xl.resolve()}Ul(){for(let t=this.Tl.length-1;t>=0;t--){const e=this.Tl[t];(this.ll||W(e.element,this.zi.getRootNode()))&&(this.Tl.splice(t,1),(e.build()||tt()).then((()=>this.schedulePass())))}}})}(t),function(t){it(t,"owners",class{constructor(t){this.Ti=kt(t)}setOwner(t,e){sr.setOwner(t,e)}schedulePreload(t,e){this.hc(this.Ti.getResourceForElement(t),!1,Dr(e))}scheduleLayout(t,e){this.hc(this.Ti.getResourceForElement(t),!0,Dr(e))}schedulePause(t,e){const n=this.Ti.getResourceForElement(t);e=Dr(e),this.oc(n,e,(t=>{t.pause()}))}scheduleResume(t,e){const n=this.Ti.getResourceForElement(t);e=Dr(e),this.oc(n,e,(t=>{t.resume()}))}scheduleUnlayout(t,e){const n=this.Ti.getResourceForElement(t);e=Dr(e),this.oc(n,e,(t=>{t.unlayout()}))}requireLayout(t,e){const n=[];return this.uc(t,(t=>{n.push(t.element.ensureLoaded())})),Promise.all(n)}oc(t,e,n){for(const i of e)k(t.element.contains(i)),this.uc(i,n)}uc(t,e){if(t.classList.contains("i-amphtml-element")){e(this.Ti.getResourceForElement(t));const n=t.getPlaceholder();n&&this.uc(n,e)}else{const n=t.getElementsByClassName("i-amphtml-element"),i=[];for(let t=0;t<n.length;t++){const r=n[t];let s=!1;for(let t=0;t<i.length;t++)if(i[t].contains(r)){s=!0;break}s||(i.push(r),e(this.Ti.getResourceForElement(r)))}}}hc(t,e,n){this.oc(t,n,(e=>{e.element.ensureLoaded(t.getLayoutPriority())}))}})}(t),function(t){it(t,"mutator",class{constructor(t){this.ampdoc=t,this.win=t.win,this.Ti=kt(t),this.Il=Ft(this.ampdoc),this.Xr=Ht(this.win),this.Ml=new class{constructor(t,e){this.win=t,this.nr=e,this.rr=[],this.hr=new pr,this.ur=t=>{_(t.target)&&this.lr(t.target)},this.cr=e=>{Vt(t).delay((()=>{this.win.document.activeElement&&this.lr(this.win.document.activeElement)}),500)},this.win.document.addEventListener("focus",this.ur,!0),this.win.addEventListener("blur",this.cr)}ar(){this.win.document.removeEventListener("focus",this.ur,!0),this.win.removeEventListener("blur",this.cr)}onFocus(t){return this.hr.add(t)}lr(t){const e=Date.now();0==this.rr.length||this.rr[this.rr.length-1].el!=t?this.rr.push({el:t,time:e}):this.rr[this.rr.length-1].time=e,this.purgeBefore(e-this.nr),this.hr.fire(t)}getLast(){return 0==this.rr.length?null:this.rr[this.rr.length-1].el}purgeBefore(t){let e=this.rr.length-1;for(let n=0;n<this.rr.length;n++)if(this.rr[n].time>=t){e=n-1;break}-1!=e&&this.rr.splice(0,e+1)}hasDescendantsOf(t){this.win.document.activeElement&&this.lr(this.win.document.activeElement);for(let e=0;e<this.rr.length;e++)if(t.contains(this.rr[e].el))return!0;return!1}}(this.win,6e4),this.Ml.onFocus((t=>{this.lc(t)}))}forceChangeSize(t,e,n,i,r){this.cc(sr.forElement(t),e,n,r,void 0,!0,i)}requestChangeSize(t,e,n,i,r){return new Promise(((s,o)=>{this.cc(sr.forElement(t),e,n,i,r,!1,(t=>{t?s():o(new Error("changeSize attempt denied"))}))}))}expandElement(t){sr.forElement(t).completeExpand(),this.Ti.schedulePass(70)}attemptCollapse(t){return new Promise(((e,n)=>{this.cc(sr.forElement(t),0,0,void 0,void 0,!1,(i=>{i?(sr.forElement(t).completeCollapse(),e()):n(D().createExpectedError("collapse attempt denied"))}))}))}collapseElement(t){const e=this.Il.getLayoutRect(t);0!=e.width&&0!=e.height&&(Re(this.win,"dirty-collapse-element")?this.dirtyElement(t):this.Ti.setRelayoutTop(e.top)),sr.forElement(t).completeCollapse(),this.Ti.schedulePass(70)}measureElement(t){return this.Xr.measurePromise(t)}mutateElement(t,e,n){return this.ac(t,null,e,n)}measureMutateElement(t,e,n){return this.ac(t,e,n)}dc(t){const e=Sn(this.win,t.element);return{top:parseInt(e.marginTop,10)||0,right:parseInt(e.marginRight,10)||0,bottom:parseInt(e.marginBottom,10)||0,left:parseInt(e.marginLeft,10)||0}}ac(t,e,n,i=!1){const r=()=>{const e=this.Il.getLayoutRect(t);return 0!=e.width&&0!=e.height?e.top:-1};let s=-1;return this.Xr.runPromise({measure:()=>{e&&e(),i||(s=r())},mutate:()=>{if(n(),i)return;t.classList.contains("i-amphtml-element")&&sr.forElement(t).requestMeasure();const e=t.getElementsByClassName("i-amphtml-element");for(let t=0;t<e.length;t++)sr.forElement(e[t]).requestMeasure();this.Ti.schedulePass(70),-1!=s&&this.Ti.setRelayoutTop(s),this.Xr.measure((()=>{const t=r();-1!=t&&t!=s&&(this.Ti.setRelayoutTop(t),this.Ti.schedulePass(70)),this.Ti.maybeHeightChanged()}))}})}dirtyElement(t){let e=!1;if(t.classList.contains("i-amphtml-element")){const e=sr.forElement(t);this.Ti.setRelayoutTop(e.getLayoutBox().top)}else e=!0;this.Ti.schedulePass(70,e)}lc(t){const e=function(t,e,n){let i;for(i=t;i&&undefined!==i;i=i.parentElement)if(e(i))return i;return null}(t,(t=>!!sr.forElementOptional(t)));if(!e)return;const n=sr.forElement(e),i=n.getPendingChangeSize();void 0!==i&&this.cc(n,i.height,i.width,i.margins,void 0,!0)}cc(t,e,n,i,r,s,o){t.hasBeenMeasured()&&!i?this.fc(t,e,n,void 0,r,s,o):this.Xr.measure((()=>{t.hasBeenMeasured()||t.measure();const a=i?{newMargins:i,currentMargins:this.dc(t)}:void 0;this.fc(t,e,n,a,r,s,o)}))}fc(t,e,n,i,r,s,o){t.resetPendingChangeSize();const a=t.getLayoutSize();if(!(void 0!==e&&e!=a.height||void 0!==n&&n!=a.width||void 0!==i&&(c=i.currentMargins,h=i.newMargins,void 0!==h.top&&h.top!=c.top||void 0!==h.right&&h.right!=c.right||void 0!==h.bottom&&h.bottom!=c.bottom||void 0!==h.left&&h.left!=c.left)))return void 0===e&&void 0===n&&void 0===i&&D().error("Mutator","attempting to change size with undefined dimensions",t.debugid),void(o&&o(!0));var c,h;this.Ti.updateOrEnqueueMutateTask(t,{resource:t,newHeight:e,newWidth:n,marginChange:i,event:r,force:s,callback:o}),this.Ti.schedulePassVsync()}})}(t),At(t,"url-replace"),function(t){it(t,"action",class{constructor(t,e){this.ampdoc=t,this.Zu=e||t.getRootNode(),this.Nc=this.ampdoc.isSingleDoc()&&Oe(this.Zu),this.Lr=this.Nc?_r:null,this.Dc=l(),this.Lc=l(),this.addEvent("tap"),this.addEvent("submit"),this.addEvent("change"),this.addEvent("input-debounced"),this.addEvent("input-throttled"),this.addEvent("valid"),this.addEvent("invalid")}addEvent(t){if("tap"==t)this.Zu.addEventListener("click",(e=>{if(!e.defaultPrevented){const n=e.target;this.trigger(n,t,e,3)}})),this.Zu.addEventListener("keydown",(e=>{const{key:n,target:i}=e,r=i;if("Enter"==n||" "==n){const n=r.getAttribute("role"),i=n&&d(vr,n.toLowerCase());!e.defaultPrevented&&i&&this.trigger(r,t,e,3)&&e.preventDefault()}}));else if("submit"==t)this.Zu.addEventListener(t,(e=>{const n=e.target;this.trigger(n,t,e,3)}));else if("change"==t)this.Zu.addEventListener(t,(e=>{const n=e.target;this.Uc(e),this.trigger(n,t,e,3)}));else if("input-debounced"==t){const e=function(t,e,n){let i=0,r=0,s=null;function o(){i=0;const n=300-(t.Date.now()-r);var a;n>0?i=t.setTimeout(o,n):(a=s,s=null,e.apply(null,a))}return function(...e){r=t.Date.now(),s=e,i||(i=t.setTimeout(o,300))}}(this.ampdoc.win,(e=>{const n=e.target;this.trigger(n,t,e,3)}));this.Zu.addEventListener("input",(t=>{const n=new yr(t);this.Uc(n),e(n)}))}else if("input-throttled"==t){const e=function(t,e,n){let i=0,r=null;function s(s){r=null,i=t.setTimeout(o,n),e.apply(null,s)}function o(){i=0,r&&s(r)}return function(...t){i?r=t:s(t)}}(this.ampdoc.win,(e=>{const n=e.target;this.trigger(n,t,e,3)}),100);this.Zu.addEventListener("input",(t=>{const n=new yr(t);this.Uc(n),e(n)}))}else"valid"!=t&&"invalid"!=t||this.Zu.addEventListener(t,(e=>{const n=e.target;this.trigger(n,t,e,3)}))}addGlobalTarget(t,e){this.Dc[t]=e}addGlobalMethodHandler(t,e,n=2){this.Lc[t]={handler:e,minTrust:n}}trigger(t,e,n,i,r){return this.$c(t,e,n,i,r)}execute(t,e,n,i,r,s,o){const a=new Ir(t,e,n,i,r,s,o);this.Fc(a)}installActionHandler(t,e){if(k(br(t.getAttribute("id")||"")||t.tagName.toLowerCase()in Ar),t[Tr])return void D().error(mr,`Action handler already installed for ${t}`);t[Tr]=e;const n=t[gr];T(n)&&Vt(G(t)).delay((()=>{n.forEach((t=>{try{e(t)}catch(e){D().error(mr,"Action execution failed:",t,e)}})),t[gr].length=0}),1)}hasAction(t,e,n){return!!this.Bc(t,e,n)}hasResolvableAction(t,e,n){const i=this.Bc(t,e,n);return!!i&&i.actionInfos.some((t=>{const{target:e}=t;return!!this.Hc(e)}))}hasResolvableActionForTarget(t,e,n,i){const r=this.Bc(t,e,i);return!!r&&r.actionInfos.some((t=>{const{target:e}=t;return this.Hc(e)==n}))}Hc(t){return this.Dc[t]?this.Zu:this.Zu.getElementById(t)}setAllowlist(t){k(t.every((t=>t.tagOrTarget&&t.method))),this.Lr=t}addToAllowlist(t,e,n){n&&n.includes("email")!==this.Nc||(this.Lr||(this.Lr=[]),T(e)||(e=[e]),e.forEach((e=>{this.Lr.some((n=>n.tagOrTarget==t&&n.method==e))||this.Lr.push({tagOrTarget:t,method:e})})))}$c(t,e,n,i,r){const s=this.Bc(t,e);if(!s)return!1;const o=Math.random();let a=null;return s.actionInfos.forEach((c=>{const{args:h,method:u,str:p,target:m}=c,f=function(t,e,n){if(!t)return t;const i=n||{};if(e){const t=function(t){return t.detail}(e);t&&(i.event=t)}const r=l();return Object.keys(t).forEach((e=>{let n=t[e];if("object"==typeof n&&n.expression){const t=n.expression,e=function(t,e){if("."==e)return t;const n=e.split(".");let i=t;for(const t of n){if(!(t&&i&&void 0!==i[t]&&"object"==typeof i&&d(i,t))){i=void 0;break}i=i[t]}return i}(i,t);n=void 0===e?null:e}i[n]?r[e]=i[n]:r[e]=n})),r}(h,n,r),g=()=>{const r=this.Hc(m);if(!r)return void this.jc(`Target "${m}" not found for action [${p}].`);const a=new Ir(r,u,f,t,s.node,n,i,e,r.tagName||m,o);return this.Fc(a)};a=a?a.then(g):g()})),s.actionInfos.length>=1}jc(t,e){if(e){const n=M().createError(`[Action] ${t}`);throw Fi(n,e),n}M().error(mr,t)}Fc(t){const{method:e,tagOrTarget:n}=t;if(this.Lr&&!function(t,e){let{method:n}=t;const{node:i,tagOrTarget:r}=t;n===ur&&"function"==typeof i.getDefaultActionAlias&&(n=i.getDefaultActionAlias());const s=n.toLowerCase(),o=r.toLowerCase();return e.some((t=>(t.tagOrTarget.toLowerCase()===o||"*"===t.tagOrTarget)&&t.method.toLowerCase()===s))}(t,this.Lr))return this.jc(`"${n}.${e}" is not allowlisted ${JSON.stringify(this.Lr)}.`),null;const i=this.Dc[n];if(i)return i(t);const r=t.node,s=this.Lc[e];if(s&&t.satisfiesTrust(s.minTrust))return s.handler(t);const o=r.tagName.toLowerCase();if(br(o))return r.enqueAction?r.enqueAction(t):this.jc(`Unrecognized AMP element "${o}".`,r),null;const a=Ar[o];if(br(r.getAttribute("id")||"")||a&&a.indexOf(e)>-1){const e=r[Tr];return e?e(t):(r[gr]=r[gr]||[],r[gr].push(t)),null}return this.jc(`Target (${n}) doesn't support "${e}" action.`,t.caller),null}Bc(t,e,n){let i=t;for(;i;){if(n&&i==n)return null;const t=this.zc(i,e);if(t&&!(r=i).disabled&&(":disabled",!r.matches(":disabled")))return{node:i,actionInfos:k(t)};i=i.parentElement}var r;return null}zc(t,e){const n=this.Gc(t,e);return n&&n[e]||null}Gc(t,e){let n=t[fr];return void 0===n&&(n=null,t.hasAttribute("on")?(n=Rr(t.getAttribute("on"),t),t[fr]=n):t.hasAttribute("execute")&&(n=Rr(`${e}:${t.getAttribute("execute")}`,t),t[fr]=n)),n}setActions(t,e){t.setAttribute("on",e),delete t[fr]}Uc(t){const e=l(),{target:n}=t;var i;if(void 0!==n.value&&(e.value=n.value),"INPUT"==n.tagName&&(e.valueAsNumber=Number(n.value)),void 0!==n.checked&&(e.checked=n.checked),void 0===n.min&&void 0===n.max||(e.min=n.min,e.max=n.max),n.files&&(e.files=(i=n.files,i?Array.prototype.slice.call(i):[]).map((t=>({"name":t.name,"size":t.size,"type":t.type})))),Object.keys(e).length>0)try{t.detail=e}catch(t){}}},!0)}(t),Lr(t),At(t,"storage"),function(t){it(t,Dn,Ln,!0)}(t),function(t){t.whenExtensionsKnown().then((()=>{t.declaresExtension("amp-form")&&t.getRootNode().addEventListener("submit",Gr,!0)}))}(t)}(t)}var Hr,Fr=(()=>self.AMP.config.urls)();function Br(){return void 0===Hr&&(Hr="srcdoc"in HTMLIFrameElement.prototype),Hr}function Kr(){const t=Fr.cdn;return`${t}/lts/ ${t}/rtv/ ${t}/sw/`}function qr(t,e){const n=Ct(t);e.forEach((({extensionId:t,extensionVersion:e})=>n.preloadExtension(t,e)))}function Wr(t){const e=t.contentWindow&&t.contentWindow.document;return!!(e&&(n=e,"loading"!=n.readyState&&"uninitialized"!=n.readyState)&&e.body&&e.body.firstChild);var n}var Yr=class t{static installExtensionsInEmbed(e,n,i,r,s,o){const a=i.win,c=G(a.frameElement);!function(t,e){t.__AMP_PARENT=e,t.__AMP_TOP=ht(e)}(a,c);const h=t=>new Promise((e=>{setTimeout((()=>e(t)),1)}));return h(void 0).then((()=>{!function(t,e){var n;(function(t,e){var n;(n=e).IntersectionObserver&&n.IntersectionObserverEntry&&!n.IntersectionObserver._stub&&function(t){try{return new t.IntersectionObserver((()=>{}),{root:t.document}),!0}catch(t){return!1}}(n)&&!function(t){return/apple/i.test(t.navigator.vendor)}(n)?function(t){t.IntersectionObserverEntry&&!("isIntersecting"in t.IntersectionObserverEntry.prototype)&&Object.defineProperty(t.IntersectionObserverEntry.prototype,"isIntersecting",{enumerable:!0,configurable:!0,get(){return this.intersectionRatio>0}})}(e):Object.defineProperties(e,{IntersectionObserver:{get:()=>t.IntersectionObserver},IntersectionObserverEntry:{get:()=>t.IntersectionObserverEntry}})})(t,e),function(t,e){!e.ResizeObserver&&t.ResizeObserver&&Object.defineProperties(e,{ResizeObserver:{get:()=>t.ResizeObserver},ResizeObserverEntry:{get:()=>t.ResizeObserverEntry}})}(t,e),(n=e).AbortController||(Object.defineProperty(n,"AbortController",{configurable:!0,enumerable:!1,writable:!0,value:nr}),Object.defineProperty(n,"AbortSignal",{configurable:!0,enumerable:!1,writable:!0,value:ir}))}(c,a)})).then(h).then((()=>{!function(t,e,n,i,r){const s=t.getHeadNode();!function(t,e,n,i){let r=t.__AMP_CSS_SM;r||(r=t.__AMP_CSS_SM=l());const s="amp-runtime";{const n=xi(t,r,s);if(n)return"STYLE"==n.tagName&&n.textContent!==e&&(n.textContent=e),n}const o=(t.ownerDocument||t).createElement("style");o.textContent=e;let a=null;o.setAttribute("amp-runtime",""),function(t,e,n=null){if(!n)return void function(t,e){t.insertBefore(e,t.firstChild)}(t,e);const i=n.nextSibling;t.insertBefore(e,i)}(t,o,a),r[s]=o}(s,function(t,e){const n=t.__AMP_CSS_TR;return n?n(e):e}(s,"[hidden]{display:none!important}.i-amphtml-element{display:inline-block}.i-amphtml-blurry-placeholder{transition:opacity 0.3s cubic-bezier(0.0,0.0,0.2,1)!important;pointer-events:none}[layout=nodisplay]:not(.i-amphtml-element){display:none!important}.i-amphtml-layout-fixed,[layout=fixed][width][height]:not(.i-amphtml-layout-fixed){display:inline-block;position:relative}.i-amphtml-layout-responsive,[layout=responsive][width][height]:not(.i-amphtml-layout-responsive),[width][height][heights]:not([layout]):not(.i-amphtml-layout-responsive),[width][height][sizes]:not(img):not([layout]):not(.i-amphtml-layout-responsive){display:block;position:relative}.i-amphtml-layout-intrinsic,[layout=intrinsic][width][height]:not(.i-amphtml-layout-intrinsic){display:inline-block;position:relative;max-width:100%}.i-amphtml-layout-intrinsic .i-amphtml-sizer{max-width:100%}.i-amphtml-intrinsic-sizer{max-width:100%;display:block!important}.i-amphtml-layout-container,.i-amphtml-layout-fixed-height,[layout=container],[layout=fixed-height][height]:not(.i-amphtml-layout-fixed-height){display:block;position:relative}.i-amphtml-layout-fill,.i-amphtml-layout-fill.i-amphtml-notbuilt,[layout=fill]:not(.i-amphtml-layout-fill),body noscript>*{display:block;overflow:hidden!important;position:absolute;top:0;left:0;bottom:0;right:0}body noscript>*{position:absolute!important;width:100%;height:100%;z-index:2}body noscript{display:inline!important}.i-amphtml-layout-flex-item,[layout=flex-item]:not(.i-amphtml-layout-flex-item){display:block;position:relative;-ms-flex:1 1 auto;flex:1 1 auto}.i-amphtml-layout-fluid{position:relative}.i-amphtml-layout-size-defined{overflow:hidden!important}.i-amphtml-layout-awaiting-size{position:absolute!important;top:auto!important;bottom:auto!important}i-amphtml-sizer{display:block!important}@supports (aspect-ratio:1/1){i-amphtml-sizer.i-amphtml-disable-ar{display:none!important}}.i-amphtml-blurry-placeholder,.i-amphtml-fill-content{display:block;height:0;max-height:100%;max-width:100%;min-height:100%;min-width:100%;width:0;margin:auto}.i-amphtml-layout-size-defined .i-amphtml-fill-content{position:absolute;top:0;left:0;bottom:0;right:0}.i-amphtml-replaced-content,.i-amphtml-screen-reader{padding:0!important;border:none!important}.i-amphtml-screen-reader{position:fixed!important;top:0px!important;left:0px!important;width:4px!important;height:4px!important;opacity:0!important;overflow:hidden!important;margin:0!important;display:block!important;visibility:visible!important}.i-amphtml-screen-reader~.i-amphtml-screen-reader{left:8px!important}.i-amphtml-screen-reader~.i-amphtml-screen-reader~.i-amphtml-screen-reader{left:12px!important}.i-amphtml-screen-reader~.i-amphtml-screen-reader~.i-amphtml-screen-reader~.i-amphtml-screen-reader{left:16px!important}.i-amphtml-unresolved{position:relative;overflow:hidden!important}.i-amphtml-select-disabled{-webkit-user-select:none!important;-ms-user-select:none!important;user-select:none!important}.i-amphtml-notbuilt,[layout]:not(.i-amphtml-element),[width][height][heights]:not([layout]):not(.i-amphtml-element),[width][height][sizes]:not(img):not([layout]):not(.i-amphtml-element){position:relative;overflow:hidden!important;color:transparent!important}.i-amphtml-notbuilt:not(.i-amphtml-layout-container)>*,[layout]:not([layout=container]):not(.i-amphtml-element)>*,[width][height][heights]:not([layout]):not(.i-amphtml-element)>*,[width][height][sizes]:not([layout]):not(.i-amphtml-element)>*{display:none}amp-img:not(.i-amphtml-element)[i-amphtml-ssr]>img.i-amphtml-fill-content{display:block}.i-amphtml-notbuilt:not(.i-amphtml-layout-container),[layout]:not([layout=container]):not(.i-amphtml-element),[width][height][heights]:not([layout]):not(.i-amphtml-element),[width][height][sizes]:not(img):not([layout]):not(.i-amphtml-element){color:transparent!important;line-height:0!important}.i-amphtml-ghost{visibility:hidden!important}.i-amphtml-element>[placeholder],[layout]:not(.i-amphtml-element)>[placeholder],[width][height][heights]:not([layout]):not(.i-amphtml-element)>[placeholder],[width][height][sizes]:not([layout]):not(.i-amphtml-element)>[placeholder]{display:block;line-height:normal}.i-amphtml-element>[placeholder].amp-hidden,.i-amphtml-element>[placeholder].hidden{visibility:hidden}.i-amphtml-element:not(.amp-notsupported)>[fallback],.i-amphtml-layout-container>[placeholder].amp-hidden,.i-amphtml-layout-container>[placeholder].hidden{display:none}.i-amphtml-layout-size-defined>[fallback],.i-amphtml-layout-size-defined>[placeholder]{position:absolute!important;top:0!important;left:0!important;right:0!important;bottom:0!important;z-index:1}amp-img[i-amphtml-ssr]:not(.i-amphtml-element)>[placeholder]{z-index:auto}.i-amphtml-notbuilt>[placeholder]{display:block!important}.i-amphtml-hidden-by-media-query{display:none!important}.i-amphtml-element-error{background:red!important;color:#fff!important;position:relative!important}.i-amphtml-element-error:before{content:attr(error-message)}i-amp-scroll-container,i-amphtml-scroll-container{position:absolute;top:0;left:0;right:0;bottom:0;display:block}i-amp-scroll-container.amp-active,i-amphtml-scroll-container.amp-active{overflow:auto;-webkit-overflow-scrolling:touch}.i-amphtml-loading-container{display:block!important;pointer-events:none;z-index:1}.i-amphtml-notbuilt>.i-amphtml-loading-container{display:block!important}.i-amphtml-loading-container.amp-hidden{visibility:hidden}.i-amphtml-element>[overflow]{cursor:pointer;position:relative;z-index:2;visibility:hidden;display:initial;line-height:normal}.i-amphtml-layout-size-defined>[overflow]{position:absolute}.i-amphtml-element>[overflow].amp-visible{visibility:visible}template{display:none!important}.amp-border-box,.amp-border-box *,.amp-border-box :after,.amp-border-box :before{box-sizing:border-box}amp-pixel{display:none!important}amp-analytics,amp-auto-ads,amp-story-auto-ads{position:fixed!important;top:0!important;width:1px!important;height:1px!important;overflow:hidden!important;visibility:hidden}amp-story{visibility:hidden!important}html.i-amphtml-fie>amp-analytics{position:initial!important}[visible-when-invalid]:not(.visible),form [submit-error],form [submit-success],form [submitting]{display:none}amp-accordion{display:block!important}@media (min-width:1px){:where(amp-accordion>section)>:first-child{margin:0;background-color:#efefef;padding-right:20px;border:1px solid #dfdfdf}:where(amp-accordion>section)>:last-child{margin:0}}amp-accordion>section{float:none!important}amp-accordion>section>*{float:none!important;display:block!important;overflow:hidden!important;position:relative!important}amp-accordion,amp-accordion>section{margin:0}amp-accordion:not(.i-amphtml-built)>section>:last-child{display:none!important}amp-accordion:not(.i-amphtml-built)>section[expanded]>:last-child{display:block!important}\n/*# sourceURL=/css/ampshared.css*/"))}(i,0,null)})).then(h).then((()=>{a.frameElement&&s&&s(i.win,i)})).then(h).then((()=>{a.frameElement&&t.installStandardServicesInEmbed(i)})).then(h).then((()=>{a.frameElement&&n.preinstallEmbed(i,r)})).then(h).then((()=>{a.frameElement&&e.tD()})).then(h).then((()=>{if(!a.frameElement)return;const t=n.installExtensionsInDoc(i,r);i.setExtensionsKnown(),o&&o(t)}))}static installStandardServicesInEmbed(t){(function(t,e,n){pt(t,t,"timer",class{constructor(t){this.win=t,this.br=this.win.Promise.resolve(),this.Vr=0,this.Sr={},this.Or=Date.now()}timeSinceStart(){return Date.now()-this.Or}delay(t,e){if(!e){const e="p"+this.Vr++;return this.br.then((()=>{this.Sr[e]?delete this.Sr[e]:t()})).catch(Fi),e}return this.win.setTimeout((()=>{try{t()}catch(t){throw Fi(t),t}}),e)}cancel(t){"string"!=typeof t?this.win.clearTimeout(t):this.Sr[t]=!0}promise(t){return new this.win.Promise((e=>{if(-1==this.delay(e,t))throw new Error("Failed to schedule timer.")}))}timeoutPromise(t,e,n){let i;const r=new this.win.Promise(((e,r)=>{if(i=this.delay((()=>{r(M().createError(n||"timeout"))}),t),-1==i)throw new Error("Failed to schedule timer.")}));if(!e)return r;const s=()=>{this.cancel(i)};return e.then(s,s),this.win.Promise.race([r,e])}poll(t,e){return new this.win.Promise((n=>{const i=this.win.setInterval((()=>{e()&&(this.win.clearInterval(i),n())}),t)}))}},!0)})(t.win),zr(t)}},Xr=(()=>self.AMP.config.urls)(),Jr=new RegExp("https://cdn\\.materialdesignicons\\.com/([0-9]+\\.?)+/css/materialdesignicons\\.min\\.css|https://cloud\\.typography\\.com/[0-9]*/[0-9]*/css/fonts\\.css|https://fast\\.fonts\\.net/.*|https://fonts\\.googleapis\\.com/css2?\\?.*|https://fonts\\.googleapis\\.com/icon\\?.*|https://fonts\\.googleapis\\.com/earlyaccess/.*\\.css|https://maxcdn\\.bootstrapcdn\\.com/font-awesome/([0-9]+\\.?)+/css/font-awesome\\.min\\.css(\\?.*)?|https://(use|pro)\\.fontawesome\\.com/releases/v([0-9]+\\.?)+/css/[0-9a-zA-Z-]+\\.css|https://(use|pro)\\.fontawesome\\.com/[0-9a-zA-Z-]+\\.css|https://use\\.typekit\\.net/[\\w\\p{L}\\p{N}_]+\\.css"),Qr=l({"amp-accordion":!0,"amp-ad-exit":!0,"amp-analytics":!0,"amp-anim":!0,"amp-animation":!0,"amp-audio":!0,"amp-bind":!0,"amp-carousel":!0,"amp-fit-text":!0,"amp-font":!0,"amp-form":!0,"amp-gwd-animation":!0,"amp-img":!0,"amp-layout":!0,"amp-lightbox":!0,"amp-mraid":!0,"amp-mustache":!0,"amp-pixel":!0,"amp-position-observer":!0,"amp-selector":!0,"amp-social-share":!0,"amp-video":!0}),Zr=new RegExp("^"+Xr.cdn.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")+"/(rtv/\\d+/)?v0/");function ts(t,e){if("application/json"===e.type)return;const{src:n}=e;if(Zr.test(n)){const e=Z(n);e&&Qr[e.extensionId]&&t.push(e)}K(e)}function es(t,e,n){const{as:i,href:r,rel:s}=n;"preload"!==s||"image"!==i?"stylesheet"===s&&Jr.test(r)?t.push(r):K(n):e.push(r)}var ns=["https://cdn.materialdesignicons.com","https://cloud.typography.com","https://fast.fonts.net","https://fonts.googleapis.com","https://maxcdn.bootstrapcdn.com","https://p.typekit.net","https://pro.fontawesome.com","https://use.fontawesome.com","https://use.typekit.net"].join(" "),is="AMP-Fast-Fetch-Signature";function rs(t,e){D().error("AMP-A4A",`Signing service error for ${t}: ${e}`)}var ss={"AMP-FX-FLYING-CARPET":!0,"AMP-LIGHTBOX":!0,"AMP-STICKY-AD":!0,"AMP-LIGHTBOX-GALLERY":!0};function os(t,e){const{position:n}=Sn(e,t);return"fixed"==n||"sticky"==n}var as=null,cs=null;function hs(t){const e=t.getAttribute("data-loading-strategy");if(null==e)return null;if("prefer-viewability-over-views"==e||""==e)return 1.25;const n="Value of data-loading-strategy should be a float number in range of [0, 3], but got "+e,i=M().assertNumber(parseFloat(e),n);return x(i>=0&&i<=3,n),i}var ls=["<script amp-ad-metadata type=application/json>",'<script type="application/json" amp-ad-metadata>',"<script type=application/json amp-ad-metadata>"],ds="1-0-37",us="amp-ff-exps",ps="amp-a4a",ms="NO-CONTENT-RESPONSE",fs="NETWORK-FAILURE",gs="INVALID-SPSA-RESPONSE",Ts="IFRAME-GET",As="safeframe",_s="nameframe",vs={"frameborder":"0","allowfullscreen":"","allowtransparency":"","scrolling":"no","marginwidth":"0","marginheight":"0"},Is="ad-render-start",bs="ad-render-end",ys="ad-iframe-loaded",Es={"adRequestStart":"ad-request-start","adRequestEnd":"ad-response-end","renderFriendlyStart":Is,"renderCrossDomainStart":Is,"renderSafeFrameStart":Is,"renderFriendlyEnd":bs,"renderCrossDomainEnd":bs,"friendlyIframeIniLoad":ys,"crossDomainIframeLoaded":ys};function Rs(t,e,n){return(...i)=>{try{return t.apply(e,i)}catch(t){if(n)try{return i.unshift(t),n.apply(e,i)}catch(t){}return}}}var ws=class extends t.BaseElement{constructor(e){super(e),k(t.AmpAdUIHandler),k(t.AmpAdXOriginIframeHandler),this.eD=null,this.iD=null,this.nD=0,this.sD=null,this.rD=null,this.uiHandler=null,this.oD=null,this.aD=!1,this.hD=null,this.lD=null,this.uD=null,this.cD=this.getNonAmpCreativeRenderingMethod(),this.dD=this.win.performance&&this.win.performance.now?this.win.performance.now.bind(this.win.performance):Date.now,this.sentinel=function(t){let e=0;for(let n=t;n&&n!=n.parent;n=n.parent)e++;return String(e)+"-"+yi(t)}(window),this.pD=!1,this.iframe=null,this.safeframeVersion=ds,this.isRefreshing=!1,this.isRelayoutNeededFlag=!1,this.postAdResponseExperimentFeatures={},this.mD=null,this.fD=null,this.isSinglePageStoryAd=!1,this.TD=null,this.Bj=null}getLayoutPriority(){return this.element.getAmpDoc().isSingleDoc()?2:1}isLayoutSupported(t){return function(t){return"fixed"==t||"fixed-height"==t||"responsive"==t||"fill"==t||"flex-item"==t||t==gi||"intrinsic"==t}(t)}isRelayoutNeeded(){return this.isRelayoutNeededFlag}buildCallback(){if(this.lD={width:this.element.getAttribute("width"),height:this.element.getAttribute("height")},Math.round(this.getResource().getUpgradeDelayMs()),this.uiHandler=new t.AmpAdUIHandler(this),this.uiHandler.validateStickyAd(),this.uiHandler.getScrollPromiseForStickyAd().then((()=>this.uiHandler.maybeInitStickyAd())),this.uiHandler.isStickyAd()&&(e=this.element,n=()=>this.layoutCallback(),or?ar.then(n):function(t){return it(t,"chunk",dr),st(t,"chunk")}(e).run(n,10)),!this.isInNoSigningExp()){const t=Ss(this.win);this.eD=this.getAmpDoc().whenFirstVisible().then((()=>{this.getSigningServiceNames().forEach((e=>{t.loadKeyset(e)}))}))}var e,n;this.mD=this.getA4aAnalyticsConfig(),this.mD&&(this.fD=Si(this.element,this.mD,!0)),this.isSinglePageStoryAd=this.element.hasAttribute("amp-story")}renderOutsideViewport(){if(!this.aD&&this.win["3pla"]&&!this.inNonAmpPreferenceExp())return!1;const t=hs(this.element);return null!==t?t:super.renderOutsideViewport()}isValidElement(){return!0}getCreativeSize(){return this.lD}delayAdRequestEnabled(){return!1}getPreconnectUrls(){return[]}getPrefetchUrls(){return[]}isAmpAdElement(){return"AMP-AD"==this.element.tagName||"AMP-EMBED"==this.element.tagName}preconnectCallback(t){const e=this.getPreconnectUrls();e&&e.forEach((t=>{Dt(this.win).url(this.getAmpDoc(),t,!0)}))}pauseCallback(){this.rD&&this.rD.pause()}resumeCallback(){if(this.rD)return void this.rD.resume();const t=this.getResource();t.hasBeenMeasured()&&!t.isMeasureRequested()&&this.onLayoutMeasure()}getResource(){return this.element.getResources().getResourceForElement(this.element)}hasAdPromise(){return!!this.iD}inNonAmpPreferenceExp(){return!!this.postAdResponseExperimentFeatures.pref_neutral_enabled&&["adsense","doubleclick"].includes(this.element.getAttribute("type"))}AD(){const t=this.getIntersectionElementLayoutBox();return!(this.getLayout()!=gi&&(0==t.height||0==t.width)||this.element.hasAttribute("hidden")||this.element.classList.contains("i-amphtml-hidden-by-media-query")||!this.uiHandler.isStickyAd()&&!function(t,e){let n=!1,i=0,r=t;do{ss[r.tagName]?(i++,n=!1):os(r,e)&&(n=!0),r=r.parentElement}while(r&&"BODY"!=r.tagName);return!n&&i<=1}(this.element,this.win)||!this.isValidElement())}onLayoutMeasure(){this.initiateAdRequest()}whenWithinViewport(t){return k(!1!==t),this.getResource().whenWithinViewport(t)}initiateAdRequest(){if(this.oD&&this.oD.onLayoutMeasure(),this.iD||!this.AD())return;++this.nD;const t=this.verifyStillCurrent();this.iD=this.getAmpDoc().whenFirstVisible().then((()=>{t();const e=this.delayAdRequestEnabled();if(e)return this.whenWithinViewport("number"==typeof e?e:this.renderOutsideViewport())})).then((()=>{t();const e=super.getConsentPolicy();if(e){const t=function(t,e="default"){return Lt(t).then((t=>t?t.whenPolicyResolved(e):null))}(this.element,e).catch((t=>(M().error(ps,"Error determining consent state",t),gn.UNKNOWN))),r=function(t,e="default"){return Lt(t).then((t=>t?t.getConsentStringInfo(e):null))}(this.element,e).catch((t=>(M().error(ps,"Error determining consent string",t),null))),s=function(t,e="default"){return Lt(t).then((t=>t?t.getConsentMetadataInfo(e):null))}(this.element,e).catch((t=>(M().error(ps,"Error determining consent metadata",t),null))),o=(n=this.element,i=e,Lt(n).then((t=>t?t.getMergedSharedData(i):null))).catch((t=>(M().error(ps,"Error determining consent shared data",t),null)));return Promise.all([t,r,s,o])}var n,i;return Promise.resolve([null,null,null,null])})).then((e=>{t();const n=e[0],i=e[1],r=e[2],s=e[3],o=r?r.gdprApplies:r,a=r?r.additionalConsent:r,c=r?r.consentStringType:r,h=r?r.purposeOne:r,l=r?r.gppSectionId:r;return this.getServeNpaSignal().then((t=>this.getAdUrl({consentState:n,consentString:i,consentStringType:c,gdprApplies:o,additionalConsent:a,consentSharedData:s,purposeOne:h,gppSectionId:l},this._D(n,i,r),t)))})).then((e=>(t(),this.sD=e,!this.isXhrAllowed()&&this.sD?(this.cD="iframe_get",Promise.reject(Ts)):e&&this.sendXhrRequest(e)))).then((e=>{if(Rs(this.onAdResponse,this,(t=>{D().error(ps,this.element.getAttribute("type"),"Error executing onAdResponse",t)}))(e),t(),this.gD("adRequestEnd"),!e||!e.arrayBuffer||e.headers.has("amp-ff-empty-creative"))return this.forceCollapse(),Promise.reject(ms);e.headers&&e.headers.has(us)&&this.ED(e.headers.get(us));const n=this.getNonAmpCreativeRenderingMethod(e.headers.get("X-AmpAdRender"));this.cD=n,this.cD==_s&&Dt(this.win).preload(this.getAmpDoc(),bi(this.win,"nameframe"));const i=e.headers.get("X-AmpSafeFrameVersion");return/^[0-9-]+$/.test(i)&&i!=ds&&(this.safeframeVersion=i,Dt(this.win).preload(this.getAmpDoc(),this.getSafeframePath())),e})).then((e=>this.isInNoSigningExp()?this.RD(e,t):this.vD(e,t))).catch((t=>{switch(t.message||t){case Ts:case fs:return null;case gs:case ms:return{minifiedCreative:"",customElementExtensions:[],customStylesheets:[]}}return this.bD(t),null}))}isInNoSigningExp(){return!0}skipClientSideValidation(t){return!1}RD(t,e){if(204===t.status)return this.forceCollapse(),Promise.reject(ms);const n=this.extractSize(t.headers);if(this.lD=n||this.lD,!Ps(this.win)||this.skipClientSideValidation(t.headers))return this.yD(t,e);const i=t.clone(),r=new class{constructor(t,e){const n=new et;this.ND=n.promise,this.PD=n.resolve;const i=new et;this.CD=i.promise,this.wD=i.resolve,this.SD=null;const r=new et;this.OD=r.promise,this.MD=r.resolve,this.DD=null,this.UD=!1,this.xD=e||Ji}onChunk(t){!this.SD&&t.body&&(this.SD=t.body,this.PD(U(t.head))),this.UD&&this.VD()}onEnd(t){this.wD(this.VD())}waitForHead(){return this.ND}transferBody(t){return U(t),V(!this.UD),this.UD=!0,this.MD(t),this.ND.then((()=>{const e=this.SD.attributes;for(let n=0;n<e.length;n++){const{name:i,value:r}=e[n];t.setAttribute(i,r)}})),this.VD(),this.CD}VD(){return this.DD||(this.DD=Promise.all([this.OD,this.ND]).then((t=>(0,this.xD)((()=>{this.DD=null;const e=t[0];for((n=U(this.SD),i="noscript",void 0,V(/^[\w-]+$/.test(i)),"> noscript",n.querySelectorAll(function(t,e){return t.replace(/^|,/g,`$&${e} `)}("> noscript",":scope"))).forEach(K);this.SD.firstChild;)e.appendChild(this.SD.firstChild);var n,i}))))),this.DD}}(this.win),s=new class{constructor(t,e,n){this.LD=e,this.ad=n,this.kD=t.document.implementation.createHTMLDocument(""),this.kD.open(),this.pd=!1}write(t){V(!this.pd),t&&this.kD.write(t),this.LD(this.kD)}close(){this.pd=!0,this.kD.close(),this.ad(this.kD)}}(this.win,(t=>r.onChunk(t)),(t=>r.onEnd(t)));return this.TD=r.transferBody.bind(r),function(t,e,n){const i=new et;if(t.TextDecoder&&t.ReadableStream){let t=!0;V(e.body);const r=e.body.getReader(),s=new TextDecoder;r.read().then((function e({done:o,value:a}){t&&(i.resolve(!o),t=!1),a=a||new Uint8Array(0);const c=s.decode(a,{stream:!o});c&&n.write(c),o?n.close():r.read().then(e)}))}else e.text().then((t=>{i.resolve(!!t),n.write(t),n.close()}));return i.promise}(this.win,t,s).then((t=>{if(e(),!t)return this.forceCollapse(),Promise.reject(ms)})).then((()=>(e(),r.waitForHead()))).then((t=>(e(),this.GD(t)))).then((t=>(e(),t?(this.updateLayoutPriority(0),this.aD=!0,t):this.yD(i,e))))}yD(t,e){return this.inNonAmpPreferenceExp()&&this.updateLayoutPriority(0),t.arrayBuffer().then((t=>(e(),this.hD=t,null)))}GD(t){return function(t,e,n){if(!n||!n.firstChild)return null;const i=function(t){if(Node.prototype.getRootNode)return t.getRootNode();let e;for(e=t;e.parentNode&&(!(n=e)||"I-AMPHTML-SHADOW-ROOT"!=n.tagName&&(11!=n.nodeType||"[object ShadowRoot]"!==Object.prototype.toString.call(n)));e=e.parentNode);var n;return e}(n).documentElement;if(!i||!i.hasAttribute("amp4ads")&&!i.hasAttribute("⚡️4ads")&&!i.hasAttribute("⚡4ads"))return null;const r=Gt(e),s=[],o=[],a=[];let c=n.firstElementChild;for(;c;){const t=c.nextElementSibling;switch(c.tagName.toUpperCase()){case"SCRIPT":ts(s,c);break;case"STYLE":(h=c).hasAttribute("amp-custom")||h.hasAttribute("amp-keyframes")||h.hasAttribute("amp4ads-boilerplate")||K(h);break;case"LINK":es(o,a,c);break;case"META":case"TITLE":break;default:K(c)}c=t}var h;return qr(t,s),o.forEach((n=>Dt(t).preload(e.getAmpDoc(),n))),a.forEach((n=>r.isSecure(n)&&Dt(t).preload(e.getAmpDoc(),n))),{extensions:s,head:n}}(this.win,this.element,t)}vD(t,e){return t.arrayBuffer().then((e=>0==e.byteLength?(this.forceCollapse(),Promise.reject(ms)):{bytes:e,headers:t.headers})).then((t=>{if(e(),!t)return null;const{bytes:n,headers:i}=t,r=this.extractSize(t.headers);return this.lD=r||this.lD,"client_cache"!=this.cD&&n&&(this.hD=n),this.maybeValidateAmpCreative(n,i)})).then((t=>(e(),this.aD=!!t,t&&Cn(t)))).then((t=>{let n;if(e(),!Ps(this.win)||!t||!(n=this.getAmpAdMetadata(t)))return this.inNonAmpPreferenceExp()&&this.updateLayoutPriority(0),null;this.updateLayoutPriority(0);const i=Zi(n);qr(this.win,i),(n.customStylesheets||[]).forEach((t=>Dt(this.win).preload(this.getAmpDoc(),t.href)));const r=Gt(this.element);return(n.images||[]).forEach((t=>r.isSecure(t)&&Dt(this.win).preload(this.getAmpDoc(),t))),n}))}maybeValidateAmpCreative(t,e){const n=this.verifyStillCurrent();return this.eD.then((()=>"fake"!=this.element.getAttribute("type")||this.element.getAttribute("checksig")?Ss(this.win).verify(t,e):Promise.resolve(0))).then((e=>{n();let i=null;switch(e){case 0:i=t;break;case 4:i=this.shouldPreferentialRenderWithoutCrypto()?t:null;break;case 2:case 3:M().error(ps,this.element.getAttribute("type"),"Signature verification failed")}if(this.isSinglePageStoryAd&&!i)throw new Error(gs);return i}))}ED(t){t.split(",").forEach((t=>{if(!t)return;const e=t.split("=");2==e.length&&e[0]&&(this.postAdResponseExperimentFeatures[e[0]]=e[1])}))}refresh(t){if(k(!this.isRefreshing),this.isRefreshing=!0,this.tearDownSlot(),this.initiateAdRequest(),!this.iD)return tt();const e=this.nD;return k(this.iD).then((()=>{if(this.isRefreshing&&e==this.nD)return this.mutateElement((()=>(wi(this.element,"ad-refresh"),this.togglePlaceholder(!0),Vt(this.win).promise(1e3).then((()=>{this.isRelayoutNeededFlag=!0,this.getResource().layoutCanceled(),this.getAmpDoc().whenNextVisible().then((()=>{var t;(t=this.getAmpDoc(),st(t,"owners")).requireLayout(this.element)}))})))));t()}))}bD(t,e){if(Ki(t))throw t;t=t&&t.message?b(t):new Error("unknown error "+t),e&&(t.ignoreStack=e);const n=this.element.getAttribute("type")||"notype";0!=t.message.indexOf(`amp-a4a: ${n}:`)&&(t.message=`amp-a4a: ${n}: ${t.message}`),function(t,e){if(!e||t.args&&t.args.au)return;const n=e.indexOf("?");-1!=n&&((t.args||(t.args={})).au=e.substring(n+1,n+251))}(t,this.sD),parseInt(g(void 0).log,10)?M().error(ps,t):Math.random()<.01&&D().expectedError(ps,t)}layoutCallback(){return this.isRefreshing&&this.destroyFrame(!0),this.attemptToRenderCreative().then((()=>{this.Bj=function(t,e,n){const i=G(t);let r=Ci.get(i);r||Ci.set(i,r=Ni(Mi,i));let s=Oi.get(t);return s||(s=[],Oi.set(t,s)),s.push(e),r.observe(t),()=>{!function(t,e){const n=Oi.get(t);if(!n)return;if(!A(n,e))return;if(n.length)return;const i=G(t),r=Ci.get(i);null==r||r.unobserve(t),Oi.delete(t)}(t,e)}}(this.element,(({isIntersecting:t})=>this.viewportCallback(t)))}))}attemptToRenderCreative(){if(!this.iD)return this.AD()&&D().error(ps,"Null promise in layoutCallback"),tt();const t=this.verifyStillCurrent();return this.iD.then((e=>{if(t(),this.pD)return tt();if(this.iframe&&!this.isRefreshing)return tt();if(!e)return this.renderNonAmpCreative();let n;return n=this.isInNoSigningExp()?this.FD(e,t):this.$D(e),n.catch((e=>(t(),this.renderNonAmpCreative())))})).catch((t=>{throw this.bD(t),Bi()}))}isXhrAllowed(){return!0}attemptChangeSize(t,e){return this.uD=this.uD||this.getLayoutSize(),super.attemptChangeSize(t,e)}unlayoutCallback(){var t;return null===(t=this.Bj)||void 0===t||t.call(this),this.Bj=null,this.tearDownSlot(),!0}tearDownSlot(){this.nD++,this.uiHandler.applyUnlayoutUI(),this.uD&&super.attemptChangeSize(this.uD.height,this.uD.width).then((()=>{this.uD=null})).catch((t=>{})),this.pD=!1,this.destroyFrame(),this.iD=null,this.sD=null,this.hD=null,this.aD=!1,this.TD=null,this.cD=this.getNonAmpCreativeRenderingMethod(),this.postAdResponseExperimentFeatures={}}detachedCallback(){super.detachedCallback(),this.destroyFrame(!0)}HD(){this.iframe&&this.iframe.parentElement&&(this.iframe.parentElement.removeChild(this.iframe),this.iframe=null)}destroyFrame(t=!1){!t&&this.isRefreshing||(this.rD&&(this.rD.destroy(),this.rD=null),this.HD(),this.oD&&(this.oD.freeXOriginIframe(),this.oD=null),this.uiHandler&&this.uiHandler.cleanup())}viewportCallback(t){this.oD&&this.oD.viewportCallback(t)}getAdUrl(t,e,n){throw new Error("getAdUrl not implemented!")}getServeNpaSignal(){return Promise.resolve(!1)}zD(){return this.element.getAttribute("block-rtc")?$t(this.element).then((t=>{x(t,"%s: requires <amp-geo> to use `block-rtc`",ps);const e=this.element.getAttribute("block-rtc").split(",");for(let n=0;n<e.length;n++)if(2===t.isInCountryGroup(e[n]))return!0;return!1})):Promise.resolve(!1)}resetAdUrl(){this.sD=null}verifyStillCurrent(){const t=this.nD;return()=>{if(t!=this.nD)throw Bi()}}extractSize(t){const e=t.get("X-CreativeSize");if(!e)return null;const n=/^([0-9]+)x([0-9]+)$/.exec(e);return n?{width:Number(n[1]),height:Number(n[2])}:(M().error(ps,`Invalid size header: ${e}`),null)}forceCollapse(){this.isRefreshing?this.isRefreshing=!1:(k(this.uiHandler),this.uD=this.uD||this.getLayoutSize(),this.uiHandler.applyNoContentUI(),this.pD=!0)}onCreativeRender(t,e){this.gD(t?"renderFriendlyEnd":"renderCrossDomainEnd")}onAdResponse(t){}onCrossDomainIframeCreated(t){}sandboxHTMLCreativeFrame(){return!0}sendXhrRequest(t){return this.gD("adRequestStart"),Bt(this.win).fetch(t,{mode:"cors",method:"GET",credentials:"include"}).catch((t=>{if(t.response&&t.response.status>200)return null;const e=this.onNetworkFailure(t,this.sD);return k(!!e),e.frameGetDisabled?(this.resetAdUrl(),null):(this.sD=e.adUrl||this.sD,Promise.reject(fs))}))}onNetworkFailure(t,e){return{}}getSigningServiceNames(){return["google"]}renderNonAmpCreative(t){if("true"==this.element.getAttribute("disable3pfallback"))return Promise.resolve(!1);const e=this.cD;let n=Promise.resolve(!1);return e!=As&&e!=_s||!this.hD?this.sD&&(te(this.sD,this.element),n=this.jD(this.sD)):(n=this.BD(this.hD),this.hD=null),t||this.inNonAmpPreferenceExp()||function(t,e){if(void 0===t["3pla"]&&(t["3pla"]=0),t["3pla"]++,!as){const t=new et;as=t.promise,cs=t.resolve}Vt(t).timeoutPromise(1e3,e).catch((()=>{})).then((()=>{--t["3pla"]||(cs(),as=null,cs=null)}))}(this.win,n),n.then((t=>(this.gD("crossDomainIframeLoaded"),t)))}FD(t,e){e(),k(this.element.ownerDocument),this.gD("renderFriendlyStart");const{height:n,width:i}=this.lD,{extensions:r,fonts:s,head:o}=t;this.HD(),this.iframe=function(t,e,n,i){const{document:r}=t,s=q(r,"iframe",{"height":n,"width":i,"title":e,"frameborder":"0","allowfullscreen":"","allowtransparency":"","scrolling":"no","sandbox":"allow-forms allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-scripts allow-top-navigation","role":"region","aria-label":"Advertisement","tabindex":"0"});return zn(r)&&s.setAttribute("allow","attribution-reporting 'src'"),s}(this.win,this.getIframeTitle(),n,i),this.uiHandler.isStickyAd()||Ai(this.iframe);let a="";const c=new et;Br()?ke(this.iframe,"load",(()=>{const t=this.iframe.contentDocument.body;this.TD(k(t)).then(c.resolve)})):(a=o.ownerDocument.body.outerHTML,c.resolve());const h=((t,e,n)=>`<!DOCTYPE html>\n  <html ⚡4ads lang="en">\n  <head>\n    <base href="${Y(t)}">\n    <meta charset="UTF-8">\n    <meta http-equiv=Content-Security-Policy content="\n      img-src * data:;\n      media-src *;\n      font-src *;\n      connect-src *;\n      script-src ${Kr()};\n      object-src 'none';\n      child-src 'none';\n      default-src 'none';\n      style-src ${ns} 'unsafe-inline';\n    ">\n    ${e}\n  </head>\n  <body>${n}</body>\n  </html>`)(k(this.sD),o.outerHTML,a),l=this.KD(h,r,s,!0);Promise.all([l,c.promise]).then((t=>{const e=t[0];e&&e.renderCompleted()}));const d=r.map((t=>t.extensionId));return l.then((t=>{e(),this.WD(t,{minifiedCreative:"",customStylesheets:[],customElementExtensions:d},e)}))}$D(t){k(t.minifiedCreative),k(!!this.element.ownerDocument),this.gD("renderFriendlyStart"),this.HD(),this.iframe=q(this.element.ownerDocument,"iframe",{"height":this.lD.height,"width":this.lD.width,"frameborder":"0","allowfullscreen":"","allowtransparency":"","scrolling":"no","title":this.getIframeTitle(),"role":"region","aria-label":"Advertisement","tabindex":"0"}),this.uiHandler.isStickyAd()||Ai(this.iframe);const e=[];t.customStylesheets&&t.customStylesheets.forEach((t=>{const n=t.href;n&&e.push(n)}));const n=this.verifyStillCurrent(),{minifiedCreative:i}=t,r=Zi(t);return this.KD(i,r,e||[],!1).then((e=>this.WD(e,t,n)))}KD(t,e,n,i){return function(t,e,n,i){const r=ht(G(t)),s=Ct(r),o=Rt(r);yn(t,"visibility","hidden"),t.setAttribute("referrerpolicy","unsafe-url"),t.setAttribute("marginheight","0"),t.setAttribute("marginwidth","0");const a=n.extensions||[];qr(r,a);const c=n.skipHtmlMerge?n.html:function(t){const e=t.html,n=e.toUpperCase();let i=n.indexOf("<HEAD");-1!=i&&(i=n.indexOf(">",i+1)+1),-1==i&&(i=n.indexOf("<BODY")),-1==i&&(i=n.indexOf("<HTML"),-1!=i&&(i=n.indexOf(">",i+1)+1));const r=[];i>0&&r.push(e.substring(0,i)),r.push(`<base href="${Y(t.url)}">`),t.fonts&&t.fonts.forEach((t=>{r.push(`<link href="${Y(t)}" rel="stylesheet" type="text/css">`)}));const s=Kr();return r.push(`<meta http-equiv=Content-Security-Policy content="script-src ${s};object-src 'none';child-src 'none'">`),i>0?r.push(e.substring(i)):r.push(e),r.join("")}(n);t.onload=()=>{t.readyState="complete"};const h=()=>{t.contentWindow.addEventListener("securitypolicyviolation",(t=>{}))};let d,u;if(Br())t.srcdoc=c,d=xe(t),e.appendChild(t),h();else{t.src="about:blank",e.appendChild(t);const n=t.contentWindow.document;h(),n.open(),n.write(k(c)),d=xe(t.contentWindow),n.close()}return u=Wr(t)?tt():new Promise((e=>{const n=r.setInterval((()=>{Wr(t)&&(e(),r.clearInterval(n))}),5);d.catch((t=>{R(t)})).then((()=>{e(),r.clearInterval(n)}))})),u.then((()=>{const e=t.contentWindow,r=n.host&&n.host.signals(),c=o.installFieDoc(n.url,e,{signals:r}),h=new class{constructor(t,e,n,i){this.iframe=t,this.win=t.contentWindow,this.ampdoc=i,this.spec=e,this.host=e.host||null,this.Or=Date.now(),this.ni=this.ampdoc?this.ampdoc.signals():this.host?this.host.signals():new class{constructor(){this.ti=l(),this.ii=null}get(t){const e=this.ti[t];return null==e?null:e}whenSignal(t){var e;let n=null===(e=this.ii)||void 0===e?void 0:e[t];if(!n){const e=this.ti[t];n=null!=e?{promise:"number"==typeof e?Promise.resolve(e):Promise.reject(e)}:new et,this.ii||(this.ii=l()),this.ii[t]=n}return n.promise}signal(t,e){var n;if(null!=this.ti[t])return;const i=null!=e?e:Date.now();this.ti[t]=i;const r=null===(n=this.ii)||void 0===n?void 0:n[t];null!=r&&r.resolve&&(r.resolve(i),r.resolve=void 0,r.reject=void 0)}rejectSignal(t,e){var n;if(null!=this.ti[t])return;this.ti[t]=e;const i=null===(n=this.ii)||void 0===n?void 0:n[t];null!=i&&i.reject&&(i.reject(e),i.promise.catch((()=>{})),i.resolve=void 0,i.reject=void 0)}reset(t){var e;this.ti[t]&&delete this.ti[t];const n=null===(e=this.ii)||void 0===e?void 0:e[t];n&&!n.resolve&&delete this.ii[t]}},this.qD=new et,this.YD=Promise.all([n,this.whenRenderStarted()]),this.ampdoc&&this.whenRenderComplete().then((()=>this.ampdoc.setReady())),this.win.addEventListener("resize",(()=>this.XD()))}destroy(){(function(t){const e=ft(t);for(const t in e){if(!Object.prototype.hasOwnProperty.call(e,t))continue;const n=e[t];n.sharedInstance||(n.obj?Tt(t,n.obj):n.promise&&n.promise.then((e=>Tt(t,e))))}})(this.win),this.ampdoc&&this.ampdoc.dispose()}getStartTime(){return this.Or}getUrl(){return this.spec.url}signals(){return this.ni}whenRenderStarted(){return this.ni.whenSignal(Ei)}whenWindowLoaded(){return this.YD}whenIniLoaded(){return this.ni.whenSignal(Ri)}whenRenderComplete(){return this.qD.promise}renderCompleted(){this.qD.resolve()}pause(){this.ampdoc&&this.ampdoc.overrideVisibilityState(er)}resume(){this.ampdoc&&this.ampdoc.overrideVisibilityState(tr)}tD(){let t;var e;this.host?this.host.renderStarted():this.ni.signal(Ei),this.spec.skipHtmlMerge||this.qD.resolve(),yn(this.iframe,"visibility",""),this.win.document&&this.win.document.body&&(this.win.document.documentElement.classList.add("i-amphtml-fie"),En(this.win.document.body,{opacity:1,visibility:"visible",animation:"none"})),t=this.host?this.host.getLayoutBox():_e(0,0,this.win.innerWidth,this.win.innerHeight),Promise.all([this.whenRenderComplete(),(e=this.ampdoc,this.win,function(t,e){const n=Et(t);return n.signals().whenSignal(ze).then((()=>{const t=kt(n).get().filter((t=>!He.includes(t.element.tagName))).map((t=>t.element));return 0===t.length?Promise.resolve([]):new Promise((e=>{const{win:i}=n,r=new i.IntersectionObserver((t=>{r.disconnect();const n=[];for(let e=0;e<t.length;e++){const{isIntersecting:i,target:r}=t[e];i&&n.push(r)}e(n)}),{root:Q(i)?i.document:null,threshold:.01});for(let e=0;e<Math.min(t.length,100);e++)r.observe(t[e])})).then((t=>Promise.all(t.map((t=>t.whenLoaded())))))}))}(e))]).then((()=>{this.ni.signal(Ri)}))}getBodyElement(){return(this.iframe.contentDocument||this.iframe.contentWindow.document).body}XD(){this.JD().mutateElement(this.win.document.documentElement,(()=>{}))}JD(){return Mt(this.iframe)}QD(t){return this.JD().measureMutateElement(this.iframe,t.measure||null,t.mutate)}enterFullOverlayMode(){let t;return x("amp-ad"==this.iframe.parentNode.tagName.toLowerCase(),"Only <amp-ad> is allowed to enter lightbox mode."),this.QD({measure:()=>{const e=this.host?this.host.getLayoutBox():this.iframe.getBoundingClientRect(),n=-Ft(this.iframe).getScrollTop(),{height:i,left:r,top:s,width:o}=ve(e,0,n);t={top:wn(s),left:wn(r),width:wn(o),height:wn(i)}},mutate:()=>{bn(this.iframe,{"position":"fixed","left":0,"right":0,"bottom":0,"width":"100vw","top":0,"height":"100vh"}),bn(this.getBodyElement(),{"background":"transparent","position":"absolute","bottom":"auto","right":"auto","top":t.top,"left":t.left,"width":t.width,"height":t.height})}})}leaveFullOverlayMode(){return this.QD({mutate:()=>{Pn(this.iframe,["position","left","right","top","bottom","width","height"]),Pn(this.getBodyElement(),["position","top","left","width","height","bottom","right"])}})}}(t,n,d,c);return t.__AMP_EMBED__=h,e.frameElement?Yr.installExtensionsInEmbed(h,s,c,a,i).then((()=>e.frameElement?h:null)):null}))}(k(this.iframe),this.element,{host:this.element,url:k(this.sD),html:t,extensions:e,fonts:n,skipHtmlMerge:i},((t,e)=>this.ZD(t,e)))}ZD(t,e){const n=this.getAmpDoc();!function(t,e){!function(t,e,n){pt(dt(t),t,"url-replace",(function(){return n}),!0)}(t,0,new class{constructor(t,e){this.ampdoc=t,this.Cr=e}expandStringSync(t,e,n){return new Xi(this.Cr,e,void 0,!0,n,!0).expand(t)}expandStringAsync(t,e,n){return new Xi(this.Cr,e,void 0,void 0,n,!0).expand(t)}expandUrlSync(t,e,n){return this.mc(t,new Xi(this.Cr,e,void 0,!0,n).expand(t))}expandUrlAsync(t,e,n,i){return new Xi(this.Cr,e,void 0,void 0,n,i).expand(t).then((e=>this.mc(t,e)))}expandInputValueAsync(t){return this._c(t,!1)}expandInputValueSync(t){return this._c(t,!0)}_c(t,e){k("INPUT"==t.tagName&&"hidden"==(t.getAttribute("type")||"").toLowerCase());const n=this.Ac(t);if(!n)return e?t.value:Promise.resolve(t.value);void 0===t["amp-original-value"]&&(t["amp-original-value"]=t.value);const i=new Xi(this.Cr,void 0,void 0,e,n).expand(t["amp-original-value"]||t.value);return e?t.value=i:i.then((e=>(t.value=e,e)))}Ac(t,e){const n=t.getAttribute("data-amp-replace");if(!n)return;const i={};return n.trim().split(/\s+/).forEach((t=>{e&&!d(e,t)||(i[t]=!0)})),i}Yt(t){const e=Nt(this.ampdoc);if(t.origin==Xt(e.canonicalUrl).origin||t.origin==Xt(e.sourceUrl).origin)return!0;const n=this.ampdoc.getMetaByName("amp-link-variable-allowed-origin");if(n){const e=n.trim().split(/\s+/);for(let n=0;n<e.length;n++)if(t.origin==Xt(e[n]).origin)return!0}return!1}maybeExpandLink(t,e){k("A"==t.tagName);const n=t;let i=n.getAttribute("data-amp-addparams")||"";const r=this.Ac(n,{"CLIENT_ID":!0,"QUERY_PARAM":!0,"PAGE_VIEW_ID":!0,"PAGE_VIEW_ID_64":!0,"NAV_TIMING":!0});if(!r&&!i&&!e)return;let s=n["amp-original-href"]||n.getAttribute("href");const o=Xt(s);null==n["amp-original-href"]&&(n["amp-original-href"]=s);const a=this.Yt(o);if(i&&(i=a?this.gc(i,r):i,s=Qt(s,f(i))),!a)return n.href=s;if(e){if(!r||!r.QUERY_PARAM){const t={"QUERY_PARAM":!0};e=this.expandUrlSync(e,void 0,t)}s=Qt(s,f(e))}return s=this.gc(s,r),n.href=s}gc(t,e){return e?this.expandUrlSync(t,void 0,e):t}collectVars(t,e){const n=Object.create(null);return new Xi(this.Cr,e,n).expand(t).then((()=>n))}collectDisallowedVarsSync(t){const e=t.getAttribute("src"),n=new Xi(this.Cr).getMacroNames(e),i=this.Ac(t);return i?n.filter((t=>!i[t])):n}mc(t,e){return Xt(e).protocol!=Xt(t).protocol?(M().error("UrlReplacements","Illegal replacement of the protocol: ",t),t):(x(ie(e),"The replacement url has invalid protocol: %s",e),e)}getVariableSource(){return this.Cr}}(t,e))}(e,new class extends class{constructor(t){this.ampdoc=t,this.Pc=Object.create(null),this.vc=!1,this.Ec()}Ze(){this.initialize(),this.vc=!0}initialize(){}get(t){return this.vc||this.Ze(),this.Pc[t]}set(t,e){return k(-1==t.indexOf("RETURN")),this.Pc[t]=this.Pc[t]||{sync:void 0,async:void 0},this.Pc[t].sync=e,this}setAsync(t,e){return k(-1==t.indexOf("RETURN")),this.Pc[t]=this.Pc[t]||{sync:void 0,async:void 0},this.Pc[t].async=e,this}setBoth(t,e,n){return this.set(t,e).setAsync(t,n)}getExpr(t,e){this.vc||this.Ze();const n=i(i({},this.Pc),t);return this.Tc(Object.keys(n),e)}Tc(t,e){if(this.Ec()&&(t=t.filter((t=>this.Ec().includes(t)))),e&&(t=t.filter((t=>e[t]))),0===t.length)return/_^/g;t.sort(((t,e)=>e.length-t.length));const n=t.map((t=>"$"===t[0]?"\\"+t:t)).join("|");return new RegExp("\\$?("+n+")","g")}Ec(){return this.Rc?this.Rc:this.ampdoc.isSingleDoc()&&Oe(this.ampdoc.getRootNode())?(this.Rc=[""],this.Rc):void 0}}{constructor(t,e){super(t);const n=t.getHeadNode(),i=Ut(n);this.HU=i.getVariableSource(),this.i=e}initialize(){for(let t=0;t<Qi.length;t++){const e=Qi[t],n=this.HU.get(e);this.set(e,n.sync).setAsync(e,n.async)}this.set("NAV_TIMING",((t,e)=>(x(t,"The first argument to NAV_TIMING, the start attribute name, is required"),Le(this.i,t,e)))).setAsync("NAV_TIMING",((t,e)=>(x(t,"The first argument to NAV_TIMING, the start attribute name, is required"),function(t,e,n){const i=Ue[e]||3,r=n?Ue[n]||3:i,s=Math.max(i,r);let o;if(1===s)o=tt();else if(2===s)a=t.document,o=new Promise((t=>{!function(t,e,n){let i=e(t);if(i)n(t);else{const r=()=>{e(t)&&(i||(i=!0,n(t)),t.removeEventListener("readystatechange",r))};t.addEventListener("readystatechange",r)}}(a,Me,t)}));else if(3===s)o=xe(t);else if(4===s){const e=Vt(t);o=xe(t).then((()=>e.promise(1)))}var a;return k(o),o.then((()=>Le(t,e,n)))}(this.i,t,e)))),this.set("NAV_TYPE",(()=>$e(this.i,"type"))),this.set("NAV_REDIRECT_COUNT",(()=>$e(this.i,"redirectCount"))),this.set("HTML_ATTR",this.KU.bind(this)),this.set("CLIENT_ID",(()=>null))}KU(t,e){const n="A4AVariableSource",i=Array.prototype.slice.call(arguments,1);if(!t||!i.length)return"[]";if(i.length>10)return M().error(n,"At most 10 may be requested."),"[]";let r;t=decodeURI(t);try{r=this.i.document.querySelectorAll(t)}catch(e){return M().error(n,`Invalid selector: ${t}`),"[]"}if(r.length>20)return M().error(n,"CSS selector may match at most 20 elements."),"[]";const s=[];for(let t=0;t<r.length&&s.length<10;++t){const e={};let n=!1;for(let s=0;s<i.length;++s){const o=i[s];r[t].hasAttribute(o)&&(e[o]=r[t].getAttribute(o),n=!0)}n&&s.push(e)}return JSON.stringify(s)}}(n,t))}WD(t,e,n){n(),this.rD=t,yn(this.WU(t),"visibility","visible"),Rs(this.onCreativeRender,this,(t=>{D().error(ps,this.element.getAttribute("type"),"Error executing onCreativeRender",t)}))(e,t.whenWindowLoaded()),t.whenIniLoaded().then((()=>{n(),this.gD("friendlyIframeIniLoad")}))}WU(t){return k((t.iframe.contentDocument||t.win.document).body)}YU(e){const n=Object.assign(e,{"height":this.lD.height,"width":this.lD.width,"title":this.getIframeTitle(),"role":"region","aria-label":"Advertisement","tabindex":"0"});this.sentinel&&(n["data-amp-3p-sentinel"]=this.sentinel);let i="sync-xhr 'none';";zn(this.win.document)&&(i+="attribution-reporting 'src';"),n.allow=i,this.HD(),this.iframe=q(this.element.ownerDocument,"iframe",Object.assign(n,vs)),this.sandboxHTMLCreativeFrame()&&function(t){if(!t.sandbox||!t.sandbox.supports)return;const e=["allow-top-navigation-by-user-activation","allow-popups-to-escape-sandbox"];for(let n=0;n<e.length;n++){const i=e[n];if(!t.sandbox.supports(i))return}t.sandbox=e.join(" ")+" "+["allow-forms","allow-modals","allow-pointer-lock","allow-popups","allow-same-origin","allow-scripts"].join(" ")}(this.iframe),this.oD=new t.AmpAdXOriginIframeHandler(this);const r=this.oD.init(this.iframe,!0,this.letCreativeTriggerRenderStart());return Rs(this.onCreativeRender,this,(t=>{D().error(ps,this.element.getAttribute("type"),"Error executing onCreativeRender",t)}))(null),r}jD(t){this.gD("renderCrossDomainStart");const e=vi(this.win,this.element,this.sentinel),n=this.element.getIntersectionChangeEntry();return e._context.initialIntersection=ji(n),this.YU({"src":Bt(this.win).getCorsUrl(this.win,t),"name":JSON.stringify(e)})}letCreativeTriggerRenderStart(){return!1}BD(t){const e=this.cD;k(e==As||e==_s),this.gD("renderSafeFrameStart");const n=this.verifyStillCurrent();return nt((()=>Cn(t))).then((t=>{let i;n();let r="";switch(e){case As:i=this.getSafeframePath()+"?n=0";break;case _s:i=bi(this.win,"nameframe");break;default:return M().error("A4A","A4A received unrecognized cross-domain name attribute iframe rendering mode request: %s.  Unable to render a creative for slot %s.",e,this.element.getAttribute("id")),Promise.reject("Unrecognized rendering mode request")}let s=vi(this.win,this.element,this.sentinel,this.getAdditionalContextMetadata(e==As));const o=this.element.getIntersectionChangeEntry();return s.initialIntersection=ji(o),e==_s?(s.creative=t,r=JSON.stringify(s)):e==As&&(s=JSON.stringify(s),r=`${this.safeframeVersion};${t.length};${t}${s}`),this.YU({"src":i,"name":r})}))}getAmpAdMetadata(t){let e,n=-1;for(let i=0;i<ls.length&&(e=ls[i],n=t.lastIndexOf(e),!(n>=0));i++);if(n<0)return null;const i=t.lastIndexOf("<\/script>");if(i<0)return null;try{const r=L(t.slice(n+e.length,i)),s=r.ampRuntimeUtf16CharOffsets;if(!T(s)||2!=s.length||"number"!=typeof s[0]||"number"!=typeof s[1])throw new Error("Invalid runtime offsets");const o={};if(r.customElementExtensions){if(o.customElementExtensions=r.customElementExtensions,!T(o.customElementExtensions))throw new Error("Invalid extensions",o.customElementExtensions)}else o.customElementExtensions=[];if(r.extensions&&(o.extensions=r.extensions),r.customStylesheets){o.customStylesheets=r.customStylesheets;const t="Invalid custom stylesheets";if(!T(o.customStylesheets))throw new Error(t);const e=Gt(this.element);o.customStylesheets.forEach((n=>{if(!h(n)||!n.href||"string"!=typeof n.href||!e.isSecure(n.href))throw new Error(t)}))}if(T(r.images)&&(o.images=r.images.splice(0,5)),this.isSinglePageStoryAd){if(!r.ctaType)throw new Error(gs);this.element.setAttribute("data-vars-ctatype",r.ctaType),this.element.setAttribute("data-vars-ctaurl",r.ctaUrl)}return o.minifiedCreative=t.slice(0,s[0])+t.slice(s[1],n)+t.slice(i+"<\/script>".length),o}catch(t){if(this.isSinglePageStoryAd)throw t;return null}}getSafeframePath(){return`https://tpc.googlesyndication.com/safeframe/${this.safeframeVersion}/html/container.html`}gD(t){if(!this.mD)return;const e=k(Es[t]),n=i({"time":Math.round(this.dD())},this.getA4aAnalyticsVars(e));wi(this.element,e,n)}getA4aAnalyticsVars(t){return{}}getA4aAnalyticsConfig(){return null}_D(t,e,n){const r=t!=gn.UNKNOWN&&t!=gn.INSUFFICIENT&&((null==n?void 0:n.gdprApplies)&&e&&(null==n?void 0:n.purposeOne)||!(null!=n&&n.gdprApplies));if(this.element.getAttribute("rtc-config"))return it(this.getAmpDoc(),"real-time-config",(function(t){return new class{constructor(t){this.Uj=t}maybeExecuteRealTimeConfig(t,e,n,r,s,o){return new class{constructor(t){this.Uj=t,this.i=t.win,this.XU={},this.QU=null,this.ZU=[],this.N$=null,this.wy=null,this.Ty=null,this.zy=null}C$(t,e,n,i){return n&&this.sendErrorMessage(t,n),Promise.resolve({error:t,callout:e,rtcTime:i||0})}sendErrorMessage(t,e){if(Math.random()>=.01)return;const n={ERROR_TYPE:t,HREF:this.i.location.href},i=Ut(this.Uj).expandUrlSync(e,n,{ERROR_TYPE:!0,HREF:!0});(new this.i.Image).src=i}D$(t){const e=Gt(this.Uj).parse(t);return(e.hostname+e.pathname).substr(0,50)}isValidCalloutForConsentState(t,e){const{sendRegardlessOfConsentState:n}=t;if(!h(t)||!n)return!!e;if("boolean"==typeof n)return n;if(T(n)){for(let t=0;t<n.length;t++){if(this.wy==gn[n[t]])return!0;gn[n[t]]}return!1}return!!e}modifyRtcConfigForConsentStateSettings(){if(null==this.wy||this.wy==gn.SUFFICIENT||this.wy==gn.UNKNOWN_NOT_REQUIRED)return;const t=this.isValidCalloutForConsentState(this.N$);this.N$.urls=(this.N$.urls||[]).filter((e=>this.isValidCalloutForConsentState(e,t))),Object.keys(this.N$.vendors||{}).forEach((e=>{this.isValidCalloutForConsentState(this.N$.vendors[e],t)||delete this.N$.vendors[e]}))}assignMacros(t){return t.TIMEOUT=()=>this.N$.timeoutMillis,t.CONSENT_STATE=()=>this.wy,t.CONSENT_STRING=()=>this.Ty,t.CONSENT_METADATA=t=>(x(t,"CONSENT_METADATA macro must contain a key"),this.zy?this.zy[t]:null),t}handleRtcForCustomUrls(t,e,n){(this.N$.urls||[]).forEach((i=>{let r,s;h(i)?(r=i.url,s=i.errorReportingUrl):"string"==typeof i&&(r=i),this.U$(r,t,s,e,void 0,n)}))}handleRtcForVendorUrls(t,e){Object.keys(this.N$.vendors||[]).forEach((n=>{const i=ki[n.toLowerCase()],r=i?i.url:"",s=i&&i.errorReportingUrl?i.errorReportingUrl:"";if(!r)return this.ZU.push(this.C$("9",n,s));const o=h(this.N$.vendors[n].macros)?this.N$.vendors[n].macros:this.N$.vendors[n],a={};Object.keys(o).forEach((t=>{if(i.macros&&i.macros.includes(t)){const e=o[t];a[t]=h(e)||T(e)?JSON.stringify(e):e}else M().error("real-time-config",`Unknown macro: ${t} for vendor: ${n}`)}));const c=Object.assign(a,t);this.U$(r,c,s,e,n.toLowerCase())}))}U$(t,e,n,r,s,o){let{timeoutMillis:a}=this.N$;const c=s||this.D$(t),h=t=>5==Object.keys(this.XU).length?this.C$("7",c,n):Gt(this.Uj).isSecure(t)||ne(t)?this.XU[t]?this.C$("5",c,n):(this.XU[t]=!0,t.length>16384&&(t=this.L$(t)),this.k$(t,a,c,r,n,o)):this.C$("6",c,n),l=i({},Wi);Object.keys(e).forEach((t=>l[t]=!0));const d=Date.now();this.ZU.push(Vt(this.i).timeoutPromise(a,Ut(this.Uj).expandUrlAsync(t,e,l)).then((t=>(r(),a-=d-Date.now(),h(t)))).catch((t=>Ki(t)?void 0:this.C$("11",c,n))))}L$(t){return(t=t.substr(0,16372).replace(/%\w?$/,""))+"&__trunc__=1"}k$(t,e,n,i,r,s){let o;return o=ne(t)?(a=s,It(a,"amp-script","amp-script")).then((e=>(x(e,"AMP-SCRIPT is not installed."),e.fetch(t)))).then((t=>{i();const e=Date.now()-this.QU;return"object"!=typeof t?this.C$("4",n,r,e):{response:t,rtcTime:e,callout:n}})):Bt(this.i).fetchJson(t,{credentials:"include"}).then((t=>(i(),t.text().then((t=>{i();const e=Date.now()-this.QU;if(!t)return{rtcTime:e,callout:n};const s=$(t);return s?{response:s,rtcTime:e,callout:n}:this.C$("4",n,r,e)}))))),Vt(this.i).timeoutPromise(e,o).catch((t=>Ki(t)?void 0:this.C$(/^timeout/.test(t.message)?"10":"8",n,r,Date.now()-this.QU)));var a}execute(t,e,n,i,r,s){if(this.G$(t))return this.wy=n,this.Ty=i,this.zy=r,this.modifyRtcConfigForConsentStateSettings(),e=this.assignMacros(e),this.QU=Date.now(),this.handleRtcForCustomUrls(e,s,t),this.handleRtcForVendorUrls(e,s),Promise.all(this.ZU)}G$(t){const e=t.getAttribute("rtc-config");if(!e)return!1;const n=$(e);if(!n)return!1;let i;try{if(x(n.vendors||n.urls,"RTC Config must specify vendors or urls"),Object.keys(n).forEach((t=>{switch(t){case"vendors":x(h(n[t]),"RTC invalid vendors");break;case"urls":x(T(n[t]),"RTC invalid urls");break;case"timeoutMillis":i=parseInt(n[t],10),(isNaN(i)||i>1e3||i<0)&&(i=void 0)}})),!Object.keys(n.vendors||{}).length&&!(n.urls||[]).length)return!1;const t=t=>{const e=t.errorReportingUrl;e&&!Gt(this.Uj).isSecure(e)&&(t.errorReportingUrl=void 0)};(n.urls||[]).forEach((e=>{h(e)&&t(e)})),t(n)}catch(t){return!1}return n.timeoutMillis=void 0!==i?i:1e3,this.N$=n,!0}}(this.Uj).execute(t,e,n,r,s,o)}}(t)})),this.zD().then((i=>{return i?void 0:(s=this.getAmpDoc(),at(s,"real-time-config")).then((i=>i.maybeExecuteRealTimeConfig(this.element,this.H$(r),t,e,n,this.verifyStillCurrent())));var s}))}H$(t){return{}}shouldPreferentialRenderWithoutCrypto(){return!1}getNonAmpCreativeRenderingMethod(t){if(t){if("client_cache"===(e=t)||"safeframe"===e||"nameframe"===e||"iframe_get"===e)return t;D().error("AMP-A4A",`cross-origin render mode header ${t}`)}var e;return jt(this.win).isIos()?_s:null}getAdditionalContextMetadata(t){}isVerifiedAmpCreative(){return this.aD}getIframeTitle(){return this.element.getAttribute("title")||"3rd party ad content"}B$(){const t=[],e=this.getAmpDoc().getMetaByName("amp-usqp");if(e){const n=e.split(",");for(let e=0;e<n.length;e++){const i=n[e].split("=");if(2!==i.length)continue;const r=Number(i[1]);if(!isNaN(i[0])&&r>=0&&r<100){const e=o(i[1],2,"0");t.push(i[0]+e)}}}return t}};function Ss(t){const e="AMP_FAST_FETCH_SIGNATURE_VERIFIER_";return t[e]||(t[e]=new class{constructor(t,e){this.i=t,this.K$=e,this.W$=Pt(t).isPkcsAvailable()?{}:null,this.dD=t.performance&&t.performance.now?t.performance.now.bind(t.performance):Date.now}loadKeyset(t){if(this.W$&&!this.W$[t]){const e={},n=this.q$(e,t,null);this.W$[t]={promise:n,keys:e}}}verify(t,e){if(!e.has(is))return Promise.resolve(1);const n=e.get(is),i=/^([A-Za-z0-9._-]+):([A-Za-z0-9._-]+):([A-Za-z0-9+/]{341}[AQgw]==)$/.exec(n);return i?this.verifyCreativeAndSignature(i[1],i[2],(r=i[3],function(t){const e=new Uint8Array(t.length);for(let n=0;n<t.length;n++){const i=t.charCodeAt(n);V(i<=255),e[n]=i}return e}(atob(r))),t):(M().error("AMP-A4A",`Invalid signature header: ${n.split(":")[0]}`),Promise.resolve(3));var r}verifyCreativeAndSignature(t,e,n,i){if(!this.W$)return Promise.resolve(4);const r=this.W$[t];return k(r),r.promise.then((s=>{if(!s)return 1;const o=r.keys[e];return void 0===o?(r.promise=this.q$(r.keys,t,e).then((t=>(void 0===r.keys[e]&&(r.keys[e]=null),t))),this.verifyCreativeAndSignature(t,e,n,i)):null===o?2:o.then((t=>t?Pt(this.i).verifyPkcs(t,n,i).then((t=>t?0:3),(t=>{const e=t&&t.message;return D().error("AMP-A4A",`Failed to verify signature: ${e}`),1})):1))}))}q$(t,e,n){let i=this.K$[e];return null!=n&&(i+="?kid="+encodeURIComponent(n)),Bt(this.i).fetchJson(i,{mode:"cors",method:"GET",ampCors:!1,credentials:"omit"}).then((n=>(k(200===n.status),k("application/jwk-set+json"==n.headers.get("Content-Type")),n.json().then((n=>{const i=n;return i&&T(i.keys)?(i.keys.forEach((n=>{n&&"string"==typeof n.kid?void 0===t[n.kid]&&(t[n.kid]=Pt(this.i).importPkcsKey(n).catch((t=>{const i=JSON.stringify(n),r=t&&t.message;return rs(e,`Failed to import key (${i}): ${r}`),null}))):rs(e,`Key (${JSON.stringify(n)}) has no "kid"`)})),!0):(rs(e,`Key set (${JSON.stringify(i)}) has no "keys"`),!1)}),(t=>(rs(e,`Failed to parse JSON: ${t&&t.response}`),!1))))),(t=>(t&&t.response&&rs(e,`Status code ${t.response.status}`),!1)))}}(t,Pi))}function Ps(t){return!!(e=t.Element.prototype.attachShadow)&&-1!=e.toString().indexOf("[native code]");var e}var Ns=new class{constructor(){this.hJ=[]}addNewSlot(t,e,n,i){const r={pv:2,prevFmts:"",prevSlotnames:""};return this.hJ.forEach((t=>{k(t.id!=e),r.prevFmts+=(r.prevFmts?",":"")+t.format,t.slotname&&(r.prevSlotnames+=(r.prevSlotnames?",":"")+t.slotname),t.client==n&&(r.pv=1)})),this.hJ.push({id:e,format:t,client:n,slotname:i}),r}removeSlot(t){this.hJ=this.hJ.filter((e=>e.id!=t))}reset(){this.hJ=[]}};t.registerElement("amp-ad-network-adsense-impl",class extends ws{constructor(t){super(t),this.lJ=null,this.Y$=null,this.Fa=Ct(this.win),this.Rh=null,this.X$=null,this.mK=null,this.dJ=fi.createIfResponsive(t),this.bK=null,this.Oz=0,this.SK=!1}isValidElement(){return!(null!=this.dJ&&!this.dJ.isValidElement())&&!!this.element.getAttribute("data-ad-client")&&this.isAmpAdElement()}delayAdRequestEnabled(){return hs(this.element)||3}buildCallback(){return super.buildCallback(),this.element.hasAttribute("data-auto-format")&&!fi.isLayoutViewportNarrow(this.element)?fi.convertToContainerWidth(this.element).then((t=>{null!=t&&(this.dJ=t),this.divertExperiments()})):fi.maybeUpgradeToResponsive(this.element,this.uJ()).then((t=>{if(null!=t&&(this.dJ=t),null!=this.dJ)return this.dJ.attemptToMatchResponsiveHeight();this.divertExperiments()}))}getConsentPolicy(){return null}divertExperiments(){const t=[{experimentId:"attribution-reporting",isTrafficEligible:()=>zn(this.win.document),branches:["42531929","42531928","42531931","42531930"]}],e=Ne(this.win,t);Object.keys(e).forEach((t=>mn(e[t],this.element)));const n=this.B$();for(let t=0;t<n.length;t++)pn(n[t],this.element,We);const i=Ce(this.win,"story-ad-placements");i&&mn(i,this.element);const r=Ce(this.win,"story-ad-auto-advance");r&&mn(r,this.element)}uJ(){const t=(this.element.getAttribute("data-ad-client")||"").toLowerCase();return/^ca-/i.test(t)?t:`ca-${t}`}getAdUrl(t,e,n){var r,s,o,a;let c,h,l,d,u,p,m;if(t&&(c=t.consentState,h=t.consentString,l=t.gdprApplies,d=t.additionalConsent,u=t.consentStringType,p=t.consentSharedData,m=t.gppSectionId),c==gn.UNKNOWN&&"true"!=this.element.getAttribute("data-npa-on-unknown-consent"))return Promise.resolve("");const f=Date.now(),g=this.win,T=this.uJ(),A=this.element.getAttribute("data-adtest")||un(this.element.getAttribute(qe)).some((t=>"117152632"===t)),_=Number(this.element.getAttribute("width")),v=Number(this.element.getAttribute("height"));null!=this.dJ&&this.dJ.isContainerWidthState()?this.Rh={width:_,height:v}:this.Rh=this.getIntersectionElementLayoutBox();const I=this.isSinglePageStoryAd?{width:1,height:1}:this.Rh,b=`${I.width}x${I.height}`,y=this.element.getAttribute("data-amp-slot-index"),E=this.pJ(b);this.lJ=y+E;const R=this.element.getAttribute("data-ad-slot"),w=Ns.addNewSlot(b,this.lJ,T,R),S=this.getViewport().getSize();this.Oz||(this.win.ampAdGoogleIfiCounter=this.win.ampAdGoogleIfiCounter||1,this.Oz=this.win.ampAdGoogleIfiCounter++);const P=an(this.element),N=P.includes(Be["AMP-FX-FLYING-CARPET"])||P.includes(Be["AMP-STICKY-AD"]),C={"client":T,"format":b,"w":I.width,"h":I.height,"ptt":12,"iu":R,"fa":{bottom:1,top:2}[this.element.getAttribute("sticky")],"npa":c==gn.INSUFFICIENT||c==gn.UNKNOWN||n?1:null,"adtest":A?"on":null,"adk":E,"output":"html","bc":g.SVGElement&&g.document.createElementNS?"1":null,"ctypes":this.mJ(),"host":this.element.getAttribute("data-ad-host"),"h_ch":this.element.getAttribute("data-ad-host-channel"),"hl":this.element.getAttribute("data-language"),"to":this.element.getAttribute("data-tag-origin"),"pv":w.pv,"channel":this.element.getAttribute("data-ad-channel"),"wgl":g.WebGLRenderingContext?"1":"0","asnt":this.sentinel,"dff":Sn(this.win,this.element)["font-family"],"prev_fmts":w.prevFmts||null,"prev_slotnames":w.prevSlotnames||null,"brdim":rn(this.win,S),"ifi":this.Oz,"rafmt":null!=this.dJ?this.dJ.getRafmtParam():null,"gdpr":!0===l?"1":!1===l?"0":null,"gdpr_consent":[void 0,Tn.TCF_V1,Tn.TCF_V2].includes(u)?h:null,"addtl_consent":d,"us_privacy":u==Tn.US_PRIVACY_STRING?h:null,"pfx":N?"1":"0","aanf":/^(true|false)$/i.test(this.element.getAttribute("data-no-fill"))?this.element.getAttribute("data-no-fill"):null,"crui":this.element.getAttribute("data-matched-content-ui-type"),"cr_row":this.element.getAttribute("data-matched-content-rows-num"),"cr_col":this.element.getAttribute("data-matched-content-columns-num"),"pwprc":this.element.getAttribute("data-package"),"spsa":this.isSinglePageStoryAd?`${this.Rh.width}x${this.Rh.height}`:null,"tfcd":null!==(r=null===(s=p)||void 0===s?void 0:s["adsense-tfcd"])&&void 0!==r?r:null,"tfua":null!==(o=null===(a=p)||void 0===a?void 0:a["adsense-tfua"])&&void 0!==o?o:null,"gpp":u==Tn.GLOBAL_PRIVACY_PLATFORM?h:null,"gpp_sid":u==Tn.GLOBAL_PRIVACY_PLATFORM?m:null};return function(t,e,n){if(!function(t){if(!t)return!1;const{consentState:e,consentString:n,gdprApplies:i,purposeOne:r}=t;return!([gn.UNKNOWN,gn.INSUFFICIENT].includes(e)||i&&(!n||!r&&!function(t){try{if(!t)return!1;const e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_";let n="";for(let i=0;i<t.length;i++){const r=t[i],s=e.indexOf(r);-1!==s&&(n+=s.toString(2).padStart(6,"0"))}return parseInt(n.slice(0,6),2)>=2&&"1"===n[152]}catch(t){return!1}}(n)))}(t))return;const i=he(e,"__gads");n.cookie=i,n.gpic=he(e,"__gpi"),!i&&pe(e)&&(n.cookie_enabled="1")}(t,this.win,C),function(t,e,n,i,r){const s=function(t,e){const{element:n,win:i}=t,r=Ie(n),s=function(t){let e=t,n=0;for(;e!=e.parent&&n<100;)e=e.parent,n++;return k(e==t.top),n}(i),o=an(n);t.uiHandler.isStickyAd()&&!o.includes(Be["AMP-STICKY-AD"])&&o.push(Be["AMP-STICKY-AD"]);let a=n.getAttribute(qe);e&&(a=on(e,a));const c=n.getAttribute(We);return{"adf":Te.generate(n),"nhd":s,"eid":a,"adx":Math.round(r.left),"ady":Math.round(r.top),"oid":"2","act":o.length?o.join():null,"aexp":c?c.replace(/,/g,"!"):null}}(t,r);return function(t,e){const{win:n}=t,i=t.getAmpDoc(),r=Vt(n).timeoutPromise(1e3,zt(i).getReferrerUrl()).catch((()=>(D().expectedError("AMP-A4A","Referrer timeout!"),""))),s=Vt(n).timeoutPromise(1e3,function(t){return t.navigator&&t.navigator.userAgentData&&"function"==typeof t.navigator.userAgentData.getHighEntropyValues?t.navigator.userAgentData.getHighEntropyValues(["platform","platformVersion","architecture","model","uaFullVersion","bitness"]):tt()}(n)).catch((()=>(D().expectedError("AMP-A4A","UACH timeout!"),{}))),o=t.getAmpDoc().getParam("visibilityState")?t.getAmpDoc().getLastVisibleTime():Je(n,"domLoading");return Promise.all([Ge(i,"AMP_ECID_GOOGLE","_ga"),r,s]).then((r=>{const s=r[0],a=r[1],c=r[2],{canonicalUrl:h,pageViewId:l}=Nt(i);n.gaGlobal=n.gaGlobal||{cid:s,hid:l};const{screen:d}=n,u=Ft(i),p=u.getRect(),m=u.getSize(),f=i.getVisibilityState();return{"is_amp":t.isXhrAllowed()?"3":"5","amp_v":"2601162341000","d_imp":"1","c":nn(n,i,s),"ga_cid":n.gaGlobal.cid||null,"ga_hid":n.gaGlobal.hid||null,"dt":e,"biw":p.width,"bih":p.height,"u_aw":d?d.availWidth:null,"u_ah":d?d.availHeight:null,"u_cd":d?d.colorDepth:null,"u_w":d?d.width:null,"u_h":d?d.height:null,"u_tz":-(new Date).getTimezoneOffset(),"u_his":Qe(n),"isw":n!=n.top?m.width:null,"ish":n!=n.top?m.height:null,"art":dn(n),"vis":Ke[f]||"0","scr_x":Math.round(u.getScrollLeft()),"scr_y":Math.round(u.getScrollTop()),"bc":ln(n)||null,"debug_experiment_id":(/(?:#|,)deid=([\d,]+)/i.exec(n.location.hash)||[])[1]||null,"url":h||null,"top":n!=n.top?tn(n):null,"loc":n.location.href==h?null:n.location.href,"ref":a||null,"bdt":o?e-o:null,"uap":null==c?void 0:c.platform,"uapv":null==c?void 0:c.platformVersion,"uaa":null==c?void 0:c.architecture,"uam":null==c?void 0:c.model,"uafv":null==c?void 0:c.uaFullVersion,"uab":null==c?void 0:c.bitness,"uafvl":JSON.stringify(null==c?void 0:c.fullVersionList),"uaw":null==c?void 0:c.wow64}}))}(t,n).then((t=>(Object.assign(i,s,t),function(t,e,n){return function(t,e,n,i){const r=[],s=i&&null!=i.value&&""!==i.value?encodeURIComponent(i.name)+"="+encodeURIComponent(String(i.value)):null;let o=15350-t.length;s&&(o-=s.length+1);const a=Object.keys(e);for(let t=0;t<a.length;t++){const n=a[t],i=e[n];if(null==i||""===i)continue;const c=encodeURIComponent(n)+"=",h=encodeURIComponent(String(i)),l=c.length+h.length+1;if(l>o){const t=h.substr(0,o-c.length-1).replace(/%\w?$/,"");t&&r.push(c+t),s&&r.push(s);break}r.push(c+h),o-=l}return r.length?t+"?"+r.join("&"):t}(t,e,0,Ye)+"&dtd="+function(t,e){const n=t-e;return n>=1e6?"M":n>=0?n:"-M"}(Date.now(),n)}(e,i,n))))}(this,"https://googleads.g.doubleclick.net/pagead/ads",f,i({},C),[])}getServeNpaSignal(){return function(t){if(!t.hasAttribute("always-serve-npa"))return Promise.resolve(!1);const e=t.getAttribute("always-serve-npa");return""==e?Promise.resolve(!0):$t(t).then((t=>{if(!t)return!0;const n=e.split(",");for(let e=0;e<n.length;e++)if(2===t.isInCountryGroup(n[e]))return!0;return!1}))}(this.element)}onNetworkFailure(t,e){return{adUrl:cn(e,"n")}}maybeValidateAmpCreative(t,e){if("djb2a-32"!==e.get("AMP-Verification-Checksum-Algorithm"))return super.maybeValidateAmpCreative(t,e);const n=e.get("AMP-Verification-Checksum");return Promise.resolve(n&&s(Cn(t))==n?t:null)}extractSize(t){return this.Y$=function(t,e){if(!e.has(Fe))return null;try{const t=L(e.get(Fe)),n=t.url,i=t.btrUrl;(n&&!Array.isArray(n)||i&&!Array.isArray(i))&&D().error("AMP-A4A","Invalid analytics",e.get(Fe));const r=Array.isArray(n)&&n.length,s=Array.isArray(i)&&i.length;if(!r&&!s)return null;const o={"transport":{"beacon":!1,"xhrpost":!1},"requests":{},"triggers":{}};return r&&function(t,e){t.triggers.continuousVisible={"request":[],"on":"visible","visibilitySpec":{"selector":"amp-ad","selectionMethod":"closest","visiblePercentageMin":50,"continuousTimeMin":1e3}};for(let n=0;n<e.length;n++)t.requests[`visibility${n+1}`]=`${e[n]}`,t.triggers.continuousVisible.request.push(`visibility${n+1}`)}(o,n),s&&function(t,e){t.triggers.beginToRender={"request":[],"on":"ini-load","selector":"amp-ad","selectionMethod":"closest"};for(let n=0;n<e.length;n++)t.requests[`btr${n+1}`]=`${e[n]}`,t.triggers.beginToRender.request.push(`btr${n+1}`)}(o,i),o}catch(t){D().error("AMP-A4A","Invalid analytics",t,e.get(Fe))}return null}(0,t),this.mK=t.get("X-QQID"),this.SK="true"==t.get("amp-ff-sandbox"),this.Y$&&this.Fa.installExtensionForDoc(this.getAmpDoc(),"amp-analytics"),this.Rh}skipClientSideValidation(t){return t&&!t.has(is)}pJ(t){const{element:e}=this;return s(`${e.getAttribute("data-ad-slot")||""}:${t}:${ge(e)}`)}mJ(){return null}isXhrAllowed(){return hn(this.win)}sandboxHTMLCreativeFrame(){return this.SK}onCreativeRender(t){super.onCreativeRender(t),null!=this.iframe&&fi.maybeAttachSettingsListener(this.element,this.iframe,this.uJ()),this.bK=!!t,t&&!t.customElementExtensions.includes("amp-ad-exit")&&(k(this.iframe),Ln.installAnchorClickInterceptor(this.getAmpDoc(),k(this.iframe.contentWindow))),this.Y$&&(k(!this.X$),function(t){const e=t.element.getAttribute("type"),{win:n}=t;return("doubleclick"==e||"adsense"==e)&&Re(n,"a4aProfilingRate")}(this)&&function(t,e,n,i,r){const s=nn(t,e),o=Number(e.getAttribute("data-amp-slot-index")),a=encodeURIComponent(e.getAttribute(qe));let c=e.getAttribute(We);c&&(c=c.replace(/,/g,"!"));const h=e.getAttribute("type"),l=Number(Le(t,"navigationStart")||Date.now()),d=Math.round(t.performance&&t.performance.now?t.performance.now():Date.now()-l),u=`https://csi.gstatic.com/csi?s=a4a&c=${s}&slotId=${o}&qqid.${o}=${i}&dt=${l}`+("null"!=a?`&e.${o}=${a}`:"")+(c?`&aexp=${c}`:"")+`&rls=2601162341000&adt.${o}=${h}`,p=r?"Friendly":"CrossDomain";n.triggers.continuousVisibleIniLoad={"on":"ini-load","selector":"amp-ad","selectionMethod":"closest","request":"iniLoadCsi"},n.triggers.continuousVisibleRenderStart={"on":"render-start","selector":"amp-ad","selectionMethod":"closest","request":"renderStartCsi"},n.requests.iniLoadCsi=u+`&met.a4a.${o}=iniLoadCsi${p}.${d}`,n.requests.renderStartCsi=u+`&met.a4a.${o}=renderStartCsi${p}.${d}`,n.requests.visibilityCsi=u+`&met.a4a.${o}=visibilityCsi.${d}`,n.triggers.continuousVisible.request.push("visibilityCsi")}(this.win,this.element,this.Y$,this.mK,!!t),this.X$=Si(this.element,this.Y$,!0,!!this.postAdResponseExperimentFeatures.avr_disable_immediate)),En(this.iframe,{width:`${this.Rh.width}px`,height:`${this.Rh.height}px`}),this.mK&&this.element.setAttribute("data-google-query-id",this.mK),this.iframe.id=`google_ads_iframe_${this.Oz}`,this.win.addEventListener("message",(t=>{this.qK(t)&&function(t,e){try{const n=JSON.parse(e.data);if("gpi-uoo"===n.googMsgType){const e=!!n.userOptOut,i=!!n.clearAdsData,r=fe(t,t.location.hostname);le(t,"__gpi_opt_out",e?"1":"0",2147483646e3,{domain:r}),(e||i)&&(le(t,"__gads","delete",Date.now()-1e3,{domain:r}),le(t,"__gpi","delete",Date.now()-1e3,{domain:r}))}}catch(t){}}(this.win,t)}))}qK(t){return this.iframe&&t.source==this.iframe.contentWindow}unlayoutCallback(){if(this.bK)return!1;const t=super.unlayoutCallback();return this.element.setAttribute("data-amp-slot-index",this.win.ampAdSlotIdCounter++),this.lJ&&Ns.removeSlot(this.lJ),this.X$&&(K(this.X$),this.X$=null),this.Y$=null,this.mK=null,this.bK=null,this.SK=!1,t}onLayoutMeasure(){super.onLayoutMeasure(),this.dJ&&this.dJ.alignToViewport()}getPreconnectUrls(){return Dt(this.win).preload(this.getAmpDoc(),bi(this.win,"nameframe")),["https://googleads.g.doubleclick.net"]}getA4aAnalyticsVars(t){return function(t,e,n){const{win:i}=e,r=e.getAmpDoc(),s=Je(i,"navigationStart"),o={"correlator":nn(i,r),"slotId":e.element.getAttribute("data-amp-slot-index"),"viewerLastVisibleTime":r.getLastVisibleTime()-s};return n&&(o.qqid=n),"ad-render-start"==t&&(o.scheduleTime=e.element.layoutScheduleTime-s),o}(t,this,this.mK)}getA4aAnalyticsConfig(){return{"requests":{"csi":"https://csi.gstatic.com/csi?"},"transport":{"xhrpost":!1},"triggers":{"adRequestStart":sn("ad-request-start",{"met.a4a":"afs_lvt.${viewerLastVisibleTime}~afs.${time}"}),"adResponseEnd":sn("ad-response-end",{"met.a4a":"afe.${time}"}),"adRenderStart":sn("ad-render-start",{"met.a4a":"ast.${scheduleTime}~ars_lvt.${viewerLastVisibleTime}~ars.${time}","qqid":"${qqid}"}),"adIframeLoaded":sn("ad-iframe-loaded",{"met.a4a":"ail.${time}"})},"extraUrlParams":{"s":"ampad","ctx":"2","c":"${correlator}","slotId":"${slotId}","puid":"${requestCount}~${timestamp}"}}}letCreativeTriggerRenderStart(){if(this.element&&this.element.parentElement&&"AMP-STICKY-AD"==this.element.parentElement.tagName){const t=e=>{"fill_sticky"==De(e)&&e.source==this.iframe.contentWindow&&(this.renderStarted(),En(this.iframe,{"visibility":""}),this.win.removeEventListener("message",t))};return this.win.addEventListener("message",t),!0}return!1}onAdResponse(t){!function(t,e){if(!e.headers.has(me)||!pe(t))return;let n=[];try{n=JSON.parse(e.headers.get(me)).cookie}catch(t){}if(Array.isArray(n))for(const e of n){var i;const n=2===(null!==(i=e.version)&&void 0!==i?i:1)?"__gpi":"__gads",r=e.value,s=fe(t,e.domain);le(t,n,r,1e3*Math.max(e.expires,0),{domain:s,secure:!1})}}(this.win,t)}})})();
/*! https://mths.be/cssescape v1.5.1 by @mathias | MIT license */}});
//# sourceMappingURL=amp-ad-network-adsense-impl-0.1.mjs.map