@jolibox/ads 1.3.5-beta.4 → 1.3.5-beta.9
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 +186 -186
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -193,13 +193,13 @@ function Rr() {
|
|
|
193
193
|
Rr();
|
|
194
194
|
var Re = typeof window == "undefined", gt = () => !Re && !!(navigator.userAgent || "").includes("JoliboxPlatformSDK");
|
|
195
195
|
!Re && (navigator.userAgent.includes("iPhone") || navigator.userAgent.includes("iPod") || navigator.userAgent.includes("iPad") || navigator.userAgent.includes("iPhone OS")), !Re && navigator.userAgent.includes("Android"), !Re && navigator.userAgent.includes("Mac"), !Re && navigator.userAgent.includes("FB_IAB"), !Re && !navigator.userAgent.includes("iPhone") && navigator.userAgent.includes("Android");
|
|
196
|
-
var
|
|
196
|
+
var qt = class Kt {
|
|
197
197
|
constructor(e) {
|
|
198
|
-
this.element = e, this.next =
|
|
198
|
+
this.element = e, this.next = Kt.Undefined, this.prev = Kt.Undefined;
|
|
199
199
|
}
|
|
200
200
|
};
|
|
201
|
-
|
|
202
|
-
var D =
|
|
201
|
+
qt.Undefined = new qt(void 0);
|
|
202
|
+
var D = qt, Or = class {
|
|
203
203
|
constructor() {
|
|
204
204
|
this._first = D.Undefined, this._last = D.Undefined, this._size = 0;
|
|
205
205
|
}
|
|
@@ -764,13 +764,13 @@ class Gr {
|
|
|
764
764
|
}
|
|
765
765
|
}
|
|
766
766
|
function nt(t, e, i) {
|
|
767
|
-
return (e =
|
|
767
|
+
return (e = qr(e)) in t ? Object.defineProperty(t, e, { value: i, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = i, t;
|
|
768
768
|
}
|
|
769
|
-
function
|
|
770
|
-
var e =
|
|
769
|
+
function qr(t) {
|
|
770
|
+
var e = Kr(t, "string");
|
|
771
771
|
return typeof e == "symbol" ? e : e + "";
|
|
772
772
|
}
|
|
773
|
-
function
|
|
773
|
+
function Kr(t, e) {
|
|
774
774
|
if (typeof t != "object" || !t)
|
|
775
775
|
return t;
|
|
776
776
|
var i = t[Symbol.toPrimitive];
|
|
@@ -945,7 +945,7 @@ var Xr = /* @__PURE__ */ function() {
|
|
|
945
945
|
return (r = n.parentNode) == null ? void 0 : r.removeChild(n);
|
|
946
946
|
}), this.tags = [], this.ctr = 0;
|
|
947
947
|
}, t;
|
|
948
|
-
}(), G = "-ms-", yt = "-moz-",
|
|
948
|
+
}(), G = "-ms-", yt = "-moz-", x = "-webkit-", cn = "comm", ui = "rule", ci = "decl", Zr = "@import", hn = "@keyframes", eo = "@layer", to = Math.abs, _t = String.fromCharCode, io = Object.assign;
|
|
949
949
|
function no(t, e) {
|
|
950
950
|
return B(t, 0) ^ 45 ? (((e << 2 ^ B(t, 0)) << 2 ^ B(t, 1)) << 2 ^ B(t, 2)) << 2 ^ B(t, 3) : 0;
|
|
951
951
|
}
|
|
@@ -955,7 +955,7 @@ function fn(t) {
|
|
|
955
955
|
function ro(t, e) {
|
|
956
956
|
return (t = e.exec(t)) ? t[0] : t;
|
|
957
957
|
}
|
|
958
|
-
function
|
|
958
|
+
function R(t, e, i) {
|
|
959
959
|
return t.replace(e, i);
|
|
960
960
|
}
|
|
961
961
|
function Ht(t, e) {
|
|
@@ -967,7 +967,7 @@ function B(t, e) {
|
|
|
967
967
|
function We(t, e, i) {
|
|
968
968
|
return t.slice(e, i);
|
|
969
969
|
}
|
|
970
|
-
function
|
|
970
|
+
function se(t) {
|
|
971
971
|
return t.length;
|
|
972
972
|
}
|
|
973
973
|
function hi(t) {
|
|
@@ -992,10 +992,10 @@ function so() {
|
|
|
992
992
|
function ao() {
|
|
993
993
|
return L = W > 0 ? B($e, --W) : 0, Le--, L === 10 && (Le = 1, St--), L;
|
|
994
994
|
}
|
|
995
|
-
function
|
|
995
|
+
function ee() {
|
|
996
996
|
return L = W < vn ? B($e, W++) : 0, Le++, L === 10 && (Le = 1, St++), L;
|
|
997
997
|
}
|
|
998
|
-
function
|
|
998
|
+
function ae() {
|
|
999
999
|
return B($e, W);
|
|
1000
1000
|
}
|
|
1001
1001
|
function dt() {
|
|
@@ -1037,7 +1037,7 @@ function Ye(t) {
|
|
|
1037
1037
|
return 0;
|
|
1038
1038
|
}
|
|
1039
1039
|
function gn(t) {
|
|
1040
|
-
return St = Le = 1, vn =
|
|
1040
|
+
return St = Le = 1, vn = se($e = t), W = 0, [];
|
|
1041
1041
|
}
|
|
1042
1042
|
function yn(t) {
|
|
1043
1043
|
return $e = "", t;
|
|
@@ -1046,17 +1046,17 @@ function lt(t) {
|
|
|
1046
1046
|
return fn(Xe(W - 1, Wt(t === 91 ? t + 2 : t === 40 ? t + 1 : t)));
|
|
1047
1047
|
}
|
|
1048
1048
|
function lo(t) {
|
|
1049
|
-
for (; (L =
|
|
1050
|
-
|
|
1049
|
+
for (; (L = ae()) && L < 33; )
|
|
1050
|
+
ee();
|
|
1051
1051
|
return Ye(t) > 2 || Ye(L) > 3 ? "" : " ";
|
|
1052
1052
|
}
|
|
1053
1053
|
function uo(t, e) {
|
|
1054
|
-
for (; --e &&
|
|
1054
|
+
for (; --e && ee() && !(L < 48 || L > 102 || L > 57 && L < 65 || L > 70 && L < 97); )
|
|
1055
1055
|
;
|
|
1056
|
-
return Xe(t, dt() + (e < 6 &&
|
|
1056
|
+
return Xe(t, dt() + (e < 6 && ae() == 32 && ee() == 32));
|
|
1057
1057
|
}
|
|
1058
1058
|
function Wt(t) {
|
|
1059
|
-
for (;
|
|
1059
|
+
for (; ee(); )
|
|
1060
1060
|
switch (L) {
|
|
1061
1061
|
case t:
|
|
1062
1062
|
return W;
|
|
@@ -1068,20 +1068,20 @@ function Wt(t) {
|
|
|
1068
1068
|
t === 41 && Wt(t);
|
|
1069
1069
|
break;
|
|
1070
1070
|
case 92:
|
|
1071
|
-
|
|
1071
|
+
ee();
|
|
1072
1072
|
break;
|
|
1073
1073
|
}
|
|
1074
1074
|
return W;
|
|
1075
1075
|
}
|
|
1076
1076
|
function co(t, e) {
|
|
1077
|
-
for (;
|
|
1078
|
-
if (t + L === 84 &&
|
|
1077
|
+
for (; ee() && t + L !== 57; )
|
|
1078
|
+
if (t + L === 84 && ae() === 47)
|
|
1079
1079
|
break;
|
|
1080
|
-
return "/*" + Xe(e, W - 1) + "*" + _t(t === 47 ? t :
|
|
1080
|
+
return "/*" + Xe(e, W - 1) + "*" + _t(t === 47 ? t : ee());
|
|
1081
1081
|
}
|
|
1082
1082
|
function ho(t) {
|
|
1083
|
-
for (; !Ye(
|
|
1084
|
-
|
|
1083
|
+
for (; !Ye(ae()); )
|
|
1084
|
+
ee();
|
|
1085
1085
|
return Xe(t, W);
|
|
1086
1086
|
}
|
|
1087
1087
|
function fo(t) {
|
|
@@ -1089,10 +1089,10 @@ function fo(t) {
|
|
|
1089
1089
|
}
|
|
1090
1090
|
function ut(t, e, i, n, r, o, s, a, d) {
|
|
1091
1091
|
for (var l = 0, u = 0, c = s, h = 0, f = 0, y = 0, v = 1, p = 1, g = 1, b = 0, A = "", w = r, S = o, E = n, m = A; p; )
|
|
1092
|
-
switch (y = b, b =
|
|
1092
|
+
switch (y = b, b = ee()) {
|
|
1093
1093
|
case 40:
|
|
1094
1094
|
if (y != 108 && B(m, c - 1) == 58) {
|
|
1095
|
-
Ht(m +=
|
|
1095
|
+
Ht(m += R(lt(b), "&", "&\f"), "&\f") != -1 && (g = -1);
|
|
1096
1096
|
break;
|
|
1097
1097
|
}
|
|
1098
1098
|
case 34:
|
|
@@ -1110,17 +1110,17 @@ function ut(t, e, i, n, r, o, s, a, d) {
|
|
|
1110
1110
|
m += uo(dt() - 1, 7);
|
|
1111
1111
|
continue;
|
|
1112
1112
|
case 47:
|
|
1113
|
-
switch (
|
|
1113
|
+
switch (ae()) {
|
|
1114
1114
|
case 42:
|
|
1115
1115
|
case 47:
|
|
1116
|
-
rt(vo(co(
|
|
1116
|
+
rt(vo(co(ee(), dt()), e, i), d);
|
|
1117
1117
|
break;
|
|
1118
1118
|
default:
|
|
1119
1119
|
m += "/";
|
|
1120
1120
|
}
|
|
1121
1121
|
break;
|
|
1122
1122
|
case 123 * v:
|
|
1123
|
-
a[l++] =
|
|
1123
|
+
a[l++] = se(m) * g;
|
|
1124
1124
|
case 125 * v:
|
|
1125
1125
|
case 59:
|
|
1126
1126
|
case 0:
|
|
@@ -1129,7 +1129,7 @@ function ut(t, e, i, n, r, o, s, a, d) {
|
|
|
1129
1129
|
case 125:
|
|
1130
1130
|
p = 0;
|
|
1131
1131
|
case 59 + u:
|
|
1132
|
-
g == -1 && (m =
|
|
1132
|
+
g == -1 && (m = R(m, /\f/g, "")), f > 0 && se(m) - c && rt(f > 32 ? Ci(m + ";", n, i, c - 1) : Ci(R(m, " ", "") + ";", n, i, c - 2), d);
|
|
1133
1133
|
break;
|
|
1134
1134
|
case 59:
|
|
1135
1135
|
m += ";";
|
|
@@ -1152,7 +1152,7 @@ function ut(t, e, i, n, r, o, s, a, d) {
|
|
|
1152
1152
|
l = u = f = 0, v = g = 1, A = m = "", c = s;
|
|
1153
1153
|
break;
|
|
1154
1154
|
case 58:
|
|
1155
|
-
c = 1 +
|
|
1155
|
+
c = 1 + se(m), f = y;
|
|
1156
1156
|
default:
|
|
1157
1157
|
if (v < 1) {
|
|
1158
1158
|
if (b == 123)
|
|
@@ -1165,13 +1165,13 @@ function ut(t, e, i, n, r, o, s, a, d) {
|
|
|
1165
1165
|
g = u > 0 ? 1 : (m += "\f", -1);
|
|
1166
1166
|
break;
|
|
1167
1167
|
case 44:
|
|
1168
|
-
a[l++] = (
|
|
1168
|
+
a[l++] = (se(m) - 1) * g, g = 1;
|
|
1169
1169
|
break;
|
|
1170
1170
|
case 64:
|
|
1171
|
-
|
|
1171
|
+
ae() === 45 && (m += lt(ee())), h = ae(), u = c = se(A = m += ho(dt())), b++;
|
|
1172
1172
|
break;
|
|
1173
1173
|
case 45:
|
|
1174
|
-
y === 45 &&
|
|
1174
|
+
y === 45 && se(m) == 2 && (v = 0);
|
|
1175
1175
|
}
|
|
1176
1176
|
}
|
|
1177
1177
|
return o;
|
|
@@ -1179,7 +1179,7 @@ function ut(t, e, i, n, r, o, s, a, d) {
|
|
|
1179
1179
|
function Ti(t, e, i, n, r, o, s, a, d, l, u) {
|
|
1180
1180
|
for (var c = r - 1, h = r === 0 ? o : [""], f = hi(h), y = 0, v = 0, p = 0; y < n; ++y)
|
|
1181
1181
|
for (var g = 0, b = We(t, c + 1, c = to(v = s[y])), A = t; g < f; ++g)
|
|
1182
|
-
(A = fn(v > 0 ? h[g] + " " + b :
|
|
1182
|
+
(A = fn(v > 0 ? h[g] + " " + b : R(b, /&\f/g, h[g]))) && (d[p++] = A);
|
|
1183
1183
|
return Et(t, e, i, r === 0 ? ui : a, d, l, u);
|
|
1184
1184
|
}
|
|
1185
1185
|
function vo(t, e, i) {
|
|
@@ -1208,7 +1208,7 @@ function go(t, e, i, n) {
|
|
|
1208
1208
|
case ui:
|
|
1209
1209
|
t.value = t.props.join(",");
|
|
1210
1210
|
}
|
|
1211
|
-
return
|
|
1211
|
+
return se(i = Ce(t.children, n)) ? t.return = t.value + "{" + i + "}" : "";
|
|
1212
1212
|
}
|
|
1213
1213
|
function yo(t) {
|
|
1214
1214
|
var e = hi(t);
|
|
@@ -1230,28 +1230,28 @@ function bo(t) {
|
|
|
1230
1230
|
};
|
|
1231
1231
|
}
|
|
1232
1232
|
var wo = function(e, i, n) {
|
|
1233
|
-
for (var r = 0, o = 0; r = o, o =
|
|
1234
|
-
|
|
1233
|
+
for (var r = 0, o = 0; r = o, o = ae(), r === 38 && o === 12 && (i[n] = 1), !Ye(o); )
|
|
1234
|
+
ee();
|
|
1235
1235
|
return Xe(e, W);
|
|
1236
1236
|
}, Ao = function(e, i) {
|
|
1237
1237
|
var n = -1, r = 44;
|
|
1238
1238
|
do
|
|
1239
1239
|
switch (Ye(r)) {
|
|
1240
1240
|
case 0:
|
|
1241
|
-
r === 38 &&
|
|
1241
|
+
r === 38 && ae() === 12 && (i[n] = 1), e[n] += wo(W - 1, i, n);
|
|
1242
1242
|
break;
|
|
1243
1243
|
case 2:
|
|
1244
1244
|
e[n] += lt(r);
|
|
1245
1245
|
break;
|
|
1246
1246
|
case 4:
|
|
1247
1247
|
if (r === 44) {
|
|
1248
|
-
e[++n] =
|
|
1248
|
+
e[++n] = ae() === 58 ? "&\f" : "", i[n] = e[n].length;
|
|
1249
1249
|
break;
|
|
1250
1250
|
}
|
|
1251
1251
|
default:
|
|
1252
1252
|
e[n] += _t(r);
|
|
1253
1253
|
}
|
|
1254
|
-
while (r =
|
|
1254
|
+
while (r = ee());
|
|
1255
1255
|
return e;
|
|
1256
1256
|
}, mo = function(e, i) {
|
|
1257
1257
|
return yn(Ao(gn(e), i));
|
|
@@ -1280,7 +1280,7 @@ var wo = function(e, i, n) {
|
|
|
1280
1280
|
function pn(t, e) {
|
|
1281
1281
|
switch (no(t, e)) {
|
|
1282
1282
|
case 5103:
|
|
1283
|
-
return
|
|
1283
|
+
return x + "print-" + t + t;
|
|
1284
1284
|
case 5737:
|
|
1285
1285
|
case 4201:
|
|
1286
1286
|
case 3177:
|
|
@@ -1306,44 +1306,44 @@ function pn(t, e) {
|
|
|
1306
1306
|
case 5365:
|
|
1307
1307
|
case 5621:
|
|
1308
1308
|
case 3829:
|
|
1309
|
-
return
|
|
1309
|
+
return x + t + t;
|
|
1310
1310
|
case 5349:
|
|
1311
1311
|
case 4246:
|
|
1312
1312
|
case 4810:
|
|
1313
1313
|
case 6968:
|
|
1314
1314
|
case 2756:
|
|
1315
|
-
return
|
|
1315
|
+
return x + t + yt + t + G + t + t;
|
|
1316
1316
|
case 6828:
|
|
1317
1317
|
case 4268:
|
|
1318
|
-
return
|
|
1318
|
+
return x + t + G + t + t;
|
|
1319
1319
|
case 6165:
|
|
1320
|
-
return
|
|
1320
|
+
return x + t + G + "flex-" + t + t;
|
|
1321
1321
|
case 5187:
|
|
1322
|
-
return
|
|
1322
|
+
return x + t + R(t, /(\w+).+(:[^]+)/, x + "box-$1$2" + G + "flex-$1$2") + t;
|
|
1323
1323
|
case 5443:
|
|
1324
|
-
return
|
|
1324
|
+
return x + t + G + "flex-item-" + R(t, /flex-|-self/, "") + t;
|
|
1325
1325
|
case 4675:
|
|
1326
|
-
return
|
|
1326
|
+
return x + t + G + "flex-line-pack" + R(t, /align-content|flex-|-self/, "") + t;
|
|
1327
1327
|
case 5548:
|
|
1328
|
-
return
|
|
1328
|
+
return x + t + G + R(t, "shrink", "negative") + t;
|
|
1329
1329
|
case 5292:
|
|
1330
|
-
return
|
|
1330
|
+
return x + t + G + R(t, "basis", "preferred-size") + t;
|
|
1331
1331
|
case 6060:
|
|
1332
|
-
return
|
|
1332
|
+
return x + "box-" + R(t, "-grow", "") + x + t + G + R(t, "grow", "positive") + t;
|
|
1333
1333
|
case 4554:
|
|
1334
|
-
return
|
|
1334
|
+
return x + R(t, /([^-])(transform)/g, "$1" + x + "$2") + t;
|
|
1335
1335
|
case 6187:
|
|
1336
|
-
return
|
|
1336
|
+
return R(R(R(t, /(zoom-|grab)/, x + "$1"), /(image-set)/, x + "$1"), t, "") + t;
|
|
1337
1337
|
case 5495:
|
|
1338
1338
|
case 3959:
|
|
1339
|
-
return
|
|
1339
|
+
return R(t, /(image-set\([^]*)/, x + "$1$`$1");
|
|
1340
1340
|
case 4968:
|
|
1341
|
-
return
|
|
1341
|
+
return R(R(t, /(.+:)(flex-)?(.*)/, x + "box-pack:$3" + G + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + x + t + t;
|
|
1342
1342
|
case 4095:
|
|
1343
1343
|
case 3583:
|
|
1344
1344
|
case 4068:
|
|
1345
1345
|
case 2532:
|
|
1346
|
-
return
|
|
1346
|
+
return R(t, /(.+)-inline(.+)/, x + "$1$2") + t;
|
|
1347
1347
|
case 8116:
|
|
1348
1348
|
case 7059:
|
|
1349
1349
|
case 5753:
|
|
@@ -1356,38 +1356,38 @@ function pn(t, e) {
|
|
|
1356
1356
|
case 5789:
|
|
1357
1357
|
case 5021:
|
|
1358
1358
|
case 4765:
|
|
1359
|
-
if (
|
|
1359
|
+
if (se(t) - 1 - e > 6)
|
|
1360
1360
|
switch (B(t, e + 1)) {
|
|
1361
1361
|
case 109:
|
|
1362
1362
|
if (B(t, e + 4) !== 45)
|
|
1363
1363
|
break;
|
|
1364
1364
|
case 102:
|
|
1365
|
-
return
|
|
1365
|
+
return R(t, /(.+:)(.+)-([^]+)/, "$1" + x + "$2-$3$1" + yt + (B(t, e + 3) == 108 ? "$3" : "$2-$3")) + t;
|
|
1366
1366
|
case 115:
|
|
1367
|
-
return ~Ht(t, "stretch") ? pn(
|
|
1367
|
+
return ~Ht(t, "stretch") ? pn(R(t, "stretch", "fill-available"), e) + t : t;
|
|
1368
1368
|
}
|
|
1369
1369
|
break;
|
|
1370
1370
|
case 4949:
|
|
1371
1371
|
if (B(t, e + 1) !== 115)
|
|
1372
1372
|
break;
|
|
1373
1373
|
case 6444:
|
|
1374
|
-
switch (B(t,
|
|
1374
|
+
switch (B(t, se(t) - 3 - (~Ht(t, "!important") && 10))) {
|
|
1375
1375
|
case 107:
|
|
1376
|
-
return
|
|
1376
|
+
return R(t, ":", ":" + x) + t;
|
|
1377
1377
|
case 101:
|
|
1378
|
-
return
|
|
1378
|
+
return R(t, /(.+:)([^;!]+)(;|!.+)?/, "$1" + x + (B(t, 14) === 45 ? "inline-" : "") + "box$3$1" + x + "$2$3$1" + G + "$2box$3") + t;
|
|
1379
1379
|
}
|
|
1380
1380
|
break;
|
|
1381
1381
|
case 5936:
|
|
1382
1382
|
switch (B(t, e + 11)) {
|
|
1383
1383
|
case 114:
|
|
1384
|
-
return
|
|
1384
|
+
return x + t + G + R(t, /[svh]\w+-[tblr]{2}/, "tb") + t;
|
|
1385
1385
|
case 108:
|
|
1386
|
-
return
|
|
1386
|
+
return x + t + G + R(t, /[svh]\w+-[tblr]{2}/, "tb-rl") + t;
|
|
1387
1387
|
case 45:
|
|
1388
|
-
return
|
|
1388
|
+
return x + t + G + R(t, /[svh]\w+-[tblr]{2}/, "lr") + t;
|
|
1389
1389
|
}
|
|
1390
|
-
return
|
|
1390
|
+
return x + t + G + t + t;
|
|
1391
1391
|
}
|
|
1392
1392
|
return t;
|
|
1393
1393
|
}
|
|
@@ -1399,7 +1399,7 @@ var Eo = function(e, i, n, r) {
|
|
|
1399
1399
|
break;
|
|
1400
1400
|
case hn:
|
|
1401
1401
|
return Ce([je(e, {
|
|
1402
|
-
value:
|
|
1402
|
+
value: R(e.value, "@", "@" + x)
|
|
1403
1403
|
})], r);
|
|
1404
1404
|
case ui:
|
|
1405
1405
|
if (e.length)
|
|
@@ -1408,15 +1408,15 @@ var Eo = function(e, i, n, r) {
|
|
|
1408
1408
|
case ":read-only":
|
|
1409
1409
|
case ":read-write":
|
|
1410
1410
|
return Ce([je(e, {
|
|
1411
|
-
props: [
|
|
1411
|
+
props: [R(o, /:(read-\w+)/, ":" + yt + "$1")]
|
|
1412
1412
|
})], r);
|
|
1413
1413
|
case "::placeholder":
|
|
1414
1414
|
return Ce([je(e, {
|
|
1415
|
-
props: [
|
|
1415
|
+
props: [R(o, /:(plac\w+)/, ":" + x + "input-$1")]
|
|
1416
1416
|
}), je(e, {
|
|
1417
|
-
props: [
|
|
1417
|
+
props: [R(o, /:(plac\w+)/, ":" + yt + "$1")]
|
|
1418
1418
|
}), je(e, {
|
|
1419
|
-
props: [
|
|
1419
|
+
props: [R(o, /:(plac\w+)/, G + "input-$1")]
|
|
1420
1420
|
})], r);
|
|
1421
1421
|
}
|
|
1422
1422
|
return "";
|
|
@@ -1760,10 +1760,10 @@ var Po = function(e) {
|
|
|
1760
1760
|
return i;
|
|
1761
1761
|
}, $o = Po({
|
|
1762
1762
|
key: "css"
|
|
1763
|
-
}),
|
|
1763
|
+
}), q = $o.css, Yt, Z, Dt, Ui, Bi = 0, An = [], $ = Ne, Fi = $.__b, ji = $.__r, Vi = $.diffed, Gi = $.__c, qi = $.unmount, Ki = $.__;
|
|
1764
1764
|
function Mo(t, e) {
|
|
1765
|
-
$.__h && $.__h(
|
|
1766
|
-
var i =
|
|
1765
|
+
$.__h && $.__h(Z, t, Bi || e), Bi = 0;
|
|
1766
|
+
var i = Z.__H || (Z.__H = { __: [], __h: [] });
|
|
1767
1767
|
return t >= i.__.length && i.__.push({}), i.__[t];
|
|
1768
1768
|
}
|
|
1769
1769
|
function mn(t, e) {
|
|
@@ -1780,21 +1780,21 @@ function Uo() {
|
|
|
1780
1780
|
}
|
|
1781
1781
|
}
|
|
1782
1782
|
$.__b = function(t) {
|
|
1783
|
-
|
|
1783
|
+
Z = null, Fi && Fi(t);
|
|
1784
1784
|
}, $.__ = function(t, e) {
|
|
1785
|
-
t && e.__k && e.__k.__m && (t.__m = e.__k.__m),
|
|
1785
|
+
t && e.__k && e.__k.__m && (t.__m = e.__k.__m), Ki && Ki(t, e);
|
|
1786
1786
|
}, $.__r = function(t) {
|
|
1787
1787
|
ji && ji(t), Yt = 0;
|
|
1788
|
-
var e = (
|
|
1789
|
-
e && (Dt ===
|
|
1788
|
+
var e = (Z = t.__c).__H;
|
|
1789
|
+
e && (Dt === Z ? (e.__h = [], Z.__h = [], e.__.forEach(function(i) {
|
|
1790
1790
|
i.__N && (i.__ = i.__N), i.u = i.__N = void 0;
|
|
1791
|
-
})) : (e.__h.forEach(ct), e.__h.forEach(Qt), e.__h = [], Yt = 0)), Dt =
|
|
1791
|
+
})) : (e.__h.forEach(ct), e.__h.forEach(Qt), e.__h = [], Yt = 0)), Dt = Z;
|
|
1792
1792
|
}, $.diffed = function(t) {
|
|
1793
1793
|
Vi && Vi(t);
|
|
1794
1794
|
var e = t.__c;
|
|
1795
1795
|
e && e.__H && (e.__H.__h.length && (An.push(e) !== 1 && Ui === $.requestAnimationFrame || ((Ui = $.requestAnimationFrame) || Bo)(Uo)), e.__H.__.forEach(function(i) {
|
|
1796
1796
|
i.u && (i.__H = i.u), i.u = void 0;
|
|
1797
|
-
})), Dt =
|
|
1797
|
+
})), Dt = Z = null;
|
|
1798
1798
|
}, $.__c = function(t, e) {
|
|
1799
1799
|
e.some(function(i) {
|
|
1800
1800
|
try {
|
|
@@ -1808,7 +1808,7 @@ $.__b = function(t) {
|
|
|
1808
1808
|
}
|
|
1809
1809
|
}), Gi && Gi(t, e);
|
|
1810
1810
|
}, $.unmount = function(t) {
|
|
1811
|
-
|
|
1811
|
+
qi && qi(t);
|
|
1812
1812
|
var e, i = t.__c;
|
|
1813
1813
|
i && i.__H && (i.__H.__.forEach(function(n) {
|
|
1814
1814
|
try {
|
|
@@ -1826,12 +1826,12 @@ function Bo(t) {
|
|
|
1826
1826
|
Ji && (e = requestAnimationFrame(i));
|
|
1827
1827
|
}
|
|
1828
1828
|
function ct(t) {
|
|
1829
|
-
var e =
|
|
1830
|
-
typeof i == "function" && (t.__c = void 0, i()),
|
|
1829
|
+
var e = Z, i = t.__c;
|
|
1830
|
+
typeof i == "function" && (t.__c = void 0, i()), Z = e;
|
|
1831
1831
|
}
|
|
1832
1832
|
function Qt(t) {
|
|
1833
|
-
var e =
|
|
1834
|
-
t.__c = t.__(),
|
|
1833
|
+
var e = Z;
|
|
1834
|
+
t.__c = t.__(), Z = e;
|
|
1835
1835
|
}
|
|
1836
1836
|
function Fo(t, e) {
|
|
1837
1837
|
return !t || t.length !== e.length || e.some(function(i, n) {
|
|
@@ -1843,9 +1843,9 @@ function kt() {
|
|
|
1843
1843
|
if (we > 1)
|
|
1844
1844
|
we--;
|
|
1845
1845
|
else {
|
|
1846
|
-
for (var t, e = !1;
|
|
1847
|
-
var i =
|
|
1848
|
-
for (
|
|
1846
|
+
for (var t, e = !1; Ke !== void 0; ) {
|
|
1847
|
+
var i = Ke;
|
|
1848
|
+
for (Ke = void 0, Xt++; i !== void 0; ) {
|
|
1849
1849
|
var n = i.o;
|
|
1850
1850
|
if (i.o = void 0, i.f &= -3, !(8 & i.f) && Sn(i))
|
|
1851
1851
|
try {
|
|
@@ -1870,7 +1870,7 @@ function P(t) {
|
|
|
1870
1870
|
kt();
|
|
1871
1871
|
}
|
|
1872
1872
|
}
|
|
1873
|
-
var O = void 0,
|
|
1873
|
+
var O = void 0, Ke = void 0, we = 0, Xt = 0, bt = 0;
|
|
1874
1874
|
function _n(t) {
|
|
1875
1875
|
if (O !== void 0) {
|
|
1876
1876
|
var e = t.n;
|
|
@@ -2067,7 +2067,7 @@ Ze.prototype.S = function() {
|
|
|
2067
2067
|
return O = this, Vo.bind(this, t);
|
|
2068
2068
|
};
|
|
2069
2069
|
Ze.prototype.N = function() {
|
|
2070
|
-
2 & this.f || (this.f |= 2, this.o =
|
|
2070
|
+
2 & this.f || (this.f |= 2, this.o = Ke, Ke = this);
|
|
2071
2071
|
};
|
|
2072
2072
|
Ze.prototype.d = function() {
|
|
2073
2073
|
this.f |= 8, 1 & this.f || fi(this);
|
|
@@ -2228,21 +2228,21 @@ function Tn(t) {
|
|
|
2228
2228
|
return k(t);
|
|
2229
2229
|
}, []);
|
|
2230
2230
|
}
|
|
2231
|
-
var
|
|
2231
|
+
var qo = function(t) {
|
|
2232
2232
|
queueMicrotask(function() {
|
|
2233
2233
|
queueMicrotask(t);
|
|
2234
2234
|
});
|
|
2235
2235
|
};
|
|
2236
|
-
function
|
|
2236
|
+
function Ko() {
|
|
2237
2237
|
P(function() {
|
|
2238
2238
|
for (var t; t = Rn.shift(); )
|
|
2239
2239
|
xn.call(t);
|
|
2240
2240
|
});
|
|
2241
2241
|
}
|
|
2242
2242
|
function Cn() {
|
|
2243
|
-
Rn.push(this) === 1 && (Ne.requestAnimationFrame ||
|
|
2243
|
+
Rn.push(this) === 1 && (Ne.requestAnimationFrame || qo)(Ko);
|
|
2244
2244
|
}
|
|
2245
|
-
const M =
|
|
2245
|
+
const M = q`
|
|
2246
2246
|
inset: 0;
|
|
2247
2247
|
clear: none;
|
|
2248
2248
|
float: none;
|
|
@@ -2289,7 +2289,7 @@ function _(t, e, i, n, r, o) {
|
|
|
2289
2289
|
d[a] === void 0 && (d[a] = s[a]);
|
|
2290
2290
|
return Ne.vnode && Ne.vnode(l), l;
|
|
2291
2291
|
}
|
|
2292
|
-
const Ho =
|
|
2292
|
+
const Ho = q`
|
|
2293
2293
|
${M}
|
|
2294
2294
|
position: fixed;
|
|
2295
2295
|
top: 0;
|
|
@@ -2364,25 +2364,25 @@ const Ho = K`
|
|
|
2364
2364
|
}
|
|
2365
2365
|
}
|
|
2366
2366
|
}
|
|
2367
|
-
`,
|
|
2367
|
+
`, re = k(null), Zt = k(""), ei = k(""), ht = k(!1), Wo = () => {
|
|
2368
2368
|
var t;
|
|
2369
|
-
(t =
|
|
2369
|
+
(t = re.value) == null || t.call(re, !1);
|
|
2370
2370
|
}, Yo = () => {
|
|
2371
2371
|
var t;
|
|
2372
|
-
(t =
|
|
2372
|
+
(t = re.value) == null || t.call(re, !0);
|
|
2373
2373
|
}, Qo = async (t) => {
|
|
2374
2374
|
let {
|
|
2375
2375
|
title: e,
|
|
2376
2376
|
content: i
|
|
2377
2377
|
} = t;
|
|
2378
|
-
return
|
|
2379
|
-
|
|
2378
|
+
return re.value && (re.value(!1), P(() => {
|
|
2379
|
+
re.value = null, ht.value = !1;
|
|
2380
2380
|
})), P(() => {
|
|
2381
2381
|
Zt.value = e || "", ei.value = i || "", ht.value = !0;
|
|
2382
2382
|
}), new Promise((n) => {
|
|
2383
|
-
|
|
2383
|
+
re.value = (r) => {
|
|
2384
2384
|
P(() => {
|
|
2385
|
-
|
|
2385
|
+
re.value = null, ht.value = !1, Zt.value = "", ei.value = "";
|
|
2386
2386
|
}), n(r);
|
|
2387
2387
|
};
|
|
2388
2388
|
});
|
|
@@ -2412,7 +2412,7 @@ const Ho = K`
|
|
|
2412
2412
|
})]
|
|
2413
2413
|
})]
|
|
2414
2414
|
})
|
|
2415
|
-
}) : null, Zo =
|
|
2415
|
+
}) : null, Zo = q`
|
|
2416
2416
|
${M}
|
|
2417
2417
|
position: relative;
|
|
2418
2418
|
display: flex;
|
|
@@ -2534,7 +2534,7 @@ const Ho = K`
|
|
|
2534
2534
|
src: a,
|
|
2535
2535
|
mode: d
|
|
2536
2536
|
};
|
|
2537
|
-
}, is =
|
|
2537
|
+
}, is = q`
|
|
2538
2538
|
${M}
|
|
2539
2539
|
position: fixed;
|
|
2540
2540
|
z-index: 2147483647;
|
|
@@ -2746,14 +2746,14 @@ const ss = () => {
|
|
|
2746
2746
|
visible: s,
|
|
2747
2747
|
payload: a
|
|
2748
2748
|
};
|
|
2749
|
-
}, as =
|
|
2749
|
+
}, as = q`
|
|
2750
2750
|
${M}
|
|
2751
2751
|
position: fixed;
|
|
2752
2752
|
inset: 0;
|
|
2753
2753
|
z-index: 2147483647;
|
|
2754
2754
|
display: flex;
|
|
2755
2755
|
background: #000000;
|
|
2756
|
-
`, ds =
|
|
2756
|
+
`, ds = q`
|
|
2757
2757
|
${M}
|
|
2758
2758
|
position: relative;
|
|
2759
2759
|
width: 100%;
|
|
@@ -2761,7 +2761,7 @@ const ss = () => {
|
|
|
2761
2761
|
display: flex;
|
|
2762
2762
|
flex-direction: column;
|
|
2763
2763
|
color: #f7f9fc;
|
|
2764
|
-
`, ls =
|
|
2764
|
+
`, ls = q`
|
|
2765
2765
|
position: absolute;
|
|
2766
2766
|
top: 24px;
|
|
2767
2767
|
left: 24px;
|
|
@@ -2772,15 +2772,15 @@ const ss = () => {
|
|
|
2772
2772
|
border-radius: 999px;
|
|
2773
2773
|
background: rgba(0, 0, 0, 0.65);
|
|
2774
2774
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
2775
|
-
`, us =
|
|
2775
|
+
`, us = q`
|
|
2776
2776
|
font-size: 11px;
|
|
2777
2777
|
letter-spacing: 0.08em;
|
|
2778
2778
|
text-transform: uppercase;
|
|
2779
2779
|
color: #c7d4ef;
|
|
2780
|
-
`, cs =
|
|
2780
|
+
`, cs = q`
|
|
2781
2781
|
font-size: 14px;
|
|
2782
2782
|
font-weight: 500;
|
|
2783
|
-
`, hs =
|
|
2783
|
+
`, hs = q`
|
|
2784
2784
|
${M}
|
|
2785
2785
|
flex: 1;
|
|
2786
2786
|
background: #050505;
|
|
@@ -2788,7 +2788,7 @@ const ss = () => {
|
|
|
2788
2788
|
align-items: center;
|
|
2789
2789
|
justify-content: center;
|
|
2790
2790
|
padding: 0;
|
|
2791
|
-
`, zi =
|
|
2791
|
+
`, zi = q`
|
|
2792
2792
|
width: 100%;
|
|
2793
2793
|
height: 100%;
|
|
2794
2794
|
border: 2px dashed rgba(255, 255, 255, 0.08);
|
|
@@ -2797,13 +2797,13 @@ const ss = () => {
|
|
|
2797
2797
|
justify-content: center;
|
|
2798
2798
|
color: #6e7da1;
|
|
2799
2799
|
font-size: 14px;
|
|
2800
|
-
`, fs =
|
|
2800
|
+
`, fs = q`
|
|
2801
2801
|
position: absolute;
|
|
2802
2802
|
bottom: 32px;
|
|
2803
2803
|
right: 32px;
|
|
2804
2804
|
display: flex;
|
|
2805
2805
|
gap: 12px;
|
|
2806
|
-
`, vs =
|
|
2806
|
+
`, vs = q`
|
|
2807
2807
|
min-width: 160px;
|
|
2808
2808
|
min-height: 48px;
|
|
2809
2809
|
border-radius: 999px;
|
|
@@ -2819,7 +2819,7 @@ const ss = () => {
|
|
|
2819
2819
|
opacity: 0.4;
|
|
2820
2820
|
cursor: not-allowed;
|
|
2821
2821
|
}
|
|
2822
|
-
`, gs =
|
|
2822
|
+
`, gs = q`
|
|
2823
2823
|
min-width: 120px;
|
|
2824
2824
|
min-height: 44px;
|
|
2825
2825
|
border-radius: 999px;
|
|
@@ -2843,19 +2843,19 @@ const ss = () => {
|
|
|
2843
2843
|
visible: d,
|
|
2844
2844
|
payload: l
|
|
2845
2845
|
} = e, [u, c] = _e(!1), [h, f] = _e(0), [y, v] = _e(!1), [p, g] = _e(!1), [b, A] = _e("Loading next content..."), w = nn(null), S = l.value, E = Gt((U) => {
|
|
2846
|
-
var C, Y, Q,
|
|
2847
|
-
c(!1), d.value = !1, U === "dismiss" ? (C = n.value) == null || C.call(n) : (Y = r.value) == null || Y.call(r), (Q = i.value) == null || Q.call(i), (
|
|
2846
|
+
var C, Y, Q, I;
|
|
2847
|
+
c(!1), d.value = !1, U === "dismiss" ? (C = n.value) == null || C.call(n) : (Y = r.value) == null || Y.call(r), (Q = i.value) == null || Q.call(i), (I = o.value) == null || I.call(o);
|
|
2848
2848
|
}, [d, n, r, i, o]), m = Gt(() => {
|
|
2849
2849
|
var U;
|
|
2850
2850
|
c(!1), d.value = !1, (U = a.value) == null || U.call(a);
|
|
2851
2851
|
}, [d, a]);
|
|
2852
2852
|
if (Pe(() => {
|
|
2853
|
-
var
|
|
2853
|
+
var I;
|
|
2854
2854
|
if (!d.value || !S) {
|
|
2855
2855
|
f(0), v(!1), g(!1), A("Loading next content...");
|
|
2856
2856
|
return;
|
|
2857
2857
|
}
|
|
2858
|
-
const U = S.mode === "reward" ? 15 : 0, C = Math.max(Math.floor((
|
|
2858
|
+
const U = S.mode === "reward" ? 15 : 0, C = Math.max(Math.floor((I = S.countdown) != null ? I : U), 0);
|
|
2859
2859
|
if (f(C), g(S.mode === "reward" ? C === 0 : !0), v(S.mode === "interstitial" ? C === 0 : !1), C === 0)
|
|
2860
2860
|
return;
|
|
2861
2861
|
let Y = C;
|
|
@@ -2873,8 +2873,8 @@ const ss = () => {
|
|
|
2873
2873
|
if (!U)
|
|
2874
2874
|
return;
|
|
2875
2875
|
if (U.innerHTML = "", A("Loading next content..."), c(!1), S.testMode) {
|
|
2876
|
-
const
|
|
2877
|
-
|
|
2876
|
+
const I = document.createElement("div");
|
|
2877
|
+
I.className = zi, I.innerText = "Preview slot placeholder", U.appendChild(I), c(!0), (Q = s.value) == null || Q.call(s);
|
|
2878
2878
|
return;
|
|
2879
2879
|
}
|
|
2880
2880
|
if (typeof window == "undefined") {
|
|
@@ -2884,18 +2884,18 @@ const ss = () => {
|
|
|
2884
2884
|
const C = document.createElement("ins");
|
|
2885
2885
|
C.className = "adsbygoogle", C.style.display = "block", C.style.width = "100%", C.style.height = "100%", C.setAttribute("data-ad-client", S.clientId), C.setAttribute("data-ad-slot", S.unitId), C.setAttribute("data-ad-format", "auto"), C.setAttribute("data-full-width-responsive", "true"), S.channelId && C.setAttribute("data-ad-channel", S.channelId), U.appendChild(C);
|
|
2886
2886
|
const Y = new MutationObserver(() => {
|
|
2887
|
-
var
|
|
2888
|
-
const
|
|
2889
|
-
|
|
2887
|
+
var X;
|
|
2888
|
+
const I = C.getAttribute("data-ad-status");
|
|
2889
|
+
I === "filled" ? (c(!0), A(""), (X = s.value) == null || X.call(s), Y.disconnect()) : I === "unfilled" && (A("Slot currently unavailable."), c(!1), Y.disconnect());
|
|
2890
2890
|
});
|
|
2891
2891
|
Y.observe(C, {
|
|
2892
2892
|
attributes: !0,
|
|
2893
2893
|
attributeFilter: ["data-ad-status"]
|
|
2894
2894
|
});
|
|
2895
2895
|
try {
|
|
2896
|
-
const
|
|
2897
|
-
|
|
2898
|
-
} catch (
|
|
2896
|
+
const I = window;
|
|
2897
|
+
I.adsbygoogle = I.adsbygoogle || [], I.adsbygoogle.push({});
|
|
2898
|
+
} catch (I) {
|
|
2899
2899
|
Y.disconnect(), m();
|
|
2900
2900
|
}
|
|
2901
2901
|
return () => {
|
|
@@ -2903,7 +2903,7 @@ const ss = () => {
|
|
|
2903
2903
|
};
|
|
2904
2904
|
}, [d.value, S, s, m]), !d.value || !S)
|
|
2905
2905
|
return null;
|
|
2906
|
-
const
|
|
2906
|
+
const de = S.mode === "reward" ? "Next content unlocking" : "Content paused", Se = h > 0 ? `Content resumes in ${h}s` : "Content ready";
|
|
2907
2907
|
return _("div", {
|
|
2908
2908
|
className: as,
|
|
2909
2909
|
children: _("div", {
|
|
@@ -2912,7 +2912,7 @@ const ss = () => {
|
|
|
2912
2912
|
className: ls,
|
|
2913
2913
|
children: [_("div", {
|
|
2914
2914
|
className: us,
|
|
2915
|
-
children:
|
|
2915
|
+
children: de
|
|
2916
2916
|
}), _("div", {
|
|
2917
2917
|
className: cs,
|
|
2918
2918
|
children: Se
|
|
@@ -2942,7 +2942,7 @@ const ss = () => {
|
|
|
2942
2942
|
})
|
|
2943
2943
|
});
|
|
2944
2944
|
};
|
|
2945
|
-
function
|
|
2945
|
+
function K(t, e, i) {
|
|
2946
2946
|
return (e = ps(e)) in t ? Object.defineProperty(t, e, { value: i, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = i, t;
|
|
2947
2947
|
}
|
|
2948
2948
|
function ps(t) {
|
|
@@ -2963,7 +2963,7 @@ function bs(t, e) {
|
|
|
2963
2963
|
}
|
|
2964
2964
|
class ws {
|
|
2965
2965
|
constructor(e, i) {
|
|
2966
|
-
if (
|
|
2966
|
+
if (K(this, "name", "ADSENSE_BANNER_AS_AFG"), K(this, "initialized", !1), K(this, "initCompleter", null), K(this, "context", void 0), K(this, "contextInfo", void 0), K(this, "initParams", void 0), K(this, "defaultCountdown", 5), K(this, "adsOverlay", null), K(this, "adsIsShowing", !1), K(this, "lastUnDisplayedAdBreak", null), K(this, "requestCounter", 0), K(this, "scriptPromise", null), K(this, "scriptReady", !1), K(this, "scriptFailed", !1), K(this, "state", ss()), this.context = e, this.contextInfo = this.context.getContextInfo(), this.initParams = i, typeof window != "undefined") {
|
|
2967
2967
|
const n = window;
|
|
2968
2968
|
n.adsbygoogle = n.adsbygoogle || [];
|
|
2969
2969
|
}
|
|
@@ -3180,7 +3180,7 @@ const ke = (t, e) => {
|
|
|
3180
3180
|
visible: a,
|
|
3181
3181
|
src: d
|
|
3182
3182
|
};
|
|
3183
|
-
}, As =
|
|
3183
|
+
}, As = q`
|
|
3184
3184
|
${M}
|
|
3185
3185
|
position: fixed;
|
|
3186
3186
|
z-index: 2147483647;
|
|
@@ -3900,13 +3900,13 @@ function ti(t) {
|
|
|
3900
3900
|
}
|
|
3901
3901
|
return t;
|
|
3902
3902
|
}
|
|
3903
|
-
var
|
|
3903
|
+
var qs = (t) => {
|
|
3904
3904
|
let e = "", i = new Uint8Array(t), n = i.byteLength;
|
|
3905
3905
|
for (let r = 0; r < n; r++)
|
|
3906
3906
|
e += String.fromCharCode(i[r]);
|
|
3907
3907
|
return btoa(e);
|
|
3908
3908
|
};
|
|
3909
|
-
function
|
|
3909
|
+
function Ks() {
|
|
3910
3910
|
let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, i = t, n = [];
|
|
3911
3911
|
for (let [r, o] of Object.entries(i))
|
|
3912
3912
|
if (o !== void 0 && o instanceof ArrayBuffer && o.byteLength !== void 0) {
|
|
@@ -3914,7 +3914,7 @@ function qs() {
|
|
|
3914
3914
|
value: o,
|
|
3915
3915
|
key: r
|
|
3916
3916
|
} : {
|
|
3917
|
-
base64:
|
|
3917
|
+
base64: qs(o),
|
|
3918
3918
|
key: r
|
|
3919
3919
|
};
|
|
3920
3920
|
n.push(s), delete i[r];
|
|
@@ -4015,7 +4015,7 @@ function Gn(t) {
|
|
|
4015
4015
|
function Zs(t) {
|
|
4016
4016
|
return De(t) && Gn(t.then);
|
|
4017
4017
|
}
|
|
4018
|
-
function
|
|
4018
|
+
function qn(t) {
|
|
4019
4019
|
let e = t, i = null, n = function() {
|
|
4020
4020
|
for (var r = arguments.length, o = new Array(r), s = 0; s < r; s++)
|
|
4021
4021
|
o[s] = arguments[s];
|
|
@@ -4295,16 +4295,16 @@ var N = ri, fa = class {
|
|
|
4295
4295
|
zs(ai, {
|
|
4296
4296
|
None: () => ga,
|
|
4297
4297
|
filter: () => pa,
|
|
4298
|
-
once: () =>
|
|
4298
|
+
once: () => Kn,
|
|
4299
4299
|
toPromise: () => ya
|
|
4300
4300
|
});
|
|
4301
4301
|
var ga = () => (console.log("[Jolibox SDK] None Event"), () => {
|
|
4302
4302
|
console.log("[Jolibox SDK] None Event dispose");
|
|
4303
4303
|
});
|
|
4304
4304
|
function ya(t) {
|
|
4305
|
-
return new Promise((e) =>
|
|
4305
|
+
return new Promise((e) => Kn(t)(e));
|
|
4306
4306
|
}
|
|
4307
|
-
function
|
|
4307
|
+
function Kn(t) {
|
|
4308
4308
|
return function(e) {
|
|
4309
4309
|
let i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null, n = !1;
|
|
4310
4310
|
return t((r) => {
|
|
@@ -4391,7 +4391,7 @@ var di = class {
|
|
|
4391
4391
|
return t;
|
|
4392
4392
|
}
|
|
4393
4393
|
};
|
|
4394
|
-
di = jn([
|
|
4394
|
+
di = jn([qn], di);
|
|
4395
4395
|
var Qi = class {
|
|
4396
4396
|
constructor() {
|
|
4397
4397
|
this._onWillExecuteCommand = new Qe(), this.onWillExecuteCommand = this._onWillExecuteCommand.event, this._onDidExecuteCommand = new Qe(), this.onDidExecuteCommand = this._onDidExecuteCommand.event, this.registry = new di(), this._starActivation = null;
|
|
@@ -4449,8 +4449,8 @@ var Qi = class {
|
|
|
4449
4449
|
}
|
|
4450
4450
|
}
|
|
4451
4451
|
};
|
|
4452
|
-
Qi = jn([
|
|
4453
|
-
|
|
4452
|
+
Qi = jn([qn], Qi);
|
|
4453
|
+
te("requestPaymentSync", {
|
|
4454
4454
|
version: 1e6,
|
|
4455
4455
|
properties: {
|
|
4456
4456
|
paymentBody: {
|
|
@@ -4458,10 +4458,10 @@ ee("requestPaymentSync", {
|
|
|
4458
4458
|
}
|
|
4459
4459
|
}
|
|
4460
4460
|
});
|
|
4461
|
-
|
|
4461
|
+
te("requestProductDetailsAsync", {
|
|
4462
4462
|
version: 102e4
|
|
4463
4463
|
});
|
|
4464
|
-
|
|
4464
|
+
te("invokeSubscriptionPanelSync", {
|
|
4465
4465
|
version: 107e4,
|
|
4466
4466
|
properties: {
|
|
4467
4467
|
type: {
|
|
@@ -4470,42 +4470,42 @@ ee("invokeSubscriptionPanelSync", {
|
|
|
4470
4470
|
}
|
|
4471
4471
|
}
|
|
4472
4472
|
});
|
|
4473
|
-
|
|
4473
|
+
te("loginSync", {
|
|
4474
4474
|
version: 1e6,
|
|
4475
4475
|
properties: {
|
|
4476
4476
|
skipLogin: 102e4,
|
|
4477
4477
|
triggerFrom: 102e4
|
|
4478
4478
|
}
|
|
4479
4479
|
});
|
|
4480
|
-
|
|
4480
|
+
te("getABTest", {
|
|
4481
4481
|
version: 1050100,
|
|
4482
4482
|
platforms: {
|
|
4483
4483
|
android: 1050100,
|
|
4484
4484
|
ios: !1
|
|
4485
4485
|
}
|
|
4486
4486
|
});
|
|
4487
|
-
|
|
4487
|
+
te("userTrackAsync", {
|
|
4488
4488
|
version: 1e6
|
|
4489
4489
|
});
|
|
4490
|
-
|
|
4490
|
+
te("openMiniapp", {
|
|
4491
4491
|
version: 1050100
|
|
4492
4492
|
});
|
|
4493
|
-
|
|
4493
|
+
te("requestCoinDetailsSync", {
|
|
4494
4494
|
version: 1070100
|
|
4495
4495
|
});
|
|
4496
|
-
|
|
4496
|
+
te("requestCoinDetailsAsync", {
|
|
4497
4497
|
version: 1070100
|
|
4498
4498
|
});
|
|
4499
|
-
|
|
4499
|
+
te("sendServerEventAsync", {
|
|
4500
4500
|
version: 1070100
|
|
4501
4501
|
});
|
|
4502
|
-
|
|
4502
|
+
te("loadAdsAsync", {
|
|
4503
4503
|
version: 1070200
|
|
4504
4504
|
});
|
|
4505
|
-
|
|
4505
|
+
te("showAdAsync", {
|
|
4506
4506
|
version: 1070200
|
|
4507
4507
|
});
|
|
4508
|
-
function
|
|
4508
|
+
function te(t, e) {
|
|
4509
4509
|
if (ni.config[t]) {
|
|
4510
4510
|
xt.warn(`[can i use] ${t} already registered`);
|
|
4511
4511
|
return;
|
|
@@ -4758,7 +4758,7 @@ function Ca(t, e) {
|
|
|
4758
4758
|
isForeground: f
|
|
4759
4759
|
}), {
|
|
4760
4760
|
invokeType: "js-bridge"
|
|
4761
|
-
}), p = Sa.includes(d), g =
|
|
4761
|
+
}), p = Sa.includes(d), g = Ks(l, p), b = p ? g : JSON.stringify(g), A;
|
|
4762
4762
|
if (d.endsWith("Sync") || ka.includes(d) ? A = (u = t.call) == null ? void 0 : u.call(t, d, g, i) : typeof b == "string" ? A = t.invoke(d, b, i) : A = (c = t.call) == null ? void 0 : c.call(t, d, b, i), A) {
|
|
4763
4763
|
try {
|
|
4764
4764
|
typeof A == "string" && (A = JSON.parse(A)), A = ti(A);
|
|
@@ -5218,10 +5218,10 @@ function he(t, e, i) {
|
|
|
5218
5218
|
return (e = Ga(e)) in t ? Object.defineProperty(t, e, { value: i, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = i, t;
|
|
5219
5219
|
}
|
|
5220
5220
|
function Ga(t) {
|
|
5221
|
-
var e =
|
|
5221
|
+
var e = qa(t, "string");
|
|
5222
5222
|
return typeof e == "symbol" ? e : e + "";
|
|
5223
5223
|
}
|
|
5224
|
-
function
|
|
5224
|
+
function qa(t, e) {
|
|
5225
5225
|
if (typeof t != "object" || !t)
|
|
5226
5226
|
return t;
|
|
5227
5227
|
var i = t[Symbol.toPrimitive];
|
|
@@ -5233,7 +5233,7 @@ function Ka(t, e) {
|
|
|
5233
5233
|
}
|
|
5234
5234
|
return (e === "string" ? String : Number)(t);
|
|
5235
5235
|
}
|
|
5236
|
-
class
|
|
5236
|
+
class Ka {
|
|
5237
5237
|
get isAdsReady() {
|
|
5238
5238
|
return this._isAdsReady;
|
|
5239
5239
|
}
|
|
@@ -5373,7 +5373,7 @@ class Ha {
|
|
|
5373
5373
|
}), this.providers = i, this.helper = new Qn(e), this.init();
|
|
5374
5374
|
}
|
|
5375
5375
|
}
|
|
5376
|
-
function
|
|
5376
|
+
function qe(t, e, i) {
|
|
5377
5377
|
return (e = Wa(e)) in t ? Object.defineProperty(t, e, { value: i, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = i, t;
|
|
5378
5378
|
}
|
|
5379
5379
|
function Wa(t) {
|
|
@@ -5394,9 +5394,9 @@ function Ya(t, e) {
|
|
|
5394
5394
|
}
|
|
5395
5395
|
class Qa {
|
|
5396
5396
|
constructor(e, i) {
|
|
5397
|
-
|
|
5397
|
+
qe(this, "name", "INTERNAL_NATIVE"), qe(this, "context", void 0), qe(this, "rewardAdManager", void 0), qe(this, "interstitialManager", void 0), qe(this, "initProviders", void 0), this.context = e, this.initProviders = i.providers;
|
|
5398
5398
|
const n = this.getConfigsByTypes(["REWARD", "REWARD_INTERSTITIAL"], i.providers), r = this.getConfigsByTypes(["INTERSTITIAL"], i.providers);
|
|
5399
|
-
n.length > 0 && (this.rewardAdManager = new
|
|
5399
|
+
n.length > 0 && (this.rewardAdManager = new Ka(this.context, n)), r.length > 0 && (this.interstitialManager = new Ha(this.context, r));
|
|
5400
5400
|
}
|
|
5401
5401
|
getConfigsByTypes(e, i, n) {
|
|
5402
5402
|
const r = [];
|
|
@@ -5488,7 +5488,7 @@ class Qa {
|
|
|
5488
5488
|
}
|
|
5489
5489
|
}
|
|
5490
5490
|
}
|
|
5491
|
-
function
|
|
5491
|
+
function ie(t, e, i) {
|
|
5492
5492
|
return (e = Xa(e)) in t ? Object.defineProperty(t, e, { value: i, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = i, t;
|
|
5493
5493
|
}
|
|
5494
5494
|
function Xa(t) {
|
|
@@ -5509,7 +5509,7 @@ function Za(t, e) {
|
|
|
5509
5509
|
}
|
|
5510
5510
|
class Ld {
|
|
5511
5511
|
constructor(e) {
|
|
5512
|
-
if (
|
|
5512
|
+
if (ie(this, "context", void 0), ie(this, "contextInfo", void 0), ie(this, "providers", {}), ie(this, "channelPolicy", void 0), ie(this, "adsActionDetection", void 0), ie(this, "requestContext", void 0), ie(this, "adsRequest", void 0), ie(this, "initialized", !1), ie(this, "adsIsShowing", !1), ie(this, "lastAdBreak", void 0), ie(this, "initializedTimeStamp", Date.now()), e)
|
|
5513
5513
|
this.context = e, this.channelPolicy = new Jr(this.context), this.adsActionDetection = new Gr(this.context), this.contextInfo = this.context.getContextInfo(), this.adsRequest = new Un(e), this.requestContext = new vi(e);
|
|
5514
5514
|
else
|
|
5515
5515
|
throw new Error("JoliboxAdsForGame requires a configuration object");
|
|
@@ -5634,8 +5634,8 @@ class Ld {
|
|
|
5634
5634
|
}
|
|
5635
5635
|
case "reward": {
|
|
5636
5636
|
e.beforeReward(() => {
|
|
5637
|
-
var m,
|
|
5638
|
-
(m = e.beforeAd) == null || m.call(e), (
|
|
5637
|
+
var m, de, Se, U;
|
|
5638
|
+
(m = e.beforeAd) == null || m.call(e), (de = e.adViewed) == null || de.call(e), (Se = e.afterAd) == null || Se.call(e), (U = e.adBreakDone) == null || U.call(e, {
|
|
5639
5639
|
breakType: e.type,
|
|
5640
5640
|
breakName: e.name,
|
|
5641
5641
|
breakFormat: "reward",
|
|
@@ -5674,28 +5674,28 @@ class Ld {
|
|
|
5674
5674
|
});
|
|
5675
5675
|
return;
|
|
5676
5676
|
}
|
|
5677
|
-
let m = !0,
|
|
5677
|
+
let m = !0, de = null;
|
|
5678
5678
|
const Se = new Fr(this.context);
|
|
5679
5679
|
this.adsActionDetection.adBreakIsShowing = !0;
|
|
5680
|
-
const U = S.filter((
|
|
5680
|
+
const U = S.filter((I) => I.isNative).sort((I, X) => I.seq - X.seq), C = S.filter((I) => !I.isNative).sort((I, X) => I.seq - X.seq);
|
|
5681
5681
|
let Q = [{
|
|
5682
5682
|
seq: (p = (v = U[0]) == null ? void 0 : v.seq) != null ? p : 0,
|
|
5683
5683
|
provider: "INTERNAL_NATIVE",
|
|
5684
5684
|
params: U
|
|
5685
5685
|
}].concat(C);
|
|
5686
|
-
for (Q = Q.sort((
|
|
5687
|
-
seq:
|
|
5686
|
+
for (Q = Q.sort((I, X) => I.seq - X.seq).map((I, X) => mi(Rt({}, I), {
|
|
5687
|
+
seq: X
|
|
5688
5688
|
// re-assign seq
|
|
5689
5689
|
})); Q.length > 0; ) {
|
|
5690
|
-
const
|
|
5691
|
-
if (
|
|
5692
|
-
const [Xn, Zn] = await Se.callAdBreakAndContinue(
|
|
5690
|
+
const I = Q.shift(), X = this.providers[I.provider];
|
|
5691
|
+
if (X) {
|
|
5692
|
+
const [Xn, Zn] = await Se.callAdBreakAndContinue(X, e, I, (yi) => {
|
|
5693
5693
|
var pi;
|
|
5694
5694
|
this.adsIsShowing = yi, (pi = this.context.eventEmitter) == null || pi.emit("isAdShowing", yi);
|
|
5695
5695
|
});
|
|
5696
|
-
m = Xn,
|
|
5696
|
+
m = Xn, de = Zn;
|
|
5697
5697
|
} else
|
|
5698
|
-
m = !0,
|
|
5698
|
+
m = !0, de = {
|
|
5699
5699
|
breakType: e.type,
|
|
5700
5700
|
breakName: e.type === "preroll" ? void 0 : e.name,
|
|
5701
5701
|
breakFormat: e.type === "reward" ? "reward" : "interstitial",
|
|
@@ -5704,7 +5704,7 @@ class Ld {
|
|
|
5704
5704
|
if (!m)
|
|
5705
5705
|
break;
|
|
5706
5706
|
}
|
|
5707
|
-
m &&
|
|
5707
|
+
m && de && ((g = e.adBreakDone) == null || g.call(e, de));
|
|
5708
5708
|
}
|
|
5709
5709
|
} catch (w) {
|
|
5710
5710
|
(b = e.adBreakDone) == null || b.call(e, {
|
|
@@ -5917,7 +5917,7 @@ const dd = () => {
|
|
|
5917
5917
|
videoRef: n,
|
|
5918
5918
|
adContainerRef: r
|
|
5919
5919
|
};
|
|
5920
|
-
}, ld =
|
|
5920
|
+
}, ld = q`
|
|
5921
5921
|
${M}
|
|
5922
5922
|
position: fixed;
|
|
5923
5923
|
left: 0;
|
|
@@ -6121,7 +6121,7 @@ class fd {
|
|
|
6121
6121
|
}), this.context = e;
|
|
6122
6122
|
}
|
|
6123
6123
|
}
|
|
6124
|
-
function
|
|
6124
|
+
function oe(t, e, i) {
|
|
6125
6125
|
return (e = vd(e)) in t ? Object.defineProperty(t, e, { value: i, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = i, t;
|
|
6126
6126
|
}
|
|
6127
6127
|
function vd(t) {
|
|
@@ -6142,15 +6142,15 @@ function gd(t, e) {
|
|
|
6142
6142
|
}
|
|
6143
6143
|
class yd {
|
|
6144
6144
|
constructor(e) {
|
|
6145
|
-
|
|
6145
|
+
oe(this, "name", "OKSPIN"), oe(this, "initialized", !1), oe(this, "initCompleter", null), oe(this, "context", void 0), oe(this, "adsOverlay", null), oe(this, "adsIsShowing", !1), oe(this, "state", Dn()), oe(this, "init", async (i) => {
|
|
6146
6146
|
var n;
|
|
6147
6147
|
this.initialized || (this.adsOverlay = document.createElement("div"), this.adsOverlay.setAttribute("data-placement-info", "afv"), ye(_(Nn, {
|
|
6148
6148
|
state: this.state
|
|
6149
6149
|
}), this.adsOverlay), document.documentElement.appendChild(this.adsOverlay), this.initialized = !0, (n = this.initCompleter) == null || n.call(this));
|
|
6150
|
-
}),
|
|
6150
|
+
}), oe(this, "destroy", () => {
|
|
6151
6151
|
var i;
|
|
6152
6152
|
this.adsOverlay && (ye(null, this.adsOverlay), (i = this.adsOverlay) == null || i.remove()), this.initialized = !1;
|
|
6153
|
-
}),
|
|
6153
|
+
}), oe(this, "requestAd", (i, n) => {
|
|
6154
6154
|
var s, a, d, l;
|
|
6155
6155
|
if (!this.adsOverlay || !this.initialized) {
|
|
6156
6156
|
(s = i.onAdError) == null || s.call(i, F.from(new Error("Ads not initialized"), "JOLIBOX_IMA_ERROR"));
|
|
@@ -6175,7 +6175,7 @@ class yd {
|
|
|
6175
6175
|
}), this.context = e;
|
|
6176
6176
|
}
|
|
6177
6177
|
}
|
|
6178
|
-
function
|
|
6178
|
+
function ne(t, e, i) {
|
|
6179
6179
|
return (e = pd(e)) in t ? Object.defineProperty(t, e, { value: i, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = i, t;
|
|
6180
6180
|
}
|
|
6181
6181
|
function pd(t) {
|
|
@@ -6196,19 +6196,19 @@ function bd(t, e) {
|
|
|
6196
6196
|
}
|
|
6197
6197
|
class wd {
|
|
6198
6198
|
constructor(e) {
|
|
6199
|
-
|
|
6199
|
+
ne(this, "name", "APPSROCKETS"), ne(this, "initialized", !1), ne(this, "initCompleter", null), ne(this, "context", void 0), ne(this, "adsOverlay", null), ne(this, "adsIsShowing", !1), ne(this, "state", Pn()), ne(this, "processUrl", (i) => {
|
|
6200
6200
|
var s;
|
|
6201
6201
|
const n = this.context.getContextInfo(), r = new URL(i), o = new URLSearchParams(r.search);
|
|
6202
6202
|
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()), o.get("adsType") || o.set("adsType", "REWARD_INTERSTITIAL"), r.search = o.toString(), r.toString();
|
|
6203
|
-
}),
|
|
6203
|
+
}), ne(this, "init", async (i) => {
|
|
6204
6204
|
var n;
|
|
6205
6205
|
this.initialized || (this.adsOverlay = document.createElement("div"), this.adsOverlay.setAttribute("data-placement-info", "afv-appsrockets"), ye(_(Ln, {
|
|
6206
6206
|
state: this.state
|
|
6207
6207
|
}), this.adsOverlay), document.documentElement.appendChild(this.adsOverlay), this.initialized = !0, (n = this.initCompleter) == null || n.call(this));
|
|
6208
|
-
}),
|
|
6208
|
+
}), ne(this, "destroy", () => {
|
|
6209
6209
|
var i;
|
|
6210
6210
|
this.adsOverlay && (ye(null, this.adsOverlay), (i = this.adsOverlay) == null || i.remove()), this.initialized = !1;
|
|
6211
|
-
}),
|
|
6211
|
+
}), ne(this, "requestAd", (i, n) => {
|
|
6212
6212
|
var d, l, u, c;
|
|
6213
6213
|
if (!this.adsOverlay || !this.initialized) {
|
|
6214
6214
|
(d = i.onAdError) == null || d.call(i, F.from(new Error("Ads not initialized"), "JOLIBOX_IMA_ERROR"));
|
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.3.5-beta.
|
|
4
|
+
"version": "1.3.5-beta.9",
|
|
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.3.5-beta.
|
|
15
|
+
"@jolibox/common": "1.3.5-beta.9",
|
|
16
16
|
"@emotion/css": "11.13.5",
|
|
17
|
-
"@jolibox/types": "1.3.5-beta.
|
|
17
|
+
"@jolibox/types": "1.3.5-beta.9",
|
|
18
18
|
"preact": "10.26.4",
|
|
19
19
|
"@preact/signals": "2.0.4",
|
|
20
|
-
"@jolibox/native-bridge": "1.3.5-beta.
|
|
20
|
+
"@jolibox/native-bridge": "1.3.5-beta.9"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
23
|
"@babel/core": "7.23.3",
|