;
(self.AMP=self.AMP||[]).push({m:1,v:"2601162341000",n:"amp-ad",ev:"0.1",l:!0,f:function(t,e){(()=>{var e;function n(){return e||(e=Promise.resolve(void 0))}var r,s=class{constructor(){this.promise=new Promise(((t,e)=>{this.resolve=t,this.reject=e}))}},{hasOwnProperty:i,toString:a}=Object.prototype;function o(t){const e=Object.create(null);return t&&Object.assign(e,t),e}function c(t,e){return i.call(t,e)}var{isArray:p}=Array;function d(t){return JSON.parse(t)}function m(t,e){try{return d(t)}catch(t){return null==e||e(t),null}}var h=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":{}}');function l(t){return 1==(null==t?void 0:t.nodeType)}function u(t,e,n,r,s,i,a,o,c,p,d){return t}function f(t){return(t.ownerDocument||t).defaultView}function g(t){var e;null===(e=t.parentElement)||void 0===e||e.removeChild(t)}var b=/(?:^[#?]?|&)([^=&]+)(?:=([^&]*))?/g;function v(t,e=""){try{return decodeURIComponent(t)}catch(t){return e}}function j(t){const e=o();if(!t)return e;let n;for(;n=b.exec(t);){const t=v(n[1],n[1]),r=n[2]?v(n[2].replace(/\+/g," "),n[2]):"";e[t]=r}return e}function y(t){const{location:e}=t||self;return j(e.originalHash||e.hash)}var I="";function w(t){const e=t||self;return e.__AMP_MODE?e.__AMP_MODE:e.__AMP_MODE=function(t){return{localDev:!1,development:k(t,y(t)),esm:!0,test:!1,rtvVersion:S(t),ssrReady:!1}}(e)}function S(t){var e;return I||(I=(null===(e=t.AMP_CONFIG)||void 0===e?void 0:e.v)||"012601162341000"),I}function k(t,e){const n=e||y(t);return["1","actions","amp","amp4ads","amp4email"].includes(n.development)||!!t.AMP_DEV_MODE}function _(t){const e=Object.getOwnPropertyDescriptor(t,"message");if(null!=e&&e.writable)return t;const{message:n,stack:r}=t,s=new Error(n);for(const e in t)s[e]=t[e];return s.stack=r,s}function x(t){let e=null,n="";for(const t of arguments)t instanceof Error&&!e?e=_(t):(n&&(n+=" "),n+=t);return e?n&&(e.message=n+": "+e.message):e=new Error(n),e}function A(t){var e,n;null===(e=(n=self).__AMP_REPORT_ERROR)||void 0===e||e.call(n,t)}self.__AMP_LOG=self.__AMP_LOG||{user:null,dev:null,userForEmbed:null};var P=self.__AMP_LOG;function M(t,e){throw new Error("failed to call initLogConstructor")}function E(t){return P.user||(P.user=T()),function(t,e){return e&&e.ownerDocument.defaultView!=t}(P.user.win,t)?P.userForEmbed||(P.userForEmbed=T()):P.user}function T(t){return M()}function O(){return P.dev||(P.dev=M())}function R(t,e,n,r,s,i,a,o,c,p,d){return t}function V(t,e,n,r,s,i,a,o,c,p,d){return E().assert(t,e,n,r,s,i,a,o,c,p,d)}function z(t,e){return L(t=function(t){return t.__AMP_TOP||(t.__AMP_TOP=t)}(t),e)}function C(t,e){return L(D($(t)),e)}function N(t,e){return function(t,e){const n=F(t,e);if(n)return n;const r=W(t);return r[e]=function(){const t=new s,{promise:e,reject:n,resolve:r}=t;return e.catch((()=>{})),{obj:null,promise:e,resolve:r,reject:n,context:null,ctor:null}}(),r[e].promise}(D(t),e)}function H(t,e){return F(D(t),e)}function $(t){return t.nodeType?(e=f(t),z(e,"ampdoc")).getAmpDoc(t):t;var e}function D(t){const e=$(t);return e.isSingleDoc()?e.win:e}function L(t,e){R(function(t,e){const n=t.__AMP_SERVICES&&t.__AMP_SERVICES[e];return!(!n||!n.ctor)}(t,e));const n=W(t)[e];return n.obj||(R(n.ctor),R(n.context),n.obj=new n.ctor(n.context),R(n.obj),n.context=null,n.resolve&&n.resolve(n.obj)),n.obj}function F(t,e){const n=W(t)[e];return n?n.promise?n.promise:(L(t,e),n.promise=Promise.resolve(n.obj)):null}function W(t){let e=t.__AMP_SERVICES;return e||(e=t.__AMP_SERVICES={}),e}function q(t,e,n,r){const s=H(t,e);if(s)return s;const i=$(t);return i.whenExtensionsKnown().then((()=>{const t=i.getExtensionVersion(n);return t?z(i.win,"extensions").waitForExtension(n,t):null})).then((n=>n?r?H(t,e):N(t,e):null))}var G=t=>z(t,"ampdoc"),U=t=>C(t,"documentInfo").get(),B=t=>L(t,"timer"),Y=t=>q(t,"consentPolicyManager","amp-consent"),J=t=>C(t,"viewport"),X="image_stacked",K="image_sidebyside",Z="mobile_banner_image_sidebyside",Q="pub_control_image_stacked",tt="pub_control_image_sidebyside",et="pub_control_image_card_stacked",nt="pub_control_image_card_sidebyside",rt="pub_control_text",st="pub_control_text_card",it="data-matched-content-ui-type",at="data-matched-content-columns-num",ot="data-matched-content-rows-num",ct={[X]:1/1.91,[K]:1/3.82,[Z]:1/3.82,[Q]:1/1.91,[tt]:1/3.82,[et]:1/1.91,[nt]:1/3.74,[rt]:0,[st]:0},pt={[X]:80,[K]:0,[Z]:0,[Q]:80,[tt]:0,[et]:85,[nt]:0,[rt]:80,[st]:80},dt={[Q]:100,[tt]:200,[et]:150,[nt]:250,[rt]:100,[st]:150},mt="pub_control_",ht='\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 lt(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 ut(t,e){return t*ct[e]+pt[e]}function ft(t,e){return(t-8*e-8)/e}function gt(t,e){return Math.floor(t*e+8*e+8)}function bt(t){const e=parseFloat(t);return"number"==typeof(n=e)&&isFinite(n)?e:void 0;var n}function vt(t,e,n,r){return{left:t,top:e,width:n,height:r,bottom:e+r,right:t+n,x:t,y:e}}function jt(t,e,n){return 0==e&&0==n||0==t.width&&0==t.height?t:vt(t.left+e,t.top+n,t.width,t.height)}function yt(t,e,n={}){const{needsRootBounds:r,rootMargin:s,threshold:i}=n,a=function(t){return t.parent&&t.parent!=t}(e)&&(r||s)?e.document:void 0;return new e.IntersectionObserver(t,{threshold:i,root:a,rootMargin:s})}var It,wt=new WeakMap,St=new WeakMap;function kt(t){const e=new Set;for(let n=t.length-1;n>=0;n--){const r=t[n],{target:s}=r;if(e.has(s))continue;e.add(s);const i=St.get(s);if(i)for(let t=0;t<i.length;t++)(0,i[t])(r)}}function _t(t){return{"time":t.time,"rootBounds":xt(t.rootBounds),"boundingClientRect":xt(t.boundingClientRect),"intersectionRect":xt(t.intersectionRect),"intersectionRatio":t.intersectionRatio}}function xt(t){return null===t?null:function(t){return vt(Number(t.left),Number(t.top),Number(t.width),Number(t.height))}(t)}var At,Pt=["Webkit","webkit","Moz","moz","ms","O","o"],Mt={"getPropertyPriority":()=>"","getPropertyValue":()=>""};function Et(t,e,n,r,s){const i=function(t,e,n){if(e.startsWith("--"))return e;It||(It=o());let r=It[e];if(!r||n){if(r=e,void 0===t[e]){const n=function(t){return t.charAt(0).toUpperCase()+t.slice(1)}(e),s=function(t,e){for(let n=0;n<Pt.length;n++){const r=Pt[n]+e;if(void 0!==t[r])return r}return""}(t,n);void 0!==t[s]&&(r=s)}n||(It[e]=r)}return r}(t.style,e,s);if(!i)return;const a=r?n+r:n;t.style.setProperty(function(t){const e=t.replace(/[A-Z]/g,(t=>"-"+t.toLowerCase()));return Pt.some((t=>e.startsWith(t+"-")))?`-${e}`:e}(i),a)}function Tt(t,e){for(const n in e)Et(t,n,e[n])}function Ot(t,e){return t.getComputedStyle(e)||Mt}function Rt(t){return t.data}var Vt="__AMP__AD_CONTAINER",zt={"AMP-FX-FLYING-CARPET":!0,"AMP-LIGHTBOX":!0,"AMP-STICKY-AD":!0,"AMP-LIGHTBOX-GALLERY":!0};function Ct(t,e){const{position:n}=Ot(e,t);return"fixed"==n||"sticky"==n}function Nt(t){if(void 0===t[Vt]){let e=t.parentElement;for(;e&&"BODY"!=e.tagName;){if(zt[e.tagName])return t[Vt]=e.tagName;e=e.parentElement}t[Vt]=null}return t[Vt]}var Ht="amp-ad-ui",$t={TOP:"top",BOTTOM:"bottom",LEFT:"left",RIGHT:"right",BOTTOM_RIGHT:"bottom-right"},Dt="sticky",Lt=class{constructor(t){if(this.UB=t,this.yf=t.element,this._f=t.win.document,this.Vdt=null,this.Ndt=null,this.yf.hasAttribute(Dt)&&(this.yf.getAttribute(Dt)||E().error(Ht,'amp-ad sticky is deprecating empty attribute value, please use <amp-ad sticky="bottom" instead'),this.Ndt=this.yf.getAttribute(Dt)||$t.BOTTOM_RIGHT,this.yf.setAttribute(Dt,this.Ndt),Object.values($t).includes(this.Ndt)||(E().error(Ht,`Invalid sticky ad type: ${this.Ndt}`),this.Ndt=null)),this.$dt=!1,this.Ldt=void 0,this.C_=[],this.yf.hasAttribute("data-ad-container-id")){const t=this.yf.getAttribute("data-ad-container-id"),e=this._f.getElementById(t);e&&"AMP-LAYOUT"==e.tagName&&e.contains(this.yf)&&(this.Vdt=e)}if(!t.getFallback()){const t=this.Fdt("fallback");t&&this.UB.element.appendChild(t)}}applyNoContentUI(){if("AMP-STICKY-AD"===Nt(this.yf))return void this.UB.collapse();if("AMP-FX-FLYING-CARPET"===Nt(this.yf))return void(t=this.yf,e="amp-fx-flying-carpet",u(/^[\w-]+$/.test(e)),e=e.toUpperCase(),function(t,n){const r=[];for(let n=t.parentElement;n;n=n.parentElement)n.tagName==e&&r.push(n);return r}(t))[0].getImpl().then((t=>{const e=t.getChildren();1===e.length&&e[0]===this.yf&&this.UB.collapse()}));var t,e;let n;var r;this.Vdt?(n=(r=this.yf.getAmpDoc(),C(r,"mutator")).attemptCollapse(this.Vdt),n.then((()=>{}))):n=this.UB.attemptCollapse(),n.catch((()=>{this.UB.mutateElement((()=>{this.UB.togglePlaceholder(!1),this.UB.toggleFallback(!0)}))}))}applyUnlayoutUI(){this.UB.mutateElement((()=>{this.UB.toggleFallback(!1)}))}Fdt(t){if("AMP-EMBED"==this.yf.tagName)return null;const e=this._f.createElement("div");e.setAttribute(t,"");const n=this._f.createElement("div");return n.classList.add("i-amphtml-ad-default-holder"),n.setAttribute("data-ad-holder-text","Ad"),e.appendChild(n),e}validateStickyAd(){V(this._f.querySelectorAll("amp-sticky-ad.i-amphtml-built, amp-ad[sticky].i-amphtml-built").length<=1,"At most one sticky ad can be loaded per page")}isStickyAd(){return null!==this.Ndt}maybeInitStickyAd(){if(this.isStickyAd()){const t=this.yf.getAmpDoc();Et(this.yf,"visibility","visible"),this.Ndt==$t.TOP&&(this.Ldt=J(t).onScroll((()=>{const e=t.win.scrollY;Et(this.yf,"visibility",e>50?"visible":"hidden")})),this.C_.push(this.Ldt)),J(t).addToFixedLayer(this.yf,!0),this.adjustPadding(),this.$dt||(this.Odt(),this.$dt=!0)}}getScrollPromiseForStickyAd(){return this.isStickyAd()?new Promise((t=>{const e=J(this.yf.getAmpDoc()).onScroll((()=>{t(),e()}))})):Promise.resolve(null)}adjustPadding(){if(this.Ndt==$t.BOTTOM||this.Ndt==$t.BOTTOM_RIGHT){const t=this.yf.offsetHeight;J(this.yf.getAmpDoc()).updatePaddingBottom(t)}}Wdt(){var t;(t=this.UB.win,z(t,"vsync")).mutate((()=>{const t=J(this.yf.getAmpDoc());t.removeFromFixedLayer(this.element),g(this.yf),t.updatePaddingBottom(0)})),this.Ldt&&this.Ldt()}Odt(){const t=(e=this.yf.ownerDocument,n={"aria-label":this.yf.getAttribute("data-close-button-aria-label")||"Close this ad"},function(t,e){for(const n in e)t.setAttribute(n,e[n]);return t}(e.createElement("button"),n));var e,n;this.C_.push(function(t,e,n,r){let s=t,i=n,a=t=>{try{return i(t)}catch(t){var e,n;throw null===(e=(n=self).__AMP_REPORT_ERROR)||void 0===e||e.call(n,t),t}};const o=function(){if(void 0!==At)return At;At=!1;try{const t={get capture(){return At=!0,!1}};self.addEventListener("test-options",null,t),self.removeEventListener("test-options",null,t)}catch(t){}return At}();return s.addEventListener(e,a,!!o&&r),()=>{null==s||s.removeEventListener(e,a,!!o&&r),i=null,s=null,a=null}}(t,"click",this.Wdt.bind(this),void 0)),t.classList.add("amp-ad-close-button"),this.yf.appendChild(t)}updateSize(t,e,n,r,s){let i,a;t=parseInt(t,10),isNaN(t)||(i=Math.max(this.yf.offsetHeight+t-n,t)),e=parseInt(e,10),isNaN(e)||(a=Math.max(this.yf.offsetWidth+e-r,e));const o={success:!0,newWidth:a,newHeight:i};if(!i&&!a)return Promise.reject(new Error("undefined width and height"));if("AMP-STICKY-AD"==Nt(this.yf))return o.success=!1,Promise.resolve(o);if(this.isStickyAd()){const n=this.UB.getViewport();if(t*e>.2*n.getHeight()*n.getWidth()||i>.5*n.getHeight())return o.success=!1,Promise.resolve(o)}return this.UB.attemptChangeSize(i,a,s).then((()=>(this.Pd(this.yf.querySelector("iframe"),t,e),o)),(()=>(o.success=!1,o)))}Pd(t,e,n){Tt(t,{"height":`${e}px`,"width":`${n}px`})}cleanup(){this.C_.forEach((t=>t())),this.C_.length=0}};t.AmpAdUIHandler=Lt;var Ft=class{static generate(t){return function(t){const{length:e}=t;let n=5381;for(let r=0;r<e;r++)n=33*n^t.charCodeAt(r);return String(n>>>0)}(function(t){const e=[];let n=0;for(;l(t)&&n<25;){let r="";t.id&&(r=`/${t.id}`);const s=t.nodeName.toLowerCase();e.push(`${s}${r}${Wt(t)}`),n++,t=t.parentElement}return e.join()}(t))}};function Wt(t){const{nodeName:e}=t;let n=0,r=0,s=t.previousElementSibling;for(;s&&r<25&&n<100;)s.nodeName==e&&r++,n++,s=s.previousElementSibling;return r<25&&n<100?`.${r}`:""}function qt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Gt(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Ut(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Gt(Object(n),!0).forEach((function(e){qt(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Gt(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var Bt="__AMP__EXPERIMENT_TOGGLES";function Yt(t){var e,n,r,s,i;if(t[Bt])return t[Bt];t[Bt]=o();const a=t[Bt];u(a);const c=Ut(Ut({},null!==(e=t.AMP_CONFIG)&&void 0!==e?e:{}),null!==(n=t.AMP_EXP)&&void 0!==n?n:d((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 m=null===(s=t.AMP_CONFIG)||void 0===s?void 0:s["allow-doc-opt-in"];if(p(m)&&m.length){const e=t.document.head.querySelector('meta[name="amp-experiments-opt-in"]');if(e){var h;const t=(null===(h=e.getAttribute("content"))||void 0===h?void 0:h.split(","))||[];for(const e of t)m.includes(e)&&(a[e]=!0)}}Object.assign(a,function(t){var e;let n="";try{var r;"localStorage"in t&&(n=null!==(r=t.localStorage.getItem("amp-experiment-toggles"))&&void 0!==r?r:"")}catch(t){}const s=(null===(e=n)||void 0===e?void 0:e.split(/\s*,\s*/g))||[],i=o();for(const t of s)t&&("-"==t[0]?i[t.substr(1)]=!1:i[t]=!0);return i}(t));const l=null===(i=t.AMP_CONFIG)||void 0===i?void 0:i["allow-url-opt-in"];if(p(l)&&l.length){const e=j(t.location.originalHash||t.location.hash);for(const t of l){const n=e[`e-${t}`];"1"==n&&(a[t]=!0),"0"==n&&(a[t]=!1)}}return a}function Jt(t){const e=h[t.element.getAttribute("type")];return e&&e.clientIdScope?function(t,e,n,r){const s=(isNaN(void 0),1e3),i=(a=t,N(a,"cid")).then((t=>{if(t)return t.get({scope:e,createCookieIfNotPresent:!0,cookieName:n},Promise.resolve(void 0)).catch((t=>{O().error("AD-CID",t)}))}));var a;return B(t.win).timeoutPromise(s,i,"cid timeout").catch((t=>{}))}(t.getAmpDoc(),e.clientIdScope,e.clientIdCookieName):n()}var Xt=/^https:\/\/([a-zA-Z0-9_-]+\.)?cdn\.ampproject\.org((\/.*)|($))+/,Kt="position";function Zt(t){return"string"==typeof t&&t.startsWith("amp-")&&-1!=t.indexOf("{")}var Qt,te="ini-load",ee=["script","style"],ne=["amp-accordion","amp-app-banner","amp-carousel","amp-fit-text","amp-form","amp-selector","amp-sidebar"],re=["action","alt","class","disabled","height","href","id","name","placeholder","readonly","src","tabindex","title","type","value","width"];function se(t){const e=t.tagName.toLowerCase();return e.startsWith("amp-")?!(!ne.includes(e)||!t.textContent):!(ee.includes(e)||!t.textContent)}function ie(t,e,n){n.push(`<${t.tagName.toLowerCase()}`),e.forEach((e=>{t.hasAttribute(e)&&n.push(` ${e}="${t.getAttribute(e)}"`)})),n.push(">")}function ae(t,e){return Qt||(Qt=self.document.createElement("a")),function(t,e,n){return t.href="",new URL(e,t.href)}(Qt,t)}var oe="unlisten";function ce(t,e,n){const r=function(t,e){let{listeningFors:n}=t;return!n&&e&&(n=t.listeningFors=Object.create(null)),n||null}(t,n);if(!r)return r;let s=r[e];return!s&&n&&(s=r[e]=[]),s||null}function pe(t,e){for(let n=e;n&&n!=n.parent;n=n.parent)if(n==t)return!0;return!1}function de(t){const e={"sentinel":oe};for(let n=t.length-1;n>=0;n--){const r=t[n];if(!r.frame.contentWindow){t.splice(n,1);const{events:s}=r;for(const t in s)s[t].splice(0,1/0).forEach((t=>{t(e)}))}}}function me(t,e,n,r,s,i){R(t.src),R(!t.parentNode),R(n);const a=t.ownerDocument.defaultView;!function(t){t.listeningFors||t.addEventListener("message",(function(e){if(!Rt(e))return;const n=function(t){return"string"==typeof t&&(t="{"==t.charAt(0)?m(t,(t=>{}))||null:Zt(t)?function(t){if(!Zt(t))return null;const e=t.indexOf("{");return u(-1!=e),m(t.substr(e),(e=>{!function(t){const e=x.apply(null,arguments);setTimeout((()=>{throw A(e),e}))}(new Error(`MESSAGING: Failed to parse message: ${t}\n${e.message}`))}))}(t):null),t}(Rt(e));if(!n||!n.sentinel)return;const r=function(t,e,n,r){const s=ce(t,e);if(!s)return s;let i;for(let t=0;t<s.length;t++){const e=s[t],{contentWindow:n}=e.frame;if(n){if(r==n||pe(n,r)){i=e;break}}else setTimeout(de,0,s)}return i?i.events:null}(t,n.sentinel,e.origin,e.source);if(!r)return;let s=r[n.type];if(s){s=s.slice();for(let t=0;t<s.length;t++)(0,s[t])(n,e.source,e.origin,e)}}))}(a);const o=function(t,e,n){const r=ce(t,ue(e,n),!0);let s;for(let t=0;t<r.length;t++){const n=r[t];if(n.frame===e){s=n;break}}return s||(s={frame:e,events:Object.create(null)},r.push(s)),s.events}(a,t,r),c=ae(t.src).origin;let p,d=o[e]||(o[e]=[]),h=function(e,r,a,o){if("amp"==e.sentinel){if(r!=t.contentWindow)return;const e="null"==a&&i;if(c!=a&&!e)return}(s||r==t.contentWindow)&&(e.sentinel!=oe?n(e,r,a,o):p())};return d.push(h),p=function(){if(h){const t=d.indexOf(h);t>-1&&d.splice(t,1),h=null,d=null,n=null}}}function he(t,e,n){const r=[];return"string"==typeof e&&(e=[e]),new Promise((s=>{for(let i=0;i<e.length;i++){const a=e[i],o=me(t,a,((t,e,n,i)=>{for(let t=0;t<r.length;t++)r[t]();s({data:t,source:e,origin:n,event:i})}),n);r.push(o)}}))}function le(t,e,n,r,s){if(!t.contentWindow)return;r.type=n,r.sentinel=ue(t,s);let i=r;s&&(i="amp-"+JSON.stringify(r));for(let t=0;t<e.length;t++){const n=e[t];n.win.postMessage(i,n.origin)}}function ue(t,e){return e?t.getAttribute("data-amp-3p-sentinel"):"amp"}var fe=class{constructor(t,e,n,r){this.bv=t,this.Sv=n,this.jv=[],this.xv=me(this.bv,e,((t,e,n)=>{this.jv.some((t=>t.win==e))||this.jv.push({win:e,origin:n}),r(t,e,n)}),this.Sv,this.Sv)}send(t,e){(function(t,e){const n=[];let r=0;for(let e=0;e<t.length;e++){const s=t[e];s.win.parent?(r<e&&(t[r]=s),r++):n.push(s)}r<t.length&&(t.length=r)})(this.jv),le(this.bv,this.jv,t,e,this.Sv)}destroy(){this.xv(),this.jv.length=0}},ge=!1,be=self.__AMP_ERRORS||[];self.__AMP_ERRORS=be;var ve=class{constructor(t){this.i=t.win,this.UB=t,this.yf=t.element,this.qdt=t.uiHandler,this.iframe=null,this.Gdt=0,this.Udt=null,this.Bdt=null,this.Ydt=null,this.Jdt=!1,this.C_=[],this.Il=J(this.UB.getAmpDoc()),this.Na=!1,this.Xdt=!1}init(t,e,n){R(!this.iframe),this.iframe=t,this.iframe.setAttribute("scrolling","no"),this.qdt.isStickyAd()||this.iframe.classList.add("i-amphtml-fill-content");const r=B(this.UB.win);var i;this.Udt=new class{constructor(t,e){this.Ov=t,this.ln=B(t.win),this.Tv=null,this.Kdt=null,this.Na=!1,this.Zdt=[],this.Qdt=0,this.tgt=this.egt.bind(this),this.ngt=new fe(e,"send-intersections",!0,(()=>this.rgt())),this.sgt=null}fire(){this.Kdt&&(this.Kdt.unobserve(this.Ov.element),this.Kdt.observe(this.Ov.element))}igt(){this.sgt&&(this.sgt(),this.sgt=null)}rgt(){this.Tv||(this.Tv=new IntersectionObserver((t=>{const e=t[t.length-1];this.agt(e)})),this.Tv.observe(this.Ov.element)),this.Kdt||(this.Kdt=new IntersectionObserver((t=>{const e=t[t.length-1];this.ogt(e)}))),this.fire()}agt(t){const e=0!=t.intersectionRatio;if(this.Na!=e)if(this.Na=e,this.ogt(t),e){const t=this.fire.bind(this),e=this.Ov.getViewport().onScroll(t),n=this.Ov.getViewport().onChanged(t);this.sgt=()=>{e(),n()}}else this.igt()}ogt(t){const e=_t(t);null===e.rootBounds&&(e.rootBounds=this.Ov.getViewport().getRect()),this.Zdt.length>0&&this.Zdt[this.Zdt.length-1].time==e.time||(this.Zdt.push(e),this.Qdt||(this.egt(),this.Qdt=this.ln.delay(this.tgt,100)))}egt(){this.Qdt=0,this.Zdt.length&&(this.ngt.send("intersection",{"changes":this.Zdt}),this.Zdt.length=0)}destroy(){this.Tv&&(this.Tv.disconnect(),this.Tv=null),this.Kdt&&(this.Kdt.disconnect(),this.Kdt=null),this.ln.cancel(this.Qdt),this.igt(),this.ngt.destroy()}}(this.UB,this.iframe),this.Bdt=new fe(this.iframe,"send-embed-state",!0,(()=>this.cgt(this.Na))),(Yt(this.i)["inabox-position-api"]||/^adsense$/i.test(this.yf.getAttribute("type"))&&!(function(t){return t.crypto&&(t.crypto.subtle||t.crypto.webkitSubtle)}(i=this.i)&&function(t){return Xt.test(t.location.origin)}(i)))&&(this.Ydt=new fe(this.iframe,"send-positions",!0,(()=>{this.gf(),this.pgt()}))),he(this.iframe,"entity-id",!0).then((t=>{this.yf.creativeId=t.data.id})),this.dgt("get-html",(t=>{const e=t.selector,n=t.attributes;let r="";return this.yf.hasAttribute("data-html-access-allowed")&&(r=function(t,e,n){const r=t.document.querySelector(e),s=[];return r&&function(t,e,n){const r=[t],s=e.filter((t=>re.includes(t)));for(;r.length>0;){const t=r.pop();if("string"==typeof t)n.push(t);else if(t.nodeType===Node.TEXT_NODE){var i;n.push(null!==(i=t.textContent)&&void 0!==i?i:"")}else if(l(t)&&se(t)){ie(t,s,n),r.push(`</${t.tagName.toLowerCase()}>`);for(let e=t.lastChild;e;e=e.previousSibling)r.push(e)}}}(r,n,s),s.join("").replace(/\s{2,}/g," ")}(this.UB.win,e,n)),Promise.resolve(r)})),this.dgt("get-consent-state",(()=>this.UB.getConsentState().then((t=>({consentState:t}))))),this.C_.push(me(this.iframe,"embed-size",((t,e,n,r)=>{t.hasOverflow&&(this.yf.warnOnMissingOverflow=!1),Date.now()-this.Gdt>=500?this.XD(t.id,t.height,t.width,e,n,r):this.mgt(!1,t.id,t.width,t.height,e,n)}),!0,!0)),this.C_.push(this.UB.getAmpDoc().onVisibilityChanged((()=>{this.cgt(this.Na)}))),this.C_.push(me(this.iframe,"user-error-in-iframe",(t=>{this.hgt(t.message,1==t.expected)}),!0,!0));const a=this.UB.loadPromise(this.iframe).then((()=>(this.iframe&&(this.iframe.readyState="complete"),r.promise(10)))),{promise:o,resolve:c}=new s,{promise:p,resolve:d}=new s;return this.UB.config&&this.UB.config.renderStartImplemented?he(this.iframe,["render-start","no-content"],!0).then((t=>{const{data:e}=t;"render-start"==e.type?(this.lgt(t),c()):(this.ugt(),d())})):(he(this.iframe,"bootstrap-loaded",!0).then((()=>{c()})),he(this.iframe,"no-content",!0).then((()=>{this.ugt(),d()}))),he(this.iframe,te,!0).then((()=>{this.UB.signals().signal(te)})),this.yf.appendChild(this.iframe),e&&!n?(this.UB.renderStarted(),c()):Et(this.iframe,"visibility","hidden"),(e&&n?o:Promise.race([o,a,r.promise(1e4)])).then((()=>{this.UB.renderStarted(),this.iframe&&Et(this.iframe,"visibility","")})),Promise.race([a,p])}dgt(t,e){this.C_.push(me(this.iframe,t,((n,r,s)=>{if(!this.iframe)return;const i=n.messageId,a=n.payload;e(a).then((e=>{const n={};n.messageId=i,n.content=e,le(this.iframe,[{win:r,origin:s}],t+"-result",n,!0)}))}),!0,!1))}lgt(t){const e=Rt(t);this.XD(void 0,e.height,e.width,t.source,t.origin,t.event)}freeXOriginIframe(t){this.ar(),t||this.iframe&&(g(this.iframe),this.iframe=null)}ugt(){this.iframe&&(this.freeXOriginIframe(this.iframe.name.indexOf("_master")>=0),this.qdt.applyNoContentUI())}ar(){this.C_.forEach((t=>t())),this.C_.length=0,this.Bdt&&(this.Bdt.destroy(),this.Bdt=null),this.Ydt&&(this.Ydt.destroy(),this.Ydt=null),this.Udt&&(this.Udt.destroy(),this.Udt=null)}XD(t,e,n,r,s,i){this.UB.getVsync().mutate((()=>{if(!this.iframe)return;const a=this.iframe.offsetHeight,o=this.iframe.offsetWidth;this.qdt.updateSize(e,n,a,o,i).then((e=>{e.success?this.Gdt=0:this.Gdt=Date.now(),this.qdt.adjustPadding(),this.mgt(e.success,t,e.newWidth,e.newHeight,r,s)}),(()=>{}))}))}mgt(t,e,n,r,s,i){this.iframe&&le(this.iframe,[{win:s,origin:i}],t?"embed-size-changed":"embed-size-denied",{"id":e,"requestedWidth":n,"requestedHeight":r},!0)}cgt(t){this.Bdt&&this.Bdt.send("embed-state",{"inViewport":t,"pageHidden":!this.UB.getAmpDoc().isVisible()})}fgt(){return this.Il.getClientRectAsync(this.iframe).then((t=>(R(t),{"targetRect":t,"viewportRect":this.Il.getRect()})))}gf(){this.Xdt||(this.Xdt=!0,this.fgt().then((t=>{this.Xdt=!1,this.Ydt.send(Kt,t)})))}pgt(){this.Jdt||(this.Jdt=!0,this.C_.push(this.Il.onScroll(function(t,e,n){let r=0,s=null;function i(n){s=null,r=t.setTimeout(a,100),e.apply(null,n)}function a(){r=0,s&&i(s)}return function(...t){r?s=t:i(t)}}(this.i,(()=>{this.fgt().then((t=>{this.Ydt.send(Kt,t)}))})))),this.C_.push(this.Il.onResize((()=>{this.fgt().then((t=>{this.Ydt.send(Kt,t)}))}))))}viewportCallback(t){this.Na=t,this.cgt(t)}onLayoutMeasure(){this.Udt&&this.Udt.fire()}hgt(t,e){if("string"==typeof t)if(e)O().expectedError("amp-ad-xorigin-iframe",t);else{const e=new Error(t);e.name="3pError",function(t,e){if(G(e).isSingleDoc()){const n={"errorName":t.name,"errorMessage":t.message};!function(t,e,n={},r=!0){var s;(s=t,q(s,"amp-analytics-instrumentation","amp-analytics")).then((s=>{s&&s.triggerEventForTarget(t,e,n,r)}))}(function(t){const e=G(t).getSingleDoc().getRootNode();return e.documentElement||e.body||e}(e),"user-error",n,!1)}}(e,this.UB.win)}}};t.AmpAdXOriginIframeHandler=ve;var je=null,ye=null,Ie=(()=>self.AMP.config.urls)();function we(t,e,n,r){const s=Date.now(),i=e.getAttribute("width"),a=e.getAttribute("height");(r=r||{}).width=bt(i),r.height=bt(a),e.getAttribute("title")&&(r.title=e.getAttribute("title"));let o=t.location.href;"about:srcdoc"==o&&(o=t.parent.location.href);const c=$(e),p=U(e),d=(h=e,C(h,"viewer")).getUnconfirmedReferrerUrl(),m=function(t){const e=t.ownerDocument.body;let n=0,r=0;for(let s=t;s&&s!=e;s=s.offsetParent)n+=s.offsetLeft,r+=s.offsetTop;const{offsetHeight:s,offsetWidth:i}=t;return vt(n,r,i,s)}(e);var h,l,u,f;r._context={"ampcontextVersion":"2601162341000","ampcontextFilepath":`${Ie.thirdParty}/2601162341000/ampcontext-v0.js`,"sourceUrl":p.sourceUrl,"referrer":d,"canonicalUrl":p.canonicalUrl,"pageViewId":p.pageViewId,"location":{"href":o},"startTime":s,"tagName":e.tagName,"mode":{localDev:!1,development:!1,esm:w(f).esm,test:!1,rtvVersion:w(f).rtvVersion},"canary":(l=t,!(null===(u=l.AMP_CONFIG)||void 0===u||!u.canary)),"hidden":!c.isVisible(),"initialLayoutRect":m?{"left":m.left,"top":m.top,"width":m.width,"height":m.height}:null,"domFingerprint":Ft.generate(e),"experimentToggles":Yt(t),"sentinel":n};const g=e.getAttribute("src");return g&&(r.src=g),r}var Se=(()=>self.AMP.config.urls)(),ke={};function _e(t){return`${Se.thirdParty}/2601162341000/vendor/${t}.mjs`}function xe(t,e,n){return function(t,e,n){const r=e.getMetaByName("amp-3p-iframe-src");if(!r)return null;const s=function(t,e,n="source"){return V(null!=t,"%s %s must be available",e,n),V(function(t){return"https:"==(t=(t=>"string"==typeof t?ae(t):t)(t)).protocol||"localhost"==t.hostname||"127.0.0.1"==t.hostname||function(t,e){const n=t.length-e.length;return n>=0&&t.indexOf(e,n)==n}(t.hostname,".localhost")}(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}(r,'meta[name="amp-3p-iframe-src"]');V(-1==s.indexOf("?"),"3p iframe url must not include query string %s in element %s.",s,r);const i=ae(s);return V("localhost"==i.hostname&&!n||i.origin!=ae(t.location.href).origin,"3p iframe url must not be on the same origin as the current document %s (%s) in element %s. See https://github.com/ampproject/amphtml/blob/main/docs/spec/amp-iframe-origin-policy.md for details.",s,i.origin,r),`${s}?2601162341000`}(t,e,n)||function(t,e){return t.__AMP_DEFAULT_BOOTSTRAP_SUBDOMAIN=t.__AMP_DEFAULT_BOOTSTRAP_SUBDOMAIN||"d-"+Ae(t),"https://"+t.__AMP_DEFAULT_BOOTSTRAP_SUBDOMAIN+`.${Se.thirdPartyFrameHost}/2601162341000/frame.html`}(t)}function Ae(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 Pe=/nochunking=1/.test(self.location.hash),Me=n();var Ee="not_run",Te=class{constructor(t){this.state=Ee,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}},Oe=class extends Te{constructor(t,e,n){super(t),this.ps=n}ls(t){var e;R((e=self.document).defaultView),ge||(ge=!0,function(t){Tt(t.body,{opacity:1,visibility:"visible","animation":"none"})}(e))}ds(){return this._s()}fs(){return this.ps.As}_s(){return this.ps.ampdoc.isVisible()}},Re=class{constructor(t){var e;this.ampdoc=t,this.i=t.win,this.gs=new 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,r=this.length;for(;n<=r&&(e=Math.floor((n+r)/2),e!==this.length);)if(this.ns[e].priority<t)n=e+1;else{if(!(e>0&&this.ns[e-1].priority>=t))break;r=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}},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"==Rt(t)&&this.vs(null)})),this.As=!1,(e=t,N(e,"viewer")).then((()=>{this.As=!0})),t.onVisibilityChanged((()=>{t.isVisible()&&this.Is()}))}run(t,e){const n=new Te(t);this.Ms(n,e)}runForStartup(t){const e=new Oe(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!==Ee;)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{Me.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();Me.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,r){const s=Date.now();t.requestIdleCallback((function e(n){if(n.timeRemaining()<15){const i=2e3-(Date.now()-s);i<=0||n.didTimeout?r(n):t.requestIdleCallback(e,{timeout:i})}else r(n)}),{timeout:2e3})}(this.i,0,0,this.Ps):this.bs()):void 0}bs(){this.i.postMessage("amp-macro-task","*")}},Ve=class extends t.BaseElement{constructor(t){super(t),this.bv=null,this.config=null,this.uiHandler=null,this.oD=null,this.Lg=null,this.Sq=null,this.ggt=!1,this.bgt=null,this.sgt=null,this.C_=[],this.Tv=null,this.v_=void 0,this.Di=null,this.lC=void 0,this.vgt=!1,this.jgt=!1,this.Bj=null}getLayoutPriority(){return this.element.getAmpDoc().isSingleDoc()?2:1}renderOutsideViewport(){if(this.win["3pla"])return!1;const t=function(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,r=E().assertNumber(parseFloat(e),n);return V(r>=0&&r<=3,n),r}(this.element);return null!==t?t:super.renderOutsideViewport()}isLayoutSupported(t){return function(t){return"fixed"==t||"fixed-height"==t||"responsive"==t||"fill"==t||"flex-item"==t||"fluid"==t||"intrinsic"==t}(t)}getResource(){return this.element.getResources().getResourceForElement(this.element)}getConsentPolicy(){const t=this.element.getAttribute("type"),e=h[t];return e&&e.consentHandlingOverride?null:super.getConsentPolicy()}buildCallback(){if(this.lC=this.element.getAttribute("type"),Math.round(this.getResource().getUpgradeDelayMs()),this.Lg=this.getPlaceholder(),this.Sq=this.getFallback(),this.config=h[this.lC],V(this.config,`Type "${this.lC}" is not supported in amp-ad`),this.uiHandler=new Lt(this),this.uiHandler.validateStickyAd(),this.uiHandler.getScrollPromiseForStickyAd().then((()=>this.uiHandler.maybeInitStickyAd())),this.uiHandler.isStickyAd()&&function(t,e,n){if(Pe)return void Me.then(e);const r=function(t){return function(t,e,n,r){const s=$(t);!function(t,e,n,r,s,i){const a=W(t);let o=a[n];o||(o=a[n]={obj:null,promise:null,resolve:null,reject:null,context:null,ctor:null,sharedInstance:!1}),o.ctor||(o.ctor=r,o.context=e,o.sharedInstance=!1,o.resolve&&L(t,n))}(D(s),s,e,n)}(t,"chunk",Re),C(t,"chunk")}(t);r.run(e,n)}(this.element,(()=>this.layoutCallback()),10),this.jgt=this.ygt(),this.jgt)return this.Igt()}ygt(){return!!this.element.hasAttribute("data-full-width")&&(V("100vw"==this.element.getAttribute("width"),'Ad units with data-full-width must have width="100vw".'),V(!!this.config.fullWidthHeightRatio,"Ad network does not support full width ads."),!0)}preconnectCallback(t){const e=z(this.win,"preconnect");!function(t,e,n,r){const s=xe(t,n);r.preload(n,s,"document"),r.preload(n,_e(e),"script")}(this.win,this.lC,this.getAmpDoc(),e),"string"==typeof this.config.prefetch?e.preload(this.getAmpDoc(),this.config.prefetch,"script"):this.config.prefetch&&this.config.prefetch.forEach((t=>{e.preload(this.getAmpDoc(),t,"script")})),"string"==typeof this.config.preconnect?e.url(this.getAmpDoc(),this.config.preconnect,t):this.config.preconnect&&this.config.preconnect.forEach((n=>{e.url(this.getAmpDoc(),n,t)}));const n=this.element.getAttribute("src");n&&e.url(this.getAmpDoc(),n)}onLayoutMeasure(){if(this.ggt=!function(t,e){let n=!1,r=0,s=t;do{zt[s.tagName]?(r++,n=!1):Ct(s,e)&&(n=!0),s=s.parentElement}while(s&&"BODY"!=s.tagName);return!n&&r<=1}(this.element,this.win),void 0===this.v_&&(this.v_=Nt(this.element)),this.wgt(),this.oD&&this.oD.onLayoutMeasure(),this.jgt&&!this.vgt){this.vgt=!0;const t=this.getLayoutBox();this.getVsync().run({measure:t=>{t.direction=Ot(this.win,this.element).direction},mutate:e=>{"rtl"==e.direction?Et(this.element,"marginRight",t.left,"px"):Et(this.element,"marginLeft",-t.left,"px")}},{direction:""})}}wgt(){if(this.oD&&this.oD.iframe){const t=this.getViewport().getLayoutRect(this.oD.iframe),e=this.getLayoutBox();this.bgt=jt(t,-e.left,-e.top)}}getIntersectionElementLayoutBox(){if(!this.oD||!this.oD.iframe)return super.getIntersectionElementLayoutBox();const t=this.getLayoutBox();return this.bgt||this.wgt(),jt(R(this.bgt),t.left,t.top)}layoutCallback(){if(this.Di)return this.Di;V(!this.ggt||this.uiHandler.isStickyAd(),"<amp-ad> is not allowed to be placed in elements with position:fixed: %s unless it has sticky attribute",this.element);const t=this.getConsentState(),e=super.getConsentPolicy(),n=e?function(t,e="default"){return Y(t).then((t=>t?t.getConsentStringInfo(e):null))}(this.element,e):Promise.resolve(null),r=e?function(t,e="default"){return Y(t).then((t=>t?t.getConsentMetadataInfo(e):null))}(this.element,e):Promise.resolve(null),i=e?(a=this.element,o=e,Y(a).then((t=>t?t.getMergedSharedData(o):null))):Promise.resolve(null);var a,o;const c=U(this.element).pageViewId64;return this.Di=Promise.all([Jt(this),t,i,n,r,c]).then((t=>{const e={"clientId":t[0]||null,"container":this.v_,"initialConsentState":t[1],"consentSharedData":t[2],"initialConsentValue":t[3],"initialConsentMetadata":t[4],"pageViewId64":t[5]},n=this.element.getIntersectionChangeEntry(),r=function(t,e,n,r,s={}){const{allowFullscreen:i=!1,initialIntersection:a}=s;R(void 0===e.isConnected||!0===e.isConnected);const o=function(t,e,n,r){const s=n||e.getAttribute("type");V(s,"Attribute type required for <amp-ad>: %s",e);const i=function(t){let e=0;for(let n=t;n&&n!=n.parent;n=n.parent)e++;return String(e)+"-"+Ae(t)}(t);let a={};return function(t,e){const{dataset:n}=t;for(const t in n)t.startsWith("vars")||(e[t]=n[t]);const r=t.getAttribute("json");if(r){const n=m(r);if(void 0===n)throw E().createError("Error parsing JSON in json attribute in element %s",t);for(const t in n)e[t]=n[t]}}(e,a),a=we(t,e,i,a),a.type=s,Object.assign(a._context,r),a}(t,e,n,r);a&&(o._context.initialIntersection=a);const c=t.document.createElement("iframe");ke[o.type]||(ke[o.type]=0),ke[o.type]+=1;const p=xe(t,e.getAmpDoc()),d=ae(p).hostname,h=JSON.stringify({"host":d,"bootstrap":_e(o.type),"type":o.type,"count":ke[o.type],"attributes":o});return c.src=p,c.ampLocation=ae(p),c.name=h,o.width&&(c.width=o.width),o.height&&(c.height=o.height),o.title&&(c.title=o.title),i&&c.setAttribute("allowfullscreen","true"),c.setAttribute("scrolling","no"),Et(c,"border","none"),c.onload=function(){this.readyState="complete"},c.setAttribute("allow","sync-xhr 'none';"),["facebook"].includes(n)||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 r=e[n];if(!t.sandbox.supports(r))return}t.sandbox=e.join(" ")+" "+["allow-forms","allow-modals","allow-pointer-lock","allow-popups","allow-same-origin","allow-scripts"].join(" ")}(c),c.setAttribute("data-amp-3p-sentinel",o._context.sentinel),c}(f(this.element),this.element,this.lC,e,{initialIntersection:_t(n)});return r.title=this.element.title||"Advertisement",this.oD=new ve(this),this.oD.init(r)})).then((()=>{this.Bj=function(t,e,n){const r=f(t);let s=wt.get(r);s||wt.set(r,s=yt(kt,r));let i=St.get(t);return i||(i=[],St.set(t,i)),i.push(e),s.observe(t),()=>{!function(t,e){const n=St.get(t);if(!n)return;if(!function(t,e){const n=t.indexOf(e);return-1!=n&&(t.splice(n,1),!0)}(n,e))return;if(n.length)return;const r=f(t),s=wt.get(r);null==s||s.unobserve(t),St.delete(t)}(t,e)}}(this.element,(({isIntersecting:t})=>this.Cj(t)))})),function(t,e){if(void 0===t["3pla"]&&(t["3pla"]=0),t["3pla"]++,!je){const t=new s;je=t.promise,ye=t.resolve}B(t).timeoutPromise(1e3,e).catch((()=>{})).then((()=>{--t["3pla"]||(ye(),je=null,ye=null)}))}(this.win,this.Di),this.Di}Cj(t){this.oD&&this.oD.viewportCallback(t)}unlayoutOnPause(){return!0}unlayoutCallback(){var t;return this.C_.forEach((t=>t())),this.C_.length=0,null===(t=this.Bj)||void 0===t||t.call(this),this.Bj=null,this.Di=null,this.uiHandler.applyUnlayoutUI(),this.oD&&(this.oD.freeXOriginIframe(),this.oD=null),this.uiHandler&&this.uiHandler.cleanup(),!0}getConsentState(){const t=super.getConsentPolicy();return t?function(t,e="default"){return Y(t).then((t=>t?t.whenPolicyResolved(e):null))}(this.element,t):Promise.resolve(null)}Igt(){const t=this.getViewport().getSize(),e=Math.min(500,t.height),{width:n}=t,r=this.Sgt(n,e);return this.attemptChangeSize(r,n).then((()=>{}),(()=>{}))}Sgt(t,e){return"mcrspv"===this.element.getAttribute("data-auto-format")?function(t,e){const n={numberOfRows:e.getAttribute(ot),numberOfColumns:e.getAttribute(at),layoutType:e.getAttribute(it)};let r;return r=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(","),r=t.numberOfRows.split(","),s=t.numberOfColumns.split(",");if(n.length!==r.length||n.length!==s.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: ${ht}`};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: ${ht}.`};const i=[],a=[];for(let t=0;t<n.length;t++){const e=Number(r[t]);if(isNaN(e)||0===e)return{validationError:`Wrong value '${r[t]}' for data-matched-content-rows-num.`};i.push(e);const n=Number(s[t]);if(isNaN(n)||0===n)return{validationError:`Wrong value '${s[t]}' for data-matched-content-columns-num.`};a.push(n)}return{numberOfRows:i,numberOfColumns:a,layoutTypes:n}}(e);if(n.validationError)return{slotWidth:0,slotHeight:0,numberOfColumns:0,numberOfRows:0,layoutType:X,validationError:n.validationError};let r;r=2===n.layoutTypes.length&&t>=468?1:0;const s=function(t){return 0===t.indexOf(mt)?t:mt+t}(n.layoutTypes[r]),i=function(t,e,n){const r=dt[n];let s=e;for(;t/s<r&&s>1;)s--;return s}(t,n.numberOfColumns[r],s),a=n.numberOfRows[r],o=function(t,e,n,r){const s=gt(ut(ft(t,e),r),n);return t>1500?{width:0,height:0,sizeError:"Calculated slot width is too large: "+t}:s>1500?{width:0,height:0,sizeError:"Calculated slot height is too large: "+s}:{width:t,height:s}}(t,i,a,s);return o.sizeError?{slotWidth:0,slotHeight:0,numberOfColumns:0,numberOfRows:0,layoutType:s,validationError:o.sizeError}:{slotWidth:o.width,slotHeight:o.height,numberOfColumns:i,numberOfRows:a,layoutType:s}}(t,n):function(t,e){if(t<468){if(e){const e=Z,n=1,r=12,s=function(t,e,n,r){const s=ft(t,n);return{width:t,height:Math.floor(s/1.91+70)+gt(ut(s,e),r-1)}}(t,e,n,r);return{slotWidth:s.width,slotHeight:s.height,numberOfColumns:n,numberOfRows:r,layoutType:e}}{const e=lt(t);return{slotWidth:e.width,slotHeight:e.height,numberOfColumns:1,numberOfRows:13,layoutType:K}}}{const e=lt(t);return{slotWidth:e.width,slotHeight:e.height,numberOfColumns:4,numberOfRows:2,layoutType:X}}}(t,t<=468),r.validationError?(E().error("AMP-AD",r.validationError),0):(e.setAttribute(ot,r.numberOfRows),e.setAttribute(at,r.numberOfColumns),e.setAttribute(it,r.layoutType),r.slotHeight)}(t,this.element):(n=Math.round(t/this.config.fullWidthHeightRatio),u(100<=(r=e)),Math.min(Math.max(n,100),r));var n,r}},ze=class extends t.BaseElement{isLayoutSupported(t){return!0}upgradeCallback(){const t=(r||(r=o({"adsense":()=>!0,"adzerk":()=>!0,"dianomi":()=>!0,"doubleclick":()=>!0,"fake":()=>!0,"mgid":(t,e)=>!e.hasAttribute("data-container")&&!e.hasAttribute("data-website"),"nws":()=>!0,"smartadserver":()=>!0,"valueimpression":()=>!0})),r),e=this.element.getAttribute("data-consent-notification-id"),s=e?(a=this.element,function(t,e,n,r){return q(t,"userNotificationManager",n,void 0).then((t=>function(t,e,n){return V(t,"Service %s was requested to be provided through %s, but %s is not loaded in the current page. To fix this problem load the JavaScript file for %s in this page.","userNotificationManager",n,n,n)}(t,0,n)))}(a,0,"amp-user-notification")).then((t=>t.get(e))):n(),i=this.element.getAttribute("type");var a;return s.then((()=>{V(c(h,i)||c(t,i),`Unknown ad type "${i}"`),this.win.ampAdSlotIdCounter=this.win.ampAdSlotIdCounter||0;const e=this.win.ampAdSlotIdCounter++;return new Promise((n=>{this.getVsync().mutate((()=>{this.element.setAttribute("data-amp-slot-index",e);const r=this.element.getAmpDoc().getMetaByName("amp-3p-iframe-src");if(!t[i]||!t[i](this.win,this.element,r))return n(new Ve(this.element));const s=function(t){return`amp-ad-network-${t}-impl`}(i);var a;this.element.setAttribute("data-a4a-upgrade-type",s),n((a=this.win,z(a,"extensions")).loadElementClass(s).then((t=>new t(this.element))).catch((t=>{const e=this.element.tagName;return this.user().error(e,"Unable to load ad implementation for type ",i,", falling back to 3p, error: ",t),new Ve(this.element)})))}))}))}))}};t.registerElement("amp-ad",ze,'amp-ad iframe,amp-embed iframe{border:0!important;margin:0!important;padding:0!important;position:relative}.i-amphtml-ad-default-holder{position:absolute;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;background-color:hsla(0,0%,78%,.05)}.i-amphtml-ad-default-holder:after{content:"Ad";content:attr(data-ad-holder-text);background-color:transparent;border-radius:2px;color:#696969;font-size:10px;line-height:1;font-family:Arial,sans-serif;padding:3px 4px 1px;border:1px solid #696969}amp-ad[sticky]{visibility:hidden;-ms-flex-align:center;align-items:center}amp-ad[type=adsense],amp-ad[type=doubleclick]{direction:ltr}amp-ad[data-a4a-upgrade-type=amp-ad-network-adsense-impl]>iframe,amp-ad[data-a4a-upgrade-type=amp-ad-network-doubleclick-impl]>iframe{min-height:0;min-width:0}amp-ad[data-a4a-upgrade-type=amp-ad-network-doubleclick-impl][height=fluid]>iframe{height:100%!important;width:100%!important;position:relative}amp-ad[data-a4a-upgrade-type=amp-ad-network-doubleclick-impl][height=fluid]{width:100%!important}amp-ad .amp-ad-close-button{position:absolute;width:28px;height:28px;right:0;background-image:url(\'data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="13" height="13" viewBox="341 8 13 13"><path fill="%234F4F4F" fill-rule="evenodd" d="M354 9.31 352.69 8l-5.19 5.19L342.31 8 341 9.31l5.19 5.19-5.19 5.19 1.31 1.31 5.19-5.19 5.19 5.19 1.31-1.31-5.19-5.19z"/></svg>\');background-size:13px 13px;background-position:9px;background-color:#fff;background-repeat:no-repeat;box-shadow:0 -1px 1px 0 rgba(0,0,0,.2);border:none;border-radius:12px 0 0 0}amp-ad .amp-ad-close-button:before{position:absolute;content:"";top:-20px;right:0;left:-20px;bottom:0}amp-ad[sticky=bottom-right] .amp-ad-close-button,amp-ad[sticky=bottom] .amp-ad-close-button,amp-ad[sticky=left] .amp-ad-close-button,amp-ad[sticky=right] .amp-ad-close-button{top:-28px}amp-ad[sticky=top] .amp-ad-close-button{transform:rotate(270deg);bottom:-28px}amp-ad[sticky=left] .amp-ad-close-button{transform:rotate(90deg);left:0}[dir=rtl] amp-ad .amp-ad-close-button{right:auto;left:0;border-top-left-radius:0;border-top-right-radius:12px;background-position:6px}[dir=rtl] amp-ad .amp-ad-close-button:before{right:-20px;left:0}amp-ad[sticky]{z-index:2147483647;position:fixed;overflow:visible!important;box-shadow:0 0 5px 0 rgba(0,0,0,.2)!important;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}amp-ad[sticky=top]{padding-bottom:5px;top:0}amp-ad[sticky=bottom],amp-ad[sticky=top]{width:100%!important;max-height:20%!important;background:#fff}amp-ad[sticky=bottom]{max-width:100%;padding-bottom:env(safe-area-inset-bottom,0px);bottom:0;padding-top:4px}amp-ad[sticky=bottom-right]{bottom:0;right:0}amp-ad[sticky=left],amp-ad[sticky=right]{background:#fff}amp-ad[sticky=left] iframe,amp-ad[sticky=right] iframe{max-width:120px!important}amp-ad[sticky=left]{left:0}amp-ad[sticky=right]{right:0}@media (max-width:1024px){amp-ad[sticky=left],amp-ad[sticky=right]{display:none!important}}\n/*# sourceURL=/extensions/amp-ad/0.1/amp-ad.css*/'),t.registerElement("amp-embed",ze)})();
/*! https://mths.be/cssescape v1.5.1 by @mathias | MIT license */}});
//# sourceMappingURL=amp-ad-0.1.mjs.map