@orbit-software/sdk 1.83.0 → 1.83.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/sdk.mjs +461 -436
- 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 +67 -67
- 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 Z = 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
|
+
Z != window.innerHeight && (Z = 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 X(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", X("color-scheme", u)), $ = "theme-" + $.split("_").join("-"), X($, 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", X("viewport-height", q), X("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")), X("safe-area-inset-top", ue.top + "px"), X("safe-area-inset-bottom", ue.bottom + "px"), X("safe-area-inset-left", ue.left + "px"), X("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")), X("content-safe-area-inset-top", Ce.top + "px"), X("content-safe-area-inset-bottom", Ce.bottom + "px"), X("content-safe-area-inset-left", Ce.left + "px"), X("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 Ze(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 Zt = !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 Xe in Me)
|
|
556
|
+
Dt.style[Xe] = Me[Xe];
|
|
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 Xr() {
|
|
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), Xr(), 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, Xr(), Ue;
|
|
755
755
|
}, Ue.hideProgress = function() {
|
|
756
|
-
return Ue.isActive || (ze = !0), vt = !1,
|
|
756
|
+
return Ue.isActive || (ze = !0), vt = !1, Xr(), 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 Zr($, 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 Zt = !1;
|
|
1304
1304
|
function s0(G, q) {
|
|
1305
|
-
if (
|
|
1306
|
-
var $ =
|
|
1307
|
-
|
|
1305
|
+
if (Zt) {
|
|
1306
|
+
var $ = Zt;
|
|
1307
|
+
Zt = !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
|
+
Zr("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 Zr(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 (Zt)
|
|
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, Zt = {
|
|
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
|
+
Zr(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", Ze), 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.1";
|
|
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), Xe = 1; Xe < ge; Xe++)
|
|
1896
|
+
Me[Xe - 1] = arguments[Xe];
|
|
1897
1897
|
A("error", Y, Me);
|
|
1898
1898
|
}
|
|
1899
1899
|
}
|
|
1900
1900
|
function A(Y, ge, Me) {
|
|
1901
1901
|
{
|
|
1902
|
-
var
|
|
1902
|
+
var Xe = k.ReactDebugCurrentFrame, ut = Xe.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 Xe = Y.displayName;
|
|
1921
|
+
if (Xe)
|
|
1922
|
+
return Xe;
|
|
1923
1923
|
var ut = ge.displayName || ge.name || "";
|
|
1924
1924
|
return ut !== "" ? Me + "(" + ut + ")" : Me;
|
|
1925
1925
|
}
|
|
1926
|
-
function
|
|
1926
|
+
function Z(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 Z(ge) + ".Consumer";
|
|
1955
1955
|
case l:
|
|
1956
1956
|
var Me = Y;
|
|
1957
|
-
return
|
|
1957
|
+
return Z(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 Xe = Y.displayName || null;
|
|
1962
|
+
return Xe !== null ? Xe : 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 X() {
|
|
1976
1976
|
}
|
|
1977
|
-
|
|
1977
|
+
X.__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: X,
|
|
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 Xe = ut.stack.trim().match(/\n( *(at )?)/);
|
|
2044
|
+
oe = Xe && Xe[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 Xe;
|
|
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
|
+
Xe = 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
|
+
Xe = 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
|
+
Xe = jt;
|
|
2098
2098
|
}
|
|
2099
2099
|
Y();
|
|
2100
2100
|
}
|
|
2101
2101
|
} catch (jt) {
|
|
2102
|
-
if (jt &&
|
|
2102
|
+
if (jt && Xe && typeof jt.stack == "string") {
|
|
2103
2103
|
for (var tt = jt.stack.split(`
|
|
2104
|
-
`), Ot =
|
|
2104
|
+
`), Ot = Xe.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 Xe = Y, ut = Xe._payload, mt = Xe._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, Xe, 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((Xe || "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, Xe, 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).", Xe || "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 Ze(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, Xe, 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: Xe
|
|
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, Xe, ut) {
|
|
2290
2290
|
{
|
|
2291
2291
|
var mt, et = {}, tt = null, Ot = null;
|
|
2292
|
-
Me !== void 0 && (
|
|
2292
|
+
Me !== void 0 && (Ze(Me), tt = "" + Me), xe(ge) && (Ze(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, Xe, 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 Xe = "";
|
|
2358
|
+
Y && Y._owner && Y._owner !== Ae.current && (Xe = " 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, Xe), 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 Xe = Y[Me];
|
|
2368
|
+
Et(Xe) && Tt(Xe, 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 Xe = ee(ge);
|
|
2396
|
+
we(Me, Y.props, "prop", Xe, 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 Xe = ge[Me];
|
|
2409
|
+
if (Xe !== "children" && Xe !== "key") {
|
|
2410
|
+
ht(Y), E("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", Xe), 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, Xe, 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 (Xe)
|
|
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), Z = isVertical(c) ? window.innerHeight : window.innerWidth;
|
|
8440
|
+
if (T > VELOCITY_THRESHOLD && Math.abs(A) < Z * 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, Z] = 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), X = 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 && (Ze(), 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
|
+
Z(!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 Ze() {
|
|
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
|
+
X.current && window.clearTimeout(X.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 && (X.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), Z = z > Q;
|
|
8843
|
+
return M === "left" || M === "right" ? Z && z > j : !Z && 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, Z = z ? Q(0, j) : 0, ee = z ? 0 : Q(0, M), H = N.pointerType === "touch" ? 10 : 2;
|
|
8885
8885
|
I({
|
|
8886
|
-
x:
|
|
8886
|
+
x: Z,
|
|
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: Z = {} } = E, ee = {
|
|
12430
|
+
...Z,
|
|
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 = Z[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: Z = "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(Z) ? Z : a == null ? void 0 : a[Z || "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 X = Q.length - j.length;
|
|
14138
|
+
if (X > 0 && fillOffset(Q, X), 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], Z = () => [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], X = () => [
|
|
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": Z()
|
|
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": Z()
|
|
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": Z()
|
|
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": Z()
|
|
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: X()
|
|
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": X()
|
|
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": X()
|
|
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": X()
|
|
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": X()
|
|
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": X()
|
|
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": X()
|
|
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": X()
|
|
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": X()
|
|
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": X()
|
|
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": X()
|
|
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": X()
|
|
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": X()
|
|
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": X()
|
|
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": X()
|
|
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.1"' }, Ir, Ur, Jt, Mr, Ft, $r, Or, Xt, or, B0, Query = (B0 = class extends Removable {
|
|
21961
21961
|
constructor(t) {
|
|
21962
21962
|
super();
|
|
21963
|
-
Ke(this,
|
|
21963
|
+
Ke(this, Xt);
|
|
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, Xt, 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, Xt, 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, Xt, 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, Xt, 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, Xt, or).call(this, { type: "failed", failureCount: C, error: T });
|
|
22117
22117
|
},
|
|
22118
22118
|
onPause: () => {
|
|
22119
|
-
st(this,
|
|
22119
|
+
st(this, Xt, or).call(this, { type: "pause" });
|
|
22120
22120
|
},
|
|
22121
22121
|
onContinue: () => {
|
|
22122
|
-
st(this,
|
|
22122
|
+
st(this, Xt, 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, Xt, 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(), Xt = 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), Z = z && shouldFetchOptionally(t, s, i, a);
|
|
22380
|
+
(Q || Z) && (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
|
+
}, Z = J(this, lr);
|
|
22444
|
+
switch (Z.status) {
|
|
22445
22445
|
case "pending":
|
|
22446
|
-
t.queryHash === s.queryHash && z(
|
|
22446
|
+
t.queryHash === s.queryHash && z(Z);
|
|
22447
22447
|
break;
|
|
22448
22448
|
case "fulfilled":
|
|
22449
|
-
(M.status === "error" || M.data !==
|
|
22449
|
+
(M.status === "error" || M.data !== Z.value) && Q();
|
|
22450
22450
|
break;
|
|
22451
22451
|
case "rejected":
|
|
22452
|
-
(M.status !== "error" || M.error !==
|
|
22452
|
+
(M.status !== "error" || M.error !== Z.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, X;
|
|
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 (X = re[B].pt.k.length, te = 0; te < X; 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, X, 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 (X = ce.length, te = 0; te < X; 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 Z(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 = Z, 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 X = createTag("div");
|
|
25279
|
+
X.style.width = "100%", X.style.height = "100%", X.setAttribute("data-bm-type", P), te.appendChild(X), u(X, 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 Z() {
|
|
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 = Z, 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, Z = g(Q, C, T);
|
|
25380
|
+
return Z >= a ? S(A, Q, C, T) : Z === 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 Z = 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, Z.points[A] = new l(j, z), Q = z;
|
|
25476
25476
|
}
|
|
25477
|
-
|
|
25477
|
+
Z.segmentLength = M, m[k] = Z;
|
|
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, Z = 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, X = 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] + Z * 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] + X * 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, Z, 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], Z = u.i.y[o] === void 0 ? u.i.y[0] : u.i.y[o], S = BezierFactory.getBezierEasing(j, z, Q, Z).get, d.__fnct[o] = S)) : d.__fnct ? S = d.__fnct : (j = u.o.x, z = u.o.y, Q = u.i.x, Z = u.i.y, S = BezierFactory.getBezierEasing(j, z, Q, Z).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, Z, 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
|
+
Z = 1;
|
|
25803
25803
|
else if (k < P.t - this.offsetTime)
|
|
25804
|
-
|
|
25804
|
+
Z = 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), Z = 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]) * Z, E.i[M][j] = ee, ee = N ? T.o[M][j] : T.o[M][j] + (I.o[M][j] - T.o[M][j]) * Z, E.o[M][j] = ee, ee = N ? T.v[M][j] : T.v[M][j] + (I.v[M][j] - T.v[M][j]) * Z, 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), Z, 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, Z = 0; Z < A; Z += 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, Z, !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), Z = T * Math.sin(j), ee = Q === 0 && Z === 0 ? 0 : Z / Math.sqrt(Q * Q + Z * Z), H = Q === 0 && Z === 0 ? 0 : -Q / Math.sqrt(Q * Q + Z * Z);
|
|
25911
|
+
Q += +this.p.v[0], Z += +this.p.v[1], this.v.setTripleAt(Q, Z, Q - ee * N * I * z, Z - H * N * I * z, Q + ee * N * I * z, Z + 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, X, 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] = X, 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, X, 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 && X === 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] * X + 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], Ze = 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 * X + 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 * X + 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 + Ze * le, ue[9] = Pe * O + Ve * X + Qe * oe + Ze * ne, ue[10] = Pe * B + Ve * re + Qe * K + Ze * he, ue[11] = Pe * U + Ve * se + Qe * ie + Ze * fe, ue[12] = yt * P + _e * te + ct * ce + nt * le, ue[13] = yt * O + _e * X + 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, X = (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] = X, 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 Z(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], X = 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] * X + P[1] * se + oe, U[2] = O[0] * te + O[1] * re + ce, U[3] = O[0] * X + O[1] * se + oe, U[4] = B[0] * te + B[1] * re + ce, U[5] = B[0] * X + 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]), X = L(P[12]), re = L(P[13]);
|
|
26098
|
+
return "matrix(" + O + "," + B + "," + U + "," + te + "," + X + "," + 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 = Z, 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 X(re) {
|
|
26958
26958
|
return P === "svg" ? (O.textContent = re, O.getComputedTextLength()) : O.measureText(re).width;
|
|
26959
26959
|
}
|
|
26960
26960
|
return {
|
|
26961
|
-
measureText:
|
|
26961
|
+
measureText: X
|
|
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, X, 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 (X = document.querySelectorAll('style[f-forigin="p"][f-family="' + P[O].fFamily + '"], style[f-origin="3"][f-family="' + P[O].fFamily + '"]'), X.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 (X = document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'), re = 0; re < X.length; re += 1)
|
|
26991
|
+
X[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 (X = document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'), re = 0; re < X.length; re += 1)
|
|
26998
|
+
P[O].fPath === X[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 + "|"), X = U.measureText("||");
|
|
27033
|
+
O.cache[B] = (te - X) / 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 Z(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 = Z, 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 Z = 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(Z + m.a.v) * H + S[0], L = Math.sin(Z + 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, Z; M; ) {
|
|
28304
|
+
Z = this.buildFinalText(e.t), Q = 0, g = 0, o = Z.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 = Z[a].charCodeAt(0), l = !1, Z[a] === " " ? ee = a : (N === 13 || N === 3) && (g = 0, l = !0, Q += e.finalLineHeight || e.finalSize * 1.2), t.chars ? (A = t.getCharData(Z[a], E.fStyle, E.fFamily), C = l ? 0 : A.w * e.finalSize / 100) : C = t.measureText(Z[a], e.f, e.finalSize), g + C > j && Z[a] !== " " ? (ee === -1 ? o += 1 : a = ee, Q += e.finalLineHeight || e.finalSize * 1.2, Z.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 = Z, 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, X;
|
|
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], X = U.splice(Math.floor(Math.random() * U.length), 1)[0]), P.anIndexes[S] = X;
|
|
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 Z = Q.v;
|
|
28487
|
+
this._pathData.r.v && (Z = Z.reverse()), y = {
|
|
28488
28488
|
tLength: 0,
|
|
28489
28489
|
segments: []
|
|
28490
|
-
}, p =
|
|
28490
|
+
}, p = Z._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(Z.v[d], Z.v[d + 1], [Z.o[d][0] - Z.v[d][0], Z.o[d][1] - Z.v[d][1]], [Z.i[d + 1][0] - Z.v[d + 1][0], Z.i[d + 1][1] - Z.v[d + 1][1]]), y.tLength += ee.segmentLength, y.segments.push(ee), M += ee.segmentLength;
|
|
28494
|
+
d = p, Q.v.c && (ee = bez.buildBezierData(Z.v[d], Z.v[0], [Z.o[d][0] - Z.v[d][0], Z.o[d][1] - Z.v[d][1]], [Z.i[0][0] - Z.v[0][0], Z.i[0][1] - Z.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, X, 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 Ze = 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 ? Ze += L.p.v[0] * U[0] : Ze += 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 ? Ze += L.a.v[0] * U[0] : Ze += 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 + Ze || !T ? (j = (g + Ze - 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
|
+
X = m[d].an / 2 - m[d].add, o.translate(-X, 0, 0);
|
|
28543
28543
|
} else
|
|
28544
|
-
|
|
28544
|
+
X = m[d].an / 2 - m[d].add, o.translate(-X, 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(X, 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), Z = c, ee = 0; Q < u; )
|
|
30082
|
+
Q = (Q + ee) * s, Z *= s, ee = M.g(1);
|
|
30083
30083
|
for (; Q >= f; )
|
|
30084
|
-
Q /= 2,
|
|
30085
|
-
return (Q + ee) /
|
|
30084
|
+
Q /= 2, Z /= 2, ee >>>= 1;
|
|
30085
|
+
return (Q + ee) / Z;
|
|
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, Z, ee) {
|
|
30092
30092
|
return ee && (ee.S && g(ee, M), z.state = function() {
|
|
30093
30093
|
return g(M, {});
|
|
30094
|
-
}),
|
|
30094
|
+
}), Z ? (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, Z = 0, ee = I.i, H = I.j, F = I.S; z--; )
|
|
30106
|
+
Q = F[ee = d & ee + 1], Z = Z * s + F[d & (F[ee] = F[H = d & H + Q]) + (F[H] = Q)];
|
|
30107
|
+
return I.i = ee, I.j = H, Z;
|
|
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 Z = 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(Z.length), T = I.length, C = 0; C < T; C += 1)
|
|
31329
|
+
I[C] = Z[C] + (Z[C] - ee[C]) * ((b - k) / this.comp.globalData.frameRate) / 5e-4;
|
|
31330
31330
|
return I;
|
|
31331
31331
|
}
|
|
31332
|
-
return
|
|
31332
|
+
return Z + (Z - 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 Z = 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(Z.length), T = I.length, C = 0; C < T; C += 1)
|
|
31362
|
+
I[C] = Z[C] + (Z[C] - ee[C]) * (k - b) / 1e-3;
|
|
31363
31363
|
return I;
|
|
31364
31364
|
}
|
|
31365
|
-
return
|
|
31365
|
+
return Z + (Z - 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 X;
|
|
31877
|
+
(X = I.current) === null || X === void 0 || X.setSpeed(te);
|
|
31878
|
+
}, Z = function(te, X) {
|
|
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, X);
|
|
31881
|
+
}, ee = function(te, X) {
|
|
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, X);
|
|
31884
31884
|
}, H = function(te) {
|
|
31885
|
-
var
|
|
31886
|
-
(
|
|
31887
|
-
}, F = function(te,
|
|
31885
|
+
var X;
|
|
31886
|
+
(X = I.current) === null || X === void 0 || X.setDirection(te);
|
|
31887
|
+
}, F = function(te, X) {
|
|
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, X);
|
|
31890
31890
|
}, L = function(te) {
|
|
31891
|
-
var
|
|
31892
|
-
(
|
|
31891
|
+
var X;
|
|
31892
|
+
(X = I.current) === null || X === void 0 || X.setSubframe(te);
|
|
31893
31893
|
}, D = function(te) {
|
|
31894
|
-
var
|
|
31895
|
-
return (
|
|
31894
|
+
var X;
|
|
31895
|
+
return (X = I.current) === null || X === void 0 ? void 0 : X.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] : {}, X;
|
|
31901
31901
|
if (N.current) {
|
|
31902
|
-
(
|
|
31902
|
+
(X = I.current) === null || X === void 0 || X.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 X = 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
|
+
X.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: Z,
|
|
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, Z] = 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
|
+
), X = useRef(null), re = useRef(!1);
|
|
32380
32380
|
useEffect(() => {
|
|
32381
32381
|
y || (async () => (await te() || B(mapPositionToInitialPosition(i)), g(!0), requestAnimationFrame(() => {
|
|
32382
|
-
|
|
32382
|
+
Z(!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 && X.current && !re.current && (B(X.current), requestAnimationFrame(() => {
|
|
32422
32422
|
requestAnimationFrame(() => {
|
|
32423
|
-
|
|
32423
|
+
X.current && B(X.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, Ze = Math.sqrt(Ve * Ve + Qe * Qe);
|
|
32445
|
+
p.current = Ze, Ze > 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, Ze = Math.sqrt(Ve * Ve + Qe * Qe);
|
|
32458
|
+
p.current = Ze, Ze > 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 && (X.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), Ze = Pe == null ? void 0 : Pe.contains(we.target);
|
|
32482
|
+
b && Ve && (Ze ? z(!1) : Qe && S(!1));
|
|
32483
32483
|
};
|
|
32484
32484
|
return document.addEventListener("mousedown", ye), () => {
|
|
32485
32485
|
document.removeEventListener("mousedown", ye);
|
|
@@ -32874,29 +32874,38 @@ const PRICE = 250, PurchaseAdsFreeModal = ({ children: e }) => {
|
|
|
32874
32874
|
)
|
|
32875
32875
|
}
|
|
32876
32876
|
);
|
|
32877
|
-
}, iconLandscape = "data:image/webp;base64,
|
|
32877
|
+
}, iconLandscape = "data:image/webp;base64,UklGRiwUAABXRUJQVlA4WAoAAAAQAAAA/wEA/wEAQUxQSAoSAAABHAVt2zANf9jtLoKImACVtO2eOjGhRVNfiUs0NVBm1GVU4w/btmVOs+3bJyGKu9MmuFMGl3CXDA5F01vonVL34qTeIO2SOiFUAl1KixPq3gZ3t7pGcSrEJ5mZY1loSY7zyjXHzPFXI4IS20iSJEkWwhgmurKw3T1XHhH7lkPbtqk9+49t27Yrm52ddOnspPu7+H03NktWqoz2q2Lbto3vnrP+6o8IOGgkSZJqIyCg6Gv32NdHgEz7R3adLr94Ks3lgMrT/A0PXZWDcRrnulyqLJ4kfdO/hKpImkPbs6epyixX9lhFjKxQ9WjvuYLq66NEpPu66wq6r1c+WvnVTaT8eolI+fUUkfLrMiLlVxeR9ut+0n6N86i/ziP11zTSfnUsM625/pPrP/+gN2o2iI3t5HTGuVzTEqa4XPF9tmr4eYTw9q7pDy5cvnHribwS4kSzo74zISk98xcPmUalky1GLVhzspzskTRtUaP3rUu3XiJbZZ6iqDN60dYisl88cUr6kyYh9YiXbJpDDvVQe9JrOWTrxOuG2JmZZWT3pOqF6MkrcskfckIpRE5YXUB+kksaIeKGtQXkP3Grg9AhqRfJr5KrDDo8e578LdtV8edNQqaP/C8L9EDXpb+RP6airRYuHyfuJT/NSiVcQ37oNPlr8ptpgJilheS3Ke2ngT1jV1eQ/8Y9Pvhv43eSP6d0dPC/ZcRBIlJ8/9du+/z+kXPsi/VpyQ/8b2QfZ4/Y2Kb16wOh9es3GnBaNX3AR1T9Kf9lT0bKna7YEDDT5CvN9D6fVvftYj9kPDYxJhRmafK1Yvq1m33V+YfM7tTb+kTjr6jN6OTSapv7MzPZFYkqo65ZR+Lpapr79fUZHXBVVNf7Vs/1hdLMJCf+Hu31lune6jhuekIdQIeGzqqGB0dOPdYRV0WBs932W//61N74K0rsYUllZC3ZqUMATTroG4v/opnhckCVRqd4LG3fJDUEdKnL0geIClb0xdXR4tEinvNa2H68pxbUaaejFrYjiaG4ojJnE6071+D9aBCgT5t8ZFkrSosFAHXOuk5b1dzpzQGFdkeSVe9Wnt4SKrXh51a11W2hU3tnWXQH2d+bRl8xvdiip757ATrtNVIsWvMh0aFVW+6zpBU+EgmbpJ4+ZnvkWtF8GW1gl4R8rI4+rtAKT/aHfTJbHf12Kx4kLk8Jh32odV4Z3ZFMFmRPZ9gptyrDqLeteHrkbgdsxTu6mG242wI/bg2b5RdV9NhfzNvlRNguRZronfPN3RcDG2IT6889cvPd/XSqZxa56Wm+ZmhFcg3YkJ9tYeWNHz7/9DjdGdx3CVwyf5RgKGyZzXZ4RetfP0/2YRa1GVZg7Oo6sCczbND7/vZz8KksZDOq2LSVzrDvxjQXbCDCH6ScVGZqVm/YN7PsIEAmVZj6RUNbP878WfULkFGm3fdUKGydelU92VAw0nIBMsz0FZcn2f+xxo2V8lNXywVI/wJDf+gIP8jIg1dxbk6k5QKk5++G7m7oL6e8731x3fJHBofCcgHS/qyhm6MgV3q/Rviz9G2yTbf1DBFOgDQxvNJYfjv8LNUzC28ZZXiDceFYiNfxZYjhXUbne8nX+eXzZMTZbvJ1fnmH4VXmdtJJkDEVRnzfWjoJcl2h2dpxLaSTIC1PkwmHG0h5NHJ/LHyfmXWlEyGvmK0W3lDCWXzLm8wWj2wunQjpWWxCzjXSiZAGRlcb8mOlEyEhRrsGXuginQxZYnSPmaDXGsjdM9pncqF5pHQypPEZMuAeCWcBLj8gA56STojcSwZsChFOiHQ2OeOwO1I4IRJxjPj83Fg4KfKcyRt2FPON2N0zzGvwbOFU8TrDrJ1rcnTxOsR8mfhsCZWuQ8wBBj+X3Ug2MRLxDbEpdcomRxYRnxkSvoLgge5uPm9J1ylmyF5i82sd0QTJLIPVRAeJJkhaFfFJFvAVDA+sIzaHwmTrHHOgj7+2QHvJJInjILFJlEyU3Gywi4hkoqTWaf7F5laCyZKnic1dgsmSmFI2Ox1yCZPN/MtNHaU834Dv+Qenj80jknWW+Rl/eYEwsaTJYOLi7S/aLMrlNjarBOswcyj/hHMLqeTJTjYPSyVPRvNvNokUSqAcYDNFKIEynrhsF++NON6zi4unl0wSpS//TmO5ZnEuM9g/dhBJpMRUcFkpkkxZxv3UumMkkin1C9l/u5JIqDzCvt2glUBCJfwMlxcFkiqJxKSoqXTnG0A+/8DeWSRVog41O7PPObQVR64s5ZIhjlyJuMhlgDSCZTp7cVlpJMsOLpOEkSwdfNw9xUJkES3PibexRN8/EObzD+EXmBTUEkW2jCMm6eLMgl2+xaWPJMIl4k8mJyWRLhPZHy2IeFnPpKSeHOIl8jL3SVM55MtUYjJIDAGziclPQp1vQPr8Q3QRkyVydL45mZj0EKMDzpVMvhOjE84cJk/KIGO6E5MuIgiZ+dxV5kSQMtuYPCqBlKntZtJRlDeCe88k7jpTJjTlTGeSil/Q5DAZYMIW8jKGeLwpGn9zzpuY7I9d1LzKZHLksuYU96hxy5o6HuZR4xY2o7kLzRlxEeN7FjMZF3fDzm1M6kUsbmoU8rgbsbxxEo/dsZ9AfeBWJtOhSpQm5mJTnSLduviYJ+RHvi4YZ/s4njhxuMhca4qrRAcdwtCCu9IoWInihWEMk4kQT4i4ii8WMGkPtolOCMNa5l+OioBtokvCcJLHGbJN5BbmrLObudI0WilPFq4lHgvQSttl4XomgyM74e4skIVbmNQm21TRVhYW8XiXF2LLuIPnah4XyDblNxOG3TwOkbW0H4Qhn/lbI9ite7w4i817eczNOYv2xGNkzlmM4K42GrS+YrSYj5w2V3MHHmT++nAEuV3A007Zeu7AKzyOKFps4vGFosVWHusULU7yWBbcKuJp5ycVLUp53K9oaxKP/waf5xsEoymTEWruQGvuM8d6Fu2Y9Naz6MKkq55FLybt9Sz6M2mjZzGUSTM9i3gmDfQsxjKpqWcxiUmYnsVE5nPxQeXJZplflqXnDjT1sdim5w7gKIv5wW6Xb9UxT1tFd6DmGc7a6JruAG6sevp0syCwC5unqqKkv7YFZnor5Uz/IHBW4MQdquRoK4PBWZHjGJ567Jw7Z9uCoPCNhI8ybP/Qjjz3uePLhjt0bos3PHRVDsX5Dao42oCzVFl8yQ5194FVft2eUvfs33rl9UZdz2IVZxvY2rp+Iw/rYrCmOx7mrQWk6A7sZOFroucO5BIr/fTcATdzKxg9d4QTj4l6FrWYjNazaMhkuJ5FCyaDlaI/bQXZV8+iI5MeehY9mHTSs+jD3QpUz2Iwk5Z6FmOYNLIbqrnDeDqTKDV3YBaPQkWLxcy9oJShX+4FpWiRwdwLShX66V5QmtBf94JShNLvBaWhJ4tD3My9oPTc0Zp4/EcL3Y/Xgh+u5g4kMonVs3iShydMz2KViKedO6L9TqEdPLYLQ+WbaL9SKpvHKmHYBHYLhHl4PCEL9T+g/UK5DsQjURbmkW0ggckQWThCtoGFTFrJwg204l3mf3qILLxFK37mcRSy8IDrCQC1fDzeEIY02cYA4jFHGBKwDdzFJF4YeoJtII1JU2n2KTgNVuzlcU6enUo+cDWyjMeXECfTnT7hxzcdPQ95koLawENMbhaIrABVfMSkFyQaCdEt4PiNx+VQyDSIiq7EfuZQqAFU3MnkCUg1As0TAN5k4gLEqjQbyOFRUQuCDZp2Jx5HAMkGS7GAyVLINlCKbUwSINwgaa0yw3sOg+P3KR0Nf2YS8fgZgHSVYgPpTNIg4KAospmMhYAjINwC3bifjCKShYmwsZDJfslGCIpvmUyWlQC0JzFpKDPBJ55mckmyE3riJyYrZCjB+Iv8HycxGSRZmugazzJ5VlgyNcE1HFlMtkuyNbk1hhGTgTIXbGItk8cFZS/UrFfMZKNkMMzEg8Skj0wGmTjB5H5+2QwxBxCTNZLR8BKvc+kuqwmGPt8gBbULmdzMK7uBJe4jJtmS3SSotgj9icmnujIdUmIaMTko2Q4osY/LEFkPJ4dyPzX3C8p8KIn3uSyU7AeSHbxcGssDEInXiMlhyQOCWc83iEKLEi6jvo0LyaexnJjcKCAvwGObMi7TJTeAI1ZwPz3PSsoR2Hit2+DInkBGvEVM3tWQL4CxfQWXrZIzYBEbiEtruQMVe3utueKI8Qmo0tECfTX2EJde38afJNL4H3E5JrkEEKOy2XSVU+AQC4nLFskraNiqiM1Q+UXkyvkWn0B+EThcBGCIj4uvzxUcSxAd/jVxeQ/wjViV9DW+nghwI0DYoqubzRoA3iWDDuGfcSxugwA4CIgHic1jQCAcAGxTwCY3GoFxuC8+IDYJQIAc3ns7/xO1x4GAOXy3bQEbbx8gcA7PrXGA2KwAAugIXj/fAOBpYvNn0ysE0up1Y6iHz11AgB1OWy+b2Ox0IOAOl8UGYlPWGQi4Izh8AncRn0eBADwSf7t/GZ9TYQjMw1ub5PE/V96BQIAevhr6JfF5AQjUI3h6As8Rn6yaVwjY1c/GZJ/Bz10PIIBXN7tLIfF5CgjoI3GyG/1IfI6EI9APF43aS3yKOgIBfzhoyNtkwEQJAO6J58mAXRICvPMOMuBGWTEguHYRxnsM+NhdooBn9i0kAxZIGEj82na7RAbsyyMSeGW7M2TAuVISCnyydZbJ5+tFMwkGHtnkOzJhrIQDf2z0NZmwROJB8OaiukfIhMP5hQRfbGTmtUoSEhJPtk1PkQnPWkpU8MM2P5IJ73pLXAgUxvxKRkySyBAY7HyajMiW0LA8IFxruERG7Mz6NmxS/j7qMhlxpKAkOil9v9dDRpwpI/FhmejdkUxmya0lIUJwIzaQGec7SYxYbqfZGsMef3X90gfa+QmN9xt6qRuECdsYnXSR/p7Do/3i8ZJfDP3TCYDCJnav/BthU7TtSSg0tGgwEFQNWziqgCrP0Xr2psZzPtN/K7mAIGvYwNGlVFU+C7X1TSbbyDDlNwBB17CfRDPtvKpInqllE4AgbNhPOl/bvmsKlZladGU2GBtptpPoZptSfxOZ5s/BCNIyr/JzuPn9bCBttifDcoy96ETQlriDV1OxspkdpJ/sSNjTHmPPdEMQF0f8shMXyvO3J7WFLaQiO/7vAxwi4+S0R1AYm0iF9uO2QnO/bxN8O9JA+tFutHiXzLOvsSqkjTb7M/HOAgvcHKUL6f/2OuZ2siCpIcrwgp3OO4UllVnQKu5GUH40Ix6009bR35AFuTwSyuj0RahtaLnaZ4Wnr1NH/7oebEJ0cjFZkZ3N1NG/aw6bMCGLLEl6mFbtvcuaVjID+phtAlvQcb3XGn/sDp32a9IryJp8XF+ntk4ts6j5UkJUauOUUrIoZ0dDo6/o8GoJWZW3G0Ch3bnaY1krmQl9GjJhD1mXQx2gztna9/1sYfM8FaZO+79eSBYmKw7KnK1753GyMt70WsrUmV5MluZUf6jSrsk/krUpTwnXpF2Tvyers6czAC0erVvyd2R5/rzLASX2aFdqNlkf7+pm0KGxMzPLqDpyYACgv1lHlzvezKPqSfaNgPZ6DefMjItUXSlOqQXV9VoD7kzbW0bVF++aVlCbYe2nLXz3Zx9Va3zv9wAUNlvfmZCUnvlLBVV/MvsCiumnBzSqXz8Ujvr1m8fG9nYOHH3TzEUvb9x6Is9NdsmWQUDQ36N+7IsHgv0et5kjAMV370f9EPynY8Refr41FJDKN6OtvPl1oYJsjLV2TQ+DDlL/Q5Rz4flOUEPmxfi/ZmZiFBSRI9HN6SUx0EVuxjW/r54QBm3kbUTzx6rRYVBIHsQyJR8lREAnSUcxv74yIQpqSZLxU5qZ5IRq0jOz56fl46KhnpzM1PF8k54YAxWl84cMnIIvn3TVgp4yPbPmXOYLM3qFQllJZco/mEdXzXE1gcqS9b//4O9HMlLudMWGQnHJCv/hEyI5x75Yn/bk/f+9PjYMV0exY03rds6hIxKmuVxDnM72sW3qG55FUunkCgeqzD/+j3/8H/+gN5YbjjSov86D9qsnTv31kEP9NR7ar6mA8usJQPn1EqD86gaUX3MB5dftgPLrAkD3taItoPu6EoDqa34zKHukVbmZRD+oO3dWvsP86f5QeOIOVnK0lc2g8jjil524UJ6/PSlQvpEAVlA4IPwBAABQOgCdASoAAgACPpFIoU0lpCMiIAgAsBIJaW7hd2EbQAnsA99snIe+2TkPfbJyHvtk5D32ych77ZOQ99snIe+2TkPfbJyHvtk5D32ych77ZOQ99snIe+2TkPfbJyHvtk5D32ych77ZOQ99snIe+2TkPfbJyHvtk5D32ych77ZOQ99snIe+2TkPfbJyHvtk5D32ych77ZOQ99snIe+2TkPfbJyHvtk5D32ych77ZOQ99snIe+2TkPfbJyHvtk5D32ych77ZOQ99snIe+2TkPfbJyHvtk5D32ych77ZOQ99snIe+2TkPfbJyHvtk5D32ych77ZOQ99snIe+2TkPfbJyHvtk5D32ych77ZOQ99snIe+2TkPfbJyHvtk5D32ych77ZOQ99snIe+2TkPfbJyHvtk5D32ych77ZOQ99snIe+2TkPfbJyHvtk5D32ych77ZOQ99snIe+2TkPfbJyHvtk5D32ych77ZOQ99snIe+2TkPfbJyHvtk5D32ych77ZOQ99snIe+2TkPfbJyHvtk5D32ych77ZOQ99snIe+2TkPfbJyHvtk5D32ych77ZOQ99snIe+2TkPfbJyHvtk5D32ych77ZOQ99snIe+2TkPfbJyHvtk5D32ych6wAAP7/3giqsgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA";
|
|
32878
32878
|
function OrientationCheck() {
|
|
32879
32879
|
const [e, t] = useState(!1), [i, s] = useState(!1), a = useRef(null), o = useRef(window.innerWidth);
|
|
32880
32880
|
return useEffect(() => ((async () => {
|
|
32881
32881
|
try {
|
|
32882
|
-
const c = await CryptoSteamSDK.getConfig();
|
|
32883
|
-
if (c.supported_screen_formats.includes("
|
|
32884
|
-
|
|
32885
|
-
|
|
32886
|
-
t(!!(m && p));
|
|
32887
|
-
}, f = () => {
|
|
32888
|
-
const p = window.innerWidth;
|
|
32889
|
-
p !== o.current && (o.current = p, a.current && clearTimeout(a.current), a.current = setTimeout(() => {
|
|
32890
|
-
u();
|
|
32891
|
-
}, 300));
|
|
32892
|
-
}, d = () => {
|
|
32893
|
-
u();
|
|
32894
|
-
};
|
|
32895
|
-
return u(), window.addEventListener("orientationchange", d), window.addEventListener("resize", f), window.addEventListener("load", u), s(!0), () => {
|
|
32896
|
-
a.current && clearTimeout(a.current), window.removeEventListener("orientationchange", d), window.removeEventListener("resize", f), window.removeEventListener("load", u);
|
|
32897
|
-
};
|
|
32882
|
+
const c = await CryptoSteamSDK.getConfig(), u = c.supported_screen_formats.includes("landscape"), f = c.supported_screen_formats.includes("portrait");
|
|
32883
|
+
if (c.supported_screen_formats.includes("fullscreen") || u && f) {
|
|
32884
|
+
s(!0), t(!1);
|
|
32885
|
+
return;
|
|
32898
32886
|
}
|
|
32899
|
-
|
|
32887
|
+
const p = () => {
|
|
32888
|
+
const g = /iPhone|iPad|iPod|Android/i.test(navigator.userAgent), b = window.innerWidth < window.innerHeight, S = !b;
|
|
32889
|
+
if (u && !f) {
|
|
32890
|
+
t(b && g);
|
|
32891
|
+
return;
|
|
32892
|
+
}
|
|
32893
|
+
if (f && !u) {
|
|
32894
|
+
t(S && g);
|
|
32895
|
+
return;
|
|
32896
|
+
}
|
|
32897
|
+
t(!1);
|
|
32898
|
+
}, m = () => {
|
|
32899
|
+
const g = window.innerWidth;
|
|
32900
|
+
g !== o.current && (o.current = g, a.current && clearTimeout(a.current), a.current = setTimeout(() => {
|
|
32901
|
+
p();
|
|
32902
|
+
}, 300));
|
|
32903
|
+
}, y = () => {
|
|
32904
|
+
p();
|
|
32905
|
+
};
|
|
32906
|
+
return p(), window.addEventListener("orientationchange", y), window.addEventListener("resize", m), window.addEventListener("load", p), s(!0), () => {
|
|
32907
|
+
a.current && clearTimeout(a.current), window.removeEventListener("orientationchange", y), window.removeEventListener("resize", m), window.removeEventListener("load", p);
|
|
32908
|
+
};
|
|
32900
32909
|
} catch (c) {
|
|
32901
32910
|
console.error("Error checking orientation config:", c), s(!0);
|
|
32902
32911
|
}
|
|
@@ -33319,7 +33328,7 @@ function getDefaultSwipeDirections(e) {
|
|
|
33319
33328
|
}
|
|
33320
33329
|
const Toast = (e) => {
|
|
33321
33330
|
var t, i, s, a, o, l, c, u, f;
|
|
33322
|
-
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: Z, 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), [X, 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 || Z || 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 || "", Ze = React__default.useMemo(() => S.findIndex((Je) => Je.toastId === p.id) || 0, [
|
|
33323
33332
|
S,
|
|
33324
33333
|
p.id
|
|
33325
33334
|
]), yt = React__default.useMemo(() => {
|
|
@@ -33328,15 +33337,15 @@ const Toast = (e) => {
|
|
|
33328
33337
|
}, [
|
|
33329
33338
|
p.closeButton,
|
|
33330
33339
|
I
|
|
33331
|
-
]), _e = React__default.useMemo(() => p.duration ||
|
|
33340
|
+
]), _e = React__default.useMemo(() => p.duration || Z || TOAST_LIFETIME, [
|
|
33332
33341
|
p.duration,
|
|
33333
|
-
|
|
33334
|
-
]), 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
|
+
Z
|
|
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 >= Ze ? Je : Je + dt.height, 0), [
|
|
33335
33344
|
S,
|
|
33336
|
-
|
|
33345
|
+
Ze
|
|
33337
33346
|
]), qe = useIsDocumentHidden(), ve = p.invert || d, Ae = Fe === "loading";
|
|
33338
|
-
nt.current = React__default.useMemo(() =>
|
|
33339
|
-
|
|
33347
|
+
nt.current = React__default.useMemo(() => Ze * H + Se, [
|
|
33348
|
+
Ze,
|
|
33340
33349
|
Se
|
|
33341
33350
|
]), React__default.useEffect(() => {
|
|
33342
33351
|
Oe.current = _e;
|
|
@@ -33361,7 +33370,7 @@ const Toast = (e) => {
|
|
|
33361
33370
|
g,
|
|
33362
33371
|
p.id
|
|
33363
33372
|
]), React__default.useLayoutEffect(() => {
|
|
33364
|
-
if (!
|
|
33373
|
+
if (!X) return;
|
|
33365
33374
|
const Je = ye.current, dt = Je.style.height;
|
|
33366
33375
|
Je.style.height = "auto";
|
|
33367
33376
|
const gt = Je.getBoundingClientRect().height;
|
|
@@ -33377,7 +33386,7 @@ const Toast = (e) => {
|
|
|
33377
33386
|
...Tt
|
|
33378
33387
|
]);
|
|
33379
33388
|
}, [
|
|
33380
|
-
|
|
33389
|
+
X,
|
|
33381
33390
|
p.title,
|
|
33382
33391
|
p.description,
|
|
33383
33392
|
g,
|
|
@@ -33446,7 +33455,7 @@ const Toast = (e) => {
|
|
|
33446
33455
|
"data-sonner-toast": "",
|
|
33447
33456
|
"data-rich-colors": (Et = p.richColors) != null ? Et : T,
|
|
33448
33457
|
"data-styled": !(p.jsx || p.unstyled || m),
|
|
33449
|
-
"data-mounted":
|
|
33458
|
+
"data-mounted": X,
|
|
33450
33459
|
"data-promise": !!p.promise,
|
|
33451
33460
|
"data-swiped": ne,
|
|
33452
33461
|
"data-removed": se,
|
|
@@ -33461,7 +33470,7 @@ const Toast = (e) => {
|
|
|
33461
33470
|
"data-invert": ve,
|
|
33462
33471
|
"data-swipe-out": ie,
|
|
33463
33472
|
"data-swipe-direction": U,
|
|
33464
|
-
"data-expanded": !!(A || F &&
|
|
33473
|
+
"data-expanded": !!(A || F && X),
|
|
33465
33474
|
"data-testid": p.testId,
|
|
33466
33475
|
style: {
|
|
33467
33476
|
"--index": k,
|
|
@@ -33599,24 +33608,24 @@ const Toaster = /* @__PURE__ */ React__default.forwardRef(function e(t, i) {
|
|
|
33599
33608
|
const { id: s, invert: a, position: o = "bottom-right", hotkey: l = [
|
|
33600
33609
|
"altKey",
|
|
33601
33610
|
"KeyT"
|
|
33602
|
-
], 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((X) => X.toasterId === s) : I.filter((X) => !X.toasterId), [
|
|
33603
33612
|
I,
|
|
33604
33613
|
s
|
|
33605
33614
|
]), j = React__default.useMemo(() => Array.from(new Set([
|
|
33606
33615
|
o
|
|
33607
|
-
].concat(M.filter((
|
|
33616
|
+
].concat(M.filter((X) => X.position).map((X) => X.position)))), [
|
|
33608
33617
|
M,
|
|
33609
33618
|
o
|
|
33610
|
-
]), [z, Q] = React__default.useState([]), [
|
|
33619
|
+
]), [z, Q] = React__default.useState([]), [Z, 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((X) => {
|
|
33611
33620
|
N((re) => {
|
|
33612
33621
|
var se;
|
|
33613
|
-
return (se = re.find((ce) => ce.id ===
|
|
33622
|
+
return (se = re.find((ce) => ce.id === X.id)) != null && se.delete || ToastState.dismiss(X.id), re.filter(({ id: ce }) => ce !== X.id);
|
|
33614
33623
|
});
|
|
33615
33624
|
}, []);
|
|
33616
|
-
return React__default.useEffect(() => ToastState.subscribe((
|
|
33617
|
-
if (
|
|
33625
|
+
return React__default.useEffect(() => ToastState.subscribe((X) => {
|
|
33626
|
+
if (X.dismiss) {
|
|
33618
33627
|
requestAnimationFrame(() => {
|
|
33619
|
-
N((re) => re.map((se) => se.id ===
|
|
33628
|
+
N((re) => re.map((se) => se.id === X.id ? {
|
|
33620
33629
|
...se,
|
|
33621
33630
|
delete: !0
|
|
33622
33631
|
} : se));
|
|
@@ -33626,16 +33635,16 @@ const Toaster = /* @__PURE__ */ React__default.forwardRef(function e(t, i) {
|
|
|
33626
33635
|
setTimeout(() => {
|
|
33627
33636
|
ReactDOM__default.flushSync(() => {
|
|
33628
33637
|
N((re) => {
|
|
33629
|
-
const se = re.findIndex((ce) => ce.id ===
|
|
33638
|
+
const se = re.findIndex((ce) => ce.id === X.id);
|
|
33630
33639
|
return se !== -1 ? [
|
|
33631
33640
|
...re.slice(0, se),
|
|
33632
33641
|
{
|
|
33633
33642
|
...re[se],
|
|
33634
|
-
...
|
|
33643
|
+
...X
|
|
33635
33644
|
},
|
|
33636
33645
|
...re.slice(se + 1)
|
|
33637
33646
|
] : [
|
|
33638
|
-
|
|
33647
|
+
X,
|
|
33639
33648
|
...re
|
|
33640
33649
|
];
|
|
33641
33650
|
});
|
|
@@ -33649,13 +33658,13 @@ const Toaster = /* @__PURE__ */ React__default.forwardRef(function e(t, i) {
|
|
|
33649
33658
|
return;
|
|
33650
33659
|
}
|
|
33651
33660
|
if (m === "system" && (window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? D("dark") : D("light")), typeof window > "u") return;
|
|
33652
|
-
const
|
|
33661
|
+
const X = window.matchMedia("(prefers-color-scheme: dark)");
|
|
33653
33662
|
try {
|
|
33654
|
-
|
|
33663
|
+
X.addEventListener("change", ({ matches: re }) => {
|
|
33655
33664
|
D(re ? "dark" : "light");
|
|
33656
33665
|
});
|
|
33657
33666
|
} catch {
|
|
33658
|
-
|
|
33667
|
+
X.addListener(({ matches: se }) => {
|
|
33659
33668
|
try {
|
|
33660
33669
|
D(se ? "dark" : "light");
|
|
33661
33670
|
} catch (ce) {
|
|
@@ -33670,7 +33679,7 @@ const Toaster = /* @__PURE__ */ React__default.forwardRef(function e(t, i) {
|
|
|
33670
33679
|
}, [
|
|
33671
33680
|
I
|
|
33672
33681
|
]), React__default.useEffect(() => {
|
|
33673
|
-
const
|
|
33682
|
+
const X = (re) => {
|
|
33674
33683
|
var se;
|
|
33675
33684
|
if (l.every((K) => re[K] || re.code === K)) {
|
|
33676
33685
|
var oe;
|
|
@@ -33678,7 +33687,7 @@ const Toaster = /* @__PURE__ */ React__default.forwardRef(function e(t, i) {
|
|
|
33678
33687
|
}
|
|
33679
33688
|
re.code === "Escape" && (document.activeElement === P.current || (se = P.current) != null && se.contains(document.activeElement)) && ee(!1);
|
|
33680
33689
|
};
|
|
33681
|
-
return document.addEventListener("keydown",
|
|
33690
|
+
return document.addEventListener("keydown", X), () => document.removeEventListener("keydown", X);
|
|
33682
33691
|
}, [
|
|
33683
33692
|
l
|
|
33684
33693
|
]), React__default.useEffect(() => {
|
|
@@ -33699,11 +33708,11 @@ const Toaster = /* @__PURE__ */ React__default.forwardRef(function e(t, i) {
|
|
|
33699
33708
|
"aria-relevant": "additions text",
|
|
33700
33709
|
"aria-atomic": "false",
|
|
33701
33710
|
suppressHydrationWarning: !0
|
|
33702
|
-
}, j.map((
|
|
33711
|
+
}, j.map((X, re) => {
|
|
33703
33712
|
var se;
|
|
33704
|
-
const [ce, oe] =
|
|
33713
|
+
const [ce, oe] = X.split("-");
|
|
33705
33714
|
return M.length ? /* @__PURE__ */ React__default.createElement("ol", {
|
|
33706
|
-
key:
|
|
33715
|
+
key: X,
|
|
33707
33716
|
dir: E === "auto" ? getDocumentDirection() : E,
|
|
33708
33717
|
tabIndex: -1,
|
|
33709
33718
|
ref: P,
|
|
@@ -33737,7 +33746,7 @@ const Toaster = /* @__PURE__ */ React__default.forwardRef(function e(t, i) {
|
|
|
33737
33746
|
K.target instanceof HTMLElement && K.target.dataset.dismissible === "false" || F(!0);
|
|
33738
33747
|
},
|
|
33739
33748
|
onPointerUp: () => F(!1)
|
|
33740
|
-
}, M.filter((K) => !K.position && re === 0 || K.position ===
|
|
33749
|
+
}, M.filter((K) => !K.position && re === 0 || K.position === X).map((K, ie) => {
|
|
33741
33750
|
var le, ne;
|
|
33742
33751
|
return /* @__PURE__ */ React__default.createElement(Toast, {
|
|
33743
33752
|
key: K.id,
|
|
@@ -33752,7 +33761,7 @@ const Toaster = /* @__PURE__ */ React__default.forwardRef(function e(t, i) {
|
|
|
33752
33761
|
visibleToasts: S,
|
|
33753
33762
|
closeButton: (ne = k == null ? void 0 : k.closeButton) != null ? ne : u,
|
|
33754
33763
|
interacting: H,
|
|
33755
|
-
position:
|
|
33764
|
+
position: X,
|
|
33756
33765
|
style: k == null ? void 0 : k.style,
|
|
33757
33766
|
unstyled: k == null ? void 0 : k.unstyled,
|
|
33758
33767
|
classNames: k == null ? void 0 : k.classNames,
|
|
@@ -33765,7 +33774,7 @@ const Toaster = /* @__PURE__ */ React__default.forwardRef(function e(t, i) {
|
|
|
33765
33774
|
setHeights: Q,
|
|
33766
33775
|
expandByDefault: c,
|
|
33767
33776
|
gap: A,
|
|
33768
|
-
expanded:
|
|
33777
|
+
expanded: Z,
|
|
33769
33778
|
swipeDirections: t.swipeDirections
|
|
33770
33779
|
});
|
|
33771
33780
|
})) : null;
|
|
@@ -34505,7 +34514,7 @@ function DragHandler(e, t, i, s, a, o, l, c, u, f, d, p, m, y, g, b, S, k, E) {
|
|
|
34505
34514
|
}, Q = {
|
|
34506
34515
|
mouse: 500,
|
|
34507
34516
|
touch: 600
|
|
34508
|
-
},
|
|
34517
|
+
}, Z = g ? 43 : 25;
|
|
34509
34518
|
let ee = !1, H = 0, F = 0, L = !1, D = !1, P = !1, O = !1;
|
|
34510
34519
|
function B(he) {
|
|
34511
34520
|
if (!E) return;
|
|
@@ -34524,7 +34533,7 @@ function DragHandler(e, t, i, s, a, o, l, c, u, f, d, p, m, y, g, b, S, k, E) {
|
|
|
34524
34533
|
const he = O ? i : t;
|
|
34525
34534
|
M.add(he, "touchmove", oe, I).add(he, "touchend", K).add(he, "mousemove", oe, I).add(he, "mouseup", K);
|
|
34526
34535
|
}
|
|
34527
|
-
function
|
|
34536
|
+
function X(he) {
|
|
34528
34537
|
const fe = he.nodeName || "";
|
|
34529
34538
|
return T.includes(fe);
|
|
34530
34539
|
}
|
|
@@ -34537,7 +34546,7 @@ function DragHandler(e, t, i, s, a, o, l, c, u, f, d, p, m, y, g, b, S, k, E) {
|
|
|
34537
34546
|
}
|
|
34538
34547
|
function ce(he) {
|
|
34539
34548
|
const fe = isMouseEvent(he, s);
|
|
34540
|
-
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) && (X(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")));
|
|
34541
34550
|
}
|
|
34542
34551
|
function oe(he) {
|
|
34543
34552
|
if (!isMouseEvent(he, s) && he.touches.length >= 2) return K(he);
|
|
@@ -34548,7 +34557,7 @@ function DragHandler(e, t, i, s, a, o, l, c, u, f, d, p, m, y, g, b, S, k, E) {
|
|
|
34548
34557
|
Ce > b && (P = !0), f.useFriction(0.3).useDuration(0.75), c.start(), a.add(C(We)), he.preventDefault();
|
|
34549
34558
|
}
|
|
34550
34559
|
function K(he) {
|
|
34551
|
-
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 = Z - 10 * Oe, ye = k + Oe / 50;
|
|
34552
34561
|
D = !1, L = !1, M.clear(), f.useDuration(We).useFriction(ye), u.distance(Ce, !g), O = !1, m.emit("pointerUp");
|
|
34553
34562
|
}
|
|
34554
34563
|
function ie(he) {
|
|
@@ -35001,13 +35010,13 @@ function SlideLooper(e, t, i, s, a, o, l, c, u) {
|
|
|
35001
35010
|
function S(N, M, j) {
|
|
35002
35011
|
const z = b(M);
|
|
35003
35012
|
return N.map((Q) => {
|
|
35004
|
-
const
|
|
35013
|
+
const Z = j ? 0 : -i, ee = j ? i : 0, H = j ? "end" : "start", F = z[Q][H];
|
|
35005
35014
|
return {
|
|
35006
35015
|
index: Q,
|
|
35007
35016
|
loopPoint: F,
|
|
35008
35017
|
slideLocation: Vector1D(-1),
|
|
35009
35018
|
translate: Translate(e, u[Q]),
|
|
35010
|
-
target: () => c.get() > F ?
|
|
35019
|
+
target: () => c.get() > F ? Z : ee
|
|
35011
35020
|
};
|
|
35012
35021
|
});
|
|
35013
35022
|
}
|
|
@@ -35149,8 +35158,8 @@ function SlidesToScroll(e, t, i, s, a, o, l, c, u) {
|
|
|
35149
35158
|
}
|
|
35150
35159
|
function g(k) {
|
|
35151
35160
|
return k.length ? arrayKeys(k).reduce((E, A, C) => {
|
|
35152
|
-
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,
|
|
35153
|
-
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, Z = mathAbs(j - Q - (M + z));
|
|
35162
|
+
return C && Z > t + u && E.push(A), N && E.push(k.length), E;
|
|
35154
35163
|
}, []).map((E, A, C) => {
|
|
35155
35164
|
const T = Math.max(C[A - 1] || 0);
|
|
35156
35165
|
return k.slice(T, E);
|
|
@@ -35181,18 +35190,18 @@ function Engine(e, t, i, s, a, o, l) {
|
|
|
35181
35190
|
watchSlides: C,
|
|
35182
35191
|
watchDrag: T,
|
|
35183
35192
|
watchFocus: I
|
|
35184
|
-
} = 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), Z = Q.measureSize(j), ee = PercentOfView(Z), H = Alignment(c, Z), F = !p && !!E, L = p || !!E, {
|
|
35185
35194
|
slideSizes: D,
|
|
35186
35195
|
slideSizesWithGaps: P,
|
|
35187
35196
|
startGap: O,
|
|
35188
35197
|
endGap: B
|
|
35189
|
-
} = SlideSizes(Q, j, z, i, L, a), U = SlidesToScroll(Q,
|
|
35198
|
+
} = SlideSizes(Q, j, z, i, L, a), U = SlidesToScroll(Q, Z, S, p, j, z, O, B, N), {
|
|
35190
35199
|
snaps: te,
|
|
35191
|
-
snapsAligned:
|
|
35200
|
+
snapsAligned: X
|
|
35192
35201
|
} = ScrollSnaps(Q, H, j, z, U), re = -arrayLast(te) + arrayLast(P), {
|
|
35193
35202
|
snapsContained: se,
|
|
35194
35203
|
scrollContainLimit: ce
|
|
35195
|
-
} = ScrollContain(
|
|
35204
|
+
} = ScrollContain(Z, re, X, E, N), oe = F ? se : X, {
|
|
35196
35205
|
limit: K
|
|
35197
35206
|
} = ScrollLimit(re, oe, p), ie = Counter(arrayLastIndex(oe), d, p), le = ie.clone(), ne = arrayKeys(i), he = ({
|
|
35198
35207
|
dragHandler: nt,
|
|
@@ -35223,7 +35232,7 @@ function Engine(e, t, i, s, a, o, l) {
|
|
|
35223
35232
|
gt && Ae.stop();
|
|
35224
35233
|
const Tt = xe.get() * Et + Ne.get() * (1 - Et);
|
|
35225
35234
|
ke.set(Tt), St && (Se.loop(nt.direction()), qe.loop()), Le.to(ke.get()), gt && $e.emit("settle"), dt || $e.emit("scroll");
|
|
35226
|
-
}, 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(), Ze = SlidesInView(t, i, l, b), {
|
|
35227
35236
|
slideRegistry: yt
|
|
35228
35237
|
} = SlideRegistry(F, E, oe, ce, U, ne), _e = SlideFocus(e, i, yt, Pe, Ge, Qe, l, I), ct = {
|
|
35229
35238
|
ownerDocument: s,
|
|
@@ -35252,10 +35261,10 @@ function Engine(e, t, i, s, a, o, l) {
|
|
|
35252
35261
|
scrollSnaps: oe,
|
|
35253
35262
|
scrollTarget: Fe,
|
|
35254
35263
|
scrollTo: Pe,
|
|
35255
|
-
slideLooper: SlideLooper(Q,
|
|
35264
|
+
slideLooper: SlideLooper(Q, Z, re, D, P, te, oe, ye, i),
|
|
35256
35265
|
slideFocus: _e,
|
|
35257
35266
|
slidesHandler: SlidesHandler(t, l, C),
|
|
35258
|
-
slidesInView:
|
|
35267
|
+
slidesInView: Ze,
|
|
35259
35268
|
slideIndexes: ne,
|
|
35260
35269
|
slideRegistry: yt,
|
|
35261
35270
|
slidesToScroll: U,
|
|
@@ -35386,15 +35395,15 @@ function EmblaCarousel(e, t, i) {
|
|
|
35386
35395
|
}
|
|
35387
35396
|
function Q(ne, he) {
|
|
35388
35397
|
const fe = U();
|
|
35389
|
-
|
|
35398
|
+
Z(), z(f({
|
|
35390
35399
|
startIndex: fe
|
|
35391
35400
|
}, ne), he), u.emit("reInit");
|
|
35392
35401
|
}
|
|
35393
|
-
function
|
|
35402
|
+
function Z() {
|
|
35394
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();
|
|
35395
35404
|
}
|
|
35396
35405
|
function ee() {
|
|
35397
|
-
S || (S = !0, c.clear(),
|
|
35406
|
+
S || (S = !0, c.clear(), Z(), u.emit("destroy"), u.clear());
|
|
35398
35407
|
}
|
|
35399
35408
|
function H(ne, he, fe) {
|
|
35400
35409
|
!A.active || S || (k.scrollBody.useBaseFriction().useDuration(he === !0 ? 0 : A.duration), k.scrollTo.index(ne, fe || 0));
|
|
@@ -35425,7 +35434,7 @@ function EmblaCarousel(e, t, i) {
|
|
|
35425
35434
|
function te() {
|
|
35426
35435
|
return k.indexPrevious.get();
|
|
35427
35436
|
}
|
|
35428
|
-
function
|
|
35437
|
+
function X() {
|
|
35429
35438
|
return k.slidesInView.get();
|
|
35430
35439
|
}
|
|
35431
35440
|
function re() {
|
|
@@ -35466,7 +35475,7 @@ function EmblaCarousel(e, t, i) {
|
|
|
35466
35475
|
scrollTo: H,
|
|
35467
35476
|
selectedScrollSnap: U,
|
|
35468
35477
|
slideNodes: ie,
|
|
35469
|
-
slidesInView:
|
|
35478
|
+
slidesInView: X,
|
|
35470
35479
|
slidesNotInView: re
|
|
35471
35480
|
};
|
|
35472
35481
|
return z(t, i), setTimeout(() => u.emit("init"), 0), le;
|
|
@@ -35855,24 +35864,24 @@ const PrizeCarousel = memo$1(
|
|
|
35855
35864
|
return F(ee);
|
|
35856
35865
|
const L = F(0.7), D = (ee - 0.7) / (1 - 0.7);
|
|
35857
35866
|
return L + D * (1 - L);
|
|
35858
|
-
},
|
|
35867
|
+
}, Z = () => {
|
|
35859
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;
|
|
35860
35869
|
if (U > 0) {
|
|
35861
|
-
for (let
|
|
35870
|
+
for (let X = 0; X < U; X++)
|
|
35862
35871
|
d.scrollPrev();
|
|
35863
35872
|
z = B;
|
|
35864
35873
|
}
|
|
35865
35874
|
if (L < 1) {
|
|
35866
|
-
g.current = requestAnimationFrame(
|
|
35875
|
+
g.current = requestAnimationFrame(Z);
|
|
35867
35876
|
return;
|
|
35868
35877
|
}
|
|
35869
35878
|
const te = () => {
|
|
35870
|
-
var
|
|
35871
|
-
d.off("settle", te), s("STOPPED"), (se = (re = (
|
|
35879
|
+
var X, re, se;
|
|
35880
|
+
d.off("settle", te), s("STOPPED"), (se = (re = (X = window.Telegram) == null ? void 0 : X.WebApp) == null ? void 0 : re.HapticFeedback) == null || se.impactOccurred("medium");
|
|
35872
35881
|
};
|
|
35873
35882
|
d.on("settle", te);
|
|
35874
35883
|
};
|
|
35875
|
-
g.current = requestAnimationFrame(
|
|
35884
|
+
g.current = requestAnimationFrame(Z);
|
|
35876
35885
|
}
|
|
35877
35886
|
return E;
|
|
35878
35887
|
}, [d, t, i, s, e, a]), /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
@@ -36251,7 +36260,7 @@ const sortPrizesDistributed = (e) => {
|
|
|
36251
36260
|
setWheelSpinState: d,
|
|
36252
36261
|
setAnimationPhase: p,
|
|
36253
36262
|
setSkipped: m
|
|
36254
|
-
} = 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, Z] = useState(!1), { mutate: ee, isPending: H } = useBoxRewards({
|
|
36255
36264
|
onSuccess(ce) {
|
|
36256
36265
|
const { rewards: oe, recent_rewards: K } = ce, ie = [
|
|
36257
36266
|
...oe,
|
|
@@ -36280,13 +36289,13 @@ const sortPrizesDistributed = (e) => {
|
|
|
36280
36289
|
}), k([COMMON_BOX]));
|
|
36281
36290
|
}, [l, i, ee]), useEffect(() => {
|
|
36282
36291
|
if (s) {
|
|
36283
|
-
|
|
36292
|
+
Z(!1);
|
|
36284
36293
|
const ce = setTimeout(() => {
|
|
36285
|
-
|
|
36294
|
+
Z(!0);
|
|
36286
36295
|
}, 1700);
|
|
36287
36296
|
return () => clearTimeout(ce);
|
|
36288
36297
|
}
|
|
36289
|
-
|
|
36298
|
+
Z(!1);
|
|
36290
36299
|
}, [s]), useEffect(() => {
|
|
36291
36300
|
if (c === "STOPPED" && u === "carousel") {
|
|
36292
36301
|
const ce = setTimeout(() => {
|
|
@@ -36376,7 +36385,7 @@ const sortPrizesDistributed = (e) => {
|
|
|
36376
36385
|
return () => clearTimeout(ce);
|
|
36377
36386
|
}
|
|
36378
36387
|
}, [s, M, z]);
|
|
36379
|
-
const te = c === "STOPPED" && u === "final",
|
|
36388
|
+
const te = c === "STOPPED" && u === "final", X = 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;
|
|
36380
36389
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
36381
36390
|
Drawer,
|
|
36382
36391
|
{
|
|
@@ -36467,7 +36476,7 @@ const sortPrizesDistributed = (e) => {
|
|
|
36467
36476
|
color: "#000",
|
|
36468
36477
|
fontWeight: 700,
|
|
36469
36478
|
zIndex: 1,
|
|
36470
|
-
marginBottom:
|
|
36479
|
+
marginBottom: X ? "40vh" : "32vh"
|
|
36471
36480
|
},
|
|
36472
36481
|
children: e("box_open.you_ve_got")
|
|
36473
36482
|
}
|
|
@@ -36592,14 +36601,14 @@ const sortPrizesDistributed = (e) => {
|
|
|
36592
36601
|
},
|
|
36593
36602
|
transition: { duration: 0.3, ease: "easeOut" },
|
|
36594
36603
|
children: [
|
|
36595
|
-
(!te ||
|
|
36604
|
+
(!te || X) && /* @__PURE__ */ jsxRuntimeExports.jsx(ConfettiParticles, { count: 40, margin: 8, padding: 8 }),
|
|
36596
36605
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
36597
36606
|
Button,
|
|
36598
36607
|
{
|
|
36599
36608
|
size: "l",
|
|
36600
36609
|
stretched: !0,
|
|
36601
36610
|
mode: te ? "white" : "filled",
|
|
36602
|
-
onClick:
|
|
36611
|
+
onClick: X ? O : te ? P : D,
|
|
36603
36612
|
style: {
|
|
36604
36613
|
borderRadius: "25px",
|
|
36605
36614
|
background: te ? "#FFFFFF" : "var(--tgui--button_color)",
|
|
@@ -36609,7 +36618,7 @@ const sortPrizesDistributed = (e) => {
|
|
|
36609
36618
|
transition: "background 0.3s ease, outline 0.3s ease, color 0.3s ease, box-shadow 0.3s ease"
|
|
36610
36619
|
},
|
|
36611
36620
|
loading: se,
|
|
36612
|
-
children: e(
|
|
36621
|
+
children: e(X && te ? "box_open.button_open_now" : te ? "common.ok" : "box_open.button_reveal_reward")
|
|
36613
36622
|
}
|
|
36614
36623
|
)
|
|
36615
36624
|
]
|
|
@@ -36824,10 +36833,10 @@ function requireReactConfetti_min() {
|
|
|
36824
36833
|
}), S(this, "animate", function() {
|
|
36825
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;
|
|
36826
36835
|
if (!We) return !1;
|
|
36827
|
-
var Ve = ne.particles.length, Qe = ye ? Ve : Ee,
|
|
36836
|
+
var Ve = ne.particles.length, Qe = ye ? Ve : Ee, Ze = Date.now();
|
|
36828
36837
|
if (Qe < we) {
|
|
36829
|
-
Ce !== we && (ne.tweenInitTime =
|
|
36830
|
-
for (var yt = ne.tweenInitTime, _e = Fe(
|
|
36838
|
+
Ce !== we && (ne.tweenInitTime = Ze, ne.lastNumberOfPieces = we);
|
|
36839
|
+
for (var yt = ne.tweenInitTime, _e = Fe(Ze - yt > Pe ? Pe : Math.max(0, Ze - yt), Qe, we, Pe), ct = Math.round(_e - Qe), nt = 0; nt < ct; nt++) ne.particles.push(ne.getParticle());
|
|
36831
36840
|
ne.particlesGenerated += ct;
|
|
36832
36841
|
}
|
|
36833
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) {
|
|
@@ -36934,11 +36943,11 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
36934
36943
|
}
|
|
36935
36944
|
return le;
|
|
36936
36945
|
}
|
|
36937
|
-
function
|
|
36946
|
+
function Z(K) {
|
|
36938
36947
|
for (var ie = 1; ie < arguments.length; ie++) {
|
|
36939
36948
|
var le = arguments[ie] != null ? arguments[ie] : {};
|
|
36940
36949
|
ie % 2 ? Q(Object(le), !0).forEach(function(ne) {
|
|
36941
|
-
|
|
36950
|
+
X(K, ne, le[ne]);
|
|
36942
36951
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(K, Object.getOwnPropertyDescriptors(le)) : Q(Object(le)).forEach(function(ne) {
|
|
36943
36952
|
Object.defineProperty(K, ne, Object.getOwnPropertyDescriptor(le, ne));
|
|
36944
36953
|
});
|
|
@@ -37027,7 +37036,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
37027
37036
|
return ie.__proto__ || Object.getPrototypeOf(ie);
|
|
37028
37037
|
})(K);
|
|
37029
37038
|
}
|
|
37030
|
-
function
|
|
37039
|
+
function X(K, ie, le) {
|
|
37031
37040
|
return ie in K ? Object.defineProperty(K, ie, { value: le, enumerable: !0, configurable: !0, writable: !0 }) : K[ie] = le, K;
|
|
37032
37041
|
}
|
|
37033
37042
|
var re = f.a.createRef(), se = function(K) {
|
|
@@ -37040,7 +37049,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
37040
37049
|
var ue;
|
|
37041
37050
|
L(this, he);
|
|
37042
37051
|
for (var Ee = arguments.length, Ce = new Array(Ee > 1 ? Ee - 1 : 0), Oe = 1; Oe < Ee; Oe++) Ce[Oe - 1] = arguments[Oe];
|
|
37043
|
-
return
|
|
37052
|
+
return X(U(ue = ne.call.apply(ne, [this, fe].concat(Ce))), "canvas", f.a.createRef()), X(U(ue), "confetti", void 0), ue.canvas = fe.canvasRef || re, ue;
|
|
37044
37053
|
}
|
|
37045
37054
|
return ie = he, (le = [{ key: "componentDidMount", value: function() {
|
|
37046
37055
|
if (this.canvas.current) {
|
|
@@ -37053,7 +37062,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
37053
37062
|
} }, { key: "componentWillUnmount", value: function() {
|
|
37054
37063
|
this.confetti && this.confetti.stop(), this.confetti = void 0;
|
|
37055
37064
|
} }, { key: "render", value: function() {
|
|
37056
|
-
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 = Z({ zIndex: 2, position: "absolute", pointerEvents: "none", top: 0, left: 0, bottom: 0, right: 0 }, Ee.style);
|
|
37057
37066
|
return f.a.createElement("canvas", z({ width: ue.width, height: ue.height, ref: this.canvas }, Ee, { style: Ce }));
|
|
37058
37067
|
} }]) && D(ie.prototype, le), he;
|
|
37059
37068
|
}(u.Component);
|
|
@@ -37065,7 +37074,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
37065
37074
|
}
|
|
37066
37075
|
return [ie, le, {}];
|
|
37067
37076
|
}
|
|
37068
|
-
|
|
37077
|
+
X(se, "defaultProps", Z({}, I)), X(se, "displayName", "ReactConfetti");
|
|
37069
37078
|
var oe = f.a.forwardRef(function(K, ie) {
|
|
37070
37079
|
return f.a.createElement(se, z({ canvasRef: ie }, K));
|
|
37071
37080
|
});
|
|
@@ -37567,7 +37576,7 @@ function delay(e, { signal: t } = {}) {
|
|
|
37567
37576
|
t == null || t.addEventListener("abort", o, { once: !0 });
|
|
37568
37577
|
});
|
|
37569
37578
|
}
|
|
37570
|
-
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.1"' }, win;
|
|
37571
37580
|
if (typeof window > "u") {
|
|
37572
37581
|
var loc = {
|
|
37573
37582
|
hostname: ""
|
|
@@ -38445,10 +38454,10 @@ function serializeElementNode(e, t) {
|
|
|
38445
38454
|
if (e.__context === "2d")
|
|
38446
38455
|
is2DCanvasBlank(e) || (A.rr_dataURL = e.toDataURL(d.type, d.quality));
|
|
38447
38456
|
else if (!("__context" in e)) {
|
|
38448
|
-
var
|
|
38457
|
+
var Z = e.toDataURL(d.type, d.quality), ee = i.createElement("canvas");
|
|
38449
38458
|
ee.width = e.width, ee.height = e.height;
|
|
38450
38459
|
var H = ee.toDataURL(d.type, d.quality);
|
|
38451
|
-
|
|
38460
|
+
Z !== H && (A.rr_dataURL = Z);
|
|
38452
38461
|
}
|
|
38453
38462
|
}
|
|
38454
38463
|
if (E === "img" && p) {
|
|
@@ -38481,9 +38490,9 @@ function serializeElementNode(e, t) {
|
|
|
38481
38490
|
};
|
|
38482
38491
|
}
|
|
38483
38492
|
E === "iframe" && !y(A.src) && (e.contentDocument || (A.rr_src = A.src), delete A.src);
|
|
38484
|
-
var
|
|
38493
|
+
var X;
|
|
38485
38494
|
try {
|
|
38486
|
-
customElements.get(E) && (
|
|
38495
|
+
customElements.get(E) && (X = !0);
|
|
38487
38496
|
} catch {
|
|
38488
38497
|
}
|
|
38489
38498
|
return {
|
|
@@ -38494,7 +38503,7 @@ function serializeElementNode(e, t) {
|
|
|
38494
38503
|
isSVG: isSVGElement(e) || void 0,
|
|
38495
38504
|
needBlock: k,
|
|
38496
38505
|
rootId: S,
|
|
38497
|
-
isCustom:
|
|
38506
|
+
isCustom: X
|
|
38498
38507
|
};
|
|
38499
38508
|
}
|
|
38500
38509
|
function lowerIfExists(e) {
|
|
@@ -38530,12 +38539,12 @@ function slimDOMExcluded(e, t) {
|
|
|
38530
38539
|
return !1;
|
|
38531
38540
|
}
|
|
38532
38541
|
function serializeNodeWithId(e, t) {
|
|
38533
|
-
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, Z = t.stylesheetLoadTimeout, ee = Z === void 0 ? 5e3 : Z, H = t.keepIframeSrcFn, F = H === void 0 ? function() {
|
|
38534
38543
|
return !1;
|
|
38535
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;
|
|
38536
38545
|
if (!B) {
|
|
38537
|
-
var
|
|
38538
|
-
B = needMaskingText(e, l, c,
|
|
38546
|
+
var X = B === void 0;
|
|
38547
|
+
B = needMaskingText(e, l, c, X);
|
|
38539
38548
|
}
|
|
38540
38549
|
var re = serializeNode(e, {
|
|
38541
38550
|
doc: i,
|
|
@@ -38675,7 +38684,7 @@ function serializeNodeWithId(e, t) {
|
|
|
38675
38684
|
}, ee), ce;
|
|
38676
38685
|
}
|
|
38677
38686
|
function snapshot(e, t) {
|
|
38678
|
-
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, Z = i.onIframeLoad, ee = i.iframeLoadTimeout, H = i.onStylesheetLoad, F = i.stylesheetLoadTimeout, L = i.keepIframeSrcFn, D = L === void 0 ? function() {
|
|
38679
38688
|
return !1;
|
|
38680
38689
|
} : L, P = C === !0 ? {
|
|
38681
38690
|
color: !0,
|
|
@@ -38730,7 +38739,7 @@ function snapshot(e, t) {
|
|
|
38730
38739
|
recordCanvas: E,
|
|
38731
38740
|
preserveWhiteSpace: z,
|
|
38732
38741
|
onSerialize: Q,
|
|
38733
|
-
onIframeLoad:
|
|
38742
|
+
onIframeLoad: Z,
|
|
38734
38743
|
iframeLoadTimeout: ee,
|
|
38735
38744
|
onStylesheetLoad: H,
|
|
38736
38745
|
stylesheetLoadTimeout: F,
|
|
@@ -44222,20 +44231,20 @@ var DoubleLinkedList = /* @__PURE__ */ function() {
|
|
|
44222
44231
|
}), __publicField(this, "emit", function() {
|
|
44223
44232
|
if (!(i.frozen || i.locked)) {
|
|
44224
44233
|
for (var s = [], a = /* @__PURE__ */ new Set(), o = new DoubleLinkedList(), l = function(Q) {
|
|
44225
|
-
for (var
|
|
44226
|
-
|
|
44234
|
+
for (var Z = Q, ee = IGNORED_NODE; ee === IGNORED_NODE; )
|
|
44235
|
+
Z = Z && Z.nextSibling, ee = Z && i.mirror.getId(Z);
|
|
44227
44236
|
return ee;
|
|
44228
44237
|
}, c = function(Q) {
|
|
44229
|
-
var
|
|
44230
|
-
if (!(!
|
|
44238
|
+
var Z = index.parentNode(Q);
|
|
44239
|
+
if (!(!Z || !inDom(Q))) {
|
|
44231
44240
|
var ee = !1;
|
|
44232
44241
|
if (Q.nodeType === Node.TEXT_NODE) {
|
|
44233
|
-
var H =
|
|
44242
|
+
var H = Z.tagName;
|
|
44234
44243
|
if (H === "TEXTAREA")
|
|
44235
44244
|
return;
|
|
44236
|
-
H === "STYLE" && i.addedSet.has(
|
|
44245
|
+
H === "STYLE" && i.addedSet.has(Z) && (ee = !0);
|
|
44237
44246
|
}
|
|
44238
|
-
var F = isShadowRoot(
|
|
44247
|
+
var F = isShadowRoot(Z) ? i.mirror.getId(getShadowHost(Q)) : i.mirror.getId(Z), L = l(Q);
|
|
44239
44248
|
if (F === -1 || L === -1)
|
|
44240
44249
|
return o.addNode(Q);
|
|
44241
44250
|
var D = serializeNodeWithId(Q, {
|
|
@@ -44318,9 +44327,9 @@ var DoubleLinkedList = /* @__PURE__ */ function() {
|
|
|
44318
44327
|
}
|
|
44319
44328
|
var z = {
|
|
44320
44329
|
texts: i.texts.map(function(Q) {
|
|
44321
|
-
var
|
|
44330
|
+
var Z = Q.node, ee = index.parentNode(Z);
|
|
44322
44331
|
return ee && ee.tagName === "TEXTAREA" && i.genTextAreaValueMutation(ee), {
|
|
44323
|
-
id: i.mirror.getId(
|
|
44332
|
+
id: i.mirror.getId(Z),
|
|
44324
44333
|
value: Q.value
|
|
44325
44334
|
};
|
|
44326
44335
|
}).filter(function(Q) {
|
|
@@ -44329,14 +44338,14 @@ var DoubleLinkedList = /* @__PURE__ */ function() {
|
|
|
44329
44338
|
return i.mirror.has(Q.id);
|
|
44330
44339
|
}),
|
|
44331
44340
|
attributes: i.attributes.map(function(Q) {
|
|
44332
|
-
var
|
|
44333
|
-
if (typeof
|
|
44341
|
+
var Z = Q.attributes;
|
|
44342
|
+
if (typeof Z.style == "string") {
|
|
44334
44343
|
var ee = JSON.stringify(Q.styleDiff), H = JSON.stringify(Q._unchangedStyles);
|
|
44335
|
-
ee.length <
|
|
44344
|
+
ee.length < Z.style.length && (ee + H).split("var(").length === Z.style.split("var(").length && (Z.style = Q.styleDiff);
|
|
44336
44345
|
}
|
|
44337
44346
|
return {
|
|
44338
44347
|
id: i.mirror.getId(Q.node),
|
|
44339
|
-
attributes:
|
|
44348
|
+
attributes: Z
|
|
44340
44349
|
};
|
|
44341
44350
|
}).filter(function(Q) {
|
|
44342
44351
|
return !a.has(Q.id);
|
|
@@ -44729,10 +44738,10 @@ function initInputObserver(e) {
|
|
|
44729
44738
|
isChecked: j
|
|
44730
44739
|
});
|
|
44731
44740
|
var Q = T.name;
|
|
44732
|
-
z === "radio" && Q && j && i.querySelectorAll('input[type="radio"][name="' + Q + '"]').forEach(function(
|
|
44733
|
-
if (
|
|
44734
|
-
var ee =
|
|
44735
|
-
y(
|
|
44741
|
+
z === "radio" && Q && j && i.querySelectorAll('input[type="radio"][name="' + Q + '"]').forEach(function(Z) {
|
|
44742
|
+
if (Z !== T) {
|
|
44743
|
+
var ee = Z.value;
|
|
44744
|
+
y(Z, p ? {
|
|
44736
44745
|
text: ee,
|
|
44737
44746
|
isChecked: !j,
|
|
44738
44747
|
userTriggered: !1
|
|
@@ -46069,7 +46078,7 @@ try {
|
|
|
46069
46078
|
var mirror = createMirror$2();
|
|
46070
46079
|
function record(e) {
|
|
46071
46080
|
e === void 0 && (e = {});
|
|
46072
|
-
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, Z = 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, X = 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() {
|
|
46073
46082
|
return !1;
|
|
46074
46083
|
} : ie, ne = e.ignoreCSSAttributes, he = ne === void 0 ? /* @__PURE__ */ new Set([]) : ne, fe = e.errorHandler;
|
|
46075
46084
|
registerErrorHandler(fe);
|
|
@@ -46185,7 +46194,7 @@ function record(e) {
|
|
|
46185
46194
|
}, Qe = new StylesheetManager({
|
|
46186
46195
|
mutationCb: Ge,
|
|
46187
46196
|
adoptedStyleSheetCb: Ve
|
|
46188
|
-
}),
|
|
46197
|
+
}), Ze = new IframeManager({
|
|
46189
46198
|
mirror,
|
|
46190
46199
|
mutationCb: Ge,
|
|
46191
46200
|
stylesheetManager: Qe,
|
|
@@ -46195,8 +46204,8 @@ function record(e) {
|
|
|
46195
46204
|
var ct = _e.value;
|
|
46196
46205
|
ct.getMirror && ct.getMirror({
|
|
46197
46206
|
nodeMirror: mirror,
|
|
46198
|
-
crossOriginIframeMirror:
|
|
46199
|
-
crossOriginIframeStyleMirror:
|
|
46207
|
+
crossOriginIframeMirror: Ze.crossOriginIframeMirror,
|
|
46208
|
+
crossOriginIframeStyleMirror: Ze.crossOriginIframeStyleMirror
|
|
46200
46209
|
});
|
|
46201
46210
|
}
|
|
46202
46211
|
var nt = new ProcessedNodeManager();
|
|
@@ -46208,7 +46217,7 @@ function record(e) {
|
|
|
46208
46217
|
blockSelector: c,
|
|
46209
46218
|
mirror,
|
|
46210
46219
|
sampling: z.canvas,
|
|
46211
|
-
dataURLOptions:
|
|
46220
|
+
dataURLOptions: Z
|
|
46212
46221
|
});
|
|
46213
46222
|
var Le = new ShadowDomManager({
|
|
46214
46223
|
mutationCb: Ge,
|
|
@@ -46220,14 +46229,14 @@ function record(e) {
|
|
|
46220
46229
|
maskTextSelector: b,
|
|
46221
46230
|
inlineStylesheet: k,
|
|
46222
46231
|
maskInputOptions: Ce,
|
|
46223
|
-
dataURLOptions:
|
|
46232
|
+
dataURLOptions: Z,
|
|
46224
46233
|
maskTextFn: I,
|
|
46225
46234
|
maskInputFn: T,
|
|
46226
46235
|
recordCanvas: D,
|
|
46227
46236
|
inlineImages: oe,
|
|
46228
46237
|
sampling: z,
|
|
46229
46238
|
slimDOMOptions: Oe,
|
|
46230
|
-
iframeManager:
|
|
46239
|
+
iframeManager: Ze,
|
|
46231
46240
|
stylesheetManager: Qe,
|
|
46232
46241
|
canvasManager,
|
|
46233
46242
|
keepIframeSrcFn: le,
|
|
@@ -46258,14 +46267,14 @@ function record(e) {
|
|
|
46258
46267
|
maskTextFn: I,
|
|
46259
46268
|
maskInputFn: T,
|
|
46260
46269
|
slimDOM: Oe,
|
|
46261
|
-
dataURLOptions:
|
|
46270
|
+
dataURLOptions: Z,
|
|
46262
46271
|
recordCanvas: D,
|
|
46263
46272
|
inlineImages: oe,
|
|
46264
46273
|
onSerialize: function(ve) {
|
|
46265
|
-
isSerializedIframe(ve, mirror) &&
|
|
46274
|
+
isSerializedIframe(ve, mirror) && Ze.addIframe(ve), isSerializedStylesheet(ve, mirror) && Qe.trackLinkElement(ve), hasShadowRoot(ve) && Le.addShadowRoot(index.shadowRoot(ve), document);
|
|
46266
46275
|
},
|
|
46267
46276
|
onIframeLoad: function(ve, Ae) {
|
|
46268
|
-
|
|
46277
|
+
Ze.attachIframe(ve, Ae), Le.observeAttachShadow(ve);
|
|
46269
46278
|
},
|
|
46270
46279
|
onStylesheetLoad: function(ve, Ae) {
|
|
46271
46280
|
Qe.attachLinkElement(ve, Ae);
|
|
@@ -46384,7 +46393,7 @@ function record(e) {
|
|
|
46384
46393
|
recordDOM: F,
|
|
46385
46394
|
recordCanvas: D,
|
|
46386
46395
|
inlineImages: oe,
|
|
46387
|
-
userTriggeredOnInput:
|
|
46396
|
+
userTriggeredOnInput: X,
|
|
46388
46397
|
collectFonts: se,
|
|
46389
46398
|
doc: Se,
|
|
46390
46399
|
maskInputFn: T,
|
|
@@ -46392,9 +46401,9 @@ function record(e) {
|
|
|
46392
46401
|
keepIframeSrcFn: le,
|
|
46393
46402
|
blockSelector: c,
|
|
46394
46403
|
slimDOMOptions: Oe,
|
|
46395
|
-
dataURLOptions:
|
|
46404
|
+
dataURLOptions: Z,
|
|
46396
46405
|
mirror,
|
|
46397
|
-
iframeManager:
|
|
46406
|
+
iframeManager: Ze,
|
|
46398
46407
|
stylesheetManager: Qe,
|
|
46399
46408
|
shadowDomManager: Le,
|
|
46400
46409
|
processedNodeManager: nt,
|
|
@@ -46419,7 +46428,7 @@ function record(e) {
|
|
|
46419
46428
|
})) || []
|
|
46420
46429
|
}, N);
|
|
46421
46430
|
};
|
|
46422
|
-
|
|
46431
|
+
Ze.addLoadListener(function(Se) {
|
|
46423
46432
|
try {
|
|
46424
46433
|
xe.push(ke(Se.contentDocument));
|
|
46425
46434
|
} catch (qe) {
|
|
@@ -50152,7 +50161,7 @@ var mixpanel = init_as_module(loadNoop), lib = {}, uaParser_min$1 = { exports: {
|
|
|
50152
50161
|
function requireUaParser_min() {
|
|
50153
50162
|
return hasRequiredUaParser_min || (hasRequiredUaParser_min = 1, function(e, t) {
|
|
50154
50163
|
(function(i, s) {
|
|
50155
|
-
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", Z = "BlackBerry", ee = "Browser", H = "Chrome", F = "Edge", L = "Firefox", D = "Google", P = "Honor", O = "Huawei", B = "Lenovo", U = "LG", te = "Microsoft", X = "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) {
|
|
50156
50165
|
var ke = {};
|
|
50157
50166
|
for (var Ne in Le)
|
|
50158
50167
|
xe[Ne] && xe[Ne].length % 2 === 0 ? ke[Ne] = xe[Ne].concat(Le[Ne]) : ke[Ne] = Le[Ne];
|
|
@@ -50188,7 +50197,7 @@ function requireUaParser_min() {
|
|
|
50188
50197
|
} else if (ye(xe[ke], Le))
|
|
50189
50198
|
return ke === l ? s : ke;
|
|
50190
50199
|
return xe.hasOwnProperty("*") ? xe["*"] : Le;
|
|
50191
|
-
}, 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) {
|
|
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) {
|
|
50192
50201
|
if (typeof Le === f && (xe = Le, Le = s), !(this instanceof _e))
|
|
50193
50202
|
return new _e(Le, xe).getResult();
|
|
50194
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;
|
|
@@ -50372,7 +50381,7 @@ function requireLib() {
|
|
|
50372
50381
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
50373
50382
|
return ae;
|
|
50374
50383
|
}
|
|
50375
|
-
function
|
|
50384
|
+
function Z(ae, W) {
|
|
50376
50385
|
if (W && (typeof W == "object" || typeof W == "function"))
|
|
50377
50386
|
return W;
|
|
50378
50387
|
if (W !== void 0)
|
|
@@ -50456,7 +50465,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
50456
50465
|
isSmartTV: !1,
|
|
50457
50466
|
isConsole: !1,
|
|
50458
50467
|
isWearable: !1
|
|
50459
|
-
},
|
|
50468
|
+
}, X = function(W) {
|
|
50460
50469
|
switch (W) {
|
|
50461
50470
|
case O.Mobile:
|
|
50462
50471
|
return {
|
|
@@ -50559,7 +50568,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
50559
50568
|
};
|
|
50560
50569
|
};
|
|
50561
50570
|
function ue(ae) {
|
|
50562
|
-
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 = X(V.type), c0 = zt.isBrowser, K0 = zt.isMobile, J0 = zt.isTablet, R0 = zt.isSmartTV, I0 = zt.isConsole, M0 = zt.isWearable, O0 = zt.isEmbedded;
|
|
50563
50572
|
if (c0)
|
|
50564
50573
|
return K(c0, pe, be, it, Nt);
|
|
50565
50574
|
if (R0)
|
|
@@ -50606,7 +50615,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
50606
50615
|
}, Qe = function(W) {
|
|
50607
50616
|
var V = W.type;
|
|
50608
50617
|
return se(V, "browser");
|
|
50609
|
-
},
|
|
50618
|
+
}, Ze = function(W) {
|
|
50610
50619
|
var V = W.name;
|
|
50611
50620
|
return V === U.Android;
|
|
50612
50621
|
}, yt = function(W) {
|
|
@@ -50706,7 +50715,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
50706
50715
|
isTablet: Ce(V) || kt(),
|
|
50707
50716
|
isBrowser: ye(V),
|
|
50708
50717
|
isDesktop: ye(V),
|
|
50709
|
-
isAndroid:
|
|
50718
|
+
isAndroid: Ze(be),
|
|
50710
50719
|
isWinPhone: ct(be),
|
|
50711
50720
|
isIOS: nt(be) || kt(),
|
|
50712
50721
|
isChrome: ke(pe),
|
|
@@ -50740,7 +50749,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
50740
50749
|
isSamsungBrowser: Lt(pe)
|
|
50741
50750
|
};
|
|
50742
50751
|
}
|
|
50743
|
-
var Y = We(c), ge = Ge(c), Me = we(c),
|
|
50752
|
+
var Y = We(c), ge = Ge(c), Me = we(c), Xe = 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 = Ze(f), Yt = ct(f), Kt = nt(f) || kt(), jt = ke(o), wr = Ne(o), Yr = Ae(o), sr = ht(o), i0 = St(o), Zt = 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(), Zr = 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) {
|
|
50744
50753
|
if (!W || typeof W != "string") {
|
|
50745
50754
|
console.error("No valid user agent string was provided");
|
|
50746
50755
|
return;
|
|
@@ -50799,7 +50808,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
50799
50808
|
I(V, W);
|
|
50800
50809
|
function V(pe) {
|
|
50801
50810
|
var be;
|
|
50802
|
-
return k(this, V), be =
|
|
50811
|
+
return k(this, V), be = Z(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 = {
|
|
50803
50812
|
isLandscape: !1,
|
|
50804
50813
|
isPortrait: !1
|
|
50805
50814
|
}, be;
|
|
@@ -50871,11 +50880,11 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
50871
50880
|
var W = ae || window.navigator.userAgent;
|
|
50872
50881
|
return m(W);
|
|
50873
50882
|
}
|
|
50874
|
-
function
|
|
50883
|
+
function Xr(ae) {
|
|
50875
50884
|
var W = ae || window.navigator.userAgent, V = l0(W), pe = Dt(V);
|
|
50876
50885
|
return [pe, V];
|
|
50877
50886
|
}
|
|
50878
|
-
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 = Xe, lib.isFirefox = wr, lib.isIE = i0, lib.isIOS = Kt, lib.isIOS13 = x0, lib.isIPad13 = Zr, 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 = Zt, lib.parseUserAgent = m, lib.setUserAgent = re, lib.useDeviceData = l0, lib.useDeviceSelectors = Xr, lib.useMobileOrientation = o0, lib.withOrientationChange = a0, lib;
|
|
50879
50888
|
}
|
|
50880
50889
|
var libExports = requireLib(), dist = {}, ga4 = {}, gtag = {}, hasRequiredGtag;
|
|
50881
50890
|
function requireGtag() {
|
|
@@ -51013,16 +51022,16 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
51013
51022
|
function C(H, F) {
|
|
51014
51023
|
var L = H == null ? null : typeof Symbol < "u" && H[Symbol.iterator] || H["@@iterator"];
|
|
51015
51024
|
if (L != null) {
|
|
51016
|
-
var D, P, O, B, U = [], te = !0,
|
|
51025
|
+
var D, P, O, B, U = [], te = !0, X = !1;
|
|
51017
51026
|
try {
|
|
51018
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) ;
|
|
51019
51028
|
} catch (re) {
|
|
51020
|
-
|
|
51029
|
+
X = !0, P = re;
|
|
51021
51030
|
} finally {
|
|
51022
51031
|
try {
|
|
51023
51032
|
if (!te && L.return != null && (B = L.return(), Object(B) !== B)) return;
|
|
51024
51033
|
} finally {
|
|
51025
|
-
if (
|
|
51034
|
+
if (X) throw P;
|
|
51026
51035
|
}
|
|
51027
51036
|
}
|
|
51028
51037
|
return U;
|
|
@@ -51061,7 +51070,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
51061
51070
|
}
|
|
51062
51071
|
return (F === "string" ? String : Number)(H);
|
|
51063
51072
|
}
|
|
51064
|
-
var
|
|
51073
|
+
var Z = /* @__PURE__ */ function() {
|
|
51065
51074
|
function H() {
|
|
51066
51075
|
var F = this;
|
|
51067
51076
|
I(this, H), j(this, "reset", function() {
|
|
@@ -51104,8 +51113,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
51104
51113
|
page: "page_path",
|
|
51105
51114
|
hitCallback: "event_callback"
|
|
51106
51115
|
}, P = Object.entries(L).reduce(function(O, B) {
|
|
51107
|
-
var U = S(B, 2), te = U[0],
|
|
51108
|
-
return D[te] ? O[D[te]] =
|
|
51116
|
+
var U = S(B, 2), te = U[0], X = U[1];
|
|
51117
|
+
return D[te] ? O[D[te]] = X : O[te] = X, O;
|
|
51109
51118
|
}, {});
|
|
51110
51119
|
return P;
|
|
51111
51120
|
}
|
|
@@ -51117,11 +51126,11 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
51117
51126
|
trackingId: L
|
|
51118
51127
|
}] : L;
|
|
51119
51128
|
F._currentMeasurementId = P[0].trackingId;
|
|
51120
|
-
var O = D.gaOptions, B = D.gtagOptions, U = D.nonce, te = D.testMode,
|
|
51121
|
-
if (F._testMode =
|
|
51129
|
+
var O = D.gaOptions, B = D.gtagOptions, U = D.nonce, te = D.testMode, X = te === void 0 ? !1 : te, re = D.gtagUrl;
|
|
51130
|
+
if (F._testMode = X, X || F._loadGA(F._currentMeasurementId, U, re), F.isInitialized || (F._gtag("js", /* @__PURE__ */ new Date()), P.forEach(function(oe) {
|
|
51122
51131
|
var K = b(b(b({}, F._toGtagOptions(b(b({}, O), oe.gaOptions))), B), oe.gtagOptions);
|
|
51123
51132
|
Object.keys(K).length ? F._gtag("config", oe.trackingId, K) : F._gtag("config", oe.trackingId);
|
|
51124
|
-
})), F.isInitialized = !0, !
|
|
51133
|
+
})), F.isInitialized = !0, !X) {
|
|
51125
51134
|
var se = d(F._queueGtag);
|
|
51126
51135
|
for (F._queueGtag = [], F._isQueuing = !1; se.length; ) {
|
|
51127
51136
|
var ce = se.shift();
|
|
@@ -51152,10 +51161,10 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
51152
51161
|
if (typeof D[0] == "string")
|
|
51153
51162
|
F._gaCommandSendEvent.apply(F, d(D.slice(1)));
|
|
51154
51163
|
else {
|
|
51155
|
-
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, X = O.eventValue;
|
|
51156
51165
|
O.hitType;
|
|
51157
51166
|
var re = c(O, s);
|
|
51158
|
-
F._gaCommandSendEvent(B, U, te,
|
|
51167
|
+
F._gaCommandSendEvent(B, U, te, X, re);
|
|
51159
51168
|
}
|
|
51160
51169
|
}), j(this, "_gaCommandSendTiming", function(L, D, P, O) {
|
|
51161
51170
|
F._gtag("event", "timing_complete", {
|
|
@@ -51254,7 +51263,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
51254
51263
|
if (typeof L == "string")
|
|
51255
51264
|
F._gtag("event", L, F._toGtagOptions(D));
|
|
51256
51265
|
else {
|
|
51257
|
-
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, X = L.transport;
|
|
51258
51267
|
if (!O || !P) {
|
|
51259
51268
|
console.warn("args.category AND args.action are required in event()");
|
|
51260
51269
|
return;
|
|
@@ -51264,7 +51273,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
51264
51273
|
eventCategory: (0, i.default)(O),
|
|
51265
51274
|
eventAction: (0, i.default)(P)
|
|
51266
51275
|
};
|
|
51267
|
-
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 X < "u" && (typeof X != "string" ? console.warn("`args.transport` must be a string.") : (["beacon", "xhr", "image"].indexOf(X) === -1 && console.warn("`args.transport` must be either one of these values: `beacon`, `xhr` or `image`"), re.transport = X)), F._gaCommand("send", re);
|
|
51268
51277
|
}
|
|
51269
51278
|
}), j(this, "send", function(L) {
|
|
51270
51279
|
F._gaCommand("send", L);
|
|
@@ -51277,8 +51286,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
51277
51286
|
}
|
|
51278
51287
|
}]), H;
|
|
51279
51288
|
}();
|
|
51280
|
-
e.GA4 =
|
|
51281
|
-
var ee = new
|
|
51289
|
+
e.GA4 = Z;
|
|
51290
|
+
var ee = new Z();
|
|
51282
51291
|
e.default = ee;
|
|
51283
51292
|
}(ga4)), ga4;
|
|
51284
51293
|
}
|
|
@@ -51691,8 +51700,8 @@ class Translator extends EventEmitter {
|
|
|
51691
51700
|
}) : "", M = C && !a.ordinal && a.count === 0, j = M && a[`defaultValue${this.options.pluralSeparator}zero`] || a[`defaultValue${I}`] || a[`defaultValue${N}`] || a.defaultValue;
|
|
51692
51701
|
let z = g;
|
|
51693
51702
|
A && !g && T && (z = j);
|
|
51694
|
-
const Q = shouldHandleAsObject(z),
|
|
51695
|
-
if (A && z && Q && k.indexOf(
|
|
51703
|
+
const Q = shouldHandleAsObject(z), Z = Object.prototype.toString.apply(z);
|
|
51704
|
+
if (A && z && Q && k.indexOf(Z) < 0 && !(isString(E) && Array.isArray(z))) {
|
|
51696
51705
|
if (!a.returnObjects && !this.options.returnObjects) {
|
|
51697
51706
|
this.options.returnedObjectHandler || this.logger.warn("accessing an object - but returnObjects options is not enabled!");
|
|
51698
51707
|
const ee = this.options.returnedObjectHandler ? this.options.returnedObjectHandler(b, z, {
|
|
@@ -51739,15 +51748,15 @@ class Translator extends EventEmitter {
|
|
|
51739
51748
|
for (let U = 0; U < O.length; U++)
|
|
51740
51749
|
P.push(O[U]);
|
|
51741
51750
|
else this.options.saveMissingTo === "all" ? P = this.languageUtils.toResolveHierarchy(a.lng || this.language) : P.push(a.lng || this.language);
|
|
51742
|
-
const B = (U, te,
|
|
51751
|
+
const B = (U, te, X) => {
|
|
51743
51752
|
var se;
|
|
51744
|
-
const re = T &&
|
|
51753
|
+
const re = T && X !== g ? X : L;
|
|
51745
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);
|
|
51746
51755
|
};
|
|
51747
51756
|
this.options.saveMissing && (this.options.saveMissingPlurals && C ? P.forEach((U) => {
|
|
51748
51757
|
const te = this.pluralResolver.getSuffixes(U, a);
|
|
51749
|
-
M && a[`defaultValue${this.options.pluralSeparator}zero`] && te.indexOf(`${this.options.pluralSeparator}zero`) < 0 && te.push(`${this.options.pluralSeparator}zero`), te.forEach((
|
|
51750
|
-
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((X) => {
|
|
51759
|
+
B([U], c + X, a[`defaultValue${X}`] || j);
|
|
51751
51760
|
});
|
|
51752
51761
|
}) : B(P, c, j));
|
|
51753
51762
|
}
|
|
@@ -52802,7 +52811,7 @@ const balance$4 = "Balance", topUp$4 = "Top Up", ads$4 = "Ads", adsOn$4 = "On",
|
|
|
52802
52811
|
topUpModal,
|
|
52803
52812
|
inventoryModal
|
|
52804
52813
|
};
|
|
52805
|
-
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.1"' };
|
|
52806
52815
|
const resources = {
|
|
52807
52816
|
en: {
|
|
52808
52817
|
translation: en
|
|
@@ -53333,7 +53342,7 @@ function throttleLeading(e, t) {
|
|
|
53333
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));
|
|
53334
53343
|
};
|
|
53335
53344
|
}
|
|
53336
|
-
var define_process_env_default = { NODE_ENV: '"production"', version: '"1.83.
|
|
53345
|
+
var define_process_env_default = { NODE_ENV: '"production"', version: '"1.83.1"' };
|
|
53337
53346
|
init({
|
|
53338
53347
|
dsn: "https://b52384170118e5a8b1f43ca653975198@o4509677809172480.ingest.de.sentry.io/4509677817364560",
|
|
53339
53348
|
sendDefaultPii: !0
|
|
@@ -53354,11 +53363,19 @@ function getValueSync(e) {
|
|
|
53354
53363
|
return state[e];
|
|
53355
53364
|
}
|
|
53356
53365
|
async function loadAll() {
|
|
53357
|
-
|
|
53358
|
-
|
|
53359
|
-
|
|
53360
|
-
|
|
53361
|
-
|
|
53366
|
+
const e = [500, 500, 1e3];
|
|
53367
|
+
let t = 0;
|
|
53368
|
+
for (; ; )
|
|
53369
|
+
try {
|
|
53370
|
+
state = (await makeRequest("storage/", "GET")).data;
|
|
53371
|
+
return;
|
|
53372
|
+
} catch (i) {
|
|
53373
|
+
if (t >= e.length) {
|
|
53374
|
+
console.error("Failed to load all storage values:", i), state = {};
|
|
53375
|
+
return;
|
|
53376
|
+
}
|
|
53377
|
+
await delay(e[t]), t += 1;
|
|
53378
|
+
}
|
|
53362
53379
|
}
|
|
53363
53380
|
function startSaveTick() {
|
|
53364
53381
|
timer && clearInterval(timer), loadAll(), timer = setInterval(async () => {
|
|
@@ -53368,14 +53385,22 @@ function startSaveTick() {
|
|
|
53368
53385
|
async function savePendingChanges() {
|
|
53369
53386
|
const e = { ...pending };
|
|
53370
53387
|
console.log("save pending changes " + Object.keys(e).length), console.log(pending);
|
|
53371
|
-
for (const t of Object.keys(e))
|
|
53372
|
-
|
|
53373
|
-
|
|
53374
|
-
|
|
53375
|
-
|
|
53376
|
-
|
|
53377
|
-
|
|
53378
|
-
|
|
53388
|
+
for (const t of Object.keys(e)) {
|
|
53389
|
+
const i = e[t], s = [500, 500, 1e3];
|
|
53390
|
+
let a = 0, o = !1;
|
|
53391
|
+
for (; !o; )
|
|
53392
|
+
try {
|
|
53393
|
+
await makeRequest(`storage/${t}`, "PUT", {
|
|
53394
|
+
value: i
|
|
53395
|
+
}), delete pending[t], o = !0;
|
|
53396
|
+
} catch (l) {
|
|
53397
|
+
if (a >= s.length) {
|
|
53398
|
+
console.error(`Failed to save key ${t}:`, l);
|
|
53399
|
+
break;
|
|
53400
|
+
}
|
|
53401
|
+
await delay(s[a]), a += 1;
|
|
53402
|
+
}
|
|
53403
|
+
}
|
|
53379
53404
|
}
|
|
53380
53405
|
let configCache = null;
|
|
53381
53406
|
const CACHE_DURATION_MS = 5 * 60 * 1e3;
|