@everymatrix/player-account-controller-nd 1.74.3 → 1.74.4

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 (155) hide show
  1. package/components/{GeneralLogout-C52-PhwD.js → GeneralLogout-D030tuMl.js} +1298 -1284
  2. package/components/{GeneralLogout-C-KQBmk3.js → GeneralLogout-DqIgt_tx.js} +1322 -1308
  3. package/components/GeneralLogout-TofSUXEw.cjs +21 -0
  4. package/components/PlayerAccountBettingHistory-85apG_ux.cjs +1 -0
  5. package/components/PlayerAccountBettingHistory-BspqrGzf.js +310 -0
  6. package/components/PlayerAccountBettingHistory-Dl1_SAM4.js +311 -0
  7. package/components/{PlayerAccountBiometrics-C5FFOJ5V.js → PlayerAccountBiometrics-DsYJOGIk.js} +5 -5
  8. package/components/{PlayerAccountBiometrics-DPdT285K.cjs → PlayerAccountBiometrics-N164JTVo.cjs} +1 -1
  9. package/components/{PlayerAccountBiometrics-DuvDCmjx.js → PlayerAccountBiometrics-YcohloWe.js} +5 -5
  10. package/components/{PlayerAccountClosureNd-BEMKT7IM.js → PlayerAccountClosureNd-B9z8p3ie.js} +6 -6
  11. package/components/{PlayerAccountClosureNd-CYHq0859.js → PlayerAccountClosureNd-C5CrElCk.js} +6 -6
  12. package/components/{PlayerAccountClosureNd-CMzRAP8U.cjs → PlayerAccountClosureNd-DFWHunWk.cjs} +1 -1
  13. package/components/PlayerAccountControllerNd-B2aKBoWT.cjs +1 -0
  14. package/components/{PlayerAccountControllerNd-DT1zgS33.js → PlayerAccountControllerNd-DcyhHnAy.js} +443 -413
  15. package/components/{PlayerAccountControllerNd-DiPqm9wR.js → PlayerAccountControllerNd-NBr8XDI7.js} +431 -401
  16. package/components/{PlayerAccountGamingLimits-B7ppWJQ6.js → PlayerAccountGamingLimits-CUtQADXZ.js} +124 -124
  17. package/components/{PlayerAccountGamingLimits-DMS9a3TN.js → PlayerAccountGamingLimits-CsAmDJwA.js} +124 -124
  18. package/components/{PlayerAccountGamingLimits-B2vzRems.cjs → PlayerAccountGamingLimits-DLyOkU8g.cjs} +1 -1
  19. package/components/{PlayerAccountGamingLimitsConfirmationModal-Crt7TSIB.js → PlayerAccountGamingLimitsConfirmationModal-CKwL1tb1.js} +38 -38
  20. package/components/{PlayerAccountGamingLimitsConfirmationModal-rkO4-ifF.js → PlayerAccountGamingLimitsConfirmationModal-DXqRhhmC.js} +38 -38
  21. package/components/PlayerAccountGamingLimitsConfirmationModal-cxg0byfD.cjs +1 -0
  22. package/components/{PlayerAccountGamingLimitsGroupEdit-JerzRaIW.cjs → PlayerAccountGamingLimitsGroupEdit-BEb7Fv28.cjs} +2 -2
  23. package/components/{PlayerAccountGamingLimitsGroupEdit-CDRqETAd.js → PlayerAccountGamingLimitsGroupEdit-Cj8Zh8WK.js} +1009 -1009
  24. package/components/{PlayerAccountGamingLimitsGroupEdit-B-MqO4BJ.js → PlayerAccountGamingLimitsGroupEdit-DKNPRs3o.js} +1009 -1009
  25. package/components/{PlayerAccountGamingLimitsHistory2Nd-C85Ls9oF.js → PlayerAccountGamingLimitsHistory2Nd-BhLSHYdC.js} +4 -4
  26. package/components/{PlayerAccountGamingLimitsHistory2Nd-CG8WJl-W.cjs → PlayerAccountGamingLimitsHistory2Nd-CP6Lgi2e.cjs} +1 -1
  27. package/components/{PlayerAccountGamingLimitsHistory2Nd-C5ysmYyV.js → PlayerAccountGamingLimitsHistory2Nd-OS3hwfOI.js} +4 -4
  28. package/components/{PlayerAccountGamingLimitsInfoCard-BYwQnhb5.js → PlayerAccountGamingLimitsInfoCard-CLe77Gl9.js} +7 -7
  29. package/components/{PlayerAccountGamingLimitsInfoCard-DjnVkaho.js → PlayerAccountGamingLimitsInfoCard-DsRCdtpt.js} +7 -7
  30. package/components/{PlayerAccountGamingLimitsInfoCard-DRRou8s9.cjs → PlayerAccountGamingLimitsInfoCard-XCP1Kxff.cjs} +1 -1
  31. package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-BHvCpWdQ.cjs → PlayerAccountGamingLimitsPage2Gm16Nd-5sR7aYqn.cjs} +2 -2
  32. package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-B5anV-nN.js → PlayerAccountGamingLimitsPage2Gm16Nd-B0n5H2hi.js} +31 -31
  33. package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-C8ApQooV.js → PlayerAccountGamingLimitsPage2Gm16Nd-ijpWd_1H.js} +23 -23
  34. package/components/{PlayerAccountGamingLimitsPopup-lZ7y_RVP.js → PlayerAccountGamingLimitsPopup-B04Er6pi.js} +21 -21
  35. package/components/{PlayerAccountGamingLimitsPopup-D16rhs4n.cjs → PlayerAccountGamingLimitsPopup-DNjM-xS5.cjs} +1 -1
  36. package/components/{PlayerAccountGamingLimitsPopup-1ObhRFHn.js → PlayerAccountGamingLimitsPopup-oQNgmn2e.js} +21 -21
  37. package/components/{PlayerAccountGamingLimitsWrapper2Nd-DnDh7MDz.cjs → PlayerAccountGamingLimitsWrapper2Nd-CRewPxlg.cjs} +1 -1
  38. package/components/{PlayerAccountGamingLimitsWrapper2Nd-BJqrN_4e.js → PlayerAccountGamingLimitsWrapper2Nd-CgaF0Cad.js} +6 -6
  39. package/components/{PlayerAccountGamingLimitsWrapper2Nd-BCujxf1t.js → PlayerAccountGamingLimitsWrapper2Nd-D5VkBoV6.js} +6 -6
  40. package/components/PlayerAccountGeneralConfirmationModal-BFCCI67b.cjs +1 -0
  41. package/components/{PlayerAccountGeneralConfirmationModal-Bgat7eVE.js → PlayerAccountGeneralConfirmationModal-CukB9VCO.js} +53 -53
  42. package/components/{PlayerAccountGeneralConfirmationModal-DrgjMSLh.js → PlayerAccountGeneralConfirmationModal-ESnfg5wk.js} +53 -53
  43. package/components/{PlayerAccountMenuNd-V9EOIgPS.js → PlayerAccountMenuNd-BIxULyK_.js} +7 -7
  44. package/components/{PlayerAccountMenuNd-alDPH0d2.js → PlayerAccountMenuNd-Dz2t35yx.js} +7 -7
  45. package/components/{PlayerAccountMenuNd-Yk5u12tl.cjs → PlayerAccountMenuNd-y2DyyHIy.cjs} +1 -1
  46. package/components/{PlayerAccountModal-9FK6eAt0.js → PlayerAccountModal-BUf_-0GM.js} +10 -10
  47. package/components/{PlayerAccountModal-DCsw7iyn.js → PlayerAccountModal-BZ_7luqG.js} +10 -10
  48. package/components/{PlayerAccountModal-DvJ0OsPC.cjs → PlayerAccountModal-DaIBO9tP.cjs} +1 -1
  49. package/components/{PlayerAccountNotifications-CdPeCghS.cjs → PlayerAccountNotifications-BbvJAh0S.cjs} +1 -1
  50. package/components/{PlayerAccountNotifications-BVfKQdMA.js → PlayerAccountNotifications-CNm0Cac9.js} +6 -6
  51. package/components/{PlayerAccountNotifications-BzEDVvTZ.js → PlayerAccountNotifications-qzx6Peu-.js} +6 -6
  52. package/components/{PlayerAccountProductRestriction-SQvhNniP.js → PlayerAccountProductRestriction-CN53RWXW.js} +2489 -2485
  53. package/components/{PlayerAccountProductRestriction-CcPYpLl8.js → PlayerAccountProductRestriction-Da-DR_H1.js} +2468 -2464
  54. package/components/{PlayerAccountProductRestriction-DuSld9Fq.cjs → PlayerAccountProductRestriction-nQ_8_MV1.cjs} +256 -256
  55. package/components/{PlayerAccountSelfExclusionNd-CKKz2hD-.js → PlayerAccountSelfExclusionNd-B5yQ8mL0.js} +1153 -1131
  56. package/components/{PlayerAccountSelfExclusionNd-C_bVFBeq.cjs → PlayerAccountSelfExclusionNd-B7DjoHrS.cjs} +151 -151
  57. package/components/{PlayerAccountSelfExclusionNd-D04olil_.js → PlayerAccountSelfExclusionNd-yHby6KUf.js} +1123 -1101
  58. package/components/{PlayerAccountTimeout-PtXajzgs.js → PlayerAccountTimeout-CkKX0-D_.js} +43 -43
  59. package/components/{PlayerAccountTimeout-BBMZeoy0.cjs → PlayerAccountTimeout-CohC33sI.cjs} +1 -1
  60. package/components/{PlayerAccountTimeout-Yl_hqLQQ.js → PlayerAccountTimeout-G31ynBjD.js} +43 -43
  61. package/components/{PlayerAccountTransactionsHistory-Cc3yOabd.cjs → PlayerAccountTransactionsHistory--O5i9HfY.cjs} +1 -1
  62. package/components/{PlayerAccountTransactionsHistory-BhssK-Iv.js → PlayerAccountTransactionsHistory-CGq9q7Ak.js} +7 -7
  63. package/components/{PlayerAccountTransactionsHistory-xfI9u1Su.js → PlayerAccountTransactionsHistory-lEqFBIwn.js} +7 -7
  64. package/components/{PlayerActiveBonuses-zLuqH4eW.js → PlayerActiveBonuses-CG3MShje.js} +6 -6
  65. package/components/{PlayerActiveBonuses-Me5Q3o65.cjs → PlayerActiveBonuses-VMRnoY1_.cjs} +1 -1
  66. package/components/{PlayerActiveBonuses-D4OBnwNa.js → PlayerActiveBonuses-_5tMeqW1.js} +6 -6
  67. package/components/{PlayerBonusCard-BhW_g3sH.js → PlayerBonusCard-JxCswDEv.js} +7 -7
  68. package/components/{PlayerBonusCard-DgyhSYBs.cjs → PlayerBonusCard-KehruUku.cjs} +1 -1
  69. package/components/{PlayerBonusCard-BbRQx8Gg.js → PlayerBonusCard-PjFBuYOQ.js} +7 -7
  70. package/components/{PlayerBonusHistory-DCywP_Ob.js → PlayerBonusHistory-B9GBjrhp.js} +7 -7
  71. package/components/{PlayerBonusHistory-DzAVFv5h.js → PlayerBonusHistory-DgZlf4DN.js} +7 -7
  72. package/components/{PlayerBonusHistory-B1tNYVjn.cjs → PlayerBonusHistory-l9JKc1SI.cjs} +1 -1
  73. package/components/{PlayerChangePasswordNd-DUzbCK4p.js → PlayerChangePasswordNd-BNKqXdus.js} +4 -4
  74. package/components/{PlayerChangePasswordNd-DSIi_04v.cjs → PlayerChangePasswordNd-DcgU3jc2.cjs} +1 -1
  75. package/components/{PlayerChangePasswordNd-DWsHRVAH.js → PlayerChangePasswordNd-DeLVgl-F.js} +4 -4
  76. package/components/PlayerDeposit-BLDWbMBK.cjs +1 -0
  77. package/components/{PlayerDeposit-BeGgsgNu.js → PlayerDeposit-CNQfct0C.js} +73 -73
  78. package/components/{PlayerDeposit-CI5GIyAe.js → PlayerDeposit-DGv0xh8z.js} +73 -73
  79. package/components/{PlayerGamingHistory-BDRIcUGH.js → PlayerGamingHistory-CUfMRa00.js} +53 -53
  80. package/components/{PlayerGamingHistory-Dmx0DAm4.js → PlayerGamingHistory-D-rZL0d1.js} +60 -60
  81. package/components/{PlayerGamingHistory-DEncqPtG.cjs → PlayerGamingHistory-DrygiT7t.cjs} +1 -1
  82. package/components/{PlayerPendingWithdrawals-BL4JTLkC.js → PlayerPendingWithdrawals-BB2HoABl.js} +6 -6
  83. package/components/{PlayerPendingWithdrawals-o6_OjL5C.js → PlayerPendingWithdrawals-BizDJ0F9.js} +6 -6
  84. package/components/{PlayerPendingWithdrawals-D-KWiMH6.cjs → PlayerPendingWithdrawals-DfQ_PvkY.cjs} +1 -1
  85. package/components/{PlayerProfileInfo-xRMbiw1T.js → PlayerProfileInfo-C-g4XepU.js} +95 -95
  86. package/components/{PlayerProfileInfo-CwZQ79SV.cjs → PlayerProfileInfo-CKJNYYA8.cjs} +1 -1
  87. package/components/{PlayerProfileInfo-D0A3aRV_.js → PlayerProfileInfo-Cnl1XufF.js} +108 -108
  88. package/components/{PlayerRealityCheck-BEiZhn6p.js → PlayerRealityCheck-BBmsx1va.js} +6 -6
  89. package/components/{PlayerRealityCheck-JdOGHDG6.cjs → PlayerRealityCheck-Cq2rIALW.cjs} +1 -1
  90. package/components/{PlayerRealityCheck-CYU_NrFB.js → PlayerRealityCheck-P7wFyweE.js} +6 -6
  91. package/components/{PlayerTransactionHistory-BS1LjP09.js → PlayerTransactionHistory-CqY9DKiK.js} +6 -6
  92. package/components/{PlayerTransactionHistory-DdbQZ6mw.js → PlayerTransactionHistory-DN6FJ2lh.js} +6 -6
  93. package/components/{PlayerTransactionHistory-Hz2IWD73.cjs → PlayerTransactionHistory-DPvvu8Wp.cjs} +1 -1
  94. package/components/{PlayerWithdrawal-P_0MIA-u.cjs → PlayerWithdrawal-BcaC1sEF.cjs} +1 -1
  95. package/components/{PlayerWithdrawal-DGN4Y9QP.js → PlayerWithdrawal-lAVd0flG.js} +6 -6
  96. package/components/{PlayerWithdrawal-DOec04Iq.js → PlayerWithdrawal-oEAQeQgU.js} +6 -6
  97. package/es2015/player-account-controller-nd.cjs +1 -1
  98. package/es2015/player-account-controller-nd.js +1 -1
  99. package/esnext/player-account-controller-nd.js +1 -1
  100. package/package.json +1 -1
  101. package/stencil/{checkbox-group-input_15-0289QK04.cjs → checkbox-group-input_15-BR0ZwfUi.cjs} +260 -260
  102. package/stencil/{checkbox-group-input_15-BAlJ2RSB.js → checkbox-group-input_15-BzVCOEV7.js} +3177 -3171
  103. package/stencil/{checkbox-group-input_15-P5bpc-le.js → checkbox-group-input_15-UyiNBEuH.js} +3173 -3167
  104. package/stencil/{index-13661b98-Cjrw92L5.js → index-13661b98-B9l_O4QH.js} +245 -245
  105. package/stencil/index-13661b98-BWdlHLAA.cjs +1 -0
  106. package/stencil/{index-13661b98-0KqdpSwq.js → index-13661b98-DQ52QmXa.js} +124 -124
  107. package/stencil/{index-1ef3a64c-DuKSFSN8.js → index-1ef3a64c-BJwg6KZV.js} +201 -201
  108. package/stencil/index-1ef3a64c-BkMv_VME.cjs +1 -0
  109. package/stencil/index-1ef3a64c-Cl4fiqPl.js +556 -0
  110. package/stencil/{index-7c5e707a-B54Yjxc3.js → index-7c5e707a-BZ26MA7_.js} +135 -135
  111. package/stencil/{index-7c5e707a-BHFN5Fx4.js → index-7c5e707a-CVVnpkZ1.js} +145 -145
  112. package/stencil/index-7c5e707a-d0LYIjGl.cjs +1 -0
  113. package/stencil/{index-9c0f6c58-BjPD5eYu.js → index-9c0f6c58-8sXzcKbt.js} +223 -223
  114. package/stencil/index-9c0f6c58-CbFwvYJ1.cjs +1 -0
  115. package/stencil/{index-9c0f6c58-BVjt1-QR.js → index-9c0f6c58-DH5Ki39B.js} +118 -118
  116. package/stencil/{index-b2193545-LzjWxki5.js → index-b2193545-BekNYO1T.js} +176 -176
  117. package/stencil/index-b2193545-BteAUmdh.cjs +1 -0
  118. package/stencil/{index-b2193545-DPKCFIaU.js → index-b2193545-DfDFpDFs.js} +169 -169
  119. package/stencil/{pam-change-password-CCtkdO47.cjs → pam-change-password-CnEeGd5H.cjs} +1 -1
  120. package/stencil/{pam-change-password-DTgd0kl_.js → pam-change-password-NFSIJ7d0.js} +1 -1
  121. package/stencil/{pam-change-password-f4a1e7e7-D8x0jD6p.js → pam-change-password-f4a1e7e7-CIk78u1F.js} +1 -1
  122. package/stencil/{pam-change-password-f4a1e7e7-BN6Jj_HN.cjs → pam-change-password-f4a1e7e7-CbbJR39E.cjs} +1 -1
  123. package/stencil/{pam-change-password-f4a1e7e7-DtYo6Qns.js → pam-change-password-f4a1e7e7-rXcaCqmV.js} +1 -1
  124. package/stencil/{pam-change-password-CGyD6M-i.js → pam-change-password-iphXW9aC.js} +1 -1
  125. package/stencil/{player-kyc-verification-XNdgNWvR.js → player-kyc-verification-BJuBsd7A.js} +74 -74
  126. package/stencil/player-kyc-verification-DW2tWbg_.cjs +181 -0
  127. package/stencil/{player-kyc-verification-BN1-EiQk.js → player-kyc-verification-u-XUlDen.js} +21 -21
  128. package/stencil/{ui-skeleton-Cbqo0oYF.cjs → ui-skeleton-Bez-iF-R.cjs} +1 -1
  129. package/stencil/{ui-skeleton-LneRlsD3.js → ui-skeleton-CScGJdv_.js} +2 -2
  130. package/stencil/{ui-skeleton-2XsWxl4S.js → ui-skeleton-CnxOhYAT.js} +2 -2
  131. package/stencil/{ui-skeleton-ae35c6f2-OnzqIAY0.js → ui-skeleton-ae35c6f2-Bl0_r9TX.js} +1 -1
  132. package/stencil/{ui-skeleton-ae35c6f2-8s3Rqu1P.js → ui-skeleton-ae35c6f2-CXRVKjq-.js} +1 -1
  133. package/stencil/{ui-skeleton-ae35c6f2-B4ncHe9g.cjs → ui-skeleton-ae35c6f2-D37mmp9J.cjs} +1 -1
  134. package/stencil/{user-deposit-withdrawal-CSakhNt1.js → user-deposit-withdrawal-B7dnuKq0.js} +45 -45
  135. package/stencil/{user-deposit-withdrawal-BP58nPO1.cjs → user-deposit-withdrawal-KqJCF9Hl.cjs} +2 -2
  136. package/stencil/{user-deposit-withdrawal-DcVKAa80.js → user-deposit-withdrawal-ar8K3Kn7.js} +45 -45
  137. package/stencil/{user-transaction-history-D0jBcRwe.js → user-transaction-history-D86WcqZY.js} +588 -588
  138. package/stencil/{user-transaction-history-BrBScppC.js → user-transaction-history-o1zvVNkt.js} +600 -600
  139. package/stencil/user-transaction-history-xgpDQYWU.cjs +1 -0
  140. package/components/GeneralLogout-COm1JcKW.cjs +0 -21
  141. package/components/PlayerAccountBettingHistory-5QM3bGgT.js +0 -310
  142. package/components/PlayerAccountBettingHistory-B91V20F2.js +0 -311
  143. package/components/PlayerAccountBettingHistory-CE023VGz.cjs +0 -1
  144. package/components/PlayerAccountControllerNd-DaC8DFbI.cjs +0 -1
  145. package/components/PlayerAccountGamingLimitsConfirmationModal-BR2Qm3Iq.cjs +0 -1
  146. package/components/PlayerAccountGeneralConfirmationModal-BajaU0jJ.cjs +0 -1
  147. package/components/PlayerDeposit-CmBFg6tX.cjs +0 -1
  148. package/stencil/index-13661b98-DmQ3LyqA.cjs +0 -1
  149. package/stencil/index-1ef3a64c-DD-PHh2g.cjs +0 -1
  150. package/stencil/index-1ef3a64c-DQk1yZfC.js +0 -556
  151. package/stencil/index-7c5e707a-CFlTnjRT.cjs +0 -1
  152. package/stencil/index-9c0f6c58-DZU9DhI3.cjs +0 -1
  153. package/stencil/index-b2193545-BMFR9-V2.cjs +0 -1
  154. package/stencil/player-kyc-verification-D347xSwD.cjs +0 -181
  155. package/stencil/user-transaction-history-HA_tfHfo.cjs +0 -1
@@ -1,60 +1,60 @@
1
1
  function H() {
2
2
  }
3
- const Tn = (e) => e;
4
- function wn(e, t) {
5
- for (const n in t)
6
- e[n] = t[n];
3
+ const Hr = (e) => e;
4
+ function Br(e, t) {
5
+ for (const r in t)
6
+ e[r] = t[r];
7
7
  return (
8
8
  /** @type {T & S} */
9
9
  e
10
10
  );
11
11
  }
12
- function Lt(e) {
12
+ function Mt(e) {
13
13
  return e();
14
14
  }
15
- function st() {
15
+ function ut() {
16
16
  return /* @__PURE__ */ Object.create(null);
17
17
  }
18
18
  function G(e) {
19
- e.forEach(Lt);
19
+ e.forEach(Mt);
20
20
  }
21
21
  function he(e) {
22
22
  return typeof e == "function";
23
23
  }
24
- function Nt(e, t) {
24
+ function Ct(e, t) {
25
25
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
26
26
  }
27
- let de;
28
- function po(e, t) {
29
- return e === t ? !0 : (de || (de = document.createElement("a")), de.href = t, e === de.href);
27
+ let pe;
28
+ function bo(e, t) {
29
+ return e === t ? !0 : (pe || (pe = document.createElement("a")), pe.href = t, e === pe.href);
30
30
  }
31
- function Hn(e) {
31
+ function Ar(e) {
32
32
  return Object.keys(e).length === 0;
33
33
  }
34
- function Mt(e, ...t) {
34
+ function $t(e, ...t) {
35
35
  if (e == null) {
36
- for (const r of t)
37
- r(void 0);
36
+ for (const n of t)
37
+ n(void 0);
38
38
  return H;
39
39
  }
40
- const n = e.subscribe(...t);
41
- return n.unsubscribe ? () => n.unsubscribe() : n;
40
+ const r = e.subscribe(...t);
41
+ return r.unsubscribe ? () => r.unsubscribe() : r;
42
42
  }
43
- function Bn(e, t, n) {
44
- e.$$.on_destroy.push(Mt(t, n));
43
+ function Pr(e, t, r) {
44
+ e.$$.on_destroy.push($t(t, r));
45
45
  }
46
- function mo(e, t, n, r) {
46
+ function go(e, t, r, n) {
47
47
  if (e) {
48
- const i = Ct(e, t, n, r);
48
+ const i = Rt(e, t, r, n);
49
49
  return e[0](i);
50
50
  }
51
51
  }
52
- function Ct(e, t, n, r) {
53
- return e[1] && r ? wn(n.ctx.slice(), e[1](r(t))) : n.ctx;
52
+ function Rt(e, t, r, n) {
53
+ return e[1] && n ? Br(r.ctx.slice(), e[1](n(t))) : r.ctx;
54
54
  }
55
- function bo(e, t, n, r) {
56
- if (e[2] && r) {
57
- const i = e[2](r(n));
55
+ function yo(e, t, r, n) {
56
+ if (e[2] && n) {
57
+ const i = e[2](n(r));
58
58
  if (t.dirty === void 0)
59
59
  return i;
60
60
  if (typeof i == "object") {
@@ -67,40 +67,40 @@ function bo(e, t, n, r) {
67
67
  }
68
68
  return t.dirty;
69
69
  }
70
- function go(e, t, n, r, i, o) {
70
+ function vo(e, t, r, n, i, o) {
71
71
  if (i) {
72
- const a = Ct(t, n, r, o);
72
+ const a = Rt(t, r, n, o);
73
73
  e.p(a, i);
74
74
  }
75
75
  }
76
- function yo(e) {
76
+ function _o(e) {
77
77
  if (e.ctx.length > 32) {
78
- const t = [], n = e.ctx.length / 32;
79
- for (let r = 0; r < n; r++)
80
- t[r] = -1;
78
+ const t = [], r = e.ctx.length / 32;
79
+ for (let n = 0; n < r; n++)
80
+ t[n] = -1;
81
81
  return t;
82
82
  }
83
83
  return -1;
84
84
  }
85
- function _o(e) {
85
+ function Eo(e) {
86
86
  return e ?? "";
87
87
  }
88
- function vo(e) {
88
+ function xo(e) {
89
89
  return e && he(e.destroy) ? e.destroy : H;
90
90
  }
91
- const $t = typeof window < "u";
92
- let An = $t ? () => window.performance.now() : () => Date.now(), tt = $t ? (e) => requestAnimationFrame(e) : H;
91
+ const Ut = typeof window < "u";
92
+ let Or = Ut ? () => window.performance.now() : () => Date.now(), rt = Ut ? (e) => requestAnimationFrame(e) : H;
93
93
  const W = /* @__PURE__ */ new Set();
94
- function Rt(e) {
94
+ function Dt(e) {
95
95
  W.forEach((t) => {
96
96
  t.c(e) || (W.delete(t), t.f());
97
- }), W.size !== 0 && tt(Rt);
97
+ }), W.size !== 0 && rt(Dt);
98
98
  }
99
- function Pn(e) {
99
+ function Ir(e) {
100
100
  let t;
101
- return W.size === 0 && tt(Rt), {
102
- promise: new Promise((n) => {
103
- W.add(t = { c: e, f: n });
101
+ return W.size === 0 && rt(Dt), {
102
+ promise: new Promise((r) => {
103
+ W.add(t = { c: e, f: r });
104
104
  }),
105
105
  abort() {
106
106
  W.delete(t);
@@ -110,11 +110,11 @@ function Pn(e) {
110
110
  function A(e, t) {
111
111
  e.appendChild(t);
112
112
  }
113
- function On(e, t, n) {
114
- const r = nt(e);
115
- if (!r.getElementById(t)) {
113
+ function Lr(e, t, r) {
114
+ const n = nt(e);
115
+ if (!n.getElementById(t)) {
116
116
  const i = I("style");
117
- i.id = t, i.textContent = n, Ut(r, i);
117
+ i.id = t, i.textContent = r, Gt(n, i);
118
118
  }
119
119
  }
120
120
  function nt(e) {
@@ -127,26 +127,26 @@ function nt(e) {
127
127
  t
128
128
  ) : e.ownerDocument;
129
129
  }
130
- function In(e) {
130
+ function Nr(e) {
131
131
  const t = I("style");
132
- return t.textContent = "/* empty */", Ut(nt(e), t), t.sheet;
132
+ return t.textContent = "/* empty */", Gt(nt(e), t), t.sheet;
133
133
  }
134
- function Ut(e, t) {
134
+ function Gt(e, t) {
135
135
  return A(
136
136
  /** @type {Document} */
137
137
  e.head || e,
138
138
  t
139
139
  ), t.sheet;
140
140
  }
141
- function K(e, t, n) {
142
- e.insertBefore(t, n || null);
141
+ function K(e, t, r) {
142
+ e.insertBefore(t, r || null);
143
143
  }
144
144
  function D(e) {
145
145
  e.parentNode && e.parentNode.removeChild(e);
146
146
  }
147
- function xo(e, t) {
148
- for (let n = 0; n < e.length; n += 1)
149
- e[n] && e[n].d(t);
147
+ function So(e, t) {
148
+ for (let r = 0; r < e.length; r += 1)
149
+ e[r] && e[r].d(t);
150
150
  }
151
151
  function I(e) {
152
152
  return document.createElement(e);
@@ -157,77 +157,77 @@ function V(e) {
157
157
  function le(e) {
158
158
  return document.createTextNode(e);
159
159
  }
160
- function Ln() {
160
+ function Mr() {
161
161
  return le(" ");
162
162
  }
163
- function Eo() {
163
+ function To() {
164
164
  return le("");
165
165
  }
166
- function Dt(e, t, n, r) {
167
- return e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r);
166
+ function Ft(e, t, r, n) {
167
+ return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
168
168
  }
169
- function So(e) {
169
+ function wo(e) {
170
170
  return function(t) {
171
171
  return t.preventDefault(), e.call(this, t);
172
172
  };
173
173
  }
174
- function B(e, t, n) {
175
- n == null ? e.removeAttribute(t) : e.getAttribute(t) !== n && e.setAttribute(t, n);
174
+ function B(e, t, r) {
175
+ r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
176
176
  }
177
- function To(e, t, n) {
178
- const r = t.toLowerCase();
179
- 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);
177
+ function Ho(e, t, r) {
178
+ const n = t.toLowerCase();
179
+ 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);
180
180
  }
181
- function wo(e) {
181
+ function Bo(e) {
182
182
  let t;
183
183
  return {
184
184
  /* push */
185
- p(...n) {
186
- t = n, t.forEach((r) => e.push(r));
185
+ p(...r) {
186
+ t = r, t.forEach((n) => e.push(n));
187
187
  },
188
188
  /* remove */
189
189
  r() {
190
- t.forEach((n) => e.splice(e.indexOf(n), 1));
190
+ t.forEach((r) => e.splice(e.indexOf(r), 1));
191
191
  }
192
192
  };
193
193
  }
194
- function Ho(e) {
194
+ function Ao(e) {
195
195
  return e === "" ? null : +e;
196
196
  }
197
- function Nn(e) {
197
+ function Cr(e) {
198
198
  return Array.from(e.childNodes);
199
199
  }
200
- function Gt(e, t) {
200
+ function jt(e, t) {
201
201
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
202
202
  t);
203
203
  }
204
- function Bo(e, t) {
204
+ function Po(e, t) {
205
205
  e.value = t ?? "";
206
206
  }
207
- function Mn(e, t, n, r) {
208
- n == null ? e.style.removeProperty(t) : e.style.setProperty(t, n, "");
207
+ function $r(e, t, r, n) {
208
+ r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
209
209
  }
210
- function Ao(e, t, n) {
211
- for (let r = 0; r < e.options.length; r += 1) {
212
- const i = e.options[r];
210
+ function Oo(e, t, r) {
211
+ for (let n = 0; n < e.options.length; n += 1) {
212
+ const i = e.options[n];
213
213
  if (i.__value === t) {
214
214
  i.selected = !0;
215
215
  return;
216
216
  }
217
217
  }
218
- (!n || t !== void 0) && (e.selectedIndex = -1);
218
+ (!r || t !== void 0) && (e.selectedIndex = -1);
219
219
  }
220
- function Po(e) {
220
+ function Io(e) {
221
221
  const t = e.querySelector(":checked");
222
222
  return t && t.__value;
223
223
  }
224
- function Oo(e, t, n) {
225
- e.classList.toggle(t, !!n);
224
+ function Lo(e, t, r) {
225
+ e.classList.toggle(t, !!r);
226
226
  }
227
- function Cn(e, t, { bubbles: n = !1, cancelable: r = !1 } = {}) {
228
- return new CustomEvent(e, { detail: t, bubbles: n, cancelable: r });
227
+ function Rr(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
228
+ return new CustomEvent(e, { detail: t, bubbles: r, cancelable: n });
229
229
  }
230
- class Io {
230
+ class No {
231
231
  /**
232
232
  * @private
233
233
  * @default false
@@ -257,17 +257,17 @@ class Io {
257
257
  * @param {HTMLElement | SVGElement} anchor
258
258
  * @returns {void}
259
259
  */
260
- m(t, n, r = null) {
260
+ m(t, r, n = null) {
261
261
  this.e || (this.is_svg ? this.e = V(
262
262
  /** @type {keyof SVGElementTagNameMap} */
263
- n.nodeName
263
+ r.nodeName
264
264
  ) : this.e = I(
265
265
  /** @type {keyof HTMLElementTagNameMap} */
266
- n.nodeType === 11 ? "TEMPLATE" : n.nodeName
267
- ), this.t = n.tagName !== "TEMPLATE" ? n : (
266
+ r.nodeType === 11 ? "TEMPLATE" : r.nodeName
267
+ ), this.t = r.tagName !== "TEMPLATE" ? r : (
268
268
  /** @type {HTMLTemplateElement} */
269
- n.content
270
- ), this.c(t)), this.i(r);
269
+ r.content
270
+ ), this.c(t)), this.i(n);
271
271
  }
272
272
  /**
273
273
  * @param {string} html
@@ -281,8 +281,8 @@ class Io {
281
281
  /**
282
282
  * @returns {void} */
283
283
  i(t) {
284
- for (let n = 0; n < this.n.length; n += 1)
285
- K(this.t, this.n[n], t);
284
+ for (let r = 0; r < this.n.length; r += 1)
285
+ K(this.t, this.n[r], t);
286
286
  }
287
287
  /**
288
288
  * @param {string} html
@@ -297,78 +297,78 @@ class Io {
297
297
  this.n.forEach(D);
298
298
  }
299
299
  }
300
- function $n(e) {
300
+ function Ur(e) {
301
301
  const t = {};
302
302
  return e.childNodes.forEach(
303
303
  /** @param {Element} node */
304
- (n) => {
305
- t[n.slot || "default"] = !0;
304
+ (r) => {
305
+ t[r.slot || "default"] = !0;
306
306
  }
307
307
  ), t;
308
308
  }
309
- const xe = /* @__PURE__ */ new Map();
310
- let Ee = 0;
311
- function Rn(e) {
312
- let t = 5381, n = e.length;
313
- for (; n--; )
314
- t = (t << 5) - t ^ e.charCodeAt(n);
309
+ const Ee = /* @__PURE__ */ new Map();
310
+ let xe = 0;
311
+ function Dr(e) {
312
+ let t = 5381, r = e.length;
313
+ for (; r--; )
314
+ t = (t << 5) - t ^ e.charCodeAt(r);
315
315
  return t >>> 0;
316
316
  }
317
- function Un(e, t) {
318
- const n = { stylesheet: In(t), rules: {} };
319
- return xe.set(e, n), n;
317
+ function Gr(e, t) {
318
+ const r = { stylesheet: Nr(t), rules: {} };
319
+ return Ee.set(e, r), r;
320
320
  }
321
- function at(e, t, n, r, i, o, a, s = 0) {
322
- const h = 16.666 / r;
321
+ function ht(e, t, r, n, i, o, a, s = 0) {
322
+ const h = 16.666 / n;
323
323
  let u = `{
324
324
  `;
325
- for (let x = 0; x <= 1; x += h) {
326
- const T = t + (n - t) * o(x);
327
- u += x * 100 + `%{${a(T, 1 - T)}}
325
+ for (let E = 0; E <= 1; E += h) {
326
+ const T = t + (r - t) * o(E);
327
+ u += E * 100 + `%{${a(T, 1 - T)}}
328
328
  `;
329
329
  }
330
- const l = u + `100% {${a(n, 1 - n)}}
331
- }`, c = `__svelte_${Rn(l)}_${s}`, f = nt(e), { stylesheet: p, rules: d } = xe.get(f) || Un(f, e);
332
- d[c] || (d[c] = !0, p.insertRule(`@keyframes ${c} ${l}`, p.cssRules.length));
330
+ const l = u + `100% {${a(r, 1 - r)}}
331
+ }`, f = `__svelte_${Dr(l)}_${s}`, c = nt(e), { stylesheet: d, rules: p } = Ee.get(c) || Gr(c, e);
332
+ p[f] || (p[f] = !0, d.insertRule(`@keyframes ${f} ${l}`, d.cssRules.length));
333
333
  const m = e.style.animation || "";
334
- return e.style.animation = `${m ? `${m}, ` : ""}${c} ${r}ms linear ${i}ms 1 both`, Ee += 1, c;
334
+ return e.style.animation = `${m ? `${m}, ` : ""}${f} ${n}ms linear ${i}ms 1 both`, xe += 1, f;
335
335
  }
336
- function Dn(e, t) {
337
- const n = (e.style.animation || "").split(", "), r = n.filter(
336
+ function Fr(e, t) {
337
+ const r = (e.style.animation || "").split(", "), n = r.filter(
338
338
  t ? (o) => o.indexOf(t) < 0 : (o) => o.indexOf("__svelte") === -1
339
339
  // remove all Svelte animations
340
- ), i = n.length - r.length;
341
- i && (e.style.animation = r.join(", "), Ee -= i, Ee || Gn());
340
+ ), i = r.length - n.length;
341
+ i && (e.style.animation = n.join(", "), xe -= i, xe || jr());
342
342
  }
343
- function Gn() {
344
- tt(() => {
345
- Ee || (xe.forEach((e) => {
343
+ function jr() {
344
+ rt(() => {
345
+ xe || (Ee.forEach((e) => {
346
346
  const { ownerNode: t } = e.stylesheet;
347
347
  t && D(t);
348
- }), xe.clear());
348
+ }), Ee.clear());
349
349
  });
350
350
  }
351
351
  let se;
352
352
  function oe(e) {
353
353
  se = e;
354
354
  }
355
- function Fn() {
355
+ function kr() {
356
356
  if (!se)
357
357
  throw new Error("Function called outside component initialization");
358
358
  return se;
359
359
  }
360
- function jn(e) {
361
- Fn().$$.on_mount.push(e);
360
+ function Vr(e) {
361
+ kr().$$.on_mount.push(e);
362
362
  }
363
- const X = [], Ge = [];
363
+ const X = [], Fe = [];
364
364
  let z = [];
365
- const ut = [], Ft = /* @__PURE__ */ Promise.resolve();
366
- let Fe = !1;
367
- function jt() {
368
- Fe || (Fe = !0, Ft.then(L));
365
+ const lt = [], kt = /* @__PURE__ */ Promise.resolve();
366
+ let je = !1;
367
+ function Vt() {
368
+ je || (je = !0, kt.then(L));
369
369
  }
370
- function Lo() {
371
- return jt(), Ft;
370
+ function Mo() {
371
+ return Vt(), kt;
372
372
  }
373
373
  function Se(e) {
374
374
  z.push(e);
@@ -383,46 +383,46 @@ function L() {
383
383
  try {
384
384
  for (; j < X.length; ) {
385
385
  const t = X[j];
386
- j++, oe(t), kn(t.$$);
386
+ j++, oe(t), Xr(t.$$);
387
387
  }
388
388
  } catch (t) {
389
389
  throw X.length = 0, j = 0, t;
390
390
  }
391
- for (oe(null), X.length = 0, j = 0; Ge.length; )
392
- Ge.pop()();
391
+ for (oe(null), X.length = 0, j = 0; Fe.length; )
392
+ Fe.pop()();
393
393
  for (let t = 0; t < z.length; t += 1) {
394
- const n = z[t];
395
- Le.has(n) || (Le.add(n), n());
394
+ const r = z[t];
395
+ Le.has(r) || (Le.add(r), r());
396
396
  }
397
397
  z.length = 0;
398
398
  } while (X.length);
399
- for (; ut.length; )
400
- ut.pop()();
401
- Fe = !1, Le.clear(), oe(e);
399
+ for (; lt.length; )
400
+ lt.pop()();
401
+ je = !1, Le.clear(), oe(e);
402
402
  }
403
- function kn(e) {
403
+ function Xr(e) {
404
404
  if (e.fragment !== null) {
405
405
  e.update(), G(e.before_update);
406
406
  const t = e.dirty;
407
407
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Se);
408
408
  }
409
409
  }
410
- function Vn(e) {
411
- const t = [], n = [];
412
- z.forEach((r) => e.indexOf(r) === -1 ? t.push(r) : n.push(r)), n.forEach((r) => r()), z = t;
410
+ function Wr(e) {
411
+ const t = [], r = [];
412
+ z.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), z = t;
413
413
  }
414
- let re;
415
- function Xn() {
416
- return re || (re = Promise.resolve(), re.then(() => {
417
- re = null;
418
- })), re;
414
+ let ne;
415
+ function zr() {
416
+ return ne || (ne = Promise.resolve(), ne.then(() => {
417
+ ne = null;
418
+ })), ne;
419
419
  }
420
- function Ne(e, t, n) {
421
- e.dispatchEvent(Cn(`${t ? "intro" : "outro"}${n}`));
420
+ function Ne(e, t, r) {
421
+ e.dispatchEvent(Rr(`${t ? "intro" : "outro"}${r}`));
422
422
  }
423
423
  const be = /* @__PURE__ */ new Set();
424
424
  let N;
425
- function No() {
425
+ function Co() {
426
426
  N = {
427
427
  r: 0,
428
428
  c: [],
@@ -430,57 +430,57 @@ function No() {
430
430
  // parent group
431
431
  };
432
432
  }
433
- function Mo() {
433
+ function $o() {
434
434
  N.r || G(N.c), N = N.p;
435
435
  }
436
- function Wn(e, t) {
436
+ function Zr(e, t) {
437
437
  e && e.i && (be.delete(e), e.i(t));
438
438
  }
439
- function Co(e, t, n, r) {
439
+ function Ro(e, t, r, n) {
440
440
  if (e && e.o) {
441
441
  if (be.has(e))
442
442
  return;
443
443
  be.add(e), N.c.push(() => {
444
- be.delete(e), r && (n && e.d(1), r());
444
+ be.delete(e), n && (r && e.d(1), n());
445
445
  }), e.o(t);
446
446
  } else
447
- r && r();
447
+ n && n();
448
448
  }
449
- const zn = { duration: 0 };
450
- function $o(e, t, n, r) {
451
- let o = t(e, n, { direction: "both" }), a = r ? 0 : 1, s = null, h = null, u = null, l;
452
- function c() {
453
- u && Dn(e, u);
449
+ const qr = { duration: 0 };
450
+ function Uo(e, t, r, n) {
451
+ let o = t(e, r, { direction: "both" }), a = n ? 0 : 1, s = null, h = null, u = null, l;
452
+ function f() {
453
+ u && Fr(e, u);
454
454
  }
455
- function f(d, m) {
456
- const x = (
455
+ function c(p, m) {
456
+ const E = (
457
457
  /** @type {Program['d']} */
458
- d.b - a
458
+ p.b - a
459
459
  );
460
- return m *= Math.abs(x), {
460
+ return m *= Math.abs(E), {
461
461
  a,
462
- b: d.b,
463
- d: x,
462
+ b: p.b,
463
+ d: E,
464
464
  duration: m,
465
- start: d.start,
466
- end: d.start + m,
467
- group: d.group
465
+ start: p.start,
466
+ end: p.start + m,
467
+ group: p.group
468
468
  };
469
469
  }
470
- function p(d) {
470
+ function d(p) {
471
471
  const {
472
472
  delay: m = 0,
473
- duration: x = 300,
474
- easing: T = Tn,
473
+ duration: E = 300,
474
+ easing: T = Hr,
475
475
  tick: P = H,
476
- css: E
477
- } = o || zn, O = {
478
- start: An() + m,
479
- b: d
476
+ css: x
477
+ } = o || qr, O = {
478
+ start: Or() + m,
479
+ b: p
480
480
  };
481
- d || (O.group = N, N.r += 1), "inert" in e && (d ? l !== void 0 && (e.inert = l) : (l = /** @type {HTMLElement} */
482
- e.inert, e.inert = !0)), s || h ? h = O : (E && (c(), u = at(e, a, d, x, m, T, E)), d && P(0, 1), s = f(O, x), Se(() => Ne(e, d, "start")), Pn((w) => {
483
- if (h && w > h.start && (s = f(h, x), h = null, Ne(e, s.b, "start"), E && (c(), u = at(
481
+ p || (O.group = N, N.r += 1), "inert" in e && (p ? l !== void 0 && (e.inert = l) : (l = /** @type {HTMLElement} */
482
+ e.inert, e.inert = !0)), s || h ? h = O : (x && (f(), u = ht(e, a, p, E, m, T, x)), p && P(0, 1), s = c(O, E), Se(() => Ne(e, p, "start")), Ir((w) => {
483
+ if (h && w > h.start && (s = c(h, E), h = null, Ne(e, s.b, "start"), x && (f(), u = ht(
484
484
  e,
485
485
  a,
486
486
  s.b,
@@ -490,7 +490,7 @@ function $o(e, t, n, r) {
490
490
  o.css
491
491
  ))), s) {
492
492
  if (w >= s.end)
493
- P(a = s.b, 1 - a), Ne(e, s.b, "end"), h || (s.b ? c() : --s.group.r || G(s.group.c)), s = null;
493
+ P(a = s.b, 1 - a), Ne(e, s.b, "end"), h || (s.b ? f() : --s.group.r || G(s.group.c)), s = null;
494
494
  else if (w >= s.start) {
495
495
  const $ = w - s.start;
496
496
  a = s.a + s.d * T($ / s.duration), P(a, 1 - a);
@@ -500,34 +500,34 @@ function $o(e, t, n, r) {
500
500
  }));
501
501
  }
502
502
  return {
503
- run(d) {
504
- he(o) ? Xn().then(() => {
505
- o = o({ direction: d ? "in" : "out" }), p(d);
506
- }) : p(d);
503
+ run(p) {
504
+ he(o) ? zr().then(() => {
505
+ o = o({ direction: p ? "in" : "out" }), d(p);
506
+ }) : d(p);
507
507
  },
508
508
  end() {
509
- c(), s = h = null;
509
+ f(), s = h = null;
510
510
  }
511
511
  };
512
512
  }
513
- function Ro(e) {
513
+ function Do(e) {
514
514
  return e?.length !== void 0 ? e : Array.from(e);
515
515
  }
516
- function Zn(e, t, n) {
517
- const { fragment: r, after_update: i } = e.$$;
518
- r && r.m(t, n), Se(() => {
519
- const o = e.$$.on_mount.map(Lt).filter(he);
516
+ function Qr(e, t, r) {
517
+ const { fragment: n, after_update: i } = e.$$;
518
+ n && n.m(t, r), Se(() => {
519
+ const o = e.$$.on_mount.map(Mt).filter(he);
520
520
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : G(o), e.$$.on_mount = [];
521
521
  }), i.forEach(Se);
522
522
  }
523
- function qn(e, t) {
524
- const n = e.$$;
525
- n.fragment !== null && (Vn(n.after_update), G(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
523
+ function Jr(e, t) {
524
+ const r = e.$$;
525
+ r.fragment !== null && (Wr(r.after_update), G(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
526
526
  }
527
- function Qn(e, t) {
528
- e.$$.dirty[0] === -1 && (X.push(e), jt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
527
+ function Yr(e, t) {
528
+ e.$$.dirty[0] === -1 && (X.push(e), Vt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
529
529
  }
530
- function Jn(e, t, n, r, i, o, a = null, s = [-1]) {
530
+ function Kr(e, t, r, n, i, o, a = null, s = [-1]) {
531
531
  const h = se;
532
532
  oe(e);
533
533
  const u = e.$$ = {
@@ -537,7 +537,7 @@ function Jn(e, t, n, r, i, o, a = null, s = [-1]) {
537
537
  props: o,
538
538
  update: H,
539
539
  not_equal: i,
540
- bound: st(),
540
+ bound: ut(),
541
541
  // lifecycle
542
542
  on_mount: [],
543
543
  on_destroy: [],
@@ -546,28 +546,28 @@ function Jn(e, t, n, r, i, o, a = null, s = [-1]) {
546
546
  after_update: [],
547
547
  context: new Map(t.context || (h ? h.$$.context : [])),
548
548
  // everything else
549
- callbacks: st(),
549
+ callbacks: ut(),
550
550
  dirty: s,
551
551
  skip_bound: !1,
552
552
  root: t.target || h.$$.root
553
553
  };
554
554
  a && a(u.root);
555
555
  let l = !1;
556
- if (u.ctx = n ? n(e, t.props || {}, (c, f, ...p) => {
557
- const d = p.length ? p[0] : f;
558
- return u.ctx && i(u.ctx[c], u.ctx[c] = d) && (!u.skip_bound && u.bound[c] && u.bound[c](d), l && Qn(e, c)), f;
559
- }) : [], u.update(), l = !0, G(u.before_update), u.fragment = r ? r(u.ctx) : !1, t.target) {
556
+ if (u.ctx = r ? r(e, t.props || {}, (f, c, ...d) => {
557
+ const p = d.length ? d[0] : c;
558
+ return u.ctx && i(u.ctx[f], u.ctx[f] = p) && (!u.skip_bound && u.bound[f] && u.bound[f](p), l && Yr(e, f)), c;
559
+ }) : [], u.update(), l = !0, G(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
560
560
  if (t.hydrate) {
561
- const c = Nn(t.target);
562
- u.fragment && u.fragment.l(c), c.forEach(D);
561
+ const f = Cr(t.target);
562
+ u.fragment && u.fragment.l(f), f.forEach(D);
563
563
  } else
564
564
  u.fragment && u.fragment.c();
565
- t.intro && Wn(e.$$.fragment), Zn(e, t.target, t.anchor), L();
565
+ t.intro && Zr(e.$$.fragment), Qr(e, t.target, t.anchor), L();
566
566
  }
567
567
  oe(h);
568
568
  }
569
- let kt;
570
- typeof HTMLElement == "function" && (kt = class extends HTMLElement {
569
+ let Xt;
570
+ typeof HTMLElement == "function" && (Xt = class extends HTMLElement {
571
571
  /** The Svelte component constructor */
572
572
  $$ctor;
573
573
  /** Slots */
@@ -586,20 +586,20 @@ typeof HTMLElement == "function" && (kt = class extends HTMLElement {
586
586
  $$l = {};
587
587
  /** @type {Map<Function, Function>} Event listener unsubscribe functions */
588
588
  $$l_u = /* @__PURE__ */ new Map();
589
- constructor(e, t, n) {
590
- super(), this.$$ctor = e, this.$$s = t, n && this.attachShadow({ mode: "open" });
589
+ constructor(e, t, r) {
590
+ super(), this.$$ctor = e, this.$$s = t, r && this.attachShadow({ mode: "open" });
591
591
  }
592
- addEventListener(e, t, n) {
592
+ addEventListener(e, t, r) {
593
593
  if (this.$$l[e] = this.$$l[e] || [], this.$$l[e].push(t), this.$$c) {
594
- const r = this.$$c.$on(e, t);
595
- this.$$l_u.set(t, r);
594
+ const n = this.$$c.$on(e, t);
595
+ this.$$l_u.set(t, n);
596
596
  }
597
- super.addEventListener(e, t, n);
597
+ super.addEventListener(e, t, r);
598
598
  }
599
- removeEventListener(e, t, n) {
600
- if (super.removeEventListener(e, t, n), this.$$c) {
601
- const r = this.$$l_u.get(t);
602
- r && (r(), this.$$l_u.delete(t));
599
+ removeEventListener(e, t, r) {
600
+ if (super.removeEventListener(e, t, r), this.$$c) {
601
+ const n = this.$$l_u.get(t);
602
+ n && (n(), this.$$l_u.delete(t));
603
603
  }
604
604
  }
605
605
  async connectedCallback() {
@@ -626,9 +626,9 @@ typeof HTMLElement == "function" && (kt = class extends HTMLElement {
626
626
  };
627
627
  if (await Promise.resolve(), !this.$$cn || this.$$c)
628
628
  return;
629
- const t = {}, n = $n(this);
629
+ const t = {}, r = Ur(this);
630
630
  for (const i of this.$$s)
631
- i in n && (t[i] = [e(i)]);
631
+ i in r && (t[i] = [e(i)]);
632
632
  for (const i of this.attributes) {
633
633
  const o = this.$$g_p(i.name);
634
634
  o in this.$$d || (this.$$d[o] = ge(o, i.value, this.$$p_d, "toProp"));
@@ -645,7 +645,7 @@ typeof HTMLElement == "function" && (kt = class extends HTMLElement {
645
645
  }
646
646
  }
647
647
  });
648
- const r = () => {
648
+ const n = () => {
649
649
  this.$$r = !0;
650
650
  for (const i in this.$$p_d)
651
651
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
@@ -659,7 +659,7 @@ typeof HTMLElement == "function" && (kt = class extends HTMLElement {
659
659
  }
660
660
  this.$$r = !1;
661
661
  };
662
- this.$$c.$$.after_update.push(r), r();
662
+ this.$$c.$$.after_update.push(n), n();
663
663
  for (const i in this.$$l)
664
664
  for (const o of this.$$l[i]) {
665
665
  const a = this.$$c.$on(i, o);
@@ -670,8 +670,8 @@ typeof HTMLElement == "function" && (kt = class extends HTMLElement {
670
670
  }
671
671
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
672
672
  // and setting attributes through setAttribute etc, this is helpful
673
- attributeChangedCallback(e, t, n) {
674
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = ge(e, n, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
673
+ attributeChangedCallback(e, t, r) {
674
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = ge(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
675
675
  }
676
676
  disconnectedCallback() {
677
677
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -684,11 +684,11 @@ typeof HTMLElement == "function" && (kt = class extends HTMLElement {
684
684
  ) || e;
685
685
  }
686
686
  });
687
- function ge(e, t, n, r) {
688
- const i = n[e]?.type;
689
- if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !r || !n[e])
687
+ function ge(e, t, r, n) {
688
+ const i = r[e]?.type;
689
+ if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
690
690
  return t;
691
- if (r === "toAttribute")
691
+ if (n === "toAttribute")
692
692
  switch (i) {
693
693
  case "Object":
694
694
  case "Array":
@@ -713,10 +713,10 @@ function ge(e, t, n, r) {
713
713
  return t;
714
714
  }
715
715
  }
716
- function Yn(e, t, n, r, i, o) {
717
- let a = class extends kt {
716
+ function en(e, t, r, n, i, o) {
717
+ let a = class extends Xt {
718
718
  constructor() {
719
- super(e, n, i), this.$$p_d = t;
719
+ super(e, r, i), this.$$p_d = t;
720
720
  }
721
721
  static get observedAttributes() {
722
722
  return Object.keys(t).map(
@@ -733,7 +733,7 @@ function Yn(e, t, n, r, i, o) {
733
733
  h = ge(s, h, t), this.$$d[s] = h, this.$$c?.$set({ [s]: h });
734
734
  }
735
735
  });
736
- }), r.forEach((s) => {
736
+ }), n.forEach((s) => {
737
737
  Object.defineProperty(a.prototype, s, {
738
738
  get() {
739
739
  return this.$$c?.[s];
@@ -742,7 +742,7 @@ function Yn(e, t, n, r, i, o) {
742
742
  }), e.element = /** @type {any} */
743
743
  a, a;
744
744
  }
745
- class Kn {
745
+ class tn {
746
746
  /**
747
747
  * ### PRIVATE API
748
748
  *
@@ -761,7 +761,7 @@ class Kn {
761
761
  $$set = void 0;
762
762
  /** @returns {void} */
763
763
  $destroy() {
764
- qn(this, 1), this.$destroy = H;
764
+ Jr(this, 1), this.$destroy = H;
765
765
  }
766
766
  /**
767
767
  * @template {Extract<keyof Events, string>} K
@@ -769,13 +769,13 @@ class Kn {
769
769
  * @param {((e: Events[K]) => void) | null | undefined} callback
770
770
  * @returns {() => void}
771
771
  */
772
- $on(t, n) {
773
- if (!he(n))
772
+ $on(t, r) {
773
+ if (!he(r))
774
774
  return H;
775
- const r = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
776
- return r.push(n), () => {
777
- const i = r.indexOf(n);
778
- i !== -1 && r.splice(i, 1);
775
+ const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
776
+ return n.push(r), () => {
777
+ const i = n.indexOf(r);
778
+ i !== -1 && n.splice(i, 1);
779
779
  };
780
780
  }
781
781
  /**
@@ -783,11 +783,11 @@ class Kn {
783
783
  * @returns {void}
784
784
  */
785
785
  $set(t) {
786
- this.$$set && !Hn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
786
+ this.$$set && !Ar(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
787
787
  }
788
788
  }
789
- const er = "4";
790
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(er);
789
+ const rn = "4";
790
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(rn);
791
791
  /*! *****************************************************************************
792
792
  Copyright (c) Microsoft Corporation.
793
793
 
@@ -802,67 +802,67 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
802
802
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
803
803
  PERFORMANCE OF THIS SOFTWARE.
804
804
  ***************************************************************************** */
805
- var je = function(e, t) {
806
- return je = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
807
- n.__proto__ = r;
808
- } || function(n, r) {
809
- for (var i in r)
810
- Object.prototype.hasOwnProperty.call(r, i) && (n[i] = r[i]);
811
- }, je(e, t);
805
+ var ke = function(e, t) {
806
+ return ke = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
807
+ r.__proto__ = n;
808
+ } || function(r, n) {
809
+ for (var i in n)
810
+ Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
811
+ }, ke(e, t);
812
812
  };
813
813
  function C(e, t) {
814
814
  if (typeof t != "function" && t !== null)
815
815
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
816
- je(e, t);
817
- function n() {
816
+ ke(e, t);
817
+ function r() {
818
818
  this.constructor = e;
819
819
  }
820
- e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
820
+ e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
821
821
  }
822
822
  var y = function() {
823
823
  return y = Object.assign || function(t) {
824
- for (var n, r = 1, i = arguments.length; r < i; r++) {
825
- n = arguments[r];
826
- for (var o in n)
827
- Object.prototype.hasOwnProperty.call(n, o) && (t[o] = n[o]);
824
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
825
+ r = arguments[n];
826
+ for (var o in r)
827
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
828
828
  }
829
829
  return t;
830
830
  }, y.apply(this, arguments);
831
831
  };
832
- function tr(e, t) {
833
- var n = {};
834
- for (var r in e)
835
- Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
832
+ function nn(e, t) {
833
+ var r = {};
834
+ for (var n in e)
835
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
836
836
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
837
- for (var i = 0, r = Object.getOwnPropertySymbols(e); i < r.length; i++)
838
- t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]);
839
- return n;
837
+ for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
838
+ t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
839
+ return r;
840
840
  }
841
- function ke(e) {
842
- var t = typeof Symbol == "function" && Symbol.iterator, n = t && e[t], r = 0;
843
- if (n)
844
- return n.call(e);
841
+ function Ve(e) {
842
+ var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
843
+ if (r)
844
+ return r.call(e);
845
845
  if (e && typeof e.length == "number")
846
846
  return {
847
847
  next: function() {
848
- return e && r >= e.length && (e = void 0), { value: e && e[r++], done: !e };
848
+ return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
849
849
  }
850
850
  };
851
851
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
852
852
  }
853
- function Ve(e, t) {
854
- var n = typeof Symbol == "function" && e[Symbol.iterator];
855
- if (!n)
853
+ function Xe(e, t) {
854
+ var r = typeof Symbol == "function" && e[Symbol.iterator];
855
+ if (!r)
856
856
  return e;
857
- var r = n.call(e), i, o = [], a;
857
+ var n = r.call(e), i, o = [], a;
858
858
  try {
859
- for (; (t === void 0 || t-- > 0) && !(i = r.next()).done; )
859
+ for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
860
860
  o.push(i.value);
861
861
  } catch (s) {
862
862
  a = { error: s };
863
863
  } finally {
864
864
  try {
865
- i && !i.done && (n = r.return) && n.call(r);
865
+ i && !i.done && (r = n.return) && r.call(n);
866
866
  } finally {
867
867
  if (a)
868
868
  throw a.error;
@@ -870,34 +870,34 @@ function Ve(e, t) {
870
870
  }
871
871
  return o;
872
872
  }
873
- function Z(e, t, n) {
874
- if (n || arguments.length === 2)
875
- for (var r = 0, i = t.length, o; r < i; r++)
876
- (o || !(r in t)) && (o || (o = Array.prototype.slice.call(t, 0, r)), o[r] = t[r]);
873
+ function Z(e, t, r) {
874
+ if (r || arguments.length === 2)
875
+ for (var n = 0, i = t.length, o; n < i; n++)
876
+ (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
877
877
  return e.concat(o || t);
878
878
  }
879
879
  function M(e) {
880
880
  return typeof e == "function";
881
881
  }
882
- function Vt(e) {
883
- var t = function(r) {
884
- Error.call(r), r.stack = new Error().stack;
885
- }, n = e(t);
886
- return n.prototype = Object.create(Error.prototype), n.prototype.constructor = n, n;
887
- }
888
- var Me = Vt(function(e) {
889
- return function(n) {
890
- e(this), this.message = n ? n.length + ` errors occurred during unsubscription:
891
- ` + n.map(function(r, i) {
892
- return i + 1 + ") " + r.toString();
882
+ function Wt(e) {
883
+ var t = function(n) {
884
+ Error.call(n), n.stack = new Error().stack;
885
+ }, r = e(t);
886
+ return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
887
+ }
888
+ var Me = Wt(function(e) {
889
+ return function(r) {
890
+ e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
891
+ ` + r.map(function(n, i) {
892
+ return i + 1 + ") " + n.toString();
893
893
  }).join(`
894
- `) : "", this.name = "UnsubscriptionError", this.errors = n;
894
+ `) : "", this.name = "UnsubscriptionError", this.errors = r;
895
895
  };
896
896
  });
897
- function Xe(e, t) {
897
+ function We(e, t) {
898
898
  if (e) {
899
- var n = e.indexOf(t);
900
- 0 <= n && e.splice(n, 1);
899
+ var r = e.indexOf(t);
900
+ 0 <= r && e.splice(r, 1);
901
901
  }
902
902
  }
903
903
  var He = function() {
@@ -905,14 +905,14 @@ var He = function() {
905
905
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
906
906
  }
907
907
  return e.prototype.unsubscribe = function() {
908
- var t, n, r, i, o;
908
+ var t, r, n, i, o;
909
909
  if (!this.closed) {
910
910
  this.closed = !0;
911
911
  var a = this._parentage;
912
912
  if (a)
913
913
  if (this._parentage = null, Array.isArray(a))
914
914
  try {
915
- for (var s = ke(a), h = s.next(); !h.done; h = s.next()) {
915
+ for (var s = Ve(a), h = s.next(); !h.done; h = s.next()) {
916
916
  var u = h.value;
917
917
  u.remove(this);
918
918
  }
@@ -920,7 +920,7 @@ var He = function() {
920
920
  t = { error: m };
921
921
  } finally {
922
922
  try {
923
- h && !h.done && (n = s.return) && n.call(s);
923
+ h && !h.done && (r = s.return) && r.call(s);
924
924
  } finally {
925
925
  if (t)
926
926
  throw t.error;
@@ -935,26 +935,26 @@ var He = function() {
935
935
  } catch (m) {
936
936
  o = m instanceof Me ? m.errors : [m];
937
937
  }
938
- var c = this._finalizers;
939
- if (c) {
938
+ var f = this._finalizers;
939
+ if (f) {
940
940
  this._finalizers = null;
941
941
  try {
942
- for (var f = ke(c), p = f.next(); !p.done; p = f.next()) {
943
- var d = p.value;
942
+ for (var c = Ve(f), d = c.next(); !d.done; d = c.next()) {
943
+ var p = d.value;
944
944
  try {
945
- ht(d);
945
+ ct(p);
946
946
  } catch (m) {
947
- o = o ?? [], m instanceof Me ? o = Z(Z([], Ve(o)), Ve(m.errors)) : o.push(m);
947
+ o = o ?? [], m instanceof Me ? o = Z(Z([], Xe(o)), Xe(m.errors)) : o.push(m);
948
948
  }
949
949
  }
950
950
  } catch (m) {
951
- r = { error: m };
951
+ n = { error: m };
952
952
  } finally {
953
953
  try {
954
- p && !p.done && (i = f.return) && i.call(f);
954
+ d && !d.done && (i = c.return) && i.call(c);
955
955
  } finally {
956
- if (r)
957
- throw r.error;
956
+ if (n)
957
+ throw n.error;
958
958
  }
959
959
  }
960
960
  }
@@ -962,89 +962,89 @@ var He = function() {
962
962
  throw new Me(o);
963
963
  }
964
964
  }, e.prototype.add = function(t) {
965
- var n;
965
+ var r;
966
966
  if (t && t !== this)
967
967
  if (this.closed)
968
- ht(t);
968
+ ct(t);
969
969
  else {
970
970
  if (t instanceof e) {
971
971
  if (t.closed || t._hasParent(this))
972
972
  return;
973
973
  t._addParent(this);
974
974
  }
975
- (this._finalizers = (n = this._finalizers) !== null && n !== void 0 ? n : []).push(t);
975
+ (this._finalizers = (r = this._finalizers) !== null && r !== void 0 ? r : []).push(t);
976
976
  }
977
977
  }, e.prototype._hasParent = function(t) {
978
- var n = this._parentage;
979
- return n === t || Array.isArray(n) && n.includes(t);
978
+ var r = this._parentage;
979
+ return r === t || Array.isArray(r) && r.includes(t);
980
980
  }, e.prototype._addParent = function(t) {
981
- var n = this._parentage;
982
- this._parentage = Array.isArray(n) ? (n.push(t), n) : n ? [n, t] : t;
981
+ var r = this._parentage;
982
+ this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
983
983
  }, e.prototype._removeParent = function(t) {
984
- var n = this._parentage;
985
- n === t ? this._parentage = null : Array.isArray(n) && Xe(n, t);
984
+ var r = this._parentage;
985
+ r === t ? this._parentage = null : Array.isArray(r) && We(r, t);
986
986
  }, e.prototype.remove = function(t) {
987
- var n = this._finalizers;
988
- n && Xe(n, t), t instanceof e && t._removeParent(this);
987
+ var r = this._finalizers;
988
+ r && We(r, t), t instanceof e && t._removeParent(this);
989
989
  }, e.EMPTY = function() {
990
990
  var t = new e();
991
991
  return t.closed = !0, t;
992
992
  }(), e;
993
- }(), Xt = He.EMPTY;
994
- function Wt(e) {
993
+ }(), zt = He.EMPTY;
994
+ function Zt(e) {
995
995
  return e instanceof He || e && "closed" in e && M(e.remove) && M(e.add) && M(e.unsubscribe);
996
996
  }
997
- function ht(e) {
997
+ function ct(e) {
998
998
  M(e) ? e() : e.unsubscribe();
999
999
  }
1000
- var nr = {
1000
+ var qt = {
1001
1001
  onUnhandledError: null,
1002
1002
  onStoppedNotification: null,
1003
1003
  Promise: void 0,
1004
1004
  useDeprecatedSynchronousErrorHandling: !1,
1005
1005
  useDeprecatedNextContext: !1
1006
- }, rr = {
1006
+ }, on = {
1007
1007
  setTimeout: function(e, t) {
1008
- for (var n = [], r = 2; r < arguments.length; r++)
1009
- n[r - 2] = arguments[r];
1010
- return setTimeout.apply(void 0, Z([e, t], Ve(n)));
1008
+ for (var r = [], n = 2; n < arguments.length; n++)
1009
+ r[n - 2] = arguments[n];
1010
+ return setTimeout.apply(void 0, Z([e, t], Xe(r)));
1011
1011
  },
1012
1012
  clearTimeout: function(e) {
1013
1013
  return clearTimeout(e);
1014
1014
  },
1015
1015
  delegate: void 0
1016
1016
  };
1017
- function ir(e) {
1018
- rr.setTimeout(function() {
1017
+ function sn(e) {
1018
+ on.setTimeout(function() {
1019
1019
  throw e;
1020
1020
  });
1021
1021
  }
1022
- function lt() {
1022
+ function ft() {
1023
1023
  }
1024
1024
  function ye(e) {
1025
1025
  e();
1026
1026
  }
1027
- var zt = function(e) {
1027
+ var Qt = function(e) {
1028
1028
  C(t, e);
1029
- function t(n) {
1030
- var r = e.call(this) || this;
1031
- return r.isStopped = !1, n ? (r.destination = n, Wt(n) && n.add(r)) : r.destination = ar, r;
1029
+ function t(r) {
1030
+ var n = e.call(this) || this;
1031
+ return n.isStopped = !1, r ? (n.destination = r, Zt(r) && r.add(n)) : n.destination = ln, n;
1032
1032
  }
1033
- return t.create = function(n, r, i) {
1034
- return new We(n, r, i);
1035
- }, t.prototype.next = function(n) {
1036
- this.isStopped || this._next(n);
1037
- }, t.prototype.error = function(n) {
1038
- this.isStopped || (this.isStopped = !0, this._error(n));
1033
+ return t.create = function(r, n, i) {
1034
+ return new ze(r, n, i);
1035
+ }, t.prototype.next = function(r) {
1036
+ this.isStopped || this._next(r);
1037
+ }, t.prototype.error = function(r) {
1038
+ this.isStopped || (this.isStopped = !0, this._error(r));
1039
1039
  }, t.prototype.complete = function() {
1040
1040
  this.isStopped || (this.isStopped = !0, this._complete());
1041
1041
  }, t.prototype.unsubscribe = function() {
1042
1042
  this.closed || (this.isStopped = !0, e.prototype.unsubscribe.call(this), this.destination = null);
1043
- }, t.prototype._next = function(n) {
1044
- this.destination.next(n);
1045
- }, t.prototype._error = function(n) {
1043
+ }, t.prototype._next = function(r) {
1044
+ this.destination.next(r);
1045
+ }, t.prototype._error = function(r) {
1046
1046
  try {
1047
- this.destination.error(n);
1047
+ this.destination.error(r);
1048
1048
  } finally {
1049
1049
  this.unsubscribe();
1050
1050
  }
@@ -1055,82 +1055,98 @@ var zt = function(e) {
1055
1055
  this.unsubscribe();
1056
1056
  }
1057
1057
  }, t;
1058
- }(He), or = function() {
1058
+ }(He), an = Function.prototype.bind;
1059
+ function Ce(e, t) {
1060
+ return an.call(e, t);
1061
+ }
1062
+ var un = function() {
1059
1063
  function e(t) {
1060
1064
  this.partialObserver = t;
1061
1065
  }
1062
1066
  return e.prototype.next = function(t) {
1063
- var n = this.partialObserver;
1064
- if (n.next)
1067
+ var r = this.partialObserver;
1068
+ if (r.next)
1065
1069
  try {
1066
- n.next(t);
1067
- } catch (r) {
1068
- pe(r);
1070
+ r.next(t);
1071
+ } catch (n) {
1072
+ de(n);
1069
1073
  }
1070
1074
  }, e.prototype.error = function(t) {
1071
- var n = this.partialObserver;
1072
- if (n.error)
1075
+ var r = this.partialObserver;
1076
+ if (r.error)
1073
1077
  try {
1074
- n.error(t);
1075
- } catch (r) {
1076
- pe(r);
1078
+ r.error(t);
1079
+ } catch (n) {
1080
+ de(n);
1077
1081
  }
1078
1082
  else
1079
- pe(t);
1083
+ de(t);
1080
1084
  }, e.prototype.complete = function() {
1081
1085
  var t = this.partialObserver;
1082
1086
  if (t.complete)
1083
1087
  try {
1084
1088
  t.complete();
1085
- } catch (n) {
1086
- pe(n);
1089
+ } catch (r) {
1090
+ de(r);
1087
1091
  }
1088
1092
  }, e;
1089
- }(), We = function(e) {
1093
+ }(), ze = function(e) {
1090
1094
  C(t, e);
1091
- function t(n, r, i) {
1095
+ function t(r, n, i) {
1092
1096
  var o = e.call(this) || this, a;
1093
- return M(n) || !n ? a = {
1094
- next: n ?? void 0,
1095
- error: r ?? void 0,
1096
- complete: i ?? void 0
1097
- } : a = n, o.destination = new or(a), o;
1097
+ if (M(r) || !r)
1098
+ a = {
1099
+ next: r ?? void 0,
1100
+ error: n ?? void 0,
1101
+ complete: i ?? void 0
1102
+ };
1103
+ else {
1104
+ var s;
1105
+ o && qt.useDeprecatedNextContext ? (s = Object.create(r), s.unsubscribe = function() {
1106
+ return o.unsubscribe();
1107
+ }, a = {
1108
+ next: r.next && Ce(r.next, s),
1109
+ error: r.error && Ce(r.error, s),
1110
+ complete: r.complete && Ce(r.complete, s)
1111
+ }) : a = r;
1112
+ }
1113
+ return o.destination = new un(a), o;
1098
1114
  }
1099
1115
  return t;
1100
- }(zt);
1101
- function pe(e) {
1102
- ir(e);
1116
+ }(Qt);
1117
+ function de(e) {
1118
+ sn(e);
1103
1119
  }
1104
- function sr(e) {
1120
+ function hn(e) {
1105
1121
  throw e;
1106
1122
  }
1107
- var ar = {
1123
+ var ln = {
1108
1124
  closed: !0,
1109
- next: lt,
1110
- error: sr,
1111
- complete: lt
1112
- }, ur = function() {
1125
+ next: ft,
1126
+ error: hn,
1127
+ complete: ft
1128
+ }, cn = function() {
1113
1129
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
1114
1130
  }();
1115
- function hr(e) {
1131
+ function fn(e) {
1116
1132
  return e;
1117
1133
  }
1118
- function lr(e) {
1119
- return e.length === 0 ? hr : e.length === 1 ? e[0] : function(n) {
1120
- return e.reduce(function(r, i) {
1121
- return i(r);
1122
- }, n);
1134
+ function pn(e) {
1135
+ return e.length === 0 ? fn : e.length === 1 ? e[0] : function(r) {
1136
+ return e.reduce(function(n, i) {
1137
+ return i(n);
1138
+ }, r);
1123
1139
  };
1124
1140
  }
1125
- var ft = function() {
1141
+ var pt = function() {
1126
1142
  function e(t) {
1127
1143
  t && (this._subscribe = t);
1128
1144
  }
1129
1145
  return e.prototype.lift = function(t) {
1130
- var n = new e();
1131
- return n.source = this, n.operator = t, n;
1132
- }, e.prototype.subscribe = function(t, n, r) {
1133
- var i = this, o = cr(t) ? t : new We(t, n, r);
1146
+ var r = new e();
1147
+ return r.source = this, r.operator = t, r;
1148
+ }, e.prototype.subscribe = function(t, r, n) {
1149
+ var i = this, o = mn(t) ? t : new ze(t, r, n);
1134
1150
  return ye(function() {
1135
1151
  var a = i, s = a.operator, h = a.source;
1136
1152
  o.add(s ? s.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
@@ -1138,13 +1154,13 @@ var ft = function() {
1138
1154
  }, e.prototype._trySubscribe = function(t) {
1139
1155
  try {
1140
1156
  return this._subscribe(t);
1141
- } catch (n) {
1142
- t.error(n);
1157
+ } catch (r) {
1158
+ t.error(r);
1143
1159
  }
1144
- }, e.prototype.forEach = function(t, n) {
1145
- var r = this;
1146
- return n = ct(n), new n(function(i, o) {
1147
- var a = new We({
1160
+ }, e.prototype.forEach = function(t, r) {
1161
+ var n = this;
1162
+ return r = dt(r), new r(function(i, o) {
1163
+ var a = new ze({
1148
1164
  next: function(s) {
1149
1165
  try {
1150
1166
  t(s);
@@ -1155,69 +1171,69 @@ var ft = function() {
1155
1171
  error: o,
1156
1172
  complete: i
1157
1173
  });
1158
- r.subscribe(a);
1174
+ n.subscribe(a);
1159
1175
  });
1160
1176
  }, e.prototype._subscribe = function(t) {
1161
- var n;
1162
- return (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(t);
1163
- }, e.prototype[ur] = function() {
1177
+ var r;
1178
+ return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
1179
+ }, e.prototype[cn] = function() {
1164
1180
  return this;
1165
1181
  }, e.prototype.pipe = function() {
1166
- for (var t = [], n = 0; n < arguments.length; n++)
1167
- t[n] = arguments[n];
1168
- return lr(t)(this);
1182
+ for (var t = [], r = 0; r < arguments.length; r++)
1183
+ t[r] = arguments[r];
1184
+ return pn(t)(this);
1169
1185
  }, e.prototype.toPromise = function(t) {
1170
- var n = this;
1171
- return t = ct(t), new t(function(r, i) {
1186
+ var r = this;
1187
+ return t = dt(t), new t(function(n, i) {
1172
1188
  var o;
1173
- n.subscribe(function(a) {
1189
+ r.subscribe(function(a) {
1174
1190
  return o = a;
1175
1191
  }, function(a) {
1176
1192
  return i(a);
1177
1193
  }, function() {
1178
- return r(o);
1194
+ return n(o);
1179
1195
  });
1180
1196
  });
1181
1197
  }, e.create = function(t) {
1182
1198
  return new e(t);
1183
1199
  }, e;
1184
1200
  }();
1185
- function ct(e) {
1201
+ function dt(e) {
1186
1202
  var t;
1187
- return (t = e ?? nr.Promise) !== null && t !== void 0 ? t : Promise;
1203
+ return (t = e ?? qt.Promise) !== null && t !== void 0 ? t : Promise;
1188
1204
  }
1189
- function fr(e) {
1205
+ function dn(e) {
1190
1206
  return e && M(e.next) && M(e.error) && M(e.complete);
1191
1207
  }
1192
- function cr(e) {
1193
- return e && e instanceof zt || fr(e) && Wt(e);
1208
+ function mn(e) {
1209
+ return e && e instanceof Qt || dn(e) && Zt(e);
1194
1210
  }
1195
- var dr = Vt(function(e) {
1211
+ var bn = Wt(function(e) {
1196
1212
  return function() {
1197
1213
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
1198
1214
  };
1199
- }), Zt = function(e) {
1215
+ }), Jt = function(e) {
1200
1216
  C(t, e);
1201
1217
  function t() {
1202
- var n = e.call(this) || this;
1203
- return n.closed = !1, n.currentObservers = null, n.observers = [], n.isStopped = !1, n.hasError = !1, n.thrownError = null, n;
1218
+ var r = e.call(this) || this;
1219
+ return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
1204
1220
  }
1205
- return t.prototype.lift = function(n) {
1206
- var r = new dt(this, this);
1207
- return r.operator = n, r;
1221
+ return t.prototype.lift = function(r) {
1222
+ var n = new mt(this, this);
1223
+ return n.operator = r, n;
1208
1224
  }, t.prototype._throwIfClosed = function() {
1209
1225
  if (this.closed)
1210
- throw new dr();
1211
- }, t.prototype.next = function(n) {
1212
- var r = this;
1226
+ throw new bn();
1227
+ }, t.prototype.next = function(r) {
1228
+ var n = this;
1213
1229
  ye(function() {
1214
1230
  var i, o;
1215
- if (r._throwIfClosed(), !r.isStopped) {
1216
- r.currentObservers || (r.currentObservers = Array.from(r.observers));
1231
+ if (n._throwIfClosed(), !n.isStopped) {
1232
+ n.currentObservers || (n.currentObservers = Array.from(n.observers));
1217
1233
  try {
1218
- for (var a = ke(r.currentObservers), s = a.next(); !s.done; s = a.next()) {
1234
+ for (var a = Ve(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
1219
1235
  var h = s.value;
1220
- h.next(n);
1236
+ h.next(r);
1221
1237
  }
1222
1238
  } catch (u) {
1223
1239
  i = { error: u };
@@ -1231,118 +1247,118 @@ var dr = Vt(function(e) {
1231
1247
  }
1232
1248
  }
1233
1249
  });
1234
- }, t.prototype.error = function(n) {
1235
- var r = this;
1250
+ }, t.prototype.error = function(r) {
1251
+ var n = this;
1236
1252
  ye(function() {
1237
- if (r._throwIfClosed(), !r.isStopped) {
1238
- r.hasError = r.isStopped = !0, r.thrownError = n;
1239
- for (var i = r.observers; i.length; )
1240
- i.shift().error(n);
1253
+ if (n._throwIfClosed(), !n.isStopped) {
1254
+ n.hasError = n.isStopped = !0, n.thrownError = r;
1255
+ for (var i = n.observers; i.length; )
1256
+ i.shift().error(r);
1241
1257
  }
1242
1258
  });
1243
1259
  }, t.prototype.complete = function() {
1244
- var n = this;
1260
+ var r = this;
1245
1261
  ye(function() {
1246
- if (n._throwIfClosed(), !n.isStopped) {
1247
- n.isStopped = !0;
1248
- for (var r = n.observers; r.length; )
1249
- r.shift().complete();
1262
+ if (r._throwIfClosed(), !r.isStopped) {
1263
+ r.isStopped = !0;
1264
+ for (var n = r.observers; n.length; )
1265
+ n.shift().complete();
1250
1266
  }
1251
1267
  });
1252
1268
  }, t.prototype.unsubscribe = function() {
1253
1269
  this.isStopped = this.closed = !0, this.observers = this.currentObservers = null;
1254
1270
  }, Object.defineProperty(t.prototype, "observed", {
1255
1271
  get: function() {
1256
- var n;
1257
- return ((n = this.observers) === null || n === void 0 ? void 0 : n.length) > 0;
1272
+ var r;
1273
+ return ((r = this.observers) === null || r === void 0 ? void 0 : r.length) > 0;
1258
1274
  },
1259
1275
  enumerable: !1,
1260
1276
  configurable: !0
1261
- }), t.prototype._trySubscribe = function(n) {
1262
- return this._throwIfClosed(), e.prototype._trySubscribe.call(this, n);
1263
- }, t.prototype._subscribe = function(n) {
1264
- return this._throwIfClosed(), this._checkFinalizedStatuses(n), this._innerSubscribe(n);
1265
- }, t.prototype._innerSubscribe = function(n) {
1266
- var r = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
1267
- return o || a ? Xt : (this.currentObservers = null, s.push(n), new He(function() {
1268
- r.currentObservers = null, Xe(s, n);
1277
+ }), t.prototype._trySubscribe = function(r) {
1278
+ return this._throwIfClosed(), e.prototype._trySubscribe.call(this, r);
1279
+ }, t.prototype._subscribe = function(r) {
1280
+ return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
1281
+ }, t.prototype._innerSubscribe = function(r) {
1282
+ var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
1283
+ return o || a ? zt : (this.currentObservers = null, s.push(r), new He(function() {
1284
+ n.currentObservers = null, We(s, r);
1269
1285
  }));
1270
- }, t.prototype._checkFinalizedStatuses = function(n) {
1271
- var r = this, i = r.hasError, o = r.thrownError, a = r.isStopped;
1272
- i ? n.error(o) : a && n.complete();
1286
+ }, t.prototype._checkFinalizedStatuses = function(r) {
1287
+ var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
1288
+ i ? r.error(o) : a && r.complete();
1273
1289
  }, t.prototype.asObservable = function() {
1274
- var n = new ft();
1275
- return n.source = this, n;
1276
- }, t.create = function(n, r) {
1277
- return new dt(n, r);
1290
+ var r = new pt();
1291
+ return r.source = this, r;
1292
+ }, t.create = function(r, n) {
1293
+ return new mt(r, n);
1278
1294
  }, t;
1279
- }(ft), dt = function(e) {
1295
+ }(pt), mt = function(e) {
1280
1296
  C(t, e);
1281
- function t(n, r) {
1297
+ function t(r, n) {
1282
1298
  var i = e.call(this) || this;
1283
- return i.destination = n, i.source = r, i;
1299
+ return i.destination = r, i.source = n, i;
1284
1300
  }
1285
- return t.prototype.next = function(n) {
1286
- var r, i;
1287
- (i = (r = this.destination) === null || r === void 0 ? void 0 : r.next) === null || i === void 0 || i.call(r, n);
1288
- }, t.prototype.error = function(n) {
1289
- var r, i;
1290
- (i = (r = this.destination) === null || r === void 0 ? void 0 : r.error) === null || i === void 0 || i.call(r, n);
1301
+ return t.prototype.next = function(r) {
1302
+ var n, i;
1303
+ (i = (n = this.destination) === null || n === void 0 ? void 0 : n.next) === null || i === void 0 || i.call(n, r);
1304
+ }, t.prototype.error = function(r) {
1305
+ var n, i;
1306
+ (i = (n = this.destination) === null || n === void 0 ? void 0 : n.error) === null || i === void 0 || i.call(n, r);
1291
1307
  }, t.prototype.complete = function() {
1292
- var n, r;
1293
- (r = (n = this.destination) === null || n === void 0 ? void 0 : n.complete) === null || r === void 0 || r.call(n);
1294
- }, t.prototype._subscribe = function(n) {
1295
- var r, i;
1296
- return (i = (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(n)) !== null && i !== void 0 ? i : Xt;
1308
+ var r, n;
1309
+ (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1310
+ }, t.prototype._subscribe = function(r) {
1311
+ var n, i;
1312
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : zt;
1297
1313
  }, t;
1298
- }(Zt), qt = {
1314
+ }(Jt), Yt = {
1299
1315
  now: function() {
1300
- return (qt.delegate || Date).now();
1316
+ return (Yt.delegate || Date).now();
1301
1317
  },
1302
1318
  delegate: void 0
1303
- }, pr = function(e) {
1319
+ }, gn = function(e) {
1304
1320
  C(t, e);
1305
- function t(n, r, i) {
1306
- n === void 0 && (n = 1 / 0), r === void 0 && (r = 1 / 0), i === void 0 && (i = qt);
1321
+ function t(r, n, i) {
1322
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Yt);
1307
1323
  var o = e.call(this) || this;
1308
- 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;
1324
+ 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;
1309
1325
  }
1310
- return t.prototype.next = function(n) {
1311
- var r = this, i = r.isStopped, o = r._buffer, a = r._infiniteTimeWindow, s = r._timestampProvider, h = r._windowTime;
1312
- i || (o.push(n), !a && o.push(s.now() + h)), this._trimBuffer(), e.prototype.next.call(this, n);
1313
- }, t.prototype._subscribe = function(n) {
1326
+ return t.prototype.next = function(r) {
1327
+ var n = this, i = n.isStopped, o = n._buffer, a = n._infiniteTimeWindow, s = n._timestampProvider, h = n._windowTime;
1328
+ i || (o.push(r), !a && o.push(s.now() + h)), this._trimBuffer(), e.prototype.next.call(this, r);
1329
+ }, t.prototype._subscribe = function(r) {
1314
1330
  this._throwIfClosed(), this._trimBuffer();
1315
- for (var r = this._innerSubscribe(n), i = this, o = i._infiniteTimeWindow, a = i._buffer, s = a.slice(), h = 0; h < s.length && !n.closed; h += o ? 1 : 2)
1316
- n.next(s[h]);
1317
- return this._checkFinalizedStatuses(n), r;
1331
+ for (var n = this._innerSubscribe(r), i = this, o = i._infiniteTimeWindow, a = i._buffer, s = a.slice(), h = 0; h < s.length && !r.closed; h += o ? 1 : 2)
1332
+ r.next(s[h]);
1333
+ return this._checkFinalizedStatuses(r), n;
1318
1334
  }, t.prototype._trimBuffer = function() {
1319
- var n = this, r = n._bufferSize, i = n._timestampProvider, o = n._buffer, a = n._infiniteTimeWindow, s = (a ? 1 : 2) * r;
1320
- if (r < 1 / 0 && s < o.length && o.splice(0, o.length - s), !a) {
1335
+ var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, a = r._infiniteTimeWindow, s = (a ? 1 : 2) * n;
1336
+ if (n < 1 / 0 && s < o.length && o.splice(0, o.length - s), !a) {
1321
1337
  for (var h = i.now(), u = 0, l = 1; l < o.length && o[l] <= h; l += 2)
1322
1338
  u = l;
1323
1339
  u && o.splice(0, u + 1);
1324
1340
  }
1325
1341
  }, t;
1326
- }(Zt);
1327
- const pt = [], mt = {}, mr = (e, t = 0) => {
1328
- if (pt.indexOf(e) == -1) {
1329
- const n = new pr(t);
1330
- mt[e] = n, pt.push(e);
1342
+ }(Jt);
1343
+ const bt = [], gt = {}, yn = (e, t = 0) => {
1344
+ if (bt.indexOf(e) == -1) {
1345
+ const r = new gn(t);
1346
+ gt[e] = r, bt.push(e);
1331
1347
  }
1332
- return mt[e];
1348
+ return gt[e];
1333
1349
  }, k = [];
1334
- function br(e, t) {
1350
+ function vn(e, t) {
1335
1351
  return {
1336
1352
  subscribe: Be(e, t).subscribe
1337
1353
  };
1338
1354
  }
1339
1355
  function Be(e, t = H) {
1340
- let n;
1341
- const r = /* @__PURE__ */ new Set();
1356
+ let r;
1357
+ const n = /* @__PURE__ */ new Set();
1342
1358
  function i(s) {
1343
- if (Nt(e, s) && (e = s, n)) {
1359
+ if (Ct(e, s) && (e = s, r)) {
1344
1360
  const h = !k.length;
1345
- for (const u of r)
1361
+ for (const u of n)
1346
1362
  u[1](), k.push(u, e);
1347
1363
  if (h) {
1348
1364
  for (let u = 0; u < k.length; u += 2)
@@ -1356,226 +1372,224 @@ function Be(e, t = H) {
1356
1372
  }
1357
1373
  function a(s, h = H) {
1358
1374
  const u = [s, h];
1359
- return r.add(u), r.size === 1 && (n = t(i, o) || H), s(e), () => {
1360
- r.delete(u), r.size === 0 && n && (n(), n = null);
1375
+ return n.add(u), n.size === 1 && (r = t(i, o) || H), s(e), () => {
1376
+ n.delete(u), n.size === 0 && r && (r(), r = null);
1361
1377
  };
1362
1378
  }
1363
1379
  return { set: i, update: o, subscribe: a };
1364
1380
  }
1365
- function ee(e, t, n) {
1366
- const r = !Array.isArray(e), i = r ? [e] : e;
1381
+ function ee(e, t, r) {
1382
+ const n = !Array.isArray(e), i = n ? [e] : e;
1367
1383
  if (!i.every(Boolean))
1368
1384
  throw new Error("derived() expects stores as input, got a falsy value");
1369
1385
  const o = t.length < 2;
1370
- return br(n, (a, s) => {
1386
+ return vn(r, (a, s) => {
1371
1387
  let h = !1;
1372
1388
  const u = [];
1373
- let l = 0, c = H;
1374
- const f = () => {
1389
+ let l = 0, f = H;
1390
+ const c = () => {
1375
1391
  if (l)
1376
1392
  return;
1377
- c();
1378
- const d = t(r ? u[0] : u, a, s);
1379
- o ? a(d) : c = he(d) ? d : H;
1380
- }, p = i.map(
1381
- (d, m) => Mt(
1382
- d,
1383
- (x) => {
1384
- u[m] = x, l &= ~(1 << m), h && f();
1393
+ f();
1394
+ const p = t(n ? u[0] : u, a, s);
1395
+ o ? a(p) : f = he(p) ? p : H;
1396
+ }, d = i.map(
1397
+ (p, m) => $t(
1398
+ p,
1399
+ (E) => {
1400
+ u[m] = E, l &= ~(1 << m), h && c();
1385
1401
  },
1386
1402
  () => {
1387
1403
  l |= 1 << m;
1388
1404
  }
1389
1405
  )
1390
1406
  );
1391
- return h = !0, f(), function() {
1392
- G(p), c(), h = !1;
1407
+ return h = !0, c(), function() {
1408
+ G(d), f(), h = !1;
1393
1409
  };
1394
1410
  });
1395
1411
  }
1396
- var Uo = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
1397
- function gr(e) {
1412
+ var Go = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
1413
+ function _n(e) {
1398
1414
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1399
1415
  }
1400
- var yr = function(t) {
1401
- return _r(t) && !vr(t);
1416
+ var En = function(t) {
1417
+ return xn(t) && !Sn(t);
1402
1418
  };
1403
- function _r(e) {
1419
+ function xn(e) {
1404
1420
  return !!e && typeof e == "object";
1405
1421
  }
1406
- function vr(e) {
1422
+ function Sn(e) {
1407
1423
  var t = Object.prototype.toString.call(e);
1408
- return t === "[object RegExp]" || t === "[object Date]" || Sr(e);
1424
+ return t === "[object RegExp]" || t === "[object Date]" || Hn(e);
1409
1425
  }
1410
- var xr = typeof Symbol == "function" && Symbol.for, Er = xr ? Symbol.for("react.element") : 60103;
1411
- function Sr(e) {
1412
- return e.$$typeof === Er;
1426
+ var Tn = typeof Symbol == "function" && Symbol.for, wn = Tn ? Symbol.for("react.element") : 60103;
1427
+ function Hn(e) {
1428
+ return e.$$typeof === wn;
1413
1429
  }
1414
- function Tr(e) {
1430
+ function Bn(e) {
1415
1431
  return Array.isArray(e) ? [] : {};
1416
1432
  }
1417
1433
  function ae(e, t) {
1418
- return t.clone !== !1 && t.isMergeableObject(e) ? q(Tr(e), e, t) : e;
1434
+ return t.clone !== !1 && t.isMergeableObject(e) ? q(Bn(e), e, t) : e;
1419
1435
  }
1420
- function wr(e, t, n) {
1421
- return e.concat(t).map(function(r) {
1422
- return ae(r, n);
1436
+ function An(e, t, r) {
1437
+ return e.concat(t).map(function(n) {
1438
+ return ae(n, r);
1423
1439
  });
1424
1440
  }
1425
- function Hr(e, t) {
1441
+ function Pn(e, t) {
1426
1442
  if (!t.customMerge)
1427
1443
  return q;
1428
- var n = t.customMerge(e);
1429
- return typeof n == "function" ? n : q;
1444
+ var r = t.customMerge(e);
1445
+ return typeof r == "function" ? r : q;
1430
1446
  }
1431
- function Br(e) {
1447
+ function On(e) {
1432
1448
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1433
1449
  return Object.propertyIsEnumerable.call(e, t);
1434
1450
  }) : [];
1435
1451
  }
1436
- function bt(e) {
1437
- return Object.keys(e).concat(Br(e));
1452
+ function yt(e) {
1453
+ return Object.keys(e).concat(On(e));
1438
1454
  }
1439
- function Qt(e, t) {
1455
+ function Kt(e, t) {
1440
1456
  try {
1441
1457
  return t in e;
1442
1458
  } catch {
1443
1459
  return !1;
1444
1460
  }
1445
1461
  }
1446
- function Ar(e, t) {
1447
- return Qt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1462
+ function In(e, t) {
1463
+ return Kt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1448
1464
  }
1449
- function Pr(e, t, n) {
1450
- var r = {};
1451
- return n.isMergeableObject(e) && bt(e).forEach(function(i) {
1452
- r[i] = ae(e[i], n);
1453
- }), bt(t).forEach(function(i) {
1454
- Ar(e, i) || (Qt(e, i) && n.isMergeableObject(t[i]) ? r[i] = Hr(i, n)(e[i], t[i], n) : r[i] = ae(t[i], n));
1455
- }), r;
1456
- }
1457
- function q(e, t, n) {
1458
- n = n || {}, n.arrayMerge = n.arrayMerge || wr, n.isMergeableObject = n.isMergeableObject || yr, n.cloneUnlessOtherwiseSpecified = ae;
1459
- var r = Array.isArray(t), i = Array.isArray(e), o = r === i;
1460
- return o ? r ? n.arrayMerge(e, t, n) : Pr(e, t, n) : ae(t, n);
1461
- }
1462
- q.all = function(t, n) {
1465
+ function Ln(e, t, r) {
1466
+ var n = {};
1467
+ return r.isMergeableObject(e) && yt(e).forEach(function(i) {
1468
+ n[i] = ae(e[i], r);
1469
+ }), yt(t).forEach(function(i) {
1470
+ In(e, i) || (Kt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Pn(i, r)(e[i], t[i], r) : n[i] = ae(t[i], r));
1471
+ }), n;
1472
+ }
1473
+ function q(e, t, r) {
1474
+ r = r || {}, r.arrayMerge = r.arrayMerge || An, r.isMergeableObject = r.isMergeableObject || En, r.cloneUnlessOtherwiseSpecified = ae;
1475
+ var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1476
+ return o ? n ? r.arrayMerge(e, t, r) : Ln(e, t, r) : ae(t, r);
1477
+ }
1478
+ q.all = function(t, r) {
1463
1479
  if (!Array.isArray(t))
1464
1480
  throw new Error("first argument should be an array");
1465
- return t.reduce(function(r, i) {
1466
- return q(r, i, n);
1481
+ return t.reduce(function(n, i) {
1482
+ return q(n, i, r);
1467
1483
  }, {});
1468
1484
  };
1469
- var Or = q, Ir = Or;
1470
- const Lr = /* @__PURE__ */ gr(Ir);
1471
- function Ce(e, t) {
1472
- var n = t && t.cache ? t.cache : Dr, r = t && t.serializer ? t.serializer : Rr, i = t && t.strategy ? t.strategy : Mr;
1485
+ var Nn = q, Mn = Nn;
1486
+ const Cn = /* @__PURE__ */ _n(Mn);
1487
+ function $e(e, t) {
1488
+ var r = t && t.cache ? t.cache : Fn, n = t && t.serializer ? t.serializer : Gn, i = t && t.strategy ? t.strategy : Rn;
1473
1489
  return i(e, {
1474
- cache: n,
1475
- serializer: r
1490
+ cache: r,
1491
+ serializer: n
1476
1492
  });
1477
1493
  }
1478
- function Nr(e) {
1494
+ function $n(e) {
1479
1495
  return e == null || typeof e == "number" || typeof e == "boolean";
1480
1496
  }
1481
- function Jt(e, t, n, r) {
1482
- var i = Nr(r) ? r : n(r), o = t.get(i);
1483
- return typeof o > "u" && (o = e.call(this, r), t.set(i, o)), o;
1497
+ function er(e, t, r, n) {
1498
+ var i = $n(n) ? n : r(n), o = t.get(i);
1499
+ return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1484
1500
  }
1485
- function Yt(e, t, n) {
1486
- var r = Array.prototype.slice.call(arguments, 3), i = n(r), o = t.get(i);
1487
- return typeof o > "u" && (o = e.apply(this, r), t.set(i, o)), o;
1501
+ function tr(e, t, r) {
1502
+ var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1503
+ return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1488
1504
  }
1489
- function rt(e, t, n, r, i) {
1490
- return n.bind(t, e, r, i);
1505
+ function it(e, t, r, n, i) {
1506
+ return r.bind(t, e, n, i);
1491
1507
  }
1492
- function Mr(e, t) {
1493
- var n = e.length === 1 ? Jt : Yt;
1494
- return rt(e, this, n, t.cache.create(), t.serializer);
1508
+ function Rn(e, t) {
1509
+ var r = e.length === 1 ? er : tr;
1510
+ return it(e, this, r, t.cache.create(), t.serializer);
1495
1511
  }
1496
- function Cr(e, t) {
1497
- return rt(e, this, Yt, t.cache.create(), t.serializer);
1512
+ function Un(e, t) {
1513
+ return it(e, this, tr, t.cache.create(), t.serializer);
1498
1514
  }
1499
- function $r(e, t) {
1500
- return rt(e, this, Jt, t.cache.create(), t.serializer);
1515
+ function Dn(e, t) {
1516
+ return it(e, this, er, t.cache.create(), t.serializer);
1501
1517
  }
1502
- var Rr = function() {
1518
+ var Gn = function() {
1503
1519
  return JSON.stringify(arguments);
1504
- }, Ur = (
1505
- /** @class */
1506
- function() {
1507
- function e() {
1508
- this.cache = /* @__PURE__ */ Object.create(null);
1509
- }
1510
- return e.prototype.get = function(t) {
1511
- return this.cache[t];
1512
- }, e.prototype.set = function(t, n) {
1513
- this.cache[t] = n;
1514
- }, e;
1515
- }()
1516
- ), Dr = {
1520
+ };
1521
+ function ot() {
1522
+ this.cache = /* @__PURE__ */ Object.create(null);
1523
+ }
1524
+ ot.prototype.get = function(e) {
1525
+ return this.cache[e];
1526
+ };
1527
+ ot.prototype.set = function(e, t) {
1528
+ this.cache[e] = t;
1529
+ };
1530
+ var Fn = {
1517
1531
  create: function() {
1518
- return new Ur();
1532
+ return new ot();
1519
1533
  }
1520
- }, $e = {
1521
- variadic: Cr,
1522
- monadic: $r
1534
+ }, Re = {
1535
+ variadic: Un,
1536
+ monadic: Dn
1523
1537
  }, b;
1524
1538
  (function(e) {
1525
1539
  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";
1526
1540
  })(b || (b = {}));
1527
- var v;
1541
+ var _;
1528
1542
  (function(e) {
1529
1543
  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";
1530
- })(v || (v = {}));
1544
+ })(_ || (_ = {}));
1531
1545
  var Q;
1532
1546
  (function(e) {
1533
1547
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1534
1548
  })(Q || (Q = {}));
1535
- function gt(e) {
1536
- return e.type === v.literal;
1549
+ function vt(e) {
1550
+ return e.type === _.literal;
1537
1551
  }
1538
- function Gr(e) {
1539
- return e.type === v.argument;
1552
+ function jn(e) {
1553
+ return e.type === _.argument;
1540
1554
  }
1541
- function Kt(e) {
1542
- return e.type === v.number;
1555
+ function rr(e) {
1556
+ return e.type === _.number;
1543
1557
  }
1544
- function en(e) {
1545
- return e.type === v.date;
1558
+ function nr(e) {
1559
+ return e.type === _.date;
1546
1560
  }
1547
- function tn(e) {
1548
- return e.type === v.time;
1561
+ function ir(e) {
1562
+ return e.type === _.time;
1549
1563
  }
1550
- function nn(e) {
1551
- return e.type === v.select;
1564
+ function or(e) {
1565
+ return e.type === _.select;
1552
1566
  }
1553
- function rn(e) {
1554
- return e.type === v.plural;
1567
+ function sr(e) {
1568
+ return e.type === _.plural;
1555
1569
  }
1556
- function Fr(e) {
1557
- return e.type === v.pound;
1570
+ function kn(e) {
1571
+ return e.type === _.pound;
1558
1572
  }
1559
- function on(e) {
1560
- return e.type === v.tag;
1573
+ function ar(e) {
1574
+ return e.type === _.tag;
1561
1575
  }
1562
- function sn(e) {
1576
+ function ur(e) {
1563
1577
  return !!(e && typeof e == "object" && e.type === Q.number);
1564
1578
  }
1565
- function ze(e) {
1579
+ function Ze(e) {
1566
1580
  return !!(e && typeof e == "object" && e.type === Q.dateTime);
1567
1581
  }
1568
- var an = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, jr = /(?:[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;
1569
- function kr(e) {
1582
+ var hr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Vn = /(?:[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;
1583
+ function Xn(e) {
1570
1584
  var t = {};
1571
- return e.replace(jr, function(n) {
1572
- var r = n.length;
1573
- switch (n[0]) {
1585
+ return e.replace(Vn, function(r) {
1586
+ var n = r.length;
1587
+ switch (r[0]) {
1574
1588
  case "G":
1575
- t.era = r === 4 ? "long" : r === 5 ? "narrow" : "short";
1589
+ t.era = n === 4 ? "long" : n === 5 ? "narrow" : "short";
1576
1590
  break;
1577
1591
  case "y":
1578
- t.year = r === 2 ? "2-digit" : "numeric";
1592
+ t.year = n === 2 ? "2-digit" : "numeric";
1579
1593
  break;
1580
1594
  case "Y":
1581
1595
  case "u":
@@ -1587,30 +1601,30 @@ function kr(e) {
1587
1601
  throw new RangeError("`q/Q` (quarter) patterns are not supported");
1588
1602
  case "M":
1589
1603
  case "L":
1590
- t.month = ["numeric", "2-digit", "short", "long", "narrow"][r - 1];
1604
+ t.month = ["numeric", "2-digit", "short", "long", "narrow"][n - 1];
1591
1605
  break;
1592
1606
  case "w":
1593
1607
  case "W":
1594
1608
  throw new RangeError("`w/W` (week) patterns are not supported");
1595
1609
  case "d":
1596
- t.day = ["numeric", "2-digit"][r - 1];
1610
+ t.day = ["numeric", "2-digit"][n - 1];
1597
1611
  break;
1598
1612
  case "D":
1599
1613
  case "F":
1600
1614
  case "g":
1601
1615
  throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");
1602
1616
  case "E":
1603
- t.weekday = r === 4 ? "long" : r === 5 ? "narrow" : "short";
1617
+ t.weekday = n === 4 ? "long" : n === 5 ? "narrow" : "short";
1604
1618
  break;
1605
1619
  case "e":
1606
- if (r < 4)
1620
+ if (n < 4)
1607
1621
  throw new RangeError("`e..eee` (weekday) patterns are not supported");
1608
- t.weekday = ["short", "long", "narrow", "short"][r - 4];
1622
+ t.weekday = ["short", "long", "narrow", "short"][n - 4];
1609
1623
  break;
1610
1624
  case "c":
1611
- if (r < 4)
1625
+ if (n < 4)
1612
1626
  throw new RangeError("`c..ccc` (weekday) patterns are not supported");
1613
- t.weekday = ["short", "long", "narrow", "short"][r - 4];
1627
+ t.weekday = ["short", "long", "narrow", "short"][n - 4];
1614
1628
  break;
1615
1629
  case "a":
1616
1630
  t.hour12 = !0;
@@ -1619,32 +1633,32 @@ function kr(e) {
1619
1633
  case "B":
1620
1634
  throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");
1621
1635
  case "h":
1622
- t.hourCycle = "h12", t.hour = ["numeric", "2-digit"][r - 1];
1636
+ t.hourCycle = "h12", t.hour = ["numeric", "2-digit"][n - 1];
1623
1637
  break;
1624
1638
  case "H":
1625
- t.hourCycle = "h23", t.hour = ["numeric", "2-digit"][r - 1];
1639
+ t.hourCycle = "h23", t.hour = ["numeric", "2-digit"][n - 1];
1626
1640
  break;
1627
1641
  case "K":
1628
- t.hourCycle = "h11", t.hour = ["numeric", "2-digit"][r - 1];
1642
+ t.hourCycle = "h11", t.hour = ["numeric", "2-digit"][n - 1];
1629
1643
  break;
1630
1644
  case "k":
1631
- t.hourCycle = "h24", t.hour = ["numeric", "2-digit"][r - 1];
1645
+ t.hourCycle = "h24", t.hour = ["numeric", "2-digit"][n - 1];
1632
1646
  break;
1633
1647
  case "j":
1634
1648
  case "J":
1635
1649
  case "C":
1636
1650
  throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");
1637
1651
  case "m":
1638
- t.minute = ["numeric", "2-digit"][r - 1];
1652
+ t.minute = ["numeric", "2-digit"][n - 1];
1639
1653
  break;
1640
1654
  case "s":
1641
- t.second = ["numeric", "2-digit"][r - 1];
1655
+ t.second = ["numeric", "2-digit"][n - 1];
1642
1656
  break;
1643
1657
  case "S":
1644
1658
  case "A":
1645
1659
  throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");
1646
1660
  case "z":
1647
- t.timeZoneName = r < 4 ? "short" : "long";
1661
+ t.timeZoneName = n < 4 ? "short" : "long";
1648
1662
  break;
1649
1663
  case "Z":
1650
1664
  case "O":
@@ -1657,36 +1671,36 @@ function kr(e) {
1657
1671
  return "";
1658
1672
  }), t;
1659
1673
  }
1660
- var Vr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1661
- function Xr(e) {
1674
+ var Wn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1675
+ function zn(e) {
1662
1676
  if (e.length === 0)
1663
1677
  throw new Error("Number skeleton cannot be empty");
1664
- for (var t = e.split(Vr).filter(function(f) {
1665
- return f.length > 0;
1666
- }), n = [], r = 0, i = t; r < i.length; r++) {
1667
- var o = i[r], a = o.split("/");
1678
+ for (var t = e.split(Wn).filter(function(c) {
1679
+ return c.length > 0;
1680
+ }), r = [], n = 0, i = t; n < i.length; n++) {
1681
+ var o = i[n], a = o.split("/");
1668
1682
  if (a.length === 0)
1669
1683
  throw new Error("Invalid number skeleton");
1670
1684
  for (var s = a[0], h = a.slice(1), u = 0, l = h; u < l.length; u++) {
1671
- var c = l[u];
1672
- if (c.length === 0)
1685
+ var f = l[u];
1686
+ if (f.length === 0)
1673
1687
  throw new Error("Invalid number skeleton");
1674
1688
  }
1675
- n.push({ stem: s, options: h });
1689
+ r.push({ stem: s, options: h });
1676
1690
  }
1677
- return n;
1691
+ return r;
1678
1692
  }
1679
- function Wr(e) {
1693
+ function Zn(e) {
1680
1694
  return e.replace(/^(.*?)-/, "");
1681
1695
  }
1682
- var yt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, un = /^(@+)?(\+|#+)?[rs]?$/g, zr = /(\*)(0+)|(#+)(0+)|(0+)/g, hn = /^(0+)$/;
1683
- function _t(e) {
1696
+ var _t = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, lr = /^(@+)?(\+|#+)?[rs]?$/g, qn = /(\*)(0+)|(#+)(0+)|(0+)/g, cr = /^(0+)$/;
1697
+ function Et(e) {
1684
1698
  var t = {};
1685
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(un, function(n, r, i) {
1686
- 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)), "";
1699
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(lr, function(r, n, i) {
1700
+ 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)), "";
1687
1701
  }), t;
1688
1702
  }
1689
- function ln(e) {
1703
+ function fr(e) {
1690
1704
  switch (e) {
1691
1705
  case "sign-auto":
1692
1706
  return {
@@ -1726,27 +1740,27 @@ function ln(e) {
1726
1740
  };
1727
1741
  }
1728
1742
  }
1729
- function Zr(e) {
1743
+ function Qn(e) {
1730
1744
  var t;
1731
1745
  if (e[0] === "E" && e[1] === "E" ? (t = {
1732
1746
  notation: "engineering"
1733
1747
  }, e = e.slice(2)) : e[0] === "E" && (t = {
1734
1748
  notation: "scientific"
1735
1749
  }, e = e.slice(1)), t) {
1736
- var n = e.slice(0, 2);
1737
- if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !hn.test(e))
1750
+ var r = e.slice(0, 2);
1751
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !cr.test(e))
1738
1752
  throw new Error("Malformed concise eng/scientific notation");
1739
1753
  t.minimumIntegerDigits = e.length;
1740
1754
  }
1741
1755
  return t;
1742
1756
  }
1743
- function vt(e) {
1744
- var t = {}, n = ln(e);
1745
- return n || t;
1757
+ function xt(e) {
1758
+ var t = {}, r = fr(e);
1759
+ return r || t;
1746
1760
  }
1747
- function qr(e) {
1748
- for (var t = {}, n = 0, r = e; n < r.length; n++) {
1749
- var i = r[n];
1761
+ function Jn(e) {
1762
+ for (var t = {}, r = 0, n = e; r < n.length; r++) {
1763
+ var i = n[r];
1750
1764
  switch (i.stem) {
1751
1765
  case "percent":
1752
1766
  case "%":
@@ -1768,7 +1782,7 @@ function qr(e) {
1768
1782
  continue;
1769
1783
  case "measure-unit":
1770
1784
  case "unit":
1771
- t.style = "unit", t.unit = Wr(i.options[0]);
1785
+ t.style = "unit", t.unit = Zn(i.options[0]);
1772
1786
  continue;
1773
1787
  case "compact-short":
1774
1788
  case "K":
@@ -1780,12 +1794,12 @@ function qr(e) {
1780
1794
  continue;
1781
1795
  case "scientific":
1782
1796
  t = y(y(y({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1783
- return y(y({}, h), vt(u));
1797
+ return y(y({}, h), xt(u));
1784
1798
  }, {}));
1785
1799
  continue;
1786
1800
  case "engineering":
1787
1801
  t = y(y(y({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1788
- return y(y({}, h), vt(u));
1802
+ return y(y({}, h), xt(u));
1789
1803
  }, {}));
1790
1804
  continue;
1791
1805
  case "notation-simple":
@@ -1830,40 +1844,40 @@ function qr(e) {
1830
1844
  case "integer-width":
1831
1845
  if (i.options.length > 1)
1832
1846
  throw new RangeError("integer-width stems only accept a single optional option");
1833
- i.options[0].replace(zr, function(h, u, l, c, f, p) {
1847
+ i.options[0].replace(qn, function(h, u, l, f, c, d) {
1834
1848
  if (u)
1835
1849
  t.minimumIntegerDigits = l.length;
1836
1850
  else {
1837
- if (c && f)
1851
+ if (f && c)
1838
1852
  throw new Error("We currently do not support maximum integer digits");
1839
- if (p)
1853
+ if (d)
1840
1854
  throw new Error("We currently do not support exact integer digits");
1841
1855
  }
1842
1856
  return "";
1843
1857
  });
1844
1858
  continue;
1845
1859
  }
1846
- if (hn.test(i.stem)) {
1860
+ if (cr.test(i.stem)) {
1847
1861
  t.minimumIntegerDigits = i.stem.length;
1848
1862
  continue;
1849
1863
  }
1850
- if (yt.test(i.stem)) {
1864
+ if (_t.test(i.stem)) {
1851
1865
  if (i.options.length > 1)
1852
1866
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1853
- i.stem.replace(yt, function(h, u, l, c, f, p) {
1854
- return l === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1867
+ i.stem.replace(_t, function(h, u, l, f, c, d) {
1868
+ return l === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && d ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1855
1869
  });
1856
1870
  var o = i.options[0];
1857
- o === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = y(y({}, t), _t(o)));
1871
+ o === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = y(y({}, t), Et(o)));
1858
1872
  continue;
1859
1873
  }
1860
- if (un.test(i.stem)) {
1861
- t = y(y({}, t), _t(i.stem));
1874
+ if (lr.test(i.stem)) {
1875
+ t = y(y({}, t), Et(i.stem));
1862
1876
  continue;
1863
1877
  }
1864
- var a = ln(i.stem);
1878
+ var a = fr(i.stem);
1865
1879
  a && (t = y(y({}, t), a));
1866
- var s = Zr(i.stem);
1880
+ var s = Qn(i.stem);
1867
1881
  s && (t = y(y({}, t), s));
1868
1882
  }
1869
1883
  return t;
@@ -3283,23 +3297,23 @@ var me = {
3283
3297
  "h"
3284
3298
  ]
3285
3299
  };
3286
- function Qr(e, t) {
3287
- for (var n = "", r = 0; r < e.length; r++) {
3288
- var i = e.charAt(r);
3300
+ function Yn(e, t) {
3301
+ for (var r = "", n = 0; n < e.length; n++) {
3302
+ var i = e.charAt(n);
3289
3303
  if (i === "j") {
3290
- for (var o = 0; r + 1 < e.length && e.charAt(r + 1) === i; )
3291
- o++, r++;
3292
- var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Jr(t);
3304
+ for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3305
+ o++, n++;
3306
+ var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Kn(t);
3293
3307
  for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
3294
- n += h;
3308
+ r += h;
3295
3309
  for (; a-- > 0; )
3296
- n = u + n;
3310
+ r = u + r;
3297
3311
  } else
3298
- i === "J" ? n += "H" : n += i;
3312
+ i === "J" ? r += "H" : r += i;
3299
3313
  }
3300
- return n;
3314
+ return r;
3301
3315
  }
3302
- function Jr(e) {
3316
+ function Kn(e) {
3303
3317
  var t = e.hourCycle;
3304
3318
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3305
3319
  e.hourCycles && // @ts-ignore
@@ -3316,73 +3330,73 @@ function Jr(e) {
3316
3330
  default:
3317
3331
  throw new Error("Invalid hourCycle");
3318
3332
  }
3319
- var n = e.language, r;
3320
- n !== "root" && (r = e.maximize().region);
3321
- var i = me[r || ""] || me[n || ""] || me["".concat(n, "-001")] || me["001"];
3333
+ var r = e.language, n;
3334
+ r !== "root" && (n = e.maximize().region);
3335
+ var i = me[n || ""] || me[r || ""] || me["".concat(r, "-001")] || me["001"];
3322
3336
  return i[0];
3323
3337
  }
3324
- var Re, Yr = new RegExp("^".concat(an.source, "*")), Kr = new RegExp("".concat(an.source, "*$"));
3338
+ var Ue, ei = new RegExp("^".concat(hr.source, "*")), ti = new RegExp("".concat(hr.source, "*$"));
3325
3339
  function g(e, t) {
3326
3340
  return { start: e, end: t };
3327
3341
  }
3328
- var ei = !!String.prototype.startsWith && "_a".startsWith("a", 1), ti = !!String.fromCodePoint, ni = !!Object.fromEntries, ri = !!String.prototype.codePointAt, ii = !!String.prototype.trimStart, oi = !!String.prototype.trimEnd, si = !!Number.isSafeInteger, ai = si ? Number.isSafeInteger : function(e) {
3342
+ var ri = !!String.prototype.startsWith && "_a".startsWith("a", 1), ni = !!String.fromCodePoint, ii = !!Object.fromEntries, oi = !!String.prototype.codePointAt, si = !!String.prototype.trimStart, ai = !!String.prototype.trimEnd, ui = !!Number.isSafeInteger, hi = ui ? Number.isSafeInteger : function(e) {
3329
3343
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3330
- }, Ze = !0;
3344
+ }, qe = !0;
3331
3345
  try {
3332
- var ui = cn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3333
- Ze = ((Re = ui.exec("a")) === null || Re === void 0 ? void 0 : Re[0]) === "a";
3346
+ var li = dr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3347
+ qe = ((Ue = li.exec("a")) === null || Ue === void 0 ? void 0 : Ue[0]) === "a";
3334
3348
  } catch {
3335
- Ze = !1;
3349
+ qe = !1;
3336
3350
  }
3337
- var xt = ei ? (
3351
+ var St = ri ? (
3338
3352
  // Native
3339
- function(t, n, r) {
3340
- return t.startsWith(n, r);
3353
+ function(t, r, n) {
3354
+ return t.startsWith(r, n);
3341
3355
  }
3342
3356
  ) : (
3343
3357
  // For IE11
3344
- function(t, n, r) {
3345
- return t.slice(r, r + n.length) === n;
3358
+ function(t, r, n) {
3359
+ return t.slice(n, n + r.length) === r;
3346
3360
  }
3347
- ), qe = ti ? String.fromCodePoint : (
3361
+ ), Qe = ni ? String.fromCodePoint : (
3348
3362
  // IE11
3349
3363
  function() {
3350
- for (var t = [], n = 0; n < arguments.length; n++)
3351
- t[n] = arguments[n];
3352
- for (var r = "", i = t.length, o = 0, a; i > o; ) {
3364
+ for (var t = [], r = 0; r < arguments.length; r++)
3365
+ t[r] = arguments[r];
3366
+ for (var n = "", i = t.length, o = 0, a; i > o; ) {
3353
3367
  if (a = t[o++], a > 1114111)
3354
3368
  throw RangeError(a + " is not a valid code point");
3355
- r += a < 65536 ? String.fromCharCode(a) : String.fromCharCode(((a -= 65536) >> 10) + 55296, a % 1024 + 56320);
3369
+ n += a < 65536 ? String.fromCharCode(a) : String.fromCharCode(((a -= 65536) >> 10) + 55296, a % 1024 + 56320);
3356
3370
  }
3357
- return r;
3371
+ return n;
3358
3372
  }
3359
- ), Et = (
3373
+ ), Tt = (
3360
3374
  // native
3361
- ni ? Object.fromEntries : (
3375
+ ii ? Object.fromEntries : (
3362
3376
  // Ponyfill
3363
3377
  function(t) {
3364
- for (var n = {}, r = 0, i = t; r < i.length; r++) {
3365
- var o = i[r], a = o[0], s = o[1];
3366
- n[a] = s;
3378
+ for (var r = {}, n = 0, i = t; n < i.length; n++) {
3379
+ var o = i[n], a = o[0], s = o[1];
3380
+ r[a] = s;
3367
3381
  }
3368
- return n;
3382
+ return r;
3369
3383
  }
3370
3384
  )
3371
- ), fn = ri ? (
3385
+ ), pr = oi ? (
3372
3386
  // Native
3373
- function(t, n) {
3374
- return t.codePointAt(n);
3387
+ function(t, r) {
3388
+ return t.codePointAt(r);
3375
3389
  }
3376
3390
  ) : (
3377
3391
  // IE 11
3378
- function(t, n) {
3379
- var r = t.length;
3380
- if (!(n < 0 || n >= r)) {
3381
- var i = t.charCodeAt(n), o;
3382
- return i < 55296 || i > 56319 || n + 1 === r || (o = t.charCodeAt(n + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3392
+ function(t, r) {
3393
+ var n = t.length;
3394
+ if (!(r < 0 || r >= n)) {
3395
+ var i = t.charCodeAt(r), o;
3396
+ return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3383
3397
  }
3384
3398
  }
3385
- ), hi = ii ? (
3399
+ ), ci = si ? (
3386
3400
  // Native
3387
3401
  function(t) {
3388
3402
  return t.trimStart();
@@ -3390,9 +3404,9 @@ var xt = ei ? (
3390
3404
  ) : (
3391
3405
  // Ponyfill
3392
3406
  function(t) {
3393
- return t.replace(Yr, "");
3407
+ return t.replace(ei, "");
3394
3408
  }
3395
- ), li = oi ? (
3409
+ ), fi = ai ? (
3396
3410
  // Native
3397
3411
  function(t) {
3398
3412
  return t.trimEnd();
@@ -3400,69 +3414,69 @@ var xt = ei ? (
3400
3414
  ) : (
3401
3415
  // Ponyfill
3402
3416
  function(t) {
3403
- return t.replace(Kr, "");
3417
+ return t.replace(ti, "");
3404
3418
  }
3405
3419
  );
3406
- function cn(e, t) {
3420
+ function dr(e, t) {
3407
3421
  return new RegExp(e, t);
3408
3422
  }
3409
- var Qe;
3410
- if (Ze) {
3411
- var St = cn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3412
- Qe = function(t, n) {
3413
- var r;
3414
- St.lastIndex = n;
3415
- var i = St.exec(t);
3416
- return (r = i[1]) !== null && r !== void 0 ? r : "";
3423
+ var Je;
3424
+ if (qe) {
3425
+ var wt = dr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3426
+ Je = function(t, r) {
3427
+ var n;
3428
+ wt.lastIndex = r;
3429
+ var i = wt.exec(t);
3430
+ return (n = i[1]) !== null && n !== void 0 ? n : "";
3417
3431
  };
3418
3432
  } else
3419
- Qe = function(t, n) {
3420
- for (var r = []; ; ) {
3421
- var i = fn(t, n);
3422
- if (i === void 0 || dn(i) || pi(i))
3433
+ Je = function(t, r) {
3434
+ for (var n = []; ; ) {
3435
+ var i = pr(t, r);
3436
+ if (i === void 0 || mr(i) || bi(i))
3423
3437
  break;
3424
- r.push(i), n += i >= 65536 ? 2 : 1;
3438
+ n.push(i), r += i >= 65536 ? 2 : 1;
3425
3439
  }
3426
- return qe.apply(void 0, r);
3440
+ return Qe.apply(void 0, n);
3427
3441
  };
3428
- var fi = (
3442
+ var pi = (
3429
3443
  /** @class */
3430
3444
  function() {
3431
- function e(t, n) {
3432
- 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;
3445
+ function e(t, r) {
3446
+ 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;
3433
3447
  }
3434
3448
  return e.prototype.parse = function() {
3435
3449
  if (this.offset() !== 0)
3436
3450
  throw Error("parser can only be used once");
3437
3451
  return this.parseMessage(0, "", !1);
3438
- }, e.prototype.parseMessage = function(t, n, r) {
3452
+ }, e.prototype.parseMessage = function(t, r, n) {
3439
3453
  for (var i = []; !this.isEOF(); ) {
3440
3454
  var o = this.char();
3441
3455
  if (o === 123) {
3442
- var a = this.parseArgument(t, r);
3456
+ var a = this.parseArgument(t, n);
3443
3457
  if (a.err)
3444
3458
  return a;
3445
3459
  i.push(a.val);
3446
3460
  } else {
3447
3461
  if (o === 125 && t > 0)
3448
3462
  break;
3449
- if (o === 35 && (n === "plural" || n === "selectordinal")) {
3463
+ if (o === 35 && (r === "plural" || r === "selectordinal")) {
3450
3464
  var s = this.clonePosition();
3451
3465
  this.bump(), i.push({
3452
- type: v.pound,
3466
+ type: _.pound,
3453
3467
  location: g(s, this.clonePosition())
3454
3468
  });
3455
3469
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3456
- if (r)
3470
+ if (n)
3457
3471
  break;
3458
3472
  return this.error(b.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
3459
- } else if (o === 60 && !this.ignoreTag && Je(this.peek() || 0)) {
3460
- var a = this.parseTag(t, n);
3473
+ } else if (o === 60 && !this.ignoreTag && Ye(this.peek() || 0)) {
3474
+ var a = this.parseTag(t, r);
3461
3475
  if (a.err)
3462
3476
  return a;
3463
3477
  i.push(a.val);
3464
3478
  } else {
3465
- var a = this.parseLiteral(t, n);
3479
+ var a = this.parseLiteral(t, r);
3466
3480
  if (a.err)
3467
3481
  return a;
3468
3482
  i.push(a.val);
@@ -3470,54 +3484,54 @@ var fi = (
3470
3484
  }
3471
3485
  }
3472
3486
  return { val: i, err: null };
3473
- }, e.prototype.parseTag = function(t, n) {
3474
- var r = this.clonePosition();
3487
+ }, e.prototype.parseTag = function(t, r) {
3488
+ var n = this.clonePosition();
3475
3489
  this.bump();
3476
3490
  var i = this.parseTagName();
3477
3491
  if (this.bumpSpace(), this.bumpIf("/>"))
3478
3492
  return {
3479
3493
  val: {
3480
- type: v.literal,
3494
+ type: _.literal,
3481
3495
  value: "<".concat(i, "/>"),
3482
- location: g(r, this.clonePosition())
3496
+ location: g(n, this.clonePosition())
3483
3497
  },
3484
3498
  err: null
3485
3499
  };
3486
3500
  if (this.bumpIf(">")) {
3487
- var o = this.parseMessage(t + 1, n, !0);
3501
+ var o = this.parseMessage(t + 1, r, !0);
3488
3502
  if (o.err)
3489
3503
  return o;
3490
3504
  var a = o.val, s = this.clonePosition();
3491
3505
  if (this.bumpIf("</")) {
3492
- if (this.isEOF() || !Je(this.char()))
3506
+ if (this.isEOF() || !Ye(this.char()))
3493
3507
  return this.error(b.INVALID_TAG, g(s, this.clonePosition()));
3494
3508
  var h = this.clonePosition(), u = this.parseTagName();
3495
3509
  return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG, g(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3496
3510
  val: {
3497
- type: v.tag,
3511
+ type: _.tag,
3498
3512
  value: i,
3499
3513
  children: a,
3500
- location: g(r, this.clonePosition())
3514
+ location: g(n, this.clonePosition())
3501
3515
  },
3502
3516
  err: null
3503
3517
  } : this.error(b.INVALID_TAG, g(s, this.clonePosition())));
3504
3518
  } else
3505
- return this.error(b.UNCLOSED_TAG, g(r, this.clonePosition()));
3519
+ return this.error(b.UNCLOSED_TAG, g(n, this.clonePosition()));
3506
3520
  } else
3507
- return this.error(b.INVALID_TAG, g(r, this.clonePosition()));
3521
+ return this.error(b.INVALID_TAG, g(n, this.clonePosition()));
3508
3522
  }, e.prototype.parseTagName = function() {
3509
3523
  var t = this.offset();
3510
- for (this.bump(); !this.isEOF() && di(this.char()); )
3524
+ for (this.bump(); !this.isEOF() && mi(this.char()); )
3511
3525
  this.bump();
3512
3526
  return this.message.slice(t, this.offset());
3513
- }, e.prototype.parseLiteral = function(t, n) {
3514
- for (var r = this.clonePosition(), i = ""; ; ) {
3515
- var o = this.tryParseQuote(n);
3527
+ }, e.prototype.parseLiteral = function(t, r) {
3528
+ for (var n = this.clonePosition(), i = ""; ; ) {
3529
+ var o = this.tryParseQuote(r);
3516
3530
  if (o) {
3517
3531
  i += o;
3518
3532
  continue;
3519
3533
  }
3520
- var a = this.tryParseUnquoted(t, n);
3534
+ var a = this.tryParseUnquoted(t, r);
3521
3535
  if (a) {
3522
3536
  i += a;
3523
3537
  continue;
@@ -3529,14 +3543,14 @@ var fi = (
3529
3543
  }
3530
3544
  break;
3531
3545
  }
3532
- var h = g(r, this.clonePosition());
3546
+ var h = g(n, this.clonePosition());
3533
3547
  return {
3534
- val: { type: v.literal, value: i, location: h },
3548
+ val: { type: _.literal, value: i, location: h },
3535
3549
  err: null
3536
3550
  };
3537
3551
  }, e.prototype.tryParseLeftAngleBracket = function() {
3538
3552
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3539
- !ci(this.peek() || 0)) ? (this.bump(), "<") : null;
3553
+ !di(this.peek() || 0)) ? (this.bump(), "<") : null;
3540
3554
  }, e.prototype.tryParseQuote = function(t) {
3541
3555
  if (this.isEOF() || this.char() !== 39)
3542
3556
  return null;
@@ -3556,59 +3570,59 @@ var fi = (
3556
3570
  return null;
3557
3571
  }
3558
3572
  this.bump();
3559
- var n = [this.char()];
3573
+ var r = [this.char()];
3560
3574
  for (this.bump(); !this.isEOF(); ) {
3561
- var r = this.char();
3562
- if (r === 39)
3575
+ var n = this.char();
3576
+ if (n === 39)
3563
3577
  if (this.peek() === 39)
3564
- n.push(39), this.bump();
3578
+ r.push(39), this.bump();
3565
3579
  else {
3566
3580
  this.bump();
3567
3581
  break;
3568
3582
  }
3569
3583
  else
3570
- n.push(r);
3584
+ r.push(n);
3571
3585
  this.bump();
3572
3586
  }
3573
- return qe.apply(void 0, n);
3574
- }, e.prototype.tryParseUnquoted = function(t, n) {
3587
+ return Qe.apply(void 0, r);
3588
+ }, e.prototype.tryParseUnquoted = function(t, r) {
3575
3589
  if (this.isEOF())
3576
3590
  return null;
3577
- var r = this.char();
3578
- return r === 60 || r === 123 || r === 35 && (n === "plural" || n === "selectordinal") || r === 125 && t > 0 ? null : (this.bump(), qe(r));
3579
- }, e.prototype.parseArgument = function(t, n) {
3580
- var r = this.clonePosition();
3591
+ var n = this.char();
3592
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Qe(n));
3593
+ }, e.prototype.parseArgument = function(t, r) {
3594
+ var n = this.clonePosition();
3581
3595
  if (this.bump(), this.bumpSpace(), this.isEOF())
3582
- return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(r, this.clonePosition()));
3596
+ return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition()));
3583
3597
  if (this.char() === 125)
3584
- return this.bump(), this.error(b.EMPTY_ARGUMENT, g(r, this.clonePosition()));
3598
+ return this.bump(), this.error(b.EMPTY_ARGUMENT, g(n, this.clonePosition()));
3585
3599
  var i = this.parseIdentifierIfPossible().value;
3586
3600
  if (!i)
3587
- return this.error(b.MALFORMED_ARGUMENT, g(r, this.clonePosition()));
3601
+ return this.error(b.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
3588
3602
  if (this.bumpSpace(), this.isEOF())
3589
- return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(r, this.clonePosition()));
3603
+ return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition()));
3590
3604
  switch (this.char()) {
3591
3605
  case 125:
3592
3606
  return this.bump(), {
3593
3607
  val: {
3594
- type: v.argument,
3608
+ type: _.argument,
3595
3609
  // value does not include the opening and closing braces.
3596
3610
  value: i,
3597
- location: g(r, this.clonePosition())
3611
+ location: g(n, this.clonePosition())
3598
3612
  },
3599
3613
  err: null
3600
3614
  };
3601
3615
  case 44:
3602
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(r, this.clonePosition())) : this.parseArgumentOptions(t, n, i, r);
3616
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3603
3617
  default:
3604
- return this.error(b.MALFORMED_ARGUMENT, g(r, this.clonePosition()));
3618
+ return this.error(b.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
3605
3619
  }
3606
3620
  }, e.prototype.parseIdentifierIfPossible = function() {
3607
- var t = this.clonePosition(), n = this.offset(), r = Qe(this.message, n), i = n + r.length;
3621
+ var t = this.clonePosition(), r = this.offset(), n = Je(this.message, r), i = r + n.length;
3608
3622
  this.bumpTo(i);
3609
3623
  var o = this.clonePosition(), a = g(t, o);
3610
- return { value: r, location: a };
3611
- }, e.prototype.parseArgumentOptions = function(t, n, r, i) {
3624
+ return { value: n, location: a };
3625
+ }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3612
3626
  var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, h = this.clonePosition();
3613
3627
  switch (s) {
3614
3628
  case "":
@@ -3620,48 +3634,48 @@ var fi = (
3620
3634
  var u = null;
3621
3635
  if (this.bumpIf(",")) {
3622
3636
  this.bumpSpace();
3623
- var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3624
- if (c.err)
3625
- return c;
3626
- var f = li(c.val);
3627
- if (f.length === 0)
3637
+ var l = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3638
+ if (f.err)
3639
+ return f;
3640
+ var c = fi(f.val);
3641
+ if (c.length === 0)
3628
3642
  return this.error(b.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
3629
- var p = g(l, this.clonePosition());
3630
- u = { style: f, styleLocation: p };
3643
+ var d = g(l, this.clonePosition());
3644
+ u = { style: c, styleLocation: d };
3631
3645
  }
3632
- var d = this.tryParseArgumentClose(i);
3633
- if (d.err)
3634
- return d;
3646
+ var p = this.tryParseArgumentClose(i);
3647
+ if (p.err)
3648
+ return p;
3635
3649
  var m = g(i, this.clonePosition());
3636
- if (u && xt(u?.style, "::", 0)) {
3637
- var x = hi(u.style.slice(2));
3650
+ if (u && St(u?.style, "::", 0)) {
3651
+ var E = ci(u.style.slice(2));
3638
3652
  if (s === "number") {
3639
- var c = this.parseNumberSkeletonFromString(x, u.styleLocation);
3640
- return c.err ? c : {
3641
- val: { type: v.number, value: r, location: m, style: c.val },
3653
+ var f = this.parseNumberSkeletonFromString(E, u.styleLocation);
3654
+ return f.err ? f : {
3655
+ val: { type: _.number, value: n, location: m, style: f.val },
3642
3656
  err: null
3643
3657
  };
3644
3658
  } else {
3645
- if (x.length === 0)
3659
+ if (E.length === 0)
3646
3660
  return this.error(b.EXPECT_DATE_TIME_SKELETON, m);
3647
- var T = x;
3648
- this.locale && (T = Qr(x, this.locale));
3649
- var f = {
3661
+ var T = E;
3662
+ this.locale && (T = Yn(E, this.locale));
3663
+ var c = {
3650
3664
  type: Q.dateTime,
3651
3665
  pattern: T,
3652
3666
  location: u.styleLocation,
3653
- parsedOptions: this.shouldParseSkeletons ? kr(T) : {}
3654
- }, P = s === "date" ? v.date : v.time;
3667
+ parsedOptions: this.shouldParseSkeletons ? Xn(T) : {}
3668
+ }, P = s === "date" ? _.date : _.time;
3655
3669
  return {
3656
- val: { type: P, value: r, location: m, style: f },
3670
+ val: { type: P, value: n, location: m, style: c },
3657
3671
  err: null
3658
3672
  };
3659
3673
  }
3660
3674
  }
3661
3675
  return {
3662
3676
  val: {
3663
- type: s === "number" ? v.number : s === "date" ? v.date : v.time,
3664
- value: r,
3677
+ type: s === "number" ? _.number : s === "date" ? _.date : _.time,
3678
+ value: n,
3665
3679
  location: m,
3666
3680
  style: (o = u?.style) !== null && o !== void 0 ? o : null
3667
3681
  },
@@ -3671,43 +3685,43 @@ var fi = (
3671
3685
  case "plural":
3672
3686
  case "selectordinal":
3673
3687
  case "select": {
3674
- var E = this.clonePosition();
3688
+ var x = this.clonePosition();
3675
3689
  if (this.bumpSpace(), !this.bumpIf(","))
3676
- return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, g(E, y({}, E)));
3690
+ return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, g(x, y({}, x)));
3677
3691
  this.bumpSpace();
3678
3692
  var O = this.parseIdentifierIfPossible(), w = 0;
3679
3693
  if (s !== "select" && O.value === "offset") {
3680
3694
  if (!this.bumpIf(":"))
3681
3695
  return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g(this.clonePosition(), this.clonePosition()));
3682
3696
  this.bumpSpace();
3683
- var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3684
- if (c.err)
3685
- return c;
3686
- this.bumpSpace(), O = this.parseIdentifierIfPossible(), w = c.val;
3697
+ var f = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3698
+ if (f.err)
3699
+ return f;
3700
+ this.bumpSpace(), O = this.parseIdentifierIfPossible(), w = f.val;
3687
3701
  }
3688
- var $ = this.tryParsePluralOrSelectOptions(t, s, n, O);
3702
+ var $ = this.tryParsePluralOrSelectOptions(t, s, r, O);
3689
3703
  if ($.err)
3690
3704
  return $;
3691
- var d = this.tryParseArgumentClose(i);
3692
- if (d.err)
3693
- return d;
3694
- var ce = g(i, this.clonePosition());
3705
+ var p = this.tryParseArgumentClose(i);
3706
+ if (p.err)
3707
+ return p;
3708
+ var fe = g(i, this.clonePosition());
3695
3709
  return s === "select" ? {
3696
3710
  val: {
3697
- type: v.select,
3698
- value: r,
3699
- options: Et($.val),
3700
- location: ce
3711
+ type: _.select,
3712
+ value: n,
3713
+ options: Tt($.val),
3714
+ location: fe
3701
3715
  },
3702
3716
  err: null
3703
3717
  } : {
3704
3718
  val: {
3705
- type: v.plural,
3706
- value: r,
3707
- options: Et($.val),
3719
+ type: _.plural,
3720
+ value: n,
3721
+ options: Tt($.val),
3708
3722
  offset: w,
3709
3723
  pluralType: s === "plural" ? "cardinal" : "ordinal",
3710
- location: ce
3724
+ location: fe
3711
3725
  },
3712
3726
  err: null
3713
3727
  };
@@ -3718,9 +3732,9 @@ var fi = (
3718
3732
  }, e.prototype.tryParseArgumentClose = function(t) {
3719
3733
  return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3720
3734
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3721
- for (var t = 0, n = this.clonePosition(); !this.isEOF(); ) {
3722
- var r = this.char();
3723
- switch (r) {
3735
+ for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3736
+ var n = this.char();
3737
+ switch (n) {
3724
3738
  case 39: {
3725
3739
  this.bump();
3726
3740
  var i = this.clonePosition();
@@ -3738,7 +3752,7 @@ var fi = (
3738
3752
  t -= 1;
3739
3753
  else
3740
3754
  return {
3741
- val: this.message.slice(n.offset, this.offset()),
3755
+ val: this.message.slice(r.offset, this.offset()),
3742
3756
  err: null
3743
3757
  };
3744
3758
  break;
@@ -3749,61 +3763,61 @@ var fi = (
3749
3763
  }
3750
3764
  }
3751
3765
  return {
3752
- val: this.message.slice(n.offset, this.offset()),
3766
+ val: this.message.slice(r.offset, this.offset()),
3753
3767
  err: null
3754
3768
  };
3755
- }, e.prototype.parseNumberSkeletonFromString = function(t, n) {
3756
- var r = [];
3769
+ }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3770
+ var n = [];
3757
3771
  try {
3758
- r = Xr(t);
3772
+ n = zn(t);
3759
3773
  } catch {
3760
- return this.error(b.INVALID_NUMBER_SKELETON, n);
3774
+ return this.error(b.INVALID_NUMBER_SKELETON, r);
3761
3775
  }
3762
3776
  return {
3763
3777
  val: {
3764
3778
  type: Q.number,
3765
- tokens: r,
3766
- location: n,
3767
- parsedOptions: this.shouldParseSkeletons ? qr(r) : {}
3779
+ tokens: n,
3780
+ location: r,
3781
+ parsedOptions: this.shouldParseSkeletons ? Jn(n) : {}
3768
3782
  },
3769
3783
  err: null
3770
3784
  };
3771
- }, e.prototype.tryParsePluralOrSelectOptions = function(t, n, r, i) {
3785
+ }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3772
3786
  for (var o, a = !1, s = [], h = /* @__PURE__ */ new Set(), u = i.value, l = i.location; ; ) {
3773
3787
  if (u.length === 0) {
3774
- var c = this.clonePosition();
3775
- if (n !== "select" && this.bumpIf("=")) {
3776
- var f = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_SELECTOR, b.INVALID_PLURAL_ARGUMENT_SELECTOR);
3777
- if (f.err)
3778
- return f;
3779
- l = g(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
3788
+ var f = this.clonePosition();
3789
+ if (r !== "select" && this.bumpIf("=")) {
3790
+ var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_SELECTOR, b.INVALID_PLURAL_ARGUMENT_SELECTOR);
3791
+ if (c.err)
3792
+ return c;
3793
+ l = g(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
3780
3794
  } else
3781
3795
  break;
3782
3796
  }
3783
3797
  if (h.has(u))
3784
- return this.error(n === "select" ? b.DUPLICATE_SELECT_ARGUMENT_SELECTOR : b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
3798
+ return this.error(r === "select" ? b.DUPLICATE_SELECT_ARGUMENT_SELECTOR : b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
3785
3799
  u === "other" && (a = !0), this.bumpSpace();
3786
- var p = this.clonePosition();
3800
+ var d = this.clonePosition();
3787
3801
  if (!this.bumpIf("{"))
3788
- return this.error(n === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, g(this.clonePosition(), this.clonePosition()));
3789
- var d = this.parseMessage(t + 1, n, r);
3790
- if (d.err)
3791
- return d;
3792
- var m = this.tryParseArgumentClose(p);
3802
+ return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, g(this.clonePosition(), this.clonePosition()));
3803
+ var p = this.parseMessage(t + 1, r, n);
3804
+ if (p.err)
3805
+ return p;
3806
+ var m = this.tryParseArgumentClose(d);
3793
3807
  if (m.err)
3794
3808
  return m;
3795
3809
  s.push([
3796
3810
  u,
3797
3811
  {
3798
- value: d.val,
3799
- location: g(p, this.clonePosition())
3812
+ value: p.val,
3813
+ location: g(d, this.clonePosition())
3800
3814
  }
3801
3815
  ]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
3802
3816
  }
3803
- return s.length === 0 ? this.error(n === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, g(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(b.MISSING_OTHER_CLAUSE, g(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
3804
- }, e.prototype.tryParseDecimalInteger = function(t, n) {
3805
- var r = 1, i = this.clonePosition();
3806
- this.bumpIf("+") || this.bumpIf("-") && (r = -1);
3817
+ return s.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, g(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(b.MISSING_OTHER_CLAUSE, g(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
3818
+ }, e.prototype.tryParseDecimalInteger = function(t, r) {
3819
+ var n = 1, i = this.clonePosition();
3820
+ this.bumpIf("+") || this.bumpIf("-") && (n = -1);
3807
3821
  for (var o = !1, a = 0; !this.isEOF(); ) {
3808
3822
  var s = this.char();
3809
3823
  if (s >= 48 && s <= 57)
@@ -3812,7 +3826,7 @@ var fi = (
3812
3826
  break;
3813
3827
  }
3814
3828
  var h = g(i, this.clonePosition());
3815
- return o ? (a *= r, ai(a) ? { val: a, err: null } : this.error(n, h)) : this.error(t, h);
3829
+ return o ? (a *= n, hi(a) ? { val: a, err: null } : this.error(r, h)) : this.error(t, h);
3816
3830
  }, e.prototype.offset = function() {
3817
3831
  return this.position.offset;
3818
3832
  }, e.prototype.isEOF = function() {
@@ -3827,17 +3841,17 @@ var fi = (
3827
3841
  var t = this.position.offset;
3828
3842
  if (t >= this.message.length)
3829
3843
  throw Error("out of bound");
3830
- var n = fn(this.message, t);
3831
- if (n === void 0)
3844
+ var r = pr(this.message, t);
3845
+ if (r === void 0)
3832
3846
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3833
- return n;
3834
- }, e.prototype.error = function(t, n) {
3847
+ return r;
3848
+ }, e.prototype.error = function(t, r) {
3835
3849
  return {
3836
3850
  val: null,
3837
3851
  err: {
3838
3852
  kind: t,
3839
3853
  message: this.message,
3840
- location: n
3854
+ location: r
3841
3855
  }
3842
3856
  };
3843
3857
  }, e.prototype.bump = function() {
@@ -3846,70 +3860,70 @@ var fi = (
3846
3860
  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);
3847
3861
  }
3848
3862
  }, e.prototype.bumpIf = function(t) {
3849
- if (xt(this.message, t, this.offset())) {
3850
- for (var n = 0; n < t.length; n++)
3863
+ if (St(this.message, t, this.offset())) {
3864
+ for (var r = 0; r < t.length; r++)
3851
3865
  this.bump();
3852
3866
  return !0;
3853
3867
  }
3854
3868
  return !1;
3855
3869
  }, e.prototype.bumpUntil = function(t) {
3856
- var n = this.offset(), r = this.message.indexOf(t, n);
3857
- return r >= 0 ? (this.bumpTo(r), !0) : (this.bumpTo(this.message.length), !1);
3870
+ var r = this.offset(), n = this.message.indexOf(t, r);
3871
+ return n >= 0 ? (this.bumpTo(n), !0) : (this.bumpTo(this.message.length), !1);
3858
3872
  }, e.prototype.bumpTo = function(t) {
3859
3873
  if (this.offset() > t)
3860
3874
  throw Error("targetOffset ".concat(t, " must be greater than or equal to the current offset ").concat(this.offset()));
3861
3875
  for (t = Math.min(t, this.message.length); ; ) {
3862
- var n = this.offset();
3863
- if (n === t)
3876
+ var r = this.offset();
3877
+ if (r === t)
3864
3878
  break;
3865
- if (n > t)
3879
+ if (r > t)
3866
3880
  throw Error("targetOffset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3867
3881
  if (this.bump(), this.isEOF())
3868
3882
  break;
3869
3883
  }
3870
3884
  }, e.prototype.bumpSpace = function() {
3871
- for (; !this.isEOF() && dn(this.char()); )
3885
+ for (; !this.isEOF() && mr(this.char()); )
3872
3886
  this.bump();
3873
3887
  }, e.prototype.peek = function() {
3874
3888
  if (this.isEOF())
3875
3889
  return null;
3876
- var t = this.char(), n = this.offset(), r = this.message.charCodeAt(n + (t >= 65536 ? 2 : 1));
3877
- return r ?? null;
3890
+ var t = this.char(), r = this.offset(), n = this.message.charCodeAt(r + (t >= 65536 ? 2 : 1));
3891
+ return n ?? null;
3878
3892
  }, e;
3879
3893
  }()
3880
3894
  );
3881
- function Je(e) {
3895
+ function Ye(e) {
3882
3896
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3883
3897
  }
3884
- function ci(e) {
3885
- return Je(e) || e === 47;
3886
- }
3887
3898
  function di(e) {
3899
+ return Ye(e) || e === 47;
3900
+ }
3901
+ function mi(e) {
3888
3902
  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;
3889
3903
  }
3890
- function dn(e) {
3904
+ function mr(e) {
3891
3905
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3892
3906
  }
3893
- function pi(e) {
3907
+ function bi(e) {
3894
3908
  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;
3895
3909
  }
3896
- function Ye(e) {
3910
+ function Ke(e) {
3897
3911
  e.forEach(function(t) {
3898
- if (delete t.location, nn(t) || rn(t))
3899
- for (var n in t.options)
3900
- delete t.options[n].location, Ye(t.options[n].value);
3912
+ if (delete t.location, or(t) || sr(t))
3913
+ for (var r in t.options)
3914
+ delete t.options[r].location, Ke(t.options[r].value);
3901
3915
  else
3902
- Kt(t) && sn(t.style) || (en(t) || tn(t)) && ze(t.style) ? delete t.style.location : on(t) && Ye(t.children);
3916
+ rr(t) && ur(t.style) || (nr(t) || ir(t)) && Ze(t.style) ? delete t.style.location : ar(t) && Ke(t.children);
3903
3917
  });
3904
3918
  }
3905
- function mi(e, t) {
3919
+ function gi(e, t) {
3906
3920
  t === void 0 && (t = {}), t = y({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3907
- var n = new fi(e, t).parse();
3908
- if (n.err) {
3909
- var r = SyntaxError(b[n.err.kind]);
3910
- throw r.location = n.err.location, r.originalMessage = n.err.message, r;
3921
+ var r = new pi(e, t).parse();
3922
+ if (r.err) {
3923
+ var n = SyntaxError(b[r.err.kind]);
3924
+ throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3911
3925
  }
3912
- return t?.captureLocation || Ye(n.val), n.val;
3926
+ return t?.captureLocation || Ke(r.val), r.val;
3913
3927
  }
3914
3928
  var J;
3915
3929
  (function(e) {
@@ -3919,38 +3933,38 @@ var Ae = (
3919
3933
  /** @class */
3920
3934
  function(e) {
3921
3935
  C(t, e);
3922
- function t(n, r, i) {
3923
- var o = e.call(this, n) || this;
3924
- return o.code = r, o.originalMessage = i, o;
3936
+ function t(r, n, i) {
3937
+ var o = e.call(this, r) || this;
3938
+ return o.code = n, o.originalMessage = i, o;
3925
3939
  }
3926
3940
  return t.prototype.toString = function() {
3927
3941
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3928
3942
  }, t;
3929
3943
  }(Error)
3930
- ), Tt = (
3944
+ ), Ht = (
3931
3945
  /** @class */
3932
3946
  function(e) {
3933
3947
  C(t, e);
3934
- function t(n, r, i, o) {
3935
- return e.call(this, 'Invalid values for "'.concat(n, '": "').concat(r, '". Options are "').concat(Object.keys(i).join('", "'), '"'), J.INVALID_VALUE, o) || this;
3948
+ function t(r, n, i, o) {
3949
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), J.INVALID_VALUE, o) || this;
3936
3950
  }
3937
3951
  return t;
3938
3952
  }(Ae)
3939
- ), bi = (
3953
+ ), yi = (
3940
3954
  /** @class */
3941
3955
  function(e) {
3942
3956
  C(t, e);
3943
- function t(n, r, i) {
3944
- return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(r), J.INVALID_VALUE, i) || this;
3957
+ function t(r, n, i) {
3958
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), J.INVALID_VALUE, i) || this;
3945
3959
  }
3946
3960
  return t;
3947
3961
  }(Ae)
3948
- ), gi = (
3962
+ ), vi = (
3949
3963
  /** @class */
3950
3964
  function(e) {
3951
3965
  C(t, e);
3952
- function t(n, r) {
3953
- return e.call(this, 'The intl string context variable "'.concat(n, '" was not provided to the string "').concat(r, '"'), J.MISSING_VALUE, r) || this;
3966
+ function t(r, n) {
3967
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), J.MISSING_VALUE, n) || this;
3954
3968
  }
3955
3969
  return t;
3956
3970
  }(Ae)
@@ -3958,17 +3972,17 @@ var Ae = (
3958
3972
  (function(e) {
3959
3973
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3960
3974
  })(S || (S = {}));
3961
- function yi(e) {
3962
- return e.length < 2 ? e : e.reduce(function(t, n) {
3963
- var r = t[t.length - 1];
3964
- return !r || r.type !== S.literal || n.type !== S.literal ? t.push(n) : r.value += n.value, t;
3975
+ function _i(e) {
3976
+ return e.length < 2 ? e : e.reduce(function(t, r) {
3977
+ var n = t[t.length - 1];
3978
+ return !n || n.type !== S.literal || r.type !== S.literal ? t.push(r) : n.value += r.value, t;
3965
3979
  }, []);
3966
3980
  }
3967
- function _i(e) {
3981
+ function Ei(e) {
3968
3982
  return typeof e == "function";
3969
3983
  }
3970
- function _e(e, t, n, r, i, o, a) {
3971
- if (e.length === 1 && gt(e[0]))
3984
+ function ve(e, t, r, n, i, o, a) {
3985
+ if (e.length === 1 && vt(e[0]))
3972
3986
  return [
3973
3987
  {
3974
3988
  type: S.literal,
@@ -3977,60 +3991,60 @@ function _e(e, t, n, r, i, o, a) {
3977
3991
  ];
3978
3992
  for (var s = [], h = 0, u = e; h < u.length; h++) {
3979
3993
  var l = u[h];
3980
- if (gt(l)) {
3994
+ if (vt(l)) {
3981
3995
  s.push({
3982
3996
  type: S.literal,
3983
3997
  value: l.value
3984
3998
  });
3985
3999
  continue;
3986
4000
  }
3987
- if (Fr(l)) {
4001
+ if (kn(l)) {
3988
4002
  typeof o == "number" && s.push({
3989
4003
  type: S.literal,
3990
- value: n.getNumberFormat(t).format(o)
4004
+ value: r.getNumberFormat(t).format(o)
3991
4005
  });
3992
4006
  continue;
3993
4007
  }
3994
- var c = l.value;
3995
- if (!(i && c in i))
3996
- throw new gi(c, a);
3997
- var f = i[c];
3998
- if (Gr(l)) {
3999
- (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), s.push({
4000
- type: typeof f == "string" ? S.literal : S.object,
4001
- value: f
4008
+ var f = l.value;
4009
+ if (!(i && f in i))
4010
+ throw new vi(f, a);
4011
+ var c = i[f];
4012
+ if (jn(l)) {
4013
+ (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), s.push({
4014
+ type: typeof c == "string" ? S.literal : S.object,
4015
+ value: c
4002
4016
  });
4003
4017
  continue;
4004
4018
  }
4005
- if (en(l)) {
4006
- var p = typeof l.style == "string" ? r.date[l.style] : ze(l.style) ? l.style.parsedOptions : void 0;
4019
+ if (nr(l)) {
4020
+ var d = typeof l.style == "string" ? n.date[l.style] : Ze(l.style) ? l.style.parsedOptions : void 0;
4007
4021
  s.push({
4008
4022
  type: S.literal,
4009
- value: n.getDateTimeFormat(t, p).format(f)
4023
+ value: r.getDateTimeFormat(t, d).format(c)
4010
4024
  });
4011
4025
  continue;
4012
4026
  }
4013
- if (tn(l)) {
4014
- var p = typeof l.style == "string" ? r.time[l.style] : ze(l.style) ? l.style.parsedOptions : r.time.medium;
4027
+ if (ir(l)) {
4028
+ var d = typeof l.style == "string" ? n.time[l.style] : Ze(l.style) ? l.style.parsedOptions : n.time.medium;
4015
4029
  s.push({
4016
4030
  type: S.literal,
4017
- value: n.getDateTimeFormat(t, p).format(f)
4031
+ value: r.getDateTimeFormat(t, d).format(c)
4018
4032
  });
4019
4033
  continue;
4020
4034
  }
4021
- if (Kt(l)) {
4022
- var p = typeof l.style == "string" ? r.number[l.style] : sn(l.style) ? l.style.parsedOptions : void 0;
4023
- p && p.scale && (f = f * (p.scale || 1)), s.push({
4035
+ if (rr(l)) {
4036
+ var d = typeof l.style == "string" ? n.number[l.style] : ur(l.style) ? l.style.parsedOptions : void 0;
4037
+ d && d.scale && (c = c * (d.scale || 1)), s.push({
4024
4038
  type: S.literal,
4025
- value: n.getNumberFormat(t, p).format(f)
4039
+ value: r.getNumberFormat(t, d).format(c)
4026
4040
  });
4027
4041
  continue;
4028
4042
  }
4029
- if (on(l)) {
4030
- var d = l.children, m = l.value, x = i[m];
4031
- if (!_i(x))
4032
- throw new bi(m, "function", a);
4033
- var T = _e(d, t, n, r, i, o), P = x(T.map(function(w) {
4043
+ if (ar(l)) {
4044
+ var p = l.children, m = l.value, E = i[m];
4045
+ if (!Ei(E))
4046
+ throw new yi(m, "function", a);
4047
+ var T = ve(p, t, r, n, i, o), P = E(T.map(function(w) {
4034
4048
  return w.value;
4035
4049
  }));
4036
4050
  Array.isArray(P) || (P = [P]), s.push.apply(s, P.map(function(w) {
@@ -4040,92 +4054,92 @@ function _e(e, t, n, r, i, o, a) {
4040
4054
  };
4041
4055
  }));
4042
4056
  }
4043
- if (nn(l)) {
4044
- var E = l.options[f] || l.options.other;
4045
- if (!E)
4046
- throw new Tt(l.value, f, Object.keys(l.options), a);
4047
- s.push.apply(s, _e(E.value, t, n, r, i));
4057
+ if (or(l)) {
4058
+ var x = l.options[c] || l.options.other;
4059
+ if (!x)
4060
+ throw new Ht(l.value, c, Object.keys(l.options), a);
4061
+ s.push.apply(s, ve(x.value, t, r, n, i));
4048
4062
  continue;
4049
4063
  }
4050
- if (rn(l)) {
4051
- var E = l.options["=".concat(f)];
4052
- if (!E) {
4064
+ if (sr(l)) {
4065
+ var x = l.options["=".concat(c)];
4066
+ if (!x) {
4053
4067
  if (!Intl.PluralRules)
4054
4068
  throw new Ae(`Intl.PluralRules is not available in this environment.
4055
4069
  Try polyfilling it using "@formatjs/intl-pluralrules"
4056
4070
  `, J.MISSING_INTL_API, a);
4057
- var O = n.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
4058
- E = l.options[O] || l.options.other;
4071
+ var O = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
4072
+ x = l.options[O] || l.options.other;
4059
4073
  }
4060
- if (!E)
4061
- throw new Tt(l.value, f, Object.keys(l.options), a);
4062
- s.push.apply(s, _e(E.value, t, n, r, i, f - (l.offset || 0)));
4074
+ if (!x)
4075
+ throw new Ht(l.value, c, Object.keys(l.options), a);
4076
+ s.push.apply(s, ve(x.value, t, r, n, i, c - (l.offset || 0)));
4063
4077
  continue;
4064
4078
  }
4065
4079
  }
4066
- return yi(s);
4080
+ return _i(s);
4067
4081
  }
4068
- function vi(e, t) {
4069
- return t ? y(y(y({}, e || {}), t || {}), Object.keys(e).reduce(function(n, r) {
4070
- return n[r] = y(y({}, e[r]), t[r] || {}), n;
4082
+ function xi(e, t) {
4083
+ return t ? y(y(y({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
4084
+ return r[n] = y(y({}, e[n]), t[n] || {}), r;
4071
4085
  }, {})) : e;
4072
4086
  }
4073
- function xi(e, t) {
4074
- return t ? Object.keys(e).reduce(function(n, r) {
4075
- return n[r] = vi(e[r], t[r]), n;
4087
+ function Si(e, t) {
4088
+ return t ? Object.keys(e).reduce(function(r, n) {
4089
+ return r[n] = xi(e[n], t[n]), r;
4076
4090
  }, y({}, e)) : e;
4077
4091
  }
4078
- function Ue(e) {
4092
+ function De(e) {
4079
4093
  return {
4080
4094
  create: function() {
4081
4095
  return {
4082
4096
  get: function(t) {
4083
4097
  return e[t];
4084
4098
  },
4085
- set: function(t, n) {
4086
- e[t] = n;
4099
+ set: function(t, r) {
4100
+ e[t] = r;
4087
4101
  }
4088
4102
  };
4089
4103
  }
4090
4104
  };
4091
4105
  }
4092
- function Ei(e) {
4106
+ function Ti(e) {
4093
4107
  return e === void 0 && (e = {
4094
4108
  number: {},
4095
4109
  dateTime: {},
4096
4110
  pluralRules: {}
4097
4111
  }), {
4098
- getNumberFormat: Ce(function() {
4099
- for (var t, n = [], r = 0; r < arguments.length; r++)
4100
- n[r] = arguments[r];
4101
- return new ((t = Intl.NumberFormat).bind.apply(t, Z([void 0], n, !1)))();
4112
+ getNumberFormat: $e(function() {
4113
+ for (var t, r = [], n = 0; n < arguments.length; n++)
4114
+ r[n] = arguments[n];
4115
+ return new ((t = Intl.NumberFormat).bind.apply(t, Z([void 0], r, !1)))();
4102
4116
  }, {
4103
- cache: Ue(e.number),
4104
- strategy: $e.variadic
4117
+ cache: De(e.number),
4118
+ strategy: Re.variadic
4105
4119
  }),
4106
- getDateTimeFormat: Ce(function() {
4107
- for (var t, n = [], r = 0; r < arguments.length; r++)
4108
- n[r] = arguments[r];
4109
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Z([void 0], n, !1)))();
4120
+ getDateTimeFormat: $e(function() {
4121
+ for (var t, r = [], n = 0; n < arguments.length; n++)
4122
+ r[n] = arguments[n];
4123
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Z([void 0], r, !1)))();
4110
4124
  }, {
4111
- cache: Ue(e.dateTime),
4112
- strategy: $e.variadic
4125
+ cache: De(e.dateTime),
4126
+ strategy: Re.variadic
4113
4127
  }),
4114
- getPluralRules: Ce(function() {
4115
- for (var t, n = [], r = 0; r < arguments.length; r++)
4116
- n[r] = arguments[r];
4117
- return new ((t = Intl.PluralRules).bind.apply(t, Z([void 0], n, !1)))();
4128
+ getPluralRules: $e(function() {
4129
+ for (var t, r = [], n = 0; n < arguments.length; n++)
4130
+ r[n] = arguments[n];
4131
+ return new ((t = Intl.PluralRules).bind.apply(t, Z([void 0], r, !1)))();
4118
4132
  }, {
4119
- cache: Ue(e.pluralRules),
4120
- strategy: $e.variadic
4133
+ cache: De(e.pluralRules),
4134
+ strategy: Re.variadic
4121
4135
  })
4122
4136
  };
4123
4137
  }
4124
- var Si = (
4138
+ var wi = (
4125
4139
  /** @class */
4126
4140
  function() {
4127
- function e(t, n, r, i) {
4128
- n === void 0 && (n = e.defaultLocale);
4141
+ function e(t, r, n, i) {
4142
+ r === void 0 && (r = e.defaultLocale);
4129
4143
  var o = this;
4130
4144
  if (this.formatterCache = {
4131
4145
  number: {},
@@ -4135,12 +4149,12 @@ var Si = (
4135
4149
  var u = o.formatToParts(h);
4136
4150
  if (u.length === 1)
4137
4151
  return u[0].value;
4138
- var l = u.reduce(function(c, f) {
4139
- return !c.length || f.type !== S.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
4152
+ var l = u.reduce(function(f, c) {
4153
+ return !f.length || c.type !== S.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
4140
4154
  }, []);
4141
4155
  return l.length <= 1 ? l[0] || "" : l;
4142
4156
  }, this.formatToParts = function(h) {
4143
- return _e(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
4157
+ return ve(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
4144
4158
  }, this.resolvedOptions = function() {
4145
4159
  var h;
4146
4160
  return {
@@ -4148,18 +4162,18 @@ var Si = (
4148
4162
  };
4149
4163
  }, this.getAst = function() {
4150
4164
  return o.ast;
4151
- }, this.locales = n, this.resolvedLocale = e.resolveLocale(n), typeof t == "string") {
4165
+ }, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
4152
4166
  if (this.message = t, !e.__parse)
4153
4167
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
4154
4168
  var a = i || {};
4155
4169
  a.formatters;
4156
- var s = tr(a, ["formatters"]);
4170
+ var s = nn(a, ["formatters"]);
4157
4171
  this.ast = e.__parse(t, y(y({}, s), { locale: this.resolvedLocale }));
4158
4172
  } else
4159
4173
  this.ast = t;
4160
4174
  if (!Array.isArray(this.ast))
4161
4175
  throw new TypeError("A message must be provided as a String or AST.");
4162
- this.formats = xi(e.formats, r), this.formatters = i && i.formatters || Ei(this.formatterCache);
4176
+ this.formats = Si(e.formats, n), this.formatters = i && i.formatters || Ti(this.formatterCache);
4163
4177
  }
4164
4178
  return Object.defineProperty(e, "defaultLocale", {
4165
4179
  get: function() {
@@ -4169,10 +4183,10 @@ var Si = (
4169
4183
  configurable: !0
4170
4184
  }), e.memoizedDefaultLocale = null, e.resolveLocale = function(t) {
4171
4185
  if (!(typeof Intl.Locale > "u")) {
4172
- var n = Intl.NumberFormat.supportedLocalesOf(t);
4173
- return n.length > 0 ? new Intl.Locale(n[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
4186
+ var r = Intl.NumberFormat.supportedLocalesOf(t);
4187
+ return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
4174
4188
  }
4175
- }, e.__parse = mi, e.formats = {
4189
+ }, e.__parse = gi, e.formats = {
4176
4190
  number: {
4177
4191
  integer: {
4178
4192
  maximumFractionDigits: 0
@@ -4233,113 +4247,113 @@ var Si = (
4233
4247
  }, e;
4234
4248
  }()
4235
4249
  );
4236
- function Ti(e, t) {
4250
+ function Hi(e, t) {
4237
4251
  if (t == null)
4238
4252
  return;
4239
4253
  if (t in e)
4240
4254
  return e[t];
4241
- const n = t.split(".");
4242
- let r = e;
4243
- for (let i = 0; i < n.length; i++)
4244
- if (typeof r == "object") {
4255
+ const r = t.split(".");
4256
+ let n = e;
4257
+ for (let i = 0; i < r.length; i++)
4258
+ if (typeof n == "object") {
4245
4259
  if (i > 0) {
4246
- const o = n.slice(i, n.length).join(".");
4247
- if (o in r) {
4248
- r = r[o];
4260
+ const o = r.slice(i, r.length).join(".");
4261
+ if (o in n) {
4262
+ n = n[o];
4249
4263
  break;
4250
4264
  }
4251
4265
  }
4252
- r = r[n[i]];
4266
+ n = n[r[i]];
4253
4267
  } else
4254
- r = void 0;
4255
- return r;
4268
+ n = void 0;
4269
+ return n;
4256
4270
  }
4257
- const U = {}, wi = (e, t, n) => n && (t in U || (U[t] = {}), e in U[t] || (U[t][e] = n), n), pn = (e, t) => {
4271
+ const U = {}, Bi = (e, t, r) => r && (t in U || (U[t] = {}), e in U[t] || (U[t][e] = r), r), br = (e, t) => {
4258
4272
  if (t == null)
4259
4273
  return;
4260
4274
  if (t in U && e in U[t])
4261
4275
  return U[t][e];
4262
- const n = Pe(t);
4263
- for (let r = 0; r < n.length; r++) {
4264
- const i = n[r], o = Bi(i, e);
4276
+ const r = Pe(t);
4277
+ for (let n = 0; n < r.length; n++) {
4278
+ const i = r[n], o = Pi(i, e);
4265
4279
  if (o)
4266
- return wi(e, t, o);
4280
+ return Bi(e, t, o);
4267
4281
  }
4268
4282
  };
4269
- let it;
4270
- const fe = Be({});
4271
- function Hi(e) {
4272
- return it[e] || null;
4283
+ let st;
4284
+ const ce = Be({});
4285
+ function Ai(e) {
4286
+ return st[e] || null;
4273
4287
  }
4274
- function mn(e) {
4275
- return e in it;
4288
+ function gr(e) {
4289
+ return e in st;
4276
4290
  }
4277
- function Bi(e, t) {
4278
- if (!mn(e))
4291
+ function Pi(e, t) {
4292
+ if (!gr(e))
4279
4293
  return null;
4280
- const n = Hi(e);
4281
- return Ti(n, t);
4294
+ const r = Ai(e);
4295
+ return Hi(r, t);
4282
4296
  }
4283
- function Ai(e) {
4297
+ function Oi(e) {
4284
4298
  if (e == null)
4285
4299
  return;
4286
4300
  const t = Pe(e);
4287
- for (let n = 0; n < t.length; n++) {
4288
- const r = t[n];
4289
- if (mn(r))
4290
- return r;
4301
+ for (let r = 0; r < t.length; r++) {
4302
+ const n = t[r];
4303
+ if (gr(n))
4304
+ return n;
4291
4305
  }
4292
4306
  }
4293
- function bn(e, ...t) {
4294
- delete U[e], fe.update((n) => (n[e] = Lr.all([n[e] || {}, ...t]), n));
4307
+ function yr(e, ...t) {
4308
+ delete U[e], ce.update((r) => (r[e] = Cn.all([r[e] || {}, ...t]), r));
4295
4309
  }
4296
4310
  ee(
4297
- [fe],
4311
+ [ce],
4298
4312
  ([e]) => Object.keys(e)
4299
4313
  );
4300
- fe.subscribe((e) => it = e);
4301
- const ve = {};
4302
- function Pi(e, t) {
4303
- ve[e].delete(t), ve[e].size === 0 && delete ve[e];
4314
+ ce.subscribe((e) => st = e);
4315
+ const _e = {};
4316
+ function Ii(e, t) {
4317
+ _e[e].delete(t), _e[e].size === 0 && delete _e[e];
4304
4318
  }
4305
- function gn(e) {
4306
- return ve[e];
4319
+ function vr(e) {
4320
+ return _e[e];
4307
4321
  }
4308
- function Oi(e) {
4322
+ function Li(e) {
4309
4323
  return Pe(e).map((t) => {
4310
- const n = gn(t);
4311
- return [t, n ? [...n] : []];
4324
+ const r = vr(t);
4325
+ return [t, r ? [...r] : []];
4312
4326
  }).filter(([, t]) => t.length > 0);
4313
4327
  }
4314
- function Ke(e) {
4328
+ function et(e) {
4315
4329
  return e == null ? !1 : Pe(e).some(
4316
4330
  (t) => {
4317
- var n;
4318
- return (n = gn(t)) == null ? void 0 : n.size;
4331
+ var r;
4332
+ return (r = vr(t)) == null ? void 0 : r.size;
4319
4333
  }
4320
4334
  );
4321
4335
  }
4322
- function Ii(e, t) {
4336
+ function Ni(e, t) {
4323
4337
  return Promise.all(
4324
- t.map((r) => (Pi(e, r), r().then((i) => i.default || i)))
4325
- ).then((r) => bn(e, ...r));
4338
+ t.map((n) => (Ii(e, n), n().then((i) => i.default || i)))
4339
+ ).then((n) => yr(e, ...n));
4326
4340
  }
4327
4341
  const ie = {};
4328
- function yn(e) {
4329
- if (!Ke(e))
4342
+ function _r(e) {
4343
+ if (!et(e))
4330
4344
  return e in ie ? ie[e] : Promise.resolve();
4331
- const t = Oi(e);
4345
+ const t = Li(e);
4332
4346
  return ie[e] = Promise.all(
4333
4347
  t.map(
4334
- ([n, r]) => Ii(n, r)
4348
+ ([r, n]) => Ni(r, n)
4335
4349
  )
4336
4350
  ).then(() => {
4337
- if (Ke(e))
4338
- return yn(e);
4351
+ if (et(e))
4352
+ return _r(e);
4339
4353
  delete ie[e];
4340
4354
  }), ie[e];
4341
4355
  }
4342
- const Li = {
4356
+ const Mi = {
4343
4357
  number: {
4344
4358
  scientific: { notation: "scientific" },
4345
4359
  engineering: { notation: "engineering" },
@@ -4368,136 +4382,136 @@ const Li = {
4368
4382
  timeZoneName: "short"
4369
4383
  }
4370
4384
  }
4371
- }, Ni = {
4385
+ }, Ci = {
4372
4386
  fallbackLocale: null,
4373
4387
  loadingDelay: 200,
4374
- formats: Li,
4388
+ formats: Mi,
4375
4389
  warnOnMissingMessages: !0,
4376
4390
  handleMissingMessage: void 0,
4377
4391
  ignoreTag: !0
4378
- }, Mi = Ni;
4392
+ }, $i = Ci;
4379
4393
  function Y() {
4380
- return Mi;
4381
- }
4382
- const De = Be(!1);
4383
- var Ci = Object.defineProperty, $i = Object.defineProperties, Ri = Object.getOwnPropertyDescriptors, wt = Object.getOwnPropertySymbols, Ui = Object.prototype.hasOwnProperty, Di = Object.prototype.propertyIsEnumerable, Ht = (e, t, n) => t in e ? Ci(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Gi = (e, t) => {
4384
- for (var n in t)
4385
- Ui.call(t, n) && Ht(e, n, t[n]);
4386
- if (wt)
4387
- for (var n of wt(t))
4388
- Di.call(t, n) && Ht(e, n, t[n]);
4394
+ return $i;
4395
+ }
4396
+ const Ge = Be(!1);
4397
+ var Ri = Object.defineProperty, Ui = Object.defineProperties, Di = Object.getOwnPropertyDescriptors, Bt = Object.getOwnPropertySymbols, Gi = Object.prototype.hasOwnProperty, Fi = Object.prototype.propertyIsEnumerable, At = (e, t, r) => t in e ? Ri(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ji = (e, t) => {
4398
+ for (var r in t || (t = {}))
4399
+ Gi.call(t, r) && At(e, r, t[r]);
4400
+ if (Bt)
4401
+ for (var r of Bt(t))
4402
+ Fi.call(t, r) && At(e, r, t[r]);
4389
4403
  return e;
4390
- }, Fi = (e, t) => $i(e, Ri(t));
4391
- let et;
4404
+ }, ki = (e, t) => Ui(e, Di(t));
4405
+ let tt;
4392
4406
  const Te = Be(null);
4393
- function Bt(e) {
4394
- return e.split("-").map((t, n, r) => r.slice(0, n + 1).join("-")).reverse();
4407
+ function Pt(e) {
4408
+ return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4395
4409
  }
4396
4410
  function Pe(e, t = Y().fallbackLocale) {
4397
- const n = Bt(e);
4398
- return t ? [.../* @__PURE__ */ new Set([...n, ...Bt(t)])] : n;
4411
+ const r = Pt(e);
4412
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Pt(t)])] : r;
4399
4413
  }
4400
4414
  function F() {
4401
- return et ?? void 0;
4415
+ return tt ?? void 0;
4402
4416
  }
4403
4417
  Te.subscribe((e) => {
4404
- et = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4418
+ tt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4405
4419
  });
4406
- const ji = (e) => {
4407
- if (e && Ai(e) && Ke(e)) {
4420
+ const Vi = (e) => {
4421
+ if (e && Oi(e) && et(e)) {
4408
4422
  const { loadingDelay: t } = Y();
4409
- let n;
4410
- return typeof window < "u" && F() != null && t ? n = window.setTimeout(
4411
- () => De.set(!0),
4423
+ let r;
4424
+ return typeof window < "u" && F() != null && t ? r = window.setTimeout(
4425
+ () => Ge.set(!0),
4412
4426
  t
4413
- ) : De.set(!0), yn(e).then(() => {
4427
+ ) : Ge.set(!0), _r(e).then(() => {
4414
4428
  Te.set(e);
4415
4429
  }).finally(() => {
4416
- clearTimeout(n), De.set(!1);
4430
+ clearTimeout(r), Ge.set(!1);
4417
4431
  });
4418
4432
  }
4419
4433
  return Te.set(e);
4420
- }, te = Fi(Gi({}, Te), {
4421
- set: ji
4434
+ }, te = ki(ji({}, Te), {
4435
+ set: Vi
4422
4436
  }), Oe = (e) => {
4423
4437
  const t = /* @__PURE__ */ Object.create(null);
4424
- return (r) => {
4425
- const i = JSON.stringify(r);
4426
- return i in t ? t[i] : t[i] = e(r);
4438
+ return (n) => {
4439
+ const i = JSON.stringify(n);
4440
+ return i in t ? t[i] : t[i] = e(n);
4427
4441
  };
4428
4442
  };
4429
- var ki = Object.defineProperty, we = Object.getOwnPropertySymbols, _n = Object.prototype.hasOwnProperty, vn = Object.prototype.propertyIsEnumerable, At = (e, t, n) => t in e ? ki(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, ot = (e, t) => {
4430
- for (var n in t || (t = {}))
4431
- _n.call(t, n) && At(e, n, t[n]);
4443
+ var Xi = Object.defineProperty, we = Object.getOwnPropertySymbols, Er = Object.prototype.hasOwnProperty, xr = Object.prototype.propertyIsEnumerable, Ot = (e, t, r) => t in e ? Xi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, at = (e, t) => {
4444
+ for (var r in t || (t = {}))
4445
+ Er.call(t, r) && Ot(e, r, t[r]);
4432
4446
  if (we)
4433
- for (var n of we(t))
4434
- vn.call(t, n) && At(e, n, t[n]);
4447
+ for (var r of we(t))
4448
+ xr.call(t, r) && Ot(e, r, t[r]);
4435
4449
  return e;
4436
- }, ne = (e, t) => {
4437
- var n = {};
4438
- for (var r in e)
4439
- _n.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
4450
+ }, re = (e, t) => {
4451
+ var r = {};
4452
+ for (var n in e)
4453
+ Er.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4440
4454
  if (e != null && we)
4441
- for (var r of we(e))
4442
- t.indexOf(r) < 0 && vn.call(e, r) && (n[r] = e[r]);
4443
- return n;
4455
+ for (var n of we(e))
4456
+ t.indexOf(n) < 0 && xr.call(e, n) && (r[n] = e[n]);
4457
+ return r;
4444
4458
  };
4445
4459
  const ue = (e, t) => {
4446
- const { formats: n } = Y();
4447
- if (e in n && t in n[e])
4448
- return n[e][t];
4460
+ const { formats: r } = Y();
4461
+ if (e in r && t in r[e])
4462
+ return r[e][t];
4449
4463
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4450
- }, Vi = Oe(
4464
+ }, Wi = Oe(
4451
4465
  (e) => {
4452
- var t = e, { locale: n, format: r } = t, i = ne(t, ["locale", "format"]);
4453
- if (n == null)
4466
+ var t = e, { locale: r, format: n } = t, i = re(t, ["locale", "format"]);
4467
+ if (r == null)
4454
4468
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4455
- return r && (i = ue("number", r)), new Intl.NumberFormat(n, i);
4469
+ return n && (i = ue("number", n)), new Intl.NumberFormat(r, i);
4456
4470
  }
4457
- ), Xi = Oe(
4471
+ ), zi = Oe(
4458
4472
  (e) => {
4459
- var t = e, { locale: n, format: r } = t, i = ne(t, ["locale", "format"]);
4460
- if (n == null)
4473
+ var t = e, { locale: r, format: n } = t, i = re(t, ["locale", "format"]);
4474
+ if (r == null)
4461
4475
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4462
- return r ? i = ue("date", r) : Object.keys(i).length === 0 && (i = ue("date", "short")), new Intl.DateTimeFormat(n, i);
4476
+ return n ? i = ue("date", n) : Object.keys(i).length === 0 && (i = ue("date", "short")), new Intl.DateTimeFormat(r, i);
4463
4477
  }
4464
- ), Wi = Oe(
4478
+ ), Zi = Oe(
4465
4479
  (e) => {
4466
- var t = e, { locale: n, format: r } = t, i = ne(t, ["locale", "format"]);
4467
- if (n == null)
4480
+ var t = e, { locale: r, format: n } = t, i = re(t, ["locale", "format"]);
4481
+ if (r == null)
4468
4482
  throw new Error(
4469
4483
  '[svelte-i18n] A "locale" must be set to format time values'
4470
4484
  );
4471
- return r ? i = ue("time", r) : Object.keys(i).length === 0 && (i = ue("time", "short")), new Intl.DateTimeFormat(n, i);
4485
+ return n ? i = ue("time", n) : Object.keys(i).length === 0 && (i = ue("time", "short")), new Intl.DateTimeFormat(r, i);
4472
4486
  }
4473
- ), zi = (e = {}) => {
4487
+ ), qi = (e = {}) => {
4474
4488
  var t = e, {
4475
- locale: n = F()
4476
- } = t, r = ne(t, [
4489
+ locale: r = F()
4490
+ } = t, n = re(t, [
4477
4491
  "locale"
4478
4492
  ]);
4479
- return Vi(ot({ locale: n }, r));
4480
- }, Zi = (e = {}) => {
4493
+ return Wi(at({ locale: r }, n));
4494
+ }, Qi = (e = {}) => {
4481
4495
  var t = e, {
4482
- locale: n = F()
4483
- } = t, r = ne(t, [
4496
+ locale: r = F()
4497
+ } = t, n = re(t, [
4484
4498
  "locale"
4485
4499
  ]);
4486
- return Xi(ot({ locale: n }, r));
4487
- }, qi = (e = {}) => {
4500
+ return zi(at({ locale: r }, n));
4501
+ }, Ji = (e = {}) => {
4488
4502
  var t = e, {
4489
- locale: n = F()
4490
- } = t, r = ne(t, [
4503
+ locale: r = F()
4504
+ } = t, n = re(t, [
4491
4505
  "locale"
4492
4506
  ]);
4493
- return Wi(ot({ locale: n }, r));
4494
- }, Qi = Oe(
4507
+ return Zi(at({ locale: r }, n));
4508
+ }, Yi = Oe(
4495
4509
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4496
- (e, t = F()) => new Si(e, t, Y().formats, {
4510
+ (e, t = F()) => new wi(e, t, Y().formats, {
4497
4511
  ignoreTag: Y().ignoreTag
4498
4512
  })
4499
- ), Ji = (e, t = {}) => {
4500
- var n, r, i, o;
4513
+ ), Ki = (e, t = {}) => {
4514
+ var r, n, i, o;
4501
4515
  let a = t;
4502
4516
  typeof e == "object" && (a = e, e = a.id);
4503
4517
  const {
@@ -4509,70 +4523,70 @@ const ue = (e, t) => {
4509
4523
  throw new Error(
4510
4524
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4511
4525
  );
4512
- let l = pn(e, h);
4526
+ let l = br(e, h);
4513
4527
  if (!l)
4514
- l = (o = (i = (r = (n = Y()).handleMissingMessage) == null ? void 0 : r.call(n, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4528
+ l = (o = (i = (n = (r = Y()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4515
4529
  else if (typeof l != "string")
4516
4530
  return console.warn(
4517
4531
  `[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.`
4518
4532
  ), l;
4519
4533
  if (!s)
4520
4534
  return l;
4521
- let c = l;
4535
+ let f = l;
4522
4536
  try {
4523
- c = Qi(l, h).format(s);
4524
- } catch (f) {
4525
- f instanceof Error && console.warn(
4537
+ f = Yi(l, h).format(s);
4538
+ } catch (c) {
4539
+ c instanceof Error && console.warn(
4526
4540
  `[svelte-i18n] Message "${e}" has syntax error:`,
4527
- f.message
4541
+ c.message
4528
4542
  );
4529
4543
  }
4530
- return c;
4531
- }, Yi = (e, t) => qi(t).format(e), Ki = (e, t) => Zi(t).format(e), eo = (e, t) => zi(t).format(e), to = (e, t = F()) => pn(e, t), no = ee([te, fe], () => Ji);
4532
- ee([te], () => Yi);
4533
- ee([te], () => Ki);
4544
+ return f;
4545
+ }, eo = (e, t) => Ji(t).format(e), to = (e, t) => Qi(t).format(e), ro = (e, t) => qi(t).format(e), no = (e, t = F()) => br(e, t), io = ee([te, ce], () => Ki);
4534
4546
  ee([te], () => eo);
4535
- ee([te, fe], () => to);
4536
- window.emWidgets = { topic: mr };
4537
- const Do = (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)), xn = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC", Go = (e) => e.match(/CustomNative/i) ? "NativeApp" : xn(e) === "PC" ? "Desktop" : "Mobile";
4538
- function Fo(e, t) {
4539
- const n = () => !0;
4547
+ ee([te], () => to);
4548
+ ee([te], () => ro);
4549
+ ee([te, ce], () => no);
4550
+ window.emWidgets = { topic: yn };
4551
+ const Fo = (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)), Sr = (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" : Sr(e) === "PC" ? "Desktop" : "Mobile";
4552
+ function ko(e, t) {
4553
+ const r = () => !0;
4540
4554
  switch (typeof e) {
4541
4555
  case "string": {
4542
- const r = e.trim();
4543
- return r && isFinite(Number(r)) && n();
4556
+ const n = e.trim();
4557
+ return n && isFinite(Number(n)) && r();
4544
4558
  }
4545
4559
  case "number":
4546
- return isFinite(e) && n();
4560
+ return isFinite(e) && r();
4547
4561
  default:
4548
4562
  return !1;
4549
4563
  }
4550
4564
  }
4551
- function Pt(e, t) {
4565
+ function It(e, t) {
4552
4566
  if (e) {
4553
- const n = document.createElement("style");
4554
- n.innerHTML = t, e.appendChild(n);
4567
+ const r = document.createElement("style");
4568
+ r.innerHTML = t, e.appendChild(r);
4555
4569
  }
4556
4570
  }
4557
- function ro(e, t) {
4558
- const n = new URL(t);
4559
- fetch(n.href).then((r) => r.text()).then((r) => {
4571
+ function oo(e, t) {
4572
+ const r = new URL(t);
4573
+ fetch(r.href).then((n) => n.text()).then((n) => {
4560
4574
  const i = document.createElement("style");
4561
- i.innerHTML = r, e && e.appendChild(i);
4562
- }).catch((r) => {
4563
- console.error("There was an error while trying to load client styling from URL", r);
4575
+ i.innerHTML = n, e && e.appendChild(i);
4576
+ }).catch((n) => {
4577
+ console.error("There was an error while trying to load client styling from URL", n);
4564
4578
  });
4565
4579
  }
4566
- function io(e, t, n) {
4580
+ function so(e, t, r) {
4567
4581
  if (window.emMessageBus) {
4568
- const r = document.createElement("style");
4582
+ const n = document.createElement("style");
4569
4583
  window.emMessageBus.subscribe(t, (i) => {
4570
- r.innerHTML = i, e && e.appendChild(r);
4584
+ n.innerHTML = i, e && e.appendChild(n);
4571
4585
  });
4572
4586
  }
4573
4587
  }
4574
- const oo = (e, t = {}) => {
4575
- const n = new CustomEvent("track-custom-event", {
4588
+ const ao = (e, t = {}) => {
4589
+ const r = new CustomEvent("track-custom-event", {
4576
4590
  detail: {
4577
4591
  type: e,
4578
4592
  data: t
@@ -4580,15 +4594,15 @@ const oo = (e, t = {}) => {
4580
4594
  bubbles: !0,
4581
4595
  composed: !0
4582
4596
  });
4583
- document.dispatchEvent(n);
4597
+ document.dispatchEvent(r);
4584
4598
  };
4585
- function Ot(e, t) {
4586
- bn(e, t);
4599
+ function Lt(e, t) {
4600
+ yr(e, t);
4587
4601
  }
4588
- function so(e) {
4602
+ function uo(e) {
4589
4603
  te.set(e);
4590
4604
  }
4591
- const It = {
4605
+ const Nt = {
4592
4606
  en: {
4593
4607
  logoutButton: "Logout"
4594
4608
  },
@@ -4623,21 +4637,21 @@ const It = {
4623
4637
  logoutButton: "Logout"
4624
4638
  }
4625
4639
  };
4626
- function ao(e) {
4627
- On(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))}");
4640
+ function ho(e) {
4641
+ Lr(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))}");
4628
4642
  }
4629
- function uo(e) {
4630
- let t, n, r, i = (
4643
+ function lo(e) {
4644
+ let t, r, n, i = (
4631
4645
  /*$_*/
4632
4646
  e[2]("logoutButton") + ""
4633
4647
  ), o, a, s;
4634
4648
  return {
4635
4649
  c() {
4636
- t = I("div"), n = I("button"), r = I("span"), o = le(i), B(t, "class", "GeneralLogout");
4650
+ t = I("div"), r = I("button"), n = I("span"), o = le(i), B(t, "class", "GeneralLogout");
4637
4651
  },
4638
4652
  m(h, u) {
4639
- K(h, t, u), A(t, n), A(n, r), A(r, o), a || (s = Dt(
4640
- n,
4653
+ K(h, t, u), A(t, r), A(r, n), A(n, o), a || (s = Ft(
4654
+ r,
4641
4655
  "click",
4642
4656
  /*click_handler_1*/
4643
4657
  e[14]
@@ -4646,19 +4660,19 @@ function uo(e) {
4646
4660
  p(h, u) {
4647
4661
  u & /*$_*/
4648
4662
  4 && i !== (i = /*$_*/
4649
- h[2]("logoutButton") + "") && Gt(o, i);
4663
+ h[2]("logoutButton") + "") && jt(o, i);
4650
4664
  },
4651
4665
  d(h) {
4652
4666
  h && D(t), a = !1, s();
4653
4667
  }
4654
4668
  };
4655
4669
  }
4656
- function ho(e) {
4657
- let t, n, r, i, o, a, s, h, u, l, c, f = !/*isMobile*/
4658
- e[3] && lo(e);
4670
+ function co(e) {
4671
+ let t, r, n, i, o, a, s, h, u, l, f, c = !/*isMobile*/
4672
+ e[3] && fo(e);
4659
4673
  return {
4660
4674
  c() {
4661
- t = I("p"), n = I("span"), r = V("svg"), i = V("defs"), o = V("style"), a = le(".a88316b4-2478-4a69-b2eb-d32a5fb419dd{fill:var(--emw--color-white, #FFFFFF);}"), s = V("path"), h = V("path"), u = Ln(), f && f.c(), B(s, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd"), B(s, "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(h, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd"), B(h, "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"), Mn(n, "width", /*isMobile*/
4675
+ t = I("p"), r = I("span"), n = V("svg"), i = V("defs"), o = V("style"), a = le(".a88316b4-2478-4a69-b2eb-d32a5fb419dd{fill:var(--emw--color-white, #FFFFFF);}"), s = V("path"), h = V("path"), u = Mr(), c && c.c(), B(s, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd"), B(s, "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(h, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd"), B(h, "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"), $r(r, "width", /*isMobile*/
4662
4676
  e[3] ? (
4663
4677
  /*mediaQuery*/
4664
4678
  e[4].matches ? "20px" : "24px"
@@ -4667,54 +4681,54 @@ function ho(e) {
4667
4681
  (e[4].matches && /*isMobile*/
4668
4682
  e[3] ? "PlayerAccountMenuItemBoxTablet" : ""));
4669
4683
  },
4670
- m(p, d) {
4671
- K(p, t, d), A(t, n), A(n, r), A(r, i), A(i, o), A(o, a), A(r, s), A(r, h), A(t, u), f && f.m(t, null), l || (c = Dt(
4684
+ m(d, p) {
4685
+ K(d, t, p), A(t, r), A(r, n), A(n, i), A(i, o), A(o, a), A(n, s), A(n, h), A(t, u), c && c.m(t, null), l || (f = Ft(
4672
4686
  t,
4673
4687
  "click",
4674
4688
  /*click_handler*/
4675
4689
  e[13]
4676
4690
  ), l = !0);
4677
4691
  },
4678
- p(p, d) {
4692
+ p(d, p) {
4679
4693
  /*isMobile*/
4680
- p[3] || f.p(p, d);
4694
+ d[3] || c.p(d, p);
4681
4695
  },
4682
- d(p) {
4683
- p && D(t), f && f.d(), l = !1, c();
4696
+ d(d) {
4697
+ d && D(t), c && c.d(), l = !1, f();
4684
4698
  }
4685
4699
  };
4686
4700
  }
4687
- function lo(e) {
4688
- let t, n = (
4701
+ function fo(e) {
4702
+ let t, r = (
4689
4703
  /*$_*/
4690
4704
  e[2]("logoutButton") + ""
4691
- ), r;
4705
+ ), n;
4692
4706
  return {
4693
4707
  c() {
4694
- t = I("span"), r = le(n), B(t, "class", "PlayerLogoutText");
4708
+ t = I("span"), n = le(r), B(t, "class", "PlayerLogoutText");
4695
4709
  },
4696
4710
  m(i, o) {
4697
- K(i, t, o), A(t, r);
4711
+ K(i, t, o), A(t, n);
4698
4712
  },
4699
4713
  p(i, o) {
4700
4714
  o & /*$_*/
4701
- 4 && n !== (n = /*$_*/
4702
- i[2]("logoutButton") + "") && Gt(r, n);
4715
+ 4 && r !== (r = /*$_*/
4716
+ i[2]("logoutButton") + "") && jt(n, r);
4703
4717
  },
4704
4718
  d(i) {
4705
4719
  i && D(t);
4706
4720
  }
4707
4721
  };
4708
4722
  }
4709
- function fo(e) {
4723
+ function po(e) {
4710
4724
  let t;
4711
- function n(o, a) {
4725
+ function r(o, a) {
4712
4726
  return (
4713
4727
  /*buttonlocation*/
4714
- o[0] === "PlayerAccountMenu" ? ho : uo
4728
+ o[0] === "PlayerAccountMenu" ? co : lo
4715
4729
  );
4716
4730
  }
4717
- let r = n(e), i = r(e);
4731
+ let n = r(e), i = n(e);
4718
4732
  return {
4719
4733
  c() {
4720
4734
  t = I("div"), i.c();
@@ -4723,7 +4737,7 @@ function fo(e) {
4723
4737
  K(o, t, a), i.m(t, null), e[15](t);
4724
4738
  },
4725
4739
  p(o, [a]) {
4726
- r === (r = n(o)) && i ? i.p(o, a) : (i.d(1), i = r(o), i && (i.c(), i.m(t, null)));
4740
+ n === (n = r(o)) && i ? i.p(o, a) : (i.d(1), i = n(o), i && (i.c(), i.m(t, null)));
4727
4741
  },
4728
4742
  i: H,
4729
4743
  o: H,
@@ -4732,78 +4746,78 @@ function fo(e) {
4732
4746
  }
4733
4747
  };
4734
4748
  }
4735
- function co(e, t, n) {
4736
- let r;
4737
- Bn(e, no, (_) => n(2, r = _));
4738
- let { endpoint: i = "" } = t, { session: o = "" } = t, { buttonlocation: a = "" } = t, { lang: s = "" } = t, { mbsource: h } = t, { clientstyling: u = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: c = "" } = t, f = "", p = !1, d, m = window.navigator.userAgent, x = xn(m) !== "PC";
4749
+ function mo(e, t, r) {
4750
+ let n;
4751
+ Pr(e, io, (v) => r(2, n = v));
4752
+ let { endpoint: i = "" } = t, { session: o = "" } = t, { buttonlocation: a = "" } = t, { lang: s = "" } = t, { mbsource: h } = t, { clientstyling: u = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: f = "" } = t, c = "", d = !1, p, m = window.navigator.userAgent, E = Sr(m) !== "PC";
4739
4753
  const T = window.matchMedia("(min-width: 768px)"), P = () => {
4740
- fetch(c).then((R) => R.json()).then((R) => {
4754
+ fetch(f).then((R) => R.json()).then((R) => {
4741
4755
  Object.keys(R).forEach((Ie) => {
4742
- Ot(Ie, R[Ie]);
4756
+ Lt(Ie, R[Ie]);
4743
4757
  });
4744
4758
  }).catch((R) => {
4745
4759
  console.log(R);
4746
4760
  });
4747
4761
  };
4748
- Object.keys(It).forEach((_) => {
4749
- Ot(_, It[_]);
4762
+ Object.keys(Nt).forEach((v) => {
4763
+ Lt(v, Nt[v]);
4750
4764
  });
4751
- const E = () => {
4752
- let _ = new Headers();
4753
- _.append("Content-type", "application/json"), _.append("X-SessionID", o);
4754
- let R = { method: "DELETE", headers: _ };
4765
+ const x = () => {
4766
+ let v = new Headers();
4767
+ v.append("Content-type", "application/json"), v.append("X-SessionID", o);
4768
+ let R = { method: "DELETE", headers: v };
4755
4769
  fetch(`${i}/v1/player/session/player`, R).then((Ie) => {
4756
- window.postMessage({ type: "LogoutSuccessfull" }, window.location.href), oo("logged_out", {});
4770
+ window.postMessage({ type: "LogoutSuccessfull" }, window.location.href), ao("logged_out", {});
4757
4771
  });
4758
- }, O = () => (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 = () => {
4759
- so(s);
4772
+ }, O = () => (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), w = () => {
4773
+ uo(s);
4760
4774
  };
4761
- jn(() => () => {
4775
+ Vr(() => () => {
4762
4776
  });
4763
- const $ = () => E(), ce = () => E();
4764
- function Sn(_) {
4765
- Ge[_ ? "unshift" : "push"](() => {
4766
- d = _, n(1, d);
4777
+ const $ = () => x(), fe = () => x();
4778
+ function wr(v) {
4779
+ Fe[v ? "unshift" : "push"](() => {
4780
+ p = v, r(1, p);
4767
4781
  });
4768
4782
  }
4769
- return e.$$set = (_) => {
4770
- "endpoint" in _ && n(6, i = _.endpoint), "session" in _ && n(7, o = _.session), "buttonlocation" in _ && n(0, a = _.buttonlocation), "lang" in _ && n(8, s = _.lang), "mbsource" in _ && n(9, h = _.mbsource), "clientstyling" in _ && n(10, u = _.clientstyling), "clientstylingurl" in _ && n(11, l = _.clientstylingurl), "translationurl" in _ && n(12, c = _.translationurl);
4783
+ return e.$$set = (v) => {
4784
+ "endpoint" in v && r(6, i = v.endpoint), "session" in v && r(7, o = v.session), "buttonlocation" in v && r(0, a = v.buttonlocation), "lang" in v && r(8, s = v.lang), "mbsource" in v && r(9, h = v.mbsource), "clientstyling" in v && r(10, u = v.clientstyling), "clientstylingurl" in v && r(11, l = v.clientstylingurl), "translationurl" in v && r(12, f = v.translationurl);
4771
4785
  }, e.$$.update = () => {
4772
4786
  e.$$.dirty & /*endpoint, session, buttonlocation*/
4773
4787
  193 && i && o && a && O(), e.$$.dirty & /*lang*/
4774
4788
  256 && s && w(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4775
- 1026 && u && d && Pt(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4776
- 1026 && u && d && Pt(d, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4777
- 2050 && l && d && ro(d, l), e.$$.dirty & /*mbsource, customStylingContainer*/
4778
- 514 && h && d && io(d, `${h}.Style`), e.$$.dirty & /*translationurl*/
4779
- 4096 && c && P();
4789
+ 1026 && u && p && It(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4790
+ 1026 && u && p && It(p, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4791
+ 2050 && l && p && oo(p, l), e.$$.dirty & /*mbsource, customStylingContainer*/
4792
+ 514 && h && p && so(p, `${h}.Style`), e.$$.dirty & /*translationurl*/
4793
+ 4096 && f && P();
4780
4794
  }, [
4781
4795
  a,
4782
- d,
4783
- r,
4784
- x,
4785
- T,
4796
+ p,
4797
+ n,
4786
4798
  E,
4799
+ T,
4800
+ x,
4787
4801
  i,
4788
4802
  o,
4789
4803
  s,
4790
4804
  h,
4791
4805
  u,
4792
4806
  l,
4793
- c,
4807
+ f,
4794
4808
  $,
4795
- ce,
4796
- Sn
4809
+ fe,
4810
+ wr
4797
4811
  ];
4798
4812
  }
4799
- class En extends Kn {
4813
+ class Tr extends tn {
4800
4814
  constructor(t) {
4801
- super(), Jn(
4815
+ super(), Kr(
4802
4816
  this,
4803
4817
  t,
4804
- co,
4805
- fo,
4806
- Nt,
4818
+ mo,
4819
+ po,
4820
+ Ct,
4807
4821
  {
4808
4822
  endpoint: 6,
4809
4823
  session: 7,
@@ -4814,7 +4828,7 @@ class En extends Kn {
4814
4828
  clientstylingurl: 11,
4815
4829
  translationurl: 12
4816
4830
  },
4817
- ao
4831
+ ho
4818
4832
  );
4819
4833
  }
4820
4834
  get endpoint() {
@@ -4866,74 +4880,74 @@ class En extends Kn {
4866
4880
  this.$$set({ translationurl: t }), L();
4867
4881
  }
4868
4882
  }
4869
- Yn(En, { endpoint: {}, session: {}, buttonlocation: {}, lang: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
4870
- const jo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4883
+ en(Tr, { endpoint: {}, session: {}, buttonlocation: {}, lang: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
4884
+ const Vo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4871
4885
  __proto__: null,
4872
- default: En
4886
+ default: Tr
4873
4887
  }, Symbol.toStringTag, { value: "Module" }));
4874
4888
  export {
4875
4889
  te as $,
4876
- io as A,
4877
- no as B,
4878
- fe as C,
4879
- Go as D,
4880
- Lo as E,
4881
- Eo as F,
4882
- vo as G,
4883
- mo as H,
4884
- go as I,
4885
- yo as J,
4886
- bo as K,
4887
- Wn as L,
4888
- Co as M,
4889
- So as N,
4890
- Ro as O,
4891
- xo as P,
4892
- Po as Q,
4893
- Ho as R,
4894
- Kn as S,
4895
- Bo as T,
4890
+ It as A,
4891
+ io as B,
4892
+ ce as C,
4893
+ jo as D,
4894
+ Mo as E,
4895
+ To as F,
4896
+ xo as G,
4897
+ go as H,
4898
+ vo as I,
4899
+ _o as J,
4900
+ yo as K,
4901
+ Zr as L,
4902
+ Ro as M,
4903
+ wo as N,
4904
+ Do as O,
4905
+ So as P,
4906
+ Io as Q,
4907
+ Ao as R,
4908
+ tn as S,
4909
+ Po as T,
4896
4910
  Se as U,
4897
- Ao as V,
4911
+ Oo as V,
4898
4912
  he as W,
4899
- Do as X,
4900
- Mn as Y,
4901
- _o as Z,
4902
- Mo as _,
4903
- bn as a,
4904
- No as a0,
4905
- Io as a1,
4906
- po as a2,
4907
- Tn as a3,
4908
- $o as a4,
4909
- Uo as a5,
4910
- gr as a6,
4911
- Fo as a7,
4912
- wo as a8,
4913
- jo as a9,
4914
- On as b,
4915
- Yn as c,
4916
- Ln as d,
4913
+ Fo as X,
4914
+ $r as Y,
4915
+ Eo as Z,
4916
+ $o as _,
4917
+ yr as a,
4918
+ Co as a0,
4919
+ No as a1,
4920
+ bo as a2,
4921
+ Hr as a3,
4922
+ Uo as a4,
4923
+ Go as a5,
4924
+ _n as a6,
4925
+ ko as a7,
4926
+ Bo as a8,
4927
+ Vo as a9,
4928
+ Lr as b,
4929
+ en as c,
4930
+ Mr as d,
4917
4931
  I as e,
4918
4932
  L as f,
4919
4933
  B as g,
4920
- To as h,
4921
- Jn as i,
4922
- Oo as j,
4934
+ Ho as h,
4935
+ Kr as i,
4936
+ Lo as j,
4923
4937
  K as k,
4924
4938
  A as l,
4925
- Dt as m,
4926
- Gt as n,
4939
+ Ft as m,
4940
+ jt as n,
4927
4941
  H as o,
4928
4942
  D as p,
4929
- Bn as q,
4943
+ Pr as q,
4930
4944
  G as r,
4931
- Nt as s,
4945
+ Ct as s,
4932
4946
  le as t,
4933
- xn as u,
4934
- jn as v,
4935
- V as w,
4936
- Ge as x,
4937
- Pt as y,
4938
- ro as z
4947
+ Sr as u,
4948
+ Vr as v,
4949
+ oo as w,
4950
+ so as x,
4951
+ V as y,
4952
+ Fe as z
4939
4953
  };