@jolibox/ads 1.4.0 → 1.4.2
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.
- package/dist/index.js +180 -176
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
var tn = Object.defineProperty, nn = Object.defineProperties;
|
|
2
2
|
var rn = Object.getOwnPropertyDescriptors;
|
|
3
|
-
var
|
|
3
|
+
var ze = Object.getOwnPropertySymbols;
|
|
4
4
|
var jt = Object.prototype.hasOwnProperty, Vt = Object.prototype.propertyIsEnumerable;
|
|
5
5
|
var Ft = (t, e, i) => e in t ? tn(t, e, { enumerable: !0, configurable: !0, writable: !0, value: i }) : t[e] = i, ht = (t, e) => {
|
|
6
6
|
for (var i in e || (e = {}))
|
|
7
7
|
jt.call(e, i) && Ft(t, i, e[i]);
|
|
8
|
-
if (
|
|
9
|
-
for (var i of
|
|
8
|
+
if (ze)
|
|
9
|
+
for (var i of ze(e))
|
|
10
10
|
Vt.call(e, i) && Ft(t, i, e[i]);
|
|
11
11
|
return t;
|
|
12
12
|
}, Gt = (t, e) => nn(t, rn(e));
|
|
@@ -14,15 +14,15 @@ var qt = (t, e) => {
|
|
|
14
14
|
var i = {};
|
|
15
15
|
for (var n in t)
|
|
16
16
|
jt.call(t, n) && e.indexOf(n) < 0 && (i[n] = t[n]);
|
|
17
|
-
if (t != null &&
|
|
18
|
-
for (var n of
|
|
17
|
+
if (t != null && ze)
|
|
18
|
+
for (var n of ze(t))
|
|
19
19
|
e.indexOf(n) < 0 && Vt.call(t, n) && (i[n] = t[n]);
|
|
20
20
|
return i;
|
|
21
21
|
};
|
|
22
22
|
import { options as xe, Component as on, isValidElement as sn } from "preact";
|
|
23
|
-
import { useRef as gi, useLayoutEffect as an, useEffect as Re, useMemo as dn, useState as
|
|
23
|
+
import { useRef as gi, useLayoutEffect as an, useEffect as Re, useMemo as dn, useState as we, useCallback as _t, render as fe, createRef as Kt } from "preact/compat";
|
|
24
24
|
import { registerCanIUseContext as ln, invokeNative as ft, offNative as un, onNative as cn } from "@jolibox/native-bridge";
|
|
25
|
-
var
|
|
25
|
+
var Ai = Object.defineProperty, hn = Object.defineProperties, fn = Object.getOwnPropertyDescriptors, zt = Object.getOwnPropertySymbols, vn = Object.prototype.hasOwnProperty, yn = Object.prototype.propertyIsEnumerable, Wt = (t, e, i) => e in t ? Ai(t, e, {
|
|
26
26
|
enumerable: !0,
|
|
27
27
|
configurable: !0,
|
|
28
28
|
writable: !0,
|
|
@@ -34,13 +34,13 @@ var wi = Object.defineProperty, hn = Object.defineProperties, fn = Object.getOwn
|
|
|
34
34
|
for (var i of zt(e))
|
|
35
35
|
yn.call(e, i) && Wt(t, i, e[i]);
|
|
36
36
|
return t;
|
|
37
|
-
},
|
|
37
|
+
}, An = (t, e) => hn(t, fn(e)), wn = (t, e) => {
|
|
38
38
|
for (var i in e)
|
|
39
|
-
|
|
39
|
+
Ai(t, i, {
|
|
40
40
|
get: e[i],
|
|
41
41
|
enumerable: !0
|
|
42
42
|
});
|
|
43
|
-
},
|
|
43
|
+
}, wi = (t, e, i, n) => {
|
|
44
44
|
for (var r = e, o = t.length - 1, s; o >= 0; o--)
|
|
45
45
|
(s = t[o]) && (r = s(r) || r);
|
|
46
46
|
return r;
|
|
@@ -138,7 +138,7 @@ globalThis[Ht] || (globalThis[Ht] = xn);
|
|
|
138
138
|
var Jt = Symbol.for("Jolibox.canIUseMap.native"), Rn = {};
|
|
139
139
|
globalThis[Jt] || (globalThis[Jt] = Rn);
|
|
140
140
|
var pi = ((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))(pi || {}), _i = ((t) => (t.MiniGame = "mini-game", t.MiniDrama = "mini-drama", t.App = "app", t.WebSDK = "web-sdk", t.AppSDK = "app-sdk", t))(_i || {}), mi = ((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))(mi || {}), Xt = ["name", "params"], Tn = ["name", "type", "location", "target", "extra", "timestamp", "userId"], Cn = ["platform", "os", "appVersion", "appId", "model", "brand", "uuid", "jsSdkVersion", "extra"];
|
|
141
|
-
function
|
|
141
|
+
function Ye(t, e) {
|
|
142
142
|
return e.map((i) => {
|
|
143
143
|
if (i === "params" && t[i]) {
|
|
144
144
|
let n = t[i];
|
|
@@ -148,14 +148,14 @@ function Xe(t, e) {
|
|
|
148
148
|
});
|
|
149
149
|
}
|
|
150
150
|
function On(t) {
|
|
151
|
-
let e = t.location ?
|
|
152
|
-
return
|
|
151
|
+
let e = t.location ? Ye(t.location, Xt) : null, i = t.target ? Ye(t.target, Xt) : null;
|
|
152
|
+
return Ye(An(gn({}, t), {
|
|
153
153
|
location: e,
|
|
154
154
|
target: i
|
|
155
155
|
}), Tn);
|
|
156
156
|
}
|
|
157
157
|
function Dn(t) {
|
|
158
|
-
let e = t.events.map((n) => On(n)), i =
|
|
158
|
+
let e = t.events.map((n) => On(n)), i = Ye(t.device, Cn);
|
|
159
159
|
return [t.protocolVersion, e, i, t.project];
|
|
160
160
|
}
|
|
161
161
|
function Pn() {
|
|
@@ -192,7 +192,7 @@ function Pn() {
|
|
|
192
192
|
}
|
|
193
193
|
}
|
|
194
194
|
Pn();
|
|
195
|
-
var Ee = typeof window == "undefined",
|
|
195
|
+
var Ee = typeof window == "undefined", $e = () => !Ee && !!(navigator.userAgent || "").includes("JoliboxPlatformSDK");
|
|
196
196
|
!Ee && (navigator.userAgent.includes("iPhone") || navigator.userAgent.includes("iPod") || navigator.userAgent.includes("iPad") || navigator.userAgent.includes("iPhone OS")), !Ee && navigator.userAgent.includes("Android"), !Ee && navigator.userAgent.includes("Mac"), !Ee && navigator.userAgent.includes("FB_IAB"), !Ee && !navigator.userAgent.includes("iPhone") && navigator.userAgent.includes("Android");
|
|
197
197
|
var mt = class St {
|
|
198
198
|
constructor(e) {
|
|
@@ -270,7 +270,7 @@ var D = mt, Nn = class {
|
|
|
270
270
|
constructor(e) {
|
|
271
271
|
this.value = e, this.id = Ln++;
|
|
272
272
|
}
|
|
273
|
-
},
|
|
273
|
+
}, Fe = class {
|
|
274
274
|
constructor(e) {
|
|
275
275
|
this.options = e, this._size = 0;
|
|
276
276
|
}
|
|
@@ -328,7 +328,7 @@ var D = mt, Nn = class {
|
|
|
328
328
|
on(t, e) {
|
|
329
329
|
let i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0;
|
|
330
330
|
var n;
|
|
331
|
-
let r = (n = this.listeners.get(t)) != null ? n : new
|
|
331
|
+
let r = (n = this.listeners.get(t)) != null ? n : new Fe(), o = (d) => e(...d.args), s = r.event(o);
|
|
332
332
|
this.listerHandlerMap.set(e, {
|
|
333
333
|
handler: o,
|
|
334
334
|
dispose: s
|
|
@@ -364,7 +364,7 @@ var D = mt, Nn = class {
|
|
|
364
364
|
this.on(t, n, !1);
|
|
365
365
|
}
|
|
366
366
|
}, Et = {};
|
|
367
|
-
|
|
367
|
+
wn(Et, {
|
|
368
368
|
None: () => Mn,
|
|
369
369
|
filter: () => $n,
|
|
370
370
|
once: () => Si,
|
|
@@ -391,7 +391,7 @@ function $n(t, e) {
|
|
|
391
391
|
onWillAddFirstListener() {
|
|
392
392
|
i(r.fire, r);
|
|
393
393
|
}
|
|
394
|
-
}, r = new
|
|
394
|
+
}, r = new Fe(n);
|
|
395
395
|
return r.event;
|
|
396
396
|
})(function(i) {
|
|
397
397
|
let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null;
|
|
@@ -430,7 +430,7 @@ function Vn(t, e) {
|
|
|
430
430
|
}
|
|
431
431
|
var kt = class {
|
|
432
432
|
constructor() {
|
|
433
|
-
this._commands = /* @__PURE__ */ new Map(), this._onDidRegisterCommand = new
|
|
433
|
+
this._commands = /* @__PURE__ */ new Map(), this._onDidRegisterCommand = new Fe(), this.onDidRegisterCommand = this._onDidRegisterCommand.event, console.log("[Jolibox SDK] command registry");
|
|
434
434
|
}
|
|
435
435
|
registerCommand(t) {
|
|
436
436
|
if (!t)
|
|
@@ -463,10 +463,10 @@ var kt = class {
|
|
|
463
463
|
return t;
|
|
464
464
|
}
|
|
465
465
|
};
|
|
466
|
-
kt =
|
|
466
|
+
kt = wi([bi], kt);
|
|
467
467
|
var Yt = class {
|
|
468
468
|
constructor() {
|
|
469
|
-
this._onWillExecuteCommand = new
|
|
469
|
+
this._onWillExecuteCommand = new Fe(), this.onWillExecuteCommand = this._onWillExecuteCommand.event, this._onDidExecuteCommand = new Fe(), this.onDidExecuteCommand = this._onDidExecuteCommand.event, this.registry = new kt(), this._starActivation = null;
|
|
470
470
|
}
|
|
471
471
|
_activateStar() {
|
|
472
472
|
return this._starActivation || (this._starActivation = pn(3e4)), this._starActivation;
|
|
@@ -521,7 +521,7 @@ var Yt = class {
|
|
|
521
521
|
}
|
|
522
522
|
}
|
|
523
523
|
};
|
|
524
|
-
Yt =
|
|
524
|
+
Yt = wi([bi], Yt);
|
|
525
525
|
function H(t, e, i) {
|
|
526
526
|
return (e = Gn(e)) in t ? Object.defineProperty(t, e, { value: i, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = i, t;
|
|
527
527
|
}
|
|
@@ -564,7 +564,7 @@ class Kn {
|
|
|
564
564
|
userEvent: n
|
|
565
565
|
}, this.paramsToTrack)), this.notifyIframeAdsEvent("JOLIBOX_AD_CALL_BEFORE_REWARD", ht({
|
|
566
566
|
userEvent: n
|
|
567
|
-
}, this.paramsToTrack)),
|
|
567
|
+
}, this.paramsToTrack)), $e() && this.context.track("mmp_ad_impression", {
|
|
568
568
|
ad_network: (s = (o = this.currentProvider) == null ? void 0 : o.name) != null ? s : "",
|
|
569
569
|
ad_format: "rewarded",
|
|
570
570
|
module: "game",
|
|
@@ -596,7 +596,7 @@ class Kn {
|
|
|
596
596
|
if (this.adsHasResponse = !0, this.context.track("CallBeforeAd", this.paramsToTrack), this.notifyIframeAdsEvent("JOLIBOX_AD_CALL_BEFORE_AD", this.paramsToTrack), !this.isBeforeAdCalled) {
|
|
597
597
|
this.isBeforeAdCalled = !0;
|
|
598
598
|
const s = pe(e);
|
|
599
|
-
s == null || s(), ((i = this.currentClientParams) == null ? void 0 : i.type) !== "reward" && ((n = this.adIsShowingCallback) == null || n.call(this, !0),
|
|
599
|
+
s == null || s(), ((i = this.currentClientParams) == null ? void 0 : i.type) !== "reward" && ((n = this.adIsShowingCallback) == null || n.call(this, !0), $e() && this.context.track("mmp_ad_impression", {
|
|
600
600
|
ad_network: (o = (r = this.currentProvider) == null ? void 0 : r.name) != null ? o : "",
|
|
601
601
|
ad_format: "interstitial",
|
|
602
602
|
module: "game",
|
|
@@ -728,7 +728,7 @@ class Kn {
|
|
|
728
728
|
});
|
|
729
729
|
}
|
|
730
730
|
}
|
|
731
|
-
function
|
|
731
|
+
function We(t, e, i) {
|
|
732
732
|
return (e = zn(e)) in t ? Object.defineProperty(t, e, { value: i, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = i, t;
|
|
733
733
|
}
|
|
734
734
|
function zn(t) {
|
|
@@ -749,11 +749,11 @@ function Wn(t, e) {
|
|
|
749
749
|
}
|
|
750
750
|
class Hn {
|
|
751
751
|
constructor(e) {
|
|
752
|
-
|
|
752
|
+
We(this, "context", void 0), We(this, "adBreakIsShowing", !1), We(this, "reportPageJumpOut", () => {
|
|
753
753
|
this.context.track("AdBreakJumpOut", {
|
|
754
754
|
context: "AdsActionDetection"
|
|
755
755
|
});
|
|
756
|
-
}),
|
|
756
|
+
}), We(this, "reportPageHide", () => {
|
|
757
757
|
this.context.track("AdBreakHide", {
|
|
758
758
|
context: "AdsActionDetection"
|
|
759
759
|
});
|
|
@@ -764,7 +764,7 @@ class Hn {
|
|
|
764
764
|
});
|
|
765
765
|
}
|
|
766
766
|
}
|
|
767
|
-
function
|
|
767
|
+
function He(t, e, i) {
|
|
768
768
|
return (e = Jn(e)) in t ? Object.defineProperty(t, e, { value: i, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = i, t;
|
|
769
769
|
}
|
|
770
770
|
function Jn(t) {
|
|
@@ -785,7 +785,7 @@ function Xn(t, e) {
|
|
|
785
785
|
}
|
|
786
786
|
class Yn {
|
|
787
787
|
constructor(e) {
|
|
788
|
-
|
|
788
|
+
He(this, "configs", null), He(this, "firstRun", !0), He(this, "context", void 0), He(this, "contextInfo", void 0), this.context = e, this.contextInfo = this.context.getContextInfo(), this.init();
|
|
789
789
|
}
|
|
790
790
|
async init() {
|
|
791
791
|
try {
|
|
@@ -850,10 +850,10 @@ class er {
|
|
|
850
850
|
}
|
|
851
851
|
this.push(n);
|
|
852
852
|
}), ae(this, "adUnit", async (n) => {
|
|
853
|
-
var g, v,
|
|
853
|
+
var g, v, A, y;
|
|
854
854
|
if (this.context.track("CallAdUnit", {
|
|
855
855
|
adFormat: (v = (g = n.adFormat) == null ? void 0 : g.toString()) != null ? v : null,
|
|
856
|
-
fullWidthResponsive: (
|
|
856
|
+
fullWidthResponsive: (A = n.fullWidthResponsive) != null ? A : null
|
|
857
857
|
}), document.querySelector("#jolibox-ads")) {
|
|
858
858
|
console.warn("Ad unit already set, skipping");
|
|
859
859
|
return;
|
|
@@ -875,8 +875,8 @@ class er {
|
|
|
875
875
|
throw new Error("slot is required");
|
|
876
876
|
const c = typeof s == "object" && Array.isArray(s) ? s.join(", ") : s, h = document.createElement("ins");
|
|
877
877
|
if (h.className = "adsbygoogle", h.id = "jolibox-ads", h.style.display = "block", h.setAttribute("data-ad-client", this.initParams.clientId), h.setAttribute("data-ad-slot", u), c && h.setAttribute("data-ad-format", c), a && h.setAttribute("data-full-width-responsive", a), d && h.setAttribute("style", d), (y = this.contextInfo.testAdsMode) != null ? y : !1) {
|
|
878
|
-
const
|
|
879
|
-
|
|
878
|
+
const w = document.createElement("div");
|
|
879
|
+
w.style.position = "absolute", w.style.top = "0", w.style.left = "0", w.style.width = "100%", w.style.height = "100%", w.style.display = "flex", w.style.justifyContent = "center", w.style.alignItems = "center", w.style.backgroundColor = "rgba(0, 0, 0, 0.5)", w.style.color = "white", w.innerHTML = "Test Ad", h.style.position = "relative", l.appendChild(h), h.appendChild(w);
|
|
880
880
|
} else
|
|
881
881
|
l.appendChild(h), new MutationObserver((S) => {
|
|
882
882
|
S.forEach((b) => {
|
|
@@ -965,7 +965,7 @@ function It(t, e) {
|
|
|
965
965
|
function U(t, e) {
|
|
966
966
|
return t.charCodeAt(e) | 0;
|
|
967
967
|
}
|
|
968
|
-
function
|
|
968
|
+
function je(t, e, i) {
|
|
969
969
|
return t.slice(e, i);
|
|
970
970
|
}
|
|
971
971
|
function re(t) {
|
|
@@ -974,7 +974,7 @@ function re(t) {
|
|
|
974
974
|
function Lt(t) {
|
|
975
975
|
return t.length;
|
|
976
976
|
}
|
|
977
|
-
function
|
|
977
|
+
function Je(t, e) {
|
|
978
978
|
return e.push(t), t;
|
|
979
979
|
}
|
|
980
980
|
function ur(t, e) {
|
|
@@ -999,13 +999,13 @@ function Z() {
|
|
|
999
999
|
function oe() {
|
|
1000
1000
|
return U(Ce, X);
|
|
1001
1001
|
}
|
|
1002
|
-
function
|
|
1002
|
+
function Qe() {
|
|
1003
1003
|
return X;
|
|
1004
1004
|
}
|
|
1005
|
-
function
|
|
1006
|
-
return
|
|
1005
|
+
function Ge(t, e) {
|
|
1006
|
+
return je(Ce, t, e);
|
|
1007
1007
|
}
|
|
1008
|
-
function
|
|
1008
|
+
function Ve(t) {
|
|
1009
1009
|
switch (t) {
|
|
1010
1010
|
case 0:
|
|
1011
1011
|
case 9:
|
|
@@ -1043,18 +1043,18 @@ function Ri(t) {
|
|
|
1043
1043
|
function Ti(t) {
|
|
1044
1044
|
return Ce = "", t;
|
|
1045
1045
|
}
|
|
1046
|
-
function
|
|
1047
|
-
return Ii(
|
|
1046
|
+
function Ze(t) {
|
|
1047
|
+
return Ii(Ge(X - 1, xt(t === 91 ? t + 2 : t === 40 ? t + 1 : t)));
|
|
1048
1048
|
}
|
|
1049
1049
|
function fr(t) {
|
|
1050
1050
|
for (; (N = oe()) && N < 33; )
|
|
1051
1051
|
Z();
|
|
1052
|
-
return
|
|
1052
|
+
return Ve(t) > 2 || Ve(N) > 3 ? "" : " ";
|
|
1053
1053
|
}
|
|
1054
1054
|
function vr(t, e) {
|
|
1055
1055
|
for (; --e && Z() && !(N < 48 || N > 102 || N > 57 && N < 65 || N > 70 && N < 97); )
|
|
1056
1056
|
;
|
|
1057
|
-
return
|
|
1057
|
+
return Ge(t, Qe() + (e < 6 && oe() == 32 && Z() == 32));
|
|
1058
1058
|
}
|
|
1059
1059
|
function xt(t) {
|
|
1060
1060
|
for (; Z(); )
|
|
@@ -1078,28 +1078,28 @@ function yr(t, e) {
|
|
|
1078
1078
|
for (; Z() && t + N !== 57; )
|
|
1079
1079
|
if (t + N === 84 && oe() === 47)
|
|
1080
1080
|
break;
|
|
1081
|
-
return "/*" +
|
|
1081
|
+
return "/*" + Ge(e, X - 1) + "*" + dt(t === 47 ? t : Z());
|
|
1082
1082
|
}
|
|
1083
1083
|
function gr(t) {
|
|
1084
|
-
for (; !
|
|
1084
|
+
for (; !Ve(oe()); )
|
|
1085
1085
|
Z();
|
|
1086
|
-
return
|
|
1086
|
+
return Ge(t, X);
|
|
1087
1087
|
}
|
|
1088
|
-
function
|
|
1089
|
-
return Ti(
|
|
1088
|
+
function Ar(t) {
|
|
1089
|
+
return Ti(et("", null, null, null, [""], t = Ri(t), 0, [0], t));
|
|
1090
1090
|
}
|
|
1091
|
-
function
|
|
1092
|
-
for (var l = 0, u = 0, c = s, h = 0, f = 0, g = 0, v = 1,
|
|
1093
|
-
switch (g =
|
|
1091
|
+
function et(t, e, i, n, r, o, s, a, d) {
|
|
1092
|
+
for (var l = 0, u = 0, c = s, h = 0, f = 0, g = 0, v = 1, A = 1, y = 1, w = 0, S = "", b = r, m = o, E = n, p = S; A; )
|
|
1093
|
+
switch (g = w, w = Z()) {
|
|
1094
1094
|
case 40:
|
|
1095
1095
|
if (g != 108 && U(p, c - 1) == 58) {
|
|
1096
|
-
It(p += R(
|
|
1096
|
+
It(p += R(Ze(w), "&", "&\f"), "&\f") != -1 && (y = -1);
|
|
1097
1097
|
break;
|
|
1098
1098
|
}
|
|
1099
1099
|
case 34:
|
|
1100
1100
|
case 39:
|
|
1101
1101
|
case 91:
|
|
1102
|
-
p +=
|
|
1102
|
+
p += Ze(w);
|
|
1103
1103
|
break;
|
|
1104
1104
|
case 9:
|
|
1105
1105
|
case 10:
|
|
@@ -1108,13 +1108,13 @@ function Ze(t, e, i, n, r, o, s, a, d) {
|
|
|
1108
1108
|
p += fr(g);
|
|
1109
1109
|
break;
|
|
1110
1110
|
case 92:
|
|
1111
|
-
p += vr(
|
|
1111
|
+
p += vr(Qe() - 1, 7);
|
|
1112
1112
|
continue;
|
|
1113
1113
|
case 47:
|
|
1114
1114
|
switch (oe()) {
|
|
1115
1115
|
case 42:
|
|
1116
1116
|
case 47:
|
|
1117
|
-
|
|
1117
|
+
Je(wr(yr(Z(), Qe()), e, i), d);
|
|
1118
1118
|
break;
|
|
1119
1119
|
default:
|
|
1120
1120
|
p += "/";
|
|
@@ -1125,29 +1125,29 @@ function Ze(t, e, i, n, r, o, s, a, d) {
|
|
|
1125
1125
|
case 125 * v:
|
|
1126
1126
|
case 59:
|
|
1127
1127
|
case 0:
|
|
1128
|
-
switch (
|
|
1128
|
+
switch (w) {
|
|
1129
1129
|
case 0:
|
|
1130
1130
|
case 125:
|
|
1131
|
-
|
|
1131
|
+
A = 0;
|
|
1132
1132
|
case 59 + u:
|
|
1133
|
-
y == -1 && (p = R(p, /\f/g, "")), f > 0 && re(p) - c &&
|
|
1133
|
+
y == -1 && (p = R(p, /\f/g, "")), f > 0 && re(p) - c && Je(f > 32 ? Zt(p + ";", n, i, c - 1) : Zt(R(p, " ", "") + ";", n, i, c - 2), d);
|
|
1134
1134
|
break;
|
|
1135
1135
|
case 59:
|
|
1136
1136
|
p += ";";
|
|
1137
1137
|
default:
|
|
1138
|
-
if (
|
|
1138
|
+
if (Je(E = Qt(p, e, i, l, u, r, a, S, b = [], m = [], c), o), w === 123)
|
|
1139
1139
|
if (u === 0)
|
|
1140
|
-
|
|
1140
|
+
et(p, e, E, E, b, o, c, a, m);
|
|
1141
1141
|
else
|
|
1142
1142
|
switch (h === 99 && U(p, 3) === 110 ? 100 : h) {
|
|
1143
1143
|
case 100:
|
|
1144
1144
|
case 108:
|
|
1145
1145
|
case 109:
|
|
1146
1146
|
case 115:
|
|
1147
|
-
|
|
1147
|
+
et(t, E, E, n && Je(Qt(t, E, E, 0, 0, r, a, S, r, b = [], c), m), r, m, c, a, n ? b : m);
|
|
1148
1148
|
break;
|
|
1149
1149
|
default:
|
|
1150
|
-
|
|
1150
|
+
et(p, E, E, E, [""], m, 0, a, m);
|
|
1151
1151
|
}
|
|
1152
1152
|
}
|
|
1153
1153
|
l = u = f = 0, v = y = 1, S = p = "", c = s;
|
|
@@ -1156,12 +1156,12 @@ function Ze(t, e, i, n, r, o, s, a, d) {
|
|
|
1156
1156
|
c = 1 + re(p), f = g;
|
|
1157
1157
|
default:
|
|
1158
1158
|
if (v < 1) {
|
|
1159
|
-
if (
|
|
1159
|
+
if (w == 123)
|
|
1160
1160
|
--v;
|
|
1161
|
-
else if (
|
|
1161
|
+
else if (w == 125 && v++ == 0 && hr() == 125)
|
|
1162
1162
|
continue;
|
|
1163
1163
|
}
|
|
1164
|
-
switch (p += dt(
|
|
1164
|
+
switch (p += dt(w), w * v) {
|
|
1165
1165
|
case 38:
|
|
1166
1166
|
y = u > 0 ? 1 : (p += "\f", -1);
|
|
1167
1167
|
break;
|
|
@@ -1169,7 +1169,7 @@ function Ze(t, e, i, n, r, o, s, a, d) {
|
|
|
1169
1169
|
a[l++] = (re(p) - 1) * y, y = 1;
|
|
1170
1170
|
break;
|
|
1171
1171
|
case 64:
|
|
1172
|
-
oe() === 45 && (p +=
|
|
1172
|
+
oe() === 45 && (p += Ze(Z())), h = oe(), u = c = re(S = p += gr(Qe())), w++;
|
|
1173
1173
|
break;
|
|
1174
1174
|
case 45:
|
|
1175
1175
|
g === 45 && re(p) == 2 && (v = 0);
|
|
@@ -1178,16 +1178,16 @@ function Ze(t, e, i, n, r, o, s, a, d) {
|
|
|
1178
1178
|
return o;
|
|
1179
1179
|
}
|
|
1180
1180
|
function Qt(t, e, i, n, r, o, s, a, d, l, u) {
|
|
1181
|
-
for (var c = r - 1, h = r === 0 ? o : [""], f = Lt(h), g = 0, v = 0,
|
|
1182
|
-
for (var y = 0,
|
|
1183
|
-
(S = Ii(v > 0 ? h[y] + " " +
|
|
1181
|
+
for (var c = r - 1, h = r === 0 ? o : [""], f = Lt(h), g = 0, v = 0, A = 0; g < n; ++g)
|
|
1182
|
+
for (var y = 0, w = je(t, c + 1, c = sr(v = s[g])), S = t; y < f; ++y)
|
|
1183
|
+
(S = Ii(v > 0 ? h[y] + " " + w : R(w, /&\f/g, h[y]))) && (d[A++] = S);
|
|
1184
1184
|
return ut(t, e, i, r === 0 ? Pt : a, d, l, u);
|
|
1185
1185
|
}
|
|
1186
|
-
function
|
|
1187
|
-
return ut(t, e, i, Ei, dt(cr()),
|
|
1186
|
+
function wr(t, e, i) {
|
|
1187
|
+
return ut(t, e, i, Ei, dt(cr()), je(t, 2, -2), 0);
|
|
1188
1188
|
}
|
|
1189
1189
|
function Zt(t, e, i, n) {
|
|
1190
|
-
return ut(t, e, i, Nt,
|
|
1190
|
+
return ut(t, e, i, Nt, je(t, 0, n), je(t, n + 1, -1), n);
|
|
1191
1191
|
}
|
|
1192
1192
|
function Ie(t, e) {
|
|
1193
1193
|
for (var i = "", n = Lt(t), r = 0; r < n; r++)
|
|
@@ -1231,18 +1231,18 @@ function mr(t) {
|
|
|
1231
1231
|
};
|
|
1232
1232
|
}
|
|
1233
1233
|
var Sr = function(e, i, n) {
|
|
1234
|
-
for (var r = 0, o = 0; r = o, o = oe(), r === 38 && o === 12 && (i[n] = 1), !
|
|
1234
|
+
for (var r = 0, o = 0; r = o, o = oe(), r === 38 && o === 12 && (i[n] = 1), !Ve(o); )
|
|
1235
1235
|
Z();
|
|
1236
|
-
return
|
|
1236
|
+
return Ge(e, X);
|
|
1237
1237
|
}, Er = function(e, i) {
|
|
1238
1238
|
var n = -1, r = 44;
|
|
1239
1239
|
do
|
|
1240
|
-
switch (
|
|
1240
|
+
switch (Ve(r)) {
|
|
1241
1241
|
case 0:
|
|
1242
1242
|
r === 38 && oe() === 12 && (i[n] = 1), e[n] += Sr(X - 1, i, n);
|
|
1243
1243
|
break;
|
|
1244
1244
|
case 2:
|
|
1245
|
-
e[n] +=
|
|
1245
|
+
e[n] += Ze(r);
|
|
1246
1246
|
break;
|
|
1247
1247
|
case 4:
|
|
1248
1248
|
if (r === 44) {
|
|
@@ -1428,8 +1428,8 @@ var Rr = function(e, i, n, r) {
|
|
|
1428
1428
|
if (i === "css") {
|
|
1429
1429
|
var n = document.querySelectorAll("style[data-emotion]:not([data-s])");
|
|
1430
1430
|
Array.prototype.forEach.call(n, function(v) {
|
|
1431
|
-
var
|
|
1432
|
-
|
|
1431
|
+
var A = v.getAttribute("data-emotion");
|
|
1432
|
+
A.indexOf(" ") !== -1 && (document.head.appendChild(v), v.setAttribute("data-s", ""));
|
|
1433
1433
|
});
|
|
1434
1434
|
}
|
|
1435
1435
|
var r = e.stylisPlugins || Tr, o = {}, s, a = [];
|
|
@@ -1438,8 +1438,8 @@ var Rr = function(e, i, n, r) {
|
|
|
1438
1438
|
// means that the style elements we're looking at are only Emotion 11 server-rendered style elements
|
|
1439
1439
|
document.querySelectorAll('style[data-emotion^="' + i + ' "]'),
|
|
1440
1440
|
function(v) {
|
|
1441
|
-
for (var
|
|
1442
|
-
o[
|
|
1441
|
+
for (var A = v.getAttribute("data-emotion").split(" "), y = 1; y < A.length; y++)
|
|
1442
|
+
o[A[y]] = !0;
|
|
1443
1443
|
a.push(v);
|
|
1444
1444
|
}
|
|
1445
1445
|
);
|
|
@@ -1447,11 +1447,11 @@ var Rr = function(e, i, n, r) {
|
|
|
1447
1447
|
{
|
|
1448
1448
|
var u, c = [br, _r(function(v) {
|
|
1449
1449
|
u.insert(v);
|
|
1450
|
-
})], h = pr(l.concat(r, c)), f = function(
|
|
1451
|
-
return Ie(
|
|
1450
|
+
})], h = pr(l.concat(r, c)), f = function(A) {
|
|
1451
|
+
return Ie(Ar(A), h);
|
|
1452
1452
|
};
|
|
1453
|
-
d = function(
|
|
1454
|
-
u =
|
|
1453
|
+
d = function(A, y, w, S) {
|
|
1454
|
+
u = w, f(A ? A + "{" + y.styles + "}" : y.styles), S && (g.inserted[y.name] = !0);
|
|
1455
1455
|
};
|
|
1456
1456
|
}
|
|
1457
1457
|
var g = {
|
|
@@ -1761,7 +1761,7 @@ var Ur = function(e) {
|
|
|
1761
1761
|
return i;
|
|
1762
1762
|
}, Fr = Ur({
|
|
1763
1763
|
key: "css"
|
|
1764
|
-
}), G = Fr.css, Rt, Q,
|
|
1764
|
+
}), G = Fr.css, Rt, Q, At, si, ai = 0, Pi = [], B = xe, di = B.__b, li = B.__r, ui = B.diffed, ci = B.__c, hi = B.unmount, fi = B.__;
|
|
1765
1765
|
function jr(t, e) {
|
|
1766
1766
|
B.__h && B.__h(Q, t, ai || e), ai = 0;
|
|
1767
1767
|
var i = Q.__H || (Q.__H = { __: [], __h: [] });
|
|
@@ -1775,7 +1775,7 @@ function Vr() {
|
|
|
1775
1775
|
for (var t; t = Pi.shift(); )
|
|
1776
1776
|
if (t.__P && t.__H)
|
|
1777
1777
|
try {
|
|
1778
|
-
t.__H.__h.forEach(
|
|
1778
|
+
t.__H.__h.forEach(tt), t.__H.__h.forEach(Tt), t.__H.__h = [];
|
|
1779
1779
|
} catch (e) {
|
|
1780
1780
|
t.__H.__h = [], B.__e(e, t.__v);
|
|
1781
1781
|
}
|
|
@@ -1787,19 +1787,19 @@ B.__b = function(t) {
|
|
|
1787
1787
|
}, B.__r = function(t) {
|
|
1788
1788
|
li && li(t), Rt = 0;
|
|
1789
1789
|
var e = (Q = t.__c).__H;
|
|
1790
|
-
e && (
|
|
1790
|
+
e && (At === Q ? (e.__h = [], Q.__h = [], e.__.forEach(function(i) {
|
|
1791
1791
|
i.__N && (i.__ = i.__N), i.u = i.__N = void 0;
|
|
1792
|
-
})) : (e.__h.forEach(
|
|
1792
|
+
})) : (e.__h.forEach(tt), e.__h.forEach(Tt), e.__h = [], Rt = 0)), At = Q;
|
|
1793
1793
|
}, B.diffed = function(t) {
|
|
1794
1794
|
ui && ui(t);
|
|
1795
1795
|
var e = t.__c;
|
|
1796
1796
|
e && e.__H && (e.__H.__h.length && (Pi.push(e) !== 1 && si === B.requestAnimationFrame || ((si = B.requestAnimationFrame) || Gr)(Vr)), e.__H.__.forEach(function(i) {
|
|
1797
1797
|
i.u && (i.__H = i.u), i.u = void 0;
|
|
1798
|
-
})),
|
|
1798
|
+
})), At = Q = null;
|
|
1799
1799
|
}, B.__c = function(t, e) {
|
|
1800
1800
|
e.some(function(i) {
|
|
1801
1801
|
try {
|
|
1802
|
-
i.__h.forEach(
|
|
1802
|
+
i.__h.forEach(tt), i.__h = i.__h.filter(function(n) {
|
|
1803
1803
|
return !n.__ || Tt(n);
|
|
1804
1804
|
});
|
|
1805
1805
|
} catch (n) {
|
|
@@ -1813,7 +1813,7 @@ B.__b = function(t) {
|
|
|
1813
1813
|
var e, i = t.__c;
|
|
1814
1814
|
i && i.__H && (i.__H.__.forEach(function(n) {
|
|
1815
1815
|
try {
|
|
1816
|
-
|
|
1816
|
+
tt(n);
|
|
1817
1817
|
} catch (r) {
|
|
1818
1818
|
e = r;
|
|
1819
1819
|
}
|
|
@@ -1826,7 +1826,7 @@ function Gr(t) {
|
|
|
1826
1826
|
}, n = setTimeout(i, 100);
|
|
1827
1827
|
vi && (e = requestAnimationFrame(i));
|
|
1828
1828
|
}
|
|
1829
|
-
function
|
|
1829
|
+
function tt(t) {
|
|
1830
1830
|
var e = Q, i = t.__c;
|
|
1831
1831
|
typeof i == "function" && (t.__c = void 0, i()), Q = e;
|
|
1832
1832
|
}
|
|
@@ -1899,7 +1899,7 @@ F.prototype.U = function(t) {
|
|
|
1899
1899
|
};
|
|
1900
1900
|
F.prototype.subscribe = function(t) {
|
|
1901
1901
|
var e = this;
|
|
1902
|
-
return
|
|
1902
|
+
return Ke(function() {
|
|
1903
1903
|
var i = e.value, n = T;
|
|
1904
1904
|
T = void 0;
|
|
1905
1905
|
try {
|
|
@@ -2046,10 +2046,10 @@ function zr(t) {
|
|
|
2046
2046
|
throw new Error("Out-of-order effect");
|
|
2047
2047
|
Ui(this), T = t, this.f &= -2, 8 & this.f && Bt(this), ct();
|
|
2048
2048
|
}
|
|
2049
|
-
function
|
|
2049
|
+
function qe(t) {
|
|
2050
2050
|
this.x = t, this.u = void 0, this.s = void 0, this.o = void 0, this.f = 32;
|
|
2051
2051
|
}
|
|
2052
|
-
|
|
2052
|
+
qe.prototype.c = function() {
|
|
2053
2053
|
var t = this.S();
|
|
2054
2054
|
try {
|
|
2055
2055
|
if (8 & this.f || this.x === void 0)
|
|
@@ -2060,21 +2060,21 @@ Ge.prototype.c = function() {
|
|
|
2060
2060
|
t();
|
|
2061
2061
|
}
|
|
2062
2062
|
};
|
|
2063
|
-
|
|
2063
|
+
qe.prototype.S = function() {
|
|
2064
2064
|
if (1 & this.f)
|
|
2065
2065
|
throw new Error("Cycle detected");
|
|
2066
2066
|
this.f |= 1, this.f &= -9, $i(this), Mi(this), ge++;
|
|
2067
2067
|
var t = T;
|
|
2068
2068
|
return T = this, zr.bind(this, t);
|
|
2069
2069
|
};
|
|
2070
|
-
|
|
2070
|
+
qe.prototype.N = function() {
|
|
2071
2071
|
2 & this.f || (this.f |= 2, this.o = Me, Me = this);
|
|
2072
2072
|
};
|
|
2073
|
-
|
|
2073
|
+
qe.prototype.d = function() {
|
|
2074
2074
|
this.f |= 8, 1 & this.f || Bt(this);
|
|
2075
2075
|
};
|
|
2076
|
-
function
|
|
2077
|
-
var e = new
|
|
2076
|
+
function Ke(t) {
|
|
2077
|
+
var e = new qe(t);
|
|
2078
2078
|
try {
|
|
2079
2079
|
e.c();
|
|
2080
2080
|
} catch (i) {
|
|
@@ -2082,8 +2082,8 @@ function qe(t) {
|
|
|
2082
2082
|
}
|
|
2083
2083
|
return e.d.bind(e);
|
|
2084
2084
|
}
|
|
2085
|
-
var Fi,
|
|
2086
|
-
|
|
2085
|
+
var Fi, wt, ji = [];
|
|
2086
|
+
Ke(function() {
|
|
2087
2087
|
Fi = this.N;
|
|
2088
2088
|
})();
|
|
2089
2089
|
function De(t, e) {
|
|
@@ -2091,7 +2091,7 @@ function De(t, e) {
|
|
|
2091
2091
|
});
|
|
2092
2092
|
}
|
|
2093
2093
|
function at(t) {
|
|
2094
|
-
|
|
2094
|
+
wt && wt(), wt = t && t.S();
|
|
2095
2095
|
}
|
|
2096
2096
|
function Vi(t) {
|
|
2097
2097
|
var e = this, i = t.data, n = Gi(i);
|
|
@@ -2107,7 +2107,7 @@ function Vi(t) {
|
|
|
2107
2107
|
return f === 0 ? 0 : f === !0 ? "" : f || "";
|
|
2108
2108
|
}), u = Ue(function() {
|
|
2109
2109
|
return !Array.isArray(l.value) && !sn(l.value);
|
|
2110
|
-
}), c =
|
|
2110
|
+
}), c = Ke(function() {
|
|
2111
2111
|
if (this.N = qi, u.value) {
|
|
2112
2112
|
var f = l.value;
|
|
2113
2113
|
a.__v && a.__v.__e && a.__v.__e.nodeType === 3 && (a.__v.__e.data = f);
|
|
@@ -2139,7 +2139,7 @@ De("__r", function(t, e) {
|
|
|
2139
2139
|
var i, n = e.__c;
|
|
2140
2140
|
n && (n.__$f &= -2, (i = n.__$u) === void 0 && (n.__$u = i = function(r) {
|
|
2141
2141
|
var o;
|
|
2142
|
-
return
|
|
2142
|
+
return Ke(function() {
|
|
2143
2143
|
o = this;
|
|
2144
2144
|
}), o.c = function() {
|
|
2145
2145
|
n.__$f |= 1, n.setState({});
|
|
@@ -2175,7 +2175,7 @@ function Wr(t, e, i, n) {
|
|
|
2175
2175
|
var r = e in t && t.ownerSVGElement === void 0, o = k(i);
|
|
2176
2176
|
return { o: function(s, a) {
|
|
2177
2177
|
o.value = s, n = a;
|
|
2178
|
-
}, d:
|
|
2178
|
+
}, d: Ke(function() {
|
|
2179
2179
|
this.N = qi;
|
|
2180
2180
|
var s = o.value.value;
|
|
2181
2181
|
n[e] !== s && (n[e] = s, r ? t[e] = s : s ? t.setAttribute(e, s) : t.removeAttribute(e));
|
|
@@ -2365,7 +2365,7 @@ const Qr = G`
|
|
|
2365
2365
|
}
|
|
2366
2366
|
}
|
|
2367
2367
|
}
|
|
2368
|
-
`, ie = k(null), Ot = k(""), Dt = k(""),
|
|
2368
|
+
`, ie = k(null), Ot = k(""), Dt = k(""), it = k(!1), Zr = () => {
|
|
2369
2369
|
var t;
|
|
2370
2370
|
(t = ie.value) == null || t.call(ie, !1);
|
|
2371
2371
|
}, eo = () => {
|
|
@@ -2377,17 +2377,17 @@ const Qr = G`
|
|
|
2377
2377
|
content: i
|
|
2378
2378
|
} = t;
|
|
2379
2379
|
return ie.value && (ie.value(!1), P(() => {
|
|
2380
|
-
ie.value = null,
|
|
2380
|
+
ie.value = null, it.value = !1;
|
|
2381
2381
|
})), P(() => {
|
|
2382
|
-
Ot.value = e || "", Dt.value = i || "",
|
|
2382
|
+
Ot.value = e || "", Dt.value = i || "", it.value = !0;
|
|
2383
2383
|
}), new Promise((n) => {
|
|
2384
2384
|
ie.value = (r) => {
|
|
2385
2385
|
P(() => {
|
|
2386
|
-
ie.value = null,
|
|
2386
|
+
ie.value = null, it.value = !1, Ot.value = "", Dt.value = "";
|
|
2387
2387
|
}), n(r);
|
|
2388
2388
|
};
|
|
2389
2389
|
});
|
|
2390
|
-
}, io = () =>
|
|
2390
|
+
}, io = () => it.value ? _("div", {
|
|
2391
2391
|
className: Qr,
|
|
2392
2392
|
children: _("div", {
|
|
2393
2393
|
className: "card-wrapper",
|
|
@@ -2568,12 +2568,12 @@ const Qr = G`
|
|
|
2568
2568
|
countdown: d,
|
|
2569
2569
|
src: l,
|
|
2570
2570
|
mode: u
|
|
2571
|
-
} = e, c = dn(() => ro(), []), [h, f] =
|
|
2572
|
-
var y,
|
|
2573
|
-
a.value = !1,
|
|
2571
|
+
} = e, c = dn(() => ro(), []), [h, f] = we(!1), g = (A) => {
|
|
2572
|
+
var y, w, S, b;
|
|
2573
|
+
a.value = !1, A === "dismiss" ? (y = n.value) == null || y.call(n) : A === "viewed" && ((w = r.value) == null || w.call(r)), (S = i.value) == null || S.call(i), (b = o.value) == null || b.call(o), f(!1);
|
|
2574
2574
|
}, v = _t(() => {
|
|
2575
|
-
var
|
|
2576
|
-
h || (f(!0), (
|
|
2575
|
+
var A;
|
|
2576
|
+
h || (f(!0), (A = s.value) == null || A.call(s));
|
|
2577
2577
|
}, [h]);
|
|
2578
2578
|
return Re(() => {
|
|
2579
2579
|
h && (u.value === "reward" || u.value === "rewarded_insterstitial") && setTimeout(() => {
|
|
@@ -2713,7 +2713,7 @@ class uo {
|
|
|
2713
2713
|
P(() => {
|
|
2714
2714
|
this.state.afterAd.value = c, this.state.adDismissed.value = f, this.state.adViewed.value = g, this.state.adBreakDone.value = v;
|
|
2715
2715
|
});
|
|
2716
|
-
const
|
|
2716
|
+
const A = () => {
|
|
2717
2717
|
var y;
|
|
2718
2718
|
if (this.lastUnDisplayedAdBreak = null, !this.adsOverlay) {
|
|
2719
2719
|
(y = e.adBreakDone) == null || y.call(e, {
|
|
@@ -2725,11 +2725,11 @@ class uo {
|
|
|
2725
2725
|
return;
|
|
2726
2726
|
}
|
|
2727
2727
|
this.adsIsShowing = !0, P(() => {
|
|
2728
|
-
var
|
|
2729
|
-
this.state.countdown.value = (
|
|
2728
|
+
var w;
|
|
2729
|
+
this.state.countdown.value = (w = i.params.countdown) != null ? w : 15, this.state.src.value = i.params.url, this.state.mode.value = "reward", this.state.visible.value = !0;
|
|
2730
2730
|
});
|
|
2731
2731
|
};
|
|
2732
|
-
this.lastUnDisplayedAdBreak = e, (u = e.beforeReward) == null || u.call(e,
|
|
2732
|
+
this.lastUnDisplayedAdBreak = e, (u = e.beforeReward) == null || u.call(e, A);
|
|
2733
2733
|
break;
|
|
2734
2734
|
}
|
|
2735
2735
|
}
|
|
@@ -2781,7 +2781,7 @@ const co = () => {
|
|
|
2781
2781
|
`, go = G`
|
|
2782
2782
|
font-size: 14px;
|
|
2783
2783
|
font-weight: 500;
|
|
2784
|
-
`,
|
|
2784
|
+
`, Ao = G`
|
|
2785
2785
|
${M}
|
|
2786
2786
|
flex: 1;
|
|
2787
2787
|
background: #050505;
|
|
@@ -2798,7 +2798,7 @@ const co = () => {
|
|
|
2798
2798
|
justify-content: center;
|
|
2799
2799
|
color: #6e7da1;
|
|
2800
2800
|
font-size: 14px;
|
|
2801
|
-
`,
|
|
2801
|
+
`, wo = G`
|
|
2802
2802
|
position: absolute;
|
|
2803
2803
|
bottom: 32px;
|
|
2804
2804
|
right: 32px;
|
|
@@ -2843,7 +2843,7 @@ const co = () => {
|
|
|
2843
2843
|
adError: a,
|
|
2844
2844
|
visible: d,
|
|
2845
2845
|
payload: l
|
|
2846
|
-
} = e, [u, c] =
|
|
2846
|
+
} = e, [u, c] = we(!1), [h, f] = we(0), [g, v] = we(!1), [A, y] = we(!1), [w, S] = we("Loading next content..."), b = gi(null), m = l.value, E = _t((L) => {
|
|
2847
2847
|
var C, W, q, I;
|
|
2848
2848
|
c(!1), d.value = !1, L === "dismiss" ? (C = n.value) == null || C.call(n) : (W = r.value) == null || W.call(r), (q = i.value) == null || q.call(i), (I = o.value) == null || I.call(o);
|
|
2849
2849
|
}, [d, n, r, i, o]), p = _t(() => {
|
|
@@ -2919,20 +2919,20 @@ const co = () => {
|
|
|
2919
2919
|
children: be
|
|
2920
2920
|
})]
|
|
2921
2921
|
}), _("div", {
|
|
2922
|
-
className:
|
|
2922
|
+
className: Ao,
|
|
2923
2923
|
ref: b,
|
|
2924
2924
|
children: !u && _("div", {
|
|
2925
2925
|
className: yi,
|
|
2926
|
-
children:
|
|
2926
|
+
children: w
|
|
2927
2927
|
})
|
|
2928
2928
|
}), _("div", {
|
|
2929
|
-
className:
|
|
2929
|
+
className: wo,
|
|
2930
2930
|
children: m.mode === "reward" ? _("button", {
|
|
2931
2931
|
className: bo,
|
|
2932
2932
|
type: "button",
|
|
2933
2933
|
onClick: () => E("viewed"),
|
|
2934
|
-
disabled: !
|
|
2935
|
-
children:
|
|
2934
|
+
disabled: !A,
|
|
2935
|
+
children: A ? "Continue" : `Continue in ${h}s`
|
|
2936
2936
|
}) : g && _("button", {
|
|
2937
2937
|
className: po,
|
|
2938
2938
|
type: "button",
|
|
@@ -3091,18 +3091,18 @@ class Eo {
|
|
|
3091
3091
|
breakName: e.name,
|
|
3092
3092
|
breakFormat: "interstitial",
|
|
3093
3093
|
breakStatus: "viewed"
|
|
3094
|
-
},
|
|
3094
|
+
}, A = () => {
|
|
3095
3095
|
var S;
|
|
3096
3096
|
this.adsIsShowing = !1, (S = e.afterAd) == null || S.call(e);
|
|
3097
3097
|
}, y = () => {
|
|
3098
3098
|
var S;
|
|
3099
3099
|
this.adsIsShowing = !1, (S = e.adBreakDone) == null || S.call(e, v);
|
|
3100
|
-
},
|
|
3100
|
+
}, w = () => {
|
|
3101
3101
|
var S, b;
|
|
3102
3102
|
this.adsIsShowing = !1, v.breakStatus = "noAdPreloaded", (S = e.afterAd) == null || S.call(e), (b = e.adBreakDone) == null || b.call(e, v);
|
|
3103
3103
|
};
|
|
3104
3104
|
P(() => {
|
|
3105
|
-
this.adsIsShowing = !0, this.state.afterAd.value =
|
|
3105
|
+
this.adsIsShowing = !0, this.state.afterAd.value = A, this.state.adBreakDone.value = y, this.state.adDismissed.value = null, this.state.adViewed.value = null, this.state.adError.value = w, this.showBannerOverlay("interstitial", o);
|
|
3106
3106
|
});
|
|
3107
3107
|
break;
|
|
3108
3108
|
}
|
|
@@ -3118,13 +3118,13 @@ class Eo {
|
|
|
3118
3118
|
breakName: e.name,
|
|
3119
3119
|
breakFormat: "reward",
|
|
3120
3120
|
breakStatus: "ignored"
|
|
3121
|
-
},
|
|
3121
|
+
}, A = () => {
|
|
3122
3122
|
var E;
|
|
3123
3123
|
this.adsIsShowing = !1, (E = e.afterAd) == null || E.call(e);
|
|
3124
3124
|
}, y = () => {
|
|
3125
3125
|
var E;
|
|
3126
3126
|
this.adsIsShowing = !1, v.breakStatus = "dismissed", (E = e.adDismissed) == null || E.call(e);
|
|
3127
|
-
},
|
|
3127
|
+
}, w = () => {
|
|
3128
3128
|
var E;
|
|
3129
3129
|
this.adsIsShowing = !1, v.breakStatus = "viewed", (E = e.adViewed) == null || E.call(e);
|
|
3130
3130
|
}, S = () => {
|
|
@@ -3135,7 +3135,7 @@ class Eo {
|
|
|
3135
3135
|
this.adsIsShowing = !1, v.breakStatus = "noAdPreloaded", (E = e.afterAd) == null || E.call(e), (p = e.adBreakDone) == null || p.call(e, v);
|
|
3136
3136
|
};
|
|
3137
3137
|
P(() => {
|
|
3138
|
-
this.state.afterAd.value =
|
|
3138
|
+
this.state.afterAd.value = A, this.state.adDismissed.value = y, this.state.adViewed.value = w, this.state.adBreakDone.value = S, this.state.adError.value = b;
|
|
3139
3139
|
});
|
|
3140
3140
|
const m = () => {
|
|
3141
3141
|
var E, p;
|
|
@@ -3213,9 +3213,9 @@ const _e = (t, e) => {
|
|
|
3213
3213
|
adLinkClicked: a,
|
|
3214
3214
|
visible: d,
|
|
3215
3215
|
src: l
|
|
3216
|
-
} = e, [u, c] =
|
|
3217
|
-
var v,
|
|
3218
|
-
c(!1), d.value = !1, g === "dismiss" ? (v = n.value) == null || v.call(n) : g === "viewed" && ((
|
|
3216
|
+
} = e, [u, c] = we(!1), h = (g) => {
|
|
3217
|
+
var v, A, y, w;
|
|
3218
|
+
c(!1), d.value = !1, g === "dismiss" ? (v = n.value) == null || v.call(n) : g === "viewed" && ((A = r.value) == null || A.call(r)), (y = i.value) == null || y.call(i), (w = o.value) == null || w.call(o);
|
|
3219
3219
|
}, f = () => {
|
|
3220
3220
|
var g;
|
|
3221
3221
|
(g = s.value) == null || g.call(s);
|
|
@@ -3321,19 +3321,19 @@ class Ro {
|
|
|
3321
3321
|
case "pause": {
|
|
3322
3322
|
(d = e.beforeAd) == null || d.call(e);
|
|
3323
3323
|
const f = () => {
|
|
3324
|
-
var
|
|
3325
|
-
this.adsIsShowing = !1, (
|
|
3324
|
+
var A;
|
|
3325
|
+
this.adsIsShowing = !1, (A = e.afterAd) == null || A.call(e);
|
|
3326
3326
|
}, g = () => {
|
|
3327
|
-
var
|
|
3328
|
-
this.adsIsShowing = !1, (
|
|
3327
|
+
var A;
|
|
3328
|
+
this.adsIsShowing = !1, (A = e.adBreakDone) == null || A.call(e, {
|
|
3329
3329
|
breakType: e.type,
|
|
3330
3330
|
breakName: e.name,
|
|
3331
3331
|
breakFormat: "interstitial",
|
|
3332
3332
|
breakStatus: "viewed"
|
|
3333
3333
|
});
|
|
3334
3334
|
}, v = () => {
|
|
3335
|
-
var
|
|
3336
|
-
this.adsIsShowing = !1, (
|
|
3335
|
+
var A;
|
|
3336
|
+
this.adsIsShowing = !1, (A = e.adBreakDone) == null || A.call(e, {
|
|
3337
3337
|
breakType: e.type,
|
|
3338
3338
|
breakName: e.name,
|
|
3339
3339
|
breakFormat: "interstitial",
|
|
@@ -3363,17 +3363,17 @@ class Ro {
|
|
|
3363
3363
|
}, v = () => {
|
|
3364
3364
|
var b;
|
|
3365
3365
|
this.adsIsShowing = !1, g.breakStatus = "dismissed", (b = e.adDismissed) == null || b.call(e);
|
|
3366
|
-
},
|
|
3366
|
+
}, A = () => {
|
|
3367
3367
|
var b;
|
|
3368
3368
|
this.adsIsShowing = !1, g.breakStatus = "viewed", (b = e.adViewed) == null || b.call(e);
|
|
3369
3369
|
}, y = () => {
|
|
3370
3370
|
var b;
|
|
3371
3371
|
this.adsIsShowing = !1, (b = e.adBreakDone) == null || b.call(e, g);
|
|
3372
|
-
},
|
|
3372
|
+
}, w = () => {
|
|
3373
3373
|
this.adsIsShowing = !1, g.breakStatus = "noAdPreloaded";
|
|
3374
3374
|
};
|
|
3375
3375
|
P(() => {
|
|
3376
|
-
this.state.afterAd.value = f, this.state.adDismissed.value = v, this.state.adViewed.value =
|
|
3376
|
+
this.state.afterAd.value = f, this.state.adDismissed.value = v, this.state.adViewed.value = A, this.state.adBreakDone.value = y, this.state.adLinkClicked.value = n, this.state.adError.value = w;
|
|
3377
3377
|
});
|
|
3378
3378
|
const S = () => {
|
|
3379
3379
|
var b;
|
|
@@ -3550,7 +3550,7 @@ class Po {
|
|
|
3550
3550
|
});
|
|
3551
3551
|
}
|
|
3552
3552
|
}
|
|
3553
|
-
function
|
|
3553
|
+
function Ae(t, e, i) {
|
|
3554
3554
|
return (e = No(e)) in t ? Object.defineProperty(t, e, { value: i, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = i, t;
|
|
3555
3555
|
}
|
|
3556
3556
|
function No(t) {
|
|
@@ -3571,7 +3571,7 @@ function Lo(t, e) {
|
|
|
3571
3571
|
}
|
|
3572
3572
|
class Bo {
|
|
3573
3573
|
constructor(e, i) {
|
|
3574
|
-
|
|
3574
|
+
Ae(this, "name", "GOOGLE_GPT"), Ae(this, "context", void 0), Ae(this, "contextInfo", void 0), Ae(this, "initParams", void 0), Ae(this, "rewardAdManager", void 0), Ae(this, "interstitialManager", void 0), Ae(this, "insertScript", () => {
|
|
3575
3575
|
const n = "jolibox-google-gpt";
|
|
3576
3576
|
let r = document.getElementById(n);
|
|
3577
3577
|
r || (r = window.document.createElement("script"), r.id = n, r.async = !0, r.src = "https://securepubads.g.doubleclick.net/tag/js/gpt.js", r.crossOrigin = "anonymous", document.head.appendChild(r));
|
|
@@ -3901,7 +3901,7 @@ class Qi {
|
|
|
3901
3901
|
}
|
|
3902
3902
|
}
|
|
3903
3903
|
canIUse() {
|
|
3904
|
-
return
|
|
3904
|
+
return $e() && this.canIUseHelper("loadAdsAsync") && this.canIUseHelper("showAdAsync");
|
|
3905
3905
|
}
|
|
3906
3906
|
/**
|
|
3907
3907
|
* Show a loaded ad
|
|
@@ -3994,9 +3994,13 @@ class Ho {
|
|
|
3994
3994
|
}
|
|
3995
3995
|
constructor(e, i) {
|
|
3996
3996
|
ue(this, "providers", void 0), ue(this, "helper", void 0), ue(this, "adsContext", null), ue(this, "_isAdsReady", !1), ue(this, "init", async () => {
|
|
3997
|
-
|
|
3997
|
+
if (!$e()) {
|
|
3998
|
+
this._isAdsReady = !1;
|
|
3999
|
+
return;
|
|
4000
|
+
}
|
|
4001
|
+
this.helper.canIUse() ? (await this.helper.loadAdsAsync({
|
|
3998
4002
|
providers: this.providers
|
|
3999
|
-
})).code === "SUCCESS" ? this._isAdsReady = !0 : this._isAdsReady = !1
|
|
4003
|
+
})).code === "SUCCESS" ? this._isAdsReady = !0 : this._isAdsReady = !1 : this._isAdsReady = !1;
|
|
4000
4004
|
}), ue(this, "destroy", (n) => {
|
|
4001
4005
|
var r, o;
|
|
4002
4006
|
this._isAdsReady = !1, (o = (r = this.adsContext) == null ? void 0 : r.adBreakDone) == null || o.call(r, n), n !== "ignored" && (this.adsContext = null);
|
|
@@ -4328,7 +4332,7 @@ class Ms {
|
|
|
4328
4332
|
this.providers.ADSENSE ? this.providers.ADSENSE.adConfig(e) : window.adsbygoogle.push(e);
|
|
4329
4333
|
}
|
|
4330
4334
|
async adBreak(e) {
|
|
4331
|
-
var r, o, s, a, d, l, u, c, h, f, g, v,
|
|
4335
|
+
var r, o, s, a, d, l, u, c, h, f, g, v, A, y, w, S;
|
|
4332
4336
|
const i = Date.now();
|
|
4333
4337
|
if (i - this.initializedTimeStamp < 3e3) {
|
|
4334
4338
|
(r = e.adBreakDone) == null || r.call(e, {
|
|
@@ -4433,7 +4437,7 @@ class Ms {
|
|
|
4433
4437
|
const be = new Kn(this.context);
|
|
4434
4438
|
this.adsActionDetection.adBreakIsShowing = !0;
|
|
4435
4439
|
const L = m.filter((I) => I.isNative).sort((I, Y) => I.seq - Y.seq), C = m.filter((I) => !I.isNative).sort((I, Y) => I.seq - Y.seq), W = {
|
|
4436
|
-
seq: (
|
|
4440
|
+
seq: (A = (v = L[0]) == null ? void 0 : v.seq) != null ? A : 0,
|
|
4437
4441
|
provider: "INTERNAL_NATIVE",
|
|
4438
4442
|
params: L
|
|
4439
4443
|
};
|
|
@@ -4462,7 +4466,7 @@ class Ms {
|
|
|
4462
4466
|
p && se && ((y = e.adBreakDone) == null || y.call(e, se));
|
|
4463
4467
|
}
|
|
4464
4468
|
} catch (b) {
|
|
4465
|
-
(
|
|
4469
|
+
(w = e.adBreakDone) == null || w.call(e, {
|
|
4466
4470
|
breakType: e.type,
|
|
4467
4471
|
breakFormat: e.type === "reward" ? "reward" : "interstitial",
|
|
4468
4472
|
breakStatus: "noAdPreloaded"
|
|
@@ -4475,7 +4479,7 @@ class Ms {
|
|
|
4475
4479
|
console.warn("This method has been deprecated. We will not support AdSense AdUnit in the future.");
|
|
4476
4480
|
}
|
|
4477
4481
|
}
|
|
4478
|
-
function
|
|
4482
|
+
function Xe(t, e, i) {
|
|
4479
4483
|
return (e = ns(e)) in t ? Object.defineProperty(t, e, { value: i, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = i, t;
|
|
4480
4484
|
}
|
|
4481
4485
|
function ns(t) {
|
|
@@ -4496,7 +4500,7 @@ function rs(t, e) {
|
|
|
4496
4500
|
}
|
|
4497
4501
|
class os {
|
|
4498
4502
|
constructor(e) {
|
|
4499
|
-
|
|
4503
|
+
Xe(this, "context", void 0), Xe(this, "currentProvider", void 0), Xe(this, "continueCallback", void 0), Xe(this, "contextInfo", void 0), this.context = e, this.contextInfo = e.getContextInfo();
|
|
4500
4504
|
}
|
|
4501
4505
|
get paramsToTrack() {
|
|
4502
4506
|
var e, i;
|
|
@@ -4517,7 +4521,7 @@ class os {
|
|
|
4517
4521
|
wrapAdPlaying(e) {
|
|
4518
4522
|
return (i) => {
|
|
4519
4523
|
var n, r;
|
|
4520
|
-
this.context.track("CallAFVPlaying", this.paramsToTrack),
|
|
4524
|
+
this.context.track("CallAFVPlaying", this.paramsToTrack), $e() && this.context.track("mmp_ad_impression", {
|
|
4521
4525
|
ad_network: (r = (n = this.currentProvider) == null ? void 0 : n.name) != null ? r : "",
|
|
4522
4526
|
ad_format: "AFV",
|
|
4523
4527
|
module: "drama",
|
|
@@ -4662,7 +4666,7 @@ class us {
|
|
|
4662
4666
|
}), this.adTagUrl = e, this.videoContent = i, this.adContainer = n;
|
|
4663
4667
|
}
|
|
4664
4668
|
}
|
|
4665
|
-
var
|
|
4669
|
+
var nt = /* @__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))(nt || {});
|
|
4666
4670
|
const cs = () => {
|
|
4667
4671
|
const t = k(!1), e = k(!1), i = k(null), n = Kt(), r = Kt();
|
|
4668
4672
|
return {
|
|
@@ -4842,9 +4846,9 @@ class gs {
|
|
|
4842
4846
|
var h;
|
|
4843
4847
|
let c = !1;
|
|
4844
4848
|
switch (u.raw.getErrorCode()) {
|
|
4845
|
-
case
|
|
4846
|
-
case
|
|
4847
|
-
case
|
|
4849
|
+
case nt.AUTOPLAY_DISALLOWED:
|
|
4850
|
+
case nt.VIDEO_PLAY_ERROR:
|
|
4851
|
+
case nt.ADS_REQUEST_NETWORK_ERROR: {
|
|
4848
4852
|
c = !0;
|
|
4849
4853
|
break;
|
|
4850
4854
|
}
|
|
@@ -4877,13 +4881,13 @@ class gs {
|
|
|
4877
4881
|
}
|
|
4878
4882
|
}
|
|
4879
4883
|
function ne(t, e, i) {
|
|
4880
|
-
return (e =
|
|
4884
|
+
return (e = As(e)) in t ? Object.defineProperty(t, e, { value: i, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = i, t;
|
|
4881
4885
|
}
|
|
4882
|
-
function
|
|
4883
|
-
var e =
|
|
4886
|
+
function As(t) {
|
|
4887
|
+
var e = ws(t, "string");
|
|
4884
4888
|
return typeof e == "symbol" ? e : e + "";
|
|
4885
4889
|
}
|
|
4886
|
-
function
|
|
4890
|
+
function ws(t, e) {
|
|
4887
4891
|
if (typeof t != "object" || !t)
|
|
4888
4892
|
return t;
|
|
4889
4893
|
var i = t[Symbol.toPrimitive];
|
|
@@ -5153,28 +5157,28 @@ class Us {
|
|
|
5153
5157
|
return;
|
|
5154
5158
|
}
|
|
5155
5159
|
if (v) {
|
|
5156
|
-
const
|
|
5157
|
-
if (
|
|
5160
|
+
const A = v == null ? void 0 : v.sort((b, m) => b.seq - m.seq);
|
|
5161
|
+
if (A.length === 0) {
|
|
5158
5162
|
const b = $.from(new Error("No ads available"), "JOLIBOX_IMA_ERROR");
|
|
5159
5163
|
(l = e.onAdError) == null || l.call(e, b);
|
|
5160
5164
|
return;
|
|
5161
5165
|
}
|
|
5162
|
-
let y = !0,
|
|
5166
|
+
let y = !0, w = null;
|
|
5163
5167
|
const S = new os(this.context);
|
|
5164
|
-
for (;
|
|
5165
|
-
const b =
|
|
5168
|
+
for (; A.length > 0; ) {
|
|
5169
|
+
const b = A.shift(), m = this.providers[b.provider];
|
|
5166
5170
|
if (m) {
|
|
5167
5171
|
const [E, p] = await S.callAdRequestAndContinue(m, e, b);
|
|
5168
|
-
y = E,
|
|
5172
|
+
y = E, w = p;
|
|
5169
5173
|
} else
|
|
5170
|
-
y = !0,
|
|
5174
|
+
y = !0, w = $.from(new Error("No provider available"), "JOLIBOX_IMA_ERROR");
|
|
5171
5175
|
if (!y)
|
|
5172
5176
|
break;
|
|
5173
5177
|
}
|
|
5174
|
-
y &&
|
|
5178
|
+
y && w && ((u = e.onAdError) == null || u.call(e, w));
|
|
5175
5179
|
} else {
|
|
5176
|
-
const
|
|
5177
|
-
(d = e.onAdError) == null || d.call(e,
|
|
5180
|
+
const A = $.from(new Error("Unknown error"), "JOLIBOX_IMA_ERROR");
|
|
5181
|
+
(d = e.onAdError) == null || d.call(e, A);
|
|
5178
5182
|
return;
|
|
5179
5183
|
}
|
|
5180
5184
|
} catch (f) {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jolibox/ads",
|
|
3
3
|
"description": "This project is for integrating Jolibox ads providers",
|
|
4
|
-
"version": "1.4.
|
|
4
|
+
"version": "1.4.2",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"typings": "dist/index.d.ts",
|
|
7
7
|
"type": "module",
|
|
@@ -12,12 +12,12 @@
|
|
|
12
12
|
],
|
|
13
13
|
"types": "./dist/index.d.ts",
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@jolibox/common": "1.4.
|
|
15
|
+
"@jolibox/common": "1.4.2",
|
|
16
16
|
"@emotion/css": "11.13.5",
|
|
17
|
-
"@jolibox/types": "1.4.
|
|
17
|
+
"@jolibox/types": "1.4.2",
|
|
18
18
|
"preact": "10.26.4",
|
|
19
19
|
"@preact/signals": "2.0.4",
|
|
20
|
-
"@jolibox/native-bridge": "1.4.
|
|
20
|
+
"@jolibox/native-bridge": "1.4.2"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
23
|
"@babel/core": "7.23.3",
|