Socket
Socket
Sign inDemoInstall

@goodgamestudios/cxf-ad-banner

Package Overview
Dependencies
30
Maintainers
27
Versions
130
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.21.0 to 1.21.1-qa.0

2

CHANGELOG.md

@@ -5,2 +5,4 @@ # Changelog

### [1.21.1-qa.0](https://gitlab.goodgamestudios.com/cxf/cxf-ad-banner/compare/v1.21.0...v1.21.1-qa.0) (2023-04-11)
## [1.21.0](https://gitlab.goodgamestudios.com/cxf/cxf-ad-banner/compare/v1.21.0-qa.4...v1.21.0) (2023-03-28)

@@ -7,0 +9,0 @@

2

dist/index.js

@@ -1,2 +0,2 @@

(()=>{function e(e,t,n,r){Object.defineProperty(e,t,{get:n,set:r,enumerable:!0,configurable:!0})}function t(e){return e&&e.__esModule?e.default:e}var n="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{},r={},o={},i=n.parcelRequired8ea;null==i&&((i=function(e){if(e in r)return r[e].exports;if(e in o){var t=o[e];delete o[e];var n={id:e,exports:{}};return r[e]=n,t.call(n.exports,n,n.exports),n.exports}var i=new Error("Cannot find module '"+e+"'");throw i.code="MODULE_NOT_FOUND",i}).register=function(e,t){o[e]=t},n.parcelRequired8ea=i),i.register("kI8SP",(function(t,n){var r,o;e(t.exports,"register",(()=>r),(e=>r=e)),e(t.exports,"resolve",(()=>o),(e=>o=e));var i={};r=function(e){for(var t=Object.keys(e),n=0;n<t.length;n++)i[t[n]]=e[t[n]]},o=function(e){var t=i[e];if(null==t)throw new Error("Could not resolve bundle with id "+e);return t}})),i.register("8s8WA",(function(e,t){e.exports=function(e){function t(e){let r,o,i,a=null;function s(...e){if(!s.enabled)return;const n=s,o=Number(new Date),i=o-(r||o);n.diff=i,n.prev=r,n.curr=o,r=o,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let a=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,((r,o)=>{if("%%"===r)return"%";a++;const i=t.formatters[o];if("function"==typeof i){const t=e[a];r=i.call(n,t),e.splice(a,1),a--}return r})),t.formatArgs.call(n,e);(n.log||t.log).apply(n,e)}return s.namespace=e,s.useColors=t.useColors(),s.color=t.selectColor(e),s.extend=n,s.destroy=t.destroy,Object.defineProperty(s,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==a?a:(o!==t.namespaces&&(o=t.namespaces,i=t.enabled(e)),i),set:e=>{a=e}}),"function"==typeof t.init&&t.init(s),s}function n(e,n){const r=t(this.namespace+(void 0===n?":":n)+e);return r.log=this.log,r}function r(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){return e instanceof Error?e.stack||e.message:e},t.disable=function(){const e=[...t.names.map(r),...t.skips.map(r).map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){let n;t.save(e),t.namespaces=e,t.names=[],t.skips=[];const r=("string"==typeof e?e:"").split(/[\s,]+/),o=r.length;for(n=0;n<o;n++)r[n]&&("-"===(e=r[n].replace(/\*/g,".*?"))[0]?t.skips.push(new RegExp("^"+e.slice(1)+"$")):t.names.push(new RegExp("^"+e+"$")))},t.enabled=function(e){if("*"===e[e.length-1])return!0;let n,r;for(n=0,r=t.skips.length;n<r;n++)if(t.skips[n].test(e))return!1;for(n=0,r=t.names.length;n<r;n++)if(t.names[n].test(e))return!0;return!1},t.humanize=i("4N8Pa"),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach((n=>{t[n]=e[n]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let n=0;for(let t=0;t<e.length;t++)n=(n<<5)-n+e.charCodeAt(t),n|=0;return t.colors[Math.abs(n)%t.colors.length]},t.enable(t.load()),t}})),i.register("4N8Pa",(function(e,t){var n=1e3,r=60*n,o=60*r,i=24*o,a=7*i,s=365.25*i;function c(e,t,n,r){var o=t>=1.5*n;return Math.round(e/n)+" "+r+(o?"s":"")}e.exports=function(e,t){t=t||{};var l,d,u=typeof e;if("string"===u&&e.length>0)return function(e){if((e=String(e)).length>100)return;var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!t)return;var c=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return c*s;case"weeks":case"week":case"w":return c*a;case"days":case"day":case"d":return c*i;case"hours":case"hour":case"hrs":case"hr":case"h":return c*o;case"minutes":case"minute":case"mins":case"min":case"m":return c*r;case"seconds":case"second":case"secs":case"sec":case"s":return c*n;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return c;default:return}}(e);if("number"===u&&isFinite(e))return t.long?(l=e,(d=Math.abs(l))>=i?c(l,d,i,"day"):d>=o?c(l,d,o,"hour"):d>=r?c(l,d,r,"minute"):d>=n?c(l,d,n,"second"):l+" ms"):function(e){var t=Math.abs(e);return t>=i?Math.round(e/i)+"d":t>=o?Math.round(e/o)+"h":t>=r?Math.round(e/r)+"m":t>=n?Math.round(e/n)+"s":e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}})),i.register("hIarR",(function(t,n){var r;e(t.exports,"getBundleURL",(()=>r),(e=>r=e));var o={};function i(e){return(""+e).replace(/^((?:https?|file|ftp|(chrome|moz|safari-web)-extension):\/\/.+)\/[^/]+$/,"$1")+"/"}r=function(e){var t=o[e];return t||(t=function(){try{throw new Error}catch(t){var e=(""+t.stack).match(/(https?|file|ftp|(chrome|moz|safari-web)-extension):\/\/[^)\n]+/g);if(e)return i(e[2])}return"/"}(),o[e]=t),t}})),i.register("hsJ0L",(function(e,t){"use strict";var n=window&&window.CXF;e.exports=new Promise((function(e,t){if(window||t(),n)return e(n);window.addEventListener("cxf.initialized",(function(t){n=t.cxf,e(n)}),{capture:!0,once:!0,passive:!0})}))})),i("kI8SP").register(JSON.parse('{"ldGXu":"index.js","dEJUC":"amazon-aps-script.min.420b3b9e.js","2BbfJ":"prebid-script.min.af646dff.js","bMJod":"ad-blocking-recovery-script.min.f6423de5.js","lzUYe":"error-protection-message-script.min.8bfafdb0.js"}'));var a,s,c={},l={},d=l={};function u(){throw new Error("setTimeout has not been defined")}function p(){throw new Error("clearTimeout has not been defined")}function f(e){if(a===setTimeout)return setTimeout(e,0);if((a===u||!a)&&setTimeout)return a=setTimeout,setTimeout(e,0);try{return a(e,0)}catch(t){try{return a.call(null,e,0)}catch(t){return a.call(this,e,0)}}}!function(){try{a="function"==typeof setTimeout?setTimeout:u}catch(e){a=u}try{s="function"==typeof clearTimeout?clearTimeout:p}catch(e){s=p}}();var g,h=[],m=!1,C=-1;function w(){m&&g&&(m=!1,g.length?h=g.concat(h):C=-1,h.length&&v())}function v(){if(!m){var e=f(w);m=!0;for(var t=h.length;t;){for(g=h,h=[];++C<t;)g&&g[C].run();C=-1,t=h.length}g=null,m=!1,function(e){if(s===clearTimeout)return clearTimeout(e);if((s===p||!s)&&clearTimeout)return s=clearTimeout,clearTimeout(e);try{return s(e)}catch(t){try{return s.call(null,e)}catch(t){return s.call(this,e)}}}(e)}}function y(e,t){this.fun=e,this.array=t}function b(){}d.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];h.push(new y(e,t)),1!==h.length||m||f(v)},y.prototype.run=function(){this.fun.apply(null,this.array)},d.title="browser",d.browser=!0,d.env={},d.argv=[],d.version="",d.versions={},d.on=b,d.addListener=b,d.once=b,d.off=b,d.removeListener=b,d.removeAllListeners=b,d.emit=b,d.prependListener=b,d.prependOnceListener=b,d.listeners=function(e){return[]},d.binding=function(e){throw new Error("process.binding is not supported")},d.cwd=function(){return"/"},d.chdir=function(e){throw new Error("process.chdir is not supported")},d.umask=function(){return 0},c.formatArgs=function(e){if(e[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+e[0]+(this.useColors?"%c ":" ")+"+"+c.humanize(this.diff),!this.useColors)return;const t="color: "+this.color;e.splice(1,0,t,"color: inherit");let n=0,r=0;e[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(n++,"%c"===e&&(r=n))})),e.splice(r,0,t)},c.save=function(e){try{e?c.storage.setItem("debug",e):c.storage.removeItem("debug")}catch(e){}},c.load=function(){let e;try{e=c.storage.getItem("debug")}catch(e){}!e&&void 0!==l&&"env"in l&&(e=void 0);return e},c.useColors=function(){return!("undefined"==typeof window||!window.process||"renderer"!==window.process.type&&!window.process.__nwjs)||("undefined"==typeof navigator||!navigator.userAgent||!navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},c.storage=function(){try{return localStorage}catch(e){}}(),c.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),c.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],c.log=console.debug||console.log||(()=>{}),c=i("8s8WA")(c);const{formatters:E}=c;E.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}};var A=t(c)("CXF-AD-BANNER:");var I={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};let F;const S=new Uint8Array(16);function _(){if(!F&&(F="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!F))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return F(S)}const T=[];for(let e=0;e<256;++e)T.push((e+256).toString(16).slice(1));function x(e,t=0){return(T[e[t+0]]+T[e[t+1]]+T[e[t+2]]+T[e[t+3]]+"-"+T[e[t+4]]+T[e[t+5]]+"-"+T[e[t+6]]+T[e[t+7]]+"-"+T[e[t+8]]+T[e[t+9]]+"-"+T[e[t+10]]+T[e[t+11]]+T[e[t+12]]+T[e[t+13]]+T[e[t+14]]+T[e[t+15]]).toLowerCase()}var R,N=function(e,t,n){if(I.randomUUID&&!t&&!e)return I.randomUUID();const r=(e=e||{}).random||(e.rng||_)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,t){n=n||0;for(let e=0;e<16;++e)t[n+e]=r[e];return t}return x(r)},P={},O=Object.create,k=Object.defineProperty,D=Object.getOwnPropertyDescriptor,z=Object.getOwnPropertyNames,L=Object.getPrototypeOf,B=Object.prototype.hasOwnProperty,M=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),U=(e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let o of z(t))!B.call(e,o)&&o!==n&&k(e,o,{get:()=>t[o],enumerable:!(r=D(t,o))||r.enumerable});return e},j=M(((e,t)=>{var n=1e3,r=60*n,o=60*r,i=24*o,a=7*i,s=365.25*i;function c(e,t,n,r){var o=t>=1.5*n;return Math.round(e/n)+" "+r+(o?"s":"")}t.exports=function(e,t){t=t||{};var l=typeof e;if("string"===l&&e.length>0)return function(e){if(e=String(e),!(e.length>100)){var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(t){var c=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return c*s;case"weeks":case"week":case"w":return c*a;case"days":case"day":case"d":return c*i;case"hours":case"hour":case"hrs":case"hr":case"h":return c*o;case"minutes":case"minute":case"mins":case"min":case"m":return c*r;case"seconds":case"second":case"secs":case"sec":case"s":return c*n;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return c;default:return}}}}(e);if("number"===l&&isFinite(e))return t.long?function(e){var t=Math.abs(e);return t>=i?c(e,t,i,"day"):t>=o?c(e,t,o,"hour"):t>=r?c(e,t,r,"minute"):t>=n?c(e,t,n,"second"):e+" ms"}(e):function(e){var t=Math.abs(e);return t>=i?Math.round(e/i)+"d":t>=o?Math.round(e/o)+"h":t>=r?Math.round(e/r)+"m":t>=n?Math.round(e/n)+"s":e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}})),$=M(((e,t)=>{t.exports=function(e){function t(e){let r,o,i,a=null;function s(...e){if(!s.enabled)return;let n=s,o=Number(new Date),i=o-(r||o);n.diff=i,n.prev=r,n.curr=o,r=o,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let a=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,((r,o)=>{if("%%"===r)return"%";a++;let i=t.formatters[o];if("function"==typeof i){let t=e[a];r=i.call(n,t),e.splice(a,1),a--}return r})),t.formatArgs.call(n,e),(n.log||t.log).apply(n,e)}return s.namespace=e,s.useColors=t.useColors(),s.color=t.selectColor(e),s.extend=n,s.destroy=t.destroy,Object.defineProperty(s,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==a?a:(o!==t.namespaces&&(o=t.namespaces,i=t.enabled(e)),i),set:e=>{a=e}}),"function"==typeof t.init&&t.init(s),s}function n(e,n){let r=t(this.namespace+(typeof n>"u"?":":n)+e);return r.log=this.log,r}function r(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){return e instanceof Error?e.stack||e.message:e},t.disable=function(){let e=[...t.names.map(r),...t.skips.map(r).map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){t.save(e),t.namespaces=e,t.names=[],t.skips=[];let n,r=("string"==typeof e?e:"").split(/[\s,]+/),o=r.length;for(n=0;n<o;n++)!r[n]||("-"===(e=r[n].replace(/\*/g,".*?"))[0]?t.skips.push(new RegExp("^"+e.slice(1)+"$")):t.names.push(new RegExp("^"+e+"$")))},t.enabled=function(e){if("*"===e[e.length-1])return!0;let n,r;for(n=0,r=t.skips.length;n<r;n++)if(t.skips[n].test(e))return!1;for(n=0,r=t.names.length;n<r;n++)if(t.names[n].test(e))return!0;return!1},t.humanize=j(),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach((n=>{t[n]=e[n]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let n=0;for(let t=0;t<e.length;t++)n=(n<<5)-n+e.charCodeAt(t),n|=0;return t.colors[Math.abs(n)%t.colors.length]},t.enable(t.load()),t}})),G=M(((e,t)=>{e.formatArgs=function(e){if(e[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+e[0]+(this.useColors?"%c ":" ")+"+"+t.exports.humanize(this.diff),!this.useColors)return;let n="color: "+this.color;e.splice(1,0,n,"color: inherit");let r=0,o=0;e[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(r++,"%c"===e&&(o=r))})),e.splice(o,0,n)},e.save=function(t){try{t?e.storage.setItem("debug",t):e.storage.removeItem("debug")}catch{}},e.load=function(){let t;try{t=e.storage.getItem("debug")}catch{}return!t&&typeof l<"u"&&"env"in l&&(t=void 0),t},e.useColors=function(){return!(!(typeof window<"u"&&window.process)||"renderer"!==window.process.type&&!window.process.__nwjs)||!(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&(typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},e.storage=function(){try{return localStorage}catch{}}(),e.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),e.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],e.log=console.debug||console.log||(()=>{}),t.exports=$()(e);var{formatters:n}=t.exports;n.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}})),H={};((e,t)=>{for(var n in t)k(e,n,{get:t[n],enumerable:!0})})(H,{AC_AD_POPUP_SHOP_LINK_CLICK:()=>he,AC_CATEGORY_CHANGE:()=>se,AC_CHECKOUT_INITIATED:()=>Q,AC_LEMONSTAND_CLOSE:()=>ce,AC_PACKAGE_SELECTED:()=>ee,AC_SUBSCRIPTION_CANCEL_ABORTED:()=>oe,AC_SUBSCRIPTION_CANCEL_CONFIRMED:()=>ie,AC_SUBSCRIPTION_CANCEL_INTENDED:()=>re,EventTracker:()=>me,ST_AD_LOADED:()=>fe,ST_AD_POPUP_SHOWN:()=>ge,ST_CATEGORY_LOADED:()=>ne,ST_OFFER_PURCHASED:()=>de,ST_OFFER_SEEN:()=>te,ST_RELOAD_AFTER_SUCCESS:()=>le,ST_SUBSCRIPTION_CANCEL_SUCCESS:()=>ae,ST_SUBSCRIPTION_PURCHASED:()=>ue,ST_TRANSLATION_BLANK:()=>Z,ST_TRANSLATION_ERROR:()=>Y,ST_TRANSLATION_MISSING:()=>K,ST_TRANSLATION_RACE_CONDITION:()=>X}),R=H,P=U(k({},"__esModule",{value:!0}),R);var V=((e,t,n)=>(n=null!=e?O(L(e)):{},U(!t&&e&&e.__esModule?n:k(n,"default",{value:e,enumerable:!0}),e)))(G()),J=(0,V.default)("PMT-UNIFIED-TRACKING");function q(e){return(t,n)=>({...t,eventId:1273,failureCause:e,textId:n})}function W(e){return(t,n)=>({...t,eventId:1182,actionId:e,type:n,unixtimeMS:t.date})}var Y={decorate:q("ese_no_lookup")},K={decorate:q("ese_no_lookup")},X={decorate:q("pe_race_condition")},Z={decorate:q("pe_blank")},Q={decorate:W(2)},ee={decorate:W(1)},te={decorate:W(5)},ne={decorate:W(0)},re={decorate:W(10)},oe={decorate:W(11)},ie={decorate:W(12)},ae={decorate:W(13)},se={decorate:W(4)},ce={decorate:W(100)},le={decorate:W(3)},de={decorate:(e,t,n,r,o)=>({...e,eventId:1183,packageId:t,wodId:n,amount:r,type:o})},ue={decorate:(e,t,n)=>({...e,eventId:1090,expire_timestamp:t,type:n})};function pe(e){return(t,n,r)=>({...t,eventId:1290,action_id:e,popup_name:n,popup_detail:r})}var fe={decorate:(e,t,n,r,o,i,a,s)=>({...e,eventId:1167,timestamp:e.date,actionType:t,placementDetail:n,placement:r,player_level:o,impression_id:i,reward:a,amount:s})},ge={decorate:pe("popup_shown")},he={decorate:pe("link_clicked")},me=class{constructor(e,t){this.endpoint=e,this.logger=t||J}async send(e){let t=window.navigator.sendBeacon(this.endpoint,JSON.stringify(e));this.logger({endpoint:this.endpoint,data:e,response:t})}};const Ce={HORIZONTAL_BANNER:"horizontal",VERTICAL_BANNER:"vertical"},we={EMPIRE:12,BIGFARM:15},ve={Token:"cxf.token",Login:"cxf.login",Signup:"cxf.signup",GameEventUpdate:"cxf.gameEvent.update",GameEventAdd:"cxf.gameEvent.add",GameEventRemove:"cxf.gameEvent.remove",XpChanged:"cxf.xp.changed",LevelChanged:"cxf.level.changed",LegendLevelChanged:"cxf.legendLevel.changed",Push:"cxf.push",OpenIGS:"cxf.igs.open",CloseIGS:"cxf.dialog.close",AdBannerStatus:"cxf.adBanner.status",JoinTempServer:"cxf.join.temp.server",Subscription:"cxf.subscription"},ye={UPDATE_PAY:"PAYMENT_DATA"},be={UPDATE_PAY:"upi"},Ee={LOGIN:"login",UPDATE_PAY:"updatePay"},Ae="game",Ie=1e3,Fe=1050,Se="fb17ae44-d7a8-4c56-8a84-156b9387a3da",_e={[we.EMPIRE]:"923928",[we.BIGFARM]:"923929"},Te={[we.EMPIRE]:"2764324",[we.BIGFARM]:"2764328"},xe={[we.EMPIRE]:"19027",[we.BIGFARM]:"19028"},Re=new(0,P.EventTracker)("https://cxf-ct.goodgamestudios.com"),Ne=N(),Pe=[2866122916];let Oe,ke;const De={BANNER_ACTIVE:"banner_active",BANNER_INACTIVE:"banner_inactive",BANNER_CLICKED:"banner_clicked",BANNER_REFRESHED:"banner_refreshed"},ze=new Map([[De.BANNER_ACTIVE,16],[De.BANNER_INACTIVE,17],[De.BANNER_CLICKED,18],[De.BANNER_REFRESHED,19]]),Le=new Map([[De.BANNER_ACTIVE,7],[De.BANNER_INACTIVE,8],[De.BANNER_CLICKED,9],[De.BANNER_REFRESHED,10]]),Be=new Map([[Ce.HORIZONTAL_BANNER,ze],[Ce.VERTICAL_BANNER,Le]]),Me="ggs_backfill",Ue=(e,t,n)=>{const r=Be.get(t),o=r?.get(e)||-5,i=n&&n.impression_id;return Re.send(P.ST_AD_LOADED.decorate(ke,o,void 0,void 0,void 0,i))},je=()=>Re.send(P.ST_AD_POPUP_SHOWN.decorate(ke,"google_adblocker")),$e=e=>{const t={};return e.campaignId&&Pe.includes(e.campaignId)&&(t.impression_id=Me),t},Ge=30,He={refreshTime:30,requirements:{minLevel:10,noPaymentDays:Ge}},Ve=[{isGGSNetwork:[{var:["networkId"]},[1]]},{or:[{"==":[{var:"lastPaymentDate"},0]},{isExpired:[{var:"lastPaymentDate"},Ge]}]},{"!=":[{var:"hasSubscription"},!0]},{"!":[{in:[{var:"originUrl"},{cat:["bigfarm.rtl.de ","bigfarm.rtl2-spiele.de ","empire.rtl.de ","empire.rtl2-spiele.de "]}]}]}],Je={gameId:we.BIGFARM,banners:{horizontal:{rules:{loginData:{and:[...Ve,{and:[{or:[{in:[{var:"instanceId"},[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25]]},{">=":[{var:"instanceId"},251]}]},{">=":[{var:"level"},10]}]}]},paymentData:{or:[{"==":[{var:"lastPaymentTime"},0]},{isExpired:[{var:"lastPaymentTime"},Ge]}]}}},vertical:{rules:{loginData:{and:[...Ve,{and:[{or:[{in:[{var:"instanceId"},[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25]]},{">=":[{var:"instanceId"},251]}]},{">=":[{var:"level"},10]}]}]},paymentData:{or:[{"==":[{var:"lastPaymentTime"},0]},{isExpired:[{var:"lastPaymentTime"},Ge]}]}}}},adblocker:{rules:{or:[{in:[{var:"instanceId"},[4]]},{in:[{var:"instanceId"},[259]]}]}},adSlotSettings:[{unitPath:"/21812119314/Banner_BigFarm_728x90",defaultAdSize:[728,90],sizeMap:new Map([[[1200,700],[[970,90],[728,90]]],[[728,700],[[728,90]]],[[0,0],[]]]),htmlElements:{adPlaceholder:{id:"ad-placeholder-horizontal",width:"calc(100% - 220px)",height:100,style:"\n width: calc(100% - 220px);\n height: 100px;\n background: #ffffff;\n position: absolute;\n top: 0px;\n display: block;\n min-width: 798px;\n min-height: 100px;\n align: center;"},adContainer:{id:"ad-container-horizontal",style:"\n width: fit-content;\n height: fit-content;\n display:inline-block;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n position: relative;\n max-height: 90px;"}}},{unitPath:"/21812119314/Banner_BigFarm_160x600",defaultAdSize:[160,600],sizeMap:new Map([[[1020,800],[[220,800],[160,600]]],[[1020,600],[[160,600]]],[[0,0],[]]]),htmlElements:{adPlaceholder:{id:"ad-placeholder-vertical",width:220,height:"100%",style:"\n width: 220px;\n height: 100%;\n background: #ffffff;\n position: absolute;\n right: 0px;\n top: 0px;\n display: block;\n min-width: 220px;\n min-height: 610px;\n align: center;"},adContainer:{id:"ad-container-vertical",style:"\n width: fit-content;\n height: fit-content;\n display:inline-block;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n position: relative;\n max-width: 220px;"}}}]},qe={gameId:we.EMPIRE,banners:{horizontal:{rules:{loginData:{and:[...Ve,{showAdsReturnedPlayer:[{var:"dayWentBack"},7]},{and:[{or:[{in:[{var:"instanceId"},[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,32,33,34,35,36,37,38,43,46]]},{">=":[{var:"instanceId"},251]}]},{">=":[{var:"level"},10]}]}]},paymentData:{or:[{"==":[{var:"LPD"},0]},{isExpired:[{var:"LPD"},Ge]}]}}},vertical:{rules:{loginData:{and:[...Ve,{showAdsReturnedPlayer:[{var:"dayWentBack"},7]},{and:[{or:[{in:[{var:"instanceId"},[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,32,33,34,35,36,37,38,43,46]]},{">=":[{var:"instanceId"},251]}]},{">=":[{var:"level"},10]}]}]},paymentData:{or:[{"==":[{var:"LPD"},0]},{isExpired:[{var:"LPD"},Ge]}]}}}},adblocker:{rules:{or:[{in:[{var:"instanceId"},[3]]},{in:[{var:"instanceId"},[257]]}]}},adSlotSettings:[{unitPath:"/21812119314/Banner_Empire_728x90",defaultAdSize:[728,90],sizeMap:new Map([[[1200,700],[[970,90],[728,90]]],[[728,700],[[728,90]]],[[0,0],[]]]),htmlElements:{adPlaceholder:{id:"ad-placeholder-horizontal",width:"calc(100% - 220px)",height:100,style:"\n width: calc(100% - 220px);\n height: 100px;\n background: #ffffff;\n position: absolute;\n top: 0px;\n display: block;\n min-width: 798px;\n min-height: 100px;\n align: center;"},adContainer:{id:"ad-container-horizontal",style:"\n width: fit-content;\n height: fit-content;\n display:inline-block;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n position: relative;\n max-height: 90px;"}}},{unitPath:"/21812119314/Banner_Empire_160x600",defaultAdSize:[160,600],sizeMap:new Map([[[1020,800],[[220,800],[160,600]]],[[1020,600],[[160,600]]],[[0,0],[]]]),htmlElements:{adPlaceholder:{id:"ad-placeholder-vertical",width:220,height:"100%",style:"\n width: 220px;\n height: 100%;\n background: #ffffff;\n position: absolute;\n right: 0px;\n top: 0px;\n display: block;\n min-width: 220px;\n min-height: 610px;\n align: center;"},adContainer:{id:"ad-container-vertical",style:"\n width: fit-content;\n height: fit-content;\n display:inline-block;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n position: relative;\n max-width: 220px;"}}}]},We=new Map([[`${we.BIGFARM}`,Je],[`${we.EMPIRE}`,qe]]),Ye=({gameId:e})=>{const t=We.get(e);if(!t)throw A(`Game '${e}' is not supported`),new Error(`Game '${e}' is not supported`);return{...He,...t}};var Ke,Xe="Expected a function",Ze=NaN,Qe="[object Symbol]",et=/^\s+|\s+$/g,tt=/^[-+]0x[0-9a-f]+$/i,nt=/^0b[01]+$/i,rt=/^0o[0-7]+$/i,ot=parseInt,it="object"==typeof n&&n&&n.Object===Object&&n,at="object"==typeof self&&self&&self.Object===Object&&self,st=it||at||Function("return this")(),ct=Object.prototype.toString,lt=Math.max,dt=Math.min,ut=function(){return st.Date.now()};function pt(e,t,n){var r,o,i,a,s,c,l=0,d=!1,u=!1,p=!0;if("function"!=typeof e)throw new TypeError(Xe);function f(t){var n=r,i=o;return r=o=void 0,l=t,a=e.apply(i,n)}function g(e){var n=e-c;return void 0===c||n>=t||n<0||u&&e-l>=i}function h(){var e=ut();if(g(e))return m(e);s=setTimeout(h,function(e){var n=t-(e-c);return u?dt(n,i-(e-l)):n}(e))}function m(e){return s=void 0,p&&r?f(e):(r=o=void 0,a)}function C(){var e=ut(),n=g(e);if(r=arguments,o=this,c=e,n){if(void 0===s)return function(e){return l=e,s=setTimeout(h,t),d?f(e):a}(c);if(u)return s=setTimeout(h,t),f(c)}return void 0===s&&(s=setTimeout(h,t)),a}return t=gt(t)||0,ft(n)&&(d=!!n.leading,i=(u="maxWait"in n)?lt(gt(n.maxWait)||0,t):i,p="trailing"in n?!!n.trailing:p),C.cancel=function(){void 0!==s&&clearTimeout(s),l=0,r=c=o=s=void 0},C.flush=function(){return void 0===s?a:m(ut())},C}function ft(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function gt(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&ct.call(e)==Qe}(e))return Ze;if(ft(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=ft(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(et,"");var n=nt.test(e);return n||rt.test(e)?ot(e.slice(2),n?2:8):tt.test(e)?Ze:+e}Ke=function(e,t,n){var r=!0,o=!0;if("function"!=typeof e)throw new TypeError(Xe);return ft(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),pt(e,t,{leading:r,maxWait:t,trailing:o})};var ht,mt={};ht=function(){"use strict";Array.isArray||(Array.isArray=function(e){return"[object Array]"===Object.prototype.toString.call(e)});var e={},t={"==":function(e,t){return e==t},"===":function(e,t){return e===t},"!=":function(e,t){return e!=t},"!==":function(e,t){return e!==t},">":function(e,t){return e>t},">=":function(e,t){return e>=t},"<":function(e,t,n){return void 0===n?e<t:e<t&&t<n},"<=":function(e,t,n){return void 0===n?e<=t:e<=t&&t<=n},"!!":function(t){return e.truthy(t)},"!":function(t){return!e.truthy(t)},"%":function(e,t){return e%t},log:function(e){return console.log(e),e},in:function(e,t){return!(!t||void 0===t.indexOf)&&-1!==t.indexOf(e)},cat:function(){return Array.prototype.join.call(arguments,"")},substr:function(e,t,n){if(n<0){var r=String(e).substr(t);return r.substr(0,r.length+n)}return String(e).substr(t,n)},"+":function(){return Array.prototype.reduce.call(arguments,(function(e,t){return parseFloat(e,10)+parseFloat(t,10)}),0)},"*":function(){return Array.prototype.reduce.call(arguments,(function(e,t){return parseFloat(e,10)*parseFloat(t,10)}))},"-":function(e,t){return void 0===t?-e:e-t},"/":function(e,t){return e/t},min:function(){return Math.min.apply(this,arguments)},max:function(){return Math.max.apply(this,arguments)},merge:function(){return Array.prototype.reduce.call(arguments,(function(e,t){return e.concat(t)}),[])},var:function(e,t){var n=void 0===t?null:t,r=this;if(void 0===e||""===e||null===e)return r;for(var o=String(e).split("."),i=0;i<o.length;i++){if(null==r)return n;if(void 0===(r=r[o[i]]))return n}return r},missing:function(){for(var t=[],n=Array.isArray(arguments[0])?arguments[0]:arguments,r=0;r<n.length;r++){var o=n[r],i=e.apply({var:o},this);null!==i&&""!==i||t.push(o)}return t},missing_some:function(t,n){var r=e.apply({missing:n},this);return n.length-r.length>=t?[]:r}};return e.is_logic=function(e){return"object"==typeof e&&null!==e&&!Array.isArray(e)&&1===Object.keys(e).length},e.truthy=function(e){return!(Array.isArray(e)&&0===e.length||!e)},e.get_operator=function(e){return Object.keys(e)[0]},e.get_values=function(t){return t[e.get_operator(t)]},e.apply=function(n,r){if(Array.isArray(n))return n.map((function(t){return e.apply(t,r)}));if(!e.is_logic(n))return n;var o,i,a,s,c,l=e.get_operator(n),d=n[l];if(Array.isArray(d)||(d=[d]),"if"===l||"?:"==l){for(o=0;o<d.length-1;o+=2)if(e.truthy(e.apply(d[o],r)))return e.apply(d[o+1],r);return d.length===o+1?e.apply(d[o],r):null}if("and"===l){for(o=0;o<d.length;o+=1)if(i=e.apply(d[o],r),!e.truthy(i))return i;return i}if("or"===l){for(o=0;o<d.length;o+=1)if(i=e.apply(d[o],r),e.truthy(i))return i;return i}if("filter"===l)return s=e.apply(d[0],r),a=d[1],Array.isArray(s)?s.filter((function(t){return e.truthy(e.apply(a,t))})):[];if("map"===l)return s=e.apply(d[0],r),a=d[1],Array.isArray(s)?s.map((function(t){return e.apply(a,t)})):[];if("reduce"===l)return s=e.apply(d[0],r),a=d[1],c=void 0!==d[2]?d[2]:null,Array.isArray(s)?s.reduce((function(t,n){return e.apply(a,{current:n,accumulator:t})}),c):c;if("all"===l){if(s=e.apply(d[0],r),a=d[1],!s.length)return!1;for(o=0;o<s.length;o+=1)if(!e.truthy(e.apply(a,s[o])))return!1;return!0}if("none"===l)return 0===e.apply({filter:d},r).length;if("some"===l)return e.apply({filter:d},r).length>0;if(d=d.map((function(t){return e.apply(t,r)})),t.hasOwnProperty(l)&&"function"==typeof t[l])return t[l].apply(r,d);if(l.indexOf(".")>0){var u=String(l).split("."),p=t;for(o=0;o<u.length;o++){if(!p.hasOwnProperty(u[o]))throw new Error("Unrecognized operation "+l+" (failed at "+u.slice(0,o+1).join(".")+")");p=p[u[o]]}return p.apply(r,d)}throw new Error("Unrecognized operation "+l)},e.uses_data=function(t){var n=[];if(e.is_logic(t)){var r=e.get_operator(t),o=t[r];Array.isArray(o)||(o=[o]),"var"===r?n.push(o[0]):o.map((function(t){n.push.apply(n,e.uses_data(t))}))}return function(e){for(var t=[],n=0,r=e.length;n<r;n++)-1===t.indexOf(e[n])&&t.push(e[n]);return t}(n)},e.add_operation=function(e,n){t[e]=n},e.rm_operation=function(e){delete t[e]},e.rule_like=function(t,n){if(n===t)return!0;if("@"===n)return!0;if("number"===n)return"number"==typeof t;if("string"===n)return"string"==typeof t;if("array"===n)return Array.isArray(t)&&!e.is_logic(t);if(e.is_logic(n)){if(e.is_logic(t)){var r=e.get_operator(n),o=e.get_operator(t);if("@"===r||r===o)return e.rule_like(e.get_values(t,!1),e.get_values(n,!1))}return!1}if(Array.isArray(n)){if(Array.isArray(t)){if(n.length!==t.length)return!1;for(var i=0;i<n.length;i+=1)if(!e.rule_like(t[i],n[i]))return!1;return!0}return!1}return!1},e},"function"==typeof define&&define.amd?define(ht):mt=ht();const Ct=A.extend("Utils"),wt=(e,t)=>t.includes(Number.parseInt(e,10)),vt=(e,t)=>!(-1!==e)||yt(e,t),yt=(e,t)=>("number"==typeof e&&/\d{10}/.test(`${e}`)&&(e*=1e3),Date.now()-e>=864e5*t),bt=e=>new Promise((function(t,n){const r=document.createElement("script");r.src=e,r.addEventListener("load",(function(){Ct(`Script loaded: ${e}`),t()})),r.addEventListener("error",(function(t){Ct(`Error loading script: ${e} %O`,t),n(t)})),document.head.append(r)})),Et=A.extend("PREBID").extend("Amazon");var At={};function It(){Et("Amazon ads is loading...");const e=new URL(At).toString();return bt(e).then((()=>{window.apstag.init({pubID:Se,adServer:"googletag",simplerGPT:!0})}))}At=i("hIarR").getBundleURL("ldGXu")+i("kI8SP").resolve("dEJUC");const Ft=A.extend("PREBID"),St=e=>{if(Ft("Building partners config..."),!Object.values(we).includes(e))throw new Error(`Invalid game ID: ${e}`);const t=[],{config:n,bidderSettings:r,partners:o}={partners:{ix:{params:{siteId:_e[i=e]}},pubmatic:{params:{publisherId:"162973"}},rubicon:{params:{accountId:"23558",siteId:"376420",zoneId:Te[i],position:"atf"}},underdogmedia:{params:{siteId:xe[i]}}},config:{userSync:{iframeEnabled:!0,filterSettings:{iframe:{bidders:"*",filter:"include"}}}},bidderSettings:{ix:{storageAllowed:!0}}};var i;for(const[e,{params:n}]of Object.entries(o))t.push({bidder:e,params:n});return{bids:t,config:n,bidderSettings:r}},_t=A.extend("PREBID");var Tt;Tt=i("hIarR").getBundleURL("ldGXu")+i("kI8SP").resolve("2BbfJ");const xt=e=>{_t("Prebid is loading...");const t=new URL(Tt).toString();return bt(t).then((()=>{const{adUnits:t,config:n,bidderSettings:r}=Nt(e);window.pbjs=window.pbjs||{},window.pbjs.que=window.pbjs.que||[],window.pbjs.que.push((()=>{window.pbjs.addAdUnits(t),window.pbjs.setConfig(n),window.pbjs.bidderSettings=r,_t("Prebid initiated")}))}))},Rt=e=>{const t=[];for(const[n,r]of[...e].reverse())t.push({minViewPort:n,sizes:r});return t},Nt=({gameId:e,adSlotSettings:t})=>{const n=[],{bids:r,config:o,bidderSettings:i}=St(e);for(const{sizeMap:e,unitPath:o}of t){const t=Rt(e);n.push({code:o,bids:r,mediaTypes:{banner:{sizeConfig:t}}})}return{config:{bidderTimeout:Ie,...o},adUnits:n,bidderSettings:i}},Pt=A.extend("PREBID").extend("Auction"),Ot=async(e,t)=>{await Promise.all([It(),xt(t)]),kt(e)},kt=e=>{zt([Lt(e),Bt()])},Dt=e=>{Pt("Refreshing bids: ",e),window.googletag.cmd.push((()=>{zt([Lt(e),Bt(e)],e)}))},zt=(e,t=[])=>{Promise.all(e).then((()=>{Pt("Bids requested successfully")})).catch((e=>{Pt("Requesting bids error: ",e)})).finally((()=>{window.googletag.cmd.push((()=>{Pt("Loading new ads..."),t.length>0?window.googletag.pubads().refresh(t):window.googletag.pubads().refresh()}))}))},Lt=e=>new Promise(((t,n)=>{window.apstag.fetchBids({slots:e,timeout:Ie},(e=>{Pt("Aps bids",e),window.googletag.cmd.push((()=>{window.apstag.setDisplayBids(),t(e)}))})),setTimeout((()=>{n(new Error("Aps request timeout has exceeded 1050"))}),Fe)})),Bt=(e=[])=>{const t=e.map((e=>e.getAdUnitPath()));return new Promise(((e,n)=>{window.pbjs.que.push((()=>{window.pbjs.requestBids({timeout:Ie,adUnitCodes:t,bidsBackHandler:()=>{window.googletag.cmd.push((()=>{t.length>0?window.pbjs.setTargetingForGPTAsync(t):window.pbjs.setTargetingForGPTAsync(),e()}))}})})),setTimeout((()=>{n(new Error("Prebid request timeout has exceeded 1050"))}),Fe)}))},Mt=[],Ut={vertical:{},horizontal:{}},jt=(e,t,n)=>{const r=document.querySelector(`#${Ae}`);return r.style.width=e,r.style.height=t,r.style.marginTop=`${n}px`,!0},$t=e=>"number"==typeof e,Gt=e=>{let t=0,n=0;for(const r of e){const{htmlElements:{adPlaceholder:{width:e,height:o}}}=r;$t(e)&&e>t&&(t=e),$t(o)&&o>n&&(n=o)}return{width:`calc(100vw - ${t}px)`,height:`calc(100vh - ${n}px)`,bannerWidth:t,bannerHeight:n}},Ht=e=>{const{htmlElements:t}=e;if(!document.querySelector(`#${t.adContainer.id}`)){const e=document.createElement("div");e.setAttribute("id",t.adPlaceholder.id),e.setAttribute("style",t.adPlaceholder.style);const n=document.createElement("div");n.setAttribute("id",t.adContainer.id),n.setAttribute("style",t.adContainer.style),e.append(n),document.body.append(e),Mt.push(e)}},Vt=e=>{for(const t of e){const e=Mt.find((e=>e.id.includes(t)));e&&(e.remove(),Ut[t].isShown=!1)}},Jt=e=>{for(const t of e){const e=Mt.find((e=>e.id.includes(t)));e&&(document.body.append(e),Ut[t].isShown=!0)}};let qt,Wt,Yt,Kt,Xt,Zt,Qt,en,tn="100vw",nn="100vh";const rn=[],on=()=>Ut.vertical.isShown?tn:"100vw",an=()=>Ut.horizontal.isShown?nn:"100vh",sn=()=>Ut.horizontal.isShown?`${qt}px`:"0px";let cn,ln;const dn=(e,t=!1)=>{cn=setTimeout((()=>{Dt([rn[0]]),clearTimeout(cn)}),1e3*e),t&&Dt([rn[0]])},un=(e,t=!1)=>{ln=setTimeout((()=>{Dt([rn[1]]),clearTimeout(ln)}),1e3*e),t&&Dt([rn[1]])},pn=(e,t)=>{A("Creating ad slots"),window.googletag=window.googletag||{cmd:[]},window.googletag.cmd.push((()=>{try{for(const e of t){const t=window.googletag.sizeMapping();if(e.sizeMap)for(const[n,r]of e.sizeMap)t.addSize(n,r);const n=window.googletag.defineSlot(e.unitPath,e.defaultAdSize,e.htmlElements.adContainer.id);n?rn.push(n.addService(window.googletag.pubads()).defineSizeMapping(t.build())):A(`Error while creating ad slot: ${e.unitPath}`)}window.googletag.pubads().addEventListener("slotOnload",(e=>t=>{const n=t.slot.getSlotElementId();A(`Creative iframe load event has fired. slotId: ${n}`),n.includes("horizontal")?dn(e):n.includes("vertical")?un(e):A("No slot to refresh")})(e)),window.googletag.pubads().addEventListener("slotVisibilityChanged",(e=>{0===e.inViewPercentage?mn():Cn()})),window.googletag.pubads().addEventListener("slotRenderEnded",(e=>{const t=e.slot.getSlotElementId(),n=Tn(t);Ue(De.BANNER_REFRESHED,n,$e(e)),A("Slot %s finished rendering. %O",t,{"Advertiser ID":e.advertiserId,"Campaign ID":e.campaignId,"Creative ID":e.creativeId,"Is empty?":e.isEmpty,"Line Item ID":e.lineItemId,Size:e.size,"Source Agnostic Creative ID":e.sourceAgnosticCreativeId,"Source Agnostic Line Item ID":e.sourceAgnosticLineItemId})})),window.googletag.pubads().enableSingleRequest(),window.googletag.pubads().disableInitialLoad(),window.googletag.enableServices();for(const e of t){const{htmlElements:{adContainer:t}}=e;window.googletag.display(t.id)}}catch(e){A("Error while setting up ad banners",e)}}))},fn=(e,t,n)=>{const r=document.querySelector(`#${Ae}`);return e&&(r.style.width=e),t&&(r.style.height=t),n&&(r.style.marginTop=n),!0},gn=e=>{A("pause banner ad",e),e.includes("horizontal")&&Ut.horizontal.isShown&&(Vt(["horizontal"]),fn(void 0,an(),sn()),clearTimeout(cn),Ue(De.BANNER_INACTIVE,"horizontal"),A("Horizontal ad banner paused")),e.includes("vertical")&&Ut.vertical.isShown&&(Vt(["vertical"]),fn(on()),clearTimeout(ln),Ue(De.BANNER_INACTIVE,"vertical"),A("Vertical ad banner paused"))},hn=e=>{e.includes("horizontal")&&Ut.horizontal.isEnabled&&!Ut.horizontal.isShown&&(Jt(["horizontal"]),fn(void 0,an(),sn()),dn(en,!0),Ue(De.BANNER_ACTIVE,"horizontal"),A("Horizontal ad banner resumed")),e.includes("vertical")&&Ut.vertical.isEnabled&&!Ut.vertical.isShown&&(Jt(["vertical"]),fn(on()),un(en,!0),Ue(De.BANNER_ACTIVE,"vertical"),A("Vertical ad banner resumed"))},mn=()=>{Ut.isActiveTab&&(A("Stopping ads refreshment on passive tab"),Ut.isActiveTab=!1,clearTimeout(cn),clearTimeout(ln))},Cn=()=>{Ut.isActiveTab||(A("Resuming ads refreshment on active tab"),Ut.isActiveTab=!0,Ut.horizontal.isEnabled&&Ut.horizontal.isShown&&(A("Horizontal ad banner refreshing"),dn(en)),Ut.vertical.isEnabled&&Ut.vertical.isShown&&(A("Vertical ad banner refreshing"),un(en)))},wn=function(e){for(const t of e){const e=t.target.style;e.width!==on()&&(e.width=on())}},vn=function(e){for(const t of e){const e=t.target.style;e.height!==an()&&(e.height=an(),e.marginTop=sn())}},yn=()=>{const{innerHeight:e,innerWidth:t}=window;t>=728&&e>=Xt+Qt?hn(["horizontal"]):Ut.horizontal.isShown&&gn(["horizontal"]),t>=Kt+Zt&&e>=Xt?hn(["vertical"]):Ut.vertical.isShown&&gn(["vertical"])},bn=t(Ke)(yn,100),En=()=>{const e=document.querySelector(`#${Ae}`),t={attributes:!0,subtree:!1,childList:!1,attributeFilter:["style"]};Yt.observe(e,t),Wt.observe(e,t),yn(),window.addEventListener("resize",bn)},An=({refreshTime:e,adSlotSettings:t},n)=>{try{A("Setting up banners");const{width:r,height:o,bannerWidth:i,bannerHeight:a}=Gt(t);tn=r,nn=o,qt=a,jt(r,o,a),Zt=i,Qt=a;for(const e of t)Ht(e);Kt=Number.parseInt(document.querySelector(`#${Ae}`).style.minWidth,10)||800,Xt=Number.parseInt(document.querySelector(`#${Ae}`).style.minHeight,10)||600,Wt=new MutationObserver(wn),Yt=new MutationObserver(vn),en=e,pn(e,t),Ut.horizontal.isShown=!0,Ut.vertical.isShown=!0,Ut.horizontal.isEnabled=!0,Ut.vertical.isEnabled=!0,En(),n.includes("vertical")||(Ut.vertical.isEnabled=!1,gn(["vertical"])),n.includes("horizontal")||(Ut.horizontal.isEnabled=!1,gn(["horizontal"])),Ut.horizontal.isShown&&Ue(De.BANNER_ACTIVE,"horizontal"),Ut.vertical.isShown&&Ue(De.BANNER_ACTIVE,"vertical")}catch(e){A("Failed to load ads",e)}},In=async(e,t)=>{window.googletag?.apiReady?(A("Google publisher tag was already initialized."),Sn(t)):(await Fn(),An(e,t),await Ot(rn,e))},Fn=()=>(A("Google publisher tag is loading..."),bt("https://securepubads.g.doubleclick.net/tag/js/gpt.js")),Sn=e=>{A("Enable ad: ",e),Ut.vertical.isEnabled=e.includes("vertical"),Ut.horizontal.isEnabled=e.includes("horizontal"),En(),e.includes("vertical")||gn(["vertical"]),e.includes("horizontal")||gn(["horizontal"])},_n=e=>{A("Disabling banner ads:",e),e.includes("vertical")&&(Wt?.disconnect(),Ut.vertical.isEnabled=!1),e.includes("horizontal")&&(Yt?.disconnect(),Ut.horizontal.isEnabled=!1),gn(e),Ut.horizontal.isShown||Ut.vertical.isShown||window.removeEventListener("resize",bn)},Tn=e=>{if(e.includes("horizontal"))return"horizontal";if(e.includes("vertical"))return"vertical";throw A(`Unknown slot type. ID: ${e}`),new Error(`Unknown slot type. ID: ${e}`)},xn=A.extend("AD-BLOCK-DETECTION");let Rn=!0;const Nn=()=>{window.googlefc=window.googlefc||{},window.googlefc.ccpa=window.googlefc.ccpa||{},window.googlefc.callbackQueue=window.googlefc.callbackQueue||[],window.googlefc.controlledMessagingFunction=e=>{Rn&&(je(),Rn=!1),e.proceed(!0)}};var Pn;Pn=i("hIarR").getBundleURL("ldGXu")+i("kI8SP").resolve("bMJod");var On;On=i("hIarR").getBundleURL("ldGXu")+i("kI8SP").resolve("lzUYe");const kn=()=>{const e=document.createElement("script"),t=document.createElement("script"),n=document.createElement("script");e.async=!0,e.src="https://fundingchoicesmessages.google.com/i/pub-6694780994007094?ers=1",t.src=new URL(Pn).toString(),n.src=new URL(On).toString(),document.head.append(e,t,n)},Dn=e=>{history.pushState(null,""," "),window.addEventListener("hashchange",(t=>{t.newURL.includes("#store")&&!t.oldURL.includes("#store")&&(e.emit(ve.OpenIGS,{page:"dailybundles",sourceId:"adBlockPopupShopButton"}),zn.hide(),Re.send(P.AC_AD_POPUP_SHOP_LINK_CLICK.decorate(ke,"google_adblocker","link_to_igs"))),e.once(ve.CloseIGS,(()=>{zn.show(),history.pushState(null,""," ")}))}),!1)};const zn=new class{constructor(e){this.status="",this.elementIdentifier=e}get element(){let[e]=document.querySelectorAll(this.elementIdentifier);return e||(xn("Adblock consent modal not found, using fallback"),e=document.createElement("div")),e}show(){je(),this.element.removeAttribute("style"),this.status="visible"}hide(){this.element.setAttribute("style","display: none!important"),this.status="hidden"}remove(){this.element.remove(),this.status="removed"}isShown(){return"visible"===this.status}isHidden(){return"hidden"===this.status}isRemoved(){return"removed"===this.status}}(".fc-ab-root");let Ln,Bn;let Mn,Un;const jn=new Map([[we.EMPIRE,{registerCustomGameHandlers:(e,t)=>{A("EM - registerCustomGameHandlers"),Mn=e,Un=t,Mn.on(be.UPDATE_PAY,(e=>{const[t]=e,n=t[1],r=JSON.parse(n);Un(Ee.UPDATE_PAY,r)}))}}],[we.BIGFARM,{registerCustomGameHandlers:(e,t)=>{A("BF - registerCustomGameHandlers"),Ln=e,Bn=t,Ln.on("124",(()=>{})),Ln.on(ye.UPDATE_PAY,(e=>{const[t]=e;Bn(Ee.UPDATE_PAY,t)}))}}]]),$n=e=>{const t=Number.parseInt(e.gameId,10);if(!jn.has(t))throw A(`Game controller is not registered for the game - [${t}]`),new Error(`Game controller is not registered for the game - [${t}]`);return jn.get(t)},Gn=(e,n)=>t(mt).apply(n,e);let Hn=!1,Vn=!0;const Jn=(e,t)=>{try{(e=>{A(`Waiting for ${ve.JoinTempServer} event`),e.on(ve.JoinTempServer,(e=>{A(`${ve.JoinTempServer} received`,{isTempServer:e}),Hn=e}))})(e),(e=>{A(`Waiting for ${ve.Subscription} event`),e.on(ve.Subscription,(e=>{A(`${ve.Subscription} received`),Vn=e}))})(e),e.on(ve.Login,(async e=>{var n;await(n=3e3,new Promise((e=>setTimeout(e,n))));const r={...e,hasSubscription:Vn,isTempServer:Hn};A("Ad banners login data",r),t(r)}))}catch(e){throw A("Error while waiting for login data: %O",e),new Error("Error while waiting for login data")}};let qn,Wn,Yn,Kn=[],Xn=[],Zn=null;const Qn=(t(mt).add_operation("isGGSNetwork",wt),t(mt).add_operation("showAdsReturnedPlayer",vt),t(mt).add_operation("isExpired",yt),Gn),er=new Map([[Ee.UPDATE_PAY,e=>{zn.remove(),ir(e,"paymentData"),_n(Xn)}]]),tr=e=>{qn=e,Wn=$n(qn),Yn=Ye(qn),A("gameController: %O",Wn),sr()},nr=e=>{ke={get date(){return(new Date).toUTCString()},zoneId:Oe.zoneId,gameId:Number.parseInt(Oe.gameId,10),networkId:Number.parseInt(Oe.networkId,10),instanceId:Oe.instanceId,playerId:Oe.playerId,sessionId:Ne},e.isTempServer?rr():or(e)},rr=()=>{A("Temp server login detected!"),null!==Zn?(Zn&&In(Yn,Kn),Xn.length>0&&_n(Xn)):A("Error: first load logging in temp server!")},or=e=>{const t={...e,originUrl:new URL(location.href).hostname};ir(t,"loginData");const n=Qn(e,Yn.adblocker.rules);var r;Zn&&n&&(r=qn,window.googlefc||(xn("Google Funding Choices API and ad blocker loading..."),Nn(),kn(),Dn(r))),Zn&&In(Yn,Kn),Xn.length>0&&_n(Xn),cr(Zn,Kn,Xn)},ir=(e,t)=>{Kn=[],Xn=[];for(const[n,{rules:r}]of Object.entries(Yn.banners))Qn(e,r[t])?Kn.push(n):(A("The %s banner does not comply with %s rules: %O",n,t,e),Xn.push(n));Zn=Kn.length>0},ar=(e,t)=>{A(`triggerCallback - [${e}, ${t}]`),er.has(e)||A(`Event ${e} is not registered in handlers map`);er.get(e)(t)},sr=()=>{(async()=>{Jn(qn,nr)})(),Wn.registerCustomGameHandlers(qn,ar)},cr=(e,t,n)=>{setTimeout((()=>{qn.emit(ve.AdBannerStatus,{areBannersAvailable:e,bannersDetails:{enabledBanners:t,disabledBanners:n}})}),5e3)},lr=e=>{var t;A("start initializing..."),A("tracking has been initialized %o",t=e),Oe=t,tr(e)};i("hsJ0L").then((e=>{lr(e)}))})();
(()=>{function e(e,t,n,r){Object.defineProperty(e,t,{get:n,set:r,enumerable:!0,configurable:!0})}function t(e){return e&&e.__esModule?e.default:e}var n="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{},r={},o={},i=n.parcelRequired8ea;null==i&&((i=function(e){if(e in r)return r[e].exports;if(e in o){var t=o[e];delete o[e];var n={id:e,exports:{}};return r[e]=n,t.call(n.exports,n,n.exports),n.exports}var i=new Error("Cannot find module '"+e+"'");throw i.code="MODULE_NOT_FOUND",i}).register=function(e,t){o[e]=t},n.parcelRequired8ea=i),i.register("kI8SP",(function(t,n){var r,o;e(t.exports,"register",(()=>r),(e=>r=e)),e(t.exports,"resolve",(()=>o),(e=>o=e));var i={};r=function(e){for(var t=Object.keys(e),n=0;n<t.length;n++)i[t[n]]=e[t[n]]},o=function(e){var t=i[e];if(null==t)throw new Error("Could not resolve bundle with id "+e);return t}})),i.register("8s8WA",(function(e,t){e.exports=function(e){function t(e){let r,o,i,a=null;function s(...e){if(!s.enabled)return;const n=s,o=Number(new Date),i=o-(r||o);n.diff=i,n.prev=r,n.curr=o,r=o,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let a=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,((r,o)=>{if("%%"===r)return"%";a++;const i=t.formatters[o];if("function"==typeof i){const t=e[a];r=i.call(n,t),e.splice(a,1),a--}return r})),t.formatArgs.call(n,e);(n.log||t.log).apply(n,e)}return s.namespace=e,s.useColors=t.useColors(),s.color=t.selectColor(e),s.extend=n,s.destroy=t.destroy,Object.defineProperty(s,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==a?a:(o!==t.namespaces&&(o=t.namespaces,i=t.enabled(e)),i),set:e=>{a=e}}),"function"==typeof t.init&&t.init(s),s}function n(e,n){const r=t(this.namespace+(void 0===n?":":n)+e);return r.log=this.log,r}function r(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){return e instanceof Error?e.stack||e.message:e},t.disable=function(){const e=[...t.names.map(r),...t.skips.map(r).map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){let n;t.save(e),t.namespaces=e,t.names=[],t.skips=[];const r=("string"==typeof e?e:"").split(/[\s,]+/),o=r.length;for(n=0;n<o;n++)r[n]&&("-"===(e=r[n].replace(/\*/g,".*?"))[0]?t.skips.push(new RegExp("^"+e.slice(1)+"$")):t.names.push(new RegExp("^"+e+"$")))},t.enabled=function(e){if("*"===e[e.length-1])return!0;let n,r;for(n=0,r=t.skips.length;n<r;n++)if(t.skips[n].test(e))return!1;for(n=0,r=t.names.length;n<r;n++)if(t.names[n].test(e))return!0;return!1},t.humanize=i("4N8Pa"),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach((n=>{t[n]=e[n]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let n=0;for(let t=0;t<e.length;t++)n=(n<<5)-n+e.charCodeAt(t),n|=0;return t.colors[Math.abs(n)%t.colors.length]},t.enable(t.load()),t}})),i.register("4N8Pa",(function(e,t){var n=1e3,r=60*n,o=60*r,i=24*o,a=7*i,s=365.25*i;function c(e,t,n,r){var o=t>=1.5*n;return Math.round(e/n)+" "+r+(o?"s":"")}e.exports=function(e,t){t=t||{};var l,d,u=typeof e;if("string"===u&&e.length>0)return function(e){if((e=String(e)).length>100)return;var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!t)return;var c=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return c*s;case"weeks":case"week":case"w":return c*a;case"days":case"day":case"d":return c*i;case"hours":case"hour":case"hrs":case"hr":case"h":return c*o;case"minutes":case"minute":case"mins":case"min":case"m":return c*r;case"seconds":case"second":case"secs":case"sec":case"s":return c*n;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return c;default:return}}(e);if("number"===u&&isFinite(e))return t.long?(l=e,(d=Math.abs(l))>=i?c(l,d,i,"day"):d>=o?c(l,d,o,"hour"):d>=r?c(l,d,r,"minute"):d>=n?c(l,d,n,"second"):l+" ms"):function(e){var t=Math.abs(e);return t>=i?Math.round(e/i)+"d":t>=o?Math.round(e/o)+"h":t>=r?Math.round(e/r)+"m":t>=n?Math.round(e/n)+"s":e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}})),i.register("hIarR",(function(t,n){var r;e(t.exports,"getBundleURL",(()=>r),(e=>r=e));var o={};function i(e){return(""+e).replace(/^((?:https?|file|ftp|(chrome|moz|safari-web)-extension):\/\/.+)\/[^/]+$/,"$1")+"/"}r=function(e){var t=o[e];return t||(t=function(){try{throw new Error}catch(t){var e=(""+t.stack).match(/(https?|file|ftp|(chrome|moz|safari-web)-extension):\/\/[^)\n]+/g);if(e)return i(e[2])}return"/"}(),o[e]=t),t}})),i.register("hsJ0L",(function(e,t){"use strict";var n=window&&window.CXF;e.exports=new Promise((function(e,t){if(window||t(),n)return e(n);window.addEventListener("cxf.initialized",(function(t){n=t.cxf,e(n)}),{capture:!0,once:!0,passive:!0})}))})),i("kI8SP").register(JSON.parse('{"ldGXu":"index.js","dEJUC":"amazon-aps-script.min.420b3b9e.js","2BbfJ":"prebid-script.min.af646dff.js","bMJod":"ad-blocking-recovery-script.min.f6423de5.js","lzUYe":"error-protection-message-script.min.8bfafdb0.js"}'));var a,s,c={},l={},d=l={};function u(){throw new Error("setTimeout has not been defined")}function p(){throw new Error("clearTimeout has not been defined")}function f(e){if(a===setTimeout)return setTimeout(e,0);if((a===u||!a)&&setTimeout)return a=setTimeout,setTimeout(e,0);try{return a(e,0)}catch(t){try{return a.call(null,e,0)}catch(t){return a.call(this,e,0)}}}!function(){try{a="function"==typeof setTimeout?setTimeout:u}catch(e){a=u}try{s="function"==typeof clearTimeout?clearTimeout:p}catch(e){s=p}}();var g,h=[],m=!1,C=-1;function w(){m&&g&&(m=!1,g.length?h=g.concat(h):C=-1,h.length&&v())}function v(){if(!m){var e=f(w);m=!0;for(var t=h.length;t;){for(g=h,h=[];++C<t;)g&&g[C].run();C=-1,t=h.length}g=null,m=!1,function(e){if(s===clearTimeout)return clearTimeout(e);if((s===p||!s)&&clearTimeout)return s=clearTimeout,clearTimeout(e);try{return s(e)}catch(t){try{return s.call(null,e)}catch(t){return s.call(this,e)}}}(e)}}function y(e,t){this.fun=e,this.array=t}function b(){}d.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];h.push(new y(e,t)),1!==h.length||m||f(v)},y.prototype.run=function(){this.fun.apply(null,this.array)},d.title="browser",d.browser=!0,d.env={},d.argv=[],d.version="",d.versions={},d.on=b,d.addListener=b,d.once=b,d.off=b,d.removeListener=b,d.removeAllListeners=b,d.emit=b,d.prependListener=b,d.prependOnceListener=b,d.listeners=function(e){return[]},d.binding=function(e){throw new Error("process.binding is not supported")},d.cwd=function(){return"/"},d.chdir=function(e){throw new Error("process.chdir is not supported")},d.umask=function(){return 0},c.formatArgs=function(e){if(e[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+e[0]+(this.useColors?"%c ":" ")+"+"+c.humanize(this.diff),!this.useColors)return;const t="color: "+this.color;e.splice(1,0,t,"color: inherit");let n=0,r=0;e[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(n++,"%c"===e&&(r=n))})),e.splice(r,0,t)},c.save=function(e){try{e?c.storage.setItem("debug",e):c.storage.removeItem("debug")}catch(e){}},c.load=function(){let e;try{e=c.storage.getItem("debug")}catch(e){}!e&&void 0!==l&&"env"in l&&(e=void 0);return e},c.useColors=function(){return!("undefined"==typeof window||!window.process||"renderer"!==window.process.type&&!window.process.__nwjs)||("undefined"==typeof navigator||!navigator.userAgent||!navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},c.storage=function(){try{return localStorage}catch(e){}}(),c.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),c.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],c.log=console.debug||console.log||(()=>{}),c=i("8s8WA")(c);const{formatters:E}=c;E.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}};var A=t(c)("CXF-AD-BANNER:");var I={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};let F;const S=new Uint8Array(16);function _(){if(!F&&(F="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!F))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return F(S)}const T=[];for(let e=0;e<256;++e)T.push((e+256).toString(16).slice(1));function x(e,t=0){return(T[e[t+0]]+T[e[t+1]]+T[e[t+2]]+T[e[t+3]]+"-"+T[e[t+4]]+T[e[t+5]]+"-"+T[e[t+6]]+T[e[t+7]]+"-"+T[e[t+8]]+T[e[t+9]]+"-"+T[e[t+10]]+T[e[t+11]]+T[e[t+12]]+T[e[t+13]]+T[e[t+14]]+T[e[t+15]]).toLowerCase()}var R,N=function(e,t,n){if(I.randomUUID&&!t&&!e)return I.randomUUID();const r=(e=e||{}).random||(e.rng||_)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,t){n=n||0;for(let e=0;e<16;++e)t[n+e]=r[e];return t}return x(r)},P={},O=Object.create,k=Object.defineProperty,D=Object.getOwnPropertyDescriptor,z=Object.getOwnPropertyNames,L=Object.getPrototypeOf,B=Object.prototype.hasOwnProperty,M=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),U=(e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let o of z(t))!B.call(e,o)&&o!==n&&k(e,o,{get:()=>t[o],enumerable:!(r=D(t,o))||r.enumerable});return e},j=M(((e,t)=>{var n=1e3,r=60*n,o=60*r,i=24*o,a=7*i,s=365.25*i;function c(e,t,n,r){var o=t>=1.5*n;return Math.round(e/n)+" "+r+(o?"s":"")}t.exports=function(e,t){t=t||{};var l=typeof e;if("string"===l&&e.length>0)return function(e){if(e=String(e),!(e.length>100)){var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(t){var c=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return c*s;case"weeks":case"week":case"w":return c*a;case"days":case"day":case"d":return c*i;case"hours":case"hour":case"hrs":case"hr":case"h":return c*o;case"minutes":case"minute":case"mins":case"min":case"m":return c*r;case"seconds":case"second":case"secs":case"sec":case"s":return c*n;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return c;default:return}}}}(e);if("number"===l&&isFinite(e))return t.long?function(e){var t=Math.abs(e);return t>=i?c(e,t,i,"day"):t>=o?c(e,t,o,"hour"):t>=r?c(e,t,r,"minute"):t>=n?c(e,t,n,"second"):e+" ms"}(e):function(e){var t=Math.abs(e);return t>=i?Math.round(e/i)+"d":t>=o?Math.round(e/o)+"h":t>=r?Math.round(e/r)+"m":t>=n?Math.round(e/n)+"s":e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}})),$=M(((e,t)=>{t.exports=function(e){function t(e){let r,o,i,a=null;function s(...e){if(!s.enabled)return;let n=s,o=Number(new Date),i=o-(r||o);n.diff=i,n.prev=r,n.curr=o,r=o,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let a=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,((r,o)=>{if("%%"===r)return"%";a++;let i=t.formatters[o];if("function"==typeof i){let t=e[a];r=i.call(n,t),e.splice(a,1),a--}return r})),t.formatArgs.call(n,e),(n.log||t.log).apply(n,e)}return s.namespace=e,s.useColors=t.useColors(),s.color=t.selectColor(e),s.extend=n,s.destroy=t.destroy,Object.defineProperty(s,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==a?a:(o!==t.namespaces&&(o=t.namespaces,i=t.enabled(e)),i),set:e=>{a=e}}),"function"==typeof t.init&&t.init(s),s}function n(e,n){let r=t(this.namespace+(typeof n>"u"?":":n)+e);return r.log=this.log,r}function r(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){return e instanceof Error?e.stack||e.message:e},t.disable=function(){let e=[...t.names.map(r),...t.skips.map(r).map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){t.save(e),t.namespaces=e,t.names=[],t.skips=[];let n,r=("string"==typeof e?e:"").split(/[\s,]+/),o=r.length;for(n=0;n<o;n++)!r[n]||("-"===(e=r[n].replace(/\*/g,".*?"))[0]?t.skips.push(new RegExp("^"+e.slice(1)+"$")):t.names.push(new RegExp("^"+e+"$")))},t.enabled=function(e){if("*"===e[e.length-1])return!0;let n,r;for(n=0,r=t.skips.length;n<r;n++)if(t.skips[n].test(e))return!1;for(n=0,r=t.names.length;n<r;n++)if(t.names[n].test(e))return!0;return!1},t.humanize=j(),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach((n=>{t[n]=e[n]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let n=0;for(let t=0;t<e.length;t++)n=(n<<5)-n+e.charCodeAt(t),n|=0;return t.colors[Math.abs(n)%t.colors.length]},t.enable(t.load()),t}})),G=M(((e,t)=>{e.formatArgs=function(e){if(e[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+e[0]+(this.useColors?"%c ":" ")+"+"+t.exports.humanize(this.diff),!this.useColors)return;let n="color: "+this.color;e.splice(1,0,n,"color: inherit");let r=0,o=0;e[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(r++,"%c"===e&&(o=r))})),e.splice(o,0,n)},e.save=function(t){try{t?e.storage.setItem("debug",t):e.storage.removeItem("debug")}catch{}},e.load=function(){let t;try{t=e.storage.getItem("debug")}catch{}return!t&&typeof l<"u"&&"env"in l&&(t=void 0),t},e.useColors=function(){return!(!(typeof window<"u"&&window.process)||"renderer"!==window.process.type&&!window.process.__nwjs)||!(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&(typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},e.storage=function(){try{return localStorage}catch{}}(),e.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),e.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],e.log=console.debug||console.log||(()=>{}),t.exports=$()(e);var{formatters:n}=t.exports;n.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}})),H={};((e,t)=>{for(var n in t)k(e,n,{get:t[n],enumerable:!0})})(H,{AC_AD_POPUP_SHOP_LINK_CLICK:()=>he,AC_CATEGORY_CHANGE:()=>se,AC_CHECKOUT_INITIATED:()=>Q,AC_LEMONSTAND_CLOSE:()=>ce,AC_PACKAGE_SELECTED:()=>ee,AC_SUBSCRIPTION_CANCEL_ABORTED:()=>oe,AC_SUBSCRIPTION_CANCEL_CONFIRMED:()=>ie,AC_SUBSCRIPTION_CANCEL_INTENDED:()=>re,EventTracker:()=>me,ST_AD_LOADED:()=>fe,ST_AD_POPUP_SHOWN:()=>ge,ST_CATEGORY_LOADED:()=>ne,ST_OFFER_PURCHASED:()=>de,ST_OFFER_SEEN:()=>te,ST_RELOAD_AFTER_SUCCESS:()=>le,ST_SUBSCRIPTION_CANCEL_SUCCESS:()=>ae,ST_SUBSCRIPTION_PURCHASED:()=>ue,ST_TRANSLATION_BLANK:()=>Z,ST_TRANSLATION_ERROR:()=>Y,ST_TRANSLATION_MISSING:()=>K,ST_TRANSLATION_RACE_CONDITION:()=>X}),R=H,P=U(k({},"__esModule",{value:!0}),R);var V=((e,t,n)=>(n=null!=e?O(L(e)):{},U(!t&&e&&e.__esModule?n:k(n,"default",{value:e,enumerable:!0}),e)))(G()),J=(0,V.default)("PMT-UNIFIED-TRACKING");function q(e){return(t,n)=>({...t,eventId:1273,failureCause:e,textId:n})}function W(e){return(t,n)=>({...t,eventId:1182,actionId:e,type:n,unixtimeMS:t.date})}var Y={decorate:q("ese_no_lookup")},K={decorate:q("ese_no_lookup")},X={decorate:q("pe_race_condition")},Z={decorate:q("pe_blank")},Q={decorate:W(2)},ee={decorate:W(1)},te={decorate:W(5)},ne={decorate:W(0)},re={decorate:W(10)},oe={decorate:W(11)},ie={decorate:W(12)},ae={decorate:W(13)},se={decorate:W(4)},ce={decorate:W(100)},le={decorate:W(3)},de={decorate:(e,t,n,r,o)=>({...e,eventId:1183,packageId:t,wodId:n,amount:r,type:o})},ue={decorate:(e,t,n)=>({...e,eventId:1090,expire_timestamp:t,type:n})};function pe(e){return(t,n,r)=>({...t,eventId:1290,action_id:e,popup_name:n,popup_detail:r})}var fe={decorate:(e,t,n,r,o,i,a,s)=>({...e,eventId:1167,timestamp:e.date,actionType:t,placementDetail:n,placement:r,player_level:o,impression_id:i,reward:a,amount:s})},ge={decorate:pe("popup_shown")},he={decorate:pe("link_clicked")},me=class{constructor(e,t){this.endpoint=e,this.logger=t||J}async send(e){let t=window.navigator.sendBeacon(this.endpoint,JSON.stringify(e));this.logger({endpoint:this.endpoint,data:e,response:t})}};const Ce={HORIZONTAL_BANNER:"horizontal",VERTICAL_BANNER:"vertical"},we={EMPIRE:12,BIGFARM:15},ve={Token:"cxf.token",Login:"cxf.login",Signup:"cxf.signup",GameEventUpdate:"cxf.gameEvent.update",GameEventAdd:"cxf.gameEvent.add",GameEventRemove:"cxf.gameEvent.remove",XpChanged:"cxf.xp.changed",LevelChanged:"cxf.level.changed",LegendLevelChanged:"cxf.legendLevel.changed",Push:"cxf.push",OpenIGS:"cxf.igs.open",CloseIGS:"cxf.dialog.close",AdBannerStatus:"cxf.adBanner.status",JoinTempServer:"cxf.join.temp.server",Subscription:"cxf.subscription"},ye={UPDATE_PAY:"PAYMENT_DATA"},be={UPDATE_PAY:"upi"},Ee={LOGIN:"login",UPDATE_PAY:"updatePay"},Ae="game",Ie=1e3,Fe=1050,Se="fb17ae44-d7a8-4c56-8a84-156b9387a3da",_e={[we.EMPIRE]:"923928",[we.BIGFARM]:"923929"},Te={[we.EMPIRE]:"2764324",[we.BIGFARM]:"2764328"},xe={[we.EMPIRE]:"19027",[we.BIGFARM]:"19028"},Re=new(0,P.EventTracker)("https://cxf-test-ct.goodgamestudios.com"),Ne=N(),Pe=[2866122916];let Oe,ke;const De={BANNER_ACTIVE:"banner_active",BANNER_INACTIVE:"banner_inactive",BANNER_CLICKED:"banner_clicked",BANNER_REFRESHED:"banner_refreshed"},ze=new Map([[De.BANNER_ACTIVE,16],[De.BANNER_INACTIVE,17],[De.BANNER_CLICKED,18],[De.BANNER_REFRESHED,19]]),Le=new Map([[De.BANNER_ACTIVE,7],[De.BANNER_INACTIVE,8],[De.BANNER_CLICKED,9],[De.BANNER_REFRESHED,10]]),Be=new Map([[Ce.HORIZONTAL_BANNER,ze],[Ce.VERTICAL_BANNER,Le]]),Me="ggs_backfill",Ue=(e,t,n)=>{const r=Be.get(t),o=r?.get(e)||-5,i=n&&n.impression_id;return Re.send(P.ST_AD_LOADED.decorate(ke,o,void 0,void 0,void 0,i))},je=()=>Re.send(P.ST_AD_POPUP_SHOWN.decorate(ke,"google_adblocker")),$e=e=>{const t={};return e.campaignId&&Pe.includes(e.campaignId)&&(t.impression_id=Me),t},Ge=30,He={refreshTime:30,requirements:{minLevel:10,noPaymentDays:Ge}},Ve=[{isGGSNetwork:[{var:["networkId"]},[1]]},{or:[{"==":[{var:"lastPaymentDate"},0]},{isExpired:[{var:"lastPaymentDate"},Ge]}]},{"!=":[{var:"hasSubscription"},!0]},{"!":[{in:[{var:"originUrl"},{cat:["bigfarm.rtl.de ","bigfarm.rtl2-spiele.de ","empire.rtl.de ","empire.rtl2-spiele.de "]}]}]}],Je={gameId:we.BIGFARM,banners:{horizontal:{rules:{loginData:{and:[...Ve,{and:[{or:[{in:[{var:"instanceId"},[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25]]},{">=":[{var:"instanceId"},251]}]},{">=":[{var:"level"},10]}]}]},paymentData:{or:[{"==":[{var:"lastPaymentTime"},0]},{isExpired:[{var:"lastPaymentTime"},Ge]}]}}},vertical:{rules:{loginData:{and:[...Ve,{and:[{or:[{in:[{var:"instanceId"},[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25]]},{">=":[{var:"instanceId"},251]}]},{">=":[{var:"level"},10]}]}]},paymentData:{or:[{"==":[{var:"lastPaymentTime"},0]},{isExpired:[{var:"lastPaymentTime"},Ge]}]}}}},adblocker:{rules:{or:[{in:[{var:"instanceId"},[4]]},{in:[{var:"instanceId"},[259]]}]}},adSlotSettings:[{unitPath:"/21812119314/Banner_BigFarm_728x90",defaultAdSize:[728,90],sizeMap:new Map([[[1200,700],[[970,90],[728,90]]],[[728,700],[[728,90]]],[[0,0],[]]]),htmlElements:{adPlaceholder:{id:"ad-placeholder-horizontal",width:"calc(100% - 220px)",height:100,style:"\n width: calc(100% - 220px);\n height: 100px;\n background: #ffffff;\n position: absolute;\n top: 0px;\n display: block;\n min-width: 798px;\n min-height: 100px;\n align: center;"},adContainer:{id:"ad-container-horizontal",style:"\n width: fit-content;\n height: fit-content;\n display:inline-block;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n position: relative;\n max-height: 90px;"}}},{unitPath:"/21812119314/Banner_BigFarm_160x600",defaultAdSize:[160,600],sizeMap:new Map([[[1020,800],[[220,800],[160,600]]],[[1020,600],[[160,600]]],[[0,0],[]]]),htmlElements:{adPlaceholder:{id:"ad-placeholder-vertical",width:220,height:"100%",style:"\n width: 220px;\n height: 100%;\n background: #ffffff;\n position: absolute;\n right: 0px;\n top: 0px;\n display: block;\n min-width: 220px;\n min-height: 610px;\n align: center;"},adContainer:{id:"ad-container-vertical",style:"\n width: fit-content;\n height: fit-content;\n display:inline-block;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n position: relative;\n max-width: 220px;"}}}]},qe={gameId:we.EMPIRE,banners:{horizontal:{rules:{loginData:{and:[...Ve,{showAdsReturnedPlayer:[{var:"dayWentBack"},7]},{and:[{or:[{in:[{var:"instanceId"},[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,32,33,34,35,36,37,38,43,46]]},{">=":[{var:"instanceId"},251]}]},{">=":[{var:"level"},10]}]}]},paymentData:{or:[{"==":[{var:"LPD"},0]},{isExpired:[{var:"LPD"},Ge]}]}}},vertical:{rules:{loginData:{and:[...Ve,{showAdsReturnedPlayer:[{var:"dayWentBack"},7]},{and:[{or:[{in:[{var:"instanceId"},[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,32,33,34,35,36,37,38,43,46]]},{">=":[{var:"instanceId"},251]}]},{">=":[{var:"level"},10]}]}]},paymentData:{or:[{"==":[{var:"LPD"},0]},{isExpired:[{var:"LPD"},Ge]}]}}}},adblocker:{rules:{or:[{in:[{var:"instanceId"},[3]]},{in:[{var:"instanceId"},[257]]}]}},adSlotSettings:[{unitPath:"/21812119314/Banner_Empire_728x90",defaultAdSize:[728,90],sizeMap:new Map([[[1200,700],[[970,90],[728,90]]],[[728,700],[[728,90]]],[[0,0],[]]]),htmlElements:{adPlaceholder:{id:"ad-placeholder-horizontal",width:"calc(100% - 220px)",height:100,style:"\n width: calc(100% - 220px);\n height: 100px;\n background: #ffffff;\n position: absolute;\n top: 0px;\n display: block;\n min-width: 798px;\n min-height: 100px;\n align: center;"},adContainer:{id:"ad-container-horizontal",style:"\n width: fit-content;\n height: fit-content;\n display:inline-block;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n position: relative;\n max-height: 90px;"}}},{unitPath:"/21812119314/Banner_Empire_160x600",defaultAdSize:[160,600],sizeMap:new Map([[[1020,800],[[220,800],[160,600]]],[[1020,600],[[160,600]]],[[0,0],[]]]),htmlElements:{adPlaceholder:{id:"ad-placeholder-vertical",width:220,height:"100%",style:"\n width: 220px;\n height: 100%;\n background: #ffffff;\n position: absolute;\n right: 0px;\n top: 0px;\n display: block;\n min-width: 220px;\n min-height: 610px;\n align: center;"},adContainer:{id:"ad-container-vertical",style:"\n width: fit-content;\n height: fit-content;\n display:inline-block;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n position: relative;\n max-width: 220px;"}}}]},We=new Map([[`${we.BIGFARM}`,Je],[`${we.EMPIRE}`,qe]]),Ye=({gameId:e})=>{const t=We.get(e);if(!t)throw A(`Game '${e}' is not supported`),new Error(`Game '${e}' is not supported`);return{...He,...t}};var Ke,Xe="Expected a function",Ze=NaN,Qe="[object Symbol]",et=/^\s+|\s+$/g,tt=/^[-+]0x[0-9a-f]+$/i,nt=/^0b[01]+$/i,rt=/^0o[0-7]+$/i,ot=parseInt,it="object"==typeof n&&n&&n.Object===Object&&n,at="object"==typeof self&&self&&self.Object===Object&&self,st=it||at||Function("return this")(),ct=Object.prototype.toString,lt=Math.max,dt=Math.min,ut=function(){return st.Date.now()};function pt(e,t,n){var r,o,i,a,s,c,l=0,d=!1,u=!1,p=!0;if("function"!=typeof e)throw new TypeError(Xe);function f(t){var n=r,i=o;return r=o=void 0,l=t,a=e.apply(i,n)}function g(e){var n=e-c;return void 0===c||n>=t||n<0||u&&e-l>=i}function h(){var e=ut();if(g(e))return m(e);s=setTimeout(h,function(e){var n=t-(e-c);return u?dt(n,i-(e-l)):n}(e))}function m(e){return s=void 0,p&&r?f(e):(r=o=void 0,a)}function C(){var e=ut(),n=g(e);if(r=arguments,o=this,c=e,n){if(void 0===s)return function(e){return l=e,s=setTimeout(h,t),d?f(e):a}(c);if(u)return s=setTimeout(h,t),f(c)}return void 0===s&&(s=setTimeout(h,t)),a}return t=gt(t)||0,ft(n)&&(d=!!n.leading,i=(u="maxWait"in n)?lt(gt(n.maxWait)||0,t):i,p="trailing"in n?!!n.trailing:p),C.cancel=function(){void 0!==s&&clearTimeout(s),l=0,r=c=o=s=void 0},C.flush=function(){return void 0===s?a:m(ut())},C}function ft(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function gt(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&ct.call(e)==Qe}(e))return Ze;if(ft(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=ft(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(et,"");var n=nt.test(e);return n||rt.test(e)?ot(e.slice(2),n?2:8):tt.test(e)?Ze:+e}Ke=function(e,t,n){var r=!0,o=!0;if("function"!=typeof e)throw new TypeError(Xe);return ft(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),pt(e,t,{leading:r,maxWait:t,trailing:o})};var ht,mt={};ht=function(){"use strict";Array.isArray||(Array.isArray=function(e){return"[object Array]"===Object.prototype.toString.call(e)});var e={},t={"==":function(e,t){return e==t},"===":function(e,t){return e===t},"!=":function(e,t){return e!=t},"!==":function(e,t){return e!==t},">":function(e,t){return e>t},">=":function(e,t){return e>=t},"<":function(e,t,n){return void 0===n?e<t:e<t&&t<n},"<=":function(e,t,n){return void 0===n?e<=t:e<=t&&t<=n},"!!":function(t){return e.truthy(t)},"!":function(t){return!e.truthy(t)},"%":function(e,t){return e%t},log:function(e){return console.log(e),e},in:function(e,t){return!(!t||void 0===t.indexOf)&&-1!==t.indexOf(e)},cat:function(){return Array.prototype.join.call(arguments,"")},substr:function(e,t,n){if(n<0){var r=String(e).substr(t);return r.substr(0,r.length+n)}return String(e).substr(t,n)},"+":function(){return Array.prototype.reduce.call(arguments,(function(e,t){return parseFloat(e,10)+parseFloat(t,10)}),0)},"*":function(){return Array.prototype.reduce.call(arguments,(function(e,t){return parseFloat(e,10)*parseFloat(t,10)}))},"-":function(e,t){return void 0===t?-e:e-t},"/":function(e,t){return e/t},min:function(){return Math.min.apply(this,arguments)},max:function(){return Math.max.apply(this,arguments)},merge:function(){return Array.prototype.reduce.call(arguments,(function(e,t){return e.concat(t)}),[])},var:function(e,t){var n=void 0===t?null:t,r=this;if(void 0===e||""===e||null===e)return r;for(var o=String(e).split("."),i=0;i<o.length;i++){if(null==r)return n;if(void 0===(r=r[o[i]]))return n}return r},missing:function(){for(var t=[],n=Array.isArray(arguments[0])?arguments[0]:arguments,r=0;r<n.length;r++){var o=n[r],i=e.apply({var:o},this);null!==i&&""!==i||t.push(o)}return t},missing_some:function(t,n){var r=e.apply({missing:n},this);return n.length-r.length>=t?[]:r}};return e.is_logic=function(e){return"object"==typeof e&&null!==e&&!Array.isArray(e)&&1===Object.keys(e).length},e.truthy=function(e){return!(Array.isArray(e)&&0===e.length||!e)},e.get_operator=function(e){return Object.keys(e)[0]},e.get_values=function(t){return t[e.get_operator(t)]},e.apply=function(n,r){if(Array.isArray(n))return n.map((function(t){return e.apply(t,r)}));if(!e.is_logic(n))return n;var o,i,a,s,c,l=e.get_operator(n),d=n[l];if(Array.isArray(d)||(d=[d]),"if"===l||"?:"==l){for(o=0;o<d.length-1;o+=2)if(e.truthy(e.apply(d[o],r)))return e.apply(d[o+1],r);return d.length===o+1?e.apply(d[o],r):null}if("and"===l){for(o=0;o<d.length;o+=1)if(i=e.apply(d[o],r),!e.truthy(i))return i;return i}if("or"===l){for(o=0;o<d.length;o+=1)if(i=e.apply(d[o],r),e.truthy(i))return i;return i}if("filter"===l)return s=e.apply(d[0],r),a=d[1],Array.isArray(s)?s.filter((function(t){return e.truthy(e.apply(a,t))})):[];if("map"===l)return s=e.apply(d[0],r),a=d[1],Array.isArray(s)?s.map((function(t){return e.apply(a,t)})):[];if("reduce"===l)return s=e.apply(d[0],r),a=d[1],c=void 0!==d[2]?d[2]:null,Array.isArray(s)?s.reduce((function(t,n){return e.apply(a,{current:n,accumulator:t})}),c):c;if("all"===l){if(s=e.apply(d[0],r),a=d[1],!s.length)return!1;for(o=0;o<s.length;o+=1)if(!e.truthy(e.apply(a,s[o])))return!1;return!0}if("none"===l)return 0===e.apply({filter:d},r).length;if("some"===l)return e.apply({filter:d},r).length>0;if(d=d.map((function(t){return e.apply(t,r)})),t.hasOwnProperty(l)&&"function"==typeof t[l])return t[l].apply(r,d);if(l.indexOf(".")>0){var u=String(l).split("."),p=t;for(o=0;o<u.length;o++){if(!p.hasOwnProperty(u[o]))throw new Error("Unrecognized operation "+l+" (failed at "+u.slice(0,o+1).join(".")+")");p=p[u[o]]}return p.apply(r,d)}throw new Error("Unrecognized operation "+l)},e.uses_data=function(t){var n=[];if(e.is_logic(t)){var r=e.get_operator(t),o=t[r];Array.isArray(o)||(o=[o]),"var"===r?n.push(o[0]):o.map((function(t){n.push.apply(n,e.uses_data(t))}))}return function(e){for(var t=[],n=0,r=e.length;n<r;n++)-1===t.indexOf(e[n])&&t.push(e[n]);return t}(n)},e.add_operation=function(e,n){t[e]=n},e.rm_operation=function(e){delete t[e]},e.rule_like=function(t,n){if(n===t)return!0;if("@"===n)return!0;if("number"===n)return"number"==typeof t;if("string"===n)return"string"==typeof t;if("array"===n)return Array.isArray(t)&&!e.is_logic(t);if(e.is_logic(n)){if(e.is_logic(t)){var r=e.get_operator(n),o=e.get_operator(t);if("@"===r||r===o)return e.rule_like(e.get_values(t,!1),e.get_values(n,!1))}return!1}if(Array.isArray(n)){if(Array.isArray(t)){if(n.length!==t.length)return!1;for(var i=0;i<n.length;i+=1)if(!e.rule_like(t[i],n[i]))return!1;return!0}return!1}return!1},e},"function"==typeof define&&define.amd?define(ht):mt=ht();const Ct=A.extend("Utils"),wt=(e,t)=>t.includes(Number.parseInt(e,10)),vt=(e,t)=>!(-1!==e)||yt(e,t),yt=(e,t)=>("number"==typeof e&&/\d{10}/.test(`${e}`)&&(e*=1e3),Date.now()-e>=864e5*t),bt=e=>new Promise((function(t,n){const r=document.createElement("script");r.src=e,r.addEventListener("load",(function(){Ct(`Script loaded: ${e}`),t()})),r.addEventListener("error",(function(t){Ct(`Error loading script: ${e} %O`,t),n(t)})),document.head.append(r)})),Et=A.extend("PREBID").extend("Amazon");var At={};function It(){Et("Amazon ads is loading...");const e=new URL(At).toString();return bt(e).then((()=>{window.apstag.init({pubID:Se,adServer:"googletag",simplerGPT:!0})}))}At=i("hIarR").getBundleURL("ldGXu")+i("kI8SP").resolve("dEJUC");const Ft=A.extend("PREBID"),St=e=>{if(Ft("Building partners config..."),!Object.values(we).includes(e))throw new Error(`Invalid game ID: ${e}`);const t=[],{config:n,bidderSettings:r,partners:o}={partners:{ix:{params:{siteId:_e[i=e]}},pubmatic:{params:{publisherId:"162973"}},rubicon:{params:{accountId:"23558",siteId:"376420",zoneId:Te[i],position:"atf"}},underdogmedia:{params:{siteId:xe[i]}}},config:{userSync:{iframeEnabled:!0,filterSettings:{iframe:{bidders:"*",filter:"include"}}}},bidderSettings:{ix:{storageAllowed:!0}}};var i;for(const[e,{params:n}]of Object.entries(o))t.push({bidder:e,params:n});return{bids:t,config:n,bidderSettings:r}},_t=A.extend("PREBID");var Tt;Tt=i("hIarR").getBundleURL("ldGXu")+i("kI8SP").resolve("2BbfJ");const xt=e=>{_t("Prebid is loading...");const t=new URL(Tt).toString();return bt(t).then((()=>{const{adUnits:t,config:n,bidderSettings:r}=Nt(e);window.pbjs=window.pbjs||{},window.pbjs.que=window.pbjs.que||[],window.pbjs.que.push((()=>{window.pbjs.addAdUnits(t),window.pbjs.setConfig(n),window.pbjs.bidderSettings=r,_t("Prebid initiated")}))}))},Rt=e=>{const t=[];for(const[n,r]of[...e].reverse())t.push({minViewPort:n,sizes:r});return t},Nt=({gameId:e,adSlotSettings:t})=>{const n=[],{bids:r,config:o,bidderSettings:i}=St(e);for(const{sizeMap:e,unitPath:o}of t){const t=Rt(e);n.push({code:o,bids:r,mediaTypes:{banner:{sizeConfig:t}}})}return{config:{bidderTimeout:Ie,...o},adUnits:n,bidderSettings:i}},Pt=A.extend("PREBID").extend("Auction"),Ot=async(e,t)=>{await Promise.all([It(),xt(t)]),kt(e)},kt=e=>{zt([Lt(e),Bt()])},Dt=e=>{Pt("Refreshing bids: ",e),window.googletag.cmd.push((()=>{zt([Lt(e),Bt(e)],e)}))},zt=(e,t=[])=>{Promise.all(e).then((()=>{Pt("Bids requested successfully")})).catch((e=>{Pt("Requesting bids error: ",e)})).finally((()=>{window.googletag.cmd.push((()=>{Pt("Loading new ads..."),t.length>0?window.googletag.pubads().refresh(t):window.googletag.pubads().refresh()}))}))},Lt=e=>new Promise(((t,n)=>{window.apstag.fetchBids({slots:e,timeout:Ie},(e=>{Pt("Aps bids",e),window.googletag.cmd.push((()=>{window.apstag.setDisplayBids(),t(e)}))})),setTimeout((()=>{n(new Error("Aps request timeout has exceeded 1050"))}),Fe)})),Bt=(e=[])=>{const t=e.map((e=>e.getAdUnitPath()));return new Promise(((e,n)=>{window.pbjs.que.push((()=>{window.pbjs.requestBids({timeout:Ie,adUnitCodes:t,bidsBackHandler:()=>{window.googletag.cmd.push((()=>{t.length>0?window.pbjs.setTargetingForGPTAsync(t):window.pbjs.setTargetingForGPTAsync(),e()}))}})})),setTimeout((()=>{n(new Error("Prebid request timeout has exceeded 1050"))}),Fe)}))},Mt=[],Ut={vertical:{},horizontal:{}},jt=(e,t,n)=>{const r=document.querySelector(`#${Ae}`);return r.style.width=e,r.style.height=t,r.style.marginTop=`${n}px`,!0},$t=e=>"number"==typeof e,Gt=e=>{let t=0,n=0;for(const r of e){const{htmlElements:{adPlaceholder:{width:e,height:o}}}=r;$t(e)&&e>t&&(t=e),$t(o)&&o>n&&(n=o)}return{width:`calc(100vw - ${t}px)`,height:`calc(100vh - ${n}px)`,bannerWidth:t,bannerHeight:n}},Ht=e=>{const{htmlElements:t}=e;if(!document.querySelector(`#${t.adContainer.id}`)){const e=document.createElement("div");e.setAttribute("id",t.adPlaceholder.id),e.setAttribute("style",t.adPlaceholder.style);const n=document.createElement("div");n.setAttribute("id",t.adContainer.id),n.setAttribute("style",t.adContainer.style),e.append(n),document.body.append(e),Mt.push(e)}},Vt=e=>{for(const t of e){const e=Mt.find((e=>e.id.includes(t)));e&&(e.remove(),Ut[t].isShown=!1)}},Jt=e=>{for(const t of e){const e=Mt.find((e=>e.id.includes(t)));e&&(document.body.append(e),Ut[t].isShown=!0)}};let qt,Wt,Yt,Kt,Xt,Zt,Qt,en,tn="100vw",nn="100vh";const rn=[],on=()=>Ut.vertical.isShown?tn:"100vw",an=()=>Ut.horizontal.isShown?nn:"100vh",sn=()=>Ut.horizontal.isShown?`${qt}px`:"0px";let cn,ln;const dn=(e,t=!1)=>{cn=setTimeout((()=>{Dt([rn[0]]),clearTimeout(cn)}),1e3*e),t&&Dt([rn[0]])},un=(e,t=!1)=>{ln=setTimeout((()=>{Dt([rn[1]]),clearTimeout(ln)}),1e3*e),t&&Dt([rn[1]])},pn=(e,t)=>{A("Creating ad slots"),window.googletag=window.googletag||{cmd:[]},window.googletag.cmd.push((()=>{try{for(const e of t){const t=window.googletag.sizeMapping();if(e.sizeMap)for(const[n,r]of e.sizeMap)t.addSize(n,r);const n=window.googletag.defineSlot(e.unitPath,e.defaultAdSize,e.htmlElements.adContainer.id);n?rn.push(n.addService(window.googletag.pubads()).defineSizeMapping(t.build())):A(`Error while creating ad slot: ${e.unitPath}`)}window.googletag.pubads().addEventListener("slotOnload",(e=>t=>{const n=t.slot.getSlotElementId();A(`Creative iframe load event has fired. slotId: ${n}`),n.includes("horizontal")?dn(e):n.includes("vertical")?un(e):A("No slot to refresh")})(e)),window.googletag.pubads().addEventListener("slotVisibilityChanged",(e=>{0===e.inViewPercentage?mn():Cn()})),window.googletag.pubads().addEventListener("slotRenderEnded",(e=>{const t=e.slot.getSlotElementId(),n=Tn(t);Ue(De.BANNER_REFRESHED,n,$e(e)),A("Slot %s finished rendering. %O",t,{"Advertiser ID":e.advertiserId,"Campaign ID":e.campaignId,"Creative ID":e.creativeId,"Is empty?":e.isEmpty,"Line Item ID":e.lineItemId,Size:e.size,"Source Agnostic Creative ID":e.sourceAgnosticCreativeId,"Source Agnostic Line Item ID":e.sourceAgnosticLineItemId})})),window.googletag.pubads().enableSingleRequest(),window.googletag.pubads().disableInitialLoad(),window.googletag.enableServices();for(const e of t){const{htmlElements:{adContainer:t}}=e;window.googletag.display(t.id)}}catch(e){A("Error while setting up ad banners",e)}}))},fn=(e,t,n)=>{const r=document.querySelector(`#${Ae}`);return e&&(r.style.width=e),t&&(r.style.height=t),n&&(r.style.marginTop=n),!0},gn=e=>{A("pause banner ad",e),e.includes("horizontal")&&Ut.horizontal.isShown&&(Vt(["horizontal"]),fn(void 0,an(),sn()),clearTimeout(cn),Ue(De.BANNER_INACTIVE,"horizontal"),A("Horizontal ad banner paused")),e.includes("vertical")&&Ut.vertical.isShown&&(Vt(["vertical"]),fn(on()),clearTimeout(ln),Ue(De.BANNER_INACTIVE,"vertical"),A("Vertical ad banner paused"))},hn=e=>{e.includes("horizontal")&&Ut.horizontal.isEnabled&&!Ut.horizontal.isShown&&(Jt(["horizontal"]),fn(void 0,an(),sn()),dn(en,!0),Ue(De.BANNER_ACTIVE,"horizontal"),A("Horizontal ad banner resumed")),e.includes("vertical")&&Ut.vertical.isEnabled&&!Ut.vertical.isShown&&(Jt(["vertical"]),fn(on()),un(en,!0),Ue(De.BANNER_ACTIVE,"vertical"),A("Vertical ad banner resumed"))},mn=()=>{Ut.isActiveTab&&(A("Stopping ads refreshment on passive tab"),Ut.isActiveTab=!1,clearTimeout(cn),clearTimeout(ln))},Cn=()=>{Ut.isActiveTab||(A("Resuming ads refreshment on active tab"),Ut.isActiveTab=!0,Ut.horizontal.isEnabled&&Ut.horizontal.isShown&&(A("Horizontal ad banner refreshing"),dn(en)),Ut.vertical.isEnabled&&Ut.vertical.isShown&&(A("Vertical ad banner refreshing"),un(en)))},wn=function(e){for(const t of e){const e=t.target.style;e.width!==on()&&(e.width=on())}},vn=function(e){for(const t of e){const e=t.target.style;e.height!==an()&&(e.height=an(),e.marginTop=sn())}},yn=()=>{const{innerHeight:e,innerWidth:t}=window;t>=728&&e>=Xt+Qt?hn(["horizontal"]):Ut.horizontal.isShown&&gn(["horizontal"]),t>=Kt+Zt&&e>=Xt?hn(["vertical"]):Ut.vertical.isShown&&gn(["vertical"])},bn=t(Ke)(yn,100),En=()=>{const e=document.querySelector(`#${Ae}`),t={attributes:!0,subtree:!1,childList:!1,attributeFilter:["style"]};Yt.observe(e,t),Wt.observe(e,t),yn(),window.addEventListener("resize",bn)},An=({refreshTime:e,adSlotSettings:t},n)=>{try{A("Setting up banners");const{width:r,height:o,bannerWidth:i,bannerHeight:a}=Gt(t);tn=r,nn=o,qt=a,jt(r,o,a),Zt=i,Qt=a;for(const e of t)Ht(e);Kt=Number.parseInt(document.querySelector(`#${Ae}`).style.minWidth,10)||800,Xt=Number.parseInt(document.querySelector(`#${Ae}`).style.minHeight,10)||600,Wt=new MutationObserver(wn),Yt=new MutationObserver(vn),en=e,pn(e,t),Ut.horizontal.isShown=!0,Ut.vertical.isShown=!0,Ut.horizontal.isEnabled=!0,Ut.vertical.isEnabled=!0,En(),n.includes("vertical")||(Ut.vertical.isEnabled=!1,gn(["vertical"])),n.includes("horizontal")||(Ut.horizontal.isEnabled=!1,gn(["horizontal"])),Ut.horizontal.isShown&&Ue(De.BANNER_ACTIVE,"horizontal"),Ut.vertical.isShown&&Ue(De.BANNER_ACTIVE,"vertical")}catch(e){A("Failed to load ads",e)}},In=async(e,t)=>{window.googletag?.apiReady?(A("Google publisher tag was already initialized."),Sn(t)):(await Fn(),An(e,t),await Ot(rn,e))},Fn=()=>(A("Google publisher tag is loading..."),bt("https://securepubads.g.doubleclick.net/tag/js/gpt.js")),Sn=e=>{A("Enable ad: ",e),Ut.vertical.isEnabled=e.includes("vertical"),Ut.horizontal.isEnabled=e.includes("horizontal"),En(),e.includes("vertical")||gn(["vertical"]),e.includes("horizontal")||gn(["horizontal"])},_n=e=>{A("Disabling banner ads:",e),e.includes("vertical")&&(Wt?.disconnect(),Ut.vertical.isEnabled=!1),e.includes("horizontal")&&(Yt?.disconnect(),Ut.horizontal.isEnabled=!1),gn(e),Ut.horizontal.isShown||Ut.vertical.isShown||window.removeEventListener("resize",bn)},Tn=e=>{if(e.includes("horizontal"))return"horizontal";if(e.includes("vertical"))return"vertical";throw A(`Unknown slot type. ID: ${e}`),new Error(`Unknown slot type. ID: ${e}`)},xn=A.extend("AD-BLOCK-DETECTION");let Rn=!0;const Nn=()=>{window.googlefc=window.googlefc||{},window.googlefc.ccpa=window.googlefc.ccpa||{},window.googlefc.callbackQueue=window.googlefc.callbackQueue||[],window.googlefc.controlledMessagingFunction=e=>{Rn&&(je(),Rn=!1),e.proceed(!0)}};var Pn;Pn=i("hIarR").getBundleURL("ldGXu")+i("kI8SP").resolve("bMJod");var On;On=i("hIarR").getBundleURL("ldGXu")+i("kI8SP").resolve("lzUYe");const kn=()=>{const e=document.createElement("script"),t=document.createElement("script"),n=document.createElement("script");e.async=!0,e.src="https://fundingchoicesmessages.google.com/i/pub-6694780994007094?ers=1",t.src=new URL(Pn).toString(),n.src=new URL(On).toString(),document.head.append(e,t,n)},Dn=e=>{history.pushState(null,""," "),window.addEventListener("hashchange",(t=>{t.newURL.includes("#store")&&!t.oldURL.includes("#store")&&(e.emit(ve.OpenIGS,{page:"dailybundles",sourceId:"adBlockPopupShopButton"}),zn.hide(),Re.send(P.AC_AD_POPUP_SHOP_LINK_CLICK.decorate(ke,"google_adblocker","link_to_igs"))),e.once(ve.CloseIGS,(()=>{zn.show(),history.pushState(null,""," ")}))}),!1)};const zn=new class{constructor(e){this.status="",this.elementIdentifier=e}get element(){let[e]=document.querySelectorAll(this.elementIdentifier);return e||(xn("Adblock consent modal not found, using fallback"),e=document.createElement("div")),e}show(){je(),this.element.removeAttribute("style"),this.status="visible"}hide(){this.element.setAttribute("style","display: none!important"),this.status="hidden"}remove(){this.element.remove(),this.status="removed"}isShown(){return"visible"===this.status}isHidden(){return"hidden"===this.status}isRemoved(){return"removed"===this.status}}(".fc-ab-root");let Ln,Bn;let Mn,Un;const jn=new Map([[we.EMPIRE,{registerCustomGameHandlers:(e,t)=>{A("EM - registerCustomGameHandlers"),Mn=e,Un=t,Mn.on(be.UPDATE_PAY,(e=>{const[t]=e,n=t[1],r=JSON.parse(n);Un(Ee.UPDATE_PAY,r)}))}}],[we.BIGFARM,{registerCustomGameHandlers:(e,t)=>{A("BF - registerCustomGameHandlers"),Ln=e,Bn=t,Ln.on("124",(()=>{})),Ln.on(ye.UPDATE_PAY,(e=>{const[t]=e;Bn(Ee.UPDATE_PAY,t)}))}}]]),$n=e=>{const t=Number.parseInt(e.gameId,10);if(!jn.has(t))throw A(`Game controller is not registered for the game - [${t}]`),new Error(`Game controller is not registered for the game - [${t}]`);return jn.get(t)},Gn=(e,n)=>t(mt).apply(n,e);let Hn=!1,Vn=!0;const Jn=(e,t)=>{try{(e=>{A(`Waiting for ${ve.JoinTempServer} event`),e.on(ve.JoinTempServer,(e=>{A(`${ve.JoinTempServer} received`,{isTempServer:e}),Hn=e}))})(e),(e=>{A(`Waiting for ${ve.Subscription} event`),e.on(ve.Subscription,(e=>{A(`${ve.Subscription} received`),Vn=e}))})(e),e.on(ve.Login,(async e=>{var n;await(n=3e3,new Promise((e=>setTimeout(e,n))));const r={...e,hasSubscription:Vn,isTempServer:Hn};A("Ad banners login data",r),t(r)}))}catch(e){throw A("Error while waiting for login data: %O",e),new Error("Error while waiting for login data")}};let qn,Wn,Yn,Kn=[],Xn=[],Zn=null;const Qn=(t(mt).add_operation("isGGSNetwork",wt),t(mt).add_operation("showAdsReturnedPlayer",vt),t(mt).add_operation("isExpired",yt),Gn),er=new Map([[Ee.UPDATE_PAY,e=>{zn.remove(),ir(e,"paymentData"),_n(Xn)}]]),tr=e=>{qn=e,Wn=$n(qn),Yn=Ye(qn),A("gameController: %O",Wn),sr()},nr=e=>{ke={get date(){return(new Date).toUTCString()},zoneId:Oe.zoneId,gameId:Number.parseInt(Oe.gameId,10),networkId:Number.parseInt(Oe.networkId,10),instanceId:Oe.instanceId,playerId:Oe.playerId,sessionId:Ne},e.isTempServer?rr():or(e)},rr=()=>{A("Temp server login detected!"),null!==Zn?(Zn&&In(Yn,Kn),Xn.length>0&&_n(Xn)):A("Error: first load logging in temp server!")},or=e=>{const t={...e,originUrl:new URL(location.href).hostname};ir(t,"loginData");const n=Qn(e,Yn.adblocker.rules);var r;Zn&&n&&(r=qn,window.googlefc||(xn("Google Funding Choices API and ad blocker loading..."),Nn(),kn(),Dn(r))),Zn&&In(Yn,Kn),Xn.length>0&&_n(Xn),cr(Zn,Kn,Xn)},ir=(e,t)=>{Kn=[],Xn=[];for(const[n,{rules:r}]of Object.entries(Yn.banners))Qn(e,r[t])?Kn.push(n):(A("The %s banner does not comply with %s rules: %O",n,t,e),Xn.push(n));Zn=Kn.length>0},ar=(e,t)=>{A(`triggerCallback - [${e}, ${t}]`),er.has(e)||A(`Event ${e} is not registered in handlers map`);er.get(e)(t)},sr=()=>{(async()=>{Jn(qn,nr)})(),Wn.registerCustomGameHandlers(qn,ar)},cr=(e,t,n)=>{setTimeout((()=>{qn.emit(ve.AdBannerStatus,{areBannersAvailable:e,bannersDetails:{enabledBanners:t,disabledBanners:n}})}),5e3)},lr=e=>{var t;A("start initializing..."),A("tracking has been initialized %o",t=e),Oe=t,tr(e)};i("hsJ0L").then((e=>{lr(e)}))})();
//# sourceMappingURL=index.js.map
{
"name": "@goodgamestudios/cxf-ad-banner",
"version": "1.21.0",
"version": "1.21.1-qa.0",
"description": "Ad banner for the GGS games",

@@ -5,0 +5,0 @@ "type": "module",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc