@everymatrix/player-account-self-exclusion 1.65.2 → 1.65.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (26) hide show
  1. package/components/{PlayerAccountGeneralConfirmationModal-DwFITP5S.js → PlayerAccountGeneralConfirmationModal-BtZy067g.js} +1372 -1407
  2. package/components/{PlayerAccountGeneralConfirmationModal-BKN9JVO4.js → PlayerAccountGeneralConfirmationModal-CTZ46gBM.js} +939 -974
  3. package/components/PlayerAccountGeneralConfirmationModal-DvqBwr_5.cjs +21 -0
  4. package/components/{PlayerAccountModal-B4PkbUrK.cjs → PlayerAccountModal-73CUTuDe.cjs} +1 -1
  5. package/components/{PlayerAccountModal-R-m2HDSJ.js → PlayerAccountModal-Bv0bG2i8.js} +17 -17
  6. package/components/{PlayerAccountModal-D9_poky6.js → PlayerAccountModal-CRLag2Pd.js} +18 -18
  7. package/components/{PlayerAccountSelfExclusion-DFpWHsbN.js → PlayerAccountSelfExclusion-D_Gly2H3.js} +1307 -1305
  8. package/components/{PlayerAccountSelfExclusion-CFB8NF8x.cjs → PlayerAccountSelfExclusion-Pt10HFYC.cjs} +153 -153
  9. package/components/{PlayerAccountSelfExclusion-D38b_LDy.js → PlayerAccountSelfExclusion-cynUcWhT.js} +1036 -1034
  10. package/es2015/player-account-self-exclusion.cjs +1 -1
  11. package/es2015/player-account-self-exclusion.js +1 -1
  12. package/esnext/player-account-self-exclusion.js +1 -1
  13. package/package.json +1 -1
  14. package/stencil/index-b2193545-CayB6jRX.js +519 -0
  15. package/stencil/index-b2193545-DrvOqGyq.js +503 -0
  16. package/stencil/index-b2193545-lC_KoC4p.cjs +1 -0
  17. package/stencil/{ui-skeleton-1cb75d00-CUSs6C3A.cjs → ui-skeleton-1cb75d00-6KKxtHwu.cjs} +1 -1
  18. package/stencil/{ui-skeleton-1cb75d00-z2mX3TRi.js → ui-skeleton-1cb75d00-BAHBT-wb.js} +1 -1
  19. package/stencil/{ui-skeleton-1cb75d00-CXHx_pAM.js → ui-skeleton-1cb75d00-BPfsKHrC.js} +1 -1
  20. package/stencil/{ui-skeleton-CCXvjIzA.cjs → ui-skeleton-CaX4F6ue.cjs} +1 -1
  21. package/stencil/{ui-skeleton-4ifa-7wH.js → ui-skeleton-QVfoKja7.js} +2 -2
  22. package/stencil/{ui-skeleton-Bk5dn5mu.js → ui-skeleton-b2oavT4f.js} +2 -2
  23. package/components/PlayerAccountGeneralConfirmationModal-AfetEGjy.cjs +0 -21
  24. package/stencil/index-b2193545-BcYyCldH.js +0 -519
  25. package/stencil/index-b2193545-CPztmidm.js +0 -503
  26. package/stencil/index-b2193545-D1Z0k4-D.cjs +0 -1
@@ -1,7 +1,7 @@
1
1
  function N() {
2
2
  }
3
- const Ar = (e) => e;
4
- function Cr(e, t) {
3
+ const wr = (e) => e;
4
+ function Tr(e, t) {
5
5
  for (const r in t)
6
6
  e[r] = t[r];
7
7
  return (
@@ -9,25 +9,25 @@ function Cr(e, t) {
9
9
  e
10
10
  );
11
11
  }
12
- function Dt(e) {
12
+ function Rt(e) {
13
13
  return e();
14
14
  }
15
- function ct() {
15
+ function at() {
16
16
  return /* @__PURE__ */ Object.create(null);
17
17
  }
18
18
  function U(e) {
19
- e.forEach(Dt);
19
+ e.forEach(Rt);
20
20
  }
21
- function He(e) {
21
+ function Te(e) {
22
22
  return typeof e == "function";
23
23
  }
24
- function Ft(e, t) {
24
+ function $t(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 Hr(e) {
28
28
  return Object.keys(e).length === 0;
29
29
  }
30
- function jt(e, ...t) {
30
+ function Gt(e, ...t) {
31
31
  if (e == null) {
32
32
  for (const n of t)
33
33
  n(void 0);
@@ -36,19 +36,19 @@ function jt(e, ...t) {
36
36
  const r = e.subscribe(...t);
37
37
  return r.unsubscribe ? () => r.unsubscribe() : r;
38
38
  }
39
- function Or(e, t, r) {
40
- e.$$.on_destroy.push(jt(t, r));
39
+ function Br(e, t, r) {
40
+ e.$$.on_destroy.push(Gt(t, r));
41
41
  }
42
- function Ir(e, t, r, n) {
42
+ function Ar(e, t, r, n) {
43
43
  if (e) {
44
- const i = kt(e, t, r, n);
44
+ const i = Ut(e, t, r, n);
45
45
  return e[0](i);
46
46
  }
47
47
  }
48
- function kt(e, t, r, n) {
49
- return e[1] && n ? Cr(r.ctx.slice(), e[1](n(t))) : r.ctx;
48
+ function Ut(e, t, r, n) {
49
+ return e[1] && n ? Tr(r.ctx.slice(), e[1](n(t))) : r.ctx;
50
50
  }
51
- function Mr(e, t, r, n) {
51
+ function Cr(e, t, r, n) {
52
52
  if (e[2] && n) {
53
53
  const i = e[2](n(r));
54
54
  if (t.dirty === void 0)
@@ -63,13 +63,13 @@ function Mr(e, t, r, n) {
63
63
  }
64
64
  return t.dirty;
65
65
  }
66
- function Nr(e, t, r, n, i, o) {
66
+ function Pr(e, t, r, n, i, o) {
67
67
  if (i) {
68
- const a = kt(t, r, n, o);
68
+ const a = Ut(t, r, n, o);
69
69
  e.p(a, i);
70
70
  }
71
71
  }
72
- function Lr(e) {
72
+ function Or(e) {
73
73
  if (e.ctx.length > 32) {
74
74
  const t = [], r = e.ctx.length / 32;
75
75
  for (let n = 0; n < r; n++)
@@ -78,17 +78,17 @@ function Lr(e) {
78
78
  }
79
79
  return -1;
80
80
  }
81
- const Vt = typeof window < "u";
82
- let $r = Vt ? () => window.performance.now() : () => Date.now(), st = Vt ? (e) => requestAnimationFrame(e) : N;
81
+ const Dt = typeof window < "u";
82
+ let Ir = Dt ? () => window.performance.now() : () => Date.now(), tt = Dt ? (e) => requestAnimationFrame(e) : N;
83
83
  const z = /* @__PURE__ */ new Set();
84
- function Xt(e) {
84
+ function Ft(e) {
85
85
  z.forEach((t) => {
86
86
  t.c(e) || (z.delete(t), t.f());
87
- }), z.size !== 0 && st(Xt);
87
+ }), z.size !== 0 && tt(Ft);
88
88
  }
89
- function Rr(e) {
89
+ function Mr(e) {
90
90
  let t;
91
- return z.size === 0 && st(Xt), {
91
+ return z.size === 0 && tt(Ft), {
92
92
  promise: new Promise((r) => {
93
93
  z.add(t = { c: e, f: r });
94
94
  }),
@@ -100,14 +100,14 @@ function Rr(e) {
100
100
  function C(e, t) {
101
101
  e.appendChild(t);
102
102
  }
103
- function Gr(e, t, r) {
104
- const n = at(e);
103
+ function Nr(e, t, r) {
104
+ const n = rt(e);
105
105
  if (!n.getElementById(t)) {
106
106
  const i = M("style");
107
- i.id = t, i.textContent = r, zt(n, i);
107
+ i.id = t, i.textContent = r, jt(n, i);
108
108
  }
109
109
  }
110
- function at(e) {
110
+ function rt(e) {
111
111
  if (!e)
112
112
  return document;
113
113
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -117,69 +117,69 @@ function at(e) {
117
117
  t
118
118
  ) : e.ownerDocument;
119
119
  }
120
- function Ur(e) {
120
+ function Lr(e) {
121
121
  const t = M("style");
122
- return t.textContent = "/* empty */", zt(at(e), t), t.sheet;
122
+ return t.textContent = "/* empty */", jt(rt(e), t), t.sheet;
123
123
  }
124
- function zt(e, t) {
124
+ function jt(e, t) {
125
125
  return C(
126
126
  /** @type {Document} */
127
127
  e.head || e,
128
128
  t
129
129
  ), t.sheet;
130
130
  }
131
- function ue(e, t, r) {
131
+ function le(e, t, r) {
132
132
  e.insertBefore(t, r || null);
133
133
  }
134
134
  function D(e) {
135
135
  e.parentNode && e.parentNode.removeChild(e);
136
136
  }
137
- function So(e, t) {
137
+ function _o(e, t) {
138
138
  for (let r = 0; r < e.length; r += 1)
139
139
  e[r] && e[r].d(t);
140
140
  }
141
141
  function M(e) {
142
142
  return document.createElement(e);
143
143
  }
144
- function ft(e) {
144
+ function ut(e) {
145
145
  return document.createElementNS("http://www.w3.org/2000/svg", e);
146
146
  }
147
- function Z(e) {
147
+ function Q(e) {
148
148
  return document.createTextNode(e);
149
149
  }
150
- function ce() {
151
- return Z(" ");
150
+ function fe() {
151
+ return Q(" ");
152
152
  }
153
- function wo() {
154
- return Z("");
153
+ function vo() {
154
+ return Q("");
155
155
  }
156
- function je(e, t, r, n) {
156
+ function Ue(e, t, r, n) {
157
157
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
158
158
  }
159
159
  function H(e, t, r) {
160
160
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
161
161
  }
162
- function To(e, t, r) {
162
+ function xo(e, t, r) {
163
163
  const n = t.toLowerCase();
164
164
  n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : H(e, t, r);
165
165
  }
166
- function Dr(e) {
166
+ function Rr(e) {
167
167
  return Array.from(e.childNodes);
168
168
  }
169
- function ve(e, t) {
169
+ function _e(e, t) {
170
170
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
171
171
  t);
172
172
  }
173
- function Ho(e, t, r, n) {
173
+ function Eo(e, t, r, n) {
174
174
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
175
175
  }
176
- function Bo(e, t, r) {
176
+ function So(e, t, r) {
177
177
  e.classList.toggle(t, !!r);
178
178
  }
179
- function Fr(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
179
+ function $r(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
180
180
  return new CustomEvent(e, { detail: t, bubbles: r, cancelable: n });
181
181
  }
182
- function jr(e) {
182
+ function Gr(e) {
183
183
  const t = {};
184
184
  return e.childNodes.forEach(
185
185
  /** @param {Element} node */
@@ -188,19 +188,19 @@ function jr(e) {
188
188
  }
189
189
  ), t;
190
190
  }
191
- const _e = /* @__PURE__ */ new Map();
191
+ const ve = /* @__PURE__ */ new Map();
192
192
  let xe = 0;
193
- function kr(e) {
193
+ function Ur(e) {
194
194
  let t = 5381, r = e.length;
195
195
  for (; r--; )
196
196
  t = (t << 5) - t ^ e.charCodeAt(r);
197
197
  return t >>> 0;
198
198
  }
199
- function Vr(e, t) {
200
- const r = { stylesheet: Ur(t), rules: {} };
201
- return _e.set(e, r), r;
199
+ function Dr(e, t) {
200
+ const r = { stylesheet: Lr(t), rules: {} };
201
+ return ve.set(e, r), r;
202
202
  }
203
- function mt(e, t, r, n, i, o, a, s = 0) {
203
+ function lt(e, t, r, n, i, o, a, s = 0) {
204
204
  const l = 16.666 / n;
205
205
  let u = `{
206
206
  `;
@@ -210,156 +210,156 @@ function mt(e, t, r, n, i, o, a, s = 0) {
210
210
  `;
211
211
  }
212
212
  const h = u + `100% {${a(r, 1 - r)}}
213
- }`, c = `__svelte_${kr(h)}_${s}`, f = at(e), { stylesheet: d, rules: m } = _e.get(f) || Vr(f, e);
214
- m[c] || (m[c] = !0, d.insertRule(`@keyframes ${c} ${h}`, d.cssRules.length));
215
- const p = e.style.animation || "";
216
- return e.style.animation = `${p ? `${p}, ` : ""}${c} ${n}ms linear ${i}ms 1 both`, xe += 1, c;
213
+ }`, f = `__svelte_${Ur(h)}_${s}`, c = rt(e), { stylesheet: p, rules: d } = ve.get(c) || Dr(c, e);
214
+ d[f] || (d[f] = !0, p.insertRule(`@keyframes ${f} ${h}`, p.cssRules.length));
215
+ const m = e.style.animation || "";
216
+ return e.style.animation = `${m ? `${m}, ` : ""}${f} ${n}ms linear ${i}ms 1 both`, xe += 1, f;
217
217
  }
218
- function Xr(e, t) {
218
+ function Fr(e, t) {
219
219
  const r = (e.style.animation || "").split(", "), n = r.filter(
220
220
  t ? (o) => o.indexOf(t) < 0 : (o) => o.indexOf("__svelte") === -1
221
221
  // remove all Svelte animations
222
222
  ), i = r.length - n.length;
223
- i && (e.style.animation = n.join(", "), xe -= i, xe || zr());
223
+ i && (e.style.animation = n.join(", "), xe -= i, xe || jr());
224
224
  }
225
- function zr() {
226
- st(() => {
227
- xe || (_e.forEach((e) => {
225
+ function jr() {
226
+ tt(() => {
227
+ xe || (ve.forEach((e) => {
228
228
  const { ownerNode: t } = e.stylesheet;
229
229
  t && D(t);
230
- }), _e.clear());
230
+ }), ve.clear());
231
231
  });
232
232
  }
233
- let oe;
234
- function ie(e) {
235
- oe = e;
233
+ let se;
234
+ function oe(e) {
235
+ se = e;
236
236
  }
237
- function Wr() {
238
- if (!oe)
237
+ function kr() {
238
+ if (!se)
239
239
  throw new Error("Function called outside component initialization");
240
- return oe;
240
+ return se;
241
241
  }
242
- function Zr(e) {
243
- Wr().$$.on_mount.push(e);
242
+ function Vr(e) {
243
+ kr().$$.on_mount.push(e);
244
244
  }
245
- const X = [], ke = [];
245
+ const X = [], De = [];
246
246
  let W = [];
247
- const pt = [], Qr = /* @__PURE__ */ Promise.resolve();
248
- let Ve = !1;
249
- function Jr() {
250
- Ve || (Ve = !0, Qr.then(I));
247
+ const ht = [], Xr = /* @__PURE__ */ Promise.resolve();
248
+ let Fe = !1;
249
+ function zr() {
250
+ Fe || (Fe = !0, Xr.then(I));
251
251
  }
252
252
  function Ee(e) {
253
253
  W.push(e);
254
254
  }
255
- const Me = /* @__PURE__ */ new Set();
255
+ const Oe = /* @__PURE__ */ new Set();
256
256
  let k = 0;
257
257
  function I() {
258
258
  if (k !== 0)
259
259
  return;
260
- const e = oe;
260
+ const e = se;
261
261
  do {
262
262
  try {
263
263
  for (; k < X.length; ) {
264
264
  const t = X[k];
265
- k++, ie(t), qr(t.$$);
265
+ k++, oe(t), Wr(t.$$);
266
266
  }
267
267
  } catch (t) {
268
268
  throw X.length = 0, k = 0, t;
269
269
  }
270
- for (ie(null), X.length = 0, k = 0; ke.length; )
271
- ke.pop()();
270
+ for (oe(null), X.length = 0, k = 0; De.length; )
271
+ De.pop()();
272
272
  for (let t = 0; t < W.length; t += 1) {
273
273
  const r = W[t];
274
- Me.has(r) || (Me.add(r), r());
274
+ Oe.has(r) || (Oe.add(r), r());
275
275
  }
276
276
  W.length = 0;
277
277
  } while (X.length);
278
- for (; pt.length; )
279
- pt.pop()();
280
- Ve = !1, Me.clear(), ie(e);
278
+ for (; ht.length; )
279
+ ht.pop()();
280
+ Fe = !1, Oe.clear(), oe(e);
281
281
  }
282
- function qr(e) {
282
+ function Wr(e) {
283
283
  if (e.fragment !== null) {
284
284
  e.update(), U(e.before_update);
285
285
  const t = e.dirty;
286
286
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ee);
287
287
  }
288
288
  }
289
- function Yr(e) {
289
+ function Zr(e) {
290
290
  const t = [], r = [];
291
291
  W.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), W = t;
292
292
  }
293
- let re;
294
- function Kr() {
295
- return re || (re = Promise.resolve(), re.then(() => {
296
- re = null;
297
- })), re;
293
+ let ne;
294
+ function Qr() {
295
+ return ne || (ne = Promise.resolve(), ne.then(() => {
296
+ ne = null;
297
+ })), ne;
298
298
  }
299
- function Ne(e, t, r) {
300
- e.dispatchEvent(Fr(`${t ? "intro" : "outro"}${r}`));
299
+ function Ie(e, t, r) {
300
+ e.dispatchEvent($r(`${t ? "intro" : "outro"}${r}`));
301
301
  }
302
- const pe = /* @__PURE__ */ new Set();
303
- let $;
304
- function Ao() {
305
- $ = {
302
+ const me = /* @__PURE__ */ new Set();
303
+ let L;
304
+ function wo() {
305
+ L = {
306
306
  r: 0,
307
307
  c: [],
308
- p: $
308
+ p: L
309
309
  // parent group
310
310
  };
311
311
  }
312
- function Co() {
313
- $.r || U($.c), $ = $.p;
312
+ function To() {
313
+ L.r || U(L.c), L = L.p;
314
314
  }
315
- function Wt(e, t) {
316
- e && e.i && (pe.delete(e), e.i(t));
315
+ function kt(e, t) {
316
+ e && e.i && (me.delete(e), e.i(t));
317
317
  }
318
- function en(e, t, r, n) {
318
+ function Jr(e, t, r, n) {
319
319
  if (e && e.o) {
320
- if (pe.has(e))
320
+ if (me.has(e))
321
321
  return;
322
- pe.add(e), $.c.push(() => {
323
- pe.delete(e), n && (r && e.d(1), n());
322
+ me.add(e), L.c.push(() => {
323
+ me.delete(e), n && (r && e.d(1), n());
324
324
  }), e.o(t);
325
325
  } else
326
326
  n && n();
327
327
  }
328
- const tn = { duration: 0 };
329
- function Po(e, t, r, n) {
328
+ const qr = { duration: 0 };
329
+ function Ho(e, t, r, n) {
330
330
  let o = t(e, r, { direction: "both" }), a = n ? 0 : 1, s = null, l = null, u = null, h;
331
- function c() {
332
- u && Xr(e, u);
331
+ function f() {
332
+ u && Fr(e, u);
333
333
  }
334
- function f(m, p) {
334
+ function c(d, m) {
335
335
  const g = (
336
336
  /** @type {Program['d']} */
337
- m.b - a
337
+ d.b - a
338
338
  );
339
- return p *= Math.abs(g), {
339
+ return m *= Math.abs(g), {
340
340
  a,
341
- b: m.b,
341
+ b: d.b,
342
342
  d: g,
343
- duration: p,
344
- start: m.start,
345
- end: m.start + p,
346
- group: m.group
343
+ duration: m,
344
+ start: d.start,
345
+ end: d.start + m,
346
+ group: d.group
347
347
  };
348
348
  }
349
- function d(m) {
349
+ function p(d) {
350
350
  const {
351
- delay: p = 0,
351
+ delay: m = 0,
352
352
  duration: g = 300,
353
- easing: B = Ar,
353
+ easing: B = wr,
354
354
  tick: A = N,
355
- css: S
356
- } = o || tn, E = {
357
- start: $r() + p,
358
- b: m
355
+ css: T
356
+ } = o || qr, S = {
357
+ start: Ir() + m,
358
+ b: d
359
359
  };
360
- m || (E.group = $, $.r += 1), "inert" in e && (m ? h !== void 0 && (e.inert = h) : (h = /** @type {HTMLElement} */
361
- e.inert, e.inert = !0)), s || l ? l = E : (S && (c(), u = mt(e, a, m, g, p, B, S)), m && A(0, 1), s = f(E, g), Ee(() => Ne(e, m, "start")), Rr((x) => {
362
- if (l && x > l.start && (s = f(l, g), l = null, Ne(e, s.b, "start"), S && (c(), u = mt(
360
+ d || (S.group = L, L.r += 1), "inert" in e && (d ? h !== void 0 && (e.inert = h) : (h = /** @type {HTMLElement} */
361
+ e.inert, e.inert = !0)), s || l ? l = S : (T && (f(), u = lt(e, a, d, g, m, B, T)), d && A(0, 1), s = c(S, g), Ee(() => Ie(e, d, "start")), Mr((E) => {
362
+ if (l && E > l.start && (s = c(l, g), l = null, Ie(e, s.b, "start"), T && (f(), u = lt(
363
363
  e,
364
364
  a,
365
365
  s.b,
@@ -368,47 +368,47 @@ function Po(e, t, r, n) {
368
368
  B,
369
369
  o.css
370
370
  ))), s) {
371
- if (x >= s.end)
372
- A(a = s.b, 1 - a), Ne(e, s.b, "end"), l || (s.b ? c() : --s.group.r || U(s.group.c)), s = null;
373
- else if (x >= s.start) {
374
- const _ = x - s.start;
375
- a = s.a + s.d * B(_ / s.duration), A(a, 1 - a);
371
+ if (E >= s.end)
372
+ A(a = s.b, 1 - a), Ie(e, s.b, "end"), l || (s.b ? f() : --s.group.r || U(s.group.c)), s = null;
373
+ else if (E >= s.start) {
374
+ const x = E - s.start;
375
+ a = s.a + s.d * B(x / s.duration), A(a, 1 - a);
376
376
  }
377
377
  }
378
378
  return !!(s || l);
379
379
  }));
380
380
  }
381
381
  return {
382
- run(m) {
383
- He(o) ? Kr().then(() => {
384
- o = o({ direction: m ? "in" : "out" }), d(m);
385
- }) : d(m);
382
+ run(d) {
383
+ Te(o) ? Qr().then(() => {
384
+ o = o({ direction: d ? "in" : "out" }), p(d);
385
+ }) : p(d);
386
386
  },
387
387
  end() {
388
- c(), s = l = null;
388
+ f(), s = l = null;
389
389
  }
390
390
  };
391
391
  }
392
- function Oo(e) {
392
+ function Bo(e) {
393
393
  return e?.length !== void 0 ? e : Array.from(e);
394
394
  }
395
- function rn(e, t, r) {
395
+ function Yr(e, t, r) {
396
396
  const { fragment: n, after_update: i } = e.$$;
397
397
  n && n.m(t, r), Ee(() => {
398
- const o = e.$$.on_mount.map(Dt).filter(He);
398
+ const o = e.$$.on_mount.map(Rt).filter(Te);
399
399
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : U(o), e.$$.on_mount = [];
400
400
  }), i.forEach(Ee);
401
401
  }
402
- function nn(e, t) {
402
+ function Kr(e, t) {
403
403
  const r = e.$$;
404
- r.fragment !== null && (Yr(r.after_update), U(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
404
+ r.fragment !== null && (Zr(r.after_update), U(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
405
405
  }
406
- function on(e, t) {
407
- e.$$.dirty[0] === -1 && (X.push(e), Jr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
406
+ function en(e, t) {
407
+ e.$$.dirty[0] === -1 && (X.push(e), zr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
408
408
  }
409
- function sn(e, t, r, n, i, o, a = null, s = [-1]) {
410
- const l = oe;
411
- ie(e);
409
+ function tn(e, t, r, n, i, o, a = null, s = [-1]) {
410
+ const l = se;
411
+ oe(e);
412
412
  const u = e.$$ = {
413
413
  fragment: null,
414
414
  ctx: [],
@@ -416,7 +416,7 @@ function sn(e, t, r, n, i, o, a = null, s = [-1]) {
416
416
  props: o,
417
417
  update: N,
418
418
  not_equal: i,
419
- bound: ct(),
419
+ bound: at(),
420
420
  // lifecycle
421
421
  on_mount: [],
422
422
  on_destroy: [],
@@ -425,28 +425,28 @@ function sn(e, t, r, n, i, o, a = null, s = [-1]) {
425
425
  after_update: [],
426
426
  context: new Map(t.context || (l ? l.$$.context : [])),
427
427
  // everything else
428
- callbacks: ct(),
428
+ callbacks: at(),
429
429
  dirty: s,
430
430
  skip_bound: !1,
431
431
  root: t.target || l.$$.root
432
432
  };
433
433
  a && a(u.root);
434
434
  let h = !1;
435
- if (u.ctx = r ? r(e, t.props || {}, (c, f, ...d) => {
436
- const m = d.length ? d[0] : f;
437
- return u.ctx && i(u.ctx[c], u.ctx[c] = m) && (!u.skip_bound && u.bound[c] && u.bound[c](m), h && on(e, c)), f;
435
+ if (u.ctx = r ? r(e, t.props || {}, (f, c, ...p) => {
436
+ const d = p.length ? p[0] : c;
437
+ return u.ctx && i(u.ctx[f], u.ctx[f] = d) && (!u.skip_bound && u.bound[f] && u.bound[f](d), h && en(e, f)), c;
438
438
  }) : [], u.update(), h = !0, U(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
439
439
  if (t.hydrate) {
440
- const c = Dr(t.target);
441
- u.fragment && u.fragment.l(c), c.forEach(D);
440
+ const f = Rr(t.target);
441
+ u.fragment && u.fragment.l(f), f.forEach(D);
442
442
  } else
443
443
  u.fragment && u.fragment.c();
444
- t.intro && Wt(e.$$.fragment), rn(e, t.target, t.anchor), I();
444
+ t.intro && kt(e.$$.fragment), Yr(e, t.target, t.anchor), I();
445
445
  }
446
- ie(l);
446
+ oe(l);
447
447
  }
448
- let Zt;
449
- typeof HTMLElement == "function" && (Zt = class extends HTMLElement {
448
+ let Vt;
449
+ typeof HTMLElement == "function" && (Vt = class extends HTMLElement {
450
450
  /** The Svelte component constructor */
451
451
  $$ctor;
452
452
  /** Slots */
@@ -495,7 +495,7 @@ typeof HTMLElement == "function" && (Zt = class extends HTMLElement {
495
495
  * @param {HTMLElement} [anchor]
496
496
  */
497
497
  m: function(l, u) {
498
- ue(l, o, u);
498
+ le(l, o, u);
499
499
  },
500
500
  d: function(l) {
501
501
  l && D(o);
@@ -505,12 +505,12 @@ typeof HTMLElement == "function" && (Zt = class extends HTMLElement {
505
505
  };
506
506
  if (await Promise.resolve(), !this.$$cn || this.$$c)
507
507
  return;
508
- const t = {}, r = jr(this);
508
+ const t = {}, r = Gr(this);
509
509
  for (const i of this.$$s)
510
510
  i in r && (t[i] = [e(i)]);
511
511
  for (const i of this.attributes) {
512
512
  const o = this.$$g_p(i.name);
513
- o in this.$$d || (this.$$d[o] = de(o, i.value, this.$$p_d, "toProp"));
513
+ o in this.$$d || (this.$$d[o] = pe(o, i.value, this.$$p_d, "toProp"));
514
514
  }
515
515
  for (const i in this.$$p_d)
516
516
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -528,7 +528,7 @@ typeof HTMLElement == "function" && (Zt = class extends HTMLElement {
528
528
  this.$$r = !0;
529
529
  for (const i in this.$$p_d)
530
530
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
531
- const o = de(
531
+ const o = pe(
532
532
  i,
533
533
  this.$$d[i],
534
534
  this.$$p_d,
@@ -550,7 +550,7 @@ typeof HTMLElement == "function" && (Zt = class extends HTMLElement {
550
550
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
551
551
  // and setting attributes through setAttribute etc, this is helpful
552
552
  attributeChangedCallback(e, t, r) {
553
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = de(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
553
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = pe(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
554
554
  }
555
555
  disconnectedCallback() {
556
556
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -563,7 +563,7 @@ typeof HTMLElement == "function" && (Zt = class extends HTMLElement {
563
563
  ) || e;
564
564
  }
565
565
  });
566
- function de(e, t, r, n) {
566
+ function pe(e, t, r, n) {
567
567
  const i = r[e]?.type;
568
568
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
569
569
  return t;
@@ -592,8 +592,8 @@ function de(e, t, r, n) {
592
592
  return t;
593
593
  }
594
594
  }
595
- function an(e, t, r, n, i, o) {
596
- let a = class extends Zt {
595
+ function rn(e, t, r, n, i, o) {
596
+ let a = class extends Vt {
597
597
  constructor() {
598
598
  super(e, r, i), this.$$p_d = t;
599
599
  }
@@ -609,7 +609,7 @@ function an(e, t, r, n, i, o) {
609
609
  return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
610
610
  },
611
611
  set(l) {
612
- l = de(s, l, t), this.$$d[s] = l, this.$$c?.$set({ [s]: l });
612
+ l = pe(s, l, t), this.$$d[s] = l, this.$$c?.$set({ [s]: l });
613
613
  }
614
614
  });
615
615
  }), n.forEach((s) => {
@@ -621,7 +621,7 @@ function an(e, t, r, n, i, o) {
621
621
  }), e.element = /** @type {any} */
622
622
  a, a;
623
623
  }
624
- class un {
624
+ class nn {
625
625
  /**
626
626
  * ### PRIVATE API
627
627
  *
@@ -640,7 +640,7 @@ class un {
640
640
  $$set = void 0;
641
641
  /** @returns {void} */
642
642
  $destroy() {
643
- nn(this, 1), this.$destroy = N;
643
+ Kr(this, 1), this.$destroy = N;
644
644
  }
645
645
  /**
646
646
  * @template {Extract<keyof Events, string>} K
@@ -649,7 +649,7 @@ class un {
649
649
  * @returns {() => void}
650
650
  */
651
651
  $on(t, r) {
652
- if (!He(r))
652
+ if (!Te(r))
653
653
  return N;
654
654
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
655
655
  return n.push(r), () => {
@@ -662,11 +662,11 @@ class un {
662
662
  * @returns {void}
663
663
  */
664
664
  $set(t) {
665
- this.$$set && !Pr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
665
+ this.$$set && !Hr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
666
666
  }
667
667
  }
668
- const ln = "4";
669
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(ln);
668
+ const on = "4";
669
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(on);
670
670
  /*! *****************************************************************************
671
671
  Copyright (c) Microsoft Corporation.
672
672
 
@@ -681,24 +681,43 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
681
681
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
682
682
  PERFORMANCE OF THIS SOFTWARE.
683
683
  ***************************************************************************** */
684
- var Xe = function(e, t) {
685
- return Xe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
684
+ var je = function(e, t) {
685
+ return je = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
686
686
  r.__proto__ = n;
687
687
  } || function(r, n) {
688
688
  for (var i in n)
689
689
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
690
- }, Xe(e, t);
690
+ }, je(e, t);
691
691
  };
692
- function le(e, t) {
692
+ function $(e, t) {
693
693
  if (typeof t != "function" && t !== null)
694
694
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
695
- Xe(e, t);
695
+ je(e, t);
696
696
  function r() {
697
697
  this.constructor = e;
698
698
  }
699
699
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
700
700
  }
701
- function ze(e) {
701
+ var v = function() {
702
+ return v = Object.assign || function(t) {
703
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
704
+ r = arguments[n];
705
+ for (var o in r)
706
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
707
+ }
708
+ return t;
709
+ }, v.apply(this, arguments);
710
+ };
711
+ function sn(e, t) {
712
+ var r = {};
713
+ for (var n in e)
714
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
715
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
716
+ for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
717
+ t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
718
+ return r;
719
+ }
720
+ function ke(e) {
702
721
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
703
722
  if (r)
704
723
  return r.call(e);
@@ -710,7 +729,7 @@ function ze(e) {
710
729
  };
711
730
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
712
731
  }
713
- function We(e, t) {
732
+ function Ve(e, t) {
714
733
  var r = typeof Symbol == "function" && e[Symbol.iterator];
715
734
  if (!r)
716
735
  return e;
@@ -730,8 +749,8 @@ function We(e, t) {
730
749
  }
731
750
  return o;
732
751
  }
733
- function Ze(e, t, r) {
734
- if (arguments.length === 2)
752
+ function Z(e, t, r) {
753
+ if (r || arguments.length === 2)
735
754
  for (var n = 0, i = t.length, o; n < i; n++)
736
755
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
737
756
  return e.concat(o || t);
@@ -739,13 +758,13 @@ function Ze(e, t, r) {
739
758
  function R(e) {
740
759
  return typeof e == "function";
741
760
  }
742
- function Qt(e) {
761
+ function Xt(e) {
743
762
  var t = function(n) {
744
763
  Error.call(n), n.stack = new Error().stack;
745
764
  }, r = e(t);
746
765
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
747
766
  }
748
- var Le = Qt(function(e) {
767
+ var Me = Xt(function(e) {
749
768
  return function(r) {
750
769
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
751
770
  ` + r.map(function(n, i) {
@@ -754,13 +773,13 @@ var Le = Qt(function(e) {
754
773
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
755
774
  };
756
775
  });
757
- function Qe(e, t) {
776
+ function Xe(e, t) {
758
777
  if (e) {
759
778
  var r = e.indexOf(t);
760
779
  0 <= r && e.splice(r, 1);
761
780
  }
762
781
  }
763
- var Be = function() {
782
+ var He = function() {
764
783
  function e(t) {
765
784
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
766
785
  }
@@ -772,12 +791,12 @@ var Be = function() {
772
791
  if (a)
773
792
  if (this._parentage = null, Array.isArray(a))
774
793
  try {
775
- for (var s = ze(a), l = s.next(); !l.done; l = s.next()) {
794
+ for (var s = ke(a), l = s.next(); !l.done; l = s.next()) {
776
795
  var u = l.value;
777
796
  u.remove(this);
778
797
  }
779
- } catch (p) {
780
- t = { error: p };
798
+ } catch (m) {
799
+ t = { error: m };
781
800
  } finally {
782
801
  try {
783
802
  l && !l.done && (r = s.return) && r.call(s);
@@ -792,26 +811,26 @@ var Be = function() {
792
811
  if (R(h))
793
812
  try {
794
813
  h();
795
- } catch (p) {
796
- o = p instanceof Le ? p.errors : [p];
814
+ } catch (m) {
815
+ o = m instanceof Me ? m.errors : [m];
797
816
  }
798
- var c = this._finalizers;
799
- if (c) {
817
+ var f = this._finalizers;
818
+ if (f) {
800
819
  this._finalizers = null;
801
820
  try {
802
- for (var f = ze(c), d = f.next(); !d.done; d = f.next()) {
803
- var m = d.value;
821
+ for (var c = ke(f), p = c.next(); !p.done; p = c.next()) {
822
+ var d = p.value;
804
823
  try {
805
- dt(m);
806
- } catch (p) {
807
- o = o ?? [], p instanceof Le ? o = Ze(Ze([], We(o)), We(p.errors)) : o.push(p);
824
+ ft(d);
825
+ } catch (m) {
826
+ o = o ?? [], m instanceof Me ? o = Z(Z([], Ve(o)), Ve(m.errors)) : o.push(m);
808
827
  }
809
828
  }
810
- } catch (p) {
811
- n = { error: p };
829
+ } catch (m) {
830
+ n = { error: m };
812
831
  } finally {
813
832
  try {
814
- d && !d.done && (i = f.return) && i.call(f);
833
+ p && !p.done && (i = c.return) && i.call(c);
815
834
  } finally {
816
835
  if (n)
817
836
  throw n.error;
@@ -819,13 +838,13 @@ var Be = function() {
819
838
  }
820
839
  }
821
840
  if (o)
822
- throw new Le(o);
841
+ throw new Me(o);
823
842
  }
824
843
  }, e.prototype.add = function(t) {
825
844
  var r;
826
845
  if (t && t !== this)
827
846
  if (this.closed)
828
- dt(t);
847
+ ft(t);
829
848
  else {
830
849
  if (t instanceof e) {
831
850
  if (t.closed || t._hasParent(this))
@@ -842,52 +861,56 @@ var Be = function() {
842
861
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
843
862
  }, e.prototype._removeParent = function(t) {
844
863
  var r = this._parentage;
845
- r === t ? this._parentage = null : Array.isArray(r) && Qe(r, t);
864
+ r === t ? this._parentage = null : Array.isArray(r) && Xe(r, t);
846
865
  }, e.prototype.remove = function(t) {
847
866
  var r = this._finalizers;
848
- r && Qe(r, t), t instanceof e && t._removeParent(this);
867
+ r && Xe(r, t), t instanceof e && t._removeParent(this);
849
868
  }, e.EMPTY = function() {
850
869
  var t = new e();
851
870
  return t.closed = !0, t;
852
871
  }(), e;
853
- }(), Jt = Be.EMPTY;
854
- function qt(e) {
855
- return e instanceof Be || e && "closed" in e && R(e.remove) && R(e.add) && R(e.unsubscribe);
872
+ }(), zt = He.EMPTY;
873
+ function Wt(e) {
874
+ return e instanceof He || e && "closed" in e && R(e.remove) && R(e.add) && R(e.unsubscribe);
856
875
  }
857
- function dt(e) {
876
+ function ft(e) {
858
877
  R(e) ? e() : e.unsubscribe();
859
878
  }
860
- var hn = {
861
- Promise: void 0
862
- }, cn = {
879
+ var an = {
880
+ onUnhandledError: null,
881
+ onStoppedNotification: null,
882
+ Promise: void 0,
883
+ useDeprecatedSynchronousErrorHandling: !1,
884
+ useDeprecatedNextContext: !1
885
+ }, un = {
863
886
  setTimeout: function(e, t) {
864
887
  for (var r = [], n = 2; n < arguments.length; n++)
865
888
  r[n - 2] = arguments[n];
866
- return setTimeout.apply(void 0, Ze([e, t], We(r)));
889
+ return setTimeout.apply(void 0, Z([e, t], Ve(r)));
867
890
  },
868
891
  clearTimeout: function(e) {
869
892
  return clearTimeout(e);
870
893
  },
871
894
  delegate: void 0
872
895
  };
873
- function fn(e) {
874
- cn.setTimeout(function() {
896
+ function ln(e) {
897
+ un.setTimeout(function() {
875
898
  throw e;
876
899
  });
877
900
  }
878
- function bt() {
901
+ function ct() {
879
902
  }
880
903
  function be(e) {
881
904
  e();
882
905
  }
883
- var Yt = function(e) {
884
- le(t, e);
906
+ var Zt = function(e) {
907
+ $(t, e);
885
908
  function t(r) {
886
909
  var n = e.call(this) || this;
887
- return n.isStopped = !1, r ? (n.destination = r, qt(r) && r.add(n)) : n.destination = dn, n;
910
+ return n.isStopped = !1, r ? (n.destination = r, Wt(r) && r.add(n)) : n.destination = cn, n;
888
911
  }
889
912
  return t.create = function(r, n, i) {
890
- return new Je(r, n, i);
913
+ return new ze(r, n, i);
891
914
  }, t.prototype.next = function(r) {
892
915
  this.isStopped || this._next(r);
893
916
  }, t.prototype.error = function(r) {
@@ -911,7 +934,7 @@ var Yt = function(e) {
911
934
  this.unsubscribe();
912
935
  }
913
936
  }, t;
914
- }(Be), mn = function() {
937
+ }(He), hn = function() {
915
938
  function e(t) {
916
939
  this.partialObserver = t;
917
940
  }
@@ -921,7 +944,7 @@ var Yt = function(e) {
921
944
  try {
922
945
  r.next(t);
923
946
  } catch (n) {
924
- fe(n);
947
+ ce(n);
925
948
  }
926
949
  }, e.prototype.error = function(t) {
927
950
  var r = this.partialObserver;
@@ -929,56 +952,56 @@ var Yt = function(e) {
929
952
  try {
930
953
  r.error(t);
931
954
  } catch (n) {
932
- fe(n);
955
+ ce(n);
933
956
  }
934
957
  else
935
- fe(t);
958
+ ce(t);
936
959
  }, e.prototype.complete = function() {
937
960
  var t = this.partialObserver;
938
961
  if (t.complete)
939
962
  try {
940
963
  t.complete();
941
964
  } catch (r) {
942
- fe(r);
965
+ ce(r);
943
966
  }
944
967
  }, e;
945
- }(), Je = function(e) {
946
- le(t, e);
968
+ }(), ze = function(e) {
969
+ $(t, e);
947
970
  function t(r, n, i) {
948
971
  var o = e.call(this) || this, a;
949
972
  return R(r) || !r ? a = {
950
973
  next: r ?? void 0,
951
974
  error: n ?? void 0,
952
975
  complete: i ?? void 0
953
- } : a = r, o.destination = new mn(a), o;
976
+ } : a = r, o.destination = new hn(a), o;
954
977
  }
955
978
  return t;
956
- }(Yt);
957
- function fe(e) {
958
- fn(e);
979
+ }(Zt);
980
+ function ce(e) {
981
+ ln(e);
959
982
  }
960
- function pn(e) {
983
+ function fn(e) {
961
984
  throw e;
962
985
  }
963
- var dn = {
986
+ var cn = {
964
987
  closed: !0,
965
- next: bt,
966
- error: pn,
967
- complete: bt
968
- }, bn = function() {
988
+ next: ct,
989
+ error: fn,
990
+ complete: ct
991
+ }, dn = function() {
969
992
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
970
993
  }();
971
- function gn(e) {
994
+ function mn(e) {
972
995
  return e;
973
996
  }
974
- function yn(e) {
975
- return e.length === 0 ? gn : e.length === 1 ? e[0] : function(r) {
997
+ function pn(e) {
998
+ return e.length === 0 ? mn : e.length === 1 ? e[0] : function(r) {
976
999
  return e.reduce(function(n, i) {
977
1000
  return i(n);
978
1001
  }, r);
979
1002
  };
980
1003
  }
981
- var gt = function() {
1004
+ var dt = function() {
982
1005
  function e(t) {
983
1006
  t && (this._subscribe = t);
984
1007
  }
@@ -986,7 +1009,7 @@ var gt = function() {
986
1009
  var r = new e();
987
1010
  return r.source = this, r.operator = t, r;
988
1011
  }, e.prototype.subscribe = function(t, r, n) {
989
- var i = this, o = _n(t) ? t : new Je(t, r, n);
1012
+ var i = this, o = gn(t) ? t : new ze(t, r, n);
990
1013
  return be(function() {
991
1014
  var a = i, s = a.operator, l = a.source;
992
1015
  o.add(s ? s.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
@@ -999,8 +1022,8 @@ var gt = function() {
999
1022
  }
1000
1023
  }, e.prototype.forEach = function(t, r) {
1001
1024
  var n = this;
1002
- return r = yt(r), new r(function(i, o) {
1003
- var a = new Je({
1025
+ return r = mt(r), new r(function(i, o) {
1026
+ var a = new ze({
1004
1027
  next: function(s) {
1005
1028
  try {
1006
1029
  t(s);
@@ -1016,15 +1039,15 @@ var gt = function() {
1016
1039
  }, e.prototype._subscribe = function(t) {
1017
1040
  var r;
1018
1041
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
1019
- }, e.prototype[bn] = function() {
1042
+ }, e.prototype[dn] = function() {
1020
1043
  return this;
1021
1044
  }, e.prototype.pipe = function() {
1022
1045
  for (var t = [], r = 0; r < arguments.length; r++)
1023
1046
  t[r] = arguments[r];
1024
- return yn(t)(this);
1047
+ return pn(t)(this);
1025
1048
  }, e.prototype.toPromise = function(t) {
1026
1049
  var r = this;
1027
- return t = yt(t), new t(function(n, i) {
1050
+ return t = mt(t), new t(function(n, i) {
1028
1051
  var o;
1029
1052
  r.subscribe(function(a) {
1030
1053
  return o = a;
@@ -1038,32 +1061,32 @@ var gt = function() {
1038
1061
  return new e(t);
1039
1062
  }, e;
1040
1063
  }();
1041
- function yt(e) {
1064
+ function mt(e) {
1042
1065
  var t;
1043
- return (t = e ?? hn.Promise) !== null && t !== void 0 ? t : Promise;
1066
+ return (t = e ?? an.Promise) !== null && t !== void 0 ? t : Promise;
1044
1067
  }
1045
- function vn(e) {
1068
+ function bn(e) {
1046
1069
  return e && R(e.next) && R(e.error) && R(e.complete);
1047
1070
  }
1048
- function _n(e) {
1049
- return e && e instanceof Yt || vn(e) && qt(e);
1071
+ function gn(e) {
1072
+ return e && e instanceof Zt || bn(e) && Wt(e);
1050
1073
  }
1051
- var xn = Qt(function(e) {
1074
+ var yn = Xt(function(e) {
1052
1075
  return function() {
1053
1076
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
1054
1077
  };
1055
- }), Kt = function(e) {
1056
- le(t, e);
1078
+ }), Qt = function(e) {
1079
+ $(t, e);
1057
1080
  function t() {
1058
1081
  var r = e.call(this) || this;
1059
1082
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
1060
1083
  }
1061
1084
  return t.prototype.lift = function(r) {
1062
- var n = new vt(this, this);
1085
+ var n = new pt(this, this);
1063
1086
  return n.operator = r, n;
1064
1087
  }, t.prototype._throwIfClosed = function() {
1065
1088
  if (this.closed)
1066
- throw new xn();
1089
+ throw new yn();
1067
1090
  }, t.prototype.next = function(r) {
1068
1091
  var n = this;
1069
1092
  be(function() {
@@ -1071,7 +1094,7 @@ var xn = Qt(function(e) {
1071
1094
  if (n._throwIfClosed(), !n.isStopped) {
1072
1095
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
1073
1096
  try {
1074
- for (var a = ze(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
1097
+ for (var a = ke(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
1075
1098
  var l = s.value;
1076
1099
  l.next(r);
1077
1100
  }
@@ -1120,20 +1143,20 @@ var xn = Qt(function(e) {
1120
1143
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
1121
1144
  }, t.prototype._innerSubscribe = function(r) {
1122
1145
  var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
1123
- return o || a ? Jt : (this.currentObservers = null, s.push(r), new Be(function() {
1124
- n.currentObservers = null, Qe(s, r);
1146
+ return o || a ? zt : (this.currentObservers = null, s.push(r), new He(function() {
1147
+ n.currentObservers = null, Xe(s, r);
1125
1148
  }));
1126
1149
  }, t.prototype._checkFinalizedStatuses = function(r) {
1127
1150
  var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
1128
1151
  i ? r.error(o) : a && r.complete();
1129
1152
  }, t.prototype.asObservable = function() {
1130
- var r = new gt();
1153
+ var r = new dt();
1131
1154
  return r.source = this, r;
1132
1155
  }, t.create = function(r, n) {
1133
- return new vt(r, n);
1156
+ return new pt(r, n);
1134
1157
  }, t;
1135
- }(gt), vt = function(e) {
1136
- le(t, e);
1158
+ }(dt), pt = function(e) {
1159
+ $(t, e);
1137
1160
  function t(r, n) {
1138
1161
  var i = e.call(this) || this;
1139
1162
  return i.destination = r, i.source = n, i;
@@ -1149,17 +1172,17 @@ var xn = Qt(function(e) {
1149
1172
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1150
1173
  }, t.prototype._subscribe = function(r) {
1151
1174
  var n, i;
1152
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Jt;
1175
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : zt;
1153
1176
  }, t;
1154
- }(Kt), er = {
1177
+ }(Qt), Jt = {
1155
1178
  now: function() {
1156
- return (er.delegate || Date).now();
1179
+ return (Jt.delegate || Date).now();
1157
1180
  },
1158
1181
  delegate: void 0
1159
- }, En = function(e) {
1160
- le(t, e);
1182
+ }, _n = function(e) {
1183
+ $(t, e);
1161
1184
  function t(r, n, i) {
1162
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = er);
1185
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Jt);
1163
1186
  var o = e.call(this) || this;
1164
1187
  return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
1165
1188
  }
@@ -1179,24 +1202,24 @@ var xn = Qt(function(e) {
1179
1202
  u && o.splice(0, u + 1);
1180
1203
  }
1181
1204
  }, t;
1182
- }(Kt);
1183
- const _t = [], xt = {}, Sn = (e, t = 0) => {
1184
- if (_t.indexOf(e) == -1) {
1185
- const r = new En(t);
1186
- xt[e] = r, _t.push(e);
1205
+ }(Qt);
1206
+ const bt = [], gt = {}, vn = (e, t = 0) => {
1207
+ if (bt.indexOf(e) == -1) {
1208
+ const r = new _n(t);
1209
+ gt[e] = r, bt.push(e);
1187
1210
  }
1188
- return xt[e];
1211
+ return gt[e];
1189
1212
  }, V = [];
1190
- function wn(e, t) {
1213
+ function xn(e, t) {
1191
1214
  return {
1192
- subscribe: Ae(e, t).subscribe
1215
+ subscribe: Be(e, t).subscribe
1193
1216
  };
1194
1217
  }
1195
- function Ae(e, t = N) {
1218
+ function Be(e, t = N) {
1196
1219
  let r;
1197
1220
  const n = /* @__PURE__ */ new Set();
1198
1221
  function i(s) {
1199
- if (Ft(e, s) && (e = s, r)) {
1222
+ if ($t(e, s) && (e = s, r)) {
1200
1223
  const l = !V.length;
1201
1224
  for (const u of n)
1202
1225
  u[1](), V.push(u, e);
@@ -1218,185 +1241,146 @@ function Ae(e, t = N) {
1218
1241
  }
1219
1242
  return { set: i, update: o, subscribe: a };
1220
1243
  }
1221
- function K(e, t, r) {
1244
+ function ee(e, t, r) {
1222
1245
  const n = !Array.isArray(e), i = n ? [e] : e;
1223
1246
  if (!i.every(Boolean))
1224
1247
  throw new Error("derived() expects stores as input, got a falsy value");
1225
1248
  const o = t.length < 2;
1226
- return wn(r, (a, s) => {
1249
+ return xn(r, (a, s) => {
1227
1250
  let l = !1;
1228
1251
  const u = [];
1229
- let h = 0, c = N;
1230
- const f = () => {
1252
+ let h = 0, f = N;
1253
+ const c = () => {
1231
1254
  if (h)
1232
1255
  return;
1233
- c();
1234
- const m = t(n ? u[0] : u, a, s);
1235
- o ? a(m) : c = He(m) ? m : N;
1236
- }, d = i.map(
1237
- (m, p) => jt(
1238
- m,
1256
+ f();
1257
+ const d = t(n ? u[0] : u, a, s);
1258
+ o ? a(d) : f = Te(d) ? d : N;
1259
+ }, p = i.map(
1260
+ (d, m) => Gt(
1261
+ d,
1239
1262
  (g) => {
1240
- u[p] = g, h &= ~(1 << p), l && f();
1263
+ u[m] = g, h &= ~(1 << m), l && c();
1241
1264
  },
1242
1265
  () => {
1243
- h |= 1 << p;
1266
+ h |= 1 << m;
1244
1267
  }
1245
1268
  )
1246
1269
  );
1247
- return l = !0, f(), function() {
1248
- U(d), c(), l = !1;
1270
+ return l = !0, c(), function() {
1271
+ U(p), f(), l = !1;
1249
1272
  };
1250
1273
  });
1251
1274
  }
1252
- var Io = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
1253
- function Tn(e) {
1275
+ var Ao = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
1276
+ function En(e) {
1254
1277
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1255
1278
  }
1256
- var Hn = function(t) {
1257
- return Bn(t) && !An(t);
1279
+ var Sn = function(t) {
1280
+ return wn(t) && !Tn(t);
1258
1281
  };
1259
- function Bn(e) {
1282
+ function wn(e) {
1260
1283
  return !!e && typeof e == "object";
1261
1284
  }
1262
- function An(e) {
1285
+ function Tn(e) {
1263
1286
  var t = Object.prototype.toString.call(e);
1264
- return t === "[object RegExp]" || t === "[object Date]" || On(e);
1287
+ return t === "[object RegExp]" || t === "[object Date]" || An(e);
1265
1288
  }
1266
- var Cn = typeof Symbol == "function" && Symbol.for, Pn = Cn ? Symbol.for("react.element") : 60103;
1267
- function On(e) {
1268
- return e.$$typeof === Pn;
1289
+ var Hn = typeof Symbol == "function" && Symbol.for, Bn = Hn ? Symbol.for("react.element") : 60103;
1290
+ function An(e) {
1291
+ return e.$$typeof === Bn;
1269
1292
  }
1270
- function In(e) {
1293
+ function Cn(e) {
1271
1294
  return Array.isArray(e) ? [] : {};
1272
1295
  }
1273
- function se(e, t) {
1274
- return t.clone !== !1 && t.isMergeableObject(e) ? Q(In(e), e, t) : e;
1296
+ function ae(e, t) {
1297
+ return t.clone !== !1 && t.isMergeableObject(e) ? J(Cn(e), e, t) : e;
1275
1298
  }
1276
- function Mn(e, t, r) {
1299
+ function Pn(e, t, r) {
1277
1300
  return e.concat(t).map(function(n) {
1278
- return se(n, r);
1301
+ return ae(n, r);
1279
1302
  });
1280
1303
  }
1281
- function Nn(e, t) {
1304
+ function On(e, t) {
1282
1305
  if (!t.customMerge)
1283
- return Q;
1306
+ return J;
1284
1307
  var r = t.customMerge(e);
1285
- return typeof r == "function" ? r : Q;
1308
+ return typeof r == "function" ? r : J;
1286
1309
  }
1287
- function Ln(e) {
1310
+ function In(e) {
1288
1311
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1289
1312
  return Object.propertyIsEnumerable.call(e, t);
1290
1313
  }) : [];
1291
1314
  }
1292
- function Et(e) {
1293
- return Object.keys(e).concat(Ln(e));
1315
+ function yt(e) {
1316
+ return Object.keys(e).concat(In(e));
1294
1317
  }
1295
- function tr(e, t) {
1318
+ function qt(e, t) {
1296
1319
  try {
1297
1320
  return t in e;
1298
1321
  } catch {
1299
1322
  return !1;
1300
1323
  }
1301
1324
  }
1302
- function $n(e, t) {
1303
- return tr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1325
+ function Mn(e, t) {
1326
+ return qt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1304
1327
  }
1305
- function Rn(e, t, r) {
1328
+ function Nn(e, t, r) {
1306
1329
  var n = {};
1307
- return r.isMergeableObject(e) && Et(e).forEach(function(i) {
1308
- n[i] = se(e[i], r);
1309
- }), Et(t).forEach(function(i) {
1310
- $n(e, i) || (tr(e, i) && r.isMergeableObject(t[i]) ? n[i] = Nn(i, r)(e[i], t[i], r) : n[i] = se(t[i], r));
1330
+ return r.isMergeableObject(e) && yt(e).forEach(function(i) {
1331
+ n[i] = ae(e[i], r);
1332
+ }), yt(t).forEach(function(i) {
1333
+ Mn(e, i) || (qt(e, i) && r.isMergeableObject(t[i]) ? n[i] = On(i, r)(e[i], t[i], r) : n[i] = ae(t[i], r));
1311
1334
  }), n;
1312
1335
  }
1313
- function Q(e, t, r) {
1314
- r = r || {}, r.arrayMerge = r.arrayMerge || Mn, r.isMergeableObject = r.isMergeableObject || Hn, r.cloneUnlessOtherwiseSpecified = se;
1336
+ function J(e, t, r) {
1337
+ r = r || {}, r.arrayMerge = r.arrayMerge || Pn, r.isMergeableObject = r.isMergeableObject || Sn, r.cloneUnlessOtherwiseSpecified = ae;
1315
1338
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1316
- return o ? n ? r.arrayMerge(e, t, r) : Rn(e, t, r) : se(t, r);
1339
+ return o ? n ? r.arrayMerge(e, t, r) : Nn(e, t, r) : ae(t, r);
1317
1340
  }
1318
- Q.all = function(t, r) {
1341
+ J.all = function(t, r) {
1319
1342
  if (!Array.isArray(t))
1320
1343
  throw new Error("first argument should be an array");
1321
1344
  return t.reduce(function(n, i) {
1322
- return Q(n, i, r);
1345
+ return J(n, i, r);
1323
1346
  }, {});
1324
1347
  };
1325
- var Gn = Q, Un = Gn;
1326
- const Dn = /* @__PURE__ */ Tn(Un);
1327
- var qe = function(e, t) {
1328
- return qe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1329
- r.__proto__ = n;
1330
- } || function(r, n) {
1331
- for (var i in n)
1332
- Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1333
- }, qe(e, t);
1334
- };
1335
- function Ce(e, t) {
1336
- if (typeof t != "function" && t !== null)
1337
- throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1338
- qe(e, t);
1339
- function r() {
1340
- this.constructor = e;
1341
- }
1342
- e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1343
- }
1344
- var L = function() {
1345
- return L = Object.assign || function(t) {
1346
- for (var r, n = 1, i = arguments.length; n < i; n++) {
1347
- r = arguments[n];
1348
- for (var o in r)
1349
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1350
- }
1351
- return t;
1352
- }, L.apply(this, arguments);
1353
- };
1354
- function Fn(e, t) {
1355
- var r = {};
1356
- for (var n in e)
1357
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
1358
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
1359
- for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
1360
- t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1361
- return r;
1362
- }
1363
- function $e(e, t, r) {
1364
- if (r || arguments.length === 2)
1365
- for (var n = 0, i = t.length, o; n < i; n++)
1366
- (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1367
- return e.concat(o || Array.prototype.slice.call(t));
1368
- }
1369
- function Re(e, t) {
1370
- var r = t && t.cache ? t.cache : Zn, n = t && t.serializer ? t.serializer : zn, i = t && t.strategy ? t.strategy : Vn;
1348
+ var Ln = J, Rn = Ln;
1349
+ const $n = /* @__PURE__ */ En(Rn);
1350
+ function Ne(e, t) {
1351
+ var r = t && t.cache ? t.cache : Vn, n = t && t.serializer ? t.serializer : jn, i = t && t.strategy ? t.strategy : Un;
1371
1352
  return i(e, {
1372
1353
  cache: r,
1373
1354
  serializer: n
1374
1355
  });
1375
1356
  }
1376
- function jn(e) {
1357
+ function Gn(e) {
1377
1358
  return e == null || typeof e == "number" || typeof e == "boolean";
1378
1359
  }
1379
- function kn(e, t, r, n) {
1380
- var i = jn(n) ? n : r(n), o = t.get(i);
1360
+ function Yt(e, t, r, n) {
1361
+ var i = Gn(n) ? n : r(n), o = t.get(i);
1381
1362
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1382
1363
  }
1383
- function rr(e, t, r) {
1364
+ function Kt(e, t, r) {
1384
1365
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1385
1366
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1386
1367
  }
1387
- function nr(e, t, r, n, i) {
1368
+ function nt(e, t, r, n, i) {
1388
1369
  return r.bind(t, e, n, i);
1389
1370
  }
1390
- function Vn(e, t) {
1391
- var r = e.length === 1 ? kn : rr;
1392
- return nr(e, this, r, t.cache.create(), t.serializer);
1371
+ function Un(e, t) {
1372
+ var r = e.length === 1 ? Yt : Kt;
1373
+ return nt(e, this, r, t.cache.create(), t.serializer);
1393
1374
  }
1394
- function Xn(e, t) {
1395
- return nr(e, this, rr, t.cache.create(), t.serializer);
1375
+ function Dn(e, t) {
1376
+ return nt(e, this, Kt, t.cache.create(), t.serializer);
1396
1377
  }
1397
- var zn = function() {
1378
+ function Fn(e, t) {
1379
+ return nt(e, this, Yt, t.cache.create(), t.serializer);
1380
+ }
1381
+ var jn = function() {
1398
1382
  return JSON.stringify(arguments);
1399
- }, Wn = (
1383
+ }, kn = (
1400
1384
  /** @class */
1401
1385
  function() {
1402
1386
  function e() {
@@ -1408,23 +1392,14 @@ var zn = function() {
1408
1392
  this.cache[t] = r;
1409
1393
  }, e;
1410
1394
  }()
1411
- ), Zn = {
1395
+ ), Vn = {
1412
1396
  create: function() {
1413
- return new Wn();
1397
+ return new kn();
1414
1398
  }
1415
- }, Ge = {
1416
- variadic: Xn
1417
- }, Se = function() {
1418
- return Se = Object.assign || function(t) {
1419
- for (var r, n = 1, i = arguments.length; n < i; n++) {
1420
- r = arguments[n];
1421
- for (var o in r)
1422
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1423
- }
1424
- return t;
1425
- }, Se.apply(this, arguments);
1426
- };
1427
- var b;
1399
+ }, Le = {
1400
+ variadic: Dn,
1401
+ monadic: Fn
1402
+ }, b;
1428
1403
  (function(e) {
1429
1404
  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";
1430
1405
  })(b || (b = {}));
@@ -1432,47 +1407,47 @@ var w;
1432
1407
  (function(e) {
1433
1408
  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";
1434
1409
  })(w || (w = {}));
1435
- var J;
1410
+ var q;
1436
1411
  (function(e) {
1437
1412
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1438
- })(J || (J = {}));
1439
- function St(e) {
1413
+ })(q || (q = {}));
1414
+ function _t(e) {
1440
1415
  return e.type === w.literal;
1441
1416
  }
1442
- function Qn(e) {
1417
+ function Xn(e) {
1443
1418
  return e.type === w.argument;
1444
1419
  }
1445
- function ir(e) {
1420
+ function er(e) {
1446
1421
  return e.type === w.number;
1447
1422
  }
1448
- function or(e) {
1423
+ function tr(e) {
1449
1424
  return e.type === w.date;
1450
1425
  }
1451
- function sr(e) {
1426
+ function rr(e) {
1452
1427
  return e.type === w.time;
1453
1428
  }
1454
- function ar(e) {
1429
+ function nr(e) {
1455
1430
  return e.type === w.select;
1456
1431
  }
1457
- function ur(e) {
1432
+ function ir(e) {
1458
1433
  return e.type === w.plural;
1459
1434
  }
1460
- function Jn(e) {
1435
+ function zn(e) {
1461
1436
  return e.type === w.pound;
1462
1437
  }
1463
- function lr(e) {
1438
+ function or(e) {
1464
1439
  return e.type === w.tag;
1465
1440
  }
1466
- function hr(e) {
1467
- return !!(e && typeof e == "object" && e.type === J.number);
1441
+ function sr(e) {
1442
+ return !!(e && typeof e == "object" && e.type === q.number);
1468
1443
  }
1469
- function Ye(e) {
1470
- return !!(e && typeof e == "object" && e.type === J.dateTime);
1444
+ function We(e) {
1445
+ return !!(e && typeof e == "object" && e.type === q.dateTime);
1471
1446
  }
1472
- var cr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, qn = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1473
- function Yn(e) {
1447
+ var ar = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Wn = /(?:[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;
1448
+ function Zn(e) {
1474
1449
  var t = {};
1475
- return e.replace(qn, function(r) {
1450
+ return e.replace(Wn, function(r) {
1476
1451
  var n = r.length;
1477
1452
  switch (r[0]) {
1478
1453
  case "G":
@@ -1561,46 +1536,36 @@ function Yn(e) {
1561
1536
  return "";
1562
1537
  }), t;
1563
1538
  }
1564
- var T = function() {
1565
- return T = Object.assign || function(t) {
1566
- for (var r, n = 1, i = arguments.length; n < i; n++) {
1567
- r = arguments[n];
1568
- for (var o in r)
1569
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1570
- }
1571
- return t;
1572
- }, T.apply(this, arguments);
1573
- };
1574
- var Kn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1575
- function ei(e) {
1539
+ var Qn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1540
+ function Jn(e) {
1576
1541
  if (e.length === 0)
1577
1542
  throw new Error("Number skeleton cannot be empty");
1578
- for (var t = e.split(Kn).filter(function(f) {
1579
- return f.length > 0;
1543
+ for (var t = e.split(Qn).filter(function(c) {
1544
+ return c.length > 0;
1580
1545
  }), r = [], n = 0, i = t; n < i.length; n++) {
1581
1546
  var o = i[n], a = o.split("/");
1582
1547
  if (a.length === 0)
1583
1548
  throw new Error("Invalid number skeleton");
1584
1549
  for (var s = a[0], l = a.slice(1), u = 0, h = l; u < h.length; u++) {
1585
- var c = h[u];
1586
- if (c.length === 0)
1550
+ var f = h[u];
1551
+ if (f.length === 0)
1587
1552
  throw new Error("Invalid number skeleton");
1588
1553
  }
1589
1554
  r.push({ stem: s, options: l });
1590
1555
  }
1591
1556
  return r;
1592
1557
  }
1593
- function ti(e) {
1558
+ function qn(e) {
1594
1559
  return e.replace(/^(.*?)-/, "");
1595
1560
  }
1596
- var wt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, fr = /^(@+)?(\+|#+)?[rs]?$/g, ri = /(\*)(0+)|(#+)(0+)|(0+)/g, mr = /^(0+)$/;
1597
- function Tt(e) {
1561
+ var vt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, ur = /^(@+)?(\+|#+)?[rs]?$/g, Yn = /(\*)(0+)|(#+)(0+)|(0+)/g, lr = /^(0+)$/;
1562
+ function xt(e) {
1598
1563
  var t = {};
1599
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(fr, function(r, n, i) {
1564
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(ur, function(r, n, i) {
1600
1565
  return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
1601
1566
  }), t;
1602
1567
  }
1603
- function pr(e) {
1568
+ function hr(e) {
1604
1569
  switch (e) {
1605
1570
  case "sign-auto":
1606
1571
  return {
@@ -1640,7 +1605,7 @@ function pr(e) {
1640
1605
  };
1641
1606
  }
1642
1607
  }
1643
- function ni(e) {
1608
+ function Kn(e) {
1644
1609
  var t;
1645
1610
  if (e[0] === "E" && e[1] === "E" ? (t = {
1646
1611
  notation: "engineering"
@@ -1648,17 +1613,17 @@ function ni(e) {
1648
1613
  notation: "scientific"
1649
1614
  }, e = e.slice(1)), t) {
1650
1615
  var r = e.slice(0, 2);
1651
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !mr.test(e))
1616
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !lr.test(e))
1652
1617
  throw new Error("Malformed concise eng/scientific notation");
1653
1618
  t.minimumIntegerDigits = e.length;
1654
1619
  }
1655
1620
  return t;
1656
1621
  }
1657
- function Ht(e) {
1658
- var t = {}, r = pr(e);
1622
+ function Et(e) {
1623
+ var t = {}, r = hr(e);
1659
1624
  return r || t;
1660
1625
  }
1661
- function ii(e) {
1626
+ function ei(e) {
1662
1627
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1663
1628
  var i = n[r];
1664
1629
  switch (i.stem) {
@@ -1682,7 +1647,7 @@ function ii(e) {
1682
1647
  continue;
1683
1648
  case "measure-unit":
1684
1649
  case "unit":
1685
- t.style = "unit", t.unit = ti(i.options[0]);
1650
+ t.style = "unit", t.unit = qn(i.options[0]);
1686
1651
  continue;
1687
1652
  case "compact-short":
1688
1653
  case "K":
@@ -1693,13 +1658,13 @@ function ii(e) {
1693
1658
  t.notation = "compact", t.compactDisplay = "long";
1694
1659
  continue;
1695
1660
  case "scientific":
1696
- t = T(T(T({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1697
- return T(T({}, l), Ht(u));
1661
+ t = v(v(v({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1662
+ return v(v({}, l), Et(u));
1698
1663
  }, {}));
1699
1664
  continue;
1700
1665
  case "engineering":
1701
- t = T(T(T({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1702
- return T(T({}, l), Ht(u));
1666
+ t = v(v(v({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1667
+ return v(v({}, l), Et(u));
1703
1668
  }, {}));
1704
1669
  continue;
1705
1670
  case "notation-simple":
@@ -1744,45 +1709,45 @@ function ii(e) {
1744
1709
  case "integer-width":
1745
1710
  if (i.options.length > 1)
1746
1711
  throw new RangeError("integer-width stems only accept a single optional option");
1747
- i.options[0].replace(ri, function(l, u, h, c, f, d) {
1712
+ i.options[0].replace(Yn, function(l, u, h, f, c, p) {
1748
1713
  if (u)
1749
1714
  t.minimumIntegerDigits = h.length;
1750
1715
  else {
1751
- if (c && f)
1716
+ if (f && c)
1752
1717
  throw new Error("We currently do not support maximum integer digits");
1753
- if (d)
1718
+ if (p)
1754
1719
  throw new Error("We currently do not support exact integer digits");
1755
1720
  }
1756
1721
  return "";
1757
1722
  });
1758
1723
  continue;
1759
1724
  }
1760
- if (mr.test(i.stem)) {
1725
+ if (lr.test(i.stem)) {
1761
1726
  t.minimumIntegerDigits = i.stem.length;
1762
1727
  continue;
1763
1728
  }
1764
- if (wt.test(i.stem)) {
1729
+ if (vt.test(i.stem)) {
1765
1730
  if (i.options.length > 1)
1766
1731
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1767
- i.stem.replace(wt, function(l, u, h, c, f, d) {
1768
- return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && d ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1732
+ i.stem.replace(vt, function(l, u, h, f, c, p) {
1733
+ return h === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && p ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1769
1734
  });
1770
1735
  var o = i.options[0];
1771
- o === "w" ? t = T(T({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = T(T({}, t), Tt(o)));
1736
+ o === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = v(v({}, t), xt(o)));
1772
1737
  continue;
1773
1738
  }
1774
- if (fr.test(i.stem)) {
1775
- t = T(T({}, t), Tt(i.stem));
1739
+ if (ur.test(i.stem)) {
1740
+ t = v(v({}, t), xt(i.stem));
1776
1741
  continue;
1777
1742
  }
1778
- var a = pr(i.stem);
1779
- a && (t = T(T({}, t), a));
1780
- var s = ni(i.stem);
1781
- s && (t = T(T({}, t), s));
1743
+ var a = hr(i.stem);
1744
+ a && (t = v(v({}, t), a));
1745
+ var s = Kn(i.stem);
1746
+ s && (t = v(v({}, t), s));
1782
1747
  }
1783
1748
  return t;
1784
1749
  }
1785
- var me = {
1750
+ var de = {
1786
1751
  "001": [
1787
1752
  "H",
1788
1753
  "h"
@@ -3197,13 +3162,13 @@ var me = {
3197
3162
  "h"
3198
3163
  ]
3199
3164
  };
3200
- function oi(e, t) {
3165
+ function ti(e, t) {
3201
3166
  for (var r = "", n = 0; n < e.length; n++) {
3202
3167
  var i = e.charAt(n);
3203
3168
  if (i === "j") {
3204
3169
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3205
3170
  o++, n++;
3206
- var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = si(t);
3171
+ var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = ri(t);
3207
3172
  for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
3208
3173
  r += l;
3209
3174
  for (; a-- > 0; )
@@ -3213,7 +3178,7 @@ function oi(e, t) {
3213
3178
  }
3214
3179
  return r;
3215
3180
  }
3216
- function si(e) {
3181
+ function ri(e) {
3217
3182
  var t = e.hourCycle;
3218
3183
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3219
3184
  e.hourCycles && // @ts-ignore
@@ -3232,23 +3197,23 @@ function si(e) {
3232
3197
  }
3233
3198
  var r = e.language, n;
3234
3199
  r !== "root" && (n = e.maximize().region);
3235
- var i = me[n || ""] || me[r || ""] || me["".concat(r, "-001")] || me["001"];
3200
+ var i = de[n || ""] || de[r || ""] || de["".concat(r, "-001")] || de["001"];
3236
3201
  return i[0];
3237
3202
  }
3238
- var Ue, ai = new RegExp("^".concat(cr.source, "*")), ui = new RegExp("".concat(cr.source, "*$"));
3239
- function v(e, t) {
3203
+ var Re, ni = new RegExp("^".concat(ar.source, "*")), ii = new RegExp("".concat(ar.source, "*$"));
3204
+ function _(e, t) {
3240
3205
  return { start: e, end: t };
3241
3206
  }
3242
- var li = !!String.prototype.startsWith && "_a".startsWith("a", 1), hi = !!String.fromCodePoint, ci = !!Object.fromEntries, fi = !!String.prototype.codePointAt, mi = !!String.prototype.trimStart, pi = !!String.prototype.trimEnd, di = !!Number.isSafeInteger, bi = di ? Number.isSafeInteger : function(e) {
3207
+ var oi = !!String.prototype.startsWith && "_a".startsWith("a", 1), si = !!String.fromCodePoint, ai = !!Object.fromEntries, ui = !!String.prototype.codePointAt, li = !!String.prototype.trimStart, hi = !!String.prototype.trimEnd, fi = !!Number.isSafeInteger, ci = fi ? Number.isSafeInteger : function(e) {
3243
3208
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3244
- }, Ke = !0;
3209
+ }, Ze = !0;
3245
3210
  try {
3246
- var gi = br("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3247
- Ke = ((Ue = gi.exec("a")) === null || Ue === void 0 ? void 0 : Ue[0]) === "a";
3211
+ var di = cr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3212
+ Ze = ((Re = di.exec("a")) === null || Re === void 0 ? void 0 : Re[0]) === "a";
3248
3213
  } catch {
3249
- Ke = !1;
3214
+ Ze = !1;
3250
3215
  }
3251
- var Bt = li ? (
3216
+ var St = oi ? (
3252
3217
  // Native
3253
3218
  function(t, r, n) {
3254
3219
  return t.startsWith(r, n);
@@ -3258,7 +3223,7 @@ var Bt = li ? (
3258
3223
  function(t, r, n) {
3259
3224
  return t.slice(n, n + r.length) === r;
3260
3225
  }
3261
- ), et = hi ? String.fromCodePoint : (
3226
+ ), Qe = si ? String.fromCodePoint : (
3262
3227
  // IE11
3263
3228
  function() {
3264
3229
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3270,9 +3235,9 @@ var Bt = li ? (
3270
3235
  }
3271
3236
  return n;
3272
3237
  }
3273
- ), At = (
3238
+ ), wt = (
3274
3239
  // native
3275
- ci ? Object.fromEntries : (
3240
+ ai ? Object.fromEntries : (
3276
3241
  // Ponyfill
3277
3242
  function(t) {
3278
3243
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3282,7 +3247,7 @@ var Bt = li ? (
3282
3247
  return r;
3283
3248
  }
3284
3249
  )
3285
- ), dr = fi ? (
3250
+ ), fr = ui ? (
3286
3251
  // Native
3287
3252
  function(t, r) {
3288
3253
  return t.codePointAt(r);
@@ -3296,7 +3261,7 @@ var Bt = li ? (
3296
3261
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3297
3262
  }
3298
3263
  }
3299
- ), yi = mi ? (
3264
+ ), mi = li ? (
3300
3265
  // Native
3301
3266
  function(t) {
3302
3267
  return t.trimStart();
@@ -3304,9 +3269,9 @@ var Bt = li ? (
3304
3269
  ) : (
3305
3270
  // Ponyfill
3306
3271
  function(t) {
3307
- return t.replace(ai, "");
3272
+ return t.replace(ni, "");
3308
3273
  }
3309
- ), vi = pi ? (
3274
+ ), pi = hi ? (
3310
3275
  // Native
3311
3276
  function(t) {
3312
3277
  return t.trimEnd();
@@ -3314,32 +3279,32 @@ var Bt = li ? (
3314
3279
  ) : (
3315
3280
  // Ponyfill
3316
3281
  function(t) {
3317
- return t.replace(ui, "");
3282
+ return t.replace(ii, "");
3318
3283
  }
3319
3284
  );
3320
- function br(e, t) {
3285
+ function cr(e, t) {
3321
3286
  return new RegExp(e, t);
3322
3287
  }
3323
- var tt;
3324
- if (Ke) {
3325
- var Ct = br("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3326
- tt = function(t, r) {
3288
+ var Je;
3289
+ if (Ze) {
3290
+ var Tt = cr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3291
+ Je = function(t, r) {
3327
3292
  var n;
3328
- Ct.lastIndex = r;
3329
- var i = Ct.exec(t);
3293
+ Tt.lastIndex = r;
3294
+ var i = Tt.exec(t);
3330
3295
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3331
3296
  };
3332
3297
  } else
3333
- tt = function(t, r) {
3298
+ Je = function(t, r) {
3334
3299
  for (var n = []; ; ) {
3335
- var i = dr(t, r);
3336
- if (i === void 0 || gr(i) || Si(i))
3300
+ var i = fr(t, r);
3301
+ if (i === void 0 || dr(i) || _i(i))
3337
3302
  break;
3338
3303
  n.push(i), r += i >= 65536 ? 2 : 1;
3339
3304
  }
3340
- return et.apply(void 0, n);
3305
+ return Qe.apply(void 0, n);
3341
3306
  };
3342
- var _i = (
3307
+ var bi = (
3343
3308
  /** @class */
3344
3309
  function() {
3345
3310
  function e(t, r) {
@@ -3364,13 +3329,13 @@ var _i = (
3364
3329
  var s = this.clonePosition();
3365
3330
  this.bump(), i.push({
3366
3331
  type: w.pound,
3367
- location: v(s, this.clonePosition())
3332
+ location: _(s, this.clonePosition())
3368
3333
  });
3369
3334
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3370
3335
  if (n)
3371
3336
  break;
3372
- return this.error(b.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
3373
- } else if (o === 60 && !this.ignoreTag && rt(this.peek() || 0)) {
3337
+ return this.error(b.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
3338
+ } else if (o === 60 && !this.ignoreTag && qe(this.peek() || 0)) {
3374
3339
  var a = this.parseTag(t, r);
3375
3340
  if (a.err)
3376
3341
  return a;
@@ -3393,7 +3358,7 @@ var _i = (
3393
3358
  val: {
3394
3359
  type: w.literal,
3395
3360
  value: "<".concat(i, "/>"),
3396
- location: v(n, this.clonePosition())
3361
+ location: _(n, this.clonePosition())
3397
3362
  },
3398
3363
  err: null
3399
3364
  };
@@ -3403,25 +3368,25 @@ var _i = (
3403
3368
  return o;
3404
3369
  var a = o.val, s = this.clonePosition();
3405
3370
  if (this.bumpIf("</")) {
3406
- if (this.isEOF() || !rt(this.char()))
3407
- return this.error(b.INVALID_TAG, v(s, this.clonePosition()));
3371
+ if (this.isEOF() || !qe(this.char()))
3372
+ return this.error(b.INVALID_TAG, _(s, this.clonePosition()));
3408
3373
  var l = this.clonePosition(), u = this.parseTagName();
3409
- return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG, v(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3374
+ return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG, _(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3410
3375
  val: {
3411
3376
  type: w.tag,
3412
3377
  value: i,
3413
3378
  children: a,
3414
- location: v(n, this.clonePosition())
3379
+ location: _(n, this.clonePosition())
3415
3380
  },
3416
3381
  err: null
3417
- } : this.error(b.INVALID_TAG, v(s, this.clonePosition())));
3382
+ } : this.error(b.INVALID_TAG, _(s, this.clonePosition())));
3418
3383
  } else
3419
- return this.error(b.UNCLOSED_TAG, v(n, this.clonePosition()));
3384
+ return this.error(b.UNCLOSED_TAG, _(n, this.clonePosition()));
3420
3385
  } else
3421
- return this.error(b.INVALID_TAG, v(n, this.clonePosition()));
3386
+ return this.error(b.INVALID_TAG, _(n, this.clonePosition()));
3422
3387
  }, e.prototype.parseTagName = function() {
3423
3388
  var t = this.offset();
3424
- for (this.bump(); !this.isEOF() && Ei(this.char()); )
3389
+ for (this.bump(); !this.isEOF() && yi(this.char()); )
3425
3390
  this.bump();
3426
3391
  return this.message.slice(t, this.offset());
3427
3392
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3443,14 +3408,14 @@ var _i = (
3443
3408
  }
3444
3409
  break;
3445
3410
  }
3446
- var l = v(n, this.clonePosition());
3411
+ var l = _(n, this.clonePosition());
3447
3412
  return {
3448
3413
  val: { type: w.literal, value: i, location: l },
3449
3414
  err: null
3450
3415
  };
3451
3416
  }, e.prototype.tryParseLeftAngleBracket = function() {
3452
3417
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3453
- !xi(this.peek() || 0)) ? (this.bump(), "<") : null;
3418
+ !gi(this.peek() || 0)) ? (this.bump(), "<") : null;
3454
3419
  }, e.prototype.tryParseQuote = function(t) {
3455
3420
  if (this.isEOF() || this.char() !== 39)
3456
3421
  return null;
@@ -3484,23 +3449,23 @@ var _i = (
3484
3449
  r.push(n);
3485
3450
  this.bump();
3486
3451
  }
3487
- return et.apply(void 0, r);
3452
+ return Qe.apply(void 0, r);
3488
3453
  }, e.prototype.tryParseUnquoted = function(t, r) {
3489
3454
  if (this.isEOF())
3490
3455
  return null;
3491
3456
  var n = this.char();
3492
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), et(n));
3457
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Qe(n));
3493
3458
  }, e.prototype.parseArgument = function(t, r) {
3494
3459
  var n = this.clonePosition();
3495
3460
  if (this.bump(), this.bumpSpace(), this.isEOF())
3496
- return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
3461
+ return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition()));
3497
3462
  if (this.char() === 125)
3498
- return this.bump(), this.error(b.EMPTY_ARGUMENT, v(n, this.clonePosition()));
3463
+ return this.bump(), this.error(b.EMPTY_ARGUMENT, _(n, this.clonePosition()));
3499
3464
  var i = this.parseIdentifierIfPossible().value;
3500
3465
  if (!i)
3501
- return this.error(b.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
3466
+ return this.error(b.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
3502
3467
  if (this.bumpSpace(), this.isEOF())
3503
- return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
3468
+ return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition()));
3504
3469
  switch (this.char()) {
3505
3470
  case 125:
3506
3471
  return this.bump(), {
@@ -3508,25 +3473,25 @@ var _i = (
3508
3473
  type: w.argument,
3509
3474
  // value does not include the opening and closing braces.
3510
3475
  value: i,
3511
- location: v(n, this.clonePosition())
3476
+ location: _(n, this.clonePosition())
3512
3477
  },
3513
3478
  err: null
3514
3479
  };
3515
3480
  case 44:
3516
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3481
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3517
3482
  default:
3518
- return this.error(b.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
3483
+ return this.error(b.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
3519
3484
  }
3520
3485
  }, e.prototype.parseIdentifierIfPossible = function() {
3521
- var t = this.clonePosition(), r = this.offset(), n = tt(this.message, r), i = r + n.length;
3486
+ var t = this.clonePosition(), r = this.offset(), n = Je(this.message, r), i = r + n.length;
3522
3487
  this.bumpTo(i);
3523
- var o = this.clonePosition(), a = v(t, o);
3488
+ var o = this.clonePosition(), a = _(t, o);
3524
3489
  return { value: n, location: a };
3525
3490
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3526
3491
  var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, l = this.clonePosition();
3527
3492
  switch (s) {
3528
3493
  case "":
3529
- return this.error(b.EXPECT_ARGUMENT_TYPE, v(a, l));
3494
+ return this.error(b.EXPECT_ARGUMENT_TYPE, _(a, l));
3530
3495
  case "number":
3531
3496
  case "date":
3532
3497
  case "time": {
@@ -3534,40 +3499,40 @@ var _i = (
3534
3499
  var u = null;
3535
3500
  if (this.bumpIf(",")) {
3536
3501
  this.bumpSpace();
3537
- var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3538
- if (c.err)
3539
- return c;
3540
- var f = vi(c.val);
3541
- if (f.length === 0)
3542
- return this.error(b.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
3543
- var d = v(h, this.clonePosition());
3544
- u = { style: f, styleLocation: d };
3502
+ var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3503
+ if (f.err)
3504
+ return f;
3505
+ var c = pi(f.val);
3506
+ if (c.length === 0)
3507
+ return this.error(b.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
3508
+ var p = _(h, this.clonePosition());
3509
+ u = { style: c, styleLocation: p };
3545
3510
  }
3546
- var m = this.tryParseArgumentClose(i);
3547
- if (m.err)
3548
- return m;
3549
- var p = v(i, this.clonePosition());
3550
- if (u && Bt(u?.style, "::", 0)) {
3551
- var g = yi(u.style.slice(2));
3511
+ var d = this.tryParseArgumentClose(i);
3512
+ if (d.err)
3513
+ return d;
3514
+ var m = _(i, this.clonePosition());
3515
+ if (u && St(u?.style, "::", 0)) {
3516
+ var g = mi(u.style.slice(2));
3552
3517
  if (s === "number") {
3553
- var c = this.parseNumberSkeletonFromString(g, u.styleLocation);
3554
- return c.err ? c : {
3555
- val: { type: w.number, value: n, location: p, style: c.val },
3518
+ var f = this.parseNumberSkeletonFromString(g, u.styleLocation);
3519
+ return f.err ? f : {
3520
+ val: { type: w.number, value: n, location: m, style: f.val },
3556
3521
  err: null
3557
3522
  };
3558
3523
  } else {
3559
3524
  if (g.length === 0)
3560
- return this.error(b.EXPECT_DATE_TIME_SKELETON, p);
3525
+ return this.error(b.EXPECT_DATE_TIME_SKELETON, m);
3561
3526
  var B = g;
3562
- this.locale && (B = oi(g, this.locale));
3563
- var f = {
3564
- type: J.dateTime,
3527
+ this.locale && (B = ti(g, this.locale));
3528
+ var c = {
3529
+ type: q.dateTime,
3565
3530
  pattern: B,
3566
3531
  location: u.styleLocation,
3567
- parsedOptions: this.shouldParseSkeletons ? Yn(B) : {}
3532
+ parsedOptions: this.shouldParseSkeletons ? Zn(B) : {}
3568
3533
  }, A = s === "date" ? w.date : w.time;
3569
3534
  return {
3570
- val: { type: A, value: n, location: p, style: f },
3535
+ val: { type: A, value: n, location: m, style: c },
3571
3536
  err: null
3572
3537
  };
3573
3538
  }
@@ -3576,7 +3541,7 @@ var _i = (
3576
3541
  val: {
3577
3542
  type: s === "number" ? w.number : s === "date" ? w.date : w.time,
3578
3543
  value: n,
3579
- location: p,
3544
+ location: m,
3580
3545
  style: (o = u?.style) !== null && o !== void 0 ? o : null
3581
3546
  },
3582
3547
  err: null
@@ -3585,32 +3550,32 @@ var _i = (
3585
3550
  case "plural":
3586
3551
  case "selectordinal":
3587
3552
  case "select": {
3588
- var S = this.clonePosition();
3553
+ var T = this.clonePosition();
3589
3554
  if (this.bumpSpace(), !this.bumpIf(","))
3590
- return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, v(S, Se({}, S)));
3555
+ return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, _(T, v({}, T)));
3591
3556
  this.bumpSpace();
3592
- var E = this.parseIdentifierIfPossible(), x = 0;
3593
- if (s !== "select" && E.value === "offset") {
3557
+ var S = this.parseIdentifierIfPossible(), E = 0;
3558
+ if (s !== "select" && S.value === "offset") {
3594
3559
  if (!this.bumpIf(":"))
3595
- return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
3560
+ return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
3596
3561
  this.bumpSpace();
3597
- var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3598
- if (c.err)
3599
- return c;
3600
- this.bumpSpace(), E = this.parseIdentifierIfPossible(), x = c.val;
3562
+ var f = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3563
+ if (f.err)
3564
+ return f;
3565
+ this.bumpSpace(), S = this.parseIdentifierIfPossible(), E = f.val;
3601
3566
  }
3602
- var _ = this.tryParsePluralOrSelectOptions(t, s, r, E);
3603
- if (_.err)
3604
- return _;
3605
- var m = this.tryParseArgumentClose(i);
3606
- if (m.err)
3607
- return m;
3608
- var O = v(i, this.clonePosition());
3567
+ var x = this.tryParsePluralOrSelectOptions(t, s, r, S);
3568
+ if (x.err)
3569
+ return x;
3570
+ var d = this.tryParseArgumentClose(i);
3571
+ if (d.err)
3572
+ return d;
3573
+ var O = _(i, this.clonePosition());
3609
3574
  return s === "select" ? {
3610
3575
  val: {
3611
3576
  type: w.select,
3612
3577
  value: n,
3613
- options: At(_.val),
3578
+ options: wt(x.val),
3614
3579
  location: O
3615
3580
  },
3616
3581
  err: null
@@ -3618,8 +3583,8 @@ var _i = (
3618
3583
  val: {
3619
3584
  type: w.plural,
3620
3585
  value: n,
3621
- options: At(_.val),
3622
- offset: x,
3586
+ options: wt(x.val),
3587
+ offset: E,
3623
3588
  pluralType: s === "plural" ? "cardinal" : "ordinal",
3624
3589
  location: O
3625
3590
  },
@@ -3627,10 +3592,10 @@ var _i = (
3627
3592
  };
3628
3593
  }
3629
3594
  default:
3630
- return this.error(b.INVALID_ARGUMENT_TYPE, v(a, l));
3595
+ return this.error(b.INVALID_ARGUMENT_TYPE, _(a, l));
3631
3596
  }
3632
3597
  }, e.prototype.tryParseArgumentClose = function(t) {
3633
- return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, v(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3598
+ return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, _(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3634
3599
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3635
3600
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3636
3601
  var n = this.char();
@@ -3639,7 +3604,7 @@ var _i = (
3639
3604
  this.bump();
3640
3605
  var i = this.clonePosition();
3641
3606
  if (!this.bumpUntil("'"))
3642
- return this.error(b.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, v(i, this.clonePosition()));
3607
+ return this.error(b.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, _(i, this.clonePosition()));
3643
3608
  this.bump();
3644
3609
  break;
3645
3610
  }
@@ -3669,52 +3634,52 @@ var _i = (
3669
3634
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3670
3635
  var n = [];
3671
3636
  try {
3672
- n = ei(t);
3637
+ n = Jn(t);
3673
3638
  } catch {
3674
3639
  return this.error(b.INVALID_NUMBER_SKELETON, r);
3675
3640
  }
3676
3641
  return {
3677
3642
  val: {
3678
- type: J.number,
3643
+ type: q.number,
3679
3644
  tokens: n,
3680
3645
  location: r,
3681
- parsedOptions: this.shouldParseSkeletons ? ii(n) : {}
3646
+ parsedOptions: this.shouldParseSkeletons ? ei(n) : {}
3682
3647
  },
3683
3648
  err: null
3684
3649
  };
3685
3650
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3686
3651
  for (var o, a = !1, s = [], l = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
3687
3652
  if (u.length === 0) {
3688
- var c = this.clonePosition();
3653
+ var f = this.clonePosition();
3689
3654
  if (r !== "select" && this.bumpIf("=")) {
3690
- var f = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_SELECTOR, b.INVALID_PLURAL_ARGUMENT_SELECTOR);
3691
- if (f.err)
3692
- return f;
3693
- h = v(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
3655
+ var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_SELECTOR, b.INVALID_PLURAL_ARGUMENT_SELECTOR);
3656
+ if (c.err)
3657
+ return c;
3658
+ h = _(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
3694
3659
  } else
3695
3660
  break;
3696
3661
  }
3697
3662
  if (l.has(u))
3698
3663
  return this.error(r === "select" ? b.DUPLICATE_SELECT_ARGUMENT_SELECTOR : b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3699
3664
  u === "other" && (a = !0), this.bumpSpace();
3700
- var d = this.clonePosition();
3665
+ var p = this.clonePosition();
3701
3666
  if (!this.bumpIf("{"))
3702
- return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, v(this.clonePosition(), this.clonePosition()));
3703
- var m = this.parseMessage(t + 1, r, n);
3667
+ return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, _(this.clonePosition(), this.clonePosition()));
3668
+ var d = this.parseMessage(t + 1, r, n);
3669
+ if (d.err)
3670
+ return d;
3671
+ var m = this.tryParseArgumentClose(p);
3704
3672
  if (m.err)
3705
3673
  return m;
3706
- var p = this.tryParseArgumentClose(d);
3707
- if (p.err)
3708
- return p;
3709
3674
  s.push([
3710
3675
  u,
3711
3676
  {
3712
- value: m.val,
3713
- location: v(d, this.clonePosition())
3677
+ value: d.val,
3678
+ location: _(p, this.clonePosition())
3714
3679
  }
3715
3680
  ]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
3716
3681
  }
3717
- return s.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, v(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(b.MISSING_OTHER_CLAUSE, v(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
3682
+ return s.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, _(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(b.MISSING_OTHER_CLAUSE, _(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
3718
3683
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3719
3684
  var n = 1, i = this.clonePosition();
3720
3685
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -3725,8 +3690,8 @@ var _i = (
3725
3690
  else
3726
3691
  break;
3727
3692
  }
3728
- var l = v(i, this.clonePosition());
3729
- return o ? (a *= n, bi(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3693
+ var l = _(i, this.clonePosition());
3694
+ return o ? (a *= n, ci(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3730
3695
  }, e.prototype.offset = function() {
3731
3696
  return this.position.offset;
3732
3697
  }, e.prototype.isEOF = function() {
@@ -3741,7 +3706,7 @@ var _i = (
3741
3706
  var t = this.position.offset;
3742
3707
  if (t >= this.message.length)
3743
3708
  throw Error("out of bound");
3744
- var r = dr(this.message, t);
3709
+ var r = fr(this.message, t);
3745
3710
  if (r === void 0)
3746
3711
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3747
3712
  return r;
@@ -3760,7 +3725,7 @@ var _i = (
3760
3725
  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);
3761
3726
  }
3762
3727
  }, e.prototype.bumpIf = function(t) {
3763
- if (Bt(this.message, t, this.offset())) {
3728
+ if (St(this.message, t, this.offset())) {
3764
3729
  for (var r = 0; r < t.length; r++)
3765
3730
  this.bump();
3766
3731
  return !0;
@@ -3782,7 +3747,7 @@ var _i = (
3782
3747
  break;
3783
3748
  }
3784
3749
  }, e.prototype.bumpSpace = function() {
3785
- for (; !this.isEOF() && gr(this.char()); )
3750
+ for (; !this.isEOF() && dr(this.char()); )
3786
3751
  this.bump();
3787
3752
  }, e.prototype.peek = function() {
3788
3753
  if (this.isEOF())
@@ -3792,47 +3757,47 @@ var _i = (
3792
3757
  }, e;
3793
3758
  }()
3794
3759
  );
3795
- function rt(e) {
3760
+ function qe(e) {
3796
3761
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3797
3762
  }
3798
- function xi(e) {
3799
- return rt(e) || e === 47;
3763
+ function gi(e) {
3764
+ return qe(e) || e === 47;
3800
3765
  }
3801
- function Ei(e) {
3766
+ function yi(e) {
3802
3767
  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;
3803
3768
  }
3804
- function gr(e) {
3769
+ function dr(e) {
3805
3770
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3806
3771
  }
3807
- function Si(e) {
3772
+ function _i(e) {
3808
3773
  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;
3809
3774
  }
3810
- function nt(e) {
3775
+ function Ye(e) {
3811
3776
  e.forEach(function(t) {
3812
- if (delete t.location, ar(t) || ur(t))
3777
+ if (delete t.location, nr(t) || ir(t))
3813
3778
  for (var r in t.options)
3814
- delete t.options[r].location, nt(t.options[r].value);
3779
+ delete t.options[r].location, Ye(t.options[r].value);
3815
3780
  else
3816
- ir(t) && hr(t.style) || (or(t) || sr(t)) && Ye(t.style) ? delete t.style.location : lr(t) && nt(t.children);
3781
+ er(t) && sr(t.style) || (tr(t) || rr(t)) && We(t.style) ? delete t.style.location : or(t) && Ye(t.children);
3817
3782
  });
3818
3783
  }
3819
- function wi(e, t) {
3820
- t === void 0 && (t = {}), t = Se({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3821
- var r = new _i(e, t).parse();
3784
+ function vi(e, t) {
3785
+ t === void 0 && (t = {}), t = v({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3786
+ var r = new bi(e, t).parse();
3822
3787
  if (r.err) {
3823
3788
  var n = SyntaxError(b[r.err.kind]);
3824
3789
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3825
3790
  }
3826
- return t?.captureLocation || nt(r.val), r.val;
3791
+ return t?.captureLocation || Ye(r.val), r.val;
3827
3792
  }
3828
- var q;
3793
+ var Y;
3829
3794
  (function(e) {
3830
3795
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3831
- })(q || (q = {}));
3832
- var Pe = (
3796
+ })(Y || (Y = {}));
3797
+ var Ae = (
3833
3798
  /** @class */
3834
3799
  function(e) {
3835
- Ce(t, e);
3800
+ $(t, e);
3836
3801
  function t(r, n, i) {
3837
3802
  var o = e.call(this, r) || this;
3838
3803
  return o.code = n, o.originalMessage = i, o;
@@ -3841,48 +3806,48 @@ var Pe = (
3841
3806
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3842
3807
  }, t;
3843
3808
  }(Error)
3844
- ), Pt = (
3809
+ ), Ht = (
3845
3810
  /** @class */
3846
3811
  function(e) {
3847
- Ce(t, e);
3812
+ $(t, e);
3848
3813
  function t(r, n, i, o) {
3849
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), q.INVALID_VALUE, o) || this;
3814
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Y.INVALID_VALUE, o) || this;
3850
3815
  }
3851
3816
  return t;
3852
- }(Pe)
3853
- ), Ti = (
3817
+ }(Ae)
3818
+ ), xi = (
3854
3819
  /** @class */
3855
3820
  function(e) {
3856
- Ce(t, e);
3821
+ $(t, e);
3857
3822
  function t(r, n, i) {
3858
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), q.INVALID_VALUE, i) || this;
3823
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Y.INVALID_VALUE, i) || this;
3859
3824
  }
3860
3825
  return t;
3861
- }(Pe)
3862
- ), Hi = (
3826
+ }(Ae)
3827
+ ), Ei = (
3863
3828
  /** @class */
3864
3829
  function(e) {
3865
- Ce(t, e);
3830
+ $(t, e);
3866
3831
  function t(r, n) {
3867
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), q.MISSING_VALUE, n) || this;
3832
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Y.MISSING_VALUE, n) || this;
3868
3833
  }
3869
3834
  return t;
3870
- }(Pe)
3835
+ }(Ae)
3871
3836
  ), P;
3872
3837
  (function(e) {
3873
3838
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3874
3839
  })(P || (P = {}));
3875
- function Bi(e) {
3840
+ function Si(e) {
3876
3841
  return e.length < 2 ? e : e.reduce(function(t, r) {
3877
3842
  var n = t[t.length - 1];
3878
3843
  return !n || n.type !== P.literal || r.type !== P.literal ? t.push(r) : n.value += r.value, t;
3879
3844
  }, []);
3880
3845
  }
3881
- function Ai(e) {
3846
+ function wi(e) {
3882
3847
  return typeof e == "function";
3883
3848
  }
3884
3849
  function ge(e, t, r, n, i, o, a) {
3885
- if (e.length === 1 && St(e[0]))
3850
+ if (e.length === 1 && _t(e[0]))
3886
3851
  return [
3887
3852
  {
3888
3853
  type: P.literal,
@@ -3891,105 +3856,105 @@ function ge(e, t, r, n, i, o, a) {
3891
3856
  ];
3892
3857
  for (var s = [], l = 0, u = e; l < u.length; l++) {
3893
3858
  var h = u[l];
3894
- if (St(h)) {
3859
+ if (_t(h)) {
3895
3860
  s.push({
3896
3861
  type: P.literal,
3897
3862
  value: h.value
3898
3863
  });
3899
3864
  continue;
3900
3865
  }
3901
- if (Jn(h)) {
3866
+ if (zn(h)) {
3902
3867
  typeof o == "number" && s.push({
3903
3868
  type: P.literal,
3904
3869
  value: r.getNumberFormat(t).format(o)
3905
3870
  });
3906
3871
  continue;
3907
3872
  }
3908
- var c = h.value;
3909
- if (!(i && c in i))
3910
- throw new Hi(c, a);
3911
- var f = i[c];
3912
- if (Qn(h)) {
3913
- (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), s.push({
3914
- type: typeof f == "string" ? P.literal : P.object,
3915
- value: f
3873
+ var f = h.value;
3874
+ if (!(i && f in i))
3875
+ throw new Ei(f, a);
3876
+ var c = i[f];
3877
+ if (Xn(h)) {
3878
+ (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), s.push({
3879
+ type: typeof c == "string" ? P.literal : P.object,
3880
+ value: c
3916
3881
  });
3917
3882
  continue;
3918
3883
  }
3919
- if (or(h)) {
3920
- var d = typeof h.style == "string" ? n.date[h.style] : Ye(h.style) ? h.style.parsedOptions : void 0;
3884
+ if (tr(h)) {
3885
+ var p = typeof h.style == "string" ? n.date[h.style] : We(h.style) ? h.style.parsedOptions : void 0;
3921
3886
  s.push({
3922
3887
  type: P.literal,
3923
- value: r.getDateTimeFormat(t, d).format(f)
3888
+ value: r.getDateTimeFormat(t, p).format(c)
3924
3889
  });
3925
3890
  continue;
3926
3891
  }
3927
- if (sr(h)) {
3928
- var d = typeof h.style == "string" ? n.time[h.style] : Ye(h.style) ? h.style.parsedOptions : n.time.medium;
3892
+ if (rr(h)) {
3893
+ var p = typeof h.style == "string" ? n.time[h.style] : We(h.style) ? h.style.parsedOptions : n.time.medium;
3929
3894
  s.push({
3930
3895
  type: P.literal,
3931
- value: r.getDateTimeFormat(t, d).format(f)
3896
+ value: r.getDateTimeFormat(t, p).format(c)
3932
3897
  });
3933
3898
  continue;
3934
3899
  }
3935
- if (ir(h)) {
3936
- var d = typeof h.style == "string" ? n.number[h.style] : hr(h.style) ? h.style.parsedOptions : void 0;
3937
- d && d.scale && (f = f * (d.scale || 1)), s.push({
3900
+ if (er(h)) {
3901
+ var p = typeof h.style == "string" ? n.number[h.style] : sr(h.style) ? h.style.parsedOptions : void 0;
3902
+ p && p.scale && (c = c * (p.scale || 1)), s.push({
3938
3903
  type: P.literal,
3939
- value: r.getNumberFormat(t, d).format(f)
3904
+ value: r.getNumberFormat(t, p).format(c)
3940
3905
  });
3941
3906
  continue;
3942
3907
  }
3943
- if (lr(h)) {
3944
- var m = h.children, p = h.value, g = i[p];
3945
- if (!Ai(g))
3946
- throw new Ti(p, "function", a);
3947
- var B = ge(m, t, r, n, i, o), A = g(B.map(function(x) {
3948
- return x.value;
3908
+ if (or(h)) {
3909
+ var d = h.children, m = h.value, g = i[m];
3910
+ if (!wi(g))
3911
+ throw new xi(m, "function", a);
3912
+ var B = ge(d, t, r, n, i, o), A = g(B.map(function(E) {
3913
+ return E.value;
3949
3914
  }));
3950
- Array.isArray(A) || (A = [A]), s.push.apply(s, A.map(function(x) {
3915
+ Array.isArray(A) || (A = [A]), s.push.apply(s, A.map(function(E) {
3951
3916
  return {
3952
- type: typeof x == "string" ? P.literal : P.object,
3953
- value: x
3917
+ type: typeof E == "string" ? P.literal : P.object,
3918
+ value: E
3954
3919
  };
3955
3920
  }));
3956
3921
  }
3957
- if (ar(h)) {
3958
- var S = h.options[f] || h.options.other;
3959
- if (!S)
3960
- throw new Pt(h.value, f, Object.keys(h.options), a);
3961
- s.push.apply(s, ge(S.value, t, r, n, i));
3922
+ if (nr(h)) {
3923
+ var T = h.options[c] || h.options.other;
3924
+ if (!T)
3925
+ throw new Ht(h.value, c, Object.keys(h.options), a);
3926
+ s.push.apply(s, ge(T.value, t, r, n, i));
3962
3927
  continue;
3963
3928
  }
3964
- if (ur(h)) {
3965
- var S = h.options["=".concat(f)];
3966
- if (!S) {
3929
+ if (ir(h)) {
3930
+ var T = h.options["=".concat(c)];
3931
+ if (!T) {
3967
3932
  if (!Intl.PluralRules)
3968
- throw new Pe(`Intl.PluralRules is not available in this environment.
3933
+ throw new Ae(`Intl.PluralRules is not available in this environment.
3969
3934
  Try polyfilling it using "@formatjs/intl-pluralrules"
3970
- `, q.MISSING_INTL_API, a);
3971
- var E = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3972
- S = h.options[E] || h.options.other;
3935
+ `, Y.MISSING_INTL_API, a);
3936
+ var S = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
3937
+ T = h.options[S] || h.options.other;
3973
3938
  }
3974
- if (!S)
3975
- throw new Pt(h.value, f, Object.keys(h.options), a);
3976
- s.push.apply(s, ge(S.value, t, r, n, i, f - (h.offset || 0)));
3939
+ if (!T)
3940
+ throw new Ht(h.value, c, Object.keys(h.options), a);
3941
+ s.push.apply(s, ge(T.value, t, r, n, i, c - (h.offset || 0)));
3977
3942
  continue;
3978
3943
  }
3979
3944
  }
3980
- return Bi(s);
3945
+ return Si(s);
3981
3946
  }
3982
- function Ci(e, t) {
3983
- return t ? L(L(L({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3984
- return r[n] = L(L({}, e[n]), t[n] || {}), r;
3947
+ function Ti(e, t) {
3948
+ return t ? v(v(v({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3949
+ return r[n] = v(v({}, e[n]), t[n] || {}), r;
3985
3950
  }, {})) : e;
3986
3951
  }
3987
- function Pi(e, t) {
3952
+ function Hi(e, t) {
3988
3953
  return t ? Object.keys(e).reduce(function(r, n) {
3989
- return r[n] = Ci(e[n], t[n]), r;
3990
- }, L({}, e)) : e;
3954
+ return r[n] = Ti(e[n], t[n]), r;
3955
+ }, v({}, e)) : e;
3991
3956
  }
3992
- function De(e) {
3957
+ function $e(e) {
3993
3958
  return {
3994
3959
  create: function() {
3995
3960
  return {
@@ -4003,39 +3968,39 @@ function De(e) {
4003
3968
  }
4004
3969
  };
4005
3970
  }
4006
- function Oi(e) {
3971
+ function Bi(e) {
4007
3972
  return e === void 0 && (e = {
4008
3973
  number: {},
4009
3974
  dateTime: {},
4010
3975
  pluralRules: {}
4011
3976
  }), {
4012
- getNumberFormat: Re(function() {
3977
+ getNumberFormat: Ne(function() {
4013
3978
  for (var t, r = [], n = 0; n < arguments.length; n++)
4014
3979
  r[n] = arguments[n];
4015
- return new ((t = Intl.NumberFormat).bind.apply(t, $e([void 0], r, !1)))();
3980
+ return new ((t = Intl.NumberFormat).bind.apply(t, Z([void 0], r, !1)))();
4016
3981
  }, {
4017
- cache: De(e.number),
4018
- strategy: Ge.variadic
3982
+ cache: $e(e.number),
3983
+ strategy: Le.variadic
4019
3984
  }),
4020
- getDateTimeFormat: Re(function() {
3985
+ getDateTimeFormat: Ne(function() {
4021
3986
  for (var t, r = [], n = 0; n < arguments.length; n++)
4022
3987
  r[n] = arguments[n];
4023
- return new ((t = Intl.DateTimeFormat).bind.apply(t, $e([void 0], r, !1)))();
3988
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Z([void 0], r, !1)))();
4024
3989
  }, {
4025
- cache: De(e.dateTime),
4026
- strategy: Ge.variadic
3990
+ cache: $e(e.dateTime),
3991
+ strategy: Le.variadic
4027
3992
  }),
4028
- getPluralRules: Re(function() {
3993
+ getPluralRules: Ne(function() {
4029
3994
  for (var t, r = [], n = 0; n < arguments.length; n++)
4030
3995
  r[n] = arguments[n];
4031
- return new ((t = Intl.PluralRules).bind.apply(t, $e([void 0], r, !1)))();
3996
+ return new ((t = Intl.PluralRules).bind.apply(t, Z([void 0], r, !1)))();
4032
3997
  }, {
4033
- cache: De(e.pluralRules),
4034
- strategy: Ge.variadic
3998
+ cache: $e(e.pluralRules),
3999
+ strategy: Le.variadic
4035
4000
  })
4036
4001
  };
4037
4002
  }
4038
- var Ii = (
4003
+ var Ai = (
4039
4004
  /** @class */
4040
4005
  function() {
4041
4006
  function e(t, r, n, i) {
@@ -4049,8 +4014,8 @@ var Ii = (
4049
4014
  var u = o.formatToParts(l);
4050
4015
  if (u.length === 1)
4051
4016
  return u[0].value;
4052
- var h = u.reduce(function(c, f) {
4053
- return !c.length || f.type !== P.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
4017
+ var h = u.reduce(function(f, c) {
4018
+ return !f.length || c.type !== P.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
4054
4019
  }, []);
4055
4020
  return h.length <= 1 ? h[0] || "" : h;
4056
4021
  }, this.formatToParts = function(l) {
@@ -4067,13 +4032,13 @@ var Ii = (
4067
4032
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
4068
4033
  var a = i || {};
4069
4034
  a.formatters;
4070
- var s = Fn(a, ["formatters"]);
4071
- this.ast = e.__parse(t, L(L({}, s), { locale: this.resolvedLocale }));
4035
+ var s = sn(a, ["formatters"]);
4036
+ this.ast = e.__parse(t, v(v({}, s), { locale: this.resolvedLocale }));
4072
4037
  } else
4073
4038
  this.ast = t;
4074
4039
  if (!Array.isArray(this.ast))
4075
4040
  throw new TypeError("A message must be provided as a String or AST.");
4076
- this.formats = Pi(e.formats, n), this.formatters = i && i.formatters || Oi(this.formatterCache);
4041
+ this.formats = Hi(e.formats, n), this.formatters = i && i.formatters || Bi(this.formatterCache);
4077
4042
  }
4078
4043
  return Object.defineProperty(e, "defaultLocale", {
4079
4044
  get: function() {
@@ -4086,7 +4051,7 @@ var Ii = (
4086
4051
  var r = Intl.NumberFormat.supportedLocalesOf(t);
4087
4052
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
4088
4053
  }
4089
- }, e.__parse = wi, e.formats = {
4054
+ }, e.__parse = vi, e.formats = {
4090
4055
  number: {
4091
4056
  integer: {
4092
4057
  maximumFractionDigits: 0
@@ -4147,7 +4112,7 @@ var Ii = (
4147
4112
  }, e;
4148
4113
  }()
4149
4114
  );
4150
- function Mi(e, t) {
4115
+ function Ci(e, t) {
4151
4116
  if (t == null)
4152
4117
  return;
4153
4118
  if (t in e)
@@ -4168,92 +4133,92 @@ function Mi(e, t) {
4168
4133
  n = void 0;
4169
4134
  return n;
4170
4135
  }
4171
- const G = {}, Ni = (e, t, r) => r && (t in G || (G[t] = {}), e in G[t] || (G[t][e] = r), r), yr = (e, t) => {
4136
+ const G = {}, Pi = (e, t, r) => r && (t in G || (G[t] = {}), e in G[t] || (G[t][e] = r), r), mr = (e, t) => {
4172
4137
  if (t == null)
4173
4138
  return;
4174
4139
  if (t in G && e in G[t])
4175
4140
  return G[t][e];
4176
- const r = Oe(t);
4141
+ const r = Ce(t);
4177
4142
  for (let n = 0; n < r.length; n++) {
4178
- const i = r[n], o = $i(i, e);
4143
+ const i = r[n], o = Ii(i, e);
4179
4144
  if (o)
4180
- return Ni(e, t, o);
4145
+ return Pi(e, t, o);
4181
4146
  }
4182
4147
  };
4183
- let ut;
4184
- const he = Ae({});
4185
- function Li(e) {
4186
- return ut[e] || null;
4148
+ let it;
4149
+ const he = Be({});
4150
+ function Oi(e) {
4151
+ return it[e] || null;
4187
4152
  }
4188
- function vr(e) {
4189
- return e in ut;
4153
+ function pr(e) {
4154
+ return e in it;
4190
4155
  }
4191
- function $i(e, t) {
4192
- if (!vr(e))
4156
+ function Ii(e, t) {
4157
+ if (!pr(e))
4193
4158
  return null;
4194
- const r = Li(e);
4195
- return Mi(r, t);
4159
+ const r = Oi(e);
4160
+ return Ci(r, t);
4196
4161
  }
4197
- function Ri(e) {
4162
+ function Mi(e) {
4198
4163
  if (e == null)
4199
4164
  return;
4200
- const t = Oe(e);
4165
+ const t = Ce(e);
4201
4166
  for (let r = 0; r < t.length; r++) {
4202
4167
  const n = t[r];
4203
- if (vr(n))
4168
+ if (pr(n))
4204
4169
  return n;
4205
4170
  }
4206
4171
  }
4207
- function _r(e, ...t) {
4208
- delete G[e], he.update((r) => (r[e] = Dn.all([r[e] || {}, ...t]), r));
4172
+ function br(e, ...t) {
4173
+ delete G[e], he.update((r) => (r[e] = $n.all([r[e] || {}, ...t]), r));
4209
4174
  }
4210
- K(
4175
+ ee(
4211
4176
  [he],
4212
4177
  ([e]) => Object.keys(e)
4213
4178
  );
4214
- he.subscribe((e) => ut = e);
4179
+ he.subscribe((e) => it = e);
4215
4180
  const ye = {};
4216
- function Gi(e, t) {
4181
+ function Ni(e, t) {
4217
4182
  ye[e].delete(t), ye[e].size === 0 && delete ye[e];
4218
4183
  }
4219
- function xr(e) {
4184
+ function gr(e) {
4220
4185
  return ye[e];
4221
4186
  }
4222
- function Ui(e) {
4223
- return Oe(e).map((t) => {
4224
- const r = xr(t);
4187
+ function Li(e) {
4188
+ return Ce(e).map((t) => {
4189
+ const r = gr(t);
4225
4190
  return [t, r ? [...r] : []];
4226
4191
  }).filter(([, t]) => t.length > 0);
4227
4192
  }
4228
- function it(e) {
4229
- return e == null ? !1 : Oe(e).some(
4193
+ function Ke(e) {
4194
+ return e == null ? !1 : Ce(e).some(
4230
4195
  (t) => {
4231
4196
  var r;
4232
- return (r = xr(t)) == null ? void 0 : r.size;
4197
+ return (r = gr(t)) == null ? void 0 : r.size;
4233
4198
  }
4234
4199
  );
4235
4200
  }
4236
- function Di(e, t) {
4201
+ function Ri(e, t) {
4237
4202
  return Promise.all(
4238
- t.map((n) => (Gi(e, n), n().then((i) => i.default || i)))
4239
- ).then((n) => _r(e, ...n));
4240
- }
4241
- const ne = {};
4242
- function Er(e) {
4243
- if (!it(e))
4244
- return e in ne ? ne[e] : Promise.resolve();
4245
- const t = Ui(e);
4246
- return ne[e] = Promise.all(
4203
+ t.map((n) => (Ni(e, n), n().then((i) => i.default || i)))
4204
+ ).then((n) => br(e, ...n));
4205
+ }
4206
+ const ie = {};
4207
+ function yr(e) {
4208
+ if (!Ke(e))
4209
+ return e in ie ? ie[e] : Promise.resolve();
4210
+ const t = Li(e);
4211
+ return ie[e] = Promise.all(
4247
4212
  t.map(
4248
- ([r, n]) => Di(r, n)
4213
+ ([r, n]) => Ri(r, n)
4249
4214
  )
4250
4215
  ).then(() => {
4251
- if (it(e))
4252
- return Er(e);
4253
- delete ne[e];
4254
- }), ne[e];
4216
+ if (Ke(e))
4217
+ return yr(e);
4218
+ delete ie[e];
4219
+ }), ie[e];
4255
4220
  }
4256
- const Fi = {
4221
+ const $i = {
4257
4222
  number: {
4258
4223
  scientific: { notation: "scientific" },
4259
4224
  engineering: { notation: "engineering" },
@@ -4282,135 +4247,135 @@ const Fi = {
4282
4247
  timeZoneName: "short"
4283
4248
  }
4284
4249
  }
4285
- }, ji = {
4250
+ }, Gi = {
4286
4251
  fallbackLocale: null,
4287
4252
  loadingDelay: 200,
4288
- formats: Fi,
4253
+ formats: $i,
4289
4254
  warnOnMissingMessages: !0,
4290
4255
  handleMissingMessage: void 0,
4291
4256
  ignoreTag: !0
4292
- }, ki = ji;
4293
- function Y() {
4294
- return ki;
4295
- }
4296
- const Fe = Ae(!1);
4297
- var Vi = Object.defineProperty, Xi = Object.defineProperties, zi = Object.getOwnPropertyDescriptors, Ot = Object.getOwnPropertySymbols, Wi = Object.prototype.hasOwnProperty, Zi = Object.prototype.propertyIsEnumerable, It = (e, t, r) => t in e ? Vi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Qi = (e, t) => {
4298
- for (var r in t || (t = {}))
4299
- Wi.call(t, r) && It(e, r, t[r]);
4300
- if (Ot)
4301
- for (var r of Ot(t))
4302
- Zi.call(t, r) && It(e, r, t[r]);
4257
+ }, Ui = Gi;
4258
+ function K() {
4259
+ return Ui;
4260
+ }
4261
+ const Ge = Be(!1);
4262
+ var Di = Object.defineProperty, Fi = Object.defineProperties, ji = Object.getOwnPropertyDescriptors, Bt = Object.getOwnPropertySymbols, ki = Object.prototype.hasOwnProperty, Vi = Object.prototype.propertyIsEnumerable, At = (e, t, r) => t in e ? Di(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Xi = (e, t) => {
4263
+ for (var r in t)
4264
+ ki.call(t, r) && At(e, r, t[r]);
4265
+ if (Bt)
4266
+ for (var r of Bt(t))
4267
+ Vi.call(t, r) && At(e, r, t[r]);
4303
4268
  return e;
4304
- }, Ji = (e, t) => Xi(e, zi(t));
4305
- let ot;
4306
- const we = Ae(null);
4307
- function Mt(e) {
4269
+ }, zi = (e, t) => Fi(e, ji(t));
4270
+ let et;
4271
+ const Se = Be(null);
4272
+ function Ct(e) {
4308
4273
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4309
4274
  }
4310
- function Oe(e, t = Y().fallbackLocale) {
4311
- const r = Mt(e);
4312
- return t ? [.../* @__PURE__ */ new Set([...r, ...Mt(t)])] : r;
4275
+ function Ce(e, t = K().fallbackLocale) {
4276
+ const r = Ct(e);
4277
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Ct(t)])] : r;
4313
4278
  }
4314
4279
  function F() {
4315
- return ot ?? void 0;
4280
+ return et ?? void 0;
4316
4281
  }
4317
- we.subscribe((e) => {
4318
- ot = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4282
+ Se.subscribe((e) => {
4283
+ et = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4319
4284
  });
4320
- const qi = (e) => {
4321
- if (e && Ri(e) && it(e)) {
4322
- const { loadingDelay: t } = Y();
4285
+ const Wi = (e) => {
4286
+ if (e && Mi(e) && Ke(e)) {
4287
+ const { loadingDelay: t } = K();
4323
4288
  let r;
4324
4289
  return typeof window < "u" && F() != null && t ? r = window.setTimeout(
4325
- () => Fe.set(!0),
4290
+ () => Ge.set(!0),
4326
4291
  t
4327
- ) : Fe.set(!0), Er(e).then(() => {
4328
- we.set(e);
4292
+ ) : Ge.set(!0), yr(e).then(() => {
4293
+ Se.set(e);
4329
4294
  }).finally(() => {
4330
- clearTimeout(r), Fe.set(!1);
4295
+ clearTimeout(r), Ge.set(!1);
4331
4296
  });
4332
4297
  }
4333
- return we.set(e);
4334
- }, ee = Ji(Qi({}, we), {
4335
- set: qi
4336
- }), Ie = (e) => {
4298
+ return Se.set(e);
4299
+ }, te = zi(Xi({}, Se), {
4300
+ set: Wi
4301
+ }), Pe = (e) => {
4337
4302
  const t = /* @__PURE__ */ Object.create(null);
4338
4303
  return (n) => {
4339
4304
  const i = JSON.stringify(n);
4340
4305
  return i in t ? t[i] : t[i] = e(n);
4341
4306
  };
4342
4307
  };
4343
- var Yi = Object.defineProperty, Te = Object.getOwnPropertySymbols, Sr = Object.prototype.hasOwnProperty, wr = Object.prototype.propertyIsEnumerable, Nt = (e, t, r) => t in e ? Yi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, lt = (e, t) => {
4308
+ var Zi = Object.defineProperty, we = Object.getOwnPropertySymbols, _r = Object.prototype.hasOwnProperty, vr = Object.prototype.propertyIsEnumerable, Pt = (e, t, r) => t in e ? Zi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ot = (e, t) => {
4344
4309
  for (var r in t || (t = {}))
4345
- Sr.call(t, r) && Nt(e, r, t[r]);
4346
- if (Te)
4347
- for (var r of Te(t))
4348
- wr.call(t, r) && Nt(e, r, t[r]);
4310
+ _r.call(t, r) && Pt(e, r, t[r]);
4311
+ if (we)
4312
+ for (var r of we(t))
4313
+ vr.call(t, r) && Pt(e, r, t[r]);
4349
4314
  return e;
4350
- }, te = (e, t) => {
4315
+ }, re = (e, t) => {
4351
4316
  var r = {};
4352
4317
  for (var n in e)
4353
- Sr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4354
- if (e != null && Te)
4355
- for (var n of Te(e))
4356
- t.indexOf(n) < 0 && wr.call(e, n) && (r[n] = e[n]);
4318
+ _r.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4319
+ if (e != null && we)
4320
+ for (var n of we(e))
4321
+ t.indexOf(n) < 0 && vr.call(e, n) && (r[n] = e[n]);
4357
4322
  return r;
4358
4323
  };
4359
- const ae = (e, t) => {
4360
- const { formats: r } = Y();
4324
+ const ue = (e, t) => {
4325
+ const { formats: r } = K();
4361
4326
  if (e in r && t in r[e])
4362
4327
  return r[e][t];
4363
4328
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4364
- }, Ki = Ie(
4329
+ }, Qi = Pe(
4365
4330
  (e) => {
4366
- var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
4331
+ var t = e, { locale: r, format: n } = t, i = re(t, ["locale", "format"]);
4367
4332
  if (r == null)
4368
4333
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4369
- return n && (i = ae("number", n)), new Intl.NumberFormat(r, i);
4334
+ return n && (i = ue("number", n)), new Intl.NumberFormat(r, i);
4370
4335
  }
4371
- ), eo = Ie(
4336
+ ), Ji = Pe(
4372
4337
  (e) => {
4373
- var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
4338
+ var t = e, { locale: r, format: n } = t, i = re(t, ["locale", "format"]);
4374
4339
  if (r == null)
4375
4340
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4376
- return n ? i = ae("date", n) : Object.keys(i).length === 0 && (i = ae("date", "short")), new Intl.DateTimeFormat(r, i);
4341
+ return n ? i = ue("date", n) : Object.keys(i).length === 0 && (i = ue("date", "short")), new Intl.DateTimeFormat(r, i);
4377
4342
  }
4378
- ), to = Ie(
4343
+ ), qi = Pe(
4379
4344
  (e) => {
4380
- var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
4345
+ var t = e, { locale: r, format: n } = t, i = re(t, ["locale", "format"]);
4381
4346
  if (r == null)
4382
4347
  throw new Error(
4383
4348
  '[svelte-i18n] A "locale" must be set to format time values'
4384
4349
  );
4385
- return n ? i = ae("time", n) : Object.keys(i).length === 0 && (i = ae("time", "short")), new Intl.DateTimeFormat(r, i);
4350
+ return n ? i = ue("time", n) : Object.keys(i).length === 0 && (i = ue("time", "short")), new Intl.DateTimeFormat(r, i);
4386
4351
  }
4387
- ), ro = (e = {}) => {
4352
+ ), Yi = (e = {}) => {
4388
4353
  var t = e, {
4389
4354
  locale: r = F()
4390
- } = t, n = te(t, [
4355
+ } = t, n = re(t, [
4391
4356
  "locale"
4392
4357
  ]);
4393
- return Ki(lt({ locale: r }, n));
4394
- }, no = (e = {}) => {
4358
+ return Qi(ot({ locale: r }, n));
4359
+ }, Ki = (e = {}) => {
4395
4360
  var t = e, {
4396
4361
  locale: r = F()
4397
- } = t, n = te(t, [
4362
+ } = t, n = re(t, [
4398
4363
  "locale"
4399
4364
  ]);
4400
- return eo(lt({ locale: r }, n));
4401
- }, io = (e = {}) => {
4365
+ return Ji(ot({ locale: r }, n));
4366
+ }, eo = (e = {}) => {
4402
4367
  var t = e, {
4403
4368
  locale: r = F()
4404
- } = t, n = te(t, [
4369
+ } = t, n = re(t, [
4405
4370
  "locale"
4406
4371
  ]);
4407
- return to(lt({ locale: r }, n));
4408
- }, oo = Ie(
4372
+ return qi(ot({ locale: r }, n));
4373
+ }, to = Pe(
4409
4374
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4410
- (e, t = F()) => new Ii(e, t, Y().formats, {
4411
- ignoreTag: Y().ignoreTag
4375
+ (e, t = F()) => new Ai(e, t, K().formats, {
4376
+ ignoreTag: K().ignoreTag
4412
4377
  })
4413
- ), so = (e, t = {}) => {
4378
+ ), ro = (e, t = {}) => {
4414
4379
  var r, n, i, o;
4415
4380
  let a = t;
4416
4381
  typeof e == "object" && (a = e, e = a.id);
@@ -4423,39 +4388,39 @@ const ae = (e, t) => {
4423
4388
  throw new Error(
4424
4389
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4425
4390
  );
4426
- let h = yr(e, l);
4391
+ let h = mr(e, l);
4427
4392
  if (!h)
4428
- h = (o = (i = (n = (r = Y()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4393
+ h = (o = (i = (n = (r = K()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4429
4394
  else if (typeof h != "string")
4430
4395
  return console.warn(
4431
4396
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
4432
4397
  ), h;
4433
4398
  if (!s)
4434
4399
  return h;
4435
- let c = h;
4400
+ let f = h;
4436
4401
  try {
4437
- c = oo(h, l).format(s);
4438
- } catch (f) {
4439
- f instanceof Error && console.warn(
4402
+ f = to(h, l).format(s);
4403
+ } catch (c) {
4404
+ c instanceof Error && console.warn(
4440
4405
  `[svelte-i18n] Message "${e}" has syntax error:`,
4441
- f.message
4406
+ c.message
4442
4407
  );
4443
4408
  }
4444
- return c;
4445
- }, ao = (e, t) => io(t).format(e), uo = (e, t) => no(t).format(e), lo = (e, t) => ro(t).format(e), ho = (e, t = F()) => yr(e, t), co = K([ee, he], () => so);
4446
- K([ee], () => ao);
4447
- K([ee], () => uo);
4448
- K([ee], () => lo);
4449
- K([ee, he], () => ho);
4450
- window.emWidgets = { topic: Sn };
4451
- const fo = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4452
- function mo(e, t) {
4409
+ return f;
4410
+ }, no = (e, t) => eo(t).format(e), io = (e, t) => Ki(t).format(e), oo = (e, t) => Yi(t).format(e), so = (e, t = F()) => mr(e, t), ao = ee([te, he], () => ro);
4411
+ ee([te], () => no);
4412
+ ee([te], () => io);
4413
+ ee([te], () => oo);
4414
+ ee([te, he], () => so);
4415
+ window.emWidgets = { topic: vn };
4416
+ const uo = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4417
+ function lo(e, t) {
4453
4418
  if (e) {
4454
4419
  const r = document.createElement("style");
4455
4420
  r.innerHTML = t, e.appendChild(r);
4456
4421
  }
4457
4422
  }
4458
- function po(e, t) {
4423
+ function ho(e, t) {
4459
4424
  const r = new URL(t);
4460
4425
  fetch(r.href).then((n) => n.text()).then((n) => {
4461
4426
  const i = document.createElement("style");
@@ -4464,7 +4429,7 @@ function po(e, t) {
4464
4429
  console.error("There was an error while trying to load client styling from URL", n);
4465
4430
  });
4466
4431
  }
4467
- function bo(e, t, r) {
4432
+ function fo(e, t, r) {
4468
4433
  if (window.emMessageBus) {
4469
4434
  const n = document.createElement("style");
4470
4435
  window.emMessageBus.subscribe(t, (i) => {
@@ -4472,13 +4437,13 @@ function bo(e, t, r) {
4472
4437
  });
4473
4438
  }
4474
4439
  }
4475
- function Lt(e, t) {
4476
- _r(e, t);
4440
+ function Ot(e, t) {
4441
+ br(e, t);
4477
4442
  }
4478
- function go(e) {
4479
- ee.set(e);
4443
+ function co(e) {
4444
+ te.set(e);
4480
4445
  }
4481
- const $t = {
4446
+ const It = {
4482
4447
  en: {
4483
4448
  cancel: "Cancel",
4484
4449
  confirm: "Confirm"
@@ -4524,18 +4489,18 @@ const $t = {
4524
4489
  confirm: "Confirm"
4525
4490
  }
4526
4491
  };
4527
- function yo(e) {
4528
- Gr(e, "svelte-s0xip8", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GeneralConfirmationWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:var(--emw--color-background, rgba(0, 0, 0, 0.7));display:flex;justify-content:center;align-items:center;z-index:300;color:var(--emw--color-typography, #FFFFFF)}.GeneralConfirmationTitle{margin-bottom:20px}.GeneralConfirmationContainer{position:relative;background:linear-gradient(to right, var(--emw--color-primary-variant, #184026), var(--emw--color-secondary-variant, #013E5C));border:5px solid transparent;padding:60px 30px 30px;background-clip:padding-box;border-radius:var(--emw--border-radius-medium, 10px);text-align:center}.GeneralConfirmationContainer::before{content:"";position:absolute;top:-4px;left:-8px;width:103%;height:105%;z-index:-1;background:linear-gradient(to right, var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-secondary, #E98B0F) 80%, black 20%), #22B04E);opacity:0.5;border-radius:inherit;filter:blur(6px)}.GeneralConfirmationContainer::after{position:absolute;top:-4px;bottom:-4px;left:-4px;right:-4px;background:linear-gradient(to right, color-mix(in srgb, var(--emw--color-primary-variant, #184026) 80%, white 10%), color-mix(in srgb, var(--emw--color-secondary-variant, #013E5C) 80%, white 10%));content:"";z-index:-1;border-radius:var(--emw--border-radius-medium, 10px)}.GeneralConfirmationContainerMobile{padding:40px;max-width:330px}.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralCancelButton,.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralConfirmButton{width:120px;height:auto;font-size:var(--emw--font-size-x-small, 12px)}.GeneralConfirmationContent{font-size:var(--emw--font-size-medium, 18px);font-weight:300}.GeneralConfirmationControlArea{display:flex;gap:10px;direction:ltr;margin-top:30px}.GeneralConfirmationControlArea .GeneralCancelButton,.GeneralConfirmationControlArea .GeneralConfirmButton{flex:1;background:transparent;border:1px solid var(--emw--color-gray-100, #BFCBC3);color:var(--emw--color-gray-100, #BFCBC3);cursor:pointer;border-radius:var(--emw--button-border-radius, 50px);width:200px;height:50px;font-size:var(--emw--font-size-small, 16px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.GeneralConfirmationControlArea .GeneralConfirmButton{background-color:var(--emw--color-primary, #22B04E);border:2px solid var(--emw--button-border-color, #063B17);border-radius:var(--emw--button-border-radius, 50px);color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF))}.ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:5px;right:5px;padding:8px;border-radius:50%;cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:35px;height:40px}.ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.GeneralConfirmationMobileWrapper{border:none;padding:0}');
4492
+ function mo(e) {
4493
+ Nr(e, "svelte-s0xip8", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GeneralConfirmationWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:var(--emw--color-background, rgba(0, 0, 0, 0.7));display:flex;justify-content:center;align-items:center;z-index:300;color:var(--emw--color-typography, #FFFFFF)}.GeneralConfirmationTitle{margin-bottom:20px}.GeneralConfirmationContainer{position:relative;background:linear-gradient(to right, var(--emw--color-primary-variant, #184026), var(--emw--color-secondary-variant, #013E5C));border:5px solid transparent;padding:60px 30px 30px;background-clip:padding-box;border-radius:var(--emw--border-radius-medium, 10px);text-align:center}.GeneralConfirmationContainer::before{content:"";position:absolute;top:-4px;left:-8px;width:103%;height:105%;z-index:-1;background:linear-gradient(to right, var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-secondary, #E98B0F) 80%, black 20%), #22B04E);opacity:0.5;border-radius:inherit;filter:blur(6px)}.GeneralConfirmationContainer::after{position:absolute;top:-4px;bottom:-4px;left:-4px;right:-4px;background:linear-gradient(to right, color-mix(in srgb, var(--emw--color-primary-variant, #184026) 80%, white 10%), color-mix(in srgb, var(--emw--color-secondary-variant, #013E5C) 80%, white 10%));content:"";z-index:-1;border-radius:var(--emw--border-radius-medium, 10px)}.GeneralConfirmationContainerMobile{padding:40px;max-width:330px}.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralCancelButton,.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralConfirmButton{width:120px;height:auto;font-size:var(--emw--font-size-x-small, 12px)}.GeneralConfirmationContent{font-size:var(--emw--font-size-medium, 18px);font-weight:300}.GeneralConfirmationControlArea{display:flex;gap:10px;direction:ltr;margin-top:30px}.GeneralConfirmationControlArea .GeneralCancelButton,.GeneralConfirmationControlArea .GeneralConfirmButton{flex:1;background:transparent;border:1px solid var(--emw--color-gray-100, #BFCBC3);color:var(--emw--color-gray-100, #BFCBC3);cursor:pointer;border-radius:var(--emw--button-border-radius, 50px);width:200px;height:50px;font-size:var(--emw--font-size-small, 16px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.GeneralConfirmationControlArea .GeneralConfirmButton{background-color:var(--emw--color-primary, #22B04E);border:2px solid var(--emw--button-border-color, #063B17);border-radius:var(--emw--button-border-radius, 50px);color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF))}.ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:5px;right:5px;padding:8px;border-radius:50%;cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:35px;height:40px}.ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.GeneralConfirmationMobileWrapper{border:none;padding:0}');
4529
4494
  }
4530
- const vo = (e) => ({}), Rt = (e) => ({});
4531
- function _o(e) {
4495
+ const po = (e) => ({}), Mt = (e) => ({});
4496
+ function bo(e) {
4532
4497
  let t, r;
4533
4498
  return {
4534
4499
  c() {
4535
- t = ft("svg"), r = ft("path"), H(r, "stroke-linecap", "round"), H(r, "stroke-linejoin", "round"), H(r, "stroke-width", "2"), H(r, "d", "M6 18L18 6M6 6l12 12"), H(t, "class", "w-6 h-6"), H(t, "fill", "none"), H(t, "stroke", "currentColor"), H(t, "viewBox", "0 0 24 24"), H(t, "xmlns", "http://www.w3.org/2000/svg");
4500
+ t = ut("svg"), r = ut("path"), H(r, "stroke-linecap", "round"), H(r, "stroke-linejoin", "round"), H(r, "stroke-width", "2"), H(r, "d", "M6 18L18 6M6 6l12 12"), H(t, "class", "w-6 h-6"), H(t, "fill", "none"), H(t, "stroke", "currentColor"), H(t, "viewBox", "0 0 24 24"), H(t, "xmlns", "http://www.w3.org/2000/svg");
4536
4501
  },
4537
4502
  m(n, i) {
4538
- ue(n, t, i), C(t, r);
4503
+ le(n, t, i), C(t, r);
4539
4504
  },
4540
4505
  p: N,
4541
4506
  d(n) {
@@ -4543,21 +4508,21 @@ function _o(e) {
4543
4508
  }
4544
4509
  };
4545
4510
  }
4546
- function Gt(e) {
4511
+ function Nt(e) {
4547
4512
  let t, r, n;
4548
4513
  return {
4549
4514
  c() {
4550
- t = M("div"), r = M("h2"), n = Z(
4515
+ t = M("div"), r = M("h2"), n = Q(
4551
4516
  /*modaltitle*/
4552
4517
  e[1]
4553
4518
  ), H(t, "class", "GeneralConfirmationTitle");
4554
4519
  },
4555
4520
  m(i, o) {
4556
- ue(i, t, o), C(t, r), C(r, n);
4521
+ le(i, t, o), C(t, r), C(r, n);
4557
4522
  },
4558
4523
  p(i, o) {
4559
4524
  o & /*modaltitle*/
4560
- 2 && ve(
4525
+ 2 && _e(
4561
4526
  n,
4562
4527
  /*modaltitle*/
4563
4528
  i[1]
@@ -4568,17 +4533,17 @@ function Gt(e) {
4568
4533
  }
4569
4534
  };
4570
4535
  }
4571
- function Ut(e) {
4536
+ function Lt(e) {
4572
4537
  let t, r = (
4573
4538
  /*$_*/
4574
4539
  e[4]("cancel") + ""
4575
4540
  ), n, i, o;
4576
4541
  return {
4577
4542
  c() {
4578
- t = M("button"), n = Z(r), H(t, "class", "GeneralCancelButton");
4543
+ t = M("button"), n = Q(r), H(t, "class", "GeneralCancelButton");
4579
4544
  },
4580
4545
  m(a, s) {
4581
- ue(a, t, s), C(t, n), i || (o = je(
4546
+ le(a, t, s), C(t, n), i || (o = Ue(
4582
4547
  t,
4583
4548
  "click",
4584
4549
  /*click_handler*/
@@ -4588,142 +4553,142 @@ function Ut(e) {
4588
4553
  p(a, s) {
4589
4554
  s & /*$_*/
4590
4555
  16 && r !== (r = /*$_*/
4591
- a[4]("cancel") + "") && ve(n, r);
4556
+ a[4]("cancel") + "") && _e(n, r);
4592
4557
  },
4593
4558
  d(a) {
4594
4559
  a && D(t), i = !1, o();
4595
4560
  }
4596
4561
  };
4597
4562
  }
4598
- function xo(e) {
4599
- let t, r, n, i, o, a, s, l, u, h, c, f = (
4563
+ function go(e) {
4564
+ let t, r, n, i, o, a, s, l, u, h, f, c = (
4600
4565
  /*$_*/
4601
4566
  e[4]("confirm") + ""
4602
- ), d, m, p, g;
4567
+ ), p, d, m, g;
4603
4568
  const B = (
4604
4569
  /*#slots*/
4605
4570
  e[16].close
4606
- ), A = Ir(
4571
+ ), A = Ar(
4607
4572
  B,
4608
4573
  e,
4609
4574
  /*$$scope*/
4610
4575
  e[15],
4611
- Rt
4612
- ), S = A || _o();
4613
- let E = (
4576
+ Mt
4577
+ ), T = A || bo();
4578
+ let S = (
4614
4579
  /*modaltitle*/
4615
- e[1] && Gt(e)
4616
- ), x = (
4580
+ e[1] && Nt(e)
4581
+ ), E = (
4617
4582
  /*hascancelbutton*/
4618
- e[2] && Ut(e)
4583
+ e[2] && Lt(e)
4619
4584
  );
4620
4585
  return {
4621
4586
  c() {
4622
- t = M("div"), r = M("div"), n = M("span"), S && S.c(), i = ce(), E && E.c(), o = ce(), a = M("div"), s = Z(
4587
+ t = M("div"), r = M("div"), n = M("span"), T.c(), i = fe(), S && S.c(), o = fe(), a = M("div"), s = Q(
4623
4588
  /*modaltext*/
4624
4589
  e[0]
4625
- ), l = ce(), u = M("div"), x && x.c(), h = ce(), c = M("button"), d = Z(f), H(n, "class", "ModalCloseBtn"), H(n, "role", "button"), H(a, "class", "GeneralConfirmationContent"), H(c, "class", "GeneralConfirmButton"), H(u, "class", "GeneralConfirmationControlArea " + /*isMobile*/
4590
+ ), l = fe(), u = M("div"), E && E.c(), h = fe(), f = M("button"), p = Q(c), H(n, "class", "ModalCloseBtn"), H(n, "role", "button"), H(a, "class", "GeneralConfirmationContent"), H(f, "class", "GeneralConfirmButton"), H(u, "class", "GeneralConfirmationControlArea " + /*isMobile*/
4626
4591
  (e[5] ? "GeneralConfirmationControlAreaMobile" : "")), H(r, "class", "GeneralConfirmationContainer " + /*isMobile*/
4627
4592
  (e[5] ? "GeneralConfirmationContainerMobile" : "")), H(t, "class", "GeneralConfirmationWrapper " + /*isMobile*/
4628
4593
  (e[5] ? "GeneralConfirmationMobileWrapper" : ""));
4629
4594
  },
4630
- m(_, O) {
4631
- ue(_, t, O), C(t, r), C(r, n), S && S.m(n, null), C(r, i), E && E.m(r, null), C(r, o), C(r, a), C(a, s), C(r, l), C(r, u), x && x.m(u, null), C(u, h), C(u, c), C(c, d), e[19](t), m = !0, p || (g = [
4632
- je(
4595
+ m(x, O) {
4596
+ le(x, t, O), C(t, r), C(r, n), T.m(n, null), C(r, i), S && S.m(r, null), C(r, o), C(r, a), C(a, s), C(r, l), C(r, u), E && E.m(u, null), C(u, h), C(u, f), C(f, p), e[19](t), d = !0, m || (g = [
4597
+ Ue(
4633
4598
  n,
4634
4599
  "click",
4635
4600
  /*close*/
4636
4601
  e[6]
4637
4602
  ),
4638
- je(
4639
- c,
4603
+ Ue(
4604
+ f,
4640
4605
  "click",
4641
4606
  /*click_handler_1*/
4642
4607
  e[18]
4643
4608
  )
4644
- ], p = !0);
4609
+ ], m = !0);
4645
4610
  },
4646
- p(_, [O]) {
4647
- A && A.p && (!m || O & /*$$scope*/
4648
- 32768) && Nr(
4611
+ p(x, [O]) {
4612
+ A && A.p && (!d || O & /*$$scope*/
4613
+ 32768) && Pr(
4649
4614
  A,
4650
4615
  B,
4651
- _,
4616
+ x,
4652
4617
  /*$$scope*/
4653
- _[15],
4654
- m ? Mr(
4618
+ x[15],
4619
+ d ? Cr(
4655
4620
  B,
4656
4621
  /*$$scope*/
4657
- _[15],
4622
+ x[15],
4658
4623
  O,
4659
- vo
4660
- ) : Lr(
4624
+ po
4625
+ ) : Or(
4661
4626
  /*$$scope*/
4662
- _[15]
4627
+ x[15]
4663
4628
  ),
4664
- Rt
4629
+ Mt
4665
4630
  ), /*modaltitle*/
4666
- _[1] ? E ? E.p(_, O) : (E = Gt(_), E.c(), E.m(r, o)) : E && (E.d(1), E = null), (!m || O & /*modaltext*/
4667
- 1) && ve(
4631
+ x[1] ? S ? S.p(x, O) : (S = Nt(x), S.c(), S.m(r, o)) : S && (S.d(1), S = null), (!d || O & /*modaltext*/
4632
+ 1) && _e(
4668
4633
  s,
4669
4634
  /*modaltext*/
4670
- _[0]
4635
+ x[0]
4671
4636
  ), /*hascancelbutton*/
4672
- _[2] ? x ? x.p(_, O) : (x = Ut(_), x.c(), x.m(u, h)) : x && (x.d(1), x = null), (!m || O & /*$_*/
4673
- 16) && f !== (f = /*$_*/
4674
- _[4]("confirm") + "") && ve(d, f);
4637
+ x[2] ? E ? E.p(x, O) : (E = Lt(x), E.c(), E.m(u, h)) : E && (E.d(1), E = null), (!d || O & /*$_*/
4638
+ 16) && c !== (c = /*$_*/
4639
+ x[4]("confirm") + "") && _e(p, c);
4675
4640
  },
4676
- i(_) {
4677
- m || (Wt(S, _), m = !0);
4641
+ i(x) {
4642
+ d || (kt(T, x), d = !0);
4678
4643
  },
4679
- o(_) {
4680
- en(S, _), m = !1;
4644
+ o(x) {
4645
+ Jr(T, x), d = !1;
4681
4646
  },
4682
- d(_) {
4683
- _ && D(t), S && S.d(_), E && E.d(), x && x.d(), e[19](null), p = !1, U(g);
4647
+ d(x) {
4648
+ x && D(t), T.d(x), S && S.d(), E && E.d(), e[19](null), m = !1, U(g);
4684
4649
  }
4685
4650
  };
4686
4651
  }
4687
- function Eo(e, t, r) {
4652
+ function yo(e, t, r) {
4688
4653
  let n;
4689
- Or(e, co, (y) => r(4, n = y));
4690
- let { $$slots: i = {}, $$scope: o } = t, { modaltext: a = "Are you sure that you want to perform this action?" } = t, { modaltitle: s = "" } = t, { hascancelbutton: l = !1 } = t, { modalconfirmevent: u = {} } = t, { modalcancelevent: h = {} } = t, { lang: c = "en" } = t, { clientstyling: f = "" } = t, { clientstylingurl: d = "" } = t, { translationurl: m = "" } = t, { mbsource: p } = t, g, B = window.navigator.userAgent, A = fo(B) !== "PC";
4691
- const S = () => {
4654
+ Br(e, ao, (y) => r(4, n = y));
4655
+ let { $$slots: i = {}, $$scope: o } = t, { modaltext: a = "Are you sure that you want to perform this action?" } = t, { modaltitle: s = "" } = t, { hascancelbutton: l = !1 } = t, { modalconfirmevent: u = {} } = t, { modalcancelevent: h = {} } = t, { lang: f = "en" } = t, { clientstyling: c = "" } = t, { clientstylingurl: p = "" } = t, { translationurl: d = "" } = t, { mbsource: m } = t, g, B = window.navigator.userAgent, A = uo(B) !== "PC";
4656
+ const T = () => {
4692
4657
  window.postMessage({ type: "ModalClosed" }, window.location.href);
4693
- }, E = (y) => {
4694
- y === "confirm" && u && window.postMessage(u, window.location.href), y === "cancel" && h && window.postMessage(h, window.location.href), S();
4695
- }, x = () => {
4696
- fetch(m).then((j) => j.json()).then((j) => {
4697
- Object.keys(j).forEach((ht) => {
4698
- Lt(ht, j[ht]);
4658
+ }, S = (y) => {
4659
+ y === "confirm" && u && window.postMessage(u, window.location.href), y === "cancel" && h && window.postMessage(h, window.location.href), T();
4660
+ }, E = () => {
4661
+ fetch(d).then((j) => j.json()).then((j) => {
4662
+ Object.keys(j).forEach((st) => {
4663
+ Ot(st, j[st]);
4699
4664
  });
4700
4665
  }).catch((j) => {
4701
4666
  console.log(j);
4702
4667
  });
4703
4668
  };
4704
- Object.keys($t).forEach((y) => {
4705
- Lt(y, $t[y]);
4669
+ Object.keys(It).forEach((y) => {
4670
+ Ot(y, It[y]);
4706
4671
  });
4707
- const _ = () => {
4708
- go(c);
4672
+ const x = () => {
4673
+ co(f);
4709
4674
  };
4710
- Zr(() => () => {
4675
+ Vr(() => () => {
4711
4676
  });
4712
- const O = () => E("cancel"), Hr = () => E("confirm");
4713
- function Br(y) {
4714
- ke[y ? "unshift" : "push"](() => {
4677
+ const O = () => S("cancel"), Er = () => S("confirm");
4678
+ function Sr(y) {
4679
+ De[y ? "unshift" : "push"](() => {
4715
4680
  g = y, r(3, g);
4716
4681
  });
4717
4682
  }
4718
4683
  return e.$$set = (y) => {
4719
- "modaltext" in y && r(0, a = y.modaltext), "modaltitle" in y && r(1, s = y.modaltitle), "hascancelbutton" in y && r(2, l = y.hascancelbutton), "modalconfirmevent" in y && r(8, u = y.modalconfirmevent), "modalcancelevent" in y && r(9, h = y.modalcancelevent), "lang" in y && r(10, c = y.lang), "clientstyling" in y && r(11, f = y.clientstyling), "clientstylingurl" in y && r(12, d = y.clientstylingurl), "translationurl" in y && r(13, m = y.translationurl), "mbsource" in y && r(14, p = y.mbsource), "$$scope" in y && r(15, o = y.$$scope);
4684
+ "modaltext" in y && r(0, a = y.modaltext), "modaltitle" in y && r(1, s = y.modaltitle), "hascancelbutton" in y && r(2, l = y.hascancelbutton), "modalconfirmevent" in y && r(8, u = y.modalconfirmevent), "modalcancelevent" in y && r(9, h = y.modalcancelevent), "lang" in y && r(10, f = y.lang), "clientstyling" in y && r(11, c = y.clientstyling), "clientstylingurl" in y && r(12, p = y.clientstylingurl), "translationurl" in y && r(13, d = y.translationurl), "mbsource" in y && r(14, m = y.mbsource), "$$scope" in y && r(15, o = y.$$scope);
4720
4685
  }, e.$$.update = () => {
4721
4686
  e.$$.dirty & /*modaltext, lang*/
4722
- 1025 && a && c && _(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4723
- 2056 && f && g && mo(g, f), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4724
- 4104 && d && g && po(g, d), e.$$.dirty & /*mbsource, customStylingContainer*/
4725
- 16392 && p && g && bo(g, `${p}.Style`), e.$$.dirty & /*translationurl*/
4726
- 8192 && m && x();
4687
+ 1025 && a && f && x(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4688
+ 2056 && c && g && lo(g, c), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4689
+ 4104 && p && g && ho(g, p), e.$$.dirty & /*mbsource, customStylingContainer*/
4690
+ 16392 && m && g && fo(g, `${m}.Style`), e.$$.dirty & /*translationurl*/
4691
+ 8192 && d && E();
4727
4692
  }, [
4728
4693
  a,
4729
4694
  s,
@@ -4731,30 +4696,30 @@ function Eo(e, t, r) {
4731
4696
  g,
4732
4697
  n,
4733
4698
  A,
4699
+ T,
4734
4700
  S,
4735
- E,
4736
4701
  u,
4737
4702
  h,
4738
- c,
4739
4703
  f,
4704
+ c,
4705
+ p,
4740
4706
  d,
4741
4707
  m,
4742
- p,
4743
4708
  o,
4744
4709
  i,
4745
4710
  O,
4746
- Hr,
4747
- Br
4711
+ Er,
4712
+ Sr
4748
4713
  ];
4749
4714
  }
4750
- class Tr extends un {
4715
+ class xr extends nn {
4751
4716
  constructor(t) {
4752
- super(), sn(
4717
+ super(), tn(
4753
4718
  this,
4754
4719
  t,
4755
- Eo,
4756
- xo,
4757
- Ft,
4720
+ yo,
4721
+ go,
4722
+ $t,
4758
4723
  {
4759
4724
  modaltext: 0,
4760
4725
  modaltitle: 1,
@@ -4767,7 +4732,7 @@ class Tr extends un {
4767
4732
  translationurl: 13,
4768
4733
  mbsource: 14
4769
4734
  },
4770
- yo
4735
+ mo
4771
4736
  );
4772
4737
  }
4773
4738
  get modaltext() {
@@ -4831,58 +4796,58 @@ class Tr extends un {
4831
4796
  this.$$set({ mbsource: t }), I();
4832
4797
  }
4833
4798
  }
4834
- an(Tr, { modaltext: {}, modaltitle: {}, hascancelbutton: { type: "Boolean" }, modalconfirmevent: {}, modalcancelevent: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["close"], [], !0);
4835
- const Mo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4799
+ rn(xr, { modaltext: {}, modaltitle: {}, hascancelbutton: { type: "Boolean" }, modalconfirmevent: {}, modalcancelevent: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["close"], [], !0);
4800
+ const Co = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4836
4801
  __proto__: null,
4837
- default: Tr
4802
+ default: xr
4838
4803
  }, Symbol.toStringTag, { value: "Module" }));
4839
4804
  export {
4840
- ee as $,
4841
- bo as A,
4842
- Io as B,
4843
- Tn as C,
4844
- _r as D,
4805
+ te as $,
4806
+ fo as A,
4807
+ Ao as B,
4808
+ En as C,
4809
+ br as D,
4845
4810
  N as E,
4846
- Or as F,
4847
- fo as G,
4848
- ce as H,
4849
- To as I,
4850
- Ho as J,
4851
- Oo as K,
4811
+ Br as F,
4812
+ uo as G,
4813
+ Bo as H,
4814
+ fe as I,
4815
+ Q as J,
4816
+ ut as K,
4852
4817
  So as L,
4853
- U as M,
4854
- ve as N,
4855
- Bo as O,
4856
- je as P,
4857
- Z as Q,
4858
- ft as R,
4859
- un as S,
4860
- co as T,
4861
- Mo as U,
4862
- sn as a,
4863
- Gr as b,
4864
- an as c,
4865
- D as d,
4866
- Wt as e,
4818
+ Ue as M,
4819
+ _e as N,
4820
+ _o as O,
4821
+ U as P,
4822
+ xo as Q,
4823
+ Eo as R,
4824
+ nn as S,
4825
+ ao as T,
4826
+ Co as U,
4827
+ tn as a,
4828
+ Nr as b,
4829
+ rn as c,
4830
+ le as d,
4831
+ vo as e,
4867
4832
  I as f,
4868
- Ao as g,
4869
- Co as h,
4870
- Ar as i,
4871
- ue as j,
4872
- wo as k,
4873
- Ir as l,
4874
- Po as m,
4875
- Ee as n,
4876
- Zr as o,
4877
- Lr as p,
4878
- Mr as q,
4879
- C as r,
4880
- Ft as s,
4881
- en as t,
4882
- Nr as u,
4883
- M as v,
4884
- H as w,
4885
- ke as x,
4886
- mo as y,
4887
- po as z
4833
+ Jr as g,
4834
+ To as h,
4835
+ wr as i,
4836
+ D as j,
4837
+ Ar as k,
4838
+ M as l,
4839
+ H as m,
4840
+ C as n,
4841
+ Vr as o,
4842
+ Or as p,
4843
+ Cr as q,
4844
+ Ee as r,
4845
+ $t as s,
4846
+ kt as t,
4847
+ Pr as u,
4848
+ Ho as v,
4849
+ wo as w,
4850
+ De as x,
4851
+ lo as y,
4852
+ ho as z
4888
4853
  };