@everymatrix/player-account-timeout 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 (21) hide show
  1. package/components/{PlayerAccountGeneralConfirmationModal-BwTniqXY.js → PlayerAccountGeneralConfirmationModal-5qFM4_q7.js} +707 -693
  2. package/components/{PlayerAccountGeneralConfirmationModal-z3wlNX1R.js → PlayerAccountGeneralConfirmationModal-CDWu9PDO.js} +754 -740
  3. package/components/PlayerAccountGeneralConfirmationModal-Cuo9r0rD.cjs +18 -0
  4. package/components/{PlayerAccountTimeout-DMq4bGyx.cjs → PlayerAccountTimeout-BKeRlSSh.cjs} +152 -152
  5. package/components/{PlayerAccountTimeout-ByJdD7eK.js → PlayerAccountTimeout-DJzkcdJo.js} +1031 -1030
  6. package/components/{PlayerAccountTimeout-BzCqBJ5d.js → PlayerAccountTimeout-EpPro8ec.js} +1007 -1006
  7. package/es2015/player-account-timeout.cjs +1 -1
  8. package/es2015/player-account-timeout.js +1 -1
  9. package/esnext/player-account-timeout.js +1 -1
  10. package/package.json +1 -1
  11. package/stencil/{index-b2193545-BbCeNxUG.js → index-b2193545-BtPvM93e.js} +176 -176
  12. package/stencil/index-b2193545-CgelUAhE.cjs +1 -0
  13. package/stencil/{index-b2193545-C9PH-6qK.js → index-b2193545-D_KBbaD-.js} +169 -169
  14. package/stencil/{ui-skeleton-bhljBTS7.cjs → ui-skeleton-BPqjm-YB.cjs} +1 -1
  15. package/stencil/{ui-skeleton-CJbkvgG7.js → ui-skeleton-CWuMYFGQ.js} +2 -2
  16. package/stencil/{ui-skeleton-BKDs0-7H.js → ui-skeleton-NZtdK490.js} +2 -2
  17. package/stencil/{ui-skeleton-ae35c6f2-CXlvqczG.cjs → ui-skeleton-ae35c6f2-CKJgMm_5.cjs} +1 -1
  18. package/stencil/{ui-skeleton-ae35c6f2-ZB0isFAq.js → ui-skeleton-ae35c6f2-CW3z59Qf.js} +1 -1
  19. package/stencil/{ui-skeleton-ae35c6f2-gun6WX2F.js → ui-skeleton-ae35c6f2-DlexSQlT.js} +1 -1
  20. package/components/PlayerAccountGeneralConfirmationModal-yzlYlKBq.cjs +0 -18
  21. package/stencil/index-b2193545-D-u-gzj3.cjs +0 -1
@@ -1,6 +1,6 @@
1
1
  function M() {
2
2
  }
3
- function cr(e, t) {
3
+ function pr(e, t) {
4
4
  for (const r in t)
5
5
  e[r] = t[r];
6
6
  return (
@@ -8,25 +8,25 @@ function cr(e, t) {
8
8
  e
9
9
  );
10
10
  }
11
- function At(e) {
11
+ function Ct(e) {
12
12
  return e();
13
13
  }
14
- function Ke() {
14
+ function tt() {
15
15
  return /* @__PURE__ */ Object.create(null);
16
16
  }
17
17
  function Z(e) {
18
- e.forEach(At);
18
+ e.forEach(Ct);
19
19
  }
20
- function We(e) {
20
+ function Ze(e) {
21
21
  return typeof e == "function";
22
22
  }
23
- function Bt(e, t) {
23
+ function Pt(e, t) {
24
24
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
25
25
  }
26
- function dr(e) {
26
+ function br(e) {
27
27
  return Object.keys(e).length === 0;
28
28
  }
29
- function Ct(e, ...t) {
29
+ function Ot(e, ...t) {
30
30
  if (e == null) {
31
31
  for (const n of t)
32
32
  n(void 0);
@@ -35,19 +35,19 @@ function Ct(e, ...t) {
35
35
  const r = e.subscribe(...t);
36
36
  return r.unsubscribe ? () => r.unsubscribe() : r;
37
37
  }
38
- function mr(e, t, r) {
39
- e.$$.on_destroy.push(Ct(t, r));
38
+ function gr(e, t, r) {
39
+ e.$$.on_destroy.push(Ot(t, r));
40
40
  }
41
- function pr(e, t, r, n) {
41
+ function yr(e, t, r, n) {
42
42
  if (e) {
43
- const i = Pt(e, t, r, n);
43
+ const i = It(e, t, r, n);
44
44
  return e[0](i);
45
45
  }
46
46
  }
47
- function Pt(e, t, r, n) {
48
- return e[1] && n ? cr(r.ctx.slice(), e[1](n(t))) : r.ctx;
47
+ function It(e, t, r, n) {
48
+ return e[1] && n ? pr(r.ctx.slice(), e[1](n(t))) : r.ctx;
49
49
  }
50
- function br(e, t, r, n) {
50
+ function vr(e, t, r, n) {
51
51
  if (e[2] && n) {
52
52
  const i = e[2](n(r));
53
53
  if (t.dirty === void 0)
@@ -62,13 +62,13 @@ function br(e, t, r, n) {
62
62
  }
63
63
  return t.dirty;
64
64
  }
65
- function gr(e, t, r, n, i, o) {
65
+ function xr(e, t, r, n, i, o) {
66
66
  if (i) {
67
- const s = Pt(t, r, n, o);
67
+ const s = It(t, r, n, o);
68
68
  e.p(s, i);
69
69
  }
70
70
  }
71
- function yr(e) {
71
+ function _r(e) {
72
72
  if (e.ctx.length > 32) {
73
73
  const t = [], r = e.ctx.length / 32;
74
74
  for (let n = 0; n < r; n++)
@@ -77,17 +77,17 @@ function yr(e) {
77
77
  }
78
78
  return -1;
79
79
  }
80
- function A(e, t) {
80
+ function B(e, t) {
81
81
  e.appendChild(t);
82
82
  }
83
- function vr(e, t, r) {
84
- const n = xr(e);
83
+ function Er(e, t, r) {
84
+ const n = Sr(e);
85
85
  if (!n.getElementById(t)) {
86
86
  const i = I("style");
87
- i.id = t, i.textContent = r, _r(n, i);
87
+ i.id = t, i.textContent = r, wr(n, i);
88
88
  }
89
89
  }
90
- function xr(e) {
90
+ function Sr(e) {
91
91
  if (!e)
92
92
  return document;
93
93
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -97,8 +97,8 @@ function xr(e) {
97
97
  t
98
98
  ) : e.ownerDocument;
99
99
  }
100
- function _r(e, t) {
101
- return A(
100
+ function wr(e, t) {
101
+ return B(
102
102
  /** @type {Document} */
103
103
  e.head || e,
104
104
  t
@@ -110,14 +110,14 @@ function ie(e, t, r) {
110
110
  function Q(e) {
111
111
  e.parentNode && e.parentNode.removeChild(e);
112
112
  }
113
- function Yi(e, t) {
113
+ function eo(e, t) {
114
114
  for (let r = 0; r < e.length; r += 1)
115
115
  e[r] && e[r].d(t);
116
116
  }
117
117
  function I(e) {
118
118
  return document.createElement(e);
119
119
  }
120
- function et(e) {
120
+ function rt(e) {
121
121
  return document.createElementNS("http://www.w3.org/2000/svg", e);
122
122
  }
123
123
  function oe(e) {
@@ -126,33 +126,33 @@ function oe(e) {
126
126
  function ue() {
127
127
  return oe(" ");
128
128
  }
129
- function Ki() {
129
+ function to() {
130
130
  return oe("");
131
131
  }
132
- function Pe(e, t, r, n) {
132
+ function Oe(e, t, r, n) {
133
133
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
134
134
  }
135
135
  function T(e, t, r) {
136
136
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
137
137
  }
138
- function eo(e, t, r) {
138
+ function ro(e, t, r) {
139
139
  const n = t.toLowerCase();
140
140
  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);
141
141
  }
142
- function Er(e) {
142
+ function Tr(e) {
143
143
  return Array.from(e.childNodes);
144
144
  }
145
- function Ze(e, t) {
145
+ function Qe(e, t) {
146
146
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
147
147
  t);
148
148
  }
149
- function to(e, t) {
149
+ function no(e, t) {
150
150
  e.value = t ?? "";
151
151
  }
152
- function ro(e, t, r, n) {
152
+ function io(e, t, r, n) {
153
153
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
154
154
  }
155
- function no(e, t, r) {
155
+ function oo(e, t, r) {
156
156
  for (let n = 0; n < e.options.length; n += 1) {
157
157
  const i = e.options[n];
158
158
  if (i.__value === t) {
@@ -162,11 +162,11 @@ function no(e, t, r) {
162
162
  }
163
163
  (!r || t !== void 0) && (e.selectedIndex = -1);
164
164
  }
165
- function io(e) {
165
+ function so(e) {
166
166
  const t = e.querySelector(":checked");
167
167
  return t && t.__value;
168
168
  }
169
- function Sr(e) {
169
+ function Hr(e) {
170
170
  const t = {};
171
171
  return e.childNodes.forEach(
172
172
  /** @param {Element} node */
@@ -179,22 +179,22 @@ let te;
179
179
  function ee(e) {
180
180
  te = e;
181
181
  }
182
- function wr() {
182
+ function Ar() {
183
183
  if (!te)
184
184
  throw new Error("Function called outside component initialization");
185
185
  return te;
186
186
  }
187
- function Tr(e) {
188
- wr().$$.on_mount.push(e);
187
+ function Br(e) {
188
+ Ar().$$.on_mount.push(e);
189
189
  }
190
- const F = [], Oe = [];
190
+ const F = [], Ie = [];
191
191
  let j = [];
192
- const tt = [], Hr = /* @__PURE__ */ Promise.resolve();
193
- let Ie = !1;
194
- function Ar() {
195
- Ie || (Ie = !0, Hr.then(O));
192
+ const nt = [], Cr = /* @__PURE__ */ Promise.resolve();
193
+ let Me = !1;
194
+ function Pr() {
195
+ Me || (Me = !0, Cr.then(O));
196
196
  }
197
- function Me(e) {
197
+ function Ne(e) {
198
198
  j.push(e);
199
199
  }
200
200
  const Se = /* @__PURE__ */ new Set();
@@ -207,66 +207,66 @@ function O() {
207
207
  try {
208
208
  for (; U < F.length; ) {
209
209
  const t = F[U];
210
- U++, ee(t), Br(t.$$);
210
+ U++, ee(t), Or(t.$$);
211
211
  }
212
212
  } catch (t) {
213
213
  throw F.length = 0, U = 0, t;
214
214
  }
215
- for (ee(null), F.length = 0, U = 0; Oe.length; )
216
- Oe.pop()();
215
+ for (ee(null), F.length = 0, U = 0; Ie.length; )
216
+ Ie.pop()();
217
217
  for (let t = 0; t < j.length; t += 1) {
218
218
  const r = j[t];
219
219
  Se.has(r) || (Se.add(r), r());
220
220
  }
221
221
  j.length = 0;
222
222
  } while (F.length);
223
- for (; tt.length; )
224
- tt.pop()();
225
- Ie = !1, Se.clear(), ee(e);
223
+ for (; nt.length; )
224
+ nt.pop()();
225
+ Me = !1, Se.clear(), ee(e);
226
226
  }
227
- function Br(e) {
227
+ function Or(e) {
228
228
  if (e.fragment !== null) {
229
229
  e.update(), Z(e.before_update);
230
230
  const t = e.dirty;
231
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Me);
231
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ne);
232
232
  }
233
233
  }
234
- function Cr(e) {
234
+ function Ir(e) {
235
235
  const t = [], r = [];
236
236
  j.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), j = t;
237
237
  }
238
- const fe = /* @__PURE__ */ new Set();
239
- let Pr;
240
- function Ot(e, t) {
241
- e && e.i && (fe.delete(e), e.i(t));
238
+ const ce = /* @__PURE__ */ new Set();
239
+ let Mr;
240
+ function Mt(e, t) {
241
+ e && e.i && (ce.delete(e), e.i(t));
242
242
  }
243
- function Or(e, t, r, n) {
244
- if (e.o) {
245
- if (fe.has(e))
243
+ function Nr(e, t, r, n) {
244
+ if (e && e.o) {
245
+ if (ce.has(e))
246
246
  return;
247
- fe.add(e), Pr.c.push(() => {
248
- fe.delete(e);
247
+ ce.add(e), Mr.c.push(() => {
248
+ ce.delete(e);
249
249
  }), e.o(t);
250
250
  }
251
251
  }
252
- function oo(e) {
252
+ function ao(e) {
253
253
  return e?.length !== void 0 ? e : Array.from(e);
254
254
  }
255
- function Ir(e, t, r) {
255
+ function Lr(e, t, r) {
256
256
  const { fragment: n, after_update: i } = e.$$;
257
- n && n.m(t, r), Me(() => {
258
- const o = e.$$.on_mount.map(At).filter(We);
257
+ n && n.m(t, r), Ne(() => {
258
+ const o = e.$$.on_mount.map(Ct).filter(Ze);
259
259
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Z(o), e.$$.on_mount = [];
260
- }), i.forEach(Me);
260
+ }), i.forEach(Ne);
261
261
  }
262
- function Mr(e, t) {
262
+ function Rr(e, t) {
263
263
  const r = e.$$;
264
- r.fragment !== null && (Cr(r.after_update), Z(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
264
+ r.fragment !== null && (Ir(r.after_update), Z(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
265
265
  }
266
- function Nr(e, t) {
267
- e.$$.dirty[0] === -1 && (F.push(e), Ar(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
266
+ function $r(e, t) {
267
+ e.$$.dirty[0] === -1 && (F.push(e), Pr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
268
268
  }
269
- function Lr(e, t, r, n, i, o, s = null, a = [-1]) {
269
+ function Gr(e, t, r, n, i, o, s = null, a = [-1]) {
270
270
  const l = te;
271
271
  ee(e);
272
272
  const u = e.$$ = {
@@ -276,7 +276,7 @@ function Lr(e, t, r, n, i, o, s = null, a = [-1]) {
276
276
  props: o,
277
277
  update: M,
278
278
  not_equal: i,
279
- bound: Ke(),
279
+ bound: tt(),
280
280
  // lifecycle
281
281
  on_mount: [],
282
282
  on_destroy: [],
@@ -285,28 +285,28 @@ function Lr(e, t, r, n, i, o, s = null, a = [-1]) {
285
285
  after_update: [],
286
286
  context: new Map(t.context || (l ? l.$$.context : [])),
287
287
  // everything else
288
- callbacks: Ke(),
288
+ callbacks: tt(),
289
289
  dirty: a,
290
290
  skip_bound: !1,
291
291
  root: t.target || l.$$.root
292
292
  };
293
293
  s && s(u.root);
294
294
  let h = !1;
295
- if (u.ctx = r ? r(e, t.props || {}, (f, c, ...d) => {
296
- const y = d.length ? d[0] : c;
297
- return u.ctx && i(u.ctx[f], u.ctx[f] = y) && (!u.skip_bound && u.bound[f] && u.bound[f](y), h && Nr(e, f)), c;
295
+ if (u.ctx = r ? r(e, t.props || {}, (c, f, ...m) => {
296
+ const y = m.length ? m[0] : f;
297
+ return u.ctx && i(u.ctx[c], u.ctx[c] = y) && (!u.skip_bound && u.bound[c] && u.bound[c](y), h && $r(e, c)), f;
298
298
  }) : [], u.update(), h = !0, Z(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
299
299
  if (t.hydrate) {
300
- const f = Er(t.target);
301
- u.fragment && u.fragment.l(f), f.forEach(Q);
300
+ const c = Tr(t.target);
301
+ u.fragment && u.fragment.l(c), c.forEach(Q);
302
302
  } else
303
303
  u.fragment && u.fragment.c();
304
- t.intro && Ot(e.$$.fragment), Ir(e, t.target, t.anchor), O();
304
+ t.intro && Mt(e.$$.fragment), Lr(e, t.target, t.anchor), O();
305
305
  }
306
306
  ee(l);
307
307
  }
308
- let It;
309
- typeof HTMLElement == "function" && (It = class extends HTMLElement {
308
+ let Nt;
309
+ typeof HTMLElement == "function" && (Nt = class extends HTMLElement {
310
310
  /** The Svelte component constructor */
311
311
  $$ctor;
312
312
  /** Slots */
@@ -365,12 +365,12 @@ typeof HTMLElement == "function" && (It = class extends HTMLElement {
365
365
  };
366
366
  if (await Promise.resolve(), !this.$$cn || this.$$c)
367
367
  return;
368
- const t = {}, r = Sr(this);
368
+ const t = {}, r = Hr(this);
369
369
  for (const i of this.$$s)
370
370
  i in r && (t[i] = [e(i)]);
371
371
  for (const i of this.attributes) {
372
372
  const o = this.$$g_p(i.name);
373
- o in this.$$d || (this.$$d[o] = ce(o, i.value, this.$$p_d, "toProp"));
373
+ o in this.$$d || (this.$$d[o] = fe(o, i.value, this.$$p_d, "toProp"));
374
374
  }
375
375
  for (const i in this.$$p_d)
376
376
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -388,7 +388,7 @@ typeof HTMLElement == "function" && (It = class extends HTMLElement {
388
388
  this.$$r = !0;
389
389
  for (const i in this.$$p_d)
390
390
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
391
- const o = ce(
391
+ const o = fe(
392
392
  i,
393
393
  this.$$d[i],
394
394
  this.$$p_d,
@@ -410,7 +410,7 @@ typeof HTMLElement == "function" && (It = class extends HTMLElement {
410
410
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
411
411
  // and setting attributes through setAttribute etc, this is helpful
412
412
  attributeChangedCallback(e, t, r) {
413
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = ce(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
413
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = fe(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
414
414
  }
415
415
  disconnectedCallback() {
416
416
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -423,7 +423,7 @@ typeof HTMLElement == "function" && (It = class extends HTMLElement {
423
423
  ) || e;
424
424
  }
425
425
  });
426
- function ce(e, t, r, n) {
426
+ function fe(e, t, r, n) {
427
427
  const i = r[e]?.type;
428
428
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
429
429
  return t;
@@ -452,8 +452,8 @@ function ce(e, t, r, n) {
452
452
  return t;
453
453
  }
454
454
  }
455
- function Rr(e, t, r, n, i, o) {
456
- let s = class extends It {
455
+ function Ur(e, t, r, n, i, o) {
456
+ let s = class extends Nt {
457
457
  constructor() {
458
458
  super(e, r, i), this.$$p_d = t;
459
459
  }
@@ -469,7 +469,7 @@ function Rr(e, t, r, n, i, o) {
469
469
  return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
470
470
  },
471
471
  set(l) {
472
- l = ce(a, l, t), this.$$d[a] = l, this.$$c?.$set({ [a]: l });
472
+ l = fe(a, l, t), this.$$d[a] = l, this.$$c?.$set({ [a]: l });
473
473
  }
474
474
  });
475
475
  }), n.forEach((a) => {
@@ -481,7 +481,7 @@ function Rr(e, t, r, n, i, o) {
481
481
  }), e.element = /** @type {any} */
482
482
  s, s;
483
483
  }
484
- class $r {
484
+ class Dr {
485
485
  /**
486
486
  * ### PRIVATE API
487
487
  *
@@ -500,7 +500,7 @@ class $r {
500
500
  $$set = void 0;
501
501
  /** @returns {void} */
502
502
  $destroy() {
503
- Mr(this, 1), this.$destroy = M;
503
+ Rr(this, 1), this.$destroy = M;
504
504
  }
505
505
  /**
506
506
  * @template {Extract<keyof Events, string>} K
@@ -509,7 +509,7 @@ class $r {
509
509
  * @returns {() => void}
510
510
  */
511
511
  $on(t, r) {
512
- if (!We(r))
512
+ if (!Ze(r))
513
513
  return M;
514
514
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
515
515
  return n.push(r), () => {
@@ -522,13 +522,13 @@ class $r {
522
522
  * @returns {void}
523
523
  */
524
524
  $set(t) {
525
- this.$$set && !dr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
525
+ this.$$set && !br(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
526
526
  }
527
527
  }
528
- const Gr = "4";
529
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Gr);
530
- var so = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
531
- function Ur(e) {
528
+ const Fr = "4";
529
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Fr);
530
+ var uo = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
531
+ function jr(e) {
532
532
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
533
533
  }
534
534
  /*! *****************************************************************************
@@ -545,18 +545,18 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
545
545
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
546
546
  PERFORMANCE OF THIS SOFTWARE.
547
547
  ***************************************************************************** */
548
- var Ne = function(e, t) {
549
- return Ne = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
548
+ var Le = function(e, t) {
549
+ return Le = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
550
550
  r.__proto__ = n;
551
551
  } || function(r, n) {
552
552
  for (var i in n)
553
553
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
554
- }, Ne(e, t);
554
+ }, Le(e, t);
555
555
  };
556
556
  function L(e, t) {
557
557
  if (typeof t != "function" && t !== null)
558
558
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
559
- Ne(e, t);
559
+ Le(e, t);
560
560
  function r() {
561
561
  this.constructor = e;
562
562
  }
@@ -572,7 +572,7 @@ var v = function() {
572
572
  return t;
573
573
  }, v.apply(this, arguments);
574
574
  };
575
- function Dr(e, t) {
575
+ function kr(e, t) {
576
576
  var r = {};
577
577
  for (var n in e)
578
578
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -581,7 +581,7 @@ function Dr(e, t) {
581
581
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
582
582
  return r;
583
583
  }
584
- function Le(e) {
584
+ function Re(e) {
585
585
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
586
586
  if (r)
587
587
  return r.call(e);
@@ -593,7 +593,7 @@ function Le(e) {
593
593
  };
594
594
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
595
595
  }
596
- function Re(e, t) {
596
+ function $e(e, t) {
597
597
  var r = typeof Symbol == "function" && e[Symbol.iterator];
598
598
  if (!r)
599
599
  return e;
@@ -622,13 +622,13 @@ function k(e, t, r) {
622
622
  function N(e) {
623
623
  return typeof e == "function";
624
624
  }
625
- function Mt(e) {
625
+ function Lt(e) {
626
626
  var t = function(n) {
627
627
  Error.call(n), n.stack = new Error().stack;
628
628
  }, r = e(t);
629
629
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
630
630
  }
631
- var we = Mt(function(e) {
631
+ var we = Lt(function(e) {
632
632
  return function(r) {
633
633
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
634
634
  ` + r.map(function(n, i) {
@@ -637,7 +637,7 @@ var we = Mt(function(e) {
637
637
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
638
638
  };
639
639
  });
640
- function $e(e, t) {
640
+ function Ge(e, t) {
641
641
  if (e) {
642
642
  var r = e.indexOf(t);
643
643
  0 <= r && e.splice(r, 1);
@@ -655,7 +655,7 @@ var ye = function() {
655
655
  if (s)
656
656
  if (this._parentage = null, Array.isArray(s))
657
657
  try {
658
- for (var a = Le(s), l = a.next(); !l.done; l = a.next()) {
658
+ for (var a = Re(s), l = a.next(); !l.done; l = a.next()) {
659
659
  var u = l.value;
660
660
  u.remove(this);
661
661
  }
@@ -678,23 +678,23 @@ var ye = function() {
678
678
  } catch (p) {
679
679
  o = p instanceof we ? p.errors : [p];
680
680
  }
681
- var f = this._finalizers;
682
- if (f) {
681
+ var c = this._finalizers;
682
+ if (c) {
683
683
  this._finalizers = null;
684
684
  try {
685
- for (var c = Le(f), d = c.next(); !d.done; d = c.next()) {
686
- var y = d.value;
685
+ for (var f = Re(c), m = f.next(); !m.done; m = f.next()) {
686
+ var y = m.value;
687
687
  try {
688
- rt(y);
688
+ it(y);
689
689
  } catch (p) {
690
- o = o ?? [], p instanceof we ? o = k(k([], Re(o)), Re(p.errors)) : o.push(p);
690
+ o = o ?? [], p instanceof we ? o = k(k([], $e(o)), $e(p.errors)) : o.push(p);
691
691
  }
692
692
  }
693
693
  } catch (p) {
694
694
  n = { error: p };
695
695
  } finally {
696
696
  try {
697
- d && !d.done && (i = c.return) && i.call(c);
697
+ m && !m.done && (i = f.return) && i.call(f);
698
698
  } finally {
699
699
  if (n)
700
700
  throw n.error;
@@ -708,7 +708,7 @@ var ye = function() {
708
708
  var r;
709
709
  if (t && t !== this)
710
710
  if (this.closed)
711
- rt(t);
711
+ it(t);
712
712
  else {
713
713
  if (t instanceof e) {
714
714
  if (t.closed || t._hasParent(this))
@@ -725,56 +725,56 @@ var ye = function() {
725
725
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
726
726
  }, e.prototype._removeParent = function(t) {
727
727
  var r = this._parentage;
728
- r === t ? this._parentage = null : Array.isArray(r) && $e(r, t);
728
+ r === t ? this._parentage = null : Array.isArray(r) && Ge(r, t);
729
729
  }, e.prototype.remove = function(t) {
730
730
  var r = this._finalizers;
731
- r && $e(r, t), t instanceof e && t._removeParent(this);
731
+ r && Ge(r, t), t instanceof e && t._removeParent(this);
732
732
  }, e.EMPTY = function() {
733
733
  var t = new e();
734
734
  return t.closed = !0, t;
735
735
  }(), e;
736
- }(), Nt = ye.EMPTY;
737
- function Lt(e) {
736
+ }(), Rt = ye.EMPTY;
737
+ function $t(e) {
738
738
  return e instanceof ye || e && "closed" in e && N(e.remove) && N(e.add) && N(e.unsubscribe);
739
739
  }
740
- function rt(e) {
740
+ function it(e) {
741
741
  N(e) ? e() : e.unsubscribe();
742
742
  }
743
- var Fr = {
743
+ var Gt = {
744
744
  onUnhandledError: null,
745
745
  onStoppedNotification: null,
746
746
  Promise: void 0,
747
747
  useDeprecatedSynchronousErrorHandling: !1,
748
748
  useDeprecatedNextContext: !1
749
- }, jr = {
749
+ }, Vr = {
750
750
  setTimeout: function(e, t) {
751
751
  for (var r = [], n = 2; n < arguments.length; n++)
752
752
  r[n - 2] = arguments[n];
753
- return setTimeout.apply(void 0, k([e, t], Re(r)));
753
+ return setTimeout.apply(void 0, k([e, t], $e(r)));
754
754
  },
755
755
  clearTimeout: function(e) {
756
756
  return clearTimeout(e);
757
757
  },
758
758
  delegate: void 0
759
759
  };
760
- function kr(e) {
761
- jr.setTimeout(function() {
760
+ function Xr(e) {
761
+ Vr.setTimeout(function() {
762
762
  throw e;
763
763
  });
764
764
  }
765
- function nt() {
765
+ function ot() {
766
766
  }
767
- function de(e) {
767
+ function me(e) {
768
768
  e();
769
769
  }
770
- var Rt = function(e) {
770
+ var Ut = function(e) {
771
771
  L(t, e);
772
772
  function t(r) {
773
773
  var n = e.call(this) || this;
774
- return n.isStopped = !1, r ? (n.destination = r, Lt(r) && r.add(n)) : n.destination = zr, n;
774
+ return n.isStopped = !1, r ? (n.destination = r, $t(r) && r.add(n)) : n.destination = Qr, n;
775
775
  }
776
776
  return t.create = function(r, n, i) {
777
- return new Ge(r, n, i);
777
+ return new Ue(r, n, i);
778
778
  }, t.prototype.next = function(r) {
779
779
  this.isStopped || this._next(r);
780
780
  }, t.prototype.error = function(r) {
@@ -798,7 +798,11 @@ var Rt = function(e) {
798
798
  this.unsubscribe();
799
799
  }
800
800
  }, t;
801
- }(ye), Vr = function() {
801
+ }(ye), zr = Function.prototype.bind;
802
+ function Te(e, t) {
803
+ return zr.call(e, t);
804
+ }
805
+ var Wr = function() {
802
806
  function e(t) {
803
807
  this.partialObserver = t;
804
808
  }
@@ -829,43 +833,55 @@ var Rt = function(e) {
829
833
  le(r);
830
834
  }
831
835
  }, e;
832
- }(), Ge = function(e) {
836
+ }(), Ue = function(e) {
833
837
  L(t, e);
834
838
  function t(r, n, i) {
835
839
  var o = e.call(this) || this, s;
836
- return N(r) || !r ? s = {
837
- next: r ?? void 0,
838
- error: n ?? void 0,
839
- complete: i ?? void 0
840
- } : s = r, o.destination = new Vr(s), o;
840
+ if (N(r) || !r)
841
+ s = {
842
+ next: r ?? void 0,
843
+ error: n ?? void 0,
844
+ complete: i ?? void 0
845
+ };
846
+ else {
847
+ var a;
848
+ o && Gt.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
849
+ return o.unsubscribe();
850
+ }, s = {
851
+ next: r.next && Te(r.next, a),
852
+ error: r.error && Te(r.error, a),
853
+ complete: r.complete && Te(r.complete, a)
854
+ }) : s = r;
855
+ }
856
+ return o.destination = new Wr(s), o;
841
857
  }
842
858
  return t;
843
- }(Rt);
859
+ }(Ut);
844
860
  function le(e) {
845
- kr(e);
861
+ Xr(e);
846
862
  }
847
- function Xr(e) {
863
+ function Zr(e) {
848
864
  throw e;
849
865
  }
850
- var zr = {
866
+ var Qr = {
851
867
  closed: !0,
852
- next: nt,
853
- error: Xr,
854
- complete: nt
855
- }, Wr = function() {
868
+ next: ot,
869
+ error: Zr,
870
+ complete: ot
871
+ }, Jr = function() {
856
872
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
857
873
  }();
858
- function Zr(e) {
874
+ function qr(e) {
859
875
  return e;
860
876
  }
861
- function Qr(e) {
862
- return e.length === 0 ? Zr : e.length === 1 ? e[0] : function(r) {
877
+ function Yr(e) {
878
+ return e.length === 0 ? qr : e.length === 1 ? e[0] : function(r) {
863
879
  return e.reduce(function(n, i) {
864
880
  return i(n);
865
881
  }, r);
866
882
  };
867
883
  }
868
- var it = function() {
884
+ var st = function() {
869
885
  function e(t) {
870
886
  t && (this._subscribe = t);
871
887
  }
@@ -873,8 +889,8 @@ var it = function() {
873
889
  var r = new e();
874
890
  return r.source = this, r.operator = t, r;
875
891
  }, e.prototype.subscribe = function(t, r, n) {
876
- var i = this, o = qr(t) ? t : new Ge(t, r, n);
877
- return de(function() {
892
+ var i = this, o = en(t) ? t : new Ue(t, r, n);
893
+ return me(function() {
878
894
  var s = i, a = s.operator, l = s.source;
879
895
  o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
880
896
  }), o;
@@ -886,8 +902,8 @@ var it = function() {
886
902
  }
887
903
  }, e.prototype.forEach = function(t, r) {
888
904
  var n = this;
889
- return r = ot(r), new r(function(i, o) {
890
- var s = new Ge({
905
+ return r = at(r), new r(function(i, o) {
906
+ var s = new Ue({
891
907
  next: function(a) {
892
908
  try {
893
909
  t(a);
@@ -903,15 +919,15 @@ var it = function() {
903
919
  }, e.prototype._subscribe = function(t) {
904
920
  var r;
905
921
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
906
- }, e.prototype[Wr] = function() {
922
+ }, e.prototype[Jr] = function() {
907
923
  return this;
908
924
  }, e.prototype.pipe = function() {
909
925
  for (var t = [], r = 0; r < arguments.length; r++)
910
926
  t[r] = arguments[r];
911
- return Qr(t)(this);
927
+ return Yr(t)(this);
912
928
  }, e.prototype.toPromise = function(t) {
913
929
  var r = this;
914
- return t = ot(t), new t(function(n, i) {
930
+ return t = at(t), new t(function(n, i) {
915
931
  var o;
916
932
  r.subscribe(function(s) {
917
933
  return o = s;
@@ -925,40 +941,40 @@ var it = function() {
925
941
  return new e(t);
926
942
  }, e;
927
943
  }();
928
- function ot(e) {
944
+ function at(e) {
929
945
  var t;
930
- return (t = e ?? Fr.Promise) !== null && t !== void 0 ? t : Promise;
946
+ return (t = e ?? Gt.Promise) !== null && t !== void 0 ? t : Promise;
931
947
  }
932
- function Jr(e) {
948
+ function Kr(e) {
933
949
  return e && N(e.next) && N(e.error) && N(e.complete);
934
950
  }
935
- function qr(e) {
936
- return e && e instanceof Rt || Jr(e) && Lt(e);
951
+ function en(e) {
952
+ return e && e instanceof Ut || Kr(e) && $t(e);
937
953
  }
938
- var Yr = Mt(function(e) {
954
+ var tn = Lt(function(e) {
939
955
  return function() {
940
956
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
941
957
  };
942
- }), $t = function(e) {
958
+ }), Dt = function(e) {
943
959
  L(t, e);
944
960
  function t() {
945
961
  var r = e.call(this) || this;
946
962
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
947
963
  }
948
964
  return t.prototype.lift = function(r) {
949
- var n = new st(this, this);
965
+ var n = new ut(this, this);
950
966
  return n.operator = r, n;
951
967
  }, t.prototype._throwIfClosed = function() {
952
968
  if (this.closed)
953
- throw new Yr();
969
+ throw new tn();
954
970
  }, t.prototype.next = function(r) {
955
971
  var n = this;
956
- de(function() {
972
+ me(function() {
957
973
  var i, o;
958
974
  if (n._throwIfClosed(), !n.isStopped) {
959
975
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
960
976
  try {
961
- for (var s = Le(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
977
+ for (var s = Re(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
962
978
  var l = a.value;
963
979
  l.next(r);
964
980
  }
@@ -976,7 +992,7 @@ var Yr = Mt(function(e) {
976
992
  });
977
993
  }, t.prototype.error = function(r) {
978
994
  var n = this;
979
- de(function() {
995
+ me(function() {
980
996
  if (n._throwIfClosed(), !n.isStopped) {
981
997
  n.hasError = n.isStopped = !0, n.thrownError = r;
982
998
  for (var i = n.observers; i.length; )
@@ -985,7 +1001,7 @@ var Yr = Mt(function(e) {
985
1001
  });
986
1002
  }, t.prototype.complete = function() {
987
1003
  var r = this;
988
- de(function() {
1004
+ me(function() {
989
1005
  if (r._throwIfClosed(), !r.isStopped) {
990
1006
  r.isStopped = !0;
991
1007
  for (var n = r.observers; n.length; )
@@ -1007,19 +1023,19 @@ var Yr = Mt(function(e) {
1007
1023
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
1008
1024
  }, t.prototype._innerSubscribe = function(r) {
1009
1025
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
1010
- return o || s ? Nt : (this.currentObservers = null, a.push(r), new ye(function() {
1011
- n.currentObservers = null, $e(a, r);
1026
+ return o || s ? Rt : (this.currentObservers = null, a.push(r), new ye(function() {
1027
+ n.currentObservers = null, Ge(a, r);
1012
1028
  }));
1013
1029
  }, t.prototype._checkFinalizedStatuses = function(r) {
1014
1030
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
1015
1031
  i ? r.error(o) : s && r.complete();
1016
1032
  }, t.prototype.asObservable = function() {
1017
- var r = new it();
1033
+ var r = new st();
1018
1034
  return r.source = this, r;
1019
1035
  }, t.create = function(r, n) {
1020
- return new st(r, n);
1036
+ return new ut(r, n);
1021
1037
  }, t;
1022
- }(it), st = function(e) {
1038
+ }(st), ut = function(e) {
1023
1039
  L(t, e);
1024
1040
  function t(r, n) {
1025
1041
  var i = e.call(this) || this;
@@ -1036,17 +1052,17 @@ var Yr = Mt(function(e) {
1036
1052
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1037
1053
  }, t.prototype._subscribe = function(r) {
1038
1054
  var n, i;
1039
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Nt;
1055
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Rt;
1040
1056
  }, t;
1041
- }($t), Gt = {
1057
+ }(Dt), Ft = {
1042
1058
  now: function() {
1043
- return (Gt.delegate || Date).now();
1059
+ return (Ft.delegate || Date).now();
1044
1060
  },
1045
1061
  delegate: void 0
1046
- }, Kr = function(e) {
1062
+ }, rn = function(e) {
1047
1063
  L(t, e);
1048
1064
  function t(r, n, i) {
1049
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Gt);
1065
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Ft);
1050
1066
  var o = e.call(this) || this;
1051
1067
  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;
1052
1068
  }
@@ -1066,15 +1082,15 @@ var Yr = Mt(function(e) {
1066
1082
  u && o.splice(0, u + 1);
1067
1083
  }
1068
1084
  }, t;
1069
- }($t);
1070
- const at = [], ut = {}, en = (e, t = 0) => {
1071
- if (at.indexOf(e) == -1) {
1072
- const r = new Kr(t);
1073
- ut[e] = r, at.push(e);
1085
+ }(Dt);
1086
+ const lt = [], ht = {}, nn = (e, t = 0) => {
1087
+ if (lt.indexOf(e) == -1) {
1088
+ const r = new rn(t);
1089
+ ht[e] = r, lt.push(e);
1074
1090
  }
1075
- return ut[e];
1091
+ return ht[e];
1076
1092
  }, D = [];
1077
- function tn(e, t) {
1093
+ function on(e, t) {
1078
1094
  return {
1079
1095
  subscribe: ve(e, t).subscribe
1080
1096
  };
@@ -1083,7 +1099,7 @@ function ve(e, t = M) {
1083
1099
  let r;
1084
1100
  const n = /* @__PURE__ */ new Set();
1085
1101
  function i(a) {
1086
- if (Bt(e, a) && (e = a, r)) {
1102
+ if (Pt(e, a) && (e = a, r)) {
1087
1103
  const l = !D.length;
1088
1104
  for (const u of n)
1089
1105
  u[1](), D.push(u, e);
@@ -1110,93 +1126,93 @@ function J(e, t, r) {
1110
1126
  if (!i.every(Boolean))
1111
1127
  throw new Error("derived() expects stores as input, got a falsy value");
1112
1128
  const o = t.length < 2;
1113
- return tn(r, (s, a) => {
1129
+ return on(r, (s, a) => {
1114
1130
  let l = !1;
1115
1131
  const u = [];
1116
- let h = 0, f = M;
1117
- const c = () => {
1132
+ let h = 0, c = M;
1133
+ const f = () => {
1118
1134
  if (h)
1119
1135
  return;
1120
- f();
1136
+ c();
1121
1137
  const y = t(n ? u[0] : u, s, a);
1122
- o ? s(y) : f = We(y) ? y : M;
1123
- }, d = i.map(
1124
- (y, p) => Ct(
1138
+ o ? s(y) : c = Ze(y) ? y : M;
1139
+ }, m = i.map(
1140
+ (y, p) => Ot(
1125
1141
  y,
1126
1142
  (w) => {
1127
- u[p] = w, h &= ~(1 << p), l && c();
1143
+ u[p] = w, h &= ~(1 << p), l && f();
1128
1144
  },
1129
1145
  () => {
1130
1146
  h |= 1 << p;
1131
1147
  }
1132
1148
  )
1133
1149
  );
1134
- return l = !0, c(), function() {
1135
- Z(d), f(), l = !1;
1150
+ return l = !0, f(), function() {
1151
+ Z(m), c(), l = !1;
1136
1152
  };
1137
1153
  });
1138
1154
  }
1139
- var rn = function(t) {
1140
- return nn(t) && !on(t);
1155
+ var sn = function(t) {
1156
+ return an(t) && !un(t);
1141
1157
  };
1142
- function nn(e) {
1158
+ function an(e) {
1143
1159
  return !!e && typeof e == "object";
1144
1160
  }
1145
- function on(e) {
1161
+ function un(e) {
1146
1162
  var t = Object.prototype.toString.call(e);
1147
- return t === "[object RegExp]" || t === "[object Date]" || un(e);
1163
+ return t === "[object RegExp]" || t === "[object Date]" || cn(e);
1148
1164
  }
1149
- var sn = typeof Symbol == "function" && Symbol.for, an = sn ? Symbol.for("react.element") : 60103;
1150
- function un(e) {
1151
- return e.$$typeof === an;
1165
+ var ln = typeof Symbol == "function" && Symbol.for, hn = ln ? Symbol.for("react.element") : 60103;
1166
+ function cn(e) {
1167
+ return e.$$typeof === hn;
1152
1168
  }
1153
- function ln(e) {
1169
+ function fn(e) {
1154
1170
  return Array.isArray(e) ? [] : {};
1155
1171
  }
1156
1172
  function re(e, t) {
1157
- return t.clone !== !1 && t.isMergeableObject(e) ? V(ln(e), e, t) : e;
1173
+ return t.clone !== !1 && t.isMergeableObject(e) ? V(fn(e), e, t) : e;
1158
1174
  }
1159
- function hn(e, t, r) {
1175
+ function mn(e, t, r) {
1160
1176
  return e.concat(t).map(function(n) {
1161
1177
  return re(n, r);
1162
1178
  });
1163
1179
  }
1164
- function fn(e, t) {
1180
+ function dn(e, t) {
1165
1181
  if (!t.customMerge)
1166
1182
  return V;
1167
1183
  var r = t.customMerge(e);
1168
1184
  return typeof r == "function" ? r : V;
1169
1185
  }
1170
- function cn(e) {
1186
+ function pn(e) {
1171
1187
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1172
1188
  return Object.propertyIsEnumerable.call(e, t);
1173
1189
  }) : [];
1174
1190
  }
1175
- function lt(e) {
1176
- return Object.keys(e).concat(cn(e));
1191
+ function ct(e) {
1192
+ return Object.keys(e).concat(pn(e));
1177
1193
  }
1178
- function Ut(e, t) {
1194
+ function jt(e, t) {
1179
1195
  try {
1180
1196
  return t in e;
1181
1197
  } catch {
1182
1198
  return !1;
1183
1199
  }
1184
1200
  }
1185
- function dn(e, t) {
1186
- return Ut(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1201
+ function bn(e, t) {
1202
+ return jt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1187
1203
  }
1188
- function mn(e, t, r) {
1204
+ function gn(e, t, r) {
1189
1205
  var n = {};
1190
- return r.isMergeableObject(e) && lt(e).forEach(function(i) {
1206
+ return r.isMergeableObject(e) && ct(e).forEach(function(i) {
1191
1207
  n[i] = re(e[i], r);
1192
- }), lt(t).forEach(function(i) {
1193
- dn(e, i) || (Ut(e, i) && r.isMergeableObject(t[i]) ? n[i] = fn(i, r)(e[i], t[i], r) : n[i] = re(t[i], r));
1208
+ }), ct(t).forEach(function(i) {
1209
+ bn(e, i) || (jt(e, i) && r.isMergeableObject(t[i]) ? n[i] = dn(i, r)(e[i], t[i], r) : n[i] = re(t[i], r));
1194
1210
  }), n;
1195
1211
  }
1196
1212
  function V(e, t, r) {
1197
- r = r || {}, r.arrayMerge = r.arrayMerge || hn, r.isMergeableObject = r.isMergeableObject || rn, r.cloneUnlessOtherwiseSpecified = re;
1213
+ r = r || {}, r.arrayMerge = r.arrayMerge || mn, r.isMergeableObject = r.isMergeableObject || sn, r.cloneUnlessOtherwiseSpecified = re;
1198
1214
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1199
- return o ? n ? r.arrayMerge(e, t, r) : mn(e, t, r) : re(t, r);
1215
+ return o ? n ? r.arrayMerge(e, t, r) : gn(e, t, r) : re(t, r);
1200
1216
  }
1201
1217
  V.all = function(t, r) {
1202
1218
  if (!Array.isArray(t))
@@ -1205,64 +1221,62 @@ V.all = function(t, r) {
1205
1221
  return V(n, i, r);
1206
1222
  }, {});
1207
1223
  };
1208
- var pn = V, bn = pn;
1209
- const gn = /* @__PURE__ */ Ur(bn);
1210
- function Te(e, t) {
1211
- var r = t && t.cache ? t.cache : wn, n = t && t.serializer ? t.serializer : En, i = t && t.strategy ? t.strategy : vn;
1224
+ var yn = V, vn = yn;
1225
+ const xn = /* @__PURE__ */ jr(vn);
1226
+ function He(e, t) {
1227
+ var r = t && t.cache ? t.cache : Hn, n = t && t.serializer ? t.serializer : Tn, i = t && t.strategy ? t.strategy : En;
1212
1228
  return i(e, {
1213
1229
  cache: r,
1214
1230
  serializer: n
1215
1231
  });
1216
1232
  }
1217
- function yn(e) {
1233
+ function _n(e) {
1218
1234
  return e == null || typeof e == "number" || typeof e == "boolean";
1219
1235
  }
1220
- function Dt(e, t, r, n) {
1221
- var i = yn(n) ? n : r(n), o = t.get(i);
1236
+ function kt(e, t, r, n) {
1237
+ var i = _n(n) ? n : r(n), o = t.get(i);
1222
1238
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1223
1239
  }
1224
- function Ft(e, t, r) {
1240
+ function Vt(e, t, r) {
1225
1241
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1226
1242
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1227
1243
  }
1228
- function Qe(e, t, r, n, i) {
1244
+ function Je(e, t, r, n, i) {
1229
1245
  return r.bind(t, e, n, i);
1230
1246
  }
1231
- function vn(e, t) {
1232
- var r = e.length === 1 ? Dt : Ft;
1233
- return Qe(e, this, r, t.cache.create(), t.serializer);
1247
+ function En(e, t) {
1248
+ var r = e.length === 1 ? kt : Vt;
1249
+ return Je(e, this, r, t.cache.create(), t.serializer);
1234
1250
  }
1235
- function xn(e, t) {
1236
- return Qe(e, this, Ft, t.cache.create(), t.serializer);
1251
+ function Sn(e, t) {
1252
+ return Je(e, this, Vt, t.cache.create(), t.serializer);
1237
1253
  }
1238
- function _n(e, t) {
1239
- return Qe(e, this, Dt, t.cache.create(), t.serializer);
1254
+ function wn(e, t) {
1255
+ return Je(e, this, kt, t.cache.create(), t.serializer);
1240
1256
  }
1241
- var En = function() {
1257
+ var Tn = function() {
1242
1258
  return JSON.stringify(arguments);
1243
- }, Sn = (
1244
- /** @class */
1245
- function() {
1246
- function e() {
1247
- this.cache = /* @__PURE__ */ Object.create(null);
1248
- }
1249
- return e.prototype.get = function(t) {
1250
- return this.cache[t];
1251
- }, e.prototype.set = function(t, r) {
1252
- this.cache[t] = r;
1253
- }, e;
1254
- }()
1255
- ), wn = {
1259
+ };
1260
+ function qe() {
1261
+ this.cache = /* @__PURE__ */ Object.create(null);
1262
+ }
1263
+ qe.prototype.get = function(e) {
1264
+ return this.cache[e];
1265
+ };
1266
+ qe.prototype.set = function(e, t) {
1267
+ this.cache[e] = t;
1268
+ };
1269
+ var Hn = {
1256
1270
  create: function() {
1257
- return new Sn();
1271
+ return new qe();
1258
1272
  }
1259
- }, He = {
1260
- variadic: xn,
1261
- monadic: _n
1262
- }, m;
1273
+ }, Ae = {
1274
+ variadic: Sn,
1275
+ monadic: wn
1276
+ }, d;
1263
1277
  (function(e) {
1264
1278
  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";
1265
- })(m || (m = {}));
1279
+ })(d || (d = {}));
1266
1280
  var S;
1267
1281
  (function(e) {
1268
1282
  e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
@@ -1271,43 +1285,43 @@ var X;
1271
1285
  (function(e) {
1272
1286
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1273
1287
  })(X || (X = {}));
1274
- function ht(e) {
1288
+ function ft(e) {
1275
1289
  return e.type === S.literal;
1276
1290
  }
1277
- function Tn(e) {
1291
+ function An(e) {
1278
1292
  return e.type === S.argument;
1279
1293
  }
1280
- function jt(e) {
1294
+ function Xt(e) {
1281
1295
  return e.type === S.number;
1282
1296
  }
1283
- function kt(e) {
1297
+ function zt(e) {
1284
1298
  return e.type === S.date;
1285
1299
  }
1286
- function Vt(e) {
1300
+ function Wt(e) {
1287
1301
  return e.type === S.time;
1288
1302
  }
1289
- function Xt(e) {
1303
+ function Zt(e) {
1290
1304
  return e.type === S.select;
1291
1305
  }
1292
- function zt(e) {
1306
+ function Qt(e) {
1293
1307
  return e.type === S.plural;
1294
1308
  }
1295
- function Hn(e) {
1309
+ function Bn(e) {
1296
1310
  return e.type === S.pound;
1297
1311
  }
1298
- function Wt(e) {
1312
+ function Jt(e) {
1299
1313
  return e.type === S.tag;
1300
1314
  }
1301
- function Zt(e) {
1315
+ function qt(e) {
1302
1316
  return !!(e && typeof e == "object" && e.type === X.number);
1303
1317
  }
1304
- function Ue(e) {
1318
+ function De(e) {
1305
1319
  return !!(e && typeof e == "object" && e.type === X.dateTime);
1306
1320
  }
1307
- var Qt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, An = /(?:[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;
1308
- function Bn(e) {
1321
+ var Yt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Cn = /(?:[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;
1322
+ function Pn(e) {
1309
1323
  var t = {};
1310
- return e.replace(An, function(r) {
1324
+ return e.replace(Cn, function(r) {
1311
1325
  var n = r.length;
1312
1326
  switch (r[0]) {
1313
1327
  case "G":
@@ -1396,36 +1410,36 @@ function Bn(e) {
1396
1410
  return "";
1397
1411
  }), t;
1398
1412
  }
1399
- var Cn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1400
- function Pn(e) {
1413
+ var On = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1414
+ function In(e) {
1401
1415
  if (e.length === 0)
1402
1416
  throw new Error("Number skeleton cannot be empty");
1403
- for (var t = e.split(Cn).filter(function(c) {
1404
- return c.length > 0;
1417
+ for (var t = e.split(On).filter(function(f) {
1418
+ return f.length > 0;
1405
1419
  }), r = [], n = 0, i = t; n < i.length; n++) {
1406
1420
  var o = i[n], s = o.split("/");
1407
1421
  if (s.length === 0)
1408
1422
  throw new Error("Invalid number skeleton");
1409
1423
  for (var a = s[0], l = s.slice(1), u = 0, h = l; u < h.length; u++) {
1410
- var f = h[u];
1411
- if (f.length === 0)
1424
+ var c = h[u];
1425
+ if (c.length === 0)
1412
1426
  throw new Error("Invalid number skeleton");
1413
1427
  }
1414
1428
  r.push({ stem: a, options: l });
1415
1429
  }
1416
1430
  return r;
1417
1431
  }
1418
- function On(e) {
1432
+ function Mn(e) {
1419
1433
  return e.replace(/^(.*?)-/, "");
1420
1434
  }
1421
- var ft = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Jt = /^(@+)?(\+|#+)?[rs]?$/g, In = /(\*)(0+)|(#+)(0+)|(0+)/g, qt = /^(0+)$/;
1422
- function ct(e) {
1435
+ var mt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Kt = /^(@+)?(\+|#+)?[rs]?$/g, Nn = /(\*)(0+)|(#+)(0+)|(0+)/g, er = /^(0+)$/;
1436
+ function dt(e) {
1423
1437
  var t = {};
1424
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Jt, function(r, n, i) {
1438
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Kt, function(r, n, i) {
1425
1439
  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)), "";
1426
1440
  }), t;
1427
1441
  }
1428
- function Yt(e) {
1442
+ function tr(e) {
1429
1443
  switch (e) {
1430
1444
  case "sign-auto":
1431
1445
  return {
@@ -1465,7 +1479,7 @@ function Yt(e) {
1465
1479
  };
1466
1480
  }
1467
1481
  }
1468
- function Mn(e) {
1482
+ function Ln(e) {
1469
1483
  var t;
1470
1484
  if (e[0] === "E" && e[1] === "E" ? (t = {
1471
1485
  notation: "engineering"
@@ -1473,17 +1487,17 @@ function Mn(e) {
1473
1487
  notation: "scientific"
1474
1488
  }, e = e.slice(1)), t) {
1475
1489
  var r = e.slice(0, 2);
1476
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !qt.test(e))
1490
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !er.test(e))
1477
1491
  throw new Error("Malformed concise eng/scientific notation");
1478
1492
  t.minimumIntegerDigits = e.length;
1479
1493
  }
1480
1494
  return t;
1481
1495
  }
1482
- function dt(e) {
1483
- var t = {}, r = Yt(e);
1496
+ function pt(e) {
1497
+ var t = {}, r = tr(e);
1484
1498
  return r || t;
1485
1499
  }
1486
- function Nn(e) {
1500
+ function Rn(e) {
1487
1501
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1488
1502
  var i = n[r];
1489
1503
  switch (i.stem) {
@@ -1507,7 +1521,7 @@ function Nn(e) {
1507
1521
  continue;
1508
1522
  case "measure-unit":
1509
1523
  case "unit":
1510
- t.style = "unit", t.unit = On(i.options[0]);
1524
+ t.style = "unit", t.unit = Mn(i.options[0]);
1511
1525
  continue;
1512
1526
  case "compact-short":
1513
1527
  case "K":
@@ -1519,12 +1533,12 @@ function Nn(e) {
1519
1533
  continue;
1520
1534
  case "scientific":
1521
1535
  t = v(v(v({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1522
- return v(v({}, l), dt(u));
1536
+ return v(v({}, l), pt(u));
1523
1537
  }, {}));
1524
1538
  continue;
1525
1539
  case "engineering":
1526
1540
  t = v(v(v({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1527
- return v(v({}, l), dt(u));
1541
+ return v(v({}, l), pt(u));
1528
1542
  }, {}));
1529
1543
  continue;
1530
1544
  case "notation-simple":
@@ -1569,40 +1583,40 @@ function Nn(e) {
1569
1583
  case "integer-width":
1570
1584
  if (i.options.length > 1)
1571
1585
  throw new RangeError("integer-width stems only accept a single optional option");
1572
- i.options[0].replace(In, function(l, u, h, f, c, d) {
1586
+ i.options[0].replace(Nn, function(l, u, h, c, f, m) {
1573
1587
  if (u)
1574
1588
  t.minimumIntegerDigits = h.length;
1575
1589
  else {
1576
- if (f && c)
1590
+ if (c && f)
1577
1591
  throw new Error("We currently do not support maximum integer digits");
1578
- if (d)
1592
+ if (m)
1579
1593
  throw new Error("We currently do not support exact integer digits");
1580
1594
  }
1581
1595
  return "";
1582
1596
  });
1583
1597
  continue;
1584
1598
  }
1585
- if (qt.test(i.stem)) {
1599
+ if (er.test(i.stem)) {
1586
1600
  t.minimumIntegerDigits = i.stem.length;
1587
1601
  continue;
1588
1602
  }
1589
- if (ft.test(i.stem)) {
1603
+ if (mt.test(i.stem)) {
1590
1604
  if (i.options.length > 1)
1591
1605
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1592
- i.stem.replace(ft, function(l, u, h, f, c, d) {
1593
- return h === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && d ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1606
+ i.stem.replace(mt, function(l, u, h, c, f, m) {
1607
+ return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && m ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + m.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1594
1608
  });
1595
1609
  var o = i.options[0];
1596
- o === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = v(v({}, t), ct(o)));
1610
+ o === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = v(v({}, t), dt(o)));
1597
1611
  continue;
1598
1612
  }
1599
- if (Jt.test(i.stem)) {
1600
- t = v(v({}, t), ct(i.stem));
1613
+ if (Kt.test(i.stem)) {
1614
+ t = v(v({}, t), dt(i.stem));
1601
1615
  continue;
1602
1616
  }
1603
- var s = Yt(i.stem);
1617
+ var s = tr(i.stem);
1604
1618
  s && (t = v(v({}, t), s));
1605
- var a = Mn(i.stem);
1619
+ var a = Ln(i.stem);
1606
1620
  a && (t = v(v({}, t), a));
1607
1621
  }
1608
1622
  return t;
@@ -3022,13 +3036,13 @@ var he = {
3022
3036
  "h"
3023
3037
  ]
3024
3038
  };
3025
- function Ln(e, t) {
3039
+ function $n(e, t) {
3026
3040
  for (var r = "", n = 0; n < e.length; n++) {
3027
3041
  var i = e.charAt(n);
3028
3042
  if (i === "j") {
3029
3043
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3030
3044
  o++, n++;
3031
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Rn(t);
3045
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Gn(t);
3032
3046
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
3033
3047
  r += l;
3034
3048
  for (; s-- > 0; )
@@ -3038,7 +3052,7 @@ function Ln(e, t) {
3038
3052
  }
3039
3053
  return r;
3040
3054
  }
3041
- function Rn(e) {
3055
+ function Gn(e) {
3042
3056
  var t = e.hourCycle;
3043
3057
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3044
3058
  e.hourCycles && // @ts-ignore
@@ -3060,20 +3074,20 @@ function Rn(e) {
3060
3074
  var i = he[n || ""] || he[r || ""] || he["".concat(r, "-001")] || he["001"];
3061
3075
  return i[0];
3062
3076
  }
3063
- var Ae, $n = new RegExp("^".concat(Qt.source, "*")), Gn = new RegExp("".concat(Qt.source, "*$"));
3077
+ var Be, Un = new RegExp("^".concat(Yt.source, "*")), Dn = new RegExp("".concat(Yt.source, "*$"));
3064
3078
  function g(e, t) {
3065
3079
  return { start: e, end: t };
3066
3080
  }
3067
- var Un = !!String.prototype.startsWith && "_a".startsWith("a", 1), Dn = !!String.fromCodePoint, Fn = !!Object.fromEntries, jn = !!String.prototype.codePointAt, kn = !!String.prototype.trimStart, Vn = !!String.prototype.trimEnd, Xn = !!Number.isSafeInteger, zn = Xn ? Number.isSafeInteger : function(e) {
3081
+ var Fn = !!String.prototype.startsWith && "_a".startsWith("a", 1), jn = !!String.fromCodePoint, kn = !!Object.fromEntries, Vn = !!String.prototype.codePointAt, Xn = !!String.prototype.trimStart, zn = !!String.prototype.trimEnd, Wn = !!Number.isSafeInteger, Zn = Wn ? Number.isSafeInteger : function(e) {
3068
3082
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3069
- }, De = !0;
3083
+ }, Fe = !0;
3070
3084
  try {
3071
- var Wn = er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3072
- De = ((Ae = Wn.exec("a")) === null || Ae === void 0 ? void 0 : Ae[0]) === "a";
3085
+ var Qn = nr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3086
+ Fe = ((Be = Qn.exec("a")) === null || Be === void 0 ? void 0 : Be[0]) === "a";
3073
3087
  } catch {
3074
- De = !1;
3088
+ Fe = !1;
3075
3089
  }
3076
- var mt = Un ? (
3090
+ var bt = Fn ? (
3077
3091
  // Native
3078
3092
  function(t, r, n) {
3079
3093
  return t.startsWith(r, n);
@@ -3083,7 +3097,7 @@ var mt = Un ? (
3083
3097
  function(t, r, n) {
3084
3098
  return t.slice(n, n + r.length) === r;
3085
3099
  }
3086
- ), Fe = Dn ? String.fromCodePoint : (
3100
+ ), je = jn ? String.fromCodePoint : (
3087
3101
  // IE11
3088
3102
  function() {
3089
3103
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3095,9 +3109,9 @@ var mt = Un ? (
3095
3109
  }
3096
3110
  return n;
3097
3111
  }
3098
- ), pt = (
3112
+ ), gt = (
3099
3113
  // native
3100
- Fn ? Object.fromEntries : (
3114
+ kn ? Object.fromEntries : (
3101
3115
  // Ponyfill
3102
3116
  function(t) {
3103
3117
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3107,7 +3121,7 @@ var mt = Un ? (
3107
3121
  return r;
3108
3122
  }
3109
3123
  )
3110
- ), Kt = jn ? (
3124
+ ), rr = Vn ? (
3111
3125
  // Native
3112
3126
  function(t, r) {
3113
3127
  return t.codePointAt(r);
@@ -3121,7 +3135,7 @@ var mt = Un ? (
3121
3135
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3122
3136
  }
3123
3137
  }
3124
- ), Zn = kn ? (
3138
+ ), Jn = Xn ? (
3125
3139
  // Native
3126
3140
  function(t) {
3127
3141
  return t.trimStart();
@@ -3129,9 +3143,9 @@ var mt = Un ? (
3129
3143
  ) : (
3130
3144
  // Ponyfill
3131
3145
  function(t) {
3132
- return t.replace($n, "");
3146
+ return t.replace(Un, "");
3133
3147
  }
3134
- ), Qn = Vn ? (
3148
+ ), qn = zn ? (
3135
3149
  // Native
3136
3150
  function(t) {
3137
3151
  return t.trimEnd();
@@ -3139,32 +3153,32 @@ var mt = Un ? (
3139
3153
  ) : (
3140
3154
  // Ponyfill
3141
3155
  function(t) {
3142
- return t.replace(Gn, "");
3156
+ return t.replace(Dn, "");
3143
3157
  }
3144
3158
  );
3145
- function er(e, t) {
3159
+ function nr(e, t) {
3146
3160
  return new RegExp(e, t);
3147
3161
  }
3148
- var je;
3149
- if (De) {
3150
- var bt = er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3151
- je = function(t, r) {
3162
+ var ke;
3163
+ if (Fe) {
3164
+ var yt = nr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3165
+ ke = function(t, r) {
3152
3166
  var n;
3153
- bt.lastIndex = r;
3154
- var i = bt.exec(t);
3167
+ yt.lastIndex = r;
3168
+ var i = yt.exec(t);
3155
3169
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3156
3170
  };
3157
3171
  } else
3158
- je = function(t, r) {
3172
+ ke = function(t, r) {
3159
3173
  for (var n = []; ; ) {
3160
- var i = Kt(t, r);
3161
- if (i === void 0 || tr(i) || Kn(i))
3174
+ var i = rr(t, r);
3175
+ if (i === void 0 || ir(i) || ti(i))
3162
3176
  break;
3163
3177
  n.push(i), r += i >= 65536 ? 2 : 1;
3164
3178
  }
3165
- return Fe.apply(void 0, n);
3179
+ return je.apply(void 0, n);
3166
3180
  };
3167
- var Jn = (
3181
+ var Yn = (
3168
3182
  /** @class */
3169
3183
  function() {
3170
3184
  function e(t, r) {
@@ -3194,8 +3208,8 @@ var Jn = (
3194
3208
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3195
3209
  if (n)
3196
3210
  break;
3197
- return this.error(m.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
3198
- } else if (o === 60 && !this.ignoreTag && ke(this.peek() || 0)) {
3211
+ return this.error(d.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
3212
+ } else if (o === 60 && !this.ignoreTag && Ve(this.peek() || 0)) {
3199
3213
  var s = this.parseTag(t, r);
3200
3214
  if (s.err)
3201
3215
  return s;
@@ -3228,10 +3242,10 @@ var Jn = (
3228
3242
  return o;
3229
3243
  var s = o.val, a = this.clonePosition();
3230
3244
  if (this.bumpIf("</")) {
3231
- if (this.isEOF() || !ke(this.char()))
3232
- return this.error(m.INVALID_TAG, g(a, this.clonePosition()));
3245
+ if (this.isEOF() || !Ve(this.char()))
3246
+ return this.error(d.INVALID_TAG, g(a, this.clonePosition()));
3233
3247
  var l = this.clonePosition(), u = this.parseTagName();
3234
- return i !== u ? this.error(m.UNMATCHED_CLOSING_TAG, g(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3248
+ return i !== u ? this.error(d.UNMATCHED_CLOSING_TAG, g(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3235
3249
  val: {
3236
3250
  type: S.tag,
3237
3251
  value: i,
@@ -3239,14 +3253,14 @@ var Jn = (
3239
3253
  location: g(n, this.clonePosition())
3240
3254
  },
3241
3255
  err: null
3242
- } : this.error(m.INVALID_TAG, g(a, this.clonePosition())));
3256
+ } : this.error(d.INVALID_TAG, g(a, this.clonePosition())));
3243
3257
  } else
3244
- return this.error(m.UNCLOSED_TAG, g(n, this.clonePosition()));
3258
+ return this.error(d.UNCLOSED_TAG, g(n, this.clonePosition()));
3245
3259
  } else
3246
- return this.error(m.INVALID_TAG, g(n, this.clonePosition()));
3260
+ return this.error(d.INVALID_TAG, g(n, this.clonePosition()));
3247
3261
  }, e.prototype.parseTagName = function() {
3248
3262
  var t = this.offset();
3249
- for (this.bump(); !this.isEOF() && Yn(this.char()); )
3263
+ for (this.bump(); !this.isEOF() && ei(this.char()); )
3250
3264
  this.bump();
3251
3265
  return this.message.slice(t, this.offset());
3252
3266
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3275,7 +3289,7 @@ var Jn = (
3275
3289
  };
3276
3290
  }, e.prototype.tryParseLeftAngleBracket = function() {
3277
3291
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3278
- !qn(this.peek() || 0)) ? (this.bump(), "<") : null;
3292
+ !Kn(this.peek() || 0)) ? (this.bump(), "<") : null;
3279
3293
  }, e.prototype.tryParseQuote = function(t) {
3280
3294
  if (this.isEOF() || this.char() !== 39)
3281
3295
  return null;
@@ -3309,23 +3323,23 @@ var Jn = (
3309
3323
  r.push(n);
3310
3324
  this.bump();
3311
3325
  }
3312
- return Fe.apply(void 0, r);
3326
+ return je.apply(void 0, r);
3313
3327
  }, e.prototype.tryParseUnquoted = function(t, r) {
3314
3328
  if (this.isEOF())
3315
3329
  return null;
3316
3330
  var n = this.char();
3317
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Fe(n));
3331
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), je(n));
3318
3332
  }, e.prototype.parseArgument = function(t, r) {
3319
3333
  var n = this.clonePosition();
3320
3334
  if (this.bump(), this.bumpSpace(), this.isEOF())
3321
- return this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition()));
3335
+ return this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition()));
3322
3336
  if (this.char() === 125)
3323
- return this.bump(), this.error(m.EMPTY_ARGUMENT, g(n, this.clonePosition()));
3337
+ return this.bump(), this.error(d.EMPTY_ARGUMENT, g(n, this.clonePosition()));
3324
3338
  var i = this.parseIdentifierIfPossible().value;
3325
3339
  if (!i)
3326
- return this.error(m.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
3340
+ return this.error(d.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
3327
3341
  if (this.bumpSpace(), this.isEOF())
3328
- return this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition()));
3342
+ return this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition()));
3329
3343
  switch (this.char()) {
3330
3344
  case 125:
3331
3345
  return this.bump(), {
@@ -3338,12 +3352,12 @@ var Jn = (
3338
3352
  err: null
3339
3353
  };
3340
3354
  case 44:
3341
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3355
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3342
3356
  default:
3343
- return this.error(m.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
3357
+ return this.error(d.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
3344
3358
  }
3345
3359
  }, e.prototype.parseIdentifierIfPossible = function() {
3346
- var t = this.clonePosition(), r = this.offset(), n = je(this.message, r), i = r + n.length;
3360
+ var t = this.clonePosition(), r = this.offset(), n = ke(this.message, r), i = r + n.length;
3347
3361
  this.bumpTo(i);
3348
3362
  var o = this.clonePosition(), s = g(t, o);
3349
3363
  return { value: n, location: s };
@@ -3351,7 +3365,7 @@ var Jn = (
3351
3365
  var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, l = this.clonePosition();
3352
3366
  switch (a) {
3353
3367
  case "":
3354
- return this.error(m.EXPECT_ARGUMENT_TYPE, g(s, l));
3368
+ return this.error(d.EXPECT_ARGUMENT_TYPE, g(s, l));
3355
3369
  case "number":
3356
3370
  case "date":
3357
3371
  case "time": {
@@ -3359,40 +3373,40 @@ var Jn = (
3359
3373
  var u = null;
3360
3374
  if (this.bumpIf(",")) {
3361
3375
  this.bumpSpace();
3362
- var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3363
- if (f.err)
3364
- return f;
3365
- var c = Qn(f.val);
3366
- if (c.length === 0)
3367
- return this.error(m.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
3368
- var d = g(h, this.clonePosition());
3369
- u = { style: c, styleLocation: d };
3376
+ var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3377
+ if (c.err)
3378
+ return c;
3379
+ var f = qn(c.val);
3380
+ if (f.length === 0)
3381
+ return this.error(d.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
3382
+ var m = g(h, this.clonePosition());
3383
+ u = { style: f, styleLocation: m };
3370
3384
  }
3371
3385
  var y = this.tryParseArgumentClose(i);
3372
3386
  if (y.err)
3373
3387
  return y;
3374
3388
  var p = g(i, this.clonePosition());
3375
- if (u && mt(u?.style, "::", 0)) {
3376
- var w = Zn(u.style.slice(2));
3389
+ if (u && bt(u?.style, "::", 0)) {
3390
+ var w = Jn(u.style.slice(2));
3377
3391
  if (a === "number") {
3378
- var f = this.parseNumberSkeletonFromString(w, u.styleLocation);
3379
- return f.err ? f : {
3380
- val: { type: S.number, value: n, location: p, style: f.val },
3392
+ var c = this.parseNumberSkeletonFromString(w, u.styleLocation);
3393
+ return c.err ? c : {
3394
+ val: { type: S.number, value: n, location: p, style: c.val },
3381
3395
  err: null
3382
3396
  };
3383
3397
  } else {
3384
3398
  if (w.length === 0)
3385
- return this.error(m.EXPECT_DATE_TIME_SKELETON, p);
3399
+ return this.error(d.EXPECT_DATE_TIME_SKELETON, p);
3386
3400
  var P = w;
3387
- this.locale && (P = Ln(w, this.locale));
3388
- var c = {
3401
+ this.locale && (P = $n(w, this.locale));
3402
+ var f = {
3389
3403
  type: X.dateTime,
3390
3404
  pattern: P,
3391
3405
  location: u.styleLocation,
3392
- parsedOptions: this.shouldParseSkeletons ? Bn(P) : {}
3393
- }, C = a === "date" ? S.date : S.time;
3406
+ parsedOptions: this.shouldParseSkeletons ? Pn(P) : {}
3407
+ }, H = a === "date" ? S.date : S.time;
3394
3408
  return {
3395
- val: { type: C, value: n, location: p, style: c },
3409
+ val: { type: H, value: n, location: p, style: f },
3396
3410
  err: null
3397
3411
  };
3398
3412
  }
@@ -3412,21 +3426,21 @@ var Jn = (
3412
3426
  case "select": {
3413
3427
  var _ = this.clonePosition();
3414
3428
  if (this.bumpSpace(), !this.bumpIf(","))
3415
- return this.error(m.EXPECT_SELECT_ARGUMENT_OPTIONS, g(_, v({}, _)));
3429
+ return this.error(d.EXPECT_SELECT_ARGUMENT_OPTIONS, g(_, v({}, _)));
3416
3430
  this.bumpSpace();
3417
3431
  var E = this.parseIdentifierIfPossible(), x = 0;
3418
3432
  if (a !== "select" && E.value === "offset") {
3419
3433
  if (!this.bumpIf(":"))
3420
- return this.error(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g(this.clonePosition(), this.clonePosition()));
3434
+ return this.error(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g(this.clonePosition(), this.clonePosition()));
3421
3435
  this.bumpSpace();
3422
- var f = this.tryParseDecimalInteger(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, m.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3423
- if (f.err)
3424
- return f;
3425
- this.bumpSpace(), E = this.parseIdentifierIfPossible(), x = f.val;
3436
+ var c = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, d.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3437
+ if (c.err)
3438
+ return c;
3439
+ this.bumpSpace(), E = this.parseIdentifierIfPossible(), x = c.val;
3426
3440
  }
3427
- var H = this.tryParsePluralOrSelectOptions(t, a, r, E);
3428
- if (H.err)
3429
- return H;
3441
+ var A = this.tryParsePluralOrSelectOptions(t, a, r, E);
3442
+ if (A.err)
3443
+ return A;
3430
3444
  var y = this.tryParseArgumentClose(i);
3431
3445
  if (y.err)
3432
3446
  return y;
@@ -3435,7 +3449,7 @@ var Jn = (
3435
3449
  val: {
3436
3450
  type: S.select,
3437
3451
  value: n,
3438
- options: pt(H.val),
3452
+ options: gt(A.val),
3439
3453
  location: ae
3440
3454
  },
3441
3455
  err: null
@@ -3443,7 +3457,7 @@ var Jn = (
3443
3457
  val: {
3444
3458
  type: S.plural,
3445
3459
  value: n,
3446
- options: pt(H.val),
3460
+ options: gt(A.val),
3447
3461
  offset: x,
3448
3462
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3449
3463
  location: ae
@@ -3452,10 +3466,10 @@ var Jn = (
3452
3466
  };
3453
3467
  }
3454
3468
  default:
3455
- return this.error(m.INVALID_ARGUMENT_TYPE, g(s, l));
3469
+ return this.error(d.INVALID_ARGUMENT_TYPE, g(s, l));
3456
3470
  }
3457
3471
  }, e.prototype.tryParseArgumentClose = function(t) {
3458
- return this.isEOF() || this.char() !== 125 ? this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE, g(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3472
+ return this.isEOF() || this.char() !== 125 ? this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, g(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3459
3473
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3460
3474
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3461
3475
  var n = this.char();
@@ -3464,7 +3478,7 @@ var Jn = (
3464
3478
  this.bump();
3465
3479
  var i = this.clonePosition();
3466
3480
  if (!this.bumpUntil("'"))
3467
- return this.error(m.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, g(i, this.clonePosition()));
3481
+ return this.error(d.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, g(i, this.clonePosition()));
3468
3482
  this.bump();
3469
3483
  break;
3470
3484
  }
@@ -3494,52 +3508,52 @@ var Jn = (
3494
3508
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3495
3509
  var n = [];
3496
3510
  try {
3497
- n = Pn(t);
3511
+ n = In(t);
3498
3512
  } catch {
3499
- return this.error(m.INVALID_NUMBER_SKELETON, r);
3513
+ return this.error(d.INVALID_NUMBER_SKELETON, r);
3500
3514
  }
3501
3515
  return {
3502
3516
  val: {
3503
3517
  type: X.number,
3504
3518
  tokens: n,
3505
3519
  location: r,
3506
- parsedOptions: this.shouldParseSkeletons ? Nn(n) : {}
3520
+ parsedOptions: this.shouldParseSkeletons ? Rn(n) : {}
3507
3521
  },
3508
3522
  err: null
3509
3523
  };
3510
3524
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3511
3525
  for (var o, s = !1, a = [], l = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
3512
3526
  if (u.length === 0) {
3513
- var f = this.clonePosition();
3527
+ var c = this.clonePosition();
3514
3528
  if (r !== "select" && this.bumpIf("=")) {
3515
- var c = this.tryParseDecimalInteger(m.EXPECT_PLURAL_ARGUMENT_SELECTOR, m.INVALID_PLURAL_ARGUMENT_SELECTOR);
3516
- if (c.err)
3517
- return c;
3518
- h = g(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
3529
+ var f = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_SELECTOR, d.INVALID_PLURAL_ARGUMENT_SELECTOR);
3530
+ if (f.err)
3531
+ return f;
3532
+ h = g(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
3519
3533
  } else
3520
3534
  break;
3521
3535
  }
3522
3536
  if (l.has(u))
3523
- return this.error(r === "select" ? m.DUPLICATE_SELECT_ARGUMENT_SELECTOR : m.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3537
+ return this.error(r === "select" ? d.DUPLICATE_SELECT_ARGUMENT_SELECTOR : d.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3524
3538
  u === "other" && (s = !0), this.bumpSpace();
3525
- var d = this.clonePosition();
3539
+ var m = this.clonePosition();
3526
3540
  if (!this.bumpIf("{"))
3527
- return this.error(r === "select" ? m.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : m.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, g(this.clonePosition(), this.clonePosition()));
3541
+ return this.error(r === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : d.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, g(this.clonePosition(), this.clonePosition()));
3528
3542
  var y = this.parseMessage(t + 1, r, n);
3529
3543
  if (y.err)
3530
3544
  return y;
3531
- var p = this.tryParseArgumentClose(d);
3545
+ var p = this.tryParseArgumentClose(m);
3532
3546
  if (p.err)
3533
3547
  return p;
3534
3548
  a.push([
3535
3549
  u,
3536
3550
  {
3537
3551
  value: y.val,
3538
- location: g(d, this.clonePosition())
3552
+ location: g(m, this.clonePosition())
3539
3553
  }
3540
3554
  ]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
3541
3555
  }
3542
- return a.length === 0 ? this.error(r === "select" ? m.EXPECT_SELECT_ARGUMENT_SELECTOR : m.EXPECT_PLURAL_ARGUMENT_SELECTOR, g(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(m.MISSING_OTHER_CLAUSE, g(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3556
+ return a.length === 0 ? this.error(r === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR : d.EXPECT_PLURAL_ARGUMENT_SELECTOR, g(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(d.MISSING_OTHER_CLAUSE, g(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3543
3557
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3544
3558
  var n = 1, i = this.clonePosition();
3545
3559
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -3551,7 +3565,7 @@ var Jn = (
3551
3565
  break;
3552
3566
  }
3553
3567
  var l = g(i, this.clonePosition());
3554
- return o ? (s *= n, zn(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3568
+ return o ? (s *= n, Zn(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3555
3569
  }, e.prototype.offset = function() {
3556
3570
  return this.position.offset;
3557
3571
  }, e.prototype.isEOF = function() {
@@ -3566,7 +3580,7 @@ var Jn = (
3566
3580
  var t = this.position.offset;
3567
3581
  if (t >= this.message.length)
3568
3582
  throw Error("out of bound");
3569
- var r = Kt(this.message, t);
3583
+ var r = rr(this.message, t);
3570
3584
  if (r === void 0)
3571
3585
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3572
3586
  return r;
@@ -3585,7 +3599,7 @@ var Jn = (
3585
3599
  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);
3586
3600
  }
3587
3601
  }, e.prototype.bumpIf = function(t) {
3588
- if (mt(this.message, t, this.offset())) {
3602
+ if (bt(this.message, t, this.offset())) {
3589
3603
  for (var r = 0; r < t.length; r++)
3590
3604
  this.bump();
3591
3605
  return !0;
@@ -3607,7 +3621,7 @@ var Jn = (
3607
3621
  break;
3608
3622
  }
3609
3623
  }, e.prototype.bumpSpace = function() {
3610
- for (; !this.isEOF() && tr(this.char()); )
3624
+ for (; !this.isEOF() && ir(this.char()); )
3611
3625
  this.bump();
3612
3626
  }, e.prototype.peek = function() {
3613
3627
  if (this.isEOF())
@@ -3617,38 +3631,38 @@ var Jn = (
3617
3631
  }, e;
3618
3632
  }()
3619
3633
  );
3620
- function ke(e) {
3634
+ function Ve(e) {
3621
3635
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3622
3636
  }
3623
- function qn(e) {
3624
- return ke(e) || e === 47;
3637
+ function Kn(e) {
3638
+ return Ve(e) || e === 47;
3625
3639
  }
3626
- function Yn(e) {
3640
+ function ei(e) {
3627
3641
  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;
3628
3642
  }
3629
- function tr(e) {
3643
+ function ir(e) {
3630
3644
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3631
3645
  }
3632
- function Kn(e) {
3646
+ function ti(e) {
3633
3647
  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;
3634
3648
  }
3635
- function Ve(e) {
3649
+ function Xe(e) {
3636
3650
  e.forEach(function(t) {
3637
- if (delete t.location, Xt(t) || zt(t))
3651
+ if (delete t.location, Zt(t) || Qt(t))
3638
3652
  for (var r in t.options)
3639
- delete t.options[r].location, Ve(t.options[r].value);
3653
+ delete t.options[r].location, Xe(t.options[r].value);
3640
3654
  else
3641
- jt(t) && Zt(t.style) || (kt(t) || Vt(t)) && Ue(t.style) ? delete t.style.location : Wt(t) && Ve(t.children);
3655
+ Xt(t) && qt(t.style) || (zt(t) || Wt(t)) && De(t.style) ? delete t.style.location : Jt(t) && Xe(t.children);
3642
3656
  });
3643
3657
  }
3644
- function ei(e, t) {
3658
+ function ri(e, t) {
3645
3659
  t === void 0 && (t = {}), t = v({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3646
- var r = new Jn(e, t).parse();
3660
+ var r = new Yn(e, t).parse();
3647
3661
  if (r.err) {
3648
- var n = SyntaxError(m[r.err.kind]);
3662
+ var n = SyntaxError(d[r.err.kind]);
3649
3663
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3650
3664
  }
3651
- return t?.captureLocation || Ve(r.val), r.val;
3665
+ return t?.captureLocation || Xe(r.val), r.val;
3652
3666
  }
3653
3667
  var z;
3654
3668
  (function(e) {
@@ -3666,7 +3680,7 @@ var xe = (
3666
3680
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3667
3681
  }, t;
3668
3682
  }(Error)
3669
- ), gt = (
3683
+ ), vt = (
3670
3684
  /** @class */
3671
3685
  function(e) {
3672
3686
  L(t, e);
@@ -3675,7 +3689,7 @@ var xe = (
3675
3689
  }
3676
3690
  return t;
3677
3691
  }(xe)
3678
- ), ti = (
3692
+ ), ni = (
3679
3693
  /** @class */
3680
3694
  function(e) {
3681
3695
  L(t, e);
@@ -3684,7 +3698,7 @@ var xe = (
3684
3698
  }
3685
3699
  return t;
3686
3700
  }(xe)
3687
- ), ri = (
3701
+ ), ii = (
3688
3702
  /** @class */
3689
3703
  function(e) {
3690
3704
  L(t, e);
@@ -3693,128 +3707,128 @@ var xe = (
3693
3707
  }
3694
3708
  return t;
3695
3709
  }(xe)
3696
- ), B;
3710
+ ), C;
3697
3711
  (function(e) {
3698
3712
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3699
- })(B || (B = {}));
3700
- function ni(e) {
3713
+ })(C || (C = {}));
3714
+ function oi(e) {
3701
3715
  return e.length < 2 ? e : e.reduce(function(t, r) {
3702
3716
  var n = t[t.length - 1];
3703
- return !n || n.type !== B.literal || r.type !== B.literal ? t.push(r) : n.value += r.value, t;
3717
+ return !n || n.type !== C.literal || r.type !== C.literal ? t.push(r) : n.value += r.value, t;
3704
3718
  }, []);
3705
3719
  }
3706
- function ii(e) {
3720
+ function si(e) {
3707
3721
  return typeof e == "function";
3708
3722
  }
3709
- function me(e, t, r, n, i, o, s) {
3710
- if (e.length === 1 && ht(e[0]))
3723
+ function de(e, t, r, n, i, o, s) {
3724
+ if (e.length === 1 && ft(e[0]))
3711
3725
  return [
3712
3726
  {
3713
- type: B.literal,
3727
+ type: C.literal,
3714
3728
  value: e[0].value
3715
3729
  }
3716
3730
  ];
3717
3731
  for (var a = [], l = 0, u = e; l < u.length; l++) {
3718
3732
  var h = u[l];
3719
- if (ht(h)) {
3733
+ if (ft(h)) {
3720
3734
  a.push({
3721
- type: B.literal,
3735
+ type: C.literal,
3722
3736
  value: h.value
3723
3737
  });
3724
3738
  continue;
3725
3739
  }
3726
- if (Hn(h)) {
3740
+ if (Bn(h)) {
3727
3741
  typeof o == "number" && a.push({
3728
- type: B.literal,
3742
+ type: C.literal,
3729
3743
  value: r.getNumberFormat(t).format(o)
3730
3744
  });
3731
3745
  continue;
3732
3746
  }
3733
- var f = h.value;
3734
- if (!(i && f in i))
3735
- throw new ri(f, s);
3736
- var c = i[f];
3737
- if (Tn(h)) {
3738
- (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3739
- type: typeof c == "string" ? B.literal : B.object,
3740
- value: c
3747
+ var c = h.value;
3748
+ if (!(i && c in i))
3749
+ throw new ii(c, s);
3750
+ var f = i[c];
3751
+ if (An(h)) {
3752
+ (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3753
+ type: typeof f == "string" ? C.literal : C.object,
3754
+ value: f
3741
3755
  });
3742
3756
  continue;
3743
3757
  }
3744
- if (kt(h)) {
3745
- var d = typeof h.style == "string" ? n.date[h.style] : Ue(h.style) ? h.style.parsedOptions : void 0;
3758
+ if (zt(h)) {
3759
+ var m = typeof h.style == "string" ? n.date[h.style] : De(h.style) ? h.style.parsedOptions : void 0;
3746
3760
  a.push({
3747
- type: B.literal,
3748
- value: r.getDateTimeFormat(t, d).format(c)
3761
+ type: C.literal,
3762
+ value: r.getDateTimeFormat(t, m).format(f)
3749
3763
  });
3750
3764
  continue;
3751
3765
  }
3752
- if (Vt(h)) {
3753
- var d = typeof h.style == "string" ? n.time[h.style] : Ue(h.style) ? h.style.parsedOptions : n.time.medium;
3766
+ if (Wt(h)) {
3767
+ var m = typeof h.style == "string" ? n.time[h.style] : De(h.style) ? h.style.parsedOptions : n.time.medium;
3754
3768
  a.push({
3755
- type: B.literal,
3756
- value: r.getDateTimeFormat(t, d).format(c)
3769
+ type: C.literal,
3770
+ value: r.getDateTimeFormat(t, m).format(f)
3757
3771
  });
3758
3772
  continue;
3759
3773
  }
3760
- if (jt(h)) {
3761
- var d = typeof h.style == "string" ? n.number[h.style] : Zt(h.style) ? h.style.parsedOptions : void 0;
3762
- d && d.scale && (c = c * (d.scale || 1)), a.push({
3763
- type: B.literal,
3764
- value: r.getNumberFormat(t, d).format(c)
3774
+ if (Xt(h)) {
3775
+ var m = typeof h.style == "string" ? n.number[h.style] : qt(h.style) ? h.style.parsedOptions : void 0;
3776
+ m && m.scale && (f = f * (m.scale || 1)), a.push({
3777
+ type: C.literal,
3778
+ value: r.getNumberFormat(t, m).format(f)
3765
3779
  });
3766
3780
  continue;
3767
3781
  }
3768
- if (Wt(h)) {
3782
+ if (Jt(h)) {
3769
3783
  var y = h.children, p = h.value, w = i[p];
3770
- if (!ii(w))
3771
- throw new ti(p, "function", s);
3772
- var P = me(y, t, r, n, i, o), C = w(P.map(function(x) {
3784
+ if (!si(w))
3785
+ throw new ni(p, "function", s);
3786
+ var P = de(y, t, r, n, i, o), H = w(P.map(function(x) {
3773
3787
  return x.value;
3774
3788
  }));
3775
- Array.isArray(C) || (C = [C]), a.push.apply(a, C.map(function(x) {
3789
+ Array.isArray(H) || (H = [H]), a.push.apply(a, H.map(function(x) {
3776
3790
  return {
3777
- type: typeof x == "string" ? B.literal : B.object,
3791
+ type: typeof x == "string" ? C.literal : C.object,
3778
3792
  value: x
3779
3793
  };
3780
3794
  }));
3781
3795
  }
3782
- if (Xt(h)) {
3783
- var _ = h.options[c] || h.options.other;
3796
+ if (Zt(h)) {
3797
+ var _ = h.options[f] || h.options.other;
3784
3798
  if (!_)
3785
- throw new gt(h.value, c, Object.keys(h.options), s);
3786
- a.push.apply(a, me(_.value, t, r, n, i));
3799
+ throw new vt(h.value, f, Object.keys(h.options), s);
3800
+ a.push.apply(a, de(_.value, t, r, n, i));
3787
3801
  continue;
3788
3802
  }
3789
- if (zt(h)) {
3790
- var _ = h.options["=".concat(c)];
3803
+ if (Qt(h)) {
3804
+ var _ = h.options["=".concat(f)];
3791
3805
  if (!_) {
3792
3806
  if (!Intl.PluralRules)
3793
3807
  throw new xe(`Intl.PluralRules is not available in this environment.
3794
3808
  Try polyfilling it using "@formatjs/intl-pluralrules"
3795
3809
  `, z.MISSING_INTL_API, s);
3796
- var E = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
3810
+ var E = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3797
3811
  _ = h.options[E] || h.options.other;
3798
3812
  }
3799
3813
  if (!_)
3800
- throw new gt(h.value, c, Object.keys(h.options), s);
3801
- a.push.apply(a, me(_.value, t, r, n, i, c - (h.offset || 0)));
3814
+ throw new vt(h.value, f, Object.keys(h.options), s);
3815
+ a.push.apply(a, de(_.value, t, r, n, i, f - (h.offset || 0)));
3802
3816
  continue;
3803
3817
  }
3804
3818
  }
3805
- return ni(a);
3819
+ return oi(a);
3806
3820
  }
3807
- function oi(e, t) {
3821
+ function ai(e, t) {
3808
3822
  return t ? v(v(v({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3809
3823
  return r[n] = v(v({}, e[n]), t[n] || {}), r;
3810
3824
  }, {})) : e;
3811
3825
  }
3812
- function si(e, t) {
3826
+ function ui(e, t) {
3813
3827
  return t ? Object.keys(e).reduce(function(r, n) {
3814
- return r[n] = oi(e[n], t[n]), r;
3828
+ return r[n] = ai(e[n], t[n]), r;
3815
3829
  }, v({}, e)) : e;
3816
3830
  }
3817
- function Be(e) {
3831
+ function Ce(e) {
3818
3832
  return {
3819
3833
  create: function() {
3820
3834
  return {
@@ -3828,39 +3842,39 @@ function Be(e) {
3828
3842
  }
3829
3843
  };
3830
3844
  }
3831
- function ai(e) {
3845
+ function li(e) {
3832
3846
  return e === void 0 && (e = {
3833
3847
  number: {},
3834
3848
  dateTime: {},
3835
3849
  pluralRules: {}
3836
3850
  }), {
3837
- getNumberFormat: Te(function() {
3851
+ getNumberFormat: He(function() {
3838
3852
  for (var t, r = [], n = 0; n < arguments.length; n++)
3839
3853
  r[n] = arguments[n];
3840
3854
  return new ((t = Intl.NumberFormat).bind.apply(t, k([void 0], r, !1)))();
3841
3855
  }, {
3842
- cache: Be(e.number),
3843
- strategy: He.variadic
3856
+ cache: Ce(e.number),
3857
+ strategy: Ae.variadic
3844
3858
  }),
3845
- getDateTimeFormat: Te(function() {
3859
+ getDateTimeFormat: He(function() {
3846
3860
  for (var t, r = [], n = 0; n < arguments.length; n++)
3847
3861
  r[n] = arguments[n];
3848
3862
  return new ((t = Intl.DateTimeFormat).bind.apply(t, k([void 0], r, !1)))();
3849
3863
  }, {
3850
- cache: Be(e.dateTime),
3851
- strategy: He.variadic
3864
+ cache: Ce(e.dateTime),
3865
+ strategy: Ae.variadic
3852
3866
  }),
3853
- getPluralRules: Te(function() {
3867
+ getPluralRules: He(function() {
3854
3868
  for (var t, r = [], n = 0; n < arguments.length; n++)
3855
3869
  r[n] = arguments[n];
3856
3870
  return new ((t = Intl.PluralRules).bind.apply(t, k([void 0], r, !1)))();
3857
3871
  }, {
3858
- cache: Be(e.pluralRules),
3859
- strategy: He.variadic
3872
+ cache: Ce(e.pluralRules),
3873
+ strategy: Ae.variadic
3860
3874
  })
3861
3875
  };
3862
3876
  }
3863
- var ui = (
3877
+ var hi = (
3864
3878
  /** @class */
3865
3879
  function() {
3866
3880
  function e(t, r, n, i) {
@@ -3874,12 +3888,12 @@ var ui = (
3874
3888
  var u = o.formatToParts(l);
3875
3889
  if (u.length === 1)
3876
3890
  return u[0].value;
3877
- var h = u.reduce(function(f, c) {
3878
- return !f.length || c.type !== B.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
3891
+ var h = u.reduce(function(c, f) {
3892
+ return !c.length || f.type !== C.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3879
3893
  }, []);
3880
3894
  return h.length <= 1 ? h[0] || "" : h;
3881
3895
  }, this.formatToParts = function(l) {
3882
- return me(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
3896
+ return de(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
3883
3897
  }, this.resolvedOptions = function() {
3884
3898
  var l;
3885
3899
  return {
@@ -3892,13 +3906,13 @@ var ui = (
3892
3906
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3893
3907
  var s = i || {};
3894
3908
  s.formatters;
3895
- var a = Dr(s, ["formatters"]);
3909
+ var a = kr(s, ["formatters"]);
3896
3910
  this.ast = e.__parse(t, v(v({}, a), { locale: this.resolvedLocale }));
3897
3911
  } else
3898
3912
  this.ast = t;
3899
3913
  if (!Array.isArray(this.ast))
3900
3914
  throw new TypeError("A message must be provided as a String or AST.");
3901
- this.formats = si(e.formats, n), this.formatters = i && i.formatters || ai(this.formatterCache);
3915
+ this.formats = ui(e.formats, n), this.formatters = i && i.formatters || li(this.formatterCache);
3902
3916
  }
3903
3917
  return Object.defineProperty(e, "defaultLocale", {
3904
3918
  get: function() {
@@ -3911,7 +3925,7 @@ var ui = (
3911
3925
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3912
3926
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3913
3927
  }
3914
- }, e.__parse = ei, e.formats = {
3928
+ }, e.__parse = ri, e.formats = {
3915
3929
  number: {
3916
3930
  integer: {
3917
3931
  maximumFractionDigits: 0
@@ -3972,7 +3986,7 @@ var ui = (
3972
3986
  }, e;
3973
3987
  }()
3974
3988
  );
3975
- function li(e, t) {
3989
+ function ci(e, t) {
3976
3990
  if (t == null)
3977
3991
  return;
3978
3992
  if (t in e)
@@ -3993,92 +4007,92 @@ function li(e, t) {
3993
4007
  n = void 0;
3994
4008
  return n;
3995
4009
  }
3996
- const R = {}, hi = (e, t, r) => r && (t in R || (R[t] = {}), e in R[t] || (R[t][e] = r), r), rr = (e, t) => {
4010
+ const R = {}, fi = (e, t, r) => r && (t in R || (R[t] = {}), e in R[t] || (R[t][e] = r), r), or = (e, t) => {
3997
4011
  if (t == null)
3998
4012
  return;
3999
4013
  if (t in R && e in R[t])
4000
4014
  return R[t][e];
4001
4015
  const r = _e(t);
4002
4016
  for (let n = 0; n < r.length; n++) {
4003
- const i = r[n], o = ci(i, e);
4017
+ const i = r[n], o = di(i, e);
4004
4018
  if (o)
4005
- return hi(e, t, o);
4019
+ return fi(e, t, o);
4006
4020
  }
4007
4021
  };
4008
- let Je;
4022
+ let Ye;
4009
4023
  const se = ve({});
4010
- function fi(e) {
4011
- return Je[e] || null;
4024
+ function mi(e) {
4025
+ return Ye[e] || null;
4012
4026
  }
4013
- function nr(e) {
4014
- return e in Je;
4027
+ function sr(e) {
4028
+ return e in Ye;
4015
4029
  }
4016
- function ci(e, t) {
4017
- if (!nr(e))
4030
+ function di(e, t) {
4031
+ if (!sr(e))
4018
4032
  return null;
4019
- const r = fi(e);
4020
- return li(r, t);
4033
+ const r = mi(e);
4034
+ return ci(r, t);
4021
4035
  }
4022
- function di(e) {
4036
+ function pi(e) {
4023
4037
  if (e == null)
4024
4038
  return;
4025
4039
  const t = _e(e);
4026
4040
  for (let r = 0; r < t.length; r++) {
4027
4041
  const n = t[r];
4028
- if (nr(n))
4042
+ if (sr(n))
4029
4043
  return n;
4030
4044
  }
4031
4045
  }
4032
- function ir(e, ...t) {
4033
- delete R[e], se.update((r) => (r[e] = gn.all([r[e] || {}, ...t]), r));
4046
+ function ar(e, ...t) {
4047
+ delete R[e], se.update((r) => (r[e] = xn.all([r[e] || {}, ...t]), r));
4034
4048
  }
4035
4049
  J(
4036
4050
  [se],
4037
4051
  ([e]) => Object.keys(e)
4038
4052
  );
4039
- se.subscribe((e) => Je = e);
4053
+ se.subscribe((e) => Ye = e);
4040
4054
  const pe = {};
4041
- function mi(e, t) {
4055
+ function bi(e, t) {
4042
4056
  pe[e].delete(t), pe[e].size === 0 && delete pe[e];
4043
4057
  }
4044
- function or(e) {
4058
+ function ur(e) {
4045
4059
  return pe[e];
4046
4060
  }
4047
- function pi(e) {
4061
+ function gi(e) {
4048
4062
  return _e(e).map((t) => {
4049
- const r = or(t);
4063
+ const r = ur(t);
4050
4064
  return [t, r ? [...r] : []];
4051
4065
  }).filter(([, t]) => t.length > 0);
4052
4066
  }
4053
- function Xe(e) {
4067
+ function ze(e) {
4054
4068
  return e == null ? !1 : _e(e).some(
4055
4069
  (t) => {
4056
4070
  var r;
4057
- return (r = or(t)) == null ? void 0 : r.size;
4071
+ return (r = ur(t)) == null ? void 0 : r.size;
4058
4072
  }
4059
4073
  );
4060
4074
  }
4061
- function bi(e, t) {
4075
+ function yi(e, t) {
4062
4076
  return Promise.all(
4063
- t.map((n) => (mi(e, n), n().then((i) => i.default || i)))
4064
- ).then((n) => ir(e, ...n));
4077
+ t.map((n) => (bi(e, n), n().then((i) => i.default || i)))
4078
+ ).then((n) => ar(e, ...n));
4065
4079
  }
4066
4080
  const K = {};
4067
- function sr(e) {
4068
- if (!Xe(e))
4081
+ function lr(e) {
4082
+ if (!ze(e))
4069
4083
  return e in K ? K[e] : Promise.resolve();
4070
- const t = pi(e);
4084
+ const t = gi(e);
4071
4085
  return K[e] = Promise.all(
4072
4086
  t.map(
4073
- ([r, n]) => bi(r, n)
4087
+ ([r, n]) => yi(r, n)
4074
4088
  )
4075
4089
  ).then(() => {
4076
- if (Xe(e))
4077
- return sr(e);
4090
+ if (ze(e))
4091
+ return lr(e);
4078
4092
  delete K[e];
4079
4093
  }), K[e];
4080
4094
  }
4081
- const gi = {
4095
+ const vi = {
4082
4096
  number: {
4083
4097
  scientific: { notation: "scientific" },
4084
4098
  engineering: { notation: "engineering" },
@@ -4107,57 +4121,57 @@ const gi = {
4107
4121
  timeZoneName: "short"
4108
4122
  }
4109
4123
  }
4110
- }, yi = {
4124
+ }, xi = {
4111
4125
  fallbackLocale: null,
4112
4126
  loadingDelay: 200,
4113
- formats: gi,
4127
+ formats: vi,
4114
4128
  warnOnMissingMessages: !0,
4115
4129
  handleMissingMessage: void 0,
4116
4130
  ignoreTag: !0
4117
- }, vi = yi;
4131
+ }, _i = xi;
4118
4132
  function W() {
4119
- return vi;
4120
- }
4121
- const Ce = ve(!1);
4122
- var xi = Object.defineProperty, _i = Object.defineProperties, Ei = Object.getOwnPropertyDescriptors, yt = Object.getOwnPropertySymbols, Si = Object.prototype.hasOwnProperty, wi = Object.prototype.propertyIsEnumerable, vt = (e, t, r) => t in e ? xi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ti = (e, t) => {
4123
- for (var r in t)
4124
- Si.call(t, r) && vt(e, r, t[r]);
4125
- if (yt)
4126
- for (var r of yt(t))
4127
- wi.call(t, r) && vt(e, r, t[r]);
4133
+ return _i;
4134
+ }
4135
+ const Pe = ve(!1);
4136
+ var Ei = Object.defineProperty, Si = Object.defineProperties, wi = Object.getOwnPropertyDescriptors, xt = Object.getOwnPropertySymbols, Ti = Object.prototype.hasOwnProperty, Hi = Object.prototype.propertyIsEnumerable, _t = (e, t, r) => t in e ? Ei(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ai = (e, t) => {
4137
+ for (var r in t || (t = {}))
4138
+ Ti.call(t, r) && _t(e, r, t[r]);
4139
+ if (xt)
4140
+ for (var r of xt(t))
4141
+ Hi.call(t, r) && _t(e, r, t[r]);
4128
4142
  return e;
4129
- }, Hi = (e, t) => _i(e, Ei(t));
4130
- let ze;
4143
+ }, Bi = (e, t) => Si(e, wi(t));
4144
+ let We;
4131
4145
  const be = ve(null);
4132
- function xt(e) {
4146
+ function Et(e) {
4133
4147
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4134
4148
  }
4135
4149
  function _e(e, t = W().fallbackLocale) {
4136
- const r = xt(e);
4137
- return t ? [.../* @__PURE__ */ new Set([...r, ...xt(t)])] : r;
4150
+ const r = Et(e);
4151
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Et(t)])] : r;
4138
4152
  }
4139
4153
  function $() {
4140
- return ze ?? void 0;
4154
+ return We ?? void 0;
4141
4155
  }
4142
4156
  be.subscribe((e) => {
4143
- ze = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4157
+ We = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4144
4158
  });
4145
- const Ai = (e) => {
4146
- if (e && di(e) && Xe(e)) {
4159
+ const Ci = (e) => {
4160
+ if (e && pi(e) && ze(e)) {
4147
4161
  const { loadingDelay: t } = W();
4148
4162
  let r;
4149
4163
  return typeof window < "u" && $() != null && t ? r = window.setTimeout(
4150
- () => Ce.set(!0),
4164
+ () => Pe.set(!0),
4151
4165
  t
4152
- ) : Ce.set(!0), sr(e).then(() => {
4166
+ ) : Pe.set(!0), lr(e).then(() => {
4153
4167
  be.set(e);
4154
4168
  }).finally(() => {
4155
- clearTimeout(r), Ce.set(!1);
4169
+ clearTimeout(r), Pe.set(!1);
4156
4170
  });
4157
4171
  }
4158
4172
  return be.set(e);
4159
- }, q = Hi(Ti({}, be), {
4160
- set: Ai
4173
+ }, q = Bi(Ai({}, be), {
4174
+ set: Ci
4161
4175
  }), Ee = (e) => {
4162
4176
  const t = /* @__PURE__ */ Object.create(null);
4163
4177
  return (n) => {
@@ -4165,20 +4179,20 @@ const Ai = (e) => {
4165
4179
  return i in t ? t[i] : t[i] = e(n);
4166
4180
  };
4167
4181
  };
4168
- var Bi = Object.defineProperty, ge = Object.getOwnPropertySymbols, ar = Object.prototype.hasOwnProperty, ur = Object.prototype.propertyIsEnumerable, _t = (e, t, r) => t in e ? Bi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, qe = (e, t) => {
4182
+ var Pi = Object.defineProperty, ge = Object.getOwnPropertySymbols, hr = Object.prototype.hasOwnProperty, cr = Object.prototype.propertyIsEnumerable, St = (e, t, r) => t in e ? Pi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ke = (e, t) => {
4169
4183
  for (var r in t || (t = {}))
4170
- ar.call(t, r) && _t(e, r, t[r]);
4184
+ hr.call(t, r) && St(e, r, t[r]);
4171
4185
  if (ge)
4172
4186
  for (var r of ge(t))
4173
- ur.call(t, r) && _t(e, r, t[r]);
4187
+ cr.call(t, r) && St(e, r, t[r]);
4174
4188
  return e;
4175
4189
  }, Y = (e, t) => {
4176
4190
  var r = {};
4177
4191
  for (var n in e)
4178
- ar.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4192
+ hr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4179
4193
  if (e != null && ge)
4180
4194
  for (var n of ge(e))
4181
- t.indexOf(n) < 0 && ur.call(e, n) && (r[n] = e[n]);
4195
+ t.indexOf(n) < 0 && cr.call(e, n) && (r[n] = e[n]);
4182
4196
  return r;
4183
4197
  };
4184
4198
  const ne = (e, t) => {
@@ -4186,21 +4200,21 @@ const ne = (e, t) => {
4186
4200
  if (e in r && t in r[e])
4187
4201
  return r[e][t];
4188
4202
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4189
- }, Ci = Ee(
4203
+ }, Oi = Ee(
4190
4204
  (e) => {
4191
4205
  var t = e, { locale: r, format: n } = t, i = Y(t, ["locale", "format"]);
4192
4206
  if (r == null)
4193
4207
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4194
4208
  return n && (i = ne("number", n)), new Intl.NumberFormat(r, i);
4195
4209
  }
4196
- ), Pi = Ee(
4210
+ ), Ii = Ee(
4197
4211
  (e) => {
4198
4212
  var t = e, { locale: r, format: n } = t, i = Y(t, ["locale", "format"]);
4199
4213
  if (r == null)
4200
4214
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4201
4215
  return n ? i = ne("date", n) : Object.keys(i).length === 0 && (i = ne("date", "short")), new Intl.DateTimeFormat(r, i);
4202
4216
  }
4203
- ), Oi = Ee(
4217
+ ), Mi = Ee(
4204
4218
  (e) => {
4205
4219
  var t = e, { locale: r, format: n } = t, i = Y(t, ["locale", "format"]);
4206
4220
  if (r == null)
@@ -4209,33 +4223,33 @@ const ne = (e, t) => {
4209
4223
  );
4210
4224
  return n ? i = ne("time", n) : Object.keys(i).length === 0 && (i = ne("time", "short")), new Intl.DateTimeFormat(r, i);
4211
4225
  }
4212
- ), Ii = (e = {}) => {
4226
+ ), Ni = (e = {}) => {
4213
4227
  var t = e, {
4214
4228
  locale: r = $()
4215
4229
  } = t, n = Y(t, [
4216
4230
  "locale"
4217
4231
  ]);
4218
- return Ci(qe({ locale: r }, n));
4219
- }, Mi = (e = {}) => {
4232
+ return Oi(Ke({ locale: r }, n));
4233
+ }, Li = (e = {}) => {
4220
4234
  var t = e, {
4221
4235
  locale: r = $()
4222
4236
  } = t, n = Y(t, [
4223
4237
  "locale"
4224
4238
  ]);
4225
- return Pi(qe({ locale: r }, n));
4226
- }, Ni = (e = {}) => {
4239
+ return Ii(Ke({ locale: r }, n));
4240
+ }, Ri = (e = {}) => {
4227
4241
  var t = e, {
4228
4242
  locale: r = $()
4229
4243
  } = t, n = Y(t, [
4230
4244
  "locale"
4231
4245
  ]);
4232
- return Oi(qe({ locale: r }, n));
4233
- }, Li = Ee(
4246
+ return Mi(Ke({ locale: r }, n));
4247
+ }, $i = Ee(
4234
4248
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4235
- (e, t = $()) => new ui(e, t, W().formats, {
4249
+ (e, t = $()) => new hi(e, t, W().formats, {
4236
4250
  ignoreTag: W().ignoreTag
4237
4251
  })
4238
- ), Ri = (e, t = {}) => {
4252
+ ), Gi = (e, t = {}) => {
4239
4253
  var r, n, i, o;
4240
4254
  let s = t;
4241
4255
  typeof e == "object" && (s = e, e = s.id);
@@ -4248,7 +4262,7 @@ const ne = (e, t) => {
4248
4262
  throw new Error(
4249
4263
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4250
4264
  );
4251
- let h = rr(e, l);
4265
+ let h = or(e, l);
4252
4266
  if (!h)
4253
4267
  h = (o = (i = (n = (r = W()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4254
4268
  else if (typeof h != "string")
@@ -4257,30 +4271,30 @@ const ne = (e, t) => {
4257
4271
  ), h;
4258
4272
  if (!a)
4259
4273
  return h;
4260
- let f = h;
4274
+ let c = h;
4261
4275
  try {
4262
- f = Li(h, l).format(a);
4263
- } catch (c) {
4264
- c instanceof Error && console.warn(
4276
+ c = $i(h, l).format(a);
4277
+ } catch (f) {
4278
+ f instanceof Error && console.warn(
4265
4279
  `[svelte-i18n] Message "${e}" has syntax error:`,
4266
- c.message
4280
+ f.message
4267
4281
  );
4268
4282
  }
4269
- return f;
4270
- }, $i = (e, t) => Ni(t).format(e), Gi = (e, t) => Mi(t).format(e), Ui = (e, t) => Ii(t).format(e), Di = (e, t = $()) => rr(e, t), Fi = J([q, se], () => Ri);
4271
- J([q], () => $i);
4272
- J([q], () => Gi);
4283
+ return c;
4284
+ }, Ui = (e, t) => Ri(t).format(e), Di = (e, t) => Li(t).format(e), Fi = (e, t) => Ni(t).format(e), ji = (e, t = $()) => or(e, t), ki = J([q, se], () => Gi);
4273
4285
  J([q], () => Ui);
4274
- J([q, se], () => Di);
4275
- window.emWidgets = { topic: en };
4276
- const ji = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4277
- function ki(e, t) {
4286
+ J([q], () => Di);
4287
+ J([q], () => Fi);
4288
+ J([q, se], () => ji);
4289
+ window.emWidgets = { topic: nn };
4290
+ const Vi = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4291
+ function Xi(e, t) {
4278
4292
  if (e) {
4279
4293
  const r = document.createElement("style");
4280
4294
  r.innerHTML = t, e.appendChild(r);
4281
4295
  }
4282
4296
  }
4283
- function Vi(e, t) {
4297
+ function zi(e, t) {
4284
4298
  const r = new URL(t);
4285
4299
  fetch(r.href).then((n) => n.text()).then((n) => {
4286
4300
  const i = document.createElement("style");
@@ -4289,7 +4303,7 @@ function Vi(e, t) {
4289
4303
  console.error("There was an error while trying to load client styling from URL", n);
4290
4304
  });
4291
4305
  }
4292
- function Xi(e, t, r) {
4306
+ function Wi(e, t, r) {
4293
4307
  if (window.emMessageBus) {
4294
4308
  const n = document.createElement("style");
4295
4309
  window.emMessageBus.subscribe(t, (i) => {
@@ -4297,13 +4311,13 @@ function Xi(e, t, r) {
4297
4311
  });
4298
4312
  }
4299
4313
  }
4300
- function Et(e, t) {
4301
- ir(e, t);
4314
+ function wt(e, t) {
4315
+ ar(e, t);
4302
4316
  }
4303
- function zi(e) {
4317
+ function Zi(e) {
4304
4318
  q.set(e);
4305
4319
  }
4306
- const St = {
4320
+ const Tt = {
4307
4321
  en: {
4308
4322
  cancel: "Cancel",
4309
4323
  confirm: "Confirm"
@@ -4349,18 +4363,18 @@ const St = {
4349
4363
  confirm: "Confirm"
4350
4364
  }
4351
4365
  };
4352
- function Wi(e) {
4353
- vr(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}');
4354
- }
4355
- const Zi = (e) => ({}), wt = (e) => ({});
4356
4366
  function Qi(e) {
4367
+ Er(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}');
4368
+ }
4369
+ const Ji = (e) => ({}), Ht = (e) => ({});
4370
+ function qi(e) {
4357
4371
  let t, r;
4358
4372
  return {
4359
4373
  c() {
4360
- t = et("svg"), r = et("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");
4374
+ t = rt("svg"), r = rt("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");
4361
4375
  },
4362
4376
  m(n, i) {
4363
- ie(n, t, i), A(t, r);
4377
+ ie(n, t, i), B(t, r);
4364
4378
  },
4365
4379
  p: M,
4366
4380
  d(n) {
@@ -4368,7 +4382,7 @@ function Qi(e) {
4368
4382
  }
4369
4383
  };
4370
4384
  }
4371
- function Tt(e) {
4385
+ function At(e) {
4372
4386
  let t, r, n;
4373
4387
  return {
4374
4388
  c() {
@@ -4378,11 +4392,11 @@ function Tt(e) {
4378
4392
  ), T(t, "class", "GeneralConfirmationTitle");
4379
4393
  },
4380
4394
  m(i, o) {
4381
- ie(i, t, o), A(t, r), A(r, n);
4395
+ ie(i, t, o), B(t, r), B(r, n);
4382
4396
  },
4383
4397
  p(i, o) {
4384
4398
  o & /*modaltitle*/
4385
- 2 && Ze(
4399
+ 2 && Qe(
4386
4400
  n,
4387
4401
  /*modaltitle*/
4388
4402
  i[1]
@@ -4393,7 +4407,7 @@ function Tt(e) {
4393
4407
  }
4394
4408
  };
4395
4409
  }
4396
- function Ht(e) {
4410
+ function Bt(e) {
4397
4411
  let t, r = (
4398
4412
  /*$_*/
4399
4413
  e[4]("cancel") + ""
@@ -4403,7 +4417,7 @@ function Ht(e) {
4403
4417
  t = I("button"), n = oe(r), T(t, "class", "GeneralCancelButton");
4404
4418
  },
4405
4419
  m(s, a) {
4406
- ie(s, t, a), A(t, n), i || (o = Pe(
4420
+ ie(s, t, a), B(t, n), i || (o = Oe(
4407
4421
  t,
4408
4422
  "click",
4409
4423
  /*click_handler*/
@@ -4413,52 +4427,52 @@ function Ht(e) {
4413
4427
  p(s, a) {
4414
4428
  a & /*$_*/
4415
4429
  16 && r !== (r = /*$_*/
4416
- s[4]("cancel") + "") && Ze(n, r);
4430
+ s[4]("cancel") + "") && Qe(n, r);
4417
4431
  },
4418
4432
  d(s) {
4419
4433
  s && Q(t), i = !1, o();
4420
4434
  }
4421
4435
  };
4422
4436
  }
4423
- function Ji(e) {
4424
- let t, r, n, i, o, s, a, l, u, h, f = (
4437
+ function Yi(e) {
4438
+ let t, r, n, i, o, s, a, l, u, h, c = (
4425
4439
  /*$_*/
4426
4440
  e[4]("confirm") + ""
4427
- ), c, d, y, p;
4441
+ ), f, m, y, p;
4428
4442
  const w = (
4429
4443
  /*#slots*/
4430
4444
  e[16].close
4431
- ), P = pr(
4445
+ ), P = yr(
4432
4446
  w,
4433
4447
  e,
4434
4448
  /*$$scope*/
4435
4449
  e[15],
4436
- wt
4437
- ), C = P || Qi();
4450
+ Ht
4451
+ ), H = P || qi();
4438
4452
  let _ = (
4439
4453
  /*modaltitle*/
4440
- e[1] && Tt(e)
4454
+ e[1] && At(e)
4441
4455
  ), E = (
4442
4456
  /*hascancelbutton*/
4443
- e[2] && Ht(e)
4457
+ e[2] && Bt(e)
4444
4458
  );
4445
4459
  return {
4446
4460
  c() {
4447
- t = I("div"), r = I("div"), n = I("span"), C.c(), i = ue(), _ && _.c(), o = ue(), s = I("div"), a = ue(), l = I("div"), E && E.c(), u = ue(), h = I("button"), c = oe(f), T(n, "class", "ModalCloseBtn"), T(n, "role", "button"), T(s, "class", "GeneralConfirmationContent"), T(h, "class", "GeneralConfirmButton"), T(l, "class", "GeneralConfirmationControlArea " + /*isMobile*/
4461
+ t = I("div"), r = I("div"), n = I("span"), H && H.c(), i = ue(), _ && _.c(), o = ue(), s = I("div"), a = ue(), l = I("div"), E && E.c(), u = ue(), h = I("button"), f = oe(c), T(n, "class", "ModalCloseBtn"), T(n, "role", "button"), T(s, "class", "GeneralConfirmationContent"), T(h, "class", "GeneralConfirmButton"), T(l, "class", "GeneralConfirmationControlArea " + /*isMobile*/
4448
4462
  (e[5] ? "GeneralConfirmationControlAreaMobile" : "")), T(r, "class", "GeneralConfirmationContainer " + /*isMobile*/
4449
4463
  (e[5] ? "GeneralConfirmationContainerMobile" : "")), T(t, "class", "GeneralConfirmationWrapper " + /*isMobile*/
4450
4464
  (e[5] ? "GeneralConfirmationMobileWrapper" : ""));
4451
4465
  },
4452
- m(x, H) {
4453
- ie(x, t, H), A(t, r), A(r, n), C.m(n, null), A(r, i), _ && _.m(r, null), A(r, o), A(r, s), s.innerHTML = /*modaltext*/
4454
- e[0], A(r, a), A(r, l), E && E.m(l, null), A(l, u), A(l, h), A(h, c), e[19](t), d = !0, y || (p = [
4455
- Pe(
4466
+ m(x, A) {
4467
+ ie(x, t, A), B(t, r), B(r, n), H && H.m(n, null), B(r, i), _ && _.m(r, null), B(r, o), B(r, s), s.innerHTML = /*modaltext*/
4468
+ e[0], B(r, a), B(r, l), E && E.m(l, null), B(l, u), B(l, h), B(h, f), e[19](t), m = !0, y || (p = [
4469
+ Oe(
4456
4470
  n,
4457
4471
  "click",
4458
4472
  /*close*/
4459
4473
  e[6]
4460
4474
  ),
4461
- Pe(
4475
+ Oe(
4462
4476
  h,
4463
4477
  "click",
4464
4478
  /*click_handler_1*/
@@ -4466,83 +4480,83 @@ function Ji(e) {
4466
4480
  )
4467
4481
  ], y = !0);
4468
4482
  },
4469
- p(x, [H]) {
4470
- P && P.p && (!d || H & /*$$scope*/
4471
- 32768) && gr(
4483
+ p(x, [A]) {
4484
+ P && P.p && (!m || A & /*$$scope*/
4485
+ 32768) && xr(
4472
4486
  P,
4473
4487
  w,
4474
4488
  x,
4475
4489
  /*$$scope*/
4476
4490
  x[15],
4477
- d ? br(
4491
+ m ? vr(
4478
4492
  w,
4479
4493
  /*$$scope*/
4480
4494
  x[15],
4481
- H,
4482
- Zi
4483
- ) : yr(
4495
+ A,
4496
+ Ji
4497
+ ) : _r(
4484
4498
  /*$$scope*/
4485
4499
  x[15]
4486
4500
  ),
4487
- wt
4501
+ Ht
4488
4502
  ), /*modaltitle*/
4489
- x[1] ? _ ? _.p(x, H) : (_ = Tt(x), _.c(), _.m(r, o)) : _ && (_.d(1), _ = null), (!d || H & /*modaltext*/
4503
+ x[1] ? _ ? _.p(x, A) : (_ = At(x), _.c(), _.m(r, o)) : _ && (_.d(1), _ = null), (!m || A & /*modaltext*/
4490
4504
  1) && (s.innerHTML = /*modaltext*/
4491
4505
  x[0]), /*hascancelbutton*/
4492
- x[2] ? E ? E.p(x, H) : (E = Ht(x), E.c(), E.m(l, u)) : E && (E.d(1), E = null), (!d || H & /*$_*/
4493
- 16) && f !== (f = /*$_*/
4494
- x[4]("confirm") + "") && Ze(c, f);
4506
+ x[2] ? E ? E.p(x, A) : (E = Bt(x), E.c(), E.m(l, u)) : E && (E.d(1), E = null), (!m || A & /*$_*/
4507
+ 16) && c !== (c = /*$_*/
4508
+ x[4]("confirm") + "") && Qe(f, c);
4495
4509
  },
4496
4510
  i(x) {
4497
- d || (Ot(C, x), d = !0);
4511
+ m || (Mt(H, x), m = !0);
4498
4512
  },
4499
4513
  o(x) {
4500
- Or(C, x), d = !1;
4514
+ Nr(H, x), m = !1;
4501
4515
  },
4502
4516
  d(x) {
4503
- x && Q(t), C.d(x), _ && _.d(), E && E.d(), e[19](null), y = !1, Z(p);
4517
+ x && Q(t), H && H.d(x), _ && _.d(), E && E.d(), e[19](null), y = !1, Z(p);
4504
4518
  }
4505
4519
  };
4506
4520
  }
4507
- function qi(e, t, r) {
4521
+ function Ki(e, t, r) {
4508
4522
  let n;
4509
- mr(e, Fi, (b) => r(4, n = b));
4510
- let { $$slots: i = {}, $$scope: o } = t, { modaltext: s = "Are you sure that you want to perform this action?" } = t, { modaltitle: a = "" } = t, { hascancelbutton: l = !1 } = t, { modalconfirmevent: u = {} } = t, { modalcancelevent: h = {} } = t, { lang: f = "en" } = t, { clientstyling: c = "" } = t, { clientstylingurl: d = "" } = t, { translationurl: y = "" } = t, { mbsource: p } = t, w, P = window.navigator.userAgent, C = ji(P) !== "PC";
4523
+ gr(e, ki, (b) => r(4, n = b));
4524
+ let { $$slots: i = {}, $$scope: o } = t, { modaltext: s = "Are you sure that you want to perform this action?" } = t, { modaltitle: a = "" } = t, { hascancelbutton: l = !1 } = t, { modalconfirmevent: u = {} } = t, { modalcancelevent: h = {} } = t, { lang: c = "en" } = t, { clientstyling: f = "" } = t, { clientstylingurl: m = "" } = t, { translationurl: y = "" } = t, { mbsource: p } = t, w, P = window.navigator.userAgent, H = Vi(P) !== "PC";
4511
4525
  const _ = () => {
4512
4526
  window.postMessage({ type: "ModalClosed" }, window.location.href);
4513
4527
  }, E = (b) => {
4514
4528
  b === "confirm" && u && window.postMessage(u, window.location.href), b === "cancel" && h && window.postMessage(h, window.location.href), _();
4515
4529
  }, x = () => {
4516
4530
  fetch(y).then((G) => G.json()).then((G) => {
4517
- Object.keys(G).forEach((Ye) => {
4518
- Et(Ye, G[Ye]);
4531
+ Object.keys(G).forEach((et) => {
4532
+ wt(et, G[et]);
4519
4533
  });
4520
4534
  }).catch((G) => {
4521
4535
  console.log(G);
4522
4536
  });
4523
4537
  };
4524
- Object.keys(St).forEach((b) => {
4525
- Et(b, St[b]);
4538
+ Object.keys(Tt).forEach((b) => {
4539
+ wt(b, Tt[b]);
4526
4540
  });
4527
- const H = () => {
4528
- zi(f);
4541
+ const A = () => {
4542
+ Zi(c);
4529
4543
  };
4530
- Tr(() => () => {
4544
+ Br(() => () => {
4531
4545
  });
4532
- const ae = () => E("cancel"), hr = () => E("confirm");
4533
- function fr(b) {
4534
- Oe[b ? "unshift" : "push"](() => {
4546
+ const ae = () => E("cancel"), mr = () => E("confirm");
4547
+ function dr(b) {
4548
+ Ie[b ? "unshift" : "push"](() => {
4535
4549
  w = b, r(3, w);
4536
4550
  });
4537
4551
  }
4538
4552
  return e.$$set = (b) => {
4539
- "modaltext" in b && r(0, s = b.modaltext), "modaltitle" in b && r(1, a = b.modaltitle), "hascancelbutton" in b && r(2, l = b.hascancelbutton), "modalconfirmevent" in b && r(8, u = b.modalconfirmevent), "modalcancelevent" in b && r(9, h = b.modalcancelevent), "lang" in b && r(10, f = b.lang), "clientstyling" in b && r(11, c = b.clientstyling), "clientstylingurl" in b && r(12, d = b.clientstylingurl), "translationurl" in b && r(13, y = b.translationurl), "mbsource" in b && r(14, p = b.mbsource), "$$scope" in b && r(15, o = b.$$scope);
4553
+ "modaltext" in b && r(0, s = b.modaltext), "modaltitle" in b && r(1, a = b.modaltitle), "hascancelbutton" in b && r(2, l = b.hascancelbutton), "modalconfirmevent" in b && r(8, u = b.modalconfirmevent), "modalcancelevent" in b && r(9, h = b.modalcancelevent), "lang" in b && r(10, c = b.lang), "clientstyling" in b && r(11, f = b.clientstyling), "clientstylingurl" in b && r(12, m = b.clientstylingurl), "translationurl" in b && r(13, y = b.translationurl), "mbsource" in b && r(14, p = b.mbsource), "$$scope" in b && r(15, o = b.$$scope);
4540
4554
  }, e.$$.update = () => {
4541
4555
  e.$$.dirty & /*modaltext, lang*/
4542
- 1025 && s && f && H(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4543
- 2056 && c && w && ki(w, c), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4544
- 4104 && d && w && Vi(w, d), e.$$.dirty & /*mbsource, customStylingContainer*/
4545
- 16392 && p && w && Xi(w, `${p}.Style`), e.$$.dirty & /*translationurl*/
4556
+ 1025 && s && c && A(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4557
+ 2056 && f && w && Xi(w, f), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4558
+ 4104 && m && w && zi(w, m), e.$$.dirty & /*mbsource, customStylingContainer*/
4559
+ 16392 && p && w && Wi(w, `${p}.Style`), e.$$.dirty & /*translationurl*/
4546
4560
  8192 && y && x();
4547
4561
  }, [
4548
4562
  s,
@@ -4550,31 +4564,31 @@ function qi(e, t, r) {
4550
4564
  l,
4551
4565
  w,
4552
4566
  n,
4553
- C,
4567
+ H,
4554
4568
  _,
4555
4569
  E,
4556
4570
  u,
4557
4571
  h,
4558
- f,
4559
4572
  c,
4560
- d,
4573
+ f,
4574
+ m,
4561
4575
  y,
4562
4576
  p,
4563
4577
  o,
4564
4578
  i,
4565
4579
  ae,
4566
- hr,
4567
- fr
4580
+ mr,
4581
+ dr
4568
4582
  ];
4569
4583
  }
4570
- class lr extends $r {
4584
+ class fr extends Dr {
4571
4585
  constructor(t) {
4572
- super(), Lr(
4586
+ super(), Gr(
4573
4587
  this,
4574
4588
  t,
4575
- qi,
4576
- Ji,
4577
- Bt,
4589
+ Ki,
4590
+ Yi,
4591
+ Pt,
4578
4592
  {
4579
4593
  modaltext: 0,
4580
4594
  modaltitle: 1,
@@ -4587,7 +4601,7 @@ class lr extends $r {
4587
4601
  translationurl: 13,
4588
4602
  mbsource: 14
4589
4603
  },
4590
- Wi
4604
+ Qi
4591
4605
  );
4592
4606
  }
4593
4607
  get modaltext() {
@@ -4651,50 +4665,50 @@ class lr extends $r {
4651
4665
  this.$$set({ mbsource: t }), O();
4652
4666
  }
4653
4667
  }
4654
- Rr(lr, { modaltext: {}, modaltitle: {}, hascancelbutton: { type: "Boolean" }, modalconfirmevent: {}, modalcancelevent: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["close"], [], !0);
4655
- const ao = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4668
+ Ur(fr, { modaltext: {}, modaltitle: {}, hascancelbutton: { type: "Boolean" }, modalconfirmevent: {}, modalcancelevent: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["close"], [], !0);
4669
+ const lo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4656
4670
  __proto__: null,
4657
- default: lr
4671
+ default: fr
4658
4672
  }, Symbol.toStringTag, { value: "Module" }));
4659
4673
  export {
4660
4674
  q as $,
4661
- A,
4662
- no as B,
4663
- Pe as C,
4664
- Ze as D,
4665
- Yi as E,
4675
+ B as A,
4676
+ oo as B,
4677
+ Oe as C,
4678
+ Qe as D,
4679
+ eo as E,
4666
4680
  Z as F,
4667
- eo as G,
4668
- ro as H,
4669
- et as I,
4670
- to as J,
4671
- Fi as K,
4672
- ao as P,
4673
- $r as S,
4674
- ir as a,
4675
- Rr as b,
4676
- so as c,
4677
- vr as d,
4681
+ ro as G,
4682
+ io as H,
4683
+ rt as I,
4684
+ no as J,
4685
+ ki as K,
4686
+ lo as P,
4687
+ Dr as S,
4688
+ ar as a,
4689
+ Ur as b,
4690
+ uo as c,
4691
+ Er as d,
4678
4692
  I as e,
4679
4693
  O as f,
4680
- Ur as g,
4694
+ jr as g,
4681
4695
  ie as h,
4682
- Lr as i,
4696
+ Gr as i,
4683
4697
  Q as j,
4684
- mr as k,
4685
- ji as l,
4686
- io as m,
4698
+ gr as k,
4699
+ Vi as l,
4700
+ zi as m,
4687
4701
  M as n,
4688
- Tr as o,
4689
- Oe as p,
4690
- ki as q,
4691
- Vi as r,
4692
- Bt as s,
4702
+ Br as o,
4703
+ Wi as p,
4704
+ so as q,
4705
+ Ie as r,
4706
+ Pt as s,
4693
4707
  Xi as t,
4694
- oo as u,
4708
+ ao as u,
4695
4709
  ue as v,
4696
4710
  oe as w,
4697
- Ki as x,
4711
+ to as x,
4698
4712
  T as y,
4699
- Me as z
4713
+ Ne as z
4700
4714
  };