@everymatrix/player-account-general-confirmation-modal 1.59.0 → 1.59.2

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