Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
RishiRecon
GitHub Repository: RishiRecon/exploits
Path: blob/main/misc/burgeria/poki-sdk-core.js
35956 views
1
! function(t) {
2
var n = {};
3
4
function e(i) {
5
if (n[i]) return n[i].exports;
6
var r = n[i] = {
7
i: i,
8
l: !1,
9
exports: {}
10
};
11
return t[i].call(r.exports, r, r.exports, e), r.l = !0, r.exports
12
}
13
e.m = t, e.c = n, e.d = function(t, n, i) {
14
e.o(t, n) || Object.defineProperty(t, n, {
15
enumerable: !0,
16
get: i
17
})
18
}, e.r = function(t) {
19
"undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(t, Symbol.toStringTag, {
20
value: "Module"
21
}), Object.defineProperty(t, "__esModule", {
22
value: !0
23
})
24
}, e.t = function(t, n) {
25
if (1 & n && (t = e(t)), 8 & n) return t;
26
if (4 & n && "object" == typeof t && t && t.__esModule) return t;
27
var i = Object.create(null);
28
if (e.r(i), Object.defineProperty(i, "default", {
29
enumerable: !0,
30
value: t
31
}), 2 & n && "string" != typeof t)
32
for (var r in t) e.d(i, r, function(n) {
33
return t[n]
34
}.bind(null, r));
35
return i
36
}, e.n = function(t) {
37
var n = t && t.__esModule ? function() {
38
return t.default
39
} : function() {
40
return t
41
};
42
return e.d(n, "a", n), n
43
}, e.o = function(t, n) {
44
return Object.prototype.hasOwnProperty.call(t, n)
45
}, e.p = "", e(e.s = 110)
46
}([function(t, n, e) {
47
(function(n) {
48
var e = function(t) {
49
return t && t.Math == Math && t
50
};
51
t.exports = e("object" == typeof globalThis && globalThis) || e("object" == typeof window && window) || e("object" == typeof self && self) || e("object" == typeof n && n) || Function("return this")()
52
}).call(this, e(37))
53
}, function(t, n, e) {
54
var i = e(0),
55
r = e(43),
56
o = e(3),
57
a = e(44),
58
s = e(51),
59
d = e(80),
60
c = r("wks"),
61
u = i.Symbol,
62
l = d ? u : u && u.withoutSetter || a;
63
t.exports = function(t) {
64
return o(c, t) || (s && o(u, t) ? c[t] = u[t] : c[t] = l("Symbol." + t)), c[t]
65
}
66
}, function(t, n) {
67
t.exports = function(t) {
68
try {
69
return !!t()
70
} catch (t) {
71
return !0
72
}
73
}
74
}, function(t, n) {
75
var e = {}.hasOwnProperty;
76
t.exports = function(t, n) {
77
return e.call(t, n)
78
}
79
}, function(t, n, e) {
80
var i = e(8);
81
t.exports = function(t) {
82
if (!i(t)) throw TypeError(String(t) + " is not an object");
83
return t
84
}
85
}, function(t, n, e) {
86
var i = e(0),
87
r = e(23).f,
88
o = e(7),
89
a = e(12),
90
s = e(26),
91
d = e(72),
92
c = e(48);
93
t.exports = function(t, n) {
94
var e, u, l, A, m, f = t.target,
95
p = t.global,
96
g = t.stat;
97
if (e = p ? i : g ? i[f] || s(f, {}) : (i[f] || {}).prototype)
98
for (u in n) {
99
if (A = n[u], l = t.noTargetGet ? (m = r(e, u)) && m.value : e[u], !c(p ? u : f + (g ? "." : "#") + u, t.forced) && void 0 !== l) {
100
if (typeof A == typeof l) continue;
101
d(A, l)
102
}(t.sham || l && l.sham) && o(A, "sham", !0), a(e, u, A, t)
103
}
104
}
105
}, function(t, n, e) {
106
var i = e(2);
107
t.exports = !i((function() {
108
return 7 != Object.defineProperty({}, 1, {
109
get: function() {
110
return 7
111
}
112
})[1]
113
}))
114
}, function(t, n, e) {
115
var i = e(6),
116
r = e(9),
117
o = e(19);
118
t.exports = i ? function(t, n, e) {
119
return r.f(t, n, o(1, e))
120
} : function(t, n, e) {
121
return t[n] = e, t
122
}
123
}, function(t, n) {
124
t.exports = function(t) {
125
return "object" == typeof t ? null !== t : "function" == typeof t
126
}
127
}, function(t, n, e) {
128
var i = e(6),
129
r = e(41),
130
o = e(4),
131
a = e(40),
132
s = Object.defineProperty;
133
n.f = i ? s : function(t, n, e) {
134
if (o(t), n = a(n, !0), o(e), r) try {
135
return s(t, n, e)
136
} catch (t) {}
137
if ("get" in e || "set" in e) throw TypeError("Accessors not supported");
138
return "value" in e && (t[n] = e.value), t
139
}
140
}, function(t, n, e) {
141
var i = e(30),
142
r = e(0),
143
o = function(t) {
144
return "function" == typeof t ? t : void 0
145
};
146
t.exports = function(t, n) {
147
return arguments.length < 2 ? o(i[t]) || o(r[t]) : i[t] && i[t][n] || r[t] && r[t][n]
148
}
149
}, function(t, n, e) {
150
(function(e) {
151
var i, r, o;
152
! function(e, a) {
153
if (e) {
154
var s = {},
155
d = e.TraceKit,
156
c = [].slice,
157
u = /^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/;
158
s.noConflict = function() {
159
return e.TraceKit = d, s
160
}, s.wrap = function(t) {
161
return function() {
162
try {
163
return t.apply(this, arguments)
164
} catch (t) {
165
throw s.report(t), t
166
}
167
}
168
}, s.report = function() {
169
var t, n, i = [],
170
r = null,
171
o = null;
172
173
function a(t, n, e) {
174
var r = null;
175
if (!n || s.collectWindowErrors) {
176
for (var o in i)
177
if (l(i, o)) try {
178
i[o](t, n, e)
179
} catch (t) {
180
r = t
181
}
182
if (r) throw r
183
}
184
}
185
186
function d(n, e, i, r, d) {
187
if (o) s.computeStackTrace.augmentStackTraceWithInitialElement(o, e, i, n), c();
188
else if (d) a(s.computeStackTrace(d), !0, d);
189
else {
190
var l, A = {
191
url: e,
192
line: i,
193
column: r
194
},
195
m = n;
196
if ("[object String]" === {}.toString.call(n)) {
197
var f = n.match(u);
198
f && (l = f[1], m = f[2])
199
}
200
A.func = s.computeStackTrace.guessFunctionName(A.url, A.line), A.context = s.computeStackTrace.gatherContext(A.url, A.line), a({
201
name: l,
202
message: m,
203
mode: "onerror",
204
stack: [A]
205
}, !0, null)
206
}
207
return !!t && t.apply(this, arguments)
208
}
209
210
function c() {
211
var t = o,
212
n = r;
213
o = null, r = null, a(t, !1, n)
214
}
215
216
function A(t) {
217
if (o) {
218
if (r === t) return;
219
c()
220
}
221
var n = s.computeStackTrace(t);
222
throw o = n, r = t, setTimeout((function() {
223
r === t && c()
224
}), n.incomplete ? 2e3 : 0), t
225
}
226
return A.subscribe = function(r) {
227
! function() {
228
if (!0 === n) return;
229
t = e.onerror, e.onerror = d, n = !0
230
}(), i.push(r)
231
}, A.unsubscribe = function(r) {
232
for (var o = i.length - 1; o >= 0; --o) i[o] === r && i.splice(o, 1);
233
0 === i.length && (e.onerror = t, n = !1)
234
}, A
235
}(), s.computeStackTrace = function() {
236
var t = {};
237
238
function n(n) {
239
if ("string" != typeof n) return [];
240
if (!l(t, n)) {
241
var i = "",
242
r = "";
243
try {
244
r = e.document.domain
245
} catch (t) {}
246
var o = /(.*)\:\/\/([^:\/]+)([:\d]*)\/{0,1}([\s\S]*)/.exec(n);
247
o && o[2] === r && (i = function(t) {
248
if (!s.remoteFetching) return "";
249
try {
250
var n = function() {
251
try {
252
return new e.XMLHttpRequest
253
} catch (t) {
254
return new e.ActiveXObject("Microsoft.XMLHTTP")
255
}
256
}();
257
return n.open("GET", t, !1), n.send(""), n.responseText
258
} catch (t) {
259
return ""
260
}
261
}(n)), t[n] = i ? i.split("\n") : []
262
}
263
return t[n]
264
}
265
266
function i(t, e) {
267
var i, r = /function ([^(]*)\(([^)]*)\)/,
268
o = /['"]?([0-9A-Za-z$_]+)['"]?\s*[:=]\s*(function|eval|new Function)/,
269
a = "",
270
s = n(t);
271
if (!s.length) return "?";
272
for (var d = 0; d < 10; ++d)
273
if (!A(a = s[e - d] + a)) {
274
if (i = o.exec(a)) return i[1];
275
if (i = r.exec(a)) return i[1]
276
}
277
return "?"
278
}
279
280
function r(t, e) {
281
var i = n(t);
282
if (!i.length) return null;
283
var r = [],
284
o = Math.floor(s.linesOfContext / 2),
285
a = o + s.linesOfContext % 2,
286
d = Math.max(0, e - o - 1),
287
c = Math.min(i.length, e + a - 1);
288
e -= 1;
289
for (var u = d; u < c; ++u) A(i[u]) || r.push(i[u]);
290
return r.length > 0 ? r : null
291
}
292
293
function o(t) {
294
return t.replace(/[\-\[\]{}()*+?.,\\\^$|#]/g, "\\$&")
295
}
296
297
function a(t) {
298
return o(t).replace("<", "(?:<|&lt;)").replace(">", "(?:>|&gt;)").replace("&", "(?:&|&amp;)").replace('"', '(?:"|&quot;)').replace(/\s+/g, "\\s+")
299
}
300
301
function d(t, e) {
302
for (var i, r, o = 0, a = e.length; o < a; ++o)
303
if ((i = n(e[o])).length && (i = i.join("\n"), r = t.exec(i))) return {
304
url: e[o],
305
line: i.substring(0, r.index).split("\n").length,
306
column: r.index - i.lastIndexOf("\n", r.index) - 1
307
};
308
return null
309
}
310
311
function c(t, e, i) {
312
var r, a = n(e),
313
s = new RegExp("\\b" + o(t) + "\\b");
314
return i -= 1, a && a.length > i && (r = s.exec(a[i])) ? r.index : null
315
}
316
317
function u(t) {
318
if (!A(e && e.document)) {
319
for (var n, i, r, s, c = [e.location.href], u = e.document.getElementsByTagName("script"), l = "" + t, m = 0; m < u.length; ++m) {
320
var f = u[m];
321
f.src && c.push(f.src)
322
}
323
if (r = /^function(?:\s+([\w$]+))?\s*\(([\w\s,]*)\)\s*\{\s*(\S[\s\S]*\S)\s*\}\s*$/.exec(l)) {
324
var p = r[1] ? "\\s+" + r[1] : "",
325
g = r[2].split(",").join("\\s*,\\s*");
326
n = o(r[3]).replace(/;$/, ";?"), i = new RegExp("function" + p + "\\s*\\(\\s*" + g + "\\s*\\)\\s*{\\s*" + n + "\\s*}")
327
} else i = new RegExp(o(l).replace(/\s+/g, "\\s+"));
328
if (s = d(i, c)) return s;
329
if (r = /^function on([\w$]+)\s*\(event\)\s*\{\s*(\S[\s\S]*\S)\s*\}\s*$/.exec(l)) {
330
var h = r[1];
331
if (n = a(r[2]), s = d(i = new RegExp("on" + h + "=[\\'\"]\\s*" + n + "\\s*[\\'\"]", "i"), c[0])) return s;
332
if (s = d(i = new RegExp(n), c)) return s
333
}
334
return null
335
}
336
}
337
338
function m(t) {
339
if (!t.stack) return null;
340
for (var n, e, o, a = /^\s*at (.*?) ?\(((?:file|https?|blob|chrome-extension|native|eval|webpack|<anonymous>|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i, s = /^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|resource|\[native).*?|[^@]*bundle)(?::(\d+))?(?::(\d+))?\s*$/i, d = /^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i, u = /(\S+) line (\d+)(?: > eval line \d+)* > eval/i, l = /\((\S*)(?::(\d+))(?::(\d+))\)/, m = t.stack.split("\n"), f = [], p = /^(.*) is undefined$/.exec(t.message), g = 0, h = m.length; g < h; ++g) {
341
if (e = a.exec(m[g])) {
342
var w = e[2] && 0 === e[2].indexOf("native");
343
e[2] && 0 === e[2].indexOf("eval") && (n = l.exec(e[2])) && (e[2] = n[1], e[3] = n[2], e[4] = n[3]), o = {
344
url: w ? null : e[2],
345
func: e[1] || "?",
346
args: w ? [e[2]] : [],
347
line: e[3] ? +e[3] : null,
348
column: e[4] ? +e[4] : null
349
}
350
} else if (e = d.exec(m[g])) o = {
351
url: e[2],
352
func: e[1] || "?",
353
args: [],
354
line: +e[3],
355
column: e[4] ? +e[4] : null
356
};
357
else {
358
if (!(e = s.exec(m[g]))) continue;
359
e[3] && e[3].indexOf(" > eval") > -1 && (n = u.exec(e[3])) ? (e[3] = n[1], e[4] = n[2], e[5] = null) : 0 !== g || e[5] || A(t.columnNumber) || (f[0].column = t.columnNumber + 1), o = {
360
url: e[3],
361
func: e[1] || "?",
362
args: e[2] ? e[2].split(",") : [],
363
line: e[4] ? +e[4] : null,
364
column: e[5] ? +e[5] : null
365
}
366
}!o.func && o.line && (o.func = i(o.url, o.line)), o.context = o.line ? r(o.url, o.line) : null, f.push(o)
367
}
368
return f.length ? (f[0] && f[0].line && !f[0].column && p && (f[0].column = c(p[1], f[0].url, f[0].line)), {
369
mode: "stack",
370
name: t.name,
371
message: t.message,
372
stack: f
373
}) : null
374
}
375
376
function f(t, n, e, o) {
377
var a = {
378
url: n,
379
line: e
380
};
381
if (a.url && a.line) {
382
t.incomplete = !1, a.func || (a.func = i(a.url, a.line)), a.context || (a.context = r(a.url, a.line));
383
var s = / '([^']+)' /.exec(o);
384
if (s && (a.column = c(s[1], a.url, a.line)), t.stack.length > 0 && t.stack[0].url === a.url) {
385
if (t.stack[0].line === a.line) return !1;
386
if (!t.stack[0].line && t.stack[0].func === a.func) return t.stack[0].line = a.line, t.stack[0].context = a.context, !1
387
}
388
return t.stack.unshift(a), t.partial = !0, !0
389
}
390
return t.incomplete = !0, !1
391
}
392
393
function p(t, n) {
394
for (var e, r, o, a = /function\s+([_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*)?\s*\(/i, d = [], l = {}, A = !1, m = p.caller; m && !A; m = m.caller)
395
if (m !== g && m !== s.report) {
396
if (r = {
397
url: null,
398
func: "?",
399
args: [],
400
line: null,
401
column: null
402
}, m.name ? r.func = m.name : (e = a.exec(m.toString())) && (r.func = e[1]), void 0 === r.func) try {
403
r.func = e.input.substring(0, e.input.indexOf("{"))
404
} catch (t) {}
405
if (o = u(m)) {
406
r.url = o.url, r.line = o.line, "?" === r.func && (r.func = i(r.url, r.line));
407
var h = / '([^']+)' /.exec(t.message || t.description);
408
h && (r.column = c(h[1], o.url, o.line))
409
}
410
l["" + m] ? A = !0 : l["" + m] = !0, d.push(r)
411
}
412
n && d.splice(0, n);
413
var w = {
414
mode: "callers",
415
name: t.name,
416
message: t.message,
417
stack: d
418
};
419
return f(w, t.sourceURL || t.fileName, t.line || t.lineNumber, t.message || t.description), w
420
}
421
422
function g(t, o) {
423
var s = null;
424
o = null == o ? 0 : +o;
425
try {
426
if (s = function(t) {
427
var n = t.stacktrace;
428
if (n) {
429
for (var e, o = / line (\d+).*script (?:in )?(\S+)(?:: in function (\S+))?$/i, a = / line (\d+), column (\d+)\s*(?:in (?:<anonymous function: ([^>]+)>|([^\)]+))\((.*)\))? in (.*):\s*$/i, s = n.split("\n"), d = [], c = 0; c < s.length; c += 2) {
430
var u = null;
431
if ((e = o.exec(s[c])) ? u = {
432
url: e[2],
433
line: +e[1],
434
column: null,
435
func: e[3],
436
args: []
437
} : (e = a.exec(s[c])) && (u = {
438
url: e[6],
439
line: +e[1],
440
column: +e[2],
441
func: e[3] || e[4],
442
args: e[5] ? e[5].split(",") : []
443
}), u) {
444
if (!u.func && u.line && (u.func = i(u.url, u.line)), u.line) try {
445
u.context = r(u.url, u.line)
446
} catch (t) {}
447
u.context || (u.context = [s[c + 1]]), d.push(u)
448
}
449
}
450
return d.length ? {
451
mode: "stacktrace",
452
name: t.name,
453
message: t.message,
454
stack: d
455
} : null
456
}
457
}(t)) return s
458
} catch (t) {
459
0
460
}
461
try {
462
if (s = m(t)) return s
463
} catch (t) {
464
0
465
}
466
try {
467
if (s = function(t) {
468
var o = t.message.split("\n");
469
if (o.length < 4) return null;
470
var s, c = /^\s*Line (\d+) of linked script ((?:file|https?|blob)\S+)(?:: in function (\S+))?\s*$/i,
471
u = /^\s*Line (\d+) of inline#(\d+) script in ((?:file|https?|blob)\S+)(?:: in function (\S+))?\s*$/i,
472
A = /^\s*Line (\d+) of function script\s*$/i,
473
m = [],
474
f = e && e.document && e.document.getElementsByTagName("script"),
475
p = [];
476
for (var g in f) l(f, g) && !f[g].src && p.push(f[g]);
477
for (var h = 2; h < o.length; h += 2) {
478
var w = null;
479
if (s = c.exec(o[h])) w = {
480
url: s[2],
481
func: s[3],
482
args: [],
483
line: +s[1],
484
column: null
485
};
486
else if (s = u.exec(o[h])) {
487
w = {
488
url: s[3],
489
func: s[4],
490
args: [],
491
line: +s[1],
492
column: null
493
};
494
var y = +s[1],
495
v = p[s[2] - 1];
496
if (v) {
497
var b = n(w.url);
498
if (b) {
499
var k = (b = b.join("\n")).indexOf(v.innerText);
500
k >= 0 && (w.line = y + b.substring(0, k).split("\n").length)
501
}
502
}
503
} else if (s = A.exec(o[h])) {
504
var S = e.location.href.replace(/#.*$/, ""),
505
E = d(new RegExp(a(o[h + 1])), [S]);
506
w = {
507
url: S,
508
func: "",
509
args: [],
510
line: E ? E.line : s[1],
511
column: null
512
}
513
}
514
if (w) {
515
w.func || (w.func = i(w.url, w.line));
516
var x = r(w.url, w.line),
517
T = x ? x[Math.floor(x.length / 2)] : null;
518
x && T.replace(/^\s*/, "") === o[h + 1].replace(/^\s*/, "") ? w.context = x : w.context = [o[h + 1]], m.push(w)
519
}
520
}
521
return m.length ? {
522
mode: "multiline",
523
name: t.name,
524
message: o[0],
525
stack: m
526
} : null
527
}(t)) return s
528
} catch (t) {
529
0
530
}
531
try {
532
if (s = p(t, o + 1)) return s
533
} catch (t) {
534
0
535
}
536
return {
537
name: t.name,
538
message: t.message,
539
mode: "failed"
540
}
541
}
542
return g.augmentStackTraceWithInitialElement = f, g.computeStackTraceFromStackProp = m, g.guessFunctionName = i, g.gatherContext = r, g.ofCaller = function(t) {
543
t = 1 + (null == t ? 0 : +t);
544
try {
545
throw new Error
546
} catch (n) {
547
return g(n, t + 1)
548
}
549
}, g.getSource = n, g
550
}(), s.extendToAsynchronousCallbacks = function() {
551
var t = function(t) {
552
var n = e[t];
553
e[t] = function() {
554
var t = c.call(arguments),
555
e = t[0];
556
return "function" == typeof e && (t[0] = s.wrap(e)), n.apply ? n.apply(this, t) : n(t[0], t[1])
557
}
558
};
559
t("setTimeout"), t("setInterval")
560
}, s.remoteFetching || (s.remoteFetching = !0), s.collectWindowErrors || (s.collectWindowErrors = !0), (!s.linesOfContext || s.linesOfContext < 1) && (s.linesOfContext = 11), r = [], void 0 === (o = "function" == typeof(i = s) ? i.apply(n, r) : i) || (t.exports = o)
561
}
562
563
function l(t, n) {
564
return Object.prototype.hasOwnProperty.call(t, n)
565
}
566
567
function A(t) {
568
return void 0 === t
569
}
570
}("undefined" != typeof window ? window : e)
571
}).call(this, e(37))
572
}, function(t, n, e) {
573
var i = e(0),
574
r = e(7),
575
o = e(3),
576
a = e(26),
577
s = e(27),
578
d = e(15),
579
c = d.get,
580
u = d.enforce,
581
l = String(String).split("String");
582
(t.exports = function(t, n, e, s) {
583
var d = !!s && !!s.unsafe,
584
c = !!s && !!s.enumerable,
585
A = !!s && !!s.noTargetGet;
586
"function" == typeof e && ("string" != typeof n || o(e, "name") || r(e, "name", n), u(e).source = l.join("string" == typeof n ? n : "")), t !== i ? (d ? !A && t[n] && (c = !0) : delete t[n], c ? t[n] = e : r(t, n, e)) : c ? t[n] = e : a(n, e)
587
})(Function.prototype, "toString", (function() {
588
return "function" == typeof this && c(this).source || s(this)
589
}))
590
}, function(t, n) {
591
t.exports = function(t) {
592
if ("function" != typeof t) throw TypeError(String(t) + " is not a function");
593
return t
594
}
595
}, function(t, n) {
596
var e = {}.toString;
597
t.exports = function(t) {
598
return e.call(t).slice(8, -1)
599
}
600
}, function(t, n, e) {
601
var i, r, o, a = e(71),
602
s = e(0),
603
d = e(8),
604
c = e(7),
605
u = e(3),
606
l = e(28),
607
A = e(29),
608
m = s.WeakMap;
609
if (a) {
610
var f = new m,
611
p = f.get,
612
g = f.has,
613
h = f.set;
614
i = function(t, n) {
615
return h.call(f, t, n), n
616
}, r = function(t) {
617
return p.call(f, t) || {}
618
}, o = function(t) {
619
return g.call(f, t)
620
}
621
} else {
622
var w = l("state");
623
A[w] = !0, i = function(t, n) {
624
return c(t, w, n), n
625
}, r = function(t) {
626
return u(t, w) ? t[w] : {}
627
}, o = function(t) {
628
return u(t, w)
629
}
630
}
631
t.exports = {
632
set: i,
633
get: r,
634
has: o,
635
enforce: function(t) {
636
return o(t) ? r(t) : i(t, {})
637
},
638
getterFor: function(t) {
639
return function(n) {
640
var e;
641
if (!d(n) || (e = r(n)).type !== t) throw TypeError("Incompatible receiver, " + t + " required");
642
return e
643
}
644
}
645
}
646
}, function(t, n) {
647
t.exports = !1
648
}, function(t, n) {
649
t.exports = {}
650
}, function(t, n, e) {
651
"use strict";
652
var i = e(13),
653
r = function(t) {
654
var n, e;
655
this.promise = new t((function(t, i) {
656
if (void 0 !== n || void 0 !== e) throw TypeError("Bad Promise constructor");
657
n = t, e = i
658
})), this.resolve = i(n), this.reject = i(e)
659
};
660
t.exports.f = function(t) {
661
return new r(t)
662
}
663
}, function(t, n) {
664
t.exports = function(t, n) {
665
return {
666
enumerable: !(1 & t),
667
configurable: !(2 & t),
668
writable: !(4 & t),
669
value: n
670
}
671
}
672
}, function(t, n, e) {
673
var i = e(39),
674
r = e(24);
675
t.exports = function(t) {
676
return i(r(t))
677
}
678
}, function(t, n, e) {
679
var i = e(4),
680
r = e(96),
681
o = e(46),
682
a = e(58),
683
s = e(97),
684
d = e(98),
685
c = function(t, n) {
686
this.stopped = t, this.result = n
687
};
688
(t.exports = function(t, n, e, u, l) {
689
var A, m, f, p, g, h, w, y = a(n, e, u ? 2 : 1);
690
if (l) A = t;
691
else {
692
if ("function" != typeof(m = s(t))) throw TypeError("Target is not iterable");
693
if (r(m)) {
694
for (f = 0, p = o(t.length); p > f; f++)
695
if ((g = u ? y(i(w = t[f])[0], w[1]) : y(t[f])) && g instanceof c) return g;
696
return new c(!1)
697
}
698
A = m.call(t)
699
}
700
for (h = A.next; !(w = h.call(A)).done;)
701
if ("object" == typeof(g = d(A, y, w.value, u)) && g && g instanceof c) return g;
702
return new c(!1)
703
}).stop = function(t) {
704
return new c(!0, t)
705
}
706
}, function(t, n) {
707
t.exports = function(t) {
708
try {
709
return {
710
error: !1,
711
value: t()
712
}
713
} catch (t) {
714
return {
715
error: !0,
716
value: t
717
}
718
}
719
}
720
}, function(t, n, e) {
721
var i = e(6),
722
r = e(38),
723
o = e(19),
724
a = e(20),
725
s = e(40),
726
d = e(3),
727
c = e(41),
728
u = Object.getOwnPropertyDescriptor;
729
n.f = i ? u : function(t, n) {
730
if (t = a(t), n = s(n, !0), c) try {
731
return u(t, n)
732
} catch (t) {}
733
if (d(t, n)) return o(!r.f.call(t, n), t[n])
734
}
735
}, function(t, n) {
736
t.exports = function(t) {
737
if (null == t) throw TypeError("Can't call method on " + t);
738
return t
739
}
740
}, function(t, n, e) {
741
var i = e(0),
742
r = e(8),
743
o = i.document,
744
a = r(o) && r(o.createElement);
745
t.exports = function(t) {
746
return a ? o.createElement(t) : {}
747
}
748
}, function(t, n, e) {
749
var i = e(0),
750
r = e(7);
751
t.exports = function(t, n) {
752
try {
753
r(i, t, n)
754
} catch (e) {
755
i[t] = n
756
}
757
return n
758
}
759
}, function(t, n, e) {
760
var i = e(42),
761
r = Function.toString;
762
"function" != typeof i.inspectSource && (i.inspectSource = function(t) {
763
return r.call(t)
764
}), t.exports = i.inspectSource
765
}, function(t, n, e) {
766
var i = e(43),
767
r = e(44),
768
o = i("keys");
769
t.exports = function(t) {
770
return o[t] || (o[t] = r(t))
771
}
772
}, function(t, n) {
773
t.exports = {}
774
}, function(t, n, e) {
775
var i = e(0);
776
t.exports = i
777
}, function(t, n) {
778
var e = Math.ceil,
779
i = Math.floor;
780
t.exports = function(t) {
781
return isNaN(t = +t) ? 0 : (t > 0 ? i : e)(t)
782
}
783
}, function(t, n) {
784
t.exports = ["constructor", "hasOwnProperty", "isPrototypeOf", "propertyIsEnumerable", "toLocaleString", "toString", "valueOf"]
785
}, function(t, n, e) {
786
var i = {};
787
i[e(1)("toStringTag")] = "z", t.exports = "[object z]" === String(i)
788
}, function(t, n, e) {
789
var i = e(3),
790
r = e(50),
791
o = e(28),
792
a = e(85),
793
s = o("IE_PROTO"),
794
d = Object.prototype;
795
t.exports = a ? Object.getPrototypeOf : function(t) {
796
return t = r(t), i(t, s) ? t[s] : "function" == typeof t.constructor && t instanceof t.constructor ? t.constructor.prototype : t instanceof Object ? d : null
797
}
798
}, function(t, n, e) {
799
var i, r = e(4),
800
o = e(86),
801
a = e(32),
802
s = e(29),
803
d = e(55),
804
c = e(25),
805
u = e(28),
806
l = u("IE_PROTO"),
807
A = function() {},
808
m = function(t) {
809
return "<script>" + t + "<\/script>"
810
},
811
f = function() {
812
try {
813
i = document.domain && new ActiveXObject("htmlfile")
814
} catch (t) {}
815
var t, n;
816
f = i ? function(t) {
817
t.write(m("")), t.close();
818
var n = t.parentWindow.Object;
819
return t = null, n
820
}(i) : ((n = c("iframe")).style.display = "none", d.appendChild(n), n.src = String("javascript:"), (t = n.contentWindow.document).open(), t.write(m("document.F=Object")), t.close(), t.F);
821
for (var e = a.length; e--;) delete f.prototype[a[e]];
822
return f()
823
};
824
s[l] = !0, t.exports = Object.create || function(t, n) {
825
var e;
826
return null !== t ? (A.prototype = r(t), e = new A, A.prototype = null, e[l] = t) : e = f(), void 0 === n ? e : o(e, n)
827
}
828
}, function(t, n, e) {
829
var i = e(9).f,
830
r = e(3),
831
o = e(1)("toStringTag");
832
t.exports = function(t, n, e) {
833
t && !r(t = e ? t : t.prototype, o) && i(t, o, {
834
configurable: !0,
835
value: n
836
})
837
}
838
}, function(t, n) {
839
var e;
840
e = function() {
841
return this
842
}();
843
try {
844
e = e || new Function("return this")()
845
} catch (t) {
846
"object" == typeof window && (e = window)
847
}
848
t.exports = e
849
}, function(t, n, e) {
850
"use strict";
851
var i = {}.propertyIsEnumerable,
852
r = Object.getOwnPropertyDescriptor,
853
o = r && !i.call({
854
1: 2
855
}, 1);
856
n.f = o ? function(t) {
857
var n = r(this, t);
858
return !!n && n.enumerable
859
} : i
860
}, function(t, n, e) {
861
var i = e(2),
862
r = e(14),
863
o = "".split;
864
t.exports = i((function() {
865
return !Object("z").propertyIsEnumerable(0)
866
})) ? function(t) {
867
return "String" == r(t) ? o.call(t, "") : Object(t)
868
} : Object
869
}, function(t, n, e) {
870
var i = e(8);
871
t.exports = function(t, n) {
872
if (!i(t)) return t;
873
var e, r;
874
if (n && "function" == typeof(e = t.toString) && !i(r = e.call(t))) return r;
875
if ("function" == typeof(e = t.valueOf) && !i(r = e.call(t))) return r;
876
if (!n && "function" == typeof(e = t.toString) && !i(r = e.call(t))) return r;
877
throw TypeError("Can't convert object to primitive value")
878
}
879
}, function(t, n, e) {
880
var i = e(6),
881
r = e(2),
882
o = e(25);
883
t.exports = !i && !r((function() {
884
return 7 != Object.defineProperty(o("div"), "a", {
885
get: function() {
886
return 7
887
}
888
}).a
889
}))
890
}, function(t, n, e) {
891
var i = e(0),
892
r = e(26),
893
o = i["__core-js_shared__"] || r("__core-js_shared__", {});
894
t.exports = o
895
}, function(t, n, e) {
896
var i = e(16),
897
r = e(42);
898
(t.exports = function(t, n) {
899
return r[t] || (r[t] = void 0 !== n ? n : {})
900
})("versions", []).push({
901
version: "3.6.5",
902
mode: i ? "pure" : "global",
903
copyright: "© 2020 Denis Pushkarev (zloirock.ru)"
904
})
905
}, function(t, n) {
906
var e = 0,
907
i = Math.random();
908
t.exports = function(t) {
909
return "Symbol(" + String(void 0 === t ? "" : t) + ")_" + (++e + i).toString(36)
910
}
911
}, function(t, n, e) {
912
var i = e(3),
913
r = e(20),
914
o = e(75).indexOf,
915
a = e(29);
916
t.exports = function(t, n) {
917
var e, s = r(t),
918
d = 0,
919
c = [];
920
for (e in s) !i(a, e) && i(s, e) && c.push(e);
921
for (; n.length > d;) i(s, e = n[d++]) && (~o(c, e) || c.push(e));
922
return c
923
}
924
}, function(t, n, e) {
925
var i = e(31),
926
r = Math.min;
927
t.exports = function(t) {
928
return t > 0 ? r(i(t), 9007199254740991) : 0
929
}
930
}, function(t, n) {
931
n.f = Object.getOwnPropertySymbols
932
}, function(t, n, e) {
933
var i = e(2),
934
r = /#|\.prototype\./,
935
o = function(t, n) {
936
var e = s[a(t)];
937
return e == c || e != d && ("function" == typeof n ? i(n) : !!n)
938
},
939
a = o.normalize = function(t) {
940
return String(t).replace(r, ".").toLowerCase()
941
},
942
s = o.data = {},
943
d = o.NATIVE = "N",
944
c = o.POLYFILL = "P";
945
t.exports = o
946
}, function(t, n, e) {
947
var i = e(45),
948
r = e(32);
949
t.exports = Object.keys || function(t) {
950
return i(t, r)
951
}
952
}, function(t, n, e) {
953
var i = e(24);
954
t.exports = function(t) {
955
return Object(i(t))
956
}
957
}, function(t, n, e) {
958
var i = e(2);
959
t.exports = !!Object.getOwnPropertySymbols && !i((function() {
960
return !String(Symbol())
961
}))
962
}, function(t, n, e) {
963
var i = e(33),
964
r = e(14),
965
o = e(1)("toStringTag"),
966
a = "Arguments" == r(function() {
967
return arguments
968
}());
969
t.exports = i ? r : function(t) {
970
var n, e, i;
971
return void 0 === t ? "Undefined" : null === t ? "Null" : "string" == typeof(e = function(t, n) {
972
try {
973
return t[n]
974
} catch (t) {}
975
}(n = Object(t), o)) ? e : a ? r(n) : "Object" == (i = r(n)) && "function" == typeof n.callee ? "Arguments" : i
976
}
977
}, function(t, n, e) {
978
"use strict";
979
var i = e(5),
980
r = e(84),
981
o = e(34),
982
a = e(56),
983
s = e(36),
984
d = e(7),
985
c = e(12),
986
u = e(1),
987
l = e(16),
988
A = e(17),
989
m = e(54),
990
f = m.IteratorPrototype,
991
p = m.BUGGY_SAFARI_ITERATORS,
992
g = u("iterator"),
993
h = function() {
994
return this
995
};
996
t.exports = function(t, n, e, u, m, w, y) {
997
r(e, n, u);
998
var v, b, k, S = function(t) {
999
if (t === m && C) return C;
1000
if (!p && t in T) return T[t];
1001
switch (t) {
1002
case "keys":
1003
case "values":
1004
case "entries":
1005
return function() {
1006
return new e(this, t)
1007
}
1008
}
1009
return function() {
1010
return new e(this)
1011
}
1012
},
1013
E = n + " Iterator",
1014
x = !1,
1015
T = t.prototype,
1016
z = T[g] || T["@@iterator"] || m && T[m],
1017
C = !p && z || S(m),
1018
I = "Array" == n && T.entries || z;
1019
if (I && (v = o(I.call(new t)), f !== Object.prototype && v.next && (l || o(v) === f || (a ? a(v, f) : "function" != typeof v[g] && d(v, g, h)), s(v, E, !0, !0), l && (A[E] = h))), "values" == m && z && "values" !== z.name && (x = !0, C = function() {
1020
return z.call(this)
1021
}), l && !y || T[g] === C || d(T, g, C), A[n] = C, m)
1022
if (b = {
1023
values: S("values"),
1024
keys: w ? C : S("keys"),
1025
entries: S("entries")
1026
}, y)
1027
for (k in b)(p || x || !(k in T)) && c(T, k, b[k]);
1028
else i({
1029
target: n,
1030
proto: !0,
1031
forced: p || x
1032
}, b);
1033
return b
1034
}
1035
}, function(t, n, e) {
1036
"use strict";
1037
var i, r, o, a = e(34),
1038
s = e(7),
1039
d = e(3),
1040
c = e(1),
1041
u = e(16),
1042
l = c("iterator"),
1043
A = !1;
1044
[].keys && ("next" in (o = [].keys()) ? (r = a(a(o))) !== Object.prototype && (i = r) : A = !0), null == i && (i = {}), u || d(i, l) || s(i, l, (function() {
1045
return this
1046
})), t.exports = {
1047
IteratorPrototype: i,
1048
BUGGY_SAFARI_ITERATORS: A
1049
}
1050
}, function(t, n, e) {
1051
var i = e(10);
1052
t.exports = i("document", "documentElement")
1053
}, function(t, n, e) {
1054
var i = e(4),
1055
r = e(87);
1056
t.exports = Object.setPrototypeOf || ("__proto__" in {} ? function() {
1057
var t, n = !1,
1058
e = {};
1059
try {
1060
(t = Object.getOwnPropertyDescriptor(Object.prototype, "__proto__").set).call(e, []), n = e instanceof Array
1061
} catch (t) {}
1062
return function(e, o) {
1063
return i(e), r(o), n ? t.call(e, o) : e.__proto__ = o, e
1064
}
1065
}() : void 0)
1066
}, function(t, n, e) {
1067
var i = e(0);
1068
t.exports = i.Promise
1069
}, function(t, n, e) {
1070
var i = e(13);
1071
t.exports = function(t, n, e) {
1072
if (i(t), void 0 === n) return t;
1073
switch (e) {
1074
case 0:
1075
return function() {
1076
return t.call(n)
1077
};
1078
case 1:
1079
return function(e) {
1080
return t.call(n, e)
1081
};
1082
case 2:
1083
return function(e, i) {
1084
return t.call(n, e, i)
1085
};
1086
case 3:
1087
return function(e, i, r) {
1088
return t.call(n, e, i, r)
1089
}
1090
}
1091
return function() {
1092
return t.apply(n, arguments)
1093
}
1094
}
1095
}, function(t, n, e) {
1096
var i = e(4),
1097
r = e(13),
1098
o = e(1)("species");
1099
t.exports = function(t, n) {
1100
var e, a = i(t).constructor;
1101
return void 0 === a || null == (e = i(a)[o]) ? n : r(e)
1102
}
1103
}, function(t, n, e) {
1104
var i, r, o, a = e(0),
1105
s = e(2),
1106
d = e(14),
1107
c = e(58),
1108
u = e(55),
1109
l = e(25),
1110
A = e(61),
1111
m = a.location,
1112
f = a.setImmediate,
1113
p = a.clearImmediate,
1114
g = a.process,
1115
h = a.MessageChannel,
1116
w = a.Dispatch,
1117
y = 0,
1118
v = {},
1119
b = function(t) {
1120
if (v.hasOwnProperty(t)) {
1121
var n = v[t];
1122
delete v[t], n()
1123
}
1124
},
1125
k = function(t) {
1126
return function() {
1127
b(t)
1128
}
1129
},
1130
S = function(t) {
1131
b(t.data)
1132
},
1133
E = function(t) {
1134
a.postMessage(t + "", m.protocol + "//" + m.host)
1135
};
1136
f && p || (f = function(t) {
1137
for (var n = [], e = 1; arguments.length > e;) n.push(arguments[e++]);
1138
return v[++y] = function() {
1139
("function" == typeof t ? t : Function(t)).apply(void 0, n)
1140
}, i(y), y
1141
}, p = function(t) {
1142
delete v[t]
1143
}, "process" == d(g) ? i = function(t) {
1144
g.nextTick(k(t))
1145
} : w && w.now ? i = function(t) {
1146
w.now(k(t))
1147
} : h && !A ? (o = (r = new h).port2, r.port1.onmessage = S, i = c(o.postMessage, o, 1)) : !a.addEventListener || "function" != typeof postMessage || a.importScripts || s(E) || "file:" === m.protocol ? i = "onreadystatechange" in l("script") ? function(t) {
1148
u.appendChild(l("script")).onreadystatechange = function() {
1149
u.removeChild(this), b(t)
1150
}
1151
} : function(t) {
1152
setTimeout(k(t), 0)
1153
} : (i = E, a.addEventListener("message", S, !1))), t.exports = {
1154
set: f,
1155
clear: p
1156
}
1157
}, function(t, n, e) {
1158
var i = e(62);
1159
t.exports = /(iphone|ipod|ipad).*applewebkit/i.test(i)
1160
}, function(t, n, e) {
1161
var i = e(10);
1162
t.exports = i("navigator", "userAgent") || ""
1163
}, function(t, n, e) {
1164
var i = e(4),
1165
r = e(8),
1166
o = e(18);
1167
t.exports = function(t, n) {
1168
if (i(t), r(n) && n.constructor === t) return n;
1169
var e = o.f(t);
1170
return (0, e.resolve)(n), e.promise
1171
}
1172
}, function(t, n, e) {
1173
"use strict";
1174
var i = e(5),
1175
r = e(13),
1176
o = e(18),
1177
a = e(22),
1178
s = e(21);
1179
i({
1180
target: "Promise",
1181
stat: !0
1182
}, {
1183
allSettled: function(t) {
1184
var n = this,
1185
e = o.f(n),
1186
i = e.resolve,
1187
d = e.reject,
1188
c = a((function() {
1189
var e = r(n.resolve),
1190
o = [],
1191
a = 0,
1192
d = 1;
1193
s(t, (function(t) {
1194
var r = a++,
1195
s = !1;
1196
o.push(void 0), d++, e.call(n, t).then((function(t) {
1197
s || (s = !0, o[r] = {
1198
status: "fulfilled",
1199
value: t
1200
}, --d || i(o))
1201
}), (function(t) {
1202
s || (s = !0, o[r] = {
1203
status: "rejected",
1204
reason: t
1205
}, --d || i(o))
1206
}))
1207
})), --d || i(o)
1208
}));
1209
return c.error && d(c.value), e.promise
1210
}
1211
})
1212
}, function(t, n, e) {
1213
var i = e(69);
1214
t.exports = i
1215
}, function(t, n, e) {
1216
var i = e(78);
1217
e(104), e(105), e(106), e(107), t.exports = i
1218
}, function(t) {
1219
t.exports = JSON.parse('{"a":"./prebid4.12.0.js"}')
1220
}, , function(t, n, e) {
1221
e(70);
1222
var i = e(30);
1223
t.exports = i.Object.assign
1224
}, function(t, n, e) {
1225
var i = e(5),
1226
r = e(77);
1227
i({
1228
target: "Object",
1229
stat: !0,
1230
forced: Object.assign !== r
1231
}, {
1232
assign: r
1233
})
1234
}, function(t, n, e) {
1235
var i = e(0),
1236
r = e(27),
1237
o = i.WeakMap;
1238
t.exports = "function" == typeof o && /native code/.test(r(o))
1239
}, function(t, n, e) {
1240
var i = e(3),
1241
r = e(73),
1242
o = e(23),
1243
a = e(9);
1244
t.exports = function(t, n) {
1245
for (var e = r(n), s = a.f, d = o.f, c = 0; c < e.length; c++) {
1246
var u = e[c];
1247
i(t, u) || s(t, u, d(n, u))
1248
}
1249
}
1250
}, function(t, n, e) {
1251
var i = e(10),
1252
r = e(74),
1253
o = e(47),
1254
a = e(4);
1255
t.exports = i("Reflect", "ownKeys") || function(t) {
1256
var n = r.f(a(t)),
1257
e = o.f;
1258
return e ? n.concat(e(t)) : n
1259
}
1260
}, function(t, n, e) {
1261
var i = e(45),
1262
r = e(32).concat("length", "prototype");
1263
n.f = Object.getOwnPropertyNames || function(t) {
1264
return i(t, r)
1265
}
1266
}, function(t, n, e) {
1267
var i = e(20),
1268
r = e(46),
1269
o = e(76),
1270
a = function(t) {
1271
return function(n, e, a) {
1272
var s, d = i(n),
1273
c = r(d.length),
1274
u = o(a, c);
1275
if (t && e != e) {
1276
for (; c > u;)
1277
if ((s = d[u++]) != s) return !0
1278
} else
1279
for (; c > u; u++)
1280
if ((t || u in d) && d[u] === e) return t || u || 0;
1281
return !t && -1
1282
}
1283
};
1284
t.exports = {
1285
includes: a(!0),
1286
indexOf: a(!1)
1287
}
1288
}, function(t, n, e) {
1289
var i = e(31),
1290
r = Math.max,
1291
o = Math.min;
1292
t.exports = function(t, n) {
1293
var e = i(t);
1294
return e < 0 ? r(e + n, 0) : o(e, n)
1295
}
1296
}, function(t, n, e) {
1297
"use strict";
1298
var i = e(6),
1299
r = e(2),
1300
o = e(49),
1301
a = e(47),
1302
s = e(38),
1303
d = e(50),
1304
c = e(39),
1305
u = Object.assign,
1306
l = Object.defineProperty;
1307
t.exports = !u || r((function() {
1308
if (i && 1 !== u({
1309
b: 1
1310
}, u(l({}, "a", {
1311
enumerable: !0,
1312
get: function() {
1313
l(this, "b", {
1314
value: 3,
1315
enumerable: !1
1316
})
1317
}
1318
}), {
1319
b: 2
1320
})).b) return !0;
1321
var t = {},
1322
n = {},
1323
e = Symbol();
1324
return t[e] = 7, "abcdefghijklmnopqrst".split("").forEach((function(t) {
1325
n[t] = t
1326
})), 7 != u({}, t)[e] || "abcdefghijklmnopqrst" != o(u({}, n)).join("")
1327
})) ? function(t, n) {
1328
for (var e = d(t), r = arguments.length, u = 1, l = a.f, A = s.f; r > u;)
1329
for (var m, f = c(arguments[u++]), p = l ? o(f).concat(l(f)) : o(f), g = p.length, h = 0; g > h;) m = p[h++], i && !A.call(f, m) || (e[m] = f[m]);
1330
return e
1331
} : u
1332
}, function(t, n, e) {
1333
e(79), e(82), e(88), e(92), e(64), e(103);
1334
var i = e(30);
1335
t.exports = i.Promise
1336
}, function(t, n, e) {
1337
var i = e(33),
1338
r = e(12),
1339
o = e(81);
1340
i || r(Object.prototype, "toString", o, {
1341
unsafe: !0
1342
})
1343
}, function(t, n, e) {
1344
var i = e(51);
1345
t.exports = i && !Symbol.sham && "symbol" == typeof Symbol.iterator
1346
}, function(t, n, e) {
1347
"use strict";
1348
var i = e(33),
1349
r = e(52);
1350
t.exports = i ? {}.toString : function() {
1351
return "[object " + r(this) + "]"
1352
}
1353
}, function(t, n, e) {
1354
"use strict";
1355
var i = e(83).charAt,
1356
r = e(15),
1357
o = e(53),
1358
a = r.set,
1359
s = r.getterFor("String Iterator");
1360
o(String, "String", (function(t) {
1361
a(this, {
1362
type: "String Iterator",
1363
string: String(t),
1364
index: 0
1365
})
1366
}), (function() {
1367
var t, n = s(this),
1368
e = n.string,
1369
r = n.index;
1370
return r >= e.length ? {
1371
value: void 0,
1372
done: !0
1373
} : (t = i(e, r), n.index += t.length, {
1374
value: t,
1375
done: !1
1376
})
1377
}))
1378
}, function(t, n, e) {
1379
var i = e(31),
1380
r = e(24),
1381
o = function(t) {
1382
return function(n, e) {
1383
var o, a, s = String(r(n)),
1384
d = i(e),
1385
c = s.length;
1386
return d < 0 || d >= c ? t ? "" : void 0 : (o = s.charCodeAt(d)) < 55296 || o > 56319 || d + 1 === c || (a = s.charCodeAt(d + 1)) < 56320 || a > 57343 ? t ? s.charAt(d) : o : t ? s.slice(d, d + 2) : a - 56320 + (o - 55296 << 10) + 65536
1387
}
1388
};
1389
t.exports = {
1390
codeAt: o(!1),
1391
charAt: o(!0)
1392
}
1393
}, function(t, n, e) {
1394
"use strict";
1395
var i = e(54).IteratorPrototype,
1396
r = e(35),
1397
o = e(19),
1398
a = e(36),
1399
s = e(17),
1400
d = function() {
1401
return this
1402
};
1403
t.exports = function(t, n, e) {
1404
var c = n + " Iterator";
1405
return t.prototype = r(i, {
1406
next: o(1, e)
1407
}), a(t, c, !1, !0), s[c] = d, t
1408
}
1409
}, function(t, n, e) {
1410
var i = e(2);
1411
t.exports = !i((function() {
1412
function t() {}
1413
return t.prototype.constructor = null, Object.getPrototypeOf(new t) !== t.prototype
1414
}))
1415
}, function(t, n, e) {
1416
var i = e(6),
1417
r = e(9),
1418
o = e(4),
1419
a = e(49);
1420
t.exports = i ? Object.defineProperties : function(t, n) {
1421
o(t);
1422
for (var e, i = a(n), s = i.length, d = 0; s > d;) r.f(t, e = i[d++], n[e]);
1423
return t
1424
}
1425
}, function(t, n, e) {
1426
var i = e(8);
1427
t.exports = function(t) {
1428
if (!i(t) && null !== t) throw TypeError("Can't set " + String(t) + " as a prototype");
1429
return t
1430
}
1431
}, function(t, n, e) {
1432
var i = e(0),
1433
r = e(89),
1434
o = e(90),
1435
a = e(7),
1436
s = e(1),
1437
d = s("iterator"),
1438
c = s("toStringTag"),
1439
u = o.values;
1440
for (var l in r) {
1441
var A = i[l],
1442
m = A && A.prototype;
1443
if (m) {
1444
if (m[d] !== u) try {
1445
a(m, d, u)
1446
} catch (t) {
1447
m[d] = u
1448
}
1449
if (m[c] || a(m, c, l), r[l])
1450
for (var f in o)
1451
if (m[f] !== o[f]) try {
1452
a(m, f, o[f])
1453
} catch (t) {
1454
m[f] = o[f]
1455
}
1456
}
1457
}
1458
}, function(t, n) {
1459
t.exports = {
1460
CSSRuleList: 0,
1461
CSSStyleDeclaration: 0,
1462
CSSValueList: 0,
1463
ClientRectList: 0,
1464
DOMRectList: 0,
1465
DOMStringList: 0,
1466
DOMTokenList: 1,
1467
DataTransferItemList: 0,
1468
FileList: 0,
1469
HTMLAllCollection: 0,
1470
HTMLCollection: 0,
1471
HTMLFormElement: 0,
1472
HTMLSelectElement: 0,
1473
MediaList: 0,
1474
MimeTypeArray: 0,
1475
NamedNodeMap: 0,
1476
NodeList: 1,
1477
PaintRequestList: 0,
1478
Plugin: 0,
1479
PluginArray: 0,
1480
SVGLengthList: 0,
1481
SVGNumberList: 0,
1482
SVGPathSegList: 0,
1483
SVGPointList: 0,
1484
SVGStringList: 0,
1485
SVGTransformList: 0,
1486
SourceBufferList: 0,
1487
StyleSheetList: 0,
1488
TextTrackCueList: 0,
1489
TextTrackList: 0,
1490
TouchList: 0
1491
}
1492
}, function(t, n, e) {
1493
"use strict";
1494
var i = e(20),
1495
r = e(91),
1496
o = e(17),
1497
a = e(15),
1498
s = e(53),
1499
d = a.set,
1500
c = a.getterFor("Array Iterator");
1501
t.exports = s(Array, "Array", (function(t, n) {
1502
d(this, {
1503
type: "Array Iterator",
1504
target: i(t),
1505
index: 0,
1506
kind: n
1507
})
1508
}), (function() {
1509
var t = c(this),
1510
n = t.target,
1511
e = t.kind,
1512
i = t.index++;
1513
return !n || i >= n.length ? (t.target = void 0, {
1514
value: void 0,
1515
done: !0
1516
}) : "keys" == e ? {
1517
value: i,
1518
done: !1
1519
} : "values" == e ? {
1520
value: n[i],
1521
done: !1
1522
} : {
1523
value: [i, n[i]],
1524
done: !1
1525
}
1526
}), "values"), o.Arguments = o.Array, r("keys"), r("values"), r("entries")
1527
}, function(t, n, e) {
1528
var i = e(1),
1529
r = e(35),
1530
o = e(9),
1531
a = i("unscopables"),
1532
s = Array.prototype;
1533
null == s[a] && o.f(s, a, {
1534
configurable: !0,
1535
value: r(null)
1536
}), t.exports = function(t) {
1537
s[a][t] = !0
1538
}
1539
}, function(t, n, e) {
1540
"use strict";
1541
var i, r, o, a, s = e(5),
1542
d = e(16),
1543
c = e(0),
1544
u = e(10),
1545
l = e(57),
1546
A = e(12),
1547
m = e(93),
1548
f = e(36),
1549
p = e(94),
1550
g = e(8),
1551
h = e(13),
1552
w = e(95),
1553
y = e(14),
1554
v = e(27),
1555
b = e(21),
1556
k = e(99),
1557
S = e(59),
1558
E = e(60).set,
1559
x = e(100),
1560
T = e(63),
1561
z = e(101),
1562
C = e(18),
1563
I = e(22),
1564
_ = e(15),
1565
B = e(48),
1566
P = e(1),
1567
D = e(102),
1568
L = P("species"),
1569
O = "Promise",
1570
j = _.get,
1571
R = _.set,
1572
M = _.getterFor(O),
1573
Z = l,
1574
G = c.TypeError,
1575
N = c.document,
1576
F = c.process,
1577
X = u("fetch"),
1578
U = C.f,
1579
Q = U,
1580
H = "process" == y(F),
1581
W = !!(N && N.createEvent && c.dispatchEvent),
1582
V = B(O, (function() {
1583
if (!(v(Z) !== String(Z))) {
1584
if (66 === D) return !0;
1585
if (!H && "function" != typeof PromiseRejectionEvent) return !0
1586
}
1587
if (d && !Z.prototype.finally) return !0;
1588
if (D >= 51 && /native code/.test(Z)) return !1;
1589
var t = Z.resolve(1),
1590
n = function(t) {
1591
t((function() {}), (function() {}))
1592
};
1593
return (t.constructor = {})[L] = n, !(t.then((function() {})) instanceof n)
1594
})),
1595
q = V || !k((function(t) {
1596
Z.all(t).catch((function() {}))
1597
})),
1598
K = function(t) {
1599
var n;
1600
return !(!g(t) || "function" != typeof(n = t.then)) && n
1601
},
1602
J = function(t, n, e) {
1603
if (!n.notified) {
1604
n.notified = !0;
1605
var i = n.reactions;
1606
x((function() {
1607
for (var r = n.value, o = 1 == n.state, a = 0; i.length > a;) {
1608
var s, d, c, u = i[a++],
1609
l = o ? u.ok : u.fail,
1610
A = u.resolve,
1611
m = u.reject,
1612
f = u.domain;
1613
try {
1614
l ? (o || (2 === n.rejection && nt(t, n), n.rejection = 1), !0 === l ? s = r : (f && f.enter(), s = l(r), f && (f.exit(), c = !0)), s === u.promise ? m(G("Promise-chain cycle")) : (d = K(s)) ? d.call(s, A, m) : A(s)) : m(r)
1615
} catch (t) {
1616
f && !c && f.exit(), m(t)
1617
}
1618
}
1619
n.reactions = [], n.notified = !1, e && !n.rejection && $(t, n)
1620
}))
1621
}
1622
},
1623
Y = function(t, n, e) {
1624
var i, r;
1625
W ? ((i = N.createEvent("Event")).promise = n, i.reason = e, i.initEvent(t, !1, !0), c.dispatchEvent(i)) : i = {
1626
promise: n,
1627
reason: e
1628
}, (r = c["on" + t]) ? r(i) : "unhandledrejection" === t && z("Unhandled promise rejection", e)
1629
},
1630
$ = function(t, n) {
1631
E.call(c, (function() {
1632
var e, i = n.value;
1633
if (tt(n) && (e = I((function() {
1634
H ? F.emit("unhandledRejection", i, t) : Y("unhandledrejection", t, i)
1635
})), n.rejection = H || tt(n) ? 2 : 1, e.error)) throw e.value
1636
}))
1637
},
1638
tt = function(t) {
1639
return 1 !== t.rejection && !t.parent
1640
},
1641
nt = function(t, n) {
1642
E.call(c, (function() {
1643
H ? F.emit("rejectionHandled", t) : Y("rejectionhandled", t, n.value)
1644
}))
1645
},
1646
et = function(t, n, e, i) {
1647
return function(r) {
1648
t(n, e, r, i)
1649
}
1650
},
1651
it = function(t, n, e, i) {
1652
n.done || (n.done = !0, i && (n = i), n.value = e, n.state = 2, J(t, n, !0))
1653
},
1654
rt = function(t, n, e, i) {
1655
if (!n.done) {
1656
n.done = !0, i && (n = i);
1657
try {
1658
if (t === e) throw G("Promise can't be resolved itself");
1659
var r = K(e);
1660
r ? x((function() {
1661
var i = {
1662
done: !1
1663
};
1664
try {
1665
r.call(e, et(rt, t, i, n), et(it, t, i, n))
1666
} catch (e) {
1667
it(t, i, e, n)
1668
}
1669
})) : (n.value = e, n.state = 1, J(t, n, !1))
1670
} catch (e) {
1671
it(t, {
1672
done: !1
1673
}, e, n)
1674
}
1675
}
1676
};
1677
V && (Z = function(t) {
1678
w(this, Z, O), h(t), i.call(this);
1679
var n = j(this);
1680
try {
1681
t(et(rt, this, n), et(it, this, n))
1682
} catch (t) {
1683
it(this, n, t)
1684
}
1685
}, (i = function(t) {
1686
R(this, {
1687
type: O,
1688
done: !1,
1689
notified: !1,
1690
parent: !1,
1691
reactions: [],
1692
rejection: !1,
1693
state: 0,
1694
value: void 0
1695
})
1696
}).prototype = m(Z.prototype, {
1697
then: function(t, n) {
1698
var e = M(this),
1699
i = U(S(this, Z));
1700
return i.ok = "function" != typeof t || t, i.fail = "function" == typeof n && n, i.domain = H ? F.domain : void 0, e.parent = !0, e.reactions.push(i), 0 != e.state && J(this, e, !1), i.promise
1701
},
1702
catch: function(t) {
1703
return this.then(void 0, t)
1704
}
1705
}), r = function() {
1706
var t = new i,
1707
n = j(t);
1708
this.promise = t, this.resolve = et(rt, t, n), this.reject = et(it, t, n)
1709
}, C.f = U = function(t) {
1710
return t === Z || t === o ? new r(t) : Q(t)
1711
}, d || "function" != typeof l || (a = l.prototype.then, A(l.prototype, "then", (function(t, n) {
1712
var e = this;
1713
return new Z((function(t, n) {
1714
a.call(e, t, n)
1715
})).then(t, n)
1716
}), {
1717
unsafe: !0
1718
}), "function" == typeof X && s({
1719
global: !0,
1720
enumerable: !0,
1721
forced: !0
1722
}, {
1723
fetch: function(t) {
1724
return T(Z, X.apply(c, arguments))
1725
}
1726
}))), s({
1727
global: !0,
1728
wrap: !0,
1729
forced: V
1730
}, {
1731
Promise: Z
1732
}), f(Z, O, !1, !0), p(O), o = u(O), s({
1733
target: O,
1734
stat: !0,
1735
forced: V
1736
}, {
1737
reject: function(t) {
1738
var n = U(this);
1739
return n.reject.call(void 0, t), n.promise
1740
}
1741
}), s({
1742
target: O,
1743
stat: !0,
1744
forced: d || V
1745
}, {
1746
resolve: function(t) {
1747
return T(d && this === o ? Z : this, t)
1748
}
1749
}), s({
1750
target: O,
1751
stat: !0,
1752
forced: q
1753
}, {
1754
all: function(t) {
1755
var n = this,
1756
e = U(n),
1757
i = e.resolve,
1758
r = e.reject,
1759
o = I((function() {
1760
var e = h(n.resolve),
1761
o = [],
1762
a = 0,
1763
s = 1;
1764
b(t, (function(t) {
1765
var d = a++,
1766
c = !1;
1767
o.push(void 0), s++, e.call(n, t).then((function(t) {
1768
c || (c = !0, o[d] = t, --s || i(o))
1769
}), r)
1770
})), --s || i(o)
1771
}));
1772
return o.error && r(o.value), e.promise
1773
},
1774
race: function(t) {
1775
var n = this,
1776
e = U(n),
1777
i = e.reject,
1778
r = I((function() {
1779
var r = h(n.resolve);
1780
b(t, (function(t) {
1781
r.call(n, t).then(e.resolve, i)
1782
}))
1783
}));
1784
return r.error && i(r.value), e.promise
1785
}
1786
})
1787
}, function(t, n, e) {
1788
var i = e(12);
1789
t.exports = function(t, n, e) {
1790
for (var r in n) i(t, r, n[r], e);
1791
return t
1792
}
1793
}, function(t, n, e) {
1794
"use strict";
1795
var i = e(10),
1796
r = e(9),
1797
o = e(1),
1798
a = e(6),
1799
s = o("species");
1800
t.exports = function(t) {
1801
var n = i(t),
1802
e = r.f;
1803
a && n && !n[s] && e(n, s, {
1804
configurable: !0,
1805
get: function() {
1806
return this
1807
}
1808
})
1809
}
1810
}, function(t, n) {
1811
t.exports = function(t, n, e) {
1812
if (!(t instanceof n)) throw TypeError("Incorrect " + (e ? e + " " : "") + "invocation");
1813
return t
1814
}
1815
}, function(t, n, e) {
1816
var i = e(1),
1817
r = e(17),
1818
o = i("iterator"),
1819
a = Array.prototype;
1820
t.exports = function(t) {
1821
return void 0 !== t && (r.Array === t || a[o] === t)
1822
}
1823
}, function(t, n, e) {
1824
var i = e(52),
1825
r = e(17),
1826
o = e(1)("iterator");
1827
t.exports = function(t) {
1828
if (null != t) return t[o] || t["@@iterator"] || r[i(t)]
1829
}
1830
}, function(t, n, e) {
1831
var i = e(4);
1832
t.exports = function(t, n, e, r) {
1833
try {
1834
return r ? n(i(e)[0], e[1]) : n(e)
1835
} catch (n) {
1836
var o = t.return;
1837
throw void 0 !== o && i(o.call(t)), n
1838
}
1839
}
1840
}, function(t, n, e) {
1841
var i = e(1)("iterator"),
1842
r = !1;
1843
try {
1844
var o = 0,
1845
a = {
1846
next: function() {
1847
return {
1848
done: !!o++
1849
}
1850
},
1851
return: function() {
1852
r = !0
1853
}
1854
};
1855
a[i] = function() {
1856
return this
1857
}, Array.from(a, (function() {
1858
throw 2
1859
}))
1860
} catch (t) {}
1861
t.exports = function(t, n) {
1862
if (!n && !r) return !1;
1863
var e = !1;
1864
try {
1865
var o = {};
1866
o[i] = function() {
1867
return {
1868
next: function() {
1869
return {
1870
done: e = !0
1871
}
1872
}
1873
}
1874
}, t(o)
1875
} catch (t) {}
1876
return e
1877
}
1878
}, function(t, n, e) {
1879
var i, r, o, a, s, d, c, u, l = e(0),
1880
A = e(23).f,
1881
m = e(14),
1882
f = e(60).set,
1883
p = e(61),
1884
g = l.MutationObserver || l.WebKitMutationObserver,
1885
h = l.process,
1886
w = l.Promise,
1887
y = "process" == m(h),
1888
v = A(l, "queueMicrotask"),
1889
b = v && v.value;
1890
b || (i = function() {
1891
var t, n;
1892
for (y && (t = h.domain) && t.exit(); r;) {
1893
n = r.fn, r = r.next;
1894
try {
1895
n()
1896
} catch (t) {
1897
throw r ? a() : o = void 0, t
1898
}
1899
}
1900
o = void 0, t && t.enter()
1901
}, y ? a = function() {
1902
h.nextTick(i)
1903
} : g && !p ? (s = !0, d = document.createTextNode(""), new g(i).observe(d, {
1904
characterData: !0
1905
}), a = function() {
1906
d.data = s = !s
1907
}) : w && w.resolve ? (c = w.resolve(void 0), u = c.then, a = function() {
1908
u.call(c, i)
1909
}) : a = function() {
1910
f.call(l, i)
1911
}), t.exports = b || function(t) {
1912
var n = {
1913
fn: t,
1914
next: void 0
1915
};
1916
o && (o.next = n), r || (r = n, a()), o = n
1917
}
1918
}, function(t, n, e) {
1919
var i = e(0);
1920
t.exports = function(t, n) {
1921
var e = i.console;
1922
e && e.error && (1 === arguments.length ? e.error(t) : e.error(t, n))
1923
}
1924
}, function(t, n, e) {
1925
var i, r, o = e(0),
1926
a = e(62),
1927
s = o.process,
1928
d = s && s.versions,
1929
c = d && d.v8;
1930
c ? r = (i = c.split("."))[0] + i[1] : a && (!(i = a.match(/Edge\/(\d+)/)) || i[1] >= 74) && (i = a.match(/Chrome\/(\d+)/)) && (r = i[1]), t.exports = r && +r
1931
}, function(t, n, e) {
1932
"use strict";
1933
var i = e(5),
1934
r = e(16),
1935
o = e(57),
1936
a = e(2),
1937
s = e(10),
1938
d = e(59),
1939
c = e(63),
1940
u = e(12);
1941
i({
1942
target: "Promise",
1943
proto: !0,
1944
real: !0,
1945
forced: !!o && a((function() {
1946
o.prototype.finally.call({
1947
then: function() {}
1948
}, (function() {}))
1949
}))
1950
}, {
1951
finally: function(t) {
1952
var n = d(this, s("Promise")),
1953
e = "function" == typeof t;
1954
return this.then(e ? function(e) {
1955
return c(n, t()).then((function() {
1956
return e
1957
}))
1958
} : t, e ? function(e) {
1959
return c(n, t()).then((function() {
1960
throw e
1961
}))
1962
} : t)
1963
}
1964
}), r || "function" != typeof o || o.prototype.finally || u(o.prototype, "finally", s("Promise").prototype.finally)
1965
}, function(t, n, e) {
1966
"use strict";
1967
var i = e(5),
1968
r = e(6),
1969
o = e(34),
1970
a = e(56),
1971
s = e(35),
1972
d = e(9),
1973
c = e(19),
1974
u = e(21),
1975
l = e(7),
1976
A = e(15),
1977
m = A.set,
1978
f = A.getterFor("AggregateError"),
1979
p = function(t, n) {
1980
var e = this;
1981
if (!(e instanceof p)) return new p(t, n);
1982
a && (e = a(new Error(n), o(e)));
1983
var i = [];
1984
return u(t, i.push, i), r ? m(e, {
1985
errors: i,
1986
type: "AggregateError"
1987
}) : e.errors = i, void 0 !== n && l(e, "message", String(n)), e
1988
};
1989
p.prototype = s(Error.prototype, {
1990
constructor: c(5, p),
1991
message: c(5, ""),
1992
name: c(5, "AggregateError")
1993
}), r && d.f(p.prototype, "errors", {
1994
get: function() {
1995
return f(this).errors
1996
},
1997
configurable: !0
1998
}), i({
1999
global: !0
2000
}, {
2001
AggregateError: p
2002
})
2003
}, function(t, n, e) {
2004
e(64)
2005
}, function(t, n, e) {
2006
"use strict";
2007
var i = e(5),
2008
r = e(18),
2009
o = e(22);
2010
i({
2011
target: "Promise",
2012
stat: !0
2013
}, {
2014
try: function(t) {
2015
var n = r.f(this),
2016
e = o(t);
2017
return (e.error ? n.reject : n.resolve)(e.value), n.promise
2018
}
2019
})
2020
}, function(t, n, e) {
2021
"use strict";
2022
var i = e(5),
2023
r = e(13),
2024
o = e(10),
2025
a = e(18),
2026
s = e(22),
2027
d = e(21);
2028
i({
2029
target: "Promise",
2030
stat: !0
2031
}, {
2032
any: function(t) {
2033
var n = this,
2034
e = a.f(n),
2035
i = e.resolve,
2036
c = e.reject,
2037
u = s((function() {
2038
var e = r(n.resolve),
2039
a = [],
2040
s = 0,
2041
u = 1,
2042
l = !1;
2043
d(t, (function(t) {
2044
var r = s++,
2045
d = !1;
2046
a.push(void 0), u++, e.call(n, t).then((function(t) {
2047
d || l || (l = !0, i(t))
2048
}), (function(t) {
2049
d || l || (d = !0, a[r] = t, --u || c(new(o("AggregateError"))(a, "No one promise resolved")))
2050
}))
2051
})), --u || c(new(o("AggregateError"))(a, "No one promise resolved"))
2052
}));
2053
return u.error && c(u.value), e.promise
2054
}
2055
})
2056
}, function(t, n) {
2057
! function(t) {
2058
"use strict";
2059
if (!t.fetch) {
2060
var n = "URLSearchParams" in t,
2061
e = "Symbol" in t && "iterator" in Symbol,
2062
i = "FileReader" in t && "Blob" in t && function() {
2063
try {
2064
return new Blob, !0
2065
} catch (t) {
2066
return !1
2067
}
2068
}(),
2069
r = "FormData" in t,
2070
o = "ArrayBuffer" in t;
2071
if (o) var a = ["[object Int8Array]", "[object Uint8Array]", "[object Uint8ClampedArray]", "[object Int16Array]", "[object Uint16Array]", "[object Int32Array]", "[object Uint32Array]", "[object Float32Array]", "[object Float64Array]"],
2072
s = function(t) {
2073
return t && DataView.prototype.isPrototypeOf(t)
2074
},
2075
d = ArrayBuffer.isView || function(t) {
2076
return t && a.indexOf(Object.prototype.toString.call(t)) > -1
2077
};
2078
f.prototype.append = function(t, n) {
2079
t = l(t), n = A(n);
2080
var e = this.map[t];
2081
this.map[t] = e ? e + "," + n : n
2082
}, f.prototype.delete = function(t) {
2083
delete this.map[l(t)]
2084
}, f.prototype.get = function(t) {
2085
return t = l(t), this.has(t) ? this.map[t] : null
2086
}, f.prototype.has = function(t) {
2087
return this.map.hasOwnProperty(l(t))
2088
}, f.prototype.set = function(t, n) {
2089
this.map[l(t)] = A(n)
2090
}, f.prototype.forEach = function(t, n) {
2091
for (var e in this.map) this.map.hasOwnProperty(e) && t.call(n, this.map[e], e, this)
2092
}, f.prototype.keys = function() {
2093
var t = [];
2094
return this.forEach((function(n, e) {
2095
t.push(e)
2096
})), m(t)
2097
}, f.prototype.values = function() {
2098
var t = [];
2099
return this.forEach((function(n) {
2100
t.push(n)
2101
})), m(t)
2102
}, f.prototype.entries = function() {
2103
var t = [];
2104
return this.forEach((function(n, e) {
2105
t.push([e, n])
2106
})), m(t)
2107
}, e && (f.prototype[Symbol.iterator] = f.prototype.entries);
2108
var c = ["DELETE", "GET", "HEAD", "OPTIONS", "POST", "PUT"];
2109
v.prototype.clone = function() {
2110
return new v(this, {
2111
body: this._bodyInit
2112
})
2113
}, y.call(v.prototype), y.call(k.prototype), k.prototype.clone = function() {
2114
return new k(this._bodyInit, {
2115
status: this.status,
2116
statusText: this.statusText,
2117
headers: new f(this.headers),
2118
url: this.url
2119
})
2120
}, k.error = function() {
2121
var t = new k(null, {
2122
status: 0,
2123
statusText: ""
2124
});
2125
return t.type = "error", t
2126
};
2127
var u = [301, 302, 303, 307, 308];
2128
k.redirect = function(t, n) {
2129
if (-1 === u.indexOf(n)) throw new RangeError("Invalid status code");
2130
return new k(null, {
2131
status: n,
2132
headers: {
2133
location: t
2134
}
2135
})
2136
}, t.Headers = f, t.Request = v, t.Response = k, t.fetch = function(t, n) {
2137
return new Promise((function(e, r) {
2138
var o = new v(t, n),
2139
a = new XMLHttpRequest;
2140
a.onload = function() {
2141
var t, n, i = {
2142
status: a.status,
2143
statusText: a.statusText,
2144
headers: (t = a.getAllResponseHeaders() || "", n = new f, t.replace(/\r?\n[\t ]+/g, " ").split(/\r?\n/).forEach((function(t) {
2145
var e = t.split(":"),
2146
i = e.shift().trim();
2147
if (i) {
2148
var r = e.join(":").trim();
2149
n.append(i, r)
2150
}
2151
})), n)
2152
};
2153
i.url = "responseURL" in a ? a.responseURL : i.headers.get("X-Request-URL");
2154
var r = "response" in a ? a.response : a.responseText;
2155
e(new k(r, i))
2156
}, a.onerror = function() {
2157
r(new TypeError("Network request failed"))
2158
}, a.ontimeout = function() {
2159
r(new TypeError("Network request failed"))
2160
}, a.open(o.method, o.url, !0), "include" === o.credentials ? a.withCredentials = !0 : "omit" === o.credentials && (a.withCredentials = !1), "responseType" in a && i && (a.responseType = "blob"), o.headers.forEach((function(t, n) {
2161
a.setRequestHeader(n, t)
2162
})), a.send(void 0 === o._bodyInit ? null : o._bodyInit)
2163
}))
2164
}, t.fetch.polyfill = !0
2165
}
2166
2167
function l(t) {
2168
if ("string" != typeof t && (t = String(t)), /[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(t)) throw new TypeError("Invalid character in header field name");
2169
return t.toLowerCase()
2170
}
2171
2172
function A(t) {
2173
return "string" != typeof t && (t = String(t)), t
2174
}
2175
2176
function m(t) {
2177
var n = {
2178
next: function() {
2179
var n = t.shift();
2180
return {
2181
done: void 0 === n,
2182
value: n
2183
}
2184
}
2185
};
2186
return e && (n[Symbol.iterator] = function() {
2187
return n
2188
}), n
2189
}
2190
2191
function f(t) {
2192
this.map = {}, t instanceof f ? t.forEach((function(t, n) {
2193
this.append(n, t)
2194
}), this) : Array.isArray(t) ? t.forEach((function(t) {
2195
this.append(t[0], t[1])
2196
}), this) : t && Object.getOwnPropertyNames(t).forEach((function(n) {
2197
this.append(n, t[n])
2198
}), this)
2199
}
2200
2201
function p(t) {
2202
if (t.bodyUsed) return Promise.reject(new TypeError("Already read"));
2203
t.bodyUsed = !0
2204
}
2205
2206
function g(t) {
2207
return new Promise((function(n, e) {
2208
t.onload = function() {
2209
n(t.result)
2210
}, t.onerror = function() {
2211
e(t.error)
2212
}
2213
}))
2214
}
2215
2216
function h(t) {
2217
var n = new FileReader,
2218
e = g(n);
2219
return n.readAsArrayBuffer(t), e
2220
}
2221
2222
function w(t) {
2223
if (t.slice) return t.slice(0);
2224
var n = new Uint8Array(t.byteLength);
2225
return n.set(new Uint8Array(t)), n.buffer
2226
}
2227
2228
function y() {
2229
return this.bodyUsed = !1, this._initBody = function(t) {
2230
if (this._bodyInit = t, t)
2231
if ("string" == typeof t) this._bodyText = t;
2232
else if (i && Blob.prototype.isPrototypeOf(t)) this._bodyBlob = t;
2233
else if (r && FormData.prototype.isPrototypeOf(t)) this._bodyFormData = t;
2234
else if (n && URLSearchParams.prototype.isPrototypeOf(t)) this._bodyText = t.toString();
2235
else if (o && i && s(t)) this._bodyArrayBuffer = w(t.buffer), this._bodyInit = new Blob([this._bodyArrayBuffer]);
2236
else {
2237
if (!o || !ArrayBuffer.prototype.isPrototypeOf(t) && !d(t)) throw new Error("unsupported BodyInit type");
2238
this._bodyArrayBuffer = w(t)
2239
} else this._bodyText = "";
2240
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) : n && URLSearchParams.prototype.isPrototypeOf(t) && this.headers.set("content-type", "application/x-www-form-urlencoded;charset=UTF-8"))
2241
}, i && (this.blob = function() {
2242
var t = p(this);
2243
if (t) return t;
2244
if (this._bodyBlob) return Promise.resolve(this._bodyBlob);
2245
if (this._bodyArrayBuffer) return Promise.resolve(new Blob([this._bodyArrayBuffer]));
2246
if (this._bodyFormData) throw new Error("could not read FormData body as blob");
2247
return Promise.resolve(new Blob([this._bodyText]))
2248
}, this.arrayBuffer = function() {
2249
return this._bodyArrayBuffer ? p(this) || Promise.resolve(this._bodyArrayBuffer) : this.blob().then(h)
2250
}), this.text = function() {
2251
var t, n, e, i = p(this);
2252
if (i) return i;
2253
if (this._bodyBlob) return t = this._bodyBlob, n = new FileReader, e = g(n), n.readAsText(t), e;
2254
if (this._bodyArrayBuffer) return Promise.resolve(function(t) {
2255
for (var n = new Uint8Array(t), e = new Array(n.length), i = 0; i < n.length; i++) e[i] = String.fromCharCode(n[i]);
2256
return e.join("")
2257
}(this._bodyArrayBuffer));
2258
if (this._bodyFormData) throw new Error("could not read FormData body as text");
2259
return Promise.resolve(this._bodyText)
2260
}, r && (this.formData = function() {
2261
return this.text().then(b)
2262
}), this.json = function() {
2263
return this.text().then(JSON.parse)
2264
}, this
2265
}
2266
2267
function v(t, n) {
2268
var e, i, r = (n = n || {}).body;
2269
if (t instanceof v) {
2270
if (t.bodyUsed) throw new TypeError("Already read");
2271
this.url = t.url, this.credentials = t.credentials, n.headers || (this.headers = new f(t.headers)), this.method = t.method, this.mode = t.mode, r || null == t._bodyInit || (r = t._bodyInit, t.bodyUsed = !0)
2272
} else this.url = String(t);
2273
if (this.credentials = n.credentials || this.credentials || "omit", !n.headers && this.headers || (this.headers = new f(n.headers)), this.method = (e = n.method || this.method || "GET", i = e.toUpperCase(), c.indexOf(i) > -1 ? i : e), this.mode = n.mode || this.mode || null, this.referrer = null, ("GET" === this.method || "HEAD" === this.method) && r) throw new TypeError("Body not allowed for GET or HEAD requests");
2274
this._initBody(r)
2275
}
2276
2277
function b(t) {
2278
var n = new FormData;
2279
return t.trim().split("&").forEach((function(t) {
2280
if (t) {
2281
var e = t.split("="),
2282
i = e.shift().replace(/\+/g, " "),
2283
r = e.join("=").replace(/\+/g, " ");
2284
n.append(decodeURIComponent(i), decodeURIComponent(r))
2285
}
2286
})), n
2287
}
2288
2289
function k(t, n) {
2290
n || (n = {}), this.type = "default", this.status = void 0 === n.status ? 200 : n.status, this.ok = this.status >= 200 && this.status < 300, this.statusText = "statusText" in n ? n.statusText : "OK", this.headers = new f(n.headers), this.url = n.url || "", this._initBody(t)
2291
}
2292
}("undefined" != typeof self ? self : this)
2293
}, function(t, n) {
2294
/*! @source http://purl.eligrey.com/github/classList.js/blob/master/classList.js */
2295
"document" in window.self && ((!("classList" in document.createElement("_")) || document.createElementNS && !("classList" in document.createElementNS("http://www.w3.org/2000/svg", "g"))) && function(t) {
2296
"use strict";
2297
if ("Element" in t) {
2298
var n = t.Element.prototype,
2299
e = Object,
2300
i = String.prototype.trim || function() {
2301
return this.replace(/^\s+|\s+$/g, "")
2302
},
2303
r = Array.prototype.indexOf || function(t) {
2304
for (var n = 0, e = this.length; n < e; n++)
2305
if (n in this && this[n] === t) return n;
2306
return -1
2307
},
2308
o = function(t, n) {
2309
this.name = t, this.code = DOMException[t], this.message = n
2310
},
2311
a = function(t, n) {
2312
if ("" === n) throw new o("SYNTAX_ERR", "An invalid or illegal string was specified");
2313
if (/\s/.test(n)) throw new o("INVALID_CHARACTER_ERR", "String contains an invalid character");
2314
return r.call(t, n)
2315
},
2316
s = function(t) {
2317
for (var n = i.call(t.getAttribute("class") || ""), e = n ? n.split(/\s+/) : [], r = 0, o = e.length; r < o; r++) this.push(e[r]);
2318
this._updateClassName = function() {
2319
t.setAttribute("class", this.toString())
2320
}
2321
},
2322
d = s.prototype = [],
2323
c = function() {
2324
return new s(this)
2325
};
2326
if (o.prototype = Error.prototype, d.item = function(t) {
2327
return this[t] || null
2328
}, d.contains = function(t) {
2329
return -1 !== a(this, t += "")
2330
}, d.add = function() {
2331
var t, n = arguments,
2332
e = 0,
2333
i = n.length,
2334
r = !1;
2335
do {
2336
t = n[e] + "", -1 === a(this, t) && (this.push(t), r = !0)
2337
} while (++e < i);
2338
r && this._updateClassName()
2339
}, d.remove = function() {
2340
var t, n, e = arguments,
2341
i = 0,
2342
r = e.length,
2343
o = !1;
2344
do {
2345
for (t = e[i] + "", n = a(this, t); - 1 !== n;) this.splice(n, 1), o = !0, n = a(this, t)
2346
} while (++i < r);
2347
o && this._updateClassName()
2348
}, d.toggle = function(t, n) {
2349
t += "";
2350
var e = this.contains(t),
2351
i = e ? !0 !== n && "remove" : !1 !== n && "add";
2352
return i && this[i](t), !0 === n || !1 === n ? n : !e
2353
}, d.toString = function() {
2354
return this.join(" ")
2355
}, e.defineProperty) {
2356
var u = {
2357
get: c,
2358
enumerable: !0,
2359
configurable: !0
2360
};
2361
try {
2362
e.defineProperty(n, "classList", u)
2363
} catch (t) {
2364
void 0 !== t.number && -2146823252 !== t.number || (u.enumerable = !1, e.defineProperty(n, "classList", u))
2365
}
2366
} else e.prototype.__defineGetter__ && n.__defineGetter__("classList", c)
2367
}
2368
}(window.self), function() {
2369
"use strict";
2370
var t = document.createElement("_");
2371
if (t.classList.add("c1", "c2"), !t.classList.contains("c2")) {
2372
var n = function(t) {
2373
var n = DOMTokenList.prototype[t];
2374
DOMTokenList.prototype[t] = function(t) {
2375
var e, i = arguments.length;
2376
for (e = 0; e < i; e++) t = arguments[e], n.call(this, t)
2377
}
2378
};
2379
n("add"), n("remove")
2380
}
2381
if (t.classList.toggle("c3", !1), t.classList.contains("c3")) {
2382
var e = DOMTokenList.prototype.toggle;
2383
DOMTokenList.prototype.toggle = function(t, n) {
2384
return 1 in arguments && !this.contains(t) == !n ? n : e.call(this, t)
2385
}
2386
}
2387
t = null
2388
}())
2389
}, function(t, n, e) {
2390
"use strict";
2391
e.r(n);
2392
var i = e(65),
2393
r = e.n(i),
2394
o = e(66),
2395
a = e.n(o);
2396
e(108), e(109);
2397
void 0 === Object.assign && (Object.assign = r.a), "undefined" == typeof Promise && (window.Promise = a.a);
2398
var s, d, c, u = e(11),
2399
l = e.n(u),
2400
A = {
2401
ready: "pokiAppReady",
2402
adblocked: "pokiAppAdblocked",
2403
ads: {
2404
completed: "pokiAdsCompleted",
2405
error: "pokiAdsError",
2406
impression: "pokiAdsImpression",
2407
durationChange: "pokiAdsDurationChange",
2408
limit: "pokiAdsLimit",
2409
ready: "pokiAdsReady",
2410
requested: "pokiAdsRequested",
2411
prebidRequested: "pokiAdsPrebidRequested",
2412
skipped: "pokiAdsSkipped",
2413
started: "pokiAdsStarted",
2414
stopped: "pokiAdsStopped",
2415
busy: "pokiAdsBusy",
2416
position: {
2417
preroll: "PP",
2418
midroll: "PM",
2419
rewarded: "PR",
2420
display: "DP"
2421
},
2422
video: {
2423
clicked: "pokiVideoAdsClicked",
2424
firstQuartile: "pokiVideoAdsFirstQuartile",
2425
midPoint: "pokiVideoAdsMidPoint",
2426
thirdQuartile: "pokiVideoAdsThirdQuartile",
2427
error: "pokiVideoAdsError",
2428
loaderError: "pokiVideoAdsLoaderError",
2429
paused: "pokiVideoAdsPauseTriggered",
2430
resumed: "pokiVideoAdsResumedTriggered",
2431
progress: "pokiVideoAdsProgress",
2432
buffering: "pokiVideoAdsBuffering"
2433
}
2434
},
2435
info: {
2436
messages: {
2437
timeLimit: "The ad-request was not processed, because of a time constraint",
2438
prerollLimit: "The ad-request was cancelled, because we're not allowed to show a preroll"
2439
}
2440
},
2441
message: {
2442
event: "pokiMessageEvent",
2443
sdkDetails: "pokiMessageSdkDetails",
2444
toggleProgrammaticAds: "pokiMessageToggleProgrammaticAds"
2445
},
2446
tracking: {
2447
custom: "pokiTrackingCustom",
2448
setPlayerAge: "pokiTrackingSetPlayerAge",
2449
togglePlayerAdvertisingConsent: "pokiTrackingTogglePlayerAdvertisingConsent",
2450
debugTrueInProduction: "pokiMessageDebugTrueProduction",
2451
screen: {
2452
gameplayStart: "pokiTrackingScreenGameplayStart",
2453
gameplayStop: "pokiTrackingScreenGameplayStop",
2454
gameLoadingStarted: "pokiTrackingScreenGameLoadingStarted",
2455
gameLoadingProgress: "pokiTrackingScreenGameLoadingProgress",
2456
gameLoadingFinished: "pokiTrackingScreenGameLoadingFinished",
2457
commercialBreak: "pokiTrackingScreenCommercialBreak",
2458
rewardedBreak: "pokiTrackingScreenRewardedBreak",
2459
happyTime: "pokiTrackingScreenHappyTime",
2460
firstRound: "pokiTrackingScreenFirstRound",
2461
roundStart: "pokiTrackingScreenRoundStart",
2462
roundEnd: "pokiTrackingScreenRoundEnd",
2463
gameInteractive: "pokiTrackingScreenGameInteractive",
2464
displayAd: "pokiTrackingScreenDisplayAdRequest",
2465
destroyAd: "pokiTrackingScreenDisplayAdDestroy"
2466
},
2467
sdk: {
2468
status: {
2469
initialized: "pokiTrackingSdkStatusInitialized",
2470
failed: "pokiTrackingSdkStatusFailed"
2471
}
2472
},
2473
ads: {
2474
status: {
2475
busy: "pokiTrackingAdsStatusBusy",
2476
completed: "pokiTrackingAdsStatusCompleted",
2477
error: "pokiTrackingAdsStatusError",
2478
displayError: "pokiTrackingAdsStatusDisplayError",
2479
impression: "pokiTrackingAdsStatusImpression",
2480
limit: "pokiTrackingAdsStatusLimit",
2481
ready: "pokiTrackingAdsStatusReady",
2482
requested: "pokiTrackingAdsStatusRequested",
2483
prebidRequested: "pokiTrackingAdsStatusPrebidRequested",
2484
skipped: "pokiTrackingAdsStatusSkipped",
2485
started: "pokiTrackingAdsStatusStarted",
2486
buffering: "pokiTrackingAdsStatusBuffering"
2487
},
2488
video: {
2489
clicked: "pokiTrackingAdsVideoClicked",
2490
error: "pokiTrackingAdsVideoError",
2491
loaderError: "pokiTrackingAdsVideoLoaderError"
2492
},
2493
display: {
2494
requested: "pokiTrackingScreenDisplayAdRequested",
2495
impression: "pokiTrackingScreenDisplayAdImpression",
2496
viewable: "pokiTrackingScreenDisplayAdViewable"
2497
}
2498
}
2499
}
2500
},
2501
m = function() {
2502
return (m = Object.assign || function(t) {
2503
for (var n, e = 1, i = arguments.length; e < i; e++)
2504
for (var r in n = arguments[e]) Object.prototype.hasOwnProperty.call(n, r) && (t[r] = n[r]);
2505
return t
2506
}).apply(this, arguments)
2507
},
2508
f = function() {
2509
function t() {}
2510
return t.clearEventListeners = function() {
2511
this.listeners = {}
2512
}, t.removeEventListener = function(t, n) {
2513
if (Object.prototype.hasOwnProperty.call(this.listeners, t)) {
2514
var e = this.listeners[t].indexOf(n); - 1 !== e && this.listeners[t].splice(e, 1)
2515
}
2516
}, t.addEventListener = function(t, n, e) {
2517
var i = this;
2518
if (void 0 === e && (e = !1), e = !!e, Object.prototype.hasOwnProperty.call(this.listeners, t) || (this.listeners[t] = []), e) {
2519
var r = function(e) {
2520
i.removeEventListener.bind(i)(t, r), n(e)
2521
};
2522
this.listeners[t].push(r)
2523
} else this.listeners[t].push(n)
2524
}, t.dispatchEvent = function(t, n) {
2525
void 0 === n && (n = {}), !this.debug || window.process && window.process.env && "test" === window.process.env.NODE_ENV || console.info(t, n);
2526
for (var e = Object.keys(this.listeners), i = 0; i < e.length; i++) {
2527
var r = e[i];
2528
if (t === r)
2529
for (var o = this.listeners[r], a = 0; a < o.length; a++) o[a](m(m({}, this.dataAnnotations), n))
2530
}
2531
}, t.setDebug = function(t) {
2532
this.debug = t
2533
}, t.setDataAnnotations = function(t) {
2534
this.dataAnnotations = m(m({}, this.dataAnnotations), t)
2535
}, t.getDataAnnotations = function() {
2536
return this.dataAnnotations
2537
}, t.clearAnnotations = function() {
2538
this.dataAnnotations = {}
2539
}, t.listeners = {}, t.debug = !1, t.dataAnnotations = {}, t
2540
}(),
2541
p = function(t, n) {
2542
var e = !1;
2543
return Object.keys(n).forEach((function(i) {
2544
n[i] === t && (e = !0)
2545
})), e
2546
},
2547
g = function() {
2548
function t() {}
2549
return t.sendMessage = function(t, n) {
2550
void 0 === n && (n = {});
2551
var e = window.parent;
2552
if (!p(t, A.message)) {
2553
var i = Object.keys(A.message).map((function(t) {
2554
return "poki.message." + t
2555
}));
2556
throw new TypeError("Argument 'type' must be one of " + i.join(", "))
2557
}
2558
e.postMessage({
2559
type: t,
2560
content: n
2561
}, "*")
2562
}, t
2563
}(),
2564
h = function(t) {
2565
var n = new Array;
2566
return Object.keys(t).forEach((function(e) {
2567
"object" == typeof t[e] ? n = n.concat(h(t[e])) : n.push(t[e])
2568
})), n
2569
},
2570
w = h(A.tracking),
2571
y = function() {
2572
function t() {}
2573
return t.setDebug = function(t) {
2574
this.debug = t
2575
}, t.track = function(t, n) {
2576
if (void 0 === n && (n = {}), -1 === w.indexOf(t)) throw new TypeError("Invalid 'event', must be one of " + w.join(", "));
2577
if ("object" != typeof n) throw new TypeError("Invalid data, must be an object");
2578
if (this.debug) {
2579
if (window.process && window.process.env && "test" === window.process.env.NODE_ENV) return;
2580
Object.keys(n).length ? console.info("%cPOKI_TRACKER: %cTracked event '" + t + "' with data:", "font-weight: bold", "", n) : console.info("%cPOKI_TRACKER: %cTracked event '" + t + "'", "font-weight: bold", "")
2581
}
2582
g.sendMessage(A.message.event, {
2583
event: t,
2584
data: n
2585
})
2586
}, t.setupDefaultEvents = function() {
2587
var n, e = ((n = {})[A.ready] = A.tracking.sdk.status.initialized, n[A.adblocked] = A.tracking.sdk.status.failed, n[A.ads.busy] = A.tracking.ads.status.busy, n[A.ads.completed] = A.tracking.ads.status.completed, n[A.ads.error] = A.tracking.ads.status.error, n[A.ads.displayError] = A.tracking.ads.status.displayError, n[A.ads.impression] = A.tracking.ads.status.impression, n[A.ads.limit] = A.tracking.ads.status.limit, n[A.ads.ready] = A.tracking.ads.status.ready, n[A.ads.requested] = A.tracking.ads.status.requested, n[A.ads.prebidRequested] = A.tracking.ads.status.prebidRequested, n[A.ads.skipped] = A.tracking.ads.status.skipped, n[A.ads.started] = A.tracking.ads.status.started, n[A.ads.video.clicked] = A.tracking.ads.video.clicked, n[A.ads.video.error] = A.tracking.ads.video.error, n[A.ads.video.loaderError] = A.tracking.ads.video.loaderError, n[A.ads.video.buffering] = A.tracking.ads.status.buffering, n[A.tracking.screen.gameplayStart] = A.tracking.screen.gameplayStart, n[A.tracking.screen.gameplayStop] = A.tracking.screen.gameplayStop, n[A.tracking.screen.loadingProgress] = A.tracking.screen.loadingProgress, n[A.tracking.screen.commercialBreak] = A.tracking.screen.commercialBreak, n[A.tracking.screen.rewardedBreak] = A.tracking.screen.rewardedBreak, n[A.tracking.screen.happyTime] = A.tracking.screen.happyTime, n);
2588
Object.keys(e).forEach((function(n) {
2589
f.addEventListener(n, (function(i) {
2590
t.track(e[n], i)
2591
}))
2592
}))
2593
}, t.debug = !1, t
2594
}(),
2595
v = {
2596
adTagUrl: "//pubads.g.doubleclick.net/gampad/ads?sz=640x360|640x480&iu=/1053551/Pub-Poki-Generic&ciu_szs&impl=s&gdfp_req=1&env=vp&output=xml_vast2&unviewed_position_start=1&url={url}&description_url={descriptionUrl}&correlator={timestamp}",
2597
adTiming: {
2598
preroll: !1,
2599
timeBetweenAds: 12e4,
2600
timePerTry: 7e3,
2601
startAdsAfter: 12e4
2602
},
2603
waterfallRetries: 2,
2604
country: "NL"
2605
},
2606
b = function(t) {
2607
return t instanceof Array ? t : [t]
2608
},
2609
k = function() {
2610
function t(t) {
2611
void 0 === t && (t = {}), this.setTimings(t), this.timingIdx = {
2612
timePerTry: 0
2613
}, this.timers = {
2614
timePerTry: void 0,
2615
timeBetweenAds: void 0,
2616
startAdsAfter: void 0
2617
}, f.addEventListener(A.ads.requested, this.startTimeBetweenAdsTimer.bind(this)), f.addEventListener(A.ads.completed, this.startTimeBetweenAdsTimer.bind(this)), f.addEventListener(A.ads.stopped, this.startTimeBetweenAdsTimer.bind(this))
2618
}
2619
return t.prototype.setTimings = function(t) {
2620
var n = v.adTiming,
2621
e = t.preroll,
2622
i = void 0 === e ? n.preroll : e,
2623
r = t.timePerTry,
2624
o = void 0 === r ? n.timePerTry : r,
2625
a = t.timeBetweenAds,
2626
s = void 0 === a ? n.timeBetweenAds : a,
2627
d = t.startAdsAfter,
2628
c = void 0 === d ? n.startAdsAfter : d;
2629
this.timings = {
2630
preroll: !1 !== i,
2631
timePerTry: b(o),
2632
timeBetweenAds: s,
2633
startAdsAfter: c
2634
}
2635
}, t.prototype.startTimeBetweenAdsTimer = function() {
2636
this.startTimer("timeBetweenAds")
2637
}, t.prototype.startStartAdsAfterTimer = function() {
2638
this.startTimer("startAdsAfter")
2639
}, t.prototype.requestPossible = function() {
2640
return !this.timers.timeBetweenAds && !this.timers.startAdsAfter
2641
}, t.prototype.startWaterfallTimer = function(t) {
2642
this.startTimer("timePerTry", t)
2643
}, t.prototype.stopWaterfallTimer = function() {
2644
this.stopTimer("timePerTry")
2645
}, t.prototype.nextWaterfallTimer = function() {
2646
this.nextTiming("timePerTry")
2647
}, t.prototype.resetWaterfallTimerIdx = function() {
2648
this.resetTimingIdx("timePerTry")
2649
}, t.prototype.stopTimer = function(t) {
2650
this.timers[t] && (clearTimeout(this.timers[t]), this.timers[t] = void 0)
2651
}, t.prototype.startTimer = function(t, n) {
2652
var e = this;
2653
void 0 === n && (n = function() {}), this.getTiming(t) <= 0 ? n() : (this.timers[t] && clearTimeout(this.timers[t]), this.timers[t] = setTimeout((function() {
2654
e.stopTimer(t), n()
2655
}), this.getTiming(t)))
2656
}, t.prototype.getTiming = function(t) {
2657
var n = this.timings[t];
2658
return n instanceof Array ? n[this.timingIdx[t]] : n
2659
}, t.prototype.nextTiming = function(t) {
2660
if (void 0 === this.timingIdx[t]) throw new Error("AdTimings Error: " + t + " does not have multiple timers");
2661
this.timingIdx[t] = (this.timingIdx[t] + 1) % this.timings[t].length
2662
}, t.prototype.resetTimingIdx = function(t) {
2663
if (void 0 === this.timingIdx[t]) throw new Error("AdTimings Error: " + t + " does not have multiple timers");
2664
this.timingIdx[t] = 0
2665
}, t.prototype.prerollPossible = function() {
2666
return this.timings.preroll
2667
}, t
2668
}(),
2669
S = function() {
2670
return window.location.href
2671
},
2672
E = function() {
2673
return "undefined" != typeof navigator && /(?:phone|windows\s+phone|ipod|blackberry|(?:android|bb\d+|meego|silk|googlebot) .+? mobile|palm|windows\s+ce|opera\smini|avantgo|mobilesafari|docomo)/i.test(navigator.userAgent)
2674
},
2675
x = function() {
2676
return "undefined" != typeof navigator && /(?:ipad|playbook|(?:android|bb\d+|meego|silk)(?! .+? mobile))/i.test(navigator.userAgent)
2677
},
2678
T = function(t, n) {
2679
if ("undefined" == typeof window) return "";
2680
t = t.replace(/[\[]/, "\\[").replace(/[\]]/, "\\]");
2681
var e = new RegExp("[\\?&]" + t + "=([^&#]*)").exec(n || window.location.search);
2682
return null === e ? "" : decodeURIComponent(e[1].replace(/\+/g, " "))
2683
},
2684
z = function() {
2685
return "undefined" != typeof navigator && /MSIE \\d|Trident.*rv:/i.test(navigator.userAgent)
2686
},
2687
C = {
2688
1: "eNjDw1AVTr",
2689
2: "HkuQJaWnBa",
2690
3: "AfRKClvdYk",
2691
4: "Db7uYbsnlW",
2692
5: "UprdYKe74r",
2693
6: "eHFDjD5npr",
2694
7: "mm1jSFJjLl",
2695
8: "tJ44vpLpuM",
2696
9: "mF5ASaga4A",
2697
10: "rKV8rMwiwk",
2698
11: "SvK8BH5qS5",
2699
12: "qjcaVGp8Hs",
2700
13: "ysxIcmt3tW",
2701
14: "fz6aK9wMQe",
2702
15: "RU6ebIFLw9",
2703
16: "r9G4tVMYw7",
2704
17: "SgcDa5B8s1",
2705
18: "9wDNMnChv6",
2706
19: "DNZX8XdJXV",
2707
20: "39o4YUyZTX",
2708
21: "5sb2HFpz5a",
2709
22: "pgXzCJZipE",
2710
23: "Oani8EAGI9",
2711
24: "IzCeh7d7vW",
2712
25: "I5vRNtjoMr",
2713
26: "KpySvG7luq",
2714
27: "dK42J4rI14",
2715
28: "HuYorw3fRg",
2716
29: "mf84cGYc1h",
2717
30: "I2v6sQKXVD",
2718
31: "lBzSdVGY8F",
2719
32: "hKYgk9Wb8q",
2720
33: "xPBr8E54eE",
2721
34: "ZvIK2WKC7G",
2722
35: "7kiYi3zlIX",
2723
36: "VpygYMTDgm",
2724
37: "mis9Mt4np4",
2725
38: "451KJIoEIh",
2726
41: "Fqmjp9Hit3",
2727
42: "lS2XGg058L",
2728
43: "3uFf2PlICy",
2729
46: "voeIq5uRvl",
2730
47: "21OybbiIdc",
2731
48: "9i3RwPHzWW",
2732
49: "CMVoMvvEmu",
2733
50: "IoQrhRb3wU"
2734
},
2735
I = function(t) {
2736
return C[t] || ""
2737
},
2738
_ = function() {
2739
try {
2740
return window.self !== window.top
2741
} catch (t) {
2742
return !0
2743
}
2744
},
2745
B = function() {
2746
return (B = Object.assign || function(t) {
2747
for (var n, e = 1, i = arguments.length; e < i; e++)
2748
for (var r in n = arguments[e]) Object.prototype.hasOwnProperty.call(n, r) && (t[r] = n[r]);
2749
return t
2750
}).apply(this, arguments)
2751
},
2752
P = function() {
2753
for (var t = 0, n = 0, e = arguments.length; n < e; n++) t += arguments[n].length;
2754
var i = Array(t),
2755
r = 0;
2756
for (n = 0; n < e; n++)
2757
for (var o = arguments[n], a = 0, s = o.length; a < s; a++, r++) i[r] = o[a];
2758
return i
2759
},
2760
D = (s = parseInt(T("site_id"), 10) || 0, d = z() || E() || x() ? ["video/mp4"] : ["video/mp4", "video/webm", "video/ogg"], {
2761
bids: [{
2762
bidder: "appnexus",
2763
params: B(B({
2764
placementId: 13184250,
2765
maxduration: 15
2766
}, c = {
2767
allowSmallerSizes: !0,
2768
frameworks: [2],
2769
h: 480,
2770
w: 640,
2771
video: {
2772
playback_method: ["auto_play_sound_on", "auto_play_sound_off", "auto_play_sound_unknown"]
2773
}
2774
}), {
2775
video: B(B({}, c.video), {
2776
skippable: !0
2777
})
2778
})
2779
}, {
2780
bidder: "appnexus",
2781
params: B(B({
2782
placementId: 13184309,
2783
maxduration: 15
2784
}, c), {
2785
video: B(B({}, c.video), {
2786
skippable: !1,
2787
maxduration: 15
2788
})
2789
})
2790
}, {
2791
bidder: "openx",
2792
params: {
2793
unit: "540105196",
2794
delDomain: "poki-d.openx.net",
2795
openrtb: {
2796
imp: [{
2797
video: {
2798
mimes: [d.join(",")],
2799
protocols: [2, 3, 5, 6, 7, 8],
2800
maxduration: 15,
2801
skip: 1,
2802
skipafter: 5,
2803
w: 640,
2804
h: 480
2805
}
2806
}]
2807
}
2808
}
2809
}, {
2810
bidder: "openx",
2811
params: {
2812
unit: "540719065",
2813
delDomain: "poki-d.openx.net",
2814
openrtb: {
2815
imp: [{
2816
video: {
2817
mimes: [d.join(",")],
2818
protocols: [2, 3, 5, 6, 7, 8],
2819
maxduration: 15,
2820
skip: 0,
2821
w: 640,
2822
h: 480
2823
}
2824
}]
2825
}
2826
}
2827
}, {
2828
bidder: "districtm",
2829
params: B(B({
2830
placementId: 12906789,
2831
maxduration: 15
2832
}, c), {
2833
video: B(B({}, c.video), {
2834
skippable: !1,
2835
maxduration: 15
2836
})
2837
})
2838
}, {
2839
bidder: "spotx",
2840
params: {
2841
channel_id: "265590",
2842
ad_unit: "instream",
2843
secure: !0,
2844
mimes: d,
2845
hide_skin: !0
2846
}
2847
}, {
2848
bidder: "ix",
2849
params: {
2850
siteId: "436284",
2851
size: [640, 480],
2852
video: {
2853
mimes: d,
2854
protocols: [2, 3, 5, 6, 7, 8],
2855
minduration: 0,
2856
maxduration: 15,
2857
api: [1, 2]
2858
}
2859
}
2860
}, {
2861
bidder: "richaudience",
2862
params: {
2863
pid: I(s),
2864
supplyType: "site"
2865
}
2866
}],
2867
mediaTypes: {
2868
video: {
2869
context: "instream",
2870
playerSize: [640, 480],
2871
mimes: d,
2872
protocols: [2, 3, 5, 6, 7, 8],
2873
maxduration: 15,
2874
skip: 1,
2875
linearity: 1,
2876
api: [2]
2877
}
2878
}
2879
}),
2880
L = [{
2881
code: "video",
2882
mediaTypes: D.mediaTypes,
2883
bids: P(D.bids, [{
2884
bidder: "rubicon",
2885
params: {
2886
accountId: "18608",
2887
siteId: "266914",
2888
zoneId: "1322034",
2889
video: {
2890
size_id: 204
2891
}
2892
}
2893
}])
2894
}, {
2895
code: "rewarded",
2896
mediaTypes: D.mediaTypes,
2897
bids: P(D.bids, [{
2898
bidder: "rubicon",
2899
params: {
2900
accountId: "18608",
2901
siteId: "266916",
2902
zoneId: "1322048",
2903
video: {
2904
size_id: 202
2905
}
2906
}
2907
}])
2908
}],
2909
O = {
2910
EUR: {
2911
EUR: 1,
2912
GBP: .858595,
2913
USD: 1.13151
2914
},
2915
GBP: {
2916
EUR: 1.164693481792929,
2917
GBP: 1,
2918
USD: 1.3178623215835172
2919
},
2920
USD: {
2921
EUR: .8837747788353616,
2922
GBP: .7588046062341472,
2923
USD: 1
2924
}
2925
},
2926
j = {
2927
debug: !1,
2928
enableSendAllBids: !0,
2929
usePrebidCache: !0,
2930
bidderTimeout: 1500,
2931
priceGranularity: {
2932
buckets: [{
2933
precision: 2,
2934
min: .01,
2935
max: 3,
2936
increment: .01
2937
}, {
2938
precision: 2,
2939
min: 3,
2940
max: 8,
2941
increment: .05
2942
}, {
2943
precision: 2,
2944
min: 8,
2945
max: 20,
2946
increment: .5
2947
}, {
2948
precision: 2,
2949
min: 20,
2950
max: 45,
2951
increment: 1
2952
}]
2953
},
2954
currency: {
2955
adServerCurrency: "EUR",
2956
rates: O,
2957
defaultRates: O,
2958
bidderCurrencyDefault: {
2959
openx: "EUR"
2960
}
2961
},
2962
cache: {
2963
url: "https://prebid.adnxs.com/pbc/v1/cache"
2964
},
2965
userSync: {
2966
filterSettings: {
2967
all: {
2968
bidders: "*",
2969
filter: "include"
2970
}
2971
},
2972
syncsPerBidder: 1e3,
2973
syncDelay: 100,
2974
userIds: [{
2975
name: "pubCommonId",
2976
storage: {
2977
type: "cookie",
2978
name: "poki_pubcid",
2979
expires: 365
2980
}
2981
}]
2982
}
2983
},
2984
R = !1,
2985
M = function() {
2986
! function() {
2987
if (!window.__tcfapi) {
2988
var t = {};
2989
window.__tcfapi = function(n, e, i, r) {
2990
if (!kt.GetIsPokiIFrame() && !_()) return i({
2991
msg: "CMP not found"
2992
}, !1), void console.error("A TCFv2 compliant CMP should be added to this game");
2993
var o = Math.random(),
2994
a = {
2995
__tcfapiCall: {
2996
command: n,
2997
parameter: r,
2998
version: e,
2999
callId: o
3000
}
3001
};
3002
t[o] = i, window.parent.postMessage(a, "*")
3003
}, window.addEventListener("message", (function(n) {
3004
var e = {};
3005
try {
3006
e = "string" == typeof n.data ? JSON.parse(n.data) : n.data
3007
} catch (t) {}
3008
var i = e.__tcfapiReturn;
3009
i && "function" == typeof t[i.callId] && (t[i.callId](i.returnValue, i.success), t[i.callId] = null)
3010
}), !1)
3011
}
3012
}(), window.pbjs.que.push((function() {
3013
window.pbjs.setConfig({
3014
consentManagement: {
3015
gdpr: {
3016
cmpApi: "iab",
3017
timeout: 8e3,
3018
defaultGdprScope: !0
3019
}
3020
}
3021
})
3022
}))
3023
};
3024
3025
function Z(t) {
3026
try {
3027
var n = window.pbjs.getBidResponsesForAdUnitCode(t).bids;
3028
window.pokiAuctionsSeen || (window.pokiAuctionsSeen = {}), window.pokiAuctionsSeen[t] || (window.pokiAuctionsSeen[t] = {});
3029
var e = 0;
3030
if (n) {
3031
for (var i = 0; i < n.length; i++)
3032
if (!window.pokiAuctionsSeen[t][n[i].auctionId]) {
3033
var r = n[i].cpm;
3034
r && r > e && (e = r)
3035
}
3036
for (i = 0; i < n.length; i++) window.pokiAuctionsSeen[t][n[i].auctionId] = !0
3037
}
3038
return e
3039
} catch (t) {
3040
console.error(t)
3041
}
3042
return 0
3043
}
3044
var G = function() {
3045
function t(t, n) {
3046
void 0 === n && (n = {}), this.retries = 0, this.running = !1, this.ima = t, this.siteID = n.siteID || 3, 0 === n.siteID && (n.siteID = 3), this.totalRetries = n.totalRetries || v.waterfallRetries || 1, this.timing = n.timing || new k(v.adTiming), this.overwriteAdTagUrls = n.adTagUrl ? b(n.adTagUrl) : [], f.addEventListener(A.ads.video.error, this.moveThroughWaterfall.bind(this)), f.addEventListener(A.ads.video.loaderError, this.moveThroughWaterfall.bind(this)), f.addEventListener(A.ads.ready, this.timing.stopWaterfallTimer.bind(this.timing)), f.addEventListener(A.ads.started, this.stopWaterfall.bind(this))
3047
}
3048
return t.prototype.moveThroughWaterfall = function() {
3049
if (!1 !== this.running) {
3050
if (this.timing.stopWaterfallTimer(), this.retries < this.totalRetries) return this.timing.nextWaterfallTimer(), void this.requestAd();
3051
this.running = !1, this.timing.resetWaterfallTimerIdx(), f.dispatchEvent(A.ads.error, {
3052
message: "No ads"
3053
})
3054
}
3055
}, t.prototype.cutOffWaterfall = function() {
3056
this.ima.tearDown(), this.moveThroughWaterfall()
3057
}, t.prototype.buildAdTagUrls = function(t) {
3058
var n = "&ciu_szs&impl=s&gdfp_req=1&env=vp&output=vast&unviewed_position_start=1&url={url}&description_url={descriptionUrl}&correlator={timestamp}";
3059
if (this.debug) {
3060
var e = "https://securepubads.g.doubleclick.net/gampad/ads?sz=640x360|640x480&iu=/21682198607/debug-video/";
3061
return t === A.ads.position.rewarded ? [e + "debug-video-rewarded" + n] : t === A.ads.position.preroll ? [e + "debug-video-preroll" + n] : [e + "debug-video-midroll" + n]
3062
}
3063
if (this.overwriteAdTagUrls.length > 0 && kt.GetIsPokiPlatform()) return this.overwriteAdTagUrls;
3064
var i = "desktop",
3065
r = "midroll";
3066
E() ? i = "mobile" : x() && (i = "tablet"), t === A.ads.position.rewarded && (r = "rewarded");
3067
var o = "https://securepubads.g.doubleclick.net/gampad/ads?sz=640x360|640x480&iu=/21682198607/";
3068
return kt.GetIsPokiIFrame() ? ["" + o + i + "_ingame_" + r + "_1/" + this.siteID + "_" + i + "_ingame_" + r + "_1" + n, "" + o + i + "_ingame_" + r + "_2/" + this.siteID + "_" + i + "_ingame_" + r + "_2" + n] : [o + "external_" + i + "_video_1/external_" + i + "_ingame_" + r + "_1" + n, o + "external_" + i + "_video_2/external_" + i + "_ingame_" + r + "_2" + n]
3069
}, t.prototype.start = function(t, n) {
3070
void 0 === t && (t = {}), this.running = !0, this.retries = 0, this.criteria = t, this.timing.resetWaterfallTimerIdx(), this.rewarded = n === A.ads.position.rewarded, this.adTagUrls = this.buildAdTagUrls(n), this.requestAd()
3071
}, t.prototype.requestAd = function() {
3072
this.timing.startWaterfallTimer(this.cutOffWaterfall.bind(this)), this.retries++, kt.GetIsPokiPlatform() || (this.criteria.waterfall = this.retries);
3073
var t = (this.retries - 1) % this.adTagUrls.length,
3074
n = this.adTagUrls[t];
3075
kt.consentString && kt.consentString.length > 0 && (this.criteria.consent_string = kt.consentString);
3076
var e, i, r = function(t) {
3077
var n = S().split("?"),
3078
e = encodeURIComponent(n[0]);
3079
return t = (t = t.split("{descriptionUrl}").join(e)).split("{timestamp}").join((new Date).getTime().toString())
3080
}(n) + (e = this.criteria, i = "", Object.keys(e).forEach((function(t) {
3081
if (Object.prototype.hasOwnProperty.call(e, t)) {
3082
var n = e[t];
3083
Array.isArray(n) && (n = n.join()), i += t + "=" + n + "&"
3084
}
3085
})), "&cust_params=" + (i = encodeURIComponent(i)) + "&");
3086
kt.childDirected && (r += "&tfcd=1"), kt.nonPersonalized && (r += "&npa=1"), f.setDataAnnotations({
3087
adTagUrl: r,
3088
waterfall: this.retries
3089
}), f.dispatchEvent(A.ads.requested), 1 !== this.retries || E() || x() ? (console.debug("adRequest started in plain mode"), this.ima.requestAd(r)) : (console.debug("adRequest started with Prebid Video enabled"), function(t, n, e, i) {
3090
if (window.pbjs && window.pbjs.que && window.pbjs.getConfig) {
3091
var r, o = S().split("?"),
3092
a = encodeURIComponent(o[0]),
3093
s = i ? "rewarded" : "video",
3094
d = 1,
3095
c = function() {
3096
if (!(--d > 0)) try {
3097
f.dispatchEvent(A.ads.prebidRequested);
3098
var i = window.pbjs.adUnits.filter((function(t) {
3099
return t.code === s
3100
}))[0];
3101
if ("undefined" === i) return console.error("Video-ad-unit not found, did you give it the adunit.code='video' value?"), void t.requestAd(n);
3102
var o = window.pbjs.adServers.dfp.buildVideoUrl({
3103
adUnit: i,
3104
params: {
3105
iu: T("iu", n),
3106
sz: "640x360|640x480",
3107
output: "vast",
3108
cust_params: e,
3109
description_url: a
3110
}
3111
});
3112
window.pbjs.markWinningBidAsUsed({
3113
adUnitCode: s
3114
}), r && (o = o.replace("cust_params=", "cust_params=" + r + "%26")), t.requestAd(o)
3115
} catch (e) {
3116
t.requestAd(n)
3117
}
3118
};
3119
R && (d++, window.apstag.fetchBids({
3120
slots: [{
3121
slotID: i ? "Rewarded" : "Midroll",
3122
mediaType: "video"
3123
}],
3124
timeout: j.bidderTimeout
3125
}, (function(t) {
3126
t.length > 0 && (r = t[0].encodedQsParams), c()
3127
}))), window.pbjs.que.push((function() {
3128
window.pbjs.requestBids({
3129
adUnitCodes: [s],
3130
bidsBackHandler: function() {
3131
c()
3132
}
3133
})
3134
}))
3135
} else t.requestAd(n)
3136
}(this.ima, r, this.criteria, this.rewarded))
3137
}, t.prototype.isRunning = function() {
3138
return this.running
3139
}, t.prototype.stopWaterfall = function() {
3140
this.running = !1, this.timing.stopWaterfallTimer(), this.timing.resetWaterfallTimerIdx()
3141
}, t.prototype.setDebug = function(t) {
3142
this.debug = t
3143
}, t
3144
}(),
3145
N = "pokiSdkPauseButton",
3146
F = "pokiSdkProgressBar",
3147
X = "pokiSdkSpinnerContainer",
3148
U = "pokiSdkVisible",
3149
Q = function() {
3150
function t(t) {
3151
var n = this;
3152
if (this.hideElement = function(t) {
3153
t.classList.add("pokiSdkHidden"), t.classList.remove(U)
3154
}, this.showElement = function(t) {
3155
t.classList.add(U), t.classList.remove("pokiSdkHidden")
3156
}, this.wrapper = t.wrapper, f.addEventListener(A.ads.video.progress, (function(t) {
3157
var e = t.currentTime / t.duration * 100;
3158
e < 100 && (n.progressBar.style.width = e + "%")
3159
})), this.wrapper instanceof HTMLElement || (console.error("POKI-SDK: wrapper is not a HTMLElement, falling back to document.body"), this.wrapper = document.body), this.createElements(), "undefined" != typeof window && document) {
3160
var e = document.createElement("style");
3161
e.innerHTML = "\n@font-face {\n\tfont-display: swap;\n\tfont-family: 'Proxima Nova';\n\tfont-weight: 700;\n\tsrc: url(https://a.poki.com/fonts/proxima-nova-bold-latin.woff2) format('woff2'), url(https://a.poki.com/fonts/proxima-nova-bold-latin.woff) format('woff');\n\tunicode-range: U+0020-007F, U+00A0-00FF\n}\n\n@font-face {\n\tfont-display: swap;\n\tfont-family: 'Proxima Nova';\n\tfont-weight: 700;\n\tsrc: url(https://a.poki.com/fonts/proxima-nova-bold-latin-ext-a.woff2) format('woff2'), url(https://a.poki.com/fonts/proxima-nova-bold-latin-ext-a.woff) format('woff');\n\tunicode-range: U+0100-017F\n}\n\n@font-face {\n\tfont-display: swap;\n\tfont-family: 'Proxima Nova';\n\tfont-weight: 700;\n\tsrc: url(https://a.poki.com/fonts/proxima-nova-bold-latin-ext-b.woff2) format('woff2'), url(https://a.poki.com/fonts/proxima-nova-bold-latin-ext-b.woff) format('woff');\n\tunicode-range: U+0180-024F\n}\n\n.pokiSdkContainer {\n\toverflow: hidden;\n\tposition: absolute;\n\tleft: 0;\n\ttop: 0;\n\twidth: 100%;\n\theight: 100%;\n\tz-index: 1000;\n\tdisplay: flex;\n\talign-items: center;\n\tjustify-content: center;\n}\n\n.pokiSdkContainer.pokiSdkFixed {\n\tposition: fixed;\n}\n\n.pokiSdkContainer.pokiSdkVisible {\n\tdisplay: block;\n}\n\n.pokiSdkContainer.pokiSdkHidden, .pokiSdkSpinnerContainer.pokiSdkHidden {\n\tdisplay: none;\n}\n\n.pokiSdkContainer.pokiSdkHidden, .pokiSdkSpinnerContainer, .pokiSdkSpinnerContainer div, .pokiSdkSpinnerContainer img {\n\tpointer-events: none;\n}\n\n.pokiSdkInsideContainer {\n\tbackground: #000;\n\tposition: relative;\n\tz-index: 1;\n\twidth: 100%;\n\theight: 100%;\n\tdisplay: flex;\n\tflex-direction: column;\n\n\topacity: 0;\n\t-webkit-transition: opacity 0.5s ease-in-out;\n\t-moz-transition: opacity 0.5s ease-in-out;\n\t-ms-transition: opacity 0.5s ease-in-out;\n\t-o-transition: opacity 0.5s ease-in-out;\n\ttransition: opacity 0.5s ease-in-out;\n}\n\n.pokiSdkContainer.pokiSdkVisible .pokiSdkInsideContainer {\n\topacity: 1;\n}\n\n.pokiSDKAdContainer, .pokiSdkVideoContainer {\n\tposition: absolute;\n\twidth: 100%;\n\theight: 100%;\n}\n\n.pokiSdkStartAdButton, .pokiSdkPauseButton {\n\tposition: absolute;\n\tz-index: 9999;\n\ttop: 0;\n\n\tpadding-top: 10%;\n\twidth: 100%;\n\theight: 100%;\n\ttext-align: center;\n\tcolor: #FFF;\n\n\tfont: 700 16pt 'Proxima Nova', sans-serif;\n\tfont-weight: bold;\n\tletter-spacing: 1px;\n\ttransition: 0.1s ease-in-out;\n\tline-height: 1em;\n}\n\n.pokiSdkProgressContainer {\n\tbackground: #002B50;\n\twidth: 100%;\n\theight: 5px;\n\tposition: absolute;\n\tbottom: 0;\n\tz-index: 9999;\n}\n\n.pokiSdkProgressBar {\n\tposition:relative;\n\tbottom:0px;\n\tbackground: #009CFF;\n\theight: 100%;\n\twidth: 0%;\n\ttransition: width 0.5s;\n\ttransition-timing-function: linear;\n}\n\n.pokiSdkProgressBar.pokiSdkVisible, .pokiSdkPauseButton.pokiSdkVisible, .pokiSdkStartAdButton.pokiSdkVisible {\n\tdisplay: block;\n\tpointer-events: auto;\n}\n\n.pokiSdkProgressBar.pokiSdkHidden, .pokiSdkPauseButton.pokiSdkHidden, .pokiSdkStartAdButton.pokiSdkHidden {\n\tdisplay: none;\n\tpointer-events: none;\n}\n\n\n@keyframes gwd-gen-no02gwdanimation_gwd-keyframes{0%{opacity:0;transform:translate3d(0,0,0);-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);animation-timing-function:step-end;-webkit-animation-timing-function:step-end;-moz-animation-timing-function:step-end}25%{transform:translate3d(0,0,0);-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);animation-timing-function:step-end;-webkit-animation-timing-function:step-end;-moz-animation-timing-function:step-end}35%{opacity:1;transform:translate3d(0,0,0);-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);animation-timing-function:step-end;-webkit-animation-timing-function:step-end;-moz-animation-timing-function:step-end}40%{opacity:0;transform:translate3d(0,0,0);-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);animation-timing-function:linear;-webkit-animation-timing-function:linear;-moz-animation-timing-function:linear}100%{opacity:0;transform:translate3d(0,0,0);-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);animation-timing-function:linear;-webkit-animation-timing-function:linear;-moz-animation-timing-function:linear}}@-webkit-keyframes gwd-gen-no02gwdanimation_gwd-keyframes{0%{opacity:0;-webkit-transform:translate3d(0,0,0);-webkit-animation-timing-function:step-end}25%{-webkit-transform:translate3d(0,0,0);-webkit-animation-timing-function:step-end}35%{opacity:1;-webkit-transform:translate3d(0,0,0);-webkit-animation-timing-function:step-end}40%{opacity:0;-webkit-transform:translate3d(0,0,0);-webkit-animation-timing-function:linear}100%{opacity:0;-webkit-transform:translate3d(0,0,0);-webkit-animation-timing-function:linear}}@-moz-keyframes gwd-gen-no02gwdanimation_gwd-keyframes{0%{opacity:0;-moz-transform:translate3d(0,0,0);-moz-animation-timing-function:step-end}25%{-moz-transform:translate3d(0,0,0);-moz-animation-timing-function:step-end}35%{opacity:1;-moz-transform:translate3d(0,0,0);-moz-animation-timing-function:step-end}40%{opacity:0;-moz-transform:translate3d(0,0,0);-moz-animation-timing-function:linear}100%{opacity:0;-moz-transform:translate3d(0,0,0);-moz-animation-timing-function:linear}}[data-gwd-group=SpinnerGroup] .gwd-gen-no02gwdanimation{animation:gwd-gen-no02gwdanimation_gwd-keyframes 2s linear 0s infinite normal forwards;-webkit-animation:gwd-gen-no02gwdanimation_gwd-keyframes 2s linear 0s infinite normal forwards;-moz-animation:gwd-gen-no02gwdanimation_gwd-keyframes 2s linear 0s infinite normal forwards}@keyframes gwd-gen-4pvrgwdanimation_gwd-keyframes{0%{opacity:0;transform:translate3d(0,0,0);-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);animation-timing-function:step-end;-webkit-animation-timing-function:step-end;-moz-animation-timing-function:step-end}25%{transform:translate3d(0,0,0);-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);animation-timing-function:step-end;-webkit-animation-timing-function:step-end;-moz-animation-timing-function:step-end}40%{opacity:1;transform:translate3d(0,0,0);-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);animation-timing-function:step-end;-webkit-animation-timing-function:step-end;-moz-animation-timing-function:step-end}45%{opacity:0;transform:translate3d(0,0,0);-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);animation-timing-function:linear;-webkit-animation-timing-function:linear;-moz-animation-timing-function:linear}100%{opacity:0;transform:translate3d(0,0,0);-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);animation-timing-function:linear;-webkit-animation-timing-function:linear;-moz-animation-timing-function:linear}}@-webkit-keyframes gwd-gen-4pvrgwdanimation_gwd-keyframes{0%{opacity:0;-webkit-transform:translate3d(0,0,0);-webkit-animation-timing-function:step-end}25%{-webkit-transform:translate3d(0,0,0);-webkit-animation-timing-function:step-end}40%{opacity:1;-webkit-transform:translate3d(0,0,0);-webkit-animation-timing-function:step-end}45%{opacity:0;-webkit-transform:translate3d(0,0,0);-webkit-animation-timing-function:linear}100%{opacity:0;-webkit-transform:translate3d(0,0,0);-webkit-animation-timing-function:linear}}@-moz-keyframes gwd-gen-4pvrgwdanimation_gwd-keyframes{0%{opacity:0;-moz-transform:translate3d(0,0,0);-moz-animation-timing-function:step-end}25%{-moz-transform:translate3d(0,0,0);-moz-animation-timing-function:step-end}40%{opacity:1;-moz-transform:translate3d(0,0,0);-moz-animation-timing-function:step-end}45%{opacity:0;-moz-transform:translate3d(0,0,0);-moz-animation-timing-function:linear}100%{opacity:0;-moz-transform:translate3d(0,0,0);-moz-animation-timing-function:linear}}[data-gwd-group=SpinnerGroup] .gwd-gen-4pvrgwdanimation{animation:gwd-gen-4pvrgwdanimation_gwd-keyframes 2s linear 0s infinite normal forwards;-webkit-animation:gwd-gen-4pvrgwdanimation_gwd-keyframes 2s linear 0s infinite normal forwards;-moz-animation:gwd-gen-4pvrgwdanimation_gwd-keyframes 2s linear 0s infinite normal forwards}@keyframes gwd-gen-kw40gwdanimation_gwd-keyframes{0%{opacity:0;transform:translate3d(0,0,0);-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);animation-timing-function:step-end;-webkit-animation-timing-function:step-end;-moz-animation-timing-function:step-end}25%{transform:translate3d(0,0,0);-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);animation-timing-function:step-end;-webkit-animation-timing-function:step-end;-moz-animation-timing-function:step-end}45%{opacity:1;transform:translate3d(0,0,0);-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);animation-timing-function:step-end;-webkit-animation-timing-function:step-end;-moz-animation-timing-function:step-end}50%{opacity:0;transform:translate3d(0,0,0);-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);animation-timing-function:linear;-webkit-animation-timing-function:linear;-moz-animation-timing-function:linear}100%{opacity:0;transform:translate3d(0,0,0);-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);animation-timing-function:linear;-webkit-animation-timing-function:linear;-moz-animation-timing-function:linear}}@-webkit-keyframes gwd-gen-kw40gwdanimation_gwd-keyframes{0%{opacity:0;-webkit-transform:translate3d(0,0,0);-webkit-animation-timing-function:step-end}25%{-webkit-transform:translate3d(0,0,0);-webkit-animation-timing-function:step-end}45%{opacity:1;-webkit-transform:translate3d(0,0,0);-webkit-animation-timing-function:step-end}50%{opacity:0;-webkit-transform:translate3d(0,0,0);-webkit-animation-timing-function:linear}100%{opacity:0;-webkit-transform:translate3d(0,0,0);-webkit-animation-timing-function:linear}}@-moz-keyframes gwd-gen-kw40gwdanimation_gwd-keyframes{0%{opacity:0;-moz-transform:translate3d(0,0,0);-moz-animation-timing-function:step-end}25%{-moz-transform:translate3d(0,0,0);-moz-animation-timing-function:step-end}45%{opacity:1;-moz-transform:translate3d(0,0,0);-moz-animation-timing-function:step-end}50%{opacity:0;-moz-transform:translate3d(0,0,0);-moz-animation-timing-function:linear}100%{opacity:0;-moz-transform:translate3d(0,0,0);-moz-animation-timing-function:linear}}[data-gwd-group=SpinnerGroup] .gwd-gen-kw40gwdanimation{animation:gwd-gen-kw40gwdanimation_gwd-keyframes 2s linear 0s infinite normal forwards;-webkit-animation:gwd-gen-kw40gwdanimation_gwd-keyframes 2s linear 0s infinite normal forwards;-moz-animation:gwd-gen-kw40gwdanimation_gwd-keyframes 2s linear 0s infinite normal forwards}@keyframes gwd-gen-2uv8gwdanimation_gwd-keyframes{0%{opacity:0;transform:translate3d(0,0,0);-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);animation-timing-function:step-end;-webkit-animation-timing-function:step-end;-moz-animation-timing-function:step-end}25%{transform:translate3d(0,0,0);-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);animation-timing-function:step-end;-webkit-animation-timing-function:step-end;-moz-animation-timing-function:step-end}50%{opacity:1;transform:translate3d(0,0,0);-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);animation-timing-function:step-end;-webkit-animation-timing-function:step-end;-moz-animation-timing-function:step-end}55%{opacity:0;transform:translate3d(0,0,0);-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);animation-timing-function:linear;-webkit-animation-timing-function:linear;-moz-animation-timing-function:linear}100%{opacity:0;transform:translate3d(0,0,0);-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);animation-timing-function:linear;-webkit-animation-timing-function:linear;-moz-animation-timing-function:linear}}@-webkit-keyframes gwd-gen-2uv8gwdanimation_gwd-keyframes{0%{opacity:0;-webkit-transform:translate3d(0,0,0);-webkit-animation-timing-function:step-end}25%{-webkit-transform:translate3d(0,0,0);-webkit-animation-timing-function:step-end}50%{opacity:1;-webkit-transform:translate3d(0,0,0);-webkit-animation-timing-function:step-end}55%{opacity:0;-webkit-transform:translate3d(0,0,0);-webkit-animation-timing-function:linear}100%{opacity:0;-webkit-transform:translate3d(0,0,0);-webkit-animation-timing-function:linear}}@-moz-keyframes gwd-gen-2uv8gwdanimation_gwd-keyframes{0%{opacity:0;-moz-transform:translate3d(0,0,0);-moz-animation-timing-function:step-end}25%{-moz-transform:translate3d(0,0,0);-moz-animation-timing-function:step-end}50%{opacity:1;-moz-transform:translate3d(0,0,0);-moz-animation-timing-function:step-end}55%{opacity:0;-moz-transform:translate3d(0,0,0);-moz-animation-timing-function:linear}100%{opacity:0;-moz-transform:translate3d(0,0,0);-moz-animation-timing-function:linear}}[data-gwd-group=SpinnerGroup] .gwd-gen-2uv8gwdanimation{animation:gwd-gen-2uv8gwdanimation_gwd-keyframes 2s linear 0s infinite normal forwards;-webkit-animation:gwd-gen-2uv8gwdanimation_gwd-keyframes 2s linear 0s infinite normal forwards;-moz-animation:gwd-gen-2uv8gwdanimation_gwd-keyframes 2s linear 0s infinite normal forwards}@keyframes gwd-gen-1x97gwdanimation_gwd-keyframes{0%{opacity:0;transform:translate3d(0,0,0);-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);animation-timing-function:step-end;-webkit-animation-timing-function:step-end;-moz-animation-timing-function:step-end}25%{transform:translate3d(0,0,0);-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);animation-timing-function:step-end;-webkit-animation-timing-function:step-end;-moz-animation-timing-function:step-end}55%{opacity:1;transform:translate3d(0,0,0);-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);animation-timing-function:step-end;-webkit-animation-timing-function:step-end;-moz-animation-timing-function:step-end}60%{opacity:0;transform:translate3d(0,0,0);-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);animation-timing-function:linear;-webkit-animation-timing-function:linear;-moz-animation-timing-function:linear}100%{opacity:0;transform:translate3d(0,0,0);-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);animation-timing-function:linear;-webkit-animation-timing-function:linear;-moz-animation-timing-function:linear}}@-webkit-keyframes gwd-gen-1x97gwdanimation_gwd-keyframes{0%{opacity:0;-webkit-transform:translate3d(0,0,0);-webkit-animation-timing-function:step-end}25%{-webkit-transform:translate3d(0,0,0);-webkit-animation-timing-function:step-end}55%{opacity:1;-webkit-transform:translate3d(0,0,0);-webkit-animation-timing-function:step-end}60%{opacity:0;-webkit-transform:translate3d(0,0,0);-webkit-animation-timing-function:linear}100%{opacity:0;-webkit-transform:translate3d(0,0,0);-webkit-animation-timing-function:linear}}@-moz-keyframes gwd-gen-1x97gwdanimation_gwd-keyframes{0%{opacity:0;-moz-transform:translate3d(0,0,0);-moz-animation-timing-function:step-end}25%{-moz-transform:translate3d(0,0,0);-moz-animation-timing-function:step-end}55%{opacity:1;-moz-transform:translate3d(0,0,0);-moz-animation-timing-function:step-end}60%{opacity:0;-moz-transform:translate3d(0,0,0);-moz-animation-timing-function:linear}100%{opacity:0;-moz-transform:translate3d(0,0,0);-moz-animation-timing-function:linear}}[data-gwd-group=SpinnerGroup] .gwd-gen-1x97gwdanimation{animation:gwd-gen-1x97gwdanimation_gwd-keyframes 2s linear 0s infinite normal forwards;-webkit-animation:gwd-gen-1x97gwdanimation_gwd-keyframes 2s linear 0s infinite normal forwards;-moz-animation:gwd-gen-1x97gwdanimation_gwd-keyframes 2s linear 0s infinite normal forwards}@keyframes gwd-gen-1i1egwdanimation_gwd-keyframes{0%{opacity:0;transform:translate3d(0,0,0);-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);animation-timing-function:step-end;-webkit-animation-timing-function:step-end;-moz-animation-timing-function:step-end}25%{transform:translate3d(0,0,0);-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);animation-timing-function:step-end;-webkit-animation-timing-function:step-end;-moz-animation-timing-function:step-end}60%{opacity:1;transform:translate3d(0,0,0);-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);animation-timing-function:step-end;-webkit-animation-timing-function:step-end;-moz-animation-timing-function:step-end}65%{opacity:0;transform:translate3d(0,0,0);-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);animation-timing-function:linear;-webkit-animation-timing-function:linear;-moz-animation-timing-function:linear}100%{opacity:0;transform:translate3d(0,0,0);-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);animation-timing-function:linear;-webkit-animation-timing-function:linear;-moz-animation-timing-function:linear}}@-webkit-keyframes gwd-gen-1i1egwdanimation_gwd-keyframes{0%{opacity:0;-webkit-transform:translate3d(0,0,0);-webkit-animation-timing-function:step-end}25%{-webkit-transform:translate3d(0,0,0);-webkit-animation-timing-function:step-end}60%{opacity:1;-webkit-transform:translate3d(0,0,0);-webkit-animation-timing-function:step-end}65%{opacity:0;-webkit-transform:translate3d(0,0,0);-webkit-animation-timing-function:linear}100%{opacity:0;-webkit-transform:translate3d(0,0,0);-webkit-animation-timing-function:linear}}@-moz-keyframes gwd-gen-1i1egwdanimation_gwd-keyframes{0%{opacity:0;-moz-transform:translate3d(0,0,0);-moz-animation-timing-function:step-end}25%{-moz-transform:translate3d(0,0,0);-moz-animation-timing-function:step-end}60%{opacity:1;-moz-transform:translate3d(0,0,0);-moz-animation-timing-function:step-end}65%{opacity:0;-moz-transform:translate3d(0,0,0);-moz-animation-timing-function:linear}100%{opacity:0;-moz-transform:translate3d(0,0,0);-moz-animation-timing-function:linear}}[data-gwd-group=SpinnerGroup] .gwd-gen-1i1egwdanimation{animation:gwd-gen-1i1egwdanimation_gwd-keyframes 2s linear 0s infinite normal forwards;-webkit-animation:gwd-gen-1i1egwdanimation_gwd-keyframes 2s linear 0s infinite normal forwards;-moz-animation:gwd-gen-1i1egwdanimation_gwd-keyframes 2s linear 0s infinite normal forwards}@keyframes gwd-gen-1sapgwdanimation_gwd-keyframes{0%{opacity:0;transform:translate3d(0,0,0);-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);animation-timing-function:step-end;-webkit-animation-timing-function:step-end;-moz-animation-timing-function:step-end}25%{transform:translate3d(0,0,0);-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);animation-timing-function:step-end;-webkit-animation-timing-function:step-end;-moz-animation-timing-function:step-end}65%{opacity:1;transform:translate3d(0,0,0);-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);animation-timing-function:step-end;-webkit-animation-timing-function:step-end;-moz-animation-timing-function:step-end}70%{opacity:0;transform:translate3d(0,0,0);-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);animation-timing-function:linear;-webkit-animation-timing-function:linear;-moz-animation-timing-function:linear}100%{opacity:0;transform:translate3d(0,0,0);-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);animation-timing-function:linear;-webkit-animation-timing-function:linear;-moz-animation-timing-function:linear}}@-webkit-keyframes gwd-gen-1sapgwdanimation_gwd-keyframes{0%{opacity:0;-webkit-transform:translate3d(0,0,0);-webkit-animation-timing-function:step-end}25%{-webkit-transform:translate3d(0,0,0);-webkit-animation-timing-function:step-end}65%{opacity:1;-webkit-transform:translate3d(0,0,0);-webkit-animation-timing-function:step-end}70%{opacity:0;-webkit-transform:translate3d(0,0,0);-webkit-animation-timing-function:linear}100%{opacity:0;-webkit-transform:translate3d(0,0,0);-webkit-animation-timing-function:linear}}@-moz-keyframes gwd-gen-1sapgwdanimation_gwd-keyframes{0%{opacity:0;-moz-transform:translate3d(0,0,0);-moz-animation-timing-function:step-end}25%{-moz-transform:translate3d(0,0,0);-moz-animation-timing-function:step-end}65%{opacity:1;-moz-transform:translate3d(0,0,0);-moz-animation-timing-function:step-end}70%{opacity:0;-moz-transform:translate3d(0,0,0);-moz-animation-timing-function:linear}100%{opacity:0;-moz-transform:translate3d(0,0,0);-moz-animation-timing-function:linear}}[data-gwd-group=SpinnerGroup] .gwd-gen-1sapgwdanimation{animation:gwd-gen-1sapgwdanimation_gwd-keyframes 2s linear 0s infinite normal forwards;-webkit-animation:gwd-gen-1sapgwdanimation_gwd-keyframes 2s linear 0s infinite normal forwards;-moz-animation:gwd-gen-1sapgwdanimation_gwd-keyframes 2s linear 0s infinite normal forwards}@keyframes gwd-gen-5qotgwdanimation_gwd-keyframes{0%{transform:translate3d(0,0,0) rotateZ(0) scale3d(1,1,1);-webkit-transform:translate3d(0,0,0) rotateZ(0) scale3d(1,1,1);-moz-transform:translate3d(0,0,0) rotateZ(0) scale3d(1,1,1);animation-timing-function:cubic-bezier(1,0,.58,1);-webkit-animation-timing-function:cubic-bezier(1,0,.58,1);-moz-animation-timing-function:cubic-bezier(1,0,.58,1)}12.5%{transform:translate3d(0,200px,0) rotateZ(0) scale3d(1.2,.8,1);-webkit-transform:translate3d(0,200px,0) rotateZ(0) scale3d(1.2,.8,1);-moz-transform:translate3d(0,200px,0) rotateZ(0) scale3d(1.2,.8,1);animation-timing-function:cubic-bezier(.42,0,0,1);-webkit-animation-timing-function:cubic-bezier(.42,0,0,1);-moz-animation-timing-function:cubic-bezier(.42,0,0,1)}25%{transform:translate3d(0,0,0) rotateZ(0) scale3d(1,1,1);-webkit-transform:translate3d(0,0,0) rotateZ(0) scale3d(1,1,1);-moz-transform:translate3d(0,0,0) rotateZ(0) scale3d(1,1,1);animation-timing-function:cubic-bezier(1,0,.58,1);-webkit-animation-timing-function:cubic-bezier(1,0,.58,1);-moz-animation-timing-function:cubic-bezier(1,0,.58,1)}37.5%{transform:translate3d(0,200px,0) rotateZ(0) scale3d(1.2,.8,1);-webkit-transform:translate3d(0,200px,0) rotateZ(0) scale3d(1.2,.8,1);-moz-transform:translate3d(0,200px,0) rotateZ(0) scale3d(1.2,.8,1);animation-timing-function:cubic-bezier(.42,0,0,1);-webkit-animation-timing-function:cubic-bezier(.42,0,0,1);-moz-animation-timing-function:cubic-bezier(.42,0,0,1)}50%{transform:translate3d(0,0,0) rotateZ(0) scale3d(1,1,1);-webkit-transform:translate3d(0,0,0) rotateZ(0) scale3d(1,1,1);-moz-transform:translate3d(0,0,0) rotateZ(0) scale3d(1,1,1);animation-timing-function:cubic-bezier(1,0,.58,1);-webkit-animation-timing-function:cubic-bezier(1,0,.58,1);-moz-animation-timing-function:cubic-bezier(1,0,.58,1)}62.5%{transform:translate3d(0,200px,0) rotateZ(0) scale3d(1.2,.8,1);-webkit-transform:translate3d(0,200px,0) rotateZ(0) scale3d(1.2,.8,1);-moz-transform:translate3d(0,200px,0) rotateZ(0) scale3d(1.2,.8,1);animation-timing-function:cubic-bezier(.42,0,0,1);-webkit-animation-timing-function:cubic-bezier(.42,0,0,1);-moz-animation-timing-function:cubic-bezier(.42,0,0,1)}75%{transform:translate3d(0,0,0) rotateZ(0) scale3d(1,1,1);-webkit-transform:translate3d(0,0,0) rotateZ(0) scale3d(1,1,1);-moz-transform:translate3d(0,0,0) rotateZ(0) scale3d(1,1,1);animation-timing-function:cubic-bezier(1,0,.58,1);-webkit-animation-timing-function:cubic-bezier(1,0,.58,1);-moz-animation-timing-function:cubic-bezier(1,0,.58,1)}87.5%{transform:translate3d(0,200px,0) rotateZ(0) scale3d(1.2,.8,1);-webkit-transform:translate3d(0,200px,0) rotateZ(0) scale3d(1.2,.8,1);-moz-transform:translate3d(0,200px,0) rotateZ(0) scale3d(1.2,.8,1);animation-timing-function:cubic-bezier(.42,0,0,1);-webkit-animation-timing-function:cubic-bezier(.42,0,0,1);-moz-animation-timing-function:cubic-bezier(.42,0,0,1)}100%{transform:translate3d(0,0,0) rotateZ(360deg) scale3d(1,1,1);-webkit-transform:translate3d(0,0,0) rotateZ(360deg) scale3d(1,1,1);-moz-transform:translate3d(0,0,0) rotateZ(360deg) scale3d(1,1,1);animation-timing-function:linear;-webkit-animation-timing-function:linear;-moz-animation-timing-function:linear}}@-webkit-keyframes gwd-gen-5qotgwdanimation_gwd-keyframes{0%{-webkit-transform:translate3d(0,0,0) rotateZ(0) scale3d(1,1,1);-webkit-animation-timing-function:cubic-bezier(1,0,.58,1)}12.5%{-webkit-transform:translate3d(0,200px,0) rotateZ(0) scale3d(1.2,.8,1);-webkit-animation-timing-function:cubic-bezier(.42,0,0,1)}25%{-webkit-transform:translate3d(0,0,0) rotateZ(0) scale3d(1,1,1);-webkit-animation-timing-function:cubic-bezier(1,0,.58,1)}37.5%{-webkit-transform:translate3d(0,200px,0) rotateZ(0) scale3d(1.2,.8,1);-webkit-animation-timing-function:cubic-bezier(.42,0,0,1)}50%{-webkit-transform:translate3d(0,0,0) rotateZ(0) scale3d(1,1,1);-webkit-animation-timing-function:cubic-bezier(1,0,.58,1)}62.5%{-webkit-transform:translate3d(0,200px,0) rotateZ(0) scale3d(1.2,.8,1);-webkit-animation-timing-function:cubic-bezier(.42,0,0,1)}75%{-webkit-transform:translate3d(0,0,0) rotateZ(0) scale3d(1,1,1);-webkit-animation-timing-function:cubic-bezier(1,0,.58,1)}87.5%{-webkit-transform:translate3d(0,200px,0) rotateZ(0) scale3d(1.2,.8,1);-webkit-animation-timing-function:cubic-bezier(.42,0,0,1)}100%{-webkit-transform:translate3d(0,0,0) rotateZ(360deg) scale3d(1,1,1);-webkit-animation-timing-function:linear}}@-moz-keyframes gwd-gen-5qotgwdanimation_gwd-keyframes{0%{-moz-transform:translate3d(0,0,0) rotateZ(0) scale3d(1,1,1);-moz-animation-timing-function:cubic-bezier(1,0,.58,1)}12.5%{-moz-transform:translate3d(0,200px,0) rotateZ(0) scale3d(1.2,.8,1);-moz-animation-timing-function:cubic-bezier(.42,0,0,1)}25%{-moz-transform:translate3d(0,0,0) rotateZ(0) scale3d(1,1,1);-moz-animation-timing-function:cubic-bezier(1,0,.58,1)}37.5%{-moz-transform:translate3d(0,200px,0) rotateZ(0) scale3d(1.2,.8,1);-moz-animation-timing-function:cubic-bezier(.42,0,0,1)}50%{-moz-transform:translate3d(0,0,0) rotateZ(0) scale3d(1,1,1);-moz-animation-timing-function:cubic-bezier(1,0,.58,1)}62.5%{-moz-transform:translate3d(0,200px,0) rotateZ(0) scale3d(1.2,.8,1);-moz-animation-timing-function:cubic-bezier(.42,0,0,1)}75%{-moz-transform:translate3d(0,0,0) rotateZ(0) scale3d(1,1,1);-moz-animation-timing-function:cubic-bezier(1,0,.58,1)}87.5%{-moz-transform:translate3d(0,200px,0) rotateZ(0) scale3d(1.2,.8,1);-moz-animation-timing-function:cubic-bezier(.42,0,0,1)}100%{-moz-transform:translate3d(0,0,0) rotateZ(360deg) scale3d(1,1,1);-moz-animation-timing-function:linear}}[data-gwd-group=SpinnerGroup] .gwd-gen-5qotgwdanimation{animation:gwd-gen-5qotgwdanimation_gwd-keyframes 4s linear 0s infinite normal forwards;-webkit-animation:gwd-gen-5qotgwdanimation_gwd-keyframes 4s linear 0s infinite normal forwards;-moz-animation:gwd-gen-5qotgwdanimation_gwd-keyframes 4s linear 0s infinite normal forwards}@keyframes gwd-gen-faadgwdanimation_gwd-keyframes{0%{opacity:.2;transform:scale3d(.5,.8,1);-webkit-transform:scale3d(.5,.8,1);-moz-transform:scale3d(.5,.8,1);animation-timing-function:cubic-bezier(1,0,.58,1);-webkit-animation-timing-function:cubic-bezier(1,0,.58,1);-moz-animation-timing-function:cubic-bezier(1,0,.58,1)}50%{opacity:.5;transform:scale3d(1,.8,1);-webkit-transform:scale3d(1,.8,1);-moz-transform:scale3d(1,.8,1);animation-timing-function:cubic-bezier(.42,0,0,1);-webkit-animation-timing-function:cubic-bezier(.42,0,0,1);-moz-animation-timing-function:cubic-bezier(.42,0,0,1)}100%{opacity:.2;transform:scale3d(.5,.8,1);-webkit-transform:scale3d(.5,.8,1);-moz-transform:scale3d(.5,.8,1);animation-timing-function:linear;-webkit-animation-timing-function:linear;-moz-animation-timing-function:linear}}@-webkit-keyframes gwd-gen-faadgwdanimation_gwd-keyframes{0%{opacity:.2;-webkit-transform:scale3d(.5,.8,1);-webkit-animation-timing-function:cubic-bezier(1,0,.58,1)}50%{opacity:.5;-webkit-transform:scale3d(1,.8,1);-webkit-animation-timing-function:cubic-bezier(.42,0,0,1)}100%{opacity:.2;-webkit-transform:scale3d(.5,.8,1);-webkit-animation-timing-function:linear}}@-moz-keyframes gwd-gen-faadgwdanimation_gwd-keyframes{0%{opacity:.2;-moz-transform:scale3d(.5,.8,1);-moz-animation-timing-function:cubic-bezier(1,0,.58,1)}50%{opacity:.5;-moz-transform:scale3d(1,.8,1);-moz-animation-timing-function:cubic-bezier(.42,0,0,1)}100%{opacity:.2;-moz-transform:scale3d(.5,.8,1);-moz-animation-timing-function:linear}}[data-gwd-group=SpinnerGroup] .gwd-gen-faadgwdanimation{animation:gwd-gen-faadgwdanimation_gwd-keyframes 1s linear 0s infinite normal forwards;-webkit-animation:gwd-gen-faadgwdanimation_gwd-keyframes 1s linear 0s infinite normal forwards;-moz-animation:gwd-gen-faadgwdanimation_gwd-keyframes 1s linear 0s infinite normal forwards}[data-gwd-group=SpinnerGroup] .gwd-grp-13td.gwd-img-1653{position:absolute;top:0;width:612px;height:568px;opacity:0;transform:translate3d(0,0,0);-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);left:0}[data-gwd-group=SpinnerGroup] .gwd-grp-13td.gwd-img-alsm{position:absolute;top:0;width:612px;height:568px;opacity:0;transform:translate3d(0,0,0);-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);left:0}[data-gwd-group=SpinnerGroup] .gwd-grp-13td.gwd-img-f0mu{position:absolute;top:0;width:612px;height:568px;opacity:0;transform:translate3d(0,0,0);-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);left:0}[data-gwd-group=SpinnerGroup] .gwd-grp-13td.gwd-img-1sr3{position:absolute;top:0;width:612px;height:568px;opacity:0;transform:translate3d(0,0,0);-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);left:0}[data-gwd-group=SpinnerGroup] .gwd-grp-13td.gwd-img-1ffn{position:absolute;top:0;width:612px;height:568px;opacity:0;transform:translate3d(0,0,0);-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);left:0}[data-gwd-group=SpinnerGroup] .gwd-grp-13td.gwd-img-16f3{position:absolute;top:0;width:612px;height:568px;opacity:0;transform:translate3d(0,0,0);-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);left:0}[data-gwd-group=SpinnerGroup] .gwd-grp-13td.gwd-img-1rrs{position:absolute;top:0;width:612px;height:568px;opacity:0;transform:translate3d(0,0,0);-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);left:0}[data-gwd-group=SpinnerGroup] .gwd-grp-13td.gwd-img-1dhi{position:absolute;transform-origin:283.711px 283.516px 0;-webkit-transform-origin:283.711px 283.516px 0;-moz-transform-origin:283.711px 283.516px 0;height:568px;width:568px;top:0;transform:translate3d(0,0,0) rotateZ(0) scale3d(1,1,1);-webkit-transform:translate3d(0,0,0) rotateZ(0) scale3d(1,1,1);-moz-transform:translate3d(0,0,0) rotateZ(0) scale3d(1,1,1);transform-style:preserve-3d;-webkit-transform-style:preserve-3d;-moz-transform-style:preserve-3d;left:0}[data-gwd-group=SpinnerGroup] .gwd-grp-13td.gwd-img-1izg{position:absolute;width:568px;height:604.02px;opacity:.2;transform-style:preserve-3d;-webkit-transform-style:preserve-3d;-moz-transform-style:preserve-3d;transform:scale3d(.5,.8,1);-webkit-transform:scale3d(.5,.8,1);-moz-transform:scale3d(.5,.8,1);top:55px;left:0}[data-gwd-group=SpinnerGroup]{width:611.979px;height:598.605px}.gwd-div-1v1s{transform:scale(.5,.5)}\n", document.head.appendChild(e)
3162
}
3163
}
3164
return t.prototype.setupEvents = function(t) {
3165
this.internalSDK = t
3166
}, t.prototype.hide = function() {
3167
this.hideElement(this.containerDiv), this.hideElement(this.progressContainer), this.hidePauseButton(), this.hideElement(this.startAdButton), this.containerDiv.classList.remove("pokiSdkOverlay"), this.progressBar.style.width = "0%"
3168
}, t.prototype.hideSpinner = function() {
3169
this.hideElement(this.spinnerContainer)
3170
}, t.prototype.showWithOpacity = function() {
3171
this.showElement(this.spinnerContainer), this.showElement(this.containerDiv), this.showElement(this.progressContainer)
3172
}, t.prototype.show = function() {
3173
this.containerDiv.classList.add("pokiSdkOverlay"), this.showElement(this.containerDiv), this.showElement(this.progressContainer)
3174
}, t.prototype.getVideoBounds = function() {
3175
return this.adContainer.getBoundingClientRect()
3176
}, t.prototype.getAdContainer = function() {
3177
return this.adContainer
3178
}, t.prototype.getVideoContainer = function() {
3179
return this.videoContainer
3180
}, t.prototype.showPauseButton = function() {
3181
this.showElement(this.pauseButton), this.internalSDK && this.pauseButton.addEventListener("click", this.internalSDK.resumeAd.bind(this.internalSDK))
3182
}, t.prototype.hidePauseButton = function() {
3183
this.hideElement(this.pauseButton), this.internalSDK && this.pauseButton.removeEventListener("click", this.internalSDK.resumeAd.bind(this.internalSDK))
3184
}, t.prototype.showStartAdButton = function() {
3185
this.showElement(this.startAdButton), this.internalSDK && this.startAdButton.addEventListener("click", this.internalSDK.startAdClicked.bind(this.internalSDK))
3186
}, t.prototype.hideStartAdButton = function() {
3187
this.hideElement(this.startAdButton), this.internalSDK && this.startAdButton.removeEventListener("click", this.internalSDK.startAdClicked.bind(this.internalSDK))
3188
}, t.prototype.createElements = function() {
3189
if (this.containerDiv = document.createElement("div"), this.insideContainer = document.createElement("div"), this.pauseButton = document.createElement("div"), this.startAdButton = document.createElement("div"), this.progressBar = document.createElement("div"), this.progressContainer = document.createElement("div"), this.spinnerContainer = document.createElement("div"), this.adContainer = document.createElement("div"), this.videoContainer = document.createElement("video"), this.adContainer.id = "pokiSDKAdContainer", this.videoContainer.id = "pokiSDKVideoContainer", this.containerDiv.className = "pokiSdkContainer", this.insideContainer.className = "pokiSdkInsideContainer", this.pauseButton.className = N, this.pauseButton.innerHTML = "Tap anywhere to ▶️", this.startAdButton.className = "pokiSdkStartAdButton", this.startAdButton.innerHTML = "Tap anywhere to play ad", this.progressBar.className = F, this.progressContainer.className = "pokiSdkProgressContainer", this.spinnerContainer.className = X, this.adContainer.className = "pokiSDKAdContainer", this.videoContainer.className = "pokiSdkVideoContainer", this.spinnerContainer.innerHTML = '\n\t\t\t<div id="new-progress-spinner" style="z-index:10;position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale3d(0.5, 0.5, 0.5);">\n\t\t\t\t<div class="gwd-div-1v1s" data-gwd-group="SpinnerGroup">\n\t\t\t\t\t<img src="https://game-cdn.poki.com/loaders/v2/static/spinner/Sparkle_1.svg" class="gwd-img-1653 gwd-gen-no02gwdanimation gwd-grp-13td" data-gwd-grp-id="Sparkle_1">\n\t\t\t\t\t<img src="https://game-cdn.poki.com/loaders/v2/static/spinner/Sparkle_2.svg" class="gwd-img-alsm gwd-gen-4pvrgwdanimation gwd-grp-13td" data-gwd-grp-id="Sparkle_2">\n\t\t\t\t\t<img src="https://game-cdn.poki.com/loaders/v2/static/spinner/Sparkle_3.svg" class="gwd-img-f0mu gwd-gen-kw40gwdanimation gwd-grp-13td" data-gwd-grp-id="Sparkle_3">\n\t\t\t\t\t<img src="https://game-cdn.poki.com/loaders/v2/static/spinner/Sparkle_4.svg" class="gwd-img-1sr3 gwd-gen-2uv8gwdanimation gwd-grp-13td" data-gwd-grp-id="Sparkle_4">\n\t\t\t\t\t<img src="https://game-cdn.poki.com/loaders/v2/static/spinner/Sparkle_5.svg" class="gwd-img-1ffn gwd-gen-1x97gwdanimation gwd-grp-13td" data-gwd-grp-id="Sparkle_5">\n\t\t\t\t\t<img src="https://game-cdn.poki.com/loaders/v2/static/spinner/Sparkle_6.svg" class="gwd-img-16f3 gwd-gen-1i1egwdanimation gwd-grp-13td" data-gwd-grp-id="Sparkle_6">\n\t\t\t\t\t<img src="https://game-cdn.poki.com/loaders/v2/static/spinner/Sparkle_7.svg" class="gwd-img-1rrs gwd-gen-1sapgwdanimation gwd-grp-13td" data-gwd-grp-id="Sparkle_7">\n\t\t\t\t\t<img src="https://game-cdn.poki.com/loaders/v2.0/static/hand_fingers_isolated.svg" class="gwd-img-1dhi gwd-gen-5qotgwdanimation gwd-grp-13td" data-gwd-grp-id="heart">\n\t\t\t\t\t<img src="https://game-cdn.poki.com/loaders/v2/static/spinner/shadow_new_3.svg" class="gwd-img-1izg gwd-gen-faadgwdanimation gwd-grp-13td" data-gwd-grp-id="shadow_new_3">\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t', this.hide(), this.videoContainer.setAttribute("playsinline", "playsinline"), this.videoContainer.setAttribute("muted", "muted"), this.containerDiv.appendChild(this.insideContainer), this.containerDiv.appendChild(this.spinnerContainer), this.insideContainer.appendChild(this.progressContainer), this.insideContainer.appendChild(this.videoContainer), this.insideContainer.appendChild(this.adContainer), this.containerDiv.appendChild(this.pauseButton), this.containerDiv.appendChild(this.startAdButton), this.progressContainer.appendChild(this.progressBar), this.wrapper.appendChild(this.containerDiv), this.wrapper === document.body) this.containerDiv.classList.add("pokiSdkFixed");
3190
else {
3191
var t = window.getComputedStyle(this.wrapper).position;
3192
t && -1 !== ["absolute", "fixed", "relative"].indexOf(t) || (this.wrapper.style.position = "relative")
3193
}
3194
}, t
3195
}(),
3196
H = !0,
3197
W = {};
3198
var V = ["AT", "BE", "BG", "HR", "CY", "CZ", "DK", "EE", "FI", "FR", "DE", "GR", "HU", "IE", "IT", "LV", "LT", "LU", "MT", "NL", "PL", "PT", "RO", "SK", "SI", "ES", "SE", "GB", "IS", "LI", "NO"],
3199
q = ["US"],
3200
K = ["ZZ"];
3201
3202
function J(t) {
3203
return V.includes(t)
3204
}
3205
3206
function Y(t) {
3207
return K.includes(t)
3208
}
3209
var $ = function(t, n, e, i) {
3210
return new(e || (e = Promise))((function(r, o) {
3211
function a(t) {
3212
try {
3213
d(i.next(t))
3214
} catch (t) {
3215
o(t)
3216
}
3217
}
3218
3219
function s(t) {
3220
try {
3221
d(i.throw(t))
3222
} catch (t) {
3223
o(t)
3224
}
3225
}
3226
3227
function d(t) {
3228
var n;
3229
t.done ? r(t.value) : (n = t.value, n instanceof e ? n : new e((function(t) {
3230
t(n)
3231
}))).then(a, s)
3232
}
3233
d((i = i.apply(t, n || [])).next())
3234
}))
3235
},
3236
tt = function(t, n) {
3237
var e, i, r, o, a = {
3238
label: 0,
3239
sent: function() {
3240
if (1 & r[0]) throw r[1];
3241
return r[1]
3242
},
3243
trys: [],
3244
ops: []
3245
};
3246
return o = {
3247
next: s(0),
3248
throw: s(1),
3249
return: s(2)
3250
}, "function" == typeof Symbol && (o[Symbol.iterator] = function() {
3251
return this
3252
}), o;
3253
3254
function s(o) {
3255
return function(s) {
3256
return function(o) {
3257
if (e) throw new TypeError("Generator is already executing.");
3258
for (; a;) try {
3259
if (e = 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;
3260
switch (i = 0, r && (o = [2 & o[0], r.value]), o[0]) {
3261
case 0:
3262
case 1:
3263
r = o;
3264
break;
3265
case 4:
3266
return a.label++, {
3267
value: o[1],
3268
done: !1
3269
};
3270
case 5:
3271
a.label++, i = o[1], o = [0];
3272
continue;
3273
case 7:
3274
o = a.ops.pop(), a.trys.pop();
3275
continue;
3276
default:
3277
if (!(r = a.trys, (r = r.length > 0 && r[r.length - 1]) || 6 !== o[0] && 2 !== o[0])) {
3278
a = 0;
3279
continue
3280
}
3281
if (3 === o[0] && (!r || o[1] > r[0] && o[1] < r[3])) {
3282
a.label = o[1];
3283
break
3284
}
3285
if (6 === o[0] && a.label < r[1]) {
3286
a.label = r[1], r = o;
3287
break
3288
}
3289
if (r && a.label < r[2]) {
3290
a.label = r[2], a.ops.push(o);
3291
break
3292
}
3293
r[2] && a.ops.pop(), a.trys.pop();
3294
continue
3295
}
3296
o = n.call(t, a)
3297
} catch (t) {
3298
o = [6, t], i = 0
3299
} finally {
3300
e = r = 0
3301
}
3302
if (5 & o[0]) throw o[1];
3303
return {
3304
value: o[0] ? o[1] : void 0,
3305
done: !0
3306
}
3307
}([o, s])
3308
}
3309
}
3310
},
3311
nt = function() {
3312
function t(t) {
3313
var n = this;
3314
this.bannerTimeout = null, this.allowedToPlayAd = !1, this.runningAd = !1, this.currentWidth = 640, this.currentHeight = 480, this.currentRequestIsMuted = !1, this.volume = 1, this.canWeAutoPlayWithSound = function() {
3315
return $(n, void 0, void 0, (function() {
3316
return tt(this, (function(t) {
3317
switch (t.label) {
3318
case 0:
3319
if (!this.blankVideo) return [2, !1];
3320
t.label = 1;
3321
case 1:
3322
return t.trys.push([1, 3, , 4]), [4, this.blankVideo.play()];
3323
case 2:
3324
return t.sent(), [2, !0];
3325
case 3:
3326
return t.sent(), [2, !1];
3327
case 4:
3328
return [2]
3329
}
3330
}))
3331
}))
3332
}, this.videoElement = document.getElementById("pokiSDKVideoContainer"), this.adsManager = null, this.volume = t, this.initAdDisplayContainer(), this.initBlankVideo(), this.initAdsLoader()
3333
}
3334
return t.prototype.initAdDisplayContainer = function() {
3335
this.adDisplayContainer || (this.adDisplayContainer = new google.ima.AdDisplayContainer(document.getElementById("pokiSDKAdContainer"), this.videoElement))
3336
}, t.prototype.initBlankVideo = function() {
3337
this.blankVideo = document.createElement("video"), this.blankVideo.setAttribute("playsinline", "playsinline");
3338
var t = document.createElement("source");
3339
t.src = "data:video/mp4;base64, AAAAHGZ0eXBNNFYgAAACAGlzb21pc28yYXZjMQAAAAhmcmVlAAAGF21kYXTeBAAAbGliZmFhYyAxLjI4AABCAJMgBDIARwAAArEGBf//rdxF6b3m2Ui3lizYINkj7u94MjY0IC0gY29yZSAxNDIgcjIgOTU2YzhkOCAtIEguMjY0L01QRUctNCBBVkMgY29kZWMgLSBDb3B5bGVmdCAyMDAzLTIwMTQgLSBodHRwOi8vd3d3LnZpZGVvbGFuLm9yZy94MjY0Lmh0bWwgLSBvcHRpb25zOiBjYWJhYz0wIHJlZj0zIGRlYmxvY2s9MTowOjAgYW5hbHlzZT0weDE6MHgxMTEgbWU9aGV4IHN1Ym1lPTcgcHN5PTEgcHN5X3JkPTEuMDA6MC4wMCBtaXhlZF9yZWY9MSBtZV9yYW5nZT0xNiBjaHJvbWFfbWU9MSB0cmVsbGlzPTEgOHg4ZGN0PTAgY3FtPTAgZGVhZHpvbmU9MjEsMTEgZmFzdF9wc2tpcD0xIGNocm9tYV9xcF9vZmZzZXQ9LTIgdGhyZWFkcz02IGxvb2thaGVhZF90aHJlYWRzPTEgc2xpY2VkX3RocmVhZHM9MCBucj0wIGRlY2ltYXRlPTEgaW50ZXJsYWNlZD0wIGJsdXJheV9jb21wYXQ9MCBjb25zdHJhaW5lZF9pbnRyYT0wIGJmcmFtZXM9MCB3ZWlnaHRwPTAga2V5aW50PTI1MCBrZXlpbnRfbWluPTI1IHNjZW5lY3V0PTQwIGludHJhX3JlZnJlc2g9MCByY19sb29rYWhlYWQ9NDAgcmM9Y3JmIG1idHJlZT0xIGNyZj0yMy4wIHFjb21wPTAuNjAgcXBtaW49MCBxcG1heD02OSBxcHN0ZXA9NCB2YnZfbWF4cmF0ZT03NjggdmJ2X2J1ZnNpemU9MzAwMCBjcmZfbWF4PTAuMCBuYWxfaHJkPW5vbmUgZmlsbGVyPTAgaXBfcmF0aW89MS40MCBhcT0xOjEuMDAAgAAAAFZliIQL8mKAAKvMnJycnJycnJycnXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXiEASZACGQAjgCEASZACGQAjgAAAAAdBmjgX4GSAIQBJkAIZACOAAAAAB0GaVAX4GSAhAEmQAhkAI4AhAEmQAhkAI4AAAAAGQZpgL8DJIQBJkAIZACOAIQBJkAIZACOAAAAABkGagC/AySEASZACGQAjgAAAAAZBmqAvwMkhAEmQAhkAI4AhAEmQAhkAI4AAAAAGQZrAL8DJIQBJkAIZACOAAAAABkGa4C/AySEASZACGQAjgCEASZACGQAjgAAAAAZBmwAvwMkhAEmQAhkAI4AAAAAGQZsgL8DJIQBJkAIZACOAIQBJkAIZACOAAAAABkGbQC/AySEASZACGQAjgCEASZACGQAjgAAAAAZBm2AvwMkhAEmQAhkAI4AAAAAGQZuAL8DJIQBJkAIZACOAIQBJkAIZACOAAAAABkGboC/AySEASZACGQAjgAAAAAZBm8AvwMkhAEmQAhkAI4AhAEmQAhkAI4AAAAAGQZvgL8DJIQBJkAIZACOAAAAABkGaAC/AySEASZACGQAjgCEASZACGQAjgAAAAAZBmiAvwMkhAEmQAhkAI4AhAEmQAhkAI4AAAAAGQZpAL8DJIQBJkAIZACOAAAAABkGaYC/AySEASZACGQAjgCEASZACGQAjgAAAAAZBmoAvwMkhAEmQAhkAI4AAAAAGQZqgL8DJIQBJkAIZACOAIQBJkAIZACOAAAAABkGawC/AySEASZACGQAjgAAAAAZBmuAvwMkhAEmQAhkAI4AhAEmQAhkAI4AAAAAGQZsAL8DJIQBJkAIZACOAAAAABkGbIC/AySEASZACGQAjgCEASZACGQAjgAAAAAZBm0AvwMkhAEmQAhkAI4AhAEmQAhkAI4AAAAAGQZtgL8DJIQBJkAIZACOAAAAABkGbgCvAySEASZACGQAjgCEASZACGQAjgAAAAAZBm6AnwMkhAEmQAhkAI4AhAEmQAhkAI4AhAEmQAhkAI4AhAEmQAhkAI4AAAAhubW9vdgAAAGxtdmhkAAAAAAAAAAAAAAAAAAAD6AAABDcAAQAAAQAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAwAAAzB0cmFrAAAAXHRraGQAAAADAAAAAAAAAAAAAAABAAAAAAAAA+kAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAABAAAAAALAAAACQAAAAAAAkZWR0cwAAABxlbHN0AAAAAAAAAAEAAAPpAAAAAAABAAAAAAKobWRpYQAAACBtZGhkAAAAAAAAAAAAAAAAAAB1MAAAdU5VxAAAAAAALWhkbHIAAAAAAAAAAHZpZGUAAAAAAAAAAAAAAABWaWRlb0hhbmRsZXIAAAACU21pbmYAAAAUdm1oZAAAAAEAAAAAAAAAAAAAACRkaW5mAAAAHGRyZWYAAAAAAAAAAQAAAAx1cmwgAAAAAQAAAhNzdGJsAAAAr3N0c2QAAAAAAAAAAQAAAJ9hdmMxAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAALAAkABIAAAASAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGP//AAAALWF2Y0MBQsAN/+EAFWdCwA3ZAsTsBEAAAPpAADqYA8UKkgEABWjLg8sgAAAAHHV1aWRraEDyXyRPxbo5pRvPAyPzAAAAAAAAABhzdHRzAAAAAAAAAAEAAAAeAAAD6QAAABRzdHNzAAAAAAAAAAEAAAABAAAAHHN0c2MAAAAAAAAAAQAAAAEAAAABAAAAAQAAAIxzdHN6AAAAAAAAAAAAAAAeAAADDwAAAAsAAAALAAAACgAAAAoAAAAKAAAACgAAAAoAAAAKAAAACgAAAAoAAAAKAAAACgAAAAoAAAAKAAAACgAAAAoAAAAKAAAACgAAAAoAAAAKAAAACgAAAAoAAAAKAAAACgAAAAoAAAAKAAAACgAAAAoAAAAKAAAAiHN0Y28AAAAAAAAAHgAAAEYAAANnAAADewAAA5gAAAO0AAADxwAAA+MAAAP2AAAEEgAABCUAAARBAAAEXQAABHAAAASMAAAEnwAABLsAAATOAAAE6gAABQYAAAUZAAAFNQAABUgAAAVkAAAFdwAABZMAAAWmAAAFwgAABd4AAAXxAAAGDQAABGh0cmFrAAAAXHRraGQAAAADAAAAAAAAAAAAAAACAAAAAAAABDcAAAAAAAAAAAAAAAEBAAAAAAEAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAkZWR0cwAAABxlbHN0AAAAAAAAAAEAAAQkAAADcAABAAAAAAPgbWRpYQAAACBtZGhkAAAAAAAAAAAAAAAAAAC7gAAAykBVxAAAAAAALWhkbHIAAAAAAAAAAHNvdW4AAAAAAAAAAAAAAABTb3VuZEhhbmRsZXIAAAADi21pbmYAAAAQc21oZAAAAAAAAAAAAAAAJGRpbmYAAAAcZHJlZgAAAAAAAAABAAAADHVybCAAAAABAAADT3N0YmwAAABnc3RzZAAAAAAAAAABAAAAV21wNGEAAAAAAAAAAQAAAAAAAAAAAAIAEAAAAAC7gAAAAAAAM2VzZHMAAAAAA4CAgCIAAgAEgICAFEAVBbjYAAu4AAAADcoFgICAAhGQBoCAgAECAAAAIHN0dHMAAAAAAAAAAgAAADIAAAQAAAAAAQAAAkAAAAFUc3RzYwAAAAAAAAAbAAAAAQAAAAEAAAABAAAAAgAAAAIAAAABAAAAAwAAAAEAAAABAAAABAAAAAIAAAABAAAABgAAAAEAAAABAAAABwAAAAIAAAABAAAACAAAAAEAAAABAAAACQAAAAIAAAABAAAACgAAAAEAAAABAAAACwAAAAIAAAABAAAADQAAAAEAAAABAAAADgAAAAIAAAABAAAADwAAAAEAAAABAAAAEAAAAAIAAAABAAAAEQAAAAEAAAABAAAAEgAAAAIAAAABAAAAFAAAAAEAAAABAAAAFQAAAAIAAAABAAAAFgAAAAEAAAABAAAAFwAAAAIAAAABAAAAGAAAAAEAAAABAAAAGQAAAAIAAAABAAAAGgAAAAEAAAABAAAAGwAAAAIAAAABAAAAHQAAAAEAAAABAAAAHgAAAAIAAAABAAAAHwAAAAQAAAABAAAA4HN0c3oAAAAAAAAAAAAAADMAAAAaAAAACQAAAAkAAAAJAAAACQAAAAkAAAAJAAAACQAAAAkAAAAJAAAACQAAAAkAAAAJAAAACQAAAAkAAAAJAAAACQAAAAkAAAAJAAAACQAAAAkAAAAJAAAACQAAAAkAAAAJAAAACQAAAAkAAAAJAAAACQAAAAkAAAAJAAAACQAAAAkAAAAJAAAACQAAAAkAAAAJAAAACQAAAAkAAAAJAAAACQAAAAkAAAAJAAAACQAAAAkAAAAJAAAACQAAAAkAAAAJAAAACQAAAAkAAACMc3RjbwAAAAAAAAAfAAAALAAAA1UAAANyAAADhgAAA6IAAAO+AAAD0QAAA+0AAAQAAAAEHAAABC8AAARLAAAEZwAABHoAAASWAAAEqQAABMUAAATYAAAE9AAABRAAAAUjAAAFPwAABVIAAAVuAAAFgQAABZ0AAAWwAAAFzAAABegAAAX7AAAGFwAAAGJ1ZHRhAAAAWm1ldGEAAAAAAAAAIWhkbHIAAAAAAAAAAG1kaXJhcHBsAAAAAAAAAAAAAAAALWlsc3QAAAAlqXRvbwAAAB1kYXRhAAAAAQAAAABMYXZmNTUuMzMuMTAw", this.blankVideo.appendChild(t)
3340
}, t.prototype.initAdsLoader = function() {
3341
var t = this;
3342
this.adsLoader || (this.adsLoader = new google.ima.AdsLoader(this.adDisplayContainer), this.adsLoader.getSettings().setVpaidMode(google.ima.ImaSdkSettings.VpaidMode.INSECURE), this.adsLoader.getSettings().setDisableCustomPlaybackForIOS10Plus(!0), this.adsLoader.addEventListener(google.ima.AdsManagerLoadedEvent.Type.ADS_MANAGER_LOADED, this.onAdsManagerLoaded, !1, this), this.adsLoader.addEventListener(google.ima.AdErrorEvent.Type.AD_ERROR, this.onAdLoaderError, !1, this), this.videoElement.addEventListener("onended", (function() {
3343
return t.adsLoader.contentComplete()
3344
})))
3345
}, t.prototype.requestAd = function(t) {
3346
return $(this, void 0, void 0, (function() {
3347
var n;
3348
return tt(this, (function(e) {
3349
switch (e.label) {
3350
case 0:
3351
return this.runningAd ? [2] : (this.runningAd = !0, this.adDisplayContainer.initialize(), this.videoElement.src = "", (n = new google.ima.AdsRequest).adTagUrl = t, n.linearAdSlotWidth = this.currentWidth, n.linearAdSlotHeight = this.currentHeight, n.nonLinearAdSlotWidth = this.currentWidth, n.nonLinearAdSlotHeight = this.currentHeight, n.forceNonLinearFullSlot = !0, [4, this.canWeAutoPlayWithSound()]);
3352
case 1:
3353
return e.sent() ? (n.setAdWillPlayMuted(!1), this.currentRequestIsMuted = !1) : (n.setAdWillPlayMuted(!0), this.currentRequestIsMuted = !0), this.allowedToPlayAd = !0, this.adsLoader.requestAds(n), [2]
3354
}
3355
}))
3356
}))
3357
}, t.prototype.resize = function(t, n, e) {
3358
void 0 === e && (e = google.ima.ViewMode.NORMAL), this.currentWidth = t, this.currentHeight = n, this.adsManager && this.adsManager.resize(t, n, e)
3359
}, t.prototype.onAdsManagerLoaded = function(t) {
3360
var n = new google.ima.AdsRenderingSettings;
3361
n.enablePreloading = !0, n.restoreCustomPlaybackStateOnAdBreakComplete = !0, n.mimeTypes = z() || E() || x() ? ["video/mp4"] : ["video/mp4", "video/webm", "video/ogg"], this.adsManager = t.getAdsManager(this.videoElement, n), this.adsManager.setVolume(Math.max(0, Math.min(1, this.volume))), this.currentRequestIsMuted && this.adsManager.setVolume(0), this.allowedToPlayAd ? (this.attachAdEvents(), f.dispatchEvent(A.ads.ready)) : this.tearDown()
3362
}, t.prototype.setVolume = function(t) {
3363
this.volume = t, this.adsManager && this.adsManager.setVolume(Math.max(0, Math.min(1, this.volume)))
3364
}, t.prototype.startPlayback = function() {
3365
try {
3366
this.adsManager.init(this.currentWidth, this.currentHeight, google.ima.ViewMode.NORMAL), this.adsManager.start()
3367
} catch (t) {
3368
this.videoElement.play()
3369
}
3370
}, t.prototype.startIOSPlayback = function() {
3371
this.adsManager.start()
3372
}, t.prototype.stopPlayback = function() {
3373
f.dispatchEvent(A.ads.stopped), this.tearDown()
3374
}, t.prototype.resumeAd = function() {
3375
f.dispatchEvent(A.ads.video.resumed), this.adsManager && this.adsManager.resume()
3376
}, t.prototype.tearDown = function() {
3377
this.adsManager && (this.adsManager.stop(), this.adsManager.destroy(), this.adsManager = null), null !== this.bannerTimeout && (clearTimeout(this.bannerTimeout), this.bannerTimeout = null), this.adsLoader && (this.adsLoader.contentComplete(), this.adsLoader.destroy(), this.adsLoader = null, this.initAdsLoader()), this.runningAd = !1
3378
}, t.prototype.attachAdEvents = function() {
3379
var t = this,
3380
n = google.ima.AdEvent.Type;
3381
this.adsManager.addEventListener(google.ima.AdErrorEvent.Type.AD_ERROR, this.onAdError, !1, this), [n.AD_PROGRESS, n.ALL_ADS_COMPLETED, n.CLICK, n.COMPLETE, n.IMPRESSION, n.PAUSED, n.SKIPPED, n.STARTED, n.USER_CLOSE, n.AD_BUFFERING].forEach((function(n) {
3382
t.adsManager.addEventListener(n, t.onAdEvent, !1, t)
3383
}))
3384
}, t.prototype.onAdEvent = function(t) {
3385
var n = this,
3386
e = t.getAd();
3387
switch (t.type) {
3388
case google.ima.AdEvent.Type.AD_PROGRESS:
3389
f.dispatchEvent(A.ads.video.progress, t.getAdData());
3390
break;
3391
case google.ima.AdEvent.Type.STARTED:
3392
t.remainingTime = this.adsManager.getRemainingTime(), t.remainingTime <= 0 && (t.remainingTime = 15), e.isLinear() || (this.bannerTimeout = window.setTimeout((function() {
3393
f.dispatchEvent(A.ads.completed, {
3394
rewardAllowed: !!t.rewardAllowed
3395
}), n.tearDown()
3396
}), 1e3 * (t.remainingTime + 1))), f.dispatchEvent(A.ads.started, {
3397
creativeId: e.getCreativeId(),
3398
adId: e.getAdId(),
3399
duration: e.getDuration()
3400
});
3401
break;
3402
case google.ima.AdEvent.Type.COMPLETE:
3403
f.dispatchEvent(A.ads.completed, {
3404
rewardAllowed: !0
3405
}), this.tearDown();
3406
break;
3407
case google.ima.AdEvent.Type.ALL_ADS_COMPLETED:
3408
case google.ima.AdEvent.Type.USER_CLOSE:
3409
this.tearDown();
3410
break;
3411
case google.ima.AdEvent.Type.PAUSED:
3412
this.adsManager.pause(), f.dispatchEvent(A.ads.video.paused);
3413
break;
3414
case google.ima.AdEvent.Type.AD_BUFFERING:
3415
f.dispatchEvent(A.ads.video.buffering);
3416
break;
3417
case google.ima.AdEvent.Type.CLICK:
3418
f.dispatchEvent(A.ads.video.clicked);
3419
break;
3420
case google.ima.AdEvent.Type.SKIPPED:
3421
f.dispatchEvent(A.ads.skipped), f.dispatchEvent(A.ads.completed), document.activeElement && document.activeElement.blur();
3422
break;
3423
case google.ima.AdEvent.Type.IMPRESSION:
3424
f.dispatchEvent(A.ads.impression, {
3425
userValueIndicator: Z(f.getDataAnnotations().position === A.ads.position.rewarded ? "rewarded" : "video")
3426
})
3427
}
3428
}, t.prototype.onAdLoaderError = function(t) {
3429
this.tearDown();
3430
var n = t.getError && t.getError().toString() || "Unknown";
3431
f.dispatchEvent(A.ads.video.loaderError, {
3432
message: n
3433
})
3434
}, t.prototype.onAdError = function(t) {
3435
this.tearDown();
3436
var n = t.getError && t.getError().toString() || "Unknown";
3437
f.dispatchEvent(A.ads.video.error, {
3438
message: n
3439
})
3440
}, t.prototype.muteAd = function() {
3441
void 0 !== this.adsManager && null != this.adsManager && this.adsManager.setVolume(0)
3442
}, t.prototype.isAdRunning = function() {
3443
return this.runningAd
3444
}, t
3445
}(),
3446
et = function(t) {
3447
return new Promise((function(n, e) {
3448
var i = document.createElement("script");
3449
i.type = "text/javascript", i.async = !0, i.src = t;
3450
var r = function() {
3451
i.readyState && "loaded" !== i.readyState && "complete" !== i.readyState || (n(), i.onload = null, i.onreadystatechange = null)
3452
};
3453
i.onload = r, i.onreadystatechange = r, i.onerror = e, document.head.appendChild(i)
3454
}))
3455
},
3456
it = function(t, n, e, i) {
3457
return new(e || (e = Promise))((function(r, o) {
3458
function a(t) {
3459
try {
3460
d(i.next(t))
3461
} catch (t) {
3462
o(t)
3463
}
3464
}
3465
3466
function s(t) {
3467
try {
3468
d(i.throw(t))
3469
} catch (t) {
3470
o(t)
3471
}
3472
}
3473
3474
function d(t) {
3475
var n;
3476
t.done ? r(t.value) : (n = t.value, n instanceof e ? n : new e((function(t) {
3477
t(n)
3478
}))).then(a, s)
3479
}
3480
d((i = i.apply(t, n || [])).next())
3481
}))
3482
},
3483
rt = function(t, n) {
3484
var e, i, r, o, a = {
3485
label: 0,
3486
sent: function() {
3487
if (1 & r[0]) throw r[1];
3488
return r[1]
3489
},
3490
trys: [],
3491
ops: []
3492
};
3493
return o = {
3494
next: s(0),
3495
throw: s(1),
3496
return: s(2)
3497
}, "function" == typeof Symbol && (o[Symbol.iterator] = function() {
3498
return this
3499
}), o;
3500
3501
function s(o) {
3502
return function(s) {
3503
return function(o) {
3504
if (e) throw new TypeError("Generator is already executing.");
3505
for (; a;) try {
3506
if (e = 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;
3507
switch (i = 0, r && (o = [2 & o[0], r.value]), o[0]) {
3508
case 0:
3509
case 1:
3510
r = o;
3511
break;
3512
case 4:
3513
return a.label++, {
3514
value: o[1],
3515
done: !1
3516
};
3517
case 5:
3518
a.label++, i = o[1], o = [0];
3519
continue;
3520
case 7:
3521
o = a.ops.pop(), a.trys.pop();
3522
continue;
3523
default:
3524
if (!(r = a.trys, (r = r.length > 0 && r[r.length - 1]) || 6 !== o[0] && 2 !== o[0])) {
3525
a = 0;
3526
continue
3527
}
3528
if (3 === o[0] && (!r || o[1] > r[0] && o[1] < r[3])) {
3529
a.label = o[1];
3530
break
3531
}
3532
if (6 === o[0] && a.label < r[1]) {
3533
a.label = r[1], r = o;
3534
break
3535
}
3536
if (r && a.label < r[2]) {
3537
a.label = r[2], a.ops.push(o);
3538
break
3539
}
3540
r[2] && a.ops.pop(), a.trys.pop();
3541
continue
3542
}
3543
o = n.call(t, a)
3544
} catch (t) {
3545
o = [6, t], i = 0
3546
} finally {
3547
e = r = 0
3548
}
3549
if (5 & o[0]) throw o[1];
3550
return {
3551
value: o[0] ? o[1] : void 0,
3552
done: !0
3553
}
3554
}([o, s])
3555
}
3556
}
3557
};
3558
var ot = function() {
3559
var t = window.location.pathname;
3560
"/" !== t[0] && (t = "/" + t);
3561
var n = encodeURIComponent(window.location.protocol + "//" + window.location.host + t + window.location.search),
3562
e = encodeURIComponent(document.referrer);
3563
return fetch("", {
3564
method: "GET",
3565
headers: {
3566
"Content-Type": "text/plain"
3567
}
3568
}).then((function(t) {
3569
return it(void 0, void 0, void 0, (function() {
3570
var n;
3571
return rt(this, (function(e) {
3572
switch (e.label) {
3573
case 0:
3574
return t.status >= 200 && t.status < 400 ? [4, t.json()] : [3, 2];
3575
case 1:
3576
return (n = e.sent()).game_id ? [2, {
3577
gameId: n.game_id,
3578
adTiming: {
3579
preroll: n.ad_settings.preroll,
3580
timePerTry: n.ad_settings.time_per_try,
3581
timeBetweenAds: n.ad_settings.time_between_ads,
3582
startAdsAfter: n.ad_settings.start_ads_after
3583
}
3584
}] : [2, void 0];
3585
case 2:
3586
throw t
3587
}
3588
}))
3589
}))
3590
})).catch((function(t) {
3591
return function(t) {
3592
return it(this, void 0, void 0, (function() {
3593
var n, e, i, r, o, a, s, d, c, u, l, A;
3594
return rt(this, (function(m) {
3595
switch (m.label) {
3596
case 0:
3597
return m.trys.push([0, 3, , 4]), "/" !== (n = window.location.pathname)[0] && (n = "/" + n), r = (i = JSON).stringify, o = {
3598
c: "sdk-p4d-error",
3599
ve: 7
3600
}, a = {
3601
k: "error"
3602
}, d = (s = JSON).stringify, c = {
3603
status: t.status
3604
}, (u = t.json) ? [4, t.json()] : [3, 2];
3605
case 1:
3606
u = m.sent(), m.label = 2;
3607
case 2:
3608
if (e = r.apply(i, [(o.d = [(a.v = d.apply(s, [(c.json = u, c.body = JSON.stringify({
3609
href: window.location.protocol + "//" + window.location.host + n + window.location.search
3610
}), c.name = t.name, c.message = t.message, c)]), a)], o)]), l = "", navigator.sendBeacon) navigator.sendBeacon(l, e);
3611
else try {
3612
(A = new XMLHttpRequest).open("POST", l, !0), A.send(e)
3613
} catch (t) {}
3614
return [3, 4];
3615
case 3:
3616
return m.sent(), [3, 4];
3617
case 4:
3618
return [2]
3619
}
3620
}))
3621
}))
3622
}(t)
3623
}))
3624
},
3625
at = function(t, n, e, i) {
3626
return new(e || (e = Promise))((function(r, o) {
3627
function a(t) {
3628
try {
3629
d(i.next(t))
3630
} catch (t) {
3631
o(t)
3632
}
3633
}
3634
3635
function s(t) {
3636
try {
3637
d(i.throw(t))
3638
} catch (t) {
3639
o(t)
3640
}
3641
}
3642
3643
function d(t) {
3644
var n;
3645
t.done ? r(t.value) : (n = t.value, n instanceof e ? n : new e((function(t) {
3646
t(n)
3647
}))).then(a, s)
3648
}
3649
d((i = i.apply(t, n || [])).next())
3650
}))
3651
},
3652
st = function(t, n) {
3653
var e, i, r, o, a = {
3654
label: 0,
3655
sent: function() {
3656
if (1 & r[0]) throw r[1];
3657
return r[1]
3658
},
3659
trys: [],
3660
ops: []
3661
};
3662
return o = {
3663
next: s(0),
3664
throw: s(1),
3665
return: s(2)
3666
}, "function" == typeof Symbol && (o[Symbol.iterator] = function() {
3667
return this
3668
}), o;
3669
3670
function s(o) {
3671
return function(s) {
3672
return function(o) {
3673
if (e) throw new TypeError("Generator is already executing.");
3674
for (; a;) try {
3675
if (e = 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;
3676
switch (i = 0, r && (o = [2 & o[0], r.value]), o[0]) {
3677
case 0:
3678
case 1:
3679
r = o;
3680
break;
3681
case 4:
3682
return a.label++, {
3683
value: o[1],
3684
done: !1
3685
};
3686
case 5:
3687
a.label++, i = o[1], o = [0];
3688
continue;
3689
case 7:
3690
o = a.ops.pop(), a.trys.pop();
3691
continue;
3692
default:
3693
if (!(r = a.trys, (r = r.length > 0 && r[r.length - 1]) || 6 !== o[0] && 2 !== o[0])) {
3694
a = 0;
3695
continue
3696
}
3697
if (3 === o[0] && (!r || o[1] > r[0] && o[1] < r[3])) {
3698
a.label = o[1];
3699
break
3700
}
3701
if (6 === o[0] && a.label < r[1]) {
3702
a.label = r[1], r = o;
3703
break
3704
}
3705
if (r && a.label < r[2]) {
3706
a.label = r[2], a.ops.push(o);
3707
break
3708
}
3709
r[2] && a.ops.pop(), a.trys.pop();
3710
continue
3711
}
3712
o = n.call(t, a)
3713
} catch (t) {
3714
o = [6, t], i = 0
3715
} finally {
3716
e = r = 0
3717
}
3718
if (5 & o[0]) throw o[1];
3719
return {
3720
value: o[0] ? o[1] : void 0,
3721
done: !0
3722
}
3723
}([o, s])
3724
}
3725
}
3726
};
3727
3728
function dt() {
3729
return at(this, void 0, Promise, (function() {
3730
var t;
3731
return st(this, (function(n) {
3732
switch (n.label) {
3733
case 0:
3734
return n.trys.push([0, 3, , 4]), [4, fetch("", {
3735
method: "GET",
3736
headers: {
3737
"Content-Type": "text/plain"
3738
}
3739
})];
3740
case 1:
3741
return [4, n.sent().json()];
3742
case 2:
3743
return [2, n.sent().ISO];
3744
case 3:
3745
return t = n.sent(), console.error(t), [2, "ZZ"];
3746
case 4:
3747
return [2]
3748
}
3749
}))
3750
}))
3751
}
3752
var ct = e(67),
3753
ut = function(t, n, e, i) {
3754
return new(e || (e = Promise))((function(r, o) {
3755
function a(t) {
3756
try {
3757
d(i.next(t))
3758
} catch (t) {
3759
o(t)
3760
}
3761
}
3762
3763
function s(t) {
3764
try {
3765
d(i.throw(t))
3766
} catch (t) {
3767
o(t)
3768
}
3769
}
3770
3771
function d(t) {
3772
var n;
3773
t.done ? r(t.value) : (n = t.value, n instanceof e ? n : new e((function(t) {
3774
t(n)
3775
}))).then(a, s)
3776
}
3777
d((i = i.apply(t, n || [])).next())
3778
}))
3779
},
3780
lt = function(t, n) {
3781
var e, i, r, o, a = {
3782
label: 0,
3783
sent: function() {
3784
if (1 & r[0]) throw r[1];
3785
return r[1]
3786
},
3787
trys: [],
3788
ops: []
3789
};
3790
return o = {
3791
next: s(0),
3792
throw: s(1),
3793
return: s(2)
3794
}, "function" == typeof Symbol && (o[Symbol.iterator] = function() {
3795
return this
3796
}), o;
3797
3798
function s(o) {
3799
return function(s) {
3800
return function(o) {
3801
if (e) throw new TypeError("Generator is already executing.");
3802
for (; a;) try {
3803
if (e = 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;
3804
switch (i = 0, r && (o = [2 & o[0], r.value]), o[0]) {
3805
case 0:
3806
case 1:
3807
r = o;
3808
break;
3809
case 4:
3810
return a.label++, {
3811
value: o[1],
3812
done: !1
3813
};
3814
case 5:
3815
a.label++, i = o[1], o = [0];
3816
continue;
3817
case 7:
3818
o = a.ops.pop(), a.trys.pop();
3819
continue;
3820
default:
3821
if (!(r = a.trys, (r = r.length > 0 && r[r.length - 1]) || 6 !== o[0] && 2 !== o[0])) {
3822
a = 0;
3823
continue
3824
}
3825
if (3 === o[0] && (!r || o[1] > r[0] && o[1] < r[3])) {
3826
a.label = o[1];
3827
break
3828
}
3829
if (6 === o[0] && a.label < r[1]) {
3830
a.label = r[1], r = o;
3831
break
3832
}
3833
if (r && a.label < r[2]) {
3834
a.label = r[2], a.ops.push(o);
3835
break
3836
}
3837
r[2] && a.ops.pop(), a.trys.pop();
3838
continue
3839
}
3840
o = n.call(t, a)
3841
} catch (t) {
3842
o = [6, t], i = 0
3843
} finally {
3844
e = r = 0
3845
}
3846
if (5 & o[0]) throw o[1];
3847
return {
3848
value: o[0] ? o[1] : void 0,
3849
done: !0
3850
}
3851
}([o, s])
3852
}
3853
}
3854
},
3855
At = !1,
3856
mt = function() {
3857
return ut(void 0, void 0, void 0, (function() {
3858
var t, n, e;
3859
return lt(this, (function(i) {
3860
switch (i.label) {
3861
case 0:
3862
if (At) return [2];
3863
i.label = 1;
3864
case 1:
3865
return i.trys.push([1, 4, , 5]), [4, fetch("./touchControllerConfig.json")];
3866
case 2:
3867
return [4, i.sent().json()];
3868
case 3:
3869
return (t = i.sent()) && ((n = document.createElement("script")).src = "//game-cdn.poki.com/scripts/touchOverlayController.js", n.onload = function() {
3870
new window.OverlayController(document.body, t)
3871
}, document.head.appendChild(n), At = !0), [3, 5];
3872
case 4:
3873
return e = i.sent(), console.log(e), [3, 5];
3874
case 5:
3875
return [2]
3876
}
3877
}))
3878
}))
3879
},
3880
ft = function() {
3881
for (var t = Math.floor(Date.now() / 1e3), n = "", e = 0; e < 4; e++) n = String.fromCharCode(255 & t) + n, t >>= 8;
3882
if (window.crypto && crypto.getRandomValues && Uint32Array) {
3883
var i = new Uint32Array(12);
3884
crypto.getRandomValues(i);
3885
for (e = 0; e < 12; e++) n += String.fromCharCode(255 & i[e])
3886
} else
3887
for (e = 0; e < 12; e++) n += String.fromCharCode(Math.floor(256 * Math.random()));
3888
return btoa(n).replace(/\+/g, "-").replace(/\//g, "_").replace(/=/g, "")
3889
},
3890
pt = !1,
3891
gt = new Map,
3892
ht = function(t) {
3893
if (!t) return null;
3894
for (var n = 0, e = Array.from(t.getElementsByClassName("poki-ad-slot")); n < e.length; n++) {
3895
var i = e[n],
3896
r = gt.get(i.id);
3897
if (r) return r.id
3898
}
3899
return null
3900
},
3901
wt = function(t, n) {
3902
var e = ht(t),
3903
i = gt.get(e || "") || null;
3904
if (i) {
3905
var r = n.split("x").map((function(t) {
3906
return parseInt(t, 10)
3907
})) || [0, 0];
3908
if (i.width === r[0] && i.height === r[1]) return i.id;
3909
yt(t)
3910
}
3911
var o = function(t) {
3912
var n = t.split("x").map((function(t) {
3913
return parseInt(t, 10)
3914
})),
3915
e = "/21682198607/debug-display/debug-display-" + t,
3916
i = "desktop";
3917
E() && (i = "mobile"), x() && (i = "tablet");
3918
var r = parseInt(T("site_id"), 10) || 0;
3919
return pt || (e = kt.GetIsPokiIFrame() ? "/21682198607/" + i + "_ingame_" + t + "/" + r + "_" + i + "_ingame_" + t : "/21682198607/external_" + i + "_display_ingame/external_" + i + "_ingame_" + t), {
3920
id: "poki-" + ft(),
3921
adUnitPath: e,
3922
size: t,
3923
width: n[0],
3924
height: n[1],
3925
refresh: !1
3926
}
3927
}(n);
3928
return gt.set(o.id, o), googletag.cmd.push((function() {
3929
var n = document.createElement("div");
3930
n.id = o.id, n.className = "poki-ad-slot", n.style.width = o.width + "px", n.style.height = o.height + "px", n.setAttribute("data-poki-ad-size", o.size), t.appendChild(n), t.setAttribute("data-poki-ad-id", o.id), o.gptSlot = googletag.defineSlot(o.adUnitPath, [o.width, o.height], o.id).addService(googletag.pubads()), googletag.enableServices(), gt.set(o.id, o)
3931
})), o.id
3932
},
3933
yt = function(t) {
3934
googletag.cmd.push((function() {
3935
var n, e = ht(t),
3936
i = gt.get(e || "") || null;
3937
i && i.gptSlot && (y.track(A.tracking.screen.destroyAd, {
3938
opportunityId: i.opportunityId
3939
}), googletag.destroySlots([i.gptSlot]), null === (n = t.querySelector("div#" + i.id)) || void 0 === n || n.remove(), t.removeAttribute("data-poki-ad-id"), gt.delete(i.id))
3940
}))
3941
},
3942
vt = function() {
3943
return (vt = Object.assign || function(t) {
3944
for (var n, e = 1, i = arguments.length; e < i; e++)
3945
for (var r in n = arguments[e]) Object.prototype.hasOwnProperty.call(n, r) && (t[r] = n[r]);
3946
return t
3947
}).apply(this, arguments)
3948
},
3949
bt = {
3950
gameId: T("game_id"),
3951
versionId: T("game_version_id")
3952
},
3953
kt = function() {
3954
function t() {
3955
this.autoStartOnReady = !1, this.criteria = {}, this.debugIsOverwritten = !1, this.handlers = {}, this.initializingPromise = null, this.isInitialized = !1, this.programmaticAdsEnabled = !0, this.sdkBooted = !1, this.sdkImaError = !1, this.startAdEnabled = !1, this.startStartAdsAfterTimerOnInit = !1, this.initOptions = {}, this.forceDisableCommercialBreak = !1, this.debug = !1, this.adReady = !1, this.debugTouchOverlayController = !1, this.setPlayerAge = function(t) {
3956
t && function(t, n) {
3957
if (H) try {
3958
localStorage.setItem(t, n)
3959
} catch (e) {
3960
H = !1, W[t] = n
3961
} else W[t] = n
3962
}("playerAge", t)
3963
}, this.toggleNonPersonalized = function(n) {
3964
t.nonPersonalized = n
3965
}, this.setConsentString = function(n) {
3966
t.consentString = n
3967
}, this.sdkNotBootedButCalled = function() {
3968
console.error("The Poki SDK has not yet been initialized")
3969
};
3970
var n = T("pokiDebug");
3971
"" !== n && (this.setDebug("true" === n), this.debugIsOverwritten = !0)
3972
}
3973
return t.prototype.init = function(t) {
3974
if (void 0 === t && (t = {}), "undefined" != typeof window) {
3975
var n = t.onReady,
3976
e = void 0 === n ? null : n,
3977
i = t.onAdblocked,
3978
r = void 0 === i ? null : i;
3979
return this.initOptions = t, e && this.registerHandler("onReady", e), r && this.registerHandler("onAdblocked", r), this.isInitialized ? console.error("Poki SDK has already been initialized") : (this.initializingPromise || (this.initializingPromise = this.lazyLoadInit()), this.initializingPromise)
3980
}
3981
}, t.prototype.lazyLoadInit = function() {
3982
var n, e = this,
3983
i = this.initOptions,
3984
r = i.adTagUrl,
3985
o = i.adTiming,
3986
a = void 0 === o ? {} : o,
3987
s = i.customCriteria,
3988
d = void 0 === s ? {} : s,
3989
c = i.debug,
3990
u = void 0 !== c && c,
3991
l = i.prebid,
3992
m = void 0 === l ? {} : l,
3993
p = i.a9,
3994
g = void 0 === p ? {} : p,
3995
h = i.volume,
3996
w = void 0 === h ? 1 : h,
3997
b = i.waterfallRetries,
3998
k = i.wrapper,
3999
S = void 0 === k ? document.body : k,
4000
z = parseInt(T("site_id"), 10) || 0;
4001
window.googletag = window.googletag || {
4002
cmd: []
4003
}, this.setupDefaultEvents(), y.setupDefaultEvents(), n = m, window.pbjs = window.pbjs || {}, window.pbjs.que = window.pbjs.que || [], window.pbjs.que.push((function() {
4004
window.pbjs.addAdUnits(n.adUnits || L), window.pbjs.setConfig(B(B({}, j), n.config)), window.pbjs.bidderSettings = {
4005
districtm: {
4006
bidCpmAdjustment: function(t) {
4007
return .85 * t
4008
}
4009
},
4010
richaudience: {
4011
bidCpmAdjustment: function(t) {
4012
return .9 * t
4013
}
4014
}
4015
}
4016
}));
4017
var C = vt({}, v);
4018
r ? (t.isPokiPlatform = !0, C = vt(vt({}, C), {
4019
adTagUrl: r,
4020
customCriteria: d,
4021
adTiming: a
4022
})) : t.isPokiPlatform = !1;
4023
var I = ot;
4024
(t.isPokiPlatform || this.debug) && (I = function() {
4025
return Promise.resolve()
4026
});
4027
var _ = dt,
4028
P = this.initOptions.country || T("country");
4029
return P && (_ = function() {
4030
return Promise.resolve(P)
4031
}), window.addEventListener("resize", this.resize.bind(this), !1), window.addEventListener("message", this.onMessage.bind(this), !1), this.debugIsOverwritten || this.setDebug(this.debug || u), this.debugTouchOverlayController && (E() || x()) && mt(), Promise.all([I(), _(),
4032
et(""),
4033
et(""),
4034
et(ct.a),
4035
et("")]).catch((function() {
4036
f.dispatchEvent(A.adblocked)
4037
})).then((function(n) {
4038
if (void 0 !== n) {
4039
var i = n[0],
4040
r = n[1],
4041
o = vt(vt({}, C), {
4042
country: r
4043
});
4044
if (i) {
4045
bt.gameId || (bt.gameId = i.gameId);
4046
["7fb1fd45-24ce-4ade-b5c4-9ee55ec99526"].includes(bt.gameId) && (E() || x()) && mt(), o.adTiming = i.adTiming, o.customCriteria = vt(vt({}, o.customCriteria), {
4047
p4d_game_id: bt.gameId
4048
})
4049
}
4050
e.debug && (o.adTiming.startAdsAfter = 0), e.enableSettings(o);
4051
var a = J(e.country);
4052
a && (t.GetIsPokiPlatform() || t.GetIsPokiIFrame()) && M(), e.playerSkin = new Q({
4053
wrapper: S
4054
}), e.ima = new nt(w), e.playerSkin.setupEvents(e), e.startStartAdsAfterTimerOnInit && e.adTimings.startStartAdsAfterTimer(), e.waterfall = new G(e.ima, {
4055
timing: e.adTimings,
4056
totalRetries: b,
4057
adTagUrl: o.adTagUrl,
4058
siteID: z
4059
}), window.googletag.cmd.push((function() {
4060
window.googletag.pubads().addEventListener("slotRenderEnded", (function(t) {
4061
var n = t.slot.getSlotElementId(),
4062
e = gt.get(n);
4063
e && e.gptSlot && y.track(A.tracking.ads.display.impression, {
4064
size: e.size,
4065
opportunityId: e.opportunityId,
4066
adUnitPath: e.adUnitPath
4067
})
4068
})), window.googletag.pubads().addEventListener("impressionViewable", (function(t) {
4069
var n = t.slot.getSlotElementId(),
4070
e = gt.get(n);
4071
e && e.gptSlot && y.track(A.tracking.ads.display.viewable, {
4072
size: e.size,
4073
opportunityId: e.opportunityId,
4074
adUnitPath: e.adUnitPath
4075
})
4076
}))
4077
})),
4078
function(t, n) {
4079
window.apstag && window.apstag.init(t.settings || B({
4080
pubID: "e32f1423-28bc-43ed-8ab0-5ae6b4449cf8",
4081
adServer: "googletag",
4082
videoAdServer: "DFP"
4083
}, n ? {
4084
gdpr: {
4085
cmpTimeout: 1e4
4086
}
4087
} : {}), (function() {
4088
R = !0, t.callback && t.callback()
4089
}))
4090
}(g, a), e.isInitialized = !0, f.dispatchEvent(A.ready)
4091
}
4092
}))
4093
}, t.prototype.requestAd = function(n) {
4094
var e = this;
4095
void 0 === n && (n = {});
4096
var i = function() {
4097
var i = n.autoStart,
4098
r = void 0 === i || i,
4099
o = n.customCriteria,
4100
a = void 0 === o ? {} : o,
4101
s = n.onFinish,
4102
d = void 0 === s ? null : s,
4103
c = n.onStart,
4104
u = void 0 === c ? null : c,
4105
l = n.position,
4106
m = void 0 === l ? null : l;
4107
if (e.autoStartOnReady = !1 !== r, d && e.registerHandler("onFinish", d), u && e.registerHandler("onStart", u), e.forceDisableCommercialBreak && [A.ads.position.midroll, A.ads.position.preroll].includes(m)) d && d();
4108
else {
4109
if (!e.sdkBooted) return f.dispatchEvent(A.ads.error, {
4110
message: "Requesting ad on unbooted SDK"
4111
}), void e.sdkNotBootedButCalled();
4112
if (e.sdkImaError) f.dispatchEvent(A.ads.error, {
4113
message: "Adblocker has been detected"
4114
});
4115
else if (!E() && !x() || m === A.ads.position.rewarded)
4116
if (null !== m && p(m, A.ads.position))
4117
if (e.ima.isAdRunning() || e.waterfall.isRunning()) f.dispatchEvent(A.ads.busy);
4118
else if (e.adReady) f.dispatchEvent(A.ads.ready);
4119
else if (m !== A.ads.position.preroll || e.adTimings.prerollPossible())
4120
if (m === A.ads.position.rewarded || e.adTimings.requestPossible()) {
4121
var g = vt(vt(vt({}, e.genericCriteria()), e.criteria), {
4122
position: m
4123
});
4124
(t.isPokiPlatform || m === A.ads.position.rewarded) && (g = vt(vt({}, g), a)), e.playerSkin.showWithOpacity(), e.resize(), e.waterfall.start(g, m)
4125
} else f.dispatchEvent(A.ads.limit, {
4126
reason: A.info.messages.timeLimit
4127
});
4128
else f.dispatchEvent(A.ads.limit, {
4129
reason: A.info.messages.prerollLimit
4130
});
4131
else console.error("POKI-SDK: Invalid position");
4132
else f.dispatchEvent(A.ads.error, {
4133
reason: "Interstitials are disabled on mobile"
4134
})
4135
}
4136
};
4137
this.isInitialized ? i() : this.lazyLoadInit().then(i)
4138
}, t.prototype.displayAd = function(t, n) {
4139
var e = this,
4140
i = function() {
4141
f.clearAnnotations();
4142
var i = ft(),
4143
r = A.ads.position.display;
4144
if (n) {
4145
if (!e.sdkBooted) return f.dispatchEvent(A.ads.error, {
4146
message: "Requesting ad on unbooted SDK",
4147
position: r
4148
}), void e.sdkNotBootedButCalled();
4149
if (t)
4150
if (e.sdkImaError) f.dispatchEvent(A.ads.error, {
4151
message: "Adblocker has been detected",
4152
position: r
4153
});
4154
else {
4155
if (! function(t) {
4156
return !!(E() || x() || ["970x250", "300x250", "728x90", "160x600", "320x50"].includes(t)) && !((E() || x()) && !["320x50"].includes(t))
4157
}(n)) return f.dispatchEvent(A.ads.error, {
4158
reason: "Display size " + n + " is not supported on this device",
4159
position: r
4160
});
4161
var o = vt(vt({}, e.genericCriteria()), e.criteria),
4162
a = wt(t, n);
4163
! function(t, n) {
4164
googletag.cmd.push((function() {
4165
var e, i = gt.get(t);
4166
i && i.gptSlot && (null === (e = i.gptSlot) || void 0 === e || e.clearTargeting(), Object.keys(n).forEach((function(t) {
4167
var e;
4168
null === (e = i.gptSlot) || void 0 === e || e.setTargeting(t, n[t])
4169
})))
4170
}))
4171
}(a, o),
4172
function(t, n) {
4173
googletag.cmd.push((function() {
4174
var e = gt.get(t);
4175
e && e.gptSlot && (e.opportunityId = n, y.track(A.tracking.ads.display.requested, {
4176
size: e.size,
4177
opportunityId: e.opportunityId,
4178
adUnitPath: e.adUnitPath
4179
}), e.refresh && e.gptSlot ? googletag.pubads().refresh([e.gptSlot]) : (googletag.display(e.id), e.refresh = !0, gt.set(e.id, e)))
4180
}))
4181
}(a, i)
4182
}
4183
else f.dispatchEvent(A.ads.error, {
4184
message: "Provided container does not exist",
4185
position: r
4186
})
4187
} else f.dispatchEvent(A.ads.error, {
4188
message: "No ad size given, usage: displayAd(<container>, <size>)",
4189
position: r
4190
})
4191
};
4192
this.isInitialized ? i() : this.lazyLoadInit().then(i)
4193
}, t.prototype.destroyAd = function(t) {
4194
var n = this,
4195
e = function() {
4196
if (!n.sdkBooted) return f.dispatchEvent(A.ads.displayError, {
4197
message: "Attempting destroyAd on unbooted SDK"
4198
}), void n.sdkNotBootedButCalled();
4199
n.sdkImaError ? f.dispatchEvent(A.ads.displayError, {
4200
message: "Adblocker has been detected"
4201
}) : (t = t || document.body, yt(t))
4202
};
4203
this.isInitialized ? e() : this.lazyLoadInit().then(e)
4204
}, t.prototype.startStartAdsAfterTimer = function() {
4205
this.sdkBooted && !this.sdkImaError ? this.adTimings.startStartAdsAfterTimer() : this.startStartAdsAfterTimerOnInit = !0
4206
}, t.prototype.enableSettings = function(t) {
4207
this.criteria = vt({}, t.customCriteria), this.adTimings = new k(t.adTiming), this.country = t.country
4208
}, t.prototype.togglePlayerAdvertisingConsent = function(t) {
4209
if (t) {
4210
var n, e = parseInt(function(t) {
4211
if (!H) return W[t];
4212
try {
4213
return localStorage.getItem(t)
4214
} catch (n) {
4215
return W[t]
4216
}
4217
}("playerAge"), 10) || 0,
4218
i = this.country,
4219
r = J(i),
4220
o = (n = i, q.includes(n)),
4221
a = Y(i);
4222
(r || o || Y) && (r && e <= 12 || o && e <= 16 || a && e <= 16) ? this.disableProgrammatic(): this.enableProgrammatic()
4223
} else this.disableProgrammatic()
4224
}, t.prototype.disableProgrammatic = function() {
4225
t.childDirected = !0, this.programmaticAdsEnabled = !1
4226
}, t.prototype.enableProgrammatic = function() {
4227
t.childDirected = !1, this.programmaticAdsEnabled = !0
4228
}, t.prototype.getProgrammaticAdsEnabled = function() {
4229
return this.programmaticAdsEnabled
4230
}, t.prototype.setDebug = function(t) {
4231
var n = this;
4232
this.debugIsOverwritten ? t && y.track(A.tracking.debugTrueInProduction) : (y.setDebug(t), f.setDebug(t), this.waterfall ? this.waterfall.setDebug(t) : f.addEventListener(A.ready, (function() {
4233
n.waterfall && n.waterfall.setDebug(t)
4234
})), pt = t, this.debug = t)
4235
}, t.prototype.resize = function() {
4236
var t = this;
4237
if (!this.sdkBooted) return this.sdkNotBootedButCalled();
4238
if (!this.sdkImaError) {
4239
var n = this.playerSkin.getVideoBounds();
4240
0 !== n.width && 0 !== n.height ? this.ima.resize(n.width, n.height) : setTimeout((function() {
4241
t.resize()
4242
}), 100)
4243
}
4244
}, t.prototype.onMessage = function(t) {
4245
if ("string" == typeof t.data.type) switch (t.data.type) {
4246
case "toggleNonPersonalized":
4247
this.toggleNonPersonalized(!(!t.data.content || !t.data.content.nonPersonalized));
4248
break;
4249
case "setPersonalizedADConsent":
4250
this.toggleNonPersonalized(!(t.data.content && t.data.content.consent)), this.setConsentString(t.data.content ? t.data.content.consentString : "");
4251
break;
4252
case "forceDisableCommercialBreak":
4253
this.forceDisableCommercialBreak = !0
4254
}
4255
}, t.prototype.startAd = function() {
4256
if (!this.sdkBooted) return this.sdkNotBootedButCalled();
4257
this.sdkImaError || (this.adReady ? (this.playerSkin.show(), this.resize(), this.ima.startPlayback()) : f.dispatchEvent(A.ads.error, {
4258
message: "No ads ready to start"
4259
}))
4260
}, t.prototype.startAdClicked = function() {
4261
"undefined" != typeof navigator && /(iPad|iPhone|iPod)/gi.test(navigator.userAgent) && this.startAdEnabled && (this.startAdEnabled = !1, this.playerSkin.hideStartAdButton(), this.ima.startIOSPlayback())
4262
}, t.prototype.stopAd = function() {
4263
if (!this.sdkBooted) return this.sdkNotBootedButCalled();
4264
this.sdkImaError || (this.waterfall.stopWaterfall(), this.ima.stopPlayback(), this.playerSkin.hide())
4265
}, t.prototype.resumeAd = function() {
4266
if (!this.sdkBooted) return this.sdkNotBootedButCalled();
4267
this.sdkImaError || (this.playerSkin.hidePauseButton(), this.ima.resumeAd())
4268
}, t.prototype.skipAd = function() {
4269
this.stopAd(), this.callHandler("onFinish", {
4270
type: A.ads.completed,
4271
rewardAllowed: !0
4272
})
4273
}, t.prototype.muteAd = function() {
4274
if (!this.sdkBooted) return this.sdkNotBootedButCalled();
4275
this.sdkImaError || this.ima.muteAd()
4276
}, t.prototype.registerHandler = function(t, n) {
4277
this.handlers[t] = n
4278
}, t.prototype.callHandler = function(t) {
4279
for (var n = [], e = 1; e < arguments.length; e++) n[e - 1] = arguments[e];
4280
"function" == typeof this.handlers[t] && this.handlers[t](n)
4281
}, t.prototype.setupDefaultEvents = function() {
4282
var t = this;
4283
f.addEventListener(A.ready, (function() {
4284
t.sdkBooted = !0, t.callHandler("onReady")
4285
})), f.addEventListener(A.adblocked, (function() {
4286
t.sdkBooted = !0, t.sdkImaError = !0, t.callHandler("onAdblocked")
4287
})), f.addEventListener(A.ads.ready, (function() {
4288
t.adReady = !0, t.autoStartOnReady && t.startAd()
4289
})), f.addEventListener(A.ads.started, (function() {
4290
t.playerSkin.hideSpinner(), t.callHandler("onStart", {
4291
type: A.ads.limit
4292
})
4293
})), f.addEventListener(A.ads.video.paused, (function() {
4294
t.playerSkin.showPauseButton()
4295
})), f.addEventListener(A.ads.limit, (function() {
4296
t.callHandler("onFinish", {
4297
type: A.ads.limit,
4298
rewardAllowed: !1
4299
})
4300
})), f.addEventListener(A.ads.stopped, (function() {
4301
t.callHandler("onFinish", {
4302
type: A.ads.stopped,
4303
rewardAllowed: !1
4304
})
4305
})), f.addEventListener(A.ads.error, (function() {
4306
t.callHandler("onFinish", {
4307
type: A.ads.error,
4308
rewardAllowed: !1
4309
})
4310
})), f.addEventListener(A.ads.busy, (function() {
4311
t.callHandler("onFinish", {
4312
type: A.ads.busy,
4313
rewardAllowed: !1
4314
})
4315
})), f.addEventListener(A.ads.completed, (function(n) {
4316
t.callHandler("onFinish", {
4317
type: A.ads.completed,
4318
rewardAllowed: !!n.rewardAllowed
4319
})
4320
})), [A.ads.limit, A.ads.stopped, A.ads.error, A.ads.busy, A.ads.completed].forEach((function(n) {
4321
f.addEventListener(n, (function() {
4322
t.playerSkin && t.playerSkin.hide(), t.adReady = !1
4323
}))
4324
}))
4325
}, t.prototype.genericCriteria = function() {
4326
var t = {},
4327
n = encodeURIComponent(T("tag") || ""),
4328
e = encodeURIComponent(T("site_id") || ""),
4329
i = encodeURIComponent(T("experiment") || ""),
4330
r = encodeURIComponent(T("categories") || "");
4331
return t.tag = n, t.tag_site = n + "|" + e, t.site_id = e, t.experiment = i, t.categories = r, this.programmaticAdsEnabled || (t.disable_programmatic = 1), t
4332
}, t.prototype.setVolume = function(t) {
4333
this.ima && this.ima.setVolume(t)
4334
}, t.GetIsPokiPlatform = function() {
4335
return t.isPokiPlatform
4336
}, t.GetIsPokiIFrame = function() {
4337
return (parseInt(T("site_id"), 10) || 0) > 0
4338
}, t.childDirected = !1, t.isPokiPlatform = !1, t.nonPersonalized = !1, t.consentString = "", t
4339
}();
4340
4341
function St(t) {
4342
switch (Object.prototype.toString.call(t)) {
4343
case "[object Error]":
4344
case "[object Exception]":
4345
case "[object DOMException]":
4346
return !0;
4347
default:
4348
return t instanceof Error
4349
}
4350
}
4351
var Et = document.location.hostname;
4352
Et.endsWith("poki-gdn.com") && (Et = "poki-gdn.com");
4353
var xt, Tt = Date.now(),
4354
zt = (xt = new RegExp("poki_erruid" + "=([^;]+)(?:;|$)").exec(document.cookie)) ? xt[1] : "";
4355
4356
function Ct(t) {
4357
if (bt.gameId && bt.versionId) {
4358
if (!(Date.now() < Tt)) {
4359
zt || function(t, n, e) {
4360
document.cookie = t + "=" + n + "; path=/; samesite=lax; max-age=" + (e || 63072e3) + "; domain=" + Et
4361
}("poki_erruid", zt = Math.random().toString(36).substr(2, 9));
4362
try {
4363
var n = JSON.stringify({
4364
gid: bt.gameId,
4365
vid: bt.versionId,
4366
ve: 7,
4367
n: t.name,
4368
m: t.message,
4369
s: JSON.stringify(t.stack),
4370
ui: zt
4371
}),
4372
e = "https://t.poki.io/ge";
4373
if (navigator.sendBeacon) navigator.sendBeacon(e, n);
4374
else {
4375
var i = new XMLHttpRequest;
4376
i.open("POST", e, !0), i.send(n)
4377
}
4378
Tt = Date.now() + 100
4379
} catch (t) {
4380
console.error(t)
4381
}
4382
}
4383
} else console.log(t)
4384
}
4385
4386
function It(t) {
4387
return "function" == typeof t
4388
}
4389
4390
function _t(t, n) {
4391
return Object.prototype.hasOwnProperty.call(t, n)
4392
}
4393
4394
function Bt(t, n, e) {
4395
if (null != t) {
4396
var i = t[n];
4397
i && i.__poki__ || (t[n] = e(i), t[n].__poki__ = !0, t[n].__orig__ = i)
4398
}
4399
}
4400
4401
function Pt(t) {
4402
if (!It(t)) return t;
4403
try {
4404
if (t.__poki__) return t;
4405
if (t.__poki_wrapper__) return t.__poki_wrapper__
4406
} catch (n) {
4407
return t
4408
}
4409
4410
function n() {
4411
for (var n = [], e = arguments.length; e--;) n[e] = Pt(arguments[e]);
4412
try {
4413
var i = t.apply(this, n);
4414
return window.pokiLastCatch = null, i
4415
} catch (t) {
4416
throw window.pokiLastCatch = t, t
4417
}
4418
}
4419
for (var e in t) _t(t, e) && (n[e] = t[e]);
4420
return n.prototype = t.prototype, t.__poki_wrapper__ = n, n.__poki__ = !0, n.__orig__ = t, n
4421
}
4422
4423
function Dt(t) {
4424
return function(n, e) {
4425
for (var i = new Array(arguments.length), r = 0; r < i.length; ++r) i[r] = arguments[r];
4426
var o = i[0];
4427
return It(o) && (i[0] = Pt(o)), t.apply ? t.apply(this, i) : t(i[0], i[1])
4428
}
4429
}
4430
if ("undefined" != typeof window) {
4431
l.a.remoteFetching = !1, l.a.report.subscribe((function(t) {
4432
if ("Script error." === t.message && window.pokiLastCatch) {
4433
var n = window.pokiLastCatch;
4434
window.pokiLastCatch = null, l.a.report(n)
4435
} else Ct(t)
4436
})), window.onunhandledrejection = function(t) {
4437
St(t.reason) ? l.a.report(t.reason) : Ct({
4438
name: "unhandledrejection",
4439
message: JSON.stringify(t.reason)
4440
})
4441
};
4442
"bd6bdd9e-33a9-11ea-a08a-acde48001122" === bt.gameId && (["EventTarget", "Window", "Node", "ApplicationCache", "AudioTrackList", "ChannelMergerNode", "CryptoOperation", "EventSource", "FileReader", "HTMLUnknownElement", "IDBDatabase", "IDBRequest", "IDBTransaction", "KeyOperation", "MediaController", "MessagePort", "ModalWindow", "Notification", "SVGElementInstance", "Screen", "TextTrack", "TextTrackCue", "TextTrackList", "WebSocket", "WebSocketWorker", "Worker", "XMLHttpRequest", "XMLHttpRequestEventTarget", "XMLHttpRequestUpload"].forEach((function(t) {
4443
return n = t, void((e = window[n] && window[n].prototype) && e.hasOwnProperty && e.hasOwnProperty("addEventListener") && (Bt(e, "addEventListener", (function(t) {
4444
return function(n, e, i, r) {
4445
try {
4446
e && e.handleEvent && (e.handleEvent = Pt(e.handleEvent))
4447
} catch (t) {}
4448
return t.call(this, n, Pt(e), i, r)
4449
}
4450
})), Bt(e, "removeEventListener", (function(t) {
4451
return function(n, e, i, r) {
4452
try {
4453
e = e && (e.__poki_wrapper__ ? e.__poki_wrapper__ : e)
4454
} catch (t) {}
4455
return t.call(this, n, e, i, r)
4456
}
4457
}))));
4458
var n, e
4459
})), Bt(window, "setTimeout", Dt), Bt(window, "setInterval", Dt), void 0 !== window.requestAnimationFrame && Bt(window, "requestAnimationFrame", (function(t) {
4460
return function(n) {
4461
return t(Pt(n))
4462
}
4463
})))
4464
}
4465
var Lt = function() {
4466
return (Lt = Object.assign || function(t) {
4467
for (var n, e = 1, i = arguments.length; e < i; e++)
4468
for (var r in n = arguments[e]) Object.prototype.hasOwnProperty.call(n, r) && (t[r] = n[r]);
4469
return t
4470
}).apply(this, arguments)
4471
},
4472
Ot = new(function() {
4473
function t() {
4474
var t = this;
4475
this.gameStarted = !1, this.SDK = new kt, this.gameplayStartCounter = 0, this.gameplayStopCounter = 0, this.init = function(n) {
4476
return void 0 === n && (n = {}), new Promise((function(e, i) {
4477
n && n.adTagUrl && window && (window.__InternalSDK = t.SDK), t.SDK.init(Lt({
4478
onReady: e,
4479
onAdblocked: i
4480
}, n)), g.sendMessage(A.message.sdkDetails, {
4481
version: "2.150.0"
4482
})
4483
}))
4484
}, this.initWithVideoHB = function() {
4485
return t.init()
4486
}, this.gameLoadingProgress = function(t) {
4487
var n = {};
4488
void 0 !== t.percentageDone && (n.percentageDone = Number(t.percentageDone)), void 0 !== t.kbLoaded && (n.kbLoaded = Number(t.kbLoaded)), void 0 !== t.kbTotal && (n.kbTotal = Number(t.kbTotal)), void 0 !== t.fileNameLoaded && (n.fileNameLoaded = String(t.fileNameLoaded)), void 0 !== t.filesLoaded && (n.filesLoaded = Number(t.filesLoaded)), void 0 !== t.filesTotal && (n.filesTotal = Number(t.filesTotal)), y.track(A.tracking.screen.gameLoadingProgress, n)
4489
}, this.gameLoadingStart = function() {
4490
y.track(A.tracking.screen.gameLoadingStarted)
4491
}, this.gameLoadingFinished = function() {
4492
y.track(A.tracking.screen.gameLoadingFinished)
4493
}, this.gameplayStart = function(n) {
4494
t.gameplayStartCounter++, t.gameStarted || (t.gameStarted = !0, y.track(A.tracking.screen.firstRound), t.SDK.startStartAdsAfterTimer()), y.track(A.tracking.screen.gameplayStart, Lt(Lt({}, n), {
4495
playId: t.gameplayStartCounter
4496
}))
4497
}, this.gameInteractive = function() {
4498
y.track(A.tracking.screen.gameInteractive)
4499
}, this.gameplayStop = function(n) {
4500
t.gameplayStopCounter++, y.track(A.tracking.screen.gameplayStop, Lt(Lt({}, n), {
4501
playId: t.gameplayStartCounter,
4502
stopId: t.gameplayStopCounter
4503
}))
4504
}, this.roundStart = function(t) {
4505
void 0 === t && (t = ""), t = String(t), y.track(A.tracking.screen.roundStart, {
4506
identifier: t
4507
})
4508
}, this.roundEnd = function(t) {
4509
void 0 === t && (t = ""), t = String(t), y.track(A.tracking.screen.roundEnd, {
4510
identifier: t
4511
})
4512
}, this.customEvent = function(n, e, i) {
4513
void 0 === i && (i = {}), n && e ? (n = String(n), e = String(e), i = Lt({}, i), y.track(A.tracking.custom, {
4514
eventNoun: n,
4515
eventVerb: e,
4516
eventData: i
4517
})) : t.error("customEvent", "customEvent needs at least a noun and a verb")
4518
}, this.commercialBreak = function() {
4519
return new Promise((function(n) {
4520
var e = t.gameStarted ? A.ads.position.midroll : A.ads.position.preroll;
4521
f.clearAnnotations(), f.setDataAnnotations({
4522
opportunityId: ft(),
4523
position: e
4524
}), y.track(A.tracking.screen.commercialBreak), t.SDK.requestAd({
4525
position: e,
4526
onFinish: n
4527
})
4528
}))
4529
}, this.rewardedBreak = function() {
4530
return new Promise((function(n) {
4531
var e = A.ads.position.rewarded;
4532
f.clearAnnotations(), f.setDataAnnotations({
4533
opportunityId: ft(),
4534
position: e
4535
}), y.track(A.tracking.screen.rewardedBreak), t.SDK.requestAd({
4536
position: e,
4537
onFinish: function(t) {
4538
t.length > 0 ? n(t[0].rewardAllowed) : n(!1)
4539
}
4540
})
4541
}))
4542
}, this.happyTime = function(n) {
4543
void 0 === n && (n = 1), ((n = Number(n)) < 0 || n > 1) && (n = Math.max(0, Math.min(1, n)), t.warning("happyTime", "Intensity should be a value between 0 and 1, adjusted to " + n)), y.track(A.tracking.screen.happyTime, {
4544
intensity: n
4545
})
4546
}, this.muteAd = function() {
4547
t.SDK.muteAd()
4548
}, this.setPlayerAge = function(n) {
4549
y.track(A.tracking.setPlayerAge, {
4550
age: n
4551
}), n && t.SDK.setPlayerAge(n)
4552
}, this.togglePlayerAdvertisingConsent = function(n) {
4553
y.track(A.tracking.togglePlayerAdvertisingConsent, {
4554
didConsent: n
4555
}), t.SDK.togglePlayerAdvertisingConsent(n), g.sendMessage(A.message.toggleProgrammaticAds, {
4556
enabled: t.SDK.getProgrammaticAdsEnabled()
4557
})
4558
}, this.logError = function(t) {
4559
St(t) ? u.report(t) : Ct({
4560
name: "logError",
4561
message: JSON.stringify(t)
4562
})
4563
}, this.sendHighscore = function() {}, this.setDebugTouchOverlayController = function(n) {
4564
t.SDK.debugTouchOverlayController = n
4565
}, this.getLeaderboard = function() {
4566
return Promise.resolve([])
4567
}, this.warning = function(t, n) {
4568
console.warn("PokiSDK." + t + ": " + n)
4569
}, this.error = function(t, n) {
4570
console.error("PokiSDK." + t + ": " + n)
4571
}
4572
}
4573
return t.prototype.setDebug = function(t) {
4574
void 0 === t && (t = !0), this.SDK.setDebug(t)
4575
}, t.prototype.disableProgrammatic = function() {
4576
this.SDK.disableProgrammatic()
4577
}, t.prototype.toggleNonPersonalized = function(t) {
4578
void 0 === t && (t = !1), this.SDK.toggleNonPersonalized(t)
4579
}, t.prototype.setConsentString = function(t) {
4580
this.SDK.setConsentString(t)
4581
}, t.prototype.displayAd = function(t, n) {
4582
y.track(A.tracking.screen.displayAd, {
4583
size: n
4584
}), this.SDK.displayAd(t, n)
4585
}, t.prototype.destroyAd = function(t) {
4586
this.SDK.destroyAd(t)
4587
}, t.prototype.setVolume = function(t) {
4588
this.SDK.setVolume(t)
4589
}, t
4590
}());
4591
for (var jt in Ot) window.PokiSDK[jt] = Ot[jt]
4592
}]);
4593
4594