@everymatrix/player-account-general-confirmation-modal 1.74.3 → 1.74.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
- function N() {
1
+ function M() {
2
2
  }
3
- function fr(e, t) {
3
+ function dr(e, t) {
4
4
  for (const r in t)
5
5
  e[r] = t[r];
6
6
  return (
@@ -8,46 +8,46 @@ function fr(e, t) {
8
8
  e
9
9
  );
10
10
  }
11
- function Bt(e) {
11
+ function Ct(e) {
12
12
  return e();
13
13
  }
14
- function Ke() {
14
+ function tt() {
15
15
  return /* @__PURE__ */ Object.create(null);
16
16
  }
17
17
  function Z(e) {
18
- e.forEach(Bt);
18
+ e.forEach(Ct);
19
19
  }
20
- function We(e) {
20
+ function Ze(e) {
21
21
  return typeof e == "function";
22
22
  }
23
- function At(e, t) {
23
+ function Pt(e, t) {
24
24
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
25
25
  }
26
- function cr(e) {
26
+ function pr(e) {
27
27
  return Object.keys(e).length === 0;
28
28
  }
29
- function Ct(e, ...t) {
29
+ function Ot(e, ...t) {
30
30
  if (e == null) {
31
31
  for (const n of t)
32
32
  n(void 0);
33
- return N;
33
+ return M;
34
34
  }
35
35
  const r = e.subscribe(...t);
36
36
  return r.unsubscribe ? () => r.unsubscribe() : r;
37
37
  }
38
- function dr(e, t, r) {
39
- e.$$.on_destroy.push(Ct(t, r));
38
+ function br(e, t, r) {
39
+ e.$$.on_destroy.push(Ot(t, r));
40
40
  }
41
- function mr(e, t, r, n) {
41
+ function gr(e, t, r, n) {
42
42
  if (e) {
43
- const i = Pt(e, t, r, n);
43
+ const i = It(e, t, r, n);
44
44
  return e[0](i);
45
45
  }
46
46
  }
47
- function Pt(e, t, r, n) {
48
- return e[1] && n ? fr(r.ctx.slice(), e[1](n(t))) : r.ctx;
47
+ function It(e, t, r, n) {
48
+ return e[1] && n ? dr(r.ctx.slice(), e[1](n(t))) : r.ctx;
49
49
  }
50
- function pr(e, t, r, n) {
50
+ function vr(e, t, r, n) {
51
51
  if (e[2] && n) {
52
52
  const i = e[2](n(r));
53
53
  if (t.dirty === void 0)
@@ -62,13 +62,13 @@ function pr(e, t, r, n) {
62
62
  }
63
63
  return t.dirty;
64
64
  }
65
- function br(e, t, r, n, i, o) {
65
+ function yr(e, t, r, n, i, o) {
66
66
  if (i) {
67
- const s = Pt(t, r, n, o);
67
+ const s = It(t, r, n, o);
68
68
  e.p(s, i);
69
69
  }
70
70
  }
71
- function gr(e) {
71
+ function xr(e) {
72
72
  if (e.ctx.length > 32) {
73
73
  const t = [], r = e.ctx.length / 32;
74
74
  for (let n = 0; n < r; n++)
@@ -77,17 +77,17 @@ function gr(e) {
77
77
  }
78
78
  return -1;
79
79
  }
80
- function B(e, t) {
80
+ function A(e, t) {
81
81
  e.appendChild(t);
82
82
  }
83
- function yr(e, t, r) {
84
- const n = vr(e);
83
+ function _r(e, t, r) {
84
+ const n = Er(e);
85
85
  if (!n.getElementById(t)) {
86
86
  const i = I("style");
87
- i.id = t, i.textContent = r, xr(n, i);
87
+ i.id = t, i.textContent = r, Sr(n, i);
88
88
  }
89
89
  }
90
- function vr(e) {
90
+ function Er(e) {
91
91
  if (!e)
92
92
  return document;
93
93
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -97,8 +97,8 @@ function vr(e) {
97
97
  t
98
98
  ) : e.ownerDocument;
99
99
  }
100
- function xr(e, t) {
101
- return B(
100
+ function Sr(e, t) {
101
+ return A(
102
102
  /** @type {Document} */
103
103
  e.head || e,
104
104
  t
@@ -113,7 +113,7 @@ function Q(e) {
113
113
  function I(e) {
114
114
  return document.createElement(e);
115
115
  }
116
- function et(e) {
116
+ function rt(e) {
117
117
  return document.createElementNS("http://www.w3.org/2000/svg", e);
118
118
  }
119
119
  function ge(e) {
@@ -122,20 +122,20 @@ function ge(e) {
122
122
  function ae() {
123
123
  return ge(" ");
124
124
  }
125
- function Pe(e, t, r, n) {
125
+ function Oe(e, t, r, n) {
126
126
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
127
127
  }
128
128
  function T(e, t, r) {
129
129
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
130
130
  }
131
- function _r(e) {
131
+ function wr(e) {
132
132
  return Array.from(e.childNodes);
133
133
  }
134
- function Ze(e, t) {
134
+ function Qe(e, t) {
135
135
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
136
136
  t);
137
137
  }
138
- function Er(e) {
138
+ function Tr(e) {
139
139
  const t = {};
140
140
  return e.childNodes.forEach(
141
141
  /** @param {Element} node */
@@ -148,20 +148,20 @@ let te;
148
148
  function ee(e) {
149
149
  te = e;
150
150
  }
151
- function Sr() {
151
+ function Hr() {
152
152
  if (!te)
153
153
  throw new Error("Function called outside component initialization");
154
154
  return te;
155
155
  }
156
- function wr(e) {
157
- Sr().$$.on_mount.push(e);
156
+ function Br(e) {
157
+ Hr().$$.on_mount.push(e);
158
158
  }
159
- const F = [], Oe = [];
159
+ const F = [], Ie = [];
160
160
  let j = [];
161
- const tt = [], Tr = /* @__PURE__ */ Promise.resolve();
162
- let Ie = !1;
163
- function Hr() {
164
- Ie || (Ie = !0, Tr.then(O));
161
+ const nt = [], Ar = /* @__PURE__ */ Promise.resolve();
162
+ let Me = !1;
163
+ function Cr() {
164
+ Me || (Me = !0, Ar.then(O));
165
165
  }
166
166
  function Ne(e) {
167
167
  j.push(e);
@@ -176,63 +176,63 @@ function O() {
176
176
  try {
177
177
  for (; U < F.length; ) {
178
178
  const t = F[U];
179
- U++, ee(t), Br(t.$$);
179
+ U++, ee(t), Pr(t.$$);
180
180
  }
181
181
  } catch (t) {
182
182
  throw F.length = 0, U = 0, t;
183
183
  }
184
- for (ee(null), F.length = 0, U = 0; Oe.length; )
185
- Oe.pop()();
184
+ for (ee(null), F.length = 0, U = 0; Ie.length; )
185
+ Ie.pop()();
186
186
  for (let t = 0; t < j.length; t += 1) {
187
187
  const r = j[t];
188
188
  Se.has(r) || (Se.add(r), r());
189
189
  }
190
190
  j.length = 0;
191
191
  } while (F.length);
192
- for (; tt.length; )
193
- tt.pop()();
194
- Ie = !1, Se.clear(), ee(e);
192
+ for (; nt.length; )
193
+ nt.pop()();
194
+ Me = !1, Se.clear(), ee(e);
195
195
  }
196
- function Br(e) {
196
+ function Pr(e) {
197
197
  if (e.fragment !== null) {
198
198
  e.update(), Z(e.before_update);
199
199
  const t = e.dirty;
200
200
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ne);
201
201
  }
202
202
  }
203
- function Ar(e) {
203
+ function Or(e) {
204
204
  const t = [], r = [];
205
205
  j.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), j = t;
206
206
  }
207
207
  const he = /* @__PURE__ */ new Set();
208
- let Cr;
209
- function Ot(e, t) {
208
+ let Ir;
209
+ function Mt(e, t) {
210
210
  e && e.i && (he.delete(e), e.i(t));
211
211
  }
212
- function Pr(e, t, r, n) {
213
- if (e.o) {
212
+ function Mr(e, t, r, n) {
213
+ if (e && e.o) {
214
214
  if (he.has(e))
215
215
  return;
216
- he.add(e), Cr.c.push(() => {
216
+ he.add(e), Ir.c.push(() => {
217
217
  he.delete(e);
218
218
  }), e.o(t);
219
219
  }
220
220
  }
221
- function Or(e, t, r) {
221
+ function Nr(e, t, r) {
222
222
  const { fragment: n, after_update: i } = e.$$;
223
223
  n && n.m(t, r), Ne(() => {
224
- const o = e.$$.on_mount.map(Bt).filter(We);
224
+ const o = e.$$.on_mount.map(Ct).filter(Ze);
225
225
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Z(o), e.$$.on_mount = [];
226
226
  }), i.forEach(Ne);
227
227
  }
228
- function Ir(e, t) {
228
+ function Lr(e, t) {
229
229
  const r = e.$$;
230
- r.fragment !== null && (Ar(r.after_update), Z(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
230
+ r.fragment !== null && (Or(r.after_update), Z(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
231
231
  }
232
- function Nr(e, t) {
233
- e.$$.dirty[0] === -1 && (F.push(e), Hr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
232
+ function Rr(e, t) {
233
+ e.$$.dirty[0] === -1 && (F.push(e), Cr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
234
234
  }
235
- function Mr(e, t, r, n, i, o, s = null, a = [-1]) {
235
+ function $r(e, t, r, n, i, o, s = null, a = [-1]) {
236
236
  const l = te;
237
237
  ee(e);
238
238
  const u = e.$$ = {
@@ -240,9 +240,9 @@ function Mr(e, t, r, n, i, o, s = null, a = [-1]) {
240
240
  ctx: [],
241
241
  // state
242
242
  props: o,
243
- update: N,
243
+ update: M,
244
244
  not_equal: i,
245
- bound: Ke(),
245
+ bound: tt(),
246
246
  // lifecycle
247
247
  on_mount: [],
248
248
  on_destroy: [],
@@ -251,28 +251,28 @@ function Mr(e, t, r, n, i, o, s = null, a = [-1]) {
251
251
  after_update: [],
252
252
  context: new Map(t.context || (l ? l.$$.context : [])),
253
253
  // everything else
254
- callbacks: Ke(),
254
+ callbacks: tt(),
255
255
  dirty: a,
256
256
  skip_bound: !1,
257
257
  root: t.target || l.$$.root
258
258
  };
259
259
  s && s(u.root);
260
260
  let h = !1;
261
- if (u.ctx = r(e, t.props || {}, (f, c, ...d) => {
262
- const y = d.length ? d[0] : c;
263
- return u.ctx && i(u.ctx[f], u.ctx[f] = y) && (!u.skip_bound && u.bound[f] && u.bound[f](y), h && Nr(e, f)), c;
264
- }), u.update(), h = !0, Z(u.before_update), u.fragment = n(u.ctx), t.target) {
261
+ if (u.ctx = r ? r(e, t.props || {}, (c, f, ...m) => {
262
+ const v = m.length ? m[0] : f;
263
+ return u.ctx && i(u.ctx[c], u.ctx[c] = v) && (!u.skip_bound && u.bound[c] && u.bound[c](v), h && Rr(e, c)), f;
264
+ }) : [], u.update(), h = !0, Z(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
265
265
  if (t.hydrate) {
266
- const f = _r(t.target);
267
- u.fragment && u.fragment.l(f), f.forEach(Q);
266
+ const c = wr(t.target);
267
+ u.fragment && u.fragment.l(c), c.forEach(Q);
268
268
  } else
269
269
  u.fragment && u.fragment.c();
270
- t.intro && Ot(e.$$.fragment), Or(e, t.target, t.anchor), O();
270
+ t.intro && Mt(e.$$.fragment), Nr(e, t.target, t.anchor), O();
271
271
  }
272
272
  ee(l);
273
273
  }
274
- let It;
275
- typeof HTMLElement == "function" && (It = class extends HTMLElement {
274
+ let Nt;
275
+ typeof HTMLElement == "function" && (Nt = class extends HTMLElement {
276
276
  /** The Svelte component constructor */
277
277
  $$ctor;
278
278
  /** Slots */
@@ -331,12 +331,12 @@ typeof HTMLElement == "function" && (It = class extends HTMLElement {
331
331
  };
332
332
  if (await Promise.resolve(), !this.$$cn || this.$$c)
333
333
  return;
334
- const t = {}, r = Er(this);
334
+ const t = {}, r = Tr(this);
335
335
  for (const i of this.$$s)
336
336
  i in r && (t[i] = [e(i)]);
337
337
  for (const i of this.attributes) {
338
338
  const o = this.$$g_p(i.name);
339
- o in this.$$d || (this.$$d[o] = fe(o, i.value, this.$$p_d, "toProp"));
339
+ o in this.$$d || (this.$$d[o] = ce(o, i.value, this.$$p_d, "toProp"));
340
340
  }
341
341
  for (const i in this.$$p_d)
342
342
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -354,7 +354,7 @@ typeof HTMLElement == "function" && (It = class extends HTMLElement {
354
354
  this.$$r = !0;
355
355
  for (const i in this.$$p_d)
356
356
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
357
- const o = fe(
357
+ const o = ce(
358
358
  i,
359
359
  this.$$d[i],
360
360
  this.$$p_d,
@@ -376,7 +376,7 @@ typeof HTMLElement == "function" && (It = class extends HTMLElement {
376
376
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
377
377
  // and setting attributes through setAttribute etc, this is helpful
378
378
  attributeChangedCallback(e, t, r) {
379
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = fe(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
379
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = ce(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
380
380
  }
381
381
  disconnectedCallback() {
382
382
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -389,7 +389,7 @@ typeof HTMLElement == "function" && (It = class extends HTMLElement {
389
389
  ) || e;
390
390
  }
391
391
  });
392
- function fe(e, t, r, n) {
392
+ function ce(e, t, r, n) {
393
393
  const i = r[e]?.type;
394
394
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
395
395
  return t;
@@ -418,8 +418,8 @@ function fe(e, t, r, n) {
418
418
  return t;
419
419
  }
420
420
  }
421
- function Lr(e, t, r, n, i, o) {
422
- let s = class extends It {
421
+ function Gr(e, t, r, n, i, o) {
422
+ let s = class extends Nt {
423
423
  constructor() {
424
424
  super(e, r, i), this.$$p_d = t;
425
425
  }
@@ -435,7 +435,7 @@ function Lr(e, t, r, n, i, o) {
435
435
  return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
436
436
  },
437
437
  set(l) {
438
- l = fe(a, l, t), this.$$d[a] = l, this.$$c?.$set({ [a]: l });
438
+ l = ce(a, l, t), this.$$d[a] = l, this.$$c?.$set({ [a]: l });
439
439
  }
440
440
  });
441
441
  }), n.forEach((a) => {
@@ -447,7 +447,7 @@ function Lr(e, t, r, n, i, o) {
447
447
  }), e.element = /** @type {any} */
448
448
  s, s;
449
449
  }
450
- class Rr {
450
+ class Ur {
451
451
  /**
452
452
  * ### PRIVATE API
453
453
  *
@@ -466,7 +466,7 @@ class Rr {
466
466
  $$set = void 0;
467
467
  /** @returns {void} */
468
468
  $destroy() {
469
- Ir(this, 1), this.$destroy = N;
469
+ Lr(this, 1), this.$destroy = M;
470
470
  }
471
471
  /**
472
472
  * @template {Extract<keyof Events, string>} K
@@ -475,8 +475,8 @@ class Rr {
475
475
  * @returns {() => void}
476
476
  */
477
477
  $on(t, r) {
478
- if (!We(r))
479
- return N;
478
+ if (!Ze(r))
479
+ return M;
480
480
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
481
481
  return n.push(r), () => {
482
482
  const i = n.indexOf(r);
@@ -488,11 +488,11 @@ class Rr {
488
488
  * @returns {void}
489
489
  */
490
490
  $set(t) {
491
- this.$$set && !cr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
491
+ this.$$set && !pr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
492
492
  }
493
493
  }
494
- const $r = "4";
495
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add($r);
494
+ const Dr = "4";
495
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Dr);
496
496
  /*! *****************************************************************************
497
497
  Copyright (c) Microsoft Corporation.
498
498
 
@@ -507,34 +507,34 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
507
507
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
508
508
  PERFORMANCE OF THIS SOFTWARE.
509
509
  ***************************************************************************** */
510
- var Me = function(e, t) {
511
- return Me = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
510
+ var Le = function(e, t) {
511
+ return Le = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
512
512
  r.__proto__ = n;
513
513
  } || function(r, n) {
514
514
  for (var i in n)
515
515
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
516
- }, Me(e, t);
516
+ }, Le(e, t);
517
517
  };
518
518
  function L(e, t) {
519
519
  if (typeof t != "function" && t !== null)
520
520
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
521
- Me(e, t);
521
+ Le(e, t);
522
522
  function r() {
523
523
  this.constructor = e;
524
524
  }
525
525
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
526
526
  }
527
- var v = function() {
528
- return v = Object.assign || function(t) {
527
+ var y = function() {
528
+ return y = Object.assign || function(t) {
529
529
  for (var r, n = 1, i = arguments.length; n < i; n++) {
530
530
  r = arguments[n];
531
531
  for (var o in r)
532
532
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
533
533
  }
534
534
  return t;
535
- }, v.apply(this, arguments);
535
+ }, y.apply(this, arguments);
536
536
  };
537
- function Gr(e, t) {
537
+ function Fr(e, t) {
538
538
  var r = {};
539
539
  for (var n in e)
540
540
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -543,7 +543,7 @@ function Gr(e, t) {
543
543
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
544
544
  return r;
545
545
  }
546
- function Le(e) {
546
+ function Re(e) {
547
547
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
548
548
  if (r)
549
549
  return r.call(e);
@@ -555,7 +555,7 @@ function Le(e) {
555
555
  };
556
556
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
557
557
  }
558
- function Re(e, t) {
558
+ function $e(e, t) {
559
559
  var r = typeof Symbol == "function" && e[Symbol.iterator];
560
560
  if (!r)
561
561
  return e;
@@ -581,16 +581,16 @@ function k(e, t, r) {
581
581
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
582
582
  return e.concat(o || t);
583
583
  }
584
- function M(e) {
584
+ function N(e) {
585
585
  return typeof e == "function";
586
586
  }
587
- function Nt(e) {
587
+ function Lt(e) {
588
588
  var t = function(n) {
589
589
  Error.call(n), n.stack = new Error().stack;
590
590
  }, r = e(t);
591
591
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
592
592
  }
593
- var we = Nt(function(e) {
593
+ var we = Lt(function(e) {
594
594
  return function(r) {
595
595
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
596
596
  ` + r.map(function(n, i) {
@@ -599,13 +599,13 @@ var we = Nt(function(e) {
599
599
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
600
600
  };
601
601
  });
602
- function $e(e, t) {
602
+ function Ge(e, t) {
603
603
  if (e) {
604
604
  var r = e.indexOf(t);
605
605
  0 <= r && e.splice(r, 1);
606
606
  }
607
607
  }
608
- var ye = function() {
608
+ var ve = function() {
609
609
  function e(t) {
610
610
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
611
611
  }
@@ -617,7 +617,7 @@ var ye = function() {
617
617
  if (s)
618
618
  if (this._parentage = null, Array.isArray(s))
619
619
  try {
620
- for (var a = Le(s), l = a.next(); !l.done; l = a.next()) {
620
+ for (var a = Re(s), l = a.next(); !l.done; l = a.next()) {
621
621
  var u = l.value;
622
622
  u.remove(this);
623
623
  }
@@ -634,29 +634,29 @@ var ye = function() {
634
634
  else
635
635
  s.remove(this);
636
636
  var h = this.initialTeardown;
637
- if (M(h))
637
+ if (N(h))
638
638
  try {
639
639
  h();
640
640
  } catch (p) {
641
641
  o = p instanceof we ? p.errors : [p];
642
642
  }
643
- var f = this._finalizers;
644
- if (f) {
643
+ var c = this._finalizers;
644
+ if (c) {
645
645
  this._finalizers = null;
646
646
  try {
647
- for (var c = Le(f), d = c.next(); !d.done; d = c.next()) {
648
- var y = d.value;
647
+ for (var f = Re(c), m = f.next(); !m.done; m = f.next()) {
648
+ var v = m.value;
649
649
  try {
650
- rt(y);
650
+ it(v);
651
651
  } catch (p) {
652
- o = o ?? [], p instanceof we ? o = k(k([], Re(o)), Re(p.errors)) : o.push(p);
652
+ o = o ?? [], p instanceof we ? o = k(k([], $e(o)), $e(p.errors)) : o.push(p);
653
653
  }
654
654
  }
655
655
  } catch (p) {
656
656
  n = { error: p };
657
657
  } finally {
658
658
  try {
659
- d && !d.done && (i = c.return) && i.call(c);
659
+ m && !m.done && (i = f.return) && i.call(f);
660
660
  } finally {
661
661
  if (n)
662
662
  throw n.error;
@@ -670,7 +670,7 @@ var ye = function() {
670
670
  var r;
671
671
  if (t && t !== this)
672
672
  if (this.closed)
673
- rt(t);
673
+ it(t);
674
674
  else {
675
675
  if (t instanceof e) {
676
676
  if (t.closed || t._hasParent(this))
@@ -687,56 +687,56 @@ var ye = function() {
687
687
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
688
688
  }, e.prototype._removeParent = function(t) {
689
689
  var r = this._parentage;
690
- r === t ? this._parentage = null : Array.isArray(r) && $e(r, t);
690
+ r === t ? this._parentage = null : Array.isArray(r) && Ge(r, t);
691
691
  }, e.prototype.remove = function(t) {
692
692
  var r = this._finalizers;
693
- r && $e(r, t), t instanceof e && t._removeParent(this);
693
+ r && Ge(r, t), t instanceof e && t._removeParent(this);
694
694
  }, e.EMPTY = function() {
695
695
  var t = new e();
696
696
  return t.closed = !0, t;
697
697
  }(), e;
698
- }(), Mt = ye.EMPTY;
699
- function Lt(e) {
700
- return e instanceof ye || e && "closed" in e && M(e.remove) && M(e.add) && M(e.unsubscribe);
698
+ }(), Rt = ve.EMPTY;
699
+ function $t(e) {
700
+ return e instanceof ve || e && "closed" in e && N(e.remove) && N(e.add) && N(e.unsubscribe);
701
701
  }
702
- function rt(e) {
703
- M(e) ? e() : e.unsubscribe();
702
+ function it(e) {
703
+ N(e) ? e() : e.unsubscribe();
704
704
  }
705
- var Ur = {
705
+ var Gt = {
706
706
  onUnhandledError: null,
707
707
  onStoppedNotification: null,
708
708
  Promise: void 0,
709
709
  useDeprecatedSynchronousErrorHandling: !1,
710
710
  useDeprecatedNextContext: !1
711
- }, Dr = {
711
+ }, jr = {
712
712
  setTimeout: function(e, t) {
713
713
  for (var r = [], n = 2; n < arguments.length; n++)
714
714
  r[n - 2] = arguments[n];
715
- return setTimeout.apply(void 0, k([e, t], Re(r)));
715
+ return setTimeout.apply(void 0, k([e, t], $e(r)));
716
716
  },
717
717
  clearTimeout: function(e) {
718
718
  return clearTimeout(e);
719
719
  },
720
720
  delegate: void 0
721
721
  };
722
- function Fr(e) {
723
- Dr.setTimeout(function() {
722
+ function kr(e) {
723
+ jr.setTimeout(function() {
724
724
  throw e;
725
725
  });
726
726
  }
727
- function nt() {
727
+ function ot() {
728
728
  }
729
- function ce(e) {
729
+ function fe(e) {
730
730
  e();
731
731
  }
732
- var Rt = function(e) {
732
+ var Ut = function(e) {
733
733
  L(t, e);
734
734
  function t(r) {
735
735
  var n = e.call(this) || this;
736
- return n.isStopped = !1, r ? (n.destination = r, Lt(r) && r.add(n)) : n.destination = Vr, n;
736
+ return n.isStopped = !1, r ? (n.destination = r, $t(r) && r.add(n)) : n.destination = Wr, n;
737
737
  }
738
738
  return t.create = function(r, n, i) {
739
- return new Ge(r, n, i);
739
+ return new Ue(r, n, i);
740
740
  }, t.prototype.next = function(r) {
741
741
  this.isStopped || this._next(r);
742
742
  }, t.prototype.error = function(r) {
@@ -760,7 +760,11 @@ var Rt = function(e) {
760
760
  this.unsubscribe();
761
761
  }
762
762
  }, t;
763
- }(ye), jr = function() {
763
+ }(ve), Vr = Function.prototype.bind;
764
+ function Te(e, t) {
765
+ return Vr.call(e, t);
766
+ }
767
+ var Xr = function() {
764
768
  function e(t) {
765
769
  this.partialObserver = t;
766
770
  }
@@ -791,43 +795,55 @@ var Rt = function(e) {
791
795
  ue(r);
792
796
  }
793
797
  }, e;
794
- }(), Ge = function(e) {
798
+ }(), Ue = function(e) {
795
799
  L(t, e);
796
800
  function t(r, n, i) {
797
801
  var o = e.call(this) || this, s;
798
- return M(r) || !r ? s = {
799
- next: r ?? void 0,
800
- error: n ?? void 0,
801
- complete: i ?? void 0
802
- } : s = r, o.destination = new jr(s), o;
802
+ if (N(r) || !r)
803
+ s = {
804
+ next: r ?? void 0,
805
+ error: n ?? void 0,
806
+ complete: i ?? void 0
807
+ };
808
+ else {
809
+ var a;
810
+ o && Gt.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
811
+ return o.unsubscribe();
812
+ }, s = {
813
+ next: r.next && Te(r.next, a),
814
+ error: r.error && Te(r.error, a),
815
+ complete: r.complete && Te(r.complete, a)
816
+ }) : s = r;
817
+ }
818
+ return o.destination = new Xr(s), o;
803
819
  }
804
820
  return t;
805
- }(Rt);
821
+ }(Ut);
806
822
  function ue(e) {
807
- Fr(e);
823
+ kr(e);
808
824
  }
809
- function kr(e) {
825
+ function zr(e) {
810
826
  throw e;
811
827
  }
812
- var Vr = {
828
+ var Wr = {
813
829
  closed: !0,
814
- next: nt,
815
- error: kr,
816
- complete: nt
817
- }, Xr = function() {
830
+ next: ot,
831
+ error: zr,
832
+ complete: ot
833
+ }, Zr = function() {
818
834
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
819
835
  }();
820
- function zr(e) {
836
+ function Qr(e) {
821
837
  return e;
822
838
  }
823
- function Wr(e) {
824
- return e.length === 0 ? zr : e.length === 1 ? e[0] : function(r) {
839
+ function Jr(e) {
840
+ return e.length === 0 ? Qr : e.length === 1 ? e[0] : function(r) {
825
841
  return e.reduce(function(n, i) {
826
842
  return i(n);
827
843
  }, r);
828
844
  };
829
845
  }
830
- var it = function() {
846
+ var st = function() {
831
847
  function e(t) {
832
848
  t && (this._subscribe = t);
833
849
  }
@@ -835,8 +851,8 @@ var it = function() {
835
851
  var r = new e();
836
852
  return r.source = this, r.operator = t, r;
837
853
  }, e.prototype.subscribe = function(t, r, n) {
838
- var i = this, o = Qr(t) ? t : new Ge(t, r, n);
839
- return ce(function() {
854
+ var i = this, o = qr(t) ? t : new Ue(t, r, n);
855
+ return fe(function() {
840
856
  var s = i, a = s.operator, l = s.source;
841
857
  o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
842
858
  }), o;
@@ -848,8 +864,8 @@ var it = function() {
848
864
  }
849
865
  }, e.prototype.forEach = function(t, r) {
850
866
  var n = this;
851
- return r = ot(r), new r(function(i, o) {
852
- var s = new Ge({
867
+ return r = at(r), new r(function(i, o) {
868
+ var s = new Ue({
853
869
  next: function(a) {
854
870
  try {
855
871
  t(a);
@@ -865,15 +881,15 @@ var it = function() {
865
881
  }, e.prototype._subscribe = function(t) {
866
882
  var r;
867
883
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
868
- }, e.prototype[Xr] = function() {
884
+ }, e.prototype[Zr] = function() {
869
885
  return this;
870
886
  }, e.prototype.pipe = function() {
871
887
  for (var t = [], r = 0; r < arguments.length; r++)
872
888
  t[r] = arguments[r];
873
- return Wr(t)(this);
889
+ return Jr(t)(this);
874
890
  }, e.prototype.toPromise = function(t) {
875
891
  var r = this;
876
- return t = ot(t), new t(function(n, i) {
892
+ return t = at(t), new t(function(n, i) {
877
893
  var o;
878
894
  r.subscribe(function(s) {
879
895
  return o = s;
@@ -887,40 +903,40 @@ var it = function() {
887
903
  return new e(t);
888
904
  }, e;
889
905
  }();
890
- function ot(e) {
906
+ function at(e) {
891
907
  var t;
892
- return (t = e ?? Ur.Promise) !== null && t !== void 0 ? t : Promise;
908
+ return (t = e ?? Gt.Promise) !== null && t !== void 0 ? t : Promise;
893
909
  }
894
- function Zr(e) {
895
- return e && M(e.next) && M(e.error) && M(e.complete);
910
+ function Yr(e) {
911
+ return e && N(e.next) && N(e.error) && N(e.complete);
896
912
  }
897
- function Qr(e) {
898
- return e && e instanceof Rt || Zr(e) && Lt(e);
913
+ function qr(e) {
914
+ return e && e instanceof Ut || Yr(e) && $t(e);
899
915
  }
900
- var Jr = Nt(function(e) {
916
+ var Kr = Lt(function(e) {
901
917
  return function() {
902
918
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
903
919
  };
904
- }), $t = function(e) {
920
+ }), Dt = function(e) {
905
921
  L(t, e);
906
922
  function t() {
907
923
  var r = e.call(this) || this;
908
924
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
909
925
  }
910
926
  return t.prototype.lift = function(r) {
911
- var n = new st(this, this);
927
+ var n = new ut(this, this);
912
928
  return n.operator = r, n;
913
929
  }, t.prototype._throwIfClosed = function() {
914
930
  if (this.closed)
915
- throw new Jr();
931
+ throw new Kr();
916
932
  }, t.prototype.next = function(r) {
917
933
  var n = this;
918
- ce(function() {
934
+ fe(function() {
919
935
  var i, o;
920
936
  if (n._throwIfClosed(), !n.isStopped) {
921
937
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
922
938
  try {
923
- for (var s = Le(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
939
+ for (var s = Re(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
924
940
  var l = a.value;
925
941
  l.next(r);
926
942
  }
@@ -938,7 +954,7 @@ var Jr = Nt(function(e) {
938
954
  });
939
955
  }, t.prototype.error = function(r) {
940
956
  var n = this;
941
- ce(function() {
957
+ fe(function() {
942
958
  if (n._throwIfClosed(), !n.isStopped) {
943
959
  n.hasError = n.isStopped = !0, n.thrownError = r;
944
960
  for (var i = n.observers; i.length; )
@@ -947,7 +963,7 @@ var Jr = Nt(function(e) {
947
963
  });
948
964
  }, t.prototype.complete = function() {
949
965
  var r = this;
950
- ce(function() {
966
+ fe(function() {
951
967
  if (r._throwIfClosed(), !r.isStopped) {
952
968
  r.isStopped = !0;
953
969
  for (var n = r.observers; n.length; )
@@ -969,19 +985,19 @@ var Jr = Nt(function(e) {
969
985
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
970
986
  }, t.prototype._innerSubscribe = function(r) {
971
987
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
972
- return o || s ? Mt : (this.currentObservers = null, a.push(r), new ye(function() {
973
- n.currentObservers = null, $e(a, r);
988
+ return o || s ? Rt : (this.currentObservers = null, a.push(r), new ve(function() {
989
+ n.currentObservers = null, Ge(a, r);
974
990
  }));
975
991
  }, t.prototype._checkFinalizedStatuses = function(r) {
976
992
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
977
993
  i ? r.error(o) : s && r.complete();
978
994
  }, t.prototype.asObservable = function() {
979
- var r = new it();
995
+ var r = new st();
980
996
  return r.source = this, r;
981
997
  }, t.create = function(r, n) {
982
- return new st(r, n);
998
+ return new ut(r, n);
983
999
  }, t;
984
- }(it), st = function(e) {
1000
+ }(st), ut = function(e) {
985
1001
  L(t, e);
986
1002
  function t(r, n) {
987
1003
  var i = e.call(this) || this;
@@ -998,17 +1014,17 @@ var Jr = Nt(function(e) {
998
1014
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
999
1015
  }, t.prototype._subscribe = function(r) {
1000
1016
  var n, i;
1001
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Mt;
1017
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Rt;
1002
1018
  }, t;
1003
- }($t), Gt = {
1019
+ }(Dt), Ft = {
1004
1020
  now: function() {
1005
- return (Gt.delegate || Date).now();
1021
+ return (Ft.delegate || Date).now();
1006
1022
  },
1007
1023
  delegate: void 0
1008
- }, Yr = function(e) {
1024
+ }, en = function(e) {
1009
1025
  L(t, e);
1010
1026
  function t(r, n, i) {
1011
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Gt);
1027
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Ft);
1012
1028
  var o = e.call(this) || this;
1013
1029
  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;
1014
1030
  }
@@ -1028,24 +1044,24 @@ var Jr = Nt(function(e) {
1028
1044
  u && o.splice(0, u + 1);
1029
1045
  }
1030
1046
  }, t;
1031
- }($t);
1032
- const at = [], ut = {}, qr = (e, t = 0) => {
1033
- if (at.indexOf(e) == -1) {
1034
- const r = new Yr(t);
1035
- ut[e] = r, at.push(e);
1047
+ }(Dt);
1048
+ const lt = [], ht = {}, tn = (e, t = 0) => {
1049
+ if (lt.indexOf(e) == -1) {
1050
+ const r = new en(t);
1051
+ ht[e] = r, lt.push(e);
1036
1052
  }
1037
- return ut[e];
1053
+ return ht[e];
1038
1054
  }, D = [];
1039
- function Kr(e, t) {
1055
+ function rn(e, t) {
1040
1056
  return {
1041
- subscribe: ve(e, t).subscribe
1057
+ subscribe: ye(e, t).subscribe
1042
1058
  };
1043
1059
  }
1044
- function ve(e, t = N) {
1060
+ function ye(e, t = M) {
1045
1061
  let r;
1046
1062
  const n = /* @__PURE__ */ new Set();
1047
1063
  function i(a) {
1048
- if (At(e, a) && (e = a, r)) {
1064
+ if (Pt(e, a) && (e = a, r)) {
1049
1065
  const l = !D.length;
1050
1066
  for (const u of n)
1051
1067
  u[1](), D.push(u, e);
@@ -1059,9 +1075,9 @@ function ve(e, t = N) {
1059
1075
  function o(a) {
1060
1076
  i(a(e));
1061
1077
  }
1062
- function s(a, l = N) {
1078
+ function s(a, l = M) {
1063
1079
  const u = [a, l];
1064
- return n.add(u), n.size === 1 && (r = t(i, o) || N), a(e), () => {
1080
+ return n.add(u), n.size === 1 && (r = t(i, o) || M), a(e), () => {
1065
1081
  n.delete(u), n.size === 0 && r && (r(), r = null);
1066
1082
  };
1067
1083
  }
@@ -1072,96 +1088,96 @@ function J(e, t, r) {
1072
1088
  if (!i.every(Boolean))
1073
1089
  throw new Error("derived() expects stores as input, got a falsy value");
1074
1090
  const o = t.length < 2;
1075
- return Kr(r, (s, a) => {
1091
+ return rn(r, (s, a) => {
1076
1092
  let l = !1;
1077
1093
  const u = [];
1078
- let h = 0, f = N;
1079
- const c = () => {
1094
+ let h = 0, c = M;
1095
+ const f = () => {
1080
1096
  if (h)
1081
1097
  return;
1082
- f();
1083
- const y = t(n ? u[0] : u, s, a);
1084
- o ? s(y) : f = We(y) ? y : N;
1085
- }, d = i.map(
1086
- (y, p) => Ct(
1087
- y,
1098
+ c();
1099
+ const v = t(n ? u[0] : u, s, a);
1100
+ o ? s(v) : c = Ze(v) ? v : M;
1101
+ }, m = i.map(
1102
+ (v, p) => Ot(
1103
+ v,
1088
1104
  (w) => {
1089
- u[p] = w, h &= ~(1 << p), l && c();
1105
+ u[p] = w, h &= ~(1 << p), l && f();
1090
1106
  },
1091
1107
  () => {
1092
1108
  h |= 1 << p;
1093
1109
  }
1094
1110
  )
1095
1111
  );
1096
- return l = !0, c(), function() {
1097
- Z(d), f(), l = !1;
1112
+ return l = !0, f(), function() {
1113
+ Z(m), c(), l = !1;
1098
1114
  };
1099
1115
  });
1100
1116
  }
1101
- function en(e) {
1102
- return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1117
+ function nn(e) {
1118
+ return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1103
1119
  }
1104
- var tn = function(t) {
1105
- return rn(t) && !nn(t);
1120
+ var on = function(t) {
1121
+ return sn(t) && !an(t);
1106
1122
  };
1107
- function rn(e) {
1123
+ function sn(e) {
1108
1124
  return !!e && typeof e == "object";
1109
1125
  }
1110
- function nn(e) {
1126
+ function an(e) {
1111
1127
  var t = Object.prototype.toString.call(e);
1112
- return t === "[object RegExp]" || t === "[object Date]" || an(e);
1128
+ return t === "[object RegExp]" || t === "[object Date]" || hn(e);
1113
1129
  }
1114
- var on = typeof Symbol == "function" && Symbol.for, sn = on ? Symbol.for("react.element") : 60103;
1115
- function an(e) {
1116
- return e.$$typeof === sn;
1130
+ var un = typeof Symbol == "function" && Symbol.for, ln = un ? Symbol.for("react.element") : 60103;
1131
+ function hn(e) {
1132
+ return e.$$typeof === ln;
1117
1133
  }
1118
- function un(e) {
1134
+ function cn(e) {
1119
1135
  return Array.isArray(e) ? [] : {};
1120
1136
  }
1121
1137
  function re(e, t) {
1122
- return t.clone !== !1 && t.isMergeableObject(e) ? V(un(e), e, t) : e;
1138
+ return t.clone !== !1 && t.isMergeableObject(e) ? V(cn(e), e, t) : e;
1123
1139
  }
1124
- function ln(e, t, r) {
1140
+ function fn(e, t, r) {
1125
1141
  return e.concat(t).map(function(n) {
1126
1142
  return re(n, r);
1127
1143
  });
1128
1144
  }
1129
- function hn(e, t) {
1145
+ function mn(e, t) {
1130
1146
  if (!t.customMerge)
1131
1147
  return V;
1132
1148
  var r = t.customMerge(e);
1133
1149
  return typeof r == "function" ? r : V;
1134
1150
  }
1135
- function fn(e) {
1151
+ function dn(e) {
1136
1152
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1137
1153
  return Object.propertyIsEnumerable.call(e, t);
1138
1154
  }) : [];
1139
1155
  }
1140
- function lt(e) {
1141
- return Object.keys(e).concat(fn(e));
1156
+ function ct(e) {
1157
+ return Object.keys(e).concat(dn(e));
1142
1158
  }
1143
- function Ut(e, t) {
1159
+ function jt(e, t) {
1144
1160
  try {
1145
1161
  return t in e;
1146
1162
  } catch {
1147
1163
  return !1;
1148
1164
  }
1149
1165
  }
1150
- function cn(e, t) {
1151
- return Ut(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1166
+ function pn(e, t) {
1167
+ return jt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1152
1168
  }
1153
- function dn(e, t, r) {
1169
+ function bn(e, t, r) {
1154
1170
  var n = {};
1155
- return r.isMergeableObject(e) && lt(e).forEach(function(i) {
1171
+ return r.isMergeableObject(e) && ct(e).forEach(function(i) {
1156
1172
  n[i] = re(e[i], r);
1157
- }), lt(t).forEach(function(i) {
1158
- cn(e, i) || (Ut(e, i) && r.isMergeableObject(t[i]) ? n[i] = hn(i, r)(e[i], t[i], r) : n[i] = re(t[i], r));
1173
+ }), ct(t).forEach(function(i) {
1174
+ pn(e, i) || (jt(e, i) && r.isMergeableObject(t[i]) ? n[i] = mn(i, r)(e[i], t[i], r) : n[i] = re(t[i], r));
1159
1175
  }), n;
1160
1176
  }
1161
1177
  function V(e, t, r) {
1162
- r = r || {}, r.arrayMerge = r.arrayMerge || ln, r.isMergeableObject = r.isMergeableObject || tn, r.cloneUnlessOtherwiseSpecified = re;
1178
+ r = r || {}, r.arrayMerge = r.arrayMerge || fn, r.isMergeableObject = r.isMergeableObject || on, r.cloneUnlessOtherwiseSpecified = re;
1163
1179
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1164
- return o ? n ? r.arrayMerge(e, t, r) : dn(e, t, r) : re(t, r);
1180
+ return o ? n ? r.arrayMerge(e, t, r) : bn(e, t, r) : re(t, r);
1165
1181
  }
1166
1182
  V.all = function(t, r) {
1167
1183
  if (!Array.isArray(t))
@@ -1170,64 +1186,62 @@ V.all = function(t, r) {
1170
1186
  return V(n, i, r);
1171
1187
  }, {});
1172
1188
  };
1173
- var mn = V, pn = mn;
1174
- const bn = /* @__PURE__ */ en(pn);
1175
- function Te(e, t) {
1176
- var r = t && t.cache ? t.cache : Sn, n = t && t.serializer ? t.serializer : _n, i = t && t.strategy ? t.strategy : yn;
1189
+ var gn = V, vn = gn;
1190
+ const yn = /* @__PURE__ */ nn(vn);
1191
+ function He(e, t) {
1192
+ var r = t && t.cache ? t.cache : Tn, n = t && t.serializer ? t.serializer : wn, i = t && t.strategy ? t.strategy : _n;
1177
1193
  return i(e, {
1178
1194
  cache: r,
1179
1195
  serializer: n
1180
1196
  });
1181
1197
  }
1182
- function gn(e) {
1198
+ function xn(e) {
1183
1199
  return e == null || typeof e == "number" || typeof e == "boolean";
1184
1200
  }
1185
- function Dt(e, t, r, n) {
1186
- var i = gn(n) ? n : r(n), o = t.get(i);
1201
+ function kt(e, t, r, n) {
1202
+ var i = xn(n) ? n : r(n), o = t.get(i);
1187
1203
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1188
1204
  }
1189
- function Ft(e, t, r) {
1205
+ function Vt(e, t, r) {
1190
1206
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1191
1207
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1192
1208
  }
1193
- function Qe(e, t, r, n, i) {
1209
+ function Je(e, t, r, n, i) {
1194
1210
  return r.bind(t, e, n, i);
1195
1211
  }
1196
- function yn(e, t) {
1197
- var r = e.length === 1 ? Dt : Ft;
1198
- return Qe(e, this, r, t.cache.create(), t.serializer);
1212
+ function _n(e, t) {
1213
+ var r = e.length === 1 ? kt : Vt;
1214
+ return Je(e, this, r, t.cache.create(), t.serializer);
1199
1215
  }
1200
- function vn(e, t) {
1201
- return Qe(e, this, Ft, t.cache.create(), t.serializer);
1216
+ function En(e, t) {
1217
+ return Je(e, this, Vt, t.cache.create(), t.serializer);
1202
1218
  }
1203
- function xn(e, t) {
1204
- return Qe(e, this, Dt, t.cache.create(), t.serializer);
1219
+ function Sn(e, t) {
1220
+ return Je(e, this, kt, t.cache.create(), t.serializer);
1205
1221
  }
1206
- var _n = function() {
1222
+ var wn = function() {
1207
1223
  return JSON.stringify(arguments);
1208
- }, En = (
1209
- /** @class */
1210
- function() {
1211
- function e() {
1212
- this.cache = /* @__PURE__ */ Object.create(null);
1213
- }
1214
- return e.prototype.get = function(t) {
1215
- return this.cache[t];
1216
- }, e.prototype.set = function(t, r) {
1217
- this.cache[t] = r;
1218
- }, e;
1219
- }()
1220
- ), Sn = {
1224
+ };
1225
+ function Ye() {
1226
+ this.cache = /* @__PURE__ */ Object.create(null);
1227
+ }
1228
+ Ye.prototype.get = function(e) {
1229
+ return this.cache[e];
1230
+ };
1231
+ Ye.prototype.set = function(e, t) {
1232
+ this.cache[e] = t;
1233
+ };
1234
+ var Tn = {
1221
1235
  create: function() {
1222
- return new En();
1236
+ return new Ye();
1223
1237
  }
1224
- }, He = {
1225
- variadic: vn,
1226
- monadic: xn
1227
- }, m;
1238
+ }, Be = {
1239
+ variadic: En,
1240
+ monadic: Sn
1241
+ }, d;
1228
1242
  (function(e) {
1229
1243
  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";
1230
- })(m || (m = {}));
1244
+ })(d || (d = {}));
1231
1245
  var S;
1232
1246
  (function(e) {
1233
1247
  e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
@@ -1236,43 +1250,43 @@ var X;
1236
1250
  (function(e) {
1237
1251
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1238
1252
  })(X || (X = {}));
1239
- function ht(e) {
1253
+ function ft(e) {
1240
1254
  return e.type === S.literal;
1241
1255
  }
1242
- function wn(e) {
1256
+ function Hn(e) {
1243
1257
  return e.type === S.argument;
1244
1258
  }
1245
- function jt(e) {
1259
+ function Xt(e) {
1246
1260
  return e.type === S.number;
1247
1261
  }
1248
- function kt(e) {
1262
+ function zt(e) {
1249
1263
  return e.type === S.date;
1250
1264
  }
1251
- function Vt(e) {
1265
+ function Wt(e) {
1252
1266
  return e.type === S.time;
1253
1267
  }
1254
- function Xt(e) {
1268
+ function Zt(e) {
1255
1269
  return e.type === S.select;
1256
1270
  }
1257
- function zt(e) {
1271
+ function Qt(e) {
1258
1272
  return e.type === S.plural;
1259
1273
  }
1260
- function Tn(e) {
1274
+ function Bn(e) {
1261
1275
  return e.type === S.pound;
1262
1276
  }
1263
- function Wt(e) {
1277
+ function Jt(e) {
1264
1278
  return e.type === S.tag;
1265
1279
  }
1266
- function Zt(e) {
1280
+ function Yt(e) {
1267
1281
  return !!(e && typeof e == "object" && e.type === X.number);
1268
1282
  }
1269
- function Ue(e) {
1283
+ function De(e) {
1270
1284
  return !!(e && typeof e == "object" && e.type === X.dateTime);
1271
1285
  }
1272
- var Qt = /[ \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;
1273
- function Bn(e) {
1286
+ var qt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, An = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1287
+ function Cn(e) {
1274
1288
  var t = {};
1275
- return e.replace(Hn, function(r) {
1289
+ return e.replace(An, function(r) {
1276
1290
  var n = r.length;
1277
1291
  switch (r[0]) {
1278
1292
  case "G":
@@ -1361,36 +1375,36 @@ function Bn(e) {
1361
1375
  return "";
1362
1376
  }), t;
1363
1377
  }
1364
- var An = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1365
- function Cn(e) {
1378
+ var Pn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1379
+ function On(e) {
1366
1380
  if (e.length === 0)
1367
1381
  throw new Error("Number skeleton cannot be empty");
1368
- for (var t = e.split(An).filter(function(c) {
1369
- return c.length > 0;
1382
+ for (var t = e.split(Pn).filter(function(f) {
1383
+ return f.length > 0;
1370
1384
  }), r = [], n = 0, i = t; n < i.length; n++) {
1371
1385
  var o = i[n], s = o.split("/");
1372
1386
  if (s.length === 0)
1373
1387
  throw new Error("Invalid number skeleton");
1374
1388
  for (var a = s[0], l = s.slice(1), u = 0, h = l; u < h.length; u++) {
1375
- var f = h[u];
1376
- if (f.length === 0)
1389
+ var c = h[u];
1390
+ if (c.length === 0)
1377
1391
  throw new Error("Invalid number skeleton");
1378
1392
  }
1379
1393
  r.push({ stem: a, options: l });
1380
1394
  }
1381
1395
  return r;
1382
1396
  }
1383
- function Pn(e) {
1397
+ function In(e) {
1384
1398
  return e.replace(/^(.*?)-/, "");
1385
1399
  }
1386
- var ft = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Jt = /^(@+)?(\+|#+)?[rs]?$/g, On = /(\*)(0+)|(#+)(0+)|(0+)/g, Yt = /^(0+)$/;
1387
- function ct(e) {
1400
+ var mt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Kt = /^(@+)?(\+|#+)?[rs]?$/g, Mn = /(\*)(0+)|(#+)(0+)|(0+)/g, er = /^(0+)$/;
1401
+ function dt(e) {
1388
1402
  var t = {};
1389
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Jt, function(r, n, i) {
1403
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Kt, function(r, n, i) {
1390
1404
  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)), "";
1391
1405
  }), t;
1392
1406
  }
1393
- function qt(e) {
1407
+ function tr(e) {
1394
1408
  switch (e) {
1395
1409
  case "sign-auto":
1396
1410
  return {
@@ -1430,7 +1444,7 @@ function qt(e) {
1430
1444
  };
1431
1445
  }
1432
1446
  }
1433
- function In(e) {
1447
+ function Nn(e) {
1434
1448
  var t;
1435
1449
  if (e[0] === "E" && e[1] === "E" ? (t = {
1436
1450
  notation: "engineering"
@@ -1438,17 +1452,17 @@ function In(e) {
1438
1452
  notation: "scientific"
1439
1453
  }, e = e.slice(1)), t) {
1440
1454
  var r = e.slice(0, 2);
1441
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Yt.test(e))
1455
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !er.test(e))
1442
1456
  throw new Error("Malformed concise eng/scientific notation");
1443
1457
  t.minimumIntegerDigits = e.length;
1444
1458
  }
1445
1459
  return t;
1446
1460
  }
1447
- function dt(e) {
1448
- var t = {}, r = qt(e);
1461
+ function pt(e) {
1462
+ var t = {}, r = tr(e);
1449
1463
  return r || t;
1450
1464
  }
1451
- function Nn(e) {
1465
+ function Ln(e) {
1452
1466
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1453
1467
  var i = n[r];
1454
1468
  switch (i.stem) {
@@ -1472,7 +1486,7 @@ function Nn(e) {
1472
1486
  continue;
1473
1487
  case "measure-unit":
1474
1488
  case "unit":
1475
- t.style = "unit", t.unit = Pn(i.options[0]);
1489
+ t.style = "unit", t.unit = In(i.options[0]);
1476
1490
  continue;
1477
1491
  case "compact-short":
1478
1492
  case "K":
@@ -1483,13 +1497,13 @@ function Nn(e) {
1483
1497
  t.notation = "compact", t.compactDisplay = "long";
1484
1498
  continue;
1485
1499
  case "scientific":
1486
- t = v(v(v({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1487
- return v(v({}, l), dt(u));
1500
+ t = y(y(y({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1501
+ return y(y({}, l), pt(u));
1488
1502
  }, {}));
1489
1503
  continue;
1490
1504
  case "engineering":
1491
- t = v(v(v({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1492
- return v(v({}, l), dt(u));
1505
+ t = y(y(y({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1506
+ return y(y({}, l), pt(u));
1493
1507
  }, {}));
1494
1508
  continue;
1495
1509
  case "notation-simple":
@@ -1534,41 +1548,41 @@ function Nn(e) {
1534
1548
  case "integer-width":
1535
1549
  if (i.options.length > 1)
1536
1550
  throw new RangeError("integer-width stems only accept a single optional option");
1537
- i.options[0].replace(On, function(l, u, h, f, c, d) {
1551
+ i.options[0].replace(Mn, function(l, u, h, c, f, m) {
1538
1552
  if (u)
1539
1553
  t.minimumIntegerDigits = h.length;
1540
1554
  else {
1541
- if (f && c)
1555
+ if (c && f)
1542
1556
  throw new Error("We currently do not support maximum integer digits");
1543
- if (d)
1557
+ if (m)
1544
1558
  throw new Error("We currently do not support exact integer digits");
1545
1559
  }
1546
1560
  return "";
1547
1561
  });
1548
1562
  continue;
1549
1563
  }
1550
- if (Yt.test(i.stem)) {
1564
+ if (er.test(i.stem)) {
1551
1565
  t.minimumIntegerDigits = i.stem.length;
1552
1566
  continue;
1553
1567
  }
1554
- if (ft.test(i.stem)) {
1568
+ if (mt.test(i.stem)) {
1555
1569
  if (i.options.length > 1)
1556
1570
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1557
- i.stem.replace(ft, function(l, u, h, f, c, d) {
1558
- return h === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && d ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1571
+ i.stem.replace(mt, function(l, u, h, c, f, m) {
1572
+ 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), "";
1559
1573
  });
1560
1574
  var o = i.options[0];
1561
- o === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = v(v({}, t), ct(o)));
1575
+ o === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = y(y({}, t), dt(o)));
1562
1576
  continue;
1563
1577
  }
1564
- if (Jt.test(i.stem)) {
1565
- t = v(v({}, t), ct(i.stem));
1578
+ if (Kt.test(i.stem)) {
1579
+ t = y(y({}, t), dt(i.stem));
1566
1580
  continue;
1567
1581
  }
1568
- var s = qt(i.stem);
1569
- s && (t = v(v({}, t), s));
1570
- var a = In(i.stem);
1571
- a && (t = v(v({}, t), a));
1582
+ var s = tr(i.stem);
1583
+ s && (t = y(y({}, t), s));
1584
+ var a = Nn(i.stem);
1585
+ a && (t = y(y({}, t), a));
1572
1586
  }
1573
1587
  return t;
1574
1588
  }
@@ -2987,13 +3001,13 @@ var le = {
2987
3001
  "h"
2988
3002
  ]
2989
3003
  };
2990
- function Mn(e, t) {
3004
+ function Rn(e, t) {
2991
3005
  for (var r = "", n = 0; n < e.length; n++) {
2992
3006
  var i = e.charAt(n);
2993
3007
  if (i === "j") {
2994
3008
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2995
3009
  o++, n++;
2996
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Ln(t);
3010
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = $n(t);
2997
3011
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2998
3012
  r += l;
2999
3013
  for (; s-- > 0; )
@@ -3003,7 +3017,7 @@ function Mn(e, t) {
3003
3017
  }
3004
3018
  return r;
3005
3019
  }
3006
- function Ln(e) {
3020
+ function $n(e) {
3007
3021
  var t = e.hourCycle;
3008
3022
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3009
3023
  e.hourCycles && // @ts-ignore
@@ -3025,20 +3039,20 @@ function Ln(e) {
3025
3039
  var i = le[n || ""] || le[r || ""] || le["".concat(r, "-001")] || le["001"];
3026
3040
  return i[0];
3027
3041
  }
3028
- var Be, Rn = new RegExp("^".concat(Qt.source, "*")), $n = new RegExp("".concat(Qt.source, "*$"));
3042
+ var Ae, Gn = new RegExp("^".concat(qt.source, "*")), Un = new RegExp("".concat(qt.source, "*$"));
3029
3043
  function g(e, t) {
3030
3044
  return { start: e, end: t };
3031
3045
  }
3032
- 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) {
3046
+ var Dn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Fn = !!String.fromCodePoint, jn = !!Object.fromEntries, kn = !!String.prototype.codePointAt, Vn = !!String.prototype.trimStart, Xn = !!String.prototype.trimEnd, zn = !!Number.isSafeInteger, Wn = zn ? Number.isSafeInteger : function(e) {
3033
3047
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3034
- }, De = !0;
3048
+ }, Fe = !0;
3035
3049
  try {
3036
- var zn = er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3037
- De = ((Be = zn.exec("a")) === null || Be === void 0 ? void 0 : Be[0]) === "a";
3050
+ var Zn = nr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3051
+ Fe = ((Ae = Zn.exec("a")) === null || Ae === void 0 ? void 0 : Ae[0]) === "a";
3038
3052
  } catch {
3039
- De = !1;
3053
+ Fe = !1;
3040
3054
  }
3041
- var mt = Gn ? (
3055
+ var bt = Dn ? (
3042
3056
  // Native
3043
3057
  function(t, r, n) {
3044
3058
  return t.startsWith(r, n);
@@ -3048,7 +3062,7 @@ var mt = Gn ? (
3048
3062
  function(t, r, n) {
3049
3063
  return t.slice(n, n + r.length) === r;
3050
3064
  }
3051
- ), Fe = Un ? String.fromCodePoint : (
3065
+ ), je = Fn ? String.fromCodePoint : (
3052
3066
  // IE11
3053
3067
  function() {
3054
3068
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3060,9 +3074,9 @@ var mt = Gn ? (
3060
3074
  }
3061
3075
  return n;
3062
3076
  }
3063
- ), pt = (
3077
+ ), gt = (
3064
3078
  // native
3065
- Dn ? Object.fromEntries : (
3079
+ jn ? Object.fromEntries : (
3066
3080
  // Ponyfill
3067
3081
  function(t) {
3068
3082
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3072,7 +3086,7 @@ var mt = Gn ? (
3072
3086
  return r;
3073
3087
  }
3074
3088
  )
3075
- ), Kt = Fn ? (
3089
+ ), rr = kn ? (
3076
3090
  // Native
3077
3091
  function(t, r) {
3078
3092
  return t.codePointAt(r);
@@ -3086,7 +3100,7 @@ var mt = Gn ? (
3086
3100
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3087
3101
  }
3088
3102
  }
3089
- ), Wn = jn ? (
3103
+ ), Qn = Vn ? (
3090
3104
  // Native
3091
3105
  function(t) {
3092
3106
  return t.trimStart();
@@ -3094,9 +3108,9 @@ var mt = Gn ? (
3094
3108
  ) : (
3095
3109
  // Ponyfill
3096
3110
  function(t) {
3097
- return t.replace(Rn, "");
3111
+ return t.replace(Gn, "");
3098
3112
  }
3099
- ), Zn = kn ? (
3113
+ ), Jn = Xn ? (
3100
3114
  // Native
3101
3115
  function(t) {
3102
3116
  return t.trimEnd();
@@ -3104,32 +3118,32 @@ var mt = Gn ? (
3104
3118
  ) : (
3105
3119
  // Ponyfill
3106
3120
  function(t) {
3107
- return t.replace($n, "");
3121
+ return t.replace(Un, "");
3108
3122
  }
3109
3123
  );
3110
- function er(e, t) {
3124
+ function nr(e, t) {
3111
3125
  return new RegExp(e, t);
3112
3126
  }
3113
- var je;
3114
- if (De) {
3115
- var bt = er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3116
- je = function(t, r) {
3127
+ var ke;
3128
+ if (Fe) {
3129
+ var vt = nr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3130
+ ke = function(t, r) {
3117
3131
  var n;
3118
- bt.lastIndex = r;
3119
- var i = bt.exec(t);
3132
+ vt.lastIndex = r;
3133
+ var i = vt.exec(t);
3120
3134
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3121
3135
  };
3122
3136
  } else
3123
- je = function(t, r) {
3137
+ ke = function(t, r) {
3124
3138
  for (var n = []; ; ) {
3125
- var i = Kt(t, r);
3126
- if (i === void 0 || tr(i) || qn(i))
3139
+ var i = rr(t, r);
3140
+ if (i === void 0 || ir(i) || ei(i))
3127
3141
  break;
3128
3142
  n.push(i), r += i >= 65536 ? 2 : 1;
3129
3143
  }
3130
- return Fe.apply(void 0, n);
3144
+ return je.apply(void 0, n);
3131
3145
  };
3132
- var Qn = (
3146
+ var Yn = (
3133
3147
  /** @class */
3134
3148
  function() {
3135
3149
  function e(t, r) {
@@ -3159,8 +3173,8 @@ var Qn = (
3159
3173
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3160
3174
  if (n)
3161
3175
  break;
3162
- return this.error(m.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
3163
- } else if (o === 60 && !this.ignoreTag && ke(this.peek() || 0)) {
3176
+ return this.error(d.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
3177
+ } else if (o === 60 && !this.ignoreTag && Ve(this.peek() || 0)) {
3164
3178
  var s = this.parseTag(t, r);
3165
3179
  if (s.err)
3166
3180
  return s;
@@ -3193,10 +3207,10 @@ var Qn = (
3193
3207
  return o;
3194
3208
  var s = o.val, a = this.clonePosition();
3195
3209
  if (this.bumpIf("</")) {
3196
- if (this.isEOF() || !ke(this.char()))
3197
- return this.error(m.INVALID_TAG, g(a, this.clonePosition()));
3210
+ if (this.isEOF() || !Ve(this.char()))
3211
+ return this.error(d.INVALID_TAG, g(a, this.clonePosition()));
3198
3212
  var l = this.clonePosition(), u = this.parseTagName();
3199
- return i !== u ? this.error(m.UNMATCHED_CLOSING_TAG, g(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3213
+ return i !== u ? this.error(d.UNMATCHED_CLOSING_TAG, g(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3200
3214
  val: {
3201
3215
  type: S.tag,
3202
3216
  value: i,
@@ -3204,14 +3218,14 @@ var Qn = (
3204
3218
  location: g(n, this.clonePosition())
3205
3219
  },
3206
3220
  err: null
3207
- } : this.error(m.INVALID_TAG, g(a, this.clonePosition())));
3221
+ } : this.error(d.INVALID_TAG, g(a, this.clonePosition())));
3208
3222
  } else
3209
- return this.error(m.UNCLOSED_TAG, g(n, this.clonePosition()));
3223
+ return this.error(d.UNCLOSED_TAG, g(n, this.clonePosition()));
3210
3224
  } else
3211
- return this.error(m.INVALID_TAG, g(n, this.clonePosition()));
3225
+ return this.error(d.INVALID_TAG, g(n, this.clonePosition()));
3212
3226
  }, e.prototype.parseTagName = function() {
3213
3227
  var t = this.offset();
3214
- for (this.bump(); !this.isEOF() && Yn(this.char()); )
3228
+ for (this.bump(); !this.isEOF() && Kn(this.char()); )
3215
3229
  this.bump();
3216
3230
  return this.message.slice(t, this.offset());
3217
3231
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3240,7 +3254,7 @@ var Qn = (
3240
3254
  };
3241
3255
  }, e.prototype.tryParseLeftAngleBracket = function() {
3242
3256
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3243
- !Jn(this.peek() || 0)) ? (this.bump(), "<") : null;
3257
+ !qn(this.peek() || 0)) ? (this.bump(), "<") : null;
3244
3258
  }, e.prototype.tryParseQuote = function(t) {
3245
3259
  if (this.isEOF() || this.char() !== 39)
3246
3260
  return null;
@@ -3274,23 +3288,23 @@ var Qn = (
3274
3288
  r.push(n);
3275
3289
  this.bump();
3276
3290
  }
3277
- return Fe.apply(void 0, r);
3291
+ return je.apply(void 0, r);
3278
3292
  }, e.prototype.tryParseUnquoted = function(t, r) {
3279
3293
  if (this.isEOF())
3280
3294
  return null;
3281
3295
  var n = this.char();
3282
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Fe(n));
3296
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), je(n));
3283
3297
  }, e.prototype.parseArgument = function(t, r) {
3284
3298
  var n = this.clonePosition();
3285
3299
  if (this.bump(), this.bumpSpace(), this.isEOF())
3286
- return this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition()));
3300
+ return this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition()));
3287
3301
  if (this.char() === 125)
3288
- return this.bump(), this.error(m.EMPTY_ARGUMENT, g(n, this.clonePosition()));
3302
+ return this.bump(), this.error(d.EMPTY_ARGUMENT, g(n, this.clonePosition()));
3289
3303
  var i = this.parseIdentifierIfPossible().value;
3290
3304
  if (!i)
3291
- return this.error(m.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
3305
+ return this.error(d.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
3292
3306
  if (this.bumpSpace(), this.isEOF())
3293
- return this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition()));
3307
+ return this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition()));
3294
3308
  switch (this.char()) {
3295
3309
  case 125:
3296
3310
  return this.bump(), {
@@ -3303,12 +3317,12 @@ var Qn = (
3303
3317
  err: null
3304
3318
  };
3305
3319
  case 44:
3306
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3320
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3307
3321
  default:
3308
- return this.error(m.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
3322
+ return this.error(d.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
3309
3323
  }
3310
3324
  }, e.prototype.parseIdentifierIfPossible = function() {
3311
- var t = this.clonePosition(), r = this.offset(), n = je(this.message, r), i = r + n.length;
3325
+ var t = this.clonePosition(), r = this.offset(), n = ke(this.message, r), i = r + n.length;
3312
3326
  this.bumpTo(i);
3313
3327
  var o = this.clonePosition(), s = g(t, o);
3314
3328
  return { value: n, location: s };
@@ -3316,7 +3330,7 @@ var Qn = (
3316
3330
  var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, l = this.clonePosition();
3317
3331
  switch (a) {
3318
3332
  case "":
3319
- return this.error(m.EXPECT_ARGUMENT_TYPE, g(s, l));
3333
+ return this.error(d.EXPECT_ARGUMENT_TYPE, g(s, l));
3320
3334
  case "number":
3321
3335
  case "date":
3322
3336
  case "time": {
@@ -3324,40 +3338,40 @@ var Qn = (
3324
3338
  var u = null;
3325
3339
  if (this.bumpIf(",")) {
3326
3340
  this.bumpSpace();
3327
- var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3328
- if (f.err)
3329
- return f;
3330
- var c = Zn(f.val);
3331
- if (c.length === 0)
3332
- return this.error(m.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
3333
- var d = g(h, this.clonePosition());
3334
- u = { style: c, styleLocation: d };
3341
+ var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3342
+ if (c.err)
3343
+ return c;
3344
+ var f = Jn(c.val);
3345
+ if (f.length === 0)
3346
+ return this.error(d.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
3347
+ var m = g(h, this.clonePosition());
3348
+ u = { style: f, styleLocation: m };
3335
3349
  }
3336
- var y = this.tryParseArgumentClose(i);
3337
- if (y.err)
3338
- return y;
3350
+ var v = this.tryParseArgumentClose(i);
3351
+ if (v.err)
3352
+ return v;
3339
3353
  var p = g(i, this.clonePosition());
3340
- if (u && mt(u?.style, "::", 0)) {
3341
- var w = Wn(u.style.slice(2));
3354
+ if (u && bt(u?.style, "::", 0)) {
3355
+ var w = Qn(u.style.slice(2));
3342
3356
  if (a === "number") {
3343
- var f = this.parseNumberSkeletonFromString(w, u.styleLocation);
3344
- return f.err ? f : {
3345
- val: { type: S.number, value: n, location: p, style: f.val },
3357
+ var c = this.parseNumberSkeletonFromString(w, u.styleLocation);
3358
+ return c.err ? c : {
3359
+ val: { type: S.number, value: n, location: p, style: c.val },
3346
3360
  err: null
3347
3361
  };
3348
3362
  } else {
3349
3363
  if (w.length === 0)
3350
- return this.error(m.EXPECT_DATE_TIME_SKELETON, p);
3364
+ return this.error(d.EXPECT_DATE_TIME_SKELETON, p);
3351
3365
  var P = w;
3352
- this.locale && (P = Mn(w, this.locale));
3353
- var c = {
3366
+ this.locale && (P = Rn(w, this.locale));
3367
+ var f = {
3354
3368
  type: X.dateTime,
3355
3369
  pattern: P,
3356
3370
  location: u.styleLocation,
3357
- parsedOptions: this.shouldParseSkeletons ? Bn(P) : {}
3358
- }, C = a === "date" ? S.date : S.time;
3371
+ parsedOptions: this.shouldParseSkeletons ? Cn(P) : {}
3372
+ }, H = a === "date" ? S.date : S.time;
3359
3373
  return {
3360
- val: { type: C, value: n, location: p, style: c },
3374
+ val: { type: H, value: n, location: p, style: f },
3361
3375
  err: null
3362
3376
  };
3363
3377
  }
@@ -3377,30 +3391,30 @@ var Qn = (
3377
3391
  case "select": {
3378
3392
  var _ = this.clonePosition();
3379
3393
  if (this.bumpSpace(), !this.bumpIf(","))
3380
- return this.error(m.EXPECT_SELECT_ARGUMENT_OPTIONS, g(_, v({}, _)));
3394
+ return this.error(d.EXPECT_SELECT_ARGUMENT_OPTIONS, g(_, y({}, _)));
3381
3395
  this.bumpSpace();
3382
3396
  var E = this.parseIdentifierIfPossible(), x = 0;
3383
3397
  if (a !== "select" && E.value === "offset") {
3384
3398
  if (!this.bumpIf(":"))
3385
- return this.error(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g(this.clonePosition(), this.clonePosition()));
3399
+ return this.error(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g(this.clonePosition(), this.clonePosition()));
3386
3400
  this.bumpSpace();
3387
- var f = this.tryParseDecimalInteger(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, m.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3388
- if (f.err)
3389
- return f;
3390
- this.bumpSpace(), E = this.parseIdentifierIfPossible(), x = f.val;
3401
+ var c = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, d.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3402
+ if (c.err)
3403
+ return c;
3404
+ this.bumpSpace(), E = this.parseIdentifierIfPossible(), x = c.val;
3391
3405
  }
3392
- var H = this.tryParsePluralOrSelectOptions(t, a, r, E);
3393
- if (H.err)
3394
- return H;
3395
- var y = this.tryParseArgumentClose(i);
3396
- if (y.err)
3397
- return y;
3406
+ var B = this.tryParsePluralOrSelectOptions(t, a, r, E);
3407
+ if (B.err)
3408
+ return B;
3409
+ var v = this.tryParseArgumentClose(i);
3410
+ if (v.err)
3411
+ return v;
3398
3412
  var se = g(i, this.clonePosition());
3399
3413
  return a === "select" ? {
3400
3414
  val: {
3401
3415
  type: S.select,
3402
3416
  value: n,
3403
- options: pt(H.val),
3417
+ options: gt(B.val),
3404
3418
  location: se
3405
3419
  },
3406
3420
  err: null
@@ -3408,7 +3422,7 @@ var Qn = (
3408
3422
  val: {
3409
3423
  type: S.plural,
3410
3424
  value: n,
3411
- options: pt(H.val),
3425
+ options: gt(B.val),
3412
3426
  offset: x,
3413
3427
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3414
3428
  location: se
@@ -3417,10 +3431,10 @@ var Qn = (
3417
3431
  };
3418
3432
  }
3419
3433
  default:
3420
- return this.error(m.INVALID_ARGUMENT_TYPE, g(s, l));
3434
+ return this.error(d.INVALID_ARGUMENT_TYPE, g(s, l));
3421
3435
  }
3422
3436
  }, e.prototype.tryParseArgumentClose = function(t) {
3423
- return this.isEOF() || this.char() !== 125 ? this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE, g(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3437
+ return this.isEOF() || this.char() !== 125 ? this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, g(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3424
3438
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3425
3439
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3426
3440
  var n = this.char();
@@ -3429,7 +3443,7 @@ var Qn = (
3429
3443
  this.bump();
3430
3444
  var i = this.clonePosition();
3431
3445
  if (!this.bumpUntil("'"))
3432
- return this.error(m.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, g(i, this.clonePosition()));
3446
+ return this.error(d.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, g(i, this.clonePosition()));
3433
3447
  this.bump();
3434
3448
  break;
3435
3449
  }
@@ -3459,52 +3473,52 @@ var Qn = (
3459
3473
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3460
3474
  var n = [];
3461
3475
  try {
3462
- n = Cn(t);
3476
+ n = On(t);
3463
3477
  } catch {
3464
- return this.error(m.INVALID_NUMBER_SKELETON, r);
3478
+ return this.error(d.INVALID_NUMBER_SKELETON, r);
3465
3479
  }
3466
3480
  return {
3467
3481
  val: {
3468
3482
  type: X.number,
3469
3483
  tokens: n,
3470
3484
  location: r,
3471
- parsedOptions: this.shouldParseSkeletons ? Nn(n) : {}
3485
+ parsedOptions: this.shouldParseSkeletons ? Ln(n) : {}
3472
3486
  },
3473
3487
  err: null
3474
3488
  };
3475
3489
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3476
3490
  for (var o, s = !1, a = [], l = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
3477
3491
  if (u.length === 0) {
3478
- var f = this.clonePosition();
3492
+ var c = this.clonePosition();
3479
3493
  if (r !== "select" && this.bumpIf("=")) {
3480
- var c = this.tryParseDecimalInteger(m.EXPECT_PLURAL_ARGUMENT_SELECTOR, m.INVALID_PLURAL_ARGUMENT_SELECTOR);
3481
- if (c.err)
3482
- return c;
3483
- h = g(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
3494
+ var f = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_SELECTOR, d.INVALID_PLURAL_ARGUMENT_SELECTOR);
3495
+ if (f.err)
3496
+ return f;
3497
+ h = g(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
3484
3498
  } else
3485
3499
  break;
3486
3500
  }
3487
3501
  if (l.has(u))
3488
- return this.error(r === "select" ? m.DUPLICATE_SELECT_ARGUMENT_SELECTOR : m.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3502
+ return this.error(r === "select" ? d.DUPLICATE_SELECT_ARGUMENT_SELECTOR : d.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3489
3503
  u === "other" && (s = !0), this.bumpSpace();
3490
- var d = this.clonePosition();
3504
+ var m = this.clonePosition();
3491
3505
  if (!this.bumpIf("{"))
3492
- return this.error(r === "select" ? m.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : m.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, g(this.clonePosition(), this.clonePosition()));
3493
- var y = this.parseMessage(t + 1, r, n);
3494
- if (y.err)
3495
- return y;
3496
- var p = this.tryParseArgumentClose(d);
3506
+ return this.error(r === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : d.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, g(this.clonePosition(), this.clonePosition()));
3507
+ var v = this.parseMessage(t + 1, r, n);
3508
+ if (v.err)
3509
+ return v;
3510
+ var p = this.tryParseArgumentClose(m);
3497
3511
  if (p.err)
3498
3512
  return p;
3499
3513
  a.push([
3500
3514
  u,
3501
3515
  {
3502
- value: y.val,
3503
- location: g(d, this.clonePosition())
3516
+ value: v.val,
3517
+ location: g(m, this.clonePosition())
3504
3518
  }
3505
3519
  ]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
3506
3520
  }
3507
- return a.length === 0 ? this.error(r === "select" ? m.EXPECT_SELECT_ARGUMENT_SELECTOR : m.EXPECT_PLURAL_ARGUMENT_SELECTOR, g(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(m.MISSING_OTHER_CLAUSE, g(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3521
+ return a.length === 0 ? this.error(r === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR : d.EXPECT_PLURAL_ARGUMENT_SELECTOR, g(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(d.MISSING_OTHER_CLAUSE, g(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3508
3522
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3509
3523
  var n = 1, i = this.clonePosition();
3510
3524
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -3516,7 +3530,7 @@ var Qn = (
3516
3530
  break;
3517
3531
  }
3518
3532
  var l = g(i, this.clonePosition());
3519
- return o ? (s *= n, Xn(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3533
+ return o ? (s *= n, Wn(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3520
3534
  }, e.prototype.offset = function() {
3521
3535
  return this.position.offset;
3522
3536
  }, e.prototype.isEOF = function() {
@@ -3531,7 +3545,7 @@ var Qn = (
3531
3545
  var t = this.position.offset;
3532
3546
  if (t >= this.message.length)
3533
3547
  throw Error("out of bound");
3534
- var r = Kt(this.message, t);
3548
+ var r = rr(this.message, t);
3535
3549
  if (r === void 0)
3536
3550
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3537
3551
  return r;
@@ -3550,7 +3564,7 @@ var Qn = (
3550
3564
  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);
3551
3565
  }
3552
3566
  }, e.prototype.bumpIf = function(t) {
3553
- if (mt(this.message, t, this.offset())) {
3567
+ if (bt(this.message, t, this.offset())) {
3554
3568
  for (var r = 0; r < t.length; r++)
3555
3569
  this.bump();
3556
3570
  return !0;
@@ -3572,7 +3586,7 @@ var Qn = (
3572
3586
  break;
3573
3587
  }
3574
3588
  }, e.prototype.bumpSpace = function() {
3575
- for (; !this.isEOF() && tr(this.char()); )
3589
+ for (; !this.isEOF() && ir(this.char()); )
3576
3590
  this.bump();
3577
3591
  }, e.prototype.peek = function() {
3578
3592
  if (this.isEOF())
@@ -3582,38 +3596,38 @@ var Qn = (
3582
3596
  }, e;
3583
3597
  }()
3584
3598
  );
3585
- function ke(e) {
3599
+ function Ve(e) {
3586
3600
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3587
3601
  }
3588
- function Jn(e) {
3589
- return ke(e) || e === 47;
3602
+ function qn(e) {
3603
+ return Ve(e) || e === 47;
3590
3604
  }
3591
- function Yn(e) {
3605
+ function Kn(e) {
3592
3606
  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;
3593
3607
  }
3594
- function tr(e) {
3608
+ function ir(e) {
3595
3609
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3596
3610
  }
3597
- function qn(e) {
3611
+ function ei(e) {
3598
3612
  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;
3599
3613
  }
3600
- function Ve(e) {
3614
+ function Xe(e) {
3601
3615
  e.forEach(function(t) {
3602
- if (delete t.location, Xt(t) || zt(t))
3616
+ if (delete t.location, Zt(t) || Qt(t))
3603
3617
  for (var r in t.options)
3604
- delete t.options[r].location, Ve(t.options[r].value);
3618
+ delete t.options[r].location, Xe(t.options[r].value);
3605
3619
  else
3606
- jt(t) && Zt(t.style) || (kt(t) || Vt(t)) && Ue(t.style) ? delete t.style.location : Wt(t) && Ve(t.children);
3620
+ Xt(t) && Yt(t.style) || (zt(t) || Wt(t)) && De(t.style) ? delete t.style.location : Jt(t) && Xe(t.children);
3607
3621
  });
3608
3622
  }
3609
- function Kn(e, t) {
3610
- t === void 0 && (t = {}), t = v({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3611
- var r = new Qn(e, t).parse();
3623
+ function ti(e, t) {
3624
+ t === void 0 && (t = {}), t = y({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3625
+ var r = new Yn(e, t).parse();
3612
3626
  if (r.err) {
3613
- var n = SyntaxError(m[r.err.kind]);
3627
+ var n = SyntaxError(d[r.err.kind]);
3614
3628
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3615
3629
  }
3616
- return t?.captureLocation || Ve(r.val), r.val;
3630
+ return t?.captureLocation || Xe(r.val), r.val;
3617
3631
  }
3618
3632
  var z;
3619
3633
  (function(e) {
@@ -3631,7 +3645,7 @@ var xe = (
3631
3645
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3632
3646
  }, t;
3633
3647
  }(Error)
3634
- ), gt = (
3648
+ ), yt = (
3635
3649
  /** @class */
3636
3650
  function(e) {
3637
3651
  L(t, e);
@@ -3640,7 +3654,7 @@ var xe = (
3640
3654
  }
3641
3655
  return t;
3642
3656
  }(xe)
3643
- ), ei = (
3657
+ ), ri = (
3644
3658
  /** @class */
3645
3659
  function(e) {
3646
3660
  L(t, e);
@@ -3649,7 +3663,7 @@ var xe = (
3649
3663
  }
3650
3664
  return t;
3651
3665
  }(xe)
3652
- ), ti = (
3666
+ ), ni = (
3653
3667
  /** @class */
3654
3668
  function(e) {
3655
3669
  L(t, e);
@@ -3658,128 +3672,128 @@ var xe = (
3658
3672
  }
3659
3673
  return t;
3660
3674
  }(xe)
3661
- ), A;
3675
+ ), C;
3662
3676
  (function(e) {
3663
3677
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3664
- })(A || (A = {}));
3665
- function ri(e) {
3678
+ })(C || (C = {}));
3679
+ function ii(e) {
3666
3680
  return e.length < 2 ? e : e.reduce(function(t, r) {
3667
3681
  var n = t[t.length - 1];
3668
- return !n || n.type !== A.literal || r.type !== A.literal ? t.push(r) : n.value += r.value, t;
3682
+ return !n || n.type !== C.literal || r.type !== C.literal ? t.push(r) : n.value += r.value, t;
3669
3683
  }, []);
3670
3684
  }
3671
- function ni(e) {
3685
+ function oi(e) {
3672
3686
  return typeof e == "function";
3673
3687
  }
3674
- function de(e, t, r, n, i, o, s) {
3675
- if (e.length === 1 && ht(e[0]))
3688
+ function me(e, t, r, n, i, o, s) {
3689
+ if (e.length === 1 && ft(e[0]))
3676
3690
  return [
3677
3691
  {
3678
- type: A.literal,
3692
+ type: C.literal,
3679
3693
  value: e[0].value
3680
3694
  }
3681
3695
  ];
3682
3696
  for (var a = [], l = 0, u = e; l < u.length; l++) {
3683
3697
  var h = u[l];
3684
- if (ht(h)) {
3698
+ if (ft(h)) {
3685
3699
  a.push({
3686
- type: A.literal,
3700
+ type: C.literal,
3687
3701
  value: h.value
3688
3702
  });
3689
3703
  continue;
3690
3704
  }
3691
- if (Tn(h)) {
3705
+ if (Bn(h)) {
3692
3706
  typeof o == "number" && a.push({
3693
- type: A.literal,
3707
+ type: C.literal,
3694
3708
  value: r.getNumberFormat(t).format(o)
3695
3709
  });
3696
3710
  continue;
3697
3711
  }
3698
- var f = h.value;
3699
- if (!(i && f in i))
3700
- throw new ti(f, s);
3701
- var c = i[f];
3702
- if (wn(h)) {
3703
- (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3704
- type: typeof c == "string" ? A.literal : A.object,
3705
- value: c
3712
+ var c = h.value;
3713
+ if (!(i && c in i))
3714
+ throw new ni(c, s);
3715
+ var f = i[c];
3716
+ if (Hn(h)) {
3717
+ (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3718
+ type: typeof f == "string" ? C.literal : C.object,
3719
+ value: f
3706
3720
  });
3707
3721
  continue;
3708
3722
  }
3709
- if (kt(h)) {
3710
- var d = typeof h.style == "string" ? n.date[h.style] : Ue(h.style) ? h.style.parsedOptions : void 0;
3723
+ if (zt(h)) {
3724
+ var m = typeof h.style == "string" ? n.date[h.style] : De(h.style) ? h.style.parsedOptions : void 0;
3711
3725
  a.push({
3712
- type: A.literal,
3713
- value: r.getDateTimeFormat(t, d).format(c)
3726
+ type: C.literal,
3727
+ value: r.getDateTimeFormat(t, m).format(f)
3714
3728
  });
3715
3729
  continue;
3716
3730
  }
3717
- if (Vt(h)) {
3718
- var d = typeof h.style == "string" ? n.time[h.style] : Ue(h.style) ? h.style.parsedOptions : n.time.medium;
3731
+ if (Wt(h)) {
3732
+ var m = typeof h.style == "string" ? n.time[h.style] : De(h.style) ? h.style.parsedOptions : n.time.medium;
3719
3733
  a.push({
3720
- type: A.literal,
3721
- value: r.getDateTimeFormat(t, d).format(c)
3734
+ type: C.literal,
3735
+ value: r.getDateTimeFormat(t, m).format(f)
3722
3736
  });
3723
3737
  continue;
3724
3738
  }
3725
- if (jt(h)) {
3726
- var d = typeof h.style == "string" ? n.number[h.style] : Zt(h.style) ? h.style.parsedOptions : void 0;
3727
- d && d.scale && (c = c * (d.scale || 1)), a.push({
3728
- type: A.literal,
3729
- value: r.getNumberFormat(t, d).format(c)
3739
+ if (Xt(h)) {
3740
+ var m = typeof h.style == "string" ? n.number[h.style] : Yt(h.style) ? h.style.parsedOptions : void 0;
3741
+ m && m.scale && (f = f * (m.scale || 1)), a.push({
3742
+ type: C.literal,
3743
+ value: r.getNumberFormat(t, m).format(f)
3730
3744
  });
3731
3745
  continue;
3732
3746
  }
3733
- if (Wt(h)) {
3734
- var y = h.children, p = h.value, w = i[p];
3735
- if (!ni(w))
3736
- throw new ei(p, "function", s);
3737
- var P = de(y, t, r, n, i, o), C = w(P.map(function(x) {
3747
+ if (Jt(h)) {
3748
+ var v = h.children, p = h.value, w = i[p];
3749
+ if (!oi(w))
3750
+ throw new ri(p, "function", s);
3751
+ var P = me(v, t, r, n, i, o), H = w(P.map(function(x) {
3738
3752
  return x.value;
3739
3753
  }));
3740
- Array.isArray(C) || (C = [C]), a.push.apply(a, C.map(function(x) {
3754
+ Array.isArray(H) || (H = [H]), a.push.apply(a, H.map(function(x) {
3741
3755
  return {
3742
- type: typeof x == "string" ? A.literal : A.object,
3756
+ type: typeof x == "string" ? C.literal : C.object,
3743
3757
  value: x
3744
3758
  };
3745
3759
  }));
3746
3760
  }
3747
- if (Xt(h)) {
3748
- var _ = h.options[c] || h.options.other;
3761
+ if (Zt(h)) {
3762
+ var _ = h.options[f] || h.options.other;
3749
3763
  if (!_)
3750
- throw new gt(h.value, c, Object.keys(h.options), s);
3751
- a.push.apply(a, de(_.value, t, r, n, i));
3764
+ throw new yt(h.value, f, Object.keys(h.options), s);
3765
+ a.push.apply(a, me(_.value, t, r, n, i));
3752
3766
  continue;
3753
3767
  }
3754
- if (zt(h)) {
3755
- var _ = h.options["=".concat(c)];
3768
+ if (Qt(h)) {
3769
+ var _ = h.options["=".concat(f)];
3756
3770
  if (!_) {
3757
3771
  if (!Intl.PluralRules)
3758
3772
  throw new xe(`Intl.PluralRules is not available in this environment.
3759
3773
  Try polyfilling it using "@formatjs/intl-pluralrules"
3760
3774
  `, z.MISSING_INTL_API, s);
3761
- var E = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
3775
+ var E = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3762
3776
  _ = h.options[E] || h.options.other;
3763
3777
  }
3764
3778
  if (!_)
3765
- throw new gt(h.value, c, Object.keys(h.options), s);
3766
- a.push.apply(a, de(_.value, t, r, n, i, c - (h.offset || 0)));
3779
+ throw new yt(h.value, f, Object.keys(h.options), s);
3780
+ a.push.apply(a, me(_.value, t, r, n, i, f - (h.offset || 0)));
3767
3781
  continue;
3768
3782
  }
3769
3783
  }
3770
- return ri(a);
3784
+ return ii(a);
3771
3785
  }
3772
- function ii(e, t) {
3773
- return t ? v(v(v({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3774
- return r[n] = v(v({}, e[n]), t[n] || {}), r;
3786
+ function si(e, t) {
3787
+ return t ? y(y(y({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3788
+ return r[n] = y(y({}, e[n]), t[n] || {}), r;
3775
3789
  }, {})) : e;
3776
3790
  }
3777
- function oi(e, t) {
3791
+ function ai(e, t) {
3778
3792
  return t ? Object.keys(e).reduce(function(r, n) {
3779
- return r[n] = ii(e[n], t[n]), r;
3780
- }, v({}, e)) : e;
3793
+ return r[n] = si(e[n], t[n]), r;
3794
+ }, y({}, e)) : e;
3781
3795
  }
3782
- function Ae(e) {
3796
+ function Ce(e) {
3783
3797
  return {
3784
3798
  create: function() {
3785
3799
  return {
@@ -3793,39 +3807,39 @@ function Ae(e) {
3793
3807
  }
3794
3808
  };
3795
3809
  }
3796
- function si(e) {
3810
+ function ui(e) {
3797
3811
  return e === void 0 && (e = {
3798
3812
  number: {},
3799
3813
  dateTime: {},
3800
3814
  pluralRules: {}
3801
3815
  }), {
3802
- getNumberFormat: Te(function() {
3816
+ getNumberFormat: He(function() {
3803
3817
  for (var t, r = [], n = 0; n < arguments.length; n++)
3804
3818
  r[n] = arguments[n];
3805
3819
  return new ((t = Intl.NumberFormat).bind.apply(t, k([void 0], r, !1)))();
3806
3820
  }, {
3807
- cache: Ae(e.number),
3808
- strategy: He.variadic
3821
+ cache: Ce(e.number),
3822
+ strategy: Be.variadic
3809
3823
  }),
3810
- getDateTimeFormat: Te(function() {
3824
+ getDateTimeFormat: He(function() {
3811
3825
  for (var t, r = [], n = 0; n < arguments.length; n++)
3812
3826
  r[n] = arguments[n];
3813
3827
  return new ((t = Intl.DateTimeFormat).bind.apply(t, k([void 0], r, !1)))();
3814
3828
  }, {
3815
- cache: Ae(e.dateTime),
3816
- strategy: He.variadic
3829
+ cache: Ce(e.dateTime),
3830
+ strategy: Be.variadic
3817
3831
  }),
3818
- getPluralRules: Te(function() {
3832
+ getPluralRules: He(function() {
3819
3833
  for (var t, r = [], n = 0; n < arguments.length; n++)
3820
3834
  r[n] = arguments[n];
3821
3835
  return new ((t = Intl.PluralRules).bind.apply(t, k([void 0], r, !1)))();
3822
3836
  }, {
3823
- cache: Ae(e.pluralRules),
3824
- strategy: He.variadic
3837
+ cache: Ce(e.pluralRules),
3838
+ strategy: Be.variadic
3825
3839
  })
3826
3840
  };
3827
3841
  }
3828
- var ai = (
3842
+ var li = (
3829
3843
  /** @class */
3830
3844
  function() {
3831
3845
  function e(t, r, n, i) {
@@ -3839,12 +3853,12 @@ var ai = (
3839
3853
  var u = o.formatToParts(l);
3840
3854
  if (u.length === 1)
3841
3855
  return u[0].value;
3842
- var h = u.reduce(function(f, c) {
3843
- return !f.length || c.type !== A.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
3856
+ var h = u.reduce(function(c, f) {
3857
+ return !c.length || f.type !== C.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3844
3858
  }, []);
3845
3859
  return h.length <= 1 ? h[0] || "" : h;
3846
3860
  }, this.formatToParts = function(l) {
3847
- return de(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
3861
+ return me(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
3848
3862
  }, this.resolvedOptions = function() {
3849
3863
  var l;
3850
3864
  return {
@@ -3857,13 +3871,13 @@ var ai = (
3857
3871
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3858
3872
  var s = i || {};
3859
3873
  s.formatters;
3860
- var a = Gr(s, ["formatters"]);
3861
- this.ast = e.__parse(t, v(v({}, a), { locale: this.resolvedLocale }));
3874
+ var a = Fr(s, ["formatters"]);
3875
+ this.ast = e.__parse(t, y(y({}, a), { locale: this.resolvedLocale }));
3862
3876
  } else
3863
3877
  this.ast = t;
3864
3878
  if (!Array.isArray(this.ast))
3865
3879
  throw new TypeError("A message must be provided as a String or AST.");
3866
- this.formats = oi(e.formats, n), this.formatters = i && i.formatters || si(this.formatterCache);
3880
+ this.formats = ai(e.formats, n), this.formatters = i && i.formatters || ui(this.formatterCache);
3867
3881
  }
3868
3882
  return Object.defineProperty(e, "defaultLocale", {
3869
3883
  get: function() {
@@ -3876,7 +3890,7 @@ var ai = (
3876
3890
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3877
3891
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3878
3892
  }
3879
- }, e.__parse = Kn, e.formats = {
3893
+ }, e.__parse = ti, e.formats = {
3880
3894
  number: {
3881
3895
  integer: {
3882
3896
  maximumFractionDigits: 0
@@ -3937,7 +3951,7 @@ var ai = (
3937
3951
  }, e;
3938
3952
  }()
3939
3953
  );
3940
- function ui(e, t) {
3954
+ function hi(e, t) {
3941
3955
  if (t == null)
3942
3956
  return;
3943
3957
  if (t in e)
@@ -3958,92 +3972,92 @@ function ui(e, t) {
3958
3972
  n = void 0;
3959
3973
  return n;
3960
3974
  }
3961
- const R = {}, li = (e, t, r) => r && (t in R || (R[t] = {}), e in R[t] || (R[t][e] = r), r), rr = (e, t) => {
3975
+ const R = {}, ci = (e, t, r) => r && (t in R || (R[t] = {}), e in R[t] || (R[t][e] = r), r), or = (e, t) => {
3962
3976
  if (t == null)
3963
3977
  return;
3964
3978
  if (t in R && e in R[t])
3965
3979
  return R[t][e];
3966
3980
  const r = _e(t);
3967
3981
  for (let n = 0; n < r.length; n++) {
3968
- const i = r[n], o = fi(i, e);
3982
+ const i = r[n], o = mi(i, e);
3969
3983
  if (o)
3970
- return li(e, t, o);
3984
+ return ci(e, t, o);
3971
3985
  }
3972
3986
  };
3973
- let Je;
3974
- const oe = ve({});
3975
- function hi(e) {
3976
- return Je[e] || null;
3987
+ let qe;
3988
+ const oe = ye({});
3989
+ function fi(e) {
3990
+ return qe[e] || null;
3977
3991
  }
3978
- function nr(e) {
3979
- return e in Je;
3992
+ function sr(e) {
3993
+ return e in qe;
3980
3994
  }
3981
- function fi(e, t) {
3982
- if (!nr(e))
3995
+ function mi(e, t) {
3996
+ if (!sr(e))
3983
3997
  return null;
3984
- const r = hi(e);
3985
- return ui(r, t);
3998
+ const r = fi(e);
3999
+ return hi(r, t);
3986
4000
  }
3987
- function ci(e) {
4001
+ function di(e) {
3988
4002
  if (e == null)
3989
4003
  return;
3990
4004
  const t = _e(e);
3991
4005
  for (let r = 0; r < t.length; r++) {
3992
4006
  const n = t[r];
3993
- if (nr(n))
4007
+ if (sr(n))
3994
4008
  return n;
3995
4009
  }
3996
4010
  }
3997
- function ir(e, ...t) {
3998
- delete R[e], oe.update((r) => (r[e] = bn.all([r[e] || {}, ...t]), r));
4011
+ function ar(e, ...t) {
4012
+ delete R[e], oe.update((r) => (r[e] = yn.all([r[e] || {}, ...t]), r));
3999
4013
  }
4000
4014
  J(
4001
4015
  [oe],
4002
4016
  ([e]) => Object.keys(e)
4003
4017
  );
4004
- oe.subscribe((e) => Je = e);
4005
- const me = {};
4006
- function di(e, t) {
4007
- me[e].delete(t), me[e].size === 0 && delete me[e];
4018
+ oe.subscribe((e) => qe = e);
4019
+ const de = {};
4020
+ function pi(e, t) {
4021
+ de[e].delete(t), de[e].size === 0 && delete de[e];
4008
4022
  }
4009
- function or(e) {
4010
- return me[e];
4023
+ function ur(e) {
4024
+ return de[e];
4011
4025
  }
4012
- function mi(e) {
4026
+ function bi(e) {
4013
4027
  return _e(e).map((t) => {
4014
- const r = or(t);
4028
+ const r = ur(t);
4015
4029
  return [t, r ? [...r] : []];
4016
4030
  }).filter(([, t]) => t.length > 0);
4017
4031
  }
4018
- function Xe(e) {
4032
+ function ze(e) {
4019
4033
  return e == null ? !1 : _e(e).some(
4020
4034
  (t) => {
4021
4035
  var r;
4022
- return (r = or(t)) == null ? void 0 : r.size;
4036
+ return (r = ur(t)) == null ? void 0 : r.size;
4023
4037
  }
4024
4038
  );
4025
4039
  }
4026
- function pi(e, t) {
4040
+ function gi(e, t) {
4027
4041
  return Promise.all(
4028
- t.map((n) => (di(e, n), n().then((i) => i.default || i)))
4029
- ).then((n) => ir(e, ...n));
4042
+ t.map((n) => (pi(e, n), n().then((i) => i.default || i)))
4043
+ ).then((n) => ar(e, ...n));
4030
4044
  }
4031
4045
  const K = {};
4032
- function sr(e) {
4033
- if (!Xe(e))
4046
+ function lr(e) {
4047
+ if (!ze(e))
4034
4048
  return e in K ? K[e] : Promise.resolve();
4035
- const t = mi(e);
4049
+ const t = bi(e);
4036
4050
  return K[e] = Promise.all(
4037
4051
  t.map(
4038
- ([r, n]) => pi(r, n)
4052
+ ([r, n]) => gi(r, n)
4039
4053
  )
4040
4054
  ).then(() => {
4041
- if (Xe(e))
4042
- return sr(e);
4055
+ if (ze(e))
4056
+ return lr(e);
4043
4057
  delete K[e];
4044
4058
  }), K[e];
4045
4059
  }
4046
- const bi = {
4060
+ const vi = {
4047
4061
  number: {
4048
4062
  scientific: { notation: "scientific" },
4049
4063
  engineering: { notation: "engineering" },
@@ -4072,57 +4086,57 @@ const bi = {
4072
4086
  timeZoneName: "short"
4073
4087
  }
4074
4088
  }
4075
- }, gi = {
4089
+ }, yi = {
4076
4090
  fallbackLocale: null,
4077
4091
  loadingDelay: 200,
4078
- formats: bi,
4092
+ formats: vi,
4079
4093
  warnOnMissingMessages: !0,
4080
4094
  handleMissingMessage: void 0,
4081
4095
  ignoreTag: !0
4082
- }, yi = gi;
4096
+ }, xi = yi;
4083
4097
  function W() {
4084
- return yi;
4085
- }
4086
- const Ce = ve(!1);
4087
- var vi = Object.defineProperty, xi = Object.defineProperties, _i = Object.getOwnPropertyDescriptors, yt = Object.getOwnPropertySymbols, Ei = Object.prototype.hasOwnProperty, Si = Object.prototype.propertyIsEnumerable, vt = (e, t, r) => t in e ? vi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, wi = (e, t) => {
4088
- for (var r in t)
4089
- Ei.call(t, r) && vt(e, r, t[r]);
4090
- if (yt)
4091
- for (var r of yt(t))
4092
- Si.call(t, r) && vt(e, r, t[r]);
4098
+ return xi;
4099
+ }
4100
+ const Pe = ye(!1);
4101
+ var _i = Object.defineProperty, Ei = Object.defineProperties, Si = Object.getOwnPropertyDescriptors, xt = Object.getOwnPropertySymbols, wi = Object.prototype.hasOwnProperty, Ti = Object.prototype.propertyIsEnumerable, _t = (e, t, r) => t in e ? _i(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Hi = (e, t) => {
4102
+ for (var r in t || (t = {}))
4103
+ wi.call(t, r) && _t(e, r, t[r]);
4104
+ if (xt)
4105
+ for (var r of xt(t))
4106
+ Ti.call(t, r) && _t(e, r, t[r]);
4093
4107
  return e;
4094
- }, Ti = (e, t) => xi(e, _i(t));
4095
- let ze;
4096
- const pe = ve(null);
4097
- function xt(e) {
4108
+ }, Bi = (e, t) => Ei(e, Si(t));
4109
+ let We;
4110
+ const pe = ye(null);
4111
+ function Et(e) {
4098
4112
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4099
4113
  }
4100
4114
  function _e(e, t = W().fallbackLocale) {
4101
- const r = xt(e);
4102
- return t ? [.../* @__PURE__ */ new Set([...r, ...xt(t)])] : r;
4115
+ const r = Et(e);
4116
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Et(t)])] : r;
4103
4117
  }
4104
4118
  function $() {
4105
- return ze ?? void 0;
4119
+ return We ?? void 0;
4106
4120
  }
4107
4121
  pe.subscribe((e) => {
4108
- ze = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4122
+ We = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4109
4123
  });
4110
- const Hi = (e) => {
4111
- if (e && ci(e) && Xe(e)) {
4124
+ const Ai = (e) => {
4125
+ if (e && di(e) && ze(e)) {
4112
4126
  const { loadingDelay: t } = W();
4113
4127
  let r;
4114
4128
  return typeof window < "u" && $() != null && t ? r = window.setTimeout(
4115
- () => Ce.set(!0),
4129
+ () => Pe.set(!0),
4116
4130
  t
4117
- ) : Ce.set(!0), sr(e).then(() => {
4131
+ ) : Pe.set(!0), lr(e).then(() => {
4118
4132
  pe.set(e);
4119
4133
  }).finally(() => {
4120
- clearTimeout(r), Ce.set(!1);
4134
+ clearTimeout(r), Pe.set(!1);
4121
4135
  });
4122
4136
  }
4123
4137
  return pe.set(e);
4124
- }, Y = Ti(wi({}, pe), {
4125
- set: Hi
4138
+ }, Y = Bi(Hi({}, pe), {
4139
+ set: Ai
4126
4140
  }), Ee = (e) => {
4127
4141
  const t = /* @__PURE__ */ Object.create(null);
4128
4142
  return (n) => {
@@ -4130,20 +4144,20 @@ const Hi = (e) => {
4130
4144
  return i in t ? t[i] : t[i] = e(n);
4131
4145
  };
4132
4146
  };
4133
- var Bi = Object.defineProperty, be = Object.getOwnPropertySymbols, ar = Object.prototype.hasOwnProperty, ur = Object.prototype.propertyIsEnumerable, _t = (e, t, r) => t in e ? Bi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ye = (e, t) => {
4147
+ var Ci = Object.defineProperty, be = Object.getOwnPropertySymbols, hr = Object.prototype.hasOwnProperty, cr = Object.prototype.propertyIsEnumerable, St = (e, t, r) => t in e ? Ci(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ke = (e, t) => {
4134
4148
  for (var r in t || (t = {}))
4135
- ar.call(t, r) && _t(e, r, t[r]);
4149
+ hr.call(t, r) && St(e, r, t[r]);
4136
4150
  if (be)
4137
4151
  for (var r of be(t))
4138
- ur.call(t, r) && _t(e, r, t[r]);
4152
+ cr.call(t, r) && St(e, r, t[r]);
4139
4153
  return e;
4140
4154
  }, q = (e, t) => {
4141
4155
  var r = {};
4142
4156
  for (var n in e)
4143
- ar.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4157
+ hr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4144
4158
  if (e != null && be)
4145
4159
  for (var n of be(e))
4146
- t.indexOf(n) < 0 && ur.call(e, n) && (r[n] = e[n]);
4160
+ t.indexOf(n) < 0 && cr.call(e, n) && (r[n] = e[n]);
4147
4161
  return r;
4148
4162
  };
4149
4163
  const ne = (e, t) => {
@@ -4151,21 +4165,21 @@ const ne = (e, t) => {
4151
4165
  if (e in r && t in r[e])
4152
4166
  return r[e][t];
4153
4167
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4154
- }, Ai = Ee(
4168
+ }, Pi = Ee(
4155
4169
  (e) => {
4156
4170
  var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
4157
4171
  if (r == null)
4158
4172
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4159
4173
  return n && (i = ne("number", n)), new Intl.NumberFormat(r, i);
4160
4174
  }
4161
- ), Ci = Ee(
4175
+ ), Oi = Ee(
4162
4176
  (e) => {
4163
4177
  var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
4164
4178
  if (r == null)
4165
4179
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4166
4180
  return n ? i = ne("date", n) : Object.keys(i).length === 0 && (i = ne("date", "short")), new Intl.DateTimeFormat(r, i);
4167
4181
  }
4168
- ), Pi = Ee(
4182
+ ), Ii = Ee(
4169
4183
  (e) => {
4170
4184
  var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
4171
4185
  if (r == null)
@@ -4174,33 +4188,33 @@ const ne = (e, t) => {
4174
4188
  );
4175
4189
  return n ? i = ne("time", n) : Object.keys(i).length === 0 && (i = ne("time", "short")), new Intl.DateTimeFormat(r, i);
4176
4190
  }
4177
- ), Oi = (e = {}) => {
4191
+ ), Mi = (e = {}) => {
4178
4192
  var t = e, {
4179
4193
  locale: r = $()
4180
4194
  } = t, n = q(t, [
4181
4195
  "locale"
4182
4196
  ]);
4183
- return Ai(Ye({ locale: r }, n));
4184
- }, Ii = (e = {}) => {
4197
+ return Pi(Ke({ locale: r }, n));
4198
+ }, Ni = (e = {}) => {
4185
4199
  var t = e, {
4186
4200
  locale: r = $()
4187
4201
  } = t, n = q(t, [
4188
4202
  "locale"
4189
4203
  ]);
4190
- return Ci(Ye({ locale: r }, n));
4191
- }, Ni = (e = {}) => {
4204
+ return Oi(Ke({ locale: r }, n));
4205
+ }, Li = (e = {}) => {
4192
4206
  var t = e, {
4193
4207
  locale: r = $()
4194
4208
  } = t, n = q(t, [
4195
4209
  "locale"
4196
4210
  ]);
4197
- return Pi(Ye({ locale: r }, n));
4198
- }, Mi = Ee(
4211
+ return Ii(Ke({ locale: r }, n));
4212
+ }, Ri = Ee(
4199
4213
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4200
- (e, t = $()) => new ai(e, t, W().formats, {
4214
+ (e, t = $()) => new li(e, t, W().formats, {
4201
4215
  ignoreTag: W().ignoreTag
4202
4216
  })
4203
- ), Li = (e, t = {}) => {
4217
+ ), $i = (e, t = {}) => {
4204
4218
  var r, n, i, o;
4205
4219
  let s = t;
4206
4220
  typeof e == "object" && (s = e, e = s.id);
@@ -4213,7 +4227,7 @@ const ne = (e, t) => {
4213
4227
  throw new Error(
4214
4228
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4215
4229
  );
4216
- let h = rr(e, l);
4230
+ let h = or(e, l);
4217
4231
  if (!h)
4218
4232
  h = (o = (i = (n = (r = W()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4219
4233
  else if (typeof h != "string")
@@ -4222,30 +4236,30 @@ const ne = (e, t) => {
4222
4236
  ), h;
4223
4237
  if (!a)
4224
4238
  return h;
4225
- let f = h;
4239
+ let c = h;
4226
4240
  try {
4227
- f = Mi(h, l).format(a);
4228
- } catch (c) {
4229
- c instanceof Error && console.warn(
4241
+ c = Ri(h, l).format(a);
4242
+ } catch (f) {
4243
+ f instanceof Error && console.warn(
4230
4244
  `[svelte-i18n] Message "${e}" has syntax error:`,
4231
- c.message
4245
+ f.message
4232
4246
  );
4233
4247
  }
4234
- return f;
4235
- }, Ri = (e, t) => Ni(t).format(e), $i = (e, t) => Ii(t).format(e), Gi = (e, t) => Oi(t).format(e), Ui = (e, t = $()) => rr(e, t), Di = J([Y, oe], () => Li);
4236
- J([Y], () => Ri);
4237
- J([Y], () => $i);
4248
+ return c;
4249
+ }, Gi = (e, t) => Li(t).format(e), Ui = (e, t) => Ni(t).format(e), Di = (e, t) => Mi(t).format(e), Fi = (e, t = $()) => or(e, t), ji = J([Y, oe], () => $i);
4238
4250
  J([Y], () => Gi);
4239
- J([Y, oe], () => Ui);
4240
- window.emWidgets = { topic: qr };
4241
- const Fi = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4242
- function Et(e, t) {
4243
- ir(e, t);
4244
- }
4245
- function ji(e) {
4251
+ J([Y], () => Ui);
4252
+ J([Y], () => Di);
4253
+ J([Y, oe], () => Fi);
4254
+ window.emWidgets = { topic: tn };
4255
+ const ki = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4256
+ function wt(e, t) {
4257
+ ar(e, t);
4258
+ }
4259
+ function Vi(e) {
4246
4260
  Y.set(e);
4247
4261
  }
4248
- const St = {
4262
+ const Tt = {
4249
4263
  en: {
4250
4264
  cancel: "Cancel",
4251
4265
  confirm: "Confirm"
@@ -4291,13 +4305,13 @@ const St = {
4291
4305
  confirm: "Confirm"
4292
4306
  }
4293
4307
  };
4294
- function ki(e, t) {
4308
+ function Xi(e, t) {
4295
4309
  if (e) {
4296
4310
  const r = document.createElement("style");
4297
4311
  r.innerHTML = t, e.appendChild(r);
4298
4312
  }
4299
4313
  }
4300
- function Vi(e, t) {
4314
+ function zi(e, t) {
4301
4315
  const r = new URL(t);
4302
4316
  fetch(r.href).then((n) => n.text()).then((n) => {
4303
4317
  const i = document.createElement("style");
@@ -4306,7 +4320,7 @@ function Vi(e, t) {
4306
4320
  console.error("There was an error while trying to load client styling from URL", n);
4307
4321
  });
4308
4322
  }
4309
- function Xi(e, t, r) {
4323
+ function Wi(e, t, r) {
4310
4324
  if (window.emMessageBus) {
4311
4325
  const n = document.createElement("style");
4312
4326
  window.emMessageBus.subscribe(t, (i) => {
@@ -4314,26 +4328,26 @@ function Xi(e, t, r) {
4314
4328
  });
4315
4329
  }
4316
4330
  }
4317
- function zi(e) {
4318
- yr(e, "svelte-8g0wf4", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GeneralConfirmationWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:var(--emw--color-background, rgba(0, 0, 0, 0.7));display:flex;justify-content:center;align-items:center;z-index:300;color:var(--emw--color-typography, #ffffff)}.GeneralConfirmationTitle{margin-bottom:20px}.GeneralConfirmationContainer{position:relative;background:linear-gradient(to right, var(--emw--color-primary-variant, #184026), var(--emw--color-secondary-variant, #013e5c));border:5px solid transparent;padding:60px 30px 30px;background-clip:padding-box;border-radius:var(--emw--border-radius-medium, 10px);text-align:center}.GeneralConfirmationContainer::before{content:"";position:absolute;top:-4px;left:-8px;width:103%;height:105%;z-index:-1;background:linear-gradient(to right, var(--emw--color-primary, #22b04e), color-mix(in srgb, var(--emw--color-secondary, #e98b0f) 80%, black 20%), #22b04e);opacity:0.5;border-radius:inherit;filter:blur(6px)}.GeneralConfirmationContainer::after{position:absolute;top:-4px;bottom:-4px;left:-4px;right:-4px;background:linear-gradient(to right, color-mix(in srgb, var(--emw--color-primary-variant, #184026) 80%, white 10%), color-mix(in srgb, var(--emw--color-secondary-variant, #013e5c) 80%, white 10%));content:"";z-index:-1;border-radius:var(--emw--border-radius-medium, 10px)}.GeneralConfirmationContainerMobile{padding:40px;max-width:330px}.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralCancelButton,.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralConfirmButton{width:120px;height:auto;font-size:var(--emw--font-size-x-small, 12px)}.GeneralConfirmationContent{font-size:var(--emw--font-size-medium, 18px);font-weight:300}.GeneralConfirmationControlArea{display:flex;gap:10px;direction:ltr;margin-top:30px}.GeneralConfirmationControlArea .GeneralCancelButton,.GeneralConfirmationControlArea .GeneralConfirmButton{flex:1;background:transparent;border:1px solid var(--emw--color-gray-100, #bfcbc3);color:var(--emw--color-gray-100, #bfcbc3);cursor:pointer;border-radius:var(--emw--button-border-radius, 50px);width:200px;height:50px;font-size:var(--emw--font-size-small, 16px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.GeneralConfirmationControlArea .GeneralConfirmButton{background-color:var(--emw--color-primary, #22b04e);border:2px solid var(--emw--button-border-color, #063b17);border-radius:var(--emw--button-border-radius, 50px);color:var(--emw--button-typography, var(--emw--button-text-color, #ffffff))}.ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:5px;right:5px;padding:8px;border-radius:50%;cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:35px;height:40px}.ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.GeneralConfirmationMobileWrapper{border:none;padding:0}');
4319
- }
4320
- const Wi = (e) => ({}), wt = (e) => ({});
4321
4331
  function Zi(e) {
4332
+ _r(e, "svelte-8g0wf4", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GeneralConfirmationWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:var(--emw--color-background, rgba(0, 0, 0, 0.7));display:flex;justify-content:center;align-items:center;z-index:300;color:var(--emw--color-typography, #ffffff)}.GeneralConfirmationTitle{margin-bottom:20px}.GeneralConfirmationContainer{position:relative;background:linear-gradient(to right, var(--emw--color-primary-variant, #184026), var(--emw--color-secondary-variant, #013e5c));border:5px solid transparent;padding:60px 30px 30px;background-clip:padding-box;border-radius:var(--emw--border-radius-medium, 10px);text-align:center}.GeneralConfirmationContainer::before{content:"";position:absolute;top:-4px;left:-8px;width:103%;height:105%;z-index:-1;background:linear-gradient(to right, var(--emw--color-primary, #22b04e), color-mix(in srgb, var(--emw--color-secondary, #e98b0f) 80%, black 20%), #22b04e);opacity:0.5;border-radius:inherit;filter:blur(6px)}.GeneralConfirmationContainer::after{position:absolute;top:-4px;bottom:-4px;left:-4px;right:-4px;background:linear-gradient(to right, color-mix(in srgb, var(--emw--color-primary-variant, #184026) 80%, white 10%), color-mix(in srgb, var(--emw--color-secondary-variant, #013e5c) 80%, white 10%));content:"";z-index:-1;border-radius:var(--emw--border-radius-medium, 10px)}.GeneralConfirmationContainerMobile{padding:40px;max-width:330px}.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralCancelButton,.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralConfirmButton{width:120px;height:auto;font-size:var(--emw--font-size-x-small, 12px)}.GeneralConfirmationContent{font-size:var(--emw--font-size-medium, 18px);font-weight:300}.GeneralConfirmationControlArea{display:flex;gap:10px;direction:ltr;margin-top:30px}.GeneralConfirmationControlArea .GeneralCancelButton,.GeneralConfirmationControlArea .GeneralConfirmButton{flex:1;background:transparent;border:1px solid var(--emw--color-gray-100, #bfcbc3);color:var(--emw--color-gray-100, #bfcbc3);cursor:pointer;border-radius:var(--emw--button-border-radius, 50px);width:200px;height:50px;font-size:var(--emw--font-size-small, 16px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.GeneralConfirmationControlArea .GeneralConfirmButton{background-color:var(--emw--color-primary, #22b04e);border:2px solid var(--emw--button-border-color, #063b17);border-radius:var(--emw--button-border-radius, 50px);color:var(--emw--button-typography, var(--emw--button-text-color, #ffffff))}.ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:5px;right:5px;padding:8px;border-radius:50%;cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:35px;height:40px}.ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.GeneralConfirmationMobileWrapper{border:none;padding:0}');
4333
+ }
4334
+ const Qi = (e) => ({}), Ht = (e) => ({});
4335
+ function Ji(e) {
4322
4336
  let t, r;
4323
4337
  return {
4324
4338
  c() {
4325
- t = et("svg"), r = et("path"), T(r, "stroke-linecap", "round"), T(r, "stroke-linejoin", "round"), T(r, "stroke-width", "2"), T(r, "d", "M6 18L18 6M6 6l12 12"), T(t, "class", "w-6 h-6"), T(t, "fill", "none"), T(t, "stroke", "currentColor"), T(t, "viewBox", "0 0 24 24"), T(t, "xmlns", "http://www.w3.org/2000/svg");
4339
+ t = rt("svg"), r = rt("path"), T(r, "stroke-linecap", "round"), T(r, "stroke-linejoin", "round"), T(r, "stroke-width", "2"), T(r, "d", "M6 18L18 6M6 6l12 12"), T(t, "class", "w-6 h-6"), T(t, "fill", "none"), T(t, "stroke", "currentColor"), T(t, "viewBox", "0 0 24 24"), T(t, "xmlns", "http://www.w3.org/2000/svg");
4326
4340
  },
4327
4341
  m(n, i) {
4328
- ie(n, t, i), B(t, r);
4342
+ ie(n, t, i), A(t, r);
4329
4343
  },
4330
- p: N,
4344
+ p: M,
4331
4345
  d(n) {
4332
4346
  n && Q(t);
4333
4347
  }
4334
4348
  };
4335
4349
  }
4336
- function Tt(e) {
4350
+ function Bt(e) {
4337
4351
  let t, r, n;
4338
4352
  return {
4339
4353
  c() {
@@ -4343,11 +4357,11 @@ function Tt(e) {
4343
4357
  ), T(t, "class", "GeneralConfirmationTitle");
4344
4358
  },
4345
4359
  m(i, o) {
4346
- ie(i, t, o), B(t, r), B(r, n);
4360
+ ie(i, t, o), A(t, r), A(r, n);
4347
4361
  },
4348
4362
  p(i, o) {
4349
4363
  o & /*modaltitle*/
4350
- 2 && Ze(
4364
+ 2 && Qe(
4351
4365
  n,
4352
4366
  /*modaltitle*/
4353
4367
  i[1]
@@ -4358,7 +4372,7 @@ function Tt(e) {
4358
4372
  }
4359
4373
  };
4360
4374
  }
4361
- function Ht(e) {
4375
+ function At(e) {
4362
4376
  let t, r = (
4363
4377
  /*$_*/
4364
4378
  e[4]("cancel") + ""
@@ -4368,7 +4382,7 @@ function Ht(e) {
4368
4382
  t = I("button"), n = ge(r), T(t, "class", "GeneralCancelButton");
4369
4383
  },
4370
4384
  m(s, a) {
4371
- ie(s, t, a), B(t, n), i || (o = Pe(
4385
+ ie(s, t, a), A(t, n), i || (o = Oe(
4372
4386
  t,
4373
4387
  "click",
4374
4388
  /*click_handler*/
@@ -4378,168 +4392,168 @@ function Ht(e) {
4378
4392
  p(s, a) {
4379
4393
  a & /*$_*/
4380
4394
  16 && r !== (r = /*$_*/
4381
- s[4]("cancel") + "") && Ze(n, r);
4395
+ s[4]("cancel") + "") && Qe(n, r);
4382
4396
  },
4383
4397
  d(s) {
4384
4398
  s && Q(t), i = !1, o();
4385
4399
  }
4386
4400
  };
4387
4401
  }
4388
- function Qi(e) {
4389
- let t, r, n, i, o, s, a, l, u, h, f = (
4402
+ function Yi(e) {
4403
+ let t, r, n, i, o, s, a, l, u, h, c = (
4390
4404
  /*$_*/
4391
4405
  e[4]("confirm") + ""
4392
- ), c, d, y, p;
4406
+ ), f, m, v, p;
4393
4407
  const w = (
4394
4408
  /*#slots*/
4395
4409
  e[16].close
4396
- ), P = mr(
4410
+ ), P = gr(
4397
4411
  w,
4398
4412
  e,
4399
4413
  /*$$scope*/
4400
4414
  e[15],
4401
- wt
4402
- ), C = P || Zi();
4415
+ Ht
4416
+ ), H = P || Ji();
4403
4417
  let _ = (
4404
4418
  /*modaltitle*/
4405
- e[1] && Tt(e)
4419
+ e[1] && Bt(e)
4406
4420
  ), E = (
4407
4421
  /*hascancelbutton*/
4408
- e[2] && Ht(e)
4422
+ e[2] && At(e)
4409
4423
  );
4410
4424
  return {
4411
4425
  c() {
4412
- t = I("div"), r = I("div"), n = I("span"), C.c(), i = ae(), _ && _.c(), o = ae(), s = I("div"), a = ae(), l = I("div"), E && E.c(), u = ae(), h = I("button"), c = ge(f), T(n, "class", "ModalCloseBtn"), T(n, "role", "button"), T(s, "class", "GeneralConfirmationContent"), T(h, "class", "GeneralConfirmButton"), T(l, "class", "GeneralConfirmationControlArea " + /*isMobile*/
4426
+ t = I("div"), r = I("div"), n = I("span"), H && H.c(), i = ae(), _ && _.c(), o = ae(), s = I("div"), a = ae(), l = I("div"), E && E.c(), u = ae(), h = I("button"), f = ge(c), T(n, "class", "ModalCloseBtn"), T(n, "role", "button"), T(s, "class", "GeneralConfirmationContent"), T(h, "class", "GeneralConfirmButton"), T(l, "class", "GeneralConfirmationControlArea " + /*isMobile*/
4413
4427
  (e[5] ? "GeneralConfirmationControlAreaMobile" : "")), T(r, "class", "GeneralConfirmationContainer " + /*isMobile*/
4414
4428
  (e[5] ? "GeneralConfirmationContainerMobile" : "")), T(t, "class", "GeneralConfirmationWrapper " + /*isMobile*/
4415
4429
  (e[5] ? "GeneralConfirmationMobileWrapper" : ""));
4416
4430
  },
4417
- m(x, H) {
4418
- ie(x, t, H), B(t, r), B(r, n), C.m(n, null), B(r, i), _ && _.m(r, null), B(r, o), B(r, s), s.innerHTML = /*modaltext*/
4419
- e[0], B(r, a), B(r, l), E && E.m(l, null), B(l, u), B(l, h), B(h, c), e[19](t), d = !0, y || (p = [
4420
- Pe(
4431
+ m(x, B) {
4432
+ ie(x, t, B), A(t, r), A(r, n), H && H.m(n, null), A(r, i), _ && _.m(r, null), A(r, o), A(r, s), s.innerHTML = /*modaltext*/
4433
+ e[0], A(r, a), A(r, l), E && E.m(l, null), A(l, u), A(l, h), A(h, f), e[19](t), m = !0, v || (p = [
4434
+ Oe(
4421
4435
  n,
4422
4436
  "click",
4423
4437
  /*close*/
4424
4438
  e[6]
4425
4439
  ),
4426
- Pe(
4440
+ Oe(
4427
4441
  h,
4428
4442
  "click",
4429
4443
  /*click_handler_1*/
4430
4444
  e[18]
4431
4445
  )
4432
- ], y = !0);
4446
+ ], v = !0);
4433
4447
  },
4434
- p(x, [H]) {
4435
- P && P.p && (!d || H & /*$$scope*/
4436
- 32768) && br(
4448
+ p(x, [B]) {
4449
+ P && P.p && (!m || B & /*$$scope*/
4450
+ 32768) && yr(
4437
4451
  P,
4438
4452
  w,
4439
4453
  x,
4440
4454
  /*$$scope*/
4441
4455
  x[15],
4442
- d ? pr(
4456
+ m ? vr(
4443
4457
  w,
4444
4458
  /*$$scope*/
4445
4459
  x[15],
4446
- H,
4447
- Wi
4448
- ) : gr(
4460
+ B,
4461
+ Qi
4462
+ ) : xr(
4449
4463
  /*$$scope*/
4450
4464
  x[15]
4451
4465
  ),
4452
- wt
4466
+ Ht
4453
4467
  ), /*modaltitle*/
4454
- x[1] ? _ ? _.p(x, H) : (_ = Tt(x), _.c(), _.m(r, o)) : _ && (_.d(1), _ = null), (!d || H & /*modaltext*/
4468
+ x[1] ? _ ? _.p(x, B) : (_ = Bt(x), _.c(), _.m(r, o)) : _ && (_.d(1), _ = null), (!m || B & /*modaltext*/
4455
4469
  1) && (s.innerHTML = /*modaltext*/
4456
4470
  x[0]), /*hascancelbutton*/
4457
- x[2] ? E ? E.p(x, H) : (E = Ht(x), E.c(), E.m(l, u)) : E && (E.d(1), E = null), (!d || H & /*$_*/
4458
- 16) && f !== (f = /*$_*/
4459
- x[4]("confirm") + "") && Ze(c, f);
4471
+ x[2] ? E ? E.p(x, B) : (E = At(x), E.c(), E.m(l, u)) : E && (E.d(1), E = null), (!m || B & /*$_*/
4472
+ 16) && c !== (c = /*$_*/
4473
+ x[4]("confirm") + "") && Qe(f, c);
4460
4474
  },
4461
4475
  i(x) {
4462
- d || (Ot(C, x), d = !0);
4476
+ m || (Mt(H, x), m = !0);
4463
4477
  },
4464
4478
  o(x) {
4465
- Pr(C, x), d = !1;
4479
+ Mr(H, x), m = !1;
4466
4480
  },
4467
4481
  d(x) {
4468
- x && Q(t), C.d(x), _ && _.d(), E && E.d(), e[19](null), y = !1, Z(p);
4482
+ x && Q(t), H && H.d(x), _ && _.d(), E && E.d(), e[19](null), v = !1, Z(p);
4469
4483
  }
4470
4484
  };
4471
4485
  }
4472
- function Ji(e, t, r) {
4486
+ function qi(e, t, r) {
4473
4487
  let n;
4474
- dr(e, Di, (b) => r(4, n = b));
4475
- let { $$slots: i = {}, $$scope: o } = t, { modaltext: s = "Are you sure that you want to perform this action?" } = t, { modaltitle: a = "" } = t, { hascancelbutton: l = !1 } = t, { modalconfirmevent: u = {} } = t, { modalcancelevent: h = {} } = t, { lang: f = "en" } = t, { clientstyling: c = "" } = t, { clientstylingurl: d = "" } = t, { translationurl: y = "" } = t, { mbsource: p } = t, w, P = window.navigator.userAgent, C = Fi(P) !== "PC";
4488
+ br(e, ji, (b) => r(4, n = b));
4489
+ 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: v = "" } = t, { mbsource: p } = t, w, P = window.navigator.userAgent, H = ki(P) !== "PC";
4476
4490
  const _ = () => {
4477
4491
  window.postMessage({ type: "ModalClosed" }, window.location.href);
4478
4492
  }, E = (b) => {
4479
4493
  b === "confirm" && u && window.postMessage(u, window.location.href), b === "cancel" && h && window.postMessage(h, window.location.href), _();
4480
4494
  }, x = () => {
4481
- fetch(y).then((G) => G.json()).then((G) => {
4482
- Object.keys(G).forEach((qe) => {
4483
- Et(qe, G[qe]);
4495
+ fetch(v).then((G) => G.json()).then((G) => {
4496
+ Object.keys(G).forEach((et) => {
4497
+ wt(et, G[et]);
4484
4498
  });
4485
4499
  }).catch((G) => {
4486
4500
  console.log(G);
4487
4501
  });
4488
4502
  };
4489
- Object.keys(St).forEach((b) => {
4490
- Et(b, St[b]);
4503
+ Object.keys(Tt).forEach((b) => {
4504
+ wt(b, Tt[b]);
4491
4505
  });
4492
- const H = () => {
4493
- ji(f);
4506
+ const B = () => {
4507
+ Vi(c);
4494
4508
  };
4495
- wr(() => () => {
4509
+ Br(() => () => {
4496
4510
  });
4497
- const se = () => E("cancel"), lr = () => E("confirm");
4498
- function hr(b) {
4499
- Oe[b ? "unshift" : "push"](() => {
4511
+ const se = () => E("cancel"), fr = () => E("confirm");
4512
+ function mr(b) {
4513
+ Ie[b ? "unshift" : "push"](() => {
4500
4514
  w = b, r(3, w);
4501
4515
  });
4502
4516
  }
4503
4517
  return e.$$set = (b) => {
4504
- "modaltext" in b && r(0, s = b.modaltext), "modaltitle" in b && r(1, a = b.modaltitle), "hascancelbutton" in b && r(2, l = b.hascancelbutton), "modalconfirmevent" in b && r(8, u = b.modalconfirmevent), "modalcancelevent" in b && r(9, h = b.modalcancelevent), "lang" in b && r(10, f = b.lang), "clientstyling" in b && r(11, c = b.clientstyling), "clientstylingurl" in b && r(12, d = b.clientstylingurl), "translationurl" in b && r(13, y = b.translationurl), "mbsource" in b && r(14, p = b.mbsource), "$$scope" in b && r(15, o = b.$$scope);
4518
+ "modaltext" in b && r(0, s = b.modaltext), "modaltitle" in b && r(1, a = b.modaltitle), "hascancelbutton" in b && r(2, l = b.hascancelbutton), "modalconfirmevent" in b && r(8, u = b.modalconfirmevent), "modalcancelevent" in b && r(9, h = b.modalcancelevent), "lang" in b && r(10, c = b.lang), "clientstyling" in b && r(11, f = b.clientstyling), "clientstylingurl" in b && r(12, m = b.clientstylingurl), "translationurl" in b && r(13, v = b.translationurl), "mbsource" in b && r(14, p = b.mbsource), "$$scope" in b && r(15, o = b.$$scope);
4505
4519
  }, e.$$.update = () => {
4506
4520
  e.$$.dirty & /*modaltext, lang*/
4507
- 1025 && s && f && H(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4508
- 2056 && c && w && ki(w, c), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4509
- 4104 && d && w && Vi(w, d), e.$$.dirty & /*mbsource, customStylingContainer*/
4510
- 16392 && p && w && Xi(w, `${p}.Style`), e.$$.dirty & /*translationurl*/
4511
- 8192 && y && x();
4521
+ 1025 && s && c && B(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4522
+ 2056 && f && w && Xi(w, f), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4523
+ 4104 && m && w && zi(w, m), e.$$.dirty & /*mbsource, customStylingContainer*/
4524
+ 16392 && p && w && Wi(w, `${p}.Style`), e.$$.dirty & /*translationurl*/
4525
+ 8192 && v && x();
4512
4526
  }, [
4513
4527
  s,
4514
4528
  a,
4515
4529
  l,
4516
4530
  w,
4517
4531
  n,
4518
- C,
4532
+ H,
4519
4533
  _,
4520
4534
  E,
4521
4535
  u,
4522
4536
  h,
4523
- f,
4524
4537
  c,
4525
- d,
4526
- y,
4538
+ f,
4539
+ m,
4540
+ v,
4527
4541
  p,
4528
4542
  o,
4529
4543
  i,
4530
4544
  se,
4531
- lr,
4532
- hr
4545
+ fr,
4546
+ mr
4533
4547
  ];
4534
4548
  }
4535
- class Yi extends Rr {
4549
+ class Ki extends Ur {
4536
4550
  constructor(t) {
4537
- super(), Mr(
4551
+ super(), $r(
4538
4552
  this,
4539
4553
  t,
4540
- Ji,
4541
- Qi,
4542
- At,
4554
+ qi,
4555
+ Yi,
4556
+ Pt,
4543
4557
  {
4544
4558
  modaltext: 0,
4545
4559
  modaltitle: 1,
@@ -4552,7 +4566,7 @@ class Yi extends Rr {
4552
4566
  translationurl: 13,
4553
4567
  mbsource: 14
4554
4568
  },
4555
- zi
4569
+ Zi
4556
4570
  );
4557
4571
  }
4558
4572
  get modaltext() {
@@ -4616,7 +4630,7 @@ class Yi extends Rr {
4616
4630
  this.$$set({ mbsource: t }), O();
4617
4631
  }
4618
4632
  }
4619
- Lr(Yi, { modaltext: {}, modaltitle: {}, hascancelbutton: { type: "Boolean" }, modalconfirmevent: {}, modalcancelevent: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["close"], [], !0);
4633
+ Gr(Ki, { modaltext: {}, modaltitle: {}, hascancelbutton: { type: "Boolean" }, modalconfirmevent: {}, modalcancelevent: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["close"], [], !0);
4620
4634
  export {
4621
- Yi as P
4635
+ Ki as P
4622
4636
  };