@orbit-software/sdk 1.81.0 → 1.81.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 CHANGED
@@ -224,7 +224,7 @@ function requireTelegramWebApps() {
224
224
  }));
225
225
  }
226
226
  function F(G, z) {
227
- z && Se(z);
227
+ z && we(z);
228
228
  }
229
229
  function N(G, z) {
230
230
  z && ye(z);
@@ -293,7 +293,7 @@ function requireTelegramWebApps() {
293
293
  oe !== !1 ? z = oe - ge + "px" : z = ge ? "calc(100vh - " + ge + "px)" : "100vh", re !== !1 ? X = re - ge + "px" : X = ge ? "calc(100vh - " + ge + "px)" : "100vh", $("viewport-height", z), $("viewport-stable-height", X);
294
294
  }
295
295
  var le = { top: 0, bottom: 0, left: 0, right: 0 };
296
- function Se(G) {
296
+ function we(G) {
297
297
  typeof G < "u" && (typeof G.top < "u" && (le.top = G.top), typeof G.bottom < "u" && (le.bottom = G.bottom), typeof G.left < "u" && (le.left = G.left), typeof G.right < "u" && (le.right = G.right), B("safeAreaChanged")), $("safe-area-inset-top", le.top + "px"), $("safe-area-inset-bottom", le.bottom + "px"), $("safe-area-inset-left", le.left + "px"), $("safe-area-inset-right", le.right + "px");
298
298
  }
299
299
  var Te = { top: 0, bottom: 0, left: 0, right: 0 };
@@ -379,7 +379,7 @@ function requireTelegramWebApps() {
379
379
  }
380
380
  }
381
381
  var Ne = !1;
382
- function we(G, z) {
382
+ function Se(G, z) {
383
383
  if (Ne) {
384
384
  var X = Ne;
385
385
  Ne = !1, X.callback && X.callback(z.status == "allowed"), B("emojiStatusAccessRequested", {
@@ -410,10 +410,10 @@ function requireTelegramWebApps() {
410
410
  function ht() {
411
411
  (Ae != k || Xe != A) && (Ae = k, Xe = A, Xe ? t.postEvent("web_app_set_header_color", !1, { color: A }) : t.postEvent("web_app_set_header_color", !1, { color_key: k }));
412
412
  }
413
- function wt() {
413
+ function St() {
414
414
  return y == "secondary_bg_color" ? c.secondary_bg_color : y == "bg_color" ? c.bg_color : y;
415
415
  }
416
- function St(G) {
416
+ function wt(G) {
417
417
  if (!ze("6.1")) {
418
418
  console.warn("[Telegram.WebApp] Background color is not supported in version " + f);
419
419
  return;
@@ -427,7 +427,7 @@ function requireTelegramWebApps() {
427
427
  }
428
428
  var Nt = null;
429
429
  function He() {
430
- var G = wt();
430
+ var G = St();
431
431
  Nt != G && (Nt = G, t.postEvent("web_app_set_background_color", !1, { color: G }));
432
432
  }
433
433
  var dt = "bottom_bar_bg_color";
@@ -1333,11 +1333,11 @@ function requireTelegramWebApps() {
1333
1333
  });
1334
1334
  }
1335
1335
  }
1336
- var wr = !1;
1336
+ var Sr = !1;
1337
1337
  function m0(G, z) {
1338
- if (wr) {
1339
- var X = wr;
1340
- wr = !1, X.callback && X.callback(z.status == "allowed"), B("writeAccessRequested", {
1338
+ if (Sr) {
1339
+ var X = Sr;
1340
+ Sr = !1, X.callback && X.callback(z.status == "allowed"), B("writeAccessRequested", {
1341
1341
  status: z.status
1342
1342
  });
1343
1343
  }
@@ -1352,11 +1352,11 @@ function requireTelegramWebApps() {
1352
1352
  };
1353
1353
  ue = setTimeout(Ve, z), Me();
1354
1354
  }
1355
- var Sr = !1;
1355
+ var wr = !1;
1356
1356
  function g0(G, z) {
1357
- if (Sr) {
1358
- var X = Sr;
1359
- Sr = !1;
1357
+ if (wr) {
1358
+ var X = wr;
1359
+ wr = !1;
1360
1360
  var ue = z.status == "sent", pe = {
1361
1361
  status: z.status
1362
1362
  };
@@ -1501,10 +1501,10 @@ function requireTelegramWebApps() {
1501
1501
  enumerable: !0
1502
1502
  }), Object.defineProperty(a, "backgroundColor", {
1503
1503
  set: function(G) {
1504
- St(G);
1504
+ wt(G);
1505
1505
  },
1506
1506
  get: function() {
1507
- return wt();
1507
+ return St();
1508
1508
  },
1509
1509
  enumerable: !0
1510
1510
  }), Object.defineProperty(a, "bottomBarColor", {
@@ -1735,17 +1735,17 @@ function requireTelegramWebApps() {
1735
1735
  }, a.requestWriteAccess = function(G) {
1736
1736
  if (!ze("6.9"))
1737
1737
  throw console.error("[Telegram.WebApp] Method requestWriteAccess is not supported in version " + f), Error("WebAppMethodUnsupported");
1738
- if (wr)
1738
+ if (Sr)
1739
1739
  throw console.error("[Telegram.WebApp] Write access is already requested"), Error("WebAppWriteAccessRequested");
1740
- wr = {
1740
+ Sr = {
1741
1741
  callback: G
1742
1742
  }, t.postEvent("web_app_request_write_access");
1743
1743
  }, a.requestContact = function(G) {
1744
1744
  if (!ze("6.9"))
1745
1745
  throw console.error("[Telegram.WebApp] Method requestContact is not supported in version " + f), Error("WebAppMethodUnsupported");
1746
- if (Sr)
1746
+ if (wr)
1747
1747
  throw console.error("[Telegram.WebApp] Contact is already requested"), Error("WebAppContactRequested");
1748
- Sr = {
1748
+ wr = {
1749
1749
  callback: G
1750
1750
  }, t.postEvent("web_app_request_phone");
1751
1751
  }, a.downloadFile = function(G, z) {
@@ -1826,7 +1826,7 @@ function requireTelegramWebApps() {
1826
1826
  G = G || {};
1827
1827
  var z = {};
1828
1828
  ze("7.6") && G.return_back && (z.return_back = !0), t.postEvent("web_app_close", !1, z);
1829
- }, window.Telegram.WebApp = a, ht(), He(), Et(), ce(), i.tgWebAppShowSettings && At.show(), window.addEventListener("resize", Q), s && document.addEventListener("click", P), t.onEvent("theme_changed", W), t.onEvent("viewport_changed", ee), t.onEvent("safe_area_changed", F), t.onEvent("content_safe_area_changed", N), t.onEvent("visibility_changed", L), 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", je), t.onEvent("fullscreen_failed", Qe), t.onEvent("home_screen_added", $e), 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", be), t.onEvent("emoji_status_access_requested", we), 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");
1829
+ }, window.Telegram.WebApp = a, ht(), He(), Et(), ce(), i.tgWebAppShowSettings && At.show(), window.addEventListener("resize", Q), s && document.addEventListener("click", P), t.onEvent("theme_changed", W), t.onEvent("viewport_changed", ee), t.onEvent("safe_area_changed", F), t.onEvent("content_safe_area_changed", N), t.onEvent("visibility_changed", L), 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", je), t.onEvent("fullscreen_failed", Qe), t.onEvent("home_screen_added", $e), 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", be), 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.80.1";
1870
+ const version = "1.81.1";
1871
1871
  var jsxRuntime = { exports: {} }, reactJsxRuntime_development = {}, hasRequiredReactJsxRuntime_development;
1872
1872
  function requireReactJsxRuntime_development() {
1873
1873
  if (hasRequiredReactJsxRuntime_development) return reactJsxRuntime_development;
@@ -2130,7 +2130,7 @@ function requireReactJsxRuntime_development() {
2130
2130
  var ge = Z.prototype;
2131
2131
  return !!(ge && ge.isReactComponent);
2132
2132
  }
2133
- function Se(Z, ge, De) {
2133
+ function we(Z, ge, De) {
2134
2134
  if (Z == null)
2135
2135
  return "";
2136
2136
  if (typeof Z == "function")
@@ -2148,11 +2148,11 @@ function requireReactJsxRuntime_development() {
2148
2148
  case u:
2149
2149
  return ce(Z.render);
2150
2150
  case p:
2151
- return Se(Z.type, ge, De);
2151
+ return we(Z.type, ge, De);
2152
2152
  case m: {
2153
2153
  var Ke = Z, ut = Ke._payload, mt = Ke._init;
2154
2154
  try {
2155
- return Se(mt(ut), ge, De);
2155
+ return we(mt(ut), ge, De);
2156
2156
  } catch {
2157
2157
  }
2158
2158
  }
@@ -2162,7 +2162,7 @@ function requireReactJsxRuntime_development() {
2162
2162
  var Te = Object.prototype.hasOwnProperty, ye = {}, Ee = b.ReactDebugCurrentFrame;
2163
2163
  function Ce(Z) {
2164
2164
  if (Z) {
2165
- var ge = Z._owner, De = Se(Z.type, Z._source, ge ? ge.type : null);
2165
+ var ge = Z._owner, De = we(Z.type, Z._source, ge ? ge.type : null);
2166
2166
  Ee.setExtraStackFrame(De);
2167
2167
  } else
2168
2168
  Ee.setExtraStackFrame(null);
@@ -2246,7 +2246,7 @@ function requireReactJsxRuntime_development() {
2246
2246
  });
2247
2247
  }
2248
2248
  }
2249
- function we(Z, ge) {
2249
+ function Se(Z, ge) {
2250
2250
  {
2251
2251
  var De = function() {
2252
2252
  nt || (nt = !0, S("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", ge));
@@ -2299,7 +2299,7 @@ function requireReactJsxRuntime_development() {
2299
2299
  }
2300
2300
  if (tt || Ot) {
2301
2301
  var Ct = typeof Z == "function" ? Z.displayName || Z.name || "Unknown" : Z;
2302
- tt && Ne(et, Ct), Ot && we(et, Ct);
2302
+ tt && Ne(et, Ct), Ot && Se(et, Ct);
2303
2303
  }
2304
2304
  return qe(Z, tt, Ot, ut, Ke, yt.current, et);
2305
2305
  }
@@ -2307,14 +2307,14 @@ function requireReactJsxRuntime_development() {
2307
2307
  var Ae = b.ReactCurrentOwner, Xe = b.ReactDebugCurrentFrame;
2308
2308
  function ht(Z) {
2309
2309
  if (Z) {
2310
- var ge = Z._owner, De = Se(Z.type, Z._source, ge ? ge.type : null);
2310
+ var ge = Z._owner, De = we(Z.type, Z._source, ge ? ge.type : null);
2311
2311
  Xe.setExtraStackFrame(De);
2312
2312
  } else
2313
2313
  Xe.setExtraStackFrame(null);
2314
2314
  }
2315
- var wt;
2316
- wt = !1;
2317
- function St(Z) {
2315
+ var St;
2316
+ St = !1;
2317
+ function wt(Z) {
2318
2318
  return typeof Z == "object" && Z !== null && Z.$$typeof === t;
2319
2319
  }
2320
2320
  function Nt() {
@@ -2365,15 +2365,15 @@ Check the top-level render call using <` + De + ">.");
2365
2365
  if (je(Z))
2366
2366
  for (var De = 0; De < Z.length; De++) {
2367
2367
  var Ke = Z[De];
2368
- St(Ke) && Tt(Ke, ge);
2368
+ wt(Ke) && Tt(Ke, ge);
2369
2369
  }
2370
- else if (St(Z))
2370
+ else if (wt(Z))
2371
2371
  Z._store && (Z._store.validated = !0);
2372
2372
  else if (Z) {
2373
2373
  var ut = A(Z);
2374
2374
  if (typeof ut == "function" && ut !== Z.entries)
2375
2375
  for (var mt = ut.call(Z), et; !(et = mt.next()).done; )
2376
- St(et.value) && Tt(et.value, ge);
2376
+ wt(et.value) && Tt(et.value, ge);
2377
2377
  }
2378
2378
  }
2379
2379
  }
@@ -2394,8 +2394,8 @@ Check the top-level render call using <` + De + ">.");
2394
2394
  if (De) {
2395
2395
  var Ke = ee(ge);
2396
2396
  Pe(De, Z.props, "prop", Ke, Z);
2397
- } else if (ge.PropTypes !== void 0 && !wt) {
2398
- wt = !0;
2397
+ } else if (ge.PropTypes !== void 0 && !St) {
2398
+ St = !0;
2399
2399
  var ut = ee(ge);
2400
2400
  S("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", ut || "Unknown");
2401
2401
  }
@@ -8482,8 +8482,8 @@ const CLOSE_THRESHOLD = 0.25, SCROLL_LOCK_TIMEOUT = 100, BORDER_RADIUS = 8, NEST
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: g, fixed: y, modal: k = !0, onClose: A, direction: b = "bottom", preventScrollRestoration: S = !0, disablePreventScroll: E = !1 }) {
8483
8483
  var C;
8484
8484
  const [T = !1, I] = React__default.useState(!1), [D, O] = React__default.useState(!1), [j, q] = React__default.useState(!1), [W, J] = React__default.useState(!1), [ee, Q] = React__default.useState(!1), [F, N] = React__default.useState(!1), L = React__default.useRef(null), P = React__default.useRef(null), M = React__default.useRef(null), B = React__default.useRef(null), V = React__default.useRef(null), te = React__default.useRef(!1), $ = React__default.useRef(null), ne = React__default.useRef(0), ae = React__default.useRef(!1), me = React__default.useRef(0), fe = React__default.useRef(null), Y = React__default.useRef(((C = fe.current) == null ? void 0 : C.getBoundingClientRect().height) || 0), ie = React__default.useRef(0), oe = React__default.useCallback((xe) => {
8485
- l && xe === Se.length - 1 && (P.current = /* @__PURE__ */ new Date());
8486
- }, []), { activeSnapPoint: re, activeSnapPointIndex: he, setActiveSnapPoint: ce, onRelease: le, snapPointsOffset: Se, onDrag: Te, shouldFade: ye, getPercentageDragged: Ee } = useSnapPoints({
8485
+ l && xe === we.length - 1 && (P.current = /* @__PURE__ */ new Date());
8486
+ }, []), { activeSnapPoint: re, activeSnapPointIndex: he, setActiveSnapPoint: ce, onRelease: le, snapPointsOffset: we, onDrag: Te, shouldFade: ye, getPercentageDragged: Ee } = useSnapPoints({
8487
8487
  snapPoints: l,
8488
8488
  activeSnapPointProp: m,
8489
8489
  setActiveSnapPointProp: g,
@@ -8514,9 +8514,9 @@ function Root({ open: e, onOpenChange: t, children: i, shouldScaleBackground: s,
8514
8514
  }
8515
8515
  function je(xe, be) {
8516
8516
  var Ne;
8517
- let we = xe;
8517
+ let Se = xe;
8518
8518
  const qe = (Ne = window.getSelection()) == null ? void 0 : Ne.toString(), ve = fe.current ? getTranslate(fe.current, b) : null, Ae = /* @__PURE__ */ new Date();
8519
- if (we.hasAttribute("data-vaul-no-drag") || we.closest("[data-vaul-no-drag]"))
8519
+ if (Se.hasAttribute("data-vaul-no-drag") || Se.closest("[data-vaul-no-drag]"))
8520
8520
  return !1;
8521
8521
  if (b === "right" || b === "left")
8522
8522
  return !0;
@@ -8528,54 +8528,54 @@ function Root({ open: e, onOpenChange: t, children: i, shouldScaleBackground: s,
8528
8528
  return !1;
8529
8529
  if (V.current && Ae.getTime() - V.current.getTime() < f && ve === 0 || be)
8530
8530
  return V.current = Ae, !1;
8531
- for (; we; ) {
8532
- if (we.scrollHeight > we.clientHeight) {
8533
- if (we.scrollTop !== 0)
8531
+ for (; Se; ) {
8532
+ if (Se.scrollHeight > Se.clientHeight) {
8533
+ if (Se.scrollTop !== 0)
8534
8534
  return V.current = /* @__PURE__ */ new Date(), !1;
8535
- if (we.getAttribute("role") === "dialog")
8535
+ if (Se.getAttribute("role") === "dialog")
8536
8536
  return !0;
8537
8537
  }
8538
- we = we.parentNode;
8538
+ Se = Se.parentNode;
8539
8539
  }
8540
8540
  return !0;
8541
8541
  }
8542
8542
  function Qe(xe) {
8543
8543
  if (fe.current && ee) {
8544
- const be = b === "bottom" || b === "right" ? 1 : -1, Ne = (ne.current - (isVertical(b) ? xe.clientY : xe.clientX)) * be, we = Ne > 0, qe = l && !d && !we;
8544
+ const be = b === "bottom" || b === "right" ? 1 : -1, Ne = (ne.current - (isVertical(b) ? xe.clientY : xe.clientX)) * be, Se = Ne > 0, qe = l && !d && !Se;
8545
8545
  if (qe && he === 0) return;
8546
8546
  const ve = Math.abs(Ne), Ae = document.querySelector("[vaul-drawer-wrapper]");
8547
8547
  let Xe = ve / Y.current;
8548
- const ht = Ee(ve, we);
8549
- if (ht !== null && (Xe = ht), qe && Xe >= 1 || !te.current && !je(xe.target, we)) return;
8548
+ const ht = Ee(ve, Se);
8549
+ if (ht !== null && (Xe = ht), qe && Xe >= 1 || !te.current && !je(xe.target, Se)) return;
8550
8550
  if (fe.current.classList.add(DRAG_CLASS), te.current = !0, set(fe.current, {
8551
8551
  transition: "none"
8552
8552
  }), set(L.current, {
8553
8553
  transition: "none"
8554
8554
  }), l && Te({
8555
8555
  draggedDistance: Ne
8556
- }), we && !l) {
8557
- const St = dampenValue(Ne), Nt = Math.min(St * -1, 0) * be;
8556
+ }), Se && !l) {
8557
+ const wt = dampenValue(Ne), Nt = Math.min(wt * -1, 0) * be;
8558
8558
  set(fe.current, {
8559
8559
  transform: isVertical(b) ? `translate3d(0, ${Nt}px, 0)` : `translate3d(${Nt}px, 0, 0)`
8560
8560
  });
8561
8561
  return;
8562
8562
  }
8563
- const wt = 1 - Xe;
8563
+ const St = 1 - Xe;
8564
8564
  if ((ye || p && he === p - 1) && (a == null || a(xe, Xe), set(L.current, {
8565
- opacity: `${wt}`,
8565
+ opacity: `${St}`,
8566
8566
  transition: "none"
8567
8567
  }, !0)), Ae && L.current && s) {
8568
- const St = Math.min(Pe() + Xe * (1 - Pe()), 1), Nt = 8 - Xe * 8, He = Math.max(0, 14 - Xe * 14);
8568
+ const wt = Math.min(Pe() + Xe * (1 - Pe()), 1), Nt = 8 - Xe * 8, He = Math.max(0, 14 - Xe * 14);
8569
8569
  set(Ae, {
8570
8570
  borderRadius: `${Nt}px`,
8571
- transform: isVertical(b) ? `scale(${St}) translate3d(0, ${He}px, 0)` : `scale(${St}) translate3d(${He}px, 0, 0)`,
8571
+ transform: isVertical(b) ? `scale(${wt}) translate3d(0, ${He}px, 0)` : `scale(${wt}) translate3d(${He}px, 0, 0)`,
8572
8572
  transition: "none"
8573
8573
  }, !0);
8574
8574
  }
8575
8575
  if (!l) {
8576
- const St = ve * be;
8576
+ const wt = ve * be;
8577
8577
  set(fe.current, {
8578
- transform: isVertical(b) ? `translate3d(0, ${St}px, 0)` : `translate3d(${St}px, 0, 0)`
8578
+ transform: isVertical(b) ? `translate3d(0, ${wt}px, 0)` : `translate3d(${wt}px, 0, 0)`
8579
8579
  });
8580
8580
  }
8581
8581
  }
@@ -8588,20 +8588,20 @@ function Root({ open: e, onOpenChange: t, children: i, shouldScaleBackground: s,
8588
8588
  if (!fe.current) return;
8589
8589
  const Ne = document.activeElement;
8590
8590
  if (isInput(Ne) || ae.current) {
8591
- var we;
8592
- const qe = ((we = window.visualViewport) == null ? void 0 : we.height) || 0;
8591
+ var Se;
8592
+ const qe = ((Se = window.visualViewport) == null ? void 0 : Se.height) || 0;
8593
8593
  let ve = window.innerHeight - qe;
8594
8594
  const Ae = fe.current.getBoundingClientRect().height || 0;
8595
8595
  ie.current || (ie.current = Ae);
8596
8596
  const Xe = fe.current.getBoundingClientRect().top;
8597
- if (Math.abs(me.current - ve) > 60 && (ae.current = !ae.current), l && l.length > 0 && Se && he) {
8598
- const ht = Se[he] || 0;
8597
+ if (Math.abs(me.current - ve) > 60 && (ae.current = !ae.current), l && l.length > 0 && we && he) {
8598
+ const ht = we[he] || 0;
8599
8599
  ve += ht;
8600
8600
  }
8601
8601
  if (me.current = ve, Ae > qe || ae.current) {
8602
8602
  const ht = fe.current.getBoundingClientRect().height;
8603
- let wt = ht;
8604
- ht > qe && (wt = qe - WINDOW_TOP_OFFSET), y ? fe.current.style.height = `${ht - Math.max(ve, 0)}px` : fe.current.style.height = `${Math.max(wt, qe - Xe)}px`;
8603
+ let St = ht;
8604
+ ht > qe && (St = qe - WINDOW_TOP_OFFSET), y ? fe.current.style.height = `${ht - Math.max(ve, 0)}px` : fe.current.style.height = `${Math.max(St, qe - Xe)}px`;
8605
8605
  } else
8606
8606
  fe.current.style.height = `${ie.current}px`;
8607
8607
  l && l.length > 0 && !ae.current ? fe.current.style.bottom = "0px" : fe.current.style.bottom = `${Math.max(ve, 0)}px`;
@@ -8614,7 +8614,7 @@ function Root({ open: e, onOpenChange: t, children: i, shouldScaleBackground: s,
8614
8614
  }, [
8615
8615
  he,
8616
8616
  l,
8617
- Se
8617
+ we
8618
8618
  ]);
8619
8619
  function Ze() {
8620
8620
  fe.current && ($e(), A == null || A(), set(fe.current, {
@@ -8682,19 +8682,19 @@ function Root({ open: e, onOpenChange: t, children: i, shouldScaleBackground: s,
8682
8682
  fe.current.classList.remove(DRAG_CLASS), te.current = !1, Q(!1), B.current = /* @__PURE__ */ new Date();
8683
8683
  const be = getTranslate(fe.current, b);
8684
8684
  if (!je(xe.target, !1) || !be || Number.isNaN(be) || M.current === null) return;
8685
- const Ne = B.current.getTime() - M.current.getTime(), we = ne.current - (isVertical(b) ? xe.clientY : xe.clientX), qe = Math.abs(we) / Ne;
8685
+ const Ne = B.current.getTime() - M.current.getTime(), Se = ne.current - (isVertical(b) ? xe.clientY : xe.clientX), qe = Math.abs(Se) / Ne;
8686
8686
  if (qe > 0.05 && (N(!0), setTimeout(() => {
8687
8687
  N(!1);
8688
8688
  }, 200)), l) {
8689
8689
  le({
8690
- draggedDistance: we * (b === "bottom" || b === "right" ? 1 : -1),
8690
+ draggedDistance: Se * (b === "bottom" || b === "right" ? 1 : -1),
8691
8691
  closeDrawer: Ze,
8692
8692
  velocity: qe,
8693
8693
  dismissible: d
8694
8694
  }), o == null || o(xe, !0);
8695
8695
  return;
8696
8696
  }
8697
- if (b === "bottom" || b === "right" ? we > 0 : we < 0) {
8697
+ if (b === "bottom" || b === "right" ? Se > 0 : Se < 0) {
8698
8698
  _e(), o == null || o(xe, !0);
8699
8699
  return;
8700
8700
  }
@@ -8721,8 +8721,8 @@ function Root({ open: e, onOpenChange: t, children: i, shouldScaleBackground: s,
8721
8721
  var xe;
8722
8722
  const be = fe == null || (xe = fe.current) == null ? void 0 : xe.querySelectorAll("*");
8723
8723
  be == null || be.forEach((Ne) => {
8724
- const we = Ne;
8725
- (we.scrollHeight > we.clientHeight || we.scrollWidth > we.clientWidth) && we.classList.add("vaul-scrollable");
8724
+ const Se = Ne;
8725
+ (Se.scrollHeight > Se.clientHeight || Se.scrollWidth > Se.clientWidth) && Se.classList.add("vaul-scrollable");
8726
8726
  });
8727
8727
  }
8728
8728
  }, [
@@ -8759,26 +8759,26 @@ function Root({ open: e, onOpenChange: t, children: i, shouldScaleBackground: s,
8759
8759
  transition: `transform ${TRANSITIONS.DURATION}s cubic-bezier(${TRANSITIONS.EASE.join(",")})`,
8760
8760
  transform: `scale(${be}) translate3d(0, ${Ne}px, 0)`
8761
8761
  }), !xe && fe.current && ($.current = setTimeout(() => {
8762
- const we = getTranslate(fe.current, b);
8762
+ const Se = getTranslate(fe.current, b);
8763
8763
  set(fe.current, {
8764
8764
  transition: "none",
8765
- transform: isVertical(b) ? `translate3d(0, ${we}px, 0)` : `translate3d(${we}px, 0, 0)`
8765
+ transform: isVertical(b) ? `translate3d(0, ${Se}px, 0)` : `translate3d(${Se}px, 0, 0)`
8766
8766
  });
8767
8767
  }, 500));
8768
8768
  }
8769
8769
  function nt(xe, be) {
8770
8770
  if (be < 0) return;
8771
- const Ne = isVertical(b) ? window.innerHeight : window.innerWidth, we = (Ne - NESTED_DISPLACEMENT) / Ne, qe = we + be * (1 - we), ve = -NESTED_DISPLACEMENT + be * NESTED_DISPLACEMENT;
8771
+ const Ne = isVertical(b) ? window.innerHeight : window.innerWidth, Se = (Ne - NESTED_DISPLACEMENT) / Ne, qe = Se + be * (1 - Se), ve = -NESTED_DISPLACEMENT + be * NESTED_DISPLACEMENT;
8772
8772
  set(fe.current, {
8773
8773
  transform: isVertical(b) ? `scale(${qe}) translate3d(0, ${ve}px, 0)` : `scale(${qe}) translate3d(${ve}px, 0, 0)`,
8774
8774
  transition: "none"
8775
8775
  });
8776
8776
  }
8777
8777
  function Le(xe, be) {
8778
- const Ne = isVertical(b) ? window.innerHeight : window.innerWidth, we = be ? (Ne - NESTED_DISPLACEMENT) / Ne : 1, qe = be ? -NESTED_DISPLACEMENT : 0;
8778
+ const Ne = isVertical(b) ? window.innerHeight : window.innerWidth, Se = be ? (Ne - NESTED_DISPLACEMENT) / Ne : 1, qe = be ? -NESTED_DISPLACEMENT : 0;
8779
8779
  be && set(fe.current, {
8780
8780
  transition: `transform ${TRANSITIONS.DURATION}s cubic-bezier(${TRANSITIONS.EASE.join(",")})`,
8781
- transform: isVertical(b) ? `scale(${we}) translate3d(0, ${qe}px, 0)` : `scale(${we}) translate3d(${qe}px, 0, 0)`
8781
+ transform: isVertical(b) ? `scale(${Se}) translate3d(0, ${qe}px, 0)` : `scale(${Se}) translate3d(${qe}px, 0, 0)`
8782
8782
  });
8783
8783
  }
8784
8784
  return /* @__PURE__ */ React__default.createElement(Root$7, {
@@ -8815,7 +8815,7 @@ function Root({ open: e, onOpenChange: t, children: i, shouldScaleBackground: s,
8815
8815
  keyboardIsOpen: ae,
8816
8816
  openProp: e,
8817
8817
  modal: k,
8818
- snapPointsOffset: Se,
8818
+ snapPointsOffset: we,
8819
8819
  direction: b
8820
8820
  }
8821
8821
  }, i));
@@ -21957,7 +21957,7 @@ var Ir, F0, Removable = (F0 = class {
21957
21957
  clearGcTimeout() {
21958
21958
  K(this, Ir) && (timeoutManager.clearTimeout(K(this, Ir)), Re(this, Ir, void 0));
21959
21959
  }
21960
- }, Ir = new WeakMap(), F0), define_process_env_default$3 = { NODE_ENV: '"production"', version: '"1.80.1"' }, Rr, Gr, Kt, Mr, Ft, $r, Or, Xt, or, B0, Query = (B0 = class extends Removable {
21960
+ }, Ir = new WeakMap(), F0), define_process_env_default$3 = { NODE_ENV: '"production"', version: '"1.81.1"' }, Rr, Gr, Kt, Mr, Ft, $r, Or, Xt, or, B0, Query = (B0 = class extends Removable {
21961
21961
  constructor(t) {
21962
21962
  super();
21963
21963
  We(this, Xt);
@@ -22264,7 +22264,7 @@ function getDefaultState$1(e) {
22264
22264
  fetchStatus: "idle"
22265
22265
  };
22266
22266
  }
22267
- var zt, ft, e0, Vt, Dr, Ur, lr, gr, t0, qr, zr, Nr, Lr, vr, Wr, xt, _r, b0, A0, E0, w0, S0, C0, T0, Q0, V0, QueryObserver = (V0 = class extends Subscribable {
22267
+ var zt, ft, e0, Vt, Dr, Ur, lr, gr, t0, qr, zr, Nr, Lr, vr, Wr, xt, _r, b0, A0, E0, S0, w0, C0, T0, Q0, V0, QueryObserver = (V0 = class extends Subscribable {
22268
22268
  constructor(t, i) {
22269
22269
  super();
22270
22270
  We(this, xt);
@@ -22291,7 +22291,7 @@ var zt, ft, e0, Vt, Dr, Ur, lr, gr, t0, qr, zr, Nr, Lr, vr, Wr, xt, _r, b0, A0,
22291
22291
  this.refetch = this.refetch.bind(this);
22292
22292
  }
22293
22293
  onSubscribe() {
22294
- this.listeners.size === 1 && (K(this, ft).addObserver(this), shouldFetchOnMount(K(this, ft), this.options) ? st(this, xt, _r).call(this) : this.updateResult(), st(this, xt, w0).call(this));
22294
+ this.listeners.size === 1 && (K(this, ft).addObserver(this), shouldFetchOnMount(K(this, ft), this.options) ? st(this, xt, _r).call(this) : this.updateResult(), st(this, xt, S0).call(this));
22295
22295
  }
22296
22296
  onUnsubscribe() {
22297
22297
  this.hasListeners() || this.destroy();
@@ -22311,7 +22311,7 @@ var zt, ft, e0, Vt, Dr, Ur, lr, gr, t0, qr, zr, Nr, Lr, vr, Wr, xt, _r, b0, A0,
22311
22311
  );
22312
22312
  }
22313
22313
  destroy() {
22314
- this.listeners = /* @__PURE__ */ new Set(), st(this, xt, S0).call(this), st(this, xt, C0).call(this), K(this, ft).removeObserver(this);
22314
+ this.listeners = /* @__PURE__ */ new Set(), st(this, xt, w0).call(this), st(this, xt, C0).call(this), K(this, ft).removeObserver(this);
22315
22315
  }
22316
22316
  setOptions(t) {
22317
22317
  const i = this.options, s = K(this, ft);
@@ -22477,7 +22477,7 @@ var zt, ft, e0, Vt, Dr, Ur, lr, gr, t0, qr, zr, Nr, Lr, vr, Wr, xt, _r, b0, A0,
22477
22477
  st(this, xt, Q0).call(this, { listeners: s() });
22478
22478
  }
22479
22479
  onQueryUpdate() {
22480
- this.updateResult(), this.hasListeners() && st(this, xt, w0).call(this);
22480
+ this.updateResult(), this.hasListeners() && st(this, xt, S0).call(this);
22481
22481
  }
22482
22482
  }, zt = new WeakMap(), ft = new WeakMap(), e0 = new WeakMap(), Vt = new WeakMap(), Dr = new WeakMap(), Ur = new WeakMap(), lr = new WeakMap(), gr = new WeakMap(), t0 = new WeakMap(), qr = new WeakMap(), zr = new WeakMap(), Nr = new WeakMap(), Lr = new WeakMap(), vr = new WeakMap(), Wr = new WeakMap(), xt = new WeakSet(), _r = function(t) {
22483
22483
  st(this, xt, T0).call(this);
@@ -22487,7 +22487,7 @@ var zt, ft, e0, Vt, Dr, Ur, lr, gr, t0, qr, zr, Nr, Lr, vr, Wr, xt, _r, b0, A0,
22487
22487
  );
22488
22488
  return t != null && t.throwOnError || (i = i.catch(noop$1)), i;
22489
22489
  }, b0 = function() {
22490
- st(this, xt, S0).call(this);
22490
+ st(this, xt, w0).call(this);
22491
22491
  const t = resolveStaleTime(
22492
22492
  this.options.staleTime,
22493
22493
  K(this, ft)
@@ -22504,9 +22504,9 @@ var zt, ft, e0, Vt, Dr, Ur, lr, gr, t0, qr, zr, Nr, Lr, vr, Wr, xt, _r, b0, A0,
22504
22504
  st(this, xt, C0).call(this), Re(this, vr, t), !(isServer || resolveEnabled(this.options.enabled, K(this, ft)) === !1 || !isValidTimeout(K(this, vr)) || K(this, vr) === 0) && Re(this, Lr, timeoutManager.setInterval(() => {
22505
22505
  (this.options.refetchIntervalInBackground || focusManager.isFocused()) && st(this, xt, _r).call(this);
22506
22506
  }, K(this, vr)));
22507
- }, w0 = function() {
22508
- st(this, xt, b0).call(this), st(this, xt, E0).call(this, st(this, xt, A0).call(this));
22509
22507
  }, S0 = function() {
22508
+ st(this, xt, b0).call(this), st(this, xt, E0).call(this, st(this, xt, A0).call(this));
22509
+ }, w0 = function() {
22510
22510
  K(this, Nr) && (timeoutManager.clearTimeout(K(this, Nr)), Re(this, Nr, void 0));
22511
22511
  }, C0 = function() {
22512
22512
  K(this, Lr) && (timeoutManager.clearInterval(K(this, Lr)), Re(this, Lr, void 0));
@@ -26001,8 +26001,8 @@ function requireLottie() {
26001
26001
  var le = this.props;
26002
26002
  if (P === 1 && M === 0 && B === 0 && V === 0 && te === 0 && $ === 1 && ne === 0 && ae === 0 && me === 0 && fe === 0 && Y === 1 && ie === 0)
26003
26003
  return le[12] = le[12] * P + le[15] * oe, le[13] = le[13] * $ + le[15] * re, le[14] = le[14] * Y + le[15] * he, le[15] *= ce, this._identityCalculated = !1, this;
26004
- var Se = le[0], Te = le[1], ye = le[2], Ee = le[3], Ce = le[4], Pe = le[5], Ie = le[6], je = le[7], Qe = le[8], Ze = le[9], _e = le[10], $e = le[11], yt = le[12], Ye = le[13], ct = le[14], nt = le[15];
26005
- return le[0] = Se * P + Te * te + ye * me + Ee * oe, le[1] = Se * M + Te * $ + ye * fe + Ee * re, le[2] = Se * B + Te * ne + ye * Y + Ee * he, le[3] = Se * V + Te * ae + ye * ie + Ee * ce, le[4] = Ce * P + Pe * te + Ie * me + je * oe, le[5] = Ce * M + Pe * $ + Ie * fe + je * re, le[6] = Ce * B + Pe * ne + Ie * Y + je * he, le[7] = Ce * V + Pe * ae + Ie * ie + je * ce, le[8] = Qe * P + Ze * te + _e * me + $e * oe, le[9] = Qe * M + Ze * $ + _e * fe + $e * re, le[10] = Qe * B + Ze * ne + _e * Y + $e * he, le[11] = Qe * V + Ze * ae + _e * ie + $e * ce, le[12] = yt * P + Ye * te + ct * me + nt * oe, le[13] = yt * M + Ye * $ + ct * fe + nt * re, le[14] = yt * B + Ye * ne + ct * Y + nt * he, le[15] = yt * V + Ye * ae + ct * ie + nt * ce, this._identityCalculated = !1, this;
26004
+ var we = le[0], Te = le[1], ye = le[2], Ee = le[3], Ce = le[4], Pe = le[5], Ie = le[6], je = le[7], Qe = le[8], Ze = le[9], _e = le[10], $e = le[11], yt = le[12], Ye = le[13], ct = le[14], nt = le[15];
26005
+ return le[0] = we * P + Te * te + ye * me + Ee * oe, le[1] = we * M + Te * $ + ye * fe + Ee * re, le[2] = we * B + Te * ne + ye * Y + Ee * he, le[3] = we * V + Te * ae + ye * ie + Ee * ce, le[4] = Ce * P + Pe * te + Ie * me + je * oe, le[5] = Ce * M + Pe * $ + Ie * fe + je * re, le[6] = Ce * B + Pe * ne + Ie * Y + je * he, le[7] = Ce * V + Pe * ae + Ie * ie + je * ce, le[8] = Qe * P + Ze * te + _e * me + $e * oe, le[9] = Qe * M + Ze * $ + _e * fe + $e * re, le[10] = Qe * B + Ze * ne + _e * Y + $e * he, le[11] = Qe * V + Ze * ae + _e * ie + $e * ce, le[12] = yt * P + Ye * te + ct * me + nt * oe, le[13] = yt * M + Ye * $ + ct * fe + nt * re, le[14] = yt * B + Ye * ne + ct * Y + nt * he, le[15] = yt * V + Ye * ae + ct * ie + nt * ce, this._identityCalculated = !1, this;
26006
26006
  }
26007
26007
  function A(P) {
26008
26008
  var M = P.props;
@@ -28497,7 +28497,7 @@ function requireLottie() {
28497
28497
  p = m.length, u = 0, f = 0;
28498
28498
  var Q = e.finalSize * 1.2 * 0.714, F = !0, N, L, P, M, B;
28499
28499
  M = s.length;
28500
- var V, te = -1, $, ne, ae, me = y, fe = E, Y = S, ie = -1, oe, re, he, ce, le, Se, Te, ye, Ee = "", Ce = this.defaultPropsArray, Pe;
28500
+ var V, te = -1, $, ne, ae, me = y, fe = E, Y = S, ie = -1, oe, re, he, ce, le, we, Te, ye, Ee = "", Ce = this.defaultPropsArray, Pe;
28501
28501
  if (e.j === 2 || e.j === 1) {
28502
28502
  var Ie = 0, je = 0, Qe = e.j === 2 ? -0.5 : -1, Ze = 0, _e = !0;
28503
28503
  for (d = 0; d < p; d += 1)
@@ -28515,7 +28515,7 @@ function requireLottie() {
28515
28515
  }
28516
28516
  for (d = 0; d < p; d += 1) {
28517
28517
  if (o.reset(), oe = 1, m[d].n)
28518
- u = 0, f += e.yOffset, f += F ? 1 : 0, y = me, F = !1, this._hasMaskedPath && (E = fe, S = Y, T = I[E].points, C = T[S - 1], k = T[S], D = k.partialLength, A = 0), Ee = "", ye = "", Se = "", Pe = "", Ce = this.defaultPropsArray;
28518
+ u = 0, f += e.yOffset, f += F ? 1 : 0, y = me, F = !1, this._hasMaskedPath && (E = fe, S = Y, T = I[E].points, C = T[S - 1], k = T[S], D = k.partialLength, A = 0), Ee = "", ye = "", we = "", Pe = "", Ce = this.defaultPropsArray;
28519
28519
  else {
28520
28520
  if (this._hasMaskedPath) {
28521
28521
  if (ie !== m[d].line) {
@@ -28557,7 +28557,7 @@ function requireLottie() {
28557
28557
  }
28558
28558
  for (P = 0; P < M; P += 1)
28559
28559
  N = s[P].a, N.p.propType && (L = s[P].s, V = L.getMult(m[d].anIndexes[P], a.a[P].s.totalChars), this._hasMaskedPath ? V.length ? o.translate(0, N.p.v[1] * V[0], -N.p.v[2] * V[1]) : o.translate(0, N.p.v[1] * V, -N.p.v[2] * V) : V.length ? o.translate(N.p.v[0] * V[0], N.p.v[1] * V[1], -N.p.v[2] * V[2]) : o.translate(N.p.v[0] * V, N.p.v[1] * V, -N.p.v[2] * V));
28560
- if (e.strokeWidthAnim && (Se = he < 0 ? 0 : he), e.strokeColorAnim && (Te = "rgb(" + Math.round(re[0] * 255) + "," + Math.round(re[1] * 255) + "," + Math.round(re[2] * 255) + ")"), e.fillColorAnim && e.fc && (ye = "rgb(" + Math.round(ce[0] * 255) + "," + Math.round(ce[1] * 255) + "," + Math.round(ce[2] * 255) + ")"), this._hasMaskedPath) {
28560
+ if (e.strokeWidthAnim && (we = he < 0 ? 0 : he), e.strokeColorAnim && (Te = "rgb(" + Math.round(re[0] * 255) + "," + Math.round(re[1] * 255) + "," + Math.round(re[2] * 255) + ")"), e.fillColorAnim && e.fc && (ye = "rgb(" + Math.round(ce[0] * 255) + "," + Math.round(ce[1] * 255) + "," + Math.round(ce[2] * 255) + ")"), this._hasMaskedPath) {
28561
28561
  if (o.translate(0, -e.ls), o.translate(0, i[1] * Q * 0.01 + f, 0), this._pathData.p.v) {
28562
28562
  q = (k.point[1] - C.point[1]) / (k.point[0] - C.point[0]);
28563
28563
  var yt = Math.atan(q) * 180 / Math.PI;
@@ -28577,7 +28577,7 @@ function requireLottie() {
28577
28577
  }
28578
28578
  l === "html" ? Ee = o.toCSS() : l === "svg" ? Ee = o.to2dCSS() : Ce = [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]], Pe = oe;
28579
28579
  }
28580
- c <= d ? (B = new LetterProps(Pe, Se, Te, ye, Ee, Ce), this.renderedLetters.push(B), c += 1, this.lettersChangedFlag = !0) : (B = this.renderedLetters[d], this.lettersChangedFlag = B.update(Pe, Se, Te, ye, Ee, Ce) || this.lettersChangedFlag);
28580
+ c <= d ? (B = new LetterProps(Pe, we, Te, ye, Ee, Ce), this.renderedLetters.push(B), c += 1, this.lettersChangedFlag = !0) : (B = this.renderedLetters[d], this.lettersChangedFlag = B.update(Pe, we, Te, ye, Ee, Ce) || this.lettersChangedFlag);
28581
28581
  }
28582
28582
  }
28583
28583
  }, TextAnimatorProperty.prototype.getValue = function() {
@@ -32324,7 +32324,7 @@ const PRICE = 250, PurchaseAdsFreeModal = ({ children: e }) => {
32324
32324
  variant: t = "translucent",
32325
32325
  initialPosition: i = "topLeft"
32326
32326
  }) => {
32327
- var Se, Te;
32327
+ var we, Te;
32328
32328
  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), [g, y] = useState(!1), [k, A] = useState(!1), [b, S] = useState(!1), { data: E } = useProfile(), [C] = useAnimateNumber(E.experience), [T] = useAnimateNumber(E.level), [I] = useAnimateNumber(E.balance_gems), { miniApp: D } = useMiniApp(), O = D.colorScheme === "dark", [j, q] = useState(!1), { safeAreaInset: W, contentSafeAreaInset: J } = D, [ee, Q] = useState(mapPositionToInitialPosition(i)), F = useThrottle(ee.x, 1e3), N = useThrottle(ee.y, 1e3), L = useCallback(
32329
32329
  () => window.innerWidth > window.innerHeight ? STORAGE_KEY_LANDSCAPE : STORAGE_KEY_PORTRAIT,
32330
32330
  []
@@ -32485,7 +32485,7 @@ const PRICE = 250, PurchaseAdsFreeModal = ({ children: e }) => {
32485
32485
  backgroundColor: "rgba(0, 0, 0, 0.45)"
32486
32486
  } : {
32487
32487
  backgroundColor: "var(--tg-theme-secondary-bg-color)"
32488
- }, Y = E ? (Se = E.first_name) != null && Se.length ? E.first_name[0] : (Te = E.user_name) != null && Te.length ? E.user_name[0] : void 0 : void 0, ie = /* @__PURE__ */ jsxRuntimeExports.jsxs(
32488
+ }, Y = E ? (we = E.first_name) != null && we.length ? E.first_name[0] : (Te = E.user_name) != null && Te.length ? E.user_name[0] : void 0 : void 0, ie = /* @__PURE__ */ jsxRuntimeExports.jsxs(
32489
32489
  "div",
32490
32490
  {
32491
32491
  className: "flex flex-row items-center gap-[5px] h-[30px] p-0 pr-[7px] w-fit",
@@ -33132,11 +33132,11 @@ function DragHandler(e, t, i, s, a, o, l, c, u, f, d, p, m, g, y, k, A, b, S) {
33132
33132
  let ee = !1, Q = 0, F = 0, N = !1, L = !1, P = !1, M = !1;
33133
33133
  function B(he) {
33134
33134
  if (!S) return;
33135
- function ce(Se) {
33136
- (isBoolean(S) || S(he, Se)) && me(Se);
33135
+ function ce(we) {
33136
+ (isBoolean(S) || S(he, we)) && me(we);
33137
33137
  }
33138
33138
  const le = t;
33139
- D.add(le, "dragstart", (Se) => Se.preventDefault(), I).add(le, "touchmove", () => {
33139
+ D.add(le, "dragstart", (we) => we.preventDefault(), I).add(le, "touchmove", () => {
33140
33140
  }, I).add(le, "touchend", () => {
33141
33141
  }).add(le, "touchstart", ce).add(le, "mousedown", ce).add(le, "touchcancel", Y).add(le, "contextmenu", Y).add(le, "click", ie, !0);
33142
33142
  }
@@ -33155,8 +33155,8 @@ function DragHandler(e, t, i, s, a, o, l, c, u, f, d, p, m, g, y, k, A, b, S) {
33155
33155
  return (y ? W : q)[M ? "mouse" : "touch"];
33156
33156
  }
33157
33157
  function ae(he, ce) {
33158
- const le = p.add(mathSign(he) * -1), Se = d.byDistance(he, !y).distance;
33159
- return y || mathAbs(he) < j ? Se : A && ce ? Se * 0.5 : d.byIndex(le.get(), 0).distance;
33158
+ const le = p.add(mathSign(he) * -1), we = d.byDistance(he, !y).distance;
33159
+ return y || mathAbs(he) < j ? we : A && ce ? we * 0.5 : d.byIndex(le.get(), 0).distance;
33160
33160
  }
33161
33161
  function me(he) {
33162
33162
  const ce = isMouseEvent(he, s);
@@ -33164,14 +33164,14 @@ function DragHandler(e, t, i, s, a, o, l, c, u, f, d, p, m, g, y, k, A, b, S) {
33164
33164
  }
33165
33165
  function fe(he) {
33166
33166
  if (!isMouseEvent(he, s) && he.touches.length >= 2) return Y(he);
33167
- const le = o.readPoint(he), Se = o.readPoint(he, E), Te = deltaAbs(le, Q), ye = deltaAbs(Se, F);
33167
+ const le = o.readPoint(he), we = o.readPoint(he, E), Te = deltaAbs(le, Q), ye = deltaAbs(we, F);
33168
33168
  if (!L && !M && (!he.cancelable || (L = Te > ye, !L)))
33169
33169
  return Y(he);
33170
33170
  const Ee = o.pointerMove(he);
33171
33171
  Te > k && (P = !0), f.useFriction(0.3).useDuration(0.75), c.start(), a.add(C(Ee)), he.preventDefault();
33172
33172
  }
33173
33173
  function Y(he) {
33174
- const le = d.byDistance(0, !1).index !== p.get(), Se = o.pointerUp(he) * ne(), Te = ae(C(Se), le), ye = factorAbs(Se, Te), Ee = J - 10 * ye, Ce = b + ye / 50;
33174
+ const le = d.byDistance(0, !1).index !== p.get(), we = o.pointerUp(he) * ne(), Te = ae(C(we), le), ye = factorAbs(we, Te), Ee = J - 10 * ye, Ce = b + ye / 50;
33175
33175
  L = !1, N = !1, O.clear(), f.useDuration(Ee).useFriction(Ce), u.distance(Te, !y), M = !1, m.emit("pointerUp");
33176
33176
  }
33177
33177
  function ie(he) {
@@ -33832,21 +33832,21 @@ function Engine(e, t, i, s, a, o, l) {
33832
33832
  location: xe,
33833
33833
  offsetLocation: be,
33834
33834
  previousLocation: Ne,
33835
- scrollLooper: we,
33835
+ scrollLooper: Se,
33836
33836
  slideLooper: qe,
33837
33837
  dragHandler: ve,
33838
33838
  animation: Ae,
33839
33839
  eventHandler: Xe,
33840
33840
  scrollBounds: ht,
33841
33841
  options: {
33842
- loop: wt
33842
+ loop: St
33843
33843
  }
33844
- }, St) => {
33845
- const Nt = nt.settled(), He = !ht.shouldConstrain(), dt = wt ? Nt : Nt && He, gt = dt && !ve.pointerDown();
33844
+ }, wt) => {
33845
+ const Nt = nt.settled(), He = !ht.shouldConstrain(), dt = St ? Nt : Nt && He, gt = dt && !ve.pointerDown();
33846
33846
  gt && Ae.stop();
33847
- const Tt = xe.get() * St + Ne.get() * (1 - St);
33848
- be.set(Tt), wt && (we.loop(nt.direction()), qe.loop()), Le.to(be.get()), gt && Xe.emit("settle"), dt || Xe.emit("scroll");
33849
- }, le = Animations(s, a, () => he(ct), (nt) => ce(ct, nt)), Se = 0.68, Te = fe[ie.get()], ye = Vector1D(Te), Ee = Vector1D(Te), Ce = Vector1D(Te), Pe = Vector1D(Te), Ie = ScrollBody(ye, Ce, Ee, Pe, m, Se), je = ScrollTarget(p, fe, ne, Y, Pe), Qe = ScrollTo(le, ie, oe, Ie, je, Pe, l), Ze = ScrollProgress(Y), _e = EventStore(), $e = SlidesInView(t, i, l, k), {
33847
+ const Tt = xe.get() * wt + Ne.get() * (1 - wt);
33848
+ be.set(Tt), St && (Se.loop(nt.direction()), qe.loop()), Le.to(be.get()), gt && Xe.emit("settle"), dt || Xe.emit("scroll");
33849
+ }, le = Animations(s, a, () => he(ct), (nt) => ce(ct, nt)), we = 0.68, Te = fe[ie.get()], ye = Vector1D(Te), Ee = Vector1D(Te), Ce = Vector1D(Te), Pe = Vector1D(Te), Ie = ScrollBody(ye, Ce, Ee, Pe, m, we), je = ScrollTarget(p, fe, ne, Y, Pe), Qe = ScrollTo(le, ie, oe, Ie, je, Pe, l), Ze = ScrollProgress(Y), _e = EventStore(), $e = SlidesInView(t, i, l, k), {
33850
33850
  slideRegistry: yt
33851
33851
  } = SlideRegistry(F, S, fe, me, V, re), Ye = SlideFocus(e, i, yt, Qe, Ie, _e, l, I), ct = {
33852
33852
  ownerDocument: s,
@@ -33856,7 +33856,7 @@ function Engine(e, t, i, s, a, o, l) {
33856
33856
  slideRects: q,
33857
33857
  animation: le,
33858
33858
  axis: W,
33859
- dragHandler: DragHandler(W, e, s, a, Pe, DragTracker(W, a), ye, le, Qe, Ie, je, ie, l, ee, g, y, b, Se, T),
33859
+ dragHandler: DragHandler(W, e, s, a, Pe, DragTracker(W, a), ye, le, Qe, Ie, je, ie, l, ee, g, y, b, we, T),
33860
33860
  eventStore: _e,
33861
33861
  percentOfView: ee,
33862
33862
  index: ie,
@@ -34806,7 +34806,7 @@ function getDefaultSwipeDirections(e) {
34806
34806
  }
34807
34807
  const Toast = (e) => {
34808
34808
  var t, i, s, a, o, l, c, u, f;
34809
- const { invert: d, toast: p, unstyled: m, interacting: g, setHeights: y, visibleToasts: k, heights: A, index: b, toasts: S, expanded: E, removeToast: C, defaultRichColors: T, closeButton: I, style: D, cancelButtonStyle: O, actionButtonStyle: j, className: q = "", descriptionClassName: W = "", duration: J, position: ee, gap: Q, expandByDefault: F, classNames: N, icons: L, closeButtonAriaLabel: P = "Close toast" } = e, [M, B] = React__default.useState(null), [V, te] = React__default.useState(null), [$, ne] = React__default.useState(!1), [ae, me] = React__default.useState(!1), [fe, Y] = React__default.useState(!1), [ie, oe] = React__default.useState(!1), [re, he] = React__default.useState(!1), [ce, le] = React__default.useState(0), [Se, Te] = React__default.useState(0), ye = React__default.useRef(p.duration || J || TOAST_LIFETIME), Ee = React__default.useRef(null), Ce = React__default.useRef(null), Pe = b === 0, Ie = b + 1 <= k, je = p.type, Qe = p.dismissible !== !1, Ze = p.className || "", _e = p.descriptionClassName || "", $e = React__default.useMemo(() => A.findIndex((He) => He.toastId === p.id) || 0, [
34809
+ const { invert: d, toast: p, unstyled: m, interacting: g, setHeights: y, visibleToasts: k, heights: A, index: b, toasts: S, expanded: E, removeToast: C, defaultRichColors: T, closeButton: I, style: D, cancelButtonStyle: O, actionButtonStyle: j, className: q = "", descriptionClassName: W = "", duration: J, position: ee, gap: Q, expandByDefault: F, classNames: N, icons: L, closeButtonAriaLabel: P = "Close toast" } = e, [M, B] = React__default.useState(null), [V, te] = React__default.useState(null), [$, ne] = React__default.useState(!1), [ae, me] = React__default.useState(!1), [fe, Y] = React__default.useState(!1), [ie, oe] = React__default.useState(!1), [re, he] = React__default.useState(!1), [ce, le] = React__default.useState(0), [we, Te] = React__default.useState(0), ye = React__default.useRef(p.duration || J || TOAST_LIFETIME), Ee = React__default.useRef(null), Ce = React__default.useRef(null), Pe = b === 0, Ie = b + 1 <= k, je = p.type, Qe = p.dismissible !== !1, Ze = p.className || "", _e = p.descriptionClassName || "", $e = React__default.useMemo(() => A.findIndex((He) => He.toastId === p.id) || 0, [
34810
34810
  A,
34811
34811
  p.id
34812
34812
  ]), yt = React__default.useMemo(() => {
@@ -34818,13 +34818,13 @@ const Toast = (e) => {
34818
34818
  ]), Ye = React__default.useMemo(() => p.duration || J || TOAST_LIFETIME, [
34819
34819
  p.duration,
34820
34820
  J
34821
- ]), ct = React__default.useRef(0), nt = React__default.useRef(0), Le = React__default.useRef(0), xe = React__default.useRef(null), [be, Ne] = ee.split("-"), we = React__default.useMemo(() => A.reduce((He, dt, gt) => gt >= $e ? He : He + dt.height, 0), [
34821
+ ]), ct = React__default.useRef(0), nt = React__default.useRef(0), Le = React__default.useRef(0), xe = React__default.useRef(null), [be, Ne] = ee.split("-"), Se = React__default.useMemo(() => A.reduce((He, dt, gt) => gt >= $e ? He : He + dt.height, 0), [
34822
34822
  A,
34823
34823
  $e
34824
34824
  ]), qe = useIsDocumentHidden(), ve = p.invert || d, Ae = je === "loading";
34825
- nt.current = React__default.useMemo(() => $e * Q + we, [
34825
+ nt.current = React__default.useMemo(() => $e * Q + Se, [
34826
34826
  $e,
34827
- we
34827
+ Se
34828
34828
  ]), React__default.useEffect(() => {
34829
34829
  ye.current = Ye;
34830
34830
  }, [
@@ -34924,14 +34924,14 @@ const Toast = (e) => {
34924
34924
  visible: je === "loading"
34925
34925
  });
34926
34926
  }
34927
- const wt = p.icon || (L == null ? void 0 : L[je]) || getAsset(je);
34928
- var St, Nt;
34927
+ const St = p.icon || (L == null ? void 0 : L[je]) || getAsset(je);
34928
+ var wt, Nt;
34929
34929
  return /* @__PURE__ */ React__default.createElement("li", {
34930
34930
  tabIndex: 0,
34931
34931
  ref: Ce,
34932
34932
  className: cn(q, Ze, N == null ? void 0 : N.toast, p == null || (t = p.classNames) == null ? void 0 : t.toast, N == null ? void 0 : N.default, N == null ? void 0 : N[je], p == null || (i = p.classNames) == null ? void 0 : i[je]),
34933
34933
  "data-sonner-toast": "",
34934
- "data-rich-colors": (St = p.richColors) != null ? St : T,
34934
+ "data-rich-colors": (wt = p.richColors) != null ? wt : T,
34935
34935
  "data-styled": !(p.jsx || p.unstyled || m),
34936
34936
  "data-mounted": $,
34937
34937
  "data-promise": !!p.promise,
@@ -34955,7 +34955,7 @@ const Toast = (e) => {
34955
34955
  "--toasts-before": b,
34956
34956
  "--z-index": S.length - b,
34957
34957
  "--offset": `${ae ? ce : nt.current}px`,
34958
- "--initial-height": F ? "auto" : `${Se}px`,
34958
+ "--initial-height": F ? "auto" : `${we}px`,
34959
34959
  ...D,
34960
34960
  ...p.style
34961
34961
  },
@@ -35023,7 +35023,7 @@ const Toast = (e) => {
35023
35023
  }, (Nt = L == null ? void 0 : L.close) != null ? Nt : CloseIcon) : null, (je || p.icon || p.promise) && p.icon !== null && ((L == null ? void 0 : L[je]) !== null || p.icon) ? /* @__PURE__ */ React__default.createElement("div", {
35024
35024
  "data-icon": "",
35025
35025
  className: cn(N == null ? void 0 : N.icon, p == null || (a = p.classNames) == null ? void 0 : a.icon)
35026
- }, p.promise || p.type === "loading" && !p.icon ? p.icon || ht() : null, p.type !== "loading" ? wt : null) : null, /* @__PURE__ */ React__default.createElement("div", {
35026
+ }, p.promise || p.type === "loading" && !p.icon ? p.icon || ht() : null, p.type !== "loading" ? St : null) : null, /* @__PURE__ */ React__default.createElement("div", {
35027
35027
  "data-content": "",
35028
35028
  className: cn(N == null ? void 0 : N.content, p == null || (o = p.classNames) == null ? void 0 : o.content)
35029
35029
  }, /* @__PURE__ */ React__default.createElement("div", {
@@ -36182,15 +36182,15 @@ function requireReactConfetti_min() {
36182
36182
  (function(Ie, je) {
36183
36183
  if (!(Ie instanceof je)) throw new TypeError("Cannot call a class as a function");
36184
36184
  })(this, Y), y(this, "context", void 0), y(this, "radius", void 0), y(this, "x", void 0), y(this, "y", void 0), y(this, "w", void 0), y(this, "h", void 0), y(this, "vx", void 0), y(this, "vy", void 0), y(this, "shape", void 0), y(this, "angle", void 0), y(this, "angularSpin", void 0), y(this, "color", void 0), y(this, "rotateY", void 0), y(this, "rotationDirection", void 0), y(this, "getOptions", void 0), this.getOptions = he;
36185
- var Se, Te, ye = this.getOptions(), Ee = ye.colors, Ce = ye.initialVelocityX, Pe = ye.initialVelocityY;
36186
- this.context = re, this.x = ce, this.y = le, this.w = m(5, 20), this.h = m(5, 20), this.radius = m(5, 10), this.vx = typeof Ce == "number" ? m(-Ce, Ce) : m(Ce.min, Ce.max), this.vy = typeof Pe == "number" ? m(-Pe, 0) : m(Pe.min, Pe.max), this.shape = (Se = 0, Te = 2, Math.floor(Se + Math.random() * (Te - Se + 1))), this.angle = m(0, 360) * Math.PI / 180, this.angularSpin = m(-0.2, 0.2), this.color = Ee[Math.floor(Math.random() * Ee.length)], this.rotateY = m(0, 1), this.rotationDirection = m(0, 1) ? c.Positive : c.Negative;
36185
+ var we, Te, ye = this.getOptions(), Ee = ye.colors, Ce = ye.initialVelocityX, Pe = ye.initialVelocityY;
36186
+ this.context = re, this.x = ce, this.y = le, this.w = m(5, 20), this.h = m(5, 20), this.radius = m(5, 10), this.vx = typeof Ce == "number" ? m(-Ce, Ce) : m(Ce.min, Ce.max), this.vy = typeof Pe == "number" ? m(-Pe, 0) : m(Pe.min, Pe.max), this.shape = (we = 0, Te = 2, Math.floor(we + Math.random() * (Te - we + 1))), this.angle = m(0, 360) * Math.PI / 180, this.angularSpin = m(-0.2, 0.2), this.color = Ee[Math.floor(Math.random() * Ee.length)], this.rotateY = m(0, 1), this.rotationDirection = m(0, 1) ? c.Positive : c.Negative;
36187
36187
  }
36188
36188
  var ie, oe;
36189
36189
  return ie = Y, (oe = [{ key: "update", value: function() {
36190
- var re = this.getOptions(), he = re.gravity, ce = re.wind, le = re.friction, Se = re.opacity, Te = re.drawShape;
36190
+ var re = this.getOptions(), he = re.gravity, ce = re.wind, le = re.friction, we = re.opacity, Te = re.drawShape;
36191
36191
  this.x += this.vx, this.y += this.vy, this.vy += he, this.vx += ce, this.vx *= le, this.vy *= le, this.rotateY >= 1 && this.rotationDirection === c.Positive ? this.rotationDirection = c.Negative : this.rotateY <= -1 && this.rotationDirection === c.Negative && (this.rotationDirection = c.Positive);
36192
36192
  var ye = 0.1 * this.rotationDirection;
36193
- if (this.rotateY += ye, this.angle += this.angularSpin, this.context.save(), this.context.translate(this.x, this.y), this.context.rotate(this.angle), this.context.scale(1, this.rotateY), this.context.rotate(this.angle), this.context.beginPath(), this.context.fillStyle = this.color, this.context.strokeStyle = this.color, this.context.globalAlpha = Se, this.context.lineCap = "round", this.context.lineWidth = 2, Te && typeof Te == "function") Te.call(this, this.context);
36193
+ if (this.rotateY += ye, this.angle += this.angularSpin, this.context.save(), this.context.translate(this.x, this.y), this.context.rotate(this.angle), this.context.scale(1, this.rotateY), this.context.rotate(this.angle), this.context.beginPath(), this.context.fillStyle = this.color, this.context.strokeStyle = this.color, this.context.globalAlpha = we, this.context.lineCap = "round", this.context.lineWidth = 2, Te && typeof Te == "function") Te.call(this, this.context);
36194
36194
  else switch (this.shape) {
36195
36195
  case l.Circle:
36196
36196
  this.context.beginPath(), this.context.arc(0, 0, this.radius, 0, 2 * Math.PI), this.context.fill();
@@ -36217,9 +36217,9 @@ function requireReactConfetti_min() {
36217
36217
  var ce = m(re.x, re.w + re.x), le = m(re.y, re.h + re.y);
36218
36218
  return new k(re.context, re.getOptions, ce, le);
36219
36219
  }), A(this, "animate", function() {
36220
- var ce = re.canvas, le = re.context, Se = re.particlesGenerated, Te = re.lastNumberOfPieces, ye = re.getOptions(), Ee = ye.run, Ce = ye.recycle, Pe = ye.numberOfPieces, Ie = ye.debug, je = ye.tweenFunction, Qe = ye.tweenDuration;
36220
+ var ce = re.canvas, le = re.context, we = re.particlesGenerated, Te = re.lastNumberOfPieces, ye = re.getOptions(), Ee = ye.run, Ce = ye.recycle, Pe = ye.numberOfPieces, Ie = ye.debug, je = ye.tweenFunction, Qe = ye.tweenDuration;
36221
36221
  if (!Ee) return !1;
36222
- var Ze = re.particles.length, _e = Ce ? Ze : Se, $e = Date.now();
36222
+ var Ze = re.particles.length, _e = Ce ? Ze : we, $e = Date.now();
36223
36223
  if (_e < Pe) {
36224
36224
  Te !== Pe && (re.tweenInitTime = $e, re.lastNumberOfPieces = Pe);
36225
36225
  for (var yt = re.tweenInitTime, Ye = je($e - yt > Qe ? Qe : Math.max(0, $e - yt), _e, Pe, Qe), ct = Math.round(Ye - _e), nt = 0; nt < ct; nt++) re.particles.push(re.getParticle());
@@ -36266,13 +36266,13 @@ function requireReactConfetti_min() {
36266
36266
  var I = { width: typeof window < "u" ? window.innerWidth : 300, height: typeof window < "u" ? window.innerHeight : 200, numberOfPieces: 200, friction: 0.99, wind: 0, gravity: 0.1, initialVelocityX: 4, initialVelocityY: 10, colors: ["#f44336", "#e91e63", "#9c27b0", "#673ab7", "#3f51b5", "#2196f3", "#03a9f4", "#00bcd4", "#009688", "#4CAF50", "#8BC34A", "#CDDC39", "#FFEB3B", "#FFC107", "#FF9800", "#FF5722", "#795548"], opacity: 1, debug: !1, tweenFunction: p.a.easeInOutQuad, tweenDuration: 5e3, recycle: !0, run: !0 }, D = function() {
36267
36267
  function Y(re, he) {
36268
36268
  var ce = this;
36269
- (function(Se, Te) {
36270
- if (!(Se instanceof Te)) throw new TypeError("Cannot call a class as a function");
36271
- })(this, Y), T(this, "canvas", void 0), T(this, "context", void 0), T(this, "_options", void 0), T(this, "generator", void 0), T(this, "rafId", void 0), T(this, "setOptionsWithDefaults", function(Se) {
36269
+ (function(we, Te) {
36270
+ if (!(we instanceof Te)) throw new TypeError("Cannot call a class as a function");
36271
+ })(this, Y), T(this, "canvas", void 0), T(this, "context", void 0), T(this, "_options", void 0), T(this, "generator", void 0), T(this, "rafId", void 0), T(this, "setOptionsWithDefaults", function(we) {
36272
36272
  var Te = { confettiSource: { x: 0, y: 0, w: ce.canvas.width, h: 0 } };
36273
- ce._options = E(E(E({}, Te), I), Se), Object.assign(ce, Se.confettiSource);
36273
+ ce._options = E(E(E({}, Te), I), we), Object.assign(ce, we.confettiSource);
36274
36274
  }), T(this, "update", function() {
36275
- var Se = ce.options, Te = Se.run, ye = Se.onConfettiComplete, Ee = ce.canvas, Ce = ce.context;
36275
+ var we = ce.options, Te = we.run, ye = we.onConfettiComplete, Ee = ce.canvas, Ce = ce.context;
36276
36276
  Te && (Ce.fillStyle = "white", Ce.clearRect(0, 0, Ee.width, Ee.height)), ce.generator.animate() ? ce.rafId = requestAnimationFrame(ce.update) : (ye && typeof ye == "function" && ce.generator.particlesGenerated > 0 && ye.call(ce, ce), ce._options.run = !1);
36277
36277
  }), T(this, "reset", function() {
36278
36278
  ce.generator && ce.generator.particlesGenerated > 0 && (ce.generator.particlesGenerated = 0, ce.generator.particles = [], ce.generator.lastNumberOfPieces = 0);
@@ -36345,16 +36345,16 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
36345
36345
  if (Array.isArray(oe)) return oe;
36346
36346
  }(Y) || function(oe, re) {
36347
36347
  if (!(typeof Symbol > "u" || !(Symbol.iterator in Object(oe)))) {
36348
- var he = [], ce = !0, le = !1, Se = void 0;
36348
+ var he = [], ce = !0, le = !1, we = void 0;
36349
36349
  try {
36350
36350
  for (var Te, ye = oe[Symbol.iterator](); !(ce = (Te = ye.next()).done) && (he.push(Te.value), !re || he.length !== re); ce = !0) ;
36351
36351
  } catch (Ee) {
36352
- le = !0, Se = Ee;
36352
+ le = !0, we = Ee;
36353
36353
  } finally {
36354
36354
  try {
36355
36355
  ce || ye.return == null || ye.return();
36356
36356
  } finally {
36357
- if (le) throw Se;
36357
+ if (le) throw we;
36358
36358
  }
36359
36359
  }
36360
36360
  return he;
@@ -36434,7 +36434,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
36434
36434
  function he(ce) {
36435
36435
  var le;
36436
36436
  N(this, he);
36437
- for (var Se = arguments.length, Te = new Array(Se > 1 ? Se - 1 : 0), ye = 1; ye < Se; ye++) Te[ye - 1] = arguments[ye];
36437
+ for (var we = arguments.length, Te = new Array(we > 1 ? we - 1 : 0), ye = 1; ye < we; ye++) Te[ye - 1] = arguments[ye];
36438
36438
  return $(V(le = re.call.apply(re, [this, ce].concat(Te))), "canvas", f.a.createRef()), $(V(le), "confetti", void 0), le.canvas = ce.canvasRef || ne, le;
36439
36439
  }
36440
36440
  return ie = he, (oe = [{ key: "componentDidMount", value: function() {
@@ -36448,8 +36448,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
36448
36448
  } }, { key: "componentWillUnmount", value: function() {
36449
36449
  this.confetti && this.confetti.stop(), this.confetti = void 0;
36450
36450
  } }, { key: "render", value: function() {
36451
- var ce = ee(me(this.props), 2), le = ce[0], Se = ce[1], Te = J({ zIndex: 2, position: "absolute", pointerEvents: "none", top: 0, left: 0, bottom: 0, right: 0 }, Se.style);
36452
- return f.a.createElement("canvas", q({ width: le.width, height: le.height, ref: this.canvas }, Se, { style: Te }));
36451
+ var ce = ee(me(this.props), 2), le = ce[0], we = ce[1], Te = J({ zIndex: 2, position: "absolute", pointerEvents: "none", top: 0, left: 0, bottom: 0, right: 0 }, we.style);
36452
+ return f.a.createElement("canvas", q({ width: le.width, height: le.height, ref: this.canvas }, we, { style: Te }));
36453
36453
  } }]) && L(ie.prototype, oe), he;
36454
36454
  }(u.Component);
36455
36455
  function me(Y) {
@@ -38509,7 +38509,7 @@ const balance$4 = "Balance", topUp$4 = "Top Up", ads$4 = "Ads", adsOn$4 = "On",
38509
38509
  topUpModal,
38510
38510
  inventoryModal
38511
38511
  };
38512
- var define_process_env_default$2 = { NODE_ENV: '"production"', version: '"1.80.1"' };
38512
+ var define_process_env_default$2 = { NODE_ENV: '"production"', version: '"1.81.1"' };
38513
38513
  const resources = {
38514
38514
  en: {
38515
38515
  translation: en
@@ -38557,7 +38557,7 @@ function delay(e, { signal: t } = {}) {
38557
38557
  t == null || t.addEventListener("abort", o, { once: !0 });
38558
38558
  });
38559
38559
  }
38560
- var define_process_env_default$1 = { NODE_ENV: '"production"', version: '"1.80.1"' }, win;
38560
+ var define_process_env_default$1 = { NODE_ENV: '"production"', version: '"1.81.1"' }, win;
38561
38561
  if (typeof window > "u") {
38562
38562
  var loc = {
38563
38563
  hostname: ""
@@ -39597,7 +39597,7 @@ function serializeNodeWithId(e, t) {
39597
39597
  }
39598
39598
  var le = null;
39599
39599
  if (isElement(e) && (le = index$1.shadowRoot(e)))
39600
- for (var Se = _create_for_of_iterator_helper_loose(Array.from(index$1.childNodes(le))), Te; !(Te = Se()).done; ) {
39600
+ for (var we = _create_for_of_iterator_helper_loose(Array.from(index$1.childNodes(le))), Te; !(Te = we()).done; ) {
39601
39601
  var ye = Te.value, Ee = serializeNodeWithId(ye, ie);
39602
39602
  Ee && (isNativeShadowDom(le) && (Ee.isShadow = !0), me.childNodes.push(Ee));
39603
39603
  }
@@ -47063,16 +47063,16 @@ function record(e) {
47063
47063
  return !1;
47064
47064
  } : ie, re = e.ignoreCSSAttributes, he = re === void 0 ? /* @__PURE__ */ new Set([]) : re, ce = e.errorHandler;
47065
47065
  registerErrorHandler(ce);
47066
- var le = M ? window.parent === window : !0, Se = !1;
47066
+ var le = M ? window.parent === window : !0, we = !1;
47067
47067
  if (!le)
47068
47068
  try {
47069
- window.parent.document && (Se = !1);
47069
+ window.parent.document && (we = !1);
47070
47070
  } catch {
47071
- Se = !0;
47071
+ we = !0;
47072
47072
  }
47073
47073
  if (le && !t)
47074
47074
  throw new Error("emit function is required");
47075
- if (!le && !Se)
47075
+ if (!le && !we)
47076
47076
  return function() {
47077
47077
  };
47078
47078
  ee !== void 0 && q.mousemove === void 0 && (q.mousemove = ee), mirror.reset();
@@ -47111,21 +47111,21 @@ function record(e) {
47111
47111
  headTitleMutations: C === "all"
47112
47112
  } : C || {};
47113
47113
  polyfill$1();
47114
- var Ee, Ce = 0, Pe = function(we) {
47114
+ var Ee, Ce = 0, Pe = function(Se) {
47115
47115
  for (var qe = _create_for_of_iterator_helper_loose(Y || []), ve; !(ve = qe()).done; ) {
47116
47116
  var Ae = ve.value;
47117
- Ae.eventProcessor && (we = Ae.eventProcessor(we));
47117
+ Ae.eventProcessor && (Se = Ae.eventProcessor(Se));
47118
47118
  }
47119
47119
  return O && // Disable packing events which will be emitted to parent frames.
47120
- !Se && (we = O(we)), we;
47120
+ !we && (Se = O(Se)), Se;
47121
47121
  };
47122
- wrappedEmit = function(we, qe) {
47123
- var ve, Ae = we;
47124
- if (Ae.timestamp = nowTimestamp(), (ve = mutationBuffers[0]) != null && ve.isFrozen() && Ae.type !== EventType.FullSnapshot && !(Ae.type === EventType.IncrementalSnapshot && Ae.data.source === IncrementalSource.Mutation) && mutationBuffers.forEach(function(St) {
47125
- return St.unfreeze();
47122
+ wrappedEmit = function(Se, qe) {
47123
+ var ve, Ae = Se;
47124
+ if (Ae.timestamp = nowTimestamp(), (ve = mutationBuffers[0]) != null && ve.isFrozen() && Ae.type !== EventType.FullSnapshot && !(Ae.type === EventType.IncrementalSnapshot && Ae.data.source === IncrementalSource.Mutation) && mutationBuffers.forEach(function(wt) {
47125
+ return wt.unfreeze();
47126
47126
  }), le)
47127
47127
  t == null || t(Pe(Ae), qe);
47128
- else if (Se) {
47128
+ else if (we) {
47129
47129
  var Xe = {
47130
47130
  type: "rrweb",
47131
47131
  event: Pe(Ae),
@@ -47140,37 +47140,37 @@ function record(e) {
47140
47140
  if (Ae.data.source === IncrementalSource.Mutation && Ae.data.isAttachIframe)
47141
47141
  return;
47142
47142
  Ce++;
47143
- var ht = s && Ce >= s, wt = i && Ae.timestamp - Ee.timestamp > i;
47144
- (ht || wt) && takeFullSnapshot$1(!0);
47143
+ var ht = s && Ce >= s, St = i && Ae.timestamp - Ee.timestamp > i;
47144
+ (ht || St) && takeFullSnapshot$1(!0);
47145
47145
  }
47146
47146
  };
47147
- for (var Ie = function(we) {
47147
+ for (var Ie = function(Se) {
47148
47148
  wrappedEmit({
47149
47149
  type: EventType.IncrementalSnapshot,
47150
47150
  data: _extends({
47151
47151
  source: IncrementalSource.Mutation
47152
- }, we)
47152
+ }, Se)
47153
47153
  });
47154
- }, je = function(we) {
47154
+ }, je = function(Se) {
47155
47155
  return wrappedEmit({
47156
47156
  type: EventType.IncrementalSnapshot,
47157
47157
  data: _extends({
47158
47158
  source: IncrementalSource.Scroll
47159
- }, we)
47159
+ }, Se)
47160
47160
  });
47161
- }, Qe = function(we) {
47161
+ }, Qe = function(Se) {
47162
47162
  return wrappedEmit({
47163
47163
  type: EventType.IncrementalSnapshot,
47164
47164
  data: _extends({
47165
47165
  source: IncrementalSource.CanvasMutation
47166
- }, we)
47166
+ }, Se)
47167
47167
  });
47168
- }, Ze = function(we) {
47168
+ }, Ze = function(Se) {
47169
47169
  return wrappedEmit({
47170
47170
  type: EventType.IncrementalSnapshot,
47171
47171
  data: _extends({
47172
47172
  source: IncrementalSource.AdoptedStyleSheet
47173
- }, we)
47173
+ }, Se)
47174
47174
  });
47175
47175
  }, _e = new StylesheetManager({
47176
47176
  mutationCb: Ie,
@@ -47225,8 +47225,8 @@ function record(e) {
47225
47225
  },
47226
47226
  mirror
47227
47227
  });
47228
- takeFullSnapshot$1 = function(we) {
47229
- if (we === void 0 && (we = !1), !!F) {
47228
+ takeFullSnapshot$1 = function(Se) {
47229
+ if (Se === void 0 && (Se = !1), !!F) {
47230
47230
  wrappedEmit({
47231
47231
  type: EventType.Meta,
47232
47232
  data: {
@@ -47234,7 +47234,7 @@ function record(e) {
47234
47234
  width: getWindowWidth(),
47235
47235
  height: getWindowHeight()
47236
47236
  }
47237
- }, we), _e.reset(), Le.init(), mutationBuffers.forEach(function(ve) {
47237
+ }, Se), _e.reset(), Le.init(), mutationBuffers.forEach(function(ve) {
47238
47238
  return ve.lock();
47239
47239
  });
47240
47240
  var qe = snapshot(document, {
@@ -47270,13 +47270,13 @@ function record(e) {
47270
47270
  node: qe,
47271
47271
  initialOffset: getWindowScroll(window)
47272
47272
  }
47273
- }, we), mutationBuffers.forEach(function(ve) {
47273
+ }, Se), mutationBuffers.forEach(function(ve) {
47274
47274
  return ve.unlock();
47275
47275
  }), document.adoptedStyleSheets && document.adoptedStyleSheets.length > 0 && _e.adoptStyleSheets(document.adoptedStyleSheets, mirror.getId(document));
47276
47276
  }
47277
47277
  };
47278
47278
  try {
47279
- var xe = [], be = function(we) {
47279
+ var xe = [], be = function(Se) {
47280
47280
  var qe;
47281
47281
  return callbackWrapper(initObservers)({
47282
47282
  mutationCb: Ie,
@@ -47376,7 +47376,7 @@ function record(e) {
47376
47376
  inlineImages: fe,
47377
47377
  userTriggeredOnInput: $,
47378
47378
  collectFonts: ae,
47379
- doc: we,
47379
+ doc: Se,
47380
47380
  maskInputFn: T,
47381
47381
  maskTextFn: I,
47382
47382
  keepIframeSrcFn: oe,
@@ -47409,9 +47409,9 @@ function record(e) {
47409
47409
  })) || []
47410
47410
  }, D);
47411
47411
  };
47412
- $e.addLoadListener(function(we) {
47412
+ $e.addLoadListener(function(Se) {
47413
47413
  try {
47414
- xe.push(be(we.contentDocument));
47414
+ xe.push(be(Se.contentDocument));
47415
47415
  } catch (qe) {
47416
47416
  console.warn(qe);
47417
47417
  }
@@ -47430,12 +47430,12 @@ function record(e) {
47430
47430
  data: {}
47431
47431
  }), V === "load" && Ne();
47432
47432
  }, window))), function() {
47433
- xe.forEach(function(we) {
47434
- return we();
47433
+ xe.forEach(function(Se) {
47434
+ return Se();
47435
47435
  }), nt.destroy(), recording = !1, unregisterErrorHandler();
47436
47436
  };
47437
- } catch (we) {
47438
- console.warn(we);
47437
+ } catch (Se) {
47438
+ console.warn(Se);
47439
47439
  }
47440
47440
  }
47441
47441
  record.addCustomEvent = function(e, t) {
@@ -51142,7 +51142,7 @@ var mixpanel = init_as_module(loadNoop), lib = {}, uaParser_min$1 = { exports: {
51142
51142
  function requireUaParser_min() {
51143
51143
  return hasRequiredUaParser_min || (hasRequiredUaParser_min = 1, function(e, t) {
51144
51144
  (function(i, s) {
51145
- var a = "1.0.41", o = "", l = "?", c = "function", u = "undefined", f = "object", d = "string", p = "major", m = "model", g = "name", y = "type", k = "vendor", A = "version", b = "architecture", S = "console", E = "mobile", C = "tablet", T = "smarttv", I = "wearable", D = "embedded", O = 500, j = "Amazon", q = "Apple", W = "ASUS", J = "BlackBerry", ee = "Browser", Q = "Chrome", F = "Edge", N = "Firefox", L = "Google", P = "Honor", M = "Huawei", B = "Lenovo", V = "LG", te = "Microsoft", $ = "Motorola", ne = "Nvidia", ae = "OnePlus", me = "Opera", fe = "OPPO", Y = "Samsung", ie = "Sharp", oe = "Sony", re = "Xiaomi", he = "Zebra", ce = "Facebook", le = "Chromium OS", Se = "Mac OS", Te = " Browser", ye = function(Le, xe) {
51145
+ var a = "1.0.41", o = "", l = "?", c = "function", u = "undefined", f = "object", d = "string", p = "major", m = "model", g = "name", y = "type", k = "vendor", A = "version", b = "architecture", S = "console", E = "mobile", C = "tablet", T = "smarttv", I = "wearable", D = "embedded", O = 500, j = "Amazon", q = "Apple", W = "ASUS", J = "BlackBerry", ee = "Browser", Q = "Chrome", F = "Edge", N = "Firefox", L = "Google", P = "Honor", M = "Huawei", B = "Lenovo", V = "LG", te = "Microsoft", $ = "Motorola", ne = "Nvidia", ae = "OnePlus", me = "Opera", fe = "OPPO", Y = "Samsung", ie = "Sharp", oe = "Sony", re = "Xiaomi", he = "Zebra", ce = "Facebook", le = "Chromium OS", we = "Mac OS", Te = " Browser", ye = function(Le, xe) {
51146
51146
  var be = {};
51147
51147
  for (var Ne in Le)
51148
51148
  xe[Ne] && xe[Ne].length % 2 === 0 ? be[Ne] = xe[Ne].concat(Le[Ne]) : be[Ne] = Le[Ne];
@@ -51161,12 +51161,12 @@ function requireUaParser_min() {
51161
51161
  if (typeof Le === d)
51162
51162
  return Le = Le.replace(/^\s\s*/, o), typeof xe === u ? Le : Le.substring(0, O);
51163
51163
  }, Qe = function(Le, xe) {
51164
- for (var be = 0, Ne, we, qe, ve, Ae, Xe; be < xe.length && !Ae; ) {
51165
- var ht = xe[be], wt = xe[be + 1];
51166
- for (Ne = we = 0; Ne < ht.length && !Ae && ht[Ne]; )
51164
+ for (var be = 0, Ne, Se, qe, ve, Ae, Xe; be < xe.length && !Ae; ) {
51165
+ var ht = xe[be], St = xe[be + 1];
51166
+ for (Ne = Se = 0; Ne < ht.length && !Ae && ht[Ne]; )
51167
51167
  if (Ae = ht[Ne++].exec(Le), Ae)
51168
- for (qe = 0; qe < wt.length; qe++)
51169
- Xe = Ae[++we], ve = wt[qe], typeof ve === f && ve.length > 0 ? ve.length === 2 ? typeof ve[1] == c ? this[ve[0]] = ve[1].call(this, Xe) : this[ve[0]] = ve[1] : ve.length === 3 ? typeof ve[1] === c && !(ve[1].exec && ve[1].test) ? this[ve[0]] = Xe ? ve[1].call(this, Xe, ve[2]) : s : this[ve[0]] = Xe ? Xe.replace(ve[1], ve[2]) : s : ve.length === 4 && (this[ve[0]] = Xe ? ve[3].call(this, Xe.replace(ve[1], ve[2])) : s) : this[ve] = Xe || s;
51168
+ for (qe = 0; qe < St.length; qe++)
51169
+ Xe = Ae[++Se], ve = St[qe], typeof ve === f && ve.length > 0 ? ve.length === 2 ? typeof ve[1] == c ? this[ve[0]] = ve[1].call(this, Xe) : this[ve[0]] = ve[1] : ve.length === 3 ? typeof ve[1] === c && !(ve[1].exec && ve[1].test) ? this[ve[0]] = Xe ? ve[1].call(this, Xe, ve[2]) : s : this[ve[0]] = Xe ? Xe.replace(ve[1], ve[2]) : s : ve.length === 4 && (this[ve[0]] = Xe ? ve[3].call(this, Xe.replace(ve[1], ve[2])) : s) : this[ve] = Xe || s;
51170
51170
  be += 2;
51171
51171
  }
51172
51172
  }, Ze = function(Le, xe) {
@@ -51178,10 +51178,10 @@ function requireUaParser_min() {
51178
51178
  } else if (Ce(xe[be], Le))
51179
51179
  return be === l ? s : be;
51180
51180
  return xe.hasOwnProperty("*") ? xe["*"] : Le;
51181
- }, _e = { "1.0": "/8", 1.2: "/1", 1.3: "/3", "2.0": "/412", "2.0.2": "/416", "2.0.3": "/417", "2.0.4": "/419", "?": "/" }, $e = { 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], [A, [g, "Chrome"]], [/edg(?:e|ios|a)?\/([\w\.]+)/i], [A, [g, "Edge"]], [/(opera mini)\/([-\w\.]+)/i, /(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i, /(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i], [g, A], [/opios[\/ ]+([\w\.]+)/i], [A, [g, me + " Mini"]], [/\bop(?:rg)?x\/([\w\.]+)/i], [A, [g, me + " GX"]], [/\bopr\/([\w\.]+)/i], [A, [g, me]], [/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i], [A, [g, "Baidu"]], [/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i], [A, [g, "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], [g, A], [/quark(?:pc)?\/([-\w\.]+)/i], [A, [g, "Quark"]], [/\bddg\/([\w\.]+)/i], [A, [g, "DuckDuckGo"]], [/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i], [A, [g, "UC" + ee]], [/microm.+\bqbcore\/([\w\.]+)/i, /\bqbcore\/([\w\.]+).+microm/i, /micromessenger\/([\w\.]+)/i], [A, [g, "WeChat"]], [/konqueror\/([\w\.]+)/i], [A, [g, "Konqueror"]], [/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i], [A, [g, "IE"]], [/ya(?:search)?browser\/([\w\.]+)/i], [A, [g, "Yandex"]], [/slbrowser\/([\w\.]+)/i], [A, [g, "Smart Lenovo " + ee]], [/(avast|avg)\/([\w\.]+)/i], [[g, /(.+)/, "$1 Secure " + ee], A], [/\bfocus\/([\w\.]+)/i], [A, [g, N + " Focus"]], [/\bopt\/([\w\.]+)/i], [A, [g, me + " Touch"]], [/coc_coc\w+\/([\w\.]+)/i], [A, [g, "Coc Coc"]], [/dolfin\/([\w\.]+)/i], [A, [g, "Dolphin"]], [/coast\/([\w\.]+)/i], [A, [g, me + " Coast"]], [/miuibrowser\/([\w\.]+)/i], [A, [g, "MIUI" + Te]], [/fxios\/([\w\.-]+)/i], [A, [g, N]], [/\bqihoobrowser\/?([\w\.]*)/i], [A, [g, "360"]], [/\b(qq)\/([\w\.]+)/i], [[g, /(.+)/, "$1Browser"], A], [/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i], [[g, /(.+)/, "$1" + Te], A], [/samsungbrowser\/([\w\.]+)/i], [A, [g, Y + " Internet"]], [/metasr[\/ ]?([\d\.]+)/i], [A, [g, "Sogou Explorer"]], [/(sogou)mo\w+\/([\d\.]+)/i], [[g, "Sogou Mobile"], A], [/(electron)\/([\w\.]+) safari/i, /(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i, /m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i], [g, A], [/(lbbrowser|rekonq)/i, /\[(linkedin)app\]/i], [g], [/ome\/([\w\.]+) \w* ?(iron) saf/i, /ome\/([\w\.]+).+qihu (360)[es]e/i], [A, g], [/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i], [[g, ce], A], [/(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], [g, A], [/\bgsa\/([\w\.]+) .*safari\//i], [A, [g, "GSA"]], [/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i], [A, [g, "TikTok"]], [/headlesschrome(?:\/([\w\.]+)| )/i], [A, [g, Q + " Headless"]], [/ wv\).+(chrome)\/([\w\.]+)/i], [[g, Q + " WebView"], A], [/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i], [A, [g, "Android " + ee]], [/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i], [g, A], [/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i], [A, [g, "Mobile Safari"]], [/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i], [A, g], [/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i], [g, [A, Ze, _e]], [/(webkit|khtml)\/([\w\.]+)/i], [g, A], [/(navigator|netscape\d?)\/([-\w\.]+)/i], [[g, "Netscape"], A], [/(wolvic|librewolf)\/([\w\.]+)/i], [g, A], [/mobile vr; rv:([\w\.]+)\).+firefox/i], [A, [g, N + " 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], [g, [A, /_/g, "."]], [/(cobalt)\/([\w\.]+)/i], [g, [A, /master.|lts./, ""]]], cpu: [[/\b((amd|x|x86[-_]?|wow|win)64)\b/i], [[b, "amd64"]], [/(ia32(?=;))/i, /\b((i[346]|x)86)(pc)?\b/i], [[b, "ia32"]], [/\b(aarch64|arm(v?[89]e?l?|_?64))\b/i], [[b, "arm64"]], [/\b(arm(v[67])?ht?n?[fl]p?)\b/i], [[b, "armhf"]], [/( (ce|mobile); ppc;|\/[\w\.]+arm\b)/i], [[b, "arm"]], [/((ppc|powerpc)(64)?)( mac|;|\))/i], [[b, /ower/, o, Pe]], [/ sun4\w[;\)]/i], [[b, "sparc"]], [/\b(avr32|ia64(?=;)|68k(?=\))|\barm(?=v([1-7]|[5-7]1)l?|;|eabi)|(irix|mips|sparc)(64)?\b|pa-risc)/i], [[b, Pe]]], 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, [k, Y], [y, 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, [k, Y], [y, E]], [/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i], [m, [k, q], [y, E]], [/\((ipad);[-\w\),; ]+apple/i, /applecoremedia\/[\w\.]+ \((ipad)/i, /\b(ipad)\d\d?,\d\d?[;\]].+ios/i], [m, [k, q], [y, C]], [/(macintosh);/i], [m, [k, q]], [/\b(sh-?[altvz]?\d\d[a-ekm]?)/i], [m, [k, ie], [y, E]], [/\b((?:brt|eln|hey2?|gdi|jdn)-a?[lnw]09|(?:ag[rm]3?|jdn2|kob2)-a?[lw]0[09]hn)(?: bui|\)|;)/i], [m, [k, P], [y, C]], [/honor([-\w ]+)[;\)]/i], [m, [k, P], [y, E]], [/\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, [k, M], [y, C]], [/(?:huawei)([-\w ]+)[;\)]/i, /\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i], [m, [k, M], [y, E]], [/oid[^\)]+; (2[\dbc]{4}(182|283|rp\w{2})[cgl]|m2105k81a?c)(?: bui|\))/i, /\b((?:red)?mi[-_ ]?pad[\w- ]*)(?: bui|\))/i], [[m, /_/g, " "], [k, re], [y, 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, " "], [k, re], [y, E]], [/; (\w+) bui.+ oppo/i, /\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i], [m, [k, fe], [y, E]], [/\b(opd2(\d{3}a?))(?: bui|\))/i], [m, [k, Ze, { OnePlus: ["304", "403", "203"], "*": fe }], [y, C]], [/vivo (\w+)(?: bui|\))/i, /\b(v[12]\d{3}\w?[at])(?: bui|;)/i], [m, [k, "Vivo"], [y, E]], [/\b(rmx[1-3]\d{3})(?: bui|;|\))/i], [m, [k, "Realme"], [y, E]], [/\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, [k, $], [y, E]], [/\b(mz60\d|xoom[2 ]{0,2}) build\//i], [m, [k, $], [y, C]], [/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i], [m, [k, V], [y, C]], [/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i, /\blg[-e;\/ ]+((?!browser|netcast|android tv|watch)\w+)/i, /\blg-?([\d\w]+) bui/i], [m, [k, V], [y, E]], [/(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, [k, B], [y, C]], [/(nokia) (t[12][01])/i], [k, m, [y, C]], [/(?:maemo|nokia).*(n900|lumia \d+|rm-\d+)/i, /nokia[-_ ]?(([-\w\. ]*))/i], [[m, /_/g, " "], [y, E], [k, "Nokia"]], [/(pixel (c|tablet))\b/i], [m, [k, L], [y, C]], [/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i], [m, [k, L], [y, E]], [/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, [k, oe], [y, E]], [/sony tablet [ps]/i, /\b(?:sony)?sgp\w+(?: bui|\))/i], [[m, "Xperia Tablet"], [k, oe], [y, C]], [/ (kb2005|in20[12]5|be20[12][59])\b/i, /(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i], [m, [k, ae], [y, E]], [/(alexa)webm/i, /(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i, /(kf[a-z]+)( bui|\)).+silk\//i], [m, [k, j], [y, C]], [/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i], [[m, /(.+)/g, "Fire Phone $1"], [k, j], [y, E]], [/(playbook);[-\w\),; ]+(rim)/i], [m, k, [y, C]], [/\b((?:bb[a-f]|st[hv])100-\d)/i, /\(bb10; (\w+)/i], [m, [k, J], [y, E]], [/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i], [m, [k, W], [y, C]], [/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i], [m, [k, W], [y, E]], [/(nexus 9)/i], [m, [k, "HTC"], [y, C]], [/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i, /(zte)[- ]([\w ]+?)(?: bui|\/|\))/i, /(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i], [k, [m, /_/g, " "], [y, E]], [/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, [k, "TCL"], [y, C]], [/(itel) ((\w+))/i], [[k, Pe], m, [y, Ze, { tablet: ["p10001l", "w7001"], "*": "mobile" }]], [/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i], [m, [k, "Acer"], [y, C]], [/droid.+; (m[1-5] note) bui/i, /\bmz-([-\w]{2,})/i], [m, [k, "Meizu"], [y, E]], [/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i], [m, [k, "Ulefone"], [y, E]], [/; (energy ?\w+)(?: bui|\))/i, /; energizer ([\w ]+)(?: bui|\))/i], [m, [k, "Energizer"], [y, E]], [/; cat (b35);/i, /; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i], [m, [k, "Cat"], [y, E]], [/((?:new )?andromax[\w- ]+)(?: bui|\))/i], [m, [k, "Smartfren"], [y, E]], [/droid.+; (a(?:015|06[35]|142p?))/i], [m, [k, "Nothing"], [y, E]], [/; (x67 5g|tikeasy \w+|ac[1789]\d\w+)( b|\))/i, /archos ?(5|gamepad2?|([\w ]*[t1789]|hello) ?\d+[\w ]*)( b|\))/i], [m, [k, "Archos"], [y, C]], [/archos ([\w ]+)( b|\))/i, /; (ac[3-6]\d\w{2,8})( b|\))/i], [m, [k, "Archos"], [y, E]], [/(imo) (tab \w+)/i, /(infinix) (x1101b?)/i], [k, m, [y, 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], [k, m, [y, E]], [/(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], [k, m, [y, C]], [/(surface duo)/i], [m, [k, te], [y, C]], [/droid [\d\.]+; (fp\du?)(?: b|\))/i], [m, [k, "Fairphone"], [y, E]], [/(u304aa)/i], [m, [k, "AT&T"], [y, E]], [/\bsie-(\w*)/i], [m, [k, "Siemens"], [y, E]], [/\b(rct\w+) b/i], [m, [k, "RCA"], [y, C]], [/\b(venue[\d ]{2,7}) b/i], [m, [k, "Dell"], [y, C]], [/\b(q(?:mv|ta)\w+) b/i], [m, [k, "Verizon"], [y, C]], [/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i], [m, [k, "Barnes & Noble"], [y, C]], [/\b(tm\d{3}\w+) b/i], [m, [k, "NuVision"], [y, C]], [/\b(k88) b/i], [m, [k, "ZTE"], [y, C]], [/\b(nx\d{3}j) b/i], [m, [k, "ZTE"], [y, E]], [/\b(gen\d{3}) b.+49h/i], [m, [k, "Swiss"], [y, E]], [/\b(zur\d{3}) b/i], [m, [k, "Swiss"], [y, C]], [/\b((zeki)?tb.*\b) b/i], [m, [k, "Zeki"], [y, C]], [/\b([yr]\d{2}) b/i, /\b(dragon[- ]+touch |dt)(\w{5}) b/i], [[k, "Dragon Touch"], m, [y, C]], [/\b(ns-?\w{0,9}) b/i], [m, [k, "Insignia"], [y, C]], [/\b((nxa|next)-?\w{0,9}) b/i], [m, [k, "NextBook"], [y, C]], [/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i], [[k, "Voice"], m, [y, E]], [/\b(lvtel\-)?(v1[12]) b/i], [[k, "LvTel"], m, [y, E]], [/\b(ph-1) /i], [m, [k, "Essential"], [y, E]], [/\b(v(100md|700na|7011|917g).*\b) b/i], [m, [k, "Envizen"], [y, C]], [/\b(trio[-\w\. ]+) b/i], [m, [k, "MachSpeed"], [y, C]], [/\btu_(1491) b/i], [m, [k, "Rotor"], [y, C]], [/((?:tegranote|shield t(?!.+d tv))[\w- ]*?)(?: b|\))/i], [m, [k, ne], [y, C]], [/(sprint) (\w+)/i], [k, m, [y, E]], [/(kin\.[onetw]{3})/i], [[m, /\./g, " "], [k, te], [y, E]], [/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i], [m, [k, he], [y, C]], [/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i], [m, [k, he], [y, E]], [/smart-tv.+(samsung)/i], [k, [y, T]], [/hbbtv.+maple;(\d+)/i], [[m, /^/, "SmartTV"], [k, Y], [y, T]], [/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i], [[k, V], [y, T]], [/(apple) ?tv/i], [k, [m, q + " TV"], [y, T]], [/crkey/i], [[m, Q + "cast"], [k, L], [y, T]], [/droid.+aft(\w+)( bui|\))/i], [m, [k, j], [y, T]], [/(shield \w+ tv)/i], [m, [k, ne], [y, T]], [/\(dtv[\);].+(aquos)/i, /(aquos-tv[\w ]+)\)/i], [m, [k, ie], [y, T]], [/(bravia[\w ]+)( bui|\))/i], [m, [k, oe], [y, T]], [/(mi(tv|box)-?\w+) bui/i], [m, [k, re], [y, T]], [/Hbbtv.*(technisat) (.*);/i], [k, m, [y, T]], [/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i, /hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i], [[k, je], [m, je], [y, T]], [/droid.+; ([\w- ]+) (?:android tv|smart[- ]?tv)/i], [m, [y, T]], [/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i], [[y, T]], [/(ouya)/i, /(nintendo) ([wids3utch]+)/i], [k, m, [y, S]], [/droid.+; (shield)( bui|\))/i], [m, [k, ne], [y, S]], [/(playstation \w+)/i], [m, [k, oe], [y, S]], [/\b(xbox(?: one)?(?!; xbox))[\); ]/i], [m, [k, te], [y, S]], [/\b(sm-[lr]\d\d[0156][fnuw]?s?|gear live)\b/i], [m, [k, Y], [y, I]], [/((pebble))app/i, /(asus|google|lg|oppo) ((pixel |zen)?watch[\w ]*)( bui|\))/i], [k, m, [y, I]], [/(ow(?:19|20)?we?[1-3]{1,3})/i], [m, [k, fe], [y, I]], [/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i], [m, [k, q], [y, I]], [/(opwwe\d{3})/i], [m, [k, ae], [y, I]], [/(moto 360)/i], [m, [k, $], [y, I]], [/(smartwatch 3)/i], [m, [k, oe], [y, I]], [/(g watch r)/i], [m, [k, V], [y, I]], [/droid.+; (wt63?0{2,3})\)/i], [m, [k, he], [y, I]], [/droid.+; (glass) \d/i], [m, [k, L], [y, I]], [/(pico) (4|neo3(?: link|pro)?)/i], [k, m, [y, I]], [/; (quest( \d| pro)?)/i], [m, [k, ce], [y, I]], [/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i], [k, [y, D]], [/(aeobc)\b/i], [m, [k, j], [y, D]], [/(homepod).+mac os/i], [m, [k, q], [y, D]], [/windows iot/i], [[y, D]], [/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i], [m, [y, E]], [/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i], [m, [y, C]], [/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i], [[y, C]], [/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i], [[y, E]], [/droid .+?; ([\w\. -]+)( bui|\))/i], [m, [k, "Generic"]]], engine: [[/windows.+ edge\/([\w\.]+)/i], [A, [g, F + "HTML"]], [/(arkweb)\/([\w\.]+)/i], [g, A], [/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i], [A, [g, "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], [g, A], [/ladybird\//i], [[g, "LibWeb"]], [/rv\:([\w\.]{1,9})\b.+(gecko)/i], [A, g]], os: [[/microsoft (windows) (vista|xp)/i], [g, A], [/(windows (?:phone(?: os)?|mobile|iot))[\/ ]?([\d\.\w ]*)/i], [g, [A, Ze, $e]], [/windows nt 6\.2; (arm)/i, /windows[\/ ]([ntce\d\. ]+\w)(?!.+xbox)/i, /(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i], [[A, Ze, $e], [g, "Windows"]], [/[adehimnop]{4,7}\b(?:.*os ([\w]+) like mac|; opera)/i, /(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i, /cfnetwork\/.+darwin/i], [[A, /_/g, "."], [g, "iOS"]], [/(mac os x) ?([\w\. ]*)/i, /(macintosh|mac_powerpc\b)(?!.+haiku)/i], [[g, Se], [A, /_/g, "."]], [/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i], [A, g], [/(ubuntu) ([\w\.]+) like android/i], [[g, /(.+)/, "$1 Touch"], A], [/(android|bada|blackberry|kaios|maemo|meego|openharmony|qnx|rim tablet os|sailfish|series40|symbian|tizen|webos)\w*[-\/; ]?([\d\.]*)/i], [g, A], [/\(bb(10);/i], [A, [g, J]], [/(?:symbian ?os|symbos|s60(?=;)|series ?60)[-\/ ]?([\w\.]*)/i], [A, [g, "Symbian"]], [/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i], [A, [g, N + " OS"]], [/web0s;.+rt(tv)/i, /\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i], [A, [g, "webOS"]], [/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i], [A, [g, "watchOS"]], [/crkey\/([\d\.]+)/i], [A, [g, Q + "cast"]], [/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i], [[g, le], A], [/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], [g, A], [/(sunos) ?([\w\.\d]*)/i], [[g, "Solaris"], A], [/((?:open)?solaris)[-\/ ]?([\w\.]*)/i, /(aix) ((\d)(?=\.|\)| )[\w\.])*/i, /\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i, /(unix) ?([\w\.]*)/i], [g, A]] }, Ye = function(Le, xe) {
51181
+ }, _e = { "1.0": "/8", 1.2: "/1", 1.3: "/3", "2.0": "/412", "2.0.2": "/416", "2.0.3": "/417", "2.0.4": "/419", "?": "/" }, $e = { 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], [A, [g, "Chrome"]], [/edg(?:e|ios|a)?\/([\w\.]+)/i], [A, [g, "Edge"]], [/(opera mini)\/([-\w\.]+)/i, /(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i, /(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i], [g, A], [/opios[\/ ]+([\w\.]+)/i], [A, [g, me + " Mini"]], [/\bop(?:rg)?x\/([\w\.]+)/i], [A, [g, me + " GX"]], [/\bopr\/([\w\.]+)/i], [A, [g, me]], [/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i], [A, [g, "Baidu"]], [/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i], [A, [g, "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], [g, A], [/quark(?:pc)?\/([-\w\.]+)/i], [A, [g, "Quark"]], [/\bddg\/([\w\.]+)/i], [A, [g, "DuckDuckGo"]], [/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i], [A, [g, "UC" + ee]], [/microm.+\bqbcore\/([\w\.]+)/i, /\bqbcore\/([\w\.]+).+microm/i, /micromessenger\/([\w\.]+)/i], [A, [g, "WeChat"]], [/konqueror\/([\w\.]+)/i], [A, [g, "Konqueror"]], [/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i], [A, [g, "IE"]], [/ya(?:search)?browser\/([\w\.]+)/i], [A, [g, "Yandex"]], [/slbrowser\/([\w\.]+)/i], [A, [g, "Smart Lenovo " + ee]], [/(avast|avg)\/([\w\.]+)/i], [[g, /(.+)/, "$1 Secure " + ee], A], [/\bfocus\/([\w\.]+)/i], [A, [g, N + " Focus"]], [/\bopt\/([\w\.]+)/i], [A, [g, me + " Touch"]], [/coc_coc\w+\/([\w\.]+)/i], [A, [g, "Coc Coc"]], [/dolfin\/([\w\.]+)/i], [A, [g, "Dolphin"]], [/coast\/([\w\.]+)/i], [A, [g, me + " Coast"]], [/miuibrowser\/([\w\.]+)/i], [A, [g, "MIUI" + Te]], [/fxios\/([\w\.-]+)/i], [A, [g, N]], [/\bqihoobrowser\/?([\w\.]*)/i], [A, [g, "360"]], [/\b(qq)\/([\w\.]+)/i], [[g, /(.+)/, "$1Browser"], A], [/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i], [[g, /(.+)/, "$1" + Te], A], [/samsungbrowser\/([\w\.]+)/i], [A, [g, Y + " Internet"]], [/metasr[\/ ]?([\d\.]+)/i], [A, [g, "Sogou Explorer"]], [/(sogou)mo\w+\/([\d\.]+)/i], [[g, "Sogou Mobile"], A], [/(electron)\/([\w\.]+) safari/i, /(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i, /m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i], [g, A], [/(lbbrowser|rekonq)/i, /\[(linkedin)app\]/i], [g], [/ome\/([\w\.]+) \w* ?(iron) saf/i, /ome\/([\w\.]+).+qihu (360)[es]e/i], [A, g], [/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i], [[g, ce], A], [/(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], [g, A], [/\bgsa\/([\w\.]+) .*safari\//i], [A, [g, "GSA"]], [/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i], [A, [g, "TikTok"]], [/headlesschrome(?:\/([\w\.]+)| )/i], [A, [g, Q + " Headless"]], [/ wv\).+(chrome)\/([\w\.]+)/i], [[g, Q + " WebView"], A], [/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i], [A, [g, "Android " + ee]], [/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i], [g, A], [/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i], [A, [g, "Mobile Safari"]], [/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i], [A, g], [/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i], [g, [A, Ze, _e]], [/(webkit|khtml)\/([\w\.]+)/i], [g, A], [/(navigator|netscape\d?)\/([-\w\.]+)/i], [[g, "Netscape"], A], [/(wolvic|librewolf)\/([\w\.]+)/i], [g, A], [/mobile vr; rv:([\w\.]+)\).+firefox/i], [A, [g, N + " 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], [g, [A, /_/g, "."]], [/(cobalt)\/([\w\.]+)/i], [g, [A, /master.|lts./, ""]]], cpu: [[/\b((amd|x|x86[-_]?|wow|win)64)\b/i], [[b, "amd64"]], [/(ia32(?=;))/i, /\b((i[346]|x)86)(pc)?\b/i], [[b, "ia32"]], [/\b(aarch64|arm(v?[89]e?l?|_?64))\b/i], [[b, "arm64"]], [/\b(arm(v[67])?ht?n?[fl]p?)\b/i], [[b, "armhf"]], [/( (ce|mobile); ppc;|\/[\w\.]+arm\b)/i], [[b, "arm"]], [/((ppc|powerpc)(64)?)( mac|;|\))/i], [[b, /ower/, o, Pe]], [/ sun4\w[;\)]/i], [[b, "sparc"]], [/\b(avr32|ia64(?=;)|68k(?=\))|\barm(?=v([1-7]|[5-7]1)l?|;|eabi)|(irix|mips|sparc)(64)?\b|pa-risc)/i], [[b, Pe]]], 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, [k, Y], [y, 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, [k, Y], [y, E]], [/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i], [m, [k, q], [y, E]], [/\((ipad);[-\w\),; ]+apple/i, /applecoremedia\/[\w\.]+ \((ipad)/i, /\b(ipad)\d\d?,\d\d?[;\]].+ios/i], [m, [k, q], [y, C]], [/(macintosh);/i], [m, [k, q]], [/\b(sh-?[altvz]?\d\d[a-ekm]?)/i], [m, [k, ie], [y, E]], [/\b((?:brt|eln|hey2?|gdi|jdn)-a?[lnw]09|(?:ag[rm]3?|jdn2|kob2)-a?[lw]0[09]hn)(?: bui|\)|;)/i], [m, [k, P], [y, C]], [/honor([-\w ]+)[;\)]/i], [m, [k, P], [y, E]], [/\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, [k, M], [y, C]], [/(?:huawei)([-\w ]+)[;\)]/i, /\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i], [m, [k, M], [y, E]], [/oid[^\)]+; (2[\dbc]{4}(182|283|rp\w{2})[cgl]|m2105k81a?c)(?: bui|\))/i, /\b((?:red)?mi[-_ ]?pad[\w- ]*)(?: bui|\))/i], [[m, /_/g, " "], [k, re], [y, 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, " "], [k, re], [y, E]], [/; (\w+) bui.+ oppo/i, /\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i], [m, [k, fe], [y, E]], [/\b(opd2(\d{3}a?))(?: bui|\))/i], [m, [k, Ze, { OnePlus: ["304", "403", "203"], "*": fe }], [y, C]], [/vivo (\w+)(?: bui|\))/i, /\b(v[12]\d{3}\w?[at])(?: bui|;)/i], [m, [k, "Vivo"], [y, E]], [/\b(rmx[1-3]\d{3})(?: bui|;|\))/i], [m, [k, "Realme"], [y, E]], [/\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, [k, $], [y, E]], [/\b(mz60\d|xoom[2 ]{0,2}) build\//i], [m, [k, $], [y, C]], [/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i], [m, [k, V], [y, C]], [/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i, /\blg[-e;\/ ]+((?!browser|netcast|android tv|watch)\w+)/i, /\blg-?([\d\w]+) bui/i], [m, [k, V], [y, E]], [/(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, [k, B], [y, C]], [/(nokia) (t[12][01])/i], [k, m, [y, C]], [/(?:maemo|nokia).*(n900|lumia \d+|rm-\d+)/i, /nokia[-_ ]?(([-\w\. ]*))/i], [[m, /_/g, " "], [y, E], [k, "Nokia"]], [/(pixel (c|tablet))\b/i], [m, [k, L], [y, C]], [/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i], [m, [k, L], [y, E]], [/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, [k, oe], [y, E]], [/sony tablet [ps]/i, /\b(?:sony)?sgp\w+(?: bui|\))/i], [[m, "Xperia Tablet"], [k, oe], [y, C]], [/ (kb2005|in20[12]5|be20[12][59])\b/i, /(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i], [m, [k, ae], [y, E]], [/(alexa)webm/i, /(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i, /(kf[a-z]+)( bui|\)).+silk\//i], [m, [k, j], [y, C]], [/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i], [[m, /(.+)/g, "Fire Phone $1"], [k, j], [y, E]], [/(playbook);[-\w\),; ]+(rim)/i], [m, k, [y, C]], [/\b((?:bb[a-f]|st[hv])100-\d)/i, /\(bb10; (\w+)/i], [m, [k, J], [y, E]], [/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i], [m, [k, W], [y, C]], [/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i], [m, [k, W], [y, E]], [/(nexus 9)/i], [m, [k, "HTC"], [y, C]], [/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i, /(zte)[- ]([\w ]+?)(?: bui|\/|\))/i, /(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i], [k, [m, /_/g, " "], [y, E]], [/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, [k, "TCL"], [y, C]], [/(itel) ((\w+))/i], [[k, Pe], m, [y, Ze, { tablet: ["p10001l", "w7001"], "*": "mobile" }]], [/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i], [m, [k, "Acer"], [y, C]], [/droid.+; (m[1-5] note) bui/i, /\bmz-([-\w]{2,})/i], [m, [k, "Meizu"], [y, E]], [/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i], [m, [k, "Ulefone"], [y, E]], [/; (energy ?\w+)(?: bui|\))/i, /; energizer ([\w ]+)(?: bui|\))/i], [m, [k, "Energizer"], [y, E]], [/; cat (b35);/i, /; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i], [m, [k, "Cat"], [y, E]], [/((?:new )?andromax[\w- ]+)(?: bui|\))/i], [m, [k, "Smartfren"], [y, E]], [/droid.+; (a(?:015|06[35]|142p?))/i], [m, [k, "Nothing"], [y, E]], [/; (x67 5g|tikeasy \w+|ac[1789]\d\w+)( b|\))/i, /archos ?(5|gamepad2?|([\w ]*[t1789]|hello) ?\d+[\w ]*)( b|\))/i], [m, [k, "Archos"], [y, C]], [/archos ([\w ]+)( b|\))/i, /; (ac[3-6]\d\w{2,8})( b|\))/i], [m, [k, "Archos"], [y, E]], [/(imo) (tab \w+)/i, /(infinix) (x1101b?)/i], [k, m, [y, 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], [k, m, [y, E]], [/(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], [k, m, [y, C]], [/(surface duo)/i], [m, [k, te], [y, C]], [/droid [\d\.]+; (fp\du?)(?: b|\))/i], [m, [k, "Fairphone"], [y, E]], [/(u304aa)/i], [m, [k, "AT&T"], [y, E]], [/\bsie-(\w*)/i], [m, [k, "Siemens"], [y, E]], [/\b(rct\w+) b/i], [m, [k, "RCA"], [y, C]], [/\b(venue[\d ]{2,7}) b/i], [m, [k, "Dell"], [y, C]], [/\b(q(?:mv|ta)\w+) b/i], [m, [k, "Verizon"], [y, C]], [/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i], [m, [k, "Barnes & Noble"], [y, C]], [/\b(tm\d{3}\w+) b/i], [m, [k, "NuVision"], [y, C]], [/\b(k88) b/i], [m, [k, "ZTE"], [y, C]], [/\b(nx\d{3}j) b/i], [m, [k, "ZTE"], [y, E]], [/\b(gen\d{3}) b.+49h/i], [m, [k, "Swiss"], [y, E]], [/\b(zur\d{3}) b/i], [m, [k, "Swiss"], [y, C]], [/\b((zeki)?tb.*\b) b/i], [m, [k, "Zeki"], [y, C]], [/\b([yr]\d{2}) b/i, /\b(dragon[- ]+touch |dt)(\w{5}) b/i], [[k, "Dragon Touch"], m, [y, C]], [/\b(ns-?\w{0,9}) b/i], [m, [k, "Insignia"], [y, C]], [/\b((nxa|next)-?\w{0,9}) b/i], [m, [k, "NextBook"], [y, C]], [/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i], [[k, "Voice"], m, [y, E]], [/\b(lvtel\-)?(v1[12]) b/i], [[k, "LvTel"], m, [y, E]], [/\b(ph-1) /i], [m, [k, "Essential"], [y, E]], [/\b(v(100md|700na|7011|917g).*\b) b/i], [m, [k, "Envizen"], [y, C]], [/\b(trio[-\w\. ]+) b/i], [m, [k, "MachSpeed"], [y, C]], [/\btu_(1491) b/i], [m, [k, "Rotor"], [y, C]], [/((?:tegranote|shield t(?!.+d tv))[\w- ]*?)(?: b|\))/i], [m, [k, ne], [y, C]], [/(sprint) (\w+)/i], [k, m, [y, E]], [/(kin\.[onetw]{3})/i], [[m, /\./g, " "], [k, te], [y, E]], [/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i], [m, [k, he], [y, C]], [/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i], [m, [k, he], [y, E]], [/smart-tv.+(samsung)/i], [k, [y, T]], [/hbbtv.+maple;(\d+)/i], [[m, /^/, "SmartTV"], [k, Y], [y, T]], [/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i], [[k, V], [y, T]], [/(apple) ?tv/i], [k, [m, q + " TV"], [y, T]], [/crkey/i], [[m, Q + "cast"], [k, L], [y, T]], [/droid.+aft(\w+)( bui|\))/i], [m, [k, j], [y, T]], [/(shield \w+ tv)/i], [m, [k, ne], [y, T]], [/\(dtv[\);].+(aquos)/i, /(aquos-tv[\w ]+)\)/i], [m, [k, ie], [y, T]], [/(bravia[\w ]+)( bui|\))/i], [m, [k, oe], [y, T]], [/(mi(tv|box)-?\w+) bui/i], [m, [k, re], [y, T]], [/Hbbtv.*(technisat) (.*);/i], [k, m, [y, T]], [/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i, /hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i], [[k, je], [m, je], [y, T]], [/droid.+; ([\w- ]+) (?:android tv|smart[- ]?tv)/i], [m, [y, T]], [/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i], [[y, T]], [/(ouya)/i, /(nintendo) ([wids3utch]+)/i], [k, m, [y, S]], [/droid.+; (shield)( bui|\))/i], [m, [k, ne], [y, S]], [/(playstation \w+)/i], [m, [k, oe], [y, S]], [/\b(xbox(?: one)?(?!; xbox))[\); ]/i], [m, [k, te], [y, S]], [/\b(sm-[lr]\d\d[0156][fnuw]?s?|gear live)\b/i], [m, [k, Y], [y, I]], [/((pebble))app/i, /(asus|google|lg|oppo) ((pixel |zen)?watch[\w ]*)( bui|\))/i], [k, m, [y, I]], [/(ow(?:19|20)?we?[1-3]{1,3})/i], [m, [k, fe], [y, I]], [/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i], [m, [k, q], [y, I]], [/(opwwe\d{3})/i], [m, [k, ae], [y, I]], [/(moto 360)/i], [m, [k, $], [y, I]], [/(smartwatch 3)/i], [m, [k, oe], [y, I]], [/(g watch r)/i], [m, [k, V], [y, I]], [/droid.+; (wt63?0{2,3})\)/i], [m, [k, he], [y, I]], [/droid.+; (glass) \d/i], [m, [k, L], [y, I]], [/(pico) (4|neo3(?: link|pro)?)/i], [k, m, [y, I]], [/; (quest( \d| pro)?)/i], [m, [k, ce], [y, I]], [/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i], [k, [y, D]], [/(aeobc)\b/i], [m, [k, j], [y, D]], [/(homepod).+mac os/i], [m, [k, q], [y, D]], [/windows iot/i], [[y, D]], [/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i], [m, [y, E]], [/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i], [m, [y, C]], [/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i], [[y, C]], [/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i], [[y, E]], [/droid .+?; ([\w\. -]+)( bui|\))/i], [m, [k, "Generic"]]], engine: [[/windows.+ edge\/([\w\.]+)/i], [A, [g, F + "HTML"]], [/(arkweb)\/([\w\.]+)/i], [g, A], [/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i], [A, [g, "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], [g, A], [/ladybird\//i], [[g, "LibWeb"]], [/rv\:([\w\.]{1,9})\b.+(gecko)/i], [A, g]], os: [[/microsoft (windows) (vista|xp)/i], [g, A], [/(windows (?:phone(?: os)?|mobile|iot))[\/ ]?([\d\.\w ]*)/i], [g, [A, Ze, $e]], [/windows nt 6\.2; (arm)/i, /windows[\/ ]([ntce\d\. ]+\w)(?!.+xbox)/i, /(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i], [[A, Ze, $e], [g, "Windows"]], [/[adehimnop]{4,7}\b(?:.*os ([\w]+) like mac|; opera)/i, /(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i, /cfnetwork\/.+darwin/i], [[A, /_/g, "."], [g, "iOS"]], [/(mac os x) ?([\w\. ]*)/i, /(macintosh|mac_powerpc\b)(?!.+haiku)/i], [[g, we], [A, /_/g, "."]], [/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i], [A, g], [/(ubuntu) ([\w\.]+) like android/i], [[g, /(.+)/, "$1 Touch"], A], [/(android|bada|blackberry|kaios|maemo|meego|openharmony|qnx|rim tablet os|sailfish|series40|symbian|tizen|webos)\w*[-\/; ]?([\d\.]*)/i], [g, A], [/\(bb(10);/i], [A, [g, J]], [/(?:symbian ?os|symbos|s60(?=;)|series ?60)[-\/ ]?([\w\.]*)/i], [A, [g, "Symbian"]], [/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i], [A, [g, N + " OS"]], [/web0s;.+rt(tv)/i, /\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i], [A, [g, "webOS"]], [/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i], [A, [g, "watchOS"]], [/crkey\/([\d\.]+)/i], [A, [g, Q + "cast"]], [/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i], [[g, le], A], [/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], [g, A], [/(sunos) ?([\w\.\d]*)/i], [[g, "Solaris"], A], [/((?:open)?solaris)[-\/ ]?([\w\.]*)/i, /(aix) ((\d)(?=\.|\)| )[\w\.])*/i, /\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i, /(unix) ?([\w\.]*)/i], [g, A]] }, Ye = function(Le, xe) {
51182
51182
  if (typeof Le === f && (xe = Le, Le = s), !(this instanceof Ye))
51183
51183
  return new Ye(Le, xe).getResult();
51184
- var be = typeof i !== u && i.navigator ? i.navigator : s, Ne = Le || (be && be.userAgent ? be.userAgent : o), we = be && be.userAgentData ? be.userAgentData : s, qe = xe ? ye(yt, xe) : yt, ve = be && be.userAgent == Ne;
51184
+ var be = typeof i !== u && i.navigator ? i.navigator : s, Ne = Le || (be && be.userAgent ? be.userAgent : o), Se = be && be.userAgentData ? be.userAgentData : s, qe = xe ? ye(yt, xe) : yt, ve = be && be.userAgent == Ne;
51185
51185
  return this.getBrowser = function() {
51186
51186
  var Ae = {};
51187
51187
  return Ae[g] = s, Ae[A] = s, Qe.call(Ae, Ne, qe.browser), Ae[p] = Ie(Ae[A]), ve && be && be.brave && typeof be.brave.isBrave == c && (Ae[g] = "Brave"), Ae;
@@ -51190,13 +51190,13 @@ function requireUaParser_min() {
51190
51190
  return Ae[b] = s, Qe.call(Ae, Ne, qe.cpu), Ae;
51191
51191
  }, this.getDevice = function() {
51192
51192
  var Ae = {};
51193
- return Ae[k] = s, Ae[m] = s, Ae[y] = s, Qe.call(Ae, Ne, qe.device), ve && !Ae[y] && we && we.mobile && (Ae[y] = E), ve && Ae[m] == "Macintosh" && be && typeof be.standalone !== u && be.maxTouchPoints && be.maxTouchPoints > 2 && (Ae[m] = "iPad", Ae[y] = C), Ae;
51193
+ return Ae[k] = s, Ae[m] = s, Ae[y] = s, Qe.call(Ae, Ne, qe.device), ve && !Ae[y] && Se && Se.mobile && (Ae[y] = E), ve && Ae[m] == "Macintosh" && be && typeof be.standalone !== u && be.maxTouchPoints && be.maxTouchPoints > 2 && (Ae[m] = "iPad", Ae[y] = C), Ae;
51194
51194
  }, this.getEngine = function() {
51195
51195
  var Ae = {};
51196
51196
  return Ae[g] = s, Ae[A] = s, Qe.call(Ae, Ne, qe.engine), Ae;
51197
51197
  }, this.getOS = function() {
51198
51198
  var Ae = {};
51199
- return Ae[g] = s, Ae[A] = s, Qe.call(Ae, Ne, qe.os), ve && !Ae[g] && we && we.platform && we.platform != "Unknown" && (Ae[g] = we.platform.replace(/chrome os/i, le).replace(/macos/i, Se)), Ae;
51199
+ return Ae[g] = s, Ae[A] = s, Qe.call(Ae, Ne, qe.os), ve && !Ae[g] && Se && Se.platform && Se.platform != "Unknown" && (Ae[g] = Se.platform.replace(/chrome os/i, le).replace(/macos/i, we)), Ae;
51200
51200
  }, this.getResult = function() {
51201
51201
  return { ua: this.getUA(), browser: this.getBrowser(), engine: this.getEngine(), os: this.getOS(), device: this.getDevice(), cpu: this.getCPU() };
51202
51202
  }, this.getUA = function() {
@@ -51563,7 +51563,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
51563
51563
  if (O0)
51564
51564
  return ce(O0, U, ke, it, Dt);
51565
51565
  }
51566
- var Se = function(H) {
51566
+ var we = function(H) {
51567
51567
  var U = H.type;
51568
51568
  return U === M.Mobile;
51569
51569
  }, Te = function(H) {
@@ -51623,7 +51623,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
51623
51623
  }, Ne = function(H) {
51624
51624
  var U = H.name;
51625
51625
  return U === B.Firefox;
51626
- }, we = function(H) {
51626
+ }, Se = function(H) {
51627
51627
  var U = H.name;
51628
51628
  return U === B.Chromium;
51629
51629
  }, qe = function(H) {
@@ -51641,10 +51641,10 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
51641
51641
  }, ht = function(H) {
51642
51642
  var U = H.name;
51643
51643
  return U === B.Opera;
51644
- }, wt = function(H) {
51644
+ }, St = function(H) {
51645
51645
  var U = H.name;
51646
51646
  return U === B.InternetExplorer || U === B.Ie;
51647
- }, St = function(H) {
51647
+ }, wt = function(H) {
51648
51648
  var U = H.name;
51649
51649
  return U === B.MIUI;
51650
51650
  }, Nt = function(H) {
@@ -51690,9 +51690,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
51690
51690
  isWearable: Pe(U),
51691
51691
  isEmbedded: je(U),
51692
51692
  isMobileSafari: Xe(de) || bt(),
51693
- isChromium: we(de),
51693
+ isChromium: Se(de),
51694
51694
  isMobile: ye(U) || bt(),
51695
- isMobileOnly: Se(U),
51695
+ isMobileOnly: we(U),
51696
51696
  isTablet: Te(U) || bt(),
51697
51697
  isBrowser: Ce(U),
51698
51698
  isDesktop: Ce(U),
@@ -51703,7 +51703,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
51703
51703
  isFirefox: Ne(de),
51704
51704
  isSafari: Ae(de),
51705
51705
  isOpera: ht(de),
51706
- isIE: wt(de),
51706
+ isIE: St(de),
51707
51707
  osVersion: Le(ke),
51708
51708
  osName: xe(ke),
51709
51709
  fullBrowserVersion: He(de),
@@ -51726,11 +51726,11 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
51726
51726
  isLegacyEdge: qe(de) && !kt(Dt),
51727
51727
  isWindows: yt(ke),
51728
51728
  isMacOs: Ye(ke),
51729
- isMIUI: St(de),
51729
+ isMIUI: wt(de),
51730
51730
  isSamsungBrowser: Nt(de)
51731
51731
  };
51732
51732
  }
51733
- var Z = Ee(c), ge = Ie(c), De = Pe(c), Ke = je(c), ut = Xe(o) || bt(), mt = we(o), et = ye(c) || bt(), tt = Se(c), Ot = Te(c) || bt(), At = Ce(c), Ct = Ce(c), Bt = $e(f), Zt = ct(f), Jt = nt(f) || bt(), jt = be(o), Er = Ne(o), Zr = Ae(o), sr = ht(o), i0 = wt(o), Yt = Le(f), s0 = xe(f), ar = He(o), d0 = dt(o), h0 = gt(o), p0 = Qe(c), wr = Ze(c), m0 = Tt(u), y0 = Ht(u), Sr = Ut(d), g0 = qe(o) || kt(d), Cr = ve(o), v0 = _e(c), x0 = Qt(), Yr = bt(), G = ze(), z = ir(), X = Et(), ue = kt(d), pe = qe(o) && !kt(d), Me = yt(f), Ve = Ye(f), Fe = St(o), ot = Nt(o), Ue = function(H) {
51733
+ var Z = Ee(c), ge = Ie(c), De = Pe(c), Ke = je(c), ut = Xe(o) || bt(), mt = Se(o), et = ye(c) || bt(), tt = we(c), Ot = Te(c) || bt(), At = Ce(c), Ct = Ce(c), Bt = $e(f), Zt = ct(f), Jt = nt(f) || bt(), jt = be(o), Er = Ne(o), Zr = Ae(o), sr = ht(o), i0 = St(o), Yt = Le(f), s0 = xe(f), ar = He(o), d0 = dt(o), h0 = gt(o), p0 = Qe(c), Sr = Ze(c), m0 = Tt(u), y0 = Ht(u), wr = Ut(d), g0 = qe(o) || kt(d), Cr = ve(o), v0 = _e(c), x0 = Qt(), Yr = bt(), G = ze(), z = ir(), X = Et(), ue = kt(d), pe = qe(o) && !kt(d), Me = yt(f), Ve = Ye(f), Fe = wt(o), ot = Nt(o), Ue = function(H) {
51734
51734
  if (!H || typeof H != "string") {
51735
51735
  console.error("No valid user agent string was provided");
51736
51736
  return;
@@ -51865,7 +51865,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
51865
51865
  var H = se || window.navigator.userAgent, U = l0(H), de = Lt(U);
51866
51866
  return [de, U];
51867
51867
  }
51868
- return lib.AndroidView = at, lib.BrowserTypes = B, lib.BrowserView = vt, lib.ConsoleView = lt, lib.CustomView = $t, lib.IEView = rt, lib.IOSView = Oe, lib.MobileOnlyView = Ge, lib.MobileView = Be, lib.OsTypes = V, lib.SmartTVView = Pt, lib.TabletView = Je, lib.WearableView = Rt, lib.WinPhoneView = It, lib.browserName = h0, lib.browserVersion = d0, lib.deviceDetect = le, lib.deviceType = v0, lib.engineName = m0, lib.engineVersion = y0, lib.fullBrowserVersion = ar, lib.getSelectorsByUserAgent = Ue, lib.getUA = Sr, lib.isAndroid = Bt, lib.isBrowser = At, lib.isChrome = jt, lib.isChromium = mt, lib.isConsole = ge, lib.isDesktop = Ct, lib.isEdge = g0, lib.isEdgeChromium = ue, lib.isElectron = X, lib.isEmbedded = Ke, lib.isFirefox = Er, lib.isIE = i0, lib.isIOS = Jt, lib.isIOS13 = x0, lib.isIPad13 = Yr, lib.isIPhone13 = G, lib.isIPod13 = z, lib.isLegacyEdge = pe, lib.isMIUI = Fe, lib.isMacOs = Ve, lib.isMobile = et, lib.isMobileOnly = tt, lib.isMobileSafari = ut, lib.isOpera = sr, lib.isSafari = Zr, lib.isSamsungBrowser = ot, lib.isSmartTV = Z, lib.isTablet = Ot, lib.isWearable = De, lib.isWinPhone = Zt, lib.isWindows = Me, lib.isYandex = Cr, lib.mobileModel = wr, lib.mobileVendor = p0, lib.osName = s0, lib.osVersion = Yt, lib.parseUserAgent = m, lib.setUserAgent = ne, lib.useDeviceData = l0, lib.useDeviceSelectors = Xr, lib.useMobileOrientation = o0, lib.withOrientationChange = a0, lib;
51868
+ return lib.AndroidView = at, lib.BrowserTypes = B, lib.BrowserView = vt, lib.ConsoleView = lt, lib.CustomView = $t, lib.IEView = rt, lib.IOSView = Oe, lib.MobileOnlyView = Ge, lib.MobileView = Be, lib.OsTypes = V, lib.SmartTVView = Pt, lib.TabletView = Je, lib.WearableView = Rt, lib.WinPhoneView = It, lib.browserName = h0, lib.browserVersion = d0, lib.deviceDetect = le, lib.deviceType = v0, lib.engineName = m0, lib.engineVersion = y0, lib.fullBrowserVersion = ar, lib.getSelectorsByUserAgent = Ue, lib.getUA = wr, lib.isAndroid = Bt, lib.isBrowser = At, lib.isChrome = jt, lib.isChromium = mt, lib.isConsole = ge, lib.isDesktop = Ct, lib.isEdge = g0, lib.isEdgeChromium = ue, lib.isElectron = X, lib.isEmbedded = Ke, lib.isFirefox = Er, lib.isIE = i0, lib.isIOS = Jt, lib.isIOS13 = x0, lib.isIPad13 = Yr, lib.isIPhone13 = G, lib.isIPod13 = z, lib.isLegacyEdge = pe, lib.isMIUI = Fe, lib.isMacOs = Ve, lib.isMobile = et, lib.isMobileOnly = tt, lib.isMobileSafari = ut, lib.isOpera = sr, lib.isSafari = Zr, lib.isSamsungBrowser = ot, lib.isSmartTV = Z, lib.isTablet = Ot, lib.isWearable = De, lib.isWinPhone = Zt, lib.isWindows = Me, lib.isYandex = Cr, lib.mobileModel = Sr, lib.mobileVendor = p0, lib.osName = s0, lib.osVersion = Yt, lib.parseUserAgent = m, lib.setUserAgent = ne, lib.useDeviceData = l0, lib.useDeviceSelectors = Xr, lib.useMobileOrientation = o0, lib.withOrientationChange = a0, lib;
51869
51869
  }
51870
51870
  var libExports = requireLib(), dist = {}, ga4 = {}, gtag = {}, hasRequiredGtag;
51871
51871
  function requireGtag() {
@@ -52817,12 +52817,10 @@ function throttleLeading(e, t) {
52817
52817
  let i = 0;
52818
52818
  return function(...s) {
52819
52819
  const a = Date.now();
52820
- return a - i >= t ? (i = a, e.apply(this, s)) : Promise.reject(
52821
- new Error(`Function is throttled. Next call available in ${t - (a - i)}ms`)
52822
- );
52820
+ 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));
52823
52821
  };
52824
52822
  }
52825
- var define_process_env_default = { NODE_ENV: '"production"', version: '"1.80.1"' };
52823
+ var define_process_env_default = { NODE_ENV: '"production"', version: '"1.81.1"' };
52826
52824
  init({
52827
52825
  dsn: "https://b52384170118e5a8b1f43ca653975198@o4509677809172480.ingest.de.sentry.io/4509677817364560",
52828
52826
  sendDefaultPii: !0
@@ -53080,63 +53078,67 @@ const CryptoSteamSDK = {
53080
53078
  },
53081
53079
  isAdEnabled: async () => (await makeRequest("ads/status", "GET")).enabled,
53082
53080
  requestAd: async (e = {}) => {
53083
- var l, c;
53081
+ var t, i;
53084
53082
  console.log("request ad");
53085
- const t = await CryptoSteamSDK.getProfile(), i = CryptoSteamSDK.getLaunchResponse(), s = countRequestAd === 1, a = (l = t.audiences) == null ? void 0 : l.includes("start_page_no_ads"), o = (c = t.audiences) == null ? void 0 : c.includes("start_page_few_ads");
53086
- if (s) {
53087
- if (console.log("launch request ad first"), i && i.is_ad_cooldown)
53088
- throw countRequestAd = ++countRequestAd, new Error(`Ad is in cooldown, last callback: ${i.is_ad_cooldown}`);
53089
- if (a)
53090
- throw countRequestAd = ++countRequestAd, new Error("start_page_no_ads");
53091
- if (o && (countRequestAd = ++countRequestAd, i && i.launched < 3))
53092
- throw new Error("start_page_few_ads");
53093
- }
53094
- if (t.ads_free)
53095
- throw new Error("The profile has ads disabled");
53096
- if (adType && mixpanel.track("ad_show_requested", {
53097
- game_id: window.game_id,
53098
- game_title: window.game_title,
53099
- game_url: window.location.origin + window.location.pathname,
53100
- ad_type: adType
53101
- }), adType === "tma")
53102
- try {
53103
- return await showAd(e), countRequestAd = ++countRequestAd, !0;
53104
- } catch (u) {
53105
- throw console.error("Error showing ad", u), u;
53083
+ try {
53084
+ const s = await CryptoSteamSDK.getProfile(), a = CryptoSteamSDK.getLaunchResponse(), o = countRequestAd === 1, l = (t = s.audiences) == null ? void 0 : t.includes("start_page_no_ads"), c = (i = s.audiences) == null ? void 0 : i.includes("start_page_few_ads");
53085
+ if (o) {
53086
+ if (console.log("launch request ad first"), a && a.is_ad_cooldown)
53087
+ return countRequestAd = ++countRequestAd, console.log(`Ad is in cooldown, last callback: ${a.is_ad_cooldown}`), !1;
53088
+ if (l)
53089
+ return countRequestAd = ++countRequestAd, console.log("start_page_no_ads"), !1;
53090
+ if (c && (countRequestAd = ++countRequestAd, a && a.launched < 3))
53091
+ return console.log("start_page_few_ads"), !1;
53092
+ }
53093
+ if (s.ads_free)
53094
+ return console.log("The profile has ads disabled"), !1;
53095
+ if (adType && mixpanel.track("ad_show_requested", {
53096
+ game_id: window.game_id,
53097
+ game_title: window.game_title,
53098
+ game_url: window.location.origin + window.location.pathname,
53099
+ ad_type: adType
53100
+ }), adType === "tma")
53101
+ try {
53102
+ return await showAd(e), countRequestAd = ++countRequestAd, !0;
53103
+ } catch (u) {
53104
+ return console.error("Error showing ad", u), !1;
53105
+ }
53106
+ if (adType === "monetag") {
53107
+ const f = `${(await CryptoSteamSDK.getProfile()).game_id}`;
53108
+ return countRequestAd = ++countRequestAd, showMonetagAdWithTimeout(f);
53106
53109
  }
53107
- if (adType === "monetag") {
53108
- const f = `${(await CryptoSteamSDK.getProfile()).game_id}`;
53109
- return countRequestAd = ++countRequestAd, showMonetagAdWithTimeout(f);
53110
+ return adType === "adsgram" ? (countRequestAd = ++countRequestAd, showAdsgramAdWithTimeout()) : (console.log("Ad network not initialized or not supported"), !1);
53111
+ } catch (s) {
53112
+ return console.error("Error in requestAd:", s), !1;
53110
53113
  }
53111
- if (adType === "adsgram")
53112
- return countRequestAd = ++countRequestAd, showAdsgramAdWithTimeout();
53113
- throw new Error("Ad network not initialized or not supported");
53114
53114
  },
53115
53115
  requestRewardAd: async (e = {}) => {
53116
- const t = CryptoSteamSDK.getLaunchResponse();
53117
- if (t && t.launched <= 1)
53118
- throw new Error("ads-1: first_launch");
53119
- if (mixpanel.track("ad_show_requested", {
53120
- game_id: window.game_id,
53121
- game_title: window.game_title,
53122
- game_url: window.location.origin + window.location.pathname,
53123
- ad_type: adType
53124
- }), adType === "tma")
53125
- try {
53126
- const i = await showAd(e);
53127
- await delay(1e3);
53128
- const s = await checkAdStatus(i.id);
53129
- return s === "SHOWED" || s === "CLICKED";
53130
- } catch (i) {
53131
- throw console.error("Error showing reward ad", i), i;
53132
- }
53133
- if (adType === "monetag") {
53134
- const s = `${(await CryptoSteamSDK.getProfile()).game_id}`;
53135
- return showMonetagAdWithTimeout(s);
53116
+ try {
53117
+ const t = CryptoSteamSDK.getLaunchResponse();
53118
+ if (t && t.launched <= 1)
53119
+ return console.log("ads-1: first_launch"), !1;
53120
+ if (mixpanel.track("ad_show_requested", {
53121
+ game_id: window.game_id,
53122
+ game_title: window.game_title,
53123
+ game_url: window.location.origin + window.location.pathname,
53124
+ ad_type: adType
53125
+ }), adType === "tma")
53126
+ try {
53127
+ const i = await showAd(e);
53128
+ await delay(1e3);
53129
+ const s = await checkAdStatus(i.id);
53130
+ return s === "SHOWED" || s === "CLICKED";
53131
+ } catch (i) {
53132
+ return console.error("Error showing reward ad", i), !1;
53133
+ }
53134
+ if (adType === "monetag") {
53135
+ const s = `${(await CryptoSteamSDK.getProfile()).game_id}`;
53136
+ return showMonetagAdWithTimeout(s);
53137
+ }
53138
+ return adType === "adsgram" ? showAdsgramAdWithTimeout() : (console.log("Ad network not initialized or not supported"), !1);
53139
+ } catch (t) {
53140
+ return console.error("Error in requestRewardAd:", t), !1;
53136
53141
  }
53137
- if (adType === "adsgram")
53138
- return showAdsgramAdWithTimeout();
53139
- throw new Error("Ad network not initialized or not supported");
53140
53142
  },
53141
53143
  getProfile: async () => await makeRequest("profile", "GET"),
53142
53144
  getBalance: async () => await makeRequest("balance", "GET"),
@@ -53289,23 +53291,13 @@ const CryptoSteamSDK = {
53289
53291
  };
53290
53292
  CryptoSteamSDK.requestAd = throttleLeading(CryptoSteamSDK.requestAd.bind(CryptoSteamSDK), 1e4);
53291
53293
  async function showMonetagAdWithTimeout(e) {
53292
- if (console.log("showMonetagAdWithTimeout", monetagShowAdFnName), !monetagShowAdFnName)
53293
- throw mixpanel.track("ad_show_error", {
53294
- message: "Monetag ad function name not found",
53295
- game_id: window.game_id,
53296
- game_title: window.game_title,
53297
- game_url: window.location.origin + window.location.pathname,
53298
- ad_type: "monetag"
53299
- }), new Error("Monetag ad function name not found");
53300
- if (typeof window[monetagShowAdFnName] != "function")
53301
- throw mixpanel.track("ad_show_error", {
53302
- message: "Monetag ad function not found on window object",
53303
- game_id: window.game_id,
53304
- game_title: window.game_title,
53305
- game_url: window.location.origin + window.location.pathname,
53306
- ad_type: "monetag"
53307
- }), new Error(`Monetag ad function "${monetagShowAdFnName}" not found on window object`);
53308
- return new Promise((i, s) => {
53294
+ return console.log("showMonetagAdWithTimeout", monetagShowAdFnName), monetagShowAdFnName ? typeof window[monetagShowAdFnName] != "function" ? (mixpanel.track("ad_show_error", {
53295
+ message: "Monetag ad function not found on window object",
53296
+ game_id: window.game_id,
53297
+ game_title: window.game_title,
53298
+ game_url: window.location.origin + window.location.pathname,
53299
+ ad_type: "monetag"
53300
+ }), !1) : new Promise((i, s) => {
53309
53301
  const a = document.createElement("iframe");
53310
53302
  a.style.display = "none", document.body.appendChild(a);
53311
53303
  const o = () => {
@@ -53317,7 +53309,7 @@ async function showMonetagAdWithTimeout(e) {
53317
53309
  game_title: window.game_title,
53318
53310
  game_url: window.location.origin + window.location.pathname,
53319
53311
  ad_type: "monetag"
53320
- }), s(new Error("Monetag ad request timed out after 5 seconds"));
53312
+ }), i(!1);
53321
53313
  }, 5e3), c = (f) => {
53322
53314
  f.source === a.contentWindow && (f.data.type === "monetag_ad_success" ? (o(), console.log("Monetag ad watched"), mixpanel.track("ad_show_success", {
53323
53315
  game_id: window.game_id,
@@ -53330,7 +53322,7 @@ async function showMonetagAdWithTimeout(e) {
53330
53322
  game_title: window.game_title,
53331
53323
  game_url: window.location.origin + window.location.pathname,
53332
53324
  ad_type: "monetag"
53333
- }), s(new Error("Ad failed or was skipped"))) : f.data.type === "monetag_ad_started" && (clearTimeout(l), mixpanel.track("ad_show_started", {
53325
+ }), i(!1)) : f.data.type === "monetag_ad_started" && (clearTimeout(l), mixpanel.track("ad_show_started", {
53334
53326
  game_id: window.game_id,
53335
53327
  game_title: window.game_title,
53336
53328
  game_url: window.location.origin + window.location.pathname,
@@ -53372,31 +53364,37 @@ async function showMonetagAdWithTimeout(e) {
53372
53364
  }
53373
53365
  <\/script>
53374
53366
  `;
53375
- a.contentWindow ? (a.contentWindow.document.open(), a.contentWindow.document.write(u), a.contentWindow.document.close()) : (o(), s(new Error("Failed to access iframe content window")));
53376
- });
53367
+ a.contentWindow ? (a.contentWindow.document.open(), a.contentWindow.document.write(u), a.contentWindow.document.close()) : (o(), i(!1));
53368
+ }) : (mixpanel.track("ad_show_error", {
53369
+ message: "Monetag ad function name not found",
53370
+ game_id: window.game_id,
53371
+ game_title: window.game_title,
53372
+ game_url: window.location.origin + window.location.pathname,
53373
+ ad_type: "monetag"
53374
+ }), !1);
53377
53375
  }
53378
53376
  async function showAdsgramAdWithTimeout() {
53379
53377
  if (!adsgramAdController)
53380
- throw mixpanel.track("ad_show_error", {
53378
+ return mixpanel.track("ad_show_error", {
53381
53379
  message: "Adsgram Ad Controller not available",
53382
53380
  game_id: window.game_id,
53383
53381
  game_title: window.game_title,
53384
53382
  game_url: window.location.origin + window.location.pathname,
53385
53383
  ad_type: "adsgram"
53386
- }), new Error("Adsgram Ad Controller not available");
53384
+ }), !1;
53387
53385
  const e = adsgramAdController;
53388
- return new Promise((t, i) => {
53389
- const s = setTimeout(() => {
53386
+ return new Promise((t) => {
53387
+ const i = setTimeout(() => {
53390
53388
  mixpanel.track("ad_show_error", {
53391
53389
  message: "Adsgram ad request timed out after 5 seconds",
53392
53390
  game_id: window.game_id,
53393
53391
  game_title: window.game_title,
53394
53392
  game_url: window.location.origin + window.location.pathname,
53395
53393
  ad_type: "adsgram"
53396
- }), i(new Error("Adsgram ad request timed out after 5 seconds"));
53394
+ }), t(!1);
53397
53395
  }, 5e3);
53398
- e.show().then((a) => {
53399
- clearTimeout(s), a.done ? (console.log("Adsgram ad finished successfully.", a), mixpanel.track("ad_show_success", {
53396
+ e.show().then((s) => {
53397
+ clearTimeout(i), s.done ? (console.log("Adsgram ad finished successfully.", s), mixpanel.track("ad_show_success", {
53400
53398
  game_id: window.game_id,
53401
53399
  game_title: window.game_title,
53402
53400
  game_url: window.location.origin + window.location.pathname,
@@ -53407,9 +53405,9 @@ async function showAdsgramAdWithTimeout() {
53407
53405
  game_title: window.game_title,
53408
53406
  game_url: window.location.origin + window.location.pathname,
53409
53407
  ad_type: "adsgram"
53410
- }), console.log("Adsgram ad was not completed.", a), i(new Error(a.description || "Ad not completed.")));
53411
- }).catch((a) => {
53412
- clearTimeout(s), console.error("Adsgram ad error", a), i(new Error(a.description || "Adsgram ad error"));
53408
+ }), console.log("Adsgram ad was not completed.", s), t(!1));
53409
+ }).catch((s) => {
53410
+ clearTimeout(i), console.error("Adsgram ad error", s), t(!1);
53413
53411
  });
53414
53412
  });
53415
53413
  }