@everymatrix/cashier-page 1.87.26 → 1.87.102

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 (139) hide show
  1. package/components/{CashierCarousel-DsekS1gS.js → CashierCarousel-BS_3salc.js} +1328 -1321
  2. package/components/CashierCarousel-BhLbwlL5.js +5736 -0
  3. package/components/CashierCarousel-Bwhda3Gl.js +5774 -0
  4. package/components/CashierCarousel-CfPrrhkY.cjs +23 -0
  5. package/components/{CashierCarousel-BJw_SNG2.js → CashierCarousel-CyAfjImL.js} +1172 -1166
  6. package/components/CashierCarousel-GM1WPyu3.cjs +23 -0
  7. package/components/CashierError-BN1XW0cs.cjs +1 -0
  8. package/components/{CashierError-B1WXlDdK.js → CashierError-CDBKwx0N.js} +212 -206
  9. package/components/{CashierError-40KPQU2s.js → CashierError-CV6Kq3fN.js} +212 -206
  10. package/components/CashierError-CXcO-Kju.js +415 -0
  11. package/components/CashierError-CXwvUOLy.js +415 -0
  12. package/components/CashierError-D4Au4WNB.cjs +1 -0
  13. package/components/{CashierHeader-BZvqRar_.js → CashierHeader-BgAqvq1Q.js} +74 -81
  14. package/components/CashierHeader-BhGRQhkm.cjs +1 -0
  15. package/components/CashierHeader-C_Mz7ISU.js +397 -0
  16. package/components/CashierHeader-CaV1gcjZ.js +397 -0
  17. package/components/CashierHeader-CmAjJv-w.cjs +1 -0
  18. package/components/{CashierHeader-BfpTyZmQ.js → CashierHeader-DRj1BUdj.js} +78 -85
  19. package/components/{CashierIframeRedirect-CyI4soMo.js → CashierIframeRedirect-7uZKKZOy.js} +68 -68
  20. package/components/CashierIframeRedirect-B76kjw0o.js +389 -0
  21. package/components/{CashierIframeRedirect-DBSuyK9E.cjs → CashierIframeRedirect-BU-0tKNo.cjs} +1 -1
  22. package/components/{CashierIframeRedirect-2CfxTUrh.js → CashierIframeRedirect-BkvkX6Ih.js} +68 -68
  23. package/components/CashierIframeRedirect-Ddt7NW02.cjs +1 -0
  24. package/components/CashierIframeRedirect-DmvuwOL2.js +389 -0
  25. package/components/{CashierMethodDetails-U6L33HpX.cjs → CashierMethodDetails-BEykktuA.cjs} +4 -4
  26. package/components/CashierMethodDetails-BX_W3rwH.js +9887 -0
  27. package/components/{CashierMethodDetails-CuQYMgbw.js → CashierMethodDetails-Bdko0TrB.js} +1574 -1574
  28. package/components/{CashierMethodDetails-DFXMp3df.js → CashierMethodDetails-C0EaNINa.js} +1611 -1611
  29. package/components/CashierMethodDetails-DmvyMFjk.cjs +85 -0
  30. package/components/CashierMethodDetails-i7grZPp4.js +9927 -0
  31. package/components/CashierMethodsList-B6tMxcnh.js +794 -0
  32. package/components/{CashierMethodsList-tRbJ56Bk.js → CashierMethodsList-CRWXDpa-.js} +263 -263
  33. package/components/{CashierMethodsList-CshlP6d7.js → CashierMethodsList-CVSYKCiY.js} +153 -153
  34. package/components/CashierMethodsList-DSq72RRw.js +809 -0
  35. package/components/CashierMethodsList-GOTxtR6r.cjs +1 -0
  36. package/components/CashierMethodsList-LHoZgwVR.cjs +1 -0
  37. package/components/{CashierModal-BCs-hvy-.js → CashierModal-B7N_nPHW.js} +162 -146
  38. package/components/CashierModal-C845c3D0.cjs +1 -0
  39. package/components/CashierModal-CTYxaPKG.js +366 -0
  40. package/components/{CashierModal-DdvNZLqY.cjs → CashierModal-Cd1uDEwu.cjs} +1 -1
  41. package/components/{CashierModal-Cyn1bRtX.js → CashierModal-KhxltwKt.js} +123 -139
  42. package/components/CashierModal-ndVMjksn.js +382 -0
  43. package/components/{CashierNotifications-CkRmBcgx.js → CashierNotifications-BmarDqdP.js} +34 -34
  44. package/components/{CashierNotifications-DfV8x-rA.js → CashierNotifications-Bp4KJnpm.js} +34 -34
  45. package/components/CashierNotifications-D4fUbROm.js +129 -0
  46. package/components/CashierNotifications-JNstA5Yb.js +129 -0
  47. package/components/{CashierNotifications-B93HkTiJ.cjs → CashierNotifications-bGhd7Jsw.cjs} +1 -1
  48. package/components/CashierNotifications-tfTPEiSk.cjs +1 -0
  49. package/components/CashierPage-4nTfbT_j.js +3994 -0
  50. package/components/{CashierPage--A8w0jWY.js → CashierPage-BSByd5RU.js} +79 -79
  51. package/components/CashierPage-Bd71Nhaq.js +4020 -0
  52. package/components/CashierPage-CHtYMgc0.cjs +1 -0
  53. package/components/{CashierPage-DJxPlCxY.js → CashierPage-CZ4TSJkx.js} +81 -81
  54. package/components/{CashierPage-kf1tVNZU.cjs → CashierPage-DfrmhWzm.cjs} +1 -1
  55. package/components/{CashierReceiptPage-CZbWQvvv.js → CashierReceiptPage-BD3aDt3T.js} +492 -492
  56. package/components/{CashierReceiptPage-Bp7jFvov.cjs → CashierReceiptPage-BQpEnTyU.cjs} +2 -2
  57. package/components/CashierReceiptPage-CnyLmUmL.js +1694 -0
  58. package/components/CashierReceiptPage-DV7Iz4wR.js +1690 -0
  59. package/components/{CashierReceiptPage-CofNGFj1.js → CashierReceiptPage-DgxlKvM2.js} +518 -518
  60. package/components/CashierReceiptPage-HRthn--H.cjs +28 -0
  61. package/components/CashierSessionExpirationModal-B98EEWed.js +1198 -0
  62. package/components/CashierSessionExpirationModal-CYcBByMT.cjs +2 -0
  63. package/components/CashierSessionExpirationModal-Ckhir3qN.cjs +2 -0
  64. package/components/{CashierSessionExpirationModal-Ckh0MnJn.js → CashierSessionExpirationModal-CvYI4jUg.js} +129 -128
  65. package/components/CashierSessionExpirationModal-D6FwiFE-.js +1198 -0
  66. package/components/{CashierSessionExpirationModal-CqqS70E7.js → CashierSessionExpirationModal-DM8-SPd3.js} +131 -130
  67. package/components/CashierSpinner-C0P8ZCtD.js +78 -0
  68. package/components/{CashierSpinner-BTDAq-Gk.js → CashierSpinner-CeX51xPH.js} +17 -17
  69. package/components/CashierSpinner-CikMZBzw.cjs +1 -0
  70. package/components/CashierSpinner-DJTUb5NI.js +78 -0
  71. package/components/{CashierSpinner-yhu6RHaO.cjs → CashierSpinner-ODmoTC6W.cjs} +1 -1
  72. package/components/{CashierSpinner-C8tFNM39.js → CashierSpinner-a2VW8q1r.js} +17 -17
  73. package/components/CashierStepUp-5um8gbUX.js +1068 -0
  74. package/components/{CashierStepUp-CHNRsm-i.js → CashierStepUp-Bk5fP7qd.js} +243 -243
  75. package/components/CashierStepUp-CjnvqYJo.cjs +1 -0
  76. package/components/CashierStepUp-CxawlCYf.cjs +1 -0
  77. package/components/CashierStepUp-CyO7gmgP.js +1107 -0
  78. package/components/{CashierStepUp-BTxHmTK2.js → CashierStepUp-DS-UsgrI.js} +294 -294
  79. package/components/CashierTransactionHistory-5JNtVHcj.js +1305 -0
  80. package/components/{CashierTransactionHistory-HclQq8wA.cjs → CashierTransactionHistory-Bwc0I09a.cjs} +1 -1
  81. package/components/CashierTransactionHistory-Cm3ikVPK.js +1305 -0
  82. package/components/CashierTransactionHistory-CmgO6bXN.cjs +1 -0
  83. package/components/{CashierTransactionHistory-DTAdYC2Y.js → CashierTransactionHistory-CoqckbJ2.js} +231 -231
  84. package/components/{CashierTransactionHistory-Bd7CEoaj.js → CashierTransactionHistory-DO6C0I1a.js} +420 -420
  85. package/components/{CashierVerifications-fPErTC9e.js → CashierVerifications-B8fkVYVD.js} +88 -88
  86. package/components/CashierVerifications-BmZYiJaN.js +578 -0
  87. package/components/{CashierVerifications-b9Eeag80.js → CashierVerifications-CuX4vrPf.js} +95 -95
  88. package/components/CashierVerifications-DkayuISY.cjs +1 -0
  89. package/components/CashierVerifications-hID6hjDs.js +582 -0
  90. package/components/{CashierVerifications--VdCm0A0.cjs → CashierVerifications-mSpdNrML.cjs} +1 -1
  91. package/components/{TxnStatusIcon-Dm5lj3fd.js → TxnStatusIcon-BDnNMhFD.js} +19 -19
  92. package/components/{TxnStatusIcon-DRLLqFXC.js → TxnStatusIcon-BZMSpoHv.js} +19 -19
  93. package/components/{TxnStatusIcon-C8lEFNJK.cjs → TxnStatusIcon-C8bPyggx.cjs} +1 -1
  94. package/components/TxnStatusIcon-HrmfQdAc.js +142 -0
  95. package/components/TxnStatusIcon-Le-TBKNh.cjs +1 -0
  96. package/components/TxnStatusIcon-VvYGYLio.js +142 -0
  97. package/components/{TxnTypeIcons-CFpm5fsz.cjs → TxnTypeIcons-Cc7Yt6gg.cjs} +1 -1
  98. package/components/{TxnTypeIcons-B32Qcanf.js → TxnTypeIcons-DZRNYWUy.js} +14 -14
  99. package/components/{TxnTypeIcons-Dwfdotxd.js → TxnTypeIcons-__im0AE_.js} +14 -14
  100. package/components/TxnTypeIcons-lKki7AUK.js +101 -0
  101. package/components/TxnTypeIcons-sZUo9qa8.cjs +1 -0
  102. package/components/TxnTypeIcons-zM86UKOx.js +101 -0
  103. package/es2015/cashier-page.cjs +1 -1
  104. package/es2015/cashier-page.js +1 -1
  105. package/esnext/cashier-page.js +1 -1
  106. package/package.json +1 -1
  107. package/stencil/index-97d17652-DvplcHtm.js +558 -0
  108. package/stencil/index-97d17652-ILzgTtTR.cjs +1 -0
  109. package/stencil/index-97d17652-p-iQtjus.js +542 -0
  110. package/stencil/index-b2193545-Bvpy7mp9.js +503 -0
  111. package/stencil/index-b2193545-DxDmFccl.js +519 -0
  112. package/stencil/index-b2193545-P1qvDl70.cjs +1 -0
  113. package/stencil/{ui-image-CNaRr0ax.js → ui-image-BIr_PDb-.js} +1 -1
  114. package/stencil/{ui-image-IJc7Zz_R.cjs → ui-image-CEbrFHSD.cjs} +1 -1
  115. package/stencil/{ui-image-BsYHwNhO.js → ui-image-D69wsX4B.js} +1 -1
  116. package/stencil/{ui-image-b7b48fe5-BKRtoUuG.js → ui-image-b7b48fe5-CBB2FKRZ.js} +1 -1
  117. package/stencil/{ui-image-b7b48fe5-MC0x5ZQd.cjs → ui-image-b7b48fe5-DjCO-ZF4.cjs} +1 -1
  118. package/stencil/{ui-image-b7b48fe5-HA45CrsG.js → ui-image-b7b48fe5-rCWcyktd.js} +1 -1
  119. package/stencil/{ui-image_2-Daq38JGa.js → ui-image_2-BESQEo1l.js} +2 -2
  120. package/stencil/{ui-image_2-CmVho0dS.js → ui-image_2-BfZmduAK.js} +2 -2
  121. package/stencil/{ui-image_2-CyqE6j_W.cjs → ui-image_2-ZFidgTXM.cjs} +1 -1
  122. package/stencil/{ui-skeleton-UxIIZ8UD.cjs → ui-skeleton-CTOStr1f.cjs} +1 -1
  123. package/stencil/{ui-skeleton-CQ-FgYMx.js → ui-skeleton-UELn0TdO.js} +2 -2
  124. package/stencil/{ui-skeleton-ed169f8f-BEwquWmd.cjs → ui-skeleton-ed169f8f-6tILWWI7.cjs} +1 -1
  125. package/stencil/{ui-skeleton-ed169f8f-BMrkXoR5.js → ui-skeleton-ed169f8f-DU5yFWqG.js} +1 -1
  126. package/stencil/{ui-skeleton-ed169f8f-BNn31z1X.js → ui-skeleton-ed169f8f-DmzkEnLt.js} +1 -1
  127. package/stencil/{ui-skeleton-B9YTz-WD.js → ui-skeleton-i8axfHXy.js} +2 -2
  128. package/components/CashierCarousel-Uqj8lOn9.cjs +0 -23
  129. package/components/CashierError-BOmVvy3N.cjs +0 -1
  130. package/components/CashierHeader-B7XYr24D.cjs +0 -1
  131. package/components/CashierMethodsList-DueBSlwx.cjs +0 -1
  132. package/components/CashierSessionExpirationModal-kLS8veZV.cjs +0 -2
  133. package/components/CashierStepUp-FR5Znqdo.cjs +0 -1
  134. package/stencil/index-97d17652-B6BYeRne.js +0 -542
  135. package/stencil/index-97d17652-BOr4KAqq.js +0 -558
  136. package/stencil/index-97d17652-zTl06Vn9.cjs +0 -1
  137. package/stencil/index-b2193545-B5Q7rnAU.cjs +0 -1
  138. package/stencil/index-b2193545-CF_fVoFe.js +0 -519
  139. package/stencil/index-b2193545-DfttkCgg.js +0 -503
@@ -1,7 +1,7 @@
1
- function O() {
1
+ function N() {
2
2
  }
3
- const It = (e) => e;
4
- function vn(e, t) {
3
+ const Lt = (e) => e;
4
+ function _n(e, t) {
5
5
  for (const r in t)
6
6
  e[r] = t[r];
7
7
  return (
@@ -9,54 +9,54 @@ function vn(e, t) {
9
9
  e
10
10
  );
11
11
  }
12
- function Tr(e) {
12
+ function Sr(e) {
13
13
  return e();
14
14
  }
15
- function Wt() {
15
+ function Xt() {
16
16
  return /* @__PURE__ */ Object.create(null);
17
17
  }
18
18
  function W(e) {
19
- e.forEach(Tr);
19
+ e.forEach(Sr);
20
20
  }
21
- function se(e) {
21
+ function oe(e) {
22
22
  return typeof e == "function";
23
23
  }
24
- function Ar(e, t) {
24
+ function Tr(e, t) {
25
25
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
26
26
  }
27
- let Re;
28
- function zt(e, t) {
29
- return e === t ? !0 : (Re || (Re = document.createElement("a")), Re.href = t, e === Re.href);
27
+ let $e;
28
+ function Wt(e, t) {
29
+ return e === t ? !0 : ($e || ($e = document.createElement("a")), $e.href = t, e === $e.href);
30
30
  }
31
- function _n(e) {
31
+ function En(e) {
32
32
  return Object.keys(e).length === 0;
33
33
  }
34
- function Dt(e, ...t) {
34
+ function Nt(e, ...t) {
35
35
  if (e == null) {
36
36
  for (const n of t)
37
37
  n(void 0);
38
- return O;
38
+ return N;
39
39
  }
40
40
  const r = e.subscribe(...t);
41
41
  return r.unsubscribe ? () => r.unsubscribe() : r;
42
42
  }
43
- function os(e) {
43
+ function as(e) {
44
44
  let t;
45
- return Dt(e, (r) => t = r)(), t;
45
+ return Nt(e, (r) => t = r)(), t;
46
46
  }
47
- function En(e, t, r) {
48
- e.$$.on_destroy.push(Dt(t, r));
47
+ function xn(e, t, r) {
48
+ e.$$.on_destroy.push(Nt(t, r));
49
49
  }
50
- function ss(e, t, r, n) {
50
+ function us(e, t, r, n) {
51
51
  if (e) {
52
- const i = Cr(e, t, r, n);
52
+ const i = Ar(e, t, r, n);
53
53
  return e[0](i);
54
54
  }
55
55
  }
56
- function Cr(e, t, r, n) {
57
- return e[1] && n ? vn(r.ctx.slice(), e[1](n(t))) : r.ctx;
56
+ function Ar(e, t, r, n) {
57
+ return e[1] && n ? _n(r.ctx.slice(), e[1](n(t))) : r.ctx;
58
58
  }
59
- function as(e, t, r, n) {
59
+ function ls(e, t, r, n) {
60
60
  if (e[2] && n) {
61
61
  const i = e[2](n(r));
62
62
  if (t.dirty === void 0)
@@ -71,13 +71,13 @@ function as(e, t, r, n) {
71
71
  }
72
72
  return t.dirty;
73
73
  }
74
- function us(e, t, r, n, i, o) {
74
+ function cs(e, t, r, n, i, o) {
75
75
  if (i) {
76
- const a = Cr(t, r, n, o);
76
+ const a = Ar(t, r, n, o);
77
77
  e.p(a, i);
78
78
  }
79
79
  }
80
- function ls(e) {
80
+ function hs(e) {
81
81
  if (e.ctx.length > 32) {
82
82
  const t = [], r = e.ctx.length / 32;
83
83
  for (let n = 0; n < r; n++)
@@ -86,46 +86,46 @@ function ls(e) {
86
86
  }
87
87
  return -1;
88
88
  }
89
- function cs(e) {
89
+ function fs(e) {
90
90
  return e ?? "";
91
91
  }
92
- function hs(e) {
93
- return e && se(e.destroy) ? e.destroy : O;
92
+ function ds(e) {
93
+ return e && oe(e.destroy) ? e.destroy : N;
94
94
  }
95
- const Mr = typeof window < "u";
96
- let Rt = Mr ? () => window.performance.now() : () => Date.now(), $t = Mr ? (e) => requestAnimationFrame(e) : O;
97
- const fe = /* @__PURE__ */ new Set();
98
- function Hr(e) {
99
- fe.forEach((t) => {
100
- t.c(e) || (fe.delete(t), t.f());
101
- }), fe.size !== 0 && $t(Hr);
95
+ const Cr = typeof window < "u";
96
+ let Ot = Cr ? () => window.performance.now() : () => Date.now(), It = Cr ? (e) => requestAnimationFrame(e) : N;
97
+ const pe = /* @__PURE__ */ new Set();
98
+ function Mr(e) {
99
+ pe.forEach((t) => {
100
+ t.c(e) || (pe.delete(t), t.f());
101
+ }), pe.size !== 0 && It(Mr);
102
102
  }
103
- function Ut(e) {
103
+ function Dt(e) {
104
104
  let t;
105
- return fe.size === 0 && $t(Hr), {
105
+ return pe.size === 0 && It(Mr), {
106
106
  promise: new Promise((r) => {
107
- fe.add(t = { c: e, f: r });
107
+ pe.add(t = { c: e, f: r });
108
108
  }),
109
109
  abort() {
110
- fe.delete(t);
110
+ pe.delete(t);
111
111
  }
112
112
  };
113
113
  }
114
- const fs = typeof window < "u" ? window : typeof globalThis < "u" ? globalThis : (
114
+ const ms = typeof window < "u" ? window : typeof globalThis < "u" ? globalThis : (
115
115
  // @ts-ignore Node typings have this
116
116
  global
117
117
  );
118
- function x(e, t) {
118
+ function w(e, t) {
119
119
  e.appendChild(t);
120
120
  }
121
- function xn(e, t, r) {
122
- const n = Ft(e);
121
+ function wn(e, t, r) {
122
+ const n = Rt(e);
123
123
  if (!n.getElementById(t)) {
124
124
  const i = M("style");
125
- i.id = t, i.textContent = r, Pr(n, i);
125
+ i.id = t, i.textContent = r, Hr(n, i);
126
126
  }
127
127
  }
128
- function Ft(e) {
128
+ function Rt(e) {
129
129
  if (!e)
130
130
  return document;
131
131
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -135,12 +135,12 @@ function Ft(e) {
135
135
  t
136
136
  ) : e.ownerDocument;
137
137
  }
138
- function wn(e) {
138
+ function Sn(e) {
139
139
  const t = M("style");
140
- return t.textContent = "/* empty */", Pr(Ft(e), t), t.sheet;
140
+ return t.textContent = "/* empty */", Hr(Rt(e), t), t.sheet;
141
141
  }
142
- function Pr(e, t) {
143
- return x(
142
+ function Hr(e, t) {
143
+ return w(
144
144
  /** @type {Document} */
145
145
  e.head || e,
146
146
  t
@@ -152,7 +152,7 @@ function X(e, t, r) {
152
152
  function $(e) {
153
153
  e.parentNode && e.parentNode.removeChild(e);
154
154
  }
155
- function Zt(e, t) {
155
+ function zt(e, t) {
156
156
  for (let r = 0; r < e.length; r += 1)
157
157
  e[r] && e[r].d(t);
158
158
  }
@@ -168,18 +168,18 @@ function G(e) {
168
168
  function F() {
169
169
  return G(" ");
170
170
  }
171
- function ds() {
171
+ function bs() {
172
172
  return G("");
173
173
  }
174
- function q(e, t, r, n) {
174
+ function J(e, t, r, n) {
175
175
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
176
176
  }
177
- function ms(e) {
177
+ function gs(e) {
178
178
  return function(t) {
179
179
  return t.preventDefault(), e.call(this, t);
180
180
  };
181
181
  }
182
- function bs(e) {
182
+ function ys(e) {
183
183
  return function(t) {
184
184
  return t.stopPropagation(), e.call(this, t);
185
185
  };
@@ -187,48 +187,48 @@ function bs(e) {
187
187
  function P(e, t, r) {
188
188
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
189
189
  }
190
- function gs(e, t, r) {
190
+ function vs(e, t, r) {
191
191
  const n = t.toLowerCase();
192
192
  n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : P(e, t, r);
193
193
  }
194
- function ys(e) {
194
+ function _s(e) {
195
195
  return e === "" ? null : +e;
196
196
  }
197
- function Sn(e) {
197
+ function Tn(e) {
198
198
  return Array.from(e.childNodes);
199
199
  }
200
- function Q(e, t) {
200
+ function z(e, t) {
201
201
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
202
202
  t);
203
203
  }
204
- function vs(e, t) {
204
+ function Es(e, t) {
205
205
  e.value = t ?? "";
206
206
  }
207
- function _s(e, t, r, n) {
207
+ function xs(e, t, r, n) {
208
208
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
209
209
  }
210
- let $e;
211
- function Tn() {
212
- if ($e === void 0) {
213
- $e = !1;
210
+ let Ue;
211
+ function An() {
212
+ if (Ue === void 0) {
213
+ Ue = !1;
214
214
  try {
215
215
  typeof window < "u" && window.parent && window.parent.document;
216
216
  } catch {
217
- $e = !0;
217
+ Ue = !0;
218
218
  }
219
219
  }
220
- return $e;
220
+ return Ue;
221
221
  }
222
- function An(e, t) {
222
+ function Cn(e, t) {
223
223
  getComputedStyle(e).position === "static" && (e.style.position = "relative");
224
224
  const n = M("iframe");
225
225
  n.setAttribute(
226
226
  "style",
227
227
  "display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"
228
228
  ), n.setAttribute("aria-hidden", "true"), n.tabIndex = -1;
229
- const i = Tn();
229
+ const i = An();
230
230
  let o;
231
- return i ? (n.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", o = q(
231
+ return i ? (n.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", o = J(
232
232
  window,
233
233
  "message",
234
234
  /** @param {MessageEvent} event */
@@ -236,18 +236,18 @@ function An(e, t) {
236
236
  a.source === n.contentWindow && t();
237
237
  }
238
238
  )) : (n.src = "about:blank", n.onload = () => {
239
- o = q(n.contentWindow, "resize", t), t();
240
- }), x(e, n), () => {
239
+ o = J(n.contentWindow, "resize", t), t();
240
+ }), w(e, n), () => {
241
241
  (i || o && n.contentWindow) && o(), $(n);
242
242
  };
243
243
  }
244
- function Es(e, t, r) {
244
+ function ws(e, t, r) {
245
245
  e.classList.toggle(t, !!r);
246
246
  }
247
- function Cn(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
247
+ function Mn(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
248
248
  return new CustomEvent(e, { detail: t, bubbles: r, cancelable: n });
249
249
  }
250
- function Mn(e) {
250
+ function Hn(e) {
251
251
  const t = {};
252
252
  return e.childNodes.forEach(
253
253
  /** @param {Element} node */
@@ -256,130 +256,130 @@ function Mn(e) {
256
256
  }
257
257
  ), t;
258
258
  }
259
- const Ke = /* @__PURE__ */ new Map();
260
- let Ye = 0;
261
- function Hn(e) {
259
+ const Ye = /* @__PURE__ */ new Map();
260
+ let Je = 0;
261
+ function Pn(e) {
262
262
  let t = 5381, r = e.length;
263
263
  for (; r--; )
264
264
  t = (t << 5) - t ^ e.charCodeAt(r);
265
265
  return t >>> 0;
266
266
  }
267
- function Pn(e, t) {
268
- const r = { stylesheet: wn(t), rules: {} };
269
- return Ke.set(e, r), r;
267
+ function Bn(e, t) {
268
+ const r = { stylesheet: Sn(t), rules: {} };
269
+ return Ye.set(e, r), r;
270
270
  }
271
- function Je(e, t, r, n, i, o, a, s = 0) {
271
+ function qe(e, t, r, n, i, o, a, s = 0) {
272
272
  const l = 16.666 / n;
273
273
  let u = `{
274
274
  `;
275
275
  for (let y = 0; y <= 1; y += l) {
276
- const _ = t + (r - t) * o(y);
277
- u += y * 100 + `%{${a(_, 1 - _)}}
276
+ const E = t + (r - t) * o(y);
277
+ u += y * 100 + `%{${a(E, 1 - E)}}
278
278
  `;
279
279
  }
280
280
  const c = u + `100% {${a(r, 1 - r)}}
281
- }`, p = `__svelte_${Hn(c)}_${s}`, h = Ft(e), { stylesheet: b, rules: f } = Ke.get(h) || Pn(h, e);
282
- f[p] || (f[p] = !0, b.insertRule(`@keyframes ${p} ${c}`, b.cssRules.length));
283
- const d = e.style.animation || "";
284
- return e.style.animation = `${d ? `${d}, ` : ""}${p} ${n}ms linear ${i}ms 1 both`, Ye += 1, p;
281
+ }`, d = `__svelte_${Pn(c)}_${s}`, h = Rt(e), { stylesheet: b, rules: f } = Ye.get(h) || Bn(h, e);
282
+ f[d] || (f[d] = !0, b.insertRule(`@keyframes ${d} ${c}`, b.cssRules.length));
283
+ const m = e.style.animation || "";
284
+ return e.style.animation = `${m ? `${m}, ` : ""}${d} ${n}ms linear ${i}ms 1 both`, Je += 1, d;
285
285
  }
286
- function qe(e, t) {
286
+ function et(e, t) {
287
287
  const r = (e.style.animation || "").split(", "), n = r.filter(
288
288
  t ? (o) => o.indexOf(t) < 0 : (o) => o.indexOf("__svelte") === -1
289
289
  // remove all Svelte animations
290
290
  ), i = r.length - n.length;
291
- i && (e.style.animation = n.join(", "), Ye -= i, Ye || Bn());
291
+ i && (e.style.animation = n.join(", "), Je -= i, Je || Ln());
292
292
  }
293
- function Bn() {
294
- $t(() => {
295
- Ye || (Ke.forEach((e) => {
293
+ function Ln() {
294
+ It(() => {
295
+ Je || (Ye.forEach((e) => {
296
296
  const { ownerNode: t } = e.stylesheet;
297
297
  t && $(t);
298
- }), Ke.clear());
298
+ }), Ye.clear());
299
299
  });
300
300
  }
301
- let Me;
302
- function Ce(e) {
303
- Me = e;
301
+ let Be;
302
+ function Pe(e) {
303
+ Be = e;
304
304
  }
305
- function Br() {
306
- if (!Me)
305
+ function Pr() {
306
+ if (!Be)
307
307
  throw new Error("Function called outside component initialization");
308
- return Me;
308
+ return Be;
309
309
  }
310
- function On(e) {
311
- Br().$$.on_mount.push(e);
310
+ function Nn(e) {
311
+ Pr().$$.on_mount.push(e);
312
312
  }
313
- function xs(e) {
314
- Br().$$.on_destroy.push(e);
313
+ function Ss(e) {
314
+ Pr().$$.on_destroy.push(e);
315
315
  }
316
- function ws(e, t) {
316
+ function Ts(e, t) {
317
317
  const r = e.$$.callbacks[t.type];
318
318
  r && r.slice().forEach((n) => n.call(this, t));
319
319
  }
320
- const he = [], et = [];
321
- let pe = [];
322
- const Qt = [], Or = /* @__PURE__ */ Promise.resolve();
323
- let _t = !1;
324
- function Nr() {
325
- _t || (_t = !0, Or.then(U));
320
+ const de = [], tt = [];
321
+ let be = [];
322
+ const Zt = [], Br = /* @__PURE__ */ Promise.resolve();
323
+ let vt = !1;
324
+ function Lr() {
325
+ vt || (vt = !0, Br.then(U));
326
326
  }
327
- function Ss() {
328
- return Nr(), Or;
327
+ function As() {
328
+ return Lr(), Br;
329
329
  }
330
- function oe(e) {
331
- pe.push(e);
330
+ function ie(e) {
331
+ be.push(e);
332
332
  }
333
- const ft = /* @__PURE__ */ new Set();
334
- let le = 0;
333
+ const ht = /* @__PURE__ */ new Set();
334
+ let he = 0;
335
335
  function U() {
336
- if (le !== 0)
336
+ if (he !== 0)
337
337
  return;
338
- const e = Me;
338
+ const e = Be;
339
339
  do {
340
340
  try {
341
- for (; le < he.length; ) {
342
- const t = he[le];
343
- le++, Ce(t), Nn(t.$$);
341
+ for (; he < de.length; ) {
342
+ const t = de[he];
343
+ he++, Pe(t), On(t.$$);
344
344
  }
345
345
  } catch (t) {
346
- throw he.length = 0, le = 0, t;
346
+ throw de.length = 0, he = 0, t;
347
347
  }
348
- for (Ce(null), he.length = 0, le = 0; et.length; )
349
- et.pop()();
350
- for (let t = 0; t < pe.length; t += 1) {
351
- const r = pe[t];
352
- ft.has(r) || (ft.add(r), r());
348
+ for (Pe(null), de.length = 0, he = 0; tt.length; )
349
+ tt.pop()();
350
+ for (let t = 0; t < be.length; t += 1) {
351
+ const r = be[t];
352
+ ht.has(r) || (ht.add(r), r());
353
353
  }
354
- pe.length = 0;
355
- } while (he.length);
356
- for (; Qt.length; )
357
- Qt.pop()();
358
- _t = !1, ft.clear(), Ce(e);
354
+ be.length = 0;
355
+ } while (de.length);
356
+ for (; Zt.length; )
357
+ Zt.pop()();
358
+ vt = !1, ht.clear(), Pe(e);
359
359
  }
360
- function Nn(e) {
360
+ function On(e) {
361
361
  if (e.fragment !== null) {
362
362
  e.update(), W(e.before_update);
363
363
  const t = e.dirty;
364
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(oe);
364
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(ie);
365
365
  }
366
366
  }
367
- function Ln(e) {
367
+ function In(e) {
368
368
  const t = [], r = [];
369
- pe.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), pe = t;
369
+ be.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), be = t;
370
370
  }
371
- let xe;
372
- function Gt() {
373
- return xe || (xe = Promise.resolve(), xe.then(() => {
374
- xe = null;
375
- })), xe;
371
+ let Te;
372
+ function $t() {
373
+ return Te || (Te = Promise.resolve(), Te.then(() => {
374
+ Te = null;
375
+ })), Te;
376
376
  }
377
- function ie(e, t, r) {
378
- e.dispatchEvent(Cn(`${t ? "intro" : "outro"}${r}`));
377
+ function ne(e, t, r) {
378
+ e.dispatchEvent(Mn(`${t ? "intro" : "outro"}${r}`));
379
379
  }
380
- const Ve = /* @__PURE__ */ new Set();
380
+ const Xe = /* @__PURE__ */ new Set();
381
381
  let V;
382
- function Ts() {
382
+ function Cs() {
383
383
  V = {
384
384
  r: 0,
385
385
  c: [],
@@ -387,65 +387,65 @@ function Ts() {
387
387
  // parent group
388
388
  };
389
389
  }
390
- function As() {
390
+ function Ms() {
391
391
  V.r || W(V.c), V = V.p;
392
392
  }
393
- function Lr(e, t) {
394
- e && e.i && (Ve.delete(e), e.i(t));
393
+ function Nr(e, t) {
394
+ e && e.i && (Xe.delete(e), e.i(t));
395
395
  }
396
- function Cs(e, t, r, n) {
396
+ function Hs(e, t, r, n) {
397
397
  if (e && e.o) {
398
- if (Ve.has(e))
398
+ if (Xe.has(e))
399
399
  return;
400
- Ve.add(e), V.c.push(() => {
401
- Ve.delete(e), n && (r && e.d(1), n());
400
+ Xe.add(e), V.c.push(() => {
401
+ Xe.delete(e), n && (r && e.d(1), n());
402
402
  }), e.o(t);
403
403
  } else
404
404
  n && n();
405
405
  }
406
- const jt = { duration: 0 };
407
- function Ms(e, t, r) {
406
+ const Ut = { duration: 0 };
407
+ function Ps(e, t, r) {
408
408
  const n = { direction: "in" };
409
409
  let i = t(e, r, n), o = !1, a, s, l = 0;
410
410
  function u() {
411
- a && qe(e, a);
411
+ a && et(e, a);
412
412
  }
413
413
  function c() {
414
414
  const {
415
415
  delay: h = 0,
416
416
  duration: b = 300,
417
- easing: f = It,
418
- tick: d = O,
417
+ easing: f = Lt,
418
+ tick: m = N,
419
419
  css: y
420
- } = i || jt;
421
- y && (a = Je(e, 0, 1, b, h, f, y, l++)), d(0, 1);
422
- const _ = Rt() + h, m = _ + b;
423
- s && s.abort(), o = !0, oe(() => ie(e, !0, "start")), s = Ut((E) => {
420
+ } = i || Ut;
421
+ y && (a = qe(e, 0, 1, b, h, f, y, l++)), m(0, 1);
422
+ const E = Ot() + h, p = E + b;
423
+ s && s.abort(), o = !0, ie(() => ne(e, !0, "start")), s = Dt((v) => {
424
424
  if (o) {
425
- if (E >= m)
426
- return d(1, 0), ie(e, !0, "end"), u(), o = !1;
427
- if (E >= _) {
428
- const g = f((E - _) / b);
429
- d(g, 1 - g);
425
+ if (v >= p)
426
+ return m(1, 0), ne(e, !0, "end"), u(), o = !1;
427
+ if (v >= E) {
428
+ const g = f((v - E) / b);
429
+ m(g, 1 - g);
430
430
  }
431
431
  }
432
432
  return o;
433
433
  });
434
434
  }
435
- let p = !1;
435
+ let d = !1;
436
436
  return {
437
437
  start() {
438
- p || (p = !0, qe(e), se(i) ? (i = i(n), Gt().then(c)) : c());
438
+ d || (d = !0, et(e), oe(i) ? (i = i(n), $t().then(c)) : c());
439
439
  },
440
440
  invalidate() {
441
- p = !1;
441
+ d = !1;
442
442
  },
443
443
  end() {
444
444
  o && (u(), o = !1);
445
445
  }
446
446
  };
447
447
  }
448
- function Hs(e, t, r) {
448
+ function Bs(e, t, r) {
449
449
  const n = { direction: "out" };
450
450
  let i = t(e, r, n), o = !0, a;
451
451
  const s = V;
@@ -454,81 +454,81 @@ function Hs(e, t, r) {
454
454
  function u() {
455
455
  const {
456
456
  delay: c = 0,
457
- duration: p = 300,
458
- easing: h = It,
459
- tick: b = O,
457
+ duration: d = 300,
458
+ easing: h = Lt,
459
+ tick: b = N,
460
460
  css: f
461
- } = i || jt;
462
- f && (a = Je(e, 1, 0, p, c, h, f));
463
- const d = Rt() + c, y = d + p;
464
- oe(() => ie(e, !1, "start")), "inert" in e && (l = /** @type {HTMLElement} */
465
- e.inert, e.inert = !0), Ut((_) => {
461
+ } = i || Ut;
462
+ f && (a = qe(e, 1, 0, d, c, h, f));
463
+ const m = Ot() + c, y = m + d;
464
+ ie(() => ne(e, !1, "start")), "inert" in e && (l = /** @type {HTMLElement} */
465
+ e.inert, e.inert = !0), Dt((E) => {
466
466
  if (o) {
467
- if (_ >= y)
468
- return b(0, 1), ie(e, !1, "end"), --s.r || W(s.c), !1;
469
- if (_ >= d) {
470
- const m = h((_ - d) / p);
471
- b(1 - m, m);
467
+ if (E >= y)
468
+ return b(0, 1), ne(e, !1, "end"), --s.r || W(s.c), !1;
469
+ if (E >= m) {
470
+ const p = h((E - m) / d);
471
+ b(1 - p, p);
472
472
  }
473
473
  }
474
474
  return o;
475
475
  });
476
476
  }
477
- return se(i) ? Gt().then(() => {
477
+ return oe(i) ? $t().then(() => {
478
478
  i = i(n), u();
479
479
  }) : u(), {
480
480
  end(c) {
481
- c && "inert" in e && (e.inert = l), c && i.tick && i.tick(1, 0), o && (a && qe(e, a), o = !1);
481
+ c && "inert" in e && (e.inert = l), c && i.tick && i.tick(1, 0), o && (a && et(e, a), o = !1);
482
482
  }
483
483
  };
484
484
  }
485
- function Ps(e, t, r, n) {
485
+ function Ls(e, t, r, n) {
486
486
  let o = t(e, r, { direction: "both" }), a = n ? 0 : 1, s = null, l = null, u = null, c;
487
- function p() {
488
- u && qe(e, u);
487
+ function d() {
488
+ u && et(e, u);
489
489
  }
490
- function h(f, d) {
490
+ function h(f, m) {
491
491
  const y = (
492
492
  /** @type {Program['d']} */
493
493
  f.b - a
494
494
  );
495
- return d *= Math.abs(y), {
495
+ return m *= Math.abs(y), {
496
496
  a,
497
497
  b: f.b,
498
498
  d: y,
499
- duration: d,
499
+ duration: m,
500
500
  start: f.start,
501
- end: f.start + d,
501
+ end: f.start + m,
502
502
  group: f.group
503
503
  };
504
504
  }
505
505
  function b(f) {
506
506
  const {
507
- delay: d = 0,
507
+ delay: m = 0,
508
508
  duration: y = 300,
509
- easing: _ = It,
510
- tick: m = O,
511
- css: E
512
- } = o || jt, g = {
513
- start: Rt() + d,
509
+ easing: E = Lt,
510
+ tick: p = N,
511
+ css: v
512
+ } = o || Ut, g = {
513
+ start: Ot() + m,
514
514
  b: f
515
515
  };
516
516
  f || (g.group = V, V.r += 1), "inert" in e && (f ? c !== void 0 && (e.inert = c) : (c = /** @type {HTMLElement} */
517
- e.inert, e.inert = !0)), s || l ? l = g : (E && (p(), u = Je(e, a, f, y, d, _, E)), f && m(0, 1), s = h(g, y), oe(() => ie(e, f, "start")), Ut((T) => {
518
- if (l && T > l.start && (s = h(l, y), l = null, ie(e, s.b, "start"), E && (p(), u = Je(
517
+ e.inert, e.inert = !0)), s || l ? l = g : (v && (d(), u = qe(e, a, f, y, m, E, v)), f && p(0, 1), s = h(g, y), ie(() => ne(e, f, "start")), Dt((C) => {
518
+ if (l && C > l.start && (s = h(l, y), l = null, ne(e, s.b, "start"), v && (d(), u = qe(
519
519
  e,
520
520
  a,
521
521
  s.b,
522
522
  s.duration,
523
523
  0,
524
- _,
524
+ E,
525
525
  o.css
526
526
  ))), s) {
527
- if (T >= s.end)
528
- m(a = s.b, 1 - a), ie(e, s.b, "end"), l || (s.b ? p() : --s.group.r || W(s.group.c)), s = null;
529
- else if (T >= s.start) {
530
- const A = T - s.start;
531
- a = s.a + s.d * _(A / s.duration), m(a, 1 - a);
527
+ if (C >= s.end)
528
+ p(a = s.b, 1 - a), ne(e, s.b, "end"), l || (s.b ? d() : --s.group.r || W(s.group.c)), s = null;
529
+ else if (C >= s.start) {
530
+ const L = C - s.start;
531
+ a = s.a + s.d * E(L / s.duration), p(a, 1 - a);
532
532
  }
533
533
  }
534
534
  return !!(s || l);
@@ -536,76 +536,76 @@ function Ps(e, t, r, n) {
536
536
  }
537
537
  return {
538
538
  run(f) {
539
- se(o) ? Gt().then(() => {
539
+ oe(o) ? $t().then(() => {
540
540
  o = o({ direction: f ? "in" : "out" }), b(f);
541
541
  }) : b(f);
542
542
  },
543
543
  end() {
544
- p(), s = l = null;
544
+ d(), s = l = null;
545
545
  }
546
546
  };
547
547
  }
548
- function Ue(e) {
548
+ function Fe(e) {
549
549
  return e?.length !== void 0 ? e : Array.from(e);
550
550
  }
551
- function Bs(e, t) {
551
+ function Ns(e, t) {
552
552
  e.d(1), t.delete(e.key);
553
553
  }
554
- function Os(e, t, r, n, i, o, a, s, l, u, c, p) {
554
+ function Os(e, t, r, n, i, o, a, s, l, u, c, d) {
555
555
  let h = e.length, b = o.length, f = h;
556
- const d = {};
556
+ const m = {};
557
557
  for (; f--; )
558
- d[e[f].key] = f;
559
- const y = [], _ = /* @__PURE__ */ new Map(), m = /* @__PURE__ */ new Map(), E = [];
558
+ m[e[f].key] = f;
559
+ const y = [], E = /* @__PURE__ */ new Map(), p = /* @__PURE__ */ new Map(), v = [];
560
560
  for (f = b; f--; ) {
561
- const C = p(i, o, f), N = r(C);
562
- let L = a.get(N);
563
- L ? E.push(() => L.p(C, t)) : (L = u(N, C), L.c()), _.set(N, y[f] = L), N in d && m.set(N, Math.abs(f - d[N]));
561
+ const x = d(i, o, f), B = r(x);
562
+ let I = a.get(B);
563
+ I ? v.push(() => I.p(x, t)) : (I = u(B, x), I.c()), E.set(B, y[f] = I), B in m && p.set(B, Math.abs(f - m[B]));
564
564
  }
565
- const g = /* @__PURE__ */ new Set(), T = /* @__PURE__ */ new Set();
566
- function A(C) {
567
- Lr(C, 1), C.m(s, c), a.set(C.key, C), c = C.first, b--;
565
+ const g = /* @__PURE__ */ new Set(), C = /* @__PURE__ */ new Set();
566
+ function L(x) {
567
+ Nr(x, 1), x.m(s, c), a.set(x.key, x), c = x.first, b--;
568
568
  }
569
569
  for (; h && b; ) {
570
- const C = y[b - 1], N = e[h - 1], L = C.key, z = N.key;
571
- C === N ? (c = C.first, h--, b--) : _.has(z) ? !a.has(L) || g.has(L) ? A(C) : T.has(z) ? h-- : m.get(L) > m.get(z) ? (T.add(L), A(C)) : (g.add(z), h--) : (l(N, a), h--);
570
+ const x = y[b - 1], B = e[h - 1], I = x.key, j = B.key;
571
+ x === B ? (c = x.first, h--, b--) : E.has(j) ? !a.has(I) || g.has(I) ? L(x) : C.has(j) ? h-- : p.get(I) > p.get(j) ? (C.add(I), L(x)) : (g.add(j), h--) : (l(B, a), h--);
572
572
  }
573
573
  for (; h--; ) {
574
- const C = e[h];
575
- _.has(C.key) || l(C, a);
574
+ const x = e[h];
575
+ E.has(x.key) || l(x, a);
576
576
  }
577
577
  for (; b; )
578
- A(y[b - 1]);
579
- return W(E), y;
578
+ L(y[b - 1]);
579
+ return W(v), y;
580
580
  }
581
- function Ns(e) {
581
+ function Is(e) {
582
582
  e && e.c();
583
583
  }
584
- function In(e, t, r) {
584
+ function Dn(e, t, r) {
585
585
  const { fragment: n, after_update: i } = e.$$;
586
- n && n.m(t, r), oe(() => {
587
- const o = e.$$.on_mount.map(Tr).filter(se);
586
+ n && n.m(t, r), ie(() => {
587
+ const o = e.$$.on_mount.map(Sr).filter(oe);
588
588
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : W(o), e.$$.on_mount = [];
589
- }), i.forEach(oe);
589
+ }), i.forEach(ie);
590
590
  }
591
- function Dn(e, t) {
591
+ function Rn(e, t) {
592
592
  const r = e.$$;
593
- r.fragment !== null && (Ln(r.after_update), W(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
593
+ r.fragment !== null && (In(r.after_update), W(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
594
594
  }
595
- function Rn(e, t) {
596
- e.$$.dirty[0] === -1 && (he.push(e), Nr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
595
+ function $n(e, t) {
596
+ e.$$.dirty[0] === -1 && (de.push(e), Lr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
597
597
  }
598
- function $n(e, t, r, n, i, o, a = null, s = [-1]) {
599
- const l = Me;
600
- Ce(e);
598
+ function Un(e, t, r, n, i, o, a = null, s = [-1]) {
599
+ const l = Be;
600
+ Pe(e);
601
601
  const u = e.$$ = {
602
602
  fragment: null,
603
603
  ctx: [],
604
604
  // state
605
605
  props: o,
606
- update: O,
606
+ update: N,
607
607
  not_equal: i,
608
- bound: Wt(),
608
+ bound: Xt(),
609
609
  // lifecycle
610
610
  on_mount: [],
611
611
  on_destroy: [],
@@ -614,28 +614,28 @@ function $n(e, t, r, n, i, o, a = null, s = [-1]) {
614
614
  after_update: [],
615
615
  context: new Map(t.context || (l ? l.$$.context : [])),
616
616
  // everything else
617
- callbacks: Wt(),
617
+ callbacks: Xt(),
618
618
  dirty: s,
619
619
  skip_bound: !1,
620
620
  root: t.target || l.$$.root
621
621
  };
622
622
  a && a(u.root);
623
623
  let c = !1;
624
- if (u.ctx = r ? r(e, t.props || {}, (p, h, ...b) => {
624
+ if (u.ctx = r ? r(e, t.props || {}, (d, h, ...b) => {
625
625
  const f = b.length ? b[0] : h;
626
- return u.ctx && i(u.ctx[p], u.ctx[p] = f) && (!u.skip_bound && u.bound[p] && u.bound[p](f), c && Rn(e, p)), h;
626
+ return u.ctx && i(u.ctx[d], u.ctx[d] = f) && (!u.skip_bound && u.bound[d] && u.bound[d](f), c && $n(e, d)), h;
627
627
  }) : [], u.update(), c = !0, W(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
628
628
  if (t.hydrate) {
629
- const p = Sn(t.target);
630
- u.fragment && u.fragment.l(p), p.forEach($);
629
+ const d = Tn(t.target);
630
+ u.fragment && u.fragment.l(d), d.forEach($);
631
631
  } else
632
632
  u.fragment && u.fragment.c();
633
- t.intro && Lr(e.$$.fragment), In(e, t.target, t.anchor), U();
633
+ t.intro && Nr(e.$$.fragment), Dn(e, t.target, t.anchor), U();
634
634
  }
635
- Ce(l);
635
+ Pe(l);
636
636
  }
637
- let Ir;
638
- typeof HTMLElement == "function" && (Ir = class extends HTMLElement {
637
+ let Or;
638
+ typeof HTMLElement == "function" && (Or = class extends HTMLElement {
639
639
  /** The Svelte component constructor */
640
640
  $$ctor;
641
641
  /** Slots */
@@ -694,12 +694,12 @@ typeof HTMLElement == "function" && (Ir = class extends HTMLElement {
694
694
  };
695
695
  if (await Promise.resolve(), !this.$$cn || this.$$c)
696
696
  return;
697
- const t = {}, r = Mn(this);
697
+ const t = {}, r = Hn(this);
698
698
  for (const i of this.$$s)
699
699
  i in r && (t[i] = [e(i)]);
700
700
  for (const i of this.attributes) {
701
701
  const o = this.$$g_p(i.name);
702
- o in this.$$d || (this.$$d[o] = Xe(o, i.value, this.$$p_d, "toProp"));
702
+ o in this.$$d || (this.$$d[o] = We(o, i.value, this.$$p_d, "toProp"));
703
703
  }
704
704
  for (const i in this.$$p_d)
705
705
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -717,7 +717,7 @@ typeof HTMLElement == "function" && (Ir = class extends HTMLElement {
717
717
  this.$$r = !0;
718
718
  for (const i in this.$$p_d)
719
719
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
720
- const o = Xe(
720
+ const o = We(
721
721
  i,
722
722
  this.$$d[i],
723
723
  this.$$p_d,
@@ -739,7 +739,7 @@ typeof HTMLElement == "function" && (Ir = class extends HTMLElement {
739
739
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
740
740
  // and setting attributes through setAttribute etc, this is helpful
741
741
  attributeChangedCallback(e, t, r) {
742
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = Xe(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
742
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = We(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
743
743
  }
744
744
  disconnectedCallback() {
745
745
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -752,7 +752,7 @@ typeof HTMLElement == "function" && (Ir = class extends HTMLElement {
752
752
  ) || e;
753
753
  }
754
754
  });
755
- function Xe(e, t, r, n) {
755
+ function We(e, t, r, n) {
756
756
  const i = r[e]?.type;
757
757
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
758
758
  return t;
@@ -781,8 +781,8 @@ function Xe(e, t, r, n) {
781
781
  return t;
782
782
  }
783
783
  }
784
- function Un(e, t, r, n, i, o) {
785
- let a = class extends Ir {
784
+ function Fn(e, t, r, n, i, o) {
785
+ let a = class extends Or {
786
786
  constructor() {
787
787
  super(e, r, i), this.$$p_d = t;
788
788
  }
@@ -798,7 +798,7 @@ function Un(e, t, r, n, i, o) {
798
798
  return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
799
799
  },
800
800
  set(l) {
801
- l = Xe(s, l, t), this.$$d[s] = l, this.$$c?.$set({ [s]: l });
801
+ l = We(s, l, t), this.$$d[s] = l, this.$$c?.$set({ [s]: l });
802
802
  }
803
803
  });
804
804
  }), n.forEach((s) => {
@@ -810,7 +810,7 @@ function Un(e, t, r, n, i, o) {
810
810
  }), e.element = /** @type {any} */
811
811
  a, a;
812
812
  }
813
- class Fn {
813
+ class Gn {
814
814
  /**
815
815
  * ### PRIVATE API
816
816
  *
@@ -829,7 +829,7 @@ class Fn {
829
829
  $$set = void 0;
830
830
  /** @returns {void} */
831
831
  $destroy() {
832
- Dn(this, 1), this.$destroy = O;
832
+ Rn(this, 1), this.$destroy = N;
833
833
  }
834
834
  /**
835
835
  * @template {Extract<keyof Events, string>} K
@@ -838,8 +838,8 @@ class Fn {
838
838
  * @returns {() => void}
839
839
  */
840
840
  $on(t, r) {
841
- if (!se(r))
842
- return O;
841
+ if (!oe(r))
842
+ return N;
843
843
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
844
844
  return n.push(r), () => {
845
845
  const i = n.indexOf(r);
@@ -851,177 +851,191 @@ class Fn {
851
851
  * @returns {void}
852
852
  */
853
853
  $set(t) {
854
- this.$$set && !_n(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
854
+ this.$$set && !En(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
855
855
  }
856
856
  }
857
- const Gn = "4";
858
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Gn);
859
- const ce = [];
860
- function jn(e, t) {
857
+ const jn = "4";
858
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(jn);
859
+ const fe = [];
860
+ function kn(e, t) {
861
861
  return {
862
862
  subscribe: ot(e, t).subscribe
863
863
  };
864
864
  }
865
- function ot(e, t = O) {
865
+ function ot(e, t = N) {
866
866
  let r;
867
867
  const n = /* @__PURE__ */ new Set();
868
868
  function i(s) {
869
- if (Ar(e, s) && (e = s, r)) {
870
- const l = !ce.length;
869
+ if (Tr(e, s) && (e = s, r)) {
870
+ const l = !fe.length;
871
871
  for (const u of n)
872
- u[1](), ce.push(u, e);
872
+ u[1](), fe.push(u, e);
873
873
  if (l) {
874
- for (let u = 0; u < ce.length; u += 2)
875
- ce[u][0](ce[u + 1]);
876
- ce.length = 0;
874
+ for (let u = 0; u < fe.length; u += 2)
875
+ fe[u][0](fe[u + 1]);
876
+ fe.length = 0;
877
877
  }
878
878
  }
879
879
  }
880
880
  function o(s) {
881
881
  i(s(e));
882
882
  }
883
- function a(s, l = O) {
883
+ function a(s, l = N) {
884
884
  const u = [s, l];
885
- return n.add(u), n.size === 1 && (r = t(i, o) || O), s(e), () => {
885
+ return n.add(u), n.size === 1 && (r = t(i, o) || N), s(e), () => {
886
886
  n.delete(u), n.size === 0 && r && (r(), r = null);
887
887
  };
888
888
  }
889
889
  return { set: i, update: o, subscribe: a };
890
890
  }
891
- function ye(e, t, r) {
891
+ function xe(e, t, r) {
892
892
  const n = !Array.isArray(e), i = n ? [e] : e;
893
893
  if (!i.every(Boolean))
894
894
  throw new Error("derived() expects stores as input, got a falsy value");
895
895
  const o = t.length < 2;
896
- return jn(r, (a, s) => {
896
+ return kn(r, (a, s) => {
897
897
  let l = !1;
898
898
  const u = [];
899
- let c = 0, p = O;
899
+ let c = 0, d = N;
900
900
  const h = () => {
901
901
  if (c)
902
902
  return;
903
- p();
903
+ d();
904
904
  const f = t(n ? u[0] : u, a, s);
905
- o ? a(f) : p = se(f) ? f : O;
905
+ o ? a(f) : d = oe(f) ? f : N;
906
906
  }, b = i.map(
907
- (f, d) => Dt(
907
+ (f, m) => Nt(
908
908
  f,
909
909
  (y) => {
910
- u[d] = y, c &= ~(1 << d), l && h();
910
+ u[m] = y, c &= ~(1 << m), l && h();
911
911
  },
912
912
  () => {
913
- c |= 1 << d;
913
+ c |= 1 << m;
914
914
  }
915
915
  )
916
916
  );
917
917
  return l = !0, h(), function() {
918
- W(b), p(), l = !1;
918
+ W(b), d(), l = !1;
919
919
  };
920
920
  });
921
921
  }
922
- var Ls = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
923
- function kn(e) {
922
+ var Ds = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
923
+ function Vn(e) {
924
924
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
925
925
  }
926
- var Vn = function(t) {
927
- return Xn(t) && !Wn(t);
926
+ var Xn = function(t) {
927
+ return Wn(t) && !zn(t);
928
928
  };
929
- function Xn(e) {
929
+ function Wn(e) {
930
930
  return !!e && typeof e == "object";
931
931
  }
932
- function Wn(e) {
932
+ function zn(e) {
933
933
  var t = Object.prototype.toString.call(e);
934
- return t === "[object RegExp]" || t === "[object Date]" || Qn(e);
935
- }
936
- var zn = typeof Symbol == "function" && Symbol.for, Zn = zn ? Symbol.for("react.element") : 60103;
937
- function Qn(e) {
938
- return e.$$typeof === Zn;
934
+ return t === "[object RegExp]" || t === "[object Date]" || Kn(e);
939
935
  }
936
+ var Zn = typeof Symbol == "function" && Symbol.for, Qn = Zn ? Symbol.for("react.element") : 60103;
940
937
  function Kn(e) {
938
+ return e.$$typeof === Qn;
939
+ }
940
+ function Yn(e) {
941
941
  return Array.isArray(e) ? [] : {};
942
942
  }
943
- function He(e, t) {
944
- return t.clone !== !1 && t.isMergeableObject(e) ? de(Kn(e), e, t) : e;
943
+ function Le(e, t) {
944
+ return t.clone !== !1 && t.isMergeableObject(e) ? ye(Yn(e), e, t) : e;
945
945
  }
946
- function Yn(e, t, r) {
946
+ function Jn(e, t, r) {
947
947
  return e.concat(t).map(function(n) {
948
- return He(n, r);
948
+ return Le(n, r);
949
949
  });
950
950
  }
951
- function Jn(e, t) {
951
+ function qn(e, t) {
952
952
  if (!t.customMerge)
953
- return de;
953
+ return ye;
954
954
  var r = t.customMerge(e);
955
- return typeof r == "function" ? r : de;
955
+ return typeof r == "function" ? r : ye;
956
956
  }
957
- function qn(e) {
957
+ function ei(e) {
958
958
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
959
959
  return Object.propertyIsEnumerable.call(e, t);
960
960
  }) : [];
961
961
  }
962
- function Kt(e) {
963
- return Object.keys(e).concat(qn(e));
962
+ function Qt(e) {
963
+ return Object.keys(e).concat(ei(e));
964
964
  }
965
- function Dr(e, t) {
965
+ function Ir(e, t) {
966
966
  try {
967
967
  return t in e;
968
968
  } catch {
969
969
  return !1;
970
970
  }
971
971
  }
972
- function ei(e, t) {
973
- return Dr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
972
+ function ti(e, t) {
973
+ return Ir(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
974
974
  }
975
- function ti(e, t, r) {
975
+ function ri(e, t, r) {
976
976
  var n = {};
977
- return r.isMergeableObject(e) && Kt(e).forEach(function(i) {
978
- n[i] = He(e[i], r);
979
- }), Kt(t).forEach(function(i) {
980
- ei(e, i) || (Dr(e, i) && r.isMergeableObject(t[i]) ? n[i] = Jn(i, r)(e[i], t[i], r) : n[i] = He(t[i], r));
977
+ return r.isMergeableObject(e) && Qt(e).forEach(function(i) {
978
+ n[i] = Le(e[i], r);
979
+ }), Qt(t).forEach(function(i) {
980
+ ti(e, i) || (Ir(e, i) && r.isMergeableObject(t[i]) ? n[i] = qn(i, r)(e[i], t[i], r) : n[i] = Le(t[i], r));
981
981
  }), n;
982
982
  }
983
- function de(e, t, r) {
984
- r = r || {}, r.arrayMerge = r.arrayMerge || Yn, r.isMergeableObject = r.isMergeableObject || Vn, r.cloneUnlessOtherwiseSpecified = He;
983
+ function ye(e, t, r) {
984
+ r = r || {}, r.arrayMerge = r.arrayMerge || Jn, r.isMergeableObject = r.isMergeableObject || Xn, r.cloneUnlessOtherwiseSpecified = Le;
985
985
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
986
- return o ? n ? r.arrayMerge(e, t, r) : ti(e, t, r) : He(t, r);
986
+ return o ? n ? r.arrayMerge(e, t, r) : ri(e, t, r) : Le(t, r);
987
987
  }
988
- de.all = function(t, r) {
988
+ ye.all = function(t, r) {
989
989
  if (!Array.isArray(t))
990
990
  throw new Error("first argument should be an array");
991
991
  return t.reduce(function(n, i) {
992
- return de(n, i, r);
992
+ return ye(n, i, r);
993
993
  }, {});
994
994
  };
995
- var ri = de, ni = ri;
996
- const ii = /* @__PURE__ */ kn(ni);
997
- var Et = function(e, t) {
998
- return Et = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
995
+ var ni = ye, ii = ni;
996
+ const oi = /* @__PURE__ */ Vn(ii);
997
+ /*! *****************************************************************************
998
+ Copyright (c) Microsoft Corporation.
999
+
1000
+ Permission to use, copy, modify, and/or distribute this software for any
1001
+ purpose with or without fee is hereby granted.
1002
+
1003
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
1004
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
1005
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
1006
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
1007
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
1008
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
1009
+ PERFORMANCE OF THIS SOFTWARE.
1010
+ ***************************************************************************** */
1011
+ var _t = function(e, t) {
1012
+ return _t = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
999
1013
  r.__proto__ = n;
1000
1014
  } || function(r, n) {
1001
1015
  for (var i in n)
1002
1016
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1003
- }, Et(e, t);
1017
+ }, _t(e, t);
1004
1018
  };
1005
- function st(e, t) {
1019
+ function Q(e, t) {
1006
1020
  if (typeof t != "function" && t !== null)
1007
1021
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1008
- Et(e, t);
1022
+ _t(e, t);
1009
1023
  function r() {
1010
1024
  this.constructor = e;
1011
1025
  }
1012
1026
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1013
1027
  }
1014
- var k = function() {
1015
- return k = Object.assign || function(t) {
1028
+ var A = function() {
1029
+ return A = Object.assign || function(t) {
1016
1030
  for (var r, n = 1, i = arguments.length; n < i; n++) {
1017
1031
  r = arguments[n];
1018
1032
  for (var o in r)
1019
1033
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1020
1034
  }
1021
1035
  return t;
1022
- }, k.apply(this, arguments);
1036
+ }, A.apply(this, arguments);
1023
1037
  };
1024
- function oi(e, t) {
1038
+ function si(e, t) {
1025
1039
  var r = {};
1026
1040
  for (var n in e)
1027
1041
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -1030,119 +1044,143 @@ function oi(e, t) {
1030
1044
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1031
1045
  return r;
1032
1046
  }
1033
- function pt(e, t, r) {
1047
+ function Et(e) {
1048
+ var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
1049
+ if (r)
1050
+ return r.call(e);
1051
+ if (e && typeof e.length == "number")
1052
+ return {
1053
+ next: function() {
1054
+ return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
1055
+ }
1056
+ };
1057
+ throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
1058
+ }
1059
+ function xt(e, t) {
1060
+ var r = typeof Symbol == "function" && e[Symbol.iterator];
1061
+ if (!r)
1062
+ return e;
1063
+ var n = r.call(e), i, o = [], a;
1064
+ try {
1065
+ for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
1066
+ o.push(i.value);
1067
+ } catch (s) {
1068
+ a = { error: s };
1069
+ } finally {
1070
+ try {
1071
+ i && !i.done && (r = n.return) && r.call(n);
1072
+ } finally {
1073
+ if (a)
1074
+ throw a.error;
1075
+ }
1076
+ }
1077
+ return o;
1078
+ }
1079
+ function ge(e, t, r) {
1034
1080
  if (r || arguments.length === 2)
1035
1081
  for (var n = 0, i = t.length, o; n < i; n++)
1036
1082
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1037
- return e.concat(o || Array.prototype.slice.call(t));
1083
+ return e.concat(o || t);
1038
1084
  }
1039
- function dt(e, t) {
1040
- var r = t && t.cache ? t.cache : fi, n = t && t.serializer ? t.serializer : ci, i = t && t.strategy ? t.strategy : ui;
1085
+ function ft(e, t) {
1086
+ var r = t && t.cache ? t.cache : fi, n = t && t.serializer ? t.serializer : hi, i = t && t.strategy ? t.strategy : ui;
1041
1087
  return i(e, {
1042
1088
  cache: r,
1043
1089
  serializer: n
1044
1090
  });
1045
1091
  }
1046
- function si(e) {
1092
+ function ai(e) {
1047
1093
  return e == null || typeof e == "number" || typeof e == "boolean";
1048
1094
  }
1049
- function ai(e, t, r, n) {
1050
- var i = si(n) ? n : r(n), o = t.get(i);
1095
+ function Dr(e, t, r, n) {
1096
+ var i = ai(n) ? n : r(n), o = t.get(i);
1051
1097
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1052
1098
  }
1053
1099
  function Rr(e, t, r) {
1054
1100
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1055
1101
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1056
1102
  }
1057
- function $r(e, t, r, n, i) {
1103
+ function Ft(e, t, r, n, i) {
1058
1104
  return r.bind(t, e, n, i);
1059
1105
  }
1060
1106
  function ui(e, t) {
1061
- var r = e.length === 1 ? ai : Rr;
1062
- return $r(e, this, r, t.cache.create(), t.serializer);
1107
+ var r = e.length === 1 ? Dr : Rr;
1108
+ return Ft(e, this, r, t.cache.create(), t.serializer);
1063
1109
  }
1064
1110
  function li(e, t) {
1065
- return $r(e, this, Rr, t.cache.create(), t.serializer);
1111
+ return Ft(e, this, Rr, t.cache.create(), t.serializer);
1112
+ }
1113
+ function ci(e, t) {
1114
+ return Ft(e, this, Dr, t.cache.create(), t.serializer);
1066
1115
  }
1067
- var ci = function() {
1116
+ var hi = function() {
1068
1117
  return JSON.stringify(arguments);
1069
- }, hi = (
1070
- /** @class */
1071
- function() {
1072
- function e() {
1073
- this.cache = /* @__PURE__ */ Object.create(null);
1074
- }
1075
- return e.prototype.get = function(t) {
1076
- return this.cache[t];
1077
- }, e.prototype.set = function(t, r) {
1078
- this.cache[t] = r;
1079
- }, e;
1080
- }()
1081
- ), fi = {
1118
+ };
1119
+ function Gt() {
1120
+ this.cache = /* @__PURE__ */ Object.create(null);
1121
+ }
1122
+ Gt.prototype.get = function(e) {
1123
+ return this.cache[e];
1124
+ };
1125
+ Gt.prototype.set = function(e, t) {
1126
+ this.cache[e] = t;
1127
+ };
1128
+ var fi = {
1082
1129
  create: function() {
1083
- return new hi();
1130
+ return new Gt();
1084
1131
  }
1085
- }, mt = {
1086
- variadic: li
1087
- }, tt = function() {
1088
- return tt = Object.assign || function(t) {
1089
- for (var r, n = 1, i = arguments.length; n < i; n++) {
1090
- r = arguments[n];
1091
- for (var o in r)
1092
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1093
- }
1094
- return t;
1095
- }, tt.apply(this, arguments);
1096
- };
1097
- var w;
1132
+ }, dt = {
1133
+ variadic: li,
1134
+ monadic: ci
1135
+ }, S;
1098
1136
  (function(e) {
1099
1137
  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";
1100
- })(w || (w = {}));
1138
+ })(S || (S = {}));
1101
1139
  var H;
1102
1140
  (function(e) {
1103
1141
  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";
1104
1142
  })(H || (H = {}));
1105
- var me;
1143
+ var ve;
1106
1144
  (function(e) {
1107
1145
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1108
- })(me || (me = {}));
1109
- function Yt(e) {
1146
+ })(ve || (ve = {}));
1147
+ function Kt(e) {
1110
1148
  return e.type === H.literal;
1111
1149
  }
1112
- function pi(e) {
1150
+ function di(e) {
1113
1151
  return e.type === H.argument;
1114
1152
  }
1115
- function Ur(e) {
1153
+ function $r(e) {
1116
1154
  return e.type === H.number;
1117
1155
  }
1118
- function Fr(e) {
1156
+ function Ur(e) {
1119
1157
  return e.type === H.date;
1120
1158
  }
1121
- function Gr(e) {
1159
+ function Fr(e) {
1122
1160
  return e.type === H.time;
1123
1161
  }
1124
- function jr(e) {
1162
+ function Gr(e) {
1125
1163
  return e.type === H.select;
1126
1164
  }
1127
- function kr(e) {
1165
+ function jr(e) {
1128
1166
  return e.type === H.plural;
1129
1167
  }
1130
- function di(e) {
1168
+ function mi(e) {
1131
1169
  return e.type === H.pound;
1132
1170
  }
1133
- function Vr(e) {
1171
+ function kr(e) {
1134
1172
  return e.type === H.tag;
1135
1173
  }
1136
- function Xr(e) {
1137
- return !!(e && typeof e == "object" && e.type === me.number);
1174
+ function Vr(e) {
1175
+ return !!(e && typeof e == "object" && e.type === ve.number);
1138
1176
  }
1139
- function xt(e) {
1140
- return !!(e && typeof e == "object" && e.type === me.dateTime);
1177
+ function wt(e) {
1178
+ return !!(e && typeof e == "object" && e.type === ve.dateTime);
1141
1179
  }
1142
- var Wr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, mi = /(?:[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;
1180
+ var Xr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, pi = /(?:[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;
1143
1181
  function bi(e) {
1144
1182
  var t = {};
1145
- return e.replace(mi, function(r) {
1183
+ return e.replace(pi, function(r) {
1146
1184
  var n = r.length;
1147
1185
  switch (r[0]) {
1148
1186
  case "G":
@@ -1231,16 +1269,6 @@ function bi(e) {
1231
1269
  return "";
1232
1270
  }), t;
1233
1271
  }
1234
- var B = function() {
1235
- return B = Object.assign || function(t) {
1236
- for (var r, n = 1, i = arguments.length; n < i; n++) {
1237
- r = arguments[n];
1238
- for (var o in r)
1239
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1240
- }
1241
- return t;
1242
- }, B.apply(this, arguments);
1243
- };
1244
1272
  var gi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1245
1273
  function yi(e) {
1246
1274
  if (e.length === 0)
@@ -1252,8 +1280,8 @@ function yi(e) {
1252
1280
  if (a.length === 0)
1253
1281
  throw new Error("Invalid number skeleton");
1254
1282
  for (var s = a[0], l = a.slice(1), u = 0, c = l; u < c.length; u++) {
1255
- var p = c[u];
1256
- if (p.length === 0)
1283
+ var d = c[u];
1284
+ if (d.length === 0)
1257
1285
  throw new Error("Invalid number skeleton");
1258
1286
  }
1259
1287
  r.push({ stem: s, options: l });
@@ -1263,14 +1291,14 @@ function yi(e) {
1263
1291
  function vi(e) {
1264
1292
  return e.replace(/^(.*?)-/, "");
1265
1293
  }
1266
- var Jt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, zr = /^(@+)?(\+|#+)?[rs]?$/g, _i = /(\*)(0+)|(#+)(0+)|(0+)/g, Zr = /^(0+)$/;
1267
- function qt(e) {
1294
+ var Yt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Wr = /^(@+)?(\+|#+)?[rs]?$/g, _i = /(\*)(0+)|(#+)(0+)|(0+)/g, zr = /^(0+)$/;
1295
+ function Jt(e) {
1268
1296
  var t = {};
1269
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(zr, function(r, n, i) {
1297
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Wr, function(r, n, i) {
1270
1298
  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)), "";
1271
1299
  }), t;
1272
1300
  }
1273
- function Qr(e) {
1301
+ function Zr(e) {
1274
1302
  switch (e) {
1275
1303
  case "sign-auto":
1276
1304
  return {
@@ -1318,14 +1346,14 @@ function Ei(e) {
1318
1346
  notation: "scientific"
1319
1347
  }, e = e.slice(1)), t) {
1320
1348
  var r = e.slice(0, 2);
1321
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Zr.test(e))
1349
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !zr.test(e))
1322
1350
  throw new Error("Malformed concise eng/scientific notation");
1323
1351
  t.minimumIntegerDigits = e.length;
1324
1352
  }
1325
1353
  return t;
1326
1354
  }
1327
- function er(e) {
1328
- var t = {}, r = Qr(e);
1355
+ function qt(e) {
1356
+ var t = {}, r = Zr(e);
1329
1357
  return r || t;
1330
1358
  }
1331
1359
  function xi(e) {
@@ -1363,13 +1391,13 @@ function xi(e) {
1363
1391
  t.notation = "compact", t.compactDisplay = "long";
1364
1392
  continue;
1365
1393
  case "scientific":
1366
- t = B(B(B({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1367
- return B(B({}, l), er(u));
1394
+ t = A(A(A({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1395
+ return A(A({}, l), qt(u));
1368
1396
  }, {}));
1369
1397
  continue;
1370
1398
  case "engineering":
1371
- t = B(B(B({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1372
- return B(B({}, l), er(u));
1399
+ t = A(A(A({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1400
+ return A(A({}, l), qt(u));
1373
1401
  }, {}));
1374
1402
  continue;
1375
1403
  case "notation-simple":
@@ -1414,11 +1442,11 @@ function xi(e) {
1414
1442
  case "integer-width":
1415
1443
  if (i.options.length > 1)
1416
1444
  throw new RangeError("integer-width stems only accept a single optional option");
1417
- i.options[0].replace(_i, function(l, u, c, p, h, b) {
1445
+ i.options[0].replace(_i, function(l, u, c, d, h, b) {
1418
1446
  if (u)
1419
1447
  t.minimumIntegerDigits = c.length;
1420
1448
  else {
1421
- if (p && h)
1449
+ if (d && h)
1422
1450
  throw new Error("We currently do not support maximum integer digits");
1423
1451
  if (b)
1424
1452
  throw new Error("We currently do not support exact integer digits");
@@ -1427,32 +1455,32 @@ function xi(e) {
1427
1455
  });
1428
1456
  continue;
1429
1457
  }
1430
- if (Zr.test(i.stem)) {
1458
+ if (zr.test(i.stem)) {
1431
1459
  t.minimumIntegerDigits = i.stem.length;
1432
1460
  continue;
1433
1461
  }
1434
- if (Jt.test(i.stem)) {
1462
+ if (Yt.test(i.stem)) {
1435
1463
  if (i.options.length > 1)
1436
1464
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1437
- i.stem.replace(Jt, function(l, u, c, p, h, b) {
1438
- return c === "*" ? t.minimumFractionDigits = u.length : p && p[0] === "#" ? t.maximumFractionDigits = p.length : h && b ? (t.minimumFractionDigits = h.length, t.maximumFractionDigits = h.length + b.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1465
+ i.stem.replace(Yt, function(l, u, c, d, h, b) {
1466
+ return c === "*" ? t.minimumFractionDigits = u.length : d && d[0] === "#" ? t.maximumFractionDigits = d.length : h && b ? (t.minimumFractionDigits = h.length, t.maximumFractionDigits = h.length + b.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1439
1467
  });
1440
1468
  var o = i.options[0];
1441
- o === "w" ? t = B(B({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = B(B({}, t), qt(o)));
1469
+ o === "w" ? t = A(A({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = A(A({}, t), Jt(o)));
1442
1470
  continue;
1443
1471
  }
1444
- if (zr.test(i.stem)) {
1445
- t = B(B({}, t), qt(i.stem));
1472
+ if (Wr.test(i.stem)) {
1473
+ t = A(A({}, t), Jt(i.stem));
1446
1474
  continue;
1447
1475
  }
1448
- var a = Qr(i.stem);
1449
- a && (t = B(B({}, t), a));
1476
+ var a = Zr(i.stem);
1477
+ a && (t = A(A({}, t), a));
1450
1478
  var s = Ei(i.stem);
1451
- s && (t = B(B({}, t), s));
1479
+ s && (t = A(A({}, t), s));
1452
1480
  }
1453
1481
  return t;
1454
1482
  }
1455
- var Fe = {
1483
+ var Ge = {
1456
1484
  "001": [
1457
1485
  "H",
1458
1486
  "h"
@@ -2902,23 +2930,23 @@ function Si(e) {
2902
2930
  }
2903
2931
  var r = e.language, n;
2904
2932
  r !== "root" && (n = e.maximize().region);
2905
- var i = Fe[n || ""] || Fe[r || ""] || Fe["".concat(r, "-001")] || Fe["001"];
2933
+ var i = Ge[n || ""] || Ge[r || ""] || Ge["".concat(r, "-001")] || Ge["001"];
2906
2934
  return i[0];
2907
2935
  }
2908
- var bt, Ti = new RegExp("^".concat(Wr.source, "*")), Ai = new RegExp("".concat(Wr.source, "*$"));
2909
- function S(e, t) {
2936
+ var mt, Ti = new RegExp("^".concat(Xr.source, "*")), Ai = new RegExp("".concat(Xr.source, "*$"));
2937
+ function T(e, t) {
2910
2938
  return { start: e, end: t };
2911
2939
  }
2912
- var Ci = !!String.prototype.startsWith && "_a".startsWith("a", 1), Mi = !!String.fromCodePoint, Hi = !!Object.fromEntries, Pi = !!String.prototype.codePointAt, Bi = !!String.prototype.trimStart, Oi = !!String.prototype.trimEnd, Ni = !!Number.isSafeInteger, Li = Ni ? Number.isSafeInteger : function(e) {
2940
+ var Ci = !!String.prototype.startsWith && "_a".startsWith("a", 1), Mi = !!String.fromCodePoint, Hi = !!Object.fromEntries, Pi = !!String.prototype.codePointAt, Bi = !!String.prototype.trimStart, Li = !!String.prototype.trimEnd, Ni = !!Number.isSafeInteger, Oi = Ni ? Number.isSafeInteger : function(e) {
2913
2941
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2914
- }, wt = !0;
2942
+ }, St = !0;
2915
2943
  try {
2916
- var Ii = Yr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2917
- wt = ((bt = Ii.exec("a")) === null || bt === void 0 ? void 0 : bt[0]) === "a";
2944
+ var Ii = Kr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2945
+ St = ((mt = Ii.exec("a")) === null || mt === void 0 ? void 0 : mt[0]) === "a";
2918
2946
  } catch {
2919
- wt = !1;
2947
+ St = !1;
2920
2948
  }
2921
- var tr = Ci ? (
2949
+ var er = Ci ? (
2922
2950
  // Native
2923
2951
  function(t, r, n) {
2924
2952
  return t.startsWith(r, n);
@@ -2928,7 +2956,7 @@ var tr = Ci ? (
2928
2956
  function(t, r, n) {
2929
2957
  return t.slice(n, n + r.length) === r;
2930
2958
  }
2931
- ), St = Mi ? String.fromCodePoint : (
2959
+ ), Tt = Mi ? String.fromCodePoint : (
2932
2960
  // IE11
2933
2961
  function() {
2934
2962
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2940,7 +2968,7 @@ var tr = Ci ? (
2940
2968
  }
2941
2969
  return n;
2942
2970
  }
2943
- ), rr = (
2971
+ ), tr = (
2944
2972
  // native
2945
2973
  Hi ? Object.fromEntries : (
2946
2974
  // Ponyfill
@@ -2952,7 +2980,7 @@ var tr = Ci ? (
2952
2980
  return r;
2953
2981
  }
2954
2982
  )
2955
- ), Kr = Pi ? (
2983
+ ), Qr = Pi ? (
2956
2984
  // Native
2957
2985
  function(t, r) {
2958
2986
  return t.codePointAt(r);
@@ -2976,7 +3004,7 @@ var tr = Ci ? (
2976
3004
  function(t) {
2977
3005
  return t.replace(Ti, "");
2978
3006
  }
2979
- ), Ri = Oi ? (
3007
+ ), Ri = Li ? (
2980
3008
  // Native
2981
3009
  function(t) {
2982
3010
  return t.trimEnd();
@@ -2987,27 +3015,27 @@ var tr = Ci ? (
2987
3015
  return t.replace(Ai, "");
2988
3016
  }
2989
3017
  );
2990
- function Yr(e, t) {
3018
+ function Kr(e, t) {
2991
3019
  return new RegExp(e, t);
2992
3020
  }
2993
- var Tt;
2994
- if (wt) {
2995
- var nr = Yr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2996
- Tt = function(t, r) {
3021
+ var At;
3022
+ if (St) {
3023
+ var rr = Kr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3024
+ At = function(t, r) {
2997
3025
  var n;
2998
- nr.lastIndex = r;
2999
- var i = nr.exec(t);
3026
+ rr.lastIndex = r;
3027
+ var i = rr.exec(t);
3000
3028
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3001
3029
  };
3002
3030
  } else
3003
- Tt = function(t, r) {
3031
+ At = function(t, r) {
3004
3032
  for (var n = []; ; ) {
3005
- var i = Kr(t, r);
3006
- if (i === void 0 || Jr(i) || Gi(i))
3033
+ var i = Qr(t, r);
3034
+ if (i === void 0 || Yr(i) || Gi(i))
3007
3035
  break;
3008
3036
  n.push(i), r += i >= 65536 ? 2 : 1;
3009
3037
  }
3010
- return St.apply(void 0, n);
3038
+ return Tt.apply(void 0, n);
3011
3039
  };
3012
3040
  var $i = (
3013
3041
  /** @class */
@@ -3034,13 +3062,13 @@ var $i = (
3034
3062
  var s = this.clonePosition();
3035
3063
  this.bump(), i.push({
3036
3064
  type: H.pound,
3037
- location: S(s, this.clonePosition())
3065
+ location: T(s, this.clonePosition())
3038
3066
  });
3039
3067
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3040
3068
  if (n)
3041
3069
  break;
3042
- return this.error(w.UNMATCHED_CLOSING_TAG, S(this.clonePosition(), this.clonePosition()));
3043
- } else if (o === 60 && !this.ignoreTag && At(this.peek() || 0)) {
3070
+ return this.error(S.UNMATCHED_CLOSING_TAG, T(this.clonePosition(), this.clonePosition()));
3071
+ } else if (o === 60 && !this.ignoreTag && Ct(this.peek() || 0)) {
3044
3072
  var a = this.parseTag(t, r);
3045
3073
  if (a.err)
3046
3074
  return a;
@@ -3063,7 +3091,7 @@ var $i = (
3063
3091
  val: {
3064
3092
  type: H.literal,
3065
3093
  value: "<".concat(i, "/>"),
3066
- location: S(n, this.clonePosition())
3094
+ location: T(n, this.clonePosition())
3067
3095
  },
3068
3096
  err: null
3069
3097
  };
@@ -3073,22 +3101,22 @@ var $i = (
3073
3101
  return o;
3074
3102
  var a = o.val, s = this.clonePosition();
3075
3103
  if (this.bumpIf("</")) {
3076
- if (this.isEOF() || !At(this.char()))
3077
- return this.error(w.INVALID_TAG, S(s, this.clonePosition()));
3104
+ if (this.isEOF() || !Ct(this.char()))
3105
+ return this.error(S.INVALID_TAG, T(s, this.clonePosition()));
3078
3106
  var l = this.clonePosition(), u = this.parseTagName();
3079
- return i !== u ? this.error(w.UNMATCHED_CLOSING_TAG, S(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3107
+ return i !== u ? this.error(S.UNMATCHED_CLOSING_TAG, T(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3080
3108
  val: {
3081
3109
  type: H.tag,
3082
3110
  value: i,
3083
3111
  children: a,
3084
- location: S(n, this.clonePosition())
3112
+ location: T(n, this.clonePosition())
3085
3113
  },
3086
3114
  err: null
3087
- } : this.error(w.INVALID_TAG, S(s, this.clonePosition())));
3115
+ } : this.error(S.INVALID_TAG, T(s, this.clonePosition())));
3088
3116
  } else
3089
- return this.error(w.UNCLOSED_TAG, S(n, this.clonePosition()));
3117
+ return this.error(S.UNCLOSED_TAG, T(n, this.clonePosition()));
3090
3118
  } else
3091
- return this.error(w.INVALID_TAG, S(n, this.clonePosition()));
3119
+ return this.error(S.INVALID_TAG, T(n, this.clonePosition()));
3092
3120
  }, e.prototype.parseTagName = function() {
3093
3121
  var t = this.offset();
3094
3122
  for (this.bump(); !this.isEOF() && Fi(this.char()); )
@@ -3113,7 +3141,7 @@ var $i = (
3113
3141
  }
3114
3142
  break;
3115
3143
  }
3116
- var l = S(n, this.clonePosition());
3144
+ var l = T(n, this.clonePosition());
3117
3145
  return {
3118
3146
  val: { type: H.literal, value: i, location: l },
3119
3147
  err: null
@@ -3154,23 +3182,23 @@ var $i = (
3154
3182
  r.push(n);
3155
3183
  this.bump();
3156
3184
  }
3157
- return St.apply(void 0, r);
3185
+ return Tt.apply(void 0, r);
3158
3186
  }, e.prototype.tryParseUnquoted = function(t, r) {
3159
3187
  if (this.isEOF())
3160
3188
  return null;
3161
3189
  var n = this.char();
3162
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), St(n));
3190
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Tt(n));
3163
3191
  }, e.prototype.parseArgument = function(t, r) {
3164
3192
  var n = this.clonePosition();
3165
3193
  if (this.bump(), this.bumpSpace(), this.isEOF())
3166
- return this.error(w.EXPECT_ARGUMENT_CLOSING_BRACE, S(n, this.clonePosition()));
3194
+ return this.error(S.EXPECT_ARGUMENT_CLOSING_BRACE, T(n, this.clonePosition()));
3167
3195
  if (this.char() === 125)
3168
- return this.bump(), this.error(w.EMPTY_ARGUMENT, S(n, this.clonePosition()));
3196
+ return this.bump(), this.error(S.EMPTY_ARGUMENT, T(n, this.clonePosition()));
3169
3197
  var i = this.parseIdentifierIfPossible().value;
3170
3198
  if (!i)
3171
- return this.error(w.MALFORMED_ARGUMENT, S(n, this.clonePosition()));
3199
+ return this.error(S.MALFORMED_ARGUMENT, T(n, this.clonePosition()));
3172
3200
  if (this.bumpSpace(), this.isEOF())
3173
- return this.error(w.EXPECT_ARGUMENT_CLOSING_BRACE, S(n, this.clonePosition()));
3201
+ return this.error(S.EXPECT_ARGUMENT_CLOSING_BRACE, T(n, this.clonePosition()));
3174
3202
  switch (this.char()) {
3175
3203
  case 125:
3176
3204
  return this.bump(), {
@@ -3178,25 +3206,25 @@ var $i = (
3178
3206
  type: H.argument,
3179
3207
  // value does not include the opening and closing braces.
3180
3208
  value: i,
3181
- location: S(n, this.clonePosition())
3209
+ location: T(n, this.clonePosition())
3182
3210
  },
3183
3211
  err: null
3184
3212
  };
3185
3213
  case 44:
3186
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(w.EXPECT_ARGUMENT_CLOSING_BRACE, S(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3214
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(S.EXPECT_ARGUMENT_CLOSING_BRACE, T(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3187
3215
  default:
3188
- return this.error(w.MALFORMED_ARGUMENT, S(n, this.clonePosition()));
3216
+ return this.error(S.MALFORMED_ARGUMENT, T(n, this.clonePosition()));
3189
3217
  }
3190
3218
  }, e.prototype.parseIdentifierIfPossible = function() {
3191
- var t = this.clonePosition(), r = this.offset(), n = Tt(this.message, r), i = r + n.length;
3219
+ var t = this.clonePosition(), r = this.offset(), n = At(this.message, r), i = r + n.length;
3192
3220
  this.bumpTo(i);
3193
- var o = this.clonePosition(), a = S(t, o);
3221
+ var o = this.clonePosition(), a = T(t, o);
3194
3222
  return { value: n, location: a };
3195
3223
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3196
3224
  var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, l = this.clonePosition();
3197
3225
  switch (s) {
3198
3226
  case "":
3199
- return this.error(w.EXPECT_ARGUMENT_TYPE, S(a, l));
3227
+ return this.error(S.EXPECT_ARGUMENT_TYPE, T(a, l));
3200
3228
  case "number":
3201
3229
  case "date":
3202
3230
  case "time": {
@@ -3204,40 +3232,40 @@ var $i = (
3204
3232
  var u = null;
3205
3233
  if (this.bumpIf(",")) {
3206
3234
  this.bumpSpace();
3207
- var c = this.clonePosition(), p = this.parseSimpleArgStyleIfPossible();
3208
- if (p.err)
3209
- return p;
3210
- var h = Ri(p.val);
3235
+ var c = this.clonePosition(), d = this.parseSimpleArgStyleIfPossible();
3236
+ if (d.err)
3237
+ return d;
3238
+ var h = Ri(d.val);
3211
3239
  if (h.length === 0)
3212
- return this.error(w.EXPECT_ARGUMENT_STYLE, S(this.clonePosition(), this.clonePosition()));
3213
- var b = S(c, this.clonePosition());
3240
+ return this.error(S.EXPECT_ARGUMENT_STYLE, T(this.clonePosition(), this.clonePosition()));
3241
+ var b = T(c, this.clonePosition());
3214
3242
  u = { style: h, styleLocation: b };
3215
3243
  }
3216
3244
  var f = this.tryParseArgumentClose(i);
3217
3245
  if (f.err)
3218
3246
  return f;
3219
- var d = S(i, this.clonePosition());
3220
- if (u && tr(u?.style, "::", 0)) {
3247
+ var m = T(i, this.clonePosition());
3248
+ if (u && er(u?.style, "::", 0)) {
3221
3249
  var y = Di(u.style.slice(2));
3222
3250
  if (s === "number") {
3223
- var p = this.parseNumberSkeletonFromString(y, u.styleLocation);
3224
- return p.err ? p : {
3225
- val: { type: H.number, value: n, location: d, style: p.val },
3251
+ var d = this.parseNumberSkeletonFromString(y, u.styleLocation);
3252
+ return d.err ? d : {
3253
+ val: { type: H.number, value: n, location: m, style: d.val },
3226
3254
  err: null
3227
3255
  };
3228
3256
  } else {
3229
3257
  if (y.length === 0)
3230
- return this.error(w.EXPECT_DATE_TIME_SKELETON, d);
3231
- var _ = y;
3232
- this.locale && (_ = wi(y, this.locale));
3258
+ return this.error(S.EXPECT_DATE_TIME_SKELETON, m);
3259
+ var E = y;
3260
+ this.locale && (E = wi(y, this.locale));
3233
3261
  var h = {
3234
- type: me.dateTime,
3235
- pattern: _,
3262
+ type: ve.dateTime,
3263
+ pattern: E,
3236
3264
  location: u.styleLocation,
3237
- parsedOptions: this.shouldParseSkeletons ? bi(_) : {}
3238
- }, m = s === "date" ? H.date : H.time;
3265
+ parsedOptions: this.shouldParseSkeletons ? bi(E) : {}
3266
+ }, p = s === "date" ? H.date : H.time;
3239
3267
  return {
3240
- val: { type: m, value: n, location: d, style: h },
3268
+ val: { type: p, value: n, location: m, style: h },
3241
3269
  err: null
3242
3270
  };
3243
3271
  }
@@ -3246,7 +3274,7 @@ var $i = (
3246
3274
  val: {
3247
3275
  type: s === "number" ? H.number : s === "date" ? H.date : H.time,
3248
3276
  value: n,
3249
- location: d,
3277
+ location: m,
3250
3278
  style: (o = u?.style) !== null && o !== void 0 ? o : null
3251
3279
  },
3252
3280
  err: null
@@ -3255,52 +3283,52 @@ var $i = (
3255
3283
  case "plural":
3256
3284
  case "selectordinal":
3257
3285
  case "select": {
3258
- var E = this.clonePosition();
3286
+ var v = this.clonePosition();
3259
3287
  if (this.bumpSpace(), !this.bumpIf(","))
3260
- return this.error(w.EXPECT_SELECT_ARGUMENT_OPTIONS, S(E, tt({}, E)));
3288
+ return this.error(S.EXPECT_SELECT_ARGUMENT_OPTIONS, T(v, A({}, v)));
3261
3289
  this.bumpSpace();
3262
- var g = this.parseIdentifierIfPossible(), T = 0;
3290
+ var g = this.parseIdentifierIfPossible(), C = 0;
3263
3291
  if (s !== "select" && g.value === "offset") {
3264
3292
  if (!this.bumpIf(":"))
3265
- return this.error(w.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, S(this.clonePosition(), this.clonePosition()));
3293
+ return this.error(S.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, T(this.clonePosition(), this.clonePosition()));
3266
3294
  this.bumpSpace();
3267
- var p = this.tryParseDecimalInteger(w.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, w.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3268
- if (p.err)
3269
- return p;
3270
- this.bumpSpace(), g = this.parseIdentifierIfPossible(), T = p.val;
3295
+ var d = this.tryParseDecimalInteger(S.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, S.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3296
+ if (d.err)
3297
+ return d;
3298
+ this.bumpSpace(), g = this.parseIdentifierIfPossible(), C = d.val;
3271
3299
  }
3272
- var A = this.tryParsePluralOrSelectOptions(t, s, r, g);
3273
- if (A.err)
3274
- return A;
3300
+ var L = this.tryParsePluralOrSelectOptions(t, s, r, g);
3301
+ if (L.err)
3302
+ return L;
3275
3303
  var f = this.tryParseArgumentClose(i);
3276
3304
  if (f.err)
3277
3305
  return f;
3278
- var C = S(i, this.clonePosition());
3306
+ var x = T(i, this.clonePosition());
3279
3307
  return s === "select" ? {
3280
3308
  val: {
3281
3309
  type: H.select,
3282
3310
  value: n,
3283
- options: rr(A.val),
3284
- location: C
3311
+ options: tr(L.val),
3312
+ location: x
3285
3313
  },
3286
3314
  err: null
3287
3315
  } : {
3288
3316
  val: {
3289
3317
  type: H.plural,
3290
3318
  value: n,
3291
- options: rr(A.val),
3292
- offset: T,
3319
+ options: tr(L.val),
3320
+ offset: C,
3293
3321
  pluralType: s === "plural" ? "cardinal" : "ordinal",
3294
- location: C
3322
+ location: x
3295
3323
  },
3296
3324
  err: null
3297
3325
  };
3298
3326
  }
3299
3327
  default:
3300
- return this.error(w.INVALID_ARGUMENT_TYPE, S(a, l));
3328
+ return this.error(S.INVALID_ARGUMENT_TYPE, T(a, l));
3301
3329
  }
3302
3330
  }, e.prototype.tryParseArgumentClose = function(t) {
3303
- return this.isEOF() || this.char() !== 125 ? this.error(w.EXPECT_ARGUMENT_CLOSING_BRACE, S(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3331
+ return this.isEOF() || this.char() !== 125 ? this.error(S.EXPECT_ARGUMENT_CLOSING_BRACE, T(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3304
3332
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3305
3333
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3306
3334
  var n = this.char();
@@ -3309,7 +3337,7 @@ var $i = (
3309
3337
  this.bump();
3310
3338
  var i = this.clonePosition();
3311
3339
  if (!this.bumpUntil("'"))
3312
- return this.error(w.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, S(i, this.clonePosition()));
3340
+ return this.error(S.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, T(i, this.clonePosition()));
3313
3341
  this.bump();
3314
3342
  break;
3315
3343
  }
@@ -3341,11 +3369,11 @@ var $i = (
3341
3369
  try {
3342
3370
  n = yi(t);
3343
3371
  } catch {
3344
- return this.error(w.INVALID_NUMBER_SKELETON, r);
3372
+ return this.error(S.INVALID_NUMBER_SKELETON, r);
3345
3373
  }
3346
3374
  return {
3347
3375
  val: {
3348
- type: me.number,
3376
+ type: ve.number,
3349
3377
  tokens: n,
3350
3378
  location: r,
3351
3379
  parsedOptions: this.shouldParseSkeletons ? xi(n) : {}
@@ -3355,36 +3383,36 @@ var $i = (
3355
3383
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3356
3384
  for (var o, a = !1, s = [], l = /* @__PURE__ */ new Set(), u = i.value, c = i.location; ; ) {
3357
3385
  if (u.length === 0) {
3358
- var p = this.clonePosition();
3386
+ var d = this.clonePosition();
3359
3387
  if (r !== "select" && this.bumpIf("=")) {
3360
- var h = this.tryParseDecimalInteger(w.EXPECT_PLURAL_ARGUMENT_SELECTOR, w.INVALID_PLURAL_ARGUMENT_SELECTOR);
3388
+ var h = this.tryParseDecimalInteger(S.EXPECT_PLURAL_ARGUMENT_SELECTOR, S.INVALID_PLURAL_ARGUMENT_SELECTOR);
3361
3389
  if (h.err)
3362
3390
  return h;
3363
- c = S(p, this.clonePosition()), u = this.message.slice(p.offset, this.offset());
3391
+ c = T(d, this.clonePosition()), u = this.message.slice(d.offset, this.offset());
3364
3392
  } else
3365
3393
  break;
3366
3394
  }
3367
3395
  if (l.has(u))
3368
- return this.error(r === "select" ? w.DUPLICATE_SELECT_ARGUMENT_SELECTOR : w.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, c);
3396
+ return this.error(r === "select" ? S.DUPLICATE_SELECT_ARGUMENT_SELECTOR : S.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, c);
3369
3397
  u === "other" && (a = !0), this.bumpSpace();
3370
3398
  var b = this.clonePosition();
3371
3399
  if (!this.bumpIf("{"))
3372
- return this.error(r === "select" ? w.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : w.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, S(this.clonePosition(), this.clonePosition()));
3400
+ return this.error(r === "select" ? S.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : S.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, T(this.clonePosition(), this.clonePosition()));
3373
3401
  var f = this.parseMessage(t + 1, r, n);
3374
3402
  if (f.err)
3375
3403
  return f;
3376
- var d = this.tryParseArgumentClose(b);
3377
- if (d.err)
3378
- return d;
3404
+ var m = this.tryParseArgumentClose(b);
3405
+ if (m.err)
3406
+ return m;
3379
3407
  s.push([
3380
3408
  u,
3381
3409
  {
3382
3410
  value: f.val,
3383
- location: S(b, this.clonePosition())
3411
+ location: T(b, this.clonePosition())
3384
3412
  }
3385
3413
  ]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, c = o.location;
3386
3414
  }
3387
- return s.length === 0 ? this.error(r === "select" ? w.EXPECT_SELECT_ARGUMENT_SELECTOR : w.EXPECT_PLURAL_ARGUMENT_SELECTOR, S(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(w.MISSING_OTHER_CLAUSE, S(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
3415
+ return s.length === 0 ? this.error(r === "select" ? S.EXPECT_SELECT_ARGUMENT_SELECTOR : S.EXPECT_PLURAL_ARGUMENT_SELECTOR, T(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(S.MISSING_OTHER_CLAUSE, T(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
3388
3416
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3389
3417
  var n = 1, i = this.clonePosition();
3390
3418
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -3395,8 +3423,8 @@ var $i = (
3395
3423
  else
3396
3424
  break;
3397
3425
  }
3398
- var l = S(i, this.clonePosition());
3399
- return o ? (a *= n, Li(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3426
+ var l = T(i, this.clonePosition());
3427
+ return o ? (a *= n, Oi(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3400
3428
  }, e.prototype.offset = function() {
3401
3429
  return this.position.offset;
3402
3430
  }, e.prototype.isEOF = function() {
@@ -3411,7 +3439,7 @@ var $i = (
3411
3439
  var t = this.position.offset;
3412
3440
  if (t >= this.message.length)
3413
3441
  throw Error("out of bound");
3414
- var r = Kr(this.message, t);
3442
+ var r = Qr(this.message, t);
3415
3443
  if (r === void 0)
3416
3444
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3417
3445
  return r;
@@ -3430,7 +3458,7 @@ var $i = (
3430
3458
  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);
3431
3459
  }
3432
3460
  }, e.prototype.bumpIf = function(t) {
3433
- if (tr(this.message, t, this.offset())) {
3461
+ if (er(this.message, t, this.offset())) {
3434
3462
  for (var r = 0; r < t.length; r++)
3435
3463
  this.bump();
3436
3464
  return !0;
@@ -3452,7 +3480,7 @@ var $i = (
3452
3480
  break;
3453
3481
  }
3454
3482
  }, e.prototype.bumpSpace = function() {
3455
- for (; !this.isEOF() && Jr(this.char()); )
3483
+ for (; !this.isEOF() && Yr(this.char()); )
3456
3484
  this.bump();
3457
3485
  }, e.prototype.peek = function() {
3458
3486
  if (this.isEOF())
@@ -3462,47 +3490,47 @@ var $i = (
3462
3490
  }, e;
3463
3491
  }()
3464
3492
  );
3465
- function At(e) {
3493
+ function Ct(e) {
3466
3494
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3467
3495
  }
3468
3496
  function Ui(e) {
3469
- return At(e) || e === 47;
3497
+ return Ct(e) || e === 47;
3470
3498
  }
3471
3499
  function Fi(e) {
3472
3500
  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;
3473
3501
  }
3474
- function Jr(e) {
3502
+ function Yr(e) {
3475
3503
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3476
3504
  }
3477
3505
  function Gi(e) {
3478
3506
  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;
3479
3507
  }
3480
- function Ct(e) {
3508
+ function Mt(e) {
3481
3509
  e.forEach(function(t) {
3482
- if (delete t.location, jr(t) || kr(t))
3510
+ if (delete t.location, Gr(t) || jr(t))
3483
3511
  for (var r in t.options)
3484
- delete t.options[r].location, Ct(t.options[r].value);
3512
+ delete t.options[r].location, Mt(t.options[r].value);
3485
3513
  else
3486
- Ur(t) && Xr(t.style) || (Fr(t) || Gr(t)) && xt(t.style) ? delete t.style.location : Vr(t) && Ct(t.children);
3514
+ $r(t) && Vr(t.style) || (Ur(t) || Fr(t)) && wt(t.style) ? delete t.style.location : kr(t) && Mt(t.children);
3487
3515
  });
3488
3516
  }
3489
3517
  function ji(e, t) {
3490
- t === void 0 && (t = {}), t = tt({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3518
+ t === void 0 && (t = {}), t = A({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3491
3519
  var r = new $i(e, t).parse();
3492
3520
  if (r.err) {
3493
- var n = SyntaxError(w[r.err.kind]);
3521
+ var n = SyntaxError(S[r.err.kind]);
3494
3522
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3495
3523
  }
3496
- return t?.captureLocation || Ct(r.val), r.val;
3524
+ return t?.captureLocation || Mt(r.val), r.val;
3497
3525
  }
3498
- var be;
3526
+ var _e;
3499
3527
  (function(e) {
3500
3528
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3501
- })(be || (be = {}));
3502
- var at = (
3529
+ })(_e || (_e = {}));
3530
+ var st = (
3503
3531
  /** @class */
3504
3532
  function(e) {
3505
- st(t, e);
3533
+ Q(t, e);
3506
3534
  function t(r, n, i) {
3507
3535
  var o = e.call(this, r) || this;
3508
3536
  return o.code = n, o.originalMessage = i, o;
@@ -3511,33 +3539,33 @@ var at = (
3511
3539
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3512
3540
  }, t;
3513
3541
  }(Error)
3514
- ), ir = (
3542
+ ), nr = (
3515
3543
  /** @class */
3516
3544
  function(e) {
3517
- st(t, e);
3545
+ Q(t, e);
3518
3546
  function t(r, n, i, o) {
3519
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), be.INVALID_VALUE, o) || this;
3547
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), _e.INVALID_VALUE, o) || this;
3520
3548
  }
3521
3549
  return t;
3522
- }(at)
3550
+ }(st)
3523
3551
  ), ki = (
3524
3552
  /** @class */
3525
3553
  function(e) {
3526
- st(t, e);
3554
+ Q(t, e);
3527
3555
  function t(r, n, i) {
3528
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), be.INVALID_VALUE, i) || this;
3556
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), _e.INVALID_VALUE, i) || this;
3529
3557
  }
3530
3558
  return t;
3531
- }(at)
3559
+ }(st)
3532
3560
  ), Vi = (
3533
3561
  /** @class */
3534
3562
  function(e) {
3535
- st(t, e);
3563
+ Q(t, e);
3536
3564
  function t(r, n) {
3537
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), be.MISSING_VALUE, n) || this;
3565
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), _e.MISSING_VALUE, n) || this;
3538
3566
  }
3539
3567
  return t;
3540
- }(at)
3568
+ }(st)
3541
3569
  ), D;
3542
3570
  (function(e) {
3543
3571
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
@@ -3551,8 +3579,8 @@ function Xi(e) {
3551
3579
  function Wi(e) {
3552
3580
  return typeof e == "function";
3553
3581
  }
3554
- function We(e, t, r, n, i, o, a) {
3555
- if (e.length === 1 && Yt(e[0]))
3582
+ function ze(e, t, r, n, i, o, a) {
3583
+ if (e.length === 1 && Kt(e[0]))
3556
3584
  return [
3557
3585
  {
3558
3586
  type: D.literal,
@@ -3561,105 +3589,105 @@ function We(e, t, r, n, i, o, a) {
3561
3589
  ];
3562
3590
  for (var s = [], l = 0, u = e; l < u.length; l++) {
3563
3591
  var c = u[l];
3564
- if (Yt(c)) {
3592
+ if (Kt(c)) {
3565
3593
  s.push({
3566
3594
  type: D.literal,
3567
3595
  value: c.value
3568
3596
  });
3569
3597
  continue;
3570
3598
  }
3571
- if (di(c)) {
3599
+ if (mi(c)) {
3572
3600
  typeof o == "number" && s.push({
3573
3601
  type: D.literal,
3574
3602
  value: r.getNumberFormat(t).format(o)
3575
3603
  });
3576
3604
  continue;
3577
3605
  }
3578
- var p = c.value;
3579
- if (!(i && p in i))
3580
- throw new Vi(p, a);
3581
- var h = i[p];
3582
- if (pi(c)) {
3606
+ var d = c.value;
3607
+ if (!(i && d in i))
3608
+ throw new Vi(d, a);
3609
+ var h = i[d];
3610
+ if (di(c)) {
3583
3611
  (!h || typeof h == "string" || typeof h == "number") && (h = typeof h == "string" || typeof h == "number" ? String(h) : ""), s.push({
3584
3612
  type: typeof h == "string" ? D.literal : D.object,
3585
3613
  value: h
3586
3614
  });
3587
3615
  continue;
3588
3616
  }
3589
- if (Fr(c)) {
3590
- var b = typeof c.style == "string" ? n.date[c.style] : xt(c.style) ? c.style.parsedOptions : void 0;
3617
+ if (Ur(c)) {
3618
+ var b = typeof c.style == "string" ? n.date[c.style] : wt(c.style) ? c.style.parsedOptions : void 0;
3591
3619
  s.push({
3592
3620
  type: D.literal,
3593
3621
  value: r.getDateTimeFormat(t, b).format(h)
3594
3622
  });
3595
3623
  continue;
3596
3624
  }
3597
- if (Gr(c)) {
3598
- var b = typeof c.style == "string" ? n.time[c.style] : xt(c.style) ? c.style.parsedOptions : n.time.medium;
3625
+ if (Fr(c)) {
3626
+ var b = typeof c.style == "string" ? n.time[c.style] : wt(c.style) ? c.style.parsedOptions : n.time.medium;
3599
3627
  s.push({
3600
3628
  type: D.literal,
3601
3629
  value: r.getDateTimeFormat(t, b).format(h)
3602
3630
  });
3603
3631
  continue;
3604
3632
  }
3605
- if (Ur(c)) {
3606
- var b = typeof c.style == "string" ? n.number[c.style] : Xr(c.style) ? c.style.parsedOptions : void 0;
3633
+ if ($r(c)) {
3634
+ var b = typeof c.style == "string" ? n.number[c.style] : Vr(c.style) ? c.style.parsedOptions : void 0;
3607
3635
  b && b.scale && (h = h * (b.scale || 1)), s.push({
3608
3636
  type: D.literal,
3609
3637
  value: r.getNumberFormat(t, b).format(h)
3610
3638
  });
3611
3639
  continue;
3612
3640
  }
3613
- if (Vr(c)) {
3614
- var f = c.children, d = c.value, y = i[d];
3641
+ if (kr(c)) {
3642
+ var f = c.children, m = c.value, y = i[m];
3615
3643
  if (!Wi(y))
3616
- throw new ki(d, "function", a);
3617
- var _ = We(f, t, r, n, i, o), m = y(_.map(function(T) {
3618
- return T.value;
3644
+ throw new ki(m, "function", a);
3645
+ var E = ze(f, t, r, n, i, o), p = y(E.map(function(C) {
3646
+ return C.value;
3619
3647
  }));
3620
- Array.isArray(m) || (m = [m]), s.push.apply(s, m.map(function(T) {
3648
+ Array.isArray(p) || (p = [p]), s.push.apply(s, p.map(function(C) {
3621
3649
  return {
3622
- type: typeof T == "string" ? D.literal : D.object,
3623
- value: T
3650
+ type: typeof C == "string" ? D.literal : D.object,
3651
+ value: C
3624
3652
  };
3625
3653
  }));
3626
3654
  }
3627
- if (jr(c)) {
3628
- var E = c.options[h] || c.options.other;
3629
- if (!E)
3630
- throw new ir(c.value, h, Object.keys(c.options), a);
3631
- s.push.apply(s, We(E.value, t, r, n, i));
3655
+ if (Gr(c)) {
3656
+ var v = c.options[h] || c.options.other;
3657
+ if (!v)
3658
+ throw new nr(c.value, h, Object.keys(c.options), a);
3659
+ s.push.apply(s, ze(v.value, t, r, n, i));
3632
3660
  continue;
3633
3661
  }
3634
- if (kr(c)) {
3635
- var E = c.options["=".concat(h)];
3636
- if (!E) {
3662
+ if (jr(c)) {
3663
+ var v = c.options["=".concat(h)];
3664
+ if (!v) {
3637
3665
  if (!Intl.PluralRules)
3638
- throw new at(`Intl.PluralRules is not available in this environment.
3666
+ throw new st(`Intl.PluralRules is not available in this environment.
3639
3667
  Try polyfilling it using "@formatjs/intl-pluralrules"
3640
- `, be.MISSING_INTL_API, a);
3668
+ `, _e.MISSING_INTL_API, a);
3641
3669
  var g = r.getPluralRules(t, { type: c.pluralType }).select(h - (c.offset || 0));
3642
- E = c.options[g] || c.options.other;
3670
+ v = c.options[g] || c.options.other;
3643
3671
  }
3644
- if (!E)
3645
- throw new ir(c.value, h, Object.keys(c.options), a);
3646
- s.push.apply(s, We(E.value, t, r, n, i, h - (c.offset || 0)));
3672
+ if (!v)
3673
+ throw new nr(c.value, h, Object.keys(c.options), a);
3674
+ s.push.apply(s, ze(v.value, t, r, n, i, h - (c.offset || 0)));
3647
3675
  continue;
3648
3676
  }
3649
3677
  }
3650
3678
  return Xi(s);
3651
3679
  }
3652
3680
  function zi(e, t) {
3653
- return t ? k(k(k({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3654
- return r[n] = k(k({}, e[n]), t[n] || {}), r;
3681
+ return t ? A(A(A({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3682
+ return r[n] = A(A({}, e[n]), t[n] || {}), r;
3655
3683
  }, {})) : e;
3656
3684
  }
3657
3685
  function Zi(e, t) {
3658
3686
  return t ? Object.keys(e).reduce(function(r, n) {
3659
3687
  return r[n] = zi(e[n], t[n]), r;
3660
- }, k({}, e)) : e;
3688
+ }, A({}, e)) : e;
3661
3689
  }
3662
- function gt(e) {
3690
+ function pt(e) {
3663
3691
  return {
3664
3692
  create: function() {
3665
3693
  return {
@@ -3679,33 +3707,33 @@ function Qi(e) {
3679
3707
  dateTime: {},
3680
3708
  pluralRules: {}
3681
3709
  }), {
3682
- getNumberFormat: dt(function() {
3710
+ getNumberFormat: ft(function() {
3683
3711
  for (var t, r = [], n = 0; n < arguments.length; n++)
3684
3712
  r[n] = arguments[n];
3685
- return new ((t = Intl.NumberFormat).bind.apply(t, pt([void 0], r, !1)))();
3713
+ return new ((t = Intl.NumberFormat).bind.apply(t, ge([void 0], r, !1)))();
3686
3714
  }, {
3687
- cache: gt(e.number),
3688
- strategy: mt.variadic
3715
+ cache: pt(e.number),
3716
+ strategy: dt.variadic
3689
3717
  }),
3690
- getDateTimeFormat: dt(function() {
3718
+ getDateTimeFormat: ft(function() {
3691
3719
  for (var t, r = [], n = 0; n < arguments.length; n++)
3692
3720
  r[n] = arguments[n];
3693
- return new ((t = Intl.DateTimeFormat).bind.apply(t, pt([void 0], r, !1)))();
3721
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, ge([void 0], r, !1)))();
3694
3722
  }, {
3695
- cache: gt(e.dateTime),
3696
- strategy: mt.variadic
3723
+ cache: pt(e.dateTime),
3724
+ strategy: dt.variadic
3697
3725
  }),
3698
- getPluralRules: dt(function() {
3726
+ getPluralRules: ft(function() {
3699
3727
  for (var t, r = [], n = 0; n < arguments.length; n++)
3700
3728
  r[n] = arguments[n];
3701
- return new ((t = Intl.PluralRules).bind.apply(t, pt([void 0], r, !1)))();
3729
+ return new ((t = Intl.PluralRules).bind.apply(t, ge([void 0], r, !1)))();
3702
3730
  }, {
3703
- cache: gt(e.pluralRules),
3704
- strategy: mt.variadic
3731
+ cache: pt(e.pluralRules),
3732
+ strategy: dt.variadic
3705
3733
  })
3706
3734
  };
3707
3735
  }
3708
- var qr = (
3736
+ var Jr = (
3709
3737
  /** @class */
3710
3738
  function() {
3711
3739
  function e(t, r, n, i) {
@@ -3719,12 +3747,12 @@ var qr = (
3719
3747
  var u = o.formatToParts(l);
3720
3748
  if (u.length === 1)
3721
3749
  return u[0].value;
3722
- var c = u.reduce(function(p, h) {
3723
- return !p.length || h.type !== D.literal || typeof p[p.length - 1] != "string" ? p.push(h.value) : p[p.length - 1] += h.value, p;
3750
+ var c = u.reduce(function(d, h) {
3751
+ return !d.length || h.type !== D.literal || typeof d[d.length - 1] != "string" ? d.push(h.value) : d[d.length - 1] += h.value, d;
3724
3752
  }, []);
3725
3753
  return c.length <= 1 ? c[0] || "" : c;
3726
3754
  }, this.formatToParts = function(l) {
3727
- return We(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
3755
+ return ze(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
3728
3756
  }, this.resolvedOptions = function() {
3729
3757
  var l;
3730
3758
  return {
@@ -3737,8 +3765,8 @@ var qr = (
3737
3765
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3738
3766
  var a = i || {};
3739
3767
  a.formatters;
3740
- var s = oi(a, ["formatters"]);
3741
- this.ast = e.__parse(t, k(k({}, s), { locale: this.resolvedLocale }));
3768
+ var s = si(a, ["formatters"]);
3769
+ this.ast = e.__parse(t, A(A({}, s), { locale: this.resolvedLocale }));
3742
3770
  } else
3743
3771
  this.ast = t;
3744
3772
  if (!Array.isArray(this.ast))
@@ -3838,28 +3866,28 @@ function Ki(e, t) {
3838
3866
  n = void 0;
3839
3867
  return n;
3840
3868
  }
3841
- const J = {}, Yi = (e, t, r) => r && (t in J || (J[t] = {}), e in J[t] || (J[t][e] = r), r), en = (e, t) => {
3869
+ const Y = {}, Yi = (e, t, r) => r && (t in Y || (Y[t] = {}), e in Y[t] || (Y[t][e] = r), r), qr = (e, t) => {
3842
3870
  if (t == null)
3843
3871
  return;
3844
- if (t in J && e in J[t])
3845
- return J[t][e];
3846
- const r = Oe(t);
3872
+ if (t in Y && e in Y[t])
3873
+ return Y[t][e];
3874
+ const r = Ie(t);
3847
3875
  for (let n = 0; n < r.length; n++) {
3848
3876
  const i = r[n], o = qi(i, e);
3849
3877
  if (o)
3850
3878
  return Yi(e, t, o);
3851
3879
  }
3852
3880
  };
3853
- let kt;
3854
- const Be = ot({});
3881
+ let jt;
3882
+ const Oe = ot({});
3855
3883
  function Ji(e) {
3856
- return kt[e] || null;
3884
+ return jt[e] || null;
3857
3885
  }
3858
- function tn(e) {
3859
- return e in kt;
3886
+ function en(e) {
3887
+ return e in jt;
3860
3888
  }
3861
3889
  function qi(e, t) {
3862
- if (!tn(e))
3890
+ if (!en(e))
3863
3891
  return null;
3864
3892
  const r = Ji(e);
3865
3893
  return Ki(r, t);
@@ -3867,68 +3895,68 @@ function qi(e, t) {
3867
3895
  function eo(e) {
3868
3896
  if (e == null)
3869
3897
  return;
3870
- const t = Oe(e);
3898
+ const t = Ie(e);
3871
3899
  for (let r = 0; r < t.length; r++) {
3872
3900
  const n = t[r];
3873
- if (tn(n))
3901
+ if (en(n))
3874
3902
  return n;
3875
3903
  }
3876
3904
  }
3877
- function rn(e, ...t) {
3878
- delete J[e], Be.update((r) => (r[e] = ii.all([r[e] || {}, ...t]), r));
3905
+ function tn(e, ...t) {
3906
+ delete Y[e], Oe.update((r) => (r[e] = oi.all([r[e] || {}, ...t]), r));
3879
3907
  }
3880
- ye(
3881
- [Be],
3908
+ xe(
3909
+ [Oe],
3882
3910
  ([e]) => Object.keys(e)
3883
3911
  );
3884
- Be.subscribe((e) => kt = e);
3885
- const ze = {};
3912
+ Oe.subscribe((e) => jt = e);
3913
+ const Ze = {};
3886
3914
  function to(e, t) {
3887
- ze[e].delete(t), ze[e].size === 0 && delete ze[e];
3915
+ Ze[e].delete(t), Ze[e].size === 0 && delete Ze[e];
3888
3916
  }
3889
- function nn(e) {
3890
- return ze[e];
3917
+ function rn(e) {
3918
+ return Ze[e];
3891
3919
  }
3892
3920
  function ro(e) {
3893
- return Oe(e).map((t) => {
3894
- const r = nn(t);
3921
+ return Ie(e).map((t) => {
3922
+ const r = rn(t);
3895
3923
  return [t, r ? [...r] : []];
3896
3924
  }).filter(([, t]) => t.length > 0);
3897
3925
  }
3898
3926
  function rt(e) {
3899
- return e == null ? !1 : Oe(e).some(
3927
+ return e == null ? !1 : Ie(e).some(
3900
3928
  (t) => {
3901
3929
  var r;
3902
- return (r = nn(t)) == null ? void 0 : r.size;
3930
+ return (r = rn(t)) == null ? void 0 : r.size;
3903
3931
  }
3904
3932
  );
3905
3933
  }
3906
3934
  function no(e, t) {
3907
3935
  return Promise.all(
3908
3936
  t.map((n) => (to(e, n), n().then((i) => i.default || i)))
3909
- ).then((n) => rn(e, ...n));
3937
+ ).then((n) => tn(e, ...n));
3910
3938
  }
3911
- const we = {};
3912
- function on(e) {
3939
+ const Ae = {};
3940
+ function nn(e) {
3913
3941
  if (!rt(e))
3914
- return e in we ? we[e] : Promise.resolve();
3942
+ return e in Ae ? Ae[e] : Promise.resolve();
3915
3943
  const t = ro(e);
3916
- return we[e] = Promise.all(
3944
+ return Ae[e] = Promise.all(
3917
3945
  t.map(
3918
3946
  ([r, n]) => no(r, n)
3919
3947
  )
3920
3948
  ).then(() => {
3921
3949
  if (rt(e))
3922
- return on(e);
3923
- delete we[e];
3924
- }), we[e];
3950
+ return nn(e);
3951
+ delete Ae[e];
3952
+ }), Ae[e];
3925
3953
  }
3926
- var or = Object.getOwnPropertySymbols, io = Object.prototype.hasOwnProperty, oo = Object.prototype.propertyIsEnumerable, so = (e, t) => {
3954
+ var ir = Object.getOwnPropertySymbols, io = Object.prototype.hasOwnProperty, oo = Object.prototype.propertyIsEnumerable, so = (e, t) => {
3927
3955
  var r = {};
3928
3956
  for (var n in e)
3929
3957
  io.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3930
- if (e != null && or)
3931
- for (var n of or(e))
3958
+ if (e != null && ir)
3959
+ for (var n of ir(e))
3932
3960
  t.indexOf(n) < 0 && oo.call(e, n) && (r[n] = e[n]);
3933
3961
  return r;
3934
3962
  };
@@ -3964,9 +3992,9 @@ const ao = {
3964
3992
  };
3965
3993
  function uo({ locale: e, id: t }) {
3966
3994
  console.warn(
3967
- `[svelte-i18n] The message "${t}" was not found in "${Oe(
3995
+ `[svelte-i18n] The message "${t}" was not found in "${Ie(
3968
3996
  e
3969
- ).join('", "')}".${rt(ee()) ? `
3997
+ ).join('", "')}".${rt(q()) ? `
3970
3998
 
3971
3999
  Note: there are at least one loader still registered to this locale that wasn't executed.` : ""}`
3972
4000
  );
@@ -3978,16 +4006,16 @@ const lo = {
3978
4006
  warnOnMissingMessages: !0,
3979
4007
  handleMissingMessage: void 0,
3980
4008
  ignoreTag: !0
3981
- }, Se = lo;
3982
- function ge() {
3983
- return Se;
4009
+ }, Ce = lo;
4010
+ function Ee() {
4011
+ return Ce;
3984
4012
  }
3985
4013
  function co(e) {
3986
4014
  const t = e, { formats: r } = t, n = so(t, ["formats"]);
3987
4015
  let i = e.fallbackLocale;
3988
4016
  if (e.initialLocale)
3989
4017
  try {
3990
- qr.resolveLocale(e.initialLocale) && (i = e.initialLocale);
4018
+ Jr.resolveLocale(e.initialLocale) && (i = e.initialLocale);
3991
4019
  } catch {
3992
4020
  console.warn(
3993
4021
  `[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`
@@ -3995,124 +4023,124 @@ function co(e) {
3995
4023
  }
3996
4024
  return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = uo : console.warn(
3997
4025
  '[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
3998
- )), Object.assign(Se, n, { initialLocale: i }), r && ("number" in r && Object.assign(Se.formats.number, r.number), "date" in r && Object.assign(Se.formats.date, r.date), "time" in r && Object.assign(Se.formats.time, r.time)), ae.set(i);
4026
+ )), Object.assign(Ce, n, { initialLocale: i }), r && ("number" in r && Object.assign(Ce.formats.number, r.number), "date" in r && Object.assign(Ce.formats.date, r.date), "time" in r && Object.assign(Ce.formats.time, r.time)), se.set(i);
3999
4027
  }
4000
- const yt = ot(!1);
4001
- var ho = Object.defineProperty, fo = Object.defineProperties, po = Object.getOwnPropertyDescriptors, sr = Object.getOwnPropertySymbols, mo = Object.prototype.hasOwnProperty, bo = Object.prototype.propertyIsEnumerable, ar = (e, t, r) => t in e ? ho(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, go = (e, t) => {
4028
+ const bt = ot(!1);
4029
+ var ho = Object.defineProperty, fo = Object.defineProperties, mo = Object.getOwnPropertyDescriptors, or = Object.getOwnPropertySymbols, po = Object.prototype.hasOwnProperty, bo = Object.prototype.propertyIsEnumerable, sr = (e, t, r) => t in e ? ho(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, go = (e, t) => {
4002
4030
  for (var r in t || (t = {}))
4003
- mo.call(t, r) && ar(e, r, t[r]);
4004
- if (sr)
4005
- for (var r of sr(t))
4006
- bo.call(t, r) && ar(e, r, t[r]);
4031
+ po.call(t, r) && sr(e, r, t[r]);
4032
+ if (or)
4033
+ for (var r of or(t))
4034
+ bo.call(t, r) && sr(e, r, t[r]);
4007
4035
  return e;
4008
- }, yo = (e, t) => fo(e, po(t));
4009
- let Mt;
4036
+ }, yo = (e, t) => fo(e, mo(t));
4037
+ let Ht;
4010
4038
  const nt = ot(null);
4011
- function ur(e) {
4039
+ function ar(e) {
4012
4040
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4013
4041
  }
4014
- function Oe(e, t = ge().fallbackLocale) {
4015
- const r = ur(e);
4016
- return t ? [.../* @__PURE__ */ new Set([...r, ...ur(t)])] : r;
4042
+ function Ie(e, t = Ee().fallbackLocale) {
4043
+ const r = ar(e);
4044
+ return t ? [.../* @__PURE__ */ new Set([...r, ...ar(t)])] : r;
4017
4045
  }
4018
- function ee() {
4019
- return Mt ?? void 0;
4046
+ function q() {
4047
+ return Ht ?? void 0;
4020
4048
  }
4021
4049
  nt.subscribe((e) => {
4022
- Mt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4050
+ Ht = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4023
4051
  });
4024
4052
  const vo = (e) => {
4025
4053
  if (e && eo(e) && rt(e)) {
4026
- const { loadingDelay: t } = ge();
4054
+ const { loadingDelay: t } = Ee();
4027
4055
  let r;
4028
- return typeof window < "u" && ee() != null && t ? r = window.setTimeout(
4029
- () => yt.set(!0),
4056
+ return typeof window < "u" && q() != null && t ? r = window.setTimeout(
4057
+ () => bt.set(!0),
4030
4058
  t
4031
- ) : yt.set(!0), on(e).then(() => {
4059
+ ) : bt.set(!0), nn(e).then(() => {
4032
4060
  nt.set(e);
4033
4061
  }).finally(() => {
4034
- clearTimeout(r), yt.set(!1);
4062
+ clearTimeout(r), bt.set(!1);
4035
4063
  });
4036
4064
  }
4037
4065
  return nt.set(e);
4038
- }, ae = yo(go({}, nt), {
4066
+ }, se = yo(go({}, nt), {
4039
4067
  set: vo
4040
- }), ut = (e) => {
4068
+ }), at = (e) => {
4041
4069
  const t = /* @__PURE__ */ Object.create(null);
4042
4070
  return (n) => {
4043
4071
  const i = JSON.stringify(n);
4044
4072
  return i in t ? t[i] : t[i] = e(n);
4045
4073
  };
4046
4074
  };
4047
- var _o = Object.defineProperty, it = Object.getOwnPropertySymbols, sn = Object.prototype.hasOwnProperty, an = Object.prototype.propertyIsEnumerable, lr = (e, t, r) => t in e ? _o(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Vt = (e, t) => {
4075
+ var _o = Object.defineProperty, it = Object.getOwnPropertySymbols, on = Object.prototype.hasOwnProperty, sn = Object.prototype.propertyIsEnumerable, ur = (e, t, r) => t in e ? _o(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, kt = (e, t) => {
4048
4076
  for (var r in t || (t = {}))
4049
- sn.call(t, r) && lr(e, r, t[r]);
4077
+ on.call(t, r) && ur(e, r, t[r]);
4050
4078
  if (it)
4051
4079
  for (var r of it(t))
4052
- an.call(t, r) && lr(e, r, t[r]);
4080
+ sn.call(t, r) && ur(e, r, t[r]);
4053
4081
  return e;
4054
- }, ve = (e, t) => {
4082
+ }, we = (e, t) => {
4055
4083
  var r = {};
4056
4084
  for (var n in e)
4057
- sn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4085
+ on.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4058
4086
  if (e != null && it)
4059
4087
  for (var n of it(e))
4060
- t.indexOf(n) < 0 && an.call(e, n) && (r[n] = e[n]);
4088
+ t.indexOf(n) < 0 && sn.call(e, n) && (r[n] = e[n]);
4061
4089
  return r;
4062
4090
  };
4063
- const Pe = (e, t) => {
4064
- const { formats: r } = ge();
4091
+ const Ne = (e, t) => {
4092
+ const { formats: r } = Ee();
4065
4093
  if (e in r && t in r[e])
4066
4094
  return r[e][t];
4067
4095
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4068
- }, Eo = ut(
4096
+ }, Eo = at(
4069
4097
  (e) => {
4070
- var t = e, { locale: r, format: n } = t, i = ve(t, ["locale", "format"]);
4098
+ var t = e, { locale: r, format: n } = t, i = we(t, ["locale", "format"]);
4071
4099
  if (r == null)
4072
4100
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4073
- return n && (i = Pe("number", n)), new Intl.NumberFormat(r, i);
4101
+ return n && (i = Ne("number", n)), new Intl.NumberFormat(r, i);
4074
4102
  }
4075
- ), xo = ut(
4103
+ ), xo = at(
4076
4104
  (e) => {
4077
- var t = e, { locale: r, format: n } = t, i = ve(t, ["locale", "format"]);
4105
+ var t = e, { locale: r, format: n } = t, i = we(t, ["locale", "format"]);
4078
4106
  if (r == null)
4079
4107
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4080
- return n ? i = Pe("date", n) : Object.keys(i).length === 0 && (i = Pe("date", "short")), new Intl.DateTimeFormat(r, i);
4108
+ return n ? i = Ne("date", n) : Object.keys(i).length === 0 && (i = Ne("date", "short")), new Intl.DateTimeFormat(r, i);
4081
4109
  }
4082
- ), wo = ut(
4110
+ ), wo = at(
4083
4111
  (e) => {
4084
- var t = e, { locale: r, format: n } = t, i = ve(t, ["locale", "format"]);
4112
+ var t = e, { locale: r, format: n } = t, i = we(t, ["locale", "format"]);
4085
4113
  if (r == null)
4086
4114
  throw new Error(
4087
4115
  '[svelte-i18n] A "locale" must be set to format time values'
4088
4116
  );
4089
- return n ? i = Pe("time", n) : Object.keys(i).length === 0 && (i = Pe("time", "short")), new Intl.DateTimeFormat(r, i);
4117
+ return n ? i = Ne("time", n) : Object.keys(i).length === 0 && (i = Ne("time", "short")), new Intl.DateTimeFormat(r, i);
4090
4118
  }
4091
4119
  ), So = (e = {}) => {
4092
4120
  var t = e, {
4093
- locale: r = ee()
4094
- } = t, n = ve(t, [
4121
+ locale: r = q()
4122
+ } = t, n = we(t, [
4095
4123
  "locale"
4096
4124
  ]);
4097
- return Eo(Vt({ locale: r }, n));
4125
+ return Eo(kt({ locale: r }, n));
4098
4126
  }, To = (e = {}) => {
4099
4127
  var t = e, {
4100
- locale: r = ee()
4101
- } = t, n = ve(t, [
4128
+ locale: r = q()
4129
+ } = t, n = we(t, [
4102
4130
  "locale"
4103
4131
  ]);
4104
- return xo(Vt({ locale: r }, n));
4132
+ return xo(kt({ locale: r }, n));
4105
4133
  }, Ao = (e = {}) => {
4106
4134
  var t = e, {
4107
- locale: r = ee()
4108
- } = t, n = ve(t, [
4135
+ locale: r = q()
4136
+ } = t, n = we(t, [
4109
4137
  "locale"
4110
4138
  ]);
4111
- return wo(Vt({ locale: r }, n));
4112
- }, Co = ut(
4139
+ return wo(kt({ locale: r }, n));
4140
+ }, Co = at(
4113
4141
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4114
- (e, t = ee()) => new qr(e, t, ge().formats, {
4115
- ignoreTag: ge().ignoreTag
4142
+ (e, t = q()) => new Jr(e, t, Ee().formats, {
4143
+ ignoreTag: Ee().ignoreTag
4116
4144
  })
4117
4145
  ), Mo = (e, t = {}) => {
4118
4146
  var r, n, i, o;
@@ -4120,116 +4148,47 @@ const Pe = (e, t) => {
4120
4148
  typeof e == "object" && (a = e, e = a.id);
4121
4149
  const {
4122
4150
  values: s,
4123
- locale: l = ee(),
4151
+ locale: l = q(),
4124
4152
  default: u
4125
4153
  } = a;
4126
4154
  if (l == null)
4127
4155
  throw new Error(
4128
4156
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4129
4157
  );
4130
- let c = en(e, l);
4158
+ let c = qr(e, l);
4131
4159
  if (!c)
4132
- c = (o = (i = (n = (r = ge()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4160
+ c = (o = (i = (n = (r = Ee()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4133
4161
  else if (typeof c != "string")
4134
4162
  return console.warn(
4135
4163
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
4136
4164
  ), c;
4137
4165
  if (!s)
4138
4166
  return c;
4139
- let p = c;
4167
+ let d = c;
4140
4168
  try {
4141
- p = Co(c, l).format(s);
4169
+ d = Co(c, l).format(s);
4142
4170
  } catch (h) {
4143
4171
  h instanceof Error && console.warn(
4144
4172
  `[svelte-i18n] Message "${e}" has syntax error:`,
4145
4173
  h.message
4146
4174
  );
4147
4175
  }
4148
- return p;
4149
- }, Ho = (e, t) => Ao(t).format(e), Po = (e, t) => To(t).format(e), Bo = (e, t) => So(t).format(e), Oo = (e, t = ee()) => en(e, t), No = ye([ae, Be], () => Mo);
4150
- ye([ae], () => Ho);
4151
- ye([ae], () => Po);
4152
- ye([ae], () => Bo);
4153
- ye([ae, Be], () => Oo);
4154
- /*! *****************************************************************************
4155
- Copyright (c) Microsoft Corporation.
4156
-
4157
- Permission to use, copy, modify, and/or distribute this software for any
4158
- purpose with or without fee is hereby granted.
4159
-
4160
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
4161
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
4162
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
4163
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
4164
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
4165
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
4166
- PERFORMANCE OF THIS SOFTWARE.
4167
- ***************************************************************************** */
4168
- var Ht = function(e, t) {
4169
- return Ht = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
4170
- r.__proto__ = n;
4171
- } || function(r, n) {
4172
- for (var i in n)
4173
- Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
4174
- }, Ht(e, t);
4175
- };
4176
- function Ne(e, t) {
4177
- if (typeof t != "function" && t !== null)
4178
- throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
4179
- Ht(e, t);
4180
- function r() {
4181
- this.constructor = e;
4182
- }
4183
- e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
4184
- }
4185
- function Pt(e) {
4186
- var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
4187
- if (r)
4188
- return r.call(e);
4189
- if (e && typeof e.length == "number")
4190
- return {
4191
- next: function() {
4192
- return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
4193
- }
4194
- };
4195
- throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
4196
- }
4197
- function Bt(e, t) {
4198
- var r = typeof Symbol == "function" && e[Symbol.iterator];
4199
- if (!r)
4200
- return e;
4201
- var n = r.call(e), i, o = [], a;
4202
- try {
4203
- for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
4204
- o.push(i.value);
4205
- } catch (s) {
4206
- a = { error: s };
4207
- } finally {
4208
- try {
4209
- i && !i.done && (r = n.return) && r.call(n);
4210
- } finally {
4211
- if (a)
4212
- throw a.error;
4213
- }
4214
- }
4215
- return o;
4216
- }
4217
- function Ot(e, t, r) {
4218
- if (arguments.length === 2)
4219
- for (var n = 0, i = t.length, o; n < i; n++)
4220
- (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
4221
- return e.concat(o || t);
4222
- }
4223
- function K(e) {
4176
+ return d;
4177
+ }, Ho = (e, t) => Ao(t).format(e), Po = (e, t) => To(t).format(e), Bo = (e, t) => So(t).format(e), Lo = (e, t = q()) => qr(e, t), No = xe([se, Oe], () => Mo);
4178
+ xe([se], () => Ho);
4179
+ xe([se], () => Po);
4180
+ xe([se], () => Bo);
4181
+ xe([se, Oe], () => Lo);
4182
+ function Z(e) {
4224
4183
  return typeof e == "function";
4225
4184
  }
4226
- function un(e) {
4185
+ function an(e) {
4227
4186
  var t = function(n) {
4228
4187
  Error.call(n), n.stack = new Error().stack;
4229
4188
  }, r = e(t);
4230
4189
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
4231
4190
  }
4232
- var vt = un(function(e) {
4191
+ var gt = an(function(e) {
4233
4192
  return function(r) {
4234
4193
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
4235
4194
  ` + r.map(function(n, i) {
@@ -4238,13 +4197,13 @@ var vt = un(function(e) {
4238
4197
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
4239
4198
  };
4240
4199
  });
4241
- function Nt(e, t) {
4200
+ function Pt(e, t) {
4242
4201
  if (e) {
4243
4202
  var r = e.indexOf(t);
4244
4203
  0 <= r && e.splice(r, 1);
4245
4204
  }
4246
4205
  }
4247
- var lt = function() {
4206
+ var ut = function() {
4248
4207
  function e(t) {
4249
4208
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
4250
4209
  }
@@ -4256,12 +4215,12 @@ var lt = function() {
4256
4215
  if (a)
4257
4216
  if (this._parentage = null, Array.isArray(a))
4258
4217
  try {
4259
- for (var s = Pt(a), l = s.next(); !l.done; l = s.next()) {
4218
+ for (var s = Et(a), l = s.next(); !l.done; l = s.next()) {
4260
4219
  var u = l.value;
4261
4220
  u.remove(this);
4262
4221
  }
4263
- } catch (d) {
4264
- t = { error: d };
4222
+ } catch (m) {
4223
+ t = { error: m };
4265
4224
  } finally {
4266
4225
  try {
4267
4226
  l && !l.done && (r = s.return) && r.call(s);
@@ -4273,26 +4232,26 @@ var lt = function() {
4273
4232
  else
4274
4233
  a.remove(this);
4275
4234
  var c = this.initialTeardown;
4276
- if (K(c))
4235
+ if (Z(c))
4277
4236
  try {
4278
4237
  c();
4279
- } catch (d) {
4280
- o = d instanceof vt ? d.errors : [d];
4238
+ } catch (m) {
4239
+ o = m instanceof gt ? m.errors : [m];
4281
4240
  }
4282
- var p = this._finalizers;
4283
- if (p) {
4241
+ var d = this._finalizers;
4242
+ if (d) {
4284
4243
  this._finalizers = null;
4285
4244
  try {
4286
- for (var h = Pt(p), b = h.next(); !b.done; b = h.next()) {
4245
+ for (var h = Et(d), b = h.next(); !b.done; b = h.next()) {
4287
4246
  var f = b.value;
4288
4247
  try {
4289
- cr(f);
4290
- } catch (d) {
4291
- o = o ?? [], d instanceof vt ? o = Ot(Ot([], Bt(o)), Bt(d.errors)) : o.push(d);
4248
+ lr(f);
4249
+ } catch (m) {
4250
+ o = o ?? [], m instanceof gt ? o = ge(ge([], xt(o)), xt(m.errors)) : o.push(m);
4292
4251
  }
4293
4252
  }
4294
- } catch (d) {
4295
- n = { error: d };
4253
+ } catch (m) {
4254
+ n = { error: m };
4296
4255
  } finally {
4297
4256
  try {
4298
4257
  b && !b.done && (i = h.return) && i.call(h);
@@ -4303,13 +4262,13 @@ var lt = function() {
4303
4262
  }
4304
4263
  }
4305
4264
  if (o)
4306
- throw new vt(o);
4265
+ throw new gt(o);
4307
4266
  }
4308
4267
  }, e.prototype.add = function(t) {
4309
4268
  var r;
4310
4269
  if (t && t !== this)
4311
4270
  if (this.closed)
4312
- cr(t);
4271
+ lr(t);
4313
4272
  else {
4314
4273
  if (t instanceof e) {
4315
4274
  if (t.closed || t._hasParent(this))
@@ -4326,52 +4285,56 @@ var lt = function() {
4326
4285
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
4327
4286
  }, e.prototype._removeParent = function(t) {
4328
4287
  var r = this._parentage;
4329
- r === t ? this._parentage = null : Array.isArray(r) && Nt(r, t);
4288
+ r === t ? this._parentage = null : Array.isArray(r) && Pt(r, t);
4330
4289
  }, e.prototype.remove = function(t) {
4331
4290
  var r = this._finalizers;
4332
- r && Nt(r, t), t instanceof e && t._removeParent(this);
4291
+ r && Pt(r, t), t instanceof e && t._removeParent(this);
4333
4292
  }, e.EMPTY = function() {
4334
4293
  var t = new e();
4335
4294
  return t.closed = !0, t;
4336
4295
  }(), e;
4337
- }(), ln = lt.EMPTY;
4338
- function cn(e) {
4339
- return e instanceof lt || e && "closed" in e && K(e.remove) && K(e.add) && K(e.unsubscribe);
4340
- }
4341
- function cr(e) {
4342
- K(e) ? e() : e.unsubscribe();
4343
- }
4344
- var Lo = {
4345
- Promise: void 0
4346
- }, Io = {
4296
+ }(), un = ut.EMPTY;
4297
+ function ln(e) {
4298
+ return e instanceof ut || e && "closed" in e && Z(e.remove) && Z(e.add) && Z(e.unsubscribe);
4299
+ }
4300
+ function lr(e) {
4301
+ Z(e) ? e() : e.unsubscribe();
4302
+ }
4303
+ var cn = {
4304
+ onUnhandledError: null,
4305
+ onStoppedNotification: null,
4306
+ Promise: void 0,
4307
+ useDeprecatedSynchronousErrorHandling: !1,
4308
+ useDeprecatedNextContext: !1
4309
+ }, Oo = {
4347
4310
  setTimeout: function(e, t) {
4348
4311
  for (var r = [], n = 2; n < arguments.length; n++)
4349
4312
  r[n - 2] = arguments[n];
4350
- return setTimeout.apply(void 0, Ot([e, t], Bt(r)));
4313
+ return setTimeout.apply(void 0, ge([e, t], xt(r)));
4351
4314
  },
4352
4315
  clearTimeout: function(e) {
4353
4316
  return clearTimeout(e);
4354
4317
  },
4355
4318
  delegate: void 0
4356
4319
  };
4357
- function Do(e) {
4358
- Io.setTimeout(function() {
4320
+ function Io(e) {
4321
+ Oo.setTimeout(function() {
4359
4322
  throw e;
4360
4323
  });
4361
4324
  }
4362
- function hr() {
4325
+ function cr() {
4363
4326
  }
4364
- function Ze(e) {
4327
+ function Qe(e) {
4365
4328
  e();
4366
4329
  }
4367
4330
  var hn = function(e) {
4368
- Ne(t, e);
4331
+ Q(t, e);
4369
4332
  function t(r) {
4370
4333
  var n = e.call(this) || this;
4371
- return n.isStopped = !1, r ? (n.destination = r, cn(r) && r.add(n)) : n.destination = Uo, n;
4334
+ return n.isStopped = !1, r ? (n.destination = r, ln(r) && r.add(n)) : n.destination = Uo, n;
4372
4335
  }
4373
4336
  return t.create = function(r, n, i) {
4374
- return new Lt(r, n, i);
4337
+ return new Bt(r, n, i);
4375
4338
  }, t.prototype.next = function(r) {
4376
4339
  this.isStopped || this._next(r);
4377
4340
  }, t.prototype.error = function(r) {
@@ -4395,7 +4358,11 @@ var hn = function(e) {
4395
4358
  this.unsubscribe();
4396
4359
  }
4397
4360
  }, t;
4398
- }(lt), Ro = function() {
4361
+ }(ut), Do = Function.prototype.bind;
4362
+ function yt(e, t) {
4363
+ return Do.call(e, t);
4364
+ }
4365
+ var Ro = function() {
4399
4366
  function e(t) {
4400
4367
  this.partialObserver = t;
4401
4368
  }
@@ -4405,7 +4372,7 @@ var hn = function(e) {
4405
4372
  try {
4406
4373
  r.next(t);
4407
4374
  } catch (n) {
4408
- Ge(n);
4375
+ je(n);
4409
4376
  }
4410
4377
  }, e.prototype.error = function(t) {
4411
4378
  var r = this.partialObserver;
@@ -4413,42 +4380,54 @@ var hn = function(e) {
4413
4380
  try {
4414
4381
  r.error(t);
4415
4382
  } catch (n) {
4416
- Ge(n);
4383
+ je(n);
4417
4384
  }
4418
4385
  else
4419
- Ge(t);
4386
+ je(t);
4420
4387
  }, e.prototype.complete = function() {
4421
4388
  var t = this.partialObserver;
4422
4389
  if (t.complete)
4423
4390
  try {
4424
4391
  t.complete();
4425
4392
  } catch (r) {
4426
- Ge(r);
4393
+ je(r);
4427
4394
  }
4428
4395
  }, e;
4429
- }(), Lt = function(e) {
4430
- Ne(t, e);
4396
+ }(), Bt = function(e) {
4397
+ Q(t, e);
4431
4398
  function t(r, n, i) {
4432
4399
  var o = e.call(this) || this, a;
4433
- return K(r) || !r ? a = {
4434
- next: r ?? void 0,
4435
- error: n ?? void 0,
4436
- complete: i ?? void 0
4437
- } : a = r, o.destination = new Ro(a), o;
4400
+ if (Z(r) || !r)
4401
+ a = {
4402
+ next: r ?? void 0,
4403
+ error: n ?? void 0,
4404
+ complete: i ?? void 0
4405
+ };
4406
+ else {
4407
+ var s;
4408
+ o && cn.useDeprecatedNextContext ? (s = Object.create(r), s.unsubscribe = function() {
4409
+ return o.unsubscribe();
4410
+ }, a = {
4411
+ next: r.next && yt(r.next, s),
4412
+ error: r.error && yt(r.error, s),
4413
+ complete: r.complete && yt(r.complete, s)
4414
+ }) : a = r;
4415
+ }
4416
+ return o.destination = new Ro(a), o;
4438
4417
  }
4439
4418
  return t;
4440
4419
  }(hn);
4441
- function Ge(e) {
4442
- Do(e);
4420
+ function je(e) {
4421
+ Io(e);
4443
4422
  }
4444
4423
  function $o(e) {
4445
4424
  throw e;
4446
4425
  }
4447
4426
  var Uo = {
4448
4427
  closed: !0,
4449
- next: hr,
4428
+ next: cr,
4450
4429
  error: $o,
4451
- complete: hr
4430
+ complete: cr
4452
4431
  }, Fo = function() {
4453
4432
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
4454
4433
  }();
@@ -4462,7 +4441,7 @@ function jo(e) {
4462
4441
  }, r);
4463
4442
  };
4464
4443
  }
4465
- var fr = function() {
4444
+ var hr = function() {
4466
4445
  function e(t) {
4467
4446
  t && (this._subscribe = t);
4468
4447
  }
@@ -4470,8 +4449,8 @@ var fr = function() {
4470
4449
  var r = new e();
4471
4450
  return r.source = this, r.operator = t, r;
4472
4451
  }, e.prototype.subscribe = function(t, r, n) {
4473
- var i = this, o = Vo(t) ? t : new Lt(t, r, n);
4474
- return Ze(function() {
4452
+ var i = this, o = Vo(t) ? t : new Bt(t, r, n);
4453
+ return Qe(function() {
4475
4454
  var a = i, s = a.operator, l = a.source;
4476
4455
  o.add(s ? s.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
4477
4456
  }), o;
@@ -4483,8 +4462,8 @@ var fr = function() {
4483
4462
  }
4484
4463
  }, e.prototype.forEach = function(t, r) {
4485
4464
  var n = this;
4486
- return r = pr(r), new r(function(i, o) {
4487
- var a = new Lt({
4465
+ return r = fr(r), new r(function(i, o) {
4466
+ var a = new Bt({
4488
4467
  next: function(s) {
4489
4468
  try {
4490
4469
  t(s);
@@ -4508,7 +4487,7 @@ var fr = function() {
4508
4487
  return jo(t)(this);
4509
4488
  }, e.prototype.toPromise = function(t) {
4510
4489
  var r = this;
4511
- return t = pr(t), new t(function(n, i) {
4490
+ return t = fr(t), new t(function(n, i) {
4512
4491
  var o;
4513
4492
  r.subscribe(function(a) {
4514
4493
  return o = a;
@@ -4522,22 +4501,22 @@ var fr = function() {
4522
4501
  return new e(t);
4523
4502
  }, e;
4524
4503
  }();
4525
- function pr(e) {
4504
+ function fr(e) {
4526
4505
  var t;
4527
- return (t = e ?? Lo.Promise) !== null && t !== void 0 ? t : Promise;
4506
+ return (t = e ?? cn.Promise) !== null && t !== void 0 ? t : Promise;
4528
4507
  }
4529
4508
  function ko(e) {
4530
- return e && K(e.next) && K(e.error) && K(e.complete);
4509
+ return e && Z(e.next) && Z(e.error) && Z(e.complete);
4531
4510
  }
4532
4511
  function Vo(e) {
4533
- return e && e instanceof hn || ko(e) && cn(e);
4512
+ return e && e instanceof hn || ko(e) && ln(e);
4534
4513
  }
4535
- var Xo = un(function(e) {
4514
+ var Xo = an(function(e) {
4536
4515
  return function() {
4537
4516
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
4538
4517
  };
4539
4518
  }), fn = function(e) {
4540
- Ne(t, e);
4519
+ Q(t, e);
4541
4520
  function t() {
4542
4521
  var r = e.call(this) || this;
4543
4522
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
@@ -4550,12 +4529,12 @@ var Xo = un(function(e) {
4550
4529
  throw new Xo();
4551
4530
  }, t.prototype.next = function(r) {
4552
4531
  var n = this;
4553
- Ze(function() {
4532
+ Qe(function() {
4554
4533
  var i, o;
4555
4534
  if (n._throwIfClosed(), !n.isStopped) {
4556
4535
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
4557
4536
  try {
4558
- for (var a = Pt(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
4537
+ for (var a = Et(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
4559
4538
  var l = s.value;
4560
4539
  l.next(r);
4561
4540
  }
@@ -4573,7 +4552,7 @@ var Xo = un(function(e) {
4573
4552
  });
4574
4553
  }, t.prototype.error = function(r) {
4575
4554
  var n = this;
4576
- Ze(function() {
4555
+ Qe(function() {
4577
4556
  if (n._throwIfClosed(), !n.isStopped) {
4578
4557
  n.hasError = n.isStopped = !0, n.thrownError = r;
4579
4558
  for (var i = n.observers; i.length; )
@@ -4582,7 +4561,7 @@ var Xo = un(function(e) {
4582
4561
  });
4583
4562
  }, t.prototype.complete = function() {
4584
4563
  var r = this;
4585
- Ze(function() {
4564
+ Qe(function() {
4586
4565
  if (r._throwIfClosed(), !r.isStopped) {
4587
4566
  r.isStopped = !0;
4588
4567
  for (var n = r.observers; n.length; )
@@ -4604,20 +4583,20 @@ var Xo = un(function(e) {
4604
4583
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
4605
4584
  }, t.prototype._innerSubscribe = function(r) {
4606
4585
  var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
4607
- return o || a ? ln : (this.currentObservers = null, s.push(r), new lt(function() {
4608
- n.currentObservers = null, Nt(s, r);
4586
+ return o || a ? un : (this.currentObservers = null, s.push(r), new ut(function() {
4587
+ n.currentObservers = null, Pt(s, r);
4609
4588
  }));
4610
4589
  }, t.prototype._checkFinalizedStatuses = function(r) {
4611
4590
  var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
4612
4591
  i ? r.error(o) : a && r.complete();
4613
4592
  }, t.prototype.asObservable = function() {
4614
- var r = new fr();
4593
+ var r = new hr();
4615
4594
  return r.source = this, r;
4616
4595
  }, t.create = function(r, n) {
4617
4596
  return new dr(r, n);
4618
4597
  }, t;
4619
- }(fr), dr = function(e) {
4620
- Ne(t, e);
4598
+ }(hr), dr = function(e) {
4599
+ Q(t, e);
4621
4600
  function t(r, n) {
4622
4601
  var i = e.call(this) || this;
4623
4602
  return i.destination = r, i.source = n, i;
@@ -4633,17 +4612,17 @@ var Xo = un(function(e) {
4633
4612
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
4634
4613
  }, t.prototype._subscribe = function(r) {
4635
4614
  var n, i;
4636
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : ln;
4615
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : un;
4637
4616
  }, t;
4638
- }(fn), pn = {
4617
+ }(fn), dn = {
4639
4618
  now: function() {
4640
- return (pn.delegate || Date).now();
4619
+ return (dn.delegate || Date).now();
4641
4620
  },
4642
4621
  delegate: void 0
4643
4622
  }, Wo = function(e) {
4644
- Ne(t, e);
4623
+ Q(t, e);
4645
4624
  function t(r, n, i) {
4646
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = pn);
4625
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = dn);
4647
4626
  var o = e.call(this) || this;
4648
4627
  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;
4649
4628
  }
@@ -4664,43 +4643,43 @@ var Xo = un(function(e) {
4664
4643
  }
4665
4644
  }, t;
4666
4645
  }(fn);
4667
- const mr = [], br = {}, zo = (e, t = 0) => {
4646
+ const mr = [], pr = {}, zo = (e, t = 0) => {
4668
4647
  if (mr.indexOf(e) == -1) {
4669
4648
  const r = new Wo(t);
4670
- br[e] = r, mr.push(e);
4649
+ pr[e] = r, mr.push(e);
4671
4650
  }
4672
- return br[e];
4651
+ return pr[e];
4673
4652
  };
4674
- let Qe = "en-UK", dn = "true", Te = 2, Ae = "";
4653
+ let Ke = "en-UK", mn = "true", Me = 2, He = "";
4675
4654
  const Zo = (e, t, r, n) => {
4676
- Qe = e || "en-UK", dn = t || "true", Te = +n || 0, Ae = r || "";
4677
- }, je = (e, t, r = {}, n = !0) => {
4655
+ Ke = e || "en-UK", mn = t || "true", Me = +n || 0, He = r || "";
4656
+ }, ke = (e, t, r = {}, n = !0) => {
4678
4657
  const i = {
4679
- maximumFractionDigits: Te,
4680
- minimumFractionDigits: Te,
4658
+ maximumFractionDigits: Me,
4659
+ minimumFractionDigits: Me,
4681
4660
  ...n && {
4682
4661
  style: "currency",
4683
4662
  currency: t,
4684
- currencyDisplay: dn === "true" ? "symbol" : "code"
4663
+ currencyDisplay: mn === "true" ? "symbol" : "code"
4685
4664
  },
4686
4665
  ...r
4687
4666
  };
4688
4667
  try {
4689
- if (!Ae)
4690
- return new Intl.NumberFormat(Qe, i).format(e);
4691
- const a = new Intl.NumberFormat(Qe, i).formatToParts(e), { currencyPart: s = "", amountPart: l = "" } = a.reduce((c, p) => (p.type === "currency" ? c.currencyPart = p : c.amountPart += p.value, c), { currencyPart: "", amountPart: "" });
4692
- return Ae === "before" ? `${s || i.currency || ""} ${l}` : `${l} ${s || i.currency || ""}`;
4668
+ if (!He)
4669
+ return new Intl.NumberFormat(Ke, i).format(e);
4670
+ const a = new Intl.NumberFormat(Ke, i).formatToParts(e), { currencyPart: s = "", amountPart: l = "" } = a.reduce((c, d) => (d.type === "currency" ? c.currencyPart = d : c.amountPart += d.value, c), { currencyPart: "", amountPart: "" });
4671
+ return He === "before" ? `${s || i.currency || ""} ${l}` : `${l} ${s || i.currency || ""}`;
4693
4672
  } catch (o) {
4694
4673
  console.info(o);
4695
- const a = new Intl.NumberFormat(Qe, {
4696
- maximumFractionDigits: Te,
4697
- minimumFractionDigits: Te
4674
+ const a = new Intl.NumberFormat(Ke, {
4675
+ maximumFractionDigits: Me,
4676
+ minimumFractionDigits: Me
4698
4677
  }).format(e);
4699
- return Ae ? Ae === "before" ? `${i.currency || ""} ${a}` : `${a} ${i.currency || ""}` : `${i.currency || ""} ${a}`;
4678
+ return He ? He === "before" ? `${i.currency || ""} ${a}` : `${a} ${i.currency || ""}` : `${i.currency || ""} ${a}`;
4700
4679
  }
4701
4680
  };
4702
4681
  window.emWidgets = { topic: zo };
4703
- const ke = (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)), Is = {
4682
+ const Ve = (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)), Rs = {
4704
4683
  "1INCH": "",
4705
4684
  AAVE: "",
4706
4685
  ADA: "₳",
@@ -4987,13 +4966,13 @@ const ke = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(
4987
4966
  ZMK: "",
4988
4967
  ZMW: "",
4989
4968
  ZWD: "Z$"
4990
- }, Ds = (e, t = null, r = 2) => {
4969
+ }, $s = (e, t = null, r = 2) => {
4991
4970
  try {
4992
4971
  return JSON.stringify(e, t, r);
4993
4972
  } catch (n) {
4994
4973
  return console.warn("Failed to stringify:", n), null;
4995
4974
  }
4996
- }, Rs = String(Number.MAX_SAFE_INTEGER).length;
4975
+ }, Us = String(Number.MAX_SAFE_INTEGER).length, me = "__WIDGET_GLOBAL_STYLE_CACHE__";
4997
4976
  function Qo(e, t) {
4998
4977
  if (e) {
4999
4978
  const r = document.createElement("style");
@@ -5011,23 +4990,50 @@ function Ko(e, t) {
5011
4990
  console.error("There was an error while trying to load client styling from URL", n);
5012
4991
  });
5013
4992
  }
5014
- function Yo(e, t, r) {
5015
- if (window.emMessageBus) {
5016
- const n = document.createElement("style");
5017
- window.emMessageBus.subscribe(t, (i) => {
5018
- n.innerHTML = i, e && e.appendChild(n);
4993
+ function Yo(e, t, r, n = !1) {
4994
+ if (!window.emMessageBus)
4995
+ return;
4996
+ if (!("adoptedStyleSheets" in Document.prototype) || !n)
4997
+ return r = Jo(e, t), r;
4998
+ window[me] || (window[me] = {}), r = qo(e, t);
4999
+ const o = r.unsubscribe.bind(r), a = () => {
5000
+ if (window[me][t]) {
5001
+ const s = window[me][t];
5002
+ s.refCount > 1 ? s.refCount = s.refCount - 1 : delete window[me][t];
5003
+ }
5004
+ o();
5005
+ };
5006
+ return r.unsubscribe = a, r;
5007
+ }
5008
+ function Jo(e, t) {
5009
+ const r = document.createElement("style");
5010
+ return window.emMessageBus.subscribe(t, (n) => {
5011
+ e && (r.innerHTML = n, e.appendChild(r));
5012
+ });
5013
+ }
5014
+ function qo(e, t) {
5015
+ return window.emMessageBus.subscribe(t, (r) => {
5016
+ if (!e)
5017
+ return;
5018
+ const n = e.getRootNode(), i = window[me];
5019
+ let o = i[t]?.sheet;
5020
+ o ? i[t].refCount = i[t].refCount + 1 : (o = new CSSStyleSheet(), o.replaceSync(r), i[t] = {
5021
+ sheet: o,
5022
+ refCount: 1
5019
5023
  });
5020
- }
5024
+ const a = n.adoptedStyleSheets || [];
5025
+ a.includes(o) || (n.adoptedStyleSheets = [...a, o]);
5026
+ });
5021
5027
  }
5022
- function gr(e, t) {
5023
- rn(e, t);
5028
+ function br(e, t) {
5029
+ tn(e, t);
5024
5030
  }
5025
- function Jo(e) {
5031
+ function es(e) {
5026
5032
  co({
5027
5033
  fallbackLocale: "en"
5028
- }), ae.set(e);
5034
+ }), se.set(e);
5029
5035
  }
5030
- const yr = {
5036
+ const gr = {
5031
5037
  en: {
5032
5038
  generalMin: "Min",
5033
5039
  generalMax: "Max",
@@ -5065,18 +5071,18 @@ const yr = {
5065
5071
  carouselSubtitle: "Les moyens de paiement les plus populaires"
5066
5072
  }
5067
5073
  };
5068
- function qo(e) {
5069
- xn(e, "svelte-1v34r4p", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.CashierCarouselWarpper{background-color:var(--emw--color-cashier-bg, var(--emw--color-background, #23281f));color:var(--emw--color-typography, var(--emw--color-white, #ffffff));height:auto;width:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:20px;position:relative;overflow:hidden}.NavigationArrow{height:220px;z-index:20;display:flex;transition:all 0.3s ease;position:absolute}.NavigationArrow:hover{cursor:pointer}.NavigationArrow:hover svg{opacity:1;transform:scale(1.1);filter:drop-shadow(0 0 0.75rem var(--emw--color-black))}.NavigationArrow svg{opacity:0.6;width:32px;height:32px;align-self:center;fill:var(--emw--color-white);transition:all 0.3s ease}.NavigationArrow.Left{left:0;background:linear-gradient(to right, var(--emw--color-cashier-bg, var(--emw--color-background, #23281f)) 35%, transparent 100%)}.NavigationArrow.Right{right:0;background:linear-gradient(to left, var(--emw--color-cashier-bg, var(--emw--color-background, #23281f)) 35%, transparent 100%)}.CarouselHeader{margin-bottom:20px;text-align:center}.CarouselHeader h4{font-size:12px;text-transform:uppercase;margin:10px 0}.CarouselHeader p{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));opacity:0.55;font-size:12px}.NoFavoritePaymentMethods{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-size:12px}.CarouselCardsContainer{display:flex;justify-content:space-between;align-items:center;overflow:hidden;position:relative;max-width:100%}.Carousel{display:flex;gap:10px;height:220px;position:relative;align-items:center;transition:transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94)}.Carousel.dragging{transition:none}.VisualDotIndicator{display:flex;gap:5px;margin-top:16px}.VisualDotIndicator .Dot{border-radius:10px;background-color:var(--emw--color-primary, #f9c405);height:10px;width:10px;opacity:0.5;transition:all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);transform:scale(1)}.VisualDotIndicator .Dot.active{opacity:1;width:30px;transform:scale(1);animation:dotPulse 0.6s ease-out}@keyframes dotPulse{0%{transform:scale(0.8);opacity:0.5}50%{transform:scale(1.15)}100%{transform:scale(1);opacity:1}}.CarouselCardWrapper{border-radius:16px;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2);position:relative;display:flex;flex-direction:column;justify-content:space-between;gap:10px;z-index:1;padding:5px;height:115px;width:78px;transition:all 0.3s ease;cursor:pointer;user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.CarouselCardWrapper.active{height:132px;width:100px}.CarouselCardWrapper.active::before{background:linear-gradient(140deg, var(--emw--color-primary, #f9c405) 5%, var(--emw--color-cashier-bg, var(--emw--color-background, #23281f)) 40%, var(--emw--color-black, #000000) 60%);opacity:0.3}.CarouselCardWrapper::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;border-radius:16px;background:linear-gradient(140deg, var(--emw--color-white, #f5f5f5) 5%, var(--emw--color-cashier-bg, var(--emw--color-background, #23281f)) 40%, var(--emw--color-black, #000000) 60%);opacity:0.2}.CarouselCardWrapper .MethodLogo img{height:20px;width:auto}.CarouselCardWrapper .MethodInfo{display:flex;flex-direction:column;gap:10px;word-break:break-word}.CarouselCardWrapper .MethodInfo .MethodTitle{font-size:var(--emw--font-size-small, 10px);font-weight:800}.CarouselCardWrapper .MethodInfo .MethodProcessingTime{color:var(--emw--color-primary, #f9c405);font-style:italic;font-size:var(--emw--font-size-x-small, 8px)}.CarouselCardWrapper .MethodInfo .MethodLimits{gap:var(--emw--spacing-small-minus, 10px);text-align:left}.CarouselCardWrapper .MethodInfo .Limits{display:flex;flex-direction:column;max-width:100%;font-size:var(--emw--font-size-x-small, 8px);font-weight:var(--emw--font-weight-normal, 300)}');
5074
+ function ts(e) {
5075
+ wn(e, "svelte-1v34r4p", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.CashierCarouselWarpper{background-color:var(--emw--color-cashier-bg, var(--emw--color-background, #23281f));color:var(--emw--color-typography, var(--emw--color-white, #ffffff));height:auto;width:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:20px;position:relative;overflow:hidden}.NavigationArrow{height:220px;z-index:20;display:flex;transition:all 0.3s ease;position:absolute}.NavigationArrow:hover{cursor:pointer}.NavigationArrow:hover svg{opacity:1;transform:scale(1.1);filter:drop-shadow(0 0 0.75rem var(--emw--color-black))}.NavigationArrow svg{opacity:0.6;width:32px;height:32px;align-self:center;fill:var(--emw--color-white);transition:all 0.3s ease}.NavigationArrow.Left{left:0;background:linear-gradient(to right, var(--emw--color-cashier-bg, var(--emw--color-background, #23281f)) 35%, transparent 100%)}.NavigationArrow.Right{right:0;background:linear-gradient(to left, var(--emw--color-cashier-bg, var(--emw--color-background, #23281f)) 35%, transparent 100%)}.CarouselHeader{margin-bottom:20px;text-align:center}.CarouselHeader h4{font-size:12px;text-transform:uppercase;margin:10px 0}.CarouselHeader p{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));opacity:0.55;font-size:12px}.NoFavoritePaymentMethods{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-size:12px}.CarouselCardsContainer{display:flex;justify-content:space-between;align-items:center;overflow:hidden;position:relative;max-width:100%}.Carousel{display:flex;gap:10px;height:220px;position:relative;align-items:center;transition:transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94)}.Carousel.dragging{transition:none}.VisualDotIndicator{display:flex;gap:5px;margin-top:16px}.VisualDotIndicator .Dot{border-radius:10px;background-color:var(--emw--color-primary, #f9c405);height:10px;width:10px;opacity:0.5;transition:all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);transform:scale(1)}.VisualDotIndicator .Dot.active{opacity:1;width:30px;transform:scale(1);animation:dotPulse 0.6s ease-out}@keyframes dotPulse{0%{transform:scale(0.8);opacity:0.5}50%{transform:scale(1.15)}100%{transform:scale(1);opacity:1}}.CarouselCardWrapper{border-radius:16px;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2);position:relative;display:flex;flex-direction:column;justify-content:space-between;gap:10px;z-index:1;padding:5px;height:115px;width:78px;transition:all 0.3s ease;cursor:pointer;user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.CarouselCardWrapper.active{height:132px;width:100px}.CarouselCardWrapper.active::before{background:linear-gradient(140deg, var(--emw--color-primary, #f9c405) 5%, var(--emw--color-cashier-bg, var(--emw--color-background, #23281f)) 40%, var(--emw--color-black, #000000) 60%);opacity:0.3}.CarouselCardWrapper::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;border-radius:16px;background:linear-gradient(140deg, var(--emw--color-white, #f5f5f5) 5%, var(--emw--color-cashier-bg, var(--emw--color-background, #23281f)) 40%, var(--emw--color-black, #000000) 60%);opacity:0.2}.CarouselCardWrapper .MethodLogo img{height:20px;width:auto}.CarouselCardWrapper .MethodInfo{display:flex;flex-direction:column;gap:10px;word-break:break-word}.CarouselCardWrapper .MethodInfo .MethodTitle{font-size:var(--emw--font-size-small, 10px);font-weight:800}.CarouselCardWrapper .MethodInfo .MethodProcessingTime{color:var(--emw--color-primary, #f9c405);font-style:italic;font-size:var(--emw--font-size-x-small, 8px)}.CarouselCardWrapper .MethodInfo .MethodLimits{gap:var(--emw--spacing-small-minus, 10px);text-align:left}.CarouselCardWrapper .MethodInfo .Limits{display:flex;flex-direction:column;max-width:100%;font-size:var(--emw--font-size-x-small, 8px);font-weight:var(--emw--font-weight-normal, 300)}');
5070
5076
  }
5071
- function vr(e, t, r) {
5077
+ function yr(e, t, r) {
5072
5078
  const n = e.slice();
5073
5079
  return n[40] = t[r], n[42] = r, n;
5074
5080
  }
5075
- function _r(e, t, r) {
5081
+ function vr(e, t, r) {
5076
5082
  const n = e.slice();
5077
5083
  return n[43] = t[r], n[42] = r, n;
5078
5084
  }
5079
- function es(e) {
5085
+ function rs(e) {
5080
5086
  let t, r = (
5081
5087
  /*$_*/
5082
5088
  e[8]("noFavoritePaymentMethods") + ""
@@ -5086,77 +5092,77 @@ function es(e) {
5086
5092
  t = M("p"), n = G(r), P(t, "class", "NoFavoritePaymentMethods");
5087
5093
  },
5088
5094
  m(i, o) {
5089
- X(i, t, o), x(t, n);
5095
+ X(i, t, o), w(t, n);
5090
5096
  },
5091
5097
  p(i, o) {
5092
5098
  o[0] & /*$_*/
5093
5099
  256 && r !== (r = /*$_*/
5094
- i[8]("noFavoritePaymentMethods") + "") && Q(n, r);
5100
+ i[8]("noFavoritePaymentMethods") + "") && z(n, r);
5095
5101
  },
5096
5102
  d(i) {
5097
5103
  i && $(t);
5098
5104
  }
5099
5105
  };
5100
5106
  }
5101
- function ts(e) {
5102
- let t, r = !ke(
5107
+ function ns(e) {
5108
+ let t, r = !Ve(
5103
5109
  /*userAgent*/
5104
5110
  e[9]
5105
5111
  ) && /*promotedPaymentMethods*/
5106
- e[5].length > 1, n, i, o, a = !ke(
5112
+ e[5].length > 1, n, i, o, a = !Ve(
5107
5113
  /*userAgent*/
5108
5114
  e[9]
5109
5115
  ) && /*promotedPaymentMethods*/
5110
- e[5].length > 1, s, l, u, c, p, h = r && Er(e), b = Ue(
5116
+ e[5].length > 1, s, l, u, c, d, h = r && _r(e), b = Fe(
5111
5117
  /*promotedPaymentMethods*/
5112
5118
  e[5]
5113
5119
  ), f = [];
5114
- for (let m = 0; m < b.length; m += 1)
5115
- f[m] = xr(_r(e, b, m));
5116
- let d = a && wr(e), y = Ue(Array(
5120
+ for (let p = 0; p < b.length; p += 1)
5121
+ f[p] = Er(vr(e, b, p));
5122
+ let m = a && xr(e), y = Fe(Array(
5117
5123
  /*promotedPaymentMethods*/
5118
5124
  e[5].length
5119
- )), _ = [];
5120
- for (let m = 0; m < y.length; m += 1)
5121
- _[m] = Sr(vr(e, y, m));
5125
+ )), E = [];
5126
+ for (let p = 0; p < y.length; p += 1)
5127
+ E[p] = wr(yr(e, y, p));
5122
5128
  return {
5123
5129
  c() {
5124
5130
  t = M("div"), h && h.c(), n = F(), i = M("div");
5125
- for (let m = 0; m < f.length; m += 1)
5126
- f[m].c();
5127
- o = F(), d && d.c(), l = F(), u = M("div");
5128
- for (let m = 0; m < _.length; m += 1)
5129
- _[m].c();
5130
- P(i, "class", "Carousel"), P(t, "class", "CarouselCardsContainer"), oe(() => (
5131
+ for (let p = 0; p < f.length; p += 1)
5132
+ f[p].c();
5133
+ o = F(), m && m.c(), l = F(), u = M("div");
5134
+ for (let p = 0; p < E.length; p += 1)
5135
+ E[p].c();
5136
+ P(i, "class", "Carousel"), P(t, "class", "CarouselCardsContainer"), ie(() => (
5131
5137
  /*div1_elementresize_handler*/
5132
5138
  e[28].call(t)
5133
5139
  )), P(u, "class", "VisualDotIndicator");
5134
5140
  },
5135
- m(m, E) {
5136
- X(m, t, E), h && h.m(t, null), x(t, n), x(t, i);
5141
+ m(p, v) {
5142
+ X(p, t, v), h && h.m(t, null), w(t, n), w(t, i);
5137
5143
  for (let g = 0; g < f.length; g += 1)
5138
5144
  f[g] && f[g].m(i, null);
5139
- e[26](i), x(t, o), d && d.m(t, null), s = An(
5145
+ e[26](i), w(t, o), m && m.m(t, null), s = Cn(
5140
5146
  t,
5141
5147
  /*div1_elementresize_handler*/
5142
5148
  e[28].bind(t)
5143
- ), X(m, l, E), X(m, u, E);
5144
- for (let g = 0; g < _.length; g += 1)
5145
- _[g] && _[g].m(u, null);
5146
- c || (p = [
5147
- q(
5149
+ ), X(p, l, v), X(p, u, v);
5150
+ for (let g = 0; g < E.length; g += 1)
5151
+ E[g] && E[g].m(u, null);
5152
+ c || (d = [
5153
+ J(
5148
5154
  i,
5149
5155
  "touchstart",
5150
5156
  /*handleTouchStart*/
5151
5157
  e[11]
5152
5158
  ),
5153
- q(
5159
+ J(
5154
5160
  i,
5155
5161
  "touchmove",
5156
5162
  /*handleTouchMove*/
5157
5163
  e[12]
5158
5164
  ),
5159
- q(
5165
+ J(
5160
5166
  i,
5161
5167
  "touchend",
5162
5168
  /*handleTouchEnd*/
@@ -5164,87 +5170,87 @@ function ts(e) {
5164
5170
  )
5165
5171
  ], c = !0);
5166
5172
  },
5167
- p(m, E) {
5168
- if (E[0] & /*promotedPaymentMethods*/
5169
- 32 && (r = !ke(
5173
+ p(p, v) {
5174
+ if (v[0] & /*promotedPaymentMethods*/
5175
+ 32 && (r = !Ve(
5170
5176
  /*userAgent*/
5171
- m[9]
5177
+ p[9]
5172
5178
  ) && /*promotedPaymentMethods*/
5173
- m[5].length > 1), r ? h ? h.p(m, E) : (h = Er(m), h.c(), h.m(t, n)) : h && (h.d(1), h = null), E[0] & /*activeIndex, selectPayMeth, promotedPaymentMethods, precisionCurrenciesMap, numericCurrencyDecimals, $_, methodtype*/
5179
+ p[5].length > 1), r ? h ? h.p(p, v) : (h = _r(p), h.c(), h.m(t, n)) : h && (h.d(1), h = null), v[0] & /*activeIndex, selectPayMeth, promotedPaymentMethods, precisionCurrenciesMap, numericCurrencyDecimals, $_, methodtype*/
5174
5180
  1521) {
5175
- b = Ue(
5181
+ b = Fe(
5176
5182
  /*promotedPaymentMethods*/
5177
- m[5]
5183
+ p[5]
5178
5184
  );
5179
5185
  let g;
5180
5186
  for (g = 0; g < b.length; g += 1) {
5181
- const T = _r(m, b, g);
5182
- f[g] ? f[g].p(T, E) : (f[g] = xr(T), f[g].c(), f[g].m(i, null));
5187
+ const C = vr(p, b, g);
5188
+ f[g] ? f[g].p(C, v) : (f[g] = Er(C), f[g].c(), f[g].m(i, null));
5183
5189
  }
5184
5190
  for (; g < f.length; g += 1)
5185
5191
  f[g].d(1);
5186
5192
  f.length = b.length;
5187
5193
  }
5188
- if (E[0] & /*promotedPaymentMethods*/
5189
- 32 && (a = !ke(
5194
+ if (v[0] & /*promotedPaymentMethods*/
5195
+ 32 && (a = !Ve(
5190
5196
  /*userAgent*/
5191
- m[9]
5197
+ p[9]
5192
5198
  ) && /*promotedPaymentMethods*/
5193
- m[5].length > 1), a ? d ? d.p(m, E) : (d = wr(m), d.c(), d.m(t, null)) : d && (d.d(1), d = null), E[0] & /*activeIndex, promotedPaymentMethods*/
5199
+ p[5].length > 1), a ? m ? m.p(p, v) : (m = xr(p), m.c(), m.m(t, null)) : m && (m.d(1), m = null), v[0] & /*activeIndex, promotedPaymentMethods*/
5194
5200
  96) {
5195
- y = Ue(Array(
5201
+ y = Fe(Array(
5196
5202
  /*promotedPaymentMethods*/
5197
- m[5].length
5203
+ p[5].length
5198
5204
  ));
5199
5205
  let g;
5200
5206
  for (g = 0; g < y.length; g += 1) {
5201
- const T = vr(m, y, g);
5202
- _[g] ? _[g].p(T, E) : (_[g] = Sr(T), _[g].c(), _[g].m(u, null));
5207
+ const C = yr(p, y, g);
5208
+ E[g] ? E[g].p(C, v) : (E[g] = wr(C), E[g].c(), E[g].m(u, null));
5203
5209
  }
5204
- for (; g < _.length; g += 1)
5205
- _[g].d(1);
5206
- _.length = y.length;
5210
+ for (; g < E.length; g += 1)
5211
+ E[g].d(1);
5212
+ E.length = y.length;
5207
5213
  }
5208
5214
  },
5209
- d(m) {
5210
- m && ($(t), $(l), $(u)), h && h.d(), Zt(f, m), e[26](null), d && d.d(), s(), Zt(_, m), c = !1, W(p);
5215
+ d(p) {
5216
+ p && ($(t), $(l), $(u)), h && h.d(), zt(f, p), e[26](null), m && m.d(), s(), zt(E, p), c = !1, W(d);
5211
5217
  }
5212
5218
  };
5213
5219
  }
5214
- function Er(e) {
5220
+ function _r(e) {
5215
5221
  let t, r, n;
5216
5222
  return {
5217
5223
  c() {
5218
5224
  t = M("div"), t.innerHTML = '<svg viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M15.9997 5.33335C21.8907 5.33335 26.6663 10.109 26.6663 16C26.6663 21.8911 21.8907 26.6667 15.9997 26.6667C10.1086 26.6667 5.33301 21.8911 5.33301 16C5.33301 10.109 10.1086 5.33335 15.9997 5.33335ZM29.333 16C29.333 8.63622 23.3635 2.66669 15.9997 2.66669C8.63588 2.66669 2.66634 8.63622 2.66634 16C2.66634 23.3638 8.63588 29.3334 15.9997 29.3334C23.3635 29.3334 29.333 23.3638 29.333 16ZM18.2758 11.0572C17.7551 10.5365 16.9109 10.5365 16.3902 11.0572L12.3902 15.0572C11.8695 15.5779 11.8695 16.4221 12.3902 16.9428L16.3902 20.9428C16.9109 21.4635 17.7551 21.4635 18.2758 20.9428C18.7965 20.4221 18.7965 19.5779 18.2758 19.0572L15.2186 16L18.2758 12.9428C18.7965 12.4221 18.7965 11.5779 18.2758 11.0572Z"></path></svg>', P(t, "class", "NavigationArrow Left");
5219
5225
  },
5220
5226
  m(i, o) {
5221
- X(i, t, o), r || (n = q(
5227
+ X(i, t, o), r || (n = J(
5222
5228
  t,
5223
5229
  "click",
5224
5230
  /*click_handler*/
5225
5231
  e[24]
5226
5232
  ), r = !0);
5227
5233
  },
5228
- p: O,
5234
+ p: N,
5229
5235
  d(i) {
5230
5236
  i && $(t), r = !1, n();
5231
5237
  }
5232
5238
  };
5233
5239
  }
5234
- function xr(e) {
5240
+ function Er(e) {
5235
5241
  let t, r, n, i, o, a, s, l, u, c = (
5236
5242
  /*method*/
5237
5243
  (e[43].Label || /*method*/
5238
5244
  e[43].Name) + ""
5239
- ), p, h, b, f, d = (
5245
+ ), d, h, b, f, m = (
5240
5246
  /*$_*/
5241
5247
  e[8](`${/*methodtype*/
5242
5248
  e[0]}${/*method*/
5243
5249
  e[43].ProcessingTime}`) + ""
5244
- ), y, _, m, E, g, T = (
5250
+ ), y, E, p, v, g, C = (
5245
5251
  /*$_*/
5246
5252
  e[8]("generalMin") + ""
5247
- ), A, C, N = je(
5253
+ ), L, x, B = ke(
5248
5254
  /*method*/
5249
5255
  e[43].DisplayCurrency.MinAmountLimit,
5250
5256
  /*method*/
@@ -5267,10 +5273,10 @@ function xr(e) {
5267
5273
  e[7]
5268
5274
  )
5269
5275
  }
5270
- ) + "", L, z, te, re = (
5276
+ ) + "", I, j, ee, ae = (
5271
5277
  /*$_*/
5272
5278
  e[8]("generalMax") + ""
5273
- ), Z, Le, ue = je(
5279
+ ), ue, K, le = ke(
5274
5280
  /*method*/
5275
5281
  e[43].DisplayCurrency.MaxAmountLimit,
5276
5282
  /*method*/
@@ -5293,8 +5299,8 @@ function xr(e) {
5293
5299
  e[7]
5294
5300
  )
5295
5301
  }
5296
- ) + "", _e, Ie, Y, Ee, De;
5297
- function ct() {
5302
+ ) + "", Se, De, ce, te, Re;
5303
+ function lt() {
5298
5304
  return (
5299
5305
  /*click_handler_1*/
5300
5306
  e[25](
@@ -5307,31 +5313,31 @@ function xr(e) {
5307
5313
  }
5308
5314
  return {
5309
5315
  c() {
5310
- t = M("div"), r = M("div"), n = M("img"), a = F(), s = M("div"), l = M("div"), u = M("span"), p = G(c), h = F(), b = M("div"), f = M("span"), y = G(d), _ = F(), m = M("div"), E = M("span"), g = M("span"), A = G(T), C = F(), L = G(N), z = F(), te = M("span"), Z = G(re), Le = F(), _e = G(ue), Ie = F(), zt(n.src, i = /*method*/
5316
+ t = M("div"), r = M("div"), n = M("img"), a = F(), s = M("div"), l = M("div"), u = M("span"), d = G(c), h = F(), b = M("div"), f = M("span"), y = G(m), E = F(), p = M("div"), v = M("span"), g = M("span"), L = G(C), x = F(), I = G(B), j = F(), ee = M("span"), ue = G(ae), K = F(), Se = G(le), De = F(), Wt(n.src, i = /*method*/
5311
5317
  e[43].LogoUrl) || P(n, "src", i), P(n, "alt", o = /*method*/
5312
- e[43].Label), P(r, "class", "MethodLogo"), P(l, "class", "MethodTitle"), P(b, "class", "MethodProcessingTime"), P(E, "class", "Limits"), P(m, "class", "MethodLimits"), P(s, "class", "MethodInfo"), P(t, "class", Y = `CarouselCardWrapper ${/*index*/
5318
+ e[43].Label), P(r, "class", "MethodLogo"), P(l, "class", "MethodTitle"), P(b, "class", "MethodProcessingTime"), P(v, "class", "Limits"), P(p, "class", "MethodLimits"), P(s, "class", "MethodInfo"), P(t, "class", ce = `CarouselCardWrapper ${/*index*/
5313
5319
  e[42] === /*activeIndex*/
5314
5320
  e[6] ? "active" : ""}`);
5315
5321
  },
5316
- m(ne, R) {
5317
- X(ne, t, R), x(t, r), x(r, n), x(t, a), x(t, s), x(s, l), x(l, u), x(u, p), x(s, h), x(s, b), x(b, f), x(f, y), x(s, _), x(s, m), x(m, E), x(E, g), x(g, A), x(g, C), x(g, L), x(E, z), x(E, te), x(te, Z), x(te, Le), x(te, _e), x(t, Ie), Ee || (De = q(t, "click", ct), Ee = !0);
5322
+ m(re, R) {
5323
+ X(re, t, R), w(t, r), w(r, n), w(t, a), w(t, s), w(s, l), w(l, u), w(u, d), w(s, h), w(s, b), w(b, f), w(f, y), w(s, E), w(s, p), w(p, v), w(v, g), w(g, L), w(g, x), w(g, I), w(v, j), w(v, ee), w(ee, ue), w(ee, K), w(ee, Se), w(t, De), te || (Re = J(t, "click", lt), te = !0);
5318
5324
  },
5319
- p(ne, R) {
5320
- e = ne, R[0] & /*promotedPaymentMethods*/
5321
- 32 && !zt(n.src, i = /*method*/
5325
+ p(re, R) {
5326
+ e = re, R[0] & /*promotedPaymentMethods*/
5327
+ 32 && !Wt(n.src, i = /*method*/
5322
5328
  e[43].LogoUrl) && P(n, "src", i), R[0] & /*promotedPaymentMethods*/
5323
5329
  32 && o !== (o = /*method*/
5324
5330
  e[43].Label) && P(n, "alt", o), R[0] & /*promotedPaymentMethods*/
5325
5331
  32 && c !== (c = /*method*/
5326
5332
  (e[43].Label || /*method*/
5327
- e[43].Name) + "") && Q(p, c), R[0] & /*$_, methodtype, promotedPaymentMethods*/
5328
- 289 && d !== (d = /*$_*/
5333
+ e[43].Name) + "") && z(d, c), R[0] & /*$_, methodtype, promotedPaymentMethods*/
5334
+ 289 && m !== (m = /*$_*/
5329
5335
  e[8](`${/*methodtype*/
5330
5336
  e[0]}${/*method*/
5331
- e[43].ProcessingTime}`) + "") && Q(y, d), R[0] & /*$_*/
5332
- 256 && T !== (T = /*$_*/
5333
- e[8]("generalMin") + "") && Q(A, T), R[0] & /*promotedPaymentMethods, precisionCurrenciesMap, numericCurrencyDecimals*/
5334
- 176 && N !== (N = je(
5337
+ e[43].ProcessingTime}`) + "") && z(y, m), R[0] & /*$_*/
5338
+ 256 && C !== (C = /*$_*/
5339
+ e[8]("generalMin") + "") && z(L, C), R[0] & /*promotedPaymentMethods, precisionCurrenciesMap, numericCurrencyDecimals*/
5340
+ 176 && B !== (B = ke(
5335
5341
  /*method*/
5336
5342
  e[43].DisplayCurrency.MinAmountLimit,
5337
5343
  /*method*/
@@ -5354,10 +5360,10 @@ function xr(e) {
5354
5360
  e[7]
5355
5361
  )
5356
5362
  }
5357
- ) + "") && Q(L, N), R[0] & /*$_*/
5358
- 256 && re !== (re = /*$_*/
5359
- e[8]("generalMax") + "") && Q(Z, re), R[0] & /*promotedPaymentMethods, precisionCurrenciesMap, numericCurrencyDecimals*/
5360
- 176 && ue !== (ue = je(
5363
+ ) + "") && z(I, B), R[0] & /*$_*/
5364
+ 256 && ae !== (ae = /*$_*/
5365
+ e[8]("generalMax") + "") && z(ue, ae), R[0] & /*promotedPaymentMethods, precisionCurrenciesMap, numericCurrencyDecimals*/
5366
+ 176 && le !== (le = ke(
5361
5367
  /*method*/
5362
5368
  e[43].DisplayCurrency.MaxAmountLimit,
5363
5369
  /*method*/
@@ -5380,37 +5386,37 @@ function xr(e) {
5380
5386
  e[7]
5381
5387
  )
5382
5388
  }
5383
- ) + "") && Q(_e, ue), R[0] & /*activeIndex*/
5384
- 64 && Y !== (Y = `CarouselCardWrapper ${/*index*/
5389
+ ) + "") && z(Se, le), R[0] & /*activeIndex*/
5390
+ 64 && ce !== (ce = `CarouselCardWrapper ${/*index*/
5385
5391
  e[42] === /*activeIndex*/
5386
- e[6] ? "active" : ""}`) && P(t, "class", Y);
5392
+ e[6] ? "active" : ""}`) && P(t, "class", ce);
5387
5393
  },
5388
- d(ne) {
5389
- ne && $(t), Ee = !1, De();
5394
+ d(re) {
5395
+ re && $(t), te = !1, Re();
5390
5396
  }
5391
5397
  };
5392
5398
  }
5393
- function wr(e) {
5399
+ function xr(e) {
5394
5400
  let t, r, n;
5395
5401
  return {
5396
5402
  c() {
5397
5403
  t = M("div"), t.innerHTML = '<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M16.0003 5.33335C10.1093 5.33335 5.33366 10.109 5.33366 16C5.33366 21.8911 10.1093 26.6667 16.0003 26.6667C21.8914 26.6667 26.667 21.8911 26.667 16C26.667 10.109 21.8914 5.33335 16.0003 5.33335ZM2.66699 16C2.66699 8.63622 8.63653 2.66669 16.0003 2.66669C23.3641 2.66669 29.3337 8.63622 29.3337 16C29.3337 23.3638 23.3641 29.3334 16.0003 29.3334C8.63653 29.3334 2.66699 23.3638 2.66699 16ZM13.7242 11.0572C14.2449 10.5365 15.0891 10.5365 15.6098 11.0572L19.6098 15.0572C20.1305 15.5779 20.1305 16.4221 19.6098 16.9428L15.6098 20.9428C15.0891 21.4635 14.2449 21.4635 13.7242 20.9428C13.2035 20.4221 13.2035 19.5779 13.7242 19.0572L16.7814 16L13.7242 12.9428C13.2035 12.4221 13.2035 11.5779 13.7242 11.0572Z"></path></svg>', P(t, "class", "NavigationArrow Right");
5398
5404
  },
5399
5405
  m(i, o) {
5400
- X(i, t, o), r || (n = q(
5406
+ X(i, t, o), r || (n = J(
5401
5407
  t,
5402
5408
  "click",
5403
5409
  /*click_handler_2*/
5404
5410
  e[27]
5405
5411
  ), r = !0);
5406
5412
  },
5407
- p: O,
5413
+ p: N,
5408
5414
  d(i) {
5409
5415
  i && $(t), r = !1, n();
5410
5416
  }
5411
5417
  };
5412
5418
  }
5413
- function Sr(e) {
5419
+ function wr(e) {
5414
5420
  let t, r;
5415
5421
  return {
5416
5422
  c() {
@@ -5432,181 +5438,181 @@ function Sr(e) {
5432
5438
  }
5433
5439
  };
5434
5440
  }
5435
- function rs(e) {
5441
+ function is(e) {
5436
5442
  let t, r, n, i, o = (
5437
5443
  /*$_*/
5438
5444
  e[8]("carouselTitle") + ""
5439
5445
  ), a, s, l, u = (
5440
5446
  /*$_*/
5441
5447
  e[8]("carouselSubtitle") + ""
5442
- ), c, p;
5443
- function h(d, y) {
5448
+ ), c, d;
5449
+ function h(m, y) {
5444
5450
  return (
5445
5451
  /*promotedPaymentMethods*/
5446
- d[5].length > 0 ? ts : es
5452
+ m[5].length > 0 ? ns : rs
5447
5453
  );
5448
5454
  }
5449
5455
  let b = h(e), f = b(e);
5450
5456
  return {
5451
5457
  c() {
5452
- t = M("div"), r = M("div"), n = M("div"), i = M("h4"), a = G(o), s = F(), l = M("p"), c = G(u), p = F(), f.c(), P(n, "class", "CarouselHeader"), P(r, "class", "CashierCarouselWarpper");
5458
+ t = M("div"), r = M("div"), n = M("div"), i = M("h4"), a = G(o), s = F(), l = M("p"), c = G(u), d = F(), f.c(), P(n, "class", "CarouselHeader"), P(r, "class", "CashierCarouselWarpper");
5453
5459
  },
5454
- m(d, y) {
5455
- X(d, t, y), x(t, r), x(r, n), x(n, i), x(i, a), x(n, s), x(n, l), x(l, c), x(r, p), f.m(r, null), e[29](t);
5460
+ m(m, y) {
5461
+ X(m, t, y), w(t, r), w(r, n), w(n, i), w(i, a), w(n, s), w(n, l), w(l, c), w(r, d), f.m(r, null), e[29](t);
5456
5462
  },
5457
- p(d, y) {
5463
+ p(m, y) {
5458
5464
  y[0] & /*$_*/
5459
5465
  256 && o !== (o = /*$_*/
5460
- d[8]("carouselTitle") + "") && Q(a, o), y[0] & /*$_*/
5466
+ m[8]("carouselTitle") + "") && z(a, o), y[0] & /*$_*/
5461
5467
  256 && u !== (u = /*$_*/
5462
- d[8]("carouselSubtitle") + "") && Q(c, u), b === (b = h(d)) && f ? f.p(d, y) : (f.d(1), f = b(d), f && (f.c(), f.m(r, null)));
5468
+ m[8]("carouselSubtitle") + "") && z(c, u), b === (b = h(m)) && f ? f.p(m, y) : (f.d(1), f = b(m), f && (f.c(), f.m(r, null)));
5463
5469
  },
5464
- i: O,
5465
- o: O,
5466
- d(d) {
5467
- d && $(t), f.d(), e[29](null);
5470
+ i: N,
5471
+ o: N,
5472
+ d(m) {
5473
+ m && $(t), f.d(), e[29](null);
5468
5474
  }
5469
5475
  };
5470
5476
  }
5471
- function ns(e, t, r) {
5477
+ function os(e, t, r) {
5472
5478
  let n, i;
5473
- En(e, No, (v) => r(8, i = v));
5474
- let { lang: o = "en" } = t, { local: a = "en-US" } = t, { currencysymbol: s = "true" } = t, { currencyposition: l = "" } = t, { currencydecimals: u = "0" } = t, { methodtype: c = "" } = t, { clientstyling: p = "" } = t, { clientstylingurl: h = "" } = t, { mbsource: b = "" } = t, { translationurl: f = "" } = t, d = {}, y, _ = [], m = 0, E = !0, g = 0, T = !1, A, C, N = window.navigator.userAgent;
5475
- const L = (v) => {
5476
- const { data: { type: I } = {} } = v || {};
5477
- switch (I) {
5479
+ xn(e, No, (_) => r(8, i = _));
5480
+ let { lang: o = "en" } = t, { local: a = "en-US" } = t, { currencysymbol: s = "true" } = t, { currencyposition: l = "" } = t, { currencydecimals: u = "0" } = t, { methodtype: c = "" } = t, { clientstyling: d = "" } = t, { clientstylingurl: h = "" } = t, { mbsource: b = "" } = t, { translationurl: f = "" } = t, m = {}, y, E, p = [], v = 0, g = !0, C = 0, L = !1, x, B, I = window.navigator.userAgent;
5481
+ const j = (_) => {
5482
+ const { data: { type: O } = {} } = _ || {};
5483
+ switch (O) {
5478
5484
  case "PromotedPaymentMethods": {
5479
- r(5, _ = v?.data?.promotedPaymentMethods), r(6, m = Math.floor((_.length - 1) / 2));
5485
+ r(5, p = _?.data?.promotedPaymentMethods), r(6, v = Math.floor((p.length - 1) / 2));
5480
5486
  break;
5481
5487
  }
5482
5488
  case "PrecisionCurrenciesMap": {
5483
- r(4, d = v?.data?.payload || {});
5489
+ r(4, m = _?.data?.payload || {});
5484
5490
  break;
5485
5491
  }
5486
5492
  }
5487
5493
  };
5488
- Object.keys(yr).forEach((v) => {
5489
- gr(v, yr[v]);
5494
+ Object.keys(gr).forEach((_) => {
5495
+ br(_, gr[_]);
5490
5496
  });
5491
- const z = () => {
5492
- let v = f;
5493
- if (v)
5494
- return fetch(v).then((I) => I.json()).then((I) => {
5495
- Object.keys(I).forEach((j) => {
5496
- gr(j, I[j]);
5497
+ const ee = () => {
5498
+ let _ = f;
5499
+ if (_)
5500
+ return fetch(_).then((O) => O.json()).then((O) => {
5501
+ Object.keys(O).forEach((k) => {
5502
+ br(k, O[k]);
5497
5503
  });
5498
- }).catch((I) => {
5499
- console.log(I);
5504
+ }).catch((O) => {
5505
+ console.log(O);
5500
5506
  });
5501
- }, te = () => {
5502
- Jo(o);
5503
- }, re = (v, I) => {
5504
- r(6, m = I), r(2, A.style.transform = Z(), A), v.Name, window.postMessage({ type: "SelectPayMeth", details: v }, window.location.href), dispatchEvent(new CustomEvent(
5507
+ }, ae = () => {
5508
+ es(o);
5509
+ }, ue = (_, O) => {
5510
+ r(6, v = O), r(2, x.style.transform = K(), x), _.Name, window.postMessage({ type: "SelectPayMeth", details: _ }, window.location.href), dispatchEvent(new CustomEvent(
5505
5511
  "selectPayMeth",
5506
5512
  {
5507
- detail: v,
5513
+ detail: _,
5508
5514
  bubbles: !0,
5509
5515
  cancelable: !0,
5510
5516
  composed: !0
5511
5517
  }
5512
5518
  ));
5513
- }, Z = () => {
5514
- if (_.length == 1)
5519
+ }, K = () => {
5520
+ if (p.length == 1)
5515
5521
  return "translateX(0px)";
5516
- const j = 78 + 5, Xt = j * _.length;
5517
- let ht;
5518
- _.length % 2 === 1 ? ht = Math.floor(_.length / 2) : ht = Math.floor(_.length / 2) - 0.5;
5519
- let gn = C - Xt;
5520
- const yn = ht - m;
5521
- return `translateX(${gn / 2 + yn * j - 20}px)`;
5522
- }, Le = (v) => {
5523
- g = v.touches[0].clientX, T = !0, A.classList.add("dragging");
5524
- }, ue = (v) => {
5525
- if (!T)
5522
+ const k = 78 + 5, Vt = k * p.length;
5523
+ let ct;
5524
+ p.length % 2 === 1 ? ct = Math.floor(p.length / 2) : ct = Math.floor(p.length / 2) - 0.5;
5525
+ let yn = B - Vt;
5526
+ const vn = ct - v;
5527
+ return `translateX(${yn / 2 + vn * k - 20}px)`;
5528
+ }, le = (_) => {
5529
+ C = _.touches[0].clientX, L = !0, x.classList.add("dragging");
5530
+ }, Se = (_) => {
5531
+ if (!L)
5526
5532
  return;
5527
- const I = v.touches[0].clientX;
5528
- Math.abs(I - g) > 10 && v.preventDefault();
5529
- }, _e = (v) => {
5530
- if (!T)
5533
+ const O = _.touches[0].clientX;
5534
+ Math.abs(O - C) > 10 && _.preventDefault();
5535
+ }, De = (_) => {
5536
+ if (!L)
5531
5537
  return;
5532
- T = !1, A.classList.remove("dragging");
5533
- const I = v.changedTouches[0].clientX, j = g - I;
5534
- Math.abs(j) > 50 && (j > 0 && m < _.length - 1 ? r(6, m++, m) : j < 0 && m > 0 && r(6, m--, m), r(2, A.style.transform = Z(), A));
5535
- }, Ie = () => {
5536
- E && (r(2, A.style.transform = Z(), A), E = !1);
5537
- }, Y = (v) => {
5538
- v === "next" && m < _.length - 1 ? r(6, m++, m) : v === "prev" && m > 0 && r(6, m--, m), r(2, A.style.transform = Z(), A);
5538
+ L = !1, x.classList.remove("dragging");
5539
+ const O = _.changedTouches[0].clientX, k = C - O;
5540
+ Math.abs(k) > 50 && (k > 0 && v < p.length - 1 ? r(6, v++, v) : k < 0 && v > 0 && r(6, v--, v), r(2, x.style.transform = K(), x));
5541
+ }, ce = () => {
5542
+ g && (r(2, x.style.transform = K(), x), g = !1);
5543
+ }, te = (_) => {
5544
+ _ === "next" && v < p.length - 1 ? r(6, v++, v) : _ === "prev" && v > 0 && r(6, v--, v), r(2, x.style.transform = K(), x);
5539
5545
  };
5540
- On(() => (Zo(a, s, l, u), window.addEventListener("message", L), window.postMessage({ type: "CashierCarouselReady" }, window.location.href), A && Z(), () => {
5541
- window.removeEventListener("message", L);
5546
+ Nn(() => (Zo(a, s, l, u), window.addEventListener("message", j), window.postMessage({ type: "CashierCarouselReady" }, window.location.href), x && K(), () => {
5547
+ window.removeEventListener("message", j);
5542
5548
  }));
5543
- const Ee = () => Y("prev"), De = (v, I) => re(v, I);
5544
- function ct(v) {
5545
- et[v ? "unshift" : "push"](() => {
5546
- A = v, r(2, A);
5549
+ const Re = () => te("prev"), lt = (_, O) => ue(_, O);
5550
+ function re(_) {
5551
+ tt[_ ? "unshift" : "push"](() => {
5552
+ x = _, r(2, x);
5547
5553
  });
5548
5554
  }
5549
- const ne = () => Y("next");
5550
- function R() {
5551
- C = this.clientWidth, r(3, C);
5555
+ const R = () => te("next");
5556
+ function bn() {
5557
+ B = this.clientWidth, r(3, B);
5552
5558
  }
5553
- function bn(v) {
5554
- et[v ? "unshift" : "push"](() => {
5555
- y = v, r(1, y);
5559
+ function gn(_) {
5560
+ tt[_ ? "unshift" : "push"](() => {
5561
+ y = _, r(1, y);
5556
5562
  });
5557
5563
  }
5558
- return e.$$set = (v) => {
5559
- "lang" in v && r(15, o = v.lang), "local" in v && r(16, a = v.local), "currencysymbol" in v && r(17, s = v.currencysymbol), "currencyposition" in v && r(18, l = v.currencyposition), "currencydecimals" in v && r(19, u = v.currencydecimals), "methodtype" in v && r(0, c = v.methodtype), "clientstyling" in v && r(20, p = v.clientstyling), "clientstylingurl" in v && r(21, h = v.clientstylingurl), "mbsource" in v && r(22, b = v.mbsource), "translationurl" in v && r(23, f = v.translationurl);
5564
+ return e.$$set = (_) => {
5565
+ "lang" in _ && r(15, o = _.lang), "local" in _ && r(16, a = _.local), "currencysymbol" in _ && r(17, s = _.currencysymbol), "currencyposition" in _ && r(18, l = _.currencyposition), "currencydecimals" in _ && r(19, u = _.currencydecimals), "methodtype" in _ && r(0, c = _.methodtype), "clientstyling" in _ && r(20, d = _.clientstyling), "clientstylingurl" in _ && r(21, h = _.clientstylingurl), "mbsource" in _ && r(22, b = _.mbsource), "translationurl" in _ && r(23, f = _.translationurl);
5560
5566
  }, e.$$.update = () => {
5561
5567
  e.$$.dirty[0] & /*lang*/
5562
- 32768 && o && te(), e.$$.dirty[0] & /*lang, translationurl*/
5563
- 8421376 && o && f && z(), e.$$.dirty[0] & /*carouselContainer, carouselContainerWidth*/
5564
- 12 && A && C && Ie(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5565
- 1048578 && p && y && Qo(y, p), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5568
+ 32768 && o && ae(), e.$$.dirty[0] & /*lang, translationurl*/
5569
+ 8421376 && o && f && ee(), e.$$.dirty[0] & /*carouselContainer, carouselContainerWidth*/
5570
+ 12 && x && B && ce(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5571
+ 1048578 && d && y && Qo(y, d), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5566
5572
  2097154 && h && y && Ko(y, h), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5567
- 4194306 && b && y && Yo(y, `${b}.Style`), e.$$.dirty[0] & /*currencydecimals*/
5573
+ 4194306 && b && y && Yo(y, `${b}.Style`, E), e.$$.dirty[0] & /*currencydecimals*/
5568
5574
  524288 && r(7, n = Number(u));
5569
5575
  }, [
5570
5576
  c,
5571
5577
  y,
5572
- A,
5573
- C,
5574
- d,
5575
- _,
5578
+ x,
5579
+ B,
5576
5580
  m,
5581
+ p,
5582
+ v,
5577
5583
  n,
5578
5584
  i,
5579
- N,
5580
- re,
5581
- Le,
5585
+ I,
5582
5586
  ue,
5583
- _e,
5584
- Y,
5587
+ le,
5588
+ Se,
5589
+ De,
5590
+ te,
5585
5591
  o,
5586
5592
  a,
5587
5593
  s,
5588
5594
  l,
5589
5595
  u,
5590
- p,
5596
+ d,
5591
5597
  h,
5592
5598
  b,
5593
5599
  f,
5594
- Ee,
5595
- De,
5596
- ct,
5597
- ne,
5600
+ Re,
5601
+ lt,
5602
+ re,
5598
5603
  R,
5599
- bn
5604
+ bn,
5605
+ gn
5600
5606
  ];
5601
5607
  }
5602
- class mn extends Fn {
5608
+ class pn extends Gn {
5603
5609
  constructor(t) {
5604
- super(), $n(
5610
+ super(), Un(
5605
5611
  this,
5606
5612
  t,
5607
- ns,
5608
- rs,
5609
- Ar,
5613
+ os,
5614
+ is,
5615
+ Tr,
5610
5616
  {
5611
5617
  lang: 15,
5612
5618
  local: 16,
@@ -5619,7 +5625,7 @@ class mn extends Fn {
5619
5625
  mbsource: 22,
5620
5626
  translationurl: 23
5621
5627
  },
5622
- qo,
5628
+ ts,
5623
5629
  [-1, -1]
5624
5630
  );
5625
5631
  }
@@ -5684,86 +5690,86 @@ class mn extends Fn {
5684
5690
  this.$$set({ translationurl: t }), U();
5685
5691
  }
5686
5692
  }
5687
- Un(mn, { lang: {}, local: {}, currencysymbol: {}, currencyposition: {}, currencydecimals: {}, methodtype: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
5688
- const $s = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5693
+ Fn(pn, { lang: {}, local: {}, currencysymbol: {}, currencyposition: {}, currencydecimals: {}, methodtype: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
5694
+ const Fs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5689
5695
  __proto__: null,
5690
- default: mn
5696
+ default: pn
5691
5697
  }, Symbol.toStringTag, { value: "Module" }));
5692
5698
  export {
5693
- ae as $,
5694
- gs as A,
5695
- Qo as B,
5696
- Ko as C,
5697
- Yo as D,
5698
- Un as E,
5699
- No as F,
5700
- O as G,
5699
+ se as $,
5700
+ No as A,
5701
+ tt as B,
5702
+ Qo as C,
5703
+ Ko as D,
5704
+ Wt as E,
5705
+ vs as F,
5706
+ N as G,
5701
5707
  ot as H,
5702
- kn as I,
5703
- Ls as J,
5704
- os as K,
5705
- oe as L,
5706
- fs as M,
5707
- ke as N,
5708
- Zo as O,
5709
- ws as P,
5710
- ys as Q,
5711
- Ss as R,
5712
- Fn as S,
5713
- Ds as T,
5714
- je as U,
5715
- Rs as V,
5716
- Es as W,
5717
- ps as X,
5718
- Ue as Y,
5719
- Os as Z,
5720
- ms as _,
5721
- rn as a,
5722
- W as a0,
5723
- vs as a1,
5724
- Is as a2,
5725
- _s as a3,
5726
- Zt as a4,
5727
- Bs as a5,
5728
- Ts as a6,
5729
- As as a7,
5730
- An as a8,
5731
- hs as a9,
5732
- bs as aa,
5733
- se as ab,
5734
- It as ac,
5735
- Hs as ad,
5736
- Ms as ae,
5737
- xs as af,
5738
- Ps as ag,
5739
- cs as ah,
5740
- Dn as ai,
5741
- In as aj,
5742
- Ns as ak,
5743
- $s as al,
5744
- $n as b,
5745
- xn as c,
5746
- ss as d,
5747
- $ as e,
5708
+ Ds as I,
5709
+ Vn as J,
5710
+ as as K,
5711
+ ie as L,
5712
+ ms as M,
5713
+ Ve as N,
5714
+ As as O,
5715
+ Ts as P,
5716
+ _s as Q,
5717
+ ps as R,
5718
+ Gn as S,
5719
+ ws as T,
5720
+ $s as U,
5721
+ ke as V,
5722
+ Us as W,
5723
+ Zo as X,
5724
+ Fe as Y,
5725
+ gs as Z,
5726
+ Os as _,
5727
+ tn as a,
5728
+ Es as a0,
5729
+ W as a1,
5730
+ Ns as a2,
5731
+ zt as a3,
5732
+ Rs as a4,
5733
+ xs as a5,
5734
+ Ms as a6,
5735
+ Cn as a7,
5736
+ Cs as a8,
5737
+ ys as a9,
5738
+ ds as aa,
5739
+ oe as ab,
5740
+ Lt as ac,
5741
+ Ps as ad,
5742
+ Bs as ae,
5743
+ Ss as af,
5744
+ Ls as ag,
5745
+ fs as ah,
5746
+ Is as ai,
5747
+ Dn as aj,
5748
+ Rn as ak,
5749
+ Fs as al,
5750
+ Un as b,
5751
+ Fn as c,
5752
+ wn as d,
5753
+ us as e,
5748
5754
  U as f,
5749
- Lr as g,
5750
- ls as h,
5755
+ M as g,
5756
+ F as h,
5751
5757
  co as i,
5752
- as as j,
5758
+ P as j,
5753
5759
  X as k,
5754
- x as l,
5755
- M as m,
5756
- F as n,
5757
- P as o,
5758
- En as p,
5759
- On as q,
5760
- ds as r,
5761
- Ar as s,
5762
- Cs as t,
5763
- us as u,
5764
- Q as v,
5765
- G as w,
5766
- q as x,
5767
- et as y,
5768
- zt as z
5760
+ w as l,
5761
+ hs as m,
5762
+ ls as n,
5763
+ Hs as o,
5764
+ $ as p,
5765
+ xn as q,
5766
+ Nn as r,
5767
+ Tr as s,
5768
+ Nr as t,
5769
+ cs as u,
5770
+ Yo as v,
5771
+ bs as w,
5772
+ G as x,
5773
+ z as y,
5774
+ J as z
5769
5775
  };