@everymatrix/player-account-controller-nd 1.55.0 → 1.56.2

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 (208) hide show
  1. package/components/GeneralLogout-B0tDLggX.cjs +21 -0
  2. package/components/{GeneralLogout-Ve_dOAMA.js → GeneralLogout-Bey9GDpf.js} +987 -935
  3. package/components/{GeneralLogout-BZhvD1EQ.js → GeneralLogout-YiF0hTAh.js} +991 -939
  4. package/components/PlayerAccountBettingHistory-Db9Bi7uC.js +328 -0
  5. package/components/PlayerAccountBettingHistory-QrFClf-q.cjs +1 -0
  6. package/components/PlayerAccountBettingHistory-e7BZnvlA.js +329 -0
  7. package/components/{PlayerAccountBiometrics-fQlNKCoA.js → PlayerAccountBiometrics-9yKUwb5y.js} +125 -126
  8. package/components/{PlayerAccountBiometrics-BrlNlZ5N.cjs → PlayerAccountBiometrics-Bs6NMHc0.cjs} +1 -1
  9. package/components/{PlayerAccountBiometrics-BupiQCMJ.js → PlayerAccountBiometrics-fgA6msXe.js} +125 -126
  10. package/components/{PlayerAccountClosureNd-DcMOj468.cjs → PlayerAccountClosureNd-BUJ9_TaL.cjs} +1 -1
  11. package/components/{PlayerAccountClosureNd-CEad1veU.js → PlayerAccountClosureNd-LZ83f2yz.js} +127 -128
  12. package/components/{PlayerAccountClosureNd-DAFiYifr.js → PlayerAccountClosureNd-UXSMJQcx.js} +127 -128
  13. package/components/{PlayerAccountControllerNd-5BH6GjlH.js → PlayerAccountControllerNd-9wsIJ-js.js} +1714 -1141
  14. package/components/PlayerAccountControllerNd-D0INricU.cjs +1 -0
  15. package/components/{PlayerAccountControllerNd-BmAwgSdK.js → PlayerAccountControllerNd-DWv_sKx6.js} +1640 -1067
  16. package/components/{PlayerAccountGamingLimits-9Stjo0gs.js → PlayerAccountGamingLimits-B9-kZCVp.js} +291 -240
  17. package/components/PlayerAccountGamingLimits-D46zagPJ.cjs +1 -0
  18. package/components/{PlayerAccountGamingLimits-DI0RPgPB.js → PlayerAccountGamingLimits-qwcdGv5k.js} +291 -240
  19. package/components/PlayerAccountGamingLimitsConfirmationModal-BVtO8XYY.cjs +1 -0
  20. package/components/{PlayerAccountGamingLimitsConfirmationModal-BzAWyxny.js → PlayerAccountGamingLimitsConfirmationModal-DsbEiYMl.js} +127 -131
  21. package/components/{PlayerAccountGamingLimitsConfirmationModal-DKpr25Aj.js → PlayerAccountGamingLimitsConfirmationModal-knZnUTFD.js} +127 -131
  22. package/components/{PlayerAccountGamingLimitsGroupEdit-Dj2jUWb2.js → PlayerAccountGamingLimitsGroupEdit-5NUu_zZc.js} +1467 -1524
  23. package/components/{PlayerAccountGamingLimitsGroupEdit-CBViR9JR.js → PlayerAccountGamingLimitsGroupEdit-B8GXBPFa.js} +1467 -1524
  24. package/components/PlayerAccountGamingLimitsGroupEdit-DNh-dSyB.cjs +10 -0
  25. package/components/{PlayerAccountGamingLimitsHistory2Nd-BQy_79YQ.js → PlayerAccountGamingLimitsHistory2Nd-CK8Ge8bB.js} +224 -231
  26. package/components/{PlayerAccountGamingLimitsHistory2Nd-2hdjxCBn.cjs → PlayerAccountGamingLimitsHistory2Nd-CTdhbVen.cjs} +1 -1
  27. package/components/{PlayerAccountGamingLimitsHistory2Nd-BQRXsnS9.js → PlayerAccountGamingLimitsHistory2Nd-DAeqMwXC.js} +220 -227
  28. package/components/PlayerAccountGamingLimitsInfoCard-BP3ieYB-.cjs +1 -0
  29. package/components/{PlayerAccountGamingLimitsInfoCard-CDFRfVT4.js → PlayerAccountGamingLimitsInfoCard-CVwEtiRl.js} +649 -594
  30. package/components/{PlayerAccountGamingLimitsInfoCard-StfGgmLs.js → PlayerAccountGamingLimitsInfoCard-U0DesVX6.js} +649 -594
  31. package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-Dz-xK27Q.js → PlayerAccountGamingLimitsPage2Gm16Nd-Bw4LELoM.js} +880 -843
  32. package/components/PlayerAccountGamingLimitsPage2Gm16Nd-D5MICFh6.cjs +21 -0
  33. package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-B672X-1A.js → PlayerAccountGamingLimitsPage2Gm16Nd-DgQc2QVS.js} +1064 -1027
  34. package/components/{PlayerAccountGamingLimitsPopup-DoLZB2lj.js → PlayerAccountGamingLimitsPopup-CoF07jnu.js} +114 -118
  35. package/components/{PlayerAccountGamingLimitsPopup-ChBLdQR7.cjs → PlayerAccountGamingLimitsPopup-DyBIvm50.cjs} +1 -1
  36. package/components/{PlayerAccountGamingLimitsPopup-f9QP34fL.js → PlayerAccountGamingLimitsPopup-K79LGbuJ.js} +114 -118
  37. package/components/PlayerAccountGamingLimitsWrapper2Nd-BW4iVYMB.cjs +1 -0
  38. package/components/PlayerAccountGamingLimitsWrapper2Nd-BdjEhTA4.js +1016 -0
  39. package/components/PlayerAccountGamingLimitsWrapper2Nd-ufU6zWS8.js +1022 -0
  40. package/components/PlayerAccountGeneralConfirmationModal-B4jIx1BX.cjs +1 -0
  41. package/components/{PlayerAccountGeneralConfirmationModal-BlglDNwU.js → PlayerAccountGeneralConfirmationModal-C2tJxm9K.js} +144 -145
  42. package/components/{PlayerAccountGeneralConfirmationModal-rpOFir4P.js → PlayerAccountGeneralConfirmationModal-G69m_xaE.js} +144 -145
  43. package/components/PlayerAccountMenuNd-BL9F1XLJ.cjs +1 -0
  44. package/components/PlayerAccountMenuNd-Bhoxd17Y.js +716 -0
  45. package/components/PlayerAccountMenuNd-BolTLeYK.js +717 -0
  46. package/components/PlayerAccountModal-COJeLuDu.cjs +1 -0
  47. package/components/PlayerAccountModal-D7KHd2U7.js +209 -0
  48. package/components/PlayerAccountModal-Xa2YQAW6.js +209 -0
  49. package/components/PlayerAccountNotifications-CN9pIy3r.js +370 -0
  50. package/components/PlayerAccountNotifications-D64RWyxv.js +371 -0
  51. package/components/PlayerAccountNotifications-DAWwzmCU.cjs +1 -0
  52. package/components/PlayerAccountSelfExclusionNd-BE6FLnkt.cjs +3555 -0
  53. package/components/{PlayerAccountSelfExclusionNd-CM37K9pN.js → PlayerAccountSelfExclusionNd-Djz06Ekm.js} +10631 -10864
  54. package/components/{PlayerAccountSelfExclusionNd-D2JmyzgE.js → PlayerAccountSelfExclusionNd-ig2ia3IY.js} +10743 -10931
  55. package/components/PlayerAccountTimeout-BeIP73DT.cjs +1 -0
  56. package/components/{PlayerAccountTimeout-B0zaqo1v.js → PlayerAccountTimeout-DdAujgR0.js} +499 -368
  57. package/components/{PlayerAccountTimeout-BO3G2t3W.js → PlayerAccountTimeout-y8LG_lWP.js} +499 -368
  58. package/components/PlayerActiveBonuses-DFEww75_.js +1077 -0
  59. package/components/PlayerActiveBonuses-DZpjmd5_.cjs +1 -0
  60. package/components/PlayerActiveBonuses-dJSywFxG.js +1078 -0
  61. package/components/{PlayerBonusCard-BC8FfHZz.cjs → PlayerBonusCard-BLy1uhLi.cjs} +1 -1
  62. package/components/{PlayerBonusCard-9LZmOSI1.js → PlayerBonusCard-CFDVa6DC.js} +129 -131
  63. package/components/{PlayerBonusCard-BvrlU7Ao.js → PlayerBonusCard-soky_TFz.js} +129 -131
  64. package/components/PlayerBonusHistory--BlJA1se.js +937 -0
  65. package/components/PlayerBonusHistory-22zrtSy8.js +938 -0
  66. package/components/PlayerBonusHistory-DZPMcFck.cjs +1 -0
  67. package/components/{PlayerChangePassword-CzR4Xz0H.cjs → PlayerChangePassword-UepIdqvw.cjs} +2 -2
  68. package/components/{PlayerChangePassword-BcoctDrY.js → PlayerChangePassword-djQtDeHb.js} +387 -389
  69. package/components/{PlayerChangePassword-BsQyz4Qc.js → PlayerChangePassword-hrfxOW0b.js} +387 -389
  70. package/components/{PlayerDeposit-B_7saxic.js → PlayerDeposit-BaC6d2og.js} +129 -152
  71. package/components/{PlayerDeposit-BIBRCGiC.js → PlayerDeposit-CpzXx-Jg.js} +129 -152
  72. package/components/PlayerDeposit-Dcjjga2V.cjs +1 -0
  73. package/components/PlayerGamingHistory-Ccw_gZ0A.cjs +1 -0
  74. package/components/{PlayerGamingHistory-B1Q3Qiuk.js → PlayerGamingHistory-Vqvs5YTt.js} +339 -343
  75. package/components/{PlayerGamingHistory-DUCP4vWS.js → PlayerGamingHistory-tfAS2Z8a.js} +362 -366
  76. package/components/{PlayerPendingWithdrawals-C8jyjgZ0.js → PlayerPendingWithdrawals-C10oNkk6.js} +119 -120
  77. package/components/PlayerPendingWithdrawals-CvxjxkOD.cjs +1 -0
  78. package/components/{PlayerPendingWithdrawals-wMhZTLpq.js → PlayerPendingWithdrawals-D5M1bMLH.js} +119 -120
  79. package/components/PlayerProfileInfo-AlvN_pUL.cjs +1 -0
  80. package/components/PlayerProfileInfo-B8-CMN4r.js +1823 -0
  81. package/components/PlayerProfileInfo-BvJQ2_J5.js +1806 -0
  82. package/components/PlayerRealityCheck-BRhT1UhN.js +652 -0
  83. package/components/PlayerRealityCheck-DPvdP9-_.js +668 -0
  84. package/components/PlayerRealityCheck-DSYoUIrf.cjs +1 -0
  85. package/components/PlayerTransactionHistory-BldqkQc5.js +314 -0
  86. package/components/PlayerTransactionHistory-Cvm1EwgV.cjs +1 -0
  87. package/components/PlayerTransactionHistory-JT3TZ8Mb.js +314 -0
  88. package/components/{PlayerWithdrawal-jGmMHcUX.js → PlayerWithdrawal-CHHAj5SG.js} +137 -141
  89. package/components/PlayerWithdrawal-D9w69Llz.cjs +1 -0
  90. package/components/{PlayerWithdrawal-wi9yuRxw.js → PlayerWithdrawal-DI-38Q1t.js} +137 -141
  91. package/es2015/player-account-controller-nd.cjs +1 -1
  92. package/es2015/player-account-controller-nd.js +1 -1
  93. package/esnext/player-account-controller-nd.js +1 -1
  94. package/package.json +1 -1
  95. package/stencil/app-globals-0f993ce5-DgYhdguE.cjs +1 -0
  96. package/stencil/app-globals-0f993ce5-DzSE6TtH.js +13 -0
  97. package/stencil/checkbox-group-input_9-DMrH9pTx.cjs +2045 -0
  98. package/stencil/{checkbox-group-input_9-DZvX2H_r.js → checkbox-group-input_9-DtZ9kvK4.js} +3129 -2212
  99. package/stencil/{checkbox-group-input_9-Cny9rOs9.js → checkbox-group-input_9-DvXvp-ML.js} +3231 -2300
  100. package/stencil/{general-input-igTYIJ6W.cjs → general-input-CFqrfrup.cjs} +1 -1
  101. package/stencil/{general-input-Yj_LRx0v.js → general-input-eCxMClmW.js} +1 -1
  102. package/stencil/{general-input-d5RULL12.js → general-input-rL_ftR3H.js} +1 -1
  103. package/stencil/index-1ef3a64c-BnB-ATuA.js +556 -0
  104. package/stencil/index-1ef3a64c-BvKbNMH8.cjs +1 -0
  105. package/stencil/index-1ef3a64c-Nsr9PDe6.js +572 -0
  106. package/stencil/index-7c5e707a-CTC8RpEi.js +643 -0
  107. package/stencil/index-7c5e707a-CWE0q0mP.js +616 -0
  108. package/stencil/index-7c5e707a-D1Fv8nel.cjs +1 -0
  109. package/stencil/index-9c0f6c58-C1yzTenw.js +576 -0
  110. package/stencil/index-9c0f6c58-CqoLeK5G.js +549 -0
  111. package/stencil/index-9c0f6c58-DEsDY2nb.cjs +1 -0
  112. package/stencil/index-9cd44522-BqLgI-Ho.js +626 -0
  113. package/stencil/index-9cd44522-Cygpa4pV.js +610 -0
  114. package/stencil/index-9cd44522-DwMekoGN.cjs +1 -0
  115. package/stencil/index-ae04a8b1-D4wvtXTw.cjs +1 -0
  116. package/stencil/index-ae04a8b1-fpBaOn88.js +516 -0
  117. package/stencil/index-ae04a8b1-ixlRj3zC.js +532 -0
  118. package/stencil/password-input_2-9_yxZI2g.js +589 -0
  119. package/stencil/password-input_2-BabcxKun.cjs +105 -0
  120. package/stencil/password-input_2-D-YA_Jkx.js +589 -0
  121. package/stencil/{player-change-password-gm2-780eb445-Cg8Z75Vz.js → player-change-password-gm2-039e300e-CcWiaT26.js} +85 -66
  122. package/stencil/player-change-password-gm2-039e300e-DiYWgS70.cjs +1 -0
  123. package/stencil/{player-change-password-gm2-780eb445-DEjz9Jjk.js → player-change-password-gm2-039e300e-Zp9TDX77.js} +85 -66
  124. package/stencil/player-change-password-gm2-BWjI2Hs0.js +25 -0
  125. package/stencil/player-change-password-gm2-BaYafift.js +7 -0
  126. package/stencil/player-change-password-gm2-DsT1aXcX.cjs +1 -0
  127. package/stencil/player-kyc-verification-B8arDCja.js +863 -0
  128. package/stencil/player-kyc-verification-Di40xn9z.js +885 -0
  129. package/stencil/player-kyc-verification-GFBDUbhm.cjs +180 -0
  130. package/stencil/{toggle-checkbox-input-Co64_7cm.js → toggle-checkbox-input-BxUGWw2X.js} +12 -4
  131. package/stencil/toggle-checkbox-input-D-Cv1QSS.cjs +1 -0
  132. package/stencil/{toggle-checkbox-input-ErX2Ngat.js → toggle-checkbox-input-PSoH9KF2.js} +12 -4
  133. package/stencil/ui-skeleton-BC4mw1ae.cjs +1 -0
  134. package/stencil/ui-skeleton-DT0OMDC6.js +11 -0
  135. package/stencil/ui-skeleton-T4HYbNcC.js +29 -0
  136. package/stencil/ui-skeleton-a642cced-B8H73O_q.cjs +1 -0
  137. package/stencil/ui-skeleton-a642cced-Ba-weZ4g.js +122 -0
  138. package/stencil/ui-skeleton-a642cced-DhjmNsN7.js +122 -0
  139. package/stencil/user-deposit-withdrawal-BQKFgZ31.cjs +59 -0
  140. package/stencil/user-deposit-withdrawal-DRe5oBqv.js +684 -0
  141. package/stencil/user-deposit-withdrawal-Dj3Po03r.js +706 -0
  142. package/stencil/user-transaction-history-6-z3byrF.js +374 -0
  143. package/stencil/user-transaction-history-Dca7qx08.js +350 -0
  144. package/stencil/user-transaction-history-DrhquxkJ.cjs +1 -0
  145. package/stencil/vaadin-button-mixin-e8c3f355-BdntioNA.cjs +2391 -0
  146. package/stencil/{vaadin-button-6001b2a6-CZwj1qjO.js → vaadin-button-mixin-e8c3f355-DON-rAuy.js} +5108 -5747
  147. package/stencil/{vaadin-button-6001b2a6-Dqz5Vp8D.js → vaadin-button-mixin-e8c3f355-DQ5UgwNf.js} +8267 -8803
  148. package/components/GeneralLogout-BW6b3iuS.cjs +0 -8
  149. package/components/PlayerAccountBettingHistory-BsFzBNDY.cjs +0 -1
  150. package/components/PlayerAccountBettingHistory-C9n4Lfo3.js +0 -332
  151. package/components/PlayerAccountBettingHistory-QT3-2u7E.js +0 -333
  152. package/components/PlayerAccountControllerNd-CO0ce0zs.cjs +0 -1
  153. package/components/PlayerAccountGamingLimits-BPQrptbd.cjs +0 -1
  154. package/components/PlayerAccountGamingLimitsConfirmationModal-IgBYV9F2.cjs +0 -1
  155. package/components/PlayerAccountGamingLimitsGroupEdit-DrkoLne8.cjs +0 -10
  156. package/components/PlayerAccountGamingLimitsInfoCard-BOls7ahz.cjs +0 -1
  157. package/components/PlayerAccountGamingLimitsPage2Gm16Nd-DSThp4HX.cjs +0 -21
  158. package/components/PlayerAccountGamingLimitsWrapper2Nd-Bz6Zp5tp.js +0 -865
  159. package/components/PlayerAccountGamingLimitsWrapper2Nd-Cq5vxtjw.js +0 -871
  160. package/components/PlayerAccountGamingLimitsWrapper2Nd-KUpEDIP8.cjs +0 -1
  161. package/components/PlayerAccountGeneralConfirmationModal-BpTCzpiW.cjs +0 -1
  162. package/components/PlayerAccountMenuNd-BWUhUlIY.js +0 -590
  163. package/components/PlayerAccountMenuNd-BmPerb2f.cjs +0 -1
  164. package/components/PlayerAccountMenuNd-CxMlvYwa.js +0 -589
  165. package/components/PlayerAccountModal-BK81ZotM.js +0 -213
  166. package/components/PlayerAccountModal-C7aZZlBw.cjs +0 -1
  167. package/components/PlayerAccountModal-CzVRNZzB.js +0 -213
  168. package/components/PlayerAccountNotifications-BBwUcB1T.js +0 -261
  169. package/components/PlayerAccountNotifications-CB47Zxq9.js +0 -261
  170. package/components/PlayerAccountNotifications-DkgHtUGj.cjs +0 -1
  171. package/components/PlayerAccountSelfExclusionNd-DCsOgBZR.cjs +0 -4171
  172. package/components/PlayerAccountTimeout-Dg5Mlz5K.cjs +0 -1
  173. package/components/PlayerActiveBonuses-B9jz3QD8.cjs +0 -1
  174. package/components/PlayerActiveBonuses-CfZ8tegY.js +0 -1037
  175. package/components/PlayerActiveBonuses-DkKDWhBN.js +0 -1038
  176. package/components/PlayerBonusHistory-Bsy2Grk6.js +0 -919
  177. package/components/PlayerBonusHistory-CuSbmVev.cjs +0 -1
  178. package/components/PlayerBonusHistory-nN8l2tOZ.js +0 -920
  179. package/components/PlayerDeposit-D_78W5GC.cjs +0 -1
  180. package/components/PlayerGamingHistory-CNPhCSFS.cjs +0 -1
  181. package/components/PlayerPendingWithdrawals-BG3I8ifu.cjs +0 -1
  182. package/components/PlayerProfileInfo-CGsJydqv.cjs +0 -1
  183. package/components/PlayerProfileInfo-EkbwdTEh.js +0 -1757
  184. package/components/PlayerProfileInfo-SeOQq0CG.js +0 -1740
  185. package/components/PlayerRealityCheck--iYjw4rP.js +0 -598
  186. package/components/PlayerRealityCheck-BGGIPihT.js +0 -582
  187. package/components/PlayerRealityCheck-C26ZBWae.cjs +0 -1
  188. package/components/PlayerTransactionHistory-CJqhYnbs.cjs +0 -1
  189. package/components/PlayerTransactionHistory-CvBbrQn6.js +0 -315
  190. package/components/PlayerTransactionHistory-DIfTIxF3.js +0 -315
  191. package/components/PlayerWithdrawal-GDc_7hZX.cjs +0 -1
  192. package/stencil/app-globals-0f993ce5-D-kw1sls.js +0 -5
  193. package/stencil/app-globals-0f993ce5-sCt45RkC.cjs +0 -1
  194. package/stencil/checkbox-group-input_9-FLO2Qa5Y.cjs +0 -2104
  195. package/stencil/index-72d2f0c7--qtpsDOz.js +0 -642
  196. package/stencil/index-72d2f0c7-DldCMjBJ.cjs +0 -1
  197. package/stencil/index-72d2f0c7-DyMEJXra.js +0 -626
  198. package/stencil/index-Dyvby5gX.cjs +0 -1
  199. package/stencil/index-l0sNRNKZ.js +0 -1
  200. package/stencil/password-input_2-CHOu4hgw.js +0 -1420
  201. package/stencil/password-input_2-DQAgV1SZ.cjs +0 -896
  202. package/stencil/password-input_2-DaiHlKbQ.js +0 -1420
  203. package/stencil/player-change-password-gm2-780eb445-CdItmoKI.cjs +0 -1
  204. package/stencil/player-change-password-gm2-ClBiis4q.js +0 -25
  205. package/stencil/player-change-password-gm2-Dt0gP_G_.cjs +0 -1
  206. package/stencil/player-change-password-gm2-cKh7RACV.js +0 -7
  207. package/stencil/toggle-checkbox-input-a_0w-Y0n.cjs +0 -1
  208. package/stencil/vaadin-button-6001b2a6-C6xw53k5.cjs +0 -3018
@@ -1,8 +1,9 @@
1
- function B() {
1
+ function H() {
2
2
  }
3
3
  const wr = (e) => e;
4
4
  function Hr(e, t) {
5
- for (const r in t) e[r] = t[r];
5
+ for (const r in t)
6
+ e[r] = t[r];
6
7
  return (
7
8
  /** @type {T & S} */
8
9
  e
@@ -14,44 +15,44 @@ function Nt(e) {
14
15
  function ut() {
15
16
  return /* @__PURE__ */ Object.create(null);
16
17
  }
17
- function G(e) {
18
+ function D(e) {
18
19
  e.forEach(Nt);
19
20
  }
20
- function le(e) {
21
+ function ue(e) {
21
22
  return typeof e == "function";
22
23
  }
23
24
  function Ct(e, t) {
24
25
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
25
26
  }
26
- let de;
27
- function co(e, t) {
28
- return e === t ? !0 : (de || (de = document.createElement("a")), de.href = t, e === de.href);
27
+ let pe;
28
+ function mo(e, t) {
29
+ return e === t ? !0 : (pe || (pe = document.createElement("a")), pe.href = t, e === pe.href);
29
30
  }
30
31
  function Br(e) {
31
32
  return Object.keys(e).length === 0;
32
33
  }
33
- function Mt(e, ...t) {
34
+ function $t(e, ...t) {
34
35
  if (e == null) {
35
36
  for (const n of t)
36
37
  n(void 0);
37
- return B;
38
+ return H;
38
39
  }
39
40
  const r = e.subscribe(...t);
40
41
  return r.unsubscribe ? () => r.unsubscribe() : r;
41
42
  }
42
43
  function Ar(e, t, r) {
43
- e.$$.on_destroy.push(Mt(t, r));
44
+ e.$$.on_destroy.push($t(t, r));
44
45
  }
45
- function fo(e, t, r, n) {
46
+ function bo(e, t, r, n) {
46
47
  if (e) {
47
- const i = $t(e, t, r, n);
48
+ const i = Rt(e, t, r, n);
48
49
  return e[0](i);
49
50
  }
50
51
  }
51
- function $t(e, t, r, n) {
52
+ function Rt(e, t, r, n) {
52
53
  return e[1] && n ? Hr(r.ctx.slice(), e[1](n(t))) : r.ctx;
53
54
  }
54
- function po(e, t, r, n) {
55
+ function go(e, t, r, n) {
55
56
  if (e[2] && n) {
56
57
  const i = e[2](n(r));
57
58
  if (t.dirty === void 0)
@@ -66,13 +67,13 @@ function po(e, t, r, n) {
66
67
  }
67
68
  return t.dirty;
68
69
  }
69
- function mo(e, t, r, n, i, o) {
70
+ function yo(e, t, r, n, i, o) {
70
71
  if (i) {
71
- const a = $t(t, r, n, o);
72
+ const a = Rt(t, r, n, o);
72
73
  e.p(a, i);
73
74
  }
74
75
  }
75
- function bo(e) {
76
+ function vo(e) {
76
77
  if (e.ctx.length > 32) {
77
78
  const t = [], r = e.ctx.length / 32;
78
79
  for (let n = 0; n < r; n++)
@@ -81,47 +82,44 @@ function bo(e) {
81
82
  }
82
83
  return -1;
83
84
  }
84
- function go(e) {
85
+ function _o(e) {
85
86
  return e ?? "";
86
87
  }
87
- function yo(e) {
88
- return e && le(e.destroy) ? e.destroy : B;
88
+ function xo(e) {
89
+ return e && ue(e.destroy) ? e.destroy : H;
89
90
  }
90
- const Rt = typeof window < "u";
91
- let Pr = Rt ? () => window.performance.now() : () => Date.now(), rt = Rt ? (e) => requestAnimationFrame(e) : B;
92
- const W = /* @__PURE__ */ new Set();
93
- function Ut(e) {
94
- W.forEach((t) => {
95
- t.c(e) || (W.delete(t), t.f());
96
- }), W.size !== 0 && rt(Ut);
91
+ const Ut = typeof window < "u";
92
+ let Pr = Ut ? () => window.performance.now() : () => Date.now(), rt = Ut ? (e) => requestAnimationFrame(e) : H;
93
+ const X = /* @__PURE__ */ new Set();
94
+ function Dt(e) {
95
+ X.forEach((t) => {
96
+ t.c(e) || (X.delete(t), t.f());
97
+ }), X.size !== 0 && rt(Dt);
97
98
  }
98
99
  function Or(e) {
99
100
  let t;
100
- return W.size === 0 && rt(Ut), {
101
+ return X.size === 0 && rt(Dt), {
101
102
  promise: new Promise((r) => {
102
- W.add(t = { c: e, f: r });
103
+ X.add(t = { c: e, f: r });
103
104
  }),
104
105
  abort() {
105
- W.delete(t);
106
+ X.delete(t);
106
107
  }
107
108
  };
108
109
  }
109
- const vo = typeof window < "u" ? window : typeof globalThis < "u" ? globalThis : (
110
- // @ts-ignore Node typings have this
111
- global
112
- );
113
- function P(e, t) {
110
+ function A(e, t) {
114
111
  e.appendChild(t);
115
112
  }
116
113
  function Ir(e, t, r) {
117
114
  const n = nt(e);
118
115
  if (!n.getElementById(t)) {
119
116
  const i = L("style");
120
- i.id = t, i.textContent = r, Dt(n, i);
117
+ i.id = t, i.textContent = r, Gt(n, i);
121
118
  }
122
119
  }
123
120
  function nt(e) {
124
- if (!e) return document;
121
+ if (!e)
122
+ return document;
125
123
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
126
124
  return t && /** @type {ShadowRoot} */
127
125
  t.host ? (
@@ -131,56 +129,56 @@ function nt(e) {
131
129
  }
132
130
  function Lr(e) {
133
131
  const t = L("style");
134
- return t.textContent = "/* empty */", Dt(nt(e), t), t.sheet;
132
+ return t.textContent = "/* empty */", Gt(nt(e), t), t.sheet;
135
133
  }
136
- function Dt(e, t) {
137
- return P(
134
+ function Gt(e, t) {
135
+ return A(
138
136
  /** @type {Document} */
139
137
  e.head || e,
140
138
  t
141
139
  ), t.sheet;
142
140
  }
143
- function he(e, t, r) {
141
+ function le(e, t, r) {
144
142
  e.insertBefore(t, r || null);
145
143
  }
146
- function F(e) {
144
+ function G(e) {
147
145
  e.parentNode && e.parentNode.removeChild(e);
148
146
  }
149
- function _o(e, t) {
147
+ function Eo(e, t) {
150
148
  for (let r = 0; r < e.length; r += 1)
151
149
  e[r] && e[r].d(t);
152
150
  }
153
151
  function L(e) {
154
152
  return document.createElement(e);
155
153
  }
156
- function re(e) {
154
+ function te(e) {
157
155
  return document.createElementNS("http://www.w3.org/2000/svg", e);
158
156
  }
159
- function ce(e) {
157
+ function he(e) {
160
158
  return document.createTextNode(e);
161
159
  }
162
- function Nr() {
163
- return ce(" ");
160
+ function Mr() {
161
+ return he(" ");
164
162
  }
165
- function xo() {
166
- return ce("");
163
+ function So() {
164
+ return he("");
167
165
  }
168
- function Gt(e, t, r, n) {
166
+ function Ft(e, t, r, n) {
169
167
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
170
168
  }
171
- function Eo(e) {
169
+ function To(e) {
172
170
  return function(t) {
173
171
  return t.preventDefault(), e.call(this, t);
174
172
  };
175
173
  }
176
- function A(e, t, r) {
174
+ function B(e, t, r) {
177
175
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
178
176
  }
179
- function So(e, t, r) {
177
+ function wo(e, t, r) {
180
178
  const n = t.toLowerCase();
181
- n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : A(e, t, r);
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);
182
180
  }
183
- function To(e) {
181
+ function Ho(e) {
184
182
  let t;
185
183
  return {
186
184
  /* push */
@@ -193,23 +191,23 @@ function To(e) {
193
191
  }
194
192
  };
195
193
  }
196
- function wo(e) {
194
+ function Bo(e) {
197
195
  return e === "" ? null : +e;
198
196
  }
199
- function Cr(e) {
197
+ function Nr(e) {
200
198
  return Array.from(e.childNodes);
201
199
  }
202
- function Ft(e, t) {
200
+ function jt(e, t) {
203
201
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
204
202
  t);
205
203
  }
206
- function Ho(e, t) {
204
+ function Ao(e, t) {
207
205
  e.value = t ?? "";
208
206
  }
209
- function Mr(e, t, r, n) {
207
+ function Cr(e, t, r, n) {
210
208
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
211
209
  }
212
- function Bo(e, t, r) {
210
+ function Po(e, t, r) {
213
211
  for (let n = 0; n < e.options.length; n += 1) {
214
212
  const i = e.options[n];
215
213
  if (i.__value === t) {
@@ -219,11 +217,11 @@ function Bo(e, t, r) {
219
217
  }
220
218
  (!r || t !== void 0) && (e.selectedIndex = -1);
221
219
  }
222
- function Ao(e) {
220
+ function Oo(e) {
223
221
  const t = e.querySelector(":checked");
224
222
  return t && t.__value;
225
223
  }
226
- function Po(e, t, r) {
224
+ function Io(e, t, r) {
227
225
  e.classList.toggle(t, !!r);
228
226
  }
229
227
  function $r(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
@@ -238,176 +236,181 @@ function Rr(e) {
238
236
  }
239
237
  ), t;
240
238
  }
241
- const Ee = /* @__PURE__ */ new Map();
242
- let Se = 0;
239
+ const xe = /* @__PURE__ */ new Map();
240
+ let Ee = 0;
243
241
  function Ur(e) {
244
242
  let t = 5381, r = e.length;
245
- for (; r--; ) t = (t << 5) - t ^ e.charCodeAt(r);
243
+ for (; r--; )
244
+ t = (t << 5) - t ^ e.charCodeAt(r);
246
245
  return t >>> 0;
247
246
  }
248
247
  function Dr(e, t) {
249
248
  const r = { stylesheet: Lr(t), rules: {} };
250
- return Ee.set(e, r), r;
249
+ return xe.set(e, r), r;
251
250
  }
252
251
  function lt(e, t, r, n, i, o, a, s = 0) {
253
- const u = 16.666 / n;
254
- let l = `{
252
+ const l = 16.666 / n;
253
+ let u = `{
255
254
  `;
256
- for (let x = 0; x <= 1; x += u) {
255
+ for (let x = 0; x <= 1; x += l) {
257
256
  const T = t + (r - t) * o(x);
258
- l += x * 100 + `%{${a(T, 1 - T)}}
257
+ u += x * 100 + `%{${a(T, 1 - T)}}
259
258
  `;
260
259
  }
261
- const h = l + `100% {${a(r, 1 - r)}}
262
- }`, c = `__svelte_${Ur(h)}_${s}`, f = nt(e), { stylesheet: p, rules: d } = Ee.get(f) || Dr(f, e);
263
- d[c] || (d[c] = !0, p.insertRule(`@keyframes ${c} ${h}`, p.cssRules.length));
260
+ const h = u + `100% {${a(r, 1 - r)}}
261
+ }`, f = `__svelte_${Ur(h)}_${s}`, c = nt(e), { stylesheet: d, rules: p } = xe.get(c) || Dr(c, e);
262
+ p[f] || (p[f] = !0, d.insertRule(`@keyframes ${f} ${h}`, d.cssRules.length));
264
263
  const m = e.style.animation || "";
265
- return e.style.animation = `${m ? `${m}, ` : ""}${c} ${n}ms linear ${i}ms 1 both`, Se += 1, c;
264
+ return e.style.animation = `${m ? `${m}, ` : ""}${f} ${n}ms linear ${i}ms 1 both`, Ee += 1, f;
266
265
  }
267
266
  function Gr(e, t) {
268
267
  const r = (e.style.animation || "").split(", "), n = r.filter(
269
268
  t ? (o) => o.indexOf(t) < 0 : (o) => o.indexOf("__svelte") === -1
270
269
  // remove all Svelte animations
271
270
  ), i = r.length - n.length;
272
- i && (e.style.animation = n.join(", "), Se -= i, Se || Fr());
271
+ i && (e.style.animation = n.join(", "), Ee -= i, Ee || Fr());
273
272
  }
274
273
  function Fr() {
275
274
  rt(() => {
276
- Se || (Ee.forEach((e) => {
275
+ Ee || (xe.forEach((e) => {
277
276
  const { ownerNode: t } = e.stylesheet;
278
- t && F(t);
279
- }), Ee.clear());
277
+ t && G(t);
278
+ }), xe.clear());
280
279
  });
281
280
  }
282
- let se;
283
- function oe(e) {
284
- se = e;
281
+ let oe;
282
+ function ie(e) {
283
+ oe = e;
285
284
  }
286
285
  function jr() {
287
- if (!se) throw new Error("Function called outside component initialization");
288
- return se;
286
+ if (!oe)
287
+ throw new Error("Function called outside component initialization");
288
+ return oe;
289
289
  }
290
- function Oo(e) {
290
+ function kr(e) {
291
291
  jr().$$.on_mount.push(e);
292
292
  }
293
- const X = [], Fe = [];
294
- let z = [];
295
- const ht = [], jt = /* @__PURE__ */ Promise.resolve();
293
+ const V = [], Fe = [];
294
+ let W = [];
295
+ const ht = [], kt = /* @__PURE__ */ Promise.resolve();
296
296
  let je = !1;
297
- function kt() {
298
- je || (je = !0, jt.then(N));
297
+ function Vt() {
298
+ je || (je = !0, kt.then(I));
299
299
  }
300
- function Io() {
301
- return kt(), jt;
300
+ function Lo() {
301
+ return Vt(), kt;
302
302
  }
303
- function Te(e) {
304
- z.push(e);
303
+ function Se(e) {
304
+ W.push(e);
305
305
  }
306
306
  const Le = /* @__PURE__ */ new Set();
307
- let k = 0;
308
- function N() {
309
- if (k !== 0)
307
+ let j = 0;
308
+ function I() {
309
+ if (j !== 0)
310
310
  return;
311
- const e = se;
311
+ const e = oe;
312
312
  do {
313
313
  try {
314
- for (; k < X.length; ) {
315
- const t = X[k];
316
- k++, oe(t), kr(t.$$);
314
+ for (; j < V.length; ) {
315
+ const t = V[j];
316
+ j++, ie(t), Vr(t.$$);
317
317
  }
318
318
  } catch (t) {
319
- throw X.length = 0, k = 0, t;
319
+ throw V.length = 0, j = 0, t;
320
320
  }
321
- for (oe(null), X.length = 0, k = 0; Fe.length; ) Fe.pop()();
322
- for (let t = 0; t < z.length; t += 1) {
323
- const r = z[t];
321
+ for (ie(null), V.length = 0, j = 0; Fe.length; )
322
+ Fe.pop()();
323
+ for (let t = 0; t < W.length; t += 1) {
324
+ const r = W[t];
324
325
  Le.has(r) || (Le.add(r), r());
325
326
  }
326
- z.length = 0;
327
- } while (X.length);
327
+ W.length = 0;
328
+ } while (V.length);
328
329
  for (; ht.length; )
329
330
  ht.pop()();
330
- je = !1, Le.clear(), oe(e);
331
+ je = !1, Le.clear(), ie(e);
331
332
  }
332
- function kr(e) {
333
+ function Vr(e) {
333
334
  if (e.fragment !== null) {
334
- e.update(), G(e.before_update);
335
+ e.update(), D(e.before_update);
335
336
  const t = e.dirty;
336
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Te);
337
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Se);
337
338
  }
338
339
  }
339
- function Vr(e) {
340
+ function Xr(e) {
340
341
  const t = [], r = [];
341
- z.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), z = t;
342
+ W.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), W = t;
342
343
  }
343
- let ne;
344
- function Xr() {
345
- return ne || (ne = Promise.resolve(), ne.then(() => {
346
- ne = null;
347
- })), ne;
344
+ let re;
345
+ function Wr() {
346
+ return re || (re = Promise.resolve(), re.then(() => {
347
+ re = null;
348
+ })), re;
348
349
  }
349
- function Ne(e, t, r) {
350
+ function Me(e, t, r) {
350
351
  e.dispatchEvent($r(`${t ? "intro" : "outro"}${r}`));
351
352
  }
352
- const ge = /* @__PURE__ */ new Set();
353
- let C;
354
- function Lo() {
355
- C = {
353
+ const be = /* @__PURE__ */ new Set();
354
+ let M;
355
+ function Mo() {
356
+ M = {
356
357
  r: 0,
357
358
  c: [],
358
- p: C
359
+ p: M
359
360
  // parent group
360
361
  };
361
362
  }
362
363
  function No() {
363
- C.r || G(C.c), C = C.p;
364
+ M.r || D(M.c), M = M.p;
364
365
  }
365
- function Wr(e, t) {
366
- e && e.i && (ge.delete(e), e.i(t));
366
+ function zr(e, t) {
367
+ e && e.i && (be.delete(e), e.i(t));
367
368
  }
368
369
  function Co(e, t, r, n) {
369
370
  if (e && e.o) {
370
- if (ge.has(e)) return;
371
- ge.add(e), C.c.push(() => {
372
- ge.delete(e), n && (r && e.d(1), n());
371
+ if (be.has(e))
372
+ return;
373
+ be.add(e), M.c.push(() => {
374
+ be.delete(e), n && (r && e.d(1), n());
373
375
  }), e.o(t);
374
- } else n && n();
375
- }
376
- const zr = { duration: 0 };
377
- function Mo(e, t, r, n) {
378
- let o = t(e, r, { direction: "both" }), a = n ? 0 : 1, s = null, u = null, l = null, h;
379
- function c() {
380
- l && Gr(e, l);
376
+ } else
377
+ n && n();
378
+ }
379
+ const Zr = { duration: 0 };
380
+ function $o(e, t, r, n) {
381
+ let o = t(e, r, { direction: "both" }), a = n ? 0 : 1, s = null, l = null, u = null, h;
382
+ function f() {
383
+ u && Gr(e, u);
381
384
  }
382
- function f(d, m) {
385
+ function c(p, m) {
383
386
  const x = (
384
387
  /** @type {Program['d']} */
385
- d.b - a
388
+ p.b - a
386
389
  );
387
390
  return m *= Math.abs(x), {
388
391
  a,
389
- b: d.b,
392
+ b: p.b,
390
393
  d: x,
391
394
  duration: m,
392
- start: d.start,
393
- end: d.start + m,
394
- group: d.group
395
+ start: p.start,
396
+ end: p.start + m,
397
+ group: p.group
395
398
  };
396
399
  }
397
- function p(d) {
400
+ function d(p) {
398
401
  const {
399
402
  delay: m = 0,
400
403
  duration: x = 300,
401
404
  easing: T = wr,
402
- tick: w = B,
405
+ tick: P = H,
403
406
  css: E
404
- } = o || zr, O = {
407
+ } = o || Zr, O = {
405
408
  start: Pr() + m,
406
- b: d
409
+ b: p
407
410
  };
408
- d || (O.group = C, C.r += 1), "inert" in e && (d ? h !== void 0 && (e.inert = h) : (h = /** @type {HTMLElement} */
409
- e.inert, e.inert = !0)), s || u ? u = O : (E && (c(), l = lt(e, a, d, x, m, T, E)), d && w(0, 1), s = f(O, x), Te(() => Ne(e, d, "start")), Or((H) => {
410
- if (u && H > u.start && (s = f(u, x), u = null, Ne(e, s.b, "start"), E && (c(), l = lt(
411
+ p || (O.group = M, M.r += 1), "inert" in e && (p ? h !== void 0 && (e.inert = h) : (h = /** @type {HTMLElement} */
412
+ e.inert, e.inert = !0)), s || l ? l = O : (E && (f(), u = lt(e, a, p, x, m, T, E)), p && P(0, 1), s = c(O, x), Se(() => Me(e, p, "start")), Or((w) => {
413
+ if (l && w > l.start && (s = c(l, x), l = null, Me(e, s.b, "start"), E && (f(), u = lt(
411
414
  e,
412
415
  a,
413
416
  s.b,
@@ -416,53 +419,53 @@ function Mo(e, t, r, n) {
416
419
  T,
417
420
  o.css
418
421
  ))), s) {
419
- if (H >= s.end)
420
- w(a = s.b, 1 - a), Ne(e, s.b, "end"), u || (s.b ? c() : --s.group.r || G(s.group.c)), s = null;
421
- else if (H >= s.start) {
422
- const R = H - s.start;
423
- a = s.a + s.d * T(R / s.duration), w(a, 1 - a);
422
+ if (w >= s.end)
423
+ P(a = s.b, 1 - a), Me(e, s.b, "end"), l || (s.b ? f() : --s.group.r || D(s.group.c)), s = null;
424
+ else if (w >= s.start) {
425
+ const $ = w - s.start;
426
+ a = s.a + s.d * T($ / s.duration), P(a, 1 - a);
424
427
  }
425
428
  }
426
- return !!(s || u);
429
+ return !!(s || l);
427
430
  }));
428
431
  }
429
432
  return {
430
- run(d) {
431
- le(o) ? Xr().then(() => {
432
- o = o({ direction: d ? "in" : "out" }), p(d);
433
- }) : p(d);
433
+ run(p) {
434
+ ue(o) ? Wr().then(() => {
435
+ o = o({ direction: p ? "in" : "out" }), d(p);
436
+ }) : d(p);
434
437
  },
435
438
  end() {
436
- c(), s = u = null;
439
+ f(), s = l = null;
437
440
  }
438
441
  };
439
442
  }
440
- function $o(e) {
443
+ function Ro(e) {
441
444
  return e?.length !== void 0 ? e : Array.from(e);
442
445
  }
443
- function Zr(e, t, r) {
446
+ function qr(e, t, r) {
444
447
  const { fragment: n, after_update: i } = e.$$;
445
- n && n.m(t, r), Te(() => {
446
- const o = e.$$.on_mount.map(Nt).filter(le);
447
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : G(o), e.$$.on_mount = [];
448
- }), i.forEach(Te);
448
+ n && n.m(t, r), Se(() => {
449
+ const o = e.$$.on_mount.map(Nt).filter(ue);
450
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : D(o), e.$$.on_mount = [];
451
+ }), i.forEach(Se);
449
452
  }
450
- function qr(e, t) {
453
+ function Qr(e, t) {
451
454
  const r = e.$$;
452
- r.fragment !== null && (Vr(r.after_update), G(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
455
+ r.fragment !== null && (Xr(r.after_update), D(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
453
456
  }
454
- function Qr(e, t) {
455
- e.$$.dirty[0] === -1 && (X.push(e), kt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
457
+ function Jr(e, t) {
458
+ e.$$.dirty[0] === -1 && (V.push(e), Vt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
456
459
  }
457
- function Jr(e, t, r, n, i, o, a = null, s = [-1]) {
458
- const u = se;
459
- oe(e);
460
- const l = e.$$ = {
460
+ function Yr(e, t, r, n, i, o, a = null, s = [-1]) {
461
+ const l = oe;
462
+ ie(e);
463
+ const u = e.$$ = {
461
464
  fragment: null,
462
465
  ctx: [],
463
466
  // state
464
467
  props: o,
465
- update: B,
468
+ update: H,
466
469
  not_equal: i,
467
470
  bound: ut(),
468
471
  // lifecycle
@@ -471,30 +474,30 @@ function Jr(e, t, r, n, i, o, a = null, s = [-1]) {
471
474
  on_disconnect: [],
472
475
  before_update: [],
473
476
  after_update: [],
474
- context: new Map(t.context || (u ? u.$$.context : [])),
477
+ context: new Map(t.context || (l ? l.$$.context : [])),
475
478
  // everything else
476
479
  callbacks: ut(),
477
480
  dirty: s,
478
481
  skip_bound: !1,
479
- root: t.target || u.$$.root
482
+ root: t.target || l.$$.root
480
483
  };
481
- a && a(l.root);
484
+ a && a(u.root);
482
485
  let h = !1;
483
- if (l.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
484
- const d = p.length ? p[0] : f;
485
- return l.ctx && i(l.ctx[c], l.ctx[c] = d) && (!l.skip_bound && l.bound[c] && l.bound[c](d), h && Qr(e, c)), f;
486
- }) : [], l.update(), h = !0, G(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
486
+ if (u.ctx = r ? r(e, t.props || {}, (f, c, ...d) => {
487
+ const p = d.length ? d[0] : c;
488
+ return u.ctx && i(u.ctx[f], u.ctx[f] = p) && (!u.skip_bound && u.bound[f] && u.bound[f](p), h && Jr(e, f)), c;
489
+ }) : [], u.update(), h = !0, D(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
487
490
  if (t.hydrate) {
488
- const c = Cr(t.target);
489
- l.fragment && l.fragment.l(c), c.forEach(F);
491
+ const f = Nr(t.target);
492
+ u.fragment && u.fragment.l(f), f.forEach(G);
490
493
  } else
491
- l.fragment && l.fragment.c();
492
- t.intro && Wr(e.$$.fragment), Zr(e, t.target, t.anchor), N();
494
+ u.fragment && u.fragment.c();
495
+ t.intro && zr(e.$$.fragment), qr(e, t.target, t.anchor), I();
493
496
  }
494
- oe(u);
497
+ ie(l);
495
498
  }
496
- let Vt;
497
- typeof HTMLElement == "function" && (Vt = class extends HTMLElement {
499
+ let Xt;
500
+ typeof HTMLElement == "function" && (Xt = class extends HTMLElement {
498
501
  /** The Svelte component constructor */
499
502
  $$ctor;
500
503
  /** Slots */
@@ -536,17 +539,17 @@ typeof HTMLElement == "function" && (Vt = class extends HTMLElement {
536
539
  let o;
537
540
  return {
538
541
  c: function() {
539
- o = L("slot"), i !== "default" && A(o, "name", i);
542
+ o = L("slot"), i !== "default" && B(o, "name", i);
540
543
  },
541
544
  /**
542
545
  * @param {HTMLElement} target
543
546
  * @param {HTMLElement} [anchor]
544
547
  */
545
- m: function(u, l) {
546
- he(u, o, l);
548
+ m: function(l, u) {
549
+ le(l, o, u);
547
550
  },
548
- d: function(u) {
549
- u && F(o);
551
+ d: function(l) {
552
+ l && G(o);
550
553
  }
551
554
  };
552
555
  };
@@ -558,7 +561,7 @@ typeof HTMLElement == "function" && (Vt = class extends HTMLElement {
558
561
  i in r && (t[i] = [e(i)]);
559
562
  for (const i of this.attributes) {
560
563
  const o = this.$$g_p(i.name);
561
- o in this.$$d || (this.$$d[o] = ye(o, i.value, this.$$p_d, "toProp"));
564
+ o in this.$$d || (this.$$d[o] = ge(o, i.value, this.$$p_d, "toProp"));
562
565
  }
563
566
  for (const i in this.$$p_d)
564
567
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -576,7 +579,7 @@ typeof HTMLElement == "function" && (Vt = class extends HTMLElement {
576
579
  this.$$r = !0;
577
580
  for (const i in this.$$p_d)
578
581
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
579
- const o = ye(
582
+ const o = ge(
580
583
  i,
581
584
  this.$$d[i],
582
585
  this.$$p_d,
@@ -598,7 +601,7 @@ typeof HTMLElement == "function" && (Vt = class extends HTMLElement {
598
601
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
599
602
  // and setting attributes through setAttribute etc, this is helpful
600
603
  attributeChangedCallback(e, t, r) {
601
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = ye(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
604
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = ge(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
602
605
  }
603
606
  disconnectedCallback() {
604
607
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -611,7 +614,7 @@ typeof HTMLElement == "function" && (Vt = class extends HTMLElement {
611
614
  ) || e;
612
615
  }
613
616
  });
614
- function ye(e, t, r, n) {
617
+ function ge(e, t, r, n) {
615
618
  const i = r[e]?.type;
616
619
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
617
620
  return t;
@@ -640,8 +643,8 @@ function ye(e, t, r, n) {
640
643
  return t;
641
644
  }
642
645
  }
643
- function Yr(e, t, r, n, i, o) {
644
- let a = class extends Vt {
646
+ function Kr(e, t, r, n, i, o) {
647
+ let a = class extends Xt {
645
648
  constructor() {
646
649
  super(e, r, i), this.$$p_d = t;
647
650
  }
@@ -656,8 +659,8 @@ function Yr(e, t, r, n, i, o) {
656
659
  get() {
657
660
  return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
658
661
  },
659
- set(u) {
660
- u = ye(s, u, t), this.$$d[s] = u, this.$$c?.$set({ [s]: u });
662
+ set(l) {
663
+ l = ge(s, l, t), this.$$d[s] = l, this.$$c?.$set({ [s]: l });
661
664
  }
662
665
  });
663
666
  }), n.forEach((s) => {
@@ -669,7 +672,7 @@ function Yr(e, t, r, n, i, o) {
669
672
  }), e.element = /** @type {any} */
670
673
  a, a;
671
674
  }
672
- class Kr {
675
+ class en {
673
676
  /**
674
677
  * ### PRIVATE API
675
678
  *
@@ -688,7 +691,7 @@ class Kr {
688
691
  $$set = void 0;
689
692
  /** @returns {void} */
690
693
  $destroy() {
691
- qr(this, 1), this.$destroy = B;
694
+ Qr(this, 1), this.$destroy = H;
692
695
  }
693
696
  /**
694
697
  * @template {Extract<keyof Events, string>} K
@@ -697,8 +700,8 @@ class Kr {
697
700
  * @returns {() => void}
698
701
  */
699
702
  $on(t, r) {
700
- if (!le(r))
701
- return B;
703
+ if (!ue(r))
704
+ return H;
702
705
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
703
706
  return n.push(r), () => {
704
707
  const i = n.indexOf(r);
@@ -713,16 +716,31 @@ class Kr {
713
716
  this.$$set && !Br(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
714
717
  }
715
718
  }
716
- const en = "4";
717
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(en);
719
+ const tn = "4";
720
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(tn);
721
+ /*! *****************************************************************************
722
+ Copyright (c) Microsoft Corporation.
723
+
724
+ Permission to use, copy, modify, and/or distribute this software for any
725
+ purpose with or without fee is hereby granted.
726
+
727
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
728
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
729
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
730
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
731
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
732
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
733
+ PERFORMANCE OF THIS SOFTWARE.
734
+ ***************************************************************************** */
718
735
  var ke = function(e, t) {
719
736
  return ke = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
720
737
  r.__proto__ = n;
721
738
  } || function(r, n) {
722
- for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
739
+ for (var i in n)
740
+ Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
723
741
  }, ke(e, t);
724
742
  };
725
- function $(e, t) {
743
+ function C(e, t) {
726
744
  if (typeof t != "function" && t !== null)
727
745
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
728
746
  ke(e, t);
@@ -731,18 +749,20 @@ function $(e, t) {
731
749
  }
732
750
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
733
751
  }
734
- var v = function() {
735
- return v = Object.assign || function(t) {
752
+ var y = function() {
753
+ return y = Object.assign || function(t) {
736
754
  for (var r, n = 1, i = arguments.length; n < i; n++) {
737
755
  r = arguments[n];
738
- for (var o in r) Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
756
+ for (var o in r)
757
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
739
758
  }
740
759
  return t;
741
- }, v.apply(this, arguments);
760
+ }, y.apply(this, arguments);
742
761
  };
743
- function tn(e, t) {
762
+ function rn(e, t) {
744
763
  var r = {};
745
- for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
764
+ for (var n in e)
765
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
746
766
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
747
767
  for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
748
768
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
@@ -750,46 +770,52 @@ function tn(e, t) {
750
770
  }
751
771
  function Ve(e) {
752
772
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
753
- if (r) return r.call(e);
754
- if (e && typeof e.length == "number") return {
755
- next: function() {
756
- return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
757
- }
758
- };
773
+ if (r)
774
+ return r.call(e);
775
+ if (e && typeof e.length == "number")
776
+ return {
777
+ next: function() {
778
+ return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
779
+ }
780
+ };
759
781
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
760
782
  }
761
783
  function Xe(e, t) {
762
784
  var r = typeof Symbol == "function" && e[Symbol.iterator];
763
- if (!r) return e;
785
+ if (!r)
786
+ return e;
764
787
  var n = r.call(e), i, o = [], a;
765
788
  try {
766
- for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; ) o.push(i.value);
789
+ for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
790
+ o.push(i.value);
767
791
  } catch (s) {
768
792
  a = { error: s };
769
793
  } finally {
770
794
  try {
771
795
  i && !i.done && (r = n.return) && r.call(n);
772
796
  } finally {
773
- if (a) throw a.error;
797
+ if (a)
798
+ throw a.error;
774
799
  }
775
800
  }
776
801
  return o;
777
802
  }
778
- function Z(e, t, r) {
779
- if (r || arguments.length === 2) for (var n = 0, i = t.length, o; n < i; n++)
780
- (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
781
- return e.concat(o || Array.prototype.slice.call(t));
803
+ function z(e, t, r) {
804
+ if (r || arguments.length === 2)
805
+ for (var n = 0, i = t.length, o; n < i; n++)
806
+ (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
807
+ return e.concat(o || t);
782
808
  }
783
- function M(e) {
809
+ function N(e) {
784
810
  return typeof e == "function";
785
811
  }
786
- function Xt(e) {
812
+ function Wt(e) {
787
813
  var t = function(n) {
788
814
  Error.call(n), n.stack = new Error().stack;
789
815
  }, r = e(t);
790
816
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
791
817
  }
792
- var Ce = Xt(function(e) {
818
+ var Ne = Wt(function(e) {
793
819
  return function(r) {
794
820
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
795
821
  ` + r.map(function(n, i) {
@@ -804,7 +830,7 @@ function We(e, t) {
804
830
  0 <= r && e.splice(r, 1);
805
831
  }
806
832
  }
807
- var Be = function() {
833
+ var He = function() {
808
834
  function e(t) {
809
835
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
810
836
  }
@@ -816,52 +842,54 @@ var Be = function() {
816
842
  if (a)
817
843
  if (this._parentage = null, Array.isArray(a))
818
844
  try {
819
- for (var s = Ve(a), u = s.next(); !u.done; u = s.next()) {
820
- var l = u.value;
821
- l.remove(this);
845
+ for (var s = Ve(a), l = s.next(); !l.done; l = s.next()) {
846
+ var u = l.value;
847
+ u.remove(this);
822
848
  }
823
849
  } catch (m) {
824
850
  t = { error: m };
825
851
  } finally {
826
852
  try {
827
- u && !u.done && (r = s.return) && r.call(s);
853
+ l && !l.done && (r = s.return) && r.call(s);
828
854
  } finally {
829
- if (t) throw t.error;
855
+ if (t)
856
+ throw t.error;
830
857
  }
831
858
  }
832
859
  else
833
860
  a.remove(this);
834
861
  var h = this.initialTeardown;
835
- if (M(h))
862
+ if (N(h))
836
863
  try {
837
864
  h();
838
865
  } catch (m) {
839
- o = m instanceof Ce ? m.errors : [m];
866
+ o = m instanceof Ne ? m.errors : [m];
840
867
  }
841
- var c = this._finalizers;
842
- if (c) {
868
+ var f = this._finalizers;
869
+ if (f) {
843
870
  this._finalizers = null;
844
871
  try {
845
- for (var f = Ve(c), p = f.next(); !p.done; p = f.next()) {
846
- var d = p.value;
872
+ for (var c = Ve(f), d = c.next(); !d.done; d = c.next()) {
873
+ var p = d.value;
847
874
  try {
848
- ct(d);
875
+ ct(p);
849
876
  } catch (m) {
850
- o = o ?? [], m instanceof Ce ? o = Z(Z([], Xe(o)), Xe(m.errors)) : o.push(m);
877
+ o = o ?? [], m instanceof Ne ? o = z(z([], Xe(o)), Xe(m.errors)) : o.push(m);
851
878
  }
852
879
  }
853
880
  } catch (m) {
854
881
  n = { error: m };
855
882
  } finally {
856
883
  try {
857
- p && !p.done && (i = f.return) && i.call(f);
884
+ d && !d.done && (i = c.return) && i.call(c);
858
885
  } finally {
859
- if (n) throw n.error;
886
+ if (n)
887
+ throw n.error;
860
888
  }
861
889
  }
862
890
  }
863
891
  if (o)
864
- throw new Ce(o);
892
+ throw new Ne(o);
865
893
  }
866
894
  }, e.prototype.add = function(t) {
867
895
  var r;
@@ -892,45 +920,45 @@ var Be = function() {
892
920
  var t = new e();
893
921
  return t.closed = !0, t;
894
922
  }(), e;
895
- }(), Wt = Be.EMPTY;
896
- function zt(e) {
897
- return e instanceof Be || e && "closed" in e && M(e.remove) && M(e.add) && M(e.unsubscribe);
923
+ }(), zt = He.EMPTY;
924
+ function Zt(e) {
925
+ return e instanceof He || e && "closed" in e && N(e.remove) && N(e.add) && N(e.unsubscribe);
898
926
  }
899
927
  function ct(e) {
900
- M(e) ? e() : e.unsubscribe();
928
+ N(e) ? e() : e.unsubscribe();
901
929
  }
902
- var Zt = {
930
+ var qt = {
903
931
  onUnhandledError: null,
904
932
  onStoppedNotification: null,
905
933
  Promise: void 0,
906
934
  useDeprecatedSynchronousErrorHandling: !1,
907
935
  useDeprecatedNextContext: !1
908
- }, rn = {
936
+ }, nn = {
909
937
  setTimeout: function(e, t) {
910
938
  for (var r = [], n = 2; n < arguments.length; n++)
911
939
  r[n - 2] = arguments[n];
912
- return setTimeout.apply(void 0, Z([e, t], Xe(r)));
940
+ return setTimeout.apply(void 0, z([e, t], Xe(r)));
913
941
  },
914
942
  clearTimeout: function(e) {
915
943
  return clearTimeout(e);
916
944
  },
917
945
  delegate: void 0
918
946
  };
919
- function nn(e) {
920
- rn.setTimeout(function() {
947
+ function on(e) {
948
+ nn.setTimeout(function() {
921
949
  throw e;
922
950
  });
923
951
  }
924
952
  function ft() {
925
953
  }
926
- function ve(e) {
954
+ function ye(e) {
927
955
  e();
928
956
  }
929
- var qt = function(e) {
930
- $(t, e);
957
+ var Qt = function(e) {
958
+ C(t, e);
931
959
  function t(r) {
932
960
  var n = e.call(this) || this;
933
- return n.isStopped = !1, r ? (n.destination = r, zt(r) && r.add(n)) : n.destination = un, n;
961
+ return n.isStopped = !1, r ? (n.destination = r, Zt(r) && r.add(n)) : n.destination = ln, n;
934
962
  }
935
963
  return t.create = function(r, n, i) {
936
964
  return new ze(r, n, i);
@@ -957,11 +985,11 @@ var qt = function(e) {
957
985
  this.unsubscribe();
958
986
  }
959
987
  }, t;
960
- }(Be), on = Function.prototype.bind;
961
- function Me(e, t) {
962
- return on.call(e, t);
988
+ }(He), sn = Function.prototype.bind;
989
+ function Ce(e, t) {
990
+ return sn.call(e, t);
963
991
  }
964
- var sn = function() {
992
+ var an = function() {
965
993
  function e(t) {
966
994
  this.partialObserver = t;
967
995
  }
@@ -971,7 +999,7 @@ var sn = function() {
971
999
  try {
972
1000
  r.next(t);
973
1001
  } catch (n) {
974
- me(n);
1002
+ de(n);
975
1003
  }
976
1004
  }, e.prototype.error = function(t) {
977
1005
  var r = this.partialObserver;
@@ -979,24 +1007,24 @@ var sn = function() {
979
1007
  try {
980
1008
  r.error(t);
981
1009
  } catch (n) {
982
- me(n);
1010
+ de(n);
983
1011
  }
984
1012
  else
985
- me(t);
1013
+ de(t);
986
1014
  }, e.prototype.complete = function() {
987
1015
  var t = this.partialObserver;
988
1016
  if (t.complete)
989
1017
  try {
990
1018
  t.complete();
991
1019
  } catch (r) {
992
- me(r);
1020
+ de(r);
993
1021
  }
994
1022
  }, e;
995
1023
  }(), ze = function(e) {
996
- $(t, e);
1024
+ C(t, e);
997
1025
  function t(r, n, i) {
998
1026
  var o = e.call(this) || this, a;
999
- if (M(r) || !r)
1027
+ if (N(r) || !r)
1000
1028
  a = {
1001
1029
  next: r ?? void 0,
1002
1030
  error: n ?? void 0,
@@ -1004,37 +1032,37 @@ var sn = function() {
1004
1032
  };
1005
1033
  else {
1006
1034
  var s;
1007
- o && Zt.useDeprecatedNextContext ? (s = Object.create(r), s.unsubscribe = function() {
1035
+ o && qt.useDeprecatedNextContext ? (s = Object.create(r), s.unsubscribe = function() {
1008
1036
  return o.unsubscribe();
1009
1037
  }, a = {
1010
- next: r.next && Me(r.next, s),
1011
- error: r.error && Me(r.error, s),
1012
- complete: r.complete && Me(r.complete, s)
1038
+ next: r.next && Ce(r.next, s),
1039
+ error: r.error && Ce(r.error, s),
1040
+ complete: r.complete && Ce(r.complete, s)
1013
1041
  }) : a = r;
1014
1042
  }
1015
- return o.destination = new sn(a), o;
1043
+ return o.destination = new an(a), o;
1016
1044
  }
1017
1045
  return t;
1018
- }(qt);
1019
- function me(e) {
1020
- nn(e);
1046
+ }(Qt);
1047
+ function de(e) {
1048
+ on(e);
1021
1049
  }
1022
- function an(e) {
1050
+ function un(e) {
1023
1051
  throw e;
1024
1052
  }
1025
- var un = {
1053
+ var ln = {
1026
1054
  closed: !0,
1027
1055
  next: ft,
1028
- error: an,
1056
+ error: un,
1029
1057
  complete: ft
1030
- }, ln = function() {
1058
+ }, hn = function() {
1031
1059
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
1032
1060
  }();
1033
- function hn(e) {
1061
+ function cn(e) {
1034
1062
  return e;
1035
1063
  }
1036
- function cn(e) {
1037
- return e.length === 0 ? hn : e.length === 1 ? e[0] : function(r) {
1064
+ function fn(e) {
1065
+ return e.length === 0 ? cn : e.length === 1 ? e[0] : function(r) {
1038
1066
  return e.reduce(function(n, i) {
1039
1067
  return i(n);
1040
1068
  }, r);
@@ -1048,10 +1076,10 @@ var pt = function() {
1048
1076
  var r = new e();
1049
1077
  return r.source = this, r.operator = t, r;
1050
1078
  }, e.prototype.subscribe = function(t, r, n) {
1051
- var i = this, o = pn(t) ? t : new ze(t, r, n);
1052
- return ve(function() {
1053
- var a = i, s = a.operator, u = a.source;
1054
- o.add(s ? s.call(o, u) : u ? i._subscribe(o) : i._trySubscribe(o));
1079
+ var i = this, o = dn(t) ? t : new ze(t, r, n);
1080
+ return ye(function() {
1081
+ var a = i, s = a.operator, l = a.source;
1082
+ o.add(s ? s.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
1055
1083
  }), o;
1056
1084
  }, e.prototype._trySubscribe = function(t) {
1057
1085
  try {
@@ -1066,8 +1094,8 @@ var pt = function() {
1066
1094
  next: function(s) {
1067
1095
  try {
1068
1096
  t(s);
1069
- } catch (u) {
1070
- o(u), a.unsubscribe();
1097
+ } catch (l) {
1098
+ o(l), a.unsubscribe();
1071
1099
  }
1072
1100
  },
1073
1101
  error: o,
@@ -1078,12 +1106,12 @@ var pt = function() {
1078
1106
  }, e.prototype._subscribe = function(t) {
1079
1107
  var r;
1080
1108
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
1081
- }, e.prototype[ln] = function() {
1109
+ }, e.prototype[hn] = function() {
1082
1110
  return this;
1083
1111
  }, e.prototype.pipe = function() {
1084
1112
  for (var t = [], r = 0; r < arguments.length; r++)
1085
1113
  t[r] = arguments[r];
1086
- return cn(t)(this);
1114
+ return fn(t)(this);
1087
1115
  }, e.prototype.toPromise = function(t) {
1088
1116
  var r = this;
1089
1117
  return t = dt(t), new t(function(n, i) {
@@ -1102,20 +1130,20 @@ var pt = function() {
1102
1130
  }();
1103
1131
  function dt(e) {
1104
1132
  var t;
1105
- return (t = e ?? Zt.Promise) !== null && t !== void 0 ? t : Promise;
1106
- }
1107
- function fn(e) {
1108
- return e && M(e.next) && M(e.error) && M(e.complete);
1133
+ return (t = e ?? qt.Promise) !== null && t !== void 0 ? t : Promise;
1109
1134
  }
1110
1135
  function pn(e) {
1111
- return e && e instanceof qt || fn(e) && zt(e);
1136
+ return e && N(e.next) && N(e.error) && N(e.complete);
1137
+ }
1138
+ function dn(e) {
1139
+ return e && e instanceof Qt || pn(e) && Zt(e);
1112
1140
  }
1113
- var dn = Xt(function(e) {
1141
+ var mn = Wt(function(e) {
1114
1142
  return function() {
1115
1143
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
1116
1144
  };
1117
- }), Qt = function(e) {
1118
- $(t, e);
1145
+ }), Jt = function(e) {
1146
+ C(t, e);
1119
1147
  function t() {
1120
1148
  var r = e.call(this) || this;
1121
1149
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
@@ -1125,32 +1153,33 @@ var dn = Xt(function(e) {
1125
1153
  return n.operator = r, n;
1126
1154
  }, t.prototype._throwIfClosed = function() {
1127
1155
  if (this.closed)
1128
- throw new dn();
1156
+ throw new mn();
1129
1157
  }, t.prototype.next = function(r) {
1130
1158
  var n = this;
1131
- ve(function() {
1159
+ ye(function() {
1132
1160
  var i, o;
1133
1161
  if (n._throwIfClosed(), !n.isStopped) {
1134
1162
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
1135
1163
  try {
1136
1164
  for (var a = Ve(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
1137
- var u = s.value;
1138
- u.next(r);
1165
+ var l = s.value;
1166
+ l.next(r);
1139
1167
  }
1140
- } catch (l) {
1141
- i = { error: l };
1168
+ } catch (u) {
1169
+ i = { error: u };
1142
1170
  } finally {
1143
1171
  try {
1144
1172
  s && !s.done && (o = a.return) && o.call(a);
1145
1173
  } finally {
1146
- if (i) throw i.error;
1174
+ if (i)
1175
+ throw i.error;
1147
1176
  }
1148
1177
  }
1149
1178
  }
1150
1179
  });
1151
1180
  }, t.prototype.error = function(r) {
1152
1181
  var n = this;
1153
- ve(function() {
1182
+ ye(function() {
1154
1183
  if (n._throwIfClosed(), !n.isStopped) {
1155
1184
  n.hasError = n.isStopped = !0, n.thrownError = r;
1156
1185
  for (var i = n.observers; i.length; )
@@ -1159,7 +1188,7 @@ var dn = Xt(function(e) {
1159
1188
  });
1160
1189
  }, t.prototype.complete = function() {
1161
1190
  var r = this;
1162
- ve(function() {
1191
+ ye(function() {
1163
1192
  if (r._throwIfClosed(), !r.isStopped) {
1164
1193
  r.isStopped = !0;
1165
1194
  for (var n = r.observers; n.length; )
@@ -1181,7 +1210,7 @@ var dn = Xt(function(e) {
1181
1210
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
1182
1211
  }, t.prototype._innerSubscribe = function(r) {
1183
1212
  var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
1184
- return o || a ? Wt : (this.currentObservers = null, s.push(r), new Be(function() {
1213
+ return o || a ? zt : (this.currentObservers = null, s.push(r), new He(function() {
1185
1214
  n.currentObservers = null, We(s, r);
1186
1215
  }));
1187
1216
  }, t.prototype._checkFinalizedStatuses = function(r) {
@@ -1194,7 +1223,7 @@ var dn = Xt(function(e) {
1194
1223
  return new mt(r, n);
1195
1224
  }, t;
1196
1225
  }(pt), mt = function(e) {
1197
- $(t, e);
1226
+ C(t, e);
1198
1227
  function t(r, n) {
1199
1228
  var i = e.call(this) || this;
1200
1229
  return i.destination = r, i.source = n, i;
@@ -1210,183 +1239,183 @@ var dn = Xt(function(e) {
1210
1239
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1211
1240
  }, t.prototype._subscribe = function(r) {
1212
1241
  var n, i;
1213
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Wt;
1242
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : zt;
1214
1243
  }, t;
1215
- }(Qt), Jt = {
1244
+ }(Jt), Yt = {
1216
1245
  now: function() {
1217
- return (Jt.delegate || Date).now();
1246
+ return (Yt.delegate || Date).now();
1218
1247
  },
1219
1248
  delegate: void 0
1220
- }, mn = function(e) {
1221
- $(t, e);
1249
+ }, bn = function(e) {
1250
+ C(t, e);
1222
1251
  function t(r, n, i) {
1223
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Jt);
1252
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Yt);
1224
1253
  var o = e.call(this) || this;
1225
1254
  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;
1226
1255
  }
1227
1256
  return t.prototype.next = function(r) {
1228
- var n = this, i = n.isStopped, o = n._buffer, a = n._infiniteTimeWindow, s = n._timestampProvider, u = n._windowTime;
1229
- i || (o.push(r), !a && o.push(s.now() + u)), this._trimBuffer(), e.prototype.next.call(this, r);
1257
+ var n = this, i = n.isStopped, o = n._buffer, a = n._infiniteTimeWindow, s = n._timestampProvider, l = n._windowTime;
1258
+ i || (o.push(r), !a && o.push(s.now() + l)), this._trimBuffer(), e.prototype.next.call(this, r);
1230
1259
  }, t.prototype._subscribe = function(r) {
1231
1260
  this._throwIfClosed(), this._trimBuffer();
1232
- for (var n = this._innerSubscribe(r), i = this, o = i._infiniteTimeWindow, a = i._buffer, s = a.slice(), u = 0; u < s.length && !r.closed; u += o ? 1 : 2)
1233
- r.next(s[u]);
1261
+ for (var n = this._innerSubscribe(r), i = this, o = i._infiniteTimeWindow, a = i._buffer, s = a.slice(), l = 0; l < s.length && !r.closed; l += o ? 1 : 2)
1262
+ r.next(s[l]);
1234
1263
  return this._checkFinalizedStatuses(r), n;
1235
1264
  }, t.prototype._trimBuffer = function() {
1236
1265
  var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, a = r._infiniteTimeWindow, s = (a ? 1 : 2) * n;
1237
1266
  if (n < 1 / 0 && s < o.length && o.splice(0, o.length - s), !a) {
1238
- for (var u = i.now(), l = 0, h = 1; h < o.length && o[h] <= u; h += 2)
1239
- l = h;
1240
- l && o.splice(0, l + 1);
1267
+ for (var l = i.now(), u = 0, h = 1; h < o.length && o[h] <= l; h += 2)
1268
+ u = h;
1269
+ u && o.splice(0, u + 1);
1241
1270
  }
1242
1271
  }, t;
1243
- }(Qt);
1244
- const bt = [], gt = {}, bn = (e, t = 0) => {
1272
+ }(Jt);
1273
+ const bt = [], gt = {}, gn = (e, t = 0) => {
1245
1274
  if (bt.indexOf(e) == -1) {
1246
- const r = new mn(t);
1275
+ const r = new bn(t);
1247
1276
  gt[e] = r, bt.push(e);
1248
1277
  }
1249
1278
  return gt[e];
1250
- }, V = [];
1251
- function gn(e, t) {
1279
+ }, k = [];
1280
+ function yn(e, t) {
1252
1281
  return {
1253
- subscribe: Ae(e, t).subscribe
1282
+ subscribe: Be(e, t).subscribe
1254
1283
  };
1255
1284
  }
1256
- function Ae(e, t = B) {
1285
+ function Be(e, t = H) {
1257
1286
  let r;
1258
1287
  const n = /* @__PURE__ */ new Set();
1259
1288
  function i(s) {
1260
1289
  if (Ct(e, s) && (e = s, r)) {
1261
- const u = !V.length;
1262
- for (const l of n)
1263
- l[1](), V.push(l, e);
1264
- if (u) {
1265
- for (let l = 0; l < V.length; l += 2)
1266
- V[l][0](V[l + 1]);
1267
- V.length = 0;
1290
+ const l = !k.length;
1291
+ for (const u of n)
1292
+ u[1](), k.push(u, e);
1293
+ if (l) {
1294
+ for (let u = 0; u < k.length; u += 2)
1295
+ k[u][0](k[u + 1]);
1296
+ k.length = 0;
1268
1297
  }
1269
1298
  }
1270
1299
  }
1271
1300
  function o(s) {
1272
1301
  i(s(e));
1273
1302
  }
1274
- function a(s, u = B) {
1275
- const l = [s, u];
1276
- return n.add(l), n.size === 1 && (r = t(i, o) || B), s(e), () => {
1277
- n.delete(l), n.size === 0 && r && (r(), r = null);
1303
+ function a(s, l = H) {
1304
+ const u = [s, l];
1305
+ return n.add(u), n.size === 1 && (r = t(i, o) || H), s(e), () => {
1306
+ n.delete(u), n.size === 0 && r && (r(), r = null);
1278
1307
  };
1279
1308
  }
1280
1309
  return { set: i, update: o, subscribe: a };
1281
1310
  }
1282
- function K(e, t, r) {
1311
+ function Y(e, t, r) {
1283
1312
  const n = !Array.isArray(e), i = n ? [e] : e;
1284
1313
  if (!i.every(Boolean))
1285
1314
  throw new Error("derived() expects stores as input, got a falsy value");
1286
1315
  const o = t.length < 2;
1287
- return gn(r, (a, s) => {
1288
- let u = !1;
1289
- const l = [];
1290
- let h = 0, c = B;
1291
- const f = () => {
1316
+ return yn(r, (a, s) => {
1317
+ let l = !1;
1318
+ const u = [];
1319
+ let h = 0, f = H;
1320
+ const c = () => {
1292
1321
  if (h)
1293
1322
  return;
1294
- c();
1295
- const d = t(n ? l[0] : l, a, s);
1296
- o ? a(d) : c = le(d) ? d : B;
1297
- }, p = i.map(
1298
- (d, m) => Mt(
1299
- d,
1323
+ f();
1324
+ const p = t(n ? u[0] : u, a, s);
1325
+ o ? a(p) : f = ue(p) ? p : H;
1326
+ }, d = i.map(
1327
+ (p, m) => $t(
1328
+ p,
1300
1329
  (x) => {
1301
- l[m] = x, h &= ~(1 << m), u && f();
1330
+ u[m] = x, h &= ~(1 << m), l && c();
1302
1331
  },
1303
1332
  () => {
1304
1333
  h |= 1 << m;
1305
1334
  }
1306
1335
  )
1307
1336
  );
1308
- return u = !0, f(), function() {
1309
- G(p), c(), u = !1;
1337
+ return l = !0, c(), function() {
1338
+ D(d), f(), l = !1;
1310
1339
  };
1311
1340
  });
1312
1341
  }
1313
- var Ro = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
1314
- function yn(e) {
1342
+ var Uo = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
1343
+ function vn(e) {
1315
1344
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1316
1345
  }
1317
- var vn = function(t) {
1318
- return _n(t) && !xn(t);
1346
+ var _n = function(t) {
1347
+ return xn(t) && !En(t);
1319
1348
  };
1320
- function _n(e) {
1349
+ function xn(e) {
1321
1350
  return !!e && typeof e == "object";
1322
1351
  }
1323
- function xn(e) {
1352
+ function En(e) {
1324
1353
  var t = Object.prototype.toString.call(e);
1325
- return t === "[object RegExp]" || t === "[object Date]" || Tn(e);
1326
- }
1327
- var En = typeof Symbol == "function" && Symbol.for, Sn = En ? Symbol.for("react.element") : 60103;
1328
- function Tn(e) {
1329
- return e.$$typeof === Sn;
1354
+ return t === "[object RegExp]" || t === "[object Date]" || wn(e);
1330
1355
  }
1356
+ var Sn = typeof Symbol == "function" && Symbol.for, Tn = Sn ? Symbol.for("react.element") : 60103;
1331
1357
  function wn(e) {
1358
+ return e.$$typeof === Tn;
1359
+ }
1360
+ function Hn(e) {
1332
1361
  return Array.isArray(e) ? [] : {};
1333
1362
  }
1334
- function ae(e, t) {
1335
- return t.clone !== !1 && t.isMergeableObject(e) ? q(wn(e), e, t) : e;
1363
+ function se(e, t) {
1364
+ return t.clone !== !1 && t.isMergeableObject(e) ? Z(Hn(e), e, t) : e;
1336
1365
  }
1337
- function Hn(e, t, r) {
1366
+ function Bn(e, t, r) {
1338
1367
  return e.concat(t).map(function(n) {
1339
- return ae(n, r);
1368
+ return se(n, r);
1340
1369
  });
1341
1370
  }
1342
- function Bn(e, t) {
1371
+ function An(e, t) {
1343
1372
  if (!t.customMerge)
1344
- return q;
1373
+ return Z;
1345
1374
  var r = t.customMerge(e);
1346
- return typeof r == "function" ? r : q;
1375
+ return typeof r == "function" ? r : Z;
1347
1376
  }
1348
- function An(e) {
1377
+ function Pn(e) {
1349
1378
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1350
1379
  return Object.propertyIsEnumerable.call(e, t);
1351
1380
  }) : [];
1352
1381
  }
1353
1382
  function yt(e) {
1354
- return Object.keys(e).concat(An(e));
1383
+ return Object.keys(e).concat(Pn(e));
1355
1384
  }
1356
- function Yt(e, t) {
1385
+ function Kt(e, t) {
1357
1386
  try {
1358
1387
  return t in e;
1359
1388
  } catch {
1360
1389
  return !1;
1361
1390
  }
1362
1391
  }
1363
- function Pn(e, t) {
1364
- return Yt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1392
+ function On(e, t) {
1393
+ return Kt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1365
1394
  }
1366
- function On(e, t, r) {
1395
+ function In(e, t, r) {
1367
1396
  var n = {};
1368
1397
  return r.isMergeableObject(e) && yt(e).forEach(function(i) {
1369
- n[i] = ae(e[i], r);
1398
+ n[i] = se(e[i], r);
1370
1399
  }), yt(t).forEach(function(i) {
1371
- Pn(e, i) || (Yt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Bn(i, r)(e[i], t[i], r) : n[i] = ae(t[i], r));
1400
+ On(e, i) || (Kt(e, i) && r.isMergeableObject(t[i]) ? n[i] = An(i, r)(e[i], t[i], r) : n[i] = se(t[i], r));
1372
1401
  }), n;
1373
1402
  }
1374
- function q(e, t, r) {
1375
- r = r || {}, r.arrayMerge = r.arrayMerge || Hn, r.isMergeableObject = r.isMergeableObject || vn, r.cloneUnlessOtherwiseSpecified = ae;
1403
+ function Z(e, t, r) {
1404
+ r = r || {}, r.arrayMerge = r.arrayMerge || Bn, r.isMergeableObject = r.isMergeableObject || _n, r.cloneUnlessOtherwiseSpecified = se;
1376
1405
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1377
- return o ? n ? r.arrayMerge(e, t, r) : On(e, t, r) : ae(t, r);
1406
+ return o ? n ? r.arrayMerge(e, t, r) : In(e, t, r) : se(t, r);
1378
1407
  }
1379
- q.all = function(t, r) {
1408
+ Z.all = function(t, r) {
1380
1409
  if (!Array.isArray(t))
1381
1410
  throw new Error("first argument should be an array");
1382
1411
  return t.reduce(function(n, i) {
1383
- return q(n, i, r);
1412
+ return Z(n, i, r);
1384
1413
  }, {});
1385
1414
  };
1386
- var In = q, Ln = In;
1387
- const Nn = /* @__PURE__ */ yn(Ln);
1415
+ var Ln = Z, Mn = Ln;
1416
+ const Nn = /* @__PURE__ */ vn(Mn);
1388
1417
  function $e(e, t) {
1389
- var r = t && t.cache ? t.cache : Dn, n = t && t.serializer ? t.serializer : Un, i = t && t.strategy ? t.strategy : Mn;
1418
+ var r = t && t.cache ? t.cache : Gn, n = t && t.serializer ? t.serializer : Dn, i = t && t.strategy ? t.strategy : $n;
1390
1419
  return i(e, {
1391
1420
  cache: r,
1392
1421
  serializer: n
@@ -1395,28 +1424,28 @@ function $e(e, t) {
1395
1424
  function Cn(e) {
1396
1425
  return e == null || typeof e == "number" || typeof e == "boolean";
1397
1426
  }
1398
- function Kt(e, t, r, n) {
1427
+ function er(e, t, r, n) {
1399
1428
  var i = Cn(n) ? n : r(n), o = t.get(i);
1400
1429
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1401
1430
  }
1402
- function er(e, t, r) {
1431
+ function tr(e, t, r) {
1403
1432
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1404
1433
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1405
1434
  }
1406
1435
  function it(e, t, r, n, i) {
1407
1436
  return r.bind(t, e, n, i);
1408
1437
  }
1409
- function Mn(e, t) {
1410
- var r = e.length === 1 ? Kt : er;
1411
- return it(e, this, r, t.cache.create(), t.serializer);
1412
- }
1413
1438
  function $n(e, t) {
1414
- return it(e, this, er, t.cache.create(), t.serializer);
1439
+ var r = e.length === 1 ? er : tr;
1440
+ return it(e, this, r, t.cache.create(), t.serializer);
1415
1441
  }
1416
1442
  function Rn(e, t) {
1417
- return it(e, this, Kt, t.cache.create(), t.serializer);
1443
+ return it(e, this, tr, t.cache.create(), t.serializer);
1444
+ }
1445
+ function Un(e, t) {
1446
+ return it(e, this, er, t.cache.create(), t.serializer);
1418
1447
  }
1419
- var Un = function() {
1448
+ var Dn = function() {
1420
1449
  return JSON.stringify(arguments);
1421
1450
  };
1422
1451
  function ot() {
@@ -1428,13 +1457,13 @@ ot.prototype.get = function(e) {
1428
1457
  ot.prototype.set = function(e, t) {
1429
1458
  this.cache[e] = t;
1430
1459
  };
1431
- var Dn = {
1460
+ var Gn = {
1432
1461
  create: function() {
1433
1462
  return new ot();
1434
1463
  }
1435
1464
  }, Re = {
1436
- variadic: $n,
1437
- monadic: Rn
1465
+ variadic: Rn,
1466
+ monadic: Un
1438
1467
  }, b;
1439
1468
  (function(e) {
1440
1469
  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";
@@ -1443,47 +1472,47 @@ var _;
1443
1472
  (function(e) {
1444
1473
  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";
1445
1474
  })(_ || (_ = {}));
1446
- var Q;
1475
+ var q;
1447
1476
  (function(e) {
1448
1477
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1449
- })(Q || (Q = {}));
1478
+ })(q || (q = {}));
1450
1479
  function vt(e) {
1451
1480
  return e.type === _.literal;
1452
1481
  }
1453
- function Gn(e) {
1482
+ function Fn(e) {
1454
1483
  return e.type === _.argument;
1455
1484
  }
1456
- function tr(e) {
1485
+ function rr(e) {
1457
1486
  return e.type === _.number;
1458
1487
  }
1459
- function rr(e) {
1488
+ function nr(e) {
1460
1489
  return e.type === _.date;
1461
1490
  }
1462
- function nr(e) {
1491
+ function ir(e) {
1463
1492
  return e.type === _.time;
1464
1493
  }
1465
- function ir(e) {
1494
+ function or(e) {
1466
1495
  return e.type === _.select;
1467
1496
  }
1468
- function or(e) {
1497
+ function sr(e) {
1469
1498
  return e.type === _.plural;
1470
1499
  }
1471
- function Fn(e) {
1500
+ function jn(e) {
1472
1501
  return e.type === _.pound;
1473
1502
  }
1474
- function sr(e) {
1503
+ function ar(e) {
1475
1504
  return e.type === _.tag;
1476
1505
  }
1477
- function ar(e) {
1478
- return !!(e && typeof e == "object" && e.type === Q.number);
1506
+ function ur(e) {
1507
+ return !!(e && typeof e == "object" && e.type === q.number);
1479
1508
  }
1480
1509
  function Ze(e) {
1481
- return !!(e && typeof e == "object" && e.type === Q.dateTime);
1510
+ return !!(e && typeof e == "object" && e.type === q.dateTime);
1482
1511
  }
1483
- var ur = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, jn = /(?:[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;
1484
- function kn(e) {
1512
+ var lr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, kn = /(?:[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;
1513
+ function Vn(e) {
1485
1514
  var t = {};
1486
- return e.replace(jn, function(r) {
1515
+ return e.replace(kn, function(r) {
1487
1516
  var n = r.length;
1488
1517
  switch (r[0]) {
1489
1518
  case "G":
@@ -1572,36 +1601,36 @@ function kn(e) {
1572
1601
  return "";
1573
1602
  }), t;
1574
1603
  }
1575
- var Vn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1576
- function Xn(e) {
1604
+ var Xn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1605
+ function Wn(e) {
1577
1606
  if (e.length === 0)
1578
1607
  throw new Error("Number skeleton cannot be empty");
1579
- for (var t = e.split(Vn).filter(function(f) {
1580
- return f.length > 0;
1608
+ for (var t = e.split(Xn).filter(function(c) {
1609
+ return c.length > 0;
1581
1610
  }), r = [], n = 0, i = t; n < i.length; n++) {
1582
1611
  var o = i[n], a = o.split("/");
1583
1612
  if (a.length === 0)
1584
1613
  throw new Error("Invalid number skeleton");
1585
- for (var s = a[0], u = a.slice(1), l = 0, h = u; l < h.length; l++) {
1586
- var c = h[l];
1587
- if (c.length === 0)
1614
+ for (var s = a[0], l = a.slice(1), u = 0, h = l; u < h.length; u++) {
1615
+ var f = h[u];
1616
+ if (f.length === 0)
1588
1617
  throw new Error("Invalid number skeleton");
1589
1618
  }
1590
- r.push({ stem: s, options: u });
1619
+ r.push({ stem: s, options: l });
1591
1620
  }
1592
1621
  return r;
1593
1622
  }
1594
- function Wn(e) {
1623
+ function zn(e) {
1595
1624
  return e.replace(/^(.*?)-/, "");
1596
1625
  }
1597
- var _t = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, lr = /^(@+)?(\+|#+)?[rs]?$/g, zn = /(\*)(0+)|(#+)(0+)|(0+)/g, hr = /^(0+)$/;
1626
+ var _t = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, hr = /^(@+)?(\+|#+)?[rs]?$/g, Zn = /(\*)(0+)|(#+)(0+)|(0+)/g, cr = /^(0+)$/;
1598
1627
  function xt(e) {
1599
1628
  var t = {};
1600
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(lr, function(r, n, i) {
1629
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(hr, function(r, n, i) {
1601
1630
  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)), "";
1602
1631
  }), t;
1603
1632
  }
1604
- function cr(e) {
1633
+ function fr(e) {
1605
1634
  switch (e) {
1606
1635
  case "sign-auto":
1607
1636
  return {
@@ -1641,7 +1670,7 @@ function cr(e) {
1641
1670
  };
1642
1671
  }
1643
1672
  }
1644
- function Zn(e) {
1673
+ function qn(e) {
1645
1674
  var t;
1646
1675
  if (e[0] === "E" && e[1] === "E" ? (t = {
1647
1676
  notation: "engineering"
@@ -1649,17 +1678,17 @@ function Zn(e) {
1649
1678
  notation: "scientific"
1650
1679
  }, e = e.slice(1)), t) {
1651
1680
  var r = e.slice(0, 2);
1652
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !hr.test(e))
1681
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !cr.test(e))
1653
1682
  throw new Error("Malformed concise eng/scientific notation");
1654
1683
  t.minimumIntegerDigits = e.length;
1655
1684
  }
1656
1685
  return t;
1657
1686
  }
1658
1687
  function Et(e) {
1659
- var t = {}, r = cr(e);
1688
+ var t = {}, r = fr(e);
1660
1689
  return r || t;
1661
1690
  }
1662
- function qn(e) {
1691
+ function Qn(e) {
1663
1692
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1664
1693
  var i = n[r];
1665
1694
  switch (i.stem) {
@@ -1683,7 +1712,7 @@ function qn(e) {
1683
1712
  continue;
1684
1713
  case "measure-unit":
1685
1714
  case "unit":
1686
- t.style = "unit", t.unit = Wn(i.options[0]);
1715
+ t.style = "unit", t.unit = zn(i.options[0]);
1687
1716
  continue;
1688
1717
  case "compact-short":
1689
1718
  case "K":
@@ -1694,13 +1723,13 @@ function qn(e) {
1694
1723
  t.notation = "compact", t.compactDisplay = "long";
1695
1724
  continue;
1696
1725
  case "scientific":
1697
- t = v(v(v({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
1698
- return v(v({}, u), Et(l));
1726
+ t = y(y(y({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1727
+ return y(y({}, l), Et(u));
1699
1728
  }, {}));
1700
1729
  continue;
1701
1730
  case "engineering":
1702
- t = v(v(v({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
1703
- return v(v({}, u), Et(l));
1731
+ t = y(y(y({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1732
+ return y(y({}, l), Et(u));
1704
1733
  }, {}));
1705
1734
  continue;
1706
1735
  case "notation-simple":
@@ -1745,45 +1774,45 @@ function qn(e) {
1745
1774
  case "integer-width":
1746
1775
  if (i.options.length > 1)
1747
1776
  throw new RangeError("integer-width stems only accept a single optional option");
1748
- i.options[0].replace(zn, function(u, l, h, c, f, p) {
1749
- if (l)
1777
+ i.options[0].replace(Zn, function(l, u, h, f, c, d) {
1778
+ if (u)
1750
1779
  t.minimumIntegerDigits = h.length;
1751
1780
  else {
1752
- if (c && f)
1781
+ if (f && c)
1753
1782
  throw new Error("We currently do not support maximum integer digits");
1754
- if (p)
1783
+ if (d)
1755
1784
  throw new Error("We currently do not support exact integer digits");
1756
1785
  }
1757
1786
  return "";
1758
1787
  });
1759
1788
  continue;
1760
1789
  }
1761
- if (hr.test(i.stem)) {
1790
+ if (cr.test(i.stem)) {
1762
1791
  t.minimumIntegerDigits = i.stem.length;
1763
1792
  continue;
1764
1793
  }
1765
1794
  if (_t.test(i.stem)) {
1766
1795
  if (i.options.length > 1)
1767
1796
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1768
- i.stem.replace(_t, function(u, l, h, c, f, p) {
1769
- return h === "*" ? t.minimumFractionDigits = l.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1797
+ i.stem.replace(_t, function(l, u, h, f, c, d) {
1798
+ return h === "*" ? 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), "";
1770
1799
  });
1771
1800
  var o = i.options[0];
1772
- o === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = v(v({}, t), xt(o)));
1801
+ o === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = y(y({}, t), xt(o)));
1773
1802
  continue;
1774
1803
  }
1775
- if (lr.test(i.stem)) {
1776
- t = v(v({}, t), xt(i.stem));
1804
+ if (hr.test(i.stem)) {
1805
+ t = y(y({}, t), xt(i.stem));
1777
1806
  continue;
1778
1807
  }
1779
- var a = cr(i.stem);
1780
- a && (t = v(v({}, t), a));
1781
- var s = Zn(i.stem);
1782
- s && (t = v(v({}, t), s));
1808
+ var a = fr(i.stem);
1809
+ a && (t = y(y({}, t), a));
1810
+ var s = qn(i.stem);
1811
+ s && (t = y(y({}, t), s));
1783
1812
  }
1784
1813
  return t;
1785
1814
  }
1786
- var be = {
1815
+ var me = {
1787
1816
  "001": [
1788
1817
  "H",
1789
1818
  "h"
@@ -3198,22 +3227,23 @@ var be = {
3198
3227
  "h"
3199
3228
  ]
3200
3229
  };
3201
- function Qn(e, t) {
3230
+ function Jn(e, t) {
3202
3231
  for (var r = "", n = 0; n < e.length; n++) {
3203
3232
  var i = e.charAt(n);
3204
3233
  if (i === "j") {
3205
3234
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3206
3235
  o++, n++;
3207
- var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = Jn(t);
3208
- for ((l == "H" || l == "k") && (s = 0); s-- > 0; )
3209
- r += u;
3236
+ var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Yn(t);
3237
+ for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
3238
+ r += l;
3210
3239
  for (; a-- > 0; )
3211
- r = l + r;
3212
- } else i === "J" ? r += "H" : r += i;
3240
+ r = u + r;
3241
+ } else
3242
+ i === "J" ? r += "H" : r += i;
3213
3243
  }
3214
3244
  return r;
3215
3245
  }
3216
- function Jn(e) {
3246
+ function Yn(e) {
3217
3247
  var t = e.hourCycle;
3218
3248
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3219
3249
  e.hourCycles && // @ts-ignore
@@ -3232,23 +3262,23 @@ function Jn(e) {
3232
3262
  }
3233
3263
  var r = e.language, n;
3234
3264
  r !== "root" && (n = e.maximize().region);
3235
- var i = be[n || ""] || be[r || ""] || be["".concat(r, "-001")] || be["001"];
3265
+ var i = me[n || ""] || me[r || ""] || me["".concat(r, "-001")] || me["001"];
3236
3266
  return i[0];
3237
3267
  }
3238
- var Ue, Yn = new RegExp("^".concat(ur.source, "*")), Kn = new RegExp("".concat(ur.source, "*$"));
3268
+ var Ue, Kn = new RegExp("^".concat(lr.source, "*")), ei = new RegExp("".concat(lr.source, "*$"));
3239
3269
  function g(e, t) {
3240
3270
  return { start: e, end: t };
3241
3271
  }
3242
- var ei = !!String.prototype.startsWith && "_a".startsWith("a", 1), ti = !!String.fromCodePoint, ri = !!Object.fromEntries, ni = !!String.prototype.codePointAt, ii = !!String.prototype.trimStart, oi = !!String.prototype.trimEnd, si = !!Number.isSafeInteger, ai = si ? Number.isSafeInteger : function(e) {
3272
+ var ti = !!String.prototype.startsWith && "_a".startsWith("a", 1), ri = !!String.fromCodePoint, ni = !!Object.fromEntries, ii = !!String.prototype.codePointAt, oi = !!String.prototype.trimStart, si = !!String.prototype.trimEnd, ai = !!Number.isSafeInteger, ui = ai ? Number.isSafeInteger : function(e) {
3243
3273
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3244
3274
  }, qe = !0;
3245
3275
  try {
3246
- var ui = pr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3247
- qe = ((Ue = ui.exec("a")) === null || Ue === void 0 ? void 0 : Ue[0]) === "a";
3276
+ var li = dr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3277
+ qe = ((Ue = li.exec("a")) === null || Ue === void 0 ? void 0 : Ue[0]) === "a";
3248
3278
  } catch {
3249
3279
  qe = !1;
3250
3280
  }
3251
- var St = ei ? (
3281
+ var St = ti ? (
3252
3282
  // Native
3253
3283
  function(t, r, n) {
3254
3284
  return t.startsWith(r, n);
@@ -3258,7 +3288,7 @@ var St = ei ? (
3258
3288
  function(t, r, n) {
3259
3289
  return t.slice(n, n + r.length) === r;
3260
3290
  }
3261
- ), Qe = ti ? String.fromCodePoint : (
3291
+ ), Qe = ri ? String.fromCodePoint : (
3262
3292
  // IE11
3263
3293
  function() {
3264
3294
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3272,7 +3302,7 @@ var St = ei ? (
3272
3302
  }
3273
3303
  ), Tt = (
3274
3304
  // native
3275
- ri ? Object.fromEntries : (
3305
+ ni ? Object.fromEntries : (
3276
3306
  // Ponyfill
3277
3307
  function(t) {
3278
3308
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3282,7 +3312,7 @@ var St = ei ? (
3282
3312
  return r;
3283
3313
  }
3284
3314
  )
3285
- ), fr = ni ? (
3315
+ ), pr = ii ? (
3286
3316
  // Native
3287
3317
  function(t, r) {
3288
3318
  return t.codePointAt(r);
@@ -3296,7 +3326,7 @@ var St = ei ? (
3296
3326
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3297
3327
  }
3298
3328
  }
3299
- ), li = ii ? (
3329
+ ), hi = oi ? (
3300
3330
  // Native
3301
3331
  function(t) {
3302
3332
  return t.trimStart();
@@ -3304,9 +3334,9 @@ var St = ei ? (
3304
3334
  ) : (
3305
3335
  // Ponyfill
3306
3336
  function(t) {
3307
- return t.replace(Yn, "");
3337
+ return t.replace(Kn, "");
3308
3338
  }
3309
- ), hi = oi ? (
3339
+ ), ci = si ? (
3310
3340
  // Native
3311
3341
  function(t) {
3312
3342
  return t.trimEnd();
@@ -3314,15 +3344,15 @@ var St = ei ? (
3314
3344
  ) : (
3315
3345
  // Ponyfill
3316
3346
  function(t) {
3317
- return t.replace(Kn, "");
3347
+ return t.replace(ei, "");
3318
3348
  }
3319
3349
  );
3320
- function pr(e, t) {
3350
+ function dr(e, t) {
3321
3351
  return new RegExp(e, t);
3322
3352
  }
3323
3353
  var Je;
3324
3354
  if (qe) {
3325
- var wt = pr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3355
+ var wt = dr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3326
3356
  Je = function(t, r) {
3327
3357
  var n;
3328
3358
  wt.lastIndex = r;
@@ -3332,14 +3362,14 @@ if (qe) {
3332
3362
  } else
3333
3363
  Je = function(t, r) {
3334
3364
  for (var n = []; ; ) {
3335
- var i = fr(t, r);
3336
- if (i === void 0 || dr(i) || di(i))
3365
+ var i = pr(t, r);
3366
+ if (i === void 0 || mr(i) || mi(i))
3337
3367
  break;
3338
3368
  n.push(i), r += i >= 65536 ? 2 : 1;
3339
3369
  }
3340
3370
  return Qe.apply(void 0, n);
3341
3371
  };
3342
- var ci = (
3372
+ var fi = (
3343
3373
  /** @class */
3344
3374
  function() {
3345
3375
  function e(t, r) {
@@ -3405,8 +3435,8 @@ var ci = (
3405
3435
  if (this.bumpIf("</")) {
3406
3436
  if (this.isEOF() || !Ye(this.char()))
3407
3437
  return this.error(b.INVALID_TAG, g(s, this.clonePosition()));
3408
- var u = this.clonePosition(), l = this.parseTagName();
3409
- return i !== l ? this.error(b.UNMATCHED_CLOSING_TAG, g(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3438
+ var l = this.clonePosition(), u = this.parseTagName();
3439
+ return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG, g(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3410
3440
  val: {
3411
3441
  type: _.tag,
3412
3442
  value: i,
@@ -3421,7 +3451,7 @@ var ci = (
3421
3451
  return this.error(b.INVALID_TAG, g(n, this.clonePosition()));
3422
3452
  }, e.prototype.parseTagName = function() {
3423
3453
  var t = this.offset();
3424
- for (this.bump(); !this.isEOF() && pi(this.char()); )
3454
+ for (this.bump(); !this.isEOF() && di(this.char()); )
3425
3455
  this.bump();
3426
3456
  return this.message.slice(t, this.offset());
3427
3457
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3443,14 +3473,14 @@ var ci = (
3443
3473
  }
3444
3474
  break;
3445
3475
  }
3446
- var u = g(n, this.clonePosition());
3476
+ var l = g(n, this.clonePosition());
3447
3477
  return {
3448
- val: { type: _.literal, value: i, location: u },
3478
+ val: { type: _.literal, value: i, location: l },
3449
3479
  err: null
3450
3480
  };
3451
3481
  }, e.prototype.tryParseLeftAngleBracket = function() {
3452
3482
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3453
- !fi(this.peek() || 0)) ? (this.bump(), "<") : null;
3483
+ !pi(this.peek() || 0)) ? (this.bump(), "<") : null;
3454
3484
  }, e.prototype.tryParseQuote = function(t) {
3455
3485
  if (this.isEOF() || this.char() !== 39)
3456
3486
  return null;
@@ -3523,51 +3553,51 @@ var ci = (
3523
3553
  var o = this.clonePosition(), a = g(t, o);
3524
3554
  return { value: n, location: a };
3525
3555
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3526
- var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, u = this.clonePosition();
3556
+ var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, l = this.clonePosition();
3527
3557
  switch (s) {
3528
3558
  case "":
3529
- return this.error(b.EXPECT_ARGUMENT_TYPE, g(a, u));
3559
+ return this.error(b.EXPECT_ARGUMENT_TYPE, g(a, l));
3530
3560
  case "number":
3531
3561
  case "date":
3532
3562
  case "time": {
3533
3563
  this.bumpSpace();
3534
- var l = null;
3564
+ var u = null;
3535
3565
  if (this.bumpIf(",")) {
3536
3566
  this.bumpSpace();
3537
- var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3538
- if (c.err)
3539
- return c;
3540
- var f = hi(c.val);
3541
- if (f.length === 0)
3567
+ var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3568
+ if (f.err)
3569
+ return f;
3570
+ var c = ci(f.val);
3571
+ if (c.length === 0)
3542
3572
  return this.error(b.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
3543
- var p = g(h, this.clonePosition());
3544
- l = { style: f, styleLocation: p };
3573
+ var d = g(h, this.clonePosition());
3574
+ u = { style: c, styleLocation: d };
3545
3575
  }
3546
- var d = this.tryParseArgumentClose(i);
3547
- if (d.err)
3548
- return d;
3576
+ var p = this.tryParseArgumentClose(i);
3577
+ if (p.err)
3578
+ return p;
3549
3579
  var m = g(i, this.clonePosition());
3550
- if (l && St(l?.style, "::", 0)) {
3551
- var x = li(l.style.slice(2));
3580
+ if (u && St(u?.style, "::", 0)) {
3581
+ var x = hi(u.style.slice(2));
3552
3582
  if (s === "number") {
3553
- var c = this.parseNumberSkeletonFromString(x, l.styleLocation);
3554
- return c.err ? c : {
3555
- val: { type: _.number, value: n, location: m, style: c.val },
3583
+ var f = this.parseNumberSkeletonFromString(x, u.styleLocation);
3584
+ return f.err ? f : {
3585
+ val: { type: _.number, value: n, location: m, style: f.val },
3556
3586
  err: null
3557
3587
  };
3558
3588
  } else {
3559
3589
  if (x.length === 0)
3560
3590
  return this.error(b.EXPECT_DATE_TIME_SKELETON, m);
3561
3591
  var T = x;
3562
- this.locale && (T = Qn(x, this.locale));
3563
- var f = {
3564
- type: Q.dateTime,
3592
+ this.locale && (T = Jn(x, this.locale));
3593
+ var c = {
3594
+ type: q.dateTime,
3565
3595
  pattern: T,
3566
- location: l.styleLocation,
3567
- parsedOptions: this.shouldParseSkeletons ? kn(T) : {}
3568
- }, w = s === "date" ? _.date : _.time;
3596
+ location: u.styleLocation,
3597
+ parsedOptions: this.shouldParseSkeletons ? Vn(T) : {}
3598
+ }, P = s === "date" ? _.date : _.time;
3569
3599
  return {
3570
- val: { type: w, value: n, location: m, style: f },
3600
+ val: { type: P, value: n, location: m, style: c },
3571
3601
  err: null
3572
3602
  };
3573
3603
  }
@@ -3577,7 +3607,7 @@ var ci = (
3577
3607
  type: s === "number" ? _.number : s === "date" ? _.date : _.time,
3578
3608
  value: n,
3579
3609
  location: m,
3580
- style: (o = l?.style) !== null && o !== void 0 ? o : null
3610
+ style: (o = u?.style) !== null && o !== void 0 ? o : null
3581
3611
  },
3582
3612
  err: null
3583
3613
  };
@@ -3587,47 +3617,47 @@ var ci = (
3587
3617
  case "select": {
3588
3618
  var E = this.clonePosition();
3589
3619
  if (this.bumpSpace(), !this.bumpIf(","))
3590
- return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, g(E, v({}, E)));
3620
+ return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, g(E, y({}, E)));
3591
3621
  this.bumpSpace();
3592
- var O = this.parseIdentifierIfPossible(), H = 0;
3622
+ var O = this.parseIdentifierIfPossible(), w = 0;
3593
3623
  if (s !== "select" && O.value === "offset") {
3594
3624
  if (!this.bumpIf(":"))
3595
3625
  return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g(this.clonePosition(), this.clonePosition()));
3596
3626
  this.bumpSpace();
3597
- var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3598
- if (c.err)
3599
- return c;
3600
- this.bumpSpace(), O = this.parseIdentifierIfPossible(), H = c.val;
3627
+ var f = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3628
+ if (f.err)
3629
+ return f;
3630
+ this.bumpSpace(), O = this.parseIdentifierIfPossible(), w = f.val;
3601
3631
  }
3602
- var R = this.tryParsePluralOrSelectOptions(t, s, r, O);
3603
- if (R.err)
3604
- return R;
3605
- var d = this.tryParseArgumentClose(i);
3606
- if (d.err)
3607
- return d;
3608
- var pe = g(i, this.clonePosition());
3632
+ var $ = this.tryParsePluralOrSelectOptions(t, s, r, O);
3633
+ if ($.err)
3634
+ return $;
3635
+ var p = this.tryParseArgumentClose(i);
3636
+ if (p.err)
3637
+ return p;
3638
+ var fe = g(i, this.clonePosition());
3609
3639
  return s === "select" ? {
3610
3640
  val: {
3611
3641
  type: _.select,
3612
3642
  value: n,
3613
- options: Tt(R.val),
3614
- location: pe
3643
+ options: Tt($.val),
3644
+ location: fe
3615
3645
  },
3616
3646
  err: null
3617
3647
  } : {
3618
3648
  val: {
3619
3649
  type: _.plural,
3620
3650
  value: n,
3621
- options: Tt(R.val),
3622
- offset: H,
3651
+ options: Tt($.val),
3652
+ offset: w,
3623
3653
  pluralType: s === "plural" ? "cardinal" : "ordinal",
3624
- location: pe
3654
+ location: fe
3625
3655
  },
3626
3656
  err: null
3627
3657
  };
3628
3658
  }
3629
3659
  default:
3630
- return this.error(b.INVALID_ARGUMENT_TYPE, g(a, u));
3660
+ return this.error(b.INVALID_ARGUMENT_TYPE, g(a, l));
3631
3661
  }
3632
3662
  }, e.prototype.tryParseArgumentClose = function(t) {
3633
3663
  return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
@@ -3669,50 +3699,50 @@ var ci = (
3669
3699
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3670
3700
  var n = [];
3671
3701
  try {
3672
- n = Xn(t);
3702
+ n = Wn(t);
3673
3703
  } catch {
3674
3704
  return this.error(b.INVALID_NUMBER_SKELETON, r);
3675
3705
  }
3676
3706
  return {
3677
3707
  val: {
3678
- type: Q.number,
3708
+ type: q.number,
3679
3709
  tokens: n,
3680
3710
  location: r,
3681
- parsedOptions: this.shouldParseSkeletons ? qn(n) : {}
3711
+ parsedOptions: this.shouldParseSkeletons ? Qn(n) : {}
3682
3712
  },
3683
3713
  err: null
3684
3714
  };
3685
3715
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3686
- for (var o, a = !1, s = [], u = /* @__PURE__ */ new Set(), l = i.value, h = i.location; ; ) {
3687
- if (l.length === 0) {
3688
- var c = this.clonePosition();
3716
+ for (var o, a = !1, s = [], l = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
3717
+ if (u.length === 0) {
3718
+ var f = this.clonePosition();
3689
3719
  if (r !== "select" && this.bumpIf("=")) {
3690
- var f = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_SELECTOR, b.INVALID_PLURAL_ARGUMENT_SELECTOR);
3691
- if (f.err)
3692
- return f;
3693
- h = g(c, this.clonePosition()), l = this.message.slice(c.offset, this.offset());
3720
+ var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_SELECTOR, b.INVALID_PLURAL_ARGUMENT_SELECTOR);
3721
+ if (c.err)
3722
+ return c;
3723
+ h = g(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
3694
3724
  } else
3695
3725
  break;
3696
3726
  }
3697
- if (u.has(l))
3727
+ if (l.has(u))
3698
3728
  return this.error(r === "select" ? b.DUPLICATE_SELECT_ARGUMENT_SELECTOR : b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3699
- l === "other" && (a = !0), this.bumpSpace();
3700
- var p = this.clonePosition();
3729
+ u === "other" && (a = !0), this.bumpSpace();
3730
+ var d = this.clonePosition();
3701
3731
  if (!this.bumpIf("{"))
3702
3732
  return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, g(this.clonePosition(), this.clonePosition()));
3703
- var d = this.parseMessage(t + 1, r, n);
3704
- if (d.err)
3705
- return d;
3706
- var m = this.tryParseArgumentClose(p);
3733
+ var p = this.parseMessage(t + 1, r, n);
3734
+ if (p.err)
3735
+ return p;
3736
+ var m = this.tryParseArgumentClose(d);
3707
3737
  if (m.err)
3708
3738
  return m;
3709
3739
  s.push([
3710
- l,
3740
+ u,
3711
3741
  {
3712
- value: d.val,
3713
- location: g(p, this.clonePosition())
3742
+ value: p.val,
3743
+ location: g(d, this.clonePosition())
3714
3744
  }
3715
- ]), u.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, h = o.location;
3745
+ ]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
3716
3746
  }
3717
3747
  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 };
3718
3748
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
@@ -3725,8 +3755,8 @@ var ci = (
3725
3755
  else
3726
3756
  break;
3727
3757
  }
3728
- var u = g(i, this.clonePosition());
3729
- return o ? (a *= n, ai(a) ? { val: a, err: null } : this.error(r, u)) : this.error(t, u);
3758
+ var l = g(i, this.clonePosition());
3759
+ return o ? (a *= n, ui(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3730
3760
  }, e.prototype.offset = function() {
3731
3761
  return this.position.offset;
3732
3762
  }, e.prototype.isEOF = function() {
@@ -3741,7 +3771,7 @@ var ci = (
3741
3771
  var t = this.position.offset;
3742
3772
  if (t >= this.message.length)
3743
3773
  throw Error("out of bound");
3744
- var r = fr(this.message, t);
3774
+ var r = pr(this.message, t);
3745
3775
  if (r === void 0)
3746
3776
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3747
3777
  return r;
@@ -3782,7 +3812,7 @@ var ci = (
3782
3812
  break;
3783
3813
  }
3784
3814
  }, e.prototype.bumpSpace = function() {
3785
- for (; !this.isEOF() && dr(this.char()); )
3815
+ for (; !this.isEOF() && mr(this.char()); )
3786
3816
  this.bump();
3787
3817
  }, e.prototype.peek = function() {
3788
3818
  if (this.isEOF())
@@ -3795,43 +3825,44 @@ var ci = (
3795
3825
  function Ye(e) {
3796
3826
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3797
3827
  }
3798
- function fi(e) {
3828
+ function pi(e) {
3799
3829
  return Ye(e) || e === 47;
3800
3830
  }
3801
- function pi(e) {
3831
+ function di(e) {
3802
3832
  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;
3803
3833
  }
3804
- function dr(e) {
3834
+ function mr(e) {
3805
3835
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3806
3836
  }
3807
- function di(e) {
3837
+ function mi(e) {
3808
3838
  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;
3809
3839
  }
3810
3840
  function Ke(e) {
3811
3841
  e.forEach(function(t) {
3812
- if (delete t.location, ir(t) || or(t))
3842
+ if (delete t.location, or(t) || sr(t))
3813
3843
  for (var r in t.options)
3814
3844
  delete t.options[r].location, Ke(t.options[r].value);
3815
- else tr(t) && ar(t.style) || (rr(t) || nr(t)) && Ze(t.style) ? delete t.style.location : sr(t) && Ke(t.children);
3845
+ else
3846
+ rr(t) && ur(t.style) || (nr(t) || ir(t)) && Ze(t.style) ? delete t.style.location : ar(t) && Ke(t.children);
3816
3847
  });
3817
3848
  }
3818
- function mi(e, t) {
3819
- t === void 0 && (t = {}), t = v({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3820
- var r = new ci(e, t).parse();
3849
+ function bi(e, t) {
3850
+ t === void 0 && (t = {}), t = y({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3851
+ var r = new fi(e, t).parse();
3821
3852
  if (r.err) {
3822
3853
  var n = SyntaxError(b[r.err.kind]);
3823
3854
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3824
3855
  }
3825
3856
  return t?.captureLocation || Ke(r.val), r.val;
3826
3857
  }
3827
- var J;
3858
+ var Q;
3828
3859
  (function(e) {
3829
3860
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3830
- })(J || (J = {}));
3831
- var Pe = (
3861
+ })(Q || (Q = {}));
3862
+ var Ae = (
3832
3863
  /** @class */
3833
3864
  function(e) {
3834
- $(t, e);
3865
+ C(t, e);
3835
3866
  function t(r, n, i) {
3836
3867
  var o = e.call(this, r) || this;
3837
3868
  return o.code = n, o.originalMessage = i, o;
@@ -3843,44 +3874,44 @@ var Pe = (
3843
3874
  ), Ht = (
3844
3875
  /** @class */
3845
3876
  function(e) {
3846
- $(t, e);
3877
+ C(t, e);
3847
3878
  function t(r, n, i, o) {
3848
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), J.INVALID_VALUE, o) || this;
3879
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Q.INVALID_VALUE, o) || this;
3849
3880
  }
3850
3881
  return t;
3851
- }(Pe)
3852
- ), bi = (
3882
+ }(Ae)
3883
+ ), gi = (
3853
3884
  /** @class */
3854
3885
  function(e) {
3855
- $(t, e);
3886
+ C(t, e);
3856
3887
  function t(r, n, i) {
3857
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), J.INVALID_VALUE, i) || this;
3888
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Q.INVALID_VALUE, i) || this;
3858
3889
  }
3859
3890
  return t;
3860
- }(Pe)
3861
- ), gi = (
3891
+ }(Ae)
3892
+ ), yi = (
3862
3893
  /** @class */
3863
3894
  function(e) {
3864
- $(t, e);
3895
+ C(t, e);
3865
3896
  function t(r, n) {
3866
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), J.MISSING_VALUE, n) || this;
3897
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Q.MISSING_VALUE, n) || this;
3867
3898
  }
3868
3899
  return t;
3869
- }(Pe)
3900
+ }(Ae)
3870
3901
  ), S;
3871
3902
  (function(e) {
3872
3903
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3873
3904
  })(S || (S = {}));
3874
- function yi(e) {
3905
+ function vi(e) {
3875
3906
  return e.length < 2 ? e : e.reduce(function(t, r) {
3876
3907
  var n = t[t.length - 1];
3877
3908
  return !n || n.type !== S.literal || r.type !== S.literal ? t.push(r) : n.value += r.value, t;
3878
3909
  }, []);
3879
3910
  }
3880
- function vi(e) {
3911
+ function _i(e) {
3881
3912
  return typeof e == "function";
3882
3913
  }
3883
- function _e(e, t, r, n, i, o, a) {
3914
+ function ve(e, t, r, n, i, o, a) {
3884
3915
  if (e.length === 1 && vt(e[0]))
3885
3916
  return [
3886
3917
  {
@@ -3888,8 +3919,8 @@ function _e(e, t, r, n, i, o, a) {
3888
3919
  value: e[0].value
3889
3920
  }
3890
3921
  ];
3891
- for (var s = [], u = 0, l = e; u < l.length; u++) {
3892
- var h = l[u];
3922
+ for (var s = [], l = 0, u = e; l < u.length; l++) {
3923
+ var h = u[l];
3893
3924
  if (vt(h)) {
3894
3925
  s.push({
3895
3926
  type: S.literal,
@@ -3897,96 +3928,96 @@ function _e(e, t, r, n, i, o, a) {
3897
3928
  });
3898
3929
  continue;
3899
3930
  }
3900
- if (Fn(h)) {
3931
+ if (jn(h)) {
3901
3932
  typeof o == "number" && s.push({
3902
3933
  type: S.literal,
3903
3934
  value: r.getNumberFormat(t).format(o)
3904
3935
  });
3905
3936
  continue;
3906
3937
  }
3907
- var c = h.value;
3908
- if (!(i && c in i))
3909
- throw new gi(c, a);
3910
- var f = i[c];
3911
- if (Gn(h)) {
3912
- (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), s.push({
3913
- type: typeof f == "string" ? S.literal : S.object,
3914
- value: f
3938
+ var f = h.value;
3939
+ if (!(i && f in i))
3940
+ throw new yi(f, a);
3941
+ var c = i[f];
3942
+ if (Fn(h)) {
3943
+ (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), s.push({
3944
+ type: typeof c == "string" ? S.literal : S.object,
3945
+ value: c
3915
3946
  });
3916
3947
  continue;
3917
3948
  }
3918
- if (rr(h)) {
3919
- var p = typeof h.style == "string" ? n.date[h.style] : Ze(h.style) ? h.style.parsedOptions : void 0;
3949
+ if (nr(h)) {
3950
+ var d = typeof h.style == "string" ? n.date[h.style] : Ze(h.style) ? h.style.parsedOptions : void 0;
3920
3951
  s.push({
3921
3952
  type: S.literal,
3922
- value: r.getDateTimeFormat(t, p).format(f)
3953
+ value: r.getDateTimeFormat(t, d).format(c)
3923
3954
  });
3924
3955
  continue;
3925
3956
  }
3926
- if (nr(h)) {
3927
- var p = typeof h.style == "string" ? n.time[h.style] : Ze(h.style) ? h.style.parsedOptions : n.time.medium;
3957
+ if (ir(h)) {
3958
+ var d = typeof h.style == "string" ? n.time[h.style] : Ze(h.style) ? h.style.parsedOptions : n.time.medium;
3928
3959
  s.push({
3929
3960
  type: S.literal,
3930
- value: r.getDateTimeFormat(t, p).format(f)
3961
+ value: r.getDateTimeFormat(t, d).format(c)
3931
3962
  });
3932
3963
  continue;
3933
3964
  }
3934
- if (tr(h)) {
3935
- var p = typeof h.style == "string" ? n.number[h.style] : ar(h.style) ? h.style.parsedOptions : void 0;
3936
- p && p.scale && (f = f * (p.scale || 1)), s.push({
3965
+ if (rr(h)) {
3966
+ var d = typeof h.style == "string" ? n.number[h.style] : ur(h.style) ? h.style.parsedOptions : void 0;
3967
+ d && d.scale && (c = c * (d.scale || 1)), s.push({
3937
3968
  type: S.literal,
3938
- value: r.getNumberFormat(t, p).format(f)
3969
+ value: r.getNumberFormat(t, d).format(c)
3939
3970
  });
3940
3971
  continue;
3941
3972
  }
3942
- if (sr(h)) {
3943
- var d = h.children, m = h.value, x = i[m];
3944
- if (!vi(x))
3945
- throw new bi(m, "function", a);
3946
- var T = _e(d, t, r, n, i, o), w = x(T.map(function(H) {
3947
- return H.value;
3973
+ if (ar(h)) {
3974
+ var p = h.children, m = h.value, x = i[m];
3975
+ if (!_i(x))
3976
+ throw new gi(m, "function", a);
3977
+ var T = ve(p, t, r, n, i, o), P = x(T.map(function(w) {
3978
+ return w.value;
3948
3979
  }));
3949
- Array.isArray(w) || (w = [w]), s.push.apply(s, w.map(function(H) {
3980
+ Array.isArray(P) || (P = [P]), s.push.apply(s, P.map(function(w) {
3950
3981
  return {
3951
- type: typeof H == "string" ? S.literal : S.object,
3952
- value: H
3982
+ type: typeof w == "string" ? S.literal : S.object,
3983
+ value: w
3953
3984
  };
3954
3985
  }));
3955
3986
  }
3956
- if (ir(h)) {
3957
- var E = h.options[f] || h.options.other;
3987
+ if (or(h)) {
3988
+ var E = h.options[c] || h.options.other;
3958
3989
  if (!E)
3959
- throw new Ht(h.value, f, Object.keys(h.options), a);
3960
- s.push.apply(s, _e(E.value, t, r, n, i));
3990
+ throw new Ht(h.value, c, Object.keys(h.options), a);
3991
+ s.push.apply(s, ve(E.value, t, r, n, i));
3961
3992
  continue;
3962
3993
  }
3963
- if (or(h)) {
3964
- var E = h.options["=".concat(f)];
3994
+ if (sr(h)) {
3995
+ var E = h.options["=".concat(c)];
3965
3996
  if (!E) {
3966
3997
  if (!Intl.PluralRules)
3967
- throw new Pe(`Intl.PluralRules is not available in this environment.
3998
+ throw new Ae(`Intl.PluralRules is not available in this environment.
3968
3999
  Try polyfilling it using "@formatjs/intl-pluralrules"
3969
- `, J.MISSING_INTL_API, a);
3970
- var O = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
4000
+ `, Q.MISSING_INTL_API, a);
4001
+ var O = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
3971
4002
  E = h.options[O] || h.options.other;
3972
4003
  }
3973
4004
  if (!E)
3974
- throw new Ht(h.value, f, Object.keys(h.options), a);
3975
- s.push.apply(s, _e(E.value, t, r, n, i, f - (h.offset || 0)));
4005
+ throw new Ht(h.value, c, Object.keys(h.options), a);
4006
+ s.push.apply(s, ve(E.value, t, r, n, i, c - (h.offset || 0)));
3976
4007
  continue;
3977
4008
  }
3978
4009
  }
3979
- return yi(s);
4010
+ return vi(s);
3980
4011
  }
3981
- function _i(e, t) {
3982
- return t ? v(v(v({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3983
- return r[n] = v(v({}, e[n]), t[n] || {}), r;
4012
+ function xi(e, t) {
4013
+ return t ? y(y(y({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
4014
+ return r[n] = y(y({}, e[n]), t[n] || {}), r;
3984
4015
  }, {})) : e;
3985
4016
  }
3986
- function xi(e, t) {
4017
+ function Ei(e, t) {
3987
4018
  return t ? Object.keys(e).reduce(function(r, n) {
3988
- return r[n] = _i(e[n], t[n]), r;
3989
- }, v({}, e)) : e;
4019
+ return r[n] = xi(e[n], t[n]), r;
4020
+ }, y({}, e)) : e;
3990
4021
  }
3991
4022
  function De(e) {
3992
4023
  return {
@@ -4002,7 +4033,7 @@ function De(e) {
4002
4033
  }
4003
4034
  };
4004
4035
  }
4005
- function Ei(e) {
4036
+ function Si(e) {
4006
4037
  return e === void 0 && (e = {
4007
4038
  number: {},
4008
4039
  dateTime: {},
@@ -4011,7 +4042,7 @@ function Ei(e) {
4011
4042
  getNumberFormat: $e(function() {
4012
4043
  for (var t, r = [], n = 0; n < arguments.length; n++)
4013
4044
  r[n] = arguments[n];
4014
- return new ((t = Intl.NumberFormat).bind.apply(t, Z([void 0], r, !1)))();
4045
+ return new ((t = Intl.NumberFormat).bind.apply(t, z([void 0], r, !1)))();
4015
4046
  }, {
4016
4047
  cache: De(e.number),
4017
4048
  strategy: Re.variadic
@@ -4019,7 +4050,7 @@ function Ei(e) {
4019
4050
  getDateTimeFormat: $e(function() {
4020
4051
  for (var t, r = [], n = 0; n < arguments.length; n++)
4021
4052
  r[n] = arguments[n];
4022
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Z([void 0], r, !1)))();
4053
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, z([void 0], r, !1)))();
4023
4054
  }, {
4024
4055
  cache: De(e.dateTime),
4025
4056
  strategy: Re.variadic
@@ -4027,14 +4058,14 @@ function Ei(e) {
4027
4058
  getPluralRules: $e(function() {
4028
4059
  for (var t, r = [], n = 0; n < arguments.length; n++)
4029
4060
  r[n] = arguments[n];
4030
- return new ((t = Intl.PluralRules).bind.apply(t, Z([void 0], r, !1)))();
4061
+ return new ((t = Intl.PluralRules).bind.apply(t, z([void 0], r, !1)))();
4031
4062
  }, {
4032
4063
  cache: De(e.pluralRules),
4033
4064
  strategy: Re.variadic
4034
4065
  })
4035
4066
  };
4036
4067
  }
4037
- var Si = (
4068
+ var Ti = (
4038
4069
  /** @class */
4039
4070
  function() {
4040
4071
  function e(t, r, n, i) {
@@ -4044,20 +4075,20 @@ var Si = (
4044
4075
  number: {},
4045
4076
  dateTime: {},
4046
4077
  pluralRules: {}
4047
- }, this.format = function(u) {
4048
- var l = o.formatToParts(u);
4049
- if (l.length === 1)
4050
- return l[0].value;
4051
- var h = l.reduce(function(c, f) {
4052
- return !c.length || f.type !== S.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
4078
+ }, this.format = function(l) {
4079
+ var u = o.formatToParts(l);
4080
+ if (u.length === 1)
4081
+ return u[0].value;
4082
+ var h = u.reduce(function(f, c) {
4083
+ return !f.length || c.type !== S.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
4053
4084
  }, []);
4054
4085
  return h.length <= 1 ? h[0] || "" : h;
4055
- }, this.formatToParts = function(u) {
4056
- return _e(o.ast, o.locales, o.formatters, o.formats, u, void 0, o.message);
4086
+ }, this.formatToParts = function(l) {
4087
+ return ve(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
4057
4088
  }, this.resolvedOptions = function() {
4058
- var u;
4089
+ var l;
4059
4090
  return {
4060
- locale: ((u = o.resolvedLocale) === null || u === void 0 ? void 0 : u.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
4091
+ locale: ((l = o.resolvedLocale) === null || l === void 0 ? void 0 : l.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
4061
4092
  };
4062
4093
  }, this.getAst = function() {
4063
4094
  return o.ast;
@@ -4066,13 +4097,13 @@ var Si = (
4066
4097
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
4067
4098
  var a = i || {};
4068
4099
  a.formatters;
4069
- var s = tn(a, ["formatters"]);
4070
- this.ast = e.__parse(t, v(v({}, s), { locale: this.resolvedLocale }));
4100
+ var s = rn(a, ["formatters"]);
4101
+ this.ast = e.__parse(t, y(y({}, s), { locale: this.resolvedLocale }));
4071
4102
  } else
4072
4103
  this.ast = t;
4073
4104
  if (!Array.isArray(this.ast))
4074
4105
  throw new TypeError("A message must be provided as a String or AST.");
4075
- this.formats = xi(e.formats, n), this.formatters = i && i.formatters || Ei(this.formatterCache);
4106
+ this.formats = Ei(e.formats, n), this.formatters = i && i.formatters || Si(this.formatterCache);
4076
4107
  }
4077
4108
  return Object.defineProperty(e, "defaultLocale", {
4078
4109
  get: function() {
@@ -4085,7 +4116,7 @@ var Si = (
4085
4116
  var r = Intl.NumberFormat.supportedLocalesOf(t);
4086
4117
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
4087
4118
  }
4088
- }, e.__parse = mi, e.formats = {
4119
+ }, e.__parse = bi, e.formats = {
4089
4120
  number: {
4090
4121
  integer: {
4091
4122
  maximumFractionDigits: 0
@@ -4146,7 +4177,7 @@ var Si = (
4146
4177
  }, e;
4147
4178
  }()
4148
4179
  );
4149
- function Ti(e, t) {
4180
+ function wi(e, t) {
4150
4181
  if (t == null)
4151
4182
  return;
4152
4183
  if (t in e)
@@ -4167,92 +4198,92 @@ function Ti(e, t) {
4167
4198
  n = void 0;
4168
4199
  return n;
4169
4200
  }
4170
- const U = {}, wi = (e, t, r) => r && (t in U || (U[t] = {}), e in U[t] || (U[t][e] = r), r), mr = (e, t) => {
4201
+ const U = {}, Hi = (e, t, r) => r && (t in U || (U[t] = {}), e in U[t] || (U[t][e] = r), r), br = (e, t) => {
4171
4202
  if (t == null)
4172
4203
  return;
4173
4204
  if (t in U && e in U[t])
4174
4205
  return U[t][e];
4175
- const r = Oe(t);
4206
+ const r = Pe(t);
4176
4207
  for (let n = 0; n < r.length; n++) {
4177
- const i = r[n], o = Bi(i, e);
4208
+ const i = r[n], o = Ai(i, e);
4178
4209
  if (o)
4179
- return wi(e, t, o);
4210
+ return Hi(e, t, o);
4180
4211
  }
4181
4212
  };
4182
4213
  let st;
4183
- const fe = Ae({});
4184
- function Hi(e) {
4214
+ const ce = Be({});
4215
+ function Bi(e) {
4185
4216
  return st[e] || null;
4186
4217
  }
4187
- function br(e) {
4218
+ function gr(e) {
4188
4219
  return e in st;
4189
4220
  }
4190
- function Bi(e, t) {
4191
- if (!br(e))
4221
+ function Ai(e, t) {
4222
+ if (!gr(e))
4192
4223
  return null;
4193
- const r = Hi(e);
4194
- return Ti(r, t);
4224
+ const r = Bi(e);
4225
+ return wi(r, t);
4195
4226
  }
4196
- function Ai(e) {
4227
+ function Pi(e) {
4197
4228
  if (e == null)
4198
4229
  return;
4199
- const t = Oe(e);
4230
+ const t = Pe(e);
4200
4231
  for (let r = 0; r < t.length; r++) {
4201
4232
  const n = t[r];
4202
- if (br(n))
4233
+ if (gr(n))
4203
4234
  return n;
4204
4235
  }
4205
4236
  }
4206
- function gr(e, ...t) {
4207
- delete U[e], fe.update((r) => (r[e] = Nn.all([r[e] || {}, ...t]), r));
4237
+ function yr(e, ...t) {
4238
+ delete U[e], ce.update((r) => (r[e] = Nn.all([r[e] || {}, ...t]), r));
4208
4239
  }
4209
- K(
4210
- [fe],
4240
+ Y(
4241
+ [ce],
4211
4242
  ([e]) => Object.keys(e)
4212
4243
  );
4213
- fe.subscribe((e) => st = e);
4214
- const xe = {};
4215
- function Pi(e, t) {
4216
- xe[e].delete(t), xe[e].size === 0 && delete xe[e];
4244
+ ce.subscribe((e) => st = e);
4245
+ const _e = {};
4246
+ function Oi(e, t) {
4247
+ _e[e].delete(t), _e[e].size === 0 && delete _e[e];
4217
4248
  }
4218
- function yr(e) {
4219
- return xe[e];
4249
+ function vr(e) {
4250
+ return _e[e];
4220
4251
  }
4221
- function Oi(e) {
4222
- return Oe(e).map((t) => {
4223
- const r = yr(t);
4252
+ function Ii(e) {
4253
+ return Pe(e).map((t) => {
4254
+ const r = vr(t);
4224
4255
  return [t, r ? [...r] : []];
4225
4256
  }).filter(([, t]) => t.length > 0);
4226
4257
  }
4227
4258
  function et(e) {
4228
- return e == null ? !1 : Oe(e).some(
4259
+ return e == null ? !1 : Pe(e).some(
4229
4260
  (t) => {
4230
4261
  var r;
4231
- return (r = yr(t)) == null ? void 0 : r.size;
4262
+ return (r = vr(t)) == null ? void 0 : r.size;
4232
4263
  }
4233
4264
  );
4234
4265
  }
4235
- function Ii(e, t) {
4266
+ function Li(e, t) {
4236
4267
  return Promise.all(
4237
- t.map((n) => (Pi(e, n), n().then((i) => i.default || i)))
4238
- ).then((n) => gr(e, ...n));
4268
+ t.map((n) => (Oi(e, n), n().then((i) => i.default || i)))
4269
+ ).then((n) => yr(e, ...n));
4239
4270
  }
4240
- const ie = {};
4241
- function vr(e) {
4271
+ const ne = {};
4272
+ function _r(e) {
4242
4273
  if (!et(e))
4243
- return e in ie ? ie[e] : Promise.resolve();
4244
- const t = Oi(e);
4245
- return ie[e] = Promise.all(
4274
+ return e in ne ? ne[e] : Promise.resolve();
4275
+ const t = Ii(e);
4276
+ return ne[e] = Promise.all(
4246
4277
  t.map(
4247
- ([r, n]) => Ii(r, n)
4278
+ ([r, n]) => Li(r, n)
4248
4279
  )
4249
4280
  ).then(() => {
4250
4281
  if (et(e))
4251
- return vr(e);
4252
- delete ie[e];
4253
- }), ie[e];
4282
+ return _r(e);
4283
+ delete ne[e];
4284
+ }), ne[e];
4254
4285
  }
4255
- const Li = {
4286
+ const Mi = {
4256
4287
  number: {
4257
4288
  scientific: { notation: "scientific" },
4258
4289
  engineering: { notation: "engineering" },
@@ -4284,177 +4315,200 @@ const Li = {
4284
4315
  }, Ni = {
4285
4316
  fallbackLocale: null,
4286
4317
  loadingDelay: 200,
4287
- formats: Li,
4318
+ formats: Mi,
4288
4319
  warnOnMissingMessages: !0,
4289
4320
  handleMissingMessage: void 0,
4290
4321
  ignoreTag: !0
4291
4322
  }, Ci = Ni;
4292
- function Y() {
4323
+ function J() {
4293
4324
  return Ci;
4294
4325
  }
4295
- const Ge = Ae(!1);
4296
- var Mi = Object.defineProperty, $i = Object.defineProperties, Ri = Object.getOwnPropertyDescriptors, Bt = Object.getOwnPropertySymbols, Ui = Object.prototype.hasOwnProperty, Di = Object.prototype.propertyIsEnumerable, At = (e, t, r) => t in e ? Mi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Gi = (e, t) => {
4326
+ const Ge = Be(!1);
4327
+ var $i = Object.defineProperty, Ri = Object.defineProperties, Ui = Object.getOwnPropertyDescriptors, Bt = Object.getOwnPropertySymbols, Di = Object.prototype.hasOwnProperty, Gi = Object.prototype.propertyIsEnumerable, At = (e, t, r) => t in e ? $i(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Fi = (e, t) => {
4297
4328
  for (var r in t || (t = {}))
4298
- Ui.call(t, r) && At(e, r, t[r]);
4329
+ Di.call(t, r) && At(e, r, t[r]);
4299
4330
  if (Bt)
4300
4331
  for (var r of Bt(t))
4301
- Di.call(t, r) && At(e, r, t[r]);
4332
+ Gi.call(t, r) && At(e, r, t[r]);
4302
4333
  return e;
4303
- }, Fi = (e, t) => $i(e, Ri(t));
4334
+ }, ji = (e, t) => Ri(e, Ui(t));
4304
4335
  let tt;
4305
- const we = Ae(null);
4336
+ const Te = Be(null);
4306
4337
  function Pt(e) {
4307
4338
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4308
4339
  }
4309
- function Oe(e, t = Y().fallbackLocale) {
4340
+ function Pe(e, t = J().fallbackLocale) {
4310
4341
  const r = Pt(e);
4311
4342
  return t ? [.../* @__PURE__ */ new Set([...r, ...Pt(t)])] : r;
4312
4343
  }
4313
- function j() {
4344
+ function F() {
4314
4345
  return tt ?? void 0;
4315
4346
  }
4316
- we.subscribe((e) => {
4347
+ Te.subscribe((e) => {
4317
4348
  tt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4318
4349
  });
4319
- const ji = (e) => {
4320
- if (e && Ai(e) && et(e)) {
4321
- const { loadingDelay: t } = Y();
4350
+ const ki = (e) => {
4351
+ if (e && Pi(e) && et(e)) {
4352
+ const { loadingDelay: t } = J();
4322
4353
  let r;
4323
- return typeof window < "u" && j() != null && t ? r = window.setTimeout(
4354
+ return typeof window < "u" && F() != null && t ? r = window.setTimeout(
4324
4355
  () => Ge.set(!0),
4325
4356
  t
4326
- ) : Ge.set(!0), vr(e).then(() => {
4327
- we.set(e);
4357
+ ) : Ge.set(!0), _r(e).then(() => {
4358
+ Te.set(e);
4328
4359
  }).finally(() => {
4329
4360
  clearTimeout(r), Ge.set(!1);
4330
4361
  });
4331
4362
  }
4332
- return we.set(e);
4333
- }, ee = Fi(Gi({}, we), {
4334
- set: ji
4335
- }), Ie = (e) => {
4363
+ return Te.set(e);
4364
+ }, K = ji(Fi({}, Te), {
4365
+ set: ki
4366
+ }), Oe = (e) => {
4336
4367
  const t = /* @__PURE__ */ Object.create(null);
4337
4368
  return (n) => {
4338
4369
  const i = JSON.stringify(n);
4339
4370
  return i in t ? t[i] : t[i] = e(n);
4340
4371
  };
4341
4372
  };
4342
- var ki = Object.defineProperty, He = Object.getOwnPropertySymbols, _r = Object.prototype.hasOwnProperty, xr = Object.prototype.propertyIsEnumerable, Ot = (e, t, r) => t in e ? ki(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, at = (e, t) => {
4373
+ var Vi = Object.defineProperty, we = Object.getOwnPropertySymbols, xr = Object.prototype.hasOwnProperty, Er = Object.prototype.propertyIsEnumerable, Ot = (e, t, r) => t in e ? Vi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, at = (e, t) => {
4343
4374
  for (var r in t || (t = {}))
4344
- _r.call(t, r) && Ot(e, r, t[r]);
4345
- if (He)
4346
- for (var r of He(t))
4347
- xr.call(t, r) && Ot(e, r, t[r]);
4375
+ xr.call(t, r) && Ot(e, r, t[r]);
4376
+ if (we)
4377
+ for (var r of we(t))
4378
+ Er.call(t, r) && Ot(e, r, t[r]);
4348
4379
  return e;
4349
- }, te = (e, t) => {
4380
+ }, ee = (e, t) => {
4350
4381
  var r = {};
4351
4382
  for (var n in e)
4352
- _r.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4353
- if (e != null && He)
4354
- for (var n of He(e))
4355
- t.indexOf(n) < 0 && xr.call(e, n) && (r[n] = e[n]);
4383
+ xr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4384
+ if (e != null && we)
4385
+ for (var n of we(e))
4386
+ t.indexOf(n) < 0 && Er.call(e, n) && (r[n] = e[n]);
4356
4387
  return r;
4357
4388
  };
4358
- const ue = (e, t) => {
4359
- const { formats: r } = Y();
4389
+ const ae = (e, t) => {
4390
+ const { formats: r } = J();
4360
4391
  if (e in r && t in r[e])
4361
4392
  return r[e][t];
4362
4393
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4363
- }, Vi = Ie(
4394
+ }, Xi = Oe(
4364
4395
  (e) => {
4365
- var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
4396
+ var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4366
4397
  if (r == null)
4367
4398
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4368
- return n && (i = ue("number", n)), new Intl.NumberFormat(r, i);
4399
+ return n && (i = ae("number", n)), new Intl.NumberFormat(r, i);
4369
4400
  }
4370
- ), Xi = Ie(
4401
+ ), Wi = Oe(
4371
4402
  (e) => {
4372
- var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
4403
+ var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4373
4404
  if (r == null)
4374
4405
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4375
- return n ? i = ue("date", n) : Object.keys(i).length === 0 && (i = ue("date", "short")), new Intl.DateTimeFormat(r, i);
4406
+ return n ? i = ae("date", n) : Object.keys(i).length === 0 && (i = ae("date", "short")), new Intl.DateTimeFormat(r, i);
4376
4407
  }
4377
- ), Wi = Ie(
4408
+ ), zi = Oe(
4378
4409
  (e) => {
4379
- var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
4410
+ var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4380
4411
  if (r == null)
4381
4412
  throw new Error(
4382
4413
  '[svelte-i18n] A "locale" must be set to format time values'
4383
4414
  );
4384
- return n ? i = ue("time", n) : Object.keys(i).length === 0 && (i = ue("time", "short")), new Intl.DateTimeFormat(r, i);
4415
+ return n ? i = ae("time", n) : Object.keys(i).length === 0 && (i = ae("time", "short")), new Intl.DateTimeFormat(r, i);
4385
4416
  }
4386
- ), zi = (e = {}) => {
4387
- var t = e, {
4388
- locale: r = j()
4389
- } = t, n = te(t, [
4390
- "locale"
4391
- ]);
4392
- return Vi(at({ locale: r }, n));
4393
- }, Zi = (e = {}) => {
4417
+ ), Zi = (e = {}) => {
4394
4418
  var t = e, {
4395
- locale: r = j()
4396
- } = t, n = te(t, [
4419
+ locale: r = F()
4420
+ } = t, n = ee(t, [
4397
4421
  "locale"
4398
4422
  ]);
4399
4423
  return Xi(at({ locale: r }, n));
4400
4424
  }, qi = (e = {}) => {
4401
4425
  var t = e, {
4402
- locale: r = j()
4403
- } = t, n = te(t, [
4426
+ locale: r = F()
4427
+ } = t, n = ee(t, [
4404
4428
  "locale"
4405
4429
  ]);
4406
4430
  return Wi(at({ locale: r }, n));
4407
- }, Qi = Ie(
4431
+ }, Qi = (e = {}) => {
4432
+ var t = e, {
4433
+ locale: r = F()
4434
+ } = t, n = ee(t, [
4435
+ "locale"
4436
+ ]);
4437
+ return zi(at({ locale: r }, n));
4438
+ }, Ji = Oe(
4408
4439
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4409
- (e, t = j()) => new Si(e, t, Y().formats, {
4410
- ignoreTag: Y().ignoreTag
4440
+ (e, t = F()) => new Ti(e, t, J().formats, {
4441
+ ignoreTag: J().ignoreTag
4411
4442
  })
4412
- ), Ji = (e, t = {}) => {
4443
+ ), Yi = (e, t = {}) => {
4413
4444
  var r, n, i, o;
4414
4445
  let a = t;
4415
4446
  typeof e == "object" && (a = e, e = a.id);
4416
4447
  const {
4417
4448
  values: s,
4418
- locale: u = j(),
4419
- default: l
4449
+ locale: l = F(),
4450
+ default: u
4420
4451
  } = a;
4421
- if (u == null)
4452
+ if (l == null)
4422
4453
  throw new Error(
4423
4454
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4424
4455
  );
4425
- let h = mr(e, u);
4456
+ let h = br(e, l);
4426
4457
  if (!h)
4427
- h = (o = (i = (n = (r = Y()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
4458
+ h = (o = (i = (n = (r = J()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4428
4459
  else if (typeof h != "string")
4429
4460
  return console.warn(
4430
4461
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
4431
4462
  ), h;
4432
4463
  if (!s)
4433
4464
  return h;
4434
- let c = h;
4465
+ let f = h;
4435
4466
  try {
4436
- c = Qi(h, u).format(s);
4437
- } catch (f) {
4438
- f instanceof Error && console.warn(
4467
+ f = Ji(h, l).format(s);
4468
+ } catch (c) {
4469
+ c instanceof Error && console.warn(
4439
4470
  `[svelte-i18n] Message "${e}" has syntax error:`,
4440
- f.message
4471
+ c.message
4441
4472
  );
4442
4473
  }
4443
- return c;
4444
- }, Yi = (e, t) => qi(t).format(e), Ki = (e, t) => Zi(t).format(e), eo = (e, t) => zi(t).format(e), to = (e, t = j()) => mr(e, t), ro = K([ee, fe], () => Ji);
4445
- K([ee], () => Yi);
4446
- K([ee], () => Ki);
4447
- K([ee], () => eo);
4448
- K([ee, fe], () => to);
4449
- window.emWidgets = { topic: bn };
4450
- const Uo = (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)), no = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4474
+ return f;
4475
+ }, Ki = (e, t) => Qi(t).format(e), eo = (e, t) => qi(t).format(e), to = (e, t) => Zi(t).format(e), ro = (e, t = F()) => br(e, t), no = Y([K, ce], () => Yi);
4476
+ Y([K], () => Ki);
4477
+ Y([K], () => eo);
4478
+ Y([K], () => to);
4479
+ Y([K, ce], () => ro);
4480
+ window.emWidgets = { topic: gn };
4481
+ 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)), io = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4451
4482
  function It(e, t) {
4452
- gr(e, t);
4483
+ if (e) {
4484
+ const r = document.createElement("style");
4485
+ r.innerHTML = t, e.appendChild(r);
4486
+ }
4487
+ }
4488
+ function oo(e, t) {
4489
+ const r = new URL(t);
4490
+ fetch(r.href).then((n) => n.text()).then((n) => {
4491
+ const i = document.createElement("style");
4492
+ i.innerHTML = n, e && e.appendChild(i);
4493
+ }).catch((n) => {
4494
+ console.error("There was an error while trying to load client styling from URL", n);
4495
+ });
4453
4496
  }
4454
- function io(e) {
4455
- ee.set(e);
4497
+ function so(e, t, r) {
4498
+ if (window.emMessageBus) {
4499
+ const n = document.createElement("style");
4500
+ window.emMessageBus.subscribe(t, (i) => {
4501
+ n.innerHTML = i, e && e.appendChild(n);
4502
+ });
4503
+ }
4456
4504
  }
4457
- const Lt = {
4505
+ function Lt(e, t) {
4506
+ yr(e, t);
4507
+ }
4508
+ function ao(e) {
4509
+ K.set(e);
4510
+ }
4511
+ const Mt = {
4458
4512
  en: {
4459
4513
  logoutButton: "Logout"
4460
4514
  },
@@ -4489,95 +4543,95 @@ const Lt = {
4489
4543
  logoutButton: "Logout"
4490
4544
  }
4491
4545
  };
4492
- function oo(e) {
4546
+ function uo(e) {
4493
4547
  Ir(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))}");
4494
4548
  }
4495
- function so(e) {
4549
+ function lo(e) {
4496
4550
  let t, r, n, i = (
4497
4551
  /*$_*/
4498
4552
  e[2]("logoutButton") + ""
4499
4553
  ), o, a, s;
4500
4554
  return {
4501
4555
  c() {
4502
- t = L("div"), r = L("button"), n = L("span"), o = ce(i), A(t, "class", "GeneralLogout");
4556
+ t = L("div"), r = L("button"), n = L("span"), o = he(i), B(t, "class", "GeneralLogout");
4503
4557
  },
4504
- m(u, l) {
4505
- he(u, t, l), P(t, r), P(r, n), P(n, o), a || (s = Gt(
4558
+ m(l, u) {
4559
+ le(l, t, u), A(t, r), A(r, n), A(n, o), a || (s = Ft(
4506
4560
  r,
4507
4561
  "click",
4508
4562
  /*click_handler_1*/
4509
- e[13]
4563
+ e[14]
4510
4564
  ), a = !0);
4511
4565
  },
4512
- p(u, l) {
4513
- l & /*$_*/
4566
+ p(l, u) {
4567
+ u & /*$_*/
4514
4568
  4 && i !== (i = /*$_*/
4515
- u[2]("logoutButton") + "") && Ft(o, i);
4569
+ l[2]("logoutButton") + "") && jt(o, i);
4516
4570
  },
4517
- d(u) {
4518
- u && F(t), a = !1, s();
4571
+ d(l) {
4572
+ l && G(t), a = !1, s();
4519
4573
  }
4520
4574
  };
4521
4575
  }
4522
- function ao(e) {
4523
- let t, r, n, i, o, a, s, u, l, h, c, f = !/*isMobile*/
4524
- e[3] && uo(e);
4576
+ function ho(e) {
4577
+ let t, r, n, i, o, a, s, l, u, h, f, c = !/*isMobile*/
4578
+ e[3] && co(e);
4525
4579
  return {
4526
4580
  c() {
4527
- t = L("p"), r = L("span"), n = re("svg"), i = re("defs"), o = re("style"), a = ce(".a88316b4-2478-4a69-b2eb-d32a5fb419dd{fill:var(--emw--color-white, #FFFFFF);}"), s = re("path"), u = re("path"), l = Nr(), f && f.c(), A(s, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd"), A(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"), A(u, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd"), A(u, "d", "M45.16,122.16H19.26V26.79H45.32a9.63,9.63,0,1,0,0-19.26H9.63A9.56,9.56,0,0,0,0,17.16V131.63a9.57,9.57,0,0,0,9.63,9.64H45.32A9.57,9.57,0,0,0,55,131.63a9.78,9.78,0,0,0-9.79-9.47Z"), A(n, "id", "bbfaf345-72af-4296-bf4b-2fd41fc03d5d"), A(n, "data-name", "Layer 1"), A(n, "xmlns", "http://www.w3.org/2000/svg"), A(n, "viewBox", "0 0 150 150"), Mr(r, "width", /*isMobile*/
4581
+ t = L("p"), r = L("span"), n = te("svg"), i = te("defs"), o = te("style"), a = he(".a88316b4-2478-4a69-b2eb-d32a5fb419dd{fill:var(--emw--color-white, #FFFFFF);}"), s = te("path"), l = te("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(l, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd"), B(l, "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"), Cr(r, "width", /*isMobile*/
4528
4582
  e[3] ? (
4529
4583
  /*mediaQuery*/
4530
4584
  e[4].matches ? "50px" : "24px"
4531
- ) : "20px"), A(t, "class", "PlayerAccountMenuItemBox " + /*isMobile*/
4585
+ ) : "20px"), B(t, "class", "PlayerAccountMenuItemBox " + /*isMobile*/
4532
4586
  (e[3] ? "PlayerAccountMenuItemBoxMobile" : "") + " " + /*mediaQuery*/
4533
4587
  (e[4].matches && /*isMobile*/
4534
4588
  e[3] ? "PlayerAccountMenuItemBoxTablet" : ""));
4535
4589
  },
4536
- m(p, d) {
4537
- he(p, t, d), P(t, r), P(r, n), P(n, i), P(i, o), P(o, a), P(n, s), P(n, u), P(t, l), f && f.m(t, null), h || (c = Gt(
4590
+ m(d, p) {
4591
+ le(d, t, p), A(t, r), A(r, n), A(n, i), A(i, o), A(o, a), A(n, s), A(n, l), A(t, u), c && c.m(t, null), h || (f = Ft(
4538
4592
  t,
4539
4593
  "click",
4540
4594
  /*click_handler*/
4541
- e[12]
4595
+ e[13]
4542
4596
  ), h = !0);
4543
4597
  },
4544
- p(p, d) {
4598
+ p(d, p) {
4545
4599
  /*isMobile*/
4546
- p[3] || f.p(p, d);
4600
+ d[3] || c.p(d, p);
4547
4601
  },
4548
- d(p) {
4549
- p && F(t), f && f.d(), h = !1, c();
4602
+ d(d) {
4603
+ d && G(t), c && c.d(), h = !1, f();
4550
4604
  }
4551
4605
  };
4552
4606
  }
4553
- function uo(e) {
4607
+ function co(e) {
4554
4608
  let t, r = (
4555
4609
  /*$_*/
4556
4610
  e[2]("logoutButton") + ""
4557
4611
  ), n;
4558
4612
  return {
4559
4613
  c() {
4560
- t = L("span"), n = ce(r), A(t, "class", "PlayerLogoutText");
4614
+ t = L("span"), n = he(r), B(t, "class", "PlayerLogoutText");
4561
4615
  },
4562
4616
  m(i, o) {
4563
- he(i, t, o), P(t, n);
4617
+ le(i, t, o), A(t, n);
4564
4618
  },
4565
4619
  p(i, o) {
4566
4620
  o & /*$_*/
4567
4621
  4 && r !== (r = /*$_*/
4568
- i[2]("logoutButton") + "") && Ft(n, r);
4622
+ i[2]("logoutButton") + "") && jt(n, r);
4569
4623
  },
4570
4624
  d(i) {
4571
- i && F(t);
4625
+ i && G(t);
4572
4626
  }
4573
4627
  };
4574
4628
  }
4575
- function lo(e) {
4629
+ function fo(e) {
4576
4630
  let t;
4577
4631
  function r(o, a) {
4578
4632
  return (
4579
4633
  /*buttonlocation*/
4580
- o[0] === "PlayerAccountMenu" ? ao : so
4634
+ o[0] === "PlayerAccountMenu" ? ho : lo
4581
4635
  );
4582
4636
  }
4583
4637
  let n = r(e), i = n(e);
@@ -4586,219 +4640,217 @@ function lo(e) {
4586
4640
  t = L("div"), i.c();
4587
4641
  },
4588
4642
  m(o, a) {
4589
- he(o, t, a), i.m(t, null), e[14](t);
4643
+ le(o, t, a), i.m(t, null), e[15](t);
4590
4644
  },
4591
4645
  p(o, [a]) {
4592
4646
  n === (n = r(o)) && i ? i.p(o, a) : (i.d(1), i = n(o), i && (i.c(), i.m(t, null)));
4593
4647
  },
4594
- i: B,
4595
- o: B,
4648
+ i: H,
4649
+ o: H,
4596
4650
  d(o) {
4597
- o && F(t), i.d(), e[14](null);
4651
+ o && G(t), i.d(), e[15](null);
4598
4652
  }
4599
4653
  };
4600
4654
  }
4601
- function ho(e, t, r) {
4655
+ function po(e, t, r) {
4602
4656
  let n;
4603
- Ar(e, ro, (y) => r(2, n = y));
4604
- let { endpoint: i = "" } = t, { session: o = "" } = t, { buttonlocation: a = "" } = t, { lang: s = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: h = "" } = t, c = "", f = !1, p, d = window.navigator.userAgent, m = no(d) !== "PC";
4605
- const x = window.matchMedia("(min-width: 768px)"), T = () => {
4606
- fetch(h).then((I) => I.json()).then((I) => {
4607
- Object.keys(I).forEach((D) => {
4608
- It(D, I[D]);
4657
+ Ar(e, no, (v) => r(2, n = v));
4658
+ let { endpoint: i = "" } = t, { session: o = "" } = t, { buttonlocation: a = "" } = t, { lang: s = "" } = t, { mbsource: l } = t, { clientstyling: u = "" } = t, { clientstylingurl: h = "" } = t, { translationurl: f = "" } = t, c = "", d = !1, p, m = window.navigator.userAgent, x = io(m) !== "PC";
4659
+ const T = window.matchMedia("(min-width: 768px)"), P = () => {
4660
+ fetch(f).then((R) => R.json()).then((R) => {
4661
+ Object.keys(R).forEach((Ie) => {
4662
+ Lt(Ie, R[Ie]);
4609
4663
  });
4610
- }).catch((I) => {
4611
- console.log(I);
4664
+ }).catch((R) => {
4665
+ console.log(R);
4612
4666
  });
4613
4667
  };
4614
- Object.keys(Lt).forEach((y) => {
4615
- It(y, Lt[y]);
4668
+ Object.keys(Mt).forEach((v) => {
4669
+ Lt(v, Mt[v]);
4616
4670
  });
4617
- const w = () => {
4618
- let y = new Headers();
4619
- y.append("Content-type", "application/json"), y.append("X-SessionID", o);
4620
- let I = { method: "DELETE", headers: y };
4621
- fetch(`${i}/v1/player/session/player`, I).then((D) => {
4671
+ const E = () => {
4672
+ let v = new Headers();
4673
+ v.append("Content-type", "application/json"), v.append("X-SessionID", o);
4674
+ let R = { method: "DELETE", headers: v };
4675
+ fetch(`${i}/v1/player/session/player`, R).then((Ie) => {
4622
4676
  window.postMessage({ type: "LogoutSuccessfull" }, window.location.href);
4623
4677
  });
4624
- }, E = () => (i || (c = "GENERAL-LOGOUT - Endpoint is missing! Please provide a valid endpointURL.", f = !0, console.error(c)), o || (c = "GENERAL-LOGOUT - Session is missing! Please provide a valid session.", f = !0, console.error(c)), f), O = () => {
4625
- io(s);
4626
- }, H = () => {
4627
- let y = document.createElement("style");
4628
- y.innerHTML = u, p.appendChild(y);
4629
- }, R = () => {
4630
- let y = new URL(l), I = document.createElement("style");
4631
- fetch(y.href).then((D) => D.text()).then((D) => {
4632
- I.innerHTML = D, setTimeout(
4633
- () => {
4634
- p.appendChild(I);
4635
- },
4636
- 1
4637
- ), setTimeout(
4638
- () => {
4639
- },
4640
- 500
4641
- );
4642
- });
4643
- }, pe = () => w(), Sr = () => w();
4644
- function Tr(y) {
4645
- Fe[y ? "unshift" : "push"](() => {
4646
- p = y, r(1, p);
4678
+ }, 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 = () => {
4679
+ ao(s);
4680
+ };
4681
+ kr(() => () => {
4682
+ });
4683
+ const $ = () => E(), fe = () => E();
4684
+ function Tr(v) {
4685
+ Fe[v ? "unshift" : "push"](() => {
4686
+ p = v, r(1, p);
4647
4687
  });
4648
4688
  }
4649
- return e.$$set = (y) => {
4650
- "endpoint" in y && r(6, i = y.endpoint), "session" in y && r(7, o = y.session), "buttonlocation" in y && r(0, a = y.buttonlocation), "lang" in y && r(8, s = y.lang), "clientstyling" in y && r(9, u = y.clientstyling), "clientstylingurl" in y && r(10, l = y.clientstylingurl), "translationurl" in y && r(11, h = y.translationurl);
4689
+ return e.$$set = (v) => {
4690
+ "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, l = v.mbsource), "clientstyling" in v && r(10, u = v.clientstyling), "clientstylingurl" in v && r(11, h = v.clientstylingurl), "translationurl" in v && r(12, f = v.translationurl);
4651
4691
  }, e.$$.update = () => {
4652
4692
  e.$$.dirty & /*endpoint, session, buttonlocation*/
4653
- 193 && i && o && a && E(), e.$$.dirty & /*lang*/
4654
- 256 && s && O(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4655
- 514 && u && p && H(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4656
- 1026 && l && p && R(), e.$$.dirty & /*translationurl*/
4657
- 2048 && h && T();
4693
+ 193 && i && o && a && O(), e.$$.dirty & /*lang*/
4694
+ 256 && s && w(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4695
+ 1026 && u && p && It(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4696
+ 1026 && u && p && It(p, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4697
+ 2050 && h && p && oo(p, h), e.$$.dirty & /*mbsource, customStylingContainer*/
4698
+ 514 && l && p && so(p, `${l}.Style`), e.$$.dirty & /*translationurl*/
4699
+ 4096 && f && P();
4658
4700
  }, [
4659
4701
  a,
4660
4702
  p,
4661
4703
  n,
4662
- m,
4663
4704
  x,
4664
- w,
4705
+ T,
4706
+ E,
4665
4707
  i,
4666
4708
  o,
4667
4709
  s,
4668
- u,
4669
4710
  l,
4711
+ u,
4670
4712
  h,
4671
- pe,
4672
- Sr,
4713
+ f,
4714
+ $,
4715
+ fe,
4673
4716
  Tr
4674
4717
  ];
4675
4718
  }
4676
- class Er extends Kr {
4719
+ class Sr extends en {
4677
4720
  constructor(t) {
4678
- super(), Jr(
4721
+ super(), Yr(
4679
4722
  this,
4680
4723
  t,
4681
- ho,
4682
- lo,
4724
+ po,
4725
+ fo,
4683
4726
  Ct,
4684
4727
  {
4685
4728
  endpoint: 6,
4686
4729
  session: 7,
4687
4730
  buttonlocation: 0,
4688
4731
  lang: 8,
4689
- clientstyling: 9,
4690
- clientstylingurl: 10,
4691
- translationurl: 11
4732
+ mbsource: 9,
4733
+ clientstyling: 10,
4734
+ clientstylingurl: 11,
4735
+ translationurl: 12
4692
4736
  },
4693
- oo
4737
+ uo
4694
4738
  );
4695
4739
  }
4696
4740
  get endpoint() {
4697
4741
  return this.$$.ctx[6];
4698
4742
  }
4699
4743
  set endpoint(t) {
4700
- this.$$set({ endpoint: t }), N();
4744
+ this.$$set({ endpoint: t }), I();
4701
4745
  }
4702
4746
  get session() {
4703
4747
  return this.$$.ctx[7];
4704
4748
  }
4705
4749
  set session(t) {
4706
- this.$$set({ session: t }), N();
4750
+ this.$$set({ session: t }), I();
4707
4751
  }
4708
4752
  get buttonlocation() {
4709
4753
  return this.$$.ctx[0];
4710
4754
  }
4711
4755
  set buttonlocation(t) {
4712
- this.$$set({ buttonlocation: t }), N();
4756
+ this.$$set({ buttonlocation: t }), I();
4713
4757
  }
4714
4758
  get lang() {
4715
4759
  return this.$$.ctx[8];
4716
4760
  }
4717
4761
  set lang(t) {
4718
- this.$$set({ lang: t }), N();
4762
+ this.$$set({ lang: t }), I();
4719
4763
  }
4720
- get clientstyling() {
4764
+ get mbsource() {
4721
4765
  return this.$$.ctx[9];
4722
4766
  }
4767
+ set mbsource(t) {
4768
+ this.$$set({ mbsource: t }), I();
4769
+ }
4770
+ get clientstyling() {
4771
+ return this.$$.ctx[10];
4772
+ }
4723
4773
  set clientstyling(t) {
4724
- this.$$set({ clientstyling: t }), N();
4774
+ this.$$set({ clientstyling: t }), I();
4725
4775
  }
4726
4776
  get clientstylingurl() {
4727
- return this.$$.ctx[10];
4777
+ return this.$$.ctx[11];
4728
4778
  }
4729
4779
  set clientstylingurl(t) {
4730
- this.$$set({ clientstylingurl: t }), N();
4780
+ this.$$set({ clientstylingurl: t }), I();
4731
4781
  }
4732
4782
  get translationurl() {
4733
- return this.$$.ctx[11];
4783
+ return this.$$.ctx[12];
4734
4784
  }
4735
4785
  set translationurl(t) {
4736
- this.$$set({ translationurl: t }), N();
4786
+ this.$$set({ translationurl: t }), I();
4737
4787
  }
4738
4788
  }
4739
- Yr(Er, { endpoint: {}, session: {}, buttonlocation: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
4740
- const Do = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4789
+ Kr(Sr, { endpoint: {}, session: {}, buttonlocation: {}, lang: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
4790
+ const Go = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4741
4791
  __proto__: null,
4742
- default: Er
4792
+ default: Sr
4743
4793
  }, Symbol.toStringTag, { value: "Module" }));
4744
4794
  export {
4745
- ee as $,
4746
- Io as A,
4747
- xo as B,
4748
- yo as C,
4749
- fo as D,
4750
- mo as E,
4751
- bo as F,
4752
- po as G,
4753
- Wr as H,
4754
- Co as I,
4755
- Eo as J,
4756
- $o as K,
4757
- _o as L,
4758
- Ao as M,
4759
- wo as N,
4760
- Ho as O,
4761
- Te as P,
4795
+ K as $,
4796
+ It as A,
4797
+ no as B,
4798
+ ce as C,
4799
+ Lo as D,
4800
+ So as E,
4801
+ xo as F,
4802
+ bo as G,
4803
+ yo as H,
4804
+ vo as I,
4805
+ go as J,
4806
+ zr as K,
4807
+ Co as L,
4808
+ To as M,
4809
+ Ro as N,
4810
+ Eo as O,
4811
+ Oo as P,
4762
4812
  Bo as Q,
4763
- le as R,
4764
- Kr as S,
4765
- Uo as T,
4766
- Mr as U,
4767
- go as V,
4768
- vo as W,
4769
- co as X,
4770
- wr as Y,
4813
+ Ao as R,
4814
+ en as S,
4815
+ Se as T,
4816
+ Po as U,
4817
+ ue as V,
4818
+ Do as W,
4819
+ Cr as X,
4820
+ _o as Y,
4771
4821
  No as Z,
4772
4822
  Mo as _,
4773
- gr as a,
4774
- Lo as a0,
4775
- Ro as a1,
4776
- yn as a2,
4777
- To as a3,
4778
- Do as a4,
4823
+ yr as a,
4824
+ mo as a0,
4825
+ wr as a1,
4826
+ $o as a2,
4827
+ Uo as a3,
4828
+ vn as a4,
4829
+ Ho as a5,
4830
+ Go as a6,
4779
4831
  Ir as b,
4780
- Yr as c,
4781
- Nr as d,
4832
+ Kr as c,
4833
+ Mr as d,
4782
4834
  L as e,
4783
- N as f,
4784
- A as g,
4785
- Po as h,
4786
- Jr as i,
4787
- So as j,
4788
- he as k,
4789
- P as l,
4790
- Gt as m,
4791
- Ft as n,
4792
- B as o,
4793
- F as p,
4835
+ I as f,
4836
+ B as g,
4837
+ Io as h,
4838
+ Yr as i,
4839
+ wo as j,
4840
+ le as k,
4841
+ A as l,
4842
+ Ft as m,
4843
+ jt as n,
4844
+ H as o,
4845
+ G as p,
4794
4846
  Ar as q,
4795
- G as r,
4847
+ D as r,
4796
4848
  Ct as s,
4797
- ce as t,
4798
- no as u,
4799
- Oo as v,
4800
- re as w,
4801
- Fe as x,
4802
- ro as y,
4803
- fe as z
4849
+ he as t,
4850
+ io as u,
4851
+ kr as v,
4852
+ oo as w,
4853
+ so as x,
4854
+ te as y,
4855
+ Fe as z
4804
4856
  };