@everymatrix/player-account-timeout 1.59.2 → 1.59.3

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