@orbit-software/sdk 1.83.1 → 1.83.3
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/esm/sdk.mjs +489 -415
- package/dist/esm/sdk.umd.js +22 -22
- package/dist/stats-esm.html +1 -1
- package/dist/stats-umd-react.html +1 -1
- package/dist/stats-umd.html +1 -1
- package/dist/umd/sdk.umd.js +22 -22
- package/dist/umd_react/sdk_react.umd.js +50 -50
- package/package.json +1 -1
package/dist/esm/sdk.mjs
CHANGED
|
@@ -214,12 +214,12 @@ function requireTelegramWebApps() {
|
|
|
214
214
|
function Q(G, q) {
|
|
215
215
|
q.theme_params && (ce(q.theme_params), window.Telegram.WebApp.MainButton.setParams({}), window.Telegram.WebApp.SecondaryButton.setParams({}), ht(), Je(), wt(), B("themeChanged"));
|
|
216
216
|
}
|
|
217
|
-
var
|
|
217
|
+
var X = window.innerHeight;
|
|
218
218
|
function ee(G, q) {
|
|
219
219
|
q.height && (window.removeEventListener("resize", H), fe(q));
|
|
220
220
|
}
|
|
221
221
|
function H(G) {
|
|
222
|
-
|
|
222
|
+
X != window.innerHeight && (X = window.innerHeight, B("viewportChanged", {
|
|
223
223
|
isStateStable: !0
|
|
224
224
|
}));
|
|
225
225
|
}
|
|
@@ -254,7 +254,7 @@ function requireTelegramWebApps() {
|
|
|
254
254
|
function te(G, q) {
|
|
255
255
|
t.offEvent("webview:" + G, q);
|
|
256
256
|
}
|
|
257
|
-
function
|
|
257
|
+
function Z(G, q) {
|
|
258
258
|
var $ = document.documentElement;
|
|
259
259
|
$ && $.style && $.style.setProperty && $.style.setProperty("--tg-" + G, q);
|
|
260
260
|
}
|
|
@@ -268,7 +268,7 @@ function requireTelegramWebApps() {
|
|
|
268
268
|
G.bg_color == "#1c1c1d" && G.bg_color == G.secondary_bg_color && (G.secondary_bg_color = "#2c2c2e");
|
|
269
269
|
var q;
|
|
270
270
|
for (var $ in G)
|
|
271
|
-
(q = bt(G[$])) && (c[$] = q, $ == "bg_color" && (u = Qt(q) ? "dark" : "light",
|
|
271
|
+
(q = bt(G[$])) && (c[$] = q, $ == "bg_color" && (u = Qt(q) ? "dark" : "light", Z("color-scheme", u)), $ = "theme-" + $.split("_").join("-"), Z($, q));
|
|
272
272
|
e.sessionStorageSet("themeParams", c);
|
|
273
273
|
}
|
|
274
274
|
function oe(G) {
|
|
@@ -290,15 +290,15 @@ function requireTelegramWebApps() {
|
|
|
290
290
|
isStateStable: !!G.is_state_stable
|
|
291
291
|
}));
|
|
292
292
|
var q, $;
|
|
293
|
-
le !== !1 ? q = le - ge + "px" : q = ge ? "calc(100vh - " + ge + "px)" : "100vh", ne !== !1 ? $ = ne - ge + "px" : $ = ge ? "calc(100vh - " + ge + "px)" : "100vh",
|
|
293
|
+
le !== !1 ? q = le - ge + "px" : q = ge ? "calc(100vh - " + ge + "px)" : "100vh", ne !== !1 ? $ = ne - ge + "px" : $ = ge ? "calc(100vh - " + ge + "px)" : "100vh", Z("viewport-height", q), Z("viewport-stable-height", $);
|
|
294
294
|
}
|
|
295
295
|
var ue = { top: 0, bottom: 0, left: 0, right: 0 };
|
|
296
296
|
function Ee(G) {
|
|
297
|
-
typeof G < "u" && (typeof G.top < "u" && (ue.top = G.top), typeof G.bottom < "u" && (ue.bottom = G.bottom), typeof G.left < "u" && (ue.left = G.left), typeof G.right < "u" && (ue.right = G.right), B("safeAreaChanged")),
|
|
297
|
+
typeof G < "u" && (typeof G.top < "u" && (ue.top = G.top), typeof G.bottom < "u" && (ue.bottom = G.bottom), typeof G.left < "u" && (ue.left = G.left), typeof G.right < "u" && (ue.right = G.right), B("safeAreaChanged")), Z("safe-area-inset-top", ue.top + "px"), Z("safe-area-inset-bottom", ue.bottom + "px"), Z("safe-area-inset-left", ue.left + "px"), Z("safe-area-inset-right", ue.right + "px");
|
|
298
298
|
}
|
|
299
299
|
var Ce = { top: 0, bottom: 0, left: 0, right: 0 };
|
|
300
300
|
function Oe(G) {
|
|
301
|
-
typeof G < "u" && (typeof G.top < "u" && (Ce.top = G.top), typeof G.bottom < "u" && (Ce.bottom = G.bottom), typeof G.left < "u" && (Ce.left = G.left), typeof G.right < "u" && (Ce.right = G.right), B("contentSafeAreaChanged")),
|
|
301
|
+
typeof G < "u" && (typeof G.top < "u" && (Ce.top = G.top), typeof G.bottom < "u" && (Ce.bottom = G.bottom), typeof G.left < "u" && (Ce.left = G.left), typeof G.right < "u" && (Ce.right = G.right), B("contentSafeAreaChanged")), Z("content-safe-area-inset-top", Ce.top + "px"), Z("content-safe-area-inset-bottom", Ce.bottom + "px"), Z("content-safe-area-inset-left", Ce.left + "px"), Z("content-safe-area-inset-right", Ce.right + "px");
|
|
302
302
|
}
|
|
303
303
|
var We = !1;
|
|
304
304
|
function ye(G) {
|
|
@@ -332,7 +332,7 @@ function requireTelegramWebApps() {
|
|
|
332
332
|
se(G), t.postEvent("web_app_toggle_orientation_lock", !1, { locked: y });
|
|
333
333
|
}
|
|
334
334
|
var Qe = [];
|
|
335
|
-
function
|
|
335
|
+
function Xe(G, q) {
|
|
336
336
|
B("homeScreenAdded");
|
|
337
337
|
}
|
|
338
338
|
function yt(G, q) {
|
|
@@ -387,7 +387,7 @@ function requireTelegramWebApps() {
|
|
|
387
387
|
});
|
|
388
388
|
}
|
|
389
389
|
}
|
|
390
|
-
var
|
|
390
|
+
var Xt = !1;
|
|
391
391
|
function qe() {
|
|
392
392
|
return b == "secondary_bg_color" ? c.secondary_bg_color : b == "bg_color" ? c.bg_color : S;
|
|
393
393
|
}
|
|
@@ -552,8 +552,8 @@ function requireTelegramWebApps() {
|
|
|
552
552
|
boxSizing: "border-box",
|
|
553
553
|
zIndex: "10000"
|
|
554
554
|
};
|
|
555
|
-
for (var
|
|
556
|
-
Dt.style[
|
|
555
|
+
for (var Ze in Me)
|
|
556
|
+
Dt.style[Ze] = Me[Ze];
|
|
557
557
|
document.addEventListener("DOMContentLoaded", function G(q) {
|
|
558
558
|
document.removeEventListener("DOMContentLoaded", G), document.body.appendChild(Dt);
|
|
559
559
|
});
|
|
@@ -690,7 +690,7 @@ function requireTelegramWebApps() {
|
|
|
690
690
|
function l0(V) {
|
|
691
691
|
return typeof V > "u" && (V = o0()), JSON.stringify(V);
|
|
692
692
|
}
|
|
693
|
-
function
|
|
693
|
+
function Zr() {
|
|
694
694
|
var V = o0(), pe = l0(V);
|
|
695
695
|
Pt !== pe && (Pt = pe, t.postEvent($, !1, V), i.tgWebAppDebug && ae(V));
|
|
696
696
|
}
|
|
@@ -734,7 +734,7 @@ function requireTelegramWebApps() {
|
|
|
734
734
|
throw console.error("[Telegram.WebApp] Bottom button posiition is invalid", V.position), Error("WebAppBottomButtonParamInvalid");
|
|
735
735
|
Rt = V.position;
|
|
736
736
|
}
|
|
737
|
-
return typeof V.is_active < "u" && (ze = !!V.is_active),
|
|
737
|
+
return typeof V.is_active < "u" && (ze = !!V.is_active), Zr(), Ue;
|
|
738
738
|
}
|
|
739
739
|
return Ue.setText = function(V) {
|
|
740
740
|
return Ue.setParams({ text: V });
|
|
@@ -751,9 +751,9 @@ function requireTelegramWebApps() {
|
|
|
751
751
|
}, Ue.disable = function() {
|
|
752
752
|
return Ue.setParams({ is_active: !1 });
|
|
753
753
|
}, Ue.showProgress = function(V) {
|
|
754
|
-
return ze = !!V, vt = !0,
|
|
754
|
+
return ze = !!V, vt = !0, Zr(), Ue;
|
|
755
755
|
}, Ue.hideProgress = function() {
|
|
756
|
-
return Ue.isActive || (ze = !0), vt = !1,
|
|
756
|
+
return Ue.isActive || (ze = !0), vt = !1, Zr(), Ue;
|
|
757
757
|
}, Ue.setParams = W, Ue;
|
|
758
758
|
}, tt = et("main"), Ot = et("secondary"), At = function() {
|
|
759
759
|
var G = !1, q = {};
|
|
@@ -822,7 +822,7 @@ function requireTelegramWebApps() {
|
|
|
822
822
|
function q($, de, me) {
|
|
823
823
|
if (!He("6.9"))
|
|
824
824
|
throw console.error("[Telegram.WebApp] CloudStorage is not supported in version " + f), Error("WebAppMethodUnsupported");
|
|
825
|
-
return
|
|
825
|
+
return Xr($, de, me), G;
|
|
826
826
|
}
|
|
827
827
|
return G.setItem = function($, de, me) {
|
|
828
828
|
return q("saveStorageValue", { key: $, value: de }, me);
|
|
@@ -1300,11 +1300,11 @@ function requireTelegramWebApps() {
|
|
|
1300
1300
|
});
|
|
1301
1301
|
}
|
|
1302
1302
|
}
|
|
1303
|
-
var
|
|
1303
|
+
var Xt = !1;
|
|
1304
1304
|
function s0(G, q) {
|
|
1305
|
-
if (
|
|
1306
|
-
var $ =
|
|
1307
|
-
|
|
1305
|
+
if (Xt) {
|
|
1306
|
+
var $ = Xt;
|
|
1307
|
+
Xt = !1;
|
|
1308
1308
|
var de = null;
|
|
1309
1309
|
typeof q.button_id < "u" && (de = q.button_id), $.callback && $.callback(de), B("popupClosed", {
|
|
1310
1310
|
button_id: de
|
|
@@ -1344,7 +1344,7 @@ function requireTelegramWebApps() {
|
|
|
1344
1344
|
}
|
|
1345
1345
|
function y0(G, q) {
|
|
1346
1346
|
var $, de, me = 0, Re = function() {
|
|
1347
|
-
|
|
1347
|
+
Xr("getRequestedContact", {}, function(De, ot) {
|
|
1348
1348
|
ot && ot.length ? (clearTimeout(de), G(ot)) : (me += 50, $ = setTimeout(Re, me));
|
|
1349
1349
|
});
|
|
1350
1350
|
}, Be = function() {
|
|
@@ -1394,7 +1394,7 @@ function requireTelegramWebApps() {
|
|
|
1394
1394
|
typeof q.result < "u" && (de = q.result), typeof q.error < "u" && (me = q.error), $.callback && $.callback(me, de);
|
|
1395
1395
|
}
|
|
1396
1396
|
}
|
|
1397
|
-
function
|
|
1397
|
+
function Xr(G, q, $) {
|
|
1398
1398
|
if (!He("6.9"))
|
|
1399
1399
|
throw console.error("[Telegram.WebApp] Method invokeCustomMethod is not supported in version " + f), Error("WebAppMethodUnsupported");
|
|
1400
1400
|
var de = ie(16), me = { req_id: de, method: G, params: q || {} };
|
|
@@ -1650,7 +1650,7 @@ function requireTelegramWebApps() {
|
|
|
1650
1650
|
}, a.showPopup = function(G, q) {
|
|
1651
1651
|
if (!He("6.2"))
|
|
1652
1652
|
throw console.error("[Telegram.WebApp] Method showPopup is not supported in version " + f), Error("WebAppMethodUnsupported");
|
|
1653
|
-
if (
|
|
1653
|
+
if (Xt)
|
|
1654
1654
|
throw console.error("[Telegram.WebApp] Popup is already opened"), Error("WebAppPopupOpened");
|
|
1655
1655
|
var $ = "", de = "", me = [], Re = {};
|
|
1656
1656
|
if (typeof G.title < "u") {
|
|
@@ -1688,7 +1688,7 @@ function requireTelegramWebApps() {
|
|
|
1688
1688
|
throw console.error("[Telegram.WebApp] Popup should have at least one button"), Error("WebAppPopupParamInvalid");
|
|
1689
1689
|
if (me.length > 3)
|
|
1690
1690
|
throw console.error("[Telegram.WebApp] Popup should not have more than 3 buttons"), Error("WebAppPopupParamInvalid");
|
|
1691
|
-
Re.buttons = me,
|
|
1691
|
+
Re.buttons = me, Xt = {
|
|
1692
1692
|
callback: q
|
|
1693
1693
|
}, t.postEvent("web_app_open_popup", !1, Re);
|
|
1694
1694
|
}, a.showAlert = function(G, q) {
|
|
@@ -1817,7 +1817,7 @@ function requireTelegramWebApps() {
|
|
|
1817
1817
|
callback: G
|
|
1818
1818
|
}, t.postEvent("web_app_request_emoji_status_access");
|
|
1819
1819
|
}, a.invokeCustomMethod = function(G, q, $) {
|
|
1820
|
-
|
|
1820
|
+
Xr(G, q, $);
|
|
1821
1821
|
}, a.ready = function() {
|
|
1822
1822
|
t.postEvent("web_app_ready");
|
|
1823
1823
|
}, a.expand = function() {
|
|
@@ -1826,7 +1826,7 @@ function requireTelegramWebApps() {
|
|
|
1826
1826
|
G = G || {};
|
|
1827
1827
|
var q = {};
|
|
1828
1828
|
He("7.6") && G.return_back && (q.return_back = !0), t.postEvent("web_app_close", !1, q);
|
|
1829
|
-
}, window.Telegram.WebApp = a, ht(), Je(), wt(), fe(), i.tgWebAppShowSettings && At.show(), window.addEventListener("resize", H), s && document.addEventListener("click", P), t.onEvent("theme_changed", Q), t.onEvent("viewport_changed", ee), t.onEvent("safe_area_changed", F), t.onEvent("content_safe_area_changed", L), t.onEvent("visibility_changed", D), t.onEvent("invoice_closed", i0), t.onEvent("popup_closed", s0), t.onEvent("qr_text_received", d0), t.onEvent("scan_qr_popup_closed", h0), t.onEvent("clipboard_text_received", p0), t.onEvent("write_access_requested", m0), t.onEvent("phone_requested", g0), t.onEvent("file_download_requested", v0), t.onEvent("custom_method_invoked", x0), t.onEvent("fullscreen_changed", Fe), t.onEvent("fullscreen_failed", Pe), t.onEvent("home_screen_added",
|
|
1829
|
+
}, window.Telegram.WebApp = a, ht(), Je(), wt(), fe(), i.tgWebAppShowSettings && At.show(), window.addEventListener("resize", H), s && document.addEventListener("click", P), t.onEvent("theme_changed", Q), t.onEvent("viewport_changed", ee), t.onEvent("safe_area_changed", F), t.onEvent("content_safe_area_changed", L), t.onEvent("visibility_changed", D), t.onEvent("invoice_closed", i0), t.onEvent("popup_closed", s0), t.onEvent("qr_text_received", d0), t.onEvent("scan_qr_popup_closed", h0), t.onEvent("clipboard_text_received", p0), t.onEvent("write_access_requested", m0), t.onEvent("phone_requested", g0), t.onEvent("file_download_requested", v0), t.onEvent("custom_method_invoked", x0), t.onEvent("fullscreen_changed", Fe), t.onEvent("fullscreen_failed", Pe), t.onEvent("home_screen_added", Xe), t.onEvent("home_screen_checked", yt), t.onEvent("prepared_message_sent", ct), t.onEvent("prepared_message_failed", nt), t.onEvent("emoji_status_set", xe), t.onEvent("emoji_status_failed", ke), t.onEvent("emoji_status_access_requested", Se), t.postEvent("web_app_request_theme"), t.postEvent("web_app_request_viewport"), t.postEvent("web_app_request_safe_area"), t.postEvent("web_app_request_content_safe_area");
|
|
1830
1830
|
}()), telegramWebApps;
|
|
1831
1831
|
}
|
|
1832
1832
|
var hasRequiredSdk;
|
|
@@ -1867,7 +1867,7 @@ function promisify(e) {
|
|
|
1867
1867
|
};
|
|
1868
1868
|
}
|
|
1869
1869
|
promisify.argumentNames = "__ES6-PROMISIFY--CUSTOM-ARGUMENTS__", promisify.Promise = void 0;
|
|
1870
|
-
const version = "1.83.
|
|
1870
|
+
const version = "1.83.3";
|
|
1871
1871
|
var jsxRuntime = { exports: {} }, reactJsxRuntime_development = {}, hasRequiredReactJsxRuntime_development;
|
|
1872
1872
|
function requireReactJsxRuntime_development() {
|
|
1873
1873
|
if (hasRequiredReactJsxRuntime_development) return reactJsxRuntime_development;
|
|
@@ -1892,14 +1892,14 @@ function requireReactJsxRuntime_development() {
|
|
|
1892
1892
|
var k = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
1893
1893
|
function E(Y) {
|
|
1894
1894
|
{
|
|
1895
|
-
for (var ge = arguments.length, Me = new Array(ge > 1 ? ge - 1 : 0),
|
|
1896
|
-
Me[
|
|
1895
|
+
for (var ge = arguments.length, Me = new Array(ge > 1 ? ge - 1 : 0), Ze = 1; Ze < ge; Ze++)
|
|
1896
|
+
Me[Ze - 1] = arguments[Ze];
|
|
1897
1897
|
A("error", Y, Me);
|
|
1898
1898
|
}
|
|
1899
1899
|
}
|
|
1900
1900
|
function A(Y, ge, Me) {
|
|
1901
1901
|
{
|
|
1902
|
-
var
|
|
1902
|
+
var Ze = k.ReactDebugCurrentFrame, ut = Ze.getStackAddendum();
|
|
1903
1903
|
ut !== "" && (ge += "%s", Me = Me.concat([ut]));
|
|
1904
1904
|
var mt = Me.map(function(et) {
|
|
1905
1905
|
return String(et);
|
|
@@ -1917,13 +1917,13 @@ function requireReactJsxRuntime_development() {
|
|
|
1917
1917
|
Y.$$typeof === j || Y.getModuleId !== void 0));
|
|
1918
1918
|
}
|
|
1919
1919
|
function Q(Y, ge, Me) {
|
|
1920
|
-
var
|
|
1921
|
-
if (
|
|
1922
|
-
return
|
|
1920
|
+
var Ze = Y.displayName;
|
|
1921
|
+
if (Ze)
|
|
1922
|
+
return Ze;
|
|
1923
1923
|
var ut = ge.displayName || ge.name || "";
|
|
1924
1924
|
return ut !== "" ? Me + "(" + ut + ")" : Me;
|
|
1925
1925
|
}
|
|
1926
|
-
function
|
|
1926
|
+
function X(Y) {
|
|
1927
1927
|
return Y.displayName || "Context";
|
|
1928
1928
|
}
|
|
1929
1929
|
function ee(Y) {
|
|
@@ -1951,15 +1951,15 @@ function requireReactJsxRuntime_development() {
|
|
|
1951
1951
|
switch (Y.$$typeof) {
|
|
1952
1952
|
case c:
|
|
1953
1953
|
var ge = Y;
|
|
1954
|
-
return
|
|
1954
|
+
return X(ge) + ".Consumer";
|
|
1955
1955
|
case l:
|
|
1956
1956
|
var Me = Y;
|
|
1957
|
-
return
|
|
1957
|
+
return X(Me._context) + ".Provider";
|
|
1958
1958
|
case u:
|
|
1959
1959
|
return Q(Y, Y.render, "ForwardRef");
|
|
1960
1960
|
case p:
|
|
1961
|
-
var
|
|
1962
|
-
return
|
|
1961
|
+
var Ze = Y.displayName || null;
|
|
1962
|
+
return Ze !== null ? Ze : ee(Y.type) || "Memo";
|
|
1963
1963
|
case m: {
|
|
1964
1964
|
var ut = Y, mt = ut._payload, et = ut._init;
|
|
1965
1965
|
try {
|
|
@@ -1972,9 +1972,9 @@ function requireReactJsxRuntime_development() {
|
|
|
1972
1972
|
return null;
|
|
1973
1973
|
}
|
|
1974
1974
|
var H = Object.assign, F = 0, L, D, P, O, B, U, te;
|
|
1975
|
-
function
|
|
1975
|
+
function Z() {
|
|
1976
1976
|
}
|
|
1977
|
-
|
|
1977
|
+
Z.__reactDisabledLog = !0;
|
|
1978
1978
|
function re() {
|
|
1979
1979
|
{
|
|
1980
1980
|
if (F === 0) {
|
|
@@ -1982,7 +1982,7 @@ function requireReactJsxRuntime_development() {
|
|
|
1982
1982
|
var Y = {
|
|
1983
1983
|
configurable: !0,
|
|
1984
1984
|
enumerable: !0,
|
|
1985
|
-
value:
|
|
1985
|
+
value: Z,
|
|
1986
1986
|
writable: !0
|
|
1987
1987
|
};
|
|
1988
1988
|
Object.defineProperties(console, {
|
|
@@ -2040,8 +2040,8 @@ function requireReactJsxRuntime_development() {
|
|
|
2040
2040
|
try {
|
|
2041
2041
|
throw Error();
|
|
2042
2042
|
} catch (ut) {
|
|
2043
|
-
var
|
|
2044
|
-
oe =
|
|
2043
|
+
var Ze = ut.stack.trim().match(/\n( *(at )?)/);
|
|
2044
|
+
oe = Ze && Ze[1] || "";
|
|
2045
2045
|
}
|
|
2046
2046
|
return `
|
|
2047
2047
|
` + oe + Y;
|
|
@@ -2060,7 +2060,7 @@ function requireReactJsxRuntime_development() {
|
|
|
2060
2060
|
if (Me !== void 0)
|
|
2061
2061
|
return Me;
|
|
2062
2062
|
}
|
|
2063
|
-
var
|
|
2063
|
+
var Ze;
|
|
2064
2064
|
ie = !0;
|
|
2065
2065
|
var ut = Error.prepareStackTrace;
|
|
2066
2066
|
Error.prepareStackTrace = void 0;
|
|
@@ -2079,14 +2079,14 @@ function requireReactJsxRuntime_development() {
|
|
|
2079
2079
|
try {
|
|
2080
2080
|
Reflect.construct(et, []);
|
|
2081
2081
|
} catch (jt) {
|
|
2082
|
-
|
|
2082
|
+
Ze = jt;
|
|
2083
2083
|
}
|
|
2084
2084
|
Reflect.construct(Y, [], et);
|
|
2085
2085
|
} else {
|
|
2086
2086
|
try {
|
|
2087
2087
|
et.call();
|
|
2088
2088
|
} catch (jt) {
|
|
2089
|
-
|
|
2089
|
+
Ze = jt;
|
|
2090
2090
|
}
|
|
2091
2091
|
Y.call(et.prototype);
|
|
2092
2092
|
}
|
|
@@ -2094,14 +2094,14 @@ function requireReactJsxRuntime_development() {
|
|
|
2094
2094
|
try {
|
|
2095
2095
|
throw Error();
|
|
2096
2096
|
} catch (jt) {
|
|
2097
|
-
|
|
2097
|
+
Ze = jt;
|
|
2098
2098
|
}
|
|
2099
2099
|
Y();
|
|
2100
2100
|
}
|
|
2101
2101
|
} catch (jt) {
|
|
2102
|
-
if (jt &&
|
|
2102
|
+
if (jt && Ze && typeof jt.stack == "string") {
|
|
2103
2103
|
for (var tt = jt.stack.split(`
|
|
2104
|
-
`), Ot =
|
|
2104
|
+
`), Ot = Ze.stack.split(`
|
|
2105
2105
|
`), At = tt.length - 1, Ct = Ot.length - 1; At >= 1 && Ct >= 0 && tt[At] !== Ot[Ct]; )
|
|
2106
2106
|
Ct--;
|
|
2107
2107
|
for (; At >= 1 && Ct >= 0; At--, Ct--)
|
|
@@ -2150,7 +2150,7 @@ function requireReactJsxRuntime_development() {
|
|
|
2150
2150
|
case p:
|
|
2151
2151
|
return Ee(Y.type, ge, Me);
|
|
2152
2152
|
case m: {
|
|
2153
|
-
var
|
|
2153
|
+
var Ze = Y, ut = Ze._payload, mt = Ze._init;
|
|
2154
2154
|
try {
|
|
2155
2155
|
return Ee(mt(ut), ge, Me);
|
|
2156
2156
|
} catch {
|
|
@@ -2167,7 +2167,7 @@ function requireReactJsxRuntime_development() {
|
|
|
2167
2167
|
} else
|
|
2168
2168
|
We.setExtraStackFrame(null);
|
|
2169
2169
|
}
|
|
2170
|
-
function we(Y, ge, Me,
|
|
2170
|
+
function we(Y, ge, Me, Ze, ut) {
|
|
2171
2171
|
{
|
|
2172
2172
|
var mt = Function.call.bind(Ce);
|
|
2173
2173
|
for (var et in Y)
|
|
@@ -2175,14 +2175,14 @@ function requireReactJsxRuntime_development() {
|
|
|
2175
2175
|
var tt = void 0;
|
|
2176
2176
|
try {
|
|
2177
2177
|
if (typeof Y[et] != "function") {
|
|
2178
|
-
var Ot = Error((
|
|
2178
|
+
var Ot = Error((Ze || "React class") + ": " + Me + " type `" + et + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof Y[et] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
2179
2179
|
throw Ot.name = "Invariant Violation", Ot;
|
|
2180
2180
|
}
|
|
2181
|
-
tt = Y[et](ge, et,
|
|
2181
|
+
tt = Y[et](ge, et, Ze, Me, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
2182
2182
|
} catch (At) {
|
|
2183
2183
|
tt = At;
|
|
2184
2184
|
}
|
|
2185
|
-
tt && !(tt instanceof Error) && (ye(ut), E("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",
|
|
2185
|
+
tt && !(tt instanceof Error) && (ye(ut), E("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", Ze || "React class", Me, et, typeof tt), ye(null)), tt instanceof Error && !(tt.message in Oe) && (Oe[tt.message] = !0, ye(ut), E("Failed %s type: %s", Me, tt.message), ye(null));
|
|
2186
2186
|
}
|
|
2187
2187
|
}
|
|
2188
2188
|
}
|
|
@@ -2206,7 +2206,7 @@ function requireReactJsxRuntime_development() {
|
|
|
2206
2206
|
function Qe(Y) {
|
|
2207
2207
|
return "" + Y;
|
|
2208
2208
|
}
|
|
2209
|
-
function
|
|
2209
|
+
function Xe(Y) {
|
|
2210
2210
|
if (Ve(Y))
|
|
2211
2211
|
return E("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Pe(Y)), Qe(Y);
|
|
2212
2212
|
}
|
|
@@ -2257,7 +2257,7 @@ function requireReactJsxRuntime_development() {
|
|
|
2257
2257
|
});
|
|
2258
2258
|
}
|
|
2259
2259
|
}
|
|
2260
|
-
var qe = function(Y, ge, Me,
|
|
2260
|
+
var qe = function(Y, ge, Me, Ze, ut, mt, et) {
|
|
2261
2261
|
var tt = {
|
|
2262
2262
|
// This tag allows us to uniquely identify this as a React Element
|
|
2263
2263
|
$$typeof: t,
|
|
@@ -2278,7 +2278,7 @@ function requireReactJsxRuntime_development() {
|
|
|
2278
2278
|
configurable: !1,
|
|
2279
2279
|
enumerable: !1,
|
|
2280
2280
|
writable: !1,
|
|
2281
|
-
value:
|
|
2281
|
+
value: Ze
|
|
2282
2282
|
}), Object.defineProperty(tt, "_source", {
|
|
2283
2283
|
configurable: !1,
|
|
2284
2284
|
enumerable: !1,
|
|
@@ -2286,10 +2286,10 @@ function requireReactJsxRuntime_development() {
|
|
|
2286
2286
|
value: ut
|
|
2287
2287
|
}), Object.freeze && (Object.freeze(tt.props), Object.freeze(tt)), tt;
|
|
2288
2288
|
};
|
|
2289
|
-
function ve(Y, ge, Me,
|
|
2289
|
+
function ve(Y, ge, Me, Ze, ut) {
|
|
2290
2290
|
{
|
|
2291
2291
|
var mt, et = {}, tt = null, Ot = null;
|
|
2292
|
-
Me !== void 0 && (
|
|
2292
|
+
Me !== void 0 && (Xe(Me), tt = "" + Me), xe(ge) && (Xe(ge.key), tt = "" + ge.key), Le(ge) && (Ot = ge.ref, ke(ge, ut));
|
|
2293
2293
|
for (mt in ge)
|
|
2294
2294
|
Ce.call(ge, mt) && !_e.hasOwnProperty(mt) && (et[mt] = ge[mt]);
|
|
2295
2295
|
if (Y && Y.defaultProps) {
|
|
@@ -2301,7 +2301,7 @@ function requireReactJsxRuntime_development() {
|
|
|
2301
2301
|
var Ct = typeof Y == "function" ? Y.displayName || Y.name || "Unknown" : Y;
|
|
2302
2302
|
tt && Ne(et, Ct), Ot && Se(et, Ct);
|
|
2303
2303
|
}
|
|
2304
|
-
return qe(Y, tt, Ot, ut,
|
|
2304
|
+
return qe(Y, tt, Ot, ut, Ze, yt.current, et);
|
|
2305
2305
|
}
|
|
2306
2306
|
}
|
|
2307
2307
|
var Ae = k.ReactCurrentOwner, $e = k.ReactDebugCurrentFrame;
|
|
@@ -2354,8 +2354,8 @@ Check the top-level render call using <` + Me + ">.");
|
|
|
2354
2354
|
if (dt[Me])
|
|
2355
2355
|
return;
|
|
2356
2356
|
dt[Me] = !0;
|
|
2357
|
-
var
|
|
2358
|
-
Y && Y._owner && Y._owner !== Ae.current && (
|
|
2357
|
+
var Ze = "";
|
|
2358
|
+
Y && Y._owner && Y._owner !== Ae.current && (Ze = " It was passed a child from " + ee(Y._owner.type) + "."), ht(Y), E('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', Me, Ze), ht(null);
|
|
2359
2359
|
}
|
|
2360
2360
|
}
|
|
2361
2361
|
function Wt(Y, ge) {
|
|
@@ -2364,8 +2364,8 @@ Check the top-level render call using <` + Me + ">.");
|
|
|
2364
2364
|
return;
|
|
2365
2365
|
if (Fe(Y))
|
|
2366
2366
|
for (var Me = 0; Me < Y.length; Me++) {
|
|
2367
|
-
var
|
|
2368
|
-
Et(
|
|
2367
|
+
var Ze = Y[Me];
|
|
2368
|
+
Et(Ze) && Tt(Ze, ge);
|
|
2369
2369
|
}
|
|
2370
2370
|
else if (Et(Y))
|
|
2371
2371
|
Y._store && (Y._store.validated = !0);
|
|
@@ -2392,8 +2392,8 @@ Check the top-level render call using <` + Me + ">.");
|
|
|
2392
2392
|
else
|
|
2393
2393
|
return;
|
|
2394
2394
|
if (Me) {
|
|
2395
|
-
var
|
|
2396
|
-
we(Me, Y.props, "prop",
|
|
2395
|
+
var Ze = ee(ge);
|
|
2396
|
+
we(Me, Y.props, "prop", Ze, Y);
|
|
2397
2397
|
} else if (ge.PropTypes !== void 0 && !St) {
|
|
2398
2398
|
St = !0;
|
|
2399
2399
|
var ut = ee(ge);
|
|
@@ -2405,9 +2405,9 @@ Check the top-level render call using <` + Me + ">.");
|
|
|
2405
2405
|
function bt(Y) {
|
|
2406
2406
|
{
|
|
2407
2407
|
for (var ge = Object.keys(Y.props), Me = 0; Me < ge.length; Me++) {
|
|
2408
|
-
var
|
|
2409
|
-
if (
|
|
2410
|
-
ht(Y), E("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",
|
|
2408
|
+
var Ze = ge[Me];
|
|
2409
|
+
if (Ze !== "children" && Ze !== "key") {
|
|
2410
|
+
ht(Y), E("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", Ze), ht(null);
|
|
2411
2411
|
break;
|
|
2412
2412
|
}
|
|
2413
2413
|
}
|
|
@@ -2415,7 +2415,7 @@ Check the top-level render call using <` + Me + ">.");
|
|
|
2415
2415
|
}
|
|
2416
2416
|
}
|
|
2417
2417
|
var Qt = {};
|
|
2418
|
-
function kt(Y, ge, Me,
|
|
2418
|
+
function kt(Y, ge, Me, Ze, ut, mt) {
|
|
2419
2419
|
{
|
|
2420
2420
|
var et = z(Y);
|
|
2421
2421
|
if (!et) {
|
|
@@ -2432,7 +2432,7 @@ Check the top-level render call using <` + Me + ">.");
|
|
|
2432
2432
|
if (et) {
|
|
2433
2433
|
var Bt = ge.children;
|
|
2434
2434
|
if (Bt !== void 0)
|
|
2435
|
-
if (
|
|
2435
|
+
if (Ze)
|
|
2436
2436
|
if (Fe(Bt)) {
|
|
2437
2437
|
for (var Yt = 0; Yt < Bt.length; Yt++)
|
|
2438
2438
|
Wt(Bt[Yt], Y);
|
|
@@ -8436,8 +8436,8 @@ function useSnapPoints({ activeSnapPointProp: e, setActiveSnapPointProp: t, snap
|
|
|
8436
8436
|
b(y[i.length - 1]);
|
|
8437
8437
|
return;
|
|
8438
8438
|
}
|
|
8439
|
-
const Q = y == null ? void 0 : y.reduce((ee, H) => typeof ee != "number" || typeof H != "number" ? ee : Math.abs(H - N) < Math.abs(ee - N) ? H : ee),
|
|
8440
|
-
if (T > VELOCITY_THRESHOLD && Math.abs(A) <
|
|
8439
|
+
const Q = y == null ? void 0 : y.reduce((ee, H) => typeof ee != "number" || typeof H != "number" ? ee : Math.abs(H - N) < Math.abs(ee - N) ? H : ee), X = isVertical(c) ? window.innerHeight : window.innerWidth;
|
|
8440
|
+
if (T > VELOCITY_THRESHOLD && Math.abs(A) < X * 0.4) {
|
|
8441
8441
|
const ee = z ? 1 : -1;
|
|
8442
8442
|
if (ee > 0 && d) {
|
|
8443
8443
|
b(y[i.length - 1]);
|
|
@@ -8481,7 +8481,7 @@ function useSnapPoints({ activeSnapPointProp: e, setActiveSnapPointProp: t, snap
|
|
|
8481
8481
|
const CLOSE_THRESHOLD = 0.25, SCROLL_LOCK_TIMEOUT = 100, BORDER_RADIUS = 8, NESTED_DISPLACEMENT = 16, WINDOW_TOP_OFFSET = 26, DRAG_CLASS = "vaul-dragging";
|
|
8482
8482
|
function Root({ open: e, onOpenChange: t, children: i, shouldScaleBackground: s, onDrag: a, onRelease: o, snapPoints: l, nested: c = !1, closeThreshold: u = CLOSE_THRESHOLD, scrollLockTimeout: f = SCROLL_LOCK_TIMEOUT, dismissible: d = !0, fadeFromIndex: p = l && l.length - 1, activeSnapPoint: m, setActiveSnapPoint: y, fixed: g, modal: b = !0, onClose: S, direction: k = "bottom", preventScrollRestoration: E = !0, disablePreventScroll: A = !1 }) {
|
|
8483
8483
|
var C;
|
|
8484
|
-
const [T = !1, I] = React__default.useState(!1), [N, M] = React__default.useState(!1), [j, z] = React__default.useState(!1), [Q,
|
|
8484
|
+
const [T = !1, I] = React__default.useState(!1), [N, M] = React__default.useState(!1), [j, z] = React__default.useState(!1), [Q, X] = React__default.useState(!1), [ee, H] = React__default.useState(!1), [F, L] = React__default.useState(!1), D = React__default.useRef(null), P = React__default.useRef(null), O = React__default.useRef(null), B = React__default.useRef(null), U = React__default.useRef(null), te = React__default.useRef(!1), Z = React__default.useRef(null), re = React__default.useRef(0), se = React__default.useRef(!1), ce = React__default.useRef(0), oe = React__default.useRef(null), K = React__default.useRef(((C = oe.current) == null ? void 0 : C.getBoundingClientRect().height) || 0), ie = React__default.useRef(0), le = React__default.useCallback((xe) => {
|
|
8485
8485
|
l && xe === Ee.length - 1 && (P.current = /* @__PURE__ */ new Date());
|
|
8486
8486
|
}, []), { activeSnapPoint: ne, activeSnapPointIndex: he, setActiveSnapPoint: fe, onRelease: ue, snapPointsOffset: Ee, onDrag: Ce, shouldFade: Oe, getPercentageDragged: We } = useSnapPoints({
|
|
8487
8487
|
snapPoints: l,
|
|
@@ -8617,7 +8617,7 @@ function Root({ open: e, onOpenChange: t, children: i, shouldScaleBackground: s,
|
|
|
8617
8617
|
Ee
|
|
8618
8618
|
]);
|
|
8619
8619
|
function Ve() {
|
|
8620
|
-
oe.current && (
|
|
8620
|
+
oe.current && (Xe(), S == null || S(), set(oe.current, {
|
|
8621
8621
|
transform: isVertical(k) ? `translate3d(0, ${k === "bottom" ? "100%" : "-100%"}, 0)` : `translate3d(${k === "right" ? "100%" : "-100%"}, 0, 0)`,
|
|
8622
8622
|
transition: `transform ${TRANSITIONS.DURATION}s cubic-bezier(${TRANSITIONS.EASE.join(",")})`
|
|
8623
8623
|
}), set(D.current, {
|
|
@@ -8648,7 +8648,7 @@ function Root({ open: e, onOpenChange: t, children: i, shouldScaleBackground: s,
|
|
|
8648
8648
|
}, [
|
|
8649
8649
|
T
|
|
8650
8650
|
]), React__default.useEffect(() => {
|
|
8651
|
-
|
|
8651
|
+
X(!0);
|
|
8652
8652
|
}, []);
|
|
8653
8653
|
function Qe() {
|
|
8654
8654
|
if (!oe.current) return;
|
|
@@ -8674,7 +8674,7 @@ function Root({ open: e, onOpenChange: t, children: i, shouldScaleBackground: s,
|
|
|
8674
8674
|
transitionTimingFunction: `cubic-bezier(${TRANSITIONS.EASE.join(",")})`
|
|
8675
8675
|
}, !0);
|
|
8676
8676
|
}
|
|
8677
|
-
function
|
|
8677
|
+
function Xe() {
|
|
8678
8678
|
!ee || !oe.current || (oe.current.classList.remove(DRAG_CLASS), te.current = !1, H(!1), B.current = /* @__PURE__ */ new Date());
|
|
8679
8679
|
}
|
|
8680
8680
|
function yt(xe) {
|
|
@@ -8755,10 +8755,10 @@ function Root({ open: e, onOpenChange: t, children: i, shouldScaleBackground: s,
|
|
|
8755
8755
|
}
|
|
8756
8756
|
function ct(xe) {
|
|
8757
8757
|
const ke = xe ? (window.innerWidth - NESTED_DISPLACEMENT) / window.innerWidth : 1, Ne = xe ? -NESTED_DISPLACEMENT : 0;
|
|
8758
|
-
|
|
8758
|
+
Z.current && window.clearTimeout(Z.current), set(oe.current, {
|
|
8759
8759
|
transition: `transform ${TRANSITIONS.DURATION}s cubic-bezier(${TRANSITIONS.EASE.join(",")})`,
|
|
8760
8760
|
transform: `scale(${ke}) translate3d(0, ${Ne}px, 0)`
|
|
8761
|
-
}), !xe && oe.current && (
|
|
8761
|
+
}), !xe && oe.current && (Z.current = setTimeout(() => {
|
|
8762
8762
|
const Se = getTranslate(oe.current, k);
|
|
8763
8763
|
set(oe.current, {
|
|
8764
8764
|
transition: "none",
|
|
@@ -8839,8 +8839,8 @@ const Content = /* @__PURE__ */ React__default.forwardRef(function({ onOpenAutoF
|
|
|
8839
8839
|
E(!0);
|
|
8840
8840
|
}, []);
|
|
8841
8841
|
const I = (N, M, j = 0) => {
|
|
8842
|
-
const z = Math.abs(N.x), Q = Math.abs(N.y),
|
|
8843
|
-
return M === "left" || M === "right" ?
|
|
8842
|
+
const z = Math.abs(N.x), Q = Math.abs(N.y), X = z > Q;
|
|
8843
|
+
return M === "left" || M === "right" ? X && z > j : !X && Q > j;
|
|
8844
8844
|
};
|
|
8845
8845
|
return /* @__PURE__ */ React__default.createElement(Content$1, {
|
|
8846
8846
|
"vaul-drawer": "",
|
|
@@ -8881,9 +8881,9 @@ const Content = /* @__PURE__ */ React__default.forwardRef(function({ onOpenAutoF
|
|
|
8881
8881
|
].includes(A), Q = [
|
|
8882
8882
|
"left",
|
|
8883
8883
|
"top"
|
|
8884
|
-
].includes(A) ? Math.min : Math.max,
|
|
8884
|
+
].includes(A) ? Math.min : Math.max, X = z ? Q(0, j) : 0, ee = z ? 0 : Q(0, M), H = N.pointerType === "touch" ? 10 : 2;
|
|
8885
8885
|
I({
|
|
8886
|
-
x:
|
|
8886
|
+
x: X,
|
|
8887
8887
|
y: ee
|
|
8888
8888
|
}, A, H) ? f(N) : (Math.abs(j) > H || Math.abs(M) > H) && (T.current = null);
|
|
8889
8889
|
},
|
|
@@ -12426,8 +12426,8 @@ function createAnimationState(e) {
|
|
|
12426
12426
|
const z = Array.isArray(A) ? A : [A];
|
|
12427
12427
|
let Q = z.reduce(a(k), {});
|
|
12428
12428
|
T === !1 && (Q = {});
|
|
12429
|
-
const { prevResolvedValues:
|
|
12430
|
-
...
|
|
12429
|
+
const { prevResolvedValues: X = {} } = E, ee = {
|
|
12430
|
+
...X,
|
|
12431
12431
|
...Q
|
|
12432
12432
|
}, H = (D) => {
|
|
12433
12433
|
M = !0, m.has(D) && (j = !0, m.delete(D)), E.needsAnimating[D] = !0;
|
|
@@ -12435,7 +12435,7 @@ function createAnimationState(e) {
|
|
|
12435
12435
|
P && (P.liveStyle = !1);
|
|
12436
12436
|
};
|
|
12437
12437
|
for (const D in ee) {
|
|
12438
|
-
const P = Q[D], O =
|
|
12438
|
+
const P = Q[D], O = X[D];
|
|
12439
12439
|
if (y.hasOwnProperty(D))
|
|
12440
12440
|
continue;
|
|
12441
12441
|
let B = !1;
|
|
@@ -14117,9 +14117,9 @@ function createAnimationsFromSequence(e, { defaultTransition: t = {}, ...i } = {
|
|
|
14117
14117
|
k.at !== void 0 && (p = calcNextTime(p, k.at, d, f));
|
|
14118
14118
|
let E = 0;
|
|
14119
14119
|
const A = (C, T, I, N = 0, M = 0) => {
|
|
14120
|
-
const j = keyframesAsList(C), { delay: z = 0, times: Q = defaultOffset(j), type:
|
|
14120
|
+
const j = keyframesAsList(C), { delay: z = 0, times: Q = defaultOffset(j), type: X = "keyframes", repeat: ee, repeatType: H, repeatDelay: F = 0, ...L } = T;
|
|
14121
14121
|
let { ease: D = t.ease || "easeOut", duration: P } = T;
|
|
14122
|
-
const O = typeof z == "function" ? z(N, M) : z, B = j.length, U = isGenerator(
|
|
14122
|
+
const O = typeof z == "function" ? z(N, M) : z, B = j.length, U = isGenerator(X) ? X : a == null ? void 0 : a[X || "keyframes"];
|
|
14123
14123
|
if (B <= 2 && U) {
|
|
14124
14124
|
let se = 100;
|
|
14125
14125
|
if (B === 2 && isNumberKeyframesArray(j)) {
|
|
@@ -14134,8 +14134,8 @@ function createAnimationsFromSequence(e, { defaultTransition: t = {}, ...i } = {
|
|
|
14134
14134
|
P ?? (P = o);
|
|
14135
14135
|
const te = p + O;
|
|
14136
14136
|
Q.length === 1 && Q[0] === 0 && (Q[1] = 1);
|
|
14137
|
-
const
|
|
14138
|
-
if (
|
|
14137
|
+
const Z = Q.length - j.length;
|
|
14138
|
+
if (Z > 0 && fillOffset(Q, Z), j.length === 1 && j.unshift(null), ee) {
|
|
14139
14139
|
invariant(ee < MAX_REPEAT, "Repeat count too high, must be less than 20", "repeat-count-high"), P = calculateRepeatDuration(P, ee);
|
|
14140
14140
|
const se = [...j], ce = [...Q];
|
|
14141
14141
|
D = Array.isArray(D) ? [...D] : [D];
|
|
@@ -14610,13 +14610,13 @@ const fromTheme = (e) => {
|
|
|
14610
14610
|
"left-bottom"
|
|
14611
14611
|
], T = () => [...C(), isArbitraryVariable, isArbitraryValue], I = () => ["auto", "hidden", "clip", "visible", "scroll"], N = () => ["auto", "contain", "none"], M = () => [isArbitraryVariable, isArbitraryValue, u], j = () => [isFraction, "full", "auto", ...M()], z = () => [isInteger, "none", "subgrid", isArbitraryVariable, isArbitraryValue], Q = () => ["auto", {
|
|
14612
14612
|
span: ["full", isInteger, isArbitraryVariable, isArbitraryValue]
|
|
14613
|
-
}, isInteger, isArbitraryVariable, isArbitraryValue],
|
|
14613
|
+
}, isInteger, isArbitraryVariable, isArbitraryValue], X = () => [isInteger, "auto", isArbitraryVariable, isArbitraryValue], ee = () => ["auto", "min", "max", "fr", isArbitraryVariable, isArbitraryValue], H = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], F = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], L = () => ["auto", ...M()], D = () => [isFraction, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...M()], P = () => [e, isArbitraryVariable, isArbitraryValue], O = () => [...C(), isArbitraryVariablePosition, isArbitraryPosition, {
|
|
14614
14614
|
position: [isArbitraryVariable, isArbitraryValue]
|
|
14615
14615
|
}], B = () => ["no-repeat", {
|
|
14616
14616
|
repeat: ["", "x", "y", "space", "round"]
|
|
14617
14617
|
}], U = () => ["auto", "cover", "contain", isArbitraryVariableSize, isArbitrarySize, {
|
|
14618
14618
|
size: [isArbitraryVariable, isArbitraryValue]
|
|
14619
|
-
}], te = () => [isPercent, isArbitraryVariableLength, isArbitraryLength],
|
|
14619
|
+
}], te = () => [isPercent, isArbitraryVariableLength, isArbitraryLength], Z = () => [
|
|
14620
14620
|
// Deprecated since Tailwind CSS v4.0.0
|
|
14621
14621
|
"",
|
|
14622
14622
|
"none",
|
|
@@ -14950,14 +14950,14 @@ const fromTheme = (e) => {
|
|
|
14950
14950
|
* @see https://tailwindcss.com/docs/grid-column
|
|
14951
14951
|
*/
|
|
14952
14952
|
"col-start": [{
|
|
14953
|
-
"col-start":
|
|
14953
|
+
"col-start": X()
|
|
14954
14954
|
}],
|
|
14955
14955
|
/**
|
|
14956
14956
|
* Grid Column End
|
|
14957
14957
|
* @see https://tailwindcss.com/docs/grid-column
|
|
14958
14958
|
*/
|
|
14959
14959
|
"col-end": [{
|
|
14960
|
-
"col-end":
|
|
14960
|
+
"col-end": X()
|
|
14961
14961
|
}],
|
|
14962
14962
|
/**
|
|
14963
14963
|
* Grid Template Rows
|
|
@@ -14978,14 +14978,14 @@ const fromTheme = (e) => {
|
|
|
14978
14978
|
* @see https://tailwindcss.com/docs/grid-row
|
|
14979
14979
|
*/
|
|
14980
14980
|
"row-start": [{
|
|
14981
|
-
"row-start":
|
|
14981
|
+
"row-start": X()
|
|
14982
14982
|
}],
|
|
14983
14983
|
/**
|
|
14984
14984
|
* Grid Row End
|
|
14985
14985
|
* @see https://tailwindcss.com/docs/grid-row
|
|
14986
14986
|
*/
|
|
14987
14987
|
"row-end": [{
|
|
14988
|
-
"row-end":
|
|
14988
|
+
"row-end": X()
|
|
14989
14989
|
}],
|
|
14990
14990
|
/**
|
|
14991
14991
|
* Grid Auto Flow
|
|
@@ -15669,105 +15669,105 @@ const fromTheme = (e) => {
|
|
|
15669
15669
|
* @see https://tailwindcss.com/docs/border-radius
|
|
15670
15670
|
*/
|
|
15671
15671
|
rounded: [{
|
|
15672
|
-
rounded:
|
|
15672
|
+
rounded: Z()
|
|
15673
15673
|
}],
|
|
15674
15674
|
/**
|
|
15675
15675
|
* Border Radius Start
|
|
15676
15676
|
* @see https://tailwindcss.com/docs/border-radius
|
|
15677
15677
|
*/
|
|
15678
15678
|
"rounded-s": [{
|
|
15679
|
-
"rounded-s":
|
|
15679
|
+
"rounded-s": Z()
|
|
15680
15680
|
}],
|
|
15681
15681
|
/**
|
|
15682
15682
|
* Border Radius End
|
|
15683
15683
|
* @see https://tailwindcss.com/docs/border-radius
|
|
15684
15684
|
*/
|
|
15685
15685
|
"rounded-e": [{
|
|
15686
|
-
"rounded-e":
|
|
15686
|
+
"rounded-e": Z()
|
|
15687
15687
|
}],
|
|
15688
15688
|
/**
|
|
15689
15689
|
* Border Radius Top
|
|
15690
15690
|
* @see https://tailwindcss.com/docs/border-radius
|
|
15691
15691
|
*/
|
|
15692
15692
|
"rounded-t": [{
|
|
15693
|
-
"rounded-t":
|
|
15693
|
+
"rounded-t": Z()
|
|
15694
15694
|
}],
|
|
15695
15695
|
/**
|
|
15696
15696
|
* Border Radius Right
|
|
15697
15697
|
* @see https://tailwindcss.com/docs/border-radius
|
|
15698
15698
|
*/
|
|
15699
15699
|
"rounded-r": [{
|
|
15700
|
-
"rounded-r":
|
|
15700
|
+
"rounded-r": Z()
|
|
15701
15701
|
}],
|
|
15702
15702
|
/**
|
|
15703
15703
|
* Border Radius Bottom
|
|
15704
15704
|
* @see https://tailwindcss.com/docs/border-radius
|
|
15705
15705
|
*/
|
|
15706
15706
|
"rounded-b": [{
|
|
15707
|
-
"rounded-b":
|
|
15707
|
+
"rounded-b": Z()
|
|
15708
15708
|
}],
|
|
15709
15709
|
/**
|
|
15710
15710
|
* Border Radius Left
|
|
15711
15711
|
* @see https://tailwindcss.com/docs/border-radius
|
|
15712
15712
|
*/
|
|
15713
15713
|
"rounded-l": [{
|
|
15714
|
-
"rounded-l":
|
|
15714
|
+
"rounded-l": Z()
|
|
15715
15715
|
}],
|
|
15716
15716
|
/**
|
|
15717
15717
|
* Border Radius Start Start
|
|
15718
15718
|
* @see https://tailwindcss.com/docs/border-radius
|
|
15719
15719
|
*/
|
|
15720
15720
|
"rounded-ss": [{
|
|
15721
|
-
"rounded-ss":
|
|
15721
|
+
"rounded-ss": Z()
|
|
15722
15722
|
}],
|
|
15723
15723
|
/**
|
|
15724
15724
|
* Border Radius Start End
|
|
15725
15725
|
* @see https://tailwindcss.com/docs/border-radius
|
|
15726
15726
|
*/
|
|
15727
15727
|
"rounded-se": [{
|
|
15728
|
-
"rounded-se":
|
|
15728
|
+
"rounded-se": Z()
|
|
15729
15729
|
}],
|
|
15730
15730
|
/**
|
|
15731
15731
|
* Border Radius End End
|
|
15732
15732
|
* @see https://tailwindcss.com/docs/border-radius
|
|
15733
15733
|
*/
|
|
15734
15734
|
"rounded-ee": [{
|
|
15735
|
-
"rounded-ee":
|
|
15735
|
+
"rounded-ee": Z()
|
|
15736
15736
|
}],
|
|
15737
15737
|
/**
|
|
15738
15738
|
* Border Radius End Start
|
|
15739
15739
|
* @see https://tailwindcss.com/docs/border-radius
|
|
15740
15740
|
*/
|
|
15741
15741
|
"rounded-es": [{
|
|
15742
|
-
"rounded-es":
|
|
15742
|
+
"rounded-es": Z()
|
|
15743
15743
|
}],
|
|
15744
15744
|
/**
|
|
15745
15745
|
* Border Radius Top Left
|
|
15746
15746
|
* @see https://tailwindcss.com/docs/border-radius
|
|
15747
15747
|
*/
|
|
15748
15748
|
"rounded-tl": [{
|
|
15749
|
-
"rounded-tl":
|
|
15749
|
+
"rounded-tl": Z()
|
|
15750
15750
|
}],
|
|
15751
15751
|
/**
|
|
15752
15752
|
* Border Radius Top Right
|
|
15753
15753
|
* @see https://tailwindcss.com/docs/border-radius
|
|
15754
15754
|
*/
|
|
15755
15755
|
"rounded-tr": [{
|
|
15756
|
-
"rounded-tr":
|
|
15756
|
+
"rounded-tr": Z()
|
|
15757
15757
|
}],
|
|
15758
15758
|
/**
|
|
15759
15759
|
* Border Radius Bottom Right
|
|
15760
15760
|
* @see https://tailwindcss.com/docs/border-radius
|
|
15761
15761
|
*/
|
|
15762
15762
|
"rounded-br": [{
|
|
15763
|
-
"rounded-br":
|
|
15763
|
+
"rounded-br": Z()
|
|
15764
15764
|
}],
|
|
15765
15765
|
/**
|
|
15766
15766
|
* Border Radius Bottom Left
|
|
15767
15767
|
* @see https://tailwindcss.com/docs/border-radius
|
|
15768
15768
|
*/
|
|
15769
15769
|
"rounded-bl": [{
|
|
15770
|
-
"rounded-bl":
|
|
15770
|
+
"rounded-bl": Z()
|
|
15771
15771
|
}],
|
|
15772
15772
|
/**
|
|
15773
15773
|
* Border Width
|
|
@@ -21957,10 +21957,10 @@ var Rr, F0, Removable = (F0 = class {
|
|
|
21957
21957
|
clearGcTimeout() {
|
|
21958
21958
|
J(this, Rr) && (timeoutManager.clearTimeout(J(this, Rr)), Te(this, Rr, void 0));
|
|
21959
21959
|
}
|
|
21960
|
-
}, Rr = new WeakMap(), F0), define_process_env_default$3 = { NODE_ENV: '"production"', version: '"1.83.
|
|
21960
|
+
}, Rr = new WeakMap(), F0), define_process_env_default$3 = { NODE_ENV: '"production"', version: '"1.83.3"' }, Ir, Ur, Jt, Mr, Ft, $r, Or, Zt, or, B0, Query = (B0 = class extends Removable {
|
|
21961
21961
|
constructor(t) {
|
|
21962
21962
|
super();
|
|
21963
|
-
Ke(this,
|
|
21963
|
+
Ke(this, Zt);
|
|
21964
21964
|
Ke(this, Ir);
|
|
21965
21965
|
Ke(this, Ur);
|
|
21966
21966
|
Ke(this, Jt);
|
|
@@ -21991,7 +21991,7 @@ var Rr, F0, Removable = (F0 = class {
|
|
|
21991
21991
|
}
|
|
21992
21992
|
setData(t, i) {
|
|
21993
21993
|
const s = replaceData(this.state.data, t, this.options);
|
|
21994
|
-
return st(this,
|
|
21994
|
+
return st(this, Zt, or).call(this, {
|
|
21995
21995
|
data: s,
|
|
21996
21996
|
type: "success",
|
|
21997
21997
|
dataUpdatedAt: i == null ? void 0 : i.updatedAt,
|
|
@@ -21999,7 +21999,7 @@ var Rr, F0, Removable = (F0 = class {
|
|
|
21999
21999
|
}), s;
|
|
22000
22000
|
}
|
|
22001
22001
|
setState(t, i) {
|
|
22002
|
-
st(this,
|
|
22002
|
+
st(this, Zt, or).call(this, { type: "setState", state: t, setStateOptions: i });
|
|
22003
22003
|
}
|
|
22004
22004
|
cancel(t) {
|
|
22005
22005
|
var s, a;
|
|
@@ -22053,7 +22053,7 @@ var Rr, F0, Removable = (F0 = class {
|
|
|
22053
22053
|
return this.observers.length;
|
|
22054
22054
|
}
|
|
22055
22055
|
invalidate() {
|
|
22056
|
-
this.state.isInvalidated || st(this,
|
|
22056
|
+
this.state.isInvalidated || st(this, Zt, or).call(this, { type: "invalidate" });
|
|
22057
22057
|
}
|
|
22058
22058
|
async fetch(t, i) {
|
|
22059
22059
|
var u, f, d, p, m, y, g, b, S, k, E, A;
|
|
@@ -22103,7 +22103,7 @@ var Rr, F0, Removable = (F0 = class {
|
|
|
22103
22103
|
};
|
|
22104
22104
|
return a(C), C;
|
|
22105
22105
|
})();
|
|
22106
|
-
(f = this.options.behavior) == null || f.onFetch(c, this), Te(this, Ur, this.state), (this.state.fetchStatus === "idle" || this.state.fetchMeta !== ((d = c.fetchOptions) == null ? void 0 : d.meta)) && st(this,
|
|
22106
|
+
(f = this.options.behavior) == null || f.onFetch(c, this), Te(this, Ur, this.state), (this.state.fetchStatus === "idle" || this.state.fetchMeta !== ((d = c.fetchOptions) == null ? void 0 : d.meta)) && st(this, Zt, or).call(this, { type: "fetch", meta: (p = c.fetchOptions) == null ? void 0 : p.meta }), Te(this, Ft, createRetryer({
|
|
22107
22107
|
initialPromise: i == null ? void 0 : i.initialPromise,
|
|
22108
22108
|
fn: c.fetchFn,
|
|
22109
22109
|
onCancel: (C) => {
|
|
@@ -22113,13 +22113,13 @@ var Rr, F0, Removable = (F0 = class {
|
|
|
22113
22113
|
}), s.abort();
|
|
22114
22114
|
},
|
|
22115
22115
|
onFail: (C, T) => {
|
|
22116
|
-
st(this,
|
|
22116
|
+
st(this, Zt, or).call(this, { type: "failed", failureCount: C, error: T });
|
|
22117
22117
|
},
|
|
22118
22118
|
onPause: () => {
|
|
22119
|
-
st(this,
|
|
22119
|
+
st(this, Zt, or).call(this, { type: "pause" });
|
|
22120
22120
|
},
|
|
22121
22121
|
onContinue: () => {
|
|
22122
|
-
st(this,
|
|
22122
|
+
st(this, Zt, or).call(this, { type: "continue" });
|
|
22123
22123
|
},
|
|
22124
22124
|
retry: c.options.retry,
|
|
22125
22125
|
retryDelay: c.options.retryDelay,
|
|
@@ -22148,7 +22148,7 @@ var Rr, F0, Removable = (F0 = class {
|
|
|
22148
22148
|
return this.state.data;
|
|
22149
22149
|
}
|
|
22150
22150
|
}
|
|
22151
|
-
throw st(this,
|
|
22151
|
+
throw st(this, Zt, or).call(this, {
|
|
22152
22152
|
type: "error",
|
|
22153
22153
|
error: C
|
|
22154
22154
|
}), (k = (S = J(this, Jt).config).onError) == null || k.call(
|
|
@@ -22165,7 +22165,7 @@ var Rr, F0, Removable = (F0 = class {
|
|
|
22165
22165
|
this.scheduleGc();
|
|
22166
22166
|
}
|
|
22167
22167
|
}
|
|
22168
|
-
}, Ir = new WeakMap(), Ur = new WeakMap(), Jt = new WeakMap(), Mr = new WeakMap(), Ft = new WeakMap(), $r = new WeakMap(), Or = new WeakMap(),
|
|
22168
|
+
}, Ir = new WeakMap(), Ur = new WeakMap(), Jt = new WeakMap(), Mr = new WeakMap(), Ft = new WeakMap(), $r = new WeakMap(), Or = new WeakMap(), Zt = new WeakSet(), or = function(t) {
|
|
22169
22169
|
const i = (s) => {
|
|
22170
22170
|
switch (t.type) {
|
|
22171
22171
|
case "failed":
|
|
@@ -22376,8 +22376,8 @@ var qt, ft, e0, Gt, Nr, Vr, lr, gr, t0, zr, qr, Lr, Dr, vr, Hr, xt, _r, k0, A0,
|
|
|
22376
22376
|
const s = J(this, ft), a = this.options, o = J(this, Gt), l = J(this, Nr), c = J(this, Vr), f = t !== s ? t.state : J(this, e0), { state: d } = t;
|
|
22377
22377
|
let p = { ...d }, m = !1, y;
|
|
22378
22378
|
if (i._optimisticResults) {
|
|
22379
|
-
const z = this.hasListeners(), Q = !z && shouldFetchOnMount(t, i),
|
|
22380
|
-
(Q ||
|
|
22379
|
+
const z = this.hasListeners(), Q = !z && shouldFetchOnMount(t, i), X = z && shouldFetchOptionally(t, s, i, a);
|
|
22380
|
+
(Q || X) && (p = {
|
|
22381
22381
|
...p,
|
|
22382
22382
|
...fetchState(d.data, t.options)
|
|
22383
22383
|
}), i._optimisticResults === "isRestoring" && (p.fetchStatus = "idle");
|
|
@@ -22440,16 +22440,16 @@ var qt, ft, e0, Gt, Nr, Vr, lr, gr, t0, zr, qr, Lr, Dr, vr, Hr, xt, _r, k0, A0,
|
|
|
22440
22440
|
}, Q = () => {
|
|
22441
22441
|
const ee = Te(this, lr, M.promise = pendingThenable());
|
|
22442
22442
|
z(ee);
|
|
22443
|
-
},
|
|
22444
|
-
switch (
|
|
22443
|
+
}, X = J(this, lr);
|
|
22444
|
+
switch (X.status) {
|
|
22445
22445
|
case "pending":
|
|
22446
|
-
t.queryHash === s.queryHash && z(
|
|
22446
|
+
t.queryHash === s.queryHash && z(X);
|
|
22447
22447
|
break;
|
|
22448
22448
|
case "fulfilled":
|
|
22449
|
-
(M.status === "error" || M.data !==
|
|
22449
|
+
(M.status === "error" || M.data !== X.value) && Q();
|
|
22450
22450
|
break;
|
|
22451
22451
|
case "rejected":
|
|
22452
|
-
(M.status !== "error" || M.error !==
|
|
22452
|
+
(M.status !== "error" || M.error !== X.reason) && Q();
|
|
22453
22453
|
break;
|
|
22454
22454
|
}
|
|
22455
22455
|
}
|
|
@@ -24395,7 +24395,7 @@ function requireLottie() {
|
|
|
24395
24395
|
s || (s = l(function(y) {
|
|
24396
24396
|
function g() {
|
|
24397
24397
|
function S(F, L) {
|
|
24398
|
-
var D, P, O = F.length, B, U, te,
|
|
24398
|
+
var D, P, O = F.length, B, U, te, Z;
|
|
24399
24399
|
for (P = 0; P < O; P += 1)
|
|
24400
24400
|
if (D = F[P], "ks" in D && !D.completed) {
|
|
24401
24401
|
if (D.completed = !0, D.hasMask) {
|
|
@@ -24404,7 +24404,7 @@ function requireLottie() {
|
|
|
24404
24404
|
if (re[B].pt.k.i)
|
|
24405
24405
|
T(re[B].pt.k);
|
|
24406
24406
|
else
|
|
24407
|
-
for (
|
|
24407
|
+
for (Z = re[B].pt.k.length, te = 0; te < Z; te += 1)
|
|
24408
24408
|
re[B].pt.k[te].s && T(re[B].pt.k[te].s[0]), re[B].pt.k[te].e && T(re[B].pt.k[te].e[0]);
|
|
24409
24409
|
}
|
|
24410
24410
|
D.ty === 0 ? (D.layers = A(D.refId, L), S(D.layers, L)) : D.ty === 4 ? C(D.shapes) : D.ty === 5 && ee(D);
|
|
@@ -24603,11 +24603,11 @@ function requireLottie() {
|
|
|
24603
24603
|
else P[O].ty === "gr" && L(P[O].it);
|
|
24604
24604
|
}
|
|
24605
24605
|
function D(P) {
|
|
24606
|
-
var O, B, U = P.length, te,
|
|
24606
|
+
var O, B, U = P.length, te, Z, re, se;
|
|
24607
24607
|
for (B = 0; B < U; B += 1) {
|
|
24608
24608
|
if (O = P[B], O.hasMask) {
|
|
24609
24609
|
var ce = O.masksProperties;
|
|
24610
|
-
for (
|
|
24610
|
+
for (Z = ce.length, te = 0; te < Z; te += 1)
|
|
24611
24611
|
if (ce[te].pt.k.i)
|
|
24612
24612
|
ce[te].pt.k.c = ce[te].cl;
|
|
24613
24613
|
else
|
|
@@ -24625,14 +24625,14 @@ function requireLottie() {
|
|
|
24625
24625
|
}
|
|
24626
24626
|
};
|
|
24627
24627
|
}();
|
|
24628
|
-
function
|
|
24628
|
+
function X(F) {
|
|
24629
24629
|
F.__complete || (z(F), N(F), M(F), j(F), Q(F), S(F.layers, F.assets), k(F.chars, F.assets), F.__complete = !0);
|
|
24630
24630
|
}
|
|
24631
24631
|
function ee(F) {
|
|
24632
24632
|
F.t.a.length === 0 && "m" in F.t.p;
|
|
24633
24633
|
}
|
|
24634
24634
|
var H = {};
|
|
24635
|
-
return H.completeData =
|
|
24635
|
+
return H.completeData = X, H.checkColors = z, H.checkChars = M, H.checkPathProperties = j, H.checkShapes = Q, H.completeLayers = S, H;
|
|
24636
24636
|
}
|
|
24637
24637
|
if (o.dataManager || (o.dataManager = g()), o.assetLoader || (o.assetLoader = /* @__PURE__ */ function() {
|
|
24638
24638
|
function S(E) {
|
|
@@ -25275,8 +25275,8 @@ function requireLottie() {
|
|
|
25275
25275
|
P || (P = "svg");
|
|
25276
25276
|
var te = document.getElementsByTagName("body")[0];
|
|
25277
25277
|
te.innerText = "";
|
|
25278
|
-
var
|
|
25279
|
-
|
|
25278
|
+
var Z = createTag("div");
|
|
25279
|
+
Z.style.width = "100%", Z.style.height = "100%", Z.setAttribute("data-bm-type", P), te.appendChild(Z), u(Z, L);
|
|
25280
25280
|
}
|
|
25281
25281
|
}
|
|
25282
25282
|
function j() {
|
|
@@ -25290,7 +25290,7 @@ function requireLottie() {
|
|
|
25290
25290
|
function Q() {
|
|
25291
25291
|
l = !0;
|
|
25292
25292
|
}
|
|
25293
|
-
function
|
|
25293
|
+
function X() {
|
|
25294
25294
|
l = !1, z();
|
|
25295
25295
|
}
|
|
25296
25296
|
function ee(L, D) {
|
|
@@ -25308,7 +25308,7 @@ function requireLottie() {
|
|
|
25308
25308
|
for (D = 0; D < s; D += 1)
|
|
25309
25309
|
t[D].animation.unmute(L);
|
|
25310
25310
|
}
|
|
25311
|
-
return e.registerAnimation = u, e.loadAnimation = y, e.setSpeed = g, e.setDirection = b, e.play = S, e.pause = A, e.stop = T, e.togglePause = I, e.searchAnimations = M, e.resize = j, e.goToAndStop = C, e.destroy = N, e.freeze = Q, e.unfreeze =
|
|
25311
|
+
return e.registerAnimation = u, e.loadAnimation = y, e.setSpeed = g, e.setDirection = b, e.play = S, e.pause = A, e.stop = T, e.togglePause = I, e.searchAnimations = M, e.resize = j, e.goToAndStop = C, e.destroy = N, e.freeze = Q, e.unfreeze = X, e.setVolume = ee, e.mute = H, e.unmute = F, e.getRegisteredAnimations = f, e;
|
|
25312
25312
|
}(), BezierFactory = function() {
|
|
25313
25313
|
var e = {};
|
|
25314
25314
|
e.getBezierEasing = i;
|
|
@@ -25376,8 +25376,8 @@ function requireLottie() {
|
|
|
25376
25376
|
for (var C = this._p[0], T = this._p[2], I = this._mSampleValues, N = 0, M = 1, j = c - 1; M !== j && I[M] <= A; ++M)
|
|
25377
25377
|
N += u;
|
|
25378
25378
|
--M;
|
|
25379
|
-
var z = (A - I[M]) / (I[M + 1] - I[M]), Q = N + z * u,
|
|
25380
|
-
return
|
|
25379
|
+
var z = (A - I[M]) / (I[M + 1] - I[M]), Q = N + z * u, X = g(Q, C, T);
|
|
25380
|
+
return X >= a ? S(A, Q, C, T) : X === 0 ? Q : b(A, N, N + u, C, T);
|
|
25381
25381
|
}
|
|
25382
25382
|
}, e;
|
|
25383
25383
|
}(), pooling = /* @__PURE__ */ function() {
|
|
@@ -25468,13 +25468,13 @@ function requireLottie() {
|
|
|
25468
25468
|
if (!m[k]) {
|
|
25469
25469
|
var E = getDefaultCurveSegments(), A, C, T, I, N, M = 0, j, z, Q = null;
|
|
25470
25470
|
y.length === 2 && (y[0] !== g[0] || y[1] !== g[1]) && t(y[0], y[1], g[0], g[1], y[0] + b[0], y[1] + b[1]) && t(y[0], y[1], g[0], g[1], g[0] + S[0], g[1] + S[1]) && (E = 2);
|
|
25471
|
-
var
|
|
25471
|
+
var X = new o(E);
|
|
25472
25472
|
for (T = b.length, A = 0; A < E; A += 1) {
|
|
25473
25473
|
for (z = createSizedArray(T), N = A / (E - 1), j = 0, C = 0; C < T; C += 1)
|
|
25474
25474
|
I = bmPow(1 - N, 3) * y[C] + 3 * bmPow(1 - N, 2) * N * (y[C] + b[C]) + 3 * (1 - N) * bmPow(N, 2) * (g[C] + S[C]) + bmPow(N, 3) * g[C], z[C] = I, Q !== null && (j += bmPow(z[C] - Q[C], 2));
|
|
25475
|
-
j = bmSqrt(j), M += j,
|
|
25475
|
+
j = bmSqrt(j), M += j, X.points[A] = new l(j, z), Q = z;
|
|
25476
25476
|
}
|
|
25477
|
-
|
|
25477
|
+
X.segmentLength = M, m[k] = X;
|
|
25478
25478
|
}
|
|
25479
25479
|
return m[k];
|
|
25480
25480
|
};
|
|
@@ -25500,9 +25500,9 @@ function requireLottie() {
|
|
|
25500
25500
|
S < 0 ? S = 0 : S > 1 && (S = 1);
|
|
25501
25501
|
var A = u(S, E);
|
|
25502
25502
|
k = k > 1 ? 1 : k;
|
|
25503
|
-
var C = u(k, E), T, I = m.length, N = 1 - A, M = 1 - C, j = N * N * N, z = A * N * N * 3, Q = A * A * N * 3,
|
|
25503
|
+
var C = u(k, E), T, I = m.length, N = 1 - A, M = 1 - C, j = N * N * N, z = A * N * N * 3, Q = A * A * N * 3, X = A * A * A, ee = N * N * M, H = A * N * M + N * A * M + N * N * C, F = A * A * M + N * A * C + A * N * C, L = A * A * C, D = N * M * M, P = A * M * M + N * C * M + N * M * C, O = A * C * M + N * C * C + A * M * C, B = A * C * C, U = M * M * M, te = C * M * M + M * C * M + M * M * C, Z = C * C * M + M * C * C + C * M * C, re = C * C * C;
|
|
25504
25504
|
for (T = 0; T < I; T += 1)
|
|
25505
|
-
d[T * 4] = e.round((j * m[T] + z * g[T] + Q * b[T] +
|
|
25505
|
+
d[T * 4] = e.round((j * m[T] + z * g[T] + Q * b[T] + X * y[T]) * 1e3) / 1e3, d[T * 4 + 1] = e.round((ee * m[T] + H * g[T] + F * b[T] + L * y[T]) * 1e3) / 1e3, d[T * 4 + 2] = e.round((D * m[T] + P * g[T] + O * b[T] + B * y[T]) * 1e3) / 1e3, d[T * 4 + 3] = e.round((U * m[T] + te * g[T] + Z * b[T] + re * y[T]) * 1e3) / 1e3;
|
|
25506
25506
|
return d;
|
|
25507
25507
|
}
|
|
25508
25508
|
return {
|
|
@@ -25556,7 +25556,7 @@ function requireLottie() {
|
|
|
25556
25556
|
t._lastPoint = b, t._lastAddedLength = M - C.points[b].partialLength, t._lastKeyframeIndex = o;
|
|
25557
25557
|
}
|
|
25558
25558
|
} else {
|
|
25559
|
-
var j, z, Q,
|
|
25559
|
+
var j, z, Q, X, ee;
|
|
25560
25560
|
if (l = u.s.length, A = f.s || u.e, this.sh && u.h !== 1)
|
|
25561
25561
|
if (e >= k)
|
|
25562
25562
|
s[0] = A[0], s[1] = A[1], s[2] = A[2];
|
|
@@ -25568,7 +25568,7 @@ function requireLottie() {
|
|
|
25568
25568
|
}
|
|
25569
25569
|
else
|
|
25570
25570
|
for (o = 0; o < l; o += 1)
|
|
25571
|
-
u.h !== 1 && (e >= k ? y = 1 : e < E ? y = 0 : (u.o.x.constructor === Array ? (d.__fnct || (d.__fnct = []), d.__fnct[o] ? S = d.__fnct[o] : (j = u.o.x[o] === void 0 ? u.o.x[0] : u.o.x[o], z = u.o.y[o] === void 0 ? u.o.y[0] : u.o.y[o], Q = u.i.x[o] === void 0 ? u.i.x[0] : u.i.x[o],
|
|
25571
|
+
u.h !== 1 && (e >= k ? y = 1 : e < E ? y = 0 : (u.o.x.constructor === Array ? (d.__fnct || (d.__fnct = []), d.__fnct[o] ? S = d.__fnct[o] : (j = u.o.x[o] === void 0 ? u.o.x[0] : u.o.x[o], z = u.o.y[o] === void 0 ? u.o.y[0] : u.o.y[o], Q = u.i.x[o] === void 0 ? u.i.x[0] : u.i.x[o], X = u.i.y[o] === void 0 ? u.i.y[0] : u.i.y[o], S = BezierFactory.getBezierEasing(j, z, Q, X).get, d.__fnct[o] = S)) : d.__fnct ? S = d.__fnct : (j = u.o.x, z = u.o.y, Q = u.i.x, X = u.i.y, S = BezierFactory.getBezierEasing(j, z, Q, X).get, u.keyframeMetadata = S), y = S((e - E) / (k - E)))), A = f.s || u.e, ee = u.h === 1 ? u.s[o] : u.s[o] + (A[o] - u.s[o]) * y, this.propType === "multidimensional" ? s[o] = ee : s = ee;
|
|
25572
25572
|
}
|
|
25573
25573
|
return t.lastIndex = a, s;
|
|
25574
25574
|
}
|
|
@@ -25789,7 +25789,7 @@ function requireLottie() {
|
|
|
25789
25789
|
}(), ShapePropertyFactory = function() {
|
|
25790
25790
|
var e = -999999;
|
|
25791
25791
|
function t(k, E, A) {
|
|
25792
|
-
var C = A.lastIndex, T, I, N, M, j, z, Q,
|
|
25792
|
+
var C = A.lastIndex, T, I, N, M, j, z, Q, X, ee, H = this.keyframes;
|
|
25793
25793
|
if (k < H[0].t - this.offsetTime)
|
|
25794
25794
|
T = H[0].s[0], N = !0, C = 0;
|
|
25795
25795
|
else if (k >= H[H.length - 1].t - this.offsetTime)
|
|
@@ -25799,12 +25799,12 @@ function requireLottie() {
|
|
|
25799
25799
|
F < L - 1 ? F += 1 : D = !1;
|
|
25800
25800
|
if (B = this.keyframesMetadata[F] || {}, N = P.h === 1, C = F, !N) {
|
|
25801
25801
|
if (k >= O.t - this.offsetTime)
|
|
25802
|
-
|
|
25802
|
+
X = 1;
|
|
25803
25803
|
else if (k < P.t - this.offsetTime)
|
|
25804
|
-
|
|
25804
|
+
X = 0;
|
|
25805
25805
|
else {
|
|
25806
25806
|
var U;
|
|
25807
|
-
B.__fnct ? U = B.__fnct : (U = BezierFactory.getBezierEasing(P.o.x, P.o.y, P.i.x, P.i.y).get, B.__fnct = U),
|
|
25807
|
+
B.__fnct ? U = B.__fnct : (U = BezierFactory.getBezierEasing(P.o.x, P.o.y, P.i.x, P.i.y).get, B.__fnct = U), X = U((k - (P.t - this.offsetTime)) / (O.t - this.offsetTime - (P.t - this.offsetTime)));
|
|
25808
25808
|
}
|
|
25809
25809
|
I = O.s ? O.s[0] : P.e[0];
|
|
25810
25810
|
}
|
|
@@ -25812,7 +25812,7 @@ function requireLottie() {
|
|
|
25812
25812
|
}
|
|
25813
25813
|
for (z = E._length, Q = T.i[0].length, A.lastIndex = C, M = 0; M < z; M += 1)
|
|
25814
25814
|
for (j = 0; j < Q; j += 1)
|
|
25815
|
-
ee = N ? T.i[M][j] : T.i[M][j] + (I.i[M][j] - T.i[M][j]) *
|
|
25815
|
+
ee = N ? T.i[M][j] : T.i[M][j] + (I.i[M][j] - T.i[M][j]) * X, E.i[M][j] = ee, ee = N ? T.o[M][j] : T.o[M][j] + (I.o[M][j] - T.o[M][j]) * X, E.o[M][j] = ee, ee = N ? T.v[M][j] : T.v[M][j] + (I.v[M][j] - T.v[M][j]) * X, E.v[M][j] = ee;
|
|
25816
25816
|
}
|
|
25817
25817
|
function i() {
|
|
25818
25818
|
var k = this.comp.renderedFrame - this.offsetTime, E = this.keyframes[0].t - this.offsetTime, A = this.keyframes[this.keyframes.length - 1].t - this.offsetTime, C = this._caching.lastFrame;
|
|
@@ -25895,20 +25895,20 @@ function requireLottie() {
|
|
|
25895
25895
|
this.elem.globalData.frameId !== this.frameId && (this.frameId = this.elem.globalData.frameId, this.iterateDynamicProperties(), this._mdf && this.convertToPath());
|
|
25896
25896
|
},
|
|
25897
25897
|
convertStarToPath: function() {
|
|
25898
|
-
var A = Math.floor(this.pt.v) * 2, C = Math.PI * 2 / A, T = !0, I = this.or.v, N = this.ir.v, M = this.os.v, j = this.is.v, z = 2 * Math.PI * I / (A * 2), Q = 2 * Math.PI * N / (A * 2),
|
|
25898
|
+
var A = Math.floor(this.pt.v) * 2, C = Math.PI * 2 / A, T = !0, I = this.or.v, N = this.ir.v, M = this.os.v, j = this.is.v, z = 2 * Math.PI * I / (A * 2), Q = 2 * Math.PI * N / (A * 2), X, ee, H, F, L = -Math.PI / 2;
|
|
25899
25899
|
L += this.r.v;
|
|
25900
25900
|
var D = this.data.d === 3 ? -1 : 1;
|
|
25901
|
-
for (this.v._length = 0,
|
|
25901
|
+
for (this.v._length = 0, X = 0; X < A; X += 1) {
|
|
25902
25902
|
ee = T ? I : N, H = T ? M : j, F = T ? z : Q;
|
|
25903
25903
|
var P = ee * Math.cos(L), O = ee * Math.sin(L), B = P === 0 && O === 0 ? 0 : O / Math.sqrt(P * P + O * O), U = P === 0 && O === 0 ? 0 : -P / Math.sqrt(P * P + O * O);
|
|
25904
|
-
P += +this.p.v[0], O += +this.p.v[1], this.v.setTripleAt(P, O, P - B * F * H * D, O - U * F * H * D, P + B * F * H * D, O + U * F * H * D,
|
|
25904
|
+
P += +this.p.v[0], O += +this.p.v[1], this.v.setTripleAt(P, O, P - B * F * H * D, O - U * F * H * D, P + B * F * H * D, O + U * F * H * D, X, !0), T = !T, L += C * D;
|
|
25905
25905
|
}
|
|
25906
25906
|
},
|
|
25907
25907
|
convertPolygonToPath: function() {
|
|
25908
25908
|
var A = Math.floor(this.pt.v), C = Math.PI * 2 / A, T = this.or.v, I = this.os.v, N = 2 * Math.PI * T / (A * 4), M, j = -Math.PI * 0.5, z = this.data.d === 3 ? -1 : 1;
|
|
25909
25909
|
for (j += this.r.v, this.v._length = 0, M = 0; M < A; M += 1) {
|
|
25910
|
-
var Q = T * Math.cos(j),
|
|
25911
|
-
Q += +this.p.v[0],
|
|
25910
|
+
var Q = T * Math.cos(j), X = T * Math.sin(j), ee = Q === 0 && X === 0 ? 0 : X / Math.sqrt(Q * Q + X * X), H = Q === 0 && X === 0 ? 0 : -Q / Math.sqrt(Q * Q + X * X);
|
|
25911
|
+
Q += +this.p.v[0], X += +this.p.v[1], this.v.setTripleAt(Q, X, Q - ee * N * I * z, X - H * N * I * z, Q + ee * N * I * z, X + H * N * I * z, M, !0), j += C * z;
|
|
25912
25912
|
}
|
|
25913
25913
|
this.paths.length = 0, this.paths[0] = this.v;
|
|
25914
25914
|
}
|
|
@@ -25995,18 +25995,18 @@ function requireLottie() {
|
|
|
25995
25995
|
function m(P, O, B) {
|
|
25996
25996
|
return !B && B !== 0 && (B = 1), P === 1 && O === 1 && B === 1 ? this : this._t(P, 0, 0, 0, 0, O, 0, 0, 0, 0, B, 0, 0, 0, 0, 1);
|
|
25997
25997
|
}
|
|
25998
|
-
function y(P, O, B, U, te,
|
|
25999
|
-
return this.props[0] = P, this.props[1] = O, this.props[2] = B, this.props[3] = U, this.props[4] = te, this.props[5] =
|
|
25998
|
+
function y(P, O, B, U, te, Z, re, se, ce, oe, K, ie, le, ne, he, fe) {
|
|
25999
|
+
return this.props[0] = P, this.props[1] = O, this.props[2] = B, this.props[3] = U, this.props[4] = te, this.props[5] = Z, this.props[6] = re, this.props[7] = se, this.props[8] = ce, this.props[9] = oe, this.props[10] = K, this.props[11] = ie, this.props[12] = le, this.props[13] = ne, this.props[14] = he, this.props[15] = fe, this;
|
|
26000
26000
|
}
|
|
26001
26001
|
function g(P, O, B) {
|
|
26002
26002
|
return B = B || 0, P !== 0 || O !== 0 || B !== 0 ? this._t(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, P, O, B, 1) : this;
|
|
26003
26003
|
}
|
|
26004
|
-
function b(P, O, B, U, te,
|
|
26004
|
+
function b(P, O, B, U, te, Z, re, se, ce, oe, K, ie, le, ne, he, fe) {
|
|
26005
26005
|
var ue = this.props;
|
|
26006
|
-
if (P === 1 && O === 0 && B === 0 && U === 0 && te === 0 &&
|
|
26007
|
-
return ue[12] = ue[12] * P + ue[15] * le, ue[13] = ue[13] *
|
|
26008
|
-
var Ee = ue[0], Ce = ue[1], Oe = ue[2], We = ue[3], ye = ue[4], we = ue[5], Ge = ue[6], Fe = ue[7], Pe = ue[8], Ve = ue[9], Qe = ue[10],
|
|
26009
|
-
return ue[0] = Ee * P + Ce * te + Oe * ce + We * le, ue[1] = Ee * O + Ce *
|
|
26006
|
+
if (P === 1 && O === 0 && B === 0 && U === 0 && te === 0 && Z === 1 && re === 0 && se === 0 && ce === 0 && oe === 0 && K === 1 && ie === 0)
|
|
26007
|
+
return ue[12] = ue[12] * P + ue[15] * le, ue[13] = ue[13] * Z + ue[15] * ne, ue[14] = ue[14] * K + ue[15] * he, ue[15] *= fe, this._identityCalculated = !1, this;
|
|
26008
|
+
var Ee = ue[0], Ce = ue[1], Oe = ue[2], We = ue[3], ye = ue[4], we = ue[5], Ge = ue[6], Fe = ue[7], Pe = ue[8], Ve = ue[9], Qe = ue[10], Xe = ue[11], yt = ue[12], _e = ue[13], ct = ue[14], nt = ue[15];
|
|
26009
|
+
return ue[0] = Ee * P + Ce * te + Oe * ce + We * le, ue[1] = Ee * O + Ce * Z + Oe * oe + We * ne, ue[2] = Ee * B + Ce * re + Oe * K + We * he, ue[3] = Ee * U + Ce * se + Oe * ie + We * fe, ue[4] = ye * P + we * te + Ge * ce + Fe * le, ue[5] = ye * O + we * Z + Ge * oe + Fe * ne, ue[6] = ye * B + we * re + Ge * K + Fe * he, ue[7] = ye * U + we * se + Ge * ie + Fe * fe, ue[8] = Pe * P + Ve * te + Qe * ce + Xe * le, ue[9] = Pe * O + Ve * Z + Qe * oe + Xe * ne, ue[10] = Pe * B + Ve * re + Qe * K + Xe * he, ue[11] = Pe * U + Ve * se + Qe * ie + Xe * fe, ue[12] = yt * P + _e * te + ct * ce + nt * le, ue[13] = yt * O + _e * Z + ct * oe + nt * ne, ue[14] = yt * B + _e * re + ct * K + nt * he, ue[15] = yt * U + _e * se + ct * ie + nt * fe, this._identityCalculated = !1, this;
|
|
26010
26010
|
}
|
|
26011
26011
|
function S(P) {
|
|
26012
26012
|
var O = P.props;
|
|
@@ -26051,8 +26051,8 @@ function requireLottie() {
|
|
|
26051
26051
|
return P * this.props[2] + O * this.props[6] + B * this.props[10] + this.props[14];
|
|
26052
26052
|
}
|
|
26053
26053
|
function j() {
|
|
26054
|
-
var P = this.props[0] * this.props[5] - this.props[1] * this.props[4], O = this.props[5] / P, B = -this.props[1] / P, U = -this.props[4] / P, te = this.props[0] / P,
|
|
26055
|
-
return se.props[0] = O, se.props[1] = B, se.props[4] = U, se.props[5] = te, se.props[12] =
|
|
26054
|
+
var P = this.props[0] * this.props[5] - this.props[1] * this.props[4], O = this.props[5] / P, B = -this.props[1] / P, U = -this.props[4] / P, te = this.props[0] / P, Z = (this.props[4] * this.props[13] - this.props[5] * this.props[12]) / P, re = -(this.props[0] * this.props[13] - this.props[1] * this.props[12]) / P, se = new Matrix();
|
|
26055
|
+
return se.props[0] = O, se.props[1] = B, se.props[4] = U, se.props[5] = te, se.props[12] = Z, se.props[13] = re, se;
|
|
26056
26056
|
}
|
|
26057
26057
|
function z(P) {
|
|
26058
26058
|
var O = this.getInverseMatrix();
|
|
@@ -26064,13 +26064,13 @@ function requireLottie() {
|
|
|
26064
26064
|
U[O] = z(P[O]);
|
|
26065
26065
|
return U;
|
|
26066
26066
|
}
|
|
26067
|
-
function
|
|
26067
|
+
function X(P, O, B) {
|
|
26068
26068
|
var U = createTypedArray("float32", 6);
|
|
26069
26069
|
if (this.isIdentity())
|
|
26070
26070
|
U[0] = P[0], U[1] = P[1], U[2] = O[0], U[3] = O[1], U[4] = B[0], U[5] = B[1];
|
|
26071
26071
|
else {
|
|
26072
|
-
var te = this.props[0],
|
|
26073
|
-
U[0] = P[0] * te + P[1] * re + ce, U[1] = P[0] *
|
|
26072
|
+
var te = this.props[0], Z = this.props[1], re = this.props[4], se = this.props[5], ce = this.props[12], oe = this.props[13];
|
|
26073
|
+
U[0] = P[0] * te + P[1] * re + ce, U[1] = P[0] * Z + P[1] * se + oe, U[2] = O[0] * te + O[1] * re + ce, U[3] = O[0] * Z + O[1] * se + oe, U[4] = B[0] * te + B[1] * re + ce, U[5] = B[0] * Z + B[1] * se + oe;
|
|
26074
26074
|
}
|
|
26075
26075
|
return U;
|
|
26076
26076
|
}
|
|
@@ -26094,11 +26094,11 @@ function requireLottie() {
|
|
|
26094
26094
|
return P < 1e-6 && P > 0 || P > -1e-6 && P < 0 ? s(P * O) / O : P;
|
|
26095
26095
|
}
|
|
26096
26096
|
function D() {
|
|
26097
|
-
var P = this.props, O = L(P[0]), B = L(P[1]), U = L(P[4]), te = L(P[5]),
|
|
26098
|
-
return "matrix(" + O + "," + B + "," + U + "," + te + "," +
|
|
26097
|
+
var P = this.props, O = L(P[0]), B = L(P[1]), U = L(P[4]), te = L(P[5]), Z = L(P[12]), re = L(P[13]);
|
|
26098
|
+
return "matrix(" + O + "," + B + "," + U + "," + te + "," + Z + "," + re + ")";
|
|
26099
26099
|
}
|
|
26100
26100
|
return function() {
|
|
26101
|
-
this.reset = a, this.rotate = o, this.rotateX = l, this.rotateY = c, this.rotateZ = u, this.skew = d, this.skewFromAxis = p, this.shear = f, this.scale = m, this.setTransform = y, this.translate = g, this.transform = b, this.multiply = S, this.applyToPoint = T, this.applyToX = I, this.applyToY = N, this.applyToZ = M, this.applyToPointArray = ee, this.applyToTriplePoints =
|
|
26101
|
+
this.reset = a, this.rotate = o, this.rotateX = l, this.rotateY = c, this.rotateZ = u, this.skew = d, this.skewFromAxis = p, this.shear = f, this.scale = m, this.setTransform = y, this.translate = g, this.transform = b, this.multiply = S, this.applyToPoint = T, this.applyToX = I, this.applyToY = N, this.applyToZ = M, this.applyToPointArray = ee, this.applyToTriplePoints = X, this.applyToPointStringified = H, this.toCSS = F, this.to2dCSS = D, this.clone = A, this.cloneFromProps = C, this.equals = E, this.inversePoints = Q, this.inversePoint = z, this.getInverseMatrix = j, this._t = this.transform, this.isIdentity = k, this._identity = !0, this._identityCalculated = !1, this.props = createTypedArray("float32", 16), this.reset();
|
|
26102
26102
|
};
|
|
26103
26103
|
}();
|
|
26104
26104
|
function _typeof$3(e) {
|
|
@@ -26954,11 +26954,11 @@ function requireLottie() {
|
|
|
26954
26954
|
var te = new OffscreenCanvas(500, 500).getContext("2d");
|
|
26955
26955
|
te.font = B.style + " " + B.weight + " 100px " + L.fFamily, O = te;
|
|
26956
26956
|
}
|
|
26957
|
-
function
|
|
26957
|
+
function Z(re) {
|
|
26958
26958
|
return P === "svg" ? (O.textContent = re, O.getComputedTextLength()) : O.measureText(re).width;
|
|
26959
26959
|
}
|
|
26960
26960
|
return {
|
|
26961
|
-
measureText:
|
|
26961
|
+
measureText: Z
|
|
26962
26962
|
};
|
|
26963
26963
|
}
|
|
26964
26964
|
function S(L, D) {
|
|
@@ -26978,24 +26978,24 @@ function requireLottie() {
|
|
|
26978
26978
|
}
|
|
26979
26979
|
var P = L.list, O, B = P.length, U = B;
|
|
26980
26980
|
for (O = 0; O < B; O += 1) {
|
|
26981
|
-
var te = !0,
|
|
26981
|
+
var te = !0, Z, re;
|
|
26982
26982
|
if (P[O].loaded = !1, P[O].monoCase = y(P[O].fFamily, "monospace"), P[O].sansCase = y(P[O].fFamily, "sans-serif"), !P[O].fPath)
|
|
26983
26983
|
P[O].loaded = !0, U -= 1;
|
|
26984
26984
|
else if (P[O].fOrigin === "p" || P[O].origin === 3) {
|
|
26985
|
-
if (
|
|
26985
|
+
if (Z = document.querySelectorAll('style[f-forigin="p"][f-family="' + P[O].fFamily + '"], style[f-origin="3"][f-family="' + P[O].fFamily + '"]'), Z.length > 0 && (te = !1), te) {
|
|
26986
26986
|
var se = createTag("style");
|
|
26987
26987
|
se.setAttribute("f-forigin", P[O].fOrigin), se.setAttribute("f-origin", P[O].origin), se.setAttribute("f-family", P[O].fFamily), se.type = "text/css", se.innerText = "@font-face {font-family: " + P[O].fFamily + "; font-style: normal; src: url('" + P[O].fPath + "');}", D.appendChild(se);
|
|
26988
26988
|
}
|
|
26989
26989
|
} else if (P[O].fOrigin === "g" || P[O].origin === 1) {
|
|
26990
|
-
for (
|
|
26991
|
-
|
|
26990
|
+
for (Z = document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'), re = 0; re < Z.length; re += 1)
|
|
26991
|
+
Z[re].href.indexOf(P[O].fPath) !== -1 && (te = !1);
|
|
26992
26992
|
if (te) {
|
|
26993
26993
|
var ce = createTag("link");
|
|
26994
26994
|
ce.setAttribute("f-forigin", P[O].fOrigin), ce.setAttribute("f-origin", P[O].origin), ce.type = "text/css", ce.rel = "stylesheet", ce.href = P[O].fPath, document.body.appendChild(ce);
|
|
26995
26995
|
}
|
|
26996
26996
|
} else if (P[O].fOrigin === "t" || P[O].origin === 2) {
|
|
26997
|
-
for (
|
|
26998
|
-
P[O].fPath ===
|
|
26997
|
+
for (Z = document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'), re = 0; re < Z.length; re += 1)
|
|
26998
|
+
P[O].fPath === Z[re].src && (te = !1);
|
|
26999
26999
|
if (te) {
|
|
27000
27000
|
var oe = createTag("link");
|
|
27001
27001
|
oe.setAttribute("f-forigin", P[O].fOrigin), oe.setAttribute("f-origin", P[O].origin), oe.setAttribute("rel", "stylesheet"), oe.setAttribute("href", P[O].fPath), D.appendChild(oe);
|
|
@@ -27029,8 +27029,8 @@ function requireLottie() {
|
|
|
27029
27029
|
if (!O.cache[B]) {
|
|
27030
27030
|
var U = O.helper;
|
|
27031
27031
|
if (L === " ") {
|
|
27032
|
-
var te = U.measureText("|" + L + "|"),
|
|
27033
|
-
O.cache[B] = (te -
|
|
27032
|
+
var te = U.measureText("|" + L + "|"), Z = U.measureText("||");
|
|
27033
|
+
O.cache[B] = (te - Z) / 100;
|
|
27034
27034
|
} else
|
|
27035
27035
|
O.cache[B] = U.measureText(L) / 100;
|
|
27036
27036
|
}
|
|
@@ -27072,7 +27072,7 @@ function requireLottie() {
|
|
|
27072
27072
|
function Q(L) {
|
|
27073
27073
|
return i.indexOf(L) !== -1;
|
|
27074
27074
|
}
|
|
27075
|
-
function
|
|
27075
|
+
function X(L, D) {
|
|
27076
27076
|
var P = T(L.substr(D, 2));
|
|
27077
27077
|
if (P !== s)
|
|
27078
27078
|
return !1;
|
|
@@ -27090,7 +27090,7 @@ function requireLottie() {
|
|
|
27090
27090
|
var H = function() {
|
|
27091
27091
|
this.fonts = [], this.chars = null, this.typekitLoaded = 0, this.isLoaded = !1, this._warned = !1, this.initTime = Date.now(), this.setIsLoadedBinded = this.setIsLoaded.bind(this), this.checkLoadedFontsBinded = this.checkLoadedFonts.bind(this);
|
|
27092
27092
|
};
|
|
27093
|
-
H.isModifier = I, H.isZeroWidthJoiner = N, H.isFlagEmoji = z, H.isRegionalCode = j, H.isCombinedCharacter = Q, H.isRegionalFlag =
|
|
27093
|
+
H.isModifier = I, H.isZeroWidthJoiner = N, H.isFlagEmoji = z, H.isRegionalCode = j, H.isCombinedCharacter = Q, H.isRegionalFlag = X, H.isVariationSelector = M, H.BLACK_FLAG_CODE_POINT = s;
|
|
27094
27094
|
var F = {
|
|
27095
27095
|
addChars: k,
|
|
27096
27096
|
addFonts: S,
|
|
@@ -28104,9 +28104,9 @@ function requireLottie() {
|
|
|
28104
28104
|
var Q;
|
|
28105
28105
|
if ((m.s._mdf || m.e._mdf || y) && (Q = Math.sqrt(Math.pow(S[0] - k[0], 2) + Math.pow(S[1] - k[1], 2)), g.setAttribute("r", Q), b && !m.g._collapsable && m.of.setAttribute("r", Q)), m.s._mdf || m.e._mdf || m.h._mdf || m.a._mdf || y) {
|
|
28106
28106
|
Q || (Q = Math.sqrt(Math.pow(S[0] - k[0], 2) + Math.pow(S[1] - k[1], 2)));
|
|
28107
|
-
var
|
|
28107
|
+
var X = Math.atan2(k[1] - S[1], k[0] - S[0]), ee = m.h.v;
|
|
28108
28108
|
ee >= 1 ? ee = 0.99 : ee <= -1 && (ee = -0.99);
|
|
28109
|
-
var H = Q * ee, F = Math.cos(
|
|
28109
|
+
var H = Q * ee, F = Math.cos(X + m.a.v) * H + S[0], L = Math.sin(X + m.a.v) * H + S[1];
|
|
28110
28110
|
g.setAttribute("fx", F), g.setAttribute("fy", L), b && !m.g._collapsable && (m.of.setAttribute("fx", F), m.of.setAttribute("fy", L));
|
|
28111
28111
|
}
|
|
28112
28112
|
}
|
|
@@ -28300,12 +28300,12 @@ function requireLottie() {
|
|
|
28300
28300
|
e.fWeight = T.weight, e.fStyle = T.style, e.finalSize = e.s, e.finalText = this.buildFinalText(e.t), o = e.finalText.length, e.finalLineHeight = e.lh;
|
|
28301
28301
|
var I = e.tr / 1e3 * e.finalSize, N;
|
|
28302
28302
|
if (e.sz)
|
|
28303
|
-
for (var M = !0, j = e.sz[0], z = e.sz[1], Q,
|
|
28304
|
-
|
|
28303
|
+
for (var M = !0, j = e.sz[0], z = e.sz[1], Q, X; M; ) {
|
|
28304
|
+
X = this.buildFinalText(e.t), Q = 0, g = 0, o = X.length, I = e.tr / 1e3 * e.finalSize;
|
|
28305
28305
|
var ee = -1;
|
|
28306
28306
|
for (a = 0; a < o; a += 1)
|
|
28307
|
-
N =
|
|
28308
|
-
Q += E.ascent * e.finalSize / 100, this.canResize && e.finalSize > this.minimumFontSize && z < Q ? (e.finalSize -= 1, e.finalLineHeight = e.finalSize * e.lh / e.s) : (e.finalText =
|
|
28307
|
+
N = X[a].charCodeAt(0), l = !1, X[a] === " " ? ee = a : (N === 13 || N === 3) && (g = 0, l = !0, Q += e.finalLineHeight || e.finalSize * 1.2), t.chars ? (A = t.getCharData(X[a], E.fStyle, E.fFamily), C = l ? 0 : A.w * e.finalSize / 100) : C = t.measureText(X[a], e.f, e.finalSize), g + C > j && X[a] !== " " ? (ee === -1 ? o += 1 : a = ee, Q += e.finalLineHeight || e.finalSize * 1.2, X.splice(a, ee === a ? 1 : 0, "\r"), ee = -1, g = 0) : (g += C, g += I);
|
|
28308
|
+
Q += E.ascent * e.finalSize / 100, this.canResize && e.finalSize > this.minimumFontSize && z < Q ? (e.finalSize -= 1, e.finalLineHeight = e.finalSize * e.lh / e.s) : (e.finalText = X, o = e.finalText.length, M = !1);
|
|
28309
28309
|
}
|
|
28310
28310
|
g = -I, C = 0;
|
|
28311
28311
|
var H = 0, F;
|
|
@@ -28354,10 +28354,10 @@ function requireLottie() {
|
|
|
28354
28354
|
for (D = L[S], D.a.sc && (e.strokeColorAnim = !0), D.a.sw && (e.strokeWidthAnim = !0), (D.a.fc || D.a.fh || D.a.fs || D.a.fb) && (e.fillColorAnim = !0), B = 0, O = D.s.b, a = 0; a < o; a += 1)
|
|
28355
28355
|
P = s[a], P.anIndexes[S] = B, (O == 1 && P.val !== "" || O == 2 && P.val !== "" && P.val !== " " || O == 3 && (P.n || P.val == " " || a == o - 1) || O == 4 && (P.n || a == o - 1)) && (D.s.rn === 1 && U.push(B), B += 1);
|
|
28356
28356
|
i.a[S].s.totalChars = B;
|
|
28357
|
-
var te = -1,
|
|
28357
|
+
var te = -1, Z;
|
|
28358
28358
|
if (D.s.rn === 1)
|
|
28359
28359
|
for (a = 0; a < o; a += 1)
|
|
28360
|
-
P = s[a], te != P.anIndexes[S] && (te = P.anIndexes[S],
|
|
28360
|
+
P = s[a], te != P.anIndexes[S] && (te = P.anIndexes[S], Z = U.splice(Math.floor(Math.random() * U.length), 1)[0]), P.anIndexes[S] = Z;
|
|
28361
28361
|
}
|
|
28362
28362
|
e.yOffset = e.finalLineHeight || e.finalSize * 1.2, e.ls = e.ls || 0, e.ascent = E.ascent * e.finalSize / 100;
|
|
28363
28363
|
}, TextProperty.prototype.updateDocumentData = function(e, t) {
|
|
@@ -28483,15 +28483,15 @@ function requireLottie() {
|
|
|
28483
28483
|
var i = this._moreOptions.alignment.v, s = this._animatorsData, a = this._textData, o = this.mHelper, l = this._renderType, c = this.renderedLetters.length, u, f, d, p, m = e.l, y, g, b, S, k, E, A, C, T, I, N, M, j, z, Q;
|
|
28484
28484
|
if (this._hasMaskedPath) {
|
|
28485
28485
|
if (Q = this._pathData.m, !this._pathData.n || this._pathData._mdf) {
|
|
28486
|
-
var
|
|
28487
|
-
this._pathData.r.v && (
|
|
28486
|
+
var X = Q.v;
|
|
28487
|
+
this._pathData.r.v && (X = X.reverse()), y = {
|
|
28488
28488
|
tLength: 0,
|
|
28489
28489
|
segments: []
|
|
28490
|
-
}, p =
|
|
28490
|
+
}, p = X._length - 1;
|
|
28491
28491
|
var ee;
|
|
28492
28492
|
for (M = 0, d = 0; d < p; d += 1)
|
|
28493
|
-
ee = bez.buildBezierData(
|
|
28494
|
-
d = p, Q.v.c && (ee = bez.buildBezierData(
|
|
28493
|
+
ee = bez.buildBezierData(X.v[d], X.v[d + 1], [X.o[d][0] - X.v[d][0], X.o[d][1] - X.v[d][1]], [X.i[d + 1][0] - X.v[d + 1][0], X.i[d + 1][1] - X.v[d + 1][1]]), y.tLength += ee.segmentLength, y.segments.push(ee), M += ee.segmentLength;
|
|
28494
|
+
d = p, Q.v.c && (ee = bez.buildBezierData(X.v[d], X.v[0], [X.o[d][0] - X.v[d][0], X.o[d][1] - X.v[d][1]], [X.i[0][0] - X.v[0][0], X.i[0][1] - X.v[0][1]]), y.tLength += ee.segmentLength, y.segments.push(ee), M += ee.segmentLength), this._pathData.pi = y;
|
|
28495
28495
|
}
|
|
28496
28496
|
if (y = this._pathData.pi, g = this._pathData.f.v, A = 0, E = 1, S = 0, k = !0, I = y.segments, g < 0 && Q.v.c)
|
|
28497
28497
|
for (y.tLength < Math.abs(g) && (g = -Math.abs(g) % y.tLength), A = I.length - 1, T = I[A].points, E = T.length - 1; g < 0; )
|
|
@@ -28501,7 +28501,7 @@ function requireLottie() {
|
|
|
28501
28501
|
p = m.length, u = 0, f = 0;
|
|
28502
28502
|
var H = e.finalSize * 1.2 * 0.714, F = !0, L, D, P, O, B;
|
|
28503
28503
|
O = s.length;
|
|
28504
|
-
var U, te = -1,
|
|
28504
|
+
var U, te = -1, Z, re, se, ce = g, oe = A, K = E, ie = -1, le, ne, he, fe, ue, Ee, Ce, Oe, We = "", ye = this.defaultPropsArray, we;
|
|
28505
28505
|
if (e.j === 2 || e.j === 1) {
|
|
28506
28506
|
var Ge = 0, Fe = 0, Pe = e.j === 2 ? -0.5 : -1, Ve = 0, Qe = !0;
|
|
28507
28507
|
for (d = 0; d < p; d += 1)
|
|
@@ -28534,14 +28534,14 @@ function requireLottie() {
|
|
|
28534
28534
|
ie = m[d].line;
|
|
28535
28535
|
}
|
|
28536
28536
|
te !== m[d].ind && (m[te] && (g += m[te].extra), g += m[d].an / 2, te = m[d].ind), g += i[0] * m[d].an * 5e-3;
|
|
28537
|
-
var
|
|
28537
|
+
var Xe = 0;
|
|
28538
28538
|
for (P = 0; P < O; P += 1)
|
|
28539
|
-
L = s[P].a, L.p.propType && (D = s[P].s, U = D.getMult(m[d].anIndexes[P], a.a[P].s.totalChars), U.length ?
|
|
28539
|
+
L = s[P].a, L.p.propType && (D = s[P].s, U = D.getMult(m[d].anIndexes[P], a.a[P].s.totalChars), U.length ? Xe += L.p.v[0] * U[0] : Xe += L.p.v[0] * U), L.a.propType && (D = s[P].s, U = D.getMult(m[d].anIndexes[P], a.a[P].s.totalChars), U.length ? Xe += L.a.v[0] * U[0] : Xe += L.a.v[0] * U);
|
|
28540
28540
|
for (k = !0, this._pathData.a.v && (g = m[0].an * 0.5 + (M - this._pathData.f.v - m[0].an * 0.5 - m[m.length - 1].an * 0.5) * te / (p - 1), g += this._pathData.f.v); k; )
|
|
28541
|
-
S + N >= g +
|
|
28542
|
-
|
|
28541
|
+
S + N >= g + Xe || !T ? (j = (g + Xe - S) / b.partialLength, re = C.point[0] + (b.point[0] - C.point[0]) * j, se = C.point[1] + (b.point[1] - C.point[1]) * j, o.translate(-i[0] * m[d].an * 5e-3, -(i[1] * H) * 0.01), k = !1) : T && (S += b.partialLength, E += 1, E >= T.length && (E = 0, A += 1, I[A] ? T = I[A].points : Q.v.c ? (E = 0, A = 0, T = I[A].points) : (S -= b.partialLength, T = null)), T && (C = b, b = T[E], N = b.partialLength));
|
|
28542
|
+
Z = m[d].an / 2 - m[d].add, o.translate(-Z, 0, 0);
|
|
28543
28543
|
} else
|
|
28544
|
-
|
|
28544
|
+
Z = m[d].an / 2 - m[d].add, o.translate(-Z, 0, 0), o.translate(-i[0] * m[d].an * 5e-3, -i[1] * H * 0.01, 0);
|
|
28545
28545
|
for (P = 0; P < O; P += 1)
|
|
28546
28546
|
L = s[P].a, L.t.propType && (D = s[P].s, U = D.getMult(m[d].anIndexes[P], a.a[P].s.totalChars), (u !== 0 || e.j !== 0) && (this._hasMaskedPath ? U.length ? g += L.t.v * U[0] : g += L.t.v * U : U.length ? u += L.t.v * U[0] : u += L.t.v * U));
|
|
28547
28547
|
for (e.strokeWidthAnim && (he = e.sw || 0), e.strokeColorAnim && (e.sc ? ne = [e.sc[0], e.sc[1], e.sc[2]] : ne = [0, 0, 0]), e.fillColorAnim && e.fc && (fe = [e.fc[0], e.fc[1], e.fc[2]]), P = 0; P < O; P += 1)
|
|
@@ -28577,7 +28577,7 @@ function requireLottie() {
|
|
|
28577
28577
|
o.translate(m[d].animatorJustifyOffset + e.justifyOffset + (e.boxWidth - e.lineWidths[m[d].line]) / 2, 0, 0);
|
|
28578
28578
|
break;
|
|
28579
28579
|
}
|
|
28580
|
-
o.translate(0, -e.ls), o.translate(
|
|
28580
|
+
o.translate(0, -e.ls), o.translate(Z, 0, 0), o.translate(i[0] * m[d].an * 5e-3, i[1] * H * 0.01, 0), u += m[d].l + e.tr * 1e-3 * e.finalSize;
|
|
28581
28581
|
}
|
|
28582
28582
|
l === "html" ? We = o.toCSS() : l === "svg" ? We = o.to2dCSS() : ye = [o.props[0], o.props[1], o.props[2], o.props[3], o.props[4], o.props[5], o.props[6], o.props[7], o.props[8], o.props[9], o.props[10], o.props[11], o.props[12], o.props[13], o.props[14], o.props[15]], we = le;
|
|
28583
28583
|
}
|
|
@@ -30078,20 +30078,20 @@ function requireLottie() {
|
|
|
30078
30078
|
entropy: !0
|
|
30079
30079
|
} : C || {};
|
|
30080
30080
|
var N = S(b(C.entropy ? [A, E(e)] : A === null ? k() : A, 3), I), M = new y(I), j = function() {
|
|
30081
|
-
for (var Q = M.g(a),
|
|
30082
|
-
Q = (Q + ee) * s,
|
|
30081
|
+
for (var Q = M.g(a), X = c, ee = 0; Q < u; )
|
|
30082
|
+
Q = (Q + ee) * s, X *= s, ee = M.g(1);
|
|
30083
30083
|
for (; Q >= f; )
|
|
30084
|
-
Q /= 2,
|
|
30085
|
-
return (Q + ee) /
|
|
30084
|
+
Q /= 2, X /= 2, ee >>>= 1;
|
|
30085
|
+
return (Q + ee) / X;
|
|
30086
30086
|
};
|
|
30087
30087
|
return j.int32 = function() {
|
|
30088
30088
|
return M.g(4) | 0;
|
|
30089
30089
|
}, j.quick = function() {
|
|
30090
30090
|
return M.g(4) / 4294967296;
|
|
30091
|
-
}, j.double = j, S(E(M.S), e), (C.pass || T || function(z, Q,
|
|
30091
|
+
}, j.double = j, S(E(M.S), e), (C.pass || T || function(z, Q, X, ee) {
|
|
30092
30092
|
return ee && (ee.S && g(ee, M), z.state = function() {
|
|
30093
30093
|
return g(M, {});
|
|
30094
|
-
}),
|
|
30094
|
+
}), X ? (t[l] = z, Q) : z;
|
|
30095
30095
|
})(j, N, "global" in C ? C.global : this == t, C.state);
|
|
30096
30096
|
}
|
|
30097
30097
|
t["seed" + l] = m;
|
|
@@ -30102,9 +30102,9 @@ function requireLottie() {
|
|
|
30102
30102
|
for (N = 0; N < s; N++)
|
|
30103
30103
|
j[N] = j[M = d & M + A[N % T] + (C = j[N])], j[M] = C;
|
|
30104
30104
|
I.g = function(z) {
|
|
30105
|
-
for (var Q,
|
|
30106
|
-
Q = F[ee = d & ee + 1],
|
|
30107
|
-
return I.i = ee, I.j = H,
|
|
30105
|
+
for (var Q, X = 0, ee = I.i, H = I.j, F = I.S; z--; )
|
|
30106
|
+
Q = F[ee = d & ee + 1], X = X * s + F[d & (F[ee] = F[H = d & H + Q]) + (F[H] = Q)];
|
|
30107
|
+
return I.i = ee, I.j = H, X;
|
|
30108
30108
|
};
|
|
30109
30109
|
}
|
|
30110
30110
|
function g(A, C) {
|
|
@@ -31323,13 +31323,13 @@ function requireLottie() {
|
|
|
31323
31323
|
}
|
|
31324
31324
|
return (j - M) * Q + z;
|
|
31325
31325
|
} else if (m === "continue") {
|
|
31326
|
-
var
|
|
31326
|
+
var X = this.getValueAtTime(k / this.comp.globalData.frameRate, 0), ee = this.getValueAtTime((k - 1e-3) / this.comp.globalData.frameRate, 0);
|
|
31327
31327
|
if (this.pv.length) {
|
|
31328
|
-
for (I = new Array(
|
|
31329
|
-
I[C] =
|
|
31328
|
+
for (I = new Array(X.length), T = I.length, C = 0; C < T; C += 1)
|
|
31329
|
+
I[C] = X[C] + (X[C] - ee[C]) * ((b - k) / this.comp.globalData.frameRate) / 5e-4;
|
|
31330
31330
|
return I;
|
|
31331
31331
|
}
|
|
31332
|
-
return
|
|
31332
|
+
return X + (X - ee) * ((b - k) / 1e-3);
|
|
31333
31333
|
}
|
|
31334
31334
|
return this.getValueAtTime(((b - A) % E + A) / this.comp.globalData.frameRate, 0);
|
|
31335
31335
|
}
|
|
@@ -31356,13 +31356,13 @@ function requireLottie() {
|
|
|
31356
31356
|
}
|
|
31357
31357
|
return z - (j - M) * Q;
|
|
31358
31358
|
} else if (m === "continue") {
|
|
31359
|
-
var
|
|
31359
|
+
var X = this.getValueAtTime(k / this.comp.globalData.frameRate, 0), ee = this.getValueAtTime((k + 1e-3) / this.comp.globalData.frameRate, 0);
|
|
31360
31360
|
if (this.pv.length) {
|
|
31361
|
-
for (I = new Array(
|
|
31362
|
-
I[C] =
|
|
31361
|
+
for (I = new Array(X.length), T = I.length, C = 0; C < T; C += 1)
|
|
31362
|
+
I[C] = X[C] + (X[C] - ee[C]) * (k - b) / 1e-3;
|
|
31363
31363
|
return I;
|
|
31364
31364
|
}
|
|
31365
|
-
return
|
|
31365
|
+
return X + (X - ee) * (k - b) / 1e-3;
|
|
31366
31366
|
}
|
|
31367
31367
|
return this.getValueAtTime((E - ((k - b) % E + k)) / this.comp.globalData.frameRate, 0);
|
|
31368
31368
|
}
|
|
@@ -31873,33 +31873,33 @@ var _excluded$1 = ["animationData", "loop", "autoplay", "initialSegment", "onCom
|
|
|
31873
31873
|
var te;
|
|
31874
31874
|
(te = I.current) === null || te === void 0 || te.pause();
|
|
31875
31875
|
}, Q = function(te) {
|
|
31876
|
-
var
|
|
31877
|
-
(
|
|
31878
|
-
},
|
|
31876
|
+
var Z;
|
|
31877
|
+
(Z = I.current) === null || Z === void 0 || Z.setSpeed(te);
|
|
31878
|
+
}, X = function(te, Z) {
|
|
31879
31879
|
var re;
|
|
31880
|
-
(re = I.current) === null || re === void 0 || re.goToAndPlay(te,
|
|
31881
|
-
}, ee = function(te,
|
|
31880
|
+
(re = I.current) === null || re === void 0 || re.goToAndPlay(te, Z);
|
|
31881
|
+
}, ee = function(te, Z) {
|
|
31882
31882
|
var re;
|
|
31883
|
-
(re = I.current) === null || re === void 0 || re.goToAndStop(te,
|
|
31883
|
+
(re = I.current) === null || re === void 0 || re.goToAndStop(te, Z);
|
|
31884
31884
|
}, H = function(te) {
|
|
31885
|
-
var
|
|
31886
|
-
(
|
|
31887
|
-
}, F = function(te,
|
|
31885
|
+
var Z;
|
|
31886
|
+
(Z = I.current) === null || Z === void 0 || Z.setDirection(te);
|
|
31887
|
+
}, F = function(te, Z) {
|
|
31888
31888
|
var re;
|
|
31889
|
-
(re = I.current) === null || re === void 0 || re.playSegments(te,
|
|
31889
|
+
(re = I.current) === null || re === void 0 || re.playSegments(te, Z);
|
|
31890
31890
|
}, L = function(te) {
|
|
31891
|
-
var
|
|
31892
|
-
(
|
|
31891
|
+
var Z;
|
|
31892
|
+
(Z = I.current) === null || Z === void 0 || Z.setSubframe(te);
|
|
31893
31893
|
}, D = function(te) {
|
|
31894
|
-
var
|
|
31895
|
-
return (
|
|
31894
|
+
var Z;
|
|
31895
|
+
return (Z = I.current) === null || Z === void 0 ? void 0 : Z.getDuration(te);
|
|
31896
31896
|
}, P = function() {
|
|
31897
31897
|
var te;
|
|
31898
31898
|
(te = I.current) === null || te === void 0 || te.destroy(), I.current = void 0;
|
|
31899
31899
|
}, O = function() {
|
|
31900
|
-
var te = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {},
|
|
31900
|
+
var te = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, Z;
|
|
31901
31901
|
if (N.current) {
|
|
31902
|
-
(
|
|
31902
|
+
(Z = I.current) === null || Z === void 0 || Z.destroy();
|
|
31903
31903
|
var re = _objectSpread2(_objectSpread2(_objectSpread2({}, t), te), {}, {
|
|
31904
31904
|
container: N.current
|
|
31905
31905
|
});
|
|
@@ -31959,7 +31959,7 @@ var _excluded$1 = ["animationData", "loop", "autoplay", "initialSegment", "onCom
|
|
|
31959
31959
|
return re.handler != null;
|
|
31960
31960
|
});
|
|
31961
31961
|
if (te.length) {
|
|
31962
|
-
var
|
|
31962
|
+
var Z = te.map(
|
|
31963
31963
|
/**
|
|
31964
31964
|
* Handle the process of adding an event listener
|
|
31965
31965
|
* @param {Listener} listener
|
|
@@ -31974,7 +31974,7 @@ var _excluded$1 = ["animationData", "loop", "autoplay", "initialSegment", "onCom
|
|
|
31974
31974
|
}
|
|
31975
31975
|
);
|
|
31976
31976
|
return function() {
|
|
31977
|
-
|
|
31977
|
+
Z.forEach(function(re) {
|
|
31978
31978
|
return re();
|
|
31979
31979
|
});
|
|
31980
31980
|
};
|
|
@@ -31991,7 +31991,7 @@ var _excluded$1 = ["animationData", "loop", "autoplay", "initialSegment", "onCom
|
|
|
31991
31991
|
pause: z,
|
|
31992
31992
|
setSpeed: Q,
|
|
31993
31993
|
goToAndStop: ee,
|
|
31994
|
-
goToAndPlay:
|
|
31994
|
+
goToAndPlay: X,
|
|
31995
31995
|
setDirection: H,
|
|
31996
31996
|
playSegments: F,
|
|
31997
31997
|
setSubframe: L,
|
|
@@ -32329,7 +32329,7 @@ const PRICE = 250, PurchaseAdsFreeModal = ({ children: e }) => {
|
|
|
32329
32329
|
initialPosition: i = "topLeft"
|
|
32330
32330
|
}) => {
|
|
32331
32331
|
var Oe, We;
|
|
32332
|
-
const { t: s } = useTranslation(), { setIsOpen: a } = useTopUpModalStore(), { setIsOpen: o } = useInventoryModalStore(), l = useQueryClient(), c = useRef(null), u = useRef(!1), f = useRef({ x: 0, y: 0 }), d = useRef({ x: 0, y: 0 }), p = useRef(0), m = useRef(!1), [y, g] = useState(!1), [b, S] = useState(!1), [k, E] = useState(!1), { data: A } = useProfile(), [C] = useAnimateNumber(A.experience), [T] = useAnimateNumber(A.level), [I] = useAnimateNumber(A.balance_gems), { miniApp: N } = useMiniApp(), M = N.colorScheme === "dark", [j, z] = useState(!1), [Q,
|
|
32332
|
+
const { t: s } = useTranslation(), { setIsOpen: a } = useTopUpModalStore(), { setIsOpen: o } = useInventoryModalStore(), l = useQueryClient(), c = useRef(null), u = useRef(!1), f = useRef({ x: 0, y: 0 }), d = useRef({ x: 0, y: 0 }), p = useRef(0), m = useRef(!1), [y, g] = useState(!1), [b, S] = useState(!1), [k, E] = useState(!1), { data: A } = useProfile(), [C] = useAnimateNumber(A.experience), [T] = useAnimateNumber(A.level), [I] = useAnimateNumber(A.balance_gems), { miniApp: N } = useMiniApp(), M = N.colorScheme === "dark", [j, z] = useState(!1), [Q, X] = useState(!0), { safeAreaInset: ee, contentSafeAreaInset: H } = N, [F, L] = useState(mapPositionToInitialPosition(i)), D = useThrottle(F.x, 1e3), P = useThrottle(F.y, 1e3), O = useCallback(
|
|
32333
32333
|
() => window.innerWidth > window.innerHeight ? STORAGE_KEY_LANDSCAPE : STORAGE_KEY_PORTRAIT,
|
|
32334
32334
|
[]
|
|
32335
32335
|
), B = useCallback(
|
|
@@ -32376,10 +32376,10 @@ const PRICE = 250, PurchaseAdsFreeModal = ({ children: e }) => {
|
|
|
32376
32376
|
}
|
|
32377
32377
|
},
|
|
32378
32378
|
[B, O]
|
|
32379
|
-
),
|
|
32379
|
+
), Z = useRef(null), re = useRef(!1);
|
|
32380
32380
|
useEffect(() => {
|
|
32381
32381
|
y || (async () => (await te() || B(mapPositionToInitialPosition(i)), g(!0), requestAnimationFrame(() => {
|
|
32382
|
-
|
|
32382
|
+
X(!1);
|
|
32383
32383
|
})))();
|
|
32384
32384
|
}, [y, te, B, i]), useEffect(() => {
|
|
32385
32385
|
if (!j && y && !b) {
|
|
@@ -32418,9 +32418,9 @@ const PRICE = 250, PurchaseAdsFreeModal = ({ children: e }) => {
|
|
|
32418
32418
|
}, [b, U]), useEffect(() => {
|
|
32419
32419
|
u.current = b;
|
|
32420
32420
|
}, [b]), useEffect(() => {
|
|
32421
|
-
!b &&
|
|
32421
|
+
!b && Z.current && !re.current && (B(Z.current), requestAnimationFrame(() => {
|
|
32422
32422
|
requestAnimationFrame(() => {
|
|
32423
|
-
|
|
32423
|
+
Z.current && B(Z.current);
|
|
32424
32424
|
});
|
|
32425
32425
|
}));
|
|
32426
32426
|
}, [b, B]);
|
|
@@ -32441,8 +32441,8 @@ const PRICE = 250, PurchaseAdsFreeModal = ({ children: e }) => {
|
|
|
32441
32441
|
return;
|
|
32442
32442
|
}
|
|
32443
32443
|
if (j) {
|
|
32444
|
-
const Ve = Pe.clientX - d.current.x, Qe = Pe.clientY - d.current.y,
|
|
32445
|
-
p.current =
|
|
32444
|
+
const Ve = Pe.clientX - d.current.x, Qe = Pe.clientY - d.current.y, Xe = Math.sqrt(Ve * Ve + Qe * Qe);
|
|
32445
|
+
p.current = Xe, Xe > 5 && (m.current = !0), b && (re.current = !0), B({
|
|
32446
32446
|
x: f.current.x + Ve,
|
|
32447
32447
|
y: f.current.y + Qe
|
|
32448
32448
|
});
|
|
@@ -32454,8 +32454,8 @@ const PRICE = 250, PurchaseAdsFreeModal = ({ children: e }) => {
|
|
|
32454
32454
|
}
|
|
32455
32455
|
if (j) {
|
|
32456
32456
|
Pe.preventDefault(), Pe.stopPropagation();
|
|
32457
|
-
const Ve = Pe.touches[0].clientX - d.current.x, Qe = Pe.touches[0].clientY - d.current.y,
|
|
32458
|
-
p.current =
|
|
32457
|
+
const Ve = Pe.touches[0].clientX - d.current.x, Qe = Pe.touches[0].clientY - d.current.y, Xe = Math.sqrt(Ve * Ve + Qe * Qe);
|
|
32458
|
+
p.current = Xe, Xe > 5 && (m.current = !0), b && (re.current = !0), B({
|
|
32459
32459
|
x: f.current.x + Ve,
|
|
32460
32460
|
y: f.current.y + Qe
|
|
32461
32461
|
});
|
|
@@ -32470,7 +32470,7 @@ const PRICE = 250, PurchaseAdsFreeModal = ({ children: e }) => {
|
|
|
32470
32470
|
};
|
|
32471
32471
|
}, [j, b, B]);
|
|
32472
32472
|
const oe = () => {
|
|
32473
|
-
!j && !m.current && (
|
|
32473
|
+
!j && !m.current && (Z.current = F, re.current = !1, S(!0)), setTimeout(() => {
|
|
32474
32474
|
m.current = !1;
|
|
32475
32475
|
}, 100);
|
|
32476
32476
|
};
|
|
@@ -32478,8 +32478,8 @@ const PRICE = 250, PurchaseAdsFreeModal = ({ children: e }) => {
|
|
|
32478
32478
|
N.disableVerticalSwipes();
|
|
32479
32479
|
}, [N]), useEffect(() => {
|
|
32480
32480
|
const ye = (we) => {
|
|
32481
|
-
const Ge = document.querySelector("div#overlay-root"), Fe = document.querySelector("div.cssdk-floating-profile"), Pe = Ge == null ? void 0 : Ge.querySelector(".ccsdk-tg-ui-modal-fix"), Ve = Fe && !Fe.contains(we.target), Qe = Ge && !Ge.contains(we.target),
|
|
32482
|
-
b && Ve && (
|
|
32481
|
+
const Ge = document.querySelector("div#overlay-root"), Fe = document.querySelector("div.cssdk-floating-profile"), Pe = Ge == null ? void 0 : Ge.querySelector(".ccsdk-tg-ui-modal-fix"), Ve = Fe && !Fe.contains(we.target), Qe = Ge && !Ge.contains(we.target), Xe = Pe == null ? void 0 : Pe.contains(we.target);
|
|
32482
|
+
b && Ve && (Xe ? z(!1) : Qe && S(!1));
|
|
32483
32483
|
};
|
|
32484
32484
|
return document.addEventListener("mousedown", ye), () => {
|
|
32485
32485
|
document.removeEventListener("mousedown", ye);
|
|
@@ -33328,7 +33328,7 @@ function getDefaultSwipeDirections(e) {
|
|
|
33328
33328
|
}
|
|
33329
33329
|
const Toast = (e) => {
|
|
33330
33330
|
var t, i, s, a, o, l, c, u, f;
|
|
33331
|
-
const { invert: d, toast: p, unstyled: m, interacting: y, setHeights: g, visibleToasts: b, heights: S, index: k, toasts: E, expanded: A, removeToast: C, defaultRichColors: T, closeButton: I, style: N, cancelButtonStyle: M, actionButtonStyle: j, className: z = "", descriptionClassName: Q = "", duration:
|
|
33331
|
+
const { invert: d, toast: p, unstyled: m, interacting: y, setHeights: g, visibleToasts: b, heights: S, index: k, toasts: E, expanded: A, removeToast: C, defaultRichColors: T, closeButton: I, style: N, cancelButtonStyle: M, actionButtonStyle: j, className: z = "", descriptionClassName: Q = "", duration: X, position: ee, gap: H, expandByDefault: F, classNames: L, icons: D, closeButtonAriaLabel: P = "Close toast" } = e, [O, B] = React__default.useState(null), [U, te] = React__default.useState(null), [Z, re] = React__default.useState(!1), [se, ce] = React__default.useState(!1), [oe, K] = React__default.useState(!1), [ie, le] = React__default.useState(!1), [ne, he] = React__default.useState(!1), [fe, ue] = React__default.useState(0), [Ee, Ce] = React__default.useState(0), Oe = React__default.useRef(p.duration || X || TOAST_LIFETIME), We = React__default.useRef(null), ye = React__default.useRef(null), we = k === 0, Ge = k + 1 <= b, Fe = p.type, Pe = p.dismissible !== !1, Ve = p.className || "", Qe = p.descriptionClassName || "", Xe = React__default.useMemo(() => S.findIndex((Je) => Je.toastId === p.id) || 0, [
|
|
33332
33332
|
S,
|
|
33333
33333
|
p.id
|
|
33334
33334
|
]), yt = React__default.useMemo(() => {
|
|
@@ -33337,15 +33337,15 @@ const Toast = (e) => {
|
|
|
33337
33337
|
}, [
|
|
33338
33338
|
p.closeButton,
|
|
33339
33339
|
I
|
|
33340
|
-
]), _e = React__default.useMemo(() => p.duration ||
|
|
33340
|
+
]), _e = React__default.useMemo(() => p.duration || X || TOAST_LIFETIME, [
|
|
33341
33341
|
p.duration,
|
|
33342
|
-
|
|
33343
|
-
]), ct = React__default.useRef(0), nt = React__default.useRef(0), Le = React__default.useRef(0), xe = React__default.useRef(null), [ke, Ne] = ee.split("-"), Se = React__default.useMemo(() => S.reduce((Je, dt, gt) => gt >=
|
|
33342
|
+
X
|
|
33343
|
+
]), ct = React__default.useRef(0), nt = React__default.useRef(0), Le = React__default.useRef(0), xe = React__default.useRef(null), [ke, Ne] = ee.split("-"), Se = React__default.useMemo(() => S.reduce((Je, dt, gt) => gt >= Xe ? Je : Je + dt.height, 0), [
|
|
33344
33344
|
S,
|
|
33345
|
-
|
|
33345
|
+
Xe
|
|
33346
33346
|
]), qe = useIsDocumentHidden(), ve = p.invert || d, Ae = Fe === "loading";
|
|
33347
|
-
nt.current = React__default.useMemo(() =>
|
|
33348
|
-
|
|
33347
|
+
nt.current = React__default.useMemo(() => Xe * H + Se, [
|
|
33348
|
+
Xe,
|
|
33349
33349
|
Se
|
|
33350
33350
|
]), React__default.useEffect(() => {
|
|
33351
33351
|
Oe.current = _e;
|
|
@@ -33370,7 +33370,7 @@ const Toast = (e) => {
|
|
|
33370
33370
|
g,
|
|
33371
33371
|
p.id
|
|
33372
33372
|
]), React__default.useLayoutEffect(() => {
|
|
33373
|
-
if (!
|
|
33373
|
+
if (!Z) return;
|
|
33374
33374
|
const Je = ye.current, dt = Je.style.height;
|
|
33375
33375
|
Je.style.height = "auto";
|
|
33376
33376
|
const gt = Je.getBoundingClientRect().height;
|
|
@@ -33386,7 +33386,7 @@ const Toast = (e) => {
|
|
|
33386
33386
|
...Tt
|
|
33387
33387
|
]);
|
|
33388
33388
|
}, [
|
|
33389
|
-
|
|
33389
|
+
Z,
|
|
33390
33390
|
p.title,
|
|
33391
33391
|
p.description,
|
|
33392
33392
|
g,
|
|
@@ -33455,7 +33455,7 @@ const Toast = (e) => {
|
|
|
33455
33455
|
"data-sonner-toast": "",
|
|
33456
33456
|
"data-rich-colors": (Et = p.richColors) != null ? Et : T,
|
|
33457
33457
|
"data-styled": !(p.jsx || p.unstyled || m),
|
|
33458
|
-
"data-mounted":
|
|
33458
|
+
"data-mounted": Z,
|
|
33459
33459
|
"data-promise": !!p.promise,
|
|
33460
33460
|
"data-swiped": ne,
|
|
33461
33461
|
"data-removed": se,
|
|
@@ -33470,7 +33470,7 @@ const Toast = (e) => {
|
|
|
33470
33470
|
"data-invert": ve,
|
|
33471
33471
|
"data-swipe-out": ie,
|
|
33472
33472
|
"data-swipe-direction": U,
|
|
33473
|
-
"data-expanded": !!(A || F &&
|
|
33473
|
+
"data-expanded": !!(A || F && Z),
|
|
33474
33474
|
"data-testid": p.testId,
|
|
33475
33475
|
style: {
|
|
33476
33476
|
"--index": k,
|
|
@@ -33608,24 +33608,24 @@ const Toaster = /* @__PURE__ */ React__default.forwardRef(function e(t, i) {
|
|
|
33608
33608
|
const { id: s, invert: a, position: o = "bottom-right", hotkey: l = [
|
|
33609
33609
|
"altKey",
|
|
33610
33610
|
"KeyT"
|
|
33611
|
-
], expand: c, closeButton: u, className: f, offset: d, mobileOffset: p, theme: m = "light", richColors: y, duration: g, style: b, visibleToasts: S = VISIBLE_TOASTS_AMOUNT, toastOptions: k, dir: E = getDocumentDirection(), gap: A = GAP, icons: C, containerAriaLabel: T = "Notifications" } = t, [I, N] = React__default.useState([]), M = React__default.useMemo(() => s ? I.filter((
|
|
33611
|
+
], expand: c, closeButton: u, className: f, offset: d, mobileOffset: p, theme: m = "light", richColors: y, duration: g, style: b, visibleToasts: S = VISIBLE_TOASTS_AMOUNT, toastOptions: k, dir: E = getDocumentDirection(), gap: A = GAP, icons: C, containerAriaLabel: T = "Notifications" } = t, [I, N] = React__default.useState([]), M = React__default.useMemo(() => s ? I.filter((Z) => Z.toasterId === s) : I.filter((Z) => !Z.toasterId), [
|
|
33612
33612
|
I,
|
|
33613
33613
|
s
|
|
33614
33614
|
]), j = React__default.useMemo(() => Array.from(new Set([
|
|
33615
33615
|
o
|
|
33616
|
-
].concat(M.filter((
|
|
33616
|
+
].concat(M.filter((Z) => Z.position).map((Z) => Z.position)))), [
|
|
33617
33617
|
M,
|
|
33618
33618
|
o
|
|
33619
|
-
]), [z, Q] = React__default.useState([]), [
|
|
33619
|
+
]), [z, Q] = React__default.useState([]), [X, ee] = React__default.useState(!1), [H, F] = React__default.useState(!1), [L, D] = React__default.useState(m !== "system" ? m : typeof window < "u" && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light"), P = React__default.useRef(null), O = l.join("+").replace(/Key/g, "").replace(/Digit/g, ""), B = React__default.useRef(null), U = React__default.useRef(!1), te = React__default.useCallback((Z) => {
|
|
33620
33620
|
N((re) => {
|
|
33621
33621
|
var se;
|
|
33622
|
-
return (se = re.find((ce) => ce.id ===
|
|
33622
|
+
return (se = re.find((ce) => ce.id === Z.id)) != null && se.delete || ToastState.dismiss(Z.id), re.filter(({ id: ce }) => ce !== Z.id);
|
|
33623
33623
|
});
|
|
33624
33624
|
}, []);
|
|
33625
|
-
return React__default.useEffect(() => ToastState.subscribe((
|
|
33626
|
-
if (
|
|
33625
|
+
return React__default.useEffect(() => ToastState.subscribe((Z) => {
|
|
33626
|
+
if (Z.dismiss) {
|
|
33627
33627
|
requestAnimationFrame(() => {
|
|
33628
|
-
N((re) => re.map((se) => se.id ===
|
|
33628
|
+
N((re) => re.map((se) => se.id === Z.id ? {
|
|
33629
33629
|
...se,
|
|
33630
33630
|
delete: !0
|
|
33631
33631
|
} : se));
|
|
@@ -33635,16 +33635,16 @@ const Toaster = /* @__PURE__ */ React__default.forwardRef(function e(t, i) {
|
|
|
33635
33635
|
setTimeout(() => {
|
|
33636
33636
|
ReactDOM__default.flushSync(() => {
|
|
33637
33637
|
N((re) => {
|
|
33638
|
-
const se = re.findIndex((ce) => ce.id ===
|
|
33638
|
+
const se = re.findIndex((ce) => ce.id === Z.id);
|
|
33639
33639
|
return se !== -1 ? [
|
|
33640
33640
|
...re.slice(0, se),
|
|
33641
33641
|
{
|
|
33642
33642
|
...re[se],
|
|
33643
|
-
...
|
|
33643
|
+
...Z
|
|
33644
33644
|
},
|
|
33645
33645
|
...re.slice(se + 1)
|
|
33646
33646
|
] : [
|
|
33647
|
-
|
|
33647
|
+
Z,
|
|
33648
33648
|
...re
|
|
33649
33649
|
];
|
|
33650
33650
|
});
|
|
@@ -33658,13 +33658,13 @@ const Toaster = /* @__PURE__ */ React__default.forwardRef(function e(t, i) {
|
|
|
33658
33658
|
return;
|
|
33659
33659
|
}
|
|
33660
33660
|
if (m === "system" && (window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? D("dark") : D("light")), typeof window > "u") return;
|
|
33661
|
-
const
|
|
33661
|
+
const Z = window.matchMedia("(prefers-color-scheme: dark)");
|
|
33662
33662
|
try {
|
|
33663
|
-
|
|
33663
|
+
Z.addEventListener("change", ({ matches: re }) => {
|
|
33664
33664
|
D(re ? "dark" : "light");
|
|
33665
33665
|
});
|
|
33666
33666
|
} catch {
|
|
33667
|
-
|
|
33667
|
+
Z.addListener(({ matches: se }) => {
|
|
33668
33668
|
try {
|
|
33669
33669
|
D(se ? "dark" : "light");
|
|
33670
33670
|
} catch (ce) {
|
|
@@ -33679,7 +33679,7 @@ const Toaster = /* @__PURE__ */ React__default.forwardRef(function e(t, i) {
|
|
|
33679
33679
|
}, [
|
|
33680
33680
|
I
|
|
33681
33681
|
]), React__default.useEffect(() => {
|
|
33682
|
-
const
|
|
33682
|
+
const Z = (re) => {
|
|
33683
33683
|
var se;
|
|
33684
33684
|
if (l.every((K) => re[K] || re.code === K)) {
|
|
33685
33685
|
var oe;
|
|
@@ -33687,7 +33687,7 @@ const Toaster = /* @__PURE__ */ React__default.forwardRef(function e(t, i) {
|
|
|
33687
33687
|
}
|
|
33688
33688
|
re.code === "Escape" && (document.activeElement === P.current || (se = P.current) != null && se.contains(document.activeElement)) && ee(!1);
|
|
33689
33689
|
};
|
|
33690
|
-
return document.addEventListener("keydown",
|
|
33690
|
+
return document.addEventListener("keydown", Z), () => document.removeEventListener("keydown", Z);
|
|
33691
33691
|
}, [
|
|
33692
33692
|
l
|
|
33693
33693
|
]), React__default.useEffect(() => {
|
|
@@ -33708,11 +33708,11 @@ const Toaster = /* @__PURE__ */ React__default.forwardRef(function e(t, i) {
|
|
|
33708
33708
|
"aria-relevant": "additions text",
|
|
33709
33709
|
"aria-atomic": "false",
|
|
33710
33710
|
suppressHydrationWarning: !0
|
|
33711
|
-
}, j.map((
|
|
33711
|
+
}, j.map((Z, re) => {
|
|
33712
33712
|
var se;
|
|
33713
|
-
const [ce, oe] =
|
|
33713
|
+
const [ce, oe] = Z.split("-");
|
|
33714
33714
|
return M.length ? /* @__PURE__ */ React__default.createElement("ol", {
|
|
33715
|
-
key:
|
|
33715
|
+
key: Z,
|
|
33716
33716
|
dir: E === "auto" ? getDocumentDirection() : E,
|
|
33717
33717
|
tabIndex: -1,
|
|
33718
33718
|
ref: P,
|
|
@@ -33746,7 +33746,7 @@ const Toaster = /* @__PURE__ */ React__default.forwardRef(function e(t, i) {
|
|
|
33746
33746
|
K.target instanceof HTMLElement && K.target.dataset.dismissible === "false" || F(!0);
|
|
33747
33747
|
},
|
|
33748
33748
|
onPointerUp: () => F(!1)
|
|
33749
|
-
}, M.filter((K) => !K.position && re === 0 || K.position ===
|
|
33749
|
+
}, M.filter((K) => !K.position && re === 0 || K.position === Z).map((K, ie) => {
|
|
33750
33750
|
var le, ne;
|
|
33751
33751
|
return /* @__PURE__ */ React__default.createElement(Toast, {
|
|
33752
33752
|
key: K.id,
|
|
@@ -33761,7 +33761,7 @@ const Toaster = /* @__PURE__ */ React__default.forwardRef(function e(t, i) {
|
|
|
33761
33761
|
visibleToasts: S,
|
|
33762
33762
|
closeButton: (ne = k == null ? void 0 : k.closeButton) != null ? ne : u,
|
|
33763
33763
|
interacting: H,
|
|
33764
|
-
position:
|
|
33764
|
+
position: Z,
|
|
33765
33765
|
style: k == null ? void 0 : k.style,
|
|
33766
33766
|
unstyled: k == null ? void 0 : k.unstyled,
|
|
33767
33767
|
classNames: k == null ? void 0 : k.classNames,
|
|
@@ -33774,7 +33774,7 @@ const Toaster = /* @__PURE__ */ React__default.forwardRef(function e(t, i) {
|
|
|
33774
33774
|
setHeights: Q,
|
|
33775
33775
|
expandByDefault: c,
|
|
33776
33776
|
gap: A,
|
|
33777
|
-
expanded:
|
|
33777
|
+
expanded: X,
|
|
33778
33778
|
swipeDirections: t.swipeDirections
|
|
33779
33779
|
});
|
|
33780
33780
|
})) : null;
|
|
@@ -34514,7 +34514,7 @@ function DragHandler(e, t, i, s, a, o, l, c, u, f, d, p, m, y, g, b, S, k, E) {
|
|
|
34514
34514
|
}, Q = {
|
|
34515
34515
|
mouse: 500,
|
|
34516
34516
|
touch: 600
|
|
34517
|
-
},
|
|
34517
|
+
}, X = g ? 43 : 25;
|
|
34518
34518
|
let ee = !1, H = 0, F = 0, L = !1, D = !1, P = !1, O = !1;
|
|
34519
34519
|
function B(he) {
|
|
34520
34520
|
if (!E) return;
|
|
@@ -34533,7 +34533,7 @@ function DragHandler(e, t, i, s, a, o, l, c, u, f, d, p, m, y, g, b, S, k, E) {
|
|
|
34533
34533
|
const he = O ? i : t;
|
|
34534
34534
|
M.add(he, "touchmove", oe, I).add(he, "touchend", K).add(he, "mousemove", oe, I).add(he, "mouseup", K);
|
|
34535
34535
|
}
|
|
34536
|
-
function
|
|
34536
|
+
function Z(he) {
|
|
34537
34537
|
const fe = he.nodeName || "";
|
|
34538
34538
|
return T.includes(fe);
|
|
34539
34539
|
}
|
|
@@ -34546,7 +34546,7 @@ function DragHandler(e, t, i, s, a, o, l, c, u, f, d, p, m, y, g, b, S, k, E) {
|
|
|
34546
34546
|
}
|
|
34547
34547
|
function ce(he) {
|
|
34548
34548
|
const fe = isMouseEvent(he, s);
|
|
34549
|
-
O = fe, P = g && fe && !he.buttons && ee, ee = deltaAbs(a.get(), l.get()) >= 2, !(fe && he.button !== 0) && (
|
|
34549
|
+
O = fe, P = g && fe && !he.buttons && ee, ee = deltaAbs(a.get(), l.get()) >= 2, !(fe && he.button !== 0) && (Z(he.target) || (L = !0, o.pointerDown(he), f.useFriction(0).useDuration(0), a.set(l), te(), H = o.readPoint(he), F = o.readPoint(he, A), m.emit("pointerDown")));
|
|
34550
34550
|
}
|
|
34551
34551
|
function oe(he) {
|
|
34552
34552
|
if (!isMouseEvent(he, s) && he.touches.length >= 2) return K(he);
|
|
@@ -34557,7 +34557,7 @@ function DragHandler(e, t, i, s, a, o, l, c, u, f, d, p, m, y, g, b, S, k, E) {
|
|
|
34557
34557
|
Ce > b && (P = !0), f.useFriction(0.3).useDuration(0.75), c.start(), a.add(C(We)), he.preventDefault();
|
|
34558
34558
|
}
|
|
34559
34559
|
function K(he) {
|
|
34560
|
-
const ue = d.byDistance(0, !1).index !== p.get(), Ee = o.pointerUp(he) * re(), Ce = se(C(Ee), ue), Oe = factorAbs(Ee, Ce), We =
|
|
34560
|
+
const ue = d.byDistance(0, !1).index !== p.get(), Ee = o.pointerUp(he) * re(), Ce = se(C(Ee), ue), Oe = factorAbs(Ee, Ce), We = X - 10 * Oe, ye = k + Oe / 50;
|
|
34561
34561
|
D = !1, L = !1, M.clear(), f.useDuration(We).useFriction(ye), u.distance(Ce, !g), O = !1, m.emit("pointerUp");
|
|
34562
34562
|
}
|
|
34563
34563
|
function ie(he) {
|
|
@@ -35010,13 +35010,13 @@ function SlideLooper(e, t, i, s, a, o, l, c, u) {
|
|
|
35010
35010
|
function S(N, M, j) {
|
|
35011
35011
|
const z = b(M);
|
|
35012
35012
|
return N.map((Q) => {
|
|
35013
|
-
const
|
|
35013
|
+
const X = j ? 0 : -i, ee = j ? i : 0, H = j ? "end" : "start", F = z[Q][H];
|
|
35014
35014
|
return {
|
|
35015
35015
|
index: Q,
|
|
35016
35016
|
loopPoint: F,
|
|
35017
35017
|
slideLocation: Vector1D(-1),
|
|
35018
35018
|
translate: Translate(e, u[Q]),
|
|
35019
|
-
target: () => c.get() > F ?
|
|
35019
|
+
target: () => c.get() > F ? X : ee
|
|
35020
35020
|
};
|
|
35021
35021
|
});
|
|
35022
35022
|
}
|
|
@@ -35158,8 +35158,8 @@ function SlidesToScroll(e, t, i, s, a, o, l, c, u) {
|
|
|
35158
35158
|
}
|
|
35159
35159
|
function g(k) {
|
|
35160
35160
|
return k.length ? arrayKeys(k).reduce((E, A, C) => {
|
|
35161
|
-
const T = arrayLast(E) || 0, I = T === 0, N = A === arrayLastIndex(k), M = a[f] - o[T][f], j = a[f] - o[A][d], z = !s && I ? p(l) : 0, Q = !s && N ? p(c) : 0,
|
|
35162
|
-
return C &&
|
|
35161
|
+
const T = arrayLast(E) || 0, I = T === 0, N = A === arrayLastIndex(k), M = a[f] - o[T][f], j = a[f] - o[A][d], z = !s && I ? p(l) : 0, Q = !s && N ? p(c) : 0, X = mathAbs(j - Q - (M + z));
|
|
35162
|
+
return C && X > t + u && E.push(A), N && E.push(k.length), E;
|
|
35163
35163
|
}, []).map((E, A, C) => {
|
|
35164
35164
|
const T = Math.max(C[A - 1] || 0);
|
|
35165
35165
|
return k.slice(T, E);
|
|
@@ -35190,18 +35190,18 @@ function Engine(e, t, i, s, a, o, l) {
|
|
|
35190
35190
|
watchSlides: C,
|
|
35191
35191
|
watchDrag: T,
|
|
35192
35192
|
watchFocus: I
|
|
35193
|
-
} = o, N = 2, M = NodeRects(), j = M.measure(t), z = i.map(M.measure), Q = Axis(u, f),
|
|
35193
|
+
} = o, N = 2, M = NodeRects(), j = M.measure(t), z = i.map(M.measure), Q = Axis(u, f), X = Q.measureSize(j), ee = PercentOfView(X), H = Alignment(c, X), F = !p && !!E, L = p || !!E, {
|
|
35194
35194
|
slideSizes: D,
|
|
35195
35195
|
slideSizesWithGaps: P,
|
|
35196
35196
|
startGap: O,
|
|
35197
35197
|
endGap: B
|
|
35198
|
-
} = SlideSizes(Q, j, z, i, L, a), U = SlidesToScroll(Q,
|
|
35198
|
+
} = SlideSizes(Q, j, z, i, L, a), U = SlidesToScroll(Q, X, S, p, j, z, O, B, N), {
|
|
35199
35199
|
snaps: te,
|
|
35200
|
-
snapsAligned:
|
|
35200
|
+
snapsAligned: Z
|
|
35201
35201
|
} = ScrollSnaps(Q, H, j, z, U), re = -arrayLast(te) + arrayLast(P), {
|
|
35202
35202
|
snapsContained: se,
|
|
35203
35203
|
scrollContainLimit: ce
|
|
35204
|
-
} = ScrollContain(
|
|
35204
|
+
} = ScrollContain(X, re, Z, E, N), oe = F ? se : Z, {
|
|
35205
35205
|
limit: K
|
|
35206
35206
|
} = ScrollLimit(re, oe, p), ie = Counter(arrayLastIndex(oe), d, p), le = ie.clone(), ne = arrayKeys(i), he = ({
|
|
35207
35207
|
dragHandler: nt,
|
|
@@ -35232,7 +35232,7 @@ function Engine(e, t, i, s, a, o, l) {
|
|
|
35232
35232
|
gt && Ae.stop();
|
|
35233
35233
|
const Tt = xe.get() * Et + Ne.get() * (1 - Et);
|
|
35234
35234
|
ke.set(Tt), St && (Se.loop(nt.direction()), qe.loop()), Le.to(ke.get()), gt && $e.emit("settle"), dt || $e.emit("scroll");
|
|
35235
|
-
}, ue = Animations(s, a, () => he(ct), (nt) => fe(ct, nt)), Ee = 0.68, Ce = oe[ie.get()], Oe = Vector1D(Ce), We = Vector1D(Ce), ye = Vector1D(Ce), we = Vector1D(Ce), Ge = ScrollBody(Oe, ye, We, we, m, Ee), Fe = ScrollTarget(p, oe, re, K, we), Pe = ScrollTo(ue, ie, le, Ge, Fe, we, l), Ve = ScrollProgress(K), Qe = EventStore(),
|
|
35235
|
+
}, ue = Animations(s, a, () => he(ct), (nt) => fe(ct, nt)), Ee = 0.68, Ce = oe[ie.get()], Oe = Vector1D(Ce), We = Vector1D(Ce), ye = Vector1D(Ce), we = Vector1D(Ce), Ge = ScrollBody(Oe, ye, We, we, m, Ee), Fe = ScrollTarget(p, oe, re, K, we), Pe = ScrollTo(ue, ie, le, Ge, Fe, we, l), Ve = ScrollProgress(K), Qe = EventStore(), Xe = SlidesInView(t, i, l, b), {
|
|
35236
35236
|
slideRegistry: yt
|
|
35237
35237
|
} = SlideRegistry(F, E, oe, ce, U, ne), _e = SlideFocus(e, i, yt, Pe, Ge, Qe, l, I), ct = {
|
|
35238
35238
|
ownerDocument: s,
|
|
@@ -35261,10 +35261,10 @@ function Engine(e, t, i, s, a, o, l) {
|
|
|
35261
35261
|
scrollSnaps: oe,
|
|
35262
35262
|
scrollTarget: Fe,
|
|
35263
35263
|
scrollTo: Pe,
|
|
35264
|
-
slideLooper: SlideLooper(Q,
|
|
35264
|
+
slideLooper: SlideLooper(Q, X, re, D, P, te, oe, ye, i),
|
|
35265
35265
|
slideFocus: _e,
|
|
35266
35266
|
slidesHandler: SlidesHandler(t, l, C),
|
|
35267
|
-
slidesInView:
|
|
35267
|
+
slidesInView: Xe,
|
|
35268
35268
|
slideIndexes: ne,
|
|
35269
35269
|
slideRegistry: yt,
|
|
35270
35270
|
slidesToScroll: U,
|
|
@@ -35395,15 +35395,15 @@ function EmblaCarousel(e, t, i) {
|
|
|
35395
35395
|
}
|
|
35396
35396
|
function Q(ne, he) {
|
|
35397
35397
|
const fe = U();
|
|
35398
|
-
|
|
35398
|
+
X(), z(f({
|
|
35399
35399
|
startIndex: fe
|
|
35400
35400
|
}, ne), he), u.emit("reInit");
|
|
35401
35401
|
}
|
|
35402
|
-
function
|
|
35402
|
+
function X() {
|
|
35403
35403
|
k.dragHandler.destroy(), k.eventStore.clear(), k.translate.clear(), k.slideLooper.clear(), k.resizeHandler.destroy(), k.slidesHandler.destroy(), k.slidesInView.destroy(), k.animation.destroy(), l.destroy(), c.clear();
|
|
35404
35404
|
}
|
|
35405
35405
|
function ee() {
|
|
35406
|
-
S || (S = !0, c.clear(),
|
|
35406
|
+
S || (S = !0, c.clear(), X(), u.emit("destroy"), u.clear());
|
|
35407
35407
|
}
|
|
35408
35408
|
function H(ne, he, fe) {
|
|
35409
35409
|
!A.active || S || (k.scrollBody.useBaseFriction().useDuration(he === !0 ? 0 : A.duration), k.scrollTo.index(ne, fe || 0));
|
|
@@ -35434,7 +35434,7 @@ function EmblaCarousel(e, t, i) {
|
|
|
35434
35434
|
function te() {
|
|
35435
35435
|
return k.indexPrevious.get();
|
|
35436
35436
|
}
|
|
35437
|
-
function
|
|
35437
|
+
function Z() {
|
|
35438
35438
|
return k.slidesInView.get();
|
|
35439
35439
|
}
|
|
35440
35440
|
function re() {
|
|
@@ -35475,7 +35475,7 @@ function EmblaCarousel(e, t, i) {
|
|
|
35475
35475
|
scrollTo: H,
|
|
35476
35476
|
selectedScrollSnap: U,
|
|
35477
35477
|
slideNodes: ie,
|
|
35478
|
-
slidesInView:
|
|
35478
|
+
slidesInView: Z,
|
|
35479
35479
|
slidesNotInView: re
|
|
35480
35480
|
};
|
|
35481
35481
|
return z(t, i), setTimeout(() => u.emit("init"), 0), le;
|
|
@@ -35864,24 +35864,24 @@ const PrizeCarousel = memo$1(
|
|
|
35864
35864
|
return F(ee);
|
|
35865
35865
|
const L = F(0.7), D = (ee - 0.7) / (1 - 0.7);
|
|
35866
35866
|
return L + D * (1 - L);
|
|
35867
|
-
},
|
|
35867
|
+
}, X = () => {
|
|
35868
35868
|
const ee = Date.now(), H = Math.max(1, j()), F = ee - (b.current || ee), L = Math.min(F / H, 1), P = Q(L) * M, B = Math.min(M, Math.ceil(P - 1e-6)), U = B - z;
|
|
35869
35869
|
if (U > 0) {
|
|
35870
|
-
for (let
|
|
35870
|
+
for (let Z = 0; Z < U; Z++)
|
|
35871
35871
|
d.scrollPrev();
|
|
35872
35872
|
z = B;
|
|
35873
35873
|
}
|
|
35874
35874
|
if (L < 1) {
|
|
35875
|
-
g.current = requestAnimationFrame(
|
|
35875
|
+
g.current = requestAnimationFrame(X);
|
|
35876
35876
|
return;
|
|
35877
35877
|
}
|
|
35878
35878
|
const te = () => {
|
|
35879
|
-
var
|
|
35880
|
-
d.off("settle", te), s("STOPPED"), (se = (re = (
|
|
35879
|
+
var Z, re, se;
|
|
35880
|
+
d.off("settle", te), s("STOPPED"), (se = (re = (Z = window.Telegram) == null ? void 0 : Z.WebApp) == null ? void 0 : re.HapticFeedback) == null || se.impactOccurred("medium");
|
|
35881
35881
|
};
|
|
35882
35882
|
d.on("settle", te);
|
|
35883
35883
|
};
|
|
35884
|
-
g.current = requestAnimationFrame(
|
|
35884
|
+
g.current = requestAnimationFrame(X);
|
|
35885
35885
|
}
|
|
35886
35886
|
return E;
|
|
35887
35887
|
}, [d, t, i, s, e, a]), /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
@@ -36260,7 +36260,7 @@ const sortPrizesDistributed = (e) => {
|
|
|
36260
36260
|
setWheelSpinState: d,
|
|
36261
36261
|
setAnimationPhase: p,
|
|
36262
36262
|
setSkipped: m
|
|
36263
|
-
} = useBoxOpening(), { showSnackbar: y } = useSnackbar(), g = useRef(!1), b = useFireConfetti(), [S, k] = useState([]), [E, A] = useState(null), [C, T] = useState([]), I = useRef(null), N = useRef(0), [M, j] = useState(!1), { setIsOpen: z } = useInventoryModalStore(), [Q,
|
|
36263
|
+
} = useBoxOpening(), { showSnackbar: y } = useSnackbar(), g = useRef(!1), b = useFireConfetti(), [S, k] = useState([]), [E, A] = useState(null), [C, T] = useState([]), I = useRef(null), N = useRef(0), [M, j] = useState(!1), { setIsOpen: z } = useInventoryModalStore(), [Q, X] = useState(!1), { mutate: ee, isPending: H } = useBoxRewards({
|
|
36264
36264
|
onSuccess(ce) {
|
|
36265
36265
|
const { rewards: oe, recent_rewards: K } = ce, ie = [
|
|
36266
36266
|
...oe,
|
|
@@ -36289,13 +36289,13 @@ const sortPrizesDistributed = (e) => {
|
|
|
36289
36289
|
}), k([COMMON_BOX]));
|
|
36290
36290
|
}, [l, i, ee]), useEffect(() => {
|
|
36291
36291
|
if (s) {
|
|
36292
|
-
|
|
36292
|
+
X(!1);
|
|
36293
36293
|
const ce = setTimeout(() => {
|
|
36294
|
-
|
|
36294
|
+
X(!0);
|
|
36295
36295
|
}, 1700);
|
|
36296
36296
|
return () => clearTimeout(ce);
|
|
36297
36297
|
}
|
|
36298
|
-
|
|
36298
|
+
X(!1);
|
|
36299
36299
|
}, [s]), useEffect(() => {
|
|
36300
36300
|
if (c === "STOPPED" && u === "carousel") {
|
|
36301
36301
|
const ce = setTimeout(() => {
|
|
@@ -36385,7 +36385,7 @@ const sortPrizesDistributed = (e) => {
|
|
|
36385
36385
|
return () => clearTimeout(ce);
|
|
36386
36386
|
}
|
|
36387
36387
|
}, [s, M, z]);
|
|
36388
|
-
const te = c === "STOPPED" && u === "final",
|
|
36388
|
+
const te = c === "STOPPED" && u === "final", Z = E ? E.reward_type === "box" : !1, re = useMemo(() => c === "SPINNING" ? `linear-gradient(rgba(187, 255, 255, 0), rgba(168, 255, 157, 0.9)), url(${boxOpenBg})` : E && E.reward_type === "box" && E.reward_value === 12 ? `radial-gradient(95.44% 55.12% at 50.13% 55.12%, #1AF3FB 36.93%, #1D82FF 100%), url(${boxOpenBg})` : E && E.reward_type === "box" && E.reward_value === 13 ? `linear-gradient(rgba(238, 86, 255, 0.6), rgba(238, 206, 243, 0.5)), url(${boxOpenBg})` : E && E.reward_type === "box" && E.reward_value === 14 ? `linear-gradient(rgba(255, 206, 133, 0.6), rgba(239, 255, 151, 0.5)), url(${boxOpenBg})` : E && E.reward_type === "box" && E.reward_value === 11 ? `radial-gradient(95.44% 55.12% at 50.13% 55.12%, #9FFAFC 36.93%, #01DEF6 100%), url(${boxOpenBg})` : E && E.reward_type === "coins" ? `radial-gradient(95.44% 55.12% at 50.13% 55.12%, #FF4 36.93%, #F4AB00 100%), url(${boxOpenBg})` : E && E.reward_type === "usdt" ? `radial-gradient(95.44% 55.12% at 50.13% 55.12%, #D5FF79 36.93%, #00CA07 100%), url(${boxOpenBg})` : `linear-gradient(rgba(187, 255, 255, 0.9), rgba(168, 255, 157, 0.9)), url(${boxOpenBg})`, [E, c]), se = H || L;
|
|
36389
36389
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
36390
36390
|
Drawer,
|
|
36391
36391
|
{
|
|
@@ -36476,7 +36476,7 @@ const sortPrizesDistributed = (e) => {
|
|
|
36476
36476
|
color: "#000",
|
|
36477
36477
|
fontWeight: 700,
|
|
36478
36478
|
zIndex: 1,
|
|
36479
|
-
marginBottom:
|
|
36479
|
+
marginBottom: Z ? "40vh" : "32vh"
|
|
36480
36480
|
},
|
|
36481
36481
|
children: e("box_open.you_ve_got")
|
|
36482
36482
|
}
|
|
@@ -36601,14 +36601,14 @@ const sortPrizesDistributed = (e) => {
|
|
|
36601
36601
|
},
|
|
36602
36602
|
transition: { duration: 0.3, ease: "easeOut" },
|
|
36603
36603
|
children: [
|
|
36604
|
-
(!te ||
|
|
36604
|
+
(!te || Z) && /* @__PURE__ */ jsxRuntimeExports.jsx(ConfettiParticles, { count: 40, margin: 8, padding: 8 }),
|
|
36605
36605
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
36606
36606
|
Button,
|
|
36607
36607
|
{
|
|
36608
36608
|
size: "l",
|
|
36609
36609
|
stretched: !0,
|
|
36610
36610
|
mode: te ? "white" : "filled",
|
|
36611
|
-
onClick:
|
|
36611
|
+
onClick: Z ? O : te ? P : D,
|
|
36612
36612
|
style: {
|
|
36613
36613
|
borderRadius: "25px",
|
|
36614
36614
|
background: te ? "#FFFFFF" : "var(--tgui--button_color)",
|
|
@@ -36618,7 +36618,7 @@ const sortPrizesDistributed = (e) => {
|
|
|
36618
36618
|
transition: "background 0.3s ease, outline 0.3s ease, color 0.3s ease, box-shadow 0.3s ease"
|
|
36619
36619
|
},
|
|
36620
36620
|
loading: se,
|
|
36621
|
-
children: e(
|
|
36621
|
+
children: e(Z && te ? "box_open.button_open_now" : te ? "common.ok" : "box_open.button_reveal_reward")
|
|
36622
36622
|
}
|
|
36623
36623
|
)
|
|
36624
36624
|
]
|
|
@@ -36833,10 +36833,10 @@ function requireReactConfetti_min() {
|
|
|
36833
36833
|
}), S(this, "animate", function() {
|
|
36834
36834
|
var fe = ne.canvas, ue = ne.context, Ee = ne.particlesGenerated, Ce = ne.lastNumberOfPieces, Oe = ne.getOptions(), We = Oe.run, ye = Oe.recycle, we = Oe.numberOfPieces, Ge = Oe.debug, Fe = Oe.tweenFunction, Pe = Oe.tweenDuration;
|
|
36835
36835
|
if (!We) return !1;
|
|
36836
|
-
var Ve = ne.particles.length, Qe = ye ? Ve : Ee,
|
|
36836
|
+
var Ve = ne.particles.length, Qe = ye ? Ve : Ee, Xe = Date.now();
|
|
36837
36837
|
if (Qe < we) {
|
|
36838
|
-
Ce !== we && (ne.tweenInitTime =
|
|
36839
|
-
for (var yt = ne.tweenInitTime, _e = Fe(
|
|
36838
|
+
Ce !== we && (ne.tweenInitTime = Xe, ne.lastNumberOfPieces = we);
|
|
36839
|
+
for (var yt = ne.tweenInitTime, _e = Fe(Xe - yt > Pe ? Pe : Math.max(0, Xe - yt), Qe, we, Pe), ct = Math.round(_e - Qe), nt = 0; nt < ct; nt++) ne.particles.push(ne.getParticle());
|
|
36840
36840
|
ne.particlesGenerated += ct;
|
|
36841
36841
|
}
|
|
36842
36842
|
return Ge && (ue.font = "12px sans-serif", ue.fillStyle = "#333", ue.textAlign = "right", ue.fillText("Particles: ".concat(Ve), fe.width - 10, fe.height - 20)), ne.particles.forEach(function(Le, xe) {
|
|
@@ -36943,11 +36943,11 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
36943
36943
|
}
|
|
36944
36944
|
return le;
|
|
36945
36945
|
}
|
|
36946
|
-
function
|
|
36946
|
+
function X(K) {
|
|
36947
36947
|
for (var ie = 1; ie < arguments.length; ie++) {
|
|
36948
36948
|
var le = arguments[ie] != null ? arguments[ie] : {};
|
|
36949
36949
|
ie % 2 ? Q(Object(le), !0).forEach(function(ne) {
|
|
36950
|
-
|
|
36950
|
+
Z(K, ne, le[ne]);
|
|
36951
36951
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(K, Object.getOwnPropertyDescriptors(le)) : Q(Object(le)).forEach(function(ne) {
|
|
36952
36952
|
Object.defineProperty(K, ne, Object.getOwnPropertyDescriptor(le, ne));
|
|
36953
36953
|
});
|
|
@@ -37036,7 +37036,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
37036
37036
|
return ie.__proto__ || Object.getPrototypeOf(ie);
|
|
37037
37037
|
})(K);
|
|
37038
37038
|
}
|
|
37039
|
-
function
|
|
37039
|
+
function Z(K, ie, le) {
|
|
37040
37040
|
return ie in K ? Object.defineProperty(K, ie, { value: le, enumerable: !0, configurable: !0, writable: !0 }) : K[ie] = le, K;
|
|
37041
37041
|
}
|
|
37042
37042
|
var re = f.a.createRef(), se = function(K) {
|
|
@@ -37049,7 +37049,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
37049
37049
|
var ue;
|
|
37050
37050
|
L(this, he);
|
|
37051
37051
|
for (var Ee = arguments.length, Ce = new Array(Ee > 1 ? Ee - 1 : 0), Oe = 1; Oe < Ee; Oe++) Ce[Oe - 1] = arguments[Oe];
|
|
37052
|
-
return
|
|
37052
|
+
return Z(U(ue = ne.call.apply(ne, [this, fe].concat(Ce))), "canvas", f.a.createRef()), Z(U(ue), "confetti", void 0), ue.canvas = fe.canvasRef || re, ue;
|
|
37053
37053
|
}
|
|
37054
37054
|
return ie = he, (le = [{ key: "componentDidMount", value: function() {
|
|
37055
37055
|
if (this.canvas.current) {
|
|
@@ -37062,7 +37062,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
37062
37062
|
} }, { key: "componentWillUnmount", value: function() {
|
|
37063
37063
|
this.confetti && this.confetti.stop(), this.confetti = void 0;
|
|
37064
37064
|
} }, { key: "render", value: function() {
|
|
37065
|
-
var fe = ee(ce(this.props), 2), ue = fe[0], Ee = fe[1], Ce =
|
|
37065
|
+
var fe = ee(ce(this.props), 2), ue = fe[0], Ee = fe[1], Ce = X({ zIndex: 2, position: "absolute", pointerEvents: "none", top: 0, left: 0, bottom: 0, right: 0 }, Ee.style);
|
|
37066
37066
|
return f.a.createElement("canvas", z({ width: ue.width, height: ue.height, ref: this.canvas }, Ee, { style: Ce }));
|
|
37067
37067
|
} }]) && D(ie.prototype, le), he;
|
|
37068
37068
|
}(u.Component);
|
|
@@ -37074,7 +37074,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
37074
37074
|
}
|
|
37075
37075
|
return [ie, le, {}];
|
|
37076
37076
|
}
|
|
37077
|
-
|
|
37077
|
+
Z(se, "defaultProps", X({}, I)), Z(se, "displayName", "ReactConfetti");
|
|
37078
37078
|
var oe = f.a.forwardRef(function(K, ie) {
|
|
37079
37079
|
return f.a.createElement(se, z({ canvasRef: ie }, K));
|
|
37080
37080
|
});
|
|
@@ -37576,7 +37576,7 @@ function delay(e, { signal: t } = {}) {
|
|
|
37576
37576
|
t == null || t.addEventListener("abort", o, { once: !0 });
|
|
37577
37577
|
});
|
|
37578
37578
|
}
|
|
37579
|
-
var define_process_env_default$2 = { NODE_ENV: '"production"', version: '"1.83.
|
|
37579
|
+
var define_process_env_default$2 = { NODE_ENV: '"production"', version: '"1.83.3"' }, win;
|
|
37580
37580
|
if (typeof window > "u") {
|
|
37581
37581
|
var loc = {
|
|
37582
37582
|
hostname: ""
|
|
@@ -38454,10 +38454,10 @@ function serializeElementNode(e, t) {
|
|
|
38454
38454
|
if (e.__context === "2d")
|
|
38455
38455
|
is2DCanvasBlank(e) || (A.rr_dataURL = e.toDataURL(d.type, d.quality));
|
|
38456
38456
|
else if (!("__context" in e)) {
|
|
38457
|
-
var
|
|
38457
|
+
var X = e.toDataURL(d.type, d.quality), ee = i.createElement("canvas");
|
|
38458
38458
|
ee.width = e.width, ee.height = e.height;
|
|
38459
38459
|
var H = ee.toDataURL(d.type, d.quality);
|
|
38460
|
-
|
|
38460
|
+
X !== H && (A.rr_dataURL = X);
|
|
38461
38461
|
}
|
|
38462
38462
|
}
|
|
38463
38463
|
if (E === "img" && p) {
|
|
@@ -38490,9 +38490,9 @@ function serializeElementNode(e, t) {
|
|
|
38490
38490
|
};
|
|
38491
38491
|
}
|
|
38492
38492
|
E === "iframe" && !y(A.src) && (e.contentDocument || (A.rr_src = A.src), delete A.src);
|
|
38493
|
-
var
|
|
38493
|
+
var Z;
|
|
38494
38494
|
try {
|
|
38495
|
-
customElements.get(E) && (
|
|
38495
|
+
customElements.get(E) && (Z = !0);
|
|
38496
38496
|
} catch {
|
|
38497
38497
|
}
|
|
38498
38498
|
return {
|
|
@@ -38503,7 +38503,7 @@ function serializeElementNode(e, t) {
|
|
|
38503
38503
|
isSVG: isSVGElement(e) || void 0,
|
|
38504
38504
|
needBlock: k,
|
|
38505
38505
|
rootId: S,
|
|
38506
|
-
isCustom:
|
|
38506
|
+
isCustom: Z
|
|
38507
38507
|
};
|
|
38508
38508
|
}
|
|
38509
38509
|
function lowerIfExists(e) {
|
|
@@ -38539,12 +38539,12 @@ function slimDOMExcluded(e, t) {
|
|
|
38539
38539
|
return !1;
|
|
38540
38540
|
}
|
|
38541
38541
|
function serializeNodeWithId(e, t) {
|
|
38542
|
-
var i = t.doc, s = t.mirror, a = t.blockClass, o = t.blockSelector, l = t.maskTextClass, c = t.maskTextSelector, u = t.skipChild, f = u === void 0 ? !1 : u, d = t.inlineStylesheet, p = d === void 0 ? !0 : d, m = t.maskInputOptions, y = m === void 0 ? {} : m, g = t.maskTextFn, b = t.maskInputFn, S = t.slimDOMOptions, k = t.dataURLOptions, E = k === void 0 ? {} : k, A = t.inlineImages, C = A === void 0 ? !1 : A, T = t.recordCanvas, I = T === void 0 ? !1 : T, N = t.onSerialize, M = t.onIframeLoad, j = t.iframeLoadTimeout, z = j === void 0 ? 5e3 : j, Q = t.onStylesheetLoad,
|
|
38542
|
+
var i = t.doc, s = t.mirror, a = t.blockClass, o = t.blockSelector, l = t.maskTextClass, c = t.maskTextSelector, u = t.skipChild, f = u === void 0 ? !1 : u, d = t.inlineStylesheet, p = d === void 0 ? !0 : d, m = t.maskInputOptions, y = m === void 0 ? {} : m, g = t.maskTextFn, b = t.maskInputFn, S = t.slimDOMOptions, k = t.dataURLOptions, E = k === void 0 ? {} : k, A = t.inlineImages, C = A === void 0 ? !1 : A, T = t.recordCanvas, I = T === void 0 ? !1 : T, N = t.onSerialize, M = t.onIframeLoad, j = t.iframeLoadTimeout, z = j === void 0 ? 5e3 : j, Q = t.onStylesheetLoad, X = t.stylesheetLoadTimeout, ee = X === void 0 ? 5e3 : X, H = t.keepIframeSrcFn, F = H === void 0 ? function() {
|
|
38543
38543
|
return !1;
|
|
38544
38544
|
} : H, L = t.newlyAddedElement, D = L === void 0 ? !1 : L, P = t.cssCaptured, O = P === void 0 ? !1 : P, B = t.needsMask, U = t.preserveWhiteSpace, te = U === void 0 ? !0 : U;
|
|
38545
38545
|
if (!B) {
|
|
38546
|
-
var
|
|
38547
|
-
B = needMaskingText(e, l, c,
|
|
38546
|
+
var Z = B === void 0;
|
|
38547
|
+
B = needMaskingText(e, l, c, Z);
|
|
38548
38548
|
}
|
|
38549
38549
|
var re = serializeNode(e, {
|
|
38550
38550
|
doc: i,
|
|
@@ -38684,7 +38684,7 @@ function serializeNodeWithId(e, t) {
|
|
|
38684
38684
|
}, ee), ce;
|
|
38685
38685
|
}
|
|
38686
38686
|
function snapshot(e, t) {
|
|
38687
|
-
var i = t, s = i.mirror, a = s === void 0 ? new Mirror() : s, o = i.blockClass, l = o === void 0 ? "rr-block" : o, c = i.blockSelector, u = c === void 0 ? null : c, f = i.maskTextClass, d = f === void 0 ? "rr-mask" : f, p = i.maskTextSelector, m = p === void 0 ? null : p, y = i.inlineStylesheet, g = y === void 0 ? !0 : y, b = i.inlineImages, S = b === void 0 ? !1 : b, k = i.recordCanvas, E = k === void 0 ? !1 : k, A = i.maskAllInputs, C = A === void 0 ? !1 : A, T = i.maskTextFn, I = i.maskInputFn, N = i.slimDOM, M = N === void 0 ? !1 : N, j = i.dataURLOptions, z = i.preserveWhiteSpace, Q = i.onSerialize,
|
|
38687
|
+
var i = t, s = i.mirror, a = s === void 0 ? new Mirror() : s, o = i.blockClass, l = o === void 0 ? "rr-block" : o, c = i.blockSelector, u = c === void 0 ? null : c, f = i.maskTextClass, d = f === void 0 ? "rr-mask" : f, p = i.maskTextSelector, m = p === void 0 ? null : p, y = i.inlineStylesheet, g = y === void 0 ? !0 : y, b = i.inlineImages, S = b === void 0 ? !1 : b, k = i.recordCanvas, E = k === void 0 ? !1 : k, A = i.maskAllInputs, C = A === void 0 ? !1 : A, T = i.maskTextFn, I = i.maskInputFn, N = i.slimDOM, M = N === void 0 ? !1 : N, j = i.dataURLOptions, z = i.preserveWhiteSpace, Q = i.onSerialize, X = i.onIframeLoad, ee = i.iframeLoadTimeout, H = i.onStylesheetLoad, F = i.stylesheetLoadTimeout, L = i.keepIframeSrcFn, D = L === void 0 ? function() {
|
|
38688
38688
|
return !1;
|
|
38689
38689
|
} : L, P = C === !0 ? {
|
|
38690
38690
|
color: !0,
|
|
@@ -38739,7 +38739,7 @@ function snapshot(e, t) {
|
|
|
38739
38739
|
recordCanvas: E,
|
|
38740
38740
|
preserveWhiteSpace: z,
|
|
38741
38741
|
onSerialize: Q,
|
|
38742
|
-
onIframeLoad:
|
|
38742
|
+
onIframeLoad: X,
|
|
38743
38743
|
iframeLoadTimeout: ee,
|
|
38744
38744
|
onStylesheetLoad: H,
|
|
38745
38745
|
stylesheetLoadTimeout: F,
|
|
@@ -44231,20 +44231,20 @@ var DoubleLinkedList = /* @__PURE__ */ function() {
|
|
|
44231
44231
|
}), __publicField(this, "emit", function() {
|
|
44232
44232
|
if (!(i.frozen || i.locked)) {
|
|
44233
44233
|
for (var s = [], a = /* @__PURE__ */ new Set(), o = new DoubleLinkedList(), l = function(Q) {
|
|
44234
|
-
for (var
|
|
44235
|
-
|
|
44234
|
+
for (var X = Q, ee = IGNORED_NODE; ee === IGNORED_NODE; )
|
|
44235
|
+
X = X && X.nextSibling, ee = X && i.mirror.getId(X);
|
|
44236
44236
|
return ee;
|
|
44237
44237
|
}, c = function(Q) {
|
|
44238
|
-
var
|
|
44239
|
-
if (!(!
|
|
44238
|
+
var X = index.parentNode(Q);
|
|
44239
|
+
if (!(!X || !inDom(Q))) {
|
|
44240
44240
|
var ee = !1;
|
|
44241
44241
|
if (Q.nodeType === Node.TEXT_NODE) {
|
|
44242
|
-
var H =
|
|
44242
|
+
var H = X.tagName;
|
|
44243
44243
|
if (H === "TEXTAREA")
|
|
44244
44244
|
return;
|
|
44245
|
-
H === "STYLE" && i.addedSet.has(
|
|
44245
|
+
H === "STYLE" && i.addedSet.has(X) && (ee = !0);
|
|
44246
44246
|
}
|
|
44247
|
-
var F = isShadowRoot(
|
|
44247
|
+
var F = isShadowRoot(X) ? i.mirror.getId(getShadowHost(Q)) : i.mirror.getId(X), L = l(Q);
|
|
44248
44248
|
if (F === -1 || L === -1)
|
|
44249
44249
|
return o.addNode(Q);
|
|
44250
44250
|
var D = serializeNodeWithId(Q, {
|
|
@@ -44327,9 +44327,9 @@ var DoubleLinkedList = /* @__PURE__ */ function() {
|
|
|
44327
44327
|
}
|
|
44328
44328
|
var z = {
|
|
44329
44329
|
texts: i.texts.map(function(Q) {
|
|
44330
|
-
var
|
|
44330
|
+
var X = Q.node, ee = index.parentNode(X);
|
|
44331
44331
|
return ee && ee.tagName === "TEXTAREA" && i.genTextAreaValueMutation(ee), {
|
|
44332
|
-
id: i.mirror.getId(
|
|
44332
|
+
id: i.mirror.getId(X),
|
|
44333
44333
|
value: Q.value
|
|
44334
44334
|
};
|
|
44335
44335
|
}).filter(function(Q) {
|
|
@@ -44338,14 +44338,14 @@ var DoubleLinkedList = /* @__PURE__ */ function() {
|
|
|
44338
44338
|
return i.mirror.has(Q.id);
|
|
44339
44339
|
}),
|
|
44340
44340
|
attributes: i.attributes.map(function(Q) {
|
|
44341
|
-
var
|
|
44342
|
-
if (typeof
|
|
44341
|
+
var X = Q.attributes;
|
|
44342
|
+
if (typeof X.style == "string") {
|
|
44343
44343
|
var ee = JSON.stringify(Q.styleDiff), H = JSON.stringify(Q._unchangedStyles);
|
|
44344
|
-
ee.length <
|
|
44344
|
+
ee.length < X.style.length && (ee + H).split("var(").length === X.style.split("var(").length && (X.style = Q.styleDiff);
|
|
44345
44345
|
}
|
|
44346
44346
|
return {
|
|
44347
44347
|
id: i.mirror.getId(Q.node),
|
|
44348
|
-
attributes:
|
|
44348
|
+
attributes: X
|
|
44349
44349
|
};
|
|
44350
44350
|
}).filter(function(Q) {
|
|
44351
44351
|
return !a.has(Q.id);
|
|
@@ -44738,10 +44738,10 @@ function initInputObserver(e) {
|
|
|
44738
44738
|
isChecked: j
|
|
44739
44739
|
});
|
|
44740
44740
|
var Q = T.name;
|
|
44741
|
-
z === "radio" && Q && j && i.querySelectorAll('input[type="radio"][name="' + Q + '"]').forEach(function(
|
|
44742
|
-
if (
|
|
44743
|
-
var ee =
|
|
44744
|
-
y(
|
|
44741
|
+
z === "radio" && Q && j && i.querySelectorAll('input[type="radio"][name="' + Q + '"]').forEach(function(X) {
|
|
44742
|
+
if (X !== T) {
|
|
44743
|
+
var ee = X.value;
|
|
44744
|
+
y(X, p ? {
|
|
44745
44745
|
text: ee,
|
|
44746
44746
|
isChecked: !j,
|
|
44747
44747
|
userTriggered: !1
|
|
@@ -46078,7 +46078,7 @@ try {
|
|
|
46078
46078
|
var mirror = createMirror$2();
|
|
46079
46079
|
function record(e) {
|
|
46080
46080
|
e === void 0 && (e = {});
|
|
46081
|
-
var t = e.emit, i = e.checkoutEveryNms, s = e.checkoutEveryNth, a = e.blockClass, o = a === void 0 ? "rr-block" : a, l = e.blockSelector, c = l === void 0 ? null : l, u = e.ignoreClass, f = u === void 0 ? "rr-ignore" : u, d = e.ignoreSelector, p = d === void 0 ? null : d, m = e.maskTextClass, y = m === void 0 ? "rr-mask" : m, g = e.maskTextSelector, b = g === void 0 ? null : g, S = e.inlineStylesheet, k = S === void 0 ? !0 : S, E = e.maskAllInputs, A = e.maskInputOptions, C = e.slimDOMOptions, T = e.maskInputFn, I = e.maskTextFn, N = e.hooks, M = e.packFn, j = e.sampling, z = j === void 0 ? {} : j, Q = e.dataURLOptions,
|
|
46081
|
+
var t = e.emit, i = e.checkoutEveryNms, s = e.checkoutEveryNth, a = e.blockClass, o = a === void 0 ? "rr-block" : a, l = e.blockSelector, c = l === void 0 ? null : l, u = e.ignoreClass, f = u === void 0 ? "rr-ignore" : u, d = e.ignoreSelector, p = d === void 0 ? null : d, m = e.maskTextClass, y = m === void 0 ? "rr-mask" : m, g = e.maskTextSelector, b = g === void 0 ? null : g, S = e.inlineStylesheet, k = S === void 0 ? !0 : S, E = e.maskAllInputs, A = e.maskInputOptions, C = e.slimDOMOptions, T = e.maskInputFn, I = e.maskTextFn, N = e.hooks, M = e.packFn, j = e.sampling, z = j === void 0 ? {} : j, Q = e.dataURLOptions, X = Q === void 0 ? {} : Q, ee = e.mousemoveWait, H = e.recordDOM, F = H === void 0 ? !0 : H, L = e.recordCanvas, D = L === void 0 ? !1 : L, P = e.recordCrossOriginIframes, O = P === void 0 ? !1 : P, B = e.recordAfter, U = B === void 0 ? e.recordAfter === "DOMContentLoaded" ? e.recordAfter : "load" : B, te = e.userTriggeredOnInput, Z = te === void 0 ? !1 : te, re = e.collectFonts, se = re === void 0 ? !1 : re, ce = e.inlineImages, oe = ce === void 0 ? !1 : ce, K = e.plugins, ie = e.keepIframeSrcFn, le = ie === void 0 ? function() {
|
|
46082
46082
|
return !1;
|
|
46083
46083
|
} : ie, ne = e.ignoreCSSAttributes, he = ne === void 0 ? /* @__PURE__ */ new Set([]) : ne, fe = e.errorHandler;
|
|
46084
46084
|
registerErrorHandler(fe);
|
|
@@ -46194,7 +46194,7 @@ function record(e) {
|
|
|
46194
46194
|
}, Qe = new StylesheetManager({
|
|
46195
46195
|
mutationCb: Ge,
|
|
46196
46196
|
adoptedStyleSheetCb: Ve
|
|
46197
|
-
}),
|
|
46197
|
+
}), Xe = new IframeManager({
|
|
46198
46198
|
mirror,
|
|
46199
46199
|
mutationCb: Ge,
|
|
46200
46200
|
stylesheetManager: Qe,
|
|
@@ -46204,8 +46204,8 @@ function record(e) {
|
|
|
46204
46204
|
var ct = _e.value;
|
|
46205
46205
|
ct.getMirror && ct.getMirror({
|
|
46206
46206
|
nodeMirror: mirror,
|
|
46207
|
-
crossOriginIframeMirror:
|
|
46208
|
-
crossOriginIframeStyleMirror:
|
|
46207
|
+
crossOriginIframeMirror: Xe.crossOriginIframeMirror,
|
|
46208
|
+
crossOriginIframeStyleMirror: Xe.crossOriginIframeStyleMirror
|
|
46209
46209
|
});
|
|
46210
46210
|
}
|
|
46211
46211
|
var nt = new ProcessedNodeManager();
|
|
@@ -46217,7 +46217,7 @@ function record(e) {
|
|
|
46217
46217
|
blockSelector: c,
|
|
46218
46218
|
mirror,
|
|
46219
46219
|
sampling: z.canvas,
|
|
46220
|
-
dataURLOptions:
|
|
46220
|
+
dataURLOptions: X
|
|
46221
46221
|
});
|
|
46222
46222
|
var Le = new ShadowDomManager({
|
|
46223
46223
|
mutationCb: Ge,
|
|
@@ -46229,14 +46229,14 @@ function record(e) {
|
|
|
46229
46229
|
maskTextSelector: b,
|
|
46230
46230
|
inlineStylesheet: k,
|
|
46231
46231
|
maskInputOptions: Ce,
|
|
46232
|
-
dataURLOptions:
|
|
46232
|
+
dataURLOptions: X,
|
|
46233
46233
|
maskTextFn: I,
|
|
46234
46234
|
maskInputFn: T,
|
|
46235
46235
|
recordCanvas: D,
|
|
46236
46236
|
inlineImages: oe,
|
|
46237
46237
|
sampling: z,
|
|
46238
46238
|
slimDOMOptions: Oe,
|
|
46239
|
-
iframeManager:
|
|
46239
|
+
iframeManager: Xe,
|
|
46240
46240
|
stylesheetManager: Qe,
|
|
46241
46241
|
canvasManager,
|
|
46242
46242
|
keepIframeSrcFn: le,
|
|
@@ -46267,14 +46267,14 @@ function record(e) {
|
|
|
46267
46267
|
maskTextFn: I,
|
|
46268
46268
|
maskInputFn: T,
|
|
46269
46269
|
slimDOM: Oe,
|
|
46270
|
-
dataURLOptions:
|
|
46270
|
+
dataURLOptions: X,
|
|
46271
46271
|
recordCanvas: D,
|
|
46272
46272
|
inlineImages: oe,
|
|
46273
46273
|
onSerialize: function(ve) {
|
|
46274
|
-
isSerializedIframe(ve, mirror) &&
|
|
46274
|
+
isSerializedIframe(ve, mirror) && Xe.addIframe(ve), isSerializedStylesheet(ve, mirror) && Qe.trackLinkElement(ve), hasShadowRoot(ve) && Le.addShadowRoot(index.shadowRoot(ve), document);
|
|
46275
46275
|
},
|
|
46276
46276
|
onIframeLoad: function(ve, Ae) {
|
|
46277
|
-
|
|
46277
|
+
Xe.attachIframe(ve, Ae), Le.observeAttachShadow(ve);
|
|
46278
46278
|
},
|
|
46279
46279
|
onStylesheetLoad: function(ve, Ae) {
|
|
46280
46280
|
Qe.attachLinkElement(ve, Ae);
|
|
@@ -46393,7 +46393,7 @@ function record(e) {
|
|
|
46393
46393
|
recordDOM: F,
|
|
46394
46394
|
recordCanvas: D,
|
|
46395
46395
|
inlineImages: oe,
|
|
46396
|
-
userTriggeredOnInput:
|
|
46396
|
+
userTriggeredOnInput: Z,
|
|
46397
46397
|
collectFonts: se,
|
|
46398
46398
|
doc: Se,
|
|
46399
46399
|
maskInputFn: T,
|
|
@@ -46401,9 +46401,9 @@ function record(e) {
|
|
|
46401
46401
|
keepIframeSrcFn: le,
|
|
46402
46402
|
blockSelector: c,
|
|
46403
46403
|
slimDOMOptions: Oe,
|
|
46404
|
-
dataURLOptions:
|
|
46404
|
+
dataURLOptions: X,
|
|
46405
46405
|
mirror,
|
|
46406
|
-
iframeManager:
|
|
46406
|
+
iframeManager: Xe,
|
|
46407
46407
|
stylesheetManager: Qe,
|
|
46408
46408
|
shadowDomManager: Le,
|
|
46409
46409
|
processedNodeManager: nt,
|
|
@@ -46428,7 +46428,7 @@ function record(e) {
|
|
|
46428
46428
|
})) || []
|
|
46429
46429
|
}, N);
|
|
46430
46430
|
};
|
|
46431
|
-
|
|
46431
|
+
Xe.addLoadListener(function(Se) {
|
|
46432
46432
|
try {
|
|
46433
46433
|
xe.push(ke(Se.contentDocument));
|
|
46434
46434
|
} catch (qe) {
|
|
@@ -50161,7 +50161,7 @@ var mixpanel = init_as_module(loadNoop), lib = {}, uaParser_min$1 = { exports: {
|
|
|
50161
50161
|
function requireUaParser_min() {
|
|
50162
50162
|
return hasRequiredUaParser_min || (hasRequiredUaParser_min = 1, function(e, t) {
|
|
50163
50163
|
(function(i, s) {
|
|
50164
|
-
var a = "1.0.41", o = "", l = "?", c = "function", u = "undefined", f = "object", d = "string", p = "major", m = "model", y = "name", g = "type", b = "vendor", S = "version", k = "architecture", E = "console", A = "mobile", C = "tablet", T = "smarttv", I = "wearable", N = "embedded", M = 500, j = "Amazon", z = "Apple", Q = "ASUS",
|
|
50164
|
+
var a = "1.0.41", o = "", l = "?", c = "function", u = "undefined", f = "object", d = "string", p = "major", m = "model", y = "name", g = "type", b = "vendor", S = "version", k = "architecture", E = "console", A = "mobile", C = "tablet", T = "smarttv", I = "wearable", N = "embedded", M = 500, j = "Amazon", z = "Apple", Q = "ASUS", X = "BlackBerry", ee = "Browser", H = "Chrome", F = "Edge", L = "Firefox", D = "Google", P = "Honor", O = "Huawei", B = "Lenovo", U = "LG", te = "Microsoft", Z = "Motorola", re = "Nvidia", se = "OnePlus", ce = "Opera", oe = "OPPO", K = "Samsung", ie = "Sharp", le = "Sony", ne = "Xiaomi", he = "Zebra", fe = "Facebook", ue = "Chromium OS", Ee = "Mac OS", Ce = " Browser", Oe = function(Le, xe) {
|
|
50165
50165
|
var ke = {};
|
|
50166
50166
|
for (var Ne in Le)
|
|
50167
50167
|
xe[Ne] && xe[Ne].length % 2 === 0 ? ke[Ne] = xe[Ne].concat(Le[Ne]) : ke[Ne] = Le[Ne];
|
|
@@ -50197,7 +50197,7 @@ function requireUaParser_min() {
|
|
|
50197
50197
|
} else if (ye(xe[ke], Le))
|
|
50198
50198
|
return ke === l ? s : ke;
|
|
50199
50199
|
return xe.hasOwnProperty("*") ? xe["*"] : Le;
|
|
50200
|
-
}, Qe = { "1.0": "/8", 1.2: "/1", 1.3: "/3", "2.0": "/412", "2.0.2": "/416", "2.0.3": "/417", "2.0.4": "/419", "?": "/" }, Ze = { ME: "4.90", "NT 3.11": "NT3.51", "NT 4.0": "NT4.0", 2e3: "NT 5.0", XP: ["NT 5.1", "NT 5.2"], Vista: "NT 6.0", 7: "NT 6.1", 8: "NT 6.2", 8.1: "NT 6.3", 10: ["NT 6.4", "NT 10.0"], RT: "ARM" }, yt = { browser: [[/\b(?:crmo|crios)\/([\w\.]+)/i], [S, [y, "Chrome"]], [/edg(?:e|ios|a)?\/([\w\.]+)/i], [S, [y, "Edge"]], [/(opera mini)\/([-\w\.]+)/i, /(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i, /(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i], [y, S], [/opios[\/ ]+([\w\.]+)/i], [S, [y, ce + " Mini"]], [/\bop(?:rg)?x\/([\w\.]+)/i], [S, [y, ce + " GX"]], [/\bopr\/([\w\.]+)/i], [S, [y, ce]], [/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i], [S, [y, "Baidu"]], [/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i], [S, [y, "Maxthon"]], [/(kindle)\/([\w\.]+)/i, /(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i, /(avant|iemobile|slim(?:browser|boat|jet))[\/ ]?([\d\.]*)/i, /(?:ms|\()(ie) ([\w\.]+)/i, /(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio|(?=comodo_)?dragon)\/([-\w\.]+)/i, /(heytap|ovi|115)browser\/([\d\.]+)/i, /(weibo)__([\d\.]+)/i], [y, S], [/quark(?:pc)?\/([-\w\.]+)/i], [S, [y, "Quark"]], [/\bddg\/([\w\.]+)/i], [S, [y, "DuckDuckGo"]], [/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i], [S, [y, "UC" + ee]], [/microm.+\bqbcore\/([\w\.]+)/i, /\bqbcore\/([\w\.]+).+microm/i, /micromessenger\/([\w\.]+)/i], [S, [y, "WeChat"]], [/konqueror\/([\w\.]+)/i], [S, [y, "Konqueror"]], [/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i], [S, [y, "IE"]], [/ya(?:search)?browser\/([\w\.]+)/i], [S, [y, "Yandex"]], [/slbrowser\/([\w\.]+)/i], [S, [y, "Smart Lenovo " + ee]], [/(avast|avg)\/([\w\.]+)/i], [[y, /(.+)/, "$1 Secure " + ee], S], [/\bfocus\/([\w\.]+)/i], [S, [y, L + " Focus"]], [/\bopt\/([\w\.]+)/i], [S, [y, ce + " Touch"]], [/coc_coc\w+\/([\w\.]+)/i], [S, [y, "Coc Coc"]], [/dolfin\/([\w\.]+)/i], [S, [y, "Dolphin"]], [/coast\/([\w\.]+)/i], [S, [y, ce + " Coast"]], [/miuibrowser\/([\w\.]+)/i], [S, [y, "MIUI" + Ce]], [/fxios\/([\w\.-]+)/i], [S, [y, L]], [/\bqihoobrowser\/?([\w\.]*)/i], [S, [y, "360"]], [/\b(qq)\/([\w\.]+)/i], [[y, /(.+)/, "$1Browser"], S], [/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i], [[y, /(.+)/, "$1" + Ce], S], [/samsungbrowser\/([\w\.]+)/i], [S, [y, K + " Internet"]], [/metasr[\/ ]?([\d\.]+)/i], [S, [y, "Sogou Explorer"]], [/(sogou)mo\w+\/([\d\.]+)/i], [[y, "Sogou Mobile"], S], [/(electron)\/([\w\.]+) safari/i, /(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i, /m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i], [y, S], [/(lbbrowser|rekonq)/i, /\[(linkedin)app\]/i], [y], [/ome\/([\w\.]+) \w* ?(iron) saf/i, /ome\/([\w\.]+).+qihu (360)[es]e/i], [S, y], [/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i], [[y, fe], S], [/(Klarna)\/([\w\.]+)/i, /(kakao(?:talk|story))[\/ ]([\w\.]+)/i, /(naver)\(.*?(\d+\.[\w\.]+).*\)/i, /(daum)apps[\/ ]([\w\.]+)/i, /safari (line)\/([\w\.]+)/i, /\b(line)\/([\w\.]+)\/iab/i, /(alipay)client\/([\w\.]+)/i, /(twitter)(?:and| f.+e\/([\w\.]+))/i, /(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i], [y, S], [/\bgsa\/([\w\.]+) .*safari\//i], [S, [y, "GSA"]], [/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i], [S, [y, "TikTok"]], [/headlesschrome(?:\/([\w\.]+)| )/i], [S, [y, H + " Headless"]], [/ wv\).+(chrome)\/([\w\.]+)/i], [[y, H + " WebView"], S], [/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i], [S, [y, "Android " + ee]], [/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i], [y, S], [/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i], [S, [y, "Mobile Safari"]], [/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i], [S, y], [/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i], [y, [S, Ve, Qe]], [/(webkit|khtml)\/([\w\.]+)/i], [y, S], [/(navigator|netscape\d?)\/([-\w\.]+)/i], [[y, "Netscape"], S], [/(wolvic|librewolf)\/([\w\.]+)/i], [y, S], [/mobile vr; rv:([\w\.]+)\).+firefox/i], [S, [y, L + " Reality"]], [/ekiohf.+(flow)\/([\w\.]+)/i, /(swiftfox)/i, /(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i, /(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i, /(firefox)\/([\w\.]+)/i, /(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i, /(amaya|dillo|doris|icab|ladybird|lynx|mosaic|netsurf|obigo|polaris|w3m|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i, /\b(links) \(([\w\.]+)/i], [y, [S, /_/g, "."]], [/(cobalt)\/([\w\.]+)/i], [y, [S, /master.|lts./, ""]]], cpu: [[/\b((amd|x|x86[-_]?|wow|win)64)\b/i], [[k, "amd64"]], [/(ia32(?=;))/i, /\b((i[346]|x)86)(pc)?\b/i], [[k, "ia32"]], [/\b(aarch64|arm(v?[89]e?l?|_?64))\b/i], [[k, "arm64"]], [/\b(arm(v[67])?ht?n?[fl]p?)\b/i], [[k, "armhf"]], [/( (ce|mobile); ppc;|\/[\w\.]+arm\b)/i], [[k, "arm"]], [/((ppc|powerpc)(64)?)( mac|;|\))/i], [[k, /ower/, o, we]], [/ sun4\w[;\)]/i], [[k, "sparc"]], [/\b(avr32|ia64(?=;)|68k(?=\))|\barm(?=v([1-7]|[5-7]1)l?|;|eabi)|(irix|mips|sparc)(64)?\b|pa-risc)/i], [[k, we]]], device: [[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i], [m, [b, K], [g, C]], [/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i, /samsung[- ]((?!sm-[lr])[-\w]+)/i, /sec-(sgh\w+)/i], [m, [b, K], [g, A]], [/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i], [m, [b, z], [g, A]], [/\((ipad);[-\w\),; ]+apple/i, /applecoremedia\/[\w\.]+ \((ipad)/i, /\b(ipad)\d\d?,\d\d?[;\]].+ios/i], [m, [b, z], [g, C]], [/(macintosh);/i], [m, [b, z]], [/\b(sh-?[altvz]?\d\d[a-ekm]?)/i], [m, [b, ie], [g, A]], [/\b((?:brt|eln|hey2?|gdi|jdn)-a?[lnw]09|(?:ag[rm]3?|jdn2|kob2)-a?[lw]0[09]hn)(?: bui|\)|;)/i], [m, [b, P], [g, C]], [/honor([-\w ]+)[;\)]/i], [m, [b, P], [g, A]], [/\b((?:ag[rs][2356]?k?|bah[234]?|bg[2o]|bt[kv]|cmr|cpn|db[ry]2?|jdn2|got|kob2?k?|mon|pce|scm|sht?|[tw]gr|vrd)-[ad]?[lw][0125][09]b?|605hw|bg2-u03|(?:gem|fdr|m2|ple|t1)-[7a]0[1-4][lu]|t1-a2[13][lw]|mediapad[\w\. ]*(?= bui|\)))\b(?!.+d\/s)/i], [m, [b, O], [g, C]], [/(?:huawei)([-\w ]+)[;\)]/i, /\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i], [m, [b, O], [g, A]], [/oid[^\)]+; (2[\dbc]{4}(182|283|rp\w{2})[cgl]|m2105k81a?c)(?: bui|\))/i, /\b((?:red)?mi[-_ ]?pad[\w- ]*)(?: bui|\))/i], [[m, /_/g, " "], [b, ne], [g, C]], [/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i, /\b; (\w+) build\/hm\1/i, /\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i, /\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i, /oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i, /\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite|pro)?)(?: bui|\))/i, / ([\w ]+) miui\/v?\d/i], [[m, /_/g, " "], [b, ne], [g, A]], [/; (\w+) bui.+ oppo/i, /\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i], [m, [b, oe], [g, A]], [/\b(opd2(\d{3}a?))(?: bui|\))/i], [m, [b, Ve, { OnePlus: ["304", "403", "203"], "*": oe }], [g, C]], [/vivo (\w+)(?: bui|\))/i, /\b(v[12]\d{3}\w?[at])(?: bui|;)/i], [m, [b, "Vivo"], [g, A]], [/\b(rmx[1-3]\d{3})(?: bui|;|\))/i], [m, [b, "Realme"], [g, A]], [/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i, /\bmot(?:orola)?[- ](\w*)/i, /((?:moto(?! 360)[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i], [m, [b, X], [g, A]], [/\b(mz60\d|xoom[2 ]{0,2}) build\//i], [m, [b, X], [g, C]], [/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i], [m, [b, U], [g, C]], [/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i, /\blg[-e;\/ ]+((?!browser|netcast|android tv|watch)\w+)/i, /\blg-?([\d\w]+) bui/i], [m, [b, U], [g, A]], [/(ideatab[-\w ]+|602lv|d-42a|a101lv|a2109a|a3500-hv|s[56]000|pb-6505[my]|tb-?x?\d{3,4}(?:f[cu]|xu|[av])|yt\d?-[jx]?\d+[lfmx])( bui|;|\)|\/)/i, /lenovo ?(b[68]0[08]0-?[hf]?|tab(?:[\w- ]+?)|tb[\w-]{6,7})( bui|;|\)|\/)/i], [m, [b, B], [g, C]], [/(nokia) (t[12][01])/i], [b, m, [g, C]], [/(?:maemo|nokia).*(n900|lumia \d+|rm-\d+)/i, /nokia[-_ ]?(([-\w\. ]*))/i], [[m, /_/g, " "], [g, A], [b, "Nokia"]], [/(pixel (c|tablet))\b/i], [m, [b, D], [g, C]], [/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i], [m, [b, D], [g, A]], [/droid.+; (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i], [m, [b, le], [g, A]], [/sony tablet [ps]/i, /\b(?:sony)?sgp\w+(?: bui|\))/i], [[m, "Xperia Tablet"], [b, le], [g, C]], [/ (kb2005|in20[12]5|be20[12][59])\b/i, /(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i], [m, [b, se], [g, A]], [/(alexa)webm/i, /(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i, /(kf[a-z]+)( bui|\)).+silk\//i], [m, [b, j], [g, C]], [/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i], [[m, /(.+)/g, "Fire Phone $1"], [b, j], [g, A]], [/(playbook);[-\w\),; ]+(rim)/i], [m, b, [g, C]], [/\b((?:bb[a-f]|st[hv])100-\d)/i, /\(bb10; (\w+)/i], [m, [b, Z], [g, A]], [/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i], [m, [b, Q], [g, C]], [/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i], [m, [b, Q], [g, A]], [/(nexus 9)/i], [m, [b, "HTC"], [g, C]], [/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i, /(zte)[- ]([\w ]+?)(?: bui|\/|\))/i, /(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i], [b, [m, /_/g, " "], [g, A]], [/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])\w*(\)| bui)/i], [m, [b, "TCL"], [g, C]], [/(itel) ((\w+))/i], [[b, we], m, [g, Ve, { tablet: ["p10001l", "w7001"], "*": "mobile" }]], [/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i], [m, [b, "Acer"], [g, C]], [/droid.+; (m[1-5] note) bui/i, /\bmz-([-\w]{2,})/i], [m, [b, "Meizu"], [g, A]], [/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i], [m, [b, "Ulefone"], [g, A]], [/; (energy ?\w+)(?: bui|\))/i, /; energizer ([\w ]+)(?: bui|\))/i], [m, [b, "Energizer"], [g, A]], [/; cat (b35);/i, /; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i], [m, [b, "Cat"], [g, A]], [/((?:new )?andromax[\w- ]+)(?: bui|\))/i], [m, [b, "Smartfren"], [g, A]], [/droid.+; (a(?:015|06[35]|142p?))/i], [m, [b, "Nothing"], [g, A]], [/; (x67 5g|tikeasy \w+|ac[1789]\d\w+)( b|\))/i, /archos ?(5|gamepad2?|([\w ]*[t1789]|hello) ?\d+[\w ]*)( b|\))/i], [m, [b, "Archos"], [g, C]], [/archos ([\w ]+)( b|\))/i, /; (ac[3-6]\d\w{2,8})( b|\))/i], [m, [b, "Archos"], [g, A]], [/(imo) (tab \w+)/i, /(infinix) (x1101b?)/i], [b, m, [g, C]], [/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus(?! zenw)|dell|jolla|meizu|motorola|polytron|infinix|tecno|micromax|advan)[-_ ]?([-\w]*)/i, /; (hmd|imo) ([\w ]+?)(?: bui|\))/i, /(hp) ([\w ]+\w)/i, /(microsoft); (lumia[\w ]+)/i, /(lenovo)[-_ ]?([-\w ]+?)(?: bui|\)|\/)/i, /(oppo) ?([\w ]+) bui/i], [b, m, [g, A]], [/(kobo)\s(ereader|touch)/i, /(hp).+(touchpad(?!.+tablet)|tablet)/i, /(kindle)\/([\w\.]+)/i, /(nook)[\w ]+build\/(\w+)/i, /(dell) (strea[kpr\d ]*[\dko])/i, /(le[- ]+pan)[- ]+(\w{1,9}) bui/i, /(trinity)[- ]*(t\d{3}) bui/i, /(gigaset)[- ]+(q\w{1,9}) bui/i, /(vodafone) ([\w ]+)(?:\)| bui)/i], [b, m, [g, C]], [/(surface duo)/i], [m, [b, te], [g, C]], [/droid [\d\.]+; (fp\du?)(?: b|\))/i], [m, [b, "Fairphone"], [g, A]], [/(u304aa)/i], [m, [b, "AT&T"], [g, A]], [/\bsie-(\w*)/i], [m, [b, "Siemens"], [g, A]], [/\b(rct\w+) b/i], [m, [b, "RCA"], [g, C]], [/\b(venue[\d ]{2,7}) b/i], [m, [b, "Dell"], [g, C]], [/\b(q(?:mv|ta)\w+) b/i], [m, [b, "Verizon"], [g, C]], [/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i], [m, [b, "Barnes & Noble"], [g, C]], [/\b(tm\d{3}\w+) b/i], [m, [b, "NuVision"], [g, C]], [/\b(k88) b/i], [m, [b, "ZTE"], [g, C]], [/\b(nx\d{3}j) b/i], [m, [b, "ZTE"], [g, A]], [/\b(gen\d{3}) b.+49h/i], [m, [b, "Swiss"], [g, A]], [/\b(zur\d{3}) b/i], [m, [b, "Swiss"], [g, C]], [/\b((zeki)?tb.*\b) b/i], [m, [b, "Zeki"], [g, C]], [/\b([yr]\d{2}) b/i, /\b(dragon[- ]+touch |dt)(\w{5}) b/i], [[b, "Dragon Touch"], m, [g, C]], [/\b(ns-?\w{0,9}) b/i], [m, [b, "Insignia"], [g, C]], [/\b((nxa|next)-?\w{0,9}) b/i], [m, [b, "NextBook"], [g, C]], [/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i], [[b, "Voice"], m, [g, A]], [/\b(lvtel\-)?(v1[12]) b/i], [[b, "LvTel"], m, [g, A]], [/\b(ph-1) /i], [m, [b, "Essential"], [g, A]], [/\b(v(100md|700na|7011|917g).*\b) b/i], [m, [b, "Envizen"], [g, C]], [/\b(trio[-\w\. ]+) b/i], [m, [b, "MachSpeed"], [g, C]], [/\btu_(1491) b/i], [m, [b, "Rotor"], [g, C]], [/((?:tegranote|shield t(?!.+d tv))[\w- ]*?)(?: b|\))/i], [m, [b, re], [g, C]], [/(sprint) (\w+)/i], [b, m, [g, A]], [/(kin\.[onetw]{3})/i], [[m, /\./g, " "], [b, te], [g, A]], [/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i], [m, [b, he], [g, C]], [/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i], [m, [b, he], [g, A]], [/smart-tv.+(samsung)/i], [b, [g, T]], [/hbbtv.+maple;(\d+)/i], [[m, /^/, "SmartTV"], [b, K], [g, T]], [/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i], [[b, U], [g, T]], [/(apple) ?tv/i], [b, [m, z + " TV"], [g, T]], [/crkey/i], [[m, H + "cast"], [b, D], [g, T]], [/droid.+aft(\w+)( bui|\))/i], [m, [b, j], [g, T]], [/(shield \w+ tv)/i], [m, [b, re], [g, T]], [/\(dtv[\);].+(aquos)/i, /(aquos-tv[\w ]+)\)/i], [m, [b, ie], [g, T]], [/(bravia[\w ]+)( bui|\))/i], [m, [b, le], [g, T]], [/(mi(tv|box)-?\w+) bui/i], [m, [b, ne], [g, T]], [/Hbbtv.*(technisat) (.*);/i], [b, m, [g, T]], [/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i, /hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i], [[b, Fe], [m, Fe], [g, T]], [/droid.+; ([\w- ]+) (?:android tv|smart[- ]?tv)/i], [m, [g, T]], [/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i], [[g, T]], [/(ouya)/i, /(nintendo) ([wids3utch]+)/i], [b, m, [g, E]], [/droid.+; (shield)( bui|\))/i], [m, [b, re], [g, E]], [/(playstation \w+)/i], [m, [b, le], [g, E]], [/\b(xbox(?: one)?(?!; xbox))[\); ]/i], [m, [b, te], [g, E]], [/\b(sm-[lr]\d\d[0156][fnuw]?s?|gear live)\b/i], [m, [b, K], [g, I]], [/((pebble))app/i, /(asus|google|lg|oppo) ((pixel |zen)?watch[\w ]*)( bui|\))/i], [b, m, [g, I]], [/(ow(?:19|20)?we?[1-3]{1,3})/i], [m, [b, oe], [g, I]], [/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i], [m, [b, z], [g, I]], [/(opwwe\d{3})/i], [m, [b, se], [g, I]], [/(moto 360)/i], [m, [b, X], [g, I]], [/(smartwatch 3)/i], [m, [b, le], [g, I]], [/(g watch r)/i], [m, [b, U], [g, I]], [/droid.+; (wt63?0{2,3})\)/i], [m, [b, he], [g, I]], [/droid.+; (glass) \d/i], [m, [b, D], [g, I]], [/(pico) (4|neo3(?: link|pro)?)/i], [b, m, [g, I]], [/; (quest( \d| pro)?)/i], [m, [b, fe], [g, I]], [/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i], [b, [g, N]], [/(aeobc)\b/i], [m, [b, j], [g, N]], [/(homepod).+mac os/i], [m, [b, z], [g, N]], [/windows iot/i], [[g, N]], [/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i], [m, [g, A]], [/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i], [m, [g, C]], [/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i], [[g, C]], [/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i], [[g, A]], [/droid .+?; ([\w\. -]+)( bui|\))/i], [m, [b, "Generic"]]], engine: [[/windows.+ edge\/([\w\.]+)/i], [S, [y, F + "HTML"]], [/(arkweb)\/([\w\.]+)/i], [y, S], [/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i], [S, [y, "Blink"]], [/(presto)\/([\w\.]+)/i, /(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna|servo)\/([\w\.]+)/i, /ekioh(flow)\/([\w\.]+)/i, /(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i, /(icab)[\/ ]([23]\.[\d\.]+)/i, /\b(libweb)/i], [y, S], [/ladybird\//i], [[y, "LibWeb"]], [/rv\:([\w\.]{1,9})\b.+(gecko)/i], [S, y]], os: [[/microsoft (windows) (vista|xp)/i], [y, S], [/(windows (?:phone(?: os)?|mobile|iot))[\/ ]?([\d\.\w ]*)/i], [y, [S, Ve, Ze]], [/windows nt 6\.2; (arm)/i, /windows[\/ ]([ntce\d\. ]+\w)(?!.+xbox)/i, /(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i], [[S, Ve, Ze], [y, "Windows"]], [/[adehimnop]{4,7}\b(?:.*os ([\w]+) like mac|; opera)/i, /(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i, /cfnetwork\/.+darwin/i], [[S, /_/g, "."], [y, "iOS"]], [/(mac os x) ?([\w\. ]*)/i, /(macintosh|mac_powerpc\b)(?!.+haiku)/i], [[y, Ee], [S, /_/g, "."]], [/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i], [S, y], [/(ubuntu) ([\w\.]+) like android/i], [[y, /(.+)/, "$1 Touch"], S], [/(android|bada|blackberry|kaios|maemo|meego|openharmony|qnx|rim tablet os|sailfish|series40|symbian|tizen|webos)\w*[-\/; ]?([\d\.]*)/i], [y, S], [/\(bb(10);/i], [S, [y, Z]], [/(?:symbian ?os|symbos|s60(?=;)|series ?60)[-\/ ]?([\w\.]*)/i], [S, [y, "Symbian"]], [/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i], [S, [y, L + " OS"]], [/web0s;.+rt(tv)/i, /\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i], [S, [y, "webOS"]], [/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i], [S, [y, "watchOS"]], [/crkey\/([\d\.]+)/i], [S, [y, H + "cast"]], [/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i], [[y, ue], S], [/panasonic;(viera)/i, /(netrange)mmh/i, /(nettv)\/(\d+\.[\w\.]+)/i, /(nintendo|playstation) ([wids345portablevuch]+)/i, /(xbox); +xbox ([^\);]+)/i, /\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i, /(mint)[\/\(\) ]?(\w*)/i, /(mageia|vectorlinux)[; ]/i, /([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i, /(hurd|linux)(?: arm\w*| x86\w*| ?)([\w\.]*)/i, /(gnu) ?([\w\.]*)/i, /\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i, /(haiku) (\w+)/i], [y, S], [/(sunos) ?([\w\.\d]*)/i], [[y, "Solaris"], S], [/((?:open)?solaris)[-\/ ]?([\w\.]*)/i, /(aix) ((\d)(?=\.|\)| )[\w\.])*/i, /\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i, /(unix) ?([\w\.]*)/i], [y, S]] }, _e = function(Le, xe) {
|
|
50200
|
+
}, Qe = { "1.0": "/8", 1.2: "/1", 1.3: "/3", "2.0": "/412", "2.0.2": "/416", "2.0.3": "/417", "2.0.4": "/419", "?": "/" }, Xe = { ME: "4.90", "NT 3.11": "NT3.51", "NT 4.0": "NT4.0", 2e3: "NT 5.0", XP: ["NT 5.1", "NT 5.2"], Vista: "NT 6.0", 7: "NT 6.1", 8: "NT 6.2", 8.1: "NT 6.3", 10: ["NT 6.4", "NT 10.0"], RT: "ARM" }, yt = { browser: [[/\b(?:crmo|crios)\/([\w\.]+)/i], [S, [y, "Chrome"]], [/edg(?:e|ios|a)?\/([\w\.]+)/i], [S, [y, "Edge"]], [/(opera mini)\/([-\w\.]+)/i, /(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i, /(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i], [y, S], [/opios[\/ ]+([\w\.]+)/i], [S, [y, ce + " Mini"]], [/\bop(?:rg)?x\/([\w\.]+)/i], [S, [y, ce + " GX"]], [/\bopr\/([\w\.]+)/i], [S, [y, ce]], [/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i], [S, [y, "Baidu"]], [/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i], [S, [y, "Maxthon"]], [/(kindle)\/([\w\.]+)/i, /(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i, /(avant|iemobile|slim(?:browser|boat|jet))[\/ ]?([\d\.]*)/i, /(?:ms|\()(ie) ([\w\.]+)/i, /(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio|(?=comodo_)?dragon)\/([-\w\.]+)/i, /(heytap|ovi|115)browser\/([\d\.]+)/i, /(weibo)__([\d\.]+)/i], [y, S], [/quark(?:pc)?\/([-\w\.]+)/i], [S, [y, "Quark"]], [/\bddg\/([\w\.]+)/i], [S, [y, "DuckDuckGo"]], [/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i], [S, [y, "UC" + ee]], [/microm.+\bqbcore\/([\w\.]+)/i, /\bqbcore\/([\w\.]+).+microm/i, /micromessenger\/([\w\.]+)/i], [S, [y, "WeChat"]], [/konqueror\/([\w\.]+)/i], [S, [y, "Konqueror"]], [/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i], [S, [y, "IE"]], [/ya(?:search)?browser\/([\w\.]+)/i], [S, [y, "Yandex"]], [/slbrowser\/([\w\.]+)/i], [S, [y, "Smart Lenovo " + ee]], [/(avast|avg)\/([\w\.]+)/i], [[y, /(.+)/, "$1 Secure " + ee], S], [/\bfocus\/([\w\.]+)/i], [S, [y, L + " Focus"]], [/\bopt\/([\w\.]+)/i], [S, [y, ce + " Touch"]], [/coc_coc\w+\/([\w\.]+)/i], [S, [y, "Coc Coc"]], [/dolfin\/([\w\.]+)/i], [S, [y, "Dolphin"]], [/coast\/([\w\.]+)/i], [S, [y, ce + " Coast"]], [/miuibrowser\/([\w\.]+)/i], [S, [y, "MIUI" + Ce]], [/fxios\/([\w\.-]+)/i], [S, [y, L]], [/\bqihoobrowser\/?([\w\.]*)/i], [S, [y, "360"]], [/\b(qq)\/([\w\.]+)/i], [[y, /(.+)/, "$1Browser"], S], [/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i], [[y, /(.+)/, "$1" + Ce], S], [/samsungbrowser\/([\w\.]+)/i], [S, [y, K + " Internet"]], [/metasr[\/ ]?([\d\.]+)/i], [S, [y, "Sogou Explorer"]], [/(sogou)mo\w+\/([\d\.]+)/i], [[y, "Sogou Mobile"], S], [/(electron)\/([\w\.]+) safari/i, /(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i, /m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i], [y, S], [/(lbbrowser|rekonq)/i, /\[(linkedin)app\]/i], [y], [/ome\/([\w\.]+) \w* ?(iron) saf/i, /ome\/([\w\.]+).+qihu (360)[es]e/i], [S, y], [/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i], [[y, fe], S], [/(Klarna)\/([\w\.]+)/i, /(kakao(?:talk|story))[\/ ]([\w\.]+)/i, /(naver)\(.*?(\d+\.[\w\.]+).*\)/i, /(daum)apps[\/ ]([\w\.]+)/i, /safari (line)\/([\w\.]+)/i, /\b(line)\/([\w\.]+)\/iab/i, /(alipay)client\/([\w\.]+)/i, /(twitter)(?:and| f.+e\/([\w\.]+))/i, /(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i], [y, S], [/\bgsa\/([\w\.]+) .*safari\//i], [S, [y, "GSA"]], [/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i], [S, [y, "TikTok"]], [/headlesschrome(?:\/([\w\.]+)| )/i], [S, [y, H + " Headless"]], [/ wv\).+(chrome)\/([\w\.]+)/i], [[y, H + " WebView"], S], [/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i], [S, [y, "Android " + ee]], [/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i], [y, S], [/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i], [S, [y, "Mobile Safari"]], [/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i], [S, y], [/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i], [y, [S, Ve, Qe]], [/(webkit|khtml)\/([\w\.]+)/i], [y, S], [/(navigator|netscape\d?)\/([-\w\.]+)/i], [[y, "Netscape"], S], [/(wolvic|librewolf)\/([\w\.]+)/i], [y, S], [/mobile vr; rv:([\w\.]+)\).+firefox/i], [S, [y, L + " Reality"]], [/ekiohf.+(flow)\/([\w\.]+)/i, /(swiftfox)/i, /(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i, /(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i, /(firefox)\/([\w\.]+)/i, /(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i, /(amaya|dillo|doris|icab|ladybird|lynx|mosaic|netsurf|obigo|polaris|w3m|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i, /\b(links) \(([\w\.]+)/i], [y, [S, /_/g, "."]], [/(cobalt)\/([\w\.]+)/i], [y, [S, /master.|lts./, ""]]], cpu: [[/\b((amd|x|x86[-_]?|wow|win)64)\b/i], [[k, "amd64"]], [/(ia32(?=;))/i, /\b((i[346]|x)86)(pc)?\b/i], [[k, "ia32"]], [/\b(aarch64|arm(v?[89]e?l?|_?64))\b/i], [[k, "arm64"]], [/\b(arm(v[67])?ht?n?[fl]p?)\b/i], [[k, "armhf"]], [/( (ce|mobile); ppc;|\/[\w\.]+arm\b)/i], [[k, "arm"]], [/((ppc|powerpc)(64)?)( mac|;|\))/i], [[k, /ower/, o, we]], [/ sun4\w[;\)]/i], [[k, "sparc"]], [/\b(avr32|ia64(?=;)|68k(?=\))|\barm(?=v([1-7]|[5-7]1)l?|;|eabi)|(irix|mips|sparc)(64)?\b|pa-risc)/i], [[k, we]]], device: [[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i], [m, [b, K], [g, C]], [/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i, /samsung[- ]((?!sm-[lr])[-\w]+)/i, /sec-(sgh\w+)/i], [m, [b, K], [g, A]], [/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i], [m, [b, z], [g, A]], [/\((ipad);[-\w\),; ]+apple/i, /applecoremedia\/[\w\.]+ \((ipad)/i, /\b(ipad)\d\d?,\d\d?[;\]].+ios/i], [m, [b, z], [g, C]], [/(macintosh);/i], [m, [b, z]], [/\b(sh-?[altvz]?\d\d[a-ekm]?)/i], [m, [b, ie], [g, A]], [/\b((?:brt|eln|hey2?|gdi|jdn)-a?[lnw]09|(?:ag[rm]3?|jdn2|kob2)-a?[lw]0[09]hn)(?: bui|\)|;)/i], [m, [b, P], [g, C]], [/honor([-\w ]+)[;\)]/i], [m, [b, P], [g, A]], [/\b((?:ag[rs][2356]?k?|bah[234]?|bg[2o]|bt[kv]|cmr|cpn|db[ry]2?|jdn2|got|kob2?k?|mon|pce|scm|sht?|[tw]gr|vrd)-[ad]?[lw][0125][09]b?|605hw|bg2-u03|(?:gem|fdr|m2|ple|t1)-[7a]0[1-4][lu]|t1-a2[13][lw]|mediapad[\w\. ]*(?= bui|\)))\b(?!.+d\/s)/i], [m, [b, O], [g, C]], [/(?:huawei)([-\w ]+)[;\)]/i, /\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i], [m, [b, O], [g, A]], [/oid[^\)]+; (2[\dbc]{4}(182|283|rp\w{2})[cgl]|m2105k81a?c)(?: bui|\))/i, /\b((?:red)?mi[-_ ]?pad[\w- ]*)(?: bui|\))/i], [[m, /_/g, " "], [b, ne], [g, C]], [/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i, /\b; (\w+) build\/hm\1/i, /\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i, /\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i, /oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i, /\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite|pro)?)(?: bui|\))/i, / ([\w ]+) miui\/v?\d/i], [[m, /_/g, " "], [b, ne], [g, A]], [/; (\w+) bui.+ oppo/i, /\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i], [m, [b, oe], [g, A]], [/\b(opd2(\d{3}a?))(?: bui|\))/i], [m, [b, Ve, { OnePlus: ["304", "403", "203"], "*": oe }], [g, C]], [/vivo (\w+)(?: bui|\))/i, /\b(v[12]\d{3}\w?[at])(?: bui|;)/i], [m, [b, "Vivo"], [g, A]], [/\b(rmx[1-3]\d{3})(?: bui|;|\))/i], [m, [b, "Realme"], [g, A]], [/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i, /\bmot(?:orola)?[- ](\w*)/i, /((?:moto(?! 360)[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i], [m, [b, Z], [g, A]], [/\b(mz60\d|xoom[2 ]{0,2}) build\//i], [m, [b, Z], [g, C]], [/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i], [m, [b, U], [g, C]], [/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i, /\blg[-e;\/ ]+((?!browser|netcast|android tv|watch)\w+)/i, /\blg-?([\d\w]+) bui/i], [m, [b, U], [g, A]], [/(ideatab[-\w ]+|602lv|d-42a|a101lv|a2109a|a3500-hv|s[56]000|pb-6505[my]|tb-?x?\d{3,4}(?:f[cu]|xu|[av])|yt\d?-[jx]?\d+[lfmx])( bui|;|\)|\/)/i, /lenovo ?(b[68]0[08]0-?[hf]?|tab(?:[\w- ]+?)|tb[\w-]{6,7})( bui|;|\)|\/)/i], [m, [b, B], [g, C]], [/(nokia) (t[12][01])/i], [b, m, [g, C]], [/(?:maemo|nokia).*(n900|lumia \d+|rm-\d+)/i, /nokia[-_ ]?(([-\w\. ]*))/i], [[m, /_/g, " "], [g, A], [b, "Nokia"]], [/(pixel (c|tablet))\b/i], [m, [b, D], [g, C]], [/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i], [m, [b, D], [g, A]], [/droid.+; (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i], [m, [b, le], [g, A]], [/sony tablet [ps]/i, /\b(?:sony)?sgp\w+(?: bui|\))/i], [[m, "Xperia Tablet"], [b, le], [g, C]], [/ (kb2005|in20[12]5|be20[12][59])\b/i, /(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i], [m, [b, se], [g, A]], [/(alexa)webm/i, /(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i, /(kf[a-z]+)( bui|\)).+silk\//i], [m, [b, j], [g, C]], [/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i], [[m, /(.+)/g, "Fire Phone $1"], [b, j], [g, A]], [/(playbook);[-\w\),; ]+(rim)/i], [m, b, [g, C]], [/\b((?:bb[a-f]|st[hv])100-\d)/i, /\(bb10; (\w+)/i], [m, [b, X], [g, A]], [/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i], [m, [b, Q], [g, C]], [/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i], [m, [b, Q], [g, A]], [/(nexus 9)/i], [m, [b, "HTC"], [g, C]], [/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i, /(zte)[- ]([\w ]+?)(?: bui|\/|\))/i, /(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i], [b, [m, /_/g, " "], [g, A]], [/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])\w*(\)| bui)/i], [m, [b, "TCL"], [g, C]], [/(itel) ((\w+))/i], [[b, we], m, [g, Ve, { tablet: ["p10001l", "w7001"], "*": "mobile" }]], [/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i], [m, [b, "Acer"], [g, C]], [/droid.+; (m[1-5] note) bui/i, /\bmz-([-\w]{2,})/i], [m, [b, "Meizu"], [g, A]], [/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i], [m, [b, "Ulefone"], [g, A]], [/; (energy ?\w+)(?: bui|\))/i, /; energizer ([\w ]+)(?: bui|\))/i], [m, [b, "Energizer"], [g, A]], [/; cat (b35);/i, /; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i], [m, [b, "Cat"], [g, A]], [/((?:new )?andromax[\w- ]+)(?: bui|\))/i], [m, [b, "Smartfren"], [g, A]], [/droid.+; (a(?:015|06[35]|142p?))/i], [m, [b, "Nothing"], [g, A]], [/; (x67 5g|tikeasy \w+|ac[1789]\d\w+)( b|\))/i, /archos ?(5|gamepad2?|([\w ]*[t1789]|hello) ?\d+[\w ]*)( b|\))/i], [m, [b, "Archos"], [g, C]], [/archos ([\w ]+)( b|\))/i, /; (ac[3-6]\d\w{2,8})( b|\))/i], [m, [b, "Archos"], [g, A]], [/(imo) (tab \w+)/i, /(infinix) (x1101b?)/i], [b, m, [g, C]], [/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus(?! zenw)|dell|jolla|meizu|motorola|polytron|infinix|tecno|micromax|advan)[-_ ]?([-\w]*)/i, /; (hmd|imo) ([\w ]+?)(?: bui|\))/i, /(hp) ([\w ]+\w)/i, /(microsoft); (lumia[\w ]+)/i, /(lenovo)[-_ ]?([-\w ]+?)(?: bui|\)|\/)/i, /(oppo) ?([\w ]+) bui/i], [b, m, [g, A]], [/(kobo)\s(ereader|touch)/i, /(hp).+(touchpad(?!.+tablet)|tablet)/i, /(kindle)\/([\w\.]+)/i, /(nook)[\w ]+build\/(\w+)/i, /(dell) (strea[kpr\d ]*[\dko])/i, /(le[- ]+pan)[- ]+(\w{1,9}) bui/i, /(trinity)[- ]*(t\d{3}) bui/i, /(gigaset)[- ]+(q\w{1,9}) bui/i, /(vodafone) ([\w ]+)(?:\)| bui)/i], [b, m, [g, C]], [/(surface duo)/i], [m, [b, te], [g, C]], [/droid [\d\.]+; (fp\du?)(?: b|\))/i], [m, [b, "Fairphone"], [g, A]], [/(u304aa)/i], [m, [b, "AT&T"], [g, A]], [/\bsie-(\w*)/i], [m, [b, "Siemens"], [g, A]], [/\b(rct\w+) b/i], [m, [b, "RCA"], [g, C]], [/\b(venue[\d ]{2,7}) b/i], [m, [b, "Dell"], [g, C]], [/\b(q(?:mv|ta)\w+) b/i], [m, [b, "Verizon"], [g, C]], [/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i], [m, [b, "Barnes & Noble"], [g, C]], [/\b(tm\d{3}\w+) b/i], [m, [b, "NuVision"], [g, C]], [/\b(k88) b/i], [m, [b, "ZTE"], [g, C]], [/\b(nx\d{3}j) b/i], [m, [b, "ZTE"], [g, A]], [/\b(gen\d{3}) b.+49h/i], [m, [b, "Swiss"], [g, A]], [/\b(zur\d{3}) b/i], [m, [b, "Swiss"], [g, C]], [/\b((zeki)?tb.*\b) b/i], [m, [b, "Zeki"], [g, C]], [/\b([yr]\d{2}) b/i, /\b(dragon[- ]+touch |dt)(\w{5}) b/i], [[b, "Dragon Touch"], m, [g, C]], [/\b(ns-?\w{0,9}) b/i], [m, [b, "Insignia"], [g, C]], [/\b((nxa|next)-?\w{0,9}) b/i], [m, [b, "NextBook"], [g, C]], [/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i], [[b, "Voice"], m, [g, A]], [/\b(lvtel\-)?(v1[12]) b/i], [[b, "LvTel"], m, [g, A]], [/\b(ph-1) /i], [m, [b, "Essential"], [g, A]], [/\b(v(100md|700na|7011|917g).*\b) b/i], [m, [b, "Envizen"], [g, C]], [/\b(trio[-\w\. ]+) b/i], [m, [b, "MachSpeed"], [g, C]], [/\btu_(1491) b/i], [m, [b, "Rotor"], [g, C]], [/((?:tegranote|shield t(?!.+d tv))[\w- ]*?)(?: b|\))/i], [m, [b, re], [g, C]], [/(sprint) (\w+)/i], [b, m, [g, A]], [/(kin\.[onetw]{3})/i], [[m, /\./g, " "], [b, te], [g, A]], [/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i], [m, [b, he], [g, C]], [/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i], [m, [b, he], [g, A]], [/smart-tv.+(samsung)/i], [b, [g, T]], [/hbbtv.+maple;(\d+)/i], [[m, /^/, "SmartTV"], [b, K], [g, T]], [/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i], [[b, U], [g, T]], [/(apple) ?tv/i], [b, [m, z + " TV"], [g, T]], [/crkey/i], [[m, H + "cast"], [b, D], [g, T]], [/droid.+aft(\w+)( bui|\))/i], [m, [b, j], [g, T]], [/(shield \w+ tv)/i], [m, [b, re], [g, T]], [/\(dtv[\);].+(aquos)/i, /(aquos-tv[\w ]+)\)/i], [m, [b, ie], [g, T]], [/(bravia[\w ]+)( bui|\))/i], [m, [b, le], [g, T]], [/(mi(tv|box)-?\w+) bui/i], [m, [b, ne], [g, T]], [/Hbbtv.*(technisat) (.*);/i], [b, m, [g, T]], [/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i, /hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i], [[b, Fe], [m, Fe], [g, T]], [/droid.+; ([\w- ]+) (?:android tv|smart[- ]?tv)/i], [m, [g, T]], [/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i], [[g, T]], [/(ouya)/i, /(nintendo) ([wids3utch]+)/i], [b, m, [g, E]], [/droid.+; (shield)( bui|\))/i], [m, [b, re], [g, E]], [/(playstation \w+)/i], [m, [b, le], [g, E]], [/\b(xbox(?: one)?(?!; xbox))[\); ]/i], [m, [b, te], [g, E]], [/\b(sm-[lr]\d\d[0156][fnuw]?s?|gear live)\b/i], [m, [b, K], [g, I]], [/((pebble))app/i, /(asus|google|lg|oppo) ((pixel |zen)?watch[\w ]*)( bui|\))/i], [b, m, [g, I]], [/(ow(?:19|20)?we?[1-3]{1,3})/i], [m, [b, oe], [g, I]], [/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i], [m, [b, z], [g, I]], [/(opwwe\d{3})/i], [m, [b, se], [g, I]], [/(moto 360)/i], [m, [b, Z], [g, I]], [/(smartwatch 3)/i], [m, [b, le], [g, I]], [/(g watch r)/i], [m, [b, U], [g, I]], [/droid.+; (wt63?0{2,3})\)/i], [m, [b, he], [g, I]], [/droid.+; (glass) \d/i], [m, [b, D], [g, I]], [/(pico) (4|neo3(?: link|pro)?)/i], [b, m, [g, I]], [/; (quest( \d| pro)?)/i], [m, [b, fe], [g, I]], [/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i], [b, [g, N]], [/(aeobc)\b/i], [m, [b, j], [g, N]], [/(homepod).+mac os/i], [m, [b, z], [g, N]], [/windows iot/i], [[g, N]], [/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i], [m, [g, A]], [/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i], [m, [g, C]], [/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i], [[g, C]], [/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i], [[g, A]], [/droid .+?; ([\w\. -]+)( bui|\))/i], [m, [b, "Generic"]]], engine: [[/windows.+ edge\/([\w\.]+)/i], [S, [y, F + "HTML"]], [/(arkweb)\/([\w\.]+)/i], [y, S], [/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i], [S, [y, "Blink"]], [/(presto)\/([\w\.]+)/i, /(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna|servo)\/([\w\.]+)/i, /ekioh(flow)\/([\w\.]+)/i, /(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i, /(icab)[\/ ]([23]\.[\d\.]+)/i, /\b(libweb)/i], [y, S], [/ladybird\//i], [[y, "LibWeb"]], [/rv\:([\w\.]{1,9})\b.+(gecko)/i], [S, y]], os: [[/microsoft (windows) (vista|xp)/i], [y, S], [/(windows (?:phone(?: os)?|mobile|iot))[\/ ]?([\d\.\w ]*)/i], [y, [S, Ve, Xe]], [/windows nt 6\.2; (arm)/i, /windows[\/ ]([ntce\d\. ]+\w)(?!.+xbox)/i, /(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i], [[S, Ve, Xe], [y, "Windows"]], [/[adehimnop]{4,7}\b(?:.*os ([\w]+) like mac|; opera)/i, /(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i, /cfnetwork\/.+darwin/i], [[S, /_/g, "."], [y, "iOS"]], [/(mac os x) ?([\w\. ]*)/i, /(macintosh|mac_powerpc\b)(?!.+haiku)/i], [[y, Ee], [S, /_/g, "."]], [/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i], [S, y], [/(ubuntu) ([\w\.]+) like android/i], [[y, /(.+)/, "$1 Touch"], S], [/(android|bada|blackberry|kaios|maemo|meego|openharmony|qnx|rim tablet os|sailfish|series40|symbian|tizen|webos)\w*[-\/; ]?([\d\.]*)/i], [y, S], [/\(bb(10);/i], [S, [y, X]], [/(?:symbian ?os|symbos|s60(?=;)|series ?60)[-\/ ]?([\w\.]*)/i], [S, [y, "Symbian"]], [/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i], [S, [y, L + " OS"]], [/web0s;.+rt(tv)/i, /\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i], [S, [y, "webOS"]], [/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i], [S, [y, "watchOS"]], [/crkey\/([\d\.]+)/i], [S, [y, H + "cast"]], [/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i], [[y, ue], S], [/panasonic;(viera)/i, /(netrange)mmh/i, /(nettv)\/(\d+\.[\w\.]+)/i, /(nintendo|playstation) ([wids345portablevuch]+)/i, /(xbox); +xbox ([^\);]+)/i, /\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i, /(mint)[\/\(\) ]?(\w*)/i, /(mageia|vectorlinux)[; ]/i, /([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i, /(hurd|linux)(?: arm\w*| x86\w*| ?)([\w\.]*)/i, /(gnu) ?([\w\.]*)/i, /\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i, /(haiku) (\w+)/i], [y, S], [/(sunos) ?([\w\.\d]*)/i], [[y, "Solaris"], S], [/((?:open)?solaris)[-\/ ]?([\w\.]*)/i, /(aix) ((\d)(?=\.|\)| )[\w\.])*/i, /\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i, /(unix) ?([\w\.]*)/i], [y, S]] }, _e = function(Le, xe) {
|
|
50201
50201
|
if (typeof Le === f && (xe = Le, Le = s), !(this instanceof _e))
|
|
50202
50202
|
return new _e(Le, xe).getResult();
|
|
50203
50203
|
var ke = typeof i !== u && i.navigator ? i.navigator : s, Ne = Le || (ke && ke.userAgent ? ke.userAgent : o), Se = ke && ke.userAgentData ? ke.userAgentData : s, qe = xe ? Oe(yt, xe) : yt, ve = ke && ke.userAgent == Ne;
|
|
@@ -50381,7 +50381,7 @@ function requireLib() {
|
|
|
50381
50381
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
50382
50382
|
return ae;
|
|
50383
50383
|
}
|
|
50384
|
-
function
|
|
50384
|
+
function X(ae, W) {
|
|
50385
50385
|
if (W && (typeof W == "object" || typeof W == "function"))
|
|
50386
50386
|
return W;
|
|
50387
50387
|
if (W !== void 0)
|
|
@@ -50465,7 +50465,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
50465
50465
|
isSmartTV: !1,
|
|
50466
50466
|
isConsole: !1,
|
|
50467
50467
|
isWearable: !1
|
|
50468
|
-
},
|
|
50468
|
+
}, Z = function(W) {
|
|
50469
50469
|
switch (W) {
|
|
50470
50470
|
case O.Mobile:
|
|
50471
50471
|
return {
|
|
@@ -50568,7 +50568,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
50568
50568
|
};
|
|
50569
50569
|
};
|
|
50570
50570
|
function ue(ae) {
|
|
50571
|
-
var W = ae ? m(ae) : y, V = W.device, pe = W.browser, be = W.engine, it = W.os, Nt = W.ua, zt =
|
|
50571
|
+
var W = ae ? m(ae) : y, V = W.device, pe = W.browser, be = W.engine, it = W.os, Nt = W.ua, zt = Z(V.type), c0 = zt.isBrowser, K0 = zt.isMobile, J0 = zt.isTablet, R0 = zt.isSmartTV, I0 = zt.isConsole, M0 = zt.isWearable, O0 = zt.isEmbedded;
|
|
50572
50572
|
if (c0)
|
|
50573
50573
|
return K(c0, pe, be, it, Nt);
|
|
50574
50574
|
if (R0)
|
|
@@ -50615,7 +50615,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
50615
50615
|
}, Qe = function(W) {
|
|
50616
50616
|
var V = W.type;
|
|
50617
50617
|
return se(V, "browser");
|
|
50618
|
-
},
|
|
50618
|
+
}, Xe = function(W) {
|
|
50619
50619
|
var V = W.name;
|
|
50620
50620
|
return V === U.Android;
|
|
50621
50621
|
}, yt = function(W) {
|
|
@@ -50715,7 +50715,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
50715
50715
|
isTablet: Ce(V) || kt(),
|
|
50716
50716
|
isBrowser: ye(V),
|
|
50717
50717
|
isDesktop: ye(V),
|
|
50718
|
-
isAndroid:
|
|
50718
|
+
isAndroid: Xe(be),
|
|
50719
50719
|
isWinPhone: ct(be),
|
|
50720
50720
|
isIOS: nt(be) || kt(),
|
|
50721
50721
|
isChrome: ke(pe),
|
|
@@ -50749,7 +50749,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
50749
50749
|
isSamsungBrowser: Lt(pe)
|
|
50750
50750
|
};
|
|
50751
50751
|
}
|
|
50752
|
-
var Y = We(c), ge = Ge(c), Me = we(c),
|
|
50752
|
+
var Y = We(c), ge = Ge(c), Me = we(c), Ze = Fe(c), ut = $e(o) || kt(), mt = Se(o), et = Oe(c) || kt(), tt = Ee(c), Ot = Ce(c) || kt(), At = ye(c), Ct = ye(c), Bt = Xe(f), Yt = ct(f), Kt = nt(f) || kt(), jt = ke(o), wr = Ne(o), Yr = Ae(o), sr = ht(o), i0 = St(o), Xt = Le(f), s0 = xe(f), ar = Je(o), d0 = dt(o), h0 = gt(o), p0 = Pe(c), Sr = Ve(c), m0 = Tt(u), y0 = Wt(u), Er = Vt(d), g0 = qe(o) || bt(d), Cr = ve(o), v0 = Qe(c), x0 = Qt(), Xr = kt(), G = He(), q = ir(), $ = wt(), de = bt(d), me = qe(o) && !bt(d), Re = yt(f), Be = _e(f), De = Et(o), ot = Lt(o), ze = function(W) {
|
|
50753
50753
|
if (!W || typeof W != "string") {
|
|
50754
50754
|
console.error("No valid user agent string was provided");
|
|
50755
50755
|
return;
|
|
@@ -50808,7 +50808,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
50808
50808
|
I(V, W);
|
|
50809
50809
|
function V(pe) {
|
|
50810
50810
|
var be;
|
|
50811
|
-
return k(this, V), be =
|
|
50811
|
+
return k(this, V), be = X(this, N(V).call(this, pe)), be.isEventListenerAdded = !1, be.handleOrientationChange = be.handleOrientationChange.bind(Q(be)), be.onOrientationChange = be.onOrientationChange.bind(Q(be)), be.onPageLoad = be.onPageLoad.bind(Q(be)), be.state = {
|
|
50812
50812
|
isLandscape: !1,
|
|
50813
50813
|
isPortrait: !1
|
|
50814
50814
|
}, be;
|
|
@@ -50880,11 +50880,11 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
50880
50880
|
var W = ae || window.navigator.userAgent;
|
|
50881
50881
|
return m(W);
|
|
50882
50882
|
}
|
|
50883
|
-
function
|
|
50883
|
+
function Zr(ae) {
|
|
50884
50884
|
var W = ae || window.navigator.userAgent, V = l0(W), pe = Dt(V);
|
|
50885
50885
|
return [pe, V];
|
|
50886
50886
|
}
|
|
50887
|
-
return lib.AndroidView = at, lib.BrowserTypes = B, lib.BrowserView = vt, lib.ConsoleView = lt, lib.CustomView = $t, lib.IEView = rt, lib.IOSView = Ie, lib.MobileOnlyView = Ue, lib.MobileView = je, lib.OsTypes = U, lib.SmartTVView = Pt, lib.TabletView = Ye, lib.WearableView = It, lib.WinPhoneView = Rt, lib.browserName = h0, lib.browserVersion = d0, lib.deviceDetect = ue, lib.deviceType = v0, lib.engineName = m0, lib.engineVersion = y0, lib.fullBrowserVersion = ar, lib.getSelectorsByUserAgent = ze, lib.getUA = Er, lib.isAndroid = Bt, lib.isBrowser = At, lib.isChrome = jt, lib.isChromium = mt, lib.isConsole = ge, lib.isDesktop = Ct, lib.isEdge = g0, lib.isEdgeChromium = de, lib.isElectron = $, lib.isEmbedded =
|
|
50887
|
+
return lib.AndroidView = at, lib.BrowserTypes = B, lib.BrowserView = vt, lib.ConsoleView = lt, lib.CustomView = $t, lib.IEView = rt, lib.IOSView = Ie, lib.MobileOnlyView = Ue, lib.MobileView = je, lib.OsTypes = U, lib.SmartTVView = Pt, lib.TabletView = Ye, lib.WearableView = It, lib.WinPhoneView = Rt, lib.browserName = h0, lib.browserVersion = d0, lib.deviceDetect = ue, lib.deviceType = v0, lib.engineName = m0, lib.engineVersion = y0, lib.fullBrowserVersion = ar, lib.getSelectorsByUserAgent = ze, lib.getUA = Er, lib.isAndroid = Bt, lib.isBrowser = At, lib.isChrome = jt, lib.isChromium = mt, lib.isConsole = ge, lib.isDesktop = Ct, lib.isEdge = g0, lib.isEdgeChromium = de, lib.isElectron = $, lib.isEmbedded = Ze, lib.isFirefox = wr, lib.isIE = i0, lib.isIOS = Kt, lib.isIOS13 = x0, lib.isIPad13 = Xr, lib.isIPhone13 = G, lib.isIPod13 = q, lib.isLegacyEdge = me, lib.isMIUI = De, lib.isMacOs = Be, lib.isMobile = et, lib.isMobileOnly = tt, lib.isMobileSafari = ut, lib.isOpera = sr, lib.isSafari = Yr, lib.isSamsungBrowser = ot, lib.isSmartTV = Y, lib.isTablet = Ot, lib.isWearable = Me, lib.isWinPhone = Yt, lib.isWindows = Re, lib.isYandex = Cr, lib.mobileModel = Sr, lib.mobileVendor = p0, lib.osName = s0, lib.osVersion = Xt, lib.parseUserAgent = m, lib.setUserAgent = re, lib.useDeviceData = l0, lib.useDeviceSelectors = Zr, lib.useMobileOrientation = o0, lib.withOrientationChange = a0, lib;
|
|
50888
50888
|
}
|
|
50889
50889
|
var libExports = requireLib(), dist = {}, ga4 = {}, gtag = {}, hasRequiredGtag;
|
|
50890
50890
|
function requireGtag() {
|
|
@@ -51022,16 +51022,16 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
51022
51022
|
function C(H, F) {
|
|
51023
51023
|
var L = H == null ? null : typeof Symbol < "u" && H[Symbol.iterator] || H["@@iterator"];
|
|
51024
51024
|
if (L != null) {
|
|
51025
|
-
var D, P, O, B, U = [], te = !0,
|
|
51025
|
+
var D, P, O, B, U = [], te = !0, Z = !1;
|
|
51026
51026
|
try {
|
|
51027
51027
|
if (O = (L = L.call(H)).next, F !== 0) for (; !(te = (D = O.call(L)).done) && (U.push(D.value), U.length !== F); te = !0) ;
|
|
51028
51028
|
} catch (re) {
|
|
51029
|
-
|
|
51029
|
+
Z = !0, P = re;
|
|
51030
51030
|
} finally {
|
|
51031
51031
|
try {
|
|
51032
51032
|
if (!te && L.return != null && (B = L.return(), Object(B) !== B)) return;
|
|
51033
51033
|
} finally {
|
|
51034
|
-
if (
|
|
51034
|
+
if (Z) throw P;
|
|
51035
51035
|
}
|
|
51036
51036
|
}
|
|
51037
51037
|
return U;
|
|
@@ -51070,7 +51070,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
51070
51070
|
}
|
|
51071
51071
|
return (F === "string" ? String : Number)(H);
|
|
51072
51072
|
}
|
|
51073
|
-
var
|
|
51073
|
+
var X = /* @__PURE__ */ function() {
|
|
51074
51074
|
function H() {
|
|
51075
51075
|
var F = this;
|
|
51076
51076
|
I(this, H), j(this, "reset", function() {
|
|
@@ -51113,8 +51113,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
51113
51113
|
page: "page_path",
|
|
51114
51114
|
hitCallback: "event_callback"
|
|
51115
51115
|
}, P = Object.entries(L).reduce(function(O, B) {
|
|
51116
|
-
var U = S(B, 2), te = U[0],
|
|
51117
|
-
return D[te] ? O[D[te]] =
|
|
51116
|
+
var U = S(B, 2), te = U[0], Z = U[1];
|
|
51117
|
+
return D[te] ? O[D[te]] = Z : O[te] = Z, O;
|
|
51118
51118
|
}, {});
|
|
51119
51119
|
return P;
|
|
51120
51120
|
}
|
|
@@ -51126,11 +51126,11 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
51126
51126
|
trackingId: L
|
|
51127
51127
|
}] : L;
|
|
51128
51128
|
F._currentMeasurementId = P[0].trackingId;
|
|
51129
|
-
var O = D.gaOptions, B = D.gtagOptions, U = D.nonce, te = D.testMode,
|
|
51130
|
-
if (F._testMode =
|
|
51129
|
+
var O = D.gaOptions, B = D.gtagOptions, U = D.nonce, te = D.testMode, Z = te === void 0 ? !1 : te, re = D.gtagUrl;
|
|
51130
|
+
if (F._testMode = Z, Z || F._loadGA(F._currentMeasurementId, U, re), F.isInitialized || (F._gtag("js", /* @__PURE__ */ new Date()), P.forEach(function(oe) {
|
|
51131
51131
|
var K = b(b(b({}, F._toGtagOptions(b(b({}, O), oe.gaOptions))), B), oe.gtagOptions);
|
|
51132
51132
|
Object.keys(K).length ? F._gtag("config", oe.trackingId, K) : F._gtag("config", oe.trackingId);
|
|
51133
|
-
})), F.isInitialized = !0, !
|
|
51133
|
+
})), F.isInitialized = !0, !Z) {
|
|
51134
51134
|
var se = d(F._queueGtag);
|
|
51135
51135
|
for (F._queueGtag = [], F._isQueuing = !1; se.length; ) {
|
|
51136
51136
|
var ce = se.shift();
|
|
@@ -51161,10 +51161,10 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
51161
51161
|
if (typeof D[0] == "string")
|
|
51162
51162
|
F._gaCommandSendEvent.apply(F, d(D.slice(1)));
|
|
51163
51163
|
else {
|
|
51164
|
-
var O = D[0], B = O.eventCategory, U = O.eventAction, te = O.eventLabel,
|
|
51164
|
+
var O = D[0], B = O.eventCategory, U = O.eventAction, te = O.eventLabel, Z = O.eventValue;
|
|
51165
51165
|
O.hitType;
|
|
51166
51166
|
var re = c(O, s);
|
|
51167
|
-
F._gaCommandSendEvent(B, U, te,
|
|
51167
|
+
F._gaCommandSendEvent(B, U, te, Z, re);
|
|
51168
51168
|
}
|
|
51169
51169
|
}), j(this, "_gaCommandSendTiming", function(L, D, P, O) {
|
|
51170
51170
|
F._gtag("event", "timing_complete", {
|
|
@@ -51263,7 +51263,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
51263
51263
|
if (typeof L == "string")
|
|
51264
51264
|
F._gtag("event", L, F._toGtagOptions(D));
|
|
51265
51265
|
else {
|
|
51266
|
-
var P = L.action, O = L.category, B = L.label, U = L.value, te = L.nonInteraction,
|
|
51266
|
+
var P = L.action, O = L.category, B = L.label, U = L.value, te = L.nonInteraction, Z = L.transport;
|
|
51267
51267
|
if (!O || !P) {
|
|
51268
51268
|
console.warn("args.category AND args.action are required in event()");
|
|
51269
51269
|
return;
|
|
@@ -51273,7 +51273,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
51273
51273
|
eventCategory: (0, i.default)(O),
|
|
51274
51274
|
eventAction: (0, i.default)(P)
|
|
51275
51275
|
};
|
|
51276
|
-
B && (re.eventLabel = (0, i.default)(B)), typeof U < "u" && (typeof U != "number" ? console.warn("Expected `args.value` arg to be a Number.") : re.eventValue = U), typeof te < "u" && (typeof te != "boolean" ? console.warn("`args.nonInteraction` must be a boolean.") : re.nonInteraction = te), typeof
|
|
51276
|
+
B && (re.eventLabel = (0, i.default)(B)), typeof U < "u" && (typeof U != "number" ? console.warn("Expected `args.value` arg to be a Number.") : re.eventValue = U), typeof te < "u" && (typeof te != "boolean" ? console.warn("`args.nonInteraction` must be a boolean.") : re.nonInteraction = te), typeof Z < "u" && (typeof Z != "string" ? console.warn("`args.transport` must be a string.") : (["beacon", "xhr", "image"].indexOf(Z) === -1 && console.warn("`args.transport` must be either one of these values: `beacon`, `xhr` or `image`"), re.transport = Z)), F._gaCommand("send", re);
|
|
51277
51277
|
}
|
|
51278
51278
|
}), j(this, "send", function(L) {
|
|
51279
51279
|
F._gaCommand("send", L);
|
|
@@ -51286,8 +51286,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
51286
51286
|
}
|
|
51287
51287
|
}]), H;
|
|
51288
51288
|
}();
|
|
51289
|
-
e.GA4 =
|
|
51290
|
-
var ee = new
|
|
51289
|
+
e.GA4 = X;
|
|
51290
|
+
var ee = new X();
|
|
51291
51291
|
e.default = ee;
|
|
51292
51292
|
}(ga4)), ga4;
|
|
51293
51293
|
}
|
|
@@ -51700,8 +51700,8 @@ class Translator extends EventEmitter {
|
|
|
51700
51700
|
}) : "", M = C && !a.ordinal && a.count === 0, j = M && a[`defaultValue${this.options.pluralSeparator}zero`] || a[`defaultValue${I}`] || a[`defaultValue${N}`] || a.defaultValue;
|
|
51701
51701
|
let z = g;
|
|
51702
51702
|
A && !g && T && (z = j);
|
|
51703
|
-
const Q = shouldHandleAsObject(z),
|
|
51704
|
-
if (A && z && Q && k.indexOf(
|
|
51703
|
+
const Q = shouldHandleAsObject(z), X = Object.prototype.toString.apply(z);
|
|
51704
|
+
if (A && z && Q && k.indexOf(X) < 0 && !(isString(E) && Array.isArray(z))) {
|
|
51705
51705
|
if (!a.returnObjects && !this.options.returnObjects) {
|
|
51706
51706
|
this.options.returnedObjectHandler || this.logger.warn("accessing an object - but returnObjects options is not enabled!");
|
|
51707
51707
|
const ee = this.options.returnedObjectHandler ? this.options.returnedObjectHandler(b, z, {
|
|
@@ -51748,15 +51748,15 @@ class Translator extends EventEmitter {
|
|
|
51748
51748
|
for (let U = 0; U < O.length; U++)
|
|
51749
51749
|
P.push(O[U]);
|
|
51750
51750
|
else this.options.saveMissingTo === "all" ? P = this.languageUtils.toResolveHierarchy(a.lng || this.language) : P.push(a.lng || this.language);
|
|
51751
|
-
const B = (U, te,
|
|
51751
|
+
const B = (U, te, Z) => {
|
|
51752
51752
|
var se;
|
|
51753
|
-
const re = T &&
|
|
51753
|
+
const re = T && Z !== g ? Z : L;
|
|
51754
51754
|
this.options.missingKeyHandler ? this.options.missingKeyHandler(U, f, te, re, D, a) : (se = this.backendConnector) != null && se.saveMissing && this.backendConnector.saveMissing(U, f, te, re, D, a), this.emit("missingKey", U, f, te, g);
|
|
51755
51755
|
};
|
|
51756
51756
|
this.options.saveMissing && (this.options.saveMissingPlurals && C ? P.forEach((U) => {
|
|
51757
51757
|
const te = this.pluralResolver.getSuffixes(U, a);
|
|
51758
|
-
M && a[`defaultValue${this.options.pluralSeparator}zero`] && te.indexOf(`${this.options.pluralSeparator}zero`) < 0 && te.push(`${this.options.pluralSeparator}zero`), te.forEach((
|
|
51759
|
-
B([U], c +
|
|
51758
|
+
M && a[`defaultValue${this.options.pluralSeparator}zero`] && te.indexOf(`${this.options.pluralSeparator}zero`) < 0 && te.push(`${this.options.pluralSeparator}zero`), te.forEach((Z) => {
|
|
51759
|
+
B([U], c + Z, a[`defaultValue${Z}`] || j);
|
|
51760
51760
|
});
|
|
51761
51761
|
}) : B(P, c, j));
|
|
51762
51762
|
}
|
|
@@ -52811,7 +52811,7 @@ const balance$4 = "Balance", topUp$4 = "Top Up", ads$4 = "Ads", adsOn$4 = "On",
|
|
|
52811
52811
|
topUpModal,
|
|
52812
52812
|
inventoryModal
|
|
52813
52813
|
};
|
|
52814
|
-
var define_process_env_default$1 = { NODE_ENV: '"production"', version: '"1.83.
|
|
52814
|
+
var define_process_env_default$1 = { NODE_ENV: '"production"', version: '"1.83.3"' };
|
|
52815
52815
|
const resources = {
|
|
52816
52816
|
en: {
|
|
52817
52817
|
translation: en
|
|
@@ -53342,7 +53342,7 @@ function throttleLeading(e, t) {
|
|
|
53342
53342
|
return a - i >= t ? (i = a, e.apply(this, s)) : (console.log(`Function is throttled. Next call available in ${t - (a - i)}ms`), Promise.resolve(!1));
|
|
53343
53343
|
};
|
|
53344
53344
|
}
|
|
53345
|
-
var define_process_env_default = { NODE_ENV: '"production"', version: '"1.83.
|
|
53345
|
+
var define_process_env_default = { NODE_ENV: '"production"', version: '"1.83.3"' };
|
|
53346
53346
|
init({
|
|
53347
53347
|
dsn: "https://b52384170118e5a8b1f43ca653975198@o4509677809172480.ingest.de.sentry.io/4509677817364560",
|
|
53348
53348
|
sendDefaultPii: !0
|
|
@@ -53353,28 +53353,86 @@ const CloudStorageGetItem = promisify(WebApp.CloudStorage.getItem), CloudStorage
|
|
|
53353
53353
|
let timer;
|
|
53354
53354
|
const pending = {};
|
|
53355
53355
|
let state = {};
|
|
53356
|
+
const CLOUD_STORAGE_PREFIX = "sdk_pending_", LOCAL_STORAGE_PREFIX = "portal_sdk_pending_";
|
|
53356
53357
|
function setValueSync(e, t) {
|
|
53357
53358
|
state[e] = pending[e] = t;
|
|
53359
|
+
try {
|
|
53360
|
+
localStorage.setItem(`${LOCAL_STORAGE_PREFIX}${e}`, t);
|
|
53361
|
+
} catch (i) {
|
|
53362
|
+
console.error(`Failed to save ${e} to localStorage:`, i);
|
|
53363
|
+
}
|
|
53364
|
+
CloudStorageSetItem(`${CLOUD_STORAGE_PREFIX}${e}`, t).catch((i) => {
|
|
53365
|
+
console.error(`Failed to save ${e} to CloudStorage:`, i);
|
|
53366
|
+
});
|
|
53358
53367
|
}
|
|
53359
53368
|
function removeValueSync(e) {
|
|
53360
|
-
delete state[e], delete pending[e]
|
|
53369
|
+
delete state[e], delete pending[e];
|
|
53370
|
+
try {
|
|
53371
|
+
localStorage.removeItem(`${LOCAL_STORAGE_PREFIX}${e}`);
|
|
53372
|
+
} catch (t) {
|
|
53373
|
+
console.error(`Failed to remove ${e} from localStorage:`, t);
|
|
53374
|
+
}
|
|
53375
|
+
CloudStorageRemoveItem(`${CLOUD_STORAGE_PREFIX}${e}`).catch(console.error), makeRequest(`storage/${e}`, "DELETE").catch(console.error);
|
|
53361
53376
|
}
|
|
53362
53377
|
function getValueSync(e) {
|
|
53363
53378
|
return state[e];
|
|
53364
53379
|
}
|
|
53365
53380
|
async function loadAll() {
|
|
53366
|
-
const e =
|
|
53367
|
-
|
|
53381
|
+
const e = {};
|
|
53382
|
+
try {
|
|
53383
|
+
for (let o = 0; o < localStorage.length; o++) {
|
|
53384
|
+
const l = localStorage.key(o);
|
|
53385
|
+
if (l && l.startsWith(LOCAL_STORAGE_PREFIX)) {
|
|
53386
|
+
const c = localStorage.getItem(l);
|
|
53387
|
+
if (c) {
|
|
53388
|
+
const u = l.replace(LOCAL_STORAGE_PREFIX, "");
|
|
53389
|
+
e[u] = c, console.log(`Loaded from localStorage: ${u}`);
|
|
53390
|
+
}
|
|
53391
|
+
}
|
|
53392
|
+
}
|
|
53393
|
+
} catch (o) {
|
|
53394
|
+
console.error("Failed to load from localStorage:", o);
|
|
53395
|
+
}
|
|
53396
|
+
const t = {};
|
|
53397
|
+
try {
|
|
53398
|
+
const l = await promisify(WebApp.CloudStorage.getKeys)();
|
|
53399
|
+
for (const c of l)
|
|
53400
|
+
if (c.startsWith(CLOUD_STORAGE_PREFIX))
|
|
53401
|
+
try {
|
|
53402
|
+
const u = await CloudStorageGetItem(c);
|
|
53403
|
+
if (u) {
|
|
53404
|
+
const f = c.replace(CLOUD_STORAGE_PREFIX, "");
|
|
53405
|
+
t[f] = u, console.log(`Loaded from CloudStorage: ${f}`);
|
|
53406
|
+
}
|
|
53407
|
+
} catch (u) {
|
|
53408
|
+
console.error(`Failed to load ${c} from CloudStorage:`, u);
|
|
53409
|
+
}
|
|
53410
|
+
} catch (o) {
|
|
53411
|
+
console.error("Failed to load keys from CloudStorage:", o);
|
|
53412
|
+
}
|
|
53413
|
+
const i = {
|
|
53414
|
+
...t,
|
|
53415
|
+
...e
|
|
53416
|
+
}, s = [500, 500, 1e3];
|
|
53417
|
+
let a = 0;
|
|
53368
53418
|
for (; ; )
|
|
53369
53419
|
try {
|
|
53370
|
-
|
|
53420
|
+
const o = await makeRequest("storage/", "GET");
|
|
53421
|
+
state = { ...o.data, ...i };
|
|
53422
|
+
for (const l of Object.keys(i))
|
|
53423
|
+
pending[l] = i[l];
|
|
53424
|
+
console.log(
|
|
53425
|
+
`Loaded state from backend (${Object.keys(o.data).length} keys), localStorage (${Object.keys(e).length} keys) and CloudStorage (${Object.keys(t).length} keys)`
|
|
53426
|
+
);
|
|
53371
53427
|
return;
|
|
53372
|
-
} catch (
|
|
53373
|
-
if (
|
|
53374
|
-
console.error("Failed to load all storage values:",
|
|
53428
|
+
} catch (o) {
|
|
53429
|
+
if (a >= s.length) {
|
|
53430
|
+
console.error("Failed to load all storage values:", o), state = i;
|
|
53431
|
+
for (const l of Object.keys(i))
|
|
53432
|
+
pending[l] = i[l];
|
|
53375
53433
|
return;
|
|
53376
53434
|
}
|
|
53377
|
-
await delay(
|
|
53435
|
+
await delay(s[a]), a += 1;
|
|
53378
53436
|
}
|
|
53379
53437
|
}
|
|
53380
53438
|
function startSaveTick() {
|
|
@@ -53390,9 +53448,25 @@ async function savePendingChanges() {
|
|
|
53390
53448
|
let a = 0, o = !1;
|
|
53391
53449
|
for (; !o; )
|
|
53392
53450
|
try {
|
|
53393
|
-
await makeRequest(`storage/${t}`, "PUT", {
|
|
53451
|
+
if (await makeRequest(`storage/${t}`, "PUT", {
|
|
53394
53452
|
value: i
|
|
53395
|
-
}),
|
|
53453
|
+
}), pending[t] === i) {
|
|
53454
|
+
delete pending[t];
|
|
53455
|
+
try {
|
|
53456
|
+
localStorage.removeItem(`${LOCAL_STORAGE_PREFIX}${t}`), console.log(`Removed ${t} from localStorage after successful sync`);
|
|
53457
|
+
} catch (l) {
|
|
53458
|
+
console.error(`Failed to remove ${t} from localStorage:`, l);
|
|
53459
|
+
}
|
|
53460
|
+
try {
|
|
53461
|
+
await CloudStorageRemoveItem(`${CLOUD_STORAGE_PREFIX}${t}`), console.log(`Removed ${t} from CloudStorage after successful sync`);
|
|
53462
|
+
} catch (l) {
|
|
53463
|
+
console.error(`Failed to remove ${t} from CloudStorage:`, l);
|
|
53464
|
+
}
|
|
53465
|
+
} else
|
|
53466
|
+
console.log(
|
|
53467
|
+
`Value for ${t} changed during save, keeping in pending and local storages`
|
|
53468
|
+
);
|
|
53469
|
+
o = !0;
|
|
53396
53470
|
} catch (l) {
|
|
53397
53471
|
if (a >= s.length) {
|
|
53398
53472
|
console.error(`Failed to save key ${t}:`, l);
|