55, 0.2);\n color: #fff;\n border: none;\n font-size: 24px;\n padding: 20px;\n border-radius: 5px;\n cursor: pointer;\n font-family: 'Roboto', sans-serif;\n display: block;\n }\n\n #bridge-info-popup-button:hover {\n background-color: rgba(255, 255, 255, 0.3);\n }",
document.head.appendChild(e)
}
var r = document.getElementById("bridge-info-popup-overlay");
r || ((r = document.createElement("div")).id = "bridge-info-popup-overlay",
document.body.appendChild(r));
var n = document.getElementById("bridge-info-popup");
n || ((n = document.createElement("div")).id = "bridge-info-popup"),
n.innerText = "Oops! It looks like you closed the ad too early, or it isn't available right now.";
var o = document.getElementById("bridge-info-popup-button");
return o || ((o = document.createElement("button")).id = "bridge-info-popup-button",
o.innerText = "OK",
n.appendChild(o)),
document.body.appendChild(n),
new Promise((function(t) {
o.onclick = function() {
n.style.display = "none",
r.style.display = "none",
t()
}
,
r.style.display = "block",
n.style.display = "flex"
}
))
}().then((function() {
t ? r._setRewardedState(a.FAILED) : r._setInterstitialState(i.FAILED)
}
)) : (t ? this._setRewardedState(a.FAILED) : this._setInterstitialState(i.FAILED),
Promise.resolve())
}
}, {
key: "_playerApplyGuestData",
value: function() {
var t = function() {
var t, e = "bridge_player_guest_id";
try {
t = localStorage.getItem(e)
} catch (t) {}
if (!t) {
var r = Array.from({
length: 8
}, (function() {
return "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".charAt(Math.floor(62 * Math.random()))
}
)).join("")
, n = Date.now().toString(36);
t = "".concat(r).concat(n);
try {
localStorage.setItem(e, t)
} catch (t) {}
}
return {
id: t,
name: "Guest ".concat(t)
}
}();
this._playerId = t.id,
this._playerName = t.name
}
}]) && io(r.prototype, c),
Object.defineProperty(r, "prototype", {
writable: !1
}),
e
}();
L().mixin(lo.prototype);
const fo = lo;
function po(t) {
return po = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(t) {
return typeof t
}
: function(t) {
return t && "function" == typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t
}
,
po(t)
}
function ho(t, e) {
for (var r = 0; r < e.length; r++) {
var n = e[r];
n.enumerable = n.enumerable || !1,
n.configurable = !0,
"value"in n && (n.writable = !0),
Object.defineProperty(t, So(n.key), n)
}
}
function yo() {
return yo = "undefined" != typeof Reflect && Reflect.get ? Reflect.get.bind() : function(t, e, r) {
var n = function(t, e) {
for (; !Object.prototype.hasOwnProperty.call(t, e) && null !== (t = _o(t)); )
;
return t
}(t, e);
if (n) {
var o = Object.getOwnPropertyDescriptor(n, e);
return o.get ? o.get.call(arguments.length < 3 ? t : r) : o.value
}
}
,
yo.apply(this, arguments)
}
function mo(t, e) {
return mo = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(t, e) {
return t.__proto__ = e,
t
}
,
mo(t, e)
}
function vo(t) {
if (void 0 === t)
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
return t
}
function _o(t) {
return _o = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(t) {
return t.__proto__ || Object.getPrototypeOf(t)
}
,
_o(t)
}
function go(t, e) {
if (e.has(t))
throw new TypeError("Cannot initialize the same private elements twice on an object")
}
function So(t) {
var e = function(t, e) {
if ("object" != po(t) || !t)
return t;
var r = t[Symbol.toPrimitive];
if (void 0 !== r) {
var n = r.call(t, "string");
if ("object" != po(n))
return n;
throw new TypeError("@@toPrimitive must return a primitive value.")
}
return Strin |