@feedmepos/mf-payment 1.10.7-dev → 1.10.7

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.
Files changed (91) hide show
  1. package/dist/{Actions.vue_vue_type_script_setup_true_lang-CDTMsbYv.js → Actions.vue_vue_type_script_setup_true_lang-Cb4w7Its.js} +1 -1
  2. package/dist/{AdminBusinessSelector.vue_vue_type_script_setup_true_lang-BXw-ZGes.js → AdminBusinessSelector.vue_vue_type_script_setup_true_lang-B_-olj-A.js} +3 -3
  3. package/dist/AdminRestaurantSelector.vue_vue_type_script_setup_true_lang-KddyORH2.js +505 -0
  4. package/dist/{Chargeback-BqXwYiuk.js → Chargeback-B5MXERko.js} +5 -5
  5. package/dist/{DocumentViewer.vue_vue_type_script_setup_true_lang-BMBTecYJ.js → DocumentViewer.vue_vue_type_script_setup_true_lang-DNrsl1TX.js} +1 -1
  6. package/dist/{ExternalTerminal-CPqZXXJN.js → ExternalTerminal-bjMJ7qr-.js} +6 -6
  7. package/dist/{OnboardForm-Dc99b9Y9.js → OnboardForm-BwFlXqV5.js} +6 -6
  8. package/dist/{OnboardForm-CzW4p_2d.js → OnboardForm-CE0weADC.js} +6 -6
  9. package/dist/{OnboardSubmission-DE1LorIG.js → OnboardSubmission-2s5PtLcm.js} +3 -3
  10. package/dist/{OnboardSubmission-CW0mAt6g.js → OnboardSubmission-C60-dPdV.js} +6 -6
  11. package/dist/{PayoutAccount-CcxQG44I.js → PayoutAccount-DnE00Tpx.js} +5 -5
  12. package/dist/{PayoutAccount-BaxlEkSz.js → PayoutAccount-PGN4vUiE.js} +7 -7
  13. package/dist/{PayoutAccountSetting-BjGT7oIq.js → PayoutAccountSetting-UxgmC_It.js} +6 -6
  14. package/dist/{Restaurant-Dubtx0qm.js → Restaurant-DWs8l6IN.js} +4 -4
  15. package/dist/{RestaurantSetting-CaV9iLhj.js → RestaurantSetting-CghN3Qij.js} +3 -3
  16. package/dist/{Settlement-Dk2vmfTC.js → Settlement-BZG0nEhU.js} +4 -4
  17. package/dist/{Settlement-BpI9rV6S.js → Settlement-DSAWgf1q.js} +3 -3
  18. package/dist/{SettlementTransactions-DUKUIBGb.js → SettlementTransactions-5l9xe_rQ.js} +5 -5
  19. package/dist/{SettlementTransactions-L1UnE3Dz.js → SettlementTransactions-dSH6mKX9.js} +5 -5
  20. package/dist/{Status.vue_vue_type_script_setup_true_lang-CBq4EZkF.js → Status.vue_vue_type_script_setup_true_lang-CSz0sfMv.js} +1 -1
  21. package/dist/{Terminal-DA4Y3glc.js → Terminal-CU70aAqI.js} +6 -6
  22. package/dist/TerminalSetting-Bc6HJqCW.js +4521 -0
  23. package/dist/{Transaction-BoYZtvk4.js → Transaction-9yHZiRAp.js} +10 -10
  24. package/dist/{Transaction-eJhtXrtB.js → Transaction-CHL7HVtl.js} +19 -20
  25. package/dist/{TransactionOld-CpcwSOPc.js → TransactionOld-Dk_5TVXm.js} +7 -7
  26. package/dist/{TransactionStatus.vue_vue_type_script_setup_true_lang-uOyBTSIr.js → TransactionStatus.vue_vue_type_script_setup_true_lang-D4A7Hfk7.js} +1 -1
  27. package/dist/api/terminal/index.d.ts +0 -1
  28. package/dist/{app-D6AC4Zp8.js → app-WOQvK6eu.js} +353 -389
  29. package/dist/app.js +1 -1
  30. package/dist/assets-B_Ilda1K.js +96 -0
  31. package/dist/{grafana-Ci9Ouxi7.js → grafana-BqnbcwyU.js} +1 -1
  32. package/dist/{index-DGXTnrw9.js → index--Svzj_Uq.js} +1 -1
  33. package/dist/{index-BexuYVa4.js → index-BPTPINow.js} +1 -1
  34. package/dist/index-BR7n0dkV.js +63 -0
  35. package/dist/{index-DJAcIsfC.js → index-BRCt0Wjb.js} +3030 -3073
  36. package/dist/{index-UvQbjo9b.js → index-BSUOKl_R.js} +1 -1
  37. package/dist/{index-Dyq-uY9m.js → index-Cc7BGx40.js} +1 -1
  38. package/dist/{index-CQWvP-R5.js → index-Cwbpxr-3.js} +1 -1
  39. package/dist/{index-YRTDpAkL.js → index-DiYIJH8n.js} +2 -2
  40. package/dist/{index-C1rqQDv4.js → index-Jo4g2Fvl.js} +1 -1
  41. package/dist/{index-B1Q7VAq8.js → index-XucAJsGV.js} +1 -1
  42. package/dist/{index.vue_vue_type_script_setup_true_lang-C1d0q7uA.js → index.vue_vue_type_script_setup_true_lang-CQwRJloj.js} +1 -1
  43. package/dist/{onboard-submission-Dfp-461W.js → onboard-submission-B7IRbUGm.js} +1 -1
  44. package/dist/package.json +2 -2
  45. package/dist/{payout-account-BziG4FgY.js → payout-account-v0EWhJ79.js} +3 -3
  46. package/dist/style.css +1 -1
  47. package/dist/tsconfig.app.tsbuildinfo +1 -1
  48. package/dist/views/admin/payout-account/tabs/PaymentChannel.vue.d.ts +4 -4
  49. package/dist/views/admin/payout-account/tabs/PaymentGateway.vue.d.ts +4 -4
  50. package/dist/views/admin/payout-account/tabs/TokenGateway.vue.d.ts +4 -4
  51. package/dist/views/admin/payout-account/tabs/gateway/AdyenGateway.vue.d.ts +4 -4
  52. package/dist/views/admin/payout-account/tabs/gateway/BeamGateway.vue.d.ts +2 -2
  53. package/dist/views/admin/payout-account/tabs/gateway/DigioGateway.vue.d.ts +2 -2
  54. package/dist/views/admin/payout-account/tabs/gateway/FiuuGateway.vue.d.ts +4 -4
  55. package/dist/views/admin/payout-account/tabs/gateway/KsherGateway.vue.d.ts +4 -4
  56. package/dist/views/admin/payout-account/tabs/gateway/MacauPassGateway.vue.d.ts +4 -4
  57. package/dist/views/admin/payout-account/tabs/gateway/TyroGateway.vue.d.ts +2 -2
  58. package/dist/views/admin/payout-account/tabs/token/ApplePayToken.vue.d.ts +2 -2
  59. package/dist/views/admin/payout-account/tabs/token/GooglePayToken.vue.d.ts +2 -2
  60. package/dist/views/admin/restaurant/tabs/gateway/AdyenGateway.vue.d.ts +4 -4
  61. package/dist/views/admin/restaurant/tabs/gateway/BeamGateway.vue.d.ts +4 -4
  62. package/dist/views/admin/restaurant/tabs/gateway/DigioGateway.vue.d.ts +4 -4
  63. package/dist/views/admin/restaurant/tabs/gateway/FiuuGateway.vue.d.ts +8 -8
  64. package/dist/views/admin/restaurant/tabs/gateway/GhlGateway.vue.d.ts +8 -8
  65. package/dist/views/admin/restaurant/tabs/gateway/GrabGateway.vue.d.ts +4 -4
  66. package/dist/views/admin/restaurant/tabs/gateway/KsherGateway.vue.d.ts +6 -6
  67. package/dist/views/admin/restaurant/tabs/gateway/MacauPassGateway.vue.d.ts +6 -6
  68. package/dist/views/admin/restaurant/tabs/gateway/MaybankGateway.vue.d.ts +6 -6
  69. package/dist/views/admin/restaurant/tabs/gateway/MonetapayGateway.vue.d.ts +6 -6
  70. package/dist/views/admin/restaurant/tabs/gateway/RevenueMonsterGateway.vue.d.ts +8 -8
  71. package/dist/views/admin/restaurant/tabs/gateway/SoftSpaceGateway.vue.d.ts +6 -6
  72. package/package.json +2 -2
  73. package/dist/AdminRestaurantSelector.vue_vue_type_script_setup_true_lang-DOSmgkgi.js +0 -135
  74. package/dist/PaymentCheckout-Dak0HEN-.js +0 -1939
  75. package/dist/TerminalSetting-ChWAOcmg.js +0 -2779
  76. package/dist/TerminalTemplate-CPL-E4c2.js +0 -322
  77. package/dist/TerminalTemplateSetting-BTZZ_5hn.js +0 -262
  78. package/dist/api/terminal-template/index.d.ts +0 -15
  79. package/dist/assets-he2Gzvfg.js +0 -96
  80. package/dist/index-BDQw2qyD.js +0 -71
  81. package/dist/index-rlCqwp1w.js +0 -43
  82. package/dist/useQuery-Bjhr1nB7.js +0 -375
  83. package/dist/views/admin/terminal/TerminalApplyTemplateDialog.vue.d.ts +0 -6
  84. package/dist/views/admin/terminal/TerminalSaveTemplateDialog.vue.d.ts +0 -2
  85. package/dist/views/admin/terminal-template/TerminalTemplate.vue.d.ts +0 -2
  86. package/dist/views/admin/terminal-template/TerminalTemplateSetting.vue.d.ts +0 -12
  87. package/dist/views/admin/terminal-template/TerminalTemplateSideSheet.vue.d.ts +0 -174
  88. package/dist/views/admin/terminal-template/cell/Actions.vue.d.ts +0 -12
  89. package/dist/views/admin/terminal-template/cell/Default.vue.d.ts +0 -5
  90. package/dist/views/admin/terminal-template/tabs/EcrGateways.vue.d.ts +0 -104
  91. package/dist/views/admin/terminal-template/tabs/Information.vue.d.ts +0 -95
@@ -3,7 +3,7 @@ var rr = (t) => {
3
3
  };
4
4
  var dn = (t, e, n) => e.has(t) || rr("Cannot " + n);
5
5
  var h = (t, e, n) => (dn(t, e, "read from private field"), n ? n.call(t) : e.get(t)), G = (t, e, n) => e.has(t) ? rr("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(t) : e.set(t, n), D = (t, e, n, r) => (dn(t, e, "write to private field"), r ? r.call(t, n) : e.set(t, n), n), z = (t, e, n) => (dn(t, e, "access private method"), n);
6
- var xt = (t, e, n, r) => ({
6
+ var Vt = (t, e, n, r) => ({
7
7
  set _(s) {
8
8
  D(t, e, s, n);
9
9
  },
@@ -12,9 +12,9 @@ var xt = (t, e, n, r) => ({
12
12
  }
13
13
  });
14
14
  import { routes as Ri, i18nMessages as qi } from "@feedmepos/mf-financing";
15
- import { isRef as qn, ref as St, shallowRef as Ni, watchEffect as Hi, computed as Nn, h as vn, defineComponent as tn, unref as ge, openBlock as nn, createBlock as Hn, renderSlot as Qi, createCommentVNode as Xi, createElementBlock as Si, createElementVNode as Ke, toDisplayString as sr, nextTick as Ui, defineAsyncComponent as _r, watch as $r, resolveComponent as es, provide as Wi, onMounted as zi, onBeforeMount as Zi, onUnmounted as Li } from "vue";
15
+ import { isRef as qn, ref as Xt, shallowRef as Ni, watchEffect as Hi, computed as Nn, h as wn, defineComponent as en, unref as ge, openBlock as tn, createBlock as Hn, renderSlot as Qi, createCommentVNode as Xi, createElementBlock as Si, createElementVNode as Ke, toDisplayString as sr, nextTick as Ui, defineAsyncComponent as _r, watch as $r, resolveComponent as es, provide as Wi, onMounted as zi, onBeforeMount as Zi, onUnmounted as Li } from "vue";
16
16
  import { useRoute as ts, createRouter as Ki, createWebHistory as Ji, useRouter as _i } from "vue-router";
17
- import { useCoreStore as rn, useI18n as ns } from "@feedmepos/mf-common";
17
+ import { useCoreStore as nn, useI18n as ns } from "@feedmepos/mf-common";
18
18
  import { defineStore as $i } from "pinia";
19
19
  import { components as ea } from "@feedmepos/ui-library";
20
20
  const ta = {
@@ -26,9 +26,6 @@ const ta = {
26
26
  payout_account: "Payout Account",
27
27
  no_results: "No results"
28
28
  },
29
- terminal_template: {
30
- scope_info: "Template covers ECR gateway enablement and checkout settings only."
31
- },
32
29
  routes: {
33
30
  onboard_submission: "Payment Onboarding",
34
31
  payout_account: "Payout Account",
@@ -438,9 +435,6 @@ const ta = {
438
435
  payout_account: "บัญชีรับเงิน",
439
436
  no_results: "ไม่พบผลลัพธ์"
440
437
  },
441
- terminal_template: {
442
- scope_info: "เทมเพลตครอบคลุมเฉพาะการเปิดใช้งานเกตเวย์ ECR และการตั้งค่าการชำระเงินเท่านั้น"
443
- },
444
438
  routes: {
445
439
  onboard_submission: "การเปิดใช้งานระบบชำระเงิน",
446
440
  payout_account: "บัญชีรับเงิน",
@@ -848,9 +842,6 @@ const ta = {
848
842
  payout_account: "结算账户",
849
843
  no_results: "无结果"
850
844
  },
851
- terminal_template: {
852
- scope_info: "模板仅包含 ECR 网关启用和收银结账设置。"
853
- },
854
845
  routes: {
855
846
  onboard_submission: "支付开通",
856
847
  payout_account: "结算账户",
@@ -1264,28 +1255,28 @@ function ca(t, e, n) {
1264
1255
  evaluating: i = void 0,
1265
1256
  shallow: a = !0,
1266
1257
  onError: c = oa
1267
- } = r, l = St(!s), A = a ? Ni(e) : St(e);
1258
+ } = r, l = Xt(!s), A = a ? Ni(e) : Xt(e);
1268
1259
  let f = 0;
1269
1260
  return Hi(async (p) => {
1270
1261
  if (!l.value)
1271
1262
  return;
1272
1263
  f++;
1273
1264
  const B = f;
1274
- let w = !1;
1265
+ let v = !1;
1275
1266
  i && Promise.resolve().then(() => {
1276
1267
  i.value = !0;
1277
1268
  });
1278
1269
  try {
1279
1270
  const P = await t((I) => {
1280
1271
  p(() => {
1281
- i && (i.value = !1), w || I();
1272
+ i && (i.value = !1), v || I();
1282
1273
  });
1283
1274
  });
1284
1275
  B === f && (A.value = P);
1285
1276
  } catch (P) {
1286
1277
  c(P);
1287
1278
  } finally {
1288
- i && B === f && (i.value = !1), w = !0;
1279
+ i && B === f && (i.value = !1), v = !0;
1289
1280
  }
1290
1281
  }), s ? Nn(() => (l.value = !0, A.value)) : A;
1291
1282
  }
@@ -1396,7 +1387,7 @@ var rs = { exports: {} };
1396
1387
  return !0;
1397
1388
  };
1398
1389
  }
1399
- function w(u, m, g, y) {
1390
+ function v(u, m, g, y) {
1400
1391
  return u.validate(u.options, m, g, y);
1401
1392
  }
1402
1393
  var P = {
@@ -1441,7 +1432,7 @@ var rs = { exports: {} };
1441
1432
  },
1442
1433
  $or: function(u, m, g, y) {
1443
1434
  for (var b = 0, E = u.length; b < E; b++)
1444
- if (w(f(u, b), m, g, y)) return !0;
1435
+ if (v(f(u, b), m, g, y)) return !0;
1445
1436
  return !1;
1446
1437
  },
1447
1438
  $nor: function(u, m, g, y) {
@@ -1449,7 +1440,7 @@ var rs = { exports: {} };
1449
1440
  },
1450
1441
  $and: function(u, m, g, y) {
1451
1442
  for (var b = 0, E = u.length; b < E; b++)
1452
- if (!w(f(u, b), m, g, y)) return !1;
1443
+ if (!v(f(u, b), m, g, y)) return !1;
1453
1444
  return !0;
1454
1445
  },
1455
1446
  $regex: p(function(u, m) {
@@ -1461,9 +1452,9 @@ var rs = { exports: {} };
1461
1452
  $elemMatch: function(u, m, g, y) {
1462
1453
  return c(m) ? !!~function(b, E) {
1463
1454
  for (var O = 0; O < b.length; O++)
1464
- if (f(b, O), w(E, f(b, O))) return O;
1455
+ if (f(b, O), v(E, f(b, O))) return O;
1465
1456
  return -1;
1466
- }(m, u) : w(u, m, g, y);
1457
+ }(m, u) : v(u, m, g, y);
1467
1458
  },
1468
1459
  $exists: function(u, m, g, y) {
1469
1460
  return y.hasOwnProperty(g) === u;
@@ -1521,7 +1512,7 @@ var rs = { exports: {} };
1521
1512
  for (j = u.length; j--; ) if (u[j] == null) return !0;
1522
1513
  }
1523
1514
  for (j = u.length; j--; ) {
1524
- var O = w(H(f(u, j), g), E, j, u);
1515
+ var O = v(H(f(u, j), g), E, j, u);
1525
1516
  if (O && String(O) !== "[object Object]" && String(E) !== "[object Object]")
1526
1517
  return !0;
1527
1518
  }
@@ -1564,7 +1555,7 @@ var rs = { exports: {} };
1564
1555
  $not: function(u, m, g) {
1565
1556
  var y = Y(g)(u);
1566
1557
  return function(b, E, O) {
1567
- return !w(y, b, E, O);
1558
+ return !v(y, b, E, O);
1568
1559
  };
1569
1560
  },
1570
1561
  $type: function(u) {
@@ -1602,11 +1593,11 @@ var rs = { exports: {} };
1602
1593
  else tr(f(Ce, nr), ft, gt + 1, Ce, ln);
1603
1594
  }(m, g, 0, m, E), E.length === 1) {
1604
1595
  var O = E[0];
1605
- return w(y, O[0], O[1], O[2]);
1596
+ return v(y, O[0], O[1], O[2]);
1606
1597
  }
1607
1598
  for (var j = b && b.$ne !== void 0, W = j, _ = 0; _ < E.length; _++) {
1608
- var he = E[_], Vt = w(y, he[0], he[1], he[2]);
1609
- j ? W &= Vt : W |= Vt;
1599
+ var he = E[_], Yt = v(y, he[0], he[1], he[2]);
1600
+ j ? W &= Yt : W |= Yt;
1610
1601
  }
1611
1602
  return W;
1612
1603
  }
@@ -1628,8 +1619,8 @@ var rs = { exports: {} };
1628
1619
  else {
1629
1620
  if (W.charCodeAt(0) === 36)
1630
1621
  throw new Error("Unknown operation " + W);
1631
- var Vt = W.split(".");
1632
- j.push(Q(Vt, E(_), _));
1622
+ var Yt = W.split(".");
1623
+ j.push(Q(Yt, E(_), _));
1633
1624
  }
1634
1625
  }
1635
1626
  }
@@ -1639,24 +1630,24 @@ var rs = { exports: {} };
1639
1630
  if (!l(W)) return _;
1640
1631
  for (var he in W) _.push(he), j(W[he], _);
1641
1632
  return _;
1642
- }(O, []).join(",").search(/[$.]/) === -1 ? V(O, v) : b(O);
1633
+ }(O, []).join(",").search(/[$.]/) === -1 ? V(O, w) : b(O);
1643
1634
  };
1644
1635
  return function(O) {
1645
1636
  return b(y(O));
1646
1637
  };
1647
1638
  }
1648
- function v(u, m) {
1639
+ function w(u, m) {
1649
1640
  if (Object.prototype.toString.call(u) !== Object.prototype.toString.call(m))
1650
1641
  return !1;
1651
1642
  if (l(u)) {
1652
1643
  if (Object.keys(u).length !== Object.keys(m).length) return !1;
1653
- for (var g in u) if (!v(u[g], m[g])) return !1;
1644
+ for (var g in u) if (!w(u[g], m[g])) return !1;
1654
1645
  return !0;
1655
1646
  }
1656
1647
  if (c(u)) {
1657
1648
  if (u.length !== m.length) return !1;
1658
1649
  for (var y = 0, b = u.length; y < b; y++)
1659
- if (!v(u[y], m[y])) return !1;
1650
+ if (!w(u[y], m[y])) return !1;
1660
1651
  return !0;
1661
1652
  }
1662
1653
  return u === m;
@@ -1666,18 +1657,18 @@ var rs = { exports: {} };
1666
1657
  return m && m.select && (g = {
1667
1658
  options: g,
1668
1659
  validate: function(y, b, E, O) {
1669
- return w(y, b && m.select(b), E, O);
1660
+ return v(y, b && m.select(b), E, O);
1670
1661
  }
1671
1662
  }), g;
1672
1663
  }
1673
1664
  function U(u, m) {
1674
1665
  var g = H(u, m = Object.assign({ compare: ee, comparable: q }, m));
1675
1666
  return function(y, b, E) {
1676
- return w(g, y, b, E);
1667
+ return v(g, y, b, E);
1677
1668
  };
1678
1669
  }
1679
1670
  function ee(u, m) {
1680
- if (v(u, m)) return 0;
1671
+ if (w(u, m)) return 0;
1681
1672
  if (i(u) === i(m)) {
1682
1673
  if (u > m) return 1;
1683
1674
  if (u < m) return -1;
@@ -1704,15 +1695,15 @@ function ma(t, e, n) {
1704
1695
  function fa(t, e) {
1705
1696
  t.prototype = Object.create(e.prototype), t.prototype.constructor = t, t.__proto__ = e;
1706
1697
  }
1707
- function wn(t) {
1708
- return wn = Object.setPrototypeOf ? Object.getPrototypeOf : function(n) {
1698
+ function vn(t) {
1699
+ return vn = Object.setPrototypeOf ? Object.getPrototypeOf : function(n) {
1709
1700
  return n.__proto__ || Object.getPrototypeOf(n);
1710
- }, wn(t);
1701
+ }, vn(t);
1711
1702
  }
1712
- function Ut(t, e) {
1713
- return Ut = Object.setPrototypeOf || function(r, s) {
1703
+ function St(t, e) {
1704
+ return St = Object.setPrototypeOf || function(r, s) {
1714
1705
  return r.__proto__ = s, r;
1715
- }, Ut(t, e);
1706
+ }, St(t, e);
1716
1707
  }
1717
1708
  function ga() {
1718
1709
  if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham) return !1;
@@ -1724,13 +1715,13 @@ function ga() {
1724
1715
  return !1;
1725
1716
  }
1726
1717
  }
1727
- function qt(t, e, n) {
1728
- return ga() ? qt = Reflect.construct : qt = function(s, i, a) {
1718
+ function Rt(t, e, n) {
1719
+ return ga() ? Rt = Reflect.construct : Rt = function(s, i, a) {
1729
1720
  var c = [null];
1730
1721
  c.push.apply(c, i);
1731
1722
  var l = Function.bind.apply(s, c), A = new l();
1732
- return a && Ut(A, a.prototype), A;
1733
- }, qt.apply(null, arguments);
1723
+ return a && St(A, a.prototype), A;
1724
+ }, Rt.apply(null, arguments);
1734
1725
  }
1735
1726
  function pa(t) {
1736
1727
  return Function.toString.call(t).indexOf("[native code]") !== -1;
@@ -1746,7 +1737,7 @@ function Bn(t) {
1746
1737
  e.set(r, s);
1747
1738
  }
1748
1739
  function s() {
1749
- return qt(r, arguments, wn(this).constructor);
1740
+ return Rt(r, arguments, vn(this).constructor);
1750
1741
  }
1751
1742
  return s.prototype = Object.create(r.prototype, {
1752
1743
  constructor: {
@@ -1755,7 +1746,7 @@ function Bn(t) {
1755
1746
  writable: !0,
1756
1747
  configurable: !0
1757
1748
  }
1758
- }), Ut(s, r);
1749
+ }), St(s, r);
1759
1750
  }, Bn(t);
1760
1751
  }
1761
1752
  function ir(t) {
@@ -1765,9 +1756,9 @@ function ir(t) {
1765
1756
  }
1766
1757
  var ss = function(e) {
1767
1758
  return 'Cannot execute "' + e.action + '" on "' + e.subjectName + '"';
1768
- }, Ft = ss, ya = /* @__PURE__ */ function(t) {
1759
+ }, xt = ss, ya = /* @__PURE__ */ function(t) {
1769
1760
  fa(e, t), e.setDefaultMessage = function(s) {
1770
- s === null ? Ft = ss : Ft = typeof s == "string" ? function() {
1761
+ s === null ? xt = ss : xt = typeof s == "string" ? function() {
1771
1762
  return s;
1772
1763
  } : s;
1773
1764
  }, e.from = function(s) {
@@ -1778,7 +1769,7 @@ var ss = function(e) {
1778
1769
  };
1779
1770
  function e(r, s) {
1780
1771
  var i;
1781
- return s === void 0 && (s = {}), i = t.call(this, r) || this, i._setMetadata(s), i.message = r || Ft(ir(i)), i._customMessage = null, typeof Error.captureStackTrace == "function" && (i.name = i.constructor.name, Error.captureStackTrace(ir(i), i.constructor)), i;
1772
+ return s === void 0 && (s = {}), i = t.call(this, r) || this, i._setMetadata(s), i.message = r || xt(ir(i)), i._customMessage = null, typeof Error.captureStackTrace == "function" && (i.name = i.constructor.name, Error.captureStackTrace(ir(i), i.constructor)), i;
1782
1773
  }
1783
1774
  var n = e.prototype;
1784
1775
  return n.setMessage = function(s) {
@@ -1795,7 +1786,7 @@ var ss = function(e) {
1795
1786
  subjectName: this.ability.subjectName(i)
1796
1787
  });
1797
1788
  var l = c ? c.reason : "";
1798
- throw this.message = this._customMessage || l || Ft(this), this;
1789
+ throw this.message = this._customMessage || l || xt(this), this;
1799
1790
  }
1800
1791
  }, n._setMetadata = function(s) {
1801
1792
  this.subject = s.subject, this.subjectName = s.subjectName, this.action = s.action, this.field = s.field;
@@ -1810,10 +1801,10 @@ function ba(t) {
1810
1801
  var e = typeof t == "object" ? t.constructor : t;
1811
1802
  return e.modelName || e.name;
1812
1803
  }
1813
- function va(t) {
1804
+ function wa(t) {
1814
1805
  return JSON.parse(JSON.stringify(t));
1815
1806
  }
1816
- var wa = /[-/\\^$+?.()|[\]{}]/g, Ba = /\.?\*+\.?/g, Da = /\*+/, Ca = /\./g;
1807
+ var va = /[-/\\^$+?.()|[\]{}]/g, Ba = /\.?\*+\.?/g, Da = /\*+/, Ca = /\./g;
1817
1808
  function Ea(t, e, n) {
1818
1809
  var r = n[0] === "*" || t[0] === "." && t[t.length - 1] === "." ? "+" : "*", s = t.indexOf("**") === -1 ? "[^.]" : ".", i = t.replace(Ca, "\\$&").replace(Da, s + r);
1819
1810
  return e + t.length === n.length ? "(?:" + i + ")?" : i;
@@ -1823,7 +1814,7 @@ function Ma(t, e, n) {
1823
1814
  }
1824
1815
  function Ia(t) {
1825
1816
  var e = t.map(function(r) {
1826
- return r.replace(wa, Ma).replace(Ba, Ea);
1817
+ return r.replace(va, Ma).replace(Ba, Ea);
1827
1818
  }), n = e.length > 1 ? "(?:" + e.join("|") + ")" : e[0];
1828
1819
  return new RegExp("^" + n + "$");
1829
1820
  }
@@ -1868,7 +1859,7 @@ var Oa = /* @__PURE__ */ function() {
1868
1859
  indexedRules: /* @__PURE__ */ Object.create(null),
1869
1860
  mergedRules: /* @__PURE__ */ Object.create(null),
1870
1861
  events: {},
1871
- aliases: va(ar)
1862
+ aliases: wa(ar)
1872
1863
  }, this.update(n);
1873
1864
  }
1874
1865
  var e = t.prototype;
@@ -1886,8 +1877,8 @@ var Oa = /* @__PURE__ */ function() {
1886
1877
  for (var s = /* @__PURE__ */ Object.create(null), i = this[te].RuleType, a = !0, c = !1, l = 0; l < r.length; l++) {
1887
1878
  var A = new i(r[l]), f = this.expandActions(A.actions), p = Dn(A.subject), B = r.length - l - 1;
1888
1879
  a = !!(a && A.inverted), !c && A.fields && (c = !0);
1889
- for (var w = 0; w < p.length; w++) {
1890
- var P = p[w];
1880
+ for (var v = 0; v < p.length; v++) {
1881
+ var P = p[v];
1891
1882
  s[P] = s[P] || /* @__PURE__ */ Object.create(null);
1892
1883
  for (var I = 0; I < f.length; I++) {
1893
1884
  var V = f[I];
@@ -2051,7 +2042,7 @@ async function ka(t, e) {
2051
2042
  }
2052
2043
  var Cn = /* @__PURE__ */ ((t) => (t.Loading = "loading", t.Allowed = "allowed", t.Denied = "denied", t))(Cn || {});
2053
2044
  function Ra() {
2054
- const t = ts(), { sessionUser: e } = rn();
2045
+ const t = ts(), { sessionUser: e } = nn();
2055
2046
  return ca(
2056
2047
  async () => {
2057
2048
  t.matched;
@@ -2090,7 +2081,7 @@ const qa = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xml
2090
2081
  subtitle: "โอ้! คุณไม่มีสิทธิ์เข้าถึงหน้านี้"
2091
2082
  }, za = {
2092
2083
  noPermission: Wa
2093
- }, Za = { class: "w-full h-full flex justify-center items-center" }, La = { class: "flex flex-row xs:flex-col items-center gap-24 p-16" }, Ka = { class: "w-[300px] h-[300px]" }, Ja = ["src"], _a = { class: "text-2xl" }, $a = { class: "text-xl" }, eo = /* @__PURE__ */ tn({
2084
+ }, Za = { class: "w-full h-full flex justify-center items-center" }, La = { class: "flex flex-row xs:flex-col items-center gap-24 p-16" }, Ka = { class: "w-[300px] h-[300px]" }, Ja = ["src"], _a = { class: "text-2xl" }, $a = { class: "text-xl" }, eo = /* @__PURE__ */ en({
2094
2085
  __name: "NoPermission",
2095
2086
  setup(t) {
2096
2087
  const { t: e } = ns({
@@ -2101,7 +2092,7 @@ const qa = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xml
2101
2092
  "th-TH": za
2102
2093
  }
2103
2094
  });
2104
- return (n, r) => (nn(), Si("div", Za, [
2095
+ return (n, r) => (tn(), Si("div", Za, [
2105
2096
  Ke("div", La, [
2106
2097
  Ke("div", Ka, [
2107
2098
  Ke("img", {
@@ -2116,18 +2107,18 @@ const qa = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xml
2116
2107
  ])
2117
2108
  ]));
2118
2109
  }
2119
- }), to = /* @__PURE__ */ tn({
2110
+ }), to = /* @__PURE__ */ en({
2120
2111
  __name: "PermissionWrapper",
2121
2112
  setup(t) {
2122
2113
  const e = Ra();
2123
- return (n, r) => ge(e) === ge(Cn).Denied ? (nn(), Hn(eo, { key: 0 })) : ge(e) === ge(Cn).Allowed ? Qi(n.$slots, "default", { key: 1 }) : Xi("", !0);
2114
+ return (n, r) => ge(e) === ge(Cn).Denied ? (tn(), Hn(eo, { key: 0 })) : ge(e) === ge(Cn).Allowed ? Qi(n.$slots, "default", { key: 1 }) : Xi("", !0);
2124
2115
  }
2125
2116
  });
2126
2117
  function os(t) {
2127
2118
  return {
2128
2119
  inheritAttrs: !1,
2129
2120
  setup(e, { attrs: n }) {
2130
- return () => vn(to, {}, { default: () => vn(t, n) });
2121
+ return () => wn(to, {}, { default: () => wn(t, n) });
2131
2122
  }
2132
2123
  };
2133
2124
  }
@@ -2424,10 +2415,10 @@ const k = [
2424
2415
  ), bs = $(
2425
2416
  se,
2426
2417
  ho
2427
- ), vs = $(
2418
+ ), ws = $(
2428
2419
  se,
2429
2420
  mo
2430
- ), ws = $(
2421
+ ), vs = $(
2431
2422
  se,
2432
2423
  fo
2433
2424
  ), Bs = $(
@@ -2454,7 +2445,7 @@ const k = [
2454
2445
  o.delete
2455
2446
  ]
2456
2447
  }
2457
- ], vo = [
2448
+ ], wo = [
2458
2449
  ...k,
2459
2450
  {
2460
2451
  label: "Membership",
@@ -2466,7 +2457,7 @@ const k = [
2466
2457
  o.delete
2467
2458
  ]
2468
2459
  }
2469
- ], wo = $(
2460
+ ], vo = $(
2470
2461
  no,
2471
2462
  ro,
2472
2463
  cs,
@@ -2480,8 +2471,8 @@ const k = [
2480
2471
  ps,
2481
2472
  ys,
2482
2473
  bs,
2483
- vs,
2484
2474
  ws,
2475
+ vs,
2485
2476
  Bs,
2486
2477
  Ds,
2487
2478
  ds,
@@ -2495,11 +2486,11 @@ const k = [
2495
2486
  ), Do = $(
2496
2487
  se,
2497
2488
  bo
2498
- ), Co = $(vo), Eo = {
2489
+ ), Co = $(wo), Eo = {
2499
2490
  [`set_${d.crm}`]: {
2500
2491
  key: "sys:crm:access",
2501
2492
  name: "CRM Access",
2502
- permissions: wo
2493
+ permissions: vo
2503
2494
  },
2504
2495
  [`set_${d.crm_promotion}`]: {
2505
2496
  key: "sys:crm:promotion",
@@ -2544,12 +2535,12 @@ const k = [
2544
2535
  [`set_${d.crm_credit}`]: {
2545
2536
  key: "sys:crm:credit",
2546
2537
  name: "CRM Credit",
2547
- permissions: vs
2538
+ permissions: ws
2548
2539
  },
2549
2540
  [`set_${d.crm_experience}`]: {
2550
2541
  key: "sys:crm:experience",
2551
2542
  name: "CRM Experience",
2552
- permissions: ws
2543
+ permissions: vs
2553
2544
  },
2554
2545
  [`set_${d.crm_game}`]: {
2555
2546
  key: "sys:crm:game",
@@ -3172,7 +3163,7 @@ const Ho = () => ({
3172
3163
  sidebarDisplay: "Restaurants",
3173
3164
  section: "payment-gateway"
3174
3165
  },
3175
- component: () => import("./Restaurant-Dubtx0qm.js")
3166
+ component: () => import("./Restaurant-DWs8l6IN.js")
3176
3167
  },
3177
3168
  {
3178
3169
  path: "/admin/restaurants/:restaurantId",
@@ -3181,7 +3172,7 @@ const Ho = () => ({
3181
3172
  meta: {
3182
3173
  parent: "mf-payment-admin.restaurant"
3183
3174
  },
3184
- component: () => import("./RestaurantSetting-CaV9iLhj.js")
3175
+ component: () => import("./RestaurantSetting-CghN3Qij.js")
3185
3176
  },
3186
3177
  {
3187
3178
  path: "/admin/payout-accounts",
@@ -3190,7 +3181,7 @@ const Ho = () => ({
3190
3181
  sidebarDisplay: "Payout Accounts",
3191
3182
  section: "payment-gateway"
3192
3183
  },
3193
- component: () => import("./PayoutAccount-BaxlEkSz.js")
3184
+ component: () => import("./PayoutAccount-PGN4vUiE.js")
3194
3185
  },
3195
3186
  {
3196
3187
  path: "/admin/payout-accounts/:accountId",
@@ -3199,7 +3190,7 @@ const Ho = () => ({
3199
3190
  meta: {
3200
3191
  parent: "mf-payment-admin.payout-account"
3201
3192
  },
3202
- component: () => import("./PayoutAccountSetting-BjGT7oIq.js")
3193
+ component: () => import("./PayoutAccountSetting-UxgmC_It.js")
3203
3194
  },
3204
3195
  {
3205
3196
  path: "/admin/onboarding",
@@ -3208,7 +3199,7 @@ const Ho = () => ({
3208
3199
  sidebarDisplay: "Payment Onboarding",
3209
3200
  section: "payment-gateway"
3210
3201
  },
3211
- component: () => import("./OnboardSubmission-CW0mAt6g.js")
3202
+ component: () => import("./OnboardSubmission-C60-dPdV.js")
3212
3203
  },
3213
3204
  {
3214
3205
  path: "/admin/onboarding/:submissionId",
@@ -3217,7 +3208,7 @@ const Ho = () => ({
3217
3208
  meta: {
3218
3209
  parent: "mf-payment-admin.onboard-submission"
3219
3210
  },
3220
- component: () => import("./OnboardForm-Dc99b9Y9.js")
3211
+ component: () => import("./OnboardForm-BwFlXqV5.js")
3221
3212
  },
3222
3213
  {
3223
3214
  path: "/admin/terminal/pos",
@@ -3226,7 +3217,7 @@ const Ho = () => ({
3226
3217
  sidebarDisplay: "POS",
3227
3218
  section: "device"
3228
3219
  },
3229
- component: () => import("./Terminal-DA4Y3glc.js"),
3220
+ component: () => import("./Terminal-CU70aAqI.js"),
3230
3221
  props: {
3231
3222
  type: "POS"
3232
3223
  }
@@ -3238,7 +3229,7 @@ const Ho = () => ({
3238
3229
  sidebarDisplay: "Kiosks",
3239
3230
  section: "device"
3240
3231
  },
3241
- component: () => import("./Terminal-DA4Y3glc.js"),
3232
+ component: () => import("./Terminal-CU70aAqI.js"),
3242
3233
  props: {
3243
3234
  type: "KIOSK"
3244
3235
  }
@@ -3250,7 +3241,7 @@ const Ho = () => ({
3250
3241
  sidebarDisplay: "Terminals",
3251
3242
  section: "device"
3252
3243
  },
3253
- component: () => import("./Terminal-DA4Y3glc.js"),
3244
+ component: () => import("./Terminal-CU70aAqI.js"),
3254
3245
  props: {
3255
3246
  type: "TERMINAL"
3256
3247
  }
@@ -3263,25 +3254,7 @@ const Ho = () => ({
3263
3254
  section: "device",
3264
3255
  region: { TH: !0, ID: !0 }
3265
3256
  },
3266
- component: () => import("./ExternalTerminal-CPqZXXJN.js")
3267
- },
3268
- {
3269
- path: "/admin/terminal/templates",
3270
- name: "mf-payment-admin.terminal-template",
3271
- meta: {
3272
- sidebarDisplay: "Templates",
3273
- section: "device"
3274
- },
3275
- component: () => import("./TerminalTemplate-CPL-E4c2.js")
3276
- },
3277
- {
3278
- path: "/admin/terminal/templates/:templateId",
3279
- name: "mf-payment-admin.terminal-template-setting",
3280
- props: !0,
3281
- meta: {
3282
- parent: "mf-payment-admin.terminal-template"
3283
- },
3284
- component: () => import("./TerminalTemplateSetting-BTZZ_5hn.js")
3257
+ component: () => import("./ExternalTerminal-bjMJ7qr-.js")
3285
3258
  },
3286
3259
  {
3287
3260
  path: "/admin/terminal/pos/:terminalId",
@@ -3290,7 +3263,7 @@ const Ho = () => ({
3290
3263
  meta: {
3291
3264
  parent: "mf-payment-admin.pos"
3292
3265
  },
3293
- component: () => import("./TerminalSetting-ChWAOcmg.js")
3266
+ component: () => import("./TerminalSetting-Bc6HJqCW.js")
3294
3267
  },
3295
3268
  {
3296
3269
  path: "/admin/terminal/kiosk/:terminalId",
@@ -3299,7 +3272,7 @@ const Ho = () => ({
3299
3272
  meta: {
3300
3273
  parent: "mf-payment-admin.kiosk"
3301
3274
  },
3302
- component: () => import("./TerminalSetting-ChWAOcmg.js")
3275
+ component: () => import("./TerminalSetting-Bc6HJqCW.js")
3303
3276
  },
3304
3277
  {
3305
3278
  path: "/admin/terminal/terminal/:terminalId",
@@ -3308,7 +3281,7 @@ const Ho = () => ({
3308
3281
  meta: {
3309
3282
  parent: "mf-payment-admin.terminal"
3310
3283
  },
3311
- component: () => import("./TerminalSetting-ChWAOcmg.js")
3284
+ component: () => import("./TerminalSetting-Bc6HJqCW.js")
3312
3285
  },
3313
3286
  {
3314
3287
  path: "/admin/transaction",
@@ -3316,7 +3289,7 @@ const Ho = () => ({
3316
3289
  meta: {
3317
3290
  sidebarDisplay: "Transactions"
3318
3291
  },
3319
- component: () => import("./Transaction-eJhtXrtB.js")
3292
+ component: () => import("./Transaction-CHL7HVtl.js")
3320
3293
  },
3321
3294
  {
3322
3295
  path: "/admin/chargeback",
@@ -3324,7 +3297,7 @@ const Ho = () => ({
3324
3297
  meta: {
3325
3298
  sidebarDisplay: "Chargebacks"
3326
3299
  },
3327
- component: () => import("./Chargeback-BqXwYiuk.js")
3300
+ component: () => import("./Chargeback-B5MXERko.js")
3328
3301
  },
3329
3302
  {
3330
3303
  path: "/admin/settlement",
@@ -3332,7 +3305,7 @@ const Ho = () => ({
3332
3305
  meta: {
3333
3306
  sidebarDisplay: "Settlements"
3334
3307
  },
3335
- component: () => import("./Settlement-BpI9rV6S.js")
3308
+ component: () => import("./Settlement-DSAWgf1q.js")
3336
3309
  },
3337
3310
  {
3338
3311
  path: "/admin/settlement/:settlementId",
@@ -3341,7 +3314,7 @@ const Ho = () => ({
3341
3314
  meta: {
3342
3315
  parent: "mf-payment-admin.settlement"
3343
3316
  },
3344
- component: () => import("./SettlementTransactions-DUKUIBGb.js")
3317
+ component: () => import("./SettlementTransactions-5l9xe_rQ.js")
3345
3318
  }
3346
3319
  ].map((t) => ({
3347
3320
  ...t,
@@ -3349,7 +3322,7 @@ const Ho = () => ({
3349
3322
  ...t.meta,
3350
3323
  ...Ho()
3351
3324
  }
3352
- })), bt = [
3325
+ })), rn = [
3353
3326
  {
3354
3327
  path: "",
3355
3328
  redirect: { name: "mf-payment-payout-account" }
@@ -3357,7 +3330,7 @@ const Ho = () => ({
3357
3330
  {
3358
3331
  path: "/payout-account",
3359
3332
  name: "mf-payment-payout-account",
3360
- component: () => import("./PayoutAccount-CcxQG44I.js"),
3333
+ component: () => import("./PayoutAccount-DnE00Tpx.js"),
3361
3334
  meta: {
3362
3335
  sidebarDisplay: "i18n:payment.routes.payout_account",
3363
3336
  region: { MY: !0 },
@@ -3374,7 +3347,7 @@ const Ho = () => ({
3374
3347
  {
3375
3348
  path: "/onboard-submission",
3376
3349
  name: "mf-payment-onboard-submission",
3377
- component: () => import("./OnboardSubmission-DE1LorIG.js"),
3350
+ component: () => import("./OnboardSubmission-2s5PtLcm.js"),
3378
3351
  meta: {
3379
3352
  sidebarDisplay: "i18n:payment.routes.onboard_submission",
3380
3353
  region: { MY: !0, TH: !0, AU: !0 },
@@ -3392,7 +3365,7 @@ const Ho = () => ({
3392
3365
  path: "/onboard-submission/restaurant/:restaurantId/:type/:submission?",
3393
3366
  name: "mf-payment-onboard-submission-form",
3394
3367
  props: !0,
3395
- component: () => import("./OnboardForm-CzW4p_2d.js"),
3368
+ component: () => import("./OnboardForm-CE0weADC.js"),
3396
3369
  meta: {
3397
3370
  parent: "mf-payment-onboard-submission",
3398
3371
  validationManifest: {
@@ -3408,7 +3381,7 @@ const Ho = () => ({
3408
3381
  {
3409
3382
  path: "/transaction-old",
3410
3383
  name: "mf-payment-old-transaction",
3411
- component: () => import("./TransactionOld-CpcwSOPc.js"),
3384
+ component: () => import("./TransactionOld-Dk_5TVXm.js"),
3412
3385
  meta: {
3413
3386
  sidebarDisplay: "i18n:payment.routes.transaction",
3414
3387
  validationManifest: {
@@ -3424,7 +3397,7 @@ const Ho = () => ({
3424
3397
  {
3425
3398
  path: "/transaction",
3426
3399
  name: "mf-payment-transaction",
3427
- component: () => import("./Transaction-BoYZtvk4.js"),
3400
+ component: () => import("./Transaction-9yHZiRAp.js"),
3428
3401
  meta: {
3429
3402
  sidebarDisplay: "i18n:payment.routes.transaction_new",
3430
3403
  sidebarNew: !0,
@@ -3441,7 +3414,7 @@ const Ho = () => ({
3441
3414
  {
3442
3415
  path: "/settlement",
3443
3416
  name: "mf-payment-settlement",
3444
- component: () => import("./Settlement-Dk2vmfTC.js"),
3417
+ component: () => import("./Settlement-BZG0nEhU.js"),
3445
3418
  meta: {
3446
3419
  sidebarDisplay: "i18n:payment.routes.settlement",
3447
3420
  region: { MY: !0, SG: !0 },
@@ -3459,7 +3432,7 @@ const Ho = () => ({
3459
3432
  path: "/settlement/:settlementId",
3460
3433
  name: "mf-payment-settlement-transaction",
3461
3434
  props: !0,
3462
- component: () => import("./SettlementTransactions-L1UnE3Dz.js"),
3435
+ component: () => import("./SettlementTransactions-dSH6mKX9.js"),
3463
3436
  meta: {
3464
3437
  parent: "mf-payment-settlement",
3465
3438
  validationManifest: {
@@ -3627,8 +3600,8 @@ const Vs = function(t) {
3627
3600
  const n = e ? this.byteToCharMapWebSafe_ : this.byteToCharMap_, r = [];
3628
3601
  for (let s = 0; s < t.length; s += 3) {
3629
3602
  const i = t[s], a = s + 1 < t.length, c = a ? t[s + 1] : 0, l = s + 2 < t.length, A = l ? t[s + 2] : 0, f = i >> 2, p = (i & 3) << 4 | c >> 4;
3630
- let B = (c & 15) << 2 | A >> 6, w = A & 63;
3631
- l || (w = 64, a || (B = 64)), r.push(n[f], n[p], n[B], n[w]);
3603
+ let B = (c & 15) << 2 | A >> 6, v = A & 63;
3604
+ l || (v = 64, a || (B = 64)), r.push(n[f], n[p], n[B], n[v]);
3632
3605
  }
3633
3606
  return r.join("");
3634
3607
  },
@@ -3682,8 +3655,8 @@ const Vs = function(t) {
3682
3655
  throw new So();
3683
3656
  const B = i << 2 | c >> 4;
3684
3657
  if (r.push(B), A !== 64) {
3685
- const w = c << 4 & 240 | A >> 2;
3686
- if (r.push(w), p !== 64) {
3658
+ const v = c << 4 & 240 | A >> 2;
3659
+ if (r.push(v), p !== 64) {
3687
3660
  const P = A << 6 & 192 | p;
3688
3661
  r.push(P);
3689
3662
  }
@@ -3915,10 +3888,10 @@ function sc() {
3915
3888
  const ic = "FirebaseError";
3916
3889
  class qe extends Error {
3917
3890
  constructor(e, n, r) {
3918
- super(n), this.code = e, this.customData = r, this.name = ic, Object.setPrototypeOf(this, qe.prototype), Error.captureStackTrace && Error.captureStackTrace(this, Pt.prototype.create);
3891
+ super(n), this.code = e, this.customData = r, this.name = ic, Object.setPrototypeOf(this, qe.prototype), Error.captureStackTrace && Error.captureStackTrace(this, It.prototype.create);
3919
3892
  }
3920
3893
  }
3921
- class Pt {
3894
+ class It {
3922
3895
  constructor(e, n, r) {
3923
3896
  this.service = e, this.serviceName = n, this.errors = r;
3924
3897
  }
@@ -3940,7 +3913,7 @@ function cc(t) {
3940
3913
  return !1;
3941
3914
  return !0;
3942
3915
  }
3943
- function Wt(t, e) {
3916
+ function Ut(t, e) {
3944
3917
  if (t === e)
3945
3918
  return !0;
3946
3919
  const n = Object.keys(t), r = Object.keys(e);
@@ -3949,7 +3922,7 @@ function Wt(t, e) {
3949
3922
  return !1;
3950
3923
  const i = t[s], a = e[s];
3951
3924
  if (ur(i) && ur(a)) {
3952
- if (!Wt(i, a))
3925
+ if (!Ut(i, a))
3953
3926
  return !1;
3954
3927
  } else if (i !== a)
3955
3928
  return !1;
@@ -3978,7 +3951,7 @@ function ur(t) {
3978
3951
  * See the License for the specific language governing permissions and
3979
3952
  * limitations under the License.
3980
3953
  */
3981
- function Ot(t) {
3954
+ function Pt(t) {
3982
3955
  const e = [];
3983
3956
  for (const [n, r] of Object.entries(t))
3984
3957
  Array.isArray(r) ? r.forEach((s) => {
@@ -4471,9 +4444,9 @@ class Ns {
4471
4444
  this._userLogHandler && this._userLogHandler(this, F.ERROR, ...e), this._logHandler(this, F.ERROR, ...e);
4472
4445
  }
4473
4446
  }
4474
- const vc = (t, e) => e.some((n) => t instanceof n);
4447
+ const wc = (t, e) => e.some((n) => t instanceof n);
4475
4448
  let lr, Ar;
4476
- function wc() {
4449
+ function vc() {
4477
4450
  return lr || (lr = [
4478
4451
  IDBDatabase,
4479
4452
  IDBObjectStore,
@@ -4554,7 +4527,7 @@ function Mc(t) {
4554
4527
  };
4555
4528
  }
4556
4529
  function Ic(t) {
4557
- return typeof t == "function" ? Mc(t) : (t instanceof IDBTransaction && Cc(t), vc(t, wc()) ? new Proxy(t, Mn) : t);
4530
+ return typeof t == "function" ? Mc(t) : (t instanceof IDBTransaction && Cc(t), wc(t, vc()) ? new Proxy(t, Mn) : t);
4558
4531
  }
4559
4532
  function Fe(t) {
4560
4533
  if (t instanceof IDBRequest)
@@ -4659,7 +4632,7 @@ const In = "@firebase/app", hr = "0.10.13";
4659
4632
  * See the License for the specific language governing permissions and
4660
4633
  * limitations under the License.
4661
4634
  */
4662
- const we = new Ns("@firebase/app"), Yc = "@firebase/app-compat", Vc = "@firebase/analytics-compat", xc = "@firebase/analytics", Fc = "@firebase/app-check-compat", kc = "@firebase/app-check", Rc = "@firebase/auth", qc = "@firebase/auth-compat", Nc = "@firebase/database", Hc = "@firebase/data-connect", Qc = "@firebase/database-compat", Xc = "@firebase/functions", Sc = "@firebase/functions-compat", Uc = "@firebase/installations", Wc = "@firebase/installations-compat", zc = "@firebase/messaging", Zc = "@firebase/messaging-compat", Lc = "@firebase/performance", Kc = "@firebase/performance-compat", Jc = "@firebase/remote-config", _c = "@firebase/remote-config-compat", $c = "@firebase/storage", eu = "@firebase/storage-compat", tu = "@firebase/firestore", nu = "@firebase/vertexai-preview", ru = "@firebase/firestore-compat", su = "firebase", iu = "10.14.1";
4635
+ const ve = new Ns("@firebase/app"), Yc = "@firebase/app-compat", Vc = "@firebase/analytics-compat", xc = "@firebase/analytics", Fc = "@firebase/app-check-compat", kc = "@firebase/app-check", Rc = "@firebase/auth", qc = "@firebase/auth-compat", Nc = "@firebase/database", Hc = "@firebase/data-connect", Qc = "@firebase/database-compat", Xc = "@firebase/functions", Sc = "@firebase/functions-compat", Uc = "@firebase/installations", Wc = "@firebase/installations-compat", zc = "@firebase/messaging", Zc = "@firebase/messaging-compat", Lc = "@firebase/performance", Kc = "@firebase/performance-compat", Jc = "@firebase/remote-config", _c = "@firebase/remote-config-compat", $c = "@firebase/storage", eu = "@firebase/storage-compat", tu = "@firebase/firestore", nu = "@firebase/vertexai-preview", ru = "@firebase/firestore-compat", su = "firebase", iu = "10.14.1";
4663
4636
  /**
4664
4637
  * @license
4665
4638
  * Copyright 2019 Google LLC
@@ -4722,20 +4695,20 @@ const Pn = "[DEFAULT]", au = {
4722
4695
  * See the License for the specific language governing permissions and
4723
4696
  * limitations under the License.
4724
4697
  */
4725
- const zt = /* @__PURE__ */ new Map(), ou = /* @__PURE__ */ new Map(), On = /* @__PURE__ */ new Map();
4698
+ const Wt = /* @__PURE__ */ new Map(), ou = /* @__PURE__ */ new Map(), On = /* @__PURE__ */ new Map();
4726
4699
  function mr(t, e) {
4727
4700
  try {
4728
4701
  t.container.addComponent(e);
4729
4702
  } catch (n) {
4730
- we.debug(`Component ${e.name} failed to register with FirebaseApp ${t.name}`, n);
4703
+ ve.debug(`Component ${e.name} failed to register with FirebaseApp ${t.name}`, n);
4731
4704
  }
4732
4705
  }
4733
- function vt(t) {
4706
+ function bt(t) {
4734
4707
  const e = t.name;
4735
4708
  if (On.has(e))
4736
- return we.debug(`There were multiple attempts to register component ${e}.`), !1;
4709
+ return ve.debug(`There were multiple attempts to register component ${e}.`), !1;
4737
4710
  On.set(e, t);
4738
- for (const n of zt.values())
4711
+ for (const n of Wt.values())
4739
4712
  mr(n, t);
4740
4713
  for (const n of ou.values())
4741
4714
  mr(n, t);
@@ -4779,7 +4752,7 @@ const cu = {
4779
4752
  "idb-delete": "Error thrown when deleting from IndexedDB. Original error: {$originalErrorMessage}.",
4780
4753
  "finalization-registry-not-supported": "FirebaseServerApp deleteOnDeref field defined but the JS runtime does not support FinalizationRegistry.",
4781
4754
  "invalid-server-app-environment": "FirebaseServerApp is not for use in browser environments."
4782
- }, ke = new Pt("app", "Firebase", cu);
4755
+ }, ke = new It("app", "Firebase", cu);
4783
4756
  /**
4784
4757
  * @license
4785
4758
  * Copyright 2019 Google LLC
@@ -4854,7 +4827,7 @@ class uu {
4854
4827
  * See the License for the specific language governing permissions and
4855
4828
  * limitations under the License.
4856
4829
  */
4857
- const Tt = iu;
4830
+ const Ot = iu;
4858
4831
  function Ss(t, e = {}) {
4859
4832
  let n = t;
4860
4833
  typeof e != "object" && (e = { name: e });
@@ -4868,9 +4841,9 @@ function Ss(t, e = {}) {
4868
4841
  "no-options"
4869
4842
  /* AppError.NO_OPTIONS */
4870
4843
  );
4871
- const i = zt.get(s);
4844
+ const i = Wt.get(s);
4872
4845
  if (i) {
4873
- if (Wt(n, i.options) && Wt(r, i.config))
4846
+ if (Ut(n, i.options) && Ut(r, i.config))
4874
4847
  return i;
4875
4848
  throw ke.create("duplicate-app", { appName: s });
4876
4849
  }
@@ -4878,10 +4851,10 @@ function Ss(t, e = {}) {
4878
4851
  for (const l of On.values())
4879
4852
  a.addComponent(l);
4880
4853
  const c = new uu(n, r, a);
4881
- return zt.set(s, c), c;
4854
+ return Wt.set(s, c), c;
4882
4855
  }
4883
4856
  function lu(t = Pn) {
4884
- const e = zt.get(t);
4857
+ const e = Wt.get(t);
4885
4858
  if (!e && t === Pn && Rs())
4886
4859
  return Ss();
4887
4860
  if (!e)
@@ -4897,10 +4870,10 @@ function $e(t, e, n) {
4897
4870
  const c = [
4898
4871
  `Unable to register library "${s}" with version "${e}":`
4899
4872
  ];
4900
- i && c.push(`library name "${s}" contains illegal characters (whitespace or "/")`), i && a && c.push("and"), a && c.push(`version name "${e}" contains illegal characters (whitespace or "/")`), we.warn(c.join(" "));
4873
+ i && c.push(`library name "${s}" contains illegal characters (whitespace or "/")`), i && a && c.push("and"), a && c.push(`version name "${e}" contains illegal characters (whitespace or "/")`), ve.warn(c.join(" "));
4901
4874
  return;
4902
4875
  }
4903
- vt(new dt(
4876
+ bt(new dt(
4904
4877
  `${s}-version`,
4905
4878
  () => ({ library: s, version: e }),
4906
4879
  "VERSION"
@@ -4949,12 +4922,12 @@ async function hu(t) {
4949
4922
  return await n.done, r;
4950
4923
  } catch (e) {
4951
4924
  if (e instanceof qe)
4952
- we.warn(e.message);
4925
+ ve.warn(e.message);
4953
4926
  else {
4954
4927
  const n = ke.create("idb-get", {
4955
4928
  originalErrorMessage: e == null ? void 0 : e.message
4956
4929
  });
4957
- we.warn(n.message);
4930
+ ve.warn(n.message);
4958
4931
  }
4959
4932
  }
4960
4933
  }
@@ -4964,12 +4937,12 @@ async function fr(t, e) {
4964
4937
  await r.objectStore(wt).put(e, Ws(t)), await r.done;
4965
4938
  } catch (n) {
4966
4939
  if (n instanceof qe)
4967
- we.warn(n.message);
4940
+ ve.warn(n.message);
4968
4941
  else {
4969
4942
  const r = ke.create("idb-set", {
4970
4943
  originalErrorMessage: n == null ? void 0 : n.message
4971
4944
  });
4972
- we.warn(r.message);
4945
+ ve.warn(r.message);
4973
4946
  }
4974
4947
  }
4975
4948
  }
@@ -5015,7 +4988,7 @@ class gu {
5015
4988
  return Date.now() - c <= fu;
5016
4989
  }), this._storage.overwrite(this._heartbeatsCache));
5017
4990
  } catch (r) {
5018
- we.warn(r);
4991
+ ve.warn(r);
5019
4992
  }
5020
4993
  }
5021
4994
  /**
@@ -5033,7 +5006,7 @@ class gu {
5033
5006
  const n = gr(), { heartbeatsToSend: r, unsentEntries: s } = pu(this._heartbeatsCache.heartbeats), i = Fs(JSON.stringify({ version: 2, heartbeats: r }));
5034
5007
  return this._heartbeatsCache.lastSentHeartbeatDate = n, s.length > 0 ? (this._heartbeatsCache.heartbeats = s, await this._storage.overwrite(this._heartbeatsCache)) : (this._heartbeatsCache.heartbeats = [], this._storage.overwrite(this._heartbeatsCache)), i;
5035
5008
  } catch (n) {
5036
- return we.warn(n), "";
5009
+ return ve.warn(n), "";
5037
5010
  }
5038
5011
  }
5039
5012
  }
@@ -5132,12 +5105,12 @@ function pr(t) {
5132
5105
  * limitations under the License.
5133
5106
  */
5134
5107
  function bu(t) {
5135
- vt(new dt(
5108
+ bt(new dt(
5136
5109
  "platform-logger",
5137
5110
  (e) => new Gc(e),
5138
5111
  "PRIVATE"
5139
5112
  /* ComponentType.PRIVATE */
5140
- )), vt(new dt(
5113
+ )), bt(new dt(
5141
5114
  "heartbeat",
5142
5115
  (e) => new gu(e),
5143
5116
  "PRIVATE"
@@ -5145,7 +5118,7 @@ function bu(t) {
5145
5118
  )), $e(In, hr, t), $e(In, hr, "esm2017"), $e("fire-js", "");
5146
5119
  }
5147
5120
  bu("");
5148
- var vu = "firebase", wu = "10.14.1";
5121
+ var wu = "firebase", vu = "10.14.1";
5149
5122
  /**
5150
5123
  * @license
5151
5124
  * Copyright 2020 Google LLC
@@ -5162,7 +5135,7 @@ var vu = "firebase", wu = "10.14.1";
5162
5135
  * See the License for the specific language governing permissions and
5163
5136
  * limitations under the License.
5164
5137
  */
5165
- $e(vu, wu, "app");
5138
+ $e(wu, vu, "app");
5166
5139
  var yr = function() {
5167
5140
  return yr = Object.assign || function(e) {
5168
5141
  for (var n, r = 1, s = arguments.length; r < s; r++) {
@@ -5185,7 +5158,7 @@ function zs() {
5185
5158
  "dependent-sdk-initialized-before-auth": "Another Firebase SDK was initialized and is trying to use Auth before Auth is initialized. Please be sure to call `initializeAuth` or `getAuth` before starting any other Firebase SDK."
5186
5159
  };
5187
5160
  }
5188
- const Bu = zs, Zs = new Pt("auth", "Firebase", zs());
5161
+ const Bu = zs, Zs = new It("auth", "Firebase", zs());
5189
5162
  /**
5190
5163
  * @license
5191
5164
  * Copyright 2020 Google LLC
@@ -5202,12 +5175,12 @@ const Bu = zs, Zs = new Pt("auth", "Firebase", zs());
5202
5175
  * See the License for the specific language governing permissions and
5203
5176
  * limitations under the License.
5204
5177
  */
5205
- const Zt = new Ns("@firebase/auth");
5178
+ const zt = new Ns("@firebase/auth");
5206
5179
  function Du(t, ...e) {
5207
- Zt.logLevel <= F.WARN && Zt.warn(`Auth (${Tt}): ${t}`, ...e);
5180
+ zt.logLevel <= F.WARN && zt.warn(`Auth (${Ot}): ${t}`, ...e);
5208
5181
  }
5209
- function Nt(t, ...e) {
5210
- Zt.logLevel <= F.ERROR && Zt.error(`Auth (${Tt}): ${t}`, ...e);
5182
+ function qt(t, ...e) {
5183
+ zt.logLevel <= F.ERROR && zt.error(`Auth (${Ot}): ${t}`, ...e);
5211
5184
  }
5212
5185
  /**
5213
5186
  * @license
@@ -5233,7 +5206,7 @@ function Ae(t, ...e) {
5233
5206
  }
5234
5207
  function Ls(t, e, n) {
5235
5208
  const r = Object.assign(Object.assign({}, Bu()), { [e]: n });
5236
- return new Pt("auth", "Firebase", r).create(e, {
5209
+ return new It("auth", "Firebase", r).create(e, {
5237
5210
  appName: t.name
5238
5211
  });
5239
5212
  }
@@ -5253,7 +5226,7 @@ function M(t, e, ...n) {
5253
5226
  }
5254
5227
  function ye(t) {
5255
5228
  const e = "INTERNAL ASSERTION FAILED: " + t;
5256
- throw Nt(e), new Error(e);
5229
+ throw qt(e), new Error(e);
5257
5230
  }
5258
5231
  function De(t, e) {
5259
5232
  t || ye(e);
@@ -5337,7 +5310,7 @@ function Mu() {
5337
5310
  * See the License for the specific language governing permissions and
5338
5311
  * limitations under the License.
5339
5312
  */
5340
- class Gt {
5313
+ class Tt {
5341
5314
  constructor(e, n) {
5342
5315
  this.shortDelay = e, this.longDelay = n, De(n > e, "Short delay should be less than long delay!"), this.isMobile = _o() || tc();
5343
5316
  }
@@ -5527,7 +5500,7 @@ const Iu = {
5527
5500
  * See the License for the specific language governing permissions and
5528
5501
  * limitations under the License.
5529
5502
  */
5530
- const Pu = new Gt(3e4, 6e4);
5503
+ const Pu = new Tt(3e4, 6e4);
5531
5504
  function sn(t, e) {
5532
5505
  return t.tenantId && !e.tenantId ? Object.assign(Object.assign({}, e), { tenantId: t.tenantId }) : e;
5533
5506
  }
@@ -5537,7 +5510,7 @@ async function mt(t, e, n, r, s = {}) {
5537
5510
  r && (e === "GET" ? a = r : i = {
5538
5511
  body: JSON.stringify(r)
5539
5512
  });
5540
- const c = Ot(Object.assign({ key: t.config.apiKey }, a)).slice(1), l = await t._getAdditionalHeaders();
5513
+ const c = Pt(Object.assign({ key: t.config.apiKey }, a)).slice(1), l = await t._getAdditionalHeaders();
5541
5514
  l[
5542
5515
  "Content-Type"
5543
5516
  /* HttpHeader.CONTENT_TYPE */
@@ -5563,17 +5536,17 @@ async function Js(t, e, n) {
5563
5536
  s.clearNetworkTimeout();
5564
5537
  const a = await i.json();
5565
5538
  if ("needConfirmation" in a)
5566
- throw kt(t, "account-exists-with-different-credential", a);
5539
+ throw Ft(t, "account-exists-with-different-credential", a);
5567
5540
  if (i.ok && !("errorMessage" in a))
5568
5541
  return a;
5569
5542
  {
5570
5543
  const c = i.ok ? a.errorMessage : a.error.message, [l, A] = c.split(" : ");
5571
5544
  if (l === "FEDERATED_USER_ID_ALREADY_LINKED")
5572
- throw kt(t, "credential-already-in-use", a);
5545
+ throw Ft(t, "credential-already-in-use", a);
5573
5546
  if (l === "EMAIL_EXISTS")
5574
- throw kt(t, "email-already-in-use", a);
5547
+ throw Ft(t, "email-already-in-use", a);
5575
5548
  if (l === "USER_DISABLED")
5576
- throw kt(t, "user-disabled", a);
5549
+ throw Ft(t, "user-disabled", a);
5577
5550
  const f = r[l] || l.toLowerCase().replace(/[_\s]+/g, "-");
5578
5551
  if (A)
5579
5552
  throw Ls(t, f, A);
@@ -5609,7 +5582,7 @@ class Ou {
5609
5582
  clearTimeout(this.timer);
5610
5583
  }
5611
5584
  }
5612
- function kt(t, e, n) {
5585
+ function Ft(t, e, n) {
5613
5586
  const r = {
5614
5587
  appName: t.name
5615
5588
  };
@@ -5689,15 +5662,15 @@ function yn(t) {
5689
5662
  function Ln(t) {
5690
5663
  const [e, n, r] = t.split(".");
5691
5664
  if (e === void 0 || n === void 0 || r === void 0)
5692
- return Nt("JWT malformed, contained fewer than 3 sections"), null;
5665
+ return qt("JWT malformed, contained fewer than 3 sections"), null;
5693
5666
  try {
5694
5667
  const s = ks(n);
5695
- return s ? JSON.parse(s) : (Nt("Failed to decode base64 JWT payload"), null);
5668
+ return s ? JSON.parse(s) : (qt("Failed to decode base64 JWT payload"), null);
5696
5669
  } catch (s) {
5697
- return Nt("Caught error parsing JWT payload as JSON", s == null ? void 0 : s.toString()), null;
5670
+ return qt("Caught error parsing JWT payload as JSON", s == null ? void 0 : s.toString()), null;
5698
5671
  }
5699
5672
  }
5700
- function vr(t) {
5673
+ function wr(t) {
5701
5674
  const e = Ln(t);
5702
5675
  return M(
5703
5676
  e,
@@ -5729,7 +5702,7 @@ function vr(t) {
5729
5702
  * See the License for the specific language governing permissions and
5730
5703
  * limitations under the License.
5731
5704
  */
5732
- async function Bt(t, e, n = !1) {
5705
+ async function vt(t, e, n = !1) {
5733
5706
  if (n)
5734
5707
  return e;
5735
5708
  try {
@@ -5852,9 +5825,9 @@ class Gn {
5852
5825
  * See the License for the specific language governing permissions and
5853
5826
  * limitations under the License.
5854
5827
  */
5855
- async function Lt(t) {
5828
+ async function Zt(t) {
5856
5829
  var e;
5857
- const n = t.auth, r = await t.getIdToken(), s = await Bt(t, ei(n, { idToken: r }));
5830
+ const n = t.auth, r = await t.getIdToken(), s = await vt(t, ei(n, { idToken: r }));
5858
5831
  M(
5859
5832
  s == null ? void 0 : s.users.length,
5860
5833
  n,
@@ -5879,7 +5852,7 @@ async function Lt(t) {
5879
5852
  }
5880
5853
  async function Vu(t) {
5881
5854
  const e = ht(t);
5882
- await Lt(e), await e.auth._persistUserIfCurrent(e), e.auth._notifyListenersIfCurrent(e);
5855
+ await Zt(e), await e.auth._persistUserIfCurrent(e), e.auth._notifyListenersIfCurrent(e);
5883
5856
  }
5884
5857
  function xu(t, e) {
5885
5858
  return [...t.filter((r) => !e.some((s) => s.providerId === r.providerId)), ...e];
@@ -5915,7 +5888,7 @@ function ti(t) {
5915
5888
  */
5916
5889
  async function Fu(t, e) {
5917
5890
  const n = await Js(t, {}, async () => {
5918
- const r = Ot({
5891
+ const r = Pt({
5919
5892
  grant_type: "refresh_token",
5920
5893
  refresh_token: e
5921
5894
  }).slice(1), { tokenApiHost: s, apiKey: i } = t.config, a = $s(t, s, "/v1/token", `key=${i}`), c = await t._getAdditionalHeaders();
@@ -5974,7 +5947,7 @@ class et {
5974
5947
  "internal-error"
5975
5948
  /* AuthErrorCode.INTERNAL_ERROR */
5976
5949
  );
5977
- const n = "expiresIn" in e && typeof e.expiresIn < "u" ? Number(e.expiresIn) : vr(e.idToken);
5950
+ const n = "expiresIn" in e && typeof e.expiresIn < "u" ? Number(e.expiresIn) : wr(e.idToken);
5978
5951
  this.updateTokensAndExpiration(e.idToken, e.refreshToken, n);
5979
5952
  }
5980
5953
  updateFromIdToken(e) {
@@ -5983,7 +5956,7 @@ class et {
5983
5956
  "internal-error"
5984
5957
  /* AuthErrorCode.INTERNAL_ERROR */
5985
5958
  );
5986
- const n = vr(e);
5959
+ const n = wr(e);
5987
5960
  this.updateTokensAndExpiration(e, null, n);
5988
5961
  }
5989
5962
  async getToken(e, n = !1) {
@@ -6056,7 +6029,7 @@ class be {
6056
6029
  this.providerId = "firebase", this.proactiveRefresh = new Yu(this), this.reloadUserInfo = null, this.reloadListener = null, this.uid = n, this.auth = r, this.stsTokenManager = s, this.accessToken = s.accessToken, this.displayName = i.displayName || null, this.email = i.email || null, this.emailVerified = i.emailVerified || !1, this.phoneNumber = i.phoneNumber || null, this.photoURL = i.photoURL || null, this.isAnonymous = i.isAnonymous || !1, this.tenantId = i.tenantId || null, this.providerData = i.providerData ? [...i.providerData] : [], this.metadata = new Gn(i.createdAt || void 0, i.lastLoginAt || void 0);
6057
6030
  }
6058
6031
  async getIdToken(e) {
6059
- const n = await Bt(this, this.stsTokenManager.getToken(this.auth, e));
6032
+ const n = await vt(this, this.stsTokenManager.getToken(this.auth, e));
6060
6033
  return M(
6061
6034
  n,
6062
6035
  this.auth,
@@ -6101,13 +6074,13 @@ class be {
6101
6074
  }
6102
6075
  async _updateTokensIfNecessary(e, n = !1) {
6103
6076
  let r = !1;
6104
- e.idToken && e.idToken !== this.stsTokenManager.accessToken && (this.stsTokenManager.updateFromServerResponse(e), r = !0), n && await Lt(this), await this.auth._persistUserIfCurrent(this), r && this.auth._notifyListenersIfCurrent(this);
6077
+ e.idToken && e.idToken !== this.stsTokenManager.accessToken && (this.stsTokenManager.updateFromServerResponse(e), r = !0), n && await Zt(this), await this.auth._persistUserIfCurrent(this), r && this.auth._notifyListenersIfCurrent(this);
6105
6078
  }
6106
6079
  async delete() {
6107
6080
  if (pe(this.auth.app))
6108
6081
  return Promise.reject(Re(this.auth));
6109
6082
  const e = await this.getIdToken();
6110
- return await Bt(this, Tu(this.auth, { idToken: e })), this.stsTokenManager.clearRefreshToken(), this.auth.signOut();
6083
+ return await vt(this, Tu(this.auth, { idToken: e })), this.stsTokenManager.clearRefreshToken(), this.auth.signOut();
6111
6084
  }
6112
6085
  toJSON() {
6113
6086
  return Object.assign(Object.assign({
@@ -6135,7 +6108,7 @@ class be {
6135
6108
  }
6136
6109
  static _fromJSON(e, n) {
6137
6110
  var r, s, i, a, c, l, A, f;
6138
- const p = (r = n.displayName) !== null && r !== void 0 ? r : void 0, B = (s = n.email) !== null && s !== void 0 ? s : void 0, w = (i = n.phoneNumber) !== null && i !== void 0 ? i : void 0, P = (a = n.photoURL) !== null && a !== void 0 ? a : void 0, I = (c = n.tenantId) !== null && c !== void 0 ? c : void 0, V = (l = n._redirectEventId) !== null && l !== void 0 ? l : void 0, R = (A = n.createdAt) !== null && A !== void 0 ? A : void 0, Q = (f = n.lastLoginAt) !== null && f !== void 0 ? f : void 0, { uid: Y, emailVerified: v, isAnonymous: H, providerData: U, stsTokenManager: ee } = n;
6111
+ const p = (r = n.displayName) !== null && r !== void 0 ? r : void 0, B = (s = n.email) !== null && s !== void 0 ? s : void 0, v = (i = n.phoneNumber) !== null && i !== void 0 ? i : void 0, P = (a = n.photoURL) !== null && a !== void 0 ? a : void 0, I = (c = n.tenantId) !== null && c !== void 0 ? c : void 0, V = (l = n._redirectEventId) !== null && l !== void 0 ? l : void 0, R = (A = n.createdAt) !== null && A !== void 0 ? A : void 0, Q = (f = n.lastLoginAt) !== null && f !== void 0 ? f : void 0, { uid: Y, emailVerified: w, isAnonymous: H, providerData: U, stsTokenManager: ee } = n;
6139
6112
  M(
6140
6113
  Y && ee,
6141
6114
  e,
@@ -6149,7 +6122,7 @@ class be {
6149
6122
  "internal-error"
6150
6123
  /* AuthErrorCode.INTERNAL_ERROR */
6151
6124
  ), Ee(p, e.name), Ee(B, e.name), M(
6152
- typeof v == "boolean",
6125
+ typeof w == "boolean",
6153
6126
  e,
6154
6127
  "internal-error"
6155
6128
  /* AuthErrorCode.INTERNAL_ERROR */
@@ -6158,16 +6131,16 @@ class be {
6158
6131
  e,
6159
6132
  "internal-error"
6160
6133
  /* AuthErrorCode.INTERNAL_ERROR */
6161
- ), Ee(w, e.name), Ee(P, e.name), Ee(I, e.name), Ee(V, e.name), Ee(R, e.name), Ee(Q, e.name);
6134
+ ), Ee(v, e.name), Ee(P, e.name), Ee(I, e.name), Ee(V, e.name), Ee(R, e.name), Ee(Q, e.name);
6162
6135
  const u = new be({
6163
6136
  uid: Y,
6164
6137
  auth: e,
6165
6138
  email: B,
6166
- emailVerified: v,
6139
+ emailVerified: w,
6167
6140
  displayName: p,
6168
6141
  isAnonymous: H,
6169
6142
  photoURL: P,
6170
- phoneNumber: w,
6143
+ phoneNumber: v,
6171
6144
  tenantId: I,
6172
6145
  stsTokenManager: q,
6173
6146
  createdAt: R,
@@ -6189,7 +6162,7 @@ class be {
6189
6162
  stsTokenManager: s,
6190
6163
  isAnonymous: r
6191
6164
  });
6192
- return await Lt(i), i;
6165
+ return await Zt(i), i;
6193
6166
  }
6194
6167
  /**
6195
6168
  * Initialize a User from an idToken server response
@@ -6241,11 +6214,11 @@ class be {
6241
6214
  * See the License for the specific language governing permissions and
6242
6215
  * limitations under the License.
6243
6216
  */
6244
- const wr = /* @__PURE__ */ new Map();
6245
- function ve(t) {
6217
+ const vr = /* @__PURE__ */ new Map();
6218
+ function we(t) {
6246
6219
  De(t instanceof Function, "Expected a class definition");
6247
- let e = wr.get(t);
6248
- return e ? (De(e instanceof t, "Instance stored in cache mismatched with class"), e) : (e = new t(), wr.set(t, e), e);
6220
+ let e = vr.get(t);
6221
+ return e ? (De(e instanceof t, "Instance stored in cache mismatched with class"), e) : (e = new t(), vr.set(t, e), e);
6249
6222
  }
6250
6223
  /**
6251
6224
  * @license
@@ -6303,14 +6276,14 @@ const Br = ni;
6303
6276
  * See the License for the specific language governing permissions and
6304
6277
  * limitations under the License.
6305
6278
  */
6306
- function Ht(t, e, n) {
6279
+ function Nt(t, e, n) {
6307
6280
  return `firebase:${t}:${e}:${n}`;
6308
6281
  }
6309
6282
  class tt {
6310
6283
  constructor(e, n, r) {
6311
6284
  this.persistence = e, this.auth = n, this.userKey = r;
6312
6285
  const { config: s, name: i } = this.auth;
6313
- this.fullUserKey = Ht(this.userKey, s.apiKey, i), this.fullPersistenceKey = Ht("persistence", s.apiKey, i), this.boundEventHandler = n._onStorageEvent.bind(n), this.persistence._addListener(this.fullUserKey, this.boundEventHandler);
6286
+ this.fullUserKey = Nt(this.userKey, s.apiKey, i), this.fullPersistenceKey = Nt("persistence", s.apiKey, i), this.boundEventHandler = n._onStorageEvent.bind(n), this.persistence._addListener(this.fullUserKey, this.boundEventHandler);
6314
6287
  }
6315
6288
  setCurrentUser(e) {
6316
6289
  return this.persistence._set(this.fullUserKey, e.toJSON());
@@ -6337,13 +6310,13 @@ class tt {
6337
6310
  }
6338
6311
  static async create(e, n, r = "authUser") {
6339
6312
  if (!n.length)
6340
- return new tt(ve(Br), e, r);
6313
+ return new tt(we(Br), e, r);
6341
6314
  const s = (await Promise.all(n.map(async (A) => {
6342
6315
  if (await A._isAvailable())
6343
6316
  return A;
6344
6317
  }))).filter((A) => A);
6345
- let i = s[0] || ve(Br);
6346
- const a = Ht(r, e.config.apiKey, e.name);
6318
+ let i = s[0] || we(Br);
6319
+ const a = Nt(r, e.config.apiKey, e.name);
6347
6320
  let c = null;
6348
6321
  for (const A of n)
6349
6322
  try {
@@ -6476,7 +6449,7 @@ function Ai(t, e = []) {
6476
6449
  n = t;
6477
6450
  }
6478
6451
  const r = e.length ? e.join(",") : "FirebaseCore-web";
6479
- return `${n}/JsCore/${Tt}/${r}`;
6452
+ return `${n}/JsCore/${Ot}/${r}`;
6480
6453
  }
6481
6454
  /**
6482
6455
  * @license
@@ -6661,7 +6634,7 @@ class Su {
6661
6634
  this.app = e, this.heartbeatServiceProvider = n, this.appCheckServiceProvider = r, this.config = s, this.currentUser = null, this.emulatorConfig = null, this.operations = Promise.resolve(), this.authStateSubscription = new Cr(this), this.idTokenSubscription = new Cr(this), this.beforeStateQueue = new Nu(this), this.redirectUser = null, this.isProactiveRefreshEnabled = !1, this.EXPECTED_PASSWORD_POLICY_SCHEMA_VERSION = 1, this._canInitEmulator = !0, this._isInitialized = !1, this._deleted = !1, this._initializationPromise = null, this._popupRedirectResolver = null, this._errorFactory = Zs, this._agentRecaptchaConfig = null, this._tenantRecaptchaConfigs = {}, this._projectPasswordPolicy = null, this._tenantPasswordPolicies = {}, this.lastNotifiedUid = void 0, this.languageCode = null, this.tenantId = null, this.settings = { appVerificationDisabledForTesting: !1 }, this.frameworks = [], this.name = e.name, this.clientVersion = s.sdkClientVersion;
6662
6635
  }
6663
6636
  _initializeWithPersistence(e, n) {
6664
- return n && (this._popupRedirectResolver = ve(n)), this._initializationPromise = this.queue(async () => {
6637
+ return n && (this._popupRedirectResolver = we(n)), this._initializationPromise = this.queue(async () => {
6665
6638
  var r, s;
6666
6639
  if (!this._deleted && (this.persistenceManager = await tt.create(this, e), !this._deleted)) {
6667
6640
  if (!((r = this._popupRedirectResolver) === null || r === void 0) && r._shouldInitProactively)
@@ -6744,7 +6717,7 @@ class Su {
6744
6717
  }
6745
6718
  async reloadAndSetCurrentUserOrClear(e) {
6746
6719
  try {
6747
- await Lt(e);
6720
+ await Zt(e);
6748
6721
  } catch (n) {
6749
6722
  if ((n == null ? void 0 : n.code) !== "auth/network-request-failed")
6750
6723
  return this.directlySetCurrentUser(null);
@@ -6788,7 +6761,7 @@ class Su {
6788
6761
  }
6789
6762
  setPersistence(e) {
6790
6763
  return pe(this.app) ? Promise.reject(Re(this)) : this.queue(async () => {
6791
- await this.assertedPersistence.setPersistence(ve(e));
6764
+ await this.assertedPersistence.setPersistence(we(e));
6792
6765
  });
6793
6766
  }
6794
6767
  _getRecaptchaConfig() {
@@ -6810,7 +6783,7 @@ class Su {
6810
6783
  return this.assertedPersistence.persistence.type;
6811
6784
  }
6812
6785
  _updateErrorMap(e) {
6813
- this._errorFactory = new Pt("auth", "Firebase", e());
6786
+ this._errorFactory = new It("auth", "Firebase", e());
6814
6787
  }
6815
6788
  onAuthStateChanged(e, n, r) {
6816
6789
  return this.registerStateListener(this.authStateSubscription, e, n, r);
@@ -6861,7 +6834,7 @@ class Su {
6861
6834
  }
6862
6835
  async getOrInitRedirectPersistenceManager(e) {
6863
6836
  if (!this.redirectPersistenceManager) {
6864
- const n = e && ve(e) || this._popupRedirectResolver;
6837
+ const n = e && we(e) || this._popupRedirectResolver;
6865
6838
  M(
6866
6839
  n,
6867
6840
  this,
@@ -6869,7 +6842,7 @@ class Su {
6869
6842
  /* AuthErrorCode.ARGUMENT_ERROR */
6870
6843
  ), this.redirectPersistenceManager = await tt.create(
6871
6844
  this,
6872
- [ve(n._redirectPersistence)],
6845
+ [we(n._redirectPersistence)],
6873
6846
  "redirectUser"
6874
6847
  /* KeyName.REDIRECT_USER */
6875
6848
  ), this.redirectUser = await this.redirectPersistenceManager.getCurrentUser();
@@ -7061,7 +7034,7 @@ function Lu(t, e) {
7061
7034
  const n = Xs(t, "auth");
7062
7035
  if (n.isInitialized()) {
7063
7036
  const s = n.getImmediate(), i = n.getOptions();
7064
- if (Wt(i, e ?? {}))
7037
+ if (Ut(i, e ?? {}))
7065
7038
  return s;
7066
7039
  Be(
7067
7040
  s,
@@ -7072,7 +7045,7 @@ function Lu(t, e) {
7072
7045
  return n.initialize({ options: e });
7073
7046
  }
7074
7047
  function Ku(t, e) {
7075
- const n = (e == null ? void 0 : e.persistence) || [], r = (Array.isArray(n) ? n : [n]).map(ve);
7048
+ const n = (e == null ? void 0 : e.persistence) || [], r = (Array.isArray(n) ? n : [n]).map(we);
7076
7049
  e != null && e.errorMap && t._updateErrorMap(e.errorMap), t._initializeWithPersistence(r, e == null ? void 0 : e.popupRedirectResolver);
7077
7050
  }
7078
7051
  function Ju(t, e, n) {
@@ -7268,7 +7241,7 @@ class Ze extends hi {
7268
7241
  e.pendingToken = this.pendingToken;
7269
7242
  else {
7270
7243
  const n = {};
7271
- this.idToken && (n.id_token = this.idToken), this.accessToken && (n.access_token = this.accessToken), this.secret && (n.oauth_token_secret = this.secret), n.providerId = this.providerId, this.nonce && !this.pendingToken && (n.nonce = this.nonce), e.postBody = Ot(n);
7244
+ this.idToken && (n.id_token = this.idToken), this.accessToken && (n.access_token = this.accessToken), this.secret && (n.oauth_token_secret = this.secret), n.providerId = this.providerId, this.nonce && !this.pendingToken && (n.nonce = this.nonce), e.postBody = Pt(n);
7272
7245
  }
7273
7246
  return e;
7274
7247
  }
@@ -7342,7 +7315,7 @@ class mi {
7342
7315
  * See the License for the specific language governing permissions and
7343
7316
  * limitations under the License.
7344
7317
  */
7345
- class jt extends mi {
7318
+ class Gt extends mi {
7346
7319
  constructor() {
7347
7320
  super(...arguments), this.scopes = [];
7348
7321
  }
@@ -7377,7 +7350,7 @@ class jt extends mi {
7377
7350
  * See the License for the specific language governing permissions and
7378
7351
  * limitations under the License.
7379
7352
  */
7380
- class Ie extends jt {
7353
+ class Ie extends Gt {
7381
7354
  constructor() {
7382
7355
  super(
7383
7356
  "facebook.com"
@@ -7448,7 +7421,7 @@ Ie.PROVIDER_ID = "facebook.com";
7448
7421
  * See the License for the specific language governing permissions and
7449
7422
  * limitations under the License.
7450
7423
  */
7451
- class Pe extends jt {
7424
+ class Pe extends Gt {
7452
7425
  constructor() {
7453
7426
  super(
7454
7427
  "google.com"
@@ -7524,7 +7497,7 @@ Pe.PROVIDER_ID = "google.com";
7524
7497
  * See the License for the specific language governing permissions and
7525
7498
  * limitations under the License.
7526
7499
  */
7527
- class Oe extends jt {
7500
+ class Oe extends Gt {
7528
7501
  constructor() {
7529
7502
  super(
7530
7503
  "github.com"
@@ -7588,7 +7561,7 @@ Oe.PROVIDER_ID = "github.com";
7588
7561
  * See the License for the specific language governing permissions and
7589
7562
  * limitations under the License.
7590
7563
  */
7591
- class Te extends jt {
7564
+ class Te extends Gt {
7592
7565
  constructor() {
7593
7566
  super(
7594
7567
  "twitter.com"
@@ -7704,10 +7677,10 @@ function Mr(t) {
7704
7677
  * See the License for the specific language governing permissions and
7705
7678
  * limitations under the License.
7706
7679
  */
7707
- class Kt extends qe {
7680
+ class Lt extends qe {
7708
7681
  constructor(e, n, r, s) {
7709
7682
  var i;
7710
- super(n.code, n.message), this.operationType = r, this.user = s, Object.setPrototypeOf(this, Kt.prototype), this.customData = {
7683
+ super(n.code, n.message), this.operationType = r, this.user = s, Object.setPrototypeOf(this, Lt.prototype), this.customData = {
7711
7684
  appName: e.name,
7712
7685
  tenantId: (i = e.tenantId) !== null && i !== void 0 ? i : void 0,
7713
7686
  _serverResponse: n.customData._serverResponse,
@@ -7715,16 +7688,16 @@ class Kt extends qe {
7715
7688
  };
7716
7689
  }
7717
7690
  static _fromErrorAndOperation(e, n, r, s) {
7718
- return new Kt(e, n, r, s);
7691
+ return new Lt(e, n, r, s);
7719
7692
  }
7720
7693
  }
7721
7694
  function fi(t, e, n, r) {
7722
7695
  return (e === "reauthenticate" ? n._getReauthenticationResolver(t) : n._getIdTokenResponse(t)).catch((i) => {
7723
- throw i.code === "auth/multi-factor-auth-required" ? Kt._fromErrorAndOperation(t, i, e, r) : i;
7696
+ throw i.code === "auth/multi-factor-auth-required" ? Lt._fromErrorAndOperation(t, i, e, r) : i;
7724
7697
  });
7725
7698
  }
7726
7699
  async function tl(t, e, n = !1) {
7727
- const r = await Bt(t, e._linkToIdToken(t.auth, await t.getIdToken()), n);
7700
+ const r = await vt(t, e._linkToIdToken(t.auth, await t.getIdToken()), n);
7728
7701
  return Le._forOperation(t, "link", r);
7729
7702
  }
7730
7703
  /**
@@ -7749,7 +7722,7 @@ async function nl(t, e, n = !1) {
7749
7722
  return Promise.reject(Re(r));
7750
7723
  const s = "reauthenticate";
7751
7724
  try {
7752
- const i = await Bt(t, fi(r, s, e, t), n);
7725
+ const i = await vt(t, fi(r, s, e, t), n);
7753
7726
  M(
7754
7727
  i.idToken,
7755
7728
  r,
@@ -7850,7 +7823,7 @@ function al(t, e, n, r) {
7850
7823
  function ol(t, e, n) {
7851
7824
  return ht(t).beforeAuthStateChanged(e, n);
7852
7825
  }
7853
- const Jt = "__sak";
7826
+ const Kt = "__sak";
7854
7827
  /**
7855
7828
  * @license
7856
7829
  * Copyright 2019 Google LLC
@@ -7873,7 +7846,7 @@ class gi {
7873
7846
  }
7874
7847
  _isAvailable() {
7875
7848
  try {
7876
- return this.storage ? (this.storage.setItem(Jt, "1"), this.storage.removeItem(Jt), Promise.resolve(!0)) : Promise.resolve(!1);
7849
+ return this.storage ? (this.storage.setItem(Kt, "1"), this.storage.removeItem(Kt), Promise.resolve(!0)) : Promise.resolve(!1);
7877
7850
  } catch {
7878
7851
  return Promise.resolve(!1);
7879
7852
  }
@@ -8293,7 +8266,7 @@ function hl(t) {
8293
8266
  * See the License for the specific language governing permissions and
8294
8267
  * limitations under the License.
8295
8268
  */
8296
- function vi() {
8269
+ function wi() {
8297
8270
  return typeof de().WorkerGlobalScope < "u" && typeof de().importScripts == "function";
8298
8271
  }
8299
8272
  async function ml() {
@@ -8310,7 +8283,7 @@ function fl() {
8310
8283
  return ((t = navigator == null ? void 0 : navigator.serviceWorker) === null || t === void 0 ? void 0 : t.controller) || null;
8311
8284
  }
8312
8285
  function gl() {
8313
- return vi() ? self : null;
8286
+ return wi() ? self : null;
8314
8287
  }
8315
8288
  /**
8316
8289
  * @license
@@ -8328,8 +8301,8 @@ function gl() {
8328
8301
  * See the License for the specific language governing permissions and
8329
8302
  * limitations under the License.
8330
8303
  */
8331
- const wi = "firebaseLocalStorageDb", pl = 1, _t = "firebaseLocalStorage", Bi = "fbase_key";
8332
- class Yt {
8304
+ const vi = "firebaseLocalStorageDb", pl = 1, Jt = "firebaseLocalStorage", Bi = "fbase_key";
8305
+ class jt {
8333
8306
  constructor(e) {
8334
8307
  this.request = e;
8335
8308
  }
@@ -8344,27 +8317,27 @@ class Yt {
8344
8317
  }
8345
8318
  }
8346
8319
  function cn(t, e) {
8347
- return t.transaction([_t], e ? "readwrite" : "readonly").objectStore(_t);
8320
+ return t.transaction([Jt], e ? "readwrite" : "readonly").objectStore(Jt);
8348
8321
  }
8349
8322
  function yl() {
8350
- const t = indexedDB.deleteDatabase(wi);
8351
- return new Yt(t).toPromise();
8323
+ const t = indexedDB.deleteDatabase(vi);
8324
+ return new jt(t).toPromise();
8352
8325
  }
8353
8326
  function jn() {
8354
- const t = indexedDB.open(wi, pl);
8327
+ const t = indexedDB.open(vi, pl);
8355
8328
  return new Promise((e, n) => {
8356
8329
  t.addEventListener("error", () => {
8357
8330
  n(t.error);
8358
8331
  }), t.addEventListener("upgradeneeded", () => {
8359
8332
  const r = t.result;
8360
8333
  try {
8361
- r.createObjectStore(_t, { keyPath: Bi });
8334
+ r.createObjectStore(Jt, { keyPath: Bi });
8362
8335
  } catch (s) {
8363
8336
  n(s);
8364
8337
  }
8365
8338
  }), t.addEventListener("success", async () => {
8366
8339
  const r = t.result;
8367
- r.objectStoreNames.contains(_t) ? e(r) : (r.close(), await yl(), e(await jn()));
8340
+ r.objectStoreNames.contains(Jt) ? e(r) : (r.close(), await yl(), e(await jn()));
8368
8341
  });
8369
8342
  });
8370
8343
  }
@@ -8373,17 +8346,17 @@ async function Ir(t, e, n) {
8373
8346
  [Bi]: e,
8374
8347
  value: n
8375
8348
  });
8376
- return new Yt(r).toPromise();
8349
+ return new jt(r).toPromise();
8377
8350
  }
8378
8351
  async function bl(t, e) {
8379
- const n = cn(t, !1).get(e), r = await new Yt(n).toPromise();
8352
+ const n = cn(t, !1).get(e), r = await new jt(n).toPromise();
8380
8353
  return r === void 0 ? null : r.value;
8381
8354
  }
8382
8355
  function Pr(t, e) {
8383
8356
  const n = cn(t, !0).delete(e);
8384
- return new Yt(n).toPromise();
8357
+ return new jt(n).toPromise();
8385
8358
  }
8386
- const vl = 800, wl = 3;
8359
+ const wl = 800, vl = 3;
8387
8360
  class Di {
8388
8361
  constructor() {
8389
8362
  this.type = "LOCAL", this._shouldAllowMigration = !0, this.listeners = {}, this.localCache = {}, this.pollTimer = null, this.pendingWrites = 0, this.receiver = null, this.sender = null, this.serviceWorkerReceiverAvailable = !1, this.activeServiceWorker = null, this._workerInitializationPromise = this.initializeServiceWorkerMessaging().then(() => {
@@ -8400,7 +8373,7 @@ class Di {
8400
8373
  const r = await this._openDb();
8401
8374
  return await e(r);
8402
8375
  } catch (r) {
8403
- if (n++ > wl)
8376
+ if (n++ > vl)
8404
8377
  throw r;
8405
8378
  this.db && (this.db.close(), this.db = void 0);
8406
8379
  }
@@ -8410,7 +8383,7 @@ class Di {
8410
8383
  * postMessage interface to send these events to the worker ourselves.
8411
8384
  */
8412
8385
  async initializeServiceWorkerMessaging() {
8413
- return vi() ? this.initializeReceiver() : this.initializeSender();
8386
+ return wi() ? this.initializeReceiver() : this.initializeSender();
8414
8387
  }
8415
8388
  /**
8416
8389
  * As the worker we should listen to events from the main window.
@@ -8473,7 +8446,7 @@ class Di {
8473
8446
  if (!indexedDB)
8474
8447
  return !1;
8475
8448
  const e = await jn();
8476
- return await Ir(e, Jt, "1"), await Pr(e, Jt), !0;
8449
+ return await Ir(e, Kt, "1"), await Pr(e, Kt), !0;
8477
8450
  } catch {
8478
8451
  }
8479
8452
  return !1;
@@ -8499,7 +8472,7 @@ class Di {
8499
8472
  async _poll() {
8500
8473
  const e = await this._withRetries((s) => {
8501
8474
  const i = cn(s, !1).getAll();
8502
- return new Yt(i).toPromise();
8475
+ return new jt(i).toPromise();
8503
8476
  });
8504
8477
  if (!e)
8505
8478
  return [];
@@ -8521,7 +8494,7 @@ class Di {
8521
8494
  s(n);
8522
8495
  }
8523
8496
  startPolling() {
8524
- this.stopPolling(), this.pollTimer = setInterval(async () => this._poll(), vl);
8497
+ this.stopPolling(), this.pollTimer = setInterval(async () => this._poll(), wl);
8525
8498
  }
8526
8499
  stopPolling() {
8527
8500
  this.pollTimer && (clearInterval(this.pollTimer), this.pollTimer = null);
@@ -8535,7 +8508,7 @@ class Di {
8535
8508
  }
8536
8509
  Di.type = "LOCAL";
8537
8510
  const Bl = Di;
8538
- new Gt(3e4, 6e4);
8511
+ new Tt(3e4, 6e4);
8539
8512
  /**
8540
8513
  * @license
8541
8514
  * Copyright 2021 Google LLC
@@ -8553,7 +8526,7 @@ new Gt(3e4, 6e4);
8553
8526
  * limitations under the License.
8554
8527
  */
8555
8528
  function Dl(t, e) {
8556
- return e ? ve(e) : (M(
8529
+ return e ? we(e) : (M(
8557
8530
  t._popupRedirectResolver,
8558
8531
  t,
8559
8532
  "argument-error"
@@ -8726,7 +8699,7 @@ class Ci {
8726
8699
  * See the License for the specific language governing permissions and
8727
8700
  * limitations under the License.
8728
8701
  */
8729
- const Il = new Gt(2e3, 1e4);
8702
+ const Il = new Tt(2e3, 1e4);
8730
8703
  class _e extends Ci {
8731
8704
  constructor(e, n, r, s, i) {
8732
8705
  super(e, n, s, i), this.provider = r, this.authWindow = null, this.pollId = null, _e.currentPopupAction && _e.currentPopupAction.cancel(), _e.currentPopupAction = this;
@@ -8812,7 +8785,7 @@ _e.currentPopupAction = null;
8812
8785
  * See the License for the specific language governing permissions and
8813
8786
  * limitations under the License.
8814
8787
  */
8815
- const Pl = "pendingRedirect", Qt = /* @__PURE__ */ new Map();
8788
+ const Pl = "pendingRedirect", Ht = /* @__PURE__ */ new Map();
8816
8789
  class Ol extends Ci {
8817
8790
  constructor(e, n, r = !1) {
8818
8791
  super(e, [
@@ -8828,7 +8801,7 @@ class Ol extends Ci {
8828
8801
  * just return it.
8829
8802
  */
8830
8803
  async execute() {
8831
- let e = Qt.get(this.auth._key());
8804
+ let e = Ht.get(this.auth._key());
8832
8805
  if (!e) {
8833
8806
  try {
8834
8807
  const r = await Tl(this.resolver, this.auth) ? await super.execute() : null;
@@ -8836,9 +8809,9 @@ class Ol extends Ci {
8836
8809
  } catch (n) {
8837
8810
  e = () => Promise.reject(n);
8838
8811
  }
8839
- Qt.set(this.auth._key(), e);
8812
+ Ht.set(this.auth._key(), e);
8840
8813
  }
8841
- return this.bypassAuthState || Qt.set(this.auth._key(), () => Promise.resolve(null)), e();
8814
+ return this.bypassAuthState || Ht.set(this.auth._key(), () => Promise.resolve(null)), e();
8842
8815
  }
8843
8816
  async onAuthEvent(e) {
8844
8817
  if (e.type === "signInViaRedirect")
@@ -8867,13 +8840,13 @@ async function Tl(t, e) {
8867
8840
  return await r._remove(n), s;
8868
8841
  }
8869
8842
  function Gl(t, e) {
8870
- Qt.set(t._key(), e);
8843
+ Ht.set(t._key(), e);
8871
8844
  }
8872
8845
  function jl(t) {
8873
- return ve(t._redirectPersistence);
8846
+ return we(t._redirectPersistence);
8874
8847
  }
8875
8848
  function Yl(t) {
8876
- return Ht(Pl, t.config.apiKey, t.name);
8849
+ return Nt(Pl, t.config.apiKey, t.name);
8877
8850
  }
8878
8851
  async function Vl(t, e, n = !1) {
8879
8852
  if (pe(t.app))
@@ -9034,7 +9007,7 @@ function Ql(t) {
9034
9007
  * See the License for the specific language governing permissions and
9035
9008
  * limitations under the License.
9036
9009
  */
9037
- const Xl = new Gt(3e4, 6e4);
9010
+ const Xl = new Tt(3e4, 6e4);
9038
9011
  function Tr() {
9039
9012
  const t = de().___jsl;
9040
9013
  if (t != null && t.H) {
@@ -9077,12 +9050,12 @@ function Sl(t) {
9077
9050
  }, Wu(`${zu()}?onload=${c}`).catch((l) => n(l));
9078
9051
  }
9079
9052
  }).catch((e) => {
9080
- throw Xt = null, e;
9053
+ throw Qt = null, e;
9081
9054
  });
9082
9055
  }
9083
- let Xt = null;
9056
+ let Qt = null;
9084
9057
  function Ul(t) {
9085
- return Xt = Xt || Sl(t), Xt;
9058
+ return Qt = Qt || Sl(t), Qt;
9086
9059
  }
9087
9060
  /**
9088
9061
  * @license
@@ -9100,7 +9073,7 @@ function Ul(t) {
9100
9073
  * See the License for the specific language governing permissions and
9101
9074
  * limitations under the License.
9102
9075
  */
9103
- const Wl = new Gt(5e3, 15e3), zl = "__/auth/iframe", Zl = "emulator/auth/iframe", Ll = {
9076
+ const Wl = new Tt(5e3, 15e3), zl = "__/auth/iframe", Zl = "emulator/auth/iframe", Ll = {
9104
9077
  style: {
9105
9078
  position: "absolute",
9106
9079
  top: "-100px",
@@ -9126,11 +9099,11 @@ function Jl(t) {
9126
9099
  const n = e.emulator ? Zn(e, Zl) : `https://${t.config.authDomain}/${zl}`, r = {
9127
9100
  apiKey: e.apiKey,
9128
9101
  appName: t.name,
9129
- v: Tt
9102
+ v: Ot
9130
9103
  }, s = Kl.get(t.config.apiHost);
9131
9104
  s && (r.eid = s);
9132
9105
  const i = t._getFrameworks();
9133
- return i.length && (r.fw = i.join(",")), `${n}?${Ot(r).slice(1)}`;
9106
+ return i.length && (r.fw = i.join(",")), `${n}?${Pt(r).slice(1)}`;
9134
9107
  }
9135
9108
  async function _l(t) {
9136
9109
  const e = await Ul(t), n = de().gapi;
@@ -9209,7 +9182,7 @@ function sA(t, e, n, r = eA, s = tA) {
9209
9182
  left: a
9210
9183
  }), A = K().toLowerCase();
9211
9184
  n && (c = ii(A) ? nA : n), ri(A) && (e = e || rA, l.scrollbars = "yes");
9212
- const f = Object.entries(l).reduce((B, [w, P]) => `${B}${w}=${P},`, "");
9185
+ const f = Object.entries(l).reduce((B, [v, P]) => `${B}${v}=${P},`, "");
9213
9186
  if (Ru(A) && c !== "_self")
9214
9187
  return iA(e || "", c), new Gr(null);
9215
9188
  const p = window.open(e || "", c, f);
@@ -9265,7 +9238,7 @@ async function jr(t, e, n, r, s, i) {
9265
9238
  appName: t.name,
9266
9239
  authType: n,
9267
9240
  redirectUrl: r,
9268
- v: Tt,
9241
+ v: Ot,
9269
9242
  eventId: s
9270
9243
  };
9271
9244
  if (e instanceof mi) {
@@ -9273,7 +9246,7 @@ async function jr(t, e, n, r, s, i) {
9273
9246
  for (const [f, p] of Object.entries({}))
9274
9247
  a[f] = p;
9275
9248
  }
9276
- if (e instanceof jt) {
9249
+ if (e instanceof Gt) {
9277
9250
  const f = e.getScopes().filter((p) => p !== "");
9278
9251
  f.length > 0 && (a.scopes = f.join(","));
9279
9252
  }
@@ -9282,7 +9255,7 @@ async function jr(t, e, n, r, s, i) {
9282
9255
  for (const f of Object.keys(c))
9283
9256
  c[f] === void 0 && delete c[f];
9284
9257
  const l = await t._getAppCheckToken(), A = l ? `#${cA}=${encodeURIComponent(l)}` : "";
9285
- return `${uA(t)}?${Ot(c).slice(1)}${A}`;
9258
+ return `${uA(t)}?${Pt(c).slice(1)}${A}`;
9286
9259
  }
9287
9260
  function uA({ config: t }) {
9288
9261
  return t.emulator ? Zn(t, oA) : `https://${t.authDomain}/${aA}`;
@@ -9450,7 +9423,7 @@ function hA(t) {
9450
9423
  }
9451
9424
  }
9452
9425
  function mA(t) {
9453
- vt(new dt(
9426
+ bt(new dt(
9454
9427
  "auth",
9455
9428
  (e, { options: n }) => {
9456
9429
  const r = e.getProvider("app").getImmediate(), s = e.getProvider("heartbeat"), i = e.getProvider("app-check-internal"), { apiKey: a, authDomain: c } = r.options;
@@ -9476,7 +9449,7 @@ function mA(t) {
9476
9449
  "auth-internal"
9477
9450
  /* _ComponentName.AUTH_INTERNAL */
9478
9451
  ).initialize();
9479
- })), vt(new dt(
9452
+ })), bt(new dt(
9480
9453
  "auth-internal",
9481
9454
  (e) => {
9482
9455
  const n = an(e.getProvider(
@@ -9585,7 +9558,7 @@ var un = class {
9585
9558
  }
9586
9559
  onUnsubscribe() {
9587
9560
  }
9588
- }, He, Ge, rt, Xr, vA = (Xr = class extends un {
9561
+ }, He, Ge, rt, Xr, wA = (Xr = class extends un {
9589
9562
  constructor() {
9590
9563
  super();
9591
9564
  G(this, He);
@@ -9626,7 +9599,7 @@ var un = class {
9626
9599
  var e;
9627
9600
  return typeof h(this, He) == "boolean" ? h(this, He) : ((e = globalThis.document) == null ? void 0 : e.visibilityState) !== "hidden";
9628
9601
  }
9629
- }, He = new WeakMap(), Ge = new WeakMap(), rt = new WeakMap(), Xr), Mi = new vA(), wA = {
9602
+ }, He = new WeakMap(), Ge = new WeakMap(), rt = new WeakMap(), Xr), Mi = new wA(), vA = {
9630
9603
  // We need the wrapper function syntax below instead of direct references to
9631
9604
  // global setTimeout etc.
9632
9605
  //
@@ -9650,7 +9623,7 @@ var un = class {
9650
9623
  //
9651
9624
  // We settle for type safety for the TimeoutProvider type, and accept that
9652
9625
  // this class is unsafe internally to allow for extension.
9653
- G(this, oe, wA);
9626
+ G(this, oe, vA);
9654
9627
  G(this, Qe, !1);
9655
9628
  }
9656
9629
  setTimeoutProvider(t) {
@@ -9706,7 +9679,7 @@ function Fr(t, e) {
9706
9679
  if (r) {
9707
9680
  if (e.queryHash !== er(a, e.options))
9708
9681
  return !1;
9709
- } else if (!Ct(e.queryKey, a))
9682
+ } else if (!Dt(e.queryKey, a))
9710
9683
  return !1;
9711
9684
  }
9712
9685
  if (n !== "all") {
@@ -9722,24 +9695,24 @@ function kr(t, e) {
9722
9695
  if (!e.options.mutationKey)
9723
9696
  return !1;
9724
9697
  if (n) {
9725
- if (Dt(e.options.mutationKey) !== Dt(i))
9698
+ if (Bt(e.options.mutationKey) !== Bt(i))
9726
9699
  return !1;
9727
- } else if (!Ct(e.options.mutationKey, i))
9700
+ } else if (!Dt(e.options.mutationKey, i))
9728
9701
  return !1;
9729
9702
  }
9730
9703
  return !(r && e.state.status !== r || s && !s(e));
9731
9704
  }
9732
9705
  function er(t, e) {
9733
- return ((e == null ? void 0 : e.queryKeyHashFn) || Dt)(t);
9706
+ return ((e == null ? void 0 : e.queryKeyHashFn) || Bt)(t);
9734
9707
  }
9735
- function Dt(t) {
9708
+ function Bt(t) {
9736
9709
  return JSON.stringify(
9737
9710
  t,
9738
9711
  (e, n) => Fn(n) ? Object.keys(n).sort().reduce((r, s) => (r[s] = n[s], r), {}) : n
9739
9712
  );
9740
9713
  }
9741
- function Ct(t, e) {
9742
- return t === e ? !0 : typeof t != typeof e ? !1 : t && e && typeof t == "object" && typeof e == "object" ? Object.keys(e).every((n) => Ct(t[n], e[n])) : !1;
9714
+ function Dt(t, e) {
9715
+ return t === e ? !0 : typeof t != typeof e ? !1 : t && e && typeof t == "object" && typeof e == "object" ? Object.keys(e).every((n) => Dt(t[n], e[n])) : !1;
9743
9716
  }
9744
9717
  var OA = Object.prototype.hasOwnProperty;
9745
9718
  function xn(t, e, n = 0) {
@@ -9751,16 +9724,16 @@ function xn(t, e, n = 0) {
9751
9724
  const i = (r ? t : Object.keys(t)).length, a = r ? e : Object.keys(e), c = a.length, l = r ? new Array(c) : {};
9752
9725
  let A = 0;
9753
9726
  for (let f = 0; f < c; f++) {
9754
- const p = r ? f : a[f], B = t[p], w = e[p];
9755
- if (B === w) {
9727
+ const p = r ? f : a[f], B = t[p], v = e[p];
9728
+ if (B === v) {
9756
9729
  l[p] = B, (r ? f < i : OA.call(t, p)) && A++;
9757
9730
  continue;
9758
9731
  }
9759
- if (B === null || w === null || typeof B != "object" || typeof w != "object") {
9760
- l[p] = w;
9732
+ if (B === null || v === null || typeof B != "object" || typeof v != "object") {
9733
+ l[p] = v;
9761
9734
  continue;
9762
9735
  }
9763
- const P = xn(B, w, n + 1);
9736
+ const P = xn(B, v, n + 1);
9764
9737
  l[p] = P, P === B && A++;
9765
9738
  }
9766
9739
  return i === c && A === i ? t : l;
@@ -9820,11 +9793,11 @@ function YA(t, e, n = 0) {
9820
9793
  const r = [e, ...t];
9821
9794
  return n && r.length > n ? r.slice(0, -1) : r;
9822
9795
  }
9823
- var $t = /* @__PURE__ */ Symbol();
9796
+ var _t = /* @__PURE__ */ Symbol();
9824
9797
  function Ii(t, e) {
9825
- return process.env.NODE_ENV !== "production" && t.queryFn === $t && console.error(
9798
+ return process.env.NODE_ENV !== "production" && t.queryFn === _t && console.error(
9826
9799
  `Attempted to invoke queryFn when set to skipToken. This is likely a configuration error. Query hash: '${t.queryHash}'`
9827
- ), !t.queryFn && (e != null && e.initialPromise) ? () => e.initialPromise : !t.queryFn || t.queryFn === $t ? () => Promise.reject(new Error(`Missing queryFn: '${t.queryHash}'`)) : t.queryFn;
9800
+ ), !t.queryFn && (e != null && e.initialPromise) ? () => e.initialPromise : !t.queryFn || t.queryFn === _t ? () => Promise.reject(new Error(`Missing queryFn: '${t.queryHash}'`)) : t.queryFn;
9828
9801
  }
9829
9802
  function hd(t, e) {
9830
9803
  return typeof t == "function" ? t(...e) : !!t;
@@ -9969,12 +9942,12 @@ var L = kA(), st, je, it, Ur, RA = (Ur = class extends un {
9969
9942
  isOnline() {
9970
9943
  return h(this, st);
9971
9944
  }
9972
- }, st = new WeakMap(), je = new WeakMap(), it = new WeakMap(), Ur), en = new RA();
9945
+ }, st = new WeakMap(), je = new WeakMap(), it = new WeakMap(), Ur), $t = new RA();
9973
9946
  function qA(t) {
9974
9947
  return Math.min(1e3 * 2 ** t, 3e4);
9975
9948
  }
9976
9949
  function Oi(t) {
9977
- return (t ?? "online") === "online" ? en.isOnline() : !0;
9950
+ return (t ?? "online") === "online" ? $t.isOnline() : !0;
9978
9951
  }
9979
9952
  var kn = class extends Error {
9980
9953
  constructor(t) {
@@ -9993,11 +9966,11 @@ function Ti(t) {
9993
9966
  e = !0;
9994
9967
  }, l = () => {
9995
9968
  e = !1;
9996
- }, A = () => Mi.isFocused() && (t.networkMode === "always" || en.isOnline()) && t.canRun(), f = () => Oi(t.networkMode) && t.canRun(), p = (I) => {
9969
+ }, A = () => Mi.isFocused() && (t.networkMode === "always" || $t.isOnline()) && t.canRun(), f = () => Oi(t.networkMode) && t.canRun(), p = (I) => {
9997
9970
  i() || (r == null || r(), s.resolve(I));
9998
9971
  }, B = (I) => {
9999
9972
  i() || (r == null || r(), s.reject(I));
10000
- }, w = () => new Promise((I) => {
9973
+ }, v = () => new Promise((I) => {
10001
9974
  var V;
10002
9975
  r = (R) => {
10003
9976
  (i() || A()) && I(R);
@@ -10019,12 +9992,12 @@ function Ti(t) {
10019
9992
  var U;
10020
9993
  if (i())
10021
9994
  return;
10022
- const Q = t.retry ?? (Pi.isServer() ? 0 : 3), Y = t.retryDelay ?? qA, v = typeof Y == "function" ? Y(n, R) : Y, H = Q === !0 || typeof Q == "number" && n < Q || typeof Q == "function" && Q(n, R);
9995
+ const Q = t.retry ?? (Pi.isServer() ? 0 : 3), Y = t.retryDelay ?? qA, w = typeof Y == "function" ? Y(n, R) : Y, H = Q === !0 || typeof Q == "number" && n < Q || typeof Q == "function" && Q(n, R);
10023
9996
  if (e || !H) {
10024
9997
  B(R);
10025
9998
  return;
10026
9999
  }
10027
- n++, (U = t.onFail) == null || U.call(t, n, R), TA(v).then(() => A() ? void 0 : w()).then(() => {
10000
+ n++, (U = t.onFail) == null || U.call(t, n, R), TA(w).then(() => A() ? void 0 : v()).then(() => {
10028
10001
  e ? B(R) : P();
10029
10002
  });
10030
10003
  });
@@ -10037,7 +10010,7 @@ function Ti(t) {
10037
10010
  cancelRetry: c,
10038
10011
  continueRetry: l,
10039
10012
  canStart: f,
10040
- start: () => (f() ? P() : w().then(P), s)
10013
+ start: () => (f() ? P() : v().then(P), s)
10041
10014
  };
10042
10015
  }
10043
10016
  var Xe, Wr, Gi = (Wr = class {
@@ -10065,8 +10038,8 @@ var Xe, Wr, Gi = (Wr = class {
10065
10038
  function NA(t) {
10066
10039
  return {
10067
10040
  onFetch: (e, n) => {
10068
- var f, p, B, w, P;
10069
- const r = e.options, s = (B = (p = (f = e.fetchOptions) == null ? void 0 : f.meta) == null ? void 0 : p.fetchMore) == null ? void 0 : B.direction, i = ((w = e.state.data) == null ? void 0 : w.pages) || [], a = ((P = e.state.data) == null ? void 0 : P.pageParams) || [];
10041
+ var f, p, B, v, P;
10042
+ const r = e.options, s = (B = (p = (f = e.fetchOptions) == null ? void 0 : f.meta) == null ? void 0 : p.fetchMore) == null ? void 0 : B.direction, i = ((v = e.state.data) == null ? void 0 : v.pages) || [], a = ((P = e.state.data) == null ? void 0 : P.pageParams) || [];
10070
10043
  let c = { pages: [], pageParams: [] }, l = 0;
10071
10044
  const A = async () => {
10072
10045
  let I = !1;
@@ -10076,16 +10049,16 @@ function NA(t) {
10076
10049
  () => e.signal,
10077
10050
  () => I = !0
10078
10051
  );
10079
- }, R = Ii(e.options, e.fetchOptions), Q = async (Y, v, H) => {
10052
+ }, R = Ii(e.options, e.fetchOptions), Q = async (Y, w, H) => {
10080
10053
  if (I)
10081
10054
  return Promise.reject(e.signal.reason);
10082
- if (v == null && Y.pages.length)
10055
+ if (w == null && Y.pages.length)
10083
10056
  return Promise.resolve(Y);
10084
10057
  const ee = (() => {
10085
10058
  const g = {
10086
10059
  client: e.client,
10087
10060
  queryKey: e.queryKey,
10088
- pageParam: v,
10061
+ pageParam: w,
10089
10062
  direction: H ? "backward" : "forward",
10090
10063
  meta: e.options.meta
10091
10064
  };
@@ -10093,22 +10066,22 @@ function NA(t) {
10093
10066
  })(), q = await R(ee), { maxPages: u } = e.options, m = H ? YA : jA;
10094
10067
  return {
10095
10068
  pages: m(Y.pages, q, u),
10096
- pageParams: m(Y.pageParams, v, u)
10069
+ pageParams: m(Y.pageParams, w, u)
10097
10070
  };
10098
10071
  };
10099
10072
  if (s && i.length) {
10100
- const Y = s === "backward", v = Y ? HA : Nr, H = {
10073
+ const Y = s === "backward", w = Y ? HA : Nr, H = {
10101
10074
  pages: i,
10102
10075
  pageParams: a
10103
- }, U = v(r, H);
10076
+ }, U = w(r, H);
10104
10077
  c = await Q(H, U, Y);
10105
10078
  } else {
10106
10079
  const Y = t ?? i.length;
10107
10080
  do {
10108
- const v = l === 0 ? a[0] ?? r.initialPageParam : Nr(r, c);
10109
- if (l > 0 && v == null)
10081
+ const w = l === 0 ? a[0] ?? r.initialPageParam : Nr(r, c);
10082
+ if (l > 0 && w == null)
10110
10083
  break;
10111
- c = await Q(c, v), l++;
10084
+ c = await Q(c, w), l++;
10112
10085
  } while (l < Y);
10113
10086
  }
10114
10087
  return c;
@@ -10143,7 +10116,7 @@ function HA(t, { pages: e, pageParams: n }) {
10143
10116
  var r;
10144
10117
  return e.length > 0 ? (r = t.getPreviousPageParam) == null ? void 0 : r.call(t, e[0], e, n[0], n) : void 0;
10145
10118
  }
10146
- var at, Se, ot, re, Ue, S, Et, We, ne, ji, me, zr, QA = (zr = class extends Gi {
10119
+ var at, Se, ot, re, Ue, S, Ct, We, ne, ji, me, zr, QA = (zr = class extends Gi {
10147
10120
  constructor(e) {
10148
10121
  super();
10149
10122
  G(this, ne);
@@ -10153,9 +10126,9 @@ var at, Se, ot, re, Ue, S, Et, We, ne, ji, me, zr, QA = (zr = class extends Gi {
10153
10126
  G(this, re);
10154
10127
  G(this, Ue);
10155
10128
  G(this, S);
10156
- G(this, Et);
10129
+ G(this, Ct);
10157
10130
  G(this, We);
10158
- D(this, We, !1), D(this, Et, e.defaultOptions), this.setOptions(e.options), this.observers = [], D(this, Ue, e.client), D(this, re, h(this, Ue).getQueryCache()), this.queryKey = e.queryKey, this.queryHash = e.queryHash, D(this, Se, Qr(this.options)), this.state = e.state ?? h(this, Se), this.scheduleGc();
10131
+ D(this, We, !1), D(this, Ct, e.defaultOptions), this.setOptions(e.options), this.observers = [], D(this, Ue, e.client), D(this, re, h(this, Ue).getQueryCache()), this.queryKey = e.queryKey, this.queryHash = e.queryHash, D(this, Se, Qr(this.options)), this.state = e.state ?? h(this, Se), this.scheduleGc();
10159
10132
  }
10160
10133
  get meta() {
10161
10134
  return this.options.meta;
@@ -10168,7 +10141,7 @@ var at, Se, ot, re, Ue, S, Et, We, ne, ji, me, zr, QA = (zr = class extends Gi {
10168
10141
  return (e = h(this, S)) == null ? void 0 : e.promise;
10169
10142
  }
10170
10143
  setOptions(e) {
10171
- if (this.options = { ...h(this, Et), ...e }, e != null && e._type && D(this, at, e._type), this.updateGcTime(this.options.gcTime), this.state && this.state.data === void 0) {
10144
+ if (this.options = { ...h(this, Ct), ...e }, e != null && e._type && D(this, at, e._type), this.updateGcTime(this.options.gcTime), this.state && this.state.data === void 0) {
10172
10145
  const n = Qr(this.options);
10173
10146
  n.data !== void 0 && (this.setState(
10174
10147
  Hr(n.data, n.dataUpdatedAt)
@@ -10210,7 +10183,7 @@ var at, Se, ot, re, Ue, S, Et, We, ne, ji, me, zr, QA = (zr = class extends Gi {
10210
10183
  );
10211
10184
  }
10212
10185
  isDisabled() {
10213
- return this.getObserversCount() > 0 ? !this.isActive() : this.options.queryFn === $t || !this.isFetched();
10186
+ return this.getObserversCount() > 0 ? !this.isActive() : this.options.queryFn === _t || !this.isFetched();
10214
10187
  }
10215
10188
  isFetched() {
10216
10189
  return this.state.dataUpdateCount + this.state.errorUpdateCount > 0;
@@ -10251,7 +10224,7 @@ var at, Se, ot, re, Ue, S, Et, We, ne, ji, me, zr, QA = (zr = class extends Gi {
10251
10224
  this.state.isInvalidated || z(this, ne, me).call(this, { type: "invalidate" });
10252
10225
  }
10253
10226
  async fetch(e, n) {
10254
- var A, f, p, B, w, P, I, V, R, Q, Y;
10227
+ var A, f, p, B, v, P, I, V, R, Q, Y;
10255
10228
  if (this.state.fetchStatus !== "idle" && // If the promise in the retryer is already rejected, we have to definitely
10256
10229
  // re-start the fetch; there is a chance that the query is still in a
10257
10230
  // pending state when that happens
@@ -10262,19 +10235,19 @@ var at, Se, ot, re, Ue, S, Et, We, ne, ji, me, zr, QA = (zr = class extends Gi {
10262
10235
  return h(this, S).continueRetry(), h(this, S).promise;
10263
10236
  }
10264
10237
  if (e && this.setOptions(e), !this.options.queryFn) {
10265
- const v = this.observers.find((H) => H.options.queryFn);
10266
- v && this.setOptions(v.options);
10238
+ const w = this.observers.find((H) => H.options.queryFn);
10239
+ w && this.setOptions(w.options);
10267
10240
  }
10268
10241
  process.env.NODE_ENV !== "production" && (Array.isArray(this.options.queryKey) || console.error(
10269
10242
  "As of v4, queryKey needs to be an Array. If you are using a string like 'repoData', please change it to an Array, e.g. ['repoData']"
10270
10243
  ));
10271
- const r = new AbortController(), s = (v) => {
10272
- Object.defineProperty(v, "signal", {
10244
+ const r = new AbortController(), s = (w) => {
10245
+ Object.defineProperty(w, "signal", {
10273
10246
  enumerable: !0,
10274
10247
  get: () => (D(this, We, !0), r.signal)
10275
10248
  });
10276
10249
  }, i = () => {
10277
- const v = Ii(this.options, n), U = (() => {
10250
+ const w = Ii(this.options, n), U = (() => {
10278
10251
  const ee = {
10279
10252
  client: h(this, Ue),
10280
10253
  queryKey: this.queryKey,
@@ -10283,12 +10256,12 @@ var at, Se, ot, re, Ue, S, Et, We, ne, ji, me, zr, QA = (zr = class extends Gi {
10283
10256
  return s(ee), ee;
10284
10257
  })();
10285
10258
  return D(this, We, !1), this.options.persister ? this.options.persister(
10286
- v,
10259
+ w,
10287
10260
  U,
10288
10261
  this
10289
- ) : v(U);
10262
+ ) : w(U);
10290
10263
  }, c = (() => {
10291
- const v = {
10264
+ const w = {
10292
10265
  fetchOptions: n,
10293
10266
  options: this.options,
10294
10267
  queryKey: this.queryKey,
@@ -10296,21 +10269,21 @@ var at, Se, ot, re, Ue, S, Et, We, ne, ji, me, zr, QA = (zr = class extends Gi {
10296
10269
  state: this.state,
10297
10270
  fetchFn: i
10298
10271
  };
10299
- return s(v), v;
10272
+ return s(w), w;
10300
10273
  })(), l = h(this, at) === "infinite" ? NA(
10301
10274
  this.options.pages
10302
10275
  ) : this.options.behavior;
10303
10276
  l == null || l.onFetch(c, this), D(this, ot, this.state), (this.state.fetchStatus === "idle" || this.state.fetchMeta !== ((f = c.fetchOptions) == null ? void 0 : f.meta)) && z(this, ne, me).call(this, { type: "fetch", meta: (p = c.fetchOptions) == null ? void 0 : p.meta }), D(this, S, Ti({
10304
10277
  initialPromise: n == null ? void 0 : n.initialPromise,
10305
10278
  fn: c.fetchFn,
10306
- onCancel: (v) => {
10307
- v instanceof kn && v.revert && this.setState({
10279
+ onCancel: (w) => {
10280
+ w instanceof kn && w.revert && this.setState({
10308
10281
  ...h(this, ot),
10309
10282
  fetchStatus: "idle"
10310
10283
  }), r.abort();
10311
10284
  },
10312
- onFail: (v, H) => {
10313
- z(this, ne, me).call(this, { type: "failed", failureCount: v, error: H });
10285
+ onFail: (w, H) => {
10286
+ z(this, ne, me).call(this, { type: "failed", failureCount: w, error: H });
10314
10287
  },
10315
10288
  onPause: () => {
10316
10289
  z(this, ne, me).call(this, { type: "pause" });
@@ -10324,45 +10297,45 @@ var at, Se, ot, re, Ue, S, Et, We, ne, ji, me, zr, QA = (zr = class extends Gi {
10324
10297
  canRun: () => !0
10325
10298
  }));
10326
10299
  try {
10327
- const v = await h(this, S).start();
10328
- if (v === void 0)
10300
+ const w = await h(this, S).start();
10301
+ if (w === void 0)
10329
10302
  throw process.env.NODE_ENV !== "production" && console.error(
10330
10303
  `Query data cannot be undefined. Please make sure to return a value other than undefined from your query function. Affected query key: ${this.queryHash}`
10331
10304
  ), new Error(`${this.queryHash} data is undefined`);
10332
- return this.setData(v), (w = (B = h(this, re).config).onSuccess) == null || w.call(B, v, this), (I = (P = h(this, re).config).onSettled) == null || I.call(
10305
+ return this.setData(w), (v = (B = h(this, re).config).onSuccess) == null || v.call(B, w, this), (I = (P = h(this, re).config).onSettled) == null || I.call(
10333
10306
  P,
10334
- v,
10307
+ w,
10335
10308
  this.state.error,
10336
10309
  this
10337
- ), v;
10338
- } catch (v) {
10339
- if (v instanceof kn) {
10340
- if (v.silent)
10310
+ ), w;
10311
+ } catch (w) {
10312
+ if (w instanceof kn) {
10313
+ if (w.silent)
10341
10314
  return h(this, S).promise;
10342
- if (v.revert) {
10315
+ if (w.revert) {
10343
10316
  if (this.state.data === void 0)
10344
- throw v;
10317
+ throw w;
10345
10318
  return this.state.data;
10346
10319
  }
10347
10320
  }
10348
10321
  throw z(this, ne, me).call(this, {
10349
10322
  type: "error",
10350
- error: v
10323
+ error: w
10351
10324
  }), (R = (V = h(this, re).config).onError) == null || R.call(
10352
10325
  V,
10353
- v,
10326
+ w,
10354
10327
  this
10355
10328
  ), (Y = (Q = h(this, re).config).onSettled) == null || Y.call(
10356
10329
  Q,
10357
10330
  this.state.data,
10358
- v,
10331
+ w,
10359
10332
  this
10360
- ), v;
10333
+ ), w;
10361
10334
  } finally {
10362
10335
  this.scheduleGc();
10363
10336
  }
10364
10337
  }
10365
- }, at = new WeakMap(), Se = new WeakMap(), ot = new WeakMap(), re = new WeakMap(), Ue = new WeakMap(), S = new WeakMap(), Et = new WeakMap(), We = new WeakMap(), ne = new WeakSet(), ji = function() {
10338
+ }, at = new WeakMap(), Se = new WeakMap(), ot = new WeakMap(), re = new WeakMap(), Ue = new WeakMap(), S = new WeakMap(), Ct = new WeakMap(), We = new WeakMap(), ne = new WeakSet(), ji = function() {
10366
10339
  return this.state.fetchStatus === "paused" && this.state.status === "pending";
10367
10340
  }, me = function(e) {
10368
10341
  const n = (r) => {
@@ -10471,15 +10444,15 @@ function Qr(t) {
10471
10444
  fetchStatus: "idle"
10472
10445
  };
10473
10446
  }
10474
- var Mt, ce, Z, ze, ue, Me, Zr, SA = (Zr = class extends Gi {
10447
+ var Et, ce, Z, ze, ue, Me, Zr, SA = (Zr = class extends Gi {
10475
10448
  constructor(e) {
10476
10449
  super();
10477
10450
  G(this, ue);
10478
- G(this, Mt);
10451
+ G(this, Et);
10479
10452
  G(this, ce);
10480
10453
  G(this, Z);
10481
10454
  G(this, ze);
10482
- D(this, Mt, e.client), this.mutationId = e.mutationId, D(this, Z, e.mutationCache), D(this, ce, []), this.state = e.state || UA(), this.setOptions(e.options), this.scheduleGc();
10455
+ D(this, Et, e.client), this.mutationId = e.mutationId, D(this, Z, e.mutationCache), D(this, ce, []), this.state = e.state || UA(), this.setOptions(e.options), this.scheduleGc();
10483
10456
  }
10484
10457
  setOptions(e) {
10485
10458
  this.options = e, this.updateGcTime(this.options.gcTime);
@@ -10510,11 +10483,11 @@ var Mt, ce, Z, ze, ue, Me, Zr, SA = (Zr = class extends Gi {
10510
10483
  this.execute(this.state.variables);
10511
10484
  }
10512
10485
  async execute(e) {
10513
- var a, c, l, A, f, p, B, w, P, I, V, R, Q, Y, v, H, U, ee;
10486
+ var a, c, l, A, f, p, B, v, P, I, V, R, Q, Y, w, H, U, ee;
10514
10487
  const n = () => {
10515
10488
  z(this, ue, Me).call(this, { type: "continue" });
10516
10489
  }, r = {
10517
- client: h(this, Mt),
10490
+ client: h(this, Et),
10518
10491
  meta: this.options.meta,
10519
10492
  mutationKey: this.options.mutationKey
10520
10493
  };
@@ -10568,7 +10541,7 @@ var Mt, ce, Z, ze, ue, Me, Zr, SA = (Zr = class extends Gi {
10568
10541
  e,
10569
10542
  this.state.context,
10570
10543
  r
10571
- )), await ((w = (B = h(this, Z).config).onSettled) == null ? void 0 : w.call(
10544
+ )), await ((v = (B = h(this, Z).config).onSettled) == null ? void 0 : v.call(
10572
10545
  B,
10573
10546
  q,
10574
10547
  null,
@@ -10609,8 +10582,8 @@ var Mt, ce, Z, ze, ue, Me, Zr, SA = (Zr = class extends Gi {
10609
10582
  Promise.reject(u);
10610
10583
  }
10611
10584
  try {
10612
- await ((H = (v = h(this, Z).config).onSettled) == null ? void 0 : H.call(
10613
- v,
10585
+ await ((H = (w = h(this, Z).config).onSettled) == null ? void 0 : H.call(
10586
+ w,
10614
10587
  void 0,
10615
10588
  q,
10616
10589
  this.state.variables,
@@ -10638,7 +10611,7 @@ var Mt, ce, Z, ze, ue, Me, Zr, SA = (Zr = class extends Gi {
10638
10611
  h(this, Z).runNext(this);
10639
10612
  }
10640
10613
  }
10641
- }, Mt = new WeakMap(), ce = new WeakMap(), Z = new WeakMap(), ze = new WeakMap(), ue = new WeakSet(), Me = function(e) {
10614
+ }, Et = new WeakMap(), ce = new WeakMap(), Z = new WeakMap(), ze = new WeakMap(), ue = new WeakSet(), Me = function(e) {
10642
10615
  const n = (r) => {
10643
10616
  switch (e.type) {
10644
10617
  case "failed":
@@ -10715,19 +10688,19 @@ function UA() {
10715
10688
  submittedAt: 0
10716
10689
  };
10717
10690
  }
10718
- var fe, ae, It, Lr, Yi = (Lr = class extends un {
10691
+ var fe, ae, Mt, Lr, Yi = (Lr = class extends un {
10719
10692
  constructor(n = {}) {
10720
10693
  super();
10721
10694
  G(this, fe);
10722
10695
  G(this, ae);
10723
- G(this, It);
10724
- this.config = n, D(this, fe, /* @__PURE__ */ new Set()), D(this, ae, /* @__PURE__ */ new Map()), D(this, It, 0);
10696
+ G(this, Mt);
10697
+ this.config = n, D(this, fe, /* @__PURE__ */ new Set()), D(this, ae, /* @__PURE__ */ new Map()), D(this, Mt, 0);
10725
10698
  }
10726
10699
  build(n, r, s) {
10727
10700
  const i = new SA({
10728
10701
  client: n,
10729
10702
  mutationCache: this,
10730
- mutationId: ++xt(this, It)._,
10703
+ mutationId: ++Vt(this, Mt)._,
10731
10704
  options: n.defaultMutationOptions(r),
10732
10705
  state: s
10733
10706
  });
@@ -10735,7 +10708,7 @@ var fe, ae, It, Lr, Yi = (Lr = class extends un {
10735
10708
  }
10736
10709
  add(n) {
10737
10710
  h(this, fe).add(n);
10738
- const r = Rt(n);
10711
+ const r = kt(n);
10739
10712
  if (typeof r == "string") {
10740
10713
  const s = h(this, ae).get(r);
10741
10714
  s ? s.push(n) : h(this, ae).set(r, [n]);
@@ -10744,7 +10717,7 @@ var fe, ae, It, Lr, Yi = (Lr = class extends un {
10744
10717
  }
10745
10718
  remove(n) {
10746
10719
  if (h(this, fe).delete(n)) {
10747
- const r = Rt(n);
10720
+ const r = kt(n);
10748
10721
  if (typeof r == "string") {
10749
10722
  const s = h(this, ae).get(r);
10750
10723
  if (s)
@@ -10757,7 +10730,7 @@ var fe, ae, It, Lr, Yi = (Lr = class extends un {
10757
10730
  this.notify({ type: "removed", mutation: n });
10758
10731
  }
10759
10732
  canRun(n) {
10760
- const r = Rt(n);
10733
+ const r = kt(n);
10761
10734
  if (typeof r == "string") {
10762
10735
  const s = h(this, ae).get(r), i = s == null ? void 0 : s.find(
10763
10736
  (a) => a.state.status === "pending"
@@ -10768,7 +10741,7 @@ var fe, ae, It, Lr, Yi = (Lr = class extends un {
10768
10741
  }
10769
10742
  runNext(n) {
10770
10743
  var s;
10771
- const r = Rt(n);
10744
+ const r = kt(n);
10772
10745
  if (typeof r == "string") {
10773
10746
  const i = (s = h(this, ae).get(r)) == null ? void 0 : s.find((a) => a !== n && a.state.isPaused);
10774
10747
  return (i == null ? void 0 : i.continue()) ?? Promise.resolve();
@@ -10809,8 +10782,8 @@ var fe, ae, It, Lr, Yi = (Lr = class extends un {
10809
10782
  )
10810
10783
  );
10811
10784
  }
10812
- }, fe = new WeakMap(), ae = new WeakMap(), It = new WeakMap(), Lr);
10813
- function Rt(t) {
10785
+ }, fe = new WeakMap(), ae = new WeakMap(), Mt = new WeakMap(), Lr);
10786
+ function kt(t) {
10814
10787
  var e;
10815
10788
  return (e = t.options.scope) == null ? void 0 : e.id;
10816
10789
  }
@@ -10899,15 +10872,15 @@ var le, Kr, Vi = (Kr = class extends un {
10899
10872
  D(this, N, e.queryCache || new Vi()), D(this, Ye, e.mutationCache || new Yi()), D(this, Ve, e.defaultOptions || {}), D(this, ct, /* @__PURE__ */ new Map()), D(this, ut, /* @__PURE__ */ new Map()), D(this, xe, 0);
10900
10873
  }
10901
10874
  mount() {
10902
- xt(this, xe)._++, h(this, xe) === 1 && (D(this, lt, Mi.subscribe(async (e) => {
10875
+ Vt(this, xe)._++, h(this, xe) === 1 && (D(this, lt, Mi.subscribe(async (e) => {
10903
10876
  e && (await this.resumePausedMutations(), h(this, N).onFocus());
10904
- })), D(this, At, en.subscribe(async (e) => {
10877
+ })), D(this, At, $t.subscribe(async (e) => {
10905
10878
  e && (await this.resumePausedMutations(), h(this, N).onOnline());
10906
10879
  })));
10907
10880
  }
10908
10881
  unmount() {
10909
10882
  var e, n;
10910
- xt(this, xe)._--, h(this, xe) === 0 && ((e = h(this, lt)) == null || e.call(this), D(this, lt, void 0), (n = h(this, At)) == null || n.call(this), D(this, At, void 0));
10883
+ Vt(this, xe)._--, h(this, xe) === 0 && ((e = h(this, lt)) == null || e.call(this), D(this, lt, void 0), (n = h(this, At)) == null || n.call(this), D(this, At, void 0));
10911
10884
  }
10912
10885
  isFetching(e) {
10913
10886
  return h(this, N).findAll({ ...e, fetchStatus: "fetching" }).length;
@@ -11029,7 +11002,7 @@ var le, Kr, Vi = (Kr = class extends un {
11029
11002
  return e._type = "infinite", this.ensureQueryData(e);
11030
11003
  }
11031
11004
  resumePausedMutations() {
11032
- return en.isOnline() ? h(this, Ye).resumePausedMutations() : Promise.resolve();
11005
+ return $t.isOnline() ? h(this, Ye).resumePausedMutations() : Promise.resolve();
11033
11006
  }
11034
11007
  getQueryCache() {
11035
11008
  return h(this, N);
@@ -11044,7 +11017,7 @@ var le, Kr, Vi = (Kr = class extends un {
11044
11017
  D(this, Ve, e);
11045
11018
  }
11046
11019
  setQueryDefaults(e, n) {
11047
- h(this, ct).set(Dt(e), {
11020
+ h(this, ct).set(Bt(e), {
11048
11021
  queryKey: e,
11049
11022
  defaultOptions: n
11050
11023
  });
@@ -11052,11 +11025,11 @@ var le, Kr, Vi = (Kr = class extends un {
11052
11025
  getQueryDefaults(e) {
11053
11026
  const n = [...h(this, ct).values()], r = {};
11054
11027
  return n.forEach((s) => {
11055
- Ct(e, s.queryKey) && Object.assign(r, s.defaultOptions);
11028
+ Dt(e, s.queryKey) && Object.assign(r, s.defaultOptions);
11056
11029
  }), r;
11057
11030
  }
11058
11031
  setMutationDefaults(e, n) {
11059
- h(this, ut).set(Dt(e), {
11032
+ h(this, ut).set(Bt(e), {
11060
11033
  mutationKey: e,
11061
11034
  defaultOptions: n
11062
11035
  });
@@ -11064,7 +11037,7 @@ var le, Kr, Vi = (Kr = class extends un {
11064
11037
  getMutationDefaults(e) {
11065
11038
  const n = [...h(this, ut).values()], r = {};
11066
11039
  return n.forEach((s) => {
11067
- Ct(e, s.mutationKey) && Object.assign(r, s.defaultOptions);
11040
+ Dt(e, s.mutationKey) && Object.assign(r, s.defaultOptions);
11068
11041
  }), r;
11069
11042
  }
11070
11043
  defaultQueryOptions(e) {
@@ -11079,7 +11052,7 @@ var le, Kr, Vi = (Kr = class extends un {
11079
11052
  return n.queryHash || (n.queryHash = er(
11080
11053
  n.queryKey,
11081
11054
  n
11082
- )), n.refetchOnReconnect === void 0 && (n.refetchOnReconnect = n.networkMode !== "always"), n.throwOnError === void 0 && (n.throwOnError = !!n.suspense), !n.networkMode && n.persister && (n.networkMode = "offlineFirst"), n.queryFn === $t && (n.enabled = !1), n;
11055
+ )), n.refetchOnReconnect === void 0 && (n.refetchOnReconnect = n.networkMode !== "always"), n.throwOnError === void 0 && (n.throwOnError = !!n.suspense), !n.networkMode && n.persister && (n.networkMode = "offlineFirst"), n.queryFn === _t && (n.enabled = !1), n;
11083
11056
  }
11084
11057
  defaultMutationOptions(e) {
11085
11058
  return e != null && e._defaulted ? e : {
@@ -11164,7 +11137,7 @@ var KA = class extends Vi {
11164
11137
  queryCache: t.queryCache || new KA(),
11165
11138
  mutationCache: t.mutationCache || new JA()
11166
11139
  };
11167
- super(e), this.isRestoring = St(!1);
11140
+ super(e), this.isRestoring = Xt(!1);
11168
11141
  }
11169
11142
  isFetching(t = {}) {
11170
11143
  return super.isFetching(T(t));
@@ -11263,7 +11236,7 @@ var KA = class extends Vi {
11263
11236
  };
11264
11237
  const $A = Ki({
11265
11238
  history: Ji(),
11266
- routes: [...bt, ...pt].map((t) => ({
11239
+ routes: [...rn, ...pt].map((t) => ({
11267
11240
  ...t,
11268
11241
  component: os(
11269
11242
  _r({
@@ -11274,10 +11247,10 @@ const $A = Ki({
11274
11247
  });
11275
11248
  $A.beforeEach((t) => {
11276
11249
  var r;
11277
- const { currentCountry: e } = rn(), n = e.value;
11250
+ const { currentCountry: e } = nn(), n = e.value;
11278
11251
  if (!n) return !0;
11279
11252
  if ((r = t.meta) != null && r.region && !t.meta.region[n]) {
11280
- const s = bt.find(
11253
+ const s = rn.find(
11281
11254
  (i) => {
11282
11255
  var a;
11283
11256
  return ((a = i.meta) == null ? void 0 : a.sidebarDisplay) && (!i.meta.region || i.meta.region[n]);
@@ -11287,17 +11260,17 @@ $A.beforeEach((t) => {
11287
11260
  }
11288
11261
  return !0;
11289
11262
  });
11290
- const ed = (t) => t ? t.role.isAdmin || t.role.isStaff : !1, td = /* @__PURE__ */ tn({
11263
+ const ed = (t) => t ? t.role.isAdmin || t.role.isStaff : !1, td = /* @__PURE__ */ en({
11291
11264
  __name: "AppSidebar",
11292
11265
  setup(t) {
11293
- const e = rn(), n = _i(), { t: r } = ns(), s = St(n.currentRoute.value.name);
11266
+ const e = nn(), n = _i(), { t: r } = ns(), s = Xt(n.currentRoute.value.name);
11294
11267
  $r(n.currentRoute, () => {
11295
11268
  let A = n.currentRoute.value.name;
11296
11269
  n.currentRoute.value.meta.parent && (A = n.currentRoute.value.meta.parent), s.value = A;
11297
11270
  });
11298
- const i = bt.map((A) => {
11299
- var B, w;
11300
- if (!((B = A.meta) != null && B.sidebarDisplay) || A.meta.region && !((w = A.meta.region) != null && w[e.currentCountry.value]) || A.meta.section)
11271
+ const i = rn.map((A) => {
11272
+ var B, v;
11273
+ if (!((B = A.meta) != null && B.sidebarDisplay) || A.meta.region && !((v = A.meta.region) != null && v[e.currentCountry.value]) || A.meta.section)
11301
11274
  return;
11302
11275
  const f = A.meta.sidebarDisplay, p = {
11303
11276
  label: f.startsWith("i18n:") ? r(f.replaceAll("i18n:", "")) : f,
@@ -11307,12 +11280,12 @@ const ed = (t) => t ? t.role.isAdmin || t.role.isStaff : !1, td = /* @__PURE__ *
11307
11280
  return n.push({ name: A.name });
11308
11281
  }
11309
11282
  };
11310
- return A.meta.sidebarNew && (p.badge = () => vn(ea.FmPill, { label: "New" })), p;
11283
+ return A.meta.sidebarNew && (p.badge = () => wn(ea.FmPill, { label: "New" })), p;
11311
11284
  }).filter((A) => !!A);
11312
11285
  function a(A, f) {
11313
11286
  return A.map((p) => {
11314
- var B, w, P, I;
11315
- return (B = p.meta) != null && B.useChildrenRoutes ? a(p.children || [], f) : (w = p.meta) != null && w.region && !((P = p.meta.region) != null && P[e.currentCountry.value]) ? [] : (I = p.meta) != null && I.sidebarDisplay ? p.meta.section !== f ? [] : [
11287
+ var B, v, P, I;
11288
+ return (B = p.meta) != null && B.useChildrenRoutes ? a(p.children || [], f) : (v = p.meta) != null && v.region && !((P = p.meta.region) != null && P[e.currentCountry.value]) ? [] : (I = p.meta) != null && I.sidebarDisplay ? p.meta.section !== f ? [] : [
11316
11289
  {
11317
11290
  label: p.meta.sidebarDisplay.startsWith("i18n:") ? r(p.meta.sidebarDisplay.replaceAll("i18n:", "")) : p.meta.sidebarDisplay,
11318
11291
  value: p.name,
@@ -11337,16 +11310,7 @@ const ed = (t) => t ? t.role.isAdmin || t.role.isStaff : !1, td = /* @__PURE__ *
11337
11310
  };
11338
11311
  }).filter((A) => !!A), l = Nn(() => {
11339
11312
  const A = [...i];
11340
- return A.push({
11341
- label: "",
11342
- value: "divider",
11343
- disabled: !0
11344
- }), A.push({
11345
- label: r("financing.title"),
11346
- icon: "credit_score",
11347
- value: "divider",
11348
- disabled: !0
11349
- }), A.push(...a(bt, "financing")), ed(e.sessionUser.value) && (A.push({
11313
+ return ed(e.sessionUser.value) && (A.push({
11350
11314
  label: "",
11351
11315
  value: "divider",
11352
11316
  disabled: !0
@@ -11377,7 +11341,7 @@ const ed = (t) => t ? t.role.isAdmin || t.role.isStaff : !1, td = /* @__PURE__ *
11377
11341
  });
11378
11342
  return (A, f) => {
11379
11343
  const p = es("FmCollapsibleTabs");
11380
- return nn(), Hn(p, {
11344
+ return tn(), Hn(p, {
11381
11345
  modelValue: s.value,
11382
11346
  "onUpdate:modelValue": f[0] || (f[0] = (B) => s.value = B),
11383
11347
  items: l.value,
@@ -11386,11 +11350,11 @@ const ed = (t) => t ? t.role.isAdmin || t.role.isStaff : !1, td = /* @__PURE__ *
11386
11350
  };
11387
11351
  }
11388
11352
  });
11389
- var nd = { firebase: { apiKey: "AIzaSyAj8JdCHtP0Vc5vZobCfgoLzWxPIn0WUG4", authDomain: "feedme-dev-4c3ef.firebaseapp.com", databaseURL: "https://feedme-dev-4c3ef.firebaseio.com", projectId: "feedme-dev-4c3ef", storageBucket: "feedme-dev-4c3ef.appspot.com", messagingSenderId: "458797803788", appId: "1:458797803788:web:37f2af2926a84288f0c129", measurementId: "G-J2QG09D2Q7" } };
11390
- const bd = /* @__PURE__ */ tn({
11353
+ var nd = { firebase: { apiKey: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4", authDomain: "feedme-253402.firebaseapp.com", databaseURL: "https://feedme-253402.firebaseio.com", projectId: "feedme-253402", storageBucket: "image.feedme.cc", messagingSenderId: "128512026847", appId: "1:128512026847:web:7c5c8ab7e8b90502dc616a", measurementId: "G-LTKS7N2HQS" } };
11354
+ const bd = /* @__PURE__ */ en({
11391
11355
  __name: "App",
11392
11356
  setup(t) {
11393
- const { state: e } = Qo(), n = rn(), r = ts(), s = new _A();
11357
+ const { state: e } = Qo(), n = nn(), r = ts(), s = new _A();
11394
11358
  Wi(xi, s);
11395
11359
  const i = Ss(nd.firebase);
11396
11360
  async function a() {
@@ -11407,12 +11371,12 @@ const bd = /* @__PURE__ */ tn({
11407
11371
  s.unmount();
11408
11372
  }), (c, l) => {
11409
11373
  const A = es("RouterView");
11410
- return nn(), Hn(A, {
11374
+ return tn(), Hn(A, {
11411
11375
  key: ge(r).path
11412
11376
  });
11413
11377
  };
11414
11378
  }
11415
- }), vd = () => {
11379
+ }), wd = () => {
11416
11380
  const t = [
11417
11381
  { "en-US": na, "th-TH": sa, "zh-CN": aa },
11418
11382
  qi
@@ -11429,7 +11393,7 @@ const bd = /* @__PURE__ */ tn({
11429
11393
  },
11430
11394
  {}
11431
11395
  );
11432
- }, wd = [...pt, ...bt].map((t) => ({
11396
+ }, vd = [...pt, ...rn].map((t) => ({
11433
11397
  ...t,
11434
11398
  component: os(
11435
11399
  _r({ loader: t.component })
@@ -11437,7 +11401,7 @@ const bd = /* @__PURE__ */ tn({
11437
11401
  }));
11438
11402
  export {
11439
11403
  xa as A,
11440
- wd as B,
11404
+ vd as B,
11441
11405
  un as S,
11442
11406
  yr as _,
11443
11407
  Vn as a,
@@ -11465,5 +11429,5 @@ export {
11465
11429
  ua as w,
11466
11430
  ld as x,
11467
11431
  bd as y,
11468
- vd as z
11432
+ wd as z
11469
11433
  };