@everymatrix/player-account-controller-nd 1.76.0 → 1.76.3

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 (162) hide show
  1. package/components/{GeneralLogout-BKUfd8BJ.js → GeneralLogout-C-KQBmk3.js} +1397 -1432
  2. package/components/{GeneralLogout-oSYhP-Iy.js → GeneralLogout-C52-PhwD.js} +1392 -1427
  3. package/components/GeneralLogout-COm1JcKW.cjs +21 -0
  4. package/components/{PlayerAccountBettingHistory-BgDQMawM.js → PlayerAccountBettingHistory-5QM3bGgT.js} +27 -27
  5. package/components/{PlayerAccountBettingHistory-BlbdV8eE.js → PlayerAccountBettingHistory-B91V20F2.js} +27 -27
  6. package/components/{PlayerAccountBettingHistory-Cb9zY2cj.cjs → PlayerAccountBettingHistory-CE023VGz.cjs} +1 -1
  7. package/components/{PlayerAccountBiometrics-wy6pz2CT.js → PlayerAccountBiometrics-C5FFOJ5V.js} +22 -22
  8. package/components/{PlayerAccountBiometrics-CSSQNl0K.cjs → PlayerAccountBiometrics-DPdT285K.cjs} +1 -1
  9. package/components/{PlayerAccountBiometrics-DG8PwDTf.js → PlayerAccountBiometrics-DuvDCmjx.js} +22 -22
  10. package/components/{PlayerAccountClosureNd-BMxbB-XD.js → PlayerAccountClosureNd-BEMKT7IM.js} +17 -17
  11. package/components/{PlayerAccountClosureNd-zBlQJ0Iy.cjs → PlayerAccountClosureNd-CMzRAP8U.cjs} +1 -1
  12. package/components/{PlayerAccountClosureNd-Cp7kk_QC.js → PlayerAccountClosureNd-CYHq0859.js} +17 -17
  13. package/components/{PlayerAccountControllerNd-CbRH9XCC.cjs → PlayerAccountControllerNd-5P_qraz8.cjs} +1 -1
  14. package/components/{PlayerAccountControllerNd-D1EDxbdY.js → PlayerAccountControllerNd-C2xNfItK.js} +141 -141
  15. package/components/{PlayerAccountControllerNd-BH0Tl-CD.js → PlayerAccountControllerNd-D_dltJgG.js} +143 -143
  16. package/components/{PlayerAccountGamingLimits-BPVpte4c.cjs → PlayerAccountGamingLimits-B2vzRems.cjs} +1 -1
  17. package/components/{PlayerAccountGamingLimits-BgxS4Frr.js → PlayerAccountGamingLimits-B7ppWJQ6.js} +19 -19
  18. package/components/{PlayerAccountGamingLimits-DxJATH5L.js → PlayerAccountGamingLimits-DMS9a3TN.js} +19 -19
  19. package/components/PlayerAccountGamingLimitsConfirmationModal-BR2Qm3Iq.cjs +1 -0
  20. package/components/{PlayerAccountGamingLimitsConfirmationModal-CFwNex1C.js → PlayerAccountGamingLimitsConfirmationModal-Crt7TSIB.js} +53 -53
  21. package/components/{PlayerAccountGamingLimitsConfirmationModal-CvyHjYBX.js → PlayerAccountGamingLimitsConfirmationModal-rkO4-ifF.js} +53 -53
  22. package/components/{PlayerAccountGamingLimitsGroupEdit-KwKmUGcw.js → PlayerAccountGamingLimitsGroupEdit-B-MqO4BJ.js} +1081 -1079
  23. package/components/{PlayerAccountGamingLimitsGroupEdit-8LGyrjL0.js → PlayerAccountGamingLimitsGroupEdit-CDRqETAd.js} +1081 -1079
  24. package/components/PlayerAccountGamingLimitsGroupEdit-JerzRaIW.cjs +2 -0
  25. package/components/{PlayerAccountGamingLimitsHistory2Nd-BgG_Z2P-.js → PlayerAccountGamingLimitsHistory2Nd-C5ysmYyV.js} +78 -78
  26. package/components/{PlayerAccountGamingLimitsHistory2Nd-DwvRmspa.js → PlayerAccountGamingLimitsHistory2Nd-C85Ls9oF.js} +78 -78
  27. package/components/{PlayerAccountGamingLimitsHistory2Nd-CIrBCUa0.cjs → PlayerAccountGamingLimitsHistory2Nd-CG8WJl-W.cjs} +1 -1
  28. package/components/{PlayerAccountGamingLimitsInfoCard-C5NKAWiQ.js → PlayerAccountGamingLimitsInfoCard-BYwQnhb5.js} +80 -80
  29. package/components/{PlayerAccountGamingLimitsInfoCard-B1-rS3C8.cjs → PlayerAccountGamingLimitsInfoCard-DRRou8s9.cjs} +1 -1
  30. package/components/{PlayerAccountGamingLimitsInfoCard-CSDRi3f-.js → PlayerAccountGamingLimitsInfoCard-DjnVkaho.js} +80 -80
  31. package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-BDJgXEpR.js → PlayerAccountGamingLimitsPage2Gm16Nd-B6s5JpNY.js} +635 -631
  32. package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-DnFd7nlp.js → PlayerAccountGamingLimitsPage2Gm16Nd-nx7oRLey.js} +580 -577
  33. package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-D49LpMFm.cjs → PlayerAccountGamingLimitsPage2Gm16Nd-q7UT5qmk.cjs} +5 -5
  34. package/components/{PlayerAccountGamingLimitsPopup-DCN31S-r.js → PlayerAccountGamingLimitsPopup-1ObhRFHn.js} +28 -28
  35. package/components/{PlayerAccountGamingLimitsPopup-B9mkm7cd.cjs → PlayerAccountGamingLimitsPopup-D16rhs4n.cjs} +1 -1
  36. package/components/{PlayerAccountGamingLimitsPopup-DrJTQvtg.js → PlayerAccountGamingLimitsPopup-lZ7y_RVP.js} +28 -28
  37. package/components/{PlayerAccountGamingLimitsWrapper2Nd-CIt5e_ly.js → PlayerAccountGamingLimitsWrapper2Nd-Bgr6DeY3.js} +37 -37
  38. package/components/{PlayerAccountGamingLimitsWrapper2Nd--Nqc89AN.js → PlayerAccountGamingLimitsWrapper2Nd-Blbz-UsS.js} +37 -37
  39. package/components/{PlayerAccountGamingLimitsWrapper2Nd-BdaNHLXM.cjs → PlayerAccountGamingLimitsWrapper2Nd-D97T9bNZ.cjs} +1 -1
  40. package/components/PlayerAccountGeneralConfirmationModal-BajaU0jJ.cjs +1 -0
  41. package/components/{PlayerAccountGeneralConfirmationModal-DiAHffly.js → PlayerAccountGeneralConfirmationModal-Bgat7eVE.js} +68 -68
  42. package/components/{PlayerAccountGeneralConfirmationModal-BVL5axI_.js → PlayerAccountGeneralConfirmationModal-DrgjMSLh.js} +68 -68
  43. package/components/{PlayerAccountMenuNd-CrAZDSaS.js → PlayerAccountMenuNd-V9EOIgPS.js} +29 -29
  44. package/components/{PlayerAccountMenuNd-CizaV1PR.cjs → PlayerAccountMenuNd-Yk5u12tl.cjs} +1 -1
  45. package/components/{PlayerAccountMenuNd-Bu9ZxduC.js → PlayerAccountMenuNd-alDPH0d2.js} +29 -29
  46. package/components/{PlayerAccountModal-DAf18_Du.js → PlayerAccountModal-9FK6eAt0.js} +25 -25
  47. package/components/{PlayerAccountModal-YdQXeL8A.js → PlayerAccountModal-DCsw7iyn.js} +25 -25
  48. package/components/{PlayerAccountModal-CzspHDhO.cjs → PlayerAccountModal-DvJ0OsPC.cjs} +1 -1
  49. package/components/{PlayerAccountNotifications-5zu1lBMx.js → PlayerAccountNotifications-BVfKQdMA.js} +36 -36
  50. package/components/{PlayerAccountNotifications-vIvTXRgY.js → PlayerAccountNotifications-BzEDVvTZ.js} +35 -35
  51. package/components/{PlayerAccountNotifications-CGmkTd-y.cjs → PlayerAccountNotifications-CdPeCghS.cjs} +1 -1
  52. package/components/PlayerAccountProductRestriction-BJ0LFpLp.cjs +6061 -0
  53. package/components/{PlayerAccountProductRestriction-BF0h_niF.js → PlayerAccountProductRestriction-DmWDaeEI.js} +4394 -9464
  54. package/components/{PlayerAccountProductRestriction-3WFIGanw.js → PlayerAccountProductRestriction-EAWMHqK4.js} +4421 -9491
  55. package/components/{PlayerAccountSelfExclusionNd-B6_H7e_L.js → PlayerAccountSelfExclusionNd-BI74DoLY.js} +1205 -1203
  56. package/components/{PlayerAccountSelfExclusionNd-BA-E3Lvv.cjs → PlayerAccountSelfExclusionNd-BLr1N-Bv.cjs} +155 -155
  57. package/components/{PlayerAccountSelfExclusionNd-InV94SVo.js → PlayerAccountSelfExclusionNd-CiB251y6.js} +899 -897
  58. package/components/{PlayerAccountTimeout-DmPZQyO-.js → PlayerAccountTimeout-BlJS9laL.js} +103 -103
  59. package/components/{PlayerAccountTimeout-udrChYVf.js → PlayerAccountTimeout-GP0WHuhG.js} +103 -103
  60. package/components/{PlayerAccountTimeout-GCPC9dEy.cjs → PlayerAccountTimeout-U0kgxhKU.cjs} +1 -1
  61. package/components/PlayerAccountTransactionsHistory-CNgQQxdT.cjs +4 -0
  62. package/components/PlayerAccountTransactionsHistory-D5K0uJEO.js +1925 -0
  63. package/components/PlayerAccountTransactionsHistory-Lh_TpwTB.js +1956 -0
  64. package/components/{PlayerActiveBonuses-CAXKzlCB.js → PlayerActiveBonuses-D4OBnwNa.js} +54 -54
  65. package/components/{PlayerActiveBonuses-_NK812L8.cjs → PlayerActiveBonuses-Me5Q3o65.cjs} +1 -1
  66. package/components/{PlayerActiveBonuses-6D2NramZ.js → PlayerActiveBonuses-zLuqH4eW.js} +48 -48
  67. package/components/{PlayerBonusCard-Bq3pVRnf.js → PlayerBonusCard-BbRQx8Gg.js} +81 -81
  68. package/components/{PlayerBonusCard-DPmKzmhw.js → PlayerBonusCard-BhW_g3sH.js} +81 -81
  69. package/components/{PlayerBonusCard-C6zYcpN6.cjs → PlayerBonusCard-DgyhSYBs.cjs} +1 -1
  70. package/components/{PlayerBonusHistory-DLt5HM6L.cjs → PlayerBonusHistory-BmeRyaDK.cjs} +1 -1
  71. package/components/{PlayerBonusHistory-DoGyKJvZ.js → PlayerBonusHistory-BxbtWY0l.js} +30 -30
  72. package/components/{PlayerBonusHistory-DVECoGyb.js → PlayerBonusHistory-C_uP6nBB.js} +30 -30
  73. package/components/{PlayerChangePasswordNd-BgLvdsST.cjs → PlayerChangePasswordNd-DSIi_04v.cjs} +1 -1
  74. package/components/{PlayerChangePasswordNd-CTV_CCcj.js → PlayerChangePasswordNd-DUzbCK4p.js} +71 -71
  75. package/components/{PlayerChangePasswordNd-BJdk4OhW.js → PlayerChangePasswordNd-DWsHRVAH.js} +71 -71
  76. package/components/{PlayerDeposit-D5ykTYYS.js → PlayerDeposit-BeGgsgNu.js} +29 -29
  77. package/components/{PlayerDeposit-syo0F-Bg.js → PlayerDeposit-CI5GIyAe.js} +29 -29
  78. package/components/{PlayerDeposit-BsyYS9xx.cjs → PlayerDeposit-CmBFg6tX.cjs} +1 -1
  79. package/components/{PlayerGamingHistory-wceTj5YX.js → PlayerGamingHistory-BJQKapHg.js} +82 -82
  80. package/components/{PlayerGamingHistory-Bz7t6as2.js → PlayerGamingHistory-DEgVt4st.js} +102 -102
  81. package/components/{PlayerGamingHistory-8Bo-uc3o.cjs → PlayerGamingHistory-F3yi70Vu.cjs} +1 -1
  82. package/components/{PlayerPendingWithdrawals-C0wYmh2S.js → PlayerPendingWithdrawals-BL4JTLkC.js} +26 -26
  83. package/components/{PlayerPendingWithdrawals-Dvq9lK8F.cjs → PlayerPendingWithdrawals-D-KWiMH6.cjs} +1 -1
  84. package/components/{PlayerPendingWithdrawals-i7OozfVP.js → PlayerPendingWithdrawals-o6_OjL5C.js} +26 -26
  85. package/components/{PlayerProfileInfo-CYPlnEWJ.cjs → PlayerProfileInfo-CwZQ79SV.cjs} +1 -1
  86. package/components/{PlayerProfileInfo-C8O_EaxV.js → PlayerProfileInfo-D0A3aRV_.js} +158 -158
  87. package/components/{PlayerProfileInfo-ClOk9nzX.js → PlayerProfileInfo-xRMbiw1T.js} +146 -146
  88. package/components/{PlayerRealityCheck-BIebwdRX.js → PlayerRealityCheck-BEiZhn6p.js} +45 -45
  89. package/components/{PlayerRealityCheck-Cjp4DHJi.js → PlayerRealityCheck-CYU_NrFB.js} +44 -44
  90. package/components/{PlayerRealityCheck-BynMsi1X.cjs → PlayerRealityCheck-JdOGHDG6.cjs} +1 -1
  91. package/components/{PlayerTransactionHistory-DjQdwT5r.js → PlayerTransactionHistory-BS1LjP09.js} +19 -19
  92. package/components/{PlayerTransactionHistory-NAh_DclU.js → PlayerTransactionHistory-DdbQZ6mw.js} +19 -19
  93. package/components/{PlayerTransactionHistory-BU4_vLyx.cjs → PlayerTransactionHistory-Hz2IWD73.cjs} +1 -1
  94. package/components/{PlayerWithdrawal-CIKlBfKQ.js → PlayerWithdrawal-DGN4Y9QP.js} +19 -19
  95. package/components/{PlayerWithdrawal-DrYfLVwI.js → PlayerWithdrawal-DOec04Iq.js} +19 -19
  96. package/components/{PlayerWithdrawal-CkSCfQ4A.cjs → PlayerWithdrawal-P_0MIA-u.cjs} +1 -1
  97. package/es2015/player-account-controller-nd.cjs +1 -1
  98. package/es2015/player-account-controller-nd.js +1 -1
  99. package/esnext/player-account-controller-nd.js +1 -1
  100. package/package.json +1 -1
  101. package/stencil/{checkbox-group-input_15-C9RSqwNE.js → checkbox-group-input_15-Cm-Io-xD.js} +4375 -9431
  102. package/stencil/{checkbox-group-input_15-COZrprO3.js → checkbox-group-input_15-DuNUJJTh.js} +4372 -9428
  103. package/stencil/checkbox-group-input_15-_nxwaXJG.cjs +6305 -0
  104. package/stencil/index-1ef3a64c-DD-PHh2g.cjs +1 -0
  105. package/stencil/{index-1ef3a64c-zEGNB-u8.js → index-1ef3a64c-DQk1yZfC.js} +185 -185
  106. package/stencil/{index-1ef3a64c-HE2lDlEL.js → index-1ef3a64c-DuKSFSN8.js} +192 -192
  107. package/stencil/{index-6e523641-CIqESSFm.js → index-6e523641-BMbc57IV.js} +207 -207
  108. package/stencil/index-6e523641-BZDelC3M.cjs +1 -0
  109. package/stencil/{index-6e523641-C-aWDr56.js → index-6e523641-D97cqlCQ.js} +185 -185
  110. package/stencil/index-9c0f6c58-8Ks3y9ln.cjs +1 -0
  111. package/stencil/{index-9c0f6c58-CWsaYxOT.js → index-9c0f6c58-GCIFeGLp.js} +176 -176
  112. package/stencil/{index-9c0f6c58-ntq_iYNK.js → index-9c0f6c58-Ucwc3Jk1.js} +180 -180
  113. package/stencil/index-b2193545-BMFR9-V2.cjs +1 -0
  114. package/stencil/index-b2193545-DPKCFIaU.js +503 -0
  115. package/stencil/index-b2193545-LzjWxki5.js +519 -0
  116. package/stencil/index-c666b6e6-boVOGpc7.cjs +1 -0
  117. package/stencil/{index-13661b98-C1LBo8p_.js → index-c666b6e6-c0hf32cu.js} +218 -218
  118. package/stencil/{index-13661b98-BGWA5lR-.js → index-c666b6e6-eYzoO3Jn.js} +207 -207
  119. package/stencil/{pam-change-password-c578e291-DjiJJQNq.js → pam-change-password-9aef79f2-CavSOe-m.js} +59 -59
  120. package/stencil/{pam-change-password-c578e291-CObxKeQj.cjs → pam-change-password-9aef79f2-ONc9NBqY.cjs} +2 -2
  121. package/stencil/{pam-change-password-c578e291-ApXrRZhk.js → pam-change-password-9aef79f2-mdiqi4BL.js} +59 -59
  122. package/stencil/pam-change-password-BKya2rzZ.cjs +1 -0
  123. package/stencil/pam-change-password-CZxcB-oo.js +25 -0
  124. package/stencil/pam-change-password-CurSbN32.js +7 -0
  125. package/stencil/{player-kyc-verification-sZ9OAQ8Z.js → player-kyc-verification-B9ZaCq1K.js} +1 -1
  126. package/stencil/{player-kyc-verification-BOxNJ6x_.cjs → player-kyc-verification-D10m225z.cjs} +1 -1
  127. package/stencil/{player-kyc-verification-jOo_qPpq.js → player-kyc-verification-Wsswi9br.js} +1 -1
  128. package/stencil/{ui-skeleton-C_FDz0NJ.js → ui-skeleton-2XsWxl4S.js} +2 -2
  129. package/stencil/{ui-skeleton-GEqIXVxo.cjs → ui-skeleton-Cbqo0oYF.cjs} +1 -1
  130. package/stencil/{ui-skeleton-mkMdvWYI.js → ui-skeleton-LneRlsD3.js} +2 -2
  131. package/stencil/{ui-skeleton-ae35c6f2-e6Wte4qi.js → ui-skeleton-ae35c6f2-8s3Rqu1P.js} +1 -1
  132. package/stencil/{ui-skeleton-ae35c6f2-CeNpgiKf.cjs → ui-skeleton-ae35c6f2-B4ncHe9g.cjs} +1 -1
  133. package/stencil/{ui-skeleton-ae35c6f2-BreM325l.js → ui-skeleton-ae35c6f2-OnzqIAY0.js} +1 -1
  134. package/stencil/{user-deposit-withdrawal-BuFBx-hr.cjs → user-deposit-withdrawal-BP58nPO1.cjs} +2 -2
  135. package/stencil/{user-deposit-withdrawal-DdJYJeX1.js → user-deposit-withdrawal-CSakhNt1.js} +45 -45
  136. package/stencil/{user-deposit-withdrawal-Cr0-V-2c.js → user-deposit-withdrawal-DcVKAa80.js} +45 -45
  137. package/stencil/{user-transaction-history-D4WBmCh8.cjs → user-transaction-history-DLnBnc9G.cjs} +1 -1
  138. package/stencil/{user-transaction-history-ChQcZwtX.js → user-transaction-history-DgJplHTM.js} +1 -1
  139. package/stencil/{user-transaction-history-Dla0Do5o.js → user-transaction-history-DmJRwGhM.js} +1 -1
  140. package/stencil/{user-transaction-history_2-DznYNRIL.js → user-transaction-history_2-B2zGklPY.js} +849 -847
  141. package/stencil/{user-transaction-history_2-B1al0Y-h.js → user-transaction-history_2-C4mIlMIA.js} +843 -841
  142. package/stencil/user-transaction-history_2-hm8W11mj.cjs +2 -0
  143. package/components/GeneralLogout-CuvnoUn1.cjs +0 -21
  144. package/components/PlayerAccountGamingLimitsConfirmationModal-CTub7J3N.cjs +0 -1
  145. package/components/PlayerAccountGamingLimitsGroupEdit-gUkWnHwu.cjs +0 -2
  146. package/components/PlayerAccountGeneralConfirmationModal-OYut1Lou.cjs +0 -1
  147. package/components/PlayerAccountProductRestriction-HFCCxFxz.cjs +0 -7968
  148. package/components/PlayerAccountTransactionsHistory-CUS4pXR6.js +0 -1950
  149. package/components/PlayerAccountTransactionsHistory-Dyi6niL1.js +0 -1919
  150. package/components/PlayerAccountTransactionsHistory-dCbPHNH7.cjs +0 -4
  151. package/stencil/checkbox-group-input_15-4Hs1gM1f.cjs +0 -8212
  152. package/stencil/index-13661b98-8hgREsxq.cjs +0 -1
  153. package/stencil/index-1ef3a64c-DR7bpfUj.cjs +0 -1
  154. package/stencil/index-6e523641-D-RFKZXR.cjs +0 -1
  155. package/stencil/index-9c0f6c58-Cv5Mos03.cjs +0 -1
  156. package/stencil/index-b2193545-DQUvHUpa.cjs +0 -1
  157. package/stencil/index-b2193545-DoYU_tL8.js +0 -503
  158. package/stencil/index-b2193545-_I2wisuY.js +0 -519
  159. package/stencil/pam-change-password-CgN62FEK.js +0 -25
  160. package/stencil/pam-change-password-Ck1Dqung.js +0 -7
  161. package/stencil/pam-change-password-q-zLWG5h.cjs +0 -1
  162. package/stencil/user-transaction-history_2-bMxqSwYs.cjs +0 -2
@@ -1,89 +1,89 @@
1
- var Nr = Object.defineProperty, Mr = Object.defineProperties;
2
- var Cr = Object.getOwnPropertyDescriptors;
3
- var ft = Object.getOwnPropertySymbols;
4
- var $r = Object.prototype.hasOwnProperty, Rr = Object.prototype.propertyIsEnumerable;
5
- var Ce = (e, t, r) => t in e ? Nr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, pt = (e, t) => {
6
- for (var r in t || (t = {}))
7
- $r.call(t, r) && Ce(e, r, t[r]);
8
- if (ft)
9
- for (var r of ft(t))
10
- Rr.call(t, r) && Ce(e, r, t[r]);
1
+ var On = Object.defineProperty, In = Object.defineProperties;
2
+ var Ln = Object.getOwnPropertyDescriptors;
3
+ var ut = Object.getOwnPropertySymbols;
4
+ var Nn = Object.prototype.hasOwnProperty, Mn = Object.prototype.propertyIsEnumerable;
5
+ var Ne = (e, t, n) => t in e ? On(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, ht = (e, t) => {
6
+ for (var n in t || (t = {}))
7
+ Nn.call(t, n) && Ne(e, n, t[n]);
8
+ if (ut)
9
+ for (var n of ut(t))
10
+ Mn.call(t, n) && Ne(e, n, t[n]);
11
11
  return e;
12
- }, dt = (e, t) => Mr(e, Cr(t));
13
- var S = (e, t, r) => (Ce(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var mt = (e, t, r) => new Promise((n, i) => {
12
+ }, lt = (e, t) => In(e, Ln(t));
13
+ var S = (e, t, n) => (Ne(e, typeof t != "symbol" ? t + "" : t, n), n);
14
+ var ft = (e, t, n) => new Promise((r, i) => {
15
15
  var o = (u) => {
16
16
  try {
17
- a(r.next(u));
17
+ a(n.next(u));
18
18
  } catch (h) {
19
19
  i(h);
20
20
  }
21
21
  }, s = (u) => {
22
22
  try {
23
- a(r.throw(u));
23
+ a(n.throw(u));
24
24
  } catch (h) {
25
25
  i(h);
26
26
  }
27
- }, a = (u) => u.done ? n(u.value) : Promise.resolve(u.value).then(o, s);
28
- a((r = r.apply(e, t)).next());
27
+ }, a = (u) => u.done ? r(u.value) : Promise.resolve(u.value).then(o, s);
28
+ a((n = n.apply(e, t)).next());
29
29
  });
30
30
  function B() {
31
31
  }
32
- const Ur = (e) => e;
33
- function Dr(e, t) {
34
- for (const r in t)
35
- e[r] = t[r];
32
+ const Cn = (e) => e;
33
+ function $n(e, t) {
34
+ for (const n in t)
35
+ e[n] = t[n];
36
36
  return (
37
37
  /** @type {T & S} */
38
38
  e
39
39
  );
40
40
  }
41
- function jt(e) {
41
+ function Ut(e) {
42
42
  return e();
43
43
  }
44
- function bt() {
44
+ function ct() {
45
45
  return /* @__PURE__ */ Object.create(null);
46
46
  }
47
47
  function F(e) {
48
- e.forEach(jt);
48
+ e.forEach(Ut);
49
49
  }
50
- function he(e) {
50
+ function le(e) {
51
51
  return typeof e == "function";
52
52
  }
53
- function kt(e, t) {
53
+ function Dt(e, t) {
54
54
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
55
55
  }
56
- let de;
57
- function Oo(e, t) {
58
- return e === t ? !0 : (de || (de = document.createElement("a")), de.href = t, e === de.href);
56
+ let pe;
57
+ function Ho(e, t) {
58
+ return e === t ? !0 : (pe || (pe = document.createElement("a")), pe.href = t, e === pe.href);
59
59
  }
60
- function Gr(e) {
60
+ function Rn(e) {
61
61
  return Object.keys(e).length === 0;
62
62
  }
63
- function Vt(e, ...t) {
63
+ function Gt(e, ...t) {
64
64
  if (e == null) {
65
- for (const n of t)
66
- n(void 0);
65
+ for (const r of t)
66
+ r(void 0);
67
67
  return B;
68
68
  }
69
- const r = e.subscribe(...t);
70
- return r.unsubscribe ? () => r.unsubscribe() : r;
69
+ const n = e.subscribe(...t);
70
+ return n.unsubscribe ? () => n.unsubscribe() : n;
71
71
  }
72
- function Fr(e, t, r) {
73
- e.$$.on_destroy.push(Vt(t, r));
72
+ function Un(e, t, n) {
73
+ e.$$.on_destroy.push(Gt(t, n));
74
74
  }
75
- function Io(e, t, r, n) {
75
+ function Bo(e, t, n, r) {
76
76
  if (e) {
77
- const i = Xt(e, t, r, n);
77
+ const i = Ft(e, t, n, r);
78
78
  return e[0](i);
79
79
  }
80
80
  }
81
- function Xt(e, t, r, n) {
82
- return e[1] && n ? Dr(r.ctx.slice(), e[1](n(t))) : r.ctx;
81
+ function Ft(e, t, n, r) {
82
+ return e[1] && r ? $n(n.ctx.slice(), e[1](r(t))) : n.ctx;
83
83
  }
84
- function Lo(e, t, r, n) {
85
- if (e[2] && n) {
86
- const i = e[2](n(r));
84
+ function Ao(e, t, n, r) {
85
+ if (e[2] && r) {
86
+ const i = e[2](r(n));
87
87
  if (t.dirty === void 0)
88
88
  return i;
89
89
  if (typeof i == "object") {
@@ -96,40 +96,40 @@ function Lo(e, t, r, n) {
96
96
  }
97
97
  return t.dirty;
98
98
  }
99
- function No(e, t, r, n, i, o) {
99
+ function Po(e, t, n, r, i, o) {
100
100
  if (i) {
101
- const s = Xt(t, r, n, o);
101
+ const s = Ft(t, n, r, o);
102
102
  e.p(s, i);
103
103
  }
104
104
  }
105
- function Mo(e) {
105
+ function Oo(e) {
106
106
  if (e.ctx.length > 32) {
107
- const t = [], r = e.ctx.length / 32;
108
- for (let n = 0; n < r; n++)
109
- t[n] = -1;
107
+ const t = [], n = e.ctx.length / 32;
108
+ for (let r = 0; r < n; r++)
109
+ t[r] = -1;
110
110
  return t;
111
111
  }
112
112
  return -1;
113
113
  }
114
- function Co(e) {
114
+ function Io(e) {
115
115
  return e == null ? "" : e;
116
116
  }
117
- function $o(e) {
118
- return e && he(e.destroy) ? e.destroy : B;
117
+ function Lo(e) {
118
+ return e && le(e.destroy) ? e.destroy : B;
119
119
  }
120
- const Wt = typeof window != "undefined";
121
- let jr = Wt ? () => window.performance.now() : () => Date.now(), ut = Wt ? (e) => requestAnimationFrame(e) : B;
120
+ const jt = typeof window != "undefined";
121
+ let Dn = jt ? () => window.performance.now() : () => Date.now(), rt = jt ? (e) => requestAnimationFrame(e) : B;
122
122
  const z = /* @__PURE__ */ new Set();
123
- function zt(e) {
123
+ function kt(e) {
124
124
  z.forEach((t) => {
125
125
  t.c(e) || (z.delete(t), t.f());
126
- }), z.size !== 0 && ut(zt);
126
+ }), z.size !== 0 && rt(kt);
127
127
  }
128
- function kr(e) {
128
+ function Gn(e) {
129
129
  let t;
130
- return z.size === 0 && ut(zt), {
131
- promise: new Promise((r) => {
132
- z.add(t = { c: e, f: r });
130
+ return z.size === 0 && rt(kt), {
131
+ promise: new Promise((n) => {
132
+ z.add(t = { c: e, f: n });
133
133
  }),
134
134
  abort() {
135
135
  z.delete(t);
@@ -139,14 +139,14 @@ function kr(e) {
139
139
  function P(e, t) {
140
140
  e.appendChild(t);
141
141
  }
142
- function Vr(e, t, r) {
143
- const n = ht(e);
144
- if (!n.getElementById(t)) {
142
+ function Fn(e, t, n) {
143
+ const r = it(e);
144
+ if (!r.getElementById(t)) {
145
145
  const i = L("style");
146
- i.id = t, i.textContent = r, Zt(n, i);
146
+ i.id = t, i.textContent = n, Vt(r, i);
147
147
  }
148
148
  }
149
- function ht(e) {
149
+ function it(e) {
150
150
  if (!e)
151
151
  return document;
152
152
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -156,26 +156,26 @@ function ht(e) {
156
156
  t
157
157
  ) : e.ownerDocument;
158
158
  }
159
- function Xr(e) {
159
+ function jn(e) {
160
160
  const t = L("style");
161
- return t.textContent = "/* empty */", Zt(ht(e), t), t.sheet;
161
+ return t.textContent = "/* empty */", Vt(it(e), t), t.sheet;
162
162
  }
163
- function Zt(e, t) {
163
+ function Vt(e, t) {
164
164
  return P(
165
165
  /** @type {Document} */
166
166
  e.head || e,
167
167
  t
168
168
  ), t.sheet;
169
169
  }
170
- function K(e, t, r) {
171
- e.insertBefore(t, r || null);
170
+ function ee(e, t, n) {
171
+ e.insertBefore(t, n || null);
172
172
  }
173
173
  function G(e) {
174
174
  e.parentNode && e.parentNode.removeChild(e);
175
175
  }
176
- function Ro(e, t) {
177
- for (let r = 0; r < e.length; r += 1)
178
- e[r] && e[r].d(t);
176
+ function No(e, t) {
177
+ for (let n = 0; n < e.length; n += 1)
178
+ e[n] && e[n].d(t);
179
179
  }
180
180
  function L(e) {
181
181
  return document.createElement(e);
@@ -183,80 +183,80 @@ function L(e) {
183
183
  function X(e) {
184
184
  return document.createElementNS("http://www.w3.org/2000/svg", e);
185
185
  }
186
- function le(e) {
186
+ function fe(e) {
187
187
  return document.createTextNode(e);
188
188
  }
189
- function Wr() {
190
- return le(" ");
189
+ function kn() {
190
+ return fe(" ");
191
191
  }
192
- function Uo() {
193
- return le("");
192
+ function Mo() {
193
+ return fe("");
194
194
  }
195
- function qt(e, t, r, n) {
196
- return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
195
+ function Xt(e, t, n, r) {
196
+ return e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r);
197
197
  }
198
- function Do(e) {
198
+ function Co(e) {
199
199
  return function(t) {
200
200
  return t.preventDefault(), e.call(this, t);
201
201
  };
202
202
  }
203
- function A(e, t, r) {
204
- r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
203
+ function A(e, t, n) {
204
+ n == null ? e.removeAttribute(t) : e.getAttribute(t) !== n && e.setAttribute(t, n);
205
205
  }
206
- function Go(e, t, r) {
207
- const n = t.toLowerCase();
208
- n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : A(e, t, r);
206
+ function $o(e, t, n) {
207
+ const r = t.toLowerCase();
208
+ r in e ? e[r] = typeof e[r] == "boolean" && n === "" ? !0 : n : t in e ? e[t] = typeof e[t] == "boolean" && n === "" ? !0 : n : A(e, t, n);
209
209
  }
210
- function Fo(e) {
210
+ function Ro(e) {
211
211
  let t;
212
212
  return {
213
213
  /* push */
214
- p(...r) {
215
- t = r, t.forEach((n) => e.push(n));
214
+ p(...n) {
215
+ t = n, t.forEach((r) => e.push(r));
216
216
  },
217
217
  /* remove */
218
218
  r() {
219
- t.forEach((r) => e.splice(e.indexOf(r), 1));
219
+ t.forEach((n) => e.splice(e.indexOf(n), 1));
220
220
  }
221
221
  };
222
222
  }
223
- function jo(e) {
223
+ function Uo(e) {
224
224
  return e === "" ? null : +e;
225
225
  }
226
- function zr(e) {
226
+ function Vn(e) {
227
227
  return Array.from(e.childNodes);
228
228
  }
229
- function Qt(e, t) {
229
+ function Wt(e, t) {
230
230
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
231
231
  t);
232
232
  }
233
- function ko(e, t) {
233
+ function Do(e, t) {
234
234
  e.value = t == null ? "" : t;
235
235
  }
236
- function Zr(e, t, r, n) {
237
- r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
236
+ function Xn(e, t, n, r) {
237
+ n == null ? e.style.removeProperty(t) : e.style.setProperty(t, n, "");
238
238
  }
239
- function Vo(e, t, r) {
240
- for (let n = 0; n < e.options.length; n += 1) {
241
- const i = e.options[n];
239
+ function Go(e, t, n) {
240
+ for (let r = 0; r < e.options.length; r += 1) {
241
+ const i = e.options[r];
242
242
  if (i.__value === t) {
243
243
  i.selected = !0;
244
244
  return;
245
245
  }
246
246
  }
247
- (!r || t !== void 0) && (e.selectedIndex = -1);
247
+ (!n || t !== void 0) && (e.selectedIndex = -1);
248
248
  }
249
- function Xo(e) {
249
+ function Fo(e) {
250
250
  const t = e.querySelector(":checked");
251
251
  return t && t.__value;
252
252
  }
253
- function Wo(e, t, r) {
254
- e.classList.toggle(t, !!r);
253
+ function jo(e, t, n) {
254
+ e.classList.toggle(t, !!n);
255
255
  }
256
- function qr(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
257
- return new CustomEvent(e, { detail: t, bubbles: r, cancelable: n });
256
+ function Wn(e, t, { bubbles: n = !1, cancelable: r = !1 } = {}) {
257
+ return new CustomEvent(e, { detail: t, bubbles: n, cancelable: r });
258
258
  }
259
- class zo {
259
+ class ko {
260
260
  constructor(t = !1) {
261
261
  /**
262
262
  * @private
@@ -286,17 +286,17 @@ class zo {
286
286
  * @param {HTMLElement | SVGElement} anchor
287
287
  * @returns {void}
288
288
  */
289
- m(t, r, n = null) {
289
+ m(t, n, r = null) {
290
290
  this.e || (this.is_svg ? this.e = X(
291
291
  /** @type {keyof SVGElementTagNameMap} */
292
- r.nodeName
292
+ n.nodeName
293
293
  ) : this.e = L(
294
294
  /** @type {keyof HTMLElementTagNameMap} */
295
- r.nodeType === 11 ? "TEMPLATE" : r.nodeName
296
- ), this.t = r.tagName !== "TEMPLATE" ? r : (
295
+ n.nodeType === 11 ? "TEMPLATE" : n.nodeName
296
+ ), this.t = n.tagName !== "TEMPLATE" ? n : (
297
297
  /** @type {HTMLTemplateElement} */
298
- r.content
299
- ), this.c(t)), this.i(n);
298
+ n.content
299
+ ), this.c(t)), this.i(r);
300
300
  }
301
301
  /**
302
302
  * @param {string} html
@@ -310,8 +310,8 @@ class zo {
310
310
  /**
311
311
  * @returns {void} */
312
312
  i(t) {
313
- for (let r = 0; r < this.n.length; r += 1)
314
- K(this.t, this.n[r], t);
313
+ for (let n = 0; n < this.n.length; n += 1)
314
+ ee(this.t, this.n[n], t);
315
315
  }
316
316
  /**
317
317
  * @param {string} html
@@ -326,190 +326,190 @@ class zo {
326
326
  this.n.forEach(G);
327
327
  }
328
328
  }
329
- function Qr(e) {
329
+ function zn(e) {
330
330
  const t = {};
331
331
  return e.childNodes.forEach(
332
332
  /** @param {Element} node */
333
- (r) => {
334
- t[r.slot || "default"] = !0;
333
+ (n) => {
334
+ t[n.slot || "default"] = !0;
335
335
  }
336
336
  ), t;
337
337
  }
338
- const xe = /* @__PURE__ */ new Map();
338
+ const Ee = /* @__PURE__ */ new Map();
339
339
  let Se = 0;
340
- function Jr(e) {
341
- let t = 5381, r = e.length;
342
- for (; r--; )
343
- t = (t << 5) - t ^ e.charCodeAt(r);
340
+ function Zn(e) {
341
+ let t = 5381, n = e.length;
342
+ for (; n--; )
343
+ t = (t << 5) - t ^ e.charCodeAt(n);
344
344
  return t >>> 0;
345
345
  }
346
- function Yr(e, t) {
347
- const r = { stylesheet: Xr(t), rules: {} };
348
- return xe.set(e, r), r;
346
+ function qn(e, t) {
347
+ const n = { stylesheet: jn(t), rules: {} };
348
+ return Ee.set(e, n), n;
349
349
  }
350
- function gt(e, t, r, n, i, o, s, a = 0) {
351
- const u = 16.666 / n;
350
+ function dt(e, t, n, r, i, o, s, a = 0) {
351
+ const u = 16.666 / r;
352
352
  let h = `{
353
353
  `;
354
- for (let _ = 0; _ <= 1; _ += u) {
355
- const w = t + (r - t) * o(_);
356
- h += _ * 100 + `%{${s(w, 1 - w)}}
354
+ for (let x = 0; x <= 1; x += u) {
355
+ const w = t + (n - t) * o(x);
356
+ h += x * 100 + `%{${s(w, 1 - w)}}
357
357
  `;
358
358
  }
359
- const l = h + `100% {${s(r, 1 - r)}}
360
- }`, f = `__svelte_${Jr(l)}_${a}`, c = ht(e), { stylesheet: d, rules: p } = xe.get(c) || Yr(c, e);
361
- p[f] || (p[f] = !0, d.insertRule(`@keyframes ${f} ${l}`, d.cssRules.length));
359
+ const l = h + `100% {${s(n, 1 - n)}}
360
+ }`, c = `__svelte_${Zn(l)}_${a}`, f = it(e), { stylesheet: p, rules: d } = Ee.get(f) || qn(f, e);
361
+ d[c] || (d[c] = !0, p.insertRule(`@keyframes ${c} ${l}`, p.cssRules.length));
362
362
  const m = e.style.animation || "";
363
- return e.style.animation = `${m ? `${m}, ` : ""}${f} ${n}ms linear ${i}ms 1 both`, Se += 1, f;
363
+ return e.style.animation = `${m ? `${m}, ` : ""}${c} ${r}ms linear ${i}ms 1 both`, Se += 1, c;
364
364
  }
365
- function Kr(e, t) {
366
- const r = (e.style.animation || "").split(", "), n = r.filter(
365
+ function Qn(e, t) {
366
+ const n = (e.style.animation || "").split(", "), r = n.filter(
367
367
  t ? (o) => o.indexOf(t) < 0 : (o) => o.indexOf("__svelte") === -1
368
368
  // remove all Svelte animations
369
- ), i = r.length - n.length;
370
- i && (e.style.animation = n.join(", "), Se -= i, Se || en());
369
+ ), i = n.length - r.length;
370
+ i && (e.style.animation = r.join(", "), Se -= i, Se || Jn());
371
371
  }
372
- function en() {
373
- ut(() => {
374
- Se || (xe.forEach((e) => {
372
+ function Jn() {
373
+ rt(() => {
374
+ Se || (Ee.forEach((e) => {
375
375
  const { ownerNode: t } = e.stylesheet;
376
376
  t && G(t);
377
- }), xe.clear());
377
+ }), Ee.clear());
378
378
  });
379
379
  }
380
- let se;
381
- function oe(e) {
382
- se = e;
380
+ let ae;
381
+ function se(e) {
382
+ ae = e;
383
383
  }
384
- function tn() {
385
- if (!se)
384
+ function Yn() {
385
+ if (!ae)
386
386
  throw new Error("Function called outside component initialization");
387
- return se;
387
+ return ae;
388
388
  }
389
- function rn(e) {
390
- tn().$$.on_mount.push(e);
389
+ function Kn(e) {
390
+ Yn().$$.on_mount.push(e);
391
391
  }
392
- const W = [], Xe = [];
392
+ const W = [], je = [];
393
393
  let Z = [];
394
- const yt = [], Jt = /* @__PURE__ */ Promise.resolve();
395
- let We = !1;
396
- function Yt() {
397
- We || (We = !0, Jt.then(N));
394
+ const pt = [], zt = /* @__PURE__ */ Promise.resolve();
395
+ let ke = !1;
396
+ function Zt() {
397
+ ke || (ke = !0, zt.then(N));
398
398
  }
399
- function Zo() {
400
- return Yt(), Jt;
399
+ function Vo() {
400
+ return Zt(), zt;
401
401
  }
402
402
  function Te(e) {
403
403
  Z.push(e);
404
404
  }
405
- const $e = /* @__PURE__ */ new Set();
405
+ const Me = /* @__PURE__ */ new Set();
406
406
  let k = 0;
407
407
  function N() {
408
408
  if (k !== 0)
409
409
  return;
410
- const e = se;
410
+ const e = ae;
411
411
  do {
412
412
  try {
413
413
  for (; k < W.length; ) {
414
414
  const t = W[k];
415
- k++, oe(t), nn(t.$$);
415
+ k++, se(t), er(t.$$);
416
416
  }
417
417
  } catch (t) {
418
418
  throw W.length = 0, k = 0, t;
419
419
  }
420
- for (oe(null), W.length = 0, k = 0; Xe.length; )
421
- Xe.pop()();
420
+ for (se(null), W.length = 0, k = 0; je.length; )
421
+ je.pop()();
422
422
  for (let t = 0; t < Z.length; t += 1) {
423
- const r = Z[t];
424
- $e.has(r) || ($e.add(r), r());
423
+ const n = Z[t];
424
+ Me.has(n) || (Me.add(n), n());
425
425
  }
426
426
  Z.length = 0;
427
427
  } while (W.length);
428
- for (; yt.length; )
429
- yt.pop()();
430
- We = !1, $e.clear(), oe(e);
428
+ for (; pt.length; )
429
+ pt.pop()();
430
+ ke = !1, Me.clear(), se(e);
431
431
  }
432
- function nn(e) {
432
+ function er(e) {
433
433
  if (e.fragment !== null) {
434
434
  e.update(), F(e.before_update);
435
435
  const t = e.dirty;
436
436
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Te);
437
437
  }
438
438
  }
439
- function on(e) {
440
- const t = [], r = [];
441
- Z.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Z = t;
439
+ function tr(e) {
440
+ const t = [], n = [];
441
+ Z.forEach((r) => e.indexOf(r) === -1 ? t.push(r) : n.push(r)), n.forEach((r) => r()), Z = t;
442
442
  }
443
- let ne;
444
- function sn() {
445
- return ne || (ne = Promise.resolve(), ne.then(() => {
446
- ne = null;
447
- })), ne;
443
+ let ie;
444
+ function nr() {
445
+ return ie || (ie = Promise.resolve(), ie.then(() => {
446
+ ie = null;
447
+ })), ie;
448
448
  }
449
- function Re(e, t, r) {
450
- e.dispatchEvent(qr(`${t ? "intro" : "outro"}${r}`));
449
+ function Ce(e, t, n) {
450
+ e.dispatchEvent(Wn(`${t ? "intro" : "outro"}${n}`));
451
451
  }
452
452
  const ge = /* @__PURE__ */ new Set();
453
- let C;
454
- function qo() {
455
- C = {
453
+ let M;
454
+ function Xo() {
455
+ M = {
456
456
  r: 0,
457
457
  c: [],
458
- p: C
458
+ p: M
459
459
  // parent group
460
460
  };
461
461
  }
462
- function Qo() {
463
- C.r || F(C.c), C = C.p;
462
+ function Wo() {
463
+ M.r || F(M.c), M = M.p;
464
464
  }
465
- function an(e, t) {
465
+ function rr(e, t) {
466
466
  e && e.i && (ge.delete(e), e.i(t));
467
467
  }
468
- function Jo(e, t, r, n) {
468
+ function zo(e, t, n, r) {
469
469
  if (e && e.o) {
470
470
  if (ge.has(e))
471
471
  return;
472
- ge.add(e), C.c.push(() => {
473
- ge.delete(e), n && (r && e.d(1), n());
472
+ ge.add(e), M.c.push(() => {
473
+ ge.delete(e), r && (n && e.d(1), r());
474
474
  }), e.o(t);
475
475
  } else
476
- n && n();
476
+ r && r();
477
477
  }
478
- const un = { duration: 0 };
479
- function Yo(e, t, r, n) {
480
- let o = t(e, r, { direction: "both" }), s = n ? 0 : 1, a = null, u = null, h = null, l;
481
- function f() {
482
- h && Kr(e, h);
478
+ const ir = { duration: 0 };
479
+ function Zo(e, t, n, r) {
480
+ let o = t(e, n, { direction: "both" }), s = r ? 0 : 1, a = null, u = null, h = null, l;
481
+ function c() {
482
+ h && Qn(e, h);
483
483
  }
484
- function c(p, m) {
485
- const _ = (
484
+ function f(d, m) {
485
+ const x = (
486
486
  /** @type {Program['d']} */
487
- p.b - s
487
+ d.b - s
488
488
  );
489
- return m *= Math.abs(_), {
489
+ return m *= Math.abs(x), {
490
490
  a: s,
491
- b: p.b,
492
- d: _,
491
+ b: d.b,
492
+ d: x,
493
493
  duration: m,
494
- start: p.start,
495
- end: p.start + m,
496
- group: p.group
494
+ start: d.start,
495
+ end: d.start + m,
496
+ group: d.group
497
497
  };
498
498
  }
499
- function d(p) {
499
+ function p(d) {
500
500
  const {
501
501
  delay: m = 0,
502
- duration: _ = 300,
503
- easing: w = Ur,
502
+ duration: x = 300,
503
+ easing: w = Cn,
504
504
  tick: O = B,
505
- css: x
506
- } = o || un, I = {
507
- start: jr() + m,
508
- b: p
505
+ css: E
506
+ } = o || ir, I = {
507
+ start: Dn() + m,
508
+ b: d
509
509
  };
510
- p || (I.group = C, C.r += 1), "inert" in e && (p ? l !== void 0 && (e.inert = l) : (l = /** @type {HTMLElement} */
511
- e.inert, e.inert = !0)), a || u ? u = I : (x && (f(), h = gt(e, s, p, _, m, w, x)), p && O(0, 1), a = c(I, _), Te(() => Re(e, p, "start")), kr((H) => {
512
- if (u && H > u.start && (a = c(u, _), u = null, Re(e, a.b, "start"), x && (f(), h = gt(
510
+ d || (I.group = M, M.r += 1), "inert" in e && (d ? l !== void 0 && (e.inert = l) : (l = /** @type {HTMLElement} */
511
+ e.inert, e.inert = !0)), a || u ? u = I : (E && (c(), h = dt(e, s, d, x, m, w, E)), d && O(0, 1), a = f(I, x), Te(() => Ce(e, d, "start")), Gn((H) => {
512
+ if (u && H > u.start && (a = f(u, x), u = null, Ce(e, a.b, "start"), E && (c(), h = dt(
513
513
  e,
514
514
  s,
515
515
  a.b,
@@ -519,7 +519,7 @@ function Yo(e, t, r, n) {
519
519
  o.css
520
520
  ))), a) {
521
521
  if (H >= a.end)
522
- O(s = a.b, 1 - s), Re(e, a.b, "end"), u || (a.b ? f() : --a.group.r || F(a.group.c)), a = null;
522
+ O(s = a.b, 1 - s), Ce(e, a.b, "end"), u || (a.b ? c() : --a.group.r || F(a.group.c)), a = null;
523
523
  else if (H >= a.start) {
524
524
  const R = H - a.start;
525
525
  s = a.a + a.d * w(R / a.duration), O(s, 1 - s);
@@ -529,36 +529,36 @@ function Yo(e, t, r, n) {
529
529
  }));
530
530
  }
531
531
  return {
532
- run(p) {
533
- he(o) ? sn().then(() => {
534
- o = o({ direction: p ? "in" : "out" }), d(p);
535
- }) : d(p);
532
+ run(d) {
533
+ le(o) ? nr().then(() => {
534
+ o = o({ direction: d ? "in" : "out" }), p(d);
535
+ }) : p(d);
536
536
  },
537
537
  end() {
538
- f(), a = u = null;
538
+ c(), a = u = null;
539
539
  }
540
540
  };
541
541
  }
542
- function Ko(e) {
542
+ function qo(e) {
543
543
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
544
544
  }
545
- function hn(e, t, r) {
546
- const { fragment: n, after_update: i } = e.$$;
547
- n && n.m(t, r), Te(() => {
548
- const o = e.$$.on_mount.map(jt).filter(he);
545
+ function or(e, t, n) {
546
+ const { fragment: r, after_update: i } = e.$$;
547
+ r && r.m(t, n), Te(() => {
548
+ const o = e.$$.on_mount.map(Ut).filter(le);
549
549
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : F(o), e.$$.on_mount = [];
550
550
  }), i.forEach(Te);
551
551
  }
552
- function ln(e, t) {
553
- const r = e.$$;
554
- r.fragment !== null && (on(r.after_update), F(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
552
+ function sr(e, t) {
553
+ const n = e.$$;
554
+ n.fragment !== null && (tr(n.after_update), F(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
555
555
  }
556
- function cn(e, t) {
557
- e.$$.dirty[0] === -1 && (W.push(e), Yt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
556
+ function ar(e, t) {
557
+ e.$$.dirty[0] === -1 && (W.push(e), Zt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
558
558
  }
559
- function fn(e, t, r, n, i, o, s = null, a = [-1]) {
560
- const u = se;
561
- oe(e);
559
+ function ur(e, t, n, r, i, o, s = null, a = [-1]) {
560
+ const u = ae;
561
+ se(e);
562
562
  const h = e.$$ = {
563
563
  fragment: null,
564
564
  ctx: [],
@@ -566,7 +566,7 @@ function fn(e, t, r, n, i, o, s = null, a = [-1]) {
566
566
  props: o,
567
567
  update: B,
568
568
  not_equal: i,
569
- bound: bt(),
569
+ bound: ct(),
570
570
  // lifecycle
571
571
  on_mount: [],
572
572
  on_destroy: [],
@@ -575,29 +575,29 @@ function fn(e, t, r, n, i, o, s = null, a = [-1]) {
575
575
  after_update: [],
576
576
  context: new Map(t.context || (u ? u.$$.context : [])),
577
577
  // everything else
578
- callbacks: bt(),
578
+ callbacks: ct(),
579
579
  dirty: a,
580
580
  skip_bound: !1,
581
581
  root: t.target || u.$$.root
582
582
  };
583
583
  s && s(h.root);
584
584
  let l = !1;
585
- if (h.ctx = r ? r(e, t.props || {}, (f, c, ...d) => {
586
- const p = d.length ? d[0] : c;
587
- return h.ctx && i(h.ctx[f], h.ctx[f] = p) && (!h.skip_bound && h.bound[f] && h.bound[f](p), l && cn(e, f)), c;
588
- }) : [], h.update(), l = !0, F(h.before_update), h.fragment = n ? n(h.ctx) : !1, t.target) {
585
+ if (h.ctx = n ? n(e, t.props || {}, (c, f, ...p) => {
586
+ const d = p.length ? p[0] : f;
587
+ return h.ctx && i(h.ctx[c], h.ctx[c] = d) && (!h.skip_bound && h.bound[c] && h.bound[c](d), l && ar(e, c)), f;
588
+ }) : [], h.update(), l = !0, F(h.before_update), h.fragment = r ? r(h.ctx) : !1, t.target) {
589
589
  if (t.hydrate) {
590
- const f = zr(t.target);
591
- h.fragment && h.fragment.l(f), f.forEach(G);
590
+ const c = Vn(t.target);
591
+ h.fragment && h.fragment.l(c), c.forEach(G);
592
592
  } else
593
593
  h.fragment && h.fragment.c();
594
- t.intro && an(e.$$.fragment), hn(e, t.target, t.anchor), N();
594
+ t.intro && rr(e.$$.fragment), or(e, t.target, t.anchor), N();
595
595
  }
596
- oe(u);
596
+ se(u);
597
597
  }
598
- let Kt;
599
- typeof HTMLElement == "function" && (Kt = class extends HTMLElement {
600
- constructor(t, r, n) {
598
+ let qt;
599
+ typeof HTMLElement == "function" && (qt = class extends HTMLElement {
600
+ constructor(t, n, r) {
601
601
  super();
602
602
  /** The Svelte component constructor */
603
603
  S(this, "$$ctor");
@@ -617,23 +617,23 @@ typeof HTMLElement == "function" && (Kt = class extends HTMLElement {
617
617
  S(this, "$$l", {});
618
618
  /** @type {Map<Function, Function>} Event listener unsubscribe functions */
619
619
  S(this, "$$l_u", /* @__PURE__ */ new Map());
620
- this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
620
+ this.$$ctor = t, this.$$s = n, r && this.attachShadow({ mode: "open" });
621
621
  }
622
- addEventListener(t, r, n) {
623
- if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(r), this.$$c) {
624
- const i = this.$$c.$on(t, r);
625
- this.$$l_u.set(r, i);
622
+ addEventListener(t, n, r) {
623
+ if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(n), this.$$c) {
624
+ const i = this.$$c.$on(t, n);
625
+ this.$$l_u.set(n, i);
626
626
  }
627
- super.addEventListener(t, r, n);
627
+ super.addEventListener(t, n, r);
628
628
  }
629
- removeEventListener(t, r, n) {
630
- if (super.removeEventListener(t, r, n), this.$$c) {
631
- const i = this.$$l_u.get(r);
632
- i && (i(), this.$$l_u.delete(r));
629
+ removeEventListener(t, n, r) {
630
+ if (super.removeEventListener(t, n, r), this.$$c) {
631
+ const i = this.$$l_u.get(n);
632
+ i && (i(), this.$$l_u.delete(n));
633
633
  }
634
634
  }
635
635
  connectedCallback() {
636
- return mt(this, null, function* () {
636
+ return ft(this, null, function* () {
637
637
  if (this.$$cn = !0, !this.$$c) {
638
638
  let t = function(o) {
639
639
  return () => {
@@ -647,7 +647,7 @@ typeof HTMLElement == "function" && (Kt = class extends HTMLElement {
647
647
  * @param {HTMLElement} [anchor]
648
648
  */
649
649
  m: function(h, l) {
650
- K(h, s, l);
650
+ ee(h, s, l);
651
651
  },
652
652
  d: function(h) {
653
653
  h && G(s);
@@ -657,9 +657,9 @@ typeof HTMLElement == "function" && (Kt = class extends HTMLElement {
657
657
  };
658
658
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
659
659
  return;
660
- const r = {}, n = Qr(this);
660
+ const n = {}, r = zn(this);
661
661
  for (const o of this.$$s)
662
- o in n && (r[o] = [t(o)]);
662
+ o in r && (n[o] = [t(o)]);
663
663
  for (const o of this.attributes) {
664
664
  const s = this.$$g_p(o.name);
665
665
  s in this.$$d || (this.$$d[s] = ye(s, o.value, this.$$p_d, "toProp"));
@@ -668,8 +668,8 @@ typeof HTMLElement == "function" && (Kt = class extends HTMLElement {
668
668
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
669
669
  this.$$c = new this.$$ctor({
670
670
  target: this.shadowRoot || this,
671
- props: dt(pt({}, this.$$d), {
672
- $$slots: r,
671
+ props: lt(ht({}, this.$$d), {
672
+ $$slots: n,
673
673
  $$scope: {
674
674
  ctx: []
675
675
  }
@@ -701,9 +701,9 @@ typeof HTMLElement == "function" && (Kt = class extends HTMLElement {
701
701
  }
702
702
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
703
703
  // and setting attributes through setAttribute etc, this is helpful
704
- attributeChangedCallback(t, r, n) {
704
+ attributeChangedCallback(t, n, r) {
705
705
  var i;
706
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = ye(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
706
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = ye(t, r, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
707
707
  }
708
708
  disconnectedCallback() {
709
709
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -712,16 +712,16 @@ typeof HTMLElement == "function" && (Kt = class extends HTMLElement {
712
712
  }
713
713
  $$g_p(t) {
714
714
  return Object.keys(this.$$p_d).find(
715
- (r) => this.$$p_d[r].attribute === t || !this.$$p_d[r].attribute && r.toLowerCase() === t
715
+ (n) => this.$$p_d[n].attribute === t || !this.$$p_d[n].attribute && n.toLowerCase() === t
716
716
  ) || t;
717
717
  }
718
718
  });
719
- function ye(e, t, r, n) {
719
+ function ye(e, t, n, r) {
720
720
  var o;
721
- const i = (o = r[e]) == null ? void 0 : o.type;
722
- if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
721
+ const i = (o = n[e]) == null ? void 0 : o.type;
722
+ if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !r || !n[e])
723
723
  return t;
724
- if (n === "toAttribute")
724
+ if (r === "toAttribute")
725
725
  switch (i) {
726
726
  case "Object":
727
727
  case "Array":
@@ -746,10 +746,10 @@ function ye(e, t, r, n) {
746
746
  return t;
747
747
  }
748
748
  }
749
- function pn(e, t, r, n, i, o) {
750
- let s = class extends Kt {
749
+ function hr(e, t, n, r, i, o) {
750
+ let s = class extends qt {
751
751
  constructor() {
752
- super(e, r, i), this.$$p_d = t;
752
+ super(e, n, i), this.$$p_d = t;
753
753
  }
754
754
  static get observedAttributes() {
755
755
  return Object.keys(t).map(
@@ -767,7 +767,7 @@ function pn(e, t, r, n, i, o) {
767
767
  u = ye(a, u, t), this.$$d[a] = u, (h = this.$$c) == null || h.$set({ [a]: u });
768
768
  }
769
769
  });
770
- }), n.forEach((a) => {
770
+ }), r.forEach((a) => {
771
771
  Object.defineProperty(s.prototype, a, {
772
772
  get() {
773
773
  var u;
@@ -777,7 +777,7 @@ function pn(e, t, r, n, i, o) {
777
777
  }), e.element = /** @type {any} */
778
778
  s, s;
779
779
  }
780
- class dn {
780
+ class lr {
781
781
  constructor() {
782
782
  /**
783
783
  * ### PRIVATE API
@@ -798,7 +798,7 @@ class dn {
798
798
  }
799
799
  /** @returns {void} */
800
800
  $destroy() {
801
- ln(this, 1), this.$destroy = B;
801
+ sr(this, 1), this.$destroy = B;
802
802
  }
803
803
  /**
804
804
  * @template {Extract<keyof Events, string>} K
@@ -806,13 +806,13 @@ class dn {
806
806
  * @param {((e: Events[K]) => void) | null | undefined} callback
807
807
  * @returns {() => void}
808
808
  */
809
- $on(t, r) {
810
- if (!he(r))
809
+ $on(t, n) {
810
+ if (!le(n))
811
811
  return B;
812
- const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
813
- return n.push(r), () => {
814
- const i = n.indexOf(r);
815
- i !== -1 && n.splice(i, 1);
812
+ const r = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
813
+ return r.push(n), () => {
814
+ const i = r.indexOf(n);
815
+ i !== -1 && r.splice(i, 1);
816
816
  };
817
817
  }
818
818
  /**
@@ -820,11 +820,11 @@ class dn {
820
820
  * @returns {void}
821
821
  */
822
822
  $set(t) {
823
- this.$$set && !Gr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
823
+ this.$$set && !Rn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
824
824
  }
825
825
  }
826
- const mn = "4";
827
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(mn);
826
+ const fr = "4";
827
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(fr);
828
828
  /*! *****************************************************************************
829
829
  Copyright (c) Microsoft Corporation.
830
830
 
@@ -839,48 +839,67 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
839
839
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
840
840
  PERFORMANCE OF THIS SOFTWARE.
841
841
  ***************************************************************************** */
842
- var ze = function(e, t) {
843
- return ze = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
844
- r.__proto__ = n;
845
- } || function(r, n) {
846
- for (var i in n)
847
- Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
848
- }, ze(e, t);
842
+ var Ve = function(e, t) {
843
+ return Ve = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
844
+ n.__proto__ = r;
845
+ } || function(n, r) {
846
+ for (var i in r)
847
+ Object.prototype.hasOwnProperty.call(r, i) && (n[i] = r[i]);
848
+ }, Ve(e, t);
849
849
  };
850
- function ce(e, t) {
850
+ function $(e, t) {
851
851
  if (typeof t != "function" && t !== null)
852
852
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
853
- ze(e, t);
854
- function r() {
853
+ Ve(e, t);
854
+ function n() {
855
855
  this.constructor = e;
856
856
  }
857
- e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
857
+ e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
858
+ }
859
+ var y = function() {
860
+ return y = Object.assign || function(t) {
861
+ for (var n, r = 1, i = arguments.length; r < i; r++) {
862
+ n = arguments[r];
863
+ for (var o in n)
864
+ Object.prototype.hasOwnProperty.call(n, o) && (t[o] = n[o]);
865
+ }
866
+ return t;
867
+ }, y.apply(this, arguments);
868
+ };
869
+ function cr(e, t) {
870
+ var n = {};
871
+ for (var r in e)
872
+ Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
873
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
874
+ for (var i = 0, r = Object.getOwnPropertySymbols(e); i < r.length; i++)
875
+ t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]);
876
+ return n;
858
877
  }
859
- function Ze(e) {
860
- var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
861
- if (r)
862
- return r.call(e);
878
+ function Xe(e) {
879
+ var t = typeof Symbol == "function" && Symbol.iterator, n = t && e[t], r = 0;
880
+ if (n)
881
+ return n.call(e);
863
882
  if (e && typeof e.length == "number")
864
883
  return {
865
884
  next: function() {
866
- return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
885
+ return e && r >= e.length && (e = void 0), { value: e && e[r++], done: !e };
867
886
  }
868
887
  };
869
888
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
870
889
  }
871
- function qe(e, t) {
872
- var r = typeof Symbol == "function" && e[Symbol.iterator];
873
- if (!r)
890
+ function We(e, t) {
891
+ var n = typeof Symbol == "function" && e[Symbol.iterator];
892
+ if (!n)
874
893
  return e;
875
- var n = r.call(e), i, o = [], s;
894
+ var r = n.call(e), i, o = [], s;
876
895
  try {
877
- for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
896
+ for (; (t === void 0 || t-- > 0) && !(i = r.next()).done; )
878
897
  o.push(i.value);
879
898
  } catch (a) {
880
899
  s = { error: a };
881
900
  } finally {
882
901
  try {
883
- i && !i.done && (r = n.return) && r.call(n);
902
+ i && !i.done && (n = r.return) && n.call(r);
884
903
  } finally {
885
904
  if (s)
886
905
  throw s.error;
@@ -888,49 +907,49 @@ function qe(e, t) {
888
907
  }
889
908
  return o;
890
909
  }
891
- function Qe(e, t, r) {
892
- if (arguments.length === 2)
893
- for (var n = 0, i = t.length, o; n < i; n++)
894
- (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
910
+ function q(e, t, n) {
911
+ if (n || arguments.length === 2)
912
+ for (var r = 0, i = t.length, o; r < i; r++)
913
+ (o || !(r in t)) && (o || (o = Array.prototype.slice.call(t, 0, r)), o[r] = t[r]);
895
914
  return e.concat(o || t);
896
915
  }
897
- function $(e) {
916
+ function C(e) {
898
917
  return typeof e == "function";
899
918
  }
900
- function er(e) {
901
- var t = function(n) {
902
- Error.call(n), n.stack = new Error().stack;
903
- }, r = e(t);
904
- return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
905
- }
906
- var Ue = er(function(e) {
907
- return function(r) {
908
- e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
909
- ` + r.map(function(n, i) {
910
- return i + 1 + ") " + n.toString();
919
+ function Qt(e) {
920
+ var t = function(r) {
921
+ Error.call(r), r.stack = new Error().stack;
922
+ }, n = e(t);
923
+ return n.prototype = Object.create(Error.prototype), n.prototype.constructor = n, n;
924
+ }
925
+ var $e = Qt(function(e) {
926
+ return function(n) {
927
+ e(this), this.message = n ? n.length + ` errors occurred during unsubscription:
928
+ ` + n.map(function(r, i) {
929
+ return i + 1 + ") " + r.toString();
911
930
  }).join(`
912
- `) : "", this.name = "UnsubscriptionError", this.errors = r;
931
+ `) : "", this.name = "UnsubscriptionError", this.errors = n;
913
932
  };
914
933
  });
915
- function Je(e, t) {
934
+ function ze(e, t) {
916
935
  if (e) {
917
- var r = e.indexOf(t);
918
- 0 <= r && e.splice(r, 1);
936
+ var n = e.indexOf(t);
937
+ 0 <= n && e.splice(n, 1);
919
938
  }
920
939
  }
921
- var Ae = function() {
940
+ var Be = function() {
922
941
  function e(t) {
923
942
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
924
943
  }
925
944
  return e.prototype.unsubscribe = function() {
926
- var t, r, n, i, o;
945
+ var t, n, r, i, o;
927
946
  if (!this.closed) {
928
947
  this.closed = !0;
929
948
  var s = this._parentage;
930
949
  if (s)
931
950
  if (this._parentage = null, Array.isArray(s))
932
951
  try {
933
- for (var a = Ze(s), u = a.next(); !u.done; u = a.next()) {
952
+ for (var a = Xe(s), u = a.next(); !u.done; u = a.next()) {
934
953
  var h = u.value;
935
954
  h.remove(this);
936
955
  }
@@ -938,7 +957,7 @@ var Ae = function() {
938
957
  t = { error: m };
939
958
  } finally {
940
959
  try {
941
- u && !u.done && (r = a.return) && r.call(a);
960
+ u && !u.done && (n = a.return) && n.call(a);
942
961
  } finally {
943
962
  if (t)
944
963
  throw t.error;
@@ -947,118 +966,122 @@ var Ae = function() {
947
966
  else
948
967
  s.remove(this);
949
968
  var l = this.initialTeardown;
950
- if ($(l))
969
+ if (C(l))
951
970
  try {
952
971
  l();
953
972
  } catch (m) {
954
- o = m instanceof Ue ? m.errors : [m];
973
+ o = m instanceof $e ? m.errors : [m];
955
974
  }
956
- var f = this._finalizers;
957
- if (f) {
975
+ var c = this._finalizers;
976
+ if (c) {
958
977
  this._finalizers = null;
959
978
  try {
960
- for (var c = Ze(f), d = c.next(); !d.done; d = c.next()) {
961
- var p = d.value;
979
+ for (var f = Xe(c), p = f.next(); !p.done; p = f.next()) {
980
+ var d = p.value;
962
981
  try {
963
- vt(p);
982
+ mt(d);
964
983
  } catch (m) {
965
- o = o != null ? o : [], m instanceof Ue ? o = Qe(Qe([], qe(o)), qe(m.errors)) : o.push(m);
984
+ o = o != null ? o : [], m instanceof $e ? o = q(q([], We(o)), We(m.errors)) : o.push(m);
966
985
  }
967
986
  }
968
987
  } catch (m) {
969
- n = { error: m };
988
+ r = { error: m };
970
989
  } finally {
971
990
  try {
972
- d && !d.done && (i = c.return) && i.call(c);
991
+ p && !p.done && (i = f.return) && i.call(f);
973
992
  } finally {
974
- if (n)
975
- throw n.error;
993
+ if (r)
994
+ throw r.error;
976
995
  }
977
996
  }
978
997
  }
979
998
  if (o)
980
- throw new Ue(o);
999
+ throw new $e(o);
981
1000
  }
982
1001
  }, e.prototype.add = function(t) {
983
- var r;
1002
+ var n;
984
1003
  if (t && t !== this)
985
1004
  if (this.closed)
986
- vt(t);
1005
+ mt(t);
987
1006
  else {
988
1007
  if (t instanceof e) {
989
1008
  if (t.closed || t._hasParent(this))
990
1009
  return;
991
1010
  t._addParent(this);
992
1011
  }
993
- (this._finalizers = (r = this._finalizers) !== null && r !== void 0 ? r : []).push(t);
1012
+ (this._finalizers = (n = this._finalizers) !== null && n !== void 0 ? n : []).push(t);
994
1013
  }
995
1014
  }, e.prototype._hasParent = function(t) {
996
- var r = this._parentage;
997
- return r === t || Array.isArray(r) && r.includes(t);
1015
+ var n = this._parentage;
1016
+ return n === t || Array.isArray(n) && n.includes(t);
998
1017
  }, e.prototype._addParent = function(t) {
999
- var r = this._parentage;
1000
- this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
1018
+ var n = this._parentage;
1019
+ this._parentage = Array.isArray(n) ? (n.push(t), n) : n ? [n, t] : t;
1001
1020
  }, e.prototype._removeParent = function(t) {
1002
- var r = this._parentage;
1003
- r === t ? this._parentage = null : Array.isArray(r) && Je(r, t);
1021
+ var n = this._parentage;
1022
+ n === t ? this._parentage = null : Array.isArray(n) && ze(n, t);
1004
1023
  }, e.prototype.remove = function(t) {
1005
- var r = this._finalizers;
1006
- r && Je(r, t), t instanceof e && t._removeParent(this);
1024
+ var n = this._finalizers;
1025
+ n && ze(n, t), t instanceof e && t._removeParent(this);
1007
1026
  }, e.EMPTY = function() {
1008
1027
  var t = new e();
1009
1028
  return t.closed = !0, t;
1010
1029
  }(), e;
1011
- }(), tr = Ae.EMPTY;
1012
- function rr(e) {
1013
- return e instanceof Ae || e && "closed" in e && $(e.remove) && $(e.add) && $(e.unsubscribe);
1014
- }
1015
- function vt(e) {
1016
- $(e) ? e() : e.unsubscribe();
1017
- }
1018
- var bn = {
1019
- Promise: void 0
1020
- }, gn = {
1030
+ }(), Jt = Be.EMPTY;
1031
+ function Yt(e) {
1032
+ return e instanceof Be || e && "closed" in e && C(e.remove) && C(e.add) && C(e.unsubscribe);
1033
+ }
1034
+ function mt(e) {
1035
+ C(e) ? e() : e.unsubscribe();
1036
+ }
1037
+ var dr = {
1038
+ onUnhandledError: null,
1039
+ onStoppedNotification: null,
1040
+ Promise: void 0,
1041
+ useDeprecatedSynchronousErrorHandling: !1,
1042
+ useDeprecatedNextContext: !1
1043
+ }, pr = {
1021
1044
  setTimeout: function(e, t) {
1022
- for (var r = [], n = 2; n < arguments.length; n++)
1023
- r[n - 2] = arguments[n];
1024
- return setTimeout.apply(void 0, Qe([e, t], qe(r)));
1045
+ for (var n = [], r = 2; r < arguments.length; r++)
1046
+ n[r - 2] = arguments[r];
1047
+ return setTimeout.apply(void 0, q([e, t], We(n)));
1025
1048
  },
1026
1049
  clearTimeout: function(e) {
1027
1050
  return clearTimeout(e);
1028
1051
  },
1029
1052
  delegate: void 0
1030
1053
  };
1031
- function yn(e) {
1032
- gn.setTimeout(function() {
1054
+ function mr(e) {
1055
+ pr.setTimeout(function() {
1033
1056
  throw e;
1034
1057
  });
1035
1058
  }
1036
- function _t() {
1059
+ function bt() {
1037
1060
  }
1038
- function ve(e) {
1061
+ function _e(e) {
1039
1062
  e();
1040
1063
  }
1041
- var nr = function(e) {
1042
- ce(t, e);
1043
- function t(r) {
1044
- var n = e.call(this) || this;
1045
- return n.isStopped = !1, r ? (n.destination = r, rr(r) && r.add(n)) : n.destination = En, n;
1064
+ var Kt = function(e) {
1065
+ $(t, e);
1066
+ function t(n) {
1067
+ var r = e.call(this) || this;
1068
+ return r.isStopped = !1, n ? (r.destination = n, Yt(n) && n.add(r)) : r.destination = yr, r;
1046
1069
  }
1047
- return t.create = function(r, n, i) {
1048
- return new Ye(r, n, i);
1049
- }, t.prototype.next = function(r) {
1050
- this.isStopped || this._next(r);
1051
- }, t.prototype.error = function(r) {
1052
- this.isStopped || (this.isStopped = !0, this._error(r));
1070
+ return t.create = function(n, r, i) {
1071
+ return new Ze(n, r, i);
1072
+ }, t.prototype.next = function(n) {
1073
+ this.isStopped || this._next(n);
1074
+ }, t.prototype.error = function(n) {
1075
+ this.isStopped || (this.isStopped = !0, this._error(n));
1053
1076
  }, t.prototype.complete = function() {
1054
1077
  this.isStopped || (this.isStopped = !0, this._complete());
1055
1078
  }, t.prototype.unsubscribe = function() {
1056
1079
  this.closed || (this.isStopped = !0, e.prototype.unsubscribe.call(this), this.destination = null);
1057
- }, t.prototype._next = function(r) {
1058
- this.destination.next(r);
1059
- }, t.prototype._error = function(r) {
1080
+ }, t.prototype._next = function(n) {
1081
+ this.destination.next(n);
1082
+ }, t.prototype._error = function(n) {
1060
1083
  try {
1061
- this.destination.error(r);
1084
+ this.destination.error(n);
1062
1085
  } finally {
1063
1086
  this.unsubscribe();
1064
1087
  }
@@ -1069,25 +1092,25 @@ var nr = function(e) {
1069
1092
  this.unsubscribe();
1070
1093
  }
1071
1094
  }, t;
1072
- }(Ae), vn = function() {
1095
+ }(Be), br = function() {
1073
1096
  function e(t) {
1074
1097
  this.partialObserver = t;
1075
1098
  }
1076
1099
  return e.prototype.next = function(t) {
1077
- var r = this.partialObserver;
1078
- if (r.next)
1100
+ var n = this.partialObserver;
1101
+ if (n.next)
1079
1102
  try {
1080
- r.next(t);
1081
- } catch (n) {
1082
- me(n);
1103
+ n.next(t);
1104
+ } catch (r) {
1105
+ me(r);
1083
1106
  }
1084
1107
  }, e.prototype.error = function(t) {
1085
- var r = this.partialObserver;
1086
- if (r.error)
1108
+ var n = this.partialObserver;
1109
+ if (n.error)
1087
1110
  try {
1088
- r.error(t);
1089
- } catch (n) {
1090
- me(n);
1111
+ n.error(t);
1112
+ } catch (r) {
1113
+ me(r);
1091
1114
  }
1092
1115
  else
1093
1116
  me(t);
@@ -1096,69 +1119,69 @@ var nr = function(e) {
1096
1119
  if (t.complete)
1097
1120
  try {
1098
1121
  t.complete();
1099
- } catch (r) {
1100
- me(r);
1122
+ } catch (n) {
1123
+ me(n);
1101
1124
  }
1102
1125
  }, e;
1103
- }(), Ye = function(e) {
1104
- ce(t, e);
1105
- function t(r, n, i) {
1126
+ }(), Ze = function(e) {
1127
+ $(t, e);
1128
+ function t(n, r, i) {
1106
1129
  var o = e.call(this) || this, s;
1107
- return $(r) || !r ? s = {
1108
- next: r != null ? r : void 0,
1109
- error: n != null ? n : void 0,
1130
+ return C(n) || !n ? s = {
1131
+ next: n != null ? n : void 0,
1132
+ error: r != null ? r : void 0,
1110
1133
  complete: i != null ? i : void 0
1111
- } : s = r, o.destination = new vn(s), o;
1134
+ } : s = n, o.destination = new br(s), o;
1112
1135
  }
1113
1136
  return t;
1114
- }(nr);
1137
+ }(Kt);
1115
1138
  function me(e) {
1116
- yn(e);
1139
+ mr(e);
1117
1140
  }
1118
- function _n(e) {
1141
+ function gr(e) {
1119
1142
  throw e;
1120
1143
  }
1121
- var En = {
1144
+ var yr = {
1122
1145
  closed: !0,
1123
- next: _t,
1124
- error: _n,
1125
- complete: _t
1126
- }, xn = function() {
1146
+ next: bt,
1147
+ error: gr,
1148
+ complete: bt
1149
+ }, _r = function() {
1127
1150
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
1128
1151
  }();
1129
- function Sn(e) {
1152
+ function vr(e) {
1130
1153
  return e;
1131
1154
  }
1132
- function Tn(e) {
1133
- return e.length === 0 ? Sn : e.length === 1 ? e[0] : function(r) {
1134
- return e.reduce(function(n, i) {
1135
- return i(n);
1136
- }, r);
1155
+ function xr(e) {
1156
+ return e.length === 0 ? vr : e.length === 1 ? e[0] : function(n) {
1157
+ return e.reduce(function(r, i) {
1158
+ return i(r);
1159
+ }, n);
1137
1160
  };
1138
1161
  }
1139
- var Et = function() {
1162
+ var gt = function() {
1140
1163
  function e(t) {
1141
1164
  t && (this._subscribe = t);
1142
1165
  }
1143
1166
  return e.prototype.lift = function(t) {
1144
- var r = new e();
1145
- return r.source = this, r.operator = t, r;
1146
- }, e.prototype.subscribe = function(t, r, n) {
1147
- var i = this, o = Hn(t) ? t : new Ye(t, r, n);
1148
- return ve(function() {
1167
+ var n = new e();
1168
+ return n.source = this, n.operator = t, n;
1169
+ }, e.prototype.subscribe = function(t, n, r) {
1170
+ var i = this, o = Sr(t) ? t : new Ze(t, n, r);
1171
+ return _e(function() {
1149
1172
  var s = i, a = s.operator, u = s.source;
1150
1173
  o.add(a ? a.call(o, u) : u ? i._subscribe(o) : i._trySubscribe(o));
1151
1174
  }), o;
1152
1175
  }, e.prototype._trySubscribe = function(t) {
1153
1176
  try {
1154
1177
  return this._subscribe(t);
1155
- } catch (r) {
1156
- t.error(r);
1178
+ } catch (n) {
1179
+ t.error(n);
1157
1180
  }
1158
- }, e.prototype.forEach = function(t, r) {
1159
- var n = this;
1160
- return r = xt(r), new r(function(i, o) {
1161
- var s = new Ye({
1181
+ }, e.prototype.forEach = function(t, n) {
1182
+ var r = this;
1183
+ return n = yt(n), new n(function(i, o) {
1184
+ var s = new Ze({
1162
1185
  next: function(a) {
1163
1186
  try {
1164
1187
  t(a);
@@ -1169,69 +1192,69 @@ var Et = function() {
1169
1192
  error: o,
1170
1193
  complete: i
1171
1194
  });
1172
- n.subscribe(s);
1195
+ r.subscribe(s);
1173
1196
  });
1174
1197
  }, e.prototype._subscribe = function(t) {
1175
- var r;
1176
- return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
1177
- }, e.prototype[xn] = function() {
1198
+ var n;
1199
+ return (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(t);
1200
+ }, e.prototype[_r] = function() {
1178
1201
  return this;
1179
1202
  }, e.prototype.pipe = function() {
1180
- for (var t = [], r = 0; r < arguments.length; r++)
1181
- t[r] = arguments[r];
1182
- return Tn(t)(this);
1203
+ for (var t = [], n = 0; n < arguments.length; n++)
1204
+ t[n] = arguments[n];
1205
+ return xr(t)(this);
1183
1206
  }, e.prototype.toPromise = function(t) {
1184
- var r = this;
1185
- return t = xt(t), new t(function(n, i) {
1207
+ var n = this;
1208
+ return t = yt(t), new t(function(r, i) {
1186
1209
  var o;
1187
- r.subscribe(function(s) {
1210
+ n.subscribe(function(s) {
1188
1211
  return o = s;
1189
1212
  }, function(s) {
1190
1213
  return i(s);
1191
1214
  }, function() {
1192
- return n(o);
1215
+ return r(o);
1193
1216
  });
1194
1217
  });
1195
1218
  }, e.create = function(t) {
1196
1219
  return new e(t);
1197
1220
  }, e;
1198
1221
  }();
1199
- function xt(e) {
1222
+ function yt(e) {
1200
1223
  var t;
1201
- return (t = e != null ? e : bn.Promise) !== null && t !== void 0 ? t : Promise;
1224
+ return (t = e != null ? e : dr.Promise) !== null && t !== void 0 ? t : Promise;
1202
1225
  }
1203
- function wn(e) {
1204
- return e && $(e.next) && $(e.error) && $(e.complete);
1226
+ function Er(e) {
1227
+ return e && C(e.next) && C(e.error) && C(e.complete);
1205
1228
  }
1206
- function Hn(e) {
1207
- return e && e instanceof nr || wn(e) && rr(e);
1229
+ function Sr(e) {
1230
+ return e && e instanceof Kt || Er(e) && Yt(e);
1208
1231
  }
1209
- var Bn = er(function(e) {
1232
+ var Tr = Qt(function(e) {
1210
1233
  return function() {
1211
1234
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
1212
1235
  };
1213
- }), ir = function(e) {
1214
- ce(t, e);
1236
+ }), en = function(e) {
1237
+ $(t, e);
1215
1238
  function t() {
1216
- var r = e.call(this) || this;
1217
- return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
1239
+ var n = e.call(this) || this;
1240
+ return n.closed = !1, n.currentObservers = null, n.observers = [], n.isStopped = !1, n.hasError = !1, n.thrownError = null, n;
1218
1241
  }
1219
- return t.prototype.lift = function(r) {
1220
- var n = new St(this, this);
1221
- return n.operator = r, n;
1242
+ return t.prototype.lift = function(n) {
1243
+ var r = new _t(this, this);
1244
+ return r.operator = n, r;
1222
1245
  }, t.prototype._throwIfClosed = function() {
1223
1246
  if (this.closed)
1224
- throw new Bn();
1225
- }, t.prototype.next = function(r) {
1226
- var n = this;
1227
- ve(function() {
1247
+ throw new Tr();
1248
+ }, t.prototype.next = function(n) {
1249
+ var r = this;
1250
+ _e(function() {
1228
1251
  var i, o;
1229
- if (n._throwIfClosed(), !n.isStopped) {
1230
- n.currentObservers || (n.currentObservers = Array.from(n.observers));
1252
+ if (r._throwIfClosed(), !r.isStopped) {
1253
+ r.currentObservers || (r.currentObservers = Array.from(r.observers));
1231
1254
  try {
1232
- for (var s = Ze(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
1255
+ for (var s = Xe(r.currentObservers), a = s.next(); !a.done; a = s.next()) {
1233
1256
  var u = a.value;
1234
- u.next(r);
1257
+ u.next(n);
1235
1258
  }
1236
1259
  } catch (h) {
1237
1260
  i = { error: h };
@@ -1245,118 +1268,118 @@ var Bn = er(function(e) {
1245
1268
  }
1246
1269
  }
1247
1270
  });
1248
- }, t.prototype.error = function(r) {
1249
- var n = this;
1250
- ve(function() {
1251
- if (n._throwIfClosed(), !n.isStopped) {
1252
- n.hasError = n.isStopped = !0, n.thrownError = r;
1253
- for (var i = n.observers; i.length; )
1254
- i.shift().error(r);
1271
+ }, t.prototype.error = function(n) {
1272
+ var r = this;
1273
+ _e(function() {
1274
+ if (r._throwIfClosed(), !r.isStopped) {
1275
+ r.hasError = r.isStopped = !0, r.thrownError = n;
1276
+ for (var i = r.observers; i.length; )
1277
+ i.shift().error(n);
1255
1278
  }
1256
1279
  });
1257
1280
  }, t.prototype.complete = function() {
1258
- var r = this;
1259
- ve(function() {
1260
- if (r._throwIfClosed(), !r.isStopped) {
1261
- r.isStopped = !0;
1262
- for (var n = r.observers; n.length; )
1263
- n.shift().complete();
1281
+ var n = this;
1282
+ _e(function() {
1283
+ if (n._throwIfClosed(), !n.isStopped) {
1284
+ n.isStopped = !0;
1285
+ for (var r = n.observers; r.length; )
1286
+ r.shift().complete();
1264
1287
  }
1265
1288
  });
1266
1289
  }, t.prototype.unsubscribe = function() {
1267
1290
  this.isStopped = this.closed = !0, this.observers = this.currentObservers = null;
1268
1291
  }, Object.defineProperty(t.prototype, "observed", {
1269
1292
  get: function() {
1270
- var r;
1271
- return ((r = this.observers) === null || r === void 0 ? void 0 : r.length) > 0;
1293
+ var n;
1294
+ return ((n = this.observers) === null || n === void 0 ? void 0 : n.length) > 0;
1272
1295
  },
1273
1296
  enumerable: !1,
1274
1297
  configurable: !0
1275
- }), t.prototype._trySubscribe = function(r) {
1276
- return this._throwIfClosed(), e.prototype._trySubscribe.call(this, r);
1277
- }, t.prototype._subscribe = function(r) {
1278
- return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
1279
- }, t.prototype._innerSubscribe = function(r) {
1280
- var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
1281
- return o || s ? tr : (this.currentObservers = null, a.push(r), new Ae(function() {
1282
- n.currentObservers = null, Je(a, r);
1298
+ }), t.prototype._trySubscribe = function(n) {
1299
+ return this._throwIfClosed(), e.prototype._trySubscribe.call(this, n);
1300
+ }, t.prototype._subscribe = function(n) {
1301
+ return this._throwIfClosed(), this._checkFinalizedStatuses(n), this._innerSubscribe(n);
1302
+ }, t.prototype._innerSubscribe = function(n) {
1303
+ var r = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
1304
+ return o || s ? Jt : (this.currentObservers = null, a.push(n), new Be(function() {
1305
+ r.currentObservers = null, ze(a, n);
1283
1306
  }));
1284
- }, t.prototype._checkFinalizedStatuses = function(r) {
1285
- var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
1286
- i ? r.error(o) : s && r.complete();
1307
+ }, t.prototype._checkFinalizedStatuses = function(n) {
1308
+ var r = this, i = r.hasError, o = r.thrownError, s = r.isStopped;
1309
+ i ? n.error(o) : s && n.complete();
1287
1310
  }, t.prototype.asObservable = function() {
1288
- var r = new Et();
1289
- return r.source = this, r;
1290
- }, t.create = function(r, n) {
1291
- return new St(r, n);
1311
+ var n = new gt();
1312
+ return n.source = this, n;
1313
+ }, t.create = function(n, r) {
1314
+ return new _t(n, r);
1292
1315
  }, t;
1293
- }(Et), St = function(e) {
1294
- ce(t, e);
1295
- function t(r, n) {
1316
+ }(gt), _t = function(e) {
1317
+ $(t, e);
1318
+ function t(n, r) {
1296
1319
  var i = e.call(this) || this;
1297
- return i.destination = r, i.source = n, i;
1320
+ return i.destination = n, i.source = r, i;
1298
1321
  }
1299
- return t.prototype.next = function(r) {
1300
- var n, i;
1301
- (i = (n = this.destination) === null || n === void 0 ? void 0 : n.next) === null || i === void 0 || i.call(n, r);
1302
- }, t.prototype.error = function(r) {
1303
- var n, i;
1304
- (i = (n = this.destination) === null || n === void 0 ? void 0 : n.error) === null || i === void 0 || i.call(n, r);
1322
+ return t.prototype.next = function(n) {
1323
+ var r, i;
1324
+ (i = (r = this.destination) === null || r === void 0 ? void 0 : r.next) === null || i === void 0 || i.call(r, n);
1325
+ }, t.prototype.error = function(n) {
1326
+ var r, i;
1327
+ (i = (r = this.destination) === null || r === void 0 ? void 0 : r.error) === null || i === void 0 || i.call(r, n);
1305
1328
  }, t.prototype.complete = function() {
1306
- var r, n;
1307
- (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1308
- }, t.prototype._subscribe = function(r) {
1309
- var n, i;
1310
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : tr;
1329
+ var n, r;
1330
+ (r = (n = this.destination) === null || n === void 0 ? void 0 : n.complete) === null || r === void 0 || r.call(n);
1331
+ }, t.prototype._subscribe = function(n) {
1332
+ var r, i;
1333
+ return (i = (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(n)) !== null && i !== void 0 ? i : Jt;
1311
1334
  }, t;
1312
- }(ir), or = {
1335
+ }(en), tn = {
1313
1336
  now: function() {
1314
- return (or.delegate || Date).now();
1337
+ return (tn.delegate || Date).now();
1315
1338
  },
1316
1339
  delegate: void 0
1317
- }, An = function(e) {
1318
- ce(t, e);
1319
- function t(r, n, i) {
1320
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = or);
1340
+ }, wr = function(e) {
1341
+ $(t, e);
1342
+ function t(n, r, i) {
1343
+ n === void 0 && (n = 1 / 0), r === void 0 && (r = 1 / 0), i === void 0 && (i = tn);
1321
1344
  var o = e.call(this) || this;
1322
- 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;
1345
+ return o._bufferSize = n, o._windowTime = r, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = r === 1 / 0, o._bufferSize = Math.max(1, n), o._windowTime = Math.max(1, r), o;
1323
1346
  }
1324
- return t.prototype.next = function(r) {
1325
- var n = this, i = n.isStopped, o = n._buffer, s = n._infiniteTimeWindow, a = n._timestampProvider, u = n._windowTime;
1326
- i || (o.push(r), !s && o.push(a.now() + u)), this._trimBuffer(), e.prototype.next.call(this, r);
1327
- }, t.prototype._subscribe = function(r) {
1347
+ return t.prototype.next = function(n) {
1348
+ var r = this, i = r.isStopped, o = r._buffer, s = r._infiniteTimeWindow, a = r._timestampProvider, u = r._windowTime;
1349
+ i || (o.push(n), !s && o.push(a.now() + u)), this._trimBuffer(), e.prototype.next.call(this, n);
1350
+ }, t.prototype._subscribe = function(n) {
1328
1351
  this._throwIfClosed(), this._trimBuffer();
1329
- for (var n = this._innerSubscribe(r), i = this, o = i._infiniteTimeWindow, s = i._buffer, a = s.slice(), u = 0; u < a.length && !r.closed; u += o ? 1 : 2)
1330
- r.next(a[u]);
1331
- return this._checkFinalizedStatuses(r), n;
1352
+ for (var r = this._innerSubscribe(n), i = this, o = i._infiniteTimeWindow, s = i._buffer, a = s.slice(), u = 0; u < a.length && !n.closed; u += o ? 1 : 2)
1353
+ n.next(a[u]);
1354
+ return this._checkFinalizedStatuses(n), r;
1332
1355
  }, t.prototype._trimBuffer = function() {
1333
- var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, s = r._infiniteTimeWindow, a = (s ? 1 : 2) * n;
1334
- if (n < 1 / 0 && a < o.length && o.splice(0, o.length - a), !s) {
1356
+ var n = this, r = n._bufferSize, i = n._timestampProvider, o = n._buffer, s = n._infiniteTimeWindow, a = (s ? 1 : 2) * r;
1357
+ if (r < 1 / 0 && a < o.length && o.splice(0, o.length - a), !s) {
1335
1358
  for (var u = i.now(), h = 0, l = 1; l < o.length && o[l] <= u; l += 2)
1336
1359
  h = l;
1337
1360
  h && o.splice(0, h + 1);
1338
1361
  }
1339
1362
  }, t;
1340
- }(ir);
1341
- const Tt = [], wt = {}, Pn = (e, t = 0) => {
1342
- if (Tt.indexOf(e) == -1) {
1343
- const r = new An(t);
1344
- wt[e] = r, Tt.push(e);
1363
+ }(en);
1364
+ const vt = [], xt = {}, Hr = (e, t = 0) => {
1365
+ if (vt.indexOf(e) == -1) {
1366
+ const n = new wr(t);
1367
+ xt[e] = n, vt.push(e);
1345
1368
  }
1346
- return wt[e];
1369
+ return xt[e];
1347
1370
  }, V = [];
1348
- function On(e, t) {
1371
+ function Br(e, t) {
1349
1372
  return {
1350
- subscribe: Pe(e, t).subscribe
1373
+ subscribe: Ae(e, t).subscribe
1351
1374
  };
1352
1375
  }
1353
- function Pe(e, t = B) {
1354
- let r;
1355
- const n = /* @__PURE__ */ new Set();
1376
+ function Ae(e, t = B) {
1377
+ let n;
1378
+ const r = /* @__PURE__ */ new Set();
1356
1379
  function i(a) {
1357
- if (kt(e, a) && (e = a, r)) {
1380
+ if (Dt(e, a) && (e = a, n)) {
1358
1381
  const u = !V.length;
1359
- for (const h of n)
1382
+ for (const h of r)
1360
1383
  h[1](), V.push(h, e);
1361
1384
  if (u) {
1362
1385
  for (let h = 0; h < V.length; h += 2)
@@ -1370,191 +1393,152 @@ function Pe(e, t = B) {
1370
1393
  }
1371
1394
  function s(a, u = B) {
1372
1395
  const h = [a, u];
1373
- return n.add(h), n.size === 1 && (r = t(i, o) || B), a(e), () => {
1374
- n.delete(h), n.size === 0 && r && (r(), r = null);
1396
+ return r.add(h), r.size === 1 && (n = t(i, o) || B), a(e), () => {
1397
+ r.delete(h), r.size === 0 && n && (n(), n = null);
1375
1398
  };
1376
1399
  }
1377
1400
  return { set: i, update: o, subscribe: s };
1378
1401
  }
1379
- function ee(e, t, r) {
1380
- const n = !Array.isArray(e), i = n ? [e] : e;
1402
+ function te(e, t, n) {
1403
+ const r = !Array.isArray(e), i = r ? [e] : e;
1381
1404
  if (!i.every(Boolean))
1382
1405
  throw new Error("derived() expects stores as input, got a falsy value");
1383
1406
  const o = t.length < 2;
1384
- return On(r, (s, a) => {
1407
+ return Br(n, (s, a) => {
1385
1408
  let u = !1;
1386
1409
  const h = [];
1387
- let l = 0, f = B;
1388
- const c = () => {
1410
+ let l = 0, c = B;
1411
+ const f = () => {
1389
1412
  if (l)
1390
1413
  return;
1391
- f();
1392
- const p = t(n ? h[0] : h, s, a);
1393
- o ? s(p) : f = he(p) ? p : B;
1394
- }, d = i.map(
1395
- (p, m) => Vt(
1396
- p,
1397
- (_) => {
1398
- h[m] = _, l &= ~(1 << m), u && c();
1414
+ c();
1415
+ const d = t(r ? h[0] : h, s, a);
1416
+ o ? s(d) : c = le(d) ? d : B;
1417
+ }, p = i.map(
1418
+ (d, m) => Gt(
1419
+ d,
1420
+ (x) => {
1421
+ h[m] = x, l &= ~(1 << m), u && f();
1399
1422
  },
1400
1423
  () => {
1401
1424
  l |= 1 << m;
1402
1425
  }
1403
1426
  )
1404
1427
  );
1405
- return u = !0, c(), function() {
1406
- F(d), f(), u = !1;
1428
+ return u = !0, f(), function() {
1429
+ F(p), c(), u = !1;
1407
1430
  };
1408
1431
  });
1409
1432
  }
1410
- var es = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
1411
- function In(e) {
1433
+ var Qo = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
1434
+ function Ar(e) {
1412
1435
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1413
1436
  }
1414
- var Ln = function(t) {
1415
- return Nn(t) && !Mn(t);
1437
+ var Pr = function(t) {
1438
+ return Or(t) && !Ir(t);
1416
1439
  };
1417
- function Nn(e) {
1440
+ function Or(e) {
1418
1441
  return !!e && typeof e == "object";
1419
1442
  }
1420
- function Mn(e) {
1443
+ function Ir(e) {
1421
1444
  var t = Object.prototype.toString.call(e);
1422
- return t === "[object RegExp]" || t === "[object Date]" || Rn(e);
1445
+ return t === "[object RegExp]" || t === "[object Date]" || Mr(e);
1423
1446
  }
1424
- var Cn = typeof Symbol == "function" && Symbol.for, $n = Cn ? Symbol.for("react.element") : 60103;
1425
- function Rn(e) {
1426
- return e.$$typeof === $n;
1447
+ var Lr = typeof Symbol == "function" && Symbol.for, Nr = Lr ? Symbol.for("react.element") : 60103;
1448
+ function Mr(e) {
1449
+ return e.$$typeof === Nr;
1427
1450
  }
1428
- function Un(e) {
1451
+ function Cr(e) {
1429
1452
  return Array.isArray(e) ? [] : {};
1430
1453
  }
1431
- function ae(e, t) {
1432
- return t.clone !== !1 && t.isMergeableObject(e) ? q(Un(e), e, t) : e;
1454
+ function ue(e, t) {
1455
+ return t.clone !== !1 && t.isMergeableObject(e) ? Q(Cr(e), e, t) : e;
1433
1456
  }
1434
- function Dn(e, t, r) {
1435
- return e.concat(t).map(function(n) {
1436
- return ae(n, r);
1457
+ function $r(e, t, n) {
1458
+ return e.concat(t).map(function(r) {
1459
+ return ue(r, n);
1437
1460
  });
1438
1461
  }
1439
- function Gn(e, t) {
1462
+ function Rr(e, t) {
1440
1463
  if (!t.customMerge)
1441
- return q;
1442
- var r = t.customMerge(e);
1443
- return typeof r == "function" ? r : q;
1464
+ return Q;
1465
+ var n = t.customMerge(e);
1466
+ return typeof n == "function" ? n : Q;
1444
1467
  }
1445
- function Fn(e) {
1468
+ function Ur(e) {
1446
1469
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1447
1470
  return Object.propertyIsEnumerable.call(e, t);
1448
1471
  }) : [];
1449
1472
  }
1450
- function Ht(e) {
1451
- return Object.keys(e).concat(Fn(e));
1473
+ function Et(e) {
1474
+ return Object.keys(e).concat(Ur(e));
1452
1475
  }
1453
- function sr(e, t) {
1476
+ function nn(e, t) {
1454
1477
  try {
1455
1478
  return t in e;
1456
- } catch (r) {
1479
+ } catch (n) {
1457
1480
  return !1;
1458
1481
  }
1459
1482
  }
1460
- function jn(e, t) {
1461
- return sr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1483
+ function Dr(e, t) {
1484
+ return nn(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1462
1485
  }
1463
- function kn(e, t, r) {
1464
- var n = {};
1465
- return r.isMergeableObject(e) && Ht(e).forEach(function(i) {
1466
- n[i] = ae(e[i], r);
1467
- }), Ht(t).forEach(function(i) {
1468
- jn(e, i) || (sr(e, i) && r.isMergeableObject(t[i]) ? n[i] = Gn(i, r)(e[i], t[i], r) : n[i] = ae(t[i], r));
1469
- }), n;
1470
- }
1471
- function q(e, t, r) {
1472
- r = r || {}, r.arrayMerge = r.arrayMerge || Dn, r.isMergeableObject = r.isMergeableObject || Ln, r.cloneUnlessOtherwiseSpecified = ae;
1473
- var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1474
- return o ? n ? r.arrayMerge(e, t, r) : kn(e, t, r) : ae(t, r);
1475
- }
1476
- q.all = function(t, r) {
1486
+ function Gr(e, t, n) {
1487
+ var r = {};
1488
+ return n.isMergeableObject(e) && Et(e).forEach(function(i) {
1489
+ r[i] = ue(e[i], n);
1490
+ }), Et(t).forEach(function(i) {
1491
+ Dr(e, i) || (nn(e, i) && n.isMergeableObject(t[i]) ? r[i] = Rr(i, n)(e[i], t[i], n) : r[i] = ue(t[i], n));
1492
+ }), r;
1493
+ }
1494
+ function Q(e, t, n) {
1495
+ n = n || {}, n.arrayMerge = n.arrayMerge || $r, n.isMergeableObject = n.isMergeableObject || Pr, n.cloneUnlessOtherwiseSpecified = ue;
1496
+ var r = Array.isArray(t), i = Array.isArray(e), o = r === i;
1497
+ return o ? r ? n.arrayMerge(e, t, n) : Gr(e, t, n) : ue(t, n);
1498
+ }
1499
+ Q.all = function(t, n) {
1477
1500
  if (!Array.isArray(t))
1478
1501
  throw new Error("first argument should be an array");
1479
- return t.reduce(function(n, i) {
1480
- return q(n, i, r);
1502
+ return t.reduce(function(r, i) {
1503
+ return Q(r, i, n);
1481
1504
  }, {});
1482
1505
  };
1483
- var Vn = q, Xn = Vn;
1484
- const Wn = /* @__PURE__ */ In(Xn);
1485
- var Ke = function(e, t) {
1486
- return Ke = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1487
- r.__proto__ = n;
1488
- } || function(r, n) {
1489
- for (var i in n)
1490
- Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1491
- }, Ke(e, t);
1492
- };
1493
- function Oe(e, t) {
1494
- if (typeof t != "function" && t !== null)
1495
- throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1496
- Ke(e, t);
1497
- function r() {
1498
- this.constructor = e;
1499
- }
1500
- e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1501
- }
1502
- var M = function() {
1503
- return M = Object.assign || function(t) {
1504
- for (var r, n = 1, i = arguments.length; n < i; n++) {
1505
- r = arguments[n];
1506
- for (var o in r)
1507
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1508
- }
1509
- return t;
1510
- }, M.apply(this, arguments);
1511
- };
1512
- function zn(e, t) {
1513
- var r = {};
1514
- for (var n in e)
1515
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
1516
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
1517
- for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
1518
- t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1519
- return r;
1520
- }
1521
- function De(e, t, r) {
1522
- if (r || arguments.length === 2)
1523
- for (var n = 0, i = t.length, o; n < i; n++)
1524
- (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1525
- return e.concat(o || Array.prototype.slice.call(t));
1526
- }
1527
- function Ge(e, t) {
1528
- var r = t && t.cache ? t.cache : ei, n = t && t.serializer ? t.serializer : Yn, i = t && t.strategy ? t.strategy : Qn;
1506
+ var Fr = Q, jr = Fr;
1507
+ const kr = /* @__PURE__ */ Ar(jr);
1508
+ function Re(e, t) {
1509
+ var n = t && t.cache ? t.cache : Qr, r = t && t.serializer ? t.serializer : Zr, i = t && t.strategy ? t.strategy : Xr;
1529
1510
  return i(e, {
1530
- cache: r,
1531
- serializer: n
1511
+ cache: n,
1512
+ serializer: r
1532
1513
  });
1533
1514
  }
1534
- function Zn(e) {
1515
+ function Vr(e) {
1535
1516
  return e == null || typeof e == "number" || typeof e == "boolean";
1536
1517
  }
1537
- function qn(e, t, r, n) {
1538
- var i = Zn(n) ? n : r(n), o = t.get(i);
1539
- return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
1518
+ function rn(e, t, n, r) {
1519
+ var i = Vr(r) ? r : n(r), o = t.get(i);
1520
+ return typeof o == "undefined" && (o = e.call(this, r), t.set(i, o)), o;
1540
1521
  }
1541
- function ar(e, t, r) {
1542
- var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1543
- return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
1522
+ function on(e, t, n) {
1523
+ var r = Array.prototype.slice.call(arguments, 3), i = n(r), o = t.get(i);
1524
+ return typeof o == "undefined" && (o = e.apply(this, r), t.set(i, o)), o;
1544
1525
  }
1545
- function ur(e, t, r, n, i) {
1546
- return r.bind(t, e, n, i);
1526
+ function ot(e, t, n, r, i) {
1527
+ return n.bind(t, e, r, i);
1547
1528
  }
1548
- function Qn(e, t) {
1549
- var r = e.length === 1 ? qn : ar;
1550
- return ur(e, this, r, t.cache.create(), t.serializer);
1529
+ function Xr(e, t) {
1530
+ var n = e.length === 1 ? rn : on;
1531
+ return ot(e, this, n, t.cache.create(), t.serializer);
1551
1532
  }
1552
- function Jn(e, t) {
1553
- return ur(e, this, ar, t.cache.create(), t.serializer);
1533
+ function Wr(e, t) {
1534
+ return ot(e, this, on, t.cache.create(), t.serializer);
1554
1535
  }
1555
- var Yn = function() {
1536
+ function zr(e, t) {
1537
+ return ot(e, this, rn, t.cache.create(), t.serializer);
1538
+ }
1539
+ var Zr = function() {
1556
1540
  return JSON.stringify(arguments);
1557
- }, Kn = (
1541
+ }, qr = (
1558
1542
  /** @class */
1559
1543
  function() {
1560
1544
  function e() {
@@ -1562,27 +1546,18 @@ var Yn = function() {
1562
1546
  }
1563
1547
  return e.prototype.get = function(t) {
1564
1548
  return this.cache[t];
1565
- }, e.prototype.set = function(t, r) {
1566
- this.cache[t] = r;
1549
+ }, e.prototype.set = function(t, n) {
1550
+ this.cache[t] = n;
1567
1551
  }, e;
1568
1552
  }()
1569
- ), ei = {
1553
+ ), Qr = {
1570
1554
  create: function() {
1571
- return new Kn();
1555
+ return new qr();
1572
1556
  }
1573
- }, Fe = {
1574
- variadic: Jn
1575
- }, we = function() {
1576
- return we = Object.assign || function(t) {
1577
- for (var r, n = 1, i = arguments.length; n < i; n++) {
1578
- r = arguments[n];
1579
- for (var o in r)
1580
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1581
- }
1582
- return t;
1583
- }, we.apply(this, arguments);
1584
- };
1585
- var b;
1557
+ }, Ue = {
1558
+ variadic: Wr,
1559
+ monadic: zr
1560
+ }, b;
1586
1561
  (function(e) {
1587
1562
  e[e.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", e[e.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", e[e.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", e[e.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", e[e.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", e[e.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", e[e.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", e[e.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", e[e.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", e[e.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", e[e.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", e[e.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", e[e.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", e[e.INVALID_TAG = 23] = "INVALID_TAG", e[e.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", e[e.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", e[e.UNCLOSED_TAG = 27] = "UNCLOSED_TAG";
1588
1563
  })(b || (b = {}));
@@ -1590,54 +1565,54 @@ var v;
1590
1565
  (function(e) {
1591
1566
  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";
1592
1567
  })(v || (v = {}));
1593
- var Q;
1568
+ var J;
1594
1569
  (function(e) {
1595
1570
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1596
- })(Q || (Q = {}));
1597
- function Bt(e) {
1571
+ })(J || (J = {}));
1572
+ function St(e) {
1598
1573
  return e.type === v.literal;
1599
1574
  }
1600
- function ti(e) {
1575
+ function Jr(e) {
1601
1576
  return e.type === v.argument;
1602
1577
  }
1603
- function hr(e) {
1578
+ function sn(e) {
1604
1579
  return e.type === v.number;
1605
1580
  }
1606
- function lr(e) {
1581
+ function an(e) {
1607
1582
  return e.type === v.date;
1608
1583
  }
1609
- function cr(e) {
1584
+ function un(e) {
1610
1585
  return e.type === v.time;
1611
1586
  }
1612
- function fr(e) {
1587
+ function hn(e) {
1613
1588
  return e.type === v.select;
1614
1589
  }
1615
- function pr(e) {
1590
+ function ln(e) {
1616
1591
  return e.type === v.plural;
1617
1592
  }
1618
- function ri(e) {
1593
+ function Yr(e) {
1619
1594
  return e.type === v.pound;
1620
1595
  }
1621
- function dr(e) {
1596
+ function fn(e) {
1622
1597
  return e.type === v.tag;
1623
1598
  }
1624
- function mr(e) {
1625
- return !!(e && typeof e == "object" && e.type === Q.number);
1599
+ function cn(e) {
1600
+ return !!(e && typeof e == "object" && e.type === J.number);
1626
1601
  }
1627
- function et(e) {
1628
- return !!(e && typeof e == "object" && e.type === Q.dateTime);
1602
+ function qe(e) {
1603
+ return !!(e && typeof e == "object" && e.type === J.dateTime);
1629
1604
  }
1630
- var br = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, ni = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1631
- function ii(e) {
1605
+ var dn = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Kr = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1606
+ function ei(e) {
1632
1607
  var t = {};
1633
- return e.replace(ni, function(r) {
1634
- var n = r.length;
1635
- switch (r[0]) {
1608
+ return e.replace(Kr, function(n) {
1609
+ var r = n.length;
1610
+ switch (n[0]) {
1636
1611
  case "G":
1637
- t.era = n === 4 ? "long" : n === 5 ? "narrow" : "short";
1612
+ t.era = r === 4 ? "long" : r === 5 ? "narrow" : "short";
1638
1613
  break;
1639
1614
  case "y":
1640
- t.year = n === 2 ? "2-digit" : "numeric";
1615
+ t.year = r === 2 ? "2-digit" : "numeric";
1641
1616
  break;
1642
1617
  case "Y":
1643
1618
  case "u":
@@ -1649,30 +1624,30 @@ function ii(e) {
1649
1624
  throw new RangeError("`q/Q` (quarter) patterns are not supported");
1650
1625
  case "M":
1651
1626
  case "L":
1652
- t.month = ["numeric", "2-digit", "short", "long", "narrow"][n - 1];
1627
+ t.month = ["numeric", "2-digit", "short", "long", "narrow"][r - 1];
1653
1628
  break;
1654
1629
  case "w":
1655
1630
  case "W":
1656
1631
  throw new RangeError("`w/W` (week) patterns are not supported");
1657
1632
  case "d":
1658
- t.day = ["numeric", "2-digit"][n - 1];
1633
+ t.day = ["numeric", "2-digit"][r - 1];
1659
1634
  break;
1660
1635
  case "D":
1661
1636
  case "F":
1662
1637
  case "g":
1663
1638
  throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");
1664
1639
  case "E":
1665
- t.weekday = n === 4 ? "long" : n === 5 ? "narrow" : "short";
1640
+ t.weekday = r === 4 ? "long" : r === 5 ? "narrow" : "short";
1666
1641
  break;
1667
1642
  case "e":
1668
- if (n < 4)
1643
+ if (r < 4)
1669
1644
  throw new RangeError("`e..eee` (weekday) patterns are not supported");
1670
- t.weekday = ["short", "long", "narrow", "short"][n - 4];
1645
+ t.weekday = ["short", "long", "narrow", "short"][r - 4];
1671
1646
  break;
1672
1647
  case "c":
1673
- if (n < 4)
1648
+ if (r < 4)
1674
1649
  throw new RangeError("`c..ccc` (weekday) patterns are not supported");
1675
- t.weekday = ["short", "long", "narrow", "short"][n - 4];
1650
+ t.weekday = ["short", "long", "narrow", "short"][r - 4];
1676
1651
  break;
1677
1652
  case "a":
1678
1653
  t.hour12 = !0;
@@ -1681,32 +1656,32 @@ function ii(e) {
1681
1656
  case "B":
1682
1657
  throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");
1683
1658
  case "h":
1684
- t.hourCycle = "h12", t.hour = ["numeric", "2-digit"][n - 1];
1659
+ t.hourCycle = "h12", t.hour = ["numeric", "2-digit"][r - 1];
1685
1660
  break;
1686
1661
  case "H":
1687
- t.hourCycle = "h23", t.hour = ["numeric", "2-digit"][n - 1];
1662
+ t.hourCycle = "h23", t.hour = ["numeric", "2-digit"][r - 1];
1688
1663
  break;
1689
1664
  case "K":
1690
- t.hourCycle = "h11", t.hour = ["numeric", "2-digit"][n - 1];
1665
+ t.hourCycle = "h11", t.hour = ["numeric", "2-digit"][r - 1];
1691
1666
  break;
1692
1667
  case "k":
1693
- t.hourCycle = "h24", t.hour = ["numeric", "2-digit"][n - 1];
1668
+ t.hourCycle = "h24", t.hour = ["numeric", "2-digit"][r - 1];
1694
1669
  break;
1695
1670
  case "j":
1696
1671
  case "J":
1697
1672
  case "C":
1698
1673
  throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");
1699
1674
  case "m":
1700
- t.minute = ["numeric", "2-digit"][n - 1];
1675
+ t.minute = ["numeric", "2-digit"][r - 1];
1701
1676
  break;
1702
1677
  case "s":
1703
- t.second = ["numeric", "2-digit"][n - 1];
1678
+ t.second = ["numeric", "2-digit"][r - 1];
1704
1679
  break;
1705
1680
  case "S":
1706
1681
  case "A":
1707
1682
  throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");
1708
1683
  case "z":
1709
- t.timeZoneName = n < 4 ? "short" : "long";
1684
+ t.timeZoneName = r < 4 ? "short" : "long";
1710
1685
  break;
1711
1686
  case "Z":
1712
1687
  case "O":
@@ -1719,46 +1694,36 @@ function ii(e) {
1719
1694
  return "";
1720
1695
  }), t;
1721
1696
  }
1722
- var E = function() {
1723
- return E = Object.assign || function(t) {
1724
- for (var r, n = 1, i = arguments.length; n < i; n++) {
1725
- r = arguments[n];
1726
- for (var o in r)
1727
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1728
- }
1729
- return t;
1730
- }, E.apply(this, arguments);
1731
- };
1732
- var oi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1733
- function si(e) {
1697
+ var ti = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1698
+ function ni(e) {
1734
1699
  if (e.length === 0)
1735
1700
  throw new Error("Number skeleton cannot be empty");
1736
- for (var t = e.split(oi).filter(function(c) {
1737
- return c.length > 0;
1738
- }), r = [], n = 0, i = t; n < i.length; n++) {
1739
- var o = i[n], s = o.split("/");
1701
+ for (var t = e.split(ti).filter(function(f) {
1702
+ return f.length > 0;
1703
+ }), n = [], r = 0, i = t; r < i.length; r++) {
1704
+ var o = i[r], s = o.split("/");
1740
1705
  if (s.length === 0)
1741
1706
  throw new Error("Invalid number skeleton");
1742
1707
  for (var a = s[0], u = s.slice(1), h = 0, l = u; h < l.length; h++) {
1743
- var f = l[h];
1744
- if (f.length === 0)
1708
+ var c = l[h];
1709
+ if (c.length === 0)
1745
1710
  throw new Error("Invalid number skeleton");
1746
1711
  }
1747
- r.push({ stem: a, options: u });
1712
+ n.push({ stem: a, options: u });
1748
1713
  }
1749
- return r;
1714
+ return n;
1750
1715
  }
1751
- function ai(e) {
1716
+ function ri(e) {
1752
1717
  return e.replace(/^(.*?)-/, "");
1753
1718
  }
1754
- var At = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, gr = /^(@+)?(\+|#+)?[rs]?$/g, ui = /(\*)(0+)|(#+)(0+)|(0+)/g, yr = /^(0+)$/;
1755
- function Pt(e) {
1719
+ var Tt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, pn = /^(@+)?(\+|#+)?[rs]?$/g, ii = /(\*)(0+)|(#+)(0+)|(0+)/g, mn = /^(0+)$/;
1720
+ function wt(e) {
1756
1721
  var t = {};
1757
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(gr, function(r, n, i) {
1758
- return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
1722
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(pn, function(n, r, i) {
1723
+ return typeof i != "string" ? (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length) : i === "+" ? t.minimumSignificantDigits = r.length : r[0] === "#" ? t.maximumSignificantDigits = r.length : (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length + (typeof i == "string" ? i.length : 0)), "";
1759
1724
  }), t;
1760
1725
  }
1761
- function vr(e) {
1726
+ function bn(e) {
1762
1727
  switch (e) {
1763
1728
  case "sign-auto":
1764
1729
  return {
@@ -1798,27 +1763,27 @@ function vr(e) {
1798
1763
  };
1799
1764
  }
1800
1765
  }
1801
- function hi(e) {
1766
+ function oi(e) {
1802
1767
  var t;
1803
1768
  if (e[0] === "E" && e[1] === "E" ? (t = {
1804
1769
  notation: "engineering"
1805
1770
  }, e = e.slice(2)) : e[0] === "E" && (t = {
1806
1771
  notation: "scientific"
1807
1772
  }, e = e.slice(1)), t) {
1808
- var r = e.slice(0, 2);
1809
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !yr.test(e))
1773
+ var n = e.slice(0, 2);
1774
+ if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !mn.test(e))
1810
1775
  throw new Error("Malformed concise eng/scientific notation");
1811
1776
  t.minimumIntegerDigits = e.length;
1812
1777
  }
1813
1778
  return t;
1814
1779
  }
1815
- function Ot(e) {
1816
- var t = {}, r = vr(e);
1817
- return r || t;
1780
+ function Ht(e) {
1781
+ var t = {}, n = bn(e);
1782
+ return n || t;
1818
1783
  }
1819
- function li(e) {
1820
- for (var t = {}, r = 0, n = e; r < n.length; r++) {
1821
- var i = n[r];
1784
+ function si(e) {
1785
+ for (var t = {}, n = 0, r = e; n < r.length; n++) {
1786
+ var i = r[n];
1822
1787
  switch (i.stem) {
1823
1788
  case "percent":
1824
1789
  case "%":
@@ -1840,7 +1805,7 @@ function li(e) {
1840
1805
  continue;
1841
1806
  case "measure-unit":
1842
1807
  case "unit":
1843
- t.style = "unit", t.unit = ai(i.options[0]);
1808
+ t.style = "unit", t.unit = ri(i.options[0]);
1844
1809
  continue;
1845
1810
  case "compact-short":
1846
1811
  case "K":
@@ -1851,13 +1816,13 @@ function li(e) {
1851
1816
  t.notation = "compact", t.compactDisplay = "long";
1852
1817
  continue;
1853
1818
  case "scientific":
1854
- t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(u, h) {
1855
- return E(E({}, u), Ot(h));
1819
+ t = y(y(y({}, t), { notation: "scientific" }), i.options.reduce(function(u, h) {
1820
+ return y(y({}, u), Ht(h));
1856
1821
  }, {}));
1857
1822
  continue;
1858
1823
  case "engineering":
1859
- t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(u, h) {
1860
- return E(E({}, u), Ot(h));
1824
+ t = y(y(y({}, t), { notation: "engineering" }), i.options.reduce(function(u, h) {
1825
+ return y(y({}, u), Ht(h));
1861
1826
  }, {}));
1862
1827
  continue;
1863
1828
  case "notation-simple":
@@ -1902,41 +1867,41 @@ function li(e) {
1902
1867
  case "integer-width":
1903
1868
  if (i.options.length > 1)
1904
1869
  throw new RangeError("integer-width stems only accept a single optional option");
1905
- i.options[0].replace(ui, function(u, h, l, f, c, d) {
1870
+ i.options[0].replace(ii, function(u, h, l, c, f, p) {
1906
1871
  if (h)
1907
1872
  t.minimumIntegerDigits = l.length;
1908
1873
  else {
1909
- if (f && c)
1874
+ if (c && f)
1910
1875
  throw new Error("We currently do not support maximum integer digits");
1911
- if (d)
1876
+ if (p)
1912
1877
  throw new Error("We currently do not support exact integer digits");
1913
1878
  }
1914
1879
  return "";
1915
1880
  });
1916
1881
  continue;
1917
1882
  }
1918
- if (yr.test(i.stem)) {
1883
+ if (mn.test(i.stem)) {
1919
1884
  t.minimumIntegerDigits = i.stem.length;
1920
1885
  continue;
1921
1886
  }
1922
- if (At.test(i.stem)) {
1887
+ if (Tt.test(i.stem)) {
1923
1888
  if (i.options.length > 1)
1924
1889
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1925
- i.stem.replace(At, function(u, h, l, f, c, d) {
1926
- return l === "*" ? t.minimumFractionDigits = h.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && d ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + d.length) : (t.minimumFractionDigits = h.length, t.maximumFractionDigits = h.length), "";
1890
+ i.stem.replace(Tt, function(u, h, l, c, f, p) {
1891
+ return l === "*" ? t.minimumFractionDigits = h.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = h.length, t.maximumFractionDigits = h.length), "";
1927
1892
  });
1928
1893
  var o = i.options[0];
1929
- o === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = E(E({}, t), Pt(o)));
1894
+ o === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = y(y({}, t), wt(o)));
1930
1895
  continue;
1931
1896
  }
1932
- if (gr.test(i.stem)) {
1933
- t = E(E({}, t), Pt(i.stem));
1897
+ if (pn.test(i.stem)) {
1898
+ t = y(y({}, t), wt(i.stem));
1934
1899
  continue;
1935
1900
  }
1936
- var s = vr(i.stem);
1937
- s && (t = E(E({}, t), s));
1938
- var a = hi(i.stem);
1939
- a && (t = E(E({}, t), a));
1901
+ var s = bn(i.stem);
1902
+ s && (t = y(y({}, t), s));
1903
+ var a = oi(i.stem);
1904
+ a && (t = y(y({}, t), a));
1940
1905
  }
1941
1906
  return t;
1942
1907
  }
@@ -3355,23 +3320,23 @@ var be = {
3355
3320
  "h"
3356
3321
  ]
3357
3322
  };
3358
- function ci(e, t) {
3359
- for (var r = "", n = 0; n < e.length; n++) {
3360
- var i = e.charAt(n);
3323
+ function ai(e, t) {
3324
+ for (var n = "", r = 0; r < e.length; r++) {
3325
+ var i = e.charAt(r);
3361
3326
  if (i === "j") {
3362
- for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3363
- o++, n++;
3364
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", h = fi(t);
3327
+ for (var o = 0; r + 1 < e.length && e.charAt(r + 1) === i; )
3328
+ o++, r++;
3329
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", h = ui(t);
3365
3330
  for ((h == "H" || h == "k") && (a = 0); a-- > 0; )
3366
- r += u;
3331
+ n += u;
3367
3332
  for (; s-- > 0; )
3368
- r = h + r;
3333
+ n = h + n;
3369
3334
  } else
3370
- i === "J" ? r += "H" : r += i;
3335
+ i === "J" ? n += "H" : n += i;
3371
3336
  }
3372
- return r;
3337
+ return n;
3373
3338
  }
3374
- function fi(e) {
3339
+ function ui(e) {
3375
3340
  var t = e.hourCycle;
3376
3341
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3377
3342
  e.hourCycles && // @ts-ignore
@@ -3388,73 +3353,73 @@ function fi(e) {
3388
3353
  default:
3389
3354
  throw new Error("Invalid hourCycle");
3390
3355
  }
3391
- var r = e.language, n;
3392
- r !== "root" && (n = e.maximize().region);
3393
- var i = be[n || ""] || be[r || ""] || be["".concat(r, "-001")] || be["001"];
3356
+ var n = e.language, r;
3357
+ n !== "root" && (r = e.maximize().region);
3358
+ var i = be[r || ""] || be[n || ""] || be["".concat(n, "-001")] || be["001"];
3394
3359
  return i[0];
3395
3360
  }
3396
- var je, pi = new RegExp("^".concat(br.source, "*")), di = new RegExp("".concat(br.source, "*$"));
3361
+ var De, hi = new RegExp("^".concat(dn.source, "*")), li = new RegExp("".concat(dn.source, "*$"));
3397
3362
  function g(e, t) {
3398
3363
  return { start: e, end: t };
3399
3364
  }
3400
- var mi = !!String.prototype.startsWith && "_a".startsWith("a", 1), bi = !!String.fromCodePoint, gi = !!Object.fromEntries, yi = !!String.prototype.codePointAt, vi = !!String.prototype.trimStart, _i = !!String.prototype.trimEnd, Ei = !!Number.isSafeInteger, xi = Ei ? Number.isSafeInteger : function(e) {
3365
+ var fi = !!String.prototype.startsWith && "_a".startsWith("a", 1), ci = !!String.fromCodePoint, di = !!Object.fromEntries, pi = !!String.prototype.codePointAt, mi = !!String.prototype.trimStart, bi = !!String.prototype.trimEnd, gi = !!Number.isSafeInteger, yi = gi ? Number.isSafeInteger : function(e) {
3401
3366
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3402
- }, tt = !0;
3367
+ }, Qe = !0;
3403
3368
  try {
3404
- var Si = Er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3405
- tt = ((je = Si.exec("a")) === null || je === void 0 ? void 0 : je[0]) === "a";
3369
+ var _i = yn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3370
+ Qe = ((De = _i.exec("a")) === null || De === void 0 ? void 0 : De[0]) === "a";
3406
3371
  } catch (e) {
3407
- tt = !1;
3372
+ Qe = !1;
3408
3373
  }
3409
- var It = mi ? (
3374
+ var Bt = fi ? (
3410
3375
  // Native
3411
- function(t, r, n) {
3412
- return t.startsWith(r, n);
3376
+ function(t, n, r) {
3377
+ return t.startsWith(n, r);
3413
3378
  }
3414
3379
  ) : (
3415
3380
  // For IE11
3416
- function(t, r, n) {
3417
- return t.slice(n, n + r.length) === r;
3381
+ function(t, n, r) {
3382
+ return t.slice(r, r + n.length) === n;
3418
3383
  }
3419
- ), rt = bi ? String.fromCodePoint : (
3384
+ ), Je = ci ? String.fromCodePoint : (
3420
3385
  // IE11
3421
3386
  function() {
3422
- for (var t = [], r = 0; r < arguments.length; r++)
3423
- t[r] = arguments[r];
3424
- for (var n = "", i = t.length, o = 0, s; i > o; ) {
3387
+ for (var t = [], n = 0; n < arguments.length; n++)
3388
+ t[n] = arguments[n];
3389
+ for (var r = "", i = t.length, o = 0, s; i > o; ) {
3425
3390
  if (s = t[o++], s > 1114111)
3426
3391
  throw RangeError(s + " is not a valid code point");
3427
- n += s < 65536 ? String.fromCharCode(s) : String.fromCharCode(((s -= 65536) >> 10) + 55296, s % 1024 + 56320);
3392
+ r += s < 65536 ? String.fromCharCode(s) : String.fromCharCode(((s -= 65536) >> 10) + 55296, s % 1024 + 56320);
3428
3393
  }
3429
- return n;
3394
+ return r;
3430
3395
  }
3431
- ), Lt = (
3396
+ ), At = (
3432
3397
  // native
3433
- gi ? Object.fromEntries : (
3398
+ di ? Object.fromEntries : (
3434
3399
  // Ponyfill
3435
3400
  function(t) {
3436
- for (var r = {}, n = 0, i = t; n < i.length; n++) {
3437
- var o = i[n], s = o[0], a = o[1];
3438
- r[s] = a;
3401
+ for (var n = {}, r = 0, i = t; r < i.length; r++) {
3402
+ var o = i[r], s = o[0], a = o[1];
3403
+ n[s] = a;
3439
3404
  }
3440
- return r;
3405
+ return n;
3441
3406
  }
3442
3407
  )
3443
- ), _r = yi ? (
3408
+ ), gn = pi ? (
3444
3409
  // Native
3445
- function(t, r) {
3446
- return t.codePointAt(r);
3410
+ function(t, n) {
3411
+ return t.codePointAt(n);
3447
3412
  }
3448
3413
  ) : (
3449
3414
  // IE 11
3450
- function(t, r) {
3451
- var n = t.length;
3452
- if (!(r < 0 || r >= n)) {
3453
- var i = t.charCodeAt(r), o;
3454
- return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3415
+ function(t, n) {
3416
+ var r = t.length;
3417
+ if (!(n < 0 || n >= r)) {
3418
+ var i = t.charCodeAt(n), o;
3419
+ return i < 55296 || i > 56319 || n + 1 === r || (o = t.charCodeAt(n + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3455
3420
  }
3456
3421
  }
3457
- ), Ti = vi ? (
3422
+ ), vi = mi ? (
3458
3423
  // Native
3459
3424
  function(t) {
3460
3425
  return t.trimStart();
@@ -3462,9 +3427,9 @@ var It = mi ? (
3462
3427
  ) : (
3463
3428
  // Ponyfill
3464
3429
  function(t) {
3465
- return t.replace(pi, "");
3430
+ return t.replace(hi, "");
3466
3431
  }
3467
- ), wi = _i ? (
3432
+ ), xi = bi ? (
3468
3433
  // Native
3469
3434
  function(t) {
3470
3435
  return t.trimEnd();
@@ -3472,69 +3437,69 @@ var It = mi ? (
3472
3437
  ) : (
3473
3438
  // Ponyfill
3474
3439
  function(t) {
3475
- return t.replace(di, "");
3440
+ return t.replace(li, "");
3476
3441
  }
3477
3442
  );
3478
- function Er(e, t) {
3443
+ function yn(e, t) {
3479
3444
  return new RegExp(e, t);
3480
3445
  }
3481
- var nt;
3482
- if (tt) {
3483
- var Nt = Er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3484
- nt = function(t, r) {
3485
- var n;
3486
- Nt.lastIndex = r;
3487
- var i = Nt.exec(t);
3488
- return (n = i[1]) !== null && n !== void 0 ? n : "";
3446
+ var Ye;
3447
+ if (Qe) {
3448
+ var Pt = yn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3449
+ Ye = function(t, n) {
3450
+ var r;
3451
+ Pt.lastIndex = n;
3452
+ var i = Pt.exec(t);
3453
+ return (r = i[1]) !== null && r !== void 0 ? r : "";
3489
3454
  };
3490
3455
  } else
3491
- nt = function(t, r) {
3492
- for (var n = []; ; ) {
3493
- var i = _r(t, r);
3494
- if (i === void 0 || xr(i) || Pi(i))
3456
+ Ye = function(t, n) {
3457
+ for (var r = []; ; ) {
3458
+ var i = gn(t, n);
3459
+ if (i === void 0 || _n(i) || wi(i))
3495
3460
  break;
3496
- n.push(i), r += i >= 65536 ? 2 : 1;
3461
+ r.push(i), n += i >= 65536 ? 2 : 1;
3497
3462
  }
3498
- return rt.apply(void 0, n);
3463
+ return Je.apply(void 0, r);
3499
3464
  };
3500
- var Hi = (
3465
+ var Ei = (
3501
3466
  /** @class */
3502
3467
  function() {
3503
- function e(t, r) {
3504
- r === void 0 && (r = {}), this.message = t, this.position = { offset: 0, line: 1, column: 1 }, this.ignoreTag = !!r.ignoreTag, this.locale = r.locale, this.requiresOtherClause = !!r.requiresOtherClause, this.shouldParseSkeletons = !!r.shouldParseSkeletons;
3468
+ function e(t, n) {
3469
+ n === void 0 && (n = {}), this.message = t, this.position = { offset: 0, line: 1, column: 1 }, this.ignoreTag = !!n.ignoreTag, this.locale = n.locale, this.requiresOtherClause = !!n.requiresOtherClause, this.shouldParseSkeletons = !!n.shouldParseSkeletons;
3505
3470
  }
3506
3471
  return e.prototype.parse = function() {
3507
3472
  if (this.offset() !== 0)
3508
3473
  throw Error("parser can only be used once");
3509
3474
  return this.parseMessage(0, "", !1);
3510
- }, e.prototype.parseMessage = function(t, r, n) {
3475
+ }, e.prototype.parseMessage = function(t, n, r) {
3511
3476
  for (var i = []; !this.isEOF(); ) {
3512
3477
  var o = this.char();
3513
3478
  if (o === 123) {
3514
- var s = this.parseArgument(t, n);
3479
+ var s = this.parseArgument(t, r);
3515
3480
  if (s.err)
3516
3481
  return s;
3517
3482
  i.push(s.val);
3518
3483
  } else {
3519
3484
  if (o === 125 && t > 0)
3520
3485
  break;
3521
- if (o === 35 && (r === "plural" || r === "selectordinal")) {
3486
+ if (o === 35 && (n === "plural" || n === "selectordinal")) {
3522
3487
  var a = this.clonePosition();
3523
3488
  this.bump(), i.push({
3524
3489
  type: v.pound,
3525
3490
  location: g(a, this.clonePosition())
3526
3491
  });
3527
3492
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3528
- if (n)
3493
+ if (r)
3529
3494
  break;
3530
3495
  return this.error(b.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
3531
- } else if (o === 60 && !this.ignoreTag && it(this.peek() || 0)) {
3532
- var s = this.parseTag(t, r);
3496
+ } else if (o === 60 && !this.ignoreTag && Ke(this.peek() || 0)) {
3497
+ var s = this.parseTag(t, n);
3533
3498
  if (s.err)
3534
3499
  return s;
3535
3500
  i.push(s.val);
3536
3501
  } else {
3537
- var s = this.parseLiteral(t, r);
3502
+ var s = this.parseLiteral(t, n);
3538
3503
  if (s.err)
3539
3504
  return s;
3540
3505
  i.push(s.val);
@@ -3542,8 +3507,8 @@ var Hi = (
3542
3507
  }
3543
3508
  }
3544
3509
  return { val: i, err: null };
3545
- }, e.prototype.parseTag = function(t, r) {
3546
- var n = this.clonePosition();
3510
+ }, e.prototype.parseTag = function(t, n) {
3511
+ var r = this.clonePosition();
3547
3512
  this.bump();
3548
3513
  var i = this.parseTagName();
3549
3514
  if (this.bumpSpace(), this.bumpIf("/>"))
@@ -3551,17 +3516,17 @@ var Hi = (
3551
3516
  val: {
3552
3517
  type: v.literal,
3553
3518
  value: "<".concat(i, "/>"),
3554
- location: g(n, this.clonePosition())
3519
+ location: g(r, this.clonePosition())
3555
3520
  },
3556
3521
  err: null
3557
3522
  };
3558
3523
  if (this.bumpIf(">")) {
3559
- var o = this.parseMessage(t + 1, r, !0);
3524
+ var o = this.parseMessage(t + 1, n, !0);
3560
3525
  if (o.err)
3561
3526
  return o;
3562
3527
  var s = o.val, a = this.clonePosition();
3563
3528
  if (this.bumpIf("</")) {
3564
- if (this.isEOF() || !it(this.char()))
3529
+ if (this.isEOF() || !Ke(this.char()))
3565
3530
  return this.error(b.INVALID_TAG, g(a, this.clonePosition()));
3566
3531
  var u = this.clonePosition(), h = this.parseTagName();
3567
3532
  return i !== h ? this.error(b.UNMATCHED_CLOSING_TAG, g(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
@@ -3569,27 +3534,27 @@ var Hi = (
3569
3534
  type: v.tag,
3570
3535
  value: i,
3571
3536
  children: s,
3572
- location: g(n, this.clonePosition())
3537
+ location: g(r, this.clonePosition())
3573
3538
  },
3574
3539
  err: null
3575
3540
  } : this.error(b.INVALID_TAG, g(a, this.clonePosition())));
3576
3541
  } else
3577
- return this.error(b.UNCLOSED_TAG, g(n, this.clonePosition()));
3542
+ return this.error(b.UNCLOSED_TAG, g(r, this.clonePosition()));
3578
3543
  } else
3579
- return this.error(b.INVALID_TAG, g(n, this.clonePosition()));
3544
+ return this.error(b.INVALID_TAG, g(r, this.clonePosition()));
3580
3545
  }, e.prototype.parseTagName = function() {
3581
3546
  var t = this.offset();
3582
- for (this.bump(); !this.isEOF() && Ai(this.char()); )
3547
+ for (this.bump(); !this.isEOF() && Ti(this.char()); )
3583
3548
  this.bump();
3584
3549
  return this.message.slice(t, this.offset());
3585
- }, e.prototype.parseLiteral = function(t, r) {
3586
- for (var n = this.clonePosition(), i = ""; ; ) {
3587
- var o = this.tryParseQuote(r);
3550
+ }, e.prototype.parseLiteral = function(t, n) {
3551
+ for (var r = this.clonePosition(), i = ""; ; ) {
3552
+ var o = this.tryParseQuote(n);
3588
3553
  if (o) {
3589
3554
  i += o;
3590
3555
  continue;
3591
3556
  }
3592
- var s = this.tryParseUnquoted(t, r);
3557
+ var s = this.tryParseUnquoted(t, n);
3593
3558
  if (s) {
3594
3559
  i += s;
3595
3560
  continue;
@@ -3601,14 +3566,14 @@ var Hi = (
3601
3566
  }
3602
3567
  break;
3603
3568
  }
3604
- var u = g(n, this.clonePosition());
3569
+ var u = g(r, this.clonePosition());
3605
3570
  return {
3606
3571
  val: { type: v.literal, value: i, location: u },
3607
3572
  err: null
3608
3573
  };
3609
3574
  }, e.prototype.tryParseLeftAngleBracket = function() {
3610
3575
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3611
- !Bi(this.peek() || 0)) ? (this.bump(), "<") : null;
3576
+ !Si(this.peek() || 0)) ? (this.bump(), "<") : null;
3612
3577
  }, e.prototype.tryParseQuote = function(t) {
3613
3578
  if (this.isEOF() || this.char() !== 39)
3614
3579
  return null;
@@ -3628,37 +3593,37 @@ var Hi = (
3628
3593
  return null;
3629
3594
  }
3630
3595
  this.bump();
3631
- var r = [this.char()];
3596
+ var n = [this.char()];
3632
3597
  for (this.bump(); !this.isEOF(); ) {
3633
- var n = this.char();
3634
- if (n === 39)
3598
+ var r = this.char();
3599
+ if (r === 39)
3635
3600
  if (this.peek() === 39)
3636
- r.push(39), this.bump();
3601
+ n.push(39), this.bump();
3637
3602
  else {
3638
3603
  this.bump();
3639
3604
  break;
3640
3605
  }
3641
3606
  else
3642
- r.push(n);
3607
+ n.push(r);
3643
3608
  this.bump();
3644
3609
  }
3645
- return rt.apply(void 0, r);
3646
- }, e.prototype.tryParseUnquoted = function(t, r) {
3610
+ return Je.apply(void 0, n);
3611
+ }, e.prototype.tryParseUnquoted = function(t, n) {
3647
3612
  if (this.isEOF())
3648
3613
  return null;
3649
- var n = this.char();
3650
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), rt(n));
3651
- }, e.prototype.parseArgument = function(t, r) {
3652
- var n = this.clonePosition();
3614
+ var r = this.char();
3615
+ return r === 60 || r === 123 || r === 35 && (n === "plural" || n === "selectordinal") || r === 125 && t > 0 ? null : (this.bump(), Je(r));
3616
+ }, e.prototype.parseArgument = function(t, n) {
3617
+ var r = this.clonePosition();
3653
3618
  if (this.bump(), this.bumpSpace(), this.isEOF())
3654
- return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition()));
3619
+ return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(r, this.clonePosition()));
3655
3620
  if (this.char() === 125)
3656
- return this.bump(), this.error(b.EMPTY_ARGUMENT, g(n, this.clonePosition()));
3621
+ return this.bump(), this.error(b.EMPTY_ARGUMENT, g(r, this.clonePosition()));
3657
3622
  var i = this.parseIdentifierIfPossible().value;
3658
3623
  if (!i)
3659
- return this.error(b.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
3624
+ return this.error(b.MALFORMED_ARGUMENT, g(r, this.clonePosition()));
3660
3625
  if (this.bumpSpace(), this.isEOF())
3661
- return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition()));
3626
+ return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(r, this.clonePosition()));
3662
3627
  switch (this.char()) {
3663
3628
  case 125:
3664
3629
  return this.bump(), {
@@ -3666,21 +3631,21 @@ var Hi = (
3666
3631
  type: v.argument,
3667
3632
  // value does not include the opening and closing braces.
3668
3633
  value: i,
3669
- location: g(n, this.clonePosition())
3634
+ location: g(r, this.clonePosition())
3670
3635
  },
3671
3636
  err: null
3672
3637
  };
3673
3638
  case 44:
3674
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3639
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(r, this.clonePosition())) : this.parseArgumentOptions(t, n, i, r);
3675
3640
  default:
3676
- return this.error(b.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
3641
+ return this.error(b.MALFORMED_ARGUMENT, g(r, this.clonePosition()));
3677
3642
  }
3678
3643
  }, e.prototype.parseIdentifierIfPossible = function() {
3679
- var t = this.clonePosition(), r = this.offset(), n = nt(this.message, r), i = r + n.length;
3644
+ var t = this.clonePosition(), n = this.offset(), r = Ye(this.message, n), i = n + r.length;
3680
3645
  this.bumpTo(i);
3681
3646
  var o = this.clonePosition(), s = g(t, o);
3682
- return { value: n, location: s };
3683
- }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3647
+ return { value: r, location: s };
3648
+ }, e.prototype.parseArgumentOptions = function(t, n, r, i) {
3684
3649
  var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, u = this.clonePosition();
3685
3650
  switch (a) {
3686
3651
  case "":
@@ -3692,40 +3657,40 @@ var Hi = (
3692
3657
  var h = null;
3693
3658
  if (this.bumpIf(",")) {
3694
3659
  this.bumpSpace();
3695
- var l = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3696
- if (f.err)
3697
- return f;
3698
- var c = wi(f.val);
3699
- if (c.length === 0)
3660
+ var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3661
+ if (c.err)
3662
+ return c;
3663
+ var f = xi(c.val);
3664
+ if (f.length === 0)
3700
3665
  return this.error(b.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
3701
- var d = g(l, this.clonePosition());
3702
- h = { style: c, styleLocation: d };
3666
+ var p = g(l, this.clonePosition());
3667
+ h = { style: f, styleLocation: p };
3703
3668
  }
3704
- var p = this.tryParseArgumentClose(i);
3705
- if (p.err)
3706
- return p;
3669
+ var d = this.tryParseArgumentClose(i);
3670
+ if (d.err)
3671
+ return d;
3707
3672
  var m = g(i, this.clonePosition());
3708
- if (h && It(h == null ? void 0 : h.style, "::", 0)) {
3709
- var _ = Ti(h.style.slice(2));
3673
+ if (h && Bt(h == null ? void 0 : h.style, "::", 0)) {
3674
+ var x = vi(h.style.slice(2));
3710
3675
  if (a === "number") {
3711
- var f = this.parseNumberSkeletonFromString(_, h.styleLocation);
3712
- return f.err ? f : {
3713
- val: { type: v.number, value: n, location: m, style: f.val },
3676
+ var c = this.parseNumberSkeletonFromString(x, h.styleLocation);
3677
+ return c.err ? c : {
3678
+ val: { type: v.number, value: r, location: m, style: c.val },
3714
3679
  err: null
3715
3680
  };
3716
3681
  } else {
3717
- if (_.length === 0)
3682
+ if (x.length === 0)
3718
3683
  return this.error(b.EXPECT_DATE_TIME_SKELETON, m);
3719
- var w = _;
3720
- this.locale && (w = ci(_, this.locale));
3721
- var c = {
3722
- type: Q.dateTime,
3684
+ var w = x;
3685
+ this.locale && (w = ai(x, this.locale));
3686
+ var f = {
3687
+ type: J.dateTime,
3723
3688
  pattern: w,
3724
3689
  location: h.styleLocation,
3725
- parsedOptions: this.shouldParseSkeletons ? ii(w) : {}
3690
+ parsedOptions: this.shouldParseSkeletons ? ei(w) : {}
3726
3691
  }, O = a === "date" ? v.date : v.time;
3727
3692
  return {
3728
- val: { type: O, value: n, location: m, style: c },
3693
+ val: { type: O, value: r, location: m, style: f },
3729
3694
  err: null
3730
3695
  };
3731
3696
  }
@@ -3733,7 +3698,7 @@ var Hi = (
3733
3698
  return {
3734
3699
  val: {
3735
3700
  type: a === "number" ? v.number : a === "date" ? v.date : v.time,
3736
- value: n,
3701
+ value: r,
3737
3702
  location: m,
3738
3703
  style: (o = h == null ? void 0 : h.style) !== null && o !== void 0 ? o : null
3739
3704
  },
@@ -3743,43 +3708,43 @@ var Hi = (
3743
3708
  case "plural":
3744
3709
  case "selectordinal":
3745
3710
  case "select": {
3746
- var x = this.clonePosition();
3711
+ var E = this.clonePosition();
3747
3712
  if (this.bumpSpace(), !this.bumpIf(","))
3748
- return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, g(x, we({}, x)));
3713
+ return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, g(E, y({}, E)));
3749
3714
  this.bumpSpace();
3750
3715
  var I = this.parseIdentifierIfPossible(), H = 0;
3751
3716
  if (a !== "select" && I.value === "offset") {
3752
3717
  if (!this.bumpIf(":"))
3753
3718
  return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g(this.clonePosition(), this.clonePosition()));
3754
3719
  this.bumpSpace();
3755
- var f = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3756
- if (f.err)
3757
- return f;
3758
- this.bumpSpace(), I = this.parseIdentifierIfPossible(), H = f.val;
3720
+ var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3721
+ if (c.err)
3722
+ return c;
3723
+ this.bumpSpace(), I = this.parseIdentifierIfPossible(), H = c.val;
3759
3724
  }
3760
- var R = this.tryParsePluralOrSelectOptions(t, a, r, I);
3725
+ var R = this.tryParsePluralOrSelectOptions(t, a, n, I);
3761
3726
  if (R.err)
3762
3727
  return R;
3763
- var p = this.tryParseArgumentClose(i);
3764
- if (p.err)
3765
- return p;
3766
- var pe = g(i, this.clonePosition());
3728
+ var d = this.tryParseArgumentClose(i);
3729
+ if (d.err)
3730
+ return d;
3731
+ var de = g(i, this.clonePosition());
3767
3732
  return a === "select" ? {
3768
3733
  val: {
3769
3734
  type: v.select,
3770
- value: n,
3771
- options: Lt(R.val),
3772
- location: pe
3735
+ value: r,
3736
+ options: At(R.val),
3737
+ location: de
3773
3738
  },
3774
3739
  err: null
3775
3740
  } : {
3776
3741
  val: {
3777
3742
  type: v.plural,
3778
- value: n,
3779
- options: Lt(R.val),
3743
+ value: r,
3744
+ options: At(R.val),
3780
3745
  offset: H,
3781
3746
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3782
- location: pe
3747
+ location: de
3783
3748
  },
3784
3749
  err: null
3785
3750
  };
@@ -3790,9 +3755,9 @@ var Hi = (
3790
3755
  }, e.prototype.tryParseArgumentClose = function(t) {
3791
3756
  return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3792
3757
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3793
- for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3794
- var n = this.char();
3795
- switch (n) {
3758
+ for (var t = 0, n = this.clonePosition(); !this.isEOF(); ) {
3759
+ var r = this.char();
3760
+ switch (r) {
3796
3761
  case 39: {
3797
3762
  this.bump();
3798
3763
  var i = this.clonePosition();
@@ -3810,7 +3775,7 @@ var Hi = (
3810
3775
  t -= 1;
3811
3776
  else
3812
3777
  return {
3813
- val: this.message.slice(r.offset, this.offset()),
3778
+ val: this.message.slice(n.offset, this.offset()),
3814
3779
  err: null
3815
3780
  };
3816
3781
  break;
@@ -3821,61 +3786,61 @@ var Hi = (
3821
3786
  }
3822
3787
  }
3823
3788
  return {
3824
- val: this.message.slice(r.offset, this.offset()),
3789
+ val: this.message.slice(n.offset, this.offset()),
3825
3790
  err: null
3826
3791
  };
3827
- }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3828
- var n = [];
3792
+ }, e.prototype.parseNumberSkeletonFromString = function(t, n) {
3793
+ var r = [];
3829
3794
  try {
3830
- n = si(t);
3795
+ r = ni(t);
3831
3796
  } catch (i) {
3832
- return this.error(b.INVALID_NUMBER_SKELETON, r);
3797
+ return this.error(b.INVALID_NUMBER_SKELETON, n);
3833
3798
  }
3834
3799
  return {
3835
3800
  val: {
3836
- type: Q.number,
3837
- tokens: n,
3838
- location: r,
3839
- parsedOptions: this.shouldParseSkeletons ? li(n) : {}
3801
+ type: J.number,
3802
+ tokens: r,
3803
+ location: n,
3804
+ parsedOptions: this.shouldParseSkeletons ? si(r) : {}
3840
3805
  },
3841
3806
  err: null
3842
3807
  };
3843
- }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3808
+ }, e.prototype.tryParsePluralOrSelectOptions = function(t, n, r, i) {
3844
3809
  for (var o, s = !1, a = [], u = /* @__PURE__ */ new Set(), h = i.value, l = i.location; ; ) {
3845
3810
  if (h.length === 0) {
3846
- var f = this.clonePosition();
3847
- if (r !== "select" && this.bumpIf("=")) {
3848
- var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_SELECTOR, b.INVALID_PLURAL_ARGUMENT_SELECTOR);
3849
- if (c.err)
3850
- return c;
3851
- l = g(f, this.clonePosition()), h = this.message.slice(f.offset, this.offset());
3811
+ var c = this.clonePosition();
3812
+ if (n !== "select" && this.bumpIf("=")) {
3813
+ var f = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_SELECTOR, b.INVALID_PLURAL_ARGUMENT_SELECTOR);
3814
+ if (f.err)
3815
+ return f;
3816
+ l = g(c, this.clonePosition()), h = this.message.slice(c.offset, this.offset());
3852
3817
  } else
3853
3818
  break;
3854
3819
  }
3855
3820
  if (u.has(h))
3856
- return this.error(r === "select" ? b.DUPLICATE_SELECT_ARGUMENT_SELECTOR : b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
3821
+ return this.error(n === "select" ? b.DUPLICATE_SELECT_ARGUMENT_SELECTOR : b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
3857
3822
  h === "other" && (s = !0), this.bumpSpace();
3858
- var d = this.clonePosition();
3823
+ var p = this.clonePosition();
3859
3824
  if (!this.bumpIf("{"))
3860
- return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, g(this.clonePosition(), this.clonePosition()));
3861
- var p = this.parseMessage(t + 1, r, n);
3862
- if (p.err)
3863
- return p;
3864
- var m = this.tryParseArgumentClose(d);
3825
+ return this.error(n === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, g(this.clonePosition(), this.clonePosition()));
3826
+ var d = this.parseMessage(t + 1, n, r);
3827
+ if (d.err)
3828
+ return d;
3829
+ var m = this.tryParseArgumentClose(p);
3865
3830
  if (m.err)
3866
3831
  return m;
3867
3832
  a.push([
3868
3833
  h,
3869
3834
  {
3870
- value: p.val,
3871
- location: g(d, this.clonePosition())
3835
+ value: d.val,
3836
+ location: g(p, this.clonePosition())
3872
3837
  }
3873
3838
  ]), u.add(h), this.bumpSpace(), o = this.parseIdentifierIfPossible(), h = o.value, l = o.location;
3874
3839
  }
3875
- return a.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, g(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(b.MISSING_OTHER_CLAUSE, g(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3876
- }, e.prototype.tryParseDecimalInteger = function(t, r) {
3877
- var n = 1, i = this.clonePosition();
3878
- this.bumpIf("+") || this.bumpIf("-") && (n = -1);
3840
+ return a.length === 0 ? this.error(n === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, g(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(b.MISSING_OTHER_CLAUSE, g(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3841
+ }, e.prototype.tryParseDecimalInteger = function(t, n) {
3842
+ var r = 1, i = this.clonePosition();
3843
+ this.bumpIf("+") || this.bumpIf("-") && (r = -1);
3879
3844
  for (var o = !1, s = 0; !this.isEOF(); ) {
3880
3845
  var a = this.char();
3881
3846
  if (a >= 48 && a <= 57)
@@ -3884,7 +3849,7 @@ var Hi = (
3884
3849
  break;
3885
3850
  }
3886
3851
  var u = g(i, this.clonePosition());
3887
- return o ? (s *= n, xi(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
3852
+ return o ? (s *= r, yi(s) ? { val: s, err: null } : this.error(n, u)) : this.error(t, u);
3888
3853
  }, e.prototype.offset = function() {
3889
3854
  return this.position.offset;
3890
3855
  }, e.prototype.isEOF = function() {
@@ -3899,17 +3864,17 @@ var Hi = (
3899
3864
  var t = this.position.offset;
3900
3865
  if (t >= this.message.length)
3901
3866
  throw Error("out of bound");
3902
- var r = _r(this.message, t);
3903
- if (r === void 0)
3867
+ var n = gn(this.message, t);
3868
+ if (n === void 0)
3904
3869
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3905
- return r;
3906
- }, e.prototype.error = function(t, r) {
3870
+ return n;
3871
+ }, e.prototype.error = function(t, n) {
3907
3872
  return {
3908
3873
  val: null,
3909
3874
  err: {
3910
3875
  kind: t,
3911
3876
  message: this.message,
3912
- location: r
3877
+ location: n
3913
3878
  }
3914
3879
  };
3915
3880
  }, e.prototype.bump = function() {
@@ -3918,129 +3883,129 @@ var Hi = (
3918
3883
  t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
3919
3884
  }
3920
3885
  }, e.prototype.bumpIf = function(t) {
3921
- if (It(this.message, t, this.offset())) {
3922
- for (var r = 0; r < t.length; r++)
3886
+ if (Bt(this.message, t, this.offset())) {
3887
+ for (var n = 0; n < t.length; n++)
3923
3888
  this.bump();
3924
3889
  return !0;
3925
3890
  }
3926
3891
  return !1;
3927
3892
  }, e.prototype.bumpUntil = function(t) {
3928
- var r = this.offset(), n = this.message.indexOf(t, r);
3929
- return n >= 0 ? (this.bumpTo(n), !0) : (this.bumpTo(this.message.length), !1);
3893
+ var n = this.offset(), r = this.message.indexOf(t, n);
3894
+ return r >= 0 ? (this.bumpTo(r), !0) : (this.bumpTo(this.message.length), !1);
3930
3895
  }, e.prototype.bumpTo = function(t) {
3931
3896
  if (this.offset() > t)
3932
3897
  throw Error("targetOffset ".concat(t, " must be greater than or equal to the current offset ").concat(this.offset()));
3933
3898
  for (t = Math.min(t, this.message.length); ; ) {
3934
- var r = this.offset();
3935
- if (r === t)
3899
+ var n = this.offset();
3900
+ if (n === t)
3936
3901
  break;
3937
- if (r > t)
3902
+ if (n > t)
3938
3903
  throw Error("targetOffset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3939
3904
  if (this.bump(), this.isEOF())
3940
3905
  break;
3941
3906
  }
3942
3907
  }, e.prototype.bumpSpace = function() {
3943
- for (; !this.isEOF() && xr(this.char()); )
3908
+ for (; !this.isEOF() && _n(this.char()); )
3944
3909
  this.bump();
3945
3910
  }, e.prototype.peek = function() {
3946
3911
  if (this.isEOF())
3947
3912
  return null;
3948
- var t = this.char(), r = this.offset(), n = this.message.charCodeAt(r + (t >= 65536 ? 2 : 1));
3949
- return n != null ? n : null;
3913
+ var t = this.char(), n = this.offset(), r = this.message.charCodeAt(n + (t >= 65536 ? 2 : 1));
3914
+ return r != null ? r : null;
3950
3915
  }, e;
3951
3916
  }()
3952
3917
  );
3953
- function it(e) {
3918
+ function Ke(e) {
3954
3919
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3955
3920
  }
3956
- function Bi(e) {
3957
- return it(e) || e === 47;
3921
+ function Si(e) {
3922
+ return Ke(e) || e === 47;
3958
3923
  }
3959
- function Ai(e) {
3924
+ function Ti(e) {
3960
3925
  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;
3961
3926
  }
3962
- function xr(e) {
3927
+ function _n(e) {
3963
3928
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3964
3929
  }
3965
- function Pi(e) {
3930
+ function wi(e) {
3966
3931
  return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
3967
3932
  }
3968
- function ot(e) {
3933
+ function et(e) {
3969
3934
  e.forEach(function(t) {
3970
- if (delete t.location, fr(t) || pr(t))
3971
- for (var r in t.options)
3972
- delete t.options[r].location, ot(t.options[r].value);
3935
+ if (delete t.location, hn(t) || ln(t))
3936
+ for (var n in t.options)
3937
+ delete t.options[n].location, et(t.options[n].value);
3973
3938
  else
3974
- hr(t) && mr(t.style) || (lr(t) || cr(t)) && et(t.style) ? delete t.style.location : dr(t) && ot(t.children);
3939
+ sn(t) && cn(t.style) || (an(t) || un(t)) && qe(t.style) ? delete t.style.location : fn(t) && et(t.children);
3975
3940
  });
3976
3941
  }
3977
- function Oi(e, t) {
3978
- t === void 0 && (t = {}), t = we({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3979
- var r = new Hi(e, t).parse();
3980
- if (r.err) {
3981
- var n = SyntaxError(b[r.err.kind]);
3982
- throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3942
+ function Hi(e, t) {
3943
+ t === void 0 && (t = {}), t = y({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3944
+ var n = new Ei(e, t).parse();
3945
+ if (n.err) {
3946
+ var r = SyntaxError(b[n.err.kind]);
3947
+ throw r.location = n.err.location, r.originalMessage = n.err.message, r;
3983
3948
  }
3984
- return t != null && t.captureLocation || ot(r.val), r.val;
3949
+ return t != null && t.captureLocation || et(n.val), n.val;
3985
3950
  }
3986
- var J;
3951
+ var Y;
3987
3952
  (function(e) {
3988
3953
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3989
- })(J || (J = {}));
3990
- var Ie = (
3954
+ })(Y || (Y = {}));
3955
+ var Pe = (
3991
3956
  /** @class */
3992
3957
  function(e) {
3993
- Oe(t, e);
3994
- function t(r, n, i) {
3995
- var o = e.call(this, r) || this;
3996
- return o.code = n, o.originalMessage = i, o;
3958
+ $(t, e);
3959
+ function t(n, r, i) {
3960
+ var o = e.call(this, n) || this;
3961
+ return o.code = r, o.originalMessage = i, o;
3997
3962
  }
3998
3963
  return t.prototype.toString = function() {
3999
3964
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
4000
3965
  }, t;
4001
3966
  }(Error)
4002
- ), Mt = (
3967
+ ), Ot = (
4003
3968
  /** @class */
4004
3969
  function(e) {
4005
- Oe(t, e);
4006
- function t(r, n, i, o) {
4007
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), J.INVALID_VALUE, o) || this;
3970
+ $(t, e);
3971
+ function t(n, r, i, o) {
3972
+ return e.call(this, 'Invalid values for "'.concat(n, '": "').concat(r, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Y.INVALID_VALUE, o) || this;
4008
3973
  }
4009
3974
  return t;
4010
- }(Ie)
4011
- ), Ii = (
3975
+ }(Pe)
3976
+ ), Bi = (
4012
3977
  /** @class */
4013
3978
  function(e) {
4014
- Oe(t, e);
4015
- function t(r, n, i) {
4016
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), J.INVALID_VALUE, i) || this;
3979
+ $(t, e);
3980
+ function t(n, r, i) {
3981
+ return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(r), Y.INVALID_VALUE, i) || this;
4017
3982
  }
4018
3983
  return t;
4019
- }(Ie)
4020
- ), Li = (
3984
+ }(Pe)
3985
+ ), Ai = (
4021
3986
  /** @class */
4022
3987
  function(e) {
4023
- Oe(t, e);
4024
- function t(r, n) {
4025
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), J.MISSING_VALUE, n) || this;
3988
+ $(t, e);
3989
+ function t(n, r) {
3990
+ return e.call(this, 'The intl string context variable "'.concat(n, '" was not provided to the string "').concat(r, '"'), Y.MISSING_VALUE, r) || this;
4026
3991
  }
4027
3992
  return t;
4028
- }(Ie)
3993
+ }(Pe)
4029
3994
  ), T;
4030
3995
  (function(e) {
4031
3996
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
4032
3997
  })(T || (T = {}));
4033
- function Ni(e) {
4034
- return e.length < 2 ? e : e.reduce(function(t, r) {
4035
- var n = t[t.length - 1];
4036
- return !n || n.type !== T.literal || r.type !== T.literal ? t.push(r) : n.value += r.value, t;
3998
+ function Pi(e) {
3999
+ return e.length < 2 ? e : e.reduce(function(t, n) {
4000
+ var r = t[t.length - 1];
4001
+ return !r || r.type !== T.literal || n.type !== T.literal ? t.push(n) : r.value += n.value, t;
4037
4002
  }, []);
4038
4003
  }
4039
- function Mi(e) {
4004
+ function Oi(e) {
4040
4005
  return typeof e == "function";
4041
4006
  }
4042
- function _e(e, t, r, n, i, o, s) {
4043
- if (e.length === 1 && Bt(e[0]))
4007
+ function ve(e, t, n, r, i, o, s) {
4008
+ if (e.length === 1 && St(e[0]))
4044
4009
  return [
4045
4010
  {
4046
4011
  type: T.literal,
@@ -4049,60 +4014,60 @@ function _e(e, t, r, n, i, o, s) {
4049
4014
  ];
4050
4015
  for (var a = [], u = 0, h = e; u < h.length; u++) {
4051
4016
  var l = h[u];
4052
- if (Bt(l)) {
4017
+ if (St(l)) {
4053
4018
  a.push({
4054
4019
  type: T.literal,
4055
4020
  value: l.value
4056
4021
  });
4057
4022
  continue;
4058
4023
  }
4059
- if (ri(l)) {
4024
+ if (Yr(l)) {
4060
4025
  typeof o == "number" && a.push({
4061
4026
  type: T.literal,
4062
- value: r.getNumberFormat(t).format(o)
4027
+ value: n.getNumberFormat(t).format(o)
4063
4028
  });
4064
4029
  continue;
4065
4030
  }
4066
- var f = l.value;
4067
- if (!(i && f in i))
4068
- throw new Li(f, s);
4069
- var c = i[f];
4070
- if (ti(l)) {
4071
- (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
4072
- type: typeof c == "string" ? T.literal : T.object,
4073
- value: c
4031
+ var c = l.value;
4032
+ if (!(i && c in i))
4033
+ throw new Ai(c, s);
4034
+ var f = i[c];
4035
+ if (Jr(l)) {
4036
+ (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
4037
+ type: typeof f == "string" ? T.literal : T.object,
4038
+ value: f
4074
4039
  });
4075
4040
  continue;
4076
4041
  }
4077
- if (lr(l)) {
4078
- var d = typeof l.style == "string" ? n.date[l.style] : et(l.style) ? l.style.parsedOptions : void 0;
4042
+ if (an(l)) {
4043
+ var p = typeof l.style == "string" ? r.date[l.style] : qe(l.style) ? l.style.parsedOptions : void 0;
4079
4044
  a.push({
4080
4045
  type: T.literal,
4081
- value: r.getDateTimeFormat(t, d).format(c)
4046
+ value: n.getDateTimeFormat(t, p).format(f)
4082
4047
  });
4083
4048
  continue;
4084
4049
  }
4085
- if (cr(l)) {
4086
- var d = typeof l.style == "string" ? n.time[l.style] : et(l.style) ? l.style.parsedOptions : n.time.medium;
4050
+ if (un(l)) {
4051
+ var p = typeof l.style == "string" ? r.time[l.style] : qe(l.style) ? l.style.parsedOptions : r.time.medium;
4087
4052
  a.push({
4088
4053
  type: T.literal,
4089
- value: r.getDateTimeFormat(t, d).format(c)
4054
+ value: n.getDateTimeFormat(t, p).format(f)
4090
4055
  });
4091
4056
  continue;
4092
4057
  }
4093
- if (hr(l)) {
4094
- var d = typeof l.style == "string" ? n.number[l.style] : mr(l.style) ? l.style.parsedOptions : void 0;
4095
- d && d.scale && (c = c * (d.scale || 1)), a.push({
4058
+ if (sn(l)) {
4059
+ var p = typeof l.style == "string" ? r.number[l.style] : cn(l.style) ? l.style.parsedOptions : void 0;
4060
+ p && p.scale && (f = f * (p.scale || 1)), a.push({
4096
4061
  type: T.literal,
4097
- value: r.getNumberFormat(t, d).format(c)
4062
+ value: n.getNumberFormat(t, p).format(f)
4098
4063
  });
4099
4064
  continue;
4100
4065
  }
4101
- if (dr(l)) {
4102
- var p = l.children, m = l.value, _ = i[m];
4103
- if (!Mi(_))
4104
- throw new Ii(m, "function", s);
4105
- var w = _e(p, t, r, n, i, o), O = _(w.map(function(H) {
4066
+ if (fn(l)) {
4067
+ var d = l.children, m = l.value, x = i[m];
4068
+ if (!Oi(x))
4069
+ throw new Bi(m, "function", s);
4070
+ var w = ve(d, t, n, r, i, o), O = x(w.map(function(H) {
4106
4071
  return H.value;
4107
4072
  }));
4108
4073
  Array.isArray(O) || (O = [O]), a.push.apply(a, O.map(function(H) {
@@ -4112,92 +4077,92 @@ function _e(e, t, r, n, i, o, s) {
4112
4077
  };
4113
4078
  }));
4114
4079
  }
4115
- if (fr(l)) {
4116
- var x = l.options[c] || l.options.other;
4117
- if (!x)
4118
- throw new Mt(l.value, c, Object.keys(l.options), s);
4119
- a.push.apply(a, _e(x.value, t, r, n, i));
4080
+ if (hn(l)) {
4081
+ var E = l.options[f] || l.options.other;
4082
+ if (!E)
4083
+ throw new Ot(l.value, f, Object.keys(l.options), s);
4084
+ a.push.apply(a, ve(E.value, t, n, r, i));
4120
4085
  continue;
4121
4086
  }
4122
- if (pr(l)) {
4123
- var x = l.options["=".concat(c)];
4124
- if (!x) {
4087
+ if (ln(l)) {
4088
+ var E = l.options["=".concat(f)];
4089
+ if (!E) {
4125
4090
  if (!Intl.PluralRules)
4126
- throw new Ie(`Intl.PluralRules is not available in this environment.
4091
+ throw new Pe(`Intl.PluralRules is not available in this environment.
4127
4092
  Try polyfilling it using "@formatjs/intl-pluralrules"
4128
- `, J.MISSING_INTL_API, s);
4129
- var I = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
4130
- x = l.options[I] || l.options.other;
4093
+ `, Y.MISSING_INTL_API, s);
4094
+ var I = n.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
4095
+ E = l.options[I] || l.options.other;
4131
4096
  }
4132
- if (!x)
4133
- throw new Mt(l.value, c, Object.keys(l.options), s);
4134
- a.push.apply(a, _e(x.value, t, r, n, i, c - (l.offset || 0)));
4097
+ if (!E)
4098
+ throw new Ot(l.value, f, Object.keys(l.options), s);
4099
+ a.push.apply(a, ve(E.value, t, n, r, i, f - (l.offset || 0)));
4135
4100
  continue;
4136
4101
  }
4137
4102
  }
4138
- return Ni(a);
4103
+ return Pi(a);
4139
4104
  }
4140
- function Ci(e, t) {
4141
- return t ? M(M(M({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
4142
- return r[n] = M(M({}, e[n]), t[n] || {}), r;
4105
+ function Ii(e, t) {
4106
+ return t ? y(y(y({}, e || {}), t || {}), Object.keys(e).reduce(function(n, r) {
4107
+ return n[r] = y(y({}, e[r]), t[r] || {}), n;
4143
4108
  }, {})) : e;
4144
4109
  }
4145
- function $i(e, t) {
4146
- return t ? Object.keys(e).reduce(function(r, n) {
4147
- return r[n] = Ci(e[n], t[n]), r;
4148
- }, M({}, e)) : e;
4110
+ function Li(e, t) {
4111
+ return t ? Object.keys(e).reduce(function(n, r) {
4112
+ return n[r] = Ii(e[r], t[r]), n;
4113
+ }, y({}, e)) : e;
4149
4114
  }
4150
- function ke(e) {
4115
+ function Ge(e) {
4151
4116
  return {
4152
4117
  create: function() {
4153
4118
  return {
4154
4119
  get: function(t) {
4155
4120
  return e[t];
4156
4121
  },
4157
- set: function(t, r) {
4158
- e[t] = r;
4122
+ set: function(t, n) {
4123
+ e[t] = n;
4159
4124
  }
4160
4125
  };
4161
4126
  }
4162
4127
  };
4163
4128
  }
4164
- function Ri(e) {
4129
+ function Ni(e) {
4165
4130
  return e === void 0 && (e = {
4166
4131
  number: {},
4167
4132
  dateTime: {},
4168
4133
  pluralRules: {}
4169
4134
  }), {
4170
- getNumberFormat: Ge(function() {
4171
- for (var t, r = [], n = 0; n < arguments.length; n++)
4172
- r[n] = arguments[n];
4173
- return new ((t = Intl.NumberFormat).bind.apply(t, De([void 0], r, !1)))();
4135
+ getNumberFormat: Re(function() {
4136
+ for (var t, n = [], r = 0; r < arguments.length; r++)
4137
+ n[r] = arguments[r];
4138
+ return new ((t = Intl.NumberFormat).bind.apply(t, q([void 0], n, !1)))();
4174
4139
  }, {
4175
- cache: ke(e.number),
4176
- strategy: Fe.variadic
4140
+ cache: Ge(e.number),
4141
+ strategy: Ue.variadic
4177
4142
  }),
4178
- getDateTimeFormat: Ge(function() {
4179
- for (var t, r = [], n = 0; n < arguments.length; n++)
4180
- r[n] = arguments[n];
4181
- return new ((t = Intl.DateTimeFormat).bind.apply(t, De([void 0], r, !1)))();
4143
+ getDateTimeFormat: Re(function() {
4144
+ for (var t, n = [], r = 0; r < arguments.length; r++)
4145
+ n[r] = arguments[r];
4146
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, q([void 0], n, !1)))();
4182
4147
  }, {
4183
- cache: ke(e.dateTime),
4184
- strategy: Fe.variadic
4148
+ cache: Ge(e.dateTime),
4149
+ strategy: Ue.variadic
4185
4150
  }),
4186
- getPluralRules: Ge(function() {
4187
- for (var t, r = [], n = 0; n < arguments.length; n++)
4188
- r[n] = arguments[n];
4189
- return new ((t = Intl.PluralRules).bind.apply(t, De([void 0], r, !1)))();
4151
+ getPluralRules: Re(function() {
4152
+ for (var t, n = [], r = 0; r < arguments.length; r++)
4153
+ n[r] = arguments[r];
4154
+ return new ((t = Intl.PluralRules).bind.apply(t, q([void 0], n, !1)))();
4190
4155
  }, {
4191
- cache: ke(e.pluralRules),
4192
- strategy: Fe.variadic
4156
+ cache: Ge(e.pluralRules),
4157
+ strategy: Ue.variadic
4193
4158
  })
4194
4159
  };
4195
4160
  }
4196
- var Ui = (
4161
+ var Mi = (
4197
4162
  /** @class */
4198
4163
  function() {
4199
- function e(t, r, n, i) {
4200
- r === void 0 && (r = e.defaultLocale);
4164
+ function e(t, n, r, i) {
4165
+ n === void 0 && (n = e.defaultLocale);
4201
4166
  var o = this;
4202
4167
  if (this.formatterCache = {
4203
4168
  number: {},
@@ -4207,12 +4172,12 @@ var Ui = (
4207
4172
  var h = o.formatToParts(u);
4208
4173
  if (h.length === 1)
4209
4174
  return h[0].value;
4210
- var l = h.reduce(function(f, c) {
4211
- return !f.length || c.type !== T.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
4175
+ var l = h.reduce(function(c, f) {
4176
+ return !c.length || f.type !== T.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
4212
4177
  }, []);
4213
4178
  return l.length <= 1 ? l[0] || "" : l;
4214
4179
  }, this.formatToParts = function(u) {
4215
- return _e(o.ast, o.locales, o.formatters, o.formats, u, void 0, o.message);
4180
+ return ve(o.ast, o.locales, o.formatters, o.formats, u, void 0, o.message);
4216
4181
  }, this.resolvedOptions = function() {
4217
4182
  var u;
4218
4183
  return {
@@ -4220,18 +4185,18 @@ var Ui = (
4220
4185
  };
4221
4186
  }, this.getAst = function() {
4222
4187
  return o.ast;
4223
- }, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
4188
+ }, this.locales = n, this.resolvedLocale = e.resolveLocale(n), typeof t == "string") {
4224
4189
  if (this.message = t, !e.__parse)
4225
4190
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
4226
4191
  var s = i || {};
4227
4192
  s.formatters;
4228
- var a = zn(s, ["formatters"]);
4229
- this.ast = e.__parse(t, M(M({}, a), { locale: this.resolvedLocale }));
4193
+ var a = cr(s, ["formatters"]);
4194
+ this.ast = e.__parse(t, y(y({}, a), { locale: this.resolvedLocale }));
4230
4195
  } else
4231
4196
  this.ast = t;
4232
4197
  if (!Array.isArray(this.ast))
4233
4198
  throw new TypeError("A message must be provided as a String or AST.");
4234
- this.formats = $i(e.formats, n), this.formatters = i && i.formatters || Ri(this.formatterCache);
4199
+ this.formats = Li(e.formats, r), this.formatters = i && i.formatters || Ni(this.formatterCache);
4235
4200
  }
4236
4201
  return Object.defineProperty(e, "defaultLocale", {
4237
4202
  get: function() {
@@ -4241,10 +4206,10 @@ var Ui = (
4241
4206
  configurable: !0
4242
4207
  }), e.memoizedDefaultLocale = null, e.resolveLocale = function(t) {
4243
4208
  if (typeof Intl.Locale != "undefined") {
4244
- var r = Intl.NumberFormat.supportedLocalesOf(t);
4245
- return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
4209
+ var n = Intl.NumberFormat.supportedLocalesOf(t);
4210
+ return n.length > 0 ? new Intl.Locale(n[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
4246
4211
  }
4247
- }, e.__parse = Oi, e.formats = {
4212
+ }, e.__parse = Hi, e.formats = {
4248
4213
  number: {
4249
4214
  integer: {
4250
4215
  maximumFractionDigits: 0
@@ -4305,113 +4270,113 @@ var Ui = (
4305
4270
  }, e;
4306
4271
  }()
4307
4272
  );
4308
- function Di(e, t) {
4273
+ function Ci(e, t) {
4309
4274
  if (t == null)
4310
4275
  return;
4311
4276
  if (t in e)
4312
4277
  return e[t];
4313
- const r = t.split(".");
4314
- let n = e;
4315
- for (let i = 0; i < r.length; i++)
4316
- if (typeof n == "object") {
4278
+ const n = t.split(".");
4279
+ let r = e;
4280
+ for (let i = 0; i < n.length; i++)
4281
+ if (typeof r == "object") {
4317
4282
  if (i > 0) {
4318
- const o = r.slice(i, r.length).join(".");
4319
- if (o in n) {
4320
- n = n[o];
4283
+ const o = n.slice(i, n.length).join(".");
4284
+ if (o in r) {
4285
+ r = r[o];
4321
4286
  break;
4322
4287
  }
4323
4288
  }
4324
- n = n[r[i]];
4289
+ r = r[n[i]];
4325
4290
  } else
4326
- n = void 0;
4327
- return n;
4291
+ r = void 0;
4292
+ return r;
4328
4293
  }
4329
- const D = {}, Gi = (e, t, r) => r && (t in D || (D[t] = {}), e in D[t] || (D[t][e] = r), r), Sr = (e, t) => {
4294
+ const D = {}, $i = (e, t, n) => n && (t in D || (D[t] = {}), e in D[t] || (D[t][e] = n), n), vn = (e, t) => {
4330
4295
  if (t == null)
4331
4296
  return;
4332
4297
  if (t in D && e in D[t])
4333
4298
  return D[t][e];
4334
- const r = Le(t);
4335
- for (let n = 0; n < r.length; n++) {
4336
- const i = r[n], o = ji(i, e);
4299
+ const n = Oe(t);
4300
+ for (let r = 0; r < n.length; r++) {
4301
+ const i = n[r], o = Ui(i, e);
4337
4302
  if (o)
4338
- return Gi(e, t, o);
4303
+ return $i(e, t, o);
4339
4304
  }
4340
4305
  };
4341
- let lt;
4342
- const fe = Pe({});
4343
- function Fi(e) {
4344
- return lt[e] || null;
4306
+ let st;
4307
+ const ce = Ae({});
4308
+ function Ri(e) {
4309
+ return st[e] || null;
4345
4310
  }
4346
- function Tr(e) {
4347
- return e in lt;
4311
+ function xn(e) {
4312
+ return e in st;
4348
4313
  }
4349
- function ji(e, t) {
4350
- if (!Tr(e))
4314
+ function Ui(e, t) {
4315
+ if (!xn(e))
4351
4316
  return null;
4352
- const r = Fi(e);
4353
- return Di(r, t);
4317
+ const n = Ri(e);
4318
+ return Ci(n, t);
4354
4319
  }
4355
- function ki(e) {
4320
+ function Di(e) {
4356
4321
  if (e == null)
4357
4322
  return;
4358
- const t = Le(e);
4359
- for (let r = 0; r < t.length; r++) {
4360
- const n = t[r];
4361
- if (Tr(n))
4362
- return n;
4323
+ const t = Oe(e);
4324
+ for (let n = 0; n < t.length; n++) {
4325
+ const r = t[n];
4326
+ if (xn(r))
4327
+ return r;
4363
4328
  }
4364
4329
  }
4365
- function wr(e, ...t) {
4366
- delete D[e], fe.update((r) => (r[e] = Wn.all([r[e] || {}, ...t]), r));
4330
+ function En(e, ...t) {
4331
+ delete D[e], ce.update((n) => (n[e] = kr.all([n[e] || {}, ...t]), n));
4367
4332
  }
4368
- ee(
4369
- [fe],
4333
+ te(
4334
+ [ce],
4370
4335
  ([e]) => Object.keys(e)
4371
4336
  );
4372
- fe.subscribe((e) => lt = e);
4373
- const Ee = {};
4374
- function Vi(e, t) {
4375
- Ee[e].delete(t), Ee[e].size === 0 && delete Ee[e];
4376
- }
4377
- function Hr(e) {
4378
- return Ee[e];
4379
- }
4380
- function Xi(e) {
4381
- return Le(e).map((t) => {
4382
- const r = Hr(t);
4383
- return [t, r ? [...r] : []];
4337
+ ce.subscribe((e) => st = e);
4338
+ const xe = {};
4339
+ function Gi(e, t) {
4340
+ xe[e].delete(t), xe[e].size === 0 && delete xe[e];
4341
+ }
4342
+ function Sn(e) {
4343
+ return xe[e];
4344
+ }
4345
+ function Fi(e) {
4346
+ return Oe(e).map((t) => {
4347
+ const n = Sn(t);
4348
+ return [t, n ? [...n] : []];
4384
4349
  }).filter(([, t]) => t.length > 0);
4385
4350
  }
4386
- function st(e) {
4387
- return e == null ? !1 : Le(e).some(
4351
+ function tt(e) {
4352
+ return e == null ? !1 : Oe(e).some(
4388
4353
  (t) => {
4389
- var r;
4390
- return (r = Hr(t)) == null ? void 0 : r.size;
4354
+ var n;
4355
+ return (n = Sn(t)) == null ? void 0 : n.size;
4391
4356
  }
4392
4357
  );
4393
4358
  }
4394
- function Wi(e, t) {
4359
+ function ji(e, t) {
4395
4360
  return Promise.all(
4396
- t.map((n) => (Vi(e, n), n().then((i) => i.default || i)))
4397
- ).then((n) => wr(e, ...n));
4398
- }
4399
- const ie = {};
4400
- function Br(e) {
4401
- if (!st(e))
4402
- return e in ie ? ie[e] : Promise.resolve();
4403
- const t = Xi(e);
4404
- return ie[e] = Promise.all(
4361
+ t.map((r) => (Gi(e, r), r().then((i) => i.default || i)))
4362
+ ).then((r) => En(e, ...r));
4363
+ }
4364
+ const oe = {};
4365
+ function Tn(e) {
4366
+ if (!tt(e))
4367
+ return e in oe ? oe[e] : Promise.resolve();
4368
+ const t = Fi(e);
4369
+ return oe[e] = Promise.all(
4405
4370
  t.map(
4406
- ([r, n]) => Wi(r, n)
4371
+ ([n, r]) => ji(n, r)
4407
4372
  )
4408
4373
  ).then(() => {
4409
- if (st(e))
4410
- return Br(e);
4411
- delete ie[e];
4412
- }), ie[e];
4374
+ if (tt(e))
4375
+ return Tn(e);
4376
+ delete oe[e];
4377
+ }), oe[e];
4413
4378
  }
4414
- const zi = {
4379
+ const ki = {
4415
4380
  number: {
4416
4381
  scientific: { notation: "scientific" },
4417
4382
  engineering: { notation: "engineering" },
@@ -4440,136 +4405,136 @@ const zi = {
4440
4405
  timeZoneName: "short"
4441
4406
  }
4442
4407
  }
4443
- }, Zi = {
4408
+ }, Vi = {
4444
4409
  fallbackLocale: null,
4445
4410
  loadingDelay: 200,
4446
- formats: zi,
4411
+ formats: ki,
4447
4412
  warnOnMissingMessages: !0,
4448
4413
  handleMissingMessage: void 0,
4449
4414
  ignoreTag: !0
4450
- }, qi = Zi;
4451
- function Y() {
4452
- return qi;
4453
- }
4454
- const Ve = Pe(!1);
4455
- var Qi = Object.defineProperty, Ji = Object.defineProperties, Yi = Object.getOwnPropertyDescriptors, Ct = Object.getOwnPropertySymbols, Ki = Object.prototype.hasOwnProperty, eo = Object.prototype.propertyIsEnumerable, $t = (e, t, r) => t in e ? Qi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, to = (e, t) => {
4456
- for (var r in t || (t = {}))
4457
- Ki.call(t, r) && $t(e, r, t[r]);
4458
- if (Ct)
4459
- for (var r of Ct(t))
4460
- eo.call(t, r) && $t(e, r, t[r]);
4415
+ }, Xi = Vi;
4416
+ function K() {
4417
+ return Xi;
4418
+ }
4419
+ const Fe = Ae(!1);
4420
+ var Wi = Object.defineProperty, zi = Object.defineProperties, Zi = Object.getOwnPropertyDescriptors, It = Object.getOwnPropertySymbols, qi = Object.prototype.hasOwnProperty, Qi = Object.prototype.propertyIsEnumerable, Lt = (e, t, n) => t in e ? Wi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Ji = (e, t) => {
4421
+ for (var n in t)
4422
+ qi.call(t, n) && Lt(e, n, t[n]);
4423
+ if (It)
4424
+ for (var n of It(t))
4425
+ Qi.call(t, n) && Lt(e, n, t[n]);
4461
4426
  return e;
4462
- }, ro = (e, t) => Ji(e, Yi(t));
4463
- let at;
4464
- const He = Pe(null);
4465
- function Rt(e) {
4466
- return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4427
+ }, Yi = (e, t) => zi(e, Zi(t));
4428
+ let nt;
4429
+ const we = Ae(null);
4430
+ function Nt(e) {
4431
+ return e.split("-").map((t, n, r) => r.slice(0, n + 1).join("-")).reverse();
4467
4432
  }
4468
- function Le(e, t = Y().fallbackLocale) {
4469
- const r = Rt(e);
4470
- return t ? [.../* @__PURE__ */ new Set([...r, ...Rt(t)])] : r;
4433
+ function Oe(e, t = K().fallbackLocale) {
4434
+ const n = Nt(e);
4435
+ return t ? [.../* @__PURE__ */ new Set([...n, ...Nt(t)])] : n;
4471
4436
  }
4472
4437
  function j() {
4473
- return at != null ? at : void 0;
4438
+ return nt != null ? nt : void 0;
4474
4439
  }
4475
- He.subscribe((e) => {
4476
- at = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4440
+ we.subscribe((e) => {
4441
+ nt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4477
4442
  });
4478
- const no = (e) => {
4479
- if (e && ki(e) && st(e)) {
4480
- const { loadingDelay: t } = Y();
4481
- let r;
4482
- return typeof window != "undefined" && j() != null && t ? r = window.setTimeout(
4483
- () => Ve.set(!0),
4443
+ const Ki = (e) => {
4444
+ if (e && Di(e) && tt(e)) {
4445
+ const { loadingDelay: t } = K();
4446
+ let n;
4447
+ return typeof window != "undefined" && j() != null && t ? n = window.setTimeout(
4448
+ () => Fe.set(!0),
4484
4449
  t
4485
- ) : Ve.set(!0), Br(e).then(() => {
4486
- He.set(e);
4450
+ ) : Fe.set(!0), Tn(e).then(() => {
4451
+ we.set(e);
4487
4452
  }).finally(() => {
4488
- clearTimeout(r), Ve.set(!1);
4453
+ clearTimeout(n), Fe.set(!1);
4489
4454
  });
4490
4455
  }
4491
- return He.set(e);
4492
- }, te = ro(to({}, He), {
4493
- set: no
4494
- }), Ne = (e) => {
4456
+ return we.set(e);
4457
+ }, ne = Yi(Ji({}, we), {
4458
+ set: Ki
4459
+ }), Ie = (e) => {
4495
4460
  const t = /* @__PURE__ */ Object.create(null);
4496
- return (n) => {
4497
- const i = JSON.stringify(n);
4498
- return i in t ? t[i] : t[i] = e(n);
4461
+ return (r) => {
4462
+ const i = JSON.stringify(r);
4463
+ return i in t ? t[i] : t[i] = e(r);
4499
4464
  };
4500
4465
  };
4501
- var io = Object.defineProperty, Be = Object.getOwnPropertySymbols, Ar = Object.prototype.hasOwnProperty, Pr = Object.prototype.propertyIsEnumerable, Ut = (e, t, r) => t in e ? io(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ct = (e, t) => {
4502
- for (var r in t || (t = {}))
4503
- Ar.call(t, r) && Ut(e, r, t[r]);
4504
- if (Be)
4505
- for (var r of Be(t))
4506
- Pr.call(t, r) && Ut(e, r, t[r]);
4466
+ var eo = Object.defineProperty, He = Object.getOwnPropertySymbols, wn = Object.prototype.hasOwnProperty, Hn = Object.prototype.propertyIsEnumerable, Mt = (e, t, n) => t in e ? eo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, at = (e, t) => {
4467
+ for (var n in t || (t = {}))
4468
+ wn.call(t, n) && Mt(e, n, t[n]);
4469
+ if (He)
4470
+ for (var n of He(t))
4471
+ Hn.call(t, n) && Mt(e, n, t[n]);
4507
4472
  return e;
4508
4473
  }, re = (e, t) => {
4509
- var r = {};
4510
- for (var n in e)
4511
- Ar.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4512
- if (e != null && Be)
4513
- for (var n of Be(e))
4514
- t.indexOf(n) < 0 && Pr.call(e, n) && (r[n] = e[n]);
4515
- return r;
4474
+ var n = {};
4475
+ for (var r in e)
4476
+ wn.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
4477
+ if (e != null && He)
4478
+ for (var r of He(e))
4479
+ t.indexOf(r) < 0 && Hn.call(e, r) && (n[r] = e[r]);
4480
+ return n;
4516
4481
  };
4517
- const ue = (e, t) => {
4518
- const { formats: r } = Y();
4519
- if (e in r && t in r[e])
4520
- return r[e][t];
4482
+ const he = (e, t) => {
4483
+ const { formats: n } = K();
4484
+ if (e in n && t in n[e])
4485
+ return n[e][t];
4521
4486
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4522
- }, oo = Ne(
4487
+ }, to = Ie(
4523
4488
  (e) => {
4524
- var t = e, { locale: r, format: n } = t, i = re(t, ["locale", "format"]);
4525
- if (r == null)
4489
+ var t = e, { locale: n, format: r } = t, i = re(t, ["locale", "format"]);
4490
+ if (n == null)
4526
4491
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4527
- return n && (i = ue("number", n)), new Intl.NumberFormat(r, i);
4492
+ return r && (i = he("number", r)), new Intl.NumberFormat(n, i);
4528
4493
  }
4529
- ), so = Ne(
4494
+ ), no = Ie(
4530
4495
  (e) => {
4531
- var t = e, { locale: r, format: n } = t, i = re(t, ["locale", "format"]);
4532
- if (r == null)
4496
+ var t = e, { locale: n, format: r } = t, i = re(t, ["locale", "format"]);
4497
+ if (n == null)
4533
4498
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4534
- return n ? i = ue("date", n) : Object.keys(i).length === 0 && (i = ue("date", "short")), new Intl.DateTimeFormat(r, i);
4499
+ return r ? i = he("date", r) : Object.keys(i).length === 0 && (i = he("date", "short")), new Intl.DateTimeFormat(n, i);
4535
4500
  }
4536
- ), ao = Ne(
4501
+ ), ro = Ie(
4537
4502
  (e) => {
4538
- var t = e, { locale: r, format: n } = t, i = re(t, ["locale", "format"]);
4539
- if (r == null)
4503
+ var t = e, { locale: n, format: r } = t, i = re(t, ["locale", "format"]);
4504
+ if (n == null)
4540
4505
  throw new Error(
4541
4506
  '[svelte-i18n] A "locale" must be set to format time values'
4542
4507
  );
4543
- return n ? i = ue("time", n) : Object.keys(i).length === 0 && (i = ue("time", "short")), new Intl.DateTimeFormat(r, i);
4508
+ return r ? i = he("time", r) : Object.keys(i).length === 0 && (i = he("time", "short")), new Intl.DateTimeFormat(n, i);
4544
4509
  }
4545
- ), uo = (e = {}) => {
4510
+ ), io = (e = {}) => {
4546
4511
  var t = e, {
4547
- locale: r = j()
4548
- } = t, n = re(t, [
4512
+ locale: n = j()
4513
+ } = t, r = re(t, [
4549
4514
  "locale"
4550
4515
  ]);
4551
- return oo(ct({ locale: r }, n));
4552
- }, ho = (e = {}) => {
4516
+ return to(at({ locale: n }, r));
4517
+ }, oo = (e = {}) => {
4553
4518
  var t = e, {
4554
- locale: r = j()
4555
- } = t, n = re(t, [
4519
+ locale: n = j()
4520
+ } = t, r = re(t, [
4556
4521
  "locale"
4557
4522
  ]);
4558
- return so(ct({ locale: r }, n));
4559
- }, lo = (e = {}) => {
4523
+ return no(at({ locale: n }, r));
4524
+ }, so = (e = {}) => {
4560
4525
  var t = e, {
4561
- locale: r = j()
4562
- } = t, n = re(t, [
4526
+ locale: n = j()
4527
+ } = t, r = re(t, [
4563
4528
  "locale"
4564
4529
  ]);
4565
- return ao(ct({ locale: r }, n));
4566
- }, co = Ne(
4530
+ return ro(at({ locale: n }, r));
4531
+ }, ao = Ie(
4567
4532
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4568
- (e, t = j()) => new Ui(e, t, Y().formats, {
4569
- ignoreTag: Y().ignoreTag
4533
+ (e, t = j()) => new Mi(e, t, K().formats, {
4534
+ ignoreTag: K().ignoreTag
4570
4535
  })
4571
- ), fo = (e, t = {}) => {
4572
- var r, n, i, o;
4536
+ ), uo = (e, t = {}) => {
4537
+ var n, r, i, o;
4573
4538
  let s = t;
4574
4539
  typeof e == "object" && (s = e, e = s.id);
4575
4540
  const {
@@ -4581,70 +4546,70 @@ const ue = (e, t) => {
4581
4546
  throw new Error(
4582
4547
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4583
4548
  );
4584
- let l = Sr(e, u);
4549
+ let l = vn(e, u);
4585
4550
  if (!l)
4586
- l = (o = (i = (n = (r = Y()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: h })) != null ? i : h) != null ? o : e;
4551
+ l = (o = (i = (r = (n = K()).handleMissingMessage) == null ? void 0 : r.call(n, { locale: u, id: e, defaultValue: h })) != null ? i : h) != null ? o : e;
4587
4552
  else if (typeof l != "string")
4588
4553
  return console.warn(
4589
4554
  `[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.`
4590
4555
  ), l;
4591
4556
  if (!a)
4592
4557
  return l;
4593
- let f = l;
4558
+ let c = l;
4594
4559
  try {
4595
- f = co(l, u).format(a);
4596
- } catch (c) {
4597
- c instanceof Error && console.warn(
4560
+ c = ao(l, u).format(a);
4561
+ } catch (f) {
4562
+ f instanceof Error && console.warn(
4598
4563
  `[svelte-i18n] Message "${e}" has syntax error:`,
4599
- c.message
4564
+ f.message
4600
4565
  );
4601
4566
  }
4602
- return f;
4603
- }, po = (e, t) => lo(t).format(e), mo = (e, t) => ho(t).format(e), bo = (e, t) => uo(t).format(e), go = (e, t = j()) => Sr(e, t), yo = ee([te, fe], () => fo);
4604
- ee([te], () => po);
4605
- ee([te], () => mo);
4606
- ee([te], () => bo);
4607
- ee([te, fe], () => go);
4608
- window.emWidgets = { topic: Pn };
4609
- const ts = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)), Or = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC", rs = (e) => e.match(/CustomNative/i) ? "NativeApp" : Or(e) === "PC" ? "Desktop" : "Mobile";
4610
- function ns(e, t) {
4611
- const r = () => !0;
4567
+ return c;
4568
+ }, ho = (e, t) => so(t).format(e), lo = (e, t) => oo(t).format(e), fo = (e, t) => io(t).format(e), co = (e, t = j()) => vn(e, t), po = te([ne, ce], () => uo);
4569
+ te([ne], () => ho);
4570
+ te([ne], () => lo);
4571
+ te([ne], () => fo);
4572
+ te([ne, ce], () => co);
4573
+ window.emWidgets = { topic: Hr };
4574
+ const Jo = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)), Bn = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC", Yo = (e) => e.match(/CustomNative/i) ? "NativeApp" : Bn(e) === "PC" ? "Desktop" : "Mobile";
4575
+ function Ko(e, t) {
4576
+ const n = () => !0;
4612
4577
  switch (typeof e) {
4613
4578
  case "string": {
4614
- const n = e.trim();
4615
- return n && isFinite(Number(n)) && r();
4579
+ const r = e.trim();
4580
+ return r && isFinite(Number(r)) && n();
4616
4581
  }
4617
4582
  case "number":
4618
- return isFinite(e) && r();
4583
+ return isFinite(e) && n();
4619
4584
  default:
4620
4585
  return !1;
4621
4586
  }
4622
4587
  }
4623
- function Dt(e, t) {
4588
+ function Ct(e, t) {
4624
4589
  if (e) {
4625
- const r = document.createElement("style");
4626
- r.innerHTML = t, e.appendChild(r);
4590
+ const n = document.createElement("style");
4591
+ n.innerHTML = t, e.appendChild(n);
4627
4592
  }
4628
4593
  }
4629
- function vo(e, t) {
4630
- const r = new URL(t);
4631
- fetch(r.href).then((n) => n.text()).then((n) => {
4594
+ function mo(e, t) {
4595
+ const n = new URL(t);
4596
+ fetch(n.href).then((r) => r.text()).then((r) => {
4632
4597
  const i = document.createElement("style");
4633
- i.innerHTML = n, e && e.appendChild(i);
4634
- }).catch((n) => {
4635
- console.error("There was an error while trying to load client styling from URL", n);
4598
+ i.innerHTML = r, e && e.appendChild(i);
4599
+ }).catch((r) => {
4600
+ console.error("There was an error while trying to load client styling from URL", r);
4636
4601
  });
4637
4602
  }
4638
- function _o(e, t, r) {
4603
+ function bo(e, t, n) {
4639
4604
  if (window.emMessageBus) {
4640
- const n = document.createElement("style");
4605
+ const r = document.createElement("style");
4641
4606
  window.emMessageBus.subscribe(t, (i) => {
4642
- n.innerHTML = i, e && e.appendChild(n);
4607
+ r.innerHTML = i, e && e.appendChild(r);
4643
4608
  });
4644
4609
  }
4645
4610
  }
4646
- const Eo = (e, t = {}) => {
4647
- const r = new CustomEvent("track-custom-event", {
4611
+ const go = (e, t = {}) => {
4612
+ const n = new CustomEvent("track-custom-event", {
4648
4613
  detail: {
4649
4614
  type: e,
4650
4615
  data: t
@@ -4652,15 +4617,15 @@ const Eo = (e, t = {}) => {
4652
4617
  bubbles: !0,
4653
4618
  composed: !0
4654
4619
  });
4655
- document.dispatchEvent(r);
4620
+ document.dispatchEvent(n);
4656
4621
  };
4657
- function Gt(e, t) {
4658
- wr(e, t);
4622
+ function $t(e, t) {
4623
+ En(e, t);
4659
4624
  }
4660
- function xo(e) {
4661
- te.set(e);
4625
+ function yo(e) {
4626
+ ne.set(e);
4662
4627
  }
4663
- const Ft = {
4628
+ const Rt = {
4664
4629
  en: {
4665
4630
  logoutButton: "Logout"
4666
4631
  },
@@ -4695,21 +4660,21 @@ const Ft = {
4695
4660
  logoutButton: "Logout"
4696
4661
  }
4697
4662
  };
4698
- function So(e) {
4699
- Vr(e, "svelte-xtnqa3", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.PlayerAccountMenuItemBox{padding:20px;font-size:16px;display:inline-flex;width:100%;box-sizing:border-box;align-items:center;cursor:pointer}.PlayerAccountMenuItemBox .PlayerLogoutText{margin-left:20px}.PlayerAccountMenuItemBox svg{fill:var(--emw--pam-typography-color-nav-bg, var(--emw--color-white, #FFFFFF))}.PlayerAccountMenuItemBoxMobile.PlayerAccountMenuItemBox{height:auto;justify-content:center;position:relative;display:flex;width:unset;padding:0}.PlayerAccountMenuItemBoxMobile.PlayerAccountMenuItemBox svg{fill:var(--emw--pam-typography-color-nav-bg, var(--emw--color-white, #FFFFFF))}");
4663
+ function _o(e) {
4664
+ Fn(e, "svelte-xtnqa3", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.PlayerAccountMenuItemBox{padding:20px;font-size:16px;display:inline-flex;width:100%;box-sizing:border-box;align-items:center;cursor:pointer}.PlayerAccountMenuItemBox .PlayerLogoutText{margin-left:20px}.PlayerAccountMenuItemBox svg{fill:var(--emw--pam-typography-color-nav-bg, var(--emw--color-white, #FFFFFF))}.PlayerAccountMenuItemBoxMobile.PlayerAccountMenuItemBox{height:auto;justify-content:center;position:relative;display:flex;width:unset;padding:0}.PlayerAccountMenuItemBoxMobile.PlayerAccountMenuItemBox svg{fill:var(--emw--pam-typography-color-nav-bg, var(--emw--color-white, #FFFFFF))}");
4700
4665
  }
4701
- function To(e) {
4702
- let t, r, n, i = (
4666
+ function vo(e) {
4667
+ let t, n, r, i = (
4703
4668
  /*$_*/
4704
4669
  e[2]("logoutButton") + ""
4705
4670
  ), o, s, a;
4706
4671
  return {
4707
4672
  c() {
4708
- t = L("div"), r = L("button"), n = L("span"), o = le(i), A(t, "class", "GeneralLogout");
4673
+ t = L("div"), n = L("button"), r = L("span"), o = fe(i), A(t, "class", "GeneralLogout");
4709
4674
  },
4710
4675
  m(u, h) {
4711
- K(u, t, h), P(t, r), P(r, n), P(n, o), s || (a = qt(
4712
- r,
4676
+ ee(u, t, h), P(t, n), P(n, r), P(r, o), s || (a = Xt(
4677
+ n,
4713
4678
  "click",
4714
4679
  /*click_handler_1*/
4715
4680
  e[14]
@@ -4718,19 +4683,19 @@ function To(e) {
4718
4683
  p(u, h) {
4719
4684
  h & /*$_*/
4720
4685
  4 && i !== (i = /*$_*/
4721
- u[2]("logoutButton") + "") && Qt(o, i);
4686
+ u[2]("logoutButton") + "") && Wt(o, i);
4722
4687
  },
4723
4688
  d(u) {
4724
4689
  u && G(t), s = !1, a();
4725
4690
  }
4726
4691
  };
4727
4692
  }
4728
- function wo(e) {
4729
- let t, r, n, i, o, s, a, u, h, l, f, c = !/*isMobile*/
4730
- e[3] && Ho(e);
4693
+ function xo(e) {
4694
+ let t, n, r, i, o, s, a, u, h, l, c, f = !/*isMobile*/
4695
+ e[3] && Eo(e);
4731
4696
  return {
4732
4697
  c() {
4733
- t = L("p"), r = L("span"), n = X("svg"), i = X("defs"), o = X("style"), s = le(".a88316b4-2478-4a69-b2eb-d32a5fb419dd{fill:var(--emw--color-white, #FFFFFF);}"), a = X("path"), u = X("path"), h = Wr(), c && c.c(), A(a, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd"), A(a, "d", "M147.16,67.69,115.42,36a9.6,9.6,0,1,0-13.58,13.58l15.32,15.31H49.58a9.63,9.63,0,1,0,0,19.26h67.58L101.84,99.42a9.64,9.64,0,0,0,6.79,16.43,9.41,9.41,0,0,0,6.79-2.85l31.74-31.73a9.53,9.53,0,0,0,0-13.58Z"), 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"), Zr(r, "width", /*isMobile*/
4698
+ t = L("p"), n = L("span"), r = X("svg"), i = X("defs"), o = X("style"), s = fe(".a88316b4-2478-4a69-b2eb-d32a5fb419dd{fill:var(--emw--color-white, #FFFFFF);}"), a = X("path"), u = X("path"), h = kn(), f && f.c(), A(a, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd"), A(a, "d", "M147.16,67.69,115.42,36a9.6,9.6,0,1,0-13.58,13.58l15.32,15.31H49.58a9.63,9.63,0,1,0,0,19.26h67.58L101.84,99.42a9.64,9.64,0,0,0,6.79,16.43,9.41,9.41,0,0,0,6.79-2.85l31.74-31.73a9.53,9.53,0,0,0,0-13.58Z"), 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(r, "id", "bbfaf345-72af-4296-bf4b-2fd41fc03d5d"), A(r, "data-name", "Layer 1"), A(r, "xmlns", "http://www.w3.org/2000/svg"), A(r, "viewBox", "0 0 150 150"), Xn(n, "width", /*isMobile*/
4734
4699
  e[3] ? (
4735
4700
  /*mediaQuery*/
4736
4701
  e[4].matches ? "20px" : "24px"
@@ -4739,63 +4704,63 @@ function wo(e) {
4739
4704
  (e[4].matches && /*isMobile*/
4740
4705
  e[3] ? "PlayerAccountMenuItemBoxTablet" : ""));
4741
4706
  },
4742
- m(d, p) {
4743
- K(d, t, p), P(t, r), P(r, n), P(n, i), P(i, o), P(o, s), P(n, a), P(n, u), P(t, h), c && c.m(t, null), l || (f = qt(
4707
+ m(p, d) {
4708
+ ee(p, t, d), P(t, n), P(n, r), P(r, i), P(i, o), P(o, s), P(r, a), P(r, u), P(t, h), f && f.m(t, null), l || (c = Xt(
4744
4709
  t,
4745
4710
  "click",
4746
4711
  /*click_handler*/
4747
4712
  e[13]
4748
4713
  ), l = !0);
4749
4714
  },
4750
- p(d, p) {
4715
+ p(p, d) {
4751
4716
  /*isMobile*/
4752
- d[3] || c.p(d, p);
4717
+ p[3] || f.p(p, d);
4753
4718
  },
4754
- d(d) {
4755
- d && G(t), c && c.d(), l = !1, f();
4719
+ d(p) {
4720
+ p && G(t), f && f.d(), l = !1, c();
4756
4721
  }
4757
4722
  };
4758
4723
  }
4759
- function Ho(e) {
4760
- let t, r = (
4724
+ function Eo(e) {
4725
+ let t, n = (
4761
4726
  /*$_*/
4762
4727
  e[2]("logoutButton") + ""
4763
- ), n;
4728
+ ), r;
4764
4729
  return {
4765
4730
  c() {
4766
- t = L("span"), n = le(r), A(t, "class", "PlayerLogoutText");
4731
+ t = L("span"), r = fe(n), A(t, "class", "PlayerLogoutText");
4767
4732
  },
4768
4733
  m(i, o) {
4769
- K(i, t, o), P(t, n);
4734
+ ee(i, t, o), P(t, r);
4770
4735
  },
4771
4736
  p(i, o) {
4772
4737
  o & /*$_*/
4773
- 4 && r !== (r = /*$_*/
4774
- i[2]("logoutButton") + "") && Qt(n, r);
4738
+ 4 && n !== (n = /*$_*/
4739
+ i[2]("logoutButton") + "") && Wt(r, n);
4775
4740
  },
4776
4741
  d(i) {
4777
4742
  i && G(t);
4778
4743
  }
4779
4744
  };
4780
4745
  }
4781
- function Bo(e) {
4746
+ function So(e) {
4782
4747
  let t;
4783
- function r(o, s) {
4748
+ function n(o, s) {
4784
4749
  return (
4785
4750
  /*buttonlocation*/
4786
- o[0] === "PlayerAccountMenu" ? wo : To
4751
+ o[0] === "PlayerAccountMenu" ? xo : vo
4787
4752
  );
4788
4753
  }
4789
- let n = r(e), i = n(e);
4754
+ let r = n(e), i = r(e);
4790
4755
  return {
4791
4756
  c() {
4792
4757
  t = L("div"), i.c();
4793
4758
  },
4794
4759
  m(o, s) {
4795
- K(o, t, s), i.m(t, null), e[15](t);
4760
+ ee(o, t, s), i.m(t, null), e[15](t);
4796
4761
  },
4797
4762
  p(o, [s]) {
4798
- n === (n = r(o)) && i ? i.p(o, s) : (i.d(1), i = n(o), i && (i.c(), i.m(t, null)));
4763
+ r === (r = n(o)) && i ? i.p(o, s) : (i.d(1), i = r(o), i && (i.c(), i.m(t, null)));
4799
4764
  },
4800
4765
  i: B,
4801
4766
  o: B,
@@ -4804,78 +4769,78 @@ function Bo(e) {
4804
4769
  }
4805
4770
  };
4806
4771
  }
4807
- function Ao(e, t, r) {
4808
- let n;
4809
- Fr(e, yo, (y) => r(2, n = y));
4810
- let { endpoint: i = "" } = t, { session: o = "" } = t, { buttonlocation: s = "" } = t, { lang: a = "" } = t, { mbsource: u } = t, { clientstyling: h = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: f = "" } = t, c = "", d = !1, p, m = window.navigator.userAgent, _ = Or(m) !== "PC";
4772
+ function To(e, t, n) {
4773
+ let r;
4774
+ Un(e, po, (_) => n(2, r = _));
4775
+ let { endpoint: i = "" } = t, { session: o = "" } = t, { buttonlocation: s = "" } = t, { lang: a = "" } = t, { mbsource: u } = t, { clientstyling: h = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: c = "" } = t, f = "", p = !1, d, m = window.navigator.userAgent, x = Bn(m) !== "PC";
4811
4776
  const w = window.matchMedia("(min-width: 768px)"), O = () => {
4812
- fetch(f).then((U) => U.json()).then((U) => {
4813
- Object.keys(U).forEach((Me) => {
4814
- Gt(Me, U[Me]);
4777
+ fetch(c).then((U) => U.json()).then((U) => {
4778
+ Object.keys(U).forEach((Le) => {
4779
+ $t(Le, U[Le]);
4815
4780
  });
4816
4781
  }).catch((U) => {
4817
4782
  console.log(U);
4818
4783
  });
4819
4784
  };
4820
- Object.keys(Ft).forEach((y) => {
4821
- Gt(y, Ft[y]);
4785
+ Object.keys(Rt).forEach((_) => {
4786
+ $t(_, Rt[_]);
4822
4787
  });
4823
- const x = () => {
4824
- let y = new Headers();
4825
- y.append("Content-type", "application/json"), y.append("X-SessionID", o);
4826
- let U = { method: "DELETE", headers: y };
4827
- fetch(`${i}/v1/player/session/player`, U).then((Me) => {
4828
- window.postMessage({ type: "LogoutSuccessfull" }, window.location.href), Eo("logged_out", {});
4788
+ const E = () => {
4789
+ let _ = new Headers();
4790
+ _.append("Content-type", "application/json"), _.append("X-SessionID", o);
4791
+ let U = { method: "DELETE", headers: _ };
4792
+ fetch(`${i}/v1/player/session/player`, U).then((Le) => {
4793
+ window.postMessage({ type: "LogoutSuccessfull" }, window.location.href), go("logged_out", {});
4829
4794
  });
4830
- }, I = () => (i || (c = "GENERAL-LOGOUT - Endpoint is missing! Please provide a valid endpointURL.", d = !0, console.error(c)), o || (c = "GENERAL-LOGOUT - Session is missing! Please provide a valid session.", d = !0, console.error(c)), d), H = () => {
4831
- xo(a);
4795
+ }, I = () => (i || (f = "GENERAL-LOGOUT - Endpoint is missing! Please provide a valid endpointURL.", p = !0, console.error(f)), o || (f = "GENERAL-LOGOUT - Session is missing! Please provide a valid session.", p = !0, console.error(f)), p), H = () => {
4796
+ yo(a);
4832
4797
  };
4833
- rn(() => () => {
4798
+ Kn(() => () => {
4834
4799
  });
4835
- const R = () => x(), pe = () => x();
4836
- function Lr(y) {
4837
- Xe[y ? "unshift" : "push"](() => {
4838
- p = y, r(1, p);
4800
+ const R = () => E(), de = () => E();
4801
+ function Pn(_) {
4802
+ je[_ ? "unshift" : "push"](() => {
4803
+ d = _, n(1, d);
4839
4804
  });
4840
4805
  }
4841
- return e.$$set = (y) => {
4842
- "endpoint" in y && r(6, i = y.endpoint), "session" in y && r(7, o = y.session), "buttonlocation" in y && r(0, s = y.buttonlocation), "lang" in y && r(8, a = y.lang), "mbsource" in y && r(9, u = y.mbsource), "clientstyling" in y && r(10, h = y.clientstyling), "clientstylingurl" in y && r(11, l = y.clientstylingurl), "translationurl" in y && r(12, f = y.translationurl);
4806
+ return e.$$set = (_) => {
4807
+ "endpoint" in _ && n(6, i = _.endpoint), "session" in _ && n(7, o = _.session), "buttonlocation" in _ && n(0, s = _.buttonlocation), "lang" in _ && n(8, a = _.lang), "mbsource" in _ && n(9, u = _.mbsource), "clientstyling" in _ && n(10, h = _.clientstyling), "clientstylingurl" in _ && n(11, l = _.clientstylingurl), "translationurl" in _ && n(12, c = _.translationurl);
4843
4808
  }, e.$$.update = () => {
4844
4809
  e.$$.dirty & /*endpoint, session, buttonlocation*/
4845
4810
  193 && i && o && s && I(), e.$$.dirty & /*lang*/
4846
4811
  256 && a && H(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4847
- 1026 && h && p && Dt(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4848
- 1026 && h && p && Dt(p, h), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4849
- 2050 && l && p && vo(p, l), e.$$.dirty & /*mbsource, customStylingContainer*/
4850
- 514 && u && p && _o(p, `${u}.Style`), e.$$.dirty & /*translationurl*/
4851
- 4096 && f && O();
4812
+ 1026 && h && d && Ct(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4813
+ 1026 && h && d && Ct(d, h), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4814
+ 2050 && l && d && mo(d, l), e.$$.dirty & /*mbsource, customStylingContainer*/
4815
+ 514 && u && d && bo(d, `${u}.Style`), e.$$.dirty & /*translationurl*/
4816
+ 4096 && c && O();
4852
4817
  }, [
4853
4818
  s,
4854
- p,
4855
- n,
4856
- _,
4857
- w,
4819
+ d,
4820
+ r,
4858
4821
  x,
4822
+ w,
4823
+ E,
4859
4824
  i,
4860
4825
  o,
4861
4826
  a,
4862
4827
  u,
4863
4828
  h,
4864
4829
  l,
4865
- f,
4830
+ c,
4866
4831
  R,
4867
- pe,
4868
- Lr
4832
+ de,
4833
+ Pn
4869
4834
  ];
4870
4835
  }
4871
- class Ir extends dn {
4836
+ class An extends lr {
4872
4837
  constructor(t) {
4873
- super(), fn(
4838
+ super(), ur(
4874
4839
  this,
4875
4840
  t,
4876
- Ao,
4877
- Bo,
4878
- kt,
4841
+ To,
4842
+ So,
4843
+ Dt,
4879
4844
  {
4880
4845
  endpoint: 6,
4881
4846
  session: 7,
@@ -4886,7 +4851,7 @@ class Ir extends dn {
4886
4851
  clientstylingurl: 11,
4887
4852
  translationurl: 12
4888
4853
  },
4889
- So
4854
+ _o
4890
4855
  );
4891
4856
  }
4892
4857
  get endpoint() {
@@ -4938,74 +4903,74 @@ class Ir extends dn {
4938
4903
  this.$$set({ translationurl: t }), N();
4939
4904
  }
4940
4905
  }
4941
- pn(Ir, { endpoint: {}, session: {}, buttonlocation: {}, lang: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
4942
- const is = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4906
+ hr(An, { endpoint: {}, session: {}, buttonlocation: {}, lang: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
4907
+ const es = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4943
4908
  __proto__: null,
4944
- default: Ir
4909
+ default: An
4945
4910
  }, Symbol.toStringTag, { value: "Module" }));
4946
4911
  export {
4947
- te as $,
4948
- pn as A,
4949
- yo as B,
4950
- fe as C,
4951
- rs as D,
4952
- Zo as E,
4953
- Uo as F,
4954
- $o as G,
4955
- Io as H,
4956
- Jo as I,
4957
- an as J,
4958
- No as K,
4959
- Mo as L,
4960
- Lo as M,
4961
- Do as N,
4962
- Ko as O,
4963
- Ro as P,
4964
- Xo as Q,
4965
- jo as R,
4966
- dn as S,
4967
- Vo as T,
4968
- he as U,
4969
- ko as V,
4970
- Te as W,
4971
- ts as X,
4972
- Zr as Y,
4973
- Co as Z,
4974
- Qo as _,
4975
- wr as a,
4976
- qo as a0,
4977
- zo as a1,
4978
- Oo as a2,
4979
- Ur as a3,
4980
- Yo as a4,
4981
- In as a5,
4982
- es as a6,
4983
- ns as a7,
4984
- Fo as a8,
4985
- is as a9,
4986
- Vr as b,
4987
- Qt as c,
4988
- G as d,
4989
- A as e,
4912
+ ne as $,
4913
+ bo as A,
4914
+ po as B,
4915
+ ce as C,
4916
+ Yo as D,
4917
+ Vo as E,
4918
+ Mo as F,
4919
+ Lo as G,
4920
+ Bo as H,
4921
+ Po as I,
4922
+ Oo as J,
4923
+ Ao as K,
4924
+ rr as L,
4925
+ zo as M,
4926
+ Co as N,
4927
+ qo as O,
4928
+ No as P,
4929
+ Fo as Q,
4930
+ Uo as R,
4931
+ lr as S,
4932
+ Do as T,
4933
+ Te as U,
4934
+ Go as V,
4935
+ le as W,
4936
+ Jo as X,
4937
+ Xn as Y,
4938
+ Io as Z,
4939
+ Wo as _,
4940
+ En as a,
4941
+ Xo as a0,
4942
+ ko as a1,
4943
+ Ho as a2,
4944
+ Cn as a3,
4945
+ Zo as a4,
4946
+ Qo as a5,
4947
+ Ar as a6,
4948
+ Ko as a7,
4949
+ Ro as a8,
4950
+ es as a9,
4951
+ Fn as b,
4952
+ hr as c,
4953
+ kn as d,
4954
+ L as e,
4990
4955
  N as f,
4991
- Go as g,
4992
- K as h,
4993
- fn as i,
4994
- P as j,
4995
- L as k,
4996
- qt as l,
4997
- Wr as m,
4998
- B as n,
4999
- Wo as o,
5000
- Fr as p,
5001
- Or as q,
4956
+ A as g,
4957
+ $o as h,
4958
+ ur as i,
4959
+ jo as j,
4960
+ ee as k,
4961
+ P as l,
4962
+ Xt as m,
4963
+ Wt as n,
4964
+ B as o,
4965
+ G as p,
4966
+ Un as q,
5002
4967
  F as r,
5003
- kt as s,
5004
- le as t,
5005
- rn as u,
5006
- X as v,
5007
- Xe as w,
5008
- Dt as x,
5009
- vo as y,
5010
- _o as z
4968
+ Dt as s,
4969
+ fe as t,
4970
+ Bn as u,
4971
+ Kn as v,
4972
+ X as w,
4973
+ je as x,
4974
+ Ct as y,
4975
+ mo as z
5011
4976
  };