var sheet = document.createElement('style'); var sheet_str = "[data-google-query-id] > div{text-align:center;margin:auto;}"; var head = document.head || document.getElementsByTagName('head')[0]; sheet.type='text/css'; if (sheet.styleSheet) sheet.styleSheet.cssText=sheet_str; else sheet.appendChild(document.createTextNode(sheet_str)); head.appendChild(sheet); var TDN_AD=function(e){var t={};function i(n){if(t[n])return t[n].exports;var d=t[n]={i:n,l:!1,exports:{}};return e[n].call(d.exports,d,d.exports,i),d.l=!0,d.exports}return i.m=e,i.c=t,i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var d in e)i.d(n,d,function(t){return e[t]}.bind(null,d));return n},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="",i(i.s=0)}([function(e,t,i){e.exports=i(1)},function(e,t,i){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};t.__esModule=!0;var d=i(2),a=n(i(4));t.init=function(e){var t=e.siteName||null,i=e.adUnitPath||null,n=d.TDN_UTILITY.arrayToAdInfoList(a.default);if(null!=t&&null!=i)if(window.tdnOnLoaded)console.log("tdn script already is loaded");else{d.TDN_UTILITY.loadScript("https://www.googletagservices.com/tag/js/gpt.js",null),window.googletag=window.googletag||{};var o=window.googletag;o.cmd=o.cmd||[],window.video_ads=window.video_ads||[],window.inter_video_ads=window.inter_video_ads||[],window.tdnOnLoaded=!0,d.TDN_UTILITY.initAD(o,i,t,n),d.TDN_UTILITY.displayAD(window.googletag,t,n)}else console.log("tdn parameter is undefined")}},function(e,t,i){"use strict";t.__esModule=!0;var n=i(3),d=function(){function e(){}return e.loadScript=function(e,t){var i=document.createElement("script");i.src=e,i.async=!0,i.onload=t,document.getElementsByTagName("head")[0].appendChild(i)},e.initAD=function(e,t,i,n){e.cmd.push(function(){n.forEach(function(n){document.querySelector("#"+i+"-"+n.getDisplay_name())&&("reskin"==n.getDisplay_name()?e.defineSlot(t+"/reskin",[[n.getWidth(),n.getHeight()]],i+"-"+n.getDisplay_name()).addService(e.pubads()):e.defineSlot(t+"/"+n.getWidth()+"x"+n.getHeight(),[[n.getWidth(),n.getHeight()]],i+"-"+n.getDisplay_name()).addService(e.pubads()))}),e.defineOutOfPageSlot(t+"/interstitial",i+"-full-popup").setTargeting("ad_type",["interstitial"]).addService(e.pubads()),e.defineOutOfPageSlot(t+"/video",i+"-video").setTargeting("ad_type",["video"]).addService(e.pubads()),e.pubads().collapseEmptyDivs(),e.enableServices(),e.pubads().addEventListener("slotRenderEnded",function(e){var t=document.querySelector("#"+e.slot.getSlotElementId());if(t&&(t.style.textAlign="center"),e.slot.getSlotElementId()==i+"-reskin")window.video_ads.push({qqid:e.slot.getEscapedQemQueryId(),campaignId:e.campaignId,lineItemId:e.lineItemId,adUnitPath:e.slot.getAdUnitPath(),creativeId:e.creativeId}),window.dispatchEvent(new Event("tdnVideoRenderEnded"));else if(e.slot.getSlotElementId()==i+"-video"){window.video_ads.push({qqid:e.slot.getEscapedQemQueryId(),campaignId:e.campaignId,lineItemId:e.lineItemId,adUnitPath:e.slot.getAdUnitPath(),creativeId:e.creativeId}),window.dispatchEvent(new Event("tdnVideoRenderEnded")),(n=document.querySelector("#"+i+"-video iframe"))&&(n.style.width="100%",n.style.maxWidth="700px",navigator.userAgent.match(/Mobile|iP(hone)|Android|BlackBerry|IEMobile|Kindle|NetFront|Silk-Accelerated|(hpw|web)OS|Fennec|Minimo|Opera M(obi|ini)|Blazer|Dolfin|Dolphin|Skyfire|Zune/)?(n.style.height="calc(100vw / 16 * 9)",window.frameElement&&(window.document.body.style.margin="0")):(n.style.height=(n.offsetWidth>700?700:n.offsetWidth)/16*9+"px",window.frameElement&&(window.frameElement.style.height=(n.offsetWidth>700?700:n.offsetWidth)/16*9+"px")))}else if(e.slot.getSlotElementId()==i+"-320x50-floating"){(n=document.querySelector("#"+e.slot.getSlotElementId()+" iframe")).parentElement.style.width="100%",n.parentElement.style.height="50px",n.parentElement.style.position="fixed",n.parentElement.style.bottom="0",n.parentElement.style.left="0",n.parentElement.style.zIndex="99999",n.parentElement.style.textAlign="center",document.body.style.margin="0"}else if(e.slot.getSlotElementId()==i+"-320x100"){var n;(n=document.querySelector("#"+e.slot.getSlotElementId()+" iframe")).parentElement.style.textAlign="center",n.style.position="static",n.style.transform="none"}else e.slot.getSlotElementId()==i+"-full-popup"&&(window.inter_video_ads.push({qqid:e.slot.getEscapedQemQueryId(),campaignId:e.campaignId,lineItemId:e.lineItemId,adUnitPath:e.slot.getAdUnitPath(),creativeId:e.creativeId}),window.dispatchEvent(new Event("tdnPopupVideoRenderEnded")))})})},e.displayAD=function(e,t,i){i.forEach(function(i){document.querySelector("#"+t+"-"+i.getDisplay_name())&&e.cmd.push(function(){e.display(t+"-"+i.getDisplay_name())})}),e.cmd.push(function(){e.display(t+"-video")}),document.querySelector("#"+t+"-full-popup")&&e.cmd.push(function(){e.display(t+"-full-popup")})},e.arrayToAdInfoList=function(e){var t=[];return e.forEach(function(e){t.push(new n.ADINFO(e.width,e.height,e.display_name))}),t},e}();t.TDN_UTILITY=d},function(e,t,i){"use strict";t.__esModule=!0;var n=function(){function e(e,t,i){this.width=e,this.height=t,this.display_name=i}return e.prototype.getWidth=function(){return this.width},e.prototype.getHeight=function(){return this.height},e.prototype.getDisplay_name=function(){return this.display_name},e}();t.ADINFO=n},function(e){e.exports=[{width:120,height:600,display_name:"120x600"},{width:125,height:125,display_name:"125x125"},{width:160,height:600,display_name:"160x600"},{width:160,height:600,display_name:"160x600-2"},{width:200,height:200,display_name:"200x200"},{width:250,height:250,display_name:"250x250"},{width:250,height:250,display_name:"250x250-2"},{width:300,height:100,display_name:"300x100"},{width:300,height:250,display_name:"300x250"},{width:300,height:250,display_name:"300x250-2"},{width:300,height:600,display_name:"300x600"},{width:320,height:50,display_name:"320x50"},{width:320,height:50,display_name:"320x50-floating"},{width:320,height:50,display_name:"320x50-inter"},{width:320,height:100,display_name:"320x100"},{width:468,height:60,display_name:"468x60"},{width:600,height:100,display_name:"600x100"},{width:680,height:90,display_name:"680x90"},{width:728,height:90,display_name:"728x90"},{width:728,height:90,display_name:"728x90-2"},{width:728,height:90,display_name:"728x90-3"},{width:970,height:90,display_name:"970x90"},{width:970,height:90,display_name:"970x90-2"},{width:970,height:250,display_name:"970x250"},{width:2,height:1,display_name:"reskin"}]}]); (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); })(window,document,'script','dataLayer','GTM-PS7J22F');