window.optidigitalToolboxCC="NL";window.optidigitalToolboxGdpr=true;var optidigitalSetup = {
    info: {
        publisherId: 49,
        networkId: 21685585667,
        siteId: 243,
        revision: 34
    },
    adSlotsConfig: {
        sideRailsConfig: {},
        adManagerKeyName: "adslot",
        adSlotsDefinitions: [{
            name: "Billboard_1",
            lazyLoadPx: 600,
            refreshDelay: 15000,
            deviceTarget: "desktop",
        }, {
            name: "Content_1",
            lazyLoadPx: 600,
            refreshDelay: 15000,
            deviceTarget: "desktop",
        }, {
            name: "Content_10",
            lazyLoadPx: 600,
            refreshDelay: 15000,
            deviceTarget: "desktop",
        }, {
            name: "Content_11",
            lazyLoadPx: 600,
            refreshDelay: 15000,
            deviceTarget: "desktop",
        }, {
            name: "Content_12",
            lazyLoadPx: 600,
            refreshDelay: 15000,
            deviceTarget: "desktop",
        }, {
            name: "Content_2",
            lazyLoadPx: 600,
            refreshDelay: 15000,
            deviceTarget: "desktop",
        }, {
            name: "Content_3",
            lazyLoadPx: 600,
            refreshDelay: 15000,
            deviceTarget: "desktop",
        }, {
            name: "Content_4",
            lazyLoadPx: 600,
            refreshDelay: 15000,
            deviceTarget: "desktop",
        }, {
            name: "Content_5",
            lazyLoadPx: 600,
            refreshDelay: 15000,
            deviceTarget: "desktop",
        }, {
            name: "Content_6",
            lazyLoadPx: 600,
            refreshDelay: 15000,
            deviceTarget: "desktop",
        }, {
            name: "Content_7",
            lazyLoadPx: 600,
            refreshDelay: 15000,
            deviceTarget: "desktop",
        }, {
            name: "Content_8",
            lazyLoadPx: 600,
            refreshDelay: 15000,
            deviceTarget: "desktop",
        }, {
            name: "Content_9",
            lazyLoadPx: 600,
            refreshDelay: 15000,
            deviceTarget: "desktop",
        }, {
            name: "Content_Native1",
            lazyLoadPx: 600,
            refreshDelay: 15000,
            customSizes: [
                [1, 1]
            ],
            deviceTarget: "desktop",
            adTemplate: "custom",
        }, {
            name: "Content_Native2",
            lazyLoadPx: 600,
            refreshDelay: 15000,
            customSizes: [
                [1, 1]
            ],
            deviceTarget: "desktop",
            adTemplate: "custom",
        }, {
            name: "Content_Native3",
            lazyLoadPx: 600,
            refreshDelay: 15000,
            customSizes: [
                [1, 1]
            ],
            deviceTarget: "desktop",
            adTemplate: "custom",
        }, {
            name: "Content_Native4",
            lazyLoadPx: 600,
            refreshDelay: 15000,
            customSizes: [
                [1, 1]
            ],
            deviceTarget: "desktop",
            adTemplate: "custom",
        }, {
            name: "Content_Native5",
            lazyLoadPx: 600,
            refreshDelay: 15000,
            customSizes: [
                [1, 1]
            ],
            deviceTarget: "desktop",
            adTemplate: "custom",
        }, {
            name: "Desktop_Interstitial",
            lazyLoadPx: 600,
            refreshDelay: 15000,
            deviceTarget: "desktop",
        }, {
            name: "Desktop_Sticky_Bottom",
            lazyLoadPx: 600,
            deviceTarget: "desktop",
            allowAdsOverflow: 0,
        }, {
            name: "Footer_Premium",
            lazyLoadPx: 600,
            deviceTarget: "desktop",
        }, {
            name: "HalfpageAd_1",
            lazyLoadPx: 600,
            refreshDelay: 15000,
            deviceTarget: "desktop",
        }, {
            name: "HalfpageAd_2",
            lazyLoadPx: 600,
            refreshDelay: 15000,
            deviceTarget: "desktop",
        }, {
            name: "Mobile_Interstitial",
            lazyLoadPx: 600,
            refreshDelay: 15000,
        }, {
            name: "Mobile_Native1",
            lazyLoadPx: 600,
            refreshDelay: 15000,
            customSizes: [
                [1, 1]
            ],
            adTemplate: "custom",
        }, {
            name: "Mobile_Native2",
            lazyLoadPx: 600,
            refreshDelay: 15000,
            customSizes: [
                [1, 1]
            ],
            adTemplate: "custom",
        }, {
            name: "Mobile_Native3",
            lazyLoadPx: 600,
            refreshDelay: 15000,
            customSizes: [
                [1, 1]
            ],
            adTemplate: "custom",
        }, {
            name: "Mobile_Native4",
            lazyLoadPx: 600,
            refreshDelay: 15000,
            customSizes: [
                [1, 1]
            ],
            adTemplate: "custom",
        }, {
            name: "Mobile_Native5",
            lazyLoadPx: 600,
            refreshDelay: 15000,
            customSizes: [
                [1, 1]
            ],
            adTemplate: "custom",
        }, {
            name: "Mobile_Pos1",
            lazyLoadPx: 600,
            refreshDelay: 15000,
        }, {
            name: "Mobile_Pos10",
            lazyLoadPx: 600,
            refreshDelay: 15000,
        }, {
            name: "Mobile_Pos11",
            lazyLoadPx: 600,
            refreshDelay: 15000,
        }, {
            name: "Mobile_Pos12",
            lazyLoadPx: 600,
            refreshDelay: 15000,
        }, {
            name: "Mobile_Pos2",
            lazyLoadPx: 600,
            refreshDelay: 15000,
        }, {
            name: "Mobile_Pos3",
            lazyLoadPx: 600,
            refreshDelay: 15000,
        }, {
            name: "Mobile_Pos4",
            lazyLoadPx: 600,
            refreshDelay: 15000,
        }, {
            name: "Mobile_Pos5",
            lazyLoadPx: 600,
            refreshDelay: 15000,
        }, {
            name: "Mobile_Pos6",
            lazyLoadPx: 600,
            refreshDelay: 15000,
        }, {
            name: "Mobile_Pos7",
            lazyLoadPx: 600,
            refreshDelay: 15000,
        }, {
            name: "Mobile_Pos8",
            lazyLoadPx: 600,
            refreshDelay: 15000,
        }, {
            name: "Mobile_Pos9",
            lazyLoadPx: 600,
            refreshDelay: 15000,
        }, {
            name: "Mobile_Sticky_Bottom",
            lazyLoadPx: 600,
            refreshDelay: 20000,
        }, {
            name: "Wallpaper",
            lazyLoadPx: 600,
            refreshDelay: 60000,
            customSizes: [
                [1, 1]
            ],
            deviceTarget: "desktop",
            adTemplate: "custom",
        }, ],
    },
    s2sConfig: {
        directBidders: ['gravity'],
        aliasBidders: {
            appnexus: ['xandr'],
            smartadserver: ['smart']
        },
        triplelift: {
            discount: 0.95,
            adSlots: {
                Mobile_Sticky_Bottom: {
                    inventoryCode: 'OptiDigital_RON_HDX'
                },
                Desktop_Sticky_Bottom: {
                    inventoryCode: 'OptiDigital_RON_HDX'
                },
                Mobile_Pos1: {
                    inventoryCode: 'OptiDigital_RON_Mobile_1'
                },
                Content_1: {
                    inventoryCode: 'OptiDigital_RON_Content'
                },
                HalfpageAd_1: {
                    inventoryCode: 'OptiDigital_RON_HalfPage'
                },
                Billboard_1: {
                    inventoryCode: 'OptiDigital_RON_Billboard'
                }
            },
        },
        rubicon: {
            discount: 0.95,
            adSlots: {
                Mobile_Sticky_Bottom: {
                    accountId: 20336,
                    siteId: 306340,
                    zoneId: 3838888
                },
                Desktop_Sticky_Bottom: {
                    accountId: 20336,
                    siteId: 306340,
                    zoneId: 3838886
                },
                Mobile_Pos1: {
                    accountId: 20336,
                    siteId: 306340,
                    zoneId: 1548562
                },
                Content_1: {
                    accountId: 20336,
                    siteId: 306340,
                    zoneId: 1548550
                },
                HalfpageAd_1: {
                    accountId: 20336,
                    siteId: 306340,
                    zoneId: 1548546
                },
                Billboard_1: {
                    accountId: 20336,
                    siteId: 306340,
                    zoneId: 1548544
                }
            },
        },
        gravity: {
            discount: 0.50,
            adSlots: {
                Mobile_Pos1: {
                    placementId: 19538855
                },
                Content_1: {
                    placementId: 19538844
                },
                HalfpageAd_1: {
                    placementId: 19538841
                },
                Billboard_1: {
                    placementId: 19538839
                }
            },
        },
        criteo: {
            discount: 0.95,
            adSlots: {
                Mobile_Sticky_Bottom: {
                    networkId: 8713,
                    pubid: '100984',
                    publisherSubId: 'slate'
                },
                Desktop_Sticky_Bottom: {
                    networkId: 8713,
                    pubid: '100984',
                    publisherSubId: 'slate'
                },
                Mobile_Pos1: {
                    networkId: 8713,
                    pubid: '100984',
                    publisherSubId: 'slate'
                },
                Content_1: {
                    networkId: 8713,
                    pubid: '100984',
                    publisherSubId: 'slate'
                },
                HalfpageAd_1: {
                    networkId: 8713,
                    pubid: '100984',
                    publisherSubId: 'slate'
                },
                Billboard_1: {
                    networkId: 8713,
                    pubid: '100984',
                    publisherSubId: 'slate'
                }
            },
        },
        smart: {
            discount: 0.92,
            adSlots: {
                Mobile_Sticky_Bottom: {
                    domain: '//prg.smartadserver.com',
                    networkId: 3379,
                    siteId: 339045,
                    pageId: 1186836,
                    formatId: 95922
                },
                Desktop_Sticky_Bottom: {
                    domain: '//prg.smartadserver.com',
                    networkId: 3379,
                    siteId: 339045,
                    pageId: 1186836,
                    formatId: 81992
                },
                Mobile_Pos1: {
                    domain: '//prg.smartadserver.com',
                    networkId: 3379,
                    siteId: 339045,
                    pageId: 1186836,
                    formatId: 79379
                },
                Content_1: {
                    domain: '//prg.smartadserver.com',
                    networkId: 3379,
                    siteId: 339045,
                    pageId: 1186836,
                    formatId: 79369
                },
                HalfpageAd_1: {
                    domain: '//prg.smartadserver.com',
                    networkId: 3379,
                    siteId: 339045,
                    pageId: 1186836,
                    formatId: 79375
                },
                Billboard_1: {
                    domain: '//prg.smartadserver.com',
                    networkId: 3379,
                    siteId: 339045,
                    pageId: 1186836,
                    formatId: 79366
                }
            },
        },
        adyoulike: {
            discount: 0.95,
            adSlots: {
                Mobile_Pos1: {
                    placement: '38e101361858a395bcc58907a1aa9f8e'
                },
                Content_1: {
                    placement: 'af1c0a506f5212c94a8e7172e4cabaee'
                },
                HalfpageAd_1: {
                    placement: 'fb01227dccf13dfac7aebd506e3b4bcc'
                },
                Billboard_1: {
                    placement: '108db029e2bcbf15386b3834f508a0cd'
                }
            },
        },
        pubmatic: {
            discount: 0.95,
            adSlots: {
                Mobile_Sticky_Bottom: {
                    publisherId: '158939',
                    currency: 'EUR',
                    adSlot: '3401841'
                },
                Desktop_Sticky_Bottom: {
                    publisherId: '158939',
                    currency: 'EUR',
                    adSlot: '3401834'
                },
                Mobile_Pos1: {
                    publisherId: '158939',
                    currency: 'EUR',
                    adSlot: '3401835'
                },
                Content_1: {
                    publisherId: '158939',
                    currency: 'EUR',
                    adSlot: '3401829'
                },
                HalfpageAd_1: {
                    publisherId: '158939',
                    currency: 'EUR',
                    adSlot: '3401827'
                },
                Billboard_1: {
                    publisherId: '158939',
                    currency: 'EUR',
                    adSlot: '3401826'
                }
            },
        },
        xandr: {
            discount: 0.95,
            adSlots: {
                Mobile_Sticky_Bottom: {
                    placementId: 20141304
                },
                Desktop_Sticky_Bottom: {
                    placementId: 20141295
                },
                Mobile_Pos1: {
                    placementId: 20141296
                },
                Content_1: {
                    placementId: 20141273
                },
                HalfpageAd_1: {
                    placementId: 20141263
                },
                Billboard_1: {
                    placementId: 20141262
                }
            },
        },
        outbrain: {
            discount: 0.90,
            adSlots: {
                Mobile_Sticky_Bottom: {
                    publisherId: '007d898d461a82259b86ba2c6d1bf8733c'
                },
                Desktop_Sticky_Bottom: {
                    publisherId: '007d898d461a82259b86ba2c6d1bf8733c'
                },
                Mobile_Pos1: {
                    publisherId: '007d898d461a82259b86ba2c6d1bf8733c'
                },
                Content_1: {
                    publisherId: '007d898d461a82259b86ba2c6d1bf8733c'
                },
                HalfpageAd_1: {
                    publisherId: '007d898d461a82259b86ba2c6d1bf8733c'
                },
                Billboard_1: {
                    publisherId: '007d898d461a82259b86ba2c6d1bf8733c'
                }
            },
        },
        optidigital: {
            discount: 0.99,
            adSlots: {
                Mobile_Sticky_Bottom: {
                    status: '1'
                },
                Desktop_Sticky_Bottom: {
                    status: '1'
                },
                Mobile_Pos1: {
                    status: '1'
                },
                Content_1: {
                    status: '1'
                },
                HalfpageAd_1: {
                    status: '1'
                },
                Billboard_1: {
                    status: '1'
                }
            },
        },
    },
    sourceDomains: ["slate.fr", "www.slate.fr", "korii.slate.fr"],
    advertisers: {
        prebid: [4834864971, 4838752022],
        adx: [4836171745],
        amazon: [4843174008, 4868605604, 5172090145]
    },
    timeouts: {
        failsafe: 34000,
        lazyLoadPxInterval: 300
    },
    stickyAdConfiguration: {
        zIndex: '1000',
        adCloseTop: '-24'
    },
    enableLimitedAds: true,
    adLayoutEnabled: true,
    adUnitError: "/21685585667/korii.slate.fr/error",
    publisherInitStart: function(initConfig) {
        if (odT.screen === "Desktop") {
            let css = document.createElement('style');
            css.type = 'text/css';
            let styles = '.Content_Native1 {margin-top: auto!important; margin-bottom: auto!important;} .Content_Native2 {margin-top: auto!important; margin-bottom: auto!important;} .Content_Native3 {margin-top: auto!important; margin-bottom: auto!important;}.Content_Native4 {margin-top: auto!important; margin-bottom: auto!important;} .Content_Native5 {margin-top: auto!important; margin-bottom: auto!important;} '
            css.appendChild(document.createTextNode(styles));
            document.getElementsByTagName("head")[0].appendChild(css);
        }
    },
};
window.odTLibs={"odas":"2.0.8","odpbjs":"9.35.0_g","odlauncher":"5.1.96","odcore":"4.1.21"};var i={d:(t,o)=>{for(var e in o)i.o(o,e)&&!i.o(t,e)&&Object.defineProperty(t,e,{enumerable:!0,get:o[e]})},o:(i,t)=>Object.prototype.hasOwnProperty.call(i,t)},t={};i.d(t,{Ay:()=>a,Sf:()=>o,Fz:()=>e});Array.isArray.bind(Array);window.optidigitalSetup="undefined"!=typeof optidigitalSetup?optidigitalSetup:{};const o=window.odT,e=window.odTC,a=new class{constructor(){window&&window.odTagLoader||"object"==typeof window.optidigitalSetup&&0!==Object.keys(window.optidigitalSetup).length&&(window.odTagStartTime=new Date,window.odTagLoader=!0,window.optidigitalPFconfig={},window.dDevice="30001",window.dNR=1,window.fullPackage="",window.iasPackage="",!document.querySelectorAll('script[src="https://securepubads.g.doubleclick.net/tag/js/gpt.js"]').length>0&&this.loadGPT(),this.setDnr(),this.setDeviceDetection(),this.loadLauncher(),this.loadOyConfig(),""!==window.fullPackage&&this.loadCoreConfig())}setDnr(){let i=navigator.userAgent.toLowerCase();-1!=i.indexOf("safari")?-1==i.indexOf("chrome")&&(window.dNR=0):-1!=i.indexOf("firefox")&&(window.dNR=0)}setDeviceDetection(){if(function(){let i=!1;var t;return t=navigator.userAgent||navigator.vendor||window.opera,(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(t)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(t.substr(0,4)))&&(i=!0),i}())!function(){let i=!1;var t;return t=navigator.userAgent||navigator.vendor||window.opera,(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i.test(t)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(t.substr(0,4)))&&(i=!0),i}()?window.dDevice="30002":window.dDevice="30001";else{const i=window.top?window.top.document.documentElement.clientWidth<768?"Mobile":"Desktop":document.documentElement.clientWidth<768?"Mobile":"Desktop";window.dDevice="Mobile"===i?"30001":"30000"}if("object"==typeof window.top.location&&window.top.location.hasOwnProperty("search")){const i=window.top.location.search;i.includes("optidigital_testgroup=control")&&(window.optidigitalSetup.forceTestGroup="control"),(i.includes("optidigital_testgroup=test")||1==window.optidigital_forcetest)&&(window.optidigitalSetup.forceTestGroup="test")}if(window.optidigitalSetup.hasOwnProperty("abTestConfig")&&window.optidigitalSetup.abTestConfig.hasOwnProperty("sampling")){"control"===window.optidigitalSetup.forceTestGroup&&(window.optidigitalSetup.abTestConfig.sampling=0),"test"===window.optidigitalSetup.forceTestGroup&&(window.optidigitalSetup.abTestConfig.sampling=100),window.optidigitalSetup.groupRandom=Math.floor(Math.random()*Math.floor(100));const i=window.optidigitalSetup.abTestConfig.sampling;window.optidigitalSetup.groupRandom<window.optidigitalSetup.abTestConfig.sampling&&window.optidigitalSetup.abTestConfig.hasOwnProperty("embed")&&"object"==typeof optidigitalSetupTest&&(window.optidigitalSetup=optidigitalSetupTest,window.optidigitalSetup.testGroup="test",window.optidigitalSetup.sampling=i)}window.optidigitalSetup.fullPackageDesktop&&"30000"===window.dDevice||window.optidigitalSetup.fullPackageMobile&&"30000"!==window.dDevice?window.fullPackage="-f":window.optidigitalSetup.iasId?window.iasPackage="-ias":window.fullPackage=""}loadOyConfig(){if(!window.optidigitalSetup?.info?.odNetworkId&&!window.optidigitalSetup?.info?.networkId)return;let i=window.optidigitalSetup.info.hasOwnProperty("odNetworkId")&&window.optidigitalSetup.info.odNetworkId?window.optidigitalSetup.info.odNetworkId:window.optidigitalSetup.info.networkId;const t=`https://optiyield-data.opti-digital.com/pfc/web/config?pubid=${i}&device=${window.dDevice}&domain=${window.location.hostname}&nr=${window.dNR}&country=${window.optidigitalToolboxCC}`,o=new XMLHttpRequest;o.open("GET",t,!0),o.onreadystatechange=function(){if(4==this.readyState&&200==this.status){let t=JSON.parse(this.responseText);window.optidigitalPFconfig=t,window.optiyield&&!1===window.optiyield._ready&&"function"==typeof window.optiyield._0i4n3i2t&&(window.optiyield._0i4n3i2t(i,window.optidigitalPFconfig,window.optidigitalPFconfig.country),window.optiyield.cmd.push((function(){let t={pubId:i,mode:"manual"};""!==window.optidigitalSetup?.adSlotsConfig?.adManagerKeyName&&(t.gtpCustomDimensionKey={cd1:window.optidigitalSetup?.adSlotsConfig?.adManagerKeyName?window.optidigitalSetup.adSlotsConfig.adManagerKeyName:"adslot"}),window.optiyield.init(t),window.optiyield.setGptFloors()})))}},o.send()}async loadLauncher(){let i=document.getElementById("optidigital-ad-init"),t=`https://scripts.opti-digital.com/lib/?site=${new URLSearchParams(i.src.split("?")[1]).get("site")}&lib=launcher&v=${odTLibs.odlauncher}${window.iasPackage?window.iasPackage:window.fullPackage}`;if(window.fullPackage||window.iasPackage)await import(t);else{const{default:i}=await import(t);new i}}loadCoreConfig(){let i=document.getElementById("optidigital-ad-init"),t=`https://scripts.opti-digital.com/tags/?lib=corev2_c&site=${new URLSearchParams(i.src.split("?")[1]).get("site")}${"test"===window.optidigitalSetup.testGroup?"&test=true":""}`,o=document.createElement("link");o.rel="preload",o.as="script",o.href=t;let e=document.createElement("script");e.async=!0,e.type="text/javascript",e.src=t;var a=document.getElementsByTagName("script")[0];a.parentNode.insertBefore(o,a),o.after(e),e.onload=function(){"object"==typeof window.odTC&&"object"==typeof window.odT&&window.odT.layoutReady&&window.odT.CMPready&&window.odTC.start()}}loadGPT(){var i=document.createElement("link");i.rel="preload",i.as="script",i.href="https://securepubads.g.doubleclick.net/tag/js/gpt.js";var t=document.getElementsByTagName("script")[0];t.parentNode.insertBefore(i,t);let o=document.createElement("script");o.async=!0,o.type="text/javascript",o.src=i.href,i.after(o)}};var n=t.Ay,d=t.Sf,p=t.Fz;export{n as default,d as odT,p as odTC};