/*! * version: {"ads":"3.1.323 ver3","pwa":"3.1.323","core":"3.1.323","bundler":"3.1.323"} - env: prod - bundle date: 2025-05-29T18:39:59.605Z * */(()=>{"use strict";var __webpack_modules__={8:(e,t,i)=>{i.d(t,{A:()=>d});var s=i(335),n=i(284),a=i(456),r=i(101),o=i(862);class d{constructor(e){this.gpt=e,this.randomSuffix=1,this.divIdSuffix="-recovery",this.detectIds=["ats-insert_ads"],this.disconnectTime=3e5,this.delayTime=5e3,this.observers={},this.instances={},this.enableAdRecovery=!1,this.siteId=0,this.init=e=>{this.enableAdRecovery=e.enableAdRecovery,this.siteId=e.siteId},this.createFastlyLog=e=>{fetch(`https://anymind360.com/collect/ad_recovery?siteId=${this.siteId}&adUnitPath=${e}`,{headers:{"Content-Type":"text/plain"}}).then((()=>{s.vF.log("logged ad recovery")}))},this.removeAd=(e,t)=>{for(;e.firstChild;)s.vF.log("remove nodes",e.firstChild),e.removeChild(e.firstChild);this.observers[t].forEach((e=>e.disconnect())),this.executeAd(t)},this.executeAd=e=>{const t=this.instances[e];let i;switch(t.adInstance.adType){case"skyscraper":i=new n.G(this.gpt,t.settings,e,this);break;case"insert_ads":i=new a.W(this.gpt,t.settings,e,this);break;case"overlay":i=new r.h(this.gpt,t.settings,e,this);break;case"parallax":i=new o.k(this.gpt,t.settings,e,this);break;default:i=null}i&&(t.adInstance.dispose(),i.execute(document,!0),this.createFastlyLog(t.settings.adUnitPath))},this.createAdObserver=(e,t)=>{if(!this.enableAdRecovery)return;const i=JSON.parse(JSON.stringify(e));i.divIDs=i.divIDs.map((e=>e.includes(this.divIdSuffix)?e.split(this.divIdSuffix)[0]+this.divIdSuffix+this.randomSuffix++:e+this.divIdSuffix+this.randomSuffix++)),this.instances[t.instanceCount]={settings:i,adInstance:t}},this.shouldReplace=e=>"string"==typeof e&&!this.detectIds.some((t=>e.includes(t))),this.mutationCallback=(e,t)=>(i,s)=>{for(const n of i)if("childList"===n.type){const i=Array.from(n.addedNodes);if(i.length>0)for(const n of i){const i=n.id;if(this.shouldReplace(i))return this.removeAd(e,t),void s.disconnect()}}},this.mutationCallback1=(e,t)=>(i,s)=>{for(const n of i)if("childList"===n.type){const i=n.removedNodes,a=Array.from(i).some((t=>e===t)),r=Array.from(n.addedNodes);a&&(r.forEach((e=>e.remove())),this.executeAd(t),s.disconnect())}},this.dispose=()=>{Object.keys(this.observers).forEach((e=>{this.observers[e].forEach((e=>e.disconnect()))}))},this.observe=(e,t)=>{this.enableAdRecovery&&setTimeout((()=>{const i={childList:!0,subtree:!0},n=new MutationObserver(this.mutationCallback(e,t));let a=null;e.parentNode&&(a=new MutationObserver(this.mutationCallback1(e,t))),n.observe(e,i),this.observers[t]=[],this.observers[t].push(n),a&&e.parentNode&&(a.observe(e.parentNode,i),this.observers[t].push(a)),s.vF.log("start observe node: ",e),setTimeout((()=>{n.disconnect(),a&&a.disconnect(),s.vF.log("disconnect from observation of node: ",e)}),this.disconnectTime)}),this.delayTime)}}}},34:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{A:()=>AmazonPublisherService});var _Logger__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(335),_core_utils_util__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(939);class AmazonPublisherService{constructor(timeout,apsPubId,sellerId,parentAccountSiteDomain){this.timeout=timeout,this.apsPubId=apsPubId,this.sellerId=sellerId,this.parentAccountSiteDomain=parentAccountSiteDomain,this.isCalled=!1,this.noSlots=!1,this.onFirstApsResponseEnded=null,this.slotsDict={},this.configs=[],this.init=(e,t)=>{this.configs=e,this.waitUntilJSLoaded=t,this.isCalled||(this.isCalled=!0,this.loadAps()),window.apstag.init({pubID:this.apsPubId,adServer:"googletag",schain:this.getSchain()});const i=this.createParameters(this.configs,!1);if(0===i.length)return this.noSlots=!0,void _Logger__WEBPACK_IMPORTED_MODULE_0__.vF.error("aps: no slots");this.onFirstApsResponseEnded=this.fetchApsBids(i)},this.getSchain=()=>({complete:1,ver:"1.0",nodes:[{asi:this.parentAccountSiteDomain,sid:this.sellerId,hp:1}]}),this.callExternalScript=()=>{const e=e=>{try{e()}catch(e){_Logger__WEBPACK_IMPORTED_MODULE_0__.vF.error(e)}};window.anymindTSApstag=window.anymindTSApstag||{cmd:[]},window.anymindTSApstag.cmd.forEach(e),window.anymindTSApstag.cmd.splice(0),window.anymindTSApstag.cmd.push=e},this.loadAps=()=>{this.insertApsScriptTag("apstag",window,document,"script","//c.amazon-adsystem.com/aax2/apstag.js")},this.setTargeting=()=>{_Logger__WEBPACK_IMPORTED_MODULE_0__.vF.log("aps: setTargeting"),window.apstag.setDisplayBids()},this.fetchApsBids=e=>new Promise((t=>{window.apstag.fetchBids({slots:e,timeout:this.timeout},(e=>{_Logger__WEBPACK_IMPORTED_MODULE_0__.vF.log("aps return bids",e),t(!0)}))})),this.createParameters=(configs,force)=>{const slots=[];for(const config of configs)if(force||config.active||_Logger__WEBPACK_IMPORTED_MODULE_0__.vF.isDev)for(const tamAdUnit of config.settings.tamAdUnits)if((0,_core_utils_util__WEBPACK_IMPORTED_MODULE_1__.hg)(tamAdUnit.deviceSizes)){let slotID=tamAdUnit.slot.slotID;try{slotID="Function"===tamAdUnit.slot.divIDType&&eval(slotID)||slotID}catch(e){_Logger__WEBPACK_IMPORTED_MODULE_0__.vF.error("aps: The script to find the target failed.",e);continue}const apsAdSlot={slotID,slotName:tamAdUnit.slot.slotName,sizes:tamAdUnit.slot.sizes.filter((e=>e.enable||_Logger__WEBPACK_IMPORTED_MODULE_0__.vF.isDev)).reduce(((e,t)=>{for(const[i,s]of t.sizes)e.push([i,s]);return e}),[])};if(apsAdSlot.sizes.length<=0)continue;this.slotsDict[apsAdSlot.slotName]=apsAdSlot,slots.push(apsAdSlot);break}return _Logger__WEBPACK_IMPORTED_MODULE_0__.vF.log("aps: slots",slots),_Logger__WEBPACK_IMPORTED_MODULE_0__.vF.log("aps: slots dict",this.slotsDict),slots},this.reset=()=>{this.onFirstApsResponseEnded=null,this.noSlots=!1}}async insertApsScriptTag(e,t,i,s,n){if(t[e])return;function a(i,s){t[e]._Q.push([i,s])}t[e]={init:function(){a("i",arguments)},fetchBids:function(){a("f",arguments)},setDisplayBids:function(){},targetingKeys:function(){return[]},dpa:function(){a("di",arguments)},rpa:function(){a("ri",arguments)},upa:function(){a("ui",arguments)},_Q:[]},this.callExternalScript();await this.waitUntilJSLoaded,(()=>{const e=i.createElement(s);e.async=!0,e.src=n;const t=i.getElementsByTagName(s)[0];t.parentNode?.insertBefore(e,t)})()}}},67:(e,t,i)=>{i.d(t,{N:()=>r});var s=i(456),n=i(939),a=i(335);class r extends s.W{constructor(e,t,i,s){super(e,t,i,s),this.waitUntilInView=(e,t,i)=>new Promise((s=>{const a=(0,n.EW)(e,t,i);a&&(this.checkInViewTimer=setInterval((()=>{(0,n.TG)(a)&&(clearInterval(this.checkInViewTimer),s(!0))}),200))})),this.sleep=e=>new Promise((t=>setTimeout((()=>{t(!0)}),1e3*e))),this.lazyExecute=async(e,t,i)=>{const{selector:s,targetType:n}=this.config;await this.waitUntilInView(t,s,n),a.vF.log(`replace: wait ${e} second to replace with ${this.config.adUnitPath}`);const r=document.querySelector(s);r&&"true"===r.getAttribute("ats-non-replace")||(await this.sleep(e),await this.execute(t,i))},this._findTarget=e=>{const{selector:t,targetType:i}=this.config,s=(0,n.EW)(e,t,i);return null==s?null:(a.vF.log("Replace target",s),[s])},this._buildSlot=(e,t)=>{const{showAdvertisement:i,customShowAdsText:s,divIDs:n}=this.config;if(this.currentNumOfAds++,this.currentNumOfAds>this.config.numOfAds)return null;const a=n[this.currentNumOfAds-1]+(this.infinite?`-${this.executeCallCount}`:""),r=document.createElement("div"),o=document.createElement("div");if(o.classList.add("ats-slot"),i){const e=document.createElement("p"),t=document.createTextNode(s||this.ADVERTISEMENT_TEXT);e.appendChild(t),r.appendChild(e)}r.appendChild(o);const d=document.createElement("div"),l=`${a}-wrapper`;return d.id=l,d.classList.add(this.AD_NAME,this.CLASS_NAME),i&&d.classList.add(this.SHOW_ADVERTISEMENT),d.appendChild(r),e.insertAdjacentElement("beforebegin",d),e.remove(),this.slots[a]={baseElement:t,adUnitPath:this.config.adUnitPath,divId:a,slotWrapper:d,slot:o,isGPTRefreshCalled:!1,shouldStopRefresh:!1,...this.makeReplaceAdSenseParams()},a}}}},78:(e,t,i)=>{i.d(t,{Cu:()=>s,KB:()=>a,sp:()=>n});const s=-1!==(sessionStorage?.getItem("ats_debug")||"").indexOf("true")||-1!==location.search.slice(1).split("&").indexOf("ats_debug=true"),n=s||/only_log|enable_log/.test(sessionStorage?.getItem("ats_debug")||"")||-1!==location.search.slice(1).split("&").indexOf("ats_debug=only_log"),a=(e="true"!==window.sessionStorage.getItem("ats_debug"))=>{e?window.sessionStorage.setItem("ats_debug","true"):window.sessionStorage.removeItem("ats_debug"),location.reload()}},101:(e,t,i)=>{i.d(t,{h:()=>o});var s,n=i(939),a=i(335),r=i(599);!function(e){e[e.NORMAL=1]="NORMAL",e[e.AMP_LIKE=2]="AMP_LIKE",e[e.ADSENSE_LIKE=3]="ADSENSE_LIKE"}(s||(s={}));class o extends r.x{constructor(e,t,i,n){super(e,t,`ats-overlay-${t.anchorPosition}`,i,"overlay"),this.isOpen=!0,this._execute=(e,t=!1)=>(this.infinite=t,e),this._findTarget=()=>[document.body],this._buildSlot=e=>{const t=this.config.divIDs[0];this.slots[t]={slotWrapper:document.createElement("div"),slot:document.createElement("div"),divId:t,adUnitPath:this.config.adUnitPath,isGPTRefreshCalled:!1,shouldStopRefresh:!1,...this.makeReplaceAdSenseParams()},this.slots[t].slotWrapper.classList.add(`${this.AD_NAME}-wrapper-${this.UNRENDERED}`);const i=document.createElement("div");i.className=`${this.AD_NAME}-padding-block-top`;const n=document.createElement("div");return n.className=`${this.AD_NAME}-padding-block-bottom`,this.slots[t].slotWrapper.appendChild(i),this.config.overlayDesign===s.AMP_LIKE||this.config.overlayDesign===s.ADSENSE_LIKE?(this.config.overlayDesign===s.ADSENSE_LIKE&&(this.slots[t].slotWrapper.style.transition="bottom 1s ease-in-out, top 1s ease-in-out"),"bottom"===this.config.anchorPosition?(n.classList.add(`${this.AD_NAME}-${this.NOT_DISPLAYED}`),this.slots[t].slotWrapper.appendChild(this.closeButton),this.slots[t].slotWrapper.appendChild(this.slots[t].slot),this.slots[t].slotWrapper.appendChild(n)):(i.classList.add(`${this.AD_NAME}-${this.NOT_DISPLAYED}`),this.slots[t].slotWrapper.appendChild(this.slots[t].slot),this.slots[t].slotWrapper.appendChild(n),this.slots[t].slotWrapper.appendChild(this.closeButton))):(n.classList.add(`${this.AD_NAME}-${this.NOT_DISPLAYED}`),i.classList.add(`${this.AD_NAME}-${this.NOT_DISPLAYED}`),this.slots[t].slotWrapper.appendChild(this.slots[t].slot),this.slots[t].slotWrapper.appendChild(n)),e.insertAdjacentElement("afterbegin",this.slots[t].slotWrapper),t},this.deleteOverlay=(e,t)=>()=>{e&&googletag.destroySlots([e]),this.slots[t].shouldStopRefresh=!0,this.slots[t].slotWrapper.remove()},this.handleClickAdSenseLike=e=>()=>{const{anchorPosition:t}=this.config;if(this.isOpen){this.isOpen=!1,this.closeButton.style.backgroundImage="bottom"===this.config.anchorPosition?this.upArrowSvgUrl:this.downArrowSvgUrl,this.slots[e].shouldStopRefresh=!0;const i=this.slots[e].slotWrapper.getBoundingClientRect().height;"bottom"===t?this.slots[e].slotWrapper.style.bottom=`-${i}px`:this.slots[e].slotWrapper.style.top=`-${i}px`}else this.isOpen=!0,this.closeButton.style.backgroundImage="bottom"===this.config.anchorPosition?this.downArrowSvgUrl:this.upArrowSvgUrl,this.slots[e].shouldStopRefresh=!1,"bottom"===t?this.slots[e].slotWrapper.style.bottom="0px":this.slots[e].slotWrapper.style.top="0px"},this._getFetchAdConfig=e=>{const{adUnitPath:t,sizeMappingGroup:i,setCollapseEmptyDiv:s,setTargetingConfigs:n,enableSetForceSafeFrameForSlot:a}=this.config;return{gpt:{slotWrapperDiv:this.slots[e].slotWrapper,instanceCount:this.instanceCount,adUnitPath:t,sizes:[[300,250]],divId:e,enableSetForceSafeFrameForSlot:a,sizeMappingGroup:i,setCollapseEmptyDiv:s,setTargetingConfigs:n,onAfterGptRendered:this._onAfterGptRendered(e),onAfterGptFetched:this._onAfterGptFetched(e),infinite:this.infinite}}},this._onAfterGptFetched=e=>t=>{const{overlayDesign:i}=this.config;i===s.AMP_LIKE?this.closeButton.onclick=this.deleteOverlay(t,e):i===s.ADSENSE_LIKE&&(this.closeButton.onclick=this.handleClickAdSenseLike(e)),this.dispose=()=>{try{this.deleteOverlay(t,e)(),a.vF.log("o: dispose")}catch(e){a.vF.error(e)}}},this._onAfterGptRendered=e=>t=>{const i=this.slots[e];if(this.config.refreshInterval>0&&!1===i.isGPTRefreshCalled&&this.gpt.intervalRefreshAds([t.slot],this.config.refreshInterval,this.config.refreshLimit,e,this.slots,0,this.config.setTargetingConfigs),!t.size)return i.slotWrapper.classList.remove(`${this.AD_NAME}-wrapper-${this.RENDERED}`),void i.slotWrapper.classList.add(`${this.AD_NAME}-wrapper-${this.UNRENDERED}`);i.slotWrapper.classList.add(`${this.AD_NAME}-wrapper-${this.RENDERED}`),i.slotWrapper.classList.remove(`${this.AD_NAME}-wrapper-${this.UNRENDERED}`),i.eventSize=Array.isArray(t.size)?[t.size[0],t.size[1]]:[0,0];const s=t.size.join("x");"0x0"!==s&&"1x1"!==s&&(i.slot.style.width=t.size[0]+"px",i.slot.style.height=t.size[1]+"px")},this.dispose=()=>{a.vF.log("o: dispose. (Not overwritten yet)")},n.createAdObserver(this.config,this),this.closeButton=document.createElement("button"),this.closeButton.classList.add(`${this.AD_NAME}-close-button`)}_init(){this.initialArrowDown="bottom"===this.config.anchorPosition,this.upArrowSvgUrl="url(\"data:image/svg+xml;charset=utf-8,%3Csvg width='21' height='12' viewBox='0 0 21 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0.646454 11.6465L10.6465 1.64645L20.6465 11.6465' stroke='black' stroke-opacity='0.8'/%3E%3C/svg%3E%0A\")",this.downArrowSvgUrl="url(\"data:image/svg+xml;charset=utf-8,%3Csvg width='22' height='12' viewBox='0 0 22 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M21 1L11 11L1 1' stroke='black' stroke-opacity='0.8'/%3E%3C/svg%3E%0A\")",this.ampLikeSvg="url(\"data:image/svg+xml;charset=utf-8,%3Csvg width='13' height='13' viewBox='341 8 13 13' fill='black' fill-opacity='0.6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M354 9.31L352.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' fill-rule='evenodd'/%3E%3C/svg%3E\")"}_addStyle(){const e=`\n display: block !important;\n height: auto !important;\n visibility: visible;\n opacity: 1;\n will-change: opacity;\n width: 100%;\n position: fixed;\n left: 0;\n right: 0;\n ${this.config.anchorPosition}: 0;\n box-sizing: border-box;\n z-index: 2147483647;\n box-shadow: ${"bottom"===this.config.anchorPosition?"rgba(0, 0, 0, 0.4) 0px -4px 6px -3px":"rgba(0, 0, 0, 0.4) -2px 2px 6px -3px"};\n background: ${this.config.overlayDesign===s.NORMAL?this.config.backgroundCss||"rgba(0,0,0,0.8)":"#fff"};\n `;let t="";this.config.overlayDesign===s.AMP_LIKE?t=`\n display: block !important;\n background-image: ${this.ampLikeSvg};\n background-size: 13px 13px;\n background-position: center;\n background-color: #fff;\n background-repeat: no-repeat;\n border: none;\n height: 28px;\n width: 28px;\n padding: 0;\n margin: 0;\n position: absolute;\n right: 0;\n `+("top"===this.config.anchorPosition?"\n bottom: -27px;\n box-shadow: -1px 1px 1px 0 rgba(0,0,0,0.1);\n border-radius: 0 0 0 12px;\n ":"\n top: -27px;\n box-shadow: 0 -1px 1px 0 rgba(0,0,0,0.2);\n border-radius: 12px 0 0 0;\n "):this.config.overlayDesign===s.ADSENSE_LIKE&&(t=`\n display: block !important;\n background-image: ${this.initialArrowDown?this.downArrowSvgUrl:this.upArrowSvgUrl};\n background-size: 16px 16px;\n background-position: center;\n background-color: #fff;\n background-repeat: no-repeat;\n border: none;\n height: 28px;\n width: 56px;\n padding: 0;\n margin: 0;\n position: absolute;\n right: 0;\n `+("top"===this.config.anchorPosition?"\n bottom: -27px;\n box-shadow: -1px 1px 1px 0 rgba(0,0,0,0.1);\n border-radius: 0 0 6px 6px;\n ":"\n top: -27px;\n box-shadow: 0 -1px 1px 0 rgba(0,0,0,0.2);\n border-radius: 6px 6px 0 0;\n "));const i='\n position: absolute;\n content: "";\n '+("top"===this.config.anchorPosition?"\n top: 0px;\n right: 0;\n left: -20px;\n bottom: -20px;\n ":"\n top: -20px;\n right: 0;\n left: -20px;\n bottom: 0;\n ");(0,n.TD)(`\n .${this.AD_NAME}-wrapper-${this.UNRENDERED} {\n height: 1px;\n visibility: hidden;\n opacity: 0;\n will-change: opacity;\n transition: opacity 225ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;\n box-sizing: border-box;\n }\n \n .${this.AD_NAME}-wrapper-${this.RENDERED} {\n ${e}\n }\n \n \n .${this.AD_NAME}-wrapper-${this.RENDERED} > div,\n .${this.AD_NAME}-wrapper-${this.RENDERED} > div > div,\n .${this.AD_NAME}-wrapper-${this.RENDERED} > div > div > iframe {\n margin: 0 auto;\n text-align: center;\n }\n \n .${this.AD_NAME}-close-button::before {\n ${i}\n }\n \n .${this.AD_NAME}-close-button {\n ${t}\n }\n \n .${this.AD_NAME}-close-button:focus {\n outline: none;\n }\n \n .${this.AD_NAME}-padding-block-top {\n height: 4px;\n }\n \n .${this.AD_NAME}-padding-block-bottom {\n height: 4px;\n }\n \n .${this.AD_NAME}-${this.NOT_DISPLAYED} {\n display: none;\n }\n \n .${this.AD_NAME}-wrapper-${this.RENDERED} {\n ${this.config.customCss||""}\n }\n `,this.AD_NAME)}}},114:(e,t,i)=>{i.d(t,{m:()=>c});var s=i(335),n=i(939);const a=["interstitial","insert_ads","overlay","skyscraper","parallax","replace_ads","slider"],r=["interstitial","insert_ads","overlay","skyscraper","parallax","slider"],o=["overlay"],d=["insert_ads","skyscraper","parallax","replace_ads","slider"],l=["interstitial","overlay"];class c{constructor(e){this.originalConfig=e,this.siteSetting=this.originalConfig.siteSetting,this.configsForCurrentPage=[],this.apmConfig={pageId:null,formats:[]},this.gptOutOfPageSettings=[],this.separateRequestDivIds=[],this.prebidOnlySlotsDivIds=[],this.prebidOnlySlotsDivIdMap={},this.prebidAnalyticsConfig={adUnitIdPathMapping:{},amPrebidBidderMap:this.originalConfig.amPrebidBidderMap},this.gptSlotConfigsForSRA=[],this.gptSlotConfigs=[],this.referrerHistory=[],this.inIframe=()=>window!==window.parent,this.filterConfig=()=>{if(s.vF.log("device: ",this.userDeviceType),s.vF.log("url path: ",this.currentUrlPath),this.configsForCurrentPage.splice(0),this.apmConfig.pageId=null,this.apmConfig.formats.splice(0),this.gptOutOfPageSettings.splice(0),this.separateRequestDivIds.splice(0),this.prebidOnlySlotsDivIds.splice(0),this.gptSlotConfigsForSRA.splice(0),this.gptSlotConfigs.splice(0),this.prebidAnalyticsConfig.adUnitIdPathMapping={},this.prebidOnlySlotsDivIdMap={},this.originalConfig.configs.some((e=>e.enableReferrerTargeting&&e.enableKeepingReferrer&&e.domainList))){const e=(0,n.yz)(this.siteSetting.hostNames,location.hostname),t=(0,n.kU)(e,this.referrerHostName);this.referrerHistory.splice(0),this.referrerHistory.push(...(0,n.P7)(e,"ats_ads_referrer_history",this.referrerHostName,t))}const e=this.originalConfig.configs.filter((e=>!(o.some((t=>e.type===t))&&this.inIframe())&&(0,n.G)(e,this.currentUrlPath)&&(0,n.FC)(e.device,this.userDeviceType)&&(0,n.oj)(e,this.referrerHostName)&&(0,n.k3)(e,this.referrerHistory)));for(const t of e){if(a.some((e=>t.type===e))){const{adUnitPath:e,divIDs:i}=t.settings;i.forEach((t=>{this.gptSlotConfigs.push({adUnitPath:e,divId:t})}))}if(this.siteSetting.enableGamSingleRequest||this.siteSetting.enablePrebid||!(0,n.ze)(this.siteSetting.keywordsBlock)){let e=this.siteSetting.enableSeparateRequest?l:r;const i="functionTrigger"in t.settings&&t.settings.useFunctionTrigger;if("overlay"==t.type&&i&&(e=e.filter((e=>"overlay"!==e)),d.push("overlay")),e.some((e=>t.type===e))&&(t.active||s.vF.isDev)){const{adUnitPath:e,divIDs:i,setCollapseEmptyDiv:s,sizeMappingGroup:n,setTargetingConfigs:a,enableSetForceSafeFrameForSlot:r}=t.settings;i.forEach((t=>{this.gptSlotConfigsForSRA.push({adUnitPath:e,sizes:[[300,250]],divId:t,setCollapseEmptyDiv:s,sizeMappingGroup:n,setTargetingConfigs:a,enableSetForceSafeFrameForSlot:r})}))}if(this.siteSetting.enableSeparateRequest&&d.some((e=>t.type===e))&&(t.active||s.vF.isDev)){const{divIDs:e}=t.settings;this.separateRequestDivIds.push(...e)}if("prebid_only"===t.type&&(t.active||s.vF.isDev)){const{divID:e,divIDType:i,inViewRefresh:s}=t.settings;this.prebidAnalyticsConfig.adUnitIdPathMapping[e]={id:t.settings.adUnitId,path:t.settings.adUnitPath},t.settings.isPrebidOnly&&(this.prebidOnlySlotsDivIds.push(e),this.prebidOnlySlotsDivIdMap[e]={divIDType:i,inViewRefresh:s})}"adx_inst"===t.type&&(t.active||s.vF.isDev)&&this.gptOutOfPageSettings.push(t.settings),"adx_overlay"===t.type&&(t.active||s.vF.isDev)&&this.gptOutOfPageSettings.push(t.settings)}if("apm"===t.type&&(this.apmConfig.formats.push({id:t.settings.formatId}),this.apmConfig.pageId=t.settings.pageId),this.configsForCurrentPage.push(t),t.breakPoint&&(t.active||s.vF.isDev)){s.vF.log("this is break point, config: ",t);break}}}}get currentUrl(){const e=document.location.pathname+document.location.search+document.location.hash;return decodeURIComponent(e)}get currentUrlPath(){return decodeURIComponent(window.location.pathname)}get referrerHostName(){return""!==document.referrer?new URL(document.referrer).hostname:""}get userDeviceType(){return(0,n.gE)()}get filteredPrebidOnlySettings(){return this.configsForCurrentPage.filter((e=>"prebid_only"===e.type))}get filteredTamSettings(){return this.configsForCurrentPage.filter((e=>"tam"===e.type))}}},139:(e,t,i)=>{i.d(t,{jC:()=>o,rG:()=>d});var s=i(939),n=i(335);const a=window.sas=window.sas||{};a.cmd=a.cmd||[];const r=e=>(...t)=>{a.cmd.push((()=>e(...t)))};class o{constructor(){this.isCalled=!1,this.insertSasScript=e=>{(0,s.nL)(!0,`//ced.sascdn.com/tag/${e}/smart.js`)},this.setUpAndCall=(e,t,i)=>{this.isCalled||(this.isCalled=!0,a.setup({networkid:e,domain:"//www18.smartadserver.com",async:!0}),a.call("onecall",{siteId:t,pageId:i.pageId,formats:i.formats}))},this.render=e=>{n.vF.log("apm: render format id:",e),a.render(e)},this.setUpAndCall=r(this.setUpAndCall),this.render=r(this.render)}}o.sasDivIdPrefix="sas_";const d=new o},197:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{A:()=>waitUntilJSLoaded});var _core_utils_util__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(939),_Logger__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(335);const LIVE_LAMP_SCRIPT_URL="https://launchpad.privacymanager.io/1/launchpad.bundle.js",waitUntilJSLoaded=({enablePrebid,enableIdentityHub,identityHubPublisherId,identityHubProfileId,enableLiveRamp,liveRampJsURL,liveRampScript})=>{if(enablePrebid&&enableLiveRamp&&liveRampJsURL&&(_Logger__WEBPACK_IMPORTED_MODULE_1__.vF.log("enable LiveRamp"),window.setTimeout((()=>{if(/.*launchpad-wrapper\.privacymanager\.io\/.*/.test(liveRampJsURL)){const e=document.createElement("link");e.setAttribute("rel","preload"),e.setAttribute("href",LIVE_LAMP_SCRIPT_URL),e.setAttribute("as","script"),document.head.appendChild(e)}(0,_core_utils_util__WEBPACK_IMPORTED_MODULE_0__.nL)(!1,liveRampJsURL,(()=>{_Logger__WEBPACK_IMPORTED_MODULE_1__.vF.log("LiveRamp loaded");try{liveRampScript&&eval(liveRampScript)}catch(e){_Logger__WEBPACK_IMPORTED_MODULE_1__.vF.error("LiveRamp error",e)}}))}))),enablePrebid&&enableIdentityHub&&identityHubPublisherId&&identityHubProfileId)return new Promise((e=>{_Logger__WEBPACK_IMPORTED_MODULE_1__.vF.log("enable PWT");let t=!1;const i=()=>{t||(t=!0,_Logger__WEBPACK_IMPORTED_MODULE_1__.vF.log("PWT loaded"),e())};window.PWT=window.PWT||{},window.PWT.jsLoaded=()=>{location.hostname.match(/proxypy.org|printwhatyoulike.com/)||i()},setTimeout((()=>{_Logger__WEBPACK_IMPORTED_MODULE_1__.vF.log("PWT timeout"),i()}),500);const s=window.location.href;let n="";if(s.indexOf("pwtv=")>0){const e=/pwtv=(.*?)(&|$)/g.exec(s);e&&e.length>=2&&e[1].length>0&&(n="/"+e[1])}(0,_core_utils_util__WEBPACK_IMPORTED_MODULE_0__.nL)(!0,`//ads.pubmatic.com/AdServer/js/pwt/${identityHubPublisherId}/${identityHubProfileId}${n}/pwt.js`)}))}},284:(e,t,i)=>{i.d(t,{G:()=>r});var s=i(939),n=i(335),a=i(599);class r extends a.x{constructor(e,t,i,a){super(e,t,"ats-skyscraper",i,"skyscraper"),this.executeCount=0,this.adSizes=null,this.maxAdSizes=[300,250],this._execute=(e,t=!1)=>(this.infinite=t,this.executeCount++,e),this._findTarget=e=>{if(null===this.adSizes)return null;const{adUnitPath:t,targetType:i,selector:a,anchorPosition:r}=this.config,o=(0,s.EW)(e,a,i);if(!o)return null;const d=o.getBoundingClientRect(),l=d.width,c="left"===r?d[r]:window.innerWidth-d[r],p=l+this.marginSide+this.extractMaxAdSize(this.adSizes)[0];return window.innerWidth{const{sizeMappingGroup:s,setCollapseEmptyDiv:n,setTargetingConfigs:a,enableSetForceSafeFrameForSlot:r}=this.config;return{gpt:{slotWrapperDiv:this.slots[e].slotWrapper,instanceCount:this.instanceCount,adUnitPath:this.slots[e].adUnitPath,sizes:[[300,250]],divId:e,sizeMappingGroup:s,setCollapseEmptyDiv:n,setTargetingConfigs:a,enableSetForceSafeFrameForSlot:r,onAfterGptFetched:this._onAfterGptFetched(e),onAfterGptRendered:this._onAfterGptRendered(e,t),infinite:i}}},this._onAfterGptFetched=e=>t=>{this.slots[e].googletagSlot=t,this.slots[e].dispose=()=>{googletag.destroySlots([t]),this.slots[e].slotWrapper.remove()}},this._onAfterGptRendered=(e,t)=>i=>{if(null===i.size)return;const{isSticky:s,anchorPosition:a,refreshInterval:r,refreshLimit:o,inViewRate:d,setTargetingConfigs:l,showAdsText:c}=this.config,p=this.slots[e];r>0&&!1===p.isGPTRefreshCalled&&this.gpt.intervalRefreshAds([i.slot],r,o,e,this.slots,d,l),p.eventSize=Array.isArray(i.size)?[i.size[0],i.size[1]]:[0,0],c&&p.slot.classList.add(this.RENDERED);const h=t.getBoundingClientRect().width,g=p.slotWrapper,u=i.size;g.style[a]=`calc(50% - ${h/2+u[0]+this.marginSide}px)`,u[0](e.sort(((e,t)=>t[1]-e[1])),e.sort(((e,t)=>t[0]-e[0])),e[0]),this.stickyNodes=(e,t,i)=>{let s;const n=()=>{s&&window.cancelAnimationFrame(s),s=window.requestAnimationFrame((()=>{const s=e.getBoundingClientRect();s.top>0?(this.setWrapperStyle(t,"position","absolute"),this.setWrapperStyle(t,"top",`${this.marginTop+s.top+window.pageYOffset}px`)):s.top+s.height-i[1]-this.marginTop-this.marginBottom<0?(this.setWrapperStyle(t,"position","absolute"),this.setWrapperStyle(t,"top",s.top+window.pageYOffset+s.height-i[1]-this.marginBottom+"px")):(this.setWrapperStyle(t,"position","fixed"),this.setWrapperStyle(t,"top",this.marginTop+"px"))}))};this.slots[t].removeScrollEventListener=()=>{s&&window.cancelAnimationFrame(s),window.removeEventListener("scroll",n)},window.addEventListener("scroll",n)},this.dispose=()=>{try{for(const e in this.slots)if(Object.prototype.hasOwnProperty.call(this.slots,e)){const t=this.slots[e];t.shouldStopRefresh=!0,t.removeScrollEventListener&&t.removeScrollEventListener(),t.dispose&&t.dispose()}}catch(e){n.vF.error(e)}},a.createAdObserver(this.config,this);const{margin:r,sizeMappingGroup:o,anchorPosition:d}=this.config,l=r.split(" ").map((e=>parseInt(e.slice(0,-2))));this.marginSide="left"===d?l[1]:l[3],this.marginTop=l[0],this.marginBottom=l[2];for(let e=0;e"fluid"!==e));this.adSizes=e,this.maxAdSizes=this.extractMaxAdSize(this.adSizes);break}}}_init(){}_addStyle(){const{customCssForShowAdsText:e,customShowAdsText:t,showAdsText:i,divIDs:n}=this.config,a=n[0];let r=`\n .${this.AD_NAME}-wrapper {\n position: absolute;\n }\n `;i&&(r=r.concat(`div[id^=${a}].${this.RENDERED} ::before {\n content: "${t||"ADVERTISEMENT"}";\n color: #8a9299;\n font-size: 11px;\n position: relative;\n top: -4px;\n text-align: center;\n display: block;\n font-family: sans-serif;\n letter-spacing: 0.6px;\n width: 120px;\n }`),e&&(r=r.concat(`div[id^=${a}].${this.RENDERED} ::before {${e}}`))),(0,s.TD)(r,a)}_buildSlot(e){const t=this.config.divIDs[0]+this.executeCountSuffix,i=e.getBoundingClientRect().top+window.pageYOffset,s=document.createElement("div");s.classList.add(`${this.AD_NAME}-wrapper`),s.style.top=`${this.marginTop+i}px`;const n=document.createElement("div");return n.classList.add(this.AD_NAME),this.slots[t]={slotWrapper:s,adUnitPath:this.config.adUnitPath,divId:t,slot:n,isGPTRefreshCalled:!1,shouldStopRefresh:!1,...this.makeReplaceAdSenseParams()},s.appendChild(n),window.document.body.appendChild(s),t}get executeCountSuffix(){return this.infinite?"_"+this.executeCount.toString():""}setWrapperStyle(e,t,i){this.slots[e].slotWrapper.style[t]=i}}},292:(e,t,i)=>{i.d(t,{D0:()=>c,Hi:()=>h,L1:()=>r,PI:()=>d,X1:()=>l,ap:()=>s,fX:()=>n,qp:()=>p,yN:()=>o,z1:()=>a});const s={USD:{USD:1,HKD:7.75,JPY:110,PHP:51.22,SGD:1.4,CNY:6.9,THB:34,MYR:4.24,IDR:14710,EUR:.9}},n=[{bidder:"criteo"},{bidder:"ix",versions:[5]},{bidder:"openx"}],a={buckets:[{precision:2,min:0,max:4,increment:.01},{precision:2,min:4,max:20,increment:.1}]},r={adgeneration:{bidCpmAdjustment:e=>.85*e},standard:{storageAllowed:!0}},o={alwaysUseBid:!0,sendStandardTargeting:!1,suppressEmptyKeys:!0,adserverTargeting:[{key:"adt",val:e=>e.adt},{key:"alc",val:e=>e.alc},{key:"dlm",val:e=>e.dlm},{key:"drg",val:e=>e.drg},{key:"hat",val:e=>e.hat},{key:"off",val:e=>e.off},{key:"vio",val:e=>e.vio},{key:"fr",val:e=>e.fr},{key:"id",val:e=>e.slots[e.adUnitCode].id},{key:"vw",val:e=>e.slots[e.adUnitCode].vw},{key:"grm",val:e=>e.slots[e.adUnitCode].grm},{key:"pub",val:e=>e.slots[e.adUnitCode].pub},{key:"vw05",val:e=>e.slots[e.adUnitCode].vw05},{key:"vw10",val:e=>e.slots[e.adUnitCode].vw10},{key:"vw15",val:e=>e.slots[e.adUnitCode].vw15},{key:"vw30",val:e=>e.slots[e.adUnitCode].vw30}]},d=["criteo","pubmatic","unruly","ix"],l={maxTopicCaller:2,bidders:[{bidder:"pubmatic",iframeURL:"https://ads.pubmatic.com/AdServer/js/topics/topics_frame.html",expiry:7},{bidder:"yandex",iframeURL:"https://yandex.ru/ads/prebid/topics_frame.html",expiry:7}]},c=["relaido","teads"],p=/^ats-insert_ads_flexible-\d+-\d+(-\d+)?$/,h=/^ats-insert_ads_flexible-\d+-[1-9]+(-\d+)?$/},297:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{A:()=>AdxReward});var _Logger__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(335),_Gpt__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(554),_core_utils_util__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(939),_FunctionTargeting__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(472);class AdxRewardLogger{constructor(e=_Logger__WEBPACK_IMPORTED_MODULE_0__.vF){this.logger=e,this.log=(...e)=>{this.logger.log("reward:",...e)},this.error=(...e)=>{this.logger.error("reward:",...e)}}}const rewardLogger=new AdxRewardLogger;class AdxReward{constructor(gpt,config,indexCount){this.gpt=gpt,this.config=config,this.indexCount=indexCount,this.atsElm=window.document,this.originalElement=null,this.tempElement=null,this.rewardedSlot=null,this.storageKey="",this.tryCatchEval=callbackStr=>()=>{try{eval(callbackStr)}catch(e){rewardLogger.error(e)}},this.execute=async e=>{this.atsElm=e,this.blockByFrequency(this.config.frequency,this.storageKey,this.lastValue)||(this.config.useFunctionTrigger&&this.config.functionTrigger&&await this.checkFunctionTrigger(e),await this.gpt.setPPIDPromise,this.rewardedSlot=this.gpt.defineAdxRewardSlot(this.config.adUnitPath,this.config.setTargetingConfigs),this.rewardedSlot&&(this.gpt.addEventListener("rewardedSlotReady",this.onRewardedSlotReady),this.gpt.addEventListener("rewardedSlotGranted",this.onRewardedSlotGranted),this.gpt.addEventListener("rewardedSlotClosed",this.onRewardedSlotClosed),this.gpt.display(this.rewardedSlot),this.gpt.isInitialLoadDisabled()&&this.gpt.refreshAds([this.rewardedSlot])))},this.checkFunctionTrigger=async e=>{this.config.useFunctionTrigger&&this.config.functionTrigger&&(rewardLogger.log("use functionTrigger:"+this.config.adUnitPath),await _FunctionTargeting__WEBPACK_IMPORTED_MODULE_3__.O.waitForConditionMet(e||document,this.indexCount,this.config.functionTrigger,this.config.adUnitPath))},this.blockByFrequency=(e,t,i)=>{const s={timeStamp:0,rsg:!1},n=Date.now();s.timeStamp=n;const a=i.timeStamp,r=i.rsg;return a&&n-a<60*e*1e3&&r?(rewardLogger.log("no display by frequency"),!0):(sessionStorage.setItem(t,JSON.stringify(s)),!1)},this.showPopupBeforeAds=e=>confirm(e),this.onRewardedSlotReady=e=>{if(e.slot===this.rewardedSlot){if(rewardLogger.log("rewardedSlotReady"),this.originalElement=(0,_core_utils_util__WEBPACK_IMPORTED_MODULE_2__.EW)(this.atsElm,this.config.selector,this.config.targetType)||null,!this.originalElement)return;this.tempElement=this.originalElement.cloneNode(!0),this.replaceElement(this.originalElement,this.tempElement),this.cbRewardIsReady();const t=()=>{this.showPopupBeforeAds(this.config.popupMessageBeforeAds)&&e.makeRewardedVisible()};this.tempElement.addEventListener("click",(e=>{e.preventDefault(),t()}))}},this.replaceElement=(e,t)=>{e&&t&&e.parentNode&&e.parentNode.replaceChild(t,e)},this.onRewardedSlotGranted=e=>{if(e.slot===this.rewardedSlot){rewardLogger.log("rewardedSlotGranted"),this.gpt.removeEventListener("rewardedSlotGranted",this.onRewardedSlotGranted);const e={timeStamp:Date.now(),rsg:!0};sessionStorage.setItem(this.storageKey,JSON.stringify(e)),this.cbAfterRewarded(),this.originalElement?.click(),this.replaceElement(this.tempElement,this.originalElement)}},this.onRewardedSlotClosed=e=>{e.slot===this.rewardedSlot&&(rewardLogger.log("rewardedSlotClosed"),this.gpt.removeEventListener("rewardedSlotClosed",this.onRewardedSlotClosed),this.rewardedSlot&&this.gpt.destroySlots([this.rewardedSlot]),this.replaceElement(this.tempElement,this.originalElement))},this.dispose=()=>{this.rewardedSlot&&this.gpt.destroySlots([this.rewardedSlot]),this.replaceElement(this.tempElement,this.originalElement)},this.cbRewardIsReady=this.tryCatchEval(this.config.cbRewardIsReady),this.cbAfterRewarded=this.tryCatchEval(this.config.cbAfterRewarded),this.execute=(0,_Gpt__WEBPACK_IMPORTED_MODULE_1__._7)(this.execute),this.storageKey=`amrwd_${indexCount}_${this.config.adUnitPath}`,this.lastValue=JSON.parse(sessionStorage.getItem(this.storageKey)||"{}")}}},326:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{A:()=>Prebid});var _Logger__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(335),_core_utils_util__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(939),_config_prebid__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(292),_Gpt__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(554);class Prebid{constructor(prebidSettings,siteId,parentAccountSiteDomain,prebidAnalyticsConfig,applyGDPR){this.prebidSettings=prebidSettings,this.siteId=siteId,this.parentAccountSiteDomain=parentAccountSiteDomain,this.prebidAnalyticsConfig=prebidAnalyticsConfig,this.applyGDPR=applyGDPR,this.isCalled=!1,this.noAdUnits=!1,this.onFirstPrebidResponseEnded=null,this.adUnitsDict={},this.adUnitsCodeDict={},this.configs=[],this.adagioOrganizationId="",this.adagioSite="",this.init=(configs,waitUntilJSLoaded)=>{this.configs=configs,this.noAdUnits=!1;const adUnits=this.createParamaters(this.configs,!1);this.setUpAdagio(adUnits),this.prebidSettings.prebidUseAtspbjs?this.pbjs=window.atspbjs=window.atspbjs||{que:[]}:this.pbjs=window.pbjs=window.pbjs||{que:[]},this.isCalled||(this.isCalled=!0,waitUntilJSLoaded?waitUntilJSLoaded.then((()=>{(0,_core_utils_util__WEBPACK_IMPORTED_MODULE_1__.nL)(!0,this.prebidSettings.prebidJsURL)})):(0,_core_utils_util__WEBPACK_IMPORTED_MODULE_1__.nL)(!0,this.prebidSettings.prebidJsURL));const intentIQ=this.prebidSettings.intentIQ;if(intentIQ&&this.prebidSettings.prebidVersion<9&&(this.waitIntentIQ=this.callIntentIQ(intentIQ)),this.pbjs.que.push((()=>{_Logger__WEBPACK_IMPORTED_MODULE_0__.vF.log(this.prebidSettings.prebidUseAtspbjs?"atspbjs":"pbjs","Prebid.js",this.pbjs.version),this.prebidSettings.enableSchain&&this.setSchain(this.configs,!1),this.pbjs.aliasBidder("appnexus","dg"),this.pbjs.aliasBidder("appnexus","xandr"),this.pbjs.aliasBidder("microad","microad_wipe"),this.pbjs.aliasBidder("microad","microad_irs"),this.pbjs.bidderSettings=_config_prebid__WEBPACK_IMPORTED_MODULE_2__.L1;const prebidConfig=this.createPrebidConfig(this.prebidSettings);if(this.enableFledgeModule(),this.pbjs.setConfig(prebidConfig),this.configs.some((({settings:e})=>e.prebidAdUnits.some((({deviceSizes:e,atsPrebidAdUnits:t})=>(0,_core_utils_util__WEBPACK_IMPORTED_MODULE_1__.hg)(e)&&t.some((({bids:e})=>e.some((({bidder:e})=>"ias"===e))))))))&&(this.pbjs.bidderSettings.ias=_config_prebid__WEBPACK_IMPORTED_MODULE_2__.yN),this.prebidSettings.prebidCustomScript)try{eval(this.prebidSettings.prebidCustomScript)}catch(e){_Logger__WEBPACK_IMPORTED_MODULE_0__.vF.error("custom script for prebid",e)}this.prebidSettings.prebidUseAtspbjs&&this.modifyKeyValue(prebidConfig.priceGranularity);const analytics=[];this.prebidSettings.enableAnalytics&&analytics.push(this.enableAnyMindPrebidAnalytics(this.prebidAnalyticsConfig.adUnitIdPathMapping,this.prebidAnalyticsConfig.amPrebidBidderMap,this.prebidSettings.analyticsSamplingRate,this.prebidSettings.ampaEndPoint)),prebidConfig.userSync?.userIds?.some((e=>"intentIqId"==e.name))&&analytics.push({provider:"iiqAnalytics"}),0e.code));this.onFirstPrebidResponseEnded=this.sendBids(adUnits,adUnitCodes)},this.setUpAdagio=e=>{for(const t of e){const e=t.bids.find((e=>"adagio"===e.bidder));if(e){this.adagioOrganizationId=e.params.organizationId,this.adagioSite=e.params.site;break}}},this.callIntentIQ=async e=>{if(e&&e.jsURL){const t=e.jsURL;delete e.jsURL,_Logger__WEBPACK_IMPORTED_MODULE_0__.vF.log("setup IntentIQ"),await new Promise((i=>{(0,_core_utils_util__WEBPACK_IMPORTED_MODULE_1__.nL)(!0,t,(()=>{const t={callback:e=>{_Logger__WEBPACK_IMPORTED_MODULE_0__.vF.log("IntentIQ eids",e,this.iiq?.getIntentIqData()),i()},pbjs:this.pbjs,domainName:new URL(location.href).hostname,...e};_Logger__WEBPACK_IMPORTED_MODULE_0__.vF.log("IntentIQ params",t),this.iiq=new window.IntentIqObject(t),googletag.cmd.push((()=>{try{googletag.pubads().setTargeting("intent_iq_group",this.iiq?.intentIqConfig.abTesting.currentTestGroup||"U")}catch(e){googletag.pubads().setTargeting("intent_iq_group","N")}}))}))}))}},this.enableAnyMindPrebidAnalytics=(e,t,i,s)=>({provider:"anymind",options:{sampling:i,siteId:this.siteId,adUnitIdPathMappings:e,amPrebidBidderMap:t,endpoint:s}}),this.enableFledgeModule=()=>{this.pbjs.setBidderConfig({bidders:_config_prebid__WEBPACK_IMPORTED_MODULE_2__.PI,config:{fledgeEnabled:!0,defaultForSlots:1}})},this.removeAdUnit=e=>{this.pbjs.removeAdUnit(e)},this.setTargeting=()=>{_Logger__WEBPACK_IMPORTED_MODULE_0__.vF.log("pbjs: setTargeting for all"),this.pbjs.setTargetingForGPTAsync()},this.setTargetingForEachSlot=e=>{_Logger__WEBPACK_IMPORTED_MODULE_0__.vF.log("pbjs: setTargeting for ",e),this.pbjs.setTargetingForGPTAsync(e)},this.buildVideoUrl=(e,t)=>{const i={adUnit:e,params:t};return this.pbjs.adServers.dfp.buildVideoUrl(i)},this.modifyKeyValue=e=>{var t,i,s;const n="object"==typeof e?"custom":e;(t=this.pbjs).bidderSettings??(t.bidderSettings={}),(i=this.pbjs.bidderSettings).standard??(i.standard={}),(s=this.pbjs.bidderSettings.standard).adserverTargeting??(s.adserverTargeting=[]),this.pbjs.bidderSettings.standard.adserverTargeting.push({key:"ats_hb_bidder",val:e=>e.bidderCode},{key:"hb_size",val:e=>e.size},{key:"hb_adid",val:e=>e.adId},{key:"hb_source",val:e=>e.source},{key:"hb_format",val:e=>e.mediaType},{key:"ats_hb_pb",val:e=>{switch(n){case"medium":default:return e.pbMg;case"high":return e.pbHg;case"custom":return e.pbCg}}},{key:"ats_hb_bid",val:()=>"true"},{key:"hb_uuid",val:e=>e.videoCacheKey}),this.pbjs.bidderSettings.standard.adserverTargeting=this.pbjs.bidderSettings.standard.adserverTargeting.filter(((e,t,i)=>i.findIndex((t=>t.key===e.key))===t))},this.createPrebidConfig=({prebidCurrency,prebidPriceGranularity,prebidTimeout,prebidUserSyncScript,prebidVersion,userIds})=>{var _a;const config={enableTIDs:!0,debug:_Logger__WEBPACK_IMPORTED_MODULE_0__.vF.enablePrebidLog,rubicon:{singleRequest:!0},criteo:{fastBidVersion:"latest"},enableSendAllBids:!1,...(()=>{try{if(prebidUserSyncScript)return{userSync:eval(prebidUserSyncScript)}}catch(e){_Logger__WEBPACK_IMPORTED_MODULE_0__.vF.error("Prebid userSync Script",e)}})(),currency:{adServerCurrency:prebidCurrency,granularityMultiplier:_config_prebid__WEBPACK_IMPORTED_MODULE_2__.ap.USD[prebidCurrency],conversionRateFile:"https://cdn.jsdelivr.net/gh/prebid/currency-file@1/latest.json",defaultRates:_config_prebid__WEBPACK_IMPORTED_MODULE_2__.ap},priceGranularity:"custom"==prebidPriceGranularity?_config_prebid__WEBPACK_IMPORTED_MODULE_2__.z1:prebidPriceGranularity,cache:{url:"https://prebid.adnxs.com/pbc/v1/cache"},bidderTimeout:prebidTimeout,paapi:{enabled:!0,bidders:_config_prebid__WEBPACK_IMPORTED_MODULE_2__.PI,defaultForSlots:1}};if(this.applyGDPR&&"function"==typeof window.__tcfapi&&(config.consentManagement={gdpr:{cmpApi:"iab",timeout:1e3,defaultGdprScope:!1,allowAuctionWithoutConsent:!0,rules:[{purpose:"storage",enforcePurpose:!1,enforceVendor:!1},{purpose:"basicAds",enforcePurpose:!1,enforceVendor:!1}]}}),this.adagioOrganizationId&&this.adagioSite&&this.prebidSettings.prebidVersion>8&&!this.isFourMAccount()&&(config.realTimeData=config.realTimeData||{dataProviders:[]},config.realTimeData.dataProviders=config.realTimeData.dataProviders||[],config.realTimeData.dataProviders.push({name:"adagio",params:{organizationId:this.adagioOrganizationId,site:this.adagioSite}})),prebidVersion>=8&&(config.topics=_config_prebid__WEBPACK_IMPORTED_MODULE_2__.X1),0t.name!=e.name))&&config.userSync.userIds.push(e)}return config.userSync?.userIds?.forEach((e=>{"intentIqId"==e.name&&(e.params.callback=(e,t)=>_Logger__WEBPACK_IMPORTED_MODULE_0__.vF.log("IntentIQ callback",{data:e,group:t}))})),config},this.sendBids=(e,t)=>new Promise((i=>{const s=(0,_Gpt__WEBPACK_IMPORTED_MODULE_3__._7)((async()=>{await this.waitIntentIQ;const e=this.pbjs.getHighestCpmBids()[0];if(e&&this.iiq){_Logger__WEBPACK_IMPORTED_MODULE_0__.vF.log("IntentIQ winningBid",e);const t={biddingPlatformId:1,partnerAuctionId:e.auctionId,bidderCode:e.bidder,prebidAuctionId:e.auctionId,cpm:e.cpm,currency:e.currency||"USD",originalCpm:e.originalCpm,originalCurrency:e.originalCurrency||"USD",status:e.status||"rendered",placementId:e.adUnitCode};_Logger__WEBPACK_IMPORTED_MODULE_0__.vF.table("IntentIQ reportData",t),this.iiq.reportExternalWin(t)}i(!0)}));this.pbjs.que.push((()=>{this.pbjs.addAdUnits(e),this.pbjs.requestBids({timeout:this.prebidSettings.prebidTimeout,adUnitCodes:t,bidsBackHandler:s})}))})),this.renderer=e=>({backupOnly:!0,url:e,render:e=>{_Logger__WEBPACK_IMPORTED_MODULE_0__.vF.log(`execute OutStream Renderer ${e.bidderCode} ${e.mediaType}`),void 0!==e.ad&&null!==e.ad||void 0===e.vastUrl||null===e.vastUrl||(_Logger__WEBPACK_IMPORTED_MODULE_0__.vF.log("Bid object contains bid.vastUrl with value: "+e.vastUrl),e.ad=e.vastUrl);const t={vastTimeout:5e3,maxAllowedVastTagRedirects:3,allowVpaid:!0,autoPlay:!1,preload:!0,mute:!0};e.width&&(t.width=e.width),e.height&&(t.height=e.height),e.renderer.push((()=>{try{window.outstreamPlayer&&window.outstreamPlayer.player(e,e.adUnitCode,t)}catch(e){_Logger__WEBPACK_IMPORTED_MODULE_0__.vF.error(e),_Logger__WEBPACK_IMPORTED_MODULE_0__.vF.log("Error in ad rendering!")}}))}}),this.createParamaters=(configs,force=!1)=>{const adUnits=[];for(const config of configs){if(!force&&!config.active&&!_Logger__WEBPACK_IMPORTED_MODULE_0__.vF.isDev)continue;const{adUnitPath,prebidAdUnits}=config.settings;let divID=config.settings.divID;try{divID="Function"===config.settings.divIDType&&eval(divID)||divID}catch(e){_Logger__WEBPACK_IMPORTED_MODULE_0__.vF.error("pbjs: The script to find the target failed.",e);continue}const _prebidAdUnits=[];for(const prebidAdUnit of prebidAdUnits)if((0,_core_utils_util__WEBPACK_IMPORTED_MODULE_1__.hg)(prebidAdUnit.deviceSizes)){for(const atsPrebidAdunit of prebidAdUnit.atsPrebidAdUnits){const adUnit={code:divID,bids:atsPrebidAdunit.bids.reduce(((accumulator,{bidder,params,script})=>{if(_config_prebid__WEBPACK_IMPORTED_MODULE_2__.D0.includes(bidder)&&_config_prebid__WEBPACK_IMPORTED_MODULE_2__.qp.test(divID)&&_config_prebid__WEBPACK_IMPORTED_MODULE_2__.Hi.test(divID))return accumulator;try{accumulator.push({bidder,params:script?eval(script):params})}catch(e){_Logger__WEBPACK_IMPORTED_MODULE_0__.vF.error("[Error in Prebid params]",e)}return accumulator}),[]),mediaTypes:{},...(()=>{const e=config.settings.adUnitPath+(_config_prebid__WEBPACK_IMPORTED_MODULE_2__.qp.test(divID)?`#${divID}`:"");return{ortb2Imp:{ext:{gpid:e,ae:1,data:{adserver:{name:"gam",adslot:e}}}}}})()};if(!(adUnit.bids.length<=0)){if((0,_core_utils_util__WEBPACK_IMPORTED_MODULE_1__.ze)(atsPrebidAdunit.mediaTypes.banner)||(adUnit.mediaTypes.banner=atsPrebidAdunit.mediaTypes.banner),(0,_core_utils_util__WEBPACK_IMPORTED_MODULE_1__.ze)(atsPrebidAdunit.mediaTypes.video)||(adUnit.mediaTypes.video=atsPrebidAdunit.mediaTypes.video,this.prebidSettings&&"outstream"===adUnit.mediaTypes.video?.context&&adUnit.bids.some((({bidder:e})=>_config_prebid__WEBPACK_IMPORTED_MODULE_2__.fX.some((({bidder:t,versions:i})=>t===e&&(!i||i.includes(this.prebidSettings.prebidVersion))))))&&(adUnit.mediaTypes.video.renderer=this.renderer(this.prebidSettings.rendererJsURL))),(0,_core_utils_util__WEBPACK_IMPORTED_MODULE_1__.ze)(atsPrebidAdunit.mediaTypes.native)||(adUnit.mediaTypes.native=atsPrebidAdunit.mediaTypes.native),this.prebidSettings.prebidVersion>8&&!this.isFourMAccount())for(const e of adUnit.bids)if("adagio"===e.bidder){adUnit.ortb2Imp.ext.data.divId=adUnit.code,adUnit.ortb2Imp.ext.data.placement=e.params.placement;break}adUnits.push(adUnit),_prebidAdUnits.push(adUnit)}}this.adUnitsDict[adUnitPath]={prebidAdUnits:_prebidAdUnits,code:divID},this.adUnitsCodeDict[divID]={prebidAdUnits:_prebidAdUnits,adUnitPath};break}}return _Logger__WEBPACK_IMPORTED_MODULE_0__.vF.log("pbjs: adUnits",adUnits),_Logger__WEBPACK_IMPORTED_MODULE_0__.vF.log("pbjs: adunits dict",this.adUnitsDict),adUnits},this.setSchain=(e,t=!1)=>{this.pbjs.que.push((()=>{const i=new Set;if(e.forEach((e=>{t||!e.active&&!_Logger__WEBPACK_IMPORTED_MODULE_0__.vF.isDev||e.settings.prebidAdUnits.forEach((e=>{e.atsPrebidAdUnits.forEach((({bids:t})=>{t.forEach((t=>{t.includeSchain&&(0,_core_utils_util__WEBPACK_IMPORTED_MODULE_1__.hg)(e.deviceSizes)&&i.add(t.bidder)}))}))}))})),i.size>0){const e=[];i.forEach((t=>e.push(t))),this.pbjs.setBidderConfig({bidders:e,config:{schain:{validation:"relaxed",config:{ver:"1.0",complete:1,nodes:[{asi:this.parentAccountSiteDomain,sid:`${this.prebidSettings.sellerId}`,hp:1}]}}}})}}))},this.isFourMAccount=()=>"fourm.jp"===this.parentAccountSiteDomain,this.reset=()=>{try{this.pbjs&&this.pbjs.que.push((()=>{this.pbjs.removeAdUnit()})),this.onFirstPrebidResponseEnded=null,this.configs=[],this.noAdUnits=!1;for(const e in this.adUnitsDict)delete this.adUnitsDict[e]}catch(e){_Logger__WEBPACK_IMPORTED_MODULE_0__.vF.error(e)}}}}},335:(e,t,i)=>{i.d(t,{vF:()=>o});var s=i(581),n=i(348);const a="ats_pbjs_debug";class r extends s.V{constructor(e,t){super(e,t),this.enableLog=n.sp,this.isDev=n.Cu,this.getSlotInfo=(e,t)=>{this.log(e,`adUnitPath: ${t.getAdUnitPath()}\n slotElementId: ${t.getSlotElementId()}`)},this.setPrebidLog=(e=!this.enablePrebidLog)=>{e?window.sessionStorage?.setItem(a,"true"):window.sessionStorage?.removeItem(a),location.reload()},this.enablePrebidLog="true"===window.sessionStorage?.getItem(a)}setDecoration(e){this.decorate=[`%c${e}%c${this.label}`,this.labelStyle("#fff","#1567b3"),this.labelStyle("#000","#aaa")]}}const o=new r("Ads",n.sp)},348:(e,t,i)=>{i.d(t,{Cu:()=>s.Cu,KB:()=>s.KB,sp:()=>s.sp});var s=i(78)},356:(e,t,i)=>{i.d(t,{c:()=>r});var s=i(939),n=i(335);const a={childList:!0,subtree:!0};const r=new class{constructor(){this.MUTATION_OBSERVER_TIMEOUT=12e5,this.mutationObserver=null,this.elementListeners=[],this.connect=()=>{this.mutationObserver=(0,s.l9)(this.check.bind(this),50),this.mutationObserver.observe(document,a),this.disconnectTimeoutId=window.setTimeout(this.disconnect.bind(this),this.MUTATION_OBSERVER_TIMEOUT),this.check()},this.disconnect=()=>{null!==this.mutationObserver&&(this.mutationObserver.disconnect(),n.vF.log("MutationObserver disconnected"),this.mutationObserver=null,this.disconnectTimeoutId&&(window.clearTimeout(this.disconnectTimeoutId),delete this.disconnectTimeoutId),this.check())},this.check=()=>{if(0!==this.elementListeners.length){const e=this.elementListeners.slice();for(let t=e.length-1;t>=0;t--){const{selector:i,targetType:a,fn:r}=e[t],o=(0,s.EW)(window.document,i,a);if(null!=o){try{r(window.document)}catch(e){n.vF.error(e)}this.elementListeners.splice(t,1)}}}},this.waitForElement=(e,t,i)=>{this.elementListeners.push({selector:e,targetType:t,fn:i}),this.mutationObserver||this.connect()},this.reset=()=>{try{this.disconnect(),delete this.disconnectTimeoutId;for(let e=0;e{__webpack_require__.d(__webpack_exports__,{b:()=>InsertVideoAds});var _core_utils_util__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(939),_Logger__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(335),_VideoManager__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(561);const Z_INDEX_MAX_VALUE="2147483647",DEFAULT_PLAYER_VOLUME=.01,defaultSizes169=[[640,360],[320,180]],defaultSizes43=[[640,480],[480,360],[320,240]],defaultSizes916=[[360,640],[180,320]],defaultSizes34=[[480,640],[360,480],[240,320]],defaultSizes11=[[300,300],[250,250]],DEFAULT_PLAYER_CONTROL_Z_INDEX=999,DEFAULT_PLAYER_AD_CONTAINER_Z_INDEX=998,YOUTUBE_VIDEO_URL="https://www.youtube.com/watch?v=";class VjsLogger{constructor(e=_Logger__WEBPACK_IMPORTED_MODULE_1__.vF){this.logger=e,this.log=(...e)=>{this.logger.log("video:",...e)},this.error=(...e)=>{this.logger.error("video:",...e)}}}const vjsLogger=new VjsLogger;class InsertVideoAds{constructor(gpt,config,prebid){this.gpt=gpt,this.config=config,this.prebid=prebid,this.RENDERED="rendered",this.executeCallCount=0,this.infinite=!1,this.divId="",this.closeButtonId="",this.wrapperClassName="ats-insert-video-wrapper",this.divClassName="ats-insert-video",this.closeButton=document.createElement("button"),this.wrapperId="",this.originVideoWidth=0,this.originVideoHeight=0,this.videoStickyWrapperId="ats-insert-video-sticky-wrapper",this.isAutoPlayed=!1,this.stickyOrAnchoring=!1,this.observer=null,this.anchoringClass="",this.topStickyClass=this.wrapperClassName+"-top-sticky",this.poster="",this.deviceType=(0,_core_utils_util__WEBPACK_IMPORTED_MODULE_0__.gE)(),this.isFirstPlay=!1,this.testAdTagUrl=window.sessionStorage.getItem("ats_test_ad_tag_url")||"",this.MAX_RETRY=216,this.counter_retry=1,this.REFRESH_INTERVAL=15e3,this.videoPlayerViewMoreLinkId="video-player-read-more-link",this.articleLinks=[],this.topStickyCloseButton=document.createElement("a"),this.topStickyCloseButtonId="top-sticky-close-button",this.showTopStickyVideoCloseButton=!1,this.generatedVideoArticles=[],this.scrollCallbacks=[],this.onceInView=!1,this.autoplayInNext=!1,this.autoAdUnitPaths=[],this.videoLoadingCount=0,this.lastMissingVideosCount=0,this.userStopAnchor=!1,this.anchorCallbackWhenAdLoaded=null,this.showCloseButton=!1,this.videoLength=0,this.isAdPlaying=!1,this.isAdPaused=!1,this.adDisplayContainerInitialized=!1,this.allAdsCompleted=!0,this.contentEnded=!1,this.hlsConfig={maxBufferLength:5,maxMaxBufferLength:10,backBufferLength:1/0,maxBufferSize:2e5,maxBufferHole:.5,highBufferWatchdogPeriod:2},this.PC_PLAYLIST_HEIGHT=180,this.SP_PLAYLIST_HEIGHT=90,this.numOfPlaylists=0,this.RSS_VIDEO_LENGTH=30,this.NON_LINEAR_ADS_CLASS_NAME="non-linear_ats_ima_ad_container",this.convertedGeneratedVideos={},this.DEFAULT_RSS_LINK_BUT_TEXT="Read Article",this.isUserInteractedOnDocument=!1,this.isSoundAvailable=!1,this.soundOnEvent=new CustomEvent("atssoundon",{}),this.onAdEvent=e=>{this.counter_retry=1;const t=window.google;if(vjsLogger.log(`ads event: ${e.type}`),e.type==t.ima.AdEvent.Type.CONTENT_PAUSE_REQUESTED)this.player.pause(),this.showAdDisplayContainer(),this.isAdPlaying=!0,this.disablePlaylist(),this.videoPlayerViewMoreLink&&(this.videoPlayerViewMoreLink.style.display="none");else if(e.type==t.ima.AdEvent.Type.CONTENT_RESUME_REQUESTED)this.hideAdDisplayContainer(),this.isAdPaused=!1,this.isAdPlaying=!1,this.contentEnded||(this.play(),this.videoPlayerViewMoreLink&&(this.videoPlayerViewMoreLink.style.display="block"));else if(e.type==t.ima.AdEvent.Type.AD_BREAK_READY)vjsLogger.log("ad break ready");else if(e.type==t.ima.AdEvent.Type.STARTED){if(vjsLogger.log("ad started"),this.player.pause(),this.currentAd=e.getAd(),this.currentAd.isLinear()&&(this.countdownTimer=setInterval(this.trackLinearAd,250),this.showImaControlBar()),this.adMuteButton=document.querySelector("#ats-ad-container button.plyr__control[data-plyr='mute']"),this.isSoundAvailable&&"unmuted"===this.adsRequest?.l||this.adsManager.setVolume(0),this.adsManager.resume(),0===this.adsManager.getVolume()?(vjsLogger.log("ad sound off"),this.adMuteButton.classList.remove("plyr__control--not-pressed"),this.adMuteButton.classList.add("plyr__control--pressed")):(vjsLogger.log("ad sound on"),this.adMuteButton.classList.remove("plyr__control--pressed"),this.adMuteButton.classList.add("plyr__control--not-pressed")),this.adMuteButton.addEventListener("click",this.onAdMuteClick),this.userStopAnchor||this.enableAdAnchoredPlayback){let e=!1;this.anchorCallback();const t=()=>{e||(window.requestAnimationFrame((()=>{this.anchorCallback(),e=!1})),e=!0)};document.addEventListener("scroll",t),this.scrollCallbacks.push(t),this.anchorCallbackWhenAdLoaded=t,this.closeButton.addEventListener("click",(()=>{document.removeEventListener("scroll",t),this.stopElmAnchoring()}))}}else if(e.type==t.ima.AdEvent.Type.SKIPPABLE_STATE_CHANGED){const t=e.ad.data.skippable?e.ad.data.skipTimeOffset:0;vjsLogger.log(t),t>0&&(this.showCloseButton=!0,this.stickyOrAnchoring&&(this.closeButton.style.visibility="visible"))}else if(e.type==t.ima.AdEvent.Type.LOADED){this.allAdsCompleted=!1;e.getAd().isLinear()?(vjsLogger.log("linear ads"),this.adDisplayContainerElm.classList.remove(this.NON_LINEAR_ADS_CLASS_NAME)):(vjsLogger.log("non-linear ads"),this.adDisplayContainerElm.classList.add(this.NON_LINEAR_ADS_CLASS_NAME))}else e.type!=t.ima.AdEvent.Type.ALL_ADS_COMPLETED&&e.type!=t.ima.AdEvent.Type.USER_CLOSE&&e.type!=t.ima.AdEvent.Type.COMPLETE&&e.type!=t.ima.AdEvent.Type.SKIPPED&&e.type!=t.ima.AdErrorEvent.Type.AD_ERROR||(this.enablePlaylist(),this.hideImaControlBar(),this.initAdUIElement(),clearInterval(this.countdownTimer),this.isAdPlaying=!1,this.isAdPaused=!1,this.showCloseButton=!1,this.userStopAnchor&&this.anchorCallbackWhenAdLoaded&&(document.removeEventListener("scroll",this.anchorCallbackWhenAdLoaded),this.anchorCallbackWhenAdLoaded=null,this.stopElmAnchoring()),this.enableAdAnchoredPlayback&&(this.anchorCallbackWhenAdLoaded&&document.removeEventListener("scroll",this.anchorCallbackWhenAdLoaded),this.stopElmAnchoring()));if(e.type===t.ima.AdEvent.Type.ALL_ADS_COMPLETED||e.type==t.ima.AdErrorEvent.Type.AD_ERROR){this.hideAdDisplayContainer(),vjsLogger.log(e),this.resizeObserver?.disconnect(),this.adsManager.destroy();const t=this.videoLoadingCount;vjsLogger.log("call ads after 30 sec"),this.allAdsCompleted=!0,setTimeout((()=>{this.refreshAds(this.adTagUrl,t)}),this.REFRESH_INTERVAL)}if(e.type==t.ima.AdEvent.Type.LOG){const t=e.getAdData();t.adError&&vjsLogger.error("Non-fatal error occurred: "+t.adError.getMessage())}},this.execute=async(e,t=!1)=>{this.videoLoadingCount+=1,this.infinite=t,this.executeCallCount++,await _VideoManager__WEBPACK_IMPORTED_MODULE_2__.f.insertVideoTag();const i=this.findTarget(e);i&&(await this.gpt.setPPIDPromise,this.buildVideo(i)),this.workaroundForBFCache()},this.workaroundForBFCache=()=>{const e=t=>{t.persisted&&(this.dispose(),vjsLogger.log("persisted"),window.removeEventListener("pageshow",e),this.isUserInteractedOnDocument=!1,this.isSoundAvailable=!1,this.detectUIPromise=this.detectUI(),this.execute(document))};window.addEventListener("pageshow",e)},this.findTarget=e=>{const{selector:t,targetType:i}=this.config,s=(0,_core_utils_util__WEBPACK_IMPORTED_MODULE_0__.EW)(e,t,i);if(null!=s)return s},this.applyInsertVideoCss=()=>{(0,_core_utils_util__WEBPACK_IMPORTED_MODULE_0__.TD)(`\n #ats-ad-container * {\n margin: 0;\n }\n #${this.divId} {\n margin: 0 auto;\n }\n \n .ats-insert-video-wrapper {\n position: relative\n }\n \n .ats-insert-video-wrapper * {\n box-shadow: none;\n }\n \n #${this.videoPlayerViewMoreLinkId} {\n background-color: #3892E5;\n color: white;\n display: block;\n padding: 6px 32px 6px 20px;\n position: absolute;\n top: 20px;\n right: 25px;\n text-align: center;\n text-decoration:none;\n visibility: hidden;\n border: 2px solid transparent;\n border-radius: 5px;\n font-size: small;\n z-index: ${DEFAULT_PLAYER_CONTROL_Z_INDEX} !important\n }\n\n #${this.videoPlayerViewMoreLinkId}::after {\n content: ' ';\n position: absolute;\n top: 10px;\n right: 16px;\n display: block;\n width: 3px;\n height: 3px;\n border: solid #FFF;\n border-width: 0 2px 2px 0;\n padding: 2px;\n transform: rotate(-45deg);\n -webkit-transform: rotate(-45deg);\n }\n .${this.wrapperClassName}-anchoring #${this.videoPlayerViewMoreLinkId} {\n padding: 3px 14px 3px 6px;\n top: 5px;\n right: 5px;\n max-width: 125px;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n .${this.wrapperClassName}-anchoring #${this.videoPlayerViewMoreLinkId}::after {\n top: 6px;\n right: 6px;\n }\n @media only screen and (max-width: 600px) {\n #${this.videoPlayerViewMoreLinkId} {\n padding: 6px 22px 6px 10px;\n top: 10px;\n right: 10px;\n }\n #${this.videoPlayerViewMoreLinkId}::after {\n right: 12px;\n }\n \n .${this.wrapperClassName}-anchoring #${this.videoPlayerViewMoreLinkId} {\n font-size: 11px;\n }\n .${this.wrapperClassName}-anchoring #${this.videoPlayerViewMoreLinkId}::after {\n top: 5px;\n border-width: 0 1px 1px 0;\n width: 3px;\n height: 3px\n }\n }\n \n .${this.wrapperClassName}-anchoring {\n z-index: ${Z_INDEX_MAX_VALUE};\n }\n .${this.wrapperClassName}-non-anchoring {\n z-index: ${Z_INDEX_MAX_VALUE};\n }\n .${this.wrapperClassName}-right {\n position: fixed;\n bottom: 16px;\n right: 16px;\n width: 256px;\n }\n .${this.wrapperClassName}-left {\n position: fixed;\n bottom: 16px;\n left: 16px;\n width: 256px;\n }\n .${this.topStickyClass} {\n z-index: ${Z_INDEX_MAX_VALUE};\n position: fixed;\n top: 0;\n }\n .${this.wrapperClassName} {\n background-color: rgba(57, 127, 195, .1);\n }\n #${this.topStickyCloseButtonId} {\n visibility: hidden;\n position: absolute;\n display: block;\n top: 0px;\n right: -24px;\n width: 24px;\n height: 34px;\n border: 0px !important;\n border-radius: 0 7px 7px 0;\n text-align: center;\n background: #00000066;\n }\n #${this.closeButtonId} {\n visibility: hidden;\n position: absolute;\n right: 0px;\n display: block;\n top: -24px;\n width: 34px;\n height: 24px;\n border: 0px !important;\n border-radius: 7px 7px 0 0;\n text-align: center;\n background: #00000066;\n }\n #${this.closeButtonId}::after, \n #${this.closeButtonId}::before, \n #${this.topStickyCloseButtonId}::after, \n #${this.topStickyCloseButtonId}::before {\n content: "";\n position: absolute;\n top: 50%;\n left: 50%;\n width: 2px;\n height: 15px;\n background: #fff; \n }\n #${this.closeButtonId}::before,\n #${this.topStickyCloseButtonId}::before {\n transform: translate(-50%,-50%) rotate(45deg);\n }\n #${this.closeButtonId}::after,\n #${this.topStickyCloseButtonId}::after {\n transform: translate(-50%,-50%) rotate(-45deg);\n }\n #ats-ad-container {\n position: absolute;\n z-index: ${DEFAULT_PLAYER_AD_CONTAINER_Z_INDEX};\n display: none;\n height: 100%;\n top: 0;\n width: 100%;\n }\n .${this.NON_LINEAR_ADS_CLASS_NAME} {\n top: auto!important;\n bottom: 0;\n margin-bottom: 40px;\n max-height: 100px!important;\n overflow: hidden;\n }\n .${this.NON_LINEAR_ADS_CLASS_NAME} > div, .${this.NON_LINEAR_ADS_CLASS_NAME} > div > iframe {\n max-height: 100px!important;\n }\n #${this.videoStickyWrapperId} .plyr__volume input[type=range] {\n max-width: 60px;\n min-width: 45px;\n }\n #${this.videoStickyWrapperId} .plyr {\n display: none;\n }\n #${this.videoStickyWrapperId}{\n --plyr-color-main: rgba(0,0,0,0.3);\n }\n .plyr--full-ui input[type=range] {\n --plyr-color-main: red;\n }\n div.plyr > button.plyr__control[data-plyr='play'] svg {\n --plyr-control-icon-size: 32px;\n }\n #${this.videoStickyWrapperId} .plyr .plyr__controls {\n padding-top: calc(var(--plyr-control-spacing, 10px)* 1);\n --plyr-control-spacing: 8px;\n }\n .plyr__control svg {\n --plyr-control-icon-size: 14px;\n }\n #${this.videoStickyWrapperId} .plyr__time--current{\n font-family: sans-serif;\n --plyr-font-size-time: 12px;\n }\n .ats-ima-control-play {\n width: 30px;\n height: 10px;\n background-color: red;\n }\n .plyr__control--overlaid, .plyr__control {\n transition: none;\n }\n .ats-ima-control-bar.plyr__controls {\n border-bottom-left-radius: inherit;\n border-bottom-right-radius: inherit;\n bottom: 0;\n color: #fff;\n color: var(--plyr-video-control-color, #fff);\n left: 0;\n position: absolute;\n right: 0;\n transition: opacity .4s ease-in-out, transform .4s ease-in-out;\n z-index: ${DEFAULT_PLAYER_CONTROL_Z_INDEX};\n flex-direction: column;\n display: block;\n }\n #ats_ads_progress_bar {\n position: relative;\n width: 100%;\n height: 4px;\n background-color: rgba(0, 0, 0, 0.5);\n }\n #ats_ads_progress_bar-progress {\n position: relative;\n width: 0%;\n height: 100%;\n background-color: yellow;\n }\n #ads_countdown {\n font-family: sans-serif;\n font-size: 11px;\n padding: 3px 2px;\n min-width: 48px;\n text-align: left;\n }\n #ats-ad-container button[data-plyr='mute']{\n --plyr-control-spacing: 3px;\n padding-left: 10px;\n padding-right: 10px;\n }\n button[data-plyr='play'].ats-ima-control{\n --plyr-control-spacing: 7px;\n padding-left: 8px;\n }\n .plyr__progress .plyr__tooltip{\n font-family: sans-serif;\n }\n .ats-video-playlist {\n position: relative;\n margin: 0px auto;\n }\n .ats-video-playlist-button-left {\n z-index: 1;\n position: absolute;\n top: 100px;\n width: 28px;\n height: 28px;\n left: 6px;\n background-color: white;\n border-radius: 14px;\n border: none;\n }\n .ats-video-playlist-button-left::after {\n content: '';\n position: absolute;\n left:11px;\n top: 50%;\n width: 7px;\n height: 7px;\n border-top: 2px solid #333;\n border-right: 2px solid #333;\n transform: translate(0, -50%) rotate(225deg);\n }\n .ats-video-playlist-button-right {\n z-index: 1;\n position: absolute;\n top: 100px;\n width: 28px;\n height: 28px;\n right: 6px;\n background-color: white;\n border-radius: 14px;\n border: none;\n }\n .ats-video-playlist-button-right::after {\n content: '';\n position: absolute;\n right: 11px;\n top: 50%;\n width: 7px;\n height: 7px;\n border-top: 2px solid #333;\n border-right: 2px solid #333;\n transform: translate(0, -50%) rotate(45deg);\n }\n .ats-video-playlist-container {\n display: flex;\n overflow-y: hidden;\n overflow-x: scroll;\n height: ${"sp"===this.deviceType?this.SP_PLAYLIST_HEIGHT:this.PC_PLAYLIST_HEIGHT}px;\n background-color: black;\n }\n .ats-video-playlist-mask {\n z-index: 1;\n display: none;\n background: rgba(255, 255, 255, 0.8);\n position: absolute;\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n }\n .ats-playlist-item {\n position: relative;\n height: calc(100% - ${"sp"===this.deviceType?8:16}px);\n padding: 0;\n margin: ${"sp"===this.deviceType?4:8}px;\n }\n .ats-playlist-item:hover:after {\n box-sizing: border-box;\n content: '';\n position: absolute;\n height: 100%;\n width: 100%;\n top: 0px;\n left: 0px;\n background-color: rgba(0, 0, 0, 0.2);\n border: 1px dotted rgba(144,128,64);\n }\n .ats-playlist-item > img {\n height: 100%;\n max-width:260px;\n margin: 0;\n padding: 0;\n }\n .ats-playlist-item > div{\n padding: 0;\n width: 80%;\n position: absolute;\n bottom: 0;\n margin: 0;\n overflow: hidden;\n background-color: rgba(0, 0, 0, 0.4);\n }\n .ats-playlist-item > div > p {\n display: -webkit-box;\n margin: 0;\n font-family: sans-serif;\n line-height: ${"sp"===this.deviceType?12:16}px;\n font-size: ${"sp"===this.deviceType?11:14}px;\n color: white;\n overflow: hidden;\n text-overflow: ellipsis;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 2;\n max-height: ${"sp"===this.deviceType?24:32}px;\n }\n .ats-ima-control-container {\n display: flex;\n align-items: center;\n position: absolute;\n top: -24px;\n background-color: rgba(0, 0, 0, 0.9);\n height: 24px;\n }\n #ats-ad-container .plyr__controls__item.plyr__progress__container {\n width: 100%;\n padding-left: 0;\n background: rgba(0, 0, 0, 0.6);\n }\n #ats-insert-video-sticky-wrapper .plyr__controls button.plyr__control, #ats-insert-video-sticky-wrapper .ats-ima-control-bar button.plyr__control {\n opacity: 1;\n transition: none;\n padding: 4px 8px;\n margin: auto;\n height: 24px;\n color: white;\n }\n .plyr .plyr__controls, .plyr__control--overlaid[data-plyr="play"] {\n z-index: ${DEFAULT_PLAYER_CONTROL_Z_INDEX}\n }\n}\n `,`${this.divId}`)},this.onClickAdPlayButton=()=>{this.adsManager&&(this.isAdPaused?(this.isAdPaused=!1,this.adsManager.resume(),this.adPlayButton.classList.add("plyr__control--pressed")):(this.isAdPaused=!0,this.adsManager.pause(),this.adPlayButton.classList.remove("plyr__control--pressed")))},this.buildVideo=async e=>{const{insertPosition:t="afterbegin",scrollEffect:i,adOutputFormat:s="vast",enableVastContinuousAds:n,numberOfRepeatedAds:a,maxWidth:r,maxHeight:o}=this.config;this.applyInsertVideoCss(),(0,_core_utils_util__WEBPACK_IMPORTED_MODULE_0__.TD)(`#${this.wrapperId} {${this.config.customWrapperCss}}`);const d=document.createElement("video");this.videoTag=d,d.id=this.divId,d.className=this.divClassName,this.videoStickyWrapper=document.createElement("div"),this.videoWrapper=document.createElement("div"),this.videoWrapper.className=this.wrapperClassName,this.videoWrapper.id=this.wrapperId,d.setAttribute("controls","true"),d.setAttribute("playsinline","true"),d.setAttribute("webkit-playsinline","true"),d.setAttribute("preload","auto");const l=document.createElement("div");l.id="ats-ad-container",this.adDisplayContainerElm=l,r&&(this.videoWrapper.style.maxWidth=`${r}px`),o&&(this.videoWrapper.style.maxHeight=`${o}px`),this.videoWrapper.style.margin="0 auto",this.closeButton.id=this.closeButtonId,3===i&&this.videoStickyWrapper.appendChild(this.closeButton),this.videoStickyWrapper.appendChild(d),this.videoStickyWrapper.appendChild(l),this.videoWrapper.appendChild(this.videoStickyWrapper),e.insertAdjacentElement(t,this.videoWrapper),this.createImaControls(),this.adPlayButton=document.querySelector("button[data-plyr='play'].ats-ima-control"),this.adPlayButton?.addEventListener("click",this.onClickAdPlayButton),this.prebid?.adUnitsCodeDict[this.divId]?await this.prebid.onFirstPrebidResponseEnded&&this.prebidAdUnits&&this.prebidAdUnit&&this.invokeVideoPlayer(this.prebid.buildVideoUrl(this.prebidAdUnit,this.createVastParams(this.prebidAdUnits.adUnitPath,s,n,a)),this.divId):this.invokeVideoPlayer(this.adTagUrl,this.divId)},this.createAdSizes=e=>{let t=defaultSizes169;switch(e){case"9:16":t=defaultSizes916;break;case"4:3":t=defaultSizes43;break;case"3:4":t=defaultSizes34;break;case"1:1":t=defaultSizes11}return t},this.createVastParams=(e,t,i,s,n)=>{const a={iu:e,plcmt:"2",description_url:location.href,gdfp_req:"1",output:t,unviewed_position_start:"1",env:"vp",impl:"s",vid_d:"vmap"===t&&this.videoLength>0?this.videoLength.toString():"",..."vmap"===t?{ad_rule:"1"}:i?{ad_rule:"0",pmad:s?s.toString():"5",pmnd:"0",pmxd:"180000"}:{ad_rule:"0"},...(r=this.gpt.ppid||window.anymindTS&&"gpt"in window.anymindTS&&window.anymindTS.gpt.ppid||void 0,r?{ppid:r}:{})};var r;n&&(a.sz=n);const o=this.getCustomVastParam();return Object.assign(a,o),a},this.getCustomVastParam=()=>{const{customVastParams}=this.config;return customVastParams.reduce(((current,value)=>{let valueConfig;try{valueConfig=eval(value.value)+""}catch(e){vjsLogger.error("error in eval: ",value.value)}return current[value.key]=valueConfig,current}),{})},this.createPlaylist=(e,t)=>{e.length<5&&vjsLogger.error("not enough playlist items, should be 5 or more");const i=document.createElement("div"),s=document.createElement("div"),n=document.createElement("div");if(i.classList.add("ats-video-playlist"),i.style.width=this.originVideoWidth+"px",s.classList.add("ats-video-playlist-container"),n.classList.add("ats-video-playlist-mask"),this.playlistMask=n,e.forEach((e=>{const i=document.createElement("div"),n=document.createElement("img"),a=document.createElement("div"),r=document.createElement("p");i.classList.add("ats-playlist-item"),r.textContent=e.title,n.src=e.thumbnail,a.appendChild(r),i.appendChild(n),i.appendChild(a),this.registerPlayListItemClickEvent(i,e,t),s.appendChild(i)})),i.appendChild(s),i.appendChild(n),this.numOfPlaylists=e.length,"pc"===this.deviceType){const e=document.createElement("button"),t=document.createElement("button");e.classList.add("ats-video-playlist-button-left"),t.classList.add("ats-video-playlist-button-right"),s.appendChild(e),s.appendChild(t),e.addEventListener("click",this.onClickLeftPlaylist),t.addEventListener("click",this.onClickRightPlaylist)}return i},this.disablePlaylist=()=>{this.playlistMask&&(this.playlistMask.style.display="block")},this.enablePlaylist=()=>{this.playlistMask&&(this.playlistMask.style.display="")},this.onClickLeftPlaylist=()=>{const e=document.querySelector(".ats-video-playlist-container");e&&(e.scrollLeft=e.scrollLeft-e.scrollWidth/this.numOfPlaylists)},this.onClickRightPlaylist=()=>{const e=document.querySelector(".ats-video-playlist-container");e&&(e.scrollLeft=e.scrollLeft+e.scrollWidth/this.numOfPlaylists)},this.registerPlayListItemClickEvent=(e,t,i)=>{e.addEventListener("click",this.onClickPlaylist(t,i))},this.onClickPlaylist=(e,t)=>()=>{const{videoSource:i,youtubeButtonText:s}=this.config;this.resetAdObj(),this.loadVideo(e.hls),this.changePoster(e.thumbnail),this.initIMA(t),3===i&&e.articles?(this.articleLinks=e.articles.map((e=>e.url)),this.videoPlayerViewMoreLink&&(this.videoPlayerViewMoreLink.text=e.buttonText||this.DEFAULT_RSS_LINK_BUT_TEXT)):1===i&&s&&this.videoPlayerViewMoreLink&&e.videoId&&(this.videoPlayerViewMoreLink.href=`${YOUTUBE_VIDEO_URL}${e.videoId}`),this.play()},this.loadVideo=e=>{this.hls.loadSource(e),this.hls.attachMedia(this.videoTag)},this.resetAdObj=()=>{this.hideAdDisplayContainer(),this.hideImaControlBar(),this.adDisplayContainerInitialized=!1,this.adsManager&&this.adsManager.destroy(),this.adsLoader&&this.adsLoader.destroy(),this.adDisplayContainer&&this.adDisplayContainer.destroy(),this.adsRequest=null,this.allAdsCompleted=!0,this.isAdPlaying=!1,clearInterval(this.intervalTimer),clearInterval(this.countdownTimer),clearTimeout(this.refreshTimer),this.isAdPaused=!1,this.contentEnded=!1},this.changePoster=e=>{this.player.poster=e},this.refreshAds=async(e,t)=>{if(await this.waitUntilHasFocus(),t===this.videoLoadingCount&&this.player&&!this.isAdPlaying){if(this.adsManager&&this.adsManager.destroy(),this.adsLoader)try{this.adsLoader.contentComplete()}catch(e){}this.adDisplayContainer.initialize(),vjsLogger.log("try to refresh ads"),this.imaRequestAds(e)}},this.waitUntilHasFocus=()=>new Promise((e=>{document.hasFocus()&&e(!0),this.hasFocusTimer=setInterval((()=>{document.hasFocus()&&(clearInterval(this.hasFocusTimer),e(!0))}),100)})),this.waitUntilFP=()=>!!this.isFirstPlay||new Promise((e=>{const t=setInterval((()=>{this.isFirstPlay&&(e(!0),clearInterval(t))}),50)})),this.createImaControls=()=>{this.adDisplayContainerElm.insertAdjacentHTML("afterbegin",'\n
\n
\n \n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
'),this.countdownDiv=document.querySelector("#ads_countdown"),this.progressDiv=document.querySelector("#ats_ads_progress_bar-progress"),this.imaControlBar=document.querySelector(".ats-ima-control-bar")},this.hideImaControlBar=()=>{this.imaControlBar.style.visibility="hidden"},this.showImaControlBar=()=>{this.imaControlBar.style.visibility="visible"},this.waitUntilInView=()=>new Promise((e=>{(0,_core_utils_util__WEBPACK_IMPORTED_MODULE_0__.TG)(this.videoStickyWrapper)&&e(!0);let t=!1;const i=()=>{t||(window.requestAnimationFrame((()=>{(0,_core_utils_util__WEBPACK_IMPORTED_MODULE_0__.TG)(this.videoStickyWrapper)&&(document.removeEventListener("scroll",i),e(!0)),t=!1})),t=!0)};this.scrollCallbacks.push(i),document.addEventListener("scroll",i)})),this.onAdsErrorCallback=async e=>{const t=e.getError().data.errorCode;vjsLogger.error(`${this.divId}: error code: ${t}`,e.getError().data);const i=this.videoLoadingCount;await this.multiCallAds(i)},this.multiCallAds=async e=>{if(vjsLogger.log("multi call ads"),this.autoAdUnitPaths[this.counter_retry-1]&&this.counter_retry<=this.MAX_RETRY){let t;t=this.prebid&&this.prebidAdUnits&&this.prebidAdUnit&&await this.prebid.onFirstPrebidResponseEnded?this.prebid.buildVideoUrl(this.prebidAdUnit,this.createVastParams(this.autoAdUnitPaths[this.counter_retry-1]||"",this.config.adOutputFormat,this.config.enableVastContinuousAds,this.config.numberOfRepeatedAds)):this.gpt.getVastUrl(this.createVastParams(this.autoAdUnitPaths[this.counter_retry-1]||"",this.config.adOutputFormat,this.config.enableVastContinuousAds,this.config.numberOfRepeatedAds,this.createAdSizes(this.config.aspectRatio))),await this.refreshAds(t,e),vjsLogger.log("retry count",this.counter_retry),this.counter_retry++}else{this.counter_retry=1,vjsLogger.log("all retry is fail, call ads after some seconds");const e=this.videoLoadingCount;this.refreshTimer=setTimeout((()=>{this.refreshAds(this.adTagUrl,e)}),this.REFRESH_INTERVAL)}},this.initIMA=e=>{vjsLogger.log("init ima");const t=window.google;t.ima.settings.setDisableCustomPlaybackForIOS10Plus(!0),this.createAdDisplayContainer();const i=new t.ima.AdsLoader(this.adDisplayContainer);this.adsLoader=i,i.addEventListener(t.ima.AdsManagerLoadedEvent.Type.ADS_MANAGER_LOADED,this.onAdsManagerLoaded,!1),i.addEventListener(t.ima.AdErrorEvent.Type.AD_ERROR,this.onAdsErrorCallback,!1),this.imaRequestAds(e)},this.contentEndedListener=()=>{this.contentEnded=!0;try{this.adsLoader.contentComplete()}catch(e){}},this.imaRequestAds=e=>{const t=new window.google.ima.AdsRequest;this.adsRequest=t,t.adTagUrl=this.testAdTagUrl?this.testAdTagUrl:e,t.linearAdSlotWidth=this.originVideoWidth,t.linearAdSlotHeight=this.originVideoHeight,t.nonLinearAdSlotWidth=this.originVideoWidth,t.nonLinearAdSlotHeight=this.originVideoHeight/3,this.playWithSound?(vjsLogger.log("sound ads request"),t.setAdWillPlayMuted(!1)):(vjsLogger.log("mute ads request"),t.setAdWillPlayMuted(!0)),this.adsLoader.requestAds(t)},this.createAdDisplayContainer=()=>{this.adDisplayContainer=new window.google.ima.AdDisplayContainer(this.adDisplayContainerElm,this.videoTag)},this.initializeAdDisplayContainer=()=>{this.adDisplayContainer&&this.adDisplayContainer.initialize()},this.showAdDisplayContainer=()=>{this.initAdUIElement(),this.adDisplayContainerElm.style.display="block"},this.hideAdDisplayContainer=()=>{this.initAdUIElement(),this.adDisplayContainerElm.style.display="none"},this.initAdUIElement=()=>{this.progressDiv.style.width="0%",this.countdownDiv.innerHTML=""},this.onAdsManagerLoaded=e=>{vjsLogger.log("ads manager loaded");const t=window.google,i=new t.ima.AdsRenderingSettings;i.restoreCustomPlaybackStateOnAdBreakComplete=!0;const s=e.getAdsManager(this.videoTag,i);this.adsManager=s,this.resizeObserver=new ResizeObserver((e=>{this.adsManager.resize(this.videoTag.clientWidth,this.videoTag.clientHeight,t.ima.ViewMode.NORMAL)})),this.resizeObserver.observe(this.videoTag);const n=[t.ima.AdEvent.Type.STARTED,t.ima.AdErrorEvent.Type.AD_ERROR,t.ima.AdEvent.Type.CONTENT_PAUSE_REQUESTED,t.ima.AdEvent.Type.CONTENT_RESUME_REQUESTED,t.ima.AdEvent.Type.ALL_ADS_COMPLETED,t.ima.AdEvent.Type.LOADED,t.ima.AdEvent.Type.COMPLETE,t.ima.AdEvent.Type.SKIPPABLE_STATE_CHANGED,t.ima.AdEvent.Type.SKIPPED,t.ima.AdEvent.Type.USER_CLOSE,t.ima.AdEvent.Type.LOG,t.ima.AdEvent.Type.AD_BREAK_READY];for(const e of n)s.addEventListener(e,this.onAdEvent);this.playAdBreaks()},this.onAdMuteClick=()=>{this.adMuteButton.classList.contains("plyr__control--pressed")?(this.adMuteButton.classList.add("plyr__control--not-pressed"),this.adMuteButton.classList.remove("plyr__control--pressed"),this.adsManager.setVolume(1)):(this.adMuteButton.classList.add("plyr__control--pressed"),this.adMuteButton.classList.remove("plyr__control--not-pressed"),this.adsManager.setVolume(0))},this.trackLinearAd=()=>{const e=this.currentAd.getDuration()>=0?this.currentAd.getDuration():0,t=this.adsManager.getRemainingTime()>0?this.adsManager.getRemainingTime():e;let i=e-t;i=i>=0?i:0;let s,n=0;this.currentAd.getAdPodInfo()&&(s=this.currentAd.getAdPodInfo().getAdPosition(),n=this.currentAd.getAdPodInfo().getTotalAds()),this.updateAdUi(i,t,e,s,n)},this.updateAdUi=(e,t,i,s,n)=>{const a=Math.floor(t/60),r=Math.floor(t%60);let o="";r.toString().length<2?o="0"+r:o+=r;let d=": ";n>1&&(d=" ("+s+"/"+n+") "),this.countdownDiv.innerHTML="Ad"+d+a+":"+o;let l=0;i>0&&(l=e/i);const c=100*l;this.progressDiv.style.width=c+"%"},this.initAdsManager=()=>{this.adsManager.init(this.videoTag.clientWidth,this.videoTag.clientHeight,window.google.ima.ViewMode.NORMAL),this.initializeAdDisplayContainer()},this.playAdBreaks=async()=>{this.userStopAnchor||this.enableAdAnchoredPlayback||await this.waitUntilInView(),await this.waitUntilFP(),this.initAdsManager(),this.showAdDisplayContainer(),this.hideImaControlBar();try{vjsLogger.log("play ads"),this.adsManager.start()}catch(e){vjsLogger.log(e),this.play()}},this.handleMissingVideo=async()=>{this.lastMissingVideosCount++,this.dispose(),await this.execute(document)},this.invokeVideoPlayer=async(e,t)=>{const{aspectRatio:i,scrollEffect:s,youtubeChannelFeedUrl:n,youtubeButtonText:a,videoSource:r,selectedYoutubeVideos:o,generatedVideosFeedJsonUrl:d,generatedVideos:l=[],enablePlaylist:c=!1,removePlaylistCarousel:p=!1}=this.config;let h="",g=null;if(1===r&&n){if(o.length>0){if(this.videoFeedEntry=c?await _VideoManager__WEBPACK_IMPORTED_MODULE_2__.f.chooseVideoByIndexFromSelected(t,n,this.videoLoadingCount):await _VideoManager__WEBPACK_IMPORTED_MODULE_2__.f.chooseVideoRandomlyFromSelected(t,n),!this.videoFeedEntry&&this.lastMissingVideosCount<3)return void await this.handleMissingVideo();this.lastMissingVideosCount=0}else this.videoFeedEntry=await _VideoManager__WEBPACK_IMPORTED_MODULE_2__.f.chooseLatestPublishedYTVideoEntry(n);if(this.videoFeed=await _VideoManager__WEBPACK_IMPORTED_MODULE_2__.f.ytFeedJson[n],!this.videoFeedEntry)return this.dispose(),void vjsLogger.error("iv: fail to download video");this.videoLength=this.videoFeedEntry.video_length||0,h=this.useMP4?this.videoFeedEntry.mp4.low:this.videoFeedEntry.hls.manifest,this.poster=this.videoFeedEntry.thumbnail}else if(2===r){const e=c?_VideoManager__WEBPACK_IMPORTED_MODULE_2__.f.chooseAMVideoEntryByIndex(this.divId,this.videoLoadingCount):_VideoManager__WEBPACK_IMPORTED_MODULE_2__.f.chooseAMVideoEntry(this.divId);if(!e&&c&&this.lastMissingVideosCount<3)return void await this.handleMissingVideo();this.lastMissingVideosCount=0,h=this.useMP4?e.mp4.low:e.hls.manifest,this.poster=e.thumbnail,this.videoFeed=_VideoManager__WEBPACK_IMPORTED_MODULE_2__.f.amFeedJson[this.divId]}else if(3===r&&d&&l.length>0){const e=l.map((e=>e.generatedVideoID)),t=await _VideoManager__WEBPACK_IMPORTED_MODULE_2__.f.chooseGeneratedFeedVideoEntry(d,e,c?this.videoLoadingCount:0);if(!t&&c&&this.lastMissingVideosCount<3)return void await this.handleMissingVideo();if(this.lastMissingVideosCount=0,this.videoFeed=await _VideoManager__WEBPACK_IMPORTED_MODULE_2__.f.generatedVideoJson[d],!t)return this.videoWrapper.style.display="none",void vjsLogger.error("iv: fail to download video");h=this.useMP4?t.entry.mp4.low:t.entry.hls.manifest,this.convertedGeneratedVideos=l.reduce(((e,t)=>(e[t.generatedVideoID]=t,e)),{}),g=this.convertedGeneratedVideos[t.id]?this.convertedGeneratedVideos[t.id].generatedVideoButtonText:null,this.poster=this.convertedGeneratedVideos[t.id].generatedVideoThumbnail,this.generatedVideoArticles=t.entry.articles,this.videoLength=this.RSS_VIDEO_LENGTH}if(this.videoLength>0&&"vmap"===this.config.adOutputFormat){const t=new URL(e);t.searchParams.get("vid_d")||(t.searchParams.set("vid_d",this.videoLength.toString()),e=t.toString())}this.useMP4?this.videoTag.src=h:(this.hls=new window.atsHls(this.hlsConfig),this.hls.loadSource(h),this.hls.attachMedia(this.videoTag));const u={controls:["play-large","play","progress","current-time","mute","volume"],ratio:i};this.videoTag.setAttribute("data-poster",this.poster);const _=new window.atsPlyr(`#${t}`,u);this.player=_,this.isSoundAvailable||window.addEventListener("atssoundon",(()=>{this.isSoundAvailable=!0})),this.initIMA(e),this.playWithSound?_.volume=DEFAULT_PLAYER_VOLUME:(vjsLogger.log("mute video sound"),_.volume=0,_.muted=!0),this.config.sound&&0===_.volume&&this.detectUIPromise.then((async()=>{await this.waitUntilFP(),_.volume=DEFAULT_PLAYER_VOLUME,window.dispatchEvent(this.soundOnEvent)}));const{height:m,width:b}=this.videoWrapper.getBoundingClientRect();if(this.videoWrapper.style.height=m+"px",this.videoWrapper.style.width=b+"px",this.videoStickyWrapper.style.width=b+"px",this.originVideoWidth=b,this.originVideoHeight=m,c){const t=[];if(1===r){const e=this.videoFeed.videos;let i=Object.keys(e);if(o.length>0){const e=o.map((e=>e.video_id));i=e.filter((e=>i.some((t=>t===e))))}i.forEach((i=>{t.push({videoId:e[i].video_id,thumbnail:e[i].thumbnail,title:e[i].title,hls:e[i].hls.manifest,mp4:e[i].mp4.low})}))}else if(3===r){let e=[];this.config.generatedVideos&&this.config.generatedVideos.length>0&&(e=this.config.generatedVideos.map((e=>e.generatedVideoID)));const i=this.videoFeed.videos;Object.keys(i).forEach((s=>{e.some((e=>e===s))&&t.push({thumbnail:i[s].articles[0].thumbnail,title:i[s].articles[0].title,hls:i[s].hls.manifest,mp4:i[s].mp4.low,articles:i[s].articles,buttonText:this.convertedGeneratedVideos[s].generatedVideoButtonText})}))}else 2===r&&this.videoFeed.forEach((e=>{t.push({thumbnail:e.thumbnail,title:e.title,hls:e.hls.manifest,mp4:e.mp4.low})}));p||(this.playlist=this.createPlaylist(t,e),this.playlist&&this.videoWrapper.insertAdjacentElement("afterend",this.playlist))}this.videoStickyWrapper.id=this.videoStickyWrapperId,_.on("ready",(()=>{_.elements.container.style.display="block"})),_.on("play",(()=>{this.isFirstPlay||(this.isFirstPlay=!0)})),_.on("ended",(async()=>{this.contentEndedListener(),await new Promise((e=>{const t=setInterval((()=>{this.allAdsCompleted&&(clearInterval(t),e(!0))}),300)})),this.dispose(),await this.execute(document)})),this.autoplayInNext&&this.autoplay();let f=!1;(0,_core_utils_util__WEBPACK_IMPORTED_MODULE_0__.TG)(this.videoStickyWrapper)&&(this.onceInView=!0);const v=()=>{f||(window.requestAnimationFrame((()=>{(0,_core_utils_util__WEBPACK_IMPORTED_MODULE_0__.TG)(this.videoStickyWrapper)&&(this.onceInView=!0,document.removeEventListener("scroll",v)),f=!1})),f=!0)};if(document.addEventListener("scroll",v),this.scrollCallbacks.push(v),this.generatedVideoArticles.length>0&&l.length>0?(this.videoPlayerViewMoreLink=document.createElement("a"),this.videoPlayerViewMoreLink.id=this.videoPlayerViewMoreLinkId,this.videoPlayerViewMoreLink.text=g||l[0].generatedVideoButtonText||this.DEFAULT_RSS_LINK_BUT_TEXT,this.videoStickyWrapper.appendChild(this.videoPlayerViewMoreLink),this.articleLinks=this.generatedVideoArticles.map((e=>e.url)),_.on("timeupdate",(()=>{const e=Math.floor(_.currentTime/6),t=this.articleLinks[e];t&&this.videoPlayerViewMoreLink&&(this.videoPlayerViewMoreLink.href=t,this.videoPlayerViewMoreLink.style.visibility="visible")}))):1===r&&a&&this.videoFeedEntry&&this.videoFeedEntry.video_id?(this.videoPlayerViewMoreLink=document.createElement("a"),this.videoPlayerViewMoreLink.id=this.videoPlayerViewMoreLinkId,this.videoPlayerViewMoreLink.text=a,this.videoStickyWrapper.appendChild(this.videoPlayerViewMoreLink),this.videoPlayerViewMoreLink.href=`${YOUTUBE_VIDEO_URL}${this.videoFeedEntry.video_id}`,this.videoPlayerViewMoreLink.style.visibility="visible"):this.videoPlayerViewMoreLink&&(this.videoPlayerViewMoreLink.style.visibility="hidden"),3!==s||this.userStopAnchor||this.enableAdAnchoredPlayback)if(2===s){let e=!1;this.topStickyCallback();const t=()=>{e||(window.requestAnimationFrame((()=>{this.topStickyCallback(),e=!1})),e=!0)};this.scrollCallbacks.push(t),document.addEventListener("scroll",t),this.showTopStickyVideoCloseButton&&(this.topStickyCloseButton.id=this.topStickyCloseButtonId,this.topStickyCloseButton.onclick=()=>{this.videoStickyWrapper.classList.remove(this.topStickyClass)},this.videoStickyWrapper.appendChild(this.topStickyCloseButton))}else(1===s||this.enableAdAnchoredPlayback)&&(this.observer=new IntersectionObserver(this.staticCallback,{root:document,rootMargin:"0px",threshold:1}),this.observer.observe(this.videoWrapper));else{let e=!1;this.anchorCallback();const t=()=>{e||(window.requestAnimationFrame((()=>{this.anchorCallback(),e=!1})),e=!0)};document.addEventListener("scroll",t),this.scrollCallbacks.push(t),this.closeButton.addEventListener("click",(()=>{this.userStopAnchor=!0,document.removeEventListener("scroll",t),this.stopElmAnchoring()}))}},this.startElmAnchoring=()=>{this.stickyOrAnchoring||(this.stickyOrAnchoring=!0,this.videoStickyWrapper.classList.remove(`${this.wrapperClassName}-non-anchoring`),this.videoStickyWrapper.classList.add(`${this.wrapperClassName}-anchoring`),this.videoStickyWrapper.classList.add(this.anchoringClass),this.userStopAnchor&&!this.showCloseButton||(this.closeButton.style.visibility="visible"),this.player.elements.inputs.volume&&(this.player.elements.inputs.volume.style.display="none"),this.videoStickyWrapper.style.width="")},this.stopElmAnchoring=()=>{this.stickyOrAnchoring=!1,this.videoStickyWrapper.classList.remove(`${this.wrapperClassName}-anchoring`),this.videoStickyWrapper.classList.remove(this.anchoringClass),this.videoStickyWrapper.classList.add(`${this.wrapperClassName}-non-anchoring`),this.videoStickyWrapper.style.width=this.originVideoWidth+"px",this.player.elements.inputs.volume&&(this.player.elements.inputs.volume.style.display="block"),this.closeButton.style.visibility="hidden"},this.anchorCallback=()=>{const{top:e,height:t}=this.videoWrapper.getBoundingClientRect();t/2+e-window.innerHeight<0&&this.autoplay(),!this.userStopAnchor&&!this.onceInView||(0,_core_utils_util__WEBPACK_IMPORTED_MODULE_0__.TG)(this.videoWrapper)?this.stickyOrAnchoring&&this.stopElmAnchoring():this.startElmAnchoring()},this.topStickyCallback=()=>{const e=this.videoWrapper.getBoundingClientRect().height,t=this.videoWrapper.getBoundingClientRect().top,i=this.videoWrapper.getBoundingClientRect().left;e/2+t-window.innerHeight<0&&this.autoplay(),t<0?this.stickyOrAnchoring||(this.stickyOrAnchoring=!0,this.videoStickyWrapper.classList.add(this.topStickyClass),this.videoStickyWrapper.style.width="",this.videoStickyWrapper.style.left=i+"px",this.videoStickyWrapper.style.width=this.originVideoWidth+"px",this.topStickyCloseButton.style.visibility="visible"):this.stickyOrAnchoring&&(this.stickyOrAnchoring=!1,this.videoStickyWrapper.classList.remove(this.topStickyClass),this.videoStickyWrapper.style.width=this.originVideoWidth+"px",this.topStickyCloseButton.style.visibility="hidden")},this.staticCallback=e=>{e[0].intersectionRatio>.5&&(this.observer?.disconnect(),this.autoplay())},this.detectUI=async()=>{const e=()=>{this.isFirstPlay&&(this.isUserInteractedOnDocument=!0,document.removeEventListener("click",e))};return document.addEventListener("click",e),await this.observeUI()},this.observeUI=()=>new Promise((e=>{const t=window.setInterval((()=>{this.isUserInteractedOnDocument&&(window.clearInterval(t),e(!0))}),300)})),this.autoplay=()=>{this.isAutoPlayed||this.isAdPlaying||1!==this.config.playerMode||(this.isAutoPlayed=!0,this.player?.play())},this.play=async()=>{await this.waitUntilInView(),await this.waitUntilFP(),vjsLogger.log("play video"),this.player?.play()},this.dispose=()=>{vjsLogger.log("dispose"),this.scrollCallbacks=this.scrollCallbacks.reduce(((e,t)=>(document.removeEventListener("scroll",t),e)),[]),this.counter_retry=1,this.isFirstPlay=!1,this.isAutoPlayed=!1,this.stickyOrAnchoring=!1,this.autoplayInNext=!0,this.showCloseButton=!1,this.hls?.detachMedia(),this.hls=null,this.player&&(this.player.destroy(),this.resetAdObj()),this.videoWrapper?.remove(),this.videoPlayerViewMoreLink&&(this.videoPlayerViewMoreLink.style.visibility="hidden"),this.playlist?.remove()},this.divId=this.config.divIDs[0],this.closeButtonId=`${this.divId}-close-button`,this.closeButton.type="button",this.wrapperId=`${this.divId}-wrapper`;const{sizeMappingGroup,selectedYoutubeVideos,scrollEffect,enableAdAnchoredPlayback,anchorPosition=1,autoAdUnitPaths=[],showTopStickyVideoCloseButton}=this.config;this.autoAdUnitPaths=autoAdUnitPaths,this.prebidAdUnits=this.prebid?.adUnitsCodeDict[this.divId],this.prebidAdUnit=this.prebidAdUnits?.prebidAdUnits.filter((e=>"instream"===e.mediaTypes.video?.context))[0];const sizeMapping=sizeMappingGroup.find((e=>(0,_core_utils_util__WEBPACK_IMPORTED_MODULE_0__.hg)(e.deviceSizes)));this.vastSizes=sizeMapping?sizeMapping.sizes[0]:[300,250],2===anchorPosition?this.anchoringClass=`${this.wrapperClassName}-left`:1===anchorPosition&&(this.anchoringClass=`${this.wrapperClassName}-right`),this.enableAdAnchoredPlayback=enableAdAnchoredPlayback&&3==scrollEffect,this.showTopStickyVideoCloseButton=showTopStickyVideoCloseButton,this.detectUIPromise=this.detectUI(),_VideoManager__WEBPACK_IMPORTED_MODULE_2__.f.registerSelectedVideos(selectedYoutubeVideos,this.divId)}get useMP4(){return!window.atsHls.isSupported()}get adTagUrl(){return this.config.adUnitPath?this.gpt.getVastUrl(this.createVastParams(this.config.adUnitPath,this.config.adOutputFormat,this.config.enableVastContinuousAds,this.config.numberOfRepeatedAds,this.createAdSizes(this.config.aspectRatio))):""}get playWithSound(){return this.isFirstPlay&&!!this.config.sound&&this.isSoundAvailable}}},404:(e,t,i)=>{i.d(t,{A:()=>n});var s=i(335);class n{constructor(e){this.gpt=e,this.isCalled=!1,this.config=null,this.execute=e=>{this.config=e,!this.isCalled&&this.config?(this.gpt.callOutOfPageSlotWrapper(this.config),this.isCalled=!0):s.vF.error("adx overlay must be called once")},this.dispose=()=>{this.isCalled=!1}}}},425:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{i:()=>SiteSettingsBase});var _Logger__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(335);class SiteSettingsBase{constructor(config){this.config=config,this.countryKeywordsJson={},this.browsersBlock=()=>{if(this.config.browsersBlock)for(const fnc of this.config.browsersBlock)try{if(eval(`(${fnc})(navigator.userAgent)`))return!0}catch(e){_Logger__WEBPACK_IMPORTED_MODULE_0__.vF.error("browsersBlock script",e)}return!1},this.fetchKeywordJson=async e=>"countryKeywordsJsonUrl"in this.config.keywordsBlock&&"string"==typeof this.config.keywordsBlock.countryKeywordsJsonUrl&&fetch(this.config.keywordsBlock.countryKeywordsJsonUrl,{mode:"cors",method:"GET",headers:{"Content-Type":"application/json"}}).then((e=>e.json())).then((t=>(this.countryKeywordsJson=t,this.callKeywordBlocks(e))),(e=>(_Logger__WEBPACK_IMPORTED_MODULE_0__.vF.error(e),!1))),this.callKeywordBlocks=async e=>("loading"===document.readyState&&await new Promise((e=>{const t=()=>{document.removeEventListener("DOMContentLoaded",t),e()};document.addEventListener("DOMContentLoaded",t)})),this.keywordsBlock(e)),this.keywordsBlock=async(e=document)=>{if(!("keywordsContainers"in this.config.keywordsBlock))return!1;const{keywordsContainers:t,keywords:i=[],keywordsCountry:s=[]}=this.config.keywordsBlock;s.length>0&&s.forEach((e=>{this.countryKeywordsJson[e]&&this.countryKeywordsJson[e].forEach((e=>i.push(e.toLowerCase())))})),_Logger__WEBPACK_IMPORTED_MODULE_0__.vF.log("keywords for block: ",i);const n=t.length>0?t.map((t=>e.querySelector(t)?.innerText||"")).join(" "):"innerText"in e?e.innerText:e.body.innerText;return this.isMatchedWithRegex(n.toLowerCase(),i)},this.isMatchedWithRegex=(e,t)=>{if(0===t.length)return _Logger__WEBPACK_IMPORTED_MODULE_0__.vF.log("no keywords"),!1;const i=t.map((e=>(["\\","*","+",".","?","{","}","(",")","[","]","^","$","|"].forEach((t=>{e=e.replace(t,`\\${t}`)})),e))).join("|"),s=new RegExp(i);return s.test(e)?(_Logger__WEBPACK_IMPORTED_MODULE_0__.vF.log("block by keyword"),_Logger__WEBPACK_IMPORTED_MODULE_0__.vF.log(e.match(s)),!0):(_Logger__WEBPACK_IMPORTED_MODULE_0__.vF.log("regex unblock"),!1)},this.dispose=()=>{}}}},456:(e,t,i)=>{i.d(t,{W:()=>o});var s=i(939),n=i(599),a=i(335);const r="2147483647";class o extends n.x{constructor(e,t,i,n){super(e,t,"insert_ads",i,"insert_ads"),this.executeCallCount=0,this.requestAnimationFrameId=0,this.currentNumOfAds=0,this._execute=(e,t=!1)=>(this.infinite=t,this.executeCallCount++,this.currentNumOfAds=0,e),this.choosePositions=e=>{let t=this.config.selector;"Function"===this.config.targetType&&(t=(0,s.ab)(e).join(">"));const i=this.config.targetFirstLevelOnly?this.config.selectors.map((e=>`${t}>${e}`)).join(","):this.config.selectors.join(",");let n=Array.prototype.map.call(e.querySelectorAll(i),(e=>e));if(this.config.exclusiveSelectors&&0`${e}+*`)).join(",");n=n.filter((t=>!t.matches(e)))}return n},this.selectPositions=(e,t)=>{const i=window.innerHeight,s=e.getBoundingClientRect(),n=s.top+window.pageYOffset,r=s.bottom+window.pageYOffset;if(s.height{const t=e.getBoundingClientRect(),s=t.top+window.pageYOffset,d=t.bottom+window.pageYOffset;return!(s-n{const{selector:t,targetType:i,isFlexible:n}=this.config,r=(0,s.EW)(e,t,i);if(null==r)return null;const o=[],d=[];if(n?(o.push(...this.choosePositions(r)),d.push(...this.selectPositions(r,o))):(o.push(r),d.push(r)),a.vF.enableLog)for(let e=0;e

${e}

`);return d.length<=0?(a.vF.error("i flex: no position"),null):d},this._buildSlot=(e,t)=>{const{showAdvertisement:i,customShowAdsText:s,insertPosition:n="afterbegin",isFlexible:a,divIDs:r}=this.config;if(this.currentNumOfAds++,this.currentNumOfAds>this.config.numOfAds)return null;const o=r[this.currentNumOfAds-1]+(this.infinite?`-${this.executeCallCount}`:""),d=document.createElement("div"),l=document.createElement("div");if(l.classList.add("ats-slot"),i){const e=document.createElement("p"),t=document.createTextNode(s||this.ADVERTISEMENT_TEXT);e.appendChild(t),d.appendChild(e)}d.appendChild(l);const c=document.createElement("div");c.id=`${o}-wrapper`,c.classList.add(this.AD_NAME,this.CLASS_NAME),i&&c.classList.add(this.SHOW_ADVERTISEMENT),c.appendChild(d);const p=a?"beforebegin":n;return e.insertAdjacentElement(p,c),this.slots[o]={baseElement:t,adUnitPath:this.config.adUnitPath,divId:o,slotWrapper:c,slot:l,isGPTRefreshCalled:!1,shouldStopRefresh:!1,...this.makeReplaceAdSenseParams()},o},this._getFetchAdConfig=(e,t,i)=>{const{setCollapseEmptyDiv:s,sizeMappingGroup:n,setTargetingConfigs:a,enableLazyLoad:r,lazyLoadConfig:o,lazyLoadMode:d,enableSetForceSafeFrameForSlot:l}=this.config,c=this.slots[e];return{gpt:{slotWrapperDiv:c.slotWrapper,instanceCount:this.instanceCount,adUnitPath:c.adUnitPath,sizes:[[300,250]],divId:c.divId,setCollapseEmptyDiv:s,sizeMappingGroup:n,setTargetingConfigs:a,onAfterGptRendered:this._onAfterGptRendered(e),onAfterGptFetched:this._onAfterGptFetched(e),enableSetForceSafeFrameForSlot:l,enableLazyLoad:r,lazyLoadConfig:o,lazyLoadMode:d,infinite:i}}},this._onAfterGptFetched=e=>t=>{const i=this.slots[e];i.googletagSlot=t,i.dispose=()=>{i.shouldStopRefresh=!0,googletag.destroySlots([t]),i.slotWrapper.remove()}},this._onAfterGptRendered=e=>t=>{const{isFlexible:i,isSticky:s,refreshInterval:n,refreshLimit:a,inViewRate:r,setTargetingConfigs:o}=this.config,d=this.slots[e];n>0&&!d.isGPTRefreshCalled&&this.gpt.intervalRefreshAds([t.slot],n,a,e,this.slots,r,o),t.slot===d.googletagSlot&&(t.isEmpty?d.slotWrapper.classList.add(this.UNRENDERED):(d.eventSize=Array.isArray(t.size)?[t.size[0],t.size[1]]:[0,0],d.slotWrapper.classList.add(this.RENDERED),!i&&s&&(this.initializeStyle(d.slotWrapper),this.handleSticky(d))))},this.handleSticky=e=>{if(!e.baseElement)return;const{slotWrapper:t,eventSize:i}=e,{stickyStopTarget:n,stickyStopTargetType:r,stickySizes:o,overrideMargin:d=!1,overrideMarginBottom:l=0,overrideMarginTop:c=0}=this.config,[p]=e.eventSize||[0],h=t.children[0],g=window.getComputedStyle(h),u=t.offsetHeight,{marginTop:_,marginBottom:m,marginLeft:b}=g,f=parseFloat(_)||0,v=parseFloat(m)||0,y=parseFloat(b)||0,E=d?c:parseFloat(_)||0,A=d?l:parseFloat(m)||0,S=(()=>{let e=!1;if(o&&o.length>0)for(let t=0;t{P||(P=!0,S?e.requestAnimationFrameId=window.requestAnimationFrame((()=>{this.handleScroll(p,y,E,A,u,e,h,I),P=!1})):(P=!0,e.requestAnimationFrameId&&window.cancelAnimationFrame(e.requestAnimationFrameId)))};t.classList.contains(this.ENABLE_STICKY)||(window.addEventListener("scroll",D),e.removeScrollEventListener=()=>{window.cancelAnimationFrame(this.requestAnimationFrameId),window.removeEventListener("scroll",D)},t.classList.add(this.ENABLE_STICKY))},this.handleScroll=(e,t,i,s,n,a,r,o)=>{const{slotWrapper:d}=a,{overrideMargin:l=!1,overrideMarginBottom:c=0,overrideMarginTop:p=0}=this.config;d.classList.remove(this.STICKY,this.ABSOLUTE),r.style.top="",r.style.marginLeft="";const h=(r.offsetWidth-e)/2+t,g=o?o.getBoundingClientRect().top:document.body.getBoundingClientRect().bottom,u=o?o.offsetTop:g+window.pageYOffset,_=d.getBoundingClientRect(),m=0<_.top-i,b=g-n-i-s<0,f=_.top-i<=0,v=u-n-i-s;m?(d.classList.remove(this.ABSOLUTE,this.STICKY),r.style.top="",r.style.marginLeft="",l&&(r.style.marginTop="",r.style.marginBottom="")):b?(d.classList.remove(this.STICKY),d.classList.add(this.ABSOLUTE),r.style.top=`${v}px`,r.style.marginLeft=`${h}px`):f&&(d.classList.remove(this.ABSOLUTE),d.classList.add(this.STICKY),r.style.top="",l&&(r.style.marginTop=`${p}px`,r.style.marginBottom=`${c}px`),r.style.marginLeft=`${h}px`)},this.initializeStyle=e=>{const t=e.children[0];e.classList.remove(this.ENABLE_STICKY),e.classList.remove(this.ABSOLUTE),e.classList.remove(this.STICKY),e.style.height="",t.style.marginLeft="",t.style.marginTop="",t.style.marginBottom=""},this.dispose=()=>{try{a.vF.log("i: dispose");for(const e in this.slots){const t=this.slots[e];t.removeScrollEventListener&&t.removeScrollEventListener(),t.dispose&&t.dispose(),delete this.slots[e]}}catch(e){a.vF.error(e)}},n.createAdObserver(this.config,this)}_init(){this.CLASS_NAME=`${this.AD_NAME}-${this.instanceCount}`}_addStyle(){(0,s.TD)([`div.${this.AD_NAME}.${this.UNRENDERED},`,`div.${this.AD_NAME}.${this.UNRENDERED} > div,`,`div.${this.AD_NAME}.${this.UNRENDERED} > div > div,`,`div.${this.AD_NAME}.${this.UNRENDERED} > div > div > div,`,`div.${this.AD_NAME}.${this.UNRENDERED} > div > div > div > iframe {`,"height: 1px;","}",`div.${this.AD_NAME},`,`div.${this.AD_NAME} > div,`,`div.${this.AD_NAME} > div > div,`,`div.${this.AD_NAME} > div > div > div,`,`div.${this.AD_NAME} > div > div > div > iframe {`,"text-align: center;","}",`div.${this.AD_NAME}.${this.RENDERED}.${this.SHOW_ADVERTISEMENT} > div > p {`,"color: #8a9299;","font-size: 10px;","margin-bottom: 3px;","margin-top: 3px;","text-transform: uppercase;","text-align: center;","}",`div.${this.AD_NAME}:not(.${this.RENDERED}) > div > p,`,`div.${this.AD_NAME}:not(.${this.SHOW_ADVERTISEMENT}) > div > p {`,"display: none;","}",`div.${this.AD_NAME}.${this.RENDERED}.${this.ENABLE_STICKY}.${this.ABSOLUTE} > div {`,"position: absolute;",`z-index: ${r};`,"}",`div.${this.AD_NAME}.${this.RENDERED}.${this.ENABLE_STICKY}.${this.STICKY} > div {`,"position: fixed;",`z-index: ${r};`,"top: 0px;","}"].join("")+(a.vF.enableLog?[`div.${this.AD_NAME}-debug {`,"height: 1px;","margin: 0 auto;","padding: 0;","position: relative;","}",`div.${this.AD_NAME}-debug > p {`,"background-color: rgba(225, 0, 80, 0.5);","color: #212121;","font-size: 7px;","height: 16px;","margin: 0 auto;","text-align: center;","top: 0;","width: 16px;","}"].join(""):""),this.AD_NAME),(0,s.TD)([`div.${this.CLASS_NAME}.${this.AD_NAME} > div {`,this.config.customCss,"}",`div.${this.CLASS_NAME}.${this.AD_NAME}.${this.RENDERED}.${this.SHOW_ADVERTISEMENT} > div {`,this.config.customCssForShowAdvertisement,"}"].join("")+(this.config.isSticky?[`div.${this.CLASS_NAME}.${this.AD_NAME}.${this.RENDERED}.${this.ENABLE_STICKY}.${this.ABSOLUTE} > div {`,"background-color: inherit;","}",`div.${this.CLASS_NAME}.${this.AD_NAME}.${this.RENDERED}.${this.ENABLE_STICKY}.${this.STICKY} > div {`,"top: 0px;","background-color: inherit;","}"].join(""):""),this.CLASS_NAME)}}},463:(e,t,i)=>{i.d(t,{R:()=>o});var s=i(939),n=i(554),a=i(335),r=i(599);class o extends r.x{constructor(e,t,i,r){super(e,t,"ats-interstitial",i,"interstitial"),this.resolve=r,this._execute=()=>{},this._findTarget=()=>[document.body],this._buildSlot=e=>{const t=this.config.divIDs[0];return this.slots[t]={slotWrapper:this.createDiv(`${this.AD_NAME}-root`),slot:document.createElement("div"),divId:t,adUnitPath:this.config.adUnitPath,isGPTRefreshCalled:!1,shouldStopRefresh:!1},this.backdrop=this.createDiv(`${this.AD_NAME}-backdrop`),this.container=this.createDiv(`${this.AD_NAME}-container`),this.paper=this.createDiv(`${this.AD_NAME}-paper`),this.paper.appendChild(this.slots[t].slot),this.container.appendChild(this.paper),this.slots[t].slotWrapper.appendChild(this.backdrop),this.slots[t].slotWrapper.appendChild(this.container),this.slots[t].slotWrapper.appendChild(this.closeButton),this.setCustomStyle(),e.insertAdjacentElement("beforeend",this.slots[t].slotWrapper),t},this._getFetchAdConfig=e=>{const{adUnitPath:t,sizeMappingGroup:i,setCollapseEmptyDiv:s,setTargetingConfigs:n,enableSetForceSafeFrameForSlot:a}=this.config;return{gpt:{slotWrapperDiv:this.slots[e].slotWrapper,instanceCount:this.instanceCount,adUnitPath:t,sizes:[[300,250]],divId:e,sizeMappingGroup:i,setCollapseEmptyDiv:s,setTargetingConfigs:n,enableSetForceSafeFrameForSlot:a,onAfterGptRendered:this._onAfterGptRendered(e),onAfterGptFetched:this._onAfterGptFetched(e),infinite:!1}}},this._onAfterGptFetched=e=>t=>{this.dispose=()=>{try{this.close(t,e)}catch(e){a.vF.error(e)}},this.closeButton.onclick=()=>this.close(t,e)},this._onAfterGptRendered=e=>t=>{try{if(t.isEmpty)throw new Error(t.slot+" isEmpty");const[i,s]=Array.isArray(t.size)?t.size:[0,0];this.show(i,s,e)}catch(e){this.dispose()}},this.setCloseButtonPosition=()=>{let e=`#${this.AD_NAME}-button {\n top: 112px;\n bottom: auto!important;\n right: 56px;\n }`;switch(this.config.closeButtonPosition){case"topleft":e=`#${this.AD_NAME}-button {\n top: 112px;\n bottom: auto!important;\n left: 56px;\n }`;break;case"topright":e=`#${this.AD_NAME}-button {\n top: 112px;\n bottom: auto!important;\n right: 56px;\n }`;break;case"topmiddle":e=`#${this.AD_NAME}-button {\n top: 112px;\n bottom: auto!important;\n left: 50%;\n transform: translateX(-50%);\n padding: 8px 32px;\n }`;break;case"bottomleft":e=`#${this.AD_NAME}-button {\n bottom: 112px;\n top: auto!important;\n left: 56px;\n }`;break;case"bottomright":e=`#${this.AD_NAME}-button {\n bottom: 112px;\n top: auto!important;\n right: 56px;\n }`;break;case"bottommiddle":e=`#${this.AD_NAME}-button {\n bottom: 112px;\n top: auto!important;\n left: 50%;\n transform: translateX(-50%);\n padding: 8px 32px;\n }`}(0,s.TD)(e,`${this.AD_NAME}-override-position`)},this.setCustomStyle=()=>{this.config.useCloseButtonXIcon&&(0,s.TD)(`#${this.AD_NAME}-button::before {content: '×';font-size: inherit;${this.config.closeButtonText?"margin-right: 8px;":""}color: inherit}`,`${this.AD_NAME}-close-button-x-icon`),this.setCloseButtonPosition(),this.config.useCustomCss&&this.config.customCss&&(0,s.TD)(this.config.customCss,`${this.AD_NAME}-override`)},this.createDiv=e=>{const t=document.createElement("div");return t.id=e,t},this.createCloseButton=(e,t)=>{const i=document.createElement("button"),s=document.createTextNode(t);return i.appendChild(s),i.id=e,i},this.show=(e,t,i)=>{this.slots[i].slotWrapper.style.visibility="visible",this.slots[i].slotWrapper.style.opacity="1",this.paper.style.width=`${e}px`,this.paper.style.height=`${t}px`,this.closeButton.style.display="none";const s=this.slots[i].slot.querySelector("iframe");s&&s.addEventListener("load",(()=>{setTimeout((()=>{this.closeButton.style.display="inline-block"}),window.anymindTS_TIME_HIDE_INTERSTITIAL_CLOSE_BUTTON??300)}))},this.close=(e,t)=>{this.slots[t].slotWrapper.style.opacity="0",(0,n._7)((()=>{e&&(googletag.destroySlots([e]),document.body.removeChild(this.slots[t].slotWrapper))}))(),this.resolve&&(a.vF.log("is: close"),this.resolve())},this.dispose=()=>{},this.backdrop=this.createDiv(`${this.AD_NAME}-backdrop`),this.container=this.createDiv(`${this.AD_NAME}-container`),this.paper=this.createDiv(`${this.AD_NAME}-paper`),this.closeButton=this.createCloseButton(`${this.AD_NAME}-button`,this.config.closeButtonText||"")}_init(){}_addStyle(){(0,s.TD)(`\n #${this.AD_NAME}-root {\n visibility: hidden;\n opacity: 0;\n will-change: opacity;\n transition: opacity 225ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;\n box-sizing: border-box;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n z-index: 1500;\n position: fixed;\n }\n #${this.AD_NAME}-backdrop {\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n z-index: -1;\n position: fixed;\n touch-action: none;\n background-color: rgba(0, 0, 0, 0.5);\n -webkit-tap-highlight-color: transparent;\n }\n #${this.AD_NAME}-container {\n height: 100%;\n outline: none;\n display: flex;\n align-items: center;\n justify-content: center;\n }\n #${this.AD_NAME}-paper {\n flex: 0 1 auto;\n max-width: 1000px;\n max-height: calc(100% - 96px);\n margin: 0;\n display: flex;\n position: relative;\n overflow-y: auto;\n flex-direction: column;\n box-shadow: 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12);\n border-radius: 4px;\n background-color: rgba(50, 50, 50, 0.4);\n box-sizing: inherit;\n }\n #${this.AD_NAME}-button {\n position: fixed;\n top: 112px;\n right: 56px;\n color: ${this.config.closeButtonTextColor||"#fff"};\n background-color: ${this.config.closeButtonBackgroundColor||"#000000"};\n padding: 8px 16px;\n font-size: 1rem;\n min-width: 64px;\n box-sizing: border-box;\n min-height: 36px;\n font-weight: ${this.config.closeButtonBoldText?600:500};\n line-height: 1.5;\n border: none;\n border-radius: 8px;\n letter-spacing: 0.02857em;\n white-space: nowrap;\n }\n #${this.AD_NAME}-button:focus {\n outline: none !important;\n }\n`,this.AD_NAME)}}},472:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{O:()=>functionTargeting});var _Logger__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(335);const throttle=(e,t)=>{let i=!1;return function(s,n){i||(e(s,n),i=!0,setTimeout((function(){i=!1}),t))}};class FunctionTargeting{constructor(){this.MUTATION_TIMEOUT=18e4,this.mutationObserverList={},this.mutationConfig={childList:!0,subtree:!0},this.callback=(key,functionTrigger,resolve)=>(_mutationsList,observer)=>{let result;try{result=eval(functionTrigger)}catch(e){_Logger__WEBPACK_IMPORTED_MODULE_0__.vF.error("[functionTrigger]",key,e)}result&&(_Logger__WEBPACK_IMPORTED_MODULE_0__.vF.log(key+": find target"),resolve(!0),observer.disconnect())},this.waitForConditionMet=async(parentElm,instanceCount,functionTrigger,adUnitPath)=>new Promise((resolve=>{const key=instanceCount+adUnitPath;let result;try{result=eval(functionTrigger)}catch(e){_Logger__WEBPACK_IMPORTED_MODULE_0__.vF.error("[functionTrigger]",key,e)}if(result)_Logger__WEBPACK_IMPORTED_MODULE_0__.vF.log(key+": find target"),resolve(!0);else{const e=new MutationObserver(throttle(this.callback(key,functionTrigger,resolve),50));this.mutationObserverList[key]=e,e.observe(parentElm,this.mutationConfig),setTimeout((()=>e.disconnect()),this.MUTATION_TIMEOUT)}})),this.dispose=()=>{Object.keys(this.mutationObserverList).forEach((e=>{this.mutationObserverList[e].disconnect()}))}}}const functionTargeting=new FunctionTargeting},476:(e,t,i)=>{i.d(t,{A:()=>r});var s=i(939),n=i(599),a=i(335);class r extends n.x{constructor(e,t,i,n){super(e,t,"ats-slider",i,"slider"),this.sliderCloseButton=document.createElement("button"),this.slider=document.createElement("div"),this.wrapperClassName="ats-slider-wrapper",this.sliderClassName="ats-slider",this.buttonClassName="ats-slider-button",this.wrapperId=this.wrapperClassName+"-"+this.instanceCount,this.sliderDivId=this.sliderClassName+"-div-"+this.instanceCount,this.buttonId=this.buttonClassName+"-"+this.instanceCount,this._execute=e=>(this.addStyle(),e),this._findTarget=e=>{const{selector:t,targetType:i}=this.config,n=(0,s.EW)(e,t,i);return null==n?null:[n]},this._buildSlot=(e,t)=>{const{divIDs:i,insertPosition:s}=this.config,n=i[0],a=document.createElement("div");a.setAttribute("id",this.wrapperId),a.classList.add(this.wrapperClassName),this.slider.setAttribute("id",this.sliderDivId),this.slider.classList.add(this.sliderClassName),this.slider.classList.add(this.UNRENDERED),a.append(this.slider),this.sliderCloseButton.setAttribute("id",this.buttonId),this.sliderCloseButton.classList.add(this.buttonClassName),this.sliderCloseButton.classList.add(this.UNRENDERED),this.slider.append(this.sliderCloseButton);const r=document.createElement("div"),o=document.createElement("div");o.classList.add(this.sliderClassName+"-wrapper-paper");const d=document.createElement("div");return d.classList.add(this.sliderClassName+"-wrapper"),d.append(r),o.append(d),this.slider.append(o),e.insertAdjacentElement(s,a),this.slots[n]={baseElement:t,slotWrapper:a,adUnitPath:this.config.adUnitPath,divId:n,slot:r,isGPTRefreshCalled:!1,shouldStopRefresh:!1,...this.makeReplaceAdSenseParams()},n},this._getFetchAdConfig=(e,t,i)=>{const{setCollapseEmptyDiv:s,sizeMappingGroup:n,setTargetingConfigs:a,enableSetForceSafeFrameForSlot:r}=this.config,o=this.slots[e];return{gpt:{slotWrapperDiv:o.slotWrapper,instanceCount:this.instanceCount,adUnitPath:o.adUnitPath,sizes:[[300,250]],divId:o.divId,setCollapseEmptyDiv:s,sizeMappingGroup:n,setTargetingConfigs:a,enableSetForceSafeFrameForSlot:r,onAfterGptRendered:this._onAfterGptRendered(e),onAfterGptFetched:this._onAfterGptFetched(e),infinite:i}}},this._onAfterGptFetched=e=>t=>{this.sliderCloseButton.onclick=this.onClose(t,e),this.dispose=()=>{try{this.onClose(t,e)(),a.vF.log("o: dispose")}catch(e){a.vF.error(e)}}},this._onAfterGptRendered=e=>t=>{const{refreshInterval:i,refreshLimit:s,inViewRate:n,setTargetingConfigs:a}=this.config,r=this.slots[e];if(i>0&&!r.isGPTRefreshCalled&&this.gpt.intervalRefreshAds([t.slot],i,s,e,this.slots,n,a),!t.isEmpty){if("0x0"===t.size.join("x"))return;this.slider.classList.remove(this.UNRENDERED),this.slider.classList.add(this.RENDERED),this.sliderCloseButton.classList.remove(this.UNRENDERED),this.sliderCloseButton.classList.add(this.RENDERED)}},this.onClose=(e,t)=>()=>{e&&googletag.destroySlots([e]),this.slots[t].shouldStopRefresh=!0,this.slots[t].slotWrapper.remove()},this.dispose=()=>{try{a.vF.log("s: dispose");for(const e in this.slots){const t=this.slots[e];t.removeScrollEventListener&&t.removeScrollEventListener(),t.dispose&&t.dispose(),delete this.slots[e]}}catch(e){a.vF.error(e)}},n.createAdObserver(this.config,this)}_init(){}_addStyle(){}addStyle(){const{customCss:e,sliderScale:t,sliderPosition:i}=this.config;(0,s.TD)(`\n #${this.sliderDivId}.${this.RENDERED} {\n text-align: center;\n position: fixed;\n ${1===i?"left: 0":"right: 0"};\n bottom: 0;\n transform: scale(${t/100});\n z-index: 9999;\n }\n #${this.sliderDivId}.${this.RENDERED} {\n ${e}\n }\n #${this.buttonId}.${this.RENDERED} {\n display: block !important;\n background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg width='24' height='24' viewBox='338 4 16 18' fill='black' fill-opacity='0.6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M354 9.31L352.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' fill-rule='evenodd'/%3E%3C/svg%3E");\n background-size: 20px 20px;\n background-position: center;\n background-color: #fff;\n background-repeat: no-repeat;\n border: none;\n height: 40px;\n width: 40px;\n padding: 0;\n margin: 0;\n position: absolute;\n right: 0;\n box-shadow: 0 -1px 1px 0 rgba(0,0,0,0.2);\n border-radius: 12px 0 0 0;\n top: -35px;\n }\n #${this.buttonId}.${this.RENDERED}::before {\n position: absolute;\n content: "";\n top: -20px;\n right: 0;\n left: -20px;\n bottom: 0;\n }\n #${this.buttonId}.${this.UNRENDERED} {\n visibility: hidden;\n }\n .${this.sliderClassName+"-wrapper-paper"} {\n position: relative;\n border: 15px solid #fff;\n }\n .${this.sliderClassName+"-wrapper"} {\n margin: auto;\n }\n`,`${this.AD_NAME}`)}}},554:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{Ay:()=>Gpt,_7:()=>withGptAsync});var _Logger__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(335),_core_utils_util__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(939),_TargetObserver__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(356),_GptBase__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(655);const CHECK_INTERVAL_TIME=1e3,THROTTLE_TIME=200,PPID_COOKIE_NAME="am_FPID",PPID_JS_COOKIE_NAME="am_FPID_JS",GPT_URL="https://securepubads.g.doubleclick.net/tag/js/gpt.js";let googletag=window.googletag=window.googletag||{};function throttle(e,t){let i=!1;return function(){i||(e(),i=!0,setTimeout((function(){i=!1}),t))}}googletag.cmd=googletag.cmd||[];class GptLogger{constructor(e=_Logger__WEBPACK_IMPORTED_MODULE_0__.vF){this.logger=e,this.log=(...e)=>{this.logger.log("gpt:",...e)},this.error=(...e)=>{this.logger.error("gpt:",...e)}}}const gptLogger=new GptLogger,withGptAsync=e=>(...t)=>{googletag.cmd.push((()=>e(...t)))};class Gpt extends _GptBase__WEBPACK_IMPORTED_MODULE_3__.N{constructor(tagServices,prebid,aps){super(),this.tagServices=tagServices,this.prebid=prebid,this.aps=aps,this.isSRAEnabled=!1,this.atsSlots=[],this.definedAtsSlots={},this.atsSlotsWithVisibility=[],this.callbacksOnSlotRenderEnded=[],this.refreshedSlots=[],this.outOfPageSlots=[],this.enableSeparateRequest=!1,this.destroyAtsSlotsOnly=!1,this.enableAdRecovery=!1,this.separateRequestDivIds=[],this.lazyLoadCallbacks={},this.prebidOnlySlotsDivIdMap={},this.addGoogletagEventListner=()=>{withGptAsync((()=>{googletag.pubads().addEventListener("slotRenderEnded",(e=>{for(const t of this.callbacksOnSlotRenderEnded)t(e)})),googletag.pubads().addEventListener("slotVisibilityChanged",(e=>{for(const t of this.atsSlotsWithVisibility)e.slot===t.slot&&(t.visibilityPercentage=e.inViewPercentage)})),googletag.pubads().addEventListener("impressionViewable",(e=>{for(const t of this.atsSlotsWithVisibility)e.slot===t.slot&&(t.isViewable=!0)}))}))()},this.insertGptTag=()=>{(0,_core_utils_util__WEBPACK_IMPORTED_MODULE_1__.nL)(!0,GPT_URL)},this.addEventListener=(e,t)=>{googletag.pubads().addEventListener(e,t)},this.removeEventListener=(e,t)=>{googletag.pubads().removeEventListener(e,t)},this.display=e=>{googletag.display(e)},this.destroySlots=e=>{googletag.destroySlots(e)},this.setForceSafeFrameForSlot=(e,t)=>{e.setForceSafeFrame(t)},this.setTargetingForEachSlot=(slot,setTargetingConfigs)=>{setTargetingConfigs.forEach((setTargetingConfig=>{if(setTargetingConfig.isActive){const keyConfig=setTargetingConfig.key;let valueConfig=setTargetingConfig.value;try{valueConfig=eval(valueConfig)+""}catch(e){gptLogger.error("setTargeting failed",e)}slot.setTargeting(keyConfig,valueConfig)}}))},this.setTargeting=(e,t)=>{googletag.pubads().setTargeting(e,t)},this.setPPID=async(url,customScript)=>{if(!url&&!customScript)return;const label="[PPID]",_getPPID=()=>{const e=(0,_core_utils_util__WEBPACK_IMPORTED_MODULE_1__.Ri)();return e[PPID_COOKIE_NAME]||e[PPID_JS_COOKIE_NAME]},_setPPID=e=>{this._ppid=e,(0,_core_utils_util__WEBPACK_IMPORTED_MODULE_1__.TV)(PPID_JS_COOKIE_NAME,e,2555),googletag.cmd.push((()=>{googletag.pubads().setPublisherProvidedId(e),gptLogger.log(label,`set ${e}`)}))},ppid=_getPPID();if(ppid)return gptLogger.log(label,`has ${ppid}`),void _setPPID(ppid);if(gptLogger.log(label,"no PPID"),url)await fetch(url,{mode:"cors",credentials:"include"}).then((e=>{if(!e.ok)return void gptLogger.error(label,`The request to ${url} failed`);gptLogger.log(label,`The request to ${url} was successful`);const t=_getPPID();t?_setPPID(t):gptLogger.error(label,"no ppid in cookie")}),(e=>{gptLogger.error(label,`The request to ${url} failed by ${e}`)}));else if(customScript)try{await eval(customScript)}catch(e){gptLogger.error(label,"Fail custom script",e)}},this.refreshAds=(e,t,i=!0)=>{t||(e=e.filter((e=>!this.refreshedSlots.some((t=>e===t))))),0({slotId:e.getSlotElementId(),adUnitPath:e.getAdUnitPath()})))),googletag.pubads().refresh(e,{changeCorrelator:i}),e.forEach((e=>!this.refreshedSlots.some((t=>e===t))&&this.refreshedSlots.push(e)))):gptLogger.log("no refresh")},this.checkIfEnableRefreshAd=(e,t,i,s)=>new Promise((n=>{const a=setInterval((()=>{(0,_core_utils_util__WEBPACK_IMPORTED_MODULE_1__.ze)(i)||i[e].shouldStopRefresh?(clearInterval(a),n()):(0,_core_utils_util__WEBPACK_IMPORTED_MODULE_1__.pr)()&&this.isSlotViewable(t,s)&&(gptLogger.log(`auto refresh for ${e}`),clearInterval(a),n())}),CHECK_INTERVAL_TIME)})),this.isSlotViewable=(e,t)=>{const i=this.atsSlotsWithVisibility.find((t=>t.slot===e));return void 0===i||!!i.isViewable&&(i.visibilityPercentage>=t&&(i.isViewable=!1,!0))},this.intervalRefreshAds=(e,t,i,s,n,a=0,r=[])=>{const o=n[s];o.isGPTRefreshCalled=!0;let d=!0;const l=o.adSenseReplacementClient&&o.adSenseReplacementSlot;let c=i;const p=async()=>{if(!o.shouldStopRefresh){if(await new Promise((e=>setTimeout(e,1e3*t))),void 0===e[0]||!n)return;o.shouldStopRefresh||(d&&(d=!1,await this.checkIfEnableRefreshAd(s,e[0],n,a)),l||(d=!0),"number"!=typeof c||0e.getSlotElementId()))}`))}};p()},this.replaceAdSense=({slot:e,adSenseReplacementClient:t,adSenseReplacementSlot:i})=>{if(!t||!i)return;gptLogger.log("Replace adsense",e.id,t,i),e.textContent="";const s=document.createElement("script");s.async=!0,s.src=`https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=${t}`,s.setAttribute("crossorigin","anonymous"),e.appendChild(s);const n=document.createElement("ins");n.classList.add("adsbygoogle"),n.style.display="block",n.setAttribute("data-ad-client",t),n.setAttribute("data-ad-slot",i),n.setAttribute("data-ad-format","auto"),n.setAttribute("data-full-width-responsive","true"),e.appendChild(n),(window.adsbygoogle=window.adsbygoogle||[]).push({})},this.executeBasicTargetings=()=>{const e=window.location.search.substring(1),t=window.document.referrer?document.referrer.split("/")[2]:"null",i=window.location.pathname;if(googletag.pubads().setTargeting("url",[i]),googletag.pubads().setTargeting("ref",[t]),e){const t=e.split("&");for(let e=0;e{googletag.pubads().isInitialLoadDisabled()||googletag.pubads().disableInitialLoad()},this.isInitialLoadDisabled=()=>googletag.pubads().isInitialLoadDisabled(),this.enableSingleRequest=()=>{this.isSRAEnabled=!0,googletag.pubads().enableSingleRequest()},this.collapseEmptyDivs=()=>{googletag.pubads().collapseEmptyDivs()},this.setKeyValuesToSlots=(e,t,i)=>{e.forEach((e=>{e.setTargeting(t,i)}))},this.enableGamLazyload=e=>{googletag.pubads().enableLazyLoad({fetchMarginPercent:e.gamLazyloadFetchMarginPercent,renderMarginPercent:e.gamLazyloadRenderMarginPercent,mobileScaling:e.gamLazyloadMobileScaling})},this.enableServices=()=>{googletag.pubadsReady?gptLogger.log("already gpt service is enabled"):googletag.enableServices()},this.forceHB=async e=>{if(e.length<=0)return;const t=[],i=[],s=[];for(const n of e){const e=n.getAdUnitPath(),a=n.getSlotElementId();t.push(a);for(const t of this.configManager.configsForCurrentPage)if("prebid_only"===t.type&&t.settings.adUnitPath===e){const e=JSON.parse(JSON.stringify(t));e.settings.divID=a,i.push(e)}else if("tam"===t.type){const i=JSON.parse(JSON.stringify(t));i.settings.tamAdUnits=i.settings.tamAdUnits.filter((({slot:t})=>(t.slotID=a,t.adUnitPath===e))),0e.code)))&&n.forEach((e=>this.prebid.setTargetingForEachSlot(e.code)))}if(0{!Array.isArray(e)||e.length<0?gptLogger.error("[infinite hb] not correct input"):(await this.callHb(e),googletag.pubads().isInitialLoadDisabled()&&this.refreshAds(e))},this.callHb=async(e,t=!1,i=[])=>{if(0!==e.length&&(this.prebid.isCalled||this.aps.isCalled)){const s=[],n=[],a=[];if(e.forEach((e=>{t&&(e.clearTargeting(),this.setTargetingForEachSlot(e,i));const r=e.getSlotElementId(),o=e.getAdUnitPath(),d=this.prebid.adUnitsDict[o]?this.prebid.adUnitsDict[o].prebidAdUnits:null,l=this.prebid.adUnitsDict[o]?this.prebid.adUnitsDict[o].code:null;d&&l&&(this.prebid.removeAdUnit(l),d.forEach((e=>{e.code=r,s.push(e)})),n.push(r));const c=this.aps.slotsDict[o];void 0!==c&&(c.slotID=r,a.push(c))})),s.length>0){await this.prebid.sendBids(s,n)&&n.forEach((e=>this.prebid.setTargetingForEachSlot(e)))}if(a.length>0){await this.aps.fetchApsBids(a)&&this.aps.setTargeting()}}},this.defineAdxRewardSlot=(e,t)=>{const i=googletag.defineOutOfPageSlot(e,googletag.enums.OutOfPageFormat.REWARDED);return i&&(this.setTargetingForEachSlot(i,t),i.addService(googletag.pubads())),i},this.callOutOfPageSlot=async({adUnitPath:e,position:t,setTargetingConfigs:i},s)=>{if(await this.setPPIDPromise,this.isSRAEnabled){const e=t=>{t?.target?.removeEventListener(t.type,e),this.outOfPageSlots.forEach((({slot:e,config:t})=>{googletag.display(e),0{if(i.slot===e){if(gptLogger.log(`render slot \npath: ${e.getAdUnitPath()}`),!i.isEmpty)return;googletag.destroySlots([i.slot]);let s=!1;t.autoAdUnitPaths.reduce(((e,i,n,a)=>e.then((async()=>{if(!s){const e={...t,adUnitPath:i},r=await this.callOutOfPageSlotforMulticall(e);r&&(r.isEmpty&&n{e.slot===n&&(gptLogger.log(`render slot \npath: ${n.getAdUnitPath()}`),s(e))})))}},this.lazySetTargetingAndRefresh=notFoundPBOnlySlotMap=>{const slotIds=Object.keys(notFoundPBOnlySlotMap);slotIds.forEach((_slotId=>{const divIdType=notFoundPBOnlySlotMap[_slotId].divIDType,inViewRefresh=notFoundPBOnlySlotMap[_slotId].inViewRefresh;_TargetObserver__WEBPACK_IMPORTED_MODULE_2__.c.waitForElement("QuerySelector"===divIdType?`#${_slotId}`:`#${eval(_slotId)}`,"QuerySelector",(async()=>{const slotId="QuerySelector"===divIdType?_slotId:eval(_slotId),gptSlot=await this.waitGptAdSlot(slotId);gptLogger.log("lazy refresh: ",slotId),await this.prebid.onFirstPrebidResponseEnded&&this.prebid.setTargetingForEachSlot(slotId),await this.aps.onFirstApsResponseEnded&&this.aps.setTargeting();const target=document.querySelector("#"+slotId);inViewRefresh&&target&&await Gpt.isIntersected(target),this.refreshAds([gptSlot])}))}))},this.waitGptAdSlot=e=>new Promise((t=>{const i=setInterval((()=>{s(i)}),100),s=i=>{const s=googletag.pubads().getSlots().find((t=>t.getSlotElementId()===e));s&&(clearInterval(i),t(s))}})),this.defineATSSlotsForSRA=async(e,t)=>{if(e.forEach((e=>this.defineSlot(e.adUnitPath,[[300,250]],e.divId,e.sizeMappingGroup,e.setCollapseEmptyDiv,e.enableSetForceSafeFrameForSlot,e.setTargetingConfigs))),await this.setPPIDPromise,t.forEach((e=>{const{adUnitPath:t,position:i,setTargetingConfigs:s}=e;gptLogger.log(`call defineOutOfPageSlot adUnitPath: ${t}, position: ${i}`);const n=googletag.defineOutOfPageSlot(t,googletag.enums.OutOfPageFormat[i]);n&&(n.addService(googletag.pubads()),this.setTargetingForEachSlot(n,s),this.outOfPageSlots.push({slot:n,config:e}),this.atsSlots.push(n))})),await this.tagServices.shouldBlockRefresh)return void gptLogger.error("not refresh ads because of keyword block");await this.prebid.onFirstPrebidResponseEnded&&this.prebid.setTargeting();if(await this.aps.onFirstApsResponseEnded&&this.aps.setTargeting(),googletag.pubads().isInitialLoadDisabled()){let e=googletag.pubads().getSlots();const{notFoundPrebidOnlySlotsDivIds:t,notFoundPBOnlySlotMap:i}=Gpt.extractLazyPBOnly(e,this.prebidOnlySlotsDivIdMap);e=e.filter((e=>!t.includes(e.getSlotElementId())));const s=1===this.gamAdsRefreshMode?e.filter((e=>!this.separateRequestDivIds.some((t=>t===e.getSlotElementId())))):this.atsSlots.filter((e=>!this.separateRequestDivIds.some((t=>t===e.getSlotElementId())))).concat(e.filter((e=>this.prebidOnlySlotsDivIds.some((t=>t===e.getSlotElementId())))));this.refreshAds(s,!0),this.lazySetTargetingAndRefresh(i)}},this.defineSlot=(e,t,i,s,n,a,r)=>{gptLogger.log(`call defineSlot with divId: ${i}, adUnitPath: ${e}`);const o=googletag.defineSlot(e,t,i);if(!o)return gptLogger.error(`Fail to googletag.defineSlot(${e}, ${t}, ${i})`),null;let d=[];if(s.forEach((e=>{const t=googletag.sizeMapping().addSize(e.deviceSizes,e.sizes).build();t&&(d=d.concat(t))})),o.defineSizeMapping(d),this.setForceSafeFrameForSlot(o,a),n)switch(n){case"none":o.setCollapseEmptyDiv(!1);break;case"after_fetch":o.setCollapseEmptyDiv(!0);break;case"before_fetch":o.setCollapseEmptyDiv(!0,!0)}return o.addService(googletag.pubads()),r&&this.setTargetingForEachSlot(o,r),this.definedAtsSlots[i]=o,this.atsSlots.push(o),this.atsSlotsWithVisibility.push({slot:o,visibilityPercentage:0,isViewable:!1}),o},this.fetchAd=async({adUnitPath:e,sizes:t,divId:i,sizeMappingGroup:s,setCollapseEmptyDiv:n,setTargetingConfigs:a,onAfterGptRendered:r,onAfterGptFetched:o,enableLazyLoad:d,lazyLoadMode:l,lazyLoadConfig:c,enableSetForceSafeFrameForSlot:p,infinite:h,slotWrapperDiv:g,instanceCount:u})=>{let _;if(_=!this.isSRAEnabled||h||this.enableSeparateRequest&&this.separateRequestDivIds.some((e=>e===i))?this.defineSlot(e,t,i,s,n,p,a):this.definedAtsSlots[i],_){if(d&&await this.waitDisplaySlot(i,c,l),await this.setPPIDPromise,gptLogger.log("call display for: ",i),googletag.display(i),r&&this.callbacksOnSlotRenderEnded.push((t=>{t.slot===_&&(gptLogger.log(`render slot \npath: ${e} \nslotId: ${i}`),r(t))})),h)await this.infiniteHb([_]);else if(googletag.pubads().isInitialLoadDisabled()&&this.isSRAEnabled&&this.enableSeparateRequest){if(await this.tagServices.shouldBlockRefresh)return void gptLogger.error("not refresh ads because of keyword block");await this.prebid.onFirstPrebidResponseEnded&&this.prebid.setTargetingForEachSlot(i);await this.aps.onFirstApsResponseEnded&&this.aps.setTargeting(),this.refreshAds([_],!1,!1)}if(this.enableAdRecovery&&this.tagServices.adObserver.observe(g,u),o)try{o(_)}catch(e){gptLogger.error(e)}}},this.lazyLoadCallback=(e,t,i,s,n,a)=>()=>{a||window.requestAnimationFrame((()=>{const r=t.getBoundingClientRect(),o=r.top-window.innerHeight,d=r.bottom,l=this.calcDistance(s,n,t);this.shouldCallDisplay(o,d,l)&&(e(),window.removeEventListener("scroll",this.lazyLoadCallbacks[i])),a=!1})),a=!0},this.waitDisplaySlot=async(e,t,i)=>await new Promise((s=>{const n=document.querySelector(`#${e}`);gptLogger.log(`waiting display ad slots:${e}`);const a=throttle(this.lazyLoadCallback((()=>{s()}),n,e,i,t,!1),THROTTLE_TIME);this.lazyLoadCallbacks[e]=a,window.addEventListener("scroll",a)})),this.shouldCallDisplay=(e,t,i)=>Math.abs(e)2===e?window.innerHeight*t:i.offsetTop*t/100,this.reset=e=>{try{e?0{googletag=window.googletag=window.googletag||{},googletag.cmd=googletag.cmd||[],this.addGoogletagEventListner()}),1e4);const t=e.siteSetting.publisherProvidedSignal;t&&this.setTargeting(t.key,t.value),this.setPPIDPromise=this.setPPID(e.siteSetting.ppidServerUrl,e.siteSetting.ppidCustomJs)}async callOutOfPageSlotWrapper(e){const t=[e.adUnitPath,...e.autoAdUnitPaths];if(1==t.length)this.callOutOfPageSlot(e);else{const i=t.values();let s=i.next();for(;s.value;){const t=await new Promise((t=>{const i={...e,adUnitPath:s.value};this.callOutOfPageSlot(i,(e=>{t(e)}))}));if(s=i.next(),!t.isEmpty||s.done)break;googletag.destroySlots([t.slot])}}}async callOutOfPageSlotforMulticall({adUnitPath:e,position:t,setTargetingConfigs:i}){gptLogger.log(`call defineOutOfPageSlot adUnitPath: ${e}, position: ${t}`);const s=googletag.defineOutOfPageSlot(e,googletag.enums.OutOfPageFormat[t]);if(s)return this.atsSlots.push(s),s.addService(googletag.pubads()),this.setTargetingForEachSlot(s,i),googletag.display(s),googletag.pubads().isInitialLoadDisabled()&&this.refreshAds([s]),new Promise((e=>{this.callbacksOnSlotRenderEnded.push((t=>{t.slot===s&&(gptLogger.log(`render slot \npath: ${s.getAdUnitPath()}`),e(t))}))}))}get extractAtsSlots(){const e=[];return googletag.pubads().getSlots().forEach((t=>{const i=t.getSlotElementId(),s=t.getAdUnitPath();(this.configManager.gptSlotConfigs.some((e=>e.divId===i))||this.configManager.gptOutOfPageSettings.some((e=>e.adUnitPath===s)))&&e.push(t)})),e}}Gpt.extractLazyPBOnly=(allSlots,prebidOnlySlotsDivIdMap)=>{const lazyPBOnlySlotsDivIds=[],lazyPBOnlySlotMap=Object.keys(prebidOnlySlotsDivIdMap).reduce(((result,_pbSlotId)=>{const divIdType=prebidOnlySlotsDivIdMap[_pbSlotId].divIDType,inViewRefresh=prebidOnlySlotsDivIdMap[_pbSlotId].inViewRefresh;let pbSlotId;if("Function"===divIdType)try{pbSlotId=eval(_pbSlotId)}catch(e){return gptLogger.log(e),result}else pbSlotId=_pbSlotId;let elm=null;try{elm=document.getElementById(pbSlotId)||document.querySelector(`#${pbSlotId}`)}catch(e){}return elm&&allSlots.find((e=>e.getSlotElementId()===pbSlotId))&&!inViewRefresh||(result[_pbSlotId]={divIDType:divIdType,inViewRefresh},lazyPBOnlySlotsDivIds.push(pbSlotId)),result}),{});return{notFoundPrebidOnlySlotsDivIds:lazyPBOnlySlotsDivIds,notFoundPBOnlySlotMap:lazyPBOnlySlotMap}},Gpt.isIntersected=e=>new Promise((t=>{new IntersectionObserver(((e,i)=>{e[0].isIntersecting&&(i.disconnect(),t(!0))}),{root:null,rootMargin:"0px",threshold:0}).observe(e)}))},561:(e,t,i)=>{i.d(t,{f:()=>a});var s=i(335);class n extends Error{constructor(e,t){super(e),this.res=t,this.errorHandler=()=>{switch(this.res.status){case 404:s.vF.error("no file");break;case 403:s.vF.error("no permission");break;default:s.vF.log(this.res)}},s.vF.log(t),this.errorHandler()}}const a=new class{constructor(){this.videoJs="",this.videoCss="",this.ytFeedJson={},this.amFeedJson={},this.generatedVideoJson={},this.selectedVideoFeedJson={},this.insertedVideoTag=!1,this.registerVideoUrls=(e,t)=>{this.videoJs=e,this.videoCss=t},this.registerSelectedVideos=(e,t)=>{this.selectedVideoFeedJson[t]=e},this.chooseVideoRandomlyFromSelected=async(e,t)=>{const i=this.selectedVideoFeedJson[e][Math.floor(Math.random()*this.selectedVideoFeedJson[e].length)];return(await this.ytFeedJson[t]).videos[i.video_id]},this.chooseVideoByIndexFromSelected=async(e,t,i)=>{const s=this.selectedVideoFeedJson[e];if(!s||0===s.length)return;const n=s[s.length{this.ytFeedJson[e]||(this.ytFeedJson[e]=fetch(e).then((e=>{if(!e.ok)throw new n("fetch error",e);return e.json()})).catch((()=>"")))},this.fetchGeneratedVideoFeed=e=>{this.generatedVideoJson[e]||(this.generatedVideoJson[e]=fetch(e).then((e=>{if(!e.ok)throw new n("fetch error",e);return e.json()})).catch((()=>"")))},this.registerAMVideoFeed=(e,t)=>{this.amFeedJson[t]=e},this.chooseAMVideoEntryByIndex=(e,t)=>{const i=this.amFeedJson[e].lengththis.amFeedJson[e][Math.floor(Math.random()*this.amFeedJson[e].length)],this.chooseLatestPublishedYTVideoEntry=e=>this.ytFeedJson[e].then((e=>Object.keys(e.videos).map((t=>e.videos[t])).reduce(((e,t)=>t.published_at?Date.parse(e.published_at)>Date.parse(t.published_at)?e:t:e)))),this.chooseRandomYTVideoEntry=e=>this.ytFeedJson[e].then((e=>{const t=Object.keys(e.videos).map((t=>e.videos[t]));return t[Math.floor(Math.random()*t.length)]})),this.chooseGeneratedFeedVideoEntry=(e,t,i)=>this.generatedVideoJson[e].then((e=>{const s=Object.keys(e.videos).filter((e=>t.some((t=>e==t)))),n=s.length({id:t,entry:e.videos[t]})))[n]})),this.insertVideoTag=async()=>{if(this.insertedVideoTag)return;const e=(e,t)=>new Promise((i=>{if("style"===e){const e=document.createElement("link");e.href=t,e.rel="stylesheet",e.setAttribute("ats-videojs","true"),e.onload=()=>i(),document.head.append(e)}else{const e=document.createElement("script");e.src=t,e.setAttribute("ats-videojs","true"),e.onload=()=>i(),document.head.append(e)}}));await Promise.all([e("style",this.videoCss),e("script","https://imasdk.googleapis.com/js/sdkloader/ima3.js"),e("script",this.videoJs)]),this.insertedVideoTag=!0}}}},581:(e,t,i)=>{i.d(t,{A:()=>r,V:()=>n});var s=i(78);class n{constructor(e,t=!1){this.label=e,this._enableLog=t,this.labelStyle=(e,t)=>`display: inline-block; color: ${e}; background: ${t}; padding: 1px 4px; border-radius: 3px;`,this.measurePerformance=e=>{try{performance.mark("start")}catch(e){}const t=e();try{performance.mark("end"),performance.measure("test","start","end");const e=performance.getEntriesByName("test");this.log(e[0])}catch(e){}return t},this.reset=()=>{},this.decorate=[`%cATS%c${e}`,this.labelStyle("#fff","#2196f3"),this.labelStyle("#000","#aaa")]}log(...e){try{if(!this._enableLog)return;console.log(...this.decorate,"LOG:",...e)}catch(t){this.log(...e)}}info(...e){try{if(!this._enableLog)return;console.info(...this.decorate,"INFO:",...e)}catch(t){this.log(...e)}}warn(...e){try{if(!this._enableLog)return;console.warn(...this.decorate,"WARN:",...e)}catch(t){this.log(...e)}}error(...e){try{if(!this._enableLog)return;console.error(...this.decorate,"ERROR:",...e)}catch(t){this.log(...e)}}table(e,t,i){try{if(!this._enableLog)return;this.log(e),console.table(t,i)}catch(s){this.log(e,t,i)}}}const a=new n("Core",s.sp),r=a;if(s.sp)try{const e=t=>{t?.target?.removeEventListener(t.type,e);const i=window.performance.timing;i&&a.log("Page Performance",{dns:i.domainLookupEnd-i.domainLookupStart,tcp:i.connectEnd-i.connectStart,request:i.responseStart-i.requestStart,response:i.responseEnd-i.responseStart,interactive:i.domInteractive-i.domLoading,domContentLoaded:i.domContentLoadedEventStart-i.domLoading,domComplete:i.domComplete-i.domLoading,load:i.loadEventEnd-i.loadEventStart,untilResponseStart:i.responseStart-i.navigationStart,untilLoadComplete:i.loadEventEnd-i.navigationStart})};"complete"===document.readyState?e():window.addEventListener("load",e)}catch(e){}},599:(e,t,i)=>{i.d(t,{x:()=>r});var s=i(139),n=i(472),a=i(335);class r{constructor(e,t,i,r,o){this.gpt=e,this.config=t,this.AD_NAME=i,this.instanceCount=r,this.adType=o,this.RENDERED="rendered",this.UNRENDERED="unrendered",this.NOT_DISPLAYED="not-displayed",this.SHOW_ADVERTISEMENT="show_advertisement",this.ENABLE_STICKY="enable_sticky",this.ABSOLUTE="absolute",this.STICKY="sticky",this.ADVERTISEMENT_TEXT="ADVERTISEMENT",this.slots={},this.infinite=!1,this.CLASS_NAME="",this.execute=async(e,t)=>{this.config.useFunctionTrigger&&this.config.functionTrigger&&(a.vF.log("use functionTrigger:"+this.config.adUnitPath),await n.O.waitForConditionMet(e||document,this.instanceCount,this.config.functionTrigger,this.config.adUnitPath));const i=this._execute(e,t),r=this._findTarget(i);if(null===r)return;r.map((e=>{const t=this._buildSlot(e,i);return null!==t&&(this.config.formatId?this.slots[t].slot.id=s.jC.sasDivIdPrefix+this.config.formatId:this.slots[t].slot.id=t),{divId:t,target:e}})).forEach((e=>{if(null!==e.divId)if(this.config.formatId){const e=this.config.formatId;s.rG.render(e)}else{const t=this._getFetchAdConfig(e.divId,e.target,this.infinite);this.gptFetchAd(t.gpt)}}))},this.makeReplaceAdSenseParams=()=>({adSenseReplacementClient:this.config.adSenseReplacementClient,adSenseReplacementSlot:this.config.adSenseReplacementSlot}),this._init(),this._addStyle()}async gptFetchAd(e){let t=e.divId;const i=document.getElementById(t),s=[e.adUnitPath,...this.config.autoAdUnitPaths||[]];if(1==s.length)await this.gpt.fetchAd(e);else{const n=e.onAfterGptFetched,r=e.onAfterGptRendered;let o=i;for(const d of s){const s=await new Promise((i=>{const s={...e,adUnitPath:d,divId:o.id,onAfterGptFetched:e=>{a.vF.log("fake onAfterGptFetched",e)},onAfterGptRendered:e=>{a.vF.log("fake onAfterGptRendered",e),i(e)}};a.vF.log("div.id",o.id,"divId",t,"adUnitPath",s.adUnitPath,"config",s),this.gpt.fetchAd(s)}));if(!s.isEmpty){n(s.slot),r(s);break}o.style.display="none",o=document.createElement("div"),o.id=t+="-a",i.parentNode?.appendChild(o)}}}}},641:(e,t,i)=>{i.d(t,{k:()=>r});var s=i(939),n=i(335);const a=/\/\/a\.vdo\.ai\/core\/(?v-.+)\/vdo\.ai\.js$/g;class r{constructor(e,t,i,r,o){this.type=e,this.targetType=t,this.selector=i,this.insertPos=r,this.thirdPartyVideoPlayerSetting=o,this.className="ats-select-media-wrapper",this.id="ats-third-party-wrapper",this.zeltoId="",this.insertThirdPartyVideoPlayer=()=>{const e=(0,s.EW)(document,this.selector,this.targetType);if(e&&(n.vF.log("insert third party player"),(6!==this.type||this.thirdPartyVideoPlayerSetting.pub_key&&this.thirdPartyVideoPlayerSetting.site_key)&&(7!==this.type||this.zeltoId))){switch(this.type){case 2:this.className="ats-trvd-wrapper";break;case 3:this.className="ats-glia-wrapper";break;case 5:this.className="ats-vdoai-wrapper";break;case 6:this.className="ats-browsi-video-wrapper";break;case 7:this.className="ats-zelto-video-wrapper"}this.createWrapper(this.type,this.className,this.thirdPartyVideoPlayerSetting.width||360,this.thirdPartyVideoPlayerSetting.slot||"",this.thirdPartyVideoPlayerSetting.max_height||360,this.insertPos,e),7===this.type&&this.callZeltoFn(this.zeltoId)}},this.callZeltoFn=e=>{const t=window.adpushup=window.adpushup||{};t.que=t.que||[],t.que.push((function(){t.triggerAd(e)}))},this.createWrapper=(e,t,i,s,n,r,o)=>{const d=document.createElement("div");if(this.wrapDiv=d,d.className=t,d.id=this.id,[5,7].includes(e)||(d.style.width=`${i}px`,d.style.margin="20px auto"),3==e){const e=document.createElement("div");e.className="gliaplayer-container",e.dataset.slot=s,d.append(e),s=`https://player.gliacloud.com/player/${s}`}else if(5==e){const e=document.createElement("div"),t=a.exec(s);if(t){const i=t.groups&&t.groups.vdoAiId;e.id=i||"",d.append(e)}}else if(6==e){const e=document.createElement("div");e.id="browsi",d.append(e),o.insertAdjacentElement(r,d)}else if(7===e){const e=document.createElement("div");e.id=this.zeltoId,e.className="_ap_apex_ad",e.style.maxHeight=n+"px",d.append(e),o.insertAdjacentElement(r,d)}const l=document.createElement("script");l.type="text/javascript",l.async=!0,2==e?l.dataset.cfasync="false":5==e?(l.defer=!0,s=window.location.protocol+s):6==e&&this.thirdPartyVideoPlayerSetting.pub_key&&this.thirdPartyVideoPlayerSetting.site_key?(l.id="browsi-tag",l.setAttribute("data-pubKey",this.thirdPartyVideoPlayerSetting.pub_key),l.setAttribute("data-siteKey",this.thirdPartyVideoPlayerSetting.site_key),s="https://cdn.browsiprod.com/bootstrap/bootstrap.js"):7===e&&(l.setAttribute("data-cfasync","false"),l.crossOrigin="anonymous"),l.src=s,d.append(l),o.insertAdjacentElement(r,d)},this.dispose=()=>{this.wrapDiv&&this.wrapDiv.remove()},7===this.type&&(this.zeltoId=this.thirdPartyVideoPlayerSetting.pub_key||"")}}},655:(e,t,i)=>{i.d(t,{N:()=>s});class s{constructor(){this.prebidOnlySlotsDivIds=[],this.getVastUrl=e=>{const t=e.sz?e.sz.map((e=>e.join("x"))).join("|"):"320x180",i=e.ciu_szs?e.ciu_szs.map((e=>e.join("x"))).join(","):"",s={...e,sz:t,ciu_szs:i};return"https://securepubads.g.doubleclick.net/gampad/ads?"+new URLSearchParams(s).toString()}}get ppid(){return this._ppid}}},722:(e,t,i)=>{i.d(t,{p:()=>d});var s=i(139),n=i(939);window.adloox_pubint=window.adloox_pubint||{cmd:[]};const a=window.googletag=window.googletag||{};a.cmd=a.cmd||[];const r=new class{constructor(){this.ADLOOX_URL="//p.adlooxtracking.com/gpt/a.js",this.isCalled=!1,this.init=(e,t)=>{e&&this.reducer(t,(()=>{this.isCalled=!0,(0,n.nL)(!0,this.ADLOOX_URL),window.adloox_pubint.cmd.push((function(){window.adloox_pubint.init({clientid:152,platformid:238,tagid:1095})})),a.cmd.push((function(){window.adloox_pubint.cmd.push((function(){window.adloox_pubint.gpt_js(a)})),setTimeout((function(){window.adloox_pubint.cmd.push((function(){window.adloox_pubint.gpt(a,(()=>{}))}))}),2e3)}))}))},this.reducer=(e,t)=>{Math.random(){const{enableBasicSetTargetings:d,enableGamLazyload:l,enableGamSingleRequest:c,enableCollapseEmptyDivs:p,enableApm:h,apmNetworkId:g,apmSiteId:u,enableAdloox:_,adlooxRequestRatio:m,enableGptScript:b}=this.config;b&&(o?o.then((()=>{this.gpt.insertGptTag()})):this.gpt.insertGptTag()),d&&this.gpt.executeBasicTargetings(),!(0,n.ze)(l)&&this.gpt.enableGamLazyload(l),p&&this.gpt.collapseEmptyDivs(),e&&this.gpt.disableInitialLoad(),(c||e)&&(this.gpt.defineATSSlotsForSRA(i,a),this.gpt.enableSingleRequest()),this.gpt.enableServices(),h&&g&&u&&(s.rG.insertSasScript(g),s.rG.setUpAndCall(g,u,t)),r.init(_,m)}}}},840:(e,t,i)=>{i.d(t,{A:()=>n});var s=i(335);class n{constructor(e){this.gpt=e,this.isCalled=!1,this.config=null,this.execute=e=>{this.config=e,!this.isCalled&&this.config?(this.gpt.callOutOfPageSlotWrapper(this.config),this.isCalled=!0):s.vF.error("adx inst must be called once")},this.dispose=()=>{this.isCalled=!1}}}},862:(e,t,i)=>{i.d(t,{k:()=>r});var s=i(939),n=i(599),a=i(335);class r extends n.x{constructor(e,t,i,n){super(e,t,"ats-parallax",i,"parallax"),this.executeCount=0,this._execute=(e,t=!1)=>(this.infinite=t,this.executeCount++,e),this._findTarget=e=>{const{selector:t,targetType:i}=this.config,n=(0,s.EW)(e,t,i);return null==n?null:[n]},this._buildSlot=(e,t)=>{const{divIDs:i,insertPosition:s,centerAd:n,headerText:a,footerText:r}=this.config,o=i[0]+this.executeCountSuffix(),d=document.createElement("div"),l=document.createElement("div"),c=document.createElement("div"),p=document.createElement("div"),h=document.createElement("div"),g=document.createElement("div"),u=document.createElement("div"),_=document.createElement("div");if(d.append(l),l.append(c),l.append(h),l.append(p),h.append(g),g.append(u),u.append(_),d.classList.add(`${this.AD_NAME}-container`),l.classList.add(`${this.AD_NAME}-clipper`),c.classList.add(`${this.AD_NAME}-header`),p.classList.add(`${this.AD_NAME}-footer`),h.classList.add(`${this.AD_NAME}-position-relative`),n?(u.classList.add(`${this.AD_NAME}-ad-wrapper-center`),g.classList.add(`${this.AD_NAME}-content-center`)):(u.classList.add(`${this.AD_NAME}-ad-wrapper`),g.classList.add(`${this.AD_NAME}-content`)),a){const e=document.createTextNode(a);c.appendChild(e)}else c.classList.add(`${this.AD_NAME}-${this.NOT_DISPLAYED}`);if(r){const e=document.createTextNode(r);p.appendChild(e)}else p.classList.add(`${this.AD_NAME}-${this.NOT_DISPLAYED}`);return d.classList.add(`${this.AD_NAME}-${this.NOT_DISPLAYED}`),e.insertAdjacentElement(s,d),this.slots[o]={baseElement:t,slotWrapper:d,adUnitPath:this.config.adUnitPath,divId:o,slot:_,isGPTRefreshCalled:!1,shouldStopRefresh:!1,...this.makeReplaceAdSenseParams()},o},this._getFetchAdConfig=(e,t,i)=>{const{setCollapseEmptyDiv:s,sizeMappingGroup:n,setTargetingConfigs:a,enableSetForceSafeFrameForSlot:r}=this.config,o=this.slots[e];return{gpt:{slotWrapperDiv:o.slotWrapper,instanceCount:this.instanceCount,adUnitPath:o.adUnitPath,sizes:[[300,250]],divId:o.divId,setCollapseEmptyDiv:s,sizeMappingGroup:n,setTargetingConfigs:a,enableSetForceSafeFrameForSlot:r,onAfterGptRendered:this._onAfterGptRendered(e),onAfterGptFetched:this._onAfterGptFetched(e),infinite:i}}},this._onAfterGptFetched=e=>t=>{const i=this.slots[e];i.googletagSlot=t,i.dispose=()=>{i.shouldStopRefresh=!0,googletag.destroySlots([t]),i.slotWrapper.remove()}},this._onAfterGptRendered=e=>t=>{const{refreshInterval:i,refreshLimit:s,inViewRate:n,setTargetingConfigs:a}=this.config,r=this.slots[e];i>0&&!1===r.isGPTRefreshCalled&&this.gpt.intervalRefreshAds([t.slot],i,s,e,this.slots,n,a),t.slot===r.googletagSlot&&(t.isEmpty||(r.eventSize=Array.isArray(t.size)?[t.size[0],t.size[1]]:[0,0],r.slotWrapper.classList.remove(`${this.AD_NAME}-${this.NOT_DISPLAYED}`)))},this.dispose=()=>{try{a.vF.log("p: dispose");for(const e in this.slots){const t=this.slots[e];t.removeScrollEventListener&&t.removeScrollEventListener(),t.dispose&&t.dispose(),delete this.slots[e]}}catch(e){a.vF.error(e)}},n.createAdObserver(this.config,this)}_init(){}_addStyle(){const{marginTop:e,centerAd:t,containerMargin:i,containerHeight:n,containerWidthType:a,contentWidth:r,backgroundColor:o,customCss:d}=this.config,l=t?"100%":r,c=i||"0",p=t?0:e,h=n>360?n:361;(0,s.TD)(`\n .${this.AD_NAME}-container {\n width: 100${a};\n height: 100vh;\n max-height: ${h}px;\n min-height: 350px;\n position: relative;\n margin: ${c};\n }\n\n .${this.AD_NAME}-clipper {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n margin: 0;\n padding: 0;\n overflow: hidden;\n clip-path: inset(0px);\n clip: rect(0px auto auto 0px);\n background: ${o||"#ccc"}\n }\n\n .${this.AD_NAME}-header {\n position: absolute;\n z-index: 1;\n top: 0px;\n font-size: 12px;\n text-align: center;\n width: 100%;\n line-height: normal;\n padding: 4px 0px;\n background-color: #000;\n color: #fff;\n letter-spacing: 3px;\n font-family: Arial;\n }\n\n .${this.AD_NAME}-footer {\n position: absolute;\n z-index: 1;\n bottom: 0px;\n font-size: 9pt;\n text-align: center;\n width: 100%;\n line-height: normal;\n padding: 4px 0px;\n background-color: #000;\n color: #fff;\n letter-spacing: 3px;\n font-family: Arial;\n }\n\n .${this.AD_NAME}-position-relative {\n height: 100%;\n position: relative;\n width: 100%;\n margin: 0 auto;\n text-align: center;\n z-index: -1;\n }\n\n .${this.AD_NAME}-content {\n position: fixed;\n margin-top: ${p}px;\n top: 0;\n width: ${l};\n z-index: -1;\n }\n \n .${this.AD_NAME}-content-center {\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100vh;\n margin: 0;\n padding: 0px;\n bottom: 0;\n transform: translateZ(0px);\n z-index: -1;\n }\n\n .${this.AD_NAME}-ad-wrapper {\n text-align: center;\n z-index: -1;\n }\n \n .${this.AD_NAME}-ad-wrapper-center {\n width: 100%;\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translateY(-50%) translateX(-50%);\n -webkit-transform: translateY(-50%) translateX(-50%);\n }\n \n .${this.AD_NAME}-${this.NOT_DISPLAYED} {\n display: none;\n }\n`,`${this.AD_NAME}`),d&&(0,s.TD)(d,`${this.AD_NAME}-override`)}executeCountSuffix(){return this.infinite?"_"+this.executeCount.toString():""}}},903:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{h:()=>TagServices});var _libs_SiteSettings__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(722),_libs_ads_InsertAds__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(456),_libs_ads_Overlay__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(101),_libs_ads_Interstitial__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(463),_libs_ads_Skyscraper__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(284),_libs_ads_AdxInterstitial__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(840),_libs_ads_AdxOverlay__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(404),_libs_ads_AdxReward__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(297),_Logger__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(335),_libs_Prebid__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(326),_libs_Aps__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(34),_Gpt__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(554),_TargetObserver__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(356),_AdObserver__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(8),_ConfigManager__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(114),_Debug__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__(348),_core_utils_util__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__(939),_libs_WaitUntilJSLoaded__WEBPACK_IMPORTED_MODULE_17__=__webpack_require__(197),_libs_ads_Parallax__WEBPACK_IMPORTED_MODULE_18__=__webpack_require__(862),_libs_ads_ReplaceAds__WEBPACK_IMPORTED_MODULE_19__=__webpack_require__(67),_libs_ads_Slider__WEBPACK_IMPORTED_MODULE_20__=__webpack_require__(476),_FunctionTargeting__WEBPACK_IMPORTED_MODULE_21__=__webpack_require__(472),_libs_ads_InsertVideo__WEBPACK_IMPORTED_MODULE_22__=__webpack_require__(389),_VideoManager__WEBPACK_IMPORTED_MODULE_23__=__webpack_require__(561),_config_thirdPartyVideoPlayer__WEBPACK_IMPORTED_MODULE_24__=__webpack_require__(641);const queFunc=e=>{try{e()}catch(e){_Logger__WEBPACK_IMPORTED_MODULE_8__.vF.error(e)}},callFnAfterDomContentLoaded=e=>{if("loading"!==document.readyState)e();else{const t=()=>{document.removeEventListener("DOMContentLoaded",t),e()};document.addEventListener("DOMContentLoaded",t)}};class TagServices{constructor(originalConfigs){this.originalConfigs=originalConfigs,this.INTERSTITIAL_BLOCK_AD_INSTANCE_COUNT=1e4,this.atsLogger=_Logger__WEBPACK_IMPORTED_MODULE_8__.vF,this.setDev=_Debug__WEBPACK_IMPORTED_MODULE_15__.KB,this.run=!1,this.que={push:queFunc},this.infinite={},this.shouldCallKeywordBlock=!1,this.instances=[],this.shouldBlockRefresh=!1,this.disposed=!1,this.loaded=!0,this.start=async()=>{if(this.disposed=!0,this.siteSettings.browsersBlock())return void _Logger__WEBPACK_IMPORTED_MODULE_8__.vF.log("browser block");if(this.siteSettingsConfig.enableUrlBlock&&(0,_core_utils_util__WEBPACK_IMPORTED_MODULE_16__.UW)(this.siteSettingsConfig.blockedUrls,this.configManager.currentUrl))return void _Logger__WEBPACK_IMPORTED_MODULE_8__.vF.log("url Block");this.waitUntilJSLoaded=(0,_libs_WaitUntilJSLoaded__WEBPACK_IMPORTED_MODULE_17__.A)(this.siteSettingsConfig),this.configManager.filterConfig(),_Logger__WEBPACK_IMPORTED_MODULE_8__.vF.log("config: ",this.configManager);const{enablePrebid,prebidSettings}=this.siteSettingsConfig;_VideoManager__WEBPACK_IMPORTED_MODULE_23__.f.registerVideoUrls(this.siteSettingsConfig.videoJsUrl,this.siteSettingsConfig.videoCssUrl),this.adObserver.init(this.siteSettingsConfig),this.gpt.init(this.configManager),enablePrebid&&(this.prebid.init(this.configManager.filteredPrebidOnlySettings,this.waitUntilJSLoaded),prebidSettings.prebidTamPubId&&this.aps.init(this.configManager.filteredTamSettings,this.waitUntilJSLoaded));const shouldCallGPTDisableInitialLoad=this.prebid.isCalled&&!this.prebid.noAdUnits||this.aps.isCalled&&!this.aps.noSlots||this.shouldCallKeywordBlock||this.siteSettingsConfig.enableGamDisableInitialLoad;this.siteSettings.callSiteLevelSetting(shouldCallGPTDisableInitialLoad,this.configManager.apmConfig,this.configManager.gptSlotConfigsForSRA,this.configManager.gptOutOfPageSettings,this.waitUntilJSLoaded);const shouldBlockCallAtsAds=await this.checkKeywordBlock();if(shouldBlockCallAtsAds)return;await this.callAdsFunctions(this.configManager.configsForCurrentPage);const customScriptAfterATSRun=this.siteSettingsConfig.customScript;if(customScriptAfterATSRun)try{eval(customScriptAfterATSRun)}catch(e){_Logger__WEBPACK_IMPORTED_MODULE_8__.vF.error("Site settings custom script failed",e)}},this.getRandomInteger=()=>Math.floor(100*Math.random())+1,this.choosePlayer=(e,t,i,s,n,a)=>{const r=this.getRandomInteger();return r<=e?1:r<=e+t?2:r<=e+t+i?3:r<=e+t+i+s?5:r<=e+t+i+s+n?6:r<=e+t+i+s+n+a?7:4},this.waitAdsBlockInterstitial=async(e,t=!1)=>{const i=e.find((e=>!t&&"interstitial"===e.type&&(e.active||_Logger__WEBPACK_IMPORTED_MODULE_8__.vF.isDev)&&e.settings.blockWithoutAds));return i&&await new Promise((e=>{this.executeInterstitial(i.settings,this.INTERSTITIAL_BLOCK_AD_INSTANCE_COUNT,e)})),e.filter((e=>e!==i))},this.callAdsFunctions=async(newConfigs,element=document,infinite=!1,keys=[])=>{const configs=await this.waitAdsBlockInterstitial(newConfigs,infinite);configs.forEach(((config,index)=>{if(infinite||"interstitial"!==config.type||!config.active&&!_Logger__WEBPACK_IMPORTED_MODULE_8__.vF.isDev||this.executeInterstitial(config.settings,index),!infinite&&"overlay"===config.type&&(config.active||_Logger__WEBPACK_IMPORTED_MODULE_8__.vF.isDev)){const e=new _libs_ads_Overlay__WEBPACK_IMPORTED_MODULE_2__.h(this.gpt,config.settings,index,this.adObserver);this.instances.push(e),callFnAfterDomContentLoaded((()=>{e.execute()}))}if("skyscraper"===config.type&&(config.active||_Logger__WEBPACK_IMPORTED_MODULE_8__.vF.isDev)){const{selector:e,targetType:t,adUnitPath:i}=config.settings,s=0===keys.length||keys.includes(i);if(!infinite||!this.infinite[i]&&s){const e=new _libs_ads_Skyscraper__WEBPACK_IMPORTED_MODULE_4__.G(this.gpt,config.settings,index,this.adObserver);this.instances.push(e),this.infinite[i]=e}if(infinite&&s)this.infinite[i].execute(element,infinite);else if(!infinite){const s=this.infinite[i];_TargetObserver__WEBPACK_IMPORTED_MODULE_12__.c.waitForElement(e,t,(e=>{s.execute(e)}))}}if("insert_ads"===config.type&&(config.active||_Logger__WEBPACK_IMPORTED_MODULE_8__.vF.isDev)){const{selector:e,targetType:t,adUnitPath:i}=config.settings,s=0===keys.length||keys.includes(i);if(!infinite||!this.infinite[i]&&s){const e=new _libs_ads_InsertAds__WEBPACK_IMPORTED_MODULE_1__.W(this.gpt,config.settings,index,this.adObserver);this.instances.push(e),this.infinite[i]=e}if(infinite&&s)this.infinite[i].execute(element,infinite);else if(!infinite){const s=this.infinite[i];_TargetObserver__WEBPACK_IMPORTED_MODULE_12__.c.waitForElement(e,t,(e=>{s.execute(e)}))}}if(infinite||"insert_video"!==config.type||!config.active&&!_Logger__WEBPACK_IMPORTED_MODULE_8__.vF.isDev||(config.settings.lazyRendering?(0,_core_utils_util__WEBPACK_IMPORTED_MODULE_16__.m$)((()=>this.executeVideo(config.settings))):this.executeVideo(config.settings)),"replace_ads"===config.type&&(config.active||_Logger__WEBPACK_IMPORTED_MODULE_8__.vF.isDev)){const{selector:e,targetType:t,adUnitPath:i}=config.settings,s=0===keys.length||keys.includes(i);if(!infinite||!this.infinite[i]&&s){const e=new _libs_ads_ReplaceAds__WEBPACK_IMPORTED_MODULE_19__.N(this.gpt,config.settings,index,this.adObserver);this.instances.push(e),this.infinite[i]=e}if(infinite&&s)this.infinite[i].lazyExecute(config.settings.replaceTime,element,infinite);else if(!infinite){const s=this.infinite[i];_TargetObserver__WEBPACK_IMPORTED_MODULE_12__.c.waitForElement(e,t,(e=>{s.lazyExecute(config.settings.replaceTime,e,!0)}))}}if("parallax"===config.type&&(config.active||_Logger__WEBPACK_IMPORTED_MODULE_8__.vF.isDev)){const{selector:e,targetType:t,adUnitPath:i}=config.settings,s=0===keys.length||keys.includes(i);if(!infinite||!this.infinite[i]&&s){const e=new _libs_ads_Parallax__WEBPACK_IMPORTED_MODULE_18__.k(this.gpt,config.settings,index,this.adObserver);this.instances.push(e),this.infinite[i]=e}if(infinite&&s)this.infinite[i].execute(element,infinite);else if(!infinite){const s=this.infinite[i];_TargetObserver__WEBPACK_IMPORTED_MODULE_12__.c.waitForElement(e,t,(e=>{s.execute(e)}))}}if(!infinite&&"slider"===config.type&&(config.active||_Logger__WEBPACK_IMPORTED_MODULE_8__.vF.isDev)){const e=new _libs_ads_Slider__WEBPACK_IMPORTED_MODULE_20__.A(this.gpt,config.settings,index,this.adObserver);this.instances.push(e);const{selector:t,targetType:i}=config.settings;_TargetObserver__WEBPACK_IMPORTED_MODULE_12__.c.waitForElement(t,i,(t=>{e.execute(t)}))}if(!infinite&&"adx_inst"===config.type&&(config.active||_Logger__WEBPACK_IMPORTED_MODULE_8__.vF.isDev)){const e=new _libs_ads_AdxInterstitial__WEBPACK_IMPORTED_MODULE_5__.A(this.gpt);this.instances.push(e),e.execute(config.settings)}if(!infinite&&"adx_overlay"===config.type&&(config.active||_Logger__WEBPACK_IMPORTED_MODULE_8__.vF.isDev)){const e=new _libs_ads_AdxOverlay__WEBPACK_IMPORTED_MODULE_6__.A(this.gpt);this.instances.push(e),e.execute(config.settings)}if(!infinite&&"adx_reward"===config.type&&(config.active||_Logger__WEBPACK_IMPORTED_MODULE_8__.vF.isDev)){const{selector:e,targetType:t}=config.settings,i=new _libs_ads_AdxReward__WEBPACK_IMPORTED_MODULE_7__.A(this.gpt,config.settings,index);_TargetObserver__WEBPACK_IMPORTED_MODULE_12__.c.waitForElement(e,t,(e=>{i.execute(e)})),this.instances.push(i)}if(!infinite&&"apm"===config.type&&(config.active||_Logger__WEBPACK_IMPORTED_MODULE_8__.vF.isDev)){const e=new _libs_ads_InsertAds__WEBPACK_IMPORTED_MODULE_1__.W(this.gpt,config.settings,index,this.adObserver),{selector:t,targetType:i}=config.settings;_TargetObserver__WEBPACK_IMPORTED_MODULE_12__.c.waitForElement(t,i,(t=>{e.execute(t)}))}if(!infinite&&"custom"===config.type&&(config.active||_Logger__WEBPACK_IMPORTED_MODULE_8__.vF.isDev)){if(config.settings.script)try{eval(config.settings.script)}catch(e){_Logger__WEBPACK_IMPORTED_MODULE_8__.vF.error("custom script failed",e)}config.settings.style&&(0,_core_utils_util__WEBPACK_IMPORTED_MODULE_16__.TD)(config.settings.style)}}))},this.executeVideo=e=>{const{thirdPartyVideoPlayerSettings:t,youtubeChannelFeedUrl:i,videoSource:s,divIDs:n,amVideoFeed:a,generatedVideosFeedJsonUrl:r,selector:o,insertPosition:d,targetType:l}=e,c=t[1]?.frequency||0,p=t[2]?.frequency||0,h=t[3]?.frequency||0,g=t[5]?.frequency||0,u=t[6]?.frequency||0,_=t[7]?.frequency||0,m=this.choosePlayer(c,p,h,g,u,_);if(1===m){if(e.adUnitPath){1===s&&i?_VideoManager__WEBPACK_IMPORTED_MODULE_23__.f.fetchYTVideoFeed(i):2===s&&a?_VideoManager__WEBPACK_IMPORTED_MODULE_23__.f.registerAMVideoFeed(a,n[0]):3===s&&r&&_VideoManager__WEBPACK_IMPORTED_MODULE_23__.f.fetchGeneratedVideoFeed(r);const t=new _libs_ads_InsertVideo__WEBPACK_IMPORTED_MODULE_22__.b(this.gpt,e,this.prebid);this.instances.push(t),this.infinite[e.adUnitPath]=t,_TargetObserver__WEBPACK_IMPORTED_MODULE_12__.c.waitForElement(o,l,(e=>{t.execute(e,!1)}))}}else _TargetObserver__WEBPACK_IMPORTED_MODULE_12__.c.waitForElement(o,l,(()=>{const e=new _config_thirdPartyVideoPlayer__WEBPACK_IMPORTED_MODULE_24__.k(m,l,o,d,t[m]);e.insertThirdPartyVideoPlayer(),this.instances.push(e);const i=t[m].custom_css;i&&(0,_core_utils_util__WEBPACK_IMPORTED_MODULE_16__.TD)(i)}))},this.executeInterstitial=(interstitialSetting,instanceCount,resolve)=>{const interstitial=new _libs_ads_Interstitial__WEBPACK_IMPORTED_MODULE_3__.R(this.gpt,interstitialSetting,instanceCount,resolve);if(this.instances.push(interstitial),callFnAfterDomContentLoaded((()=>{interstitial.execute()})),interstitialSetting.script)try{eval(interstitialSetting.script)}catch(e){_Logger__WEBPACK_IMPORTED_MODULE_8__.vF.error("inst: custom script failed",e)}},this.getAdUnitId=e=>{const t=this.originalConfigs.configs.find((t=>"adUnitId"in t.settings&&"adUnitPath"in t.settings&&t.settings.adUnitPath===e));if(t&&"adUnitId"in t.settings)return t.settings.adUnitId},this.executeInfinite=async(e,t=[])=>{this.configManager.filterConfig(),await this.checkKeywordBlock(e)||this.callAdsFunctions(this.configManager.configsForCurrentPage,e,!0,t)},this.dispose=e=>{this.instances.forEach((e=>e.dispose())),this.instances.splice(0);for(const e in this.infinite)delete this.infinite[e];this.gpt.reset(e),this.prebid.reset(),this.aps.reset(),_TargetObserver__WEBPACK_IMPORTED_MODULE_12__.c.reset(),_Logger__WEBPACK_IMPORTED_MODULE_8__.vF.reset(),this.shouldBlockRefresh=!1,this.disposed=!1,_FunctionTargeting__WEBPACK_IMPORTED_MODULE_21__.O.dispose(),_Logger__WEBPACK_IMPORTED_MODULE_8__.vF.log("disposed")},_Logger__WEBPACK_IMPORTED_MODULE_8__.vF.log("original config: ",originalConfigs),this.configManager=new _ConfigManager__WEBPACK_IMPORTED_MODULE_14__.m(originalConfigs),this.siteSettingsConfig=this.configManager.siteSetting;const{keywordsBlock}=this.siteSettingsConfig;this.shouldCallKeywordBlock=!(0,_core_utils_util__WEBPACK_IMPORTED_MODULE_16__.ze)(keywordsBlock),this.prebid=new _libs_Prebid__WEBPACK_IMPORTED_MODULE_9__.A(this.siteSettingsConfig.prebidSettings,this.siteSettingsConfig.siteId,this.siteSettingsConfig.parentAccountSiteDomain,this.configManager.prebidAnalyticsConfig,this.siteSettingsConfig.applyGDPR),this.aps=new _libs_Aps__WEBPACK_IMPORTED_MODULE_10__.A(this.siteSettingsConfig.prebidSettings.prebidTimeout,this.siteSettingsConfig.prebidSettings.prebidTamPubId,this.siteSettingsConfig.prebidSettings.sellerId,this.siteSettingsConfig.parentAccountSiteDomain),this.gpt=new _Gpt__WEBPACK_IMPORTED_MODULE_11__.Ay(this,this.prebid,this.aps),this.siteSettings=new _libs_SiteSettings__WEBPACK_IMPORTED_MODULE_0__.p(this.gpt,this.siteSettingsConfig),this.instances.push(this.siteSettings),this.hb=this.gpt.infiniteHb,this.forceHB=this.gpt.forceHB,this.adObserver=new _AdObserver__WEBPACK_IMPORTED_MODULE_13__.A(this.gpt)}async checkKeywordBlock(e){const{keywordsBlock:t}=this.siteSettingsConfig;if(this.shouldCallKeywordBlock){const i=t.keywordsCountry;return this.shouldBlockRefresh=i&&i.length>0?this.siteSettings.fetchKeywordJson(e):this.siteSettings.callKeywordBlocks(e),this.shouldBlockRefresh.then((e=>(_Logger__WEBPACK_IMPORTED_MODULE_8__.vF.log(e?"[BLOCK]":"[UN-BLOCK]"),e)))}return!1}}},939:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{EW:()=>getTarget,FC:()=>isMatchedDevice,G:()=>isMatchedPath,P7:()=>updateArray,Ri:()=>getCookie,TD:()=>addStyle,TG:()=>isInView,TV:()=>setCookie,UW:()=>isMatchedBlockedUrl,ab:()=>getSelectorFromElement,gE:()=>getUserDeviceType,hg:()=>isCorrectSizes,k3:()=>isMatchedReferrerHistory,kU:()=>isInflow,l9:()=>debouncedMutationObserver,m$:()=>scrollDetector,nL:()=>insertScriptTag,oj:()=>isMatchedReferrer,pr:()=>checkWindow,yz:()=>getHostName,ze:()=>isEmptyObj});var _Logger__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(581);const addStyle=(e,t)=>{if(!document.querySelector(`style[data-css-${t}]`)){const i=document.head||document.getElementsByTagName("head")[0],s=document.createElement("style");s.type="text/css",s.appendChild(document.createTextNode(e)),t&&s.setAttribute(`data-css-${t}`,""),i.appendChild(s)}},checkWindow=()=>document.hasFocus();let isUserInteractedOnDocument=!1;window.document.addEventListener("click",(()=>{isUserInteractedOnDocument=!0})),window.document.addEventListener("touchstart",(()=>{isUserInteractedOnDocument=!0}));const isSafariPC=()=>{const e=navigator.userAgent,t=navigator.vendor;return/Safari/i.test(e)&&/Apple Computer/.test(t)&&!/Mobi|Android/i.test(e)},debounce=(e,t,...i)=>{let s;return()=>{const n=i;s&&clearTimeout(s),s=window.setTimeout((function(){s=null,e(n)}),t)}},getTarget=(atsElm,selector,targetType)=>{let element;try{element="Function"===targetType?eval(selector):atsElm.querySelector(selector)}catch(e){element=null}return element},debouncedMutationObserver=(e,t)=>new MutationObserver(debounce(e,t)),isCorrectSizes=e=>e[0]null==e||!Object.keys(e).length,insertScriptTag=(e=!1,t,i)=>{const s=document.createElement("script"),n=document.getElementsByTagName("script")[0];i&&(s.onload=i),s.async=e,s.src=t,n?.parentNode?.insertBefore(s,n)},getSelectorFromElement=e=>{const t=[];if(!(e instanceof Element))return t;const i=(e,t)=>{let i=1,s=e;for(;s=s.previousElementSibling;)s.nodeName.toLowerCase()===t&&++i;return i};for(;e&&e.nodeType===Node.ELEMENT_NODE;){let s=e.nodeName.toLowerCase();if(e.id){s+=`#${e.id}`,t.unshift(s);break}const n=i(e,s);1{let t=!1;return[deviceRegex,deviceRegex2].forEach((i=>{t=t||i.test(e)})),t?MOBILE_NAME:DESKTOP_NAME},CURRENT_USER_DEVICE_TYPE=getUserDeviceType(),isMatchedPath=({regex:e},t)=>{let i;try{i=new RegExp(e)}catch(e){return _Logger__WEBPACK_IMPORTED_MODULE_0__.A.error(`regex is not correct: ${i}: ${e}`),!1}return i.test(t)},isMatchedReferrer=(e,t)=>{if(!e.enableReferrerTargeting||e.enableKeepingReferrer||!e.domainList)return!0;const i=e.domainList.some((e=>e===t));return"include"===e.filteringRule?i:!i},getHostName=(e,t)=>{e=e.sort(((e,t)=>e.length-t.length));for(const i of e)if(-1!==t.indexOf(i))return i;return t},isInflow=(e,t)=>-1===t.indexOf(e),setCookie=(e,t,i)=>{let s="";if(i){const e=new Date;e.setTime(e.getTime()+24*i*60*60*1e3),s="; expires="+e.toUTCString()}document.cookie=e+"="+(t||"")+s+"; path=/"},eraseCookie=e=>{document.cookie=e+"=; Path=/; Expires=Thu, 01 Jan 1970 00:00:01 GMT;"},getCookie=()=>document.cookie.split(/;\s*/).reduce(((e,t)=>{const[i,s]=t.split("=");let n="temp";try{s&&(n=decodeURIComponent(s))}catch(e){}return i&&(e[i]=n),e}),{}),updateArray=(e,t,i,s)=>{let n=s?[]:JSON.parse(getCookie()[t]||"[]");return n.push(i),n=n.filter(((e,t,i)=>i.indexOf(e)===t)),document.cookie=`${t}=${encodeURIComponent(JSON.stringify(n))}; Domain=${e}; Path=/; max-age=3600; SameSite=Strict;`,n},isMatchedReferrerHistory=(e,t)=>{if(!e.enableReferrerTargeting||!e.enableKeepingReferrer||!e.domainList)return!0;const i=t.some((t=>e.domainList?.some((e=>e===t))));return"include"===e.filteringRule?i:!i},isMatchedBlockedUrl=(e,t)=>e.some((e=>decodeURIComponent(e)===t&&(_Logger__WEBPACK_IMPORTED_MODULE_0__.A.log(`blocked with url = ${e}`),!0))),isMatchedDevice=(e,t)=>e===t||e===RESPONSIVE_NAME,inViewPercentage=50,isInView=e=>{const{top:t,bottom:i,height:s}=e.getBoundingClientRect();return window.innerHeight-t-s*(inViewPercentage/100)>0&&i-s*(inViewPercentage/100)>0},scrollDetector=e=>{const t=()=>{e(),window.removeEventListener("scroll",t)};window.addEventListener("scroll",t)}},974:e=>{e.exports=JSON.parse('{"siteSetting":{"enableAds":true,"enableGptScript":false,"ppidServerUrl":"https://ssfpc.automaton-media.com/am/3742/fpid/","parentAccountSiteDomain":"fourm.jp","siteId":3742,"enableAdloox":false,"adlooxRequestRatio":0.08,"enableIpBlocking":false,"enableBasicSetTargetings":true,"enableCollapseEmptyDivs":false,"enableGamSingleRequest":true,"enableSeparateRequest":true,"enableGamDisableInitialLoad":false,"enableGamLazyload":{},"gamAdsRefresh":1,"enablePrebid":true,"applyGDPR":false,"prebidSettings":{"prebidVersion":9,"prebidTimeout":2000,"prebidTamPubId":"24a6fa36-40d3-4050-8b04-2975a7edc7d6","prebidUserSyncScript":"(function () {\\r\\n return {\\r\\n auctionDelay: 500,\\r\\n// syncDelay: 6000, // Default = 3000\\r\\n syncsPerBidder: 10, // Default = 5\\r\\n filterSettings: {\\r\\n all: {\\r\\n bidders: \\"*\\",\\r\\n filter: \\"include\\",\\r\\n },\\r\\n },\\r\\n // https://publisherdocs.criteotilt.com/rtus/prebid/\\r\\n userIds: [\\r\\n { name: \\"criteo\\" },\\r\\n {\\r\\n name: \'sharedId\',\\r\\n storage: {\\r\\n name: \'_sharedID\',\\r\\n type: \'cookie\',\\r\\n expires: 90\\r\\n }\\r\\n },\\r\\n {\\r\\n name: \\"imuid\\",\\r\\n params: {\\r\\n cid: 1008868\\r\\n }\\r\\n },\\r\\n {\\r\\n name: \'id5Id\',\\r\\n params: {\\r\\n partner: 1027, // FourM ID\\r\\n },\\r\\n storage: {\\r\\n type: \'html5\',\\r\\n name: \'id5id\',\\r\\n expires: 90,\\r\\n refreshInSeconds: 8*3600\\r\\n }\\r\\n }\\r\\n ,{\\r\\n name: \'unifiedId\',\\r\\n params: {\\r\\n url: \\"//match.adsrvr.org/track/rid?ttd_pid=36a81ej&fmt=json\\"\\r\\n },\\r\\n storage: {\\r\\n name: \'pbjs-unifiedid\',\\r\\n type: \'cookie\',\\r\\n expires: 60\\r\\n }\\r\\n }\\r\\n ],\\r\\n };\\r\\n})();","prebidCustomScript":"","prebidCoreGamNetworkId":83555300,"prebidCurrency":"USD","prebidPriceGranularity":"custom","prebidJsURL":"https://anymind360.com/js/3742/prebid_2025_5_29_9_39_59.js","rendererJsURL":"https://anymind360.com/js/bundle.js","prebidUseAtspbjs":false,"enableAnalytics":true,"ampaEndPoint":"https://storage.googleapis.com/prod-ampa-collect/collect","analyticsSamplingRate":0.05,"userIds":[],"enableSchain":true,"sellerId":"A2334"},"enableIdentityHub":false,"identityHubPublisherId":null,"identityHubProfileId":null,"enableLiveRamp":false,"liveRampJsURL":"https://ats.rlcdn.com/ats.js","liveRampScript":"","enablePwa":false,"keywordsBlock":{},"isSPA":false,"enableAdRecovery":false,"destroyAtsSlotsOnly":false,"enableUrlBlock":true,"blockedUrls":["/articles/hiring/20201007-138774/","/articles/interviewsjp/20200930-138245/","/articles/hiring/20220203-190654/","/articles/special-column/20220127-190094/","/articles/columnjp/20220127-189879/","/articles/hiring/20220119-188886/","/articles/columnjp/20220216-192238/","/articles/columnjp/20220210-191588/","/articles/impressionjp/20220208-191333/","/articles/columnjp/20220216-192383/","/articles/reportjp/20220224-192966/","/articles/columnjp/20220315-195230/","/articles/columnjp/20220302-193966/","/articles/special-column/20220301-193682/","/articles/special-column/20220520-203004/","/devlog/interview/20220420-199577/","/articles/special-column/20220504-201201/","/articles/special-column/20220331-197105/","/articles/special-column/20220322-196337/","/articles/special-column/20220318-196002/","/articles/hiring/20220831-216914/","/articles/special-column/20220830-216745/","/articles/special-column/20220726-211779/","/articles/special-column/20220628-208432/","/articles/interviewsjp/20220527-204089/","/articles/special-column/20220927-220580/","/articles/interviewsjp/20220929-221043/","/articles/hiring/20221006-221552/","/articles/columnjp/20221014-222507/","/articles/interviewsjp/20221015-222748/","/articles/hiring/20221020-223196/","/articles/special-column/20221022-223710/","/articles/hiring/20221027-224067/","/articles/special-column/20221029-224593/","/articles/hiring/20221102-224547/","/articles/special-column/20221104-225338/","/articles/special-column/20221105-225431/","/articles/special-column/20221108-225886/","/articles/special-column/20221110-226036/","/articles/special-column/20221110-226134/","/articles/special-column/20221119-227315/","/articles/special-column/20221121-227576/","/articles/interviewsjp/20221129-228574/","/articles/columnjp/20221130-228813/","/articles/impressionjp/20221215-230739/","/articles/special-column/20221223-231566/","/articles/special-column/20221227-232023/","/articles/special-column/20221229-232128/","/articles/special-column/20230302-239183/","/articles/interviewsjp/20230222-238177","/articles/hiring/20230303-239489/","/articles/hiring/20230531-248584/","/articles/hiring/20230718-255944/","/articles/special-column/20230921-265381/","/articles/impressionjp/20231004-266933/","/articles/newsjp/20231027-269652/"],"hostNames":["automaton-media.com"],"enableApm":false,"videoCssUrl":"https://anymind360.com/video/css/bundle_ver20240507.css","videoJsUrl":"https://anymind360.com/video/js/bundle_ver20240507.js","customScript":"!function(){\\r\\n var googletag = window.googletag || {};\\r\\n googletag.cmd = googletag.cmd || [];\\r\\n googletag.cmd.push(function () {\\r\\n googletag.pubads().setTargeting(\'siteContent\', \'game\');\\r\\n });\\r\\n}();","useAsyncJsTrigger":false,"asyncJsTrigger":""},"configs":[{"settings":{"prebidAdUnits":[{"atsPrebidAdUnits":[{"mediaTypes":{"video":{},"banner":{"pos":0,"sizes":[[320,50],[320,100],[1,1]]}},"bids":[{"bidder":"ix","params":{"siteId":"572774"},"includeSchain":true},{"bidder":"pubmatic","params":{"adSlot":"3154031","publisherId":"157255"},"includeSchain":true},{"bidder":"criteo","params":{"uid":443375,"zoneId":1536269},"includeSchain":true},{"bidder":"gumgum","params":{"inScreen":"bi8s5bii"},"includeSchain":true},{"bidder":"adagio","params":{"site":"AUTOMATON","pagetype":"article","placement":"JP_AUM_sp_all_footeroverlay","environment":"mobile","organizationId":"1236","useAdUnitCodeAsPlacement":false,"useAdUnitCodeAsAdUnitElementId":true},"includeSchain":true},{"bidder":"ogury","params":{"gravity":"BOTTOM_RIGHT","xMargin":20,"yMargin":0,"adUnitId":"1f6c83e9-7919-41d1-8546-7387484f3c8b","assetKey":"OGY-771911C9AD94"},"includeSchain":true},{"bidder":"ssp_geniee","params":{"zoneId":1590326,"currency":"JPY"},"includeSchain":true},{"bidder":"amx","params":{"tagId":"E6D4SoEGV","adUnitId":"HB_JP_activegamingmedia » automaton » sp_all_footeroverlay_22046698876"},"includeSchain":true},{"bidder":"ttd","params":{"publisherId":"A2334","supplySourceId":"fourm"},"includeSchain":true}]}],"deviceSizes":[0,668]},{"atsPrebidAdUnits":[{"mediaTypes":{"video":{},"banner":{"pos":0,"sizes":[[320,50],[320,100],[336,100],[336,50]]}},"bids":[{"bidder":"criteo","params":{"uid":443375,"zoneId":1536269},"includeSchain":true},{"bidder":"unicorn","params":{"mediaId":"automaton-media.com","accountId":290124,"placementId":"/83555300/activegamingmedia/automaton/sp_all_footeroverlay","publisherId":83555300},"includeSchain":true},{"bidder":"pubmatic","params":{"adSlot":"4251944","publisherId":"157255"},"includeSchain":true},{"bidder":"appnexus","params":{"placementId":23943269,"usePaymentRule":true},"includeSchain":true},{"bidder":"medianet","params":{"cid":"8CUJVS55O","crid":"713752844"},"includeSchain":true},{"bidder":"ogury","params":{"gravity":"BOTTOM_RIGHT","xMargin":20,"yMargin":0,"adUnitId":"1f6c83e9-7919-41d1-8546-7387484f3c8b","assetKey":"OGY-771911C9AD94"},"includeSchain":true},{"bidder":"gumgum","params":{"inScreen":"irssp9kb"},"includeSchain":true},{"bidder":"ix","params":{"siteId":"1133776"},"includeSchain":true},{"bidder":"openx","params":{"unit":"561327578","delDomain":"fourm-d.openx.net"},"includeSchain":true},{"bidder":"ssp_geniee","params":{"zoneId":1590326,"currency":"JPY"},"includeSchain":true},{"bidder":"amx","params":{"tagId":"E6D4SoEGV","adUnitId":"HB_JP_activegamingmedia » automaton » sp_all_footeroverlay_22046698876"},"includeSchain":true},{"bidder":"ttd","params":{"publisherId":"A2334","supplySourceId":"fourm"},"includeSchain":true}]}],"deviceSizes":[0,0]}],"adUnitPath":"/83555300,131347256/activegamingmedia/automaton/sp_all_footeroverlay","adUnitId":86217,"divID":"ats-overlay_bottom-0","divIDType":"QuerySelector"},"type":"prebid_only","active":true,"domainList":[],"filteringRule":"include","enableKeepingReferrer":false,"enableReferrerTargeting":false,"breakPoint":false,"device":"sp","regex":".*"},{"regex":".*","device":"sp","breakPoint":false,"enableReferrerTargeting":false,"enableKeepingReferrer":false,"filteringRule":"include","domainList":[],"active":true,"type":"tam","settings":{"tamAdUnits":[{"deviceSizes":[0,668],"slot":{"slotID":"ats-overlay_bottom-0","divIDType":"QuerySelector","adUnitPath":"/83555300,131347256/activegamingmedia/automaton/sp_all_footeroverlay","slotName":"/83555300,131347256/activegamingmedia/automaton/sp_all_footeroverlay","sizes":[{"enable":true,"sizes":[[320,50],[320,100],[1,1]]}]}},{"deviceSizes":[0,0],"slot":{"slotID":"ats-overlay_bottom-0","divIDType":"QuerySelector","adUnitPath":"/83555300,131347256/activegamingmedia/automaton/sp_all_footeroverlay","slotName":"/83555300,131347256/activegamingmedia/automaton/sp_all_footeroverlay","sizes":[{"enable":true,"sizes":[[320,50],[320,100],[336,100],[336,50]]}]}}]}},{"regex":".*","device":"sp","breakPoint":false,"enableReferrerTargeting":false,"enableKeepingReferrer":false,"filteringRule":"include","domainList":[],"active":true,"type":"overlay","enablePrebid":true,"settings":{"refreshInterval":60,"inViewRate":0,"sizeMappingGroup":[{"deviceSizes":[0,668],"sizes":[[320,50],[320,100],[1,1]]},{"deviceSizes":[0,0],"sizes":[[320,50],[320,100],[336,100],[336,50]]}],"enableSetForceSafeFrameForSlot":false,"setCollapseEmptyDiv":"before_fetch","autoAdUnitPaths":[],"adUnitPath":"/83555300,131347256/activegamingmedia/automaton/sp_all_footeroverlay","adUnitId":86217,"divIDs":["ats-overlay_bottom-0"],"overlayDesign":2,"backgroundCss":"","useFunctionTrigger":false,"anchorPosition":"bottom","functionTrigger":""}},{"regex":".*","device":"pc","breakPoint":false,"enableReferrerTargeting":false,"enableKeepingReferrer":false,"filteringRule":"include","domainList":[],"active":true,"type":"custom","settings":{"script":"","style":"#footer {\\r\\n padding-bottom: 120px;\\r\\n}"}},{"regex":".*","device":"sp","breakPoint":false,"enableReferrerTargeting":false,"enableKeepingReferrer":false,"filteringRule":"include","domainList":[],"active":true,"type":"custom","settings":{"script":"","style":"button.ats-overlay-bottom-close-button {\\n top: -15px;\\n left: 0px;\\n background-size: 15px 15px;\\n border-radius: 50px 50px;\\n background-color: rgb(0 0 0 / 0%);\\n}\\n\\n.ats-overlay-bottom-close-button {\\n box-shadow: 0px 0px rgba(0,0,0,0.0);\\n margin-top: 15px;\\n}\\n\\nbutton.ats-overlay-bottom-close-button::before {\\n top: 5px;\\n left: 5px;\\n}\\n\\n.teads-inread.sm-screen{\\n max-width: initial!important;\\n}"}},{"settings":{"prebidAdUnits":[{"atsPrebidAdUnits":[{"mediaTypes":{"video":{},"banner":{"pos":0,"sizes":[[728,90],[970,90],[1,1]]}},"bids":[{"bidder":"ix","params":{"siteId":"1184990"},"includeSchain":true},{"bidder":"rtbhouse","params":{"region":"prebid-asia","publisherId":"YWl3oVzwwoU0CCh7Y3e4"},"includeSchain":true},{"bidder":"adagio","params":{"site":"AUTOMATON","pagetype":"top","placement":"JP_AUM_pc_all_footeroverlay","environment":"desktop","organizationId":"1236","useAdUnitCodeAsPlacement":false,"useAdUnitCodeAsAdUnitElementId":true},"includeSchain":true},{"bidder":"pubmatic","params":{"adSlot":"6691274","publisherId":"157255"},"includeSchain":true},{"bidder":"appnexus","params":{"placementId":35232043,"usePaymentRule":true},"includeSchain":true},{"bidder":"adg","params":{"id":"210086"},"includeSchain":true},{"bidder":"openx","params":{"unit":"562017036","delDomain":"fourm-d.openx.net"},"includeSchain":true},{"bidder":"fluct","params":{"tagId":"38988:1000293481","groupId":"1000165033","dfpUnitCode":"/83555300/activegamingmedia/automaton/JP_AUM_pc_all_footeroverlay"},"includeSchain":true},{"bidder":"gumgum","params":{"inScreen":"bi8s5bii"},"includeSchain":true},{"bidder":"rubicon","params":{"siteId":"494910","zoneId":"3718856","accountId":"13136"},"includeSchain":true},{"bidder":"amx","params":{"tagId":"E6D4SoEGV","adUnitId":"HB_JP_JP_AUM_pc_all_footeroverlay_23280620874"},"includeSchain":true},{"bidder":"ttd","params":{"publisherId":"A2334","supplySourceId":"fourm"},"includeSchain":true}]}],"deviceSizes":[0,0]}],"adUnitPath":"/83555300,131347256/activegamingmedia/automaton/JP_AUM_pc_all_footeroverlay","adUnitId":423410,"divID":"ats-overlay_bottom-3","divIDType":"QuerySelector"},"type":"prebid_only","active":false,"domainList":[],"filteringRule":"include","enableKeepingReferrer":false,"enableReferrerTargeting":false,"breakPoint":false,"device":"pc","regex":".*"},{"regex":".*","device":"pc","breakPoint":false,"enableReferrerTargeting":false,"enableKeepingReferrer":false,"filteringRule":"include","domainList":[],"active":false,"type":"tam","settings":{"tamAdUnits":[{"deviceSizes":[0,0],"slot":{"slotID":"ats-overlay_bottom-3","divIDType":"QuerySelector","adUnitPath":"/83555300,131347256/activegamingmedia/automaton/JP_AUM_pc_all_footeroverlay","slotName":"/83555300,131347256/activegamingmedia/automaton/JP_AUM_pc_all_footeroverlay","sizes":[{"enable":true,"sizes":[[728,90],[970,90],[1,1]]}]}}]}},{"regex":".*","device":"pc","breakPoint":false,"enableReferrerTargeting":false,"enableKeepingReferrer":false,"filteringRule":"include","domainList":[],"active":false,"type":"overlay","enablePrebid":true,"settings":{"refreshInterval":0,"inViewRate":0,"sizeMappingGroup":[{"deviceSizes":[0,0],"sizes":[[728,90],[970,90],[1,1]]}],"enableSetForceSafeFrameForSlot":false,"setCollapseEmptyDiv":"before_fetch","autoAdUnitPaths":[],"adUnitPath":"/83555300,131347256/activegamingmedia/automaton/JP_AUM_pc_all_footeroverlay","adUnitId":423410,"divIDs":["ats-overlay_bottom-3"],"overlayDesign":2,"backgroundCss":"","useFunctionTrigger":false,"anchorPosition":"bottom","functionTrigger":""}},{"regex":".*","device":"sp","breakPoint":false,"enableReferrerTargeting":false,"enableKeepingReferrer":false,"filteringRule":"include","domainList":[],"active":true,"type":"custom","settings":{"script":"try{\\nwindow.addEventListener(\\"scroll\\", function (event) {\\n var footerAds = document.querySelector(\\"div.ats-overlay-bottom-wrapper-rendered\\");\\n var deviceHeight = window.innerHeight;\\n if (window.scrollY >= deviceHeight * 0.5) {\\n footerAds.style.opacity = \\"1\\";\\n } else {\\n footerAds.style.opacity = \\"0\\";\\n }\\n});\\n}catch(e){}","style":".ats-overlay-bottom-wrapper-rendered {\\n opacity: 0;\\n transition: opacity 0.2s ease; /* フェードインのアニメーションを0.2秒かけて行う */\\n}"}},{"regex":".*","device":"sp","breakPoint":false,"enableReferrerTargeting":false,"enableKeepingReferrer":false,"filteringRule":"include","domainList":[],"active":true,"type":"custom","settings":{"script":"try{\\n!(function(l) {\\n var googletag = window.googletag || {};\\n googletag.cmd = googletag.cmd || [];\\n var slot = null;\\n\\n const headerOverlaySettings = {\\n divId: \'JP_AUM_sp_article_headeroverlay\',\\n adUnitPath: \'/83555300,131347256/activegamingmedia/automaton/JP_AUM_sp_article_headeroverlay\',\\n refreshTime: 0,\\n sizes: [[320, 50]],\\n };\\n \\n function executeHeaderOverlay() {\\n window.overlayDiv = l.createElement(\'div\');\\n overlayDiv.id = \'ats-custom-overlay-wrapper\';\\n overlayDiv.className = \'ats-custom-overlay-wrapper-unrendered\';\\n createGamSlot(overlayDiv, headerOverlaySettings);\\n }\\n\\n const buildSlot = (adUnitPath, sizes, slotId, div, slotdiv) => {\\n var onRendered = (event, ovSlot) => {\\n if (event.slot !== ovSlot) return;\\n if (event.isEmpty || !event.size) return;\\n\\n function h() {\\n var size = event.size.join(\'x\');\\n div.className = \'ats-custom-overlay-wrapper-rendered\';\\n window.removeEventListener(\'scroll\',h);\\n }\\n window.addEventListener(\'scroll\',h);\\n \\n };\\n\\n googletag.cmd.push(function() {\\n slot = googletag\\n .defineSlot(adUnitPath, sizes, slotId)\\n .setCollapseEmptyDiv(true, true)\\n .addService(googletag.pubads());\\n if (!googletag.pubads().isInitialLoadDisabled()) {\\n googletag.pubads().disableInitialLoad();\\n }\\n googletag.enableServices();\\n googletag.display(slotId);\\n console.log(\'ATS: custom overlay forcdHB: \' + slotId);\\n window.anymindTS.forceHB([slot]);\\n\\n googletag.pubads().addEventListener(\'slotRenderEnded\', event => {\\n onRendered(event, slot);\\n });\\n });\\n };\\n\\n const createGamSlot = (div, settings) => {\\n var overlaySlotDiv = l.createElement(\'div\');\\n overlaySlotDiv.id = settings.divId;\\n overlaySlotDiv.style.cssText = \'margin: 0px auto;text-align: center;\';\\n div.appendChild(overlaySlotDiv);\\n\\n var paddingBlockBottom = document.createElement(\\"div\\");\\n paddingBlockBottom.className = \'custom-overlay-padding-block-bottom\';\\n div.appendChild(paddingBlockBottom);\\n \\n var closeButton = l.createElement(\'button\');\\n closeButton.className = \'custom-overlay-bottom-close-button\';\\n div.appendChild(closeButton);\\n closeButton.addEventListener(\'click\', event => {\\n div.style.display = \'none\';\\n googletag.destroySlots([slot]);\\n div.remove();\\n }); \\n\\n l\\n .getElementsByTagName(\'body\')[0]\\n .insertAdjacentElement(\'afterbegin\', div);\\n buildSlot(settings.adUnitPath, settings.sizes, settings.divId, div, overlaySlotDiv);\\n console.log(\'ATS: custom overlay executed: \' + settings.divId);\\n };\\n\\n function e () {\\n executeHeaderOverlay();\\n }\\n\\n if (\'loading\' !== l.readyState) e();\\n else l.addEventListener(\'DOMContentLoaded\', e);\\n\\n})(document);\\n}catch(e){}","style":".custom-overlay-padding-block-bottom {\\n height: 4px;\\n}\\n.custom-overlay-bottom-close-button {\\n display: block !important;\\n background-image: url(\\"data:image/svg+xml;charset=utf-8,%3Csvg width=\'13\' height=\'13\' viewBox=\'341 8 13 13\' fill=\'black\' fill-opacity=\'0.6\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Cpath d=\'M354 9.31L352.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\' fill-rule=\'evenodd\'/%3E%3C/svg%3E\\");\\n background-size: 13px 13px;\\n background-position: center;\\n background-color: #fff;\\n background-repeat: no-repeat;\\n border: none;\\n height: 28px;\\n width: 28px;\\n padding: 0;\\n margin: 0;\\n position: absolute;\\n left: 0;\\n bottom:-27px;\\n box-shadow: 0 1px 0 1px rgb(0 0 0 / 20%);\\n border-radius: 0 0 12px 0;\\n}\\n.custom-overlay-bottom-close-button::before {\\n position: absolute;\\n content: \\"\\";\\n top: 0;\\n left: 0;\\n left: -20px;\\n bottom: -20px;\\n}\\n.ats-custom-overlay-wrapper-rendered {\\n display: block !important;\\n height: auto !important;\\n visibility: visible;\\n opacity: 1;\\n will-change: opacity;\\n width: 100%;\\n position: fixed;\\n left: 0;\\n right: 0;\\n top: 0;\\n box-sizing: border-box;\\n z-index: 2147483647;\\n box-shadow: rgb(0 0 0 / 40%) 0px -4px 6px -3px;\\n background: #fff;\\n}\\n.ats-custom-overlay-wrapper-unrendered {\\n display:none;\\n visibility: hidden;\\n opacity: 0;\\n will-change: opacity;\\n transition: opacity 225ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;\\n}"}},{"regex":".*","device":"pc","breakPoint":false,"enableReferrerTargeting":false,"enableKeepingReferrer":false,"filteringRule":"include","domainList":[],"active":false,"type":"tam","settings":{"tamAdUnits":[{"deviceSizes":[0,0],"slot":{"slotID":"pc_all_header","divIDType":"QuerySelector","adUnitPath":"/83555300,131347256/activegamingmedia/automaton/pc_all_header","slotName":"/83555300,131347256/activegamingmedia/automaton/pc_all_header","sizes":[{"enable":true,"sizes":[[728,90],[970,250]]}]}}]}},{"settings":{"prebidAdUnits":[{"atsPrebidAdUnits":[{"mediaTypes":{"video":{},"banner":{"pos":0,"sizes":[[970,250],[728,90]]}},"bids":[{"bidder":"medianet","params":{"cid":"8CUJVS55O","crid":"817273624"},"includeSchain":true},{"bidder":"appnexus","params":{"placementId":20647645,"usePaymentRule":true},"includeSchain":true},{"bidder":"logicad","params":{"cur":"USD","tid":"E2va"},"includeSchain":true},{"bidder":"adg","params":{"id":"122575"},"includeSchain":true},{"bidder":"pubmatic","params":{"adSlot":"3224537","publisherId":"157255"},"includeSchain":true},{"bidder":"rtbhouse","params":{"region":"prebid-asia","publisherId":"YWl3oVzwwoU0CCh7Y3e4"},"includeSchain":true},{"bidder":"ix","params":{"siteId":"1133777"},"includeSchain":true},{"bidder":"adagio","params":{"site":"AUTOMATON","pagetype":"top","placement":"pc_all_header","environment":"desktop","organizationId":"1236","useAdUnitCodeAsPlacement":false,"useAdUnitCodeAsAdUnitElementId":true},"includeSchain":true},{"bidder":"criteo","params":{"zoneId":1801644},"includeSchain":true},{"bidder":"amx","params":{"tagId":"E6D4SoEGV","adUnitId":"HB_JP_activegamingmedia » automaton » pc_all_header_22054936563"},"includeSchain":true},{"bidder":"ttd","params":{"publisherId":"A2334","supplySourceId":"fourm"},"includeSchain":true}]}],"deviceSizes":[0,0]}],"inViewRefresh":false,"adUnitPath":"/83555300,131347256/activegamingmedia/automaton/pc_all_header","adUnitId":86827,"divID":"pc_all_header","divIDType":"QuerySelector","lazyRefresh":false,"isPrebidOnly":true},"type":"prebid_only","active":false,"domainList":[],"filteringRule":"include","enableKeepingReferrer":false,"enableReferrerTargeting":false,"breakPoint":false,"device":"pc","regex":".*"},{"regex":".*","device":"pc","breakPoint":false,"enableReferrerTargeting":false,"enableKeepingReferrer":false,"filteringRule":"include","domainList":[],"active":false,"type":"tam","settings":{"tamAdUnits":[{"deviceSizes":[0,0],"slot":{"slotID":"pc_all_right_2nd","divIDType":"QuerySelector","adUnitPath":"/83555300,131347256/activegamingmedia/automaton/pc_all_right_2nd","slotName":"/83555300,131347256/activegamingmedia/automaton/pc_all_right_2nd","sizes":[{"enable":true,"sizes":[[300,250],[300,600]]}]}}]}},{"settings":{"prebidAdUnits":[{"atsPrebidAdUnits":[{"mediaTypes":{"video":{},"banner":{"pos":0,"sizes":[[300,250],[300,600]]}},"bids":[{"bidder":"logicad","params":{"cur":"USD","tid":"GYWx"},"includeSchain":true},{"bidder":"rubicon","params":{"siteId":"343194","zoneId":"1814974","accountId":"13136"},"includeSchain":true},{"bidder":"rtbhouse","params":{"region":"prebid-asia","publisherId":"YWl3oVzwwoU0CCh7Y3e4"},"includeSchain":true},{"bidder":"adg","params":{"id":"119354"},"includeSchain":true},{"bidder":"pubmatic","params":{"adSlot":"3032472","publisherId":"157255"},"includeSchain":true},{"bidder":"appnexus","params":{"placementId":20647647,"usePaymentRule":true},"includeSchain":true},{"bidder":"medianet","params":{"cid":"8CUJVS55O","crid":"376170129"},"includeSchain":true},{"bidder":"adagio","params":{"site":"AUTOMATON","pagetype":"article","placement":"JP_AUM_pc_all_right_2nd","environment":"desktop","organizationId":"1236","useAdUnitCodeAsPlacement":false,"useAdUnitCodeAsAdUnitElementId":true},"includeSchain":true},{"bidder":"criteo","params":{"uid":443329,"zoneId":1524160},"includeSchain":true},{"bidder":"ix","params":{"siteId":"1133778"},"includeSchain":true},{"bidder":"amx","params":{"tagId":"E6D4SoEGV","adUnitId":"HB_JP_activegamingmedia » automaton » pc_all_right_2nd_22046721968"},"includeSchain":true},{"bidder":"ttd","params":{"publisherId":"A2334","supplySourceId":"fourm"},"includeSchain":true}]}],"deviceSizes":[0,0]}],"inViewRefresh":false,"adUnitPath":"/83555300,131347256/activegamingmedia/automaton/pc_all_right_2nd","adUnitId":86229,"divID":"pc_all_right_2nd","divIDType":"QuerySelector","lazyRefresh":false,"isPrebidOnly":true},"type":"prebid_only","active":false,"domainList":[],"filteringRule":"include","enableKeepingReferrer":false,"enableReferrerTargeting":false,"breakPoint":false,"device":"pc","regex":".*"},{"regex":".*","device":"pc","breakPoint":false,"enableReferrerTargeting":false,"enableKeepingReferrer":false,"filteringRule":"include","domainList":[],"active":false,"type":"tam","settings":{"tamAdUnits":[{"deviceSizes":[0,0],"slot":{"slotID":"pc_all_right_1st","divIDType":"QuerySelector","adUnitPath":"/83555300,131347256/activegamingmedia/automaton/pc_all_right_1st","slotName":"/83555300,131347256/activegamingmedia/automaton/pc_all_right_1st","sizes":[{"enable":true,"sizes":[[300,250],[300,600]]}]}}]}},{"settings":{"prebidAdUnits":[{"atsPrebidAdUnits":[{"mediaTypes":{"video":{},"banner":{"pos":0,"sizes":[[300,250],[300,600]]}},"bids":[{"bidder":"appnexus","params":{"placementId":20647646,"usePaymentRule":true},"includeSchain":true},{"bidder":"medianet","params":{"cid":"8CUJVS55O","crid":"892341945"},"includeSchain":true},{"bidder":"logicad","params":{"cur":"USD","tid":"kkrB"},"includeSchain":true},{"bidder":"rubicon","params":{"siteId":"343194","zoneId":"1814970","accountId":"13136"},"includeSchain":true},{"bidder":"rtbhouse","params":{"region":"prebid-asia","publisherId":"YWl3oVzwwoU0CCh7Y3e4"},"includeSchain":true},{"bidder":"adg","params":{"id":"119353"},"includeSchain":true},{"bidder":"criteo","params":{"uid":443327,"zoneId":1524159},"includeSchain":true},{"bidder":"pubmatic","params":{"adSlot":"3032471","publisherId":"157255"},"includeSchain":true},{"bidder":"adagio","params":{"site":"AUTOMATON","pagetype":"article","placement":"JP_AUM_pc_all_right_1st","environment":"desktop","organizationId":"1236","useAdUnitCodeAsPlacement":false,"useAdUnitCodeAsAdUnitElementId":true},"includeSchain":true},{"bidder":"ix","params":{"siteId":"1133783"},"includeSchain":true},{"bidder":"amx","params":{"tagId":"E6D4SoEGV","adUnitId":"HB_JP_activegamingmedia » automaton » pc_all_right_1st_22046721521"},"includeSchain":true},{"bidder":"ttd","params":{"publisherId":"A2334","supplySourceId":"fourm"},"includeSchain":true}]}],"deviceSizes":[0,0]}],"inViewRefresh":false,"adUnitPath":"/83555300,131347256/activegamingmedia/automaton/pc_all_right_1st","adUnitId":86228,"divID":"pc_all_right_1st","divIDType":"QuerySelector","lazyRefresh":false,"isPrebidOnly":true},"type":"prebid_only","active":false,"domainList":[],"filteringRule":"include","enableKeepingReferrer":false,"enableReferrerTargeting":false,"breakPoint":false,"device":"pc","regex":".*"},{"regex":".*","device":"pc","breakPoint":false,"enableReferrerTargeting":false,"enableKeepingReferrer":false,"filteringRule":"include","domainList":[],"active":false,"type":"tam","settings":{"tamAdUnits":[{"deviceSizes":[0,0],"slot":{"slotID":"pc_all_right_3rd","divIDType":"QuerySelector","adUnitPath":"/83555300,131347256/activegamingmedia/automaton/pc_all_right_3rd","slotName":"/83555300,131347256/activegamingmedia/automaton/pc_all_right_3rd","sizes":[{"enable":true,"sizes":[[300,250],[300,600]]}]}}]}},{"settings":{"prebidAdUnits":[{"atsPrebidAdUnits":[{"mediaTypes":{"video":{},"banner":{"pos":0,"sizes":[[300,250],[300,600]]}},"bids":[{"bidder":"rubicon","params":{"siteId":"343194","zoneId":"1814976","accountId":"13136"},"includeSchain":true},{"bidder":"rtbhouse","params":{"region":"prebid-asia","publisherId":"YWl3oVzwwoU0CCh7Y3e4"},"includeSchain":true},{"bidder":"adg","params":{"id":"119355"},"includeSchain":true},{"bidder":"criteo","params":{"uid":443333,"zoneId":1524161},"includeSchain":true},{"bidder":"pubmatic","params":{"adSlot":"3032473","publisherId":"157255"},"includeSchain":true},{"bidder":"appnexus","params":{"placementId":20647648,"usePaymentRule":true},"includeSchain":true},{"bidder":"medianet","params":{"cid":"8CUJVS55O","crid":"747571428"},"includeSchain":true},{"bidder":"ix","params":{"siteId":"1133779"},"includeSchain":true},{"bidder":"adagio","params":{"site":"AUTOMATON","pagetype":"article","placement":"pc_all_right_3rd","environment":"desktop","organizationId":"1236","useAdUnitCodeAsPlacement":false,"useAdUnitCodeAsAdUnitElementId":true},"includeSchain":true},{"bidder":"amx","params":{"tagId":"E6D4SoEGV","adUnitId":"HB_JP_activegamingmedia » automaton » pc_all_right_3rd_22046820501"},"includeSchain":true},{"bidder":"ttd","params":{"publisherId":"A2334","supplySourceId":"fourm"},"includeSchain":true}]}],"deviceSizes":[0,0]}],"inViewRefresh":false,"adUnitPath":"/83555300,131347256/activegamingmedia/automaton/pc_all_right_3rd","adUnitId":86239,"divID":"pc_all_right_3rd","divIDType":"QuerySelector","lazyRefresh":false,"isPrebidOnly":true},"type":"prebid_only","active":false,"domainList":[],"filteringRule":"include","enableKeepingReferrer":false,"enableReferrerTargeting":false,"breakPoint":false,"device":"pc","regex":".*"},{"regex":"^\\\\/articles\\\\/.*","device":"pc","breakPoint":false,"enableReferrerTargeting":false,"enableKeepingReferrer":false,"filteringRule":"include","domainList":[],"active":false,"type":"tam","settings":{"tamAdUnits":[{"deviceSizes":[0,0],"slot":{"slotID":"pc_article_underarticle_left","divIDType":"QuerySelector","adUnitPath":"/83555300,131347256/activegamingmedia/automaton/pc_article_underarticle_left","slotName":"/83555300,131347256/activegamingmedia/automaton/pc_article_underarticle_left","sizes":[{"enable":true,"sizes":[[300,250],[336,280]]}]}}]}},{"settings":{"prebidAdUnits":[{"atsPrebidAdUnits":[{"mediaTypes":{"video":{},"banner":{"pos":0,"sizes":[[300,250],[336,280]]}},"bids":[{"bidder":"pubmatic","params":{"adSlot":"3032474","publisherId":"157255"},"includeSchain":true},{"bidder":"criteo","params":{"uid":443338,"zoneId":1524162},"includeSchain":true},{"bidder":"appnexus","params":{"placementId":20647649,"usePaymentRule":true},"includeSchain":true},{"bidder":"logicad","params":{"cur":"USD","tid":"eKj2"},"includeSchain":true},{"bidder":"rubicon","params":{"siteId":"343194","zoneId":"1814978","accountId":"13136"},"includeSchain":true},{"bidder":"adg","params":{"id":"119356"},"includeSchain":true},{"bidder":"rtbhouse","params":{"region":"prebid-asia","publisherId":"YWl3oVzwwoU0CCh7Y3e4"},"includeSchain":true},{"bidder":"ix","params":{"siteId":"1133780"},"includeSchain":true},{"bidder":"adagio","params":{"site":"AUTOMATON","pagetype":"article","placement":"pc_article_underarticle_left","environment":"desktop","organizationId":"1236","useAdUnitCodeAsPlacement":false,"useAdUnitCodeAsAdUnitElementId":true},"includeSchain":true},{"bidder":"amx","params":{"tagId":"E6D4SoEGV","adUnitId":"HB_JP_activegamingmedia » automaton » pc_article_underarticle_left_22046820873"},"includeSchain":true},{"bidder":"ttd","params":{"publisherId":"A2334","supplySourceId":"fourm"},"includeSchain":true}]}],"deviceSizes":[0,0]}],"inViewRefresh":false,"adUnitPath":"/83555300,131347256/activegamingmedia/automaton/pc_article_underarticle_left","adUnitId":86240,"divID":"pc_article_underarticle_left","divIDType":"QuerySelector","lazyRefresh":false,"isPrebidOnly":true},"type":"prebid_only","active":false,"domainList":[],"filteringRule":"include","enableKeepingReferrer":false,"enableReferrerTargeting":false,"breakPoint":false,"device":"pc","regex":"^\\\\/articles\\\\/.*"},{"regex":"^\\\\/articles\\\\/.*","device":"pc","breakPoint":false,"enableReferrerTargeting":false,"enableKeepingReferrer":false,"filteringRule":"include","domainList":[],"active":false,"type":"tam","settings":{"tamAdUnits":[{"deviceSizes":[0,0],"slot":{"slotID":"pc_article_underarticle_right","divIDType":"QuerySelector","adUnitPath":"/83555300,131347256/activegamingmedia/automaton/pc_article_underarticle_right","slotName":"/83555300,131347256/activegamingmedia/automaton/pc_article_underarticle_right","sizes":[{"enable":true,"sizes":[[300,250]]}]}}]}},{"settings":{"prebidAdUnits":[{"atsPrebidAdUnits":[{"mediaTypes":{"video":{},"banner":{"pos":0,"sizes":[[300,250],[336,280]]}},"bids":[{"bidder":"logicad","params":{"cur":"USD","tid":"3355"},"includeSchain":true},{"bidder":"rubicon","params":{"siteId":"343194","zoneId":"1814980","accountId":"13136"},"includeSchain":true},{"bidder":"pubmatic","params":{"adSlot":"3032475","publisherId":"157255"},"includeSchain":true},{"bidder":"criteo","params":{"uid":443341,"zoneId":1524163},"includeSchain":true},{"bidder":"adg","params":{"id":"119357"},"includeSchain":true},{"bidder":"rtbhouse","params":{"region":"prebid-asia","publisherId":"YWl3oVzwwoU0CCh7Y3e4"},"includeSchain":true},{"bidder":"appnexus","params":{"placementId":20647650,"usePaymentRule":true},"includeSchain":true},{"bidder":"medianet","params":{"cid":"8CUJVS55O","crid":"162024020"},"includeSchain":true},{"bidder":"ix","params":{"siteId":"1133781"},"includeSchain":true},{"bidder":"adagio","params":{"site":"AUTOMATON","pagetype":"article","placement":"pc_article_underarticle_right","environment":"desktop","organizationId":"1236","useAdUnitCodeAsPlacement":false,"useAdUnitCodeAsAdUnitElementId":true},"includeSchain":true},{"bidder":"amx","params":{"tagId":"E6D4SoEGV","adUnitId":"HB_JP_activegamingmedia » automaton » pc_article_underarticle_right_22046724404"},"includeSchain":true},{"bidder":"ttd","params":{"publisherId":"A2334","supplySourceId":"fourm"},"includeSchain":true}]}],"deviceSizes":[0,0]}],"inViewRefresh":false,"adUnitPath":"/83555300,131347256/activegamingmedia/automaton/pc_article_underarticle_right","adUnitId":86230,"divID":"pc_article_underarticle_right","divIDType":"QuerySelector","lazyRefresh":false,"isPrebidOnly":true},"type":"prebid_only","active":false,"domainList":[],"filteringRule":"include","enableKeepingReferrer":false,"enableReferrerTargeting":false,"breakPoint":false,"device":"pc","regex":"^\\\\/articles\\\\/.*"},{"regex":".*","device":"sp","breakPoint":false,"enableReferrerTargeting":false,"enableKeepingReferrer":false,"filteringRule":"include","domainList":[],"active":true,"type":"tam","settings":{"tamAdUnits":[{"deviceSizes":[0,0],"slot":{"slotID":"sp_all_header","divIDType":"QuerySelector","adUnitPath":"/83555300,131347256/activegamingmedia/automaton/sp_all_header","slotName":"/83555300,131347256/activegamingmedia/automaton/sp_all_header","sizes":[{"enable":true,"sizes":[[300,250]]}]}}]}},{"settings":{"prebidAdUnits":[{"atsPrebidAdUnits":[{"mediaTypes":{"video":{},"banner":{"pos":0,"sizes":[[300,250],[336,280]]}},"bids":[{"bidder":"logicad","params":{"cur":"USD","tid":"6z5B"},"includeSchain":true},{"bidder":"rubicon","params":{"siteId":"343196","zoneId":"1814986","accountId":"13136"},"includeSchain":true},{"bidder":"rtbhouse","params":{"region":"prebid-asia","publisherId":"YWl3oVzwwoU0CCh7Y3e4"},"includeSchain":true},{"bidder":"adg","params":{"id":"119358"},"includeSchain":true},{"bidder":"criteo","params":{"uid":443349,"zoneId":1524164},"includeSchain":true},{"bidder":"pubmatic","params":{"adSlot":"3032476","publisherId":"157255"},"includeSchain":true},{"bidder":"appnexus","params":{"placementId":20647633,"usePaymentRule":true},"includeSchain":true},{"bidder":"unicorn","params":{"mediaId":"automaton-media.com","accountId":290124,"placementId":"/83555300/activegamingmedia/automaton/sp_all_header","publisherId":83555300},"includeSchain":true},{"bidder":"medianet","params":{"cid":"8CUJVS55O","crid":"600816442"},"includeSchain":true},{"bidder":"adagio","params":{"site":"AUTOMATON","pagetype":"article","placement":"JP_AUM_sp_all_header","environment":"mobile","organizationId":"1236","useAdUnitCodeAsPlacement":false,"useAdUnitCodeAsAdUnitElementId":true},"includeSchain":true},{"bidder":"ix","params":{"siteId":"1133774"},"includeSchain":true},{"bidder":"openx","params":{"unit":"561472820","delDomain":"fourm-d.openx.net"},"includeSchain":true},{"bidder":"amx","params":{"tagId":"E6D4SoEGV","adUnitId":"HB_JP_activegamingmedia » automaton » sp_all_header_22046823345"},"includeSchain":true},{"bidder":"ttd","params":{"publisherId":"A2334","supplySourceId":"fourm"},"includeSchain":true}]}],"deviceSizes":[0,0]}],"inViewRefresh":false,"adUnitPath":"/83555300,131347256/activegamingmedia/automaton/sp_all_header","adUnitId":86241,"divID":"sp_all_header","divIDType":"QuerySelector","lazyRefresh":false,"isPrebidOnly":true},"type":"prebid_only","active":true,"domainList":[],"filteringRule":"include","enableKeepingReferrer":false,"enableReferrerTargeting":false,"breakPoint":false,"device":"sp","regex":".*"},{"regex":".*","device":"sp","breakPoint":false,"enableReferrerTargeting":false,"enableKeepingReferrer":false,"filteringRule":"include","domainList":[],"active":true,"type":"tam","settings":{"tamAdUnits":[{"deviceSizes":[0,0],"slot":{"slotID":"sp_all_footer","divIDType":"QuerySelector","adUnitPath":"/83555300,131347256/activegamingmedia/automaton/sp_all_footer","slotName":"/83555300,131347256/activegamingmedia/automaton/sp_all_footer","sizes":[{"enable":true,"sizes":[[300,250]]}]}}]}},{"settings":{"prebidAdUnits":[{"atsPrebidAdUnits":[{"mediaTypes":{"video":{},"banner":{"pos":0,"sizes":[[300,250],[336,280]]}},"bids":[{"bidder":"medianet","params":{"cid":"8CUJVS55O","crid":"518142347"},"includeSchain":true},{"bidder":"rtbhouse","params":{"region":"prebid-asia","publisherId":"YWl3oVzwwoU0CCh7Y3e4"},"includeSchain":true},{"bidder":"adg","params":{"id":"119359"},"includeSchain":true},{"bidder":"criteo","params":{"uid":443353,"zoneId":1524165},"includeSchain":true},{"bidder":"pubmatic","params":{"adSlot":"3032477","publisherId":"157255"},"includeSchain":true},{"bidder":"appnexus","params":{"placementId":20647634,"usePaymentRule":true},"includeSchain":true},{"bidder":"unicorn","params":{"mediaId":"automaton-media.com","accountId":290124,"placementId":"/83555300/activegamingmedia/automaton/sp_all_footer","publisherId":83555300},"includeSchain":true},{"bidder":"rubicon","params":{"siteId":"343196","zoneId":"1814982","accountId":"13136"},"includeSchain":true},{"bidder":"ix","params":{"siteId":"1133786"},"includeSchain":true},{"bidder":"adagio","params":{"site":"AUTOMATON","pagetype":"article","placement":"sp_all_footer","environment":"mobile","organizationId":"1236","useAdUnitCodeAsPlacement":false,"useAdUnitCodeAsAdUnitElementId":true},"includeSchain":true},{"bidder":"amx","params":{"tagId":"E6D4SoEGV","adUnitId":"HB_JP_activegamingmedia » automaton » sp_all_footer_22046823675"},"includeSchain":true},{"bidder":"ttd","params":{"publisherId":"A2334","supplySourceId":"fourm"},"includeSchain":true}]}],"deviceSizes":[0,0]}],"inViewRefresh":false,"adUnitPath":"/83555300,131347256/activegamingmedia/automaton/sp_all_footer","adUnitId":86242,"divID":"sp_all_footer","divIDType":"QuerySelector","lazyRefresh":false,"isPrebidOnly":true},"type":"prebid_only","active":true,"domainList":[],"filteringRule":"include","enableKeepingReferrer":false,"enableReferrerTargeting":false,"breakPoint":false,"device":"sp","regex":".*"},{"settings":{"prebidAdUnits":[{"atsPrebidAdUnits":[{"mediaTypes":{"video":{},"banner":{"pos":0,"sizes":[[300,250]]}},"bids":[{"bidder":"logicad","params":{"cur":"USD","tid":"Q2q3"},"includeSchain":true},{"bidder":"rubicon","params":{"siteId":"343196","zoneId":"1814994","accountId":"13136"},"includeSchain":true},{"bidder":"rtbhouse","params":{"region":"prebid-asia","publisherId":"YWl3oVzwwoU0CCh7Y3e4"},"includeSchain":true},{"bidder":"adg","params":{"id":"119360"},"includeSchain":true},{"bidder":"pubmatic","params":{"adSlot":"3032480","publisherId":"157255"},"includeSchain":true},{"bidder":"appnexus","params":{"placementId":20647635,"usePaymentRule":true},"includeSchain":true},{"bidder":"unicorn","params":{"mediaId":"automaton-media.com","accountId":290124,"placementId":"/83555300/activegamingmedia/automaton/sp_top_middle_1st","publisherId":83555300},"includeSchain":true},{"bidder":"medianet","params":{"cid":"8CUJVS55O","crid":"414465751"},"includeSchain":true},{"bidder":"ix","params":{"siteId":"1133784"},"includeSchain":true},{"bidder":"adagio","params":{"site":"AUTOMATON","pagetype":"top","placement":"sp_top_middle_1st","environment":"mobile","organizationId":"1236","useAdUnitCodeAsPlacement":false,"useAdUnitCodeAsAdUnitElementId":true},"includeSchain":true},{"bidder":"criteo","params":{"uid":440145,"zoneId":1801645},"includeSchain":true},{"bidder":"amx","params":{"tagId":"E6D4SoEGV","adUnitId":"HB_JP_activegamingmedia » automaton » sp_top_middle_1st_22046698957"},"includeSchain":true},{"bidder":"ttd","params":{"publisherId":"A2334","supplySourceId":"fourm"},"includeSchain":true}]}],"deviceSizes":[0,0]}],"adUnitPath":"/83555300,131347256/activegamingmedia/automaton/sp_top_middle_1st","adUnitId":86218,"divID":"ats-insert_ads-14","divIDType":"QuerySelector"},"type":"prebid_only","active":true,"domainList":[],"filteringRule":"include","enableKeepingReferrer":false,"enableReferrerTargeting":false,"breakPoint":false,"device":"sp","regex":"^\\\\/$"},{"regex":"^\\\\/$","device":"sp","breakPoint":false,"enableReferrerTargeting":false,"enableKeepingReferrer":false,"filteringRule":"include","domainList":[],"active":true,"type":"tam","settings":{"tamAdUnits":[{"deviceSizes":[0,0],"slot":{"slotID":"ats-insert_ads-14","divIDType":"QuerySelector","adUnitPath":"/83555300,131347256/activegamingmedia/automaton/sp_top_middle_1st","slotName":"/83555300,131347256/activegamingmedia/automaton/sp_top_middle_1st","sizes":[{"enable":true,"sizes":[[300,250]]}]}}]}},{"regex":"^\\\\/$","device":"sp","breakPoint":false,"enableReferrerTargeting":false,"enableKeepingReferrer":false,"filteringRule":"include","domainList":[],"active":true,"type":"insert_ads","enablePrebid":true,"settings":{"refreshInterval":0,"inViewRate":0,"sizeMappingGroup":[{"deviceSizes":[0,0],"sizes":[[300,250]]}],"enableSetForceSafeFrameForSlot":false,"setCollapseEmptyDiv":"before_fetch","autoAdUnitPaths":[],"adUnitPath":"/83555300,131347256/activegamingmedia/automaton/sp_top_middle_1st","adUnitId":86218,"divIDs":["ats-insert_ads-14"],"targetType":"QuerySelector","selector":".ct-sidebar","customCss":"display: block;\\ntext-align: center!important;\\nmargin: 15px 0px 15px 0px;","customCssForShowAdvertisement":"border-top: 1px solid rgb(243, 243, 243);\\nborder-bottom: 1px solid rgb(243, 243, 243);","insertPosition":"beforebegin","isFlexible":false,"numOfAds":1,"selectors":[],"exclusiveSelectors":[],"targetFirstLevelOnly":false,"spacing":1,"showAdvertisement":false,"customShowAdsText":"ADVERTISEMENT","isSticky":false,"stickyStopTarget":"","stickyStopTargetType":"QuerySelector","overrideMargin":false,"stickySizes":[],"enableLazyLoad":false,"lazyLoadMode":2,"lazyLoadConfig":0}},{"settings":{"prebidAdUnits":[{"atsPrebidAdUnits":[{"mediaTypes":{"video":{},"banner":{"pos":0,"sizes":[[300,250]]}},"bids":[{"bidder":"rubicon","params":{"siteId":"343196","zoneId":"1814996","accountId":"13136"},"includeSchain":true},{"bidder":"rtbhouse","params":{"region":"prebid-asia","publisherId":"YWl3oVzwwoU0CCh7Y3e4"},"includeSchain":true},{"bidder":"adg","params":{"id":"119361"},"includeSchain":true},{"bidder":"criteo","params":{"uid":443357,"zoneId":1524167},"includeSchain":true},{"bidder":"pubmatic","params":{"adSlot":"3032479","publisherId":"157255"},"includeSchain":true},{"bidder":"appnexus","params":{"placementId":20647636,"usePaymentRule":true},"includeSchain":true},{"bidder":"unicorn","params":{"mediaId":"automaton-media.com","accountId":290124,"placementId":"/83555300/activegamingmedia/automaton/sp_top_middle_2nd","publisherId":83555300},"includeSchain":true},{"bidder":"medianet","params":{"cid":"8CUJVS55O","crid":"830236035"},"includeSchain":true},{"bidder":"ix","params":{"siteId":"1133785"},"includeSchain":true},{"bidder":"adagio","params":{"site":"AUTOMATON","pagetype":"top","placement":"sp_top_middle_2nd","environment":"mobile","organizationId":"1236","useAdUnitCodeAsPlacement":false,"useAdUnitCodeAsAdUnitElementId":true},"includeSchain":true},{"bidder":"amx","params":{"tagId":"E6D4SoEGV","adUnitId":"HB_JP_activegamingmedia » automaton » sp_top_middle_2nd_22046700436"},"includeSchain":true},{"bidder":"ttd","params":{"publisherId":"A2334","supplySourceId":"fourm"},"includeSchain":true}]}],"deviceSizes":[0,0]}],"adUnitPath":"/83555300,131347256/activegamingmedia/automaton/sp_top_middle_2nd","adUnitId":86219,"divID":"ats-insert_ads-15","divIDType":"QuerySelector"},"type":"prebid_only","active":true,"domainList":[],"filteringRule":"include","enableKeepingReferrer":false,"enableReferrerTargeting":false,"breakPoint":false,"device":"sp","regex":"^\\\\/$"},{"regex":"^\\\\/$","device":"sp","breakPoint":false,"enableReferrerTargeting":false,"enableKeepingReferrer":false,"filteringRule":"include","domainList":[],"active":true,"type":"tam","settings":{"tamAdUnits":[{"deviceSizes":[0,0],"slot":{"slotID":"ats-insert_ads-15","divIDType":"QuerySelector","adUnitPath":"/83555300,131347256/activegamingmedia/automaton/sp_top_middle_2nd","slotName":"/83555300,131347256/activegamingmedia/automaton/sp_top_middle_2nd","sizes":[{"enable":true,"sizes":[[300,250]]}]}}]}},{"regex":"^\\\\/$","device":"sp","breakPoint":false,"enableReferrerTargeting":false,"enableKeepingReferrer":false,"filteringRule":"include","domainList":[],"active":true,"type":"insert_ads","enablePrebid":true,"settings":{"refreshInterval":0,"inViewRate":0,"sizeMappingGroup":[{"deviceSizes":[0,0],"sizes":[[300,250]]}],"enableSetForceSafeFrameForSlot":false,"setCollapseEmptyDiv":"before_fetch","autoAdUnitPaths":[],"adUnitPath":"/83555300,131347256/activegamingmedia/automaton/sp_top_middle_2nd","adUnitId":86219,"divIDs":["ats-insert_ads-15"],"targetType":"QuerySelector","selector":"#block-71 > div","customCss":"display: block;\\ntext-align: center!important;\\nmargin: 15px 0px 15px 0px;","customCssForShowAdvertisement":"border-top: 1px solid rgb(243, 243, 243);\\nborder-bottom: 1px solid rgb(243, 243, 243);","insertPosition":"afterend","isFlexible":false,"numOfAds":1,"selectors":[],"exclusiveSelectors":[],"targetFirstLevelOnly":false,"spacing":1,"showAdvertisement":false,"customShowAdsText":"ADVERTISEMENT","isSticky":false,"stickyStopTarget":"","stickyStopTargetType":"QuerySelector","overrideMargin":false,"stickySizes":[],"enableLazyLoad":false,"lazyLoadMode":2,"lazyLoadConfig":0}},{"settings":{"prebidAdUnits":[{"atsPrebidAdUnits":[{"mediaTypes":{"video":{},"banner":{"pos":0,"sizes":[[320,180],[300,250],[336,280],[320,100],[1,1]]}},"bids":[{"bidder":"rubicon","params":{"siteId":"343196","zoneId":"1814992","accountId":"13136"},"includeSchain":true},{"bidder":"criteo","params":{"uid":443361,"zoneId":1524168},"includeSchain":true},{"bidder":"adg","params":{"id":"119362"},"includeSchain":true},{"bidder":"appnexus","params":{"placementId":20647641,"usePaymentRule":true},"includeSchain":true},{"bidder":"unicorn","params":{"mediaId":"automaton-media.com","accountId":290124,"placementId":"/83555300/activegamingmedia/automaton/sp_article_underarticle","publisherId":83555300},"includeSchain":true},{"bidder":"craft","params":{"sitekey":"automaton-media","placementId":"73429B6F-A5E4-478C-ABCA-A45339026D5E"},"includeSchain":true},{"bidder":"adagio","params":{"site":"AUTOMATON","pagetype":"article","placement":"JP_AUM_sp_article_underarticle","environment":"mobile","organizationId":"1236","useAdUnitCodeAsPlacement":false,"useAdUnitCodeAsAdUnitElementId":true},"includeSchain":true},{"bidder":"ix","params":{"siteId":"1133775"},"includeSchain":true},{"bidder":"openx","params":{"unit":"561472819","delDomain":"fourm-d.openx.net"},"includeSchain":true},{"bidder":"amx","params":{"tagId":"E6D4SoEGV","adUnitId":"HB_JP_activegamingmedia » automaton » sp_article_underarticle_22046731847"},"includeSchain":true},{"bidder":"ttd","params":{"publisherId":"A2334","supplySourceId":"fourm"},"includeSchain":true}]}],"deviceSizes":[0,0]}],"adUnitPath":"/83555300,131347256/activegamingmedia/automaton/sp_article_underarticle","adUnitId":86232,"divID":"ats-insert_ads-16","divIDType":"QuerySelector"},"type":"prebid_only","active":true,"domainList":[],"filteringRule":"include","enableKeepingReferrer":false,"enableReferrerTargeting":false,"breakPoint":false,"device":"sp","regex":"^\\\\/articles\\\\/.*"},{"regex":"^\\\\/articles\\\\/.*","device":"sp","breakPoint":false,"enableReferrerTargeting":false,"enableKeepingReferrer":false,"filteringRule":"include","domainList":[],"active":true,"type":"tam","settings":{"tamAdUnits":[{"deviceSizes":[0,0],"slot":{"slotID":"ats-insert_ads-16","divIDType":"QuerySelector","adUnitPath":"/83555300,131347256/activegamingmedia/automaton/sp_article_underarticle","slotName":"/83555300,131347256/activegamingmedia/automaton/sp_article_underarticle","sizes":[{"enable":true,"sizes":[[300,250],[336,280],[320,100],[320,180],[-100,-100],[1,1]]}]}}]}},{"regex":"^\\\\/articles\\\\/.*","device":"sp","breakPoint":false,"enableReferrerTargeting":false,"enableKeepingReferrer":false,"filteringRule":"include","domainList":[],"active":true,"type":"insert_ads","enablePrebid":true,"settings":{"refreshInterval":0,"inViewRate":0,"sizeMappingGroup":[{"deviceSizes":[0,0],"sizes":[[300,250],[336,280],[320,100],[320,180],"fluid",[1,1]]}],"enableSetForceSafeFrameForSlot":false,"setCollapseEmptyDiv":"before_fetch","autoAdUnitPaths":[],"adUnitPath":"/83555300,131347256/activegamingmedia/automaton/sp_article_underarticle","adUnitId":86232,"divIDs":["ats-insert_ads-16"],"targetType":"QuerySelector","selector":"#sp_article_inarticle_area","customCss":"display: block;\\ntext-align: center!important;\\nmargin: 15px 0px 15px 0px;","customCssForShowAdvertisement":"border-top: 1px solid rgb(243, 243, 243);\\nborder-bottom: 1px solid rgb(243, 243, 243);","insertPosition":"afterend","isFlexible":false,"numOfAds":1,"selectors":[],"exclusiveSelectors":[],"targetFirstLevelOnly":false,"spacing":1,"showAdvertisement":true,"customShowAdsText":"ADVERTISEMENT","isSticky":false,"stickyStopTarget":"","stickyStopTargetType":"QuerySelector","overrideMargin":false,"stickySizes":[],"enableLazyLoad":false,"lazyLoadMode":1,"lazyLoadConfig":10}},{"settings":{"prebidAdUnits":[{"atsPrebidAdUnits":[{"mediaTypes":{"video":{},"banner":{"pos":0,"sizes":[[300,250],[320,180],[336,280],[320,100],[1,1]]}},"bids":[{"bidder":"logicad","params":{"cur":"USD","tid":"lxjX"},"includeSchain":true},{"bidder":"rubicon","params":{"siteId":"343196","zoneId":"1814988","accountId":"13136"},"includeSchain":true},{"bidder":"pubmatic","params":{"adSlot":"3032481","publisherId":"157255"},"includeSchain":true},{"bidder":"criteo","params":{"uid":443368,"zoneId":1524169},"includeSchain":true},{"bidder":"adg","params":{"id":"119363"},"includeSchain":true},{"bidder":"rtbhouse","params":{"region":"prebid-asia","publisherId":"YWl3oVzwwoU0CCh7Y3e4"},"includeSchain":true},{"bidder":"appnexus","params":{"placementId":20647642,"usePaymentRule":true},"includeSchain":true},{"bidder":"unicorn","params":{"mediaId":"automaton-media.com","accountId":290124,"placementId":"/83555300/activegamingmedia/automaton/sp_article_footer","publisherId":83555300},"includeSchain":true},{"bidder":"medianet","params":{"cid":"8CUJVS55O","crid":"171681991"},"includeSchain":true},{"bidder":"adagio","params":{"site":"AUTOMATON","pagetype":"article","placement":"JP_AUM_sp_article_footer","environment":"mobile","organizationId":"1236","useAdUnitCodeAsPlacement":false,"useAdUnitCodeAsAdUnitElementId":true},"includeSchain":true},{"bidder":"ix","params":{"siteId":"1133782"},"includeSchain":true},{"bidder":"openx","params":{"unit":"561472821","delDomain":"fourm-d.openx.net"},"includeSchain":true},{"bidder":"amx","params":{"tagId":"E6D4SoEGV","adUnitId":"HB_JP_activegamingmedia » automaton » sp_article_footer_22046703637"},"includeSchain":true},{"bidder":"ttd","params":{"publisherId":"A2334","supplySourceId":"fourm"},"includeSchain":true}]}],"deviceSizes":[0,0]}],"adUnitPath":"/83555300,131347256/activegamingmedia/automaton/sp_article_footer","adUnitId":86220,"divID":"ats-insert_ads-17","divIDType":"QuerySelector"},"type":"prebid_only","active":true,"domainList":[],"filteringRule":"include","enableKeepingReferrer":false,"enableReferrerTargeting":false,"breakPoint":false,"device":"sp","regex":"^\\\\/articles\\\\/.*"},{"regex":"^\\\\/articles\\\\/.*","device":"sp","breakPoint":false,"enableReferrerTargeting":false,"enableKeepingReferrer":false,"filteringRule":"include","domainList":[],"active":true,"type":"tam","settings":{"tamAdUnits":[{"deviceSizes":[0,0],"slot":{"slotID":"ats-insert_ads-17","divIDType":"QuerySelector","adUnitPath":"/83555300,131347256/activegamingmedia/automaton/sp_article_footer","slotName":"/83555300,131347256/activegamingmedia/automaton/sp_article_footer","sizes":[{"enable":true,"sizes":[[300,250],[336,280],[320,100],[320,180],[-100,-100],[1,1]]}]}}]}},{"regex":"^\\\\/articles\\\\/.*","device":"sp","breakPoint":false,"enableReferrerTargeting":false,"enableKeepingReferrer":false,"filteringRule":"include","domainList":[],"active":true,"type":"insert_ads","enablePrebid":true,"settings":{"refreshInterval":0,"inViewRate":0,"sizeMappingGroup":[{"deviceSizes":[0,0],"sizes":[[300,250],[336,280],[320,100],[320,180],"fluid",[1,1]]}],"enableSetForceSafeFrameForSlot":false,"setCollapseEmptyDiv":"before_fetch","autoAdUnitPaths":[],"adUnitPath":"/83555300,131347256/activegamingmedia/automaton/sp_article_footer","adUnitId":86220,"divIDs":["ats-insert_ads-17"],"targetType":"QuerySelector","selector":"#main-container","customCss":"display: block;\\ntext-align: center!important;\\nmargin: 15px 0px 15px 0px;","customCssForShowAdvertisement":"border-top: 1px solid rgb(243, 243, 243);\\nborder-bottom: 1px solid rgb(243, 243, 243);","insertPosition":"afterend","isFlexible":false,"numOfAds":1,"selectors":[],"exclusiveSelectors":[],"targetFirstLevelOnly":false,"spacing":1,"showAdvertisement":true,"customShowAdsText":"ADVERTISEMENT","isSticky":false,"stickyStopTarget":"","stickyStopTargetType":"QuerySelector","overrideMargin":false,"stickySizes":[],"enableLazyLoad":true,"lazyLoadMode":1,"lazyLoadConfig":10}},{"regex":"^\\\\/results\\\\/","device":"resp","breakPoint":true,"enableReferrerTargeting":false,"enableKeepingReferrer":false,"filteringRule":"include","domainList":[],"active":true,"type":"custom","settings":{"script":"","style":""}},{"regex":".*","device":"pc","breakPoint":false,"enableReferrerTargeting":false,"enableKeepingReferrer":false,"filteringRule":"include","domainList":[],"active":true,"type":"custom","settings":{"script":"try{\\n!(function(l) {\\n const inArticleSettings = {\\n selectors: [\'p\'],\\n targetFirstLevelOnly: true,\\n articleSelector: \'.maintext\',\\n spacing: 1.5,\\n number: 3,\\n divInsertPos: \'afterbegin\',\\n id: \'ats_inArticle_adBox\',\\n };\\n\\n const inArticleExec = (articleNode, positions, settings) => {\\n let adCount = 1;\\n const VIEWPORT_HEIGHT = window.innerHeight;\\n const articleRect = articleNode.getBoundingClientRect();\\n const absArticleTop = articleRect.top + window.pageYOffset;\\n const absArticleBottom = articleRect.bottom + window.pageYOffset;\\n if (articleRect.height < VIEWPORT_HEIGHT) return;\\n const decidedPositions = positions.filter(function(position) {\\n const positionRect = position.getBoundingClientRect();\\n const absPositionTop = positionRect.top + window.pageYOffset;\\n const absPositionBottom = positionRect.Bottom + window.pageYOffset;\\n const diffTop = absPositionTop - absArticleTop;\\n const diffBottom = absArticleBottom - absPositionBottom;\\n if (diffTop < VIEWPORT_HEIGHT / 2 || diffBottom < VIEWPORT_HEIGHT / 2) {\\n return false;\\n } else {\\n if (diffTop > VIEWPORT_HEIGHT * settings.spacing * adCount) {\\n adCount++;\\n return true;\\n } else {\\n return false;\\n }\\n }\\n });\\n var index = 0;\\n if (!decidedPositions) {\\n console.log(\'ATS: custom insert: no enough space\')\\n } else {\\n decidedPositions.forEach(function(position, index) {\\n if (index < settings.number) {\\n createDiv(position, index, settings);\\n index++;\\n }\\n });\\n }\\n };\\n\\n const createDiv = (position, index, settings) => {\\n var newNode = document.createElement(\'div\');\\n newNode.id = inArticleSettings.id + \'_\' + index; \\n newNode.style.cssText = \'text-align: center; display: flex; justify-content: center;\';\\n position.insertAdjacentElement(settings.divInsertPos, newNode);\\n console.log(\'ATS: custom insert : D-Rect Div inserted:\'+newNode.id);\\n };\\n\\n function e () {\\n var content = l.querySelector(inArticleSettings.articleSelector);\\n if (!content) return;\\n\\n var candidates = content.querySelectorAll(inArticleSettings.selectors);\\n var positions = Array.from(candidates).filter(function(position) {\\n// if (position.previousSibling.previousSibling.className == \'point_text\')\\n// return false;\\n// else\\n return true;\\n });\\n\\n inArticleExec(content, positions, inArticleSettings);\\n }\\n\\n if (\'loading\' !== l.readyState) e();\\n else l.addEventListener(\'DOMContentLoaded\', e);\\n})(document);\\n}catch(e){}","style":""}},{"regex":".*","device":"pc","breakPoint":false,"enableReferrerTargeting":false,"enableKeepingReferrer":false,"filteringRule":"include","domainList":[],"active":true,"type":"insert_ads","enablePrebid":false,"settings":{"refreshInterval":0,"inViewRate":0,"sizeMappingGroup":[{"deviceSizes":[0,0],"sizes":[[300,250],[1,1]]}],"enableSetForceSafeFrameForSlot":false,"setCollapseEmptyDiv":"before_fetch","autoAdUnitPaths":[],"adUnitPath":"/83555300,131347256/activegamingmedia/automaton/JP_AUM_pc_all_inarticle_left_video","adUnitId":222838,"divIDs":["ats-insert_ads-20"],"targetType":"QuerySelector","selector":"#ats_inArticle_adBox_0","customCss":"display: block;\\ntext-align: center!important;\\nmargin: 15px 15px 15px 0px;","customCssForShowAdvertisement":"border-top: 1px solid rgb(243, 243, 243);\\nborder-bottom: 1px solid rgb(243, 243, 243);","insertPosition":"afterbegin","isFlexible":false,"numOfAds":1,"selectors":[],"exclusiveSelectors":[],"targetFirstLevelOnly":false,"spacing":1,"showAdvertisement":false,"customShowAdsText":"ADVERTISEMENT","isSticky":false,"stickyStopTarget":"","stickyStopTargetType":"QuerySelector","overrideMargin":false,"stickySizes":[],"enableLazyLoad":false,"lazyLoadMode":2,"lazyLoadConfig":1}},{"settings":{"prebidAdUnits":[{"atsPrebidAdUnits":[{"mediaTypes":{"video":{},"banner":{"pos":0,"sizes":[[300,250],[1,1]]}},"bids":[{"bidder":"rubicon","params":{"siteId":"494910","zoneId":"2934696","accountId":"13136"},"includeSchain":true},{"bidder":"adagio","params":{"site":"AUTOMATON","pagetype":"article","placement":"JP_AUM_pc_all_inarticle_right","environment":"desktop","organizationId":"1236","useAdUnitCodeAsPlacement":false,"useAdUnitCodeAsAdUnitElementId":true},"includeSchain":true},{"bidder":"rtbhouse","params":{"region":"prebid-asia","publisherId":"YWl3oVzwwoU0CCh7Y3e4"},"includeSchain":true},{"bidder":"adg","params":{"id":"181346"},"includeSchain":true},{"bidder":"pubmatic","params":{"adSlot":"5243223","publisherId":"157255"},"includeSchain":true},{"bidder":"appnexus","params":{"placementId":30267014,"usePaymentRule":true},"includeSchain":true},{"bidder":"fluct","params":{"tagId":"38988:1000265921","groupId":"1000165033","dfpUnitCode":"/83555300/activegamingmedia/automaton/JP_AUM_pc_all_inarticle_right"},"includeSchain":true},{"bidder":"criteo","params":{"uid":440141,"zoneId":1760048},"includeSchain":true},{"bidder":"openx","params":{"unit":"561472818","delDomain":"fourm-d.openx.net"},"includeSchain":true},{"bidder":"ttd","params":{"publisherId":"A2334","supplySourceId":"fourm"},"includeSchain":true}]}],"deviceSizes":[0,0]}],"adUnitPath":"/83555300,131347256/activegamingmedia/automaton/JP_AUM_pc_all_inarticle_right","adUnitId":222839,"divID":"ats-insert_ads-21","divIDType":"QuerySelector"},"type":"prebid_only","active":true,"domainList":[],"filteringRule":"include","enableKeepingReferrer":false,"enableReferrerTargeting":false,"breakPoint":false,"device":"pc","regex":".*"},{"regex":".*","device":"pc","breakPoint":false,"enableReferrerTargeting":false,"enableKeepingReferrer":false,"filteringRule":"include","domainList":[],"active":true,"type":"tam","settings":{"tamAdUnits":[{"deviceSizes":[0,0],"slot":{"slotID":"ats-insert_ads-21","divIDType":"QuerySelector","adUnitPath":"/83555300,131347256/activegamingmedia/automaton/JP_AUM_pc_all_inarticle_right","slotName":"/83555300,131347256/activegamingmedia/automaton/JP_AUM_pc_all_inarticle_right","sizes":[{"enable":true,"sizes":[[300,250],[1,1]]}]}}]}},{"regex":".*","device":"pc","breakPoint":false,"enableReferrerTargeting":false,"enableKeepingReferrer":false,"filteringRule":"include","domainList":[],"active":true,"type":"insert_ads","enablePrebid":true,"settings":{"refreshInterval":0,"inViewRate":0,"sizeMappingGroup":[{"deviceSizes":[0,0],"sizes":[[300,250],[1,1]]}],"enableSetForceSafeFrameForSlot":false,"setCollapseEmptyDiv":"before_fetch","autoAdUnitPaths":[],"adUnitPath":"/83555300,131347256/activegamingmedia/automaton/JP_AUM_pc_all_inarticle_right","adUnitId":222839,"divIDs":["ats-insert_ads-21"],"targetType":"QuerySelector","selector":"#ats_inArticle_adBox_0","customCss":"display: block;\\ntext-align: center!important;\\nmargin: 15px 0px 15px 15px;","customCssForShowAdvertisement":"border-top: 1px solid rgb(243, 243, 243);\\nborder-bottom: 1px solid rgb(243, 243, 243);","insertPosition":"beforeend","isFlexible":false,"numOfAds":1,"selectors":[],"exclusiveSelectors":[],"targetFirstLevelOnly":false,"spacing":1,"showAdvertisement":false,"customShowAdsText":"ADVERTISEMENT","isSticky":false,"stickyStopTarget":"","stickyStopTargetType":"QuerySelector","overrideMargin":false,"stickySizes":[],"enableLazyLoad":false,"lazyLoadMode":2,"lazyLoadConfig":1}},{"settings":{"prebidAdUnits":[{"atsPrebidAdUnits":[{"mediaTypes":{"video":{},"banner":{"pos":0,"sizes":[[300,250],[1,1]]}},"bids":[{"bidder":"adg","params":{"id":"181346"},"includeSchain":true},{"bidder":"pubmatic","params":{"adSlot":"5243223","publisherId":"157255"},"includeSchain":true},{"bidder":"ix","params":{"siteId":"997107"},"includeSchain":true},{"bidder":"adagio","params":{"site":"AUTOMATON","pagetype":"article","placement":"JP_AUM_pc_all_inarticle_right","environment":"desktop","organizationId":"1236","useAdUnitCodeAsPlacement":false,"useAdUnitCodeAsAdUnitElementId":true},"includeSchain":true},{"bidder":"rtbhouse","params":{"region":"prebid-asia","publisherId":"YWl3oVzwwoU0CCh7Y3e4"},"includeSchain":true},{"bidder":"appnexus","params":{"placementId":30267014,"usePaymentRule":true},"includeSchain":true},{"bidder":"fluct","params":{"tagId":"38988:1000265921","groupId":"1000165033","dfpUnitCode":"/83555300/activegamingmedia/automaton/JP_AUM_pc_all_inarticle_right"},"includeSchain":true},{"bidder":"criteo","params":{"uid":440141,"zoneId":1760048},"includeSchain":true},{"bidder":"rubicon","params":{"siteId":"494910","zoneId":"2934696","accountId":"13136"},"includeSchain":true},{"bidder":"openx","params":{"unit":"561472818","delDomain":"fourm-d.openx.net"},"includeSchain":true},{"bidder":"ttd","params":{"publisherId":"A2334","supplySourceId":"fourm"},"includeSchain":true}]}],"deviceSizes":[0,0]}],"adUnitPath":"/83555300,131347256/activegamingmedia/automaton/JP_AUM_pc_all_inarticle_right","adUnitId":222839,"divID":"ats-insert_ads-22","divIDType":"QuerySelector"},"type":"prebid_only","active":true,"domainList":[],"filteringRule":"include","enableKeepingReferrer":false,"enableReferrerTargeting":false,"breakPoint":false,"device":"pc","regex":".*"},{"regex":".*","device":"pc","breakPoint":false,"enableReferrerTargeting":false,"enableKeepingReferrer":false,"filteringRule":"include","domainList":[],"active":true,"type":"tam","settings":{"tamAdUnits":[{"deviceSizes":[0,0],"slot":{"slotID":"ats-insert_ads-22","divIDType":"QuerySelector","adUnitPath":"/83555300,131347256/activegamingmedia/automaton/JP_AUM_pc_all_inarticle_right","slotName":"/83555300,131347256/activegamingmedia/automaton/JP_AUM_pc_all_inarticle_right","sizes":[{"enable":true,"sizes":[[300,250],[1,1]]}]}}]}},{"regex":".*","device":"pc","breakPoint":false,"enableReferrerTargeting":false,"enableKeepingReferrer":false,"filteringRule":"include","domainList":[],"active":true,"type":"insert_ads","enablePrebid":true,"settings":{"refreshInterval":0,"inViewRate":0,"sizeMappingGroup":[{"deviceSizes":[0,0],"sizes":[[300,250],[1,1]]}],"enableSetForceSafeFrameForSlot":false,"setCollapseEmptyDiv":"before_fetch","autoAdUnitPaths":[],"adUnitPath":"/83555300,131347256/activegamingmedia/automaton/JP_AUM_pc_all_inarticle_right","adUnitId":222839,"divIDs":["ats-insert_ads-22"],"targetType":"QuerySelector","selector":"#ats_inArticle_adBox_1","customCss":"display: block;\\ntext-align: center!important;\\nmargin: 15px 15px 15px 0px;","customCssForShowAdvertisement":"border-top: 1px solid rgb(243, 243, 243);\\nborder-bottom: 1px solid rgb(243, 243, 243);","insertPosition":"afterbegin","isFlexible":false,"numOfAds":1,"selectors":[],"exclusiveSelectors":[],"targetFirstLevelOnly":false,"spacing":1,"showAdvertisement":false,"customShowAdsText":"ADVERTISEMENT","isSticky":false,"stickyStopTarget":"","stickyStopTargetType":"QuerySelector","overrideMargin":false,"stickySizes":[],"enableLazyLoad":false,"lazyLoadMode":2,"lazyLoadConfig":1}},{"settings":{"prebidAdUnits":[{"atsPrebidAdUnits":[{"mediaTypes":{"video":{},"banner":{"pos":0,"sizes":[[300,250],[1,1]]}},"bids":[{"bidder":"appnexus","params":{"placementId":30267014,"usePaymentRule":true},"includeSchain":true},{"bidder":"adagio","params":{"site":"AUTOMATON","pagetype":"article","placement":"JP_AUM_pc_all_inarticle_right","environment":"desktop","organizationId":"1236","useAdUnitCodeAsPlacement":false,"useAdUnitCodeAsAdUnitElementId":true},"includeSchain":true},{"bidder":"rtbhouse","params":{"region":"prebid-asia","publisherId":"YWl3oVzwwoU0CCh7Y3e4"},"includeSchain":true},{"bidder":"adg","params":{"id":"181346"},"includeSchain":true},{"bidder":"pubmatic","params":{"adSlot":"5243223","publisherId":"157255"},"includeSchain":true},{"bidder":"fluct","params":{"tagId":"38988:1000265921","groupId":"1000165033","dfpUnitCode":"/83555300/activegamingmedia/automaton/JP_AUM_pc_all_inarticle_right"},"includeSchain":true},{"bidder":"criteo","params":{"uid":440141,"zoneId":1760048},"includeSchain":true},{"bidder":"rubicon","params":{"siteId":"494910","zoneId":"2934696","accountId":"13136"},"includeSchain":true},{"bidder":"openx","params":{"unit":"561472818","delDomain":"fourm-d.openx.net"},"includeSchain":true},{"bidder":"ttd","params":{"publisherId":"A2334","supplySourceId":"fourm"},"includeSchain":true}]}],"deviceSizes":[0,0]}],"adUnitPath":"/83555300,131347256/activegamingmedia/automaton/JP_AUM_pc_all_inarticle_right","adUnitId":222839,"divID":"ats-insert_ads-23","divIDType":"QuerySelector"},"type":"prebid_only","active":true,"domainList":[],"filteringRule":"include","enableKeepingReferrer":false,"enableReferrerTargeting":false,"breakPoint":false,"device":"pc","regex":".*"},{"regex":".*","device":"pc","breakPoint":false,"enableReferrerTargeting":false,"enableKeepingReferrer":false,"filteringRule":"include","domainList":[],"active":true,"type":"tam","settings":{"tamAdUnits":[{"deviceSizes":[0,0],"slot":{"slotID":"ats-insert_ads-23","divIDType":"QuerySelector","adUnitPath":"/83555300,131347256/activegamingmedia/automaton/JP_AUM_pc_all_inarticle_right","slotName":"/83555300,131347256/activegamingmedia/automaton/JP_AUM_pc_all_inarticle_right","sizes":[{"enable":true,"sizes":[[300,250],[1,1]]}]}}]}},{"regex":".*","device":"pc","breakPoint":false,"enableReferrerTargeting":false,"enableKeepingReferrer":false,"filteringRule":"include","domainList":[],"active":true,"type":"insert_ads","enablePrebid":true,"settings":{"refreshInterval":0,"inViewRate":0,"sizeMappingGroup":[{"deviceSizes":[0,0],"sizes":[[300,250],[1,1]]}],"enableSetForceSafeFrameForSlot":false,"setCollapseEmptyDiv":"before_fetch","autoAdUnitPaths":[],"adUnitPath":"/83555300,131347256/activegamingmedia/automaton/JP_AUM_pc_all_inarticle_right","adUnitId":222839,"divIDs":["ats-insert_ads-23"],"targetType":"QuerySelector","selector":"#ats_inArticle_adBox_1","customCss":"display: block;\\ntext-align: center!important;\\nmargin: 15px 0px 15px 15px;","customCssForShowAdvertisement":"border-top: 1px solid rgb(243, 243, 243);\\nborder-bottom: 1px solid rgb(243, 243, 243);","insertPosition":"beforeend","isFlexible":false,"numOfAds":1,"selectors":[],"exclusiveSelectors":[],"targetFirstLevelOnly":false,"spacing":1,"showAdvertisement":false,"customShowAdsText":"ADVERTISEMENT","isSticky":false,"stickyStopTarget":"","stickyStopTargetType":"QuerySelector","overrideMargin":false,"stickySizes":[],"enableLazyLoad":false,"lazyLoadMode":2,"lazyLoadConfig":1}},{"settings":{"prebidAdUnits":[{"atsPrebidAdUnits":[{"mediaTypes":{"video":{},"banner":{"pos":0,"sizes":[[300,250],[320,50],[336,280],[320,100],[320,180],[1,1]]}},"bids":[{"bidder":"pubmatic","params":{"adSlot":"3032482","publisherId":"157255"},"includeSchain":true},{"bidder":"adg","params":{"id":"119364"},"includeSchain":true},{"bidder":"appnexus","params":{"placementId":20647643,"usePaymentRule":true},"includeSchain":true},{"bidder":"ix","params":{"siteId":"572774"},"includeSchain":true},{"bidder":"unicorn","params":{"mediaId":"automaton-media.com","accountId":290124,"placementId":"/83555300/activegamingmedia/automaton/sp_article_inarticle_1st","publisherId":83555300},"includeSchain":true},{"bidder":"craft","params":{"sitekey":"automaton-media","placementId":"AB906EB9-3C9E-48A2-9446-BF753652604A"},"includeSchain":true},{"bidder":"adagio","params":{"site":"AUTOMATON","pagetype":"article","placement":"JP_AUM_sp_article_inarticle_1st","environment":"mobile","organizationId":"1236","useAdUnitCodeAsPlacement":false,"useAdUnitCodeAsAdUnitElementId":true},"includeSchain":true},{"bidder":"criteo","params":{"uid":443371,"zoneId":1524170},"includeSchain":true},{"bidder":"openx","params":{"unit":"561327579","delDomain":"fourm-d.openx.net"},"includeSchain":true},{"bidder":"ttd","params":{"publisherId":"A2334","supplySourceId":"fourm"},"includeSchain":true}]},{"mediaTypes":{"video":{"api":[2],"pos":0,"mimes":["video/mp4","video/webm","video/3gpp","application/javascript"],"plcmt":4,"context":"outstream","linearity":1,"placement":3,"protocols":[2,3,5,6,7,8,11,12,13,14],"playerSize":[256,144],"maxduration":30,"minduration":5,"playbackmethod":[2]},"banner":{}},"bids":[{"bidder":"unruly","params":{"siteId":238470},"includeSchain":true}]}],"deviceSizes":[0,0]}],"adUnitPath":"/83555300,131347256/activegamingmedia/automaton/sp_article_inarticle_2nd","adUnitId":86243,"divID":"ats-insert_ads-24","divIDType":"QuerySelector"},"type":"prebid_only","active":true,"domainList":[],"filteringRule":"include","enableKeepingReferrer":false,"enableReferrerTargeting":false,"breakPoint":false,"device":"sp","regex":"^\\\\/articles\\\\/.*"},{"regex":"^\\\\/articles\\\\/.*","device":"sp","breakPoint":false,"enableReferrerTargeting":false,"enableKeepingReferrer":false,"filteringRule":"include","domainList":[],"active":true,"type":"tam","settings":{"tamAdUnits":[{"deviceSizes":[0,0],"slot":{"slotID":"ats-insert_ads-24","divIDType":"QuerySelector","adUnitPath":"/83555300,131347256/activegamingmedia/automaton/sp_article_inarticle_2nd","slotName":"/83555300,131347256/activegamingmedia/automaton/sp_article_inarticle_2nd","sizes":[{"enable":true,"sizes":[[300,250],[320,50],[336,280],[320,100],[320,180],[-100,-100],[1,1]]}]}}]}},{"regex":"^\\\\/articles\\\\/.*","device":"sp","breakPoint":false,"enableReferrerTargeting":false,"enableKeepingReferrer":false,"filteringRule":"include","domainList":[],"active":true,"type":"insert_ads","enablePrebid":true,"settings":{"refreshInterval":0,"inViewRate":0,"sizeMappingGroup":[{"deviceSizes":[0,0],"sizes":[[300,250],[320,50],[336,280],[320,100],[320,180],"fluid",[1,1]]}],"enableSetForceSafeFrameForSlot":false,"setCollapseEmptyDiv":"before_fetch","autoAdUnitPaths":[],"adUnitPath":"/83555300,131347256/activegamingmedia/automaton/sp_article_inarticle_2nd","adUnitId":86243,"divIDs":["ats-insert_ads-24"],"targetType":"QuerySelector","selector":"#sp_article_inarticle_1st","customCss":"display: block;\\ntext-align: center!important;\\nmargin: 30px 0px 30px 0px;","customCssForShowAdvertisement":"border-top: 1px solid rgb(243, 243, 243);\\nborder-bottom: 1px solid rgb(243, 243, 243);","insertPosition":"afterbegin","isFlexible":false,"numOfAds":12,"selectors":[],"exclusiveSelectors":[],"targetFirstLevelOnly":false,"spacing":0.5,"showAdvertisement":true,"customShowAdsText":"ADVERTISEMENT","isSticky":false,"stickyStopTarget":"","stickyStopTargetType":"QuerySelector","overrideMargin":false,"stickySizes":[],"enableLazyLoad":false,"lazyLoadMode":2,"lazyLoadConfig":0}},{"settings":{"prebidAdUnits":[{"atsPrebidAdUnits":[{"mediaTypes":{"video":{"api":[2],"pos":0,"mimes":["video/mp4","video/webm","video/3gpp","application/javascript"],"plcmt":4,"context":"outstream","linearity":1,"placement":3,"protocols":[2,3,5,6,7,8,11,12,13,14],"playerSize":[256,144],"maxduration":30,"minduration":5,"playbackmethod":[2]},"banner":{}},"bids":[{"bidder":"unruly","params":{"siteId":238470},"includeSchain":true}]},{"mediaTypes":{"video":{},"banner":{"pos":0,"sizes":[[300,250],[320,50],[336,280],[320,100],[320,180],[1,1]]}},"bids":[{"bidder":"appnexus","params":{"placementId":20647643,"usePaymentRule":true},"includeSchain":true},{"bidder":"pubmatic","params":{"adSlot":"3032482","publisherId":"157255"},"includeSchain":true},{"bidder":"adg","params":{"id":"119364"},"includeSchain":true},{"bidder":"ix","params":{"siteId":"572774"},"includeSchain":true},{"bidder":"unicorn","params":{"mediaId":"automaton-media.com","accountId":290124,"placementId":"/83555300/activegamingmedia/automaton/sp_article_inarticle_1st","publisherId":83555300},"includeSchain":true},{"bidder":"craft","params":{"sitekey":"automaton-media","placementId":"AB906EB9-3C9E-48A2-9446-BF753652604A"},"includeSchain":true},{"bidder":"adagio","params":{"site":"AUTOMATON","pagetype":"article","placement":"JP_AUM_sp_article_inarticle_1st","environment":"mobile","organizationId":"1236","useAdUnitCodeAsPlacement":false,"useAdUnitCodeAsAdUnitElementId":true},"includeSchain":true},{"bidder":"criteo","params":{"uid":443371,"zoneId":1524170},"includeSchain":true},{"bidder":"openx","params":{"unit":"561327579","delDomain":"fourm-d.openx.net"},"includeSchain":true},{"bidder":"ttd","params":{"publisherId":"A2334","supplySourceId":"fourm"},"includeSchain":true}]}],"deviceSizes":[0,0]}],"adUnitPath":"/83555300,131347256/activegamingmedia/automaton/sp_article_inarticle_1st","adUnitId":86231,"divID":"ats-insert_ads_flexible-25-0","divIDType":"QuerySelector"},"type":"prebid_only","active":true,"domainList":[],"filteringRule":"include","enableKeepingReferrer":false,"enableReferrerTargeting":false,"breakPoint":false,"device":"sp","regex":"^\\\\/articles\\\\/.*"},{"regex":"^\\\\/articles\\\\/.*","device":"sp","breakPoint":false,"enableReferrerTargeting":false,"enableKeepingReferrer":false,"filteringRule":"include","domainList":[],"active":true,"type":"tam","settings":{"tamAdUnits":[{"deviceSizes":[0,0],"slot":{"slotID":"ats-insert_ads_flexible-25-0","divIDType":"QuerySelector","adUnitPath":"/83555300,131347256/activegamingmedia/automaton/sp_article_inarticle_1st","slotName":"/83555300,131347256/activegamingmedia/automaton/sp_article_inarticle_1st","sizes":[{"enable":true,"sizes":[[300,250],[320,50],[336,280],[320,100],[320,180],[1,1]]}]}}]}},{"settings":{"prebidAdUnits":[{"atsPrebidAdUnits":[{"mediaTypes":{"video":{"api":[2],"pos":0,"mimes":["video/mp4","video/webm","video/3gpp","application/javascript"],"plcmt":4,"context":"outstream","linearity":1,"placement":3,"protocols":[2,3,5,6,7,8,11,12,13,14],"playerSize":[256,144],"maxduration":30,"minduration":5,"playbackmethod":[2]},"banner":{}},"bids":[{"bidder":"unruly","params":{"siteId":238470},"includeSchain":true}]},{"mediaTypes":{"video":{},"banner":{"pos":0,"sizes":[[300,250],[320,50],[336,280],[320,100],[320,180],[1,1]]}},"bids":[{"bidder":"appnexus","params":{"placementId":20647643,"usePaymentRule":true},"includeSchain":true},{"bidder":"pubmatic","params":{"adSlot":"3032482","publisherId":"157255"},"includeSchain":true},{"bidder":"adg","params":{"id":"119364"},"includeSchain":true},{"bidder":"ix","params":{"siteId":"572774"},"includeSchain":true},{"bidder":"unicorn","params":{"mediaId":"automaton-media.com","accountId":290124,"placementId":"/83555300/activegamingmedia/automaton/sp_article_inarticle_1st","publisherId":83555300},"includeSchain":true},{"bidder":"craft","params":{"sitekey":"automaton-media","placementId":"AB906EB9-3C9E-48A2-9446-BF753652604A"},"includeSchain":true},{"bidder":"adagio","params":{"site":"AUTOMATON","pagetype":"article","placement":"JP_AUM_sp_article_inarticle_1st","environment":"mobile","organizationId":"1236","useAdUnitCodeAsPlacement":false,"useAdUnitCodeAsAdUnitElementId":true},"includeSchain":true},{"bidder":"criteo","params":{"uid":443371,"zoneId":1524170},"includeSchain":true},{"bidder":"openx","params":{"unit":"561327579","delDomain":"fourm-d.openx.net"},"includeSchain":true},{"bidder":"ttd","params":{"publisherId":"A2334","supplySourceId":"fourm"},"includeSchain":true}]}],"deviceSizes":[0,0]}],"adUnitPath":"/83555300,131347256/activegamingmedia/automaton/sp_article_inarticle_1st","adUnitId":86231,"divID":"ats-insert_ads_flexible-25-1","divIDType":"QuerySelector"},"type":"prebid_only","active":true,"domainList":[],"filteringRule":"include","enableKeepingReferrer":false,"enableReferrerTargeting":false,"breakPoint":false,"device":"sp","regex":"^\\\\/articles\\\\/.*"},{"regex":"^\\\\/articles\\\\/.*","device":"sp","breakPoint":false,"enableReferrerTargeting":false,"enableKeepingReferrer":false,"filteringRule":"include","domainList":[],"active":true,"type":"tam","settings":{"tamAdUnits":[{"deviceSizes":[0,0],"slot":{"slotID":"ats-insert_ads_flexible-25-1","divIDType":"QuerySelector","adUnitPath":"/83555300,131347256/activegamingmedia/automaton/sp_article_inarticle_1st","slotName":"/83555300,131347256/activegamingmedia/automaton/sp_article_inarticle_1st","sizes":[{"enable":true,"sizes":[[300,250],[320,50],[336,280],[320,100],[320,180],[1,1]]}]}}]}},{"settings":{"prebidAdUnits":[{"atsPrebidAdUnits":[{"mediaTypes":{"video":{"api":[2],"pos":0,"mimes":["video/mp4","video/webm","video/3gpp","application/javascript"],"plcmt":4,"context":"outstream","linearity":1,"placement":3,"protocols":[2,3,5,6,7,8,11,12,13,14],"playerSize":[256,144],"maxduration":30,"minduration":5,"playbackmethod":[2]},"banner":{}},"bids":[{"bidder":"unruly","params":{"siteId":238470},"includeSchain":true}]},{"mediaTypes":{"video":{},"banner":{"pos":0,"sizes":[[300,250],[320,50],[336,280],[320,100],[320,180],[1,1]]}},"bids":[{"bidder":"appnexus","params":{"placementId":20647643,"usePaymentRule":true},"includeSchain":true},{"bidder":"pubmatic","params":{"adSlot":"3032482","publisherId":"157255"},"includeSchain":true},{"bidder":"adg","params":{"id":"119364"},"includeSchain":true},{"bidder":"ix","params":{"siteId":"572774"},"includeSchain":true},{"bidder":"unicorn","params":{"mediaId":"automaton-media.com","accountId":290124,"placementId":"/83555300/activegamingmedia/automaton/sp_article_inarticle_1st","publisherId":83555300},"includeSchain":true},{"bidder":"craft","params":{"sitekey":"automaton-media","placementId":"AB906EB9-3C9E-48A2-9446-BF753652604A"},"includeSchain":true},{"bidder":"adagio","params":{"site":"AUTOMATON","pagetype":"article","placement":"JP_AUM_sp_article_inarticle_1st","environment":"mobile","organizationId":"1236","useAdUnitCodeAsPlacement":false,"useAdUnitCodeAsAdUnitElementId":true},"includeSchain":true},{"bidder":"criteo","params":{"uid":443371,"zoneId":1524170},"includeSchain":true},{"bidder":"openx","params":{"unit":"561327579","delDomain":"fourm-d.openx.net"},"includeSchain":true},{"bidder":"ttd","params":{"publisherId":"A2334","supplySourceId":"fourm"},"includeSchain":true}]}],"deviceSizes":[0,0]}],"adUnitPath":"/83555300,131347256/activegamingmedia/automaton/sp_article_inarticle_1st","adUnitId":86231,"divID":"ats-insert_ads_flexible-25-2","divIDType":"QuerySelector"},"type":"prebid_only","active":true,"domainList":[],"filteringRule":"include","enableKeepingReferrer":false,"enableReferrerTargeting":false,"breakPoint":false,"device":"sp","regex":"^\\\\/articles\\\\/.*"},{"regex":"^\\\\/articles\\\\/.*","device":"sp","breakPoint":false,"enableReferrerTargeting":false,"enableKeepingReferrer":false,"filteringRule":"include","domainList":[],"active":true,"type":"tam","settings":{"tamAdUnits":[{"deviceSizes":[0,0],"slot":{"slotID":"ats-insert_ads_flexible-25-2","divIDType":"QuerySelector","adUnitPath":"/83555300,131347256/activegamingmedia/automaton/sp_article_inarticle_1st","slotName":"/83555300,131347256/activegamingmedia/automaton/sp_article_inarticle_1st","sizes":[{"enable":true,"sizes":[[300,250],[320,50],[336,280],[320,100],[320,180],[1,1]]}]}}]}},{"settings":{"prebidAdUnits":[{"atsPrebidAdUnits":[{"mediaTypes":{"video":{"api":[2],"pos":0,"mimes":["video/mp4","video/webm","video/3gpp","application/javascript"],"plcmt":4,"context":"outstream","linearity":1,"placement":3,"protocols":[2,3,5,6,7,8,11,12,13,14],"playerSize":[256,144],"maxduration":30,"minduration":5,"playbackmethod":[2]},"banner":{}},"bids":[{"bidder":"unruly","params":{"siteId":238470},"includeSchain":true}]},{"mediaTypes":{"video":{},"banner":{"pos":0,"sizes":[[300,250],[320,50],[336,280],[320,100],[320,180],[1,1]]}},"bids":[{"bidder":"appnexus","params":{"placementId":20647643,"usePaymentRule":true},"includeSchain":true},{"bidder":"pubmatic","params":{"adSlot":"3032482","publisherId":"157255"},"includeSchain":true},{"bidder":"adg","params":{"id":"119364"},"includeSchain":true},{"bidder":"ix","params":{"siteId":"572774"},"includeSchain":true},{"bidder":"unicorn","params":{"mediaId":"automaton-media.com","accountId":290124,"placementId":"/83555300/activegamingmedia/automaton/sp_article_inarticle_1st","publisherId":83555300},"includeSchain":true},{"bidder":"craft","params":{"sitekey":"automaton-media","placementId":"AB906EB9-3C9E-48A2-9446-BF753652604A"},"includeSchain":true},{"bidder":"adagio","params":{"site":"AUTOMATON","pagetype":"article","placement":"JP_AUM_sp_article_inarticle_1st","environment":"mobile","organizationId":"1236","useAdUnitCodeAsPlacement":false,"useAdUnitCodeAsAdUnitElementId":true},"includeSchain":true},{"bidder":"criteo","params":{"uid":443371,"zoneId":1524170},"includeSchain":true},{"bidder":"openx","params":{"unit":"561327579","delDomain":"fourm-d.openx.net"},"includeSchain":true},{"bidder":"ttd","params":{"publisherId":"A2334","supplySourceId":"fourm"},"includeSchain":true}]}],"deviceSizes":[0,0]}],"adUnitPath":"/83555300,131347256/activegamingmedia/automaton/sp_article_inarticle_1st","adUnitId":86231,"divID":"ats-insert_ads_flexible-25-3","divIDType":"QuerySelector"},"type":"prebid_only","active":true,"domainList":[],"filteringRule":"include","enableKeepingReferrer":false,"enableReferrerTargeting":false,"breakPoint":false,"device":"sp","regex":"^\\\\/articles\\\\/.*"},{"regex":"^\\\\/articles\\\\/.*","device":"sp","breakPoint":false,"enableReferrerTargeting":false,"enableKeepingReferrer":false,"filteringRule":"include","domainList":[],"active":true,"type":"tam","settings":{"tamAdUnits":[{"deviceSizes":[0,0],"slot":{"slotID":"ats-insert_ads_flexible-25-3","divIDType":"QuerySelector","adUnitPath":"/83555300,131347256/activegamingmedia/automaton/sp_article_inarticle_1st","slotName":"/83555300,131347256/activegamingmedia/automaton/sp_article_inarticle_1st","sizes":[{"enable":true,"sizes":[[300,250],[320,50],[336,280],[320,100],[320,180],[1,1]]}]}}]}},{"settings":{"prebidAdUnits":[{"atsPrebidAdUnits":[{"mediaTypes":{"video":{"api":[2],"pos":0,"mimes":["video/mp4","video/webm","video/3gpp","application/javascript"],"plcmt":4,"context":"outstream","linearity":1,"placement":3,"protocols":[2,3,5,6,7,8,11,12,13,14],"playerSize":[256,144],"maxduration":30,"minduration":5,"playbackmethod":[2]},"banner":{}},"bids":[{"bidder":"unruly","params":{"siteId":238470},"includeSchain":true}]},{"mediaTypes":{"video":{},"banner":{"pos":0,"sizes":[[300,250],[320,50],[336,280],[320,100],[320,180],[1,1]]}},"bids":[{"bidder":"appnexus","params":{"placementId":20647643,"usePaymentRule":true},"includeSchain":true},{"bidder":"pubmatic","params":{"adSlot":"3032482","publisherId":"157255"},"includeSchain":true},{"bidder":"adg","params":{"id":"119364"},"includeSchain":true},{"bidder":"ix","params":{"siteId":"572774"},"includeSchain":true},{"bidder":"unicorn","params":{"mediaId":"automaton-media.com","accountId":290124,"placementId":"/83555300/activegamingmedia/automaton/sp_article_inarticle_1st","publisherId":83555300},"includeSchain":true},{"bidder":"craft","params":{"sitekey":"automaton-media","placementId":"AB906EB9-3C9E-48A2-9446-BF753652604A"},"includeSchain":true},{"bidder":"adagio","params":{"site":"AUTOMATON","pagetype":"article","placement":"JP_AUM_sp_article_inarticle_1st","environment":"mobile","organizationId":"1236","useAdUnitCodeAsPlacement":false,"useAdUnitCodeAsAdUnitElementId":true},"includeSchain":true},{"bidder":"criteo","params":{"uid":443371,"zoneId":1524170},"includeSchain":true},{"bidder":"openx","params":{"unit":"561327579","delDomain":"fourm-d.openx.net"},"includeSchain":true},{"bidder":"ttd","params":{"publisherId":"A2334","supplySourceId":"fourm"},"includeSchain":true}]}],"deviceSizes":[0,0]}],"adUnitPath":"/83555300,131347256/activegamingmedia/automaton/sp_article_inarticle_1st","adUnitId":86231,"divID":"ats-insert_ads_flexible-25-4","divIDType":"QuerySelector"},"type":"prebid_only","active":true,"domainList":[],"filteringRule":"include","enableKeepingReferrer":false,"enableReferrerTargeting":false,"breakPoint":false,"device":"sp","regex":"^\\\\/articles\\\\/.*"},{"regex":"^\\\\/articles\\\\/.*","device":"sp","breakPoint":false,"enableReferrerTargeting":false,"enableKeepingReferrer":false,"filteringRule":"include","domainList":[],"active":true,"type":"tam","settings":{"tamAdUnits":[{"deviceSizes":[0,0],"slot":{"slotID":"ats-insert_ads_flexible-25-4","divIDType":"QuerySelector","adUnitPath":"/83555300,131347256/activegamingmedia/automaton/sp_article_inarticle_1st","slotName":"/83555300,131347256/activegamingmedia/automaton/sp_article_inarticle_1st","sizes":[{"enable":true,"sizes":[[300,250],[320,50],[336,280],[320,100],[320,180],[1,1]]}]}}]}},{"settings":{"prebidAdUnits":[{"atsPrebidAdUnits":[{"mediaTypes":{"video":{"api":[2],"pos":0,"mimes":["video/mp4","video/webm","video/3gpp","application/javascript"],"plcmt":4,"context":"outstream","linearity":1,"placement":3,"protocols":[2,3,5,6,7,8,11,12,13,14],"playerSize":[256,144],"maxduration":30,"minduration":5,"playbackmethod":[2]},"banner":{}},"bids":[{"bidder":"unruly","params":{"siteId":238470},"includeSchain":true}]},{"mediaTypes":{"video":{},"banner":{"pos":0,"sizes":[[300,250],[320,50],[336,280],[320,100],[320,180],[1,1]]}},"bids":[{"bidder":"appnexus","params":{"placementId":20647643,"usePaymentRule":true},"includeSchain":true},{"bidder":"pubmatic","params":{"adSlot":"3032482","publisherId":"157255"},"includeSchain":true},{"bidder":"adg","params":{"id":"119364"},"includeSchain":true},{"bidder":"ix","params":{"siteId":"572774"},"includeSchain":true},{"bidder":"unicorn","params":{"mediaId":"automaton-media.com","accountId":290124,"placementId":"/83555300/activegamingmedia/automaton/sp_article_inarticle_1st","publisherId":83555300},"includeSchain":true},{"bidder":"craft","params":{"sitekey":"automaton-media","placementId":"AB906EB9-3C9E-48A2-9446-BF753652604A"},"includeSchain":true},{"bidder":"adagio","params":{"site":"AUTOMATON","pagetype":"article","placement":"JP_AUM_sp_article_inarticle_1st","environment":"mobile","organizationId":"1236","useAdUnitCodeAsPlacement":false,"useAdUnitCodeAsAdUnitElementId":true},"includeSchain":true},{"bidder":"criteo","params":{"uid":443371,"zoneId":1524170},"includeSchain":true},{"bidder":"openx","params":{"unit":"561327579","delDomain":"fourm-d.openx.net"},"includeSchain":true},{"bidder":"ttd","params":{"publisherId":"A2334","supplySourceId":"fourm"},"includeSchain":true}]}],"deviceSizes":[0,0]}],"adUnitPath":"/83555300,131347256/activegamingmedia/automaton/sp_article_inarticle_1st","adUnitId":86231,"divID":"ats-insert_ads_flexible-25-5","divIDType":"QuerySelector"},"type":"prebid_only","active":true,"domainList":[],"filteringRule":"include","enableKeepingReferrer":false,"enableReferrerTargeting":false,"breakPoint":false,"device":"sp","regex":"^\\\\/articles\\\\/.*"},{"regex":"^\\\\/articles\\\\/.*","device":"sp","breakPoint":false,"enableReferrerTargeting":false,"enableKeepingReferrer":false,"filteringRule":"include","domainList":[],"active":true,"type":"tam","settings":{"tamAdUnits":[{"deviceSizes":[0,0],"slot":{"slotID":"ats-insert_ads_flexible-25-5","divIDType":"QuerySelector","adUnitPath":"/83555300,131347256/activegamingmedia/automaton/sp_article_inarticle_1st","slotName":"/83555300,131347256/activegamingmedia/automaton/sp_article_inarticle_1st","sizes":[{"enable":true,"sizes":[[300,250],[320,50],[336,280],[320,100],[320,180],[1,1]]}]}}]}},{"settings":{"prebidAdUnits":[{"atsPrebidAdUnits":[{"mediaTypes":{"video":{"api":[2],"pos":0,"mimes":["video/mp4","video/webm","video/3gpp","application/javascript"],"plcmt":4,"context":"outstream","linearity":1,"placement":3,"protocols":[2,3,5,6,7,8,11,12,13,14],"playerSize":[256,144],"maxduration":30,"minduration":5,"playbackmethod":[2]},"banner":{}},"bids":[{"bidder":"unruly","params":{"siteId":238470},"includeSchain":true}]},{"mediaTypes":{"video":{},"banner":{"pos":0,"sizes":[[300,250],[320,50],[336,280],[320,100],[320,180],[1,1]]}},"bids":[{"bidder":"appnexus","params":{"placementId":20647643,"usePaymentRule":true},"includeSchain":true},{"bidder":"pubmatic","params":{"adSlot":"3032482","publisherId":"157255"},"includeSchain":true},{"bidder":"adg","params":{"id":"119364"},"includeSchain":true},{"bidder":"ix","params":{"siteId":"572774"},"includeSchain":true},{"bidder":"unicorn","params":{"mediaId":"automaton-media.com","accountId":290124,"placementId":"/83555300/activegamingmedia/automaton/sp_article_inarticle_1st","publisherId":83555300},"includeSchain":true},{"bidder":"craft","params":{"sitekey":"automaton-media","placementId":"AB906EB9-3C9E-48A2-9446-BF753652604A"},"includeSchain":true},{"bidder":"adagio","params":{"site":"AUTOMATON","pagetype":"article","placement":"JP_AUM_sp_article_inarticle_1st","environment":"mobile","organizationId":"1236","useAdUnitCodeAsPlacement":false,"useAdUnitCodeAsAdUnitElementId":true},"includeSchain":true},{"bidder":"criteo","params":{"uid":443371,"zoneId":1524170},"includeSchain":true},{"bidder":"openx","params":{"unit":"561327579","delDomain":"fourm-d.openx.net"},"includeSchain":true},{"bidder":"ttd","params":{"publisherId":"A2334","supplySourceId":"fourm"},"includeSchain":true}]}],"deviceSizes":[0,0]}],"adUnitPath":"/83555300,131347256/activegamingmedia/automaton/sp_article_inarticle_1st","adUnitId":86231,"divID":"ats-insert_ads_flexible-25-6","divIDType":"QuerySelector"},"type":"prebid_only","active":true,"domainList":[],"filteringRule":"include","enableKeepingReferrer":false,"enableReferrerTargeting":false,"breakPoint":false,"device":"sp","regex":"^\\\\/articles\\\\/.*"},{"regex":"^\\\\/articles\\\\/.*","device":"sp","breakPoint":false,"enableReferrerTargeting":false,"enableKeepingReferrer":false,"filteringRule":"include","domainList":[],"active":true,"type":"tam","settings":{"tamAdUnits":[{"deviceSizes":[0,0],"slot":{"slotID":"ats-insert_ads_flexible-25-6","divIDType":"QuerySelector","adUnitPath":"/83555300,131347256/activegamingmedia/automaton/sp_article_inarticle_1st","slotName":"/83555300,131347256/activegamingmedia/automaton/sp_article_inarticle_1st","sizes":[{"enable":true,"sizes":[[300,250],[320,50],[336,280],[320,100],[320,180],[1,1]]}]}}]}},{"settings":{"prebidAdUnits":[{"atsPrebidAdUnits":[{"mediaTypes":{"video":{"api":[2],"pos":0,"mimes":["video/mp4","video/webm","video/3gpp","application/javascript"],"plcmt":4,"context":"outstream","linearity":1,"placement":3,"protocols":[2,3,5,6,7,8,11,12,13,14],"playerSize":[256,144],"maxduration":30,"minduration":5,"playbackmethod":[2]},"banner":{}},"bids":[{"bidder":"unruly","params":{"siteId":238470},"includeSchain":true}]},{"mediaTypes":{"video":{},"banner":{"pos":0,"sizes":[[300,250],[320,50],[336,280],[320,100],[320,180],[1,1]]}},"bids":[{"bidder":"appnexus","params":{"placementId":20647643,"usePaymentRule":true},"includeSchain":true},{"bidder":"pubmatic","params":{"adSlot":"3032482","publisherId":"157255"},"includeSchain":true},{"bidder":"adg","params":{"id":"119364"},"includeSchain":true},{"bidder":"ix","params":{"siteId":"572774"},"includeSchain":true},{"bidder":"unicorn","params":{"mediaId":"automaton-media.com","accountId":290124,"placementId":"/83555300/activegamingmedia/automaton/sp_article_inarticle_1st","publisherId":83555300},"includeSchain":true},{"bidder":"craft","params":{"sitekey":"automaton-media","placementId":"AB906EB9-3C9E-48A2-9446-BF753652604A"},"includeSchain":true},{"bidder":"adagio","params":{"site":"AUTOMATON","pagetype":"article","placement":"JP_AUM_sp_article_inarticle_1st","environment":"mobile","organizationId":"1236","useAdUnitCodeAsPlacement":false,"useAdUnitCodeAsAdUnitElementId":true},"includeSchain":true},{"bidder":"criteo","params":{"uid":443371,"zoneId":1524170},"includeSchain":true},{"bidder":"openx","params":{"unit":"561327579","delDomain":"fourm-d.openx.net"},"includeSchain":true},{"bidder":"ttd","params":{"publisherId":"A2334","supplySourceId":"fourm"},"includeSchain":true}]}],"deviceSizes":[0,0]}],"adUnitPath":"/83555300,131347256/activegamingmedia/automaton/sp_article_inarticle_1st","adUnitId":86231,"divID":"ats-insert_ads_flexible-25-7","divIDType":"QuerySelector"},"type":"prebid_only","active":true,"domainList":[],"filteringRule":"include","enableKeepingReferrer":false,"enableReferrerTargeting":false,"breakPoint":false,"device":"sp","regex":"^\\\\/articles\\\\/.*"},{"regex":"^\\\\/articles\\\\/.*","device":"sp","breakPoint":false,"enableReferrerTargeting":false,"enableKeepingReferrer":false,"filteringRule":"include","domainList":[],"active":true,"type":"tam","settings":{"tamAdUnits":[{"deviceSizes":[0,0],"slot":{"slotID":"ats-insert_ads_flexible-25-7","divIDType":"QuerySelector","adUnitPath":"/83555300,131347256/activegamingmedia/automaton/sp_article_inarticle_1st","slotName":"/83555300,131347256/activegamingmedia/automaton/sp_article_inarticle_1st","sizes":[{"enable":true,"sizes":[[300,250],[320,50],[336,280],[320,100],[320,180],[1,1]]}]}}]}},{"regex":"^\\\\/articles\\\\/.*","device":"sp","breakPoint":false,"enableReferrerTargeting":false,"enableKeepingReferrer":false,"filteringRule":"include","domainList":[],"active":true,"type":"insert_ads","enablePrebid":true,"settings":{"refreshInterval":0,"inViewRate":0,"sizeMappingGroup":[{"deviceSizes":[0,0],"sizes":[[300,250],[320,50],[336,280],[320,100],[320,180],[1,1]]}],"enableSetForceSafeFrameForSlot":false,"setCollapseEmptyDiv":"before_fetch","autoAdUnitPaths":[],"adUnitPath":"/83555300,131347256/activegamingmedia/automaton/sp_article_inarticle_1st","adUnitId":86231,"divIDs":["ats-insert_ads_flexible-25-0","ats-insert_ads_flexible-25-1","ats-insert_ads_flexible-25-2","ats-insert_ads_flexible-25-3","ats-insert_ads_flexible-25-4","ats-insert_ads_flexible-25-5","ats-insert_ads_flexible-25-6","ats-insert_ads_flexible-25-7"],"targetType":"QuerySelector","selector":"#sp_article_inarticle_area","customCss":"display: block;\\ntext-align: center!important;\\nmargin: 30px 0px 30px 0px;","customCssForShowAdvertisement":"border-top: 1px solid rgb(243, 243, 243);\\nborder-bottom: 1px solid rgb(243, 243, 243);","insertPosition":"beforebegin","isFlexible":true,"numOfAds":8,"selectors":["p",".wp-block-image.size-full"],"exclusiveSelectors":["img",".td-post-content > br"],"targetFirstLevelOnly":true,"spacing":0.5,"showAdvertisement":true,"customShowAdsText":"ADVERTISEMENT","isSticky":false,"stickyStopTarget":"","stickyStopTargetType":"QuerySelector","overrideMargin":false,"stickySizes":[],"enableLazyLoad":false,"lazyLoadMode":2,"lazyLoadConfig":0}},{"regex":".*","device":"sp","breakPoint":false,"enableReferrerTargeting":false,"enableKeepingReferrer":false,"filteringRule":"include","domainList":[],"active":true,"type":"custom","settings":{"script":"try{\\ndocument.addEventListener(\'DOMContentLoaded\', function() {\\n var selecter = \'.td-post-content.tagdiv-type .insert_ads.show_advertisement.rendered:not(.ai-viewport-2 .insert_ads.show_advertisement.rendered):not(.ai-viewport-3 .insert_ads.show_advertisement.rendered)\';\\n var text = \'▼記事は下に続きます\';\\n var position = \'beforebegin\';\\n var maxRetries = 3;\\n var retryInterval = 5000;\\n \\n var retryCount = 0;\\n function checkAndInsert() {\\n var codeBlocks = document.querySelectorAll(selecter);\\n\\n if (codeBlocks.length > 1) {\\n // selecterが見つかった場合、要素を処理\\n codeBlocks.forEach(function(codeBlock, index) {\\n var notice = document.createElement(\'p\');\\n notice.textContent = text;\\n notice.className = \'ad-notice\';\\n\\n codeBlock.insertAdjacentElement(position, notice);\\n });\\n } else {\\n // selecterが見つからない場合\\n if (retryCount < maxRetries) {\\n retryCount++;\\n setTimeout(checkAndInsert, retryInterval);\\n } else {\\n console.log(\\"要素が見つかりませんでした。最大リトライ回数に達しました。\\");\\n }\\n }\\n // トップ用\\n document.querySelectorAll(\'.code-block.code-block-36\').insertAdjacentElement(position, notice);\\n }\\n\\n // 最初に実行\\n checkAndInsert();\\n});\\n}catch(e){}","style":"p.ad-notice {\\n font-size: 12px!important;\\n color: #666!important;\\n margin-top: 5px!important;\\n margin-bottom: 5px!important;\\n text-align: center!important;\\n}\\n.insert_ads.show_advertisement.rendered > div{\\n margin-top:0px!important;\\n}"}},{"regex":"^\\\\/articles\\\\/.*","device":"sp","breakPoint":false,"enableReferrerTargeting":false,"enableKeepingReferrer":false,"filteringRule":"include","domainList":[],"active":false,"type":"custom","settings":{"script":"try{\\n!(function(l) {\\n const inArticleSettings = {\\n selectors: [\'p\'],\\n excludes: [\'img\'],\\n targetFirstLevelOnly: true,\\n articleSelector: \'.td-ss-main-content\',\\n spacing: 1.3,\\n number: 5,\\n divInsertPos: \'afterbegin\',\\n id: \'ats_inArticle_adBox\',\\n };\\n\\n const inArticleExec = (articleNode, positions) => {\\n let adCount = 1;\\n const VIEWPORT_HEIGHT = window.innerHeight;\\n const articleRect = articleNode.getBoundingClientRect();\\n const absArticleTop = articleRect.top + window.pageYOffset;\\n const absArticleBottom = articleRect.bottom + window.pageYOffset;\\n if (articleRect.height < VIEWPORT_HEIGHT) return;\\n const decidedPositions = positions.filter(function(position) {\\n const positionRect = position.getBoundingClientRect();\\n const absPositionTop = positionRect.top + window.pageYOffset;\\n const absPositionBottom = positionRect.Bottom + window.pageYOffset;\\n const diffTop = absPositionTop - absArticleTop;\\n const diffBottom = absArticleBottom - absPositionBottom;\\n if (diffTop < VIEWPORT_HEIGHT / 2 || diffBottom < VIEWPORT_HEIGHT / 2) {\\n return false;\\n } else {\\n if (diffTop > VIEWPORT_HEIGHT * inArticleSettings.spacing * adCount) {\\n adCount++;\\n return true;\\n } else {\\n return false;\\n }\\n }\\n });\\n var index = 0;\\n if (!decidedPositions) {\\n console.log(\'ATS: custom insert: no enough space\')\\n } else {\\n decidedPositions.forEach(function(position, index) {\\n if (index < inArticleSettings.number) {\\n createDiv(position, index);\\n index++;\\n }\\n });\\n }\\n };\\n\\n const createDiv = (position, index) => {\\n var newNode = document.createElement(\'div\');\\n newNode.id = inArticleSettings.id + \'_\' + index; \\n newNode.className = \'ats-inArticle-adBox-sticky-container\';\\n position.insertAdjacentElement(inArticleSettings.divInsertPos, newNode);\\n console.log(\'ATS: custom insert : inArticle Sticky Div inserted:\'+newNode.id);\\n };\\n\\n function e () {\\n var content = l.querySelector(inArticleSettings.articleSelector);\\n if (!content) return;\\n\\n var candidates = null;\\n if (inArticleSettings.targetFirstLevelOnly) {\\n var newSelectors = \'\';\\n inArticleSettings.selectors.forEach(function(selector) {\\n if (newSelectors !== \'\') newSelectors+=\',\';\\n newSelectors += inArticleSettings.articleSelector + \' > \' + selector;\\n });\\n console.log(\'selectors:\'+newSelectors);\\n candidates = content.querySelectorAll(newSelectors);\\n } else {\\n candidates = content.querySelectorAll(inArticleSettings.selectors);\\n }\\n var positions = Array.from(candidates).filter(function(position) {\\n if (position.previousElementSibling) {\\n if (inArticleSettings.excludes.includes(position.previousElementSibling.tagName.toLowerCase())) {\\n return false;\\n } else {\\n return true;\\n }\\n } else {\\n return true;\\n }\\n });\\n\\n var googletag = window.googletag || {};\\n googletag.cmd = googletag.cmd || [];\\n\\n inArticleExec(content, positions);\\n googletag.cmd.push(function() {\\n googletag.pubads().addEventListener(\'slotRenderEnded\', event => {\\n var slot = event.slot;\\n if (slot.getAdUnitPath() === \'/83555300,131347256/activegamingmedia/automaton/sp_article_inarticle_1st\') {\\n if (event.isEmpty) {\\n l.querySelector(\'#\'+slot.getSlotElementId()).parentElement.parentElement.parentElement.style.display = \'none\';\\n } else {\\n l.querySelector(\'#\'+slot.getSlotElementId()).classList.add(\'enable-sticky\');\\n l.querySelector(\'#\'+slot.getSlotElementId()).parentElement.style.height = \'700px\';\\n }\\n }\\n });\\n });\\n }\\n\\n if (\'loading\' !== l.readyState) e();\\n else l.addEventListener(\'DOMContentLoaded\', e);\\n})(document);\\n}catch(e){}","style":".ats-inArticle-adBox-sticky-container {\\n text-align: center;\\n width:100%;\\n margin-bottom: 15px;\\n\\n}\\n.enable-sticky {\\n position: sticky;\\n top: 90px;\\n}\\n.enable-sticky::before {\\n content: \'Advertisement\';\\n text-align: center;\\n color: #ffffff;\\n font: 10px/18px \'Helvetica Neue\',\'Arial Nova\',Helvetica,Arial,sans-serif;\\n display: block;\\n}"}},{"regex":".*","device":"sp","breakPoint":false,"enableReferrerTargeting":false,"enableKeepingReferrer":false,"filteringRule":"include","domainList":[],"active":false,"type":"custom","settings":{"script":"try{\\ndocument.addEventListener(\'DOMContentLoaded\', function() {\\n console.log(\'miko\');\\n function checkAdElements() {\\n var adElement = document.querySelector(\'.code-block.code-block-29 > .adsbygoogle\');\\n var adElement2 = document.querySelector(\'#aswift_2_host\');\\n console.log(adElement);\\n console.log(adElement2);\\n\\n if (adElement && adElement.getAttribute(\'data-ad-status\') === \'unfilled\') {\\n adElement.style.height = \'0\';\\n if (adElement2) {\\n adElement2.style.height = \'0\';\\n }\\n // adElement内のdiv要素の高さも0に設定\\n var innerDivElement = adElement.querySelector(\'div\');\\n if (innerDivElement) {\\n innerDivElement.style.height = \'0\';\\n }\\n } else if (retryCount < maxRetries) {\\n retryCount++;\\n setTimeout(checkAdElements, retryDelay);\\n }\\n }\\n\\n var retryCount = 0;\\n var maxRetries = 15;\\n var retryDelay = 500; // 0.2秒\\n\\n checkAdElements();\\n});\\n}catch(e){}","style":""}},{"regex":".*","device":"sp","breakPoint":false,"enableReferrerTargeting":false,"enableKeepingReferrer":false,"filteringRule":"include","domainList":[],"active":true,"type":"custom","settings":{"script":"try{\\n(function(e) {\\n var script = e.createElement(\\"script\\");\\n script.defer = true;\\n script.src = \'https://as.uncn.jp/js/ext/scroll_notify.1.0.0.js\';\\n var s = e.getElementsByTagName(\'script\')[0];\\n s.parentNode.insertBefore(script, s);\\n})(document);\\n}catch(e){}","style":""}}],"information":{"env":"prod","buildDate":"2025-05-29T18:39:59.605Z","versions":{"ads":"3.1.323 ver3","pwa":"3.1.323","core":"3.1.323","bundler":"3.1.323"}},"amPrebidBidderMap":{"criteo":17,"unicorn":66,"pubmatic":4,"appnexus":23,"medianet":61,"ogury":100,"gumgum":14,"ix":13,"openx":3,"ssp_geniee":172,"amx":191,"ttd":115,"adagio":89,"rtbhouse":6,"adg":22,"fluct":15,"rubicon":5,"logicad":12,"craft":38,"unruly":9}}')}},__webpack_module_cache__={};function __webpack_require__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var i=__webpack_module_cache__[e]={exports:{}};return __webpack_modules__[e](i,i.exports,__webpack_require__),i.exports}__webpack_require__.d=(e,t)=>{for(var i in t)__webpack_require__.o(t,i)&&!__webpack_require__.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},__webpack_require__.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var __webpack_exports__={},_TagServices__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(903),_Logger__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(335);const anymindTS=window.anymindTS=window.anymindTS||{que:[]};let originalQue=[];Array.isArray(anymindTS.que)&&(originalQue=anymindTS.que.slice(),anymindTS.que.splice(0));const iterateAndCallFuncInQue=e=>{e.length>0&&e.forEach(((e,t)=>{try{e()}catch(e){_Logger__WEBPACK_IMPORTED_MODULE_1__.vF.error(`anymindTS.que[${t}]`,e)}}))};class ATSManager{constructor(config){this.config=config,this.startAnymindTS=async()=>{if(this.tagServices.disposed)_Logger__WEBPACK_IMPORTED_MODULE_1__.vF.error("Must execute 'window.anymindTS.dispose();'");else{if(this.config.siteSetting.useAsyncJsTrigger&&this.config.siteSetting.asyncJsTrigger)try{const result=await eval(this.config.siteSetting.asyncJsTrigger);if(_Logger__WEBPACK_IMPORTED_MODULE_1__.vF.log("asyncJsTrigger result: ",result),!result)return}catch(e){_Logger__WEBPACK_IMPORTED_MODULE_1__.vF.log(e)}this.tagServices.start()}},this.run=async()=>{this.tagServices.run=!0,_Logger__WEBPACK_IMPORTED_MODULE_1__.vF.log(`\nenv: ${this.config.information.env}\nversion: ${this.config.information.versions.ads}\nbuild date: ${this.config.information.buildDate}\nsite id: ${this.config.siteSetting.siteId}`),this.config.siteSetting.isSPA||this.startAnymindTS(),iterateAndCallFuncInQue(originalQue),originalQue.splice(0)},window.startAnymindTS=window.startAnyMindTS=this.startAnymindTS,this.tagServices=window.anymindTS=new _TagServices__WEBPACK_IMPORTED_MODULE_0__.h(config)}}try{const e=__webpack_require__(974);if(window.anymindTS.loaded)_Logger__WEBPACK_IMPORTED_MODULE_1__.vF.error("already ats.js is loaded");else{const t=new ATSManager(e);t.run()}}catch(e){_Logger__WEBPACK_IMPORTED_MODULE_1__.vF.error(e)}})();