var rt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, Ee = { exports: {} }; (function(i, e) { (function(s, t) { var a = "1.0.37", u = "", m = "?", k = "function", U = "undefined", X = "object", F = "string", Z = "major", r = "model", c = "name", n = "type", l = "vendor", p = "version", O = "architecture", K = "console", y = "mobile", w = "tablet", j = "smarttv", Q = "wearable", ge = "embedded", me = 500, ae = "Amazon", J = "Apple", Pe = "ASUS", Re = "BlackBerry", W = "Browser", oe = "Chrome", at = "Edge", ne = "Firefox", de = "Google", ze = "Huawei", ve = "LG", ye = "Microsoft", ke = "Motorola", re = "Opera", le = "Samsung", Le = "Sharp", ce = "Sony", we = "Xiaomi", _e = "Zebra", Be = "Facebook", Ce = "Chromium OS", Ue = "Mac OS", ot = function(I, R) { var f = {}; for (var z in I) R[z] && R[z].length % 2 === 0 ? f[z] = R[z].concat(I[z]) : f[z] = I[z]; return f; }, ue = function(I) { for (var R = {}, f = 0; f < I.length; f++) R[I[f].toUpperCase()] = I[f]; return R; }, je = function(I, R) { return typeof I === F ? ee(R).indexOf(ee(I)) !== -1 : !1; }, ee = function(I) { return I.toLowerCase(); }, nt = function(I) { return typeof I === F ? I.replace(/[^\d\.]/g, u).split(".")[0] : t; }, Se = function(I, R) { if (typeof I === F) return I = I.replace(/^\s\s*/, u), typeof R === U ? I : I.substring(0, me); }, te = function(I, R) { for (var f = 0, z, H, $, D, h, V; f < R.length && !h; ) { var Ae = R[f], qe = R[f + 1]; for (z = H = 0; z < Ae.length && !h && Ae[z]; ) if (h = Ae[z++].exec(I), h) for ($ = 0; $ < qe.length; $++) V = h[++H], D = qe[$], typeof D === X && D.length > 0 ? D.length === 2 ? typeof D[1] == k ? this[D[0]] = D[1].call(this, V) : this[D[0]] = D[1] : D.length === 3 ? typeof D[1] === k && !(D[1].exec && D[1].test) ? this[D[0]] = V ? D[1].call(this, V, D[2]) : t : this[D[0]] = V ? V.replace(D[1], D[2]) : t : D.length === 4 && (this[D[0]] = V ? D[3].call(this, V.replace(D[1], D[2])) : t) : this[D] = V || t; f += 2; } }, Ie = function(I, R) { for (var f in R) if (typeof R[f] === X && R[f].length > 0) { for (var z = 0; z < R[f].length; z++) if (je(R[f][z], I)) return f === m ? t : f; } else if (je(R[f], I)) return f === m ? t : f; return I; }, dt = { "1.0": "/8", "1.2": "/1", "1.3": "/3", "2.0": "/412", "2.0.2": "/416", "2.0.3": "/417", "2.0.4": "/419", "?": "/" }, Te = { ME: "4.90", "NT 3.11": "NT3.51", "NT 4.0": "NT4.0", 2e3: "NT 5.0", XP: ["NT 5.1", "NT 5.2"], Vista: "NT 6.0", 7: "NT 6.1", 8: "NT 6.2", "8.1": "NT 6.3", 10: ["NT 6.4", "NT 10.0"], RT: "ARM" }, Oe = { browser: [ [ /\b(?:crmo|crios)\/([\w\.]+)/i // Chrome for Android/iOS ], [p, [c, "Chrome"]], [ /edg(?:e|ios|a)?\/([\w\.]+)/i // Microsoft Edge ], [p, [c, "Edge"]], [ // Presto based /(opera mini)\/([-\w\.]+)/i, // Opera Mini /(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i, // Opera Mobi/Tablet /(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i // Opera ], [c, p], [ /opios[\/ ]+([\w\.]+)/i // Opera mini on iphone >= 8.0 ], [p, [c, re + " Mini"]], [ /\bopr\/([\w\.]+)/i // Opera Webkit ], [p, [c, re]], [ // Mixed /\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i // Baidu ], [p, [c, "Baidu"]], [ /(kindle)\/([\w\.]+)/i, // Kindle /(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i, // Lunascape/Maxthon/Netfront/Jasmine/Blazer // Trident based /(avant|iemobile|slim)\s?(?:browser)?[\/ ]?([\w\.]*)/i, // Avant/IEMobile/SlimBrowser /(?:ms|\()(ie) ([\w\.]+)/i, // Internet Explorer // Webkit/KHTML based // Flock/RockMelt/Midori/Epiphany/Silk/Skyfire/Bolt/Iron/Iridium/PhantomJS/Bowser/QupZilla/Falkon /(flock|rockmelt|midori|epiphany|silk|skyfire|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|qq|duckduckgo)\/([-\w\.]+)/i, // Rekonq/Puffin/Brave/Whale/QQBrowserLite/QQ, aka ShouQ /(heytap|ovi)browser\/([\d\.]+)/i, // Heytap/Ovi /(weibo)__([\d\.]+)/i // Weibo ], [c, p], [ /(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i // UCBrowser ], [p, [c, "UC" + W]], [ /microm.+\bqbcore\/([\w\.]+)/i, // WeChat Desktop for Windows Built-in Browser /\bqbcore\/([\w\.]+).+microm/i, /micromessenger\/([\w\.]+)/i // WeChat ], [p, [c, "WeChat"]], [ /konqueror\/([\w\.]+)/i // Konqueror ], [p, [c, "Konqueror"]], [ /trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i // IE11 ], [p, [c, "IE"]], [ /ya(?:search)?browser\/([\w\.]+)/i // Yandex ], [p, [c, "Yandex"]], [ /slbrowser\/([\w\.]+)/i // Smart Lenovo Browser ], [p, [c, "Smart Lenovo " + W]], [ /(avast|avg)\/([\w\.]+)/i // Avast/AVG Secure Browser ], [[c, /(.+)/, "$1 Secure " + W], p], [ /\bfocus\/([\w\.]+)/i // Firefox Focus ], [p, [c, ne + " Focus"]], [ /\bopt\/([\w\.]+)/i // Opera Touch ], [p, [c, re + " Touch"]], [ /coc_coc\w+\/([\w\.]+)/i // Coc Coc Browser ], [p, [c, "Coc Coc"]], [ /dolfin\/([\w\.]+)/i // Dolphin ], [p, [c, "Dolphin"]], [ /coast\/([\w\.]+)/i // Opera Coast ], [p, [c, re + " Coast"]], [ /miuibrowser\/([\w\.]+)/i // MIUI Browser ], [p, [c, "MIUI " + W]], [ /fxios\/([-\w\.]+)/i // Firefox for iOS ], [p, [c, ne]], [ /\bqihu|(qi?ho?o?|360)browser/i // 360 ], [[c, "360 " + W]], [ /(oculus|sailfish|huawei|vivo)browser\/([\w\.]+)/i ], [[c, /(.+)/, "$1 " + W], p], [ // Oculus/Sailfish/HuaweiBrowser/VivoBrowser /samsungbrowser\/([\w\.]+)/i // Samsung Internet ], [p, [c, le + " Internet"]], [ /(comodo_dragon)\/([\w\.]+)/i // Comodo Dragon ], [[c, /_/g, " "], p], [ /metasr[\/ ]?([\d\.]+)/i // Sogou Explorer ], [p, [c, "Sogou Explorer"]], [ /(sogou)mo\w+\/([\d\.]+)/i // Sogou Mobile ], [[c, "Sogou Mobile"], p], [ /(electron)\/([\w\.]+) safari/i, // Electron-based App /(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i, // Tesla /m?(qqbrowser|2345Explorer)[\/ ]?([\w\.]+)/i // QQBrowser/2345 Browser ], [c, p], [ /(lbbrowser)/i, // LieBao Browser /\[(linkedin)app\]/i // LinkedIn App for iOS & Android ], [c], [ // WebView /((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i // Facebook App for iOS & Android ], [[c, Be], p], [ /(Klarna)\/([\w\.]+)/i, // Klarna Shopping Browser for iOS & Android /(kakao(?:talk|story))[\/ ]([\w\.]+)/i, // Kakao App /(naver)\(.*?(\d+\.[\w\.]+).*\)/i, // Naver InApp /safari (line)\/([\w\.]+)/i, // Line App for iOS /\b(line)\/([\w\.]+)\/iab/i, // Line App for Android /(alipay)client\/([\w\.]+)/i, // Alipay /(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i // Chromium/Instagram/Snapchat ], [c, p], [ /\bgsa\/([\w\.]+) .*safari\//i // Google Search Appliance on iOS ], [p, [c, "GSA"]], [ /musical_ly(?:.+app_?version\/|_)([\w\.]+)/i // TikTok ], [p, [c, "TikTok"]], [ /headlesschrome(?:\/([\w\.]+)| )/i // Chrome Headless ], [p, [c, oe + " Headless"]], [ / wv\).+(chrome)\/([\w\.]+)/i // Chrome WebView ], [[c, oe + " WebView"], p], [ /droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i // Android Browser ], [p, [c, "Android " + W]], [ /(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i // Chrome/OmniWeb/Arora/Tizen/Nokia ], [c, p], [ /version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i // Mobile Safari ], [p, [c, "Mobile Safari"]], [ /version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i // Safari & Safari Mobile ], [p, c], [ /webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i // Safari < 3.0 ], [c, [p, Ie, dt]], [ /(webkit|khtml)\/([\w\.]+)/i ], [c, p], [ // Gecko based /(navigator|netscape\d?)\/([-\w\.]+)/i // Netscape ], [[c, "Netscape"], p], [ /mobile vr; rv:([\w\.]+)\).+firefox/i // Firefox Reality ], [p, [c, ne + " Reality"]], [ /ekiohf.+(flow)\/([\w\.]+)/i, // Flow /(swiftfox)/i, // Swiftfox /(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i, // IceDragon/Iceweasel/Camino/Chimera/Fennec/Maemo/Minimo/Conkeror/Klar /(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i, // Firefox/SeaMonkey/K-Meleon/IceCat/IceApe/Firebird/Phoenix /(firefox)\/([\w\.]+)/i, // Other Firefox-based /(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i, // Mozilla // Other /(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i, // Polaris/Lynx/Dillo/iCab/Doris/Amaya/w3m/NetSurf/Sleipnir/Obigo/Mosaic/Go/ICE/UP.Browser /(links) \(([\w\.]+)/i, // Links /panasonic;(viera)/i // Panasonic Viera ], [c, p], [ /(cobalt)\/([\w\.]+)/i // Cobalt ], [c, [p, /master.|lts./, ""]] ], cpu: [ [ /(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i // AMD64 (x64) ], [[O, "amd64"]], [ /(ia32(?=;))/i // IA32 (quicktime) ], [[O, ee]], [ /((?:i[346]|x)86)[;\)]/i // IA32 (x86) ], [[O, "ia32"]], [ /\b(aarch64|arm(v?8e?l?|_?64))\b/i // ARM64 ], [[O, "arm64"]], [ /\b(arm(?:v[67])?ht?n?[fl]p?)\b/i // ARMHF ], [[O, "armhf"]], [ // PocketPC mistakenly identified as PowerPC /windows (ce|mobile); ppc;/i ], [[O, "arm"]], [ /((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i // PowerPC ], [[O, /ower/, u, ee]], [ /(sun4\w)[;\)]/i // SPARC ], [[O, "sparc"]], [ /((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i // IA64, 68K, ARM/64, AVR/32, IRIX/64, MIPS/64, SPARC/64, PA-RISC ], [[O, ee]] ], device: [ [ ////////////////////////// // MOBILES & TABLETS ///////////////////////// // Samsung /\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i ], [r, [l, le], [n, w]], [ /\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i, /samsung[- ]([-\w]+)/i, /sec-(sgh\w+)/i ], [r, [l, le], [n, y]], [ // Apple /(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i // iPod/iPhone ], [r, [l, J], [n, y]], [ /\((ipad);[-\w\),; ]+apple/i, // iPad /applecoremedia\/[\w\.]+ \((ipad)/i, /\b(ipad)\d\d?,\d\d?[;\]].+ios/i ], [r, [l, J], [n, w]], [ /(macintosh);/i ], [r, [l, J]], [ // Sharp /\b(sh-?[altvz]?\d\d[a-ekm]?)/i ], [r, [l, Le], [n, y]], [ // Huawei /\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i ], [r, [l, ze], [n, w]], [ /(?:huawei|honor)([-\w ]+)[;\)]/i, /\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i ], [r, [l, ze], [n, y]], [ // Xiaomi /\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i, // Xiaomi POCO /\b; (\w+) build\/hm\1/i, // Xiaomi Hongmi 'numeric' models /\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i, // Xiaomi Hongmi /\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i, // Xiaomi Redmi /oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i, // Xiaomi Redmi 'numeric' models /\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i // Xiaomi Mi ], [[r, /_/g, " "], [l, we], [n, y]], [ /oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i, // Redmi Pad /\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i // Mi Pad tablets ], [[r, /_/g, " "], [l, we], [n, w]], [ // OPPO /; (\w+) bui.+ oppo/i, /\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i ], [r, [l, "OPPO"], [n, y]], [ // Vivo /vivo (\w+)(?: bui|\))/i, /\b(v[12]\d{3}\w?[at])(?: bui|;)/i ], [r, [l, "Vivo"], [n, y]], [ // Realme /\b(rmx[1-3]\d{3})(?: bui|;|\))/i ], [r, [l, "Realme"], [n, y]], [ // Motorola /\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i, /\bmot(?:orola)?[- ](\w*)/i, /((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i ], [r, [l, ke], [n, y]], [ /\b(mz60\d|xoom[2 ]{0,2}) build\//i ], [r, [l, ke], [n, w]], [ // LG /((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i ], [r, [l, ve], [n, w]], [ /(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i, /\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i, /\blg-?([\d\w]+) bui/i ], [r, [l, ve], [n, y]], [ // Lenovo /(ideatab[-\w ]+)/i, /lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i ], [r, [l, "Lenovo"], [n, w]], [ // Nokia /(?:maemo|nokia).*(n900|lumia \d+)/i, /nokia[-_ ]?([-\w\.]*)/i ], [[r, /_/g, " "], [l, "Nokia"], [n, y]], [ // Google /(pixel c)\b/i // Google Pixel C ], [r, [l, de], [n, w]], [ /droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i // Google Pixel ], [r, [l, de], [n, y]], [ // Sony /droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i ], [r, [l, ce], [n, y]], [ /sony tablet [ps]/i, /\b(?:sony)?sgp\w+(?: bui|\))/i ], [[r, "Xperia Tablet"], [l, ce], [n, w]], [ // OnePlus / (kb2005|in20[12]5|be20[12][59])\b/i, /(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i ], [r, [l, "OnePlus"], [n, y]], [ // Amazon /(alexa)webm/i, /(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i, // Kindle Fire without Silk / Echo Show /(kf[a-z]+)( bui|\)).+silk\//i // Kindle Fire HD ], [r, [l, ae], [n, w]], [ /((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i // Fire Phone ], [[r, /(.+)/g, "Fire Phone $1"], [l, ae], [n, y]], [ // BlackBerry /(playbook);[-\w\),; ]+(rim)/i // BlackBerry PlayBook ], [r, l, [n, w]], [ /\b((?:bb[a-f]|st[hv])100-\d)/i, /\(bb10; (\w+)/i // BlackBerry 10 ], [r, [l, Re], [n, y]], [ // Asus /(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i ], [r, [l, Pe], [n, w]], [ / (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i ], [r, [l, Pe], [n, y]], [ // HTC /(nexus 9)/i // HTC Nexus 9 ], [r, [l, "HTC"], [n, w]], [ /(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i, // HTC // ZTE /(zte)[- ]([\w ]+?)(?: bui|\/|\))/i, /(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i // Alcatel/GeeksPhone/Nexian/Panasonic/Sony ], [l, [r, /_/g, " "], [n, y]], [ // Acer /droid.+; ([ab][1-7]-?[0178a]\d\d?)/i ], [r, [l, "Acer"], [n, w]], [ // Meizu /droid.+; (m[1-5] note) bui/i, /\bmz-([-\w]{2,})/i ], [r, [l, "Meizu"], [n, y]], [ // Ulefone /; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i ], [r, [l, "Ulefone"], [n, y]], [ // MIXED /(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno)[-_ ]?([-\w]*)/i, // BlackBerry/BenQ/Palm/Sony-Ericsson/Acer/Asus/Dell/Meizu/Motorola/Polytron /(hp) ([\w ]+\w)/i, // HP iPAQ /(asus)-?(\w+)/i, // Asus /(microsoft); (lumia[\w ]+)/i, // Microsoft Lumia /(lenovo)[-_ ]?([-\w]+)/i, // Lenovo /(jolla)/i, // Jolla /(oppo) ?([\w ]+) bui/i // OPPO ], [l, r, [n, y]], [ /(kobo)\s(ereader|touch)/i, // Kobo /(archos) (gamepad2?)/i, // Archos /(hp).+(touchpad(?!.+tablet)|tablet)/i, // HP TouchPad /(kindle)\/([\w\.]+)/i, // Kindle /(nook)[\w ]+build\/(\w+)/i, // Nook /(dell) (strea[kpr\d ]*[\dko])/i, // Dell Streak /(le[- ]+pan)[- ]+(\w{1,9}) bui/i, // Le Pan Tablets /(trinity)[- ]*(t\d{3}) bui/i, // Trinity Tablets /(gigaset)[- ]+(q\w{1,9}) bui/i, // Gigaset Tablets /(vodafone) ([\w ]+)(?:\)| bui)/i // Vodafone ], [l, r, [n, w]], [ /(surface duo)/i // Surface Duo ], [r, [l, ye], [n, w]], [ /droid [\d\.]+; (fp\du?)(?: b|\))/i // Fairphone ], [r, [l, "Fairphone"], [n, y]], [ /(u304aa)/i // AT&T ], [r, [l, "AT&T"], [n, y]], [ /\bsie-(\w*)/i // Siemens ], [r, [l, "Siemens"], [n, y]], [ /\b(rct\w+) b/i // RCA Tablets ], [r, [l, "RCA"], [n, w]], [ /\b(venue[\d ]{2,7}) b/i // Dell Venue Tablets ], [r, [l, "Dell"], [n, w]], [ /\b(q(?:mv|ta)\w+) b/i // Verizon Tablet ], [r, [l, "Verizon"], [n, w]], [ /\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i // Barnes & Noble Tablet ], [r, [l, "Barnes & Noble"], [n, w]], [ /\b(tm\d{3}\w+) b/i ], [r, [l, "NuVision"], [n, w]], [ /\b(k88) b/i // ZTE K Series Tablet ], [r, [l, "ZTE"], [n, w]], [ /\b(nx\d{3}j) b/i // ZTE Nubia ], [r, [l, "ZTE"], [n, y]], [ /\b(gen\d{3}) b.+49h/i // Swiss GEN Mobile ], [r, [l, "Swiss"], [n, y]], [ /\b(zur\d{3}) b/i // Swiss ZUR Tablet ], [r, [l, "Swiss"], [n, w]], [ /\b((zeki)?tb.*\b) b/i // Zeki Tablets ], [r, [l, "Zeki"], [n, w]], [ /\b([yr]\d{2}) b/i, /\b(dragon[- ]+touch |dt)(\w{5}) b/i // Dragon Touch Tablet ], [[l, "Dragon Touch"], r, [n, w]], [ /\b(ns-?\w{0,9}) b/i // Insignia Tablets ], [r, [l, "Insignia"], [n, w]], [ /\b((nxa|next)-?\w{0,9}) b/i // NextBook Tablets ], [r, [l, "NextBook"], [n, w]], [ /\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i // Voice Xtreme Phones ], [[l, "Voice"], r, [n, y]], [ /\b(lvtel\-)?(v1[12]) b/i // LvTel Phones ], [[l, "LvTel"], r, [n, y]], [ /\b(ph-1) /i // Essential PH-1 ], [r, [l, "Essential"], [n, y]], [ /\b(v(100md|700na|7011|917g).*\b) b/i // Envizen Tablets ], [r, [l, "Envizen"], [n, w]], [ /\b(trio[-\w\. ]+) b/i // MachSpeed Tablets ], [r, [l, "MachSpeed"], [n, w]], [ /\btu_(1491) b/i // Rotor Tablets ], [r, [l, "Rotor"], [n, w]], [ /(shield[\w ]+) b/i // Nvidia Shield Tablets ], [r, [l, "Nvidia"], [n, w]], [ /(sprint) (\w+)/i // Sprint Phones ], [l, r, [n, y]], [ /(kin\.[onetw]{3})/i // Microsoft Kin ], [[r, /\./g, " "], [l, ye], [n, y]], [ /droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i // Zebra ], [r, [l, _e], [n, w]], [ /droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i ], [r, [l, _e], [n, y]], [ /////////////////// // SMARTTVS /////////////////// /smart-tv.+(samsung)/i // Samsung ], [l, [n, j]], [ /hbbtv.+maple;(\d+)/i ], [[r, /^/, "SmartTV"], [l, le], [n, j]], [ /(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i // LG SmartTV ], [[l, ve], [n, j]], [ /(apple) ?tv/i // Apple TV ], [l, [r, J + " TV"], [n, j]], [ /crkey/i // Google Chromecast ], [[r, oe + "cast"], [l, de], [n, j]], [ /droid.+aft(\w+)( bui|\))/i // Fire TV ], [r, [l, ae], [n, j]], [ /\(dtv[\);].+(aquos)/i, /(aquos-tv[\w ]+)\)/i // Sharp ], [r, [l, Le], [n, j]], [ /(bravia[\w ]+)( bui|\))/i // Sony ], [r, [l, ce], [n, j]], [ /(mitv-\w{5}) bui/i // Xiaomi ], [r, [l, we], [n, j]], [ /Hbbtv.*(technisat) (.*);/i // TechniSAT ], [l, r, [n, j]], [ /\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i, // Roku /hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i // HbbTV devices ], [[l, Se], [r, Se], [n, j]], [ /\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i // SmartTV from Unidentified Vendors ], [[n, j]], [ /////////////////// // CONSOLES /////////////////// /(ouya)/i, // Ouya /(nintendo) ([wids3utch]+)/i // Nintendo ], [l, r, [n, K]], [ /droid.+; (shield) bui/i // Nvidia ], [r, [l, "Nvidia"], [n, K]], [ /(playstation [345portablevi]+)/i // Playstation ], [r, [l, ce], [n, K]], [ /\b(xbox(?: one)?(?!; xbox))[\); ]/i // Microsoft Xbox ], [r, [l, ye], [n, K]], [ /////////////////// // WEARABLES /////////////////// /((pebble))app/i // Pebble ], [l, r, [n, Q]], [ /(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i // Apple Watch ], [r, [l, J], [n, Q]], [ /droid.+; (glass) \d/i // Google Glass ], [r, [l, de], [n, Q]], [ /droid.+; (wt63?0{2,3})\)/i ], [r, [l, _e], [n, Q]], [ /(quest( 2| pro)?)/i // Oculus Quest ], [r, [l, Be], [n, Q]], [ /////////////////// // EMBEDDED /////////////////// /(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i // Tesla ], [l, [n, ge]], [ /(aeobc)\b/i // Echo Dot ], [r, [l, ae], [n, ge]], [ //////////////////// // MIXED (GENERIC) /////////////////// /droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i // Android Phones from Unidentified Vendors ], [r, [n, y]], [ /droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i // Android Tablets from Unidentified Vendors ], [r, [n, w]], [ /\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i // Unidentifiable Tablet ], [[n, w]], [ /(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i // Unidentifiable Mobile ], [[n, y]], [ /(android[-\w\. ]{0,9});.+buil/i // Generic Android Device ], [r, [l, "Generic"]] ], engine: [ [ /windows.+ edge\/([\w\.]+)/i // EdgeHTML ], [p, [c, at + "HTML"]], [ /webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i // Blink ], [p, [c, "Blink"]], [ /(presto)\/([\w\.]+)/i, // Presto /(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i, // WebKit/Trident/NetFront/NetSurf/Amaya/Lynx/w3m/Goanna /ekioh(flow)\/([\w\.]+)/i, // Flow /(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i, // KHTML/Tasman/Links /(icab)[\/ ]([23]\.[\d\.]+)/i, // iCab /\b(libweb)/i ], [c, p], [ /rv\:([\w\.]{1,9})\b.+(gecko)/i // Gecko ], [p, c] ], os: [ [ // Windows /microsoft (windows) (vista|xp)/i // Windows (iTunes) ], [c, p], [ /(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i // Windows Phone ], [c, [p, Ie, Te]], [ /windows nt 6\.2; (arm)/i, // Windows RT /windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i, /(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i ], [[p, Ie, Te], [c, "Windows"]], [ // iOS/macOS /ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i, // iOS /(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i, /cfnetwork\/.+darwin/i ], [[p, /_/g, "."], [c, "iOS"]], [ /(mac os x) ?([\w\. ]*)/i, /(macintosh|mac_powerpc\b)(?!.+haiku)/i // Mac OS ], [[c, Ue], [p, /_/g, "."]], [ // Mobile OSes /droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i // Android-x86/HarmonyOS ], [p, c], [ // Android/WebOS/QNX/Bada/RIM/Maemo/MeeGo/Sailfish OS /(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i, /(blackberry)\w*\/([\w\.]*)/i, // Blackberry /(tizen|kaios)[\/ ]([\w\.]+)/i, // Tizen/KaiOS /\((series40);/i // Series 40 ], [c, p], [ /\(bb(10);/i // BlackBerry 10 ], [p, [c, Re]], [ /(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i // Symbian ], [p, [c, "Symbian"]], [ /mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i // Firefox OS ], [p, [c, ne + " OS"]], [ /web0s;.+rt(tv)/i, /\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i // WebOS ], [p, [c, "webOS"]], [ /watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i // watchOS ], [p, [c, "watchOS"]], [ // Google Chromecast /crkey\/([\d\.]+)/i // Google Chromecast ], [p, [c, oe + "cast"]], [ /(cros) [\w]+(?:\)| ([\w\.]+)\b)/i // Chromium OS ], [[c, Ce], p], [ // Smart TVs /panasonic;(viera)/i, // Panasonic Viera /(netrange)mmh/i, // Netrange /(nettv)\/(\d+\.[\w\.]+)/i, // NetTV // Console /(nintendo|playstation) ([wids345portablevuch]+)/i, // Nintendo/Playstation /(xbox); +xbox ([^\);]+)/i, // Microsoft Xbox (360, One, X, S, Series X, Series S) // Other /\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i, // Joli/Palm /(mint)[\/\(\) ]?(\w*)/i, // Mint /(mageia|vectorlinux)[; ]/i, // Mageia/VectorLinux /([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i, // Ubuntu/Debian/SUSE/Gentoo/Arch/Slackware/Fedora/Mandriva/CentOS/PCLinuxOS/RedHat/Zenwalk/Linpus/Raspbian/Plan9/Minix/RISCOS/Contiki/Deepin/Manjaro/elementary/Sabayon/Linspire /(hurd|linux) ?([\w\.]*)/i, // Hurd/Linux /(gnu) ?([\w\.]*)/i, // GNU /\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i, // FreeBSD/NetBSD/OpenBSD/PC-BSD/GhostBSD/DragonFly /(haiku) (\w+)/i // Haiku ], [c, p], [ /(sunos) ?([\w\.\d]*)/i // Solaris ], [[c, "Solaris"], p], [ /((?:open)?solaris)[-\/ ]?([\w\.]*)/i, // Solaris /(aix) ((\d)(?=\.|\)| )[\w\.])*/i, // AIX /\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i, // BeOS/OS2/AmigaOS/MorphOS/OpenVMS/Fuchsia/HP-UX/SerenityOS /(unix) ?([\w\.]*)/i // UNIX ], [c, p] ] }, q = function(I, R) { if (typeof I === X && (R = I, I = t), !(this instanceof q)) return new q(I, R).getResult(); var f = typeof s !== U && s.navigator ? s.navigator : t, z = I || (f && f.userAgent ? f.userAgent : u), H = f && f.userAgentData ? f.userAgentData : t, $ = R ? ot(Oe, R) : Oe, D = f && f.userAgent == z; return this.getBrowser = function() { var h = {}; return h[c] = t, h[p] = t, te.call(h, z, $.browser), h[Z] = nt(h[p]), D && f && f.brave && typeof f.brave.isBrave == k && (h[c] = "Brave"), h; }, this.getCPU = function() { var h = {}; return h[O] = t, te.call(h, z, $.cpu), h; }, this.getDevice = function() { var h = {}; return h[l] = t, h[r] = t, h[n] = t, te.call(h, z, $.device), D && !h[n] && H && H.mobile && (h[n] = y), D && h[r] == "Macintosh" && f && typeof f.standalone !== U && f.maxTouchPoints && f.maxTouchPoints > 2 && (h[r] = "iPad", h[n] = w), h; }, this.getEngine = function() { var h = {}; return h[c] = t, h[p] = t, te.call(h, z, $.engine), h; }, this.getOS = function() { var h = {}; return h[c] = t, h[p] = t, te.call(h, z, $.os), D && !h[c] && H && H.platform != "Unknown" && (h[c] = H.platform.replace(/chrome os/i, Ce).replace(/macos/i, Ue)), h; }, this.getResult = function() { return { ua: this.getUA(), browser: this.getBrowser(), engine: this.getEngine(), os: this.getOS(), device: this.getDevice(), cpu: this.getCPU() }; }, this.getUA = function() { return z; }, this.setUA = function(h) { return z = typeof h === F && h.length > me ? Se(h, me) : h, this; }, this.setUA(z), this; }; q.VERSION = a, q.BROWSER = ue([c, p, Z]), q.CPU = ue([O]), q.DEVICE = ue([r, l, n, K, y, j, w, Q, ge]), q.ENGINE = q.OS = ue([c, p]), i.exports && (e = i.exports = q), e.UAParser = q; var Y = typeof s !== U && (s.jQuery || s.Zepto); if (Y && !Y.ua) { var pe = new q(); Y.ua = pe.getResult(), Y.ua.get = function() { return pe.getUA(); }, Y.ua.set = function(I) { pe.setUA(I); var R = pe.getResult(); for (var f in R) Y.ua[f] = R[f]; }; } })(typeof window == "object" ? window : rt); })(Ee, Ee.exports); var lt = Ee.exports; let be; const ct = new Uint8Array(16); function ut() { if (!be && (be = typeof crypto < "u" && crypto.getRandomValues && crypto.getRandomValues.bind(crypto), !be)) throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported"); return be(ct); } const L = []; for (let i = 0; i < 256; ++i) L.push((i + 256).toString(16).slice(1)); function pt(i, e = 0) { return L[i[e + 0]] + L[i[e + 1]] + L[i[e + 2]] + L[i[e + 3]] + "-" + L[i[e + 4]] + L[i[e + 5]] + "-" + L[i[e + 6]] + L[i[e + 7]] + "-" + L[i[e + 8]] + L[i[e + 9]] + "-" + L[i[e + 10]] + L[i[e + 11]] + L[i[e + 12]] + L[i[e + 13]] + L[i[e + 14]] + L[i[e + 15]]; } const bt = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), Me = { randomUUID: bt }; function ht(i, e, s) { if (Me.randomUUID && !e && !i) return Me.randomUUID(); i = i || {}; const t = i.random || (i.rng || ut)(); if (t[6] = t[6] & 15 | 64, t[8] = t[8] & 63 | 128, e) { s = s || 0; for (let a = 0; a < 16; ++a) e[s + a] = t[a]; return e; } return pt(t); } var se; ((i) => { i.isStrNullOrUndefined = (e) => { var s; return e == null || ((s = e == null ? void 0 : e.trim()) == null ? void 0 : s.length) === 0 || (e == null ? void 0 : e.trim()) === ""; }, i.isNullOrEmpty = i.isStrNullOrUndefined, i.isObjNullOrUndefined = (e) => e == null, i.isNumNullOrUndefined = (e) => e == null, i.uuidStr = () => ht(); })(se || (se = {})); const ft = se.isStrNullOrUndefined; var g; ((i) => { i.isMobileExt = (t) => /Mobile|Mobi|iP(hone|od)|Android|BlackBerry|IEMobile|Kindle|NetFront|Silk-Accelerated|(hpw|web)OS|Fennec|Minimo|Opera M(obi|ini)|Blazer|Dolfin|Dolphin|Skyfire|Zune/i.test(t ?? navigator.userAgent), ((t) => { t.desktop = "desktop", t.mobile = "mobile", t.tablet = "tablet", t.phone = "phone", t.smarttv = "smarttv"; })(i.DeviceTypeEnum || (i.DeviceTypeEnum = {})); const s = class s { constructor() { var m, k, U, X, F, Z; const u = new lt.UAParser((m = window == null ? void 0 : window.navigator) == null ? void 0 : m.userAgent).getResult(); this.model = (k = u.device) == null ? void 0 : k.model, this.vendor = (U = u.device) == null ? void 0 : U.vendor, this.osName = (X = u.os) == null ? void 0 : X.name, this.osVersion = (F = u.os) == null ? void 0 : F.version, this.type = (Z = u.device) == null ? void 0 : Z.type, ft(this.type) && ((0, i.isMobileExt)() ? this.type = "mobile" : this.type = "desktop"); } isDesktop() { const a = this.type ?? "mobile"; return s.desktopDevices.some((m) => m === a); } isMobile() { const a = this.type ?? "mobile"; return s.mobileDevices.some((m) => m === a); } }; s.desktopDevices = [ "desktop", "tablet", "smarttv" /* smarttv */ ], s.mobileDevices = [ "mobile", "phone" /* phone */ ], s.allDevices = [ "mobile", "phone", "desktop", "tablet", "smarttv" /* smarttv */ ]; let e = s; i.DeviceTypeInfo = e; })(g || (g = {})); var o; ((i) => { let e; const s = "font-weight: bold", t = "font-weight: normal"; let a = "domain-client"; i.isDebug = () => { var u, m; return e != null || (e = ((m = (u = window.location) == null ? void 0 : u.search) == null ? void 0 : m.indexOf("debug=true")) > 0), e; }, i.setLogPrefix = (u) => { a = u, (0, i.isDebug)(); }, (0, i.setLogPrefix)(a), i.consoleLog = (...u) => { e && (console == null || console.log(`%c${a}%c`, s, t, ...u)); }, i.consoleWarn = (...u) => { console == null || console.warn(`%c${a}%c`, s, t, ...u); }, i.consoleError = (...u) => { console == null || console.error(`%c${a}%c`, s, t, ...u); }, i.throwError = (u) => { throw new Error(u); }, i.throwEvalError = (u) => { throw new EvalError(u); }; })(o || (o = {})); var Ge; ((i) => { i.getRandomInt = () => (/* @__PURE__ */ new Date()).getTime() | 0; })(Ge || (Ge = {})); var $e; ((i) => { class e { } i.ObjectIndexer = e; })($e || ($e = {})); const gt = se.isNullOrEmpty; var Ve; ((i) => { i.getUrlQueryStringValue = (e) => { const t = new URLSearchParams(window.location.search).get(e); return t || void 0; }, i.getWindowUrlString = () => { var e; return (e = window == null ? void 0 : window.location) == null ? void 0 : e.toString(); }, i.getDocumentReferrer = () => { const e = document == null ? void 0 : document.referrer; return gt(e) ? void 0 : e; }, i.getHostNameFromUrl = () => { var e; return (e = window == null ? void 0 : window.location) == null ? void 0 : e.host; }, i.getUrlQueryStringValues = (e) => { const s = new URLSearchParams(window.location.search), t = /* @__PURE__ */ new Map(); return e.map((a) => { const u = s.get(a); t.set(a, u || void 0); }), t; }, i.getUrlQueryStringAllParams = () => { const e = /* @__PURE__ */ new Map(), s = new URLSearchParams(window.location.search); for (const [t, a] of s) e.set(t, a); return e; }; })(Ve || (Ve = {})); var T; ((i) => { class e { getTimeStamp() { return (/* @__PURE__ */ new Date()).getTime(); } } i.DateTimeHelper = e, i.dateTime = new e(); })(T || (T = {})); var ie; ((i) => { ((e) => { e.noPageType = "no-page-type", e.index = "index", e.allPosts = "all-posts", e.postDetail = "post", e.loadMorePost = "load-more-post", e.authorPost = "author-post", e.tag = "tag", e.astrologyIndex = "astrology-index", e.astrologyAstrologyHoroscopeReview = "astrology-horoscope-review", e.breakingNews = "breaking-news", e.category = "category", e.authors = "authors", e.authorArchive = "author-archive", e.page = "page", e.election = "election", e.contract = "contract", e.financeIndex = "finance-index", e.financeForex = "finance-forex", e.financeSubPage = "finance-subpages", e.sportIndexPage = "sport-index", e.sportSubPage = "sport-subpages", e.dynamicPage = "dynamic-page", e.eNewsPaper = "enewspaper-page", e.epg = "epg-page", e.program = "program", e.programList = "program-list", e.liveStream = "live-stream"; })(i.PageTypeEnum || (i.PageTypeEnum = {})); })(ie || (ie = {})); var fe; ((i) => { class e { doesCookieExists(t) { const a = document.cookie.split(";"); for (let u = 0; u < a.length; u++) if (a[u].trim().startsWith(t + "=")) return !0; return !1; } } i.CookieHelper = e, i.cookieHelper = new e(); })(fe || (fe = {})); class N { constructor() { this.subscriptions = new Array(), this.mustBeTriggeredOnce = !1, this.isTriggered = !1, this.isInitialized = !1, this.maxRetryCount = 3, this.retryCount = 0; } setData(e) { this.data = e; } setDataAndTrigger(e) { this.data = e, this.trigger(); } getData() { return this.data ?? {}; } subscribe(e) { this.subscriptions.push(e), this.isTriggered && e && e(this.data); } trigger() { if (this.isTriggered = !0, o.consoleLog(`${this.name} is triggered, data:`, this.data), !(this.mustBeTriggeredOnce && this.isTriggered) && !(this.subscriptions.length === 0 || this.retryCount >= this.maxRetryCount)) { if (this.subscriptions.length === 0) { this.retryCount++, setTimeout(() => { this.trigger(); }, 2e3); return; } o.consoleLog(`${this.name} callbacks are triggered`); for (let e = 0; e < this.subscriptions.length; e++) { const s = this.subscriptions[e]; s && s(this.data); } this.retryCount = 0; } } activate() { if (this.isInitialized) { o.consoleLog(`${this.name} is alreaedy activated`); return; } return this.isInitialized = !0, this.init(), this; } // init(){ // throw Error("override init on derived class"); // }; } class mt extends N { constructor() { super(...arguments), this.name = "DomContentLoadedSubject", this.init = () => { if (o.consoleLog("DomContentLoadedSubject init called"), document.readyState === "complete") { o.consoleLog("DomContentLoadedSubject fail-safe triggered when readyState:", document.readyState), this.trigger(); return; } o.consoleLog("DomContentLoadedSubject registered when readyState:", document.readyState), document.addEventListener("DOMContentLoaded", (e) => { o.consoleLog("DOMContentLoaded event:", e), this.trigger(); }); }; } } const De = new mt(); De.activate(); const vt = 5; class yt extends N { constructor() { super(...arguments), this.name = "TcfReadySubject", this.tcfCheckCount = 0, this.init = () => { if (this.tcfCheckCount > vt) { o.consoleWarn("tcf not found on page"); return; } this.tcfCheckCount++, this.checkTCF() ? __tcfapi("addEventListener", 2, (e) => { console.log(e), o.consoleLog("tcf->tcData", e), this.setDataAndTrigger(this.tcData); }) : setTimeout(() => { this.init(); }, 500); }; } checkTCF() { let e = typeof window.__tcfapi < "u" && typeof window.__tcfapi == "function" && window.__tcfapi !== "undefined"; if (e) return e; try { e = typeof window.frames < "u" && typeof window.frames.__tcfapi < "u"; } catch { } return e; } } const Ze = new yt(); De.subscribe(() => { Ze.activate(); }); const He = "complete"; class wt extends N { constructor() { super(...arguments), this.name = "DomReadyStateCompleteSubject", this.init = () => { if (o.consoleLog(`DomReadyStateCompleteSubject init called. document.readyState: ${document.readyState}`), document.readyState === He) { o.consoleLog(`${this.name} document.readyState is already ${document.readyState}`), this.trigger(); return; } document.addEventListener("readystatechange", (e) => { document.readyState === He && (o.consoleLog(`${this.name} document.readyState became ${document.readyState} event:`, e), this.trigger()); }); }; } } const Ke = new wt(); Ke.activate(); const Ne = "interactive", _t = "complete"; class St extends N { constructor() { super(...arguments), this.name = "DomReadyStateInteractiveSubject", this.init = () => { if (document.readyState === _t || document.readyState === Ne) { o.consoleLog(`${this.name} document.readyState is already ${document.readyState}`), this.trigger(); return; } document.addEventListener("readystatechange", (e) => { document.readyState === Ne && (o.consoleLog(`${this.name} document.readyState became ${document.readyState} event:`, e), this.trigger()); }); }; } } const It = new St(); It.activate(); class At extends N { constructor() { super(...arguments), this.name = "WindowUrlChangedSubject", this.init = () => { window == null || window.addEventListener("popstate", (e) => { o.consoleLog("popstate", e), this.trigger(); }), window == null || window.addEventListener("hashchange", (e) => { o.consoleLog("hashchange", e), this.trigger(); }); }; } } const Et = new At(); Et.activate(); o.setLogPrefix("domain-client"); class xt { constructor() { this.waiting = [], this.executed = [], this.isProcessing = !1, this.canProcess = !1; } push(e) { const s = this.waiting.push(e); return !this.isProcessing && this.canProcess && this.processQueue(), s; } processQueue() { if (this.isProcessing) { o.consoleLog("already processing queue"); return; } this.isProcessing && (this.isProcessing = !0); try { for (; this.waiting.length > 0; ) { const e = this.waiting.shift(); let s = !1, t = null; try { e && e(); } catch (a) { s = !0, t = a, o.consoleError("processQueue error", a); } this.executed.push({ command: e, hasError: s, exception: t }); } } catch (e) { o.consoleError(e); } finally { this.isProcessing = !1; } } } class Dt { constructor() { this.cmd = new xt(), this.components = {}, this.isInitialized = !1, this.isRegen = !1, this.doesCookieExists = fe.cookieHelper.doesCookieExists, Ke.subscribe(() => { this.cmd.canProcess = !0, this.processQueue(); }), De.subscribe(() => { this.cmd.canProcess = !0, this.processQueue(); }); } addComponent(e) { this.components[e.key] && o.consoleWarn("another service already exists with same key:", e), this.components[e.key] = e, o.consoleLog("adding a new service finished", e); } get(e) { return this.components[e]; } processQueue() { this.cmd.processQueue(); } } let Fe = !1; function Pt() { if (Fe) return; Fe = !0; const i = new Dt(); i.isInitialized = !0; const e = window.domainTag; if (window.domainTag = i, e) for (i.isRegen = !0; e.cmd && e.cmd.length > 0; ) { const s = e.cmd.shift(); s && i.cmd.push(s); } } class Rt { constructor() { this.doesCookieExists = fe.cookieHelper.doesCookieExists; } } window.domainCountry = "world"; window.googletag = window.googletag || { cmd: [] }; window.pbjs = window.pbjs || {}; window.pbjs.que = window.pbjs.que || []; window.domainDevice = new g.DeviceTypeInfo(); window.domainTag = window.domainTag || { cmd: [] }; window.domainAdsConfForDesktop = window.domainAdsConfForDesktop || { isEnabled: !0, targetingMap: {}, isAdxEnabled: !0 }; Pt(); const zt = "fluid", kt = ["fluid"]; class Lt { constructor(e) { this.createdAt = /* @__PURE__ */ new Date(), this.eventData = e; } } class Bt { constructor(e) { this.createdAt = /* @__PURE__ */ new Date(), this.eventData = e; } } class Ct { constructor(e) { this.createdAt = /* @__PURE__ */ new Date(), this.eventData = e; } } class Ut { constructor(e) { this.createdAt = /* @__PURE__ */ new Date(), this.eventData = e; } } class jt { constructor(e) { this.createdAt = /* @__PURE__ */ new Date(), this.eventData = e; } } class Tt { constructor(e) { this.createdAt = /* @__PURE__ */ new Date(), this.eventData = e; } } class Je { constructor() { this.isEmpty = !0; } } class Ot extends N { constructor() { super(...arguments), this.name = "SlotRenderEndedSubject", this.init = () => { }; } } const E = class E { }; E.single_300x600 = [300, 600], E.single_300x250 = [300, 250], E.single_970x250 = [970, 250], E.single_1x1 = [1, 1], E.general_1x1 = [E.single_1x1], E.general_300x600 = [E.single_300x250], E.general_970x250 = [E.single_970x250], E.prebid_970x250 = [E.single_970x250], E.prebid_300x600 = [E.single_300x600], E.prebid_300x250 = [E.single_300x250], E.desktop_PageSkin_Top = E.general_1x1, E.desktop_Masthead = [[1, 1], [728, 90], [960, 90], [960, 250], [970, 90], [970, 250]], E.desktop_Tower = [[1, 1], [120, 600], [160, 600], [300, 600]], E.desktop_GenBodyBox = [[300, 600], [300, 250], [250, 250], [200, 200]], E.desktop_Gen_300x250 = [[200, 200], [250, 250], [300, 50], [300, 100], [300, 250], [320, 50], [320, 100], [320, 150]], E.desktop_Widget_300x250 = [[336, 280], [300, 250], [250, 250], [200, 200]], E.desktop_Widget_336x280 = [[336, 280], [300, 250], [250, 250], [200, 200]], E.desktop_GenBodyBox_300x250 = [[300, 250], [250, 250], [200, 200]], E.desktop_Intext = [[1, 1], [200, 200], [250, 250], [300, 250], [336, 280], [640, 480]], E.desktop_And_Mobile_Nativo = [[1, 1], "fluid"], E.mobile_Generic = [[1, 1], [200, 200], [250, 250], [300, 50], [300, 100], [300, 250], [320, 50], [320, 100], [320, 150], "fluid"], E.mobile_Generic_v2 = [[200, 200], [250, 250], [300, 50], [300, 100], [300, 250], [320, 50], [320, 100], [320, 150], "fluid"]; let d = E; const x = class x { }; x.single_300x600 = [300, 600], x.single_300x250 = [300, 250], x.single_970x250 = [970, 250], x.single_1x1 = [1, 1], x.general_1x1 = [x.single_1x1], x.general_300x600 = [x.single_300x250], x.general_970x250 = [x.single_970x250], x.prebid_970x250 = [x.single_970x250], x.prebid_300x600 = [x.single_300x600], x.prebid_300x250 = [x.single_300x250], x.desktop_PageSkin_Top = d.general_1x1, x.desktop_Masthead = [[1, 1], [728, 90], [960, 90], [960, 250], [970, 90], [970, 250]], x.desktop_Tower = [[160, 600]], x.desktop_GenBodyBox = [[300, 600], [300, 250], [250, 250], [200, 200]], x.desktop_Gen_300x250 = [[200, 200], [250, 250], [300, 50], [300, 100], [300, 250], [320, 50], [320, 100], [320, 150]], x.desktop_Widget_300x250 = [[336, 280], [300, 250], [250, 250], [200, 200]], x.desktop_Widget_336x280 = [[336, 280], [300, 250], [250, 250], [200, 200]], x.desktop_GenBodyBox_300x250 = [[300, 250], [250, 250], [200, 200]], x.desktop_Intext = [[1, 1], [200, 200], [250, 250], [300, 250], [336, 280], [640, 480]], x.desktop_And_Mobile_Nativo = [[1, 1]], x.mobile_Interstitail = [[1, 1], [300, 250], [320, 480], [336, 280]], x.mobile_Generic = [[1, 1], [200, 200], [250, 250], [300, 50], [300, 100], [300, 250], [320, 50], [320, 100], [320, 150], [336, 280]], x.mobile_dikey = [[1, 1], [200, 200], [250, 250], [300, 50], [300, 100], [300, 250], [320, 50], [320, 100], [320, 150], [336, 280]]; let We = x; var b = /* @__PURE__ */ ((i) => (i.banner = "banner", i.outOfPage_Interstitial = "interstitial", i.outOfPage_BottomAnchor = "bottom-anchor", i.outOfPage_TopAnchor = "top-anchor", i))(b || {}), _ = /* @__PURE__ */ ((i) => (i.none = "none", i.nativo = "nativo", i.intext = "intext", i.rewarded = "rewarded", i.loadMore = "loadMore", i))(_ || {}), v = /* @__PURE__ */ ((i) => (i.none = "none", i.sra = "sra", i.trigger = "trigger", i.intersectionObserverBasedLazyLoad = "intersection_observer_lazy_load", i.gptLazyLoad = "gpt_lazy_load", i.domContentLoaded = "dom_content_loaded", i))(v || {}); class qt { constructor() { this._isPbjsInitialRequestExecuted = !1, this._isPbjsAdUnitAdded = !1; } get isPbjsInitialRequestExecuted() { return this._isPbjsInitialRequestExecuted; } set isPbjsInitialRequestExecuted(e) { this._isPbjsInitialRequestExecuted = e; } get isPbjsAdUnitAdded_TimeStame() { return this._isPbjsAdUnitAdded_TimeStame; } set isPbjsAdUnitAdded_TimeStame(e) { this._isPbjsAdUnitAdded_TimeStame = e; } get isPbjsAdUnitAdded() { return this._isPbjsAdUnitAdded; } set isPbjsAdUnitAdded(e) { this.isPbjsAdUnitAdded_TimeStame = T.dateTime.getTimeStamp(), this._isPbjsAdUnitAdded = e; } get lastRequestedAt() { return this._lastRequestedAt; } set lastRequestedAt(e) { this._lastRequestedAt = e; } } class Mt { constructor() { this._isDefineSlotExecuted = !1, this._isDisplaySlotExecuted = !1, this._isRefreshSlotExecuted = !1; } get isDefineSlotExecuted() { return this._isDefineSlotExecuted; } set isDefineSlotExecuted(e) { this._isDefineSlotExecuted = e; } get isDisplaySlotExecuted() { return this._isDisplaySlotExecuted; } set isDisplaySlotExecuted(e) { this._isDisplaySlotExecuted = e; } get refreshSlotExecutedAt() { return this._refreshSlotExecutedAt; } set refreshSlotExecutedAt(e) { this._refreshSlotExecutedAt = e; } get isRefreshSlotExecuted() { return this._isRefreshSlotExecuted; } set isRefreshSlotExecuted(e) { this.refreshSlotExecutedAt = T.dateTime.getTimeStamp(), this._isRefreshSlotExecuted = e; } get gptSlotRenderEndedEvent() { return this._gptSlotRenderEndedEvent; } set gptSlotRenderEndedEvent(e) { this._gptSlotRenderEndedEvent = e; } get gptSlotRequestedEvent() { return this._gptSlotRequestedEvent; } set gptSlotRequestedEvent(e) { this._gptSlotRequestedEvent = e; } get gptSlotOnloadEvent() { return this._gptSlotOnloadEvent; } set gptSlotOnloadEvent(e) { this._gptSlotOnloadEvent = e; } get gptImpressionViewableEvent() { return this._gptImpressionViewableEvent; } set gptImpressionViewableEvent(e) { this._gptImpressionViewableEvent = e; } get gptSlotResponseReceivedEvent() { return this._gptSlotResponseReceivedEvent; } set gptSlotResponseReceivedEvent(e) { this._gptSlotResponseReceivedEvent = e; } get gptSlotVisibilityChangedEvent() { return this._gptSlotVisibilityChangedEvent; } set gptSlotVisibilityChangedEvent(e) { this._gptSlotVisibilityChangedEvent = e; } //#endregion } class Gt { constructor() { this._isCompleted = !1; } get isCompleted() { return this._isCompleted; } set isCompleted(e) { this._isCompleted = e; } get completedAt() { return this._completedAt; } set completedAt(e) { this._completedAt = e; } } class $t { constructor() { this._isCompleted = !1; } get isCompleted() { return this._isCompleted; } set isCompleted(e) { this.completedAt = T.dateTime.getTimeStamp(), this._isCompleted = e; } get completedAt() { return this._completedAt; } set completedAt(e) { this._completedAt = e; } } class Vt { constructor() { this._isProcessLockEnabled = !1; } get isProcessLockEnabled() { return this._isProcessLockEnabled; } set isProcessLockEnabled(e) { this._isProcessLockEnabled = e; } } class S { constructor(e) { this.gptState = new Mt(), this.pbjsState = new qt(), this.autoRefreshState = new Gt(), this.objectState = new Vt(), this.intersectionObserverState = new $t(), this.refreshTimeLimitInMs = 60 * 1e3, this.isEnabled = !0, this.sizes = [], this.isCollapseEmptyDivEnabled = !1, this.loadingStrategy = "none", this.isAutoRefreshEnabled_WhenPageUrlChanged = !1, this.isAutoRefreshEnabled = !1, this.specialUseCaseType = "none", this.specialUseCaseIndex = 0, this.sizeMappings = [], this.isPreBidEnabled = !1, this.prebidSizeLimits = [], this.allowedDevices = [], this.slotRenderEndedSubject = new Ot(), this.isDivStyleApplied = !1, this.type = e; } static builder(e) { return new S(e); } mustBeInitialized() { return this.objectState.isProcessLockEnabled ? (o.consoleLog(`adUnit ${this.divId} mustBeInitialized=false objectState.isProcessLockEnabled:`, this.objectState.isProcessLockEnabled), !1) : this.gptState.isDefineSlotExecuted ? (o.consoleLog(`adUnit ${this.divId} mustBeInitialized=false gptState.isDefineSlotExecuted:`, this.gptState.isDefineSlotExecuted), !1) : this.gptState.isDisplaySlotExecuted ? (o.consoleLog(`adUnit ${this.divId} mustBeInitialized=false gptState.isDisplaySlotExecuted:`, this.gptState.isDisplaySlotExecuted), !1) : this.isPreBidEnabled && this.pbjsState.isPbjsAdUnitAdded ? (o.consoleLog(`adUnit ${this.divId} mustBeInitialized=false pbjsState.isPbjsAdUnitAdded:`, this.pbjsState.isPbjsAdUnitAdded), !1) : this.isPreBidEnabled && this.pbjsState.isPbjsInitialRequestExecuted ? (o.consoleLog(`adUnit ${this.divId} mustBeInitialized=false pbjsState.isPbjsInitialRequestExecuted:`, this.pbjsState.isPbjsInitialRequestExecuted), !1) : this.gptSlot ? (o.consoleLog(`adUnit ${this.divId} mustBeInitialized=false gptSlot:`, this.gptSlot), !1) : (o.consoleLog(`adUnit ${this.divId} mustBeInitialized=true`), !0); } //in milliseccond canBeRefreshed() { var e, s; if (!this.isAutoRefreshEnabled) return o.consoleLog(`adUnit ${this.divId} canBeRefreshed=false, isAutoRefreshEnabled:`, this.isAutoRefreshEnabled), !1; if (this.objectState.isProcessLockEnabled) return o.consoleLog(`adUnit ${this.divId} canBeRefreshed=false, objectState.isProcessLockEnabled:`, this.objectState.isProcessLockEnabled), !1; if (this.gptState.isRefreshSlotExecuted && this.gptState.refreshSlotExecutedAt) { const t = T.dateTime.getTimeStamp() - this.gptState.refreshSlotExecutedAt; if (t < this.refreshTimeLimitInMs) return o.consoleLog(`adUnit ${this.divId} canBeRefreshed=false, gptState.refreshSlotExecutedAt timeDif:`, t), !1; } if (this.mustBeInitialized()) return o.consoleLog(`adUnit ${this.divId} canBeRefreshed=false, mustBeInitialized:`, this.mustBeInitialized()), !1; if (this.gptState.gptImpressionViewableEvent && this.gptState.gptImpressionViewableEvent.eventData) { const t = T.dateTime.getTimeStamp() - this.gptState.gptImpressionViewableEvent.createdAt.getTime(); if (t < this.refreshTimeLimitInMs) return o.consoleLog(`adUnit ${this.divId} canBeRefreshed=false, gptState.gptImpressionViewableEvent.createdAt timeDif:`, t), !1; } if (this.gptState.gptSlotVisibilityChangedEvent && this.gptState.gptSlotVisibilityChangedEvent.eventData && ((e = this.gptState.gptSlotVisibilityChangedEvent.eventData) == null ? void 0 : e.inViewPercentage) <= 0) return o.consoleLog(`adUnit ${this.divId} canBeRefreshed=false, gptState.gptSlotVisibilityChangedEvent.eventData.inViewPercentage:`, (s = this.gptState.gptSlotVisibilityChangedEvent.eventData) == null ? void 0 : s.inViewPercentage), !1; if (this.intersectionObserverState.isCompleted && this.intersectionObserverState.completedAt) { const t = T.dateTime.getTimeStamp() - this.intersectionObserverState.completedAt; if (t < this.refreshTimeLimitInMs) return o.consoleLog(`adUnit ${this.divId} canBeRefreshed=false, intersectionObserverState.completedAt timeDif:`, t), !1; } if (this.autoRefreshState.isCompleted && this.autoRefreshState.completedAt) { const t = T.dateTime.getTimeStamp() - this.autoRefreshState.completedAt; if (t < this.refreshTimeLimitInMs) return o.consoleLog(`adUnit ${this.divId} canBeRefreshed=false, autoRefreshState.completedAt timeDif:`, t), !1; } return o.consoleLog(`adUnit ${this.divId} canBeRefreshed=true`, this), !0; } setSpecialUseCaseIndex(e) { return this.specialUseCaseIndex = e, this; } setSpecialUseCase(e) { return this.specialUseCaseType = e, this; } setIsEnabled(e) { return this.isEnabled = e, this; } setAdUnitPath(e) { return this.adUnitPath = e, this; } setSizes(e) { return this.sizes = e, this; } addSizeMapping(e, s) { return this.sizeMappings.push({ viewport: e, sizes: s }), this; } setDeviceType(e) { return this.allowedDevices = e, this; } setDivId(e) { return this.divId = e, this; } setDivStyleAfterRequest(e) { return this.divStyle = e, this; } setCollapseEmptyDivEnabled(e) { return this.isCollapseEmptyDivEnabled = e, this; } setLoadingStrategy(e) { return this.loadingStrategy = e, this; } setIsAutoRefreshEnabled(e) { return this.isAutoRefreshEnabled = e, this; } setIsAutoRefreshEnabled_WhenPageUrlChanged(e) { return this.isAutoRefreshEnabled_WhenPageUrlChanged = e, this; } setType(e) { return this.type = e, this; } setGptSlot(e) { return this.gptSlot = e, this; } setIsPrebidEnabled(e) { return this.isPreBidEnabled = e, this; } setPrebidSizeLimits(e) { return this.prebidSizeLimits = e, this; } setBidders(e) { return this.calculatedBidders = e, this; } setBidderHelper(e) { return this.bidderHelper = e, this; } setBidderCustomParam(e, s) { var t; return this.isPreBidEnabled && ((t = this.bidderHelper) != null && t.bidders) && this.bidderHelper.bidders.forEach((a) => { a.code === e && (a.params = { ...a.params, ...s }); }), this; } onSlotRenderEnded(e) { return this.slotRenderEndedSubject.subscribe(e), this; } //#endregion //#region gpt event data setters --> setGptSlotRenderEndedEventData(e) { this.gptState.gptSlotRenderEndedEvent = new Lt(e); const s = new Je(); return s.isEmpty = e.isEmpty, s.divId = this.divId, this.slotRenderEndedSubject.setDataAndTrigger(s), this; } setGptSlotRequestedEventData(e) { return this.gptState.refreshSlotExecutedAt = T.dateTime.getTimeStamp(), this.gptState.gptSlotRequestedEvent = new Bt(e), this; } setGptSlotOnloadEventData(e) { return this.gptState.gptSlotOnloadEvent = new Ct(e), this; } setGptImpressionViewableEventData(e) { return this.gptState.gptImpressionViewableEvent = new Ut(e), this; } setGptSlotResponseReceivedEventData(e) { return this.gptState.refreshSlotExecutedAt = T.dateTime.getTimeStamp(), this.gptState.gptSlotResponseReceivedEvent = new jt(e), this; } setGptSlotVisibilityChangedEventData(e) { return this.gptState.gptSlotVisibilityChangedEvent = new Tt(e), this; } applyDivStyle() { if (!this.isDivStyleApplied) if (this.divStyle !== void 0) { const e = document.getElementById(this.divId); if (e) { e.setAttribute("style", this.divStyle), this.isDivStyleApplied = !0; return; } o.consoleWarn(`${this.divId} elem is not found and style will not be applied`); } else o.consoleWarn(`${this.divId} elem is found but style will not be applied style:`, this.divStyle); } /** Build and validate adUnit*/ build() { var e, s; if (this.loadingStrategy === "none") return o.throwError(`AdLoadingStrategy is not defined for ${this.divId} ${this.adUnitPath}`), this; if (!this.adUnitPath) return o.consoleError(`adUnitPath not defined for ${this.divId} ${this.adUnitPath}`), this; if (!this.divId && this.type == "banner") return o.throwError("divId not defined"), this; if (this.isPreBidEnabled) { if (this.calculatedBidders = (e = this.bidderHelper) == null ? void 0 : e.filterBySizeAndDevice(this.prebidSizeLimits, this.allowedDevices), !(this.calculatedBidders && ((s = this.calculatedBidders) == null ? void 0 : s.length) > 0)) return o.throwError(`bidders could not be calculated for ${this.divId} ${this.adUnitPath}`), this; const t = {}; t.code = this.adUnitPath, t.mediaTypes = { banner: { sizes: this.prebidSizeLimits } }, t.bids = this.calculatedBidders.map((u) => u.toBidObj()), this.pbjsAdUnit = t; const a = {}; a.slotID = this.divId, a.slotName = this.adUnitPath, a.sizes = this.prebidSizeLimits, this.apsSlot = a; } return this; } } const Ht = { enabled: !0, gpt: { autoconfig: !1 }, defaultForSlots: 1, bidders: ["criteo", "rtbhouse"] }, Nt = { enabled: !0, bidders: ["criteo", "rtbhouse"], defaultForSlots: 1 }, Xe = { criteo: { fastBidVersion: "latest" }, fledgeForGpt: Nt, paapi: Ht, currency: { adServerCurrency: "TRY" }, consentManagement: void 0, gvlMapping: null, priceGranularity: { buckets: [ { precision: 2, min: 0, max: 10, increment: 0.01 }, { precision: 2, min: 10, max: 25, increment: 0.05 }, { precision: 2, min: 25, max: 50, increment: 0.1 }, { precision: 2, min: 50, max: 100, increment: 0.25 } ] }, userSync: { userIds: [ { name: "yandex", bidders: ["yandex"], storage: { type: "cookie", name: "_ym_uid", expires: 365 } }, { name: "pubCommonId", storage: { type: "cookie", name: "_pubcid", expires: 60 } } ], syncDelay: 3e3 // 3 seconds after the first auction } }, Ft = { gdpr: { cmpApi: "iab", defaultGdprScope: !0, allowAuctionWithoutConsent: !0, //suppress auctions if there's no GDPR consent string timeout: 3e3, rules: [{ purpose: "storage", enforcePurpose: !0, enforceVendor: !0, vendorExceptions: ["yandex"] }, { purpose: "basicAds", enforcePurpose: !0, enforceVendor: !0, vendorExceptions: ["yandex"] }, { purpose: "measurement", enforcePurpose: !0, enforceVendor: !0, vendorExceptions: ["yandex"] }, { purpose: "personalizedAds", enforcePurpose: !0, enforceVendor: !0, vendorExceptions: ["yandex"] }] }, usp: { cmpApi: "iab", timeout: 1e3 } }, Wt = { yandex: 9855524 }, Xt = { taboola: { storageAllowed: !0 } }; class Qt extends N { constructor() { super(...arguments), this.name = "FirstSlotRenderEndedSubject", this.mustBeTriggeredOnce = !0, this.onAfterTrigger = () => { setTimeout(() => { const e = new CustomEvent("adRunner_SlotRenderEnded"); dispatchEvent(e); }, 6e3); }, this.init = () => { }; } } const xe = new Qt(); xe.activate(); class Yt { constructor() { this.eventTime = /* @__PURE__ */ new Date(); } } class Zt extends N { constructor() { super(...arguments), this.name = "PageClientExecutionEndedSubject", this.mustBeTriggeredOnce = !0, this.onAfterTrigger = () => { setTimeout(() => { const e = new CustomEvent("adRunner_SlotRenderEnded"); dispatchEvent(e); }, 6e3); }, this.init = () => { this.subscribe(() => { const e = new CustomEvent("PageClientExecutionEnded"); dispatchEvent(e); }); }; } } const et = new Zt(); et.activate(); const Kt = se.uuidStr, Qe = 1e3, Jt = 2e3; class es { constructor() { this.adserverRequestSent = !1, this.aps = !1, this.prebid = !1, this.err_pbjsRequestIds_AlreadExists = !1, this.err_pbjsResponseIds_AlreadExists = !1; } } class tt { constructor(e, s) { this.isEnabled = !0, this.targeting = {}, this.adUnits = {}, this.isAutoRefreshEnabled = !1, this.isAutoRefreshRunning = !1, this.autoRefreshIntervalInMs = 45 * 1e3, this.outPageAdUnitTypes = [ b.outOfPage_BottomAnchor, b.outOfPage_Interstitial, b.outOfPage_TopAnchor ], this.pbjsRequestIds = /* @__PURE__ */ new Set(), this.pbjsResponseIds = /* @__PURE__ */ new Set(), this.intersectionObserver_RootMargin = "400px", this.intersectionObserver_VisibleIntersectionRatio = 0.5, this.intersectionObserver_MinInterSectionRatio = 0.01, this.intersectionObserver_Thresholds = [this.intersectionObserver_MinInterSectionRatio, this.intersectionObserver_VisibleIntersectionRatio], this.intersectionObserver_Options = { root: null, //root:document.body, rootMargin: this.intersectionObserver_RootMargin, threshold: this.intersectionObserver_Thresholds }, this.intersectionObserver_VisibleDivIds = /* @__PURE__ */ new Set(), this.isExecuteCompleted = !1, this.pageType = s, this.deviceType = e, this.indexer = `${this.deviceType}-${this.pageType}`, this.isEnabled && this.init(); } setAdsConfAndApply(e) { return this.adsConf = e, this.adsConf && (o.consoleLog("custom adsConf has been applied", this.adsConf), this.isEnabled = this.adsConf.isEnabled, this.mergeTargetingMap(this.adsConf.targetingMap)), this; } setIsAutoRefreshEnabled(e) { return this.isAutoRefreshEnabled = e, this; } getIsAutoRefreshEnabled() { return this.isAutoRefreshEnabled; } //#endregion setIsEnabled(e) { return this.isEnabled = e, this; } setTargeting(e, s) { return this.targeting[e] = s, this; } mergeTargetingMap(e) { return e ? (Object.keys(e).forEach((s) => { this.targeting[s] = e[s]; }), this) : this; } setTargetingMap(e) { return this.targeting = e, this; } applyAdUnit(e) { if (!e.isEnabled) return !1; if (e.setDeviceType([this.deviceType]), e.build()) return this.adUnits[e.divId] = e, !0; o.consoleError("adUnit could not be initialized", e); } getAdUnitByDivId(e) { return this.adUnits[e]; } filterAdUnits(e) { return Object.entries(this.adUnits).filter( (s) => { const t = s[1]; return !(!t.isEnabled || e != null && e.adUnitType && (e == null ? void 0 : e.adUnitType) !== t.type || e != null && e.adUnitTypes && e.adUnitTypes.length > 0 && !(e != null && e.adUnitTypes.includes(t.type)) || e != null && e.loadingStrategy && (e == null ? void 0 : e.loadingStrategy) !== t.loadingStrategy || e != null && e.excludeLoadingStrategies && (e != null && e.excludeLoadingStrategies.includes(t.loadingStrategy)) || e != null && e.loadingStrategies && (e == null ? void 0 : e.loadingStrategies.length) > 0 && !e.loadingStrategies.includes(t.loadingStrategy) || e != null && e.isPrebidEnabled && (e == null ? void 0 : e.isPrebidEnabled) !== t.isPreBidEnabled || e != null && e.specialUseCase && (e == null ? void 0 : e.specialUseCase) !== t.specialUseCaseType || e != null && e.allSpecialUseCases && _.none === t.specialUseCaseType || e != null && e.allOutOfPages && !this.outPageAdUnitTypes.includes(t.type) || e != null && e.isAutoRefreshEnabled && (e == null ? void 0 : e.isAutoRefreshEnabled) !== t.isAutoRefreshEnabled || e != null && e.excludeDivIds && e.excludeDivIds.length > 0 && e.excludeDivIds.includes(t.divId) || e != null && e.divId && e.divId !== t.divId || e != null && e.divIds && !e.divIds.includes(t.divId) || e != null && e.mustBeInitialized && e.mustBeInitialized !== t.mustBeInitialized() || e != null && e.canBeRefreshed && !t.canBeRefreshed() || e != null && e.canBeRefreshed && !this.intersectionObserver_VisibleDivIds.has(t.divId) || e != null && e.specialUseCaseIndex && (e == null ? void 0 : e.specialUseCaseIndex) !== t.specialUseCaseIndex); } ).map(([, s]) => s); } updateAdUnit(e) { this.adUnits[e.divId] = e; } //#region gpt --> gptWindowObject() { window.googletag = window.googletag || { cmd: [] }; } gptIsReady() { return window.googletag && googletag.apiReady && googletag.pubadsReady; } executeAsGptCommand(e) { this.gptIsReady() ? e() : googletag.cmd.push(e); } executeAsPbjsCommand(e) { window.pbjs && pbjs.libloaded ? e() : pbjs.que.push(e); } gptRefreshAdUnits(e) { const s = e.filter((t) => t.gptSlot).map((t) => (t.gptState.isRefreshSlotExecuted = !0, this.updateAdUnit(t), t.gptSlot)); if (!s || s.length == 0) { o.consoleWarn("gptRefreshAdUnits ad unit slots are empty", e); return; } googletag.pubads().refresh(s); } gptDisplayAdUnit(e) { o.consoleLog("GPT: display called adUnit.divId:", e.divId), e.gptState.isDisplaySlotExecuted = !0, e.gptSlot ? googletag.display(e.gptSlot) : o.consoleWarn("GPT: display canceled because slot is undefined adUnit.divId:", e.divId), this.updateAdUnit(e); } gptDisplayAdUnits(e) { e.forEach((s) => { this.gptDisplayAdUnit(s); }); } gptDefineSlot(e) { if (o.consoleLog("GPT: define slot called adUnit.divId:", e.divId), e.gptState.isDefineSlotExecuted && e.gptSlot) { o.consoleLog("GPT: define slot already called for adUnit.divId:", e.divId); return; } e.gptState.isDefineSlotExecuted = !0; let s; if (e.type === b.banner) { if (s = googletag.defineSlot(e.adUnitPath, e.sizes, e.divId), s) { if (s.addService(googletag.pubads()), s.setCollapseEmptyDiv(e.isCollapseEmptyDivEnabled), e.sizeMappings && e.sizeMappings.length > 0) { const t = googletag.sizeMapping(); e.sizeMappings.map((u) => { t.addSize(u.viewport, u.sizes); }); const a = t.build(); a && s.defineSizeMapping(a); } o.consoleLog(`gptSlot created for ${e.adUnitPath}`), e.setGptSlot(s); } } else e.type === b.outOfPage_Interstitial ? (s = googletag.defineOutOfPageSlot(e.adUnitPath, e.divId), s && (s.addService(googletag.pubads()), o.consoleLog(`gptSlot created for ${e.adUnitPath}`), e.setGptSlot(s))) : e.type === b.outOfPage_BottomAnchor ? (s = googletag.defineOutOfPageSlot(e.adUnitPath, googletag.enums.OutOfPageFormat.BOTTOM_ANCHOR), s && (s.addService(googletag.pubads()), o.consoleLog(`gptSlot created for ${e.adUnitPath}`), e.setGptSlot(s))) : e.type === b.outOfPage_TopAnchor && (s = googletag.defineOutOfPageSlot(e.adUnitPath, googletag.enums.OutOfPageFormat.TOP_ANCHOR), s && (s.addService(googletag.pubads()), o.consoleLog(`gptSlot created for ${e.adUnitPath}`), e.setGptSlot(s))); s || o.consoleError(`gptSlot could not be created for ${e.adUnitPath}`), this.updateAdUnit(e); } gptEnableServices() { googletag.pubads().collapseEmptyDivs(!1), googletag.pubads().disableInitialLoad(), googletag.pubads().enableSingleRequest(), googletag.enableServices(); } gptSetTargeting() { Object.entries(this.targeting).forEach((s) => { googletag.pubads().setTargeting(s[0], s[1]); }); } gptRegisterEvents() { this.executeAsGptCommand(() => { googletag.pubads().addEventListener("slotRenderEnded", (e) => { const t = e.slot.getSlotElementId(); o.consoleLog(`"GPT:slotRenderEnded for ${t}`, e); const a = this.adUnits[t]; if (a && (a.setGptSlotRenderEndedEventData(e), this.updateAdUnit(a)), !xe.isTriggered) { const u = new Je(); u.divId = t, u.isEmpty = e.isEmpty, xe.setDataAndTrigger(u); } }), googletag.pubads().addEventListener("slotVisibilityChanged", (e) => { const t = e.slot.getSlotElementId(); o.consoleLog(`"GPT:slotVisibilityChanged for ${t}`, e); const a = this.adUnits[t]; a && (a.setGptSlotVisibilityChangedEventData(e), this.updateAdUnit(a)); }), googletag.pubads().addEventListener("slotRequested", (e) => { const t = e.slot.getSlotElementId(); o.consoleLog(`"GPT:slotRequested for ${t}`, e); const a = this.adUnits[t]; a && (a.objectState.isProcessLockEnabled = !0, a.setGptSlotRequestedEventData(e), this.updateAdUnit(a)); }), googletag.pubads().addEventListener("slotResponseReceived", (e) => { const t = e.slot.getSlotElementId(); o.consoleLog(`"GPT:slotResponseReceived for ${t}`, e); const a = this.adUnits[t]; a && (a.objectState.isProcessLockEnabled = !1, a.setGptSlotResponseReceivedEventData(e), this.updateAdUnit(a)); }), googletag.pubads().addEventListener("impressionViewable", (e) => { const t = e.slot.getSlotElementId(); o.consoleLog(`"GPT:impressionViewable for ${t}`, e); const a = this.adUnits[t]; a && (a.setGptImpressionViewableEventData(e), this.updateAdUnit(a)); }), googletag.pubads().addEventListener("slotOnload", (e) => { const t = e.slot.getSlotElementId(); o.consoleLog(`"GPT:slotOnload for ${t}`, e); const a = this.adUnits[t]; a && (a.setGptSlotOnloadEventData(e), this.updateAdUnit(a)); }); }); } pbjsWindowObject() { o.consoleLog("pbjsWindowObject called"), window.pbjs = window.pbjs || {}, window.pbjs.que = window.pbjs.que || []; } pbjsSetDefaultConfig() { o.consoleLog("pbjsSetDefaultConfig called"), pbjs.setConfig(Xe), pbjs.bidderSettings = Xt; } pbjsSetConfig(e) { o.consoleLog("pbjsSetConfig called"), this.executeAsPbjsCommand(() => { pbjs.setConfig(e); }); } pbjsMergeConfig(e) { o.consoleLog("pbjsMergeConfig called"), this.executeAsPbjsCommand(() => { pbjs.mergeConfig(e); }); } pbjsEnsureAdUnitsAdded(e) { if (o.consoleLog("pbjsAddAdUnits called", e), e && e.length > 0) { const s = pbjs.adUnits.map((a) => a.code), t = e.filter((a) => !s.includes(a.adUnitPath)).map((a) => (a.pbjsState.isPbjsAdUnitAdded = !0, this.updateAdUnit(a), o.consoleLog("pbjsAddAdUnits will add", a), a.pbjsAdUnit)); t && t.length > 0 && pbjs.addAdUnits(t); } } pbjsRefreshGptSlots(e, s, t, a = !1) { if (o.consoleLog(`pbjsRefreshGptSlots called correlationId: ${s}, isFailSafeCall:${a} adUnits:`, t), !this.pbjsRequestIds.has(s)) { this.pbjsRequestIds.add(s), o.consoleLog(`first use ${this.pbjsRefreshGptSlots.name}`), e.err_pbjsRequestIds_AlreadExists = !0; return; } if (this.pbjsResponseIds.has(s)) { o.consoleLog(`reqRes correlation id already exists ${s} isFailSafeCall:${a}`), e.err_pbjsResponseIds_AlreadExists = !0; return; } this.pbjsResponseIds.add(s), e.adserverRequestSent !== !0 && (e.adserverRequestSent = !0, this.executeAsGptCommand(() => { pbjs.setTargetingForGPTAsync(); const u = googletag.pubads().getSlots().filter((m) => t.includes(m.getAdUnitPath())); o.consoleLog("GPT slots:", u), u.length !== t.length && o.consoleError("adUnit codes and slots do not match", t), googletag.pubads().refresh(u); })); } apstagRefreshSlots(e, s, t = !1) { if (o.consoleLog(`apstagRefreshSlots called correlationId: ${e.correlationId}, isFailSafeCall:${t} adUnits:`, s), !this.pbjsRequestIds.has(e.correlationId)) { this.pbjsRequestIds.add(e.correlationId), o.consoleLog(`first use ${this.pbjsRefreshGptSlots.name}`), e.err_pbjsRequestIds_AlreadExists = !0; return; } if (this.pbjsResponseIds.has(e.correlationId)) { o.consoleLog(`reqRes correlation id already exists ${e.correlationId} isFailSafeCall:${t}`), e.err_pbjsResponseIds_AlreadExists = !0; return; } this.pbjsResponseIds.add(e.correlationId), e.adserverRequestSent !== !0 && (e.adserverRequestSent = !0, this.executeAsGptCommand(() => { apstag.setDisplayBids(); const a = googletag.pubads().getSlots().filter((u) => s.includes(u.getAdUnitPath())); googletag.pubads().getSlots().forEach((u) => console.log(u.getAdUnitPath())), a.length !== s.length && o.consoleError("adUnit codes and slots do not match", s), googletag.pubads().refresh(a); })); } pbjsRequestBidsByPbjsAdUnits(e) { if (o.consoleLog("pbjsRequestBidsByPbjsAdUnits called", e), e === void 0 || e.length <= 0) { o.consoleError(`${this.pbjsRequestBidsByPbjsAdUnits.name} canceled. adUnits are undefined or empty`); return; } const s = e.map((m) => (m.pbjsState.lastRequestedAt = T.dateTime.getTimeStamp(), m.pbjsState.isPbjsInitialRequestExecuted || (m.pbjsState.isPbjsInitialRequestExecuted = !0), this.updateAdUnit(m), m.adUnitPath)), t = Kt(); this.pbjsRequestIds.add(t); const a = new es(); a.correlationId = t; const u = e.filter((m) => m.apsSlot).map((m) => m.apsSlot); u && u.length > 0 && this.executeAsGptCommand(() => { apstag.fetchBids( { timeout: Qe, slots: u }, (m) => { o.consoleLog(`apstag response for ${t} => bids:`, m), googletag.cmd.push(() => { apstag.setDisplayBids(), a.aps = !0, this.apstagRefreshSlots(a, s); }); } ); }), this.executeAsPbjsCommand(() => { this.pbjsEnsureAdUnitsAdded(e), o.consoleLog(`request sent for ${t}`), pbjs.requestBids({ timeout: Qe, adUnitCodes: s, bidsBackHandler: (m, k, U) => { o.consoleLog(`bisBackHandler response for ${t} => timeOut:${k}, auctionId:${U}, bids:`, m), a.prebid = !0, pbjs.setPAAPIConfigForGPT(), this.pbjsRefreshGptSlots(a, t, s); } }), setTimeout(() => { this.pbjsRefreshGptSlots(a, t, s, !0); }, Jt); }); } initIntersectionObserver() { if (this.intersectionObserver) return; o.consoleLog("initIntersectionObserver_ForLazyLoad called"); const e = this.filterAdUnits({ excludeLoadingStrategies: [v.trigger] }).map((s) => s.divId); e && e.length > 0 && (this.intersectionObserver = new IntersectionObserver((s) => { this.intersectionObserver_CallBack(s); }, this.intersectionObserver_Options), e.forEach((s) => { const t = document.getElementById(s); t && this.intersectionObserver.observe(t); })); } intersectionObserver_CallBack(e) { e.forEach((s) => { const t = s.target.id; if (s.isIntersecting) { if (o.consoleLog(`intersectionObserver: ${t} became visible intersectionRatio: ${s.intersectionRatio}`), this.intersectionObserver_VisibleDivIds.has(t)) return; this.intersectionObserver_VisibleDivIds.add(t); const a = this.filterAdUnits({ divId: t, mustBeInitialized: !0 }); o.consoleLog(`intersectionObserver: ${t} ad unit found to be initialized`, a), a.forEach((u) => { this.refreshOrInitializeAdUnit(u); }); } else this.intersectionObserver_VisibleDivIds.delete(t), o.consoleLog(`intersectionObserver: ${t} is not visible and will not be requested`); }); } //#endregion disableAndStopAutoRefresh() { this.setIsAutoRefreshEnabled(!1), this.autoRefreshRefId && clearInterval(this.autoRefreshRefId); } applyDivStyles() { this.filterAdUnits({ excludeLoadingStrategies: [v.trigger] }).forEach((s) => { s.applyDivStyle(); }); } initAutoRefresh() { o.consoleLog("initAutoRefresh called autoRefreshIntervalInMs:", this.autoRefreshIntervalInMs), this.isAutoRefreshEnabled && !this.autoRefreshRefId && (this.autoRefreshRefId = setInterval(() => { if (o.consoleLog("autoRefresh triggered", /* @__PURE__ */ new Date()), !this.gptIsReady()) { o.consoleLog("autoRefresh: GPT is not ready, will wait next autoRefresh cycle"); return; } if (this.isAutoRefreshRunning) return; this.isAutoRefreshRunning = !0; const e = this.filterAdUnits({ canBeRefreshed: !0 }); if (e && e.length > 0) { o.consoleLog("autoRefresh: ad units found to refresh", e); const s = e.filter((a) => a.isPreBidEnabled === !0); s && s.length > 0 && (o.consoleLog("autoRefresh: pbjsAdUnits to refresh", s), this.pbjsRequestBidsByPbjsAdUnits(s)); const t = e.filter((a) => a.isPreBidEnabled === !1); t && t.length > 0 && (o.consoleLog("autoRefresh: gptAdUnits to refresh", t), this.gptRefreshAdUnits(t)); } else o.consoleLog("autoRefresh: ad units not found to refresh"); this.isAutoRefreshRunning = !1; }, this.autoRefreshIntervalInMs)); } refreshOrInitializeAdUnit(e) { if (e.objectState.isProcessLockEnabled) { o.consoleLog("refreshOrInitializeAdUnit: adunit has proc lock and will not be refreshed", e.divId, e); return; } this.executeAsGptCommand(() => { e.objectState.isProcessLockEnabled = !0, e.isPreBidEnabled ? ((!e.gptState.isDefineSlotExecuted || !e.gptSlot) && this.gptDefineSlot(e), o.consoleLog("after gptDefineSlot", e.divId, e), e.gptState.isDisplaySlotExecuted || (o.consoleLog("in gptDisplayAdUnit", e.divId, e), this.gptDisplayAdUnit(e)), this.pbjsRequestBidsByPbjsAdUnits([e])) : (e.gptState.isDefineSlotExecuted || this.gptDefineSlot(e), e.gptState.isDisplaySlotExecuted || this.gptDisplayAdUnit(e), this.gptRefreshAdUnits([e])), e.objectState.isProcessLockEnabled = !1, this.updateAdUnit(e); }); } execute() { try { if (o.consoleLog("client execution started"), !this.isEnabled) { o.consoleLog("ads are disabled, client execution stopped"); return; } Ze.subscribe((a) => { if (a && a.gdprApplies) { const u = Xe; u.consentManagement = Ft, u.gvlMapping = Wt, this.pbjsMergeConfig(u); } }), this.gptWindowObject(), this.gptRegisterEvents(), this.executeAsGptCommand(() => { this.gptSetTargeting(); }); const e = this.filterAdUnits({ adUnitType: b.banner, loadingStrategy: v.sra }); e.forEach((a) => { a.objectState.isProcessLockEnabled = !0, this.updateAdUnit(a); }), this.executeAsGptCommand(() => { e.forEach((a) => { this.gptDefineSlot(a); }); }), this.executeAsGptCommand(() => { this.gptEnableServices(); }); const s = e.filter((a) => a.isPreBidEnabled && a.pbjsAdUnit); s && s.length > 0 && (this.pbjsWindowObject(), this.executeAsPbjsCommand(() => { this.pbjsSetDefaultConfig(); }), this.executeAsGptCommand(() => { this.gptDisplayAdUnits(s); }), this.pbjsRequestBidsByPbjsAdUnits(s)); const t = e.filter((a) => !a.isPreBidEnabled); t && t.length > 0 && this.executeAsGptCommand(() => { this.gptDisplayAdUnits(t), this.gptRefreshAdUnits(t); }), document.addEventListener("readystatechange", () => { document.readyState === "complete" && (this.applyDivStyles(), this.initIntersectionObserver()); }), document.addEventListener("DOMContentLoaded", () => { o.consoleLog("client execution domContentLoadedSubject started"), this.applyDivStyles(); const a = e && e.length > 0 ? e.map((m) => m.divId) : [], u = this.filterAdUnits({ loadingStrategy: v.domContentLoaded, excludeDivIds: a }); o.consoleLog("domContentLoadAdUnits data:", u), u && u.length > 0 && u.forEach((m) => { a.push(m.divId), this.refreshOrInitializeAdUnit(m); }), this.initIntersectionObserver(), setTimeout(() => { const m = this.filterAdUnits({ adUnitTypes: [b.outOfPage_Interstitial, b.outOfPage_BottomAnchor, b.outOfPage_TopAnchor], excludeDivIds: a }); o.consoleLog("outOfPAgeAdUnits data:", m), m && m.length > 0 && m.forEach((k) => { a.push(k.divId), this.refreshOrInitializeAdUnit(k); }); }, 500), this.initAutoRefresh(), o.consoleLog("client execution domContentLoadedSubject finished"), this.isExecuteCompleted = !0; }); } catch (e) { o.consoleError(e); } finally { o.consoleLog("client execution finished"), document.addEventListener("DOMContentLoaded", () => { et.setDataAndTrigger(new Yt()); }); } } } class A { constructor(e) { this.isEnabled = !1, this.params = {}, this.isAnyDeviceAllowed = !1, this.allowedDevices = [], this.isAnySizeAllowed = !1, this.allowedSizes = [], this.allowedPageTypes = [], this.code = e; } static builder(e) { return new A(e); } setIsEnabled(e) { return this.isEnabled = e, this; } setCode(e) { return this.code = e, this; } setParams(e) { return this.params = e, this; } //size --> setIsAnySizeAllowed(e) { return this.isAnySizeAllowed = e, this; } setAllowedSizes(e) { return this.isAnySizeAllowed = !1, this.allowedSizes = e, this; } //size <-- //device --> setIsAnyDeviceAllowed(e) { return this.isAnyDeviceAllowed = e, this; } setAllowedDevices(e) { return this.allowedDevices = e, this; } //device <-- toBidObj() { return { bidder: this.code, params: this.params }; } } class st { constructor() { this.bidders = new Array(); } addBidder(e) { this.bidders.push(e); } addBidders(e) { this.bidders.push(...e); } // filterBySizeArray(sizeArray: SingleSizeArray) { // const filteredBidders = new Array(); // for (let i = 0; i < sizeArray.length; i++) { // const size = sizeArray[i]; // // @ts-expect-error named obj // if (!Array.isArray(size) || size === NamedSize_Val1 || size === NamedSize_Val2) continue; // const tBidders = this.bidders.filter(b => b.isEnabled && (b.isAnySizeAllowed || // b.allowedSizes.filter((value) => value[0] === size[0] && value[1] === size[1]).length > 0) // ); // filteredBidders.push(...tBidders); // } // return filteredBidders; // } filterBySizeAndDevice(e, s) { const t = new Array(); for (let a = 0; a < e.length; a++) { const u = e[a]; if (!Array.isArray(u) || u === zt || u === kt) continue; const m = this.bidders.filter( (k) => k.isEnabled && (k.isAnyDeviceAllowed === !0 || k.allowedDevices.filter((U) => s.includes(U)).length > 0) && (k.isAnySizeAllowed === !0 || k.allowedSizes.filter((U) => U[0] === u[0] && U[1] === u[1]).length > 0) ); t.push(...m); } return t; } } const M = g.DeviceTypeInfo, C = new st(), ts = A.builder("adform").setIsEnabled(!0).setParams({ mid: 1231075 }).setIsAnyDeviceAllowed(!1).setAllowedDevices(M.desktopDevices).setIsAnySizeAllowed(!1).setAllowedSizes(d.prebid_300x250); C.addBidder(ts); const ss = A.builder("adform").setIsEnabled(!0).setParams({ mid: 1231145 }).setIsAnyDeviceAllowed(!1).setAllowedDevices(M.desktopDevices).setIsAnySizeAllowed(!1).setAllowedSizes(d.prebid_300x600); C.addBidder(ss); const is = A.builder("adform").setIsEnabled(!0).setParams({ mid: 1231146 }).setIsAnyDeviceAllowed(!1).setAllowedDevices(M.desktopDevices).setIsAnySizeAllowed(!1).setAllowedSizes(d.prebid_970x250); C.addBidder(is); const as = A.builder("adform").setIsEnabled(!0).setParams({ mid: 1231147 }).setIsAnyDeviceAllowed(!1).setAllowedDevices(M.mobileDevices).setAllowedSizes(d.prebid_300x250); C.addBidder(as); const os = A.builder("yandex").setIsEnabled(!0).setParams({ placementId: "R-A-2217816-1" }).setIsAnyDeviceAllowed(!1).setAllowedDevices(M.mobileDevices).setIsAnySizeAllowed(!1).setAllowedSizes(d.prebid_300x250); C.addBidder(os); const ns = A.builder("yandex").setIsEnabled(!0).setParams({ placementId: "R-A-2217816-1" }).setIsAnyDeviceAllowed(!1).setAllowedDevices(M.desktopDevices).setIsAnySizeAllowed(!1).setAllowedSizes(d.prebid_300x250); C.addBidder(ns); const ds = A.builder("yandex").setIsEnabled(!0).setParams({ placementId: "R-A-2217816-2" }).setIsAnyDeviceAllowed(!1).setAllowedDevices(M.desktopDevices).setIsAnySizeAllowed(!1).setAllowedSizes(d.prebid_300x600); C.addBidder(ds); const rs = A.builder("yandex").setIsEnabled(!0).setParams({ placementId: "R-A-2217816-3" }).setIsAnyDeviceAllowed(!1).setAllowedDevices(M.desktopDevices).setIsAnySizeAllowed(!1).setAllowedSizes(d.prebid_970x250); C.addBidder(rs); const ls = A.builder("admatic").setIsEnabled(!0).setParams({ networkId: 108266335578, host: "gkbjdy0uaftq.rtb.admatic.com.tr" }).setIsAnyDeviceAllowed(!0).setIsAnySizeAllowed(!1).setAllowedSizes(d.prebid_300x250); C.addBidder(ls); const cs = A.builder("admatic").setIsEnabled(!0).setParams({ networkId: 108266335578, host: "gkbjdy0uaftq.rtb.admatic.com.tr" }).setIsAnyDeviceAllowed(!1).setAllowedDevices(M.desktopDevices).setIsAnySizeAllowed(!1).setAllowedSizes(d.prebid_300x600); C.addBidder(cs); const us = A.builder("admatic").setIsEnabled(!0).setParams({ networkId: 108266335578, host: "gkbjdy0uaftq.rtb.admatic.com.tr" }).setIsAnyDeviceAllowed(!1).setAllowedDevices(M.desktopDevices).setIsAnySizeAllowed(!1).setAllowedSizes([[336, 280]]); C.addBidder(us); const ps = A.builder("admatic").setIsEnabled(!0).setParams({ networkId: 108266335578, host: "gkbjdy0uaftq.rtb.admatic.com.tr" }).setIsAnyDeviceAllowed(!0).setAllowedDevices(M.desktopDevices).setIsAnySizeAllowed(!1).setAllowedSizes(d.prebid_970x250); C.addBidder(ps); const bs = A.builder("taboola").setIsEnabled(!0).setParams({ publisherId: 1554971, tagId: "sozcuPrebidData_300_250" }).setIsAnyDeviceAllowed(!0).setIsAnySizeAllowed(!1).setAllowedSizes(d.prebid_300x250); C.addBidder(bs); const hs = A.builder("taboola").setIsEnabled(!0).setParams({ publisherId: 1554971, tagId: "sozcuPrebidData_300_600" }).setIsAnyDeviceAllowed(!0).setIsAnySizeAllowed(!1).setAllowedSizes(d.prebid_300x600); C.addBidder(hs); const fs = A.builder("taboola").setIsEnabled(!0).setParams({ publisherId: 1554971, tagId: "sozcuPrebidData_970_250" }).setIsAnyDeviceAllowed(!0).setIsAnySizeAllowed(!1).setAllowedSizes(d.prebid_970x250); C.addBidder(fs); const G = g.DeviceTypeInfo, B = new st(), gs = A.builder("rtbhouse").setIsEnabled(!0).setParams({ region: "prebid-eu", publisherId: "32e68c03e662a554d456" }).setIsAnyDeviceAllowed(!0).setIsAnySizeAllowed(!0); B.addBidder(gs); const ms = A.builder("adform").setIsEnabled(!0).setParams({ mid: 1231067 }).setIsAnyDeviceAllowed(!1).setAllowedDevices(G.desktopDevices).setIsAnySizeAllowed(!1).setAllowedSizes(d.prebid_300x250); B.addBidder(ms); const vs = A.builder("adform").setIsEnabled(!0).setParams({ mid: 1231068 }).setIsAnyDeviceAllowed(!1).setAllowedDevices(G.desktopDevices).setIsAnySizeAllowed(!1).setAllowedSizes(d.prebid_300x600); B.addBidder(vs); const ys = A.builder("adform").setIsEnabled(!0).setParams({ mid: 1231076 }).setIsAnyDeviceAllowed(!1).setAllowedDevices(G.desktopDevices).setIsAnySizeAllowed(!1).setAllowedSizes(d.prebid_970x250); B.addBidder(ys); const ws = A.builder("adform").setIsEnabled(!0).setParams({ mid: 1231143 }).setIsAnyDeviceAllowed(!1).setAllowedDevices(G.mobileDevices).setAllowedSizes(d.prebid_300x250); B.addBidder(ws); const _s = A.builder("yandex").setIsEnabled(!0).setParams({ placementId: "R-A-2217816-1" }).setIsAnyDeviceAllowed(!1).setAllowedDevices(G.mobileDevices).setIsAnySizeAllowed(!1).setAllowedSizes(d.prebid_300x250); B.addBidder(_s); const Ss = A.builder("yandex").setIsEnabled(!0).setParams({ placementId: "R-A-2217816-1" }).setIsAnyDeviceAllowed(!1).setAllowedDevices(G.desktopDevices).setIsAnySizeAllowed(!1).setAllowedSizes(d.prebid_300x250); B.addBidder(Ss); const Is = A.builder("yandex").setIsEnabled(!0).setParams({ placementId: "R-A-2217816-2" }).setIsAnyDeviceAllowed(!1).setAllowedDevices(G.desktopDevices).setIsAnySizeAllowed(!1).setAllowedSizes(d.prebid_300x600); B.addBidder(Is); const As = A.builder("yandex").setIsEnabled(!0).setParams({ placementId: "R-A-2217816-3" }).setIsAnyDeviceAllowed(!1).setAllowedDevices(G.desktopDevices).setIsAnySizeAllowed(!1).setAllowedSizes(d.prebid_970x250); B.addBidder(As); const Es = A.builder("admatic").setIsEnabled(!0).setParams({ networkId: 108266335578, host: "gkbjdy0uaftq.rtb.admatic.com.tr" }).setIsAnyDeviceAllowed(!0).setIsAnySizeAllowed(!1).setAllowedSizes(d.prebid_300x250); B.addBidder(Es); const xs = A.builder("admatic").setIsEnabled(!0).setParams({ networkId: 108266335578, host: "gkbjdy0uaftq.rtb.admatic.com.tr" }).setIsAnyDeviceAllowed(!1).setAllowedDevices(G.desktopDevices).setIsAnySizeAllowed(!1).setAllowedSizes(d.prebid_300x600); B.addBidder(xs); const Ds = A.builder("admatic").setIsEnabled(!0).setParams({ networkId: 108266335578, host: "gkbjdy0uaftq.rtb.admatic.com.tr" }).setIsAnyDeviceAllowed(!1).setAllowedDevices(G.desktopDevices).setIsAnySizeAllowed(!1).setAllowedSizes([[336, 280]]); B.addBidder(Ds); const Ps = A.builder("admatic").setIsEnabled(!0).setParams({ networkId: 108266335578, host: "gkbjdy0uaftq.rtb.admatic.com.tr" }).setIsAnyDeviceAllowed(!1).setAllowedDevices(G.desktopDevices).setIsAnySizeAllowed(!1).setAllowedSizes(d.prebid_970x250); B.addBidder(Ps); const Rs = A.builder("taboola").setIsEnabled(!0).setParams({ publisherId: 1554971, tagId: "sozcuPrebidData_300_250" }).setIsAnyDeviceAllowed(!0).setIsAnySizeAllowed(!1).setAllowedSizes(d.prebid_300x250); B.addBidder(Rs); const zs = A.builder("taboola").setIsEnabled(!0).setParams({ publisherId: 1554971, tagId: "sozcuPrebidData_300_600" }).setIsAnyDeviceAllowed(!0).setIsAnySizeAllowed(!1).setAllowedSizes(d.prebid_300x600); B.addBidder(zs); const ks = A.builder("taboola").setIsEnabled(!0).setParams({ publisherId: 1554971, tagId: "sozcuPrebidData_970_250" }).setIsAnyDeviceAllowed(!0).setIsAnySizeAllowed(!1).setAllowedSizes(d.prebid_970x250); B.addBidder(ks); var it = /* @__PURE__ */ ((i) => (i.tr = "tr", i.usa = "usa", i.local = "local", i.world = "world", i))(it || {}); const he = "world"; function Ls() { window.domainCountry = he; } Ls(); function Bs() { return window.domainCountry = he, o.consoleLog("getPageBidder countryInfo", he), he === it.world ? C : B; } const P = Bs(), Cs = [ S.builder(b.outOfPage_Interstitial).setDeviceType(g.DeviceTypeInfo.desktopDevices).setSpecialUseCase(_.none).setSpecialUseCaseIndex(0).setIsEnabled(!0).setAdUnitPath("/66738120/sozcu_popup").setDivId("div-sozcu_popup").setDivStyleAfterRequest("").setLoadingStrategy(v.trigger).setSizes(d.general_1x1).setIsAutoRefreshEnabled(!1).setIsPrebidEnabled(!1).build() ], Us = [ S.builder(b.outOfPage_Interstitial).setDeviceType(g.DeviceTypeInfo.mobileDevices).setSpecialUseCase(_.none).setSpecialUseCaseIndex(0).setIsEnabled(!0).setAdUnitPath("/66738120/sozcu_mobile_interstial").setDivId("div-sozcu_popup").setDivStyleAfterRequest("").setLoadingStrategy(v.trigger).setSizes(d.general_1x1).setIsAutoRefreshEnabled(!1).setIsPrebidEnabled(!1).build() ], js = (i) => { i && i.isEmpty === !1 && (i.divId === "div-sozcu_anasayfa_pageskin_tepe" || i.divId === "div-sozcu_gen_pageskin_tepe") && document.body.classList.add("pageskinTrue"); }, Ts = (i) => { if (i && i.isEmpty === !1 && i.divId === "div-sozcu_desktop_anasayfa_sticky") { const e = document.getElementById("div-sozcu_desktop_anasayfa_sticky_parent"); e && e.classList.add("bg-light"); } else if (i && i.isEmpty === !1 && i.divId === "div-sozcu_mobile_post_sticky_parent") { const e = document.getElementById("div-sozcu_mobile_detay_320x50_sticky"); e && e.classList.add("bg-light"); } }; class Os extends tt { init() { this.setIsAutoRefreshEnabled(!0), this.applyAdUnit( S.builder(b.banner).setDeviceType(g.DeviceTypeInfo.desktopDevices).setSpecialUseCase(_.none).setIsEnabled(!0).setAdUnitPath("/66738120/sozcu_anasayfa_pageskin_tepe").setDivId("div-sozcu_anasayfa_pageskin_tepe").setDivStyleAfterRequest("").setLoadingStrategy(v.sra).setSizes(d.desktop_PageSkin_Top).setIsAutoRefreshEnabled(!0).setIsPrebidEnabled(!1).onSlotRenderEnded(js) ), this.applyAdUnit( S.builder(b.banner).setDeviceType(g.DeviceTypeInfo.desktopDevices).setSpecialUseCase(_.none).setIsEnabled(!0).setAdUnitPath("/66738120/sozcu_masthead").setDivId("div-sozcu_masthead").setDivStyleAfterRequest("").setLoadingStrategy(v.sra).setSizes(d.desktop_Masthead).setIsAutoRefreshEnabled(!0).setIsPrebidEnabled(!0).setPrebidSizeLimits(d.prebid_970x250).setBidderHelper(P).setBidderCustomParam("taboola", { tagId: "sozcu_masthead" }) //.onSlotRenderEnded(fixPageSkinCssClass) ), this.applyAdUnit( S.builder(b.banner).setDeviceType(g.DeviceTypeInfo.desktopDevices).setSpecialUseCase(_.none).setIsEnabled(!0).setAdUnitPath("/66738120/sozcu_body_left_160x600").setDivId("div-sozcu_body_left_160x600").setDivStyleAfterRequest("").setLoadingStrategy(v.sra).setSizes(d.desktop_Tower).addSizeMapping([1900, 0], [[300, 600], [160, 600], [120, 600], [1, 1]]).addSizeMapping([1366, 0], [[160, 600], [120, 600], [1, 1]]).addSizeMapping([0, 0], []).setIsAutoRefreshEnabled(!0).setIsPrebidEnabled(!0).setPrebidSizeLimits(d.prebid_300x600).setBidderHelper(P).setBidderCustomParam("taboola", { tagId: "sozcu_body_left_160x600" }) //.onSlotRenderEnded(fixPageSkinCssClass) ), this.applyAdUnit( S.builder(b.banner).setDeviceType(g.DeviceTypeInfo.desktopDevices).setSpecialUseCase(_.none).setIsEnabled(!0).setAdUnitPath("/66738120/sozcu_body_right_160x600").setDivId("div-sozcu_body_right_160x600").setDivStyleAfterRequest("").setLoadingStrategy(v.sra).setSizes(d.desktop_Tower).addSizeMapping([1900, 0], [[300, 600], [160, 600], [120, 600], [1, 1]]).addSizeMapping([1366, 0], [[160, 600], [120, 600], [1, 1]]).addSizeMapping([0, 0], []).setIsAutoRefreshEnabled(!0).setIsPrebidEnabled(!0).setPrebidSizeLimits(d.prebid_300x600).setBidderHelper(P).setBidderCustomParam("taboola", { tagId: "sozcu_body_right_160x600" }) //.onSlotRenderEnded(fixPageSkinCssClass) ), this.applyAdUnit( S.builder(b.banner).setDeviceType(g.DeviceTypeInfo.desktopDevices).setSpecialUseCase(_.none).setIsEnabled(!0).setAdUnitPath("/66738120/sozcu_anasayfa_mansetalti_masthead").setDivId("div-sozcu_anasayfa_mansetalti_masthead").setDivStyleAfterRequest("").setLoadingStrategy(v.sra).setSizes(d.desktop_Masthead).setIsAutoRefreshEnabled(!0).setIsPrebidEnabled(!0).setPrebidSizeLimits(d.prebid_970x250).setBidderHelper(P).setBidderCustomParam("taboola", { tagId: "sozcu_anasayfa_mansetalti_masthead" }) //.onSlotRenderEnded(fixPageSkinCssClass) ), this.applyAdUnit( S.builder(b.banner).setDeviceType(g.DeviceTypeInfo.desktopDevices).setSpecialUseCase(_.none).setIsEnabled(!0).setAdUnitPath("/66738120/sozcu_anasayfa_body_300x250").setDivId("div-sozcu_anasayfa_body_300x250").setDivStyleAfterRequest("").setLoadingStrategy(v.intersectionObserverBasedLazyLoad).setSizes(d.desktop_Gen_300x250).setIsAutoRefreshEnabled(!0).setIsPrebidEnabled(!0).setPrebidSizeLimits(d.prebid_300x250).setBidderHelper(P).setBidderCustomParam("taboola", { tagId: "sozcu_anasayfa_body_300x250" }) ), this.applyAdUnit( S.builder(b.banner).setDeviceType(g.DeviceTypeInfo.desktopDevices).setSpecialUseCase(_.none).setIsEnabled(!0).setAdUnitPath("/66738120/sozcu_anasayfa_spor_masthead").setDivId("div-sozcu_anasayfa_spor_masthead").setDivStyleAfterRequest("").setLoadingStrategy(v.intersectionObserverBasedLazyLoad).setSizes(d.desktop_Masthead).setIsAutoRefreshEnabled(!0).setIsPrebidEnabled(!0).setPrebidSizeLimits(d.prebid_970x250).setBidderHelper(P).setBidderCustomParam("taboola", { tagId: "sozcu_anasayfa_spor_masthead" }) //.onSlotRenderEnded(fixPageSkinCssClass) ), this.applyAdUnit( S.builder(b.banner).setDeviceType(g.DeviceTypeInfo.desktopDevices).setSpecialUseCase(_.none).setIsEnabled(!0).setAdUnitPath("/66738120/sozcu_anasayfa_kesfet_masthead").setDivId("div-sozcu_anasayfa_kesfet_masthead").setDivStyleAfterRequest("").setLoadingStrategy(v.intersectionObserverBasedLazyLoad).setSizes(d.desktop_Masthead).setIsAutoRefreshEnabled(!0).setIsPrebidEnabled(!0).setPrebidSizeLimits(d.prebid_970x250).setBidderHelper(P).setBidderCustomParam("taboola", { tagId: "sozcu_anasayfa_kesfet_masthead" }) //.onSlotRenderEnded(fixPageSkinCssClass) ), this.applyAdUnit( S.builder(b.banner).setDeviceType(g.DeviceTypeInfo.desktopDevices).setSpecialUseCase(_.none).setIsEnabled(!0).setAdUnitPath("/66738120/sozcu_anasayfa_hayat_300x250").setDivId("div-sozcu_anasayfa_hayat_300x250").setDivStyleAfterRequest("").setLoadingStrategy(v.intersectionObserverBasedLazyLoad).setSizes(d.desktop_Widget_336x280).setIsAutoRefreshEnabled(!0).setIsPrebidEnabled(!0).setPrebidSizeLimits(d.prebid_300x250).setBidderHelper(P).setBidderCustomParam("taboola", { tagId: "sozcu_anasayfa_hayat_300x250" }) ), this.applyAdUnit( S.builder(b.banner).setDeviceType(g.DeviceTypeInfo.desktopDevices).setSpecialUseCase(_.none).setIsEnabled(!0).setAdUnitPath("/66738120/sozcu_anasayfa_hayat_masthead").setDivId("div-sozcu_anasayfa_hayat_masthead").setDivStyleAfterRequest("").setLoadingStrategy(v.intersectionObserverBasedLazyLoad).setSizes(d.desktop_Masthead).setIsAutoRefreshEnabled(!0).setIsPrebidEnabled(!0).setPrebidSizeLimits(d.prebid_970x250).setBidderHelper(P).setBidderCustomParam("taboola", { tagId: "sozcu_anasayfa_hayat_masthead" }) //.onSlotRenderEnded(fixPageSkinCssClass) ), this.applyAdUnit( S.builder(b.banner).setDeviceType(g.DeviceTypeInfo.desktopDevices).setSpecialUseCase(_.none).setIsEnabled(!0).setAdUnitPath("/66738120/sozcu_anasayfa_dunya_masthead").setDivId("div-sozcu_anasayfa_dunya_masthead").setDivStyleAfterRequest("").setLoadingStrategy(v.intersectionObserverBasedLazyLoad).setSizes(d.desktop_Masthead).setIsAutoRefreshEnabled(!0).setIsPrebidEnabled(!0).setPrebidSizeLimits(d.prebid_970x250).setBidderHelper(P).setBidderCustomParam("taboola", { tagId: "sozcu_anasayfa_dunya_masthead" }) //.onSlotRenderEnded(fixPageSkinCssClass) ), this.applyAdUnit( S.builder(b.banner).setDeviceType(g.DeviceTypeInfo.desktopDevices).setSpecialUseCase(_.none).setIsEnabled(!0).setAdUnitPath("/66738120/sozcu_anasayfa_ekonomi_masthead").setDivId("div-sozcu_anasayfa_ekonomi_masthead").setDivStyleAfterRequest("").setLoadingStrategy(v.intersectionObserverBasedLazyLoad).setSizes(d.desktop_Masthead).setIsAutoRefreshEnabled(!0).setIsPrebidEnabled(!0).setPrebidSizeLimits(d.prebid_970x250).setBidderHelper(P).setBidderCustomParam("taboola", { tagId: "sozcu_anasayfa_ekonomi_masthead" }) //.onSlotRenderEnded(fixPageSkinCssClass) ), this.applyAdUnit( S.builder(b.banner).setDeviceType(g.DeviceTypeInfo.desktopDevices).setSpecialUseCase(_.none).setIsEnabled(!0).setAdUnitPath("/66738120/sozcu_anasayfa_yazaralti_300x250").setDivId("div-sozcu_anasayfa_yazaralti_300x250").setDivStyleAfterRequest("").setLoadingStrategy(v.intersectionObserverBasedLazyLoad).setSizes(d.desktop_Gen_300x250).setIsAutoRefreshEnabled(!0).setIsPrebidEnabled(!0).setPrebidSizeLimits(d.prebid_300x250).setBidderHelper(P).setBidderCustomParam("taboola", { tagId: "sozcu_anasayfa_yazaralti_300x250" }) ), this.applyAdUnit( S.builder(b.banner).setDeviceType(g.DeviceTypeInfo.desktopDevices).setSpecialUseCase(_.none).setIsEnabled(!0).setAdUnitPath("/66738120/sozcu_anasayfa_teknoloji_masthead").setDivId("div-sozcu_anasayfa_teknoloji_masthead").setDivStyleAfterRequest("").setLoadingStrategy(v.intersectionObserverBasedLazyLoad).setSizes(d.desktop_Masthead).setIsAutoRefreshEnabled(!0).setIsPrebidEnabled(!0).setPrebidSizeLimits(d.prebid_970x250).setBidderHelper(P).setBidderCustomParam("taboola", { tagId: "sozcu_anasayfa_teknoloji_masthead" }) //.onSlotRenderEnded(fixPageSkinCssClass) ), this.applyAdUnit( S.builder(b.banner).setDeviceType(g.DeviceTypeInfo.desktopDevices).setSpecialUseCase(_.none).setIsEnabled(!0).setAdUnitPath("/66738120/sozcu_anasayfa_plus_masthead").setDivId("div-sozcu_anasayfa_plus_masthead").setDivStyleAfterRequest("").setLoadingStrategy(v.intersectionObserverBasedLazyLoad).setSizes(d.desktop_Masthead).setIsAutoRefreshEnabled(!0).setIsPrebidEnabled(!0).setPrebidSizeLimits(d.prebid_970x250).setBidderHelper(P).setBidderCustomParam("taboola", { tagId: "sozcu_anasayfa_plus_masthead" }) //.onSlotRenderEnded(fixPageSkinCssClass) ), this.applyAdUnit( S.builder(b.banner).setDeviceType(g.DeviceTypeInfo.desktopDevices).setSpecialUseCase(_.none).setIsEnabled(!0).setAdUnitPath("/66738120/sozcu_footer_masthead").setDivId("div-sozcu_footer_masthead").setDivStyleAfterRequest("").setLoadingStrategy(v.intersectionObserverBasedLazyLoad).setSizes(d.desktop_Masthead).setIsAutoRefreshEnabled(!0).setIsPrebidEnabled(!0).setPrebidSizeLimits(d.prebid_970x250).setBidderHelper(P).setBidderCustomParam("taboola", { tagId: "sozcu_footer_masthead" }) //.onSlotRenderEnded(fixPageSkinCssClass) ), this.applyAdUnit( S.builder(b.banner).setDeviceType(g.DeviceTypeInfo.desktopDevices).setSpecialUseCase(_.none).setIsEnabled(!0).setAdUnitPath("/66738120/sozcu_anasayfa_widget_box_1").setDivId("div-sozcu_anasayfa_widget_box_1").setDivStyleAfterRequest("").setLoadingStrategy(v.intersectionObserverBasedLazyLoad).setSizes(d.desktop_Widget_300x250).setIsAutoRefreshEnabled(!0).setIsPrebidEnabled(!0).setPrebidSizeLimits(d.prebid_300x250).setBidderHelper(P).setBidderCustomParam("taboola", { tagId: "sozcu_anasayfa_widget_box_1" }) ), this.applyAdUnit( S.builder(b.banner).setDeviceType(g.DeviceTypeInfo.desktopDevices).setSpecialUseCase(_.none).setIsEnabled(!0).setAdUnitPath("/66738120/sozcu_anasayfa_widget_box_2").setDivId("div-sozcu_anasayfa_widget_box_2").setDivStyleAfterRequest("").setLoadingStrategy(v.intersectionObserverBasedLazyLoad).setSizes(d.desktop_Widget_300x250).setIsAutoRefreshEnabled(!0).setIsPrebidEnabled(!0).setPrebidSizeLimits(d.prebid_300x250).setBidderHelper(P).setBidderCustomParam("taboola", { tagId: "sozcu_anasayfa_widget_box_2" }) ), this.applyAdUnit( S.builder(b.banner).setDeviceType(g.DeviceTypeInfo.desktopDevices).setSpecialUseCase(_.none).setIsEnabled(!0).setAdUnitPath("/66738120/sozcu_anasayfa_widget_box_3").setDivId("div-sozcu_anasayfa_widget_box_3").setDivStyleAfterRequest("").setLoadingStrategy(v.intersectionObserverBasedLazyLoad).setSizes(d.desktop_Widget_300x250).setIsAutoRefreshEnabled(!0).setIsPrebidEnabled(!0).setPrebidSizeLimits(d.prebid_300x250).setBidderHelper(P).setBidderCustomParam("taboola", { tagId: "sozcu_anasayfa_widget_box_3" }) ), this.applyAdUnit( //custom sticky --> S.builder(b.banner).setDeviceType(g.DeviceTypeInfo.desktopDevices).setSpecialUseCase(_.none).setIsEnabled(!0).setAdUnitPath("/66738120/sozcu_desktop_anasayfa_sticky").setDivId("div-sozcu_desktop_anasayfa_sticky").setDivStyleAfterRequest("").setLoadingStrategy(v.intersectionObserverBasedLazyLoad).setSizes([[728, 90], [970, 90]]).setIsAutoRefreshEnabled(!0).setIsPrebidEnabled(!1).onSlotRenderEnded(Ts).build() ), Cs.forEach((e) => { this.applyAdUnit(e); }); } } const qs = new Os(g.DeviceTypeEnum.desktop, ie.PageTypeEnum.index); class Ms extends tt { init() { this.setIsAutoRefreshEnabled(!0), this.applyAdUnit( S.builder(b.banner).setDeviceType(g.DeviceTypeInfo.mobileDevices).setSpecialUseCase(_.none).setIsEnabled(!0).setAdUnitPath("/66738120/sozcu_mobile_320x50").setDivId("div-sozcu_mobile_320x50").setDivStyleAfterRequest("").setLoadingStrategy(v.sra).setSizes(d.mobile_Generic_v2).setIsAutoRefreshEnabled(!0).setIsPrebidEnabled(!0).setPrebidSizeLimits(d.prebid_300x250).setBidderHelper(P).setBidderCustomParam("taboola", { tagId: "sozcu_mobile_320x50" }) //.onSlotRenderEnded(fixPageSkinCssClass) ), this.applyAdUnit( S.builder(b.banner).setDeviceType(g.DeviceTypeInfo.mobileDevices).setSpecialUseCase(_.none).setIsEnabled(!0).setAdUnitPath("/66738120/sozcu_mobile_300X250_anasayfa").setDivId("div-sozcu_mobile_300X250_anasayfa").setDivStyleAfterRequest("").setLoadingStrategy(v.sra).setSizes(d.mobile_Generic).setIsAutoRefreshEnabled(!0).setIsPrebidEnabled(!0).setPrebidSizeLimits(d.prebid_300x250).setBidderHelper(P).setBidderCustomParam("taboola", { tagId: "sozcu_mobile_300X250_anasayfa" }) //.onSlotRenderEnded(fixPageSkinCssClass) ), this.applyAdUnit( S.builder(b.banner).setDeviceType(g.DeviceTypeInfo.mobileDevices).setSpecialUseCase(_.none).setIsEnabled(!0).setAdUnitPath("/66738120/sozcu_mobile_300X250_1").setDivId("div-sozcu_mobile_300X250_1").setDivStyleAfterRequest("").setLoadingStrategy(v.intersectionObserverBasedLazyLoad).setSizes(d.mobile_Generic).setIsAutoRefreshEnabled(!0).setIsPrebidEnabled(!0).setPrebidSizeLimits(d.prebid_300x250).setBidderHelper(P).setBidderCustomParam("taboola", { tagId: "sozcu_mobile_300X250_1" }) //.onSlotRenderEnded(fixPageSkinCssClass) ), this.applyAdUnit( S.builder(b.banner).setDeviceType(g.DeviceTypeInfo.mobileDevices).setSpecialUseCase(_.none).setIsEnabled(!0).setAdUnitPath("/66738120/sozcu_mobile_anasayfa_kesfet").setDivId("div-sozcu_mobile_anasayfa_kesfet").setDivStyleAfterRequest("").setLoadingStrategy(v.intersectionObserverBasedLazyLoad).setSizes(d.mobile_Generic).setIsAutoRefreshEnabled(!0).setIsPrebidEnabled(!0).setPrebidSizeLimits(d.prebid_300x250).setBidderHelper(P).setBidderCustomParam("taboola", { tagId: "sozcu_mobile_anasayfa_kesfet" }) //.onSlotRenderEnded(fixPageSkinCssClass) ), this.applyAdUnit( S.builder(b.banner).setDeviceType(g.DeviceTypeInfo.mobileDevices).setSpecialUseCase(_.none).setIsEnabled(!0).setAdUnitPath("/66738120/sozcu_mobile_anasayfa_hayat").setDivId("div-sozcu_mobile_anasayfa_hayat").setDivStyleAfterRequest("").setLoadingStrategy(v.intersectionObserverBasedLazyLoad).setSizes(d.mobile_Generic).setIsAutoRefreshEnabled(!0).setIsPrebidEnabled(!0).setPrebidSizeLimits(d.prebid_300x250).setBidderHelper(P).setBidderCustomParam("taboola", { tagId: "sozcu_mobile_anasayfa_hayat" }) //.onSlotRenderEnded(fixPageSkinCssClass) ), this.applyAdUnit( S.builder(b.banner).setDeviceType(g.DeviceTypeInfo.mobileDevices).setSpecialUseCase(_.none).setIsEnabled(!0).setAdUnitPath("/66738120/sozcu_mobile_anasayfa_dunya").setDivId("div-sozcu_mobile_anasayfa_dunya").setDivStyleAfterRequest("").setLoadingStrategy(v.intersectionObserverBasedLazyLoad).setSizes(d.mobile_Generic).setIsAutoRefreshEnabled(!0).setIsPrebidEnabled(!0).setPrebidSizeLimits(d.prebid_300x250).setBidderHelper(P).setBidderCustomParam("taboola", { tagId: "sozcu_mobile_anasayfa_dunya" }) //.onSlotRenderEnded(fixPageSkinCssClass) ), this.applyAdUnit( S.builder(b.banner).setDeviceType(g.DeviceTypeInfo.mobileDevices).setSpecialUseCase(_.none).setIsEnabled(!0).setAdUnitPath("/66738120/sozcu_mobile_anasayfa_ekonomi").setDivId("div-sozcu_mobile_anasayfa_ekonomi").setDivStyleAfterRequest("").setLoadingStrategy(v.intersectionObserverBasedLazyLoad).setSizes(d.mobile_Generic).setIsAutoRefreshEnabled(!0).setIsPrebidEnabled(!0).setPrebidSizeLimits(d.prebid_300x250).setBidderHelper(P).setBidderCustomParam("taboola", { tagId: "sozcu_mobile_anasayfa_ekonomi" }) //.onSlotRenderEnded(fixPageSkinCssClass) ), this.applyAdUnit( S.builder(b.banner).setDeviceType(g.DeviceTypeInfo.mobileDevices).setSpecialUseCase(_.none).setIsEnabled(!0).setAdUnitPath("/66738120/sozcu_mobile_300X250_2").setDivId("div-sozcu_mobile_300X250_2").setDivStyleAfterRequest("").setLoadingStrategy(v.intersectionObserverBasedLazyLoad).setSizes(d.mobile_Generic).setIsAutoRefreshEnabled(!0).setIsPrebidEnabled(!0).setPrebidSizeLimits(d.prebid_300x250).setBidderHelper(P).setBidderCustomParam("taboola", { tagId: "sozcu_mobile_300X250_2" }) //.onSlotRenderEnded(fixPageSkinCssClass) ), this.applyAdUnit( S.builder(b.banner).setDeviceType(g.DeviceTypeInfo.mobileDevices).setSpecialUseCase(_.none).setIsEnabled(!0).setAdUnitPath("/66738120/sozcu_mobile_anasayfa_teknoloji").setDivId("div-sozcu_mobile_anasayfa_teknoloji").setDivStyleAfterRequest("").setLoadingStrategy(v.intersectionObserverBasedLazyLoad).setSizes(d.mobile_Generic).setIsAutoRefreshEnabled(!0).setIsPrebidEnabled(!0).setPrebidSizeLimits(d.prebid_300x250).setBidderHelper(P).setBidderCustomParam("taboola", { tagId: "sozcu_mobile_anasayfa_teknoloji" }) //.onSlotRenderEnded(fixPageSkinCssClass) ), this.applyAdUnit( S.builder(b.banner).setDeviceType(g.DeviceTypeInfo.mobileDevices).setSpecialUseCase(_.none).setIsEnabled(!0).setAdUnitPath("/66738120/sozcu_mobile_anasayfa_plus").setDivId("div-sozcu_mobile_anasayfa_plus").setDivStyleAfterRequest("").setLoadingStrategy(v.intersectionObserverBasedLazyLoad).setSizes(d.mobile_Generic).setIsAutoRefreshEnabled(!0).setIsPrebidEnabled(!0).setPrebidSizeLimits(d.prebid_300x250).setBidderHelper(P).setBidderCustomParam("taboola", { tagId: "sozcu_mobile_anasayfa_plus" }) //.onSlotRenderEnded(fixPageSkinCssClass) ), this.applyAdUnit( S.builder(b.banner).setDeviceType(g.DeviceTypeInfo.mobileDevices).setSpecialUseCase(_.none).setIsEnabled(!0).setAdUnitPath("/66738120/sozcu_mobile_300X250_3").setDivId("div-sozcu_mobile_300X250_3").setDivStyleAfterRequest("").setLoadingStrategy(v.intersectionObserverBasedLazyLoad).setSizes(d.mobile_Generic).setIsAutoRefreshEnabled(!0).setIsPrebidEnabled(!0).setPrebidSizeLimits(d.prebid_300x250).setBidderHelper(P).setBidderCustomParam("taboola", { tagId: "sozcu_mobile_300X250_3" }) //.onSlotRenderEnded(fixPageSkinCssClass) ), this.applyAdUnit( S.builder(b.banner).setDeviceType(g.DeviceTypeInfo.mobileDevices).setSpecialUseCase(_.none).setIsEnabled(!0).setAdUnitPath("/66738120/sozcu_mobil_footer").setDivId("div-sozcu_mobil_footer").setDivStyleAfterRequest("").setLoadingStrategy(v.intersectionObserverBasedLazyLoad).setSizes(d.mobile_Generic).setIsAutoRefreshEnabled(!0).setIsPrebidEnabled(!0).setPrebidSizeLimits(d.prebid_300x250).setBidderHelper(P).setBidderCustomParam("taboola", { tagId: "sozcu_mobil_footer" }) //.onSlotRenderEnded(fixPageSkinCssClass) ), Us.forEach((e) => { this.applyAdUnit(e); }); } } const Gs = new Ms(g.DeviceTypeEnum.mobile, ie.PageTypeEnum.index), $s = ie.PageTypeEnum; let Ye = !1; const Vs = function() { if (Ye) return; Ye = !0; const i = window.domainDevice || new g.DeviceTypeInfo(), e = new Rt(); e.device = i, e.pageType = $s.index, i.isMobile() ? e.adsBuilder = Gs.setAdsConfAndApply(window.domainAdsConfForMobile) : e.adsBuilder = qs.setAdsConfAndApply(window.domainAdsConfForDesktop), window.domainClient = e; const s = e.doesCookieExists("loggedIn") && e.doesCookieExists("_sgf_facebook_name") && e.doesCookieExists("_sgf_user_pids"); e.adsBuilder.setIsEnabled(!s), e.adsBuilder.executeAsPbjsCommand( () => { pbjs.enableAnalytics({ provider: "yandex", options: { counters: [48985463] } }); } ), e.adsBuilder.execute(); }; Vs(); export { Vs as initPageClien_Index }; //# sourceMappingURL=indexPageClient_world.js.map