@everymatrix/player-account-controller 1.53.0 → 1.53.11

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 (93) hide show
  1. package/components/{GeneralLogout-DMvKimEo.js → GeneralLogout-Ddt-oH9k.js} +1597 -1648
  2. package/components/{PlayerAccountBettingHistory-YNLbWHxl.js → PlayerAccountBettingHistory-C7xwYi03.js} +34 -35
  3. package/components/{PlayerAccountBiometrics-CXLK5_xT.js → PlayerAccountBiometrics-D7WS5cnI.js} +1 -1
  4. package/components/{PlayerAccountClosure-BkKcpa4J.js → PlayerAccountClosure-yRlo8hXR.js} +1 -1
  5. package/components/{PlayerAccountController-C7j8sMbf.js → PlayerAccountController-BZYAo3oo.js} +1108 -848
  6. package/components/{PlayerAccountGamingLimits-B2-Mgazd.js → PlayerAccountGamingLimits-CTBhVGgC.js} +3 -3
  7. package/components/{PlayerAccountGamingLimitsConfirmationModal-CNTlXu7V.js → PlayerAccountGamingLimitsConfirmationModal-CuQvNzww.js} +38 -38
  8. package/components/{PlayerAccountGamingLimitsGroupEdit-CDY-ylK7.js → PlayerAccountGamingLimitsGroupEdit-Du2YQlDU.js} +16 -16
  9. package/components/{PlayerAccountGamingLimitsHistory2-DF8kvIf6.js → PlayerAccountGamingLimitsHistory2-CXKA0L0d.js} +121 -132
  10. package/components/{PlayerAccountGamingLimitsInfoCard-D3sJXuZa.js → PlayerAccountGamingLimitsInfoCard-CWTybgoQ.js} +4 -4
  11. package/components/{PlayerAccountGamingLimitsPage2Gm16-Dz6knJ_h.js → PlayerAccountGamingLimitsPage2Gm16-CXjNcIFP.js} +737 -768
  12. package/components/{PlayerAccountGamingLimitsPopup-Bt4YlCWi.js → PlayerAccountGamingLimitsPopup-CJu5RRl6.js} +1 -1
  13. package/components/{PlayerAccountGamingLimitsWrapper2-RnvNKSgN.js → PlayerAccountGamingLimitsWrapper2-BdpxEDlV.js} +75 -81
  14. package/components/{PlayerAccountGeneralConfirmationModal-SjPp-PVG.js → PlayerAccountGeneralConfirmationModal-DG0N686t.js} +42 -42
  15. package/components/{PlayerAccountMenu-5esyJ_VN.js → PlayerAccountMenu-CZBa8_5G.js} +66 -67
  16. package/components/{PlayerAccountModal-BnWL5726.js → PlayerAccountModal-BmKjtXKT.js} +1 -1
  17. package/components/{PlayerAccountNotifications-B02Ownhe.js → PlayerAccountNotifications-B4Ht-hHj.js} +1 -1
  18. package/components/{PlayerAccountSelfExclusion-D6Kby-08.js → PlayerAccountSelfExclusion-DxGHXTb8.js} +5365 -4258
  19. package/components/{PlayerAccountTimeout-tPNVqlAT.js → PlayerAccountTimeout-DOSjICsY.js} +4 -4
  20. package/components/{PlayerActiveBonuses-8P2H7i55.js → PlayerActiveBonuses-DMAG7NUP.js} +119 -120
  21. package/components/PlayerBonusCard-Dss1REmn.js +701 -0
  22. package/components/{PlayerBonusHistory-DlgbJE4B.js → PlayerBonusHistory-BxBiQwQf.js} +53 -53
  23. package/components/{PlayerChangePassword-N_UEFJNT.js → PlayerChangePassword-DnCj-wcc.js} +1 -1
  24. package/components/{PlayerDeposit-B75tYEgl.js → PlayerDeposit-CHIQ8EaC.js} +1 -1
  25. package/components/{PlayerGamingHistory-Bq_uxcwt.js → PlayerGamingHistory-BtQ73TId.js} +375 -388
  26. package/components/{PlayerPendingWithdrawals-BSTgce9H.js → PlayerPendingWithdrawals-BbTa7_8U.js} +1 -1
  27. package/components/{PlayerProfileInfo-yn20xol3.js → PlayerProfileInfo-CvAqD3Dk.js} +532 -549
  28. package/components/{PlayerRealityCheck-A_mZq3YZ.js → PlayerRealityCheck-3d-B64ie.js} +175 -191
  29. package/components/{PlayerTransactionHistory-DllIB_qE.js → PlayerTransactionHistory-BYJNabMB.js} +1 -1
  30. package/components/{PlayerWithdrawal-t5mlX5CD.js → PlayerWithdrawal-DDWroufG.js} +1 -1
  31. package/esnext/player-account-controller.js +14 -0
  32. package/package.json +12 -32
  33. package/stencil/active-mixin-59dfae2a-BphP4pp5.js +9700 -0
  34. package/stencil/{app-globals-0f993ce5-aPSxk6sG.js → app-globals-0f993ce5-C0vi_PY4.js} +5 -3
  35. package/stencil/checkbox-group-input_9-CMFoK7_E.js +15610 -0
  36. package/stencil/general-input-DnFPstQP.js +48 -0
  37. package/stencil/index-062e829b-DAFsZs6D.js +686 -0
  38. package/stencil/index-33f005e1-fFxPaeNy.js +632 -0
  39. package/stencil/index-9b3245b3-rzHgwqlB.js +625 -0
  40. package/stencil/index-fc58390d-BSwfXuUs.js +691 -0
  41. package/stencil/locale-BG_TzyDt.js +141 -0
  42. package/stencil/password-input_2-Bb9Q6Fe0.js +2359 -0
  43. package/stencil/player-change-password-gm2-98dcb7bc-gLcZhl3S.js +253 -0
  44. package/stencil/player-change-password-gm2-DR3e2gh5.js +7 -0
  45. package/stencil/{player-kyc-verification-BwGXWzTR.js → player-kyc-verification-BQZdJFEJ.js} +62 -84
  46. package/stencil/toggle-checkbox-input-CCLW6-uK.js +46 -0
  47. package/stencil/tooltipIcon-ee9760a8-BCCb4EU-.js +4 -0
  48. package/stencil/user-deposit-withdrawal-CmF0LoNb.js +646 -0
  49. package/stencil/{user-transaction-history-DcAGbFDl.js → user-transaction-history-BgV-k2Cl.js} +109 -135
  50. package/components/GeneralLogout-BW6b3iuS.cjs +0 -8
  51. package/components/PlayerAccountBettingHistory-BsFzBNDY.cjs +0 -1
  52. package/components/PlayerAccountBiometrics-BrlNlZ5N.cjs +0 -1
  53. package/components/PlayerAccountClosure-DfJc6Ip_.cjs +0 -1
  54. package/components/PlayerAccountController-BPRNlP7_.cjs +0 -1
  55. package/components/PlayerAccountGamingLimits-BPQrptbd.cjs +0 -1
  56. package/components/PlayerAccountGamingLimitsConfirmationModal-IgBYV9F2.cjs +0 -1
  57. package/components/PlayerAccountGamingLimitsGroupEdit-DrkoLne8.cjs +0 -10
  58. package/components/PlayerAccountGamingLimitsHistory2-B_7Y0DgS.cjs +0 -1
  59. package/components/PlayerAccountGamingLimitsInfoCard-BOls7ahz.cjs +0 -1
  60. package/components/PlayerAccountGamingLimitsPage2Gm16-BiFzgvUx.cjs +0 -21
  61. package/components/PlayerAccountGamingLimitsPopup-ChBLdQR7.cjs +0 -1
  62. package/components/PlayerAccountGamingLimitsWrapper2-Dg6CwNyN.cjs +0 -1
  63. package/components/PlayerAccountGeneralConfirmationModal-BpTCzpiW.cjs +0 -1
  64. package/components/PlayerAccountMenu-C704oUrC.cjs +0 -1
  65. package/components/PlayerAccountModal-C7aZZlBw.cjs +0 -1
  66. package/components/PlayerAccountNotifications-DkgHtUGj.cjs +0 -1
  67. package/components/PlayerAccountSelfExclusion-BS89T7sZ.cjs +0 -4171
  68. package/components/PlayerAccountTimeout-DMbUPtRy.cjs +0 -1
  69. package/components/PlayerActiveBonuses-Dv3Y8Vnb.cjs +0 -1
  70. package/components/PlayerBonusCard-CuFt3zXW.js +0 -722
  71. package/components/PlayerBonusCard-DGPJpICk.cjs +0 -1
  72. package/components/PlayerBonusHistory-BzkqMmdU.cjs +0 -1
  73. package/components/PlayerChangePassword-CzR4Xz0H.cjs +0 -3
  74. package/components/PlayerDeposit-3qNMb75V.cjs +0 -1
  75. package/components/PlayerGamingHistory-BkSvSbS4.cjs +0 -1
  76. package/components/PlayerPendingWithdrawals-BG3I8ifu.cjs +0 -1
  77. package/components/PlayerProfileInfo-BX32t6wz.cjs +0 -1
  78. package/components/PlayerRealityCheck-C26ZBWae.cjs +0 -1
  79. package/components/PlayerTransactionHistory-CJqhYnbs.cjs +0 -1
  80. package/components/PlayerWithdrawal-GDc_7hZX.cjs +0 -1
  81. package/es2015/player-account-controller.cjs +0 -1
  82. package/es2015/player-account-controller.js +0 -16
  83. package/stencil/app-globals-0f993ce5-CKh2cbmz.cjs +0 -1
  84. package/stencil/index-0437c9c0-06LlHN6E.cjs +0 -1
  85. package/stencil/index-0437c9c0-1mLvhyVA.js +0 -592
  86. package/stencil/index-657e7a14-Dopxomhu.cjs +0 -1
  87. package/stencil/index-657e7a14-P-JSyx_m.js +0 -588
  88. package/stencil/index-e8249896-BNsgFr_R.cjs +0 -1
  89. package/stencil/index-e8249896-CIP0iOYr.js +0 -658
  90. package/stencil/player-kyc-verification-B9QbNY0o.cjs +0 -180
  91. package/stencil/user-deposit-withdrawal-C5Lmtrkj.cjs +0 -59
  92. package/stencil/user-deposit-withdrawal-D5CgtcqD.js +0 -651
  93. package/stencil/user-transaction-history-AoseShHM.cjs +0 -1
@@ -1,155 +1,126 @@
1
- var Ir = Object.defineProperty, Lr = Object.defineProperties;
2
- var Nr = Object.getOwnPropertyDescriptors;
3
- var ht = Object.getOwnPropertySymbols;
4
- var Cr = Object.prototype.hasOwnProperty, Mr = Object.prototype.propertyIsEnumerable;
5
- var Ne = (e, t, r) => t in e ? Ir(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ct = (e, t) => {
6
- for (var r in t || (t = {}))
7
- Cr.call(t, r) && Ne(e, r, t[r]);
8
- if (ht)
9
- for (var r of ht(t))
10
- Mr.call(t, r) && Ne(e, r, t[r]);
11
- return e;
12
- }, ft = (e, t) => Lr(e, Nr(t));
13
- var O = (e, t, r) => Ne(e, typeof t != "symbol" ? t + "" : t, r);
14
- var pt = (e, t, r) => new Promise((n, i) => {
15
- var o = (u) => {
16
- try {
17
- a(r.next(u));
18
- } catch (l) {
19
- i(l);
20
- }
21
- }, s = (u) => {
22
- try {
23
- a(r.throw(u));
24
- } catch (l) {
25
- i(l);
26
- }
27
- }, a = (u) => u.done ? n(u.value) : Promise.resolve(u.value).then(o, s);
28
- a((r = r.apply(e, t)).next());
29
- });
30
1
  function B() {
31
2
  }
32
- const $r = (e) => e;
33
- function Rr(e, t) {
34
- for (const r in t) e[r] = t[r];
3
+ const Sn = (e) => e;
4
+ function Tn(e, t) {
5
+ for (const n in t) e[n] = t[n];
35
6
  return (
36
7
  /** @type {T & S} */
37
8
  e
38
9
  );
39
10
  }
40
- function Dt(e) {
11
+ function It(e) {
41
12
  return e();
42
13
  }
43
- function dt() {
14
+ function st() {
44
15
  return /* @__PURE__ */ Object.create(null);
45
16
  }
46
- function F(e) {
47
- e.forEach(Dt);
17
+ function G(e) {
18
+ e.forEach(It);
48
19
  }
49
- function he(e) {
20
+ function le(e) {
50
21
  return typeof e == "function";
51
22
  }
52
- function Gt(e, t) {
23
+ function Lt(e, t) {
53
24
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
54
25
  }
55
- let me;
56
- function To(e, t) {
57
- return e === t ? !0 : (me || (me = document.createElement("a")), me.href = t, e === me.href);
26
+ let pe;
27
+ function lo(e, t) {
28
+ return e === t ? !0 : (pe || (pe = document.createElement("a")), pe.href = t, e === pe.href);
58
29
  }
59
- function Ur(e) {
30
+ function wn(e) {
60
31
  return Object.keys(e).length === 0;
61
32
  }
62
- function Ft(e, ...t) {
33
+ function Nt(e, ...t) {
63
34
  if (e == null) {
64
- for (const n of t)
65
- n(void 0);
35
+ for (const r of t)
36
+ r(void 0);
66
37
  return B;
67
38
  }
68
- const r = e.subscribe(...t);
69
- return r.unsubscribe ? () => r.unsubscribe() : r;
39
+ const n = e.subscribe(...t);
40
+ return n.unsubscribe ? () => n.unsubscribe() : n;
70
41
  }
71
- function Dr(e, t, r) {
72
- e.$$.on_destroy.push(Ft(t, r));
42
+ function Hn(e, t, n) {
43
+ e.$$.on_destroy.push(Nt(t, n));
73
44
  }
74
- function wo(e, t, r, n) {
45
+ function ho(e, t, n, r) {
75
46
  if (e) {
76
- const i = jt(e, t, r, n);
47
+ const i = Ct(e, t, n, r);
77
48
  return e[0](i);
78
49
  }
79
50
  }
80
- function jt(e, t, r, n) {
81
- return e[1] && n ? Rr(r.ctx.slice(), e[1](n(t))) : r.ctx;
51
+ function Ct(e, t, n, r) {
52
+ return e[1] && r ? Tn(n.ctx.slice(), e[1](r(t))) : n.ctx;
82
53
  }
83
- function Ho(e, t, r, n) {
84
- if (e[2] && n) {
85
- const i = e[2](n(r));
54
+ function fo(e, t, n, r) {
55
+ if (e[2] && r) {
56
+ const i = e[2](r(n));
86
57
  if (t.dirty === void 0)
87
58
  return i;
88
59
  if (typeof i == "object") {
89
- const o = [], s = Math.max(t.dirty.length, i.length);
90
- for (let a = 0; a < s; a += 1)
91
- o[a] = t.dirty[a] | i[a];
60
+ const o = [], a = Math.max(t.dirty.length, i.length);
61
+ for (let s = 0; s < a; s += 1)
62
+ o[s] = t.dirty[s] | i[s];
92
63
  return o;
93
64
  }
94
65
  return t.dirty | i;
95
66
  }
96
67
  return t.dirty;
97
68
  }
98
- function Bo(e, t, r, n, i, o) {
69
+ function co(e, t, n, r, i, o) {
99
70
  if (i) {
100
- const s = jt(t, r, n, o);
101
- e.p(s, i);
71
+ const a = Ct(t, n, r, o);
72
+ e.p(a, i);
102
73
  }
103
74
  }
104
- function Ao(e) {
75
+ function po(e) {
105
76
  if (e.ctx.length > 32) {
106
- const t = [], r = e.ctx.length / 32;
107
- for (let n = 0; n < r; n++)
108
- t[n] = -1;
77
+ const t = [], n = e.ctx.length / 32;
78
+ for (let r = 0; r < n; r++)
79
+ t[r] = -1;
109
80
  return t;
110
81
  }
111
82
  return -1;
112
83
  }
113
- function Po(e) {
114
- return e == null ? "" : e;
84
+ function mo(e) {
85
+ return e ?? "";
115
86
  }
116
- function Oo(e) {
117
- return e && he(e.destroy) ? e.destroy : B;
87
+ function bo(e) {
88
+ return e && le(e.destroy) ? e.destroy : B;
118
89
  }
119
- const kt = typeof window != "undefined";
120
- let Gr = kt ? () => window.performance.now() : () => Date.now(), it = kt ? (e) => requestAnimationFrame(e) : B;
121
- const z = /* @__PURE__ */ new Set();
122
- function Vt(e) {
123
- z.forEach((t) => {
124
- t.c(e) || (z.delete(t), t.f());
125
- }), z.size !== 0 && it(Vt);
90
+ const Mt = typeof window < "u";
91
+ let Bn = Mt ? () => window.performance.now() : () => Date.now(), tt = Mt ? (e) => requestAnimationFrame(e) : B;
92
+ const W = /* @__PURE__ */ new Set();
93
+ function $t(e) {
94
+ W.forEach((t) => {
95
+ t.c(e) || (W.delete(t), t.f());
96
+ }), W.size !== 0 && tt($t);
126
97
  }
127
- function Fr(e) {
98
+ function An(e) {
128
99
  let t;
129
- return z.size === 0 && it(Vt), {
130
- promise: new Promise((r) => {
131
- z.add(t = { c: e, f: r });
100
+ return W.size === 0 && tt($t), {
101
+ promise: new Promise((n) => {
102
+ W.add(t = { c: e, f: n });
132
103
  }),
133
104
  abort() {
134
- z.delete(t);
105
+ W.delete(t);
135
106
  }
136
107
  };
137
108
  }
138
- const Io = typeof window != "undefined" ? window : typeof globalThis != "undefined" ? globalThis : (
109
+ const go = typeof window < "u" ? window : typeof globalThis < "u" ? globalThis : (
139
110
  // @ts-ignore Node typings have this
140
111
  global
141
112
  );
142
113
  function P(e, t) {
143
114
  e.appendChild(t);
144
115
  }
145
- function jr(e, t, r) {
146
- const n = ot(e);
147
- if (!n.getElementById(t)) {
148
- const i = N("style");
149
- i.id = t, i.textContent = r, Xt(n, i);
116
+ function Pn(e, t, n) {
117
+ const r = nt(e);
118
+ if (!r.getElementById(t)) {
119
+ const i = L("style");
120
+ i.id = t, i.textContent = n, Rt(r, i);
150
121
  }
151
122
  }
152
- function ot(e) {
123
+ function nt(e) {
153
124
  if (!e) return document;
154
125
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
155
126
  return t && /** @type {ShadowRoot} */
@@ -158,28 +129,28 @@ function ot(e) {
158
129
  t
159
130
  ) : e.ownerDocument;
160
131
  }
161
- function kr(e) {
162
- const t = N("style");
163
- return t.textContent = "/* empty */", Xt(ot(e), t), t.sheet;
132
+ function On(e) {
133
+ const t = L("style");
134
+ return t.textContent = "/* empty */", Rt(nt(e), t), t.sheet;
164
135
  }
165
- function Xt(e, t) {
136
+ function Rt(e, t) {
166
137
  return P(
167
138
  /** @type {Document} */
168
139
  e.head || e,
169
140
  t
170
141
  ), t.sheet;
171
142
  }
172
- function ce(e, t, r) {
173
- e.insertBefore(t, r || null);
143
+ function he(e, t, n) {
144
+ e.insertBefore(t, n || null);
174
145
  }
175
- function j(e) {
146
+ function F(e) {
176
147
  e.parentNode && e.parentNode.removeChild(e);
177
148
  }
178
- function Lo(e, t) {
179
- for (let r = 0; r < e.length; r += 1)
180
- e[r] && e[r].d(t);
149
+ function yo(e, t) {
150
+ for (let n = 0; n < e.length; n += 1)
151
+ e[n] && e[n].d(t);
181
152
  }
182
- function N(e) {
153
+ function L(e) {
183
154
  return document.createElement(e);
184
155
  }
185
156
  function ne(e) {
@@ -188,304 +159,304 @@ function ne(e) {
188
159
  function fe(e) {
189
160
  return document.createTextNode(e);
190
161
  }
191
- function Vr() {
162
+ function In() {
192
163
  return fe(" ");
193
164
  }
194
- function No() {
165
+ function _o() {
195
166
  return fe("");
196
167
  }
197
- function Wt(e, t, r, n) {
198
- return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
168
+ function Ut(e, t, n, r) {
169
+ return e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r);
199
170
  }
200
- function Co(e) {
171
+ function vo(e) {
201
172
  return function(t) {
202
173
  return t.preventDefault(), e.call(this, t);
203
174
  };
204
175
  }
205
- function A(e, t, r) {
206
- r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
176
+ function A(e, t, n) {
177
+ n == null ? e.removeAttribute(t) : e.getAttribute(t) !== n && e.setAttribute(t, n);
207
178
  }
208
- function Mo(e, t, r) {
209
- const n = t.toLowerCase();
210
- n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : A(e, t, r);
179
+ function xo(e, t, n) {
180
+ const r = t.toLowerCase();
181
+ r in e ? e[r] = typeof e[r] == "boolean" && n === "" ? !0 : n : t in e ? e[t] = typeof e[t] == "boolean" && n === "" ? !0 : n : A(e, t, n);
211
182
  }
212
- function $o(e) {
183
+ function Eo(e) {
213
184
  let t;
214
185
  return {
215
186
  /* push */
216
- p(...r) {
217
- t = r, t.forEach((n) => e.push(n));
187
+ p(...n) {
188
+ t = n, t.forEach((r) => e.push(r));
218
189
  },
219
190
  /* remove */
220
191
  r() {
221
- t.forEach((r) => e.splice(e.indexOf(r), 1));
192
+ t.forEach((n) => e.splice(e.indexOf(n), 1));
222
193
  }
223
194
  };
224
195
  }
225
- function Ro(e) {
196
+ function So(e) {
226
197
  return e === "" ? null : +e;
227
198
  }
228
- function Xr(e) {
199
+ function Ln(e) {
229
200
  return Array.from(e.childNodes);
230
201
  }
231
- function zt(e, t) {
202
+ function Dt(e, t) {
232
203
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
233
204
  t);
234
205
  }
235
- function Uo(e, t) {
236
- e.value = t == null ? "" : t;
206
+ function To(e, t) {
207
+ e.value = t ?? "";
237
208
  }
238
- function Wr(e, t, r, n) {
239
- r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
209
+ function Nn(e, t, n, r) {
210
+ n == null ? e.style.removeProperty(t) : e.style.setProperty(t, n, "");
240
211
  }
241
- function Do(e, t, r) {
242
- for (let n = 0; n < e.options.length; n += 1) {
243
- const i = e.options[n];
212
+ function wo(e, t, n) {
213
+ for (let r = 0; r < e.options.length; r += 1) {
214
+ const i = e.options[r];
244
215
  if (i.__value === t) {
245
216
  i.selected = !0;
246
217
  return;
247
218
  }
248
219
  }
249
- (!r || t !== void 0) && (e.selectedIndex = -1);
220
+ (!n || t !== void 0) && (e.selectedIndex = -1);
250
221
  }
251
- function Go(e) {
222
+ function Ho(e) {
252
223
  const t = e.querySelector(":checked");
253
224
  return t && t.__value;
254
225
  }
255
- function Fo(e, t, r) {
256
- e.classList.toggle(t, !!r);
226
+ function Bo(e, t, n) {
227
+ e.classList.toggle(t, !!n);
257
228
  }
258
- function zr(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
259
- return new CustomEvent(e, { detail: t, bubbles: r, cancelable: n });
229
+ function Cn(e, t, { bubbles: n = !1, cancelable: r = !1 } = {}) {
230
+ return new CustomEvent(e, { detail: t, bubbles: n, cancelable: r });
260
231
  }
261
- function Zr(e) {
232
+ function Mn(e) {
262
233
  const t = {};
263
234
  return e.childNodes.forEach(
264
235
  /** @param {Element} node */
265
- (r) => {
266
- t[r.slot || "default"] = !0;
236
+ (n) => {
237
+ t[n.slot || "default"] = !0;
267
238
  }
268
239
  ), t;
269
240
  }
270
- const Se = /* @__PURE__ */ new Map();
271
- let Te = 0;
272
- function qr(e) {
273
- let t = 5381, r = e.length;
274
- for (; r--; ) t = (t << 5) - t ^ e.charCodeAt(r);
241
+ const Ee = /* @__PURE__ */ new Map();
242
+ let Se = 0;
243
+ function $n(e) {
244
+ let t = 5381, n = e.length;
245
+ for (; n--; ) t = (t << 5) - t ^ e.charCodeAt(n);
275
246
  return t >>> 0;
276
247
  }
277
- function Qr(e, t) {
278
- const r = { stylesheet: kr(t), rules: {} };
279
- return Se.set(e, r), r;
248
+ function Rn(e, t) {
249
+ const n = { stylesheet: On(t), rules: {} };
250
+ return Ee.set(e, n), n;
280
251
  }
281
- function mt(e, t, r, n, i, o, s, a = 0) {
282
- const u = 16.666 / n;
252
+ function at(e, t, n, r, i, o, a, s = 0) {
253
+ const u = 16.666 / r;
283
254
  let l = `{
284
255
  `;
285
256
  for (let x = 0; x <= 1; x += u) {
286
- const T = t + (r - t) * o(x);
287
- l += x * 100 + `%{${s(T, 1 - T)}}
257
+ const T = t + (n - t) * o(x);
258
+ l += x * 100 + `%{${a(T, 1 - T)}}
288
259
  `;
289
260
  }
290
- const h = l + `100% {${s(r, 1 - r)}}
291
- }`, c = `__svelte_${qr(h)}_${a}`, f = ot(e), { stylesheet: p, rules: d } = Se.get(f) || Qr(f, e);
292
- d[c] || (d[c] = !0, p.insertRule(`@keyframes ${c} ${h}`, p.cssRules.length));
261
+ const h = l + `100% {${a(n, 1 - n)}}
262
+ }`, f = `__svelte_${$n(h)}_${s}`, c = nt(e), { stylesheet: d, rules: p } = Ee.get(c) || Rn(c, e);
263
+ p[f] || (p[f] = !0, d.insertRule(`@keyframes ${f} ${h}`, d.cssRules.length));
293
264
  const m = e.style.animation || "";
294
- return e.style.animation = `${m ? `${m}, ` : ""}${c} ${n}ms linear ${i}ms 1 both`, Te += 1, c;
265
+ return e.style.animation = `${m ? `${m}, ` : ""}${f} ${r}ms linear ${i}ms 1 both`, Se += 1, f;
295
266
  }
296
- function Jr(e, t) {
297
- const r = (e.style.animation || "").split(", "), n = r.filter(
267
+ function Un(e, t) {
268
+ const n = (e.style.animation || "").split(", "), r = n.filter(
298
269
  t ? (o) => o.indexOf(t) < 0 : (o) => o.indexOf("__svelte") === -1
299
270
  // remove all Svelte animations
300
- ), i = r.length - n.length;
301
- i && (e.style.animation = n.join(", "), Te -= i, Te || Yr());
271
+ ), i = n.length - r.length;
272
+ i && (e.style.animation = r.join(", "), Se -= i, Se || Dn());
302
273
  }
303
- function Yr() {
304
- it(() => {
305
- Te || (Se.forEach((e) => {
274
+ function Dn() {
275
+ tt(() => {
276
+ Se || (Ee.forEach((e) => {
306
277
  const { ownerNode: t } = e.stylesheet;
307
- t && j(t);
308
- }), Se.clear());
278
+ t && F(t);
279
+ }), Ee.clear());
309
280
  });
310
281
  }
311
- let ae;
312
- function se(e) {
313
- ae = e;
282
+ let se;
283
+ function oe(e) {
284
+ se = e;
314
285
  }
315
- function Kr() {
316
- if (!ae) throw new Error("Function called outside component initialization");
317
- return ae;
286
+ function Gn() {
287
+ if (!se) throw new Error("Function called outside component initialization");
288
+ return se;
318
289
  }
319
- function jo(e) {
320
- Kr().$$.on_mount.push(e);
290
+ function Ao(e) {
291
+ Gn().$$.on_mount.push(e);
321
292
  }
322
- const W = [], ke = [];
323
- let Z = [];
324
- const bt = [], Zt = /* @__PURE__ */ Promise.resolve();
325
- let Ve = !1;
326
- function qt() {
327
- Ve || (Ve = !0, Zt.then(C));
293
+ const X = [], Ge = [];
294
+ let z = [];
295
+ const ut = [], Gt = /* @__PURE__ */ Promise.resolve();
296
+ let Fe = !1;
297
+ function Ft() {
298
+ Fe || (Fe = !0, Gt.then(N));
328
299
  }
329
- function ko() {
330
- return qt(), Zt;
300
+ function Po() {
301
+ return Ft(), Gt;
331
302
  }
332
- function we(e) {
333
- Z.push(e);
303
+ function Te(e) {
304
+ z.push(e);
334
305
  }
335
- const Ce = /* @__PURE__ */ new Set();
336
- let V = 0;
337
- function C() {
338
- if (V !== 0)
306
+ const Le = /* @__PURE__ */ new Set();
307
+ let k = 0;
308
+ function N() {
309
+ if (k !== 0)
339
310
  return;
340
- const e = ae;
311
+ const e = se;
341
312
  do {
342
313
  try {
343
- for (; V < W.length; ) {
344
- const t = W[V];
345
- V++, se(t), en(t.$$);
314
+ for (; k < X.length; ) {
315
+ const t = X[k];
316
+ k++, oe(t), Fn(t.$$);
346
317
  }
347
318
  } catch (t) {
348
- throw W.length = 0, V = 0, t;
319
+ throw X.length = 0, k = 0, t;
349
320
  }
350
- for (se(null), W.length = 0, V = 0; ke.length; ) ke.pop()();
351
- for (let t = 0; t < Z.length; t += 1) {
352
- const r = Z[t];
353
- Ce.has(r) || (Ce.add(r), r());
321
+ for (oe(null), X.length = 0, k = 0; Ge.length; ) Ge.pop()();
322
+ for (let t = 0; t < z.length; t += 1) {
323
+ const n = z[t];
324
+ Le.has(n) || (Le.add(n), n());
354
325
  }
355
- Z.length = 0;
356
- } while (W.length);
357
- for (; bt.length; )
358
- bt.pop()();
359
- Ve = !1, Ce.clear(), se(e);
326
+ z.length = 0;
327
+ } while (X.length);
328
+ for (; ut.length; )
329
+ ut.pop()();
330
+ Fe = !1, Le.clear(), oe(e);
360
331
  }
361
- function en(e) {
332
+ function Fn(e) {
362
333
  if (e.fragment !== null) {
363
- e.update(), F(e.before_update);
334
+ e.update(), G(e.before_update);
364
335
  const t = e.dirty;
365
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(we);
336
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Te);
366
337
  }
367
338
  }
368
- function tn(e) {
369
- const t = [], r = [];
370
- Z.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Z = t;
371
- }
372
- let ie;
373
- function rn() {
374
- return ie || (ie = Promise.resolve(), ie.then(() => {
375
- ie = null;
376
- })), ie;
377
- }
378
- function Me(e, t, r) {
379
- e.dispatchEvent(zr(`${t ? "intro" : "outro"}${r}`));
380
- }
381
- const ye = /* @__PURE__ */ new Set();
382
- let M;
383
- function Vo() {
384
- M = {
339
+ function jn(e) {
340
+ const t = [], n = [];
341
+ z.forEach((r) => e.indexOf(r) === -1 ? t.push(r) : n.push(r)), n.forEach((r) => r()), z = t;
342
+ }
343
+ let re;
344
+ function kn() {
345
+ return re || (re = Promise.resolve(), re.then(() => {
346
+ re = null;
347
+ })), re;
348
+ }
349
+ function Ne(e, t, n) {
350
+ e.dispatchEvent(Cn(`${t ? "intro" : "outro"}${n}`));
351
+ }
352
+ const ge = /* @__PURE__ */ new Set();
353
+ let C;
354
+ function Oo() {
355
+ C = {
385
356
  r: 0,
386
357
  c: [],
387
- p: M
358
+ p: C
388
359
  // parent group
389
360
  };
390
361
  }
391
- function Xo() {
392
- M.r || F(M.c), M = M.p;
362
+ function Io() {
363
+ C.r || G(C.c), C = C.p;
393
364
  }
394
- function nn(e, t) {
395
- e && e.i && (ye.delete(e), e.i(t));
365
+ function Vn(e, t) {
366
+ e && e.i && (ge.delete(e), e.i(t));
396
367
  }
397
- function Wo(e, t, r, n) {
368
+ function Lo(e, t, n, r) {
398
369
  if (e && e.o) {
399
- if (ye.has(e)) return;
400
- ye.add(e), M.c.push(() => {
401
- ye.delete(e), n && (r && e.d(1), n());
370
+ if (ge.has(e)) return;
371
+ ge.add(e), C.c.push(() => {
372
+ ge.delete(e), r && (n && e.d(1), r());
402
373
  }), e.o(t);
403
- } else n && n();
374
+ } else r && r();
404
375
  }
405
- const on = { duration: 0 };
406
- function zo(e, t, r, n) {
407
- let o = t(e, r, { direction: "both" }), s = n ? 0 : 1, a = null, u = null, l = null, h;
408
- function c() {
409
- l && Jr(e, l);
376
+ const Xn = { duration: 0 };
377
+ function No(e, t, n, r) {
378
+ let o = t(e, n, { direction: "both" }), a = r ? 0 : 1, s = null, u = null, l = null, h;
379
+ function f() {
380
+ l && Un(e, l);
410
381
  }
411
- function f(d, m) {
382
+ function c(p, m) {
412
383
  const x = (
413
384
  /** @type {Program['d']} */
414
- d.b - s
385
+ p.b - a
415
386
  );
416
387
  return m *= Math.abs(x), {
417
- a: s,
418
- b: d.b,
388
+ a,
389
+ b: p.b,
419
390
  d: x,
420
391
  duration: m,
421
- start: d.start,
422
- end: d.start + m,
423
- group: d.group
392
+ start: p.start,
393
+ end: p.start + m,
394
+ group: p.group
424
395
  };
425
396
  }
426
- function p(d) {
397
+ function d(p) {
427
398
  const {
428
399
  delay: m = 0,
429
400
  duration: x = 300,
430
- easing: T = $r,
401
+ easing: T = Sn,
431
402
  tick: w = B,
432
403
  css: E
433
- } = o || on, I = {
434
- start: Gr() + m,
435
- b: d
404
+ } = o || Xn, O = {
405
+ start: Bn() + m,
406
+ b: p
436
407
  };
437
- d || (I.group = M, M.r += 1), "inert" in e && (d ? h !== void 0 && (e.inert = h) : (h = /** @type {HTMLElement} */
438
- e.inert, e.inert = !0)), a || u ? u = I : (E && (c(), l = mt(e, s, d, x, m, T, E)), d && w(0, 1), a = f(I, x), we(() => Me(e, d, "start")), Fr((H) => {
439
- if (u && H > u.start && (a = f(u, x), u = null, Me(e, a.b, "start"), E && (c(), l = mt(
408
+ p || (O.group = C, C.r += 1), "inert" in e && (p ? h !== void 0 && (e.inert = h) : (h = /** @type {HTMLElement} */
409
+ e.inert, e.inert = !0)), s || u ? u = O : (E && (f(), l = at(e, a, p, x, m, T, E)), p && w(0, 1), s = c(O, x), Te(() => Ne(e, p, "start")), An((H) => {
410
+ if (u && H > u.start && (s = c(u, x), u = null, Ne(e, s.b, "start"), E && (f(), l = at(
440
411
  e,
441
- s,
442
- a.b,
443
- a.duration,
412
+ a,
413
+ s.b,
414
+ s.duration,
444
415
  0,
445
416
  T,
446
417
  o.css
447
- ))), a) {
448
- if (H >= a.end)
449
- w(s = a.b, 1 - s), Me(e, a.b, "end"), u || (a.b ? c() : --a.group.r || F(a.group.c)), a = null;
450
- else if (H >= a.start) {
451
- const U = H - a.start;
452
- s = a.a + a.d * T(U / a.duration), w(s, 1 - s);
418
+ ))), s) {
419
+ if (H >= s.end)
420
+ w(a = s.b, 1 - a), Ne(e, s.b, "end"), u || (s.b ? f() : --s.group.r || G(s.group.c)), s = null;
421
+ else if (H >= s.start) {
422
+ const R = H - s.start;
423
+ a = s.a + s.d * T(R / s.duration), w(a, 1 - a);
453
424
  }
454
425
  }
455
- return !!(a || u);
426
+ return !!(s || u);
456
427
  }));
457
428
  }
458
429
  return {
459
- run(d) {
460
- he(o) ? rn().then(() => {
461
- o = o({ direction: d ? "in" : "out" }), p(d);
462
- }) : p(d);
430
+ run(p) {
431
+ le(o) ? kn().then(() => {
432
+ o = o({ direction: p ? "in" : "out" }), d(p);
433
+ }) : d(p);
463
434
  },
464
435
  end() {
465
- c(), a = u = null;
436
+ f(), s = u = null;
466
437
  }
467
438
  };
468
439
  }
469
- function Zo(e) {
470
- return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
440
+ function Co(e) {
441
+ return e?.length !== void 0 ? e : Array.from(e);
471
442
  }
472
- function sn(e, t, r) {
473
- const { fragment: n, after_update: i } = e.$$;
474
- n && n.m(t, r), we(() => {
475
- const o = e.$$.on_mount.map(Dt).filter(he);
476
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : F(o), e.$$.on_mount = [];
477
- }), i.forEach(we);
443
+ function Wn(e, t, n) {
444
+ const { fragment: r, after_update: i } = e.$$;
445
+ r && r.m(t, n), Te(() => {
446
+ const o = e.$$.on_mount.map(It).filter(le);
447
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : G(o), e.$$.on_mount = [];
448
+ }), i.forEach(Te);
478
449
  }
479
- function an(e, t) {
480
- const r = e.$$;
481
- r.fragment !== null && (tn(r.after_update), F(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
450
+ function zn(e, t) {
451
+ const n = e.$$;
452
+ n.fragment !== null && (jn(n.after_update), G(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
482
453
  }
483
- function un(e, t) {
484
- e.$$.dirty[0] === -1 && (W.push(e), qt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
454
+ function Zn(e, t) {
455
+ e.$$.dirty[0] === -1 && (X.push(e), Ft(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
485
456
  }
486
- function ln(e, t, r, n, i, o, s = null, a = [-1]) {
487
- const u = ae;
488
- se(e);
457
+ function qn(e, t, n, r, i, o, a = null, s = [-1]) {
458
+ const u = se;
459
+ oe(e);
489
460
  const l = e.$$ = {
490
461
  fragment: null,
491
462
  ctx: [],
@@ -493,7 +464,7 @@ function ln(e, t, r, n, i, o, s = null, a = [-1]) {
493
464
  props: o,
494
465
  update: B,
495
466
  not_equal: i,
496
- bound: dt(),
467
+ bound: st(),
497
468
  // lifecycle
498
469
  on_mount: [],
499
470
  on_destroy: [],
@@ -502,153 +473,149 @@ function ln(e, t, r, n, i, o, s = null, a = [-1]) {
502
473
  after_update: [],
503
474
  context: new Map(t.context || (u ? u.$$.context : [])),
504
475
  // everything else
505
- callbacks: dt(),
506
- dirty: a,
476
+ callbacks: st(),
477
+ dirty: s,
507
478
  skip_bound: !1,
508
479
  root: t.target || u.$$.root
509
480
  };
510
- s && s(l.root);
481
+ a && a(l.root);
511
482
  let h = !1;
512
- if (l.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
513
- const d = p.length ? p[0] : f;
514
- return l.ctx && i(l.ctx[c], l.ctx[c] = d) && (!l.skip_bound && l.bound[c] && l.bound[c](d), h && un(e, c)), f;
515
- }) : [], l.update(), h = !0, F(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
483
+ if (l.ctx = n ? n(e, t.props || {}, (f, c, ...d) => {
484
+ const p = d.length ? d[0] : c;
485
+ return l.ctx && i(l.ctx[f], l.ctx[f] = p) && (!l.skip_bound && l.bound[f] && l.bound[f](p), h && Zn(e, f)), c;
486
+ }) : [], l.update(), h = !0, G(l.before_update), l.fragment = r ? r(l.ctx) : !1, t.target) {
516
487
  if (t.hydrate) {
517
- const c = Xr(t.target);
518
- l.fragment && l.fragment.l(c), c.forEach(j);
488
+ const f = Ln(t.target);
489
+ l.fragment && l.fragment.l(f), f.forEach(F);
519
490
  } else
520
491
  l.fragment && l.fragment.c();
521
- t.intro && nn(e.$$.fragment), sn(e, t.target, t.anchor), C();
492
+ t.intro && Vn(e.$$.fragment), Wn(e, t.target, t.anchor), N();
522
493
  }
523
- se(u);
524
- }
525
- let Qt;
526
- typeof HTMLElement == "function" && (Qt = class extends HTMLElement {
527
- constructor(t, r, n) {
528
- super();
529
- /** The Svelte component constructor */
530
- O(this, "$$ctor");
531
- /** Slots */
532
- O(this, "$$s");
533
- /** The Svelte component instance */
534
- O(this, "$$c");
535
- /** Whether or not the custom element is connected */
536
- O(this, "$$cn", !1);
537
- /** Component props data */
538
- O(this, "$$d", {});
539
- /** `true` if currently in the process of reflecting component props back to attributes */
540
- O(this, "$$r", !1);
541
- /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
542
- O(this, "$$p_d", {});
543
- /** @type {Record<string, Function[]>} Event listeners */
544
- O(this, "$$l", {});
545
- /** @type {Map<Function, Function>} Event listener unsubscribe functions */
546
- O(this, "$$l_u", /* @__PURE__ */ new Map());
547
- this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
494
+ oe(u);
495
+ }
496
+ let jt;
497
+ typeof HTMLElement == "function" && (jt = class extends HTMLElement {
498
+ /** The Svelte component constructor */
499
+ $$ctor;
500
+ /** Slots */
501
+ $$s;
502
+ /** The Svelte component instance */
503
+ $$c;
504
+ /** Whether or not the custom element is connected */
505
+ $$cn = !1;
506
+ /** Component props data */
507
+ $$d = {};
508
+ /** `true` if currently in the process of reflecting component props back to attributes */
509
+ $$r = !1;
510
+ /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
511
+ $$p_d = {};
512
+ /** @type {Record<string, Function[]>} Event listeners */
513
+ $$l = {};
514
+ /** @type {Map<Function, Function>} Event listener unsubscribe functions */
515
+ $$l_u = /* @__PURE__ */ new Map();
516
+ constructor(e, t, n) {
517
+ super(), this.$$ctor = e, this.$$s = t, n && this.attachShadow({ mode: "open" });
548
518
  }
549
- addEventListener(t, r, n) {
550
- if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(r), this.$$c) {
551
- const i = this.$$c.$on(t, r);
552
- this.$$l_u.set(r, i);
519
+ addEventListener(e, t, n) {
520
+ if (this.$$l[e] = this.$$l[e] || [], this.$$l[e].push(t), this.$$c) {
521
+ const r = this.$$c.$on(e, t);
522
+ this.$$l_u.set(t, r);
553
523
  }
554
- super.addEventListener(t, r, n);
524
+ super.addEventListener(e, t, n);
555
525
  }
556
- removeEventListener(t, r, n) {
557
- if (super.removeEventListener(t, r, n), this.$$c) {
558
- const i = this.$$l_u.get(r);
559
- i && (i(), this.$$l_u.delete(r));
526
+ removeEventListener(e, t, n) {
527
+ if (super.removeEventListener(e, t, n), this.$$c) {
528
+ const r = this.$$l_u.get(t);
529
+ r && (r(), this.$$l_u.delete(t));
560
530
  }
561
531
  }
562
- connectedCallback() {
563
- return pt(this, null, function* () {
564
- if (this.$$cn = !0, !this.$$c) {
565
- let t = function(o) {
566
- return () => {
567
- let s;
568
- return {
569
- c: function() {
570
- s = N("slot"), o !== "default" && A(s, "name", o);
571
- },
572
- /**
573
- * @param {HTMLElement} target
574
- * @param {HTMLElement} [anchor]
575
- */
576
- m: function(l, h) {
577
- ce(l, s, h);
578
- },
579
- d: function(l) {
580
- l && j(s);
581
- }
582
- };
532
+ async connectedCallback() {
533
+ if (this.$$cn = !0, !this.$$c) {
534
+ let e = function(i) {
535
+ return () => {
536
+ let o;
537
+ return {
538
+ c: function() {
539
+ o = L("slot"), i !== "default" && A(o, "name", i);
540
+ },
541
+ /**
542
+ * @param {HTMLElement} target
543
+ * @param {HTMLElement} [anchor]
544
+ */
545
+ m: function(u, l) {
546
+ he(u, o, l);
547
+ },
548
+ d: function(u) {
549
+ u && F(o);
550
+ }
583
551
  };
584
552
  };
585
- if (yield Promise.resolve(), !this.$$cn || this.$$c)
586
- return;
587
- const r = {}, n = Zr(this);
588
- for (const o of this.$$s)
589
- o in n && (r[o] = [t(o)]);
590
- for (const o of this.attributes) {
591
- const s = this.$$g_p(o.name);
592
- s in this.$$d || (this.$$d[s] = ve(s, o.value, this.$$p_d, "toProp"));
553
+ };
554
+ if (await Promise.resolve(), !this.$$cn || this.$$c)
555
+ return;
556
+ const t = {}, n = Mn(this);
557
+ for (const i of this.$$s)
558
+ i in n && (t[i] = [e(i)]);
559
+ for (const i of this.attributes) {
560
+ const o = this.$$g_p(i.name);
561
+ o in this.$$d || (this.$$d[o] = ye(o, i.value, this.$$p_d, "toProp"));
562
+ }
563
+ for (const i in this.$$p_d)
564
+ !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
565
+ this.$$c = new this.$$ctor({
566
+ target: this.shadowRoot || this,
567
+ props: {
568
+ ...this.$$d,
569
+ $$slots: t,
570
+ $$scope: {
571
+ ctx: []
572
+ }
593
573
  }
594
- for (const o in this.$$p_d)
595
- !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
596
- this.$$c = new this.$$ctor({
597
- target: this.shadowRoot || this,
598
- props: ft(ct({}, this.$$d), {
599
- $$slots: r,
600
- $$scope: {
601
- ctx: []
602
- }
603
- })
604
- });
605
- const i = () => {
606
- this.$$r = !0;
607
- for (const o in this.$$p_d)
608
- if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
609
- const s = ve(
610
- o,
611
- this.$$d[o],
612
- this.$$p_d,
613
- "toAttribute"
614
- );
615
- s == null ? this.removeAttribute(this.$$p_d[o].attribute || o) : this.setAttribute(this.$$p_d[o].attribute || o, s);
616
- }
617
- this.$$r = !1;
618
- };
619
- this.$$c.$$.after_update.push(i), i();
620
- for (const o in this.$$l)
621
- for (const s of this.$$l[o]) {
622
- const a = this.$$c.$on(o, s);
623
- this.$$l_u.set(s, a);
574
+ });
575
+ const r = () => {
576
+ this.$$r = !0;
577
+ for (const i in this.$$p_d)
578
+ if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
579
+ const o = ye(
580
+ i,
581
+ this.$$d[i],
582
+ this.$$p_d,
583
+ "toAttribute"
584
+ );
585
+ o == null ? this.removeAttribute(this.$$p_d[i].attribute || i) : this.setAttribute(this.$$p_d[i].attribute || i, o);
624
586
  }
625
- this.$$l = {};
626
- }
627
- });
587
+ this.$$r = !1;
588
+ };
589
+ this.$$c.$$.after_update.push(r), r();
590
+ for (const i in this.$$l)
591
+ for (const o of this.$$l[i]) {
592
+ const a = this.$$c.$on(i, o);
593
+ this.$$l_u.set(o, a);
594
+ }
595
+ this.$$l = {};
596
+ }
628
597
  }
629
598
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
630
599
  // and setting attributes through setAttribute etc, this is helpful
631
- attributeChangedCallback(t, r, n) {
632
- var i;
633
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = ve(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
600
+ attributeChangedCallback(e, t, n) {
601
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = ye(e, n, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
634
602
  }
635
603
  disconnectedCallback() {
636
604
  this.$$cn = !1, Promise.resolve().then(() => {
637
605
  !this.$$cn && this.$$c && (this.$$c.$destroy(), this.$$c = void 0);
638
606
  });
639
607
  }
640
- $$g_p(t) {
608
+ $$g_p(e) {
641
609
  return Object.keys(this.$$p_d).find(
642
- (r) => this.$$p_d[r].attribute === t || !this.$$p_d[r].attribute && r.toLowerCase() === t
643
- ) || t;
610
+ (t) => this.$$p_d[t].attribute === e || !this.$$p_d[t].attribute && t.toLowerCase() === e
611
+ ) || e;
644
612
  }
645
613
  });
646
- function ve(e, t, r, n) {
647
- var o;
648
- const i = (o = r[e]) == null ? void 0 : o.type;
649
- if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
614
+ function ye(e, t, n, r) {
615
+ const i = n[e]?.type;
616
+ if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !r || !n[e])
650
617
  return t;
651
- if (n === "toAttribute")
618
+ if (r === "toAttribute")
652
619
  switch (i) {
653
620
  case "Object":
654
621
  case "Array":
@@ -656,7 +623,7 @@ function ve(e, t, r, n) {
656
623
  case "Boolean":
657
624
  return t ? "" : null;
658
625
  case "Number":
659
- return t == null ? null : t;
626
+ return t ?? null;
660
627
  default:
661
628
  return t;
662
629
  }
@@ -673,59 +640,55 @@ function ve(e, t, r, n) {
673
640
  return t;
674
641
  }
675
642
  }
676
- function hn(e, t, r, n, i, o) {
677
- let s = class extends Qt {
643
+ function Qn(e, t, n, r, i, o) {
644
+ let a = class extends jt {
678
645
  constructor() {
679
- super(e, r, i), this.$$p_d = t;
646
+ super(e, n, i), this.$$p_d = t;
680
647
  }
681
648
  static get observedAttributes() {
682
649
  return Object.keys(t).map(
683
- (a) => (t[a].attribute || a).toLowerCase()
650
+ (s) => (t[s].attribute || s).toLowerCase()
684
651
  );
685
652
  }
686
653
  };
687
- return Object.keys(t).forEach((a) => {
688
- Object.defineProperty(s.prototype, a, {
654
+ return Object.keys(t).forEach((s) => {
655
+ Object.defineProperty(a.prototype, s, {
689
656
  get() {
690
- return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
657
+ return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
691
658
  },
692
659
  set(u) {
693
- var l;
694
- u = ve(a, u, t), this.$$d[a] = u, (l = this.$$c) == null || l.$set({ [a]: u });
660
+ u = ye(s, u, t), this.$$d[s] = u, this.$$c?.$set({ [s]: u });
695
661
  }
696
662
  });
697
- }), n.forEach((a) => {
698
- Object.defineProperty(s.prototype, a, {
663
+ }), r.forEach((s) => {
664
+ Object.defineProperty(a.prototype, s, {
699
665
  get() {
700
- var u;
701
- return (u = this.$$c) == null ? void 0 : u[a];
666
+ return this.$$c?.[s];
702
667
  }
703
668
  });
704
669
  }), e.element = /** @type {any} */
705
- s, s;
706
- }
707
- class cn {
708
- constructor() {
709
- /**
710
- * ### PRIVATE API
711
- *
712
- * Do not use, may change at any time
713
- *
714
- * @type {any}
715
- */
716
- O(this, "$$");
717
- /**
718
- * ### PRIVATE API
719
- *
720
- * Do not use, may change at any time
721
- *
722
- * @type {any}
723
- */
724
- O(this, "$$set");
725
- }
670
+ a, a;
671
+ }
672
+ class Jn {
673
+ /**
674
+ * ### PRIVATE API
675
+ *
676
+ * Do not use, may change at any time
677
+ *
678
+ * @type {any}
679
+ */
680
+ $$ = void 0;
681
+ /**
682
+ * ### PRIVATE API
683
+ *
684
+ * Do not use, may change at any time
685
+ *
686
+ * @type {any}
687
+ */
688
+ $$set = void 0;
726
689
  /** @returns {void} */
727
690
  $destroy() {
728
- an(this, 1), this.$destroy = B;
691
+ zn(this, 1), this.$destroy = B;
729
692
  }
730
693
  /**
731
694
  * @template {Extract<keyof Events, string>} K
@@ -733,13 +696,13 @@ class cn {
733
696
  * @param {((e: Events[K]) => void) | null | undefined} callback
734
697
  * @returns {() => void}
735
698
  */
736
- $on(t, r) {
737
- if (!he(r))
699
+ $on(t, n) {
700
+ if (!le(n))
738
701
  return B;
739
- const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
740
- return n.push(r), () => {
741
- const i = n.indexOf(r);
742
- i !== -1 && n.splice(i, 1);
702
+ const r = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
703
+ return r.push(n), () => {
704
+ const i = r.indexOf(n);
705
+ i !== -1 && r.splice(i, 1);
743
706
  };
744
707
  }
745
708
  /**
@@ -747,113 +710,113 @@ class cn {
747
710
  * @returns {void}
748
711
  */
749
712
  $set(t) {
750
- this.$$set && !Ur(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
713
+ this.$$set && !wn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
751
714
  }
752
715
  }
753
- const fn = "4";
754
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(fn);
755
- var Xe = function(e, t) {
756
- return Xe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
757
- r.__proto__ = n;
758
- } || function(r, n) {
759
- for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
760
- }, Xe(e, t);
716
+ const Yn = "4";
717
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Yn);
718
+ var je = function(e, t) {
719
+ return je = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
720
+ n.__proto__ = r;
721
+ } || function(n, r) {
722
+ for (var i in r) Object.prototype.hasOwnProperty.call(r, i) && (n[i] = r[i]);
723
+ }, je(e, t);
761
724
  };
762
- function R(e, t) {
725
+ function $(e, t) {
763
726
  if (typeof t != "function" && t !== null)
764
727
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
765
- Xe(e, t);
766
- function r() {
728
+ je(e, t);
729
+ function n() {
767
730
  this.constructor = e;
768
731
  }
769
- e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
732
+ e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
770
733
  }
771
- var v = function() {
772
- return v = Object.assign || function(t) {
773
- for (var r, n = 1, i = arguments.length; n < i; n++) {
774
- r = arguments[n];
775
- for (var o in r) Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
734
+ var _ = function() {
735
+ return _ = Object.assign || function(t) {
736
+ for (var n, r = 1, i = arguments.length; r < i; r++) {
737
+ n = arguments[r];
738
+ for (var o in n) Object.prototype.hasOwnProperty.call(n, o) && (t[o] = n[o]);
776
739
  }
777
740
  return t;
778
- }, v.apply(this, arguments);
741
+ }, _.apply(this, arguments);
779
742
  };
780
- function pn(e, t) {
781
- var r = {};
782
- for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
743
+ function Kn(e, t) {
744
+ var n = {};
745
+ for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
783
746
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
784
- for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
785
- t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
786
- return r;
747
+ for (var i = 0, r = Object.getOwnPropertySymbols(e); i < r.length; i++)
748
+ t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]);
749
+ return n;
787
750
  }
788
- function We(e) {
789
- var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
790
- if (r) return r.call(e);
751
+ function ke(e) {
752
+ var t = typeof Symbol == "function" && Symbol.iterator, n = t && e[t], r = 0;
753
+ if (n) return n.call(e);
791
754
  if (e && typeof e.length == "number") return {
792
755
  next: function() {
793
- return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
756
+ return e && r >= e.length && (e = void 0), { value: e && e[r++], done: !e };
794
757
  }
795
758
  };
796
759
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
797
760
  }
798
- function ze(e, t) {
799
- var r = typeof Symbol == "function" && e[Symbol.iterator];
800
- if (!r) return e;
801
- var n = r.call(e), i, o = [], s;
761
+ function Ve(e, t) {
762
+ var n = typeof Symbol == "function" && e[Symbol.iterator];
763
+ if (!n) return e;
764
+ var r = n.call(e), i, o = [], a;
802
765
  try {
803
- for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; ) o.push(i.value);
804
- } catch (a) {
805
- s = { error: a };
766
+ for (; (t === void 0 || t-- > 0) && !(i = r.next()).done; ) o.push(i.value);
767
+ } catch (s) {
768
+ a = { error: s };
806
769
  } finally {
807
770
  try {
808
- i && !i.done && (r = n.return) && r.call(n);
771
+ i && !i.done && (n = r.return) && n.call(r);
809
772
  } finally {
810
- if (s) throw s.error;
773
+ if (a) throw a.error;
811
774
  }
812
775
  }
813
776
  return o;
814
777
  }
815
- function q(e, t, r) {
816
- if (r || arguments.length === 2) for (var n = 0, i = t.length, o; n < i; n++)
817
- (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
778
+ function Z(e, t, n) {
779
+ if (n || arguments.length === 2) for (var r = 0, i = t.length, o; r < i; r++)
780
+ (o || !(r in t)) && (o || (o = Array.prototype.slice.call(t, 0, r)), o[r] = t[r]);
818
781
  return e.concat(o || Array.prototype.slice.call(t));
819
782
  }
820
- function $(e) {
783
+ function M(e) {
821
784
  return typeof e == "function";
822
785
  }
823
- function Jt(e) {
824
- var t = function(n) {
825
- Error.call(n), n.stack = new Error().stack;
826
- }, r = e(t);
827
- return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
828
- }
829
- var $e = Jt(function(e) {
830
- return function(r) {
831
- e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
832
- ` + r.map(function(n, i) {
833
- return i + 1 + ") " + n.toString();
786
+ function kt(e) {
787
+ var t = function(r) {
788
+ Error.call(r), r.stack = new Error().stack;
789
+ }, n = e(t);
790
+ return n.prototype = Object.create(Error.prototype), n.prototype.constructor = n, n;
791
+ }
792
+ var Ce = kt(function(e) {
793
+ return function(n) {
794
+ e(this), this.message = n ? n.length + ` errors occurred during unsubscription:
795
+ ` + n.map(function(r, i) {
796
+ return i + 1 + ") " + r.toString();
834
797
  }).join(`
835
- `) : "", this.name = "UnsubscriptionError", this.errors = r;
798
+ `) : "", this.name = "UnsubscriptionError", this.errors = n;
836
799
  };
837
800
  });
838
- function Ze(e, t) {
801
+ function Xe(e, t) {
839
802
  if (e) {
840
- var r = e.indexOf(t);
841
- 0 <= r && e.splice(r, 1);
803
+ var n = e.indexOf(t);
804
+ 0 <= n && e.splice(n, 1);
842
805
  }
843
806
  }
844
- var Ae = function() {
807
+ var Be = function() {
845
808
  function e(t) {
846
809
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
847
810
  }
848
811
  return e.prototype.unsubscribe = function() {
849
- var t, r, n, i, o;
812
+ var t, n, r, i, o;
850
813
  if (!this.closed) {
851
814
  this.closed = !0;
852
- var s = this._parentage;
853
- if (s)
854
- if (this._parentage = null, Array.isArray(s))
815
+ var a = this._parentage;
816
+ if (a)
817
+ if (this._parentage = null, Array.isArray(a))
855
818
  try {
856
- for (var a = We(s), u = a.next(); !u.done; u = a.next()) {
819
+ for (var s = ke(a), u = s.next(); !u.done; u = s.next()) {
857
820
  var l = u.value;
858
821
  l.remove(this);
859
822
  }
@@ -861,80 +824,80 @@ var Ae = function() {
861
824
  t = { error: m };
862
825
  } finally {
863
826
  try {
864
- u && !u.done && (r = a.return) && r.call(a);
827
+ u && !u.done && (n = s.return) && n.call(s);
865
828
  } finally {
866
829
  if (t) throw t.error;
867
830
  }
868
831
  }
869
832
  else
870
- s.remove(this);
833
+ a.remove(this);
871
834
  var h = this.initialTeardown;
872
- if ($(h))
835
+ if (M(h))
873
836
  try {
874
837
  h();
875
838
  } catch (m) {
876
- o = m instanceof $e ? m.errors : [m];
839
+ o = m instanceof Ce ? m.errors : [m];
877
840
  }
878
- var c = this._finalizers;
879
- if (c) {
841
+ var f = this._finalizers;
842
+ if (f) {
880
843
  this._finalizers = null;
881
844
  try {
882
- for (var f = We(c), p = f.next(); !p.done; p = f.next()) {
883
- var d = p.value;
845
+ for (var c = ke(f), d = c.next(); !d.done; d = c.next()) {
846
+ var p = d.value;
884
847
  try {
885
- gt(d);
848
+ lt(p);
886
849
  } catch (m) {
887
- o = o != null ? o : [], m instanceof $e ? o = q(q([], ze(o)), ze(m.errors)) : o.push(m);
850
+ o = o ?? [], m instanceof Ce ? o = Z(Z([], Ve(o)), Ve(m.errors)) : o.push(m);
888
851
  }
889
852
  }
890
853
  } catch (m) {
891
- n = { error: m };
854
+ r = { error: m };
892
855
  } finally {
893
856
  try {
894
- p && !p.done && (i = f.return) && i.call(f);
857
+ d && !d.done && (i = c.return) && i.call(c);
895
858
  } finally {
896
- if (n) throw n.error;
859
+ if (r) throw r.error;
897
860
  }
898
861
  }
899
862
  }
900
863
  if (o)
901
- throw new $e(o);
864
+ throw new Ce(o);
902
865
  }
903
866
  }, e.prototype.add = function(t) {
904
- var r;
867
+ var n;
905
868
  if (t && t !== this)
906
869
  if (this.closed)
907
- gt(t);
870
+ lt(t);
908
871
  else {
909
872
  if (t instanceof e) {
910
873
  if (t.closed || t._hasParent(this))
911
874
  return;
912
875
  t._addParent(this);
913
876
  }
914
- (this._finalizers = (r = this._finalizers) !== null && r !== void 0 ? r : []).push(t);
877
+ (this._finalizers = (n = this._finalizers) !== null && n !== void 0 ? n : []).push(t);
915
878
  }
916
879
  }, e.prototype._hasParent = function(t) {
917
- var r = this._parentage;
918
- return r === t || Array.isArray(r) && r.includes(t);
880
+ var n = this._parentage;
881
+ return n === t || Array.isArray(n) && n.includes(t);
919
882
  }, e.prototype._addParent = function(t) {
920
- var r = this._parentage;
921
- this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
883
+ var n = this._parentage;
884
+ this._parentage = Array.isArray(n) ? (n.push(t), n) : n ? [n, t] : t;
922
885
  }, e.prototype._removeParent = function(t) {
923
- var r = this._parentage;
924
- r === t ? this._parentage = null : Array.isArray(r) && Ze(r, t);
886
+ var n = this._parentage;
887
+ n === t ? this._parentage = null : Array.isArray(n) && Xe(n, t);
925
888
  }, e.prototype.remove = function(t) {
926
- var r = this._finalizers;
927
- r && Ze(r, t), t instanceof e && t._removeParent(this);
889
+ var n = this._finalizers;
890
+ n && Xe(n, t), t instanceof e && t._removeParent(this);
928
891
  }, e.EMPTY = function() {
929
892
  var t = new e();
930
893
  return t.closed = !0, t;
931
894
  }(), e;
932
- }(), Yt = Ae.EMPTY;
933
- function Kt(e) {
934
- return e instanceof Ae || e && "closed" in e && $(e.remove) && $(e.add) && $(e.unsubscribe);
895
+ }(), Vt = Be.EMPTY;
896
+ function Xt(e) {
897
+ return e instanceof Be || e && "closed" in e && M(e.remove) && M(e.add) && M(e.unsubscribe);
935
898
  }
936
- function gt(e) {
937
- $(e) ? e() : e.unsubscribe();
899
+ function lt(e) {
900
+ M(e) ? e() : e.unsubscribe();
938
901
  }
939
902
  var er = {
940
903
  onUnhandledError: null,
@@ -942,48 +905,48 @@ var er = {
942
905
  Promise: void 0,
943
906
  useDeprecatedSynchronousErrorHandling: !1,
944
907
  useDeprecatedNextContext: !1
945
- }, dn = {
908
+ }, tr = {
946
909
  setTimeout: function(e, t) {
947
- for (var r = [], n = 2; n < arguments.length; n++)
948
- r[n - 2] = arguments[n];
949
- return setTimeout.apply(void 0, q([e, t], ze(r)));
910
+ for (var n = [], r = 2; r < arguments.length; r++)
911
+ n[r - 2] = arguments[r];
912
+ return setTimeout.apply(void 0, Z([e, t], Ve(n)));
950
913
  },
951
914
  clearTimeout: function(e) {
952
915
  return clearTimeout(e);
953
916
  },
954
917
  delegate: void 0
955
918
  };
956
- function mn(e) {
957
- dn.setTimeout(function() {
919
+ function nr(e) {
920
+ tr.setTimeout(function() {
958
921
  throw e;
959
922
  });
960
923
  }
961
- function yt() {
924
+ function ht() {
962
925
  }
963
926
  function _e(e) {
964
927
  e();
965
928
  }
966
- var tr = function(e) {
967
- R(t, e);
968
- function t(r) {
969
- var n = e.call(this) || this;
970
- return n.isStopped = !1, r ? (n.destination = r, Kt(r) && r.add(n)) : n.destination = vn, n;
929
+ var Wt = function(e) {
930
+ $(t, e);
931
+ function t(n) {
932
+ var r = e.call(this) || this;
933
+ return r.isStopped = !1, n ? (r.destination = n, Xt(n) && n.add(r)) : r.destination = or, r;
971
934
  }
972
- return t.create = function(r, n, i) {
973
- return new qe(r, n, i);
974
- }, t.prototype.next = function(r) {
975
- this.isStopped || this._next(r);
976
- }, t.prototype.error = function(r) {
977
- this.isStopped || (this.isStopped = !0, this._error(r));
935
+ return t.create = function(n, r, i) {
936
+ return new We(n, r, i);
937
+ }, t.prototype.next = function(n) {
938
+ this.isStopped || this._next(n);
939
+ }, t.prototype.error = function(n) {
940
+ this.isStopped || (this.isStopped = !0, this._error(n));
978
941
  }, t.prototype.complete = function() {
979
942
  this.isStopped || (this.isStopped = !0, this._complete());
980
943
  }, t.prototype.unsubscribe = function() {
981
944
  this.closed || (this.isStopped = !0, e.prototype.unsubscribe.call(this), this.destination = null);
982
- }, t.prototype._next = function(r) {
983
- this.destination.next(r);
984
- }, t.prototype._error = function(r) {
945
+ }, t.prototype._next = function(n) {
946
+ this.destination.next(n);
947
+ }, t.prototype._error = function(n) {
985
948
  try {
986
- this.destination.error(r);
949
+ this.destination.error(n);
987
950
  } finally {
988
951
  this.unsubscribe();
989
952
  }
@@ -994,540 +957,526 @@ var tr = function(e) {
994
957
  this.unsubscribe();
995
958
  }
996
959
  }, t;
997
- }(Ae), bn = Function.prototype.bind;
998
- function Re(e, t) {
999
- return bn.call(e, t);
1000
- }
1001
- var gn = function() {
960
+ }(Be), rr = function() {
1002
961
  function e(t) {
1003
962
  this.partialObserver = t;
1004
963
  }
1005
964
  return e.prototype.next = function(t) {
1006
- var r = this.partialObserver;
1007
- if (r.next)
965
+ var n = this.partialObserver;
966
+ if (n.next)
1008
967
  try {
1009
- r.next(t);
1010
- } catch (n) {
1011
- be(n);
968
+ n.next(t);
969
+ } catch (r) {
970
+ me(r);
1012
971
  }
1013
972
  }, e.prototype.error = function(t) {
1014
- var r = this.partialObserver;
1015
- if (r.error)
973
+ var n = this.partialObserver;
974
+ if (n.error)
1016
975
  try {
1017
- r.error(t);
1018
- } catch (n) {
1019
- be(n);
976
+ n.error(t);
977
+ } catch (r) {
978
+ me(r);
1020
979
  }
1021
980
  else
1022
- be(t);
981
+ me(t);
1023
982
  }, e.prototype.complete = function() {
1024
983
  var t = this.partialObserver;
1025
984
  if (t.complete)
1026
985
  try {
1027
986
  t.complete();
1028
- } catch (r) {
1029
- be(r);
987
+ } catch (n) {
988
+ me(n);
1030
989
  }
1031
990
  }, e;
1032
- }(), qe = function(e) {
1033
- R(t, e);
1034
- function t(r, n, i) {
1035
- var o = e.call(this) || this, s;
1036
- if ($(r) || !r)
1037
- s = {
1038
- next: r != null ? r : void 0,
1039
- error: n != null ? n : void 0,
1040
- complete: i != null ? i : void 0
1041
- };
1042
- else {
1043
- var a;
1044
- o && er.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
1045
- return o.unsubscribe();
1046
- }, s = {
1047
- next: r.next && Re(r.next, a),
1048
- error: r.error && Re(r.error, a),
1049
- complete: r.complete && Re(r.complete, a)
1050
- }) : s = r;
1051
- }
1052
- return o.destination = new gn(s), o;
991
+ }(), We = function(e) {
992
+ $(t, e);
993
+ function t(n, r, i) {
994
+ var o = e.call(this) || this, a;
995
+ return M(n) || !n ? a = {
996
+ next: n ?? void 0,
997
+ error: r ?? void 0,
998
+ complete: i ?? void 0
999
+ } : a = n, o.destination = new rr(a), o;
1053
1000
  }
1054
1001
  return t;
1055
- }(tr);
1056
- function be(e) {
1057
- mn(e);
1002
+ }(Wt);
1003
+ function me(e) {
1004
+ nr(e);
1058
1005
  }
1059
- function yn(e) {
1006
+ function ir(e) {
1060
1007
  throw e;
1061
1008
  }
1062
- var vn = {
1009
+ var or = {
1063
1010
  closed: !0,
1064
- next: yt,
1065
- error: yn,
1066
- complete: yt
1067
- }, _n = function() {
1011
+ next: ht,
1012
+ error: ir,
1013
+ complete: ht
1014
+ }, sr = function() {
1068
1015
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
1069
1016
  }();
1070
- function xn(e) {
1017
+ function ar(e) {
1071
1018
  return e;
1072
1019
  }
1073
- function En(e) {
1074
- return e.length === 0 ? xn : e.length === 1 ? e[0] : function(r) {
1075
- return e.reduce(function(n, i) {
1076
- return i(n);
1077
- }, r);
1020
+ function ur(e) {
1021
+ return e.length === 0 ? ar : e.length === 1 ? e[0] : function(n) {
1022
+ return e.reduce(function(r, i) {
1023
+ return i(r);
1024
+ }, n);
1078
1025
  };
1079
1026
  }
1080
- var vt = function() {
1027
+ var ft = function() {
1081
1028
  function e(t) {
1082
1029
  t && (this._subscribe = t);
1083
1030
  }
1084
1031
  return e.prototype.lift = function(t) {
1085
- var r = new e();
1086
- return r.source = this, r.operator = t, r;
1087
- }, e.prototype.subscribe = function(t, r, n) {
1088
- var i = this, o = Tn(t) ? t : new qe(t, r, n);
1032
+ var n = new e();
1033
+ return n.source = this, n.operator = t, n;
1034
+ }, e.prototype.subscribe = function(t, n, r) {
1035
+ var i = this, o = hr(t) ? t : new We(t, n, r);
1089
1036
  return _e(function() {
1090
- var s = i, a = s.operator, u = s.source;
1091
- o.add(a ? a.call(o, u) : u ? i._subscribe(o) : i._trySubscribe(o));
1037
+ var a = i, s = a.operator, u = a.source;
1038
+ o.add(s ? s.call(o, u) : u ? i._subscribe(o) : i._trySubscribe(o));
1092
1039
  }), o;
1093
1040
  }, e.prototype._trySubscribe = function(t) {
1094
1041
  try {
1095
1042
  return this._subscribe(t);
1096
- } catch (r) {
1097
- t.error(r);
1043
+ } catch (n) {
1044
+ t.error(n);
1098
1045
  }
1099
- }, e.prototype.forEach = function(t, r) {
1100
- var n = this;
1101
- return r = _t(r), new r(function(i, o) {
1102
- var s = new qe({
1103
- next: function(a) {
1046
+ }, e.prototype.forEach = function(t, n) {
1047
+ var r = this;
1048
+ return n = ct(n), new n(function(i, o) {
1049
+ var a = new We({
1050
+ next: function(s) {
1104
1051
  try {
1105
- t(a);
1052
+ t(s);
1106
1053
  } catch (u) {
1107
- o(u), s.unsubscribe();
1054
+ o(u), a.unsubscribe();
1108
1055
  }
1109
1056
  },
1110
1057
  error: o,
1111
1058
  complete: i
1112
1059
  });
1113
- n.subscribe(s);
1060
+ r.subscribe(a);
1114
1061
  });
1115
1062
  }, e.prototype._subscribe = function(t) {
1116
- var r;
1117
- return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
1118
- }, e.prototype[_n] = function() {
1063
+ var n;
1064
+ return (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(t);
1065
+ }, e.prototype[sr] = function() {
1119
1066
  return this;
1120
1067
  }, e.prototype.pipe = function() {
1121
- for (var t = [], r = 0; r < arguments.length; r++)
1122
- t[r] = arguments[r];
1123
- return En(t)(this);
1068
+ for (var t = [], n = 0; n < arguments.length; n++)
1069
+ t[n] = arguments[n];
1070
+ return ur(t)(this);
1124
1071
  }, e.prototype.toPromise = function(t) {
1125
- var r = this;
1126
- return t = _t(t), new t(function(n, i) {
1072
+ var n = this;
1073
+ return t = ct(t), new t(function(r, i) {
1127
1074
  var o;
1128
- r.subscribe(function(s) {
1129
- return o = s;
1130
- }, function(s) {
1131
- return i(s);
1075
+ n.subscribe(function(a) {
1076
+ return o = a;
1077
+ }, function(a) {
1078
+ return i(a);
1132
1079
  }, function() {
1133
- return n(o);
1080
+ return r(o);
1134
1081
  });
1135
1082
  });
1136
1083
  }, e.create = function(t) {
1137
1084
  return new e(t);
1138
1085
  }, e;
1139
1086
  }();
1140
- function _t(e) {
1087
+ function ct(e) {
1141
1088
  var t;
1142
- return (t = e != null ? e : er.Promise) !== null && t !== void 0 ? t : Promise;
1089
+ return (t = e ?? er.Promise) !== null && t !== void 0 ? t : Promise;
1143
1090
  }
1144
- function Sn(e) {
1145
- return e && $(e.next) && $(e.error) && $(e.complete);
1091
+ function lr(e) {
1092
+ return e && M(e.next) && M(e.error) && M(e.complete);
1146
1093
  }
1147
- function Tn(e) {
1148
- return e && e instanceof tr || Sn(e) && Kt(e);
1094
+ function hr(e) {
1095
+ return e && e instanceof Wt || lr(e) && Xt(e);
1149
1096
  }
1150
- var wn = Jt(function(e) {
1097
+ var fr = kt(function(e) {
1151
1098
  return function() {
1152
1099
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
1153
1100
  };
1154
- }), rr = function(e) {
1155
- R(t, e);
1101
+ }), zt = function(e) {
1102
+ $(t, e);
1156
1103
  function t() {
1157
- var r = e.call(this) || this;
1158
- return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
1104
+ var n = e.call(this) || this;
1105
+ return n.closed = !1, n.currentObservers = null, n.observers = [], n.isStopped = !1, n.hasError = !1, n.thrownError = null, n;
1159
1106
  }
1160
- return t.prototype.lift = function(r) {
1161
- var n = new xt(this, this);
1162
- return n.operator = r, n;
1107
+ return t.prototype.lift = function(n) {
1108
+ var r = new dt(this, this);
1109
+ return r.operator = n, r;
1163
1110
  }, t.prototype._throwIfClosed = function() {
1164
1111
  if (this.closed)
1165
- throw new wn();
1166
- }, t.prototype.next = function(r) {
1167
- var n = this;
1112
+ throw new fr();
1113
+ }, t.prototype.next = function(n) {
1114
+ var r = this;
1168
1115
  _e(function() {
1169
1116
  var i, o;
1170
- if (n._throwIfClosed(), !n.isStopped) {
1171
- n.currentObservers || (n.currentObservers = Array.from(n.observers));
1117
+ if (r._throwIfClosed(), !r.isStopped) {
1118
+ r.currentObservers || (r.currentObservers = Array.from(r.observers));
1172
1119
  try {
1173
- for (var s = We(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
1174
- var u = a.value;
1175
- u.next(r);
1120
+ for (var a = ke(r.currentObservers), s = a.next(); !s.done; s = a.next()) {
1121
+ var u = s.value;
1122
+ u.next(n);
1176
1123
  }
1177
1124
  } catch (l) {
1178
1125
  i = { error: l };
1179
1126
  } finally {
1180
1127
  try {
1181
- a && !a.done && (o = s.return) && o.call(s);
1128
+ s && !s.done && (o = a.return) && o.call(a);
1182
1129
  } finally {
1183
1130
  if (i) throw i.error;
1184
1131
  }
1185
1132
  }
1186
1133
  }
1187
1134
  });
1188
- }, t.prototype.error = function(r) {
1189
- var n = this;
1135
+ }, t.prototype.error = function(n) {
1136
+ var r = this;
1190
1137
  _e(function() {
1191
- if (n._throwIfClosed(), !n.isStopped) {
1192
- n.hasError = n.isStopped = !0, n.thrownError = r;
1193
- for (var i = n.observers; i.length; )
1194
- i.shift().error(r);
1138
+ if (r._throwIfClosed(), !r.isStopped) {
1139
+ r.hasError = r.isStopped = !0, r.thrownError = n;
1140
+ for (var i = r.observers; i.length; )
1141
+ i.shift().error(n);
1195
1142
  }
1196
1143
  });
1197
1144
  }, t.prototype.complete = function() {
1198
- var r = this;
1145
+ var n = this;
1199
1146
  _e(function() {
1200
- if (r._throwIfClosed(), !r.isStopped) {
1201
- r.isStopped = !0;
1202
- for (var n = r.observers; n.length; )
1203
- n.shift().complete();
1147
+ if (n._throwIfClosed(), !n.isStopped) {
1148
+ n.isStopped = !0;
1149
+ for (var r = n.observers; r.length; )
1150
+ r.shift().complete();
1204
1151
  }
1205
1152
  });
1206
1153
  }, t.prototype.unsubscribe = function() {
1207
1154
  this.isStopped = this.closed = !0, this.observers = this.currentObservers = null;
1208
1155
  }, Object.defineProperty(t.prototype, "observed", {
1209
1156
  get: function() {
1210
- var r;
1211
- return ((r = this.observers) === null || r === void 0 ? void 0 : r.length) > 0;
1157
+ var n;
1158
+ return ((n = this.observers) === null || n === void 0 ? void 0 : n.length) > 0;
1212
1159
  },
1213
1160
  enumerable: !1,
1214
1161
  configurable: !0
1215
- }), t.prototype._trySubscribe = function(r) {
1216
- return this._throwIfClosed(), e.prototype._trySubscribe.call(this, r);
1217
- }, t.prototype._subscribe = function(r) {
1218
- return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
1219
- }, t.prototype._innerSubscribe = function(r) {
1220
- var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
1221
- return o || s ? Yt : (this.currentObservers = null, a.push(r), new Ae(function() {
1222
- n.currentObservers = null, Ze(a, r);
1162
+ }), t.prototype._trySubscribe = function(n) {
1163
+ return this._throwIfClosed(), e.prototype._trySubscribe.call(this, n);
1164
+ }, t.prototype._subscribe = function(n) {
1165
+ return this._throwIfClosed(), this._checkFinalizedStatuses(n), this._innerSubscribe(n);
1166
+ }, t.prototype._innerSubscribe = function(n) {
1167
+ var r = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
1168
+ return o || a ? Vt : (this.currentObservers = null, s.push(n), new Be(function() {
1169
+ r.currentObservers = null, Xe(s, n);
1223
1170
  }));
1224
- }, t.prototype._checkFinalizedStatuses = function(r) {
1225
- var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
1226
- i ? r.error(o) : s && r.complete();
1171
+ }, t.prototype._checkFinalizedStatuses = function(n) {
1172
+ var r = this, i = r.hasError, o = r.thrownError, a = r.isStopped;
1173
+ i ? n.error(o) : a && n.complete();
1227
1174
  }, t.prototype.asObservable = function() {
1228
- var r = new vt();
1229
- return r.source = this, r;
1230
- }, t.create = function(r, n) {
1231
- return new xt(r, n);
1175
+ var n = new ft();
1176
+ return n.source = this, n;
1177
+ }, t.create = function(n, r) {
1178
+ return new dt(n, r);
1232
1179
  }, t;
1233
- }(vt), xt = function(e) {
1234
- R(t, e);
1235
- function t(r, n) {
1180
+ }(ft), dt = function(e) {
1181
+ $(t, e);
1182
+ function t(n, r) {
1236
1183
  var i = e.call(this) || this;
1237
- return i.destination = r, i.source = n, i;
1184
+ return i.destination = n, i.source = r, i;
1238
1185
  }
1239
- return t.prototype.next = function(r) {
1240
- var n, i;
1241
- (i = (n = this.destination) === null || n === void 0 ? void 0 : n.next) === null || i === void 0 || i.call(n, r);
1242
- }, t.prototype.error = function(r) {
1243
- var n, i;
1244
- (i = (n = this.destination) === null || n === void 0 ? void 0 : n.error) === null || i === void 0 || i.call(n, r);
1186
+ return t.prototype.next = function(n) {
1187
+ var r, i;
1188
+ (i = (r = this.destination) === null || r === void 0 ? void 0 : r.next) === null || i === void 0 || i.call(r, n);
1189
+ }, t.prototype.error = function(n) {
1190
+ var r, i;
1191
+ (i = (r = this.destination) === null || r === void 0 ? void 0 : r.error) === null || i === void 0 || i.call(r, n);
1245
1192
  }, t.prototype.complete = function() {
1246
- var r, n;
1247
- (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1248
- }, t.prototype._subscribe = function(r) {
1249
- var n, i;
1250
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Yt;
1193
+ var n, r;
1194
+ (r = (n = this.destination) === null || n === void 0 ? void 0 : n.complete) === null || r === void 0 || r.call(n);
1195
+ }, t.prototype._subscribe = function(n) {
1196
+ var r, i;
1197
+ return (i = (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(n)) !== null && i !== void 0 ? i : Vt;
1251
1198
  }, t;
1252
- }(rr), nr = {
1199
+ }(zt), Zt = {
1253
1200
  now: function() {
1254
- return (nr.delegate || Date).now();
1201
+ return (Zt.delegate || Date).now();
1255
1202
  },
1256
1203
  delegate: void 0
1257
- }, Hn = function(e) {
1258
- R(t, e);
1259
- function t(r, n, i) {
1260
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = nr);
1204
+ }, cr = function(e) {
1205
+ $(t, e);
1206
+ function t(n, r, i) {
1207
+ n === void 0 && (n = 1 / 0), r === void 0 && (r = 1 / 0), i === void 0 && (i = Zt);
1261
1208
  var o = e.call(this) || this;
1262
- 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;
1209
+ return o._bufferSize = n, o._windowTime = r, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = r === 1 / 0, o._bufferSize = Math.max(1, n), o._windowTime = Math.max(1, r), o;
1263
1210
  }
1264
- return t.prototype.next = function(r) {
1265
- var n = this, i = n.isStopped, o = n._buffer, s = n._infiniteTimeWindow, a = n._timestampProvider, u = n._windowTime;
1266
- i || (o.push(r), !s && o.push(a.now() + u)), this._trimBuffer(), e.prototype.next.call(this, r);
1267
- }, t.prototype._subscribe = function(r) {
1211
+ return t.prototype.next = function(n) {
1212
+ var r = this, i = r.isStopped, o = r._buffer, a = r._infiniteTimeWindow, s = r._timestampProvider, u = r._windowTime;
1213
+ i || (o.push(n), !a && o.push(s.now() + u)), this._trimBuffer(), e.prototype.next.call(this, n);
1214
+ }, t.prototype._subscribe = function(n) {
1268
1215
  this._throwIfClosed(), this._trimBuffer();
1269
- for (var n = this._innerSubscribe(r), i = this, o = i._infiniteTimeWindow, s = i._buffer, a = s.slice(), u = 0; u < a.length && !r.closed; u += o ? 1 : 2)
1270
- r.next(a[u]);
1271
- return this._checkFinalizedStatuses(r), n;
1216
+ for (var r = this._innerSubscribe(n), i = this, o = i._infiniteTimeWindow, a = i._buffer, s = a.slice(), u = 0; u < s.length && !n.closed; u += o ? 1 : 2)
1217
+ n.next(s[u]);
1218
+ return this._checkFinalizedStatuses(n), r;
1272
1219
  }, t.prototype._trimBuffer = function() {
1273
- var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, s = r._infiniteTimeWindow, a = (s ? 1 : 2) * n;
1274
- if (n < 1 / 0 && a < o.length && o.splice(0, o.length - a), !s) {
1220
+ var n = this, r = n._bufferSize, i = n._timestampProvider, o = n._buffer, a = n._infiniteTimeWindow, s = (a ? 1 : 2) * r;
1221
+ if (r < 1 / 0 && s < o.length && o.splice(0, o.length - s), !a) {
1275
1222
  for (var u = i.now(), l = 0, h = 1; h < o.length && o[h] <= u; h += 2)
1276
1223
  l = h;
1277
1224
  l && o.splice(0, l + 1);
1278
1225
  }
1279
1226
  }, t;
1280
- }(rr);
1281
- const Et = [], St = {}, Bn = (e, t = 0) => {
1282
- if (Et.indexOf(e) == -1) {
1283
- const r = new Hn(t);
1284
- St[e] = r, Et.push(e);
1227
+ }(zt);
1228
+ const pt = [], mt = {}, dr = (e, t = 0) => {
1229
+ if (pt.indexOf(e) == -1) {
1230
+ const n = new cr(t);
1231
+ mt[e] = n, pt.push(e);
1285
1232
  }
1286
- return St[e];
1287
- }, X = [];
1288
- function An(e, t) {
1233
+ return mt[e];
1234
+ }, V = [];
1235
+ function pr(e, t) {
1289
1236
  return {
1290
- subscribe: Pe(e, t).subscribe
1237
+ subscribe: Ae(e, t).subscribe
1291
1238
  };
1292
1239
  }
1293
- function Pe(e, t = B) {
1294
- let r;
1295
- const n = /* @__PURE__ */ new Set();
1296
- function i(a) {
1297
- if (Gt(e, a) && (e = a, r)) {
1298
- const u = !X.length;
1299
- for (const l of n)
1300
- l[1](), X.push(l, e);
1240
+ function Ae(e, t = B) {
1241
+ let n;
1242
+ const r = /* @__PURE__ */ new Set();
1243
+ function i(s) {
1244
+ if (Lt(e, s) && (e = s, n)) {
1245
+ const u = !V.length;
1246
+ for (const l of r)
1247
+ l[1](), V.push(l, e);
1301
1248
  if (u) {
1302
- for (let l = 0; l < X.length; l += 2)
1303
- X[l][0](X[l + 1]);
1304
- X.length = 0;
1249
+ for (let l = 0; l < V.length; l += 2)
1250
+ V[l][0](V[l + 1]);
1251
+ V.length = 0;
1305
1252
  }
1306
1253
  }
1307
1254
  }
1308
- function o(a) {
1309
- i(a(e));
1255
+ function o(s) {
1256
+ i(s(e));
1310
1257
  }
1311
- function s(a, u = B) {
1312
- const l = [a, u];
1313
- return n.add(l), n.size === 1 && (r = t(i, o) || B), a(e), () => {
1314
- n.delete(l), n.size === 0 && r && (r(), r = null);
1258
+ function a(s, u = B) {
1259
+ const l = [s, u];
1260
+ return r.add(l), r.size === 1 && (n = t(i, o) || B), s(e), () => {
1261
+ r.delete(l), r.size === 0 && n && (n(), n = null);
1315
1262
  };
1316
1263
  }
1317
- return { set: i, update: o, subscribe: s };
1264
+ return { set: i, update: o, subscribe: a };
1318
1265
  }
1319
- function ee(e, t, r) {
1320
- const n = !Array.isArray(e), i = n ? [e] : e;
1266
+ function K(e, t, n) {
1267
+ const r = !Array.isArray(e), i = r ? [e] : e;
1321
1268
  if (!i.every(Boolean))
1322
1269
  throw new Error("derived() expects stores as input, got a falsy value");
1323
1270
  const o = t.length < 2;
1324
- return An(r, (s, a) => {
1271
+ return pr(n, (a, s) => {
1325
1272
  let u = !1;
1326
1273
  const l = [];
1327
- let h = 0, c = B;
1328
- const f = () => {
1274
+ let h = 0, f = B;
1275
+ const c = () => {
1329
1276
  if (h)
1330
1277
  return;
1331
- c();
1332
- const d = t(n ? l[0] : l, s, a);
1333
- o ? s(d) : c = he(d) ? d : B;
1334
- }, p = i.map(
1335
- (d, m) => Ft(
1336
- d,
1278
+ f();
1279
+ const p = t(r ? l[0] : l, a, s);
1280
+ o ? a(p) : f = le(p) ? p : B;
1281
+ }, d = i.map(
1282
+ (p, m) => Nt(
1283
+ p,
1337
1284
  (x) => {
1338
- l[m] = x, h &= ~(1 << m), u && f();
1285
+ l[m] = x, h &= ~(1 << m), u && c();
1339
1286
  },
1340
1287
  () => {
1341
1288
  h |= 1 << m;
1342
1289
  }
1343
1290
  )
1344
1291
  );
1345
- return u = !0, f(), function() {
1346
- F(p), c(), u = !1;
1292
+ return u = !0, c(), function() {
1293
+ G(d), f(), u = !1;
1347
1294
  };
1348
1295
  });
1349
1296
  }
1350
- var qo = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
1351
- function Pn(e) {
1297
+ var Mo = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
1298
+ function mr(e) {
1352
1299
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1353
1300
  }
1354
- var On = function(t) {
1355
- return In(t) && !Ln(t);
1301
+ var br = function(t) {
1302
+ return gr(t) && !yr(t);
1356
1303
  };
1357
- function In(e) {
1304
+ function gr(e) {
1358
1305
  return !!e && typeof e == "object";
1359
1306
  }
1360
- function Ln(e) {
1307
+ function yr(e) {
1361
1308
  var t = Object.prototype.toString.call(e);
1362
- return t === "[object RegExp]" || t === "[object Date]" || Mn(e);
1309
+ return t === "[object RegExp]" || t === "[object Date]" || xr(e);
1363
1310
  }
1364
- var Nn = typeof Symbol == "function" && Symbol.for, Cn = Nn ? Symbol.for("react.element") : 60103;
1365
- function Mn(e) {
1366
- return e.$$typeof === Cn;
1311
+ var _r = typeof Symbol == "function" && Symbol.for, vr = _r ? Symbol.for("react.element") : 60103;
1312
+ function xr(e) {
1313
+ return e.$$typeof === vr;
1367
1314
  }
1368
- function $n(e) {
1315
+ function Er(e) {
1369
1316
  return Array.isArray(e) ? [] : {};
1370
1317
  }
1371
- function ue(e, t) {
1372
- return t.clone !== !1 && t.isMergeableObject(e) ? Q($n(e), e, t) : e;
1318
+ function ae(e, t) {
1319
+ return t.clone !== !1 && t.isMergeableObject(e) ? q(Er(e), e, t) : e;
1373
1320
  }
1374
- function Rn(e, t, r) {
1375
- return e.concat(t).map(function(n) {
1376
- return ue(n, r);
1321
+ function Sr(e, t, n) {
1322
+ return e.concat(t).map(function(r) {
1323
+ return ae(r, n);
1377
1324
  });
1378
1325
  }
1379
- function Un(e, t) {
1326
+ function Tr(e, t) {
1380
1327
  if (!t.customMerge)
1381
- return Q;
1382
- var r = t.customMerge(e);
1383
- return typeof r == "function" ? r : Q;
1328
+ return q;
1329
+ var n = t.customMerge(e);
1330
+ return typeof n == "function" ? n : q;
1384
1331
  }
1385
- function Dn(e) {
1332
+ function wr(e) {
1386
1333
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1387
1334
  return Object.propertyIsEnumerable.call(e, t);
1388
1335
  }) : [];
1389
1336
  }
1390
- function Tt(e) {
1391
- return Object.keys(e).concat(Dn(e));
1337
+ function bt(e) {
1338
+ return Object.keys(e).concat(wr(e));
1392
1339
  }
1393
- function ir(e, t) {
1340
+ function qt(e, t) {
1394
1341
  try {
1395
1342
  return t in e;
1396
- } catch (r) {
1343
+ } catch {
1397
1344
  return !1;
1398
1345
  }
1399
1346
  }
1400
- function Gn(e, t) {
1401
- return ir(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1347
+ function Hr(e, t) {
1348
+ return qt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1402
1349
  }
1403
- function Fn(e, t, r) {
1404
- var n = {};
1405
- return r.isMergeableObject(e) && Tt(e).forEach(function(i) {
1406
- n[i] = ue(e[i], r);
1407
- }), Tt(t).forEach(function(i) {
1408
- Gn(e, i) || (ir(e, i) && r.isMergeableObject(t[i]) ? n[i] = Un(i, r)(e[i], t[i], r) : n[i] = ue(t[i], r));
1409
- }), n;
1410
- }
1411
- function Q(e, t, r) {
1412
- r = r || {}, r.arrayMerge = r.arrayMerge || Rn, r.isMergeableObject = r.isMergeableObject || On, r.cloneUnlessOtherwiseSpecified = ue;
1413
- var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1414
- return o ? n ? r.arrayMerge(e, t, r) : Fn(e, t, r) : ue(t, r);
1415
- }
1416
- Q.all = function(t, r) {
1350
+ function Br(e, t, n) {
1351
+ var r = {};
1352
+ return n.isMergeableObject(e) && bt(e).forEach(function(i) {
1353
+ r[i] = ae(e[i], n);
1354
+ }), bt(t).forEach(function(i) {
1355
+ Hr(e, i) || (qt(e, i) && n.isMergeableObject(t[i]) ? r[i] = Tr(i, n)(e[i], t[i], n) : r[i] = ae(t[i], n));
1356
+ }), r;
1357
+ }
1358
+ function q(e, t, n) {
1359
+ n = n || {}, n.arrayMerge = n.arrayMerge || Sr, n.isMergeableObject = n.isMergeableObject || br, n.cloneUnlessOtherwiseSpecified = ae;
1360
+ var r = Array.isArray(t), i = Array.isArray(e), o = r === i;
1361
+ return o ? r ? n.arrayMerge(e, t, n) : Br(e, t, n) : ae(t, n);
1362
+ }
1363
+ q.all = function(t, n) {
1417
1364
  if (!Array.isArray(t))
1418
1365
  throw new Error("first argument should be an array");
1419
- return t.reduce(function(n, i) {
1420
- return Q(n, i, r);
1366
+ return t.reduce(function(r, i) {
1367
+ return q(r, i, n);
1421
1368
  }, {});
1422
1369
  };
1423
- var jn = Q, kn = jn;
1424
- const Vn = /* @__PURE__ */ Pn(kn);
1425
- function Ue(e, t) {
1426
- var r = t && t.cache ? t.cache : Qn, n = t && t.serializer ? t.serializer : qn, i = t && t.strategy ? t.strategy : Wn;
1370
+ var Ar = q, Pr = Ar;
1371
+ const Or = /* @__PURE__ */ mr(Pr);
1372
+ function Me(e, t) {
1373
+ var n = t && t.cache ? t.cache : Rr, r = t && t.serializer ? t.serializer : Mr, i = t && t.strategy ? t.strategy : Lr;
1427
1374
  return i(e, {
1428
- cache: r,
1429
- serializer: n
1375
+ cache: n,
1376
+ serializer: r
1430
1377
  });
1431
1378
  }
1432
- function Xn(e) {
1379
+ function Ir(e) {
1433
1380
  return e == null || typeof e == "number" || typeof e == "boolean";
1434
1381
  }
1435
- function or(e, t, r, n) {
1436
- var i = Xn(n) ? n : r(n), o = t.get(i);
1437
- return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
1382
+ function Qt(e, t, n, r) {
1383
+ var i = Ir(r) ? r : n(r), o = t.get(i);
1384
+ return typeof o > "u" && (o = e.call(this, r), t.set(i, o)), o;
1438
1385
  }
1439
- function sr(e, t, r) {
1440
- var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1441
- return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
1386
+ function Jt(e, t, n) {
1387
+ var r = Array.prototype.slice.call(arguments, 3), i = n(r), o = t.get(i);
1388
+ return typeof o > "u" && (o = e.apply(this, r), t.set(i, o)), o;
1442
1389
  }
1443
- function st(e, t, r, n, i) {
1444
- return r.bind(t, e, n, i);
1390
+ function rt(e, t, n, r, i) {
1391
+ return n.bind(t, e, r, i);
1445
1392
  }
1446
- function Wn(e, t) {
1447
- var r = e.length === 1 ? or : sr;
1448
- return st(e, this, r, t.cache.create(), t.serializer);
1393
+ function Lr(e, t) {
1394
+ var n = e.length === 1 ? Qt : Jt;
1395
+ return rt(e, this, n, t.cache.create(), t.serializer);
1449
1396
  }
1450
- function zn(e, t) {
1451
- return st(e, this, sr, t.cache.create(), t.serializer);
1397
+ function Nr(e, t) {
1398
+ return rt(e, this, Jt, t.cache.create(), t.serializer);
1452
1399
  }
1453
- function Zn(e, t) {
1454
- return st(e, this, or, t.cache.create(), t.serializer);
1400
+ function Cr(e, t) {
1401
+ return rt(e, this, Qt, t.cache.create(), t.serializer);
1455
1402
  }
1456
- var qn = function() {
1403
+ var Mr = function() {
1457
1404
  return JSON.stringify(arguments);
1458
- };
1459
- function at() {
1460
- this.cache = /* @__PURE__ */ Object.create(null);
1461
- }
1462
- at.prototype.get = function(e) {
1463
- return this.cache[e];
1464
- };
1465
- at.prototype.set = function(e, t) {
1466
- this.cache[e] = t;
1467
- };
1468
- var Qn = {
1405
+ }, $r = (
1406
+ /** @class */
1407
+ function() {
1408
+ function e() {
1409
+ this.cache = /* @__PURE__ */ Object.create(null);
1410
+ }
1411
+ return e.prototype.get = function(t) {
1412
+ return this.cache[t];
1413
+ }, e.prototype.set = function(t, n) {
1414
+ this.cache[t] = n;
1415
+ }, e;
1416
+ }()
1417
+ ), Rr = {
1469
1418
  create: function() {
1470
- return new at();
1419
+ return new $r();
1471
1420
  }
1472
- }, De = {
1473
- variadic: zn,
1474
- monadic: Zn
1421
+ }, $e = {
1422
+ variadic: Nr,
1423
+ monadic: Cr
1475
1424
  }, b;
1476
1425
  (function(e) {
1477
1426
  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";
1478
1427
  })(b || (b = {}));
1479
- var _;
1428
+ var v;
1480
1429
  (function(e) {
1481
1430
  e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
1482
- })(_ || (_ = {}));
1483
- var J;
1431
+ })(v || (v = {}));
1432
+ var Q;
1484
1433
  (function(e) {
1485
1434
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1486
- })(J || (J = {}));
1487
- function wt(e) {
1488
- return e.type === _.literal;
1435
+ })(Q || (Q = {}));
1436
+ function gt(e) {
1437
+ return e.type === v.literal;
1489
1438
  }
1490
- function Jn(e) {
1491
- return e.type === _.argument;
1439
+ function Ur(e) {
1440
+ return e.type === v.argument;
1492
1441
  }
1493
- function ar(e) {
1494
- return e.type === _.number;
1442
+ function Yt(e) {
1443
+ return e.type === v.number;
1495
1444
  }
1496
- function ur(e) {
1497
- return e.type === _.date;
1445
+ function Kt(e) {
1446
+ return e.type === v.date;
1498
1447
  }
1499
- function lr(e) {
1500
- return e.type === _.time;
1448
+ function en(e) {
1449
+ return e.type === v.time;
1501
1450
  }
1502
- function hr(e) {
1503
- return e.type === _.select;
1451
+ function tn(e) {
1452
+ return e.type === v.select;
1504
1453
  }
1505
- function cr(e) {
1506
- return e.type === _.plural;
1454
+ function nn(e) {
1455
+ return e.type === v.plural;
1507
1456
  }
1508
- function Yn(e) {
1509
- return e.type === _.pound;
1457
+ function Dr(e) {
1458
+ return e.type === v.pound;
1510
1459
  }
1511
- function fr(e) {
1512
- return e.type === _.tag;
1460
+ function rn(e) {
1461
+ return e.type === v.tag;
1513
1462
  }
1514
- function pr(e) {
1515
- return !!(e && typeof e == "object" && e.type === J.number);
1463
+ function on(e) {
1464
+ return !!(e && typeof e == "object" && e.type === Q.number);
1516
1465
  }
1517
- function Qe(e) {
1518
- return !!(e && typeof e == "object" && e.type === J.dateTime);
1466
+ function ze(e) {
1467
+ return !!(e && typeof e == "object" && e.type === Q.dateTime);
1519
1468
  }
1520
- var dr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Kn = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1521
- function ei(e) {
1469
+ var sn = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Gr = /(?:[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;
1470
+ function Fr(e) {
1522
1471
  var t = {};
1523
- return e.replace(Kn, function(r) {
1524
- var n = r.length;
1525
- switch (r[0]) {
1472
+ return e.replace(Gr, function(n) {
1473
+ var r = n.length;
1474
+ switch (n[0]) {
1526
1475
  case "G":
1527
- t.era = n === 4 ? "long" : n === 5 ? "narrow" : "short";
1476
+ t.era = r === 4 ? "long" : r === 5 ? "narrow" : "short";
1528
1477
  break;
1529
1478
  case "y":
1530
- t.year = n === 2 ? "2-digit" : "numeric";
1479
+ t.year = r === 2 ? "2-digit" : "numeric";
1531
1480
  break;
1532
1481
  case "Y":
1533
1482
  case "u":
@@ -1539,30 +1488,30 @@ function ei(e) {
1539
1488
  throw new RangeError("`q/Q` (quarter) patterns are not supported");
1540
1489
  case "M":
1541
1490
  case "L":
1542
- t.month = ["numeric", "2-digit", "short", "long", "narrow"][n - 1];
1491
+ t.month = ["numeric", "2-digit", "short", "long", "narrow"][r - 1];
1543
1492
  break;
1544
1493
  case "w":
1545
1494
  case "W":
1546
1495
  throw new RangeError("`w/W` (week) patterns are not supported");
1547
1496
  case "d":
1548
- t.day = ["numeric", "2-digit"][n - 1];
1497
+ t.day = ["numeric", "2-digit"][r - 1];
1549
1498
  break;
1550
1499
  case "D":
1551
1500
  case "F":
1552
1501
  case "g":
1553
1502
  throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");
1554
1503
  case "E":
1555
- t.weekday = n === 4 ? "long" : n === 5 ? "narrow" : "short";
1504
+ t.weekday = r === 4 ? "long" : r === 5 ? "narrow" : "short";
1556
1505
  break;
1557
1506
  case "e":
1558
- if (n < 4)
1507
+ if (r < 4)
1559
1508
  throw new RangeError("`e..eee` (weekday) patterns are not supported");
1560
- t.weekday = ["short", "long", "narrow", "short"][n - 4];
1509
+ t.weekday = ["short", "long", "narrow", "short"][r - 4];
1561
1510
  break;
1562
1511
  case "c":
1563
- if (n < 4)
1512
+ if (r < 4)
1564
1513
  throw new RangeError("`c..ccc` (weekday) patterns are not supported");
1565
- t.weekday = ["short", "long", "narrow", "short"][n - 4];
1514
+ t.weekday = ["short", "long", "narrow", "short"][r - 4];
1566
1515
  break;
1567
1516
  case "a":
1568
1517
  t.hour12 = !0;
@@ -1571,32 +1520,32 @@ function ei(e) {
1571
1520
  case "B":
1572
1521
  throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");
1573
1522
  case "h":
1574
- t.hourCycle = "h12", t.hour = ["numeric", "2-digit"][n - 1];
1523
+ t.hourCycle = "h12", t.hour = ["numeric", "2-digit"][r - 1];
1575
1524
  break;
1576
1525
  case "H":
1577
- t.hourCycle = "h23", t.hour = ["numeric", "2-digit"][n - 1];
1526
+ t.hourCycle = "h23", t.hour = ["numeric", "2-digit"][r - 1];
1578
1527
  break;
1579
1528
  case "K":
1580
- t.hourCycle = "h11", t.hour = ["numeric", "2-digit"][n - 1];
1529
+ t.hourCycle = "h11", t.hour = ["numeric", "2-digit"][r - 1];
1581
1530
  break;
1582
1531
  case "k":
1583
- t.hourCycle = "h24", t.hour = ["numeric", "2-digit"][n - 1];
1532
+ t.hourCycle = "h24", t.hour = ["numeric", "2-digit"][r - 1];
1584
1533
  break;
1585
1534
  case "j":
1586
1535
  case "J":
1587
1536
  case "C":
1588
1537
  throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");
1589
1538
  case "m":
1590
- t.minute = ["numeric", "2-digit"][n - 1];
1539
+ t.minute = ["numeric", "2-digit"][r - 1];
1591
1540
  break;
1592
1541
  case "s":
1593
- t.second = ["numeric", "2-digit"][n - 1];
1542
+ t.second = ["numeric", "2-digit"][r - 1];
1594
1543
  break;
1595
1544
  case "S":
1596
1545
  case "A":
1597
1546
  throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");
1598
1547
  case "z":
1599
- t.timeZoneName = n < 4 ? "short" : "long";
1548
+ t.timeZoneName = r < 4 ? "short" : "long";
1600
1549
  break;
1601
1550
  case "Z":
1602
1551
  case "O":
@@ -1609,36 +1558,36 @@ function ei(e) {
1609
1558
  return "";
1610
1559
  }), t;
1611
1560
  }
1612
- var ti = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1613
- function ri(e) {
1561
+ var jr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1562
+ function kr(e) {
1614
1563
  if (e.length === 0)
1615
1564
  throw new Error("Number skeleton cannot be empty");
1616
- for (var t = e.split(ti).filter(function(f) {
1617
- return f.length > 0;
1618
- }), r = [], n = 0, i = t; n < i.length; n++) {
1619
- var o = i[n], s = o.split("/");
1620
- if (s.length === 0)
1565
+ for (var t = e.split(jr).filter(function(c) {
1566
+ return c.length > 0;
1567
+ }), n = [], r = 0, i = t; r < i.length; r++) {
1568
+ var o = i[r], a = o.split("/");
1569
+ if (a.length === 0)
1621
1570
  throw new Error("Invalid number skeleton");
1622
- for (var a = s[0], u = s.slice(1), l = 0, h = u; l < h.length; l++) {
1623
- var c = h[l];
1624
- if (c.length === 0)
1571
+ for (var s = a[0], u = a.slice(1), l = 0, h = u; l < h.length; l++) {
1572
+ var f = h[l];
1573
+ if (f.length === 0)
1625
1574
  throw new Error("Invalid number skeleton");
1626
1575
  }
1627
- r.push({ stem: a, options: u });
1576
+ n.push({ stem: s, options: u });
1628
1577
  }
1629
- return r;
1578
+ return n;
1630
1579
  }
1631
- function ni(e) {
1580
+ function Vr(e) {
1632
1581
  return e.replace(/^(.*?)-/, "");
1633
1582
  }
1634
- var Ht = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, mr = /^(@+)?(\+|#+)?[rs]?$/g, ii = /(\*)(0+)|(#+)(0+)|(0+)/g, br = /^(0+)$/;
1635
- function Bt(e) {
1583
+ var yt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, an = /^(@+)?(\+|#+)?[rs]?$/g, Xr = /(\*)(0+)|(#+)(0+)|(0+)/g, un = /^(0+)$/;
1584
+ function _t(e) {
1636
1585
  var t = {};
1637
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(mr, function(r, n, i) {
1638
- 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)), "";
1586
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(an, function(n, r, i) {
1587
+ return typeof i != "string" ? (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length) : i === "+" ? t.minimumSignificantDigits = r.length : r[0] === "#" ? t.maximumSignificantDigits = r.length : (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length + (typeof i == "string" ? i.length : 0)), "";
1639
1588
  }), t;
1640
1589
  }
1641
- function gr(e) {
1590
+ function ln(e) {
1642
1591
  switch (e) {
1643
1592
  case "sign-auto":
1644
1593
  return {
@@ -1678,27 +1627,27 @@ function gr(e) {
1678
1627
  };
1679
1628
  }
1680
1629
  }
1681
- function oi(e) {
1630
+ function Wr(e) {
1682
1631
  var t;
1683
1632
  if (e[0] === "E" && e[1] === "E" ? (t = {
1684
1633
  notation: "engineering"
1685
1634
  }, e = e.slice(2)) : e[0] === "E" && (t = {
1686
1635
  notation: "scientific"
1687
1636
  }, e = e.slice(1)), t) {
1688
- var r = e.slice(0, 2);
1689
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !br.test(e))
1637
+ var n = e.slice(0, 2);
1638
+ if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !un.test(e))
1690
1639
  throw new Error("Malformed concise eng/scientific notation");
1691
1640
  t.minimumIntegerDigits = e.length;
1692
1641
  }
1693
1642
  return t;
1694
1643
  }
1695
- function At(e) {
1696
- var t = {}, r = gr(e);
1697
- return r || t;
1644
+ function vt(e) {
1645
+ var t = {}, n = ln(e);
1646
+ return n || t;
1698
1647
  }
1699
- function si(e) {
1700
- for (var t = {}, r = 0, n = e; r < n.length; r++) {
1701
- var i = n[r];
1648
+ function zr(e) {
1649
+ for (var t = {}, n = 0, r = e; n < r.length; n++) {
1650
+ var i = r[n];
1702
1651
  switch (i.stem) {
1703
1652
  case "percent":
1704
1653
  case "%":
@@ -1720,7 +1669,7 @@ function si(e) {
1720
1669
  continue;
1721
1670
  case "measure-unit":
1722
1671
  case "unit":
1723
- t.style = "unit", t.unit = ni(i.options[0]);
1672
+ t.style = "unit", t.unit = Vr(i.options[0]);
1724
1673
  continue;
1725
1674
  case "compact-short":
1726
1675
  case "K":
@@ -1731,13 +1680,13 @@ function si(e) {
1731
1680
  t.notation = "compact", t.compactDisplay = "long";
1732
1681
  continue;
1733
1682
  case "scientific":
1734
- t = v(v(v({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
1735
- return v(v({}, u), At(l));
1683
+ t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
1684
+ return _(_({}, u), vt(l));
1736
1685
  }, {}));
1737
1686
  continue;
1738
1687
  case "engineering":
1739
- t = v(v(v({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
1740
- return v(v({}, u), At(l));
1688
+ t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
1689
+ return _(_({}, u), vt(l));
1741
1690
  }, {}));
1742
1691
  continue;
1743
1692
  case "notation-simple":
@@ -1782,45 +1731,45 @@ function si(e) {
1782
1731
  case "integer-width":
1783
1732
  if (i.options.length > 1)
1784
1733
  throw new RangeError("integer-width stems only accept a single optional option");
1785
- i.options[0].replace(ii, function(u, l, h, c, f, p) {
1734
+ i.options[0].replace(Xr, function(u, l, h, f, c, d) {
1786
1735
  if (l)
1787
1736
  t.minimumIntegerDigits = h.length;
1788
1737
  else {
1789
- if (c && f)
1738
+ if (f && c)
1790
1739
  throw new Error("We currently do not support maximum integer digits");
1791
- if (p)
1740
+ if (d)
1792
1741
  throw new Error("We currently do not support exact integer digits");
1793
1742
  }
1794
1743
  return "";
1795
1744
  });
1796
1745
  continue;
1797
1746
  }
1798
- if (br.test(i.stem)) {
1747
+ if (un.test(i.stem)) {
1799
1748
  t.minimumIntegerDigits = i.stem.length;
1800
1749
  continue;
1801
1750
  }
1802
- if (Ht.test(i.stem)) {
1751
+ if (yt.test(i.stem)) {
1803
1752
  if (i.options.length > 1)
1804
1753
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1805
- i.stem.replace(Ht, function(u, l, h, c, f, p) {
1806
- return h === "*" ? t.minimumFractionDigits = l.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1754
+ i.stem.replace(yt, function(u, l, h, f, c, d) {
1755
+ return h === "*" ? t.minimumFractionDigits = l.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && d ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + d.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1807
1756
  });
1808
1757
  var o = i.options[0];
1809
- o === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = v(v({}, t), Bt(o)));
1758
+ o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), _t(o)));
1810
1759
  continue;
1811
1760
  }
1812
- if (mr.test(i.stem)) {
1813
- t = v(v({}, t), Bt(i.stem));
1761
+ if (an.test(i.stem)) {
1762
+ t = _(_({}, t), _t(i.stem));
1814
1763
  continue;
1815
1764
  }
1816
- var s = gr(i.stem);
1817
- s && (t = v(v({}, t), s));
1818
- var a = oi(i.stem);
1819
- a && (t = v(v({}, t), a));
1765
+ var a = ln(i.stem);
1766
+ a && (t = _(_({}, t), a));
1767
+ var s = Wr(i.stem);
1768
+ s && (t = _(_({}, t), s));
1820
1769
  }
1821
1770
  return t;
1822
1771
  }
1823
- var ge = {
1772
+ var be = {
1824
1773
  "001": [
1825
1774
  "H",
1826
1775
  "h"
@@ -3235,22 +3184,22 @@ var ge = {
3235
3184
  "h"
3236
3185
  ]
3237
3186
  };
3238
- function ai(e, t) {
3239
- for (var r = "", n = 0; n < e.length; n++) {
3240
- var i = e.charAt(n);
3187
+ function Zr(e, t) {
3188
+ for (var n = "", r = 0; r < e.length; r++) {
3189
+ var i = e.charAt(r);
3241
3190
  if (i === "j") {
3242
- for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3243
- o++, n++;
3244
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = ui(t);
3245
- for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
3246
- r += u;
3247
- for (; s-- > 0; )
3248
- r = l + r;
3249
- } else i === "J" ? r += "H" : r += i;
3191
+ for (var o = 0; r + 1 < e.length && e.charAt(r + 1) === i; )
3192
+ o++, r++;
3193
+ var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = qr(t);
3194
+ for ((l == "H" || l == "k") && (s = 0); s-- > 0; )
3195
+ n += u;
3196
+ for (; a-- > 0; )
3197
+ n = l + n;
3198
+ } else i === "J" ? n += "H" : n += i;
3250
3199
  }
3251
- return r;
3200
+ return n;
3252
3201
  }
3253
- function ui(e) {
3202
+ function qr(e) {
3254
3203
  var t = e.hourCycle;
3255
3204
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3256
3205
  e.hourCycles && // @ts-ignore
@@ -3267,73 +3216,73 @@ function ui(e) {
3267
3216
  default:
3268
3217
  throw new Error("Invalid hourCycle");
3269
3218
  }
3270
- var r = e.language, n;
3271
- r !== "root" && (n = e.maximize().region);
3272
- var i = ge[n || ""] || ge[r || ""] || ge["".concat(r, "-001")] || ge["001"];
3219
+ var n = e.language, r;
3220
+ n !== "root" && (r = e.maximize().region);
3221
+ var i = be[r || ""] || be[n || ""] || be["".concat(n, "-001")] || be["001"];
3273
3222
  return i[0];
3274
3223
  }
3275
- var Ge, li = new RegExp("^".concat(dr.source, "*")), hi = new RegExp("".concat(dr.source, "*$"));
3224
+ var Re, Qr = new RegExp("^".concat(sn.source, "*")), Jr = new RegExp("".concat(sn.source, "*$"));
3276
3225
  function g(e, t) {
3277
3226
  return { start: e, end: t };
3278
3227
  }
3279
- var ci = !!String.prototype.startsWith && "_a".startsWith("a", 1), fi = !!String.fromCodePoint, pi = !!Object.fromEntries, di = !!String.prototype.codePointAt, mi = !!String.prototype.trimStart, bi = !!String.prototype.trimEnd, gi = !!Number.isSafeInteger, yi = gi ? Number.isSafeInteger : function(e) {
3228
+ var Yr = !!String.prototype.startsWith && "_a".startsWith("a", 1), Kr = !!String.fromCodePoint, ei = !!Object.fromEntries, ti = !!String.prototype.codePointAt, ni = !!String.prototype.trimStart, ri = !!String.prototype.trimEnd, ii = !!Number.isSafeInteger, oi = ii ? Number.isSafeInteger : function(e) {
3280
3229
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3281
- }, Je = !0;
3230
+ }, Ze = !0;
3282
3231
  try {
3283
- var vi = vr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3284
- Je = ((Ge = vi.exec("a")) === null || Ge === void 0 ? void 0 : Ge[0]) === "a";
3285
- } catch (e) {
3286
- Je = !1;
3232
+ var si = fn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3233
+ Ze = ((Re = si.exec("a")) === null || Re === void 0 ? void 0 : Re[0]) === "a";
3234
+ } catch {
3235
+ Ze = !1;
3287
3236
  }
3288
- var Pt = ci ? (
3237
+ var xt = Yr ? (
3289
3238
  // Native
3290
- function(t, r, n) {
3291
- return t.startsWith(r, n);
3239
+ function(t, n, r) {
3240
+ return t.startsWith(n, r);
3292
3241
  }
3293
3242
  ) : (
3294
3243
  // For IE11
3295
- function(t, r, n) {
3296
- return t.slice(n, n + r.length) === r;
3244
+ function(t, n, r) {
3245
+ return t.slice(r, r + n.length) === n;
3297
3246
  }
3298
- ), Ye = fi ? String.fromCodePoint : (
3247
+ ), qe = Kr ? String.fromCodePoint : (
3299
3248
  // IE11
3300
3249
  function() {
3301
- for (var t = [], r = 0; r < arguments.length; r++)
3302
- t[r] = arguments[r];
3303
- for (var n = "", i = t.length, o = 0, s; i > o; ) {
3304
- if (s = t[o++], s > 1114111)
3305
- throw RangeError(s + " is not a valid code point");
3306
- n += s < 65536 ? String.fromCharCode(s) : String.fromCharCode(((s -= 65536) >> 10) + 55296, s % 1024 + 56320);
3250
+ for (var t = [], n = 0; n < arguments.length; n++)
3251
+ t[n] = arguments[n];
3252
+ for (var r = "", i = t.length, o = 0, a; i > o; ) {
3253
+ if (a = t[o++], a > 1114111)
3254
+ throw RangeError(a + " is not a valid code point");
3255
+ r += a < 65536 ? String.fromCharCode(a) : String.fromCharCode(((a -= 65536) >> 10) + 55296, a % 1024 + 56320);
3307
3256
  }
3308
- return n;
3257
+ return r;
3309
3258
  }
3310
- ), Ot = (
3259
+ ), Et = (
3311
3260
  // native
3312
- pi ? Object.fromEntries : (
3261
+ ei ? Object.fromEntries : (
3313
3262
  // Ponyfill
3314
3263
  function(t) {
3315
- for (var r = {}, n = 0, i = t; n < i.length; n++) {
3316
- var o = i[n], s = o[0], a = o[1];
3317
- r[s] = a;
3264
+ for (var n = {}, r = 0, i = t; r < i.length; r++) {
3265
+ var o = i[r], a = o[0], s = o[1];
3266
+ n[a] = s;
3318
3267
  }
3319
- return r;
3268
+ return n;
3320
3269
  }
3321
3270
  )
3322
- ), yr = di ? (
3271
+ ), hn = ti ? (
3323
3272
  // Native
3324
- function(t, r) {
3325
- return t.codePointAt(r);
3273
+ function(t, n) {
3274
+ return t.codePointAt(n);
3326
3275
  }
3327
3276
  ) : (
3328
3277
  // IE 11
3329
- function(t, r) {
3330
- var n = t.length;
3331
- if (!(r < 0 || r >= n)) {
3332
- var i = t.charCodeAt(r), o;
3333
- return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3278
+ function(t, n) {
3279
+ var r = t.length;
3280
+ if (!(n < 0 || n >= r)) {
3281
+ var i = t.charCodeAt(n), o;
3282
+ return i < 55296 || i > 56319 || n + 1 === r || (o = t.charCodeAt(n + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3334
3283
  }
3335
3284
  }
3336
- ), _i = mi ? (
3285
+ ), ai = ni ? (
3337
3286
  // Native
3338
3287
  function(t) {
3339
3288
  return t.trimStart();
@@ -3341,9 +3290,9 @@ var Pt = ci ? (
3341
3290
  ) : (
3342
3291
  // Ponyfill
3343
3292
  function(t) {
3344
- return t.replace(li, "");
3293
+ return t.replace(Qr, "");
3345
3294
  }
3346
- ), xi = bi ? (
3295
+ ), ui = ri ? (
3347
3296
  // Native
3348
3297
  function(t) {
3349
3298
  return t.trimEnd();
@@ -3351,143 +3300,143 @@ var Pt = ci ? (
3351
3300
  ) : (
3352
3301
  // Ponyfill
3353
3302
  function(t) {
3354
- return t.replace(hi, "");
3303
+ return t.replace(Jr, "");
3355
3304
  }
3356
3305
  );
3357
- function vr(e, t) {
3306
+ function fn(e, t) {
3358
3307
  return new RegExp(e, t);
3359
3308
  }
3360
- var Ke;
3361
- if (Je) {
3362
- var It = vr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3363
- Ke = function(t, r) {
3364
- var n;
3365
- It.lastIndex = r;
3366
- var i = It.exec(t);
3367
- return (n = i[1]) !== null && n !== void 0 ? n : "";
3309
+ var Qe;
3310
+ if (Ze) {
3311
+ var St = fn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3312
+ Qe = function(t, n) {
3313
+ var r;
3314
+ St.lastIndex = n;
3315
+ var i = St.exec(t);
3316
+ return (r = i[1]) !== null && r !== void 0 ? r : "";
3368
3317
  };
3369
3318
  } else
3370
- Ke = function(t, r) {
3371
- for (var n = []; ; ) {
3372
- var i = yr(t, r);
3373
- if (i === void 0 || _r(i) || wi(i))
3319
+ Qe = function(t, n) {
3320
+ for (var r = []; ; ) {
3321
+ var i = hn(t, n);
3322
+ if (i === void 0 || cn(i) || ci(i))
3374
3323
  break;
3375
- n.push(i), r += i >= 65536 ? 2 : 1;
3324
+ r.push(i), n += i >= 65536 ? 2 : 1;
3376
3325
  }
3377
- return Ye.apply(void 0, n);
3326
+ return qe.apply(void 0, r);
3378
3327
  };
3379
- var Ei = (
3328
+ var li = (
3380
3329
  /** @class */
3381
3330
  function() {
3382
- function e(t, r) {
3383
- r === void 0 && (r = {}), this.message = t, this.position = { offset: 0, line: 1, column: 1 }, this.ignoreTag = !!r.ignoreTag, this.locale = r.locale, this.requiresOtherClause = !!r.requiresOtherClause, this.shouldParseSkeletons = !!r.shouldParseSkeletons;
3331
+ function e(t, n) {
3332
+ n === void 0 && (n = {}), this.message = t, this.position = { offset: 0, line: 1, column: 1 }, this.ignoreTag = !!n.ignoreTag, this.locale = n.locale, this.requiresOtherClause = !!n.requiresOtherClause, this.shouldParseSkeletons = !!n.shouldParseSkeletons;
3384
3333
  }
3385
3334
  return e.prototype.parse = function() {
3386
3335
  if (this.offset() !== 0)
3387
3336
  throw Error("parser can only be used once");
3388
3337
  return this.parseMessage(0, "", !1);
3389
- }, e.prototype.parseMessage = function(t, r, n) {
3338
+ }, e.prototype.parseMessage = function(t, n, r) {
3390
3339
  for (var i = []; !this.isEOF(); ) {
3391
3340
  var o = this.char();
3392
3341
  if (o === 123) {
3393
- var s = this.parseArgument(t, n);
3394
- if (s.err)
3395
- return s;
3396
- i.push(s.val);
3342
+ var a = this.parseArgument(t, r);
3343
+ if (a.err)
3344
+ return a;
3345
+ i.push(a.val);
3397
3346
  } else {
3398
3347
  if (o === 125 && t > 0)
3399
3348
  break;
3400
- if (o === 35 && (r === "plural" || r === "selectordinal")) {
3401
- var a = this.clonePosition();
3349
+ if (o === 35 && (n === "plural" || n === "selectordinal")) {
3350
+ var s = this.clonePosition();
3402
3351
  this.bump(), i.push({
3403
- type: _.pound,
3404
- location: g(a, this.clonePosition())
3352
+ type: v.pound,
3353
+ location: g(s, this.clonePosition())
3405
3354
  });
3406
3355
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3407
- if (n)
3356
+ if (r)
3408
3357
  break;
3409
3358
  return this.error(b.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
3410
- } else if (o === 60 && !this.ignoreTag && et(this.peek() || 0)) {
3411
- var s = this.parseTag(t, r);
3412
- if (s.err)
3413
- return s;
3414
- i.push(s.val);
3359
+ } else if (o === 60 && !this.ignoreTag && Je(this.peek() || 0)) {
3360
+ var a = this.parseTag(t, n);
3361
+ if (a.err)
3362
+ return a;
3363
+ i.push(a.val);
3415
3364
  } else {
3416
- var s = this.parseLiteral(t, r);
3417
- if (s.err)
3418
- return s;
3419
- i.push(s.val);
3365
+ var a = this.parseLiteral(t, n);
3366
+ if (a.err)
3367
+ return a;
3368
+ i.push(a.val);
3420
3369
  }
3421
3370
  }
3422
3371
  }
3423
3372
  return { val: i, err: null };
3424
- }, e.prototype.parseTag = function(t, r) {
3425
- var n = this.clonePosition();
3373
+ }, e.prototype.parseTag = function(t, n) {
3374
+ var r = this.clonePosition();
3426
3375
  this.bump();
3427
3376
  var i = this.parseTagName();
3428
3377
  if (this.bumpSpace(), this.bumpIf("/>"))
3429
3378
  return {
3430
3379
  val: {
3431
- type: _.literal,
3380
+ type: v.literal,
3432
3381
  value: "<".concat(i, "/>"),
3433
- location: g(n, this.clonePosition())
3382
+ location: g(r, this.clonePosition())
3434
3383
  },
3435
3384
  err: null
3436
3385
  };
3437
3386
  if (this.bumpIf(">")) {
3438
- var o = this.parseMessage(t + 1, r, !0);
3387
+ var o = this.parseMessage(t + 1, n, !0);
3439
3388
  if (o.err)
3440
3389
  return o;
3441
- var s = o.val, a = this.clonePosition();
3390
+ var a = o.val, s = this.clonePosition();
3442
3391
  if (this.bumpIf("</")) {
3443
- if (this.isEOF() || !et(this.char()))
3444
- return this.error(b.INVALID_TAG, g(a, this.clonePosition()));
3392
+ if (this.isEOF() || !Je(this.char()))
3393
+ return this.error(b.INVALID_TAG, g(s, this.clonePosition()));
3445
3394
  var u = this.clonePosition(), l = this.parseTagName();
3446
3395
  return i !== l ? this.error(b.UNMATCHED_CLOSING_TAG, g(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3447
3396
  val: {
3448
- type: _.tag,
3397
+ type: v.tag,
3449
3398
  value: i,
3450
- children: s,
3451
- location: g(n, this.clonePosition())
3399
+ children: a,
3400
+ location: g(r, this.clonePosition())
3452
3401
  },
3453
3402
  err: null
3454
- } : this.error(b.INVALID_TAG, g(a, this.clonePosition())));
3403
+ } : this.error(b.INVALID_TAG, g(s, this.clonePosition())));
3455
3404
  } else
3456
- return this.error(b.UNCLOSED_TAG, g(n, this.clonePosition()));
3405
+ return this.error(b.UNCLOSED_TAG, g(r, this.clonePosition()));
3457
3406
  } else
3458
- return this.error(b.INVALID_TAG, g(n, this.clonePosition()));
3407
+ return this.error(b.INVALID_TAG, g(r, this.clonePosition()));
3459
3408
  }, e.prototype.parseTagName = function() {
3460
3409
  var t = this.offset();
3461
- for (this.bump(); !this.isEOF() && Ti(this.char()); )
3410
+ for (this.bump(); !this.isEOF() && fi(this.char()); )
3462
3411
  this.bump();
3463
3412
  return this.message.slice(t, this.offset());
3464
- }, e.prototype.parseLiteral = function(t, r) {
3465
- for (var n = this.clonePosition(), i = ""; ; ) {
3466
- var o = this.tryParseQuote(r);
3413
+ }, e.prototype.parseLiteral = function(t, n) {
3414
+ for (var r = this.clonePosition(), i = ""; ; ) {
3415
+ var o = this.tryParseQuote(n);
3467
3416
  if (o) {
3468
3417
  i += o;
3469
3418
  continue;
3470
3419
  }
3471
- var s = this.tryParseUnquoted(t, r);
3472
- if (s) {
3473
- i += s;
3474
- continue;
3475
- }
3476
- var a = this.tryParseLeftAngleBracket();
3420
+ var a = this.tryParseUnquoted(t, n);
3477
3421
  if (a) {
3478
3422
  i += a;
3479
3423
  continue;
3480
3424
  }
3425
+ var s = this.tryParseLeftAngleBracket();
3426
+ if (s) {
3427
+ i += s;
3428
+ continue;
3429
+ }
3481
3430
  break;
3482
3431
  }
3483
- var u = g(n, this.clonePosition());
3432
+ var u = g(r, this.clonePosition());
3484
3433
  return {
3485
- val: { type: _.literal, value: i, location: u },
3434
+ val: { type: v.literal, value: i, location: u },
3486
3435
  err: null
3487
3436
  };
3488
3437
  }, e.prototype.tryParseLeftAngleBracket = function() {
3489
3438
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3490
- !Si(this.peek() || 0)) ? (this.bump(), "<") : null;
3439
+ !hi(this.peek() || 0)) ? (this.bump(), "<") : null;
3491
3440
  }, e.prototype.tryParseQuote = function(t) {
3492
3441
  if (this.isEOF() || this.char() !== 39)
3493
3442
  return null;
@@ -3507,63 +3456,63 @@ var Ei = (
3507
3456
  return null;
3508
3457
  }
3509
3458
  this.bump();
3510
- var r = [this.char()];
3459
+ var n = [this.char()];
3511
3460
  for (this.bump(); !this.isEOF(); ) {
3512
- var n = this.char();
3513
- if (n === 39)
3461
+ var r = this.char();
3462
+ if (r === 39)
3514
3463
  if (this.peek() === 39)
3515
- r.push(39), this.bump();
3464
+ n.push(39), this.bump();
3516
3465
  else {
3517
3466
  this.bump();
3518
3467
  break;
3519
3468
  }
3520
3469
  else
3521
- r.push(n);
3470
+ n.push(r);
3522
3471
  this.bump();
3523
3472
  }
3524
- return Ye.apply(void 0, r);
3525
- }, e.prototype.tryParseUnquoted = function(t, r) {
3473
+ return qe.apply(void 0, n);
3474
+ }, e.prototype.tryParseUnquoted = function(t, n) {
3526
3475
  if (this.isEOF())
3527
3476
  return null;
3528
- var n = this.char();
3529
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ye(n));
3530
- }, e.prototype.parseArgument = function(t, r) {
3531
- var n = this.clonePosition();
3477
+ var r = this.char();
3478
+ return r === 60 || r === 123 || r === 35 && (n === "plural" || n === "selectordinal") || r === 125 && t > 0 ? null : (this.bump(), qe(r));
3479
+ }, e.prototype.parseArgument = function(t, n) {
3480
+ var r = this.clonePosition();
3532
3481
  if (this.bump(), this.bumpSpace(), this.isEOF())
3533
- return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition()));
3482
+ return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(r, this.clonePosition()));
3534
3483
  if (this.char() === 125)
3535
- return this.bump(), this.error(b.EMPTY_ARGUMENT, g(n, this.clonePosition()));
3484
+ return this.bump(), this.error(b.EMPTY_ARGUMENT, g(r, this.clonePosition()));
3536
3485
  var i = this.parseIdentifierIfPossible().value;
3537
3486
  if (!i)
3538
- return this.error(b.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
3487
+ return this.error(b.MALFORMED_ARGUMENT, g(r, this.clonePosition()));
3539
3488
  if (this.bumpSpace(), this.isEOF())
3540
- return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition()));
3489
+ return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(r, this.clonePosition()));
3541
3490
  switch (this.char()) {
3542
3491
  case 125:
3543
3492
  return this.bump(), {
3544
3493
  val: {
3545
- type: _.argument,
3494
+ type: v.argument,
3546
3495
  // value does not include the opening and closing braces.
3547
3496
  value: i,
3548
- location: g(n, this.clonePosition())
3497
+ location: g(r, this.clonePosition())
3549
3498
  },
3550
3499
  err: null
3551
3500
  };
3552
3501
  case 44:
3553
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3502
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(r, this.clonePosition())) : this.parseArgumentOptions(t, n, i, r);
3554
3503
  default:
3555
- return this.error(b.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
3504
+ return this.error(b.MALFORMED_ARGUMENT, g(r, this.clonePosition()));
3556
3505
  }
3557
3506
  }, e.prototype.parseIdentifierIfPossible = function() {
3558
- var t = this.clonePosition(), r = this.offset(), n = Ke(this.message, r), i = r + n.length;
3507
+ var t = this.clonePosition(), n = this.offset(), r = Qe(this.message, n), i = n + r.length;
3559
3508
  this.bumpTo(i);
3560
- var o = this.clonePosition(), s = g(t, o);
3561
- return { value: n, location: s };
3562
- }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3563
- var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, u = this.clonePosition();
3564
- switch (a) {
3509
+ var o = this.clonePosition(), a = g(t, o);
3510
+ return { value: r, location: a };
3511
+ }, e.prototype.parseArgumentOptions = function(t, n, r, i) {
3512
+ var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, u = this.clonePosition();
3513
+ switch (s) {
3565
3514
  case "":
3566
- return this.error(b.EXPECT_ARGUMENT_TYPE, g(s, u));
3515
+ return this.error(b.EXPECT_ARGUMENT_TYPE, g(a, u));
3567
3516
  case "number":
3568
3517
  case "date":
3569
3518
  case "time": {
@@ -3571,50 +3520,50 @@ var Ei = (
3571
3520
  var l = null;
3572
3521
  if (this.bumpIf(",")) {
3573
3522
  this.bumpSpace();
3574
- var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3575
- if (c.err)
3576
- return c;
3577
- var f = xi(c.val);
3578
- if (f.length === 0)
3523
+ var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3524
+ if (f.err)
3525
+ return f;
3526
+ var c = ui(f.val);
3527
+ if (c.length === 0)
3579
3528
  return this.error(b.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
3580
- var p = g(h, this.clonePosition());
3581
- l = { style: f, styleLocation: p };
3529
+ var d = g(h, this.clonePosition());
3530
+ l = { style: c, styleLocation: d };
3582
3531
  }
3583
- var d = this.tryParseArgumentClose(i);
3584
- if (d.err)
3585
- return d;
3532
+ var p = this.tryParseArgumentClose(i);
3533
+ if (p.err)
3534
+ return p;
3586
3535
  var m = g(i, this.clonePosition());
3587
- if (l && Pt(l == null ? void 0 : l.style, "::", 0)) {
3588
- var x = _i(l.style.slice(2));
3589
- if (a === "number") {
3590
- var c = this.parseNumberSkeletonFromString(x, l.styleLocation);
3591
- return c.err ? c : {
3592
- val: { type: _.number, value: n, location: m, style: c.val },
3536
+ if (l && xt(l?.style, "::", 0)) {
3537
+ var x = ai(l.style.slice(2));
3538
+ if (s === "number") {
3539
+ var f = this.parseNumberSkeletonFromString(x, l.styleLocation);
3540
+ return f.err ? f : {
3541
+ val: { type: v.number, value: r, location: m, style: f.val },
3593
3542
  err: null
3594
3543
  };
3595
3544
  } else {
3596
3545
  if (x.length === 0)
3597
3546
  return this.error(b.EXPECT_DATE_TIME_SKELETON, m);
3598
3547
  var T = x;
3599
- this.locale && (T = ai(x, this.locale));
3600
- var f = {
3601
- type: J.dateTime,
3548
+ this.locale && (T = Zr(x, this.locale));
3549
+ var c = {
3550
+ type: Q.dateTime,
3602
3551
  pattern: T,
3603
3552
  location: l.styleLocation,
3604
- parsedOptions: this.shouldParseSkeletons ? ei(T) : {}
3605
- }, w = a === "date" ? _.date : _.time;
3553
+ parsedOptions: this.shouldParseSkeletons ? Fr(T) : {}
3554
+ }, w = s === "date" ? v.date : v.time;
3606
3555
  return {
3607
- val: { type: w, value: n, location: m, style: f },
3556
+ val: { type: w, value: r, location: m, style: c },
3608
3557
  err: null
3609
3558
  };
3610
3559
  }
3611
3560
  }
3612
3561
  return {
3613
3562
  val: {
3614
- type: a === "number" ? _.number : a === "date" ? _.date : _.time,
3615
- value: n,
3563
+ type: s === "number" ? v.number : s === "date" ? v.date : v.time,
3564
+ value: r,
3616
3565
  location: m,
3617
- style: (o = l == null ? void 0 : l.style) !== null && o !== void 0 ? o : null
3566
+ style: (o = l?.style) !== null && o !== void 0 ? o : null
3618
3567
  },
3619
3568
  err: null
3620
3569
  };
@@ -3624,54 +3573,54 @@ var Ei = (
3624
3573
  case "select": {
3625
3574
  var E = this.clonePosition();
3626
3575
  if (this.bumpSpace(), !this.bumpIf(","))
3627
- return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, g(E, v({}, E)));
3576
+ return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, g(E, _({}, E)));
3628
3577
  this.bumpSpace();
3629
- var I = this.parseIdentifierIfPossible(), H = 0;
3630
- if (a !== "select" && I.value === "offset") {
3578
+ var O = this.parseIdentifierIfPossible(), H = 0;
3579
+ if (s !== "select" && O.value === "offset") {
3631
3580
  if (!this.bumpIf(":"))
3632
3581
  return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g(this.clonePosition(), this.clonePosition()));
3633
3582
  this.bumpSpace();
3634
- var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3635
- if (c.err)
3636
- return c;
3637
- this.bumpSpace(), I = this.parseIdentifierIfPossible(), H = c.val;
3583
+ var f = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3584
+ if (f.err)
3585
+ return f;
3586
+ this.bumpSpace(), O = this.parseIdentifierIfPossible(), H = f.val;
3638
3587
  }
3639
- var U = this.tryParsePluralOrSelectOptions(t, a, r, I);
3640
- if (U.err)
3641
- return U;
3642
- var d = this.tryParseArgumentClose(i);
3643
- if (d.err)
3644
- return d;
3588
+ var R = this.tryParsePluralOrSelectOptions(t, s, n, O);
3589
+ if (R.err)
3590
+ return R;
3591
+ var p = this.tryParseArgumentClose(i);
3592
+ if (p.err)
3593
+ return p;
3645
3594
  var de = g(i, this.clonePosition());
3646
- return a === "select" ? {
3595
+ return s === "select" ? {
3647
3596
  val: {
3648
- type: _.select,
3649
- value: n,
3650
- options: Ot(U.val),
3597
+ type: v.select,
3598
+ value: r,
3599
+ options: Et(R.val),
3651
3600
  location: de
3652
3601
  },
3653
3602
  err: null
3654
3603
  } : {
3655
3604
  val: {
3656
- type: _.plural,
3657
- value: n,
3658
- options: Ot(U.val),
3605
+ type: v.plural,
3606
+ value: r,
3607
+ options: Et(R.val),
3659
3608
  offset: H,
3660
- pluralType: a === "plural" ? "cardinal" : "ordinal",
3609
+ pluralType: s === "plural" ? "cardinal" : "ordinal",
3661
3610
  location: de
3662
3611
  },
3663
3612
  err: null
3664
3613
  };
3665
3614
  }
3666
3615
  default:
3667
- return this.error(b.INVALID_ARGUMENT_TYPE, g(s, u));
3616
+ return this.error(b.INVALID_ARGUMENT_TYPE, g(a, u));
3668
3617
  }
3669
3618
  }, e.prototype.tryParseArgumentClose = function(t) {
3670
3619
  return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3671
3620
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3672
- for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3673
- var n = this.char();
3674
- switch (n) {
3621
+ for (var t = 0, n = this.clonePosition(); !this.isEOF(); ) {
3622
+ var r = this.char();
3623
+ switch (r) {
3675
3624
  case 39: {
3676
3625
  this.bump();
3677
3626
  var i = this.clonePosition();
@@ -3689,7 +3638,7 @@ var Ei = (
3689
3638
  t -= 1;
3690
3639
  else
3691
3640
  return {
3692
- val: this.message.slice(r.offset, this.offset()),
3641
+ val: this.message.slice(n.offset, this.offset()),
3693
3642
  err: null
3694
3643
  };
3695
3644
  break;
@@ -3700,70 +3649,70 @@ var Ei = (
3700
3649
  }
3701
3650
  }
3702
3651
  return {
3703
- val: this.message.slice(r.offset, this.offset()),
3652
+ val: this.message.slice(n.offset, this.offset()),
3704
3653
  err: null
3705
3654
  };
3706
- }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3707
- var n = [];
3655
+ }, e.prototype.parseNumberSkeletonFromString = function(t, n) {
3656
+ var r = [];
3708
3657
  try {
3709
- n = ri(t);
3710
- } catch (i) {
3711
- return this.error(b.INVALID_NUMBER_SKELETON, r);
3658
+ r = kr(t);
3659
+ } catch {
3660
+ return this.error(b.INVALID_NUMBER_SKELETON, n);
3712
3661
  }
3713
3662
  return {
3714
3663
  val: {
3715
- type: J.number,
3716
- tokens: n,
3717
- location: r,
3718
- parsedOptions: this.shouldParseSkeletons ? si(n) : {}
3664
+ type: Q.number,
3665
+ tokens: r,
3666
+ location: n,
3667
+ parsedOptions: this.shouldParseSkeletons ? zr(r) : {}
3719
3668
  },
3720
3669
  err: null
3721
3670
  };
3722
- }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3723
- for (var o, s = !1, a = [], u = /* @__PURE__ */ new Set(), l = i.value, h = i.location; ; ) {
3671
+ }, e.prototype.tryParsePluralOrSelectOptions = function(t, n, r, i) {
3672
+ for (var o, a = !1, s = [], u = /* @__PURE__ */ new Set(), l = i.value, h = i.location; ; ) {
3724
3673
  if (l.length === 0) {
3725
- var c = this.clonePosition();
3726
- if (r !== "select" && this.bumpIf("=")) {
3727
- var f = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_SELECTOR, b.INVALID_PLURAL_ARGUMENT_SELECTOR);
3728
- if (f.err)
3729
- return f;
3730
- h = g(c, this.clonePosition()), l = this.message.slice(c.offset, this.offset());
3674
+ var f = this.clonePosition();
3675
+ if (n !== "select" && this.bumpIf("=")) {
3676
+ var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_SELECTOR, b.INVALID_PLURAL_ARGUMENT_SELECTOR);
3677
+ if (c.err)
3678
+ return c;
3679
+ h = g(f, this.clonePosition()), l = this.message.slice(f.offset, this.offset());
3731
3680
  } else
3732
3681
  break;
3733
3682
  }
3734
3683
  if (u.has(l))
3735
- return this.error(r === "select" ? b.DUPLICATE_SELECT_ARGUMENT_SELECTOR : b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3736
- l === "other" && (s = !0), this.bumpSpace();
3737
- var p = this.clonePosition();
3684
+ return this.error(n === "select" ? b.DUPLICATE_SELECT_ARGUMENT_SELECTOR : b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3685
+ l === "other" && (a = !0), this.bumpSpace();
3686
+ var d = this.clonePosition();
3738
3687
  if (!this.bumpIf("{"))
3739
- return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, g(this.clonePosition(), this.clonePosition()));
3740
- var d = this.parseMessage(t + 1, r, n);
3741
- if (d.err)
3742
- return d;
3743
- var m = this.tryParseArgumentClose(p);
3688
+ return this.error(n === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, g(this.clonePosition(), this.clonePosition()));
3689
+ var p = this.parseMessage(t + 1, n, r);
3690
+ if (p.err)
3691
+ return p;
3692
+ var m = this.tryParseArgumentClose(d);
3744
3693
  if (m.err)
3745
3694
  return m;
3746
- a.push([
3695
+ s.push([
3747
3696
  l,
3748
3697
  {
3749
- value: d.val,
3750
- location: g(p, this.clonePosition())
3698
+ value: p.val,
3699
+ location: g(d, this.clonePosition())
3751
3700
  }
3752
3701
  ]), u.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, h = o.location;
3753
3702
  }
3754
- return a.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, g(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(b.MISSING_OTHER_CLAUSE, g(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3755
- }, e.prototype.tryParseDecimalInteger = function(t, r) {
3756
- var n = 1, i = this.clonePosition();
3757
- this.bumpIf("+") || this.bumpIf("-") && (n = -1);
3758
- for (var o = !1, s = 0; !this.isEOF(); ) {
3759
- var a = this.char();
3760
- if (a >= 48 && a <= 57)
3761
- o = !0, s = s * 10 + (a - 48), this.bump();
3703
+ return s.length === 0 ? this.error(n === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, g(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(b.MISSING_OTHER_CLAUSE, g(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
3704
+ }, e.prototype.tryParseDecimalInteger = function(t, n) {
3705
+ var r = 1, i = this.clonePosition();
3706
+ this.bumpIf("+") || this.bumpIf("-") && (r = -1);
3707
+ for (var o = !1, a = 0; !this.isEOF(); ) {
3708
+ var s = this.char();
3709
+ if (s >= 48 && s <= 57)
3710
+ o = !0, a = a * 10 + (s - 48), this.bump();
3762
3711
  else
3763
3712
  break;
3764
3713
  }
3765
3714
  var u = g(i, this.clonePosition());
3766
- return o ? (s *= n, yi(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
3715
+ return o ? (a *= r, oi(a) ? { val: a, err: null } : this.error(n, u)) : this.error(t, u);
3767
3716
  }, e.prototype.offset = function() {
3768
3717
  return this.position.offset;
3769
3718
  }, e.prototype.isEOF = function() {
@@ -3778,17 +3727,17 @@ var Ei = (
3778
3727
  var t = this.position.offset;
3779
3728
  if (t >= this.message.length)
3780
3729
  throw Error("out of bound");
3781
- var r = yr(this.message, t);
3782
- if (r === void 0)
3730
+ var n = hn(this.message, t);
3731
+ if (n === void 0)
3783
3732
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3784
- return r;
3785
- }, e.prototype.error = function(t, r) {
3733
+ return n;
3734
+ }, e.prototype.error = function(t, n) {
3786
3735
  return {
3787
3736
  val: null,
3788
3737
  err: {
3789
3738
  kind: t,
3790
3739
  message: this.message,
3791
- location: r
3740
+ location: n
3792
3741
  }
3793
3742
  };
3794
3743
  }, e.prototype.bump = function() {
@@ -3797,285 +3746,285 @@ var Ei = (
3797
3746
  t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
3798
3747
  }
3799
3748
  }, e.prototype.bumpIf = function(t) {
3800
- if (Pt(this.message, t, this.offset())) {
3801
- for (var r = 0; r < t.length; r++)
3749
+ if (xt(this.message, t, this.offset())) {
3750
+ for (var n = 0; n < t.length; n++)
3802
3751
  this.bump();
3803
3752
  return !0;
3804
3753
  }
3805
3754
  return !1;
3806
3755
  }, e.prototype.bumpUntil = function(t) {
3807
- var r = this.offset(), n = this.message.indexOf(t, r);
3808
- return n >= 0 ? (this.bumpTo(n), !0) : (this.bumpTo(this.message.length), !1);
3756
+ var n = this.offset(), r = this.message.indexOf(t, n);
3757
+ return r >= 0 ? (this.bumpTo(r), !0) : (this.bumpTo(this.message.length), !1);
3809
3758
  }, e.prototype.bumpTo = function(t) {
3810
3759
  if (this.offset() > t)
3811
3760
  throw Error("targetOffset ".concat(t, " must be greater than or equal to the current offset ").concat(this.offset()));
3812
3761
  for (t = Math.min(t, this.message.length); ; ) {
3813
- var r = this.offset();
3814
- if (r === t)
3762
+ var n = this.offset();
3763
+ if (n === t)
3815
3764
  break;
3816
- if (r > t)
3765
+ if (n > t)
3817
3766
  throw Error("targetOffset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3818
3767
  if (this.bump(), this.isEOF())
3819
3768
  break;
3820
3769
  }
3821
3770
  }, e.prototype.bumpSpace = function() {
3822
- for (; !this.isEOF() && _r(this.char()); )
3771
+ for (; !this.isEOF() && cn(this.char()); )
3823
3772
  this.bump();
3824
3773
  }, e.prototype.peek = function() {
3825
3774
  if (this.isEOF())
3826
3775
  return null;
3827
- var t = this.char(), r = this.offset(), n = this.message.charCodeAt(r + (t >= 65536 ? 2 : 1));
3828
- return n != null ? n : null;
3776
+ var t = this.char(), n = this.offset(), r = this.message.charCodeAt(n + (t >= 65536 ? 2 : 1));
3777
+ return r ?? null;
3829
3778
  }, e;
3830
3779
  }()
3831
3780
  );
3832
- function et(e) {
3781
+ function Je(e) {
3833
3782
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3834
3783
  }
3835
- function Si(e) {
3836
- return et(e) || e === 47;
3784
+ function hi(e) {
3785
+ return Je(e) || e === 47;
3837
3786
  }
3838
- function Ti(e) {
3787
+ function fi(e) {
3839
3788
  return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
3840
3789
  }
3841
- function _r(e) {
3790
+ function cn(e) {
3842
3791
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3843
3792
  }
3844
- function wi(e) {
3793
+ function ci(e) {
3845
3794
  return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
3846
3795
  }
3847
- function tt(e) {
3796
+ function Ye(e) {
3848
3797
  e.forEach(function(t) {
3849
- if (delete t.location, hr(t) || cr(t))
3850
- for (var r in t.options)
3851
- delete t.options[r].location, tt(t.options[r].value);
3852
- else ar(t) && pr(t.style) || (ur(t) || lr(t)) && Qe(t.style) ? delete t.style.location : fr(t) && tt(t.children);
3798
+ if (delete t.location, tn(t) || nn(t))
3799
+ for (var n in t.options)
3800
+ delete t.options[n].location, Ye(t.options[n].value);
3801
+ else Yt(t) && on(t.style) || (Kt(t) || en(t)) && ze(t.style) ? delete t.style.location : rn(t) && Ye(t.children);
3853
3802
  });
3854
3803
  }
3855
- function Hi(e, t) {
3856
- t === void 0 && (t = {}), t = v({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3857
- var r = new Ei(e, t).parse();
3858
- if (r.err) {
3859
- var n = SyntaxError(b[r.err.kind]);
3860
- throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3804
+ function di(e, t) {
3805
+ t === void 0 && (t = {}), t = _({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3806
+ var n = new li(e, t).parse();
3807
+ if (n.err) {
3808
+ var r = SyntaxError(b[n.err.kind]);
3809
+ throw r.location = n.err.location, r.originalMessage = n.err.message, r;
3861
3810
  }
3862
- return t != null && t.captureLocation || tt(r.val), r.val;
3811
+ return t?.captureLocation || Ye(n.val), n.val;
3863
3812
  }
3864
- var Y;
3813
+ var J;
3865
3814
  (function(e) {
3866
3815
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3867
- })(Y || (Y = {}));
3868
- var Oe = (
3816
+ })(J || (J = {}));
3817
+ var Pe = (
3869
3818
  /** @class */
3870
3819
  function(e) {
3871
- R(t, e);
3872
- function t(r, n, i) {
3873
- var o = e.call(this, r) || this;
3874
- return o.code = n, o.originalMessage = i, o;
3820
+ $(t, e);
3821
+ function t(n, r, i) {
3822
+ var o = e.call(this, n) || this;
3823
+ return o.code = r, o.originalMessage = i, o;
3875
3824
  }
3876
3825
  return t.prototype.toString = function() {
3877
3826
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3878
3827
  }, t;
3879
3828
  }(Error)
3880
- ), Lt = (
3829
+ ), Tt = (
3881
3830
  /** @class */
3882
3831
  function(e) {
3883
- R(t, e);
3884
- function t(r, n, i, o) {
3885
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Y.INVALID_VALUE, o) || this;
3832
+ $(t, e);
3833
+ function t(n, r, i, o) {
3834
+ return e.call(this, 'Invalid values for "'.concat(n, '": "').concat(r, '". Options are "').concat(Object.keys(i).join('", "'), '"'), J.INVALID_VALUE, o) || this;
3886
3835
  }
3887
3836
  return t;
3888
- }(Oe)
3889
- ), Bi = (
3837
+ }(Pe)
3838
+ ), pi = (
3890
3839
  /** @class */
3891
3840
  function(e) {
3892
- R(t, e);
3893
- function t(r, n, i) {
3894
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Y.INVALID_VALUE, i) || this;
3841
+ $(t, e);
3842
+ function t(n, r, i) {
3843
+ return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(r), J.INVALID_VALUE, i) || this;
3895
3844
  }
3896
3845
  return t;
3897
- }(Oe)
3898
- ), Ai = (
3846
+ }(Pe)
3847
+ ), mi = (
3899
3848
  /** @class */
3900
3849
  function(e) {
3901
- R(t, e);
3902
- function t(r, n) {
3903
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Y.MISSING_VALUE, n) || this;
3850
+ $(t, e);
3851
+ function t(n, r) {
3852
+ return e.call(this, 'The intl string context variable "'.concat(n, '" was not provided to the string "').concat(r, '"'), J.MISSING_VALUE, r) || this;
3904
3853
  }
3905
3854
  return t;
3906
- }(Oe)
3855
+ }(Pe)
3907
3856
  ), S;
3908
3857
  (function(e) {
3909
3858
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3910
3859
  })(S || (S = {}));
3911
- function Pi(e) {
3912
- return e.length < 2 ? e : e.reduce(function(t, r) {
3913
- var n = t[t.length - 1];
3914
- return !n || n.type !== S.literal || r.type !== S.literal ? t.push(r) : n.value += r.value, t;
3860
+ function bi(e) {
3861
+ return e.length < 2 ? e : e.reduce(function(t, n) {
3862
+ var r = t[t.length - 1];
3863
+ return !r || r.type !== S.literal || n.type !== S.literal ? t.push(n) : r.value += n.value, t;
3915
3864
  }, []);
3916
3865
  }
3917
- function Oi(e) {
3866
+ function gi(e) {
3918
3867
  return typeof e == "function";
3919
3868
  }
3920
- function xe(e, t, r, n, i, o, s) {
3921
- if (e.length === 1 && wt(e[0]))
3869
+ function ve(e, t, n, r, i, o, a) {
3870
+ if (e.length === 1 && gt(e[0]))
3922
3871
  return [
3923
3872
  {
3924
3873
  type: S.literal,
3925
3874
  value: e[0].value
3926
3875
  }
3927
3876
  ];
3928
- for (var a = [], u = 0, l = e; u < l.length; u++) {
3877
+ for (var s = [], u = 0, l = e; u < l.length; u++) {
3929
3878
  var h = l[u];
3930
- if (wt(h)) {
3931
- a.push({
3879
+ if (gt(h)) {
3880
+ s.push({
3932
3881
  type: S.literal,
3933
3882
  value: h.value
3934
3883
  });
3935
3884
  continue;
3936
3885
  }
3937
- if (Yn(h)) {
3938
- typeof o == "number" && a.push({
3886
+ if (Dr(h)) {
3887
+ typeof o == "number" && s.push({
3939
3888
  type: S.literal,
3940
- value: r.getNumberFormat(t).format(o)
3889
+ value: n.getNumberFormat(t).format(o)
3941
3890
  });
3942
3891
  continue;
3943
3892
  }
3944
- var c = h.value;
3945
- if (!(i && c in i))
3946
- throw new Ai(c, s);
3947
- var f = i[c];
3948
- if (Jn(h)) {
3949
- (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3950
- type: typeof f == "string" ? S.literal : S.object,
3951
- value: f
3893
+ var f = h.value;
3894
+ if (!(i && f in i))
3895
+ throw new mi(f, a);
3896
+ var c = i[f];
3897
+ if (Ur(h)) {
3898
+ (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), s.push({
3899
+ type: typeof c == "string" ? S.literal : S.object,
3900
+ value: c
3952
3901
  });
3953
3902
  continue;
3954
3903
  }
3955
- if (ur(h)) {
3956
- var p = typeof h.style == "string" ? n.date[h.style] : Qe(h.style) ? h.style.parsedOptions : void 0;
3957
- a.push({
3904
+ if (Kt(h)) {
3905
+ var d = typeof h.style == "string" ? r.date[h.style] : ze(h.style) ? h.style.parsedOptions : void 0;
3906
+ s.push({
3958
3907
  type: S.literal,
3959
- value: r.getDateTimeFormat(t, p).format(f)
3908
+ value: n.getDateTimeFormat(t, d).format(c)
3960
3909
  });
3961
3910
  continue;
3962
3911
  }
3963
- if (lr(h)) {
3964
- var p = typeof h.style == "string" ? n.time[h.style] : Qe(h.style) ? h.style.parsedOptions : n.time.medium;
3965
- a.push({
3912
+ if (en(h)) {
3913
+ var d = typeof h.style == "string" ? r.time[h.style] : ze(h.style) ? h.style.parsedOptions : r.time.medium;
3914
+ s.push({
3966
3915
  type: S.literal,
3967
- value: r.getDateTimeFormat(t, p).format(f)
3916
+ value: n.getDateTimeFormat(t, d).format(c)
3968
3917
  });
3969
3918
  continue;
3970
3919
  }
3971
- if (ar(h)) {
3972
- var p = typeof h.style == "string" ? n.number[h.style] : pr(h.style) ? h.style.parsedOptions : void 0;
3973
- p && p.scale && (f = f * (p.scale || 1)), a.push({
3920
+ if (Yt(h)) {
3921
+ var d = typeof h.style == "string" ? r.number[h.style] : on(h.style) ? h.style.parsedOptions : void 0;
3922
+ d && d.scale && (c = c * (d.scale || 1)), s.push({
3974
3923
  type: S.literal,
3975
- value: r.getNumberFormat(t, p).format(f)
3924
+ value: n.getNumberFormat(t, d).format(c)
3976
3925
  });
3977
3926
  continue;
3978
3927
  }
3979
- if (fr(h)) {
3980
- var d = h.children, m = h.value, x = i[m];
3981
- if (!Oi(x))
3982
- throw new Bi(m, "function", s);
3983
- var T = xe(d, t, r, n, i, o), w = x(T.map(function(H) {
3928
+ if (rn(h)) {
3929
+ var p = h.children, m = h.value, x = i[m];
3930
+ if (!gi(x))
3931
+ throw new pi(m, "function", a);
3932
+ var T = ve(p, t, n, r, i, o), w = x(T.map(function(H) {
3984
3933
  return H.value;
3985
3934
  }));
3986
- Array.isArray(w) || (w = [w]), a.push.apply(a, w.map(function(H) {
3935
+ Array.isArray(w) || (w = [w]), s.push.apply(s, w.map(function(H) {
3987
3936
  return {
3988
3937
  type: typeof H == "string" ? S.literal : S.object,
3989
3938
  value: H
3990
3939
  };
3991
3940
  }));
3992
3941
  }
3993
- if (hr(h)) {
3994
- var E = h.options[f] || h.options.other;
3942
+ if (tn(h)) {
3943
+ var E = h.options[c] || h.options.other;
3995
3944
  if (!E)
3996
- throw new Lt(h.value, f, Object.keys(h.options), s);
3997
- a.push.apply(a, xe(E.value, t, r, n, i));
3945
+ throw new Tt(h.value, c, Object.keys(h.options), a);
3946
+ s.push.apply(s, ve(E.value, t, n, r, i));
3998
3947
  continue;
3999
3948
  }
4000
- if (cr(h)) {
4001
- var E = h.options["=".concat(f)];
3949
+ if (nn(h)) {
3950
+ var E = h.options["=".concat(c)];
4002
3951
  if (!E) {
4003
3952
  if (!Intl.PluralRules)
4004
- throw new Oe(`Intl.PluralRules is not available in this environment.
3953
+ throw new Pe(`Intl.PluralRules is not available in this environment.
4005
3954
  Try polyfilling it using "@formatjs/intl-pluralrules"
4006
- `, Y.MISSING_INTL_API, s);
4007
- var I = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
4008
- E = h.options[I] || h.options.other;
3955
+ `, J.MISSING_INTL_API, a);
3956
+ var O = n.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
3957
+ E = h.options[O] || h.options.other;
4009
3958
  }
4010
3959
  if (!E)
4011
- throw new Lt(h.value, f, Object.keys(h.options), s);
4012
- a.push.apply(a, xe(E.value, t, r, n, i, f - (h.offset || 0)));
3960
+ throw new Tt(h.value, c, Object.keys(h.options), a);
3961
+ s.push.apply(s, ve(E.value, t, n, r, i, c - (h.offset || 0)));
4013
3962
  continue;
4014
3963
  }
4015
3964
  }
4016
- return Pi(a);
3965
+ return bi(s);
4017
3966
  }
4018
- function Ii(e, t) {
4019
- return t ? v(v(v({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
4020
- return r[n] = v(v({}, e[n]), t[n] || {}), r;
3967
+ function yi(e, t) {
3968
+ return t ? _(_(_({}, e || {}), t || {}), Object.keys(e).reduce(function(n, r) {
3969
+ return n[r] = _(_({}, e[r]), t[r] || {}), n;
4021
3970
  }, {})) : e;
4022
3971
  }
4023
- function Li(e, t) {
4024
- return t ? Object.keys(e).reduce(function(r, n) {
4025
- return r[n] = Ii(e[n], t[n]), r;
4026
- }, v({}, e)) : e;
3972
+ function _i(e, t) {
3973
+ return t ? Object.keys(e).reduce(function(n, r) {
3974
+ return n[r] = yi(e[r], t[r]), n;
3975
+ }, _({}, e)) : e;
4027
3976
  }
4028
- function Fe(e) {
3977
+ function Ue(e) {
4029
3978
  return {
4030
3979
  create: function() {
4031
3980
  return {
4032
3981
  get: function(t) {
4033
3982
  return e[t];
4034
3983
  },
4035
- set: function(t, r) {
4036
- e[t] = r;
3984
+ set: function(t, n) {
3985
+ e[t] = n;
4037
3986
  }
4038
3987
  };
4039
3988
  }
4040
3989
  };
4041
3990
  }
4042
- function Ni(e) {
3991
+ function vi(e) {
4043
3992
  return e === void 0 && (e = {
4044
3993
  number: {},
4045
3994
  dateTime: {},
4046
3995
  pluralRules: {}
4047
3996
  }), {
4048
- getNumberFormat: Ue(function() {
4049
- for (var t, r = [], n = 0; n < arguments.length; n++)
4050
- r[n] = arguments[n];
4051
- return new ((t = Intl.NumberFormat).bind.apply(t, q([void 0], r, !1)))();
3997
+ getNumberFormat: Me(function() {
3998
+ for (var t, n = [], r = 0; r < arguments.length; r++)
3999
+ n[r] = arguments[r];
4000
+ return new ((t = Intl.NumberFormat).bind.apply(t, Z([void 0], n, !1)))();
4052
4001
  }, {
4053
- cache: Fe(e.number),
4054
- strategy: De.variadic
4002
+ cache: Ue(e.number),
4003
+ strategy: $e.variadic
4055
4004
  }),
4056
- getDateTimeFormat: Ue(function() {
4057
- for (var t, r = [], n = 0; n < arguments.length; n++)
4058
- r[n] = arguments[n];
4059
- return new ((t = Intl.DateTimeFormat).bind.apply(t, q([void 0], r, !1)))();
4005
+ getDateTimeFormat: Me(function() {
4006
+ for (var t, n = [], r = 0; r < arguments.length; r++)
4007
+ n[r] = arguments[r];
4008
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Z([void 0], n, !1)))();
4060
4009
  }, {
4061
- cache: Fe(e.dateTime),
4062
- strategy: De.variadic
4010
+ cache: Ue(e.dateTime),
4011
+ strategy: $e.variadic
4063
4012
  }),
4064
- getPluralRules: Ue(function() {
4065
- for (var t, r = [], n = 0; n < arguments.length; n++)
4066
- r[n] = arguments[n];
4067
- return new ((t = Intl.PluralRules).bind.apply(t, q([void 0], r, !1)))();
4013
+ getPluralRules: Me(function() {
4014
+ for (var t, n = [], r = 0; r < arguments.length; r++)
4015
+ n[r] = arguments[r];
4016
+ return new ((t = Intl.PluralRules).bind.apply(t, Z([void 0], n, !1)))();
4068
4017
  }, {
4069
- cache: Fe(e.pluralRules),
4070
- strategy: De.variadic
4018
+ cache: Ue(e.pluralRules),
4019
+ strategy: $e.variadic
4071
4020
  })
4072
4021
  };
4073
4022
  }
4074
- var Ci = (
4023
+ var xi = (
4075
4024
  /** @class */
4076
4025
  function() {
4077
- function e(t, r, n, i) {
4078
- r === void 0 && (r = e.defaultLocale);
4026
+ function e(t, n, r, i) {
4027
+ n === void 0 && (n = e.defaultLocale);
4079
4028
  var o = this;
4080
4029
  if (this.formatterCache = {
4081
4030
  number: {},
@@ -4085,12 +4034,12 @@ var Ci = (
4085
4034
  var l = o.formatToParts(u);
4086
4035
  if (l.length === 1)
4087
4036
  return l[0].value;
4088
- var h = l.reduce(function(c, f) {
4089
- return !c.length || f.type !== S.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
4037
+ var h = l.reduce(function(f, c) {
4038
+ return !f.length || c.type !== S.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
4090
4039
  }, []);
4091
4040
  return h.length <= 1 ? h[0] || "" : h;
4092
4041
  }, this.formatToParts = function(u) {
4093
- return xe(o.ast, o.locales, o.formatters, o.formats, u, void 0, o.message);
4042
+ return ve(o.ast, o.locales, o.formatters, o.formats, u, void 0, o.message);
4094
4043
  }, this.resolvedOptions = function() {
4095
4044
  var u;
4096
4045
  return {
@@ -4098,18 +4047,18 @@ var Ci = (
4098
4047
  };
4099
4048
  }, this.getAst = function() {
4100
4049
  return o.ast;
4101
- }, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
4050
+ }, this.locales = n, this.resolvedLocale = e.resolveLocale(n), typeof t == "string") {
4102
4051
  if (this.message = t, !e.__parse)
4103
4052
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
4104
- var s = i || {};
4105
- s.formatters;
4106
- var a = pn(s, ["formatters"]);
4107
- this.ast = e.__parse(t, v(v({}, a), { locale: this.resolvedLocale }));
4053
+ var a = i || {};
4054
+ a.formatters;
4055
+ var s = Kn(a, ["formatters"]);
4056
+ this.ast = e.__parse(t, _(_({}, s), { locale: this.resolvedLocale }));
4108
4057
  } else
4109
4058
  this.ast = t;
4110
4059
  if (!Array.isArray(this.ast))
4111
4060
  throw new TypeError("A message must be provided as a String or AST.");
4112
- this.formats = Li(e.formats, n), this.formatters = i && i.formatters || Ni(this.formatterCache);
4061
+ this.formats = _i(e.formats, r), this.formatters = i && i.formatters || vi(this.formatterCache);
4113
4062
  }
4114
4063
  return Object.defineProperty(e, "defaultLocale", {
4115
4064
  get: function() {
@@ -4118,11 +4067,11 @@ var Ci = (
4118
4067
  enumerable: !1,
4119
4068
  configurable: !0
4120
4069
  }), e.memoizedDefaultLocale = null, e.resolveLocale = function(t) {
4121
- if (typeof Intl.Locale != "undefined") {
4122
- var r = Intl.NumberFormat.supportedLocalesOf(t);
4123
- return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
4070
+ if (!(typeof Intl.Locale > "u")) {
4071
+ var n = Intl.NumberFormat.supportedLocalesOf(t);
4072
+ return n.length > 0 ? new Intl.Locale(n[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
4124
4073
  }
4125
- }, e.__parse = Hi, e.formats = {
4074
+ }, e.__parse = di, e.formats = {
4126
4075
  number: {
4127
4076
  integer: {
4128
4077
  maximumFractionDigits: 0
@@ -4183,113 +4132,113 @@ var Ci = (
4183
4132
  }, e;
4184
4133
  }()
4185
4134
  );
4186
- function Mi(e, t) {
4135
+ function Ei(e, t) {
4187
4136
  if (t == null)
4188
4137
  return;
4189
4138
  if (t in e)
4190
4139
  return e[t];
4191
- const r = t.split(".");
4192
- let n = e;
4193
- for (let i = 0; i < r.length; i++)
4194
- if (typeof n == "object") {
4140
+ const n = t.split(".");
4141
+ let r = e;
4142
+ for (let i = 0; i < n.length; i++)
4143
+ if (typeof r == "object") {
4195
4144
  if (i > 0) {
4196
- const o = r.slice(i, r.length).join(".");
4197
- if (o in n) {
4198
- n = n[o];
4145
+ const o = n.slice(i, n.length).join(".");
4146
+ if (o in r) {
4147
+ r = r[o];
4199
4148
  break;
4200
4149
  }
4201
4150
  }
4202
- n = n[r[i]];
4151
+ r = r[n[i]];
4203
4152
  } else
4204
- n = void 0;
4205
- return n;
4153
+ r = void 0;
4154
+ return r;
4206
4155
  }
4207
- const D = {}, $i = (e, t, r) => r && (t in D || (D[t] = {}), e in D[t] || (D[t][e] = r), r), xr = (e, t) => {
4156
+ const U = {}, Si = (e, t, n) => n && (t in U || (U[t] = {}), e in U[t] || (U[t][e] = n), n), dn = (e, t) => {
4208
4157
  if (t == null)
4209
4158
  return;
4210
- if (t in D && e in D[t])
4211
- return D[t][e];
4212
- const r = Ie(t);
4213
- for (let n = 0; n < r.length; n++) {
4214
- const i = r[n], o = Ui(i, e);
4159
+ if (t in U && e in U[t])
4160
+ return U[t][e];
4161
+ const n = Oe(t);
4162
+ for (let r = 0; r < n.length; r++) {
4163
+ const i = n[r], o = wi(i, e);
4215
4164
  if (o)
4216
- return $i(e, t, o);
4165
+ return Si(e, t, o);
4217
4166
  }
4218
4167
  };
4219
- let ut;
4220
- const pe = Pe({});
4221
- function Ri(e) {
4222
- return ut[e] || null;
4168
+ let it;
4169
+ const ce = Ae({});
4170
+ function Ti(e) {
4171
+ return it[e] || null;
4223
4172
  }
4224
- function Er(e) {
4225
- return e in ut;
4173
+ function pn(e) {
4174
+ return e in it;
4226
4175
  }
4227
- function Ui(e, t) {
4228
- if (!Er(e))
4176
+ function wi(e, t) {
4177
+ if (!pn(e))
4229
4178
  return null;
4230
- const r = Ri(e);
4231
- return Mi(r, t);
4179
+ const n = Ti(e);
4180
+ return Ei(n, t);
4232
4181
  }
4233
- function Di(e) {
4182
+ function Hi(e) {
4234
4183
  if (e == null)
4235
4184
  return;
4236
- const t = Ie(e);
4237
- for (let r = 0; r < t.length; r++) {
4238
- const n = t[r];
4239
- if (Er(n))
4240
- return n;
4185
+ const t = Oe(e);
4186
+ for (let n = 0; n < t.length; n++) {
4187
+ const r = t[n];
4188
+ if (pn(r))
4189
+ return r;
4241
4190
  }
4242
4191
  }
4243
- function Sr(e, ...t) {
4244
- delete D[e], pe.update((r) => (r[e] = Vn.all([r[e] || {}, ...t]), r));
4192
+ function mn(e, ...t) {
4193
+ delete U[e], ce.update((n) => (n[e] = Or.all([n[e] || {}, ...t]), n));
4245
4194
  }
4246
- ee(
4247
- [pe],
4195
+ K(
4196
+ [ce],
4248
4197
  ([e]) => Object.keys(e)
4249
4198
  );
4250
- pe.subscribe((e) => ut = e);
4251
- const Ee = {};
4252
- function Gi(e, t) {
4253
- Ee[e].delete(t), Ee[e].size === 0 && delete Ee[e];
4254
- }
4255
- function Tr(e) {
4256
- return Ee[e];
4257
- }
4258
- function Fi(e) {
4259
- return Ie(e).map((t) => {
4260
- const r = Tr(t);
4261
- return [t, r ? [...r] : []];
4199
+ ce.subscribe((e) => it = e);
4200
+ const xe = {};
4201
+ function Bi(e, t) {
4202
+ xe[e].delete(t), xe[e].size === 0 && delete xe[e];
4203
+ }
4204
+ function bn(e) {
4205
+ return xe[e];
4206
+ }
4207
+ function Ai(e) {
4208
+ return Oe(e).map((t) => {
4209
+ const n = bn(t);
4210
+ return [t, n ? [...n] : []];
4262
4211
  }).filter(([, t]) => t.length > 0);
4263
4212
  }
4264
- function rt(e) {
4265
- return e == null ? !1 : Ie(e).some(
4213
+ function Ke(e) {
4214
+ return e == null ? !1 : Oe(e).some(
4266
4215
  (t) => {
4267
- var r;
4268
- return (r = Tr(t)) == null ? void 0 : r.size;
4216
+ var n;
4217
+ return (n = bn(t)) == null ? void 0 : n.size;
4269
4218
  }
4270
4219
  );
4271
4220
  }
4272
- function ji(e, t) {
4221
+ function Pi(e, t) {
4273
4222
  return Promise.all(
4274
- t.map((n) => (Gi(e, n), n().then((i) => i.default || i)))
4275
- ).then((n) => Sr(e, ...n));
4276
- }
4277
- const oe = {};
4278
- function wr(e) {
4279
- if (!rt(e))
4280
- return e in oe ? oe[e] : Promise.resolve();
4281
- const t = Fi(e);
4282
- return oe[e] = Promise.all(
4223
+ t.map((r) => (Bi(e, r), r().then((i) => i.default || i)))
4224
+ ).then((r) => mn(e, ...r));
4225
+ }
4226
+ const ie = {};
4227
+ function gn(e) {
4228
+ if (!Ke(e))
4229
+ return e in ie ? ie[e] : Promise.resolve();
4230
+ const t = Ai(e);
4231
+ return ie[e] = Promise.all(
4283
4232
  t.map(
4284
- ([r, n]) => ji(r, n)
4233
+ ([n, r]) => Pi(n, r)
4285
4234
  )
4286
4235
  ).then(() => {
4287
- if (rt(e))
4288
- return wr(e);
4289
- delete oe[e];
4290
- }), oe[e];
4236
+ if (Ke(e))
4237
+ return gn(e);
4238
+ delete ie[e];
4239
+ }), ie[e];
4291
4240
  }
4292
- const ki = {
4241
+ const Oi = {
4293
4242
  number: {
4294
4243
  scientific: { notation: "scientific" },
4295
4244
  engineering: { notation: "engineering" },
@@ -4318,180 +4267,180 @@ const ki = {
4318
4267
  timeZoneName: "short"
4319
4268
  }
4320
4269
  }
4321
- }, Vi = {
4270
+ }, Ii = {
4322
4271
  fallbackLocale: null,
4323
4272
  loadingDelay: 200,
4324
- formats: ki,
4273
+ formats: Oi,
4325
4274
  warnOnMissingMessages: !0,
4326
4275
  handleMissingMessage: void 0,
4327
4276
  ignoreTag: !0
4328
- }, Xi = Vi;
4329
- function K() {
4330
- return Xi;
4331
- }
4332
- const je = Pe(!1);
4333
- var Wi = Object.defineProperty, zi = Object.defineProperties, Zi = Object.getOwnPropertyDescriptors, Nt = Object.getOwnPropertySymbols, qi = Object.prototype.hasOwnProperty, Qi = Object.prototype.propertyIsEnumerable, Ct = (e, t, r) => t in e ? Wi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ji = (e, t) => {
4334
- for (var r in t || (t = {}))
4335
- qi.call(t, r) && Ct(e, r, t[r]);
4336
- if (Nt)
4337
- for (var r of Nt(t))
4338
- Qi.call(t, r) && Ct(e, r, t[r]);
4277
+ }, Li = Ii;
4278
+ function Y() {
4279
+ return Li;
4280
+ }
4281
+ const De = Ae(!1);
4282
+ var Ni = Object.defineProperty, Ci = Object.defineProperties, Mi = Object.getOwnPropertyDescriptors, wt = Object.getOwnPropertySymbols, $i = Object.prototype.hasOwnProperty, Ri = Object.prototype.propertyIsEnumerable, Ht = (e, t, n) => t in e ? Ni(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Ui = (e, t) => {
4283
+ for (var n in t)
4284
+ $i.call(t, n) && Ht(e, n, t[n]);
4285
+ if (wt)
4286
+ for (var n of wt(t))
4287
+ Ri.call(t, n) && Ht(e, n, t[n]);
4339
4288
  return e;
4340
- }, Yi = (e, t) => zi(e, Zi(t));
4341
- let nt;
4342
- const He = Pe(null);
4343
- function Mt(e) {
4344
- return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4289
+ }, Di = (e, t) => Ci(e, Mi(t));
4290
+ let et;
4291
+ const we = Ae(null);
4292
+ function Bt(e) {
4293
+ return e.split("-").map((t, n, r) => r.slice(0, n + 1).join("-")).reverse();
4345
4294
  }
4346
- function Ie(e, t = K().fallbackLocale) {
4347
- const r = Mt(e);
4348
- return t ? [.../* @__PURE__ */ new Set([...r, ...Mt(t)])] : r;
4295
+ function Oe(e, t = Y().fallbackLocale) {
4296
+ const n = Bt(e);
4297
+ return t ? [.../* @__PURE__ */ new Set([...n, ...Bt(t)])] : n;
4349
4298
  }
4350
- function k() {
4351
- return nt != null ? nt : void 0;
4299
+ function j() {
4300
+ return et ?? void 0;
4352
4301
  }
4353
- He.subscribe((e) => {
4354
- nt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4302
+ we.subscribe((e) => {
4303
+ et = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4355
4304
  });
4356
- const Ki = (e) => {
4357
- if (e && Di(e) && rt(e)) {
4358
- const { loadingDelay: t } = K();
4359
- let r;
4360
- return typeof window != "undefined" && k() != null && t ? r = window.setTimeout(
4361
- () => je.set(!0),
4305
+ const Gi = (e) => {
4306
+ if (e && Hi(e) && Ke(e)) {
4307
+ const { loadingDelay: t } = Y();
4308
+ let n;
4309
+ return typeof window < "u" && j() != null && t ? n = window.setTimeout(
4310
+ () => De.set(!0),
4362
4311
  t
4363
- ) : je.set(!0), wr(e).then(() => {
4364
- He.set(e);
4312
+ ) : De.set(!0), gn(e).then(() => {
4313
+ we.set(e);
4365
4314
  }).finally(() => {
4366
- clearTimeout(r), je.set(!1);
4315
+ clearTimeout(n), De.set(!1);
4367
4316
  });
4368
4317
  }
4369
- return He.set(e);
4370
- }, te = Yi(Ji({}, He), {
4371
- set: Ki
4372
- }), Le = (e) => {
4318
+ return we.set(e);
4319
+ }, ee = Di(Ui({}, we), {
4320
+ set: Gi
4321
+ }), Ie = (e) => {
4373
4322
  const t = /* @__PURE__ */ Object.create(null);
4374
- return (n) => {
4375
- const i = JSON.stringify(n);
4376
- return i in t ? t[i] : t[i] = e(n);
4323
+ return (r) => {
4324
+ const i = JSON.stringify(r);
4325
+ return i in t ? t[i] : t[i] = e(r);
4377
4326
  };
4378
4327
  };
4379
- var eo = Object.defineProperty, Be = Object.getOwnPropertySymbols, Hr = Object.prototype.hasOwnProperty, Br = Object.prototype.propertyIsEnumerable, $t = (e, t, r) => t in e ? eo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, lt = (e, t) => {
4380
- for (var r in t || (t = {}))
4381
- Hr.call(t, r) && $t(e, r, t[r]);
4382
- if (Be)
4383
- for (var r of Be(t))
4384
- Br.call(t, r) && $t(e, r, t[r]);
4328
+ var Fi = Object.defineProperty, He = Object.getOwnPropertySymbols, yn = Object.prototype.hasOwnProperty, _n = Object.prototype.propertyIsEnumerable, At = (e, t, n) => t in e ? Fi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, ot = (e, t) => {
4329
+ for (var n in t || (t = {}))
4330
+ yn.call(t, n) && At(e, n, t[n]);
4331
+ if (He)
4332
+ for (var n of He(t))
4333
+ _n.call(t, n) && At(e, n, t[n]);
4385
4334
  return e;
4386
- }, re = (e, t) => {
4387
- var r = {};
4388
- for (var n in e)
4389
- Hr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4390
- if (e != null && Be)
4391
- for (var n of Be(e))
4392
- t.indexOf(n) < 0 && Br.call(e, n) && (r[n] = e[n]);
4393
- return r;
4335
+ }, te = (e, t) => {
4336
+ var n = {};
4337
+ for (var r in e)
4338
+ yn.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
4339
+ if (e != null && He)
4340
+ for (var r of He(e))
4341
+ t.indexOf(r) < 0 && _n.call(e, r) && (n[r] = e[r]);
4342
+ return n;
4394
4343
  };
4395
- const le = (e, t) => {
4396
- const { formats: r } = K();
4397
- if (e in r && t in r[e])
4398
- return r[e][t];
4344
+ const ue = (e, t) => {
4345
+ const { formats: n } = Y();
4346
+ if (e in n && t in n[e])
4347
+ return n[e][t];
4399
4348
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4400
- }, to = Le(
4349
+ }, ji = Ie(
4401
4350
  (e) => {
4402
- var t = e, { locale: r, format: n } = t, i = re(t, ["locale", "format"]);
4403
- if (r == null)
4351
+ var t = e, { locale: n, format: r } = t, i = te(t, ["locale", "format"]);
4352
+ if (n == null)
4404
4353
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4405
- return n && (i = le("number", n)), new Intl.NumberFormat(r, i);
4354
+ return r && (i = ue("number", r)), new Intl.NumberFormat(n, i);
4406
4355
  }
4407
- ), ro = Le(
4356
+ ), ki = Ie(
4408
4357
  (e) => {
4409
- var t = e, { locale: r, format: n } = t, i = re(t, ["locale", "format"]);
4410
- if (r == null)
4358
+ var t = e, { locale: n, format: r } = t, i = te(t, ["locale", "format"]);
4359
+ if (n == null)
4411
4360
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4412
- return n ? i = le("date", n) : Object.keys(i).length === 0 && (i = le("date", "short")), new Intl.DateTimeFormat(r, i);
4361
+ return r ? i = ue("date", r) : Object.keys(i).length === 0 && (i = ue("date", "short")), new Intl.DateTimeFormat(n, i);
4413
4362
  }
4414
- ), no = Le(
4363
+ ), Vi = Ie(
4415
4364
  (e) => {
4416
- var t = e, { locale: r, format: n } = t, i = re(t, ["locale", "format"]);
4417
- if (r == null)
4365
+ var t = e, { locale: n, format: r } = t, i = te(t, ["locale", "format"]);
4366
+ if (n == null)
4418
4367
  throw new Error(
4419
4368
  '[svelte-i18n] A "locale" must be set to format time values'
4420
4369
  );
4421
- return n ? i = le("time", n) : Object.keys(i).length === 0 && (i = le("time", "short")), new Intl.DateTimeFormat(r, i);
4370
+ return r ? i = ue("time", r) : Object.keys(i).length === 0 && (i = ue("time", "short")), new Intl.DateTimeFormat(n, i);
4422
4371
  }
4423
- ), io = (e = {}) => {
4372
+ ), Xi = (e = {}) => {
4424
4373
  var t = e, {
4425
- locale: r = k()
4426
- } = t, n = re(t, [
4374
+ locale: n = j()
4375
+ } = t, r = te(t, [
4427
4376
  "locale"
4428
4377
  ]);
4429
- return to(lt({ locale: r }, n));
4430
- }, oo = (e = {}) => {
4378
+ return ji(ot({ locale: n }, r));
4379
+ }, Wi = (e = {}) => {
4431
4380
  var t = e, {
4432
- locale: r = k()
4433
- } = t, n = re(t, [
4381
+ locale: n = j()
4382
+ } = t, r = te(t, [
4434
4383
  "locale"
4435
4384
  ]);
4436
- return ro(lt({ locale: r }, n));
4437
- }, so = (e = {}) => {
4385
+ return ki(ot({ locale: n }, r));
4386
+ }, zi = (e = {}) => {
4438
4387
  var t = e, {
4439
- locale: r = k()
4440
- } = t, n = re(t, [
4388
+ locale: n = j()
4389
+ } = t, r = te(t, [
4441
4390
  "locale"
4442
4391
  ]);
4443
- return no(lt({ locale: r }, n));
4444
- }, ao = Le(
4392
+ return Vi(ot({ locale: n }, r));
4393
+ }, Zi = Ie(
4445
4394
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4446
- (e, t = k()) => new Ci(e, t, K().formats, {
4447
- ignoreTag: K().ignoreTag
4395
+ (e, t = j()) => new xi(e, t, Y().formats, {
4396
+ ignoreTag: Y().ignoreTag
4448
4397
  })
4449
- ), uo = (e, t = {}) => {
4450
- var r, n, i, o;
4451
- let s = t;
4452
- typeof e == "object" && (s = e, e = s.id);
4398
+ ), qi = (e, t = {}) => {
4399
+ var n, r, i, o;
4400
+ let a = t;
4401
+ typeof e == "object" && (a = e, e = a.id);
4453
4402
  const {
4454
- values: a,
4455
- locale: u = k(),
4403
+ values: s,
4404
+ locale: u = j(),
4456
4405
  default: l
4457
- } = s;
4406
+ } = a;
4458
4407
  if (u == null)
4459
4408
  throw new Error(
4460
4409
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4461
4410
  );
4462
- let h = xr(e, u);
4411
+ let h = dn(e, u);
4463
4412
  if (!h)
4464
- h = (o = (i = (n = (r = K()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
4413
+ h = (o = (i = (r = (n = Y()).handleMissingMessage) == null ? void 0 : r.call(n, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
4465
4414
  else if (typeof h != "string")
4466
4415
  return console.warn(
4467
4416
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
4468
4417
  ), h;
4469
- if (!a)
4418
+ if (!s)
4470
4419
  return h;
4471
- let c = h;
4420
+ let f = h;
4472
4421
  try {
4473
- c = ao(h, u).format(a);
4474
- } catch (f) {
4475
- f instanceof Error && console.warn(
4422
+ f = Zi(h, u).format(s);
4423
+ } catch (c) {
4424
+ c instanceof Error && console.warn(
4476
4425
  `[svelte-i18n] Message "${e}" has syntax error:`,
4477
- f.message
4426
+ c.message
4478
4427
  );
4479
4428
  }
4480
- return c;
4481
- }, lo = (e, t) => so(t).format(e), ho = (e, t) => oo(t).format(e), co = (e, t) => io(t).format(e), fo = (e, t = k()) => xr(e, t), po = ee([te, pe], () => uo);
4482
- ee([te], () => lo);
4483
- ee([te], () => ho);
4484
- ee([te], () => co);
4485
- ee([te, pe], () => fo);
4486
- window.emWidgets = { topic: Bn };
4487
- const Qo = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)), mo = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4488
- function Rt(e, t) {
4489
- Sr(e, t);
4490
- }
4491
- function bo(e) {
4492
- te.set(e);
4493
- }
4494
- const Ut = {
4429
+ return f;
4430
+ }, Qi = (e, t) => zi(t).format(e), Ji = (e, t) => Wi(t).format(e), Yi = (e, t) => Xi(t).format(e), Ki = (e, t = j()) => dn(e, t), eo = K([ee, ce], () => qi);
4431
+ K([ee], () => Qi);
4432
+ K([ee], () => Ji);
4433
+ K([ee], () => Yi);
4434
+ K([ee, ce], () => Ki);
4435
+ window.emWidgets = { topic: dr };
4436
+ const $o = (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)), to = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4437
+ function Pt(e, t) {
4438
+ mn(e, t);
4439
+ }
4440
+ function no(e) {
4441
+ ee.set(e);
4442
+ }
4443
+ const Ot = {
4495
4444
  en: {
4496
4445
  logoutButton: "Logout"
4497
4446
  },
@@ -4526,42 +4475,42 @@ const Ut = {
4526
4475
  logoutButton: "Logout"
4527
4476
  }
4528
4477
  };
4529
- function go(e) {
4530
- jr(e, "svelte-xtnqa3", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.PlayerAccountMenuItemBox{padding:20px;font-size:16px;display:inline-flex;width:100%;box-sizing:border-box;align-items:center;cursor:pointer}.PlayerAccountMenuItemBox .PlayerLogoutText{margin-left:20px}.PlayerAccountMenuItemBox svg{fill:var(--emw--pam-typography-color-nav-bg, var(--emw--color-white, #FFFFFF))}.PlayerAccountMenuItemBoxMobile.PlayerAccountMenuItemBox{height:auto;justify-content:center;position:relative;display:flex;width:unset;padding:0}.PlayerAccountMenuItemBoxMobile.PlayerAccountMenuItemBox svg{fill:var(--emw--pam-typography-color-nav-bg, var(--emw--color-white, #FFFFFF))}");
4478
+ function ro(e) {
4479
+ Pn(e, "svelte-xtnqa3", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.PlayerAccountMenuItemBox{padding:20px;font-size:16px;display:inline-flex;width:100%;box-sizing:border-box;align-items:center;cursor:pointer}.PlayerAccountMenuItemBox .PlayerLogoutText{margin-left:20px}.PlayerAccountMenuItemBox svg{fill:var(--emw--pam-typography-color-nav-bg, var(--emw--color-white, #FFFFFF))}.PlayerAccountMenuItemBoxMobile.PlayerAccountMenuItemBox{height:auto;justify-content:center;position:relative;display:flex;width:unset;padding:0}.PlayerAccountMenuItemBoxMobile.PlayerAccountMenuItemBox svg{fill:var(--emw--pam-typography-color-nav-bg, var(--emw--color-white, #FFFFFF))}");
4531
4480
  }
4532
- function yo(e) {
4533
- let t, r, n, i = (
4481
+ function io(e) {
4482
+ let t, n, r, i = (
4534
4483
  /*$_*/
4535
4484
  e[2]("logoutButton") + ""
4536
- ), o, s, a;
4485
+ ), o, a, s;
4537
4486
  return {
4538
4487
  c() {
4539
- t = N("div"), r = N("button"), n = N("span"), o = fe(i), A(t, "class", "GeneralLogout");
4488
+ t = L("div"), n = L("button"), r = L("span"), o = fe(i), A(t, "class", "GeneralLogout");
4540
4489
  },
4541
4490
  m(u, l) {
4542
- ce(u, t, l), P(t, r), P(r, n), P(n, o), s || (a = Wt(
4543
- r,
4491
+ he(u, t, l), P(t, n), P(n, r), P(r, o), a || (s = Ut(
4492
+ n,
4544
4493
  "click",
4545
4494
  /*click_handler_1*/
4546
4495
  e[13]
4547
- ), s = !0);
4496
+ ), a = !0);
4548
4497
  },
4549
4498
  p(u, l) {
4550
4499
  l & /*$_*/
4551
4500
  4 && i !== (i = /*$_*/
4552
- u[2]("logoutButton") + "") && zt(o, i);
4501
+ u[2]("logoutButton") + "") && Dt(o, i);
4553
4502
  },
4554
4503
  d(u) {
4555
- u && j(t), s = !1, a();
4504
+ u && F(t), a = !1, s();
4556
4505
  }
4557
4506
  };
4558
4507
  }
4559
- function vo(e) {
4560
- let t, r, n, i, o, s, a, u, l, h, c, f = !/*isMobile*/
4561
- e[3] && _o(e);
4508
+ function oo(e) {
4509
+ let t, n, r, i, o, a, s, u, l, h, f, c = !/*isMobile*/
4510
+ e[3] && so(e);
4562
4511
  return {
4563
4512
  c() {
4564
- t = N("p"), r = N("span"), n = ne("svg"), i = ne("defs"), o = ne("style"), s = fe(".a88316b4-2478-4a69-b2eb-d32a5fb419dd{fill:var(--emw--color-white, #FFFFFF);}"), a = ne("path"), u = ne("path"), l = Vr(), f && f.c(), A(a, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd"), A(a, "d", "M147.16,67.69,115.42,36a9.6,9.6,0,1,0-13.58,13.58l15.32,15.31H49.58a9.63,9.63,0,1,0,0,19.26h67.58L101.84,99.42a9.64,9.64,0,0,0,6.79,16.43,9.41,9.41,0,0,0,6.79-2.85l31.74-31.73a9.53,9.53,0,0,0,0-13.58Z"), A(u, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd"), A(u, "d", "M45.16,122.16H19.26V26.79H45.32a9.63,9.63,0,1,0,0-19.26H9.63A9.56,9.56,0,0,0,0,17.16V131.63a9.57,9.57,0,0,0,9.63,9.64H45.32A9.57,9.57,0,0,0,55,131.63a9.78,9.78,0,0,0-9.79-9.47Z"), A(n, "id", "bbfaf345-72af-4296-bf4b-2fd41fc03d5d"), A(n, "data-name", "Layer 1"), A(n, "xmlns", "http://www.w3.org/2000/svg"), A(n, "viewBox", "0 0 150 150"), Wr(r, "width", /*isMobile*/
4513
+ t = L("p"), n = L("span"), r = ne("svg"), i = ne("defs"), o = ne("style"), a = fe(".a88316b4-2478-4a69-b2eb-d32a5fb419dd{fill:var(--emw--color-white, #FFFFFF);}"), s = ne("path"), u = ne("path"), l = In(), c && c.c(), A(s, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd"), A(s, "d", "M147.16,67.69,115.42,36a9.6,9.6,0,1,0-13.58,13.58l15.32,15.31H49.58a9.63,9.63,0,1,0,0,19.26h67.58L101.84,99.42a9.64,9.64,0,0,0,6.79,16.43,9.41,9.41,0,0,0,6.79-2.85l31.74-31.73a9.53,9.53,0,0,0,0-13.58Z"), A(u, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd"), A(u, "d", "M45.16,122.16H19.26V26.79H45.32a9.63,9.63,0,1,0,0-19.26H9.63A9.56,9.56,0,0,0,0,17.16V131.63a9.57,9.57,0,0,0,9.63,9.64H45.32A9.57,9.57,0,0,0,55,131.63a9.78,9.78,0,0,0-9.79-9.47Z"), A(r, "id", "bbfaf345-72af-4296-bf4b-2fd41fc03d5d"), A(r, "data-name", "Layer 1"), A(r, "xmlns", "http://www.w3.org/2000/svg"), A(r, "viewBox", "0 0 150 150"), Nn(n, "width", /*isMobile*/
4565
4514
  e[3] ? (
4566
4515
  /*mediaQuery*/
4567
4516
  e[4].matches ? "50px" : "24px"
@@ -4570,105 +4519,105 @@ function vo(e) {
4570
4519
  (e[4].matches && /*isMobile*/
4571
4520
  e[3] ? "PlayerAccountMenuItemBoxTablet" : ""));
4572
4521
  },
4573
- m(p, d) {
4574
- ce(p, t, d), P(t, r), P(r, n), P(n, i), P(i, o), P(o, s), P(n, a), P(n, u), P(t, l), f && f.m(t, null), h || (c = Wt(
4522
+ m(d, p) {
4523
+ he(d, t, p), P(t, n), P(n, r), P(r, i), P(i, o), P(o, a), P(r, s), P(r, u), P(t, l), c && c.m(t, null), h || (f = Ut(
4575
4524
  t,
4576
4525
  "click",
4577
4526
  /*click_handler*/
4578
4527
  e[12]
4579
4528
  ), h = !0);
4580
4529
  },
4581
- p(p, d) {
4530
+ p(d, p) {
4582
4531
  /*isMobile*/
4583
- p[3] || f.p(p, d);
4532
+ d[3] || c.p(d, p);
4584
4533
  },
4585
- d(p) {
4586
- p && j(t), f && f.d(), h = !1, c();
4534
+ d(d) {
4535
+ d && F(t), c && c.d(), h = !1, f();
4587
4536
  }
4588
4537
  };
4589
4538
  }
4590
- function _o(e) {
4591
- let t, r = (
4539
+ function so(e) {
4540
+ let t, n = (
4592
4541
  /*$_*/
4593
4542
  e[2]("logoutButton") + ""
4594
- ), n;
4543
+ ), r;
4595
4544
  return {
4596
4545
  c() {
4597
- t = N("span"), n = fe(r), A(t, "class", "PlayerLogoutText");
4546
+ t = L("span"), r = fe(n), A(t, "class", "PlayerLogoutText");
4598
4547
  },
4599
4548
  m(i, o) {
4600
- ce(i, t, o), P(t, n);
4549
+ he(i, t, o), P(t, r);
4601
4550
  },
4602
4551
  p(i, o) {
4603
4552
  o & /*$_*/
4604
- 4 && r !== (r = /*$_*/
4605
- i[2]("logoutButton") + "") && zt(n, r);
4553
+ 4 && n !== (n = /*$_*/
4554
+ i[2]("logoutButton") + "") && Dt(r, n);
4606
4555
  },
4607
4556
  d(i) {
4608
- i && j(t);
4557
+ i && F(t);
4609
4558
  }
4610
4559
  };
4611
4560
  }
4612
- function xo(e) {
4561
+ function ao(e) {
4613
4562
  let t;
4614
- function r(o, s) {
4563
+ function n(o, a) {
4615
4564
  return (
4616
4565
  /*buttonlocation*/
4617
- o[0] === "PlayerAccountMenu" ? vo : yo
4566
+ o[0] === "PlayerAccountMenu" ? oo : io
4618
4567
  );
4619
4568
  }
4620
- let n = r(e), i = n(e);
4569
+ let r = n(e), i = r(e);
4621
4570
  return {
4622
4571
  c() {
4623
- t = N("div"), i.c();
4572
+ t = L("div"), i.c();
4624
4573
  },
4625
- m(o, s) {
4626
- ce(o, t, s), i.m(t, null), e[14](t);
4574
+ m(o, a) {
4575
+ he(o, t, a), i.m(t, null), e[14](t);
4627
4576
  },
4628
- p(o, [s]) {
4629
- n === (n = r(o)) && i ? i.p(o, s) : (i.d(1), i = n(o), i && (i.c(), i.m(t, null)));
4577
+ p(o, [a]) {
4578
+ r === (r = n(o)) && i ? i.p(o, a) : (i.d(1), i = r(o), i && (i.c(), i.m(t, null)));
4630
4579
  },
4631
4580
  i: B,
4632
4581
  o: B,
4633
4582
  d(o) {
4634
- o && j(t), i.d(), e[14](null);
4583
+ o && F(t), i.d(), e[14](null);
4635
4584
  }
4636
4585
  };
4637
4586
  }
4638
- function Eo(e, t, r) {
4639
- let n;
4640
- Dr(e, po, (y) => r(2, n = y));
4641
- let { endpoint: i = "" } = t, { session: o = "" } = t, { buttonlocation: s = "" } = t, { lang: a = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: h = "" } = t, c = "", f = !1, p, d = window.navigator.userAgent, m = mo(d) !== "PC";
4587
+ function uo(e, t, n) {
4588
+ let r;
4589
+ Hn(e, eo, (y) => n(2, r = y));
4590
+ let { endpoint: i = "" } = t, { session: o = "" } = t, { buttonlocation: a = "" } = t, { lang: s = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: h = "" } = t, f = "", c = !1, d, p = window.navigator.userAgent, m = to(p) !== "PC";
4642
4591
  const x = window.matchMedia("(min-width: 768px)"), T = () => {
4643
- fetch(h).then((L) => L.json()).then((L) => {
4644
- Object.keys(L).forEach((G) => {
4645
- Rt(G, L[G]);
4592
+ fetch(h).then((I) => I.json()).then((I) => {
4593
+ Object.keys(I).forEach((D) => {
4594
+ Pt(D, I[D]);
4646
4595
  });
4647
- }).catch((L) => {
4648
- console.log(L);
4596
+ }).catch((I) => {
4597
+ console.log(I);
4649
4598
  });
4650
4599
  };
4651
- Object.keys(Ut).forEach((y) => {
4652
- Rt(y, Ut[y]);
4600
+ Object.keys(Ot).forEach((y) => {
4601
+ Pt(y, Ot[y]);
4653
4602
  });
4654
4603
  const w = () => {
4655
4604
  let y = new Headers();
4656
4605
  y.append("Content-type", "application/json"), y.append("X-SessionID", o);
4657
- let L = { method: "DELETE", headers: y };
4658
- fetch(`${i}/v1/player/session/player`, L).then((G) => {
4606
+ let I = { method: "DELETE", headers: y };
4607
+ fetch(`${i}/v1/player/session/player`, I).then((D) => {
4659
4608
  window.postMessage({ type: "LogoutSuccessfull" }, window.location.href);
4660
4609
  });
4661
- }, E = () => (i || (c = "GENERAL-LOGOUT - Endpoint is missing! Please provide a valid endpointURL.", f = !0, console.error(c)), o || (c = "GENERAL-LOGOUT - Session is missing! Please provide a valid session.", f = !0, console.error(c)), f), I = () => {
4662
- bo(a);
4610
+ }, E = () => (i || (f = "GENERAL-LOGOUT - Endpoint is missing! Please provide a valid endpointURL.", c = !0, console.error(f)), o || (f = "GENERAL-LOGOUT - Session is missing! Please provide a valid session.", c = !0, console.error(f)), c), O = () => {
4611
+ no(s);
4663
4612
  }, H = () => {
4664
4613
  let y = document.createElement("style");
4665
- y.innerHTML = u, p.appendChild(y);
4666
- }, U = () => {
4667
- let y = new URL(l), L = document.createElement("style");
4668
- fetch(y.href).then((G) => G.text()).then((G) => {
4669
- L.innerHTML = G, setTimeout(
4614
+ y.innerHTML = u, d.appendChild(y);
4615
+ }, R = () => {
4616
+ let y = new URL(l), I = document.createElement("style");
4617
+ fetch(y.href).then((D) => D.text()).then((D) => {
4618
+ I.innerHTML = D, setTimeout(
4670
4619
  () => {
4671
- p.appendChild(L);
4620
+ d.appendChild(I);
4672
4621
  },
4673
4622
  1
4674
4623
  ), setTimeout(
@@ -4677,47 +4626,47 @@ function Eo(e, t, r) {
4677
4626
  500
4678
4627
  );
4679
4628
  });
4680
- }, de = () => w(), Pr = () => w();
4681
- function Or(y) {
4682
- ke[y ? "unshift" : "push"](() => {
4683
- p = y, r(1, p);
4629
+ }, de = () => w(), xn = () => w();
4630
+ function En(y) {
4631
+ Ge[y ? "unshift" : "push"](() => {
4632
+ d = y, n(1, d);
4684
4633
  });
4685
4634
  }
4686
4635
  return e.$$set = (y) => {
4687
- "endpoint" in y && r(6, i = y.endpoint), "session" in y && r(7, o = y.session), "buttonlocation" in y && r(0, s = y.buttonlocation), "lang" in y && r(8, a = y.lang), "clientstyling" in y && r(9, u = y.clientstyling), "clientstylingurl" in y && r(10, l = y.clientstylingurl), "translationurl" in y && r(11, h = y.translationurl);
4636
+ "endpoint" in y && n(6, i = y.endpoint), "session" in y && n(7, o = y.session), "buttonlocation" in y && n(0, a = y.buttonlocation), "lang" in y && n(8, s = y.lang), "clientstyling" in y && n(9, u = y.clientstyling), "clientstylingurl" in y && n(10, l = y.clientstylingurl), "translationurl" in y && n(11, h = y.translationurl);
4688
4637
  }, e.$$.update = () => {
4689
4638
  e.$$.dirty & /*endpoint, session, buttonlocation*/
4690
- 193 && i && o && s && E(), e.$$.dirty & /*lang*/
4691
- 256 && a && I(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4692
- 514 && u && p && H(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4693
- 1026 && l && p && U(), e.$$.dirty & /*translationurl*/
4639
+ 193 && i && o && a && E(), e.$$.dirty & /*lang*/
4640
+ 256 && s && O(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4641
+ 514 && u && d && H(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4642
+ 1026 && l && d && R(), e.$$.dirty & /*translationurl*/
4694
4643
  2048 && h && T();
4695
4644
  }, [
4696
- s,
4697
- p,
4698
- n,
4645
+ a,
4646
+ d,
4647
+ r,
4699
4648
  m,
4700
4649
  x,
4701
4650
  w,
4702
4651
  i,
4703
4652
  o,
4704
- a,
4653
+ s,
4705
4654
  u,
4706
4655
  l,
4707
4656
  h,
4708
4657
  de,
4709
- Pr,
4710
- Or
4658
+ xn,
4659
+ En
4711
4660
  ];
4712
4661
  }
4713
- class Ar extends cn {
4662
+ class vn extends Jn {
4714
4663
  constructor(t) {
4715
- super(), ln(
4664
+ super(), qn(
4716
4665
  this,
4717
4666
  t,
4718
- Eo,
4719
- xo,
4720
- Gt,
4667
+ uo,
4668
+ ao,
4669
+ Lt,
4721
4670
  {
4722
4671
  endpoint: 6,
4723
4672
  session: 7,
@@ -4727,115 +4676,115 @@ class Ar extends cn {
4727
4676
  clientstylingurl: 10,
4728
4677
  translationurl: 11
4729
4678
  },
4730
- go
4679
+ ro
4731
4680
  );
4732
4681
  }
4733
4682
  get endpoint() {
4734
4683
  return this.$$.ctx[6];
4735
4684
  }
4736
4685
  set endpoint(t) {
4737
- this.$$set({ endpoint: t }), C();
4686
+ this.$$set({ endpoint: t }), N();
4738
4687
  }
4739
4688
  get session() {
4740
4689
  return this.$$.ctx[7];
4741
4690
  }
4742
4691
  set session(t) {
4743
- this.$$set({ session: t }), C();
4692
+ this.$$set({ session: t }), N();
4744
4693
  }
4745
4694
  get buttonlocation() {
4746
4695
  return this.$$.ctx[0];
4747
4696
  }
4748
4697
  set buttonlocation(t) {
4749
- this.$$set({ buttonlocation: t }), C();
4698
+ this.$$set({ buttonlocation: t }), N();
4750
4699
  }
4751
4700
  get lang() {
4752
4701
  return this.$$.ctx[8];
4753
4702
  }
4754
4703
  set lang(t) {
4755
- this.$$set({ lang: t }), C();
4704
+ this.$$set({ lang: t }), N();
4756
4705
  }
4757
4706
  get clientstyling() {
4758
4707
  return this.$$.ctx[9];
4759
4708
  }
4760
4709
  set clientstyling(t) {
4761
- this.$$set({ clientstyling: t }), C();
4710
+ this.$$set({ clientstyling: t }), N();
4762
4711
  }
4763
4712
  get clientstylingurl() {
4764
4713
  return this.$$.ctx[10];
4765
4714
  }
4766
4715
  set clientstylingurl(t) {
4767
- this.$$set({ clientstylingurl: t }), C();
4716
+ this.$$set({ clientstylingurl: t }), N();
4768
4717
  }
4769
4718
  get translationurl() {
4770
4719
  return this.$$.ctx[11];
4771
4720
  }
4772
4721
  set translationurl(t) {
4773
- this.$$set({ translationurl: t }), C();
4722
+ this.$$set({ translationurl: t }), N();
4774
4723
  }
4775
4724
  }
4776
- hn(Ar, { endpoint: {}, session: {}, buttonlocation: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
4777
- const Jo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4725
+ Qn(vn, { endpoint: {}, session: {}, buttonlocation: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
4726
+ const Ro = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4778
4727
  __proto__: null,
4779
- default: Ar
4728
+ default: vn
4780
4729
  }, Symbol.toStringTag, { value: "Module" }));
4781
4730
  export {
4782
- te as $,
4783
- ko as A,
4784
- No as B,
4785
- Oo as C,
4786
- wo as D,
4787
- Bo as E,
4788
- Ao as F,
4789
- Ho as G,
4790
- nn as H,
4791
- Wo as I,
4792
- Co as J,
4793
- Zo as K,
4794
- Lo as L,
4795
- Go as M,
4796
- Ro as N,
4797
- Uo as O,
4798
- we as P,
4799
- Do as Q,
4800
- he as R,
4801
- cn as S,
4802
- Qo as T,
4803
- Po as U,
4804
- Io as V,
4805
- Wr as W,
4806
- To as X,
4807
- $r as Y,
4808
- Xo as Z,
4809
- zo as _,
4810
- Sr as a,
4811
- Vo as a0,
4812
- qo as a1,
4813
- Pn as a2,
4814
- $o as a3,
4815
- Jo as a4,
4816
- jr as b,
4817
- hn as c,
4818
- Vr as d,
4819
- N as e,
4820
- C as f,
4731
+ ee as $,
4732
+ Po as A,
4733
+ _o as B,
4734
+ bo as C,
4735
+ ho as D,
4736
+ co as E,
4737
+ po as F,
4738
+ fo as G,
4739
+ Vn as H,
4740
+ Lo as I,
4741
+ vo as J,
4742
+ Co as K,
4743
+ yo as L,
4744
+ Ho as M,
4745
+ So as N,
4746
+ To as O,
4747
+ Te as P,
4748
+ wo as Q,
4749
+ le as R,
4750
+ Jn as S,
4751
+ $o as T,
4752
+ mo as U,
4753
+ go as V,
4754
+ Nn as W,
4755
+ lo as X,
4756
+ Sn as Y,
4757
+ Io as Z,
4758
+ No as _,
4759
+ mn as a,
4760
+ Oo as a0,
4761
+ Mo as a1,
4762
+ mr as a2,
4763
+ Eo as a3,
4764
+ Ro as a4,
4765
+ Pn as b,
4766
+ Qn as c,
4767
+ In as d,
4768
+ L as e,
4769
+ N as f,
4821
4770
  A as g,
4822
- Fo as h,
4823
- ln as i,
4824
- Mo as j,
4825
- ce as k,
4771
+ Bo as h,
4772
+ qn as i,
4773
+ xo as j,
4774
+ he as k,
4826
4775
  P as l,
4827
- Wt as m,
4828
- zt as n,
4776
+ Ut as m,
4777
+ Dt as n,
4829
4778
  B as o,
4830
- j as p,
4831
- Dr as q,
4832
- F as r,
4833
- Gt as s,
4779
+ F as p,
4780
+ Hn as q,
4781
+ G as r,
4782
+ Lt as s,
4834
4783
  fe as t,
4835
- mo as u,
4836
- jo as v,
4784
+ to as u,
4785
+ Ao as v,
4837
4786
  ne as w,
4838
- ke as x,
4839
- po as y,
4840
- pe as z
4787
+ Ge as x,
4788
+ eo as y,
4789
+ ce as z
4841
4790
  };