window.optidigitalToolboxCC="US";var optidigitalSetup = {
    abTestConfig: {
        sampling: 50,
        embed: true
    },
    info: {
        publisherId: 34,
        networkId: 21883197849,
        siteId: 466,
        revision: 116,
        sellerId: 466
    },
    enableOdas: ['ko'],
    adSlotsConfig: {
        sideRailsConfig: {},
        adManagerKeyName: "adslot",
        adSlotsDefinitions: [{
            name: "Billboard_1",
            clsMaxHeight: 256,
            odZoneId: 13244,
            odSize: [970, 250],
            deviceTarget: "desktop",
            multiFormat: {
                banner: {
                    size: [
                        [1, 1]
                    ]
                }
            },
        }, {
            name: "Billboard_2",
            odZoneId: 13278,
            odSize: [970, 250],
            deviceTarget: "desktop",
            multiFormat: {
                banner: {}
            },
        }, {
            name: "Billboard_TV",
            lazyLoadPx: 600,
            refreshDelay: 60000,
            deviceTarget: "desktop",
            multiFormat: {
                banner: {}
            },
        }, {
            name: "Content_1",
            clsMaxHeight: 250,
            odZoneId: 13254,
            odSize: [336, 280],
            deviceTarget: "desktop",
            multiFormat: {
                banner: {
                    minMaxSizes: [0, 672, 0, 300]
                }
            },
        }, {
            name: "Content_10",
            clsMaxHeight: 250,
            odZoneId: 18574,
            odSize: [336, 280],
            deviceTarget: "desktop",
            multiFormat: {
                banner: {
                    minMaxSizes: [0, 672, 0, 300]
                }
            },
        }, {
            name: "Content_11",
            clsMaxHeight: 250,
            odZoneId: 18576,
            odSize: [336, 280],
            deviceTarget: "desktop",
            multiFormat: {
                banner: {
                    minMaxSizes: [0, 672, 0, 300]
                }
            },
        }, {
            name: "Content_12",
            clsMaxHeight: 250,
            odZoneId: 18578,
            odSize: [336, 280],
            deviceTarget: "desktop",
            multiFormat: {
                banner: {
                    minMaxSizes: [0, 672, 0, 300]
                }
            },
        }, {
            name: "Content_13",
            clsMaxHeight: 250,
            odZoneId: 18580,
            odSize: [336, 280],
            deviceTarget: "desktop",
            multiFormat: {
                banner: {
                    minMaxSizes: [0, 672, 0, 300]
                }
            },
        }, {
            name: "Content_14",
            clsMaxHeight: 250,
            odZoneId: 18582,
            odSize: [336, 280],
            deviceTarget: "desktop",
            multiFormat: {
                banner: {
                    minMaxSizes: [0, 672, 0, 300]
                }
            },
        }, {
            name: "Content_15",
            clsMaxHeight: 250,
            odZoneId: 18584,
            odSize: [336, 280],
            deviceTarget: "desktop",
            multiFormat: {
                banner: {
                    minMaxSizes: [0, 672, 0, 300]
                }
            },
        }, {
            name: "Content_2",
            clsMaxHeight: 250,
            odZoneId: 13256,
            odSize: [336, 280],
            deviceTarget: "desktop",
            multiFormat: {
                banner: {
                    minMaxSizes: [0, 672, 0, 300]
                }
            },
        }, {
            name: "Content_3",
            clsMaxHeight: 250,
            odZoneId: 13258,
            odSize: [336, 280],
            deviceTarget: "desktop",
            multiFormat: {
                banner: {
                    minMaxSizes: [0, 672, 0, 300]
                }
            },
        }, {
            name: "Content_4",
            clsMaxHeight: 250,
            odZoneId: 13280,
            odSize: [336, 280],
            deviceTarget: "desktop",
            multiFormat: {
                banner: {
                    minMaxSizes: [0, 672, 0, 300]
                }
            },
        }, {
            name: "Content_5",
            clsMaxHeight: 250,
            odZoneId: 13282,
            odSize: [336, 280],
            deviceTarget: "desktop",
            multiFormat: {
                banner: {
                    minMaxSizes: [0, 672, 0, 300]
                }
            },
        }, {
            name: "Content_6",
            clsMaxHeight: 250,
            odZoneId: 13284,
            odSize: [336, 280],
            deviceTarget: "desktop",
            multiFormat: {
                banner: {
                    minMaxSizes: [0, 672, 0, 300]
                }
            },
        }, {
            name: "Content_7",
            clsMaxHeight: 250,
            odZoneId: 13290,
            odSize: [336, 280],
            deviceTarget: "desktop",
            multiFormat: {
                banner: {
                    minMaxSizes: [0, 672, 0, 300]
                }
            },
        }, {
            name: "Content_8",
            clsMaxHeight: 250,
            odZoneId: 13292,
            odSize: [336, 280],
            deviceTarget: "desktop",
            multiFormat: {
                banner: {
                    minMaxSizes: [0, 672, 0, 300]
                }
            },
        }, {
            name: "Content_9",
            clsMaxHeight: 250,
            odZoneId: 18572,
            odSize: [336, 280],
            deviceTarget: "desktop",
            multiFormat: {
                banner: {
                    minMaxSizes: [0, 672, 0, 300]
                }
            },
        }, {
            name: "Content_Bottom",
            clsMaxHeight: 250,
            odZoneId: 13260,
            odSize: [336, 280],
            deviceTarget: "desktop",
            multiFormat: {
                banner: {
                    minMaxSizes: [0, 672, 0, 300]
                }
            },
        }, {
            name: "Desktop_Interstitial",
            lazyLoadPx: 600,
            refreshDelay: 60000,
            odZoneId: 13754,
            odSize: [300, 250],
            deviceTarget: "desktop",
            multiFormat: {
                banner: {}
            },
        }, {
            name: "Desktop_Sticky_Bottom",
            lazyLoadPx: 600,
            odZoneId: 15484,
            odSize: [728, 90],
            deviceTarget: "desktop",
            multiFormat: {
                banner: {}
            },
        }, {
            name: "HalfpageAd_1",
            odZoneId: 13246,
            odSize: [300, 600],
            deviceTarget: "desktop",
            multiFormat: {
                banner: {}
            },
        }, {
            name: "HalfpageAd_1_Telecharger",
            lazyLoadPx: 600,
            odZoneId: 15486,
            odSize: [300, 250],
            deviceTarget: "desktop",
            multiFormat: {
                banner: {}
            },
        }, {
            name: "HalfpageAd_2",
            odZoneId: 13248,
            odSize: [300, 600],
            deviceTarget: "desktop",
            multiFormat: {
                banner: {}
            },
        }, {
            name: "HalfpageAd_3",
            odZoneId: 15366,
            odSize: [300, 600],
            deviceTarget: "desktop",
            multiFormat: {
                banner: {}
            },
        }, {
            name: "HalfpageAd_4",
            status: 0,
        }, {
            name: "HalfpageAd_Home",
            odZoneId: 13738,
            odSize: [300, 600],
            deviceTarget: "desktop",
            multiFormat: {
                banner: {}
            },
        }, {
            name: "HalfpageAd_Side",
            odZoneId: 13736,
            odSize: [160, 600],
            deviceTarget: "desktop",
            multiFormat: {
                banner: {}
            },
        }, {
            name: "Leaderboard_1",
            status: 0,
        }, {
            name: "Leaderboard_2",
            status: 0,
        }, {
            name: "Mobile_Bottom",
            lazyLoadPx: 600,
            odZoneId: 13274,
            odSize: [300, 250],
            multiFormat: {
                banner: {}
            },
        }, {
            name: "Mobile_Interstitial",
            lazyLoadPx: 600,
            refreshDelay: 60000,
            odZoneId: 13752,
            odSize: [300, 250],
            multiFormat: {
                banner: {}
            },
        }, {
            name: "Mobile_Pos1",
            lazyLoadPx: 600,
            odZoneId: 13262,
            odSize: [336, 280],
            multiFormat: {
                banner: {}
            },
        }, {
            name: "Mobile_Pos10",
            lazyLoadPx: 600,
            odZoneId: 18588,
            odSize: [336, 280],
            multiFormat: {
                banner: {}
            },
        }, {
            name: "Mobile_Pos11",
            lazyLoadPx: 600,
            odZoneId: 18590,
            odSize: [336, 280],
            multiFormat: {
                banner: {}
            },
        }, {
            name: "Mobile_Pos12",
            lazyLoadPx: 600,
            odZoneId: 18592,
            odSize: [336, 280],
            multiFormat: {
                banner: {}
            },
        }, {
            name: "Mobile_Pos13",
            lazyLoadPx: 600,
            odZoneId: 18594,
            odSize: [336, 280],
            multiFormat: {
                banner: {}
            },
        }, {
            name: "Mobile_Pos14",
            lazyLoadPx: 600,
            odZoneId: 18596,
            odSize: [336, 280],
            multiFormat: {
                banner: {}
            },
        }, {
            name: "Mobile_Pos15",
            lazyLoadPx: 600,
            odZoneId: 18598,
            odSize: [336, 280],
            multiFormat: {
                banner: {}
            },
        }, {
            name: "Mobile_Pos2",
            lazyLoadPx: 600,
            odZoneId: 13264,
            odSize: [336, 280],
            multiFormat: {
                banner: {}
            },
        }, {
            name: "Mobile_Pos3",
            lazyLoadPx: 600,
            odZoneId: 13266,
            odSize: [336, 280],
            multiFormat: {
                banner: {}
            },
        }, {
            name: "Mobile_Pos4",
            lazyLoadPx: 600,
            odZoneId: 13268,
            odSize: [336, 280],
            multiFormat: {
                banner: {}
            },
        }, {
            name: "Mobile_Pos5",
            lazyLoadPx: 600,
            odZoneId: 13270,
            odSize: [336, 280],
            multiFormat: {
                banner: {}
            },
        }, {
            name: "Mobile_Pos6",
            lazyLoadPx: 600,
            odZoneId: 13272,
            odSize: [336, 280],
            multiFormat: {
                banner: {}
            },
        }, {
            name: "Mobile_Pos7",
            lazyLoadPx: 600,
            odZoneId: 13286,
            odSize: [336, 280],
            multiFormat: {
                banner: {}
            },
        }, {
            name: "Mobile_Pos8",
            lazyLoadPx: 600,
            odZoneId: 13288,
            odSize: [336, 280],
            multiFormat: {
                banner: {}
            },
        }, {
            name: "Mobile_Pos9",
            lazyLoadPx: 600,
            odZoneId: 18586,
            odSize: [336, 280],
            multiFormat: {
                banner: {}
            },
        }, {
            name: "Mobile_Pos_Mini_1",
            lazyLoadPx: 600,
            clsMaxHeight: 80,
            odZoneId: 13728,
            odSize: [320, 100],
            multiFormat: {
                banner: {}
            },
        }, {
            name: "Mobile_Pos_Mini_2",
            lazyLoadPx: 600,
            clsMaxHeight: 80,
            odZoneId: 13730,
            odSize: [320, 100],
            multiFormat: {
                banner: {}
            },
        }, {
            name: "Mobile_Pos_Mini_3",
            lazyLoadPx: 600,
            clsMaxHeight: 80,
            odZoneId: 13732,
            odSize: [320, 100],
            multiFormat: {
                banner: {}
            },
        }, {
            name: "Mobile_Pos_Mini_4",
            lazyLoadPx: 600,
            clsMaxHeight: 80,
            odZoneId: 13734,
            odSize: [320, 100],
            multiFormat: {
                banner: {}
            },
        }, {
            name: "Mobile_Sticky_Bottom",
            lazyLoadPx: 600,
            refreshDelay: 20000,
            odZoneId: 13276,
            odSize: [320, 100],
            multiFormat: {
                banner: {}
            },
        }, {
            name: "Mobile_Sticky_Top",
            status: 0,
        }, {
            name: "Mobile_Top",
            lazyLoadPx: 600,
            odZoneId: 19238,
            odSize: [320, 100],
            multiFormat: {
                banner: {
                    minMaxSizes: [0, 0, 0, 80],
                    size: [
                        [320, 50],
                        [300, 50],
                        [320, 80],
                        [300, 80]
                    ]
                }
            },
        }, {
            name: "Rectangle_1",
            clsMaxHeight: 250,
            odZoneId: 13250,
            odSize: [300, 250],
            deviceTarget: "desktop",
            multiFormat: {
                banner: {}
            },
        }, {
            name: "Rectangle_2",
            clsMaxHeight: 250,
            odZoneId: 13252,
            odSize: [300, 250],
            deviceTarget: "desktop",
            multiFormat: {
                banner: {}
            },
        }, {
            name: "Wallpaper",
            lazyLoadPx: 600,
            refreshDelay: 60000,
            deviceTarget: "desktop",
            multiFormat: {
                banner: {}
            },
        }, ],
    },
    prebidSafeframe: {
        status: 'enabled',
        bidders: ['xandr', 'criteo_odd', 'rubicon', 'pubmatic_odd', 'triplelift', 'richaudience', 'smilewanted', 'ix', 'seedtag', 'outbrain', 'optidigital', 'ttd']
    },
    directBidders: ['amazon'],
    s2sConfig: {
        aliasBidders: {
            appnexus: ['xandr'],
            pubmatic: ['pubmatic_odd'],
            criteo: ['criteo_odd']
        },
        rubicon: {
            discount: 0.95,
            adSlots: {
                Mobile_Sticky_Bottom: {
                    accountId: 20336,
                    siteId: 525920,
                    zoneId: 3176126
                },
                Mobile_Pos1: {
                    accountId: 20336,
                    siteId: 525920,
                    zoneId: 3176072
                },
                Desktop_Sticky_Bottom: {
                    accountId: 20336,
                    siteId: 525920,
                    zoneId: 3176048
                },
                Content_1: {
                    accountId: 20336,
                    siteId: 525920,
                    zoneId: 3176014
                },
                HalfpageAd_1: {
                    accountId: 20336,
                    siteId: 525920,
                    zoneId: 3176058
                },
                Billboard_1: {
                    accountId: 20336,
                    siteId: 525920,
                    zoneId: 3176008
                }
            },
        },
        outbrain: {
            discount: 0.90,
            adSlots: {
                Mobile_Sticky_Bottom: {
                    publisherId: '007d898d461a82259b86ba2c6d1bf8733c'
                },
                Mobile_Pos1: {
                    publisherId: '007d898d461a82259b86ba2c6d1bf8733c'
                },
                Desktop_Sticky_Bottom: {
                    publisherId: '007d898d461a82259b86ba2c6d1bf8733c'
                },
                Content_1: {
                    publisherId: '007d898d461a82259b86ba2c6d1bf8733c'
                },
                HalfpageAd_1: {
                    publisherId: '007d898d461a82259b86ba2c6d1bf8733c'
                },
                Billboard_1: {
                    publisherId: '007d898d461a82259b86ba2c6d1bf8733c'
                }
            },
        },
        triplelift: {
            discount: 0.95,
            adSlots: {
                Mobile_Sticky_Bottom: {
                    inventoryCode: 'OptiDigital_RON_HDX'
                },
                Mobile_Pos1: {
                    inventoryCode: 'OptiDigital_RON_Mobile_1'
                },
                Desktop_Sticky_Bottom: {
                    inventoryCode: 'OptiDigital_RON_HDX'
                },
                Content_1: {
                    inventoryCode: 'OptiDigital_RON_Content'
                },
                HalfpageAd_1: {
                    inventoryCode: 'OptiDigital_RON_HalfPage'
                },
                Billboard_1: {
                    inventoryCode: 'OptiDigital_RON_Billboard'
                }
            },
        },
        xandr: {
            discount: 0.95,
            adSlots: {
                Mobile_Sticky_Bottom: {
                    placementId: 26090771
                },
                Mobile_Pos1: {
                    placementId: 26090763
                },
                Desktop_Sticky_Bottom: {
                    placementId: 27530725
                },
                Content_1: {
                    placementId: 26090726
                },
                HalfpageAd_1: {
                    placementId: 26090754
                },
                Billboard_1: {
                    placementId: 26090736
                }
            },
        },
        optidigital: {
            discount: 0.99,
            adSlots: {
                Mobile_Sticky_Bottom: {
                    status: '1'
                },
                Mobile_Pos1: {
                    status: '1'
                },
                Desktop_Sticky_Bottom: {
                    status: '1'
                },
                Content_1: {
                    status: '1'
                },
                HalfpageAd_1: {
                    status: '1'
                },
                Billboard_1: {
                    status: '1'
                }
            },
        },
        ix: {
            discount: 0.95,
            adSlots: {
                Mobile_Sticky_Bottom: {
                    siteId: '1189710'
                },
                Mobile_Pos1: {
                    siteId: '1189711'
                },
                Desktop_Sticky_Bottom: {
                    siteId: '1189721'
                },
                Content_1: {
                    siteId: '1189725'
                },
                HalfpageAd_1: {
                    siteId: '1189723'
                },
                Billboard_1: {
                    siteId: '1189722'
                }
            },
        },
        ttd: {
            discount: 0.95,
            adSlots: {
                Mobile_Sticky_Bottom: {
                    supplySourceId: 'direct5b94jvza',
                    publisherId: '1'
                },
                Mobile_Pos1: {
                    supplySourceId: 'direct5b94jvza',
                    publisherId: '1'
                },
                Desktop_Sticky_Bottom: {
                    supplySourceId: 'direct5b94jvza',
                    publisherId: '1'
                },
                Content_1: {
                    supplySourceId: 'direct5b94jvza',
                    publisherId: '1'
                },
                HalfpageAd_1: {
                    supplySourceId: 'direct5b94jvza',
                    publisherId: '1'
                },
                Billboard_1: {
                    supplySourceId: 'direct5b94jvza',
                    publisherId: '1'
                }
            },
        },
        pubmatic_odd: {
            discount: 0.90,
            adSlots: {
                Mobile_Sticky_Bottom: {
                    publisherId: '167116',
                    adSlot: '7244799'
                },
                Mobile_Pos1: {
                    publisherId: '167116',
                    adSlot: '7244801'
                },
                Content_1: {
                    publisherId: '167116',
                    adSlot: '7244751'
                },
                HalfpageAd_1: {
                    publisherId: '167116',
                    adSlot: '7244753'
                },
                Billboard_1: {
                    publisherId: '167116',
                    adSlot: '7244749'
                }
            },
        },
        criteo_odd: {
            discount: 0.95,
            adSlots: {
                Mobile_Sticky_Bottom: {
                    networkId: 8713,
                    pubid: '111060'
                },
                Mobile_Pos1: {
                    networkId: 8713,
                    pubid: '111060'
                },
                Desktop_Sticky_Bottom: {
                    networkId: 8713,
                    pubid: '111060'
                },
                Content_1: {
                    networkId: 8713,
                    pubid: '111060'
                },
                HalfpageAd_1: {
                    networkId: 8713,
                    pubid: '111060'
                },
                Billboard_1: {
                    networkId: 8713,
                    pubid: '111060'
                }
            },
        },
    },
    sourceDomains: [],
    advertisers: {
        adx: [4822883731],
        prebid: [4823062502, 4823062532],
        amazon: [4824245201, 4925493032, 5090691821]
    },
    timeouts: {
        failsafe: 34000,
        lazyLoadPxInterval: 300
    },
    stickyAdConfiguration: {
        zIndex: '10000',
        adCloseTop: '-24',
        disableDesktop: true
    },
    enableLimitedAds: true,
    liveAnalyticsSampling: 100,
    fullPackageDesktop: true,
    fullPackageMobile: true,
    adLayoutEnabled: true,
    adLayoutConfig: {
        optidigitalBrand: false,
        logoLoading: {
            'background-image': "url('https://scripts.opti-digital.com/assets/466/logo.svg')",
            'background-size': '100px 100px'
        },
        adDivWidthDesktop: 'auto'
    },
    adUnitError: "/21883197849/01net.com/error",
    sspList: "adagio,rubicon,smartadserver,pubmatic,criteo,appnexus,triplelift,outbrain,onetag,ix,ogury,adyoulike,ttd",
    publisherInit: function(initConfig) {

        window.odT = window.odT || {};
        window.odT.setup = window.odT.setup || {};
        const ODS = window.odT.setup;

        ODS.directBidders = ODS.directBidders || [];
        ODS.directBidders.push("pubmatic_odd");
        ODS.directBidders.push("criteo_odd");
        ODS.s2sConfig = ODS.s2sConfig || {};
        ODS.s2sConfig.directBidders = ODS.s2sConfig.directBidders || [];
        ODS.s2sConfig.directBidders.push("pubmatic_odd");
        ODS.s2sConfig.directBidders.push("criteo_odd");

        ODS.advertisers = ODS.advertisers || {};
        ODS.advertisers.house = [5764662423];
        ODS.backfillReplaceHouse = true;

        ODS.stickyAdConfiguration = ODS.stickyAdConfiguration || {};


        if (window.location.pathname.indexOf("/telecharger/bureautique/") != -1)
            optidigitalToolbox.initConfig.adUnit = "/21883197849/01net.com/telecharger-bureautique";
        if (window.location.pathname.indexOf("/telecharger/securite/") != -1)
            optidigitalToolbox.initConfig.adUnit = "/21883197849/01net.com/telecharger-securite";
        if (window.location.pathname.indexOf("/telecharger/internet/") != -1)
            optidigitalToolbox.initConfig.adUnit = "/21883197849/01net.com/telecharger-internet";
        if (initConfig.adUnit.indexOf("/21883197849/01net.com/telecharger") != -1) {
            ODS.stickyAdConfiguration.modeMobile = "sticky-bottom";
            ODS.stickyAdConfiguration.stickyAdTopTriggerMobile = 150;
        }
        if (optidigitalToolbox.initConfig.hasOwnProperty("pageTargeting") &&
            optidigitalToolbox.initConfig.pageTargeting.hasOwnProperty("nos") &&
            (optidigitalToolbox.initConfig.pageTargeting.nos == 1 || optidigitalToolbox.initConfig.pageTargeting.nos == "1")
        ) {
            ODS.stickyAdConfiguration.disableDesktop = true;
            ODS.stickyAdConfiguration.disableMobile = true;
        }
        optidigitalToolbox.registerEventCallback(function(type, data) {
            if (type == "ADSLOT_FILLED" && data.adslot.name == "Billboard_1" && data.adslot.size == "1x1") {
                var divWrapper = document.getElementById("optidigital-adslot-Billboard_1").parentNode;
                divWrapper.parentNode.removeChild(divWrapper);
            }
        });
        if (
            initConfig.adUnit.indexOf("/21883197849/01net.com/telecharger") == -1 &&
            initConfig.adUnit.indexOf("/21883197849/01net.com/telechargement") == -1
        ) {
            optidigitalToolbox.setup.adSlotsConfig.disableDesktopInterstitial = true;
            optidigitalToolbox.setup.adSlotsConfig.disableMobileInterstitial = true;
        } else {
            optidigitalToolbox.setup.adSlotsConfig.disableDesktopInterstitial = false;
            optidigitalToolbox.setup.adSlotsConfig.disableMobileInterstitial = false;
        }
        if (initConfig.adUnit.indexOf("/21883197849/01net.com/telecharger") != -1) {
            var eltTarget = document.querySelector("#body");
            if (eltTarget) {
                var d = document.createElement("div");
                d.setAttribute("id", "optidigital-adslot-Billboard_1");
                d.setAttribute("style", "display: none;");
                d.setAttribute("class", "Billboard_1");
                eltTarget.insertBefore(d, eltTarget.firstChild);
            }
            eltTarget = document.querySelector("#ig-code-promo-widget");
            if (eltTarget) {
                var d = document.createElement("div");
                d.setAttribute("id", "optidigital-adslot-HalfpageAd_1");
                d.setAttribute("style", "display: none;");
                d.setAttribute("class", "HalfpageAd_1");
                eltTarget.parentNode.insertBefore(d, eltTarget);
            }
            eltTarget = document.querySelector("#ficheDiv");
            if (eltTarget) {
                var d = document.createElement("div");
                d.setAttribute("id", "optidigital-adslot-Mobile_Pos1");
                d.setAttribute("style", "display: none;");
                d.setAttribute("class", "Mobile_Pos1");
                eltTarget.parentNode.insertBefore(d, eltTarget);
                d = document.createElement("div");
                d.setAttribute("id", "optidigital-adslot-Mobile_Bottom");
                d.setAttribute("style", "display: none;");
                d.setAttribute("class", "Mobile_Bottom");
                eltTarget.parentNode.insertBefore(d, eltTarget.nextSibling);
                d = document.createElement("div");
                d.setAttribute("id", "optidigital-adslot-Content_Bottom");
                d.setAttribute("style", "display: none;");
                d.setAttribute("class", "Content_Bottom");
                eltTarget.parentNode.insertBefore(d, eltTarget.nextSibling);
            }
            eltTarget = document.querySelector("#top7_android_apps");
            if (eltTarget) {
                var d = document.createElement("div");
                d.setAttribute("id", "optidigital-adslot-Mobile_Pos1");
                d.setAttribute("style", "display: none;");
                d.setAttribute("class", "Mobile_Pos1");
                eltTarget.parentNode.insertBefore(d, eltTarget);
            }
        }
    },
    enablePerformances: true,
    contentSelectorsLimits: [
        ['article > header', '.post-tags']
    ],
    contentSelectors: ['article', '#app'],
};

var optidigitalSetupTest = {
    info: {
        publisherId: 34,
        networkId: 21883197849,
        siteId: 466,
        revision: 117,
        sellerId: 466
    },
    enableOdas: ['ko'],
    adSlotsConfig: {
        sideRailsConfig: {},
        adManagerKeyName: "adslot",
        adSlotsDefinitions: [{
            name: "Billboard_1",
            clsMaxHeight: 256,
            odZoneId: 13244,
            odSize: [970, 250],
            deviceTarget: "desktop",
            multiFormat: {
                banner: {
                    size: [
                        [1, 1]
                    ]
                }
            },
        }, {
            name: "Billboard_2",
            odZoneId: 13278,
            odSize: [970, 250],
            deviceTarget: "desktop",
            multiFormat: {
                banner: {}
            },
        }, {
            name: "Billboard_TV",
            lazyLoadPx: 600,
            refreshDelay: 60000,
            deviceTarget: "desktop",
            multiFormat: {
                banner: {}
            },
        }, {
            name: "Content_1",
            clsMaxHeight: 250,
            odZoneId: 13254,
            odSize: [336, 280],
            deviceTarget: "desktop",
            multiFormat: {
                banner: {
                    minMaxSizes: [0, 672, 0, 300]
                }
            },
        }, {
            name: "Content_10",
            clsMaxHeight: 250,
            odZoneId: 18574,
            odSize: [336, 280],
            deviceTarget: "desktop",
            multiFormat: {
                banner: {
                    minMaxSizes: [0, 672, 0, 300]
                }
            },
        }, {
            name: "Content_11",
            clsMaxHeight: 250,
            odZoneId: 18576,
            odSize: [336, 280],
            deviceTarget: "desktop",
            multiFormat: {
                banner: {
                    minMaxSizes: [0, 672, 0, 300]
                }
            },
        }, {
            name: "Content_12",
            clsMaxHeight: 250,
            odZoneId: 18578,
            odSize: [336, 280],
            deviceTarget: "desktop",
            multiFormat: {
                banner: {
                    minMaxSizes: [0, 672, 0, 300]
                }
            },
        }, {
            name: "Content_13",
            clsMaxHeight: 250,
            odZoneId: 18580,
            odSize: [336, 280],
            deviceTarget: "desktop",
            multiFormat: {
                banner: {
                    minMaxSizes: [0, 672, 0, 300]
                }
            },
        }, {
            name: "Content_14",
            clsMaxHeight: 250,
            odZoneId: 18582,
            odSize: [336, 280],
            deviceTarget: "desktop",
            multiFormat: {
                banner: {
                    minMaxSizes: [0, 672, 0, 300]
                }
            },
        }, {
            name: "Content_15",
            clsMaxHeight: 250,
            odZoneId: 18584,
            odSize: [336, 280],
            deviceTarget: "desktop",
            multiFormat: {
                banner: {
                    minMaxSizes: [0, 672, 0, 300]
                }
            },
        }, {
            name: "Content_2",
            clsMaxHeight: 250,
            odZoneId: 13256,
            odSize: [336, 280],
            deviceTarget: "desktop",
            multiFormat: {
                banner: {
                    minMaxSizes: [0, 672, 0, 300]
                }
            },
        }, {
            name: "Content_3",
            clsMaxHeight: 250,
            odZoneId: 13258,
            odSize: [336, 280],
            deviceTarget: "desktop",
            multiFormat: {
                banner: {
                    minMaxSizes: [0, 672, 0, 300]
                }
            },
        }, {
            name: "Content_4",
            clsMaxHeight: 250,
            odZoneId: 13280,
            odSize: [336, 280],
            deviceTarget: "desktop",
            multiFormat: {
                banner: {
                    minMaxSizes: [0, 672, 0, 300]
                }
            },
        }, {
            name: "Content_5",
            clsMaxHeight: 250,
            odZoneId: 13282,
            odSize: [336, 280],
            deviceTarget: "desktop",
            multiFormat: {
                banner: {
                    minMaxSizes: [0, 672, 0, 300]
                }
            },
        }, {
            name: "Content_6",
            clsMaxHeight: 250,
            odZoneId: 13284,
            odSize: [336, 280],
            deviceTarget: "desktop",
            multiFormat: {
                banner: {
                    minMaxSizes: [0, 672, 0, 300]
                }
            },
        }, {
            name: "Content_7",
            clsMaxHeight: 250,
            odZoneId: 13290,
            odSize: [336, 280],
            deviceTarget: "desktop",
            multiFormat: {
                banner: {
                    minMaxSizes: [0, 672, 0, 300]
                }
            },
        }, {
            name: "Content_8",
            clsMaxHeight: 250,
            odZoneId: 13292,
            odSize: [336, 280],
            deviceTarget: "desktop",
            multiFormat: {
                banner: {
                    minMaxSizes: [0, 672, 0, 300]
                }
            },
        }, {
            name: "Content_9",
            clsMaxHeight: 250,
            odZoneId: 18572,
            odSize: [336, 280],
            deviceTarget: "desktop",
            multiFormat: {
                banner: {
                    minMaxSizes: [0, 672, 0, 300]
                }
            },
        }, {
            name: "Content_Bottom",
            clsMaxHeight: 250,
            odZoneId: 13260,
            odSize: [336, 280],
            deviceTarget: "desktop",
            multiFormat: {
                banner: {
                    minMaxSizes: [0, 672, 0, 300]
                }
            },
        }, {
            name: "Desktop_Interstitial",
            lazyLoadPx: 600,
            refreshDelay: 60000,
            odZoneId: 13754,
            odSize: [300, 250],
            deviceTarget: "desktop",
            multiFormat: {
                banner: {}
            },
        }, {
            name: "Desktop_Sticky_Bottom",
            lazyLoadPx: 600,
            odZoneId: 15484,
            odSize: [728, 90],
            deviceTarget: "desktop",
            multiFormat: {
                banner: {}
            },
        }, {
            name: "HalfpageAd_1",
            odZoneId: 13246,
            odSize: [300, 600],
            deviceTarget: "desktop",
            multiFormat: {
                banner: {}
            },
        }, {
            name: "HalfpageAd_1_Telecharger",
            lazyLoadPx: 600,
            odZoneId: 15486,
            odSize: [300, 250],
            deviceTarget: "desktop",
            multiFormat: {
                banner: {}
            },
        }, {
            name: "HalfpageAd_2",
            odZoneId: 13248,
            odSize: [300, 600],
            deviceTarget: "desktop",
            multiFormat: {
                banner: {}
            },
        }, {
            name: "HalfpageAd_3",
            odZoneId: 15366,
            odSize: [300, 600],
            deviceTarget: "desktop",
            multiFormat: {
                banner: {}
            },
        }, {
            name: "HalfpageAd_4",
            status: 0,
        }, {
            name: "HalfpageAd_Home",
            odZoneId: 13738,
            odSize: [300, 600],
            deviceTarget: "desktop",
            multiFormat: {
                banner: {}
            },
        }, {
            name: "HalfpageAd_Side",
            odZoneId: 13736,
            odSize: [160, 600],
            deviceTarget: "desktop",
            multiFormat: {
                banner: {}
            },
        }, {
            name: "Leaderboard_1",
            status: 0,
        }, {
            name: "Leaderboard_2",
            status: 0,
        }, {
            name: "Mobile_Bottom",
            lazyLoadPx: 600,
            odZoneId: 13274,
            odSize: [300, 250],
            multiFormat: {
                banner: {}
            },
        }, {
            name: "Mobile_Interstitial",
            lazyLoadPx: 600,
            refreshDelay: 60000,
            odZoneId: 13752,
            odSize: [300, 250],
            multiFormat: {
                banner: {}
            },
        }, {
            name: "Mobile_Pos1",
            lazyLoadPx: 600,
            odZoneId: 13262,
            odSize: [336, 280],
            multiFormat: {
                banner: {}
            },
        }, {
            name: "Mobile_Pos10",
            lazyLoadPx: 600,
            odZoneId: 18588,
            odSize: [336, 280],
            multiFormat: {
                banner: {}
            },
        }, {
            name: "Mobile_Pos11",
            lazyLoadPx: 600,
            odZoneId: 18590,
            odSize: [336, 280],
            multiFormat: {
                banner: {}
            },
        }, {
            name: "Mobile_Pos12",
            lazyLoadPx: 600,
            odZoneId: 18592,
            odSize: [336, 280],
            multiFormat: {
                banner: {}
            },
        }, {
            name: "Mobile_Pos13",
            lazyLoadPx: 600,
            odZoneId: 18594,
            odSize: [336, 280],
            multiFormat: {
                banner: {}
            },
        }, {
            name: "Mobile_Pos14",
            lazyLoadPx: 600,
            odZoneId: 18596,
            odSize: [336, 280],
            multiFormat: {
                banner: {}
            },
        }, {
            name: "Mobile_Pos15",
            lazyLoadPx: 600,
            odZoneId: 18598,
            odSize: [336, 280],
            multiFormat: {
                banner: {}
            },
        }, {
            name: "Mobile_Pos2",
            lazyLoadPx: 600,
            odZoneId: 13264,
            odSize: [336, 280],
            multiFormat: {
                banner: {}
            },
        }, {
            name: "Mobile_Pos3",
            lazyLoadPx: 600,
            odZoneId: 13266,
            odSize: [336, 280],
            multiFormat: {
                banner: {}
            },
        }, {
            name: "Mobile_Pos4",
            lazyLoadPx: 600,
            odZoneId: 13268,
            odSize: [336, 280],
            multiFormat: {
                banner: {}
            },
        }, {
            name: "Mobile_Pos5",
            lazyLoadPx: 600,
            odZoneId: 13270,
            odSize: [336, 280],
            multiFormat: {
                banner: {}
            },
        }, {
            name: "Mobile_Pos6",
            lazyLoadPx: 600,
            odZoneId: 13272,
            odSize: [336, 280],
            multiFormat: {
                banner: {}
            },
        }, {
            name: "Mobile_Pos7",
            lazyLoadPx: 600,
            odZoneId: 13286,
            odSize: [336, 280],
            multiFormat: {
                banner: {}
            },
        }, {
            name: "Mobile_Pos8",
            lazyLoadPx: 600,
            odZoneId: 13288,
            odSize: [336, 280],
            multiFormat: {
                banner: {}
            },
        }, {
            name: "Mobile_Pos9",
            lazyLoadPx: 600,
            odZoneId: 18586,
            odSize: [336, 280],
            multiFormat: {
                banner: {}
            },
        }, {
            name: "Mobile_Pos_Mini_1",
            lazyLoadPx: 600,
            clsMaxHeight: 80,
            odZoneId: 13728,
            odSize: [320, 100],
            multiFormat: {
                banner: {}
            },
        }, {
            name: "Mobile_Pos_Mini_2",
            lazyLoadPx: 600,
            clsMaxHeight: 80,
            odZoneId: 13730,
            odSize: [320, 100],
            multiFormat: {
                banner: {}
            },
        }, {
            name: "Mobile_Pos_Mini_3",
            lazyLoadPx: 600,
            clsMaxHeight: 80,
            odZoneId: 13732,
            odSize: [320, 100],
            multiFormat: {
                banner: {}
            },
        }, {
            name: "Mobile_Pos_Mini_4",
            lazyLoadPx: 600,
            clsMaxHeight: 80,
            odZoneId: 13734,
            odSize: [320, 100],
            multiFormat: {
                banner: {}
            },
        }, {
            name: "Mobile_Sticky_Bottom",
            lazyLoadPx: 600,
            refreshDelay: 20000,
            odZoneId: 13276,
            odSize: [320, 100],
            multiFormat: {
                banner: {}
            },
        }, {
            name: "Mobile_Sticky_Top",
            status: 0,
        }, {
            name: "Mobile_Top",
            lazyLoadPx: 600,
            odZoneId: 19238,
            odSize: [320, 100],
            multiFormat: {
                banner: {
                    minMaxSizes: [0, 0, 0, 80],
                    size: [
                        [320, 50],
                        [300, 50],
                        [320, 80],
                        [300, 80]
                    ]
                }
            },
        }, {
            name: "Rectangle_1",
            clsMaxHeight: 250,
            odZoneId: 13250,
            odSize: [300, 250],
            deviceTarget: "desktop",
            multiFormat: {
                banner: {}
            },
        }, {
            name: "Rectangle_2",
            clsMaxHeight: 250,
            odZoneId: 13252,
            odSize: [300, 250],
            deviceTarget: "desktop",
            multiFormat: {
                banner: {}
            },
        }, {
            name: "Wallpaper",
            lazyLoadPx: 600,
            refreshDelay: 60000,
            deviceTarget: "desktop",
            multiFormat: {
                banner: {}
            },
        }, ],
    },
    prebidSafeframe: {
        status: 'enabled',
        bidders: ['xandr', 'criteo_odd', 'rubicon', 'pubmatic_odd', 'triplelift', 'richaudience', 'smilewanted', 'ix', 'seedtag', 'outbrain', 'optidigital', 'nexxen', 'ttd']
    },
    directBidders: ['amazon'],
    biddersS2S: ['nexxen'],
    s2sConfig: {
        aliasBidders: {
            appnexus: ['xandr'],
            pubmatic: ['pubmatic_odd'],
            criteo: ['criteo_odd'],
            unruly: ['nexxen']
        },
        rubicon: {
            discount: 0.95,
            adSlots: {
                Mobile_Sticky_Bottom: {
                    accountId: 20336,
                    siteId: 525920,
                    zoneId: 3176126
                },
                Mobile_Pos1: {
                    accountId: 20336,
                    siteId: 525920,
                    zoneId: 3176072
                },
                Desktop_Sticky_Bottom: {
                    accountId: 20336,
                    siteId: 525920,
                    zoneId: 3176048
                },
                Content_1: {
                    accountId: 20336,
                    siteId: 525920,
                    zoneId: 3176014
                },
                HalfpageAd_1: {
                    accountId: 20336,
                    siteId: 525920,
                    zoneId: 3176058
                },
                Billboard_1: {
                    accountId: 20336,
                    siteId: 525920,
                    zoneId: 3176008
                }
            },
        },
        outbrain: {
            discount: 0.90,
            adSlots: {
                Mobile_Sticky_Bottom: {
                    publisherId: '007d898d461a82259b86ba2c6d1bf8733c'
                },
                Mobile_Pos1: {
                    publisherId: '007d898d461a82259b86ba2c6d1bf8733c'
                },
                Desktop_Sticky_Bottom: {
                    publisherId: '007d898d461a82259b86ba2c6d1bf8733c'
                },
                Content_1: {
                    publisherId: '007d898d461a82259b86ba2c6d1bf8733c'
                },
                HalfpageAd_1: {
                    publisherId: '007d898d461a82259b86ba2c6d1bf8733c'
                },
                Billboard_1: {
                    publisherId: '007d898d461a82259b86ba2c6d1bf8733c'
                }
            },
        },
        triplelift: {
            discount: 0.95,
            adSlots: {
                Mobile_Sticky_Bottom: {
                    inventoryCode: 'OptiDigital_RON_HDX'
                },
                Mobile_Pos1: {
                    inventoryCode: 'OptiDigital_RON_Mobile_1'
                },
                Desktop_Sticky_Bottom: {
                    inventoryCode: 'OptiDigital_RON_HDX'
                },
                Content_1: {
                    inventoryCode: 'OptiDigital_RON_Content'
                },
                HalfpageAd_1: {
                    inventoryCode: 'OptiDigital_RON_HalfPage'
                },
                Billboard_1: {
                    inventoryCode: 'OptiDigital_RON_Billboard'
                }
            },
        },
        xandr: {
            discount: 0.95,
            adSlots: {
                Mobile_Sticky_Bottom: {
                    placementId: 26090771
                },
                Mobile_Pos1: {
                    placementId: 26090763
                },
                Desktop_Sticky_Bottom: {
                    placementId: 27530725
                },
                Content_1: {
                    placementId: 26090726
                },
                HalfpageAd_1: {
                    placementId: 26090754
                },
                Billboard_1: {
                    placementId: 26090736
                }
            },
        },
        optidigital: {
            discount: 0.99,
            adSlots: {
                Mobile_Sticky_Bottom: {
                    status: '1'
                },
                Mobile_Pos1: {
                    status: '1'
                },
                Desktop_Sticky_Bottom: {
                    status: '1'
                },
                Content_1: {
                    status: '1'
                },
                HalfpageAd_1: {
                    status: '1'
                },
                Billboard_1: {
                    status: '1'
                }
            },
        },
        ix: {
            discount: 0.95,
            adSlots: {
                Mobile_Sticky_Bottom: {
                    siteId: '1189710'
                },
                Mobile_Pos1: {
                    siteId: '1189711'
                },
                Desktop_Sticky_Bottom: {
                    siteId: '1189721'
                },
                Content_1: {
                    siteId: '1189725'
                },
                HalfpageAd_1: {
                    siteId: '1189723'
                },
                Billboard_1: {
                    siteId: '1189722'
                }
            },
        },
        ttd: {
            discount: 0.95,
            adSlots: {
                Mobile_Sticky_Bottom: {
                    supplySourceId: 'direct5b94jvza',
                    publisherId: '1'
                },
                Mobile_Pos1: {
                    supplySourceId: 'direct5b94jvza',
                    publisherId: '1'
                },
                Desktop_Sticky_Bottom: {
                    supplySourceId: 'direct5b94jvza',
                    publisherId: '1'
                },
                Content_1: {
                    supplySourceId: 'direct5b94jvza',
                    publisherId: '1'
                },
                HalfpageAd_1: {
                    supplySourceId: 'direct5b94jvza',
                    publisherId: '1'
                },
                Billboard_1: {
                    supplySourceId: 'direct5b94jvza',
                    publisherId: '1'
                }
            },
        },
        pubmatic_odd: {
            discount: 0.90,
            adSlots: {
                Mobile_Sticky_Bottom: {
                    publisherId: '167116',
                    adSlot: '7244799'
                },
                Mobile_Pos1: {
                    publisherId: '167116',
                    adSlot: '7244801'
                },
                Content_1: {
                    publisherId: '167116',
                    adSlot: '7244751'
                },
                HalfpageAd_1: {
                    publisherId: '167116',
                    adSlot: '7244753'
                },
                Billboard_1: {
                    publisherId: '167116',
                    adSlot: '7244749'
                }
            },
        },
        criteo_odd: {
            discount: 0.95,
            adSlots: {
                Mobile_Sticky_Bottom: {
                    networkId: 8713,
                    pubid: '111060'
                },
                Mobile_Pos1: {
                    networkId: 8713,
                    pubid: '111060'
                },
                Desktop_Sticky_Bottom: {
                    networkId: 8713,
                    pubid: '111060'
                },
                Content_1: {
                    networkId: 8713,
                    pubid: '111060'
                },
                HalfpageAd_1: {
                    networkId: 8713,
                    pubid: '111060'
                },
                Billboard_1: {
                    networkId: 8713,
                    pubid: '111060'
                }
            },
        },
        nexxen: {
            discount: 0.95,
            adSlots: {
                Mobile_Sticky_Bottom: {
                    siteId: 283845
                },
                Mobile_Pos1: {
                    siteId: 283845
                },
                Desktop_Sticky_Bottom: {
                    siteId: 283845
                },
                Content_1: {
                    siteId: 283845
                },
                HalfpageAd_1: {
                    siteId: 283845
                },
                Billboard_1: {
                    siteId: 283845
                }
            },
        },
    },
    sourceDomains: [],
    advertisers: {
        adx: [4822883731],
        prebid: [4823062502, 4823062532],
        amazon: [4824245201, 4925493032, 5090691821]
    },
    timeouts: {
        failsafe: 34000,
        lazyLoadPxInterval: 300
    },
    stickyAdConfiguration: {
        zIndex: '10000',
        adCloseTop: '-24',
        disableDesktop: true
    },
    enableLimitedAds: true,
    liveAnalyticsSampling: 100,
    fullPackageDesktop: true,
    fullPackageMobile: true,
    adLayoutEnabled: true,
    adLayoutConfig: {
        optidigitalBrand: false,
        logoLoading: {
            'background-image': "url('https://scripts.opti-digital.com/assets/466/logo.svg')",
            'background-size': '100px 100px'
        },
        adDivWidthDesktop: 'auto'
    },
    adUnitError: "/21883197849/01net.com/error",
    sspList: "adagio,rubicon,smartadserver,pubmatic,criteo,appnexus,triplelift,outbrain,onetag,ix,ogury,adyoulike,ttd",
    publisherInit: function(initConfig) {

        window.odT = window.odT || {};
        window.odT.setup = window.odT.setup || {};
        const ODS = window.odT.setup;

        ODS.directBidders = ODS.directBidders || [];
        ODS.directBidders.push("pubmatic_odd");
        ODS.directBidders.push("criteo_odd");
        ODS.s2sConfig = ODS.s2sConfig || {};
        ODS.s2sConfig.directBidders = ODS.s2sConfig.directBidders || [];
        ODS.s2sConfig.directBidders.push("pubmatic_odd");
        ODS.s2sConfig.directBidders.push("criteo_odd");

        ODS.advertisers = ODS.advertisers || {};
        ODS.advertisers.house = [5764662423];
        ODS.backfillReplaceHouse = true;

        ODS.stickyAdConfiguration = ODS.stickyAdConfiguration || {};


        if (window.location.pathname.indexOf("/telecharger/bureautique/") != -1)
            optidigitalToolbox.initConfig.adUnit = "/21883197849/01net.com/telecharger-bureautique";
        if (window.location.pathname.indexOf("/telecharger/securite/") != -1)
            optidigitalToolbox.initConfig.adUnit = "/21883197849/01net.com/telecharger-securite";
        if (window.location.pathname.indexOf("/telecharger/internet/") != -1)
            optidigitalToolbox.initConfig.adUnit = "/21883197849/01net.com/telecharger-internet";
        if (initConfig.adUnit.indexOf("/21883197849/01net.com/telecharger") != -1) {
            ODS.stickyAdConfiguration.modeMobile = "sticky-bottom";
            ODS.stickyAdConfiguration.stickyAdTopTriggerMobile = 150;
        }
        if (optidigitalToolbox.initConfig.hasOwnProperty("pageTargeting") &&
            optidigitalToolbox.initConfig.pageTargeting.hasOwnProperty("nos") &&
            (optidigitalToolbox.initConfig.pageTargeting.nos == 1 || optidigitalToolbox.initConfig.pageTargeting.nos == "1")
        ) {
            ODS.stickyAdConfiguration.disableDesktop = true;
            ODS.stickyAdConfiguration.disableMobile = true;
        }
        optidigitalToolbox.registerEventCallback(function(type, data) {
            if (type == "ADSLOT_FILLED" && data.adslot.name == "Billboard_1" && data.adslot.size == "1x1") {
                var divWrapper = document.getElementById("optidigital-adslot-Billboard_1").parentNode;
                divWrapper.parentNode.removeChild(divWrapper);
            }
        });
        if (
            initConfig.adUnit.indexOf("/21883197849/01net.com/telecharger") == -1 &&
            initConfig.adUnit.indexOf("/21883197849/01net.com/telechargement") == -1
        ) {
            optidigitalToolbox.setup.adSlotsConfig.disableDesktopInterstitial = true;
            optidigitalToolbox.setup.adSlotsConfig.disableMobileInterstitial = true;
        } else {
            optidigitalToolbox.setup.adSlotsConfig.disableDesktopInterstitial = false;
            optidigitalToolbox.setup.adSlotsConfig.disableMobileInterstitial = false;
        }
        if (initConfig.adUnit.indexOf("/21883197849/01net.com/telecharger") != -1) {
            var eltTarget = document.querySelector("#body");
            if (eltTarget) {
                var d = document.createElement("div");
                d.setAttribute("id", "optidigital-adslot-Billboard_1");
                d.setAttribute("style", "display: none;");
                d.setAttribute("class", "Billboard_1");
                eltTarget.insertBefore(d, eltTarget.firstChild);
            }
            eltTarget = document.querySelector("#ig-code-promo-widget");
            if (eltTarget) {
                var d = document.createElement("div");
                d.setAttribute("id", "optidigital-adslot-HalfpageAd_1");
                d.setAttribute("style", "display: none;");
                d.setAttribute("class", "HalfpageAd_1");
                eltTarget.parentNode.insertBefore(d, eltTarget);
            }
            eltTarget = document.querySelector("#ficheDiv");
            if (eltTarget) {
                var d = document.createElement("div");
                d.setAttribute("id", "optidigital-adslot-Mobile_Pos1");
                d.setAttribute("style", "display: none;");
                d.setAttribute("class", "Mobile_Pos1");
                eltTarget.parentNode.insertBefore(d, eltTarget);
                d = document.createElement("div");
                d.setAttribute("id", "optidigital-adslot-Mobile_Bottom");
                d.setAttribute("style", "display: none;");
                d.setAttribute("class", "Mobile_Bottom");
                eltTarget.parentNode.insertBefore(d, eltTarget.nextSibling);
                d = document.createElement("div");
                d.setAttribute("id", "optidigital-adslot-Content_Bottom");
                d.setAttribute("style", "display: none;");
                d.setAttribute("class", "Content_Bottom");
                eltTarget.parentNode.insertBefore(d, eltTarget.nextSibling);
            }
            eltTarget = document.querySelector("#top7_android_apps");
            if (eltTarget) {
                var d = document.createElement("div");
                d.setAttribute("id", "optidigital-adslot-Mobile_Pos1");
                d.setAttribute("style", "display: none;");
                d.setAttribute("class", "Mobile_Pos1");
                eltTarget.parentNode.insertBefore(d, eltTarget);
            }
        }
    },
    enablePerformances: true,
    contentSelectorsLimits: [
        ['article > header', '.post-tags']
    ],
    contentSelectors: ['article', '#app'],
};
window.odTLibs={"odas":"2.0.9","odpbjs":"9.35.0_g","odlauncher":"5.2.30","odcore":"4.1.34"};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?.optidigitalSetup?.breakpoint||768,t=window.top?window.top.document.documentElement.clientWidth<i?"Mobile":"Desktop":document.documentElement.clientWidth<i?"Mobile":"Desktop";window.dDevice="Mobile"===t?"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="object"==typeof optidigitalSetupTest?optidigitalSetupTest:optidigitalSetup,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};