@everymatrix/player-account-gaming-limits 1.76.13 → 1.76.14

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 (24) hide show
  1. package/components/PlayerAccountGamingLimits-B7Ae4m4I.cjs +21 -0
  2. package/components/{PlayerAccountGamingLimits-Csz1rGwm.js → PlayerAccountGamingLimits-DZxeJ9O6.js} +914 -935
  3. package/components/{PlayerAccountGamingLimits-B8dVy1dw.js → PlayerAccountGamingLimits-DtzP7G6K.js} +916 -937
  4. package/components/{PlayerAccountGamingLimitsConfirmationModal-Ct3UzL1l.js → PlayerAccountGamingLimitsConfirmationModal-Coe5msP4.js} +30 -30
  5. package/components/{PlayerAccountGamingLimitsConfirmationModal-BSyUmrl3.js → PlayerAccountGamingLimitsConfirmationModal-Cojk6mIA.js} +30 -30
  6. package/components/{PlayerAccountGamingLimitsConfirmationModal-beH99OjB.cjs → PlayerAccountGamingLimitsConfirmationModal-DsRj01Df.cjs} +1 -1
  7. package/components/{PlayerAccountGamingLimitsGroupEdit-56lXVmhz.js → PlayerAccountGamingLimitsGroupEdit-CuYXb_Td.js} +56 -54
  8. package/components/{PlayerAccountGamingLimitsGroupEdit-5CQm4ZCc.js → PlayerAccountGamingLimitsGroupEdit-DnDtGiqd.js} +56 -54
  9. package/components/PlayerAccountGamingLimitsGroupEdit-oQYdpkFq.cjs +1 -0
  10. package/components/{PlayerAccountGamingLimitsInfoCard-Fw7CHUvq.cjs → PlayerAccountGamingLimitsInfoCard-CtpmE0je.cjs} +1 -1
  11. package/components/{PlayerAccountGamingLimitsInfoCard-DYnNmpCR.js → PlayerAccountGamingLimitsInfoCard-DDFrYx0M.js} +91 -91
  12. package/components/{PlayerAccountGamingLimitsInfoCard-DJVcHz9f.js → PlayerAccountGamingLimitsInfoCard-x9MVFt7G.js} +95 -95
  13. package/components/{PlayerAccountGamingLimitsPopup-ky7XPDCp.js → PlayerAccountGamingLimitsPopup-9t0My0ez.js} +26 -26
  14. package/components/{PlayerAccountGamingLimitsPopup-BgSqCL5f.js → PlayerAccountGamingLimitsPopup-BHOTrnnB.js} +26 -26
  15. package/components/{PlayerAccountGamingLimitsPopup-CjUttWsG.cjs → PlayerAccountGamingLimitsPopup-DjnXMxiO.cjs} +1 -1
  16. package/components/{PlayerAccountModal-ChUAMeqV.js → PlayerAccountModal-BaTp6xqc.js} +33 -33
  17. package/components/{PlayerAccountModal-CfM5jG9-.cjs → PlayerAccountModal-CUiC1zgO.cjs} +1 -1
  18. package/components/{PlayerAccountModal-woh_9W4B.js → PlayerAccountModal-Dv-RPvC_.js} +33 -33
  19. package/es2015/player-account-gaming-limits.cjs +1 -1
  20. package/es2015/player-account-gaming-limits.js +1 -1
  21. package/esnext/player-account-gaming-limits.js +1 -1
  22. package/package.json +1 -1
  23. package/components/PlayerAccountGamingLimits-BFWvpDsh.cjs +0 -21
  24. package/components/PlayerAccountGamingLimitsGroupEdit-C6B13sEM.cjs +0 -1
@@ -1,7 +1,7 @@
1
- function I() {
1
+ function M() {
2
2
  }
3
3
  const Hr = (e) => e;
4
- function Ar(e, t) {
4
+ function Br(e, t) {
5
5
  for (const r in t)
6
6
  e[r] = t[r];
7
7
  return (
@@ -12,64 +12,64 @@ function Ar(e, t) {
12
12
  function Dt(e) {
13
13
  return e();
14
14
  }
15
- function pt() {
15
+ function mt() {
16
16
  return /* @__PURE__ */ Object.create(null);
17
17
  }
18
18
  function F(e) {
19
19
  e.forEach(Dt);
20
20
  }
21
- function He(e) {
21
+ function Se(e) {
22
22
  return typeof e == "function";
23
23
  }
24
24
  function Ut(e, t) {
25
25
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
26
26
  }
27
- function Pr(e) {
27
+ function Ar(e) {
28
28
  return Object.keys(e).length === 0;
29
29
  }
30
- function Ft(e, ...t) {
30
+ function $t(e, ...t) {
31
31
  if (e == null) {
32
32
  for (const i of t)
33
33
  i(void 0);
34
- return I;
34
+ return M;
35
35
  }
36
36
  const r = e.subscribe(...t);
37
37
  return r.unsubscribe ? () => r.unsubscribe() : r;
38
38
  }
39
- function Br(e, t, r) {
40
- e.$$.on_destroy.push(Ft(t, r));
39
+ function Pr(e, t, r) {
40
+ e.$$.on_destroy.push($t(t, r));
41
41
  }
42
- function So(e, t, r, i) {
42
+ function Ls(e, t, r, i) {
43
43
  if (e) {
44
- const n = jt(e, t, r, i);
44
+ const n = Ft(e, t, r, i);
45
45
  return e[0](n);
46
46
  }
47
47
  }
48
- function jt(e, t, r, i) {
49
- return e[1] && i ? Ar(r.ctx.slice(), e[1](i(t))) : r.ctx;
48
+ function Ft(e, t, r, i) {
49
+ return e[1] && i ? Br(r.ctx.slice(), e[1](i(t))) : r.ctx;
50
50
  }
51
- function Ho(e, t, r, i) {
51
+ function Ts(e, t, r, i) {
52
52
  if (e[2] && i) {
53
53
  const n = e[2](i(r));
54
54
  if (t.dirty === void 0)
55
55
  return n;
56
56
  if (typeof n == "object") {
57
- const o = [], a = Math.max(t.dirty.length, n.length);
58
- for (let s = 0; s < a; s += 1)
59
- o[s] = t.dirty[s] | n[s];
60
- return o;
57
+ const s = [], a = Math.max(t.dirty.length, n.length);
58
+ for (let o = 0; o < a; o += 1)
59
+ s[o] = t.dirty[o] | n[o];
60
+ return s;
61
61
  }
62
62
  return t.dirty | n;
63
63
  }
64
64
  return t.dirty;
65
65
  }
66
- function Ao(e, t, r, i, n, o) {
66
+ function Ss(e, t, r, i, n, s) {
67
67
  if (n) {
68
- const a = jt(t, r, i, o);
68
+ const a = Ft(t, r, i, s);
69
69
  e.p(a, n);
70
70
  }
71
71
  }
72
- function Po(e) {
72
+ function Hs(e) {
73
73
  if (e.ctx.length > 32) {
74
74
  const t = [], r = e.ctx.length / 32;
75
75
  for (let i = 0; i < r; i++)
@@ -78,36 +78,36 @@ function Po(e) {
78
78
  }
79
79
  return -1;
80
80
  }
81
- const kt = typeof window < "u";
82
- let Or = kt ? () => window.performance.now() : () => Date.now(), at = kt ? (e) => requestAnimationFrame(e) : I;
83
- const Q = /* @__PURE__ */ new Set();
84
- function Vt(e) {
85
- Q.forEach((t) => {
86
- t.c(e) || (Q.delete(t), t.f());
87
- }), Q.size !== 0 && at(Vt);
81
+ const jt = typeof window < "u";
82
+ let Or = jt ? () => window.performance.now() : () => Date.now(), nt = jt ? (e) => requestAnimationFrame(e) : M;
83
+ const Z = /* @__PURE__ */ new Set();
84
+ function kt(e) {
85
+ Z.forEach((t) => {
86
+ t.c(e) || (Z.delete(t), t.f());
87
+ }), Z.size !== 0 && nt(kt);
88
88
  }
89
- function Ir(e) {
89
+ function Mr(e) {
90
90
  let t;
91
- return Q.size === 0 && at(Vt), {
91
+ return Z.size === 0 && nt(kt), {
92
92
  promise: new Promise((r) => {
93
- Q.add(t = { c: e, f: r });
93
+ Z.add(t = { c: e, f: r });
94
94
  }),
95
95
  abort() {
96
- Q.delete(t);
96
+ Z.delete(t);
97
97
  }
98
98
  };
99
99
  }
100
- function w(e, t) {
100
+ function L(e, t) {
101
101
  e.appendChild(t);
102
102
  }
103
- function Mr(e, t, r) {
104
- const i = ut(e);
103
+ function Ir(e, t, r) {
104
+ const i = st(e);
105
105
  if (!i.getElementById(t)) {
106
- const n = O("style");
107
- n.id = t, n.textContent = r, Xt(i, n);
106
+ const n = P("style");
107
+ n.id = t, n.textContent = r, Vt(i, n);
108
108
  }
109
109
  }
110
- function ut(e) {
110
+ function st(e) {
111
111
  if (!e)
112
112
  return document;
113
113
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -118,11 +118,11 @@ function ut(e) {
118
118
  ) : e.ownerDocument;
119
119
  }
120
120
  function Nr(e) {
121
- const t = O("style");
122
- return t.textContent = "/* empty */", Xt(ut(e), t), t.sheet;
121
+ const t = P("style");
122
+ return t.textContent = "/* empty */", Vt(st(e), t), t.sheet;
123
123
  }
124
- function Xt(e, t) {
125
- return w(
124
+ function Vt(e, t) {
125
+ return L(
126
126
  /** @type {Document} */
127
127
  e.head || e,
128
128
  t
@@ -131,32 +131,32 @@ function Xt(e, t) {
131
131
  function te(e, t, r) {
132
132
  e.insertBefore(t, r || null);
133
133
  }
134
- function U(e) {
134
+ function $(e) {
135
135
  e.parentNode && e.parentNode.removeChild(e);
136
136
  }
137
- function Bo(e, t) {
137
+ function Bs(e, t) {
138
138
  for (let r = 0; r < e.length; r += 1)
139
139
  e[r] && e[r].d(t);
140
140
  }
141
- function O(e) {
141
+ function P(e) {
142
142
  return document.createElement(e);
143
143
  }
144
- function V(e) {
144
+ function k(e) {
145
145
  return document.createElementNS("http://www.w3.org/2000/svg", e);
146
146
  }
147
- function ue(e) {
147
+ function le(e) {
148
148
  return document.createTextNode(e);
149
149
  }
150
- function z() {
151
- return ue(" ");
150
+ function W() {
151
+ return le(" ");
152
152
  }
153
- function Oo() {
154
- return ue("");
153
+ function As() {
154
+ return le("");
155
155
  }
156
156
  function Cr(e, t, r, i) {
157
157
  return e.addEventListener(t, r, i), () => e.removeEventListener(t, r, i);
158
158
  }
159
- function Io(e) {
159
+ function Ps(e) {
160
160
  return function(t) {
161
161
  return t.preventDefault(), e.call(this, t);
162
162
  };
@@ -168,20 +168,20 @@ function m(e, t, r) {
168
168
  const i = t.toLowerCase();
169
169
  i in e ? e[i] = typeof e[i] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : H(e, t, r);
170
170
  }
171
- function Mo(e) {
171
+ function Os(e) {
172
172
  return e === "" ? null : +e;
173
173
  }
174
174
  function Rr(e) {
175
175
  return Array.from(e.childNodes);
176
176
  }
177
- function Wt(e, t) {
177
+ function Xt(e, t) {
178
178
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
179
179
  t);
180
180
  }
181
- function No(e, t) {
181
+ function Ms(e, t) {
182
182
  e.value = t ?? "";
183
183
  }
184
- function Co(e, t, r) {
184
+ function Is(e, t, r) {
185
185
  for (let i = 0; i < e.options.length; i += 1) {
186
186
  const n = e.options[i];
187
187
  if (n.__value === t) {
@@ -191,14 +191,14 @@ function Co(e, t, r) {
191
191
  }
192
192
  (!r || t !== void 0) && (e.selectedIndex = -1);
193
193
  }
194
- function Ro(e) {
194
+ function Ns(e) {
195
195
  const t = e.querySelector(":checked");
196
196
  return t && t.__value;
197
197
  }
198
198
  function Gr(e, t, { bubbles: r = !1, cancelable: i = !1 } = {}) {
199
199
  return new CustomEvent(e, { detail: t, bubbles: r, cancelable: i });
200
200
  }
201
- function $r(e) {
201
+ function Dr(e) {
202
202
  const t = {};
203
203
  return e.childNodes.forEach(
204
204
  /** @param {Element} node */
@@ -209,94 +209,94 @@ function $r(e) {
209
209
  }
210
210
  const Ee = /* @__PURE__ */ new Map();
211
211
  let xe = 0;
212
- function Dr(e) {
212
+ function Ur(e) {
213
213
  let t = 5381, r = e.length;
214
214
  for (; r--; )
215
215
  t = (t << 5) - t ^ e.charCodeAt(r);
216
216
  return t >>> 0;
217
217
  }
218
- function Ur(e, t) {
218
+ function $r(e, t) {
219
219
  const r = { stylesheet: Nr(t), rules: {} };
220
220
  return Ee.set(e, r), r;
221
221
  }
222
- function dt(e, t, r, i, n, o, a, s = 0) {
222
+ function pt(e, t, r, i, n, s, a, o = 0) {
223
223
  const u = 16.666 / i;
224
224
  let h = `{
225
225
  `;
226
226
  for (let d = 0; d <= 1; d += u) {
227
- const v = t + (r - t) * o(d);
227
+ const v = t + (r - t) * s(d);
228
228
  h += d * 100 + `%{${a(v, 1 - v)}}
229
229
  `;
230
230
  }
231
231
  const l = h + `100% {${a(r, 1 - r)}}
232
- }`, f = `__svelte_${Dr(l)}_${s}`, c = ut(e), { stylesheet: b, rules: p } = Ee.get(c) || Ur(c, e);
232
+ }`, f = `__svelte_${Ur(l)}_${o}`, c = st(e), { stylesheet: b, rules: p } = Ee.get(c) || $r(c, e);
233
233
  p[f] || (p[f] = !0, b.insertRule(`@keyframes ${f} ${l}`, b.cssRules.length));
234
234
  const g = e.style.animation || "";
235
235
  return e.style.animation = `${g ? `${g}, ` : ""}${f} ${i}ms linear ${n}ms 1 both`, xe += 1, f;
236
236
  }
237
237
  function Fr(e, t) {
238
238
  const r = (e.style.animation || "").split(", "), i = r.filter(
239
- t ? (o) => o.indexOf(t) < 0 : (o) => o.indexOf("__svelte") === -1
239
+ t ? (s) => s.indexOf(t) < 0 : (s) => s.indexOf("__svelte") === -1
240
240
  // remove all Svelte animations
241
241
  ), n = r.length - i.length;
242
242
  n && (e.style.animation = i.join(", "), xe -= n, xe || jr());
243
243
  }
244
244
  function jr() {
245
- at(() => {
245
+ nt(() => {
246
246
  xe || (Ee.forEach((e) => {
247
247
  const { ownerNode: t } = e.stylesheet;
248
- t && U(t);
248
+ t && $(t);
249
249
  }), Ee.clear());
250
250
  });
251
251
  }
252
- let le;
253
- function ae(e) {
254
- le = e;
252
+ let he;
253
+ function ue(e) {
254
+ he = e;
255
255
  }
256
256
  function kr() {
257
- if (!le)
257
+ if (!he)
258
258
  throw new Error("Function called outside component initialization");
259
- return le;
259
+ return he;
260
260
  }
261
261
  function Vr(e) {
262
262
  kr().$$.on_mount.push(e);
263
263
  }
264
- const Z = [], Ve = [];
265
- let q = [];
266
- const gt = [], Xr = /* @__PURE__ */ Promise.resolve();
267
- let Xe = !1;
264
+ const z = [], ke = [];
265
+ let Q = [];
266
+ const dt = [], Xr = /* @__PURE__ */ Promise.resolve();
267
+ let Ve = !1;
268
268
  function Wr() {
269
- Xe || (Xe = !0, Xr.then(P));
269
+ Ve || (Ve = !0, Xr.then(B));
270
270
  }
271
271
  function we(e) {
272
- q.push(e);
272
+ Q.push(e);
273
273
  }
274
- const Ce = /* @__PURE__ */ new Set();
275
- let X = 0;
276
- function P() {
277
- if (X !== 0)
274
+ const Ne = /* @__PURE__ */ new Set();
275
+ let V = 0;
276
+ function B() {
277
+ if (V !== 0)
278
278
  return;
279
- const e = le;
279
+ const e = he;
280
280
  do {
281
281
  try {
282
- for (; X < Z.length; ) {
283
- const t = Z[X];
284
- X++, ae(t), zr(t.$$);
282
+ for (; V < z.length; ) {
283
+ const t = z[V];
284
+ V++, ue(t), zr(t.$$);
285
285
  }
286
286
  } catch (t) {
287
- throw Z.length = 0, X = 0, t;
287
+ throw z.length = 0, V = 0, t;
288
288
  }
289
- for (ae(null), Z.length = 0, X = 0; Ve.length; )
290
- Ve.pop()();
291
- for (let t = 0; t < q.length; t += 1) {
292
- const r = q[t];
293
- Ce.has(r) || (Ce.add(r), r());
289
+ for (ue(null), z.length = 0, V = 0; ke.length; )
290
+ ke.pop()();
291
+ for (let t = 0; t < Q.length; t += 1) {
292
+ const r = Q[t];
293
+ Ne.has(r) || (Ne.add(r), r());
294
294
  }
295
- q.length = 0;
296
- } while (Z.length);
297
- for (; gt.length; )
298
- gt.pop()();
299
- Xe = !1, Ce.clear(), ae(e);
295
+ Q.length = 0;
296
+ } while (z.length);
297
+ for (; dt.length; )
298
+ dt.pop()();
299
+ Ve = !1, Ne.clear(), ue(e);
300
300
  }
301
301
  function zr(e) {
302
302
  if (e.fragment !== null) {
@@ -307,7 +307,7 @@ function zr(e) {
307
307
  }
308
308
  function Zr(e) {
309
309
  const t = [], r = [];
310
- q.forEach((i) => e.indexOf(i) === -1 ? t.push(i) : r.push(i)), r.forEach((i) => i()), q = t;
310
+ Q.forEach((i) => e.indexOf(i) === -1 ? t.push(i) : r.push(i)), r.forEach((i) => i()), Q = t;
311
311
  }
312
312
  let oe;
313
313
  function Qr() {
@@ -315,38 +315,38 @@ function Qr() {
315
315
  oe = null;
316
316
  })), oe;
317
317
  }
318
- function Re(e, t, r) {
318
+ function Ce(e, t, r) {
319
319
  e.dispatchEvent(Gr(`${t ? "intro" : "outro"}${r}`));
320
320
  }
321
321
  const ge = /* @__PURE__ */ new Set();
322
- let R;
323
- function Go() {
324
- R = {
322
+ let C;
323
+ function Cs() {
324
+ C = {
325
325
  r: 0,
326
326
  c: [],
327
- p: R
327
+ p: C
328
328
  // parent group
329
329
  };
330
330
  }
331
- function $o() {
332
- R.r || F(R.c), R = R.p;
331
+ function Rs() {
332
+ C.r || F(C.c), C = C.p;
333
333
  }
334
334
  function qr(e, t) {
335
335
  e && e.i && (ge.delete(e), e.i(t));
336
336
  }
337
- function Do(e, t, r, i) {
337
+ function Gs(e, t, r, i) {
338
338
  if (e && e.o) {
339
339
  if (ge.has(e))
340
340
  return;
341
- ge.add(e), R.c.push(() => {
341
+ ge.add(e), C.c.push(() => {
342
342
  ge.delete(e), i && (r && e.d(1), i());
343
343
  }), e.o(t);
344
344
  } else
345
345
  i && i();
346
346
  }
347
347
  const Jr = { duration: 0 };
348
- function Uo(e, t, r, i) {
349
- let o = t(e, r, { direction: "both" }), a = i ? 0 : 1, s = null, u = null, h = null, l;
348
+ function Ds(e, t, r, i) {
349
+ let s = t(e, r, { direction: "both" }), a = i ? 0 : 1, o = null, u = null, h = null, l;
350
350
  function f() {
351
351
  h && Fr(e, h);
352
352
  }
@@ -370,52 +370,52 @@ function Uo(e, t, r, i) {
370
370
  delay: g = 0,
371
371
  duration: d = 300,
372
372
  easing: v = Hr,
373
- tick: T = I,
373
+ tick: T = M,
374
374
  css: S
375
- } = o || Jr, M = {
375
+ } = s || Jr, I = {
376
376
  start: Or() + g,
377
377
  b: p
378
378
  };
379
- p || (M.group = R, R.r += 1), "inert" in e && (p ? l !== void 0 && (e.inert = l) : (l = /** @type {HTMLElement} */
380
- e.inert, e.inert = !0)), s || u ? u = M : (S && (f(), h = dt(e, a, p, d, g, v, S)), p && T(0, 1), s = c(M, d), we(() => Re(e, p, "start")), Ir((A) => {
381
- if (u && A > u.start && (s = c(u, d), u = null, Re(e, s.b, "start"), S && (f(), h = dt(
379
+ p || (I.group = C, C.r += 1), "inert" in e && (p ? l !== void 0 && (e.inert = l) : (l = /** @type {HTMLElement} */
380
+ e.inert, e.inert = !0)), o || u ? u = I : (S && (f(), h = pt(e, a, p, d, g, v, S)), p && T(0, 1), o = c(I, d), we(() => Ce(e, p, "start")), Mr((O) => {
381
+ if (u && O > u.start && (o = c(u, d), u = null, Ce(e, o.b, "start"), S && (f(), h = pt(
382
382
  e,
383
383
  a,
384
- s.b,
385
- s.duration,
384
+ o.b,
385
+ o.duration,
386
386
  0,
387
387
  v,
388
- o.css
389
- ))), s) {
390
- if (A >= s.end)
391
- T(a = s.b, 1 - a), Re(e, s.b, "end"), u || (s.b ? f() : --s.group.r || F(s.group.c)), s = null;
392
- else if (A >= s.start) {
393
- const C = A - s.start;
394
- a = s.a + s.d * v(C / s.duration), T(a, 1 - a);
388
+ s.css
389
+ ))), o) {
390
+ if (O >= o.end)
391
+ T(a = o.b, 1 - a), Ce(e, o.b, "end"), u || (o.b ? f() : --o.group.r || F(o.group.c)), o = null;
392
+ else if (O >= o.start) {
393
+ const N = O - o.start;
394
+ a = o.a + o.d * v(N / o.duration), T(a, 1 - a);
395
395
  }
396
396
  }
397
- return !!(s || u);
397
+ return !!(o || u);
398
398
  }));
399
399
  }
400
400
  return {
401
401
  run(p) {
402
- He(o) ? Qr().then(() => {
403
- o = o({ direction: p ? "in" : "out" }), b(p);
402
+ Se(s) ? Qr().then(() => {
403
+ s = s({ direction: p ? "in" : "out" }), b(p);
404
404
  }) : b(p);
405
405
  },
406
406
  end() {
407
- f(), s = u = null;
407
+ f(), o = u = null;
408
408
  }
409
409
  };
410
410
  }
411
- function Fo(e) {
411
+ function Us(e) {
412
412
  return e?.length !== void 0 ? e : Array.from(e);
413
413
  }
414
414
  function Yr(e, t, r) {
415
415
  const { fragment: i, after_update: n } = e.$$;
416
416
  i && i.m(t, r), we(() => {
417
- const o = e.$$.on_mount.map(Dt).filter(He);
418
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : F(o), e.$$.on_mount = [];
417
+ const s = e.$$.on_mount.map(Dt).filter(Se);
418
+ e.$$.on_destroy ? e.$$.on_destroy.push(...s) : F(s), e.$$.on_mount = [];
419
419
  }), n.forEach(we);
420
420
  }
421
421
  function Kr(e, t) {
@@ -423,19 +423,19 @@ function Kr(e, t) {
423
423
  r.fragment !== null && (Zr(r.after_update), F(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
424
424
  }
425
425
  function ei(e, t) {
426
- e.$$.dirty[0] === -1 && (Z.push(e), Wr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
426
+ e.$$.dirty[0] === -1 && (z.push(e), Wr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
427
427
  }
428
- function ti(e, t, r, i, n, o, a = null, s = [-1]) {
429
- const u = le;
430
- ae(e);
428
+ function ti(e, t, r, i, n, s, a = null, o = [-1]) {
429
+ const u = he;
430
+ ue(e);
431
431
  const h = e.$$ = {
432
432
  fragment: null,
433
433
  ctx: [],
434
434
  // state
435
- props: o,
436
- update: I,
435
+ props: s,
436
+ update: M,
437
437
  not_equal: n,
438
- bound: pt(),
438
+ bound: mt(),
439
439
  // lifecycle
440
440
  on_mount: [],
441
441
  on_destroy: [],
@@ -444,8 +444,8 @@ function ti(e, t, r, i, n, o, a = null, s = [-1]) {
444
444
  after_update: [],
445
445
  context: new Map(t.context || (u ? u.$$.context : [])),
446
446
  // everything else
447
- callbacks: pt(),
448
- dirty: s,
447
+ callbacks: mt(),
448
+ dirty: o,
449
449
  skip_bound: !1,
450
450
  root: t.target || u.$$.root
451
451
  };
@@ -457,15 +457,15 @@ function ti(e, t, r, i, n, o, a = null, s = [-1]) {
457
457
  }) : [], h.update(), l = !0, F(h.before_update), h.fragment = i ? i(h.ctx) : !1, t.target) {
458
458
  if (t.hydrate) {
459
459
  const f = Rr(t.target);
460
- h.fragment && h.fragment.l(f), f.forEach(U);
460
+ h.fragment && h.fragment.l(f), f.forEach($);
461
461
  } else
462
462
  h.fragment && h.fragment.c();
463
- t.intro && qr(e.$$.fragment), Yr(e, t.target, t.anchor), P();
463
+ t.intro && qr(e.$$.fragment), Yr(e, t.target, t.anchor), B();
464
464
  }
465
- ae(u);
465
+ ue(u);
466
466
  }
467
- let zt;
468
- typeof HTMLElement == "function" && (zt = class extends HTMLElement {
467
+ let Wt;
468
+ typeof HTMLElement == "function" && (Wt = class extends HTMLElement {
469
469
  /** The Svelte component constructor */
470
470
  $$ctor;
471
471
  /** Slots */
@@ -504,32 +504,32 @@ typeof HTMLElement == "function" && (zt = class extends HTMLElement {
504
504
  if (this.$$cn = !0, !this.$$c) {
505
505
  let e = function(n) {
506
506
  return () => {
507
- let o;
507
+ let s;
508
508
  return {
509
509
  c: function() {
510
- o = O("slot"), n !== "default" && H(o, "name", n);
510
+ s = P("slot"), n !== "default" && H(s, "name", n);
511
511
  },
512
512
  /**
513
513
  * @param {HTMLElement} target
514
514
  * @param {HTMLElement} [anchor]
515
515
  */
516
516
  m: function(u, h) {
517
- te(u, o, h);
517
+ te(u, s, h);
518
518
  },
519
519
  d: function(u) {
520
- u && U(o);
520
+ u && $(s);
521
521
  }
522
522
  };
523
523
  };
524
524
  };
525
525
  if (await Promise.resolve(), !this.$$cn || this.$$c)
526
526
  return;
527
- const t = {}, r = $r(this);
527
+ const t = {}, r = Dr(this);
528
528
  for (const n of this.$$s)
529
529
  n in r && (t[n] = [e(n)]);
530
530
  for (const n of this.attributes) {
531
- const o = this.$$g_p(n.name);
532
- o in this.$$d || (this.$$d[o] = be(o, n.value, this.$$p_d, "toProp"));
531
+ const s = this.$$g_p(n.name);
532
+ s in this.$$d || (this.$$d[s] = be(s, n.value, this.$$p_d, "toProp"));
533
533
  }
534
534
  for (const n in this.$$p_d)
535
535
  !(n in this.$$d) && this[n] !== void 0 && (this.$$d[n] = this[n], delete this[n]);
@@ -547,21 +547,21 @@ typeof HTMLElement == "function" && (zt = class extends HTMLElement {
547
547
  this.$$r = !0;
548
548
  for (const n in this.$$p_d)
549
549
  if (this.$$d[n] = this.$$c.$$.ctx[this.$$c.$$.props[n]], this.$$p_d[n].reflect) {
550
- const o = be(
550
+ const s = be(
551
551
  n,
552
552
  this.$$d[n],
553
553
  this.$$p_d,
554
554
  "toAttribute"
555
555
  );
556
- o == null ? this.removeAttribute(this.$$p_d[n].attribute || n) : this.setAttribute(this.$$p_d[n].attribute || n, o);
556
+ s == null ? this.removeAttribute(this.$$p_d[n].attribute || n) : this.setAttribute(this.$$p_d[n].attribute || n, s);
557
557
  }
558
558
  this.$$r = !1;
559
559
  };
560
560
  this.$$c.$$.after_update.push(i), i();
561
561
  for (const n in this.$$l)
562
- for (const o of this.$$l[n]) {
563
- const a = this.$$c.$on(n, o);
564
- this.$$l_u.set(o, a);
562
+ for (const s of this.$$l[n]) {
563
+ const a = this.$$c.$on(n, s);
564
+ this.$$l_u.set(s, a);
565
565
  }
566
566
  this.$$l = {};
567
567
  }
@@ -611,30 +611,30 @@ function be(e, t, r, i) {
611
611
  return t;
612
612
  }
613
613
  }
614
- function ri(e, t, r, i, n, o) {
615
- let a = class extends zt {
614
+ function ri(e, t, r, i, n, s) {
615
+ let a = class extends Wt {
616
616
  constructor() {
617
617
  super(e, r, n), this.$$p_d = t;
618
618
  }
619
619
  static get observedAttributes() {
620
620
  return Object.keys(t).map(
621
- (s) => (t[s].attribute || s).toLowerCase()
621
+ (o) => (t[o].attribute || o).toLowerCase()
622
622
  );
623
623
  }
624
624
  };
625
- return Object.keys(t).forEach((s) => {
626
- Object.defineProperty(a.prototype, s, {
625
+ return Object.keys(t).forEach((o) => {
626
+ Object.defineProperty(a.prototype, o, {
627
627
  get() {
628
- return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
628
+ return this.$$c && o in this.$$c ? this.$$c[o] : this.$$d[o];
629
629
  },
630
630
  set(u) {
631
- u = be(s, u, t), this.$$d[s] = u, this.$$c?.$set({ [s]: u });
631
+ u = be(o, u, t), this.$$d[o] = u, this.$$c?.$set({ [o]: u });
632
632
  }
633
633
  });
634
- }), i.forEach((s) => {
635
- Object.defineProperty(a.prototype, s, {
634
+ }), i.forEach((o) => {
635
+ Object.defineProperty(a.prototype, o, {
636
636
  get() {
637
- return this.$$c?.[s];
637
+ return this.$$c?.[o];
638
638
  }
639
639
  });
640
640
  }), e.element = /** @type {any} */
@@ -659,7 +659,7 @@ class ii {
659
659
  $$set = void 0;
660
660
  /** @returns {void} */
661
661
  $destroy() {
662
- Kr(this, 1), this.$destroy = I;
662
+ Kr(this, 1), this.$destroy = M;
663
663
  }
664
664
  /**
665
665
  * @template {Extract<keyof Events, string>} K
@@ -668,8 +668,8 @@ class ii {
668
668
  * @returns {() => void}
669
669
  */
670
670
  $on(t, r) {
671
- if (!He(r))
672
- return I;
671
+ if (!Se(r))
672
+ return M;
673
673
  const i = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
674
674
  return i.push(r), () => {
675
675
  const n = i.indexOf(r);
@@ -681,7 +681,7 @@ class ii {
681
681
  * @returns {void}
682
682
  */
683
683
  $set(t) {
684
- this.$$set && !Pr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
684
+ this.$$set && !Ar(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
685
685
  }
686
686
  }
687
687
  const ni = "4";
@@ -700,24 +700,43 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
700
700
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
701
701
  PERFORMANCE OF THIS SOFTWARE.
702
702
  ***************************************************************************** */
703
- var We = function(e, t) {
704
- return We = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
703
+ var Xe = function(e, t) {
704
+ return Xe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
705
705
  r.__proto__ = i;
706
706
  } || function(r, i) {
707
707
  for (var n in i)
708
708
  Object.prototype.hasOwnProperty.call(i, n) && (r[n] = i[n]);
709
- }, We(e, t);
709
+ }, Xe(e, t);
710
710
  };
711
- function fe(e, t) {
711
+ function G(e, t) {
712
712
  if (typeof t != "function" && t !== null)
713
713
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
714
- We(e, t);
714
+ Xe(e, t);
715
715
  function r() {
716
716
  this.constructor = e;
717
717
  }
718
718
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
719
719
  }
720
- function ze(e) {
720
+ var x = function() {
721
+ return x = Object.assign || function(t) {
722
+ for (var r, i = 1, n = arguments.length; i < n; i++) {
723
+ r = arguments[i];
724
+ for (var s in r)
725
+ Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
726
+ }
727
+ return t;
728
+ }, x.apply(this, arguments);
729
+ };
730
+ function si(e, t) {
731
+ var r = {};
732
+ for (var i in e)
733
+ Object.prototype.hasOwnProperty.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
734
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
735
+ for (var n = 0, i = Object.getOwnPropertySymbols(e); n < i.length; n++)
736
+ t.indexOf(i[n]) < 0 && Object.prototype.propertyIsEnumerable.call(e, i[n]) && (r[i[n]] = e[i[n]]);
737
+ return r;
738
+ }
739
+ function We(e) {
721
740
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], i = 0;
722
741
  if (r)
723
742
  return r.call(e);
@@ -729,16 +748,16 @@ function ze(e) {
729
748
  };
730
749
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
731
750
  }
732
- function Ze(e, t) {
751
+ function ze(e, t) {
733
752
  var r = typeof Symbol == "function" && e[Symbol.iterator];
734
753
  if (!r)
735
754
  return e;
736
- var i = r.call(e), n, o = [], a;
755
+ var i = r.call(e), n, s = [], a;
737
756
  try {
738
757
  for (; (t === void 0 || t-- > 0) && !(n = i.next()).done; )
739
- o.push(n.value);
740
- } catch (s) {
741
- a = { error: s };
758
+ s.push(n.value);
759
+ } catch (o) {
760
+ a = { error: o };
742
761
  } finally {
743
762
  try {
744
763
  n && !n.done && (r = i.return) && r.call(i);
@@ -747,24 +766,24 @@ function Ze(e, t) {
747
766
  throw a.error;
748
767
  }
749
768
  }
750
- return o;
769
+ return s;
751
770
  }
752
- function Qe(e, t, r) {
753
- if (arguments.length === 2)
754
- for (var i = 0, n = t.length, o; i < n; i++)
755
- (o || !(i in t)) && (o || (o = Array.prototype.slice.call(t, 0, i)), o[i] = t[i]);
756
- return e.concat(o || t);
771
+ function q(e, t, r) {
772
+ if (r || arguments.length === 2)
773
+ for (var i = 0, n = t.length, s; i < n; i++)
774
+ (s || !(i in t)) && (s || (s = Array.prototype.slice.call(t, 0, i)), s[i] = t[i]);
775
+ return e.concat(s || t);
757
776
  }
758
- function G(e) {
777
+ function R(e) {
759
778
  return typeof e == "function";
760
779
  }
761
- function Zt(e) {
780
+ function zt(e) {
762
781
  var t = function(i) {
763
782
  Error.call(i), i.stack = new Error().stack;
764
783
  }, r = e(t);
765
784
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
766
785
  }
767
- var Ge = Zt(function(e) {
786
+ var Re = zt(function(e) {
768
787
  return function(r) {
769
788
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
770
789
  ` + r.map(function(i, n) {
@@ -773,25 +792,25 @@ var Ge = Zt(function(e) {
773
792
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
774
793
  };
775
794
  });
776
- function qe(e, t) {
795
+ function Ze(e, t) {
777
796
  if (e) {
778
797
  var r = e.indexOf(t);
779
798
  0 <= r && e.splice(r, 1);
780
799
  }
781
800
  }
782
- var Ae = function() {
801
+ var He = function() {
783
802
  function e(t) {
784
803
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
785
804
  }
786
805
  return e.prototype.unsubscribe = function() {
787
- var t, r, i, n, o;
806
+ var t, r, i, n, s;
788
807
  if (!this.closed) {
789
808
  this.closed = !0;
790
809
  var a = this._parentage;
791
810
  if (a)
792
811
  if (this._parentage = null, Array.isArray(a))
793
812
  try {
794
- for (var s = ze(a), u = s.next(); !u.done; u = s.next()) {
813
+ for (var o = We(a), u = o.next(); !u.done; u = o.next()) {
795
814
  var h = u.value;
796
815
  h.remove(this);
797
816
  }
@@ -799,7 +818,7 @@ var Ae = function() {
799
818
  t = { error: g };
800
819
  } finally {
801
820
  try {
802
- u && !u.done && (r = s.return) && r.call(s);
821
+ u && !u.done && (r = o.return) && r.call(o);
803
822
  } finally {
804
823
  if (t)
805
824
  throw t.error;
@@ -808,22 +827,22 @@ var Ae = function() {
808
827
  else
809
828
  a.remove(this);
810
829
  var l = this.initialTeardown;
811
- if (G(l))
830
+ if (R(l))
812
831
  try {
813
832
  l();
814
833
  } catch (g) {
815
- o = g instanceof Ge ? g.errors : [g];
834
+ s = g instanceof Re ? g.errors : [g];
816
835
  }
817
836
  var f = this._finalizers;
818
837
  if (f) {
819
838
  this._finalizers = null;
820
839
  try {
821
- for (var c = ze(f), b = c.next(); !b.done; b = c.next()) {
840
+ for (var c = We(f), b = c.next(); !b.done; b = c.next()) {
822
841
  var p = b.value;
823
842
  try {
824
- bt(p);
843
+ gt(p);
825
844
  } catch (g) {
826
- o = o ?? [], g instanceof Ge ? o = Qe(Qe([], Ze(o)), Ze(g.errors)) : o.push(g);
845
+ s = s ?? [], g instanceof Re ? s = q(q([], ze(s)), ze(g.errors)) : s.push(g);
827
846
  }
828
847
  }
829
848
  } catch (g) {
@@ -837,14 +856,14 @@ var Ae = function() {
837
856
  }
838
857
  }
839
858
  }
840
- if (o)
841
- throw new Ge(o);
859
+ if (s)
860
+ throw new Re(s);
842
861
  }
843
862
  }, e.prototype.add = function(t) {
844
863
  var r;
845
864
  if (t && t !== this)
846
865
  if (this.closed)
847
- bt(t);
866
+ gt(t);
848
867
  else {
849
868
  if (t instanceof e) {
850
869
  if (t.closed || t._hasParent(this))
@@ -861,28 +880,32 @@ var Ae = function() {
861
880
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
862
881
  }, e.prototype._removeParent = function(t) {
863
882
  var r = this._parentage;
864
- r === t ? this._parentage = null : Array.isArray(r) && qe(r, t);
883
+ r === t ? this._parentage = null : Array.isArray(r) && Ze(r, t);
865
884
  }, e.prototype.remove = function(t) {
866
885
  var r = this._finalizers;
867
- r && qe(r, t), t instanceof e && t._removeParent(this);
886
+ r && Ze(r, t), t instanceof e && t._removeParent(this);
868
887
  }, e.EMPTY = function() {
869
888
  var t = new e();
870
889
  return t.closed = !0, t;
871
890
  }(), e;
872
- }(), Qt = Ae.EMPTY;
873
- function qt(e) {
874
- return e instanceof Ae || e && "closed" in e && G(e.remove) && G(e.add) && G(e.unsubscribe);
875
- }
876
- function bt(e) {
877
- G(e) ? e() : e.unsubscribe();
878
- }
879
- var oi = {
880
- Promise: void 0
881
- }, si = {
891
+ }(), Zt = He.EMPTY;
892
+ function Qt(e) {
893
+ return e instanceof He || e && "closed" in e && R(e.remove) && R(e.add) && R(e.unsubscribe);
894
+ }
895
+ function gt(e) {
896
+ R(e) ? e() : e.unsubscribe();
897
+ }
898
+ var qt = {
899
+ onUnhandledError: null,
900
+ onStoppedNotification: null,
901
+ Promise: void 0,
902
+ useDeprecatedSynchronousErrorHandling: !1,
903
+ useDeprecatedNextContext: !1
904
+ }, oi = {
882
905
  setTimeout: function(e, t) {
883
906
  for (var r = [], i = 2; i < arguments.length; i++)
884
907
  r[i - 2] = arguments[i];
885
- return setTimeout.apply(void 0, Qe([e, t], Ze(r)));
908
+ return setTimeout.apply(void 0, q([e, t], ze(r)));
886
909
  },
887
910
  clearTimeout: function(e) {
888
911
  return clearTimeout(e);
@@ -890,23 +913,23 @@ var oi = {
890
913
  delegate: void 0
891
914
  };
892
915
  function ai(e) {
893
- si.setTimeout(function() {
916
+ oi.setTimeout(function() {
894
917
  throw e;
895
918
  });
896
919
  }
897
- function yt() {
920
+ function bt() {
898
921
  }
899
922
  function ye(e) {
900
923
  e();
901
924
  }
902
925
  var Jt = function(e) {
903
- fe(t, e);
926
+ G(t, e);
904
927
  function t(r) {
905
928
  var i = e.call(this) || this;
906
- return i.isStopped = !1, r ? (i.destination = r, qt(r) && r.add(i)) : i.destination = hi, i;
929
+ return i.isStopped = !1, r ? (i.destination = r, Qt(r) && r.add(i)) : i.destination = ci, i;
907
930
  }
908
931
  return t.create = function(r, i, n) {
909
- return new Je(r, i, n);
932
+ return new Qe(r, i, n);
910
933
  }, t.prototype.next = function(r) {
911
934
  this.isStopped || this._next(r);
912
935
  }, t.prototype.error = function(r) {
@@ -930,7 +953,11 @@ var Jt = function(e) {
930
953
  this.unsubscribe();
931
954
  }
932
955
  }, t;
933
- }(Ae), ui = function() {
956
+ }(He), ui = Function.prototype.bind;
957
+ function Ge(e, t) {
958
+ return ui.call(e, t);
959
+ }
960
+ var li = function() {
934
961
  function e(t) {
935
962
  this.partialObserver = t;
936
963
  }
@@ -961,43 +988,55 @@ var Jt = function(e) {
961
988
  pe(r);
962
989
  }
963
990
  }, e;
964
- }(), Je = function(e) {
965
- fe(t, e);
991
+ }(), Qe = function(e) {
992
+ G(t, e);
966
993
  function t(r, i, n) {
967
- var o = e.call(this) || this, a;
968
- return G(r) || !r ? a = {
969
- next: r ?? void 0,
970
- error: i ?? void 0,
971
- complete: n ?? void 0
972
- } : a = r, o.destination = new ui(a), o;
994
+ var s = e.call(this) || this, a;
995
+ if (R(r) || !r)
996
+ a = {
997
+ next: r ?? void 0,
998
+ error: i ?? void 0,
999
+ complete: n ?? void 0
1000
+ };
1001
+ else {
1002
+ var o;
1003
+ s && qt.useDeprecatedNextContext ? (o = Object.create(r), o.unsubscribe = function() {
1004
+ return s.unsubscribe();
1005
+ }, a = {
1006
+ next: r.next && Ge(r.next, o),
1007
+ error: r.error && Ge(r.error, o),
1008
+ complete: r.complete && Ge(r.complete, o)
1009
+ }) : a = r;
1010
+ }
1011
+ return s.destination = new li(a), s;
973
1012
  }
974
1013
  return t;
975
1014
  }(Jt);
976
1015
  function pe(e) {
977
1016
  ai(e);
978
1017
  }
979
- function li(e) {
1018
+ function hi(e) {
980
1019
  throw e;
981
1020
  }
982
- var hi = {
1021
+ var ci = {
983
1022
  closed: !0,
984
- next: yt,
985
- error: li,
986
- complete: yt
987
- }, ci = function() {
1023
+ next: bt,
1024
+ error: hi,
1025
+ complete: bt
1026
+ }, fi = function() {
988
1027
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
989
1028
  }();
990
- function fi(e) {
1029
+ function mi(e) {
991
1030
  return e;
992
1031
  }
993
- function mi(e) {
994
- return e.length === 0 ? fi : e.length === 1 ? e[0] : function(r) {
1032
+ function pi(e) {
1033
+ return e.length === 0 ? mi : e.length === 1 ? e[0] : function(r) {
995
1034
  return e.reduce(function(i, n) {
996
1035
  return n(i);
997
1036
  }, r);
998
1037
  };
999
1038
  }
1000
- var vt = function() {
1039
+ var yt = function() {
1001
1040
  function e(t) {
1002
1041
  t && (this._subscribe = t);
1003
1042
  }
@@ -1005,11 +1044,11 @@ var vt = function() {
1005
1044
  var r = new e();
1006
1045
  return r.source = this, r.operator = t, r;
1007
1046
  }, e.prototype.subscribe = function(t, r, i) {
1008
- var n = this, o = di(t) ? t : new Je(t, r, i);
1047
+ var n = this, s = gi(t) ? t : new Qe(t, r, i);
1009
1048
  return ye(function() {
1010
- var a = n, s = a.operator, u = a.source;
1011
- o.add(s ? s.call(o, u) : u ? n._subscribe(o) : n._trySubscribe(o));
1012
- }), o;
1049
+ var a = n, o = a.operator, u = a.source;
1050
+ s.add(o ? o.call(s, u) : u ? n._subscribe(s) : n._trySubscribe(s));
1051
+ }), s;
1013
1052
  }, e.prototype._trySubscribe = function(t) {
1014
1053
  try {
1015
1054
  return this._subscribe(t);
@@ -1018,16 +1057,16 @@ var vt = function() {
1018
1057
  }
1019
1058
  }, e.prototype.forEach = function(t, r) {
1020
1059
  var i = this;
1021
- return r = _t(r), new r(function(n, o) {
1022
- var a = new Je({
1023
- next: function(s) {
1060
+ return r = vt(r), new r(function(n, s) {
1061
+ var a = new Qe({
1062
+ next: function(o) {
1024
1063
  try {
1025
- t(s);
1064
+ t(o);
1026
1065
  } catch (u) {
1027
- o(u), a.unsubscribe();
1066
+ s(u), a.unsubscribe();
1028
1067
  }
1029
1068
  },
1030
- error: o,
1069
+ error: s,
1031
1070
  complete: n
1032
1071
  });
1033
1072
  i.subscribe(a);
@@ -1035,70 +1074,70 @@ var vt = function() {
1035
1074
  }, e.prototype._subscribe = function(t) {
1036
1075
  var r;
1037
1076
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
1038
- }, e.prototype[ci] = function() {
1077
+ }, e.prototype[fi] = function() {
1039
1078
  return this;
1040
1079
  }, e.prototype.pipe = function() {
1041
1080
  for (var t = [], r = 0; r < arguments.length; r++)
1042
1081
  t[r] = arguments[r];
1043
- return mi(t)(this);
1082
+ return pi(t)(this);
1044
1083
  }, e.prototype.toPromise = function(t) {
1045
1084
  var r = this;
1046
- return t = _t(t), new t(function(i, n) {
1047
- var o;
1085
+ return t = vt(t), new t(function(i, n) {
1086
+ var s;
1048
1087
  r.subscribe(function(a) {
1049
- return o = a;
1088
+ return s = a;
1050
1089
  }, function(a) {
1051
1090
  return n(a);
1052
1091
  }, function() {
1053
- return i(o);
1092
+ return i(s);
1054
1093
  });
1055
1094
  });
1056
1095
  }, e.create = function(t) {
1057
1096
  return new e(t);
1058
1097
  }, e;
1059
1098
  }();
1060
- function _t(e) {
1099
+ function vt(e) {
1061
1100
  var t;
1062
- return (t = e ?? oi.Promise) !== null && t !== void 0 ? t : Promise;
1063
- }
1064
- function pi(e) {
1065
- return e && G(e.next) && G(e.error) && G(e.complete);
1101
+ return (t = e ?? qt.Promise) !== null && t !== void 0 ? t : Promise;
1066
1102
  }
1067
1103
  function di(e) {
1068
- return e && e instanceof Jt || pi(e) && qt(e);
1104
+ return e && R(e.next) && R(e.error) && R(e.complete);
1069
1105
  }
1070
- var gi = Zt(function(e) {
1106
+ function gi(e) {
1107
+ return e && e instanceof Jt || di(e) && Qt(e);
1108
+ }
1109
+ var bi = zt(function(e) {
1071
1110
  return function() {
1072
1111
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
1073
1112
  };
1074
1113
  }), Yt = function(e) {
1075
- fe(t, e);
1114
+ G(t, e);
1076
1115
  function t() {
1077
1116
  var r = e.call(this) || this;
1078
1117
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
1079
1118
  }
1080
1119
  return t.prototype.lift = function(r) {
1081
- var i = new Et(this, this);
1120
+ var i = new _t(this, this);
1082
1121
  return i.operator = r, i;
1083
1122
  }, t.prototype._throwIfClosed = function() {
1084
1123
  if (this.closed)
1085
- throw new gi();
1124
+ throw new bi();
1086
1125
  }, t.prototype.next = function(r) {
1087
1126
  var i = this;
1088
1127
  ye(function() {
1089
- var n, o;
1128
+ var n, s;
1090
1129
  if (i._throwIfClosed(), !i.isStopped) {
1091
1130
  i.currentObservers || (i.currentObservers = Array.from(i.observers));
1092
1131
  try {
1093
- for (var a = ze(i.currentObservers), s = a.next(); !s.done; s = a.next()) {
1094
- var u = s.value;
1132
+ for (var a = We(i.currentObservers), o = a.next(); !o.done; o = a.next()) {
1133
+ var u = o.value;
1095
1134
  u.next(r);
1096
1135
  }
1097
1136
  } catch (h) {
1098
1137
  n = { error: h };
1099
1138
  } finally {
1100
1139
  try {
1101
- s && !s.done && (o = a.return) && o.call(a);
1140
+ o && !o.done && (s = a.return) && s.call(a);
1102
1141
  } finally {
1103
1142
  if (n)
1104
1143
  throw n.error;
@@ -1138,21 +1177,21 @@ var gi = Zt(function(e) {
1138
1177
  }, t.prototype._subscribe = function(r) {
1139
1178
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
1140
1179
  }, t.prototype._innerSubscribe = function(r) {
1141
- var i = this, n = this, o = n.hasError, a = n.isStopped, s = n.observers;
1142
- return o || a ? Qt : (this.currentObservers = null, s.push(r), new Ae(function() {
1143
- i.currentObservers = null, qe(s, r);
1180
+ var i = this, n = this, s = n.hasError, a = n.isStopped, o = n.observers;
1181
+ return s || a ? Zt : (this.currentObservers = null, o.push(r), new He(function() {
1182
+ i.currentObservers = null, Ze(o, r);
1144
1183
  }));
1145
1184
  }, t.prototype._checkFinalizedStatuses = function(r) {
1146
- var i = this, n = i.hasError, o = i.thrownError, a = i.isStopped;
1147
- n ? r.error(o) : a && r.complete();
1185
+ var i = this, n = i.hasError, s = i.thrownError, a = i.isStopped;
1186
+ n ? r.error(s) : a && r.complete();
1148
1187
  }, t.prototype.asObservable = function() {
1149
- var r = new vt();
1188
+ var r = new yt();
1150
1189
  return r.source = this, r;
1151
1190
  }, t.create = function(r, i) {
1152
- return new Et(r, i);
1191
+ return new _t(r, i);
1153
1192
  }, t;
1154
- }(vt), Et = function(e) {
1155
- fe(t, e);
1193
+ }(yt), _t = function(e) {
1194
+ G(t, e);
1156
1195
  function t(r, i) {
1157
1196
  var n = e.call(this) || this;
1158
1197
  return n.destination = r, n.source = i, n;
@@ -1168,92 +1207,92 @@ var gi = Zt(function(e) {
1168
1207
  (i = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || i === void 0 || i.call(r);
1169
1208
  }, t.prototype._subscribe = function(r) {
1170
1209
  var i, n;
1171
- return (n = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(r)) !== null && n !== void 0 ? n : Qt;
1210
+ return (n = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(r)) !== null && n !== void 0 ? n : Zt;
1172
1211
  }, t;
1173
1212
  }(Yt), Kt = {
1174
1213
  now: function() {
1175
1214
  return (Kt.delegate || Date).now();
1176
1215
  },
1177
1216
  delegate: void 0
1178
- }, bi = function(e) {
1179
- fe(t, e);
1217
+ }, yi = function(e) {
1218
+ G(t, e);
1180
1219
  function t(r, i, n) {
1181
1220
  r === void 0 && (r = 1 / 0), i === void 0 && (i = 1 / 0), n === void 0 && (n = Kt);
1182
- var o = e.call(this) || this;
1183
- return o._bufferSize = r, o._windowTime = i, o._timestampProvider = n, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = i === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, i), o;
1221
+ var s = e.call(this) || this;
1222
+ return s._bufferSize = r, s._windowTime = i, s._timestampProvider = n, s._buffer = [], s._infiniteTimeWindow = !0, s._infiniteTimeWindow = i === 1 / 0, s._bufferSize = Math.max(1, r), s._windowTime = Math.max(1, i), s;
1184
1223
  }
1185
1224
  return t.prototype.next = function(r) {
1186
- var i = this, n = i.isStopped, o = i._buffer, a = i._infiniteTimeWindow, s = i._timestampProvider, u = i._windowTime;
1187
- n || (o.push(r), !a && o.push(s.now() + u)), this._trimBuffer(), e.prototype.next.call(this, r);
1225
+ var i = this, n = i.isStopped, s = i._buffer, a = i._infiniteTimeWindow, o = i._timestampProvider, u = i._windowTime;
1226
+ n || (s.push(r), !a && s.push(o.now() + u)), this._trimBuffer(), e.prototype.next.call(this, r);
1188
1227
  }, t.prototype._subscribe = function(r) {
1189
1228
  this._throwIfClosed(), this._trimBuffer();
1190
- for (var i = this._innerSubscribe(r), n = this, o = n._infiniteTimeWindow, a = n._buffer, s = a.slice(), u = 0; u < s.length && !r.closed; u += o ? 1 : 2)
1191
- r.next(s[u]);
1229
+ for (var i = this._innerSubscribe(r), n = this, s = n._infiniteTimeWindow, a = n._buffer, o = a.slice(), u = 0; u < o.length && !r.closed; u += s ? 1 : 2)
1230
+ r.next(o[u]);
1192
1231
  return this._checkFinalizedStatuses(r), i;
1193
1232
  }, t.prototype._trimBuffer = function() {
1194
- var r = this, i = r._bufferSize, n = r._timestampProvider, o = r._buffer, a = r._infiniteTimeWindow, s = (a ? 1 : 2) * i;
1195
- if (i < 1 / 0 && s < o.length && o.splice(0, o.length - s), !a) {
1196
- for (var u = n.now(), h = 0, l = 1; l < o.length && o[l] <= u; l += 2)
1233
+ var r = this, i = r._bufferSize, n = r._timestampProvider, s = r._buffer, a = r._infiniteTimeWindow, o = (a ? 1 : 2) * i;
1234
+ if (i < 1 / 0 && o < s.length && s.splice(0, s.length - o), !a) {
1235
+ for (var u = n.now(), h = 0, l = 1; l < s.length && s[l] <= u; l += 2)
1197
1236
  h = l;
1198
- h && o.splice(0, h + 1);
1237
+ h && s.splice(0, h + 1);
1199
1238
  }
1200
1239
  }, t;
1201
1240
  }(Yt);
1202
- const xt = [], wt = {}, yi = (e, t = 0) => {
1203
- if (xt.indexOf(e) == -1) {
1204
- const r = new bi(t);
1205
- wt[e] = r, xt.push(e);
1241
+ const Et = [], xt = {}, vi = (e, t = 0) => {
1242
+ if (Et.indexOf(e) == -1) {
1243
+ const r = new yi(t);
1244
+ xt[e] = r, Et.push(e);
1206
1245
  }
1207
- return wt[e];
1208
- }, W = [];
1209
- function vi(e, t) {
1246
+ return xt[e];
1247
+ }, X = [];
1248
+ function _i(e, t) {
1210
1249
  return {
1211
- subscribe: Pe(e, t).subscribe
1250
+ subscribe: Be(e, t).subscribe
1212
1251
  };
1213
1252
  }
1214
- function Pe(e, t = I) {
1253
+ function Be(e, t = M) {
1215
1254
  let r;
1216
1255
  const i = /* @__PURE__ */ new Set();
1217
- function n(s) {
1218
- if (Ut(e, s) && (e = s, r)) {
1219
- const u = !W.length;
1256
+ function n(o) {
1257
+ if (Ut(e, o) && (e = o, r)) {
1258
+ const u = !X.length;
1220
1259
  for (const h of i)
1221
- h[1](), W.push(h, e);
1260
+ h[1](), X.push(h, e);
1222
1261
  if (u) {
1223
- for (let h = 0; h < W.length; h += 2)
1224
- W[h][0](W[h + 1]);
1225
- W.length = 0;
1262
+ for (let h = 0; h < X.length; h += 2)
1263
+ X[h][0](X[h + 1]);
1264
+ X.length = 0;
1226
1265
  }
1227
1266
  }
1228
1267
  }
1229
- function o(s) {
1230
- n(s(e));
1268
+ function s(o) {
1269
+ n(o(e));
1231
1270
  }
1232
- function a(s, u = I) {
1233
- const h = [s, u];
1234
- return i.add(h), i.size === 1 && (r = t(n, o) || I), s(e), () => {
1271
+ function a(o, u = M) {
1272
+ const h = [o, u];
1273
+ return i.add(h), i.size === 1 && (r = t(n, s) || M), o(e), () => {
1235
1274
  i.delete(h), i.size === 0 && r && (r(), r = null);
1236
1275
  };
1237
1276
  }
1238
- return { set: n, update: o, subscribe: a };
1277
+ return { set: n, update: s, subscribe: a };
1239
1278
  }
1240
1279
  function re(e, t, r) {
1241
1280
  const i = !Array.isArray(e), n = i ? [e] : e;
1242
1281
  if (!n.every(Boolean))
1243
1282
  throw new Error("derived() expects stores as input, got a falsy value");
1244
- const o = t.length < 2;
1245
- return vi(r, (a, s) => {
1283
+ const s = t.length < 2;
1284
+ return _i(r, (a, o) => {
1246
1285
  let u = !1;
1247
1286
  const h = [];
1248
- let l = 0, f = I;
1287
+ let l = 0, f = M;
1249
1288
  const c = () => {
1250
1289
  if (l)
1251
1290
  return;
1252
1291
  f();
1253
- const p = t(i ? h[0] : h, a, s);
1254
- o ? a(p) : f = He(p) ? p : I;
1292
+ const p = t(i ? h[0] : h, a, o);
1293
+ s ? a(p) : f = Se(p) ? p : M;
1255
1294
  }, b = n.map(
1256
- (p, g) => Ft(
1295
+ (p, g) => $t(
1257
1296
  p,
1258
1297
  (d) => {
1259
1298
  h[g] = d, l &= ~(1 << g), u && c();
@@ -1268,32 +1307,32 @@ function re(e, t, r) {
1268
1307
  };
1269
1308
  });
1270
1309
  }
1271
- function _i(e) {
1310
+ function Ei(e) {
1272
1311
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1273
1312
  }
1274
- var Ei = function(t) {
1275
- return xi(t) && !wi(t);
1313
+ var xi = function(t) {
1314
+ return wi(t) && !Li(t);
1276
1315
  };
1277
- function xi(e) {
1316
+ function wi(e) {
1278
1317
  return !!e && typeof e == "object";
1279
1318
  }
1280
- function wi(e) {
1319
+ function Li(e) {
1281
1320
  var t = Object.prototype.toString.call(e);
1282
- return t === "[object RegExp]" || t === "[object Date]" || Si(e);
1283
- }
1284
- var Li = typeof Symbol == "function" && Symbol.for, Ti = Li ? Symbol.for("react.element") : 60103;
1285
- function Si(e) {
1286
- return e.$$typeof === Ti;
1321
+ return t === "[object RegExp]" || t === "[object Date]" || Hi(e);
1287
1322
  }
1323
+ var Ti = typeof Symbol == "function" && Symbol.for, Si = Ti ? Symbol.for("react.element") : 60103;
1288
1324
  function Hi(e) {
1325
+ return e.$$typeof === Si;
1326
+ }
1327
+ function Bi(e) {
1289
1328
  return Array.isArray(e) ? [] : {};
1290
1329
  }
1291
- function he(e, t) {
1292
- return t.clone !== !1 && t.isMergeableObject(e) ? J(Hi(e), e, t) : e;
1330
+ function ce(e, t) {
1331
+ return t.clone !== !1 && t.isMergeableObject(e) ? J(Bi(e), e, t) : e;
1293
1332
  }
1294
1333
  function Ai(e, t, r) {
1295
1334
  return e.concat(t).map(function(i) {
1296
- return he(i, r);
1335
+ return ce(i, r);
1297
1336
  });
1298
1337
  }
1299
1338
  function Pi(e, t) {
@@ -1302,13 +1341,13 @@ function Pi(e, t) {
1302
1341
  var r = t.customMerge(e);
1303
1342
  return typeof r == "function" ? r : J;
1304
1343
  }
1305
- function Bi(e) {
1344
+ function Oi(e) {
1306
1345
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1307
1346
  return Object.propertyIsEnumerable.call(e, t);
1308
1347
  }) : [];
1309
1348
  }
1310
- function Lt(e) {
1311
- return Object.keys(e).concat(Bi(e));
1349
+ function wt(e) {
1350
+ return Object.keys(e).concat(Oi(e));
1312
1351
  }
1313
1352
  function er(e, t) {
1314
1353
  try {
@@ -1317,21 +1356,21 @@ function er(e, t) {
1317
1356
  return !1;
1318
1357
  }
1319
1358
  }
1320
- function Oi(e, t) {
1359
+ function Mi(e, t) {
1321
1360
  return er(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1322
1361
  }
1323
1362
  function Ii(e, t, r) {
1324
1363
  var i = {};
1325
- return r.isMergeableObject(e) && Lt(e).forEach(function(n) {
1326
- i[n] = he(e[n], r);
1327
- }), Lt(t).forEach(function(n) {
1328
- Oi(e, n) || (er(e, n) && r.isMergeableObject(t[n]) ? i[n] = Pi(n, r)(e[n], t[n], r) : i[n] = he(t[n], r));
1364
+ return r.isMergeableObject(e) && wt(e).forEach(function(n) {
1365
+ i[n] = ce(e[n], r);
1366
+ }), wt(t).forEach(function(n) {
1367
+ Mi(e, n) || (er(e, n) && r.isMergeableObject(t[n]) ? i[n] = Pi(n, r)(e[n], t[n], r) : i[n] = ce(t[n], r));
1329
1368
  }), i;
1330
1369
  }
1331
1370
  function J(e, t, r) {
1332
- r = r || {}, r.arrayMerge = r.arrayMerge || Ai, r.isMergeableObject = r.isMergeableObject || Ei, r.cloneUnlessOtherwiseSpecified = he;
1333
- var i = Array.isArray(t), n = Array.isArray(e), o = i === n;
1334
- return o ? i ? r.arrayMerge(e, t, r) : Ii(e, t, r) : he(t, r);
1371
+ r = r || {}, r.arrayMerge = r.arrayMerge || Ai, r.isMergeableObject = r.isMergeableObject || xi, r.cloneUnlessOtherwiseSpecified = ce;
1372
+ var i = Array.isArray(t), n = Array.isArray(e), s = i === n;
1373
+ return s ? i ? r.arrayMerge(e, t, r) : Ii(e, t, r) : ce(t, r);
1335
1374
  }
1336
1375
  J.all = function(t, r) {
1337
1376
  if (!Array.isArray(t))
@@ -1340,52 +1379,10 @@ J.all = function(t, r) {
1340
1379
  return J(i, n, r);
1341
1380
  }, {});
1342
1381
  };
1343
- var Mi = J, Ni = Mi;
1344
- const Ci = /* @__PURE__ */ _i(Ni);
1345
- var Ye = function(e, t) {
1346
- return Ye = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
1347
- r.__proto__ = i;
1348
- } || function(r, i) {
1349
- for (var n in i)
1350
- Object.prototype.hasOwnProperty.call(i, n) && (r[n] = i[n]);
1351
- }, Ye(e, t);
1352
- };
1353
- function Be(e, t) {
1354
- if (typeof t != "function" && t !== null)
1355
- throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1356
- Ye(e, t);
1357
- function r() {
1358
- this.constructor = e;
1359
- }
1360
- e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1361
- }
1362
- var N = function() {
1363
- return N = Object.assign || function(t) {
1364
- for (var r, i = 1, n = arguments.length; i < n; i++) {
1365
- r = arguments[i];
1366
- for (var o in r)
1367
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1368
- }
1369
- return t;
1370
- }, N.apply(this, arguments);
1371
- };
1372
- function Ri(e, t) {
1373
- var r = {};
1374
- for (var i in e)
1375
- Object.prototype.hasOwnProperty.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
1376
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
1377
- for (var n = 0, i = Object.getOwnPropertySymbols(e); n < i.length; n++)
1378
- t.indexOf(i[n]) < 0 && Object.prototype.propertyIsEnumerable.call(e, i[n]) && (r[i[n]] = e[i[n]]);
1379
- return r;
1380
- }
1381
- function $e(e, t, r) {
1382
- if (r || arguments.length === 2)
1383
- for (var i = 0, n = t.length, o; i < n; i++)
1384
- (o || !(i in t)) && (o || (o = Array.prototype.slice.call(t, 0, i)), o[i] = t[i]);
1385
- return e.concat(o || Array.prototype.slice.call(t));
1386
- }
1382
+ var Ni = J, Ci = Ni;
1383
+ const Ri = /* @__PURE__ */ Ei(Ci);
1387
1384
  function De(e, t) {
1388
- var r = t && t.cache ? t.cache : ki, i = t && t.serializer ? t.serializer : Fi, n = t && t.strategy ? t.strategy : Di;
1385
+ var r = t && t.cache ? t.cache : ji, i = t && t.serializer ? t.serializer : Fi, n = t && t.strategy ? t.strategy : Di;
1389
1386
  return n(e, {
1390
1387
  cache: r,
1391
1388
  serializer: i
@@ -1394,103 +1391,95 @@ function De(e, t) {
1394
1391
  function Gi(e) {
1395
1392
  return e == null || typeof e == "number" || typeof e == "boolean";
1396
1393
  }
1397
- function $i(e, t, r, i) {
1398
- var n = Gi(i) ? i : r(i), o = t.get(n);
1399
- return typeof o > "u" && (o = e.call(this, i), t.set(n, o)), o;
1394
+ function tr(e, t, r, i) {
1395
+ var n = Gi(i) ? i : r(i), s = t.get(n);
1396
+ return typeof s > "u" && (s = e.call(this, i), t.set(n, s)), s;
1400
1397
  }
1401
- function tr(e, t, r) {
1402
- var i = Array.prototype.slice.call(arguments, 3), n = r(i), o = t.get(n);
1403
- return typeof o > "u" && (o = e.apply(this, i), t.set(n, o)), o;
1398
+ function rr(e, t, r) {
1399
+ var i = Array.prototype.slice.call(arguments, 3), n = r(i), s = t.get(n);
1400
+ return typeof s > "u" && (s = e.apply(this, i), t.set(n, s)), s;
1404
1401
  }
1405
- function rr(e, t, r, i, n) {
1402
+ function ot(e, t, r, i, n) {
1406
1403
  return r.bind(t, e, i, n);
1407
1404
  }
1408
1405
  function Di(e, t) {
1409
- var r = e.length === 1 ? $i : tr;
1410
- return rr(e, this, r, t.cache.create(), t.serializer);
1406
+ var r = e.length === 1 ? tr : rr;
1407
+ return ot(e, this, r, t.cache.create(), t.serializer);
1411
1408
  }
1412
1409
  function Ui(e, t) {
1413
- return rr(e, this, tr, t.cache.create(), t.serializer);
1410
+ return ot(e, this, rr, t.cache.create(), t.serializer);
1411
+ }
1412
+ function $i(e, t) {
1413
+ return ot(e, this, tr, t.cache.create(), t.serializer);
1414
1414
  }
1415
1415
  var Fi = function() {
1416
1416
  return JSON.stringify(arguments);
1417
- }, ji = (
1418
- /** @class */
1419
- function() {
1420
- function e() {
1421
- this.cache = /* @__PURE__ */ Object.create(null);
1422
- }
1423
- return e.prototype.get = function(t) {
1424
- return this.cache[t];
1425
- }, e.prototype.set = function(t, r) {
1426
- this.cache[t] = r;
1427
- }, e;
1428
- }()
1429
- ), ki = {
1417
+ };
1418
+ function at() {
1419
+ this.cache = /* @__PURE__ */ Object.create(null);
1420
+ }
1421
+ at.prototype.get = function(e) {
1422
+ return this.cache[e];
1423
+ };
1424
+ at.prototype.set = function(e, t) {
1425
+ this.cache[e] = t;
1426
+ };
1427
+ var ji = {
1430
1428
  create: function() {
1431
- return new ji();
1429
+ return new at();
1432
1430
  }
1433
1431
  }, Ue = {
1434
- variadic: Ui
1435
- }, Le = function() {
1436
- return Le = Object.assign || function(t) {
1437
- for (var r, i = 1, n = arguments.length; i < n; i++) {
1438
- r = arguments[i];
1439
- for (var o in r)
1440
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1441
- }
1442
- return t;
1443
- }, Le.apply(this, arguments);
1444
- };
1445
- var _;
1432
+ variadic: Ui,
1433
+ monadic: $i
1434
+ }, _;
1446
1435
  (function(e) {
1447
1436
  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";
1448
1437
  })(_ || (_ = {}));
1449
- var x;
1438
+ var w;
1450
1439
  (function(e) {
1451
1440
  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";
1452
- })(x || (x = {}));
1441
+ })(w || (w = {}));
1453
1442
  var Y;
1454
1443
  (function(e) {
1455
1444
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1456
1445
  })(Y || (Y = {}));
1457
- function Tt(e) {
1458
- return e.type === x.literal;
1446
+ function Lt(e) {
1447
+ return e.type === w.literal;
1459
1448
  }
1460
- function Vi(e) {
1461
- return e.type === x.argument;
1449
+ function ki(e) {
1450
+ return e.type === w.argument;
1462
1451
  }
1463
1452
  function ir(e) {
1464
- return e.type === x.number;
1453
+ return e.type === w.number;
1465
1454
  }
1466
1455
  function nr(e) {
1467
- return e.type === x.date;
1468
- }
1469
- function or(e) {
1470
- return e.type === x.time;
1456
+ return e.type === w.date;
1471
1457
  }
1472
1458
  function sr(e) {
1473
- return e.type === x.select;
1459
+ return e.type === w.time;
1460
+ }
1461
+ function or(e) {
1462
+ return e.type === w.select;
1474
1463
  }
1475
1464
  function ar(e) {
1476
- return e.type === x.plural;
1465
+ return e.type === w.plural;
1477
1466
  }
1478
- function Xi(e) {
1479
- return e.type === x.pound;
1467
+ function Vi(e) {
1468
+ return e.type === w.pound;
1480
1469
  }
1481
1470
  function ur(e) {
1482
- return e.type === x.tag;
1471
+ return e.type === w.tag;
1483
1472
  }
1484
1473
  function lr(e) {
1485
1474
  return !!(e && typeof e == "object" && e.type === Y.number);
1486
1475
  }
1487
- function Ke(e) {
1476
+ function qe(e) {
1488
1477
  return !!(e && typeof e == "object" && e.type === Y.dateTime);
1489
1478
  }
1490
- var hr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Wi = /(?:[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;
1491
- function zi(e) {
1479
+ var hr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Xi = /(?:[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;
1480
+ function Wi(e) {
1492
1481
  var t = {};
1493
- return e.replace(Wi, function(r) {
1482
+ return e.replace(Xi, function(r) {
1494
1483
  var i = r.length;
1495
1484
  switch (r[0]) {
1496
1485
  case "G":
@@ -1579,40 +1568,30 @@ function zi(e) {
1579
1568
  return "";
1580
1569
  }), t;
1581
1570
  }
1582
- var L = function() {
1583
- return L = Object.assign || function(t) {
1584
- for (var r, i = 1, n = arguments.length; i < n; i++) {
1585
- r = arguments[i];
1586
- for (var o in r)
1587
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1588
- }
1589
- return t;
1590
- }, L.apply(this, arguments);
1591
- };
1592
- var Zi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1593
- function Qi(e) {
1571
+ var zi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1572
+ function Zi(e) {
1594
1573
  if (e.length === 0)
1595
1574
  throw new Error("Number skeleton cannot be empty");
1596
- for (var t = e.split(Zi).filter(function(c) {
1575
+ for (var t = e.split(zi).filter(function(c) {
1597
1576
  return c.length > 0;
1598
1577
  }), r = [], i = 0, n = t; i < n.length; i++) {
1599
- var o = n[i], a = o.split("/");
1578
+ var s = n[i], a = s.split("/");
1600
1579
  if (a.length === 0)
1601
1580
  throw new Error("Invalid number skeleton");
1602
- for (var s = a[0], u = a.slice(1), h = 0, l = u; h < l.length; h++) {
1581
+ for (var o = a[0], u = a.slice(1), h = 0, l = u; h < l.length; h++) {
1603
1582
  var f = l[h];
1604
1583
  if (f.length === 0)
1605
1584
  throw new Error("Invalid number skeleton");
1606
1585
  }
1607
- r.push({ stem: s, options: u });
1586
+ r.push({ stem: o, options: u });
1608
1587
  }
1609
1588
  return r;
1610
1589
  }
1611
- function qi(e) {
1590
+ function Qi(e) {
1612
1591
  return e.replace(/^(.*?)-/, "");
1613
1592
  }
1614
- var St = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, cr = /^(@+)?(\+|#+)?[rs]?$/g, Ji = /(\*)(0+)|(#+)(0+)|(0+)/g, fr = /^(0+)$/;
1615
- function Ht(e) {
1593
+ var Tt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, cr = /^(@+)?(\+|#+)?[rs]?$/g, qi = /(\*)(0+)|(#+)(0+)|(0+)/g, fr = /^(0+)$/;
1594
+ function St(e) {
1616
1595
  var t = {};
1617
1596
  return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(cr, function(r, i, n) {
1618
1597
  return typeof n != "string" ? (t.minimumSignificantDigits = i.length, t.maximumSignificantDigits = i.length) : n === "+" ? t.minimumSignificantDigits = i.length : i[0] === "#" ? t.maximumSignificantDigits = i.length : (t.minimumSignificantDigits = i.length, t.maximumSignificantDigits = i.length + (typeof n == "string" ? n.length : 0)), "";
@@ -1658,7 +1637,7 @@ function mr(e) {
1658
1637
  };
1659
1638
  }
1660
1639
  }
1661
- function Yi(e) {
1640
+ function Ji(e) {
1662
1641
  var t;
1663
1642
  if (e[0] === "E" && e[1] === "E" ? (t = {
1664
1643
  notation: "engineering"
@@ -1672,11 +1651,11 @@ function Yi(e) {
1672
1651
  }
1673
1652
  return t;
1674
1653
  }
1675
- function At(e) {
1654
+ function Ht(e) {
1676
1655
  var t = {}, r = mr(e);
1677
1656
  return r || t;
1678
1657
  }
1679
- function Ki(e) {
1658
+ function Yi(e) {
1680
1659
  for (var t = {}, r = 0, i = e; r < i.length; r++) {
1681
1660
  var n = i[r];
1682
1661
  switch (n.stem) {
@@ -1700,7 +1679,7 @@ function Ki(e) {
1700
1679
  continue;
1701
1680
  case "measure-unit":
1702
1681
  case "unit":
1703
- t.style = "unit", t.unit = qi(n.options[0]);
1682
+ t.style = "unit", t.unit = Qi(n.options[0]);
1704
1683
  continue;
1705
1684
  case "compact-short":
1706
1685
  case "K":
@@ -1711,13 +1690,13 @@ function Ki(e) {
1711
1690
  t.notation = "compact", t.compactDisplay = "long";
1712
1691
  continue;
1713
1692
  case "scientific":
1714
- t = L(L(L({}, t), { notation: "scientific" }), n.options.reduce(function(u, h) {
1715
- return L(L({}, u), At(h));
1693
+ t = x(x(x({}, t), { notation: "scientific" }), n.options.reduce(function(u, h) {
1694
+ return x(x({}, u), Ht(h));
1716
1695
  }, {}));
1717
1696
  continue;
1718
1697
  case "engineering":
1719
- t = L(L(L({}, t), { notation: "engineering" }), n.options.reduce(function(u, h) {
1720
- return L(L({}, u), At(h));
1698
+ t = x(x(x({}, t), { notation: "engineering" }), n.options.reduce(function(u, h) {
1699
+ return x(x({}, u), Ht(h));
1721
1700
  }, {}));
1722
1701
  continue;
1723
1702
  case "notation-simple":
@@ -1762,7 +1741,7 @@ function Ki(e) {
1762
1741
  case "integer-width":
1763
1742
  if (n.options.length > 1)
1764
1743
  throw new RangeError("integer-width stems only accept a single optional option");
1765
- n.options[0].replace(Ji, function(u, h, l, f, c, b) {
1744
+ n.options[0].replace(qi, function(u, h, l, f, c, b) {
1766
1745
  if (h)
1767
1746
  t.minimumIntegerDigits = l.length;
1768
1747
  else {
@@ -1779,24 +1758,24 @@ function Ki(e) {
1779
1758
  t.minimumIntegerDigits = n.stem.length;
1780
1759
  continue;
1781
1760
  }
1782
- if (St.test(n.stem)) {
1761
+ if (Tt.test(n.stem)) {
1783
1762
  if (n.options.length > 1)
1784
1763
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1785
- n.stem.replace(St, function(u, h, l, f, c, b) {
1764
+ n.stem.replace(Tt, function(u, h, l, f, c, b) {
1786
1765
  return l === "*" ? t.minimumFractionDigits = h.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && b ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + b.length) : (t.minimumFractionDigits = h.length, t.maximumFractionDigits = h.length), "";
1787
1766
  });
1788
- var o = n.options[0];
1789
- o === "w" ? t = L(L({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = L(L({}, t), Ht(o)));
1767
+ var s = n.options[0];
1768
+ s === "w" ? t = x(x({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = x(x({}, t), St(s)));
1790
1769
  continue;
1791
1770
  }
1792
1771
  if (cr.test(n.stem)) {
1793
- t = L(L({}, t), Ht(n.stem));
1772
+ t = x(x({}, t), St(n.stem));
1794
1773
  continue;
1795
1774
  }
1796
1775
  var a = mr(n.stem);
1797
- a && (t = L(L({}, t), a));
1798
- var s = Yi(n.stem);
1799
- s && (t = L(L({}, t), s));
1776
+ a && (t = x(x({}, t), a));
1777
+ var o = Ji(n.stem);
1778
+ o && (t = x(x({}, t), o));
1800
1779
  }
1801
1780
  return t;
1802
1781
  }
@@ -3215,14 +3194,14 @@ var de = {
3215
3194
  "h"
3216
3195
  ]
3217
3196
  };
3218
- function en(e, t) {
3197
+ function Ki(e, t) {
3219
3198
  for (var r = "", i = 0; i < e.length; i++) {
3220
3199
  var n = e.charAt(i);
3221
3200
  if (n === "j") {
3222
- for (var o = 0; i + 1 < e.length && e.charAt(i + 1) === n; )
3223
- o++, i++;
3224
- var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), u = "a", h = tn(t);
3225
- for ((h == "H" || h == "k") && (s = 0); s-- > 0; )
3201
+ for (var s = 0; i + 1 < e.length && e.charAt(i + 1) === n; )
3202
+ s++, i++;
3203
+ var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), u = "a", h = en(t);
3204
+ for ((h == "H" || h == "k") && (o = 0); o-- > 0; )
3226
3205
  r += u;
3227
3206
  for (; a-- > 0; )
3228
3207
  r = h + r;
@@ -3231,7 +3210,7 @@ function en(e, t) {
3231
3210
  }
3232
3211
  return r;
3233
3212
  }
3234
- function tn(e) {
3213
+ function en(e) {
3235
3214
  var t = e.hourCycle;
3236
3215
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3237
3216
  e.hourCycles && // @ts-ignore
@@ -3253,20 +3232,20 @@ function tn(e) {
3253
3232
  var n = de[i || ""] || de[r || ""] || de["".concat(r, "-001")] || de["001"];
3254
3233
  return n[0];
3255
3234
  }
3256
- var Fe, rn = new RegExp("^".concat(hr.source, "*")), nn = new RegExp("".concat(hr.source, "*$"));
3235
+ var $e, tn = new RegExp("^".concat(hr.source, "*")), rn = new RegExp("".concat(hr.source, "*$"));
3257
3236
  function E(e, t) {
3258
3237
  return { start: e, end: t };
3259
3238
  }
3260
- var on = !!String.prototype.startsWith && "_a".startsWith("a", 1), sn = !!String.fromCodePoint, an = !!Object.fromEntries, un = !!String.prototype.codePointAt, ln = !!String.prototype.trimStart, hn = !!String.prototype.trimEnd, cn = !!Number.isSafeInteger, fn = cn ? Number.isSafeInteger : function(e) {
3239
+ var nn = !!String.prototype.startsWith && "_a".startsWith("a", 1), sn = !!String.fromCodePoint, on = !!Object.fromEntries, an = !!String.prototype.codePointAt, un = !!String.prototype.trimStart, ln = !!String.prototype.trimEnd, hn = !!Number.isSafeInteger, cn = hn ? Number.isSafeInteger : function(e) {
3261
3240
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3262
- }, et = !0;
3241
+ }, Je = !0;
3263
3242
  try {
3264
- var mn = dr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3265
- et = ((Fe = mn.exec("a")) === null || Fe === void 0 ? void 0 : Fe[0]) === "a";
3243
+ var fn = dr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3244
+ Je = (($e = fn.exec("a")) === null || $e === void 0 ? void 0 : $e[0]) === "a";
3266
3245
  } catch {
3267
- et = !1;
3246
+ Je = !1;
3268
3247
  }
3269
- var Pt = on ? (
3248
+ var Bt = nn ? (
3270
3249
  // Native
3271
3250
  function(t, r, i) {
3272
3251
  return t.startsWith(r, i);
@@ -3276,31 +3255,31 @@ var Pt = on ? (
3276
3255
  function(t, r, i) {
3277
3256
  return t.slice(i, i + r.length) === r;
3278
3257
  }
3279
- ), tt = sn ? String.fromCodePoint : (
3258
+ ), Ye = sn ? String.fromCodePoint : (
3280
3259
  // IE11
3281
3260
  function() {
3282
3261
  for (var t = [], r = 0; r < arguments.length; r++)
3283
3262
  t[r] = arguments[r];
3284
- for (var i = "", n = t.length, o = 0, a; n > o; ) {
3285
- if (a = t[o++], a > 1114111)
3263
+ for (var i = "", n = t.length, s = 0, a; n > s; ) {
3264
+ if (a = t[s++], a > 1114111)
3286
3265
  throw RangeError(a + " is not a valid code point");
3287
3266
  i += a < 65536 ? String.fromCharCode(a) : String.fromCharCode(((a -= 65536) >> 10) + 55296, a % 1024 + 56320);
3288
3267
  }
3289
3268
  return i;
3290
3269
  }
3291
- ), Bt = (
3270
+ ), At = (
3292
3271
  // native
3293
- an ? Object.fromEntries : (
3272
+ on ? Object.fromEntries : (
3294
3273
  // Ponyfill
3295
3274
  function(t) {
3296
3275
  for (var r = {}, i = 0, n = t; i < n.length; i++) {
3297
- var o = n[i], a = o[0], s = o[1];
3298
- r[a] = s;
3276
+ var s = n[i], a = s[0], o = s[1];
3277
+ r[a] = o;
3299
3278
  }
3300
3279
  return r;
3301
3280
  }
3302
3281
  )
3303
- ), pr = un ? (
3282
+ ), pr = an ? (
3304
3283
  // Native
3305
3284
  function(t, r) {
3306
3285
  return t.codePointAt(r);
@@ -3310,11 +3289,11 @@ var Pt = on ? (
3310
3289
  function(t, r) {
3311
3290
  var i = t.length;
3312
3291
  if (!(r < 0 || r >= i)) {
3313
- var n = t.charCodeAt(r), o;
3314
- return n < 55296 || n > 56319 || r + 1 === i || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? n : (n - 55296 << 10) + (o - 56320) + 65536;
3292
+ var n = t.charCodeAt(r), s;
3293
+ return n < 55296 || n > 56319 || r + 1 === i || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? n : (n - 55296 << 10) + (s - 56320) + 65536;
3315
3294
  }
3316
3295
  }
3317
- ), pn = ln ? (
3296
+ ), mn = un ? (
3318
3297
  // Native
3319
3298
  function(t) {
3320
3299
  return t.trimStart();
@@ -3322,9 +3301,9 @@ var Pt = on ? (
3322
3301
  ) : (
3323
3302
  // Ponyfill
3324
3303
  function(t) {
3325
- return t.replace(rn, "");
3304
+ return t.replace(tn, "");
3326
3305
  }
3327
- ), dn = hn ? (
3306
+ ), pn = ln ? (
3328
3307
  // Native
3329
3308
  function(t) {
3330
3309
  return t.trimEnd();
@@ -3332,32 +3311,32 @@ var Pt = on ? (
3332
3311
  ) : (
3333
3312
  // Ponyfill
3334
3313
  function(t) {
3335
- return t.replace(nn, "");
3314
+ return t.replace(rn, "");
3336
3315
  }
3337
3316
  );
3338
3317
  function dr(e, t) {
3339
3318
  return new RegExp(e, t);
3340
3319
  }
3341
- var rt;
3342
- if (et) {
3343
- var Ot = dr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3344
- rt = function(t, r) {
3320
+ var Ke;
3321
+ if (Je) {
3322
+ var Pt = dr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3323
+ Ke = function(t, r) {
3345
3324
  var i;
3346
- Ot.lastIndex = r;
3347
- var n = Ot.exec(t);
3325
+ Pt.lastIndex = r;
3326
+ var n = Pt.exec(t);
3348
3327
  return (i = n[1]) !== null && i !== void 0 ? i : "";
3349
3328
  };
3350
3329
  } else
3351
- rt = function(t, r) {
3330
+ Ke = function(t, r) {
3352
3331
  for (var i = []; ; ) {
3353
3332
  var n = pr(t, r);
3354
- if (n === void 0 || gr(n) || vn(n))
3333
+ if (n === void 0 || gr(n) || yn(n))
3355
3334
  break;
3356
3335
  i.push(n), r += n >= 65536 ? 2 : 1;
3357
3336
  }
3358
- return tt.apply(void 0, i);
3337
+ return Ye.apply(void 0, i);
3359
3338
  };
3360
- var gn = (
3339
+ var dn = (
3361
3340
  /** @class */
3362
3341
  function() {
3363
3342
  function e(t, r) {
@@ -3369,26 +3348,26 @@ var gn = (
3369
3348
  return this.parseMessage(0, "", !1);
3370
3349
  }, e.prototype.parseMessage = function(t, r, i) {
3371
3350
  for (var n = []; !this.isEOF(); ) {
3372
- var o = this.char();
3373
- if (o === 123) {
3351
+ var s = this.char();
3352
+ if (s === 123) {
3374
3353
  var a = this.parseArgument(t, i);
3375
3354
  if (a.err)
3376
3355
  return a;
3377
3356
  n.push(a.val);
3378
3357
  } else {
3379
- if (o === 125 && t > 0)
3358
+ if (s === 125 && t > 0)
3380
3359
  break;
3381
- if (o === 35 && (r === "plural" || r === "selectordinal")) {
3382
- var s = this.clonePosition();
3360
+ if (s === 35 && (r === "plural" || r === "selectordinal")) {
3361
+ var o = this.clonePosition();
3383
3362
  this.bump(), n.push({
3384
- type: x.pound,
3385
- location: E(s, this.clonePosition())
3363
+ type: w.pound,
3364
+ location: E(o, this.clonePosition())
3386
3365
  });
3387
- } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3366
+ } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
3388
3367
  if (i)
3389
3368
  break;
3390
3369
  return this.error(_.UNMATCHED_CLOSING_TAG, E(this.clonePosition(), this.clonePosition()));
3391
- } else if (o === 60 && !this.ignoreTag && it(this.peek() || 0)) {
3370
+ } else if (s === 60 && !this.ignoreTag && et(this.peek() || 0)) {
3392
3371
  var a = this.parseTag(t, r);
3393
3372
  if (a.err)
3394
3373
  return a;
@@ -3409,44 +3388,44 @@ var gn = (
3409
3388
  if (this.bumpSpace(), this.bumpIf("/>"))
3410
3389
  return {
3411
3390
  val: {
3412
- type: x.literal,
3391
+ type: w.literal,
3413
3392
  value: "<".concat(n, "/>"),
3414
3393
  location: E(i, this.clonePosition())
3415
3394
  },
3416
3395
  err: null
3417
3396
  };
3418
3397
  if (this.bumpIf(">")) {
3419
- var o = this.parseMessage(t + 1, r, !0);
3420
- if (o.err)
3421
- return o;
3422
- var a = o.val, s = this.clonePosition();
3398
+ var s = this.parseMessage(t + 1, r, !0);
3399
+ if (s.err)
3400
+ return s;
3401
+ var a = s.val, o = this.clonePosition();
3423
3402
  if (this.bumpIf("</")) {
3424
- if (this.isEOF() || !it(this.char()))
3425
- return this.error(_.INVALID_TAG, E(s, this.clonePosition()));
3403
+ if (this.isEOF() || !et(this.char()))
3404
+ return this.error(_.INVALID_TAG, E(o, this.clonePosition()));
3426
3405
  var u = this.clonePosition(), h = this.parseTagName();
3427
3406
  return n !== h ? this.error(_.UNMATCHED_CLOSING_TAG, E(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3428
3407
  val: {
3429
- type: x.tag,
3408
+ type: w.tag,
3430
3409
  value: n,
3431
3410
  children: a,
3432
3411
  location: E(i, this.clonePosition())
3433
3412
  },
3434
3413
  err: null
3435
- } : this.error(_.INVALID_TAG, E(s, this.clonePosition())));
3414
+ } : this.error(_.INVALID_TAG, E(o, this.clonePosition())));
3436
3415
  } else
3437
3416
  return this.error(_.UNCLOSED_TAG, E(i, this.clonePosition()));
3438
3417
  } else
3439
3418
  return this.error(_.INVALID_TAG, E(i, this.clonePosition()));
3440
3419
  }, e.prototype.parseTagName = function() {
3441
3420
  var t = this.offset();
3442
- for (this.bump(); !this.isEOF() && yn(this.char()); )
3421
+ for (this.bump(); !this.isEOF() && bn(this.char()); )
3443
3422
  this.bump();
3444
3423
  return this.message.slice(t, this.offset());
3445
3424
  }, e.prototype.parseLiteral = function(t, r) {
3446
3425
  for (var i = this.clonePosition(), n = ""; ; ) {
3447
- var o = this.tryParseQuote(r);
3448
- if (o) {
3449
- n += o;
3426
+ var s = this.tryParseQuote(r);
3427
+ if (s) {
3428
+ n += s;
3450
3429
  continue;
3451
3430
  }
3452
3431
  var a = this.tryParseUnquoted(t, r);
@@ -3454,21 +3433,21 @@ var gn = (
3454
3433
  n += a;
3455
3434
  continue;
3456
3435
  }
3457
- var s = this.tryParseLeftAngleBracket();
3458
- if (s) {
3459
- n += s;
3436
+ var o = this.tryParseLeftAngleBracket();
3437
+ if (o) {
3438
+ n += o;
3460
3439
  continue;
3461
3440
  }
3462
3441
  break;
3463
3442
  }
3464
3443
  var u = E(i, this.clonePosition());
3465
3444
  return {
3466
- val: { type: x.literal, value: n, location: u },
3445
+ val: { type: w.literal, value: n, location: u },
3467
3446
  err: null
3468
3447
  };
3469
3448
  }, e.prototype.tryParseLeftAngleBracket = function() {
3470
3449
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3471
- !bn(this.peek() || 0)) ? (this.bump(), "<") : null;
3450
+ !gn(this.peek() || 0)) ? (this.bump(), "<") : null;
3472
3451
  }, e.prototype.tryParseQuote = function(t) {
3473
3452
  if (this.isEOF() || this.char() !== 39)
3474
3453
  return null;
@@ -3502,12 +3481,12 @@ var gn = (
3502
3481
  r.push(i);
3503
3482
  this.bump();
3504
3483
  }
3505
- return tt.apply(void 0, r);
3484
+ return Ye.apply(void 0, r);
3506
3485
  }, e.prototype.tryParseUnquoted = function(t, r) {
3507
3486
  if (this.isEOF())
3508
3487
  return null;
3509
3488
  var i = this.char();
3510
- return i === 60 || i === 123 || i === 35 && (r === "plural" || r === "selectordinal") || i === 125 && t > 0 ? null : (this.bump(), tt(i));
3489
+ return i === 60 || i === 123 || i === 35 && (r === "plural" || r === "selectordinal") || i === 125 && t > 0 ? null : (this.bump(), Ye(i));
3511
3490
  }, e.prototype.parseArgument = function(t, r) {
3512
3491
  var i = this.clonePosition();
3513
3492
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3523,7 +3502,7 @@ var gn = (
3523
3502
  case 125:
3524
3503
  return this.bump(), {
3525
3504
  val: {
3526
- type: x.argument,
3505
+ type: w.argument,
3527
3506
  // value does not include the opening and closing braces.
3528
3507
  value: n,
3529
3508
  location: E(i, this.clonePosition())
@@ -3536,13 +3515,13 @@ var gn = (
3536
3515
  return this.error(_.MALFORMED_ARGUMENT, E(i, this.clonePosition()));
3537
3516
  }
3538
3517
  }, e.prototype.parseIdentifierIfPossible = function() {
3539
- var t = this.clonePosition(), r = this.offset(), i = rt(this.message, r), n = r + i.length;
3518
+ var t = this.clonePosition(), r = this.offset(), i = Ke(this.message, r), n = r + i.length;
3540
3519
  this.bumpTo(n);
3541
- var o = this.clonePosition(), a = E(t, o);
3520
+ var s = this.clonePosition(), a = E(t, s);
3542
3521
  return { value: i, location: a };
3543
3522
  }, e.prototype.parseArgumentOptions = function(t, r, i, n) {
3544
- var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, u = this.clonePosition();
3545
- switch (s) {
3523
+ var s, a = this.clonePosition(), o = this.parseIdentifierIfPossible().value, u = this.clonePosition();
3524
+ switch (o) {
3546
3525
  case "":
3547
3526
  return this.error(_.EXPECT_ARGUMENT_TYPE, E(a, u));
3548
3527
  case "number":
@@ -3555,7 +3534,7 @@ var gn = (
3555
3534
  var l = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3556
3535
  if (f.err)
3557
3536
  return f;
3558
- var c = dn(f.val);
3537
+ var c = pn(f.val);
3559
3538
  if (c.length === 0)
3560
3539
  return this.error(_.EXPECT_ARGUMENT_STYLE, E(this.clonePosition(), this.clonePosition()));
3561
3540
  var b = E(l, this.clonePosition());
@@ -3565,25 +3544,25 @@ var gn = (
3565
3544
  if (p.err)
3566
3545
  return p;
3567
3546
  var g = E(n, this.clonePosition());
3568
- if (h && Pt(h?.style, "::", 0)) {
3569
- var d = pn(h.style.slice(2));
3570
- if (s === "number") {
3547
+ if (h && Bt(h?.style, "::", 0)) {
3548
+ var d = mn(h.style.slice(2));
3549
+ if (o === "number") {
3571
3550
  var f = this.parseNumberSkeletonFromString(d, h.styleLocation);
3572
3551
  return f.err ? f : {
3573
- val: { type: x.number, value: i, location: g, style: f.val },
3552
+ val: { type: w.number, value: i, location: g, style: f.val },
3574
3553
  err: null
3575
3554
  };
3576
3555
  } else {
3577
3556
  if (d.length === 0)
3578
3557
  return this.error(_.EXPECT_DATE_TIME_SKELETON, g);
3579
3558
  var v = d;
3580
- this.locale && (v = en(d, this.locale));
3559
+ this.locale && (v = Ki(d, this.locale));
3581
3560
  var c = {
3582
3561
  type: Y.dateTime,
3583
3562
  pattern: v,
3584
3563
  location: h.styleLocation,
3585
- parsedOptions: this.shouldParseSkeletons ? zi(v) : {}
3586
- }, T = s === "date" ? x.date : x.time;
3564
+ parsedOptions: this.shouldParseSkeletons ? Wi(v) : {}
3565
+ }, T = o === "date" ? w.date : w.time;
3587
3566
  return {
3588
3567
  val: { type: T, value: i, location: g, style: c },
3589
3568
  err: null
@@ -3592,10 +3571,10 @@ var gn = (
3592
3571
  }
3593
3572
  return {
3594
3573
  val: {
3595
- type: s === "number" ? x.number : s === "date" ? x.date : x.time,
3574
+ type: o === "number" ? w.number : o === "date" ? w.date : w.time,
3596
3575
  value: i,
3597
3576
  location: g,
3598
- style: (o = h?.style) !== null && o !== void 0 ? o : null
3577
+ style: (s = h?.style) !== null && s !== void 0 ? s : null
3599
3578
  },
3600
3579
  err: null
3601
3580
  };
@@ -3605,41 +3584,41 @@ var gn = (
3605
3584
  case "select": {
3606
3585
  var S = this.clonePosition();
3607
3586
  if (this.bumpSpace(), !this.bumpIf(","))
3608
- return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, E(S, Le({}, S)));
3587
+ return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, E(S, x({}, S)));
3609
3588
  this.bumpSpace();
3610
- var M = this.parseIdentifierIfPossible(), A = 0;
3611
- if (s !== "select" && M.value === "offset") {
3589
+ var I = this.parseIdentifierIfPossible(), O = 0;
3590
+ if (o !== "select" && I.value === "offset") {
3612
3591
  if (!this.bumpIf(":"))
3613
3592
  return this.error(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, E(this.clonePosition(), this.clonePosition()));
3614
3593
  this.bumpSpace();
3615
3594
  var f = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3616
3595
  if (f.err)
3617
3596
  return f;
3618
- this.bumpSpace(), M = this.parseIdentifierIfPossible(), A = f.val;
3597
+ this.bumpSpace(), I = this.parseIdentifierIfPossible(), O = f.val;
3619
3598
  }
3620
- var C = this.tryParsePluralOrSelectOptions(t, s, r, M);
3621
- if (C.err)
3622
- return C;
3599
+ var N = this.tryParsePluralOrSelectOptions(t, o, r, I);
3600
+ if (N.err)
3601
+ return N;
3623
3602
  var p = this.tryParseArgumentClose(n);
3624
3603
  if (p.err)
3625
3604
  return p;
3626
- var k = E(n, this.clonePosition());
3627
- return s === "select" ? {
3605
+ var se = E(n, this.clonePosition());
3606
+ return o === "select" ? {
3628
3607
  val: {
3629
- type: x.select,
3608
+ type: w.select,
3630
3609
  value: i,
3631
- options: Bt(C.val),
3632
- location: k
3610
+ options: At(N.val),
3611
+ location: se
3633
3612
  },
3634
3613
  err: null
3635
3614
  } : {
3636
3615
  val: {
3637
- type: x.plural,
3616
+ type: w.plural,
3638
3617
  value: i,
3639
- options: Bt(C.val),
3640
- offset: A,
3641
- pluralType: s === "plural" ? "cardinal" : "ordinal",
3642
- location: k
3618
+ options: At(N.val),
3619
+ offset: O,
3620
+ pluralType: o === "plural" ? "cardinal" : "ordinal",
3621
+ location: se
3643
3622
  },
3644
3623
  err: null
3645
3624
  };
@@ -3687,7 +3666,7 @@ var gn = (
3687
3666
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3688
3667
  var i = [];
3689
3668
  try {
3690
- i = Qi(t);
3669
+ i = Zi(t);
3691
3670
  } catch {
3692
3671
  return this.error(_.INVALID_NUMBER_SKELETON, r);
3693
3672
  }
@@ -3696,12 +3675,12 @@ var gn = (
3696
3675
  type: Y.number,
3697
3676
  tokens: i,
3698
3677
  location: r,
3699
- parsedOptions: this.shouldParseSkeletons ? Ki(i) : {}
3678
+ parsedOptions: this.shouldParseSkeletons ? Yi(i) : {}
3700
3679
  },
3701
3680
  err: null
3702
3681
  };
3703
3682
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, i, n) {
3704
- for (var o, a = !1, s = [], u = /* @__PURE__ */ new Set(), h = n.value, l = n.location; ; ) {
3683
+ for (var s, a = !1, o = [], u = /* @__PURE__ */ new Set(), h = n.value, l = n.location; ; ) {
3705
3684
  if (h.length === 0) {
3706
3685
  var f = this.clonePosition();
3707
3686
  if (r !== "select" && this.bumpIf("=")) {
@@ -3724,27 +3703,27 @@ var gn = (
3724
3703
  var g = this.tryParseArgumentClose(b);
3725
3704
  if (g.err)
3726
3705
  return g;
3727
- s.push([
3706
+ o.push([
3728
3707
  h,
3729
3708
  {
3730
3709
  value: p.val,
3731
3710
  location: E(b, this.clonePosition())
3732
3711
  }
3733
- ]), u.add(h), this.bumpSpace(), o = this.parseIdentifierIfPossible(), h = o.value, l = o.location;
3712
+ ]), u.add(h), this.bumpSpace(), s = this.parseIdentifierIfPossible(), h = s.value, l = s.location;
3734
3713
  }
3735
- return s.length === 0 ? this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR : _.EXPECT_PLURAL_ARGUMENT_SELECTOR, E(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(_.MISSING_OTHER_CLAUSE, E(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
3714
+ return o.length === 0 ? this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR : _.EXPECT_PLURAL_ARGUMENT_SELECTOR, E(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(_.MISSING_OTHER_CLAUSE, E(this.clonePosition(), this.clonePosition())) : { val: o, err: null };
3736
3715
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3737
3716
  var i = 1, n = this.clonePosition();
3738
3717
  this.bumpIf("+") || this.bumpIf("-") && (i = -1);
3739
- for (var o = !1, a = 0; !this.isEOF(); ) {
3740
- var s = this.char();
3741
- if (s >= 48 && s <= 57)
3742
- o = !0, a = a * 10 + (s - 48), this.bump();
3718
+ for (var s = !1, a = 0; !this.isEOF(); ) {
3719
+ var o = this.char();
3720
+ if (o >= 48 && o <= 57)
3721
+ s = !0, a = a * 10 + (o - 48), this.bump();
3743
3722
  else
3744
3723
  break;
3745
3724
  }
3746
3725
  var u = E(n, this.clonePosition());
3747
- return o ? (a *= i, fn(a) ? { val: a, err: null } : this.error(r, u)) : this.error(t, u);
3726
+ return s ? (a *= i, cn(a) ? { val: a, err: null } : this.error(r, u)) : this.error(t, u);
3748
3727
  }, e.prototype.offset = function() {
3749
3728
  return this.position.offset;
3750
3729
  }, e.prototype.isEOF = function() {
@@ -3778,7 +3757,7 @@ var gn = (
3778
3757
  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);
3779
3758
  }
3780
3759
  }, e.prototype.bumpIf = function(t) {
3781
- if (Pt(this.message, t, this.offset())) {
3760
+ if (Bt(this.message, t, this.offset())) {
3782
3761
  for (var r = 0; r < t.length; r++)
3783
3762
  this.bump();
3784
3763
  return !0;
@@ -3810,204 +3789,204 @@ var gn = (
3810
3789
  }, e;
3811
3790
  }()
3812
3791
  );
3813
- function it(e) {
3792
+ function et(e) {
3814
3793
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3815
3794
  }
3816
- function bn(e) {
3817
- return it(e) || e === 47;
3795
+ function gn(e) {
3796
+ return et(e) || e === 47;
3818
3797
  }
3819
- function yn(e) {
3798
+ function bn(e) {
3820
3799
  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;
3821
3800
  }
3822
3801
  function gr(e) {
3823
3802
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3824
3803
  }
3825
- function vn(e) {
3804
+ function yn(e) {
3826
3805
  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;
3827
3806
  }
3828
- function nt(e) {
3807
+ function tt(e) {
3829
3808
  e.forEach(function(t) {
3830
- if (delete t.location, sr(t) || ar(t))
3809
+ if (delete t.location, or(t) || ar(t))
3831
3810
  for (var r in t.options)
3832
- delete t.options[r].location, nt(t.options[r].value);
3811
+ delete t.options[r].location, tt(t.options[r].value);
3833
3812
  else
3834
- ir(t) && lr(t.style) || (nr(t) || or(t)) && Ke(t.style) ? delete t.style.location : ur(t) && nt(t.children);
3813
+ ir(t) && lr(t.style) || (nr(t) || sr(t)) && qe(t.style) ? delete t.style.location : ur(t) && tt(t.children);
3835
3814
  });
3836
3815
  }
3837
- function _n(e, t) {
3838
- t === void 0 && (t = {}), t = Le({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3839
- var r = new gn(e, t).parse();
3816
+ function vn(e, t) {
3817
+ t === void 0 && (t = {}), t = x({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3818
+ var r = new dn(e, t).parse();
3840
3819
  if (r.err) {
3841
3820
  var i = SyntaxError(_[r.err.kind]);
3842
3821
  throw i.location = r.err.location, i.originalMessage = r.err.message, i;
3843
3822
  }
3844
- return t?.captureLocation || nt(r.val), r.val;
3823
+ return t?.captureLocation || tt(r.val), r.val;
3845
3824
  }
3846
3825
  var K;
3847
3826
  (function(e) {
3848
3827
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3849
3828
  })(K || (K = {}));
3850
- var Oe = (
3829
+ var Ae = (
3851
3830
  /** @class */
3852
3831
  function(e) {
3853
- Be(t, e);
3832
+ G(t, e);
3854
3833
  function t(r, i, n) {
3855
- var o = e.call(this, r) || this;
3856
- return o.code = i, o.originalMessage = n, o;
3834
+ var s = e.call(this, r) || this;
3835
+ return s.code = i, s.originalMessage = n, s;
3857
3836
  }
3858
3837
  return t.prototype.toString = function() {
3859
3838
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3860
3839
  }, t;
3861
3840
  }(Error)
3862
- ), It = (
3841
+ ), Ot = (
3863
3842
  /** @class */
3864
3843
  function(e) {
3865
- Be(t, e);
3866
- function t(r, i, n, o) {
3867
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(i, '". Options are "').concat(Object.keys(n).join('", "'), '"'), K.INVALID_VALUE, o) || this;
3844
+ G(t, e);
3845
+ function t(r, i, n, s) {
3846
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(i, '". Options are "').concat(Object.keys(n).join('", "'), '"'), K.INVALID_VALUE, s) || this;
3868
3847
  }
3869
3848
  return t;
3870
- }(Oe)
3871
- ), En = (
3849
+ }(Ae)
3850
+ ), _n = (
3872
3851
  /** @class */
3873
3852
  function(e) {
3874
- Be(t, e);
3853
+ G(t, e);
3875
3854
  function t(r, i, n) {
3876
3855
  return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(i), K.INVALID_VALUE, n) || this;
3877
3856
  }
3878
3857
  return t;
3879
- }(Oe)
3880
- ), xn = (
3858
+ }(Ae)
3859
+ ), En = (
3881
3860
  /** @class */
3882
3861
  function(e) {
3883
- Be(t, e);
3862
+ G(t, e);
3884
3863
  function t(r, i) {
3885
3864
  return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(i, '"'), K.MISSING_VALUE, i) || this;
3886
3865
  }
3887
3866
  return t;
3888
- }(Oe)
3889
- ), B;
3867
+ }(Ae)
3868
+ ), A;
3890
3869
  (function(e) {
3891
3870
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3892
- })(B || (B = {}));
3893
- function wn(e) {
3871
+ })(A || (A = {}));
3872
+ function xn(e) {
3894
3873
  return e.length < 2 ? e : e.reduce(function(t, r) {
3895
3874
  var i = t[t.length - 1];
3896
- return !i || i.type !== B.literal || r.type !== B.literal ? t.push(r) : i.value += r.value, t;
3875
+ return !i || i.type !== A.literal || r.type !== A.literal ? t.push(r) : i.value += r.value, t;
3897
3876
  }, []);
3898
3877
  }
3899
- function Ln(e) {
3878
+ function wn(e) {
3900
3879
  return typeof e == "function";
3901
3880
  }
3902
- function ve(e, t, r, i, n, o, a) {
3903
- if (e.length === 1 && Tt(e[0]))
3881
+ function ve(e, t, r, i, n, s, a) {
3882
+ if (e.length === 1 && Lt(e[0]))
3904
3883
  return [
3905
3884
  {
3906
- type: B.literal,
3885
+ type: A.literal,
3907
3886
  value: e[0].value
3908
3887
  }
3909
3888
  ];
3910
- for (var s = [], u = 0, h = e; u < h.length; u++) {
3889
+ for (var o = [], u = 0, h = e; u < h.length; u++) {
3911
3890
  var l = h[u];
3912
- if (Tt(l)) {
3913
- s.push({
3914
- type: B.literal,
3891
+ if (Lt(l)) {
3892
+ o.push({
3893
+ type: A.literal,
3915
3894
  value: l.value
3916
3895
  });
3917
3896
  continue;
3918
3897
  }
3919
- if (Xi(l)) {
3920
- typeof o == "number" && s.push({
3921
- type: B.literal,
3922
- value: r.getNumberFormat(t).format(o)
3898
+ if (Vi(l)) {
3899
+ typeof s == "number" && o.push({
3900
+ type: A.literal,
3901
+ value: r.getNumberFormat(t).format(s)
3923
3902
  });
3924
3903
  continue;
3925
3904
  }
3926
3905
  var f = l.value;
3927
3906
  if (!(n && f in n))
3928
- throw new xn(f, a);
3907
+ throw new En(f, a);
3929
3908
  var c = n[f];
3930
- if (Vi(l)) {
3931
- (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), s.push({
3932
- type: typeof c == "string" ? B.literal : B.object,
3909
+ if (ki(l)) {
3910
+ (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), o.push({
3911
+ type: typeof c == "string" ? A.literal : A.object,
3933
3912
  value: c
3934
3913
  });
3935
3914
  continue;
3936
3915
  }
3937
3916
  if (nr(l)) {
3938
- var b = typeof l.style == "string" ? i.date[l.style] : Ke(l.style) ? l.style.parsedOptions : void 0;
3939
- s.push({
3940
- type: B.literal,
3917
+ var b = typeof l.style == "string" ? i.date[l.style] : qe(l.style) ? l.style.parsedOptions : void 0;
3918
+ o.push({
3919
+ type: A.literal,
3941
3920
  value: r.getDateTimeFormat(t, b).format(c)
3942
3921
  });
3943
3922
  continue;
3944
3923
  }
3945
- if (or(l)) {
3946
- var b = typeof l.style == "string" ? i.time[l.style] : Ke(l.style) ? l.style.parsedOptions : i.time.medium;
3947
- s.push({
3948
- type: B.literal,
3924
+ if (sr(l)) {
3925
+ var b = typeof l.style == "string" ? i.time[l.style] : qe(l.style) ? l.style.parsedOptions : i.time.medium;
3926
+ o.push({
3927
+ type: A.literal,
3949
3928
  value: r.getDateTimeFormat(t, b).format(c)
3950
3929
  });
3951
3930
  continue;
3952
3931
  }
3953
3932
  if (ir(l)) {
3954
3933
  var b = typeof l.style == "string" ? i.number[l.style] : lr(l.style) ? l.style.parsedOptions : void 0;
3955
- b && b.scale && (c = c * (b.scale || 1)), s.push({
3956
- type: B.literal,
3934
+ b && b.scale && (c = c * (b.scale || 1)), o.push({
3935
+ type: A.literal,
3957
3936
  value: r.getNumberFormat(t, b).format(c)
3958
3937
  });
3959
3938
  continue;
3960
3939
  }
3961
3940
  if (ur(l)) {
3962
3941
  var p = l.children, g = l.value, d = n[g];
3963
- if (!Ln(d))
3964
- throw new En(g, "function", a);
3965
- var v = ve(p, t, r, i, n, o), T = d(v.map(function(A) {
3966
- return A.value;
3942
+ if (!wn(d))
3943
+ throw new _n(g, "function", a);
3944
+ var v = ve(p, t, r, i, n, s), T = d(v.map(function(O) {
3945
+ return O.value;
3967
3946
  }));
3968
- Array.isArray(T) || (T = [T]), s.push.apply(s, T.map(function(A) {
3947
+ Array.isArray(T) || (T = [T]), o.push.apply(o, T.map(function(O) {
3969
3948
  return {
3970
- type: typeof A == "string" ? B.literal : B.object,
3971
- value: A
3949
+ type: typeof O == "string" ? A.literal : A.object,
3950
+ value: O
3972
3951
  };
3973
3952
  }));
3974
3953
  }
3975
- if (sr(l)) {
3954
+ if (or(l)) {
3976
3955
  var S = l.options[c] || l.options.other;
3977
3956
  if (!S)
3978
- throw new It(l.value, c, Object.keys(l.options), a);
3979
- s.push.apply(s, ve(S.value, t, r, i, n));
3957
+ throw new Ot(l.value, c, Object.keys(l.options), a);
3958
+ o.push.apply(o, ve(S.value, t, r, i, n));
3980
3959
  continue;
3981
3960
  }
3982
3961
  if (ar(l)) {
3983
3962
  var S = l.options["=".concat(c)];
3984
3963
  if (!S) {
3985
3964
  if (!Intl.PluralRules)
3986
- throw new Oe(`Intl.PluralRules is not available in this environment.
3965
+ throw new Ae(`Intl.PluralRules is not available in this environment.
3987
3966
  Try polyfilling it using "@formatjs/intl-pluralrules"
3988
3967
  `, K.MISSING_INTL_API, a);
3989
- var M = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
3990
- S = l.options[M] || l.options.other;
3968
+ var I = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
3969
+ S = l.options[I] || l.options.other;
3991
3970
  }
3992
3971
  if (!S)
3993
- throw new It(l.value, c, Object.keys(l.options), a);
3994
- s.push.apply(s, ve(S.value, t, r, i, n, c - (l.offset || 0)));
3972
+ throw new Ot(l.value, c, Object.keys(l.options), a);
3973
+ o.push.apply(o, ve(S.value, t, r, i, n, c - (l.offset || 0)));
3995
3974
  continue;
3996
3975
  }
3997
3976
  }
3998
- return wn(s);
3977
+ return xn(o);
3999
3978
  }
4000
- function Tn(e, t) {
4001
- return t ? N(N(N({}, e || {}), t || {}), Object.keys(e).reduce(function(r, i) {
4002
- return r[i] = N(N({}, e[i]), t[i] || {}), r;
3979
+ function Ln(e, t) {
3980
+ return t ? x(x(x({}, e || {}), t || {}), Object.keys(e).reduce(function(r, i) {
3981
+ return r[i] = x(x({}, e[i]), t[i] || {}), r;
4003
3982
  }, {})) : e;
4004
3983
  }
4005
- function Sn(e, t) {
3984
+ function Tn(e, t) {
4006
3985
  return t ? Object.keys(e).reduce(function(r, i) {
4007
- return r[i] = Tn(e[i], t[i]), r;
4008
- }, N({}, e)) : e;
3986
+ return r[i] = Ln(e[i], t[i]), r;
3987
+ }, x({}, e)) : e;
4009
3988
  }
4010
- function je(e) {
3989
+ function Fe(e) {
4011
3990
  return {
4012
3991
  create: function() {
4013
3992
  return {
@@ -4021,7 +4000,7 @@ function je(e) {
4021
4000
  }
4022
4001
  };
4023
4002
  }
4024
- function Hn(e) {
4003
+ function Sn(e) {
4025
4004
  return e === void 0 && (e = {
4026
4005
  number: {},
4027
4006
  dateTime: {},
@@ -4030,68 +4009,68 @@ function Hn(e) {
4030
4009
  getNumberFormat: De(function() {
4031
4010
  for (var t, r = [], i = 0; i < arguments.length; i++)
4032
4011
  r[i] = arguments[i];
4033
- return new ((t = Intl.NumberFormat).bind.apply(t, $e([void 0], r, !1)))();
4012
+ return new ((t = Intl.NumberFormat).bind.apply(t, q([void 0], r, !1)))();
4034
4013
  }, {
4035
- cache: je(e.number),
4014
+ cache: Fe(e.number),
4036
4015
  strategy: Ue.variadic
4037
4016
  }),
4038
4017
  getDateTimeFormat: De(function() {
4039
4018
  for (var t, r = [], i = 0; i < arguments.length; i++)
4040
4019
  r[i] = arguments[i];
4041
- return new ((t = Intl.DateTimeFormat).bind.apply(t, $e([void 0], r, !1)))();
4020
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, q([void 0], r, !1)))();
4042
4021
  }, {
4043
- cache: je(e.dateTime),
4022
+ cache: Fe(e.dateTime),
4044
4023
  strategy: Ue.variadic
4045
4024
  }),
4046
4025
  getPluralRules: De(function() {
4047
4026
  for (var t, r = [], i = 0; i < arguments.length; i++)
4048
4027
  r[i] = arguments[i];
4049
- return new ((t = Intl.PluralRules).bind.apply(t, $e([void 0], r, !1)))();
4028
+ return new ((t = Intl.PluralRules).bind.apply(t, q([void 0], r, !1)))();
4050
4029
  }, {
4051
- cache: je(e.pluralRules),
4030
+ cache: Fe(e.pluralRules),
4052
4031
  strategy: Ue.variadic
4053
4032
  })
4054
4033
  };
4055
4034
  }
4056
- var An = (
4035
+ var Hn = (
4057
4036
  /** @class */
4058
4037
  function() {
4059
4038
  function e(t, r, i, n) {
4060
4039
  r === void 0 && (r = e.defaultLocale);
4061
- var o = this;
4040
+ var s = this;
4062
4041
  if (this.formatterCache = {
4063
4042
  number: {},
4064
4043
  dateTime: {},
4065
4044
  pluralRules: {}
4066
4045
  }, this.format = function(u) {
4067
- var h = o.formatToParts(u);
4046
+ var h = s.formatToParts(u);
4068
4047
  if (h.length === 1)
4069
4048
  return h[0].value;
4070
4049
  var l = h.reduce(function(f, c) {
4071
- return !f.length || c.type !== B.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
4050
+ return !f.length || c.type !== A.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
4072
4051
  }, []);
4073
4052
  return l.length <= 1 ? l[0] || "" : l;
4074
4053
  }, this.formatToParts = function(u) {
4075
- return ve(o.ast, o.locales, o.formatters, o.formats, u, void 0, o.message);
4054
+ return ve(s.ast, s.locales, s.formatters, s.formats, u, void 0, s.message);
4076
4055
  }, this.resolvedOptions = function() {
4077
4056
  var u;
4078
4057
  return {
4079
- locale: ((u = o.resolvedLocale) === null || u === void 0 ? void 0 : u.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
4058
+ locale: ((u = s.resolvedLocale) === null || u === void 0 ? void 0 : u.toString()) || Intl.NumberFormat.supportedLocalesOf(s.locales)[0]
4080
4059
  };
4081
4060
  }, this.getAst = function() {
4082
- return o.ast;
4061
+ return s.ast;
4083
4062
  }, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
4084
4063
  if (this.message = t, !e.__parse)
4085
4064
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
4086
4065
  var a = n || {};
4087
4066
  a.formatters;
4088
- var s = Ri(a, ["formatters"]);
4089
- this.ast = e.__parse(t, N(N({}, s), { locale: this.resolvedLocale }));
4067
+ var o = si(a, ["formatters"]);
4068
+ this.ast = e.__parse(t, x(x({}, o), { locale: this.resolvedLocale }));
4090
4069
  } else
4091
4070
  this.ast = t;
4092
4071
  if (!Array.isArray(this.ast))
4093
4072
  throw new TypeError("A message must be provided as a String or AST.");
4094
- this.formats = Sn(e.formats, i), this.formatters = n && n.formatters || Hn(this.formatterCache);
4073
+ this.formats = Tn(e.formats, i), this.formatters = n && n.formatters || Sn(this.formatterCache);
4095
4074
  }
4096
4075
  return Object.defineProperty(e, "defaultLocale", {
4097
4076
  get: function() {
@@ -4104,7 +4083,7 @@ var An = (
4104
4083
  var r = Intl.NumberFormat.supportedLocalesOf(t);
4105
4084
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
4106
4085
  }
4107
- }, e.__parse = _n, e.formats = {
4086
+ }, e.__parse = vn, e.formats = {
4108
4087
  number: {
4109
4088
  integer: {
4110
4089
  maximumFractionDigits: 0
@@ -4165,7 +4144,7 @@ var An = (
4165
4144
  }, e;
4166
4145
  }()
4167
4146
  );
4168
- function Pn(e, t) {
4147
+ function Bn(e, t) {
4169
4148
  if (t == null)
4170
4149
  return;
4171
4150
  if (t in e)
@@ -4175,9 +4154,9 @@ function Pn(e, t) {
4175
4154
  for (let n = 0; n < r.length; n++)
4176
4155
  if (typeof i == "object") {
4177
4156
  if (n > 0) {
4178
- const o = r.slice(n, r.length).join(".");
4179
- if (o in i) {
4180
- i = i[o];
4157
+ const s = r.slice(n, r.length).join(".");
4158
+ if (s in i) {
4159
+ i = i[s];
4181
4160
  break;
4182
4161
  }
4183
4162
  }
@@ -4186,36 +4165,36 @@ function Pn(e, t) {
4186
4165
  i = void 0;
4187
4166
  return i;
4188
4167
  }
4189
- const D = {}, Bn = (e, t, r) => r && (t in D || (D[t] = {}), e in D[t] || (D[t][e] = r), r), br = (e, t) => {
4168
+ const U = {}, An = (e, t, r) => r && (t in U || (U[t] = {}), e in U[t] || (U[t][e] = r), r), br = (e, t) => {
4190
4169
  if (t == null)
4191
4170
  return;
4192
- if (t in D && e in D[t])
4193
- return D[t][e];
4194
- const r = Ie(t);
4171
+ if (t in U && e in U[t])
4172
+ return U[t][e];
4173
+ const r = Pe(t);
4195
4174
  for (let i = 0; i < r.length; i++) {
4196
- const n = r[i], o = In(n, e);
4197
- if (o)
4198
- return Bn(e, t, o);
4175
+ const n = r[i], s = On(n, e);
4176
+ if (s)
4177
+ return An(e, t, s);
4199
4178
  }
4200
4179
  };
4201
- let lt;
4202
- const me = Pe({});
4203
- function On(e) {
4204
- return lt[e] || null;
4180
+ let ut;
4181
+ const me = Be({});
4182
+ function Pn(e) {
4183
+ return ut[e] || null;
4205
4184
  }
4206
4185
  function yr(e) {
4207
- return e in lt;
4186
+ return e in ut;
4208
4187
  }
4209
- function In(e, t) {
4188
+ function On(e, t) {
4210
4189
  if (!yr(e))
4211
4190
  return null;
4212
- const r = On(e);
4213
- return Pn(r, t);
4191
+ const r = Pn(e);
4192
+ return Bn(r, t);
4214
4193
  }
4215
4194
  function Mn(e) {
4216
4195
  if (e == null)
4217
4196
  return;
4218
- const t = Ie(e);
4197
+ const t = Pe(e);
4219
4198
  for (let r = 0; r < t.length; r++) {
4220
4199
  const i = t[r];
4221
4200
  if (yr(i))
@@ -4223,55 +4202,55 @@ function Mn(e) {
4223
4202
  }
4224
4203
  }
4225
4204
  function vr(e, ...t) {
4226
- delete D[e], me.update((r) => (r[e] = Ci.all([r[e] || {}, ...t]), r));
4205
+ delete U[e], me.update((r) => (r[e] = Ri.all([r[e] || {}, ...t]), r));
4227
4206
  }
4228
4207
  re(
4229
4208
  [me],
4230
4209
  ([e]) => Object.keys(e)
4231
4210
  );
4232
- me.subscribe((e) => lt = e);
4211
+ me.subscribe((e) => ut = e);
4233
4212
  const _e = {};
4234
- function Nn(e, t) {
4213
+ function In(e, t) {
4235
4214
  _e[e].delete(t), _e[e].size === 0 && delete _e[e];
4236
4215
  }
4237
4216
  function _r(e) {
4238
4217
  return _e[e];
4239
4218
  }
4240
- function Cn(e) {
4241
- return Ie(e).map((t) => {
4219
+ function Nn(e) {
4220
+ return Pe(e).map((t) => {
4242
4221
  const r = _r(t);
4243
4222
  return [t, r ? [...r] : []];
4244
4223
  }).filter(([, t]) => t.length > 0);
4245
4224
  }
4246
- function ot(e) {
4247
- return e == null ? !1 : Ie(e).some(
4225
+ function rt(e) {
4226
+ return e == null ? !1 : Pe(e).some(
4248
4227
  (t) => {
4249
4228
  var r;
4250
4229
  return (r = _r(t)) == null ? void 0 : r.size;
4251
4230
  }
4252
4231
  );
4253
4232
  }
4254
- function Rn(e, t) {
4233
+ function Cn(e, t) {
4255
4234
  return Promise.all(
4256
- t.map((i) => (Nn(e, i), i().then((n) => n.default || n)))
4235
+ t.map((i) => (In(e, i), i().then((n) => n.default || n)))
4257
4236
  ).then((i) => vr(e, ...i));
4258
4237
  }
4259
- const se = {};
4238
+ const ae = {};
4260
4239
  function Er(e) {
4261
- if (!ot(e))
4262
- return e in se ? se[e] : Promise.resolve();
4263
- const t = Cn(e);
4264
- return se[e] = Promise.all(
4240
+ if (!rt(e))
4241
+ return e in ae ? ae[e] : Promise.resolve();
4242
+ const t = Nn(e);
4243
+ return ae[e] = Promise.all(
4265
4244
  t.map(
4266
- ([r, i]) => Rn(r, i)
4245
+ ([r, i]) => Cn(r, i)
4267
4246
  )
4268
4247
  ).then(() => {
4269
- if (ot(e))
4248
+ if (rt(e))
4270
4249
  return Er(e);
4271
- delete se[e];
4272
- }), se[e];
4250
+ delete ae[e];
4251
+ }), ae[e];
4273
4252
  }
4274
- const Gn = {
4253
+ const Rn = {
4275
4254
  number: {
4276
4255
  scientific: { notation: "scientific" },
4277
4256
  engineering: { notation: "engineering" },
@@ -4300,140 +4279,140 @@ const Gn = {
4300
4279
  timeZoneName: "short"
4301
4280
  }
4302
4281
  }
4303
- }, $n = {
4282
+ }, Gn = {
4304
4283
  fallbackLocale: null,
4305
4284
  loadingDelay: 200,
4306
- formats: Gn,
4285
+ formats: Rn,
4307
4286
  warnOnMissingMessages: !0,
4308
4287
  handleMissingMessage: void 0,
4309
4288
  ignoreTag: !0
4310
- }, Dn = $n;
4289
+ }, Dn = Gn;
4311
4290
  function ee() {
4312
4291
  return Dn;
4313
4292
  }
4314
- const ke = Pe(!1);
4315
- var Un = Object.defineProperty, Fn = Object.defineProperties, jn = Object.getOwnPropertyDescriptors, Mt = Object.getOwnPropertySymbols, kn = Object.prototype.hasOwnProperty, Vn = Object.prototype.propertyIsEnumerable, Nt = (e, t, r) => t in e ? Un(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Xn = (e, t) => {
4293
+ const je = Be(!1);
4294
+ var Un = Object.defineProperty, $n = Object.defineProperties, Fn = Object.getOwnPropertyDescriptors, Mt = Object.getOwnPropertySymbols, jn = Object.prototype.hasOwnProperty, kn = Object.prototype.propertyIsEnumerable, It = (e, t, r) => t in e ? Un(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Vn = (e, t) => {
4316
4295
  for (var r in t || (t = {}))
4317
- kn.call(t, r) && Nt(e, r, t[r]);
4296
+ jn.call(t, r) && It(e, r, t[r]);
4318
4297
  if (Mt)
4319
4298
  for (var r of Mt(t))
4320
- Vn.call(t, r) && Nt(e, r, t[r]);
4299
+ kn.call(t, r) && It(e, r, t[r]);
4321
4300
  return e;
4322
- }, Wn = (e, t) => Fn(e, jn(t));
4323
- let st;
4324
- const Te = Pe(null);
4325
- function Ct(e) {
4301
+ }, Xn = (e, t) => $n(e, Fn(t));
4302
+ let it;
4303
+ const Le = Be(null);
4304
+ function Nt(e) {
4326
4305
  return e.split("-").map((t, r, i) => i.slice(0, r + 1).join("-")).reverse();
4327
4306
  }
4328
- function Ie(e, t = ee().fallbackLocale) {
4329
- const r = Ct(e);
4330
- return t ? [.../* @__PURE__ */ new Set([...r, ...Ct(t)])] : r;
4307
+ function Pe(e, t = ee().fallbackLocale) {
4308
+ const r = Nt(e);
4309
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Nt(t)])] : r;
4331
4310
  }
4332
4311
  function j() {
4333
- return st ?? void 0;
4312
+ return it ?? void 0;
4334
4313
  }
4335
- Te.subscribe((e) => {
4336
- st = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4314
+ Le.subscribe((e) => {
4315
+ it = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4337
4316
  });
4338
- const zn = (e) => {
4339
- if (e && Mn(e) && ot(e)) {
4317
+ const Wn = (e) => {
4318
+ if (e && Mn(e) && rt(e)) {
4340
4319
  const { loadingDelay: t } = ee();
4341
4320
  let r;
4342
4321
  return typeof window < "u" && j() != null && t ? r = window.setTimeout(
4343
- () => ke.set(!0),
4322
+ () => je.set(!0),
4344
4323
  t
4345
- ) : ke.set(!0), Er(e).then(() => {
4346
- Te.set(e);
4324
+ ) : je.set(!0), Er(e).then(() => {
4325
+ Le.set(e);
4347
4326
  }).finally(() => {
4348
- clearTimeout(r), ke.set(!1);
4327
+ clearTimeout(r), je.set(!1);
4349
4328
  });
4350
4329
  }
4351
- return Te.set(e);
4352
- }, ie = Wn(Xn({}, Te), {
4353
- set: zn
4354
- }), Me = (e) => {
4330
+ return Le.set(e);
4331
+ }, ie = Xn(Vn({}, Le), {
4332
+ set: Wn
4333
+ }), Oe = (e) => {
4355
4334
  const t = /* @__PURE__ */ Object.create(null);
4356
4335
  return (i) => {
4357
4336
  const n = JSON.stringify(i);
4358
4337
  return n in t ? t[n] : t[n] = e(i);
4359
4338
  };
4360
4339
  };
4361
- var Zn = Object.defineProperty, Se = Object.getOwnPropertySymbols, xr = Object.prototype.hasOwnProperty, wr = Object.prototype.propertyIsEnumerable, Rt = (e, t, r) => t in e ? Zn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ht = (e, t) => {
4340
+ var zn = Object.defineProperty, Te = Object.getOwnPropertySymbols, xr = Object.prototype.hasOwnProperty, wr = Object.prototype.propertyIsEnumerable, Ct = (e, t, r) => t in e ? zn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, lt = (e, t) => {
4362
4341
  for (var r in t || (t = {}))
4363
- xr.call(t, r) && Rt(e, r, t[r]);
4364
- if (Se)
4365
- for (var r of Se(t))
4366
- wr.call(t, r) && Rt(e, r, t[r]);
4342
+ xr.call(t, r) && Ct(e, r, t[r]);
4343
+ if (Te)
4344
+ for (var r of Te(t))
4345
+ wr.call(t, r) && Ct(e, r, t[r]);
4367
4346
  return e;
4368
4347
  }, ne = (e, t) => {
4369
4348
  var r = {};
4370
4349
  for (var i in e)
4371
4350
  xr.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
4372
- if (e != null && Se)
4373
- for (var i of Se(e))
4351
+ if (e != null && Te)
4352
+ for (var i of Te(e))
4374
4353
  t.indexOf(i) < 0 && wr.call(e, i) && (r[i] = e[i]);
4375
4354
  return r;
4376
4355
  };
4377
- const ce = (e, t) => {
4356
+ const fe = (e, t) => {
4378
4357
  const { formats: r } = ee();
4379
4358
  if (e in r && t in r[e])
4380
4359
  return r[e][t];
4381
4360
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4382
- }, Qn = Me(
4361
+ }, Zn = Oe(
4383
4362
  (e) => {
4384
4363
  var t = e, { locale: r, format: i } = t, n = ne(t, ["locale", "format"]);
4385
4364
  if (r == null)
4386
4365
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4387
- return i && (n = ce("number", i)), new Intl.NumberFormat(r, n);
4366
+ return i && (n = fe("number", i)), new Intl.NumberFormat(r, n);
4388
4367
  }
4389
- ), qn = Me(
4368
+ ), Qn = Oe(
4390
4369
  (e) => {
4391
4370
  var t = e, { locale: r, format: i } = t, n = ne(t, ["locale", "format"]);
4392
4371
  if (r == null)
4393
4372
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4394
- return i ? n = ce("date", i) : Object.keys(n).length === 0 && (n = ce("date", "short")), new Intl.DateTimeFormat(r, n);
4373
+ return i ? n = fe("date", i) : Object.keys(n).length === 0 && (n = fe("date", "short")), new Intl.DateTimeFormat(r, n);
4395
4374
  }
4396
- ), Jn = Me(
4375
+ ), qn = Oe(
4397
4376
  (e) => {
4398
4377
  var t = e, { locale: r, format: i } = t, n = ne(t, ["locale", "format"]);
4399
4378
  if (r == null)
4400
4379
  throw new Error(
4401
4380
  '[svelte-i18n] A "locale" must be set to format time values'
4402
4381
  );
4403
- return i ? n = ce("time", i) : Object.keys(n).length === 0 && (n = ce("time", "short")), new Intl.DateTimeFormat(r, n);
4382
+ return i ? n = fe("time", i) : Object.keys(n).length === 0 && (n = fe("time", "short")), new Intl.DateTimeFormat(r, n);
4404
4383
  }
4405
- ), Yn = (e = {}) => {
4384
+ ), Jn = (e = {}) => {
4406
4385
  var t = e, {
4407
4386
  locale: r = j()
4408
4387
  } = t, i = ne(t, [
4409
4388
  "locale"
4410
4389
  ]);
4411
- return Qn(ht({ locale: r }, i));
4412
- }, Kn = (e = {}) => {
4390
+ return Zn(lt({ locale: r }, i));
4391
+ }, Yn = (e = {}) => {
4413
4392
  var t = e, {
4414
4393
  locale: r = j()
4415
4394
  } = t, i = ne(t, [
4416
4395
  "locale"
4417
4396
  ]);
4418
- return qn(ht({ locale: r }, i));
4419
- }, eo = (e = {}) => {
4397
+ return Qn(lt({ locale: r }, i));
4398
+ }, Kn = (e = {}) => {
4420
4399
  var t = e, {
4421
4400
  locale: r = j()
4422
4401
  } = t, i = ne(t, [
4423
4402
  "locale"
4424
4403
  ]);
4425
- return Jn(ht({ locale: r }, i));
4426
- }, to = Me(
4404
+ return qn(lt({ locale: r }, i));
4405
+ }, es = Oe(
4427
4406
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4428
- (e, t = j()) => new An(e, t, ee().formats, {
4407
+ (e, t = j()) => new Hn(e, t, ee().formats, {
4429
4408
  ignoreTag: ee().ignoreTag
4430
4409
  })
4431
- ), ro = (e, t = {}) => {
4432
- var r, i, n, o;
4410
+ ), ts = (e, t = {}) => {
4411
+ var r, i, n, s;
4433
4412
  let a = t;
4434
4413
  typeof e == "object" && (a = e, e = a.id);
4435
4414
  const {
4436
- values: s,
4415
+ values: o,
4437
4416
  locale: u = j(),
4438
4417
  default: h
4439
4418
  } = a;
@@ -4443,16 +4422,16 @@ const ce = (e, t) => {
4443
4422
  );
4444
4423
  let l = br(e, u);
4445
4424
  if (!l)
4446
- l = (o = (n = (i = (r = ee()).handleMissingMessage) == null ? void 0 : i.call(r, { locale: u, id: e, defaultValue: h })) != null ? n : h) != null ? o : e;
4425
+ l = (s = (n = (i = (r = ee()).handleMissingMessage) == null ? void 0 : i.call(r, { locale: u, id: e, defaultValue: h })) != null ? n : h) != null ? s : e;
4447
4426
  else if (typeof l != "string")
4448
4427
  return console.warn(
4449
4428
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
4450
4429
  ), l;
4451
- if (!s)
4430
+ if (!o)
4452
4431
  return l;
4453
4432
  let f = l;
4454
4433
  try {
4455
- f = to(l, u).format(s);
4434
+ f = es(l, u).format(o);
4456
4435
  } catch (c) {
4457
4436
  c instanceof Error && console.warn(
4458
4437
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4460,20 +4439,20 @@ const ce = (e, t) => {
4460
4439
  );
4461
4440
  }
4462
4441
  return f;
4463
- }, io = (e, t) => eo(t).format(e), no = (e, t) => Kn(t).format(e), oo = (e, t) => Yn(t).format(e), so = (e, t = j()) => br(e, t), ao = re([ie, me], () => ro);
4464
- re([ie], () => io);
4465
- re([ie], () => no);
4466
- re([ie], () => oo);
4467
- re([ie, me], () => so);
4468
- window.emWidgets = { topic: yi };
4469
- const uo = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4470
- function Gt(e, t) {
4442
+ }, rs = (e, t) => Kn(t).format(e), is = (e, t) => Yn(t).format(e), ns = (e, t) => Jn(t).format(e), ss = (e, t = j()) => br(e, t), os = re([ie, me], () => ts);
4443
+ re([ie], () => rs);
4444
+ re([ie], () => is);
4445
+ re([ie], () => ns);
4446
+ re([ie, me], () => ss);
4447
+ window.emWidgets = { topic: vi };
4448
+ const as = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4449
+ function Rt(e, t) {
4471
4450
  vr(e, t);
4472
4451
  }
4473
- function lo(e) {
4452
+ function us(e) {
4474
4453
  ie.set(e);
4475
4454
  }
4476
- const $t = {
4455
+ const Gt = {
4477
4456
  en: {
4478
4457
  returnToMenu: "Return to menu",
4479
4458
  gamingLimitsText: "Gaming limits",
@@ -4563,13 +4542,13 @@ const $t = {
4563
4542
  lossLimit: "Loss Limit"
4564
4543
  }
4565
4544
  };
4566
- function ho(e, t) {
4545
+ function ls(e, t) {
4567
4546
  if (e) {
4568
4547
  const r = document.createElement("style");
4569
4548
  r.innerHTML = t, e.appendChild(r);
4570
4549
  }
4571
4550
  }
4572
- function co(e, t) {
4551
+ function hs(e, t) {
4573
4552
  const r = new URL(t);
4574
4553
  fetch(r.href).then((i) => i.text()).then((i) => {
4575
4554
  const n = document.createElement("style");
@@ -4578,7 +4557,7 @@ function co(e, t) {
4578
4557
  console.error("There was an error while trying to load client styling from URL", i);
4579
4558
  });
4580
4559
  }
4581
- function fo(e, t, r) {
4560
+ function cs(e, t, r) {
4582
4561
  if (window.emMessageBus) {
4583
4562
  const i = document.createElement("style");
4584
4563
  window.emMessageBus.subscribe(t, (n) => {
@@ -4598,21 +4577,21 @@ if (typeof window < "u") {
4598
4577
  }
4599
4578
  };
4600
4579
  };
4601
- customElements.define = e(customElements.define), import("./PlayerAccountGamingLimitsInfoCard-DYnNmpCR.js").then(({ default: t }) => {
4580
+ customElements.define = e(customElements.define), import("./PlayerAccountGamingLimitsInfoCard-DDFrYx0M.js").then(({ default: t }) => {
4602
4581
  !customElements.get("player-account-gaming-limits-info-card") && customElements.define(
4603
4582
  "player-account-gaming-limits-info-card",
4604
4583
  t.element
4605
4584
  );
4606
4585
  });
4607
4586
  }
4608
- function mo(e) {
4609
- Mr(e, "svelte-pgwzq8", '.PlayerAccountGamingLimitsWrapper{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));padding:50px;max-width:760px}.PlayerAccountGamingLimitsWrapper .PlayerAccountGamingLimitsHeader h3{font-size:24px;font-weight:400;text-transform:capitalize}.PlayerAccountGamingLimitsWrapper .PlayerAccountGamingLimitsHeader .PlayerAccountGamingLimitsMobileTitle{font-size:16px;font-weight:400}.PlayerGamingLimitsTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:400}.PlayerGamingLimitsTitleMobile{font-size:16px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.PlayerGamingLimitsTitleNone{display:none}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.PlayerAccountMobileGamingLimitsWrapper{padding:20px 15px;background:var(--emw--color-white, #FFFFFF);max-width:unset}.PlayerAccountGamingLimitsContainer{width:100%;display:grid;grid-template-columns:repeat(auto-fill, minmax(300px, 1fr));row-gap:30px;column-gap:30px}.PlayerAccountSuccessfulRemoveContainer{background:var(--emw--color-primary-50, #FBECF4);border:1px solid var(--emw--color-primary-100, #F1BED9);font-size:16px;font-weight:300;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border-radius:5px;padding:10px;margin-bottom:20px}.PlayerAccountSuccessfulRemoveContainer p{margin:0}.ModalLoader{position:absolute;left:0;right:0;top:50%;width:300px;height:300px;margin:0 auto;display:flex;align-items:center;justify-content:center}.ModalLoader:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:5px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border-color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E)) transparent var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E)) transparent;animation:Loader 1.2s linear infinite}@keyframes Loader{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
4587
+ function fs(e) {
4588
+ Ir(e, "svelte-pgwzq8", '.PlayerAccountGamingLimitsWrapper{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));padding:50px;max-width:760px}.PlayerAccountGamingLimitsWrapper .PlayerAccountGamingLimitsHeader h3{font-size:24px;font-weight:400;text-transform:capitalize}.PlayerAccountGamingLimitsWrapper .PlayerAccountGamingLimitsHeader .PlayerAccountGamingLimitsMobileTitle{font-size:16px;font-weight:400}.PlayerGamingLimitsTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:400}.PlayerGamingLimitsTitleMobile{font-size:16px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.PlayerGamingLimitsTitleNone{display:none}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.PlayerAccountMobileGamingLimitsWrapper{padding:20px 15px;background:var(--emw--color-white, #FFFFFF);max-width:unset}.PlayerAccountGamingLimitsContainer{width:100%;display:grid;grid-template-columns:repeat(auto-fill, minmax(300px, 1fr));row-gap:30px;column-gap:30px}.PlayerAccountSuccessfulRemoveContainer{background:var(--emw--color-primary-50, #FBECF4);border:1px solid var(--emw--color-primary-100, #F1BED9);font-size:16px;font-weight:300;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border-radius:5px;padding:10px;margin-bottom:20px}.PlayerAccountSuccessfulRemoveContainer p{margin:0}.ModalLoader{position:absolute;left:0;right:0;top:50%;width:300px;height:300px;margin:0 auto;display:flex;align-items:center;justify-content:center}.ModalLoader:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:5px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border-color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E)) transparent var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E)) transparent;animation:Loader 1.2s linear infinite}@keyframes Loader{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
4610
4589
  }
4611
- function po(e) {
4590
+ function ms(e) {
4612
4591
  let t;
4613
4592
  return {
4614
4593
  c() {
4615
- t = O("player-account-gaming-limits-group-edit"), m(
4594
+ t = P("player-account-gaming-limits-group-edit"), m(
4616
4595
  t,
4617
4596
  "limitsdata",
4618
4597
  /*editLimitData*/
@@ -4731,27 +4710,27 @@ function po(e) {
4731
4710
  );
4732
4711
  },
4733
4712
  d(r) {
4734
- r && U(t);
4713
+ r && $(t);
4735
4714
  }
4736
4715
  };
4737
4716
  }
4738
- function go(e) {
4717
+ function ps(e) {
4739
4718
  let t, r, i, n = (
4740
4719
  /*$_*/
4741
4720
  e[17]("gamingLimitsText") + ""
4742
- ), o, a, s, u, h, l, f, c, b, p, g = (
4721
+ ), s, a, o, u, h, l, f, c, b, p, g = (
4743
4722
  /*isMobile*/
4744
- e[18] && yo(e)
4723
+ e[18] && gs(e)
4745
4724
  );
4746
4725
  return {
4747
4726
  c() {
4748
- t = O("div"), g && g.c(), r = z(), i = O("h2"), o = ue(n), a = z(), s = O("div"), u = O("player-account-gaming-limits-info-card"), h = z(), l = O("player-account-gaming-limits-info-card"), f = z(), c = O("player-account-gaming-limits-info-card"), b = z(), p = O("player-account-gaming-limits-info-card"), H(i, "class", "PlayerGamingLimitsTitle " + /*isMobile*/
4727
+ t = P("div"), g && g.c(), r = W(), i = P("h2"), s = le(n), a = W(), o = P("div"), u = P("player-account-gaming-limits-info-card"), h = W(), l = P("player-account-gaming-limits-info-card"), f = W(), c = P("player-account-gaming-limits-info-card"), b = W(), p = P("player-account-gaming-limits-info-card"), H(i, "class", "PlayerGamingLimitsTitle " + /*isMobile*/
4749
4728
  (e[18] ? "PlayerGamingLimitsTitleNone" : "")), m(
4750
4729
  u,
4751
4730
  "limitsdata",
4752
4731
  /*depositlimit*/
4753
4732
  e[1]
4754
- ), m(u, "limitname", _o), m(
4733
+ ), m(u, "limitname", ys), m(
4755
4734
  u,
4756
4735
  "currency",
4757
4736
  /*currency*/
@@ -4781,7 +4760,7 @@ function go(e) {
4781
4760
  "limitsdata",
4782
4761
  /*wageringlimit*/
4783
4762
  e[2]
4784
- ), m(l, "limitname", Eo), m(
4763
+ ), m(l, "limitname", vs), m(
4785
4764
  l,
4786
4765
  "currency",
4787
4766
  /*currency*/
@@ -4811,7 +4790,7 @@ function go(e) {
4811
4790
  "limitsdata",
4812
4791
  /*losslimit*/
4813
4792
  e[3]
4814
- ), m(c, "limitname", xo), m(
4793
+ ), m(c, "limitname", _s), m(
4815
4794
  c,
4816
4795
  "currency",
4817
4796
  /*currency*/
@@ -4841,7 +4820,7 @@ function go(e) {
4841
4820
  "limitsdata",
4842
4821
  /*timelimit*/
4843
4822
  e[4]
4844
- ), m(p, "limitname", wo), m(
4823
+ ), m(p, "limitname", Es), m(
4845
4824
  p,
4846
4825
  "currency",
4847
4826
  /*currency*/
@@ -4866,17 +4845,17 @@ function go(e) {
4866
4845
  "mbsource",
4867
4846
  /*mbsource*/
4868
4847
  e[11]
4869
- ), H(s, "class", "PlayerAccountGamingLimitsContainer"), H(t, "class", "PlayerAccountGamingLimitsWrapper " + /*isMobile*/
4848
+ ), H(o, "class", "PlayerAccountGamingLimitsContainer"), H(t, "class", "PlayerAccountGamingLimitsWrapper " + /*isMobile*/
4870
4849
  (e[18] ? "PlayerAccountMobileGamingLimitsWrapper" : ""));
4871
4850
  },
4872
4851
  m(d, v) {
4873
- te(d, t, v), g && g.m(t, null), w(t, r), w(t, i), w(i, o), w(t, a), w(t, s), w(s, u), w(s, h), w(s, l), w(s, f), w(s, c), w(s, b), w(s, p);
4852
+ te(d, t, v), g && g.m(t, null), L(t, r), L(t, i), L(i, s), L(t, a), L(t, o), L(o, u), L(o, h), L(o, l), L(o, f), L(o, c), L(o, b), L(o, p);
4874
4853
  },
4875
4854
  p(d, v) {
4876
4855
  /*isMobile*/
4877
4856
  d[18] && g.p(d, v), v & /*$_*/
4878
4857
  131072 && n !== (n = /*$_*/
4879
- d[17]("gamingLimitsText") + "") && Wt(o, n), v & /*depositlimit*/
4858
+ d[17]("gamingLimitsText") + "") && Xt(s, n), v & /*depositlimit*/
4880
4859
  2 && m(
4881
4860
  u,
4882
4861
  "limitsdata",
@@ -5023,36 +5002,36 @@ function go(e) {
5023
5002
  );
5024
5003
  },
5025
5004
  d(d) {
5026
- d && U(t), g && g.d();
5005
+ d && $(t), g && g.d();
5027
5006
  }
5028
5007
  };
5029
5008
  }
5030
- function bo(e) {
5009
+ function ds(e) {
5031
5010
  let t;
5032
5011
  return {
5033
5012
  c() {
5034
- t = O("div"), H(t, "class", "ModalLoader");
5013
+ t = P("div"), H(t, "class", "ModalLoader");
5035
5014
  },
5036
5015
  m(r, i) {
5037
5016
  te(r, t, i);
5038
5017
  },
5039
- p: I,
5018
+ p: M,
5040
5019
  d(r) {
5041
- r && U(t);
5020
+ r && $(t);
5042
5021
  }
5043
5022
  };
5044
5023
  }
5045
- function yo(e) {
5046
- let t, r, i, n, o, a, s, u, h, l, f = (
5024
+ function gs(e) {
5025
+ let t, r, i, n, s, a, o, u, h, l, f = (
5047
5026
  /*$_*/
5048
5027
  e[17]("gamingLimitsText") + ""
5049
5028
  ), c, b, p;
5050
5029
  return {
5051
5030
  c() {
5052
- t = O("div"), r = V("svg"), i = V("defs"), n = V("style"), o = ue(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), a = V("g"), s = V("g"), u = V("path"), h = z(), l = O("h2"), c = ue(f), H(u, "class", "aaa"), H(u, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), H(u, "transform", "translate(15 15) rotate(180)"), H(s, "transform", "translate(20 158)"), H(a, "transform", "translate(-20 -158)"), H(r, "xmlns", "http://www.w3.org/2000/svg"), H(r, "width", "15"), H(r, "height", "15"), H(r, "viewBox", "0 0 15 15"), H(l, "class", "PlayerGamingLimitsTitleMobile"), H(t, "class", "MenuReturnButton");
5031
+ t = P("div"), r = k("svg"), i = k("defs"), n = k("style"), s = le(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), a = k("g"), o = k("g"), u = k("path"), h = W(), l = P("h2"), c = le(f), H(u, "class", "aaa"), H(u, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), H(u, "transform", "translate(15 15) rotate(180)"), H(o, "transform", "translate(20 158)"), H(a, "transform", "translate(-20 -158)"), H(r, "xmlns", "http://www.w3.org/2000/svg"), H(r, "width", "15"), H(r, "height", "15"), H(r, "viewBox", "0 0 15 15"), H(l, "class", "PlayerGamingLimitsTitleMobile"), H(t, "class", "MenuReturnButton");
5053
5032
  },
5054
5033
  m(g, d) {
5055
- te(g, t, d), w(t, r), w(r, i), w(i, n), w(n, o), w(r, a), w(a, s), w(s, u), w(t, h), w(t, l), w(l, c), b || (p = Cr(
5034
+ te(g, t, d), L(t, r), L(r, i), L(i, n), L(n, s), L(r, a), L(a, o), L(o, u), L(t, h), L(t, l), L(l, c), b || (p = Cr(
5056
5035
  t,
5057
5036
  "click",
5058
5037
  /*click_handler*/
@@ -5062,119 +5041,119 @@ function yo(e) {
5062
5041
  p(g, d) {
5063
5042
  d & /*$_*/
5064
5043
  131072 && f !== (f = /*$_*/
5065
- g[17]("gamingLimitsText") + "") && Wt(c, f);
5044
+ g[17]("gamingLimitsText") + "") && Xt(c, f);
5066
5045
  },
5067
5046
  d(g) {
5068
- g && U(t), b = !1, p();
5047
+ g && $(t), b = !1, p();
5069
5048
  }
5070
5049
  };
5071
5050
  }
5072
- function vo(e) {
5051
+ function bs(e) {
5073
5052
  let t;
5074
- function r(o, a) {
5053
+ function r(s, a) {
5075
5054
  return (
5076
5055
  /*isLoading*/
5077
- o[13] ? bo : (
5056
+ s[13] ? ds : (
5078
5057
  /*limitsGroupView*/
5079
- o[16] ? go : po
5058
+ s[16] ? ps : ms
5080
5059
  )
5081
5060
  );
5082
5061
  }
5083
5062
  let i = r(e), n = i(e);
5084
5063
  return {
5085
5064
  c() {
5086
- t = O("div"), n.c();
5065
+ t = P("div"), n.c();
5087
5066
  },
5088
- m(o, a) {
5089
- te(o, t, a), n.m(t, null), e[22](t);
5067
+ m(s, a) {
5068
+ te(s, t, a), n.m(t, null), e[22](t);
5090
5069
  },
5091
- p(o, [a]) {
5092
- i === (i = r(o)) && n ? n.p(o, a) : (n.d(1), n = i(o), n && (n.c(), n.m(t, null)));
5070
+ p(s, [a]) {
5071
+ i === (i = r(s)) && n ? n.p(s, a) : (n.d(1), n = i(s), n && (n.c(), n.m(t, null)));
5093
5072
  },
5094
- i: I,
5095
- o: I,
5096
- d(o) {
5097
- o && U(t), n.d(), e[22](null);
5073
+ i: M,
5074
+ o: M,
5075
+ d(s) {
5076
+ s && $(t), n.d(), e[22](null);
5098
5077
  }
5099
5078
  };
5100
5079
  }
5101
- let _o = "Deposit Limit", Eo = "Wagering Limit", xo = "Loss Limit", wo = "Time Limit";
5102
- function Lo(e, t, r) {
5080
+ let ys = "Deposit Limit", vs = "Wagering Limit", _s = "Loss Limit", Es = "Time Limit";
5081
+ function xs(e, t, r) {
5103
5082
  let i;
5104
- Br(e, ao, (y) => r(17, i = y));
5105
- let { depositlimit: n } = t, { wageringlimit: o } = t, { losslimit: a } = t, { timelimit: s } = t, { showdeletenotification: u = !1 } = t, { showsuccessnotification: h = !1 } = t, { lang: l = "en" } = t, { currency: f = "" } = t, { separatelimits: c = "true" } = t, { clientstyling: b = "" } = t, { clientstylingurl: p = "" } = t, { mbsource: g } = t, { translationurl: d = "" } = t;
5083
+ Pr(e, os, (y) => r(17, i = y));
5084
+ let { depositlimit: n } = t, { wageringlimit: s } = t, { losslimit: a } = t, { timelimit: o } = t, { showdeletenotification: u = !1 } = t, { showsuccessnotification: h = !1 } = t, { lang: l = "en" } = t, { currency: f = "" } = t, { separatelimits: c = "true" } = t, { clientstyling: b = "" } = t, { clientstylingurl: p = "" } = t, { mbsource: g } = t, { translationurl: d = "" } = t;
5106
5085
  const v = () => {
5107
- fetch(d).then(($) => $.json()).then(($) => {
5108
- Object.keys($).forEach((mt) => {
5109
- Gt(mt, $[mt]);
5086
+ fetch(d).then((D) => D.json()).then((D) => {
5087
+ Object.keys(D).forEach((ft) => {
5088
+ Rt(ft, D[ft]);
5110
5089
  });
5111
- }).catch(($) => {
5112
- console.log($);
5090
+ }).catch((D) => {
5091
+ console.log(D);
5113
5092
  });
5114
5093
  };
5115
- Object.keys($t).forEach((y) => {
5116
- Gt(y, $t[y]);
5094
+ Object.keys(Gt).forEach((y) => {
5095
+ Rt(y, Gt[y]);
5117
5096
  });
5118
- let T, S = !0, M = window.navigator.userAgent, A = uo(M) !== "PC", C, k = "", Ne = !0;
5097
+ let T, S, I = !0, O = window.navigator.userAgent, N = as(O) !== "PC", se, Me = "", Ie = !0;
5119
5098
  window.matchMedia("(min-width: 768px)");
5120
- const ct = () => {
5099
+ const ht = () => {
5121
5100
  window.postMessage(
5122
5101
  {
5123
5102
  type: "PlayerAccountMenuActive",
5124
- isMobile: A
5103
+ isMobile: N
5125
5104
  },
5126
5105
  window.location.href
5127
5106
  );
5128
5107
  }, Lr = () => {
5129
- lo(l);
5130
- }, ft = (y) => {
5108
+ us(l);
5109
+ }, ct = (y) => {
5131
5110
  if (y.data)
5132
5111
  switch (y.data.type) {
5133
5112
  case "PlayerLimitsData":
5134
- r(0, l = y.data.limits.lang), r(1, n = y.data.limits.depositlimit), r(2, o = y.data.limits.wageringlimit), r(3, a = y.data.limits.losslimit), r(4, s = y.data.limits.timelimit), r(13, S = !1);
5113
+ r(0, l = y.data.limits.lang), r(1, n = y.data.limits.depositlimit), r(2, s = y.data.limits.wageringlimit), r(3, a = y.data.limits.losslimit), r(4, o = y.data.limits.timelimit), r(13, I = !1);
5135
5114
  break;
5136
5115
  case "EditPlayerAccountGamingLimits":
5137
- r(14, C = y.data.edit), r(15, k = y.data.name), r(16, Ne = !1), window.postMessage(
5116
+ r(14, se = y.data.edit), r(15, Me = y.data.name), r(16, Ie = !1), window.postMessage(
5138
5117
  {
5139
5118
  type: "EditPlayerLimit",
5140
- name: k
5119
+ name: Me
5141
5120
  },
5142
5121
  window.location.href
5143
5122
  ), window.postMessage({ type: "ScrollToTop" }, window.location.href);
5144
5123
  break;
5145
5124
  case "PlayerAccountBackToLimitsView":
5146
- r(16, Ne = !0);
5125
+ r(16, Ie = !0);
5147
5126
  break;
5148
5127
  case "ProfileDetailsData":
5149
- let $ = y.data.profileDetails;
5150
- r(5, f = $.currency);
5128
+ let D = y.data.profileDetails;
5129
+ r(5, f = D.currency);
5151
5130
  break;
5152
5131
  }
5153
5132
  };
5154
- Vr(() => (window.addEventListener("message", ft, !1), () => {
5155
- window.removeEventListener("message", ft);
5133
+ Vr(() => (window.addEventListener("message", ct, !1), () => {
5134
+ window.emMessageBus && S && S.unsubscribe(), window.removeEventListener("message", ct);
5156
5135
  }));
5157
- const Tr = () => ct();
5136
+ const Tr = () => ht();
5158
5137
  function Sr(y) {
5159
- Ve[y ? "unshift" : "push"](() => {
5138
+ ke[y ? "unshift" : "push"](() => {
5160
5139
  T = y, r(12, T);
5161
5140
  });
5162
5141
  }
5163
5142
  return e.$$set = (y) => {
5164
- "depositlimit" in y && r(1, n = y.depositlimit), "wageringlimit" in y && r(2, o = y.wageringlimit), "losslimit" in y && r(3, a = y.losslimit), "timelimit" in y && r(4, s = y.timelimit), "showdeletenotification" in y && r(6, u = y.showdeletenotification), "showsuccessnotification" in y && r(7, h = y.showsuccessnotification), "lang" in y && r(0, l = y.lang), "currency" in y && r(5, f = y.currency), "separatelimits" in y && r(8, c = y.separatelimits), "clientstyling" in y && r(9, b = y.clientstyling), "clientstylingurl" in y && r(10, p = y.clientstylingurl), "mbsource" in y && r(11, g = y.mbsource), "translationurl" in y && r(20, d = y.translationurl);
5143
+ "depositlimit" in y && r(1, n = y.depositlimit), "wageringlimit" in y && r(2, s = y.wageringlimit), "losslimit" in y && r(3, a = y.losslimit), "timelimit" in y && r(4, o = y.timelimit), "showdeletenotification" in y && r(6, u = y.showdeletenotification), "showsuccessnotification" in y && r(7, h = y.showsuccessnotification), "lang" in y && r(0, l = y.lang), "currency" in y && r(5, f = y.currency), "separatelimits" in y && r(8, c = y.separatelimits), "clientstyling" in y && r(9, b = y.clientstyling), "clientstylingurl" in y && r(10, p = y.clientstylingurl), "mbsource" in y && r(11, g = y.mbsource), "translationurl" in y && r(20, d = y.translationurl);
5165
5144
  }, e.$$.update = () => {
5166
5145
  e.$$.dirty & /*lang*/
5167
5146
  1 && l && Lr(), e.$$.dirty & /*clientstyling, customStylingContainer*/
5168
- 4608 && b && T && ho(T, b), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
5169
- 5120 && p && T && co(T, p), e.$$.dirty & /*mbsource, customStylingContainer*/
5170
- 6144 && g && T && fo(T, `${g}.Style`), e.$$.dirty & /*translationurl*/
5147
+ 4608 && b && T && ls(T, b), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
5148
+ 5120 && p && T && hs(T, p), e.$$.dirty & /*mbsource, customStylingContainer*/
5149
+ 6144 && g && T && cs(T, `${g}.Style`), e.$$.dirty & /*translationurl*/
5171
5150
  1048576 && d && v();
5172
5151
  }, [
5173
5152
  l,
5174
5153
  n,
5175
- o,
5176
- a,
5177
5154
  s,
5155
+ a,
5156
+ o,
5178
5157
  f,
5179
5158
  u,
5180
5159
  h,
@@ -5183,25 +5162,25 @@ function Lo(e, t, r) {
5183
5162
  p,
5184
5163
  g,
5185
5164
  T,
5186
- S,
5187
- C,
5188
- k,
5189
- Ne,
5165
+ I,
5166
+ se,
5167
+ Me,
5168
+ Ie,
5190
5169
  i,
5191
- A,
5192
- ct,
5170
+ N,
5171
+ ht,
5193
5172
  d,
5194
5173
  Tr,
5195
5174
  Sr
5196
5175
  ];
5197
5176
  }
5198
- class To extends ii {
5177
+ class ws extends ii {
5199
5178
  constructor(t) {
5200
5179
  super(), ti(
5201
5180
  this,
5202
5181
  t,
5203
- Lo,
5204
- vo,
5182
+ xs,
5183
+ bs,
5205
5184
  Ut,
5206
5185
  {
5207
5186
  depositlimit: 1,
@@ -5218,138 +5197,138 @@ class To extends ii {
5218
5197
  mbsource: 11,
5219
5198
  translationurl: 20
5220
5199
  },
5221
- mo
5200
+ fs
5222
5201
  );
5223
5202
  }
5224
5203
  get depositlimit() {
5225
5204
  return this.$$.ctx[1];
5226
5205
  }
5227
5206
  set depositlimit(t) {
5228
- this.$$set({ depositlimit: t }), P();
5207
+ this.$$set({ depositlimit: t }), B();
5229
5208
  }
5230
5209
  get wageringlimit() {
5231
5210
  return this.$$.ctx[2];
5232
5211
  }
5233
5212
  set wageringlimit(t) {
5234
- this.$$set({ wageringlimit: t }), P();
5213
+ this.$$set({ wageringlimit: t }), B();
5235
5214
  }
5236
5215
  get losslimit() {
5237
5216
  return this.$$.ctx[3];
5238
5217
  }
5239
5218
  set losslimit(t) {
5240
- this.$$set({ losslimit: t }), P();
5219
+ this.$$set({ losslimit: t }), B();
5241
5220
  }
5242
5221
  get timelimit() {
5243
5222
  return this.$$.ctx[4];
5244
5223
  }
5245
5224
  set timelimit(t) {
5246
- this.$$set({ timelimit: t }), P();
5225
+ this.$$set({ timelimit: t }), B();
5247
5226
  }
5248
5227
  get showdeletenotification() {
5249
5228
  return this.$$.ctx[6];
5250
5229
  }
5251
5230
  set showdeletenotification(t) {
5252
- this.$$set({ showdeletenotification: t }), P();
5231
+ this.$$set({ showdeletenotification: t }), B();
5253
5232
  }
5254
5233
  get showsuccessnotification() {
5255
5234
  return this.$$.ctx[7];
5256
5235
  }
5257
5236
  set showsuccessnotification(t) {
5258
- this.$$set({ showsuccessnotification: t }), P();
5237
+ this.$$set({ showsuccessnotification: t }), B();
5259
5238
  }
5260
5239
  get lang() {
5261
5240
  return this.$$.ctx[0];
5262
5241
  }
5263
5242
  set lang(t) {
5264
- this.$$set({ lang: t }), P();
5243
+ this.$$set({ lang: t }), B();
5265
5244
  }
5266
5245
  get currency() {
5267
5246
  return this.$$.ctx[5];
5268
5247
  }
5269
5248
  set currency(t) {
5270
- this.$$set({ currency: t }), P();
5249
+ this.$$set({ currency: t }), B();
5271
5250
  }
5272
5251
  get separatelimits() {
5273
5252
  return this.$$.ctx[8];
5274
5253
  }
5275
5254
  set separatelimits(t) {
5276
- this.$$set({ separatelimits: t }), P();
5255
+ this.$$set({ separatelimits: t }), B();
5277
5256
  }
5278
5257
  get clientstyling() {
5279
5258
  return this.$$.ctx[9];
5280
5259
  }
5281
5260
  set clientstyling(t) {
5282
- this.$$set({ clientstyling: t }), P();
5261
+ this.$$set({ clientstyling: t }), B();
5283
5262
  }
5284
5263
  get clientstylingurl() {
5285
5264
  return this.$$.ctx[10];
5286
5265
  }
5287
5266
  set clientstylingurl(t) {
5288
- this.$$set({ clientstylingurl: t }), P();
5267
+ this.$$set({ clientstylingurl: t }), B();
5289
5268
  }
5290
5269
  get mbsource() {
5291
5270
  return this.$$.ctx[11];
5292
5271
  }
5293
5272
  set mbsource(t) {
5294
- this.$$set({ mbsource: t }), P();
5273
+ this.$$set({ mbsource: t }), B();
5295
5274
  }
5296
5275
  get translationurl() {
5297
5276
  return this.$$.ctx[20];
5298
5277
  }
5299
5278
  set translationurl(t) {
5300
- this.$$set({ translationurl: t }), P();
5279
+ this.$$set({ translationurl: t }), B();
5301
5280
  }
5302
5281
  }
5303
- ri(To, { depositlimit: {}, wageringlimit: {}, losslimit: {}, timelimit: {}, showdeletenotification: { type: "Boolean" }, showsuccessnotification: { type: "Boolean" }, lang: {}, currency: {}, separatelimits: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
5282
+ ri(ws, { depositlimit: {}, wageringlimit: {}, losslimit: {}, timelimit: {}, showdeletenotification: { type: "Boolean" }, showsuccessnotification: { type: "Boolean" }, lang: {}, currency: {}, separatelimits: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
5304
5283
  export {
5305
5284
  ie as $,
5306
- Ve as A,
5307
- ho as B,
5308
- co as C,
5309
- fo as D,
5310
- ri as E,
5311
- ao as F,
5285
+ cs as A,
5286
+ ke as B,
5287
+ ls as C,
5288
+ k as D,
5289
+ M as E,
5290
+ os as F,
5312
5291
  m as G,
5313
- Io as H,
5314
- Fo as I,
5315
- Bo as J,
5316
- Ro as K,
5317
- Mo as L,
5318
- Oo as M,
5319
- Co as N,
5320
- He as O,
5321
- No as P,
5322
- we as Q,
5292
+ Ps as H,
5293
+ Us as I,
5294
+ Bs as J,
5295
+ As as K,
5296
+ Ns as L,
5297
+ Os as M,
5298
+ Ms as N,
5299
+ we as O,
5300
+ Is as P,
5301
+ Se as Q,
5323
5302
  Hr as R,
5324
5303
  ii as S,
5325
- $o as T,
5326
- Uo as U,
5327
- Go as V,
5328
- To as W,
5304
+ Rs as T,
5305
+ Ds as U,
5306
+ Cs as V,
5307
+ ws as W,
5329
5308
  vr as a,
5330
- Mr as b,
5331
- So as c,
5332
- U as d,
5333
- qr as e,
5334
- P as f,
5335
- Po as g,
5336
- Ho as h,
5309
+ Ir as b,
5310
+ ri as c,
5311
+ Ls as d,
5312
+ P as e,
5313
+ B as f,
5314
+ W as g,
5315
+ H as h,
5337
5316
  ti as i,
5338
- Wt as j,
5339
- te as k,
5340
- w as l,
5341
- Cr as m,
5342
- O as n,
5343
- z as o,
5344
- ue as p,
5345
- H as q,
5346
- F as r,
5317
+ te as j,
5318
+ L as k,
5319
+ Cr as l,
5320
+ Hs as m,
5321
+ Ts as n,
5322
+ Xt as o,
5323
+ qr as p,
5324
+ Gs as q,
5325
+ $ as r,
5347
5326
  Ut as s,
5348
- Do as t,
5349
- Ao as u,
5350
- Br as v,
5351
- uo as w,
5352
- Vr as x,
5353
- I as y,
5354
- V as z
5327
+ le as t,
5328
+ Ss as u,
5329
+ F as v,
5330
+ Pr as w,
5331
+ as as x,
5332
+ Vr as y,
5333
+ hs as z
5355
5334
  };