@everymatrix/player-account-controller 1.67.3 → 1.69.0

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 (164) hide show
  1. package/components/{GeneralLogout-DC1eQria.js → GeneralLogout-CYE3twI-.js} +1493 -1458
  2. package/components/{GeneralLogout-BvHI6IRl.js → GeneralLogout-CgxHUYZx.js} +1474 -1439
  3. package/components/GeneralLogout-Dzu2Sl-x.cjs +21 -0
  4. package/components/{PlayerAccountBettingHistory-Bo3-gODs.js → PlayerAccountBettingHistory-B0IsJ01N.js} +27 -27
  5. package/components/{PlayerAccountBettingHistory-BTEzWQvN.js → PlayerAccountBettingHistory-BXBMy618.js} +27 -27
  6. package/components/{PlayerAccountBettingHistory-DgHU9Jz9.cjs → PlayerAccountBettingHistory-BtDZukYI.cjs} +1 -1
  7. package/components/{PlayerAccountBiometrics-DRMe1Ngk.js → PlayerAccountBiometrics-CCk_4MyI.js} +22 -22
  8. package/components/{PlayerAccountBiometrics-DXk7ouzk.cjs → PlayerAccountBiometrics-CEEVheLt.cjs} +1 -1
  9. package/components/{PlayerAccountBiometrics-eJ0NsGhR.js → PlayerAccountBiometrics-DrmVF6dX.js} +22 -22
  10. package/components/{PlayerAccountClosure-CenyN-4X.js → PlayerAccountClosure-B_xwOPds.js} +17 -17
  11. package/components/{PlayerAccountClosure-DMF66IyF.cjs → PlayerAccountClosure-DoZ91aH2.cjs} +1 -1
  12. package/components/{PlayerAccountClosure-D4FSDBR-.js → PlayerAccountClosure-UwL_V2IO.js} +17 -17
  13. package/components/{PlayerAccountController-D3jDQKMc.js → PlayerAccountController-Bj-XgQJE.js} +2247 -2187
  14. package/components/{PlayerAccountController-C88OV9t0.js → PlayerAccountController-CvlVSeuD.js} +2250 -2190
  15. package/components/PlayerAccountController-DOYR_ETm.cjs +1 -0
  16. package/components/{PlayerAccountGamingLimits-bgH5yldD.js → PlayerAccountGamingLimits-B0QALjVi.js} +19 -19
  17. package/components/{PlayerAccountGamingLimits-C5-wP3x8.cjs → PlayerAccountGamingLimits-BIXEO8qU.cjs} +1 -1
  18. package/components/{PlayerAccountGamingLimits-qvefhQXf.js → PlayerAccountGamingLimits-C11On8aq.js} +19 -19
  19. package/components/{PlayerAccountGamingLimitsConfirmationModal-B-Zcfwzu.js → PlayerAccountGamingLimitsConfirmationModal-57Q5qtf8.js} +53 -53
  20. package/components/PlayerAccountGamingLimitsConfirmationModal-CVJUvbSC.cjs +1 -0
  21. package/components/{PlayerAccountGamingLimitsConfirmationModal-BSuURD9X.js → PlayerAccountGamingLimitsConfirmationModal-CztJ5DKd.js} +53 -53
  22. package/components/PlayerAccountGamingLimitsGroupEdit-C40tSY9Z.js +4792 -0
  23. package/components/PlayerAccountGamingLimitsGroupEdit-CoayAtf0.js +4792 -0
  24. package/components/PlayerAccountGamingLimitsGroupEdit-Crtmu06d.cjs +2 -0
  25. package/components/{PlayerAccountGamingLimitsHistory2-B0Hm0NN-.js → PlayerAccountGamingLimitsHistory2-BLK-Rk6N.js} +48 -48
  26. package/components/{PlayerAccountGamingLimitsHistory2-CkXX1K7L.js → PlayerAccountGamingLimitsHistory2-Br4h7_eS.js} +46 -46
  27. package/components/{PlayerAccountGamingLimitsHistory2-C0g0UlRl.cjs → PlayerAccountGamingLimitsHistory2-CreFMkf_.cjs} +1 -1
  28. package/components/{PlayerAccountGamingLimitsInfoCard-DxIPZWF4.cjs → PlayerAccountGamingLimitsInfoCard-COS0sgRr.cjs} +1 -1
  29. package/components/{PlayerAccountGamingLimitsInfoCard-ByqimrlU.js → PlayerAccountGamingLimitsInfoCard-D5Vpi7Gd.js} +80 -80
  30. package/components/{PlayerAccountGamingLimitsInfoCard-D2xDA5AE.js → PlayerAccountGamingLimitsInfoCard-blI001Nx.js} +80 -80
  31. package/components/{PlayerAccountGamingLimitsPage2Gm16-Bjtas4Og.js → PlayerAccountGamingLimitsPage2Gm16-C-xpYl-9.js} +118 -118
  32. package/components/{PlayerAccountGamingLimitsPage2Gm16-AMitiwvP.js → PlayerAccountGamingLimitsPage2Gm16-DHrtbHzT.js} +101 -101
  33. package/components/{PlayerAccountGamingLimitsPage2Gm16-DfhEHyrV.cjs → PlayerAccountGamingLimitsPage2Gm16-D_gOt2wG.cjs} +2 -2
  34. package/components/{PlayerAccountGamingLimitsPopup-DkQcpWO7.cjs → PlayerAccountGamingLimitsPopup-CmNqLNxB.cjs} +1 -1
  35. package/components/{PlayerAccountGamingLimitsPopup-Bhe4pnzt.js → PlayerAccountGamingLimitsPopup-DTb6cpuT.js} +28 -28
  36. package/components/{PlayerAccountGamingLimitsPopup-LjmHojBJ.js → PlayerAccountGamingLimitsPopup-Dz9ROowj.js} +28 -28
  37. package/components/{PlayerAccountGamingLimitsWrapper2-bXqMOFZu.js → PlayerAccountGamingLimitsWrapper2-BCk1ujGX.js} +36 -36
  38. package/components/{PlayerAccountGamingLimitsWrapper2-Db4M3i4n.js → PlayerAccountGamingLimitsWrapper2-CfyD6xtV.js} +36 -36
  39. package/components/{PlayerAccountGamingLimitsWrapper2-DUm34VGO.cjs → PlayerAccountGamingLimitsWrapper2-CwscbjX3.cjs} +1 -1
  40. package/components/PlayerAccountGeneralConfirmationModal-DHEkFez0.cjs +1 -0
  41. package/components/{PlayerAccountGeneralConfirmationModal-BXvbser8.js → PlayerAccountGeneralConfirmationModal-DbBEBukz.js} +100 -105
  42. package/components/{PlayerAccountGeneralConfirmationModal-Ct4ffM2k.js → PlayerAccountGeneralConfirmationModal-DzZ3ym_J.js} +100 -105
  43. package/components/{PlayerAccountMenu-BZSV920e.cjs → PlayerAccountMenu-BZnkRiU-.cjs} +1 -1
  44. package/components/{PlayerAccountMenu-COhw6RUO.js → PlayerAccountMenu-D4d9TQsD.js} +29 -29
  45. package/components/{PlayerAccountMenu-CXkbGum8.js → PlayerAccountMenu-j3TA2Osb.js} +29 -29
  46. package/components/{PlayerAccountModal-BlJKMVDD.js → PlayerAccountModal-Cbpkb5P6.js} +44 -44
  47. package/components/{PlayerAccountModal-C2BAyjz8.js → PlayerAccountModal-Co5a_OZZ.js} +44 -44
  48. package/components/{PlayerAccountModal-lwDOdDa4.cjs → PlayerAccountModal-SsGlrcmj.cjs} +1 -1
  49. package/components/{PlayerAccountNotifications-Br27rQuw.js → PlayerAccountNotifications-CkbUxjuk.js} +35 -35
  50. package/components/{PlayerAccountNotifications-CzMMRPni.cjs → PlayerAccountNotifications-ejASOsrU.cjs} +1 -1
  51. package/components/{PlayerAccountNotifications-YIzJUJtW.js → PlayerAccountNotifications-f0A-2obd.js} +120 -120
  52. package/components/{PlayerAccountProductRestriction-JWXFId11.js → PlayerAccountProductRestriction-BXXflOCi.js} +2228 -2202
  53. package/components/{PlayerAccountProductRestriction-B77qHgnG.js → PlayerAccountProductRestriction-f6Ihr4uI.js} +2241 -2215
  54. package/components/{PlayerAccountProductRestriction-DWcq863g.cjs → PlayerAccountProductRestriction-uj_BwdJ0.cjs} +271 -271
  55. package/components/{PlayerAccountSelfExclusion-hvxg512S.js → PlayerAccountSelfExclusion-B3xDcZXs.js} +898 -900
  56. package/components/{PlayerAccountSelfExclusion-DgB8NI71.cjs → PlayerAccountSelfExclusion-NoFOWnwy.cjs} +155 -155
  57. package/components/{PlayerAccountSelfExclusion-B-7yOGf0.js → PlayerAccountSelfExclusion-tzK5a7dq.js} +1208 -1210
  58. package/components/{PlayerAccountTimeout-BZa0DlXA.js → PlayerAccountTimeout-DFM9IiTT.js} +103 -103
  59. package/components/{PlayerAccountTimeout-ouzdA1ph.cjs → PlayerAccountTimeout-HZrAxL_1.cjs} +1 -1
  60. package/components/{PlayerAccountTimeout-DiPXXjP_.js → PlayerAccountTimeout-b0Nl9gfs.js} +103 -103
  61. package/components/{PlayerAccountTransactionsHistory-tOK25Lc2.js → PlayerAccountTransactionsHistory-B_kH0Hjt.js} +56 -56
  62. package/components/{PlayerAccountTransactionsHistory-DApJMGFo.js → PlayerAccountTransactionsHistory-DoyCBIgA.js} +56 -56
  63. package/components/{PlayerAccountTransactionsHistory-DrGUOnga.cjs → PlayerAccountTransactionsHistory-PIw_RR0i.cjs} +1 -1
  64. package/components/{PlayerActiveBonuses-dQ_zgejC.js → PlayerActiveBonuses-CSDz-kWg.js} +490 -460
  65. package/components/{PlayerActiveBonuses-5Q7f3yAG.js → PlayerActiveBonuses-CrOQdlJB.js} +497 -467
  66. package/components/PlayerActiveBonuses-wlP0A00N.cjs +1 -0
  67. package/components/PlayerBonusCard-BBQEU4zs.cjs +1 -0
  68. package/components/{PlayerBonusCard-uudC6LGS.js → PlayerBonusCard-Ca4GQeMu.js} +207 -191
  69. package/components/{PlayerBonusCard-CBO8neP8.js → PlayerBonusCard-qHJ-z21x.js} +207 -191
  70. package/components/PlayerBonusHistory-2blkOHr3.js +1051 -0
  71. package/components/PlayerBonusHistory-ChzkBbAH.js +1040 -0
  72. package/components/PlayerBonusHistory-D2uJLN_3.cjs +1 -0
  73. package/components/{PlayerChangePassword-BUbXMFnB.js → PlayerChangePassword-C2ZoKuCq.js} +66 -66
  74. package/components/{PlayerChangePassword-D4DzBZed.js → PlayerChangePassword-ChwKfBC6.js} +66 -66
  75. package/components/{PlayerChangePassword-D0aYOkoZ.cjs → PlayerChangePassword-LgjKzYU1.cjs} +1 -1
  76. package/components/{PlayerDeposit-lfkc7jOj.js → PlayerDeposit-BPZ5wCAZ.js} +29 -29
  77. package/components/{PlayerDeposit-DAFmH9HW.cjs → PlayerDeposit-Dzg8Ltb1.cjs} +1 -1
  78. package/components/{PlayerDeposit-BB64hmyO.js → PlayerDeposit-VLcz0tQH.js} +29 -29
  79. package/components/PlayerGamingHistory-8wco0drZ.js +1016 -0
  80. package/components/{PlayerGamingHistory-NKBfYTcF.js → PlayerGamingHistory-CRFPc2yB.js} +472 -456
  81. package/components/PlayerGamingHistory-D5C8zTFo.cjs +1 -0
  82. package/components/{PlayerPendingWithdrawals-DbuXpIXl.cjs → PlayerPendingWithdrawals-BMwtFNQT.cjs} +1 -1
  83. package/components/{PlayerPendingWithdrawals-QAaJbf_-.js → PlayerPendingWithdrawals-DeNKdUgJ.js} +26 -26
  84. package/components/{PlayerPendingWithdrawals-B6qiUkpB.js → PlayerPendingWithdrawals-go7okUzL.js} +26 -26
  85. package/components/{PlayerProfileInfo-CQWJWCmN.cjs → PlayerProfileInfo-DcmY9plr.cjs} +1 -1
  86. package/components/{PlayerProfileInfo-Bpxnw7hG.js → PlayerProfileInfo-FeIk7zXc.js} +120 -120
  87. package/components/{PlayerProfileInfo-C-yTxZtj.js → PlayerProfileInfo-lfogo592.js} +116 -116
  88. package/components/{PlayerRealityCheck-CFJVJn17.cjs → PlayerRealityCheck-BrVF76qp.cjs} +1 -1
  89. package/components/{PlayerRealityCheck-DQ-_y3IT.js → PlayerRealityCheck-C2TUMl9-.js} +45 -45
  90. package/components/{PlayerRealityCheck-CyxiiYoi.js → PlayerRealityCheck-DMNAglZN.js} +44 -44
  91. package/components/{PlayerTransactionHistory-BOtRm_b6.cjs → PlayerTransactionHistory-4VtQqLAc.cjs} +1 -1
  92. package/components/{PlayerTransactionHistory-6G6ws2ky.js → PlayerTransactionHistory-A-aVfyoc.js} +19 -19
  93. package/components/{PlayerTransactionHistory-BjRhtwD4.js → PlayerTransactionHistory-BFV_XJw9.js} +19 -19
  94. package/components/{PlayerWithdrawal-OBRjEIH9.cjs → PlayerWithdrawal-BMLgaRLc.cjs} +1 -1
  95. package/components/{PlayerWithdrawal-BIBZrL0i.js → PlayerWithdrawal-B_wQZI_t.js} +19 -19
  96. package/components/{PlayerWithdrawal-CuR6Pb4o.js → PlayerWithdrawal-CTttZqLr.js} +19 -19
  97. package/es2015/player-account-controller.cjs +1 -1
  98. package/es2015/player-account-controller.js +1 -1
  99. package/esnext/player-account-controller.js +1 -1
  100. package/package.json +1 -1
  101. package/stencil/{checkbox-group-input_14-yDxYy7hE.js → checkbox-group-input_14-0MlabybW.js} +3270 -3262
  102. package/stencil/{checkbox-group-input_14-BQWBhbsW.cjs → checkbox-group-input_14-BUUOn-f1.cjs} +263 -263
  103. package/stencil/{checkbox-group-input_14-Rk4kY_Jo.js → checkbox-group-input_14-D0Wi9yCm.js} +3273 -3265
  104. package/stencil/{index-13661b98-mRWmP463.js → index-13661b98-Dd0kDfGP.js} +215 -215
  105. package/stencil/{index-13661b98-l0CINbAR.js → index-13661b98-Vb11Gqfi.js} +207 -207
  106. package/stencil/index-13661b98-wjpz7oVL.cjs +1 -0
  107. package/stencil/{index-1ef3a64c-Dd-0nq4l.js → index-1ef3a64c-B5I86vac.js} +192 -192
  108. package/stencil/{index-1ef3a64c-B1Hda3TY.js → index-1ef3a64c-DqUPq8OL.js} +185 -185
  109. package/stencil/index-1ef3a64c-uiTzpR-U.cjs +1 -0
  110. package/stencil/{index-7c5e707a-CuTkyLaW.js → index-7c5e707a-2AC9SnQ7.js} +209 -209
  111. package/stencil/index-7c5e707a-BM4sfR0h.js +643 -0
  112. package/stencil/index-7c5e707a-Cw-c3Bke.cjs +1 -0
  113. package/stencil/{index-9c0f6c58-RPoO1End.js → index-9c0f6c58-BB5opCt9.js} +176 -176
  114. package/stencil/index-9c0f6c58-DmOKHEVq.cjs +1 -0
  115. package/stencil/{index-9c0f6c58-NlVKpLut.js → index-9c0f6c58-bxjYqwOi.js} +180 -180
  116. package/stencil/index-b2193545-CnMZ4-Ff.js +519 -0
  117. package/stencil/index-b2193545-Ct5AhxM8.cjs +1 -0
  118. package/stencil/index-b2193545-DePry399.js +503 -0
  119. package/stencil/{pam-change-password-CCgx2ZAF.cjs → pam-change-password-1_IegfkZ.cjs} +1 -1
  120. package/stencil/{pam-change-password-CDNRmQRk.js → pam-change-password-BUGFXbZ2.js} +1 -1
  121. package/stencil/{pam-change-password-CThYR6vj.js → pam-change-password-D23ISzqi.js} +1 -1
  122. package/stencil/{pam-change-password-f4a1e7e7-B3Gc4JmD.cjs → pam-change-password-f4a1e7e7-BqEyIcXD.cjs} +1 -1
  123. package/stencil/{pam-change-password-f4a1e7e7-DegbNPpZ.js → pam-change-password-f4a1e7e7-Cxe8Atmr.js} +1 -1
  124. package/stencil/{pam-change-password-f4a1e7e7-B0x-tDUM.js → pam-change-password-f4a1e7e7-DzJmDiaX.js} +1 -1
  125. package/stencil/{player-kyc-verification-Cxnz1raa.js → player-kyc-verification-CMAkNiAB.js} +9 -9
  126. package/stencil/{player-kyc-verification-qKWuqiUm.cjs → player-kyc-verification-DYcPWwfi.cjs} +2 -2
  127. package/stencil/{player-kyc-verification-DA_O1Dqu.js → player-kyc-verification-p2WFnKBp.js} +12 -12
  128. package/stencil/{ui-skeleton-1cb75d00-CZJ4UoDJ.js → ui-skeleton-1cb75d00-BI5A-j0y.js} +1 -1
  129. package/stencil/{ui-skeleton-1cb75d00-dFWe5qbW.cjs → ui-skeleton-1cb75d00-Batko5iK.cjs} +1 -1
  130. package/stencil/{ui-skeleton-1cb75d00-D5Bub0nv.js → ui-skeleton-1cb75d00-CwDKR1VD.js} +1 -1
  131. package/stencil/{ui-skeleton-CZ5yC1WO.js → ui-skeleton-C974aG7g.js} +2 -2
  132. package/stencil/{ui-skeleton-vLKdvRqw.js → ui-skeleton-DoX-UmRU.js} +2 -2
  133. package/stencil/{ui-skeleton-BH5oLkn9.cjs → ui-skeleton-t0bb1jH7.cjs} +1 -1
  134. package/stencil/{user-deposit-withdrawal-BMWb-WJE.js → user-deposit-withdrawal-BjmaGgRK.js} +46 -46
  135. package/stencil/{user-deposit-withdrawal-ByE9O4TW.js → user-deposit-withdrawal-D6SDVw3h.js} +46 -46
  136. package/stencil/{user-deposit-withdrawal-DGTrOlxS.cjs → user-deposit-withdrawal-Du59X_-y.cjs} +2 -2
  137. package/stencil/user-transaction-history-7_yFZr3w.js +1645 -0
  138. package/stencil/user-transaction-history-DZZT2rYX.cjs +1 -0
  139. package/stencil/user-transaction-history-Dpd_aKdj.js +1621 -0
  140. package/components/GeneralLogout-DweBl3EQ.cjs +0 -21
  141. package/components/PlayerAccountController-BrHDusjh.cjs +0 -1
  142. package/components/PlayerAccountGamingLimitsConfirmationModal-DzBevsyQ.cjs +0 -1
  143. package/components/PlayerAccountGamingLimitsGroupEdit-CgtvM5l0.js +0 -2893
  144. package/components/PlayerAccountGamingLimitsGroupEdit-DflmfEfo.js +0 -2893
  145. package/components/PlayerAccountGamingLimitsGroupEdit-JOrwbKuQ.cjs +0 -1
  146. package/components/PlayerAccountGeneralConfirmationModal-dy9TCHFm.cjs +0 -1
  147. package/components/PlayerActiveBonuses-C7-7ACSS.cjs +0 -1
  148. package/components/PlayerBonusCard-nwlvuWsq.cjs +0 -1
  149. package/components/PlayerBonusHistory-CG01zuOG.js +0 -985
  150. package/components/PlayerBonusHistory-D1AxPL0k.js +0 -986
  151. package/components/PlayerBonusHistory-DI5gRSGg.cjs +0 -1
  152. package/components/PlayerGamingHistory-C7HQc8KL.cjs +0 -1
  153. package/components/PlayerGamingHistory-DxA-MkBo.js +0 -975
  154. package/stencil/index-13661b98-Pl0EtfMi.cjs +0 -1
  155. package/stencil/index-1ef3a64c-CCWt3IAA.cjs +0 -1
  156. package/stencil/index-7c5e707a-8-4_dLFT.js +0 -643
  157. package/stencil/index-7c5e707a-nBsW029h.cjs +0 -1
  158. package/stencil/index-9c0f6c58-DbSOntvG.cjs +0 -1
  159. package/stencil/index-b2193545-BXNomIzV.js +0 -519
  160. package/stencil/index-b2193545-CYe2oVMy.js +0 -503
  161. package/stencil/index-b2193545-DxRobzZI.cjs +0 -1
  162. package/stencil/user-transaction-history-BU4-cXt6.js +0 -350
  163. package/stencil/user-transaction-history-CXBKXul8.js +0 -374
  164. package/stencil/user-transaction-history-DLLIZ5Ck.cjs +0 -1
@@ -1,89 +1,89 @@
1
- var On = Object.defineProperty, In = Object.defineProperties;
2
- var Ln = Object.getOwnPropertyDescriptors;
3
- var ut = Object.getOwnPropertySymbols;
4
- var Nn = Object.prototype.hasOwnProperty, Mn = Object.prototype.propertyIsEnumerable;
5
- var Ne = (e, t, n) => t in e ? On(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, ht = (e, t) => {
6
- for (var n in t || (t = {}))
7
- Nn.call(t, n) && Ne(e, n, t[n]);
8
- if (ut)
9
- for (var n of ut(t))
10
- Mn.call(t, n) && Ne(e, n, t[n]);
1
+ var Nr = Object.defineProperty, Cr = Object.defineProperties;
2
+ var Mr = Object.getOwnPropertyDescriptors;
3
+ var ft = Object.getOwnPropertySymbols;
4
+ var $r = Object.prototype.hasOwnProperty, Rr = Object.prototype.propertyIsEnumerable;
5
+ var Me = (e, t, r) => t in e ? Nr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, pt = (e, t) => {
6
+ for (var r in t || (t = {}))
7
+ $r.call(t, r) && Me(e, r, t[r]);
8
+ if (ft)
9
+ for (var r of ft(t))
10
+ Rr.call(t, r) && Me(e, r, t[r]);
11
11
  return e;
12
- }, lt = (e, t) => In(e, Ln(t));
13
- var O = (e, t, n) => (Ne(e, typeof t != "symbol" ? t + "" : t, n), n);
14
- var ft = (e, t, n) => new Promise((r, i) => {
12
+ }, dt = (e, t) => Cr(e, Mr(t));
13
+ var O = (e, t, r) => (Me(e, typeof t != "symbol" ? t + "" : t, r), r);
14
+ var mt = (e, t, r) => new Promise((n, i) => {
15
15
  var o = (u) => {
16
16
  try {
17
- a(n.next(u));
18
- } catch (h) {
19
- i(h);
17
+ a(r.next(u));
18
+ } catch (l) {
19
+ i(l);
20
20
  }
21
21
  }, s = (u) => {
22
22
  try {
23
- a(n.throw(u));
24
- } catch (h) {
25
- i(h);
23
+ a(r.throw(u));
24
+ } catch (l) {
25
+ i(l);
26
26
  }
27
- }, a = (u) => u.done ? r(u.value) : Promise.resolve(u.value).then(o, s);
28
- a((n = n.apply(e, t)).next());
27
+ }, a = (u) => u.done ? n(u.value) : Promise.resolve(u.value).then(o, s);
28
+ a((r = r.apply(e, t)).next());
29
29
  });
30
30
  function H() {
31
31
  }
32
- const Cn = (e) => e;
33
- function $n(e, t) {
34
- for (const n in t)
35
- e[n] = t[n];
32
+ const Ur = (e) => e;
33
+ function Dr(e, t) {
34
+ for (const r in t)
35
+ e[r] = t[r];
36
36
  return (
37
37
  /** @type {T & S} */
38
38
  e
39
39
  );
40
40
  }
41
- function Ut(e) {
41
+ function jt(e) {
42
42
  return e();
43
43
  }
44
- function ct() {
44
+ function bt() {
45
45
  return /* @__PURE__ */ Object.create(null);
46
46
  }
47
47
  function G(e) {
48
- e.forEach(Ut);
48
+ e.forEach(jt);
49
49
  }
50
- function he(e) {
50
+ function ue(e) {
51
51
  return typeof e == "function";
52
52
  }
53
- function Dt(e, t) {
53
+ function kt(e, t) {
54
54
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
55
55
  }
56
- let pe;
57
- function Ho(e, t) {
58
- return e === t ? !0 : (pe || (pe = document.createElement("a")), pe.href = t, e === pe.href);
56
+ let de;
57
+ function Oo(e, t) {
58
+ return e === t ? !0 : (de || (de = document.createElement("a")), de.href = t, e === de.href);
59
59
  }
60
- function Rn(e) {
60
+ function Gr(e) {
61
61
  return Object.keys(e).length === 0;
62
62
  }
63
- function Gt(e, ...t) {
63
+ function Vt(e, ...t) {
64
64
  if (e == null) {
65
- for (const r of t)
66
- r(void 0);
65
+ for (const n of t)
66
+ n(void 0);
67
67
  return H;
68
68
  }
69
- const n = e.subscribe(...t);
70
- return n.unsubscribe ? () => n.unsubscribe() : n;
69
+ const r = e.subscribe(...t);
70
+ return r.unsubscribe ? () => r.unsubscribe() : r;
71
71
  }
72
- function Un(e, t, n) {
73
- e.$$.on_destroy.push(Gt(t, n));
72
+ function Fr(e, t, r) {
73
+ e.$$.on_destroy.push(Vt(t, r));
74
74
  }
75
- function Bo(e, t, n, r) {
75
+ function Io(e, t, r, n) {
76
76
  if (e) {
77
- const i = Ft(e, t, n, r);
77
+ const i = Xt(e, t, r, n);
78
78
  return e[0](i);
79
79
  }
80
80
  }
81
- function Ft(e, t, n, r) {
82
- return e[1] && r ? $n(n.ctx.slice(), e[1](r(t))) : n.ctx;
81
+ function Xt(e, t, r, n) {
82
+ return e[1] && n ? Dr(r.ctx.slice(), e[1](n(t))) : r.ctx;
83
83
  }
84
- function Ao(e, t, n, r) {
85
- if (e[2] && r) {
86
- const i = e[2](r(n));
84
+ function Lo(e, t, r, n) {
85
+ if (e[2] && n) {
86
+ const i = e[2](n(r));
87
87
  if (t.dirty === void 0)
88
88
  return i;
89
89
  if (typeof i == "object") {
@@ -96,40 +96,40 @@ function Ao(e, t, n, r) {
96
96
  }
97
97
  return t.dirty;
98
98
  }
99
- function Po(e, t, n, r, i, o) {
99
+ function No(e, t, r, n, i, o) {
100
100
  if (i) {
101
- const s = Ft(t, n, r, o);
101
+ const s = Xt(t, r, n, o);
102
102
  e.p(s, i);
103
103
  }
104
104
  }
105
- function Oo(e) {
105
+ function Co(e) {
106
106
  if (e.ctx.length > 32) {
107
- const t = [], n = e.ctx.length / 32;
108
- for (let r = 0; r < n; r++)
109
- t[r] = -1;
107
+ const t = [], r = e.ctx.length / 32;
108
+ for (let n = 0; n < r; n++)
109
+ t[n] = -1;
110
110
  return t;
111
111
  }
112
112
  return -1;
113
113
  }
114
- function Io(e) {
114
+ function Mo(e) {
115
115
  return e == null ? "" : e;
116
116
  }
117
- function Lo(e) {
118
- return e && he(e.destroy) ? e.destroy : H;
117
+ function $o(e) {
118
+ return e && ue(e.destroy) ? e.destroy : H;
119
119
  }
120
- const jt = typeof window != "undefined";
121
- let Dn = jt ? () => window.performance.now() : () => Date.now(), rt = jt ? (e) => requestAnimationFrame(e) : H;
120
+ const Wt = typeof window != "undefined";
121
+ let jr = Wt ? () => window.performance.now() : () => Date.now(), ut = Wt ? (e) => requestAnimationFrame(e) : H;
122
122
  const W = /* @__PURE__ */ new Set();
123
- function kt(e) {
123
+ function zt(e) {
124
124
  W.forEach((t) => {
125
125
  t.c(e) || (W.delete(t), t.f());
126
- }), W.size !== 0 && rt(kt);
126
+ }), W.size !== 0 && ut(zt);
127
127
  }
128
- function Gn(e) {
128
+ function kr(e) {
129
129
  let t;
130
- return W.size === 0 && rt(kt), {
131
- promise: new Promise((n) => {
132
- W.add(t = { c: e, f: n });
130
+ return W.size === 0 && ut(zt), {
131
+ promise: new Promise((r) => {
132
+ W.add(t = { c: e, f: r });
133
133
  }),
134
134
  abort() {
135
135
  W.delete(t);
@@ -139,14 +139,14 @@ function Gn(e) {
139
139
  function A(e, t) {
140
140
  e.appendChild(t);
141
141
  }
142
- function Fn(e, t, n) {
143
- const r = it(e);
144
- if (!r.getElementById(t)) {
145
- const i = N("style");
146
- i.id = t, i.textContent = n, Vt(r, i);
142
+ function Vr(e, t, r) {
143
+ const n = lt(e);
144
+ if (!n.getElementById(t)) {
145
+ const i = C("style");
146
+ i.id = t, i.textContent = r, Zt(n, i);
147
147
  }
148
148
  }
149
- function it(e) {
149
+ function lt(e) {
150
150
  if (!e)
151
151
  return document;
152
152
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -156,232 +156,232 @@ function it(e) {
156
156
  t
157
157
  ) : e.ownerDocument;
158
158
  }
159
- function jn(e) {
160
- const t = N("style");
161
- return t.textContent = "/* empty */", Vt(it(e), t), t.sheet;
159
+ function Xr(e) {
160
+ const t = C("style");
161
+ return t.textContent = "/* empty */", Zt(lt(e), t), t.sheet;
162
162
  }
163
- function Vt(e, t) {
163
+ function Zt(e, t) {
164
164
  return A(
165
165
  /** @type {Document} */
166
166
  e.head || e,
167
167
  t
168
168
  ), t.sheet;
169
169
  }
170
- function le(e, t, n) {
171
- e.insertBefore(t, n || null);
170
+ function le(e, t, r) {
171
+ e.insertBefore(t, r || null);
172
172
  }
173
173
  function F(e) {
174
174
  e.parentNode && e.parentNode.removeChild(e);
175
175
  }
176
- function No(e, t) {
177
- for (let n = 0; n < e.length; n += 1)
178
- e[n] && e[n].d(t);
176
+ function Ro(e, t) {
177
+ for (let r = 0; r < e.length; r += 1)
178
+ e[r] && e[r].d(t);
179
179
  }
180
- function N(e) {
180
+ function C(e) {
181
181
  return document.createElement(e);
182
182
  }
183
- function ne(e) {
183
+ function te(e) {
184
184
  return document.createElementNS("http://www.w3.org/2000/svg", e);
185
185
  }
186
- function fe(e) {
186
+ function he(e) {
187
187
  return document.createTextNode(e);
188
188
  }
189
- function kn() {
190
- return fe(" ");
189
+ function Wr() {
190
+ return he(" ");
191
191
  }
192
- function Mo() {
193
- return fe("");
192
+ function Uo() {
193
+ return he("");
194
194
  }
195
- function Xt(e, t, n, r) {
196
- return e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r);
195
+ function qt(e, t, r, n) {
196
+ return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
197
197
  }
198
- function Co(e) {
198
+ function Do(e) {
199
199
  return function(t) {
200
200
  return t.preventDefault(), e.call(this, t);
201
201
  };
202
202
  }
203
- function B(e, t, n) {
204
- n == null ? e.removeAttribute(t) : e.getAttribute(t) !== n && e.setAttribute(t, n);
203
+ function B(e, t, r) {
204
+ r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
205
205
  }
206
- function $o(e, t, n) {
207
- const r = t.toLowerCase();
208
- r in e ? e[r] = typeof e[r] == "boolean" && n === "" ? !0 : n : t in e ? e[t] = typeof e[t] == "boolean" && n === "" ? !0 : n : B(e, t, n);
206
+ function Go(e, t, r) {
207
+ const n = t.toLowerCase();
208
+ n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : B(e, t, r);
209
209
  }
210
- function Ro(e) {
210
+ function Fo(e) {
211
211
  let t;
212
212
  return {
213
213
  /* push */
214
- p(...n) {
215
- t = n, t.forEach((r) => e.push(r));
214
+ p(...r) {
215
+ t = r, t.forEach((n) => e.push(n));
216
216
  },
217
217
  /* remove */
218
218
  r() {
219
- t.forEach((n) => e.splice(e.indexOf(n), 1));
219
+ t.forEach((r) => e.splice(e.indexOf(r), 1));
220
220
  }
221
221
  };
222
222
  }
223
- function Uo(e) {
223
+ function jo(e) {
224
224
  return e === "" ? null : +e;
225
225
  }
226
- function Vn(e) {
226
+ function zr(e) {
227
227
  return Array.from(e.childNodes);
228
228
  }
229
- function Wt(e, t) {
229
+ function Qt(e, t) {
230
230
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
231
231
  t);
232
232
  }
233
- function Do(e, t) {
233
+ function ko(e, t) {
234
234
  e.value = t == null ? "" : t;
235
235
  }
236
- function Xn(e, t, n, r) {
237
- n == null ? e.style.removeProperty(t) : e.style.setProperty(t, n, "");
236
+ function Zr(e, t, r, n) {
237
+ r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
238
238
  }
239
- function Go(e, t, n) {
240
- for (let r = 0; r < e.options.length; r += 1) {
241
- const i = e.options[r];
239
+ function Vo(e, t, r) {
240
+ for (let n = 0; n < e.options.length; n += 1) {
241
+ const i = e.options[n];
242
242
  if (i.__value === t) {
243
243
  i.selected = !0;
244
244
  return;
245
245
  }
246
246
  }
247
- (!n || t !== void 0) && (e.selectedIndex = -1);
247
+ (!r || t !== void 0) && (e.selectedIndex = -1);
248
248
  }
249
- function Fo(e) {
249
+ function Xo(e) {
250
250
  const t = e.querySelector(":checked");
251
251
  return t && t.__value;
252
252
  }
253
- function jo(e, t, n) {
254
- e.classList.toggle(t, !!n);
253
+ function Wo(e, t, r) {
254
+ e.classList.toggle(t, !!r);
255
255
  }
256
- function Wn(e, t, { bubbles: n = !1, cancelable: r = !1 } = {}) {
257
- return new CustomEvent(e, { detail: t, bubbles: n, cancelable: r });
256
+ function qr(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
257
+ return new CustomEvent(e, { detail: t, bubbles: r, cancelable: n });
258
258
  }
259
- function zn(e) {
259
+ function Qr(e) {
260
260
  const t = {};
261
261
  return e.childNodes.forEach(
262
262
  /** @param {Element} node */
263
- (n) => {
264
- t[n.slot || "default"] = !0;
263
+ (r) => {
264
+ t[r.slot || "default"] = !0;
265
265
  }
266
266
  ), t;
267
267
  }
268
- const Ee = /* @__PURE__ */ new Map();
268
+ const xe = /* @__PURE__ */ new Map();
269
269
  let Se = 0;
270
- function Zn(e) {
271
- let t = 5381, n = e.length;
272
- for (; n--; )
273
- t = (t << 5) - t ^ e.charCodeAt(n);
270
+ function Jr(e) {
271
+ let t = 5381, r = e.length;
272
+ for (; r--; )
273
+ t = (t << 5) - t ^ e.charCodeAt(r);
274
274
  return t >>> 0;
275
275
  }
276
- function qn(e, t) {
277
- const n = { stylesheet: jn(t), rules: {} };
278
- return Ee.set(e, n), n;
276
+ function Yr(e, t) {
277
+ const r = { stylesheet: Xr(t), rules: {} };
278
+ return xe.set(e, r), r;
279
279
  }
280
- function dt(e, t, n, r, i, o, s, a = 0) {
281
- const u = 16.666 / r;
282
- let h = `{
280
+ function gt(e, t, r, n, i, o, s, a = 0) {
281
+ const u = 16.666 / n;
282
+ let l = `{
283
283
  `;
284
- for (let x = 0; x <= 1; x += u) {
285
- const T = t + (n - t) * o(x);
286
- h += x * 100 + `%{${s(T, 1 - T)}}
284
+ for (let _ = 0; _ <= 1; _ += u) {
285
+ const w = t + (r - t) * o(_);
286
+ l += _ * 100 + `%{${s(w, 1 - w)}}
287
287
  `;
288
288
  }
289
- const l = h + `100% {${s(n, 1 - n)}}
290
- }`, c = `__svelte_${Zn(l)}_${a}`, f = it(e), { stylesheet: p, rules: d } = Ee.get(f) || qn(f, e);
291
- d[c] || (d[c] = !0, p.insertRule(`@keyframes ${c} ${l}`, p.cssRules.length));
289
+ const h = l + `100% {${s(r, 1 - r)}}
290
+ }`, f = `__svelte_${Jr(h)}_${a}`, c = lt(e), { stylesheet: d, rules: p } = xe.get(c) || Yr(c, e);
291
+ p[f] || (p[f] = !0, d.insertRule(`@keyframes ${f} ${h}`, d.cssRules.length));
292
292
  const m = e.style.animation || "";
293
- return e.style.animation = `${m ? `${m}, ` : ""}${c} ${r}ms linear ${i}ms 1 both`, Se += 1, c;
293
+ return e.style.animation = `${m ? `${m}, ` : ""}${f} ${n}ms linear ${i}ms 1 both`, Se += 1, f;
294
294
  }
295
- function Qn(e, t) {
296
- const n = (e.style.animation || "").split(", "), r = n.filter(
295
+ function Kr(e, t) {
296
+ const r = (e.style.animation || "").split(", "), n = r.filter(
297
297
  t ? (o) => o.indexOf(t) < 0 : (o) => o.indexOf("__svelte") === -1
298
298
  // remove all Svelte animations
299
- ), i = n.length - r.length;
300
- i && (e.style.animation = r.join(", "), Se -= i, Se || Jn());
299
+ ), i = r.length - n.length;
300
+ i && (e.style.animation = n.join(", "), Se -= i, Se || en());
301
301
  }
302
- function Jn() {
303
- rt(() => {
304
- Se || (Ee.forEach((e) => {
302
+ function en() {
303
+ ut(() => {
304
+ Se || (xe.forEach((e) => {
305
305
  const { ownerNode: t } = e.stylesheet;
306
306
  t && F(t);
307
- }), Ee.clear());
307
+ }), xe.clear());
308
308
  });
309
309
  }
310
- let se;
311
- function oe(e) {
312
- se = e;
310
+ let oe;
311
+ function ie(e) {
312
+ oe = e;
313
313
  }
314
- function Yn() {
315
- if (!se)
314
+ function tn() {
315
+ if (!oe)
316
316
  throw new Error("Function called outside component initialization");
317
- return se;
317
+ return oe;
318
318
  }
319
- function Kn(e) {
320
- Yn().$$.on_mount.push(e);
319
+ function rn(e) {
320
+ tn().$$.on_mount.push(e);
321
321
  }
322
- const X = [], je = [];
322
+ const X = [], Xe = [];
323
323
  let z = [];
324
- const pt = [], zt = /* @__PURE__ */ Promise.resolve();
325
- let ke = !1;
326
- function Zt() {
327
- ke || (ke = !0, zt.then(L));
324
+ const yt = [], Jt = /* @__PURE__ */ Promise.resolve();
325
+ let We = !1;
326
+ function Yt() {
327
+ We || (We = !0, Jt.then(L));
328
328
  }
329
- function ko() {
330
- return Zt(), zt;
329
+ function zo() {
330
+ return Yt(), Jt;
331
331
  }
332
- function Te(e) {
332
+ function we(e) {
333
333
  z.push(e);
334
334
  }
335
- const Me = /* @__PURE__ */ new Set();
335
+ const $e = /* @__PURE__ */ new Set();
336
336
  let k = 0;
337
337
  function L() {
338
338
  if (k !== 0)
339
339
  return;
340
- const e = se;
340
+ const e = oe;
341
341
  do {
342
342
  try {
343
343
  for (; k < X.length; ) {
344
344
  const t = X[k];
345
- k++, oe(t), er(t.$$);
345
+ k++, ie(t), nn(t.$$);
346
346
  }
347
347
  } catch (t) {
348
348
  throw X.length = 0, k = 0, t;
349
349
  }
350
- for (oe(null), X.length = 0, k = 0; je.length; )
351
- je.pop()();
350
+ for (ie(null), X.length = 0, k = 0; Xe.length; )
351
+ Xe.pop()();
352
352
  for (let t = 0; t < z.length; t += 1) {
353
- const n = z[t];
354
- Me.has(n) || (Me.add(n), n());
353
+ const r = z[t];
354
+ $e.has(r) || ($e.add(r), r());
355
355
  }
356
356
  z.length = 0;
357
357
  } while (X.length);
358
- for (; pt.length; )
359
- pt.pop()();
360
- ke = !1, Me.clear(), oe(e);
358
+ for (; yt.length; )
359
+ yt.pop()();
360
+ We = !1, $e.clear(), ie(e);
361
361
  }
362
- function er(e) {
362
+ function nn(e) {
363
363
  if (e.fragment !== null) {
364
364
  e.update(), G(e.before_update);
365
365
  const t = e.dirty;
366
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Te);
366
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(we);
367
367
  }
368
368
  }
369
- function tr(e) {
370
- const t = [], n = [];
371
- z.forEach((r) => e.indexOf(r) === -1 ? t.push(r) : n.push(r)), n.forEach((r) => r()), z = t;
369
+ function on(e) {
370
+ const t = [], r = [];
371
+ z.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), z = t;
372
372
  }
373
373
  let re;
374
- function nr() {
374
+ function sn() {
375
375
  return re || (re = Promise.resolve(), re.then(() => {
376
376
  re = null;
377
377
  })), re;
378
378
  }
379
- function Ce(e, t, n) {
380
- e.dispatchEvent(Wn(`${t ? "intro" : "outro"}${n}`));
379
+ function Re(e, t, r) {
380
+ e.dispatchEvent(qr(`${t ? "intro" : "outro"}${r}`));
381
381
  }
382
382
  const ge = /* @__PURE__ */ new Set();
383
383
  let M;
384
- function Vo() {
384
+ function Zo() {
385
385
  M = {
386
386
  r: 0,
387
387
  c: [],
@@ -389,114 +389,114 @@ function Vo() {
389
389
  // parent group
390
390
  };
391
391
  }
392
- function Xo() {
392
+ function qo() {
393
393
  M.r || G(M.c), M = M.p;
394
394
  }
395
- function rr(e, t) {
395
+ function an(e, t) {
396
396
  e && e.i && (ge.delete(e), e.i(t));
397
397
  }
398
- function Wo(e, t, n, r) {
398
+ function Qo(e, t, r, n) {
399
399
  if (e && e.o) {
400
400
  if (ge.has(e))
401
401
  return;
402
402
  ge.add(e), M.c.push(() => {
403
- ge.delete(e), r && (n && e.d(1), r());
403
+ ge.delete(e), n && (r && e.d(1), n());
404
404
  }), e.o(t);
405
405
  } else
406
- r && r();
406
+ n && n();
407
407
  }
408
- const ir = { duration: 0 };
409
- function zo(e, t, n, r) {
410
- let o = t(e, n, { direction: "both" }), s = r ? 0 : 1, a = null, u = null, h = null, l;
411
- function c() {
412
- h && Qn(e, h);
408
+ const un = { duration: 0 };
409
+ function Jo(e, t, r, n) {
410
+ let o = t(e, r, { direction: "both" }), s = n ? 0 : 1, a = null, u = null, l = null, h;
411
+ function f() {
412
+ l && Kr(e, l);
413
413
  }
414
- function f(d, m) {
415
- const x = (
414
+ function c(p, m) {
415
+ const _ = (
416
416
  /** @type {Program['d']} */
417
- d.b - s
417
+ p.b - s
418
418
  );
419
- return m *= Math.abs(x), {
419
+ return m *= Math.abs(_), {
420
420
  a: s,
421
- b: d.b,
422
- d: x,
421
+ b: p.b,
422
+ d: _,
423
423
  duration: m,
424
- start: d.start,
425
- end: d.start + m,
426
- group: d.group
424
+ start: p.start,
425
+ end: p.start + m,
426
+ group: p.group
427
427
  };
428
428
  }
429
- function p(d) {
429
+ function d(p) {
430
430
  const {
431
431
  delay: m = 0,
432
- duration: x = 300,
433
- easing: T = Cn,
432
+ duration: _ = 300,
433
+ easing: w = Ur,
434
434
  tick: P = H,
435
- css: E
436
- } = o || ir, I = {
437
- start: Dn() + m,
438
- b: d
435
+ css: x
436
+ } = o || un, I = {
437
+ start: jr() + m,
438
+ b: p
439
439
  };
440
- d || (I.group = M, M.r += 1), "inert" in e && (d ? l !== void 0 && (e.inert = l) : (l = /** @type {HTMLElement} */
441
- e.inert, e.inert = !0)), a || u ? u = I : (E && (c(), h = dt(e, s, d, x, m, T, E)), d && P(0, 1), a = f(I, x), Te(() => Ce(e, d, "start")), Gn((w) => {
442
- if (u && w > u.start && (a = f(u, x), u = null, Ce(e, a.b, "start"), E && (c(), h = dt(
440
+ p || (I.group = M, M.r += 1), "inert" in e && (p ? h !== void 0 && (e.inert = h) : (h = /** @type {HTMLElement} */
441
+ e.inert, e.inert = !0)), a || u ? u = I : (x && (f(), l = gt(e, s, p, _, m, w, x)), p && P(0, 1), a = c(I, _), we(() => Re(e, p, "start")), kr((T) => {
442
+ if (u && T > u.start && (a = c(u, _), u = null, Re(e, a.b, "start"), x && (f(), l = gt(
443
443
  e,
444
444
  s,
445
445
  a.b,
446
446
  a.duration,
447
447
  0,
448
- T,
448
+ w,
449
449
  o.css
450
450
  ))), a) {
451
- if (w >= a.end)
452
- P(s = a.b, 1 - s), Ce(e, a.b, "end"), u || (a.b ? c() : --a.group.r || G(a.group.c)), a = null;
453
- else if (w >= a.start) {
454
- const R = w - a.start;
455
- s = a.a + a.d * T(R / a.duration), P(s, 1 - s);
451
+ if (T >= a.end)
452
+ P(s = a.b, 1 - s), Re(e, a.b, "end"), u || (a.b ? f() : --a.group.r || G(a.group.c)), a = null;
453
+ else if (T >= a.start) {
454
+ const R = T - a.start;
455
+ s = a.a + a.d * w(R / a.duration), P(s, 1 - s);
456
456
  }
457
457
  }
458
458
  return !!(a || u);
459
459
  }));
460
460
  }
461
461
  return {
462
- run(d) {
463
- he(o) ? nr().then(() => {
464
- o = o({ direction: d ? "in" : "out" }), p(d);
465
- }) : p(d);
462
+ run(p) {
463
+ ue(o) ? sn().then(() => {
464
+ o = o({ direction: p ? "in" : "out" }), d(p);
465
+ }) : d(p);
466
466
  },
467
467
  end() {
468
- c(), a = u = null;
468
+ f(), a = u = null;
469
469
  }
470
470
  };
471
471
  }
472
- function Zo(e) {
472
+ function Yo(e) {
473
473
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
474
474
  }
475
- function or(e, t, n) {
476
- const { fragment: r, after_update: i } = e.$$;
477
- r && r.m(t, n), Te(() => {
478
- const o = e.$$.on_mount.map(Ut).filter(he);
475
+ function ln(e, t, r) {
476
+ const { fragment: n, after_update: i } = e.$$;
477
+ n && n.m(t, r), we(() => {
478
+ const o = e.$$.on_mount.map(jt).filter(ue);
479
479
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : G(o), e.$$.on_mount = [];
480
- }), i.forEach(Te);
480
+ }), i.forEach(we);
481
481
  }
482
- function sr(e, t) {
483
- const n = e.$$;
484
- n.fragment !== null && (tr(n.after_update), G(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
482
+ function hn(e, t) {
483
+ const r = e.$$;
484
+ r.fragment !== null && (on(r.after_update), G(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
485
485
  }
486
- function ar(e, t) {
487
- e.$$.dirty[0] === -1 && (X.push(e), Zt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
486
+ function cn(e, t) {
487
+ e.$$.dirty[0] === -1 && (X.push(e), Yt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
488
488
  }
489
- function ur(e, t, n, r, i, o, s = null, a = [-1]) {
490
- const u = se;
491
- oe(e);
492
- const h = e.$$ = {
489
+ function fn(e, t, r, n, i, o, s = null, a = [-1]) {
490
+ const u = oe;
491
+ ie(e);
492
+ const l = e.$$ = {
493
493
  fragment: null,
494
494
  ctx: [],
495
495
  // state
496
496
  props: o,
497
497
  update: H,
498
498
  not_equal: i,
499
- bound: ct(),
499
+ bound: bt(),
500
500
  // lifecycle
501
501
  on_mount: [],
502
502
  on_destroy: [],
@@ -505,29 +505,29 @@ function ur(e, t, n, r, i, o, s = null, a = [-1]) {
505
505
  after_update: [],
506
506
  context: new Map(t.context || (u ? u.$$.context : [])),
507
507
  // everything else
508
- callbacks: ct(),
508
+ callbacks: bt(),
509
509
  dirty: a,
510
510
  skip_bound: !1,
511
511
  root: t.target || u.$$.root
512
512
  };
513
- s && s(h.root);
514
- let l = !1;
515
- if (h.ctx = n ? n(e, t.props || {}, (c, f, ...p) => {
516
- const d = p.length ? p[0] : f;
517
- return h.ctx && i(h.ctx[c], h.ctx[c] = d) && (!h.skip_bound && h.bound[c] && h.bound[c](d), l && ar(e, c)), f;
518
- }) : [], h.update(), l = !0, G(h.before_update), h.fragment = r ? r(h.ctx) : !1, t.target) {
513
+ s && s(l.root);
514
+ let h = !1;
515
+ if (l.ctx = r ? r(e, t.props || {}, (f, c, ...d) => {
516
+ const p = d.length ? d[0] : c;
517
+ return l.ctx && i(l.ctx[f], l.ctx[f] = p) && (!l.skip_bound && l.bound[f] && l.bound[f](p), h && cn(e, f)), c;
518
+ }) : [], l.update(), h = !0, G(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
519
519
  if (t.hydrate) {
520
- const c = Vn(t.target);
521
- h.fragment && h.fragment.l(c), c.forEach(F);
520
+ const f = zr(t.target);
521
+ l.fragment && l.fragment.l(f), f.forEach(F);
522
522
  } else
523
- h.fragment && h.fragment.c();
524
- t.intro && rr(e.$$.fragment), or(e, t.target, t.anchor), L();
523
+ l.fragment && l.fragment.c();
524
+ t.intro && an(e.$$.fragment), ln(e, t.target, t.anchor), L();
525
525
  }
526
- oe(u);
526
+ ie(u);
527
527
  }
528
- let qt;
529
- typeof HTMLElement == "function" && (qt = class extends HTMLElement {
530
- constructor(t, n, r) {
528
+ let Kt;
529
+ typeof HTMLElement == "function" && (Kt = class extends HTMLElement {
530
+ constructor(t, r, n) {
531
531
  super();
532
532
  /** The Svelte component constructor */
533
533
  O(this, "$$ctor");
@@ -547,49 +547,49 @@ typeof HTMLElement == "function" && (qt = class extends HTMLElement {
547
547
  O(this, "$$l", {});
548
548
  /** @type {Map<Function, Function>} Event listener unsubscribe functions */
549
549
  O(this, "$$l_u", /* @__PURE__ */ new Map());
550
- this.$$ctor = t, this.$$s = n, r && this.attachShadow({ mode: "open" });
550
+ this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
551
551
  }
552
- addEventListener(t, n, r) {
553
- if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(n), this.$$c) {
554
- const i = this.$$c.$on(t, n);
555
- this.$$l_u.set(n, i);
552
+ addEventListener(t, r, n) {
553
+ if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(r), this.$$c) {
554
+ const i = this.$$c.$on(t, r);
555
+ this.$$l_u.set(r, i);
556
556
  }
557
- super.addEventListener(t, n, r);
557
+ super.addEventListener(t, r, n);
558
558
  }
559
- removeEventListener(t, n, r) {
560
- if (super.removeEventListener(t, n, r), this.$$c) {
561
- const i = this.$$l_u.get(n);
562
- i && (i(), this.$$l_u.delete(n));
559
+ removeEventListener(t, r, n) {
560
+ if (super.removeEventListener(t, r, n), this.$$c) {
561
+ const i = this.$$l_u.get(r);
562
+ i && (i(), this.$$l_u.delete(r));
563
563
  }
564
564
  }
565
565
  connectedCallback() {
566
- return ft(this, null, function* () {
566
+ return mt(this, null, function* () {
567
567
  if (this.$$cn = !0, !this.$$c) {
568
568
  let t = function(o) {
569
569
  return () => {
570
570
  let s;
571
571
  return {
572
572
  c: function() {
573
- s = N("slot"), o !== "default" && B(s, "name", o);
573
+ s = C("slot"), o !== "default" && B(s, "name", o);
574
574
  },
575
575
  /**
576
576
  * @param {HTMLElement} target
577
577
  * @param {HTMLElement} [anchor]
578
578
  */
579
- m: function(h, l) {
580
- le(h, s, l);
579
+ m: function(l, h) {
580
+ le(l, s, h);
581
581
  },
582
- d: function(h) {
583
- h && F(s);
582
+ d: function(l) {
583
+ l && F(s);
584
584
  }
585
585
  };
586
586
  };
587
587
  };
588
588
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
589
589
  return;
590
- const n = {}, r = zn(this);
590
+ const r = {}, n = Qr(this);
591
591
  for (const o of this.$$s)
592
- o in r && (n[o] = [t(o)]);
592
+ o in n && (r[o] = [t(o)]);
593
593
  for (const o of this.attributes) {
594
594
  const s = this.$$g_p(o.name);
595
595
  s in this.$$d || (this.$$d[s] = ye(s, o.value, this.$$p_d, "toProp"));
@@ -598,8 +598,8 @@ typeof HTMLElement == "function" && (qt = class extends HTMLElement {
598
598
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
599
599
  this.$$c = new this.$$ctor({
600
600
  target: this.shadowRoot || this,
601
- props: lt(ht({}, this.$$d), {
602
- $$slots: n,
601
+ props: dt(pt({}, this.$$d), {
602
+ $$slots: r,
603
603
  $$scope: {
604
604
  ctx: []
605
605
  }
@@ -631,9 +631,9 @@ typeof HTMLElement == "function" && (qt = class extends HTMLElement {
631
631
  }
632
632
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
633
633
  // and setting attributes through setAttribute etc, this is helpful
634
- attributeChangedCallback(t, n, r) {
634
+ attributeChangedCallback(t, r, n) {
635
635
  var i;
636
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = ye(t, r, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
636
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = ye(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
637
637
  }
638
638
  disconnectedCallback() {
639
639
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -642,16 +642,16 @@ typeof HTMLElement == "function" && (qt = class extends HTMLElement {
642
642
  }
643
643
  $$g_p(t) {
644
644
  return Object.keys(this.$$p_d).find(
645
- (n) => this.$$p_d[n].attribute === t || !this.$$p_d[n].attribute && n.toLowerCase() === t
645
+ (r) => this.$$p_d[r].attribute === t || !this.$$p_d[r].attribute && r.toLowerCase() === t
646
646
  ) || t;
647
647
  }
648
648
  });
649
- function ye(e, t, n, r) {
649
+ function ye(e, t, r, n) {
650
650
  var o;
651
- const i = (o = n[e]) == null ? void 0 : o.type;
652
- if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !r || !n[e])
651
+ const i = (o = r[e]) == null ? void 0 : o.type;
652
+ if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
653
653
  return t;
654
- if (r === "toAttribute")
654
+ if (n === "toAttribute")
655
655
  switch (i) {
656
656
  case "Object":
657
657
  case "Array":
@@ -676,10 +676,10 @@ function ye(e, t, n, r) {
676
676
  return t;
677
677
  }
678
678
  }
679
- function hr(e, t, n, r, i, o) {
680
- let s = class extends qt {
679
+ function pn(e, t, r, n, i, o) {
680
+ let s = class extends Kt {
681
681
  constructor() {
682
- super(e, n, i), this.$$p_d = t;
682
+ super(e, r, i), this.$$p_d = t;
683
683
  }
684
684
  static get observedAttributes() {
685
685
  return Object.keys(t).map(
@@ -693,11 +693,11 @@ function hr(e, t, n, r, i, o) {
693
693
  return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
694
694
  },
695
695
  set(u) {
696
- var h;
697
- u = ye(a, u, t), this.$$d[a] = u, (h = this.$$c) == null || h.$set({ [a]: u });
696
+ var l;
697
+ u = ye(a, u, t), this.$$d[a] = u, (l = this.$$c) == null || l.$set({ [a]: u });
698
698
  }
699
699
  });
700
- }), r.forEach((a) => {
700
+ }), n.forEach((a) => {
701
701
  Object.defineProperty(s.prototype, a, {
702
702
  get() {
703
703
  var u;
@@ -707,7 +707,7 @@ function hr(e, t, n, r, i, o) {
707
707
  }), e.element = /** @type {any} */
708
708
  s, s;
709
709
  }
710
- class lr {
710
+ class dn {
711
711
  constructor() {
712
712
  /**
713
713
  * ### PRIVATE API
@@ -728,7 +728,7 @@ class lr {
728
728
  }
729
729
  /** @returns {void} */
730
730
  $destroy() {
731
- sr(this, 1), this.$destroy = H;
731
+ hn(this, 1), this.$destroy = H;
732
732
  }
733
733
  /**
734
734
  * @template {Extract<keyof Events, string>} K
@@ -736,13 +736,13 @@ class lr {
736
736
  * @param {((e: Events[K]) => void) | null | undefined} callback
737
737
  * @returns {() => void}
738
738
  */
739
- $on(t, n) {
740
- if (!he(n))
739
+ $on(t, r) {
740
+ if (!ue(r))
741
741
  return H;
742
- const r = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
743
- return r.push(n), () => {
744
- const i = r.indexOf(n);
745
- i !== -1 && r.splice(i, 1);
742
+ const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
743
+ return n.push(r), () => {
744
+ const i = n.indexOf(r);
745
+ i !== -1 && n.splice(i, 1);
746
746
  };
747
747
  }
748
748
  /**
@@ -750,11 +750,11 @@ class lr {
750
750
  * @returns {void}
751
751
  */
752
752
  $set(t) {
753
- this.$$set && !Rn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
753
+ this.$$set && !Gr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
754
754
  }
755
755
  }
756
- const fr = "4";
757
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(fr);
756
+ const mn = "4";
757
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(mn);
758
758
  /*! *****************************************************************************
759
759
  Copyright (c) Microsoft Corporation.
760
760
 
@@ -769,67 +769,48 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
769
769
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
770
770
  PERFORMANCE OF THIS SOFTWARE.
771
771
  ***************************************************************************** */
772
- var Ve = function(e, t) {
773
- return Ve = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
774
- n.__proto__ = r;
775
- } || function(n, r) {
776
- for (var i in r)
777
- Object.prototype.hasOwnProperty.call(r, i) && (n[i] = r[i]);
778
- }, Ve(e, t);
772
+ var ze = function(e, t) {
773
+ return ze = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
774
+ r.__proto__ = n;
775
+ } || function(r, n) {
776
+ for (var i in n)
777
+ Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
778
+ }, ze(e, t);
779
779
  };
780
- function $(e, t) {
780
+ function ce(e, t) {
781
781
  if (typeof t != "function" && t !== null)
782
782
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
783
- Ve(e, t);
784
- function n() {
783
+ ze(e, t);
784
+ function r() {
785
785
  this.constructor = e;
786
786
  }
787
- e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
788
- }
789
- var y = function() {
790
- return y = Object.assign || function(t) {
791
- for (var n, r = 1, i = arguments.length; r < i; r++) {
792
- n = arguments[r];
793
- for (var o in n)
794
- Object.prototype.hasOwnProperty.call(n, o) && (t[o] = n[o]);
795
- }
796
- return t;
797
- }, y.apply(this, arguments);
798
- };
799
- function cr(e, t) {
800
- var n = {};
801
- for (var r in e)
802
- Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
803
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
804
- for (var i = 0, r = Object.getOwnPropertySymbols(e); i < r.length; i++)
805
- t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]);
806
- return n;
787
+ e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
807
788
  }
808
- function Xe(e) {
809
- var t = typeof Symbol == "function" && Symbol.iterator, n = t && e[t], r = 0;
810
- if (n)
811
- return n.call(e);
789
+ function Ze(e) {
790
+ var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
791
+ if (r)
792
+ return r.call(e);
812
793
  if (e && typeof e.length == "number")
813
794
  return {
814
795
  next: function() {
815
- return e && r >= e.length && (e = void 0), { value: e && e[r++], done: !e };
796
+ return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
816
797
  }
817
798
  };
818
799
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
819
800
  }
820
- function We(e, t) {
821
- var n = typeof Symbol == "function" && e[Symbol.iterator];
822
- if (!n)
801
+ function qe(e, t) {
802
+ var r = typeof Symbol == "function" && e[Symbol.iterator];
803
+ if (!r)
823
804
  return e;
824
- var r = n.call(e), i, o = [], s;
805
+ var n = r.call(e), i, o = [], s;
825
806
  try {
826
- for (; (t === void 0 || t-- > 0) && !(i = r.next()).done; )
807
+ for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
827
808
  o.push(i.value);
828
809
  } catch (a) {
829
810
  s = { error: a };
830
811
  } finally {
831
812
  try {
832
- i && !i.done && (n = r.return) && n.call(r);
813
+ i && !i.done && (r = n.return) && r.call(n);
833
814
  } finally {
834
815
  if (s)
835
816
  throw s.error;
@@ -837,57 +818,57 @@ function We(e, t) {
837
818
  }
838
819
  return o;
839
820
  }
840
- function Z(e, t, n) {
841
- if (n || arguments.length === 2)
842
- for (var r = 0, i = t.length, o; r < i; r++)
843
- (o || !(r in t)) && (o || (o = Array.prototype.slice.call(t, 0, r)), o[r] = t[r]);
821
+ function Qe(e, t, r) {
822
+ if (arguments.length === 2)
823
+ for (var n = 0, i = t.length, o; n < i; n++)
824
+ (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
844
825
  return e.concat(o || t);
845
826
  }
846
- function C(e) {
827
+ function $(e) {
847
828
  return typeof e == "function";
848
829
  }
849
- function Qt(e) {
850
- var t = function(r) {
851
- Error.call(r), r.stack = new Error().stack;
852
- }, n = e(t);
853
- return n.prototype = Object.create(Error.prototype), n.prototype.constructor = n, n;
854
- }
855
- var $e = Qt(function(e) {
856
- return function(n) {
857
- e(this), this.message = n ? n.length + ` errors occurred during unsubscription:
858
- ` + n.map(function(r, i) {
859
- return i + 1 + ") " + r.toString();
830
+ function er(e) {
831
+ var t = function(n) {
832
+ Error.call(n), n.stack = new Error().stack;
833
+ }, r = e(t);
834
+ return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
835
+ }
836
+ var Ue = er(function(e) {
837
+ return function(r) {
838
+ e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
839
+ ` + r.map(function(n, i) {
840
+ return i + 1 + ") " + n.toString();
860
841
  }).join(`
861
- `) : "", this.name = "UnsubscriptionError", this.errors = n;
842
+ `) : "", this.name = "UnsubscriptionError", this.errors = r;
862
843
  };
863
844
  });
864
- function ze(e, t) {
845
+ function Je(e, t) {
865
846
  if (e) {
866
- var n = e.indexOf(t);
867
- 0 <= n && e.splice(n, 1);
847
+ var r = e.indexOf(t);
848
+ 0 <= r && e.splice(r, 1);
868
849
  }
869
850
  }
870
- var Be = function() {
851
+ var Ae = function() {
871
852
  function e(t) {
872
853
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
873
854
  }
874
855
  return e.prototype.unsubscribe = function() {
875
- var t, n, r, i, o;
856
+ var t, r, n, i, o;
876
857
  if (!this.closed) {
877
858
  this.closed = !0;
878
859
  var s = this._parentage;
879
860
  if (s)
880
861
  if (this._parentage = null, Array.isArray(s))
881
862
  try {
882
- for (var a = Xe(s), u = a.next(); !u.done; u = a.next()) {
883
- var h = u.value;
884
- h.remove(this);
863
+ for (var a = Ze(s), u = a.next(); !u.done; u = a.next()) {
864
+ var l = u.value;
865
+ l.remove(this);
885
866
  }
886
867
  } catch (m) {
887
868
  t = { error: m };
888
869
  } finally {
889
870
  try {
890
- u && !u.done && (n = a.return) && n.call(a);
871
+ u && !u.done && (r = a.return) && r.call(a);
891
872
  } finally {
892
873
  if (t)
893
874
  throw t.error;
@@ -895,123 +876,119 @@ var Be = function() {
895
876
  }
896
877
  else
897
878
  s.remove(this);
898
- var l = this.initialTeardown;
899
- if (C(l))
879
+ var h = this.initialTeardown;
880
+ if ($(h))
900
881
  try {
901
- l();
882
+ h();
902
883
  } catch (m) {
903
- o = m instanceof $e ? m.errors : [m];
884
+ o = m instanceof Ue ? m.errors : [m];
904
885
  }
905
- var c = this._finalizers;
906
- if (c) {
886
+ var f = this._finalizers;
887
+ if (f) {
907
888
  this._finalizers = null;
908
889
  try {
909
- for (var f = Xe(c), p = f.next(); !p.done; p = f.next()) {
910
- var d = p.value;
890
+ for (var c = Ze(f), d = c.next(); !d.done; d = c.next()) {
891
+ var p = d.value;
911
892
  try {
912
- mt(d);
893
+ vt(p);
913
894
  } catch (m) {
914
- o = o != null ? o : [], m instanceof $e ? o = Z(Z([], We(o)), We(m.errors)) : o.push(m);
895
+ o = o != null ? o : [], m instanceof Ue ? o = Qe(Qe([], qe(o)), qe(m.errors)) : o.push(m);
915
896
  }
916
897
  }
917
898
  } catch (m) {
918
- r = { error: m };
899
+ n = { error: m };
919
900
  } finally {
920
901
  try {
921
- p && !p.done && (i = f.return) && i.call(f);
902
+ d && !d.done && (i = c.return) && i.call(c);
922
903
  } finally {
923
- if (r)
924
- throw r.error;
904
+ if (n)
905
+ throw n.error;
925
906
  }
926
907
  }
927
908
  }
928
909
  if (o)
929
- throw new $e(o);
910
+ throw new Ue(o);
930
911
  }
931
912
  }, e.prototype.add = function(t) {
932
- var n;
913
+ var r;
933
914
  if (t && t !== this)
934
915
  if (this.closed)
935
- mt(t);
916
+ vt(t);
936
917
  else {
937
918
  if (t instanceof e) {
938
919
  if (t.closed || t._hasParent(this))
939
920
  return;
940
921
  t._addParent(this);
941
922
  }
942
- (this._finalizers = (n = this._finalizers) !== null && n !== void 0 ? n : []).push(t);
923
+ (this._finalizers = (r = this._finalizers) !== null && r !== void 0 ? r : []).push(t);
943
924
  }
944
925
  }, e.prototype._hasParent = function(t) {
945
- var n = this._parentage;
946
- return n === t || Array.isArray(n) && n.includes(t);
926
+ var r = this._parentage;
927
+ return r === t || Array.isArray(r) && r.includes(t);
947
928
  }, e.prototype._addParent = function(t) {
948
- var n = this._parentage;
949
- this._parentage = Array.isArray(n) ? (n.push(t), n) : n ? [n, t] : t;
929
+ var r = this._parentage;
930
+ this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
950
931
  }, e.prototype._removeParent = function(t) {
951
- var n = this._parentage;
952
- n === t ? this._parentage = null : Array.isArray(n) && ze(n, t);
932
+ var r = this._parentage;
933
+ r === t ? this._parentage = null : Array.isArray(r) && Je(r, t);
953
934
  }, e.prototype.remove = function(t) {
954
- var n = this._finalizers;
955
- n && ze(n, t), t instanceof e && t._removeParent(this);
935
+ var r = this._finalizers;
936
+ r && Je(r, t), t instanceof e && t._removeParent(this);
956
937
  }, e.EMPTY = function() {
957
938
  var t = new e();
958
939
  return t.closed = !0, t;
959
940
  }(), e;
960
- }(), Jt = Be.EMPTY;
961
- function Yt(e) {
962
- return e instanceof Be || e && "closed" in e && C(e.remove) && C(e.add) && C(e.unsubscribe);
963
- }
964
- function mt(e) {
965
- C(e) ? e() : e.unsubscribe();
966
- }
967
- var dr = {
968
- onUnhandledError: null,
969
- onStoppedNotification: null,
970
- Promise: void 0,
971
- useDeprecatedSynchronousErrorHandling: !1,
972
- useDeprecatedNextContext: !1
973
- }, pr = {
941
+ }(), tr = Ae.EMPTY;
942
+ function rr(e) {
943
+ return e instanceof Ae || e && "closed" in e && $(e.remove) && $(e.add) && $(e.unsubscribe);
944
+ }
945
+ function vt(e) {
946
+ $(e) ? e() : e.unsubscribe();
947
+ }
948
+ var bn = {
949
+ Promise: void 0
950
+ }, gn = {
974
951
  setTimeout: function(e, t) {
975
- for (var n = [], r = 2; r < arguments.length; r++)
976
- n[r - 2] = arguments[r];
977
- return setTimeout.apply(void 0, Z([e, t], We(n)));
952
+ for (var r = [], n = 2; n < arguments.length; n++)
953
+ r[n - 2] = arguments[n];
954
+ return setTimeout.apply(void 0, Qe([e, t], qe(r)));
978
955
  },
979
956
  clearTimeout: function(e) {
980
957
  return clearTimeout(e);
981
958
  },
982
959
  delegate: void 0
983
960
  };
984
- function mr(e) {
985
- pr.setTimeout(function() {
961
+ function yn(e) {
962
+ gn.setTimeout(function() {
986
963
  throw e;
987
964
  });
988
965
  }
989
- function bt() {
966
+ function _t() {
990
967
  }
991
- function _e(e) {
968
+ function ve(e) {
992
969
  e();
993
970
  }
994
- var Kt = function(e) {
995
- $(t, e);
996
- function t(n) {
997
- var r = e.call(this) || this;
998
- return r.isStopped = !1, n ? (r.destination = n, Yt(n) && n.add(r)) : r.destination = yr, r;
971
+ var nr = function(e) {
972
+ ce(t, e);
973
+ function t(r) {
974
+ var n = e.call(this) || this;
975
+ return n.isStopped = !1, r ? (n.destination = r, rr(r) && r.add(n)) : n.destination = En, n;
999
976
  }
1000
- return t.create = function(n, r, i) {
1001
- return new Ze(n, r, i);
1002
- }, t.prototype.next = function(n) {
1003
- this.isStopped || this._next(n);
1004
- }, t.prototype.error = function(n) {
1005
- this.isStopped || (this.isStopped = !0, this._error(n));
977
+ return t.create = function(r, n, i) {
978
+ return new Ye(r, n, i);
979
+ }, t.prototype.next = function(r) {
980
+ this.isStopped || this._next(r);
981
+ }, t.prototype.error = function(r) {
982
+ this.isStopped || (this.isStopped = !0, this._error(r));
1006
983
  }, t.prototype.complete = function() {
1007
984
  this.isStopped || (this.isStopped = !0, this._complete());
1008
985
  }, t.prototype.unsubscribe = function() {
1009
986
  this.closed || (this.isStopped = !0, e.prototype.unsubscribe.call(this), this.destination = null);
1010
- }, t.prototype._next = function(n) {
1011
- this.destination.next(n);
1012
- }, t.prototype._error = function(n) {
987
+ }, t.prototype._next = function(r) {
988
+ this.destination.next(r);
989
+ }, t.prototype._error = function(r) {
1013
990
  try {
1014
- this.destination.error(n);
991
+ this.destination.error(r);
1015
992
  } finally {
1016
993
  this.unsubscribe();
1017
994
  }
@@ -1022,25 +999,25 @@ var Kt = function(e) {
1022
999
  this.unsubscribe();
1023
1000
  }
1024
1001
  }, t;
1025
- }(Be), br = function() {
1002
+ }(Ae), vn = function() {
1026
1003
  function e(t) {
1027
1004
  this.partialObserver = t;
1028
1005
  }
1029
1006
  return e.prototype.next = function(t) {
1030
- var n = this.partialObserver;
1031
- if (n.next)
1007
+ var r = this.partialObserver;
1008
+ if (r.next)
1032
1009
  try {
1033
- n.next(t);
1034
- } catch (r) {
1035
- me(r);
1010
+ r.next(t);
1011
+ } catch (n) {
1012
+ me(n);
1036
1013
  }
1037
1014
  }, e.prototype.error = function(t) {
1038
- var n = this.partialObserver;
1039
- if (n.error)
1015
+ var r = this.partialObserver;
1016
+ if (r.error)
1040
1017
  try {
1041
- n.error(t);
1042
- } catch (r) {
1043
- me(r);
1018
+ r.error(t);
1019
+ } catch (n) {
1020
+ me(n);
1044
1021
  }
1045
1022
  else
1046
1023
  me(t);
@@ -1049,69 +1026,69 @@ var Kt = function(e) {
1049
1026
  if (t.complete)
1050
1027
  try {
1051
1028
  t.complete();
1052
- } catch (n) {
1053
- me(n);
1029
+ } catch (r) {
1030
+ me(r);
1054
1031
  }
1055
1032
  }, e;
1056
- }(), Ze = function(e) {
1057
- $(t, e);
1058
- function t(n, r, i) {
1033
+ }(), Ye = function(e) {
1034
+ ce(t, e);
1035
+ function t(r, n, i) {
1059
1036
  var o = e.call(this) || this, s;
1060
- return C(n) || !n ? s = {
1061
- next: n != null ? n : void 0,
1062
- error: r != null ? r : void 0,
1037
+ return $(r) || !r ? s = {
1038
+ next: r != null ? r : void 0,
1039
+ error: n != null ? n : void 0,
1063
1040
  complete: i != null ? i : void 0
1064
- } : s = n, o.destination = new br(s), o;
1041
+ } : s = r, o.destination = new vn(s), o;
1065
1042
  }
1066
1043
  return t;
1067
- }(Kt);
1044
+ }(nr);
1068
1045
  function me(e) {
1069
- mr(e);
1046
+ yn(e);
1070
1047
  }
1071
- function gr(e) {
1048
+ function _n(e) {
1072
1049
  throw e;
1073
1050
  }
1074
- var yr = {
1051
+ var En = {
1075
1052
  closed: !0,
1076
- next: bt,
1077
- error: gr,
1078
- complete: bt
1079
- }, _r = function() {
1053
+ next: _t,
1054
+ error: _n,
1055
+ complete: _t
1056
+ }, xn = function() {
1080
1057
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
1081
1058
  }();
1082
- function vr(e) {
1059
+ function Sn(e) {
1083
1060
  return e;
1084
1061
  }
1085
- function xr(e) {
1086
- return e.length === 0 ? vr : e.length === 1 ? e[0] : function(n) {
1087
- return e.reduce(function(r, i) {
1088
- return i(r);
1089
- }, n);
1062
+ function wn(e) {
1063
+ return e.length === 0 ? Sn : e.length === 1 ? e[0] : function(r) {
1064
+ return e.reduce(function(n, i) {
1065
+ return i(n);
1066
+ }, r);
1090
1067
  };
1091
1068
  }
1092
- var gt = function() {
1069
+ var Et = function() {
1093
1070
  function e(t) {
1094
1071
  t && (this._subscribe = t);
1095
1072
  }
1096
1073
  return e.prototype.lift = function(t) {
1097
- var n = new e();
1098
- return n.source = this, n.operator = t, n;
1099
- }, e.prototype.subscribe = function(t, n, r) {
1100
- var i = this, o = Sr(t) ? t : new Ze(t, n, r);
1101
- return _e(function() {
1074
+ var r = new e();
1075
+ return r.source = this, r.operator = t, r;
1076
+ }, e.prototype.subscribe = function(t, r, n) {
1077
+ var i = this, o = Hn(t) ? t : new Ye(t, r, n);
1078
+ return ve(function() {
1102
1079
  var s = i, a = s.operator, u = s.source;
1103
1080
  o.add(a ? a.call(o, u) : u ? i._subscribe(o) : i._trySubscribe(o));
1104
1081
  }), o;
1105
1082
  }, e.prototype._trySubscribe = function(t) {
1106
1083
  try {
1107
1084
  return this._subscribe(t);
1108
- } catch (n) {
1109
- t.error(n);
1085
+ } catch (r) {
1086
+ t.error(r);
1110
1087
  }
1111
- }, e.prototype.forEach = function(t, n) {
1112
- var r = this;
1113
- return n = yt(n), new n(function(i, o) {
1114
- var s = new Ze({
1088
+ }, e.prototype.forEach = function(t, r) {
1089
+ var n = this;
1090
+ return r = xt(r), new r(function(i, o) {
1091
+ var s = new Ye({
1115
1092
  next: function(a) {
1116
1093
  try {
1117
1094
  t(a);
@@ -1122,72 +1099,72 @@ var gt = function() {
1122
1099
  error: o,
1123
1100
  complete: i
1124
1101
  });
1125
- r.subscribe(s);
1102
+ n.subscribe(s);
1126
1103
  });
1127
1104
  }, e.prototype._subscribe = function(t) {
1128
- var n;
1129
- return (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(t);
1130
- }, e.prototype[_r] = function() {
1105
+ var r;
1106
+ return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
1107
+ }, e.prototype[xn] = function() {
1131
1108
  return this;
1132
1109
  }, e.prototype.pipe = function() {
1133
- for (var t = [], n = 0; n < arguments.length; n++)
1134
- t[n] = arguments[n];
1135
- return xr(t)(this);
1110
+ for (var t = [], r = 0; r < arguments.length; r++)
1111
+ t[r] = arguments[r];
1112
+ return wn(t)(this);
1136
1113
  }, e.prototype.toPromise = function(t) {
1137
- var n = this;
1138
- return t = yt(t), new t(function(r, i) {
1114
+ var r = this;
1115
+ return t = xt(t), new t(function(n, i) {
1139
1116
  var o;
1140
- n.subscribe(function(s) {
1117
+ r.subscribe(function(s) {
1141
1118
  return o = s;
1142
1119
  }, function(s) {
1143
1120
  return i(s);
1144
1121
  }, function() {
1145
- return r(o);
1122
+ return n(o);
1146
1123
  });
1147
1124
  });
1148
1125
  }, e.create = function(t) {
1149
1126
  return new e(t);
1150
1127
  }, e;
1151
1128
  }();
1152
- function yt(e) {
1129
+ function xt(e) {
1153
1130
  var t;
1154
- return (t = e != null ? e : dr.Promise) !== null && t !== void 0 ? t : Promise;
1131
+ return (t = e != null ? e : bn.Promise) !== null && t !== void 0 ? t : Promise;
1155
1132
  }
1156
- function Er(e) {
1157
- return e && C(e.next) && C(e.error) && C(e.complete);
1133
+ function Tn(e) {
1134
+ return e && $(e.next) && $(e.error) && $(e.complete);
1158
1135
  }
1159
- function Sr(e) {
1160
- return e && e instanceof Kt || Er(e) && Yt(e);
1136
+ function Hn(e) {
1137
+ return e && e instanceof nr || Tn(e) && rr(e);
1161
1138
  }
1162
- var Tr = Qt(function(e) {
1139
+ var Bn = er(function(e) {
1163
1140
  return function() {
1164
1141
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
1165
1142
  };
1166
- }), en = function(e) {
1167
- $(t, e);
1143
+ }), ir = function(e) {
1144
+ ce(t, e);
1168
1145
  function t() {
1169
- var n = e.call(this) || this;
1170
- return n.closed = !1, n.currentObservers = null, n.observers = [], n.isStopped = !1, n.hasError = !1, n.thrownError = null, n;
1146
+ var r = e.call(this) || this;
1147
+ return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
1171
1148
  }
1172
- return t.prototype.lift = function(n) {
1173
- var r = new _t(this, this);
1174
- return r.operator = n, r;
1149
+ return t.prototype.lift = function(r) {
1150
+ var n = new St(this, this);
1151
+ return n.operator = r, n;
1175
1152
  }, t.prototype._throwIfClosed = function() {
1176
1153
  if (this.closed)
1177
- throw new Tr();
1178
- }, t.prototype.next = function(n) {
1179
- var r = this;
1180
- _e(function() {
1154
+ throw new Bn();
1155
+ }, t.prototype.next = function(r) {
1156
+ var n = this;
1157
+ ve(function() {
1181
1158
  var i, o;
1182
- if (r._throwIfClosed(), !r.isStopped) {
1183
- r.currentObservers || (r.currentObservers = Array.from(r.observers));
1159
+ if (n._throwIfClosed(), !n.isStopped) {
1160
+ n.currentObservers || (n.currentObservers = Array.from(n.observers));
1184
1161
  try {
1185
- for (var s = Xe(r.currentObservers), a = s.next(); !a.done; a = s.next()) {
1162
+ for (var s = Ze(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
1186
1163
  var u = a.value;
1187
- u.next(n);
1164
+ u.next(r);
1188
1165
  }
1189
- } catch (h) {
1190
- i = { error: h };
1166
+ } catch (l) {
1167
+ i = { error: l };
1191
1168
  } finally {
1192
1169
  try {
1193
1170
  a && !a.done && (o = s.return) && o.call(s);
@@ -1198,122 +1175,122 @@ var Tr = Qt(function(e) {
1198
1175
  }
1199
1176
  }
1200
1177
  });
1201
- }, t.prototype.error = function(n) {
1202
- var r = this;
1203
- _e(function() {
1204
- if (r._throwIfClosed(), !r.isStopped) {
1205
- r.hasError = r.isStopped = !0, r.thrownError = n;
1206
- for (var i = r.observers; i.length; )
1207
- i.shift().error(n);
1178
+ }, t.prototype.error = function(r) {
1179
+ var n = this;
1180
+ ve(function() {
1181
+ if (n._throwIfClosed(), !n.isStopped) {
1182
+ n.hasError = n.isStopped = !0, n.thrownError = r;
1183
+ for (var i = n.observers; i.length; )
1184
+ i.shift().error(r);
1208
1185
  }
1209
1186
  });
1210
1187
  }, t.prototype.complete = function() {
1211
- var n = this;
1212
- _e(function() {
1213
- if (n._throwIfClosed(), !n.isStopped) {
1214
- n.isStopped = !0;
1215
- for (var r = n.observers; r.length; )
1216
- r.shift().complete();
1188
+ var r = this;
1189
+ ve(function() {
1190
+ if (r._throwIfClosed(), !r.isStopped) {
1191
+ r.isStopped = !0;
1192
+ for (var n = r.observers; n.length; )
1193
+ n.shift().complete();
1217
1194
  }
1218
1195
  });
1219
1196
  }, t.prototype.unsubscribe = function() {
1220
1197
  this.isStopped = this.closed = !0, this.observers = this.currentObservers = null;
1221
1198
  }, Object.defineProperty(t.prototype, "observed", {
1222
1199
  get: function() {
1223
- var n;
1224
- return ((n = this.observers) === null || n === void 0 ? void 0 : n.length) > 0;
1200
+ var r;
1201
+ return ((r = this.observers) === null || r === void 0 ? void 0 : r.length) > 0;
1225
1202
  },
1226
1203
  enumerable: !1,
1227
1204
  configurable: !0
1228
- }), t.prototype._trySubscribe = function(n) {
1229
- return this._throwIfClosed(), e.prototype._trySubscribe.call(this, n);
1230
- }, t.prototype._subscribe = function(n) {
1231
- return this._throwIfClosed(), this._checkFinalizedStatuses(n), this._innerSubscribe(n);
1232
- }, t.prototype._innerSubscribe = function(n) {
1233
- var r = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
1234
- return o || s ? Jt : (this.currentObservers = null, a.push(n), new Be(function() {
1235
- r.currentObservers = null, ze(a, n);
1205
+ }), t.prototype._trySubscribe = function(r) {
1206
+ return this._throwIfClosed(), e.prototype._trySubscribe.call(this, r);
1207
+ }, t.prototype._subscribe = function(r) {
1208
+ return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
1209
+ }, t.prototype._innerSubscribe = function(r) {
1210
+ var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
1211
+ return o || s ? tr : (this.currentObservers = null, a.push(r), new Ae(function() {
1212
+ n.currentObservers = null, Je(a, r);
1236
1213
  }));
1237
- }, t.prototype._checkFinalizedStatuses = function(n) {
1238
- var r = this, i = r.hasError, o = r.thrownError, s = r.isStopped;
1239
- i ? n.error(o) : s && n.complete();
1214
+ }, t.prototype._checkFinalizedStatuses = function(r) {
1215
+ var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
1216
+ i ? r.error(o) : s && r.complete();
1240
1217
  }, t.prototype.asObservable = function() {
1241
- var n = new gt();
1242
- return n.source = this, n;
1243
- }, t.create = function(n, r) {
1244
- return new _t(n, r);
1218
+ var r = new Et();
1219
+ return r.source = this, r;
1220
+ }, t.create = function(r, n) {
1221
+ return new St(r, n);
1245
1222
  }, t;
1246
- }(gt), _t = function(e) {
1247
- $(t, e);
1248
- function t(n, r) {
1223
+ }(Et), St = function(e) {
1224
+ ce(t, e);
1225
+ function t(r, n) {
1249
1226
  var i = e.call(this) || this;
1250
- return i.destination = n, i.source = r, i;
1227
+ return i.destination = r, i.source = n, i;
1251
1228
  }
1252
- return t.prototype.next = function(n) {
1253
- var r, i;
1254
- (i = (r = this.destination) === null || r === void 0 ? void 0 : r.next) === null || i === void 0 || i.call(r, n);
1255
- }, t.prototype.error = function(n) {
1256
- var r, i;
1257
- (i = (r = this.destination) === null || r === void 0 ? void 0 : r.error) === null || i === void 0 || i.call(r, n);
1229
+ return t.prototype.next = function(r) {
1230
+ var n, i;
1231
+ (i = (n = this.destination) === null || n === void 0 ? void 0 : n.next) === null || i === void 0 || i.call(n, r);
1232
+ }, t.prototype.error = function(r) {
1233
+ var n, i;
1234
+ (i = (n = this.destination) === null || n === void 0 ? void 0 : n.error) === null || i === void 0 || i.call(n, r);
1258
1235
  }, t.prototype.complete = function() {
1259
- var n, r;
1260
- (r = (n = this.destination) === null || n === void 0 ? void 0 : n.complete) === null || r === void 0 || r.call(n);
1261
- }, t.prototype._subscribe = function(n) {
1262
- var r, i;
1263
- return (i = (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(n)) !== null && i !== void 0 ? i : Jt;
1236
+ var r, n;
1237
+ (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1238
+ }, t.prototype._subscribe = function(r) {
1239
+ var n, i;
1240
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : tr;
1264
1241
  }, t;
1265
- }(en), tn = {
1242
+ }(ir), or = {
1266
1243
  now: function() {
1267
- return (tn.delegate || Date).now();
1244
+ return (or.delegate || Date).now();
1268
1245
  },
1269
1246
  delegate: void 0
1270
- }, wr = function(e) {
1271
- $(t, e);
1272
- function t(n, r, i) {
1273
- n === void 0 && (n = 1 / 0), r === void 0 && (r = 1 / 0), i === void 0 && (i = tn);
1247
+ }, An = function(e) {
1248
+ ce(t, e);
1249
+ function t(r, n, i) {
1250
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = or);
1274
1251
  var o = e.call(this) || this;
1275
- return o._bufferSize = n, o._windowTime = r, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = r === 1 / 0, o._bufferSize = Math.max(1, n), o._windowTime = Math.max(1, r), o;
1252
+ return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
1276
1253
  }
1277
- return t.prototype.next = function(n) {
1278
- var r = this, i = r.isStopped, o = r._buffer, s = r._infiniteTimeWindow, a = r._timestampProvider, u = r._windowTime;
1279
- i || (o.push(n), !s && o.push(a.now() + u)), this._trimBuffer(), e.prototype.next.call(this, n);
1280
- }, t.prototype._subscribe = function(n) {
1254
+ return t.prototype.next = function(r) {
1255
+ var n = this, i = n.isStopped, o = n._buffer, s = n._infiniteTimeWindow, a = n._timestampProvider, u = n._windowTime;
1256
+ i || (o.push(r), !s && o.push(a.now() + u)), this._trimBuffer(), e.prototype.next.call(this, r);
1257
+ }, t.prototype._subscribe = function(r) {
1281
1258
  this._throwIfClosed(), this._trimBuffer();
1282
- for (var r = this._innerSubscribe(n), i = this, o = i._infiniteTimeWindow, s = i._buffer, a = s.slice(), u = 0; u < a.length && !n.closed; u += o ? 1 : 2)
1283
- n.next(a[u]);
1284
- return this._checkFinalizedStatuses(n), r;
1259
+ for (var n = this._innerSubscribe(r), i = this, o = i._infiniteTimeWindow, s = i._buffer, a = s.slice(), u = 0; u < a.length && !r.closed; u += o ? 1 : 2)
1260
+ r.next(a[u]);
1261
+ return this._checkFinalizedStatuses(r), n;
1285
1262
  }, t.prototype._trimBuffer = function() {
1286
- var n = this, r = n._bufferSize, i = n._timestampProvider, o = n._buffer, s = n._infiniteTimeWindow, a = (s ? 1 : 2) * r;
1287
- if (r < 1 / 0 && a < o.length && o.splice(0, o.length - a), !s) {
1288
- for (var u = i.now(), h = 0, l = 1; l < o.length && o[l] <= u; l += 2)
1289
- h = l;
1290
- h && o.splice(0, h + 1);
1263
+ var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, s = r._infiniteTimeWindow, a = (s ? 1 : 2) * n;
1264
+ if (n < 1 / 0 && a < o.length && o.splice(0, o.length - a), !s) {
1265
+ for (var u = i.now(), l = 0, h = 1; h < o.length && o[h] <= u; h += 2)
1266
+ l = h;
1267
+ l && o.splice(0, l + 1);
1291
1268
  }
1292
1269
  }, t;
1293
- }(en);
1294
- const vt = [], xt = {}, Hr = (e, t = 0) => {
1295
- if (vt.indexOf(e) == -1) {
1296
- const n = new wr(t);
1297
- xt[e] = n, vt.push(e);
1270
+ }(ir);
1271
+ const wt = [], Tt = {}, Pn = (e, t = 0) => {
1272
+ if (wt.indexOf(e) == -1) {
1273
+ const r = new An(t);
1274
+ Tt[e] = r, wt.push(e);
1298
1275
  }
1299
- return xt[e];
1276
+ return Tt[e];
1300
1277
  }, V = [];
1301
- function Br(e, t) {
1278
+ function On(e, t) {
1302
1279
  return {
1303
- subscribe: Ae(e, t).subscribe
1280
+ subscribe: Pe(e, t).subscribe
1304
1281
  };
1305
1282
  }
1306
- function Ae(e, t = H) {
1307
- let n;
1308
- const r = /* @__PURE__ */ new Set();
1283
+ function Pe(e, t = H) {
1284
+ let r;
1285
+ const n = /* @__PURE__ */ new Set();
1309
1286
  function i(a) {
1310
- if (Dt(e, a) && (e = a, n)) {
1287
+ if (kt(e, a) && (e = a, r)) {
1311
1288
  const u = !V.length;
1312
- for (const h of r)
1313
- h[1](), V.push(h, e);
1289
+ for (const l of n)
1290
+ l[1](), V.push(l, e);
1314
1291
  if (u) {
1315
- for (let h = 0; h < V.length; h += 2)
1316
- V[h][0](V[h + 1]);
1292
+ for (let l = 0; l < V.length; l += 2)
1293
+ V[l][0](V[l + 1]);
1317
1294
  V.length = 0;
1318
1295
  }
1319
1296
  }
@@ -1322,153 +1299,192 @@ function Ae(e, t = H) {
1322
1299
  i(a(e));
1323
1300
  }
1324
1301
  function s(a, u = H) {
1325
- const h = [a, u];
1326
- return r.add(h), r.size === 1 && (n = t(i, o) || H), a(e), () => {
1327
- r.delete(h), r.size === 0 && n && (n(), n = null);
1302
+ const l = [a, u];
1303
+ return n.add(l), n.size === 1 && (r = t(i, o) || H), a(e), () => {
1304
+ n.delete(l), n.size === 0 && r && (r(), r = null);
1328
1305
  };
1329
1306
  }
1330
1307
  return { set: i, update: o, subscribe: s };
1331
1308
  }
1332
- function K(e, t, n) {
1333
- const r = !Array.isArray(e), i = r ? [e] : e;
1309
+ function Y(e, t, r) {
1310
+ const n = !Array.isArray(e), i = n ? [e] : e;
1334
1311
  if (!i.every(Boolean))
1335
1312
  throw new Error("derived() expects stores as input, got a falsy value");
1336
1313
  const o = t.length < 2;
1337
- return Br(n, (s, a) => {
1314
+ return On(r, (s, a) => {
1338
1315
  let u = !1;
1339
- const h = [];
1340
- let l = 0, c = H;
1341
- const f = () => {
1342
- if (l)
1316
+ const l = [];
1317
+ let h = 0, f = H;
1318
+ const c = () => {
1319
+ if (h)
1343
1320
  return;
1344
- c();
1345
- const d = t(r ? h[0] : h, s, a);
1346
- o ? s(d) : c = he(d) ? d : H;
1347
- }, p = i.map(
1348
- (d, m) => Gt(
1349
- d,
1350
- (x) => {
1351
- h[m] = x, l &= ~(1 << m), u && f();
1321
+ f();
1322
+ const p = t(n ? l[0] : l, s, a);
1323
+ o ? s(p) : f = ue(p) ? p : H;
1324
+ }, d = i.map(
1325
+ (p, m) => Vt(
1326
+ p,
1327
+ (_) => {
1328
+ l[m] = _, h &= ~(1 << m), u && c();
1352
1329
  },
1353
1330
  () => {
1354
- l |= 1 << m;
1331
+ h |= 1 << m;
1355
1332
  }
1356
1333
  )
1357
1334
  );
1358
- return u = !0, f(), function() {
1359
- G(p), c(), u = !1;
1335
+ return u = !0, c(), function() {
1336
+ G(d), f(), u = !1;
1360
1337
  };
1361
1338
  });
1362
1339
  }
1363
- var qo = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
1364
- function Ar(e) {
1340
+ var Ko = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
1341
+ function In(e) {
1365
1342
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1366
1343
  }
1367
- var Pr = function(t) {
1368
- return Or(t) && !Ir(t);
1344
+ var Ln = function(t) {
1345
+ return Nn(t) && !Cn(t);
1369
1346
  };
1370
- function Or(e) {
1347
+ function Nn(e) {
1371
1348
  return !!e && typeof e == "object";
1372
1349
  }
1373
- function Ir(e) {
1350
+ function Cn(e) {
1374
1351
  var t = Object.prototype.toString.call(e);
1375
- return t === "[object RegExp]" || t === "[object Date]" || Mr(e);
1352
+ return t === "[object RegExp]" || t === "[object Date]" || Rn(e);
1376
1353
  }
1377
- var Lr = typeof Symbol == "function" && Symbol.for, Nr = Lr ? Symbol.for("react.element") : 60103;
1378
- function Mr(e) {
1379
- return e.$$typeof === Nr;
1354
+ var Mn = typeof Symbol == "function" && Symbol.for, $n = Mn ? Symbol.for("react.element") : 60103;
1355
+ function Rn(e) {
1356
+ return e.$$typeof === $n;
1380
1357
  }
1381
- function Cr(e) {
1358
+ function Un(e) {
1382
1359
  return Array.isArray(e) ? [] : {};
1383
1360
  }
1384
- function ae(e, t) {
1385
- return t.clone !== !1 && t.isMergeableObject(e) ? q(Cr(e), e, t) : e;
1361
+ function se(e, t) {
1362
+ return t.clone !== !1 && t.isMergeableObject(e) ? Z(Un(e), e, t) : e;
1386
1363
  }
1387
- function $r(e, t, n) {
1388
- return e.concat(t).map(function(r) {
1389
- return ae(r, n);
1364
+ function Dn(e, t, r) {
1365
+ return e.concat(t).map(function(n) {
1366
+ return se(n, r);
1390
1367
  });
1391
1368
  }
1392
- function Rr(e, t) {
1369
+ function Gn(e, t) {
1393
1370
  if (!t.customMerge)
1394
- return q;
1395
- var n = t.customMerge(e);
1396
- return typeof n == "function" ? n : q;
1371
+ return Z;
1372
+ var r = t.customMerge(e);
1373
+ return typeof r == "function" ? r : Z;
1397
1374
  }
1398
- function Ur(e) {
1375
+ function Fn(e) {
1399
1376
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1400
1377
  return Object.propertyIsEnumerable.call(e, t);
1401
1378
  }) : [];
1402
1379
  }
1403
- function Et(e) {
1404
- return Object.keys(e).concat(Ur(e));
1380
+ function Ht(e) {
1381
+ return Object.keys(e).concat(Fn(e));
1405
1382
  }
1406
- function nn(e, t) {
1383
+ function sr(e, t) {
1407
1384
  try {
1408
1385
  return t in e;
1409
- } catch (n) {
1386
+ } catch (r) {
1410
1387
  return !1;
1411
1388
  }
1412
1389
  }
1413
- function Dr(e, t) {
1414
- return nn(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1390
+ function jn(e, t) {
1391
+ return sr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1415
1392
  }
1416
- function Gr(e, t, n) {
1417
- var r = {};
1418
- return n.isMergeableObject(e) && Et(e).forEach(function(i) {
1419
- r[i] = ae(e[i], n);
1420
- }), Et(t).forEach(function(i) {
1421
- Dr(e, i) || (nn(e, i) && n.isMergeableObject(t[i]) ? r[i] = Rr(i, n)(e[i], t[i], n) : r[i] = ae(t[i], n));
1422
- }), r;
1423
- }
1424
- function q(e, t, n) {
1425
- n = n || {}, n.arrayMerge = n.arrayMerge || $r, n.isMergeableObject = n.isMergeableObject || Pr, n.cloneUnlessOtherwiseSpecified = ae;
1426
- var r = Array.isArray(t), i = Array.isArray(e), o = r === i;
1427
- return o ? r ? n.arrayMerge(e, t, n) : Gr(e, t, n) : ae(t, n);
1428
- }
1429
- q.all = function(t, n) {
1393
+ function kn(e, t, r) {
1394
+ var n = {};
1395
+ return r.isMergeableObject(e) && Ht(e).forEach(function(i) {
1396
+ n[i] = se(e[i], r);
1397
+ }), Ht(t).forEach(function(i) {
1398
+ jn(e, i) || (sr(e, i) && r.isMergeableObject(t[i]) ? n[i] = Gn(i, r)(e[i], t[i], r) : n[i] = se(t[i], r));
1399
+ }), n;
1400
+ }
1401
+ function Z(e, t, r) {
1402
+ r = r || {}, r.arrayMerge = r.arrayMerge || Dn, r.isMergeableObject = r.isMergeableObject || Ln, r.cloneUnlessOtherwiseSpecified = se;
1403
+ var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1404
+ return o ? n ? r.arrayMerge(e, t, r) : kn(e, t, r) : se(t, r);
1405
+ }
1406
+ Z.all = function(t, r) {
1430
1407
  if (!Array.isArray(t))
1431
1408
  throw new Error("first argument should be an array");
1432
- return t.reduce(function(r, i) {
1433
- return q(r, i, n);
1409
+ return t.reduce(function(n, i) {
1410
+ return Z(n, i, r);
1434
1411
  }, {});
1435
1412
  };
1436
- var Fr = q, jr = Fr;
1437
- const kr = /* @__PURE__ */ Ar(jr);
1438
- function Re(e, t) {
1439
- var n = t && t.cache ? t.cache : Qr, r = t && t.serializer ? t.serializer : Zr, i = t && t.strategy ? t.strategy : Xr;
1413
+ var Vn = Z, Xn = Vn;
1414
+ const Wn = /* @__PURE__ */ In(Xn);
1415
+ var Ke = function(e, t) {
1416
+ return Ke = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1417
+ r.__proto__ = n;
1418
+ } || function(r, n) {
1419
+ for (var i in n)
1420
+ Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1421
+ }, Ke(e, t);
1422
+ };
1423
+ function Oe(e, t) {
1424
+ if (typeof t != "function" && t !== null)
1425
+ throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1426
+ Ke(e, t);
1427
+ function r() {
1428
+ this.constructor = e;
1429
+ }
1430
+ e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1431
+ }
1432
+ var N = function() {
1433
+ return N = Object.assign || function(t) {
1434
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1435
+ r = arguments[n];
1436
+ for (var o in r)
1437
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1438
+ }
1439
+ return t;
1440
+ }, N.apply(this, arguments);
1441
+ };
1442
+ function zn(e, t) {
1443
+ var r = {};
1444
+ for (var n in e)
1445
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
1446
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
1447
+ for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
1448
+ t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1449
+ return r;
1450
+ }
1451
+ function De(e, t, r) {
1452
+ if (r || arguments.length === 2)
1453
+ for (var n = 0, i = t.length, o; n < i; n++)
1454
+ (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1455
+ return e.concat(o || Array.prototype.slice.call(t));
1456
+ }
1457
+ function Ge(e, t) {
1458
+ var r = t && t.cache ? t.cache : ei, n = t && t.serializer ? t.serializer : Yn, i = t && t.strategy ? t.strategy : Qn;
1440
1459
  return i(e, {
1441
- cache: n,
1442
- serializer: r
1460
+ cache: r,
1461
+ serializer: n
1443
1462
  });
1444
1463
  }
1445
- function Vr(e) {
1464
+ function Zn(e) {
1446
1465
  return e == null || typeof e == "number" || typeof e == "boolean";
1447
1466
  }
1448
- function rn(e, t, n, r) {
1449
- var i = Vr(r) ? r : n(r), o = t.get(i);
1450
- return typeof o == "undefined" && (o = e.call(this, r), t.set(i, o)), o;
1451
- }
1452
- function on(e, t, n) {
1453
- var r = Array.prototype.slice.call(arguments, 3), i = n(r), o = t.get(i);
1454
- return typeof o == "undefined" && (o = e.apply(this, r), t.set(i, o)), o;
1467
+ function qn(e, t, r, n) {
1468
+ var i = Zn(n) ? n : r(n), o = t.get(i);
1469
+ return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
1455
1470
  }
1456
- function ot(e, t, n, r, i) {
1457
- return n.bind(t, e, r, i);
1471
+ function ar(e, t, r) {
1472
+ var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1473
+ return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
1458
1474
  }
1459
- function Xr(e, t) {
1460
- var n = e.length === 1 ? rn : on;
1461
- return ot(e, this, n, t.cache.create(), t.serializer);
1475
+ function ur(e, t, r, n, i) {
1476
+ return r.bind(t, e, n, i);
1462
1477
  }
1463
- function Wr(e, t) {
1464
- return ot(e, this, on, t.cache.create(), t.serializer);
1478
+ function Qn(e, t) {
1479
+ var r = e.length === 1 ? qn : ar;
1480
+ return ur(e, this, r, t.cache.create(), t.serializer);
1465
1481
  }
1466
- function zr(e, t) {
1467
- return ot(e, this, rn, t.cache.create(), t.serializer);
1482
+ function Jn(e, t) {
1483
+ return ur(e, this, ar, t.cache.create(), t.serializer);
1468
1484
  }
1469
- var Zr = function() {
1485
+ var Yn = function() {
1470
1486
  return JSON.stringify(arguments);
1471
- }, qr = (
1487
+ }, Kn = (
1472
1488
  /** @class */
1473
1489
  function() {
1474
1490
  function e() {
@@ -1476,18 +1492,27 @@ var Zr = function() {
1476
1492
  }
1477
1493
  return e.prototype.get = function(t) {
1478
1494
  return this.cache[t];
1479
- }, e.prototype.set = function(t, n) {
1480
- this.cache[t] = n;
1495
+ }, e.prototype.set = function(t, r) {
1496
+ this.cache[t] = r;
1481
1497
  }, e;
1482
1498
  }()
1483
- ), Qr = {
1499
+ ), ei = {
1484
1500
  create: function() {
1485
- return new qr();
1501
+ return new Kn();
1486
1502
  }
1487
- }, Ue = {
1488
- variadic: Wr,
1489
- monadic: zr
1490
- }, b;
1503
+ }, Fe = {
1504
+ variadic: Jn
1505
+ }, Te = function() {
1506
+ return Te = Object.assign || function(t) {
1507
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1508
+ r = arguments[n];
1509
+ for (var o in r)
1510
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1511
+ }
1512
+ return t;
1513
+ }, Te.apply(this, arguments);
1514
+ };
1515
+ var b;
1491
1516
  (function(e) {
1492
1517
  e[e.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", e[e.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", e[e.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", e[e.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", e[e.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", e[e.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", e[e.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", e[e.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", e[e.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", e[e.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", e[e.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", e[e.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", e[e.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", e[e.INVALID_TAG = 23] = "INVALID_TAG", e[e.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", e[e.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", e[e.UNCLOSED_TAG = 27] = "UNCLOSED_TAG";
1493
1518
  })(b || (b = {}));
@@ -1495,54 +1520,54 @@ var v;
1495
1520
  (function(e) {
1496
1521
  e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
1497
1522
  })(v || (v = {}));
1498
- var Q;
1523
+ var q;
1499
1524
  (function(e) {
1500
1525
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1501
- })(Q || (Q = {}));
1502
- function St(e) {
1526
+ })(q || (q = {}));
1527
+ function Bt(e) {
1503
1528
  return e.type === v.literal;
1504
1529
  }
1505
- function Jr(e) {
1530
+ function ti(e) {
1506
1531
  return e.type === v.argument;
1507
1532
  }
1508
- function sn(e) {
1533
+ function lr(e) {
1509
1534
  return e.type === v.number;
1510
1535
  }
1511
- function an(e) {
1536
+ function hr(e) {
1512
1537
  return e.type === v.date;
1513
1538
  }
1514
- function un(e) {
1539
+ function cr(e) {
1515
1540
  return e.type === v.time;
1516
1541
  }
1517
- function hn(e) {
1542
+ function fr(e) {
1518
1543
  return e.type === v.select;
1519
1544
  }
1520
- function ln(e) {
1545
+ function pr(e) {
1521
1546
  return e.type === v.plural;
1522
1547
  }
1523
- function Yr(e) {
1548
+ function ri(e) {
1524
1549
  return e.type === v.pound;
1525
1550
  }
1526
- function fn(e) {
1551
+ function dr(e) {
1527
1552
  return e.type === v.tag;
1528
1553
  }
1529
- function cn(e) {
1530
- return !!(e && typeof e == "object" && e.type === Q.number);
1554
+ function mr(e) {
1555
+ return !!(e && typeof e == "object" && e.type === q.number);
1531
1556
  }
1532
- function qe(e) {
1533
- return !!(e && typeof e == "object" && e.type === Q.dateTime);
1557
+ function et(e) {
1558
+ return !!(e && typeof e == "object" && e.type === q.dateTime);
1534
1559
  }
1535
- var dn = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Kr = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1536
- function ei(e) {
1560
+ var br = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, ni = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1561
+ function ii(e) {
1537
1562
  var t = {};
1538
- return e.replace(Kr, function(n) {
1539
- var r = n.length;
1540
- switch (n[0]) {
1563
+ return e.replace(ni, function(r) {
1564
+ var n = r.length;
1565
+ switch (r[0]) {
1541
1566
  case "G":
1542
- t.era = r === 4 ? "long" : r === 5 ? "narrow" : "short";
1567
+ t.era = n === 4 ? "long" : n === 5 ? "narrow" : "short";
1543
1568
  break;
1544
1569
  case "y":
1545
- t.year = r === 2 ? "2-digit" : "numeric";
1570
+ t.year = n === 2 ? "2-digit" : "numeric";
1546
1571
  break;
1547
1572
  case "Y":
1548
1573
  case "u":
@@ -1554,30 +1579,30 @@ function ei(e) {
1554
1579
  throw new RangeError("`q/Q` (quarter) patterns are not supported");
1555
1580
  case "M":
1556
1581
  case "L":
1557
- t.month = ["numeric", "2-digit", "short", "long", "narrow"][r - 1];
1582
+ t.month = ["numeric", "2-digit", "short", "long", "narrow"][n - 1];
1558
1583
  break;
1559
1584
  case "w":
1560
1585
  case "W":
1561
1586
  throw new RangeError("`w/W` (week) patterns are not supported");
1562
1587
  case "d":
1563
- t.day = ["numeric", "2-digit"][r - 1];
1588
+ t.day = ["numeric", "2-digit"][n - 1];
1564
1589
  break;
1565
1590
  case "D":
1566
1591
  case "F":
1567
1592
  case "g":
1568
1593
  throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");
1569
1594
  case "E":
1570
- t.weekday = r === 4 ? "long" : r === 5 ? "narrow" : "short";
1595
+ t.weekday = n === 4 ? "long" : n === 5 ? "narrow" : "short";
1571
1596
  break;
1572
1597
  case "e":
1573
- if (r < 4)
1598
+ if (n < 4)
1574
1599
  throw new RangeError("`e..eee` (weekday) patterns are not supported");
1575
- t.weekday = ["short", "long", "narrow", "short"][r - 4];
1600
+ t.weekday = ["short", "long", "narrow", "short"][n - 4];
1576
1601
  break;
1577
1602
  case "c":
1578
- if (r < 4)
1603
+ if (n < 4)
1579
1604
  throw new RangeError("`c..ccc` (weekday) patterns are not supported");
1580
- t.weekday = ["short", "long", "narrow", "short"][r - 4];
1605
+ t.weekday = ["short", "long", "narrow", "short"][n - 4];
1581
1606
  break;
1582
1607
  case "a":
1583
1608
  t.hour12 = !0;
@@ -1586,32 +1611,32 @@ function ei(e) {
1586
1611
  case "B":
1587
1612
  throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");
1588
1613
  case "h":
1589
- t.hourCycle = "h12", t.hour = ["numeric", "2-digit"][r - 1];
1614
+ t.hourCycle = "h12", t.hour = ["numeric", "2-digit"][n - 1];
1590
1615
  break;
1591
1616
  case "H":
1592
- t.hourCycle = "h23", t.hour = ["numeric", "2-digit"][r - 1];
1617
+ t.hourCycle = "h23", t.hour = ["numeric", "2-digit"][n - 1];
1593
1618
  break;
1594
1619
  case "K":
1595
- t.hourCycle = "h11", t.hour = ["numeric", "2-digit"][r - 1];
1620
+ t.hourCycle = "h11", t.hour = ["numeric", "2-digit"][n - 1];
1596
1621
  break;
1597
1622
  case "k":
1598
- t.hourCycle = "h24", t.hour = ["numeric", "2-digit"][r - 1];
1623
+ t.hourCycle = "h24", t.hour = ["numeric", "2-digit"][n - 1];
1599
1624
  break;
1600
1625
  case "j":
1601
1626
  case "J":
1602
1627
  case "C":
1603
1628
  throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");
1604
1629
  case "m":
1605
- t.minute = ["numeric", "2-digit"][r - 1];
1630
+ t.minute = ["numeric", "2-digit"][n - 1];
1606
1631
  break;
1607
1632
  case "s":
1608
- t.second = ["numeric", "2-digit"][r - 1];
1633
+ t.second = ["numeric", "2-digit"][n - 1];
1609
1634
  break;
1610
1635
  case "S":
1611
1636
  case "A":
1612
1637
  throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");
1613
1638
  case "z":
1614
- t.timeZoneName = r < 4 ? "short" : "long";
1639
+ t.timeZoneName = n < 4 ? "short" : "long";
1615
1640
  break;
1616
1641
  case "Z":
1617
1642
  case "O":
@@ -1624,36 +1649,46 @@ function ei(e) {
1624
1649
  return "";
1625
1650
  }), t;
1626
1651
  }
1627
- var ti = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1628
- function ni(e) {
1652
+ var E = function() {
1653
+ return E = Object.assign || function(t) {
1654
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1655
+ r = arguments[n];
1656
+ for (var o in r)
1657
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1658
+ }
1659
+ return t;
1660
+ }, E.apply(this, arguments);
1661
+ };
1662
+ var oi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1663
+ function si(e) {
1629
1664
  if (e.length === 0)
1630
1665
  throw new Error("Number skeleton cannot be empty");
1631
- for (var t = e.split(ti).filter(function(f) {
1632
- return f.length > 0;
1633
- }), n = [], r = 0, i = t; r < i.length; r++) {
1634
- var o = i[r], s = o.split("/");
1666
+ for (var t = e.split(oi).filter(function(c) {
1667
+ return c.length > 0;
1668
+ }), r = [], n = 0, i = t; n < i.length; n++) {
1669
+ var o = i[n], s = o.split("/");
1635
1670
  if (s.length === 0)
1636
1671
  throw new Error("Invalid number skeleton");
1637
- for (var a = s[0], u = s.slice(1), h = 0, l = u; h < l.length; h++) {
1638
- var c = l[h];
1639
- if (c.length === 0)
1672
+ for (var a = s[0], u = s.slice(1), l = 0, h = u; l < h.length; l++) {
1673
+ var f = h[l];
1674
+ if (f.length === 0)
1640
1675
  throw new Error("Invalid number skeleton");
1641
1676
  }
1642
- n.push({ stem: a, options: u });
1677
+ r.push({ stem: a, options: u });
1643
1678
  }
1644
- return n;
1679
+ return r;
1645
1680
  }
1646
- function ri(e) {
1681
+ function ai(e) {
1647
1682
  return e.replace(/^(.*?)-/, "");
1648
1683
  }
1649
- var Tt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, pn = /^(@+)?(\+|#+)?[rs]?$/g, ii = /(\*)(0+)|(#+)(0+)|(0+)/g, mn = /^(0+)$/;
1650
- function wt(e) {
1684
+ var At = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, gr = /^(@+)?(\+|#+)?[rs]?$/g, ui = /(\*)(0+)|(#+)(0+)|(0+)/g, yr = /^(0+)$/;
1685
+ function Pt(e) {
1651
1686
  var t = {};
1652
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(pn, function(n, r, i) {
1653
- return typeof i != "string" ? (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length) : i === "+" ? t.minimumSignificantDigits = r.length : r[0] === "#" ? t.maximumSignificantDigits = r.length : (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length + (typeof i == "string" ? i.length : 0)), "";
1687
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(gr, function(r, n, i) {
1688
+ return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
1654
1689
  }), t;
1655
1690
  }
1656
- function bn(e) {
1691
+ function vr(e) {
1657
1692
  switch (e) {
1658
1693
  case "sign-auto":
1659
1694
  return {
@@ -1693,27 +1728,27 @@ function bn(e) {
1693
1728
  };
1694
1729
  }
1695
1730
  }
1696
- function oi(e) {
1731
+ function li(e) {
1697
1732
  var t;
1698
1733
  if (e[0] === "E" && e[1] === "E" ? (t = {
1699
1734
  notation: "engineering"
1700
1735
  }, e = e.slice(2)) : e[0] === "E" && (t = {
1701
1736
  notation: "scientific"
1702
1737
  }, e = e.slice(1)), t) {
1703
- var n = e.slice(0, 2);
1704
- if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !mn.test(e))
1738
+ var r = e.slice(0, 2);
1739
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !yr.test(e))
1705
1740
  throw new Error("Malformed concise eng/scientific notation");
1706
1741
  t.minimumIntegerDigits = e.length;
1707
1742
  }
1708
1743
  return t;
1709
1744
  }
1710
- function Ht(e) {
1711
- var t = {}, n = bn(e);
1712
- return n || t;
1745
+ function Ot(e) {
1746
+ var t = {}, r = vr(e);
1747
+ return r || t;
1713
1748
  }
1714
- function si(e) {
1715
- for (var t = {}, n = 0, r = e; n < r.length; n++) {
1716
- var i = r[n];
1749
+ function hi(e) {
1750
+ for (var t = {}, r = 0, n = e; r < n.length; r++) {
1751
+ var i = n[r];
1717
1752
  switch (i.stem) {
1718
1753
  case "percent":
1719
1754
  case "%":
@@ -1735,7 +1770,7 @@ function si(e) {
1735
1770
  continue;
1736
1771
  case "measure-unit":
1737
1772
  case "unit":
1738
- t.style = "unit", t.unit = ri(i.options[0]);
1773
+ t.style = "unit", t.unit = ai(i.options[0]);
1739
1774
  continue;
1740
1775
  case "compact-short":
1741
1776
  case "K":
@@ -1746,13 +1781,13 @@ function si(e) {
1746
1781
  t.notation = "compact", t.compactDisplay = "long";
1747
1782
  continue;
1748
1783
  case "scientific":
1749
- t = y(y(y({}, t), { notation: "scientific" }), i.options.reduce(function(u, h) {
1750
- return y(y({}, u), Ht(h));
1784
+ t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
1785
+ return E(E({}, u), Ot(l));
1751
1786
  }, {}));
1752
1787
  continue;
1753
1788
  case "engineering":
1754
- t = y(y(y({}, t), { notation: "engineering" }), i.options.reduce(function(u, h) {
1755
- return y(y({}, u), Ht(h));
1789
+ t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
1790
+ return E(E({}, u), Ot(l));
1756
1791
  }, {}));
1757
1792
  continue;
1758
1793
  case "notation-simple":
@@ -1797,41 +1832,41 @@ function si(e) {
1797
1832
  case "integer-width":
1798
1833
  if (i.options.length > 1)
1799
1834
  throw new RangeError("integer-width stems only accept a single optional option");
1800
- i.options[0].replace(ii, function(u, h, l, c, f, p) {
1801
- if (h)
1802
- t.minimumIntegerDigits = l.length;
1835
+ i.options[0].replace(ui, function(u, l, h, f, c, d) {
1836
+ if (l)
1837
+ t.minimumIntegerDigits = h.length;
1803
1838
  else {
1804
- if (c && f)
1839
+ if (f && c)
1805
1840
  throw new Error("We currently do not support maximum integer digits");
1806
- if (p)
1841
+ if (d)
1807
1842
  throw new Error("We currently do not support exact integer digits");
1808
1843
  }
1809
1844
  return "";
1810
1845
  });
1811
1846
  continue;
1812
1847
  }
1813
- if (mn.test(i.stem)) {
1848
+ if (yr.test(i.stem)) {
1814
1849
  t.minimumIntegerDigits = i.stem.length;
1815
1850
  continue;
1816
1851
  }
1817
- if (Tt.test(i.stem)) {
1852
+ if (At.test(i.stem)) {
1818
1853
  if (i.options.length > 1)
1819
1854
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1820
- i.stem.replace(Tt, function(u, h, l, c, f, p) {
1821
- return l === "*" ? t.minimumFractionDigits = h.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = h.length, t.maximumFractionDigits = h.length), "";
1855
+ i.stem.replace(At, function(u, l, h, f, c, d) {
1856
+ return h === "*" ? t.minimumFractionDigits = l.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && d ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + d.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1822
1857
  });
1823
1858
  var o = i.options[0];
1824
- o === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = y(y({}, t), wt(o)));
1859
+ o === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = E(E({}, t), Pt(o)));
1825
1860
  continue;
1826
1861
  }
1827
- if (pn.test(i.stem)) {
1828
- t = y(y({}, t), wt(i.stem));
1862
+ if (gr.test(i.stem)) {
1863
+ t = E(E({}, t), Pt(i.stem));
1829
1864
  continue;
1830
1865
  }
1831
- var s = bn(i.stem);
1832
- s && (t = y(y({}, t), s));
1833
- var a = oi(i.stem);
1834
- a && (t = y(y({}, t), a));
1866
+ var s = vr(i.stem);
1867
+ s && (t = E(E({}, t), s));
1868
+ var a = li(i.stem);
1869
+ a && (t = E(E({}, t), a));
1835
1870
  }
1836
1871
  return t;
1837
1872
  }
@@ -3250,23 +3285,23 @@ var be = {
3250
3285
  "h"
3251
3286
  ]
3252
3287
  };
3253
- function ai(e, t) {
3254
- for (var n = "", r = 0; r < e.length; r++) {
3255
- var i = e.charAt(r);
3288
+ function ci(e, t) {
3289
+ for (var r = "", n = 0; n < e.length; n++) {
3290
+ var i = e.charAt(n);
3256
3291
  if (i === "j") {
3257
- for (var o = 0; r + 1 < e.length && e.charAt(r + 1) === i; )
3258
- o++, r++;
3259
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", h = ui(t);
3260
- for ((h == "H" || h == "k") && (a = 0); a-- > 0; )
3261
- n += u;
3292
+ for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3293
+ o++, n++;
3294
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = fi(t);
3295
+ for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
3296
+ r += u;
3262
3297
  for (; s-- > 0; )
3263
- n = h + n;
3298
+ r = l + r;
3264
3299
  } else
3265
- i === "J" ? n += "H" : n += i;
3300
+ i === "J" ? r += "H" : r += i;
3266
3301
  }
3267
- return n;
3302
+ return r;
3268
3303
  }
3269
- function ui(e) {
3304
+ function fi(e) {
3270
3305
  var t = e.hourCycle;
3271
3306
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3272
3307
  e.hourCycles && // @ts-ignore
@@ -3283,73 +3318,73 @@ function ui(e) {
3283
3318
  default:
3284
3319
  throw new Error("Invalid hourCycle");
3285
3320
  }
3286
- var n = e.language, r;
3287
- n !== "root" && (r = e.maximize().region);
3288
- var i = be[r || ""] || be[n || ""] || be["".concat(n, "-001")] || be["001"];
3321
+ var r = e.language, n;
3322
+ r !== "root" && (n = e.maximize().region);
3323
+ var i = be[n || ""] || be[r || ""] || be["".concat(r, "-001")] || be["001"];
3289
3324
  return i[0];
3290
3325
  }
3291
- var De, hi = new RegExp("^".concat(dn.source, "*")), li = new RegExp("".concat(dn.source, "*$"));
3326
+ var je, pi = new RegExp("^".concat(br.source, "*")), di = new RegExp("".concat(br.source, "*$"));
3292
3327
  function g(e, t) {
3293
3328
  return { start: e, end: t };
3294
3329
  }
3295
- var fi = !!String.prototype.startsWith && "_a".startsWith("a", 1), ci = !!String.fromCodePoint, di = !!Object.fromEntries, pi = !!String.prototype.codePointAt, mi = !!String.prototype.trimStart, bi = !!String.prototype.trimEnd, gi = !!Number.isSafeInteger, yi = gi ? Number.isSafeInteger : function(e) {
3330
+ var mi = !!String.prototype.startsWith && "_a".startsWith("a", 1), bi = !!String.fromCodePoint, gi = !!Object.fromEntries, yi = !!String.prototype.codePointAt, vi = !!String.prototype.trimStart, _i = !!String.prototype.trimEnd, Ei = !!Number.isSafeInteger, xi = Ei ? Number.isSafeInteger : function(e) {
3296
3331
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3297
- }, Qe = !0;
3332
+ }, tt = !0;
3298
3333
  try {
3299
- var _i = yn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3300
- Qe = ((De = _i.exec("a")) === null || De === void 0 ? void 0 : De[0]) === "a";
3334
+ var Si = Er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3335
+ tt = ((je = Si.exec("a")) === null || je === void 0 ? void 0 : je[0]) === "a";
3301
3336
  } catch (e) {
3302
- Qe = !1;
3337
+ tt = !1;
3303
3338
  }
3304
- var Bt = fi ? (
3339
+ var It = mi ? (
3305
3340
  // Native
3306
- function(t, n, r) {
3307
- return t.startsWith(n, r);
3341
+ function(t, r, n) {
3342
+ return t.startsWith(r, n);
3308
3343
  }
3309
3344
  ) : (
3310
3345
  // For IE11
3311
- function(t, n, r) {
3312
- return t.slice(r, r + n.length) === n;
3346
+ function(t, r, n) {
3347
+ return t.slice(n, n + r.length) === r;
3313
3348
  }
3314
- ), Je = ci ? String.fromCodePoint : (
3349
+ ), rt = bi ? String.fromCodePoint : (
3315
3350
  // IE11
3316
3351
  function() {
3317
- for (var t = [], n = 0; n < arguments.length; n++)
3318
- t[n] = arguments[n];
3319
- for (var r = "", i = t.length, o = 0, s; i > o; ) {
3352
+ for (var t = [], r = 0; r < arguments.length; r++)
3353
+ t[r] = arguments[r];
3354
+ for (var n = "", i = t.length, o = 0, s; i > o; ) {
3320
3355
  if (s = t[o++], s > 1114111)
3321
3356
  throw RangeError(s + " is not a valid code point");
3322
- r += s < 65536 ? String.fromCharCode(s) : String.fromCharCode(((s -= 65536) >> 10) + 55296, s % 1024 + 56320);
3357
+ n += s < 65536 ? String.fromCharCode(s) : String.fromCharCode(((s -= 65536) >> 10) + 55296, s % 1024 + 56320);
3323
3358
  }
3324
- return r;
3359
+ return n;
3325
3360
  }
3326
- ), At = (
3361
+ ), Lt = (
3327
3362
  // native
3328
- di ? Object.fromEntries : (
3363
+ gi ? Object.fromEntries : (
3329
3364
  // Ponyfill
3330
3365
  function(t) {
3331
- for (var n = {}, r = 0, i = t; r < i.length; r++) {
3332
- var o = i[r], s = o[0], a = o[1];
3333
- n[s] = a;
3366
+ for (var r = {}, n = 0, i = t; n < i.length; n++) {
3367
+ var o = i[n], s = o[0], a = o[1];
3368
+ r[s] = a;
3334
3369
  }
3335
- return n;
3370
+ return r;
3336
3371
  }
3337
3372
  )
3338
- ), gn = pi ? (
3373
+ ), _r = yi ? (
3339
3374
  // Native
3340
- function(t, n) {
3341
- return t.codePointAt(n);
3375
+ function(t, r) {
3376
+ return t.codePointAt(r);
3342
3377
  }
3343
3378
  ) : (
3344
3379
  // IE 11
3345
- function(t, n) {
3346
- var r = t.length;
3347
- if (!(n < 0 || n >= r)) {
3348
- var i = t.charCodeAt(n), o;
3349
- return i < 55296 || i > 56319 || n + 1 === r || (o = t.charCodeAt(n + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3380
+ function(t, r) {
3381
+ var n = t.length;
3382
+ if (!(r < 0 || r >= n)) {
3383
+ var i = t.charCodeAt(r), o;
3384
+ return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3350
3385
  }
3351
3386
  }
3352
- ), vi = mi ? (
3387
+ ), wi = vi ? (
3353
3388
  // Native
3354
3389
  function(t) {
3355
3390
  return t.trimStart();
@@ -3357,9 +3392,9 @@ var Bt = fi ? (
3357
3392
  ) : (
3358
3393
  // Ponyfill
3359
3394
  function(t) {
3360
- return t.replace(hi, "");
3395
+ return t.replace(pi, "");
3361
3396
  }
3362
- ), xi = bi ? (
3397
+ ), Ti = _i ? (
3363
3398
  // Native
3364
3399
  function(t) {
3365
3400
  return t.trimEnd();
@@ -3367,69 +3402,69 @@ var Bt = fi ? (
3367
3402
  ) : (
3368
3403
  // Ponyfill
3369
3404
  function(t) {
3370
- return t.replace(li, "");
3405
+ return t.replace(di, "");
3371
3406
  }
3372
3407
  );
3373
- function yn(e, t) {
3408
+ function Er(e, t) {
3374
3409
  return new RegExp(e, t);
3375
3410
  }
3376
- var Ye;
3377
- if (Qe) {
3378
- var Pt = yn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3379
- Ye = function(t, n) {
3380
- var r;
3381
- Pt.lastIndex = n;
3382
- var i = Pt.exec(t);
3383
- return (r = i[1]) !== null && r !== void 0 ? r : "";
3411
+ var nt;
3412
+ if (tt) {
3413
+ var Nt = Er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3414
+ nt = function(t, r) {
3415
+ var n;
3416
+ Nt.lastIndex = r;
3417
+ var i = Nt.exec(t);
3418
+ return (n = i[1]) !== null && n !== void 0 ? n : "";
3384
3419
  };
3385
3420
  } else
3386
- Ye = function(t, n) {
3387
- for (var r = []; ; ) {
3388
- var i = gn(t, n);
3389
- if (i === void 0 || _n(i) || wi(i))
3421
+ nt = function(t, r) {
3422
+ for (var n = []; ; ) {
3423
+ var i = _r(t, r);
3424
+ if (i === void 0 || xr(i) || Pi(i))
3390
3425
  break;
3391
- r.push(i), n += i >= 65536 ? 2 : 1;
3426
+ n.push(i), r += i >= 65536 ? 2 : 1;
3392
3427
  }
3393
- return Je.apply(void 0, r);
3428
+ return rt.apply(void 0, n);
3394
3429
  };
3395
- var Ei = (
3430
+ var Hi = (
3396
3431
  /** @class */
3397
3432
  function() {
3398
- function e(t, n) {
3399
- n === void 0 && (n = {}), this.message = t, this.position = { offset: 0, line: 1, column: 1 }, this.ignoreTag = !!n.ignoreTag, this.locale = n.locale, this.requiresOtherClause = !!n.requiresOtherClause, this.shouldParseSkeletons = !!n.shouldParseSkeletons;
3433
+ function e(t, r) {
3434
+ r === void 0 && (r = {}), this.message = t, this.position = { offset: 0, line: 1, column: 1 }, this.ignoreTag = !!r.ignoreTag, this.locale = r.locale, this.requiresOtherClause = !!r.requiresOtherClause, this.shouldParseSkeletons = !!r.shouldParseSkeletons;
3400
3435
  }
3401
3436
  return e.prototype.parse = function() {
3402
3437
  if (this.offset() !== 0)
3403
3438
  throw Error("parser can only be used once");
3404
3439
  return this.parseMessage(0, "", !1);
3405
- }, e.prototype.parseMessage = function(t, n, r) {
3440
+ }, e.prototype.parseMessage = function(t, r, n) {
3406
3441
  for (var i = []; !this.isEOF(); ) {
3407
3442
  var o = this.char();
3408
3443
  if (o === 123) {
3409
- var s = this.parseArgument(t, r);
3444
+ var s = this.parseArgument(t, n);
3410
3445
  if (s.err)
3411
3446
  return s;
3412
3447
  i.push(s.val);
3413
3448
  } else {
3414
3449
  if (o === 125 && t > 0)
3415
3450
  break;
3416
- if (o === 35 && (n === "plural" || n === "selectordinal")) {
3451
+ if (o === 35 && (r === "plural" || r === "selectordinal")) {
3417
3452
  var a = this.clonePosition();
3418
3453
  this.bump(), i.push({
3419
3454
  type: v.pound,
3420
3455
  location: g(a, this.clonePosition())
3421
3456
  });
3422
3457
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3423
- if (r)
3458
+ if (n)
3424
3459
  break;
3425
3460
  return this.error(b.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
3426
- } else if (o === 60 && !this.ignoreTag && Ke(this.peek() || 0)) {
3427
- var s = this.parseTag(t, n);
3461
+ } else if (o === 60 && !this.ignoreTag && it(this.peek() || 0)) {
3462
+ var s = this.parseTag(t, r);
3428
3463
  if (s.err)
3429
3464
  return s;
3430
3465
  i.push(s.val);
3431
3466
  } else {
3432
- var s = this.parseLiteral(t, n);
3467
+ var s = this.parseLiteral(t, r);
3433
3468
  if (s.err)
3434
3469
  return s;
3435
3470
  i.push(s.val);
@@ -3437,8 +3472,8 @@ var Ei = (
3437
3472
  }
3438
3473
  }
3439
3474
  return { val: i, err: null };
3440
- }, e.prototype.parseTag = function(t, n) {
3441
- var r = this.clonePosition();
3475
+ }, e.prototype.parseTag = function(t, r) {
3476
+ var n = this.clonePosition();
3442
3477
  this.bump();
3443
3478
  var i = this.parseTagName();
3444
3479
  if (this.bumpSpace(), this.bumpIf("/>"))
@@ -3446,45 +3481,45 @@ var Ei = (
3446
3481
  val: {
3447
3482
  type: v.literal,
3448
3483
  value: "<".concat(i, "/>"),
3449
- location: g(r, this.clonePosition())
3484
+ location: g(n, this.clonePosition())
3450
3485
  },
3451
3486
  err: null
3452
3487
  };
3453
3488
  if (this.bumpIf(">")) {
3454
- var o = this.parseMessage(t + 1, n, !0);
3489
+ var o = this.parseMessage(t + 1, r, !0);
3455
3490
  if (o.err)
3456
3491
  return o;
3457
3492
  var s = o.val, a = this.clonePosition();
3458
3493
  if (this.bumpIf("</")) {
3459
- if (this.isEOF() || !Ke(this.char()))
3494
+ if (this.isEOF() || !it(this.char()))
3460
3495
  return this.error(b.INVALID_TAG, g(a, this.clonePosition()));
3461
- var u = this.clonePosition(), h = this.parseTagName();
3462
- return i !== h ? this.error(b.UNMATCHED_CLOSING_TAG, g(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3496
+ var u = this.clonePosition(), l = this.parseTagName();
3497
+ return i !== l ? this.error(b.UNMATCHED_CLOSING_TAG, g(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3463
3498
  val: {
3464
3499
  type: v.tag,
3465
3500
  value: i,
3466
3501
  children: s,
3467
- location: g(r, this.clonePosition())
3502
+ location: g(n, this.clonePosition())
3468
3503
  },
3469
3504
  err: null
3470
3505
  } : this.error(b.INVALID_TAG, g(a, this.clonePosition())));
3471
3506
  } else
3472
- return this.error(b.UNCLOSED_TAG, g(r, this.clonePosition()));
3507
+ return this.error(b.UNCLOSED_TAG, g(n, this.clonePosition()));
3473
3508
  } else
3474
- return this.error(b.INVALID_TAG, g(r, this.clonePosition()));
3509
+ return this.error(b.INVALID_TAG, g(n, this.clonePosition()));
3475
3510
  }, e.prototype.parseTagName = function() {
3476
3511
  var t = this.offset();
3477
- for (this.bump(); !this.isEOF() && Ti(this.char()); )
3512
+ for (this.bump(); !this.isEOF() && Ai(this.char()); )
3478
3513
  this.bump();
3479
3514
  return this.message.slice(t, this.offset());
3480
- }, e.prototype.parseLiteral = function(t, n) {
3481
- for (var r = this.clonePosition(), i = ""; ; ) {
3482
- var o = this.tryParseQuote(n);
3515
+ }, e.prototype.parseLiteral = function(t, r) {
3516
+ for (var n = this.clonePosition(), i = ""; ; ) {
3517
+ var o = this.tryParseQuote(r);
3483
3518
  if (o) {
3484
3519
  i += o;
3485
3520
  continue;
3486
3521
  }
3487
- var s = this.tryParseUnquoted(t, n);
3522
+ var s = this.tryParseUnquoted(t, r);
3488
3523
  if (s) {
3489
3524
  i += s;
3490
3525
  continue;
@@ -3496,14 +3531,14 @@ var Ei = (
3496
3531
  }
3497
3532
  break;
3498
3533
  }
3499
- var u = g(r, this.clonePosition());
3534
+ var u = g(n, this.clonePosition());
3500
3535
  return {
3501
3536
  val: { type: v.literal, value: i, location: u },
3502
3537
  err: null
3503
3538
  };
3504
3539
  }, e.prototype.tryParseLeftAngleBracket = function() {
3505
3540
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3506
- !Si(this.peek() || 0)) ? (this.bump(), "<") : null;
3541
+ !Bi(this.peek() || 0)) ? (this.bump(), "<") : null;
3507
3542
  }, e.prototype.tryParseQuote = function(t) {
3508
3543
  if (this.isEOF() || this.char() !== 39)
3509
3544
  return null;
@@ -3523,37 +3558,37 @@ var Ei = (
3523
3558
  return null;
3524
3559
  }
3525
3560
  this.bump();
3526
- var n = [this.char()];
3561
+ var r = [this.char()];
3527
3562
  for (this.bump(); !this.isEOF(); ) {
3528
- var r = this.char();
3529
- if (r === 39)
3563
+ var n = this.char();
3564
+ if (n === 39)
3530
3565
  if (this.peek() === 39)
3531
- n.push(39), this.bump();
3566
+ r.push(39), this.bump();
3532
3567
  else {
3533
3568
  this.bump();
3534
3569
  break;
3535
3570
  }
3536
3571
  else
3537
- n.push(r);
3572
+ r.push(n);
3538
3573
  this.bump();
3539
3574
  }
3540
- return Je.apply(void 0, n);
3541
- }, e.prototype.tryParseUnquoted = function(t, n) {
3575
+ return rt.apply(void 0, r);
3576
+ }, e.prototype.tryParseUnquoted = function(t, r) {
3542
3577
  if (this.isEOF())
3543
3578
  return null;
3544
- var r = this.char();
3545
- return r === 60 || r === 123 || r === 35 && (n === "plural" || n === "selectordinal") || r === 125 && t > 0 ? null : (this.bump(), Je(r));
3546
- }, e.prototype.parseArgument = function(t, n) {
3547
- var r = this.clonePosition();
3579
+ var n = this.char();
3580
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), rt(n));
3581
+ }, e.prototype.parseArgument = function(t, r) {
3582
+ var n = this.clonePosition();
3548
3583
  if (this.bump(), this.bumpSpace(), this.isEOF())
3549
- return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(r, this.clonePosition()));
3584
+ return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition()));
3550
3585
  if (this.char() === 125)
3551
- return this.bump(), this.error(b.EMPTY_ARGUMENT, g(r, this.clonePosition()));
3586
+ return this.bump(), this.error(b.EMPTY_ARGUMENT, g(n, this.clonePosition()));
3552
3587
  var i = this.parseIdentifierIfPossible().value;
3553
3588
  if (!i)
3554
- return this.error(b.MALFORMED_ARGUMENT, g(r, this.clonePosition()));
3589
+ return this.error(b.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
3555
3590
  if (this.bumpSpace(), this.isEOF())
3556
- return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(r, this.clonePosition()));
3591
+ return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition()));
3557
3592
  switch (this.char()) {
3558
3593
  case 125:
3559
3594
  return this.bump(), {
@@ -3561,21 +3596,21 @@ var Ei = (
3561
3596
  type: v.argument,
3562
3597
  // value does not include the opening and closing braces.
3563
3598
  value: i,
3564
- location: g(r, this.clonePosition())
3599
+ location: g(n, this.clonePosition())
3565
3600
  },
3566
3601
  err: null
3567
3602
  };
3568
3603
  case 44:
3569
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(r, this.clonePosition())) : this.parseArgumentOptions(t, n, i, r);
3604
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3570
3605
  default:
3571
- return this.error(b.MALFORMED_ARGUMENT, g(r, this.clonePosition()));
3606
+ return this.error(b.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
3572
3607
  }
3573
3608
  }, e.prototype.parseIdentifierIfPossible = function() {
3574
- var t = this.clonePosition(), n = this.offset(), r = Ye(this.message, n), i = n + r.length;
3609
+ var t = this.clonePosition(), r = this.offset(), n = nt(this.message, r), i = r + n.length;
3575
3610
  this.bumpTo(i);
3576
3611
  var o = this.clonePosition(), s = g(t, o);
3577
- return { value: r, location: s };
3578
- }, e.prototype.parseArgumentOptions = function(t, n, r, i) {
3612
+ return { value: n, location: s };
3613
+ }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3579
3614
  var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, u = this.clonePosition();
3580
3615
  switch (a) {
3581
3616
  case "":
@@ -3584,43 +3619,43 @@ var Ei = (
3584
3619
  case "date":
3585
3620
  case "time": {
3586
3621
  this.bumpSpace();
3587
- var h = null;
3622
+ var l = null;
3588
3623
  if (this.bumpIf(",")) {
3589
3624
  this.bumpSpace();
3590
- var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3591
- if (c.err)
3592
- return c;
3593
- var f = xi(c.val);
3594
- if (f.length === 0)
3625
+ var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3626
+ if (f.err)
3627
+ return f;
3628
+ var c = Ti(f.val);
3629
+ if (c.length === 0)
3595
3630
  return this.error(b.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
3596
- var p = g(l, this.clonePosition());
3597
- h = { style: f, styleLocation: p };
3631
+ var d = g(h, this.clonePosition());
3632
+ l = { style: c, styleLocation: d };
3598
3633
  }
3599
- var d = this.tryParseArgumentClose(i);
3600
- if (d.err)
3601
- return d;
3634
+ var p = this.tryParseArgumentClose(i);
3635
+ if (p.err)
3636
+ return p;
3602
3637
  var m = g(i, this.clonePosition());
3603
- if (h && Bt(h == null ? void 0 : h.style, "::", 0)) {
3604
- var x = vi(h.style.slice(2));
3638
+ if (l && It(l == null ? void 0 : l.style, "::", 0)) {
3639
+ var _ = wi(l.style.slice(2));
3605
3640
  if (a === "number") {
3606
- var c = this.parseNumberSkeletonFromString(x, h.styleLocation);
3607
- return c.err ? c : {
3608
- val: { type: v.number, value: r, location: m, style: c.val },
3641
+ var f = this.parseNumberSkeletonFromString(_, l.styleLocation);
3642
+ return f.err ? f : {
3643
+ val: { type: v.number, value: n, location: m, style: f.val },
3609
3644
  err: null
3610
3645
  };
3611
3646
  } else {
3612
- if (x.length === 0)
3647
+ if (_.length === 0)
3613
3648
  return this.error(b.EXPECT_DATE_TIME_SKELETON, m);
3614
- var T = x;
3615
- this.locale && (T = ai(x, this.locale));
3616
- var f = {
3617
- type: Q.dateTime,
3618
- pattern: T,
3619
- location: h.styleLocation,
3620
- parsedOptions: this.shouldParseSkeletons ? ei(T) : {}
3649
+ var w = _;
3650
+ this.locale && (w = ci(_, this.locale));
3651
+ var c = {
3652
+ type: q.dateTime,
3653
+ pattern: w,
3654
+ location: l.styleLocation,
3655
+ parsedOptions: this.shouldParseSkeletons ? ii(w) : {}
3621
3656
  }, P = a === "date" ? v.date : v.time;
3622
3657
  return {
3623
- val: { type: P, value: r, location: m, style: f },
3658
+ val: { type: P, value: n, location: m, style: c },
3624
3659
  err: null
3625
3660
  };
3626
3661
  }
@@ -3628,9 +3663,9 @@ var Ei = (
3628
3663
  return {
3629
3664
  val: {
3630
3665
  type: a === "number" ? v.number : a === "date" ? v.date : v.time,
3631
- value: r,
3666
+ value: n,
3632
3667
  location: m,
3633
- style: (o = h == null ? void 0 : h.style) !== null && o !== void 0 ? o : null
3668
+ style: (o = l == null ? void 0 : l.style) !== null && o !== void 0 ? o : null
3634
3669
  },
3635
3670
  err: null
3636
3671
  };
@@ -3638,43 +3673,43 @@ var Ei = (
3638
3673
  case "plural":
3639
3674
  case "selectordinal":
3640
3675
  case "select": {
3641
- var E = this.clonePosition();
3676
+ var x = this.clonePosition();
3642
3677
  if (this.bumpSpace(), !this.bumpIf(","))
3643
- return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, g(E, y({}, E)));
3678
+ return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, g(x, Te({}, x)));
3644
3679
  this.bumpSpace();
3645
- var I = this.parseIdentifierIfPossible(), w = 0;
3680
+ var I = this.parseIdentifierIfPossible(), T = 0;
3646
3681
  if (a !== "select" && I.value === "offset") {
3647
3682
  if (!this.bumpIf(":"))
3648
3683
  return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g(this.clonePosition(), this.clonePosition()));
3649
3684
  this.bumpSpace();
3650
- var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3651
- if (c.err)
3652
- return c;
3653
- this.bumpSpace(), I = this.parseIdentifierIfPossible(), w = c.val;
3685
+ var f = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3686
+ if (f.err)
3687
+ return f;
3688
+ this.bumpSpace(), I = this.parseIdentifierIfPossible(), T = f.val;
3654
3689
  }
3655
- var R = this.tryParsePluralOrSelectOptions(t, a, n, I);
3690
+ var R = this.tryParsePluralOrSelectOptions(t, a, r, I);
3656
3691
  if (R.err)
3657
3692
  return R;
3658
- var d = this.tryParseArgumentClose(i);
3659
- if (d.err)
3660
- return d;
3661
- var de = g(i, this.clonePosition());
3693
+ var p = this.tryParseArgumentClose(i);
3694
+ if (p.err)
3695
+ return p;
3696
+ var pe = g(i, this.clonePosition());
3662
3697
  return a === "select" ? {
3663
3698
  val: {
3664
3699
  type: v.select,
3665
- value: r,
3666
- options: At(R.val),
3667
- location: de
3700
+ value: n,
3701
+ options: Lt(R.val),
3702
+ location: pe
3668
3703
  },
3669
3704
  err: null
3670
3705
  } : {
3671
3706
  val: {
3672
3707
  type: v.plural,
3673
- value: r,
3674
- options: At(R.val),
3675
- offset: w,
3708
+ value: n,
3709
+ options: Lt(R.val),
3710
+ offset: T,
3676
3711
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3677
- location: de
3712
+ location: pe
3678
3713
  },
3679
3714
  err: null
3680
3715
  };
@@ -3685,9 +3720,9 @@ var Ei = (
3685
3720
  }, e.prototype.tryParseArgumentClose = function(t) {
3686
3721
  return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3687
3722
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3688
- for (var t = 0, n = this.clonePosition(); !this.isEOF(); ) {
3689
- var r = this.char();
3690
- switch (r) {
3723
+ for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3724
+ var n = this.char();
3725
+ switch (n) {
3691
3726
  case 39: {
3692
3727
  this.bump();
3693
3728
  var i = this.clonePosition();
@@ -3705,7 +3740,7 @@ var Ei = (
3705
3740
  t -= 1;
3706
3741
  else
3707
3742
  return {
3708
- val: this.message.slice(n.offset, this.offset()),
3743
+ val: this.message.slice(r.offset, this.offset()),
3709
3744
  err: null
3710
3745
  };
3711
3746
  break;
@@ -3716,61 +3751,61 @@ var Ei = (
3716
3751
  }
3717
3752
  }
3718
3753
  return {
3719
- val: this.message.slice(n.offset, this.offset()),
3754
+ val: this.message.slice(r.offset, this.offset()),
3720
3755
  err: null
3721
3756
  };
3722
- }, e.prototype.parseNumberSkeletonFromString = function(t, n) {
3723
- var r = [];
3757
+ }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3758
+ var n = [];
3724
3759
  try {
3725
- r = ni(t);
3760
+ n = si(t);
3726
3761
  } catch (i) {
3727
- return this.error(b.INVALID_NUMBER_SKELETON, n);
3762
+ return this.error(b.INVALID_NUMBER_SKELETON, r);
3728
3763
  }
3729
3764
  return {
3730
3765
  val: {
3731
- type: Q.number,
3732
- tokens: r,
3733
- location: n,
3734
- parsedOptions: this.shouldParseSkeletons ? si(r) : {}
3766
+ type: q.number,
3767
+ tokens: n,
3768
+ location: r,
3769
+ parsedOptions: this.shouldParseSkeletons ? hi(n) : {}
3735
3770
  },
3736
3771
  err: null
3737
3772
  };
3738
- }, e.prototype.tryParsePluralOrSelectOptions = function(t, n, r, i) {
3739
- for (var o, s = !1, a = [], u = /* @__PURE__ */ new Set(), h = i.value, l = i.location; ; ) {
3740
- if (h.length === 0) {
3741
- var c = this.clonePosition();
3742
- if (n !== "select" && this.bumpIf("=")) {
3743
- var f = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_SELECTOR, b.INVALID_PLURAL_ARGUMENT_SELECTOR);
3744
- if (f.err)
3745
- return f;
3746
- l = g(c, this.clonePosition()), h = this.message.slice(c.offset, this.offset());
3773
+ }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3774
+ for (var o, s = !1, a = [], u = /* @__PURE__ */ new Set(), l = i.value, h = i.location; ; ) {
3775
+ if (l.length === 0) {
3776
+ var f = this.clonePosition();
3777
+ if (r !== "select" && this.bumpIf("=")) {
3778
+ var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_SELECTOR, b.INVALID_PLURAL_ARGUMENT_SELECTOR);
3779
+ if (c.err)
3780
+ return c;
3781
+ h = g(f, this.clonePosition()), l = this.message.slice(f.offset, this.offset());
3747
3782
  } else
3748
3783
  break;
3749
3784
  }
3750
- if (u.has(h))
3751
- return this.error(n === "select" ? b.DUPLICATE_SELECT_ARGUMENT_SELECTOR : b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
3752
- h === "other" && (s = !0), this.bumpSpace();
3753
- var p = this.clonePosition();
3785
+ if (u.has(l))
3786
+ return this.error(r === "select" ? b.DUPLICATE_SELECT_ARGUMENT_SELECTOR : b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3787
+ l === "other" && (s = !0), this.bumpSpace();
3788
+ var d = this.clonePosition();
3754
3789
  if (!this.bumpIf("{"))
3755
- return this.error(n === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, g(this.clonePosition(), this.clonePosition()));
3756
- var d = this.parseMessage(t + 1, n, r);
3757
- if (d.err)
3758
- return d;
3759
- var m = this.tryParseArgumentClose(p);
3790
+ return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, g(this.clonePosition(), this.clonePosition()));
3791
+ var p = this.parseMessage(t + 1, r, n);
3792
+ if (p.err)
3793
+ return p;
3794
+ var m = this.tryParseArgumentClose(d);
3760
3795
  if (m.err)
3761
3796
  return m;
3762
3797
  a.push([
3763
- h,
3798
+ l,
3764
3799
  {
3765
- value: d.val,
3766
- location: g(p, this.clonePosition())
3800
+ value: p.val,
3801
+ location: g(d, this.clonePosition())
3767
3802
  }
3768
- ]), u.add(h), this.bumpSpace(), o = this.parseIdentifierIfPossible(), h = o.value, l = o.location;
3803
+ ]), u.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, h = o.location;
3769
3804
  }
3770
- return a.length === 0 ? this.error(n === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, g(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(b.MISSING_OTHER_CLAUSE, g(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3771
- }, e.prototype.tryParseDecimalInteger = function(t, n) {
3772
- var r = 1, i = this.clonePosition();
3773
- this.bumpIf("+") || this.bumpIf("-") && (r = -1);
3805
+ return a.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, g(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(b.MISSING_OTHER_CLAUSE, g(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3806
+ }, e.prototype.tryParseDecimalInteger = function(t, r) {
3807
+ var n = 1, i = this.clonePosition();
3808
+ this.bumpIf("+") || this.bumpIf("-") && (n = -1);
3774
3809
  for (var o = !1, s = 0; !this.isEOF(); ) {
3775
3810
  var a = this.char();
3776
3811
  if (a >= 48 && a <= 57)
@@ -3779,7 +3814,7 @@ var Ei = (
3779
3814
  break;
3780
3815
  }
3781
3816
  var u = g(i, this.clonePosition());
3782
- return o ? (s *= r, yi(s) ? { val: s, err: null } : this.error(n, u)) : this.error(t, u);
3817
+ return o ? (s *= n, xi(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
3783
3818
  }, e.prototype.offset = function() {
3784
3819
  return this.position.offset;
3785
3820
  }, e.prototype.isEOF = function() {
@@ -3794,17 +3829,17 @@ var Ei = (
3794
3829
  var t = this.position.offset;
3795
3830
  if (t >= this.message.length)
3796
3831
  throw Error("out of bound");
3797
- var n = gn(this.message, t);
3798
- if (n === void 0)
3832
+ var r = _r(this.message, t);
3833
+ if (r === void 0)
3799
3834
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3800
- return n;
3801
- }, e.prototype.error = function(t, n) {
3835
+ return r;
3836
+ }, e.prototype.error = function(t, r) {
3802
3837
  return {
3803
3838
  val: null,
3804
3839
  err: {
3805
3840
  kind: t,
3806
3841
  message: this.message,
3807
- location: n
3842
+ location: r
3808
3843
  }
3809
3844
  };
3810
3845
  }, e.prototype.bump = function() {
@@ -3813,301 +3848,301 @@ var Ei = (
3813
3848
  t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
3814
3849
  }
3815
3850
  }, e.prototype.bumpIf = function(t) {
3816
- if (Bt(this.message, t, this.offset())) {
3817
- for (var n = 0; n < t.length; n++)
3851
+ if (It(this.message, t, this.offset())) {
3852
+ for (var r = 0; r < t.length; r++)
3818
3853
  this.bump();
3819
3854
  return !0;
3820
3855
  }
3821
3856
  return !1;
3822
3857
  }, e.prototype.bumpUntil = function(t) {
3823
- var n = this.offset(), r = this.message.indexOf(t, n);
3824
- return r >= 0 ? (this.bumpTo(r), !0) : (this.bumpTo(this.message.length), !1);
3858
+ var r = this.offset(), n = this.message.indexOf(t, r);
3859
+ return n >= 0 ? (this.bumpTo(n), !0) : (this.bumpTo(this.message.length), !1);
3825
3860
  }, e.prototype.bumpTo = function(t) {
3826
3861
  if (this.offset() > t)
3827
3862
  throw Error("targetOffset ".concat(t, " must be greater than or equal to the current offset ").concat(this.offset()));
3828
3863
  for (t = Math.min(t, this.message.length); ; ) {
3829
- var n = this.offset();
3830
- if (n === t)
3864
+ var r = this.offset();
3865
+ if (r === t)
3831
3866
  break;
3832
- if (n > t)
3867
+ if (r > t)
3833
3868
  throw Error("targetOffset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3834
3869
  if (this.bump(), this.isEOF())
3835
3870
  break;
3836
3871
  }
3837
3872
  }, e.prototype.bumpSpace = function() {
3838
- for (; !this.isEOF() && _n(this.char()); )
3873
+ for (; !this.isEOF() && xr(this.char()); )
3839
3874
  this.bump();
3840
3875
  }, e.prototype.peek = function() {
3841
3876
  if (this.isEOF())
3842
3877
  return null;
3843
- var t = this.char(), n = this.offset(), r = this.message.charCodeAt(n + (t >= 65536 ? 2 : 1));
3844
- return r != null ? r : null;
3878
+ var t = this.char(), r = this.offset(), n = this.message.charCodeAt(r + (t >= 65536 ? 2 : 1));
3879
+ return n != null ? n : null;
3845
3880
  }, e;
3846
3881
  }()
3847
3882
  );
3848
- function Ke(e) {
3883
+ function it(e) {
3849
3884
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3850
3885
  }
3851
- function Si(e) {
3852
- return Ke(e) || e === 47;
3886
+ function Bi(e) {
3887
+ return it(e) || e === 47;
3853
3888
  }
3854
- function Ti(e) {
3889
+ function Ai(e) {
3855
3890
  return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
3856
3891
  }
3857
- function _n(e) {
3892
+ function xr(e) {
3858
3893
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3859
3894
  }
3860
- function wi(e) {
3895
+ function Pi(e) {
3861
3896
  return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
3862
3897
  }
3863
- function et(e) {
3898
+ function ot(e) {
3864
3899
  e.forEach(function(t) {
3865
- if (delete t.location, hn(t) || ln(t))
3866
- for (var n in t.options)
3867
- delete t.options[n].location, et(t.options[n].value);
3900
+ if (delete t.location, fr(t) || pr(t))
3901
+ for (var r in t.options)
3902
+ delete t.options[r].location, ot(t.options[r].value);
3868
3903
  else
3869
- sn(t) && cn(t.style) || (an(t) || un(t)) && qe(t.style) ? delete t.style.location : fn(t) && et(t.children);
3904
+ lr(t) && mr(t.style) || (hr(t) || cr(t)) && et(t.style) ? delete t.style.location : dr(t) && ot(t.children);
3870
3905
  });
3871
3906
  }
3872
- function Hi(e, t) {
3873
- t === void 0 && (t = {}), t = y({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3874
- var n = new Ei(e, t).parse();
3875
- if (n.err) {
3876
- var r = SyntaxError(b[n.err.kind]);
3877
- throw r.location = n.err.location, r.originalMessage = n.err.message, r;
3907
+ function Oi(e, t) {
3908
+ t === void 0 && (t = {}), t = Te({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3909
+ var r = new Hi(e, t).parse();
3910
+ if (r.err) {
3911
+ var n = SyntaxError(b[r.err.kind]);
3912
+ throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3878
3913
  }
3879
- return t != null && t.captureLocation || et(n.val), n.val;
3914
+ return t != null && t.captureLocation || ot(r.val), r.val;
3880
3915
  }
3881
- var J;
3916
+ var Q;
3882
3917
  (function(e) {
3883
3918
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3884
- })(J || (J = {}));
3885
- var Pe = (
3919
+ })(Q || (Q = {}));
3920
+ var Ie = (
3886
3921
  /** @class */
3887
3922
  function(e) {
3888
- $(t, e);
3889
- function t(n, r, i) {
3890
- var o = e.call(this, n) || this;
3891
- return o.code = r, o.originalMessage = i, o;
3923
+ Oe(t, e);
3924
+ function t(r, n, i) {
3925
+ var o = e.call(this, r) || this;
3926
+ return o.code = n, o.originalMessage = i, o;
3892
3927
  }
3893
3928
  return t.prototype.toString = function() {
3894
3929
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3895
3930
  }, t;
3896
3931
  }(Error)
3897
- ), Ot = (
3932
+ ), Ct = (
3898
3933
  /** @class */
3899
3934
  function(e) {
3900
- $(t, e);
3901
- function t(n, r, i, o) {
3902
- return e.call(this, 'Invalid values for "'.concat(n, '": "').concat(r, '". Options are "').concat(Object.keys(i).join('", "'), '"'), J.INVALID_VALUE, o) || this;
3935
+ Oe(t, e);
3936
+ function t(r, n, i, o) {
3937
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Q.INVALID_VALUE, o) || this;
3903
3938
  }
3904
3939
  return t;
3905
- }(Pe)
3906
- ), Bi = (
3940
+ }(Ie)
3941
+ ), Ii = (
3907
3942
  /** @class */
3908
3943
  function(e) {
3909
- $(t, e);
3910
- function t(n, r, i) {
3911
- return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(r), J.INVALID_VALUE, i) || this;
3944
+ Oe(t, e);
3945
+ function t(r, n, i) {
3946
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Q.INVALID_VALUE, i) || this;
3912
3947
  }
3913
3948
  return t;
3914
- }(Pe)
3915
- ), Ai = (
3949
+ }(Ie)
3950
+ ), Li = (
3916
3951
  /** @class */
3917
3952
  function(e) {
3918
- $(t, e);
3919
- function t(n, r) {
3920
- return e.call(this, 'The intl string context variable "'.concat(n, '" was not provided to the string "').concat(r, '"'), J.MISSING_VALUE, r) || this;
3953
+ Oe(t, e);
3954
+ function t(r, n) {
3955
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Q.MISSING_VALUE, n) || this;
3921
3956
  }
3922
3957
  return t;
3923
- }(Pe)
3958
+ }(Ie)
3924
3959
  ), S;
3925
3960
  (function(e) {
3926
3961
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3927
3962
  })(S || (S = {}));
3928
- function Pi(e) {
3929
- return e.length < 2 ? e : e.reduce(function(t, n) {
3930
- var r = t[t.length - 1];
3931
- return !r || r.type !== S.literal || n.type !== S.literal ? t.push(n) : r.value += n.value, t;
3963
+ function Ni(e) {
3964
+ return e.length < 2 ? e : e.reduce(function(t, r) {
3965
+ var n = t[t.length - 1];
3966
+ return !n || n.type !== S.literal || r.type !== S.literal ? t.push(r) : n.value += r.value, t;
3932
3967
  }, []);
3933
3968
  }
3934
- function Oi(e) {
3969
+ function Ci(e) {
3935
3970
  return typeof e == "function";
3936
3971
  }
3937
- function ve(e, t, n, r, i, o, s) {
3938
- if (e.length === 1 && St(e[0]))
3972
+ function _e(e, t, r, n, i, o, s) {
3973
+ if (e.length === 1 && Bt(e[0]))
3939
3974
  return [
3940
3975
  {
3941
3976
  type: S.literal,
3942
3977
  value: e[0].value
3943
3978
  }
3944
3979
  ];
3945
- for (var a = [], u = 0, h = e; u < h.length; u++) {
3946
- var l = h[u];
3947
- if (St(l)) {
3980
+ for (var a = [], u = 0, l = e; u < l.length; u++) {
3981
+ var h = l[u];
3982
+ if (Bt(h)) {
3948
3983
  a.push({
3949
3984
  type: S.literal,
3950
- value: l.value
3985
+ value: h.value
3951
3986
  });
3952
3987
  continue;
3953
3988
  }
3954
- if (Yr(l)) {
3989
+ if (ri(h)) {
3955
3990
  typeof o == "number" && a.push({
3956
3991
  type: S.literal,
3957
- value: n.getNumberFormat(t).format(o)
3992
+ value: r.getNumberFormat(t).format(o)
3958
3993
  });
3959
3994
  continue;
3960
3995
  }
3961
- var c = l.value;
3962
- if (!(i && c in i))
3963
- throw new Ai(c, s);
3964
- var f = i[c];
3965
- if (Jr(l)) {
3966
- (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3967
- type: typeof f == "string" ? S.literal : S.object,
3968
- value: f
3996
+ var f = h.value;
3997
+ if (!(i && f in i))
3998
+ throw new Li(f, s);
3999
+ var c = i[f];
4000
+ if (ti(h)) {
4001
+ (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
4002
+ type: typeof c == "string" ? S.literal : S.object,
4003
+ value: c
3969
4004
  });
3970
4005
  continue;
3971
4006
  }
3972
- if (an(l)) {
3973
- var p = typeof l.style == "string" ? r.date[l.style] : qe(l.style) ? l.style.parsedOptions : void 0;
4007
+ if (hr(h)) {
4008
+ var d = typeof h.style == "string" ? n.date[h.style] : et(h.style) ? h.style.parsedOptions : void 0;
3974
4009
  a.push({
3975
4010
  type: S.literal,
3976
- value: n.getDateTimeFormat(t, p).format(f)
4011
+ value: r.getDateTimeFormat(t, d).format(c)
3977
4012
  });
3978
4013
  continue;
3979
4014
  }
3980
- if (un(l)) {
3981
- var p = typeof l.style == "string" ? r.time[l.style] : qe(l.style) ? l.style.parsedOptions : r.time.medium;
4015
+ if (cr(h)) {
4016
+ var d = typeof h.style == "string" ? n.time[h.style] : et(h.style) ? h.style.parsedOptions : n.time.medium;
3982
4017
  a.push({
3983
4018
  type: S.literal,
3984
- value: n.getDateTimeFormat(t, p).format(f)
4019
+ value: r.getDateTimeFormat(t, d).format(c)
3985
4020
  });
3986
4021
  continue;
3987
4022
  }
3988
- if (sn(l)) {
3989
- var p = typeof l.style == "string" ? r.number[l.style] : cn(l.style) ? l.style.parsedOptions : void 0;
3990
- p && p.scale && (f = f * (p.scale || 1)), a.push({
4023
+ if (lr(h)) {
4024
+ var d = typeof h.style == "string" ? n.number[h.style] : mr(h.style) ? h.style.parsedOptions : void 0;
4025
+ d && d.scale && (c = c * (d.scale || 1)), a.push({
3991
4026
  type: S.literal,
3992
- value: n.getNumberFormat(t, p).format(f)
4027
+ value: r.getNumberFormat(t, d).format(c)
3993
4028
  });
3994
4029
  continue;
3995
4030
  }
3996
- if (fn(l)) {
3997
- var d = l.children, m = l.value, x = i[m];
3998
- if (!Oi(x))
3999
- throw new Bi(m, "function", s);
4000
- var T = ve(d, t, n, r, i, o), P = x(T.map(function(w) {
4001
- return w.value;
4031
+ if (dr(h)) {
4032
+ var p = h.children, m = h.value, _ = i[m];
4033
+ if (!Ci(_))
4034
+ throw new Ii(m, "function", s);
4035
+ var w = _e(p, t, r, n, i, o), P = _(w.map(function(T) {
4036
+ return T.value;
4002
4037
  }));
4003
- Array.isArray(P) || (P = [P]), a.push.apply(a, P.map(function(w) {
4038
+ Array.isArray(P) || (P = [P]), a.push.apply(a, P.map(function(T) {
4004
4039
  return {
4005
- type: typeof w == "string" ? S.literal : S.object,
4006
- value: w
4040
+ type: typeof T == "string" ? S.literal : S.object,
4041
+ value: T
4007
4042
  };
4008
4043
  }));
4009
4044
  }
4010
- if (hn(l)) {
4011
- var E = l.options[f] || l.options.other;
4012
- if (!E)
4013
- throw new Ot(l.value, f, Object.keys(l.options), s);
4014
- a.push.apply(a, ve(E.value, t, n, r, i));
4045
+ if (fr(h)) {
4046
+ var x = h.options[c] || h.options.other;
4047
+ if (!x)
4048
+ throw new Ct(h.value, c, Object.keys(h.options), s);
4049
+ a.push.apply(a, _e(x.value, t, r, n, i));
4015
4050
  continue;
4016
4051
  }
4017
- if (ln(l)) {
4018
- var E = l.options["=".concat(f)];
4019
- if (!E) {
4052
+ if (pr(h)) {
4053
+ var x = h.options["=".concat(c)];
4054
+ if (!x) {
4020
4055
  if (!Intl.PluralRules)
4021
- throw new Pe(`Intl.PluralRules is not available in this environment.
4056
+ throw new Ie(`Intl.PluralRules is not available in this environment.
4022
4057
  Try polyfilling it using "@formatjs/intl-pluralrules"
4023
- `, J.MISSING_INTL_API, s);
4024
- var I = n.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
4025
- E = l.options[I] || l.options.other;
4058
+ `, Q.MISSING_INTL_API, s);
4059
+ var I = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
4060
+ x = h.options[I] || h.options.other;
4026
4061
  }
4027
- if (!E)
4028
- throw new Ot(l.value, f, Object.keys(l.options), s);
4029
- a.push.apply(a, ve(E.value, t, n, r, i, f - (l.offset || 0)));
4062
+ if (!x)
4063
+ throw new Ct(h.value, c, Object.keys(h.options), s);
4064
+ a.push.apply(a, _e(x.value, t, r, n, i, c - (h.offset || 0)));
4030
4065
  continue;
4031
4066
  }
4032
4067
  }
4033
- return Pi(a);
4068
+ return Ni(a);
4034
4069
  }
4035
- function Ii(e, t) {
4036
- return t ? y(y(y({}, e || {}), t || {}), Object.keys(e).reduce(function(n, r) {
4037
- return n[r] = y(y({}, e[r]), t[r] || {}), n;
4070
+ function Mi(e, t) {
4071
+ return t ? N(N(N({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
4072
+ return r[n] = N(N({}, e[n]), t[n] || {}), r;
4038
4073
  }, {})) : e;
4039
4074
  }
4040
- function Li(e, t) {
4041
- return t ? Object.keys(e).reduce(function(n, r) {
4042
- return n[r] = Ii(e[r], t[r]), n;
4043
- }, y({}, e)) : e;
4075
+ function $i(e, t) {
4076
+ return t ? Object.keys(e).reduce(function(r, n) {
4077
+ return r[n] = Mi(e[n], t[n]), r;
4078
+ }, N({}, e)) : e;
4044
4079
  }
4045
- function Ge(e) {
4080
+ function ke(e) {
4046
4081
  return {
4047
4082
  create: function() {
4048
4083
  return {
4049
4084
  get: function(t) {
4050
4085
  return e[t];
4051
4086
  },
4052
- set: function(t, n) {
4053
- e[t] = n;
4087
+ set: function(t, r) {
4088
+ e[t] = r;
4054
4089
  }
4055
4090
  };
4056
4091
  }
4057
4092
  };
4058
4093
  }
4059
- function Ni(e) {
4094
+ function Ri(e) {
4060
4095
  return e === void 0 && (e = {
4061
4096
  number: {},
4062
4097
  dateTime: {},
4063
4098
  pluralRules: {}
4064
4099
  }), {
4065
- getNumberFormat: Re(function() {
4066
- for (var t, n = [], r = 0; r < arguments.length; r++)
4067
- n[r] = arguments[r];
4068
- return new ((t = Intl.NumberFormat).bind.apply(t, Z([void 0], n, !1)))();
4100
+ getNumberFormat: Ge(function() {
4101
+ for (var t, r = [], n = 0; n < arguments.length; n++)
4102
+ r[n] = arguments[n];
4103
+ return new ((t = Intl.NumberFormat).bind.apply(t, De([void 0], r, !1)))();
4069
4104
  }, {
4070
- cache: Ge(e.number),
4071
- strategy: Ue.variadic
4105
+ cache: ke(e.number),
4106
+ strategy: Fe.variadic
4072
4107
  }),
4073
- getDateTimeFormat: Re(function() {
4074
- for (var t, n = [], r = 0; r < arguments.length; r++)
4075
- n[r] = arguments[r];
4076
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Z([void 0], n, !1)))();
4108
+ getDateTimeFormat: Ge(function() {
4109
+ for (var t, r = [], n = 0; n < arguments.length; n++)
4110
+ r[n] = arguments[n];
4111
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, De([void 0], r, !1)))();
4077
4112
  }, {
4078
- cache: Ge(e.dateTime),
4079
- strategy: Ue.variadic
4113
+ cache: ke(e.dateTime),
4114
+ strategy: Fe.variadic
4080
4115
  }),
4081
- getPluralRules: Re(function() {
4082
- for (var t, n = [], r = 0; r < arguments.length; r++)
4083
- n[r] = arguments[r];
4084
- return new ((t = Intl.PluralRules).bind.apply(t, Z([void 0], n, !1)))();
4116
+ getPluralRules: Ge(function() {
4117
+ for (var t, r = [], n = 0; n < arguments.length; n++)
4118
+ r[n] = arguments[n];
4119
+ return new ((t = Intl.PluralRules).bind.apply(t, De([void 0], r, !1)))();
4085
4120
  }, {
4086
- cache: Ge(e.pluralRules),
4087
- strategy: Ue.variadic
4121
+ cache: ke(e.pluralRules),
4122
+ strategy: Fe.variadic
4088
4123
  })
4089
4124
  };
4090
4125
  }
4091
- var Mi = (
4126
+ var Ui = (
4092
4127
  /** @class */
4093
4128
  function() {
4094
- function e(t, n, r, i) {
4095
- n === void 0 && (n = e.defaultLocale);
4129
+ function e(t, r, n, i) {
4130
+ r === void 0 && (r = e.defaultLocale);
4096
4131
  var o = this;
4097
4132
  if (this.formatterCache = {
4098
4133
  number: {},
4099
4134
  dateTime: {},
4100
4135
  pluralRules: {}
4101
4136
  }, this.format = function(u) {
4102
- var h = o.formatToParts(u);
4103
- if (h.length === 1)
4104
- return h[0].value;
4105
- var l = h.reduce(function(c, f) {
4106
- return !c.length || f.type !== S.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
4137
+ var l = o.formatToParts(u);
4138
+ if (l.length === 1)
4139
+ return l[0].value;
4140
+ var h = l.reduce(function(f, c) {
4141
+ return !f.length || c.type !== S.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
4107
4142
  }, []);
4108
- return l.length <= 1 ? l[0] || "" : l;
4143
+ return h.length <= 1 ? h[0] || "" : h;
4109
4144
  }, this.formatToParts = function(u) {
4110
- return ve(o.ast, o.locales, o.formatters, o.formats, u, void 0, o.message);
4145
+ return _e(o.ast, o.locales, o.formatters, o.formats, u, void 0, o.message);
4111
4146
  }, this.resolvedOptions = function() {
4112
4147
  var u;
4113
4148
  return {
@@ -4115,18 +4150,18 @@ var Mi = (
4115
4150
  };
4116
4151
  }, this.getAst = function() {
4117
4152
  return o.ast;
4118
- }, this.locales = n, this.resolvedLocale = e.resolveLocale(n), typeof t == "string") {
4153
+ }, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
4119
4154
  if (this.message = t, !e.__parse)
4120
4155
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
4121
4156
  var s = i || {};
4122
4157
  s.formatters;
4123
- var a = cr(s, ["formatters"]);
4124
- this.ast = e.__parse(t, y(y({}, a), { locale: this.resolvedLocale }));
4158
+ var a = zn(s, ["formatters"]);
4159
+ this.ast = e.__parse(t, N(N({}, a), { locale: this.resolvedLocale }));
4125
4160
  } else
4126
4161
  this.ast = t;
4127
4162
  if (!Array.isArray(this.ast))
4128
4163
  throw new TypeError("A message must be provided as a String or AST.");
4129
- this.formats = Li(e.formats, r), this.formatters = i && i.formatters || Ni(this.formatterCache);
4164
+ this.formats = $i(e.formats, n), this.formatters = i && i.formatters || Ri(this.formatterCache);
4130
4165
  }
4131
4166
  return Object.defineProperty(e, "defaultLocale", {
4132
4167
  get: function() {
@@ -4136,10 +4171,10 @@ var Mi = (
4136
4171
  configurable: !0
4137
4172
  }), e.memoizedDefaultLocale = null, e.resolveLocale = function(t) {
4138
4173
  if (typeof Intl.Locale != "undefined") {
4139
- var n = Intl.NumberFormat.supportedLocalesOf(t);
4140
- return n.length > 0 ? new Intl.Locale(n[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
4174
+ var r = Intl.NumberFormat.supportedLocalesOf(t);
4175
+ return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
4141
4176
  }
4142
- }, e.__parse = Hi, e.formats = {
4177
+ }, e.__parse = Oi, e.formats = {
4143
4178
  number: {
4144
4179
  integer: {
4145
4180
  maximumFractionDigits: 0
@@ -4200,113 +4235,113 @@ var Mi = (
4200
4235
  }, e;
4201
4236
  }()
4202
4237
  );
4203
- function Ci(e, t) {
4238
+ function Di(e, t) {
4204
4239
  if (t == null)
4205
4240
  return;
4206
4241
  if (t in e)
4207
4242
  return e[t];
4208
- const n = t.split(".");
4209
- let r = e;
4210
- for (let i = 0; i < n.length; i++)
4211
- if (typeof r == "object") {
4243
+ const r = t.split(".");
4244
+ let n = e;
4245
+ for (let i = 0; i < r.length; i++)
4246
+ if (typeof n == "object") {
4212
4247
  if (i > 0) {
4213
- const o = n.slice(i, n.length).join(".");
4214
- if (o in r) {
4215
- r = r[o];
4248
+ const o = r.slice(i, r.length).join(".");
4249
+ if (o in n) {
4250
+ n = n[o];
4216
4251
  break;
4217
4252
  }
4218
4253
  }
4219
- r = r[n[i]];
4254
+ n = n[r[i]];
4220
4255
  } else
4221
- r = void 0;
4222
- return r;
4256
+ n = void 0;
4257
+ return n;
4223
4258
  }
4224
- const D = {}, $i = (e, t, n) => n && (t in D || (D[t] = {}), e in D[t] || (D[t][e] = n), n), vn = (e, t) => {
4259
+ const D = {}, Gi = (e, t, r) => r && (t in D || (D[t] = {}), e in D[t] || (D[t][e] = r), r), Sr = (e, t) => {
4225
4260
  if (t == null)
4226
4261
  return;
4227
4262
  if (t in D && e in D[t])
4228
4263
  return D[t][e];
4229
- const n = Oe(t);
4230
- for (let r = 0; r < n.length; r++) {
4231
- const i = n[r], o = Ui(i, e);
4264
+ const r = Le(t);
4265
+ for (let n = 0; n < r.length; n++) {
4266
+ const i = r[n], o = ji(i, e);
4232
4267
  if (o)
4233
- return $i(e, t, o);
4268
+ return Gi(e, t, o);
4234
4269
  }
4235
4270
  };
4236
- let st;
4237
- const ce = Ae({});
4238
- function Ri(e) {
4239
- return st[e] || null;
4271
+ let ht;
4272
+ const fe = Pe({});
4273
+ function Fi(e) {
4274
+ return ht[e] || null;
4240
4275
  }
4241
- function xn(e) {
4242
- return e in st;
4276
+ function wr(e) {
4277
+ return e in ht;
4243
4278
  }
4244
- function Ui(e, t) {
4245
- if (!xn(e))
4279
+ function ji(e, t) {
4280
+ if (!wr(e))
4246
4281
  return null;
4247
- const n = Ri(e);
4248
- return Ci(n, t);
4282
+ const r = Fi(e);
4283
+ return Di(r, t);
4249
4284
  }
4250
- function Di(e) {
4285
+ function ki(e) {
4251
4286
  if (e == null)
4252
4287
  return;
4253
- const t = Oe(e);
4254
- for (let n = 0; n < t.length; n++) {
4255
- const r = t[n];
4256
- if (xn(r))
4257
- return r;
4288
+ const t = Le(e);
4289
+ for (let r = 0; r < t.length; r++) {
4290
+ const n = t[r];
4291
+ if (wr(n))
4292
+ return n;
4258
4293
  }
4259
4294
  }
4260
- function En(e, ...t) {
4261
- delete D[e], ce.update((n) => (n[e] = kr.all([n[e] || {}, ...t]), n));
4295
+ function Tr(e, ...t) {
4296
+ delete D[e], fe.update((r) => (r[e] = Wn.all([r[e] || {}, ...t]), r));
4262
4297
  }
4263
- K(
4264
- [ce],
4298
+ Y(
4299
+ [fe],
4265
4300
  ([e]) => Object.keys(e)
4266
4301
  );
4267
- ce.subscribe((e) => st = e);
4268
- const xe = {};
4269
- function Gi(e, t) {
4270
- xe[e].delete(t), xe[e].size === 0 && delete xe[e];
4271
- }
4272
- function Sn(e) {
4273
- return xe[e];
4274
- }
4275
- function Fi(e) {
4276
- return Oe(e).map((t) => {
4277
- const n = Sn(t);
4278
- return [t, n ? [...n] : []];
4302
+ fe.subscribe((e) => ht = e);
4303
+ const Ee = {};
4304
+ function Vi(e, t) {
4305
+ Ee[e].delete(t), Ee[e].size === 0 && delete Ee[e];
4306
+ }
4307
+ function Hr(e) {
4308
+ return Ee[e];
4309
+ }
4310
+ function Xi(e) {
4311
+ return Le(e).map((t) => {
4312
+ const r = Hr(t);
4313
+ return [t, r ? [...r] : []];
4279
4314
  }).filter(([, t]) => t.length > 0);
4280
4315
  }
4281
- function tt(e) {
4282
- return e == null ? !1 : Oe(e).some(
4316
+ function st(e) {
4317
+ return e == null ? !1 : Le(e).some(
4283
4318
  (t) => {
4284
- var n;
4285
- return (n = Sn(t)) == null ? void 0 : n.size;
4319
+ var r;
4320
+ return (r = Hr(t)) == null ? void 0 : r.size;
4286
4321
  }
4287
4322
  );
4288
4323
  }
4289
- function ji(e, t) {
4324
+ function Wi(e, t) {
4290
4325
  return Promise.all(
4291
- t.map((r) => (Gi(e, r), r().then((i) => i.default || i)))
4292
- ).then((r) => En(e, ...r));
4293
- }
4294
- const ie = {};
4295
- function Tn(e) {
4296
- if (!tt(e))
4297
- return e in ie ? ie[e] : Promise.resolve();
4298
- const t = Fi(e);
4299
- return ie[e] = Promise.all(
4326
+ t.map((n) => (Vi(e, n), n().then((i) => i.default || i)))
4327
+ ).then((n) => Tr(e, ...n));
4328
+ }
4329
+ const ne = {};
4330
+ function Br(e) {
4331
+ if (!st(e))
4332
+ return e in ne ? ne[e] : Promise.resolve();
4333
+ const t = Xi(e);
4334
+ return ne[e] = Promise.all(
4300
4335
  t.map(
4301
- ([n, r]) => ji(n, r)
4336
+ ([r, n]) => Wi(r, n)
4302
4337
  )
4303
4338
  ).then(() => {
4304
- if (tt(e))
4305
- return Tn(e);
4306
- delete ie[e];
4307
- }), ie[e];
4339
+ if (st(e))
4340
+ return Br(e);
4341
+ delete ne[e];
4342
+ }), ne[e];
4308
4343
  }
4309
- const ki = {
4344
+ const zi = {
4310
4345
  number: {
4311
4346
  scientific: { notation: "scientific" },
4312
4347
  engineering: { notation: "engineering" },
@@ -4335,198 +4370,198 @@ const ki = {
4335
4370
  timeZoneName: "short"
4336
4371
  }
4337
4372
  }
4338
- }, Vi = {
4373
+ }, Zi = {
4339
4374
  fallbackLocale: null,
4340
4375
  loadingDelay: 200,
4341
- formats: ki,
4376
+ formats: zi,
4342
4377
  warnOnMissingMessages: !0,
4343
4378
  handleMissingMessage: void 0,
4344
4379
  ignoreTag: !0
4345
- }, Xi = Vi;
4346
- function Y() {
4347
- return Xi;
4348
- }
4349
- const Fe = Ae(!1);
4350
- var Wi = Object.defineProperty, zi = Object.defineProperties, Zi = Object.getOwnPropertyDescriptors, It = Object.getOwnPropertySymbols, qi = Object.prototype.hasOwnProperty, Qi = Object.prototype.propertyIsEnumerable, Lt = (e, t, n) => t in e ? Wi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Ji = (e, t) => {
4351
- for (var n in t)
4352
- qi.call(t, n) && Lt(e, n, t[n]);
4353
- if (It)
4354
- for (var n of It(t))
4355
- Qi.call(t, n) && Lt(e, n, t[n]);
4380
+ }, qi = Zi;
4381
+ function J() {
4382
+ return qi;
4383
+ }
4384
+ const Ve = Pe(!1);
4385
+ var Qi = Object.defineProperty, Ji = Object.defineProperties, Yi = Object.getOwnPropertyDescriptors, Mt = Object.getOwnPropertySymbols, Ki = Object.prototype.hasOwnProperty, eo = Object.prototype.propertyIsEnumerable, $t = (e, t, r) => t in e ? Qi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, to = (e, t) => {
4386
+ for (var r in t || (t = {}))
4387
+ Ki.call(t, r) && $t(e, r, t[r]);
4388
+ if (Mt)
4389
+ for (var r of Mt(t))
4390
+ eo.call(t, r) && $t(e, r, t[r]);
4356
4391
  return e;
4357
- }, Yi = (e, t) => zi(e, Zi(t));
4358
- let nt;
4359
- const we = Ae(null);
4360
- function Nt(e) {
4361
- return e.split("-").map((t, n, r) => r.slice(0, n + 1).join("-")).reverse();
4392
+ }, ro = (e, t) => Ji(e, Yi(t));
4393
+ let at;
4394
+ const He = Pe(null);
4395
+ function Rt(e) {
4396
+ return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4362
4397
  }
4363
- function Oe(e, t = Y().fallbackLocale) {
4364
- const n = Nt(e);
4365
- return t ? [.../* @__PURE__ */ new Set([...n, ...Nt(t)])] : n;
4398
+ function Le(e, t = J().fallbackLocale) {
4399
+ const r = Rt(e);
4400
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Rt(t)])] : r;
4366
4401
  }
4367
4402
  function j() {
4368
- return nt != null ? nt : void 0;
4403
+ return at != null ? at : void 0;
4369
4404
  }
4370
- we.subscribe((e) => {
4371
- nt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4405
+ He.subscribe((e) => {
4406
+ at = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4372
4407
  });
4373
- const Ki = (e) => {
4374
- if (e && Di(e) && tt(e)) {
4375
- const { loadingDelay: t } = Y();
4376
- let n;
4377
- return typeof window != "undefined" && j() != null && t ? n = window.setTimeout(
4378
- () => Fe.set(!0),
4408
+ const no = (e) => {
4409
+ if (e && ki(e) && st(e)) {
4410
+ const { loadingDelay: t } = J();
4411
+ let r;
4412
+ return typeof window != "undefined" && j() != null && t ? r = window.setTimeout(
4413
+ () => Ve.set(!0),
4379
4414
  t
4380
- ) : Fe.set(!0), Tn(e).then(() => {
4381
- we.set(e);
4415
+ ) : Ve.set(!0), Br(e).then(() => {
4416
+ He.set(e);
4382
4417
  }).finally(() => {
4383
- clearTimeout(n), Fe.set(!1);
4418
+ clearTimeout(r), Ve.set(!1);
4384
4419
  });
4385
4420
  }
4386
- return we.set(e);
4387
- }, ee = Yi(Ji({}, we), {
4388
- set: Ki
4389
- }), Ie = (e) => {
4421
+ return He.set(e);
4422
+ }, K = ro(to({}, He), {
4423
+ set: no
4424
+ }), Ne = (e) => {
4390
4425
  const t = /* @__PURE__ */ Object.create(null);
4391
- return (r) => {
4392
- const i = JSON.stringify(r);
4393
- return i in t ? t[i] : t[i] = e(r);
4426
+ return (n) => {
4427
+ const i = JSON.stringify(n);
4428
+ return i in t ? t[i] : t[i] = e(n);
4394
4429
  };
4395
4430
  };
4396
- var eo = Object.defineProperty, He = Object.getOwnPropertySymbols, wn = Object.prototype.hasOwnProperty, Hn = Object.prototype.propertyIsEnumerable, Mt = (e, t, n) => t in e ? eo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, at = (e, t) => {
4397
- for (var n in t || (t = {}))
4398
- wn.call(t, n) && Mt(e, n, t[n]);
4399
- if (He)
4400
- for (var n of He(t))
4401
- Hn.call(t, n) && Mt(e, n, t[n]);
4431
+ var io = Object.defineProperty, Be = Object.getOwnPropertySymbols, Ar = Object.prototype.hasOwnProperty, Pr = Object.prototype.propertyIsEnumerable, Ut = (e, t, r) => t in e ? io(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ct = (e, t) => {
4432
+ for (var r in t || (t = {}))
4433
+ Ar.call(t, r) && Ut(e, r, t[r]);
4434
+ if (Be)
4435
+ for (var r of Be(t))
4436
+ Pr.call(t, r) && Ut(e, r, t[r]);
4402
4437
  return e;
4403
- }, te = (e, t) => {
4404
- var n = {};
4405
- for (var r in e)
4406
- wn.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
4407
- if (e != null && He)
4408
- for (var r of He(e))
4409
- t.indexOf(r) < 0 && Hn.call(e, r) && (n[r] = e[r]);
4410
- return n;
4438
+ }, ee = (e, t) => {
4439
+ var r = {};
4440
+ for (var n in e)
4441
+ Ar.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4442
+ if (e != null && Be)
4443
+ for (var n of Be(e))
4444
+ t.indexOf(n) < 0 && Pr.call(e, n) && (r[n] = e[n]);
4445
+ return r;
4411
4446
  };
4412
- const ue = (e, t) => {
4413
- const { formats: n } = Y();
4414
- if (e in n && t in n[e])
4415
- return n[e][t];
4447
+ const ae = (e, t) => {
4448
+ const { formats: r } = J();
4449
+ if (e in r && t in r[e])
4450
+ return r[e][t];
4416
4451
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4417
- }, to = Ie(
4452
+ }, oo = Ne(
4418
4453
  (e) => {
4419
- var t = e, { locale: n, format: r } = t, i = te(t, ["locale", "format"]);
4420
- if (n == null)
4454
+ var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4455
+ if (r == null)
4421
4456
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4422
- return r && (i = ue("number", r)), new Intl.NumberFormat(n, i);
4457
+ return n && (i = ae("number", n)), new Intl.NumberFormat(r, i);
4423
4458
  }
4424
- ), no = Ie(
4459
+ ), so = Ne(
4425
4460
  (e) => {
4426
- var t = e, { locale: n, format: r } = t, i = te(t, ["locale", "format"]);
4427
- if (n == null)
4461
+ var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4462
+ if (r == null)
4428
4463
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4429
- return r ? i = ue("date", r) : Object.keys(i).length === 0 && (i = ue("date", "short")), new Intl.DateTimeFormat(n, i);
4464
+ return n ? i = ae("date", n) : Object.keys(i).length === 0 && (i = ae("date", "short")), new Intl.DateTimeFormat(r, i);
4430
4465
  }
4431
- ), ro = Ie(
4466
+ ), ao = Ne(
4432
4467
  (e) => {
4433
- var t = e, { locale: n, format: r } = t, i = te(t, ["locale", "format"]);
4434
- if (n == null)
4468
+ var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4469
+ if (r == null)
4435
4470
  throw new Error(
4436
4471
  '[svelte-i18n] A "locale" must be set to format time values'
4437
4472
  );
4438
- return r ? i = ue("time", r) : Object.keys(i).length === 0 && (i = ue("time", "short")), new Intl.DateTimeFormat(n, i);
4473
+ return n ? i = ae("time", n) : Object.keys(i).length === 0 && (i = ae("time", "short")), new Intl.DateTimeFormat(r, i);
4439
4474
  }
4440
- ), io = (e = {}) => {
4475
+ ), uo = (e = {}) => {
4441
4476
  var t = e, {
4442
- locale: n = j()
4443
- } = t, r = te(t, [
4477
+ locale: r = j()
4478
+ } = t, n = ee(t, [
4444
4479
  "locale"
4445
4480
  ]);
4446
- return to(at({ locale: n }, r));
4447
- }, oo = (e = {}) => {
4481
+ return oo(ct({ locale: r }, n));
4482
+ }, lo = (e = {}) => {
4448
4483
  var t = e, {
4449
- locale: n = j()
4450
- } = t, r = te(t, [
4484
+ locale: r = j()
4485
+ } = t, n = ee(t, [
4451
4486
  "locale"
4452
4487
  ]);
4453
- return no(at({ locale: n }, r));
4454
- }, so = (e = {}) => {
4488
+ return so(ct({ locale: r }, n));
4489
+ }, ho = (e = {}) => {
4455
4490
  var t = e, {
4456
- locale: n = j()
4457
- } = t, r = te(t, [
4491
+ locale: r = j()
4492
+ } = t, n = ee(t, [
4458
4493
  "locale"
4459
4494
  ]);
4460
- return ro(at({ locale: n }, r));
4461
- }, ao = Ie(
4495
+ return ao(ct({ locale: r }, n));
4496
+ }, co = Ne(
4462
4497
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4463
- (e, t = j()) => new Mi(e, t, Y().formats, {
4464
- ignoreTag: Y().ignoreTag
4498
+ (e, t = j()) => new Ui(e, t, J().formats, {
4499
+ ignoreTag: J().ignoreTag
4465
4500
  })
4466
- ), uo = (e, t = {}) => {
4467
- var n, r, i, o;
4501
+ ), fo = (e, t = {}) => {
4502
+ var r, n, i, o;
4468
4503
  let s = t;
4469
4504
  typeof e == "object" && (s = e, e = s.id);
4470
4505
  const {
4471
4506
  values: a,
4472
4507
  locale: u = j(),
4473
- default: h
4508
+ default: l
4474
4509
  } = s;
4475
4510
  if (u == null)
4476
4511
  throw new Error(
4477
4512
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4478
4513
  );
4479
- let l = vn(e, u);
4480
- if (!l)
4481
- l = (o = (i = (r = (n = Y()).handleMissingMessage) == null ? void 0 : r.call(n, { locale: u, id: e, defaultValue: h })) != null ? i : h) != null ? o : e;
4482
- else if (typeof l != "string")
4514
+ let h = Sr(e, u);
4515
+ if (!h)
4516
+ h = (o = (i = (n = (r = J()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
4517
+ else if (typeof h != "string")
4483
4518
  return console.warn(
4484
- `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
4485
- ), l;
4519
+ `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
4520
+ ), h;
4486
4521
  if (!a)
4487
- return l;
4488
- let c = l;
4522
+ return h;
4523
+ let f = h;
4489
4524
  try {
4490
- c = ao(l, u).format(a);
4491
- } catch (f) {
4492
- f instanceof Error && console.warn(
4525
+ f = co(h, u).format(a);
4526
+ } catch (c) {
4527
+ c instanceof Error && console.warn(
4493
4528
  `[svelte-i18n] Message "${e}" has syntax error:`,
4494
- f.message
4529
+ c.message
4495
4530
  );
4496
4531
  }
4497
- return c;
4498
- }, ho = (e, t) => so(t).format(e), lo = (e, t) => oo(t).format(e), fo = (e, t) => io(t).format(e), co = (e, t = j()) => vn(e, t), po = K([ee, ce], () => uo);
4499
- K([ee], () => ho);
4500
- K([ee], () => lo);
4501
- K([ee], () => fo);
4502
- K([ee, ce], () => co);
4503
- window.emWidgets = { topic: Hr };
4504
- const Qo = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)), Bn = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC", Jo = (e) => e.match(/CustomNative/i) ? "NativeApp" : Bn(e) === "PC" ? "Desktop" : "Mobile";
4505
- function Ct(e, t) {
4532
+ return f;
4533
+ }, po = (e, t) => ho(t).format(e), mo = (e, t) => lo(t).format(e), bo = (e, t) => uo(t).format(e), go = (e, t = j()) => Sr(e, t), yo = Y([K, fe], () => fo);
4534
+ Y([K], () => po);
4535
+ Y([K], () => mo);
4536
+ Y([K], () => bo);
4537
+ Y([K, fe], () => go);
4538
+ window.emWidgets = { topic: Pn };
4539
+ const es = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)), Or = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC", ts = (e) => e.match(/CustomNative/i) ? "NativeApp" : Or(e) === "PC" ? "Desktop" : "Mobile";
4540
+ function Dt(e, t) {
4506
4541
  if (e) {
4507
- const n = document.createElement("style");
4508
- n.innerHTML = t, e.appendChild(n);
4542
+ const r = document.createElement("style");
4543
+ r.innerHTML = t, e.appendChild(r);
4509
4544
  }
4510
4545
  }
4511
- function mo(e, t) {
4512
- const n = new URL(t);
4513
- fetch(n.href).then((r) => r.text()).then((r) => {
4546
+ function vo(e, t) {
4547
+ const r = new URL(t);
4548
+ fetch(r.href).then((n) => n.text()).then((n) => {
4514
4549
  const i = document.createElement("style");
4515
- i.innerHTML = r, e && e.appendChild(i);
4516
- }).catch((r) => {
4517
- console.error("There was an error while trying to load client styling from URL", r);
4550
+ i.innerHTML = n, e && e.appendChild(i);
4551
+ }).catch((n) => {
4552
+ console.error("There was an error while trying to load client styling from URL", n);
4518
4553
  });
4519
4554
  }
4520
- function bo(e, t, n) {
4555
+ function _o(e, t, r) {
4521
4556
  if (window.emMessageBus) {
4522
- const r = document.createElement("style");
4557
+ const n = document.createElement("style");
4523
4558
  window.emMessageBus.subscribe(t, (i) => {
4524
- r.innerHTML = i, e && e.appendChild(r);
4559
+ n.innerHTML = i, e && e.appendChild(n);
4525
4560
  });
4526
4561
  }
4527
4562
  }
4528
- const go = (e, t = {}) => {
4529
- const n = new CustomEvent("track-custom-event", {
4563
+ const Eo = (e, t = {}) => {
4564
+ const r = new CustomEvent("track-custom-event", {
4530
4565
  detail: {
4531
4566
  type: e,
4532
4567
  data: t
@@ -4534,15 +4569,15 @@ const go = (e, t = {}) => {
4534
4569
  bubbles: !0,
4535
4570
  composed: !0
4536
4571
  });
4537
- document.dispatchEvent(n);
4572
+ document.dispatchEvent(r);
4538
4573
  };
4539
- function $t(e, t) {
4540
- En(e, t);
4574
+ function Gt(e, t) {
4575
+ Tr(e, t);
4541
4576
  }
4542
- function yo(e) {
4543
- ee.set(e);
4577
+ function xo(e) {
4578
+ K.set(e);
4544
4579
  }
4545
- const Rt = {
4580
+ const Ft = {
4546
4581
  en: {
4547
4582
  logoutButton: "Logout"
4548
4583
  },
@@ -4577,42 +4612,42 @@ const Rt = {
4577
4612
  logoutButton: "Logout"
4578
4613
  }
4579
4614
  };
4580
- function _o(e) {
4581
- Fn(e, "svelte-xtnqa3", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.PlayerAccountMenuItemBox{padding:20px;font-size:16px;display:inline-flex;width:100%;box-sizing:border-box;align-items:center;cursor:pointer}.PlayerAccountMenuItemBox .PlayerLogoutText{margin-left:20px}.PlayerAccountMenuItemBox svg{fill:var(--emw--pam-typography-color-nav-bg, var(--emw--color-white, #FFFFFF))}.PlayerAccountMenuItemBoxMobile.PlayerAccountMenuItemBox{height:auto;justify-content:center;position:relative;display:flex;width:unset;padding:0}.PlayerAccountMenuItemBoxMobile.PlayerAccountMenuItemBox svg{fill:var(--emw--pam-typography-color-nav-bg, var(--emw--color-white, #FFFFFF))}");
4615
+ function So(e) {
4616
+ Vr(e, "svelte-xtnqa3", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.PlayerAccountMenuItemBox{padding:20px;font-size:16px;display:inline-flex;width:100%;box-sizing:border-box;align-items:center;cursor:pointer}.PlayerAccountMenuItemBox .PlayerLogoutText{margin-left:20px}.PlayerAccountMenuItemBox svg{fill:var(--emw--pam-typography-color-nav-bg, var(--emw--color-white, #FFFFFF))}.PlayerAccountMenuItemBoxMobile.PlayerAccountMenuItemBox{height:auto;justify-content:center;position:relative;display:flex;width:unset;padding:0}.PlayerAccountMenuItemBoxMobile.PlayerAccountMenuItemBox svg{fill:var(--emw--pam-typography-color-nav-bg, var(--emw--color-white, #FFFFFF))}");
4582
4617
  }
4583
- function vo(e) {
4584
- let t, n, r, i = (
4618
+ function wo(e) {
4619
+ let t, r, n, i = (
4585
4620
  /*$_*/
4586
4621
  e[2]("logoutButton") + ""
4587
4622
  ), o, s, a;
4588
4623
  return {
4589
4624
  c() {
4590
- t = N("div"), n = N("button"), r = N("span"), o = fe(i), B(t, "class", "GeneralLogout");
4625
+ t = C("div"), r = C("button"), n = C("span"), o = he(i), B(t, "class", "GeneralLogout");
4591
4626
  },
4592
- m(u, h) {
4593
- le(u, t, h), A(t, n), A(n, r), A(r, o), s || (a = Xt(
4594
- n,
4627
+ m(u, l) {
4628
+ le(u, t, l), A(t, r), A(r, n), A(n, o), s || (a = qt(
4629
+ r,
4595
4630
  "click",
4596
4631
  /*click_handler_1*/
4597
4632
  e[14]
4598
4633
  ), s = !0);
4599
4634
  },
4600
- p(u, h) {
4601
- h & /*$_*/
4635
+ p(u, l) {
4636
+ l & /*$_*/
4602
4637
  4 && i !== (i = /*$_*/
4603
- u[2]("logoutButton") + "") && Wt(o, i);
4638
+ u[2]("logoutButton") + "") && Qt(o, i);
4604
4639
  },
4605
4640
  d(u) {
4606
4641
  u && F(t), s = !1, a();
4607
4642
  }
4608
4643
  };
4609
4644
  }
4610
- function xo(e) {
4611
- let t, n, r, i, o, s, a, u, h, l, c, f = !/*isMobile*/
4612
- e[3] && Eo(e);
4645
+ function To(e) {
4646
+ let t, r, n, i, o, s, a, u, l, h, f, c = !/*isMobile*/
4647
+ e[3] && Ho(e);
4613
4648
  return {
4614
4649
  c() {
4615
- t = N("p"), n = N("span"), r = ne("svg"), i = ne("defs"), o = ne("style"), s = fe(".a88316b4-2478-4a69-b2eb-d32a5fb419dd{fill:var(--emw--color-white, #FFFFFF);}"), a = ne("path"), u = ne("path"), h = kn(), f && f.c(), B(a, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd"), B(a, "d", "M147.16,67.69,115.42,36a9.6,9.6,0,1,0-13.58,13.58l15.32,15.31H49.58a9.63,9.63,0,1,0,0,19.26h67.58L101.84,99.42a9.64,9.64,0,0,0,6.79,16.43,9.41,9.41,0,0,0,6.79-2.85l31.74-31.73a9.53,9.53,0,0,0,0-13.58Z"), B(u, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd"), B(u, "d", "M45.16,122.16H19.26V26.79H45.32a9.63,9.63,0,1,0,0-19.26H9.63A9.56,9.56,0,0,0,0,17.16V131.63a9.57,9.57,0,0,0,9.63,9.64H45.32A9.57,9.57,0,0,0,55,131.63a9.78,9.78,0,0,0-9.79-9.47Z"), B(r, "id", "bbfaf345-72af-4296-bf4b-2fd41fc03d5d"), B(r, "data-name", "Layer 1"), B(r, "xmlns", "http://www.w3.org/2000/svg"), B(r, "viewBox", "0 0 150 150"), Xn(n, "width", /*isMobile*/
4650
+ t = C("p"), r = C("span"), n = te("svg"), i = te("defs"), o = te("style"), s = he(".a88316b4-2478-4a69-b2eb-d32a5fb419dd{fill:var(--emw--color-white, #FFFFFF);}"), a = te("path"), u = te("path"), l = Wr(), c && c.c(), B(a, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd"), B(a, "d", "M147.16,67.69,115.42,36a9.6,9.6,0,1,0-13.58,13.58l15.32,15.31H49.58a9.63,9.63,0,1,0,0,19.26h67.58L101.84,99.42a9.64,9.64,0,0,0,6.79,16.43,9.41,9.41,0,0,0,6.79-2.85l31.74-31.73a9.53,9.53,0,0,0,0-13.58Z"), B(u, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd"), B(u, "d", "M45.16,122.16H19.26V26.79H45.32a9.63,9.63,0,1,0,0-19.26H9.63A9.56,9.56,0,0,0,0,17.16V131.63a9.57,9.57,0,0,0,9.63,9.64H45.32A9.57,9.57,0,0,0,55,131.63a9.78,9.78,0,0,0-9.79-9.47Z"), B(n, "id", "bbfaf345-72af-4296-bf4b-2fd41fc03d5d"), B(n, "data-name", "Layer 1"), B(n, "xmlns", "http://www.w3.org/2000/svg"), B(n, "viewBox", "0 0 150 150"), Zr(r, "width", /*isMobile*/
4616
4651
  e[3] ? (
4617
4652
  /*mediaQuery*/
4618
4653
  e[4].matches ? "20px" : "24px"
@@ -4621,63 +4656,63 @@ function xo(e) {
4621
4656
  (e[4].matches && /*isMobile*/
4622
4657
  e[3] ? "PlayerAccountMenuItemBoxTablet" : ""));
4623
4658
  },
4624
- m(p, d) {
4625
- le(p, t, d), A(t, n), A(n, r), A(r, i), A(i, o), A(o, s), A(r, a), A(r, u), A(t, h), f && f.m(t, null), l || (c = Xt(
4659
+ m(d, p) {
4660
+ le(d, t, p), A(t, r), A(r, n), A(n, i), A(i, o), A(o, s), A(n, a), A(n, u), A(t, l), c && c.m(t, null), h || (f = qt(
4626
4661
  t,
4627
4662
  "click",
4628
4663
  /*click_handler*/
4629
4664
  e[13]
4630
- ), l = !0);
4665
+ ), h = !0);
4631
4666
  },
4632
- p(p, d) {
4667
+ p(d, p) {
4633
4668
  /*isMobile*/
4634
- p[3] || f.p(p, d);
4669
+ d[3] || c.p(d, p);
4635
4670
  },
4636
- d(p) {
4637
- p && F(t), f && f.d(), l = !1, c();
4671
+ d(d) {
4672
+ d && F(t), c && c.d(), h = !1, f();
4638
4673
  }
4639
4674
  };
4640
4675
  }
4641
- function Eo(e) {
4642
- let t, n = (
4676
+ function Ho(e) {
4677
+ let t, r = (
4643
4678
  /*$_*/
4644
4679
  e[2]("logoutButton") + ""
4645
- ), r;
4680
+ ), n;
4646
4681
  return {
4647
4682
  c() {
4648
- t = N("span"), r = fe(n), B(t, "class", "PlayerLogoutText");
4683
+ t = C("span"), n = he(r), B(t, "class", "PlayerLogoutText");
4649
4684
  },
4650
4685
  m(i, o) {
4651
- le(i, t, o), A(t, r);
4686
+ le(i, t, o), A(t, n);
4652
4687
  },
4653
4688
  p(i, o) {
4654
4689
  o & /*$_*/
4655
- 4 && n !== (n = /*$_*/
4656
- i[2]("logoutButton") + "") && Wt(r, n);
4690
+ 4 && r !== (r = /*$_*/
4691
+ i[2]("logoutButton") + "") && Qt(n, r);
4657
4692
  },
4658
4693
  d(i) {
4659
4694
  i && F(t);
4660
4695
  }
4661
4696
  };
4662
4697
  }
4663
- function So(e) {
4698
+ function Bo(e) {
4664
4699
  let t;
4665
- function n(o, s) {
4700
+ function r(o, s) {
4666
4701
  return (
4667
4702
  /*buttonlocation*/
4668
- o[0] === "PlayerAccountMenu" ? xo : vo
4703
+ o[0] === "PlayerAccountMenu" ? To : wo
4669
4704
  );
4670
4705
  }
4671
- let r = n(e), i = r(e);
4706
+ let n = r(e), i = n(e);
4672
4707
  return {
4673
4708
  c() {
4674
- t = N("div"), i.c();
4709
+ t = C("div"), i.c();
4675
4710
  },
4676
4711
  m(o, s) {
4677
4712
  le(o, t, s), i.m(t, null), e[15](t);
4678
4713
  },
4679
4714
  p(o, [s]) {
4680
- r === (r = n(o)) && i ? i.p(o, s) : (i.d(1), i = r(o), i && (i.c(), i.m(t, null)));
4715
+ n === (n = r(o)) && i ? i.p(o, s) : (i.d(1), i = n(o), i && (i.c(), i.m(t, null)));
4681
4716
  },
4682
4717
  i: H,
4683
4718
  o: H,
@@ -4686,78 +4721,78 @@ function So(e) {
4686
4721
  }
4687
4722
  };
4688
4723
  }
4689
- function To(e, t, n) {
4690
- let r;
4691
- Un(e, po, (_) => n(2, r = _));
4692
- let { endpoint: i = "" } = t, { session: o = "" } = t, { buttonlocation: s = "" } = t, { lang: a = "" } = t, { mbsource: u } = t, { clientstyling: h = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: c = "" } = t, f = "", p = !1, d, m = window.navigator.userAgent, x = Bn(m) !== "PC";
4693
- const T = window.matchMedia("(min-width: 768px)"), P = () => {
4694
- fetch(c).then((U) => U.json()).then((U) => {
4695
- Object.keys(U).forEach((Le) => {
4696
- $t(Le, U[Le]);
4724
+ function Ao(e, t, r) {
4725
+ let n;
4726
+ Fr(e, yo, (y) => r(2, n = y));
4727
+ let { endpoint: i = "" } = t, { session: o = "" } = t, { buttonlocation: s = "" } = t, { lang: a = "" } = t, { mbsource: u } = t, { clientstyling: l = "" } = t, { clientstylingurl: h = "" } = t, { translationurl: f = "" } = t, c = "", d = !1, p, m = window.navigator.userAgent, _ = Or(m) !== "PC";
4728
+ const w = window.matchMedia("(min-width: 768px)"), P = () => {
4729
+ fetch(f).then((U) => U.json()).then((U) => {
4730
+ Object.keys(U).forEach((Ce) => {
4731
+ Gt(Ce, U[Ce]);
4697
4732
  });
4698
4733
  }).catch((U) => {
4699
4734
  console.log(U);
4700
4735
  });
4701
4736
  };
4702
- Object.keys(Rt).forEach((_) => {
4703
- $t(_, Rt[_]);
4737
+ Object.keys(Ft).forEach((y) => {
4738
+ Gt(y, Ft[y]);
4704
4739
  });
4705
- const E = () => {
4706
- let _ = new Headers();
4707
- _.append("Content-type", "application/json"), _.append("X-SessionID", o);
4708
- let U = { method: "DELETE", headers: _ };
4709
- fetch(`${i}/v1/player/session/player`, U).then((Le) => {
4710
- window.postMessage({ type: "LogoutSuccessfull" }, window.location.href), go("logged_out", {});
4740
+ const x = () => {
4741
+ let y = new Headers();
4742
+ y.append("Content-type", "application/json"), y.append("X-SessionID", o);
4743
+ let U = { method: "DELETE", headers: y };
4744
+ fetch(`${i}/v1/player/session/player`, U).then((Ce) => {
4745
+ window.postMessage({ type: "LogoutSuccessfull" }, window.location.href), Eo("logged_out", {});
4711
4746
  });
4712
- }, I = () => (i || (f = "GENERAL-LOGOUT - Endpoint is missing! Please provide a valid endpointURL.", p = !0, console.error(f)), o || (f = "GENERAL-LOGOUT - Session is missing! Please provide a valid session.", p = !0, console.error(f)), p), w = () => {
4713
- yo(a);
4747
+ }, I = () => (i || (c = "GENERAL-LOGOUT - Endpoint is missing! Please provide a valid endpointURL.", d = !0, console.error(c)), o || (c = "GENERAL-LOGOUT - Session is missing! Please provide a valid session.", d = !0, console.error(c)), d), T = () => {
4748
+ xo(a);
4714
4749
  };
4715
- Kn(() => () => {
4750
+ rn(() => () => {
4716
4751
  });
4717
- const R = () => E(), de = () => E();
4718
- function Pn(_) {
4719
- je[_ ? "unshift" : "push"](() => {
4720
- d = _, n(1, d);
4752
+ const R = () => x(), pe = () => x();
4753
+ function Lr(y) {
4754
+ Xe[y ? "unshift" : "push"](() => {
4755
+ p = y, r(1, p);
4721
4756
  });
4722
4757
  }
4723
- return e.$$set = (_) => {
4724
- "endpoint" in _ && n(6, i = _.endpoint), "session" in _ && n(7, o = _.session), "buttonlocation" in _ && n(0, s = _.buttonlocation), "lang" in _ && n(8, a = _.lang), "mbsource" in _ && n(9, u = _.mbsource), "clientstyling" in _ && n(10, h = _.clientstyling), "clientstylingurl" in _ && n(11, l = _.clientstylingurl), "translationurl" in _ && n(12, c = _.translationurl);
4758
+ return e.$$set = (y) => {
4759
+ "endpoint" in y && r(6, i = y.endpoint), "session" in y && r(7, o = y.session), "buttonlocation" in y && r(0, s = y.buttonlocation), "lang" in y && r(8, a = y.lang), "mbsource" in y && r(9, u = y.mbsource), "clientstyling" in y && r(10, l = y.clientstyling), "clientstylingurl" in y && r(11, h = y.clientstylingurl), "translationurl" in y && r(12, f = y.translationurl);
4725
4760
  }, e.$$.update = () => {
4726
4761
  e.$$.dirty & /*endpoint, session, buttonlocation*/
4727
4762
  193 && i && o && s && I(), e.$$.dirty & /*lang*/
4728
- 256 && a && w(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4729
- 1026 && h && d && Ct(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4730
- 1026 && h && d && Ct(d, h), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4731
- 2050 && l && d && mo(d, l), e.$$.dirty & /*mbsource, customStylingContainer*/
4732
- 514 && u && d && bo(d, `${u}.Style`), e.$$.dirty & /*translationurl*/
4733
- 4096 && c && P();
4763
+ 256 && a && T(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4764
+ 1026 && l && p && Dt(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4765
+ 1026 && l && p && Dt(p, l), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4766
+ 2050 && h && p && vo(p, h), e.$$.dirty & /*mbsource, customStylingContainer*/
4767
+ 514 && u && p && _o(p, `${u}.Style`), e.$$.dirty & /*translationurl*/
4768
+ 4096 && f && P();
4734
4769
  }, [
4735
4770
  s,
4736
- d,
4737
- r,
4771
+ p,
4772
+ n,
4773
+ _,
4774
+ w,
4738
4775
  x,
4739
- T,
4740
- E,
4741
4776
  i,
4742
4777
  o,
4743
4778
  a,
4744
4779
  u,
4745
- h,
4746
4780
  l,
4747
- c,
4781
+ h,
4782
+ f,
4748
4783
  R,
4749
- de,
4750
- Pn
4784
+ pe,
4785
+ Lr
4751
4786
  ];
4752
4787
  }
4753
- class An extends lr {
4788
+ class Ir extends dn {
4754
4789
  constructor(t) {
4755
- super(), ur(
4790
+ super(), fn(
4756
4791
  this,
4757
4792
  t,
4758
- To,
4759
- So,
4760
- Dt,
4793
+ Ao,
4794
+ Bo,
4795
+ kt,
4761
4796
  {
4762
4797
  endpoint: 6,
4763
4798
  session: 7,
@@ -4768,7 +4803,7 @@ class An extends lr {
4768
4803
  clientstylingurl: 11,
4769
4804
  translationurl: 12
4770
4805
  },
4771
- _o
4806
+ So
4772
4807
  );
4773
4808
  }
4774
4809
  get endpoint() {
@@ -4820,72 +4855,72 @@ class An extends lr {
4820
4855
  this.$$set({ translationurl: t }), L();
4821
4856
  }
4822
4857
  }
4823
- hr(An, { endpoint: {}, session: {}, buttonlocation: {}, lang: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
4824
- const Yo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4858
+ pn(Ir, { endpoint: {}, session: {}, buttonlocation: {}, lang: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
4859
+ const rs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4825
4860
  __proto__: null,
4826
- default: An
4861
+ default: Ir
4827
4862
  }, Symbol.toStringTag, { value: "Module" }));
4828
4863
  export {
4829
- ee as $,
4830
- bo as A,
4831
- po as B,
4832
- ce as C,
4833
- Jo as D,
4834
- ko as E,
4835
- Mo as F,
4836
- Lo as G,
4837
- Bo as H,
4838
- Po as I,
4839
- Oo as J,
4840
- Ao as K,
4841
- rr as L,
4842
- Wo as M,
4843
- Co as N,
4844
- Zo as O,
4845
- No as P,
4846
- Fo as Q,
4847
- Uo as R,
4848
- lr as S,
4849
- Do as T,
4850
- Te as U,
4851
- Go as V,
4852
- he as W,
4853
- Qo as X,
4854
- Io as Y,
4855
- Xn as Z,
4856
- Xo as _,
4857
- En as a,
4858
- Vo as a0,
4859
- Ho as a1,
4860
- Cn as a2,
4861
- zo as a3,
4862
- qo as a4,
4863
- Ar as a5,
4864
- Ro as a6,
4865
- Yo as a7,
4866
- Fn as b,
4867
- hr as c,
4868
- kn as d,
4869
- N as e,
4864
+ K as $,
4865
+ pn as A,
4866
+ yo as B,
4867
+ fe as C,
4868
+ ts as D,
4869
+ zo as E,
4870
+ Uo as F,
4871
+ $o as G,
4872
+ Io as H,
4873
+ Qo as I,
4874
+ an as J,
4875
+ No as K,
4876
+ Co as L,
4877
+ Lo as M,
4878
+ Do as N,
4879
+ Yo as O,
4880
+ Ro as P,
4881
+ Xo as Q,
4882
+ jo as R,
4883
+ dn as S,
4884
+ Vo as T,
4885
+ ue as U,
4886
+ ko as V,
4887
+ we as W,
4888
+ es as X,
4889
+ Mo as Y,
4890
+ Zr as Z,
4891
+ qo as _,
4892
+ Tr as a,
4893
+ Zo as a0,
4894
+ Oo as a1,
4895
+ Ur as a2,
4896
+ Jo as a3,
4897
+ In as a4,
4898
+ Ko as a5,
4899
+ Fo as a6,
4900
+ rs as a7,
4901
+ Vr as b,
4902
+ Qt as c,
4903
+ F as d,
4904
+ Go as e,
4870
4905
  L as f,
4871
- B as g,
4872
- jo as h,
4873
- ur as i,
4874
- $o as j,
4875
- le as k,
4876
- A as l,
4877
- Xt as m,
4878
- Wt as n,
4879
- H as o,
4880
- F as p,
4881
- Un as q,
4906
+ le as g,
4907
+ A as h,
4908
+ fn as i,
4909
+ C as j,
4910
+ Wr as k,
4911
+ qt as l,
4912
+ he as m,
4913
+ H as n,
4914
+ B as o,
4915
+ Fr as p,
4916
+ Or as q,
4882
4917
  G as r,
4883
- Dt as s,
4884
- fe as t,
4885
- Bn as u,
4886
- Kn as v,
4887
- ne as w,
4888
- je as x,
4889
- Ct as y,
4890
- mo as z
4918
+ kt as s,
4919
+ Wo as t,
4920
+ rn as u,
4921
+ te as v,
4922
+ Xe as w,
4923
+ Dt as x,
4924
+ vo as y,
4925
+ _o as z
4891
4926
  };