@jolibox/ads 1.1.50 → 1.1.52-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +679 -649
  2. package/package.json +4 -4
package/dist/index.js CHANGED
@@ -1,39 +1,39 @@
1
- var kt = Object.getOwnPropertySymbols;
2
- var Ni = Object.prototype.hasOwnProperty, Mi = Object.prototype.propertyIsEnumerable;
3
- var It = (t, e) => {
1
+ var It = Object.getOwnPropertySymbols;
2
+ var Mi = Object.prototype.hasOwnProperty, $i = Object.prototype.propertyIsEnumerable;
3
+ var Rt = (t, e) => {
4
4
  var i = {};
5
5
  for (var n in t)
6
- Ni.call(t, n) && e.indexOf(n) < 0 && (i[n] = t[n]);
7
- if (t != null && kt)
8
- for (var n of kt(t))
9
- e.indexOf(n) < 0 && Mi.call(t, n) && (i[n] = t[n]);
6
+ Mi.call(t, n) && e.indexOf(n) < 0 && (i[n] = t[n]);
7
+ if (t != null && It)
8
+ for (var n of It(t))
9
+ e.indexOf(n) < 0 && $i.call(t, n) && (i[n] = t[n]);
10
10
  return i;
11
11
  };
12
- import { options as fe, Component as $i, isValidElement as ji } from "preact";
13
- import { useRef as Fi, useLayoutEffect as Ui, useEffect as We, useMemo as Bi, useState as Xt, useCallback as Vi, render as oe, createRef as Rt } from "preact/compat";
14
- var Qt = Object.defineProperty, Gi = Object.defineProperties, qi = Object.getOwnPropertyDescriptors, xt = Object.getOwnPropertySymbols, Ki = Object.prototype.hasOwnProperty, zi = Object.prototype.propertyIsEnumerable, Ot = (t, e, i) => e in t ? Qt(t, e, {
12
+ import { options as ve, Component as ji, isValidElement as Bi } from "preact";
13
+ import { useRef as Fi, useLayoutEffect as Ui, useEffect as Je, useMemo as Vi, useState as Qt, useCallback as Gi, render as oe, createRef as xt } from "preact/compat";
14
+ var Zt = Object.defineProperty, qi = Object.defineProperties, Ki = Object.getOwnPropertyDescriptors, Ot = Object.getOwnPropertySymbols, zi = Object.prototype.hasOwnProperty, Hi = Object.prototype.propertyIsEnumerable, Tt = (t, e, i) => e in t ? Zt(t, e, {
15
15
  enumerable: !0,
16
16
  configurable: !0,
17
17
  writable: !0,
18
18
  value: i
19
- }) : t[e] = i, Hi = (t, e) => {
19
+ }) : t[e] = i, Wi = (t, e) => {
20
20
  for (var i in e || (e = {}))
21
- Ki.call(e, i) && Ot(t, i, e[i]);
22
- if (xt)
23
- for (var i of xt(e))
24
- zi.call(e, i) && Ot(t, i, e[i]);
21
+ zi.call(e, i) && Tt(t, i, e[i]);
22
+ if (Ot)
23
+ for (var i of Ot(e))
24
+ Hi.call(e, i) && Tt(t, i, e[i]);
25
25
  return t;
26
- }, Wi = (t, e) => Gi(t, qi(e)), Ji = (t, e) => {
26
+ }, Ji = (t, e) => qi(t, Ki(e)), Yi = (t, e) => {
27
27
  for (var i in e)
28
- Qt(t, i, {
28
+ Zt(t, i, {
29
29
  get: e[i],
30
30
  enumerable: !0
31
31
  });
32
- }, Zt = (t, e, i, n) => {
32
+ }, ei = (t, e, i, n) => {
33
33
  for (var r = e, o = t.length - 1, s; o >= 0; o--)
34
34
  (s = t[o]) && (r = s(r) || r);
35
35
  return r;
36
- }, Yi = (t, e, i) => new Promise((n, r) => {
36
+ }, Xi = (t, e, i) => new Promise((n, r) => {
37
37
  var o = (d) => {
38
38
  try {
39
39
  a(i.next(d));
@@ -78,26 +78,26 @@ if (typeof window != "undefined" && !window.AbortController) {
78
78
  n.call(this, i);
79
79
  }, window.AbortController = t, window.AbortSignal = e;
80
80
  }
81
- function Xi(t) {
81
+ function Qi(t) {
82
82
  return new Promise((e) => {
83
83
  setTimeout(() => {
84
84
  e();
85
85
  }, t);
86
86
  });
87
87
  }
88
- function Qi(t) {
89
- return typeof t == "string";
90
- }
91
88
  function Zi(t) {
92
- return typeof t == "undefined";
89
+ return typeof t == "string";
93
90
  }
94
91
  function en(t) {
95
- return Zi(t) || t === null;
92
+ return typeof t == "undefined";
96
93
  }
97
94
  function tn(t) {
95
+ return en(t) || t === null;
96
+ }
97
+ function nn(t) {
98
98
  return typeof t == "function";
99
99
  }
100
- function ei(t) {
100
+ function ti(t) {
101
101
  let e = t, i = null, n = function() {
102
102
  for (var r = arguments.length, o = new Array(r), s = 0; s < r; s++)
103
103
  o[s] = arguments[s];
@@ -105,29 +105,29 @@ function ei(t) {
105
105
  };
106
106
  return n.prototype = e.prototype, n;
107
107
  }
108
- var nn = ((t) => (t[t.DEVELOPER_FILE_NOT_FOUND = 0] = "DEVELOPER_FILE_NOT_FOUND", t[t.INTERNAL_IOS_CAN_NOT_FOUND_PKG = 1] = "INTERNAL_IOS_CAN_NOT_FOUND_PKG", t[t.USER_IOS_LOAD_TIMEOUT = 2] = "USER_IOS_LOAD_TIMEOUT", t[t.INTERNAL_IOS_PKG_LOAD_ERROR = 3] = "INTERNAL_IOS_PKG_LOAD_ERROR", t[t.INTERNAL_IOS_PKG_PARSE_FAIL = 4] = "INTERNAL_IOS_PKG_PARSE_FAIL", t[t.USER_IOS_GET_EMPTY_DATA = 5] = "USER_IOS_GET_EMPTY_DATA", t[t.USER_ANDROID_GET_PKG_FAIL = 6] = "USER_ANDROID_GET_PKG_FAIL", t[t.DEVELOPER_ANDROID_PACKAGE_FILE_UNEXPECTED_REQUIRE = 7] = "DEVELOPER_ANDROID_PACKAGE_FILE_UNEXPECTED_REQUIRE", t))(nn || {});
109
- function be(t) {
108
+ var rn = ((t) => (t[t.DEVELOPER_FILE_NOT_FOUND = 0] = "DEVELOPER_FILE_NOT_FOUND", t[t.INTERNAL_IOS_CAN_NOT_FOUND_PKG = 1] = "INTERNAL_IOS_CAN_NOT_FOUND_PKG", t[t.USER_IOS_LOAD_TIMEOUT = 2] = "USER_IOS_LOAD_TIMEOUT", t[t.INTERNAL_IOS_PKG_LOAD_ERROR = 3] = "INTERNAL_IOS_PKG_LOAD_ERROR", t[t.INTERNAL_IOS_PKG_PARSE_FAIL = 4] = "INTERNAL_IOS_PKG_PARSE_FAIL", t[t.USER_IOS_GET_EMPTY_DATA = 5] = "USER_IOS_GET_EMPTY_DATA", t[t.USER_ANDROID_GET_PKG_FAIL = 6] = "USER_ANDROID_GET_PKG_FAIL", t[t.DEVELOPER_ANDROID_PACKAGE_FILE_UNEXPECTED_REQUIRE = 7] = "DEVELOPER_ANDROID_PACKAGE_FILE_UNEXPECTED_REQUIRE", t))(rn || {});
109
+ function Ae(t) {
110
110
  return function() {
111
111
  var e, i;
112
112
  ((i = (e = globalThis.VConsole) == null ? void 0 : e[t]) != null ? i : globalThis.console[t])(...arguments);
113
113
  };
114
114
  }
115
- var rn = {
116
- log: be("log"),
117
- warn: be("warn"),
118
- info: be("info"),
119
- error: be("error"),
120
- debug: be("debug")
115
+ var on = {
116
+ log: Ae("log"),
117
+ warn: Ae("warn"),
118
+ info: Ae("info"),
119
+ error: Ae("error"),
120
+ debug: Ae("debug")
121
121
  };
122
122
  Object.assign(globalThis, {
123
- logger: rn
123
+ logger: on
124
124
  });
125
- var Tt = Symbol.for("Jolibox.canIUseMap"), on = {};
126
- globalThis[Tt] || (globalThis[Tt] = on);
127
- var Ct = Symbol.for("Jolibox.canIUseMap.native"), sn = {};
125
+ var Ct = Symbol.for("Jolibox.canIUseMap"), sn = {};
128
126
  globalThis[Ct] || (globalThis[Ct] = sn);
129
- var ti = ((t) => (t[t.Other = 0] = "Other", t[t.Route = 1] = "Route", t[t.Click = 2] = "Click", t[t.View = 3] = "View", t[t.Expose = 4] = "Expose", t[t.Swipe = 5] = "Swipe", t[t.Input = 6] = "Input", t[t.Select = 7] = "Select", t[t.SwitchOn = 8] = "SwitchOn", t[t.SwitchOff = 9] = "SwitchOff", t[t.Submit = 10] = "Submit", t[t.Scroll = 11] = "Scroll", t[t.Hide = 12] = "Hide", t[t.System = 1e3] = "System", t[t.ErrorTrace = 1001] = "ErrorTrace", t[t.UserDefined = 1002] = "UserDefined", t))(ti || {}), ii = ((t) => (t.MiniGame = "mini-game", t.MiniDrama = "mini-drama", t.App = "app", t.WebSDK = "web-sdk", t.AppSDK = "app-sdk", t))(ii || {}), ni = ((t) => (t[t.App = 0] = "App", t[t.H5 = 1] = "H5", t[t.Weapp = 2] = "Weapp", t[t.Alipay = 3] = "Alipay", t[t.Gcash = 4] = "Gcash", t[t.Dana = 5] = "Dana", t[t.Umma = 6] = "Umma", t[t.WebSDK = 1e3] = "WebSDK", t[t.AppSDK = 1001] = "AppSDK", t[t.Other = 9999] = "Other", t))(ni || {}), Dt = ["name", "params"], an = ["name", "type", "location", "target", "extra", "timestamp", "userId"], dn = ["platform", "os", "appVersion", "appId", "model", "brand", "uuid", "jsSdkVersion", "extra"];
130
- function $e(t, e) {
127
+ var Dt = Symbol.for("Jolibox.canIUseMap.native"), an = {};
128
+ globalThis[Dt] || (globalThis[Dt] = an);
129
+ var ii = ((t) => (t[t.Other = 0] = "Other", t[t.Route = 1] = "Route", t[t.Click = 2] = "Click", t[t.View = 3] = "View", t[t.Expose = 4] = "Expose", t[t.Swipe = 5] = "Swipe", t[t.Input = 6] = "Input", t[t.Select = 7] = "Select", t[t.SwitchOn = 8] = "SwitchOn", t[t.SwitchOff = 9] = "SwitchOff", t[t.Submit = 10] = "Submit", t[t.Scroll = 11] = "Scroll", t[t.Hide = 12] = "Hide", t[t.System = 1e3] = "System", t[t.ErrorTrace = 1001] = "ErrorTrace", t[t.UserDefined = 1002] = "UserDefined", t))(ii || {}), ni = ((t) => (t.MiniGame = "mini-game", t.MiniDrama = "mini-drama", t.App = "app", t.WebSDK = "web-sdk", t.AppSDK = "app-sdk", t))(ni || {}), ri = ((t) => (t[t.App = 0] = "App", t[t.H5 = 1] = "H5", t[t.Weapp = 2] = "Weapp", t[t.Alipay = 3] = "Alipay", t[t.Gcash = 4] = "Gcash", t[t.Dana = 5] = "Dana", t[t.Umma = 6] = "Umma", t[t.WebSDK = 1e3] = "WebSDK", t[t.AppSDK = 1001] = "AppSDK", t[t.Other = 9999] = "Other", t))(ri || {}), Lt = ["name", "params"], dn = ["name", "type", "location", "target", "extra", "timestamp", "userId"], ln = ["platform", "os", "appVersion", "appId", "model", "brand", "uuid", "jsSdkVersion", "extra"];
130
+ function je(t, e) {
131
131
  return e.map((i) => {
132
132
  if (i === "params" && t[i]) {
133
133
  let n = t[i];
@@ -136,18 +136,18 @@ function $e(t, e) {
136
136
  return t[i];
137
137
  });
138
138
  }
139
- function ln(t) {
140
- let e = t.location ? $e(t.location, Dt) : null, i = t.target ? $e(t.target, Dt) : null;
141
- return $e(Wi(Hi({}, t), {
139
+ function un(t) {
140
+ let e = t.location ? je(t.location, Lt) : null, i = t.target ? je(t.target, Lt) : null;
141
+ return je(Ji(Wi({}, t), {
142
142
  location: e,
143
143
  target: i
144
- }), an);
144
+ }), dn);
145
145
  }
146
- function un(t) {
147
- let e = t.events.map((n) => ln(n)), i = $e(t.device, dn);
146
+ function cn(t) {
147
+ let e = t.events.map((n) => un(n)), i = je(t.device, ln);
148
148
  return [t.protocolVersion, e, i, t.project];
149
149
  }
150
- function cn() {
150
+ function hn() {
151
151
  if (typeof window == "undefined")
152
152
  return {
153
153
  getItem: () => null,
@@ -180,16 +180,16 @@ function cn() {
180
180
  return console.warn("Failed to get original localStorage, fallback to default implementation", t), localStorage;
181
181
  }
182
182
  }
183
- cn();
184
- var ue = typeof window == "undefined", st = () => !ue && !!(navigator.userAgent || "").includes("JoliboxPlatformSDK");
185
- !ue && (navigator.userAgent.includes("iPhone") || navigator.userAgent.includes("iPod") || navigator.userAgent.includes("iPad") || navigator.userAgent.includes("iPhone OS")), !ue && navigator.userAgent.includes("Android"), !ue && navigator.userAgent.includes("Mac"), !ue && navigator.userAgent.includes("FB_IAB"), !ue && !navigator.userAgent.includes("iPhone") && navigator.userAgent.includes("Android");
186
- var at = class dt {
183
+ hn();
184
+ var ce = typeof window == "undefined", at = () => !ce && !!(navigator.userAgent || "").includes("JoliboxPlatformSDK");
185
+ !ce && (navigator.userAgent.includes("iPhone") || navigator.userAgent.includes("iPod") || navigator.userAgent.includes("iPad") || navigator.userAgent.includes("iPhone OS")), !ce && navigator.userAgent.includes("Android"), !ce && navigator.userAgent.includes("Mac"), !ce && navigator.userAgent.includes("FB_IAB"), !ce && !navigator.userAgent.includes("iPhone") && navigator.userAgent.includes("Android");
186
+ var dt = class lt {
187
187
  constructor(e) {
188
- this.element = e, this.next = dt.Undefined, this.prev = dt.Undefined;
188
+ this.element = e, this.next = lt.Undefined, this.prev = lt.Undefined;
189
189
  }
190
190
  };
191
- at.Undefined = new at(void 0);
192
- var x = at, hn = class {
191
+ dt.Undefined = new dt(void 0);
192
+ var x = dt, fn = class {
193
193
  constructor() {
194
194
  this._first = x.Undefined, this._last = x.Undefined, this._size = 0;
195
195
  }
@@ -255,17 +255,17 @@ var x = at, hn = class {
255
255
  for (; t !== x.Undefined; )
256
256
  yield t.element, t = t.next;
257
257
  }
258
- }, fn = 0, Ae = class {
258
+ }, vn = 0, _e = class {
259
259
  constructor(t) {
260
- this.value = t, this.id = fn++;
260
+ this.value = t, this.id = vn++;
261
261
  }
262
- }, Ee = class {
262
+ }, ke = class {
263
263
  constructor(e) {
264
264
  this.options = e, this._size = 0;
265
265
  }
266
266
  dispose(e) {
267
267
  var i, n;
268
- this._disposed || (this._disposed = !0, this._listeners && (e ? (this._listeners instanceof Ae && (this._listeners = [this._listeners]), this._listeners = this._listeners.filter((r) => (r == null ? void 0 : r.value) === e)) : (this._listeners = void 0, this._size = 0)), (n = (i = this.options) == null ? void 0 : i.onDidRemoveLastListener) == null || n.call(i));
268
+ this._disposed || (this._disposed = !0, this._listeners && (e ? (this._listeners instanceof _e && (this._listeners = [this._listeners]), this._listeners = this._listeners.filter((r) => (r == null ? void 0 : r.value) === e)) : (this._listeners = void 0, this._size = 0)), (n = (i = this.options) == null ? void 0 : i.onDidRemoveLastListener) == null || n.call(i));
269
269
  }
270
270
  get event() {
271
271
  return this._event != null || (this._event = (e, i) => {
@@ -275,11 +275,11 @@ var x = at, hn = class {
275
275
  console.info("[Jolibox SDK] Emitter is _disposed");
276
276
  };
277
277
  i && (e = e.bind(i));
278
- let l = new Ae(e);
279
- return this._listeners ? this._listeners instanceof Ae ? this._listeners = [this._listeners, l] : this._listeners.push(l) : ((r = (n = this.options) == null ? void 0 : n.onWillAddFirstListener) == null || r.call(n, this), this._listeners = l, (s = (o = this.options) == null ? void 0 : o.onDidFirstListener) == null || s.call(o, this)), (d = (a = this.options) == null ? void 0 : a.onDidAddListener) == null || d.call(a, this), this._size++, () => {
278
+ let l = new _e(e);
279
+ return this._listeners ? this._listeners instanceof _e ? this._listeners = [this._listeners, l] : this._listeners.push(l) : ((r = (n = this.options) == null ? void 0 : n.onWillAddFirstListener) == null || r.call(n, this), this._listeners = l, (s = (o = this.options) == null ? void 0 : o.onDidFirstListener) == null || s.call(o, this)), (d = (a = this.options) == null ? void 0 : a.onDidAddListener) == null || d.call(a, this), this._size++, () => {
280
280
  var u, h, c, f;
281
281
  if (!this._disposed) {
282
- if (this._listeners instanceof Ae)
282
+ if (this._listeners instanceof _e)
283
283
  this._listeners.id === l.id && (this._listeners = void 0, this._size = 0, (h = (u = this.options) == null ? void 0 : u.onDidRemoveLastListener) == null || h.call(u));
284
284
  else if (this._listeners) {
285
285
  let w = this._listeners.indexOf(l);
@@ -305,19 +305,19 @@ var x = at, hn = class {
305
305
  }
306
306
  }
307
307
  fire(e) {
308
- this._listeners && (this._listeners instanceof Ae ? this._deliver(this._listeners, e) : this._listeners.forEach((i) => this._deliver(i, e)));
308
+ this._listeners && (this._listeners instanceof _e ? this._deliver(this._listeners, e) : this._listeners.forEach((i) => this._deliver(i, e)));
309
309
  }
310
310
  hasListeners() {
311
311
  return this._size > 0;
312
312
  }
313
- }, vn = class {
313
+ }, gn = class {
314
314
  constructor() {
315
315
  this.listeners = /* @__PURE__ */ new Map(), this.listerHandlerMap = /* @__PURE__ */ new WeakMap(), this.cachedEventQueue = /* @__PURE__ */ new Map();
316
316
  }
317
317
  on(t, e) {
318
318
  let i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0;
319
319
  var n;
320
- let r = (n = this.listeners.get(t)) != null ? n : new Ee(), o = (d) => e(...d.args), s = r.event(o);
320
+ let r = (n = this.listeners.get(t)) != null ? n : new ke(), o = (d) => e(...d.args), s = r.event(o);
321
321
  this.listerHandlerMap.set(e, {
322
322
  handler: o,
323
323
  dispose: s
@@ -338,7 +338,7 @@ var x = at, hn = class {
338
338
  let e = this.listeners.get(t), i = this.cachedEventQueue.get(t);
339
339
  for (var n = arguments.length, r = new Array(n > 1 ? n - 1 : 0), o = 1; o < n; o++)
340
340
  r[o - 1] = arguments[o];
341
- i || (i = new hn(), this.cachedEventQueue.set(t, i)), i.push({
341
+ i || (i = new fn(), this.cachedEventQueue.set(t, i)), i.push({
342
342
  args: r
343
343
  }), e && e.fire({
344
344
  event: t,
@@ -352,20 +352,20 @@ var x = at, hn = class {
352
352
  };
353
353
  this.on(t, n, !1);
354
354
  }
355
- }, lt = {};
356
- Ji(lt, {
357
- None: () => gn,
358
- filter: () => wn,
359
- once: () => ri,
360
- toPromise: () => yn
355
+ }, ut = {};
356
+ Yi(ut, {
357
+ None: () => yn,
358
+ filter: () => pn,
359
+ once: () => oi,
360
+ toPromise: () => wn
361
361
  });
362
- var gn = () => (console.log("[Jolibox SDK] None Event"), () => {
362
+ var yn = () => (console.log("[Jolibox SDK] None Event"), () => {
363
363
  console.log("[Jolibox SDK] None Event dispose");
364
364
  });
365
- function yn(t) {
366
- return new Promise((e) => ri(t)(e));
365
+ function wn(t) {
366
+ return new Promise((e) => oi(t)(e));
367
367
  }
368
- function ri(t) {
368
+ function oi(t) {
369
369
  return function(e) {
370
370
  let i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null, n = !1;
371
371
  return t((r) => {
@@ -374,52 +374,52 @@ function ri(t) {
374
374
  }, null);
375
375
  };
376
376
  }
377
- function wn(t, e) {
377
+ function pn(t, e) {
378
378
  return ((i) => {
379
379
  let n = {
380
380
  onWillAddFirstListener() {
381
381
  i(r.fire, r);
382
382
  }
383
- }, r = new Ee(n);
383
+ }, r = new ke(n);
384
384
  return r.event;
385
385
  })(function(i) {
386
386
  let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null;
387
387
  return t((r) => e(r) && i.call(n, r), null);
388
388
  });
389
389
  }
390
- var Ze = Symbol.for("Jolibox.hostEmitter"), pn = () => {
391
- let t = new vn();
392
- return globalThis[Ze] || (globalThis[Ze] = {
390
+ var et = Symbol.for("Jolibox.hostEmitter"), bn = () => {
391
+ let t = new gn();
392
+ return globalThis[et] || (globalThis[et] = {
393
393
  on: t.on.bind(t),
394
394
  off: t.off.bind(t),
395
395
  emit: t.emit.bind(t),
396
396
  once: t.once.bind(t)
397
- }), globalThis[Ze];
397
+ }), globalThis[et];
398
398
  };
399
- pn();
400
- function bn(t, e) {
399
+ bn();
400
+ function An(t, e) {
401
401
  let i = Math.min(t.length, e.length);
402
402
  for (let n = 0; n < i; n++)
403
- An(t[n], e[n]);
403
+ _n(t[n], e[n]);
404
404
  }
405
- function An(t, e) {
406
- if (Qi(e)) {
405
+ function _n(t, e) {
406
+ if (Zi(e)) {
407
407
  if (typeof t !== e)
408
408
  throw new Error(`argument does not match constraint: typeof ${e}`);
409
- } else if (tn(e)) {
409
+ } else if (nn(e)) {
410
410
  try {
411
411
  if (t instanceof e)
412
412
  return;
413
413
  } catch (i) {
414
414
  }
415
- if (!en(t) && t.constructor === e || e.length === 1 && e.call(void 0, t) === !0)
415
+ if (!tn(t) && t.constructor === e || e.length === 1 && e.call(void 0, t) === !0)
416
416
  return;
417
417
  throw new Error("[Jolibox SDK]argument does not match one of these constraints: arg instanceof constraint, arg.constructor === constraint, nor constraint(arg) === true");
418
418
  }
419
419
  }
420
- var ut = class {
420
+ var ct = class {
421
421
  constructor() {
422
- this._commands = /* @__PURE__ */ new Map(), this._onDidRegisterCommand = new Ee(), this.onDidRegisterCommand = this._onDidRegisterCommand.event, console.log("[Jolibox SDK] command registry");
422
+ this._commands = /* @__PURE__ */ new Map(), this._onDidRegisterCommand = new ke(), this.onDidRegisterCommand = this._onDidRegisterCommand.event, console.log("[Jolibox SDK] command registry");
423
423
  }
424
424
  registerCommand(e) {
425
425
  if (!e)
@@ -432,7 +432,7 @@ var ut = class {
432
432
  e.handler = function() {
433
433
  for (var o = arguments.length, s = new Array(o), a = 0; a < o; a++)
434
434
  s[a] = arguments[a];
435
- return bn(s, n), r(...s);
435
+ return An(s, n), r(...s);
436
436
  };
437
437
  }
438
438
  let {
@@ -452,19 +452,19 @@ var ut = class {
452
452
  return e;
453
453
  }
454
454
  };
455
- ut = Zt([ei], ut);
456
- var Lt = class {
455
+ ct = ei([ti], ct);
456
+ var Pt = class {
457
457
  constructor() {
458
- this._onWillExecuteCommand = new Ee(), this.onWillExecuteCommand = this._onWillExecuteCommand.event, this._onDidExecuteCommand = new Ee(), this.onDidExecuteCommand = this._onDidExecuteCommand.event, this.registry = new ut(), this._starActivation = null;
458
+ this._onWillExecuteCommand = new ke(), this.onWillExecuteCommand = this._onWillExecuteCommand.event, this._onDidExecuteCommand = new ke(), this.onDidExecuteCommand = this._onDidExecuteCommand.event, this.registry = new ct(), this._starActivation = null;
459
459
  }
460
460
  _activateStar() {
461
- return this._starActivation || (this._starActivation = Xi(3e4)), this._starActivation;
461
+ return this._starActivation || (this._starActivation = Qi(3e4)), this._starActivation;
462
462
  }
463
463
  executeCommand(e) {
464
464
  for (var i = arguments.length, n = new Array(i > 1 ? i - 1 : 0), r = 1; r < i; r++)
465
465
  n[r - 1] = arguments[r];
466
- return Yi(this, null, function* () {
467
- return this.registry.getCommand(e) ? this._tryExecuteCommand(e, n) : (yield Promise.all([Promise.race([this._activateStar(), lt.toPromise(lt.filter(this.registry.onDidRegisterCommand, (o) => o === e))])]), this._tryExecuteCommand(e, n));
466
+ return Xi(this, null, function* () {
467
+ return this.registry.getCommand(e) ? this._tryExecuteCommand(e, n) : (yield Promise.all([Promise.race([this._activateStar(), ut.toPromise(ut.filter(this.registry.onDidRegisterCommand, (o) => o === e))])]), this._tryExecuteCommand(e, n));
468
468
  });
469
469
  }
470
470
  executeCommandThowErr(e) {
@@ -510,15 +510,15 @@ var Lt = class {
510
510
  }
511
511
  }
512
512
  };
513
- Lt = Zt([ei], Lt);
514
- function B(t, e, i) {
515
- return (e = _n(e)) in t ? Object.defineProperty(t, e, { value: i, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = i, t;
513
+ Pt = ei([ti], Pt);
514
+ function U(t, e, i) {
515
+ return (e = mn(e)) in t ? Object.defineProperty(t, e, { value: i, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = i, t;
516
516
  }
517
- function _n(t) {
518
- var e = mn(t, "string");
517
+ function mn(t) {
518
+ var e = Sn(t, "string");
519
519
  return typeof e == "symbol" ? e : e + "";
520
520
  }
521
- function mn(t, e) {
521
+ function Sn(t, e) {
522
522
  if (typeof t != "object" || !t)
523
523
  return t;
524
524
  var i = t[Symbol.toPrimitive];
@@ -530,22 +530,35 @@ function mn(t, e) {
530
530
  }
531
531
  return (e === "string" ? String : Number)(t);
532
532
  }
533
- class Sn {
533
+ const ae = (t) => t ? function() {
534
+ try {
535
+ for (var e = arguments.length, i = new Array(e), n = 0; n < e; n++)
536
+ i[n] = arguments[n];
537
+ t == null || t(i);
538
+ } catch (r) {
539
+ console.error("Error calling function", r);
540
+ }
541
+ } : () => {
542
+ console.log("wrapUserFunction: fn is undefined");
543
+ };
544
+ class En {
534
545
  constructor(e) {
535
- B(this, "context", void 0), B(this, "continueCallback", void 0), B(this, "adIsShowingCallback", void 0), B(this, "isBeforeAdCalled", !1), B(this, "isBeforeRewardCalled", !1), B(this, "isAdDismissedCalled", !1), B(this, "isAdViewedCalled", !1), B(this, "isAfterAdCalled", !1), B(this, "currentProvider", void 0), B(this, "currentClientParams", void 0), B(this, "adsHasResponse", !1), B(this, "videoChecker", window.document.createElement("video")), B(this, "contextInfo", void 0), B(this, "wrapShowAdFn", (i) => () => {
536
- var r, o, s;
546
+ U(this, "context", void 0), U(this, "continueCallback", void 0), U(this, "adIsShowingCallback", void 0), U(this, "isBeforeAdCalled", !1), U(this, "isBeforeRewardCalled", !1), U(this, "isAdDismissedCalled", !1), U(this, "isAdViewedCalled", !1), U(this, "isAfterAdCalled", !1), U(this, "currentProvider", void 0), U(this, "currentClientParams", void 0), U(this, "adsHasResponse", !1), U(this, "videoChecker", window.document.createElement("video")), U(this, "contextInfo", void 0), U(this, "wrapShowAdFn", (i) => () => {
547
+ var o, s, a;
537
548
  this.adsHasResponse = !0;
538
549
  let n = !1;
539
550
  this.videoChecker.play().catch(() => {
540
551
  n = !1;
541
552
  }), n = !this.videoChecker.paused, this.videoChecker.pause(), this.context.track("CallShowAdFn", Object.assign({}, {
542
553
  userEvent: n
543
- }, this.paramsToTrack)), st() && this.context.track("mmp_ad_impression", {
544
- ad_network: (o = (r = this.currentProvider) == null ? void 0 : r.name) != null ? o : "",
554
+ }, this.paramsToTrack)), at() && this.context.track("mmp_ad_impression", {
555
+ ad_network: (s = (o = this.currentProvider) == null ? void 0 : o.name) != null ? s : "",
545
556
  ad_format: "rewarded",
546
557
  module: "game",
547
558
  game_id: this.contextInfo.objectId
548
- }), (s = this.adIsShowingCallback) == null || s.call(this, !0), i();
559
+ }), (a = this.adIsShowingCallback) == null || a.call(this, !0);
560
+ const r = ae(i);
561
+ r == null || r();
549
562
  }), this.context = e, this.contextInfo = e.getContextInfo();
550
563
  }
551
564
  get paramsToTrack() {
@@ -559,12 +572,16 @@ class Sn {
559
572
  wrapBeforeAd(e) {
560
573
  return () => {
561
574
  var i, n, r, o;
562
- this.adsHasResponse = !0, this.context.track("CallBeforeAd", this.paramsToTrack), this.isBeforeAdCalled || (this.isBeforeAdCalled = !0, e == null || e(), ((i = this.currentClientParams) == null ? void 0 : i.type) !== "reward" && ((n = this.adIsShowingCallback) == null || n.call(this, !0), st() && this.context.track("mmp_ad_impression", {
563
- ad_network: (o = (r = this.currentProvider) == null ? void 0 : r.name) != null ? o : "",
564
- ad_format: "interstitial",
565
- module: "game",
566
- game_id: this.contextInfo.objectId
567
- })));
575
+ if (this.adsHasResponse = !0, this.context.track("CallBeforeAd", this.paramsToTrack), !this.isBeforeAdCalled) {
576
+ this.isBeforeAdCalled = !0;
577
+ const s = ae(e);
578
+ s == null || s(), ((i = this.currentClientParams) == null ? void 0 : i.type) !== "reward" && ((n = this.adIsShowingCallback) == null || n.call(this, !0), at() && this.context.track("mmp_ad_impression", {
579
+ ad_network: (o = (r = this.currentProvider) == null ? void 0 : r.name) != null ? o : "",
580
+ ad_format: "interstitial",
581
+ module: "game",
582
+ game_id: this.contextInfo.objectId
583
+ }));
584
+ }
568
585
  };
569
586
  }
570
587
  wrapBeforeReward(e) {
@@ -574,17 +591,29 @@ class Sn {
574
591
  }
575
592
  wrapAdDismissed(e) {
576
593
  return () => {
577
- this.adsHasResponse = !0, this.isAdDismissedCalled || (this.isAdDismissedCalled = !0, e == null || e());
594
+ if (this.adsHasResponse = !0, !this.isAdDismissedCalled) {
595
+ this.isAdDismissedCalled = !0;
596
+ const i = ae(e);
597
+ i == null || i();
598
+ }
578
599
  };
579
600
  }
580
601
  wrapAdViewed(e) {
581
602
  return () => {
582
- this.adsHasResponse = !0, this.isAdViewedCalled || (this.isAdViewedCalled = !0, e == null || e());
603
+ if (this.adsHasResponse = !0, !this.isAdViewedCalled) {
604
+ this.isAdViewedCalled = !0;
605
+ const i = ae(e);
606
+ i == null || i();
607
+ }
583
608
  };
584
609
  }
585
610
  wrapAfterAd(e) {
586
611
  return () => {
587
- this.adsHasResponse = !0, this.context.track("CallAfterAd", this.paramsToTrack), this.isAfterAdCalled || (this.isAfterAdCalled = !0, e == null || e());
612
+ if (this.adsHasResponse = !0, this.context.track("CallAfterAd", this.paramsToTrack), !this.isAfterAdCalled) {
613
+ this.isAfterAdCalled = !0;
614
+ const i = ae(e);
615
+ i == null || i();
616
+ }
588
617
  };
589
618
  }
590
619
  wrapAdBreakDone(e) {
@@ -601,7 +630,8 @@ class Sn {
601
630
  case "ignored":
602
631
  case "dismissed":
603
632
  case "error": {
604
- e == null || e(i), (s = this.adIsShowingCallback) == null || s.call(this, !1), (a = this.continueCallback) == null || a.call(this, [!1, i]);
633
+ const l = ae(e);
634
+ l == null || l(i), (s = this.adIsShowingCallback) == null || s.call(this, !1), (a = this.continueCallback) == null || a.call(this, [!1, i]);
605
635
  break;
606
636
  }
607
637
  default: {
@@ -668,14 +698,14 @@ class Sn {
668
698
  });
669
699
  }
670
700
  }
671
- function Le(t, e, i) {
672
- return (e = En(e)) in t ? Object.defineProperty(t, e, { value: i, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = i, t;
701
+ function Pe(t, e, i) {
702
+ return (e = kn(e)) in t ? Object.defineProperty(t, e, { value: i, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = i, t;
673
703
  }
674
- function En(t) {
675
- var e = kn(t, "string");
704
+ function kn(t) {
705
+ var e = In(t, "string");
676
706
  return typeof e == "symbol" ? e : e + "";
677
707
  }
678
- function kn(t, e) {
708
+ function In(t, e) {
679
709
  if (typeof t != "object" || !t)
680
710
  return t;
681
711
  var i = t[Symbol.toPrimitive];
@@ -687,13 +717,13 @@ function kn(t, e) {
687
717
  }
688
718
  return (e === "string" ? String : Number)(t);
689
719
  }
690
- class In {
720
+ class Rn {
691
721
  constructor(e) {
692
- Le(this, "context", void 0), Le(this, "adBreakIsShowing", !1), Le(this, "reportPageJumpOut", () => {
722
+ Pe(this, "context", void 0), Pe(this, "adBreakIsShowing", !1), Pe(this, "reportPageJumpOut", () => {
693
723
  this.context.track("AdBreakJumpOut", {
694
724
  context: "AdsActionDetection"
695
725
  });
696
- }), Le(this, "reportPageHide", () => {
726
+ }), Pe(this, "reportPageHide", () => {
697
727
  this.context.track("AdBreakHide", {
698
728
  context: "AdsActionDetection"
699
729
  });
@@ -704,14 +734,14 @@ class In {
704
734
  });
705
735
  }
706
736
  }
707
- function Pe(t, e, i) {
708
- return (e = Rn(e)) in t ? Object.defineProperty(t, e, { value: i, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = i, t;
737
+ function Ne(t, e, i) {
738
+ return (e = xn(e)) in t ? Object.defineProperty(t, e, { value: i, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = i, t;
709
739
  }
710
- function Rn(t) {
711
- var e = xn(t, "string");
740
+ function xn(t) {
741
+ var e = On(t, "string");
712
742
  return typeof e == "symbol" ? e : e + "";
713
743
  }
714
- function xn(t, e) {
744
+ function On(t, e) {
715
745
  if (typeof t != "object" || !t)
716
746
  return t;
717
747
  var i = t[Symbol.toPrimitive];
@@ -723,9 +753,9 @@ function xn(t, e) {
723
753
  }
724
754
  return (e === "string" ? String : Number)(t);
725
755
  }
726
- class On {
756
+ class Tn {
727
757
  constructor(e) {
728
- Pe(this, "configs", null), Pe(this, "firstRun", !0), Pe(this, "context", void 0), Pe(this, "contextInfo", void 0), this.context = e, this.contextInfo = this.context.getContextInfo(), this.init();
758
+ Ne(this, "configs", null), Ne(this, "firstRun", !0), Ne(this, "context", void 0), Ne(this, "contextInfo", void 0), this.context = e, this.contextInfo = this.context.getContextInfo(), this.init();
729
759
  }
730
760
  async init() {
731
761
  try {
@@ -750,13 +780,13 @@ class On {
750
780
  }
751
781
  }
752
782
  function Q(t, e, i) {
753
- return (e = Tn(e)) in t ? Object.defineProperty(t, e, { value: i, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = i, t;
783
+ return (e = Cn(e)) in t ? Object.defineProperty(t, e, { value: i, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = i, t;
754
784
  }
755
- function Tn(t) {
756
- var e = Cn(t, "string");
785
+ function Cn(t) {
786
+ var e = Dn(t, "string");
757
787
  return typeof e == "symbol" ? e : e + "";
758
788
  }
759
- function Cn(t, e) {
789
+ function Dn(t, e) {
760
790
  if (typeof t != "object" || !t)
761
791
  return t;
762
792
  var i = t[Symbol.toPrimitive];
@@ -768,7 +798,7 @@ function Cn(t, e) {
768
798
  }
769
799
  return (e === "string" ? String : Number)(t);
770
800
  }
771
- class Dn {
801
+ class Ln {
772
802
  /**
773
803
  * Internal constructor, should not be called directly
774
804
  */
@@ -779,7 +809,7 @@ class Dn {
779
809
  }), Q(this, "adConfig", (n) => {
780
810
  const s = n, {
781
811
  onReady: r
782
- } = s, o = It(s, [
812
+ } = s, o = Rt(s, [
783
813
  "onReady"
784
814
  ]);
785
815
  this.context.track("CallAdConfig", o), this.configured ? console.warn("Ad config already set, skipping") : (this.configured = !0, this.push(n));
@@ -846,18 +876,18 @@ class Dn {
846
876
  }
847
877
  }
848
878
  }
849
- function Ln(t) {
879
+ function Pn(t) {
850
880
  if (t.sheet)
851
881
  return t.sheet;
852
882
  for (var e = 0; e < document.styleSheets.length; e++)
853
883
  if (document.styleSheets[e].ownerNode === t)
854
884
  return document.styleSheets[e];
855
885
  }
856
- function Pn(t) {
886
+ function Nn(t) {
857
887
  var e = document.createElement("style");
858
888
  return e.setAttribute("data-emotion", t.key), t.nonce !== void 0 && e.setAttribute("nonce", t.nonce), e.appendChild(document.createTextNode("")), e.setAttribute("data-s", ""), e;
859
889
  }
860
- var Nn = /* @__PURE__ */ function() {
890
+ var Mn = /* @__PURE__ */ function() {
861
891
  function t(i) {
862
892
  var n = this;
863
893
  this._insertTag = function(r) {
@@ -869,10 +899,10 @@ var Nn = /* @__PURE__ */ function() {
869
899
  return e.hydrate = function(n) {
870
900
  n.forEach(this._insertTag);
871
901
  }, e.insert = function(n) {
872
- this.ctr % (this.isSpeedy ? 65e3 : 1) === 0 && this._insertTag(Pn(this));
902
+ this.ctr % (this.isSpeedy ? 65e3 : 1) === 0 && this._insertTag(Nn(this));
873
903
  var r = this.tags[this.tags.length - 1];
874
904
  if (this.isSpeedy) {
875
- var o = Ln(r);
905
+ var o = Pn(r);
876
906
  try {
877
907
  o.insertRule(n, o.cssRules.length);
878
908
  } catch (s) {
@@ -886,66 +916,66 @@ var Nn = /* @__PURE__ */ function() {
886
916
  return (r = n.parentNode) == null ? void 0 : r.removeChild(n);
887
917
  }), this.tags = [], this.ctr = 0;
888
918
  }, t;
889
- }(), j = "-ms-", qe = "-moz-", m = "-webkit-", oi = "comm", pt = "rule", bt = "decl", Mn = "@import", si = "@keyframes", $n = "@layer", jn = Math.abs, Je = String.fromCharCode, Fn = Object.assign;
919
+ }(), j = "-ms-", Ke = "-moz-", m = "-webkit-", si = "comm", bt = "rule", At = "decl", $n = "@import", ai = "@keyframes", jn = "@layer", Bn = Math.abs, Ye = String.fromCharCode, Fn = Object.assign;
890
920
  function Un(t, e) {
891
921
  return N(t, 0) ^ 45 ? (((e << 2 ^ N(t, 0)) << 2 ^ N(t, 1)) << 2 ^ N(t, 2)) << 2 ^ N(t, 3) : 0;
892
922
  }
893
- function ai(t) {
923
+ function di(t) {
894
924
  return t.trim();
895
925
  }
896
- function Bn(t, e) {
926
+ function Vn(t, e) {
897
927
  return (t = e.exec(t)) ? t[0] : t;
898
928
  }
899
929
  function S(t, e, i) {
900
930
  return t.replace(e, i);
901
931
  }
902
- function ct(t, e) {
932
+ function ht(t, e) {
903
933
  return t.indexOf(e);
904
934
  }
905
935
  function N(t, e) {
906
936
  return t.charCodeAt(e) | 0;
907
937
  }
908
- function ke(t, e, i) {
938
+ function Ie(t, e, i) {
909
939
  return t.slice(e, i);
910
940
  }
911
941
  function Y(t) {
912
942
  return t.length;
913
943
  }
914
- function At(t) {
944
+ function _t(t) {
915
945
  return t.length;
916
946
  }
917
- function Ne(t, e) {
947
+ function Me(t, e) {
918
948
  return e.push(t), t;
919
949
  }
920
- function Vn(t, e) {
950
+ function Gn(t, e) {
921
951
  return t.map(e).join("");
922
952
  }
923
- var Ye = 1, ve = 1, di = 0, G = 0, C = 0, ge = "";
924
- function Xe(t, e, i, n, r, o, s) {
925
- return { value: t, root: e, parent: i, type: n, props: r, children: o, line: Ye, column: ve, length: s, return: "" };
953
+ var Xe = 1, ge = 1, li = 0, G = 0, C = 0, ye = "";
954
+ function Qe(t, e, i, n, r, o, s) {
955
+ return { value: t, root: e, parent: i, type: n, props: r, children: o, line: Xe, column: ge, length: s, return: "" };
926
956
  }
927
- function _e(t, e) {
928
- return Fn(Xe("", null, null, "", null, null, 0), t, { length: -t.length }, e);
957
+ function me(t, e) {
958
+ return Fn(Qe("", null, null, "", null, null, 0), t, { length: -t.length }, e);
929
959
  }
930
- function Gn() {
960
+ function qn() {
931
961
  return C;
932
962
  }
933
- function qn() {
934
- return C = G > 0 ? N(ge, --G) : 0, ve--, C === 10 && (ve = 1, Ye--), C;
963
+ function Kn() {
964
+ return C = G > 0 ? N(ye, --G) : 0, ge--, C === 10 && (ge = 1, Xe--), C;
935
965
  }
936
966
  function K() {
937
- return C = G < di ? N(ge, G++) : 0, ve++, C === 10 && (ve = 1, Ye++), C;
967
+ return C = G < li ? N(ye, G++) : 0, ge++, C === 10 && (ge = 1, Xe++), C;
938
968
  }
939
969
  function X() {
940
- return N(ge, G);
970
+ return N(ye, G);
941
971
  }
942
- function je() {
972
+ function Be() {
943
973
  return G;
944
974
  }
945
- function Re(t, e) {
946
- return ke(ge, t, e);
975
+ function xe(t, e) {
976
+ return Ie(ye, t, e);
947
977
  }
948
- function Ie(t) {
978
+ function Re(t) {
949
979
  switch (t) {
950
980
  case 0:
951
981
  case 9:
@@ -977,36 +1007,36 @@ function Ie(t) {
977
1007
  }
978
1008
  return 0;
979
1009
  }
980
- function li(t) {
981
- return Ye = ve = 1, di = Y(ge = t), G = 0, [];
982
- }
983
1010
  function ui(t) {
984
- return ge = "", t;
1011
+ return Xe = ge = 1, li = Y(ye = t), G = 0, [];
1012
+ }
1013
+ function ci(t) {
1014
+ return ye = "", t;
985
1015
  }
986
1016
  function Fe(t) {
987
- return ai(Re(G - 1, ht(t === 91 ? t + 2 : t === 40 ? t + 1 : t)));
1017
+ return di(xe(G - 1, ft(t === 91 ? t + 2 : t === 40 ? t + 1 : t)));
988
1018
  }
989
- function Kn(t) {
1019
+ function zn(t) {
990
1020
  for (; (C = X()) && C < 33; )
991
1021
  K();
992
- return Ie(t) > 2 || Ie(C) > 3 ? "" : " ";
1022
+ return Re(t) > 2 || Re(C) > 3 ? "" : " ";
993
1023
  }
994
- function zn(t, e) {
1024
+ function Hn(t, e) {
995
1025
  for (; --e && K() && !(C < 48 || C > 102 || C > 57 && C < 65 || C > 70 && C < 97); )
996
1026
  ;
997
- return Re(t, je() + (e < 6 && X() == 32 && K() == 32));
1027
+ return xe(t, Be() + (e < 6 && X() == 32 && K() == 32));
998
1028
  }
999
- function ht(t) {
1029
+ function ft(t) {
1000
1030
  for (; K(); )
1001
1031
  switch (C) {
1002
1032
  case t:
1003
1033
  return G;
1004
1034
  case 34:
1005
1035
  case 39:
1006
- t !== 34 && t !== 39 && ht(C);
1036
+ t !== 34 && t !== 39 && ft(C);
1007
1037
  break;
1008
1038
  case 40:
1009
- t === 41 && ht(t);
1039
+ t === 41 && ft(t);
1010
1040
  break;
1011
1041
  case 92:
1012
1042
  K();
@@ -1014,26 +1044,26 @@ function ht(t) {
1014
1044
  }
1015
1045
  return G;
1016
1046
  }
1017
- function Hn(t, e) {
1047
+ function Wn(t, e) {
1018
1048
  for (; K() && t + C !== 57; )
1019
1049
  if (t + C === 84 && X() === 47)
1020
1050
  break;
1021
- return "/*" + Re(e, G - 1) + "*" + Je(t === 47 ? t : K());
1051
+ return "/*" + xe(e, G - 1) + "*" + Ye(t === 47 ? t : K());
1022
1052
  }
1023
- function Wn(t) {
1024
- for (; !Ie(X()); )
1053
+ function Jn(t) {
1054
+ for (; !Re(X()); )
1025
1055
  K();
1026
- return Re(t, G);
1056
+ return xe(t, G);
1027
1057
  }
1028
- function Jn(t) {
1029
- return ui(Ue("", null, null, null, [""], t = li(t), 0, [0], t));
1058
+ function Yn(t) {
1059
+ return ci(Ue("", null, null, null, [""], t = ui(t), 0, [0], t));
1030
1060
  }
1031
1061
  function Ue(t, e, i, n, r, o, s, a, d) {
1032
1062
  for (var l = 0, u = 0, h = s, c = 0, f = 0, w = 0, g = 1, p = 1, y = 1, v = 0, b = "", T = r, R = o, O = n, A = b; p; )
1033
1063
  switch (w = v, v = K()) {
1034
1064
  case 40:
1035
1065
  if (w != 108 && N(A, h - 1) == 58) {
1036
- ct(A += S(Fe(v), "&", "&\f"), "&\f") != -1 && (y = -1);
1066
+ ht(A += S(Fe(v), "&", "&\f"), "&\f") != -1 && (y = -1);
1037
1067
  break;
1038
1068
  }
1039
1069
  case 34:
@@ -1045,16 +1075,16 @@ function Ue(t, e, i, n, r, o, s, a, d) {
1045
1075
  case 10:
1046
1076
  case 13:
1047
1077
  case 32:
1048
- A += Kn(w);
1078
+ A += zn(w);
1049
1079
  break;
1050
1080
  case 92:
1051
- A += zn(je() - 1, 7);
1081
+ A += Hn(Be() - 1, 7);
1052
1082
  continue;
1053
1083
  case 47:
1054
1084
  switch (X()) {
1055
1085
  case 42:
1056
1086
  case 47:
1057
- Ne(Yn(Hn(K(), je()), e, i), d);
1087
+ Me(Xn(Wn(K(), Be()), e, i), d);
1058
1088
  break;
1059
1089
  default:
1060
1090
  A += "/";
@@ -1070,12 +1100,12 @@ function Ue(t, e, i, n, r, o, s, a, d) {
1070
1100
  case 125:
1071
1101
  p = 0;
1072
1102
  case 59 + u:
1073
- y == -1 && (A = S(A, /\f/g, "")), f > 0 && Y(A) - h && Ne(f > 32 ? Nt(A + ";", n, i, h - 1) : Nt(S(A, " ", "") + ";", n, i, h - 2), d);
1103
+ y == -1 && (A = S(A, /\f/g, "")), f > 0 && Y(A) - h && Me(f > 32 ? Mt(A + ";", n, i, h - 1) : Mt(S(A, " ", "") + ";", n, i, h - 2), d);
1074
1104
  break;
1075
1105
  case 59:
1076
1106
  A += ";";
1077
1107
  default:
1078
- if (Ne(O = Pt(A, e, i, l, u, r, a, b, T = [], R = [], h), o), v === 123)
1108
+ if (Me(O = Nt(A, e, i, l, u, r, a, b, T = [], R = [], h), o), v === 123)
1079
1109
  if (u === 0)
1080
1110
  Ue(A, e, O, O, T, o, h, a, R);
1081
1111
  else
@@ -1084,7 +1114,7 @@ function Ue(t, e, i, n, r, o, s, a, d) {
1084
1114
  case 108:
1085
1115
  case 109:
1086
1116
  case 115:
1087
- Ue(t, O, O, n && Ne(Pt(t, O, O, 0, 0, r, a, b, r, T = [], h), R), r, R, h, a, n ? T : R);
1117
+ Ue(t, O, O, n && Me(Nt(t, O, O, 0, 0, r, a, b, r, T = [], h), R), r, R, h, a, n ? T : R);
1088
1118
  break;
1089
1119
  default:
1090
1120
  Ue(A, O, O, O, [""], R, 0, a, R);
@@ -1098,10 +1128,10 @@ function Ue(t, e, i, n, r, o, s, a, d) {
1098
1128
  if (g < 1) {
1099
1129
  if (v == 123)
1100
1130
  --g;
1101
- else if (v == 125 && g++ == 0 && qn() == 125)
1131
+ else if (v == 125 && g++ == 0 && Kn() == 125)
1102
1132
  continue;
1103
1133
  }
1104
- switch (A += Je(v), v * g) {
1134
+ switch (A += Ye(v), v * g) {
1105
1135
  case 38:
1106
1136
  y = u > 0 ? 1 : (A += "\f", -1);
1107
1137
  break;
@@ -1109,7 +1139,7 @@ function Ue(t, e, i, n, r, o, s, a, d) {
1109
1139
  a[l++] = (Y(A) - 1) * y, y = 1;
1110
1140
  break;
1111
1141
  case 64:
1112
- X() === 45 && (A += Fe(K())), c = X(), u = h = Y(b = A += Wn(je())), v++;
1142
+ X() === 45 && (A += Fe(K())), c = X(), u = h = Y(b = A += Jn(Be())), v++;
1113
1143
  break;
1114
1144
  case 45:
1115
1145
  w === 45 && Y(A) == 2 && (g = 0);
@@ -1117,69 +1147,69 @@ function Ue(t, e, i, n, r, o, s, a, d) {
1117
1147
  }
1118
1148
  return o;
1119
1149
  }
1120
- function Pt(t, e, i, n, r, o, s, a, d, l, u) {
1121
- for (var h = r - 1, c = r === 0 ? o : [""], f = At(c), w = 0, g = 0, p = 0; w < n; ++w)
1122
- for (var y = 0, v = ke(t, h + 1, h = jn(g = s[w])), b = t; y < f; ++y)
1123
- (b = ai(g > 0 ? c[y] + " " + v : S(v, /&\f/g, c[y]))) && (d[p++] = b);
1124
- return Xe(t, e, i, r === 0 ? pt : a, d, l, u);
1150
+ function Nt(t, e, i, n, r, o, s, a, d, l, u) {
1151
+ for (var h = r - 1, c = r === 0 ? o : [""], f = _t(c), w = 0, g = 0, p = 0; w < n; ++w)
1152
+ for (var y = 0, v = Ie(t, h + 1, h = Bn(g = s[w])), b = t; y < f; ++y)
1153
+ (b = di(g > 0 ? c[y] + " " + v : S(v, /&\f/g, c[y]))) && (d[p++] = b);
1154
+ return Qe(t, e, i, r === 0 ? bt : a, d, l, u);
1125
1155
  }
1126
- function Yn(t, e, i) {
1127
- return Xe(t, e, i, oi, Je(Gn()), ke(t, 2, -2), 0);
1156
+ function Xn(t, e, i) {
1157
+ return Qe(t, e, i, si, Ye(qn()), Ie(t, 2, -2), 0);
1128
1158
  }
1129
- function Nt(t, e, i, n) {
1130
- return Xe(t, e, i, bt, ke(t, 0, n), ke(t, n + 1, -1), n);
1159
+ function Mt(t, e, i, n) {
1160
+ return Qe(t, e, i, At, Ie(t, 0, n), Ie(t, n + 1, -1), n);
1131
1161
  }
1132
- function he(t, e) {
1133
- for (var i = "", n = At(t), r = 0; r < n; r++)
1162
+ function fe(t, e) {
1163
+ for (var i = "", n = _t(t), r = 0; r < n; r++)
1134
1164
  i += e(t[r], r, t, e) || "";
1135
1165
  return i;
1136
1166
  }
1137
- function Xn(t, e, i, n) {
1167
+ function Qn(t, e, i, n) {
1138
1168
  switch (t.type) {
1139
- case $n:
1169
+ case jn:
1140
1170
  if (t.children.length)
1141
1171
  break;
1142
- case Mn:
1143
- case bt:
1172
+ case $n:
1173
+ case At:
1144
1174
  return t.return = t.return || t.value;
1145
- case oi:
1146
- return "";
1147
1175
  case si:
1148
- return t.return = t.value + "{" + he(t.children, n) + "}";
1149
- case pt:
1176
+ return "";
1177
+ case ai:
1178
+ return t.return = t.value + "{" + fe(t.children, n) + "}";
1179
+ case bt:
1150
1180
  t.value = t.props.join(",");
1151
1181
  }
1152
- return Y(i = he(t.children, n)) ? t.return = t.value + "{" + i + "}" : "";
1182
+ return Y(i = fe(t.children, n)) ? t.return = t.value + "{" + i + "}" : "";
1153
1183
  }
1154
- function Qn(t) {
1155
- var e = At(t);
1184
+ function Zn(t) {
1185
+ var e = _t(t);
1156
1186
  return function(i, n, r, o) {
1157
1187
  for (var s = "", a = 0; a < e; a++)
1158
1188
  s += t[a](i, n, r, o) || "";
1159
1189
  return s;
1160
1190
  };
1161
1191
  }
1162
- function Zn(t) {
1192
+ function er(t) {
1163
1193
  return function(e) {
1164
1194
  e.root || (e = e.return) && t(e);
1165
1195
  };
1166
1196
  }
1167
- function er(t) {
1197
+ function tr(t) {
1168
1198
  var e = /* @__PURE__ */ Object.create(null);
1169
1199
  return function(i) {
1170
1200
  return e[i] === void 0 && (e[i] = t(i)), e[i];
1171
1201
  };
1172
1202
  }
1173
- var tr = function(e, i, n) {
1174
- for (var r = 0, o = 0; r = o, o = X(), r === 38 && o === 12 && (i[n] = 1), !Ie(o); )
1203
+ var ir = function(e, i, n) {
1204
+ for (var r = 0, o = 0; r = o, o = X(), r === 38 && o === 12 && (i[n] = 1), !Re(o); )
1175
1205
  K();
1176
- return Re(e, G);
1177
- }, ir = function(e, i) {
1206
+ return xe(e, G);
1207
+ }, nr = function(e, i) {
1178
1208
  var n = -1, r = 44;
1179
1209
  do
1180
- switch (Ie(r)) {
1210
+ switch (Re(r)) {
1181
1211
  case 0:
1182
- r === 38 && X() === 12 && (i[n] = 1), e[n] += tr(G - 1, i, n);
1212
+ r === 38 && X() === 12 && (i[n] = 1), e[n] += ir(G - 1, i, n);
1183
1213
  break;
1184
1214
  case 2:
1185
1215
  e[n] += Fe(r);
@@ -1190,27 +1220,27 @@ var tr = function(e, i, n) {
1190
1220
  break;
1191
1221
  }
1192
1222
  default:
1193
- e[n] += Je(r);
1223
+ e[n] += Ye(r);
1194
1224
  }
1195
1225
  while (r = K());
1196
1226
  return e;
1197
- }, nr = function(e, i) {
1198
- return ui(ir(li(e), i));
1199
- }, Mt = /* @__PURE__ */ new WeakMap(), rr = function(e) {
1227
+ }, rr = function(e, i) {
1228
+ return ci(nr(ui(e), i));
1229
+ }, $t = /* @__PURE__ */ new WeakMap(), or = function(e) {
1200
1230
  if (!(e.type !== "rule" || !e.parent || // positive .length indicates that this rule contains pseudo
1201
1231
  // negative .length indicates that this rule has been already prefixed
1202
1232
  e.length < 1)) {
1203
1233
  for (var i = e.value, n = e.parent, r = e.column === n.column && e.line === n.line; n.type !== "rule"; )
1204
1234
  if (n = n.parent, !n)
1205
1235
  return;
1206
- if (!(e.props.length === 1 && i.charCodeAt(0) !== 58 && !Mt.get(n)) && !r) {
1207
- Mt.set(e, !0);
1208
- for (var o = [], s = nr(i, o), a = n.props, d = 0, l = 0; d < s.length; d++)
1236
+ if (!(e.props.length === 1 && i.charCodeAt(0) !== 58 && !$t.get(n)) && !r) {
1237
+ $t.set(e, !0);
1238
+ for (var o = [], s = rr(i, o), a = n.props, d = 0, l = 0; d < s.length; d++)
1209
1239
  for (var u = 0; u < a.length; u++, l++)
1210
1240
  e.props[l] = o[d] ? s[d].replace(/&\f/g, a[u]) : a[u] + " " + s[d];
1211
1241
  }
1212
1242
  }
1213
- }, or = function(e) {
1243
+ }, sr = function(e) {
1214
1244
  if (e.type === "decl") {
1215
1245
  var i = e.value;
1216
1246
  // charcode for l
@@ -1218,7 +1248,7 @@ var tr = function(e, i, n) {
1218
1248
  i.charCodeAt(2) === 98 && (e.return = "", e.value = "");
1219
1249
  }
1220
1250
  };
1221
- function ci(t, e) {
1251
+ function hi(t, e) {
1222
1252
  switch (Un(t, e)) {
1223
1253
  case 5103:
1224
1254
  return m + "print-" + t + t;
@@ -1253,7 +1283,7 @@ function ci(t, e) {
1253
1283
  case 4810:
1254
1284
  case 6968:
1255
1285
  case 2756:
1256
- return m + t + qe + t + j + t + t;
1286
+ return m + t + Ke + t + j + t + t;
1257
1287
  case 6828:
1258
1288
  case 4268:
1259
1289
  return m + t + j + t + t;
@@ -1303,16 +1333,16 @@ function ci(t, e) {
1303
1333
  if (N(t, e + 4) !== 45)
1304
1334
  break;
1305
1335
  case 102:
1306
- return S(t, /(.+:)(.+)-([^]+)/, "$1" + m + "$2-$3$1" + qe + (N(t, e + 3) == 108 ? "$3" : "$2-$3")) + t;
1336
+ return S(t, /(.+:)(.+)-([^]+)/, "$1" + m + "$2-$3$1" + Ke + (N(t, e + 3) == 108 ? "$3" : "$2-$3")) + t;
1307
1337
  case 115:
1308
- return ~ct(t, "stretch") ? ci(S(t, "stretch", "fill-available"), e) + t : t;
1338
+ return ~ht(t, "stretch") ? hi(S(t, "stretch", "fill-available"), e) + t : t;
1309
1339
  }
1310
1340
  break;
1311
1341
  case 4949:
1312
1342
  if (N(t, e + 1) !== 115)
1313
1343
  break;
1314
1344
  case 6444:
1315
- switch (N(t, Y(t) - 3 - (~ct(t, "!important") && 10))) {
1345
+ switch (N(t, Y(t) - 3 - (~ht(t, "!important") && 10))) {
1316
1346
  case 107:
1317
1347
  return S(t, ":", ":" + m) + t;
1318
1348
  case 101:
@@ -1332,38 +1362,38 @@ function ci(t, e) {
1332
1362
  }
1333
1363
  return t;
1334
1364
  }
1335
- var sr = function(e, i, n, r) {
1365
+ var ar = function(e, i, n, r) {
1336
1366
  if (e.length > -1 && !e.return)
1337
1367
  switch (e.type) {
1338
- case bt:
1339
- e.return = ci(e.value, e.length);
1368
+ case At:
1369
+ e.return = hi(e.value, e.length);
1340
1370
  break;
1341
- case si:
1342
- return he([_e(e, {
1371
+ case ai:
1372
+ return fe([me(e, {
1343
1373
  value: S(e.value, "@", "@" + m)
1344
1374
  })], r);
1345
- case pt:
1375
+ case bt:
1346
1376
  if (e.length)
1347
- return Vn(e.props, function(o) {
1348
- switch (Bn(o, /(::plac\w+|:read-\w+)/)) {
1377
+ return Gn(e.props, function(o) {
1378
+ switch (Vn(o, /(::plac\w+|:read-\w+)/)) {
1349
1379
  case ":read-only":
1350
1380
  case ":read-write":
1351
- return he([_e(e, {
1352
- props: [S(o, /:(read-\w+)/, ":" + qe + "$1")]
1381
+ return fe([me(e, {
1382
+ props: [S(o, /:(read-\w+)/, ":" + Ke + "$1")]
1353
1383
  })], r);
1354
1384
  case "::placeholder":
1355
- return he([_e(e, {
1385
+ return fe([me(e, {
1356
1386
  props: [S(o, /:(plac\w+)/, ":" + m + "input-$1")]
1357
- }), _e(e, {
1358
- props: [S(o, /:(plac\w+)/, ":" + qe + "$1")]
1359
- }), _e(e, {
1387
+ }), me(e, {
1388
+ props: [S(o, /:(plac\w+)/, ":" + Ke + "$1")]
1389
+ }), me(e, {
1360
1390
  props: [S(o, /:(plac\w+)/, j + "input-$1")]
1361
1391
  })], r);
1362
1392
  }
1363
1393
  return "";
1364
1394
  });
1365
1395
  }
1366
- }, ar = [sr], dr = function(e) {
1396
+ }, dr = [ar], lr = function(e) {
1367
1397
  var i = e.key;
1368
1398
  if (i === "css") {
1369
1399
  var n = document.querySelectorAll("style[data-emotion]:not([data-s])");
@@ -1372,7 +1402,7 @@ var sr = function(e, i, n, r) {
1372
1402
  p.indexOf(" ") !== -1 && (document.head.appendChild(g), g.setAttribute("data-s", ""));
1373
1403
  });
1374
1404
  }
1375
- var r = e.stylisPlugins || ar, o = {}, s, a = [];
1405
+ var r = e.stylisPlugins || dr, o = {}, s, a = [];
1376
1406
  s = e.container || document.head, Array.prototype.forEach.call(
1377
1407
  // this means we will ignore elements which don't have a space in them which
1378
1408
  // means that the style elements we're looking at are only Emotion 11 server-rendered style elements
@@ -1383,12 +1413,12 @@ var sr = function(e, i, n, r) {
1383
1413
  a.push(g);
1384
1414
  }
1385
1415
  );
1386
- var d, l = [rr, or];
1416
+ var d, l = [or, sr];
1387
1417
  {
1388
- var u, h = [Xn, Zn(function(g) {
1418
+ var u, h = [Qn, er(function(g) {
1389
1419
  u.insert(g);
1390
- })], c = Qn(l.concat(r, h)), f = function(p) {
1391
- return he(Jn(p), c);
1420
+ })], c = Zn(l.concat(r, h)), f = function(p) {
1421
+ return fe(Yn(p), c);
1392
1422
  };
1393
1423
  d = function(p, y, v, b) {
1394
1424
  u = v, f(p ? p + "{" + y.styles + "}" : y.styles), b && (w.inserted[y.name] = !0);
@@ -1396,7 +1426,7 @@ var sr = function(e, i, n, r) {
1396
1426
  }
1397
1427
  var w = {
1398
1428
  key: i,
1399
- sheet: new Nn({
1429
+ sheet: new Mn({
1400
1430
  key: i,
1401
1431
  container: s,
1402
1432
  nonce: e.nonce,
@@ -1411,7 +1441,7 @@ var sr = function(e, i, n, r) {
1411
1441
  };
1412
1442
  return w.sheet.hydrate(a), w;
1413
1443
  };
1414
- function lr(t) {
1444
+ function ur(t) {
1415
1445
  for (var e = 0, i, n = 0, r = t.length; r >= 4; ++n, r -= 4)
1416
1446
  i = t.charCodeAt(n) & 255 | (t.charCodeAt(++n) & 255) << 8 | (t.charCodeAt(++n) & 255) << 16 | (t.charCodeAt(++n) & 255) << 24, i = /* Math.imul(k, m): */
1417
1447
  (i & 65535) * 1540483477 + ((i >>> 16) * 59797 << 16), i ^= /* k >>> r: */
@@ -1430,7 +1460,7 @@ function lr(t) {
1430
1460
  return e ^= e >>> 13, e = /* Math.imul(h, m): */
1431
1461
  (e & 65535) * 1540483477 + ((e >>> 16) * 59797 << 16), ((e ^ e >>> 15) >>> 0).toString(36);
1432
1462
  }
1433
- var ur = {
1463
+ var cr = {
1434
1464
  animationIterationCount: 1,
1435
1465
  aspectRatio: 1,
1436
1466
  borderImageOutset: 1,
@@ -1479,18 +1509,18 @@ var ur = {
1479
1509
  strokeMiterlimit: 1,
1480
1510
  strokeOpacity: 1,
1481
1511
  strokeWidth: 1
1482
- }, cr = /[A-Z]|^ms/g, hr = /_EMO_([^_]+?)_([^]*?)_EMO_/g, hi = function(e) {
1512
+ }, hr = /[A-Z]|^ms/g, fr = /_EMO_([^_]+?)_([^]*?)_EMO_/g, fi = function(e) {
1483
1513
  return e.charCodeAt(1) === 45;
1484
- }, $t = function(e) {
1514
+ }, jt = function(e) {
1485
1515
  return e != null && typeof e != "boolean";
1486
- }, et = /* @__PURE__ */ er(function(t) {
1487
- return hi(t) ? t : t.replace(cr, "-$&").toLowerCase();
1488
- }), jt = function(e, i) {
1516
+ }, tt = /* @__PURE__ */ tr(function(t) {
1517
+ return fi(t) ? t : t.replace(hr, "-$&").toLowerCase();
1518
+ }), Bt = function(e, i) {
1489
1519
  switch (e) {
1490
1520
  case "animation":
1491
1521
  case "animationName":
1492
1522
  if (typeof i == "string")
1493
- return i.replace(hr, function(n, r, o) {
1523
+ return i.replace(fr, function(n, r, o) {
1494
1524
  return ne = {
1495
1525
  name: r,
1496
1526
  styles: o,
@@ -1498,9 +1528,9 @@ var ur = {
1498
1528
  }, r;
1499
1529
  });
1500
1530
  }
1501
- return ur[e] !== 1 && !hi(e) && typeof i == "number" && i !== 0 ? i + "px" : i;
1531
+ return cr[e] !== 1 && !fi(e) && typeof i == "number" && i !== 0 ? i + "px" : i;
1502
1532
  };
1503
- function Ke(t, e, i) {
1533
+ function ze(t, e, i) {
1504
1534
  if (i == null)
1505
1535
  return "";
1506
1536
  var n = i;
@@ -1530,7 +1560,7 @@ function Ke(t, e, i) {
1530
1560
  var a = o.styles + ";";
1531
1561
  return a;
1532
1562
  }
1533
- return fr(t, e, i);
1563
+ return vr(t, e, i);
1534
1564
  }
1535
1565
  }
1536
1566
  var d = i;
@@ -1539,26 +1569,26 @@ function Ke(t, e, i) {
1539
1569
  var l = e[d];
1540
1570
  return l !== void 0 ? l : d;
1541
1571
  }
1542
- function fr(t, e, i) {
1572
+ function vr(t, e, i) {
1543
1573
  var n = "";
1544
1574
  if (Array.isArray(i))
1545
1575
  for (var r = 0; r < i.length; r++)
1546
- n += Ke(t, e, i[r]) + ";";
1576
+ n += ze(t, e, i[r]) + ";";
1547
1577
  else
1548
1578
  for (var o in i) {
1549
1579
  var s = i[o];
1550
1580
  if (typeof s != "object") {
1551
1581
  var a = s;
1552
- e != null && e[a] !== void 0 ? n += o + "{" + e[a] + "}" : $t(a) && (n += et(o) + ":" + jt(o, a) + ";");
1582
+ e != null && e[a] !== void 0 ? n += o + "{" + e[a] + "}" : jt(a) && (n += tt(o) + ":" + Bt(o, a) + ";");
1553
1583
  } else if (Array.isArray(s) && typeof s[0] == "string" && (e == null || e[s[0]] === void 0))
1554
1584
  for (var d = 0; d < s.length; d++)
1555
- $t(s[d]) && (n += et(o) + ":" + jt(o, s[d]) + ";");
1585
+ jt(s[d]) && (n += tt(o) + ":" + Bt(o, s[d]) + ";");
1556
1586
  else {
1557
- var l = Ke(t, e, s);
1587
+ var l = ze(t, e, s);
1558
1588
  switch (o) {
1559
1589
  case "animation":
1560
1590
  case "animationName": {
1561
- n += et(o) + ":" + l + ";";
1591
+ n += tt(o) + ":" + l + ";";
1562
1592
  break;
1563
1593
  }
1564
1594
  default:
@@ -1569,40 +1599,40 @@ function fr(t, e, i) {
1569
1599
  return n;
1570
1600
  }
1571
1601
  var Ft = /label:\s*([^\s;{]+)\s*(;|$)/g, ne;
1572
- function tt(t, e, i) {
1602
+ function it(t, e, i) {
1573
1603
  if (t.length === 1 && typeof t[0] == "object" && t[0] !== null && t[0].styles !== void 0)
1574
1604
  return t[0];
1575
1605
  var n = !0, r = "";
1576
1606
  ne = void 0;
1577
1607
  var o = t[0];
1578
1608
  if (o == null || o.raw === void 0)
1579
- n = !1, r += Ke(i, e, o);
1609
+ n = !1, r += ze(i, e, o);
1580
1610
  else {
1581
1611
  var s = o;
1582
1612
  r += s[0];
1583
1613
  }
1584
1614
  for (var a = 1; a < t.length; a++)
1585
- if (r += Ke(i, e, t[a]), n) {
1615
+ if (r += ze(i, e, t[a]), n) {
1586
1616
  var d = o;
1587
1617
  r += d[a];
1588
1618
  }
1589
1619
  Ft.lastIndex = 0;
1590
1620
  for (var l = "", u; (u = Ft.exec(r)) !== null; )
1591
1621
  l += "-" + u[1];
1592
- var h = lr(r) + l;
1622
+ var h = ur(r) + l;
1593
1623
  return {
1594
1624
  name: h,
1595
1625
  styles: r,
1596
1626
  next: ne
1597
1627
  };
1598
1628
  }
1599
- function fi(t, e, i) {
1629
+ function vi(t, e, i) {
1600
1630
  var n = "";
1601
1631
  return i.split(" ").forEach(function(r) {
1602
1632
  t[r] !== void 0 ? e.push(t[r] + ";") : r && (n += r + " ");
1603
1633
  }), n;
1604
1634
  }
1605
- var vr = function(e, i, n) {
1635
+ var gr = function(e, i, n) {
1606
1636
  var r = e.key + "-" + i.name;
1607
1637
  // we only need to add the styles to the registered cache if the
1608
1638
  // class name could be used further down
@@ -1610,8 +1640,8 @@ var vr = function(e, i, n) {
1610
1640
  // so we don't have to add it to registered cache.
1611
1641
  // this improves memory usage since we can avoid storing the whole style string
1612
1642
  e.registered[r] === void 0 && (e.registered[r] = i.styles);
1613
- }, gr = function(e, i, n) {
1614
- vr(e, i);
1643
+ }, yr = function(e, i, n) {
1644
+ gr(e, i);
1615
1645
  var r = e.key + "-" + i.name;
1616
1646
  if (e.inserted[i.name] === void 0) {
1617
1647
  var o = i;
@@ -1624,24 +1654,24 @@ function Ut(t, e) {
1624
1654
  if (t.inserted[e.name] === void 0)
1625
1655
  return t.insert("", e, t.sheet, !0);
1626
1656
  }
1627
- function Bt(t, e, i) {
1628
- var n = [], r = fi(t, n, i);
1657
+ function Vt(t, e, i) {
1658
+ var n = [], r = vi(t, n, i);
1629
1659
  return n.length < 2 ? i : r + e(n);
1630
1660
  }
1631
- var yr = function(e) {
1632
- var i = dr(e);
1661
+ var wr = function(e) {
1662
+ var i = lr(e);
1633
1663
  i.sheet.speedy = function(a) {
1634
1664
  this.isSpeedy = a;
1635
1665
  }, i.compat = !0;
1636
1666
  var n = function() {
1637
1667
  for (var d = arguments.length, l = new Array(d), u = 0; u < d; u++)
1638
1668
  l[u] = arguments[u];
1639
- var h = tt(l, i.registered, void 0);
1640
- return gr(i, h), i.key + "-" + h.name;
1669
+ var h = it(l, i.registered, void 0);
1670
+ return yr(i, h), i.key + "-" + h.name;
1641
1671
  }, r = function() {
1642
1672
  for (var d = arguments.length, l = new Array(d), u = 0; u < d; u++)
1643
1673
  l[u] = arguments[u];
1644
- var h = tt(l, i.registered), c = "animation-" + h.name;
1674
+ var h = it(l, i.registered), c = "animation-" + h.name;
1645
1675
  return Ut(i, {
1646
1676
  name: h.name,
1647
1677
  styles: "@keyframes " + c + "{" + h.styles + "}"
@@ -1649,12 +1679,12 @@ var yr = function(e) {
1649
1679
  }, o = function() {
1650
1680
  for (var d = arguments.length, l = new Array(d), u = 0; u < d; u++)
1651
1681
  l[u] = arguments[u];
1652
- var h = tt(l, i.registered);
1682
+ var h = it(l, i.registered);
1653
1683
  Ut(i, h);
1654
1684
  }, s = function() {
1655
1685
  for (var d = arguments.length, l = new Array(d), u = 0; u < d; u++)
1656
1686
  l[u] = arguments[u];
1657
- return Bt(i.registered, n, wr(l));
1687
+ return Vt(i.registered, n, pr(l));
1658
1688
  };
1659
1689
  return {
1660
1690
  css: n,
@@ -1671,10 +1701,10 @@ var yr = function(e) {
1671
1701
  },
1672
1702
  sheet: i.sheet,
1673
1703
  cache: i,
1674
- getRegisteredStyles: fi.bind(null, i.registered),
1675
- merge: Bt.bind(null, i.registered, n)
1704
+ getRegisteredStyles: vi.bind(null, i.registered),
1705
+ merge: Vt.bind(null, i.registered, n)
1676
1706
  };
1677
- }, wr = function t(e) {
1707
+ }, pr = function t(e) {
1678
1708
  for (var i = "", n = 0; n < e.length; n++) {
1679
1709
  var r = e[n];
1680
1710
  if (r != null) {
@@ -1699,96 +1729,96 @@ var yr = function(e) {
1699
1729
  }
1700
1730
  }
1701
1731
  return i;
1702
- }, pr = yr({
1732
+ }, br = wr({
1703
1733
  key: "css"
1704
- }), ye = pr.css, ft, q, it, Vt, Gt = 0, vi = [], L = fe, qt = L.__b, Kt = L.__r, zt = L.diffed, Ht = L.__c, Wt = L.unmount, Jt = L.__;
1705
- function br(t, e) {
1706
- L.__h && L.__h(q, t, Gt || e), Gt = 0;
1734
+ }), we = br.css, vt, q, nt, Gt, qt = 0, gi = [], L = ve, Kt = L.__b, zt = L.__r, Ht = L.diffed, Wt = L.__c, Jt = L.unmount, Yt = L.__;
1735
+ function Ar(t, e) {
1736
+ L.__h && L.__h(q, t, qt || e), qt = 0;
1707
1737
  var i = q.__H || (q.__H = { __: [], __h: [] });
1708
1738
  return t >= i.__.length && i.__.push({}), i.__[t];
1709
1739
  }
1710
- function gi(t, e) {
1711
- var i = br(ft++, 7);
1712
- return mr(i.__H, e) && (i.__ = t(), i.__H = e, i.__h = t), i.__;
1740
+ function yi(t, e) {
1741
+ var i = Ar(vt++, 7);
1742
+ return Sr(i.__H, e) && (i.__ = t(), i.__H = e, i.__h = t), i.__;
1713
1743
  }
1714
- function Ar() {
1715
- for (var t; t = vi.shift(); )
1744
+ function _r() {
1745
+ for (var t; t = gi.shift(); )
1716
1746
  if (t.__P && t.__H)
1717
1747
  try {
1718
- t.__H.__h.forEach(Be), t.__H.__h.forEach(vt), t.__H.__h = [];
1748
+ t.__H.__h.forEach(Ve), t.__H.__h.forEach(gt), t.__H.__h = [];
1719
1749
  } catch (e) {
1720
1750
  t.__H.__h = [], L.__e(e, t.__v);
1721
1751
  }
1722
1752
  }
1723
1753
  L.__b = function(t) {
1724
- q = null, qt && qt(t);
1754
+ q = null, Kt && Kt(t);
1725
1755
  }, L.__ = function(t, e) {
1726
- t && e.__k && e.__k.__m && (t.__m = e.__k.__m), Jt && Jt(t, e);
1756
+ t && e.__k && e.__k.__m && (t.__m = e.__k.__m), Yt && Yt(t, e);
1727
1757
  }, L.__r = function(t) {
1728
- Kt && Kt(t), ft = 0;
1758
+ zt && zt(t), vt = 0;
1729
1759
  var e = (q = t.__c).__H;
1730
- e && (it === q ? (e.__h = [], q.__h = [], e.__.forEach(function(i) {
1760
+ e && (nt === q ? (e.__h = [], q.__h = [], e.__.forEach(function(i) {
1731
1761
  i.__N && (i.__ = i.__N), i.u = i.__N = void 0;
1732
- })) : (e.__h.forEach(Be), e.__h.forEach(vt), e.__h = [], ft = 0)), it = q;
1762
+ })) : (e.__h.forEach(Ve), e.__h.forEach(gt), e.__h = [], vt = 0)), nt = q;
1733
1763
  }, L.diffed = function(t) {
1734
- zt && zt(t);
1764
+ Ht && Ht(t);
1735
1765
  var e = t.__c;
1736
- e && e.__H && (e.__H.__h.length && (vi.push(e) !== 1 && Vt === L.requestAnimationFrame || ((Vt = L.requestAnimationFrame) || _r)(Ar)), e.__H.__.forEach(function(i) {
1766
+ e && e.__H && (e.__H.__h.length && (gi.push(e) !== 1 && Gt === L.requestAnimationFrame || ((Gt = L.requestAnimationFrame) || mr)(_r)), e.__H.__.forEach(function(i) {
1737
1767
  i.u && (i.__H = i.u), i.u = void 0;
1738
- })), it = q = null;
1768
+ })), nt = q = null;
1739
1769
  }, L.__c = function(t, e) {
1740
1770
  e.some(function(i) {
1741
1771
  try {
1742
- i.__h.forEach(Be), i.__h = i.__h.filter(function(n) {
1743
- return !n.__ || vt(n);
1772
+ i.__h.forEach(Ve), i.__h = i.__h.filter(function(n) {
1773
+ return !n.__ || gt(n);
1744
1774
  });
1745
1775
  } catch (n) {
1746
1776
  e.some(function(r) {
1747
1777
  r.__h && (r.__h = []);
1748
1778
  }), e = [], L.__e(n, i.__v);
1749
1779
  }
1750
- }), Ht && Ht(t, e);
1780
+ }), Wt && Wt(t, e);
1751
1781
  }, L.unmount = function(t) {
1752
- Wt && Wt(t);
1782
+ Jt && Jt(t);
1753
1783
  var e, i = t.__c;
1754
1784
  i && i.__H && (i.__H.__.forEach(function(n) {
1755
1785
  try {
1756
- Be(n);
1786
+ Ve(n);
1757
1787
  } catch (r) {
1758
1788
  e = r;
1759
1789
  }
1760
1790
  }), i.__H = void 0, e && L.__e(e, i.__v));
1761
1791
  };
1762
- var Yt = typeof requestAnimationFrame == "function";
1763
- function _r(t) {
1792
+ var Xt = typeof requestAnimationFrame == "function";
1793
+ function mr(t) {
1764
1794
  var e, i = function() {
1765
- clearTimeout(n), Yt && cancelAnimationFrame(e), setTimeout(t);
1795
+ clearTimeout(n), Xt && cancelAnimationFrame(e), setTimeout(t);
1766
1796
  }, n = setTimeout(i, 100);
1767
- Yt && (e = requestAnimationFrame(i));
1797
+ Xt && (e = requestAnimationFrame(i));
1768
1798
  }
1769
- function Be(t) {
1799
+ function Ve(t) {
1770
1800
  var e = q, i = t.__c;
1771
1801
  typeof i == "function" && (t.__c = void 0, i()), q = e;
1772
1802
  }
1773
- function vt(t) {
1803
+ function gt(t) {
1774
1804
  var e = q;
1775
1805
  t.__c = t.__(), q = e;
1776
1806
  }
1777
- function mr(t, e) {
1807
+ function Sr(t, e) {
1778
1808
  return !t || t.length !== e.length || e.some(function(i, n) {
1779
1809
  return i !== t[n];
1780
1810
  });
1781
1811
  }
1782
- var Sr = Symbol.for("preact-signals");
1783
- function Qe() {
1812
+ var Er = Symbol.for("preact-signals");
1813
+ function Ze() {
1784
1814
  if (re > 1)
1785
1815
  re--;
1786
1816
  else {
1787
- for (var t, e = !1; me !== void 0; ) {
1788
- var i = me;
1789
- for (me = void 0, gt++; i !== void 0; ) {
1817
+ for (var t, e = !1; Se !== void 0; ) {
1818
+ var i = Se;
1819
+ for (Se = void 0, yt++; i !== void 0; ) {
1790
1820
  var n = i.o;
1791
- if (i.o = void 0, i.f &= -3, !(8 & i.f) && wi(i))
1821
+ if (i.o = void 0, i.f &= -3, !(8 & i.f) && pi(i))
1792
1822
  try {
1793
1823
  i.c();
1794
1824
  } catch (r) {
@@ -1797,7 +1827,7 @@ function Qe() {
1797
1827
  i = n;
1798
1828
  }
1799
1829
  }
1800
- if (gt = 0, re--, e)
1830
+ if (yt = 0, re--, e)
1801
1831
  throw t;
1802
1832
  }
1803
1833
  }
@@ -1808,11 +1838,11 @@ function D(t) {
1808
1838
  try {
1809
1839
  return t();
1810
1840
  } finally {
1811
- Qe();
1841
+ Ze();
1812
1842
  }
1813
1843
  }
1814
- var k = void 0, me = void 0, re = 0, gt = 0, ze = 0;
1815
- function yi(t) {
1844
+ var k = void 0, Se = void 0, re = 0, yt = 0, He = 0;
1845
+ function wi(t) {
1816
1846
  if (k !== void 0) {
1817
1847
  var e = t.n;
1818
1848
  if (e === void 0 || e.t !== k)
@@ -1824,7 +1854,7 @@ function yi(t) {
1824
1854
  function M(t) {
1825
1855
  this.v = t, this.i = 0, this.n = void 0, this.t = void 0;
1826
1856
  }
1827
- M.prototype.brand = Sr;
1857
+ M.prototype.brand = Er;
1828
1858
  M.prototype.h = function() {
1829
1859
  return !0;
1830
1860
  };
@@ -1839,7 +1869,7 @@ M.prototype.U = function(t) {
1839
1869
  };
1840
1870
  M.prototype.subscribe = function(t) {
1841
1871
  var e = this;
1842
- return Oe(function() {
1872
+ return Te(function() {
1843
1873
  var i = e.value, n = k;
1844
1874
  k = void 0;
1845
1875
  try {
@@ -1868,31 +1898,31 @@ M.prototype.peek = function() {
1868
1898
  }
1869
1899
  };
1870
1900
  Object.defineProperty(M.prototype, "value", { get: function() {
1871
- var t = yi(this);
1901
+ var t = wi(this);
1872
1902
  return t !== void 0 && (t.i = this.i), this.v;
1873
1903
  }, set: function(t) {
1874
1904
  if (t !== this.v) {
1875
- if (gt > 100)
1905
+ if (yt > 100)
1876
1906
  throw new Error("Cycle detected");
1877
- this.v = t, this.i++, ze++, re++;
1907
+ this.v = t, this.i++, He++, re++;
1878
1908
  try {
1879
1909
  for (var e = this.t; e !== void 0; e = e.x)
1880
1910
  e.t.N();
1881
1911
  } finally {
1882
- Qe();
1912
+ Ze();
1883
1913
  }
1884
1914
  }
1885
1915
  } });
1886
1916
  function E(t) {
1887
1917
  return new M(t);
1888
1918
  }
1889
- function wi(t) {
1919
+ function pi(t) {
1890
1920
  for (var e = t.s; e !== void 0; e = e.n)
1891
1921
  if (e.S.i !== e.i || !e.S.h() || e.S.i !== e.i)
1892
1922
  return !0;
1893
1923
  return !1;
1894
1924
  }
1895
- function pi(t) {
1925
+ function bi(t) {
1896
1926
  for (var e = t.s; e !== void 0; e = e.n) {
1897
1927
  var i = e.S.n;
1898
1928
  if (i !== void 0 && (e.r = i), e.S.n = e, e.i = -1, e.n === void 0) {
@@ -1901,34 +1931,34 @@ function pi(t) {
1901
1931
  }
1902
1932
  }
1903
1933
  }
1904
- function bi(t) {
1934
+ function Ai(t) {
1905
1935
  for (var e = t.s, i = void 0; e !== void 0; ) {
1906
1936
  var n = e.p;
1907
1937
  e.i === -1 ? (e.S.U(e), n !== void 0 && (n.n = e.n), e.n !== void 0 && (e.n.p = n)) : i = e, e.S.n = e.r, e.r !== void 0 && (e.r = void 0), e = n;
1908
1938
  }
1909
1939
  t.s = i;
1910
1940
  }
1911
- function we(t) {
1912
- M.call(this, void 0), this.x = t, this.s = void 0, this.g = ze - 1, this.f = 4;
1941
+ function pe(t) {
1942
+ M.call(this, void 0), this.x = t, this.s = void 0, this.g = He - 1, this.f = 4;
1913
1943
  }
1914
- (we.prototype = new M()).h = function() {
1944
+ (pe.prototype = new M()).h = function() {
1915
1945
  if (this.f &= -3, 1 & this.f)
1916
1946
  return !1;
1917
- if ((36 & this.f) == 32 || (this.f &= -5, this.g === ze))
1947
+ if ((36 & this.f) == 32 || (this.f &= -5, this.g === He))
1918
1948
  return !0;
1919
- if (this.g = ze, this.f |= 1, this.i > 0 && !wi(this))
1949
+ if (this.g = He, this.f |= 1, this.i > 0 && !pi(this))
1920
1950
  return this.f &= -2, !0;
1921
1951
  var t = k;
1922
1952
  try {
1923
- pi(this), k = this;
1953
+ bi(this), k = this;
1924
1954
  var e = this.x();
1925
1955
  (16 & this.f || this.v !== e || this.i === 0) && (this.v = e, this.f &= -17, this.i++);
1926
1956
  } catch (i) {
1927
1957
  this.v = i, this.f |= 16, this.i++;
1928
1958
  }
1929
- return k = t, bi(this), this.f &= -2, !0;
1959
+ return k = t, Ai(this), this.f &= -2, !0;
1930
1960
  };
1931
- we.prototype.S = function(t) {
1961
+ pe.prototype.S = function(t) {
1932
1962
  if (this.t === void 0) {
1933
1963
  this.f |= 36;
1934
1964
  for (var e = this.s; e !== void 0; e = e.n)
@@ -1936,32 +1966,32 @@ we.prototype.S = function(t) {
1936
1966
  }
1937
1967
  M.prototype.S.call(this, t);
1938
1968
  };
1939
- we.prototype.U = function(t) {
1969
+ pe.prototype.U = function(t) {
1940
1970
  if (this.t !== void 0 && (M.prototype.U.call(this, t), this.t === void 0)) {
1941
1971
  this.f &= -33;
1942
1972
  for (var e = this.s; e !== void 0; e = e.n)
1943
1973
  e.S.U(e);
1944
1974
  }
1945
1975
  };
1946
- we.prototype.N = function() {
1976
+ pe.prototype.N = function() {
1947
1977
  if (!(2 & this.f)) {
1948
1978
  this.f |= 6;
1949
1979
  for (var t = this.t; t !== void 0; t = t.x)
1950
1980
  t.t.N();
1951
1981
  }
1952
1982
  };
1953
- Object.defineProperty(we.prototype, "value", { get: function() {
1983
+ Object.defineProperty(pe.prototype, "value", { get: function() {
1954
1984
  if (1 & this.f)
1955
1985
  throw new Error("Cycle detected");
1956
- var t = yi(this);
1986
+ var t = wi(this);
1957
1987
  if (this.h(), t !== void 0 && (t.i = this.i), 16 & this.f)
1958
1988
  throw this.v;
1959
1989
  return this.v;
1960
1990
  } });
1961
- function Se(t) {
1962
- return new we(t);
1991
+ function Ee(t) {
1992
+ return new pe(t);
1963
1993
  }
1964
- function Ai(t) {
1994
+ function _i(t) {
1965
1995
  var e = t.u;
1966
1996
  if (t.u = void 0, typeof e == "function") {
1967
1997
  re++;
@@ -1970,26 +2000,26 @@ function Ai(t) {
1970
2000
  try {
1971
2001
  e();
1972
2002
  } catch (n) {
1973
- throw t.f &= -2, t.f |= 8, _t(t), n;
2003
+ throw t.f &= -2, t.f |= 8, mt(t), n;
1974
2004
  } finally {
1975
- k = i, Qe();
2005
+ k = i, Ze();
1976
2006
  }
1977
2007
  }
1978
2008
  }
1979
- function _t(t) {
2009
+ function mt(t) {
1980
2010
  for (var e = t.s; e !== void 0; e = e.n)
1981
2011
  e.S.U(e);
1982
- t.x = void 0, t.s = void 0, Ai(t);
2012
+ t.x = void 0, t.s = void 0, _i(t);
1983
2013
  }
1984
- function Er(t) {
2014
+ function kr(t) {
1985
2015
  if (k !== this)
1986
2016
  throw new Error("Out-of-order effect");
1987
- bi(this), k = t, this.f &= -2, 8 & this.f && _t(this), Qe();
2017
+ Ai(this), k = t, this.f &= -2, 8 & this.f && mt(this), Ze();
1988
2018
  }
1989
- function xe(t) {
2019
+ function Oe(t) {
1990
2020
  this.x = t, this.u = void 0, this.s = void 0, this.o = void 0, this.f = 32;
1991
2021
  }
1992
- xe.prototype.c = function() {
2022
+ Oe.prototype.c = function() {
1993
2023
  var t = this.S();
1994
2024
  try {
1995
2025
  if (8 & this.f || this.x === void 0)
@@ -2000,21 +2030,21 @@ xe.prototype.c = function() {
2000
2030
  t();
2001
2031
  }
2002
2032
  };
2003
- xe.prototype.S = function() {
2033
+ Oe.prototype.S = function() {
2004
2034
  if (1 & this.f)
2005
2035
  throw new Error("Cycle detected");
2006
- this.f |= 1, this.f &= -9, Ai(this), pi(this), re++;
2036
+ this.f |= 1, this.f &= -9, _i(this), bi(this), re++;
2007
2037
  var t = k;
2008
- return k = this, Er.bind(this, t);
2038
+ return k = this, kr.bind(this, t);
2009
2039
  };
2010
- xe.prototype.N = function() {
2011
- 2 & this.f || (this.f |= 2, this.o = me, me = this);
2040
+ Oe.prototype.N = function() {
2041
+ 2 & this.f || (this.f |= 2, this.o = Se, Se = this);
2012
2042
  };
2013
- xe.prototype.d = function() {
2014
- this.f |= 8, 1 & this.f || _t(this);
2043
+ Oe.prototype.d = function() {
2044
+ this.f |= 8, 1 & this.f || mt(this);
2015
2045
  };
2016
- function Oe(t) {
2017
- var e = new xe(t);
2046
+ function Te(t) {
2047
+ var e = new Oe(t);
2018
2048
  try {
2019
2049
  e.c();
2020
2050
  } catch (i) {
@@ -2022,33 +2052,33 @@ function Oe(t) {
2022
2052
  }
2023
2053
  return e.d.bind(e);
2024
2054
  }
2025
- var _i, nt, mi = [];
2026
- Oe(function() {
2027
- _i = this.N;
2055
+ var mi, rt, Si = [];
2056
+ Te(function() {
2057
+ mi = this.N;
2028
2058
  })();
2029
- function pe(t, e) {
2030
- fe[t] = e.bind(null, fe[t] || function() {
2059
+ function be(t, e) {
2060
+ ve[t] = e.bind(null, ve[t] || function() {
2031
2061
  });
2032
2062
  }
2033
- function He(t) {
2034
- nt && nt(), nt = t && t.S();
2063
+ function We(t) {
2064
+ rt && rt(), rt = t && t.S();
2035
2065
  }
2036
- function Si(t) {
2037
- var e = this, i = t.data, n = Ei(i);
2066
+ function Ei(t) {
2067
+ var e = this, i = t.data, n = ki(i);
2038
2068
  n.value = i;
2039
- var r = gi(function() {
2069
+ var r = yi(function() {
2040
2070
  for (var a = e, d = e.__v; d = d.__; )
2041
2071
  if (d.__c) {
2042
2072
  d.__c.__$f |= 4;
2043
2073
  break;
2044
2074
  }
2045
- var l = Se(function() {
2075
+ var l = Ee(function() {
2046
2076
  var f = n.value.value;
2047
2077
  return f === 0 ? 0 : f === !0 ? "" : f || "";
2048
- }), u = Se(function() {
2049
- return !Array.isArray(l.value) && !ji(l.value);
2050
- }), h = Oe(function() {
2051
- if (this.N = ki, u.value) {
2078
+ }), u = Ee(function() {
2079
+ return !Array.isArray(l.value) && !Bi(l.value);
2080
+ }), h = Te(function() {
2081
+ if (this.N = Ii, u.value) {
2052
2082
  var f = l.value;
2053
2083
  a.__v && a.__v.__e && a.__v.__e.nodeType === 3 && (a.__v.__e.data = f);
2054
2084
  }
@@ -2059,11 +2089,11 @@ function Si(t) {
2059
2089
  }, []), o = r[0], s = r[1];
2060
2090
  return o.value ? s.peek() : s.value;
2061
2091
  }
2062
- Si.displayName = "_st";
2063
- Object.defineProperties(M.prototype, { constructor: { configurable: !0, value: void 0 }, type: { configurable: !0, value: Si }, props: { configurable: !0, get: function() {
2092
+ Ei.displayName = "_st";
2093
+ Object.defineProperties(M.prototype, { constructor: { configurable: !0, value: void 0 }, type: { configurable: !0, value: Ei }, props: { configurable: !0, get: function() {
2064
2094
  return { data: this };
2065
2095
  } }, __b: { configurable: !0, value: 1 } });
2066
- pe("__b", function(t, e) {
2096
+ be("__b", function(t, e) {
2067
2097
  if (typeof e.type == "string") {
2068
2098
  var i, n = e.props;
2069
2099
  for (var r in n)
@@ -2074,23 +2104,23 @@ pe("__b", function(t, e) {
2074
2104
  }
2075
2105
  t(e);
2076
2106
  });
2077
- pe("__r", function(t, e) {
2078
- He();
2107
+ be("__r", function(t, e) {
2108
+ We();
2079
2109
  var i, n = e.__c;
2080
2110
  n && (n.__$f &= -2, (i = n.__$u) === void 0 && (n.__$u = i = function(r) {
2081
2111
  var o;
2082
- return Oe(function() {
2112
+ return Te(function() {
2083
2113
  o = this;
2084
2114
  }), o.c = function() {
2085
2115
  n.__$f |= 1, n.setState({});
2086
2116
  }, o;
2087
- }())), He(i), t(e);
2117
+ }())), We(i), t(e);
2088
2118
  });
2089
- pe("__e", function(t, e, i, n) {
2090
- He(), t(e, i, n);
2119
+ be("__e", function(t, e, i, n) {
2120
+ We(), t(e, i, n);
2091
2121
  });
2092
- pe("diffed", function(t, e) {
2093
- He();
2122
+ be("diffed", function(t, e) {
2123
+ We();
2094
2124
  var i;
2095
2125
  if (typeof e.type == "string" && (i = e.__e)) {
2096
2126
  var n = e.__np, r = e.props;
@@ -2105,23 +2135,23 @@ pe("diffed", function(t, e) {
2105
2135
  o = {}, i.U = o;
2106
2136
  for (var d in n) {
2107
2137
  var l = o[d], u = n[d];
2108
- l === void 0 ? (l = kr(i, d, u, r), o[d] = l) : l.o(u, r);
2138
+ l === void 0 ? (l = Ir(i, d, u, r), o[d] = l) : l.o(u, r);
2109
2139
  }
2110
2140
  }
2111
2141
  }
2112
2142
  t(e);
2113
2143
  });
2114
- function kr(t, e, i, n) {
2144
+ function Ir(t, e, i, n) {
2115
2145
  var r = e in t && t.ownerSVGElement === void 0, o = E(i);
2116
2146
  return { o: function(s, a) {
2117
2147
  o.value = s, n = a;
2118
- }, d: Oe(function() {
2119
- this.N = ki;
2148
+ }, d: Te(function() {
2149
+ this.N = Ii;
2120
2150
  var s = o.value.value;
2121
2151
  n[e] !== s && (n[e] = s, r ? t[e] = s : s ? t.setAttribute(e, s) : t.removeAttribute(e));
2122
2152
  }) };
2123
2153
  }
2124
- pe("unmount", function(t, e) {
2154
+ be("unmount", function(t, e) {
2125
2155
  if (typeof e.type == "string") {
2126
2156
  var i = e.__e;
2127
2157
  if (i) {
@@ -2143,10 +2173,10 @@ pe("unmount", function(t, e) {
2143
2173
  }
2144
2174
  t(e);
2145
2175
  });
2146
- pe("__h", function(t, e, i, n) {
2176
+ be("__h", function(t, e, i, n) {
2147
2177
  (n < 3 || n === 9) && (e.__$f |= 2), t(e, i, n);
2148
2178
  });
2149
- $i.prototype.shouldComponentUpdate = function(t, e) {
2179
+ ji.prototype.shouldComponentUpdate = function(t, e) {
2150
2180
  var i = this.__$u, n = i && i.s !== void 0;
2151
2181
  for (var r in e)
2152
2182
  return !0;
@@ -2164,26 +2194,26 @@ $i.prototype.shouldComponentUpdate = function(t, e) {
2164
2194
  return !0;
2165
2195
  return !1;
2166
2196
  };
2167
- function Ei(t) {
2168
- return gi(function() {
2197
+ function ki(t) {
2198
+ return yi(function() {
2169
2199
  return E(t);
2170
2200
  }, []);
2171
2201
  }
2172
- var Ir = function(t) {
2202
+ var Rr = function(t) {
2173
2203
  queueMicrotask(function() {
2174
2204
  queueMicrotask(t);
2175
2205
  });
2176
2206
  };
2177
- function Rr() {
2207
+ function xr() {
2178
2208
  D(function() {
2179
- for (var t; t = mi.shift(); )
2180
- _i.call(t);
2209
+ for (var t; t = Si.shift(); )
2210
+ mi.call(t);
2181
2211
  });
2182
2212
  }
2183
- function ki() {
2184
- mi.push(this) === 1 && (fe.requestAnimationFrame || Ir)(Rr);
2213
+ function Ii() {
2214
+ Si.push(this) === 1 && (ve.requestAnimationFrame || Rr)(xr);
2185
2215
  }
2186
- const F = ye`
2216
+ const B = we`
2187
2217
  inset: 0;
2188
2218
  clear: none;
2189
2219
  float: none;
@@ -2202,11 +2232,11 @@ const F = ye`
2202
2232
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans',
2203
2233
  'Helvetica Neue', sans-serif;
2204
2234
  `;
2205
- function xr(t, e) {
2235
+ function Or(t, e) {
2206
2236
  const i = Fi(t);
2207
2237
  Ui(() => {
2208
2238
  i.current = t;
2209
- }, [t]), We(() => {
2239
+ }, [t]), Je(() => {
2210
2240
  if (e === null)
2211
2241
  return;
2212
2242
  const n = setInterval(() => {
@@ -2217,21 +2247,21 @@ function xr(t, e) {
2217
2247
  };
2218
2248
  }, [e]);
2219
2249
  }
2220
- var Or = 0;
2250
+ var Tr = 0;
2221
2251
  function _(t, e, i, n, r, o) {
2222
2252
  e || (e = {});
2223
2253
  var s, a, d = e;
2224
2254
  if ("ref" in d)
2225
2255
  for (a in d = {}, e)
2226
2256
  a == "ref" ? s = e[a] : d[a] = e[a];
2227
- var l = { type: t, props: d, key: i, ref: s, __k: null, __: null, __b: 0, __e: null, __c: null, constructor: void 0, __v: --Or, __i: -1, __u: 0, __source: r, __self: o };
2257
+ var l = { type: t, props: d, key: i, ref: s, __k: null, __: null, __b: 0, __e: null, __c: null, constructor: void 0, __v: --Tr, __i: -1, __u: 0, __source: r, __self: o };
2228
2258
  if (typeof t == "function" && (s = t.defaultProps))
2229
2259
  for (a in s)
2230
2260
  d[a] === void 0 && (d[a] = s[a]);
2231
- return fe.vnode && fe.vnode(l), l;
2261
+ return ve.vnode && ve.vnode(l), l;
2232
2262
  }
2233
- const Tr = ye`
2234
- ${F}
2263
+ const Cr = we`
2264
+ ${B}
2235
2265
  position: fixed;
2236
2266
  top: 0;
2237
2267
  left: 0;
@@ -2244,7 +2274,7 @@ const Tr = ye`
2244
2274
  height: 100vh;
2245
2275
 
2246
2276
  .card-wrapper {
2247
- ${F}
2277
+ ${B}
2248
2278
  position: relative;
2249
2279
  display: flex;
2250
2280
  flex-direction: column;
@@ -2258,7 +2288,7 @@ const Tr = ye`
2258
2288
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
2259
2289
 
2260
2290
  .body {
2261
- ${F}
2291
+ ${B}
2262
2292
  display: flex;
2263
2293
  flex-direction: column;
2264
2294
  width: 100%;
@@ -2267,7 +2297,7 @@ const Tr = ye`
2267
2297
  box-sizing: border-box;
2268
2298
  justify-content: center;
2269
2299
  .title {
2270
- ${F}
2300
+ ${B}
2271
2301
  text-align: center;
2272
2302
  font-size: 16px;
2273
2303
  font-weight: bold;
@@ -2275,7 +2305,7 @@ const Tr = ye`
2275
2305
  }
2276
2306
 
2277
2307
  .content {
2278
- ${F}
2308
+ ${B}
2279
2309
  font-size: 14px;
2280
2310
  color: #888;
2281
2311
  margin-bottom: 16px;
@@ -2283,13 +2313,13 @@ const Tr = ye`
2283
2313
  }
2284
2314
 
2285
2315
  .footer {
2286
- ${F}
2316
+ ${B}
2287
2317
  display: flex;
2288
2318
  align-items: center;
2289
2319
  width: 100%;
2290
2320
  height: 40px;
2291
2321
  button {
2292
- ${F}
2322
+ ${B}
2293
2323
  border: none;
2294
2324
  outline: none;
2295
2325
  height: 100%;
@@ -2305,56 +2335,56 @@ const Tr = ye`
2305
2335
  }
2306
2336
  }
2307
2337
  }
2308
- `, W = E(null), yt = E(""), wt = E(""), Ve = E(!1), Cr = () => {
2338
+ `, W = E(null), wt = E(""), pt = E(""), Ge = E(!1), Dr = () => {
2309
2339
  var t;
2310
2340
  (t = W.value) == null || t.call(W, !1);
2311
- }, Dr = () => {
2341
+ }, Lr = () => {
2312
2342
  var t;
2313
2343
  (t = W.value) == null || t.call(W, !0);
2314
- }, Lr = async (t) => {
2344
+ }, Pr = async (t) => {
2315
2345
  let {
2316
2346
  title: e,
2317
2347
  content: i
2318
2348
  } = t;
2319
2349
  return W.value && (W.value(!1), D(() => {
2320
- W.value = null, Ve.value = !1;
2350
+ W.value = null, Ge.value = !1;
2321
2351
  })), D(() => {
2322
- yt.value = e || "", wt.value = i || "", Ve.value = !0;
2352
+ wt.value = e || "", pt.value = i || "", Ge.value = !0;
2323
2353
  }), new Promise((n) => {
2324
2354
  W.value = (r) => {
2325
2355
  D(() => {
2326
- W.value = null, Ve.value = !1, yt.value = "", wt.value = "";
2356
+ W.value = null, Ge.value = !1, wt.value = "", pt.value = "";
2327
2357
  }), n(r);
2328
2358
  };
2329
2359
  });
2330
- }, Pr = () => Ve.value ? _("div", {
2331
- className: Tr,
2360
+ }, Nr = () => Ge.value ? _("div", {
2361
+ className: Cr,
2332
2362
  children: _("div", {
2333
2363
  className: "card-wrapper",
2334
2364
  children: [_("div", {
2335
2365
  className: "body",
2336
2366
  children: [_("div", {
2337
2367
  className: "title",
2338
- children: yt.value
2368
+ children: wt.value
2339
2369
  }), _("div", {
2340
2370
  className: "content",
2341
- children: wt.value
2371
+ children: pt.value
2342
2372
  })]
2343
2373
  }), _("div", {
2344
2374
  className: "footer",
2345
2375
  children: [_("button", {
2346
- onClick: Cr,
2376
+ onClick: Dr,
2347
2377
  className: "cancel-btn",
2348
2378
  children: "Cancel"
2349
2379
  }), _("button", {
2350
- onClick: Dr,
2380
+ onClick: Lr,
2351
2381
  className: "confirm-btm",
2352
2382
  children: "Confirm"
2353
2383
  })]
2354
2384
  })]
2355
2385
  })
2356
- }) : null, Nr = ye`
2357
- ${F}
2386
+ }) : null, Mr = we`
2387
+ ${B}
2358
2388
  position: relative;
2359
2389
  display: flex;
2360
2390
  align-items: center;
@@ -2372,7 +2402,7 @@ const Tr = ye`
2372
2402
  }
2373
2403
 
2374
2404
  button {
2375
- ${F}
2405
+ ${B}
2376
2406
  padding: 0 20px;
2377
2407
  height: 30px;
2378
2408
  line-height: 30px;
@@ -2386,7 +2416,7 @@ const Tr = ye`
2386
2416
  cursor: not-allowed;
2387
2417
  }
2388
2418
  }
2389
- `, Mr = () => {
2419
+ `, $r = () => {
2390
2420
  const t = E(!1), e = E(null);
2391
2421
  return {
2392
2422
  timerPaused: t,
@@ -2397,7 +2427,7 @@ const Tr = ye`
2397
2427
  });
2398
2428
  }
2399
2429
  };
2400
- }, $r = (t) => {
2430
+ }, jr = (t) => {
2401
2431
  let {
2402
2432
  countdown: e = 0,
2403
2433
  mode: i,
@@ -2407,26 +2437,26 @@ const Tr = ye`
2407
2437
  const {
2408
2438
  startTimestamp: o,
2409
2439
  timerPaused: s
2410
- } = r, a = Ei(e);
2411
- xr(() => {
2440
+ } = r, a = ki(e);
2441
+ Or(() => {
2412
2442
  a.value > 0 ? a.value -= 1 : D(() => {
2413
2443
  s.value = !0, a.value = 0;
2414
2444
  });
2415
2445
  }, s.value ? null : 1e3);
2416
- const d = Se(() => {
2446
+ const d = Ee(() => {
2417
2447
  if (i === "interstitial" || i === "rewarded_insterstitial" || !o.value)
2418
2448
  return !1;
2419
2449
  const f = Date.now() - o.value;
2420
2450
  return a.value > 0 && e - a.value >= 5 && f >= 5e3;
2421
- }), l = Se(() => {
2451
+ }), l = Ee(() => {
2422
2452
  if (i === "interstitial")
2423
2453
  return !0;
2424
2454
  if (!o.value)
2425
2455
  return !1;
2426
2456
  const f = Date.now() - o.value;
2427
2457
  return a.value <= 0 && f >= (e - 1) * 1e3 && e > 5;
2428
- }), u = Se(() => i === "interstitial" ? !1 : !d.value && !l.value), h = async () => {
2429
- if (s.value = !0, !await Lr({
2458
+ }), u = Ee(() => i === "interstitial" ? !1 : !d.value && !l.value), h = async () => {
2459
+ if (s.value = !0, !await Pr({
2430
2460
  title: "Are you sure?",
2431
2461
  content: "You will lose your reward if you dismiss this Ad."
2432
2462
  })) {
@@ -2442,7 +2472,7 @@ const Tr = ye`
2442
2472
  });
2443
2473
  };
2444
2474
  return _("div", {
2445
- className: Nr,
2475
+ className: Mr,
2446
2476
  children: [a.value > 0 && i !== "interstitial" && _("div", {
2447
2477
  className: "timer",
2448
2478
  children: [a.value, "s"]
@@ -2462,7 +2492,7 @@ const Tr = ye`
2462
2492
  })
2463
2493
  })]
2464
2494
  });
2465
- }, Ii = () => {
2495
+ }, Ri = () => {
2466
2496
  const t = E(), e = E(), i = E(), n = E(), r = E(), o = E(!1), s = E(15), a = E(""), d = E("reward");
2467
2497
  return {
2468
2498
  afterAd: t,
@@ -2475,8 +2505,8 @@ const Tr = ye`
2475
2505
  src: a,
2476
2506
  mode: d
2477
2507
  };
2478
- }, jr = ye`
2479
- ${F}
2508
+ }, Br = we`
2509
+ ${B}
2480
2510
  position: fixed;
2481
2511
  z-index: 2147483647;
2482
2512
  background: white;
@@ -2486,7 +2516,7 @@ const Tr = ye`
2486
2516
  flex-direction: column;
2487
2517
 
2488
2518
  iframe {
2489
- ${F}
2519
+ ${B}
2490
2520
  flex: 1;
2491
2521
  position: relative;
2492
2522
  display: block;
@@ -2494,7 +2524,7 @@ const Tr = ye`
2494
2524
  width: 100%;
2495
2525
  height: 100%;
2496
2526
  }
2497
- `, Ri = (t) => {
2527
+ `, xi = (t) => {
2498
2528
  let {
2499
2529
  state: e
2500
2530
  } = t;
@@ -2508,20 +2538,20 @@ const Tr = ye`
2508
2538
  countdown: d,
2509
2539
  src: l,
2510
2540
  mode: u
2511
- } = e, h = Bi(() => Mr(), []), [c, f] = Xt(!1), w = (p) => {
2541
+ } = e, h = Vi(() => $r(), []), [c, f] = Qt(!1), w = (p) => {
2512
2542
  var y, v, b, T;
2513
2543
  a.value = !1, p === "dismiss" ? (y = n.value) == null || y.call(n) : p === "viewed" && ((v = r.value) == null || v.call(r)), (b = i.value) == null || b.call(i), (T = o.value) == null || T.call(o), f(!1);
2514
- }, g = Vi(() => {
2544
+ }, g = Gi(() => {
2515
2545
  var p;
2516
2546
  c || (f(!0), (p = s.value) == null || p.call(s));
2517
2547
  }, [c]);
2518
- return We(() => {
2548
+ return Je(() => {
2519
2549
  c && (u.value === "reward" || u.value === "rewarded_insterstitial") && setTimeout(() => {
2520
2550
  h.startTimer();
2521
2551
  }, 100);
2522
2552
  }, [c, u.value]), a.value ? _("div", {
2523
- className: jr,
2524
- children: [_($r, {
2553
+ className: Br,
2554
+ children: [_(jr, {
2525
2555
  mode: u.value,
2526
2556
  onClose: w,
2527
2557
  countdown: d.value,
@@ -2530,7 +2560,7 @@ const Tr = ye`
2530
2560
  src: l.value,
2531
2561
  onLoad: g,
2532
2562
  sandbox: "allow-scripts allow-same-origin allow-forms allow-modals allow-downloads allow-popups allow-popups-to-escape-sandbox allow-top-navigation-by-user-activation allow-top-navigation allow-top-navigation-by-user-activation allow-top-navigation-to-custom-protocols"
2533
- }), _(Pr, {})]
2563
+ }), _(Nr, {})]
2534
2564
  }) : null;
2535
2565
  };
2536
2566
  function Z(t, e, i) {
@@ -2552,13 +2582,13 @@ function Ur(t, e) {
2552
2582
  }
2553
2583
  return (e === "string" ? String : Number)(t);
2554
2584
  }
2555
- class Br {
2585
+ class Vr {
2556
2586
  constructor(e, i) {
2557
- Z(this, "name", "OKSPIN"), Z(this, "initialized", !1), Z(this, "initCompleter", null), Z(this, "context", void 0), Z(this, "initParams", void 0), Z(this, "adsOverlay", null), Z(this, "adsIsShowing", !1), Z(this, "lastUnDisplayedAdBreak", null), Z(this, "state", Ii()), this.context = e, this.initParams = i;
2587
+ Z(this, "name", "OKSPIN"), Z(this, "initialized", !1), Z(this, "initCompleter", null), Z(this, "context", void 0), Z(this, "initParams", void 0), Z(this, "adsOverlay", null), Z(this, "adsIsShowing", !1), Z(this, "lastUnDisplayedAdBreak", null), Z(this, "state", Ri()), this.context = e, this.initParams = i;
2558
2588
  }
2559
2589
  async init() {
2560
2590
  var e;
2561
- this.adsOverlay = document.createElement("div"), this.adsOverlay.setAttribute("data-placement-info", "afg"), oe(_(Ri, {
2591
+ this.adsOverlay = document.createElement("div"), this.adsOverlay.setAttribute("data-placement-info", "afg"), oe(_(xi, {
2562
2592
  state: this.state
2563
2593
  }), this.adsOverlay), document.documentElement.appendChild(this.adsOverlay), this.initialized = !0, (e = this.initCompleter) == null || e.call(this);
2564
2594
  }
@@ -2675,17 +2705,17 @@ class Br {
2675
2705
  }
2676
2706
  }
2677
2707
  }
2678
- const ce = {};
2708
+ const he = {};
2679
2709
  window.addEventListener("message", (t) => {
2680
- t.origin !== "https://ads.appsrockets.com" && t.origin !== "https://stg-ads.appsrockets.com" || ce[t.data.type] && ce[t.data.type].forEach((e) => {
2710
+ t.origin !== "https://ads.appsrockets.com" && t.origin !== "https://stg-ads.appsrockets.com" || he[t.data.type] && he[t.data.type].forEach((e) => {
2681
2711
  e(t.data.data);
2682
2712
  });
2683
2713
  });
2684
- const ae = (t, e) => {
2685
- We(() => (ce[t] || (ce[t] = /* @__PURE__ */ new Set()), ce[t].add(e), () => {
2686
- ce[t].delete(e);
2714
+ const de = (t, e) => {
2715
+ Je(() => (he[t] || (he[t] = /* @__PURE__ */ new Set()), he[t].add(e), () => {
2716
+ he[t].delete(e);
2687
2717
  }), [t, e]);
2688
- }, xi = () => {
2718
+ }, Oi = () => {
2689
2719
  const t = E(), e = E(), i = E(), n = E(), r = E(), o = E(), s = E(), a = E(!1), d = E("");
2690
2720
  return {
2691
2721
  afterAd: t,
@@ -2698,8 +2728,8 @@ const ae = (t, e) => {
2698
2728
  visible: a,
2699
2729
  src: d
2700
2730
  };
2701
- }, Vr = ye`
2702
- ${F}
2731
+ }, Gr = we`
2732
+ ${B}
2703
2733
  position: fixed;
2704
2734
  z-index: 2147483647;
2705
2735
  background: white;
@@ -2709,7 +2739,7 @@ const ae = (t, e) => {
2709
2739
  flex-direction: column;
2710
2740
 
2711
2741
  iframe {
2712
- ${F}
2742
+ ${B}
2713
2743
  flex: 1;
2714
2744
  position: relative;
2715
2745
  display: block;
@@ -2717,7 +2747,7 @@ const ae = (t, e) => {
2717
2747
  width: 100%;
2718
2748
  height: 100%;
2719
2749
  }
2720
- `, Oi = (t) => {
2750
+ `, Ti = (t) => {
2721
2751
  let {
2722
2752
  state: e
2723
2753
  } = t;
@@ -2730,18 +2760,18 @@ const ae = (t, e) => {
2730
2760
  adLinkClicked: a,
2731
2761
  visible: d,
2732
2762
  src: l
2733
- } = e, [u, h] = Xt(!1), c = (w) => {
2763
+ } = e, [u, h] = Qt(!1), c = (w) => {
2734
2764
  var g, p, y, v;
2735
2765
  h(!1), d.value = !1, w === "dismiss" ? (g = n.value) == null || g.call(n) : w === "viewed" && ((p = r.value) == null || p.call(r)), (y = i.value) == null || y.call(i), (v = o.value) == null || v.call(o);
2736
2766
  }, f = () => {
2737
2767
  var w;
2738
2768
  (w = s.value) == null || w.call(s);
2739
2769
  };
2740
- return ae("appsrockets_ad_dismissed", () => c("dismiss")), ae("appsrockets_ad_rewarded", () => c("viewed")), ae("appsrockets_ad_completed", () => c("viewed")), ae("appsrockets_ad_skipped", () => c("viewed")), ae("appsrockets_ad_clicked", (w) => {
2770
+ return de("appsrockets_ad_dismissed", () => c("dismiss")), de("appsrockets_ad_rewarded", () => c("viewed")), de("appsrockets_ad_completed", () => c("viewed")), de("appsrockets_ad_skipped", () => c("viewed")), de("appsrockets_ad_clicked", (w) => {
2741
2771
  var g;
2742
2772
  return (g = a.value) == null ? void 0 : g.call(a, w);
2743
- }), ae("appsrockets_ad_loaded", () => h(!0)), d.value ? _("div", {
2744
- className: Vr,
2773
+ }), de("appsrockets_ad_loaded", () => h(!0)), d.value ? _("div", {
2774
+ className: Gr,
2745
2775
  style: {
2746
2776
  display: u ? "flex" : "none"
2747
2777
  },
@@ -2755,13 +2785,13 @@ const ae = (t, e) => {
2755
2785
  }) : null;
2756
2786
  };
2757
2787
  function ee(t, e, i) {
2758
- return (e = Gr(e)) in t ? Object.defineProperty(t, e, { value: i, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = i, t;
2788
+ return (e = qr(e)) in t ? Object.defineProperty(t, e, { value: i, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = i, t;
2759
2789
  }
2760
- function Gr(t) {
2761
- var e = qr(t, "string");
2790
+ function qr(t) {
2791
+ var e = Kr(t, "string");
2762
2792
  return typeof e == "symbol" ? e : e + "";
2763
2793
  }
2764
- function qr(t, e) {
2794
+ function Kr(t, e) {
2765
2795
  if (typeof t != "object" || !t)
2766
2796
  return t;
2767
2797
  var i = t[Symbol.toPrimitive];
@@ -2773,9 +2803,9 @@ function qr(t, e) {
2773
2803
  }
2774
2804
  return (e === "string" ? String : Number)(t);
2775
2805
  }
2776
- class Kr {
2806
+ class zr {
2777
2807
  constructor(e, i) {
2778
- ee(this, "name", "APPSROCKETS"), ee(this, "initialized", !1), ee(this, "initCompleter", null), ee(this, "context", void 0), ee(this, "adsOverlay", null), ee(this, "adsIsShowing", !1), ee(this, "lastUnDisplayedAdBreak", null), ee(this, "state", xi()), ee(this, "processUrl", (n) => {
2808
+ ee(this, "name", "APPSROCKETS"), ee(this, "initialized", !1), ee(this, "initCompleter", null), ee(this, "context", void 0), ee(this, "adsOverlay", null), ee(this, "adsIsShowing", !1), ee(this, "lastUnDisplayedAdBreak", null), ee(this, "state", Oi()), ee(this, "processUrl", (n) => {
2779
2809
  var a;
2780
2810
  const r = this.context.getContextInfo(), o = new URL(n), s = new URLSearchParams(o.search);
2781
2811
  return s.has("joliSource") || s.set("joliSource", r.joliSource), s.get("osType") || s.set("osType", r.osType), s.get("runtimeType") || s.set("runtimeType", r.runtimeType), s.get("mode") || s.set("mode", "AFG"), s.get("deviceId") || s.set("deviceId", r.deviceId), s.get("statusBarHeight") || s.set("statusBarHeight", ((a = this.context.getWindowInfo().statusBarHeight) != null ? a : 0).toString()), o.search = s.toString(), o.toString();
@@ -2783,7 +2813,7 @@ class Kr {
2783
2813
  }
2784
2814
  async init() {
2785
2815
  var e;
2786
- this.adsOverlay = document.createElement("div"), this.adsOverlay.setAttribute("data-placement-info", "afg-appsrockets"), oe(_(Oi, {
2816
+ this.adsOverlay = document.createElement("div"), this.adsOverlay.setAttribute("data-placement-info", "afg-appsrockets"), oe(_(Ti, {
2787
2817
  state: this.state
2788
2818
  }), this.adsOverlay), document.documentElement.appendChild(this.adsOverlay), this.initialized = !0, (e = this.initCompleter) == null || e.call(this);
2789
2819
  }
@@ -2913,7 +2943,7 @@ class Kr {
2913
2943
  }
2914
2944
  }
2915
2945
  }
2916
- const Ti = () => {
2946
+ const Ci = () => {
2917
2947
  window.googletag = window.googletag || {
2918
2948
  cmd: []
2919
2949
  }, window.googletag.pubadsReady || window.googletag.cmd.push(() => {
@@ -2921,13 +2951,13 @@ const Ti = () => {
2921
2951
  });
2922
2952
  };
2923
2953
  function $(t, e, i) {
2924
- return (e = zr(e)) in t ? Object.defineProperty(t, e, { value: i, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = i, t;
2954
+ return (e = Hr(e)) in t ? Object.defineProperty(t, e, { value: i, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = i, t;
2925
2955
  }
2926
- function zr(t) {
2927
- var e = Hr(t, "string");
2956
+ function Hr(t) {
2957
+ var e = Wr(t, "string");
2928
2958
  return typeof e == "symbol" ? e : e + "";
2929
2959
  }
2930
- function Hr(t, e) {
2960
+ function Wr(t, e) {
2931
2961
  if (typeof t != "object" || !t)
2932
2962
  return t;
2933
2963
  var i = t[Symbol.toPrimitive];
@@ -2939,7 +2969,7 @@ function Hr(t, e) {
2939
2969
  }
2940
2970
  return (e === "string" ? String : Number)(t);
2941
2971
  }
2942
- class Ci {
2972
+ class Di {
2943
2973
  constructor(e, i, n) {
2944
2974
  $(this, "adUnit", void 0), $(this, "project", void 0), $(this, "keyValue", void 0), $(this, "adsContext", null), $(this, "rewardedSlot", null), $(this, "rewardedPayload", null), $(this, "readyEvent", null), $(this, "withCommand", function() {
2945
2975
  googletag.cmd.push(...arguments);
@@ -2993,19 +3023,19 @@ class Ci {
2993
3023
  }, 500);
2994
3024
  }
2995
3025
  });
2996
- }), this.adUnit = e, this.project = i, this.keyValue = n, Ti(), this.withCommand(() => {
3026
+ }), this.adUnit = e, this.project = i, this.keyValue = n, Ci(), this.withCommand(() => {
2997
3027
  this.init();
2998
3028
  });
2999
3029
  }
3000
3030
  }
3001
3031
  function V(t, e, i) {
3002
- return (e = Wr(e)) in t ? Object.defineProperty(t, e, { value: i, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = i, t;
3032
+ return (e = Jr(e)) in t ? Object.defineProperty(t, e, { value: i, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = i, t;
3003
3033
  }
3004
- function Wr(t) {
3005
- var e = Jr(t, "string");
3034
+ function Jr(t) {
3035
+ var e = Yr(t, "string");
3006
3036
  return typeof e == "symbol" ? e : e + "";
3007
3037
  }
3008
- function Jr(t, e) {
3038
+ function Yr(t, e) {
3009
3039
  if (typeof t != "object" || !t)
3010
3040
  return t;
3011
3041
  var i = t[Symbol.toPrimitive];
@@ -3017,7 +3047,7 @@ function Jr(t, e) {
3017
3047
  }
3018
3048
  return (e === "string" ? String : Number)(t);
3019
3049
  }
3020
- class Yr {
3050
+ class Xr {
3021
3051
  constructor(e, i, n) {
3022
3052
  var r = this;
3023
3053
  V(this, "adUnit", void 0), V(this, "project", void 0), V(this, "keyValue", void 0), V(this, "adsContext", null), V(this, "gamingInterstitialSlot", null), V(this, "readyEvent", null), V(this, "isRetrying", !1), V(this, "withCommand", function() {
@@ -3054,19 +3084,19 @@ class Yr {
3054
3084
  }), this.isRetrying = !1;
3055
3085
  }, 31e3)));
3056
3086
  });
3057
- }), Ti(), this.adUnit = e, this.project = i, this.keyValue = n, this.withCommand(() => {
3087
+ }), Ci(), this.adUnit = e, this.project = i, this.keyValue = n, this.withCommand(() => {
3058
3088
  this.init();
3059
3089
  });
3060
3090
  }
3061
3091
  }
3062
3092
  function se(t, e, i) {
3063
- return (e = Xr(e)) in t ? Object.defineProperty(t, e, { value: i, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = i, t;
3093
+ return (e = Qr(e)) in t ? Object.defineProperty(t, e, { value: i, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = i, t;
3064
3094
  }
3065
- function Xr(t) {
3066
- var e = Qr(t, "string");
3095
+ function Qr(t) {
3096
+ var e = Zr(t, "string");
3067
3097
  return typeof e == "symbol" ? e : e + "";
3068
3098
  }
3069
- function Qr(t, e) {
3099
+ function Zr(t, e) {
3070
3100
  if (typeof t != "object" || !t)
3071
3101
  return t;
3072
3102
  var i = t[Symbol.toPrimitive];
@@ -3078,7 +3108,7 @@ function Qr(t, e) {
3078
3108
  }
3079
3109
  return (e === "string" ? String : Number)(t);
3080
3110
  }
3081
- class Zr {
3111
+ class eo {
3082
3112
  constructor(e, i) {
3083
3113
  se(this, "name", "GOOGLE_GPT"), se(this, "context", void 0), se(this, "contextInfo", void 0), se(this, "initParams", void 0), se(this, "rewardAdManager", void 0), se(this, "interstitialManager", void 0), se(this, "insertScript", () => {
3084
3114
  const n = "jolibox-google-gpt";
@@ -3088,7 +3118,7 @@ class Zr {
3088
3118
  }
3089
3119
  async init() {
3090
3120
  const e = this.contextInfo.testAdsMode ? "/22639388115/rewarded_web_example" : this.initParams.rewardedSlot, i = this.contextInfo.testAdsMode ? "/6355419/Travel/Europe/France/Paris" : this.initParams.interstitialSlot, r = `minigame-${this.contextInfo.runtimeType === "APP" ? "app" : "h5"}`;
3091
- e && (this.rewardAdManager = new Ci(e, r, this.initParams.keyValue)), i && (this.interstitialManager = new Yr(i, r, this.initParams.keyValue));
3121
+ e && (this.rewardAdManager = new Di(e, r, this.initParams.keyValue)), i && (this.interstitialManager = new Xr(i, r, this.initParams.keyValue));
3092
3122
  }
3093
3123
  adConfig(e, i) {
3094
3124
  }
@@ -3159,14 +3189,14 @@ class Zr {
3159
3189
  }
3160
3190
  }
3161
3191
  }
3162
- function rt(t, e, i) {
3163
- return (e = eo(e)) in t ? Object.defineProperty(t, e, { value: i, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = i, t;
3192
+ function ot(t, e, i) {
3193
+ return (e = to(e)) in t ? Object.defineProperty(t, e, { value: i, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = i, t;
3164
3194
  }
3165
- function eo(t) {
3166
- var e = to(t, "string");
3195
+ function to(t) {
3196
+ var e = io(t, "string");
3167
3197
  return typeof e == "symbol" ? e : e + "";
3168
3198
  }
3169
- function to(t, e) {
3199
+ function io(t, e) {
3170
3200
  if (typeof t != "object" || !t)
3171
3201
  return t;
3172
3202
  var i = t[Symbol.toPrimitive];
@@ -3178,10 +3208,10 @@ function to(t, e) {
3178
3208
  }
3179
3209
  return (e === "string" ? String : Number)(t);
3180
3210
  }
3181
- class io {
3211
+ class no {
3182
3212
  constructor(e) {
3183
3213
  let i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "GAME";
3184
- rt(this, "context", void 0), rt(this, "placement", "GAME"), rt(this, "contextInfo", void 0), this.context = e, this.placement = i, this.contextInfo = this.context.getContextInfo();
3214
+ ot(this, "context", void 0), ot(this, "placement", "GAME"), ot(this, "contextInfo", void 0), this.context = e, this.placement = i, this.contextInfo = this.context.getContextInfo();
3185
3215
  }
3186
3216
  getLocation() {
3187
3217
  const e = new URLSearchParams(window.location.search), i = {};
@@ -3195,7 +3225,7 @@ class io {
3195
3225
  getDevice() {
3196
3226
  var e, i, n, r;
3197
3227
  return {
3198
- platform: (e = this.contextInfo.platform) != null ? e : ni.WebSDK,
3228
+ platform: (e = this.contextInfo.platform) != null ? e : ri.WebSDK,
3199
3229
  os: this.contextInfo.osType + "_" + this.contextInfo.runtimeType,
3200
3230
  appVersion: "1.0.0",
3201
3231
  // mock
@@ -3214,7 +3244,7 @@ class io {
3214
3244
  protocolVersion: "1.0.0",
3215
3245
  events: [{
3216
3246
  name: e,
3217
- type: ti.System,
3247
+ type: ii.System,
3218
3248
  location: this.getLocation(),
3219
3249
  target: null,
3220
3250
  extra: i,
@@ -3222,19 +3252,19 @@ class io {
3222
3252
  userId: (o = this.contextInfo.userId) != null ? o : null
3223
3253
  }],
3224
3254
  device: this.getDevice(),
3225
- project: ii.WebSDK
3255
+ project: ni.WebSDK
3226
3256
  };
3227
- return un(r);
3257
+ return cn(r);
3228
3258
  }
3229
3259
  }
3230
- function U(t, e, i) {
3231
- return (e = no(e)) in t ? Object.defineProperty(t, e, { value: i, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = i, t;
3260
+ function F(t, e, i) {
3261
+ return (e = ro(e)) in t ? Object.defineProperty(t, e, { value: i, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = i, t;
3232
3262
  }
3233
- function no(t) {
3234
- var e = ro(t, "string");
3263
+ function ro(t) {
3264
+ var e = oo(t, "string");
3235
3265
  return typeof e == "symbol" ? e : e + "";
3236
3266
  }
3237
- function ro(t, e) {
3267
+ function oo(t, e) {
3238
3268
  if (typeof t != "object" || !t)
3239
3269
  return t;
3240
3270
  var i = t[Symbol.toPrimitive];
@@ -3246,9 +3276,9 @@ function ro(t, e) {
3246
3276
  }
3247
3277
  return (e === "string" ? String : Number)(t);
3248
3278
  }
3249
- class mt {
3279
+ class St {
3250
3280
  constructor(e) {
3251
- U(this, "context", void 0), U(this, "adsTrackSerializer", void 0), U(this, "contextInfo", void 0), this.context = e, this.contextInfo = e.getContextInfo(), this.adsTrackSerializer = new io(this.context);
3281
+ F(this, "context", void 0), F(this, "adsTrackSerializer", void 0), F(this, "contextInfo", void 0), this.context = e, this.contextInfo = e.getContextInfo(), this.adsTrackSerializer = new no(this.context);
3252
3282
  }
3253
3283
  getRequestContextData(e) {
3254
3284
  var r, o;
@@ -3284,13 +3314,13 @@ class mt {
3284
3314
  };
3285
3315
  }
3286
3316
  }
3287
- class Di {
3317
+ class Li {
3288
3318
  constructor(e, i) {
3289
3319
  var n = this;
3290
- U(this, "context", void 0), U(this, "contextInfo", void 0), U(this, "requestContext", void 0), U(this, "pendingAFGAdsInfo", {
3320
+ F(this, "context", void 0), F(this, "contextInfo", void 0), F(this, "requestContext", void 0), F(this, "pendingAFGAdsInfo", {
3291
3321
  REWARD: Promise.resolve(null),
3292
3322
  INTERSTITIAL: Promise.resolve(null)
3293
- }), U(this, "pendingAFVAdsInfo", Promise.resolve(null)), U(this, "doFetchAdsInfo", async (r) => {
3323
+ }), F(this, "pendingAFVAdsInfo", Promise.resolve(null)), F(this, "doFetchAdsInfo", async (r) => {
3294
3324
  const o = r === "afv" ? "AdsAFVSDKRequest" : "AdsAFGSDKAdBreak", s = r === "afv" ? "REWARD_INTERSTITIAL" : r === "reward" ? "REWARD" : "INTERSTITIAL", a = r === "afv" ? void 0 : "cached", {
3295
3325
  data: d,
3296
3326
  code: l
@@ -3307,34 +3337,34 @@ class Di {
3307
3337
  code: l,
3308
3338
  data: d
3309
3339
  } : null;
3310
- }), U(this, "cacheRewardInfo", () => {
3340
+ }), F(this, "cacheRewardInfo", () => {
3311
3341
  this.pendingAFGAdsInfo.REWARD = this.doFetchAdsInfo("reward").catch(() => null);
3312
- }), U(this, "cacheInterstitialInfo", (r) => {
3342
+ }), F(this, "cacheInterstitialInfo", (r) => {
3313
3343
  this.pendingAFGAdsInfo.INTERSTITIAL = this.doFetchAdsInfo(r).catch(() => null);
3314
- }), U(this, "cacheAFVInfo", () => {
3344
+ }), F(this, "cacheAFVInfo", () => {
3315
3345
  this.pendingAFVAdsInfo = this.doFetchAdsInfo("afv").catch(() => null);
3316
- }), U(this, "cacheNextAFGAdsInfo", async (r) => {
3346
+ }), F(this, "cacheNextAFGAdsInfo", async (r) => {
3317
3347
  r === "reward" ? this.cacheRewardInfo() : this.cacheInterstitialInfo(r);
3318
- }), U(this, "getAFGAdsInfo", async (r) => {
3348
+ }), F(this, "getAFGAdsInfo", async (r) => {
3319
3349
  const o = await (r === "reward" ? this.pendingAFGAdsInfo.REWARD : this.pendingAFGAdsInfo.INTERSTITIAL);
3320
3350
  return this.cacheNextAFGAdsInfo(r), o;
3321
- }), U(this, "getAFVAdsInfo", async function() {
3351
+ }), F(this, "getAFVAdsInfo", async function() {
3322
3352
  if (arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !0) {
3323
3353
  const o = await n.pendingAFVAdsInfo;
3324
3354
  return n.cacheAFVInfo(), o;
3325
3355
  } else
3326
3356
  return n.cacheAFVInfo(), await n.pendingAFVAdsInfo;
3327
- }), this.context = e, this.contextInfo = this.context.getContextInfo(), this.requestContext = new mt(e), i != null && i.reward && this.cacheRewardInfo(), i != null && i.interstitial && this.cacheInterstitialInfo("start"), i != null && i.afv && this.cacheAFVInfo();
3357
+ }), this.context = e, this.contextInfo = this.context.getContextInfo(), this.requestContext = new St(e), i != null && i.reward && this.cacheRewardInfo(), i != null && i.interstitial && this.cacheInterstitialInfo("start"), i != null && i.afv && this.cacheAFVInfo();
3328
3358
  }
3329
3359
  }
3330
3360
  function z(t, e, i) {
3331
- return (e = oo(e)) in t ? Object.defineProperty(t, e, { value: i, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = i, t;
3361
+ return (e = so(e)) in t ? Object.defineProperty(t, e, { value: i, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = i, t;
3332
3362
  }
3333
- function oo(t) {
3334
- var e = so(t, "string");
3363
+ function so(t) {
3364
+ var e = ao(t, "string");
3335
3365
  return typeof e == "symbol" ? e : e + "";
3336
3366
  }
3337
- function so(t, e) {
3367
+ function ao(t, e) {
3338
3368
  if (typeof t != "object" || !t)
3339
3369
  return t;
3340
3370
  var i = t[Symbol.toPrimitive];
@@ -3346,10 +3376,10 @@ function so(t, e) {
3346
3376
  }
3347
3377
  return (e === "string" ? String : Number)(t);
3348
3378
  }
3349
- class Bo {
3379
+ class Vo {
3350
3380
  constructor(e) {
3351
3381
  if (z(this, "context", void 0), z(this, "contextInfo", void 0), z(this, "providers", {}), z(this, "channelPolicy", void 0), z(this, "adsActionDetection", void 0), z(this, "requestContext", void 0), z(this, "adsRequest", void 0), z(this, "initialized", !1), z(this, "adsIsShowing", !1), z(this, "lastAdBreak", void 0), z(this, "initializedTimeStamp", Date.now()), e)
3352
- this.context = e, this.channelPolicy = new On(this.context), this.adsActionDetection = new In(this.context), this.contextInfo = this.context.getContextInfo(), this.adsRequest = new Di(e), this.requestContext = new mt(e);
3382
+ this.context = e, this.channelPolicy = new Tn(this.context), this.adsActionDetection = new Rn(this.context), this.contextInfo = this.context.getContextInfo(), this.adsRequest = new Li(e), this.requestContext = new St(e);
3353
3383
  else
3354
3384
  throw new Error("JoliboxAdsForGame requires a configuration object");
3355
3385
  }
@@ -3368,23 +3398,23 @@ class Bo {
3368
3398
  for (const n of i)
3369
3399
  switch (n.provider) {
3370
3400
  case "GOOGLE_GPT": {
3371
- const r = new Zr(this.context, n.params);
3401
+ const r = new eo(this.context, n.params);
3372
3402
  await r.init(), this.providers[n.provider] = r;
3373
3403
  break;
3374
3404
  }
3375
3405
  case "ADSENSE":
3376
3406
  case "ADSENSE_ADMOB": {
3377
- const r = new Dn(this.context, n.params);
3407
+ const r = new Ln(this.context, n.params);
3378
3408
  await r.init(), this.providers[n.provider] = r;
3379
3409
  break;
3380
3410
  }
3381
3411
  case "OKSPIN": {
3382
- const r = new Br(this.context, n.params);
3412
+ const r = new Vr(this.context, n.params);
3383
3413
  await r.init(), this.providers.OKSPIN = r;
3384
3414
  break;
3385
3415
  }
3386
3416
  case "APPSROCKETS": {
3387
- const r = new Kr(this.context, n.params);
3417
+ const r = new zr(this.context, n.params);
3388
3418
  await r.init(), this.providers.APPSROCKETS = r;
3389
3419
  break;
3390
3420
  }
@@ -3456,8 +3486,8 @@ class Bo {
3456
3486
  }
3457
3487
  case "reward": {
3458
3488
  e.beforeReward(() => {
3459
- var R, O, A, Te;
3460
- (R = e.beforeAd) == null || R.call(e), (O = e.adViewed) == null || O.call(e), (A = e.afterAd) == null || A.call(e), (Te = e.adBreakDone) == null || Te.call(e, {
3489
+ var R, O, A, Ce;
3490
+ (R = e.beforeAd) == null || R.call(e), (O = e.adViewed) == null || O.call(e), (A = e.afterAd) == null || A.call(e), (Ce = e.adBreakDone) == null || Ce.call(e, {
3461
3491
  breakType: e.type,
3462
3492
  breakName: e.name,
3463
3493
  breakFormat: "reward",
@@ -3487,7 +3517,7 @@ class Bo {
3487
3517
  });
3488
3518
  return;
3489
3519
  } else {
3490
- const R = b.sort((Ce, De) => Ce.seq - De.seq);
3520
+ const R = b.sort((De, Le) => De.seq - Le.seq);
3491
3521
  if (R.length === 0) {
3492
3522
  (w = e.adBreakDone) == null || w.call(e, {
3493
3523
  breakType: e.type,
@@ -3498,15 +3528,15 @@ class Bo {
3498
3528
  return;
3499
3529
  }
3500
3530
  let O = !0, A = null;
3501
- const Te = new Sn(this.context);
3531
+ const Ce = new En(this.context);
3502
3532
  for (this.adsActionDetection.adBreakIsShowing = !0; R.length > 0; ) {
3503
- const Ce = R.shift(), De = this.providers[Ce.provider];
3504
- if (De) {
3505
- const [Li, Pi] = await Te.callAdBreakAndContinue(De, e, Ce, (St) => {
3506
- var Et;
3507
- this.adsIsShowing = St, (Et = this.context.eventEmitter) == null || Et.emit("isAdShowing", St);
3533
+ const De = R.shift(), Le = this.providers[De.provider];
3534
+ if (Le) {
3535
+ const [Pi, Ni] = await Ce.callAdBreakAndContinue(Le, e, De, (Et) => {
3536
+ var kt;
3537
+ this.adsIsShowing = Et, (kt = this.context.eventEmitter) == null || kt.emit("isAdShowing", Et);
3508
3538
  });
3509
- O = Li, A = Pi;
3539
+ O = Pi, A = Ni;
3510
3540
  } else
3511
3541
  O = !0, A = {
3512
3542
  breakType: e.type,
@@ -3533,14 +3563,14 @@ class Bo {
3533
3563
  console.warn("This method has been deprecated. We will not support AdSense AdUnit in the future.");
3534
3564
  }
3535
3565
  }
3536
- function Me(t, e, i) {
3537
- return (e = ao(e)) in t ? Object.defineProperty(t, e, { value: i, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = i, t;
3566
+ function $e(t, e, i) {
3567
+ return (e = lo(e)) in t ? Object.defineProperty(t, e, { value: i, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = i, t;
3538
3568
  }
3539
- function ao(t) {
3540
- var e = lo(t, "string");
3569
+ function lo(t) {
3570
+ var e = uo(t, "string");
3541
3571
  return typeof e == "symbol" ? e : e + "";
3542
3572
  }
3543
- function lo(t, e) {
3573
+ function uo(t, e) {
3544
3574
  if (typeof t != "object" || !t)
3545
3575
  return t;
3546
3576
  var i = t[Symbol.toPrimitive];
@@ -3552,9 +3582,9 @@ function lo(t, e) {
3552
3582
  }
3553
3583
  return (e === "string" ? String : Number)(t);
3554
3584
  }
3555
- class uo {
3585
+ class co {
3556
3586
  constructor(e) {
3557
- Me(this, "context", void 0), Me(this, "currentProvider", void 0), Me(this, "continueCallback", void 0), Me(this, "contextInfo", void 0), this.context = e, this.contextInfo = e.getContextInfo();
3587
+ $e(this, "context", void 0), $e(this, "currentProvider", void 0), $e(this, "continueCallback", void 0), $e(this, "contextInfo", void 0), this.context = e, this.contextInfo = e.getContextInfo();
3558
3588
  }
3559
3589
  get paramsToTrack() {
3560
3590
  var e, i;
@@ -3575,7 +3605,7 @@ class uo {
3575
3605
  wrapAdPlaying(e) {
3576
3606
  return (i) => {
3577
3607
  var n, r;
3578
- this.context.track("CallAFVPlaying", this.paramsToTrack), st() && this.context.track("mmp_ad_impression", {
3608
+ this.context.track("CallAFVPlaying", this.paramsToTrack), at() && this.context.track("mmp_ad_impression", {
3579
3609
  ad_network: (r = (n = this.currentProvider) == null ? void 0 : n.name) != null ? r : "",
3580
3610
  ad_format: "AFV",
3581
3611
  module: "drama",
@@ -3603,14 +3633,14 @@ class uo {
3603
3633
  });
3604
3634
  }
3605
3635
  }
3606
- function ot(t, e, i) {
3607
- return (e = co(e)) in t ? Object.defineProperty(t, e, { value: i, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = i, t;
3636
+ function st(t, e, i) {
3637
+ return (e = ho(e)) in t ? Object.defineProperty(t, e, { value: i, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = i, t;
3608
3638
  }
3609
- function co(t) {
3610
- var e = ho(t, "string");
3639
+ function ho(t) {
3640
+ var e = fo(t, "string");
3611
3641
  return typeof e == "symbol" ? e : e + "";
3612
3642
  }
3613
- function ho(t, e) {
3643
+ function fo(t, e) {
3614
3644
  if (typeof t != "object" || !t)
3615
3645
  return t;
3616
3646
  var i = t[Symbol.toPrimitive];
@@ -3624,7 +3654,7 @@ function ho(t, e) {
3624
3654
  }
3625
3655
  class P extends Error {
3626
3656
  constructor(e, i) {
3627
- super(e.message), ot(this, "name", void 0), ot(this, "type", void 0), ot(this, "raw", void 0), this.name = "AFVRequestError", this.type = i, this.raw = e, this.stack = e.stack, this.message = e.message;
3657
+ super(e.message), st(this, "name", void 0), st(this, "type", void 0), st(this, "raw", void 0), this.name = "AFVRequestError", this.type = i, this.raw = e, this.stack = e.stack, this.message = e.message;
3628
3658
  }
3629
3659
  static from(e, i) {
3630
3660
  switch (i) {
@@ -3636,13 +3666,13 @@ class P extends Error {
3636
3666
  }
3637
3667
  }
3638
3668
  function I(t, e, i) {
3639
- return (e = fo(e)) in t ? Object.defineProperty(t, e, { value: i, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = i, t;
3669
+ return (e = vo(e)) in t ? Object.defineProperty(t, e, { value: i, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = i, t;
3640
3670
  }
3641
- function fo(t) {
3642
- var e = vo(t, "string");
3671
+ function vo(t) {
3672
+ var e = go(t, "string");
3643
3673
  return typeof e == "symbol" ? e : e + "";
3644
3674
  }
3645
- function vo(t, e) {
3675
+ function go(t, e) {
3646
3676
  if (typeof t != "object" || !t)
3647
3677
  return t;
3648
3678
  var i = t[Symbol.toPrimitive];
@@ -3654,7 +3684,7 @@ function vo(t, e) {
3654
3684
  }
3655
3685
  return (e === "string" ? String : Number)(t);
3656
3686
  }
3657
- class go {
3687
+ class yo {
3658
3688
  constructor(e, i, n) {
3659
3689
  I(this, "adsLoader", void 0), I(this, "adDisplayContainer", void 0), I(this, "isAdPlaying", !1), I(this, "isContentFinished", !1), I(this, "videoContent", void 0), I(this, "adContainer", void 0), I(this, "adsManager", void 0), I(this, "intervalTimer", void 0), I(this, "completed", !1), I(this, "adTagUrl", void 0), I(this, "notifyRequestAd", void 0), I(this, "notifyLoaded", void 0), I(this, "notifyPlayingAd", void 0), I(this, "notifyCompleted", void 0), I(this, "notifyError", void 0), I(this, "destroy", () => {
3660
3690
  var r, o, s, a, d, l, u, h, c, f, w;
@@ -3719,9 +3749,9 @@ class go {
3719
3749
  }), this.adTagUrl = e, this.videoContent = i, this.adContainer = n;
3720
3750
  }
3721
3751
  }
3722
- var Ge = /* @__PURE__ */ ((t) => (t[t.ADS_REQUEST_NETWORK_ERROR = 1012] = "ADS_REQUEST_NETWORK_ERROR", t[t.ASSET_FALLBACK_FAILED = 1021] = "ASSET_FALLBACK_FAILED", t[t.AUTOPLAY_DISALLOWED = 1205] = "AUTOPLAY_DISALLOWED", t[t.COMPANION_AD_LOADING_FAILED = 603] = "COMPANION_AD_LOADING_FAILED", t[t.COMPANION_REQUIRED_ERROR = 602] = "COMPANION_REQUIRED_ERROR", t[t.FAILED_TO_REQUEST_ADS = 1005] = "FAILED_TO_REQUEST_ADS", t[t.INVALID_AD_TAG = 1013] = "INVALID_AD_TAG", t[t.INVALID_ADX_EXTENSION = 1105] = "INVALID_ADX_EXTENSION", t[t.INVALID_ARGUMENTS = 1101] = "INVALID_ARGUMENTS", t[t.NONLINEAR_DIMENSIONS_ERROR = 501] = "NONLINEAR_DIMENSIONS_ERROR", t[t.OVERLAY_AD_LOADING_FAILED = 502] = "OVERLAY_AD_LOADING_FAILED", t[t.OVERLAY_AD_PLAYING_FAILED = 500] = "OVERLAY_AD_PLAYING_FAILED", t[t.STREAM_INITIALIZATION_FAILED = 1020] = "STREAM_INITIALIZATION_FAILED", t[t.UNKNOWN_AD_RESPONSE = 1010] = "UNKNOWN_AD_RESPONSE", t[t.UNKNOWN_ERROR = 900] = "UNKNOWN_ERROR", t[t.UNSUPPORTED_LOCALE = 1011] = "UNSUPPORTED_LOCALE", t[t.VAST_ASSET_NOT_FOUND = 1007] = "VAST_ASSET_NOT_FOUND", t[t.VAST_EMPTY_RESPONSE = 1009] = "VAST_EMPTY_RESPONSE", t[t.VAST_LINEAR_ASSET_MISMATCH = 403] = "VAST_LINEAR_ASSET_MISMATCH", t[t.VAST_LOAD_TIMEOUT = 301] = "VAST_LOAD_TIMEOUT", t[t.VAST_MALFORMED_RESPONSE = 100] = "VAST_MALFORMED_RESPONSE", t[t.VAST_MEDIA_LOAD_TIMEOUT = 402] = "VAST_MEDIA_LOAD_TIMEOUT", t[t.VAST_NO_ADS_AFTER_WRAPPER = 303] = "VAST_NO_ADS_AFTER_WRAPPER", t[t.VAST_NONLINEAR_ASSET_MISMATCH = 503] = "VAST_NONLINEAR_ASSET_MISMATCH", t[t.VAST_PROBLEM_DISPLAYING_MEDIA_FILE = 405] = "VAST_PROBLEM_DISPLAYING_MEDIA_FILE", t[t.VAST_SCHEMA_VALIDATION_ERROR = 101] = "VAST_SCHEMA_VALIDATION_ERROR", t[t.VAST_TOO_MANY_REDIRECTS = 302] = "VAST_TOO_MANY_REDIRECTS", t[t.VAST_TRAFFICKING_ERROR = 200] = "VAST_TRAFFICKING_ERROR", t[t.VAST_UNEXPECTED_DURATION_ERROR = 202] = "VAST_UNEXPECTED_DURATION_ERROR", t[t.VAST_UNEXPECTED_LINEARITY = 201] = "VAST_UNEXPECTED_LINEARITY", t[t.VAST_UNSUPPORTED_VERSION = 102] = "VAST_UNSUPPORTED_VERSION", t[t.VAST_WRAPPER_ERROR = 300] = "VAST_WRAPPER_ERROR", t[t.VIDEO_PLAY_ERROR = 400] = "VIDEO_PLAY_ERROR", t[t.VPAID_ERROR = 901] = "VPAID_ERROR", t))(Ge || {});
3723
- const yo = () => {
3724
- const t = E(!1), e = E(!1), i = E(null), n = Rt(), r = Rt();
3752
+ var qe = /* @__PURE__ */ ((t) => (t[t.ADS_REQUEST_NETWORK_ERROR = 1012] = "ADS_REQUEST_NETWORK_ERROR", t[t.ASSET_FALLBACK_FAILED = 1021] = "ASSET_FALLBACK_FAILED", t[t.AUTOPLAY_DISALLOWED = 1205] = "AUTOPLAY_DISALLOWED", t[t.COMPANION_AD_LOADING_FAILED = 603] = "COMPANION_AD_LOADING_FAILED", t[t.COMPANION_REQUIRED_ERROR = 602] = "COMPANION_REQUIRED_ERROR", t[t.FAILED_TO_REQUEST_ADS = 1005] = "FAILED_TO_REQUEST_ADS", t[t.INVALID_AD_TAG = 1013] = "INVALID_AD_TAG", t[t.INVALID_ADX_EXTENSION = 1105] = "INVALID_ADX_EXTENSION", t[t.INVALID_ARGUMENTS = 1101] = "INVALID_ARGUMENTS", t[t.NONLINEAR_DIMENSIONS_ERROR = 501] = "NONLINEAR_DIMENSIONS_ERROR", t[t.OVERLAY_AD_LOADING_FAILED = 502] = "OVERLAY_AD_LOADING_FAILED", t[t.OVERLAY_AD_PLAYING_FAILED = 500] = "OVERLAY_AD_PLAYING_FAILED", t[t.STREAM_INITIALIZATION_FAILED = 1020] = "STREAM_INITIALIZATION_FAILED", t[t.UNKNOWN_AD_RESPONSE = 1010] = "UNKNOWN_AD_RESPONSE", t[t.UNKNOWN_ERROR = 900] = "UNKNOWN_ERROR", t[t.UNSUPPORTED_LOCALE = 1011] = "UNSUPPORTED_LOCALE", t[t.VAST_ASSET_NOT_FOUND = 1007] = "VAST_ASSET_NOT_FOUND", t[t.VAST_EMPTY_RESPONSE = 1009] = "VAST_EMPTY_RESPONSE", t[t.VAST_LINEAR_ASSET_MISMATCH = 403] = "VAST_LINEAR_ASSET_MISMATCH", t[t.VAST_LOAD_TIMEOUT = 301] = "VAST_LOAD_TIMEOUT", t[t.VAST_MALFORMED_RESPONSE = 100] = "VAST_MALFORMED_RESPONSE", t[t.VAST_MEDIA_LOAD_TIMEOUT = 402] = "VAST_MEDIA_LOAD_TIMEOUT", t[t.VAST_NO_ADS_AFTER_WRAPPER = 303] = "VAST_NO_ADS_AFTER_WRAPPER", t[t.VAST_NONLINEAR_ASSET_MISMATCH = 503] = "VAST_NONLINEAR_ASSET_MISMATCH", t[t.VAST_PROBLEM_DISPLAYING_MEDIA_FILE = 405] = "VAST_PROBLEM_DISPLAYING_MEDIA_FILE", t[t.VAST_SCHEMA_VALIDATION_ERROR = 101] = "VAST_SCHEMA_VALIDATION_ERROR", t[t.VAST_TOO_MANY_REDIRECTS = 302] = "VAST_TOO_MANY_REDIRECTS", t[t.VAST_TRAFFICKING_ERROR = 200] = "VAST_TRAFFICKING_ERROR", t[t.VAST_UNEXPECTED_DURATION_ERROR = 202] = "VAST_UNEXPECTED_DURATION_ERROR", t[t.VAST_UNEXPECTED_LINEARITY = 201] = "VAST_UNEXPECTED_LINEARITY", t[t.VAST_UNSUPPORTED_VERSION = 102] = "VAST_UNSUPPORTED_VERSION", t[t.VAST_WRAPPER_ERROR = 300] = "VAST_WRAPPER_ERROR", t[t.VIDEO_PLAY_ERROR = 400] = "VIDEO_PLAY_ERROR", t[t.VPAID_ERROR = 901] = "VPAID_ERROR", t))(qe || {});
3753
+ const wo = () => {
3754
+ const t = E(!1), e = E(!1), i = E(null), n = xt(), r = xt();
3725
3755
  return {
3726
3756
  visible: t,
3727
3757
  canRetry: e,
@@ -3729,8 +3759,8 @@ const yo = () => {
3729
3759
  videoRef: n,
3730
3760
  adContainerRef: r
3731
3761
  };
3732
- }, wo = ye`
3733
- ${F}
3762
+ }, po = we`
3763
+ ${B}
3734
3764
  position: fixed;
3735
3765
  left: 0;
3736
3766
  top: 0;
@@ -3745,7 +3775,7 @@ const yo = () => {
3745
3775
  }
3746
3776
 
3747
3777
  .ads-wrapper {
3748
- ${F}
3778
+ ${B}
3749
3779
  position: relative;
3750
3780
  width: 100%;
3751
3781
  height: 100%;
@@ -3768,7 +3798,7 @@ const yo = () => {
3768
3798
  }
3769
3799
 
3770
3800
  .retry-button {
3771
- ${F}
3801
+ ${B}
3772
3802
  position: absolute;
3773
3803
  width: 100%;
3774
3804
  height: 100%;
@@ -3778,7 +3808,7 @@ const yo = () => {
3778
3808
  cursor: pointer;
3779
3809
  }
3780
3810
  }
3781
- `, po = (t) => {
3811
+ `, bo = (t) => {
3782
3812
  let {
3783
3813
  onReady: e,
3784
3814
  state: i
@@ -3794,10 +3824,10 @@ const yo = () => {
3794
3824
  r.value = null, o.value = !1;
3795
3825
  }));
3796
3826
  };
3797
- return We(() => {
3827
+ return Je(() => {
3798
3828
  e();
3799
3829
  }, [e]), _("div", {
3800
- className: wo,
3830
+ className: po,
3801
3831
  "data-visible": n.value,
3802
3832
  children: _("div", {
3803
3833
  className: "ads-wrapper",
@@ -3834,13 +3864,13 @@ const yo = () => {
3834
3864
  });
3835
3865
  };
3836
3866
  function te(t, e, i) {
3837
- return (e = bo(e)) in t ? Object.defineProperty(t, e, { value: i, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = i, t;
3867
+ return (e = Ao(e)) in t ? Object.defineProperty(t, e, { value: i, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = i, t;
3838
3868
  }
3839
- function bo(t) {
3840
- var e = Ao(t, "string");
3869
+ function Ao(t) {
3870
+ var e = _o(t, "string");
3841
3871
  return typeof e == "symbol" ? e : e + "";
3842
3872
  }
3843
- function Ao(t, e) {
3873
+ function _o(t, e) {
3844
3874
  if (typeof t != "object" || !t)
3845
3875
  return t;
3846
3876
  var i = t[Symbol.toPrimitive];
@@ -3852,9 +3882,9 @@ function Ao(t, e) {
3852
3882
  }
3853
3883
  return (e === "string" ? String : Number)(t);
3854
3884
  }
3855
- class _o {
3885
+ class mo {
3856
3886
  constructor(e) {
3857
- te(this, "name", "GOOGLE_IMA"), te(this, "context", void 0), te(this, "adsOverlay", null), te(this, "initialized", !1), te(this, "ima", null), te(this, "state", yo()), te(this, "init", async (i) => {
3887
+ te(this, "name", "GOOGLE_IMA"), te(this, "context", void 0), te(this, "adsOverlay", null), te(this, "initialized", !1), te(this, "ima", null), te(this, "state", wo()), te(this, "init", async (i) => {
3858
3888
  if (this.initialized)
3859
3889
  return;
3860
3890
  const n = "//imasdk.googleapis.com/js/sdkloader/ima3.js";
@@ -3870,10 +3900,10 @@ class _o {
3870
3900
  }, s.onerror = o, document.head.appendChild(s);
3871
3901
  }
3872
3902
  }), this.adsOverlay = document.createElement("div"), document.documentElement.appendChild(this.adsOverlay), await new Promise((r, o) => {
3873
- oe(_(po, {
3903
+ oe(_(bo, {
3874
3904
  state: this.state,
3875
3905
  onReady: () => {
3876
- this.ima = new go(i.params.url, this.state.videoRef.current, this.state.adContainerRef.current), r();
3906
+ this.ima = new yo(i.params.url, this.state.videoRef.current, this.state.adContainerRef.current), r();
3877
3907
  }
3878
3908
  }), this.adsOverlay);
3879
3909
  }), this.initialized = !0;
@@ -3895,9 +3925,9 @@ class _o {
3895
3925
  r = !0;
3896
3926
  let c = !1;
3897
3927
  switch (h.raw.getErrorCode()) {
3898
- case Ge.AUTOPLAY_DISALLOWED:
3899
- case Ge.VIDEO_PLAY_ERROR:
3900
- case Ge.ADS_REQUEST_NETWORK_ERROR: {
3928
+ case qe.AUTOPLAY_DISALLOWED:
3929
+ case qe.VIDEO_PLAY_ERROR:
3930
+ case qe.ADS_REQUEST_NETWORK_ERROR: {
3901
3931
  c = !0;
3902
3932
  break;
3903
3933
  }
@@ -3939,13 +3969,13 @@ class _o {
3939
3969
  }
3940
3970
  }
3941
3971
  function J(t, e, i) {
3942
- return (e = mo(e)) in t ? Object.defineProperty(t, e, { value: i, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = i, t;
3972
+ return (e = So(e)) in t ? Object.defineProperty(t, e, { value: i, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = i, t;
3943
3973
  }
3944
- function mo(t) {
3945
- var e = So(t, "string");
3974
+ function So(t) {
3975
+ var e = Eo(t, "string");
3946
3976
  return typeof e == "symbol" ? e : e + "";
3947
3977
  }
3948
- function So(t, e) {
3978
+ function Eo(t, e) {
3949
3979
  if (typeof t != "object" || !t)
3950
3980
  return t;
3951
3981
  var i = t[Symbol.toPrimitive];
@@ -3957,11 +3987,11 @@ function So(t, e) {
3957
3987
  }
3958
3988
  return (e === "string" ? String : Number)(t);
3959
3989
  }
3960
- class Eo {
3990
+ class ko {
3961
3991
  constructor(e) {
3962
- J(this, "name", "OKSPIN"), J(this, "initialized", !1), J(this, "initCompleter", null), J(this, "context", void 0), J(this, "adsOverlay", null), J(this, "adsIsShowing", !1), J(this, "state", Ii()), J(this, "init", async (i) => {
3992
+ J(this, "name", "OKSPIN"), J(this, "initialized", !1), J(this, "initCompleter", null), J(this, "context", void 0), J(this, "adsOverlay", null), J(this, "adsIsShowing", !1), J(this, "state", Ri()), J(this, "init", async (i) => {
3963
3993
  var n;
3964
- this.initialized || (this.adsOverlay = document.createElement("div"), this.adsOverlay.setAttribute("data-placement-info", "afv"), oe(_(Ri, {
3994
+ this.initialized || (this.adsOverlay = document.createElement("div"), this.adsOverlay.setAttribute("data-placement-info", "afv"), oe(_(xi, {
3965
3995
  state: this.state
3966
3996
  }), this.adsOverlay), document.documentElement.appendChild(this.adsOverlay), this.initialized = !0, (n = this.initCompleter) == null || n.call(this));
3967
3997
  }), J(this, "destroy", () => {
@@ -3993,13 +4023,13 @@ class Eo {
3993
4023
  }
3994
4024
  }
3995
4025
  function H(t, e, i) {
3996
- return (e = ko(e)) in t ? Object.defineProperty(t, e, { value: i, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = i, t;
4026
+ return (e = Io(e)) in t ? Object.defineProperty(t, e, { value: i, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = i, t;
3997
4027
  }
3998
- function ko(t) {
3999
- var e = Io(t, "string");
4028
+ function Io(t) {
4029
+ var e = Ro(t, "string");
4000
4030
  return typeof e == "symbol" ? e : e + "";
4001
4031
  }
4002
- function Io(t, e) {
4032
+ function Ro(t, e) {
4003
4033
  if (typeof t != "object" || !t)
4004
4034
  return t;
4005
4035
  var i = t[Symbol.toPrimitive];
@@ -4011,15 +4041,15 @@ function Io(t, e) {
4011
4041
  }
4012
4042
  return (e === "string" ? String : Number)(t);
4013
4043
  }
4014
- class Ro {
4044
+ class xo {
4015
4045
  constructor(e) {
4016
- H(this, "name", "APPSROCKETS"), H(this, "initialized", !1), H(this, "initCompleter", null), H(this, "context", void 0), H(this, "adsOverlay", null), H(this, "adsIsShowing", !1), H(this, "state", xi()), H(this, "processUrl", (i) => {
4046
+ H(this, "name", "APPSROCKETS"), H(this, "initialized", !1), H(this, "initCompleter", null), H(this, "context", void 0), H(this, "adsOverlay", null), H(this, "adsIsShowing", !1), H(this, "state", Oi()), H(this, "processUrl", (i) => {
4017
4047
  var s;
4018
4048
  const n = this.context.getContextInfo(), r = new URL(i), o = new URLSearchParams(r.search);
4019
4049
  return o.has("joliSource") || o.set("joliSource", n.joliSource), o.get("osType") || o.set("osType", n.osType), o.get("runtimeType") || o.set("runtimeType", n.runtimeType), o.get("mode") || o.set("mode", "AFV"), o.get("deviceId") || o.set("deviceId", n.deviceId), o.get("statusBarHeight") || o.set("statusBarHeight", ((s = this.context.getWindowInfo().statusBarHeight) != null ? s : 0).toString()), r.search = o.toString(), r.toString();
4020
4050
  }), H(this, "init", async (i) => {
4021
4051
  var n;
4022
- this.initialized || (this.adsOverlay = document.createElement("div"), this.adsOverlay.setAttribute("data-placement-info", "afv-appsrockets"), oe(_(Oi, {
4052
+ this.initialized || (this.adsOverlay = document.createElement("div"), this.adsOverlay.setAttribute("data-placement-info", "afv-appsrockets"), oe(_(Ti, {
4023
4053
  state: this.state
4024
4054
  }), this.adsOverlay), document.documentElement.appendChild(this.adsOverlay), this.initialized = !0, (n = this.initCompleter) == null || n.call(this));
4025
4055
  }), H(this, "destroy", () => {
@@ -4056,13 +4086,13 @@ class Ro {
4056
4086
  }
4057
4087
  }
4058
4088
  function ie(t, e, i) {
4059
- return (e = xo(e)) in t ? Object.defineProperty(t, e, { value: i, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = i, t;
4089
+ return (e = Oo(e)) in t ? Object.defineProperty(t, e, { value: i, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = i, t;
4060
4090
  }
4061
- function xo(t) {
4062
- var e = Oo(t, "string");
4091
+ function Oo(t) {
4092
+ var e = To(t, "string");
4063
4093
  return typeof e == "symbol" ? e : e + "";
4064
4094
  }
4065
- function Oo(t, e) {
4095
+ function To(t, e) {
4066
4096
  if (typeof t != "object" || !t)
4067
4097
  return t;
4068
4098
  var i = t[Symbol.toPrimitive];
@@ -4074,12 +4104,12 @@ function Oo(t, e) {
4074
4104
  }
4075
4105
  return (e === "string" ? String : Number)(t);
4076
4106
  }
4077
- class To {
4107
+ class Co {
4078
4108
  constructor(e) {
4079
4109
  ie(this, "name", "GOOGLE_GPT"), ie(this, "context", void 0), ie(this, "contextInfo", void 0), ie(this, "rewardAdManager", void 0), ie(this, "init", async (i) => {
4080
4110
  if (!this.rewardAdManager) {
4081
4111
  const n = this.contextInfo.testAdsMode ? "/22639388115/rewarded_web_example" : i.params.rewardedSlot, o = `minidrama-${this.contextInfo.runtimeType === "APP" ? "app" : "h5"}`;
4082
- this.rewardAdManager = new Ci(n, o, i.params.keyValue);
4112
+ this.rewardAdManager = new Di(n, o, i.params.keyValue);
4083
4113
  }
4084
4114
  }), ie(this, "insertScript", () => {
4085
4115
  const i = "jolibox-google-gpt";
@@ -4126,14 +4156,14 @@ class To {
4126
4156
  }), this.context = e, this.contextInfo = e.getContextInfo(), this.insertScript();
4127
4157
  }
4128
4158
  }
4129
- function de(t, e, i) {
4130
- return (e = Co(e)) in t ? Object.defineProperty(t, e, { value: i, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = i, t;
4159
+ function le(t, e, i) {
4160
+ return (e = Do(e)) in t ? Object.defineProperty(t, e, { value: i, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = i, t;
4131
4161
  }
4132
- function Co(t) {
4133
- var e = Do(t, "string");
4162
+ function Do(t) {
4163
+ var e = Lo(t, "string");
4134
4164
  return typeof e == "symbol" ? e : e + "";
4135
4165
  }
4136
- function Do(t, e) {
4166
+ function Lo(t, e) {
4137
4167
  if (typeof t != "object" || !t)
4138
4168
  return t;
4139
4169
  var i = t[Symbol.toPrimitive];
@@ -4145,10 +4175,10 @@ function Do(t, e) {
4145
4175
  }
4146
4176
  return (e === "string" ? String : Number)(t);
4147
4177
  }
4148
- class Vo {
4178
+ class Go {
4149
4179
  constructor(e) {
4150
- if (de(this, "context", void 0), de(this, "contextInfo", void 0), de(this, "providers", {}), de(this, "requestContext", void 0), de(this, "adsRequest", void 0), de(this, "initialized", !1), e)
4151
- this.context = e, this.requestContext = new mt(e), this.adsRequest = new Di(e, {
4180
+ if (le(this, "context", void 0), le(this, "contextInfo", void 0), le(this, "providers", {}), le(this, "requestContext", void 0), le(this, "adsRequest", void 0), le(this, "initialized", !1), e)
4181
+ this.context = e, this.requestContext = new St(e), this.adsRequest = new Li(e, {
4152
4182
  reward: !1,
4153
4183
  interstitial: !1,
4154
4184
  afv: !1
@@ -4170,22 +4200,22 @@ class Vo {
4170
4200
  for (const i of e)
4171
4201
  switch (i.provider) {
4172
4202
  case "GOOGLE_GPT": {
4173
- const n = new To(this.context);
4203
+ const n = new Co(this.context);
4174
4204
  await n.init(i), this.providers.GOOGLE_GPT = n;
4175
4205
  break;
4176
4206
  }
4177
4207
  case "GOOGLE_IMA": {
4178
- const n = new _o(this.context);
4208
+ const n = new mo(this.context);
4179
4209
  await n.init(i), this.providers.GOOGLE_IMA = n;
4180
4210
  break;
4181
4211
  }
4182
4212
  case "OKSPIN": {
4183
- const n = new Eo(this.context);
4213
+ const n = new ko(this.context);
4184
4214
  await n.init(i), this.providers.OKSPIN = n;
4185
4215
  break;
4186
4216
  }
4187
4217
  case "APPSROCKETS": {
4188
- const n = new Ro(this.context);
4218
+ const n = new xo(this.context);
4189
4219
  await n.init(i), this.providers.APPSROCKETS = n;
4190
4220
  break;
4191
4221
  }
@@ -4222,7 +4252,7 @@ class Vo {
4222
4252
  return;
4223
4253
  }
4224
4254
  let y = !0, v = null;
4225
- const b = new uo(this.context);
4255
+ const b = new co(this.context);
4226
4256
  for (; p.length > 0; ) {
4227
4257
  const T = p.shift(), R = this.providers[T.provider];
4228
4258
  if (R) {
@@ -4247,14 +4277,14 @@ class Vo {
4247
4277
  }
4248
4278
  }
4249
4279
  }
4250
- function le(t, e, i) {
4251
- return (e = Lo(e)) in t ? Object.defineProperty(t, e, { value: i, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = i, t;
4280
+ function ue(t, e, i) {
4281
+ return (e = Po(e)) in t ? Object.defineProperty(t, e, { value: i, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = i, t;
4252
4282
  }
4253
- function Lo(t) {
4254
- var e = Po(t, "string");
4283
+ function Po(t) {
4284
+ var e = No(t, "string");
4255
4285
  return typeof e == "symbol" ? e : e + "";
4256
4286
  }
4257
- function Po(t, e) {
4287
+ function No(t, e) {
4258
4288
  if (typeof t != "object" || !t)
4259
4289
  return t;
4260
4290
  var i = t[Symbol.toPrimitive];
@@ -4266,21 +4296,21 @@ function Po(t, e) {
4266
4296
  }
4267
4297
  return (e === "string" ? String : Number)(t);
4268
4298
  }
4269
- class Go extends Error {
4299
+ class qo extends Error {
4270
4300
  constructor(e) {
4271
- super(e), le(this, "name", void 0), le(this, "message", void 0), le(this, "errMsg", void 0), le(this, "code", void 0), le(this, "data", void 0), le(this, "extra", void 0), this.name = "ResponseError", this.message = e, this.errMsg = e;
4301
+ super(e), ue(this, "name", void 0), ue(this, "message", void 0), ue(this, "errMsg", void 0), ue(this, "code", void 0), ue(this, "data", void 0), ue(this, "extra", void 0), this.name = "ResponseError", this.message = e, this.errMsg = e;
4272
4302
  }
4273
4303
  }
4274
4304
  export {
4275
4305
  P as AFVWrappedError,
4276
- Dn as GoogleAdSenseProvider,
4277
- _o as GoogleIMAProvider,
4278
- Yr as InterstitialAdManager,
4279
- Bo as JoliboxAdsForGame,
4280
- Vo as JoliboxAdsForVideo,
4281
- Br as OKSpinForGameProvider,
4282
- Eo as OKSpinForVideoProvider,
4283
- Go as ResponseError,
4284
- Ci as RewardAdManager,
4285
- Ti as initGPTServices
4306
+ Ln as GoogleAdSenseProvider,
4307
+ mo as GoogleIMAProvider,
4308
+ Xr as InterstitialAdManager,
4309
+ Vo as JoliboxAdsForGame,
4310
+ Go as JoliboxAdsForVideo,
4311
+ Vr as OKSpinForGameProvider,
4312
+ ko as OKSpinForVideoProvider,
4313
+ qo as ResponseError,
4314
+ Di as RewardAdManager,
4315
+ Ci as initGPTServices
4286
4316
  };