(self.AMP=self.AMP||[]).push({n:"amp-ad",v:"1810052256480",f:(function(AMP,_){
var m;function aa(a,b){function c(){}c.prototype=b.prototype;a.prototype=new c;a.prototype.constructor=a;for(var d in b)if(Object.defineProperties){var e=Object.getOwnPropertyDescriptor(b,d);e&&Object.defineProperty(a,d,e)}else a[d]=b[d]}function n(a,b){b=void 0===b?"":b;try{return decodeURIComponent(a)}catch(c){return b}};var ba=/(?:^[#?]?|&)([^=&]+)(?:=([^&]*))?/g;function u(a){var b=Object.create(null);if(!a)return b;for(var c;c=ba.exec(a);){var d=n(c[1],c[1]),e=c[2]?n(c[2],c[2]):"";b[d]=e}return b};var ca="";
function v(){var a=void 0,b=a||self,c;if(b.AMP_MODE)c=b.AMP_MODE;else{c=b;var d=!!(self.AMP_CONFIG||{}).test||!1,e=u(c.location.originalHash||c.location.hash),f=u(c.location.search);ca||(ca=c.AMP_CONFIG&&c.AMP_CONFIG.v?c.AMP_CONFIG.v:"011810052256480");c=b.AMP_MODE={localDev:!1,development:!("1"!=e.development&&!c.AMP_DEV_MODE),examiner:"2"==e.development,filter:e.filter,geoOverride:e["amp-geo"],minified:!0,lite:void 0!=f.amp_lite,test:d,log:e.log,version:"1810052256480",rtvVersion:ca}}return c}
;self.log=self.log||{user:null,dev:null,userForEmbed:null};var w=self.log;function y(){if(!w.user)throw Error("failed to call initLogConstructor");return w.user}function z(){if(w.dev)return w.dev;throw Error("failed to call initLogConstructor");};var A=Object.prototype.hasOwnProperty;function C(a){var b=Object.create(null);a&&Object.assign(b,a);return b}function D(a){return a||{}};function E(){var a,b;this.promise=new Promise(function(c,d){a=c;b=d});this.resolve=a;this.reject=b};function F(a,b){a=a.__AMP_TOP||a;return I(a,b)}function da(a,b){a=ea(a);a=J(a);return I(a,b)}function ga(a,b){return ha(J(a),b)}function ea(a){return a.nodeType?F((a.ownerDocument||a).defaultView,"ampdoc").getAmpDoc(a):a}function J(a){a=ea(a);return a.isSingleDoc()?a.win:a}function I(a,b){var c=ia(a);a=c[b];a.obj||(a.obj=new a.ctor(a.context),a.ctor=null,a.context=null,a.resolve&&a.resolve(a.obj));return a.obj}
function ja(a,b){var c=ha(a,b);if(c)return c;var d=new E,e=d,f=e.promise,e=e.resolve;ia(a)[b]={obj:null,promise:f,resolve:e,context:null,ctor:null};return f}function ha(a,b){var c=ia(a)[b];if(c){if(c.promise)return c.promise;I(a,b);return c.promise=Promise.resolve(c.obj)}return null}function ia(a){var b=a.services;b||(b=a.services={});return b};/*
 https://mths.be/cssescape v1.5.1 by @mathias | MIT license */
function ka(a,b){var c=a.length-b.length;return 0<=c&&a.indexOf(b,c)==c}function K(a,b){return b.length>a.length?!1:0==a.lastIndexOf(b,0)};var la;function ma(a,b){for(var c=[],d=a.parentElement;d;d=d.parentElement)b(d)&&c.push(d);return c}function na(a){var b="BODY",b=b.toUpperCase();return ma(a,function(a){return a.tagName==b})};function oa(a){return pa(a,"userNotificationManager","amp-user-notification",void 0).then(function(a){return y().assert(a,"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","amp-user-notification","amp-user-notification","amp-user-notification")})}
function pa(a,b,c,d){var e=ea(a),f=ga(a,b);return f?f:e.whenBodyAvailable().then(function(){var a;a=e.win;var b=e.getHeadNode(),d;if(b){d=[];for(var b=b.querySelectorAll("script[custom-element]"),f=0;f<b.length;f++)d.push(b[f].getAttribute("custom-element"))}else d=[];a=d.includes(c)?F(a,"extensions").waitForExtension(a,c):Promise.resolve();return a}).then(function(){var f;d?f=ga(a,b):(f=e.win,f=f.ampExtendedElements&&f.ampExtendedElements[c]?ja(J(a),b):null);return f})};function qa(a){return pa(a,"consentPolicyManager","amp-consent")};function ra(a){this.ia=a;this.N=this.X=0;this.J=Object.create(null)}ra.prototype.has=function(a){return!!this.J[a]};ra.prototype.get=function(a){var b=this.J[a];if(b)return b.access=++this.N,b.payload};ra.prototype.put=function(a,b){this.has(a)||this.X++;this.J[a]={payload:b,access:this.N};if(!(this.X<=this.ia)){z().warn("lru-cache","Trimming LRU cache");a=this.J;var c=this.N+1,d,e;for(e in a){var f=a[e].access;f<c&&(c=f,d=e)}void 0!==d&&(delete a[d],this.X--)}};var L=self.AMP_CONFIG||{},M={thirdParty:L.thirdPartyUrl||"https://3p.ampproject.net",thirdPartyFrameHost:L.thirdPartyFrameHost||"ampproject.net",thirdPartyFrameRegex:("string"==typeof L.thirdPartyFrameRegex?new RegExp(L.thirdPartyFrameRegex):L.thirdPartyFrameRegex)||/^d-\d+\.ampproject\.net$/,cdn:L.cdnUrl||"https://cdn.ampproject.org",cdnProxyRegex:("string"==typeof L.cdnProxyRegex?new RegExp(L.cdnProxyRegex):L.cdnProxyRegex)||/^https:\/\/([a-zA-Z0-9_-]+\.)?cdn\.ampproject\.org$/,localhostRegex:/^https?:\/\/localhost(:\d+)?$/,
errorReporting:L.errorReportingUrl||"https://amp-error-reporting.appspot.com/r",localDev:L.localDev||!1};D({c:!0,v:!0,a:!0,ad:!0});var sa,ta;
function N(a){var b;sa||(sa=self.document.createElement("a"),ta=self.UrlCache||(self.UrlCache=new ra(100)));var c=b?null:ta,d=sa;if(c&&c.has(a))a=c.get(a);else{d.href=a;d.protocol||(d.href=d.href);var e={href:d.href,protocol:d.protocol,host:d.host,hostname:d.hostname,port:"0"==d.port?"":d.port,pathname:d.pathname,search:d.search,hash:d.hash,origin:null};"/"!==e.pathname[0]&&(e.pathname="/"+e.pathname);if("http:"==e.protocol&&80==e.port||"https:"==e.protocol&&443==e.port)e.port="",e.host=e.hostname;
e.origin=d.origin&&"null"!=d.origin?d.origin:"data:"!=e.protocol&&e.host?e.protocol+"//"+e.host:e.href;c&&c.put(a,e);a=e}return a}function ua(a){"string"==typeof a&&(a=N(a));return"https:"==a.protocol||"localhost"==a.hostname||ka(a.hostname,".localhost")};function va(a){for(var b=a.nodeName,c=0,d=0,e=a.previousElementSibling;e&&25>d&&100>c;)e.nodeName==b&&d++,c++,e=e.previousElementSibling;return 25>d&&100>c?"."+d:""};function wa(a,b){return qa(a).then(function(a){return a?a.whenPolicyResolved(b):null})}function xa(a,b){return qa(a).then(function(a){return a?a.getMergedSharedData(b):null})};var O={_ping_:{renderStartImplemented:!0,clientIdScope:"_PING_",consentHandlingOverride:!0},"24smi":{prefetch:"https://jsn.24smi.net/smi.js",preconnect:"https://data.24smi.net"},a8:{prefetch:"https://statics.a8.net/amp/ad.js",renderStartImplemented:!0},a9:{prefetch:"https://c.amazon-adsystem.com/aax2/assoc.js"},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:!0},adblade:{prefetch:"https://web.adblade.com/js/ads/async/show.js",preconnect:["https://staticd.cdn.adblade.com","https://static.adblade.com"],renderStartImplemented:!0},adbutler:{prefetch:"https://servedbyadbutler.com/app.js"},adform:{},adfox:{prefetch:"https://yastatic.net/pcode/adfox/loader.js",renderStartImplemented:!0},adgeneration:{prefetch:"https://i.socdm.com/sdk/js/adg-script-loader.js"},adhese:{renderStartImplemented:!0},adincube:{renderStartImplemented:!0},adition:{},
adman:{},admanmedia:{renderStartImplemented:!0},admixer:{renderStartImplemented:!0,preconnect:["https://inv-nets.admixer.net","https://cdn.admixer.net"]},adocean:{},adpicker:{renderStartImplemented:!0},adplugg:{prefetch:"https://www.adplugg.com/serve/js/ad.js",renderStartImplemented:!0},adreactor:{},adsense:{prefetch:"https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js",preconnect:"https://googleads.g.doubleclick.net",clientIdScope:"AMP_ECID_GOOGLE",clientIdCookieName:"_ga",remoteHTMLDisabled:!0,
masterFrameAccessibleType:"google_network",fullWidthHeightRatio:1.2,mcFullWidthHeightRatio:.27,consentHandlingOverride:!0},adsnative:{prefetch:"https://static.adsnative.com/static/js/render.v1.js",preconnect:"https://api.adsnative.com"},adspeed:{preconnect:"https://g.adspeed.net",renderStartImplemented:!0},adspirit:{},adstir:{prefetch:"https://js.ad-stir.com/js/adstir_async.js",preconnect:"https://ad.ad-stir.com"},adtech:{prefetch:"https://s.aolcdn.com/os/ads/adsWrapper3.js",preconnect:["https://mads.at.atwola.com",
"https://aka-cdn.adtechus.com"]},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:!0},adunity:{preconnect:["https://content.adunity.com"],renderStartImplemented:!0},aduptech:{prefetch:"https://s.d.adup-tech.com/jsapi",preconnect:["https://d.adup-tech.com","https://m.adup-tech.com"],renderStartImplemented:!0},adventive:{preconnect:["https://ads.adventive.com",
"https://amp.adventivedev.com"],renderStartImplemented:!0},adverline:{prefetch:"https://ads.adverline.com/richmedias/amp.js",preconnect:["https://adnext.fr"],renderStartImplemented:!0},adverticum:{},advertserve:{renderStartImplemented:!0},adzerk:{},affiliateb:{prefetch:"https://track.affiliate-b.com/amp/a.js",renderStartImplemented:!0},aja:{renderStartImplemented:!0,prefetch:"https://cdn.as.amanad.adtdp.com/sdk/asot-v2.js"},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:!0},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"]},appnexus:{prefetch:"https://acdn.adnxs.com/ast/ast.js",preconnect:"https://ib.adnxs.com",renderStartImplemented:!0},atomx:{prefetch:"https://s.ato.mx/p.js"},
beopinion:{prefetch:"https://widget.beopinion.com/sdk.js",preconnect:["https://t.beopinion.com","https://s.beopinion.com","https://data.beopinion.com"],renderStartImplemented:!0},bidtellect:{},brainy:{},bringhub:{renderStartImplemented:!0,preconnect:["https://static.bh-cdn.com","https://core-api.bringhub.io"]},broadstreetads:{prefetch:"https://cdn.broadstreetads.com/init-2.min.js"},caajainfeed:{prefetch:["https://cdn.amanad.adtdp.com/sdk/ajaamp.js"],preconnect:["https://ad.amanad.adtdp.com"]},capirs:{renderStartImplemented:!0},
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:!0},chargeads:{},colombia:{prefetch:"https://static.clmbtech.com/ad/commons/js/colombia-amp.js"},connatix:{renderStartImplemented:!0},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"},
dable:{preconnect:["https://static.dable.io","https://api.dable.io","https://images.dable.io"],renderStartImplemented:!0},directadvert:{renderStartImplemented:!0},distroscale:{preconnect:["https://c.jsrdn.com","https://s.jsrdn.com","https://i.jsrdn.com"],renderStartImplemented:!0},dotandads:{prefetch:"https://amp.ad.dotandad.com/dotandadsAmp.js",preconnect:"https://bal.ad.dotandad.com"},eadv:{renderStartImplemented:!0,clientIdScope:"AMP_ECID_EADV",prefetch:["https://www.eadv.it/track/esr.min.js",
"https://www.eadv.it/track/ead.min.js"]},eas:{prefetch:"https://amp.emediate.eu/amp.v0.js",renderStartImplemented:!0},engageya:{},epeex:{},eplanning:{prefetch:"https://us.img.e-planning.net/layers/epl-amp.js"},ezoic:{prefetch:["https://www.googletagservices.com/tag/js/gpt.js","https://g.ezoic.net/ezoic/ampad.js"],clientIdScope:"AMP_ECID_EZOIC",consentHandlingOverride:!0},f1e:{prefetch:"https://img.ak.impact-ad.jp/util/f1e_amp.min.js"},f1h:{preconnect:"https://img.ak.impact-ad.jp",renderStartImplemented:!0},
fake:{},felmat:{prefetch:"https://t.felmat.net/js/fmamp.js",renderStartImplemented:!0},flite:{},fluct:{preconnect:["https://cdn-fluct.sh.adingo.jp","https://s.sh.adingo.jp","https://i.adingo.jp"]},fusion:{prefetch:"https://assets.adtomafusion.net/fusion/latest/fusion-amp.min.js"},genieessp:{prefetch:"https://js.gsspcln.jp/l/amp.js"},giraff:{renderStartImplemented:!0},gmossp:{prefetch:"https://cdn.gmossp-sp.jp/ads/amp.js"},gumgum:{prefetch:"https://g2.gumgum.com/javascripts/ad.js",renderStartImplemented:!0},
holder:{prefetch:"https://i.holder.com.ua/js2/holder/ajax/ampv1.js",preconnect:"https://h.holder.com.ua",renderStartImplemented:!0},ibillboard:{},imedia:{prefetch:"https://i.imedia.cz/js/im3.js",renderStartImplemented:!0},imobile:{prefetch:"https://spamp.i-mobile.co.jp/script/amp.js",preconnect:"https://spad.i-mobile.co.jp"},imonomy:{renderStartImplemented:!0},improvedigital:{},industrybrains:{prefetch:"https://web.industrybrains.com/js/ads/async/show.js",preconnect:["https://staticd.cdn.industrybrains.com",
"https://static.industrybrains.com"],renderStartImplemented:!0},inmobi:{prefetch:"https://cf.cdn.inmobi.com/ad/inmobi.secure.js",renderStartImplemented:!0},innity:{prefetch:"https://cdn.innity.net/admanager.js",preconnect:"https://as.innity.com",renderStartImplemented:!0},ix:{prefetch:["https://js-sec.indexww.com/apl/amp.js"],preconnect:"https://as-sec.casalemedia.com",renderStartImplemented:!0},kargo:{},kiosked:{renderStartImplemented:!0},kixer:{prefetch:"https://cdn.kixer.com/ad/load.js",renderStartImplemented:!0},
kuadio:{},ligatus:{prefetch:"https://ssl.ligatus.com/render/ligrend.js",renderStartImplemented:!0},lockerdome:{prefetch:"https://cdn2.lockerdomecdn.com/_js/amp.js",renderStartImplemented:!0},loka:{prefetch:"https://loka-cdn.akamaized.net/scene/amp.js",preconnect:["https://scene-front.lokaplatform.com","https://loka-materials.akamaized.net"],renderStartImplemented:!0},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"]},"mantis-recommend":{prefetch:"https://assets.mantisadnetwork.com/recommend.min.js",preconnect:["https://mantodea.mantisadnetwork.com","https://resize.mantisadnetwork.com"]},mediaimpact:{prefetch:"https://ec-ns.sascdn.com/diff/251/pages/amp_default.js",preconnect:["https://ww251.smartadserver.com","https://static.sascdn.com/"],renderStartImplemented:!0},medianet:{preconnect:"https://contextual.media.net",
renderStartImplemented:!0},mediavine:{prefetch:"https://amp.mediavine.com/wrapper.min.js",preconnect:["https://partner.googleadservices.com","https://securepubads.g.doubleclick.net","https://tpc.googlesyndication.com"],renderStartImplemented:!0,consentHandlingOverride:!0},medyanet:{renderStartImplemented:!0},meg:{renderStartImplemented:!0},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:!0},mixpo:{prefetch:"https://cdn.mixpo.com/js/loader.js",preconnect:["https://player1.mixpo.com","https://player2.mixpo.com"]},monetizer101:{renderStartImplemented:!0},mytarget:{prefetch:"https://ad.mail.ru/static/ads-async.js",renderStartImplemented:!0},mywidget:{preconnect:"https://likemore-fe.go.mail.ru",prefetch:"https://likemore-go.imgsmail.ru/widget_amp.js",renderStartImplemented:!0},nativo:{prefetch:"https://s.ntv.io/serve/load.js"},
navegg:{renderStartImplemented:!0},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:!0},noddus:{prefetch:"https://noddus.com/amp_loader.js",renderStartImplemented:!0},nokta:{prefetch:"https://static.virgul.com/theme/mockups/noktaamp/ampjs.js",renderStartImplemented:!0},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:!0},outbrain:{renderStartImplemented:!0,prefetch:"https://widgets.outbrain.com/widgetAMP/outbrainAMP.min.js",preconnect:["https://odb.outbrain.com"],consentHandlingOverride:!0},pixels:{prefetch:"https://cdn.adsfactor.net/amp/pixels-amp.min.js",clientIdCookieName:"__AF",renderStartImplemented:!0},plista:{},polymorphicads:{prefetch:"https://www.polymorphicads.jp/js/amp.js",preconnect:["https://img.polymorphicads.jp",
"https://ad.polymorphicads.jp"],renderStartImplemented:!0},popin:{renderStartImplemented:!0},postquare:{},pubexchange:{},pubguru:{renderStartImplemented:!0},pubmatic:{prefetch:"https://ads.pubmatic.com/AdServer/js/amp.js"},pubmine:{prefetch:["https://s.pubmine.com/head.js","https://s.pubmine.com/showad.js"],preconnect:"https://delivery.g.switchadhub.com",renderStartImplemented:!0},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:!0},quoraad:{prefetch:"https://a.quora.com/amp_ad.js",preconnect:"https://ampad.quora.com",renderStartImplemented:!0},realclick:{renderStartImplemented:!0},relap:{renderStartImplemented:!0},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:!0},revjet:{prefetch:"https://cdn.revjet.com/~cdn/JS/03/amp.js",
renderStartImplemented:!0},rfp:{prefetch:"https://js.rfp.fout.jp/rfp-amp.js",preconnect:"https://ad.rfp.fout.jp",renderStartImplemented:!0},rubicon:{},runative:{prefetch:"https://cdn.run-syndicate.com/sdk/v1/n.js",renderStartImplemented:!0},sekindo:{renderStartImplemented:!0},sharethrough:{renderStartImplemented:!0},sklik:{prefetch:"https://c.imedia.cz/js/amp.js"},slimcutmedia:{preconnect:["https://sb.freeskreen.com","https://static.freeskreen.com","https://video.freeskreen.com"],renderStartImplemented:!0},
smartadserver:{prefetch:"https://ec-ns.sascdn.com/diff/js/amp.v0.js",preconnect:"https://static.sascdn.com",renderStartImplemented:!0},smartclip:{prefetch:"https://cdn.smartclip.net/amp/amp.v0.js",preconnect:"https://des.smartclip.net",renderStartImplemented:!0},smi2:{renderStartImplemented:!0},sogouad:{prefetch:"https://theta.sogoucdn.com/wap/js/aw.js",renderStartImplemented:!0},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:!0},sovrn:{prefetch:"https://ap.lijit.com/www/sovrn_amp/sovrn_ads.js"},spotx:{preconnect:"https://js.spotx.tv",renderStartImplemented:!0},sunmedia:{prefetch:"https://vod.addevweb.com/sunmedia/amp/ads/sunmedia.js",preconnect:"https://static.addevweb.com",renderStartImplemented:!0},swoop:{prefetch:"https://www.swoop-amp.com/amp.js",preconnect:["https://www.swpsvc.com","https://client.swpcld.com"],renderStartImplemented:!0},
taboola:{},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:!0},triplelift:{},trugaze:{clientIdScope:"__tg_amp",renderStartImplemented:!0},uas:{prefetch:"https://ads.pubmatic.com/AdServer/js/phoenix.js"},uzou:{preconnect:["https://speee-ad.akamaized.net"],renderStartImplemented:!0},unruly:{prefetch:"https://video.unrulymedia.com/native/native-loader.js",renderStartImplemented:!0},
valuecommerce:{prefetch:"https://amp.valuecommerce.com/amp_bridge.js",preconnect:["https://ad.jp.ap.valuecommerce.com","https://ad.omks.valuecommerce.com"],renderStartImplemented:!0},videointelligence:{preconnect:"https://s.vi-serve.com",renderStartImplemented:!0},videonow:{renderStartImplemented:!0},viralize:{renderStartImplemented:!0},vmfive:{prefetch:"https://man.vm5apis.com/dist/adn-web-sdk.js",preconnect:["https://vawpro.vm5apis.com","https://vahfront.vm5apis.com"],renderStartImplemented:!0},
webediads:{prefetch:"https://eu1.wbdds.com/amp.min.js",preconnect:["https://goutee.top","https://mediaathay.org.uk"],renderStartImplemented:!0},"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"]},widespace:{},wisteria:{renderStartImplemented:!0},wpmedia:{prefetch:"https://std.wpcdn.pl/wpjslib/wpjslib-amp.js",preconnect:["https://www.wp.pl","https://v.wpimg.pl"],renderStartImplemented:!0},
xlift:{prefetch:"https://cdn.x-lift.jp/resources/common/xlift_amp.js",renderStartImplemented:!0},yahoo:{prefetch:"https://s.yimg.com/os/ampad/display.js",preconnect:"https://us.adserver.yahoo.com"},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"},yandex:{prefetch:"https://yastatic.net/partner-code/loaders/context_amp.js",renderStartImplemented:!0},yengo:{renderStartImplemented:!0},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:!0},yieldone:{prefetch:"https://img.ak.impact-ad.jp/ic/pone/commonjs/yone-amp.js"},yieldpro:{preconnect:"https://creatives.yieldpro.eu",renderStartImplemented:!0},zedo:{prefetch:"https://ss3.zedo.com/gecko/tag/Gecko.amp.min.js",renderStartImplemented:!0},zergnet:{},zucks:{preconnect:["https://j.zucks.net.zimg.jp",
"https://sh.zucks.net","https://k.zucks.net","https://static.zucks.net.zimg.jp"]}};function ya(a){var b=O[a.element.getAttribute("type")];return b&&b.clientIdScope?za(a.getAmpDoc(),b.clientIdScope,b.clientIdCookieName):Promise.resolve()}function za(a,b,c){var d,e=isNaN(d)||null==d?1E3:d,f=ja(J(a),"cid").then(function(a){if(a)return a.get({scope:b,createCookieIfNotPresent:!0,cookieName:c},Promise.resolve(void 0)).catch(function(a){z().error("AD-CID",a)})});return F(a.win,"timer").timeoutPromise(e,f,"cid timeout").catch(function(a){z().warn("AD-CID",a)})};function Aa(a,b){try{return JSON.parse(a)}catch(c){b&&b(c)}};function Ba(a){var b;try{b=a.document.cookie}catch(g){b=""}var c=b;if(!c)return null;var d=c.split(";");for(a=0;a<d.length;a++){var e=d[a].trim(),f=e.indexOf("=");if(-1!=f&&"AMP_EXP"==n(e.substring(0,f).trim(),void 0))return a=e.substring(f+1).trim(),n(a,a)}return null}function Ca(a,b,c,d){"ampproject.org"==d&&(b="delete",c=0);b=encodeURIComponent("AMP_EXP")+"="+encodeURIComponent(b)+"; path=/"+(d?"; domain="+d:"")+"; expires="+(new Date(c)).toUTCString();try{a.document.cookie=b}catch(e){}};function P(a,b){var c=Da(a);return!!c[b]}
function Ea(a,b,c){var d=!0,e=P(a,b),f=!(void 0!==c?!c:e);if(f!=e&&(Da(a)[b]=f,!d)){var g=Fa(a);g[b]=f;b=g;var h=[],k;for(k in b)h.push((!1===b[k]?"-":"")+k);a:{k=h.join(",");b={domain:a.location.hostname,allowOnProxyOrigin:!0};h=Date.now()+15552E6;if(!b||!b.allowOnProxyOrigin){var l=a.location.href;"string"==typeof l&&(l=N(l));if(M.cdnProxyRegex.test(l.origin))throw Error("Should never attempt to set cookie on proxy origin: AMP_EXP");var l=N(a.location.href).hostname.toLowerCase(),p=N(M.cdn).hostname.toLowerCase();
if(l==p||ka(l,"."+p))throw Error("Should never attempt to set cookie on proxy origin. (in depth check): AMP_EXP");}if(b&&b.highestAvailableDomain)for(var l=a.location.hostname.split("."),p=l[l.length-1],r=l.length-2;0<=r;r--)if(p=l[r]+"."+p,Ca(a,k,h,p),Ba(a)==k)break a;l=void 0;b&&b.domain&&(l=b.domain);Ca(a,k,h,l)}}}
function Da(a){if(a.__AMP__EXPERIMENT_TOGGLES)return a.__AMP__EXPERIMENT_TOGGLES;a.__AMP__EXPERIMENT_TOGGLES=Object.create(null);var b=a.__AMP__EXPERIMENT_TOGGLES;if(a.AMP_CONFIG)for(var c in a.AMP_CONFIG){var d=a.AMP_CONFIG[c];"number"===typeof d&&0<=d&&1>=d&&(b[c]=Math.random()<d)}if(a.AMP_CONFIG&&Array.isArray(a.AMP_CONFIG["allow-doc-opt-in"])&&0<a.AMP_CONFIG["allow-doc-opt-in"].length){var e=a.AMP_CONFIG["allow-doc-opt-in"];if(c=a.document.head.querySelector('meta[name="amp-experiments-opt-in"]')){var f=
c.getAttribute("content").split(",");for(c=0;c<f.length;c++)-1!=e.indexOf(f[c])&&(b[f[c]]=!0)}}Object.assign(b,Fa(a));if(a.AMP_CONFIG&&Array.isArray(a.AMP_CONFIG["allow-url-opt-in"])&&0<a.AMP_CONFIG["allow-url-opt-in"].length){c=a.AMP_CONFIG["allow-url-opt-in"];a=u(a.location.originalHash||a.location.hash);for(var g=0;g<c.length;g++){var h=a["e-"+c[g]];"1"==h&&(b[c[g]]=!0);"0"==h&&(b[c[g]]=!1)}}return b}
function Fa(a){var b=Ba(a),c=b?b.split(/\s*,\s*/g):[];a=Object.create(null);for(var d=0;d<c.length;d++)0!=c[d].length&&("-"==c[d][0]?a[c[d].substr(1)]=!1:a[c[d]]=!0);return a}
function Ga(a,b){a.experimentBranches=a.experimentBranches||{};var c={},d;for(d in b)if(A.call(b,d))if(A.call(a.experimentBranches,d))c[d]=a.experimentBranches[d];else if(!b[d].isTrafficEligible||!b[d].isTrafficEligible(a))a.experimentBranches[d]=null;else if(!a.experimentBranches[d]&&P(a,d)){var e=b[d].branches,f=e;a.experimentBranches[d]=f[Math.floor(Math.random()*f.length)]||null;c[d]=a.experimentBranches[d]}}function Q(a,b){return a.experimentBranches?a.experimentBranches[b]:null};var Ha=/^https:\/\/([a-zA-Z0-9_-]+\.)?cdn\.ampproject\.org((\/.*)|($))+/;function Ia(a,b){var c=a.filter(function(a){return Number(a)}).join(",");b=b||"";return b+(b&&c?",":"")+c};function Ja(a,b){var c=da(b,"viewer").getParam("exp")||u(a.location.search).exp;if(!c)return null;var d=["doubleclick"==(b.getAttribute("type")||"").toLowerCase()?"da":"aa","a4a"],e,f;d.forEach(function(a){return e=e||(f=(new RegExp("(?:^|,)"+a+":(-?\\d+)")).exec(c))&&f[1]});return e||null}function Ka(a){return a.every(function(a){return!isNaN(parseInt(a,10))})}
function La(a,b){if(a){var c=b.getAttribute("data-experiment-id"),d;if(d=c)d=c,d=Ka(d?d.split(","):[]);d?b.setAttribute("data-experiment-id",Ia([a],c)):b.setAttribute("data-experiment-id",a)}};function Ma(a,b,c,d){var e=!0;if(c=Na.maybeSelectExperiment(a,b,c,d))La(e?c:void 0,b),b=d,a.experimentBranches=a.experimentBranches||{},Ea(a,b,!!c),a.experimentBranches[b]=c}function Oa(){}Oa.prototype.maybeSelectExperiment=function(a,b,c,d){var e={};e[d]={isTrafficEligible:function(){return!0},branches:c};Ga(a,e);return Q(a,d)};var Na=new Oa;var Pa={"-1":"117152632",0:null};
function Qa(a,b,c){if(c||!b.getAttribute("data-ad-client"))return!1;Ma(a,b,["21062154","21062155"],"expAdsenseUnconditionedCanonical");var d=Ja(a,b),e=Pa[d||""];e&&(La(e,b),a.experimentBranches=a.experimentBranches||{},Ea(a,"expAdsenseA4A",!!e),a.experimentBranches.expAdsenseA4A=e,z().info("amp-ad-network-adsense-impl","url experiment selection "+d+": "+e+"."));Q(a,"expAdsenseUnconditionedCanonical")||Ha.test(a.location.origin)||Ma(a,b,["21062158","21062159"],"expAdsenseCanonical");return a.crypto&&
(a.crypto.subtle||a.crypto.webkitSubtle)&&(!!Ha.test(a.location.origin)||!1||!1)||"21062154"==Q(a,"expAdsenseUnconditionedCanonical")||"21062158"==Q(a,"expAdsenseCanonical")};function Ra(a,b,c){return!c};function Sa(a,b,c){var d;return!c&&!!(d=b.getAttribute("src"))&&!!b.getAttribute("data-use-a4a")&&(K(d,"https://sp.gmossp-sp.jp/")||K(d,"https://amp.sp.gmossp-sp.jp/_a4a/"))};function Ta(a,b,c){var d;return!c&&!!b.getAttribute("data-use-a4a")&&!!(d=b.getAttribute("src"))&&0==d.indexOf("https://ib.3lift.com/")};var Ua;function Va(){Ua||(Ua=C({adsense:Qa,adzerk:function(){return!0},doubleclick:function(){return!0},triplelift:Ta,cloudflare:Ra,gmossp:Sa,fake:function(){return!0}}));return Ua};var Wa,Xa="Webkit webkit Moz moz ms O o".split(" ");function R(a,b,c,d){var e=a.style;if(!K(b,"--")){Wa||(Wa=C());var f=Wa[b];if(!f){f=b;if(void 0===e[b]){var g=b.charAt(0).toUpperCase()+b.slice(1);b:{for(var h=0;h<Xa.length;h++){var k=Xa[h]+g;if(void 0!==e[k]){g=k;break b}}g=""}void 0!==e[g]&&(f=g)}Wa[b]=f}b=f}b&&(a.style[b]=d?c+d:c)};function Ya(a,b){pa(a,"amp-analytics-instrumentation","amp-analytics").then(function(c){c&&c.triggerEventForTarget(a,"user-error",b)})};self.AMPErrors=self.AMPErrors||[];["320","50"].map(function(a){return Number(a)});function Za(a,b,c){if(!(0==b&&0==c||0==a.width&&0==a.height)){b=a.left+b;c=a.top+c;var d=a.width;a=a.height;a={left:b,top:c,width:d,height:a,bottom:c+a,right:b+d,x:b,y:c}}return a};function $a(a,b){var c=100;function d(d){g=null;f=a.setTimeout(e,c);b.apply(null,d)}function e(){f=0;g&&d(g)}var f=0,g=null;return function(a){for(var b=[],c=0;c<arguments.length;++c)b[c-0]=arguments[c];f?g=b:d(b)}};function ab(a){if(!bb(a))return null;var b=a.indexOf("{");try{return JSON.parse(a.substr(b))}catch(c){return z().error("MESSAGING","Failed to parse message: "+a,c),null}}function bb(a){return"string"==typeof a&&0==a.indexOf("amp-")&&-1!=a.indexOf("{")};var cb={"AMP-FX-FLYING-CARPET":!0,"AMP-LIGHTBOX":!0,"AMP-STICKY-AD":!0,"AMP-LIGHTBOX-GALLERY":!0};function db(a,b){var c=!1,d=0;do{if(cb[a.tagName])d++,c=!1;else{var e=(b.getComputedStyle(a)||C()).position;"fixed"!=e&&"sticky"!=e||(c=!0)}a=a.parentElement}while(a&&"BODY"!=a.tagName);return!c&&1>=d}
function eb(a){if(void 0===a.__AMP__AD_CONTAINER){for(var b=a.parentElement;b&&"BODY"!=b.tagName;){if(cb[b.tagName])return a.__AMP__AD_CONTAINER=b.tagName;b=b.parentElement}a.__AMP__AD_CONTAINER=null}return a.__AMP__AD_CONTAINER};function S(a){this.h=a;this.j=a.element;this.R=a.win.document;this.O=null;if(this.j.hasAttribute("data-ad-container-id")){var b=this.j.getAttribute("data-ad-container-id");(b=this.R.getElementById(b))&&"AMP-LAYOUT"==b.tagName&&b.contains(this.j)&&(this.O=b)}a.getFallback()||(a=fb(this,"fallback"))&&this.h.element.appendChild(a)}S.prototype.createPlaceholder=function(){return fb(this,"placeholder")};
S.prototype.applyNoContentUI=function(){var a=this;if("AMP-STICKY-AD"==eb(this.j))this.h.collapse();else{var b;this.O?(b=this.j.getResources().attemptCollapse(this.O),b.then(function(){})):b=this.h.attemptCollapse();b.catch(function(){a.h.mutateElement(function(){a.h.togglePlaceholder(!1);a.h.toggleFallback(!0)})})}};S.prototype.applyUnlayoutUI=function(){var a=this;this.h.mutateElement(function(){a.h.toggleFallback(!1)})};
function fb(a,b){if("AMP-EMBED"==a.j.tagName)return null;var c=a.R.createElement("div");c.setAttribute(b,"");a=a.R.createElement("div");a.classList.add("i-amphtml-ad-default-holder");a.setAttribute("data-ad-holder-text","Ad");c.appendChild(a);return c}
S.prototype.updateSize=function(a,b,c,d){var e,f;a=parseInt(a,10);isNaN(a)||(e=Math.max(this.j.offsetHeight+a-c,a));b=parseInt(b,10);isNaN(b)||(f=Math.max(this.j.offsetWidth+b-d,b));var g={success:!0,newWidth:f,newHeight:e};return e||f?"AMP-STICKY-AD"==eb(this.j)?(g.success=!1,Promise.resolve(g)):this.h.attemptChangeSize(e,f).then(function(){return g},function(){g.success=!1;return g}):Promise.reject(Error("undefined width and height"))};AMP.AmpAdUIHandler=S;var gb=["script","style"],hb="amp-accordion amp-app-banner amp-carousel amp-fit-text amp-form amp-selector amp-sidebar".split(" "),ib="action alt class disabled height href id name placeholder readonly src tabindex title type value width".split(" ");
function jb(a,b,c){for(var d=[a],e=b.filter(function(a){return ib.includes(a)});0<d.length;)if(a=d.pop(),"string"===typeof a)c.push(a);else if(a.nodeType===Node.TEXT_NODE)c.push(a.textContent);else if(a.nodeType===Node.ELEMENT_NODE&&kb(a))for(lb(a,e,c),d.push("</"+a.tagName.toLowerCase()+">"),a=a.lastChild;a;a=a.previousSibling)d.push(a)}function kb(a){var b=a.tagName.toLowerCase();return K(b,"amp-")?!(!hb.includes(b)||!a.textContent):!(gb.includes(b)||!a.textContent)}
function lb(a,b,c){c.push("<"+a.tagName.toLowerCase());b.forEach(function(b){a.hasAttribute(b)&&c.push(" "+b+'="'+a.getAttribute(b)+'"')});c.push(">")};function mb(a,b){for(var c=0,d=0;d<a.length;d++){var e=a[d];b(e,d,a)||(c<d&&(a[c]=e),c++)}c<a.length&&(a.length=c)};function nb(a,b,c){var d=a.listeningFors;!d&&c&&(d=a.listeningFors=Object.create(null));a=d||null;if(!a)return a;var e=a[b];!e&&c&&(e=a[b]=[]);return e||null}function ob(a,b,c){var d=N(b.src).origin,e=c?b.getAttribute("data-amp-3p-sentinel"):"amp";a=nb(a,e,!0);for(var f,e=0;e<a.length;e++){var g=a[e];if(g.frame===b){f=g;break}}f||(f={frame:b,origin:d,events:Object.create(null)},a.push(f));return f.events}
function pb(a){for(var b=D({sentinel:"unlisten"}),c=a.length-1;0<=c;c--){var d=a[c];if(!d.frame.contentWindow){a.splice(c,1);var e=d.events,f;for(f in e)e[f].splice(0,Infinity).forEach(function(a){a(b)})}}}
function qb(a){if(!a.listeningFors){var b=function(b){if(b.data){var c=rb(b.data);if(c&&c.sentinel){var e;e=c.sentinel;var f=b.origin,g=b.source,h=nb(a,e);if(h){for(var k,l=0;l<h.length;l++){var p=h[l],r=p.frame.contentWindow;if(r)if("amp"===e){if(p.origin===f&&r==g){k=p;break}}else{var q;if(!(q=g==r))b:{for(q=g;q&&q!=q.parent;q=q.parent)if(q==r){q=!0;break b}q=!1}if(q){k=p;break}}else setTimeout(pb,0,h)}e=k?k.events:null}else e=h;var x=e;if(x){var B=x[c.type];if(B)for(B=B.slice(),e=0;e<B.length;e++)(0,B[e])(c,
b.source,b.origin)}}}};a.addEventListener("message",b)}}function T(a,b,c,d,e){function f(b,d,f){if(e||d==a.contentWindow)"unlisten"==b.sentinel?k():c(b,d,f)}var g=a.ownerDocument.defaultView;qb(g);d=ob(g,a,d);var h=d[b]||(d[b]=[]),k;h.push(f);return k=function(){if(f){var a=h.indexOf(f);-1<a&&h.splice(a,1);c=h=f=null}}}
function U(a,b){var c=[];"string"==typeof b&&(b=[b]);return new Promise(function(d){for(var e=0;e<b.length;e++){var f=T(a,b[e],function(a,b,e){for(var f=0;f<c.length;f++)c[f]();d({data:a,source:b,origin:e})},!0);c.push(f)}})}function sb(a,b,c,d,e){if(a.contentWindow)for(d.type=c,d.sentinel=e?a.getAttribute("data-amp-3p-sentinel"):"amp",a=d,e&&(a="amp-"+JSON.stringify(d)),d=0;d<b.length;d++)e=b[d],e.win.postMessage(a,e.origin)}
function rb(a){"string"==typeof a&&(a="{"==a.charAt(0)?Aa(a,function(a){z().warn("IFRAME-HELPER","Postmessage could not be parsed. Is it in a valid JSON format?",a)})||null:bb(a)?ab(a):null);return a}function V(a,b,c,d){var e=this;this.T=a;this.U=c;this.I=[];this.la=T(this.T,b,function(a,b,c){e.I.some(function(a){return a.win==b})||e.I.push({win:b,origin:c});d(a,b,c)},this.U,this.U)}V.prototype.send=function(a,b){mb(this.I,function(a){return!a.win.parent});sb(this.T,this.I,a,b,this.U)};
V.prototype.destroy=function(){this.la();this.I.length=0};function W(a,b,c){var d=this;this.H=a;this.ea=F(a.win,"timer");this.inViewport_=this.da=!1;this.C=[];this.K=0;this.ha=this.Z.bind(this);this.ca=new V(b,"send-intersections",c||!1,function(){return tb(d)});this.w=null}W.prototype.fire=function(){if(this.da){var a=this.H.element.getIntersectionChangeEntry();0<this.C.length&&this.C[this.C.length-1].time==a.time||(this.C.push(a),this.K||(this.Z(),this.K=this.ea.delay(this.ha,100)))}};
function tb(a){a.da=!0;a.H.getVsync().measure(function(){if(a.H.isInViewport())a.onViewportCallback(!0);a.fire()})}W.prototype.onViewportCallback=function(a){if(this.inViewport_!=a)if(this.inViewport_=a,this.fire(),a){var b=this.fire.bind(this),c=this.H.getViewport().onScroll(b),d=this.H.getViewport().onChanged(b);this.w=function(){c();d()}}else this.w&&(this.w(),this.w=null)};W.prototype.Z=function(){this.K=0;this.C.length&&(this.ca.send("intersection",D({changes:this.C})),this.C.length=0)};
W.prototype.destroy=function(){this.ea.cancel(this.K);this.w&&(this.w(),this.w=null);this.ca.destroy()};function X(a){this.M=a.win;this.h=a;this.j=a.element;this.fa=a.uiHandler;this.B=this.D=this.m=this.iframe=null;this.ba=!1;this.A=[];this.ga=da(this.h.getAmpDoc(),"viewer");this.L=da(this.h.getAmpDoc(),"viewport");this.W=!1}
X.prototype.init=function(a,b){var c=this;this.iframe=a;this.iframe.setAttribute("scrolling","no");this.h.applyFillContent(this.iframe);var d=F(this.h.win,"timer");this.m=new W(this.h,this.iframe,!0);this.D=new V(this.iframe,"send-embed-state",!0,function(){return ub(c,c.h.isInViewport())});if("21062154"==Q(this.M,"expAdsenseUnconditionedCanonical")||"21062158"==Q(this.M,"expAdsenseCanonical")||P(this.M,"inabox-position-api"))this.B=new V(this.iframe,"send-positions",!0,function(){vb(c);wb(c)});U(this.iframe,
"entity-id").then(function(a){c.j.creativeId=a.data.id});xb(this,"get-html",function(a){var b=a.selector;a=a.attributes;var d="";c.j.hasAttribute("data-html-access-allowed")&&(b=c.h.win.document.querySelector(b),d=[],b&&jb(b,a,d),d=d.join("").replace(/\s{2,}/g," "));return Promise.resolve(d)});xb(this,"get-consent-state",function(){return c.h.getConsentState().then(function(a){return{consentState:a}})});this.A.push(T(this.iframe,"embed-size",function(a,b,d){a.hasOverflow&&(c.j.warnOnMissingOverflow=
!1);yb(c,a.height,a.width,b,d)},!0,!0));this.A.push(this.ga.onVisibilityChanged(function(){ub(c,c.h.isInViewport())}));this.A.push(T(this.iframe,"user-error-in-iframe",function(a){a=a.message;if("string"==typeof a){var b=Error(a);b.name="3pError";a=c.h.win;P(a,"user-error-reporting")&&(b={errorName:b.name,errorMessage:b.message},a=F(a,"ampdoc").getAmpDoc().getRootNode(),Ya(a.documentElement||a.body||a,b))}},!0,!0));var e=this.h.loadPromise(this.iframe).then(function(){c.iframe&&(c.iframe.readyState=
"complete");return d.promise(10)});a=new E;var f=a.promise,g=a.resolve;a=new E;var h=a.promise,k=a.resolve;this.h.config&&this.h.config.renderStartImplemented?U(this.iframe,["render-start","no-content"]).then(function(a){"render-start"==a.data.type?(zb(c,a),g()):(Ab(c),k())}):(U(this.iframe,"bootstrap-loaded").then(function(){zb(c);g()}),U(this.iframe,"no-content").then(function(){Ab(c);k()}));U(this.iframe,"ini-load").then(function(){c.h.signals().signal("ini-load")});this.j.appendChild(this.iframe);
b?(zb(this),g()):R(this.iframe,"visibility","hidden");Promise.race([f,e,d.promise(1E4)]).then(function(){c.iframe&&R(c.iframe,"visibility","")});return Promise.race([e,h])};function xb(a,b,c){a.A.push(T(a.iframe,b,function(d,e,f){if(a.iframe){var g=d.messageId;c(d.payload).then(function(c){var d={messageId:g};d.content=c;sb(a.iframe,[{win:e,origin:f}],b+"-result",d,!0)})}},!0,!1))}function zb(a,b){a.h.renderStarted();if(b){var c=b.data;yb(a,c.height,c.width,b.source,b.origin)}}
X.prototype.freeXOriginIframe=function(a){Bb(this);if(!a&&this.iframe){var b=this.iframe;b.parentElement&&b.parentElement.removeChild(b);this.iframe=null}};function Ab(a){a.iframe&&(a.freeXOriginIframe(0<=a.iframe.name.indexOf("_master")),a.fa.applyNoContentUI())}function Bb(a){a.A.forEach(function(a){return a()});a.A.length=0;a.D&&(a.D.destroy(),a.D=null);a.B&&(a.B.destroy(),a.B=null);a.m&&(a.m.destroy(),a.m=null)}
function yb(a,b,c,d,e){a.h.getVsync().mutate(function(){a.iframe&&a.fa.updateSize(b,c,a.iframe.offsetHeight,a.iframe.offsetWidth).then(function(b){a.iframe&&sb(a.iframe,[{win:d,origin:e}],b.success?"embed-size-changed":"embed-size-denied",D({requestedWidth:b.newWidth,requestedHeight:b.newHeight}),!0)},function(){})})}function ub(a,b){a.D&&a.D.send("embed-state",D({inViewport:b,pageHidden:!a.ga.isVisible()}))}
function Cb(a){return a.L.getClientRectAsync(a.iframe).then(function(b){var c=a.L.getRect();return D({targetRect:b,viewportRect:c})})}function vb(a){a.W||(a.W=!0,Cb(a).then(function(b){a.W=!1;a.B.send("position",b)}))}function wb(a){a.ba||(a.ba=!0,a.A.push(a.L.onScroll($a(a.M,function(){Cb(a).then(function(b){a.B.send("position",b)})}))),a.A.push(a.L.onResize(function(){Cb(a).then(function(b){a.B.send("position",b)})})))}
X.prototype.viewportCallback=function(a){if(this.m)this.m.onViewportCallback(a);ub(this,a)};X.prototype.onLayoutMeasure=function(){this.m&&this.m.fire()};AMP.AmpAdXOriginIframeHandler=X;function Db(a){return"fixed"==a||"fixed-height"==a||"responsive"==a||"fill"==a||"flex-item"==a||"fluid"==a||"intrinsic"==a}function Eb(a){a=parseFloat(a);return"number"===typeof a&&isFinite(a)?a:void 0};var Y={};
function Fb(a,b,c,d){c=c||b.getAttribute("type");y().assert(c,"Attribute type required for <amp-ad>: %s",b);for(var e=0,f=a;f&&f!=f.parent;f=f.parent)e++;var e=String(e)+"-"+Gb(a),g=f={},h=b.dataset,k;for(k in h)K(k,"vars")||(g[k]=h[k]);if(k=b.getAttribute("json")){k=Aa(k);if(void 0===k)throw y().createError("Error parsing JSON in json attribute in element %s",b);for(var l in k)g[l]=k[l]}l=f;k=Date.now();f=b.getAttribute("width");g=b.getAttribute("height");l=l?l:{};l.width=Eb(f);l.height=Eb(g);b.getAttribute("title")&&
(l.title=b.getAttribute("title"));var p=a.location.href;"about:srcdoc"==p&&(p=a.parent.location.href);var f=ea(b),f=J(f),r=I(f,"documentInfo").get(),q=da(b,"viewer"),f=q.getUnconfirmedReferrerUrl(),x=b.getPageLayoutBox(),g=l,h=M.thirdParty+"/1810052256480/ampcontext-v0.js",B=r.sourceUrl,Pb=r.canonicalUrl,r=r.pageViewId,p={href:p},Qb=b.tagName,Rb={localDev:!1,development:v().development,filter:v().filter,minified:!0,lite:v().lite,test:!1,log:v().log,version:v().version,rtvVersion:v().rtvVersion},
Sb=!(!a.AMP_CONFIG||!a.AMP_CONFIG.canary),q=!q.isVisible(),x=x?{left:x.left,top:x.top,width:x.width,height:x.height}:null,Tb=b.getIntersectionChangeEntry(),t;t=b;for(var fa=[],G=0;t&&1==t.nodeType&&25>G;){var H="";t.id&&(H="/"+t.id);fa.push(""+t.nodeName.toLowerCase()+H+va(t));G++;t=t.parentElement}t=fa.join();fa=t.length;G=5381;for(H=0;H<fa;H++)G=33*G^t.charCodeAt(H);g._context=D({ampcontextVersion:"1810052256480",ampcontextFilepath:h,sourceUrl:B,referrer:f,canonicalUrl:Pb,pageViewId:r,
location:p,startTime:k,tagName:Qb,mode:Rb,canary:Sb,hidden:q,initialLayoutRect:x,initialIntersection:Tb,domFingerprint:String(G>>>0),experimentToggles:Da(a),sentinel:e});(a=b.getAttribute("src"))&&(l.src=a);f=l;f.type=c;Object.assign(f._context,d);return f}
function Hb(a,b,c,d,e){e=void 0===e?{}:e;var f=e.disallowCustom,g=e.allowFullscreen;d=Fb(a,b,c,d);e=a.document.createElement("iframe");Y[d.type]||(Y[d.type]=0);Y[d.type]+=1;c=Ib(a,c,f);var h=N(c).hostname,k=JSON.stringify(D({host:h,type:d.type,count:Y[d.type],attributes:d}));e.src=c;e.ampLocation=N(c);e.name=k;d.width&&(e.width=d.width);d.height&&(e.height=d.height);d.title&&(e.title=d.title);g&&e.setAttribute("allowfullscreen","true");e.setAttribute("scrolling","no");R(e,"border","none");e.onload=
function(){this.readyState="complete"};P(a,"no-sync-xhr-in-ads")&&e.setAttribute("allow","sync-xhr 'none';");P(a,"sandbox-ads")&&Jb(e);e.setAttribute("data-amp-3p-sentinel",d._context.sentinel);return e}function Kb(a,b,c,d){a=Ib(a,c,d);b.preload(a,"document");var e=M.thirdParty+"/1810052256480/f.js";b.preload(e,"script")}
function Ib(a,b,c){var d=void 0,e=a.bootstrapBaseUrl;if(e)a=e;else{var f;f=d;var g=a.document.querySelector('meta[name="amp-3p-iframe-src"]');if(g)if(c)y().error("3p-frame","3p iframe url disabled for "+(b||"unknown")),f=null;else{b=g.getAttribute("content");var h;h=void 0===h?"source":h;y().assert(null!=b,"%s %s must be available",g,h);y().assert(ua(b)||/^(\/\/)/.test(b),'%s %s must start with "https://" or "//" or be relative and served from either https or from localhost. Invalid value: %s',g,
h,b);y().assert(-1==b.indexOf("?"),"3p iframe url must not include query string %s in element %s.",b,g);h=N(b);y().assert("localhost"==h.hostname&&!f||h.origin!=N(a.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/master/spec/amp-iframe-origin-policy.md for details.",b,h.origin,g);f=b+"?1810052256480"}else f=null;f||(a.defaultBootstrapSubDomain=a.defaultBootstrapSubDomain||"d-"+
Gb(a),f="https://"+a.defaultBootstrapSubDomain+("."+M.thirdPartyFrameHost+"/1810052256480/")+"frame.html");a=a.bootstrapBaseUrl=f}return a}function Gb(a){var b;if(a.crypto&&a.crypto.getRandomValues){var c=new Uint32Array(2);a.crypto.getRandomValues(c);b=String(c[0])+c[1]}else b=String(a.Math.random()).substr(2)+"0";return b}
function Jb(a){if(a.sandbox&&a.sandbox.supports){for(var b=["allow-top-navigation-by-user-activation","allow-popups-to-escape-sandbox"],c="allow-forms allow-modals allow-pointer-lock allow-popups allow-same-origin allow-scripts".split(" "),d=0;d<b.length;d++){var e=b[d];if(!a.sandbox.supports(e)){z().info("3p-frame","Iframe doesn't support "+e);return}}a.sandbox=b.join(" ")+" "+c.join(" ")}};var Lb=null,Mb=null;function Nb(a,b){void 0===a["3pla"]&&(a["3pla"]=0);a["3pla"]++;if(!Lb){var c=new E;Lb=c.promise;Mb=c.resolve}F(a,"timer").timeoutPromise(1E3,b).catch(function(){}).then(function(){--a["3pla"]||(Mb(),Mb=Lb=null)})};function Ob(a){a=AMP.BaseElement.call(this,a)||this;a.T=null;a.config=null;a.uiHandler=null;a.l=null;a.ka=null;a.ja=null;a.aa=!1;a.S=null;a.w=null;a.m=null;a.P=void 0;a.F=null;a.G=void 0;a.$=!1;a.V=!1;return a}aa(Ob,AMP.BaseElement);m=Ob.prototype;m.getLayoutPriority=function(){var a=!this.element.getAmpDoc().isSingleDoc();return a?1:2};
m.renderOutsideViewport=function(){if(this.win["3pla"])return!1;var a;var b=this.element.getAttribute("data-loading-strategy");null==b?a=null:"prefer-viewability-over-views"==b||""==b?a=1.25:(a="Value of data-loading-strategy should be a float number in range of [0, 3], but got "+b,b=y().assertNumber(parseFloat(b),a),y().assert(0<=b&&3>=b,a),a=b);var c=a;return null!==c?c:AMP.BaseElement.prototype.renderOutsideViewport.call(this)};m.isLayoutSupported=function(a){return Db(a)};m.getResource=function(){return this.element.getResources().getResourceForElement(this.element)};
m.getConsentPolicy=function(){var a=this.element.getAttribute("type");return(a=O[a])&&a.consentHandlingOverride?null:AMP.BaseElement.prototype.getConsentPolicy.call(this)};
m.buildCallback=function(){this.G=this.element.getAttribute("type");var a=Math.round(this.getResource().getUpgradeDelayMs());z().info("amp-ad-3p-impl","upgradeDelay "+this.G+": "+a);this.ka=this.getPlaceholder();this.ja=this.getFallback();this.config=O[this.G];y().assert(this.config,'Type "'+this.G+'" is not supported in amp-ad');this.uiHandler=new S(this);var b;this.element.hasAttribute("data-full-width")?(y().assert("100vw"==this.element.getAttribute("width"),'Ad units with data-full-width must have width="100vw".'),
y().assert(!!this.config.fullWidthHeightRatio,"Ad network does not support full width ads."),y().assert(!!this.config.mcFullWidthHeightRatio,"Ad network does not support matched content full width ads."),z().info("amp-ad-3p-impl","#${this.getResource().getId()} Full width requested"),b=!0):b=!1;if(this.V=b)return Ub(this)};
m.preconnectCallback=function(a){var b=this;Kb(this.win,this.preconnect,this.G,this.config.remoteHTMLDisabled);"string"==typeof this.config.prefetch?this.preconnect.preload(this.config.prefetch,"script"):this.config.prefetch&&this.config.prefetch.forEach(function(a){b.preconnect.preload(a,"script")});"string"==typeof this.config.preconnect?this.preconnect.url(this.config.preconnect,a):this.config.preconnect&&this.config.preconnect.forEach(function(c){b.preconnect.url(c,a)});var c=this.element.getAttribute("src");
c&&this.preconnect.url(c)};m.onLayoutMeasure=function(){var a=this;this.aa=!db(this.element,this.win);void 0===this.P&&(this.P=eb(this.element));Vb(this);if(this.l)this.l.onLayoutMeasure();if(this.V&&!this.$){this.$=!0;var b=this.getLayoutBox();this.getVsync().run({measure:function(b){b.direction=(a.win.getComputedStyle(a.element)||C()).direction},mutate:function(c){"rtl"==c.direction?R(a.element,"marginRight",b.left,"px"):R(a.element,"marginLeft",-b.left,"px")}},{direction:""})}};
function Vb(a){if(a.l&&a.l.iframe){var b=a.getViewport().getLayoutRect(a.l.iframe),c=a.getLayoutBox();a.S=Za(b,-c.left,-c.top)}}m.getIntersectionElementLayoutBox=function(){if(!this.l||!this.l.iframe)return AMP.BaseElement.prototype.getIntersectionElementLayoutBox.call(this);var a=this.getLayoutBox();this.S||Vb(this);return Za(this.S,a.left,a.top)};
m.layoutCallback=function(){var a=this;if(this.F)return this.F;y().assert(!this.aa,"<amp-ad> is not allowed to be placed in elements with position:fixed: %s",this.element);var b=this.getConsentState(),c=AMP.BaseElement.prototype.getConsentPolicy.call(this),d=c?xa(this.getAmpDoc(),c):Promise.resolve(null);this.F=Promise.all([ya(this),b,d]).then(function(b){var c=Hb(a.element.ownerDocument.defaultView,a.element,a.G,{clientId:b[0]||null,container:a.P,initialConsentState:b[1],consentSharedData:b[2]},
{disallowCustom:a.config.remoteHTMLDisabled});a.l=new X(a);return a.l.init(c)});Nb(this.win,this.F);return this.F};m.viewportCallback=function(a){this.l&&this.l.viewportCallback(a)};m.unlayoutCallback=function(){this.F=null;this.uiHandler.applyUnlayoutUI();this.l&&(this.l.freeXOriginIframe(),this.l=null);return!0};m.createPlaceholderCallback=function(){return this.uiHandler.createPlaceholder()};
m.getConsentState=function(){var a=AMP.BaseElement.prototype.getConsentPolicy.call(this);return a?wa(this.getAmpDoc(),a):Promise.resolve(null)};function Ub(a){var b=a.getViewport().getSize(),c=Math.min(500,b.height),d=b.width,e=Wb(a,d,c);return a.attemptChangeSize(e,d).then(function(){z().info("amp-ad-3p-impl","Size change accepted: "+d+"x"+e)},function(){z().info("amp-ad-3p-impl","Size change rejected: "+d+"x"+e)})}
function Wb(a,b,c){return"mcrspv"==a.element.getAttribute("data-auto-format")?Math.max(100,Math.round(b/a.config.mcFullWidthHeightRatio)):Math.min(Math.max(Math.round(b/a.config.fullWidthHeightRatio),100),c)};var Xb={},Yb=null;function Zb(a){a=AMP.BaseElement.call(this,a)||this;a.Y=null;a.o=null;a.uiHandler=null;return a}aa(Zb,AMP.BaseElement);m=Zb.prototype;m.getLayoutPriority=function(){return 0};m.isLayoutSupported=function(a){return Db(a)};m.buildCallback=function(){this.Y=this.element.getAttribute("data-url");this.o=this.element.getAttribute("data-slot");y().assert(null===this.o||this.o.match(/^[0-9a-z]+$/),"custom ad slot should be alphanumeric: "+this.o);this.uiHandler=new S(this)};
m.layoutCallback=function(){var a=this,b=$b(this),c=Xb[b]||F(this.win,"xhr").fetchJson(b).then(function(a){return a.json()});null!==this.o&&(Xb[b]=c);return c.then(function(b){var c=b;null!==a.o&&(c=A.call(b,a.o)?b[a.o]:null);if(c&&"object"==typeof c){c=ac(a,c);a.renderStarted();try{F(a.win,"templates").findAndRenderTemplate(a.element,c).then(function(b){for(var c=a.element;c.firstChild;)c.removeChild(c.firstChild);a.element.appendChild(b);a.signals().signal("ini-load")})}catch(f){a.uiHandler.applyNoContentUI()}}else a.uiHandler.applyNoContentUI()})};
function ac(a,b){var c;c=a.element;if(null==la){var d=c.ownerDocument;try{var e=d.createElement("div"),f=d.createElement("div");e.appendChild(f);la=e.querySelector(":scope div")===f}catch(h){la=!1}}la?c=c.querySelector(":scope > template"):(c.classList.add("i-amphtml-scoped"),d=c.querySelector(".i-amphtml-scoped > template"),c.classList.remove("i-amphtml-scoped"),c=d);if(c)return b;y().assert(b.templateId,"TemplateId not specified");y().assert(b.data&&"object"==typeof b.data,"Template data not specified");
a.element.setAttribute("template",b.templateId);if(b.vars&&"object"==typeof b.vars)for(c=b.vars,d=Object.keys(c),e=0;e<d.length;e++){var g="data-vars-"+d[e];try{a.element.setAttribute(g,c[d[e]])}catch(h){a.user().error("amp-ad-custom","Fail to set attribute: ",h)}}return b.data}m.unlayoutCallback=function(){this.uiHandler.applyUnlayoutUI();return!0};m.createPlaceholderCallback=function(){return this.uiHandler.createPlaceholder()};
function $b(a){if(null===a.o)return a.Y;if(null===Yb){Yb={};for(var b={},c=na(a.element)[0].querySelectorAll("amp-ad[type=custom]"),d=0;d<c.length;d++){var e=c[d],f=e.getAttribute("data-url"),e=e.getAttribute("data-slot");null!==e&&(f in b||(b[f]=[]),b[f].push(encodeURIComponent(e)))}for(var g in b)c=Yb,(f=encodeURIComponent("ampslots")+"="+encodeURIComponent(b[g].join(",")))?(d=g.split("#",2),e=d[0].split("?",2),f=e[0]+(e[1]?"?"+e[1]+"&"+f:"?"+f),d=f+=d[1]?"#"+d[1]:""):d=g,c[g]=d}return Yb[a.Y]}
;function Z(a){return AMP.BaseElement.apply(this,arguments)||this}aa(Z,AMP.BaseElement);Z.prototype.isLayoutSupported=function(){return!0};
Z.prototype.upgradeCallback=function(){var a=this,b=Va(),c=this.element.getAttribute("data-consent-notification-id"),d=c?oa(this.element).then(function(a){return a.get(c)}):Promise.resolve(),e=this.element.getAttribute("type");return d.then(function(){var c="custom"===e;y().assert(c||A.call(O,e)||A.call(b,e),'Unknown ad type "'+e+'"');if(c)return new Zb(a.element);a.win.ampAdSlotIdCounter=a.win.ampAdSlotIdCounter||0;var d=a.win.ampAdSlotIdCounter++;return new Promise(function(c){a.getVsync().mutate(function(){a.element.setAttribute("data-amp-slot-index",
d);var f=!(O[e]||{}).remoteHTMLDisabled&&a.win.document.querySelector("meta[name=amp-3p-iframe-src]");if(!b[e]||!b[e](a.win,a.element,f))return c(new Ob(a.element));var g="amp-ad-network-"+e+"-impl";a.element.setAttribute("data-a4a-upgrade-type",g);c(F(a.win,"extensions").loadElementClass(g).then(function(b){return new b(a.element)}).catch(function(b){var c=a.element.tagName;a.user().error(c,"Unable to load ad implementation for type ",e,", falling back to 3p, error: ",b);return new Ob(a.element)}))})})})};
(function(a){a.registerElement("amp-ad",Z,'amp-ad iframe,amp-embed iframe{border:0!important;margin:0!important;padding:0!important}.i-amphtml-ad-default-holder{position:absolute;left:0;right:0;top:0;bottom:0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;background-color:hsla(0,0%,78.4%,0.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[data-a4a-upgrade-type=amp-ad-network-doubleclick-impl]>iframe,amp-ad[type=adsense]>iframe{top:50%!important;left:50%!important;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}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}\n/*# sourceURL=/extensions/amp-ad/0.1/amp-ad.css*/');
a.registerElement("amp-embed",Z)})(self.AMP);
})});
//# sourceMappingURL=amp-ad-0.1.js.map
