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

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