@everymatrix/player-account-product-restriction 1.74.3 → 1.74.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (24) hide show
  1. package/components/{PlayerAccountGeneralConfirmationModal-DHhULFrg.js → PlayerAccountGeneralConfirmationModal-Dch5EDSU.js} +734 -720
  2. package/components/PlayerAccountGeneralConfirmationModal-Djrizs-P.cjs +21 -0
  3. package/components/{PlayerAccountGeneralConfirmationModal-CdayZyQN.js → PlayerAccountGeneralConfirmationModal-DnoeUTWG.js} +1256 -1242
  4. package/components/{PlayerAccountModal-K8N-hYP_.js → PlayerAccountModal--i7vegAu.js} +10 -10
  5. package/components/{PlayerAccountModal-CawVD9Xq.cjs → PlayerAccountModal-BAdv2e_o.cjs} +1 -1
  6. package/components/{PlayerAccountModal-606jJf8b.js → PlayerAccountModal-BVhAnI2b.js} +10 -10
  7. package/components/{PlayerAccountProductRestriction-DtXFvgmj.js → PlayerAccountProductRestriction-Y8ak-JUk.js} +2547 -2543
  8. package/components/{PlayerAccountProductRestriction-Dwdi_cd7.cjs → PlayerAccountProductRestriction-mFnni-BS.cjs} +255 -255
  9. package/components/{PlayerAccountProductRestriction-CE2b8uzo.js → PlayerAccountProductRestriction-q5wM-VUY.js} +2526 -2522
  10. package/es2015/player-account-product-restriction.cjs +1 -1
  11. package/es2015/player-account-product-restriction.js +1 -1
  12. package/esnext/player-account-product-restriction.js +1 -1
  13. package/package.json +1 -1
  14. package/stencil/{index-b2193545-BbCeNxUG.js → index-b2193545-BtPvM93e.js} +176 -176
  15. package/stencil/index-b2193545-CgelUAhE.cjs +1 -0
  16. package/stencil/{index-b2193545-C9PH-6qK.js → index-b2193545-D_KBbaD-.js} +169 -169
  17. package/stencil/{ui-skeleton-bhljBTS7.cjs → ui-skeleton-BPqjm-YB.cjs} +1 -1
  18. package/stencil/{ui-skeleton-CJbkvgG7.js → ui-skeleton-CWuMYFGQ.js} +2 -2
  19. package/stencil/{ui-skeleton-BKDs0-7H.js → ui-skeleton-NZtdK490.js} +2 -2
  20. package/stencil/{ui-skeleton-ae35c6f2-CXlvqczG.cjs → ui-skeleton-ae35c6f2-CKJgMm_5.cjs} +1 -1
  21. package/stencil/{ui-skeleton-ae35c6f2-gun6WX2F.js → ui-skeleton-ae35c6f2-CW3z59Qf.js} +1 -1
  22. package/stencil/{ui-skeleton-ae35c6f2-ZB0isFAq.js → ui-skeleton-ae35c6f2-DlexSQlT.js} +1 -1
  23. package/components/PlayerAccountGeneralConfirmationModal-CxQoiMM0.cjs +0 -21
  24. package/stencil/index-b2193545-D-u-gzj3.cjs +0 -1
@@ -1,7 +1,7 @@
1
1
  function M() {
2
2
  }
3
- const Sr = (e) => e;
4
- function Tr(e, t) {
3
+ const Ar = (e) => e;
4
+ function Br(e, t) {
5
5
  for (const r in t)
6
6
  e[r] = t[r];
7
7
  return (
@@ -9,25 +9,25 @@ function Tr(e, t) {
9
9
  e
10
10
  );
11
11
  }
12
- function Rt(e) {
12
+ function Gt(e) {
13
13
  return e();
14
14
  }
15
- function at() {
15
+ function lt() {
16
16
  return /* @__PURE__ */ Object.create(null);
17
17
  }
18
18
  function G(e) {
19
- e.forEach(Rt);
19
+ e.forEach(Gt);
20
20
  }
21
21
  function Se(e) {
22
22
  return typeof e == "function";
23
23
  }
24
- function $t(e, t) {
24
+ function Ut(e, t) {
25
25
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
26
26
  }
27
- function Hr(e) {
27
+ function Cr(e) {
28
28
  return Object.keys(e).length === 0;
29
29
  }
30
- function Gt(e, ...t) {
30
+ function Dt(e, ...t) {
31
31
  if (e == null) {
32
32
  for (const n of t)
33
33
  n(void 0);
@@ -36,19 +36,19 @@ function Gt(e, ...t) {
36
36
  const r = e.subscribe(...t);
37
37
  return r.unsubscribe ? () => r.unsubscribe() : r;
38
38
  }
39
- function Ar(e, t, r) {
40
- e.$$.on_destroy.push(Gt(t, r));
39
+ function Pr(e, t, r) {
40
+ e.$$.on_destroy.push(Dt(t, r));
41
41
  }
42
- function Br(e, t, r, n) {
42
+ function Or(e, t, r, n) {
43
43
  if (e) {
44
- const i = Ut(e, t, r, n);
44
+ const i = Ft(e, t, r, n);
45
45
  return e[0](i);
46
46
  }
47
47
  }
48
- function Ut(e, t, r, n) {
49
- return e[1] && n ? Tr(r.ctx.slice(), e[1](n(t))) : r.ctx;
48
+ function Ft(e, t, r, n) {
49
+ return e[1] && n ? Br(r.ctx.slice(), e[1](n(t))) : r.ctx;
50
50
  }
51
- function Cr(e, t, r, n) {
51
+ function Ir(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 Cr(e, t, r, n) {
63
63
  }
64
64
  return t.dirty;
65
65
  }
66
- function Pr(e, t, r, n, i, o) {
66
+ function Mr(e, t, r, n, i, o) {
67
67
  if (i) {
68
- const a = Ut(t, r, n, o);
68
+ const a = Ft(t, r, n, o);
69
69
  e.p(a, i);
70
70
  }
71
71
  }
72
- function Or(e) {
72
+ function Nr(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 Or(e) {
78
78
  }
79
79
  return -1;
80
80
  }
81
- const Dt = typeof window < "u";
82
- let Ir = Dt ? () => window.performance.now() : () => Date.now(), et = Dt ? (e) => requestAnimationFrame(e) : M;
81
+ const jt = typeof window < "u";
82
+ let Lr = jt ? () => window.performance.now() : () => Date.now(), tt = jt ? (e) => requestAnimationFrame(e) : M;
83
83
  const X = /* @__PURE__ */ new Set();
84
- function Ft(e) {
84
+ function kt(e) {
85
85
  X.forEach((t) => {
86
86
  t.c(e) || (X.delete(t), t.f());
87
- }), X.size !== 0 && et(Ft);
87
+ }), X.size !== 0 && tt(kt);
88
88
  }
89
- function Mr(e) {
89
+ function Rr(e) {
90
90
  let t;
91
- return X.size === 0 && et(Ft), {
91
+ return X.size === 0 && tt(kt), {
92
92
  promise: new Promise((r) => {
93
93
  X.add(t = { c: e, f: r });
94
94
  }),
@@ -100,14 +100,14 @@ function Mr(e) {
100
100
  function C(e, t) {
101
101
  e.appendChild(t);
102
102
  }
103
- function Nr(e, t, r) {
104
- const n = tt(e);
103
+ function $r(e, t, r) {
104
+ const n = rt(e);
105
105
  if (!n.getElementById(t)) {
106
106
  const i = I("style");
107
- i.id = t, i.textContent = r, jt(n, i);
107
+ i.id = t, i.textContent = r, Vt(n, i);
108
108
  }
109
109
  }
110
- function tt(e) {
110
+ function rt(e) {
111
111
  if (!e)
112
112
  return document;
113
113
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -117,11 +117,11 @@ function tt(e) {
117
117
  t
118
118
  ) : e.ownerDocument;
119
119
  }
120
- function Lr(e) {
120
+ function Gr(e) {
121
121
  const t = I("style");
122
- return t.textContent = "/* empty */", jt(tt(e), t), t.sheet;
122
+ return t.textContent = "/* empty */", Vt(rt(e), t), t.sheet;
123
123
  }
124
- function jt(e, t) {
124
+ function Vt(e, t) {
125
125
  return C(
126
126
  /** @type {Document} */
127
127
  e.head || e,
@@ -134,49 +134,49 @@ function ae(e, t, r) {
134
134
  function U(e) {
135
135
  e.parentNode && e.parentNode.removeChild(e);
136
136
  }
137
- function vo(e, t) {
137
+ function xo(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 I(e) {
142
142
  return document.createElement(e);
143
143
  }
144
- function ut(e) {
144
+ function ht(e) {
145
145
  return document.createElementNS("http://www.w3.org/2000/svg", e);
146
146
  }
147
147
  function ue(e) {
148
148
  return document.createTextNode(e);
149
149
  }
150
- function fe() {
150
+ function ce() {
151
151
  return ue(" ");
152
152
  }
153
- function _o() {
153
+ function Eo() {
154
154
  return ue("");
155
155
  }
156
- function Ge(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
- function T(e, t, r) {
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 xo(e, t, r) {
162
+ function wo(e, t, r) {
163
163
  const n = t.toLowerCase();
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 : T(e, t, r);
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 Rr(e) {
166
+ function Ur(e) {
167
167
  return Array.from(e.childNodes);
168
168
  }
169
- function rt(e, t) {
169
+ function nt(e, t) {
170
170
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
171
171
  t);
172
172
  }
173
- function Eo(e, t, r) {
173
+ function So(e, t, r) {
174
174
  e.classList.toggle(t, !!r);
175
175
  }
176
- function $r(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
176
+ function Dr(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
177
177
  return new CustomEvent(e, { detail: t, bubbles: r, cancelable: n });
178
178
  }
179
- function Gr(e) {
179
+ function Fr(e) {
180
180
  const t = {};
181
181
  return e.childNodes.forEach(
182
182
  /** @param {Element} node */
@@ -187,40 +187,40 @@ function Gr(e) {
187
187
  }
188
188
  const ve = /* @__PURE__ */ new Map();
189
189
  let _e = 0;
190
- function Ur(e) {
190
+ function jr(e) {
191
191
  let t = 5381, r = e.length;
192
192
  for (; r--; )
193
193
  t = (t << 5) - t ^ e.charCodeAt(r);
194
194
  return t >>> 0;
195
195
  }
196
- function Dr(e, t) {
197
- const r = { stylesheet: Lr(t), rules: {} };
196
+ function kr(e, t) {
197
+ const r = { stylesheet: Gr(t), rules: {} };
198
198
  return ve.set(e, r), r;
199
199
  }
200
- function lt(e, t, r, n, i, o, a, s = 0) {
200
+ function ct(e, t, r, n, i, o, a, s = 0) {
201
201
  const l = 16.666 / n;
202
202
  let u = `{
203
203
  `;
204
204
  for (let g = 0; g <= 1; g += l) {
205
- const H = t + (r - t) * o(g);
206
- u += g * 100 + `%{${a(H, 1 - H)}}
205
+ const A = t + (r - t) * o(g);
206
+ u += g * 100 + `%{${a(A, 1 - A)}}
207
207
  `;
208
208
  }
209
209
  const h = u + `100% {${a(r, 1 - r)}}
210
- }`, f = `__svelte_${Ur(h)}_${s}`, c = tt(e), { stylesheet: m, rules: d } = ve.get(c) || Dr(c, e);
211
- d[f] || (d[f] = !0, m.insertRule(`@keyframes ${f} ${h}`, m.cssRules.length));
210
+ }`, c = `__svelte_${jr(h)}_${s}`, f = rt(e), { stylesheet: d, rules: m } = ve.get(f) || kr(f, e);
211
+ m[c] || (m[c] = !0, d.insertRule(`@keyframes ${c} ${h}`, d.cssRules.length));
212
212
  const p = e.style.animation || "";
213
- return e.style.animation = `${p ? `${p}, ` : ""}${f} ${n}ms linear ${i}ms 1 both`, _e += 1, f;
213
+ return e.style.animation = `${p ? `${p}, ` : ""}${c} ${n}ms linear ${i}ms 1 both`, _e += 1, c;
214
214
  }
215
- function Fr(e, t) {
215
+ function Vr(e, t) {
216
216
  const r = (e.style.animation || "").split(", "), n = r.filter(
217
217
  t ? (o) => o.indexOf(t) < 0 : (o) => o.indexOf("__svelte") === -1
218
218
  // remove all Svelte animations
219
219
  ), i = r.length - n.length;
220
- i && (e.style.animation = n.join(", "), _e -= i, _e || jr());
220
+ i && (e.style.animation = n.join(", "), _e -= i, _e || Xr());
221
221
  }
222
- function jr() {
223
- et(() => {
222
+ function Xr() {
223
+ tt(() => {
224
224
  _e || (ve.forEach((e) => {
225
225
  const { ownerNode: t } = e.stylesheet;
226
226
  t && U(t);
@@ -231,20 +231,20 @@ let ie;
231
231
  function ne(e) {
232
232
  ie = e;
233
233
  }
234
- function kr() {
234
+ function zr() {
235
235
  if (!ie)
236
236
  throw new Error("Function called outside component initialization");
237
237
  return ie;
238
238
  }
239
- function Vr(e) {
240
- kr().$$.on_mount.push(e);
239
+ function Wr(e) {
240
+ zr().$$.on_mount.push(e);
241
241
  }
242
- const V = [], Ue = [];
242
+ const V = [], De = [];
243
243
  let z = [];
244
- const ht = [], Xr = /* @__PURE__ */ Promise.resolve();
245
- let De = !1;
246
- function zr() {
247
- De || (De = !0, Xr.then(O));
244
+ const ft = [], Zr = /* @__PURE__ */ Promise.resolve();
245
+ let Fe = !1;
246
+ function Qr() {
247
+ Fe || (Fe = !0, Zr.then(O));
248
248
  }
249
249
  function xe(e) {
250
250
  z.push(e);
@@ -259,46 +259,46 @@ function O() {
259
259
  try {
260
260
  for (; j < V.length; ) {
261
261
  const t = V[j];
262
- j++, ne(t), Wr(t.$$);
262
+ j++, ne(t), Jr(t.$$);
263
263
  }
264
264
  } catch (t) {
265
265
  throw V.length = 0, j = 0, t;
266
266
  }
267
- for (ne(null), V.length = 0, j = 0; Ue.length; )
268
- Ue.pop()();
267
+ for (ne(null), V.length = 0, j = 0; De.length; )
268
+ De.pop()();
269
269
  for (let t = 0; t < z.length; t += 1) {
270
270
  const r = z[t];
271
271
  Pe.has(r) || (Pe.add(r), r());
272
272
  }
273
273
  z.length = 0;
274
274
  } while (V.length);
275
- for (; ht.length; )
276
- ht.pop()();
277
- De = !1, Pe.clear(), ne(e);
275
+ for (; ft.length; )
276
+ ft.pop()();
277
+ Fe = !1, Pe.clear(), ne(e);
278
278
  }
279
- function Wr(e) {
279
+ function Jr(e) {
280
280
  if (e.fragment !== null) {
281
281
  e.update(), G(e.before_update);
282
282
  const t = e.dirty;
283
283
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(xe);
284
284
  }
285
285
  }
286
- function Zr(e) {
286
+ function qr(e) {
287
287
  const t = [], r = [];
288
288
  z.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), z = t;
289
289
  }
290
290
  let te;
291
- function Qr() {
291
+ function Yr() {
292
292
  return te || (te = Promise.resolve(), te.then(() => {
293
293
  te = null;
294
294
  })), te;
295
295
  }
296
296
  function Oe(e, t, r) {
297
- e.dispatchEvent($r(`${t ? "intro" : "outro"}${r}`));
297
+ e.dispatchEvent(Dr(`${t ? "intro" : "outro"}${r}`));
298
298
  }
299
- const me = /* @__PURE__ */ new Set();
299
+ const de = /* @__PURE__ */ new Set();
300
300
  let N;
301
- function wo() {
301
+ function To() {
302
302
  N = {
303
303
  r: 0,
304
304
  c: [],
@@ -306,104 +306,104 @@ function wo() {
306
306
  // parent group
307
307
  };
308
308
  }
309
- function So() {
309
+ function Ho() {
310
310
  N.r || G(N.c), N = N.p;
311
311
  }
312
- function kt(e, t) {
313
- e && e.i && (me.delete(e), e.i(t));
312
+ function Xt(e, t) {
313
+ e && e.i && (de.delete(e), e.i(t));
314
314
  }
315
- function Jr(e, t, r, n) {
315
+ function Kr(e, t, r, n) {
316
316
  if (e && e.o) {
317
- if (me.has(e))
317
+ if (de.has(e))
318
318
  return;
319
- me.add(e), N.c.push(() => {
320
- me.delete(e), n && (r && e.d(1), n());
319
+ de.add(e), N.c.push(() => {
320
+ de.delete(e), n && (r && e.d(1), n());
321
321
  }), e.o(t);
322
322
  } else
323
323
  n && n();
324
324
  }
325
- const qr = { duration: 0 };
326
- function To(e, t, r, n) {
325
+ const en = { duration: 0 };
326
+ function Ao(e, t, r, n) {
327
327
  let o = t(e, r, { direction: "both" }), a = n ? 0 : 1, s = null, l = null, u = null, h;
328
- function f() {
329
- u && Fr(e, u);
328
+ function c() {
329
+ u && Vr(e, u);
330
330
  }
331
- function c(d, p) {
331
+ function f(m, p) {
332
332
  const g = (
333
333
  /** @type {Program['d']} */
334
- d.b - a
334
+ m.b - a
335
335
  );
336
336
  return p *= Math.abs(g), {
337
337
  a,
338
- b: d.b,
338
+ b: m.b,
339
339
  d: g,
340
340
  duration: p,
341
- start: d.start,
342
- end: d.start + p,
343
- group: d.group
341
+ start: m.start,
342
+ end: m.start + p,
343
+ group: m.group
344
344
  };
345
345
  }
346
- function m(d) {
346
+ function d(m) {
347
347
  const {
348
348
  delay: p = 0,
349
349
  duration: g = 300,
350
- easing: H = Sr,
351
- tick: A = M,
350
+ easing: A = Ar,
351
+ tick: T = M,
352
352
  css: x
353
- } = o || qr, w = {
354
- start: Ir() + p,
355
- b: d
353
+ } = o || en, w = {
354
+ start: Lr() + p,
355
+ b: m
356
356
  };
357
- d || (w.group = N, N.r += 1), "inert" in e && (d ? h !== void 0 && (e.inert = h) : (h = /** @type {HTMLElement} */
358
- e.inert, e.inert = !0)), s || l ? l = w : (x && (f(), u = lt(e, a, d, g, p, H, x)), d && A(0, 1), s = c(w, g), xe(() => Oe(e, d, "start")), Mr((b) => {
359
- if (l && b > l.start && (s = c(l, g), l = null, Oe(e, s.b, "start"), x && (f(), u = lt(
357
+ m || (w.group = N, N.r += 1), "inert" in e && (m ? h !== void 0 && (e.inert = h) : (h = /** @type {HTMLElement} */
358
+ e.inert, e.inert = !0)), s || l ? l = w : (x && (c(), u = ct(e, a, m, g, p, A, x)), m && T(0, 1), s = f(w, g), xe(() => Oe(e, m, "start")), Rr((b) => {
359
+ if (l && b > l.start && (s = f(l, g), l = null, Oe(e, s.b, "start"), x && (c(), u = ct(
360
360
  e,
361
361
  a,
362
362
  s.b,
363
363
  s.duration,
364
364
  0,
365
- H,
365
+ A,
366
366
  o.css
367
367
  ))), s) {
368
368
  if (b >= s.end)
369
- A(a = s.b, 1 - a), Oe(e, s.b, "end"), l || (s.b ? f() : --s.group.r || G(s.group.c)), s = null;
369
+ T(a = s.b, 1 - a), Oe(e, s.b, "end"), l || (s.b ? c() : --s.group.r || G(s.group.c)), s = null;
370
370
  else if (b >= s.start) {
371
371
  const B = b - s.start;
372
- a = s.a + s.d * H(B / s.duration), A(a, 1 - a);
372
+ a = s.a + s.d * A(B / s.duration), T(a, 1 - a);
373
373
  }
374
374
  }
375
375
  return !!(s || l);
376
376
  }));
377
377
  }
378
378
  return {
379
- run(d) {
380
- Se(o) ? Qr().then(() => {
381
- o = o({ direction: d ? "in" : "out" }), m(d);
382
- }) : m(d);
379
+ run(m) {
380
+ Se(o) ? Yr().then(() => {
381
+ o = o({ direction: m ? "in" : "out" }), d(m);
382
+ }) : d(m);
383
383
  },
384
384
  end() {
385
- f(), s = l = null;
385
+ c(), s = l = null;
386
386
  }
387
387
  };
388
388
  }
389
- function Ho(e) {
389
+ function Bo(e) {
390
390
  return e?.length !== void 0 ? e : Array.from(e);
391
391
  }
392
- function Yr(e, t, r) {
392
+ function tn(e, t, r) {
393
393
  const { fragment: n, after_update: i } = e.$$;
394
394
  n && n.m(t, r), xe(() => {
395
- const o = e.$$.on_mount.map(Rt).filter(Se);
395
+ const o = e.$$.on_mount.map(Gt).filter(Se);
396
396
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : G(o), e.$$.on_mount = [];
397
397
  }), i.forEach(xe);
398
398
  }
399
- function Kr(e, t) {
399
+ function rn(e, t) {
400
400
  const r = e.$$;
401
- r.fragment !== null && (Zr(r.after_update), G(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
401
+ r.fragment !== null && (qr(r.after_update), G(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
402
402
  }
403
- function en(e, t) {
404
- e.$$.dirty[0] === -1 && (V.push(e), zr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
403
+ function nn(e, t) {
404
+ e.$$.dirty[0] === -1 && (V.push(e), Qr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
405
405
  }
406
- function tn(e, t, r, n, i, o, a = null, s = [-1]) {
406
+ function on(e, t, r, n, i, o, a = null, s = [-1]) {
407
407
  const l = ie;
408
408
  ne(e);
409
409
  const u = e.$$ = {
@@ -413,7 +413,7 @@ function tn(e, t, r, n, i, o, a = null, s = [-1]) {
413
413
  props: o,
414
414
  update: M,
415
415
  not_equal: i,
416
- bound: at(),
416
+ bound: lt(),
417
417
  // lifecycle
418
418
  on_mount: [],
419
419
  on_destroy: [],
@@ -422,28 +422,28 @@ function tn(e, t, r, n, i, o, a = null, s = [-1]) {
422
422
  after_update: [],
423
423
  context: new Map(t.context || (l ? l.$$.context : [])),
424
424
  // everything else
425
- callbacks: at(),
425
+ callbacks: lt(),
426
426
  dirty: s,
427
427
  skip_bound: !1,
428
428
  root: t.target || l.$$.root
429
429
  };
430
430
  a && a(u.root);
431
431
  let h = !1;
432
- if (u.ctx = r ? r(e, t.props || {}, (f, c, ...m) => {
433
- const d = m.length ? m[0] : c;
434
- 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;
432
+ if (u.ctx = r ? r(e, t.props || {}, (c, f, ...d) => {
433
+ const m = d.length ? d[0] : f;
434
+ return u.ctx && i(u.ctx[c], u.ctx[c] = m) && (!u.skip_bound && u.bound[c] && u.bound[c](m), h && nn(e, c)), f;
435
435
  }) : [], u.update(), h = !0, G(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
436
436
  if (t.hydrate) {
437
- const f = Rr(t.target);
438
- u.fragment && u.fragment.l(f), f.forEach(U);
437
+ const c = Ur(t.target);
438
+ u.fragment && u.fragment.l(c), c.forEach(U);
439
439
  } else
440
440
  u.fragment && u.fragment.c();
441
- t.intro && kt(e.$$.fragment), Yr(e, t.target, t.anchor), O();
441
+ t.intro && Xt(e.$$.fragment), tn(e, t.target, t.anchor), O();
442
442
  }
443
443
  ne(l);
444
444
  }
445
- let Vt;
446
- typeof HTMLElement == "function" && (Vt = class extends HTMLElement {
445
+ let zt;
446
+ typeof HTMLElement == "function" && (zt = class extends HTMLElement {
447
447
  /** The Svelte component constructor */
448
448
  $$ctor;
449
449
  /** Slots */
@@ -485,7 +485,7 @@ typeof HTMLElement == "function" && (Vt = class extends HTMLElement {
485
485
  let o;
486
486
  return {
487
487
  c: function() {
488
- o = I("slot"), i !== "default" && T(o, "name", i);
488
+ o = I("slot"), i !== "default" && H(o, "name", i);
489
489
  },
490
490
  /**
491
491
  * @param {HTMLElement} target
@@ -502,7 +502,7 @@ typeof HTMLElement == "function" && (Vt = class extends HTMLElement {
502
502
  };
503
503
  if (await Promise.resolve(), !this.$$cn || this.$$c)
504
504
  return;
505
- const t = {}, r = Gr(this);
505
+ const t = {}, r = Fr(this);
506
506
  for (const i of this.$$s)
507
507
  i in r && (t[i] = [e(i)]);
508
508
  for (const i of this.attributes) {
@@ -589,8 +589,8 @@ function pe(e, t, r, n) {
589
589
  return t;
590
590
  }
591
591
  }
592
- function rn(e, t, r, n, i, o) {
593
- let a = class extends Vt {
592
+ function sn(e, t, r, n, i, o) {
593
+ let a = class extends zt {
594
594
  constructor() {
595
595
  super(e, r, i), this.$$p_d = t;
596
596
  }
@@ -618,7 +618,7 @@ function rn(e, t, r, n, i, o) {
618
618
  }), e.element = /** @type {any} */
619
619
  a, a;
620
620
  }
621
- class nn {
621
+ class an {
622
622
  /**
623
623
  * ### PRIVATE API
624
624
  *
@@ -637,7 +637,7 @@ class nn {
637
637
  $$set = void 0;
638
638
  /** @returns {void} */
639
639
  $destroy() {
640
- Kr(this, 1), this.$destroy = M;
640
+ rn(this, 1), this.$destroy = M;
641
641
  }
642
642
  /**
643
643
  * @template {Extract<keyof Events, string>} K
@@ -659,11 +659,11 @@ class nn {
659
659
  * @returns {void}
660
660
  */
661
661
  $set(t) {
662
- this.$$set && !Hr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
662
+ this.$$set && !Cr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
663
663
  }
664
664
  }
665
- const on = "4";
666
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(on);
665
+ const un = "4";
666
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(un);
667
667
  /*! *****************************************************************************
668
668
  Copyright (c) Microsoft Corporation.
669
669
 
@@ -678,18 +678,18 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
678
678
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
679
679
  PERFORMANCE OF THIS SOFTWARE.
680
680
  ***************************************************************************** */
681
- var Fe = function(e, t) {
682
- return Fe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
681
+ var je = function(e, t) {
682
+ return je = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
683
683
  r.__proto__ = n;
684
684
  } || function(r, n) {
685
685
  for (var i in n)
686
686
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
687
- }, Fe(e, t);
687
+ }, je(e, t);
688
688
  };
689
689
  function R(e, t) {
690
690
  if (typeof t != "function" && t !== null)
691
691
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
692
- Fe(e, t);
692
+ je(e, t);
693
693
  function r() {
694
694
  this.constructor = e;
695
695
  }
@@ -705,7 +705,7 @@ var E = function() {
705
705
  return t;
706
706
  }, E.apply(this, arguments);
707
707
  };
708
- function sn(e, t) {
708
+ function ln(e, t) {
709
709
  var r = {};
710
710
  for (var n in e)
711
711
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -714,7 +714,7 @@ function sn(e, t) {
714
714
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
715
715
  return r;
716
716
  }
717
- function je(e) {
717
+ function ke(e) {
718
718
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
719
719
  if (r)
720
720
  return r.call(e);
@@ -726,7 +726,7 @@ function je(e) {
726
726
  };
727
727
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
728
728
  }
729
- function ke(e, t) {
729
+ function Ve(e, t) {
730
730
  var r = typeof Symbol == "function" && e[Symbol.iterator];
731
731
  if (!r)
732
732
  return e;
@@ -755,13 +755,13 @@ function W(e, t, r) {
755
755
  function L(e) {
756
756
  return typeof e == "function";
757
757
  }
758
- function Xt(e) {
758
+ function Wt(e) {
759
759
  var t = function(n) {
760
760
  Error.call(n), n.stack = new Error().stack;
761
761
  }, r = e(t);
762
762
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
763
763
  }
764
- var Ie = Xt(function(e) {
764
+ var Ie = Wt(function(e) {
765
765
  return function(r) {
766
766
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
767
767
  ` + r.map(function(n, i) {
@@ -770,7 +770,7 @@ var Ie = Xt(function(e) {
770
770
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
771
771
  };
772
772
  });
773
- function Ve(e, t) {
773
+ function Xe(e, t) {
774
774
  if (e) {
775
775
  var r = e.indexOf(t);
776
776
  0 <= r && e.splice(r, 1);
@@ -788,7 +788,7 @@ var Te = function() {
788
788
  if (a)
789
789
  if (this._parentage = null, Array.isArray(a))
790
790
  try {
791
- for (var s = je(a), l = s.next(); !l.done; l = s.next()) {
791
+ for (var s = ke(a), l = s.next(); !l.done; l = s.next()) {
792
792
  var u = l.value;
793
793
  u.remove(this);
794
794
  }
@@ -811,23 +811,23 @@ var Te = function() {
811
811
  } catch (p) {
812
812
  o = p instanceof Ie ? p.errors : [p];
813
813
  }
814
- var f = this._finalizers;
815
- if (f) {
814
+ var c = this._finalizers;
815
+ if (c) {
816
816
  this._finalizers = null;
817
817
  try {
818
- for (var c = je(f), m = c.next(); !m.done; m = c.next()) {
819
- var d = m.value;
818
+ for (var f = ke(c), d = f.next(); !d.done; d = f.next()) {
819
+ var m = d.value;
820
820
  try {
821
- ft(d);
821
+ mt(m);
822
822
  } catch (p) {
823
- o = o ?? [], p instanceof Ie ? o = W(W([], ke(o)), ke(p.errors)) : o.push(p);
823
+ o = o ?? [], p instanceof Ie ? o = W(W([], Ve(o)), Ve(p.errors)) : o.push(p);
824
824
  }
825
825
  }
826
826
  } catch (p) {
827
827
  n = { error: p };
828
828
  } finally {
829
829
  try {
830
- m && !m.done && (i = c.return) && i.call(c);
830
+ d && !d.done && (i = f.return) && i.call(f);
831
831
  } finally {
832
832
  if (n)
833
833
  throw n.error;
@@ -841,7 +841,7 @@ var Te = function() {
841
841
  var r;
842
842
  if (t && t !== this)
843
843
  if (this.closed)
844
- ft(t);
844
+ mt(t);
845
845
  else {
846
846
  if (t instanceof e) {
847
847
  if (t.closed || t._hasParent(this))
@@ -858,56 +858,56 @@ var Te = function() {
858
858
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
859
859
  }, e.prototype._removeParent = function(t) {
860
860
  var r = this._parentage;
861
- r === t ? this._parentage = null : Array.isArray(r) && Ve(r, t);
861
+ r === t ? this._parentage = null : Array.isArray(r) && Xe(r, t);
862
862
  }, e.prototype.remove = function(t) {
863
863
  var r = this._finalizers;
864
- r && Ve(r, t), t instanceof e && t._removeParent(this);
864
+ r && Xe(r, t), t instanceof e && t._removeParent(this);
865
865
  }, e.EMPTY = function() {
866
866
  var t = new e();
867
867
  return t.closed = !0, t;
868
868
  }(), e;
869
- }(), zt = Te.EMPTY;
870
- function Wt(e) {
869
+ }(), Zt = Te.EMPTY;
870
+ function Qt(e) {
871
871
  return e instanceof Te || e && "closed" in e && L(e.remove) && L(e.add) && L(e.unsubscribe);
872
872
  }
873
- function ft(e) {
873
+ function mt(e) {
874
874
  L(e) ? e() : e.unsubscribe();
875
875
  }
876
- var an = {
876
+ var Jt = {
877
877
  onUnhandledError: null,
878
878
  onStoppedNotification: null,
879
879
  Promise: void 0,
880
880
  useDeprecatedSynchronousErrorHandling: !1,
881
881
  useDeprecatedNextContext: !1
882
- }, un = {
882
+ }, hn = {
883
883
  setTimeout: function(e, t) {
884
884
  for (var r = [], n = 2; n < arguments.length; n++)
885
885
  r[n - 2] = arguments[n];
886
- return setTimeout.apply(void 0, W([e, t], ke(r)));
886
+ return setTimeout.apply(void 0, W([e, t], Ve(r)));
887
887
  },
888
888
  clearTimeout: function(e) {
889
889
  return clearTimeout(e);
890
890
  },
891
891
  delegate: void 0
892
892
  };
893
- function ln(e) {
894
- un.setTimeout(function() {
893
+ function cn(e) {
894
+ hn.setTimeout(function() {
895
895
  throw e;
896
896
  });
897
897
  }
898
- function ct() {
898
+ function dt() {
899
899
  }
900
900
  function be(e) {
901
901
  e();
902
902
  }
903
- var Zt = function(e) {
903
+ var qt = function(e) {
904
904
  R(t, e);
905
905
  function t(r) {
906
906
  var n = e.call(this) || this;
907
- return n.isStopped = !1, r ? (n.destination = r, Wt(r) && r.add(n)) : n.destination = cn, n;
907
+ return n.isStopped = !1, r ? (n.destination = r, Qt(r) && r.add(n)) : n.destination = pn, n;
908
908
  }
909
909
  return t.create = function(r, n, i) {
910
- return new Xe(r, n, i);
910
+ return new ze(r, n, i);
911
911
  }, t.prototype.next = function(r) {
912
912
  this.isStopped || this._next(r);
913
913
  }, t.prototype.error = function(r) {
@@ -931,7 +931,11 @@ var Zt = function(e) {
931
931
  this.unsubscribe();
932
932
  }
933
933
  }, t;
934
- }(Te), hn = function() {
934
+ }(Te), fn = Function.prototype.bind;
935
+ function Me(e, t) {
936
+ return fn.call(e, t);
937
+ }
938
+ var mn = function() {
935
939
  function e(t) {
936
940
  this.partialObserver = t;
937
941
  }
@@ -941,7 +945,7 @@ var Zt = function(e) {
941
945
  try {
942
946
  r.next(t);
943
947
  } catch (n) {
944
- ce(n);
948
+ fe(n);
945
949
  }
946
950
  }, e.prototype.error = function(t) {
947
951
  var r = this.partialObserver;
@@ -949,56 +953,68 @@ var Zt = function(e) {
949
953
  try {
950
954
  r.error(t);
951
955
  } catch (n) {
952
- ce(n);
956
+ fe(n);
953
957
  }
954
958
  else
955
- ce(t);
959
+ fe(t);
956
960
  }, e.prototype.complete = function() {
957
961
  var t = this.partialObserver;
958
962
  if (t.complete)
959
963
  try {
960
964
  t.complete();
961
965
  } catch (r) {
962
- ce(r);
966
+ fe(r);
963
967
  }
964
968
  }, e;
965
- }(), Xe = function(e) {
969
+ }(), ze = function(e) {
966
970
  R(t, e);
967
971
  function t(r, n, i) {
968
972
  var o = e.call(this) || this, a;
969
- return L(r) || !r ? a = {
970
- next: r ?? void 0,
971
- error: n ?? void 0,
972
- complete: i ?? void 0
973
- } : a = r, o.destination = new hn(a), o;
973
+ if (L(r) || !r)
974
+ a = {
975
+ next: r ?? void 0,
976
+ error: n ?? void 0,
977
+ complete: i ?? void 0
978
+ };
979
+ else {
980
+ var s;
981
+ o && Jt.useDeprecatedNextContext ? (s = Object.create(r), s.unsubscribe = function() {
982
+ return o.unsubscribe();
983
+ }, a = {
984
+ next: r.next && Me(r.next, s),
985
+ error: r.error && Me(r.error, s),
986
+ complete: r.complete && Me(r.complete, s)
987
+ }) : a = r;
988
+ }
989
+ return o.destination = new mn(a), o;
974
990
  }
975
991
  return t;
976
- }(Zt);
977
- function ce(e) {
978
- ln(e);
992
+ }(qt);
993
+ function fe(e) {
994
+ cn(e);
979
995
  }
980
- function fn(e) {
996
+ function dn(e) {
981
997
  throw e;
982
998
  }
983
- var cn = {
999
+ var pn = {
984
1000
  closed: !0,
985
- next: ct,
986
- error: fn,
987
- complete: ct
988
- }, dn = function() {
1001
+ next: dt,
1002
+ error: dn,
1003
+ complete: dt
1004
+ }, bn = function() {
989
1005
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
990
1006
  }();
991
- function mn(e) {
1007
+ function gn(e) {
992
1008
  return e;
993
1009
  }
994
- function pn(e) {
995
- return e.length === 0 ? mn : e.length === 1 ? e[0] : function(r) {
1010
+ function yn(e) {
1011
+ return e.length === 0 ? gn : e.length === 1 ? e[0] : function(r) {
996
1012
  return e.reduce(function(n, i) {
997
1013
  return i(n);
998
1014
  }, r);
999
1015
  };
1000
1016
  }
1001
- var dt = function() {
1017
+ var pt = function() {
1002
1018
  function e(t) {
1003
1019
  t && (this._subscribe = t);
1004
1020
  }
@@ -1006,7 +1022,7 @@ var dt = function() {
1006
1022
  var r = new e();
1007
1023
  return r.source = this, r.operator = t, r;
1008
1024
  }, e.prototype.subscribe = function(t, r, n) {
1009
- var i = this, o = gn(t) ? t : new Xe(t, r, n);
1025
+ var i = this, o = _n(t) ? t : new ze(t, r, n);
1010
1026
  return be(function() {
1011
1027
  var a = i, s = a.operator, l = a.source;
1012
1028
  o.add(s ? s.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
@@ -1019,8 +1035,8 @@ var dt = function() {
1019
1035
  }
1020
1036
  }, e.prototype.forEach = function(t, r) {
1021
1037
  var n = this;
1022
- return r = mt(r), new r(function(i, o) {
1023
- var a = new Xe({
1038
+ return r = bt(r), new r(function(i, o) {
1039
+ var a = new ze({
1024
1040
  next: function(s) {
1025
1041
  try {
1026
1042
  t(s);
@@ -1036,15 +1052,15 @@ var dt = function() {
1036
1052
  }, e.prototype._subscribe = function(t) {
1037
1053
  var r;
1038
1054
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
1039
- }, e.prototype[dn] = function() {
1055
+ }, e.prototype[bn] = function() {
1040
1056
  return this;
1041
1057
  }, e.prototype.pipe = function() {
1042
1058
  for (var t = [], r = 0; r < arguments.length; r++)
1043
1059
  t[r] = arguments[r];
1044
- return pn(t)(this);
1060
+ return yn(t)(this);
1045
1061
  }, e.prototype.toPromise = function(t) {
1046
1062
  var r = this;
1047
- return t = mt(t), new t(function(n, i) {
1063
+ return t = bt(t), new t(function(n, i) {
1048
1064
  var o;
1049
1065
  r.subscribe(function(a) {
1050
1066
  return o = a;
@@ -1058,32 +1074,32 @@ var dt = function() {
1058
1074
  return new e(t);
1059
1075
  }, e;
1060
1076
  }();
1061
- function mt(e) {
1077
+ function bt(e) {
1062
1078
  var t;
1063
- return (t = e ?? an.Promise) !== null && t !== void 0 ? t : Promise;
1079
+ return (t = e ?? Jt.Promise) !== null && t !== void 0 ? t : Promise;
1064
1080
  }
1065
- function bn(e) {
1081
+ function vn(e) {
1066
1082
  return e && L(e.next) && L(e.error) && L(e.complete);
1067
1083
  }
1068
- function gn(e) {
1069
- return e && e instanceof Zt || bn(e) && Wt(e);
1084
+ function _n(e) {
1085
+ return e && e instanceof qt || vn(e) && Qt(e);
1070
1086
  }
1071
- var yn = Xt(function(e) {
1087
+ var xn = Wt(function(e) {
1072
1088
  return function() {
1073
1089
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
1074
1090
  };
1075
- }), Qt = function(e) {
1091
+ }), Yt = function(e) {
1076
1092
  R(t, e);
1077
1093
  function t() {
1078
1094
  var r = e.call(this) || this;
1079
1095
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
1080
1096
  }
1081
1097
  return t.prototype.lift = function(r) {
1082
- var n = new pt(this, this);
1098
+ var n = new gt(this, this);
1083
1099
  return n.operator = r, n;
1084
1100
  }, t.prototype._throwIfClosed = function() {
1085
1101
  if (this.closed)
1086
- throw new yn();
1102
+ throw new xn();
1087
1103
  }, t.prototype.next = function(r) {
1088
1104
  var n = this;
1089
1105
  be(function() {
@@ -1091,7 +1107,7 @@ var yn = Xt(function(e) {
1091
1107
  if (n._throwIfClosed(), !n.isStopped) {
1092
1108
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
1093
1109
  try {
1094
- for (var a = je(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
1110
+ for (var a = ke(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
1095
1111
  var l = s.value;
1096
1112
  l.next(r);
1097
1113
  }
@@ -1140,19 +1156,19 @@ var yn = Xt(function(e) {
1140
1156
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
1141
1157
  }, t.prototype._innerSubscribe = function(r) {
1142
1158
  var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
1143
- return o || a ? zt : (this.currentObservers = null, s.push(r), new Te(function() {
1144
- n.currentObservers = null, Ve(s, r);
1159
+ return o || a ? Zt : (this.currentObservers = null, s.push(r), new Te(function() {
1160
+ n.currentObservers = null, Xe(s, r);
1145
1161
  }));
1146
1162
  }, t.prototype._checkFinalizedStatuses = function(r) {
1147
1163
  var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
1148
1164
  i ? r.error(o) : a && r.complete();
1149
1165
  }, t.prototype.asObservable = function() {
1150
- var r = new dt();
1166
+ var r = new pt();
1151
1167
  return r.source = this, r;
1152
1168
  }, t.create = function(r, n) {
1153
- return new pt(r, n);
1169
+ return new gt(r, n);
1154
1170
  }, t;
1155
- }(dt), pt = function(e) {
1171
+ }(pt), gt = function(e) {
1156
1172
  R(t, e);
1157
1173
  function t(r, n) {
1158
1174
  var i = e.call(this) || this;
@@ -1169,17 +1185,17 @@ var yn = Xt(function(e) {
1169
1185
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1170
1186
  }, t.prototype._subscribe = function(r) {
1171
1187
  var n, i;
1172
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : zt;
1188
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Zt;
1173
1189
  }, t;
1174
- }(Qt), Jt = {
1190
+ }(Yt), Kt = {
1175
1191
  now: function() {
1176
- return (Jt.delegate || Date).now();
1192
+ return (Kt.delegate || Date).now();
1177
1193
  },
1178
1194
  delegate: void 0
1179
- }, vn = function(e) {
1195
+ }, En = function(e) {
1180
1196
  R(t, e);
1181
1197
  function t(r, n, i) {
1182
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Jt);
1198
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Kt);
1183
1199
  var o = e.call(this) || this;
1184
1200
  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;
1185
1201
  }
@@ -1199,15 +1215,15 @@ var yn = Xt(function(e) {
1199
1215
  u && o.splice(0, u + 1);
1200
1216
  }
1201
1217
  }, t;
1202
- }(Qt);
1203
- const bt = [], gt = {}, _n = (e, t = 0) => {
1204
- if (bt.indexOf(e) == -1) {
1205
- const r = new vn(t);
1206
- gt[e] = r, bt.push(e);
1218
+ }(Yt);
1219
+ const yt = [], vt = {}, wn = (e, t = 0) => {
1220
+ if (yt.indexOf(e) == -1) {
1221
+ const r = new En(t);
1222
+ vt[e] = r, yt.push(e);
1207
1223
  }
1208
- return gt[e];
1224
+ return vt[e];
1209
1225
  }, k = [];
1210
- function xn(e, t) {
1226
+ function Sn(e, t) {
1211
1227
  return {
1212
1228
  subscribe: He(e, t).subscribe
1213
1229
  };
@@ -1216,7 +1232,7 @@ function He(e, t = M) {
1216
1232
  let r;
1217
1233
  const n = /* @__PURE__ */ new Set();
1218
1234
  function i(s) {
1219
- if ($t(e, s) && (e = s, r)) {
1235
+ if (Ut(e, s) && (e = s, r)) {
1220
1236
  const l = !k.length;
1221
1237
  for (const u of n)
1222
1238
  u[1](), k.push(u, e);
@@ -1243,97 +1259,97 @@ function Y(e, t, r) {
1243
1259
  if (!i.every(Boolean))
1244
1260
  throw new Error("derived() expects stores as input, got a falsy value");
1245
1261
  const o = t.length < 2;
1246
- return xn(r, (a, s) => {
1262
+ return Sn(r, (a, s) => {
1247
1263
  let l = !1;
1248
1264
  const u = [];
1249
- let h = 0, f = M;
1250
- const c = () => {
1265
+ let h = 0, c = M;
1266
+ const f = () => {
1251
1267
  if (h)
1252
1268
  return;
1253
- f();
1254
- const d = t(n ? u[0] : u, a, s);
1255
- o ? a(d) : f = Se(d) ? d : M;
1256
- }, m = i.map(
1257
- (d, p) => Gt(
1258
- d,
1269
+ c();
1270
+ const m = t(n ? u[0] : u, a, s);
1271
+ o ? a(m) : c = Se(m) ? m : M;
1272
+ }, d = i.map(
1273
+ (m, p) => Dt(
1274
+ m,
1259
1275
  (g) => {
1260
- u[p] = g, h &= ~(1 << p), l && c();
1276
+ u[p] = g, h &= ~(1 << p), l && f();
1261
1277
  },
1262
1278
  () => {
1263
1279
  h |= 1 << p;
1264
1280
  }
1265
1281
  )
1266
1282
  );
1267
- return l = !0, c(), function() {
1268
- G(m), f(), l = !1;
1283
+ return l = !0, f(), function() {
1284
+ G(d), c(), l = !1;
1269
1285
  };
1270
1286
  });
1271
1287
  }
1272
- var Ao = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
1273
- function En(e) {
1288
+ var Co = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
1289
+ function Tn(e) {
1274
1290
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1275
1291
  }
1276
- var wn = function(t) {
1277
- return Sn(t) && !Tn(t);
1292
+ var Hn = function(t) {
1293
+ return An(t) && !Bn(t);
1278
1294
  };
1279
- function Sn(e) {
1295
+ function An(e) {
1280
1296
  return !!e && typeof e == "object";
1281
1297
  }
1282
- function Tn(e) {
1298
+ function Bn(e) {
1283
1299
  var t = Object.prototype.toString.call(e);
1284
- return t === "[object RegExp]" || t === "[object Date]" || Bn(e);
1300
+ return t === "[object RegExp]" || t === "[object Date]" || On(e);
1285
1301
  }
1286
- var Hn = typeof Symbol == "function" && Symbol.for, An = Hn ? Symbol.for("react.element") : 60103;
1287
- function Bn(e) {
1288
- return e.$$typeof === An;
1302
+ var Cn = typeof Symbol == "function" && Symbol.for, Pn = Cn ? Symbol.for("react.element") : 60103;
1303
+ function On(e) {
1304
+ return e.$$typeof === Pn;
1289
1305
  }
1290
- function Cn(e) {
1306
+ function In(e) {
1291
1307
  return Array.isArray(e) ? [] : {};
1292
1308
  }
1293
1309
  function oe(e, t) {
1294
- return t.clone !== !1 && t.isMergeableObject(e) ? Z(Cn(e), e, t) : e;
1310
+ return t.clone !== !1 && t.isMergeableObject(e) ? Z(In(e), e, t) : e;
1295
1311
  }
1296
- function Pn(e, t, r) {
1312
+ function Mn(e, t, r) {
1297
1313
  return e.concat(t).map(function(n) {
1298
1314
  return oe(n, r);
1299
1315
  });
1300
1316
  }
1301
- function On(e, t) {
1317
+ function Nn(e, t) {
1302
1318
  if (!t.customMerge)
1303
1319
  return Z;
1304
1320
  var r = t.customMerge(e);
1305
1321
  return typeof r == "function" ? r : Z;
1306
1322
  }
1307
- function In(e) {
1323
+ function Ln(e) {
1308
1324
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1309
1325
  return Object.propertyIsEnumerable.call(e, t);
1310
1326
  }) : [];
1311
1327
  }
1312
- function yt(e) {
1313
- return Object.keys(e).concat(In(e));
1328
+ function _t(e) {
1329
+ return Object.keys(e).concat(Ln(e));
1314
1330
  }
1315
- function qt(e, t) {
1331
+ function er(e, t) {
1316
1332
  try {
1317
1333
  return t in e;
1318
1334
  } catch {
1319
1335
  return !1;
1320
1336
  }
1321
1337
  }
1322
- function Mn(e, t) {
1323
- return qt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1338
+ function Rn(e, t) {
1339
+ return er(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1324
1340
  }
1325
- function Nn(e, t, r) {
1341
+ function $n(e, t, r) {
1326
1342
  var n = {};
1327
- return r.isMergeableObject(e) && yt(e).forEach(function(i) {
1343
+ return r.isMergeableObject(e) && _t(e).forEach(function(i) {
1328
1344
  n[i] = oe(e[i], r);
1329
- }), yt(t).forEach(function(i) {
1330
- Mn(e, i) || (qt(e, i) && r.isMergeableObject(t[i]) ? n[i] = On(i, r)(e[i], t[i], r) : n[i] = oe(t[i], r));
1345
+ }), _t(t).forEach(function(i) {
1346
+ Rn(e, i) || (er(e, i) && r.isMergeableObject(t[i]) ? n[i] = Nn(i, r)(e[i], t[i], r) : n[i] = oe(t[i], r));
1331
1347
  }), n;
1332
1348
  }
1333
1349
  function Z(e, t, r) {
1334
- r = r || {}, r.arrayMerge = r.arrayMerge || Pn, r.isMergeableObject = r.isMergeableObject || wn, r.cloneUnlessOtherwiseSpecified = oe;
1350
+ r = r || {}, r.arrayMerge = r.arrayMerge || Mn, r.isMergeableObject = r.isMergeableObject || Hn, r.cloneUnlessOtherwiseSpecified = oe;
1335
1351
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1336
- return o ? n ? r.arrayMerge(e, t, r) : Nn(e, t, r) : oe(t, r);
1352
+ return o ? n ? r.arrayMerge(e, t, r) : $n(e, t, r) : oe(t, r);
1337
1353
  }
1338
1354
  Z.all = function(t, r) {
1339
1355
  if (!Array.isArray(t))
@@ -1342,60 +1358,58 @@ Z.all = function(t, r) {
1342
1358
  return Z(n, i, r);
1343
1359
  }, {});
1344
1360
  };
1345
- var Ln = Z, Rn = Ln;
1346
- const $n = /* @__PURE__ */ En(Rn);
1347
- function Me(e, t) {
1348
- var r = t && t.cache ? t.cache : Vn, n = t && t.serializer ? t.serializer : jn, i = t && t.strategy ? t.strategy : Un;
1361
+ var Gn = Z, Un = Gn;
1362
+ const Dn = /* @__PURE__ */ Tn(Un);
1363
+ function Ne(e, t) {
1364
+ var r = t && t.cache ? t.cache : zn, n = t && t.serializer ? t.serializer : Xn, i = t && t.strategy ? t.strategy : jn;
1349
1365
  return i(e, {
1350
1366
  cache: r,
1351
1367
  serializer: n
1352
1368
  });
1353
1369
  }
1354
- function Gn(e) {
1370
+ function Fn(e) {
1355
1371
  return e == null || typeof e == "number" || typeof e == "boolean";
1356
1372
  }
1357
- function Yt(e, t, r, n) {
1358
- var i = Gn(n) ? n : r(n), o = t.get(i);
1373
+ function tr(e, t, r, n) {
1374
+ var i = Fn(n) ? n : r(n), o = t.get(i);
1359
1375
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1360
1376
  }
1361
- function Kt(e, t, r) {
1377
+ function rr(e, t, r) {
1362
1378
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1363
1379
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1364
1380
  }
1365
- function nt(e, t, r, n, i) {
1381
+ function it(e, t, r, n, i) {
1366
1382
  return r.bind(t, e, n, i);
1367
1383
  }
1368
- function Un(e, t) {
1369
- var r = e.length === 1 ? Yt : Kt;
1370
- return nt(e, this, r, t.cache.create(), t.serializer);
1384
+ function jn(e, t) {
1385
+ var r = e.length === 1 ? tr : rr;
1386
+ return it(e, this, r, t.cache.create(), t.serializer);
1371
1387
  }
1372
- function Dn(e, t) {
1373
- return nt(e, this, Kt, t.cache.create(), t.serializer);
1388
+ function kn(e, t) {
1389
+ return it(e, this, rr, t.cache.create(), t.serializer);
1374
1390
  }
1375
- function Fn(e, t) {
1376
- return nt(e, this, Yt, t.cache.create(), t.serializer);
1391
+ function Vn(e, t) {
1392
+ return it(e, this, tr, t.cache.create(), t.serializer);
1377
1393
  }
1378
- var jn = function() {
1394
+ var Xn = function() {
1379
1395
  return JSON.stringify(arguments);
1380
- }, kn = (
1381
- /** @class */
1382
- function() {
1383
- function e() {
1384
- this.cache = /* @__PURE__ */ Object.create(null);
1385
- }
1386
- return e.prototype.get = function(t) {
1387
- return this.cache[t];
1388
- }, e.prototype.set = function(t, r) {
1389
- this.cache[t] = r;
1390
- }, e;
1391
- }()
1392
- ), Vn = {
1396
+ };
1397
+ function ot() {
1398
+ this.cache = /* @__PURE__ */ Object.create(null);
1399
+ }
1400
+ ot.prototype.get = function(e) {
1401
+ return this.cache[e];
1402
+ };
1403
+ ot.prototype.set = function(e, t) {
1404
+ this.cache[e] = t;
1405
+ };
1406
+ var zn = {
1393
1407
  create: function() {
1394
- return new kn();
1408
+ return new ot();
1395
1409
  }
1396
- }, Ne = {
1397
- variadic: Dn,
1398
- monadic: Fn
1410
+ }, Le = {
1411
+ variadic: kn,
1412
+ monadic: Vn
1399
1413
  }, y;
1400
1414
  (function(e) {
1401
1415
  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";
@@ -1408,43 +1422,43 @@ var Q;
1408
1422
  (function(e) {
1409
1423
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1410
1424
  })(Q || (Q = {}));
1411
- function vt(e) {
1425
+ function xt(e) {
1412
1426
  return e.type === S.literal;
1413
1427
  }
1414
- function Xn(e) {
1428
+ function Wn(e) {
1415
1429
  return e.type === S.argument;
1416
1430
  }
1417
- function er(e) {
1431
+ function nr(e) {
1418
1432
  return e.type === S.number;
1419
1433
  }
1420
- function tr(e) {
1434
+ function ir(e) {
1421
1435
  return e.type === S.date;
1422
1436
  }
1423
- function rr(e) {
1437
+ function or(e) {
1424
1438
  return e.type === S.time;
1425
1439
  }
1426
- function nr(e) {
1440
+ function sr(e) {
1427
1441
  return e.type === S.select;
1428
1442
  }
1429
- function ir(e) {
1443
+ function ar(e) {
1430
1444
  return e.type === S.plural;
1431
1445
  }
1432
- function zn(e) {
1446
+ function Zn(e) {
1433
1447
  return e.type === S.pound;
1434
1448
  }
1435
- function or(e) {
1449
+ function ur(e) {
1436
1450
  return e.type === S.tag;
1437
1451
  }
1438
- function sr(e) {
1452
+ function lr(e) {
1439
1453
  return !!(e && typeof e == "object" && e.type === Q.number);
1440
1454
  }
1441
- function ze(e) {
1455
+ function We(e) {
1442
1456
  return !!(e && typeof e == "object" && e.type === Q.dateTime);
1443
1457
  }
1444
- 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;
1445
- function Zn(e) {
1458
+ var hr = /[ \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;
1459
+ function Jn(e) {
1446
1460
  var t = {};
1447
- return e.replace(Wn, function(r) {
1461
+ return e.replace(Qn, function(r) {
1448
1462
  var n = r.length;
1449
1463
  switch (r[0]) {
1450
1464
  case "G":
@@ -1533,36 +1547,36 @@ function Zn(e) {
1533
1547
  return "";
1534
1548
  }), t;
1535
1549
  }
1536
- var Qn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1537
- function Jn(e) {
1550
+ var qn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1551
+ function Yn(e) {
1538
1552
  if (e.length === 0)
1539
1553
  throw new Error("Number skeleton cannot be empty");
1540
- for (var t = e.split(Qn).filter(function(c) {
1541
- return c.length > 0;
1554
+ for (var t = e.split(qn).filter(function(f) {
1555
+ return f.length > 0;
1542
1556
  }), r = [], n = 0, i = t; n < i.length; n++) {
1543
1557
  var o = i[n], a = o.split("/");
1544
1558
  if (a.length === 0)
1545
1559
  throw new Error("Invalid number skeleton");
1546
1560
  for (var s = a[0], l = a.slice(1), u = 0, h = l; u < h.length; u++) {
1547
- var f = h[u];
1548
- if (f.length === 0)
1561
+ var c = h[u];
1562
+ if (c.length === 0)
1549
1563
  throw new Error("Invalid number skeleton");
1550
1564
  }
1551
1565
  r.push({ stem: s, options: l });
1552
1566
  }
1553
1567
  return r;
1554
1568
  }
1555
- function qn(e) {
1569
+ function Kn(e) {
1556
1570
  return e.replace(/^(.*?)-/, "");
1557
1571
  }
1558
- var _t = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, ur = /^(@+)?(\+|#+)?[rs]?$/g, Yn = /(\*)(0+)|(#+)(0+)|(0+)/g, lr = /^(0+)$/;
1559
- function xt(e) {
1572
+ var Et = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, cr = /^(@+)?(\+|#+)?[rs]?$/g, ei = /(\*)(0+)|(#+)(0+)|(0+)/g, fr = /^(0+)$/;
1573
+ function wt(e) {
1560
1574
  var t = {};
1561
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(ur, function(r, n, i) {
1575
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(cr, function(r, n, i) {
1562
1576
  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)), "";
1563
1577
  }), t;
1564
1578
  }
1565
- function hr(e) {
1579
+ function mr(e) {
1566
1580
  switch (e) {
1567
1581
  case "sign-auto":
1568
1582
  return {
@@ -1602,7 +1616,7 @@ function hr(e) {
1602
1616
  };
1603
1617
  }
1604
1618
  }
1605
- function Kn(e) {
1619
+ function ti(e) {
1606
1620
  var t;
1607
1621
  if (e[0] === "E" && e[1] === "E" ? (t = {
1608
1622
  notation: "engineering"
@@ -1610,17 +1624,17 @@ function Kn(e) {
1610
1624
  notation: "scientific"
1611
1625
  }, e = e.slice(1)), t) {
1612
1626
  var r = e.slice(0, 2);
1613
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !lr.test(e))
1627
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !fr.test(e))
1614
1628
  throw new Error("Malformed concise eng/scientific notation");
1615
1629
  t.minimumIntegerDigits = e.length;
1616
1630
  }
1617
1631
  return t;
1618
1632
  }
1619
- function Et(e) {
1620
- var t = {}, r = hr(e);
1633
+ function St(e) {
1634
+ var t = {}, r = mr(e);
1621
1635
  return r || t;
1622
1636
  }
1623
- function ei(e) {
1637
+ function ri(e) {
1624
1638
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1625
1639
  var i = n[r];
1626
1640
  switch (i.stem) {
@@ -1644,7 +1658,7 @@ function ei(e) {
1644
1658
  continue;
1645
1659
  case "measure-unit":
1646
1660
  case "unit":
1647
- t.style = "unit", t.unit = qn(i.options[0]);
1661
+ t.style = "unit", t.unit = Kn(i.options[0]);
1648
1662
  continue;
1649
1663
  case "compact-short":
1650
1664
  case "K":
@@ -1656,12 +1670,12 @@ function ei(e) {
1656
1670
  continue;
1657
1671
  case "scientific":
1658
1672
  t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1659
- return E(E({}, l), Et(u));
1673
+ return E(E({}, l), St(u));
1660
1674
  }, {}));
1661
1675
  continue;
1662
1676
  case "engineering":
1663
1677
  t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1664
- return E(E({}, l), Et(u));
1678
+ return E(E({}, l), St(u));
1665
1679
  }, {}));
1666
1680
  continue;
1667
1681
  case "notation-simple":
@@ -1706,45 +1720,45 @@ function ei(e) {
1706
1720
  case "integer-width":
1707
1721
  if (i.options.length > 1)
1708
1722
  throw new RangeError("integer-width stems only accept a single optional option");
1709
- i.options[0].replace(Yn, function(l, u, h, f, c, m) {
1723
+ i.options[0].replace(ei, function(l, u, h, c, f, d) {
1710
1724
  if (u)
1711
1725
  t.minimumIntegerDigits = h.length;
1712
1726
  else {
1713
- if (f && c)
1727
+ if (c && f)
1714
1728
  throw new Error("We currently do not support maximum integer digits");
1715
- if (m)
1729
+ if (d)
1716
1730
  throw new Error("We currently do not support exact integer digits");
1717
1731
  }
1718
1732
  return "";
1719
1733
  });
1720
1734
  continue;
1721
1735
  }
1722
- if (lr.test(i.stem)) {
1736
+ if (fr.test(i.stem)) {
1723
1737
  t.minimumIntegerDigits = i.stem.length;
1724
1738
  continue;
1725
1739
  }
1726
- if (_t.test(i.stem)) {
1740
+ if (Et.test(i.stem)) {
1727
1741
  if (i.options.length > 1)
1728
1742
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1729
- i.stem.replace(_t, function(l, u, h, f, c, m) {
1730
- return h === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && m ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + m.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1743
+ i.stem.replace(Et, function(l, u, h, c, f, d) {
1744
+ 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), "";
1731
1745
  });
1732
1746
  var o = i.options[0];
1733
- o === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = E(E({}, t), xt(o)));
1747
+ o === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = E(E({}, t), wt(o)));
1734
1748
  continue;
1735
1749
  }
1736
- if (ur.test(i.stem)) {
1737
- t = E(E({}, t), xt(i.stem));
1750
+ if (cr.test(i.stem)) {
1751
+ t = E(E({}, t), wt(i.stem));
1738
1752
  continue;
1739
1753
  }
1740
- var a = hr(i.stem);
1754
+ var a = mr(i.stem);
1741
1755
  a && (t = E(E({}, t), a));
1742
- var s = Kn(i.stem);
1756
+ var s = ti(i.stem);
1743
1757
  s && (t = E(E({}, t), s));
1744
1758
  }
1745
1759
  return t;
1746
1760
  }
1747
- var de = {
1761
+ var me = {
1748
1762
  "001": [
1749
1763
  "H",
1750
1764
  "h"
@@ -3159,13 +3173,13 @@ var de = {
3159
3173
  "h"
3160
3174
  ]
3161
3175
  };
3162
- function ti(e, t) {
3176
+ function ni(e, t) {
3163
3177
  for (var r = "", n = 0; n < e.length; n++) {
3164
3178
  var i = e.charAt(n);
3165
3179
  if (i === "j") {
3166
3180
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3167
3181
  o++, n++;
3168
- var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = ri(t);
3182
+ var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = ii(t);
3169
3183
  for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
3170
3184
  r += l;
3171
3185
  for (; a-- > 0; )
@@ -3175,7 +3189,7 @@ function ti(e, t) {
3175
3189
  }
3176
3190
  return r;
3177
3191
  }
3178
- function ri(e) {
3192
+ function ii(e) {
3179
3193
  var t = e.hourCycle;
3180
3194
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3181
3195
  e.hourCycles && // @ts-ignore
@@ -3194,23 +3208,23 @@ function ri(e) {
3194
3208
  }
3195
3209
  var r = e.language, n;
3196
3210
  r !== "root" && (n = e.maximize().region);
3197
- var i = de[n || ""] || de[r || ""] || de["".concat(r, "-001")] || de["001"];
3211
+ var i = me[n || ""] || me[r || ""] || me["".concat(r, "-001")] || me["001"];
3198
3212
  return i[0];
3199
3213
  }
3200
- var Le, ni = new RegExp("^".concat(ar.source, "*")), ii = new RegExp("".concat(ar.source, "*$"));
3214
+ var Re, oi = new RegExp("^".concat(hr.source, "*")), si = new RegExp("".concat(hr.source, "*$"));
3201
3215
  function _(e, t) {
3202
3216
  return { start: e, end: t };
3203
3217
  }
3204
- 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) {
3218
+ var ai = !!String.prototype.startsWith && "_a".startsWith("a", 1), ui = !!String.fromCodePoint, li = !!Object.fromEntries, hi = !!String.prototype.codePointAt, ci = !!String.prototype.trimStart, fi = !!String.prototype.trimEnd, mi = !!Number.isSafeInteger, di = mi ? Number.isSafeInteger : function(e) {
3205
3219
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3206
- }, We = !0;
3220
+ }, Ze = !0;
3207
3221
  try {
3208
- var di = cr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3209
- We = ((Le = di.exec("a")) === null || Le === void 0 ? void 0 : Le[0]) === "a";
3222
+ var pi = pr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3223
+ Ze = ((Re = pi.exec("a")) === null || Re === void 0 ? void 0 : Re[0]) === "a";
3210
3224
  } catch {
3211
- We = !1;
3225
+ Ze = !1;
3212
3226
  }
3213
- var wt = oi ? (
3227
+ var Tt = ai ? (
3214
3228
  // Native
3215
3229
  function(t, r, n) {
3216
3230
  return t.startsWith(r, n);
@@ -3220,7 +3234,7 @@ var wt = oi ? (
3220
3234
  function(t, r, n) {
3221
3235
  return t.slice(n, n + r.length) === r;
3222
3236
  }
3223
- ), Ze = si ? String.fromCodePoint : (
3237
+ ), Qe = ui ? String.fromCodePoint : (
3224
3238
  // IE11
3225
3239
  function() {
3226
3240
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3232,9 +3246,9 @@ var wt = oi ? (
3232
3246
  }
3233
3247
  return n;
3234
3248
  }
3235
- ), St = (
3249
+ ), Ht = (
3236
3250
  // native
3237
- ai ? Object.fromEntries : (
3251
+ li ? Object.fromEntries : (
3238
3252
  // Ponyfill
3239
3253
  function(t) {
3240
3254
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3244,7 +3258,7 @@ var wt = oi ? (
3244
3258
  return r;
3245
3259
  }
3246
3260
  )
3247
- ), fr = ui ? (
3261
+ ), dr = hi ? (
3248
3262
  // Native
3249
3263
  function(t, r) {
3250
3264
  return t.codePointAt(r);
@@ -3258,7 +3272,7 @@ var wt = oi ? (
3258
3272
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3259
3273
  }
3260
3274
  }
3261
- ), mi = li ? (
3275
+ ), bi = ci ? (
3262
3276
  // Native
3263
3277
  function(t) {
3264
3278
  return t.trimStart();
@@ -3266,9 +3280,9 @@ var wt = oi ? (
3266
3280
  ) : (
3267
3281
  // Ponyfill
3268
3282
  function(t) {
3269
- return t.replace(ni, "");
3283
+ return t.replace(oi, "");
3270
3284
  }
3271
- ), pi = hi ? (
3285
+ ), gi = fi ? (
3272
3286
  // Native
3273
3287
  function(t) {
3274
3288
  return t.trimEnd();
@@ -3276,32 +3290,32 @@ var wt = oi ? (
3276
3290
  ) : (
3277
3291
  // Ponyfill
3278
3292
  function(t) {
3279
- return t.replace(ii, "");
3293
+ return t.replace(si, "");
3280
3294
  }
3281
3295
  );
3282
- function cr(e, t) {
3296
+ function pr(e, t) {
3283
3297
  return new RegExp(e, t);
3284
3298
  }
3285
- var Qe;
3286
- if (We) {
3287
- var Tt = cr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3288
- Qe = function(t, r) {
3299
+ var Je;
3300
+ if (Ze) {
3301
+ var At = pr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3302
+ Je = function(t, r) {
3289
3303
  var n;
3290
- Tt.lastIndex = r;
3291
- var i = Tt.exec(t);
3304
+ At.lastIndex = r;
3305
+ var i = At.exec(t);
3292
3306
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3293
3307
  };
3294
3308
  } else
3295
- Qe = function(t, r) {
3309
+ Je = function(t, r) {
3296
3310
  for (var n = []; ; ) {
3297
- var i = fr(t, r);
3298
- if (i === void 0 || dr(i) || vi(i))
3311
+ var i = dr(t, r);
3312
+ if (i === void 0 || br(i) || xi(i))
3299
3313
  break;
3300
3314
  n.push(i), r += i >= 65536 ? 2 : 1;
3301
3315
  }
3302
- return Ze.apply(void 0, n);
3316
+ return Qe.apply(void 0, n);
3303
3317
  };
3304
- var bi = (
3318
+ var yi = (
3305
3319
  /** @class */
3306
3320
  function() {
3307
3321
  function e(t, r) {
@@ -3332,7 +3346,7 @@ var bi = (
3332
3346
  if (n)
3333
3347
  break;
3334
3348
  return this.error(y.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
3335
- } else if (o === 60 && !this.ignoreTag && Je(this.peek() || 0)) {
3349
+ } else if (o === 60 && !this.ignoreTag && qe(this.peek() || 0)) {
3336
3350
  var a = this.parseTag(t, r);
3337
3351
  if (a.err)
3338
3352
  return a;
@@ -3365,7 +3379,7 @@ var bi = (
3365
3379
  return o;
3366
3380
  var a = o.val, s = this.clonePosition();
3367
3381
  if (this.bumpIf("</")) {
3368
- if (this.isEOF() || !Je(this.char()))
3382
+ if (this.isEOF() || !qe(this.char()))
3369
3383
  return this.error(y.INVALID_TAG, _(s, this.clonePosition()));
3370
3384
  var l = this.clonePosition(), u = this.parseTagName();
3371
3385
  return i !== u ? this.error(y.UNMATCHED_CLOSING_TAG, _(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
@@ -3383,7 +3397,7 @@ var bi = (
3383
3397
  return this.error(y.INVALID_TAG, _(n, this.clonePosition()));
3384
3398
  }, e.prototype.parseTagName = function() {
3385
3399
  var t = this.offset();
3386
- for (this.bump(); !this.isEOF() && yi(this.char()); )
3400
+ for (this.bump(); !this.isEOF() && _i(this.char()); )
3387
3401
  this.bump();
3388
3402
  return this.message.slice(t, this.offset());
3389
3403
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3412,7 +3426,7 @@ var bi = (
3412
3426
  };
3413
3427
  }, e.prototype.tryParseLeftAngleBracket = function() {
3414
3428
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3415
- !gi(this.peek() || 0)) ? (this.bump(), "<") : null;
3429
+ !vi(this.peek() || 0)) ? (this.bump(), "<") : null;
3416
3430
  }, e.prototype.tryParseQuote = function(t) {
3417
3431
  if (this.isEOF() || this.char() !== 39)
3418
3432
  return null;
@@ -3446,12 +3460,12 @@ var bi = (
3446
3460
  r.push(n);
3447
3461
  this.bump();
3448
3462
  }
3449
- return Ze.apply(void 0, r);
3463
+ return Qe.apply(void 0, r);
3450
3464
  }, e.prototype.tryParseUnquoted = function(t, r) {
3451
3465
  if (this.isEOF())
3452
3466
  return null;
3453
3467
  var n = this.char();
3454
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ze(n));
3468
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Qe(n));
3455
3469
  }, e.prototype.parseArgument = function(t, r) {
3456
3470
  var n = this.clonePosition();
3457
3471
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3480,7 +3494,7 @@ var bi = (
3480
3494
  return this.error(y.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
3481
3495
  }
3482
3496
  }, e.prototype.parseIdentifierIfPossible = function() {
3483
- var t = this.clonePosition(), r = this.offset(), n = Qe(this.message, r), i = r + n.length;
3497
+ var t = this.clonePosition(), r = this.offset(), n = Je(this.message, r), i = r + n.length;
3484
3498
  this.bumpTo(i);
3485
3499
  var o = this.clonePosition(), a = _(t, o);
3486
3500
  return { value: n, location: a };
@@ -3496,40 +3510,40 @@ var bi = (
3496
3510
  var u = null;
3497
3511
  if (this.bumpIf(",")) {
3498
3512
  this.bumpSpace();
3499
- var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3500
- if (f.err)
3501
- return f;
3502
- var c = pi(f.val);
3503
- if (c.length === 0)
3513
+ var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3514
+ if (c.err)
3515
+ return c;
3516
+ var f = gi(c.val);
3517
+ if (f.length === 0)
3504
3518
  return this.error(y.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
3505
- var m = _(h, this.clonePosition());
3506
- u = { style: c, styleLocation: m };
3519
+ var d = _(h, this.clonePosition());
3520
+ u = { style: f, styleLocation: d };
3507
3521
  }
3508
- var d = this.tryParseArgumentClose(i);
3509
- if (d.err)
3510
- return d;
3522
+ var m = this.tryParseArgumentClose(i);
3523
+ if (m.err)
3524
+ return m;
3511
3525
  var p = _(i, this.clonePosition());
3512
- if (u && wt(u?.style, "::", 0)) {
3513
- var g = mi(u.style.slice(2));
3526
+ if (u && Tt(u?.style, "::", 0)) {
3527
+ var g = bi(u.style.slice(2));
3514
3528
  if (s === "number") {
3515
- var f = this.parseNumberSkeletonFromString(g, u.styleLocation);
3516
- return f.err ? f : {
3517
- val: { type: S.number, value: n, location: p, style: f.val },
3529
+ var c = this.parseNumberSkeletonFromString(g, u.styleLocation);
3530
+ return c.err ? c : {
3531
+ val: { type: S.number, value: n, location: p, style: c.val },
3518
3532
  err: null
3519
3533
  };
3520
3534
  } else {
3521
3535
  if (g.length === 0)
3522
3536
  return this.error(y.EXPECT_DATE_TIME_SKELETON, p);
3523
- var H = g;
3524
- this.locale && (H = ti(g, this.locale));
3525
- var c = {
3537
+ var A = g;
3538
+ this.locale && (A = ni(g, this.locale));
3539
+ var f = {
3526
3540
  type: Q.dateTime,
3527
- pattern: H,
3541
+ pattern: A,
3528
3542
  location: u.styleLocation,
3529
- parsedOptions: this.shouldParseSkeletons ? Zn(H) : {}
3530
- }, A = s === "date" ? S.date : S.time;
3543
+ parsedOptions: this.shouldParseSkeletons ? Jn(A) : {}
3544
+ }, T = s === "date" ? S.date : S.time;
3531
3545
  return {
3532
- val: { type: A, value: n, location: p, style: c },
3546
+ val: { type: T, value: n, location: p, style: f },
3533
3547
  err: null
3534
3548
  };
3535
3549
  }
@@ -3556,23 +3570,23 @@ var bi = (
3556
3570
  if (!this.bumpIf(":"))
3557
3571
  return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
3558
3572
  this.bumpSpace();
3559
- var f = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3560
- if (f.err)
3561
- return f;
3562
- this.bumpSpace(), w = this.parseIdentifierIfPossible(), b = f.val;
3573
+ var c = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3574
+ if (c.err)
3575
+ return c;
3576
+ this.bumpSpace(), w = this.parseIdentifierIfPossible(), b = c.val;
3563
3577
  }
3564
3578
  var B = this.tryParsePluralOrSelectOptions(t, s, r, w);
3565
3579
  if (B.err)
3566
3580
  return B;
3567
- var d = this.tryParseArgumentClose(i);
3568
- if (d.err)
3569
- return d;
3581
+ var m = this.tryParseArgumentClose(i);
3582
+ if (m.err)
3583
+ return m;
3570
3584
  var he = _(i, this.clonePosition());
3571
3585
  return s === "select" ? {
3572
3586
  val: {
3573
3587
  type: S.select,
3574
3588
  value: n,
3575
- options: St(B.val),
3589
+ options: Ht(B.val),
3576
3590
  location: he
3577
3591
  },
3578
3592
  err: null
@@ -3580,7 +3594,7 @@ var bi = (
3580
3594
  val: {
3581
3595
  type: S.plural,
3582
3596
  value: n,
3583
- options: St(B.val),
3597
+ options: Ht(B.val),
3584
3598
  offset: b,
3585
3599
  pluralType: s === "plural" ? "cardinal" : "ordinal",
3586
3600
  location: he
@@ -3631,7 +3645,7 @@ var bi = (
3631
3645
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3632
3646
  var n = [];
3633
3647
  try {
3634
- n = Jn(t);
3648
+ n = Yn(t);
3635
3649
  } catch {
3636
3650
  return this.error(y.INVALID_NUMBER_SKELETON, r);
3637
3651
  }
@@ -3640,39 +3654,39 @@ var bi = (
3640
3654
  type: Q.number,
3641
3655
  tokens: n,
3642
3656
  location: r,
3643
- parsedOptions: this.shouldParseSkeletons ? ei(n) : {}
3657
+ parsedOptions: this.shouldParseSkeletons ? ri(n) : {}
3644
3658
  },
3645
3659
  err: null
3646
3660
  };
3647
3661
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3648
3662
  for (var o, a = !1, s = [], l = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
3649
3663
  if (u.length === 0) {
3650
- var f = this.clonePosition();
3664
+ var c = this.clonePosition();
3651
3665
  if (r !== "select" && this.bumpIf("=")) {
3652
- var c = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_SELECTOR, y.INVALID_PLURAL_ARGUMENT_SELECTOR);
3653
- if (c.err)
3654
- return c;
3655
- h = _(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
3666
+ var f = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_SELECTOR, y.INVALID_PLURAL_ARGUMENT_SELECTOR);
3667
+ if (f.err)
3668
+ return f;
3669
+ h = _(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
3656
3670
  } else
3657
3671
  break;
3658
3672
  }
3659
3673
  if (l.has(u))
3660
3674
  return this.error(r === "select" ? y.DUPLICATE_SELECT_ARGUMENT_SELECTOR : y.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3661
3675
  u === "other" && (a = !0), this.bumpSpace();
3662
- var m = this.clonePosition();
3676
+ var d = this.clonePosition();
3663
3677
  if (!this.bumpIf("{"))
3664
3678
  return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, _(this.clonePosition(), this.clonePosition()));
3665
- var d = this.parseMessage(t + 1, r, n);
3666
- if (d.err)
3667
- return d;
3668
- var p = this.tryParseArgumentClose(m);
3679
+ var m = this.parseMessage(t + 1, r, n);
3680
+ if (m.err)
3681
+ return m;
3682
+ var p = this.tryParseArgumentClose(d);
3669
3683
  if (p.err)
3670
3684
  return p;
3671
3685
  s.push([
3672
3686
  u,
3673
3687
  {
3674
- value: d.val,
3675
- location: _(m, this.clonePosition())
3688
+ value: m.val,
3689
+ location: _(d, this.clonePosition())
3676
3690
  }
3677
3691
  ]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
3678
3692
  }
@@ -3688,7 +3702,7 @@ var bi = (
3688
3702
  break;
3689
3703
  }
3690
3704
  var l = _(i, this.clonePosition());
3691
- return o ? (a *= n, ci(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3705
+ return o ? (a *= n, di(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3692
3706
  }, e.prototype.offset = function() {
3693
3707
  return this.position.offset;
3694
3708
  }, e.prototype.isEOF = function() {
@@ -3703,7 +3717,7 @@ var bi = (
3703
3717
  var t = this.position.offset;
3704
3718
  if (t >= this.message.length)
3705
3719
  throw Error("out of bound");
3706
- var r = fr(this.message, t);
3720
+ var r = dr(this.message, t);
3707
3721
  if (r === void 0)
3708
3722
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3709
3723
  return r;
@@ -3722,7 +3736,7 @@ var bi = (
3722
3736
  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);
3723
3737
  }
3724
3738
  }, e.prototype.bumpIf = function(t) {
3725
- if (wt(this.message, t, this.offset())) {
3739
+ if (Tt(this.message, t, this.offset())) {
3726
3740
  for (var r = 0; r < t.length; r++)
3727
3741
  this.bump();
3728
3742
  return !0;
@@ -3744,7 +3758,7 @@ var bi = (
3744
3758
  break;
3745
3759
  }
3746
3760
  }, e.prototype.bumpSpace = function() {
3747
- for (; !this.isEOF() && dr(this.char()); )
3761
+ for (; !this.isEOF() && br(this.char()); )
3748
3762
  this.bump();
3749
3763
  }, e.prototype.peek = function() {
3750
3764
  if (this.isEOF())
@@ -3754,38 +3768,38 @@ var bi = (
3754
3768
  }, e;
3755
3769
  }()
3756
3770
  );
3757
- function Je(e) {
3771
+ function qe(e) {
3758
3772
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3759
3773
  }
3760
- function gi(e) {
3761
- return Je(e) || e === 47;
3774
+ function vi(e) {
3775
+ return qe(e) || e === 47;
3762
3776
  }
3763
- function yi(e) {
3777
+ function _i(e) {
3764
3778
  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;
3765
3779
  }
3766
- function dr(e) {
3780
+ function br(e) {
3767
3781
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3768
3782
  }
3769
- function vi(e) {
3783
+ function xi(e) {
3770
3784
  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;
3771
3785
  }
3772
- function qe(e) {
3786
+ function Ye(e) {
3773
3787
  e.forEach(function(t) {
3774
- if (delete t.location, nr(t) || ir(t))
3788
+ if (delete t.location, sr(t) || ar(t))
3775
3789
  for (var r in t.options)
3776
- delete t.options[r].location, qe(t.options[r].value);
3790
+ delete t.options[r].location, Ye(t.options[r].value);
3777
3791
  else
3778
- er(t) && sr(t.style) || (tr(t) || rr(t)) && ze(t.style) ? delete t.style.location : or(t) && qe(t.children);
3792
+ nr(t) && lr(t.style) || (ir(t) || or(t)) && We(t.style) ? delete t.style.location : ur(t) && Ye(t.children);
3779
3793
  });
3780
3794
  }
3781
- function _i(e, t) {
3795
+ function Ei(e, t) {
3782
3796
  t === void 0 && (t = {}), t = E({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3783
- var r = new bi(e, t).parse();
3797
+ var r = new yi(e, t).parse();
3784
3798
  if (r.err) {
3785
3799
  var n = SyntaxError(y[r.err.kind]);
3786
3800
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3787
3801
  }
3788
- return t?.captureLocation || qe(r.val), r.val;
3802
+ return t?.captureLocation || Ye(r.val), r.val;
3789
3803
  }
3790
3804
  var J;
3791
3805
  (function(e) {
@@ -3803,7 +3817,7 @@ var Ae = (
3803
3817
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3804
3818
  }, t;
3805
3819
  }(Error)
3806
- ), Ht = (
3820
+ ), Bt = (
3807
3821
  /** @class */
3808
3822
  function(e) {
3809
3823
  R(t, e);
@@ -3812,7 +3826,7 @@ var Ae = (
3812
3826
  }
3813
3827
  return t;
3814
3828
  }(Ae)
3815
- ), xi = (
3829
+ ), wi = (
3816
3830
  /** @class */
3817
3831
  function(e) {
3818
3832
  R(t, e);
@@ -3821,7 +3835,7 @@ var Ae = (
3821
3835
  }
3822
3836
  return t;
3823
3837
  }(Ae)
3824
- ), Ei = (
3838
+ ), Si = (
3825
3839
  /** @class */
3826
3840
  function(e) {
3827
3841
  R(t, e);
@@ -3834,17 +3848,17 @@ var Ae = (
3834
3848
  (function(e) {
3835
3849
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3836
3850
  })(P || (P = {}));
3837
- function wi(e) {
3851
+ function Ti(e) {
3838
3852
  return e.length < 2 ? e : e.reduce(function(t, r) {
3839
3853
  var n = t[t.length - 1];
3840
3854
  return !n || n.type !== P.literal || r.type !== P.literal ? t.push(r) : n.value += r.value, t;
3841
3855
  }, []);
3842
3856
  }
3843
- function Si(e) {
3857
+ function Hi(e) {
3844
3858
  return typeof e == "function";
3845
3859
  }
3846
3860
  function ge(e, t, r, n, i, o, a) {
3847
- if (e.length === 1 && vt(e[0]))
3861
+ if (e.length === 1 && xt(e[0]))
3848
3862
  return [
3849
3863
  {
3850
3864
  type: P.literal,
@@ -3853,105 +3867,105 @@ function ge(e, t, r, n, i, o, a) {
3853
3867
  ];
3854
3868
  for (var s = [], l = 0, u = e; l < u.length; l++) {
3855
3869
  var h = u[l];
3856
- if (vt(h)) {
3870
+ if (xt(h)) {
3857
3871
  s.push({
3858
3872
  type: P.literal,
3859
3873
  value: h.value
3860
3874
  });
3861
3875
  continue;
3862
3876
  }
3863
- if (zn(h)) {
3877
+ if (Zn(h)) {
3864
3878
  typeof o == "number" && s.push({
3865
3879
  type: P.literal,
3866
3880
  value: r.getNumberFormat(t).format(o)
3867
3881
  });
3868
3882
  continue;
3869
3883
  }
3870
- var f = h.value;
3871
- if (!(i && f in i))
3872
- throw new Ei(f, a);
3873
- var c = i[f];
3874
- if (Xn(h)) {
3875
- (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), s.push({
3876
- type: typeof c == "string" ? P.literal : P.object,
3877
- value: c
3884
+ var c = h.value;
3885
+ if (!(i && c in i))
3886
+ throw new Si(c, a);
3887
+ var f = i[c];
3888
+ if (Wn(h)) {
3889
+ (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), s.push({
3890
+ type: typeof f == "string" ? P.literal : P.object,
3891
+ value: f
3878
3892
  });
3879
3893
  continue;
3880
3894
  }
3881
- if (tr(h)) {
3882
- var m = typeof h.style == "string" ? n.date[h.style] : ze(h.style) ? h.style.parsedOptions : void 0;
3895
+ if (ir(h)) {
3896
+ var d = typeof h.style == "string" ? n.date[h.style] : We(h.style) ? h.style.parsedOptions : void 0;
3883
3897
  s.push({
3884
3898
  type: P.literal,
3885
- value: r.getDateTimeFormat(t, m).format(c)
3899
+ value: r.getDateTimeFormat(t, d).format(f)
3886
3900
  });
3887
3901
  continue;
3888
3902
  }
3889
- if (rr(h)) {
3890
- var m = typeof h.style == "string" ? n.time[h.style] : ze(h.style) ? h.style.parsedOptions : n.time.medium;
3903
+ if (or(h)) {
3904
+ var d = typeof h.style == "string" ? n.time[h.style] : We(h.style) ? h.style.parsedOptions : n.time.medium;
3891
3905
  s.push({
3892
3906
  type: P.literal,
3893
- value: r.getDateTimeFormat(t, m).format(c)
3907
+ value: r.getDateTimeFormat(t, d).format(f)
3894
3908
  });
3895
3909
  continue;
3896
3910
  }
3897
- if (er(h)) {
3898
- var m = typeof h.style == "string" ? n.number[h.style] : sr(h.style) ? h.style.parsedOptions : void 0;
3899
- m && m.scale && (c = c * (m.scale || 1)), s.push({
3911
+ if (nr(h)) {
3912
+ var d = typeof h.style == "string" ? n.number[h.style] : lr(h.style) ? h.style.parsedOptions : void 0;
3913
+ d && d.scale && (f = f * (d.scale || 1)), s.push({
3900
3914
  type: P.literal,
3901
- value: r.getNumberFormat(t, m).format(c)
3915
+ value: r.getNumberFormat(t, d).format(f)
3902
3916
  });
3903
3917
  continue;
3904
3918
  }
3905
- if (or(h)) {
3906
- var d = h.children, p = h.value, g = i[p];
3907
- if (!Si(g))
3908
- throw new xi(p, "function", a);
3909
- var H = ge(d, t, r, n, i, o), A = g(H.map(function(b) {
3919
+ if (ur(h)) {
3920
+ var m = h.children, p = h.value, g = i[p];
3921
+ if (!Hi(g))
3922
+ throw new wi(p, "function", a);
3923
+ var A = ge(m, t, r, n, i, o), T = g(A.map(function(b) {
3910
3924
  return b.value;
3911
3925
  }));
3912
- Array.isArray(A) || (A = [A]), s.push.apply(s, A.map(function(b) {
3926
+ Array.isArray(T) || (T = [T]), s.push.apply(s, T.map(function(b) {
3913
3927
  return {
3914
3928
  type: typeof b == "string" ? P.literal : P.object,
3915
3929
  value: b
3916
3930
  };
3917
3931
  }));
3918
3932
  }
3919
- if (nr(h)) {
3920
- var x = h.options[c] || h.options.other;
3933
+ if (sr(h)) {
3934
+ var x = h.options[f] || h.options.other;
3921
3935
  if (!x)
3922
- throw new Ht(h.value, c, Object.keys(h.options), a);
3936
+ throw new Bt(h.value, f, Object.keys(h.options), a);
3923
3937
  s.push.apply(s, ge(x.value, t, r, n, i));
3924
3938
  continue;
3925
3939
  }
3926
- if (ir(h)) {
3927
- var x = h.options["=".concat(c)];
3940
+ if (ar(h)) {
3941
+ var x = h.options["=".concat(f)];
3928
3942
  if (!x) {
3929
3943
  if (!Intl.PluralRules)
3930
3944
  throw new Ae(`Intl.PluralRules is not available in this environment.
3931
3945
  Try polyfilling it using "@formatjs/intl-pluralrules"
3932
3946
  `, J.MISSING_INTL_API, a);
3933
- var w = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
3947
+ var w = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3934
3948
  x = h.options[w] || h.options.other;
3935
3949
  }
3936
3950
  if (!x)
3937
- throw new Ht(h.value, c, Object.keys(h.options), a);
3938
- s.push.apply(s, ge(x.value, t, r, n, i, c - (h.offset || 0)));
3951
+ throw new Bt(h.value, f, Object.keys(h.options), a);
3952
+ s.push.apply(s, ge(x.value, t, r, n, i, f - (h.offset || 0)));
3939
3953
  continue;
3940
3954
  }
3941
3955
  }
3942
- return wi(s);
3956
+ return Ti(s);
3943
3957
  }
3944
- function Ti(e, t) {
3958
+ function Ai(e, t) {
3945
3959
  return t ? E(E(E({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3946
3960
  return r[n] = E(E({}, e[n]), t[n] || {}), r;
3947
3961
  }, {})) : e;
3948
3962
  }
3949
- function Hi(e, t) {
3963
+ function Bi(e, t) {
3950
3964
  return t ? Object.keys(e).reduce(function(r, n) {
3951
- return r[n] = Ti(e[n], t[n]), r;
3965
+ return r[n] = Ai(e[n], t[n]), r;
3952
3966
  }, E({}, e)) : e;
3953
3967
  }
3954
- function Re(e) {
3968
+ function $e(e) {
3955
3969
  return {
3956
3970
  create: function() {
3957
3971
  return {
@@ -3965,39 +3979,39 @@ function Re(e) {
3965
3979
  }
3966
3980
  };
3967
3981
  }
3968
- function Ai(e) {
3982
+ function Ci(e) {
3969
3983
  return e === void 0 && (e = {
3970
3984
  number: {},
3971
3985
  dateTime: {},
3972
3986
  pluralRules: {}
3973
3987
  }), {
3974
- getNumberFormat: Me(function() {
3988
+ getNumberFormat: Ne(function() {
3975
3989
  for (var t, r = [], n = 0; n < arguments.length; n++)
3976
3990
  r[n] = arguments[n];
3977
3991
  return new ((t = Intl.NumberFormat).bind.apply(t, W([void 0], r, !1)))();
3978
3992
  }, {
3979
- cache: Re(e.number),
3980
- strategy: Ne.variadic
3993
+ cache: $e(e.number),
3994
+ strategy: Le.variadic
3981
3995
  }),
3982
- getDateTimeFormat: Me(function() {
3996
+ getDateTimeFormat: Ne(function() {
3983
3997
  for (var t, r = [], n = 0; n < arguments.length; n++)
3984
3998
  r[n] = arguments[n];
3985
3999
  return new ((t = Intl.DateTimeFormat).bind.apply(t, W([void 0], r, !1)))();
3986
4000
  }, {
3987
- cache: Re(e.dateTime),
3988
- strategy: Ne.variadic
4001
+ cache: $e(e.dateTime),
4002
+ strategy: Le.variadic
3989
4003
  }),
3990
- getPluralRules: Me(function() {
4004
+ getPluralRules: Ne(function() {
3991
4005
  for (var t, r = [], n = 0; n < arguments.length; n++)
3992
4006
  r[n] = arguments[n];
3993
4007
  return new ((t = Intl.PluralRules).bind.apply(t, W([void 0], r, !1)))();
3994
4008
  }, {
3995
- cache: Re(e.pluralRules),
3996
- strategy: Ne.variadic
4009
+ cache: $e(e.pluralRules),
4010
+ strategy: Le.variadic
3997
4011
  })
3998
4012
  };
3999
4013
  }
4000
- var Bi = (
4014
+ var Pi = (
4001
4015
  /** @class */
4002
4016
  function() {
4003
4017
  function e(t, r, n, i) {
@@ -4011,8 +4025,8 @@ var Bi = (
4011
4025
  var u = o.formatToParts(l);
4012
4026
  if (u.length === 1)
4013
4027
  return u[0].value;
4014
- var h = u.reduce(function(f, c) {
4015
- return !f.length || c.type !== P.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
4028
+ var h = u.reduce(function(c, f) {
4029
+ return !c.length || f.type !== P.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
4016
4030
  }, []);
4017
4031
  return h.length <= 1 ? h[0] || "" : h;
4018
4032
  }, this.formatToParts = function(l) {
@@ -4029,13 +4043,13 @@ var Bi = (
4029
4043
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
4030
4044
  var a = i || {};
4031
4045
  a.formatters;
4032
- var s = sn(a, ["formatters"]);
4046
+ var s = ln(a, ["formatters"]);
4033
4047
  this.ast = e.__parse(t, E(E({}, s), { locale: this.resolvedLocale }));
4034
4048
  } else
4035
4049
  this.ast = t;
4036
4050
  if (!Array.isArray(this.ast))
4037
4051
  throw new TypeError("A message must be provided as a String or AST.");
4038
- this.formats = Hi(e.formats, n), this.formatters = i && i.formatters || Ai(this.formatterCache);
4052
+ this.formats = Bi(e.formats, n), this.formatters = i && i.formatters || Ci(this.formatterCache);
4039
4053
  }
4040
4054
  return Object.defineProperty(e, "defaultLocale", {
4041
4055
  get: function() {
@@ -4048,7 +4062,7 @@ var Bi = (
4048
4062
  var r = Intl.NumberFormat.supportedLocalesOf(t);
4049
4063
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
4050
4064
  }
4051
- }, e.__parse = _i, e.formats = {
4065
+ }, e.__parse = Ei, e.formats = {
4052
4066
  number: {
4053
4067
  integer: {
4054
4068
  maximumFractionDigits: 0
@@ -4109,7 +4123,7 @@ var Bi = (
4109
4123
  }, e;
4110
4124
  }()
4111
4125
  );
4112
- function Ci(e, t) {
4126
+ function Oi(e, t) {
4113
4127
  if (t == null)
4114
4128
  return;
4115
4129
  if (t in e)
@@ -4130,92 +4144,92 @@ function Ci(e, t) {
4130
4144
  n = void 0;
4131
4145
  return n;
4132
4146
  }
4133
- const $ = {}, Pi = (e, t, r) => r && (t in $ || ($[t] = {}), e in $[t] || ($[t][e] = r), r), mr = (e, t) => {
4147
+ const $ = {}, Ii = (e, t, r) => r && (t in $ || ($[t] = {}), e in $[t] || ($[t][e] = r), r), gr = (e, t) => {
4134
4148
  if (t == null)
4135
4149
  return;
4136
4150
  if (t in $ && e in $[t])
4137
4151
  return $[t][e];
4138
4152
  const r = Be(t);
4139
4153
  for (let n = 0; n < r.length; n++) {
4140
- const i = r[n], o = Ii(i, e);
4154
+ const i = r[n], o = Ni(i, e);
4141
4155
  if (o)
4142
- return Pi(e, t, o);
4156
+ return Ii(e, t, o);
4143
4157
  }
4144
4158
  };
4145
- let it;
4159
+ let st;
4146
4160
  const le = He({});
4147
- function Oi(e) {
4148
- return it[e] || null;
4161
+ function Mi(e) {
4162
+ return st[e] || null;
4149
4163
  }
4150
- function pr(e) {
4151
- return e in it;
4164
+ function yr(e) {
4165
+ return e in st;
4152
4166
  }
4153
- function Ii(e, t) {
4154
- if (!pr(e))
4167
+ function Ni(e, t) {
4168
+ if (!yr(e))
4155
4169
  return null;
4156
- const r = Oi(e);
4157
- return Ci(r, t);
4170
+ const r = Mi(e);
4171
+ return Oi(r, t);
4158
4172
  }
4159
- function Mi(e) {
4173
+ function Li(e) {
4160
4174
  if (e == null)
4161
4175
  return;
4162
4176
  const t = Be(e);
4163
4177
  for (let r = 0; r < t.length; r++) {
4164
4178
  const n = t[r];
4165
- if (pr(n))
4179
+ if (yr(n))
4166
4180
  return n;
4167
4181
  }
4168
4182
  }
4169
- function br(e, ...t) {
4170
- delete $[e], le.update((r) => (r[e] = $n.all([r[e] || {}, ...t]), r));
4183
+ function vr(e, ...t) {
4184
+ delete $[e], le.update((r) => (r[e] = Dn.all([r[e] || {}, ...t]), r));
4171
4185
  }
4172
4186
  Y(
4173
4187
  [le],
4174
4188
  ([e]) => Object.keys(e)
4175
4189
  );
4176
- le.subscribe((e) => it = e);
4190
+ le.subscribe((e) => st = e);
4177
4191
  const ye = {};
4178
- function Ni(e, t) {
4192
+ function Ri(e, t) {
4179
4193
  ye[e].delete(t), ye[e].size === 0 && delete ye[e];
4180
4194
  }
4181
- function gr(e) {
4195
+ function _r(e) {
4182
4196
  return ye[e];
4183
4197
  }
4184
- function Li(e) {
4198
+ function $i(e) {
4185
4199
  return Be(e).map((t) => {
4186
- const r = gr(t);
4200
+ const r = _r(t);
4187
4201
  return [t, r ? [...r] : []];
4188
4202
  }).filter(([, t]) => t.length > 0);
4189
4203
  }
4190
- function Ye(e) {
4204
+ function Ke(e) {
4191
4205
  return e == null ? !1 : Be(e).some(
4192
4206
  (t) => {
4193
4207
  var r;
4194
- return (r = gr(t)) == null ? void 0 : r.size;
4208
+ return (r = _r(t)) == null ? void 0 : r.size;
4195
4209
  }
4196
4210
  );
4197
4211
  }
4198
- function Ri(e, t) {
4212
+ function Gi(e, t) {
4199
4213
  return Promise.all(
4200
- t.map((n) => (Ni(e, n), n().then((i) => i.default || i)))
4201
- ).then((n) => br(e, ...n));
4214
+ t.map((n) => (Ri(e, n), n().then((i) => i.default || i)))
4215
+ ).then((n) => vr(e, ...n));
4202
4216
  }
4203
4217
  const re = {};
4204
- function yr(e) {
4205
- if (!Ye(e))
4218
+ function xr(e) {
4219
+ if (!Ke(e))
4206
4220
  return e in re ? re[e] : Promise.resolve();
4207
- const t = Li(e);
4221
+ const t = $i(e);
4208
4222
  return re[e] = Promise.all(
4209
4223
  t.map(
4210
- ([r, n]) => Ri(r, n)
4224
+ ([r, n]) => Gi(r, n)
4211
4225
  )
4212
4226
  ).then(() => {
4213
- if (Ye(e))
4214
- return yr(e);
4227
+ if (Ke(e))
4228
+ return xr(e);
4215
4229
  delete re[e];
4216
4230
  }), re[e];
4217
4231
  }
4218
- const $i = {
4232
+ const Ui = {
4219
4233
  number: {
4220
4234
  scientific: { notation: "scientific" },
4221
4235
  engineering: { notation: "engineering" },
@@ -4244,57 +4258,57 @@ const $i = {
4244
4258
  timeZoneName: "short"
4245
4259
  }
4246
4260
  }
4247
- }, Gi = {
4261
+ }, Di = {
4248
4262
  fallbackLocale: null,
4249
4263
  loadingDelay: 200,
4250
- formats: $i,
4264
+ formats: Ui,
4251
4265
  warnOnMissingMessages: !0,
4252
4266
  handleMissingMessage: void 0,
4253
4267
  ignoreTag: !0
4254
- }, Ui = Gi;
4268
+ }, Fi = Di;
4255
4269
  function q() {
4256
- return Ui;
4257
- }
4258
- const $e = He(!1);
4259
- var Di = Object.defineProperty, Fi = Object.defineProperties, ji = Object.getOwnPropertyDescriptors, At = Object.getOwnPropertySymbols, ki = Object.prototype.hasOwnProperty, Vi = Object.prototype.propertyIsEnumerable, Bt = (e, t, r) => t in e ? Di(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Xi = (e, t) => {
4260
- for (var r in t)
4261
- ki.call(t, r) && Bt(e, r, t[r]);
4262
- if (At)
4263
- for (var r of At(t))
4264
- Vi.call(t, r) && Bt(e, r, t[r]);
4270
+ return Fi;
4271
+ }
4272
+ const Ge = He(!1);
4273
+ var ji = Object.defineProperty, ki = Object.defineProperties, Vi = Object.getOwnPropertyDescriptors, Ct = Object.getOwnPropertySymbols, Xi = Object.prototype.hasOwnProperty, zi = Object.prototype.propertyIsEnumerable, Pt = (e, t, r) => t in e ? ji(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Wi = (e, t) => {
4274
+ for (var r in t || (t = {}))
4275
+ Xi.call(t, r) && Pt(e, r, t[r]);
4276
+ if (Ct)
4277
+ for (var r of Ct(t))
4278
+ zi.call(t, r) && Pt(e, r, t[r]);
4265
4279
  return e;
4266
- }, zi = (e, t) => Fi(e, ji(t));
4267
- let Ke;
4280
+ }, Zi = (e, t) => ki(e, Vi(t));
4281
+ let et;
4268
4282
  const Ee = He(null);
4269
- function Ct(e) {
4283
+ function Ot(e) {
4270
4284
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4271
4285
  }
4272
4286
  function Be(e, t = q().fallbackLocale) {
4273
- const r = Ct(e);
4274
- return t ? [.../* @__PURE__ */ new Set([...r, ...Ct(t)])] : r;
4287
+ const r = Ot(e);
4288
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Ot(t)])] : r;
4275
4289
  }
4276
4290
  function D() {
4277
- return Ke ?? void 0;
4291
+ return et ?? void 0;
4278
4292
  }
4279
4293
  Ee.subscribe((e) => {
4280
- Ke = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4294
+ et = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4281
4295
  });
4282
- const Wi = (e) => {
4283
- if (e && Mi(e) && Ye(e)) {
4296
+ const Qi = (e) => {
4297
+ if (e && Li(e) && Ke(e)) {
4284
4298
  const { loadingDelay: t } = q();
4285
4299
  let r;
4286
4300
  return typeof window < "u" && D() != null && t ? r = window.setTimeout(
4287
- () => $e.set(!0),
4301
+ () => Ge.set(!0),
4288
4302
  t
4289
- ) : $e.set(!0), yr(e).then(() => {
4303
+ ) : Ge.set(!0), xr(e).then(() => {
4290
4304
  Ee.set(e);
4291
4305
  }).finally(() => {
4292
- clearTimeout(r), $e.set(!1);
4306
+ clearTimeout(r), Ge.set(!1);
4293
4307
  });
4294
4308
  }
4295
4309
  return Ee.set(e);
4296
- }, K = zi(Xi({}, Ee), {
4297
- set: Wi
4310
+ }, K = Zi(Wi({}, Ee), {
4311
+ set: Qi
4298
4312
  }), Ce = (e) => {
4299
4313
  const t = /* @__PURE__ */ Object.create(null);
4300
4314
  return (n) => {
@@ -4302,20 +4316,20 @@ const Wi = (e) => {
4302
4316
  return i in t ? t[i] : t[i] = e(n);
4303
4317
  };
4304
4318
  };
4305
- var Zi = Object.defineProperty, we = Object.getOwnPropertySymbols, vr = Object.prototype.hasOwnProperty, _r = 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) => {
4319
+ var Ji = Object.defineProperty, we = Object.getOwnPropertySymbols, Er = Object.prototype.hasOwnProperty, wr = Object.prototype.propertyIsEnumerable, It = (e, t, r) => t in e ? Ji(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, at = (e, t) => {
4306
4320
  for (var r in t || (t = {}))
4307
- vr.call(t, r) && Pt(e, r, t[r]);
4321
+ Er.call(t, r) && It(e, r, t[r]);
4308
4322
  if (we)
4309
4323
  for (var r of we(t))
4310
- _r.call(t, r) && Pt(e, r, t[r]);
4324
+ wr.call(t, r) && It(e, r, t[r]);
4311
4325
  return e;
4312
4326
  }, ee = (e, t) => {
4313
4327
  var r = {};
4314
4328
  for (var n in e)
4315
- vr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4329
+ Er.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4316
4330
  if (e != null && we)
4317
4331
  for (var n of we(e))
4318
- t.indexOf(n) < 0 && _r.call(e, n) && (r[n] = e[n]);
4332
+ t.indexOf(n) < 0 && wr.call(e, n) && (r[n] = e[n]);
4319
4333
  return r;
4320
4334
  };
4321
4335
  const se = (e, t) => {
@@ -4323,21 +4337,21 @@ const se = (e, t) => {
4323
4337
  if (e in r && t in r[e])
4324
4338
  return r[e][t];
4325
4339
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4326
- }, Qi = Ce(
4340
+ }, qi = Ce(
4327
4341
  (e) => {
4328
4342
  var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4329
4343
  if (r == null)
4330
4344
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4331
4345
  return n && (i = se("number", n)), new Intl.NumberFormat(r, i);
4332
4346
  }
4333
- ), Ji = Ce(
4347
+ ), Yi = Ce(
4334
4348
  (e) => {
4335
4349
  var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4336
4350
  if (r == null)
4337
4351
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4338
4352
  return n ? i = se("date", n) : Object.keys(i).length === 0 && (i = se("date", "short")), new Intl.DateTimeFormat(r, i);
4339
4353
  }
4340
- ), qi = Ce(
4354
+ ), Ki = Ce(
4341
4355
  (e) => {
4342
4356
  var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4343
4357
  if (r == null)
@@ -4346,33 +4360,33 @@ const se = (e, t) => {
4346
4360
  );
4347
4361
  return n ? i = se("time", n) : Object.keys(i).length === 0 && (i = se("time", "short")), new Intl.DateTimeFormat(r, i);
4348
4362
  }
4349
- ), Yi = (e = {}) => {
4363
+ ), eo = (e = {}) => {
4350
4364
  var t = e, {
4351
4365
  locale: r = D()
4352
4366
  } = t, n = ee(t, [
4353
4367
  "locale"
4354
4368
  ]);
4355
- return Qi(ot({ locale: r }, n));
4356
- }, Ki = (e = {}) => {
4369
+ return qi(at({ locale: r }, n));
4370
+ }, to = (e = {}) => {
4357
4371
  var t = e, {
4358
4372
  locale: r = D()
4359
4373
  } = t, n = ee(t, [
4360
4374
  "locale"
4361
4375
  ]);
4362
- return Ji(ot({ locale: r }, n));
4363
- }, eo = (e = {}) => {
4376
+ return Yi(at({ locale: r }, n));
4377
+ }, ro = (e = {}) => {
4364
4378
  var t = e, {
4365
4379
  locale: r = D()
4366
4380
  } = t, n = ee(t, [
4367
4381
  "locale"
4368
4382
  ]);
4369
- return qi(ot({ locale: r }, n));
4370
- }, to = Ce(
4383
+ return Ki(at({ locale: r }, n));
4384
+ }, no = Ce(
4371
4385
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4372
- (e, t = D()) => new Bi(e, t, q().formats, {
4386
+ (e, t = D()) => new Pi(e, t, q().formats, {
4373
4387
  ignoreTag: q().ignoreTag
4374
4388
  })
4375
- ), ro = (e, t = {}) => {
4389
+ ), io = (e, t = {}) => {
4376
4390
  var r, n, i, o;
4377
4391
  let a = t;
4378
4392
  typeof e == "object" && (a = e, e = a.id);
@@ -4385,7 +4399,7 @@ const se = (e, t) => {
4385
4399
  throw new Error(
4386
4400
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4387
4401
  );
4388
- let h = mr(e, l);
4402
+ let h = gr(e, l);
4389
4403
  if (!h)
4390
4404
  h = (o = (i = (n = (r = q()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4391
4405
  else if (typeof h != "string")
@@ -4394,30 +4408,30 @@ const se = (e, t) => {
4394
4408
  ), h;
4395
4409
  if (!s)
4396
4410
  return h;
4397
- let f = h;
4411
+ let c = h;
4398
4412
  try {
4399
- f = to(h, l).format(s);
4400
- } catch (c) {
4401
- c instanceof Error && console.warn(
4413
+ c = no(h, l).format(s);
4414
+ } catch (f) {
4415
+ f instanceof Error && console.warn(
4402
4416
  `[svelte-i18n] Message "${e}" has syntax error:`,
4403
- c.message
4417
+ f.message
4404
4418
  );
4405
4419
  }
4406
- return f;
4407
- }, no = (e, t) => eo(t).format(e), io = (e, t) => Ki(t).format(e), oo = (e, t) => Yi(t).format(e), so = (e, t = D()) => mr(e, t), ao = Y([K, le], () => ro);
4408
- Y([K], () => no);
4409
- Y([K], () => io);
4420
+ return c;
4421
+ }, oo = (e, t) => ro(t).format(e), so = (e, t) => to(t).format(e), ao = (e, t) => eo(t).format(e), uo = (e, t = D()) => gr(e, t), lo = Y([K, le], () => io);
4410
4422
  Y([K], () => oo);
4411
- Y([K, le], () => so);
4412
- window.emWidgets = { topic: _n };
4413
- const uo = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4414
- function lo(e, t) {
4423
+ Y([K], () => so);
4424
+ Y([K], () => ao);
4425
+ Y([K, le], () => uo);
4426
+ window.emWidgets = { topic: wn };
4427
+ const ho = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4428
+ function co(e, t) {
4415
4429
  if (e) {
4416
4430
  const r = document.createElement("style");
4417
4431
  r.innerHTML = t, e.appendChild(r);
4418
4432
  }
4419
4433
  }
4420
- function ho(e, t) {
4434
+ function fo(e, t) {
4421
4435
  const r = new URL(t);
4422
4436
  fetch(r.href).then((n) => n.text()).then((n) => {
4423
4437
  const i = document.createElement("style");
@@ -4426,7 +4440,7 @@ function ho(e, t) {
4426
4440
  console.error("There was an error while trying to load client styling from URL", n);
4427
4441
  });
4428
4442
  }
4429
- function fo(e, t, r) {
4443
+ function mo(e, t, r) {
4430
4444
  if (window.emMessageBus) {
4431
4445
  const n = document.createElement("style");
4432
4446
  window.emMessageBus.subscribe(t, (i) => {
@@ -4434,13 +4448,13 @@ function fo(e, t, r) {
4434
4448
  });
4435
4449
  }
4436
4450
  }
4437
- function Ot(e, t) {
4438
- br(e, t);
4451
+ function Mt(e, t) {
4452
+ vr(e, t);
4439
4453
  }
4440
- function co(e) {
4454
+ function po(e) {
4441
4455
  K.set(e);
4442
4456
  }
4443
- const It = {
4457
+ const Nt = {
4444
4458
  en: {
4445
4459
  cancel: "Cancel",
4446
4460
  confirm: "Confirm"
@@ -4486,15 +4500,15 @@ const It = {
4486
4500
  confirm: "Confirm"
4487
4501
  }
4488
4502
  };
4489
- function mo(e) {
4490
- Nr(e, "svelte-8g0wf4", '*,*::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}');
4491
- }
4492
- const po = (e) => ({}), Mt = (e) => ({});
4493
4503
  function bo(e) {
4504
+ $r(e, "svelte-8g0wf4", '*,*::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}');
4505
+ }
4506
+ const go = (e) => ({}), Lt = (e) => ({});
4507
+ function yo(e) {
4494
4508
  let t, r;
4495
4509
  return {
4496
4510
  c() {
4497
- t = ut("svg"), r = ut("path"), T(r, "stroke-linecap", "round"), T(r, "stroke-linejoin", "round"), T(r, "stroke-width", "2"), T(r, "d", "M6 18L18 6M6 6l12 12"), T(t, "class", "w-6 h-6"), T(t, "fill", "none"), T(t, "stroke", "currentColor"), T(t, "viewBox", "0 0 24 24"), T(t, "xmlns", "http://www.w3.org/2000/svg");
4511
+ t = ht("svg"), r = ht("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");
4498
4512
  },
4499
4513
  m(n, i) {
4500
4514
  ae(n, t, i), C(t, r);
@@ -4505,21 +4519,21 @@ function bo(e) {
4505
4519
  }
4506
4520
  };
4507
4521
  }
4508
- function Nt(e) {
4522
+ function Rt(e) {
4509
4523
  let t, r, n;
4510
4524
  return {
4511
4525
  c() {
4512
4526
  t = I("div"), r = I("h2"), n = ue(
4513
4527
  /*modaltitle*/
4514
4528
  e[1]
4515
- ), T(t, "class", "GeneralConfirmationTitle");
4529
+ ), H(t, "class", "GeneralConfirmationTitle");
4516
4530
  },
4517
4531
  m(i, o) {
4518
4532
  ae(i, t, o), C(t, r), C(r, n);
4519
4533
  },
4520
4534
  p(i, o) {
4521
4535
  o & /*modaltitle*/
4522
- 2 && rt(
4536
+ 2 && nt(
4523
4537
  n,
4524
4538
  /*modaltitle*/
4525
4539
  i[1]
@@ -4530,17 +4544,17 @@ function Nt(e) {
4530
4544
  }
4531
4545
  };
4532
4546
  }
4533
- function Lt(e) {
4547
+ function $t(e) {
4534
4548
  let t, r = (
4535
4549
  /*$_*/
4536
4550
  e[4]("cancel") + ""
4537
4551
  ), n, i, o;
4538
4552
  return {
4539
4553
  c() {
4540
- t = I("button"), n = ue(r), T(t, "class", "GeneralCancelButton");
4554
+ t = I("button"), n = ue(r), H(t, "class", "GeneralCancelButton");
4541
4555
  },
4542
4556
  m(a, s) {
4543
- ae(a, t, s), C(t, n), i || (o = Ge(
4557
+ ae(a, t, s), C(t, n), i || (o = Ue(
4544
4558
  t,
4545
4559
  "click",
4546
4560
  /*click_handler*/
@@ -4550,168 +4564,168 @@ function Lt(e) {
4550
4564
  p(a, s) {
4551
4565
  s & /*$_*/
4552
4566
  16 && r !== (r = /*$_*/
4553
- a[4]("cancel") + "") && rt(n, r);
4567
+ a[4]("cancel") + "") && nt(n, r);
4554
4568
  },
4555
4569
  d(a) {
4556
4570
  a && U(t), i = !1, o();
4557
4571
  }
4558
4572
  };
4559
4573
  }
4560
- function go(e) {
4561
- let t, r, n, i, o, a, s, l, u, h, f = (
4574
+ function vo(e) {
4575
+ let t, r, n, i, o, a, s, l, u, h, c = (
4562
4576
  /*$_*/
4563
4577
  e[4]("confirm") + ""
4564
- ), c, m, d, p;
4578
+ ), f, d, m, p;
4565
4579
  const g = (
4566
4580
  /*#slots*/
4567
4581
  e[16].close
4568
- ), H = Br(
4582
+ ), A = Or(
4569
4583
  g,
4570
4584
  e,
4571
4585
  /*$$scope*/
4572
4586
  e[15],
4573
- Mt
4574
- ), A = H || bo();
4587
+ Lt
4588
+ ), T = A || yo();
4575
4589
  let x = (
4576
4590
  /*modaltitle*/
4577
- e[1] && Nt(e)
4591
+ e[1] && Rt(e)
4578
4592
  ), w = (
4579
4593
  /*hascancelbutton*/
4580
- e[2] && Lt(e)
4594
+ e[2] && $t(e)
4581
4595
  );
4582
4596
  return {
4583
4597
  c() {
4584
- t = I("div"), r = I("div"), n = I("span"), A.c(), i = fe(), x && x.c(), o = fe(), a = I("div"), s = fe(), l = I("div"), w && w.c(), u = fe(), h = I("button"), c = ue(f), T(n, "class", "ModalCloseBtn"), T(n, "role", "button"), T(a, "class", "GeneralConfirmationContent"), T(h, "class", "GeneralConfirmButton"), T(l, "class", "GeneralConfirmationControlArea " + /*isMobile*/
4585
- (e[5] ? "GeneralConfirmationControlAreaMobile" : "")), T(r, "class", "GeneralConfirmationContainer " + /*isMobile*/
4586
- (e[5] ? "GeneralConfirmationContainerMobile" : "")), T(t, "class", "GeneralConfirmationWrapper " + /*isMobile*/
4598
+ t = I("div"), r = I("div"), n = I("span"), T && T.c(), i = ce(), x && x.c(), o = ce(), a = I("div"), s = ce(), l = I("div"), w && w.c(), u = ce(), h = I("button"), f = ue(c), H(n, "class", "ModalCloseBtn"), H(n, "role", "button"), H(a, "class", "GeneralConfirmationContent"), H(h, "class", "GeneralConfirmButton"), H(l, "class", "GeneralConfirmationControlArea " + /*isMobile*/
4599
+ (e[5] ? "GeneralConfirmationControlAreaMobile" : "")), H(r, "class", "GeneralConfirmationContainer " + /*isMobile*/
4600
+ (e[5] ? "GeneralConfirmationContainerMobile" : "")), H(t, "class", "GeneralConfirmationWrapper " + /*isMobile*/
4587
4601
  (e[5] ? "GeneralConfirmationMobileWrapper" : ""));
4588
4602
  },
4589
4603
  m(b, B) {
4590
- ae(b, t, B), C(t, r), C(r, n), A.m(n, null), C(r, i), x && x.m(r, null), C(r, o), C(r, a), a.innerHTML = /*modaltext*/
4591
- e[0], C(r, s), C(r, l), w && w.m(l, null), C(l, u), C(l, h), C(h, c), e[19](t), m = !0, d || (p = [
4592
- Ge(
4604
+ ae(b, t, B), C(t, r), C(r, n), T && T.m(n, null), C(r, i), x && x.m(r, null), C(r, o), C(r, a), a.innerHTML = /*modaltext*/
4605
+ e[0], C(r, s), C(r, l), w && w.m(l, null), C(l, u), C(l, h), C(h, f), e[19](t), d = !0, m || (p = [
4606
+ Ue(
4593
4607
  n,
4594
4608
  "click",
4595
4609
  /*close*/
4596
4610
  e[6]
4597
4611
  ),
4598
- Ge(
4612
+ Ue(
4599
4613
  h,
4600
4614
  "click",
4601
4615
  /*click_handler_1*/
4602
4616
  e[18]
4603
4617
  )
4604
- ], d = !0);
4618
+ ], m = !0);
4605
4619
  },
4606
4620
  p(b, [B]) {
4607
- H && H.p && (!m || B & /*$$scope*/
4608
- 32768) && Pr(
4609
- H,
4621
+ A && A.p && (!d || B & /*$$scope*/
4622
+ 32768) && Mr(
4623
+ A,
4610
4624
  g,
4611
4625
  b,
4612
4626
  /*$$scope*/
4613
4627
  b[15],
4614
- m ? Cr(
4628
+ d ? Ir(
4615
4629
  g,
4616
4630
  /*$$scope*/
4617
4631
  b[15],
4618
4632
  B,
4619
- po
4620
- ) : Or(
4633
+ go
4634
+ ) : Nr(
4621
4635
  /*$$scope*/
4622
4636
  b[15]
4623
4637
  ),
4624
- Mt
4638
+ Lt
4625
4639
  ), /*modaltitle*/
4626
- b[1] ? x ? x.p(b, B) : (x = Nt(b), x.c(), x.m(r, o)) : x && (x.d(1), x = null), (!m || B & /*modaltext*/
4640
+ b[1] ? x ? x.p(b, B) : (x = Rt(b), x.c(), x.m(r, o)) : x && (x.d(1), x = null), (!d || B & /*modaltext*/
4627
4641
  1) && (a.innerHTML = /*modaltext*/
4628
4642
  b[0]), /*hascancelbutton*/
4629
- b[2] ? w ? w.p(b, B) : (w = Lt(b), w.c(), w.m(l, u)) : w && (w.d(1), w = null), (!m || B & /*$_*/
4630
- 16) && f !== (f = /*$_*/
4631
- b[4]("confirm") + "") && rt(c, f);
4643
+ b[2] ? w ? w.p(b, B) : (w = $t(b), w.c(), w.m(l, u)) : w && (w.d(1), w = null), (!d || B & /*$_*/
4644
+ 16) && c !== (c = /*$_*/
4645
+ b[4]("confirm") + "") && nt(f, c);
4632
4646
  },
4633
4647
  i(b) {
4634
- m || (kt(A, b), m = !0);
4648
+ d || (Xt(T, b), d = !0);
4635
4649
  },
4636
4650
  o(b) {
4637
- Jr(A, b), m = !1;
4651
+ Kr(T, b), d = !1;
4638
4652
  },
4639
4653
  d(b) {
4640
- b && U(t), A.d(b), x && x.d(), w && w.d(), e[19](null), d = !1, G(p);
4654
+ b && U(t), T && T.d(b), x && x.d(), w && w.d(), e[19](null), m = !1, G(p);
4641
4655
  }
4642
4656
  };
4643
4657
  }
4644
- function yo(e, t, r) {
4658
+ function _o(e, t, r) {
4645
4659
  let n;
4646
- Ar(e, ao, (v) => r(4, n = v));
4647
- 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: m = "" } = t, { translationurl: d = "" } = t, { mbsource: p } = t, g, H = window.navigator.userAgent, A = uo(H) !== "PC";
4660
+ Pr(e, lo, (v) => r(4, n = v));
4661
+ 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, A = window.navigator.userAgent, T = ho(A) !== "PC";
4648
4662
  const x = () => {
4649
4663
  window.postMessage({ type: "ModalClosed" }, window.location.href);
4650
4664
  }, w = (v) => {
4651
4665
  v === "confirm" && u && window.postMessage(u, window.location.href), v === "cancel" && h && window.postMessage(h, window.location.href), x();
4652
4666
  }, b = () => {
4653
- fetch(d).then((F) => F.json()).then((F) => {
4654
- Object.keys(F).forEach((st) => {
4655
- Ot(st, F[st]);
4667
+ fetch(m).then((F) => F.json()).then((F) => {
4668
+ Object.keys(F).forEach((ut) => {
4669
+ Mt(ut, F[ut]);
4656
4670
  });
4657
4671
  }).catch((F) => {
4658
4672
  console.log(F);
4659
4673
  });
4660
4674
  };
4661
- Object.keys(It).forEach((v) => {
4662
- Ot(v, It[v]);
4675
+ Object.keys(Nt).forEach((v) => {
4676
+ Mt(v, Nt[v]);
4663
4677
  });
4664
4678
  const B = () => {
4665
- co(f);
4679
+ po(c);
4666
4680
  };
4667
- Vr(() => () => {
4681
+ Wr(() => () => {
4668
4682
  });
4669
- const he = () => w("cancel"), Er = () => w("confirm");
4670
- function wr(v) {
4671
- Ue[v ? "unshift" : "push"](() => {
4683
+ const he = () => w("cancel"), Tr = () => w("confirm");
4684
+ function Hr(v) {
4685
+ De[v ? "unshift" : "push"](() => {
4672
4686
  g = v, r(3, g);
4673
4687
  });
4674
4688
  }
4675
4689
  return e.$$set = (v) => {
4676
- "modaltext" in v && r(0, a = v.modaltext), "modaltitle" in v && r(1, s = v.modaltitle), "hascancelbutton" in v && r(2, l = v.hascancelbutton), "modalconfirmevent" in v && r(8, u = v.modalconfirmevent), "modalcancelevent" in v && r(9, h = v.modalcancelevent), "lang" in v && r(10, f = v.lang), "clientstyling" in v && r(11, c = v.clientstyling), "clientstylingurl" in v && r(12, m = v.clientstylingurl), "translationurl" in v && r(13, d = v.translationurl), "mbsource" in v && r(14, p = v.mbsource), "$$scope" in v && r(15, o = v.$$scope);
4690
+ "modaltext" in v && r(0, a = v.modaltext), "modaltitle" in v && r(1, s = v.modaltitle), "hascancelbutton" in v && r(2, l = v.hascancelbutton), "modalconfirmevent" in v && r(8, u = v.modalconfirmevent), "modalcancelevent" in v && r(9, h = v.modalcancelevent), "lang" in v && r(10, c = v.lang), "clientstyling" in v && r(11, f = v.clientstyling), "clientstylingurl" in v && r(12, d = v.clientstylingurl), "translationurl" in v && r(13, m = v.translationurl), "mbsource" in v && r(14, p = v.mbsource), "$$scope" in v && r(15, o = v.$$scope);
4677
4691
  }, e.$$.update = () => {
4678
4692
  e.$$.dirty & /*modaltext, lang*/
4679
- 1025 && a && f && B(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4680
- 2056 && c && g && lo(g, c), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4681
- 4104 && m && g && ho(g, m), e.$$.dirty & /*mbsource, customStylingContainer*/
4682
- 16392 && p && g && fo(g, `${p}.Style`), e.$$.dirty & /*translationurl*/
4683
- 8192 && d && b();
4693
+ 1025 && a && c && B(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4694
+ 2056 && f && g && co(g, f), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4695
+ 4104 && d && g && fo(g, d), e.$$.dirty & /*mbsource, customStylingContainer*/
4696
+ 16392 && p && g && mo(g, `${p}.Style`), e.$$.dirty & /*translationurl*/
4697
+ 8192 && m && b();
4684
4698
  }, [
4685
4699
  a,
4686
4700
  s,
4687
4701
  l,
4688
4702
  g,
4689
4703
  n,
4690
- A,
4704
+ T,
4691
4705
  x,
4692
4706
  w,
4693
4707
  u,
4694
4708
  h,
4695
- f,
4696
4709
  c,
4697
- m,
4710
+ f,
4698
4711
  d,
4712
+ m,
4699
4713
  p,
4700
4714
  o,
4701
4715
  i,
4702
4716
  he,
4703
- Er,
4704
- wr
4717
+ Tr,
4718
+ Hr
4705
4719
  ];
4706
4720
  }
4707
- class xr extends nn {
4721
+ class Sr extends an {
4708
4722
  constructor(t) {
4709
- super(), tn(
4723
+ super(), on(
4710
4724
  this,
4711
4725
  t,
4712
- yo,
4713
- go,
4714
- $t,
4726
+ _o,
4727
+ vo,
4728
+ Ut,
4715
4729
  {
4716
4730
  modaltext: 0,
4717
4731
  modaltitle: 1,
@@ -4724,7 +4738,7 @@ class xr extends nn {
4724
4738
  translationurl: 13,
4725
4739
  mbsource: 14
4726
4740
  },
4727
- mo
4741
+ bo
4728
4742
  );
4729
4743
  }
4730
4744
  get modaltext() {
@@ -4788,57 +4802,57 @@ class xr extends nn {
4788
4802
  this.$$set({ mbsource: t }), O();
4789
4803
  }
4790
4804
  }
4791
- rn(xr, { modaltext: {}, modaltitle: {}, hascancelbutton: { type: "Boolean" }, modalconfirmevent: {}, modalcancelevent: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["close"], [], !0);
4792
- const Bo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4805
+ sn(Sr, { modaltext: {}, modaltitle: {}, hascancelbutton: { type: "Boolean" }, modalconfirmevent: {}, modalcancelevent: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["close"], [], !0);
4806
+ const Po = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4793
4807
  __proto__: null,
4794
- default: xr
4808
+ default: Sr
4795
4809
  }, Symbol.toStringTag, { value: "Module" }));
4796
4810
  export {
4797
4811
  K as $,
4798
- fo as A,
4799
- Ao as B,
4800
- En as C,
4801
- br as D,
4812
+ co as A,
4813
+ Co as B,
4814
+ Tn as C,
4815
+ vr as D,
4802
4816
  M as E,
4803
- Ar as F,
4804
- uo as G,
4805
- Ho as H,
4806
- fe as I,
4817
+ Pr as F,
4818
+ ho as G,
4819
+ Bo as H,
4820
+ ce as I,
4807
4821
  ue as J,
4808
- ut as K,
4809
- Eo as L,
4810
- Ge as M,
4811
- rt as N,
4812
- vo as O,
4822
+ ht as K,
4823
+ So as L,
4824
+ Ue as M,
4825
+ nt as N,
4826
+ xo as O,
4813
4827
  G as P,
4814
- xo as Q,
4815
- ao as R,
4816
- nn as S,
4817
- Bo as T,
4818
- tn as a,
4819
- Nr as b,
4820
- rn as c,
4828
+ wo as Q,
4829
+ lo as R,
4830
+ an as S,
4831
+ Po as T,
4832
+ on as a,
4833
+ $r as b,
4834
+ sn as c,
4821
4835
  ae as d,
4822
- _o as e,
4836
+ Eo as e,
4823
4837
  O as f,
4824
- Jr as g,
4825
- So as h,
4826
- Sr as i,
4838
+ Kr as g,
4839
+ Ho as h,
4840
+ Ar as i,
4827
4841
  U as j,
4828
- Br as k,
4829
- I as l,
4830
- T as m,
4831
- C as n,
4832
- Vr as o,
4833
- Or as p,
4834
- Cr as q,
4835
- xe as r,
4836
- $t as s,
4837
- kt as t,
4838
- Pr as u,
4839
- To as v,
4840
- wo as w,
4841
- Ue as x,
4842
- lo as y,
4843
- ho as z
4842
+ fo as k,
4843
+ mo as l,
4844
+ Or as m,
4845
+ I as n,
4846
+ Wr as o,
4847
+ H as p,
4848
+ C as q,
4849
+ Nr as r,
4850
+ Ut as s,
4851
+ Xt as t,
4852
+ Mr as u,
4853
+ Ir as v,
4854
+ xe as w,
4855
+ Ao as x,
4856
+ To as y,
4857
+ De as z
4844
4858
  };