(window.webpackJsonp = window.webpackJsonp || []).push([["ref-game"], {
"+2oP": function(t, e, n) {
"use strict";
var i = n("I+eb")
, r = n("2oRo")
, o = n("6LWA")
, a = n("aO6C")
, s = n("hh1v")
, c = n("I8vh")
, u = n("B/qT")
, l = n("/GqU")
, d = n("hBjN")
, h = n("tiKp")
, f = n("Hd5f")
, p = n("82ph")
, m = f("slice")
, v = h("species")
, g = r.Array
, y = Math.max;
i({
target: "Array",
proto: !0,
forced: !m
}, {
slice: function(t, e) {
var n, i, r, h = l(this), f = u(h), m = c(t, f), b = c(void 0 === e ? f : e, f);
if (o(h) && (n = h.constructor,
a(n) && (n === g || o(n.prototype)) ? n = void 0 : s(n) && null === (n = n[v]) && (n = void 0),
n === g || void 0 === n))
return p(h, m, b);
for (i = new (void 0 === n ? g : n)(y(b - m, 0)),
r = 0; m < b; m++,
r++)
m in h && d(i, r, h[m]);
return i.length = r,
i
}
})
},
"+M1K": function(t, e, n) {
var i = n("2oRo")
, r = n("WSbT")
, o = i.RangeError;
t.exports = function(t) {
var e = r(t);
if (e < 0)
throw o("The argument can't be less than 0");
return e
}
},
"+ywr": function(t, e, n) {
n("dOgj")("Uint32", function(t) {
return function(e, n, i) {
return t(this, e, n, i)
}
})
},
"/GqU": function(t, e, n) {
var i = n("RK3t")
, r = n("HYAF");
t.exports = function(t) {
return i(r(t))
}
},
"/OA6": function(t, e, n) {
"use strict";
n.d(e, "b", function() {
return i
}),
n.d(e, "a", function() {
return r
});
var i = function(t) {
return (t *= 2) < 1 ? .5 * t * t : -.5 * (--t * (t - 2) - 1)
}
, r = function(t) {
return t < .5 ? 4 * t * t * t : 1 - Math.pow(-2 * t + 2, 3) / 2
}
},
"/OPJ": function(t, e, n) {
var i = n("0Dky")
, r = n("2oRo").RegExp;
t.exports = i(function() {
var t = r(".", "s");
return !(t.dotAll && t.exec("\n") && "s" === t.flags)
})
},
"/Yfv": function(t, e, n) {
n("dOgj")("Int8", function(t) {
return function(e, n, i) {
return t(this, e, n, i)
}
})
},
"/b8u": function(t, e, n) {
var i = n("STAE");
t.exports = i && !Symbol.sham && "symbol" == typeof Symbol.iterator
},
"/byt": function(t, e) {
t.exports = {
CSSRuleList: 0,
CSSStyleDeclaration: 0,
CSSValueList: 0,
ClientRectList: 0,
DOMRectList: 0,
DOMStringList: 0,
DOMTokenList: 1,
DataTransferItemList: 0,
FileList: 0,
HTMLAllCollection: 0,
HTMLCollection: 0,
HTMLFormElement: 0,
HTMLSelectElement: 0,
MediaList: 0,
MimeTypeArray: 0,
NamedNodeMap: 0,
NodeList: 1,
PaintRequestList: 0,
Plugin: 0,
PluginArray: 0,
SVGLengthList: 0,
SVGNumberList: 0,
SVGPathSegList: 0,
SVGPointList: 0,
SVGStringList: 0,
SVGTransformList: 0,
SourceBufferList: 0,
StyleSheetList: 0,
TextTrackCueList: 0,
TextTrackList: 0,
TouchList: 0
}
},
"/cOv": function(t, e, n) {
"use strict";
n.d(e, "a", function() {
return s
});
var i = n("Q/5a")
, r = n("KxHI")
, o = {
difficultyMenu: document.getElementById("difficulty-menu"),
dcMenu: document.getElementById("dc-menu")
}
, a = function() {
i.a.emit(r.f.hideAllMenu),
o.difficultyMenu && o.difficultyMenu.classList.remove("menu-visible")
}
, s = function(t, e, n) {
n = n || o[e];
window.isMobile && !["newGameMenu", "dcMenu"].includes(e) || (t.stopPropagation(),
n.classList.contains("menu-visible") ? a() : (a(),
function(t, e) {
e = e || o[t];
a(),
e && e.classList.add("menu-visible")
}(e, n)))
}
},
"/qmn": function(t, e, n) {
var i = n("2oRo");
t.exports = i.Promise
},
"07d7": function(t, e, n) {
var i = n("AO7/")
, r = n("busE")
, o = n("sEFX");
i || r(Object.prototype, "toString", o, {
unsafe: !0
})
},
"0BK2": function(t, e) {
t.exports = {}
},
"0Dky": function(t, e) {
t.exports = function(t) {
try {
return !!t()
} catch (t) {
return !0
}
}
},
"0GbY": function(t, e, n) {
var i = n("2oRo")
, r = n("Fib7");
t.exports = function(t, e) {
return arguments.length < 2 ? (n = i[t],
r(n) ? n : void 0) : i[t] && i[t][e];
var n
}
},
"0TkE": function(t, e, n) {
"use strict";
var i = n("67WC")
, r = n("tycR").find
, o = i.aTypedArray;
(0,
i.exportTypedArrayMethod)("find", function(t) {
return r(o(this), t, arguments.length > 1 ? arguments[1] : void 0)
})
},
"0eef": function(t, e, n) {
"use strict";
var i = {}.propertyIsEnumerable
, r = Object.getOwnPropertyDescriptor
, o = r && !i.call({
1: 2
}, 1);
e.f = o ? function(t) {
var e = r(this, t);
return !!e && e.enumerable
}
: i
},
"0rvr": function(t, e, n) {
var i = n("4zBA")
, r = n("glrk")
, o = n("O741");
t.exports = Object.setPrototypeOf || ("__proto__"in {} ? function() {
var t, e = !1, n = {};
try {
(t = i(Object.getOwnPropertyDescriptor(Object.prototype, "__proto__").set))(n, []),
e = n instanceof Array
} catch (t) {}
return function(n, i) {
return r(n),
o(i),
e ? t(n, i) : n.__proto__ = i,
n
}
}() : void 0)
},
"14Sl": function(t, e, n) {
"use strict";
n("rB9j");
var i = n("4zBA")
, r = n("busE")
, o = n("kmMV")
, a = n("0Dky")
, s = n("tiKp")
, c = n("kRJp")
, u = s("species")
, l = RegExp.prototype;
t.exports = function(t, e, n, d) {
var h = s(t)
, f = !a(function() {
var e = {};
return e[h] = function() {
return 7
}
,
7 != ""[t](e)
})
, p = f && !a(function() {
var e = !1
, n = /a/;
return "split" === t && ((n = {}).constructor = {},
n.constructor[u] = function() {
return n
}
,
n.flags = "",
n[h] = /./[h]),
n.exec = function() {
return e = !0,
null
}
,
n[h](""),
!e
});
if (!f || !p || n) {
var m = i(/./[h])
, v = e(h, ""[t], function(t, e, n, r, a) {
var s = i(t)
, c = e.exec;
return c === o || c === l.exec ? f && !a ? {
done: !0,
value: m(e, n, r)
} : {
done: !0,
value: s(n, e, r)
} : {
done: !1
}
});
r(String.prototype, t, v[0]),
r(l, h, v[1])
}
d && c(l[h], "sham", !0)
}
},
"1E5z": function(t, e, n) {
var i = n("m/L8").f
, r = n("Gi26")
, o = n("tiKp")("toStringTag");
t.exports = function(t, e, n) {
t && !n && (t = t.prototype),
t && !r(t, o) && i(t, o, {
configurable: !0,
value: e
})
}
},
"1MNl": function(t, e, n) {
var i = n("NC/Y")
, r = n("2oRo");
t.exports = /ipad|iphone|ipod/i.test(i) && void 0 !== r.Pebble
},
"1Y/n": function(t, e, n) {
var i = n("2oRo")
, r = n("We1y")
, o = n("ewvW")
, a = n("RK3t")
, s = n("B/qT")
, c = i.TypeError
, u = function(t) {
return function(e, n, i, u) {
r(n);
var l = o(e)
, d = a(l)
, h = s(l)
, f = t ? h - 1 : 0
, p = t ? -1 : 1;
if (i < 2)
for (; ; ) {
if (f in d) {
u = d[f],
f += p;
break
}
if (f += p,
t ? f < 0 : h <= f)
throw c("Reduce of empty array with no initial value")
}
for (; t ? f >= 0 : h > f; f += p)
f in d && (u = n(u, d[f], f, l));
return u
}
};
t.exports = {
left: u(!1),
right: u(!0)
}
},
"1Ybj": function(t, e, n) {
"use strict";
n.d(e, "a", function() {
return v
});
var i = n("Q/5a")
, r = n("kFz4")
, o = n("J8vR")
, a = n("Vl5E")
, s = n("KxHI")
, c = "ad_native_impression"
, u = "ad_native_failed"
, l = "ad_native_closed"
, d = "ad_native_cached"
, h = "ad_native_request"
, f = (n("nIJZ"),
function() {
return (f = Object.assign || function(t) {
for (var e, n = 1, i = arguments.length; n < i; n++)
for (var r in e = arguments[n])
Object.prototype.hasOwnProperty.call(e, r) && (t[r] = e[r]);
return t
}
).apply(this, arguments)
}
)
, p = "ab_vidazoo2_mobile_aniviewmidpf" === window.abGroups.ab_vidazoo2_mobile || "ab_vidazoo2_desktop_aniviewmidpf" === window.abGroups.ab_vidazoo2_desktop ? "664e06087e13fbb6c60e516b" : "ab_vidazoo2_mobile_aniviewlowpf" === window.abGroups.ab_vidazoo2_mobile || "ab_vidazoo2_desktop_aniviewlowpf" === window.abGroups.ab_vidazoo2_desktop ? "66525c61b6dc5954fb0954d5" : "65703e202c3d426a6902efd7"
, m = [{
width: 400,
height: 225
}, {
width: 350,
height: 196
}, {
width: 320,
height: 180
}, {
width: 200,
height: 112
}]
, v = function() {
function t() {
var t, e, n, r = (null === (n = null === (e = null === (t = null === window || void 0 === window ? void 0 : window.eb) || void 0 === t ? void 0 : t.userProfile) || void 0 === e ? void 0 : e.device) || void 0 === n ? void 0 : n.type) !== s.c.desktop;
this.baseEventData = {
placement: r ? "under_game" : "flying_down",
service_name: s.l.aniview
},
this.$wrapper = document.querySelector("#aniview-" + (r ? "mobile" : "float") + "-container"),
this.player = null,
this.inited = !1,
window.avPlayer ? this.init() : i.a.subscribe(s.f.AniviewLoaded, this.init.bind(this))
}
return t.prototype.init = function() {
var t, e, n, i, l = this;
if (!this.inited)
if (window.avPlayer) {
var v = m.find(function(t) {
return window.innerWidth - 20 > t.width
})
, g = (null === (n = null === (e = null === (t = null === window || void 0 === window ? void 0 : window.eb) || void 0 === t ? void 0 : t.userProfile) || void 0 === e ? void 0 : e.device) || void 0 === n ? void 0 : n.type) !== s.c.desktop
, y = {
position: "aniview-mobile-container",
width: v.width ? v.width : 100,
height: v.height ? v.height : 0
};
console.log(g, "is Mobile"),
this.inited = !0,
this.player = new window.avPlayer(f({
publisherId: "64997fd0362016b0aa065754",
channelId: "65703c915c28d248a80dfc66",
autoPlay: !0,
loop: !0,
errorLimit: (null === (i = null === window || void 0 === window ? void 0 : window.eb) || void 0 === i ? void 0 : i.settings.aniview_limit) || 50,
vastRetry: 3,
midrolltime: 5,
Skip: !0,
skipTimer: 5,
tagId: p,
closeButton: !1,
playerVersion: 8,
maxImp: 99
}, g ? y : {
position: "aniview-float-container",
width: 380,
height: 240,
openAnim: !0
})),
this.player.play(),
this.player.on("AdEvent", function(t) {
"bid" === t && (Object(a.a)(h, {
service_name: s.l.aniview
}),
r.a.send(h, {
service_name: s.l.aniview
}))
}),
this.player.on("AdReady", function() {
console.log("player ready (native)"),
Object(o.a)(l.$wrapper).add("active"),
Object(a.a)(d, l.baseEventData),
r.a.send(d, l.baseEventData)
}),
this.player.on("AdImpression", function(t) {
var e = {
adsource_id: t.asid,
channel_id: "65703c915c28d248a80dfc66",
studio_tag_id: p
}
, n = f(f({}, e), l.baseEventData);
Object(a.a)(c, n),
r.a.send(c, n, !0)
}),
this.player.on("AdError", function(t) {
console.log("ad error", t),
"errorlimit" === (null == t ? void 0 : t.reason) && (window.needToRestartPageOnChangeMode = !0,
Object(a.a)(u, l.baseEventData),
r.a.send(u, l.baseEventData))
}),
this.player.on("AdVideoComplete", this.onClose.bind(this)),
this.player.on("AdSkipped", this.onClose.bind(this))
} else
console.log("no avPlayer :(")
}
,
t.prototype.onClose = function() {
Object(o.a)(this.$wrapper).remove("active"),
Object(a.a)(l, this.baseEventData),
r.a.send(l, this.baseEventData)
}
,
t
}()
},
"1dYe": function(t, e, n) {
"use strict";
var i = n("67WC")
, r = n("tycR").forEach
, o = i.aTypedArray;
(0,
i.exportTypedArrayMethod)("forEach", function(t) {
r(o(this), t, arguments.length > 1 ? arguments[1] : void 0)
})
},
"1t3B": function(t, e, n) {
var i = n("I+eb")
, r = n("0GbY")
, o = n("glrk");
i({
target: "Reflect",
stat: !0,
sham: !n("uy83")
}, {
preventExtensions: function(t) {
o(t);
try {
var e = r("Object", "preventExtensions");
return e && e(t),
!0
} catch (t) {
return !1
}
}
})
},
"1tal": function(t, e, n) {
var i = n("2oRo").TypeError;
t.exports = function(t, e) {
if (t < e)
throw i("Not enough arguments");
return t
}
},
"23rs": function(t, e, n) {
"use strict";
n.d(e, "a", function() {
return r
});
var i = [{
key: "finish_level",
text: "Finish Level",
condition: "Sudoku"
}, {
key: "complete_day",
text: "Complete Day",
condition: "calendar"
}, {
key: "clear_day",
text: "Clear Day",
condition: "calendar"
}, {
key: "complete_month",
text: "Complete Month",
condition: "calendar"
}, {
key: "clear_month",
text: "Clear Month",
condition: "calendar"
}]
, r = function() {
function t(t) {
this.selectors = t,
this.cheats = []
}
return t.prototype.getElements = function() {
this.$menu = document.querySelector(this.selectors.menuSelector),
this.$toggles = document.querySelectorAll(this.selectors.toggleSelector),
this.$buttons = document.querySelector(this.selectors.buttonsSelector),
this.$parent = document.querySelector(this.selectors.parentSelector)
}
,
t.prototype.init = function() {
var t = this;
this.getElements(),
this.cheats = i.filter(function(t) {
return !!window[t.condition]
}),
this.cheats.length && (this.$parent.classList.add("active"),
this.toggleMenu = this.toggleMenu.bind(this),
this.$toggles.forEach(function(e) {
return e.addEventListener("click", t.toggleMenu)
}),
this.generateCheatMenu(),
this.inited = !0)
}
,
t.prototype.toggleMenu = function() {
this.$menu.classList.toggle("active")
}
,
t.prototype.addButton = function(t) {
var e = this;
if (!this.cheats.find(function(e) {
return e.text === t.text
})) {
this.cheats.push(t);
var n = document.createElement("button");
n.innerText = t.text,
n.addEventListener("click", t.func),
this.inited ? this.$buttons.appendChild(n) : (this.getElements(),
this.$buttons.appendChild(n),
this.$parent.classList.add("active"),
this.toggleMenu = this.toggleMenu.bind(this),
this.$toggles.forEach(function(t) {
return t.addEventListener("click", e.toggleMenu)
}),
this.inited = !0)
}
}
,
t.prototype.generateCheatMenu = function() {
var t = this;
this.cheats.forEach(function(e) {
var n = document.createElement("button");
switch (n.innerText = e.text,
e.key) {
case "finish_level":
n.addEventListener("click", function() {
window._finishSudoku()
});
break;
case "complete_day":
n.addEventListener("click", window.calendar._cheatUpdateSelectedDay.bind(window.calendar));
break;
case "clear_day":
n.addEventListener("click", window.calendar._cheatUpdateSelectedDay.bind(window.calendar, null, !0, "REMOVE"));
break;
case "complete_month":
n.addEventListener("click", window.calendar._cheatUpdateSelectedMonth.bind(window.calendar, "COMPLETE"));
break;
case "clear_month":
n.addEventListener("click", window.calendar._cheatUpdateSelectedMonth.bind(window.calendar, "REMOVE"));
break;
default:
n.addEventListener("click", function() {
return alert("Action for the cheat not presented")
})
}
t.$buttons.appendChild(n)
})
}
,
t
}()
},
"25bX": function(t, e, n) {
var i = n("I+eb")
, r = n("glrk")
, o = n("T63f");
i({
target: "Reflect",
stat: !0
}, {
isExtensible: function(t) {
return r(t),
o(t)
}
})
},
"27RR": function(t, e, n) {
var i = n("I+eb")
, r = n("g6v/")
, o = n("Vu81")
, a = n("/GqU")
, s = n("Bs8V")
, c = n("hBjN");
i({
target: "Object",
stat: !0,
sham: !r
}, {
getOwnPropertyDescriptors: function(t) {
for (var e, n, i = a(t), r = s.f, u = o(i), l = {}, d = 0; u.length > d; )
void 0 !== (n = r(i, e = u[d++])) && c(l, e, n);
return l
}
})
},
"2B1R": function(t, e, n) {
"use strict";
var i = n("I+eb")
, r = n("tycR").map;
i({
target: "Array",
proto: !0,
forced: !n("Hd5f")("map")
}, {
map: function(t) {
return r(this, t, arguments.length > 1 ? arguments[1] : void 0)
}
})
},
"2Gvs": function(t, e, n) {
var i = n("0Dky");
t.exports = i(function() {
if ("function" == typeof ArrayBuffer) {
var t = new ArrayBuffer(8);
Object.isExtensible(t) && Object.defineProperty(t, "a", {
value: 8
})
}
})
},
"2Zix": function(t, e, n) {
var i = n("NC/Y");
t.exports = /MSIE|Trident/.test(i)
},
"2bX/": function(t, e, n) {
var i = n("2oRo")
, r = n("0GbY")
, o = n("Fib7")
, a = n("OpvP")
, s = n("/b8u")
, c = i.Object;
t.exports = s ? function(t) {
return "symbol" == typeof t
}
: function(t) {
var e = r("Symbol");
return o(e) && a(e.prototype, c(t))
}
},
"2oRo": function(t, e, n) {
(function(e) {
var n = function(t) {
return t && t.Math == Math && t
};
t.exports = n("object" == typeof globalThis && globalThis) || n("object" == typeof window && window) || n("object" == typeof self && self) || n("object" == typeof e && e) || function() {
return this
}() || Function("return this")()
}
).call(this, n("yLpj"))
},
3: function(t, e) {},
"33Wh": function(t, e, n) {
var i = n("yoRg")
, r = n("eDl+");
t.exports = Object.keys || function(t) {
return i(t, r)
}
},
"37lR": function(t, e, n) {
var i = n("B/qT");
t.exports = function(t, e) {
for (var n = 0, r = i(e), o = new t(r); r > n; )
o[n] = e[n++];
return o
}
},
"3Eq5": function(t, e, n) {
var i = n("We1y");
t.exports = function(t, e) {
var n = t[e];
return null == n ? void 0 : i(n)
}
},
"3I1R": function(t, e, n) {
n("dG/n")("hasInstance")
},
"3bBZ": function(t, e, n) {
var i = n("2oRo")
, r = n("/byt")
, o = n("eFrH")
, a = n("4mDm")
, s = n("kRJp")
, c = n("tiKp")
, u = c("iterator")
, l = c("toStringTag")
, d = a.values
, h = function(t, e) {
if (t) {
if (t[u] !== d)
try {
s(t, u, d)
} catch (e) {
t[u] = d
}
if (t[l] || s(t, l, e),
r[e])
for (var n in a)
if (t[n] !== a[n])
try {
s(t, n, a[n])
} catch (e) {
t[n] = a[n]
}
}
};
for (var f in r)
h(i[f] && i[f].prototype, f);
h(o, "DOMTokenList")
},
"4Brf": function(t, e, n) {
"use strict";
var i = n("I+eb")
, r = n("g6v/")
, o = n("2oRo")
, a = n("4zBA")
, s = n("Gi26")
, c = n("Fib7")
, u = n("OpvP")
, l = n("V37c")
, d = n("m/L8").f
, h = n("6JNq")
, f = o.Symbol
, p = f && f.prototype;
if (r && c(f) && (!("description"in p) || void 0 !== f().description)) {
var m = {}
, v = function() {
var t = arguments.length < 1 || void 0 === arguments[0] ? void 0 : l(arguments[0])
, e = u(p, this) ? new f(t) : void 0 === t ? f() : f(t);
return "" === t && (m[e] = !0),
e
};
h(v, f),
v.prototype = p,
p.constructor = v;
var g = "Symbol(test)" == String(f("test"))
, y = a(p.toString)
, b = a(p.valueOf)
, w = /^Symbol\((.*)\)[^)]+$/
, S = a("".replace)
, A = a("".slice);
d(p, "description", {
configurable: !0,
get: function() {
var t = b(this)
, e = y(t);
if (s(m, t))
return "";
var n = g ? A(e, 7, -1) : S(e, w, "$1");
return "" === n ? void 0 : n
}
}),
i({
global: !0,
forced: !0
}, {
Symbol: v
})
}
},
"4WOD": function(t, e, n) {
var i = n("2oRo")
, r = n("Gi26")
, o = n("Fib7")
, a = n("ewvW")
, s = n("93I0")
, c = n("4Xet")
, u = s("IE_PROTO")
, l = i.Object
, d = l.prototype;
t.exports = c ? l.getPrototypeOf : function(t) {
var e = a(t);
if (r(e, u))
return e[u];
var n = e.constructor;
return o(n) && e instanceof n ? n.prototype : e instanceof l ? d : null
}
},
"4Xet": function(t, e, n) {
var i = n("0Dky");
t.exports = !i(function() {
function t() {}
return t.prototype.constructor = null,
Object.getPrototypeOf(new t) !== t.prototype
})
},
"4l63": function(t, e, n) {
var i = n("I+eb")
, r = n("wg0c");
i({
global: !0,
forced: parseInt != r
}, {
parseInt: r
})
},
"4mDm": function(t, e, n) {
"use strict";
var i = n("/GqU")
, r = n("RNIs")
, o = n("P4y1")
, a = n("afO8")
, s = n("m/L8").f
, c = n("fdAy")
, u = n("xDBR")
, l = n("g6v/")
, d = a.set
, h = a.getterFor("Array Iterator");
t.exports = c(Array, "Array", function(t, e) {
d(this, {
type: "Array Iterator",
target: i(t),
index: 0,
kind: e
})
}, function() {
var t = h(this)
, e = t.target
, n = t.kind
, i = t.index++;
return !e || i >= e.length ? (t.target = void 0,
{
value: void 0,
done: !0
}) : "keys" == n ? {
value: i,
done: !1
} : "values" == n ? {
value: e[i],
done: !1
} : {
value: [i, e[i]],
done: !1
}
}, "values");
var f = o.Arguments = o.Array;
if (r("keys"),
r("values"),
r("entries"),
!u && l && "values" !== f.name)
try {
s(f, "name", {
value: "values"
})
} catch (t) {}
},
"4syw": function(t, e, n) {
var i = n("busE");
t.exports = function(t, e, n) {
for (var r in e)
i(t, r, e[r], n);
return t
}
},
"4zBA": function(t, e, n) {
var i = n("QNWe")
, r = Function.prototype
, o = r.bind
, a = r.call
, s = i && o.bind(a, a);
t.exports = i ? function(t) {
return t && s(t)
}
: function(t) {
return t && function() {
return a.apply(t, arguments)
}
}
},
"51fU": function(t, e, n) {},
"5Tg+": function(t, e, n) {
var i = n("tiKp");
e.f = i
},
"5Yz+": function(t, e, n) {
"use strict";
var i = n("K6Rb")
, r = n("/GqU")
, o = n("WSbT")
, a = n("B/qT")
, s = n("pkCn")
, c = Math.min
, u = [].lastIndexOf
, l = !!u && 1 / [1].lastIndexOf(1, -0) < 0
, d = s("lastIndexOf")
, h = l || !d;
t.exports = h ? function(t) {
if (l)
return i(u, this, arguments) || 0;
var e = r(this)
, n = a(e)
, s = n - 1;
for (arguments.length > 1 && (s = c(s, o(arguments[1]))),
s < 0 && (s = n + s); s >= 0; s--)
if (s in e && e[s] === t)
return s || 0;
return -1
}
: u
},
"5bJ4": function(t, e, n) {
"use strict";
n.d(e, "a", function() {
return v
});
var i, r, o = {
DELAY: 2e3,
IOS_BANNER_DELAY: 200,
IOS_BANNER_LIMIT: 20,
MAIN_ID: "mobile-smart",
SHOW_SMART_CLASS: "smart-visible"
}, a = function() {
function t() {
this.body = document.querySelector("body"),
this.banner = document.getElementById(o.MAIN_ID),
this.wrap = document.getElementById("smart-wrap"),
this.cookiesConsent = document.getElementById("cookies-banner"),
this.badgeGP = document.querySelectorAll(".badge-button-gp"),
this.badgeIOS = document.querySelectorAll(".badge-button-ios"),
this.getDynamicElements()
}
return Object.defineProperty(t.prototype, "mode", {
get: function() {
return this.banner && this.banner.dataset.mode
},
enumerable: !1,
configurable: !0
}),
Object.defineProperty(t.prototype, "platform", {
get: function() {
return this.banner && this.banner.dataset.platform
},
enumerable: !1,
configurable: !0
}),
Object.defineProperty(t.prototype, "badgeMode", {
get: function() {
return this.badgeWrapper && this.badgeWrapper.dataset.mode
},
enumerable: !1,
configurable: !0
}),
Object.defineProperty(t.prototype, "consentVisible", {
get: function() {
return this.cookiesConsent && !this.cookiesConsent.classList.contains("hidden")
},
enumerable: !1,
configurable: !0
}),
t.prototype.bindCloseBanner = function(t) {
var e = this;
return this.closeButton && this.closeButton.addEventListener("click", t),
function() {
e.closeButton && e.closeButton.removeEventListener("click", t)
}
}
,
t.prototype.bindClickOpen = function(t) {
var e = this;
return this.openButton && this.openButton.addEventListener("click", t),
function() {
e.openButton && e.openButton.removeEventListener("click", t)
}
}
,
t.prototype.bindBadgeGPClick = function(t) {
var e = this;
return this.badgeGP.forEach(function(e) {
return e.addEventListener("click", t)
}),
function() {
e.badgeGP.forEach(function(e) {
return e.removeEventListener("click", t)
})
}
}
,
t.prototype.bindBadgeIOSClick = function(t) {
var e = this;
return this.badgeIOS.forEach(function(e) {
return e.addEventListener("click", t)
}),
function() {
e.badgeIOS.forEach(function(e) {
return e.removeEventListener("click", t)
})
}
}
,
t.prototype.showSmart = function() {
this.body.classList.add(o.SHOW_SMART_CLASS)
}
,
t.prototype.hideSmart = function() {
this.body.classList.remove(o.SHOW_SMART_CLASS)
}
,
t.prototype.getDynamicElements = function() {
this.openButton = document.getElementById("mobile-smart-cta"),
this.closeButton = document.getElementById("smart-close"),
this.badgeWrapper = document.querySelector(".app-teaser-wrapper")
}
,
t
}();
!function(t) {
t.classic = "classic",
t.killer = "killer"
}(i || (i = {})),
function(t) {
t.mode = "mode",
t.height = "height"
}(r || (r = {}));
var s = function() {
function t() {
this.mode = i.classic,
this.bannerEventSent = !1,
this.countCheckBanner = 0,
this.bannerHeight = 0
}
return t.prototype.bindChangeMode = function(t) {
this.onChangeMode = t
}
,
t.prototype.bindChangeBannerHeight = function(t) {
this.onChangeBannerHeight = t
}
,
t.prototype.changeShownSettings = function(t) {
this.mode = t,
this.commit(r.mode)
}
,
t.prototype.changeBannerEventSent = function() {
this.bannerEventSent = !0
}
,
t.prototype.changeBannerHeight = function(t) {
this.bannerHeight = t,
this.commit(r.height)
}
,
t.prototype.incrementCountCheckBanner = function() {
this.countCheckBanner++
}
,
t.prototype.commit = function(t) {
switch (t) {
case r.mode:
this.onChangeMode();
break;
case r.height:
this.onChangeBannerHeight(this.bannerHeight)
}
}
,
t
}()
, c = n("Vl5E")
, u = n("LKh6")
, l = n("5z3c")
, d = function() {
var t = document.getElementById("game");
setTimeout(function() {
t && t.classList.toggle("game-resize")
}, 510)
}
, h = n("6Ssv")
, f = n("Q/5a")
, p = n("KxHI")
, m = n("kFz4")
, v = function() {
function t() {
this.view = new a,
this.model = new s,
this.bindDynamicElements(),
this.model.bindChangeMode(this.onShowBanner.bind(this)),
this.model.bindChangeBannerHeight(this.onChangeBannerHeight.bind(this)),
this.view.bindBadgeGPClick(this.handleBadgeGBClick.bind(this)),
this.view.bindBadgeIOSClick(this.handleBadgeIOSClick.bind(this)),
this.view.mode && this.handleChangeMode(this.view.mode),
!u.d || !u.f || u.b || u.c || u.g || this.detectIosSmartBanner(),
f.a.subscribe(p.f.contentChanged, this.onChangeContent.bind(this))
}
return t.prototype.onChangeContent = function(t) {
this.unsubClickOpen(),
this.unsubCloseBanner(),
t.smart_banner && this.view.wrap && (this.view.wrap.innerHTML = t.smart_banner),
this.view.getDynamicElements(),
this.bindDynamicElements()
}
,
t.prototype.bindDynamicElements = function() {
this.unsubClickOpen = this.view.bindClickOpen(this.handleOpenLink.bind(this)),
this.unsubCloseBanner = this.view.bindCloseBanner(this.handleCloseBanner.bind(this))
}
,
t.prototype.onChangeBannerHeight = function(t) {
f.a.emit(p.f.changeCookiesPadding, t)
}
,
t.prototype.onShowBanner = function() {
this.handleShowSmartBanner()
}
,
t.prototype.handleShowSmartBanner = function() {
this.view.showSmart(),
Object(c.a)("smartbanner_show", {
os: this.view.platform,
type: this.model.mode
}),
m.a.send("smartbanner_show", {
os: this.view.platform,
type: this.model.mode
}),
d()
}
,
t.prototype.handleBadgeGBClick = function() {
Object(c.a)("badge_click", {
os: "android",
type: this.view.badgeMode
}),
m.a.send("badge_click", {
os: "android",
type: this.view.badgeMode
})
}
,
t.prototype.handleBadgeIOSClick = function() {
Object(c.a)("badge_click", {
os: "ios",
type: this.view.badgeMode
}),
m.a.send("badge_click", {
os: "ios",
type: this.view.badgeMode
})
}
,
t.prototype.handleOpenLink = function() {
Object(c.a)("smartbanner_click", {
os: this.view.platform,
type: this.model.mode
}),
m.a.send("smartbanner_click", {
os: this.view.platform,
type: this.model.mode
})
}
,
t.prototype.handleCloseBanner = function() {
var t, e;
this.view.hideSmart();
var n = "hide" + (this.model.mode === i.classic ? "Classic" : "Killer") + Object(l.c)(this.view.platform) + "SmartBanner";
return h.a && ((null === (t = null === window || void 0 === window ? void 0 : window.eb) || void 0 === t ? void 0 : t.settings.use_cmp) && "1" === Object(l.k)(p.a.functional) || !(null === (e = null === window || void 0 === window ? void 0 : window.eb) || void 0 === e ? void 0 : e.settings.use_cmp)) && Object(h.c)(n, "1", 365),
d(),
n
}
,
t.prototype.handleChangeMode = function(t) {
this.model.changeShownSettings(t)
}
,
t.prototype.detectIosSmartBanner = function() {
var t = this;
setTimeout(function() {
var e = Math.abs(document.documentElement.clientHeight - window.innerHeight)
, n = Math.abs((window.defaultWindowHeight || 0) - window.innerHeight);
e > 0 || n > 0 ? (t.model.bannerEventSent || (Object(c.a)("smartbanner_show", {
os: "ios",
type: t.model.mode
}),
m.a.send("smartbanner_show", {
os: "ios",
type: t.model.mode
}),
t.model.changeBannerEventSent()),
e > t.model.bannerHeight && t.view.consentVisible && t.model.changeBannerHeight(e)) : t.view.consentVisible && f.a.emit(p.f.removeCookiesPadding),
t.model.incrementCountCheckBanner(),
t.model.countCheckBanner < o.IOS_BANNER_LIMIT && t.detectIosSmartBanner()
}, o.IOS_BANNER_DELAY)
}
,
t
}()
},
"5mdu": function(t, e) {
t.exports = function(t) {
try {
return {
error: !1,
value: t()
}
} catch (t) {
return {
error: !0,
value: t
}
}
}
},
"5s+n": function(t, e, n) {
"use strict";
var i, r, o, a, s = n("I+eb"), c = n("xDBR"), u = n("2oRo"), l = n("0GbY"), d = n("xluM"), h = n("/qmn"), f = n("busE"), p = n("4syw"), m = n("0rvr"), v = n("1E5z"), g = n("JiZb"), y = n("We1y"), b = n("Fib7"), w = n("hh1v"), S = n("GarU"), A = n("iSVu"), _ = n("ImZN"), x = n("HH4o"), O = n("SEBh"), T = n("LPSS").set, E = n("tXUg"), k = n("zfnd"), I = n("RN6c"), C = n("8GlL"), R = n("5mdu"), L = n("AbTg"), D = n("afO8"), j = n("lMq5"), M = n("tiKp"), P = n("YGnB"), B = n("YF1G"), N = n("LQDL"), G = M("species"), H = "Promise", F = D.getterFor(H), q = D.set, z = D.getterFor(H), W = h && h.prototype, U = h, V = W, $ = u.TypeError, Y = u.document, K = u.process, J = C.f, Z = J, X = !!(Y && Y.createEvent && u.dispatchEvent), Q = b(u.PromiseRejectionEvent), tt = !1, et = j(H, function() {
var t = A(U)
, e = t !== String(U);
if (!e && 66 === N)
return !0;
if (c && !V.finally)
return !0;
if (N >= 51 && /native code/.test(t))
return !1;
var n = new U(function(t) {
t(1)
}
)
, i = function(t) {
t(function() {}, function() {})
};
return (n.constructor = {})[G] = i,
!(tt = n.then(function() {})instanceof i) || !e && P && !Q
}), nt = et || !x(function(t) {
U.all(t).catch(function() {})
}), it = function(t) {
var e;
return !(!w(t) || !b(e = t.then)) && e
}, rt = function(t, e) {
var n, i, r, o = e.value, a = 1 == e.state, s = a ? t.ok : t.fail, c = t.resolve, u = t.reject, l = t.domain;
try {
s ? (a || (2 === e.rejection && ut(e),
e.rejection = 1),
!0 === s ? n = o : (l && l.enter(),
n = s(o),
l && (l.exit(),
r = !0)),
n === t.promise ? u($("Promise-chain cycle")) : (i = it(n)) ? d(i, n, c, u) : c(n)) : u(o)
} catch (t) {
l && !r && l.exit(),
u(t)
}
}, ot = function(t, e) {
t.notified || (t.notified = !0,
E(function() {
for (var n, i = t.reactions; n = i.get(); )
rt(n, t);
t.notified = !1,
e && !t.rejection && st(t)
}))
}, at = function(t, e, n) {
var i, r;
X ? ((i = Y.createEvent("Event")).promise = e,
i.reason = n,
i.initEvent(t, !1, !0),
u.dispatchEvent(i)) : i = {
promise: e,
reason: n
},
!Q && (r = u["on" + t]) ? r(i) : "unhandledrejection" === t && I("Unhandled promise rejection", n)
}, st = function(t) {
d(T, u, function() {
var e, n = t.facade, i = t.value;
if (ct(t) && (e = R(function() {
B ? K.emit("unhandledRejection", i, n) : at("unhandledrejection", n, i)
}),
t.rejection = B || ct(t) ? 2 : 1,
e.error))
throw e.value
})
}, ct = function(t) {
return 1 !== t.rejection && !t.parent
}, ut = function(t) {
d(T, u, function() {
var e = t.facade;
B ? K.emit("rejectionHandled", e) : at("rejectionhandled", e, t.value)
})
}, lt = function(t, e, n) {
return function(i) {
t(e, i, n)
}
}, dt = function(t, e, n) {
t.done || (t.done = !0,
n && (t = n),
t.value = e,
t.state = 2,
ot(t, !0))
}, ht = function(t, e, n) {
if (!t.done) {
t.done = !0,
n && (t = n);
try {
if (t.facade === e)
throw $("Promise can't be resolved itself");
var i = it(e);
i ? E(function() {
var n = {
done: !1
};
try {
d(i, e, lt(ht, n, t), lt(dt, n, t))
} catch (e) {
dt(n, e, t)
}
}) : (t.value = e,
t.state = 1,
ot(t, !1))
} catch (e) {
dt({
done: !1
}, e, t)
}
}
};
if (et && (V = (U = function(t) {
S(this, V),
y(t),
d(i, this);
var e = F(this);
try {
t(lt(ht, e), lt(dt, e))
} catch (t) {
dt(e, t)
}
}
).prototype,
(i = function(t) {
q(this, {
type: H,
done: !1,
notified: !1,
parent: !1,
reactions: new L,
rejection: !1,
state: 0,
value: void 0
})
}
).prototype = p(V, {
then: function(t, e) {
var n = z(this)
, i = J(O(this, U));
return n.parent = !0,
i.ok = !b(t) || t,
i.fail = b(e) && e,
i.domain = B ? K.domain : void 0,
0 == n.state ? n.reactions.add(i) : E(function() {
rt(i, n)
}),
i.promise
},
catch: function(t) {
return this.then(void 0, t)
}
}),
r = function() {
var t = new i
, e = F(t);
this.promise = t,
this.resolve = lt(ht, e),
this.reject = lt(dt, e)
}
,
C.f = J = function(t) {
return t === U || t === o ? new r(t) : Z(t)
}
,
!c && b(h) && W !== Object.prototype)) {
a = W.then,
tt || (f(W, "then", function(t, e) {
var n = this;
return new U(function(t, e) {
d(a, n, t, e)
}
).then(t, e)
}, {
unsafe: !0
}),
f(W, "catch", V.catch, {
unsafe: !0
}));
try {
delete W.constructor
} catch (t) {}
m && m(W, V)
}
s({
global: !0,
wrap: !0,
forced: et
}, {
Promise: U
}),
v(U, H, !1, !0),
g(H),
o = l(H),
s({
target: H,
stat: !0,
forced: et
}, {
reject: function(t) {
var e = J(this);
return d(e.reject, void 0, t),
e.promise
}
}),
s({
target: H,
stat: !0,
forced: c || et
}, {
resolve: function(t) {
return k(c && this === o ? U : this, t)
}
}),
s({
target: H,
stat: !0,
forced: nt
}, {
all: function(t) {
var e = this
, n = J(e)
, i = n.resolve
, r = n.reject
, o = R(function() {
var n = y(e.resolve)
, o = []
, a = 0
, s = 1;
_(t, function(t) {
var c = a++
, u = !1;
s++,
d(n, e, t).then(function(t) {
u || (u = !0,
o[c] = t,
--s || i(o))
}, r)
}),
--s || i(o)
});
return o.error && r(o.value),
n.promise
},
race: function(t) {
var e = this
, n = J(e)
, i = n.reject
, r = R(function() {
var r = y(e.resolve);
_(t, function(t) {
d(r, e, t).then(n.resolve, i)
})
});
return r.error && i(r.value),
n.promise
}
})
},
"5z3c": function(t, e, n) {
"use strict";
n.d(e, "h", function() {
return a
}),
n.d(e, "d", function() {
return s
}),
n.d(e, "a", function() {
return c
}),
n.d(e, "u", function() {
return u
}),
n.d(e, "r", function() {
return l
}),
n.d(e, "c", function() {
return d
}),
n.d(e, "k", function() {
return h
}),
n.d(e, "s", function() {
return f
}),
n.d(e, "b", function() {
return p
}),
n.d(e, "l", function() {
return v
}),
n.d(e, "p", function() {
return g
}),
n.d(e, "g", function() {
return y
}),
n.d(e, "t", function() {
return b
}),
n.d(e, "w", function() {
return w
}),
n.d(e, "o", function() {
return S
}),
n.d(e, "f", function() {
return A
}),
n.d(e, "e", function() {
return _
}),
n.d(e, "q", function() {
return x
}),
n.d(e, "v", function() {
return O
}),
n.d(e, "j", function() {
return T
}),
n.d(e, "i", function() {
return E
}),
n.d(e, "n", function() {
return k
}),
n.d(e, "m", function() {
return I
});
var i = n("6Ssv")
, r = function(t, e, n, i) {
return new (n || (n = Promise))(function(r, o) {
function a(t) {
try {
c(i.next(t))
} catch (t) {
o(t)
}
}
function s(t) {
try {
c(i.throw(t))
} catch (t) {
o(t)
}
}
function c(t) {
var e;
t.done ? r(t.value) : (e = t.value,
e instanceof n ? e : new n(function(t) {
t(e)
}
)).then(a, s)
}
c((i = i.apply(t, e || [])).next())
}
)
}
, o = function(t, e) {
var n, i, r, o, a = {
label: 0,
sent: function() {
if (1 & r[0])
throw r[1];
return r[1]
},
trys: [],
ops: []
};
return o = {
next: s(0),
throw: s(1),
return: s(2)
},
"function" == typeof Symbol && (o[Symbol.iterator] = function() {
return this
}
),
o;
function s(o) {
return function(s) {
return function(o) {
if (n)
throw new TypeError("Generator is already executing.");
for (; a; )
try {
if (n = 1,
i && (r = 2 & o[0] ? i.return : o[0] ? i.throw || ((r = i.return) && r.call(i),
0) : i.next) && !(r = r.call(i, o[1])).done)
return r;
switch (i = 0,
r && (o = [2 & o[0], r.value]),
o[0]) {
case 0:
case 1:
r = o;
break;
case 4:
return a.label++,
{
value: o[1],
done: !1
};
case 5:
a.label++,
i = o[1],
o = [0];
continue;
case 7:
o = a.ops.pop(),
a.trys.pop();
continue;
default:
if (!(r = (r = a.trys).length > 0 && r[r.length - 1]) && (6 === o[0] || 2 === o[0])) {
a = 0;
continue
}
if (3 === o[0] && (!r || o[1] > r[0] && o[1] < r[3])) {
a.label = o[1];
break
}
if (6 === o[0] && a.label < r[1]) {
a.label = r[1],
r = o;
break
}
if (r && a.label < r[2]) {
a.label = r[2],
a.ops.push(o);
break
}
r[2] && a.ops.pop(),
a.trys.pop();
continue
}
o = e.call(t, a)
} catch (t) {
o = [6, t],
i = 0
} finally {
n = r = 0
}
if (5 & o[0])
throw o[1];
return {
value: o[0] ? o[1] : void 0,
done: !0
}
}([o, s])
}
}
};
var a = function(t) {
var e = t.getBoundingClientRect();
return {
width: e.width,
height: e.height
}
};
function s() {
var t = this;
return window.useAdBlock = !1,
new Promise(function(e) {
return r(t, void 0, void 0, function() {
return o(this, function(t) {
switch (t.label) {
case 0:
return t.trys.push([0, 2, 3, 4]),
[4, fetch("/static/js/ima3.js", {
method: "HEAD",
mode: "no-cors"
}).catch(function() {
window.useAdBlock = !0
})];
case 1:
return t.sent(),
[3, 4];
case 2:
return t.sent(),
window.useAdBlock = !0,
[3, 4];
case 3:
return void 0 !== window.gtag && window.gtag("set", "user_properties", {
use_ad_block: window.useAdBlock
}),
e(window.useAdBlock),
[7];
case 4:
return [2]
}
})
})
}
)
}
var c = function(t) {
return t / Math.pow(1024, 2)
}
, u = function(t, e) {
if ("createEvent"in document) {
var n = document.createEvent("HTMLEvents");
n.initEvent(e, !1, !0),
t.dispatchEvent(n)
} else
t.fireEvent("on" + e)
}
, l = function(t, e) {
return Math.floor(Math.random() * (e - t + 1) + t)
}
, d = function(t) {
return t.charAt(0).toUpperCase() + t.slice(1)
}
, h = function(t) {
var e = Object(i.b)("OptanonConsent");
if (!e)
return "0";
var n = e.split("&").reduce(function(t, e) {
var n = e.split("=");
return t[n[0]] = n[1],
t
}, {}).groups;
return n ? n.split(",").reduce(function(t, e) {
var n = e.split(":");
return t[n[0]] = n[1],
t
}, {})[t] : "0"
};
var f = function(t, e, n) {
return t.replace(new RegExp(e.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"),"g"), n)
}
, p = function(t) {
var e = t.replace(/[A-Z]/g, function(t) {
return "_" + t.toLowerCase()
});
return "_" === e[0] && (e = e.slice(1)),
e
}
, m = ["moz", "ms", "o", "webkit"]
, v = function(t) {
return t ? t + "Hidden" : "hidden"
}
, g = function(t) {
return (t || "") + "visibilitychange"
}
, y = function() {
for (var t = 0; t < m.length; t++)
if (v(m[t])in document)
return m[t];
return null
}
, b = function(t, e) {
return t.reduce(function(t, n, i) {
var r = Math.floor(i / e);
return t[r] || (t[r] = []),
t[r].push(n),
t
}, [])
}
, w = function(t, e, n) {
void 0 === n && (n = "0");
for (var i = t; i.length < e; )
i = n + i;
return i
}
, S = function() {
var t = window.location.search.substring(1).toLowerCase();
return t.length ? t.split("&").reduce(function(t, e) {
var n = e.split("=")
, i = n[0]
, r = n[1];
return "utm_" === i.slice(0, 4) && (t[i] = r),
t
}, {}) : {}
}
, A = function(t, e, n) {
var i;
void 0 === e && (e = window),
"function" == typeof Event ? i = new Event(t) : (i = document.createEvent("Event")).initEvent(t, !0, !0),
i.data = n,
e.dispatchEvent(i)
}
, _ = function(t, e) {
var n;
return void 0 === e && (e = 300),
function() {
for (var i = [], r = 0; r < arguments.length; r++)
i[r] = arguments[r];
clearTimeout(n),
n = setTimeout(function() {
t.apply(void 0, i)
}, e)
}
}
, x = function(t) {
return t.map(function(e, n) {
return t.slice(n + 1).map(function(t) {
return [e, t]
})
}).flat()
}
, O = function(t) {
var e = [];
if (t.length < 3)
return e;
for (var n = 0; n < t.length - 2; n++)
for (var i = n + 1; i < t.length - 1; i++)
for (var r = i + 1; r < t.length; r++)
e.push([t[n], t[i], t[r]]);
return e
}
, T = function() {
var t = "prod";
switch (!0) {
case window.location.origin.includes("stage."):
t = "stage";
break;
case window.location.origin.includes("test."):
case window.location.origin.includes("0.0.0"):
case window.location.origin.includes("localhost"):
t = "test";
break;
default:
t = "production"
}
return t
}
, E = function(t) {
var e = t
, n = Math.floor(e / 86400);
e -= 86400 * n;
var i = Math.floor(e / 3600) % 24;
e -= 3600 * i;
var r = Math.floor(e / 60) % 60;
return e -= 60 * r,
{
d: n,
h: i,
m: r,
s: parseInt(e % 60)
}
}
, k = function(t, e) {
for (var n = [], i = 0; i < t.length; i++)
i !== e && n.push(i);
return n[Math.floor(Math.random() * n.length)]
}
, I = function(t, e) {
var n = e ? e + 1 : 0;
return n > t.length - 1 && (n = 0),
n
}
},
"6+x4": function(t, e, n) {
"use strict";
n.d(e, "a", function() {
return h
});
var i = n("J8vR")
, r = "menu-visible"
, o = "main-menu-open"
, a = "main-menu-transition"
, s = "header-index"
, c = function() {
function t() {
var t;
this.body = document.querySelector("body"),
this.mainNav = document.getElementById("main-navigation"),
this.langMenu = document.querySelectorAll(".lang-menu"),
this.modeMenu = document.getElementById("mode-menu"),
this.modeMenuLabel = document.getElementById("mode-menu-label"),
this.burger = document.getElementById("burger-icon"),
this.moreLink = document.querySelector(".more-menu-open"),
this.moreDropdown = document.querySelector(".more-menu-dropdown"),
this.header = document.querySelector("#masthead"),
this.moreWrapper = document.querySelector(".more-menu-link"),
this.submenuLinks = document.querySelectorAll(".submenu-more-link"),
this.flexibleLinks = document.querySelectorAll(".flexible-link"),
this.contentWrapper = document.querySelector(".site-header > .container"),
this.refModeMenu = document.querySelector(".ref-mode-menu"),
this.logo = document.querySelector(".logo-sudoku-wrapper"),
this.defaultWidthNavigation = null !== (t = document.querySelector(".main-navigation-wrapper").clientWidth) && void 0 !== t ? t : 0,
this.countShowedFliexibleMenu = 0,
this.menuInited = !1,
this.getDynamicElements()
}
return Object.defineProperty(t.prototype, "containerMenuWidth", {
get: function() {
var t, e = this.refModeMenu ? this.refModeMenu.clientWidth + 25 : 0, n = null !== (t = this.logo.clientWidth) && void 0 !== t ? t : 0;
return this.contentWrapper.clientWidth - 20 - e - n - 80 - this.defaultWidthNavigation
},
enumerable: !1,
configurable: !0
}),
Object.defineProperty(t.prototype, "modeMenuVisible", {
get: function() {
return Object(i.a)(this.modeMenu).contains(r)
},
enumerable: !1,
configurable: !0
}),
Object.defineProperty(t.prototype, "moreDropdownVisible", {
get: function() {
return this.moreDropdown && Object(i.a)(this.moreDropdown).contains(r)
},
enumerable: !1,
configurable: !0
}),
t.prototype.setUpHeaderMenu = function() {
for (var t = this.containerMenuWidth, e = 0, n = 0, r = 0; r < this.flexibleLinks.length && !((e += 8 * this.flexibleLinks[r].innerText.length + 35) > t); r++)
n++;
n < this.flexibleLinks.length && 8 * this.moreLink.innerText.length + 35 + e > t && n--,
this.flexibleLinks.forEach(function(t) {
return Object(i.a)(t).remove("showed")
}),
this.submenuLinks.forEach(function(t) {
Object(i.a)(t).remove("hidden")
}),
Object(i.a)(this.moreWrapper).remove("showed"),
Object(i.a)(this.moreLink).remove("active");
for (r = 0; r < n; r++)
Object(i.a)(this.flexibleLinks[r]).add("showed"),
Object(i.a)(this.submenuLinks[r]).add("hidden");
if (n < this.flexibleLinks.length) {
Object(i.a)(this.moreWrapper).add("showed");
var o = !1;
for (r = n - 1 < 0 ? 0 : n - 1; r < this.submenuLinks.length; r++)
!Object(i.a)(this.submenuLinks[r]).contains("hidden") && this.submenuLinks[r].childNodes.length && Object(i.a)(this.submenuLinks[r].childNodes[0]).contains("active") && (o = !0);
o && Object(i.a)(this.moreLink).add("active")
}
}
,
t.prototype.bindChangeLangSelect = function(t) {
var e = this;
return this.langMenuSelect.forEach(function(e) {
return e.addEventListener("change", t)
}),
function() {
e.langMenuSelect.forEach(function(e) {
return e.removeEventListener("change", t)
})
}
}
,
t.prototype.bindClickMoreLink = function(t) {
this.moreLink && this.moreLink.addEventListener("click", t)
}
,
t.prototype.bindClickLangLabel = function(t) {
var e = this;
return this.langMenuLabel.forEach(function(e) {
return e.addEventListener("click", t)
}),
function() {
e.langMenuLabel.forEach(function(e) {
return e.removeEventListener("click", t)
})
}
}
,
t.prototype.bindClickModeLabel = function(t) {
this.modeMenuLabel && this.modeMenuLabel.addEventListener("click", t)
}
,
t.prototype.bindBurgerClick = function(t) {
this.burger && this.burger.addEventListener("click", t)
}
,
t.prototype.toggleShowMenu = function() {
Object(i.a)(this.body).add(a).toggle(o)
}
,
t.prototype.closeMainMenu = function() {
this.mainNav && this.mainNav.removeAttribute("style"),
Object(i.a)(this.body).remove(o)
}
,
t.prototype.removeMenuTransition = function() {
Object(i.a)(this.body).remove(a)
}
,
t.prototype.hideMenus = function() {
Object(i.a)(this.header).remove(s),
Object(i.a)(this.modeMenu).remove(r),
this.langMenu.forEach(function(t) {
return Object(i.a)(t).remove(r)
}),
this.moreDropdown && Object(i.a)(this.moreDropdown).remove(r)
}
,
t.prototype.showMenu = function(t) {
Object(i.a)(t).add(r)
}
,
t.prototype.headerToTop = function() {
this.header && Object(i.a)(this.header).add(s)
}
,
t.prototype.getDynamicElements = function() {
this.langMenuSelect = document.querySelectorAll(".lang-menu_select"),
this.langMenuLabel = document.querySelectorAll(".lang-menu_label")
}
,
t
}()
, u = n("Q/5a")
, l = n("KxHI")
, d = n("LKh6")
, h = function() {
function t() {
this.view = new c,
this.view.bindBurgerClick(this.handleBurgerClick.bind(this)),
this.view.bindClickModeLabel(this.handleOpenMenu.bind(this)("modeMenu")),
this.view.bindClickMoreLink(this.handleOpenMenu.bind(this)("moreDropdown")),
this.bindDynamicElements(),
u.a.subscribe(l.f.contentChanged, this.onChangeContent.bind(this)),
u.a.subscribe(l.f.hideAllMenu, this.view.hideMenus.bind(this.view)),
window.addEventListener("resize", this.onResizeView.bind(this))
}
return t.prototype.onResizeView = function() {
this.view.removeMenuTransition(),
window.innerWidth < d.a || this.view.closeMainMenu()
}
,
t.prototype.onChangeContent = function(t) {
this.unsubChangeLangSelect(),
this.unsubChangeModeSelect(),
this.unsubClickLangLabel(),
t.mode_menu && this.view.modeMenuLabel && (this.view.modeMenuLabel.innerHTML = t.mode_menu),
t.language_menu && this.view.langMenu.forEach(function(e) {
return e.innerHTML = t.language_menu
}),
this.view.getDynamicElements(),
this.bindDynamicElements()
}
,
t.prototype.bindDynamicElements = function() {
this.unsubChangeLangSelect = this.view.bindChangeLangSelect(this.handleChangeLangSelect.bind(this)),
this.unsubClickLangLabel = this.view.bindClickLangLabel(this.handleOpenMenu.bind(this)("langMenu"))
}
,
t.prototype.handleBurgerClick = function() {
this.view.toggleShowMenu(),
u.a.emit(l.f.userAction)
}
,
t.prototype.handleOpenMenu = function(t) {
var e = this;
return function(n) {
if (n.preventDefault(),
!(window.innerWidth < d.a)) {
n.stopPropagation();
var o = "langMenu" === t ? Object(i.a)(n.target.closest(".lang-menu")).contains(r) : e.view[t + "Visible"];
u.a.emit(l.f.hideAllMenu),
o || e.view.showMenu("langMenu" === t ? n.target.closest(".lang-menu") : e.view[t]),
"moreDropdown" === t && e.view.headerToTop()
}
}
}
,
t.prototype.handleChangeLangSelect = function(t) {
window.location.href = t.target.value
}
,
t
}()
},
"67WC": function(t, e, n) {
"use strict";
var i, r, o, a = n("qYE9"), s = n("g6v/"), c = n("2oRo"), u = n("Fib7"), l = n("hh1v"), d = n("Gi26"), h = n("9d/t"), f = n("DVFp"), p = n("kRJp"), m = n("busE"), v = n("m/L8").f, g = n("OpvP"), y = n("4WOD"), b = n("0rvr"), w = n("tiKp"), S = n("kOOl"), A = c.Int8Array, _ = A && A.prototype, x = c.Uint8ClampedArray, O = x && x.prototype, T = A && y(A), E = _ && y(_), k = Object.prototype, I = c.TypeError, C = w("toStringTag"), R = S("TYPED_ARRAY_TAG"), L = S("TYPED_ARRAY_CONSTRUCTOR"), D = a && !!b && "Opera" !== h(c.opera), j = !1, M = {
Int8Array: 1,
Uint8Array: 1,
Uint8ClampedArray: 1,
Int16Array: 2,
Uint16Array: 2,
Int32Array: 4,
Uint32Array: 4,
Float32Array: 4,
Float64Array: 8
}, P = {
BigInt64Array: 8,
BigUint64Array: 8
}, B = function(t) {
if (!l(t))
return !1;
var e = h(t);
return d(M, e) || d(P, e)
};
for (i in M)
(o = (r = c[i]) && r.prototype) ? p(o, L, r) : D = !1;
for (i in P)
(o = (r = c[i]) && r.prototype) && p(o, L, r);
if ((!D || !u(T) || T === Function.prototype) && (T = function() {
throw I("Incorrect invocation")
}
,
D))
for (i in M)
c[i] && b(c[i], T);
if ((!D || !E || E === k) && (E = T.prototype,
D))
for (i in M)
c[i] && b(c[i].prototype, E);
if (D && y(O) !== E && b(O, E),
s && !d(E, C))
for (i in j = !0,
v(E, C, {
get: function() {
return l(this) ? this[R] : void 0
}
}),
M)
c[i] && p(c[i], R, i);
t.exports = {
NATIVE_ARRAY_BUFFER_VIEWS: D,
TYPED_ARRAY_CONSTRUCTOR: L,
TYPED_ARRAY_TAG: j && R,
aTypedArray: function(t) {
if (B(t))
return t;
throw I("Target is not a typed array")
},
aTypedArrayConstructor: function(t) {
if (u(t) && (!b || g(T, t)))
return t;
throw I(f(t) + " is not a typed array constructor")
},
exportTypedArrayMethod: function(t, e, n, i) {
if (s) {
if (n)
for (var r in M) {
var o = c[r];
if (o && d(o.prototype, t))
try {
delete o.prototype[t]
} catch (n) {
try {
o.prototype[t] = e
} catch (t) {}
}
}
E[t] && !n || m(E, t, n ? e : D && _[t] || e, i)
}
},
exportTypedArrayStaticMethod: function(t, e, n) {
var i, r;
if (s) {
if (b) {
if (n)
for (i in M)
if ((r = c[i]) && d(r, t))
try {
delete r[t]
} catch (t) {}
if (T[t] && !n)
return;
try {
return m(T, t, n ? e : D && T[t] || e)
} catch (t) {}
}
for (i in M)
!(r = c[i]) || r[t] && !n || m(r, t, e)
}
},
isView: function(t) {
if (!l(t))
return !1;
var e = h(t);
return "DataView" === e || d(M, e) || d(P, e)
},
isTypedArray: B,
TypedArray: T,
TypedArrayPrototype: E
}
},
"6JNq": function(t, e, n) {
var i = n("Gi26")
, r = n("Vu81")
, o = n("Bs8V")
, a = n("m/L8");
t.exports = function(t, e, n) {
for (var s = r(e), c = a.f, u = o.f, l = 0; l < s.length; l++) {
var d = s[l];
i(t, d) || n && i(n, d) || c(t, d, u(e, d))
}
}
},
"6LWA": function(t, e, n) {
var i = n("xrYK");
t.exports = Array.isArray || function(t) {
return "Array" == i(t)
}
},
"6R/c": function(t, e, n) {
"use strict";
var i = n("67WC")
, r = n("TWQb").indexOf
, o = i.aTypedArray;
(0,
i.exportTypedArrayMethod)("indexOf", function(t) {
return r(o(this), t, arguments.length > 1 ? arguments[1] : void 0)
})
},
"6Ssv": function(t, e, n) {
"use strict";
n.d(e, "c", function() {
return i
}),
n.d(e, "b", function() {
return r
}),
n.d(e, "a", function() {
return o
});
var i = function(t, e, n) {
var i = new Date;
i.setTime(i.getTime() + 864e5 * n);
var r = "expires=" + i.toUTCString();
document.cookie = t + "=" + e + ";" + r + ";path=/"
}
, r = function(t) {
for (var e = t + "=", n = decodeURIComponent(document.cookie).split(";"), i = 0; i < n.length; i++) {
for (var r = n[i]; " " === r.charAt(0); )
r = r.substring(1);
if (0 === r.indexOf(e))
return r.substring(e.length, r.length)
}
return ""
}
, o = !navigator || navigator.cookieEnabled
},
"6VoE": function(t, e, n) {
var i = n("tiKp")
, r = n("P4y1")
, o = i("iterator")
, a = Array.prototype;
t.exports = function(t) {
return void 0 !== t && (r.Array === t || a[o] === t)
}
},
"6sUC": function(t, e, n) {
var i = n("hh1v")
, r = Math.floor;
t.exports = Number.isInteger || function(t) {
return !i(t) && isFinite(t) && r(t) === t
}
},
"7+kd": function(t, e, n) {
n("dG/n")("isConcatSpreadable")
},
"7+zs": function(t, e, n) {
var i = n("Gi26")
, r = n("busE")
, o = n("UesL")
, a = n("tiKp")("toPrimitive")
, s = Date.prototype;
i(s, a) || r(s, a, o)
},
"7JcK": function(t, e, n) {
"use strict";
var i = n("67WC")
, r = n("iqeF")
, o = i.aTypedArrayConstructor;
(0,
i.exportTypedArrayStaticMethod)("of", function() {
for (var t = 0, e = arguments.length, n = new (o(this))(e); e > t; )
n[t] = arguments[t++];
return n
}, r)
},
"7ueG": function(t, e, n) {
"use strict";
var i = n("I+eb")
, r = n("WKiH").start
, o = n("yNLB")("trimStart")
, a = o ? function() {
return r(this)
}
: "".trimStart;
i({
target: "String",
proto: !0,
name: "trimStart",
forced: o
}, {
trimStart: a,
trimLeft: a
})
},
"82ph": function(t, e, n) {
var i = n("4zBA");
t.exports = i([].slice)
},
"88L7": function(t, e, n) {
"use strict";
n.d(e, "a", function() {
return i
});
var i = {
MAIN_GAME: "solver_game",
LAST_HIW_DATE: "last_hiw_date",
DISABLE_SOLVER_NOTIFICATION: "disable_solver_notification"
}
},
"8Eb1": function(t, e, n) {
"use strict";
n.d(e, "a", function() {
return m
});
var i, r, o = n("J8vR"), a = function() {
function t() {
this.body = document.querySelector("body"),
this.mainNav = document.getElementById("main-navigation"),
this.consent = document.getElementById("cookies-consent"),
this.banner = document.getElementById("cookies-banner"),
this.popup = document.getElementById("cookies-popup"),
this.closePopup = document.getElementById("cookies-popup-close"),
this.linkTabs = document.querySelectorAll(".cookies-options-item"),
this.contentTabs = document.querySelectorAll(".options-content"),
this.settingsLink = document.getElementById("cookie-settings-link"),
this.dropdown = document.querySelector("#cookies-options-dropdown"),
this.acceptButtons = document.querySelectorAll(".cookies-accept"),
this.saveButton = document.getElementById("cookies-save"),
this.sdkGoogleAdw = document.querySelector("#sdk_google_adw"),
this.sdkGoogleAnalytics = document.querySelector("#sdk_google_analytics"),
this.policyLinks = document.querySelectorAll(".cookies-page .entry-content a, .ref-footer .cookie-preferences-link"),
this.aniviewFloatAds = document.getElementById("aniview-float-container"),
this.vidazooFloatAds = document.querySelector("#vidazoo-container.vidazoo-float")
}
return Object.defineProperty(t.prototype, "sdkAdw", {
get: function() {
return this.sdkGoogleAdw.checked
},
enumerable: !1,
configurable: !0
}),
Object.defineProperty(t.prototype, "sdkAnalytics", {
get: function() {
return this.sdkGoogleAnalytics.checked
},
enumerable: !1,
configurable: !0
}),
Object.defineProperty(t.prototype, "dropdownValue", {
get: function() {
return this.dropdown.value
},
enumerable: !1,
configurable: !0
}),
t.prototype.bindAcceptCookies = function(t) {
this.acceptButtons.forEach(function(e) {
e.addEventListener("click", t)
})
}
,
t.prototype.bindClickPolicyLink = function(t) {
this.policyLinks.forEach(function(e) {
e.addEventListener("click", t)
})
}
,
t.prototype.bindClickLinkTab = function(t) {
this.linkTabs.forEach(function(e) {
e.addEventListener("click", function(n) {
n.preventDefault();
var i = e.dataset.category;
t(i)
})
})
}
,
t.prototype.bindChangeDropdown = function(t) {
var e = this;
this.dropdown && this.dropdown.addEventListener("change", function() {
t(e.dropdownValue)
})
}
,
t.prototype.bindSaveCookies = function(t) {
this.saveButton && this.saveButton.addEventListener("click", t)
}
,
t.prototype.bindShowSettings = function(t) {
this.settingsLink && this.settingsLink.addEventListener("click", t)
}
,
t.prototype.bindHideSettings = function(t) {
this.closePopup && this.closePopup.addEventListener("click", t)
}
,
t.prototype.showSettings = function() {
this.consent && (this.consent.style.display = "block"),
this.popup && this.popup.classList.add("shown"),
this.banner && (this.banner.style.display = "none")
}
,
t.prototype.hideSettings = function() {
this.popup && this.popup.classList.remove("shown"),
this.banner && (this.banner.style.display = "block")
}
,
t.prototype.hideConsent = function() {
this.consent.style.display = "none",
this.body.style.paddingBottom = "0",
this.aniviewFloatAds && (this.aniviewFloatAds.style.bottom = "10px"),
this.vidazooFloatAds && (this.vidazooFloatAds.style.bottom = "10px"),
window.vidazooFloatAds && (window.vidazooFloatAds.style.marginBottom = "0px"),
window.slideRiseAd && (window.slideRiseAd.style.bottom = "0px")
}
,
t.prototype.showTab = function(t) {
this.linkTabs.forEach(function(e) {
return e.dataset.category === t ? e.classList.add("active") : e.classList.remove("active")
}),
this.contentTabs.forEach(function(e) {
e.style.display = "none",
e.classList.contains("cookies-category-" + t) && (e.style.display = "block")
})
}
,
t.prototype.updateConsentPadding = function() {
var t = this.banner.getBoundingClientRect().height;
this.body.classList.add("cookie-visible"),
this.body.style.paddingBottom = t + "px",
this.mainNav.style.bottom = t - 1 + "px",
this.aniviewFloatAds && (this.aniviewFloatAds.style.bottom = t + 10 + "px"),
this.vidazooFloatAds && (this.vidazooFloatAds.style.bottom = t + 10 + "px"),
window.vidazooFloatAds && (window.vidazooFloatAds.style.marginBottom = t + 10 + "px"),
window.slideRiseAd && (window.slideRiseAd.style.bottom = t + "px")
}
,
t.prototype.removeCookieBannerPadding = function() {
this.banner && (this.banner.style.paddingBottom = "")
}
,
t.prototype.changeCookieBannerPadding = function(t) {
this.banner && (this.removeCookieBannerPadding(),
this.banner.offsetWidth,
this.banner.style.paddingBottom = t + parseInt(window.getComputedStyle(this.banner).paddingBottom) + "px")
}
,
t.prototype.getDynamicElements = function() {
this.banner = document.getElementById("onetrust-banner-sdk")
}
,
t.prototype.updateConsentPaddingCMP = function() {
if (this.banner) {
if ("0" === this.banner.style.opacity)
return Object(o.a)(this.body).remove("cookie-visible"),
this.body.style.paddingBottom = "0px",
this.mainNav.style.bottom = "0px",
this.aniviewFloatAds && (this.aniviewFloatAds.style.bottom = "0px"),
this.vidazooFloatAds && (this.vidazooFloatAds.style.bottom = "0px"),
window.vidazooFloatAds && (window.vidazooFloatAds.style.marginBottom = "0px"),
void (window.slideRiseAd && (window.slideRiseAd.style.bottom = "0px"));
var t = this.banner.getBoundingClientRect().height;
Object(o.a)(this.body).add("cookie-visible"),
this.body.style.paddingBottom = t + "px",
this.mainNav.style.bottom = t - 1 + "px",
this.aniviewFloatAds && (this.aniviewFloatAds.style.bottom = t + 10 + "px"),
this.vidazooFloatAds && (this.vidazooFloatAds.style.bottom = t + 10 + "px"),
window.vidazooFloatAds && (window.vidazooFloatAds.style.marginBottom = t + 10 + "px"),
window.slideRiseAd && (window.slideRiseAd.style.bottom = t + "px")
}
}
,
t
}();
!function(t) {
t.about = "about",
t.functional = "functional",
t.analytics = "analytics",
t.advertising = "advertising",
t.info = "info"
}(i || (i = {})),
function(t) {
t.shown = "shown",
t.tab = "tab"
}(r || (r = {}));
var s = function() {
function t() {
this.shownSettings = !1,
this.activeTab = i.about
}
return t.prototype.bindShownSettingsChanged = function(t) {
this.onShownSettingsChanged = t
}
,
t.prototype.bindActiveTabChanged = function(t) {
this.onActiveTabChanged = t
}
,
t.prototype.changeShownSettings = function(t) {
this.shownSettings = t,
this.commit(r.shown)
}
,
t.prototype.changeActiveTab = function(t) {
this.activeTab = t,
this.commit(r.tab)
}
,
t.prototype.commit = function(t) {
switch (t) {
case r.shown:
this.onShownSettingsChanged(this.shownSettings);
break;
case r.tab:
this.onActiveTabChanged(this.activeTab)
}
}
,
t
}()
, c = n("6Ssv")
, u = "sdk_adw"
, l = "sdk_analytics"
, d = "sdk_confirm"
, h = n("KxHI")
, f = n("Q/5a")
, p = n("Vl5E")
, m = function() {
function t() {
this.view = new a,
this.model = new s,
this.view.bindAcceptCookies(this.handleAcceptCookies.bind(this)),
this.view.bindSaveCookies(this.handleSaveCookies.bind(this)),
this.view.bindShowSettings(this.handleShowSettings.bind(this)),
this.view.bindHideSettings(this.handleHideSettings.bind(this)),
this.view.bindClickPolicyLink(this.handleClickPolicyLink.bind(this)),
this.view.bindClickLinkTab(this.handleClickLinkTab.bind(this)),
this.view.bindChangeDropdown(this.handleClickLinkTab.bind(this)),
this.model.bindShownSettingsChanged(this.onShownSettingsChanged.bind(this)),
this.model.bindActiveTabChanged(this.onActiveTabChanged.bind(this)),
f.a.subscribe(h.f.removeCookiesPadding, this.view.removeCookieBannerPadding.bind(this.view)),
f.a.subscribe(h.f.changeCookiesPadding, this.view.changeCookieBannerPadding.bind(this.view))
}
return t.prototype.onShownSettingsChanged = function(t) {
t ? this.view.showSettings() : this.view.hideSettings()
}
,
t.prototype.onActiveTabChanged = function(t) {
this.view.showTab(t)
}
,
t.prototype.handleClickLinkTab = function(t) {
this.model.changeActiveTab(t)
}
,
t.prototype.updateConsentHeight = function() {
this.view.consent.classList.contains("hidden") || this.view.updateConsentPadding()
}
,
t.prototype.handleAcceptCookies = function(t) {
t.preventDefault(),
Object(c.c)(u, "1", 365),
Object(c.c)(l, "1", 365),
Object(c.c)(d, "1", 365),
this.view.hideConsent(),
Object(p.b)(!0, !0),
window.location.reload()
}
,
t.prototype.handleSaveCookies = function(t) {
t.preventDefault();
var e = this.view.sdkAdw
, n = this.view.sdkAnalytics;
Object(c.c)(u, Number(e).toString(), 365),
Object(c.c)(l, Number(n).toString(), 365),
Object(c.c)(d, "1", 365),
this.view.hideConsent(),
Object(p.b)(n, e),
window.location.reload()
}
,
t.prototype.handleClickPolicyLink = function(t) {
var e;
t.preventDefault(),
t.stopPropagation(),
"#show-cookie-preferences" === t.target.hash ? (null === (e = null === window || void 0 === window ? void 0 : window.eb) || void 0 === e ? void 0 : e.settings.use_cmp) && window.OneTrust ? window.OneTrust.ToggleInfoDisplay() : this.model.changeShownSettings(!0) : window.open(t.target.href, "_blank")
}
,
t.prototype.handleShowSettings = function(t) {
t.preventDefault(),
this.model.changeShownSettings(!0)
}
,
t.prototype.handleHideSettings = function(t) {
t.preventDefault(),
this.model.changeShownSettings(!1)
}
,
t.prototype.update = function() {
var t = this;
if (!this.cmpInit) {
this.cmpConsentString = window.OnetrustActiveGroups;
var e = document.querySelector("#onetrust-consent-sdk #onetrust-policy-text");
e && (e.innerHTML = e.innerHTML.replace("below", "above"),
e.innerHTML = e.innerHTML.replace("Manage Preferences", "Cookie Preferences")),
window.__tcfapi("addEventListener", 2, function(e) {
var n = JSON.stringify((null == e ? void 0 : e.purpose) || {});
t.tcfApiInit || (window.tcfData = e,
f.a.emit(h.f.initBannerAds, e)),
t.tcfApiInit && t.tcfApiConsent !== n && window.location.reload(),
t.tcfApiConsent = n,
t.tcfApiInit = !0
}),
window.addEventListener("resize", this.view.updateConsentPaddingCMP.bind(this.view)),
setTimeout(function() {
t.view.getDynamicElements(),
t.view.updateConsentPaddingCMP()
}, 100),
window.OneTrust.OnConsentChanged(function() {
t.view.getDynamicElements(),
t.view.updateConsentPaddingCMP();
var e = window.OnetrustActiveGroups ? window.OnetrustActiveGroups.split(",").filter(function(t) {
return !!t
}) : [];
e.length && (window.isShowPersonalAdv = e.includes(h.a.targeting),
window.isShowAnalytics = e.includes(h.a.performance),
Object(p.b)(e.includes(h.a.performance), e.includes(h.a.targeting))),
window.OnetrustActiveGroups !== t.cmpConsentString && window.location.reload(),
t.cmpConsentString = window.OnetrustActiveGroups
}),
this.cmpInit = !0
}
}
,
t
}()
},
"8GlL": function(t, e, n) {
"use strict";
var i = n("We1y")
, r = function(t) {
var e, n;
this.promise = new t(function(t, i) {
if (void 0 !== e || void 0 !== n)
throw TypeError("Bad Promise constructor");
e = t,
n = i
}
),
this.resolve = i(e),
this.reject = i(n)
};
t.exports.f = function(t) {
return new r(t)
}
},
"8YOa": function(t, e, n) {
var i = n("I+eb")
, r = n("4zBA")
, o = n("0BK2")
, a = n("hh1v")
, s = n("Gi26")
, c = n("m/L8").f
, u = n("JBy8")
, l = n("BX/b")
, d = n("T63f")
, h = n("kOOl")
, f = n("uy83")
, p = !1
, m = h("meta")
, v = 0
, g = function(t) {
c(t, m, {
value: {
objectID: "O" + v++,
weakData: {}
}
})
}
, y = t.exports = {
enable: function() {
y.enable = function() {}
,
p = !0;
var t = u.f
, e = r([].splice)
, n = {};
n[m] = 1,
t(n).length && (u.f = function(n) {
for (var i = t(n), r = 0, o = i.length; r < o; r++)
if (i[r] === m) {
e(i, r, 1);
break
}
return i
}
,
i({
target: "Object",
stat: !0,
forced: !0
}, {
getOwnPropertyNames: l.f
}))
},
fastKey: function(t, e) {
if (!a(t))
return "symbol" == typeof t ? t : ("string" == typeof t ? "S" : "P") + t;
if (!s(t, m)) {
if (!d(t))
return "F";
if (!e)
return "E";
g(t)
}
return t[m].objectID
},
getWeakData: function(t, e) {
if (!s(t, m)) {
if (!d(t))
return !0;
if (!e)
return !1;
g(t)
}
return t[m].weakData
},
onFreeze: function(t) {
return f && p && d(t) && !s(t, m) && g(t),
t
}
};
o[m] = !0
},
"93I0": function(t, e, n) {
var i = n("VpIT")
, r = n("kOOl")
, o = i("keys");
t.exports = function(t) {
return o[t] || (o[t] = r(t))
}
},
"94Xl": function(t, e, n) {
n("JiZb")("Array")
},
"9LPj": function(t, e, n) {
"use strict";
var i = n("I+eb")
, r = n("0Dky")
, o = n("ewvW")
, a = n("wE6v");
i({
target: "Date",
proto: !0,
forced: r(function() {
return null !== new Date(NaN).toJSON() || 1 !== Date.prototype.toJSON.call({
toISOString: function() {
return 1
}
})
})
}, {
toJSON: function(t) {
var e = o(this)
, n = a(e, "number");
return "number" != typeof n || isFinite(n) ? e.toISOString() : null
}
})
},
"9N29": function(t, e, n) {
"use strict";
var i = n("I+eb")
, r = n("1Y/n").right
, o = n("pkCn")
, a = n("LQDL")
, s = n("YF1G");
i({
target: "Array",
proto: !0,
forced: !o("reduceRight") || !s && a > 79 && a < 83
}, {
reduceRight: function(t) {
return r(this, t, arguments.length, arguments.length > 1 ? arguments[1] : void 0)
}
})
},
"9UTE": function(t, e, n) {
"use strict";
n.d(e, "a", function() {
return i
});
var i = function() {
function t(t) {
var e, n, i;
this.margin = (null !== (e = t.topOffset) && void 0 !== e ? e : 100) + "px 0px " + (null !== (n = t.bottomOffset) && void 0 !== n ? n : 100) + "px 0px",
this.selector = t.selector || "[data-src]",
this.delay = null !== (i = t.delay) && void 0 !== i ? i : 0,
this.images = document.querySelectorAll(this.selector),
this.finishOpacity = t.maxOpacity || 1,
t.root && (this.root = t.root),
t.color && (this.color = t.color),
t.aspectRatio && (this.aspectRatio = t.aspectRatio),
t.customClasses && (this.customClasses = t.customClasses),
t.hideBackground && (this.hideBackground = t.hideBackground),
t.additionalId && (this.additionalId = t.additionalId),
t.skipInit ? this.manualLoadImages() : this.init()
}
return t.prototype.update = function() {
this.images = document.querySelectorAll(this.selector + ":not(.observed)"),
this.init()
}
,
t.prototype.init = function() {
var t, e = this;
if ("IntersectionObserver"in window) {
var n = new IntersectionObserver(function(t) {
t.forEach(function(t) {
var i = t.target;
t.isIntersecting && (e.loadImages(i),
n.unobserve(i))
})
}
,{
rootMargin: this.margin,
root: null !== (t = this.root) && void 0 !== t ? t : null
});
this.images.forEach(function(t) {
e.color && (t.parentNode.style.backgroundColor = e.color),
e.aspectRatio && (t.parentNode.style.height = t.parentNode.clientWidth / e.aspectRatio + "px"),
n.observe(t),
t.classList.add("observed")
})
} else
console.log("IntersectionObserver not working :("),
this.images.forEach(function(t) {
e.loadImages(t)
})
}
,
t.prototype.manualLoadImages = function() {
this.images.forEach(function(t) {
t.dataset.srcset && (t.srcset = t.dataset.srcset),
t.src = t.dataset.src,
t.removeAttribute("data-src"),
t.removeAttribute("data-srcset")
})
}
,
t.prototype.loadImages = function(t) {
var e = this
, n = new Image
, i = t.parentNode;
n.onload = function() {
i.innerHTML = "",
i.appendChild(n),
e.aspectRatio && (i.style.height = "auto"),
setTimeout(function() {
n.style.animation = (e.finishOpacity < 1 ? "showOpacity15" : "showOpacity") + " 0.6s linear 0s forwards",
e.hideBackground && (i.style.backgroundColor = "transparent"),
setTimeout(function() {
n.style.opacity = String(e.finishOpacity),
n.style.animation = null
}, 600)
}, e.delay)
}
,
n.classList.add("lazy-image"),
n.classList.add("observed"),
this.customClasses && this.customClasses.forEach(function(t) {
return n.classList.add(t)
}),
this.additionalId && (n.id = this.additionalId),
t.alt && (n.alt = t.alt),
t.dataset.srcset && (n.srcset = t.dataset.srcset),
n.src = t.dataset.src
}
,
t
}()
},
"9d/t": function(t, e, n) {
var i = n("2oRo")
, r = n("AO7/")
, o = n("Fib7")
, a = n("xrYK")
, s = n("tiKp")("toStringTag")
, c = i.Object
, u = "Arguments" == a(function() {
return arguments
}());
t.exports = r ? a : function(t) {
var e, n, i;
return void 0 === t ? "Undefined" : null === t ? "Null" : "string" == typeof (n = function(t, e) {
try {
return t[e]
} catch (t) {}
}(e = c(t), s)) ? n : u ? a(e) : "Object" == (i = a(e)) && o(e.callee) ? "Arguments" : i
}
},
A2ZE: function(t, e, n) {
var i = n("4zBA")
, r = n("We1y")
, o = n("QNWe")
, a = i(i.bind);
t.exports = function(t, e) {
return r(t),
void 0 === e ? t : o ? a(t, e) : function() {
return t.apply(e, arguments)
}
}
},
AAzI: function(t, e, n) {
"use strict";
n.d(e, "a", function() {
return i
});
var i = {
CANVAS_SIZE: 500,
COLOR_BACKGROUND: "#fff",
COLOR_THIN_BORDER: "#BFC6D4",
COLOR_DARK: "#344861",
COLOR_BLUE: "#325aaf",
COLOR_RED: "#e55c6c",
COLOR_NEIGHBOR: "#e2ebf3",
COLOR_SAME_VAL: "#c3d7ea",
COLOR_CONFLICT: "#f7cfd6",
COLOR_SELECTED: "#bbdefb",
COLOR_NOTES: "#6e7c8c",
COLOR_LIGHT_BLUE: "#b2dffe",
COLOR_DARK_SMART: "#10151D",
COLOR_LIGHT_SMART: "#3E3F42",
COLOR_GREEN: "#34c759",
COLOR_RED_SMART: "#ff2d55",
COLOR_YELLOW_SMART: "#FC0",
COLOR_BLUE_SMART: "#b2dffe",
COLOR_NOTE_DARK: "#322929",
LOADING_CLASS: "loading",
STANDARD_WIN_CLASS: "win",
BLOCKED_CLASS: "blocked",
BOARD_NUMBERS: ["m28.064 13.248-7.22 4.712v2.774l6.992-4.408V40h2.622V13.248z", "M30.249 29.512c2.66-2.508 5.206-5.016 5.206-8.93 0-4.332-3.382-7.714-8.322-7.714-4.94 0-8.436 3.04-9.044 7.448h2.584c.646-2.964 2.926-5.016 6.384-5.016 3.306 0 5.738 2.204 5.738 5.282 0 3.002-1.824 4.864-4.256 7.22L18.165 37.72V40h17.974v-2.432H21.737l8.512-8.056z", "M20.654 19.898C21.338 17.086 23.618 15.3 27 15.3c3.534 0 5.7 1.976 5.7 4.826 0 2.66-1.976 4.864-5.7 4.864h-3.154v2.394h3.306c3.8 0 6.536 1.786 6.536 5.092 0 3.078-2.584 5.472-6.422 5.472-3.724 0-6.384-2.014-6.954-4.864h-2.66c.608 4.56 4.598 7.296 9.614 7.296 5.358 0 9.082-3.534 9.082-7.828 0-4.142-3.04-6.08-5.092-6.536 1.976-.76 4.104-2.66 4.104-5.928 0-4.104-3.23-7.22-8.36-7.22-4.408 0-8.17 2.432-8.968 7.03h2.622z", "M33.232 31.108V13.21h-3.116l-13.3 18.126v2.128H30.61V40h2.622v-6.536h3.952v-2.356h-3.952zM30.61 16.402v14.706H19.818L30.61 16.402z", "M27.76 22.558c-2.85 0-5.206 1.064-6.84 2.888l.874-9.766h13.224v-2.432H19.552L18.26 28.41h2.622c1.52-2.28 3.724-3.458 6.46-3.458 3.42 0 6.422 2.356 6.422 6.384 0 3.914-2.66 6.612-6.498 6.612s-6.042-2.356-6.574-4.56h-2.698c.646 3.724 3.99 6.992 9.31 6.992 5.13 0 9.158-3.648 9.158-9.082 0-5.51-4.218-8.74-8.702-8.74z", "M27.95 22.52c-3.42 0-6.46 1.71-7.866 4.674.038-8.436 3.268-11.894 7.676-11.894 3.344 0 5.168 1.976 5.738 3.952h2.66c-.608-3.306-3.686-6.384-8.398-6.384-5.814 0-10.26 4.484-10.26 14.402 0 8.132 3.686 13.11 10.146 13.11 5.054 0 9.044-3.686 9.044-9.082 0-5.434-4.18-8.778-8.74-8.778zm-.38 15.428c-3.724 0-6.612-2.736-6.612-6.65 0-3.762 2.964-6.384 6.574-6.384 3.534 0 6.498 2.47 6.498 6.422 0 3.99-2.888 6.612-6.46 6.612z", "M18.051 15.68h14.592L21.471 40h2.926l11.172-24.51v-2.242H18.051z", "M17.519 32.78c0 4.522 3.952 7.6 9.5 7.6s9.462-3.078 9.462-7.6c0-4.142-3.268-6.308-5.282-6.764 1.71-.646 4.408-2.394 4.408-6.08 0-4.066-3.42-7.068-8.588-7.068-5.206 0-8.588 3.002-8.588 7.068 0 3.686 2.698 5.434 4.408 6.08-2.014.456-5.32 2.622-5.32 6.764zm15.428-12.692c0 2.926-2.622 4.902-5.928 4.902s-5.966-1.976-5.966-4.902 2.432-4.864 5.966-4.864c3.534 0 5.928 1.938 5.928 4.864zm.874 12.578c0 3.116-2.698 5.32-6.802 5.32-4.104 0-6.84-2.204-6.84-5.32 0-3.344 2.964-5.434 6.84-5.434 3.838 0 6.802 2.09 6.802 5.434z", "M26.354 12.868c-5.054 0-9.044 3.686-9.044 9.044 0 5.434 4.18 8.816 8.778 8.816 3.344 0 6.422-1.71 7.828-4.674-.076 8.398-3.23 11.894-7.638 11.894-3.344 0-5.168-2.014-5.738-3.952h-2.66c.57 3.306 3.648 6.384 8.398 6.384 5.814 0 10.222-4.484 10.222-14.402 0-8.132-3.648-13.11-10.146-13.11zm.114 15.466c-3.496 0-6.46-2.508-6.46-6.46 0-3.99 2.888-6.574 6.422-6.574 3.762 0 6.612 2.698 6.612 6.612 0 3.8-2.926 6.422-6.574 6.422z"],
BOARD_NOTES: ["M6.725 2.2 4.4 3.725v1.163L6.613 3.5V11h1.112V2.2z", "M7.6 7.638c.9-.825 1.75-1.65 1.75-2.988 0-1.425-1.088-2.588-2.813-2.588-1.7 0-2.837 1.038-3.037 2.526h1.1c.2-.9.85-1.5 1.913-1.5 1.012 0 1.7.675 1.7 1.562 0 .938-.525 1.487-1.363 2.275l-3.325 3.112V11h6.037V9.975h-4.5L7.6 7.638z", "M4.588 4.45c.2-.825.862-1.363 1.887-1.363 1.088 0 1.7.588 1.7 1.425 0 .813-.638 1.45-1.738 1.45H5.425v1.013h1.088c1.087 0 1.975.475 1.975 1.513 0 .962-.788 1.625-1.9 1.625-1.125 0-1.913-.588-2.088-1.438H3.375c.2 1.587 1.537 2.462 3.213 2.462 1.762 0 3.037-1.15 3.037-2.625 0-1.375-1.037-1.987-1.625-2.125.55-.212 1.313-.8 1.313-1.887 0-1.375-1.075-2.438-2.838-2.438-1.462 0-2.762.788-3 2.388h1.113z", "M8.637 7.95V2.2H7.312L3.075 8.038v.9h4.45V11h1.112V8.937h1.288V7.95H8.637zM7.525 3.525V7.95h-3.2l3.2-4.425z", "M6.794 5.238c-.888 0-1.613.3-2.113.85l.25-2.863h4.25V2.2h-5.2l-.425 5.025h1.125c.463-.637 1.113-.975 1.938-.975 1.025 0 1.912.713 1.912 1.887 0 1.175-.775 1.976-1.95 1.976-1.187 0-1.825-.75-1.962-1.363H3.48c.175 1.275 1.325 2.387 3.113 2.387 1.725 0 3.075-1.175 3.075-3.012 0-1.813-1.4-2.887-2.875-2.887z", "M6.875 5.237c-1.013 0-1.963.45-2.463 1.35.038-2.524 1.026-3.5 2.338-3.5 1.037 0 1.55.6 1.713 1.15H9.6c-.188-1.112-1.225-2.175-2.85-2.175-1.925 0-3.438 1.425-3.438 4.613 0 2.688 1.15 4.462 3.413 4.462 1.7 0 3.025-1.212 3.025-3 0-1.787-1.375-2.9-2.875-2.9zm-.188 4.876c-1.075 0-1.95-.775-1.95-1.95 0-1.163.875-1.913 1.95-1.913 1.063 0 1.926.75 1.926 1.912 0 1.175-.85 1.95-1.925 1.95z", "M3.506 3.225H8.12L4.53 11h1.25L9.37 3.162V2.2H3.506z", "M3.331 8.6c0 1.525 1.313 2.537 3.175 2.537 1.85 0 3.163-1.012 3.163-2.537 0-1.325-1.025-2.025-1.65-2.188.55-.224 1.375-.787 1.375-1.974 0-1.35-1.138-2.375-2.888-2.375-1.762 0-2.9 1.024-2.9 2.374 0 1.188.825 1.75 1.375 1.975-.625.163-1.65.863-1.65 2.188zM8.27 4.525c0 .875-.788 1.462-1.763 1.462-.987 0-1.775-.587-1.775-1.462 0-.888.713-1.463 1.775-1.463 1.05 0 1.763.576 1.763 1.463zM8.53 8.55c0 .938-.8 1.587-2.025 1.587-1.237 0-2.037-.65-2.037-1.587 0-1 .875-1.625 2.037-1.625 1.15 0 2.025.625 2.025 1.625z", "M6.275 2.063c-1.7 0-3.025 1.212-3.025 3 0 1.787 1.375 2.9 2.875 2.9 1.013 0 1.963-.45 2.463-1.35-.038 2.524-1.025 3.5-2.338 3.5-1.037 0-1.55-.6-1.713-1.15H3.4c.188 1.112 1.225 2.175 2.85 2.175 1.925 0 3.438-1.425 3.438-4.613 0-2.688-1.15-4.463-3.413-4.463zm.037 4.887c-1.062 0-1.925-.75-1.925-1.913 0-1.175.85-1.95 1.926-1.95 1.075 0 1.95.775 1.95 1.95 0 1.163-.875 1.913-1.95 1.913z"],
CAGES_DATA: {
cage_corner_2: {
y: 0,
size: 120
},
cage_corner: {
y: 120,
size: 120
},
cage_corner_1: {
y: 240,
size: 120
},
cage_tunnel: {
y: 360,
size: 120
},
cage_door: {
y: 480,
size: 120
},
cage_door_1: {
y: 600,
size: 120
},
cage_door_1_90: {
y: 720,
size: 120
},
cage_door_2: {
y: 840,
size: 120
},
cage_door_2_90: {
y: 960,
size: 120
},
cage_single: {
y: 1080,
size: 120
},
cage_corner_small: {
y: 1200,
size: 120
},
cage_line: {
y: 1320,
size: 120
}
},
BOARD_SUMS: [{
offset: 7,
path: "M3.123 9.865c1.945 0 3.123-1.705 3.123-4.43v-.011C6.246 2.699 5.068 1 3.123 1 1.172 1 0 2.7 0 5.424v.012c0 2.724 1.172 4.43 3.123 4.43zm0-1.09c-1.137 0-1.799-1.271-1.799-3.34v-.011c0-2.069.662-3.328 1.799-3.328 1.13 0 1.799 1.26 1.799 3.328v.012c0 2.068-.668 3.34-1.799 3.34z"
}, {
offset: 6,
path: "M4.54 9.493V1.038H3.226L1 2.62v1.289l2.127-1.518h.1v7.102z"
}, {
offset: 7,
path: "M5.771 9.493v-1.12H1.863v-.116L3.656 6.47c1.535-1.524 1.98-2.262 1.98-3.223v-.018C5.637 1.835 4.477.833 2.9.833 1.201.833.006 1.923 0 3.47l.012.011h1.23l.006-.017c0-.926.633-1.547 1.582-1.547.926 0 1.494.61 1.494 1.435v.018c0 .686-.322 1.12-1.441 2.285L.076 8.602v.891h5.695z"
}, {
offset: 7,
path: "M3.1 9.771c1.793 0 3.064-1.042 3.064-2.496v-.011c0-1.184-.832-1.934-2.074-2.045v-.03C5.12 4.973 5.87 4.27 5.87 3.221v-.012C5.871 1.902 4.77 1 3.088 1 1.436 1 .31 1.943.182 3.367l-.006.065h1.23l.006-.059c.082-.797.738-1.295 1.676-1.295.955 0 1.506.48 1.506 1.3v.013c0 .785-.657 1.353-1.623 1.353h-.99v1.02h1.03c1.126 0 1.817.533 1.817 1.488v.012c0 .832-.697 1.412-1.728 1.412-1.05 0-1.758-.54-1.84-1.307l-.006-.058H0l.006.07C.117 8.78 1.295 9.77 3.1 9.77z"
}, {
offset: 7,
path: "M5.39 9.493V7.811h1.167V6.698H5.39v-5.66H3.52A115.418 115.418 0 0 0 0 6.698v1.113h4.125v1.682h1.266zM4.144 6.722H1.26v-.083a96.619 96.619 0 0 1 2.806-4.494h.077v4.577z"
}, {
offset: 7,
path: "M2.936 9.66c1.78 0 3.035-1.195 3.035-2.93V6.72c0-1.623-1.137-2.807-2.725-2.807-.78 0-1.441.328-1.799.897h-.1l.258-2.696H5.49V1H.574L.152 5.91h1.131c.1-.193.235-.357.387-.492.334-.305.773-.457 1.289-.457 1.02 0 1.758.738 1.758 1.781v.012c0 1.06-.727 1.805-1.77 1.805-.926 0-1.6-.592-1.71-1.336l-.007-.047H0l.006.076C.123 8.623 1.27 9.66 2.936 9.66z"
}, {
offset: 7,
path: "M3.293 9.865c1.775 0 3.059-1.242 3.059-2.941v-.012c0-1.617-1.155-2.812-2.766-2.812-1.154 0-1.916.603-2.227 1.283h-.111c0-.065 0-.13.006-.194.064-1.687.656-3.076 2.08-3.076.797 0 1.348.41 1.582 1.055l.023.059H6.24l-.011-.07C5.947 1.878 4.834 1 3.339 1 1.249 1 0 2.688 0 5.547v.012c0 3.11 1.594 4.306 3.293 4.306zm-.012-1.101c-.996 0-1.775-.809-1.775-1.84v-.006c0-1.02.773-1.758 1.787-1.758 1.025 0 1.764.75 1.764 1.787v.012c0 1.014-.786 1.805-1.776 1.805z"
}, {
offset: 7,
path: "m2.08 9.493 3.68-7.318V1.038H0v1.107h4.43v.094L.703 9.493z"
}, {
offset: 7,
path: "M3.2 9.651c1.88 0 3.204-1.008 3.204-2.443v-.012c0-1.066-.767-1.916-1.875-2.156v-.03c.95-.269 1.565-.978 1.565-1.874v-.012C6.094 1.829 4.887.88 3.199.88 1.518.88.305 1.829.305 3.124v.012c0 .896.62 1.605 1.57 1.875v.029C.768 5.28 0 6.13 0 7.196v.012C0 8.643 1.324 9.65 3.2 9.65zm0-5.08c-.944 0-1.595-.55-1.595-1.324v-.012c0-.773.65-1.312 1.594-1.312.944 0 1.594.539 1.594 1.312v.012c0 .773-.645 1.324-1.594 1.324zm0 4.026c-1.079 0-1.846-.616-1.846-1.471v-.012c0-.867.761-1.494 1.845-1.494 1.09 0 1.852.627 1.852 1.494v.012c0 .855-.768 1.47-1.852 1.47z"
}, {
offset: 7,
path: "M3.018 9.698c2.091 0 3.34-1.687 3.34-4.553v-.011c0-3.106-1.6-4.301-3.294-4.301C1.29.833 0 2.075 0 3.774v.012c0 1.617 1.16 2.812 2.771 2.812 1.149 0 1.917-.603 2.221-1.283h.117c0 .065-.005.13-.005.194-.065 1.687-.663 3.076-2.086 3.076-.791 0-1.342-.41-1.582-1.055l-.018-.058H.111l.018.07c.275 1.277 1.389 2.156 2.889 2.156zm.04-4.16c-1.019 0-1.763-.75-1.763-1.787v-.012c0-1.014.79-1.805 1.781-1.805.996 0 1.776.809 1.776 1.84v.006c0 1.02-.78 1.758-1.793 1.758z"
}]
}
},
"AO7/": function(t, e, n) {
var i = {};
i[n("tiKp")("toStringTag")] = "z",
t.exports = "[object z]" === String(i)
},
AbTg: function(t, e) {
var n = function() {
this.head = null,
this.tail = null
};
n.prototype = {
add: function(t) {
var e = {
item: t,
next: null
};
this.head ? this.tail.next = e : this.head = e,
this.tail = e
},
get: function() {
var t = this.head;
if (t)
return this.head = t.next,
this.tail === t && (this.tail = null),
t.item
}
},
t.exports = n
},
"B/qT": function(t, e, n) {
var i = n("UMSQ");
t.exports = function(t) {
return i(t.length)
}
},
B6y2: function(t, e, n) {
var i = n("I+eb")
, r = n("b1O7").values;
i({
target: "Object",
stat: !0
}, {
values: function(t) {
return r(t)
}
})
},
BIHw: function(t, e, n) {
"use strict";
var i = n("I+eb")
, r = n("or9q")
, o = n("ewvW")
, a = n("B/qT")
, s = n("WSbT")
, c = n("ZfDv");
i({
target: "Array",
proto: !0
}, {
flat: function() {
var t = arguments.length ? arguments[0] : void 0
, e = o(this)
, n = a(e)
, i = c(e, 0);
return i.length = r(i, e, e, n, 0, void 0 === t ? 1 : s(t)),
i
}
})
},
BNF5: function(t, e, n) {
var i = n("NC/Y").match(/firefox\/(\d+)/i);
t.exports = !!i && +i[1]
},
BQak: function(t, e, n) {
"use strict";
n.d(e, "a", function() {
return _
});
var i = n("6Ssv")
, r = n("lPiR")
, o = n.n(r)
, a = n("ZA8W")
, s = n.n(a)
, c = n("qLbo")
, u = n("KxHI")
, l = n("5z3c")
, d = n("J8vR")
, h = n("Q/5a")
, f = n("Vl5E")
, p = n("kFz4")
, m = function() {
return (m = Object.assign || function(t) {
for (var e, n = 1, i = arguments.length; n < i; n++)
for (var r in e = arguments[n])
Object.prototype.hasOwnProperty.call(e, r) && (t[r] = e[r]);
return t
}
).apply(this, arguments)
}
, v = function(t, e, n, i) {
return new (n || (n = Promise))(function(r, o) {
function a(t) {
try {
c(i.next(t))
} catch (t) {
o(t)
}
}
function s(t) {
try {
c(i.throw(t))
} catch (t) {
o(t)
}
}
function c(t) {
var e;
t.done ? r(t.value) : (e = t.value,
e instanceof n ? e : new n(function(t) {
t(e)
}
)).then(a, s)
}
c((i = i.apply(t, e || [])).next())
}
)
}
, g = function(t, e) {
var n, i, r, o, a = {
label: 0,
sent: function() {
if (1 & r[0])
throw r[1];
return r[1]
},
trys: [],
ops: []
};
return o = {
next: s(0),
throw: s(1),
return: s(2)
},
"function" == typeof Symbol && (o[Symbol.iterator] = function() {
return this
}
),
o;
function s(o) {
return function(s) {
return function(o) {
if (n)
throw new TypeError("Generator is already executing.");
for (; a; )
try {
if (n = 1,
i && (r = 2 & o[0] ? i.return : o[0] ? i.throw || ((r = i.return) && r.call(i),
0) : i.next) && !(r = r.call(i, o[1])).done)
return r;
switch (i = 0,
r && (o = [2 & o[0], r.value]),
o[0]) {
case 0:
case 1:
r = o;
break;
case 4:
return a.label++,
{
value: o[1],
done: !1
};
case 5:
a.label++,
i = o[1],
o = [0];
continue;
case 7:
o = a.ops.pop(),
a.trys.pop();
continue;
default:
if (!(r = (r = a.trys).length > 0 && r[r.length - 1]) && (6 === o[0] || 2 === o[0])) {
a = 0;
continue
}
if (3 === o[0] && (!r || o[1] > r[0] && o[1] < r[3])) {
a.label = o[1];
break
}
if (6 === o[0] && a.label < r[1]) {
a.label = r[1],
r = o;
break
}
if (r && a.label < r[2]) {
a.label = r[2],
a.ops.push(o);
break
}
r[2] && a.ops.pop(),
a.trys.pop();
continue
}
o = e.call(t, a)
} catch (t) {
o = [6, t],
i = 0
} finally {
n = r = 0
}
if (5 & o[0])
throw o[1];
return {
value: o[0] ? o[1] : void 0,
done: !0
}
}([o, s])
}
}
}
, y = function(t, e, n) {
if (n || 2 === arguments.length)
for (var i, r = 0, o = e.length; r < o; r++)
!i && r in e || (i || (i = Array.prototype.slice.call(e, 0, r)),
i[r] = e[r]);
return t.concat(i || Array.prototype.slice.call(e))
}
, b = {
state: "",
games: []
}
, w = "show-timer"
, S = "show-leaderboard"
, A = [[3, 5], [10, 15], [300, 360]]
, _ = function() {
function t(t, e) {
var n, r, o, a, s = this;
this.awards = e,
this.domain = null === (r = null === (n = null === window || void 0 === window ? void 0 : window.eb) || void 0 === n ? void 0 : n.params) || void 0 === r ? void 0 : r.tournamentHost,
this.eaid = null === (a = null === (o = null === window || void 0 === window ? void 0 : window.eb) || void 0 === o ? void 0 : o.params) || void 0 === a ? void 0 : a.eaid,
this.euid = t,
this.timezone = Math.min(Math.max(Math.floor((new Date).getTimezoneOffset() / -60), -12), 12),
this.isClickUpdate = Object(d.a)(document.body).contains("tournament-page"),
this.storage = i.a && JSON.parse(localStorage.getItem(c.b.TOURNAMENT)) || b,
this.leaderboardLoaded = !1,
this.score = [],
this.place = 1,
this.$body = document.querySelector("body"),
this.$leaderboard = document.querySelector("#tournament-leaderboard"),
this.$wrapper = document.querySelector(".tournament_body"),
this.$days = document.querySelector(".tournament_timer .days"),
this.$hours = document.querySelector(".tournament_timer .hours"),
this.$minutes = document.querySelector(".tournament_timer .minutes"),
this.$seconds = document.querySelector(".tournament_timer .seconds"),
this.$timeToEnd = document.querySelectorAll(".time-to-end"),
this.$headerLink = document.querySelector(".tournament_header-link"),
this.$headerLinkWrapper = document.querySelector(".tournament-link"),
this.$headerTimer = document.querySelector(".tournament_header-timer"),
this.$gameWrapper = document.querySelector("#sudoku-wrapper"),
this.$stats = document.querySelector(".tournament-stats"),
this.$ts = document.querySelector("#tournament-ts"),
this.$place = document.querySelector("#tournament-place"),
this.$winPopup = document.querySelector(".tournament_popup"),
this.$winPopupBtn = document.querySelector(".tournament_popup_btn"),
this.$finishMedal = document.querySelector("#finish-medal"),
this.$widget = document.querySelector(".tournament-stats_widget"),
this.$finishMedal && (this.$finishMedal.onload = function() {
Object(d.a)(s.$finishMedal).add("active")
}
),
h.a.subscribe(u.f.sendGameResult, this.sendGameResult.bind(this)),
this.$winPopupBtn && this.$winPopupBtn.addEventListener("click", function() {
s.$winPopup && (Object(d.a)(s.$body).remove("overflow"),
Object(d.a)(s.$winPopup).remove("open"))
}),
this.loadData(),
"visible" === document.visibilityState && (this.updateInterval = setInterval(function() {
s.loadData()
}, 3e5)),
document.addEventListener("visibilitychange", function() {
"visible" === document.visibilityState ? s.updateInterval = setInterval(function() {
s.loadData()
}, 3e5) : clearInterval(s.updateInterval)
}),
document.addEventListener("visibility-visible", function() {
s.initByData()
}),
document.addEventListener("visibility-hidden", function() {
clearInterval(s.interval)
}),
window.addEventListener("resize", this.resizeHandler.bind(this))
}
return t.prototype.resizeHandler = function() {
this.$winPopup && (!(window.deviceType !== u.c.phone && window.matchMedia("(min-width: 768px)").matches) && Object(d.a)(this.$winPopup).contains("open") ? Object(d.a)(this.$body).add("overflow") : Object(d.a)(this.$body).remove("overflow"))
}
,
t.prototype.loadData = function() {
var t = Date.now() / 1e3;
!this.storage.data && !this.storage.errorUpdateTime || this.storage.updateTime && t >= this.storage.updateTime || this.storage.errorUpdateTime && t >= this.storage.errorUpdateTime || this.isClickUpdate && (!this.storage.lastForceUpdate || t - this.storage.lastForceUpdate > 10) ? this.sync(this.isClickUpdate && (!this.storage.lastForceUpdate || t - this.storage.lastForceUpdate > 10) ? "click" : null) : this.initByData()
}
,
t.prototype.sendGameResult = function(t) {
var e, n, i, r, o, a, s, c, u, l = t.game, h = t.event;
return v(this, void 0, void 0, function() {
var t;
return g(this, function(m) {
switch (m.label) {
case 0:
return this.$widget && Object(d.a)(this.$widget).remove("triangle-bottom").remove("triangle-top"),
this.$stats && Object(d.a)(this.$stats).remove("active"),
t = this.place,
this.storage.games = y(y([], this.storage.games, !0), [l], !1),
[4, this.sync("game")];
case 1:
return m.sent() || this.saveCurrentConfig(),
"running" !== (null === (n = null === (e = this.storage.data) || void 0 === e ? void 0 : e.tournament) || void 0 === n ? void 0 : n.status) && (Object(f.a)("g_game_finish", h),
p.a.send("g_game_finish", h, !0)),
this.$stats && "running" === (null === (r = null === (i = this.storage.data) || void 0 === i ? void 0 : i.tournament) || void 0 === r ? void 0 : r.status) && !(null === (s = null === (a = null === (o = this.storage.data) || void 0 === o ? void 0 : o.tournament) || void 0 === a ? void 0 : a.info) || void 0 === s ? void 0 : s.is_silent) && (Object(d.a)(this.$stats).add("active"),
this.$ts && (this.$ts.innerText = String(this.score.find(function(t) {
return t.p
}).ts)),
this.$place && (this.$place.innerText = String(this.place)),
t !== this.place && this.$widget && Object(d.a)(this.$widget).add(t > this.place ? "triangle-top" : "triangle-bottom")),
this.calculateUserData(),
h.place = this.place,
"running" === (null === (u = null === (c = this.storage.data) || void 0 === c ? void 0 : c.tournament) || void 0 === u ? void 0 : u.status) && (Object(f.a)("g_game_finish", h),
p.a.send("g_game_finish", h, !0)),
[2]
}
})
})
}
,
t.prototype.renderTimers = function() {
var t, e = this.timer < 0 ? 0 : this.timer, n = null === (t = this.storage.data) || void 0 === t ? void 0 : t.tournament, i = (n.info,
n.status), r = Object(l.i)(e);
if ("running" === i) {
var o = "";
o = 0 === r.d && 0 === r.h ? (window.translations.tournamentsMinutesTimer || "{minutes}m {seconds}s").replace("{minutes}", ("0" + r.m).slice(-2).split("").map(function(t) {
return "" + t + ""
}).join("")).replace("{seconds}", ("0" + r.s).slice(-2).split("").map(function(t) {
return "" + t + ""
}).join("")) : 0 === r.d && r.h > 0 ? (window.translations.tournamentsHoursTimer || "{hours}h {minutes}m").replace("{hours}", ("0" + r.h).slice(-2).split("").map(function(t) {
return "" + t + ""
}).join("")).replace("{minutes}", ("0" + r.m).slice(-2).split("").map(function(t) {
return "" + t + ""
}).join("")) : (window.translations.tournamentsDaysTimer || "{days}d {hours}h").replace("{days}", ("0" + r.d).slice(-2).split("").map(function(t) {
return "" + t + ""
}).join("")).replace("{hours}", ("0" + r.h).slice(-2).split("").map(function(t) {
return "" + t + ""
}).join("")),
this.$timeToEnd.forEach(function(t) {
return t.innerHTML = o
}),
this.$headerTimer && (this.$headerTimer.innerHTML = o)
} else
this.$days && (this.$days.innerHTML = ("0" + r.d).slice(-2).split("").map(function(t) {
return "" + t + ""
}).join("")),
this.$hours && (this.$hours.innerHTML = ("0" + r.h).slice(-2).split("").map(function(t) {
return "" + t + ""
}).join("")),
this.$minutes && (this.$minutes.innerHTML = ("0" + r.m).slice(-2).split("").map(function(t) {
return "" + t + ""
}).join("")),
this.$seconds && (this.$seconds.innerHTML = ("0" + r.s).slice(-2).split("").map(function(t) {
return "" + t + ""
}).join(""))
}
,
t.prototype.startTimer = function() {
var t = this;
clearInterval(this.interval),
this.renderTimers(),
this.interval = setInterval(function() {
t.timer > 0 && t.timer--,
t.renderTimers(),
t.timer <= 0 && (clearInterval(t.interval),
t.sync())
}, 1e3)
}
,
t.prototype.showLeaderBoard = function() {
var t, e = this;
if (this.$wrapper && (Object(d.a)(this.$wrapper).remove(w).add(S),
(null === (t = this.storage.data) || void 0 === t ? void 0 : t.tournament) && this.$leaderboard && this.score.length && (this.$leaderboard.innerHTML = "",
this.score.forEach(function(t, n) {
var i = document.createElement("div");
Object(d.a)(i).add("leaderboard-item_index"),
i.innerText = String(n + 1);
var r = document.createElement("div");
Object(d.a)(r).add("leaderboard-item"),
r.appendChild(i),
t.p && Object(d.a)(r).add("me");
var o = document.createElement("div");
Object(d.a)(o).add("leaderboard-item_score"),
o.innerHTML = '
' + (t.p ? "ME" : t.u) + '
' + t.ts + "
",
r.appendChild(o),
e.$leaderboard.append(r)
}),
!this.leaderboardLoaded))) {
var n = this.$leaderboard.querySelector(".leaderboard-item.me");
n && this.place > 5 && (this.$leaderboard.scrollTop = n.offsetTop - 45 < 0 ? 0 : n.offsetTop - 45),
this.leaderboardLoaded = !0
}
}
,
t.prototype.calculateUserData = function() {
var t, e;
if (null === (t = this.storage.data) || void 0 === t ? void 0 : t.tournament) {
var n = null === (e = this.storage.data) || void 0 === e ? void 0 : e.tournament
, i = n.scores;
"running" === n.status ? (this.score = i.sort(function(t, e) {
return e.ts - t.ts
}),
this.place = this.score.findIndex(function(t) {
return t.p
}) + 1) : (this.score = [],
this.place = 1)
}
}
,
t.prototype.initByData = function() {
var t, e, n, i, r, o, a, s, c, l, h, m, y, b;
return v(this, void 0, void 0, function() {
var v, A, _, x, O, T, E, k, I, C, R, L, D, j, M, P;
return g(this, function(g) {
switch (g.label) {
case 0:
return this.$headerLink && (Object(d.a)(this.$headerLink).remove("showed"),
Object(d.a)(this.$headerLinkWrapper).remove("showed")),
null !== (t = this.storage.data) && void 0 !== t && t.tournament_result && "completed" === (null === (n = null === (e = this.storage.data) || void 0 === e ? void 0 : e.tournament_result) || void 0 === n ? void 0 : n.status) ? (v = null === (i = this.storage.data) || void 0 === i ? void 0 : i.tournament_result,
A = v.scores,
_ = v.uuid,
x = v.achievements,
O = A.sort(function(t, e) {
return e.ts - t.ts
}),
T = O.findIndex(function(t) {
return t.p
}) + 1,
E = O[T - 1].ts,
k = x && x.length ? x[0] : null,
this.$finishMedal && (Object(d.a)(this.$finishMedal).remove("win-medal").remove("active"),
this.$finishMedal.removeAttribute("src"),
this.$finishMedal.removeAttribute("srcset")),
k && k.award && !k.is_silent ? (this.awards.addAward(k.award, Math.floor(Date.now() / 1e3)),
[4, this.awards.getAwards()]) : [3, 2]) : [3, 4];
case 1:
return I = g.sent(),
C = null === (r = I.find(function(t) {
return t.award_id === k.award
})) || void 0 === r ? void 0 : r.url,
this.$finishMedal && (C && Object(d.a)(this.$finishMedal).add("win-medal"),
this.$finishMedal.setAttribute("src", C || "/img/img-tournament-completed.png"),
this.$finishMedal.setAttribute("srcset", C ? C + " 1x, " + C + " 2x" : "/img/img-tournament-completed.png 1x, /img/img-tournament-completed@2x.png 2x")),
(null === (a = null === (o = this.storage.data) || void 0 === o ? void 0 : o.tournament_result) || void 0 === a ? void 0 : a.is_silent) || (null === (s = this.storage.data) || void 0 === s ? void 0 : s.tournament_result.sent) || window.notification.add("tournaments"),
[3, 3];
case 2:
this.$finishMedal && (this.$finishMedal.setAttribute("src", "/img/img-tournament-completed.png"),
this.$finishMedal.setAttribute("srcset", "/img/img-tournament-completed.png 1x, /img/img-tournament-completed@2x.png 2x")),
g.label = 3;
case 3:
(null === (c = this.storage.data) || void 0 === c ? void 0 : c.tournament_result.sent) || (R = {
id: _,
place: T,
points: E,
award: x && x.length ? x[0].medal : ""
},
window.isShowAnalytics && (Object(f.a)("tournaments_finish", R),
p.a.send("tournaments_finish", R)),
this.storage.data.tournament_result.sent = !0,
this.saveCurrentConfig()),
!this.$winPopup || (null === (h = null === (l = this.storage.data) || void 0 === l ? void 0 : l.tournament_result) || void 0 === h ? void 0 : h.is_silent) || (null === (m = this.storage.data) || void 0 === m ? void 0 : m.tournament_result.showed) || (window.deviceType !== u.c.phone && window.matchMedia("(min-width: 768px)").matches || Object(d.a)(this.$body).add("overflow"),
Object(d.a)(this.$winPopup).add(x && x.length ? "show-win-text" : "show-lose-text").add("open"),
this.storage.data.tournament_result.showed = !0,
this.saveCurrentConfig()),
g.label = 4;
case 4:
return this.$gameWrapper && Object(d.a)(this.$gameWrapper).add("wide-winscreen"),
(null === (y = this.storage.data) || void 0 === y ? void 0 : y.tournament) ? (this.calculateUserData(),
L = null === (b = this.storage.data) || void 0 === b ? void 0 : b.tournament,
D = L.info,
j = L.status,
M = L.inited,
P = L.uuid,
this.timer = ("running" !== j ? D.start_time : D.end_time) - Date.now() / 1e3,
this.startTimer(),
"running" === j ? (this.$headerLink && Object(d.a)(this.$headerLink).add("showed"),
this.$headerTimer && Object(d.a)(this.$headerLinkWrapper).add("showed"),
this.showLeaderBoard()) : this.$wrapper && Object(d.a)(this.$wrapper).remove(S).add(w),
this.$wrapper && Object(d.a)(this.$wrapper).remove("loading"),
!M && window.isShowAnalytics && "running" === j && (Object(f.a)("tournaments_new", {
id: P
}),
p.a.send("tournaments_new", {
id: P
}),
this.storage.data.tournament.inited = !0,
this.saveCurrentConfig()),
[2]) : [2]
}
})
})
}
,
t.prototype.saveCurrentConfig = function() {
i.a && localStorage.setItem(c.b.TOURNAMENT, JSON.stringify(this.storage))
}
,
t.prototype.sync = function(t) {
var e, n, i, r, a, c, u, h, f, p, y, b, w, S, _, x, O, T, E, k, I, C, R, L, D, j, M, P, B, N, G, H, F, q, z, W, U, V, $, Y;
return v(this, void 0, void 0, function() {
var v, K, J, Z, X, Q, tt, et, nt, it, rt, ot, at, st, ct, ut, lt, dt, ht;
return g(this, function(g) {
switch (g.label) {
case 0:
if (!this.euid || !this.domain || !this.eaid)
return [2];
this.$wrapper && Object(d.a)(this.$wrapper).add("loading"),
v = Date.now() / 1e3,
this.storage.lastForceUpdate = v,
this.saveCurrentConfig(),
K = JSON.stringify(m(m({}, this.timezone !== (null === (e = this.storage) || void 0 === e ? void 0 : e.timezone) ? {
timezone: this.timezone
} : {}), this.storage.games && this.storage.games.length ? {
games: this.storage.games
} : {})),
J = o()("" + this.storage.state + K + this.euid + "D00-EJH@*(N3sd" + this.eaid),
"string" != typeof (Z = J) && (Z = J.toString(s.a)),
t && (this.isClickUpdate = !1),
X = this.storage.games && this.storage.games.length ? "game" : null,
Q = t || X,
tt = window.abGroups || {},
et = Object.values(tt).join(","),
g.label = 1;
case 1:
return g.trys.push([1, 4, , 5]),
[4, fetch(this.domain + "/2.0", {
method: "POST",
headers: m(m({
"x-easy-eaid": String(this.eaid),
"x-easy-euid": String(this.euid),
"x-easy-hash": Z,
"x-easy-state": this.storage.state,
"Content-Type": "application/json",
"Accept-Encoding": "gzip, deflate",
"x-easy-version": "1.0.0"
}, et ? {
"x-easy-ab": et
} : {}), Q ? {
"x-easy-action": Q
} : {}),
body: K
})];
case 2:
return nt = g.sent(),
[0, 502, 504].includes(nt.status) ? (this.storage.countErrors = (null !== (n = this.storage.countErrors) && void 0 !== n ? n : 0) + 1,
it = A[Math.min(this.storage.countErrors - 1, A.length - 1)],
this.storage.errorUpdateTime = Date.now() / 1e3 + 60 * Object(l.r)(it[0], it[1]),
this.initByData(),
this.saveCurrentConfig(),
[2, null]) : [4, nt.json()];
case 3:
return rt = g.sent(),
ot = Date.now() / 1e3,
at = parseInt(nt.headers.get("x-easy-time")) || ot,
st = parseInt(nt.headers.get("x-easy-update-time")) || ot + 60 * Object(l.r)(300, 360),
delete this.storage.errorUpdateTime,
delete this.storage.countErrors,
this.storage.state = null !== (i = nt.headers.get("x-easy-state")) && void 0 !== i ? i : "",
this.storage.timezone = this.timezone,
this.storage.updateTime = Date.now() + (st - at),
ct = (!rt.tournament_result || "completed" !== rt.tournament_result.status || (null === (r = rt.tournament_result) || void 0 === r ? void 0 : r.uuid) === (null === (c = null === (a = this.storage.data) || void 0 === a ? void 0 : a.tournament_result) || void 0 === c ? void 0 : c.uuid)) && (null === (h = null === (u = this.storage.data) || void 0 === u ? void 0 : u.tournament_result) || void 0 === h ? void 0 : h.sent),
ut = (!rt.tournament_result || (null === (f = rt.tournament_result) || void 0 === f ? void 0 : f.uuid) === (null === (y = null === (p = this.storage.data) || void 0 === p ? void 0 : p.tournament_result) || void 0 === y ? void 0 : y.uuid)) && (null === (w = null === (b = this.storage.data) || void 0 === b ? void 0 : b.tournament_result) || void 0 === w ? void 0 : w.showed),
lt = (!rt.tournament || (null === (S = rt.tournament) || void 0 === S ? void 0 : S.uuid) === (null === (x = null === (_ = this.storage.data) || void 0 === _ ? void 0 : _.tournament) || void 0 === x ? void 0 : x.uuid)) && (null === (T = null === (O = this.storage.data) || void 0 === O ? void 0 : O.tournament) || void 0 === T ? void 0 : T.inited),
dt = !(!rt.tournament_result || (null === (k = null === (E = this.storage.data) || void 0 === E ? void 0 : E.tournament) || void 0 === k ? void 0 : k.uuid) !== (null === (I = rt.tournament_result) || void 0 === I ? void 0 : I.uuid)) && (null === (L = null === (R = null === (C = this.storage.data) || void 0 === C ? void 0 : C.tournament) || void 0 === R ? void 0 : R.info) || void 0 === L ? void 0 : L.is_silent),
this.storage.data = m(m({
username: null !== (D = rt.username || this.storage.data.username) && void 0 !== D ? D : "",
achievements: rt.achievements || this.storage.data.achievements || [],
application: rt.application || this.storage.data.application || {}
}, rt.tournament || (null === (j = this.storage.data) || void 0 === j ? void 0 : j.tournament) ? {
tournament: m(m(m({}, (null === (M = this.storage.data) || void 0 === M ? void 0 : M.tournament) || {}), rt.tournament || {}), {
info: m(m({}, (null === (B = null === (P = this.storage.data) || void 0 === P ? void 0 : P.tournament) || void 0 === B ? void 0 : B.info) || {}), (null === (N = rt.tournament) || void 0 === N ? void 0 : N.info) || {}),
inited: lt
})
} : {}), rt.tournament_result || (null === (G = this.storage.data) || void 0 === G ? void 0 : G.tournament_result) ? {
tournament_result: m(m(m({}, (null === (H = this.storage.data) || void 0 === H ? void 0 : H.tournament_result) || {}), rt.tournament_result || {}), {
sent: ct,
showed: ut,
achievements: (null === (F = rt.tournament_result) || void 0 === F ? void 0 : F.achievements) ? null === (q = rt.tournament_result) || void 0 === q ? void 0 : q.achievements : null,
is_silent: dt
})
} : {}),
this.storage.games = [],
this.storage.lastForceUpdate = ot,
!rt.tournament && (null === (W = null === (z = this.storage.data) || void 0 === z ? void 0 : z.tournament_result) || void 0 === W ? void 0 : W.uuid) && (null === (V = null === (U = this.storage.data) || void 0 === U ? void 0 : U.tournament_result) || void 0 === V ? void 0 : V.uuid) === (null === (Y = null === ($ = this.storage.data) || void 0 === $ ? void 0 : $.tournament) || void 0 === Y ? void 0 : Y.uuid) && delete this.storage.data.tournament,
this.saveCurrentConfig(),
this.initByData(),
[2, !0];
case 4:
return ht = g.sent(),
console.warn(ht),
[2, null];
case 5:
return [2]
}
})
})
}
,
t
}()
},
BTho: function(t, e, n) {
"use strict";
var i = n("2oRo")
, r = n("4zBA")
, o = n("We1y")
, a = n("hh1v")
, s = n("Gi26")
, c = n("82ph")
, u = n("QNWe")
, l = i.Function
, d = r([].concat)
, h = r([].join)
, f = {};
t.exports = u ? l.bind : function(t) {
var e = o(this)
, n = e.prototype
, i = c(arguments, 1)
, r = function() {
var n = d(i, c(arguments));
return this instanceof r ? function(t, e, n) {
if (!s(f, e)) {
for (var i = [], r = 0; r < e; r++)
i[r] = "a[" + r + "]";
f[e] = l("C,a", "return new C(" + h(i, ",") + ")")
}
return f[e](t, n)
}(e, n.length, n) : e.apply(t, n)
};
return a(n) && (r.prototype = n),
r
}
},
"BX/b": function(t, e, n) {
var i = n("xrYK")
, r = n("/GqU")
, o = n("JBy8").f
, a = n("Ta7t")
, s = "object" == typeof window && window && Object.getOwnPropertyNames ? Object.getOwnPropertyNames(window) : [];
t.exports.f = function(t) {
return s && "Window" == i(t) ? function(t) {
try {
return o(t)
} catch (t) {
return a(s)
}
}(t) : o(r(t))
}
},
Bs8V: function(t, e, n) {
var i = n("g6v/")
, r = n("xluM")
, o = n("0eef")
, a = n("XGwC")
, s = n("/GqU")
, c = n("oEtG")
, u = n("Gi26")
, l = n("DPsx")
, d = Object.getOwnPropertyDescriptor;
e.f = i ? d : function(t, e) {
if (t = s(t),
e = c(e),
l)
try {
return d(t, e)
} catch (t) {}
if (u(t, e))
return a(!r(o.f, t, e), t[e])
}
},
C0Ia: function(t, e, n) {
var i = n("2oRo")
, r = n("6LWA")
, o = n("aO6C")
, a = n("hh1v")
, s = n("tiKp")("species")
, c = i.Array;
t.exports = function(t) {
var e;
return r(t) && (e = t.constructor,
o(e) && (e === c || r(e.prototype)) ? e = void 0 : a(e) && null === (e = e[s]) && (e = void 0)),
void 0 === e ? c : e
}
},
"CQ/T": function(t, e, n) {
"use strict";
n.d(e, "a", function() {
return u
});
var i = n("kFz4")
, r = n("Vl5E")
, o = n("KxHI")
, a = {
NATIVE_IMPRESSION: "ad_native_impression",
NATIVE_FAIL: "ad_native_failed",
NATIVE_CLOSED: "ad_native_closed",
NATIVE_READY: "ad_native_cached",
NATIVE_REQUEST: "ad_native_request"
}
, s = (n("EVBy"),
function() {
return (s = Object.assign || function(t) {
for (var e, n = 1, i = arguments.length; n < i; n++)
for (var r in e = arguments[n])
Object.prototype.hasOwnProperty.call(e, r) && (t[r] = e[r]);
return t
}
).apply(this, arguments)
}
)
, c = "6612b6ee7dfbffe42f66d90b"
, u = function() {
return function() {
var t, e, n, u = this, l = (null === (n = null === (e = null === (t = null === window || void 0 === window ? void 0 : window.eb) || void 0 === t ? void 0 : t.userProfile) || void 0 === e ? void 0 : e.device) || void 0 === n ? void 0 : n.type) !== o.c.desktop;
this.baseEventData = {
placement: l ? "under_game" : "flying_down",
service_name: o.l.vidazoo
},
this.countAdRequests = 0,
window.onVidazooWidgetCreated = function(t) {
t.on("adImpression", function(t, e) {
var n, o = s({
ad_serving_fee: e.adServingFee,
demand_type: e.demandType,
net_cpm: e.netCpm,
ad_type: e.adType,
bidder_code: e.bidderCode,
tag_id: e.tagId,
demand_partner_id: e.demandPartnerId,
widget_id: c
}, u.baseEventData);
Object(r.a)(a.NATIVE_IMPRESSION, o),
i.a.send(a.NATIVE_IMPRESSION, o),
u.countAdRequests = 0,
window.vidazooFloatAds = document.querySelector('[data-view="slider"]'),
window.cookieBanner && ((null === (n = null === window || void 0 === window ? void 0 : window.eb) || void 0 === n ? void 0 : n.settings.use_cmp) ? window.cookieBanner.view.updateConsentPaddingCMP() : window.cookieBanner.updateConsentHeight())
}),
t.on("closeClick", function() {
Object(r.a)(a.NATIVE_CLOSED, u.baseEventData),
i.a.send(a.NATIVE_CLOSED, u.baseEventData)
}),
t.on("adFinish", function() {
Object(r.a)(a.NATIVE_CLOSED, u.baseEventData),
i.a.send(a.NATIVE_CLOSED, u.baseEventData)
}),
t.on("adRequest", function() {
var t;
0 !== u.countAdRequests && u.countAdRequests % 25 != 0 || (Object(r.a)(a.NATIVE_REQUEST, u.baseEventData),
i.a.send(a.NATIVE_REQUEST, u.baseEventData),
window.vidazooFloatAds = document.querySelector('[data-view="slider"]'),
window.cookieBanner && ((null === (t = null === window || void 0 === window ? void 0 : window.eb) || void 0 === t ? void 0 : t.settings.use_cmp) ? window.cookieBanner.view.updateConsentPaddingCMP() : window.cookieBanner.updateConsentHeight())),
u.countAdRequests++
}),
t.on("adError", function() {
Object(r.a)(a.NATIVE_FAIL, u.baseEventData),
i.a.send(a.NATIVE_FAIL, u.baseEventData)
})
}
}
}()
},
CyXQ: function(t, e, n) {
var i = n("2oRo")
, r = n("WSbT")
, o = n("UMSQ")
, a = i.RangeError;
t.exports = function(t) {
if (void 0 === t)
return 0;
var e = r(t)
, n = o(e);
if (e !== n)
throw a("Wrong length or index");
return n
}
},
DEfu: function(t, e, n) {
var i = n("2oRo");
n("1E5z")(i.JSON, "JSON", !0)
},
DLK6: function(t, e, n) {
var i = n("4zBA")
, r = n("ewvW")
, o = Math.floor
, a = i("".charAt)
, s = i("".replace)
, c = i("".slice)
, u = /\$([$&'`]|\d{1,2}|<[^>]*>)/g
, l = /\$([$&'`]|\d{1,2})/g;
t.exports = function(t, e, n, i, d, h) {
var f = n + t.length
, p = i.length
, m = l;
return void 0 !== d && (d = r(d),
m = u),
s(h, m, function(r, s) {
var u;
switch (a(s, 0)) {
case "$":
return "$";
case "&":
return t;
case "`":
return c(e, 0, n);
case "'":
return c(e, f);
case "<":
u = d[c(s, 1, -1)];
break;
default:
var l = +s;
if (0 === l)
return r;
if (l > p) {
var h = o(l / 10);
return 0 === h ? r : h <= p ? void 0 === i[h - 1] ? a(s, 1) : i[h - 1] + a(s, 1) : r
}
u = i[l - 1]
}
return void 0 === u ? "" : u
})
}
},
DMt2: function(t, e, n) {
var i = n("4zBA")
, r = n("UMSQ")
, o = n("V37c")
, a = n("EUja")
, s = n("HYAF")
, c = i(a)
, u = i("".slice)
, l = Math.ceil
, d = function(t) {
return function(e, n, i) {
var a, d, h = o(s(e)), f = r(n), p = h.length, m = void 0 === i ? " " : o(i);
return f <= p || "" == m ? h : ((d = c(m, l((a = f - p) / m.length))).length > a && (d = u(d, 0, a)),
t ? h + d : d + h)
}
};
t.exports = {
start: d(!1),
end: d(!0)
}
},
DPsx: function(t, e, n) {
var i = n("g6v/")
, r = n("0Dky")
, o = n("zBJ4");
t.exports = !i && !r(function() {
return 7 != Object.defineProperty(o("div"), "a", {
get: function() {
return 7
}
}).a
})
},
DTth: function(t, e, n) {
var i = n("0Dky")
, r = n("tiKp")
, o = n("xDBR")
, a = r("iterator");
t.exports = !i(function() {
var t = new URL("b?a=1&b=2&c=3","http://a")
, e = t.searchParams
, n = "";
return t.pathname = "c%20d",
e.forEach(function(t, i) {
e.delete("b"),
n += i + t
}),
o && !t.toJSON || !e.sort || "http://a/c%20d?a=1&c=3" !== t.href || "3" !== e.get("c") || "a=1" !== String(new URLSearchParams("?a=1")) || !e[a] || "a" !== new URL("https://a@b").username || "b" !== new URLSearchParams(new URLSearchParams("a=b")).get("a") || "xn--e1aybc" !== new URL("http://тест").host || "#%D0%B1" !== new URL("http://a#б").hash || "a1c3" !== n || "x" !== new URL("http://x",void 0).host
})
},
DVFp: function(t, e, n) {
var i = n("2oRo").String;
t.exports = function(t) {
try {
return i(t)
} catch (t) {
return "Object"
}
}
},
DWIp: function(t, e, n) {
"use strict";
n.d(e, "a", function() {
return s
});
var i = n("6Ssv")
, r = n("qLbo")
, o = function(t, e, n, i) {
return new (n || (n = Promise))(function(r, o) {
function a(t) {
try {
c(i.next(t))
} catch (t) {
o(t)
}
}
function s(t) {
try {
c(i.throw(t))
} catch (t) {
o(t)
}
}
function c(t) {
var e;
t.done ? r(t.value) : (e = t.value,
e instanceof n ? e : new n(function(t) {
t(e)
}
)).then(a, s)
}
c((i = i.apply(t, e || [])).next())
}
)
}
, a = function(t, e) {
var n, i, r, o, a = {
label: 0,
sent: function() {
if (1 & r[0])
throw r[1];
return r[1]
},
trys: [],
ops: []
};
return o = {
next: s(0),
throw: s(1),
return: s(2)
},
"function" == typeof Symbol && (o[Symbol.iterator] = function() {
return this
}
),
o;
function s(o) {
return function(s) {
return function(o) {
if (n)
throw new TypeError("Generator is already executing.");
for (; a; )
try {
if (n = 1,
i && (r = 2 & o[0] ? i.return : o[0] ? i.throw || ((r = i.return) && r.call(i),
0) : i.next) && !(r = r.call(i, o[1])).done)
return r;
switch (i = 0,
r && (o = [2 & o[0], r.value]),
o[0]) {
case 0:
case 1:
r = o;
break;
case 4:
return a.label++,
{
value: o[1],
done: !1
};
case 5:
a.label++,
i = o[1],
o = [0];
continue;
case 7:
o = a.ops.pop(),
a.trys.pop();
continue;
default:
if (!(r = (r = a.trys).length > 0 && r[r.length - 1]) && (6 === o[0] || 2 === o[0])) {
a = 0;
continue
}
if (3 === o[0] && (!r || o[1] > r[0] && o[1] < r[3])) {
a.label = o[1];
break
}
if (6 === o[0] && a.label < r[1]) {
a.label = r[1],
r = o;
break
}
if (r && a.label < r[2]) {
a.label = r[2],
a.ops.push(o);
break
}
r[2] && a.ops.pop(),
a.trys.pop();
continue
}
o = e.call(t, a)
} catch (t) {
o = [6, t],
i = 0
} finally {
n = r = 0
}
if (5 & o[0])
throw o[1];
return {
value: o[0] ? o[1] : void 0,
done: !0
}
}([o, s])
}
}
}
, s = function() {
function t(t) {
var e, n, o, a;
this.domain = null === (n = null === (e = null === window || void 0 === window ? void 0 : window.eb) || void 0 === e ? void 0 : e.params) || void 0 === n ? void 0 : n.awardsHost,
this.eaid = null === (a = null === (o = null === window || void 0 === window ? void 0 : window.eb) || void 0 === o ? void 0 : o.params) || void 0 === a ? void 0 : a.eaid,
this.euid = t,
this.awardList = i.a && JSON.parse(localStorage.getItem(r.b.TOURNAMENT_AWARDS)) || {
awards: []
}
}
return t.prototype.addAward = function(t, e) {
return o(this, void 0, Promise, function() {
return a(this, function(n) {
return i.a ? (this.awardList.awards.some(function(e) {
return e.award_id === t
}) || (this.awardList.awards.push({
award_id: t,
claimed_at: e
}),
localStorage.setItem(r.b.TOURNAMENT_AWARDS, JSON.stringify(this.awardList))),
[2]) : [2]
})
})
}
,
t.prototype.getAwards = function() {
return o(this, void 0, Promise, function() {
var t, e, n, o, s, c = this;
return a(this, function(a) {
switch (a.label) {
case 0:
if (!this.domain || !this.eaid || !i.a)
return [2, this.resultAwards()];
if (t = {
"x-easy-eaid": String(this.eaid),
"Content-Type": "application/json"
},
null !== this.euid && (t["x-easy-euid"] = this.euid),
0 === (e = this.awardList.awards.filter(function(t) {
return !t.res
}).map(function(t) {
return t.award_id
})).length)
return [2, this.resultAwards()];
n = JSON.stringify({
content: e
}),
a.label = 1;
case 1:
return a.trys.push([1, 4, , 5]),
[4, fetch(this.domain + "/api/v1/awards", {
method: "POST",
headers: t,
body: n
})];
case 2:
return [4, a.sent().json()];
case 3:
return o = a.sent(),
console.log("AS resp: ", o),
this.awardList.cdn = o.cdn[0],
o.content.forEach(function(t) {
c.awardList.awards.forEach(function(e) {
e.award_id === t.meta.award_id && (e.res = t.res)
})
}),
o.content.length && localStorage.setItem(r.b.TOURNAMENT_AWARDS, JSON.stringify(this.awardList)),
[3, 5];
case 4:
return s = a.sent(),
console.warn("awards api", s),
[3, 5];
case 5:
return [2, this.resultAwards()]
}
})
})
}
,
t.prototype.resultAwards = function() {
var t = this;
return this.awardList.cdn ? this.awardList.awards.filter(function(t) {
return t.res && t.claimed_at
}).map(function(e) {
return {
url: t.awardList.cdn + e.res + "/thumbnail",
claimed_at: e.claimed_at,
award_id: e.award_id
}
}) : []
}
,
t
}()
},
DgpD: function(t, e, n) {
"use strict";
n.d(e, "a", function() {
return l
});
n("RrkX");
var i = n("J8vR")
, r = function() {
function t() {
this.dcDate = document.getElementById("dc-date"),
this.winDayDcText = document.querySelectorAll(".daily-win-day-text"),
this.winDcCupImage = document.querySelectorAll(".daily-win-cup-js-image"),
this.body = document.querySelector("body"),
this.bannerContainer = document.querySelector(".game-wrapper"),
this.banner = document.querySelector(".win-banner")
}
return t.prototype.getBannerSizes = function() {
var t = window.winSizes || [[300, 100], [300, 50], [300, 250], [320, 50]];
if (!this.bannerContainer)
return t;
var e = .5 * this.bannerContainer.clientHeight - 100
, n = this.bannerContainer.clientWidth - 10;
return t.filter(function(t) {
return t[1] <= e && t[0] <= n
})
}
,
t.prototype.toggleShowBanner = function(t) {
this.banner && (t ? Object(i.a)(this.banner).remove("hide") : Object(i.a)(this.banner).add("hide"))
}
,
t
}()
, o = function() {
return function() {}
}()
, a = n("KxHI")
, s = n("zhTc")
, c = n("Om6b")
, u = n("Q/5a")
, l = function() {
function t() {
this.view = new r,
this.model = new o,
this.adConfig = {
blockId: "div-gpt-ad-1692016563318-0",
path: "/21796148150/phone_banner_winscreen_web",
sizes: [[300, 100], [300, 50], [300, 250], [320, 50]]
},
s.a.state.mode === a.j.daily && this.prepareDcMode(),
u.a.subscribe(a.f.showWinScreenBanner, this.createBanner.bind(this)),
window.addEventListener("resize", this.handleResizeWinScreen.bind(this))
}
return t.prototype.handleResizeWinScreen = function() {
if (this.banner && !window.useRiseAuctionWrapper) {
var t = this.view.getBannerSizes().join(";");
clearTimeout(this.bannerDestroyTimer),
this.bannerDestroyTimer = null,
this.view.toggleShowBanner(!0),
t !== this.adConfig.sizes.join(";") && (this.view.toggleShowBanner(!1),
this.destroyBanner(!1, !0))
}
}
,
t.prototype.createBanner = function() {
var t = this;
if (clearTimeout(this.bannerDestroyTimer),
this.bannerDestroyTimer = null,
this.view.banner = document.querySelector(".sudoku-wrapper.wide-winscreen .new-winscreen .win-banner, .sudoku-wrapper:not(.wide-winscreen) .win-overlay .win-banner"),
this.view.banner && !this.view.banner.childNodes.length) {
var e = document.createElement("div");
e.id = "div-gpt-ad-1692016563318-0",
Object(i.a)(e).add("win-banner_gpt"),
e.style.minWidth = "300px",
e.style.minHeight = "50px",
this.view.banner.appendChild(e)
}
var n = this.view.getBannerSizes();
this.view.toggleShowBanner(!0),
!this.banner && window.googletag && n.length && (this.adConfig.sizes = n,
window.useRiseAuctionWrapper ? (this.banner = !0,
u.a.emit(a.f.requestNewBanner, this.adConfig)) : googletag.cmd.push(function() {
t.banner = window.googletag.defineSlot(t.adConfig.path, t.adConfig.sizes, t.adConfig.blockId),
t.banner.addService(googletag.pubads()),
googletag.pubads().enableSingleRequest(),
googletag.pubads().collapseEmptyDivs(),
googletag.enableServices(),
u.a.emit(a.f.requestNewBanner, {
banner: t.banner,
config: t.adConfig
})
}))
}
,
t.prototype.destroyBanner = function(t, e) {
var n = this;
window.googletag && (this.banner ? this.bannerDestroyTimer = setTimeout(function() {
googletag.cmd.push(function() {
googletag.destroySlots([n.banner]),
n.banner = null,
u.a.emit(a.f.removeNewBanner, n.adConfig),
e && n.createBanner()
})
}, t ? 0 : 3e3) : e && this.createBanner())
}
,
t.prototype.prepareDcMode = function() {
var t = s.a.state.date.split("_").map(function(t) {
return parseInt(t)
})
, e = t[0]
, n = t[1]
, i = t[2]
, r = Object(c.k)(s.a.state.dateTranslations[n], i, e, "DATE");
this.view.dcDate.innerText = r,
this.view.winDayDcText.forEach(function(t) {
return t.innerText = t.innerText.replace("{0}", r)
}),
this.view.winDcCupImage.forEach(function(t) {
t.setAttribute("src", "/img/cups/cup_" + n + "_done.png"),
t.setAttribute("srcset", "/img/cups/cup_" + n + "_done.png 1x, /img/cups/cup_" + n + "_done@2x.png 2x")
})
}
,
t
}()
},
E9XD: function(t, e, n) {
"use strict";
var i = n("I+eb")
, r = n("1Y/n").left
, o = n("pkCn")
, a = n("LQDL")
, s = n("YF1G");
i({
target: "Array",
proto: !0,
forced: !o("reduce") || !s && a > 79 && a < 83
}, {
reduce: function(t) {
var e = arguments.length;
return r(this, t, e, e > 1 ? arguments[1] : void 0)
}
})
},
EHx7: function(t, e, n) {
var i = n("0Dky")
, r = n("2oRo").RegExp;
t.exports = i(function() {
var t = r("(?b)", "g");
return "b" !== t.exec("b").groups.a || "bc" !== "b".replace(t, "$c")
})
},
ELuu: function(t, e, n) {
"use strict";
var i, r, o;
n.d(e, "e", function() {
return i
}),
n.d(e, "a", function() {
return r
}),
n.d(e, "d", function() {
return o
}),
n.d(e, "b", function() {
return a
}),
n.d(e, "c", function() {
return s
}),
function(t) {
t.setSettings = "setSettings",
t.setAutoCheck = "setAutoCheck",
t.prepareBoard = "prepareBoard",
t.hideMessageTip = "hideMessageTip",
t.updateBoard = "updateBoard",
t.setSelected = "setSelected",
t.hideMessage = "hideMessage",
t.setGameLoaded = "setGameLoaded",
t.setShowWinRate = "setShowWinRate",
t.setBoardValue = "setBoardValue",
t.setBoardNote = "setBoardNote",
t.setBoardValues = "setBoardValues",
t.setBoardNotes = "setBoardNotes",
t.validateBoard = "validateBoard",
t.setCoords = "setCoords",
t.setNotesMode = "setNotesMode",
t.removeConflictNotes = "removeConflictNotes",
t.addUserAction = "addUserAction",
t.addHistoryAction = "addHistoryAction",
t.setUserAction = "setUserAction",
t.setHistoryActions = "setHistoryActions",
t.setCurrentCellNotes = "setCurrentCellNotes",
t.setPaused = "setPaused",
t.setGeneratedCages = "setGeneratedCages",
t.animateBoard = "animateBoard",
t.setFinished = "setFinished",
t.setAnimatedCells = "setAnimatedCells",
t.prepareEvent = "prepareEvent",
t.setDifficulty = "setDifficulty",
t.setMode = "setMode",
t.checkSavedGame = "checkSavedGame",
t.setHideSavedGameDialog = "setHideSavedGameDialog",
t.updateTimer = "updateTimer",
t.cheatSolve = "cheatSolve",
t.setShowMonthWinScreen = "setShowMonthWinScreen",
t.setShowSavedPopup = "setShowSavedPopup",
t.requestNewContent = "requestNewContent",
t.restartGame = "restartGame",
t.setAutoPaused = "setAutoPaused",
t.setImaAdsPlayed = "setImaAdsPlayed",
t.updateCountHints = "updateCountHints",
t.addFreeHints = "addFreeHints",
t.useHint = "useHint",
t.addMistake = "addMistake",
t.minusMistake = "minusMistake",
t.changeShowGameOver = "changeShowGameOver",
t.setGameOver = "setGameOver",
t.makeHint = "makeHint",
t.setHideLostProgress = "setHideLostProgress",
t.setShowPopupLostProgress = "setShowPopupLostProgress",
t.setShowPromoBubbles = "setShowPromoBubbles",
t.setPromoBubbles = "setPromoBubbles",
t.makeHintToCell = "makeHintToCell",
t.changeSmartHint = "changeSmartHint",
t.changeCountSmartHints = "changeCountSmartHints",
t.updateCountWins = "updateCountWins",
t.showInterInProgressByHint = "showInterInProgressByHint",
t.changeCanShowInter = "changeCanShowInter",
t.clearAll = "clearAll",
t.increaseUndos = "increaseUndos",
t.increaseMistakes = "increaseMistakes",
t.increaseErases = "increaseErases",
t.addScore = "addScore",
t.addScoreHistoryItem = "addScoreHistoryItem",
t.updateScoreBaseValue = "updateScoreBaseValue"
}(i || (i = {})),
function(t) {
t.undo = "undo",
t.move = "move",
t.select = "select",
t.note = "note",
t.value = "value",
t.hint = "hint",
t.erase = "erase"
}(r || (r = {})),
function(t) {
t.resting = "resting",
t.action = "action",
t.mutation = "mutation"
}(o || (o = {}));
var a = {
COUNT_HINTS: 3,
COUNT_MISTAKES: 3
}
, s = {
easy: {
base: 50,
min: 5,
step: 5,
time: 5
},
medium: {
base: 150,
min: 15,
step: 15,
time: 5
},
hard: {
base: 210,
min: 21,
step: 21,
time: 5
},
expert: {
base: 230,
min: 23,
step: 23,
time: 5
},
evil: {
base: 250,
min: 25,
step: 25,
time: 5
},
extreme: {
base: 250,
min: 25,
step: 25,
time: 5
}
}
},
ENF9: function(t, e, n) {
"use strict";
var i, r = n("2oRo"), o = n("4zBA"), a = n("4syw"), s = n("8YOa"), c = n("bWFh"), u = n("rKzb"), l = n("hh1v"), d = n("T63f"), h = n("afO8").enforce, f = n("f5p1"), p = !r.ActiveXObject && "ActiveXObject"in r, m = function(t) {
return function() {
return t(this, arguments.length ? arguments[0] : void 0)
}
}, v = c("WeakMap", m, u);
if (f && p) {
i = u.getConstructor(m, "WeakMap", !0),
s.enable();
var g = v.prototype
, y = o(g.delete)
, b = o(g.has)
, w = o(g.get)
, S = o(g.set);
a(g, {
delete: function(t) {
if (l(t) && !d(t)) {
var e = h(this);
return e.frozen || (e.frozen = new i),
y(this, t) || e.frozen.delete(t)
}
return y(this, t)
},
has: function(t) {
if (l(t) && !d(t)) {
var e = h(this);
return e.frozen || (e.frozen = new i),
b(this, t) || e.frozen.has(t)
}
return b(this, t)
},
get: function(t) {
if (l(t) && !d(t)) {
var e = h(this);
return e.frozen || (e.frozen = new i),
b(this, t) ? w(this, t) : e.frozen.get(t)
}
return w(this, t)
},
set: function(t, e) {
if (l(t) && !d(t)) {
var n = h(this);
n.frozen || (n.frozen = new i),
b(this, t) ? S(this, t, e) : n.frozen.set(t, e)
} else
S(this, t, e);
return this
}
})
}
},
EUja: function(t, e, n) {
"use strict";
var i = n("2oRo")
, r = n("WSbT")
, o = n("V37c")
, a = n("HYAF")
, s = i.RangeError;
t.exports = function(t) {
var e = o(a(this))
, n = ""
, i = r(t);
if (i < 0 || i == 1 / 0)
throw s("Wrong number of repetitions");
for (; i > 0; (i >>>= 1) && (e += e))
1 & i && (n += e);
return n
}
},
EVBy: function(t, e, n) {},
EnZy: function(t, e, n) {
"use strict";
var i = n("K6Rb")
, r = n("xluM")
, o = n("4zBA")
, a = n("14Sl")
, s = n("ROdP")
, c = n("glrk")
, u = n("HYAF")
, l = n("SEBh")
, d = n("iqWW")
, h = n("UMSQ")
, f = n("V37c")
, p = n("3Eq5")
, m = n("Ta7t")
, v = n("FMNM")
, g = n("kmMV")
, y = n("n3/R")
, b = n("0Dky")
, w = y.UNSUPPORTED_Y
, S = Math.min
, A = [].push
, _ = o(/./.exec)
, x = o(A)
, O = o("".slice);
a("split", function(t, e, n) {
var o;
return o = "c" == "abbc".split(/(b)*/)[1] || 4 != "test".split(/(?:)/, -1).length || 2 != "ab".split(/(?:ab)*/).length || 4 != ".".split(/(.?)(.?)/).length || ".".split(/()()/).length > 1 || "".split(/.?/).length ? function(t, n) {
var o = f(u(this))
, a = void 0 === n ? 4294967295 : n >>> 0;
if (0 === a)
return [];
if (void 0 === t)
return [o];
if (!s(t))
return r(e, o, t, a);
for (var c, l, d, h = [], p = (t.ignoreCase ? "i" : "") + (t.multiline ? "m" : "") + (t.unicode ? "u" : "") + (t.sticky ? "y" : ""), v = 0, y = new RegExp(t.source,p + "g"); (c = r(g, y, o)) && !((l = y.lastIndex) > v && (x(h, O(o, v, c.index)),
c.length > 1 && c.index < o.length && i(A, h, m(c, 1)),
d = c[0].length,
v = l,
h.length >= a)); )
y.lastIndex === c.index && y.lastIndex++;
return v === o.length ? !d && _(y, "") || x(h, "") : x(h, O(o, v)),
h.length > a ? m(h, 0, a) : h
}
: "0".split(void 0, 0).length ? function(t, n) {
return void 0 === t && 0 === n ? [] : r(e, this, t, n)
}
: e,
[function(e, n) {
var i = u(this)
, a = null == e ? void 0 : p(e, t);
return a ? r(a, e, i, n) : r(o, f(i), e, n)
}
, function(t, i) {
var r = c(this)
, a = f(t)
, s = n(o, r, a, i, o !== e);
if (s.done)
return s.value;
var u = l(r, RegExp)
, p = r.unicode
, m = (r.ignoreCase ? "i" : "") + (r.multiline ? "m" : "") + (r.unicode ? "u" : "") + (w ? "g" : "y")
, g = new u(w ? "^(?:" + r.source + ")" : r,m)
, y = void 0 === i ? 4294967295 : i >>> 0;
if (0 === y)
return [];
if (0 === a.length)
return null === v(g, a) ? [a] : [];
for (var b = 0, A = 0, _ = []; A < a.length; ) {
g.lastIndex = w ? 0 : A;
var T, E = v(g, w ? O(a, A) : a);
if (null === E || (T = S(h(g.lastIndex + (w ? A : 0)), a.length)) === b)
A = d(a, A, p);
else {
if (x(_, O(a, b, A)),
_.length === y)
return _;
for (var k = 1; k <= E.length - 1; k++)
if (x(_, E[k]),
_.length === y)
return _;
A = b = T
}
}
return x(_, O(a, b)),
_
}
]
}, !!b(function() {
var t = /(?:)/
, e = t.exec;
t.exec = function() {
return e.apply(this, arguments)
}
;
var n = "ab".split(t);
return 2 !== n.length || "a" !== n[0] || "b" !== n[1]
}), w)
},
Ep9I: function(t, e) {
t.exports = Object.is || function(t, e) {
return t === e ? 0 !== t || 1 / t == 1 / e : t != t && e != e
}
},
"Ew+T": function(t, e, n) {
var i = n("I+eb")
, r = n("2oRo")
, o = n("LPSS");
i({
global: !0,
bind: !0,
enumerable: !0,
forced: !r.setImmediate || !r.clearImmediate
}, {
setImmediate: o.set,
clearImmediate: o.clear
})
},
F8JR: function(t, e, n) {
"use strict";
var i = n("tycR").forEach
, r = n("pkCn")("forEach");
t.exports = r ? [].forEach : function(t) {
return i(this, t, arguments.length > 1 ? arguments[1] : void 0)
}
},
FDzp: function(t, e, n) {
n("dOgj")("Int32", function(t) {
return function(e, n, i) {
return t(this, e, n, i)
}
})
},
FEiF: function(t, e, n) {
var i = n("37lR")
, r = n("trfz");
t.exports = function(t, e) {
return i(r(t), e)
}
},
FF6l: function(t, e, n) {
"use strict";
var i = n("ewvW")
, r = n("I8vh")
, o = n("B/qT")
, a = Math.min;
t.exports = [].copyWithin || function(t, e) {
var n = i(this)
, s = o(n)
, c = r(t, s)
, u = r(e, s)
, l = arguments.length > 2 ? arguments[2] : void 0
, d = a((void 0 === l ? s : r(l, s)) - u, s - c)
, h = 1;
for (u < c && c < u + d && (h = -1,
u += d - 1,
c += d - 1); d-- > 0; )
u in n ? n[c] = n[u] : delete n[c],
c += h,
u += h;
return n
}
},
FMNM: function(t, e, n) {
var i = n("2oRo")
, r = n("xluM")
, o = n("glrk")
, a = n("Fib7")
, s = n("xrYK")
, c = n("kmMV")
, u = i.TypeError;
t.exports = function(t, e) {
var n = t.exec;
if (a(n)) {
var i = r(n, t, e);
return null !== i && o(i),
i
}
if ("RegExp" === s(t))
return r(c, t, e);
throw u("RegExp#exec called on incompatible receiver")
}
},
FZtP: function(t, e, n) {
var i = n("2oRo")
, r = n("/byt")
, o = n("eFrH")
, a = n("F8JR")
, s = n("kRJp")
, c = function(t) {
if (t && t.forEach !== a)
try {
s(t, "forEach", a)
} catch (e) {
t.forEach = a
}
};
for (var u in r)
r[u] && c(i[u] && i[u].prototype);
c(o)
},
Fib7: function(t, e) {
t.exports = function(t) {
return "function" == typeof t
}
},
"G+Rx": function(t, e, n) {
var i = n("0GbY");
t.exports = i("document", "documentElement")
},
"G/JM": function(t, e, n) {
n("I+eb")({
target: "Reflect",
stat: !0
}, {
ownKeys: n("Vu81")
})
},
GC2F: function(t, e, n) {
var i = n("2oRo")
, r = n("+M1K")
, o = i.RangeError;
t.exports = function(t, e) {
var n = r(t);
if (n % e)
throw o("Wrong offset");
return n
}
},
GXvd: function(t, e, n) {
n("dG/n")("species")
},
GarU: function(t, e, n) {
var i = n("2oRo")
, r = n("OpvP")
, o = i.TypeError;
t.exports = function(t, e) {
if (r(e, t))
return t;
throw o("Incorrect invocation")
}
},
Gi26: function(t, e, n) {
var i = n("4zBA")
, r = n("ewvW")
, o = i({}.hasOwnProperty);
t.exports = Object.hasOwn || function(t, e) {
return o(r(t), e)
}
},
"H+LF": function(t, e, n) {
"use strict";
n("bWFh")("WeakSet", function(t) {
return function() {
return t(this, arguments.length ? arguments[0] : void 0)
}
}, n("rKzb"))
},
HH4o: function(t, e, n) {
var i = n("tiKp")("iterator")
, r = !1;
try {
var o = 0
, a = {
next: function() {
return {
done: !!o++
}
},
return: function() {
r = !0
}
};
a[i] = function() {
return this
}
,
Array.from(a, function() {
throw 2
})
} catch (t) {}
t.exports = function(t, e) {
if (!e && !r)
return !1;
var n = !1;
try {
var o = {};
o[i] = function() {
return {
next: function() {
return {
done: n = !0
}
}
}
}
,
t(o)
} catch (t) {}
return n
}
},
HNyW: function(t, e, n) {
var i = n("NC/Y");
t.exports = /(?:ipad|iphone|ipod).*applewebkit/i.test(i)
},
HYAF: function(t, e, n) {
var i = n("2oRo").TypeError;
t.exports = function(t) {
if (null == t)
throw i("Can't call method on " + t);
return t
}
},
Hd5f: function(t, e, n) {
var i = n("0Dky")
, r = n("tiKp")
, o = n("LQDL")
, a = r("species");
t.exports = function(t) {
return o >= 51 || !i(function() {
var e = [];
return (e.constructor = {})[a] = function() {
return {
foo: 1
}
}
,
1 !== e[t](Boolean).foo
})
}
},
HiXI: function(t, e, n) {
"use strict";
var i = n("I+eb")
, r = n("WKiH").end
, o = n("yNLB")("trimEnd")
, a = o ? function() {
return r(this)
}
: "".trimEnd;
i({
target: "String",
proto: !0,
name: "trimEnd",
forced: o
}, {
trimEnd: a,
trimRight: a
})
},
"I+eb": function(t, e, n) {
var i = n("2oRo")
, r = n("Bs8V").f
, o = n("kRJp")
, a = n("busE")
, s = n("zk60")
, c = n("6JNq")
, u = n("lMq5");
t.exports = function(t, e) {
var n, l, d, h, f, p = t.target, m = t.global, v = t.stat;
if (n = m ? i : v ? i[p] || s(p, {}) : (i[p] || {}).prototype)
for (l in e) {
if (h = e[l],
d = t.noTargetGet ? (f = r(n, l)) && f.value : n[l],
!u(m ? l : p + (v ? "." : "#") + l, t.forced) && void 0 !== d) {
if (typeof h == typeof d)
continue;
c(h, d)
}
(t.sham || d && d.sham) && o(h, "sham", !0),
a(n, l, h, t)
}
}
},
I1Gw: function(t, e, n) {
n("dG/n")("split")
},
I8vh: function(t, e, n) {
var i = n("WSbT")
, r = Math.max
, o = Math.min;
t.exports = function(t, e) {
var n = i(t);
return n < 0 ? r(n + e, 0) : o(n, e)
}
},
I9xj: function(t, e, n) {
n("1E5z")(Math, "Math", !0)
},
"IL/d": function(t, e, n) {
"use strict";
var i = n("iqeF");
(0,
n("67WC").exportTypedArrayStaticMethod)("from", n("oHi+"), i)
},
ISNy: function(t, e, n) {},
IZzc: function(t, e, n) {
"use strict";
var i = n("2oRo")
, r = n("4zBA")
, o = n("0Dky")
, a = n("We1y")
, s = n("rdv8")
, c = n("67WC")
, u = n("BNF5")
, l = n("2Zix")
, d = n("LQDL")
, h = n("USzg")
, f = i.Array
, p = c.aTypedArray
, m = c.exportTypedArrayMethod
, v = i.Uint16Array
, g = v && r(v.prototype.sort)
, y = !(!g || o(function() {
g(new v(2), null)
}) && o(function() {
g(new v(2), {})
}))
, b = !!g && !o(function() {
if (d)
return d < 74;
if (u)
return u < 67;
if (l)
return !0;
if (h)
return h < 602;
var t, e, n = new v(516), i = f(516);
for (t = 0; t < 516; t++)
e = t % 4,
n[t] = 515 - t,
i[t] = t - 2 * e + 3;
for (g(n, function(t, e) {
return (t / 4 | 0) - (e / 4 | 0)
}),
t = 0; t < 516; t++)
if (n[t] !== i[t])
return !0
});
m("sort", function(t) {
return void 0 !== t && a(t),
b ? g(this, t) : s(p(this), function(t) {
return function(e, n) {
return void 0 !== t ? +t(e, n) || 0 : n != n ? -1 : e != e ? 1 : 0 === e && 0 === n ? 1 / e > 0 && 1 / n < 0 ? 1 : -1 : e > n
}
}(t))
}, !b || y)
},
Ib8C: function(t, e, n) {
(function(e) {
var i;
t.exports = (i = i || function(t, i) {
var r;
if ("undefined" != typeof window && window.crypto && (r = window.crypto),
"undefined" != typeof self && self.crypto && (r = self.crypto),
"undefined" != typeof globalThis && globalThis.crypto && (r = globalThis.crypto),
!r && "undefined" != typeof window && window.msCrypto && (r = window.msCrypto),
!r && void 0 !== e && e.crypto && (r = e.crypto),
!r)
try {
r = n(3)
} catch (t) {}
var o = function() {
if (r) {
if ("function" == typeof r.getRandomValues)
try {
return r.getRandomValues(new Uint32Array(1))[0]
} catch (t) {}
if ("function" == typeof r.randomBytes)
try {
return r.randomBytes(4).readInt32LE()
} catch (t) {}
}
throw new Error("Native crypto module could not be used to get secure random number.")
}
, a = Object.create || function() {
function t() {}
return function(e) {
var n;
return t.prototype = e,
n = new t,
t.prototype = null,
n
}
}()
, s = {}
, c = s.lib = {}
, u = c.Base = {
extend: function(t) {
var e = a(this);
return t && e.mixIn(t),
e.hasOwnProperty("init") && this.init !== e.init || (e.init = function() {
e.$super.init.apply(this, arguments)
}
),
e.init.prototype = e,
e.$super = this,
e
},
create: function() {
var t = this.extend();
return t.init.apply(t, arguments),
t
},
init: function() {},
mixIn: function(t) {
for (var e in t)
t.hasOwnProperty(e) && (this[e] = t[e]);
t.hasOwnProperty("toString") && (this.toString = t.toString)
},
clone: function() {
return this.init.prototype.extend(this)
}
}
, l = c.WordArray = u.extend({
init: function(t, e) {
t = this.words = t || [],
this.sigBytes = null != e ? e : 4 * t.length
},
toString: function(t) {
return (t || h).stringify(this)
},
concat: function(t) {
var e = this.words
, n = t.words
, i = this.sigBytes
, r = t.sigBytes;
if (this.clamp(),
i % 4)
for (var o = 0; o < r; o++) {
var a = n[o >>> 2] >>> 24 - o % 4 * 8 & 255;
e[i + o >>> 2] |= a << 24 - (i + o) % 4 * 8
}
else
for (var s = 0; s < r; s += 4)
e[i + s >>> 2] = n[s >>> 2];
return this.sigBytes += r,
this
},
clamp: function() {
var e = this.words
, n = this.sigBytes;
e[n >>> 2] &= 4294967295 << 32 - n % 4 * 8,
e.length = t.ceil(n / 4)
},
clone: function() {
var t = u.clone.call(this);
return t.words = this.words.slice(0),
t
},
random: function(t) {
for (var e = [], n = 0; n < t; n += 4)
e.push(o());
return new l.init(e,t)
}
})
, d = s.enc = {}
, h = d.Hex = {
stringify: function(t) {
for (var e = t.words, n = t.sigBytes, i = [], r = 0; r < n; r++) {
var o = e[r >>> 2] >>> 24 - r % 4 * 8 & 255;
i.push((o >>> 4).toString(16)),
i.push((15 & o).toString(16))
}
return i.join("")
},
parse: function(t) {
for (var e = t.length, n = [], i = 0; i < e; i += 2)
n[i >>> 3] |= parseInt(t.substr(i, 2), 16) << 24 - i % 8 * 4;
return new l.init(n,e / 2)
}
}
, f = d.Latin1 = {
stringify: function(t) {
for (var e = t.words, n = t.sigBytes, i = [], r = 0; r < n; r++) {
var o = e[r >>> 2] >>> 24 - r % 4 * 8 & 255;
i.push(String.fromCharCode(o))
}
return i.join("")
},
parse: function(t) {
for (var e = t.length, n = [], i = 0; i < e; i++)
n[i >>> 2] |= (255 & t.charCodeAt(i)) << 24 - i % 4 * 8;
return new l.init(n,e)
}
}
, p = d.Utf8 = {
stringify: function(t) {
try {
return decodeURIComponent(escape(f.stringify(t)))
} catch (t) {
throw new Error("Malformed UTF-8 data")
}
},
parse: function(t) {
return f.parse(unescape(encodeURIComponent(t)))
}
}
, m = c.BufferedBlockAlgorithm = u.extend({
reset: function() {
this._data = new l.init,
this._nDataBytes = 0
},
_append: function(t) {
"string" == typeof t && (t = p.parse(t)),
this._data.concat(t),
this._nDataBytes += t.sigBytes
},
_process: function(e) {
var n, i = this._data, r = i.words, o = i.sigBytes, a = this.blockSize, s = 4 * a, c = o / s, u = (c = e ? t.ceil(c) : t.max((0 | c) - this._minBufferSize, 0)) * a, d = t.min(4 * u, o);
if (u) {
for (var h = 0; h < u; h += a)
this._doProcessBlock(r, h);
n = r.splice(0, u),
i.sigBytes -= d
}
return new l.init(n,d)
},
clone: function() {
var t = u.clone.call(this);
return t._data = this._data.clone(),
t
},
_minBufferSize: 0
})
, v = (c.Hasher = m.extend({
cfg: u.extend(),
init: function(t) {
this.cfg = this.cfg.extend(t),
this.reset()
},
reset: function() {
m.reset.call(this),
this._doReset()
},
update: function(t) {
return this._append(t),
this._process(),
this
},
finalize: function(t) {
t && this._append(t);
var e = this._doFinalize();
return e
},
blockSize: 16,
_createHelper: function(t) {
return function(e, n) {
return new t.init(n).finalize(e)
}
},
_createHmacHelper: function(t) {
return function(e, n) {
return new v.HMAC.init(t,n).finalize(e)
}
}
}),
s.algo = {});
return s
}(Math),
i)
}
).call(this, n("yLpj"))
},
ImZN: function(t, e, n) {
var i = n("2oRo")
, r = n("A2ZE")
, o = n("xluM")
, a = n("glrk")
, s = n("DVFp")
, c = n("6VoE")
, u = n("B/qT")
, l = n("OpvP")
, d = n("mh/w")
, h = n("NaFW")
, f = n("KmKo")
, p = i.TypeError
, m = function(t, e) {
this.stopped = t,
this.result = e
}
, v = m.prototype;
t.exports = function(t, e, n) {
var i, g, y, b, w, S, A, _ = n && n.that, x = !(!n || !n.AS_ENTRIES), O = !(!n || !n.IS_ITERATOR), T = !(!n || !n.INTERRUPTED), E = r(e, _), k = function(t) {
return i && f(i, "normal", t),
new m(!0,t)
}, I = function(t) {
return x ? (a(t),
T ? E(t[0], t[1], k) : E(t[0], t[1])) : T ? E(t, k) : E(t)
};
if (O)
i = t;
else {
if (!(g = h(t)))
throw p(s(t) + " is not iterable");
if (c(g)) {
for (y = 0,
b = u(t); b > y; y++)
if ((w = I(t[y])) && l(v, w))
return w;
return new m(!1)
}
i = d(t, g)
}
for (S = i.next; !(A = o(S, i)).done; ) {
try {
w = I(A.value)
} catch (t) {
f(i, "throw", t)
}
if ("object" == typeof w && w && l(v, w))
return w
}
return new m(!1)
}
},
J8vR: function(t, e, n) {
"use strict";
n.d(e, "e", function() {
return r
}),
n.d(e, "b", function() {
return o
}),
n.d(e, "d", function() {
return a
}),
n.d(e, "a", function() {
return s
}),
n.d(e, "c", function() {
return c
});
var i = n("LKh6")
, r = function(t) {
t && (t.style.display = "block")
}
, o = function(t, e) {
if (t.classList.contains(e))
return t;
for (var n = t; !n.classList.contains(e); )
if ("BODY" === (n = n.parentNode).tagName)
return !1;
return n
}
, a = function(t) {
var e = document.querySelectorAll(t)
, n = 0;
return e.forEach(function(t) {
t.clientHeight > n && (n = t.clientHeight)
}),
n
}
, s = function(t) {
var e = t.classList;
return {
add: function() {
for (var t = [], n = 0; n < arguments.length; n++)
t[n] = arguments[n];
return i.e ? t.forEach(function(t) {
return e.add(t)
}) : e.add.apply(e, t),
this
},
remove: function() {
for (var t = [], n = 0; n < arguments.length; n++)
t[n] = arguments[n];
return i.e ? t.forEach(function(t) {
return e.remove(t)
}) : e.remove.apply(e, t),
this
},
toggle: function(t) {
return e.toggle(t),
this
},
contains: function(t) {
return e.contains(t)
}
}
}
, c = function(t) {
var e = t.getBoundingClientRect();
return e.top >= 0 && e.left >= 0 && e.bottom <= (window.innerHeight || document.documentElement.clientHeight) && e.right <= (window.innerWidth || document.documentElement.clientWidth)
}
},
JBy8: function(t, e, n) {
var i = n("yoRg")
, r = n("eDl+").concat("length", "prototype");
e.f = Object.getOwnPropertyNames || function(t) {
return i(t, r)
}
},
JIAZ: function(t, e, n) {
"use strict";
n.d(e, "a", function() {
return v
});
var i = n("KxHI")
, r = n("Q/5a")
, o = n("kFz4")
, a = n("Vl5E")
, s = n("J8vR")
, c = "ad_rewarded_failed"
, u = "ad_rewarded_closed"
, l = "ad_rewarded_impression"
, d = "ad_rewarded_cached"
, h = "ad_rewarded_request"
, f = "ad_rewarded_needed"
, p = function() {
return (p = Object.assign || function(t) {
for (var e, n = 1, i = arguments.length; n < i; n++)
for (var r in e = arguments[n])
Object.prototype.hasOwnProperty.call(e, r) && (t[r] = e[r]);
return t
}
).apply(this, arguments)
}
, m = "655214bbb9a550fe2e0dbc06"
, v = new (function() {
function t() {
this.$wrapper = document.querySelector("#aniview-rewarded-container"),
this.player = null,
this.inited = !1,
this.tryToRun = !1,
this.type = i.l.aniview,
window.avPlayer ? this.init() : r.a.subscribe(i.f.AniviewLoaded, this.init.bind(this))
}
return Object.defineProperty(t.prototype, "ready", {
get: function() {
return this.player && this.player.getReadyAds()
},
enumerable: !1,
configurable: !0
}),
t.prototype.init = function() {
var t, e = this;
this.inited || (window.avPlayer ? (this.inited = !0,
this.player = new window.avPlayer({
publisherId: "64997fd0362016b0aa065754",
channelId: "655214ccb4ee335b6a0ea2e4",
position: "aniview-rewarded-container",
width: 100,
height: 0,
autoPlay: !1,
loop: !0,
errorLimit: (null === (t = null === window || void 0 === window ? void 0 : window.eb) || void 0 === t ? void 0 : t.settings.aniview_limit) || 50,
vastRetry: 3,
midrolltime: 5,
plcmt: 3,
tagId: m,
Skip: !0,
skipTimer: 30,
maxImp: 99,
playOnView: !0,
pauseOnUnseen: !0,
reward: {
enabled: !0,
refreshTimeout: 5,
fixUrl: !0
}
}),
this.player.play(),
this.player.on("AdReady", function() {
console.log("player ready (rewarded)"),
e.onReady && e.onReady(e),
Object(a.a)(d, {
service_name: i.l.aniview
}),
o.a.send(d, {
service_name: i.l.aniview
})
}),
this.player.on("AdEvent", function(t) {
"bid" === t && (Object(a.a)(h, {
service_name: i.l.aniview
}),
o.a.send(h, {
service_name: i.l.aniview
}))
}),
this.player.on("AdImpression", function(t) {
var n = {
adsource_id: t.asid,
channel_id: "655214ccb4ee335b6a0ea2e4",
studio_tag_id: m
}
, r = p(p(p({}, e.eventData || {}), n), {
service_name: i.l.aniview
});
Object(a.a)(l, r),
o.a.send(l, r, !0),
e.tryToRun = !1,
e.player.pauseWaterfall()
}),
this.player.on("AdError", function(t) {
console.log("ad error", t),
e.tryToRun && e.player.pauseWaterfall(),
"errorlimit" === (null == t ? void 0 : t.reason) && (window.needToRestartPageOnChangeMode = !0)
}),
this.player.on("Inventory", function() {
e.tryToRun = !1,
e.player.pauseWaterfall()
}),
this.player.on("AdVideoComplete", this.onClose.bind(this)),
this.player.on("AdSkipped", this.onClose.bind(this))) : console.log("no avPlayer :("))
}
,
t.prototype.onClose = function() {
Object(s.a)(this.$wrapper).remove("active"),
Object(a.a)(u, {
service_name: i.l.aniview
}),
o.a.send(u, {
service_name: i.l.aniview
}),
this.callbackFunc && this.callbackFunc()
}
,
t.prototype.show = function(t, e) {
this.callbackFunc = t,
this.eventData = e ? p(p({}, e), {
service_name: i.l.aniview
}) : {
service_name: i.l.aniview
},
o.a.send(f, this.eventData, !0),
Object(a.a)(f, this.eventData),
this.inited ? this.player && this.player.getReadyAds() ? (this.tryToRun = !0,
this.player.resumeWaterfall(),
Object(s.a)(this.$wrapper).add("active")) : (Object(a.a)(c, {
service_name: i.l.aniview
}),
o.a.send(c, {
service_name: i.l.aniview
}),
this.callbackFunc && this.callbackFunc()) : this.callbackFunc && this.callbackFunc()
}
,
t
}())
},
JTJg: function(t, e, n) {
"use strict";
var i = n("I+eb")
, r = n("4zBA")
, o = n("WjRb")
, a = n("HYAF")
, s = n("V37c")
, c = n("qxPZ")
, u = r("".indexOf);
i({
target: "String",
proto: !0,
forced: !c("includes")
}, {
includes: function(t) {
return !!~u(s(a(this)), s(o(t)), arguments.length > 1 ? arguments[1] : void 0)
}
})
},
JaFt: function(t, e, n) {
"use strict";
var i = n("67WC")
, r = n("1Y/n").right
, o = i.aTypedArray;
(0,
i.exportTypedArrayMethod)("reduceRight", function(t) {
var e = arguments.length;
return r(o(this), t, e, e > 1 ? arguments[1] : void 0)
})
},
JevA: function(t, e, n) {
var i = n("I+eb")
, r = n("wg0c");
i({
target: "Number",
stat: !0,
forced: Number.parseInt != r
}, {
parseInt: r
})
},
JfAA: function(t, e, n) {
"use strict";
var i = n("4zBA")
, r = n("Xnc8").PROPER
, o = n("busE")
, a = n("glrk")
, s = n("OpvP")
, c = n("V37c")
, u = n("0Dky")
, l = n("rW0t")
, d = RegExp.prototype
, h = d.toString
, f = i(l)
, p = u(function() {
return "/a/b" != h.call({
source: "a",
flags: "b"
})
})
, m = r && "toString" != h.name;
(p || m) && o(RegExp.prototype, "toString", function() {
var t = a(this)
, e = c(t.source)
, n = t.flags;
return "/" + e + "/" + c(void 0 !== n || !s(d, t) || "flags"in d ? n : f(t))
}, {
unsafe: !0
})
},
JiZb: function(t, e, n) {
"use strict";
var i = n("0GbY")
, r = n("m/L8")
, o = n("tiKp")
, a = n("g6v/")
, s = o("species");
t.exports = function(t) {
var e = i(t)
, n = r.f;
a && e && !e[s] && n(e, s, {
configurable: !0,
get: function() {
return this
}
})
}
},
JjVu: function(t, e, n) {
"use strict";
n.d(e, "a", function() {
return a
});
var i, r = n("6Ssv");
!function(t) {
t.dc = "dc",
t.events = "events",
t.tournaments = "tournaments"
}(i || (i = {}));
var o = "notification_count"
, a = function() {
function t(t, e) {
var n = r.a && JSON.parse(localStorage.getItem(o)) || {};
this.count = "object" == typeof n && Object.keys(n).length ? n : Object.keys(i).reduce(function(t, e) {
return t[e] = 0,
t
}, {}),
delete this.count.events,
this.count.tournaments || (this.count.tournaments = 0),
this.saveStateToLs(),
this.$element = document.querySelector(t),
this.$awardsElement = document.querySelector(e.awardsSelector),
this.$tournamentsElement = document.querySelector(e.tournamentsSelector),
this.init()
}
return t.prototype.setCount = function(t, e) {
this.count[e] = t,
this.repaint()
}
,
t.prototype.add = function(t) {
this.count[t]++,
this.repaint()
}
,
t.prototype.get = function(t) {
var e;
return null !== (e = this.count[t]) && void 0 !== e ? e : 0
}
,
t.prototype.minus = function(t) {
this.count[t]--,
this.repaint()
}
,
t.prototype.sumCount = function() {
var t = this;
return Object.keys(this.count).reduce(function(e, n) {
return e + t.count[n]
}, 0)
}
,
t.prototype.repaint = function() {
var t = this;
this.saveStateToLs(),
this.$notifications.forEach(function(e) {
e.innerText = t.sumCount(),
e.style.opacity = t.sumCount() <= 0 ? "0" : "1"
}),
this.paintSeparatedValues()
}
,
t.prototype.paintSeparatedValues = function() {
this.$awardsElement && (this.$awardsElement.innerText = String(this.get(i.dc)),
this.$awardsElement.style.display = this.get(i.dc) <= 0 ? "none" : "flex"),
this.$tournamentsElement && (this.$tournamentsElement.innerText = String(this.get(i.tournaments)),
this.$tournamentsElement.style.display = this.get(i.tournaments) <= 0 ? "none" : "flex")
}
,
t.prototype.hideGlobal = function() {
this.$notifications.forEach(function(t) {
t.style.opacity = "0"
})
}
,
t.prototype.saveStateToLs = function() {
r.a && localStorage.setItem(o, JSON.stringify(this.count))
}
,
t.prototype.init = function() {
var t = document.createElement("span");
t.classList.add("menu-notification"),
t.innerText = String(this.sumCount()),
this.paintSeparatedValues(),
this.sumCount() <= 0 && (t.style.opacity = "0"),
this.$element && this.$element.appendChild(t.cloneNode(!0)),
document.querySelector("#burger-icon .icon-menu").appendChild(t.cloneNode(!0)),
this.$notifications = document.querySelectorAll(".menu-notification")
}
,
t
}()
},
Joby: function(t, e, n) {},
Junv: function(t, e, n) {
"use strict";
var i = n("I+eb")
, r = n("4zBA")
, o = n("6LWA")
, a = r([].reverse)
, s = [1, 2];
i({
target: "Array",
proto: !0,
forced: String(s) === String(s.reverse())
}, {
reverse: function() {
return o(this) && (this.length = this.length),
a(this)
}
})
},
K4CH: function(t, e, n) {
var i;
!function(r, o) {
"use strict";
var a = "model"
, s = "name"
, c = "type"
, u = "vendor"
, l = "version"
, d = "mobile"
, h = "tablet"
, f = "smarttv"
, p = function(t) {
for (var e = {}, n = 0; n < t.length; n++)
e[t[n].toUpperCase()] = t[n];
return e
}
, m = function(t, e) {
return "string" == typeof t && -1 !== v(e).indexOf(v(t))
}
, v = function(t) {
return t.toLowerCase()
}
, g = function(t, e) {
if ("string" == typeof t)
return t = t.replace(/^\s\s*/, "").replace(/\s\s*$/, ""),
void 0 === e ? t : t.substring(0, 350)
}
, y = function(t, e) {
for (var n, i, r, o, a, s, c = 0; c < e.length && !a; ) {
var u = e[c]
, l = e[c + 1];
for (n = i = 0; n < u.length && !a; )
if (a = u[n++].exec(t))
for (r = 0; r < l.length; r++)
s = a[++i],
"object" == typeof (o = l[r]) && o.length > 0 ? 2 === o.length ? "function" == typeof o[1] ? this[o[0]] = o[1].call(this, s) : this[o[0]] = o[1] : 3 === o.length ? "function" != typeof o[1] || o[1].exec && o[1].test ? this[o[0]] = s ? s.replace(o[1], o[2]) : void 0 : this[o[0]] = s ? o[1].call(this, s, o[2]) : void 0 : 4 === o.length && (this[o[0]] = s ? o[3].call(this, s.replace(o[1], o[2])) : void 0) : this[o] = s || void 0;
c += 2
}
}
, b = function(t, e) {
for (var n in e)
if ("object" == typeof e[n] && e[n].length > 0) {
for (var i = 0; i < e[n].length; i++)
if (m(e[n][i], t))
return "?" === n ? void 0 : n
} else if (m(e[n], t))
return "?" === n ? void 0 : n;
return t
}
, w = {
ME: "4.90",
"NT 3.11": "NT3.51",
"NT 4.0": "NT4.0",
2000: "NT 5.0",
XP: ["NT 5.1", "NT 5.2"],
Vista: "NT 6.0",
7: "NT 6.1",
8: "NT 6.2",
8.1: "NT 6.3",
10: ["NT 6.4", "NT 10.0"],
RT: "ARM"
}
, S = {
browser: [[/\b(?:crmo|crios)\/([\w\.]+)/i], [l, [s, "Chrome"]], [/edg(?:e|ios|a)?\/([\w\.]+)/i], [l, [s, "Edge"]], [/(opera mini)\/([-\w\.]+)/i, /(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i, /(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i], [s, l], [/opios[\/ ]+([\w\.]+)/i], [l, [s, "Opera Mini"]], [/\bopr\/([\w\.]+)/i], [l, [s, "Opera"]], [/(kindle)\/([\w\.]+)/i, /(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i, /(avant |iemobile|slim)(?:browser)?[\/ ]?([\w\.]*)/i, /(ba?idubrowser)[\/ ]?([\w\.]+)/i, /(?:ms|\()(ie) ([\w\.]+)/i, /(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale|qqbrowserlite|qq|duckduckgo)\/([-\w\.]+)/i, /(weibo)__([\d\.]+)/i], [s, l], [/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i], [l, [s, "UCBrowser"]], [/microm.+\bqbcore\/([\w\.]+)/i, /\bqbcore\/([\w\.]+).+microm/i], [l, [s, "WeChat(Win) Desktop"]], [/micromessenger\/([\w\.]+)/i], [l, [s, "WeChat"]], [/konqueror\/([\w\.]+)/i], [l, [s, "Konqueror"]], [/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i], [l, [s, "IE"]], [/yabrowser\/([\w\.]+)/i], [l, [s, "Yandex"]], [/(avast|avg)\/([\w\.]+)/i], [[s, /(.+)/, "$1 Secure Browser"], l], [/\bfocus\/([\w\.]+)/i], [l, [s, "Firefox Focus"]], [/\bopt\/([\w\.]+)/i], [l, [s, "Opera Touch"]], [/coc_coc\w+\/([\w\.]+)/i], [l, [s, "Coc Coc"]], [/dolfin\/([\w\.]+)/i], [l, [s, "Dolphin"]], [/coast\/([\w\.]+)/i], [l, [s, "Opera Coast"]], [/miuibrowser\/([\w\.]+)/i], [l, [s, "MIUI Browser"]], [/fxios\/([-\w\.]+)/i], [l, [s, "Firefox"]], [/\bqihu|(qi?ho?o?|360)browser/i], [[s, "360 Browser"]], [/(oculus|samsung|sailfish|huawei)browser\/([\w\.]+)/i], [[s, /(.+)/, "$1 Browser"], l], [/(comodo_dragon)\/([\w\.]+)/i], [[s, /_/g, " "], l], [/(electron)\/([\w\.]+) safari/i, /(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i, /m?(qqbrowser|baiduboxapp|2345Explorer)[\/ ]?([\w\.]+)/i], [s, l], [/(metasr)[\/ ]?([\w\.]+)/i, /(lbbrowser)/i, /\[(linkedin)app\]/i], [s], [/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i], [[s, "Facebook"], l], [/safari (line)\/([\w\.]+)/i, /\b(line)\/([\w\.]+)\/iab/i, /(chromium|instagram)[\/ ]([-\w\.]+)/i], [s, l], [/\bgsa\/([\w\.]+) .*safari\//i], [l, [s, "GSA"]], [/headlesschrome(?:\/([\w\.]+)| )/i], [l, [s, "Chrome Headless"]], [/ wv\).+(chrome)\/([\w\.]+)/i], [[s, "Chrome WebView"], l], [/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i], [l, [s, "Android Browser"]], [/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i], [s, l], [/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i], [l, [s, "Mobile Safari"]], [/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i], [l, s], [/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i], [s, [l, b, {
"1.0": "/8",
1.2: "/1",
1.3: "/3",
"2.0": "/412",
"2.0.2": "/416",
"2.0.3": "/417",
"2.0.4": "/419",
"?": "/"
}]], [/(webkit|khtml)\/([\w\.]+)/i], [s, l], [/(navigator|netscape\d?)\/([-\w\.]+)/i], [[s, "Netscape"], l], [/mobile vr; rv:([\w\.]+)\).+firefox/i], [l, [s, "Firefox Reality"]], [/ekiohf.+(flow)\/([\w\.]+)/i, /(swiftfox)/i, /(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i, /(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i, /(firefox)\/([\w\.]+)/i, /(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i, /(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i, /(links) \(([\w\.]+)/i], [s, l]],
cpu: [[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i], [["architecture", "amd64"]], [/(ia32(?=;))/i], [["architecture", v]], [/((?:i[346]|x)86)[;\)]/i], [["architecture", "ia32"]], [/\b(aarch64|arm(v?8e?l?|_?64))\b/i], [["architecture", "arm64"]], [/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i], [["architecture", "armhf"]], [/windows (ce|mobile); ppc;/i], [["architecture", "arm"]], [/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i], [["architecture", /ower/, "", v]], [/(sun4\w)[;\)]/i], [["architecture", "sparc"]], [/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i], [["architecture", v]]],
device: [[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i], [a, [u, "Samsung"], [c, h]], [/\b((?:s[cgp]h|gt|sm)-\w+|galaxy nexus)/i, /samsung[- ]([-\w]+)/i, /sec-(sgh\w+)/i], [a, [u, "Samsung"], [c, d]], [/\((ip(?:hone|od)[\w ]*);/i], [a, [u, "Apple"], [c, d]], [/\((ipad);[-\w\),; ]+apple/i, /applecoremedia\/[\w\.]+ \((ipad)/i, /\b(ipad)\d\d?,\d\d?[;\]].+ios/i], [a, [u, "Apple"], [c, h]], [/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i], [a, [u, "Huawei"], [c, h]], [/(?:huawei|honor)([-\w ]+)[;\)]/i, /\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i], [a, [u, "Huawei"], [c, d]], [/\b(poco[\w ]+)(?: bui|\))/i, /\b; (\w+) build\/hm\1/i, /\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i, /\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i, /\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i], [[a, /_/g, " "], [u, "Xiaomi"], [c, d]], [/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i], [[a, /_/g, " "], [u, "Xiaomi"], [c, h]], [/; (\w+) bui.+ oppo/i, /\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i], [a, [u, "OPPO"], [c, d]], [/vivo (\w+)(?: bui|\))/i, /\b(v[12]\d{3}\w?[at])(?: bui|;)/i], [a, [u, "Vivo"], [c, d]], [/\b(rmx[12]\d{3})(?: bui|;|\))/i], [a, [u, "Realme"], [c, d]], [/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i, /\bmot(?:orola)?[- ](\w*)/i, /((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i], [a, [u, "Motorola"], [c, d]], [/\b(mz60\d|xoom[2 ]{0,2}) build\//i], [a, [u, "Motorola"], [c, h]], [/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i], [a, [u, "LG"], [c, h]], [/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i, /\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i, /\blg-?([\d\w]+) bui/i], [a, [u, "LG"], [c, d]], [/(ideatab[-\w ]+)/i, /lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i], [a, [u, "Lenovo"], [c, h]], [/(?:maemo|nokia).*(n900|lumia \d+)/i, /nokia[-_ ]?([-\w\.]*)/i], [[a, /_/g, " "], [u, "Nokia"], [c, d]], [/(pixel c)\b/i], [a, [u, "Google"], [c, h]], [/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i], [a, [u, "Google"], [c, d]], [/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i], [a, [u, "Sony"], [c, d]], [/sony tablet [ps]/i, /\b(?:sony)?sgp\w+(?: bui|\))/i], [[a, "Xperia Tablet"], [u, "Sony"], [c, h]], [/ (kb2005|in20[12]5|be20[12][59])\b/i, /(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i], [a, [u, "OnePlus"], [c, d]], [/(alexa)webm/i, /(kf[a-z]{2}wi)( bui|\))/i, /(kf[a-z]+)( bui|\)).+silk\//i], [a, [u, "Amazon"], [c, h]], [/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i], [[a, /(.+)/g, "Fire Phone $1"], [u, "Amazon"], [c, d]], [/(playbook);[-\w\),; ]+(rim)/i], [a, u, [c, h]], [/\b((?:bb[a-f]|st[hv])100-\d)/i, /\(bb10; (\w+)/i], [a, [u, "BlackBerry"], [c, d]], [/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i], [a, [u, "ASUS"], [c, h]], [/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i], [a, [u, "ASUS"], [c, d]], [/(nexus 9)/i], [a, [u, "HTC"], [c, h]], [/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i, /(zte)[- ]([\w ]+?)(?: bui|\/|\))/i, /(alcatel|geeksphone|nexian|panasonic|sony(?!-bra))[-_ ]?([-\w]*)/i], [u, [a, /_/g, " "], [c, d]], [/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i], [a, [u, "Acer"], [c, h]], [/droid.+; (m[1-5] note) bui/i, /\bmz-([-\w]{2,})/i], [a, [u, "Meizu"], [c, d]], [/\b(sh-?[altvz]?\d\d[a-ekm]?)/i], [a, [u, "Sharp"], [c, d]], [/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[-_ ]?([-\w]*)/i, /(hp) ([\w ]+\w)/i, /(asus)-?(\w+)/i, /(microsoft); (lumia[\w ]+)/i, /(lenovo)[-_ ]?([-\w]+)/i, /(jolla)/i, /(oppo) ?([\w ]+) bui/i], [u, a, [c, d]], [/(archos) (gamepad2?)/i, /(hp).+(touchpad(?!.+tablet)|tablet)/i, /(kindle)\/([\w\.]+)/i, /(nook)[\w ]+build\/(\w+)/i, /(dell) (strea[kpr\d ]*[\dko])/i, /(le[- ]+pan)[- ]+(\w{1,9}) bui/i, /(trinity)[- ]*(t\d{3}) bui/i, /(gigaset)[- ]+(q\w{1,9}) bui/i, /(vodafone) ([\w ]+)(?:\)| bui)/i], [u, a, [c, h]], [/(surface duo)/i], [a, [u, "Microsoft"], [c, h]], [/droid [\d\.]+; (fp\du?)(?: b|\))/i], [a, [u, "Fairphone"], [c, d]], [/(u304aa)/i], [a, [u, "AT&T"], [c, d]], [/\bsie-(\w*)/i], [a, [u, "Siemens"], [c, d]], [/\b(rct\w+) b/i], [a, [u, "RCA"], [c, h]], [/\b(venue[\d ]{2,7}) b/i], [a, [u, "Dell"], [c, h]], [/\b(q(?:mv|ta)\w+) b/i], [a, [u, "Verizon"], [c, h]], [/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i], [a, [u, "Barnes & Noble"], [c, h]], [/\b(tm\d{3}\w+) b/i], [a, [u, "NuVision"], [c, h]], [/\b(k88) b/i], [a, [u, "ZTE"], [c, h]], [/\b(nx\d{3}j) b/i], [a, [u, "ZTE"], [c, d]], [/\b(gen\d{3}) b.+49h/i], [a, [u, "Swiss"], [c, d]], [/\b(zur\d{3}) b/i], [a, [u, "Swiss"], [c, h]], [/\b((zeki)?tb.*\b) b/i], [a, [u, "Zeki"], [c, h]], [/\b([yr]\d{2}) b/i, /\b(dragon[- ]+touch |dt)(\w{5}) b/i], [[u, "Dragon Touch"], a, [c, h]], [/\b(ns-?\w{0,9}) b/i], [a, [u, "Insignia"], [c, h]], [/\b((nxa|next)-?\w{0,9}) b/i], [a, [u, "NextBook"], [c, h]], [/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i], [[u, "Voice"], a, [c, d]], [/\b(lvtel\-)?(v1[12]) b/i], [[u, "LvTel"], a, [c, d]], [/\b(ph-1) /i], [a, [u, "Essential"], [c, d]], [/\b(v(100md|700na|7011|917g).*\b) b/i], [a, [u, "Envizen"], [c, h]], [/\b(trio[-\w\. ]+) b/i], [a, [u, "MachSpeed"], [c, h]], [/\btu_(1491) b/i], [a, [u, "Rotor"], [c, h]], [/(shield[\w ]+) b/i], [a, [u, "Nvidia"], [c, h]], [/(sprint) (\w+)/i], [u, a, [c, d]], [/(kin\.[onetw]{3})/i], [[a, /\./g, " "], [u, "Microsoft"], [c, d]], [/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i], [a, [u, "Zebra"], [c, h]], [/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i], [a, [u, "Zebra"], [c, d]], [/(ouya)/i, /(nintendo) ([wids3utch]+)/i], [u, a, [c, "console"]], [/droid.+; (shield) bui/i], [a, [u, "Nvidia"], [c, "console"]], [/(playstation [345portablevi]+)/i], [a, [u, "Sony"], [c, "console"]], [/\b(xbox(?: one)?(?!; xbox))[\); ]/i], [a, [u, "Microsoft"], [c, "console"]], [/smart-tv.+(samsung)/i], [u, [c, f]], [/hbbtv.+maple;(\d+)/i], [[a, /^/, "SmartTV"], [u, "Samsung"], [c, f]], [/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i], [[u, "LG"], [c, f]], [/(apple) ?tv/i], [u, [a, "Apple TV"], [c, f]], [/crkey/i], [[a, "Chromecast"], [u, "Google"], [c, f]], [/droid.+aft(\w)( bui|\))/i], [a, [u, "Amazon"], [c, f]], [/\(dtv[\);].+(aquos)/i, /(aquos-tv[\w ]+)\)/i], [a, [u, "Sharp"], [c, f]], [/(bravia[\w ]+)( bui|\))/i], [a, [u, "Sony"], [c, f]], [/(mitv-\w{5}) bui/i], [a, [u, "Xiaomi"], [c, f]], [/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i, /hbbtv\/\d+\.\d+\.\d+ +\([\w ]*; *(\w[^;]*);([^;]*)/i], [[u, g], [a, g], [c, f]], [/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i], [[c, f]], [/((pebble))app/i], [u, a, [c, "wearable"]], [/droid.+; (glass) \d/i], [a, [u, "Google"], [c, "wearable"]], [/droid.+; (wt63?0{2,3})\)/i], [a, [u, "Zebra"], [c, "wearable"]], [/(quest( 2)?)/i], [a, [u, "Facebook"], [c, "wearable"]], [/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i], [u, [c, "embedded"]], [/droid .+?; ([^;]+?)(?: bui|\) applew).+? mobile safari/i], [a, [c, d]], [/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i], [a, [c, h]], [/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i], [[c, h]], [/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i], [[c, d]], [/(android[-\w\. ]{0,9});.+buil/i], [a, [u, "Generic"]]],
engine: [[/windows.+ edge\/([\w\.]+)/i], [l, [s, "EdgeHTML"]], [/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i], [l, [s, "Blink"]], [/(presto)\/([\w\.]+)/i, /(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i, /ekioh(flow)\/([\w\.]+)/i, /(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i, /(icab)[\/ ]([23]\.[\d\.]+)/i], [s, l], [/rv\:([\w\.]{1,9})\b.+(gecko)/i], [l, s]],
os: [[/microsoft (windows) (vista|xp)/i], [s, l], [/(windows) nt 6\.2; (arm)/i, /(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i, /(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i], [s, [l, b, w]], [/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i], [[s, "Windows"], [l, b, w]], [/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i, /cfnetwork\/.+darwin/i], [[l, /_/g, "."], [s, "iOS"]], [/(mac os x) ?([\w\. ]*)/i, /(macintosh|mac_powerpc\b)(?!.+haiku)/i], [[s, "Mac OS"], [l, /_/g, "."]], [/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i], [l, s], [/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i, /(blackberry)\w*\/([\w\.]*)/i, /(tizen|kaios)[\/ ]([\w\.]+)/i, /\((series40);/i], [s, l], [/\(bb(10);/i], [l, [s, "BlackBerry"]], [/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i], [l, [s, "Symbian"]], [/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i], [l, [s, "Firefox OS"]], [/web0s;.+rt(tv)/i, /\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i], [l, [s, "webOS"]], [/crkey\/([\d\.]+)/i], [l, [s, "Chromecast"]], [/(cros) [\w]+ ([\w\.]+\w)/i], [[s, "Chromium OS"], l], [/(nintendo|playstation) ([wids345portablevuch]+)/i, /(xbox); +xbox ([^\);]+)/i, /\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i, /(mint)[\/\(\) ]?(\w*)/i, /(mageia|vectorlinux)[; ]/i, /([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i, /(hurd|linux) ?([\w\.]*)/i, /(gnu) ?([\w\.]*)/i, /\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i, /(haiku) (\w+)/i], [s, l], [/(sunos) ?([\w\.\d]*)/i], [[s, "Solaris"], l], [/((?:open)?solaris)[-\/ ]?([\w\.]*)/i, /(aix) ((\d)(?=\.|\)| )[\w\.])*/i, /\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux)/i, /(unix) ?([\w\.]*)/i], [s, l]]
}
, A = function(t, e) {
if ("object" == typeof t && (e = t,
t = void 0),
!(this instanceof A))
return new A(t,e).getResult();
var n = t || (void 0 !== r && r.navigator && r.navigator.userAgent ? r.navigator.userAgent : "")
, i = e ? function(t, e) {
var n = {};
for (var i in t)
e[i] && e[i].length % 2 == 0 ? n[i] = e[i].concat(t[i]) : n[i] = t[i];
return n
}(S, e) : S;
return this.getBrowser = function() {
var t, e = {};
return e.name = void 0,
e.version = void 0,
y.call(e, n, i.browser),
e.major = "string" == typeof (t = e.version) ? t.replace(/[^\d\.]/g, "").split(".")[0] : void 0,
e
}
,
this.getCPU = function() {
var t = {
architecture: void 0
};
return y.call(t, n, i.cpu),
t
}
,
this.getDevice = function() {
var t = {
vendor: void 0,
model: void 0,
type: void 0
};
return y.call(t, n, i.device),
t
}
,
this.getEngine = function() {
var t = {
name: void 0,
version: void 0
};
return y.call(t, n, i.engine),
t
}
,
this.getOS = function() {
var t = {
name: void 0,
version: void 0
};
return y.call(t, n, i.os),
t
}
,
this.getResult = function() {
return {
ua: this.getUA(),
browser: this.getBrowser(),
engine: this.getEngine(),
os: this.getOS(),
device: this.getDevice(),
cpu: this.getCPU()
}
}
,
this.getUA = function() {
return n
}
,
this.setUA = function(t) {
return n = "string" == typeof t && t.length > 350 ? g(t, 350) : t,
this
}
,
this.setUA(n),
this
};
A.VERSION = "1.0.32",
A.BROWSER = p([s, l, "major"]),
A.CPU = p(["architecture"]),
A.DEVICE = p([a, u, c, "console", d, f, h, "wearable", "embedded"]),
A.ENGINE = A.OS = p([s, l]),
void 0 !== e ? (void 0 !== t && t.exports && (e = t.exports = A),
e.UAParser = A) : n("PDX0") ? void 0 === (i = function() {
return A
}
.call(e, n, e, t)) || (t.exports = i) : void 0 !== r && (r.UAParser = A);
var _ = void 0 !== r && (r.jQuery || r.Zepto);
if (_ && !_.ua) {
var x = new A;
_.ua = x.getResult(),
_.ua.get = function() {
return x.getUA()
}
,
_.ua.set = function(t) {
x.setUA(t);
var e = x.getResult();
for (var n in e)
_.ua[n] = e[n]
}
}
}("object" == typeof window ? window : this)
},
K6Rb: function(t, e, n) {
var i = n("QNWe")
, r = Function.prototype
, o = r.apply
, a = r.call;
t.exports = "object" == typeof Reflect && Reflect.apply || (i ? a.bind(o) : function() {
return a.apply(o, arguments)
}
)
},
KVSy: function(t, e, n) {
"use strict";
var i = n("67WC")
, r = n("trfz")
, o = n("0Dky")
, a = n("82ph")
, s = i.aTypedArray;
(0,
i.exportTypedArrayMethod)("slice", function(t, e) {
for (var n = a(s(this), t, e), i = r(this), o = 0, c = n.length, u = new i(c); c > o; )
u[o] = n[o++];
return u
}, o(function() {
new Int8Array(1).slice()
}))
},
KhsS: function(t, e, n) {
n("dG/n")("match")
},
KmKo: function(t, e, n) {
var i = n("xluM")
, r = n("glrk")
, o = n("3Eq5");
t.exports = function(t, e, n) {
var a, s;
r(t);
try {
if (!(a = o(t, "return"))) {
if ("throw" === e)
throw n;
return n
}
a = i(a, t)
} catch (t) {
s = !0,
a = t
}
if ("throw" === e)
throw n;
if (s)
throw a;
return r(a),
n
}
},
KxHI: function(t, e, n) {
"use strict";
var i, r, o, a, s;
n.d(e, "f", function() {
return i
}),
n.d(e, "c", function() {
return r
}),
n.d(e, "j", function() {
return o
}),
n.d(e, "m", function() {
return a
}),
n.d(e, "n", function() {
return s
}),
n.d(e, "d", function() {
return m
}),
n.d(e, "q", function() {
return v
}),
n.d(e, "a", function() {
return c
}),
n.d(e, "p", function() {
return u
}),
n.d(e, "l", function() {
return l
}),
n.d(e, "o", function() {
return d
}),
n.d(e, "i", function() {
return h
}),
n.d(e, "k", function() {
return f
}),
n.d(e, "b", function() {
return p
}),
n.d(e, "e", function() {
return b
}),
n.d(e, "g", function() {
return g
}),
n.d(e, "h", function() {
return y
}),
function(t) {
t.contentChanged = "contentChanged",
t.hideAllMenu = "hideMenu",
t.removeCookiesPadding = "cookies:removePadding",
t.changeCookiesPadding = "cookies:changePadding",
t.hideGameMessage = "hideGameMessage",
t.repaintGameBoard = "repaintBoard",
t.repaintPausedState = "repaintPaused",
t.animateCells = "animateCells",
t.startTimer = "startTimer",
t.stopTimer = "stopTimer",
t.processNewGame = "processNewGame",
t.showImaAds = "showImaAds",
t.currentGameInit = "currentGameInit",
t.mistakeAdded = "mistakeAdded",
t.showMistakesPopup = "showMistakesPopup",
t.showLostProgressPopup = "showLostProgressPopup",
t.setActiveDifficulty = "setActiveDifficulty",
t.selectDifficulty = "selectDifficulty",
t.setActiveMode = "setActiveMode",
t.closeMistakesPopup = "closeMistakesPopup",
t.rewardReady = "rewardReady",
t.rewardGranted = "rewardGranted",
t.rewardDestroyed = "rewardDestroyed",
t.initBannerAds = "initBannerAds",
t.userAction = "userAction",
t.showSmartHint = "showSmartHint",
t.gameStarted = "gameStarted",
t.requestNewBanner = "requestNewBanner",
t.removeNewBanner = "removeNewBanner",
t.showWinScreenBanner = "showWinScreenBanner",
t.interLoaded = "interLoaded",
t.interDestroyed = "interDestroyed",
t.interImpression = "interImpression",
t.startScoreTimer = "startScoreTimer",
t.stopScoreTimer = "stopScoreTimer",
t.sendGameResult = "sendGameResult",
t.AniviewLoaded = "AniviewLoaded",
t.resetGsInterTimer = "resetGsInterTimer",
t.addGsInterTime = "addGsInterTime"
}(i || (i = {})),
function(t) {
t.desktop = "desktop",
t.phone = "phone",
t.tablet = "tablet"
}(r || (r = {})),
function(t) {
t.classic = "classic",
t.killer = "killer",
t.daily = "daily"
}(o || (o = {})),
function(t) {
t.dc = "dc-calendar"
}(a || (a = {})),
function(t) {
t.imaAds = "ima_ads",
t.imaAdsDelay = "ima_ads_delay",
t.imaAdsOnStart = "ima_ads_on_start",
t.imaAdsOnRestart = "ima_ads_on_restart",
t.imaAdsTest = "ima_ads_test_tag",
t.showCheatMenu = "show_cheat_menu",
t.saveHistory = "save_history_actions",
t.countHints = "count_hints",
t.countMistakes = "count_mistakes"
}(s || (s = {}));
var c, u, l, d, h, f, p, m = ["easy", "medium", "hard", "expert", "evil", "extreme"], v = {
classic: "main",
killer: "main",
event: "liveops"
};
!function(t) {
t.strictlyNecessary = "C0001",
t.performance = "C0002",
t.functional = "C0003",
t.targeting = "C0004",
t.social = "C0005"
}(c || (c = {})),
function(t) {
t.Required = "required",
t.Email = "email",
t.MinLength = "minLength",
t.MaxLength = "maxLength",
t.IncorrectFormat = "incorrectFormat",
t.MaxFileSize = "maxFileSize"
}(u || (u = {})),
function(t) {
t.google = "AdManager",
t.rise = "Rise",
t.aniview = "Aniview",
t.vidazoo = "Vidazoo"
}(l || (l = {})),
function(t) {
t.LastFreeCell = "LastFreeCell",
t.LastRemainingCell = "LastRemainingCell",
t.LastPossibleNumber = "LastPossibleNumber",
t.Notes = "Notes",
t.IncorrectNumber = "IncorrectNumber",
t.FreeCell = "FreeCell",
t.ObviousSingles = "ObviousSingles",
t.ObviousPairs = "ObviousPairs",
t.ObviousTriples = "ObviousTriples",
t.HiddenSingles = "HiddenSingles",
t.HiddenPairs = "HiddenPairs",
t.PointingPairs = "PointingPairs"
}(d || (d = {})),
function(t) {
t.game_win = "game_win",
t.gamescreen_progress = "gamescreen_progress",
t.gamescreen_progress_cell = "gamescreen_progress_cell",
t.game_start = "game_start",
t.game_restart = "game_restart",
t.game_over_restart = "game_over_restart"
}(h || (h = {})),
function(t) {
t.rewarded_mistakes = "rewarded_mistakes",
t.rewarded_add_hint = "rewarded_add_hint",
t.solver = "solver"
}(f || (f = {})),
function(t) {
t.portrait = "portrait",
t.landscape = "landscape"
}(p || (p = {}));
var g, y, b = {
easy: "easy",
medium: "medium",
hard: "hard",
expert: "expert",
evil: "master",
extreme: "extreme"
};
!function(t) {
t.emoji = "emoji",
t.tooltip_blue = "tooltip_blue",
t.tooltip_white = "tooltip_white"
}(g || (g = {})),
function(t) {
t.gamescreen_progress = "gamescreen_progress",
t.gamescreen_progress_cell = "gamescreen_progress_cell"
}(y || (y = {}))
},
Kz25: function(t, e, n) {
"use strict";
n("PKPk");
var i, r = n("I+eb"), o = n("g6v/"), a = n("DTth"), s = n("2oRo"), c = n("A2ZE"), u = n("4zBA"), l = n("N+g0").f, d = n("busE"), h = n("GarU"), f = n("Gi26"), p = n("YNrV"), m = n("TfTi"), v = n("Ta7t"), g = n("ZUd8").codeAt, y = n("X7LM"), b = n("V37c"), w = n("1E5z"), S = n("1tal"), A = n("mGGf"), _ = n("afO8"), x = _.set, O = _.getterFor("URL"), T = A.URLSearchParams, E = A.getState, k = s.URL, I = s.TypeError, C = s.parseInt, R = Math.floor, L = Math.pow, D = u("".charAt), j = u(/./.exec), M = u([].join), P = u(1..toString), B = u([].pop), N = u([].push), G = u("".replace), H = u([].shift), F = u("".split), q = u("".slice), z = u("".toLowerCase), W = u([].unshift), U = /[a-z]/i, V = /[\d+-.a-z]/i, $ = /\d/, Y = /^0x/i, K = /^[0-7]+$/, J = /^\d+$/, Z = /^[\da-f]+$/i, X = /[\0\t\n\r #%/:<>?@[\\\]^|]/, Q = /[\0\t\n\r #/:<>?@[\\\]^|]/, tt = /^[\u0000-\u0020]+|[\u0000-\u0020]+$/g, et = /[\t\n\r]/g, nt = function(t) {
var e, n, i, r;
if ("number" == typeof t) {
for (e = [],
n = 0; n < 4; n++)
W(e, t % 256),
t = R(t / 256);
return M(e, ".")
}
if ("object" == typeof t) {
for (e = "",
i = function(t) {
for (var e = null, n = 1, i = null, r = 0, o = 0; o < 8; o++)
0 !== t[o] ? (r > n && (e = i,
n = r),
i = null,
r = 0) : (null === i && (i = o),
++r);
return r > n && (e = i,
n = r),
e
}(t),
n = 0; n < 8; n++)
r && 0 === t[n] || (r && (r = !1),
i === n ? (e += n ? ":" : "::",
r = !0) : (e += P(t[n], 16),
n < 7 && (e += ":")));
return "[" + e + "]"
}
return t
}, it = {}, rt = p({}, it, {
" ": 1,
'"': 1,
"<": 1,
">": 1,
"`": 1
}), ot = p({}, rt, {
"#": 1,
"?": 1,
"{": 1,
"}": 1
}), at = p({}, ot, {
"/": 1,
":": 1,
";": 1,
"=": 1,
"@": 1,
"[": 1,
"\\": 1,
"]": 1,
"^": 1,
"|": 1
}), st = function(t, e) {
var n = g(t, 0);
return n > 32 && n < 127 && !f(e, t) ? t : encodeURIComponent(t)
}, ct = {
ftp: 21,
file: null,
http: 80,
https: 443,
ws: 80,
wss: 443
}, ut = function(t, e) {
var n;
return 2 == t.length && j(U, D(t, 0)) && (":" == (n = D(t, 1)) || !e && "|" == n)
}, lt = function(t) {
var e;
return t.length > 1 && ut(q(t, 0, 2)) && (2 == t.length || "/" === (e = D(t, 2)) || "\\" === e || "?" === e || "#" === e)
}, dt = function(t) {
return "." === t || "%2e" === z(t)
}, ht = {}, ft = {}, pt = {}, mt = {}, vt = {}, gt = {}, yt = {}, bt = {}, wt = {}, St = {}, At = {}, _t = {}, xt = {}, Ot = {}, Tt = {}, Et = {}, kt = {}, It = {}, Ct = {}, Rt = {}, Lt = {}, Dt = function(t, e, n) {
var i, r, o, a = b(t);
if (e) {
if (r = this.parse(a))
throw I(r);
this.searchParams = null
} else {
if (void 0 !== n && (i = new Dt(n,!0)),
r = this.parse(a, null, i))
throw I(r);
(o = E(new T)).bindURL(this),
this.searchParams = o
}
};
Dt.prototype = {
type: "URL",
parse: function(t, e, n) {
var r, o, a, s, c, u = this, l = e || ht, d = 0, h = "", p = !1, g = !1, y = !1;
for (t = b(t),
e || (u.scheme = "",
u.username = "",
u.password = "",
u.host = null,
u.port = null,
u.path = [],
u.query = null,
u.fragment = null,
u.cannotBeABaseURL = !1,
t = G(t, tt, "")),
t = G(t, et, ""),
r = m(t); d <= r.length; ) {
switch (o = r[d],
l) {
case ht:
if (!o || !j(U, o)) {
if (e)
return "Invalid scheme";
l = pt;
continue
}
h += z(o),
l = ft;
break;
case ft:
if (o && (j(V, o) || "+" == o || "-" == o || "." == o))
h += z(o);
else {
if (":" != o) {
if (e)
return "Invalid scheme";
h = "",
l = pt,
d = 0;
continue
}
if (e && (u.isSpecial() != f(ct, h) || "file" == h && (u.includesCredentials() || null !== u.port) || "file" == u.scheme && !u.host))
return;
if (u.scheme = h,
e)
return void (u.isSpecial() && ct[u.scheme] == u.port && (u.port = null));
h = "",
"file" == u.scheme ? l = Ot : u.isSpecial() && n && n.scheme == u.scheme ? l = mt : u.isSpecial() ? l = bt : "/" == r[d + 1] ? (l = vt,
d++) : (u.cannotBeABaseURL = !0,
N(u.path, ""),
l = Ct)
}
break;
case pt:
if (!n || n.cannotBeABaseURL && "#" != o)
return "Invalid scheme";
if (n.cannotBeABaseURL && "#" == o) {
u.scheme = n.scheme,
u.path = v(n.path),
u.query = n.query,
u.fragment = "",
u.cannotBeABaseURL = !0,
l = Lt;
break
}
l = "file" == n.scheme ? Ot : gt;
continue;
case mt:
if ("/" != o || "/" != r[d + 1]) {
l = gt;
continue
}
l = wt,
d++;
break;
case vt:
if ("/" == o) {
l = St;
break
}
l = It;
continue;
case gt:
if (u.scheme = n.scheme,
o == i)
u.username = n.username,
u.password = n.password,
u.host = n.host,
u.port = n.port,
u.path = v(n.path),
u.query = n.query;
else if ("/" == o || "\\" == o && u.isSpecial())
l = yt;
else if ("?" == o)
u.username = n.username,
u.password = n.password,
u.host = n.host,
u.port = n.port,
u.path = v(n.path),
u.query = "",
l = Rt;
else {
if ("#" != o) {
u.username = n.username,
u.password = n.password,
u.host = n.host,
u.port = n.port,
u.path = v(n.path),
u.path.length--,
l = It;
continue
}
u.username = n.username,
u.password = n.password,
u.host = n.host,
u.port = n.port,
u.path = v(n.path),
u.query = n.query,
u.fragment = "",
l = Lt
}
break;
case yt:
if (!u.isSpecial() || "/" != o && "\\" != o) {
if ("/" != o) {
u.username = n.username,
u.password = n.password,
u.host = n.host,
u.port = n.port,
l = It;
continue
}
l = St
} else
l = wt;
break;
case bt:
if (l = wt,
"/" != o || "/" != D(h, d + 1))
continue;
d++;
break;
case wt:
if ("/" != o && "\\" != o) {
l = St;
continue
}
break;
case St:
if ("@" == o) {
p && (h = "%40" + h),
p = !0,
a = m(h);
for (var w = 0; w < a.length; w++) {
var S = a[w];
if (":" != S || y) {
var A = st(S, at);
y ? u.password += A : u.username += A
} else
y = !0
}
h = ""
} else if (o == i || "/" == o || "?" == o || "#" == o || "\\" == o && u.isSpecial()) {
if (p && "" == h)
return "Invalid authority";
d -= m(h).length + 1,
h = "",
l = At
} else
h += o;
break;
case At:
case _t:
if (e && "file" == u.scheme) {
l = Et;
continue
}
if (":" != o || g) {
if (o == i || "/" == o || "?" == o || "#" == o || "\\" == o && u.isSpecial()) {
if (u.isSpecial() && "" == h)
return "Invalid host";
if (e && "" == h && (u.includesCredentials() || null !== u.port))
return;
if (s = u.parseHost(h))
return s;
if (h = "",
l = kt,
e)
return;
continue
}
"[" == o ? g = !0 : "]" == o && (g = !1),
h += o
} else {
if ("" == h)
return "Invalid host";
if (s = u.parseHost(h))
return s;
if (h = "",
l = xt,
e == _t)
return
}
break;
case xt:
if (!j($, o)) {
if (o == i || "/" == o || "?" == o || "#" == o || "\\" == o && u.isSpecial() || e) {
if ("" != h) {
var _ = C(h, 10);
if (_ > 65535)
return "Invalid port";
u.port = u.isSpecial() && _ === ct[u.scheme] ? null : _,
h = ""
}
if (e)
return;
l = kt;
continue
}
return "Invalid port"
}
h += o;
break;
case Ot:
if (u.scheme = "file",
"/" == o || "\\" == o)
l = Tt;
else {
if (!n || "file" != n.scheme) {
l = It;
continue
}
if (o == i)
u.host = n.host,
u.path = v(n.path),
u.query = n.query;
else if ("?" == o)
u.host = n.host,
u.path = v(n.path),
u.query = "",
l = Rt;
else {
if ("#" != o) {
lt(M(v(r, d), "")) || (u.host = n.host,
u.path = v(n.path),
u.shortenPath()),
l = It;
continue
}
u.host = n.host,
u.path = v(n.path),
u.query = n.query,
u.fragment = "",
l = Lt
}
}
break;
case Tt:
if ("/" == o || "\\" == o) {
l = Et;
break
}
n && "file" == n.scheme && !lt(M(v(r, d), "")) && (ut(n.path[0], !0) ? N(u.path, n.path[0]) : u.host = n.host),
l = It;
continue;
case Et:
if (o == i || "/" == o || "\\" == o || "?" == o || "#" == o) {
if (!e && ut(h))
l = It;
else if ("" == h) {
if (u.host = "",
e)
return;
l = kt
} else {
if (s = u.parseHost(h))
return s;
if ("localhost" == u.host && (u.host = ""),
e)
return;
h = "",
l = kt
}
continue
}
h += o;
break;
case kt:
if (u.isSpecial()) {
if (l = It,
"/" != o && "\\" != o)
continue
} else if (e || "?" != o)
if (e || "#" != o) {
if (o != i && (l = It,
"/" != o))
continue
} else
u.fragment = "",
l = Lt;
else
u.query = "",
l = Rt;
break;
case It:
if (o == i || "/" == o || "\\" == o && u.isSpecial() || !e && ("?" == o || "#" == o)) {
if (".." === (c = z(c = h)) || "%2e." === c || ".%2e" === c || "%2e%2e" === c ? (u.shortenPath(),
"/" == o || "\\" == o && u.isSpecial() || N(u.path, "")) : dt(h) ? "/" == o || "\\" == o && u.isSpecial() || N(u.path, "") : ("file" == u.scheme && !u.path.length && ut(h) && (u.host && (u.host = ""),
h = D(h, 0) + ":"),
N(u.path, h)),
h = "",
"file" == u.scheme && (o == i || "?" == o || "#" == o))
for (; u.path.length > 1 && "" === u.path[0]; )
H(u.path);
"?" == o ? (u.query = "",
l = Rt) : "#" == o && (u.fragment = "",
l = Lt)
} else
h += st(o, ot);
break;
case Ct:
"?" == o ? (u.query = "",
l = Rt) : "#" == o ? (u.fragment = "",
l = Lt) : o != i && (u.path[0] += st(o, it));
break;
case Rt:
e || "#" != o ? o != i && ("'" == o && u.isSpecial() ? u.query += "%27" : u.query += "#" == o ? "%23" : st(o, it)) : (u.fragment = "",
l = Lt);
break;
case Lt:
o != i && (u.fragment += st(o, rt))
}
d++
}
},
parseHost: function(t) {
var e, n, i;
if ("[" == D(t, 0)) {
if ("]" != D(t, t.length - 1))
return "Invalid host";
if (!(e = function(t) {
var e, n, i, r, o, a, s, c = [0, 0, 0, 0, 0, 0, 0, 0], u = 0, l = null, d = 0, h = function() {
return D(t, d)
};
if (":" == h()) {
if (":" != D(t, 1))
return;
d += 2,
l = ++u
}
for (; h(); ) {
if (8 == u)
return;
if (":" != h()) {
for (e = n = 0; n < 4 && j(Z, h()); )
e = 16 * e + C(h(), 16),
d++,
n++;
if ("." == h()) {
if (0 == n)
return;
if (d -= n,
u > 6)
return;
for (i = 0; h(); ) {
if (r = null,
i > 0) {
if (!("." == h() && i < 4))
return;
d++
}
if (!j($, h()))
return;
for (; j($, h()); ) {
if (o = C(h(), 10),
null === r)
r = o;
else {
if (0 == r)
return;
r = 10 * r + o
}
if (r > 255)
return;
d++
}
c[u] = 256 * c[u] + r,
2 != ++i && 4 != i || u++
}
if (4 != i)
return;
break
}
if (":" == h()) {
if (d++,
!h())
return
} else if (h())
return;
c[u++] = e
} else {
if (null !== l)
return;
d++,
l = ++u
}
}
if (null !== l)
for (a = u - l,
u = 7; 0 != u && a > 0; )
s = c[u],
c[u--] = c[l + a - 1],
c[l + --a] = s;
else if (8 != u)
return;
return c
}(q(t, 1, -1))))
return "Invalid host";
this.host = e
} else if (this.isSpecial()) {
if (t = y(t),
j(X, t))
return "Invalid host";
if (null === (e = function(t) {
var e, n, i, r, o, a, s, c = F(t, ".");
if (c.length && "" == c[c.length - 1] && c.length--,
(e = c.length) > 4)
return t;
for (n = [],
i = 0; i < e; i++) {
if ("" == (r = c[i]))
return t;
if (o = 10,
r.length > 1 && "0" == D(r, 0) && (o = j(Y, r) ? 16 : 8,
r = q(r, 8 == o ? 1 : 2)),
"" === r)
a = 0;
else {
if (!j(10 == o ? J : 8 == o ? K : Z, r))
return t;
a = C(r, o)
}
N(n, a)
}
for (i = 0; i < e; i++)
if (a = n[i],
i == e - 1) {
if (a >= L(256, 5 - e))
return null
} else if (a > 255)
return null;
for (s = B(n),
i = 0; i < n.length; i++)
s += n[i] * L(256, 3 - i);
return s
}(t)))
return "Invalid host";
this.host = e
} else {
if (j(Q, t))
return "Invalid host";
for (e = "",
n = m(t),
i = 0; i < n.length; i++)
e += st(n[i], it);
this.host = e
}
},
cannotHaveUsernamePasswordPort: function() {
return !this.host || this.cannotBeABaseURL || "file" == this.scheme
},
includesCredentials: function() {
return "" != this.username || "" != this.password
},
isSpecial: function() {
return f(ct, this.scheme)
},
shortenPath: function() {
var t = this.path
, e = t.length;
!e || "file" == this.scheme && 1 == e && ut(t[0], !0) || t.length--
},
serialize: function() {
var t = this
, e = t.scheme
, n = t.username
, i = t.password
, r = t.host
, o = t.port
, a = t.path
, s = t.query
, c = t.fragment
, u = e + ":";
return null !== r ? (u += "//",
t.includesCredentials() && (u += n + (i ? ":" + i : "") + "@"),
u += nt(r),
null !== o && (u += ":" + o)) : "file" == e && (u += "//"),
u += t.cannotBeABaseURL ? a[0] : a.length ? "/" + M(a, "/") : "",
null !== s && (u += "?" + s),
null !== c && (u += "#" + c),
u
},
setHref: function(t) {
var e = this.parse(t);
if (e)
throw I(e);
this.searchParams.update()
},
getOrigin: function() {
var t = this.scheme
, e = this.port;
if ("blob" == t)
try {
return new jt(t.path[0]).origin
} catch (t) {
return "null"
}
return "file" != t && this.isSpecial() ? t + "://" + nt(this.host) + (null !== e ? ":" + e : "") : "null"
},
getProtocol: function() {
return this.scheme + ":"
},
setProtocol: function(t) {
this.parse(b(t) + ":", ht)
},
getUsername: function() {
return this.username
},
setUsername: function(t) {
var e = m(b(t));
if (!this.cannotHaveUsernamePasswordPort()) {
this.username = "";
for (var n = 0; n < e.length; n++)
this.username += st(e[n], at)
}
},
getPassword: function() {
return this.password
},
setPassword: function(t) {
var e = m(b(t));
if (!this.cannotHaveUsernamePasswordPort()) {
this.password = "";
for (var n = 0; n < e.length; n++)
this.password += st(e[n], at)
}
},
getHost: function() {
var t = this.host
, e = this.port;
return null === t ? "" : null === e ? nt(t) : nt(t) + ":" + e
},
setHost: function(t) {
this.cannotBeABaseURL || this.parse(t, At)
},
getHostname: function() {
var t = this.host;
return null === t ? "" : nt(t)
},
setHostname: function(t) {
this.cannotBeABaseURL || this.parse(t, _t)
},
getPort: function() {
var t = this.port;
return null === t ? "" : b(t)
},
setPort: function(t) {
this.cannotHaveUsernamePasswordPort() || ("" == (t = b(t)) ? this.port = null : this.parse(t, xt))
},
getPathname: function() {
var t = this.path;
return this.cannotBeABaseURL ? t[0] : t.length ? "/" + M(t, "/") : ""
},
setPathname: function(t) {
this.cannotBeABaseURL || (this.path = [],
this.parse(t, kt))
},
getSearch: function() {
var t = this.query;
return t ? "?" + t : ""
},
setSearch: function(t) {
"" == (t = b(t)) ? this.query = null : ("?" == D(t, 0) && (t = q(t, 1)),
this.query = "",
this.parse(t, Rt)),
this.searchParams.update()
},
getSearchParams: function() {
return this.searchParams.facade
},
getHash: function() {
var t = this.fragment;
return t ? "#" + t : ""
},
setHash: function(t) {
"" != (t = b(t)) ? ("#" == D(t, 0) && (t = q(t, 1)),
this.fragment = "",
this.parse(t, Lt)) : this.fragment = null
},
update: function() {
this.query = this.searchParams.serialize() || null
}
};
var jt = function(t) {
var e = h(this, Mt)
, n = S(arguments.length, 1) > 1 ? arguments[1] : void 0
, i = x(e, new Dt(t,!1,n));
o || (e.href = i.serialize(),
e.origin = i.getOrigin(),
e.protocol = i.getProtocol(),
e.username = i.getUsername(),
e.password = i.getPassword(),
e.host = i.getHost(),
e.hostname = i.getHostname(),
e.port = i.getPort(),
e.pathname = i.getPathname(),
e.search = i.getSearch(),
e.searchParams = i.getSearchParams(),
e.hash = i.getHash())
}
, Mt = jt.prototype
, Pt = function(t, e) {
return {
get: function() {
return O(this)[t]()
},
set: e && function(t) {
return O(this)[e](t)
}
,
configurable: !0,
enumerable: !0
}
};
if (o && l(Mt, {
href: Pt("serialize", "setHref"),
origin: Pt("getOrigin"),
protocol: Pt("getProtocol", "setProtocol"),
username: Pt("getUsername", "setUsername"),
password: Pt("getPassword", "setPassword"),
host: Pt("getHost", "setHost"),
hostname: Pt("getHostname", "setHostname"),
port: Pt("getPort", "setPort"),
pathname: Pt("getPathname", "setPathname"),
search: Pt("getSearch", "setSearch"),
searchParams: Pt("getSearchParams"),
hash: Pt("getHash", "setHash")
}),
d(Mt, "toJSON", function() {
return O(this).serialize()
}, {
enumerable: !0
}),
d(Mt, "toString", function() {
return O(this).serialize()
}, {
enumerable: !0
}),
k) {
var Bt = k.createObjectURL
, Nt = k.revokeObjectURL;
Bt && d(jt, "createObjectURL", c(Bt, k)),
Nt && d(jt, "revokeObjectURL", c(Nt, k))
}
w(jt, "URL"),
r({
global: !0,
forced: !a,
sham: !o
}, {
URL: jt
})
},
LKBx: function(t, e, n) {
"use strict";
var i, r = n("I+eb"), o = n("4zBA"), a = n("Bs8V").f, s = n("UMSQ"), c = n("V37c"), u = n("WjRb"), l = n("HYAF"), d = n("qxPZ"), h = n("xDBR"), f = o("".startsWith), p = o("".slice), m = Math.min, v = d("startsWith");
r({
target: "String",
proto: !0,
forced: !!(h || v || (i = a(String.prototype, "startsWith"),
!i || i.writable)) && !v
}, {
startsWith: function(t) {
var e = c(l(this));
u(t);
var n = s(m(arguments.length > 1 ? arguments[1] : void 0, e.length))
, i = c(t);
return f ? f(e, i, n) : p(e, n, n + i.length) === i
}
})
},
LKh6: function(t, e, n) {
"use strict";
n.d(e, "a", function() {
return i
}),
n.d(e, "b", function() {
return r
}),
n.d(e, "c", function() {
return o
}),
n.d(e, "g", function() {
return a
}),
n.d(e, "f", function() {
return s
}),
n.d(e, "d", function() {
return c
}),
n.d(e, "e", function() {
return u
});
var i = 980
, r = (navigator.userAgent.toLowerCase().indexOf("android"),
/CriOS/i.test(navigator.userAgent))
, o = /FxiOS/i.test(navigator.userAgent)
, a = /UCBrowser/i.test(navigator.userAgent)
, s = /^((?!chrome|android).)*safari/i.test(navigator.userAgent)
, c = /iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream
, u = !!document.documentMode;
window.innerWidth
},
LPSS: function(t, e, n) {
var i, r, o, a, s = n("2oRo"), c = n("K6Rb"), u = n("A2ZE"), l = n("Fib7"), d = n("Gi26"), h = n("0Dky"), f = n("G+Rx"), p = n("82ph"), m = n("zBJ4"), v = n("1tal"), g = n("HNyW"), y = n("YF1G"), b = s.setImmediate, w = s.clearImmediate, S = s.process, A = s.Dispatch, _ = s.Function, x = s.MessageChannel, O = s.String, T = 0, E = {};
try {
i = s.location
} catch (t) {}
var k = function(t) {
if (d(E, t)) {
var e = E[t];
delete E[t],
e()
}
}
, I = function(t) {
return function() {
k(t)
}
}
, C = function(t) {
k(t.data)
}
, R = function(t) {
s.postMessage(O(t), i.protocol + "//" + i.host)
};
b && w || (b = function(t) {
v(arguments.length, 1);
var e = l(t) ? t : _(t)
, n = p(arguments, 1);
return E[++T] = function() {
c(e, void 0, n)
}
,
r(T),
T
}
,
w = function(t) {
delete E[t]
}
,
y ? r = function(t) {
S.nextTick(I(t))
}
: A && A.now ? r = function(t) {
A.now(I(t))
}
: x && !g ? (a = (o = new x).port2,
o.port1.onmessage = C,
r = u(a.postMessage, a)) : s.addEventListener && l(s.postMessage) && !s.importScripts && i && "file:" !== i.protocol && !h(R) ? (r = R,
s.addEventListener("message", C, !1)) : r = "onreadystatechange"in m("script") ? function(t) {
f.appendChild(m("script")).onreadystatechange = function() {
f.removeChild(this),
k(t)
}
}
: function(t) {
setTimeout(I(t), 0)
}
),
t.exports = {
set: b,
clear: w
}
},
LQDL: function(t, e, n) {
var i, r, o = n("2oRo"), a = n("NC/Y"), s = o.process, c = o.Deno, u = s && s.versions || c && c.version, l = u && u.v8;
l && (r = (i = l.split("."))[0] > 0 && i[0] < 4 ? 1 : +(i[0] + i[1])),
!r && a && (!(i = a.match(/Edge\/(\d+)/)) || i[1] >= 74) && (i = a.match(/Chrome\/(\d+)/)) && (r = +i[1]),
t.exports = r
},
LTMS: function(t, e, n) {},
Lh12: function(t, e, n) {
"use strict";
n.d(e, "a", function() {
return a
});
var i = function() {
function t() {
this.items = document.querySelectorAll("#numpad .numpad-item")
}
return t.prototype.bindClickItem = function(t) {
this.items.forEach(function(e) {
return e.addEventListener("mousedown", t)
})
}
,
t
}()
, r = function() {
return function() {}
}()
, o = n("ELuu")
, a = function() {
function t(t) {
this.store = t,
this.view = new i,
this.model = new r,
this.view.bindClickItem(this.handleClickItem.bind(this)),
window.addEventListener("keydown", this.handleKeyDown.bind(this))
}
return t.prototype.handleClickItem = function(t) {
var e = parseInt(t.target.dataset.value);
this.store.dispatch(o.e.updateBoard, {
type: o.a.value,
value: e
})
}
,
t.prototype.handleKeyDown = function(t) {
var e = this.getDigitValueByKeyCode(t.keyCode);
t.keyCode >= 37 && t.keyCode <= 40 ? (t.preventDefault(),
this.store.dispatch(o.e.updateBoard, {
type: o.a.move,
value: t.keyCode
})) : "number" == typeof e ? e ? this.store.dispatch(o.e.updateBoard, {
type: o.a.value,
value: e
}) : this.store.dispatch(o.e.updateBoard, {
type: o.a.erase
}) : 8 !== t.keyCode && 46 !== t.keyCode || this.store.dispatch(o.e.updateBoard, {
type: o.a.erase
})
}
,
t.prototype.getDigitValueByKeyCode = function(t) {
return t >= 96 && t <= 105 ? t - 96 : t >= 48 && t <= 57 && t - 48
}
,
t
}()
},
Lu1R: function(t, e, n) {},
MoCz: function(t, e, n) {
"use strict";
var i = n("67WC")
, r = n("K6Rb")
, o = n("5Yz+")
, a = i.aTypedArray;
(0,
i.exportTypedArrayMethod)("lastIndexOf", function(t) {
var e = arguments.length;
return r(o, a(this), e > 1 ? [t, arguments[1]] : [t])
})
},
"N+g0": function(t, e, n) {
var i = n("g6v/")
, r = n("rtlb")
, o = n("m/L8")
, a = n("glrk")
, s = n("/GqU")
, c = n("33Wh");
e.f = i && !r ? Object.defineProperties : function(t, e) {
a(t);
for (var n, i = s(e), r = c(e), u = r.length, l = 0; u > l; )
o.f(t, n = r[l++], i[n]);
return t
}
},
"NC/Y": function(t, e, n) {
var i = n("0GbY");
t.exports = i("navigator", "userAgent") || ""
},
NaFW: function(t, e, n) {
var i = n("9d/t")
, r = n("3Eq5")
, o = n("P4y1")
, a = n("tiKp")("iterator");
t.exports = function(t) {
if (null != t)
return r(t, a) || r(t, "@@iterator") || o[i(t)]
}
},
Nc87: function(t, e, n) {
"use strict";
n.d(e, "a", function() {
return p
});
var i = n("J8vR")
, r = "pencil-mode"
, o = "active"
, a = "show-promo-bubble"
, s = 6e4
, c = function() {
function t(t) {
this.store = t,
this.undo = document.querySelector('.game-controls-item[data-action="undo"]'),
this.erase = document.querySelector('.game-controls-item[data-action="erase"]'),
this.clearAll = document.querySelector('.game-controls-item[data-action="erase-all"]'),
this.notes = document.querySelector('.game-controls-item[data-action="pencil"]'),
this.hint = document.querySelector('.game-controls-item[data-action="hint"]'),
this.hintLabel = document.querySelector(".game-controls-hint-label"),
this.wrapper = document.getElementById("sudoku-wrapper"),
this.body = document.querySelector("body"),
this.menuWrappers = document.querySelectorAll(".new-game-button-wrapper")
}
return Object.defineProperty(t.prototype, "canShowPromoBubble", {
get: function() {
var t = !1;
return this.menuWrappers.forEach(function(e) {
Object(i.a)(e).contains("menu-visible") && (t = !0)
}),
!(Object(i.a)(this.body).contains("main-menu-open") || t)
},
enumerable: !1,
configurable: !0
}),
t.prototype.bindClickUndo = function(t) {
this.undo && this.undo.addEventListener("mousedown", t)
}
,
t.prototype.bindClickClearAll = function(t) {
this.clearAll && this.clearAll.addEventListener("mousedown", t)
}
,
t.prototype.bindClickErase = function(t) {
this.erase && this.erase.addEventListener("mousedown", t)
}
,
t.prototype.bindClickNotes = function(t) {
this.notes && this.notes.addEventListener("mousedown", t)
}
,
t.prototype.bindClickHint = function(t) {
this.hint && this.hint.addEventListener("mousedown", t)
}
,
t.prototype.updateHintLabel = function() {
this.hintLabel && ("number" == typeof this.store.state.currentGame.hints && Object(i.a)(this.hintLabel).add(o),
this.hintLabel.innerText = this.store.state.currentGame.hints ? String(this.store.state.currentGame.hints) : "Ad",
this.store.state.currentGame.hints ? Object(i.a)(this.hintLabel).remove("show-badge-icon") : Object(i.a)(this.hintLabel).add("show-badge-icon"))
}
,
t.prototype.toggleNotesMode = function() {
this.wrapper && (this.store.state.notesMode ? Object(i.a)(this.wrapper).add(r) : Object(i.a)(this.wrapper).remove(r))
}
,
t.prototype.showPromoBubble = function() {
Object(i.a)(this.body).add(a)
}
,
t.prototype.hidePromoBubble = function() {
Object(i.a)(this.body).remove(a)
}
,
t
}()
, u = n("ELuu")
, l = n("Q/5a")
, d = n("KxHI")
, h = n("Vl5E")
, f = n("kFz4")
, p = function() {
function t(t) {
this.store = t,
this.view = new c(t),
this.view.bindClickUndo(this.handleClickUndo.bind(this)),
this.view.bindClickErase(this.handleClickErase.bind(this)),
window.useLimitationHintsAndMistakes || this.view.bindClickHint(this.handleClickHint.bind(this)),
this.view.bindClickNotes(this.handleClickNotes.bind(this)),
this.view.bindClickClearAll(this.handleClickClearAll.bind(this)),
l.a.subscribe(d.f.currentGameInit, this.handleGameInit.bind(this)),
l.a.subscribe(d.f.repaintGameBoard, this.handleGameInit.bind(this)),
l.a.subscribe(d.f.mistakeAdded, this.handleMistakesAdded.bind(this)),
l.a.subscribe(d.f.hideAllMenu, this.handleHideMenus.bind(this)),
l.a.subscribe(d.f.userAction, this.handleAddPromoBubbleTimer.bind(this)),
this.handleAddPromoBubbleTimer()
}
return t.prototype.handleHideMenus = function() {
this.handleAddPromoBubbleTimer(),
this.view.hidePromoBubble()
}
,
t.prototype.handleClickClearAll = function() {
this.store.dispatch(u.e.clearAll)
}
,
t.prototype.handleAddPromoBubbleTimer = function() {
var t, e, n = this;
clearTimeout(this.bubbleTimer),
!this.store.state.canShowPromoBubble || (null === (e = null === (t = this.store.state) || void 0 === t ? void 0 : t.currentGame) || void 0 === e ? void 0 : e.mistakes) >= 3 || (this.bubbleTimer = setTimeout(function() {
n.store.state.finished || n.store.state.showGameOver || !n.view.canShowPromoBubble || n.store.state.pausedGame && !n.store.state.autoPaused || n.store.state.gameOver || n.store.state.imaPlayed || n.store.state.showPopupLostProgress || n.store.state.showSavedPopup || !n.store.state.hideMessageTip || (l.a.emit(d.f.hideAllMenu),
n.store.dispatch(u.e.setPromoBubbles),
n.view.showPromoBubble())
}, s))
}
,
t.prototype.handleMistakesAdded = function() {
var t, e, n = this;
!this.store.state.canShowPromoBubble || (null === (e = null === (t = this.store.state) || void 0 === t ? void 0 : t.currentGame) || void 0 === e ? void 0 : e.mistakes) >= 3 || setTimeout(function() {
l.a.emit(d.f.hideAllMenu),
n.store.dispatch(u.e.setPromoBubbles),
n.view.showPromoBubble()
}, 300)
}
,
t.prototype.handleGameInit = function() {
this.view.updateHintLabel()
}
,
t.prototype.handleClickUndo = function() {
this.store.dispatch(u.e.updateBoard, {
type: u.a.undo
})
}
,
t.prototype.handleClickErase = function() {
this.store.dispatch(u.e.updateBoard, {
type: u.a.erase
})
}
,
t.prototype.handleClickNotes = function() {
this.store.dispatch(u.e.updateBoard, {
type: u.a.note,
value: !this.store.state.notesMode
}),
this.view.toggleNotesMode()
}
,
t.prototype.handleClickHint = function() {
this.store.dispatch(u.e.updateBoard, {
type: u.a.hint
}),
this.view.updateHintLabel(),
Object(h.a)("g_hint_needed"),
f.a.send("g_hint_needed")
}
,
t
}()
},
O741: function(t, e, n) {
var i = n("2oRo")
, r = n("Fib7")
, o = i.String
, a = i.TypeError;
t.exports = function(t) {
if ("object" == typeof t || r(t))
return t;
throw a("Can't set " + o(t) + " as a prototype")
}
},
Om6b: function(t, e, n) {
"use strict";
n.d(e, "c", function() {
return r
}),
n.d(e, "a", function() {
return o
}),
n.d(e, "k", function() {
return a
}),
n.d(e, "d", function() {
return s
}),
n.d(e, "i", function() {
return c
}),
n.d(e, "f", function() {
return u
}),
n.d(e, "g", function() {
return l
}),
n.d(e, "e", function() {
return d
}),
n.d(e, "h", function() {
return h
}),
n.d(e, "b", function() {
return i
}),
n.d(e, "j", function() {
return f
});
n("6Ssv");
var i, r = function(t) {
return t.getFullYear() + "_" + t.getMonth() + "_" + t.getDate()
}, o = "dailyInfo", a = function(t, e, n, i) {
return "FULL" !== i ? t.replace("{0}", "DATE" === i ? e.toString() : n.toString()) : t.replace("{0}", e.toString()).replace("{1}", n.toString())
}, s = function(t) {
if (!t || "string" != typeof t)
return !1;
var e = t.split("_");
return e[0] + "_" + e[1]
}, c = function(t, e) {
var n = Math.abs(t - e) / 1e3;
return Math.floor(n / 86400) >= 1 ? e : t
}, u = function(t, e) {
return 32 - new Date(t,e,32).getDate()
}, l = function(t, e) {
return new Date(t,e,1).getDay()
}, d = function(t, e) {
var n = t - e;
return n < 0 ? 7 + n : n
}, h = function(t) {
return Math.trunc(t.filter(function(t) {
return !!t
}).length / 81 * 100)
};
!function(t) {
t[t.Mon = 1] = "Mon",
t[t.Tue = 2] = "Tue",
t[t.Wed = 3] = "Wed",
t[t.Thu = 4] = "Thu",
t[t.Fri = 5] = "Fri",
t[t.Sat = 6] = "Sat",
t[t.Sun = 0] = "Sun"
}(i || (i = {}));
var f = function(t) {
if (!(t instanceof Date))
return !1;
var e = new Date;
return e.setDate(e.getDate() - 1),
t.getDate() === e.getDate() && t.getMonth() === e.getMonth() && t.getFullYear() === e.getFullYear()
}
},
OmMN: function(t, e, n) {
"use strict";
n.d(e, "c", function() {
return i
}),
n.d(e, "b", function() {
return r
}),
n.d(e, "a", function() {
return o
});
var i = function() {
return window.devicePixelRatio && window.devicePixelRatio > 2 ? 2 * window.devicePixelRatio : 4
}
, r = function(t, e) {
var n = t.cell
, i = t.outer;
void 0 === e && (e = 0);
for (var r = [], o = 0; o < 9; o++)
for (var a = 0; a < 9; a++)
r.push({
x: e + i + n * a,
y: e + i + n * o,
cubeId: "" + Math.floor(o / 3) + Math.floor(a / 3),
row: o,
col: a
});
return r
}
, o = function(t, e, n) {
for (var i = e.reduce(function(e, n) {
var i = n.reduce(function(e, n) {
return e += Number(t[n])
}, 0);
return e.push(i),
e
}, []), r = new Array(9), o = 0; o < r.length; o++)
r[o] = new Array(9).fill(0);
for (var a = 0; a < e.length; a++) {
var s = e[a];
for (o = 0; o < s.length; o++) {
var c = s[o];
r[n[c].row][n[c].col] = a
}
}
return {
array: r,
sum: i
}
}
},
Onu3: function(t, e, n) {
"use strict";
var i = n("67WC")
, r = n("tycR").findIndex
, o = i.aTypedArray;
(0,
i.exportTypedArrayMethod)("findIndex", function(t) {
return r(o(this), t, arguments.length > 1 ? arguments[1] : void 0)
})
},
OpvP: function(t, e, n) {
var i = n("4zBA");
t.exports = i({}.isPrototypeOf)
},
P4y1: function(t, e) {
t.exports = {}
},
P8wP: function(t, e, n) {
"use strict";
var i = n("67WC")
, r = n("tycR").map
, o = n("trfz")
, a = i.aTypedArray;
(0,
i.exportTypedArrayMethod)("map", function(t) {
return r(a(this), t, arguments.length > 1 ? arguments[1] : void 0, function(t, e) {
return new (o(t))(e)
})
})
},
PDX0: function(t, e) {
(function(e) {
t.exports = e
}
).call(this, {})
},
PF2M: function(t, e, n) {
"use strict";
var i = n("2oRo")
, r = n("xluM")
, o = n("67WC")
, a = n("B/qT")
, s = n("GC2F")
, c = n("ewvW")
, u = n("0Dky")
, l = i.RangeError
, d = i.Int8Array
, h = d && d.prototype
, f = h && h.set
, p = o.aTypedArray
, m = o.exportTypedArrayMethod
, v = !u(function() {
var t = new Uint8ClampedArray(2);
return r(f, t, {
length: 1,
0: 3
}, 1),
3 !== t[1]
})
, g = v && o.NATIVE_ARRAY_BUFFER_VIEWS && u(function() {
var t = new d(2);
return t.set(1),
t.set("2", 1),
0 !== t[0] || 2 !== t[1]
});
m("set", function(t) {
p(this);
var e = s(arguments.length > 1 ? arguments[1] : void 0, 1)
, n = c(t);
if (v)
return r(f, this, n, e);
var i = this.length
, o = a(n)
, u = 0;
if (o + e > i)
throw l("Wrong length");
for (; u < o; )
this[e + u] = n[u++]
}, !v || g)
},
PKPk: function(t, e, n) {
"use strict";
var i = n("ZUd8").charAt
, r = n("V37c")
, o = n("afO8")
, a = n("fdAy")
, s = o.set
, c = o.getterFor("String Iterator");
a(String, "String", function(t) {
s(this, {
type: "String Iterator",
string: r(t),
index: 0
})
}, function() {
var t, e = c(this), n = e.string, r = e.index;
return r >= n.length ? {
value: void 0,
done: !0
} : (t = i(n, r),
e.index += t.length,
{
value: t,
done: !1
})
})
},
PzqY: function(t, e, n) {
var i = n("I+eb")
, r = n("g6v/")
, o = n("glrk")
, a = n("oEtG")
, s = n("m/L8");
i({
target: "Reflect",
stat: !0,
forced: n("0Dky")(function() {
Reflect.defineProperty(s.f({}, 1, {
value: 1
}), 1, {
value: 2
})
}),
sham: !r
}, {
defineProperty: function(t, e, n) {
o(t);
var i = a(e);
o(n);
try {
return s.f(t, i, n),
!0
} catch (t) {
return !1
}
}
})
},
"Q/5a": function(t, e, n) {
"use strict";
n.d(e, "a", function() {
return i
});
var i = new (function() {
function t() {
this.listeners = {}
}
return t.prototype.emit = function(t) {
for (var e = [], n = 1; n < arguments.length; n++)
e[n - 1] = arguments[n];
return !!Array.isArray(this.listeners[t]) && (this.listeners[t].forEach(function(t) {
t.apply(void 0, e)
}),
!0)
}
,
t.prototype.subscribe = function(t, e) {
var n = this;
return this.listeners[t] = this.listeners[t] || [],
this.listeners[t].push(e),
function() {
n.listeners[t] = n.listeners[t].filter(function(t) {
return t !== e
})
}
}
,
t
}())
},
QFcT: function(t, e, n) {
var i = n("I+eb")
, r = Math.hypot
, o = Math.abs
, a = Math.sqrt;
i({
target: "Math",
stat: !0,
forced: !!r && r(1 / 0, NaN) !== 1 / 0
}, {
hypot: function(t, e) {
for (var n, i, r = 0, s = 0, c = arguments.length, u = 0; s < c; )
u < (n = o(arguments[s++])) ? (r = r * (i = u / n) * i + 1,
u = n) : r += n > 0 ? (i = n / u) * i : n;
return u === 1 / 0 ? 1 / 0 : u * a(r)
}
})
},
QGkA: function(t, e, n) {
n("RNIs")("flat")
},
QIpd: function(t, e, n) {
var i = n("4zBA");
t.exports = i(1..valueOf)
},
QNWe: function(t, e, n) {
var i = n("0Dky");
t.exports = !i(function() {
var t = function() {}
.bind();
return "function" != typeof t || t.hasOwnProperty("prototype")
})
},
Qnkg: function(t, e, n) {},
Qo9l: function(t, e, n) {
var i = n("2oRo");
t.exports = i
},
RK3t: function(t, e, n) {
var i = n("2oRo")
, r = n("4zBA")
, o = n("0Dky")
, a = n("xrYK")
, s = i.Object
, c = r("".split);
t.exports = o(function() {
return !s("z").propertyIsEnumerable(0)
}) ? function(t) {
return "String" == a(t) ? c(t, "") : s(t)
}
: s
},
RN6c: function(t, e, n) {
var i = n("2oRo");
t.exports = function(t, e) {
var n = i.console;
n && n.error && (1 == arguments.length ? n.error(t) : n.error(t, e))
}
},
RNIs: function(t, e, n) {
var i = n("tiKp")
, r = n("fHMY")
, o = n("m/L8")
, a = i("unscopables")
, s = Array.prototype;
null == s[a] && o.f(s, a, {
configurable: !0,
value: r(null)
}),
t.exports = function(t) {
s[a][t] = !0
}
},
ROdP: function(t, e, n) {
var i = n("hh1v")
, r = n("xrYK")
, o = n("tiKp")("match");
t.exports = function(t) {
var e;
return i(t) && (void 0 !== (e = t[o]) ? !!e : "RegExp" == r(t))
}
},
Rm1S: function(t, e, n) {
"use strict";
var i = n("xluM")
, r = n("14Sl")
, o = n("glrk")
, a = n("UMSQ")
, s = n("V37c")
, c = n("HYAF")
, u = n("3Eq5")
, l = n("iqWW")
, d = n("FMNM");
r("match", function(t, e, n) {
return [function(e) {
var n = c(this)
, r = null == e ? void 0 : u(e, t);
return r ? i(r, e, n) : new RegExp(e)[t](s(n))
}
, function(t) {
var i = o(this)
, r = s(t)
, c = n(e, i, r);
if (c.done)
return c.value;
if (!i.global)
return d(i, r);
var u = i.unicode;
i.lastIndex = 0;
for (var h, f = [], p = 0; null !== (h = d(i, r)); ) {
var m = s(h[0]);
f[p] = m,
"" === m && (i.lastIndex = l(r, a(i.lastIndex), u)),
p++
}
return 0 === p ? null : f
}
]
})
},
RrkX: function(t, e, n) {},
SEBh: function(t, e, n) {
var i = n("glrk")
, r = n("UIe5")
, o = n("tiKp")("species");
t.exports = function(t, e) {
var n, a = i(t).constructor;
return void 0 === a || null == (n = i(a)[o]) ? e : r(n)
}
},
SFrS: function(t, e, n) {
var i = n("2oRo")
, r = n("xluM")
, o = n("Fib7")
, a = n("hh1v")
, s = i.TypeError;
t.exports = function(t, e) {
var n, i;
if ("string" === e && o(n = t.toString) && !a(i = r(n, t)))
return i;
if (o(n = t.valueOf) && !a(i = r(n, t)))
return i;
if ("string" !== e && o(n = t.toString) && !a(i = r(n, t)))
return i;
throw s("Can't convert object to primitive value")
}
},
STAE: function(t, e, n) {
var i = n("LQDL")
, r = n("0Dky");
t.exports = !!Object.getOwnPropertySymbols && !r(function() {
var t = Symbol();
return !String(t) || !(Object(t)instanceof Symbol) || !Symbol.sham && i && i < 41
})
},
SYor: function(t, e, n) {
"use strict";
var i = n("I+eb")
, r = n("WKiH").trim;
i({
target: "String",
proto: !0,
forced: n("yNLB")("trim")
}, {
trim: function() {
return r(this)
}
})
},
SpvK: function(t, e, n) {
n("dOgj")("Float64", function(t) {
return function(e, n, i) {
return t(this, e, n, i)
}
})
},
SuFq: function(t, e, n) {
var i = n("I+eb")
, r = n("0GbY")
, o = n("K6Rb")
, a = n("BTho")
, s = n("UIe5")
, c = n("glrk")
, u = n("hh1v")
, l = n("fHMY")
, d = n("0Dky")
, h = r("Reflect", "construct")
, f = Object.prototype
, p = [].push
, m = d(function() {
function t() {}
return !(h(function() {}, [], t)instanceof t)
})
, v = !d(function() {
h(function() {})
})
, g = m || v;
i({
target: "Reflect",
stat: !0,
forced: g,
sham: g
}, {
construct: function(t, e) {
s(t),
c(e);
var n = arguments.length < 3 ? t : s(arguments[2]);
if (v && !m)
return h(t, e, n);
if (t == n) {
switch (e.length) {
case 0:
return new t;
case 1:
return new t(e[0]);
case 2:
return new t(e[0],e[1]);
case 3:
return new t(e[0],e[1],e[2]);
case 4:
return new t(e[0],e[1],e[2],e[3])
}
var i = [null];
return o(p, i, e),
new (o(a, t, i))
}
var r = n.prototype
, d = l(u(r) ? r : f)
, g = o(t, d, e);
return u(g) ? g : d
}
})
},
T63A: function(t, e, n) {
var i = n("I+eb")
, r = n("b1O7").entries;
i({
target: "Object",
stat: !0
}, {
entries: function(t) {
return r(t)
}
})
},
T63f: function(t, e, n) {
var i = n("0Dky")
, r = n("hh1v")
, o = n("xrYK")
, a = n("2Gvs")
, s = Object.isExtensible
, c = i(function() {
s(1)
});
t.exports = c || a ? function(t) {
return !!r(t) && ((!a || "ArrayBuffer" != o(t)) && (!s || s(t)))
}
: s
},
TWNs: function(t, e, n) {
var i = n("g6v/")
, r = n("2oRo")
, o = n("4zBA")
, a = n("lMq5")
, s = n("cVYH")
, c = n("kRJp")
, u = n("m/L8").f
, l = n("JBy8").f
, d = n("OpvP")
, h = n("ROdP")
, f = n("V37c")
, p = n("rW0t")
, m = n("n3/R")
, v = n("busE")
, g = n("0Dky")
, y = n("Gi26")
, b = n("afO8").enforce
, w = n("JiZb")
, S = n("tiKp")
, A = n("/OPJ")
, _ = n("EHx7")
, x = S("match")
, O = r.RegExp
, T = O.prototype
, E = r.SyntaxError
, k = o(p)
, I = o(T.exec)
, C = o("".charAt)
, R = o("".replace)
, L = o("".indexOf)
, D = o("".slice)
, j = /^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/
, M = /a/g
, P = /a/g
, B = new O(M) !== M
, N = m.MISSED_STICKY
, G = m.UNSUPPORTED_Y
, H = i && (!B || N || A || _ || g(function() {
return P[x] = !1,
O(M) != M || O(P) == P || "/a/i" != O(M, "i")
}));
if (a("RegExp", H)) {
for (var F = function(t, e) {
var n, i, r, o, a, u, l = d(T, this), p = h(t), m = void 0 === e, v = [], g = t;
if (!l && p && m && t.constructor === F)
return t;
if ((p || d(T, t)) && (t = t.source,
m && (e = "flags"in g ? g.flags : k(g))),
t = void 0 === t ? "" : f(t),
e = void 0 === e ? "" : f(e),
g = t,
A && "dotAll"in M && (i = !!e && L(e, "s") > -1) && (e = R(e, /s/g, "")),
n = e,
N && "sticky"in M && (r = !!e && L(e, "y") > -1) && G && (e = R(e, /y/g, "")),
_ && (t = (o = function(t) {
for (var e, n = t.length, i = 0, r = "", o = [], a = {}, s = !1, c = !1, u = 0, l = ""; i <= n; i++) {
if ("\\" === (e = C(t, i)))
e += C(t, ++i);
else if ("]" === e)
s = !1;
else if (!s)
switch (!0) {
case "[" === e:
s = !0;
break;
case "(" === e:
I(j, D(t, i + 1)) && (i += 2,
c = !0),
r += e,
u++;
continue;
case ">" === e && c:
if ("" === l || y(a, l))
throw new E("Invalid capture group name");
a[l] = !0,
o[o.length] = [l, u],
c = !1,
l = "";
continue
}
c ? l += e : r += e
}
return [r, o]
}(t))[0],
v = o[1]),
a = s(O(t, e), l ? this : T, F),
(i || r || v.length) && (u = b(a),
i && (u.dotAll = !0,
u.raw = F(function(t) {
for (var e, n = t.length, i = 0, r = "", o = !1; i <= n; i++)
"\\" !== (e = C(t, i)) ? o || "." !== e ? ("[" === e ? o = !0 : "]" === e && (o = !1),
r += e) : r += "[\\s\\S]" : r += e + C(t, ++i);
return r
}(t), n)),
r && (u.sticky = !0),
v.length && (u.groups = v)),
t !== g)
try {
c(a, "source", "" === g ? "(?:)" : g)
} catch (t) {}
return a
}, q = function(t) {
t in F || u(F, t, {
configurable: !0,
get: function() {
return O[t]
},
set: function(e) {
O[t] = e
}
})
}, z = l(O), W = 0; z.length > W; )
q(z[W++]);
T.constructor = F,
F.prototype = T,
v(r, "RegExp", F)
}
w("RegExp")
},
TWQb: function(t, e, n) {
var i = n("/GqU")
, r = n("I8vh")
, o = n("B/qT")
, a = function(t) {
return function(e, n, a) {
var s, c = i(e), u = o(c), l = r(a, u);
if (t && n != n) {
for (; u > l; )
if ((s = c[l++]) != s)
return !0
} else
for (; u > l; l++)
if ((t || l in c) && c[l] === n)
return t || l || 0;
return !t && -1
}
};
t.exports = {
includes: a(!0),
indexOf: a(!1)
}
},
TZCg: function(t, e, n) {
"use strict";
var i = n("I+eb")
, r = n("DMt2").start;
i({
target: "String",
proto: !0,
forced: n("mgyK")
}, {
padStart: function(t) {
return r(this, t, arguments.length > 1 ? arguments[1] : void 0)
}
})
},
Ta7t: function(t, e, n) {
var i = n("2oRo")
, r = n("I8vh")
, o = n("B/qT")
, a = n("hBjN")
, s = i.Array
, c = Math.max;
t.exports = function(t, e, n) {
for (var i = o(t), u = r(e, i), l = r(void 0 === n ? i : n, i), d = s(c(l - u, 0)), h = 0; u < l; u++,
h++)
a(d, h, t[u]);
return d.length = h,
d
}
},
TeQF: function(t, e, n) {
"use strict";
var i = n("I+eb")
, r = n("tycR").filter;
i({
target: "Array",
proto: !0,
forced: !n("Hd5f")("filter")
}, {
filter: function(t) {
return r(this, t, arguments.length > 1 ? arguments[1] : void 0)
}
})
},
TfTi: function(t, e, n) {
"use strict";
var i = n("2oRo")
, r = n("A2ZE")
, o = n("xluM")
, a = n("ewvW")
, s = n("m92n")
, c = n("6VoE")
, u = n("aO6C")
, l = n("B/qT")
, d = n("hBjN")
, h = n("mh/w")
, f = n("NaFW")
, p = i.Array;
t.exports = function(t) {
var e = a(t)
, n = u(this)
, i = arguments.length
, m = i > 1 ? arguments[1] : void 0
, v = void 0 !== m;
v && (m = r(m, i > 2 ? arguments[2] : void 0));
var g, y, b, w, S, A, _ = f(e), x = 0;
if (!_ || this == p && c(_))
for (g = l(e),
y = n ? new this(g) : p(g); g > x; x++)
A = v ? m(e[x], x) : e[x],
d(y, x, A);
else
for (S = (w = h(e, _)).next,
y = n ? new this : []; !(b = o(S, w)).done; x++)
A = v ? s(w, m, [b.value, x], !0) : b.value,
d(y, x, A);
return y.length = x,
y
}
},
ToJy: function(t, e, n) {
"use strict";
var i = n("I+eb")
, r = n("4zBA")
, o = n("We1y")
, a = n("ewvW")
, s = n("B/qT")
, c = n("V37c")
, u = n("0Dky")
, l = n("rdv8")
, d = n("pkCn")
, h = n("BNF5")
, f = n("2Zix")
, p = n("LQDL")
, m = n("USzg")
, v = []
, g = r(v.sort)
, y = r(v.push)
, b = u(function() {
v.sort(void 0)
})
, w = u(function() {
v.sort(null)
})
, S = d("sort")
, A = !u(function() {
if (p)
return p < 70;
if (!(h && h > 3)) {
if (f)
return !0;
if (m)
return m < 603;
var t, e, n, i, r = "";
for (t = 65; t < 76; t++) {
switch (e = String.fromCharCode(t),
t) {
case 66:
case 69:
case 70:
case 72:
n = 3;
break;
case 68:
case 71:
n = 4;
break;
default:
n = 2
}
for (i = 0; i < 47; i++)
v.push({
k: e + i,
v: n
})
}
for (v.sort(function(t, e) {
return e.v - t.v
}),
i = 0; i < v.length; i++)
e = v[i].k.charAt(0),
r.charAt(r.length - 1) !== e && (r += e);
return "DGBEFHACIJK" !== r
}
});
i({
target: "Array",
proto: !0,
forced: b || !w || !S || !A
}, {
sort: function(t) {
void 0 !== t && o(t);
var e = a(this);
if (A)
return void 0 === t ? g(e) : g(e, t);
var n, i, r = [], u = s(e);
for (i = 0; i < u; i++)
i in e && y(r, e[i]);
for (l(r, function(t) {
return function(e, n) {
return void 0 === n ? -1 : void 0 === e ? 1 : void 0 !== t ? +t(e, n) || 0 : c(e) > c(n) ? 1 : -1
}
}(t)),
n = r.length,
i = 0; i < n; )
e[i] = r[i++];
for (; i < u; )
delete e[i++];
return e
}
})
},
Tskq: function(t, e, n) {
"use strict";
n("bWFh")("Map", function(t) {
return function() {
return t(this, arguments.length ? arguments[0] : void 0)
}
}, n("ZWaQ"))
},
U3f4: function(t, e, n) {
var i = n("g6v/")
, r = n("m/L8")
, o = n("rW0t")
, a = n("0Dky")
, s = RegExp.prototype;
i && a(function() {
return "sy" !== Object.getOwnPropertyDescriptor(s, "flags").get.call({
dotAll: !0,
sticky: !0
})
}) && r.f(s, "flags", {
configurable: !0,
get: o
})
},
UIe5: function(t, e, n) {
var i = n("2oRo")
, r = n("aO6C")
, o = n("DVFp")
, a = i.TypeError;
t.exports = function(t) {
if (r(t))
return t;
throw a(o(t) + " is not a constructor")
}
},
UMSQ: function(t, e, n) {
var i = n("WSbT")
, r = Math.min;
t.exports = function(t) {
return t > 0 ? r(i(t), 9007199254740991) : 0
}
},
USzg: function(t, e, n) {
var i = n("NC/Y").match(/AppleWebKit\/(\d+)\./);
t.exports = !!i && +i[1]
},
UesL: function(t, e, n) {
"use strict";
var i = n("2oRo")
, r = n("glrk")
, o = n("SFrS")
, a = i.TypeError;
t.exports = function(t) {
if (r(this),
"string" === t || "default" === t)
t = "string";
else if ("number" !== t)
throw a("Incorrect hint");
return o(this, t)
}
},
UxlC: function(t, e, n) {
"use strict";
var i = n("K6Rb")
, r = n("xluM")
, o = n("4zBA")
, a = n("14Sl")
, s = n("0Dky")
, c = n("glrk")
, u = n("Fib7")
, l = n("WSbT")
, d = n("UMSQ")
, h = n("V37c")
, f = n("HYAF")
, p = n("iqWW")
, m = n("3Eq5")
, v = n("DLK6")
, g = n("FMNM")
, y = n("tiKp")("replace")
, b = Math.max
, w = Math.min
, S = o([].concat)
, A = o([].push)
, _ = o("".indexOf)
, x = o("".slice)
, O = "$0" === "a".replace(/./, "$0")
, T = !!/./[y] && "" === /./[y]("a", "$0");
a("replace", function(t, e, n) {
var o = T ? "$" : "$0";
return [function(t, n) {
var i = f(this)
, o = null == t ? void 0 : m(t, y);
return o ? r(o, t, i, n) : r(e, h(i), t, n)
}
, function(t, r) {
var a = c(this)
, s = h(t);
if ("string" == typeof r && -1 === _(r, o) && -1 === _(r, "$<")) {
var f = n(e, a, s, r);
if (f.done)
return f.value
}
var m = u(r);
m || (r = h(r));
var y = a.global;
if (y) {
var O = a.unicode;
a.lastIndex = 0
}
for (var T = []; ; ) {
var E = g(a, s);
if (null === E)
break;
if (A(T, E),
!y)
break;
"" === h(E[0]) && (a.lastIndex = p(s, d(a.lastIndex), O))
}
for (var k, I = "", C = 0, R = 0; R < T.length; R++) {
for (var L = h((E = T[R])[0]), D = b(w(l(E.index), s.length), 0), j = [], M = 1; M < E.length; M++)
A(j, void 0 === (k = E[M]) ? k : String(k));
var P = E.groups;
if (m) {
var B = S([L], j, D, s);
void 0 !== P && A(B, P);
var N = h(i(r, void 0, B))
} else
N = v(L, s, D, j, P, r);
D >= C && (I += x(s, C, D) + N,
C = D + L.length)
}
return I + x(s, C)
}
]
}, !!s(function() {
var t = /./;
return t.exec = function() {
var t = [];
return t.groups = {
a: "7"
},
t
}
,
"7" !== "".replace(t, "$")
}) || !O || T)
},
V37c: function(t, e, n) {
var i = n("2oRo")
, r = n("9d/t")
, o = i.String;
t.exports = function(t) {
if ("Symbol" === r(t))
throw TypeError("Cannot convert a Symbol value to a string");
return o(t)
}
},
Vl5E: function(t, e, n) {
"use strict";
n.d(e, "a", function() {
return r
}),
n.d(e, "b", function() {
return o
});
var i = function() {
return (i = Object.assign || function(t) {
for (var e, n = 1, i = arguments.length; n < i; n++)
for (var r in e = arguments[n])
Object.prototype.hasOwnProperty.call(e, r) && (t[r] = e[r]);
return t
}
).apply(this, arguments)
}
, r = function(t, e) {
void 0 !== window.gtag && (e ? window.gtag("event", t, e) : window.gtag("event", t))
}
, o = function(t, e) {
window.isShowAnalytics = t,
window.gtag && window.gtag("consent", "update", i({
analytics_storage: t ? "granted" : "denied",
ad_storage: e ? "granted" : "denied"
}, window.useCmp ? {
ad_user_data: e ? "granted" : "denied",
ad_personalization: e ? "granted" : "denied"
} : {})),
window.fbq && window.fbq("consent", e ? "grant" : "revoke")
}
},
VpIT: function(t, e, n) {
var i = n("xDBR")
, r = n("xs3f");
(t.exports = function(t, e) {
return r[t] || (r[t] = void 0 !== e ? e : {})
}
)("versions", []).push({
version: "3.21.1",
mode: i ? "pure" : "global",
copyright: "© 2014-2022 Denis Pushkarev (zloirock.ru)",
license: "https://github.com/zloirock/core-js/blob/v3.21.1/LICENSE",
source: "https://github.com/zloirock/core-js"
})
},
Vu81: function(t, e, n) {
var i = n("0GbY")
, r = n("4zBA")
, o = n("JBy8")
, a = n("dBg+")
, s = n("glrk")
, c = r([].concat);
t.exports = i("Reflect", "ownKeys") || function(t) {
var e = o.f(s(t))
, n = a.f;
return n ? c(e, n(t)) : e
}
},
WJkJ: function(t, e) {
t.exports = "\t\n\v\f\r \u2028\u2029\ufeff"
},
WKiH: function(t, e, n) {
var i = n("4zBA")
, r = n("HYAF")
, o = n("V37c")
, a = n("WJkJ")
, s = i("".replace)
, c = "[" + a + "]"
, u = RegExp("^" + c + c + "*")
, l = RegExp(c + c + "*$")
, d = function(t) {
return function(e) {
var n = o(r(e));
return 1 & t && (n = s(n, u, "")),
2 & t && (n = s(n, l, "")),
n
}
};
t.exports = {
start: d(1),
end: d(2),
trim: d(3)
}
},
WSbT: function(t, e) {
var n = Math.ceil
, i = Math.floor;
t.exports = function(t) {
var e = +t;
return e != e || 0 === e ? 0 : (e > 0 ? i : n)(e)
}
},
We1y: function(t, e, n) {
var i = n("2oRo")
, r = n("Fib7")
, o = n("DVFp")
, a = i.TypeError;
t.exports = function(t) {
if (r(t))
return t;
throw a(o(t) + " is not a function")
}
},
WjRb: function(t, e, n) {
var i = n("2oRo")
, r = n("ROdP")
, o = i.TypeError;
t.exports = function(t) {
if (r(t))
throw o("The method doesn't accept regular expressions");
return t
}
},
X5Zq: function(t, e, n) {
"use strict";
var i = n("67WC")
, r = n("4zBA")
, o = i.aTypedArray
, a = i.exportTypedArrayMethod
, s = r([].join);
a("join", function(t) {
return s(o(this), t)
})
},
X7LM: function(t, e, n) {
"use strict";
var i = n("2oRo")
, r = n("4zBA")
, o = /[^\0-\u007E]/
, a = /[.\u3002\uFF0E\uFF61]/g
, s = "Overflow: input needs wider integers to process"
, c = i.RangeError
, u = r(a.exec)
, l = Math.floor
, d = String.fromCharCode
, h = r("".charCodeAt)
, f = r([].join)
, p = r([].push)
, m = r("".replace)
, v = r("".split)
, g = r("".toLowerCase)
, y = function(t) {
return t + 22 + 75 * (t < 26)
}
, b = function(t, e, n) {
var i = 0;
for (t = n ? l(t / 700) : t >> 1,
t += l(t / e); t > 455; )
t = l(t / 35),
i += 36;
return l(i + 36 * t / (t + 38))
}
, w = function(t) {
var e, n, i = [], r = (t = function(t) {
for (var e = [], n = 0, i = t.length; n < i; ) {
var r = h(t, n++);
if (r >= 55296 && r <= 56319 && n < i) {
var o = h(t, n++);
56320 == (64512 & o) ? p(e, ((1023 & r) << 10) + (1023 & o) + 65536) : (p(e, r),
n--)
} else
p(e, r)
}
return e
}(t)).length, o = 128, a = 0, u = 72;
for (e = 0; e < t.length; e++)
(n = t[e]) < 128 && p(i, d(n));
var m = i.length
, v = m;
for (m && p(i, "-"); v < r; ) {
var g = 2147483647;
for (e = 0; e < t.length; e++)
(n = t[e]) >= o && n < g && (g = n);
var w = v + 1;
if (g - o > l((2147483647 - a) / w))
throw c(s);
for (a += (g - o) * w,
o = g,
e = 0; e < t.length; e++) {
if ((n = t[e]) < o && ++a > 2147483647)
throw c(s);
if (n == o) {
for (var S = a, A = 36; ; ) {
var _ = A <= u ? 1 : A >= u + 26 ? 26 : A - u;
if (S < _)
break;
var x = S - _
, O = 36 - _;
p(i, d(y(_ + x % O))),
S = l(x / O),
A += 36
}
p(i, d(y(S))),
u = b(a, w, v == m),
a = 0,
v++
}
}
a++,
o++
}
return f(i, "")
};
t.exports = function(t) {
var e, n, i = [], r = v(m(g(t), a, "."), ".");
for (e = 0; e < r.length; e++)
n = r[e],
p(i, u(o, n) ? "xn--" + w(n) : n);
return f(i, ".")
}
},
XGwC: function(t, e) {
t.exports = function(t, e) {
return {
enumerable: !(1 & t),
configurable: !(2 & t),
writable: !(4 & t),
value: e
}
}
},
XMab: function(t, e, n) {
n("dOgj")("Uint8", function(t) {
return function(e, n, i) {
return t(this, e, n, i)
}
})
},
XPPH: function(t, e, n) {
"use strict";
n.r(e);
var i, r = n("kwDz"), o = n("uI5r"), a = n("zhTc"), s = n("ELuu"), c = n("J8vR"), u = n("KxHI"), l = n("9UTE"), d = (i = function(t, e) {
return (i = Object.setPrototypeOf || {
__proto__: []
}instanceof Array && function(t, e) {
t.__proto__ = e
}
|| function(t, e) {
for (var n in e)
Object.prototype.hasOwnProperty.call(e, n) && (t[n] = e[n])
}
)(t, e)
}
,
function(t, e) {
if ("function" != typeof e && null !== e)
throw new TypeError("Class extends value " + String(e) + " is not a constructor or null");
function n() {
this.constructor = t
}
i(t, e),
t.prototype = null === e ? Object.create(e) : (n.prototype = e.prototype,
new n)
}
);
new (function(t) {
function e() {
var e = t.call(this) || this;
return e.deviceOrientation = window.matchMedia("(orientation: portrait)").matches ? u.b.portrait : u.b.landscape,
e
}
return d(e, t),
e.prototype.beforeLoaded = function() {
var e;
t.prototype.beforeLoaded.call(this),
(null === (e = null === window || void 0 === window ? void 0 : window.eb) || void 0 === e ? void 0 : e.settings) && a.a.dispatch(s.e.setSettings, window.eb.settings)
}
,
e.prototype.onLoaded = function() {
t.prototype.onLoaded.call(this),
new l.a({
selector: ".lazy-image",
customClasses: ["post-header-image"],
color: "#f3f6fa"
});
var e = document.querySelector(".game-wrapper")
, n = document.querySelector(".game-flex-wrapper");
e.clientHeight || (Object(c.a)(n).add("old-browser"),
Object(c.a)(e).add("without-pseudo")),
this.setCssVariables(!0),
window.addEventListener("resize", this.setCssVariables.bind(this)),
this.game = new o.a
}
,
e.prototype.setCssVariables = function(t) {
var e = window.matchMedia("(orientation: portrait)").matches ? u.b.portrait : u.b.landscape;
if (e !== this.deviceOrientation || t) {
this.deviceOrientation = e;
var n = document.querySelector("#sudoku-wrapper");
document.documentElement.style.setProperty("--coff", String(n.clientWidth / n.clientHeight)),
document.documentElement.style.setProperty("--hw", (window.innerWidth - n.clientWidth) / 2 + "px"),
document.documentElement.style.setProperty("--gw", Math.min((document.documentElement.clientHeight - 130) * (n.clientWidth / n.clientHeight), 500) + "px")
}
}
,
e
}(r.a))
},
XUE8: function(t, e, n) {
var i = n("I+eb")
, r = n("xluM")
, o = n("hh1v")
, a = n("glrk")
, s = n("xg1e")
, c = n("Bs8V")
, u = n("4WOD");
i({
target: "Reflect",
stat: !0
}, {
get: function t(e, n) {
var i, l, d = arguments.length < 3 ? e : arguments[2];
return a(e) === d ? e[n] : (i = c.f(e, n)) ? s(i) ? i.value : void 0 === i.get ? void 0 : r(i.get, d) : o(l = u(e)) ? t(l, n, d) : void 0
}
})
},
XbcX: function(t, e, n) {
"use strict";
var i = n("I+eb")
, r = n("or9q")
, o = n("We1y")
, a = n("ewvW")
, s = n("B/qT")
, c = n("ZfDv");
i({
target: "Array",
proto: !0
}, {
flatMap: function(t) {
var e, n = a(this), i = s(n);
return o(t),
(e = c(n, 0)).length = r(e, n, n, i, 0, 1, t, arguments.length > 1 ? arguments[1] : void 0),
e
}
})
},
Xnc8: function(t, e, n) {
var i = n("g6v/")
, r = n("Gi26")
, o = Function.prototype
, a = i && Object.getOwnPropertyDescriptor
, s = r(o, "name")
, c = s && "something" === function() {}
.name
, u = s && (!i || i && a(o, "name").configurable);
t.exports = {
EXISTS: s,
PROPER: c,
CONFIGURABLE: u
}
},
YF1G: function(t, e, n) {
var i = n("xrYK")
, r = n("2oRo");
t.exports = "process" == i(r.process)
},
YGK4: function(t, e, n) {
"use strict";
n("bWFh")("Set", function(t) {
return function() {
return t(this, arguments.length ? arguments[0] : void 0)
}
}, n("ZWaQ"))
},
YGnB: function(t, e) {
t.exports = "object" == typeof window
},
YL0P: function(t, e, n) {
"use strict";
var i = n("2oRo")
, r = n("0Dky")
, o = n("4zBA")
, a = n("67WC")
, s = n("4mDm")
, c = n("tiKp")("iterator")
, u = i.Uint8Array
, l = o(s.values)
, d = o(s.keys)
, h = o(s.entries)
, f = a.aTypedArray
, p = a.exportTypedArrayMethod
, m = u && u.prototype
, v = !r(function() {
m[c].call([1])
})
, g = !!m && m.values && m[c] === m.values && "values" === m.values.name
, y = function() {
return l(f(this))
};
p("entries", function() {
return h(f(this))
}, v),
p("keys", function() {
return d(f(this))
}, v),
p("values", y, v || !g, {
name: "values"
}),
p(c, y, v || !g, {
name: "values"
})
},
YNrV: function(t, e, n) {
"use strict";
var i = n("g6v/")
, r = n("4zBA")
, o = n("xluM")
, a = n("0Dky")
, s = n("33Wh")
, c = n("dBg+")
, u = n("0eef")
, l = n("ewvW")
, d = n("RK3t")
, h = Object.assign
, f = Object.defineProperty
, p = r([].concat);
t.exports = !h || a(function() {
if (i && 1 !== h({
b: 1
}, h(f({}, "a", {
enumerable: !0,
get: function() {
f(this, "b", {
value: 3,
enumerable: !1
})
}
}), {
b: 2
})).b)
return !0;
var t = {}
, e = {}
, n = Symbol();
return t[n] = 7,
"abcdefghijklmnopqrst".split("").forEach(function(t) {
e[t] = t
}),
7 != h({}, t)[n] || "abcdefghijklmnopqrst" != s(h({}, e)).join("")
}) ? function(t, e) {
for (var n = l(t), r = arguments.length, a = 1, h = c.f, f = u.f; r > a; )
for (var m, v = d(arguments[a++]), g = h ? p(s(v), h(v)) : s(v), y = g.length, b = 0; y > b; )
m = g[b++],
i && !o(f, v, m) || (n[m] = v[m]);
return n
}
: h
},
Yhre: function(t, e, n) {
"use strict";
var i = n("2oRo")
, r = n("4zBA")
, o = n("g6v/")
, a = n("qYE9")
, s = n("Xnc8")
, c = n("kRJp")
, u = n("4syw")
, l = n("0Dky")
, d = n("GarU")
, h = n("WSbT")
, f = n("UMSQ")
, p = n("CyXQ")
, m = n("d6cI")
, v = n("4WOD")
, g = n("0rvr")
, y = n("JBy8").f
, b = n("m/L8").f
, w = n("gdVl")
, S = n("Ta7t")
, A = n("1E5z")
, _ = n("afO8")
, x = s.PROPER
, O = s.CONFIGURABLE
, T = _.get
, E = _.set
, k = i.ArrayBuffer
, I = k
, C = I && I.prototype
, R = i.DataView
, L = R && R.prototype
, D = Object.prototype
, j = i.Array
, M = i.RangeError
, P = r(w)
, B = r([].reverse)
, N = m.pack
, G = m.unpack
, H = function(t) {
return [255 & t]
}
, F = function(t) {
return [255 & t, t >> 8 & 255]
}
, q = function(t) {
return [255 & t, t >> 8 & 255, t >> 16 & 255, t >> 24 & 255]
}
, z = function(t) {
return t[3] << 24 | t[2] << 16 | t[1] << 8 | t[0]
}
, W = function(t) {
return N(t, 23, 4)
}
, U = function(t) {
return N(t, 52, 8)
}
, V = function(t, e) {
b(t.prototype, e, {
get: function() {
return T(this)[e]
}
})
}
, $ = function(t, e, n, i) {
var r = p(n)
, o = T(t);
if (r + e > o.byteLength)
throw M("Wrong index");
var a = T(o.buffer).bytes
, s = r + o.byteOffset
, c = S(a, s, s + e);
return i ? c : B(c)
}
, Y = function(t, e, n, i, r, o) {
var a = p(n)
, s = T(t);
if (a + e > s.byteLength)
throw M("Wrong index");
for (var c = T(s.buffer).bytes, u = a + s.byteOffset, l = i(+r), d = 0; d < e; d++)
c[u + d] = l[o ? d : e - d - 1]
};
if (a) {
var K = x && "ArrayBuffer" !== k.name;
if (l(function() {
k(1)
}) && l(function() {
new k(-1)
}) && !l(function() {
return new k,
new k(1.5),
new k(NaN),
K && !O
}))
K && O && c(k, "name", "ArrayBuffer");
else {
(I = function(t) {
return d(this, C),
new k(p(t))
}
).prototype = C;
for (var J, Z = y(k), X = 0; Z.length > X; )
(J = Z[X++])in I || c(I, J, k[J]);
C.constructor = I
}
g && v(L) !== D && g(L, D);
var Q = new R(new I(2))
, tt = r(L.setInt8);
Q.setInt8(0, 2147483648),
Q.setInt8(1, 2147483649),
!Q.getInt8(0) && Q.getInt8(1) || u(L, {
setInt8: function(t, e) {
tt(this, t, e << 24 >> 24)
},
setUint8: function(t, e) {
tt(this, t, e << 24 >> 24)
}
}, {
unsafe: !0
})
} else
C = (I = function(t) {
d(this, C);
var e = p(t);
E(this, {
bytes: P(j(e), 0),
byteLength: e
}),
o || (this.byteLength = e)
}
).prototype,
L = (R = function(t, e, n) {
d(this, L),
d(t, C);
var i = T(t).byteLength
, r = h(e);
if (r < 0 || r > i)
throw M("Wrong offset");
if (r + (n = void 0 === n ? i - r : f(n)) > i)
throw M("Wrong length");
E(this, {
buffer: t,
byteLength: n,
byteOffset: r
}),
o || (this.buffer = t,
this.byteLength = n,
this.byteOffset = r)
}
).prototype,
o && (V(I, "byteLength"),
V(R, "buffer"),
V(R, "byteLength"),
V(R, "byteOffset")),
u(L, {
getInt8: function(t) {
return $(this, 1, t)[0] << 24 >> 24
},
getUint8: function(t) {
return $(this, 1, t)[0]
},
getInt16: function(t) {
var e = $(this, 2, t, arguments.length > 1 ? arguments[1] : void 0);
return (e[1] << 8 | e[0]) << 16 >> 16
},
getUint16: function(t) {
var e = $(this, 2, t, arguments.length > 1 ? arguments[1] : void 0);
return e[1] << 8 | e[0]
},
getInt32: function(t) {
return z($(this, 4, t, arguments.length > 1 ? arguments[1] : void 0))
},
getUint32: function(t) {
return z($(this, 4, t, arguments.length > 1 ? arguments[1] : void 0)) >>> 0
},
getFloat32: function(t) {
return G($(this, 4, t, arguments.length > 1 ? arguments[1] : void 0), 23)
},
getFloat64: function(t) {
return G($(this, 8, t, arguments.length > 1 ? arguments[1] : void 0), 52)
},
setInt8: function(t, e) {
Y(this, 1, t, H, e)
},
setUint8: function(t, e) {
Y(this, 1, t, H, e)
},
setInt16: function(t, e) {
Y(this, 2, t, F, e, arguments.length > 2 ? arguments[2] : void 0)
},
setUint16: function(t, e) {
Y(this, 2, t, F, e, arguments.length > 2 ? arguments[2] : void 0)
},
setInt32: function(t, e) {
Y(this, 4, t, q, e, arguments.length > 2 ? arguments[2] : void 0)
},
setUint32: function(t, e) {
Y(this, 4, t, q, e, arguments.length > 2 ? arguments[2] : void 0)
},
setFloat32: function(t, e) {
Y(this, 4, t, W, e, arguments.length > 2 ? arguments[2] : void 0)
},
setFloat64: function(t, e) {
Y(this, 8, t, U, e, arguments.length > 2 ? arguments[2] : void 0)
}
});
A(I, "ArrayBuffer"),
A(R, "DataView"),
t.exports = {
ArrayBuffer: I,
DataView: R
}
},
ZA8W: function(t, e, n) {
var i;
t.exports = (i = n("Ib8C"),
i.enc.Hex)
},
ZJ55: function(t, e, n) {
"use strict";
var i = n("67WC")
, r = n("tycR").some
, o = i.aTypedArray;
(0,
i.exportTypedArrayMethod)("some", function(t) {
return r(o(this), t, arguments.length > 1 ? arguments[1] : void 0)
})
},
ZUd8: function(t, e, n) {
var i = n("4zBA")
, r = n("WSbT")
, o = n("V37c")
, a = n("HYAF")
, s = i("".charAt)
, c = i("".charCodeAt)
, u = i("".slice)
, l = function(t) {
return function(e, n) {
var i, l, d = o(a(e)), h = r(n), f = d.length;
return h < 0 || h >= f ? t ? "" : void 0 : (i = c(d, h)) < 55296 || i > 56319 || h + 1 === f || (l = c(d, h + 1)) < 56320 || l > 57343 ? t ? s(d, h) : i : t ? u(d, h, h + 2) : l - 56320 + (i - 55296 << 10) + 65536
}
};
t.exports = {
codeAt: l(!1),
charAt: l(!0)
}
},
ZWaQ: function(t, e, n) {
"use strict";
var i = n("m/L8").f
, r = n("fHMY")
, o = n("4syw")
, a = n("A2ZE")
, s = n("GarU")
, c = n("ImZN")
, u = n("fdAy")
, l = n("JiZb")
, d = n("g6v/")
, h = n("8YOa").fastKey
, f = n("afO8")
, p = f.set
, m = f.getterFor;
t.exports = {
getConstructor: function(t, e, n, u) {
var l = t(function(t, i) {
s(t, f),
p(t, {
type: e,
index: r(null),
first: void 0,
last: void 0,
size: 0
}),
d || (t.size = 0),
null != i && c(i, t[u], {
that: t,
AS_ENTRIES: n
})
})
, f = l.prototype
, v = m(e)
, g = function(t, e, n) {
var i, r, o = v(t), a = y(t, e);
return a ? a.value = n : (o.last = a = {
index: r = h(e, !0),
key: e,
value: n,
previous: i = o.last,
next: void 0,
removed: !1
},
o.first || (o.first = a),
i && (i.next = a),
d ? o.size++ : t.size++,
"F" !== r && (o.index[r] = a)),
t
}
, y = function(t, e) {
var n, i = v(t), r = h(e);
if ("F" !== r)
return i.index[r];
for (n = i.first; n; n = n.next)
if (n.key == e)
return n
};
return o(f, {
clear: function() {
for (var t = v(this), e = t.index, n = t.first; n; )
n.removed = !0,
n.previous && (n.previous = n.previous.next = void 0),
delete e[n.index],
n = n.next;
t.first = t.last = void 0,
d ? t.size = 0 : this.size = 0
},
delete: function(t) {
var e = v(this)
, n = y(this, t);
if (n) {
var i = n.next
, r = n.previous;
delete e.index[n.index],
n.removed = !0,
r && (r.next = i),
i && (i.previous = r),
e.first == n && (e.first = i),
e.last == n && (e.last = r),
d ? e.size-- : this.size--
}
return !!n
},
forEach: function(t) {
for (var e, n = v(this), i = a(t, arguments.length > 1 ? arguments[1] : void 0); e = e ? e.next : n.first; )
for (i(e.value, e.key, this); e && e.removed; )
e = e.previous
},
has: function(t) {
return !!y(this, t)
}
}),
o(f, n ? {
get: function(t) {
var e = y(this, t);
return e && e.value
},
set: function(t, e) {
return g(this, 0 === t ? 0 : t, e)
}
} : {
add: function(t) {
return g(this, t = 0 === t ? 0 : t, t)
}
}),
d && i(f, "size", {
get: function() {
return v(this).size
}
}),
l
},
setStrong: function(t, e, n) {
var i = e + " Iterator"
, r = m(e)
, o = m(i);
u(t, e, function(t, e) {
p(this, {
type: i,
target: t,
state: r(t),
kind: e,
last: void 0
})
}, function() {
for (var t = o(this), e = t.kind, n = t.last; n && n.removed; )
n = n.previous;
return t.target && (t.last = n = n ? n.next : t.state.first) ? "keys" == e ? {
value: n.key,
done: !1
} : "values" == e ? {
value: n.value,
done: !1
} : {
value: [n.key, n.value],
done: !1
} : (t.target = void 0,
{
value: void 0,
done: !0
})
}, n ? "entries" : "values", !n, !0),
l(e)
}
}
},
ZfDv: function(t, e, n) {
var i = n("C0Ia");
t.exports = function(t, e) {
return new (i(t))(0 === e ? 0 : e)
}
},
a57n: function(t, e, n) {
n("dG/n")("search")
},
aO6C: function(t, e, n) {
var i = n("4zBA")
, r = n("0Dky")
, o = n("Fib7")
, a = n("9d/t")
, s = n("0GbY")
, c = n("iSVu")
, u = function() {}
, l = []
, d = s("Reflect", "construct")
, h = /^\s*(?:class|function)\b/
, f = i(h.exec)
, p = !h.exec(u)
, m = function(t) {
if (!o(t))
return !1;
try {
return d(u, l, t),
!0
} catch (t) {
return !1
}
}
, v = function(t) {
if (!o(t))
return !1;
switch (a(t)) {
case "AsyncFunction":
case "GeneratorFunction":
case "AsyncGeneratorFunction":
return !1
}
try {
return p || !!f(h, c(t))
} catch (t) {
return !0
}
};
v.sham = !0,
t.exports = !d || r(function() {
var t;
return m(m.call) || !m(Object) || !m(function() {
t = !0
}) || t
}) ? v : m
},
aVqm: function(t, e, n) {
"use strict";
function i(t, e) {
var n, i, r = window.pageYOffset, o = {
duration: e.duration,
offset: e.offset || 0,
callback: e.callback,
easing: e.easing || function(t, e, n, i) {
return (t /= i / 2) < 1 ? n / 2 * t * t + e : -n / 2 * (--t * (t - 2) - 1) + e
}
}, a = "string" == typeof t ? o.offset + document.querySelector(t).getBoundingClientRect().top : t, s = "function" == typeof o.duration ? o.duration(a) : o.duration;
function c(t) {
i = t - n,
window.scrollTo(0, o.easing(i, r, a, s)),
i < s ? requestAnimationFrame(c) : (window.scrollTo(0, r + a),
"function" == typeof o.callback && o.callback())
}
requestAnimationFrame(function(t) {
n = t,
c(t)
})
}
n.d(e, "a", function() {
return i
})
},
afO8: function(t, e, n) {
var i, r, o, a = n("f5p1"), s = n("2oRo"), c = n("4zBA"), u = n("hh1v"), l = n("kRJp"), d = n("Gi26"), h = n("xs3f"), f = n("93I0"), p = n("0BK2"), m = s.TypeError, v = s.WeakMap;
if (a || h.state) {
var g = h.state || (h.state = new v)
, y = c(g.get)
, b = c(g.has)
, w = c(g.set);
i = function(t, e) {
if (b(g, t))
throw new m("Object already initialized");
return e.facade = t,
w(g, t, e),
e
}
,
r = function(t) {
return y(g, t) || {}
}
,
o = function(t) {
return b(g, t)
}
} else {
var S = f("state");
p[S] = !0,
i = function(t, e) {
if (d(t, S))
throw new m("Object already initialized");
return e.facade = t,
l(t, S, e),
e
}
,
r = function(t) {
return d(t, S) ? t[S] : {}
}
,
o = function(t) {
return d(t, S)
}
}
t.exports = {
set: i,
get: r,
has: o,
enforce: function(t) {
return o(t) ? r(t) : i(t, {})
},
getterFor: function(t) {
return function(e) {
var n;
if (!u(e) || (n = r(e)).type !== t)
throw m("Incompatible receiver, " + t + " required");
return n
}
}
}
},
b1O7: function(t, e, n) {
var i = n("g6v/")
, r = n("4zBA")
, o = n("33Wh")
, a = n("/GqU")
, s = r(n("0eef").f)
, c = r([].push)
, u = function(t) {
return function(e) {
for (var n, r = a(e), u = o(r), l = u.length, d = 0, h = []; l > d; )
n = u[d++],
i && !s(r, n) || c(h, t ? [n, r[n]] : r[n]);
return h
}
};
t.exports = {
entries: u(!0),
values: u(!1)
}
},
bWFh: function(t, e, n) {
"use strict";
var i = n("I+eb")
, r = n("2oRo")
, o = n("4zBA")
, a = n("lMq5")
, s = n("busE")
, c = n("8YOa")
, u = n("ImZN")
, l = n("GarU")
, d = n("Fib7")
, h = n("hh1v")
, f = n("0Dky")
, p = n("HH4o")
, m = n("1E5z")
, v = n("cVYH");
t.exports = function(t, e, n) {
var g = -1 !== t.indexOf("Map")
, y = -1 !== t.indexOf("Weak")
, b = g ? "set" : "add"
, w = r[t]
, S = w && w.prototype
, A = w
, _ = {}
, x = function(t) {
var e = o(S[t]);
s(S, t, "add" == t ? function(t) {
return e(this, 0 === t ? 0 : t),
this
}
: "delete" == t ? function(t) {
return !(y && !h(t)) && e(this, 0 === t ? 0 : t)
}
: "get" == t ? function(t) {
return y && !h(t) ? void 0 : e(this, 0 === t ? 0 : t)
}
: "has" == t ? function(t) {
return !(y && !h(t)) && e(this, 0 === t ? 0 : t)
}
: function(t, n) {
return e(this, 0 === t ? 0 : t, n),
this
}
)
};
if (a(t, !d(w) || !(y || S.forEach && !f(function() {
(new w).entries().next()
}))))
A = n.getConstructor(e, t, g, b),
c.enable();
else if (a(t, !0)) {
var O = new A
, T = O[b](y ? {} : -0, 1) != O
, E = f(function() {
O.has(1)
})
, k = p(function(t) {
new w(t)
})
, I = !y && f(function() {
for (var t = new w, e = 5; e--; )
t[b](e, e);
return !t.has(-0)
});
k || ((A = e(function(t, e) {
l(t, S);
var n = v(new w, t, A);
return null != e && u(e, n[b], {
that: n,
AS_ENTRIES: g
}),
n
})).prototype = S,
S.constructor = A),
(E || I) && (x("delete"),
x("has"),
g && x("get")),
(I || T) && x(b),
y && S.clear && delete S.clear
}
return _[t] = A,
i({
global: !0,
forced: A != w
}, _),
m(A, t),
y || n.setStrong(A, t, g),
A
}
},
bZMm: function(t, e, n) {
"use strict";
var i = "undefined" != typeof globalThis && globalThis || "undefined" != typeof self && self || void 0 !== i && i
, r = {
searchParams: "URLSearchParams"in i,
iterable: "Symbol"in i && "iterator"in Symbol,
blob: "FileReader"in i && "Blob"in i && function() {
try {
return new Blob,
!0
} catch (t) {
return !1
}
}(),
formData: "FormData"in i,
arrayBuffer: "ArrayBuffer"in i
};
if (r.arrayBuffer)
var o = ["[object Int8Array]", "[object Uint8Array]", "[object Uint8ClampedArray]", "[object Int16Array]", "[object Uint16Array]", "[object Int32Array]", "[object Uint32Array]", "[object Float32Array]", "[object Float64Array]"]
, a = ArrayBuffer.isView || function(t) {
return t && o.indexOf(Object.prototype.toString.call(t)) > -1
}
;
function s(t) {
if ("string" != typeof t && (t = String(t)),
/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(t) || "" === t)
throw new TypeError('Invalid character in header field name: "' + t + '"');
return t.toLowerCase()
}
function c(t) {
return "string" != typeof t && (t = String(t)),
t
}
function u(t) {
var e = {
next: function() {
var e = t.shift();
return {
done: void 0 === e,
value: e
}
}
};
return r.iterable && (e[Symbol.iterator] = function() {
return e
}
),
e
}
function l(t) {
this.map = {},
t instanceof l ? t.forEach(function(t, e) {
this.append(e, t)
}, this) : Array.isArray(t) ? t.forEach(function(t) {
this.append(t[0], t[1])
}, this) : t && Object.getOwnPropertyNames(t).forEach(function(e) {
this.append(e, t[e])
}, this)
}
function d(t) {
if (t.bodyUsed)
return Promise.reject(new TypeError("Already read"));
t.bodyUsed = !0
}
function h(t) {
return new Promise(function(e, n) {
t.onload = function() {
e(t.result)
}
,
t.onerror = function() {
n(t.error)
}
}
)
}
function f(t) {
var e = new FileReader
, n = h(e);
return e.readAsArrayBuffer(t),
n
}
function p(t) {
if (t.slice)
return t.slice(0);
var e = new Uint8Array(t.byteLength);
return e.set(new Uint8Array(t)),
e.buffer
}
function m() {
return this.bodyUsed = !1,
this._initBody = function(t) {
var e;
this.bodyUsed = this.bodyUsed,
this._bodyInit = t,
t ? "string" == typeof t ? this._bodyText = t : r.blob && Blob.prototype.isPrototypeOf(t) ? this._bodyBlob = t : r.formData && FormData.prototype.isPrototypeOf(t) ? this._bodyFormData = t : r.searchParams && URLSearchParams.prototype.isPrototypeOf(t) ? this._bodyText = t.toString() : r.arrayBuffer && r.blob && ((e = t) && DataView.prototype.isPrototypeOf(e)) ? (this._bodyArrayBuffer = p(t.buffer),
this._bodyInit = new Blob([this._bodyArrayBuffer])) : r.arrayBuffer && (ArrayBuffer.prototype.isPrototypeOf(t) || a(t)) ? this._bodyArrayBuffer = p(t) : this._bodyText = t = Object.prototype.toString.call(t) : this._bodyText = "",
this.headers.get("content-type") || ("string" == typeof t ? this.headers.set("content-type", "text/plain;charset=UTF-8") : this._bodyBlob && this._bodyBlob.type ? this.headers.set("content-type", this._bodyBlob.type) : r.searchParams && URLSearchParams.prototype.isPrototypeOf(t) && this.headers.set("content-type", "application/x-www-form-urlencoded;charset=UTF-8"))
}
,
r.blob && (this.blob = function() {
var t = d(this);
if (t)
return t;
if (this._bodyBlob)
return Promise.resolve(this._bodyBlob);
if (this._bodyArrayBuffer)
return Promise.resolve(new Blob([this._bodyArrayBuffer]));
if (this._bodyFormData)
throw new Error("could not read FormData body as blob");
return Promise.resolve(new Blob([this._bodyText]))
}
,
this.arrayBuffer = function() {
if (this._bodyArrayBuffer) {
var t = d(this);
return t || (ArrayBuffer.isView(this._bodyArrayBuffer) ? Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset, this._bodyArrayBuffer.byteOffset + this._bodyArrayBuffer.byteLength)) : Promise.resolve(this._bodyArrayBuffer))
}
return this.blob().then(f)
}
),
this.text = function() {
var t, e, n, i = d(this);
if (i)
return i;
if (this._bodyBlob)
return t = this._bodyBlob,
e = new FileReader,
n = h(e),
e.readAsText(t),
n;
if (this._bodyArrayBuffer)
return Promise.resolve(function(t) {
for (var e = new Uint8Array(t), n = new Array(e.length), i = 0; i < e.length; i++)
n[i] = String.fromCharCode(e[i]);
return n.join("")
}(this._bodyArrayBuffer));
if (this._bodyFormData)
throw new Error("could not read FormData body as text");
return Promise.resolve(this._bodyText)
}
,
r.formData && (this.formData = function() {
return this.text().then(y)
}
),
this.json = function() {
return this.text().then(JSON.parse)
}
,
this
}
l.prototype.append = function(t, e) {
t = s(t),
e = c(e);
var n = this.map[t];
this.map[t] = n ? n + ", " + e : e
}
,
l.prototype.delete = function(t) {
delete this.map[s(t)]
}
,
l.prototype.get = function(t) {
return t = s(t),
this.has(t) ? this.map[t] : null
}
,
l.prototype.has = function(t) {
return this.map.hasOwnProperty(s(t))
}
,
l.prototype.set = function(t, e) {
this.map[s(t)] = c(e)
}
,
l.prototype.forEach = function(t, e) {
for (var n in this.map)
this.map.hasOwnProperty(n) && t.call(e, this.map[n], n, this)
}
,
l.prototype.keys = function() {
var t = [];
return this.forEach(function(e, n) {
t.push(n)
}),
u(t)
}
,
l.prototype.values = function() {
var t = [];
return this.forEach(function(e) {
t.push(e)
}),
u(t)
}
,
l.prototype.entries = function() {
var t = [];
return this.forEach(function(e, n) {
t.push([n, e])
}),
u(t)
}
,
r.iterable && (l.prototype[Symbol.iterator] = l.prototype.entries);
var v = ["DELETE", "GET", "HEAD", "OPTIONS", "POST", "PUT"];
function g(t, e) {
if (!(this instanceof g))
throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');
var n, i, r = (e = e || {}).body;
if (t instanceof g) {
if (t.bodyUsed)
throw new TypeError("Already read");
this.url = t.url,
this.credentials = t.credentials,
e.headers || (this.headers = new l(t.headers)),
this.method = t.method,
this.mode = t.mode,
this.signal = t.signal,
r || null == t._bodyInit || (r = t._bodyInit,
t.bodyUsed = !0)
} else
this.url = String(t);
if (this.credentials = e.credentials || this.credentials || "same-origin",
!e.headers && this.headers || (this.headers = new l(e.headers)),
this.method = (n = e.method || this.method || "GET",
i = n.toUpperCase(),
v.indexOf(i) > -1 ? i : n),
this.mode = e.mode || this.mode || null,
this.signal = e.signal || this.signal,
this.referrer = null,
("GET" === this.method || "HEAD" === this.method) && r)
throw new TypeError("Body not allowed for GET or HEAD requests");
if (this._initBody(r),
!("GET" !== this.method && "HEAD" !== this.method || "no-store" !== e.cache && "no-cache" !== e.cache)) {
var o = /([?&])_=[^&]*/;
if (o.test(this.url))
this.url = this.url.replace(o, "$1_=" + (new Date).getTime());
else {
this.url += (/\?/.test(this.url) ? "&" : "?") + "_=" + (new Date).getTime()
}
}
}
function y(t) {
var e = new FormData;
return t.trim().split("&").forEach(function(t) {
if (t) {
var n = t.split("=")
, i = n.shift().replace(/\+/g, " ")
, r = n.join("=").replace(/\+/g, " ");
e.append(decodeURIComponent(i), decodeURIComponent(r))
}
}),
e
}
function b(t, e) {
if (!(this instanceof b))
throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');
e || (e = {}),
this.type = "default",
this.status = void 0 === e.status ? 200 : e.status,
this.ok = this.status >= 200 && this.status < 300,
this.statusText = void 0 === e.statusText ? "" : "" + e.statusText,
this.headers = new l(e.headers),
this.url = e.url || "",
this._initBody(t)
}
g.prototype.clone = function() {
return new g(this,{
body: this._bodyInit
})
}
,
m.call(g.prototype),
m.call(b.prototype),
b.prototype.clone = function() {
return new b(this._bodyInit,{
status: this.status,
statusText: this.statusText,
headers: new l(this.headers),
url: this.url
})
}
,
b.error = function() {
var t = new b(null,{
status: 0,
statusText: ""
});
return t.type = "error",
t
}
;
var w = [301, 302, 303, 307, 308];
b.redirect = function(t, e) {
if (-1 === w.indexOf(e))
throw new RangeError("Invalid status code");
return new b(null,{
status: e,
headers: {
location: t
}
})
}
;
var S = i.DOMException;
try {
new S
} catch (t) {
(S = function(t, e) {
this.message = t,
this.name = e;
var n = Error(t);
this.stack = n.stack
}
).prototype = Object.create(Error.prototype),
S.prototype.constructor = S
}
function A(t, e) {
return new Promise(function(n, o) {
var a = new g(t,e);
if (a.signal && a.signal.aborted)
return o(new S("Aborted","AbortError"));
var s = new XMLHttpRequest;
function u() {
s.abort()
}
s.onload = function() {
var t, e, i = {
status: s.status,
statusText: s.statusText,
headers: (t = s.getAllResponseHeaders() || "",
e = new l,
t.replace(/\r?\n[\t ]+/g, " ").split("\r").map(function(t) {
return 0 === t.indexOf("\n") ? t.substr(1, t.length) : t
}).forEach(function(t) {
var n = t.split(":")
, i = n.shift().trim();
if (i) {
var r = n.join(":").trim();
e.append(i, r)
}
}),
e)
};
i.url = "responseURL"in s ? s.responseURL : i.headers.get("X-Request-URL");
var r = "response"in s ? s.response : s.responseText;
setTimeout(function() {
n(new b(r,i))
}, 0)
}
,
s.onerror = function() {
setTimeout(function() {
o(new TypeError("Network request failed"))
}, 0)
}
,
s.ontimeout = function() {
setTimeout(function() {
o(new TypeError("Network request failed"))
}, 0)
}
,
s.onabort = function() {
setTimeout(function() {
o(new S("Aborted","AbortError"))
}, 0)
}
,
s.open(a.method, function(t) {
try {
return "" === t && i.location.href ? i.location.href : t
} catch (e) {
return t
}
}(a.url), !0),
"include" === a.credentials ? s.withCredentials = !0 : "omit" === a.credentials && (s.withCredentials = !1),
"responseType"in s && (r.blob ? s.responseType = "blob" : r.arrayBuffer && a.headers.get("Content-Type") && -1 !== a.headers.get("Content-Type").indexOf("application/octet-stream") && (s.responseType = "arraybuffer")),
!e || "object" != typeof e.headers || e.headers instanceof l ? a.headers.forEach(function(t, e) {
s.setRequestHeader(e, t)
}) : Object.getOwnPropertyNames(e.headers).forEach(function(t) {
s.setRequestHeader(t, c(e.headers[t]))
}),
a.signal && (a.signal.addEventListener("abort", u),
s.onreadystatechange = function() {
4 === s.readyState && a.signal.removeEventListener("abort", u)
}
),
s.send(void 0 === a._bodyInit ? null : a._bodyInit)
}
)
}
A.polyfill = !0,
i.fetch || (i.fetch = A,
i.Headers = l,
i.Request = g,
i.Response = b)
},
bhUR: function(t, e, n) {},
busE: function(t, e, n) {
var i = n("2oRo")
, r = n("Fib7")
, o = n("Gi26")
, a = n("kRJp")
, s = n("zk60")
, c = n("iSVu")
, u = n("afO8")
, l = n("Xnc8").CONFIGURABLE
, d = u.get
, h = u.enforce
, f = String(String).split("String");
(t.exports = function(t, e, n, c) {
var u, d = !!c && !!c.unsafe, p = !!c && !!c.enumerable, m = !!c && !!c.noTargetGet, v = c && void 0 !== c.name ? c.name : e;
r(n) && ("Symbol(" === String(v).slice(0, 7) && (v = "[" + String(v).replace(/^Symbol\(([^)]*)\)/, "$1") + "]"),
(!o(n, "name") || l && n.name !== v) && a(n, "name", v),
(u = h(n)).source || (u.source = f.join("string" == typeof v ? v : ""))),
t !== i ? (d ? !m && t[e] && (p = !0) : delete t[e],
p ? t[e] = n : a(t, e, n)) : p ? t[e] = n : s(e, n)
}
)(Function.prototype, "toString", function() {
return r(this) && d(this).source || c(this)
})
},
c162: function(t, e, n) {
"use strict";
var i = n("67WC")
, r = n("xluM")
, o = n("gdVl")
, a = i.aTypedArray;
(0,
i.exportTypedArrayMethod)("fill", function(t) {
var e = arguments.length;
return r(o, a(this), t, e > 1 ? arguments[1] : void 0, e > 2 ? arguments[2] : void 0)
})
},
c9m3: function(t, e, n) {
n("RNIs")("flatMap")
},
cVYH: function(t, e, n) {
var i = n("Fib7")
, r = n("hh1v")
, o = n("0rvr");
t.exports = function(t, e, n) {
var a, s;
return o && i(a = e.constructor) && a !== n && r(s = a.prototype) && s !== n.prototype && o(t, s),
t
}
},
cvf0: function(t, e, n) {
"use strict";
var i = n("67WC").exportTypedArrayMethod
, r = n("0Dky")
, o = n("2oRo")
, a = n("4zBA")
, s = o.Uint8Array
, c = s && s.prototype || {}
, u = [].toString
, l = a([].join);
r(function() {
u.call({})
}) && (u = function() {
return l(this)
}
);
var d = c.toString != u;
i("toString", u, d)
},
d6cI: function(t, e, n) {
var i = n("2oRo").Array
, r = Math.abs
, o = Math.pow
, a = Math.floor
, s = Math.log
, c = Math.LN2;
t.exports = {
pack: function(t, e, n) {
var u, l, d, h = i(n), f = 8 * n - e - 1, p = (1 << f) - 1, m = p >> 1, v = 23 === e ? o(2, -24) - o(2, -77) : 0, g = t < 0 || 0 === t && 1 / t < 0 ? 1 : 0, y = 0;
for ((t = r(t)) != t || t === 1 / 0 ? (l = t != t ? 1 : 0,
u = p) : (u = a(s(t) / c),
t * (d = o(2, -u)) < 1 && (u--,
d *= 2),
(t += u + m >= 1 ? v / d : v * o(2, 1 - m)) * d >= 2 && (u++,
d /= 2),
u + m >= p ? (l = 0,
u = p) : u + m >= 1 ? (l = (t * d - 1) * o(2, e),
u += m) : (l = t * o(2, m - 1) * o(2, e),
u = 0)); e >= 8; )
h[y++] = 255 & l,
l /= 256,
e -= 8;
for (u = u << e | l,
f += e; f > 0; )
h[y++] = 255 & u,
u /= 256,
f -= 8;
return h[--y] |= 128 * g,
h
},
unpack: function(t, e) {
var n, i = t.length, r = 8 * i - e - 1, a = (1 << r) - 1, s = a >> 1, c = r - 7, u = i - 1, l = t[u--], d = 127 & l;
for (l >>= 7; c > 0; )
d = 256 * d + t[u--],
c -= 8;
for (n = d & (1 << -c) - 1,
d >>= -c,
c += e; c > 0; )
n = 256 * n + t[u--],
c -= 8;
if (0 === d)
d = 1 - s;
else {
if (d === a)
return n ? NaN : l ? -1 / 0 : 1 / 0;
n += o(2, e),
d -= s
}
return (l ? -1 : 1) * n * o(2, d - e)
}
}
},
"dBg+": function(t, e) {
e.f = Object.getOwnPropertySymbols
},
"dG/n": function(t, e, n) {
var i = n("Qo9l")
, r = n("Gi26")
, o = n("5Tg+")
, a = n("m/L8").f;
t.exports = function(t) {
var e = i.Symbol || (i.Symbol = {});
r(e, t) || a(e, t, {
value: o.f(t)
})
}
},
dOgj: function(t, e, n) {
"use strict";
var i = n("I+eb")
, r = n("2oRo")
, o = n("xluM")
, a = n("g6v/")
, s = n("iqeF")
, c = n("67WC")
, u = n("Yhre")
, l = n("GarU")
, d = n("XGwC")
, h = n("kRJp")
, f = n("6sUC")
, p = n("UMSQ")
, m = n("CyXQ")
, v = n("GC2F")
, g = n("oEtG")
, y = n("Gi26")
, b = n("9d/t")
, w = n("hh1v")
, S = n("2bX/")
, A = n("fHMY")
, _ = n("OpvP")
, x = n("0rvr")
, O = n("JBy8").f
, T = n("oHi+")
, E = n("tycR").forEach
, k = n("JiZb")
, I = n("m/L8")
, C = n("Bs8V")
, R = n("afO8")
, L = n("cVYH")
, D = R.get
, j = R.set
, M = I.f
, P = C.f
, B = Math.round
, N = r.RangeError
, G = u.ArrayBuffer
, H = G.prototype
, F = u.DataView
, q = c.NATIVE_ARRAY_BUFFER_VIEWS
, z = c.TYPED_ARRAY_CONSTRUCTOR
, W = c.TYPED_ARRAY_TAG
, U = c.TypedArray
, V = c.TypedArrayPrototype
, $ = c.aTypedArrayConstructor
, Y = c.isTypedArray
, K = function(t, e) {
$(t);
for (var n = 0, i = e.length, r = new t(i); i > n; )
r[n] = e[n++];
return r
}
, J = function(t, e) {
M(t, e, {
get: function() {
return D(this)[e]
}
})
}
, Z = function(t) {
var e;
return _(H, t) || "ArrayBuffer" == (e = b(t)) || "SharedArrayBuffer" == e
}
, X = function(t, e) {
return Y(t) && !S(e) && e in t && f(+e) && e >= 0
}
, Q = function(t, e) {
return e = g(e),
X(t, e) ? d(2, t[e]) : P(t, e)
}
, tt = function(t, e, n) {
return e = g(e),
!(X(t, e) && w(n) && y(n, "value")) || y(n, "get") || y(n, "set") || n.configurable || y(n, "writable") && !n.writable || y(n, "enumerable") && !n.enumerable ? M(t, e, n) : (t[e] = n.value,
t)
};
a ? (q || (C.f = Q,
I.f = tt,
J(V, "buffer"),
J(V, "byteOffset"),
J(V, "byteLength"),
J(V, "length")),
i({
target: "Object",
stat: !0,
forced: !q
}, {
getOwnPropertyDescriptor: Q,
defineProperty: tt
}),
t.exports = function(t, e, n) {
var a = t.match(/\d+$/)[0] / 8
, c = t + (n ? "Clamped" : "") + "Array"
, u = "get" + t
, d = "set" + t
, f = r[c]
, g = f
, y = g && g.prototype
, b = {}
, S = function(t, e) {
M(t, e, {
get: function() {
return function(t, e) {
var n = D(t);
return n.view[u](e * a + n.byteOffset, !0)
}(this, e)
},
set: function(t) {
return function(t, e, i) {
var r = D(t);
n && (i = (i = B(i)) < 0 ? 0 : i > 255 ? 255 : 255 & i),
r.view[d](e * a + r.byteOffset, i, !0)
}(this, e, t)
},
enumerable: !0
})
};
q ? s && (g = e(function(t, e, n, i) {
return l(t, y),
L(w(e) ? Z(e) ? void 0 !== i ? new f(e,v(n, a),i) : void 0 !== n ? new f(e,v(n, a)) : new f(e) : Y(e) ? K(g, e) : o(T, g, e) : new f(m(e)), t, g)
}),
x && x(g, U),
E(O(f), function(t) {
t in g || h(g, t, f[t])
}),
g.prototype = y) : (g = e(function(t, e, n, i) {
l(t, y);
var r, s, c, u = 0, d = 0;
if (w(e)) {
if (!Z(e))
return Y(e) ? K(g, e) : o(T, g, e);
r = e,
d = v(n, a);
var h = e.byteLength;
if (void 0 === i) {
if (h % a)
throw N("Wrong length");
if ((s = h - d) < 0)
throw N("Wrong length")
} else if ((s = p(i) * a) + d > h)
throw N("Wrong length");
c = s / a
} else
c = m(e),
r = new G(s = c * a);
for (j(t, {
buffer: r,
byteOffset: d,
byteLength: s,
length: c,
view: new F(r)
}); u < c; )
S(t, u++)
}),
x && x(g, U),
y = g.prototype = A(V)),
y.constructor !== g && h(y, "constructor", g),
h(y, z, g),
W && h(y, W, c),
b[c] = g,
i({
global: !0,
forced: g != f,
sham: !q
}, b),
"BYTES_PER_ELEMENT"in g || h(g, "BYTES_PER_ELEMENT", a),
"BYTES_PER_ELEMENT"in y || h(y, "BYTES_PER_ELEMENT", a),
k(c)
}
) : t.exports = function() {}
},
"eDl+": function(t, e) {
t.exports = ["constructor", "hasOwnProperty", "isPrototypeOf", "propertyIsEnumerable", "toLocaleString", "toString", "valueOf"]
},
eFrH: function(t, e, n) {
var i = n("zBJ4")("span").classList
, r = i && i.constructor && i.constructor.prototype;
t.exports = r === Object.prototype ? void 0 : r
},
ewvW: function(t, e, n) {
var i = n("2oRo")
, r = n("HYAF")
, o = i.Object;
t.exports = function(t) {
return o(r(t))
}
},
ezDJ: function(t, e, n) {
"use strict";
n.d(e, "a", function() {
return s
});
var i = n("6Ssv")
, r = n("qLbo")
, o = function(t, e, n, i) {
return new (n || (n = Promise))(function(r, o) {
function a(t) {
try {
c(i.next(t))
} catch (t) {
o(t)
}
}
function s(t) {
try {
c(i.throw(t))
} catch (t) {
o(t)
}
}
function c(t) {
var e;
t.done ? r(t.value) : (e = t.value,
e instanceof n ? e : new n(function(t) {
t(e)
}
)).then(a, s)
}
c((i = i.apply(t, e || [])).next())
}
)
}
, a = function(t, e) {
var n, i, r, o, a = {
label: 0,
sent: function() {
if (1 & r[0])
throw r[1];
return r[1]
},
trys: [],
ops: []
};
return o = {
next: s(0),
throw: s(1),
return: s(2)
},
"function" == typeof Symbol && (o[Symbol.iterator] = function() {
return this
}
),
o;
function s(o) {
return function(s) {
return function(o) {
if (n)
throw new TypeError("Generator is already executing.");
for (; a; )
try {
if (n = 1,
i && (r = 2 & o[0] ? i.return : o[0] ? i.throw || ((r = i.return) && r.call(i),
0) : i.next) && !(r = r.call(i, o[1])).done)
return r;
switch (i = 0,
r && (o = [2 & o[0], r.value]),
o[0]) {
case 0:
case 1:
r = o;
break;
case 4:
return a.label++,
{
value: o[1],
done: !1
};
case 5:
a.label++,
i = o[1],
o = [0];
continue;
case 7:
o = a.ops.pop(),
a.trys.pop();
continue;
default:
if (!(r = (r = a.trys).length > 0 && r[r.length - 1]) && (6 === o[0] || 2 === o[0])) {
a = 0;
continue
}
if (3 === o[0] && (!r || o[1] > r[0] && o[1] < r[3])) {
a.label = o[1];
break
}
if (6 === o[0] && a.label < r[1]) {
a.label = r[1],
r = o;
break
}
if (r && a.label < r[2]) {
a.label = r[2],
a.ops.push(o);
break
}
r[2] && a.ops.pop(),
a.trys.pop();
continue
}
o = e.call(t, a)
} catch (t) {
o = [6, t],
i = 0
} finally {
n = r = 0
}
if (5 & o[0])
throw o[1];
return {
value: o[0] ? o[1] : void 0,
done: !0
}
}([o, s])
}
}
}
, s = function() {
function t() {
var t, e, n, o;
this.domain = null === (e = null === (t = null === window || void 0 === window ? void 0 : window.eb) || void 0 === t ? void 0 : t.params) || void 0 === e ? void 0 : e.authHost,
this.eaid = null === (o = null === (n = null === window || void 0 === window ? void 0 : window.eb) || void 0 === n ? void 0 : n.params) || void 0 === o ? void 0 : o.eaid,
this.euid = i.a ? localStorage.getItem(r.b.EUID) : null
}
return t.prototype.getEuid = function() {
return o(this, void 0, void 0, function() {
var t, e, n;
return a(this, function(o) {
switch (o.label) {
case 0:
if (this.euid && this.validateEuid() || !this.eaid || !this.domain)
return [2, this.euid];
o.label = 1;
case 1:
return o.trys.push([1, 4, , 5]),
[4, fetch(this.domain + "/api/v1/auth", {
method: "POST",
headers: {
"x-easy-eaid": String(this.eaid),
"Accept-Encoding": "gzip, deflate",
"Content-Encoding": "gzip"
},
body: JSON.stringify({})
})];
case 2:
return [4, o.sent().json()];
case 3:
return t = o.sent(),
e = t.euid,
i.a && e && localStorage.setItem(r.b.EUID, e),
[2, null != e ? e : null];
case 4:
return n = o.sent(),
console.warn(n),
[2, null];
case 5:
return [2]
}
})
})
}
,
t.prototype.validateEuid = function() {
if (!this.euid)
return !1;
return /^[a-f0-9]{64}$/i.test(this.euid)
}
,
t
}()
},
f3jH: function(t, e, n) {
var i = n("I+eb")
, r = n("glrk")
, o = n("4WOD");
i({
target: "Reflect",
stat: !0,
sham: !n("4Xet")
}, {
getPrototypeOf: function(t) {
return o(r(t))
}
})
},
f5p1: function(t, e, n) {
var i = n("2oRo")
, r = n("Fib7")
, o = n("iSVu")
, a = i.WeakMap;
t.exports = r(a) && /native code/.test(o(a))
},
fHMY: function(t, e, n) {
var i, r = n("glrk"), o = n("N+g0"), a = n("eDl+"), s = n("0BK2"), c = n("G+Rx"), u = n("zBJ4"), l = n("93I0"), d = l("IE_PROTO"), h = function() {}, f = function(t) {
return "