@everymatrix/player-account-controller 1.54.12 → 1.56.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (202) hide show
  1. package/components/{GeneralLogout-CMYMtWfC.cjs → GeneralLogout-9pZTJKCj.cjs} +4 -4
  2. package/components/{GeneralLogout-CwSCMNgW.js → GeneralLogout-DH2dZPHM.js} +744 -729
  3. package/components/{GeneralLogout-BO_iHKNr.js → GeneralLogout-DKa2JUny.js} +617 -602
  4. package/components/PlayerAccountBettingHistory-BgdXC00n.cjs +1 -0
  5. package/components/{PlayerAccountBettingHistory-BoeZFFFu.js → PlayerAccountBettingHistory-CxIU3NjD.js} +127 -131
  6. package/components/PlayerAccountBettingHistory-DcspNMNL.js +329 -0
  7. package/components/{PlayerAccountBiometrics-DbzqR4YB.cjs → PlayerAccountBiometrics-8CaZALdD.cjs} +1 -1
  8. package/components/{PlayerAccountBiometrics-TQaVyCUp.js → PlayerAccountBiometrics-BBYUw87N.js} +126 -127
  9. package/components/{PlayerAccountBiometrics-C6n6AU67.js → PlayerAccountBiometrics-D3fKLHtV.js} +126 -127
  10. package/components/{PlayerAccountClosure-mb6TcNFj.js → PlayerAccountClosure-CtTfS7wl.js} +121 -122
  11. package/components/{PlayerAccountClosure-RO3lnj8F.js → PlayerAccountClosure-DJv7cY7T.js} +121 -122
  12. package/components/{PlayerAccountClosure-CoKkAlIq.cjs → PlayerAccountClosure-Z7IuAXPP.cjs} +1 -1
  13. package/components/PlayerAccountController-BfaTH0AY.cjs +1 -0
  14. package/components/{PlayerAccountController-Nco62fa4.js → PlayerAccountController-BqEnzpc6.js} +2707 -2169
  15. package/components/{PlayerAccountController-B99YscRG.js → PlayerAccountController-Djsrrn-h.js} +2713 -2175
  16. package/components/{PlayerAccountGamingLimits-DiyC185P.js → PlayerAccountGamingLimits-Bd5ti2Yy.js} +296 -245
  17. package/components/PlayerAccountGamingLimits-DoYSa5g4.cjs +1 -0
  18. package/components/{PlayerAccountGamingLimits-Bc6vqzq1.js → PlayerAccountGamingLimits-cnXxBvfZ.js} +296 -245
  19. package/components/{PlayerAccountGamingLimitsConfirmationModal-BnOXTUlS.js → PlayerAccountGamingLimitsConfirmationModal-CS4mjsLb.js} +123 -127
  20. package/components/PlayerAccountGamingLimitsConfirmationModal-CUg2My3V.cjs +1 -0
  21. package/components/{PlayerAccountGamingLimitsConfirmationModal-x0MkZXMQ.js → PlayerAccountGamingLimitsConfirmationModal-_MNPhSXy.js} +123 -127
  22. package/components/{PlayerAccountGamingLimitsGroupEdit-dprcKEZC.js → PlayerAccountGamingLimitsGroupEdit-45Rp4DP_.js} +1086 -1090
  23. package/components/{PlayerAccountGamingLimitsGroupEdit-DYe0OoaG.cjs → PlayerAccountGamingLimitsGroupEdit-ByRLb87-.cjs} +4 -4
  24. package/components/{PlayerAccountGamingLimitsGroupEdit-Crmi-e6x.js → PlayerAccountGamingLimitsGroupEdit-C7OBS8be.js} +1086 -1090
  25. package/components/{PlayerAccountGamingLimitsHistory2-DiAUM6kQ.js → PlayerAccountGamingLimitsHistory2-VyLPwXZu.js} +219 -227
  26. package/components/{PlayerAccountGamingLimitsHistory2-CS4fpWhH.cjs → PlayerAccountGamingLimitsHistory2-XZt8OllP.cjs} +1 -1
  27. package/components/{PlayerAccountGamingLimitsHistory2-Dt9CSOvf.js → PlayerAccountGamingLimitsHistory2-mJtlR6Ge.js} +212 -220
  28. package/components/{PlayerAccountGamingLimitsInfoCard-Bd4vV7fT.js → PlayerAccountGamingLimitsInfoCard-BxU5hBOF.js} +644 -593
  29. package/components/{PlayerAccountGamingLimitsInfoCard-D9MKGXei.js → PlayerAccountGamingLimitsInfoCard-C7pCh3__.js} +644 -593
  30. package/components/PlayerAccountGamingLimitsInfoCard-c0kYK6Z1.cjs +1 -0
  31. package/components/{PlayerAccountGamingLimitsPage2Gm16-C9VhT1ek.js → PlayerAccountGamingLimitsPage2Gm16-CNiOjWfB.js} +1058 -1034
  32. package/components/PlayerAccountGamingLimitsPage2Gm16-Cha-RkAd.cjs +21 -0
  33. package/components/{PlayerAccountGamingLimitsPage2Gm16-WSk66pxJ.js → PlayerAccountGamingLimitsPage2Gm16-D66arvZd.js} +1157 -1133
  34. package/components/{PlayerAccountGamingLimitsPopup-C2R4OzUK.js → PlayerAccountGamingLimitsPopup-BzEwvjUN.js} +113 -117
  35. package/components/{PlayerAccountGamingLimitsPopup-zTXU7ohP.cjs → PlayerAccountGamingLimitsPopup-CfBYEYKc.cjs} +1 -1
  36. package/components/{PlayerAccountGamingLimitsPopup-DLqNpo7V.js → PlayerAccountGamingLimitsPopup-D3UUO_Eq.js} +113 -117
  37. package/components/PlayerAccountGamingLimitsWrapper2-5LQf2KmJ.js +1017 -0
  38. package/components/PlayerAccountGamingLimitsWrapper2-Bodw0FD-.js +1011 -0
  39. package/components/PlayerAccountGamingLimitsWrapper2-CFxTXIfS.cjs +1 -0
  40. package/components/{PlayerAccountGeneralConfirmationModal-BrcO0n_o.js → PlayerAccountGeneralConfirmationModal-CXql07aQ.js} +145 -146
  41. package/components/{PlayerAccountGeneralConfirmationModal-DHuSzGQn.js → PlayerAccountGeneralConfirmationModal-D8JPZNbs.js} +145 -146
  42. package/components/PlayerAccountGeneralConfirmationModal-Dr-ZkTHH.cjs +1 -0
  43. package/components/PlayerAccountMenu-5EvNrc-W.cjs +1 -0
  44. package/components/PlayerAccountMenu-BHWtSf34.js +684 -0
  45. package/components/PlayerAccountMenu-CKSsdVD4.js +683 -0
  46. package/components/PlayerAccountModal-CAL-lChv.js +209 -0
  47. package/components/PlayerAccountModal-CLW-XTid.cjs +1 -0
  48. package/components/PlayerAccountModal-c01xdqmW.js +209 -0
  49. package/components/PlayerAccountNotifications-B-haSjPr.cjs +1 -0
  50. package/components/PlayerAccountNotifications-Bvoot0Jw.js +368 -0
  51. package/components/PlayerAccountNotifications-CitVsKYm.js +369 -0
  52. package/components/{PlayerAccountSelfExclusion-Dlkeebgy.cjs → PlayerAccountSelfExclusion-CW1t2BNm.cjs} +92 -92
  53. package/components/{PlayerAccountSelfExclusion-C-Gq5xhb.js → PlayerAccountSelfExclusion-Cz0rML3Z.js} +1756 -1618
  54. package/components/{PlayerAccountSelfExclusion-Dsc1c5ET.js → PlayerAccountSelfExclusion-DzxXZ0NG.js} +1743 -1605
  55. package/components/{PlayerAccountTimeout-BrX6tkl3.js → PlayerAccountTimeout-9wxsYv0_.js} +496 -365
  56. package/components/PlayerAccountTimeout-CAWJeQ3d.cjs +1 -0
  57. package/components/{PlayerAccountTimeout-DPGSPm6O.js → PlayerAccountTimeout-gWHY_22Q.js} +496 -365
  58. package/components/PlayerActiveBonuses-D0jBzeb4.js +1055 -0
  59. package/components/PlayerActiveBonuses-DTgD47j8.cjs +1 -0
  60. package/components/PlayerActiveBonuses-qHNn2eq8.js +1056 -0
  61. package/components/{PlayerBonusCard-DqHyFS9o.cjs → PlayerBonusCard-5gtng8cd.cjs} +1 -1
  62. package/components/{PlayerBonusCard-Ci1k7NFv.js → PlayerBonusCard-CGoRkCFh.js} +149 -151
  63. package/components/{PlayerBonusCard-BtSC36hN.js → PlayerBonusCard-CaQEQ2Fx.js} +149 -151
  64. package/components/PlayerBonusHistory-C6p_5FRc.cjs +1 -0
  65. package/components/PlayerBonusHistory-DBCc2ItI.js +937 -0
  66. package/components/PlayerBonusHistory-DfQd--j_.js +938 -0
  67. package/components/{PlayerChangePassword-Bhfh3D2M.js → PlayerChangePassword-6dHXMBQg.js} +388 -392
  68. package/components/{PlayerChangePassword-B4VW3taV.cjs → PlayerChangePassword-BsM1lBfW.cjs} +2 -2
  69. package/components/{PlayerChangePassword-Dk7vlEEM.js → PlayerChangePassword-COdBpupf.js} +388 -392
  70. package/components/PlayerDeposit-0eaqfWH1.cjs +1 -0
  71. package/components/PlayerDeposit-CTXnx-k2.js +391 -0
  72. package/components/PlayerDeposit-DwxXelMX.js +391 -0
  73. package/components/{PlayerGamingHistory-CaYFZtwD.js → PlayerGamingHistory-4f_MiXvH.js} +337 -341
  74. package/components/PlayerGamingHistory-DAfDiFej.cjs +1 -0
  75. package/components/{PlayerGamingHistory-BPF2pyCO.js → PlayerGamingHistory-dDHtahYn.js} +363 -367
  76. package/components/{PlayerPendingWithdrawals-DQ_Nh38H.js → PlayerPendingWithdrawals-BFrv_-ow.js} +113 -114
  77. package/components/{PlayerPendingWithdrawals-DabTg_Hg.js → PlayerPendingWithdrawals-CHHH7JPW.js} +113 -114
  78. package/components/PlayerPendingWithdrawals-qMs8We3P.cjs +1 -0
  79. package/components/PlayerProfileInfo-DDHAv267.cjs +1 -0
  80. package/components/PlayerProfileInfo-DlA-e6OI.js +1821 -0
  81. package/components/PlayerProfileInfo-Yky_xo7E.js +1804 -0
  82. package/components/PlayerRealityCheck-BLlc8RGo.cjs +1 -0
  83. package/components/PlayerRealityCheck-Bn_ov_Ie.js +652 -0
  84. package/components/PlayerRealityCheck-JOxPFKqm.js +668 -0
  85. package/components/PlayerTransactionHistory-BqEXyDt-.cjs +1 -0
  86. package/components/PlayerTransactionHistory-CxRrWzgQ.js +314 -0
  87. package/components/PlayerTransactionHistory-CzOvo_E3.js +314 -0
  88. package/components/PlayerWithdrawal-1i-tYxaO.cjs +1 -0
  89. package/components/{PlayerWithdrawal-BrqShTsy.js → PlayerWithdrawal-BlhHRFmC.js} +136 -140
  90. package/components/{PlayerWithdrawal-ct79yXDc.js → PlayerWithdrawal-CnoGAUmo.js} +136 -140
  91. package/es2015/player-account-controller.cjs +1 -1
  92. package/es2015/player-account-controller.js +1 -1
  93. package/esnext/player-account-controller.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-C0vi_PY4.js → app-globals-0f993ce5-DzSE6TtH.js} +4 -2
  97. package/stencil/{checkbox-group-input_9-BDryW6Wx.js → checkbox-group-input_9-B_RfUM6E.js} +86 -83
  98. package/stencil/{checkbox-group-input_9-B0JD93gn.cjs → checkbox-group-input_9-C2IUNSpC.cjs} +26 -26
  99. package/stencil/{checkbox-group-input_9-9b62GyCW.js → checkbox-group-input_9-C98yT4vw.js} +90 -87
  100. package/stencil/{general-input-BXIgsD0E.js → general-input-CqTf7ErJ.js} +1 -1
  101. package/stencil/{general-input-CwyM4h8z.js → general-input-DTHw5Z1Q.js} +1 -1
  102. package/stencil/{general-input-BL1L8PI-.cjs → general-input-wM2i7b57.cjs} +1 -1
  103. package/stencil/{index-0a27499c-BaAMIKJI.js → index-12dd2b03-B2coll71.js} +143 -142
  104. package/stencil/index-12dd2b03-Dd1hsUZX.cjs +1 -0
  105. package/stencil/{index-0a27499c-DaAhyku1.js → index-12dd2b03-YP3skHrn.js} +133 -132
  106. package/stencil/{index-92b64862-CK1ANWGa.cjs → index-92b64862-BRYoLHww.cjs} +1 -1
  107. package/stencil/{index-92b64862-Bnmv00O2.js → index-92b64862-C_69cKxK.js} +4 -4
  108. package/stencil/{index-92b64862-CO3_TP5h.js → index-92b64862-w9a1l35N.js} +4 -4
  109. package/stencil/{index-1d58b17d-CY3tvLdR.js → index-b1bdf3f6-0mlbFiN3.js} +121 -120
  110. package/stencil/{index-1d58b17d-BREebYgt.js → index-b1bdf3f6-DBuAhDH-.js} +128 -127
  111. package/stencil/index-b1bdf3f6-DdF5azN0.cjs +1 -0
  112. package/stencil/{index-45f4006f-D9GyS-vs.js → index-c7e52808-7ohcD8fQ.js} +44 -44
  113. package/stencil/index-c7e52808-DYutdKGj.cjs +1 -0
  114. package/stencil/{index-45f4006f-DKAxZFDZ.js → index-c7e52808-WCb5gCA6.js} +46 -46
  115. package/stencil/index-db5752f9-B4MZ13Fz.js +610 -0
  116. package/stencil/index-db5752f9-C_VcDZns.js +594 -0
  117. package/stencil/index-db5752f9-DSHLGBj_.cjs +1 -0
  118. package/stencil/{password-input_2-D3ziy4Iu.cjs → password-input_2-B2qvf6ku.cjs} +1 -1
  119. package/stencil/{password-input_2-ZN0C3aqj.js → password-input_2-CdHS5fmR.js} +3 -3
  120. package/stencil/{password-input_2-B5ePukhS.js → password-input_2-DdQvCp3o.js} +3 -3
  121. package/stencil/player-change-password-gm2-1hTMqepH.js +7 -0
  122. package/stencil/player-change-password-gm2-2YEpyazj.js +25 -0
  123. package/stencil/{player-change-password-gm2-2de114b8-BXdScOXy.js → player-change-password-gm2-38dff08c-BNhjxr22.js} +84 -65
  124. package/stencil/{player-change-password-gm2-2de114b8-D375sYxZ.js → player-change-password-gm2-38dff08c-CPRdwVFF.js} +84 -65
  125. package/stencil/player-change-password-gm2-38dff08c-DnYXSeKg.cjs +1 -0
  126. package/stencil/player-change-password-gm2-CDxgB3eD.cjs +1 -0
  127. package/stencil/player-kyc-verification-5V24oWMX.cjs +180 -0
  128. package/stencil/{player-kyc-verification-BZX3owFI.js → player-kyc-verification-BPrVDLfj.js} +79 -59
  129. package/stencil/{player-kyc-verification-KcMUMtzd.js → player-kyc-verification-CRwnm961.js} +84 -64
  130. package/stencil/{toggle-checkbox-input-BqotLJuA.js → toggle-checkbox-input-B4OOk9wz.js} +1 -1
  131. package/stencil/{toggle-checkbox-input-DFpk-vL2.js → toggle-checkbox-input-Cwo_Ny77.js} +1 -1
  132. package/stencil/{toggle-checkbox-input-n5b3s-CU.cjs → toggle-checkbox-input-tQDhlcag.cjs} +1 -1
  133. package/stencil/ui-skeleton-982450d2-BEC6vjfL.cjs +1 -0
  134. package/stencil/ui-skeleton-982450d2-CXoVwMz-.js +122 -0
  135. package/stencil/ui-skeleton-982450d2-DgSl7oS5.js +122 -0
  136. package/stencil/ui-skeleton-BjdFVTvB.cjs +1 -0
  137. package/stencil/ui-skeleton-BkychLQM.js +29 -0
  138. package/stencil/ui-skeleton-Bw-C78oa.js +11 -0
  139. package/stencil/{user-deposit-withdrawal-6RE0dcHP.js → user-deposit-withdrawal-51pO8ttC.js} +181 -164
  140. package/stencil/user-deposit-withdrawal-Bn1WPRou.cjs +59 -0
  141. package/stencil/{user-deposit-withdrawal-D7AuBXPO.js → user-deposit-withdrawal-C0SOQks0.js} +257 -240
  142. package/stencil/user-transaction-history-8EskARbv.cjs +1 -0
  143. package/stencil/user-transaction-history-BsTUJ4on.js +350 -0
  144. package/stencil/user-transaction-history-LRgu-JMX.js +374 -0
  145. package/stencil/{vaadin-button-mixin-b8087c3c-DTenw4S9.js → vaadin-button-mixin-ef61174c-B_vhSFKU.js} +1 -1
  146. package/stencil/{vaadin-button-mixin-b8087c3c-BzMgQwsM.cjs → vaadin-button-mixin-ef61174c-DuDVejN4.cjs} +1 -1
  147. package/stencil/{vaadin-button-mixin-b8087c3c-DMeIIR12.js → vaadin-button-mixin-ef61174c-EQiVsI4x.js} +1 -1
  148. package/components/PlayerAccountBettingHistory-C6G8D9gE.js +0 -333
  149. package/components/PlayerAccountBettingHistory-Cb8OMNy9.cjs +0 -1
  150. package/components/PlayerAccountController-C2q8ibgU.cjs +0 -1
  151. package/components/PlayerAccountGamingLimits-DbX9_Kpb.cjs +0 -1
  152. package/components/PlayerAccountGamingLimitsConfirmationModal-CnGLRHzu.cjs +0 -1
  153. package/components/PlayerAccountGamingLimitsInfoCard-DFsD9RSx.cjs +0 -1
  154. package/components/PlayerAccountGamingLimitsPage2Gm16-8-RWZDSp.cjs +0 -21
  155. package/components/PlayerAccountGamingLimitsWrapper2-CXP2X7Lk.cjs +0 -1
  156. package/components/PlayerAccountGamingLimitsWrapper2-Cr1xbzbX.js +0 -866
  157. package/components/PlayerAccountGamingLimitsWrapper2-D3NmPjvT.js +0 -860
  158. package/components/PlayerAccountGeneralConfirmationModal-CnGS36kY.cjs +0 -1
  159. package/components/PlayerAccountMenu-Bnj75Pyr.js +0 -578
  160. package/components/PlayerAccountMenu-VCDFEkVV.js +0 -579
  161. package/components/PlayerAccountMenu-kULPvwXH.cjs +0 -1
  162. package/components/PlayerAccountModal-BGNjm-FU.js +0 -213
  163. package/components/PlayerAccountModal-DLxnK5Aq.cjs +0 -1
  164. package/components/PlayerAccountModal-d2eY7pgp.js +0 -213
  165. package/components/PlayerAccountNotifications-BkPn9o0x.js +0 -261
  166. package/components/PlayerAccountNotifications-DLpnh54-.cjs +0 -1
  167. package/components/PlayerAccountNotifications-DwHaboef.js +0 -261
  168. package/components/PlayerAccountTimeout-DX8TE-kL.cjs +0 -1
  169. package/components/PlayerActiveBonuses-DZ1TuekM.js +0 -1088
  170. package/components/PlayerActiveBonuses-T1itpvjq.cjs +0 -1
  171. package/components/PlayerActiveBonuses-WBu-rYFj.js +0 -1089
  172. package/components/PlayerBonusHistory-C7m0o7Yl.js +0 -919
  173. package/components/PlayerBonusHistory-D-qDx10G.cjs +0 -1
  174. package/components/PlayerBonusHistory-DDNLaEBO.js +0 -920
  175. package/components/PlayerDeposit-B04mpHHT.js +0 -395
  176. package/components/PlayerDeposit-CH0pw_GN.cjs +0 -1
  177. package/components/PlayerDeposit-DJXOEJyq.js +0 -395
  178. package/components/PlayerGamingHistory-CcFH-mIk.cjs +0 -1
  179. package/components/PlayerPendingWithdrawals-BvhoX5n1.cjs +0 -1
  180. package/components/PlayerProfileInfo-AEY5xCAX.js +0 -1740
  181. package/components/PlayerProfileInfo-D7thO7JS.js +0 -1757
  182. package/components/PlayerProfileInfo-DQflJzdX.cjs +0 -1
  183. package/components/PlayerRealityCheck-6ZyJUl5U.js +0 -598
  184. package/components/PlayerRealityCheck-CzPyJQgR.js +0 -582
  185. package/components/PlayerRealityCheck-DMI_8YfG.cjs +0 -1
  186. package/components/PlayerTransactionHistory-CSK3J3Na.js +0 -315
  187. package/components/PlayerTransactionHistory-Dj8ABxFp.cjs +0 -1
  188. package/components/PlayerTransactionHistory-DmTfwUdw.js +0 -315
  189. package/components/PlayerWithdrawal-BwymNFiL.cjs +0 -1
  190. package/stencil/app-globals-0f993ce5-8artnnwr.cjs +0 -1
  191. package/stencil/index-0a27499c-vG7Av-0V.cjs +0 -1
  192. package/stencil/index-1d58b17d-oagDV-gC.cjs +0 -1
  193. package/stencil/index-45f4006f-CL2s7me-.cjs +0 -1
  194. package/stencil/player-change-password-gm2-2de114b8-j-W8UbVm.cjs +0 -1
  195. package/stencil/player-change-password-gm2-BDCYchnQ.js +0 -25
  196. package/stencil/player-change-password-gm2-CQtvRl58.js +0 -7
  197. package/stencil/player-change-password-gm2-DLw7pfT_.cjs +0 -1
  198. package/stencil/player-kyc-verification-CnOn9bB_.cjs +0 -180
  199. package/stencil/user-deposit-withdrawal-BZXlCCQr.cjs +0 -59
  200. package/stencil/user-transaction-history-CLdEzp7O.cjs +0 -1
  201. package/stencil/user-transaction-history-CtDvqHoF.js +0 -329
  202. package/stencil/user-transaction-history-DW482EoT.js +0 -355
@@ -1,7 +1,7 @@
1
- function B() {
1
+ function H() {
2
2
  }
3
- const xr = (e) => e;
4
- function Er(e, t) {
3
+ const _r = (e) => e;
4
+ function xr(e, t) {
5
5
  for (const r in t) e[r] = t[r];
6
6
  return (
7
7
  /** @type {T & S} */
@@ -14,44 +14,44 @@ function Ot(e) {
14
14
  function ot() {
15
15
  return /* @__PURE__ */ Object.create(null);
16
16
  }
17
- function D(e) {
17
+ function G(e) {
18
18
  e.forEach(Ot);
19
19
  }
20
- function le(e) {
20
+ function ue(e) {
21
21
  return typeof e == "function";
22
22
  }
23
23
  function It(e, t) {
24
24
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
25
25
  }
26
- let de;
27
- function uo(e, t) {
28
- return e === t ? !0 : (de || (de = document.createElement("a")), de.href = t, e === de.href);
26
+ let pe;
27
+ function lo(e, t) {
28
+ return e === t ? !0 : (pe || (pe = document.createElement("a")), pe.href = t, e === pe.href);
29
29
  }
30
- function Sr(e) {
30
+ function Er(e) {
31
31
  return Object.keys(e).length === 0;
32
32
  }
33
33
  function Lt(e, ...t) {
34
34
  if (e == null) {
35
35
  for (const n of t)
36
36
  n(void 0);
37
- return B;
37
+ return H;
38
38
  }
39
39
  const r = e.subscribe(...t);
40
40
  return r.unsubscribe ? () => r.unsubscribe() : r;
41
41
  }
42
- function Tr(e, t, r) {
42
+ function Sr(e, t, r) {
43
43
  e.$$.on_destroy.push(Lt(t, r));
44
44
  }
45
- function lo(e, t, r, n) {
45
+ function co(e, t, r, n) {
46
46
  if (e) {
47
47
  const i = Nt(e, t, r, n);
48
48
  return e[0](i);
49
49
  }
50
50
  }
51
51
  function Nt(e, t, r, n) {
52
- return e[1] && n ? Er(r.ctx.slice(), e[1](n(t))) : r.ctx;
52
+ return e[1] && n ? xr(r.ctx.slice(), e[1](n(t))) : r.ctx;
53
53
  }
54
- function ho(e, t, r, n) {
54
+ function fo(e, t, r, n) {
55
55
  if (e[2] && n) {
56
56
  const i = e[2](n(r));
57
57
  if (t.dirty === void 0)
@@ -66,13 +66,13 @@ function ho(e, t, r, n) {
66
66
  }
67
67
  return t.dirty;
68
68
  }
69
- function co(e, t, r, n, i, o) {
69
+ function po(e, t, r, n, i, o) {
70
70
  if (i) {
71
71
  const a = Nt(t, r, n, o);
72
72
  e.p(a, i);
73
73
  }
74
74
  }
75
- function fo(e) {
75
+ function mo(e) {
76
76
  if (e.ctx.length > 32) {
77
77
  const t = [], r = e.ctx.length / 32;
78
78
  for (let n = 0; n < r; n++)
@@ -81,39 +81,35 @@ function fo(e) {
81
81
  }
82
82
  return -1;
83
83
  }
84
- function po(e) {
84
+ function bo(e) {
85
85
  return e ?? "";
86
86
  }
87
- function mo(e) {
88
- return e && le(e.destroy) ? e.destroy : B;
87
+ function go(e) {
88
+ return e && ue(e.destroy) ? e.destroy : H;
89
89
  }
90
- const Ct = typeof window < "u";
91
- let wr = Ct ? () => window.performance.now() : () => Date.now(), tt = Ct ? (e) => requestAnimationFrame(e) : B;
92
- const W = /* @__PURE__ */ new Set();
93
- function Mt(e) {
94
- W.forEach((t) => {
95
- t.c(e) || (W.delete(t), t.f());
96
- }), W.size !== 0 && tt(Mt);
90
+ const Mt = typeof window < "u";
91
+ let Tr = Mt ? () => window.performance.now() : () => Date.now(), tt = Mt ? (e) => requestAnimationFrame(e) : H;
92
+ const X = /* @__PURE__ */ new Set();
93
+ function Ct(e) {
94
+ X.forEach((t) => {
95
+ t.c(e) || (X.delete(t), t.f());
96
+ }), X.size !== 0 && tt(Ct);
97
97
  }
98
- function Hr(e) {
98
+ function wr(e) {
99
99
  let t;
100
- return W.size === 0 && tt(Mt), {
100
+ return X.size === 0 && tt(Ct), {
101
101
  promise: new Promise((r) => {
102
- W.add(t = { c: e, f: r });
102
+ X.add(t = { c: e, f: r });
103
103
  }),
104
104
  abort() {
105
- W.delete(t);
105
+ X.delete(t);
106
106
  }
107
107
  };
108
108
  }
109
- const bo = typeof window < "u" ? window : typeof globalThis < "u" ? globalThis : (
110
- // @ts-ignore Node typings have this
111
- global
112
- );
113
- function P(e, t) {
109
+ function A(e, t) {
114
110
  e.appendChild(t);
115
111
  }
116
- function Br(e, t, r) {
112
+ function Hr(e, t, r) {
117
113
  const n = rt(e);
118
114
  if (!n.getElementById(t)) {
119
115
  const i = L("style");
@@ -129,12 +125,12 @@ function rt(e) {
129
125
  t
130
126
  ) : e.ownerDocument;
131
127
  }
132
- function Ar(e) {
128
+ function Br(e) {
133
129
  const t = L("style");
134
130
  return t.textContent = "/* empty */", $t(rt(e), t), t.sheet;
135
131
  }
136
132
  function $t(e, t) {
137
- return P(
133
+ return A(
138
134
  /** @type {Document} */
139
135
  e.head || e,
140
136
  t
@@ -143,44 +139,44 @@ function $t(e, t) {
143
139
  function he(e, t, r) {
144
140
  e.insertBefore(t, r || null);
145
141
  }
146
- function F(e) {
142
+ function D(e) {
147
143
  e.parentNode && e.parentNode.removeChild(e);
148
144
  }
149
- function go(e, t) {
145
+ function yo(e, t) {
150
146
  for (let r = 0; r < e.length; r += 1)
151
147
  e[r] && e[r].d(t);
152
148
  }
153
149
  function L(e) {
154
150
  return document.createElement(e);
155
151
  }
156
- function re(e) {
152
+ function te(e) {
157
153
  return document.createElementNS("http://www.w3.org/2000/svg", e);
158
154
  }
159
- function ce(e) {
155
+ function le(e) {
160
156
  return document.createTextNode(e);
161
157
  }
162
- function Pr() {
163
- return ce(" ");
158
+ function Ar() {
159
+ return le(" ");
164
160
  }
165
- function yo() {
166
- return ce("");
161
+ function vo() {
162
+ return le("");
167
163
  }
168
164
  function Rt(e, t, r, n) {
169
165
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
170
166
  }
171
- function vo(e) {
167
+ function _o(e) {
172
168
  return function(t) {
173
169
  return t.preventDefault(), e.call(this, t);
174
170
  };
175
171
  }
176
- function A(e, t, r) {
172
+ function B(e, t, r) {
177
173
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
178
174
  }
179
- function _o(e, t, r) {
175
+ function xo(e, t, r) {
180
176
  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);
177
+ 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
178
  }
183
- function xo(e) {
179
+ function Eo(e) {
184
180
  let t;
185
181
  return {
186
182
  /* push */
@@ -193,23 +189,23 @@ function xo(e) {
193
189
  }
194
190
  };
195
191
  }
196
- function Eo(e) {
192
+ function So(e) {
197
193
  return e === "" ? null : +e;
198
194
  }
199
- function Or(e) {
195
+ function Pr(e) {
200
196
  return Array.from(e.childNodes);
201
197
  }
202
198
  function Ut(e, t) {
203
199
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
204
200
  t);
205
201
  }
206
- function So(e, t) {
202
+ function To(e, t) {
207
203
  e.value = t ?? "";
208
204
  }
209
- function Ir(e, t, r, n) {
205
+ function Or(e, t, r, n) {
210
206
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
211
207
  }
212
- function To(e, t, r) {
208
+ function wo(e, t, r) {
213
209
  for (let n = 0; n < e.options.length; n += 1) {
214
210
  const i = e.options[n];
215
211
  if (i.__value === t) {
@@ -219,17 +215,17 @@ function To(e, t, r) {
219
215
  }
220
216
  (!r || t !== void 0) && (e.selectedIndex = -1);
221
217
  }
222
- function wo(e) {
218
+ function Ho(e) {
223
219
  const t = e.querySelector(":checked");
224
220
  return t && t.__value;
225
221
  }
226
- function Ho(e, t, r) {
222
+ function Bo(e, t, r) {
227
223
  e.classList.toggle(t, !!r);
228
224
  }
229
- function Lr(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
225
+ function Ir(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
230
226
  return new CustomEvent(e, { detail: t, bubbles: r, cancelable: n });
231
227
  }
232
- function Nr(e) {
228
+ function Lr(e) {
233
229
  const t = {};
234
230
  return e.childNodes.forEach(
235
231
  /** @param {Element} node */
@@ -238,176 +234,176 @@ function Nr(e) {
238
234
  }
239
235
  ), t;
240
236
  }
241
- const Ee = /* @__PURE__ */ new Map();
242
- let Se = 0;
243
- function Cr(e) {
237
+ const xe = /* @__PURE__ */ new Map();
238
+ let Ee = 0;
239
+ function Nr(e) {
244
240
  let t = 5381, r = e.length;
245
241
  for (; r--; ) t = (t << 5) - t ^ e.charCodeAt(r);
246
242
  return t >>> 0;
247
243
  }
248
244
  function Mr(e, t) {
249
- const r = { stylesheet: Ar(t), rules: {} };
250
- return Ee.set(e, r), r;
245
+ const r = { stylesheet: Br(t), rules: {} };
246
+ return xe.set(e, r), r;
251
247
  }
252
248
  function st(e, t, r, n, i, o, a, s = 0) {
253
- const u = 16.666 / n;
254
- let l = `{
249
+ const h = 16.666 / n;
250
+ let u = `{
255
251
  `;
256
- for (let x = 0; x <= 1; x += u) {
252
+ for (let x = 0; x <= 1; x += h) {
257
253
  const T = t + (r - t) * o(x);
258
- l += x * 100 + `%{${a(T, 1 - T)}}
254
+ u += x * 100 + `%{${a(T, 1 - T)}}
259
255
  `;
260
256
  }
261
- const h = l + `100% {${a(r, 1 - r)}}
262
- }`, c = `__svelte_${Cr(h)}_${s}`, f = rt(e), { stylesheet: p, rules: d } = Ee.get(f) || Mr(f, e);
263
- d[c] || (d[c] = !0, p.insertRule(`@keyframes ${c} ${h}`, p.cssRules.length));
257
+ const l = u + `100% {${a(r, 1 - r)}}
258
+ }`, f = `__svelte_${Nr(l)}_${s}`, c = rt(e), { stylesheet: d, rules: p } = xe.get(c) || Mr(c, e);
259
+ p[f] || (p[f] = !0, d.insertRule(`@keyframes ${f} ${l}`, d.cssRules.length));
264
260
  const m = e.style.animation || "";
265
- return e.style.animation = `${m ? `${m}, ` : ""}${c} ${n}ms linear ${i}ms 1 both`, Se += 1, c;
261
+ return e.style.animation = `${m ? `${m}, ` : ""}${f} ${n}ms linear ${i}ms 1 both`, Ee += 1, f;
266
262
  }
267
- function $r(e, t) {
263
+ function Cr(e, t) {
268
264
  const r = (e.style.animation || "").split(", "), n = r.filter(
269
265
  t ? (o) => o.indexOf(t) < 0 : (o) => o.indexOf("__svelte") === -1
270
266
  // remove all Svelte animations
271
267
  ), i = r.length - n.length;
272
- i && (e.style.animation = n.join(", "), Se -= i, Se || Rr());
268
+ i && (e.style.animation = n.join(", "), Ee -= i, Ee || $r());
273
269
  }
274
- function Rr() {
270
+ function $r() {
275
271
  tt(() => {
276
- Se || (Ee.forEach((e) => {
272
+ Ee || (xe.forEach((e) => {
277
273
  const { ownerNode: t } = e.stylesheet;
278
- t && F(t);
279
- }), Ee.clear());
274
+ t && D(t);
275
+ }), xe.clear());
280
276
  });
281
277
  }
282
- let se;
283
- function oe(e) {
284
- se = e;
278
+ let oe;
279
+ function ie(e) {
280
+ oe = e;
285
281
  }
286
- function Ur() {
287
- if (!se) throw new Error("Function called outside component initialization");
288
- return se;
282
+ function Rr() {
283
+ if (!oe) throw new Error("Function called outside component initialization");
284
+ return oe;
289
285
  }
290
- function Bo(e) {
291
- Ur().$$.on_mount.push(e);
286
+ function Ur(e) {
287
+ Rr().$$.on_mount.push(e);
292
288
  }
293
- const X = [], De = [];
294
- let z = [];
289
+ const V = [], De = [];
290
+ let W = [];
295
291
  const at = [], Gt = /* @__PURE__ */ Promise.resolve();
296
292
  let Fe = !1;
297
293
  function Dt() {
298
- Fe || (Fe = !0, Gt.then(N));
294
+ Fe || (Fe = !0, Gt.then(I));
299
295
  }
300
296
  function Ao() {
301
297
  return Dt(), Gt;
302
298
  }
303
- function Te(e) {
304
- z.push(e);
299
+ function Se(e) {
300
+ W.push(e);
305
301
  }
306
302
  const Le = /* @__PURE__ */ new Set();
307
- let k = 0;
308
- function N() {
309
- if (k !== 0)
303
+ let j = 0;
304
+ function I() {
305
+ if (j !== 0)
310
306
  return;
311
- const e = se;
307
+ const e = oe;
312
308
  do {
313
309
  try {
314
- for (; k < X.length; ) {
315
- const t = X[k];
316
- k++, oe(t), Gr(t.$$);
310
+ for (; j < V.length; ) {
311
+ const t = V[j];
312
+ j++, ie(t), Gr(t.$$);
317
313
  }
318
314
  } catch (t) {
319
- throw X.length = 0, k = 0, t;
315
+ throw V.length = 0, j = 0, t;
320
316
  }
321
- for (oe(null), X.length = 0, k = 0; De.length; ) De.pop()();
322
- for (let t = 0; t < z.length; t += 1) {
323
- const r = z[t];
317
+ for (ie(null), V.length = 0, j = 0; De.length; ) De.pop()();
318
+ for (let t = 0; t < W.length; t += 1) {
319
+ const r = W[t];
324
320
  Le.has(r) || (Le.add(r), r());
325
321
  }
326
- z.length = 0;
327
- } while (X.length);
322
+ W.length = 0;
323
+ } while (V.length);
328
324
  for (; at.length; )
329
325
  at.pop()();
330
- Fe = !1, Le.clear(), oe(e);
326
+ Fe = !1, Le.clear(), ie(e);
331
327
  }
332
328
  function Gr(e) {
333
329
  if (e.fragment !== null) {
334
- e.update(), D(e.before_update);
330
+ e.update(), G(e.before_update);
335
331
  const t = e.dirty;
336
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Te);
332
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Se);
337
333
  }
338
334
  }
339
335
  function Dr(e) {
340
336
  const t = [], r = [];
341
- z.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), z = t;
337
+ W.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), W = t;
342
338
  }
343
- let ne;
339
+ let re;
344
340
  function Fr() {
345
- return ne || (ne = Promise.resolve(), ne.then(() => {
346
- ne = null;
347
- })), ne;
341
+ return re || (re = Promise.resolve(), re.then(() => {
342
+ re = null;
343
+ })), re;
348
344
  }
349
345
  function Ne(e, t, r) {
350
- e.dispatchEvent(Lr(`${t ? "intro" : "outro"}${r}`));
346
+ e.dispatchEvent(Ir(`${t ? "intro" : "outro"}${r}`));
351
347
  }
352
- const ge = /* @__PURE__ */ new Set();
353
- let C;
348
+ const be = /* @__PURE__ */ new Set();
349
+ let N;
354
350
  function Po() {
355
- C = {
351
+ N = {
356
352
  r: 0,
357
353
  c: [],
358
- p: C
354
+ p: N
359
355
  // parent group
360
356
  };
361
357
  }
362
358
  function Oo() {
363
- C.r || D(C.c), C = C.p;
359
+ N.r || G(N.c), N = N.p;
364
360
  }
365
361
  function jr(e, t) {
366
- e && e.i && (ge.delete(e), e.i(t));
362
+ e && e.i && (be.delete(e), e.i(t));
367
363
  }
368
364
  function Io(e, t, r, n) {
369
365
  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());
366
+ if (be.has(e)) return;
367
+ be.add(e), N.c.push(() => {
368
+ be.delete(e), n && (r && e.d(1), n());
373
369
  }), e.o(t);
374
370
  } else n && n();
375
371
  }
376
372
  const kr = { duration: 0 };
377
373
  function Lo(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 && $r(e, l);
374
+ let o = t(e, r, { direction: "both" }), a = n ? 0 : 1, s = null, h = null, u = null, l;
375
+ function f() {
376
+ u && Cr(e, u);
381
377
  }
382
- function f(d, m) {
378
+ function c(p, m) {
383
379
  const x = (
384
380
  /** @type {Program['d']} */
385
- d.b - a
381
+ p.b - a
386
382
  );
387
383
  return m *= Math.abs(x), {
388
384
  a,
389
- b: d.b,
385
+ b: p.b,
390
386
  d: x,
391
387
  duration: m,
392
- start: d.start,
393
- end: d.start + m,
394
- group: d.group
388
+ start: p.start,
389
+ end: p.start + m,
390
+ group: p.group
395
391
  };
396
392
  }
397
- function p(d) {
393
+ function d(p) {
398
394
  const {
399
395
  delay: m = 0,
400
396
  duration: x = 300,
401
- easing: T = xr,
402
- tick: w = B,
397
+ easing: T = _r,
398
+ tick: P = H,
403
399
  css: E
404
400
  } = o || kr, O = {
405
- start: wr() + m,
406
- b: d
401
+ start: Tr() + m,
402
+ b: p
407
403
  };
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 = st(e, a, d, x, m, T, E)), d && w(0, 1), s = f(O, x), Te(() => Ne(e, d, "start")), Hr((H) => {
410
- if (u && H > u.start && (s = f(u, x), u = null, Ne(e, s.b, "start"), E && (c(), l = st(
404
+ p || (O.group = N, N.r += 1), "inert" in e && (p ? l !== void 0 && (e.inert = l) : (l = /** @type {HTMLElement} */
405
+ e.inert, e.inert = !0)), s || h ? h = O : (E && (f(), u = st(e, a, p, x, m, T, E)), p && P(0, 1), s = c(O, x), Se(() => Ne(e, p, "start")), wr((w) => {
406
+ if (h && w > h.start && (s = c(h, x), h = null, Ne(e, s.b, "start"), E && (f(), u = st(
411
407
  e,
412
408
  a,
413
409
  s.b,
@@ -416,24 +412,24 @@ function Lo(e, t, r, n) {
416
412
  T,
417
413
  o.css
418
414
  ))), 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 || D(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);
415
+ if (w >= s.end)
416
+ P(a = s.b, 1 - a), Ne(e, s.b, "end"), h || (s.b ? f() : --s.group.r || G(s.group.c)), s = null;
417
+ else if (w >= s.start) {
418
+ const $ = w - s.start;
419
+ a = s.a + s.d * T($ / s.duration), P(a, 1 - a);
424
420
  }
425
421
  }
426
- return !!(s || u);
422
+ return !!(s || h);
427
423
  }));
428
424
  }
429
425
  return {
430
- run(d) {
431
- le(o) ? Fr().then(() => {
432
- o = o({ direction: d ? "in" : "out" }), p(d);
433
- }) : p(d);
426
+ run(p) {
427
+ ue(o) ? Fr().then(() => {
428
+ o = o({ direction: p ? "in" : "out" }), d(p);
429
+ }) : d(p);
434
430
  },
435
431
  end() {
436
- c(), s = u = null;
432
+ f(), s = h = null;
437
433
  }
438
434
  };
439
435
  }
@@ -442,27 +438,27 @@ function No(e) {
442
438
  }
443
439
  function Vr(e, t, r) {
444
440
  const { fragment: n, after_update: i } = e.$$;
445
- n && n.m(t, r), Te(() => {
446
- const o = e.$$.on_mount.map(Ot).filter(le);
447
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : D(o), e.$$.on_mount = [];
448
- }), i.forEach(Te);
441
+ n && n.m(t, r), Se(() => {
442
+ const o = e.$$.on_mount.map(Ot).filter(ue);
443
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : G(o), e.$$.on_mount = [];
444
+ }), i.forEach(Se);
449
445
  }
450
446
  function Xr(e, t) {
451
447
  const r = e.$$;
452
- r.fragment !== null && (Dr(r.after_update), D(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
448
+ r.fragment !== null && (Dr(r.after_update), G(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
453
449
  }
454
450
  function Wr(e, t) {
455
- e.$$.dirty[0] === -1 && (X.push(e), Dt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
451
+ e.$$.dirty[0] === -1 && (V.push(e), Dt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
456
452
  }
457
453
  function zr(e, t, r, n, i, o, a = null, s = [-1]) {
458
- const u = se;
459
- oe(e);
460
- const l = e.$$ = {
454
+ const h = oe;
455
+ ie(e);
456
+ const u = e.$$ = {
461
457
  fragment: null,
462
458
  ctx: [],
463
459
  // state
464
460
  props: o,
465
- update: B,
461
+ update: H,
466
462
  not_equal: i,
467
463
  bound: ot(),
468
464
  // lifecycle
@@ -471,27 +467,27 @@ function zr(e, t, r, n, i, o, a = null, s = [-1]) {
471
467
  on_disconnect: [],
472
468
  before_update: [],
473
469
  after_update: [],
474
- context: new Map(t.context || (u ? u.$$.context : [])),
470
+ context: new Map(t.context || (h ? h.$$.context : [])),
475
471
  // everything else
476
472
  callbacks: ot(),
477
473
  dirty: s,
478
474
  skip_bound: !1,
479
- root: t.target || u.$$.root
475
+ root: t.target || h.$$.root
480
476
  };
481
- a && a(l.root);
482
- 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 && Wr(e, c)), f;
486
- }) : [], l.update(), h = !0, D(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
477
+ a && a(u.root);
478
+ let l = !1;
479
+ if (u.ctx = r ? r(e, t.props || {}, (f, c, ...d) => {
480
+ const p = d.length ? d[0] : c;
481
+ return u.ctx && i(u.ctx[f], u.ctx[f] = p) && (!u.skip_bound && u.bound[f] && u.bound[f](p), l && Wr(e, f)), c;
482
+ }) : [], u.update(), l = !0, G(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
487
483
  if (t.hydrate) {
488
- const c = Or(t.target);
489
- l.fragment && l.fragment.l(c), c.forEach(F);
484
+ const f = Pr(t.target);
485
+ u.fragment && u.fragment.l(f), f.forEach(D);
490
486
  } else
491
- l.fragment && l.fragment.c();
492
- t.intro && jr(e.$$.fragment), Vr(e, t.target, t.anchor), N();
487
+ u.fragment && u.fragment.c();
488
+ t.intro && jr(e.$$.fragment), Vr(e, t.target, t.anchor), I();
493
489
  }
494
- oe(u);
490
+ ie(h);
495
491
  }
496
492
  let Ft;
497
493
  typeof HTMLElement == "function" && (Ft = class extends HTMLElement {
@@ -536,29 +532,29 @@ typeof HTMLElement == "function" && (Ft = class extends HTMLElement {
536
532
  let o;
537
533
  return {
538
534
  c: function() {
539
- o = L("slot"), i !== "default" && A(o, "name", i);
535
+ o = L("slot"), i !== "default" && B(o, "name", i);
540
536
  },
541
537
  /**
542
538
  * @param {HTMLElement} target
543
539
  * @param {HTMLElement} [anchor]
544
540
  */
545
- m: function(u, l) {
546
- he(u, o, l);
541
+ m: function(h, u) {
542
+ he(h, o, u);
547
543
  },
548
- d: function(u) {
549
- u && F(o);
544
+ d: function(h) {
545
+ h && D(o);
550
546
  }
551
547
  };
552
548
  };
553
549
  };
554
550
  if (await Promise.resolve(), !this.$$cn || this.$$c)
555
551
  return;
556
- const t = {}, r = Nr(this);
552
+ const t = {}, r = Lr(this);
557
553
  for (const i of this.$$s)
558
554
  i in r && (t[i] = [e(i)]);
559
555
  for (const i of this.attributes) {
560
556
  const o = this.$$g_p(i.name);
561
- o in this.$$d || (this.$$d[o] = ye(o, i.value, this.$$p_d, "toProp"));
557
+ o in this.$$d || (this.$$d[o] = ge(o, i.value, this.$$p_d, "toProp"));
562
558
  }
563
559
  for (const i in this.$$p_d)
564
560
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -576,7 +572,7 @@ typeof HTMLElement == "function" && (Ft = class extends HTMLElement {
576
572
  this.$$r = !0;
577
573
  for (const i in this.$$p_d)
578
574
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
579
- const o = ye(
575
+ const o = ge(
580
576
  i,
581
577
  this.$$d[i],
582
578
  this.$$p_d,
@@ -598,7 +594,7 @@ typeof HTMLElement == "function" && (Ft = class extends HTMLElement {
598
594
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
599
595
  // and setting attributes through setAttribute etc, this is helpful
600
596
  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] }));
597
+ 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
598
  }
603
599
  disconnectedCallback() {
604
600
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -611,7 +607,7 @@ typeof HTMLElement == "function" && (Ft = class extends HTMLElement {
611
607
  ) || e;
612
608
  }
613
609
  });
614
- function ye(e, t, r, n) {
610
+ function ge(e, t, r, n) {
615
611
  const i = r[e]?.type;
616
612
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
617
613
  return t;
@@ -656,8 +652,8 @@ function Zr(e, t, r, n, i, o) {
656
652
  get() {
657
653
  return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
658
654
  },
659
- set(u) {
660
- u = ye(s, u, t), this.$$d[s] = u, this.$$c?.$set({ [s]: u });
655
+ set(h) {
656
+ h = ge(s, h, t), this.$$d[s] = h, this.$$c?.$set({ [s]: h });
661
657
  }
662
658
  });
663
659
  }), n.forEach((s) => {
@@ -688,7 +684,7 @@ class qr {
688
684
  $$set = void 0;
689
685
  /** @returns {void} */
690
686
  $destroy() {
691
- Xr(this, 1), this.$destroy = B;
687
+ Xr(this, 1), this.$destroy = H;
692
688
  }
693
689
  /**
694
690
  * @template {Extract<keyof Events, string>} K
@@ -697,8 +693,8 @@ class qr {
697
693
  * @returns {() => void}
698
694
  */
699
695
  $on(t, r) {
700
- if (!le(r))
701
- return B;
696
+ if (!ue(r))
697
+ return H;
702
698
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
703
699
  return n.push(r), () => {
704
700
  const i = n.indexOf(r);
@@ -710,7 +706,7 @@ class qr {
710
706
  * @returns {void}
711
707
  */
712
708
  $set(t) {
713
- this.$$set && !Sr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
709
+ this.$$set && !Er(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
714
710
  }
715
711
  }
716
712
  const Qr = "4";
@@ -722,7 +718,7 @@ var je = function(e, t) {
722
718
  for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
723
719
  }, je(e, t);
724
720
  };
725
- function $(e, t) {
721
+ function C(e, t) {
726
722
  if (typeof t != "function" && t !== null)
727
723
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
728
724
  je(e, t);
@@ -731,14 +727,14 @@ function $(e, t) {
731
727
  }
732
728
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
733
729
  }
734
- var v = function() {
735
- return v = Object.assign || function(t) {
730
+ var y = function() {
731
+ return y = Object.assign || function(t) {
736
732
  for (var r, n = 1, i = arguments.length; n < i; n++) {
737
733
  r = arguments[n];
738
734
  for (var o in r) Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
739
735
  }
740
736
  return t;
741
- }, v.apply(this, arguments);
737
+ }, y.apply(this, arguments);
742
738
  };
743
739
  function Jr(e, t) {
744
740
  var r = {};
@@ -775,7 +771,7 @@ function Ve(e, t) {
775
771
  }
776
772
  return o;
777
773
  }
778
- function Z(e, t, r) {
774
+ function z(e, t, r) {
779
775
  if (r || arguments.length === 2) for (var n = 0, i = t.length, o; n < i; n++)
780
776
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
781
777
  return e.concat(o || Array.prototype.slice.call(t));
@@ -789,7 +785,7 @@ function jt(e) {
789
785
  }, r = e(t);
790
786
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
791
787
  }
792
- var Ce = jt(function(e) {
788
+ var Me = jt(function(e) {
793
789
  return function(r) {
794
790
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
795
791
  ` + r.map(function(n, i) {
@@ -804,7 +800,7 @@ function Xe(e, t) {
804
800
  0 <= r && e.splice(r, 1);
805
801
  }
806
802
  }
807
- var Be = function() {
803
+ var He = function() {
808
804
  function e(t) {
809
805
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
810
806
  }
@@ -816,52 +812,52 @@ var Be = function() {
816
812
  if (a)
817
813
  if (this._parentage = null, Array.isArray(a))
818
814
  try {
819
- for (var s = ke(a), u = s.next(); !u.done; u = s.next()) {
820
- var l = u.value;
821
- l.remove(this);
815
+ for (var s = ke(a), h = s.next(); !h.done; h = s.next()) {
816
+ var u = h.value;
817
+ u.remove(this);
822
818
  }
823
819
  } catch (m) {
824
820
  t = { error: m };
825
821
  } finally {
826
822
  try {
827
- u && !u.done && (r = s.return) && r.call(s);
823
+ h && !h.done && (r = s.return) && r.call(s);
828
824
  } finally {
829
825
  if (t) throw t.error;
830
826
  }
831
827
  }
832
828
  else
833
829
  a.remove(this);
834
- var h = this.initialTeardown;
835
- if (M(h))
830
+ var l = this.initialTeardown;
831
+ if (M(l))
836
832
  try {
837
- h();
833
+ l();
838
834
  } catch (m) {
839
- o = m instanceof Ce ? m.errors : [m];
835
+ o = m instanceof Me ? m.errors : [m];
840
836
  }
841
- var c = this._finalizers;
842
- if (c) {
837
+ var f = this._finalizers;
838
+ if (f) {
843
839
  this._finalizers = null;
844
840
  try {
845
- for (var f = ke(c), p = f.next(); !p.done; p = f.next()) {
846
- var d = p.value;
841
+ for (var c = ke(f), d = c.next(); !d.done; d = c.next()) {
842
+ var p = d.value;
847
843
  try {
848
- ut(d);
844
+ ut(p);
849
845
  } catch (m) {
850
- o = o ?? [], m instanceof Ce ? o = Z(Z([], Ve(o)), Ve(m.errors)) : o.push(m);
846
+ o = o ?? [], m instanceof Me ? o = z(z([], Ve(o)), Ve(m.errors)) : o.push(m);
851
847
  }
852
848
  }
853
849
  } catch (m) {
854
850
  n = { error: m };
855
851
  } finally {
856
852
  try {
857
- p && !p.done && (i = f.return) && i.call(f);
853
+ d && !d.done && (i = c.return) && i.call(c);
858
854
  } finally {
859
855
  if (n) throw n.error;
860
856
  }
861
857
  }
862
858
  }
863
859
  if (o)
864
- throw new Ce(o);
860
+ throw new Me(o);
865
861
  }
866
862
  }, e.prototype.add = function(t) {
867
863
  var r;
@@ -892,9 +888,9 @@ var Be = function() {
892
888
  var t = new e();
893
889
  return t.closed = !0, t;
894
890
  }(), e;
895
- }(), kt = Be.EMPTY;
891
+ }(), kt = He.EMPTY;
896
892
  function Vt(e) {
897
- return e instanceof Be || e && "closed" in e && M(e.remove) && M(e.add) && M(e.unsubscribe);
893
+ return e instanceof He || e && "closed" in e && M(e.remove) && M(e.add) && M(e.unsubscribe);
898
894
  }
899
895
  function ut(e) {
900
896
  M(e) ? e() : e.unsubscribe();
@@ -905,7 +901,7 @@ var Yr = {
905
901
  setTimeout: function(e, t) {
906
902
  for (var r = [], n = 2; n < arguments.length; n++)
907
903
  r[n - 2] = arguments[n];
908
- return setTimeout.apply(void 0, Z([e, t], Ve(r)));
904
+ return setTimeout.apply(void 0, z([e, t], Ve(r)));
909
905
  },
910
906
  clearTimeout: function(e) {
911
907
  return clearTimeout(e);
@@ -917,13 +913,13 @@ function en(e) {
917
913
  throw e;
918
914
  });
919
915
  }
920
- function lt() {
916
+ function ht() {
921
917
  }
922
- function ve(e) {
918
+ function ye(e) {
923
919
  e();
924
920
  }
925
921
  var Xt = function(e) {
926
- $(t, e);
922
+ C(t, e);
927
923
  function t(r) {
928
924
  var n = e.call(this) || this;
929
925
  return n.isStopped = !1, r ? (n.destination = r, Vt(r) && r.add(n)) : n.destination = nn, n;
@@ -953,7 +949,7 @@ var Xt = function(e) {
953
949
  this.unsubscribe();
954
950
  }
955
951
  }, t;
956
- }(Be), tn = function() {
952
+ }(He), tn = function() {
957
953
  function e(t) {
958
954
  this.partialObserver = t;
959
955
  }
@@ -963,7 +959,7 @@ var Xt = function(e) {
963
959
  try {
964
960
  r.next(t);
965
961
  } catch (n) {
966
- me(n);
962
+ de(n);
967
963
  }
968
964
  }, e.prototype.error = function(t) {
969
965
  var r = this.partialObserver;
@@ -971,21 +967,21 @@ var Xt = function(e) {
971
967
  try {
972
968
  r.error(t);
973
969
  } catch (n) {
974
- me(n);
970
+ de(n);
975
971
  }
976
972
  else
977
- me(t);
973
+ de(t);
978
974
  }, e.prototype.complete = function() {
979
975
  var t = this.partialObserver;
980
976
  if (t.complete)
981
977
  try {
982
978
  t.complete();
983
979
  } catch (r) {
984
- me(r);
980
+ de(r);
985
981
  }
986
982
  }, e;
987
983
  }(), We = function(e) {
988
- $(t, e);
984
+ C(t, e);
989
985
  function t(r, n, i) {
990
986
  var o = e.call(this) || this, a;
991
987
  return M(r) || !r ? a = {
@@ -996,7 +992,7 @@ var Xt = function(e) {
996
992
  }
997
993
  return t;
998
994
  }(Xt);
999
- function me(e) {
995
+ function de(e) {
1000
996
  en(e);
1001
997
  }
1002
998
  function rn(e) {
@@ -1004,9 +1000,9 @@ function rn(e) {
1004
1000
  }
1005
1001
  var nn = {
1006
1002
  closed: !0,
1007
- next: lt,
1003
+ next: ht,
1008
1004
  error: rn,
1009
- complete: lt
1005
+ complete: ht
1010
1006
  }, on = function() {
1011
1007
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
1012
1008
  }();
@@ -1020,7 +1016,7 @@ function an(e) {
1020
1016
  }, r);
1021
1017
  };
1022
1018
  }
1023
- var ht = function() {
1019
+ var lt = function() {
1024
1020
  function e(t) {
1025
1021
  t && (this._subscribe = t);
1026
1022
  }
@@ -1028,10 +1024,10 @@ var ht = function() {
1028
1024
  var r = new e();
1029
1025
  return r.source = this, r.operator = t, r;
1030
1026
  }, e.prototype.subscribe = function(t, r, n) {
1031
- var i = this, o = ln(t) ? t : new We(t, r, n);
1032
- return ve(function() {
1033
- var a = i, s = a.operator, u = a.source;
1034
- o.add(s ? s.call(o, u) : u ? i._subscribe(o) : i._trySubscribe(o));
1027
+ var i = this, o = hn(t) ? t : new We(t, r, n);
1028
+ return ye(function() {
1029
+ var a = i, s = a.operator, h = a.source;
1030
+ o.add(s ? s.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
1035
1031
  }), o;
1036
1032
  }, e.prototype._trySubscribe = function(t) {
1037
1033
  try {
@@ -1046,8 +1042,8 @@ var ht = function() {
1046
1042
  next: function(s) {
1047
1043
  try {
1048
1044
  t(s);
1049
- } catch (u) {
1050
- o(u), a.unsubscribe();
1045
+ } catch (h) {
1046
+ o(h), a.unsubscribe();
1051
1047
  }
1052
1048
  },
1053
1049
  error: o,
@@ -1087,15 +1083,15 @@ function ct(e) {
1087
1083
  function un(e) {
1088
1084
  return e && M(e.next) && M(e.error) && M(e.complete);
1089
1085
  }
1090
- function ln(e) {
1086
+ function hn(e) {
1091
1087
  return e && e instanceof Xt || un(e) && Vt(e);
1092
1088
  }
1093
- var hn = jt(function(e) {
1089
+ var ln = jt(function(e) {
1094
1090
  return function() {
1095
1091
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
1096
1092
  };
1097
1093
  }), Wt = function(e) {
1098
- $(t, e);
1094
+ C(t, e);
1099
1095
  function t() {
1100
1096
  var r = e.call(this) || this;
1101
1097
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
@@ -1105,20 +1101,20 @@ var hn = jt(function(e) {
1105
1101
  return n.operator = r, n;
1106
1102
  }, t.prototype._throwIfClosed = function() {
1107
1103
  if (this.closed)
1108
- throw new hn();
1104
+ throw new ln();
1109
1105
  }, t.prototype.next = function(r) {
1110
1106
  var n = this;
1111
- ve(function() {
1107
+ ye(function() {
1112
1108
  var i, o;
1113
1109
  if (n._throwIfClosed(), !n.isStopped) {
1114
1110
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
1115
1111
  try {
1116
1112
  for (var a = ke(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
1117
- var u = s.value;
1118
- u.next(r);
1113
+ var h = s.value;
1114
+ h.next(r);
1119
1115
  }
1120
- } catch (l) {
1121
- i = { error: l };
1116
+ } catch (u) {
1117
+ i = { error: u };
1122
1118
  } finally {
1123
1119
  try {
1124
1120
  s && !s.done && (o = a.return) && o.call(a);
@@ -1130,7 +1126,7 @@ var hn = jt(function(e) {
1130
1126
  });
1131
1127
  }, t.prototype.error = function(r) {
1132
1128
  var n = this;
1133
- ve(function() {
1129
+ ye(function() {
1134
1130
  if (n._throwIfClosed(), !n.isStopped) {
1135
1131
  n.hasError = n.isStopped = !0, n.thrownError = r;
1136
1132
  for (var i = n.observers; i.length; )
@@ -1139,7 +1135,7 @@ var hn = jt(function(e) {
1139
1135
  });
1140
1136
  }, t.prototype.complete = function() {
1141
1137
  var r = this;
1142
- ve(function() {
1138
+ ye(function() {
1143
1139
  if (r._throwIfClosed(), !r.isStopped) {
1144
1140
  r.isStopped = !0;
1145
1141
  for (var n = r.observers; n.length; )
@@ -1161,20 +1157,20 @@ var hn = jt(function(e) {
1161
1157
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
1162
1158
  }, t.prototype._innerSubscribe = function(r) {
1163
1159
  var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
1164
- return o || a ? kt : (this.currentObservers = null, s.push(r), new Be(function() {
1160
+ return o || a ? kt : (this.currentObservers = null, s.push(r), new He(function() {
1165
1161
  n.currentObservers = null, Xe(s, r);
1166
1162
  }));
1167
1163
  }, t.prototype._checkFinalizedStatuses = function(r) {
1168
1164
  var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
1169
1165
  i ? r.error(o) : a && r.complete();
1170
1166
  }, t.prototype.asObservable = function() {
1171
- var r = new ht();
1167
+ var r = new lt();
1172
1168
  return r.source = this, r;
1173
1169
  }, t.create = function(r, n) {
1174
1170
  return new ft(r, n);
1175
1171
  }, t;
1176
- }(ht), ft = function(e) {
1177
- $(t, e);
1172
+ }(lt), ft = function(e) {
1173
+ C(t, e);
1178
1174
  function t(r, n) {
1179
1175
  var i = e.call(this) || this;
1180
1176
  return i.destination = r, i.source = n, i;
@@ -1198,26 +1194,26 @@ var hn = jt(function(e) {
1198
1194
  },
1199
1195
  delegate: void 0
1200
1196
  }, cn = function(e) {
1201
- $(t, e);
1197
+ C(t, e);
1202
1198
  function t(r, n, i) {
1203
1199
  r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = zt);
1204
1200
  var o = e.call(this) || this;
1205
1201
  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;
1206
1202
  }
1207
1203
  return t.prototype.next = function(r) {
1208
- var n = this, i = n.isStopped, o = n._buffer, a = n._infiniteTimeWindow, s = n._timestampProvider, u = n._windowTime;
1209
- i || (o.push(r), !a && o.push(s.now() + u)), this._trimBuffer(), e.prototype.next.call(this, r);
1204
+ var n = this, i = n.isStopped, o = n._buffer, a = n._infiniteTimeWindow, s = n._timestampProvider, h = n._windowTime;
1205
+ i || (o.push(r), !a && o.push(s.now() + h)), this._trimBuffer(), e.prototype.next.call(this, r);
1210
1206
  }, t.prototype._subscribe = function(r) {
1211
1207
  this._throwIfClosed(), this._trimBuffer();
1212
- 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)
1213
- r.next(s[u]);
1208
+ for (var n = this._innerSubscribe(r), i = this, o = i._infiniteTimeWindow, a = i._buffer, s = a.slice(), h = 0; h < s.length && !r.closed; h += o ? 1 : 2)
1209
+ r.next(s[h]);
1214
1210
  return this._checkFinalizedStatuses(r), n;
1215
1211
  }, t.prototype._trimBuffer = function() {
1216
1212
  var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, a = r._infiniteTimeWindow, s = (a ? 1 : 2) * n;
1217
1213
  if (n < 1 / 0 && s < o.length && o.splice(0, o.length - s), !a) {
1218
- for (var u = i.now(), l = 0, h = 1; h < o.length && o[h] <= u; h += 2)
1219
- l = h;
1220
- l && o.splice(0, l + 1);
1214
+ for (var h = i.now(), u = 0, l = 1; l < o.length && o[l] <= h; l += 2)
1215
+ u = l;
1216
+ u && o.splice(0, u + 1);
1221
1217
  }
1222
1218
  }, t;
1223
1219
  }(Wt);
@@ -1227,70 +1223,70 @@ const pt = [], dt = {}, fn = (e, t = 0) => {
1227
1223
  dt[e] = r, pt.push(e);
1228
1224
  }
1229
1225
  return dt[e];
1230
- }, V = [];
1226
+ }, k = [];
1231
1227
  function pn(e, t) {
1232
1228
  return {
1233
- subscribe: Ae(e, t).subscribe
1229
+ subscribe: Be(e, t).subscribe
1234
1230
  };
1235
1231
  }
1236
- function Ae(e, t = B) {
1232
+ function Be(e, t = H) {
1237
1233
  let r;
1238
1234
  const n = /* @__PURE__ */ new Set();
1239
1235
  function i(s) {
1240
1236
  if (It(e, s) && (e = s, r)) {
1241
- const u = !V.length;
1242
- for (const l of n)
1243
- l[1](), V.push(l, e);
1244
- if (u) {
1245
- for (let l = 0; l < V.length; l += 2)
1246
- V[l][0](V[l + 1]);
1247
- V.length = 0;
1237
+ const h = !k.length;
1238
+ for (const u of n)
1239
+ u[1](), k.push(u, e);
1240
+ if (h) {
1241
+ for (let u = 0; u < k.length; u += 2)
1242
+ k[u][0](k[u + 1]);
1243
+ k.length = 0;
1248
1244
  }
1249
1245
  }
1250
1246
  }
1251
1247
  function o(s) {
1252
1248
  i(s(e));
1253
1249
  }
1254
- function a(s, u = B) {
1255
- const l = [s, u];
1256
- return n.add(l), n.size === 1 && (r = t(i, o) || B), s(e), () => {
1257
- n.delete(l), n.size === 0 && r && (r(), r = null);
1250
+ function a(s, h = H) {
1251
+ const u = [s, h];
1252
+ return n.add(u), n.size === 1 && (r = t(i, o) || H), s(e), () => {
1253
+ n.delete(u), n.size === 0 && r && (r(), r = null);
1258
1254
  };
1259
1255
  }
1260
1256
  return { set: i, update: o, subscribe: a };
1261
1257
  }
1262
- function K(e, t, r) {
1258
+ function Y(e, t, r) {
1263
1259
  const n = !Array.isArray(e), i = n ? [e] : e;
1264
1260
  if (!i.every(Boolean))
1265
1261
  throw new Error("derived() expects stores as input, got a falsy value");
1266
1262
  const o = t.length < 2;
1267
1263
  return pn(r, (a, s) => {
1268
- let u = !1;
1269
- const l = [];
1270
- let h = 0, c = B;
1271
- const f = () => {
1272
- if (h)
1264
+ let h = !1;
1265
+ const u = [];
1266
+ let l = 0, f = H;
1267
+ const c = () => {
1268
+ if (l)
1273
1269
  return;
1274
- c();
1275
- const d = t(n ? l[0] : l, a, s);
1276
- o ? a(d) : c = le(d) ? d : B;
1277
- }, p = i.map(
1278
- (d, m) => Lt(
1279
- d,
1270
+ f();
1271
+ const p = t(n ? u[0] : u, a, s);
1272
+ o ? a(p) : f = ue(p) ? p : H;
1273
+ }, d = i.map(
1274
+ (p, m) => Lt(
1275
+ p,
1280
1276
  (x) => {
1281
- l[m] = x, h &= ~(1 << m), u && f();
1277
+ u[m] = x, l &= ~(1 << m), h && c();
1282
1278
  },
1283
1279
  () => {
1284
- h |= 1 << m;
1280
+ l |= 1 << m;
1285
1281
  }
1286
1282
  )
1287
1283
  );
1288
- return u = !0, f(), function() {
1289
- D(p), c(), u = !1;
1284
+ return h = !0, c(), function() {
1285
+ G(d), f(), h = !1;
1290
1286
  };
1291
1287
  });
1292
1288
  }
1293
- var Co = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
1289
+ var Mo = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
1294
1290
  function dn(e) {
1295
1291
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1296
1292
  }
@@ -1311,19 +1307,19 @@ function _n(e) {
1311
1307
  function xn(e) {
1312
1308
  return Array.isArray(e) ? [] : {};
1313
1309
  }
1314
- function ae(e, t) {
1315
- return t.clone !== !1 && t.isMergeableObject(e) ? q(xn(e), e, t) : e;
1310
+ function se(e, t) {
1311
+ return t.clone !== !1 && t.isMergeableObject(e) ? Z(xn(e), e, t) : e;
1316
1312
  }
1317
1313
  function En(e, t, r) {
1318
1314
  return e.concat(t).map(function(n) {
1319
- return ae(n, r);
1315
+ return se(n, r);
1320
1316
  });
1321
1317
  }
1322
1318
  function Sn(e, t) {
1323
1319
  if (!t.customMerge)
1324
- return q;
1320
+ return Z;
1325
1321
  var r = t.customMerge(e);
1326
- return typeof r == "function" ? r : q;
1322
+ return typeof r == "function" ? r : Z;
1327
1323
  }
1328
1324
  function Tn(e) {
1329
1325
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
@@ -1346,27 +1342,27 @@ function wn(e, t) {
1346
1342
  function Hn(e, t, r) {
1347
1343
  var n = {};
1348
1344
  return r.isMergeableObject(e) && mt(e).forEach(function(i) {
1349
- n[i] = ae(e[i], r);
1345
+ n[i] = se(e[i], r);
1350
1346
  }), mt(t).forEach(function(i) {
1351
- wn(e, i) || (Zt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Sn(i, r)(e[i], t[i], r) : n[i] = ae(t[i], r));
1347
+ wn(e, i) || (Zt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Sn(i, r)(e[i], t[i], r) : n[i] = se(t[i], r));
1352
1348
  }), n;
1353
1349
  }
1354
- function q(e, t, r) {
1355
- r = r || {}, r.arrayMerge = r.arrayMerge || En, r.isMergeableObject = r.isMergeableObject || mn, r.cloneUnlessOtherwiseSpecified = ae;
1350
+ function Z(e, t, r) {
1351
+ r = r || {}, r.arrayMerge = r.arrayMerge || En, r.isMergeableObject = r.isMergeableObject || mn, r.cloneUnlessOtherwiseSpecified = se;
1356
1352
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1357
- return o ? n ? r.arrayMerge(e, t, r) : Hn(e, t, r) : ae(t, r);
1353
+ return o ? n ? r.arrayMerge(e, t, r) : Hn(e, t, r) : se(t, r);
1358
1354
  }
1359
- q.all = function(t, r) {
1355
+ Z.all = function(t, r) {
1360
1356
  if (!Array.isArray(t))
1361
1357
  throw new Error("first argument should be an array");
1362
1358
  return t.reduce(function(n, i) {
1363
- return q(n, i, r);
1359
+ return Z(n, i, r);
1364
1360
  }, {});
1365
1361
  };
1366
- var Bn = q, An = Bn;
1362
+ var Bn = Z, An = Bn;
1367
1363
  const Pn = /* @__PURE__ */ dn(An);
1368
- function Me(e, t) {
1369
- var r = t && t.cache ? t.cache : $n, n = t && t.serializer ? t.serializer : Cn, i = t && t.strategy ? t.strategy : Ln;
1364
+ function Ce(e, t) {
1365
+ var r = t && t.cache ? t.cache : $n, n = t && t.serializer ? t.serializer : Mn, i = t && t.strategy ? t.strategy : Ln;
1370
1366
  return i(e, {
1371
1367
  cache: r,
1372
1368
  serializer: n
@@ -1393,9 +1389,9 @@ function Ln(e, t) {
1393
1389
  function Nn(e, t) {
1394
1390
  return Qt(e, this, qt, t.cache.create(), t.serializer);
1395
1391
  }
1396
- var Cn = function() {
1392
+ var Mn = function() {
1397
1393
  return JSON.stringify(arguments);
1398
- }, Mn = (
1394
+ }, Cn = (
1399
1395
  /** @class */
1400
1396
  function() {
1401
1397
  function e() {
@@ -1409,7 +1405,7 @@ var Cn = function() {
1409
1405
  }()
1410
1406
  ), $n = {
1411
1407
  create: function() {
1412
- return new Mn();
1408
+ return new Cn();
1413
1409
  }
1414
1410
  }, $e = {
1415
1411
  variadic: Nn
@@ -1421,10 +1417,10 @@ var _;
1421
1417
  (function(e) {
1422
1418
  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";
1423
1419
  })(_ || (_ = {}));
1424
- var Q;
1420
+ var q;
1425
1421
  (function(e) {
1426
1422
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1427
- })(Q || (Q = {}));
1423
+ })(q || (q = {}));
1428
1424
  function bt(e) {
1429
1425
  return e.type === _.literal;
1430
1426
  }
@@ -1453,10 +1449,10 @@ function rr(e) {
1453
1449
  return e.type === _.tag;
1454
1450
  }
1455
1451
  function nr(e) {
1456
- return !!(e && typeof e == "object" && e.type === Q.number);
1452
+ return !!(e && typeof e == "object" && e.type === q.number);
1457
1453
  }
1458
1454
  function ze(e) {
1459
- return !!(e && typeof e == "object" && e.type === Q.dateTime);
1455
+ return !!(e && typeof e == "object" && e.type === q.dateTime);
1460
1456
  }
1461
1457
  var ir = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Gn = /(?:[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;
1462
1458
  function Dn(e) {
@@ -1554,18 +1550,18 @@ var Fn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1554
1550
  function jn(e) {
1555
1551
  if (e.length === 0)
1556
1552
  throw new Error("Number skeleton cannot be empty");
1557
- for (var t = e.split(Fn).filter(function(f) {
1558
- return f.length > 0;
1553
+ for (var t = e.split(Fn).filter(function(c) {
1554
+ return c.length > 0;
1559
1555
  }), r = [], n = 0, i = t; n < i.length; n++) {
1560
1556
  var o = i[n], a = o.split("/");
1561
1557
  if (a.length === 0)
1562
1558
  throw new Error("Invalid number skeleton");
1563
- for (var s = a[0], u = a.slice(1), l = 0, h = u; l < h.length; l++) {
1564
- var c = h[l];
1565
- if (c.length === 0)
1559
+ for (var s = a[0], h = a.slice(1), u = 0, l = h; u < l.length; u++) {
1560
+ var f = l[u];
1561
+ if (f.length === 0)
1566
1562
  throw new Error("Invalid number skeleton");
1567
1563
  }
1568
- r.push({ stem: s, options: u });
1564
+ r.push({ stem: s, options: h });
1569
1565
  }
1570
1566
  return r;
1571
1567
  }
@@ -1672,13 +1668,13 @@ function Wn(e) {
1672
1668
  t.notation = "compact", t.compactDisplay = "long";
1673
1669
  continue;
1674
1670
  case "scientific":
1675
- t = v(v(v({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
1676
- return v(v({}, u), vt(l));
1671
+ t = y(y(y({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1672
+ return y(y({}, h), vt(u));
1677
1673
  }, {}));
1678
1674
  continue;
1679
1675
  case "engineering":
1680
- t = v(v(v({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
1681
- return v(v({}, u), vt(l));
1676
+ t = y(y(y({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1677
+ return y(y({}, h), vt(u));
1682
1678
  }, {}));
1683
1679
  continue;
1684
1680
  case "notation-simple":
@@ -1723,13 +1719,13 @@ function Wn(e) {
1723
1719
  case "integer-width":
1724
1720
  if (i.options.length > 1)
1725
1721
  throw new RangeError("integer-width stems only accept a single optional option");
1726
- i.options[0].replace(Vn, function(u, l, h, c, f, p) {
1727
- if (l)
1728
- t.minimumIntegerDigits = h.length;
1722
+ i.options[0].replace(Vn, function(h, u, l, f, c, d) {
1723
+ if (u)
1724
+ t.minimumIntegerDigits = l.length;
1729
1725
  else {
1730
- if (c && f)
1726
+ if (f && c)
1731
1727
  throw new Error("We currently do not support maximum integer digits");
1732
- if (p)
1728
+ if (d)
1733
1729
  throw new Error("We currently do not support exact integer digits");
1734
1730
  }
1735
1731
  return "";
@@ -1743,25 +1739,25 @@ function Wn(e) {
1743
1739
  if (gt.test(i.stem)) {
1744
1740
  if (i.options.length > 1)
1745
1741
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1746
- i.stem.replace(gt, function(u, l, h, c, f, p) {
1747
- 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), "";
1742
+ i.stem.replace(gt, function(h, u, l, f, c, d) {
1743
+ return l === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && d ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1748
1744
  });
1749
1745
  var o = i.options[0];
1750
- o === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = v(v({}, t), yt(o)));
1746
+ o === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = y(y({}, t), yt(o)));
1751
1747
  continue;
1752
1748
  }
1753
1749
  if (or.test(i.stem)) {
1754
- t = v(v({}, t), yt(i.stem));
1750
+ t = y(y({}, t), yt(i.stem));
1755
1751
  continue;
1756
1752
  }
1757
1753
  var a = ar(i.stem);
1758
- a && (t = v(v({}, t), a));
1754
+ a && (t = y(y({}, t), a));
1759
1755
  var s = Xn(i.stem);
1760
- s && (t = v(v({}, t), s));
1756
+ s && (t = y(y({}, t), s));
1761
1757
  }
1762
1758
  return t;
1763
1759
  }
1764
- var be = {
1760
+ var me = {
1765
1761
  "001": [
1766
1762
  "H",
1767
1763
  "h"
@@ -3182,11 +3178,11 @@ function zn(e, t) {
3182
3178
  if (i === "j") {
3183
3179
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3184
3180
  o++, n++;
3185
- var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = Zn(t);
3186
- for ((l == "H" || l == "k") && (s = 0); s-- > 0; )
3187
- r += u;
3181
+ var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Zn(t);
3182
+ for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
3183
+ r += h;
3188
3184
  for (; a-- > 0; )
3189
- r = l + r;
3185
+ r = u + r;
3190
3186
  } else i === "J" ? r += "H" : r += i;
3191
3187
  }
3192
3188
  return r;
@@ -3210,7 +3206,7 @@ function Zn(e) {
3210
3206
  }
3211
3207
  var r = e.language, n;
3212
3208
  r !== "root" && (n = e.maximize().region);
3213
- var i = be[n || ""] || be[r || ""] || be["".concat(r, "-001")] || be["001"];
3209
+ var i = me[n || ""] || me[r || ""] || me["".concat(r, "-001")] || me["001"];
3214
3210
  return i[0];
3215
3211
  }
3216
3212
  var Re, qn = new RegExp("^".concat(ir.source, "*")), Qn = new RegExp("".concat(ir.source, "*$"));
@@ -3221,7 +3217,7 @@ var Jn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Yn = !!String
3221
3217
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3222
3218
  }, Ze = !0;
3223
3219
  try {
3224
- var oi = lr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3220
+ var oi = hr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3225
3221
  Ze = ((Re = oi.exec("a")) === null || Re === void 0 ? void 0 : Re[0]) === "a";
3226
3222
  } catch {
3227
3223
  Ze = !1;
@@ -3295,12 +3291,12 @@ var _t = Jn ? (
3295
3291
  return t.replace(Qn, "");
3296
3292
  }
3297
3293
  );
3298
- function lr(e, t) {
3294
+ function hr(e, t) {
3299
3295
  return new RegExp(e, t);
3300
3296
  }
3301
3297
  var Qe;
3302
3298
  if (Ze) {
3303
- var Et = lr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3299
+ var Et = hr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3304
3300
  Qe = function(t, r) {
3305
3301
  var n;
3306
3302
  Et.lastIndex = r;
@@ -3311,7 +3307,7 @@ if (Ze) {
3311
3307
  Qe = function(t, r) {
3312
3308
  for (var n = []; ; ) {
3313
3309
  var i = ur(t, r);
3314
- if (i === void 0 || hr(i) || ci(i))
3310
+ if (i === void 0 || lr(i) || ci(i))
3315
3311
  break;
3316
3312
  n.push(i), r += i >= 65536 ? 2 : 1;
3317
3313
  }
@@ -3383,8 +3379,8 @@ var ui = (
3383
3379
  if (this.bumpIf("</")) {
3384
3380
  if (this.isEOF() || !Je(this.char()))
3385
3381
  return this.error(b.INVALID_TAG, g(s, this.clonePosition()));
3386
- var u = this.clonePosition(), l = this.parseTagName();
3387
- return i !== l ? this.error(b.UNMATCHED_CLOSING_TAG, g(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3382
+ var h = this.clonePosition(), u = this.parseTagName();
3383
+ return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG, g(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3388
3384
  val: {
3389
3385
  type: _.tag,
3390
3386
  value: i,
@@ -3399,7 +3395,7 @@ var ui = (
3399
3395
  return this.error(b.INVALID_TAG, g(n, this.clonePosition()));
3400
3396
  }, e.prototype.parseTagName = function() {
3401
3397
  var t = this.offset();
3402
- for (this.bump(); !this.isEOF() && hi(this.char()); )
3398
+ for (this.bump(); !this.isEOF() && li(this.char()); )
3403
3399
  this.bump();
3404
3400
  return this.message.slice(t, this.offset());
3405
3401
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3421,14 +3417,14 @@ var ui = (
3421
3417
  }
3422
3418
  break;
3423
3419
  }
3424
- var u = g(n, this.clonePosition());
3420
+ var h = g(n, this.clonePosition());
3425
3421
  return {
3426
- val: { type: _.literal, value: i, location: u },
3422
+ val: { type: _.literal, value: i, location: h },
3427
3423
  err: null
3428
3424
  };
3429
3425
  }, e.prototype.tryParseLeftAngleBracket = function() {
3430
3426
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3431
- !li(this.peek() || 0)) ? (this.bump(), "<") : null;
3427
+ !hi(this.peek() || 0)) ? (this.bump(), "<") : null;
3432
3428
  }, e.prototype.tryParseQuote = function(t) {
3433
3429
  if (this.isEOF() || this.char() !== 39)
3434
3430
  return null;
@@ -3501,36 +3497,36 @@ var ui = (
3501
3497
  var o = this.clonePosition(), a = g(t, o);
3502
3498
  return { value: n, location: a };
3503
3499
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3504
- var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, u = this.clonePosition();
3500
+ var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, h = this.clonePosition();
3505
3501
  switch (s) {
3506
3502
  case "":
3507
- return this.error(b.EXPECT_ARGUMENT_TYPE, g(a, u));
3503
+ return this.error(b.EXPECT_ARGUMENT_TYPE, g(a, h));
3508
3504
  case "number":
3509
3505
  case "date":
3510
3506
  case "time": {
3511
3507
  this.bumpSpace();
3512
- var l = null;
3508
+ var u = null;
3513
3509
  if (this.bumpIf(",")) {
3514
3510
  this.bumpSpace();
3515
- var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3516
- if (c.err)
3517
- return c;
3518
- var f = ai(c.val);
3519
- if (f.length === 0)
3511
+ var l = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3512
+ if (f.err)
3513
+ return f;
3514
+ var c = ai(f.val);
3515
+ if (c.length === 0)
3520
3516
  return this.error(b.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
3521
- var p = g(h, this.clonePosition());
3522
- l = { style: f, styleLocation: p };
3517
+ var d = g(l, this.clonePosition());
3518
+ u = { style: c, styleLocation: d };
3523
3519
  }
3524
- var d = this.tryParseArgumentClose(i);
3525
- if (d.err)
3526
- return d;
3520
+ var p = this.tryParseArgumentClose(i);
3521
+ if (p.err)
3522
+ return p;
3527
3523
  var m = g(i, this.clonePosition());
3528
- if (l && _t(l?.style, "::", 0)) {
3529
- var x = si(l.style.slice(2));
3524
+ if (u && _t(u?.style, "::", 0)) {
3525
+ var x = si(u.style.slice(2));
3530
3526
  if (s === "number") {
3531
- var c = this.parseNumberSkeletonFromString(x, l.styleLocation);
3532
- return c.err ? c : {
3533
- val: { type: _.number, value: n, location: m, style: c.val },
3527
+ var f = this.parseNumberSkeletonFromString(x, u.styleLocation);
3528
+ return f.err ? f : {
3529
+ val: { type: _.number, value: n, location: m, style: f.val },
3534
3530
  err: null
3535
3531
  };
3536
3532
  } else {
@@ -3538,14 +3534,14 @@ var ui = (
3538
3534
  return this.error(b.EXPECT_DATE_TIME_SKELETON, m);
3539
3535
  var T = x;
3540
3536
  this.locale && (T = zn(x, this.locale));
3541
- var f = {
3542
- type: Q.dateTime,
3537
+ var c = {
3538
+ type: q.dateTime,
3543
3539
  pattern: T,
3544
- location: l.styleLocation,
3540
+ location: u.styleLocation,
3545
3541
  parsedOptions: this.shouldParseSkeletons ? Dn(T) : {}
3546
- }, w = s === "date" ? _.date : _.time;
3542
+ }, P = s === "date" ? _.date : _.time;
3547
3543
  return {
3548
- val: { type: w, value: n, location: m, style: f },
3544
+ val: { type: P, value: n, location: m, style: c },
3549
3545
  err: null
3550
3546
  };
3551
3547
  }
@@ -3555,7 +3551,7 @@ var ui = (
3555
3551
  type: s === "number" ? _.number : s === "date" ? _.date : _.time,
3556
3552
  value: n,
3557
3553
  location: m,
3558
- style: (o = l?.style) !== null && o !== void 0 ? o : null
3554
+ style: (o = u?.style) !== null && o !== void 0 ? o : null
3559
3555
  },
3560
3556
  err: null
3561
3557
  };
@@ -3565,47 +3561,47 @@ var ui = (
3565
3561
  case "select": {
3566
3562
  var E = this.clonePosition();
3567
3563
  if (this.bumpSpace(), !this.bumpIf(","))
3568
- return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, g(E, v({}, E)));
3564
+ return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, g(E, y({}, E)));
3569
3565
  this.bumpSpace();
3570
- var O = this.parseIdentifierIfPossible(), H = 0;
3566
+ var O = this.parseIdentifierIfPossible(), w = 0;
3571
3567
  if (s !== "select" && O.value === "offset") {
3572
3568
  if (!this.bumpIf(":"))
3573
3569
  return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g(this.clonePosition(), this.clonePosition()));
3574
3570
  this.bumpSpace();
3575
- var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3576
- if (c.err)
3577
- return c;
3578
- this.bumpSpace(), O = this.parseIdentifierIfPossible(), H = c.val;
3571
+ var f = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3572
+ if (f.err)
3573
+ return f;
3574
+ this.bumpSpace(), O = this.parseIdentifierIfPossible(), w = f.val;
3579
3575
  }
3580
- var R = this.tryParsePluralOrSelectOptions(t, s, r, O);
3581
- if (R.err)
3582
- return R;
3583
- var d = this.tryParseArgumentClose(i);
3584
- if (d.err)
3585
- return d;
3586
- var pe = g(i, this.clonePosition());
3576
+ var $ = this.tryParsePluralOrSelectOptions(t, s, r, O);
3577
+ if ($.err)
3578
+ return $;
3579
+ var p = this.tryParseArgumentClose(i);
3580
+ if (p.err)
3581
+ return p;
3582
+ var fe = g(i, this.clonePosition());
3587
3583
  return s === "select" ? {
3588
3584
  val: {
3589
3585
  type: _.select,
3590
3586
  value: n,
3591
- options: xt(R.val),
3592
- location: pe
3587
+ options: xt($.val),
3588
+ location: fe
3593
3589
  },
3594
3590
  err: null
3595
3591
  } : {
3596
3592
  val: {
3597
3593
  type: _.plural,
3598
3594
  value: n,
3599
- options: xt(R.val),
3600
- offset: H,
3595
+ options: xt($.val),
3596
+ offset: w,
3601
3597
  pluralType: s === "plural" ? "cardinal" : "ordinal",
3602
- location: pe
3598
+ location: fe
3603
3599
  },
3604
3600
  err: null
3605
3601
  };
3606
3602
  }
3607
3603
  default:
3608
- return this.error(b.INVALID_ARGUMENT_TYPE, g(a, u));
3604
+ return this.error(b.INVALID_ARGUMENT_TYPE, g(a, h));
3609
3605
  }
3610
3606
  }, e.prototype.tryParseArgumentClose = function(t) {
3611
3607
  return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
@@ -3653,7 +3649,7 @@ var ui = (
3653
3649
  }
3654
3650
  return {
3655
3651
  val: {
3656
- type: Q.number,
3652
+ type: q.number,
3657
3653
  tokens: n,
3658
3654
  location: r,
3659
3655
  parsedOptions: this.shouldParseSkeletons ? Wn(n) : {}
@@ -3661,36 +3657,36 @@ var ui = (
3661
3657
  err: null
3662
3658
  };
3663
3659
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3664
- for (var o, a = !1, s = [], u = /* @__PURE__ */ new Set(), l = i.value, h = i.location; ; ) {
3665
- if (l.length === 0) {
3666
- var c = this.clonePosition();
3660
+ for (var o, a = !1, s = [], h = /* @__PURE__ */ new Set(), u = i.value, l = i.location; ; ) {
3661
+ if (u.length === 0) {
3662
+ var f = this.clonePosition();
3667
3663
  if (r !== "select" && this.bumpIf("=")) {
3668
- var f = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_SELECTOR, b.INVALID_PLURAL_ARGUMENT_SELECTOR);
3669
- if (f.err)
3670
- return f;
3671
- h = g(c, this.clonePosition()), l = this.message.slice(c.offset, this.offset());
3664
+ var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_SELECTOR, b.INVALID_PLURAL_ARGUMENT_SELECTOR);
3665
+ if (c.err)
3666
+ return c;
3667
+ l = g(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
3672
3668
  } else
3673
3669
  break;
3674
3670
  }
3675
- if (u.has(l))
3676
- return this.error(r === "select" ? b.DUPLICATE_SELECT_ARGUMENT_SELECTOR : b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3677
- l === "other" && (a = !0), this.bumpSpace();
3678
- var p = this.clonePosition();
3671
+ if (h.has(u))
3672
+ return this.error(r === "select" ? b.DUPLICATE_SELECT_ARGUMENT_SELECTOR : b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
3673
+ u === "other" && (a = !0), this.bumpSpace();
3674
+ var d = this.clonePosition();
3679
3675
  if (!this.bumpIf("{"))
3680
3676
  return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, g(this.clonePosition(), this.clonePosition()));
3681
- var d = this.parseMessage(t + 1, r, n);
3682
- if (d.err)
3683
- return d;
3684
- var m = this.tryParseArgumentClose(p);
3677
+ var p = this.parseMessage(t + 1, r, n);
3678
+ if (p.err)
3679
+ return p;
3680
+ var m = this.tryParseArgumentClose(d);
3685
3681
  if (m.err)
3686
3682
  return m;
3687
3683
  s.push([
3688
- l,
3684
+ u,
3689
3685
  {
3690
- value: d.val,
3691
- location: g(p, this.clonePosition())
3686
+ value: p.val,
3687
+ location: g(d, this.clonePosition())
3692
3688
  }
3693
- ]), u.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, h = o.location;
3689
+ ]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
3694
3690
  }
3695
3691
  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 };
3696
3692
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
@@ -3703,8 +3699,8 @@ var ui = (
3703
3699
  else
3704
3700
  break;
3705
3701
  }
3706
- var u = g(i, this.clonePosition());
3707
- return o ? (a *= n, ii(a) ? { val: a, err: null } : this.error(r, u)) : this.error(t, u);
3702
+ var h = g(i, this.clonePosition());
3703
+ return o ? (a *= n, ii(a) ? { val: a, err: null } : this.error(r, h)) : this.error(t, h);
3708
3704
  }, e.prototype.offset = function() {
3709
3705
  return this.position.offset;
3710
3706
  }, e.prototype.isEOF = function() {
@@ -3760,7 +3756,7 @@ var ui = (
3760
3756
  break;
3761
3757
  }
3762
3758
  }, e.prototype.bumpSpace = function() {
3763
- for (; !this.isEOF() && hr(this.char()); )
3759
+ for (; !this.isEOF() && lr(this.char()); )
3764
3760
  this.bump();
3765
3761
  }, e.prototype.peek = function() {
3766
3762
  if (this.isEOF())
@@ -3773,13 +3769,13 @@ var ui = (
3773
3769
  function Je(e) {
3774
3770
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3775
3771
  }
3776
- function li(e) {
3772
+ function hi(e) {
3777
3773
  return Je(e) || e === 47;
3778
3774
  }
3779
- function hi(e) {
3775
+ function li(e) {
3780
3776
  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;
3781
3777
  }
3782
- function hr(e) {
3778
+ function lr(e) {
3783
3779
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3784
3780
  }
3785
3781
  function ci(e) {
@@ -3794,7 +3790,7 @@ function Ye(e) {
3794
3790
  });
3795
3791
  }
3796
3792
  function fi(e, t) {
3797
- t === void 0 && (t = {}), t = v({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3793
+ t === void 0 && (t = {}), t = y({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3798
3794
  var r = new ui(e, t).parse();
3799
3795
  if (r.err) {
3800
3796
  var n = SyntaxError(b[r.err.kind]);
@@ -3802,14 +3798,14 @@ function fi(e, t) {
3802
3798
  }
3803
3799
  return t?.captureLocation || Ye(r.val), r.val;
3804
3800
  }
3805
- var J;
3801
+ var Q;
3806
3802
  (function(e) {
3807
3803
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3808
- })(J || (J = {}));
3809
- var Pe = (
3804
+ })(Q || (Q = {}));
3805
+ var Ae = (
3810
3806
  /** @class */
3811
3807
  function(e) {
3812
- $(t, e);
3808
+ C(t, e);
3813
3809
  function t(r, n, i) {
3814
3810
  var o = e.call(this, r) || this;
3815
3811
  return o.code = n, o.originalMessage = i, o;
@@ -3821,30 +3817,30 @@ var Pe = (
3821
3817
  ), St = (
3822
3818
  /** @class */
3823
3819
  function(e) {
3824
- $(t, e);
3820
+ C(t, e);
3825
3821
  function t(r, n, i, o) {
3826
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), J.INVALID_VALUE, o) || this;
3822
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Q.INVALID_VALUE, o) || this;
3827
3823
  }
3828
3824
  return t;
3829
- }(Pe)
3825
+ }(Ae)
3830
3826
  ), pi = (
3831
3827
  /** @class */
3832
3828
  function(e) {
3833
- $(t, e);
3829
+ C(t, e);
3834
3830
  function t(r, n, i) {
3835
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), J.INVALID_VALUE, i) || this;
3831
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Q.INVALID_VALUE, i) || this;
3836
3832
  }
3837
3833
  return t;
3838
- }(Pe)
3834
+ }(Ae)
3839
3835
  ), di = (
3840
3836
  /** @class */
3841
3837
  function(e) {
3842
- $(t, e);
3838
+ C(t, e);
3843
3839
  function t(r, n) {
3844
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), J.MISSING_VALUE, n) || this;
3840
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Q.MISSING_VALUE, n) || this;
3845
3841
  }
3846
3842
  return t;
3847
- }(Pe)
3843
+ }(Ae)
3848
3844
  ), S;
3849
3845
  (function(e) {
3850
3846
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
@@ -3858,7 +3854,7 @@ function mi(e) {
3858
3854
  function bi(e) {
3859
3855
  return typeof e == "function";
3860
3856
  }
3861
- function _e(e, t, r, n, i, o, a) {
3857
+ function ve(e, t, r, n, i, o, a) {
3862
3858
  if (e.length === 1 && bt(e[0]))
3863
3859
  return [
3864
3860
  {
@@ -3866,105 +3862,105 @@ function _e(e, t, r, n, i, o, a) {
3866
3862
  value: e[0].value
3867
3863
  }
3868
3864
  ];
3869
- for (var s = [], u = 0, l = e; u < l.length; u++) {
3870
- var h = l[u];
3871
- if (bt(h)) {
3865
+ for (var s = [], h = 0, u = e; h < u.length; h++) {
3866
+ var l = u[h];
3867
+ if (bt(l)) {
3872
3868
  s.push({
3873
3869
  type: S.literal,
3874
- value: h.value
3870
+ value: l.value
3875
3871
  });
3876
3872
  continue;
3877
3873
  }
3878
- if (Un(h)) {
3874
+ if (Un(l)) {
3879
3875
  typeof o == "number" && s.push({
3880
3876
  type: S.literal,
3881
3877
  value: r.getNumberFormat(t).format(o)
3882
3878
  });
3883
3879
  continue;
3884
3880
  }
3885
- var c = h.value;
3886
- if (!(i && c in i))
3887
- throw new di(c, a);
3888
- var f = i[c];
3889
- if (Rn(h)) {
3890
- (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), s.push({
3891
- type: typeof f == "string" ? S.literal : S.object,
3892
- value: f
3881
+ var f = l.value;
3882
+ if (!(i && f in i))
3883
+ throw new di(f, a);
3884
+ var c = i[f];
3885
+ if (Rn(l)) {
3886
+ (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), s.push({
3887
+ type: typeof c == "string" ? S.literal : S.object,
3888
+ value: c
3893
3889
  });
3894
3890
  continue;
3895
3891
  }
3896
- if (Yt(h)) {
3897
- var p = typeof h.style == "string" ? n.date[h.style] : ze(h.style) ? h.style.parsedOptions : void 0;
3892
+ if (Yt(l)) {
3893
+ var d = typeof l.style == "string" ? n.date[l.style] : ze(l.style) ? l.style.parsedOptions : void 0;
3898
3894
  s.push({
3899
3895
  type: S.literal,
3900
- value: r.getDateTimeFormat(t, p).format(f)
3896
+ value: r.getDateTimeFormat(t, d).format(c)
3901
3897
  });
3902
3898
  continue;
3903
3899
  }
3904
- if (Kt(h)) {
3905
- var p = typeof h.style == "string" ? n.time[h.style] : ze(h.style) ? h.style.parsedOptions : n.time.medium;
3900
+ if (Kt(l)) {
3901
+ var d = typeof l.style == "string" ? n.time[l.style] : ze(l.style) ? l.style.parsedOptions : n.time.medium;
3906
3902
  s.push({
3907
3903
  type: S.literal,
3908
- value: r.getDateTimeFormat(t, p).format(f)
3904
+ value: r.getDateTimeFormat(t, d).format(c)
3909
3905
  });
3910
3906
  continue;
3911
3907
  }
3912
- if (Jt(h)) {
3913
- var p = typeof h.style == "string" ? n.number[h.style] : nr(h.style) ? h.style.parsedOptions : void 0;
3914
- p && p.scale && (f = f * (p.scale || 1)), s.push({
3908
+ if (Jt(l)) {
3909
+ var d = typeof l.style == "string" ? n.number[l.style] : nr(l.style) ? l.style.parsedOptions : void 0;
3910
+ d && d.scale && (c = c * (d.scale || 1)), s.push({
3915
3911
  type: S.literal,
3916
- value: r.getNumberFormat(t, p).format(f)
3912
+ value: r.getNumberFormat(t, d).format(c)
3917
3913
  });
3918
3914
  continue;
3919
3915
  }
3920
- if (rr(h)) {
3921
- var d = h.children, m = h.value, x = i[m];
3916
+ if (rr(l)) {
3917
+ var p = l.children, m = l.value, x = i[m];
3922
3918
  if (!bi(x))
3923
3919
  throw new pi(m, "function", a);
3924
- var T = _e(d, t, r, n, i, o), w = x(T.map(function(H) {
3925
- return H.value;
3920
+ var T = ve(p, t, r, n, i, o), P = x(T.map(function(w) {
3921
+ return w.value;
3926
3922
  }));
3927
- Array.isArray(w) || (w = [w]), s.push.apply(s, w.map(function(H) {
3923
+ Array.isArray(P) || (P = [P]), s.push.apply(s, P.map(function(w) {
3928
3924
  return {
3929
- type: typeof H == "string" ? S.literal : S.object,
3930
- value: H
3925
+ type: typeof w == "string" ? S.literal : S.object,
3926
+ value: w
3931
3927
  };
3932
3928
  }));
3933
3929
  }
3934
- if (er(h)) {
3935
- var E = h.options[f] || h.options.other;
3930
+ if (er(l)) {
3931
+ var E = l.options[c] || l.options.other;
3936
3932
  if (!E)
3937
- throw new St(h.value, f, Object.keys(h.options), a);
3938
- s.push.apply(s, _e(E.value, t, r, n, i));
3933
+ throw new St(l.value, c, Object.keys(l.options), a);
3934
+ s.push.apply(s, ve(E.value, t, r, n, i));
3939
3935
  continue;
3940
3936
  }
3941
- if (tr(h)) {
3942
- var E = h.options["=".concat(f)];
3937
+ if (tr(l)) {
3938
+ var E = l.options["=".concat(c)];
3943
3939
  if (!E) {
3944
3940
  if (!Intl.PluralRules)
3945
- throw new Pe(`Intl.PluralRules is not available in this environment.
3941
+ throw new Ae(`Intl.PluralRules is not available in this environment.
3946
3942
  Try polyfilling it using "@formatjs/intl-pluralrules"
3947
- `, J.MISSING_INTL_API, a);
3948
- var O = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3949
- E = h.options[O] || h.options.other;
3943
+ `, Q.MISSING_INTL_API, a);
3944
+ var O = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
3945
+ E = l.options[O] || l.options.other;
3950
3946
  }
3951
3947
  if (!E)
3952
- throw new St(h.value, f, Object.keys(h.options), a);
3953
- s.push.apply(s, _e(E.value, t, r, n, i, f - (h.offset || 0)));
3948
+ throw new St(l.value, c, Object.keys(l.options), a);
3949
+ s.push.apply(s, ve(E.value, t, r, n, i, c - (l.offset || 0)));
3954
3950
  continue;
3955
3951
  }
3956
3952
  }
3957
3953
  return mi(s);
3958
3954
  }
3959
3955
  function gi(e, t) {
3960
- return t ? v(v(v({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3961
- return r[n] = v(v({}, e[n]), t[n] || {}), r;
3956
+ return t ? y(y(y({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3957
+ return r[n] = y(y({}, e[n]), t[n] || {}), r;
3962
3958
  }, {})) : e;
3963
3959
  }
3964
3960
  function yi(e, t) {
3965
3961
  return t ? Object.keys(e).reduce(function(r, n) {
3966
3962
  return r[n] = gi(e[n], t[n]), r;
3967
- }, v({}, e)) : e;
3963
+ }, y({}, e)) : e;
3968
3964
  }
3969
3965
  function Ue(e) {
3970
3966
  return {
@@ -3986,26 +3982,26 @@ function vi(e) {
3986
3982
  dateTime: {},
3987
3983
  pluralRules: {}
3988
3984
  }), {
3989
- getNumberFormat: Me(function() {
3985
+ getNumberFormat: Ce(function() {
3990
3986
  for (var t, r = [], n = 0; n < arguments.length; n++)
3991
3987
  r[n] = arguments[n];
3992
- return new ((t = Intl.NumberFormat).bind.apply(t, Z([void 0], r, !1)))();
3988
+ return new ((t = Intl.NumberFormat).bind.apply(t, z([void 0], r, !1)))();
3993
3989
  }, {
3994
3990
  cache: Ue(e.number),
3995
3991
  strategy: $e.variadic
3996
3992
  }),
3997
- getDateTimeFormat: Me(function() {
3993
+ getDateTimeFormat: Ce(function() {
3998
3994
  for (var t, r = [], n = 0; n < arguments.length; n++)
3999
3995
  r[n] = arguments[n];
4000
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Z([void 0], r, !1)))();
3996
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, z([void 0], r, !1)))();
4001
3997
  }, {
4002
3998
  cache: Ue(e.dateTime),
4003
3999
  strategy: $e.variadic
4004
4000
  }),
4005
- getPluralRules: Me(function() {
4001
+ getPluralRules: Ce(function() {
4006
4002
  for (var t, r = [], n = 0; n < arguments.length; n++)
4007
4003
  r[n] = arguments[n];
4008
- return new ((t = Intl.PluralRules).bind.apply(t, Z([void 0], r, !1)))();
4004
+ return new ((t = Intl.PluralRules).bind.apply(t, z([void 0], r, !1)))();
4009
4005
  }, {
4010
4006
  cache: Ue(e.pluralRules),
4011
4007
  strategy: $e.variadic
@@ -4022,20 +4018,20 @@ var _i = (
4022
4018
  number: {},
4023
4019
  dateTime: {},
4024
4020
  pluralRules: {}
4025
- }, this.format = function(u) {
4026
- var l = o.formatToParts(u);
4027
- if (l.length === 1)
4028
- return l[0].value;
4029
- var h = l.reduce(function(c, f) {
4030
- return !c.length || f.type !== S.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
4021
+ }, this.format = function(h) {
4022
+ var u = o.formatToParts(h);
4023
+ if (u.length === 1)
4024
+ return u[0].value;
4025
+ var l = u.reduce(function(f, c) {
4026
+ return !f.length || c.type !== S.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
4031
4027
  }, []);
4032
- return h.length <= 1 ? h[0] || "" : h;
4033
- }, this.formatToParts = function(u) {
4034
- return _e(o.ast, o.locales, o.formatters, o.formats, u, void 0, o.message);
4028
+ return l.length <= 1 ? l[0] || "" : l;
4029
+ }, this.formatToParts = function(h) {
4030
+ return ve(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
4035
4031
  }, this.resolvedOptions = function() {
4036
- var u;
4032
+ var h;
4037
4033
  return {
4038
- locale: ((u = o.resolvedLocale) === null || u === void 0 ? void 0 : u.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
4034
+ locale: ((h = o.resolvedLocale) === null || h === void 0 ? void 0 : h.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
4039
4035
  };
4040
4036
  }, this.getAst = function() {
4041
4037
  return o.ast;
@@ -4045,7 +4041,7 @@ var _i = (
4045
4041
  var a = i || {};
4046
4042
  a.formatters;
4047
4043
  var s = Jr(a, ["formatters"]);
4048
- this.ast = e.__parse(t, v(v({}, s), { locale: this.resolvedLocale }));
4044
+ this.ast = e.__parse(t, y(y({}, s), { locale: this.resolvedLocale }));
4049
4045
  } else
4050
4046
  this.ast = t;
4051
4047
  if (!Array.isArray(this.ast))
@@ -4150,7 +4146,7 @@ const U = {}, Ei = (e, t, r) => r && (t in U || (U[t] = {}), e in U[t] || (U[t][
4150
4146
  return;
4151
4147
  if (t in U && e in U[t])
4152
4148
  return U[t][e];
4153
- const r = Oe(t);
4149
+ const r = Pe(t);
4154
4150
  for (let n = 0; n < r.length; n++) {
4155
4151
  const i = r[n], o = Ti(i, e);
4156
4152
  if (o)
@@ -4158,7 +4154,7 @@ const U = {}, Ei = (e, t, r) => r && (t in U || (U[t] = {}), e in U[t] || (U[t][
4158
4154
  }
4159
4155
  };
4160
4156
  let nt;
4161
- const fe = Ae({});
4157
+ const ce = Be({});
4162
4158
  function Si(e) {
4163
4159
  return nt[e] || null;
4164
4160
  }
@@ -4174,7 +4170,7 @@ function Ti(e, t) {
4174
4170
  function wi(e) {
4175
4171
  if (e == null)
4176
4172
  return;
4177
- const t = Oe(e);
4173
+ const t = Pe(e);
4178
4174
  for (let r = 0; r < t.length; r++) {
4179
4175
  const n = t[r];
4180
4176
  if (fr(n))
@@ -4182,28 +4178,28 @@ function wi(e) {
4182
4178
  }
4183
4179
  }
4184
4180
  function pr(e, ...t) {
4185
- delete U[e], fe.update((r) => (r[e] = Pn.all([r[e] || {}, ...t]), r));
4181
+ delete U[e], ce.update((r) => (r[e] = Pn.all([r[e] || {}, ...t]), r));
4186
4182
  }
4187
- K(
4188
- [fe],
4183
+ Y(
4184
+ [ce],
4189
4185
  ([e]) => Object.keys(e)
4190
4186
  );
4191
- fe.subscribe((e) => nt = e);
4192
- const xe = {};
4187
+ ce.subscribe((e) => nt = e);
4188
+ const _e = {};
4193
4189
  function Hi(e, t) {
4194
- xe[e].delete(t), xe[e].size === 0 && delete xe[e];
4190
+ _e[e].delete(t), _e[e].size === 0 && delete _e[e];
4195
4191
  }
4196
4192
  function dr(e) {
4197
- return xe[e];
4193
+ return _e[e];
4198
4194
  }
4199
4195
  function Bi(e) {
4200
- return Oe(e).map((t) => {
4196
+ return Pe(e).map((t) => {
4201
4197
  const r = dr(t);
4202
4198
  return [t, r ? [...r] : []];
4203
4199
  }).filter(([, t]) => t.length > 0);
4204
4200
  }
4205
4201
  function Ke(e) {
4206
- return e == null ? !1 : Oe(e).some(
4202
+ return e == null ? !1 : Pe(e).some(
4207
4203
  (t) => {
4208
4204
  var r;
4209
4205
  return (r = dr(t)) == null ? void 0 : r.size;
@@ -4215,20 +4211,20 @@ function Ai(e, t) {
4215
4211
  t.map((n) => (Hi(e, n), n().then((i) => i.default || i)))
4216
4212
  ).then((n) => pr(e, ...n));
4217
4213
  }
4218
- const ie = {};
4214
+ const ne = {};
4219
4215
  function mr(e) {
4220
4216
  if (!Ke(e))
4221
- return e in ie ? ie[e] : Promise.resolve();
4217
+ return e in ne ? ne[e] : Promise.resolve();
4222
4218
  const t = Bi(e);
4223
- return ie[e] = Promise.all(
4219
+ return ne[e] = Promise.all(
4224
4220
  t.map(
4225
4221
  ([r, n]) => Ai(r, n)
4226
4222
  )
4227
4223
  ).then(() => {
4228
4224
  if (Ke(e))
4229
4225
  return mr(e);
4230
- delete ie[e];
4231
- }), ie[e];
4226
+ delete ne[e];
4227
+ }), ne[e];
4232
4228
  }
4233
4229
  const Pi = {
4234
4230
  number: {
@@ -4267,125 +4263,125 @@ const Pi = {
4267
4263
  handleMissingMessage: void 0,
4268
4264
  ignoreTag: !0
4269
4265
  }, Ii = Oi;
4270
- function Y() {
4266
+ function J() {
4271
4267
  return Ii;
4272
4268
  }
4273
- const Ge = Ae(!1);
4274
- var Li = Object.defineProperty, Ni = Object.defineProperties, Ci = Object.getOwnPropertyDescriptors, Tt = Object.getOwnPropertySymbols, Mi = Object.prototype.hasOwnProperty, $i = Object.prototype.propertyIsEnumerable, wt = (e, t, r) => t in e ? Li(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ri = (e, t) => {
4269
+ const Ge = Be(!1);
4270
+ var Li = Object.defineProperty, Ni = Object.defineProperties, Mi = Object.getOwnPropertyDescriptors, Tt = Object.getOwnPropertySymbols, Ci = Object.prototype.hasOwnProperty, $i = Object.prototype.propertyIsEnumerable, wt = (e, t, r) => t in e ? Li(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ri = (e, t) => {
4275
4271
  for (var r in t || (t = {}))
4276
- Mi.call(t, r) && wt(e, r, t[r]);
4272
+ Ci.call(t, r) && wt(e, r, t[r]);
4277
4273
  if (Tt)
4278
4274
  for (var r of Tt(t))
4279
4275
  $i.call(t, r) && wt(e, r, t[r]);
4280
4276
  return e;
4281
- }, Ui = (e, t) => Ni(e, Ci(t));
4277
+ }, Ui = (e, t) => Ni(e, Mi(t));
4282
4278
  let et;
4283
- const we = Ae(null);
4279
+ const Te = Be(null);
4284
4280
  function Ht(e) {
4285
4281
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4286
4282
  }
4287
- function Oe(e, t = Y().fallbackLocale) {
4283
+ function Pe(e, t = J().fallbackLocale) {
4288
4284
  const r = Ht(e);
4289
4285
  return t ? [.../* @__PURE__ */ new Set([...r, ...Ht(t)])] : r;
4290
4286
  }
4291
- function j() {
4287
+ function F() {
4292
4288
  return et ?? void 0;
4293
4289
  }
4294
- we.subscribe((e) => {
4290
+ Te.subscribe((e) => {
4295
4291
  et = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4296
4292
  });
4297
4293
  const Gi = (e) => {
4298
4294
  if (e && wi(e) && Ke(e)) {
4299
- const { loadingDelay: t } = Y();
4295
+ const { loadingDelay: t } = J();
4300
4296
  let r;
4301
- return typeof window < "u" && j() != null && t ? r = window.setTimeout(
4297
+ return typeof window < "u" && F() != null && t ? r = window.setTimeout(
4302
4298
  () => Ge.set(!0),
4303
4299
  t
4304
4300
  ) : Ge.set(!0), mr(e).then(() => {
4305
- we.set(e);
4301
+ Te.set(e);
4306
4302
  }).finally(() => {
4307
4303
  clearTimeout(r), Ge.set(!1);
4308
4304
  });
4309
4305
  }
4310
- return we.set(e);
4311
- }, ee = Ui(Ri({}, we), {
4306
+ return Te.set(e);
4307
+ }, K = Ui(Ri({}, Te), {
4312
4308
  set: Gi
4313
- }), Ie = (e) => {
4309
+ }), Oe = (e) => {
4314
4310
  const t = /* @__PURE__ */ Object.create(null);
4315
4311
  return (n) => {
4316
4312
  const i = JSON.stringify(n);
4317
4313
  return i in t ? t[i] : t[i] = e(n);
4318
4314
  };
4319
4315
  };
4320
- var Di = Object.defineProperty, He = Object.getOwnPropertySymbols, br = Object.prototype.hasOwnProperty, gr = Object.prototype.propertyIsEnumerable, Bt = (e, t, r) => t in e ? Di(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, it = (e, t) => {
4316
+ var Di = Object.defineProperty, we = Object.getOwnPropertySymbols, br = Object.prototype.hasOwnProperty, gr = Object.prototype.propertyIsEnumerable, Bt = (e, t, r) => t in e ? Di(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, it = (e, t) => {
4321
4317
  for (var r in t || (t = {}))
4322
4318
  br.call(t, r) && Bt(e, r, t[r]);
4323
- if (He)
4324
- for (var r of He(t))
4319
+ if (we)
4320
+ for (var r of we(t))
4325
4321
  gr.call(t, r) && Bt(e, r, t[r]);
4326
4322
  return e;
4327
- }, te = (e, t) => {
4323
+ }, ee = (e, t) => {
4328
4324
  var r = {};
4329
4325
  for (var n in e)
4330
4326
  br.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4331
- if (e != null && He)
4332
- for (var n of He(e))
4327
+ if (e != null && we)
4328
+ for (var n of we(e))
4333
4329
  t.indexOf(n) < 0 && gr.call(e, n) && (r[n] = e[n]);
4334
4330
  return r;
4335
4331
  };
4336
- const ue = (e, t) => {
4337
- const { formats: r } = Y();
4332
+ const ae = (e, t) => {
4333
+ const { formats: r } = J();
4338
4334
  if (e in r && t in r[e])
4339
4335
  return r[e][t];
4340
4336
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4341
- }, Fi = Ie(
4337
+ }, Fi = Oe(
4342
4338
  (e) => {
4343
- var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
4339
+ var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4344
4340
  if (r == null)
4345
4341
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4346
- return n && (i = ue("number", n)), new Intl.NumberFormat(r, i);
4342
+ return n && (i = ae("number", n)), new Intl.NumberFormat(r, i);
4347
4343
  }
4348
- ), ji = Ie(
4344
+ ), ji = Oe(
4349
4345
  (e) => {
4350
- var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
4346
+ var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4351
4347
  if (r == null)
4352
4348
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4353
- return n ? i = ue("date", n) : Object.keys(i).length === 0 && (i = ue("date", "short")), new Intl.DateTimeFormat(r, i);
4349
+ return n ? i = ae("date", n) : Object.keys(i).length === 0 && (i = ae("date", "short")), new Intl.DateTimeFormat(r, i);
4354
4350
  }
4355
- ), ki = Ie(
4351
+ ), ki = Oe(
4356
4352
  (e) => {
4357
- var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
4353
+ var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4358
4354
  if (r == null)
4359
4355
  throw new Error(
4360
4356
  '[svelte-i18n] A "locale" must be set to format time values'
4361
4357
  );
4362
- return n ? i = ue("time", n) : Object.keys(i).length === 0 && (i = ue("time", "short")), new Intl.DateTimeFormat(r, i);
4358
+ return n ? i = ae("time", n) : Object.keys(i).length === 0 && (i = ae("time", "short")), new Intl.DateTimeFormat(r, i);
4363
4359
  }
4364
4360
  ), Vi = (e = {}) => {
4365
4361
  var t = e, {
4366
- locale: r = j()
4367
- } = t, n = te(t, [
4362
+ locale: r = F()
4363
+ } = t, n = ee(t, [
4368
4364
  "locale"
4369
4365
  ]);
4370
4366
  return Fi(it({ locale: r }, n));
4371
4367
  }, Xi = (e = {}) => {
4372
4368
  var t = e, {
4373
- locale: r = j()
4374
- } = t, n = te(t, [
4369
+ locale: r = F()
4370
+ } = t, n = ee(t, [
4375
4371
  "locale"
4376
4372
  ]);
4377
4373
  return ji(it({ locale: r }, n));
4378
4374
  }, Wi = (e = {}) => {
4379
4375
  var t = e, {
4380
- locale: r = j()
4381
- } = t, n = te(t, [
4376
+ locale: r = F()
4377
+ } = t, n = ee(t, [
4382
4378
  "locale"
4383
4379
  ]);
4384
4380
  return ki(it({ locale: r }, n));
4385
- }, zi = Ie(
4381
+ }, zi = Oe(
4386
4382
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4387
- (e, t = j()) => new _i(e, t, Y().formats, {
4388
- ignoreTag: Y().ignoreTag
4383
+ (e, t = F()) => new _i(e, t, J().formats, {
4384
+ ignoreTag: J().ignoreTag
4389
4385
  })
4390
4386
  ), Zi = (e, t = {}) => {
4391
4387
  var r, n, i, o;
@@ -4393,44 +4389,67 @@ const ue = (e, t) => {
4393
4389
  typeof e == "object" && (a = e, e = a.id);
4394
4390
  const {
4395
4391
  values: s,
4396
- locale: u = j(),
4397
- default: l
4392
+ locale: h = F(),
4393
+ default: u
4398
4394
  } = a;
4399
- if (u == null)
4395
+ if (h == null)
4400
4396
  throw new Error(
4401
4397
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4402
4398
  );
4403
- let h = cr(e, u);
4404
- if (!h)
4405
- 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;
4406
- else if (typeof h != "string")
4399
+ let l = cr(e, h);
4400
+ if (!l)
4401
+ l = (o = (i = (n = (r = J()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4402
+ else if (typeof l != "string")
4407
4403
  return console.warn(
4408
- `[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.`
4409
- ), h;
4404
+ `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
4405
+ ), l;
4410
4406
  if (!s)
4411
- return h;
4412
- let c = h;
4407
+ return l;
4408
+ let f = l;
4413
4409
  try {
4414
- c = zi(h, u).format(s);
4415
- } catch (f) {
4416
- f instanceof Error && console.warn(
4410
+ f = zi(l, h).format(s);
4411
+ } catch (c) {
4412
+ c instanceof Error && console.warn(
4417
4413
  `[svelte-i18n] Message "${e}" has syntax error:`,
4418
- f.message
4414
+ c.message
4419
4415
  );
4420
4416
  }
4421
- return c;
4422
- }, qi = (e, t) => Wi(t).format(e), Qi = (e, t) => Xi(t).format(e), Ji = (e, t) => Vi(t).format(e), Yi = (e, t = j()) => cr(e, t), Ki = K([ee, fe], () => Zi);
4423
- K([ee], () => qi);
4424
- K([ee], () => Qi);
4425
- K([ee], () => Ji);
4426
- K([ee, fe], () => Yi);
4417
+ return f;
4418
+ }, qi = (e, t) => Wi(t).format(e), Qi = (e, t) => Xi(t).format(e), Ji = (e, t) => Vi(t).format(e), Yi = (e, t = F()) => cr(e, t), Ki = Y([K, ce], () => Zi);
4419
+ Y([K], () => qi);
4420
+ Y([K], () => Qi);
4421
+ Y([K], () => Ji);
4422
+ Y([K, ce], () => Yi);
4427
4423
  window.emWidgets = { topic: fn };
4428
- const Mo = (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)), eo = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4424
+ const Co = (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)), eo = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4425
+ function to(e, t) {
4426
+ if (e) {
4427
+ const r = document.createElement("style");
4428
+ r.innerHTML = t, e.appendChild(r);
4429
+ }
4430
+ }
4431
+ function ro(e, t) {
4432
+ const r = new URL(t);
4433
+ fetch(r.href).then((n) => n.text()).then((n) => {
4434
+ const i = document.createElement("style");
4435
+ i.innerHTML = n, e && e.appendChild(i);
4436
+ }).catch((n) => {
4437
+ console.error("There was an error while trying to load client styling from URL", n);
4438
+ });
4439
+ }
4440
+ function $o(e, t, r) {
4441
+ if (window.emMessageBus) {
4442
+ const n = document.createElement("style");
4443
+ window.emMessageBus.subscribe(t, (i) => {
4444
+ n.innerHTML = i, e && e.appendChild(n);
4445
+ });
4446
+ }
4447
+ }
4429
4448
  function At(e, t) {
4430
4449
  pr(e, t);
4431
4450
  }
4432
- function to(e) {
4433
- ee.set(e);
4451
+ function no(e) {
4452
+ K.set(e);
4434
4453
  }
4435
4454
  const Pt = {
4436
4455
  en: {
@@ -4467,78 +4486,78 @@ const Pt = {
4467
4486
  logoutButton: "Logout"
4468
4487
  }
4469
4488
  };
4470
- function ro(e) {
4471
- Br(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))}");
4489
+ function io(e) {
4490
+ Hr(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))}");
4472
4491
  }
4473
- function no(e) {
4492
+ function oo(e) {
4474
4493
  let t, r, n, i = (
4475
4494
  /*$_*/
4476
4495
  e[2]("logoutButton") + ""
4477
4496
  ), o, a, s;
4478
4497
  return {
4479
4498
  c() {
4480
- t = L("div"), r = L("button"), n = L("span"), o = ce(i), A(t, "class", "GeneralLogout");
4499
+ t = L("div"), r = L("button"), n = L("span"), o = le(i), B(t, "class", "GeneralLogout");
4481
4500
  },
4482
- m(u, l) {
4483
- he(u, t, l), P(t, r), P(r, n), P(n, o), a || (s = Rt(
4501
+ m(h, u) {
4502
+ he(h, t, u), A(t, r), A(r, n), A(n, o), a || (s = Rt(
4484
4503
  r,
4485
4504
  "click",
4486
4505
  /*click_handler_1*/
4487
- e[13]
4506
+ e[14]
4488
4507
  ), a = !0);
4489
4508
  },
4490
- p(u, l) {
4491
- l & /*$_*/
4509
+ p(h, u) {
4510
+ u & /*$_*/
4492
4511
  4 && i !== (i = /*$_*/
4493
- u[2]("logoutButton") + "") && Ut(o, i);
4512
+ h[2]("logoutButton") + "") && Ut(o, i);
4494
4513
  },
4495
- d(u) {
4496
- u && F(t), a = !1, s();
4514
+ d(h) {
4515
+ h && D(t), a = !1, s();
4497
4516
  }
4498
4517
  };
4499
4518
  }
4500
- function io(e) {
4501
- let t, r, n, i, o, a, s, u, l, h, c, f = !/*isMobile*/
4502
- e[3] && oo(e);
4519
+ function so(e) {
4520
+ let t, r, n, i, o, a, s, h, u, l, f, c = !/*isMobile*/
4521
+ e[3] && ao(e);
4503
4522
  return {
4504
4523
  c() {
4505
- 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 = Pr(), 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"), Ir(r, "width", /*isMobile*/
4524
+ t = L("p"), r = L("span"), n = te("svg"), i = te("defs"), o = te("style"), a = le(".a88316b4-2478-4a69-b2eb-d32a5fb419dd{fill:var(--emw--color-white, #FFFFFF);}"), s = te("path"), h = te("path"), u = Ar(), c && c.c(), B(s, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd"), B(s, "d", "M147.16,67.69,115.42,36a9.6,9.6,0,1,0-13.58,13.58l15.32,15.31H49.58a9.63,9.63,0,1,0,0,19.26h67.58L101.84,99.42a9.64,9.64,0,0,0,6.79,16.43,9.41,9.41,0,0,0,6.79-2.85l31.74-31.73a9.53,9.53,0,0,0,0-13.58Z"), B(h, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd"), B(h, "d", "M45.16,122.16H19.26V26.79H45.32a9.63,9.63,0,1,0,0-19.26H9.63A9.56,9.56,0,0,0,0,17.16V131.63a9.57,9.57,0,0,0,9.63,9.64H45.32A9.57,9.57,0,0,0,55,131.63a9.78,9.78,0,0,0-9.79-9.47Z"), B(n, "id", "bbfaf345-72af-4296-bf4b-2fd41fc03d5d"), B(n, "data-name", "Layer 1"), B(n, "xmlns", "http://www.w3.org/2000/svg"), B(n, "viewBox", "0 0 150 150"), Or(r, "width", /*isMobile*/
4506
4525
  e[3] ? (
4507
4526
  /*mediaQuery*/
4508
4527
  e[4].matches ? "50px" : "24px"
4509
- ) : "20px"), A(t, "class", "PlayerAccountMenuItemBox " + /*isMobile*/
4528
+ ) : "20px"), B(t, "class", "PlayerAccountMenuItemBox " + /*isMobile*/
4510
4529
  (e[3] ? "PlayerAccountMenuItemBoxMobile" : "") + " " + /*mediaQuery*/
4511
4530
  (e[4].matches && /*isMobile*/
4512
4531
  e[3] ? "PlayerAccountMenuItemBoxTablet" : ""));
4513
4532
  },
4514
- m(p, d) {
4515
- 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 = Rt(
4533
+ m(d, p) {
4534
+ he(d, t, p), A(t, r), A(r, n), A(n, i), A(i, o), A(o, a), A(n, s), A(n, h), A(t, u), c && c.m(t, null), l || (f = Rt(
4516
4535
  t,
4517
4536
  "click",
4518
4537
  /*click_handler*/
4519
- e[12]
4520
- ), h = !0);
4538
+ e[13]
4539
+ ), l = !0);
4521
4540
  },
4522
- p(p, d) {
4541
+ p(d, p) {
4523
4542
  /*isMobile*/
4524
- p[3] || f.p(p, d);
4543
+ d[3] || c.p(d, p);
4525
4544
  },
4526
- d(p) {
4527
- p && F(t), f && f.d(), h = !1, c();
4545
+ d(d) {
4546
+ d && D(t), c && c.d(), l = !1, f();
4528
4547
  }
4529
4548
  };
4530
4549
  }
4531
- function oo(e) {
4550
+ function ao(e) {
4532
4551
  let t, r = (
4533
4552
  /*$_*/
4534
4553
  e[2]("logoutButton") + ""
4535
4554
  ), n;
4536
4555
  return {
4537
4556
  c() {
4538
- t = L("span"), n = ce(r), A(t, "class", "PlayerLogoutText");
4557
+ t = L("span"), n = le(r), B(t, "class", "PlayerLogoutText");
4539
4558
  },
4540
4559
  m(i, o) {
4541
- he(i, t, o), P(t, n);
4560
+ he(i, t, o), A(t, n);
4542
4561
  },
4543
4562
  p(i, o) {
4544
4563
  o & /*$_*/
@@ -4546,16 +4565,16 @@ function oo(e) {
4546
4565
  i[2]("logoutButton") + "") && Ut(n, r);
4547
4566
  },
4548
4567
  d(i) {
4549
- i && F(t);
4568
+ i && D(t);
4550
4569
  }
4551
4570
  };
4552
4571
  }
4553
- function so(e) {
4572
+ function uo(e) {
4554
4573
  let t;
4555
4574
  function r(o, a) {
4556
4575
  return (
4557
4576
  /*buttonlocation*/
4558
- o[0] === "PlayerAccountMenu" ? io : no
4577
+ o[0] === "PlayerAccountMenu" ? so : oo
4559
4578
  );
4560
4579
  }
4561
4580
  let n = r(e), i = n(e);
@@ -4564,91 +4583,78 @@ function so(e) {
4564
4583
  t = L("div"), i.c();
4565
4584
  },
4566
4585
  m(o, a) {
4567
- he(o, t, a), i.m(t, null), e[14](t);
4586
+ he(o, t, a), i.m(t, null), e[15](t);
4568
4587
  },
4569
4588
  p(o, [a]) {
4570
4589
  n === (n = r(o)) && i ? i.p(o, a) : (i.d(1), i = n(o), i && (i.c(), i.m(t, null)));
4571
4590
  },
4572
- i: B,
4573
- o: B,
4591
+ i: H,
4592
+ o: H,
4574
4593
  d(o) {
4575
- o && F(t), i.d(), e[14](null);
4594
+ o && D(t), i.d(), e[15](null);
4576
4595
  }
4577
4596
  };
4578
4597
  }
4579
- function ao(e, t, r) {
4598
+ function ho(e, t, r) {
4580
4599
  let n;
4581
- Tr(e, Ki, (y) => r(2, n = y));
4582
- 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 = eo(d) !== "PC";
4583
- const x = window.matchMedia("(min-width: 768px)"), T = () => {
4584
- fetch(h).then((I) => I.json()).then((I) => {
4585
- Object.keys(I).forEach((G) => {
4586
- At(G, I[G]);
4600
+ Sr(e, Ki, (v) => r(2, n = v));
4601
+ let { endpoint: i = "" } = t, { session: o = "" } = t, { buttonlocation: a = "" } = t, { lang: s = "" } = t, { mbsource: h } = t, { clientstyling: u = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: f = "" } = t, c = "", d = !1, p, m = window.navigator.userAgent, x = eo(m) !== "PC";
4602
+ const T = window.matchMedia("(min-width: 768px)"), P = () => {
4603
+ fetch(f).then((R) => R.json()).then((R) => {
4604
+ Object.keys(R).forEach((Ie) => {
4605
+ At(Ie, R[Ie]);
4587
4606
  });
4588
- }).catch((I) => {
4589
- console.log(I);
4607
+ }).catch((R) => {
4608
+ console.log(R);
4590
4609
  });
4591
4610
  };
4592
- Object.keys(Pt).forEach((y) => {
4593
- At(y, Pt[y]);
4611
+ Object.keys(Pt).forEach((v) => {
4612
+ At(v, Pt[v]);
4594
4613
  });
4595
- const w = () => {
4596
- let y = new Headers();
4597
- y.append("Content-type", "application/json"), y.append("X-SessionID", o);
4598
- let I = { method: "DELETE", headers: y };
4599
- fetch(`${i}/v1/player/session/player`, I).then((G) => {
4614
+ const E = () => {
4615
+ let v = new Headers();
4616
+ v.append("Content-type", "application/json"), v.append("X-SessionID", o);
4617
+ let R = { method: "DELETE", headers: v };
4618
+ fetch(`${i}/v1/player/session/player`, R).then((Ie) => {
4600
4619
  window.postMessage({ type: "LogoutSuccessfull" }, window.location.href);
4601
4620
  });
4602
- }, 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 = () => {
4603
- to(s);
4604
- }, H = () => {
4605
- let y = document.createElement("style");
4606
- y.innerHTML = u, p.appendChild(y);
4607
- }, R = () => {
4608
- let y = new URL(l), I = document.createElement("style");
4609
- fetch(y.href).then((G) => G.text()).then((G) => {
4610
- I.innerHTML = G, setTimeout(
4611
- () => {
4612
- p.appendChild(I);
4613
- },
4614
- 1
4615
- ), setTimeout(
4616
- () => {
4617
- },
4618
- 500
4619
- );
4620
- });
4621
- }, pe = () => w(), vr = () => w();
4622
- function _r(y) {
4623
- De[y ? "unshift" : "push"](() => {
4624
- p = y, r(1, p);
4621
+ }, 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 = () => {
4622
+ no(s);
4623
+ };
4624
+ Ur(() => () => {
4625
+ });
4626
+ const $ = () => E(), fe = () => E();
4627
+ function vr(v) {
4628
+ De[v ? "unshift" : "push"](() => {
4629
+ p = v, r(1, p);
4625
4630
  });
4626
4631
  }
4627
- return e.$$set = (y) => {
4628
- "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);
4632
+ return e.$$set = (v) => {
4633
+ "endpoint" in v && r(6, i = v.endpoint), "session" in v && r(7, o = v.session), "buttonlocation" in v && r(0, a = v.buttonlocation), "lang" in v && r(8, s = v.lang), "mbsource" in v && r(9, h = v.mbsource), "clientstyling" in v && r(10, u = v.clientstyling), "clientstylingurl" in v && r(11, l = v.clientstylingurl), "translationurl" in v && r(12, f = v.translationurl);
4629
4634
  }, e.$$.update = () => {
4630
4635
  e.$$.dirty & /*endpoint, session, buttonlocation*/
4631
- 193 && i && o && a && E(), e.$$.dirty & /*lang*/
4632
- 256 && s && O(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4633
- 514 && u && p && H(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4634
- 1026 && l && p && R(), e.$$.dirty & /*translationurl*/
4635
- 2048 && h && T();
4636
+ 193 && i && o && a && O(), e.$$.dirty & /*lang*/
4637
+ 256 && s && w(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4638
+ 1026 && u && p && to(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4639
+ 2050 && l && p && ro(), e.$$.dirty & /*translationurl*/
4640
+ 4096 && f && P();
4636
4641
  }, [
4637
4642
  a,
4638
4643
  p,
4639
4644
  n,
4640
- m,
4641
4645
  x,
4642
- w,
4646
+ T,
4647
+ E,
4643
4648
  i,
4644
4649
  o,
4645
4650
  s,
4651
+ h,
4646
4652
  u,
4647
4653
  l,
4648
- h,
4649
- pe,
4650
- vr,
4651
- _r
4654
+ f,
4655
+ $,
4656
+ fe,
4657
+ vr
4652
4658
  ];
4653
4659
  }
4654
4660
  class yr extends qr {
@@ -4656,127 +4662,136 @@ class yr extends qr {
4656
4662
  super(), zr(
4657
4663
  this,
4658
4664
  t,
4659
- ao,
4660
- so,
4665
+ ho,
4666
+ uo,
4661
4667
  It,
4662
4668
  {
4663
4669
  endpoint: 6,
4664
4670
  session: 7,
4665
4671
  buttonlocation: 0,
4666
4672
  lang: 8,
4667
- clientstyling: 9,
4668
- clientstylingurl: 10,
4669
- translationurl: 11
4673
+ mbsource: 9,
4674
+ clientstyling: 10,
4675
+ clientstylingurl: 11,
4676
+ translationurl: 12
4670
4677
  },
4671
- ro
4678
+ io
4672
4679
  );
4673
4680
  }
4674
4681
  get endpoint() {
4675
4682
  return this.$$.ctx[6];
4676
4683
  }
4677
4684
  set endpoint(t) {
4678
- this.$$set({ endpoint: t }), N();
4685
+ this.$$set({ endpoint: t }), I();
4679
4686
  }
4680
4687
  get session() {
4681
4688
  return this.$$.ctx[7];
4682
4689
  }
4683
4690
  set session(t) {
4684
- this.$$set({ session: t }), N();
4691
+ this.$$set({ session: t }), I();
4685
4692
  }
4686
4693
  get buttonlocation() {
4687
4694
  return this.$$.ctx[0];
4688
4695
  }
4689
4696
  set buttonlocation(t) {
4690
- this.$$set({ buttonlocation: t }), N();
4697
+ this.$$set({ buttonlocation: t }), I();
4691
4698
  }
4692
4699
  get lang() {
4693
4700
  return this.$$.ctx[8];
4694
4701
  }
4695
4702
  set lang(t) {
4696
- this.$$set({ lang: t }), N();
4703
+ this.$$set({ lang: t }), I();
4697
4704
  }
4698
- get clientstyling() {
4705
+ get mbsource() {
4699
4706
  return this.$$.ctx[9];
4700
4707
  }
4708
+ set mbsource(t) {
4709
+ this.$$set({ mbsource: t }), I();
4710
+ }
4711
+ get clientstyling() {
4712
+ return this.$$.ctx[10];
4713
+ }
4701
4714
  set clientstyling(t) {
4702
- this.$$set({ clientstyling: t }), N();
4715
+ this.$$set({ clientstyling: t }), I();
4703
4716
  }
4704
4717
  get clientstylingurl() {
4705
- return this.$$.ctx[10];
4718
+ return this.$$.ctx[11];
4706
4719
  }
4707
4720
  set clientstylingurl(t) {
4708
- this.$$set({ clientstylingurl: t }), N();
4721
+ this.$$set({ clientstylingurl: t }), I();
4709
4722
  }
4710
4723
  get translationurl() {
4711
- return this.$$.ctx[11];
4724
+ return this.$$.ctx[12];
4712
4725
  }
4713
4726
  set translationurl(t) {
4714
- this.$$set({ translationurl: t }), N();
4727
+ this.$$set({ translationurl: t }), I();
4715
4728
  }
4716
4729
  }
4717
- Zr(yr, { endpoint: {}, session: {}, buttonlocation: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
4718
- const $o = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4730
+ Zr(yr, { endpoint: {}, session: {}, buttonlocation: {}, lang: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
4731
+ const Ro = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4719
4732
  __proto__: null,
4720
4733
  default: yr
4721
4734
  }, Symbol.toStringTag, { value: "Module" }));
4722
4735
  export {
4723
- ee as $,
4724
- Ao as A,
4725
- yo as B,
4726
- mo as C,
4727
- lo as D,
4728
- Io as E,
4729
- jr as F,
4736
+ K as $,
4737
+ Zr as A,
4738
+ Ki as B,
4739
+ ce as C,
4740
+ Ao as D,
4741
+ vo as E,
4742
+ go as F,
4730
4743
  co as G,
4731
- fo as H,
4732
- ho as I,
4733
- vo as J,
4734
- No as K,
4735
- go as L,
4736
- wo as M,
4737
- Eo as N,
4738
- To as O,
4739
- le as P,
4744
+ Io as H,
4745
+ jr as I,
4746
+ po as J,
4747
+ mo as K,
4748
+ fo as L,
4749
+ _o as M,
4750
+ No as N,
4751
+ yo as O,
4752
+ Ho as P,
4740
4753
  So as Q,
4741
- Te as R,
4754
+ wo as R,
4742
4755
  qr as S,
4743
- Mo as T,
4744
- po as U,
4745
- bo as V,
4746
- Ir as W,
4747
- uo as X,
4748
- xr as Y,
4749
- Po as Z,
4750
- Oo as _,
4756
+ ue as T,
4757
+ To as U,
4758
+ Se as V,
4759
+ Co as W,
4760
+ bo as X,
4761
+ Or as Y,
4762
+ Oo as Z,
4763
+ Po as _,
4751
4764
  pr as a,
4752
- Lo as a0,
4753
- dn as a1,
4754
- Co as a2,
4755
- xo as a3,
4756
- $o as a4,
4757
- Br as b,
4765
+ lo as a0,
4766
+ _r as a1,
4767
+ Lo as a2,
4768
+ dn as a3,
4769
+ Mo as a4,
4770
+ Eo as a5,
4771
+ Ro as a6,
4772
+ Hr as b,
4758
4773
  Ut as c,
4759
- F as d,
4760
- _o as e,
4761
- N as f,
4774
+ D as d,
4775
+ xo as e,
4776
+ I as f,
4762
4777
  he as g,
4763
- P as h,
4778
+ A as h,
4764
4779
  zr as i,
4765
4780
  L as j,
4766
- Pr as k,
4781
+ Ar as k,
4767
4782
  Rt as l,
4768
- ce as m,
4769
- B as n,
4770
- A as o,
4771
- Tr as p,
4783
+ le as m,
4784
+ H as n,
4785
+ B as o,
4786
+ Sr as p,
4772
4787
  eo as q,
4773
- D as r,
4788
+ G as r,
4774
4789
  It as s,
4775
- Ho as t,
4776
- Bo as u,
4777
- re as v,
4790
+ Bo as t,
4791
+ Ur as u,
4792
+ te as v,
4778
4793
  De as w,
4779
- Zr as x,
4780
- Ki as y,
4781
- fe as z
4794
+ to as x,
4795
+ ro as y,
4796
+ $o as z
4782
4797
  };