window.ayManagerEnv = window.ayManagerEnv || {};
window.ayManagerEnv.cmd = window.ayManagerEnv.cmd || [];

if (!window.ayManagerEnv.initialized) {
    window.ayManagerEnv.entityId = "5J2eEFREPWvyxdgWC";
    window.ayManagerEnv.geoInfo = {"country":"FI","isEUCountry":true,"isEEAOrUK":true,"city":"Helsinki","continent":"EU","latitude":"60.17970","longitude":"24.93440","postalCode":"00191","region":"Uusimaa","regionCode":"18","timezone":"Europe/Helsinki"};
    window.ayManagerEnv.botInfo = {"score":99,"verified":false};
    window.ayManagerEnv.isSplitTest = false;
    window.ayManagerEnv.settings = {"placements":[{"_id":"f1d8535dd3d7fa87173813fc","name":"beforeendhead","conditions":[],"adUnits":[],"htmlUnits":["9f33a96b6cfa0dcd99654ce2","3b7a3583a78021d0bb4f6f63","ee2e0c534665cb6c7aed27ee","ceb836b42d93ee5195b68fad","2d566aac4ca8373e0463f56c","3f22bc4cfa6783b4170eba70","58d87d371ff9a2387665e5f5","b4c79f42d45b0a9ea3861034","502fd72cb21b4f5c20e45fb2","1293ff65949ad38bf60d9422"],"code":"beforeendhead","placement":"head","position":"beforeend","inject":true,"slug":false,"trigger":["_onScriptLoad","_onReady"],"lazyLoad":false,"fetchTrigger":["_onScriptLoad","_onReady"],"style":"{}","lazyRender":false}],"adUnits":[],"htmlUnits":[{"_id":"ceb836b42d93ee5195b68fad","name":"AdPushUp","htmlCode":"<script data-cfasync=\"false\" type=\"text/javascript\">\r\n(function(w, d) {\r\nvar s = d.createElement('script');\r\ns.src = '//cdn.adpushup.com/45576/adpushup.js';\r\ns.crossOrigin='anonymous';\r\ns.type = 'text/javascript'; s.async = true;\r\n(d.getElementsByTagName('head')[0] || d.getElementsByTagName('body')[0]).appendChild(s);\r\nw.adpushup = w.adpushup || {que:[]};\r\n})(window, document);\r\n</script>","conditions":["d46c8f73364cd050487a6f88"]}],"bidderSettings":{"bidders":[],"paramsDefaults":[],"params":[]},"definitions":{"variables":{"71da7ebb8f390cc50dafb2e3":{"name":"getCurrentHPIDStatus","type":"JS_FUNCTION","value":"function() {return window.currentHPIDReady;}","_id":"71da7ebb8f390cc50dafb2e3"},"67802fd7ab7046b8e638050c":{"name":"isTestURL","type":"JS_FUNCTION","value":"function () {\n\tvar isTest = window.location.href.includes('silverchair');\n  return isTest;\n}","_id":"67802fd7ab7046b8e638050c"},"f5afd1268663a20e478df849":{"name":"isSplitViewURL","type":"JS_FUNCTION","value":"function () {\n\tvar isSplitView = window.location.href.includes('article-split');\n  return isSplitView;\n}","_id":"f5afd1268663a20e478df849"},"633fbfb61fc0b74475a2252e":{"name":"isPagesURL","type":"JS_FUNCTION","value":"function () {\n\tvar isPages = window.location.href.includes('pages');\n  return isPages;\n}","_id":"633fbfb61fc0b74475a2252e"},"8d8b6584d6090c092ef21738":{"name":"isBookURL","type":"JS_FUNCTION","value":"function () {\n\tvar isBook = window.location.href.includes('book');\n  return isBook;\n}","_id":"8d8b6584d6090c092ef21738"},"48fff8a4457b52a425229d3d":{"name":"isIssueURL","type":"JS_FUNCTION","value":"function () {\n\tvar isIssue = window.location.href.includes('issue');\n  return isIssue;\n}","_id":"48fff8a4457b52a425229d3d"},"9d493996ee2f2481a2919905":{"name":"isArticleURL","type":"JS_FUNCTION","value":"function () {\n\tvar isArticle = window.location.href.includes('article');\n  return isArticle;\n}","_id":"9d493996ee2f2481a2919905"},"cf21c466644f117f0d138531":{"name":"getPubgradeFinish","type":"JS_FUNCTION","value":"function () {return window.pbgrdReady;}","_id":"cf21c466644f117f0d138531"},"ce33848afa2e448fc84fada5":{"name":"getConsentManagement","type":"JS_FUNCTION","value":"function () {\n  if ({{ _isEEAOrUK }}) {\n    return {\n      gdpr: {\n        cmpApi: \"iab\",\n        timeout: 8000,\n        defaultGdprScope: true\n      }\n    };\n  } else if ('{{ _regionCode }}' === 'CA') {\n    return {\n      usp: {\n        cmpApi: \"iab\",\n        timeout: 1000\n      }\n    };\n  }\n  return false;\n}","_id":"ce33848afa2e448fc84fada5"},"17f6c0217790aeb77486245b":{"name":"getTimeouts","type":"JS_FUNCTION","value":"function () {\n  var timeout = 3500;\n  if (window.navigator && window.navigator.connection) {\n    if (window.navigator.connection.effectiveType === \"4g\") {\n      timeout = 2500;\n    }\n  }\n  if ({{ _isMobile }}) {\n    timeout += 1000;\n  }\n  return {\n    failsafe: timeout + 2000,\n    bidder: timeout\n  }\n}","_id":"17f6c0217790aeb77486245b"},"_url":{"name":"URL","type":"URL","value":null,"_id":"_url"},"_urlPathname":{"name":"URL Pathname","type":"URL_PATHNAME","value":null,"_id":"_urlPathname"},"_domain":{"name":"Domain","type":"DOMAIN","value":null,"_id":"_domain"},"_windowWidth":{"name":"Window Width","type":"WINDOW_WIDTH","value":null,"_id":"_windowWidth"},"_windowHeight":{"name":"Window Height","type":"WINDOW_HEIGHT","value":null,"_id":"_windowHeight"},"_isMobile":{"name":"Is Mobile","type":"IS_MOBILE","value":null,"_id":"_isMobile"},"_utmSource":{"name":"UTM Source","type":"UTM_SOURCE","value":null,"_id":"_utmSource"},"_utmMedium":{"name":"UTM Medium","type":"UTM_MEDIUM","value":null,"_id":"_utmMedium"},"_utmCampaign":{"name":"UTM Campaign","type":"UTM_CAMPAIGN","value":null,"_id":"_utmCampaign"},"_utmTerm":{"name":"UTM Term","type":"UTM_TERM","value":null,"_id":"_utmTerm"},"_utmContent":{"name":"UTM Content","type":"UTM_CONTENT","value":null,"_id":"_utmContent"},"_deploymentId":{"name":"Deployment Id","type":"DEPLOYMENT_ID","value":null,"_id":"_deploymentId"},"_versionId":{"name":"Version Id","type":"VERSION_ID","value":null,"_id":"_versionId"},"_deploymentPercentage":{"name":"Deployment Percentage","type":"DEPLOYMENT_PERCENTAGE","value":null,"_id":"_deploymentPercentage"},"_country":{"name":"Country","type":"COUNTRY","value":null,"_id":"_country"},"_isEUCountry":{"name":"Is EU Country","type":"IS_EU_COUNTRY","value":null,"_id":"_isEUCountry"},"_isEEAOrUK":{"name":"Is EEA or UK","type":"IS_EEA_OR_UK","value":null,"_id":"_isEEAOrUK"},"_city":{"name":"City","type":"CITY","value":null,"_id":"_city"},"_continent":{"name":"Continent","type":"CONTINENT","value":null,"_id":"_continent"},"_latitude":{"name":"Latitude","type":"LATITUDE","value":null,"_id":"_latitude"},"_longitude":{"name":"Longitude","type":"LONGITUDE","value":null,"_id":"_longitude"},"_postalCode":{"name":"Postal Code","type":"POSTAL_CODE","value":null,"_id":"_postalCode"},"_region":{"name":"Region","type":"REGION","value":null,"_id":"_region"},"_regionCode":{"name":"Region Code","type":"REGION_CODE","value":null,"_id":"_regionCode"},"_timezone":{"name":"Timezone","type":"TIMEZONE","value":null,"_id":"_timezone"},"_botScore":{"name":"Bot Score","type":"BOT_SCORE","value":null,"_id":"_botScore"},"_verifiedBot":{"name":"Verified Bot","type":"VERIFIED_BOT","value":null,"_id":"_verifiedBot"}},"conditions":{"ad3f2b17122f83e7334f4220":{"name":"isCurrentHPIDReady","group":{"operator":"AND","conditions":[{"variable":"71da7ebb8f390cc50dafb2e3","operation":"equal","value":"true","isBuiltInVariable":false}]},"_id":"ad3f2b17122f83e7334f4220"},"9169bfa12c6d26b869afe71e":{"_id":"9169bfa12c6d26b869afe71e","name":"Is DACH","group":{"operator":"OR","conditions":[{"variable":"_country","operation":"equal","value":"DE","isBuiltInVariable":true},{"variable":"_country","operation":"equal","value":"AT","isBuiltInVariable":true},{"variable":"_country","operation":"equal","value":"CH","isBuiltInVariable":true}]}},"1968bd0c6f9e059f478df5c9":{"_id":"1968bd0c6f9e059f478df5c9","name":"No Submission","group":{"operator":"AND","conditions":[{"variable":"_urlPathname","operation":"does not contain","value":"/pages/submission","isBuiltInVariable":true}]}},"a629e521519d71bba00d7bef":{"_id":"a629e521519d71bba00d7bef","name":"isTest","group":{"operator":"AND","conditions":[{"variable":"67802fd7ab7046b8e638050c","operation":"equal","value":"true","isBuiltInVariable":false}]}},"d46c8f73364cd050487a6f88":{"name":"isKarger.com","group":{"operator":"AND","conditions":[{"variable":"_domain","operation":"equal","value":"karger.com","isBuiltInVariable":true}]},"_id":"d46c8f73364cd050487a6f88"},"cb8eacf170179bf9f1babcc5":{"_id":"cb8eacf170179bf9f1babcc5","name":"isStaging","group":{"operator":"OR","conditions":[{"variable":"_url","operation":"starts with","value":"https://kargerrc.silverchair.com/","isBuiltInVariable":true},{"variable":"_url","operation":"starts with","value":"http://kargerrc.silverchair.com/","isBuiltInVariable":true}]}},"a6087b440a64ec00d2e2c6fa":{"name":"Not Pages","group":{"operator":"AND","conditions":[{"variable":"633fbfb61fc0b74475a2252e","operation":"not equal","value":"true","isBuiltInVariable":false}]},"_id":"a6087b440a64ec00d2e2c6fa"},"8dab91e3f6c8936ae303ba4e":{"name":"No SplitView","group":{"operator":"AND","conditions":[{"variable":"f5afd1268663a20e478df849","operation":"not equal","value":"true","isBuiltInVariable":false}]},"_id":"8dab91e3f6c8936ae303ba4e"},"1a42eaa02395ed26655d86a6":{"_id":"1a42eaa02395ed26655d86a6","name":"USA","group":{"operator":"AND","conditions":[{"variable":"_country","operation":"equal","value":"US","isBuiltInVariable":true}]}},"38c177a6ced4e129e0d8ce01":{"name":"isPubgradeFinish","group":{"operator":"AND","conditions":[{"variable":"cf21c466644f117f0d138531","operation":"equal","value":"true","isBuiltInVariable":false}]},"_id":"38c177a6ced4e129e0d8ce01"},"12bc53094efd588993c77354":{"_id":"12bc53094efd588993c77354","name":"isJournal","group":{"operator":"AND","conditions":[{"variable":"9d493996ee2f2481a2919905","operation":"equal","value":"false","isBuiltInVariable":false},{"variable":"48fff8a4457b52a425229d3d","operation":"equal","value":"false","isBuiltInVariable":false},{"variable":"8d8b6584d6090c092ef21738","operation":"equal","value":"false","isBuiltInVariable":false},{"variable":"_url","operation":"does not end with","value":"com/","isBuiltInVariable":true},{"variable":"633fbfb61fc0b74475a2252e","operation":"equal","value":"false","isBuiltInVariable":false}]}},"e2f8af0895ab6ea70ac2836b":{"name":"isBook","group":{"operator":"AND","conditions":[{"variable":"8d8b6584d6090c092ef21738","operation":"equal","value":"true","isBuiltInVariable":false}]},"_id":"e2f8af0895ab6ea70ac2836b"},"ac4e2dcf7015f6f2b6d0c2f7":{"_id":"ac4e2dcf7015f6f2b6d0c2f7","name":"isLandingpage","group":{"operator":"OR","conditions":[{"variable":"_url","operation":"ends with","value":"com/","isBuiltInVariable":true}]}},"ab5af6854f28b3521a5af2e5":{"name":"isIssue","group":{"operator":"AND","conditions":[{"variable":"48fff8a4457b52a425229d3d","operation":"equal","value":"true","isBuiltInVariable":false}]},"_id":"ab5af6854f28b3521a5af2e5"},"3927a0e2fe7fe143e9482472":{"name":"Not EEA or UK","group":{"operator":"AND","conditions":[{"variable":"_isEEAOrUK","operation":"not equal","value":"true","isBuiltInVariable":true}]},"_id":"3927a0e2fe7fe143e9482472"},"519f49bc48ed1694fbb6eca8":{"name":"Is EEA or UK","group":{"operator":"AND","conditions":[{"variable":"_isEEAOrUK","operation":"equal","value":"true","isBuiltInVariable":true}]},"_id":"519f49bc48ed1694fbb6eca8"},"66875beda18bd2934f4f6f55":{"name":"isArticle","group":{"operator":"AND","conditions":[{"variable":"9d493996ee2f2481a2919905","operation":"equal","value":"true","isBuiltInVariable":false}]},"_id":"66875beda18bd2934f4f6f55"},"3ce91493ab698bc13e336a19":{"_id":"3ce91493ab698bc13e336a19","name":"isConsentManagement","group":{"operator":"AND","conditions":[{"variable":"ce33848afa2e448fc84fada5","operation":"equal","value":"true","isBuiltInVariable":false}]}},"071010cf227c0194869e9a94":{"_id":"071010cf227c0194869e9a94","name":"isPubgradeFinishLDB","group":{"operator":"OR","conditions":[{"variable":"cf21c466644f117f0d138531","operation":"equal","value":"true","isBuiltInVariable":false},{"variable":"9d493996ee2f2481a2919905","operation":"equal","value":"false","isBuiltInVariable":false}]}},"09052ac28aa8ff4674bb165e":{"name":"Desktop","group":{"operator":"AND","conditions":[{"variable":"_isMobile","operation":"equal","value":"false","isBuiltInVariable":true}]},"_id":"09052ac28aa8ff4674bb165e"},"f33236723afda498fd20e808":{"name":"Mobile","group":{"operator":"AND","conditions":[{"variable":"_isMobile","operation":"equal","value":"true","isBuiltInVariable":true}]},"_id":"f33236723afda498fd20e808"},"dc769572b5b260cc2b4f298c":{"_id":"dc769572b5b260cc2b4f298c","name":"USA / India","group":{"operator":"OR","conditions":[{"variable":"_country","operation":"equal","value":"IN","isBuiltInVariable":true},{"variable":"_country","operation":"equal","value":"US","isBuiltInVariable":true}]}}},"triggers":{"1306e6077dc528caf1930e72":{"name":"GeoOnReady","conditions":["3927a0e2fe7fe143e9482472"],"event":"Window Ready","_id":"1306e6077dc528caf1930e72"},"2bcf6c8518805b5c3432077d":{"name":"GeoConsentInitialization","conditions":["519f49bc48ed1694fbb6eca8"],"event":"Consent Initialization","_id":"2bcf6c8518805b5c3432077d"},"c0aaa562decb56996b720a16":{"name":"onCustomConsentInitialization","conditions":["3ce91493ab698bc13e336a19"],"event":"Consent Initialization","_id":"c0aaa562decb56996b720a16"},"_onScriptLoad":{"name":"onScriptLoad","_id":"_onScriptLoad","event":"Script Loaded"},"_onReady":{"name":"onReady","_id":"_onReady","event":"Window Ready"},"_onLoad":{"name":"onLoad","_id":"_onLoad","event":"Window Loaded"},"_onConsentInitialization":{"name":"onConsentInitialization","_id":"_onConsentInitialization","event":"Consent Initialization"},"_manualTrigger":{"name":"manualTrigger","_id":"_manualTrigger","event":"Manual event"}},"refreshControls":{"008c568f04d69b021fecfc8a":{"name":"Prebidders","refreshCallsLimit":0,"defaultRefresh":60,"conditions":["dc769572b5b260cc2b4f298c","09052ac28aa8ff4674bb165e"],"rules":[{"type":"BIDDER","value":["doceree"],"seconds":30,"enabled":true},{"type":"BIDDER","value":["lasso"],"seconds":30,"enabled":true},{"type":"BIDDER","value":["adprime"],"seconds":30,"enabled":true}],"_id":"008c568f04d69b021fecfc8a"}}},"prebidSettings":{"config":"//","prebidScript":{"id":"4kcrx6ppj3HERXhac","version":"v8.50.0","modules":["appnexusBidAdapter"],"windowName":"pbjs"},"customBidPool":{"enabled":false,"bidders":{"include":[],"exclude":[]},"codes":{"include":[],"exclude":[]}},"persistentBidCaching":false},"yieldScriptSettings":{"destroyFarUnits":{"enabled":false,"destructionOffset":3500,"restorationOffset":2500},"yieldScriptVersion":{"type":"stable","version":"3.0.16-hotfix.2"},"yieldScriptMode":"PREBID","yieldScript":"","publisherId":"xxxx","spa":{"mode":"history"},"preScript":"var viewportMultiplier = .20;\nvar deviceMultiplier = .50;\nif ((window.innerWidth || document.documentElement.clientWidth) < 992) deviceMultiplier = 1;\nvar viewportHeight = window.innerHeight;\nwindow.ayManagerEnv.customLazyLoadOffset = Math.floor((viewportHeight * viewportMultiplier) * deviceMultiplier);","apsIgnoredAdUnits":{"include":[],"exclude":[]},"prefetchUrls":[],"disableRefreshForDirectCampaign":{"advertiserIds":{"include":[],"exclude":[]},"orderIds":{"include":[],"exclude":[]}},"adSizes":["300x250","728x90","320x50","336x280","300x600","160x600","970x250","320x100","300x50","970x90","250x250","120x600","320x480","360x100","325x508","1000x90","360x300","300x100","468x60","320x320","336x210","800x250","868x250","375x312","980x90","300x1050","580x400","480x320","768x1024","1024x768","320x250"],"lazyTrigger":{"fetchMargin":{"value":"1400","isPercentage":false},"renderMargin":{"value":"1400","isPercentage":false},"mobileScaling":2},"enableTracker":false,"trackerId":"5J2eEFREPWvyxdgWC","trackerConfig":"{\n    \"analytics\": {\n        \"custom\": {\n            \"layout\": null,\n            \"userState\": null,\n            \"custom_1\": null,\n            \"custom_2\": null,\n            \"custom_3\": null,\n            \"custom_4\": null,\n            \"custom_5\": null,\n            \"custom_6\": null,\n            \"custom_7\": null,\n            \"custom_8\": null,\n            \"custom_9\": null\n        },\n        \"integrations\": {\n            \"webAnalytics\": true\n        },\n        \"logUnfilled\": true,\n        \"useHistoryChangeTrigger\": true\n    }\n}","apsConfig":"{}"},"versionInfo":{"versionId":47,"versionName":"AdP 2.1","deployId":"xMJY2ZP28W6KxXHZc","percentage":1,"isSplitTest":false,"isPreview":false,"previewDebug":false,"entityId":"5J2eEFREPWvyxdgWC"},"prebidScriptId":"5J2eEFREPWvyxdgWC.deploy"};
    window.ayManagerEnv.startTime = Date.now();
}
/**
* Assertive Yield - Deployment worker script.
* v1.0.0-6bf4151f
*
* © 2018-2024 Assertive Yield B.V. All Rights Reserved.
*/
!function(){var e,n,i="ayManagerEnv",t=".ay.delivery/manager",r="ay-manager-preview-id",o=RegExp("[\\?&#]".concat(r,"=([^&#]*)"),"i"),a="https://",c=a+"securepubads.g.doubleclick.net/tag/js/gpt.js",s=a+"c.amazon-adsystem.com/aax2/apstag.js";function d(e){return a+e.versionInfo.entityId+t}function l(e){return d(e)+"-script/"}function p(e){if(!e.prebidScriptId)return!1;var n="",i=function(e,n){if(e.yieldScriptSettings.preScript){var i=e.yieldScriptSettings.preScript.match(new RegExp("ayManagerEnv\\.settings\\.experiments(?:\\.".concat(n," ?= ?(.+?)[;\\n]| ?= ?{[^}]+").concat(n,": ?(.+?)[,\\n])")));if(i){var t=i[1]||i[2];if(t){var r=t.toLowerCase();return"true"===r||"false"!==r&&t}}}return null}(e,"bidderPreconnect");return i&&(n+="&bidderPreconnect=true"),l(e)+e.prebidScriptId+"?v="+e.prebidSettings.prebidScript.id+n}function u(e,n,i){try{var t={"-1":"<",0:"=",1:">"}[(0===e.indexOf(i+"-")?-1:0===i.indexOf(e+"-")?1:e.localeCompare(i,void 0,{numeric:!0,sensitivity:"case",caseFirst:"upper"})).toString()];return-1!==n.split("").indexOf(t)}catch(e){return console.error(e),null}}function g(){var e=navigator.userAgent;return e.indexOf("MSIE")>-1||e.indexOf("Trident")>-1}function w(e,n,i){var t=e.replace(/[[]/,"\\[").replace(/[\]]/,"\\]"),r=new RegExp("[\\?&#]"+t+"=([^&#]*)",n?"i":"").exec(i||window.location.href);return null===r?"":decodeURIComponent(r[1].replace(/\+/g," "))}var f=w("aym_debug")||localStorage.getItem("aym_debug")||(null===(e=ayManagerEnv.settings)||void 0===e?void 0:e.versionInfo.isPreview)&&(null===(n=ayManagerEnv.settings)||void 0===n?void 0:n.versionInfo.previewDebug)&&"true"||w("ay_manager_debug")||localStorage.getItem("ay_manager_debug"),v=f?f.split(","):[];window[i].settings&&u(window[i].settings.yieldScriptSettings.yieldScriptVersion.version,">=","2.2.1")&&(window[i].debug={flags:v});var y=v.length,m=g()?"":"background: linear-gradient(-152deg, #100124, #3e007c 75%); border-radius: 3px; color: white; padding: 1px 5px; font-size: .6rem;",h={log:y?window.console.log.bind(window.console,"%cYM",m):function(){},logt:y?function(){for(var e,n=Date.now()-window[i].startTime,t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];r.push(" - time:"),r.push(n),(e=window.console.log).call.apply(e,[window.console,"%cYM",m].concat(r))}:function(){},warn:y?window.console.warn.bind(window.console,"%cYM",m):function(){},error:window.console.error.bind(window.console,"%cYM",m)};function b(e){var n,i,t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=document.createElement("script");r.src=e,r.async=t,n=r,(i=document.getElementsByTagName("script")[0]).parentNode.insertBefore(n,i)}var I=window.googletag=window.googletag||{cmd:[]};I.cmd=I.cmd||[],function(){var e=window[i],n=e.initialized,t=e.isSplitTest,w=e.settings,f=e.entityId;e.startTime;var v=e.cmd;if(null!=w){var y,m=(y=o.exec(window.location.search))&&y[1],S=function(e){for(var n=e+"=",i=document.cookie.split(";"),t=0;t<i.length;t++){for(var r=i[t];" "==r.charAt(0);)r=r.substring(1);if(0==r.indexOf(n))return r.substring(n.length,r.length)}return""}(r),E=m||S;if(E&&w.versionInfo.previewId!==E&&(w.versionInfo.isPreviewMismatch=E.split(".")[0]!==f,!w.versionInfo.isPreviewMismatch))return h.log("Detected preview from ".concat(m?"url":"cookie"," loading...")),void b(function(e){return d(e)+"/"+e.versionInfo.entityId}(w)+"?previewId="+E);if(n)h.warn("Yield Manager - Script loaded more than once!");else{var P,x,M,O,_,j;window[i].initialized=!0,w.versionInfo.isPreviewMiss&&(h.error("Preview not found, falling back to deployment. Preview id: ".concat(E)),P=window.location,x=P.pathname,M=P.search,O=P.hash,_=x+M.replace(o,"").replace(/^&/,"?")+O,window.history.replaceState(null,null,_)),w.versionInfo.isPreviewMismatch&&h.warn("Ignoring detected preview as it's not matching the loaded entity!"),window[i].versionInfo=w.versionInfo,j=w.versionInfo.isPreview?"Preview":t?"Split test":"Deployment",h.log("".concat(j," settings successfully loaded"));try{window[i].settings.experiments=window[i].settings.experiments||{},Function("".concat(w.yieldScriptSettings.preScript))()}catch(G){h.error("Exception when executing the pre-script.",G)}var D=w.yieldScriptSettings,k=D.yieldScriptMode,T=void 0===k?"PREBID":k,Y=D.enableTracker,A=D.trackerId,B=D.trackerConfig;Y&&function(e,n){var i=[];return(!(arguments.length>2&&void 0!==arguments[2])||arguments[2])&&i.push(a+"".concat(e,".ay.delivery/client-v2.js")),n.includes("floor:")&&i.push(a+"".concat(e,".ay.delivery/floorPrice/").concat(e,"/js/floorPrice/linreg.min.js")),n.includes("predict:")&&i.push(a+"".concat(e,".ay.delivery/floorPrice/").concat(e,"/js/floorPrice/linreg_da.min.js")),n.includes("reduction:")&&i.push(a+"".concat(e,".ay.delivery/forest/").concat(e,"/js/bid/forest.min.js")),i}(A,B,!1).forEach((function(e){return b(e)}));var R=I._loaded_;if(u(window[i].settings.yieldScriptSettings.yieldScriptVersion.version,">=","1.6.0")){var L=function(e,n){var i="push";(!(arguments.length>2&&void 0!==arguments[2])||arguments[2])&&e.push===[].push&&(i="unshift"),e[i](n)};L(I.cmd,(function(){var e=R?"ALREADY ":"";h.logt("GOOGLETAG ".concat(e,"LOADED!!")),I._wasInitialLoadDisabled=I.pubads().isInitialLoadDisabled(),I.pubads().disableInitialLoad(),I._display=I.display,I.display=function(e){L(v,(function(){window[i].display(e)}),!1)}}))}if(R||b(c),"PREBID"===T||"BOTH"===T)if(g())h.warn("Yield Manager - Prebid doesn't support IE.");else{var z=p(w);z?b(z):h.error("Yield Manager - No Prebid script detected. Please, upload one.")}if(!window.apstag&&("APS"===T||"BOTH"===T)){function C(e,n){window.apstag._Q.push([e,n])}window.apstag={init:function(){C("i",arguments)},fetchBids:function(){C("f",arguments)},setDisplayBids:function(){},targetingKeys:function(){return[]},dpa:function(){C("di",arguments)},rpa:function(){C("ri",arguments)},upa:function(){C("ui",arguments)},_Q:[]},b(s,!0)}var N={};"IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype||(N.polyfills=!0),b(function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=e.yieldScriptSettings.yieldScriptVersion,t=i.version,r=i.type,o="",a=Object.keys(n);return a.length&&(o="?"+a.map((function(e){return"".concat(e,"=").concat(n[e])})).join("&")),l(e)+"yield-manager-script-v".concat(t,"-").concat("1.0.0"===t?r:"prod").concat(o)}(w,N))}}else h.error('Yield Manager - No deployment found for this "'.concat(f,'" (case-sensitive) EntityId!'))}()}();
