@everymatrix/player-account-general-confirmation-modal 1.86.12 → 1.86.21

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,16 +1,16 @@
1
- var xr = Object.defineProperty, Er = Object.defineProperties;
2
- var Sr = Object.getOwnPropertyDescriptors;
1
+ var Er = Object.defineProperty, Sr = Object.defineProperties;
2
+ var wr = Object.getOwnPropertyDescriptors;
3
3
  var ot = Object.getOwnPropertySymbols;
4
- var wr = Object.prototype.hasOwnProperty, Tr = Object.prototype.propertyIsEnumerable;
5
- var He = (e, t, r) => t in e ? xr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, st = (e, t) => {
4
+ var Tr = Object.prototype.hasOwnProperty, Hr = Object.prototype.propertyIsEnumerable;
5
+ var He = (e, t, r) => t in e ? Er(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, st = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- wr.call(t, r) && He(e, r, t[r]);
7
+ Tr.call(t, r) && He(e, r, t[r]);
8
8
  if (ot)
9
9
  for (var r of ot(t))
10
- Tr.call(t, r) && He(e, r, t[r]);
10
+ Hr.call(t, r) && He(e, r, t[r]);
11
11
  return e;
12
- }, at = (e, t) => Er(e, Sr(t));
13
- var O = (e, t, r) => (He(e, typeof t != "symbol" ? t + "" : t, r), r);
12
+ }, at = (e, t) => Sr(e, wr(t));
13
+ var I = (e, t, r) => (He(e, typeof t != "symbol" ? t + "" : t, r), r);
14
14
  var ut = (e, t, r) => new Promise((n, i) => {
15
15
  var o = (l) => {
16
16
  try {
@@ -29,7 +29,7 @@ var ut = (e, t, r) => new Promise((n, i) => {
29
29
  });
30
30
  function L() {
31
31
  }
32
- function Hr(e, t) {
32
+ function Ar(e, t) {
33
33
  for (const r in t)
34
34
  e[r] = t[r];
35
35
  return (
@@ -52,7 +52,7 @@ function et(e) {
52
52
  function Gt(e, t) {
53
53
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
54
54
  }
55
- function Ar(e) {
55
+ function Br(e) {
56
56
  return Object.keys(e).length === 0;
57
57
  }
58
58
  function Ut(e, ...t) {
@@ -64,19 +64,19 @@ function Ut(e, ...t) {
64
64
  const r = e.subscribe(...t);
65
65
  return r.unsubscribe ? () => r.unsubscribe() : r;
66
66
  }
67
- function Br(e, t, r) {
67
+ function Cr(e, t, r) {
68
68
  e.$$.on_destroy.push(Ut(t, r));
69
69
  }
70
- function Cr(e, t, r, n) {
70
+ function Pr(e, t, r, n) {
71
71
  if (e) {
72
72
  const i = Dt(e, t, r, n);
73
73
  return e[0](i);
74
74
  }
75
75
  }
76
76
  function Dt(e, t, r, n) {
77
- return e[1] && n ? Hr(r.ctx.slice(), e[1](n(t))) : r.ctx;
77
+ return e[1] && n ? Ar(r.ctx.slice(), e[1](n(t))) : r.ctx;
78
78
  }
79
- function Pr(e, t, r, n) {
79
+ function Or(e, t, r, n) {
80
80
  if (e[2] && n) {
81
81
  const i = e[2](n(r));
82
82
  if (t.dirty === void 0)
@@ -91,13 +91,13 @@ function Pr(e, t, r, n) {
91
91
  }
92
92
  return t.dirty;
93
93
  }
94
- function Or(e, t, r, n, i, o) {
94
+ function Ir(e, t, r, n, i, o) {
95
95
  if (i) {
96
96
  const s = Dt(t, r, n, o);
97
97
  e.p(s, i);
98
98
  }
99
99
  }
100
- function Ir(e) {
100
+ function Nr(e) {
101
101
  if (e.ctx.length > 32) {
102
102
  const t = [], r = e.ctx.length / 32;
103
103
  for (let n = 0; n < r; n++)
@@ -106,17 +106,17 @@ function Ir(e) {
106
106
  }
107
107
  return -1;
108
108
  }
109
- function B(e, t) {
109
+ function C(e, t) {
110
110
  e.appendChild(t);
111
111
  }
112
- function Nr(e, t, r) {
113
- const n = Mr(e);
112
+ function Mr(e, t, r) {
113
+ const n = Lr(e);
114
114
  if (!n.getElementById(t)) {
115
115
  const i = N("style");
116
- i.id = t, i.textContent = r, Lr(n, i);
116
+ i.id = t, i.textContent = r, Rr(n, i);
117
117
  }
118
118
  }
119
- function Mr(e) {
119
+ function Lr(e) {
120
120
  if (!e)
121
121
  return document;
122
122
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -126,8 +126,8 @@ function Mr(e) {
126
126
  t
127
127
  ) : e.ownerDocument;
128
128
  }
129
- function Lr(e, t) {
130
- return B(
129
+ function Rr(e, t) {
130
+ return C(
131
131
  /** @type {Document} */
132
132
  e.head || e,
133
133
  t
@@ -157,14 +157,14 @@ function Le(e, t, r, n) {
157
157
  function T(e, t, r) {
158
158
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
159
159
  }
160
- function Rr(e) {
160
+ function $r(e) {
161
161
  return Array.from(e.childNodes);
162
162
  }
163
163
  function tt(e, t) {
164
164
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
165
165
  t);
166
166
  }
167
- function $r(e) {
167
+ function Gr(e) {
168
168
  const t = {};
169
169
  return e.childNodes.forEach(
170
170
  /** @param {Element} node */
@@ -177,27 +177,27 @@ let te;
177
177
  function ee(e) {
178
178
  te = e;
179
179
  }
180
- function Gr() {
180
+ function Ur() {
181
181
  if (!te)
182
182
  throw new Error("Function called outside component initialization");
183
183
  return te;
184
184
  }
185
- function Ur(e) {
186
- Gr().$$.on_mount.push(e);
185
+ function Dr(e) {
186
+ Ur().$$.on_mount.push(e);
187
187
  }
188
188
  const j = [], Re = [];
189
189
  let k = [];
190
- const ct = [], Dr = /* @__PURE__ */ Promise.resolve();
190
+ const ct = [], Fr = /* @__PURE__ */ Promise.resolve();
191
191
  let $e = !1;
192
- function Fr() {
193
- $e || ($e = !0, Dr.then(I));
192
+ function jr() {
193
+ $e || ($e = !0, Fr.then(O));
194
194
  }
195
195
  function Ge(e) {
196
196
  k.push(e);
197
197
  }
198
198
  const Ae = /* @__PURE__ */ new Set();
199
199
  let D = 0;
200
- function I() {
200
+ function O() {
201
201
  if (D !== 0)
202
202
  return;
203
203
  const e = te;
@@ -205,7 +205,7 @@ function I() {
205
205
  try {
206
206
  for (; D < j.length; ) {
207
207
  const t = j[D];
208
- D++, ee(t), jr(t.$$);
208
+ D++, ee(t), kr(t.$$);
209
209
  }
210
210
  } catch (t) {
211
211
  throw j.length = 0, D = 0, t;
@@ -222,46 +222,46 @@ function I() {
222
222
  ct.pop()();
223
223
  $e = !1, Ae.clear(), ee(e);
224
224
  }
225
- function jr(e) {
225
+ function kr(e) {
226
226
  if (e.fragment !== null) {
227
227
  e.update(), Z(e.before_update);
228
228
  const t = e.dirty;
229
229
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ge);
230
230
  }
231
231
  }
232
- function kr(e) {
232
+ function Vr(e) {
233
233
  const t = [], r = [];
234
234
  k.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), k = t;
235
235
  }
236
236
  const ce = /* @__PURE__ */ new Set();
237
- let Vr;
237
+ let Xr;
238
238
  function Ft(e, t) {
239
239
  e && e.i && (ce.delete(e), e.i(t));
240
240
  }
241
- function Xr(e, t, r, n) {
241
+ function Wr(e, t, r, n) {
242
242
  if (e && e.o) {
243
243
  if (ce.has(e))
244
244
  return;
245
- ce.add(e), Vr.c.push(() => {
245
+ ce.add(e), Xr.c.push(() => {
246
246
  ce.delete(e);
247
247
  }), e.o(t);
248
248
  }
249
249
  }
250
- function Wr(e, t, r) {
250
+ function zr(e, t, r) {
251
251
  const { fragment: n, after_update: i } = e.$$;
252
252
  n && n.m(t, r), Ge(() => {
253
253
  const o = e.$$.on_mount.map($t).filter(et);
254
254
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Z(o), e.$$.on_mount = [];
255
255
  }), i.forEach(Ge);
256
256
  }
257
- function zr(e, t) {
257
+ function Zr(e, t) {
258
258
  const r = e.$$;
259
- r.fragment !== null && (kr(r.after_update), Z(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
259
+ r.fragment !== null && (Vr(r.after_update), Z(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
260
260
  }
261
- function Zr(e, t) {
262
- e.$$.dirty[0] === -1 && (j.push(e), Fr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
261
+ function Qr(e, t) {
262
+ e.$$.dirty[0] === -1 && (j.push(e), jr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
263
263
  }
264
- function Qr(e, t, r, n, i, o, s = null, a = [-1]) {
264
+ function Jr(e, t, r, n, i, o, s = null, a = [-1]) {
265
265
  const l = te;
266
266
  ee(e);
267
267
  const u = e.$$ = {
@@ -287,16 +287,16 @@ function Qr(e, t, r, n, i, o, s = null, a = [-1]) {
287
287
  };
288
288
  s && s(u.root);
289
289
  let h = !1;
290
- if (u.ctx = r ? r(e, t.props || {}, (c, f, ...m) => {
291
- const v = m.length ? m[0] : f;
292
- return u.ctx && i(u.ctx[c], u.ctx[c] = v) && (!u.skip_bound && u.bound[c] && u.bound[c](v), h && Zr(e, c)), f;
290
+ if (u.ctx = r ? r(e, t.props || {}, (f, c, ...m) => {
291
+ const y = m.length ? m[0] : c;
292
+ return u.ctx && i(u.ctx[f], u.ctx[f] = y) && (!u.skip_bound && u.bound[f] && u.bound[f](y), h && Qr(e, f)), c;
293
293
  }) : [], u.update(), h = !0, Z(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
294
294
  if (t.hydrate) {
295
- const c = Rr(t.target);
296
- u.fragment && u.fragment.l(c), c.forEach(Q);
295
+ const f = $r(t.target);
296
+ u.fragment && u.fragment.l(f), f.forEach(Q);
297
297
  } else
298
298
  u.fragment && u.fragment.c();
299
- t.intro && Ft(e.$$.fragment), Wr(e, t.target, t.anchor), I();
299
+ t.intro && Ft(e.$$.fragment), zr(e, t.target, t.anchor), O();
300
300
  }
301
301
  ee(l);
302
302
  }
@@ -305,23 +305,23 @@ typeof HTMLElement == "function" && (jt = class extends HTMLElement {
305
305
  constructor(t, r, n) {
306
306
  super();
307
307
  /** The Svelte component constructor */
308
- O(this, "$$ctor");
308
+ I(this, "$$ctor");
309
309
  /** Slots */
310
- O(this, "$$s");
310
+ I(this, "$$s");
311
311
  /** The Svelte component instance */
312
- O(this, "$$c");
312
+ I(this, "$$c");
313
313
  /** Whether or not the custom element is connected */
314
- O(this, "$$cn", !1);
314
+ I(this, "$$cn", !1);
315
315
  /** Component props data */
316
- O(this, "$$d", {});
316
+ I(this, "$$d", {});
317
317
  /** `true` if currently in the process of reflecting component props back to attributes */
318
- O(this, "$$r", !1);
318
+ I(this, "$$r", !1);
319
319
  /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
320
- O(this, "$$p_d", {});
320
+ I(this, "$$p_d", {});
321
321
  /** @type {Record<string, Function[]>} Event listeners */
322
- O(this, "$$l", {});
322
+ I(this, "$$l", {});
323
323
  /** @type {Map<Function, Function>} Event listener unsubscribe functions */
324
- O(this, "$$l_u", /* @__PURE__ */ new Map());
324
+ I(this, "$$l_u", /* @__PURE__ */ new Map());
325
325
  this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
326
326
  }
327
327
  addEventListener(t, r, n) {
@@ -362,7 +362,7 @@ typeof HTMLElement == "function" && (jt = class extends HTMLElement {
362
362
  };
363
363
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
364
364
  return;
365
- const r = {}, n = $r(this);
365
+ const r = {}, n = Gr(this);
366
366
  for (const o of this.$$s)
367
367
  o in n && (r[o] = [t(o)]);
368
368
  for (const o of this.attributes) {
@@ -451,7 +451,7 @@ function fe(e, t, r, n) {
451
451
  return t;
452
452
  }
453
453
  }
454
- function Jr(e, t, r, n, i, o) {
454
+ function Yr(e, t, r, n, i, o) {
455
455
  let s = class extends jt {
456
456
  constructor() {
457
457
  super(e, r, i), this.$$p_d = t;
@@ -482,7 +482,7 @@ function Jr(e, t, r, n, i, o) {
482
482
  }), e.element = /** @type {any} */
483
483
  s, s;
484
484
  }
485
- class Yr {
485
+ class qr {
486
486
  constructor() {
487
487
  /**
488
488
  * ### PRIVATE API
@@ -491,7 +491,7 @@ class Yr {
491
491
  *
492
492
  * @type {any}
493
493
  */
494
- O(this, "$$");
494
+ I(this, "$$");
495
495
  /**
496
496
  * ### PRIVATE API
497
497
  *
@@ -499,11 +499,11 @@ class Yr {
499
499
  *
500
500
  * @type {any}
501
501
  */
502
- O(this, "$$set");
502
+ I(this, "$$set");
503
503
  }
504
504
  /** @returns {void} */
505
505
  $destroy() {
506
- zr(this, 1), this.$destroy = L;
506
+ Zr(this, 1), this.$destroy = L;
507
507
  }
508
508
  /**
509
509
  * @template {Extract<keyof Events, string>} K
@@ -525,11 +525,11 @@ class Yr {
525
525
  * @returns {void}
526
526
  */
527
527
  $set(t) {
528
- this.$$set && !Ar(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
528
+ this.$$set && !Br(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
529
529
  }
530
530
  }
531
- const qr = "4";
532
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(qr);
531
+ const Kr = "4";
532
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Kr);
533
533
  /*! *****************************************************************************
534
534
  Copyright (c) Microsoft Corporation.
535
535
 
@@ -639,8 +639,8 @@ var _e = function() {
639
639
  var u = l.value;
640
640
  u.remove(this);
641
641
  }
642
- } catch (d) {
643
- t = { error: d };
642
+ } catch (b) {
643
+ t = { error: b };
644
644
  } finally {
645
645
  try {
646
646
  l && !l.done && (r = a.return) && r.call(a);
@@ -655,26 +655,26 @@ var _e = function() {
655
655
  if (R(h))
656
656
  try {
657
657
  h();
658
- } catch (d) {
659
- o = d instanceof Be ? d.errors : [d];
658
+ } catch (b) {
659
+ o = b instanceof Be ? b.errors : [b];
660
660
  }
661
- var c = this._finalizers;
662
- if (c) {
661
+ var f = this._finalizers;
662
+ if (f) {
663
663
  this._finalizers = null;
664
664
  try {
665
- for (var f = De(c), m = f.next(); !m.done; m = f.next()) {
666
- var v = m.value;
665
+ for (var c = De(f), m = c.next(); !m.done; m = c.next()) {
666
+ var y = m.value;
667
667
  try {
668
- ft(v);
669
- } catch (d) {
670
- o = o != null ? o : [], d instanceof Be ? o = je(je([], Fe(o)), Fe(d.errors)) : o.push(d);
668
+ ft(y);
669
+ } catch (b) {
670
+ o = o != null ? o : [], b instanceof Be ? o = je(je([], Fe(o)), Fe(b.errors)) : o.push(b);
671
671
  }
672
672
  }
673
- } catch (d) {
674
- n = { error: d };
673
+ } catch (b) {
674
+ n = { error: b };
675
675
  } finally {
676
676
  try {
677
- m && !m.done && (i = f.return) && i.call(f);
677
+ m && !m.done && (i = c.return) && i.call(c);
678
678
  } finally {
679
679
  if (n)
680
680
  throw n.error;
@@ -720,9 +720,9 @@ function Xt(e) {
720
720
  function ft(e) {
721
721
  R(e) ? e() : e.unsubscribe();
722
722
  }
723
- var Kr = {
723
+ var en = {
724
724
  Promise: void 0
725
- }, en = {
725
+ }, tn = {
726
726
  setTimeout: function(e, t) {
727
727
  for (var r = [], n = 2; n < arguments.length; n++)
728
728
  r[n - 2] = arguments[n];
@@ -733,8 +733,8 @@ var Kr = {
733
733
  },
734
734
  delegate: void 0
735
735
  };
736
- function tn(e) {
737
- en.setTimeout(function() {
736
+ function rn(e) {
737
+ tn.setTimeout(function() {
738
738
  throw e;
739
739
  });
740
740
  }
@@ -747,7 +747,7 @@ var Wt = function(e) {
747
747
  oe(t, e);
748
748
  function t(r) {
749
749
  var n = e.call(this) || this;
750
- return n.isStopped = !1, r ? (n.destination = r, Xt(r) && r.add(n)) : n.destination = on, n;
750
+ return n.isStopped = !1, r ? (n.destination = r, Xt(r) && r.add(n)) : n.destination = sn, n;
751
751
  }
752
752
  return t.create = function(r, n, i) {
753
753
  return new Ve(r, n, i);
@@ -774,7 +774,7 @@ var Wt = function(e) {
774
774
  this.unsubscribe();
775
775
  }
776
776
  }, t;
777
- }(_e), rn = function() {
777
+ }(_e), nn = function() {
778
778
  function e(t) {
779
779
  this.partialObserver = t;
780
780
  }
@@ -813,29 +813,29 @@ var Wt = function(e) {
813
813
  next: r != null ? r : void 0,
814
814
  error: n != null ? n : void 0,
815
815
  complete: i != null ? i : void 0
816
- } : s = r, o.destination = new rn(s), o;
816
+ } : s = r, o.destination = new nn(s), o;
817
817
  }
818
818
  return t;
819
819
  }(Wt);
820
820
  function le(e) {
821
- tn(e);
821
+ rn(e);
822
822
  }
823
- function nn(e) {
823
+ function on(e) {
824
824
  throw e;
825
825
  }
826
- var on = {
826
+ var sn = {
827
827
  closed: !0,
828
828
  next: mt,
829
- error: nn,
829
+ error: on,
830
830
  complete: mt
831
- }, sn = function() {
831
+ }, an = function() {
832
832
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
833
833
  }();
834
- function an(e) {
834
+ function un(e) {
835
835
  return e;
836
836
  }
837
- function un(e) {
838
- return e.length === 0 ? an : e.length === 1 ? e[0] : function(r) {
837
+ function ln(e) {
838
+ return e.length === 0 ? un : e.length === 1 ? e[0] : function(r) {
839
839
  return e.reduce(function(n, i) {
840
840
  return i(n);
841
841
  }, r);
@@ -849,7 +849,7 @@ var pt = function() {
849
849
  var r = new e();
850
850
  return r.source = this, r.operator = t, r;
851
851
  }, e.prototype.subscribe = function(t, r, n) {
852
- var i = this, o = hn(t) ? t : new Ve(t, r, n);
852
+ var i = this, o = cn(t) ? t : new Ve(t, r, n);
853
853
  return me(function() {
854
854
  var s = i, a = s.operator, l = s.source;
855
855
  o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
@@ -879,12 +879,12 @@ var pt = function() {
879
879
  }, e.prototype._subscribe = function(t) {
880
880
  var r;
881
881
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
882
- }, e.prototype[sn] = function() {
882
+ }, e.prototype[an] = function() {
883
883
  return this;
884
884
  }, e.prototype.pipe = function() {
885
885
  for (var t = [], r = 0; r < arguments.length; r++)
886
886
  t[r] = arguments[r];
887
- return un(t)(this);
887
+ return ln(t)(this);
888
888
  }, e.prototype.toPromise = function(t) {
889
889
  var r = this;
890
890
  return t = dt(t), new t(function(n, i) {
@@ -903,15 +903,15 @@ var pt = function() {
903
903
  }();
904
904
  function dt(e) {
905
905
  var t;
906
- return (t = e != null ? e : Kr.Promise) !== null && t !== void 0 ? t : Promise;
906
+ return (t = e != null ? e : en.Promise) !== null && t !== void 0 ? t : Promise;
907
907
  }
908
- function ln(e) {
908
+ function hn(e) {
909
909
  return e && R(e.next) && R(e.error) && R(e.complete);
910
910
  }
911
- function hn(e) {
912
- return e && e instanceof Wt || ln(e) && Xt(e);
911
+ function cn(e) {
912
+ return e && e instanceof Wt || hn(e) && Xt(e);
913
913
  }
914
- var cn = kt(function(e) {
914
+ var fn = kt(function(e) {
915
915
  return function() {
916
916
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
917
917
  };
@@ -926,7 +926,7 @@ var cn = kt(function(e) {
926
926
  return n.operator = r, n;
927
927
  }, t.prototype._throwIfClosed = function() {
928
928
  if (this.closed)
929
- throw new cn();
929
+ throw new fn();
930
930
  }, t.prototype.next = function(r) {
931
931
  var n = this;
932
932
  me(function() {
@@ -1019,7 +1019,7 @@ var cn = kt(function(e) {
1019
1019
  return (Zt.delegate || Date).now();
1020
1020
  },
1021
1021
  delegate: void 0
1022
- }, fn = function(e) {
1022
+ }, mn = function(e) {
1023
1023
  oe(t, e);
1024
1024
  function t(r, n, i) {
1025
1025
  r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Zt);
@@ -1043,14 +1043,14 @@ var cn = kt(function(e) {
1043
1043
  }
1044
1044
  }, t;
1045
1045
  }(zt);
1046
- const gt = [], vt = {}, mn = (e, t = 0) => {
1046
+ const gt = [], vt = {}, pn = (e, t = 0) => {
1047
1047
  if (gt.indexOf(e) == -1) {
1048
- const r = new fn(t);
1048
+ const r = new mn(t);
1049
1049
  vt[e] = r, gt.push(e);
1050
1050
  }
1051
1051
  return vt[e];
1052
1052
  }, F = [];
1053
- function pn(e, t) {
1053
+ function dn(e, t) {
1054
1054
  return {
1055
1055
  subscribe: xe(e, t).subscribe
1056
1056
  };
@@ -1086,73 +1086,73 @@ function J(e, t, r) {
1086
1086
  if (!i.every(Boolean))
1087
1087
  throw new Error("derived() expects stores as input, got a falsy value");
1088
1088
  const o = t.length < 2;
1089
- return pn(r, (s, a) => {
1089
+ return dn(r, (s, a) => {
1090
1090
  let l = !1;
1091
1091
  const u = [];
1092
- let h = 0, c = L;
1093
- const f = () => {
1092
+ let h = 0, f = L;
1093
+ const c = () => {
1094
1094
  if (h)
1095
1095
  return;
1096
- c();
1097
- const v = t(n ? u[0] : u, s, a);
1098
- o ? s(v) : c = et(v) ? v : L;
1096
+ f();
1097
+ const y = t(n ? u[0] : u, s, a);
1098
+ o ? s(y) : f = et(y) ? y : L;
1099
1099
  }, m = i.map(
1100
- (v, d) => Ut(
1101
- v,
1102
- (S) => {
1103
- u[d] = S, h &= ~(1 << d), l && f();
1100
+ (y, b) => Ut(
1101
+ y,
1102
+ (H) => {
1103
+ u[b] = H, h &= ~(1 << b), l && c();
1104
1104
  },
1105
1105
  () => {
1106
- h |= 1 << d;
1106
+ h |= 1 << b;
1107
1107
  }
1108
1108
  )
1109
1109
  );
1110
- return l = !0, f(), function() {
1111
- Z(m), c(), l = !1;
1110
+ return l = !0, c(), function() {
1111
+ Z(m), f(), l = !1;
1112
1112
  };
1113
1113
  });
1114
1114
  }
1115
- function dn(e) {
1115
+ function bn(e) {
1116
1116
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1117
1117
  }
1118
- var bn = function(t) {
1119
- return gn(t) && !vn(t);
1118
+ var gn = function(t) {
1119
+ return vn(t) && !yn(t);
1120
1120
  };
1121
- function gn(e) {
1121
+ function vn(e) {
1122
1122
  return !!e && typeof e == "object";
1123
1123
  }
1124
- function vn(e) {
1124
+ function yn(e) {
1125
1125
  var t = Object.prototype.toString.call(e);
1126
- return t === "[object RegExp]" || t === "[object Date]" || xn(e);
1127
- }
1128
- var yn = typeof Symbol == "function" && Symbol.for, _n = yn ? Symbol.for("react.element") : 60103;
1129
- function xn(e) {
1130
- return e.$$typeof === _n;
1126
+ return t === "[object RegExp]" || t === "[object Date]" || En(e);
1131
1127
  }
1128
+ var _n = typeof Symbol == "function" && Symbol.for, xn = _n ? Symbol.for("react.element") : 60103;
1132
1129
  function En(e) {
1130
+ return e.$$typeof === xn;
1131
+ }
1132
+ function Sn(e) {
1133
1133
  return Array.isArray(e) ? [] : {};
1134
1134
  }
1135
1135
  function re(e, t) {
1136
- return t.clone !== !1 && t.isMergeableObject(e) ? V(En(e), e, t) : e;
1136
+ return t.clone !== !1 && t.isMergeableObject(e) ? V(Sn(e), e, t) : e;
1137
1137
  }
1138
- function Sn(e, t, r) {
1138
+ function wn(e, t, r) {
1139
1139
  return e.concat(t).map(function(n) {
1140
1140
  return re(n, r);
1141
1141
  });
1142
1142
  }
1143
- function wn(e, t) {
1143
+ function Tn(e, t) {
1144
1144
  if (!t.customMerge)
1145
1145
  return V;
1146
1146
  var r = t.customMerge(e);
1147
1147
  return typeof r == "function" ? r : V;
1148
1148
  }
1149
- function Tn(e) {
1149
+ function Hn(e) {
1150
1150
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1151
1151
  return Object.propertyIsEnumerable.call(e, t);
1152
1152
  }) : [];
1153
1153
  }
1154
1154
  function yt(e) {
1155
- return Object.keys(e).concat(Tn(e));
1155
+ return Object.keys(e).concat(Hn(e));
1156
1156
  }
1157
1157
  function Qt(e, t) {
1158
1158
  try {
@@ -1161,21 +1161,21 @@ function Qt(e, t) {
1161
1161
  return !1;
1162
1162
  }
1163
1163
  }
1164
- function Hn(e, t) {
1164
+ function An(e, t) {
1165
1165
  return Qt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1166
1166
  }
1167
- function An(e, t, r) {
1167
+ function Bn(e, t, r) {
1168
1168
  var n = {};
1169
1169
  return r.isMergeableObject(e) && yt(e).forEach(function(i) {
1170
1170
  n[i] = re(e[i], r);
1171
1171
  }), yt(t).forEach(function(i) {
1172
- Hn(e, i) || (Qt(e, i) && r.isMergeableObject(t[i]) ? n[i] = wn(i, r)(e[i], t[i], r) : n[i] = re(t[i], r));
1172
+ An(e, i) || (Qt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Tn(i, r)(e[i], t[i], r) : n[i] = re(t[i], r));
1173
1173
  }), n;
1174
1174
  }
1175
1175
  function V(e, t, r) {
1176
- r = r || {}, r.arrayMerge = r.arrayMerge || Sn, r.isMergeableObject = r.isMergeableObject || bn, r.cloneUnlessOtherwiseSpecified = re;
1176
+ r = r || {}, r.arrayMerge = r.arrayMerge || wn, r.isMergeableObject = r.isMergeableObject || gn, r.cloneUnlessOtherwiseSpecified = re;
1177
1177
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1178
- return o ? n ? r.arrayMerge(e, t, r) : An(e, t, r) : re(t, r);
1178
+ return o ? n ? r.arrayMerge(e, t, r) : Bn(e, t, r) : re(t, r);
1179
1179
  }
1180
1180
  V.all = function(t, r) {
1181
1181
  if (!Array.isArray(t))
@@ -1184,8 +1184,8 @@ V.all = function(t, r) {
1184
1184
  return V(n, i, r);
1185
1185
  }, {});
1186
1186
  };
1187
- var Bn = V, Cn = Bn;
1188
- const Pn = /* @__PURE__ */ dn(Cn);
1187
+ var Cn = V, Pn = Cn;
1188
+ const On = /* @__PURE__ */ bn(Pn);
1189
1189
  var Xe = function(e, t) {
1190
1190
  return Xe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1191
1191
  r.__proto__ = n;
@@ -1213,7 +1213,7 @@ var M = function() {
1213
1213
  return t;
1214
1214
  }, M.apply(this, arguments);
1215
1215
  };
1216
- function On(e, t) {
1216
+ function In(e, t) {
1217
1217
  var r = {};
1218
1218
  for (var n in e)
1219
1219
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -1229,17 +1229,17 @@ function Ce(e, t, r) {
1229
1229
  return e.concat(o || Array.prototype.slice.call(t));
1230
1230
  }
1231
1231
  function Pe(e, t) {
1232
- var r = t && t.cache ? t.cache : Gn, n = t && t.serializer ? t.serializer : Rn, i = t && t.strategy ? t.strategy : Mn;
1232
+ var r = t && t.cache ? t.cache : Un, n = t && t.serializer ? t.serializer : $n, i = t && t.strategy ? t.strategy : Ln;
1233
1233
  return i(e, {
1234
1234
  cache: r,
1235
1235
  serializer: n
1236
1236
  });
1237
1237
  }
1238
- function In(e) {
1238
+ function Nn(e) {
1239
1239
  return e == null || typeof e == "number" || typeof e == "boolean";
1240
1240
  }
1241
- function Nn(e, t, r, n) {
1242
- var i = In(n) ? n : r(n), o = t.get(i);
1241
+ function Mn(e, t, r, n) {
1242
+ var i = Nn(n) ? n : r(n), o = t.get(i);
1243
1243
  return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
1244
1244
  }
1245
1245
  function Jt(e, t, r) {
@@ -1249,16 +1249,16 @@ function Jt(e, t, r) {
1249
1249
  function Yt(e, t, r, n, i) {
1250
1250
  return r.bind(t, e, n, i);
1251
1251
  }
1252
- function Mn(e, t) {
1253
- var r = e.length === 1 ? Nn : Jt;
1252
+ function Ln(e, t) {
1253
+ var r = e.length === 1 ? Mn : Jt;
1254
1254
  return Yt(e, this, r, t.cache.create(), t.serializer);
1255
1255
  }
1256
- function Ln(e, t) {
1256
+ function Rn(e, t) {
1257
1257
  return Yt(e, this, Jt, t.cache.create(), t.serializer);
1258
1258
  }
1259
- var Rn = function() {
1259
+ var $n = function() {
1260
1260
  return JSON.stringify(arguments);
1261
- }, $n = (
1261
+ }, Gn = (
1262
1262
  /** @class */
1263
1263
  function() {
1264
1264
  function e() {
@@ -1270,12 +1270,12 @@ var Rn = function() {
1270
1270
  this.cache[t] = r;
1271
1271
  }, e;
1272
1272
  }()
1273
- ), Gn = {
1273
+ ), Un = {
1274
1274
  create: function() {
1275
- return new $n();
1275
+ return new Gn();
1276
1276
  }
1277
1277
  }, Oe = {
1278
- variadic: Ln
1278
+ variadic: Rn
1279
1279
  }, be = function() {
1280
1280
  return be = Object.assign || function(t) {
1281
1281
  for (var r, n = 1, i = arguments.length; n < i; n++) {
@@ -1286,44 +1286,44 @@ var Rn = function() {
1286
1286
  return t;
1287
1287
  }, be.apply(this, arguments);
1288
1288
  };
1289
- var p;
1289
+ var d;
1290
1290
  (function(e) {
1291
1291
  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";
1292
- })(p || (p = {}));
1293
- var E;
1292
+ })(d || (d = {}));
1293
+ var x;
1294
1294
  (function(e) {
1295
1295
  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";
1296
- })(E || (E = {}));
1296
+ })(x || (x = {}));
1297
1297
  var X;
1298
1298
  (function(e) {
1299
1299
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1300
1300
  })(X || (X = {}));
1301
1301
  function _t(e) {
1302
- return e.type === E.literal;
1302
+ return e.type === x.literal;
1303
1303
  }
1304
- function Un(e) {
1305
- return e.type === E.argument;
1304
+ function Dn(e) {
1305
+ return e.type === x.argument;
1306
1306
  }
1307
1307
  function qt(e) {
1308
- return e.type === E.number;
1308
+ return e.type === x.number;
1309
1309
  }
1310
1310
  function Kt(e) {
1311
- return e.type === E.date;
1311
+ return e.type === x.date;
1312
1312
  }
1313
1313
  function er(e) {
1314
- return e.type === E.time;
1314
+ return e.type === x.time;
1315
1315
  }
1316
1316
  function tr(e) {
1317
- return e.type === E.select;
1317
+ return e.type === x.select;
1318
1318
  }
1319
1319
  function rr(e) {
1320
- return e.type === E.plural;
1320
+ return e.type === x.plural;
1321
1321
  }
1322
- function Dn(e) {
1323
- return e.type === E.pound;
1322
+ function Fn(e) {
1323
+ return e.type === x.pound;
1324
1324
  }
1325
1325
  function nr(e) {
1326
- return e.type === E.tag;
1326
+ return e.type === x.tag;
1327
1327
  }
1328
1328
  function ir(e) {
1329
1329
  return !!(e && typeof e == "object" && e.type === X.number);
@@ -1331,10 +1331,10 @@ function ir(e) {
1331
1331
  function We(e) {
1332
1332
  return !!(e && typeof e == "object" && e.type === X.dateTime);
1333
1333
  }
1334
- var or = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Fn = /(?:[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;
1335
- function jn(e) {
1334
+ var or = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, jn = /(?:[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;
1335
+ function kn(e) {
1336
1336
  var t = {};
1337
- return e.replace(Fn, function(r) {
1337
+ return e.replace(jn, function(r) {
1338
1338
  var n = r.length;
1339
1339
  switch (r[0]) {
1340
1340
  case "G":
@@ -1433,29 +1433,29 @@ var w = function() {
1433
1433
  return t;
1434
1434
  }, w.apply(this, arguments);
1435
1435
  };
1436
- var kn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1437
- function Vn(e) {
1436
+ var Vn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1437
+ function Xn(e) {
1438
1438
  if (e.length === 0)
1439
1439
  throw new Error("Number skeleton cannot be empty");
1440
- for (var t = e.split(kn).filter(function(f) {
1441
- return f.length > 0;
1440
+ for (var t = e.split(Vn).filter(function(c) {
1441
+ return c.length > 0;
1442
1442
  }), r = [], n = 0, i = t; n < i.length; n++) {
1443
1443
  var o = i[n], s = o.split("/");
1444
1444
  if (s.length === 0)
1445
1445
  throw new Error("Invalid number skeleton");
1446
1446
  for (var a = s[0], l = s.slice(1), u = 0, h = l; u < h.length; u++) {
1447
- var c = h[u];
1448
- if (c.length === 0)
1447
+ var f = h[u];
1448
+ if (f.length === 0)
1449
1449
  throw new Error("Invalid number skeleton");
1450
1450
  }
1451
1451
  r.push({ stem: a, options: l });
1452
1452
  }
1453
1453
  return r;
1454
1454
  }
1455
- function Xn(e) {
1455
+ function Wn(e) {
1456
1456
  return e.replace(/^(.*?)-/, "");
1457
1457
  }
1458
- var xt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, sr = /^(@+)?(\+|#+)?[rs]?$/g, Wn = /(\*)(0+)|(#+)(0+)|(0+)/g, ar = /^(0+)$/;
1458
+ var xt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, sr = /^(@+)?(\+|#+)?[rs]?$/g, zn = /(\*)(0+)|(#+)(0+)|(0+)/g, ar = /^(0+)$/;
1459
1459
  function Et(e) {
1460
1460
  var t = {};
1461
1461
  return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(sr, function(r, n, i) {
@@ -1502,7 +1502,7 @@ function ur(e) {
1502
1502
  };
1503
1503
  }
1504
1504
  }
1505
- function zn(e) {
1505
+ function Zn(e) {
1506
1506
  var t;
1507
1507
  if (e[0] === "E" && e[1] === "E" ? (t = {
1508
1508
  notation: "engineering"
@@ -1520,7 +1520,7 @@ function St(e) {
1520
1520
  var t = {}, r = ur(e);
1521
1521
  return r || t;
1522
1522
  }
1523
- function Zn(e) {
1523
+ function Qn(e) {
1524
1524
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1525
1525
  var i = n[r];
1526
1526
  switch (i.stem) {
@@ -1544,7 +1544,7 @@ function Zn(e) {
1544
1544
  continue;
1545
1545
  case "measure-unit":
1546
1546
  case "unit":
1547
- t.style = "unit", t.unit = Xn(i.options[0]);
1547
+ t.style = "unit", t.unit = Wn(i.options[0]);
1548
1548
  continue;
1549
1549
  case "compact-short":
1550
1550
  case "K":
@@ -1606,11 +1606,11 @@ function Zn(e) {
1606
1606
  case "integer-width":
1607
1607
  if (i.options.length > 1)
1608
1608
  throw new RangeError("integer-width stems only accept a single optional option");
1609
- i.options[0].replace(Wn, function(l, u, h, c, f, m) {
1609
+ i.options[0].replace(zn, function(l, u, h, f, c, m) {
1610
1610
  if (u)
1611
1611
  t.minimumIntegerDigits = h.length;
1612
1612
  else {
1613
- if (c && f)
1613
+ if (f && c)
1614
1614
  throw new Error("We currently do not support maximum integer digits");
1615
1615
  if (m)
1616
1616
  throw new Error("We currently do not support exact integer digits");
@@ -1626,8 +1626,8 @@ function Zn(e) {
1626
1626
  if (xt.test(i.stem)) {
1627
1627
  if (i.options.length > 1)
1628
1628
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1629
- i.stem.replace(xt, function(l, u, h, c, f, m) {
1630
- 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), "";
1629
+ i.stem.replace(xt, function(l, u, h, f, c, m) {
1630
+ return h === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && m ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + m.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1631
1631
  });
1632
1632
  var o = i.options[0];
1633
1633
  o === "w" ? t = w(w({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = w(w({}, t), Et(o)));
@@ -1639,7 +1639,7 @@ function Zn(e) {
1639
1639
  }
1640
1640
  var s = ur(i.stem);
1641
1641
  s && (t = w(w({}, t), s));
1642
- var a = zn(i.stem);
1642
+ var a = Zn(i.stem);
1643
1643
  a && (t = w(w({}, t), a));
1644
1644
  }
1645
1645
  return t;
@@ -3059,13 +3059,13 @@ var he = {
3059
3059
  "h"
3060
3060
  ]
3061
3061
  };
3062
- function Qn(e, t) {
3062
+ function Jn(e, t) {
3063
3063
  for (var r = "", n = 0; n < e.length; n++) {
3064
3064
  var i = e.charAt(n);
3065
3065
  if (i === "j") {
3066
3066
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3067
3067
  o++, n++;
3068
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Jn(t);
3068
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Yn(t);
3069
3069
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
3070
3070
  r += l;
3071
3071
  for (; s-- > 0; )
@@ -3075,7 +3075,7 @@ function Qn(e, t) {
3075
3075
  }
3076
3076
  return r;
3077
3077
  }
3078
- function Jn(e) {
3078
+ function Yn(e) {
3079
3079
  var t = e.hourCycle;
3080
3080
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3081
3081
  e.hourCycles && // @ts-ignore
@@ -3097,20 +3097,20 @@ function Jn(e) {
3097
3097
  var i = he[n || ""] || he[r || ""] || he["".concat(r, "-001")] || he["001"];
3098
3098
  return i[0];
3099
3099
  }
3100
- var Ie, Yn = new RegExp("^".concat(or.source, "*")), qn = new RegExp("".concat(or.source, "*$"));
3100
+ var Ie, qn = new RegExp("^".concat(or.source, "*")), Kn = new RegExp("".concat(or.source, "*$"));
3101
3101
  function g(e, t) {
3102
3102
  return { start: e, end: t };
3103
3103
  }
3104
- var Kn = !!String.prototype.startsWith && "_a".startsWith("a", 1), ei = !!String.fromCodePoint, ti = !!Object.fromEntries, ri = !!String.prototype.codePointAt, ni = !!String.prototype.trimStart, ii = !!String.prototype.trimEnd, oi = !!Number.isSafeInteger, si = oi ? Number.isSafeInteger : function(e) {
3104
+ var ei = !!String.prototype.startsWith && "_a".startsWith("a", 1), ti = !!String.fromCodePoint, ri = !!Object.fromEntries, ni = !!String.prototype.codePointAt, ii = !!String.prototype.trimStart, oi = !!String.prototype.trimEnd, si = !!Number.isSafeInteger, ai = si ? Number.isSafeInteger : function(e) {
3105
3105
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3106
3106
  }, ze = !0;
3107
3107
  try {
3108
- var ai = hr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3109
- ze = ((Ie = ai.exec("a")) === null || Ie === void 0 ? void 0 : Ie[0]) === "a";
3108
+ var ui = hr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3109
+ ze = ((Ie = ui.exec("a")) === null || Ie === void 0 ? void 0 : Ie[0]) === "a";
3110
3110
  } catch (e) {
3111
3111
  ze = !1;
3112
3112
  }
3113
- var wt = Kn ? (
3113
+ var wt = ei ? (
3114
3114
  // Native
3115
3115
  function(t, r, n) {
3116
3116
  return t.startsWith(r, n);
@@ -3120,7 +3120,7 @@ var wt = Kn ? (
3120
3120
  function(t, r, n) {
3121
3121
  return t.slice(n, n + r.length) === r;
3122
3122
  }
3123
- ), Ze = ei ? String.fromCodePoint : (
3123
+ ), Ze = ti ? String.fromCodePoint : (
3124
3124
  // IE11
3125
3125
  function() {
3126
3126
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3134,7 +3134,7 @@ var wt = Kn ? (
3134
3134
  }
3135
3135
  ), Tt = (
3136
3136
  // native
3137
- ti ? Object.fromEntries : (
3137
+ ri ? Object.fromEntries : (
3138
3138
  // Ponyfill
3139
3139
  function(t) {
3140
3140
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3144,7 +3144,7 @@ var wt = Kn ? (
3144
3144
  return r;
3145
3145
  }
3146
3146
  )
3147
- ), lr = ri ? (
3147
+ ), lr = ni ? (
3148
3148
  // Native
3149
3149
  function(t, r) {
3150
3150
  return t.codePointAt(r);
@@ -3158,7 +3158,7 @@ var wt = Kn ? (
3158
3158
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3159
3159
  }
3160
3160
  }
3161
- ), ui = ni ? (
3161
+ ), li = ii ? (
3162
3162
  // Native
3163
3163
  function(t) {
3164
3164
  return t.trimStart();
@@ -3166,9 +3166,9 @@ var wt = Kn ? (
3166
3166
  ) : (
3167
3167
  // Ponyfill
3168
3168
  function(t) {
3169
- return t.replace(Yn, "");
3169
+ return t.replace(qn, "");
3170
3170
  }
3171
- ), li = ii ? (
3171
+ ), hi = oi ? (
3172
3172
  // Native
3173
3173
  function(t) {
3174
3174
  return t.trimEnd();
@@ -3176,7 +3176,7 @@ var wt = Kn ? (
3176
3176
  ) : (
3177
3177
  // Ponyfill
3178
3178
  function(t) {
3179
- return t.replace(qn, "");
3179
+ return t.replace(Kn, "");
3180
3180
  }
3181
3181
  );
3182
3182
  function hr(e, t) {
@@ -3195,13 +3195,13 @@ if (ze) {
3195
3195
  Qe = function(t, r) {
3196
3196
  for (var n = []; ; ) {
3197
3197
  var i = lr(t, r);
3198
- if (i === void 0 || cr(i) || mi(i))
3198
+ if (i === void 0 || cr(i) || pi(i))
3199
3199
  break;
3200
3200
  n.push(i), r += i >= 65536 ? 2 : 1;
3201
3201
  }
3202
3202
  return Ze.apply(void 0, n);
3203
3203
  };
3204
- var hi = (
3204
+ var ci = (
3205
3205
  /** @class */
3206
3206
  function() {
3207
3207
  function e(t, r) {
@@ -3225,13 +3225,13 @@ var hi = (
3225
3225
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3226
3226
  var a = this.clonePosition();
3227
3227
  this.bump(), i.push({
3228
- type: E.pound,
3228
+ type: x.pound,
3229
3229
  location: g(a, this.clonePosition())
3230
3230
  });
3231
3231
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3232
3232
  if (n)
3233
3233
  break;
3234
- return this.error(p.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
3234
+ return this.error(d.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
3235
3235
  } else if (o === 60 && !this.ignoreTag && Je(this.peek() || 0)) {
3236
3236
  var s = this.parseTag(t, r);
3237
3237
  if (s.err)
@@ -3253,7 +3253,7 @@ var hi = (
3253
3253
  if (this.bumpSpace(), this.bumpIf("/>"))
3254
3254
  return {
3255
3255
  val: {
3256
- type: E.literal,
3256
+ type: x.literal,
3257
3257
  value: "<".concat(i, "/>"),
3258
3258
  location: g(n, this.clonePosition())
3259
3259
  },
@@ -3266,24 +3266,24 @@ var hi = (
3266
3266
  var s = o.val, a = this.clonePosition();
3267
3267
  if (this.bumpIf("</")) {
3268
3268
  if (this.isEOF() || !Je(this.char()))
3269
- return this.error(p.INVALID_TAG, g(a, this.clonePosition()));
3269
+ return this.error(d.INVALID_TAG, g(a, this.clonePosition()));
3270
3270
  var l = this.clonePosition(), u = this.parseTagName();
3271
- return i !== u ? this.error(p.UNMATCHED_CLOSING_TAG, g(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3271
+ return i !== u ? this.error(d.UNMATCHED_CLOSING_TAG, g(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3272
3272
  val: {
3273
- type: E.tag,
3273
+ type: x.tag,
3274
3274
  value: i,
3275
3275
  children: s,
3276
3276
  location: g(n, this.clonePosition())
3277
3277
  },
3278
3278
  err: null
3279
- } : this.error(p.INVALID_TAG, g(a, this.clonePosition())));
3279
+ } : this.error(d.INVALID_TAG, g(a, this.clonePosition())));
3280
3280
  } else
3281
- return this.error(p.UNCLOSED_TAG, g(n, this.clonePosition()));
3281
+ return this.error(d.UNCLOSED_TAG, g(n, this.clonePosition()));
3282
3282
  } else
3283
- return this.error(p.INVALID_TAG, g(n, this.clonePosition()));
3283
+ return this.error(d.INVALID_TAG, g(n, this.clonePosition()));
3284
3284
  }, e.prototype.parseTagName = function() {
3285
3285
  var t = this.offset();
3286
- for (this.bump(); !this.isEOF() && fi(this.char()); )
3286
+ for (this.bump(); !this.isEOF() && mi(this.char()); )
3287
3287
  this.bump();
3288
3288
  return this.message.slice(t, this.offset());
3289
3289
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3307,12 +3307,12 @@ var hi = (
3307
3307
  }
3308
3308
  var l = g(n, this.clonePosition());
3309
3309
  return {
3310
- val: { type: E.literal, value: i, location: l },
3310
+ val: { type: x.literal, value: i, location: l },
3311
3311
  err: null
3312
3312
  };
3313
3313
  }, e.prototype.tryParseLeftAngleBracket = function() {
3314
3314
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3315
- !ci(this.peek() || 0)) ? (this.bump(), "<") : null;
3315
+ !fi(this.peek() || 0)) ? (this.bump(), "<") : null;
3316
3316
  }, e.prototype.tryParseQuote = function(t) {
3317
3317
  if (this.isEOF() || this.char() !== 39)
3318
3318
  return null;
@@ -3355,19 +3355,19 @@ var hi = (
3355
3355
  }, e.prototype.parseArgument = function(t, r) {
3356
3356
  var n = this.clonePosition();
3357
3357
  if (this.bump(), this.bumpSpace(), this.isEOF())
3358
- return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition()));
3358
+ return this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition()));
3359
3359
  if (this.char() === 125)
3360
- return this.bump(), this.error(p.EMPTY_ARGUMENT, g(n, this.clonePosition()));
3360
+ return this.bump(), this.error(d.EMPTY_ARGUMENT, g(n, this.clonePosition()));
3361
3361
  var i = this.parseIdentifierIfPossible().value;
3362
3362
  if (!i)
3363
- return this.error(p.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
3363
+ return this.error(d.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
3364
3364
  if (this.bumpSpace(), this.isEOF())
3365
- return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition()));
3365
+ return this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition()));
3366
3366
  switch (this.char()) {
3367
3367
  case 125:
3368
3368
  return this.bump(), {
3369
3369
  val: {
3370
- type: E.argument,
3370
+ type: x.argument,
3371
3371
  // value does not include the opening and closing braces.
3372
3372
  value: i,
3373
3373
  location: g(n, this.clonePosition())
@@ -3375,9 +3375,9 @@ var hi = (
3375
3375
  err: null
3376
3376
  };
3377
3377
  case 44:
3378
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3378
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3379
3379
  default:
3380
- return this.error(p.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
3380
+ return this.error(d.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
3381
3381
  }
3382
3382
  }, e.prototype.parseIdentifierIfPossible = function() {
3383
3383
  var t = this.clonePosition(), r = this.offset(), n = Qe(this.message, r), i = r + n.length;
@@ -3388,7 +3388,7 @@ var hi = (
3388
3388
  var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, l = this.clonePosition();
3389
3389
  switch (a) {
3390
3390
  case "":
3391
- return this.error(p.EXPECT_ARGUMENT_TYPE, g(s, l));
3391
+ return this.error(d.EXPECT_ARGUMENT_TYPE, g(s, l));
3392
3392
  case "number":
3393
3393
  case "date":
3394
3394
  case "time": {
@@ -3396,49 +3396,49 @@ var hi = (
3396
3396
  var u = null;
3397
3397
  if (this.bumpIf(",")) {
3398
3398
  this.bumpSpace();
3399
- var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3400
- if (c.err)
3401
- return c;
3402
- var f = li(c.val);
3403
- if (f.length === 0)
3404
- return this.error(p.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
3399
+ var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3400
+ if (f.err)
3401
+ return f;
3402
+ var c = hi(f.val);
3403
+ if (c.length === 0)
3404
+ return this.error(d.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
3405
3405
  var m = g(h, this.clonePosition());
3406
- u = { style: f, styleLocation: m };
3406
+ u = { style: c, styleLocation: m };
3407
3407
  }
3408
- var v = this.tryParseArgumentClose(i);
3409
- if (v.err)
3410
- return v;
3411
- var d = g(i, this.clonePosition());
3408
+ var y = this.tryParseArgumentClose(i);
3409
+ if (y.err)
3410
+ return y;
3411
+ var b = g(i, this.clonePosition());
3412
3412
  if (u && wt(u == null ? void 0 : u.style, "::", 0)) {
3413
- var S = ui(u.style.slice(2));
3413
+ var H = li(u.style.slice(2));
3414
3414
  if (a === "number") {
3415
- var c = this.parseNumberSkeletonFromString(S, u.styleLocation);
3416
- return c.err ? c : {
3417
- val: { type: E.number, value: n, location: d, style: c.val },
3415
+ var f = this.parseNumberSkeletonFromString(H, u.styleLocation);
3416
+ return f.err ? f : {
3417
+ val: { type: x.number, value: n, location: b, style: f.val },
3418
3418
  err: null
3419
3419
  };
3420
3420
  } else {
3421
- if (S.length === 0)
3422
- return this.error(p.EXPECT_DATE_TIME_SKELETON, d);
3423
- var P = S;
3424
- this.locale && (P = Qn(S, this.locale));
3425
- var f = {
3421
+ if (H.length === 0)
3422
+ return this.error(d.EXPECT_DATE_TIME_SKELETON, b);
3423
+ var S = H;
3424
+ this.locale && (S = Jn(H, this.locale));
3425
+ var c = {
3426
3426
  type: X.dateTime,
3427
- pattern: P,
3427
+ pattern: S,
3428
3428
  location: u.styleLocation,
3429
- parsedOptions: this.shouldParseSkeletons ? jn(P) : {}
3430
- }, H = a === "date" ? E.date : E.time;
3429
+ parsedOptions: this.shouldParseSkeletons ? kn(S) : {}
3430
+ }, A = a === "date" ? x.date : x.time;
3431
3431
  return {
3432
- val: { type: H, value: n, location: d, style: f },
3432
+ val: { type: A, value: n, location: b, style: c },
3433
3433
  err: null
3434
3434
  };
3435
3435
  }
3436
3436
  }
3437
3437
  return {
3438
3438
  val: {
3439
- type: a === "number" ? E.number : a === "date" ? E.date : E.time,
3439
+ type: a === "number" ? x.number : a === "date" ? x.date : x.time,
3440
3440
  value: n,
3441
- location: d,
3441
+ location: b,
3442
3442
  style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
3443
3443
  },
3444
3444
  err: null
@@ -3449,39 +3449,39 @@ var hi = (
3449
3449
  case "select": {
3450
3450
  var _ = this.clonePosition();
3451
3451
  if (this.bumpSpace(), !this.bumpIf(","))
3452
- return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, g(_, be({}, _)));
3452
+ return this.error(d.EXPECT_SELECT_ARGUMENT_OPTIONS, g(_, be({}, _)));
3453
3453
  this.bumpSpace();
3454
- var x = this.parseIdentifierIfPossible(), y = 0;
3455
- if (a !== "select" && x.value === "offset") {
3454
+ var E = this.parseIdentifierIfPossible(), v = 0;
3455
+ if (a !== "select" && E.value === "offset") {
3456
3456
  if (!this.bumpIf(":"))
3457
- return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g(this.clonePosition(), this.clonePosition()));
3457
+ return this.error(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g(this.clonePosition(), this.clonePosition()));
3458
3458
  this.bumpSpace();
3459
- var c = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, p.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3460
- if (c.err)
3461
- return c;
3462
- this.bumpSpace(), x = this.parseIdentifierIfPossible(), y = c.val;
3459
+ var f = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, d.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3460
+ if (f.err)
3461
+ return f;
3462
+ this.bumpSpace(), E = this.parseIdentifierIfPossible(), v = f.val;
3463
3463
  }
3464
- var A = this.tryParsePluralOrSelectOptions(t, a, r, x);
3465
- if (A.err)
3466
- return A;
3467
- var v = this.tryParseArgumentClose(i);
3468
- if (v.err)
3469
- return v;
3464
+ var B = this.tryParsePluralOrSelectOptions(t, a, r, E);
3465
+ if (B.err)
3466
+ return B;
3467
+ var y = this.tryParseArgumentClose(i);
3468
+ if (y.err)
3469
+ return y;
3470
3470
  var ae = g(i, this.clonePosition());
3471
3471
  return a === "select" ? {
3472
3472
  val: {
3473
- type: E.select,
3473
+ type: x.select,
3474
3474
  value: n,
3475
- options: Tt(A.val),
3475
+ options: Tt(B.val),
3476
3476
  location: ae
3477
3477
  },
3478
3478
  err: null
3479
3479
  } : {
3480
3480
  val: {
3481
- type: E.plural,
3481
+ type: x.plural,
3482
3482
  value: n,
3483
- options: Tt(A.val),
3484
- offset: y,
3483
+ options: Tt(B.val),
3484
+ offset: v,
3485
3485
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3486
3486
  location: ae
3487
3487
  },
@@ -3489,10 +3489,10 @@ var hi = (
3489
3489
  };
3490
3490
  }
3491
3491
  default:
3492
- return this.error(p.INVALID_ARGUMENT_TYPE, g(s, l));
3492
+ return this.error(d.INVALID_ARGUMENT_TYPE, g(s, l));
3493
3493
  }
3494
3494
  }, e.prototype.tryParseArgumentClose = function(t) {
3495
- return this.isEOF() || this.char() !== 125 ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, g(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3495
+ return this.isEOF() || this.char() !== 125 ? this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, g(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3496
3496
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3497
3497
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3498
3498
  var n = this.char();
@@ -3501,7 +3501,7 @@ var hi = (
3501
3501
  this.bump();
3502
3502
  var i = this.clonePosition();
3503
3503
  if (!this.bumpUntil("'"))
3504
- return this.error(p.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, g(i, this.clonePosition()));
3504
+ return this.error(d.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, g(i, this.clonePosition()));
3505
3505
  this.bump();
3506
3506
  break;
3507
3507
  }
@@ -3531,52 +3531,52 @@ var hi = (
3531
3531
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3532
3532
  var n = [];
3533
3533
  try {
3534
- n = Vn(t);
3534
+ n = Xn(t);
3535
3535
  } catch (i) {
3536
- return this.error(p.INVALID_NUMBER_SKELETON, r);
3536
+ return this.error(d.INVALID_NUMBER_SKELETON, r);
3537
3537
  }
3538
3538
  return {
3539
3539
  val: {
3540
3540
  type: X.number,
3541
3541
  tokens: n,
3542
3542
  location: r,
3543
- parsedOptions: this.shouldParseSkeletons ? Zn(n) : {}
3543
+ parsedOptions: this.shouldParseSkeletons ? Qn(n) : {}
3544
3544
  },
3545
3545
  err: null
3546
3546
  };
3547
3547
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3548
3548
  for (var o, s = !1, a = [], l = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
3549
3549
  if (u.length === 0) {
3550
- var c = this.clonePosition();
3550
+ var f = this.clonePosition();
3551
3551
  if (r !== "select" && this.bumpIf("=")) {
3552
- var f = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_SELECTOR, p.INVALID_PLURAL_ARGUMENT_SELECTOR);
3553
- if (f.err)
3554
- return f;
3555
- h = g(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
3552
+ var c = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_SELECTOR, d.INVALID_PLURAL_ARGUMENT_SELECTOR);
3553
+ if (c.err)
3554
+ return c;
3555
+ h = g(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
3556
3556
  } else
3557
3557
  break;
3558
3558
  }
3559
3559
  if (l.has(u))
3560
- return this.error(r === "select" ? p.DUPLICATE_SELECT_ARGUMENT_SELECTOR : p.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3560
+ return this.error(r === "select" ? d.DUPLICATE_SELECT_ARGUMENT_SELECTOR : d.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3561
3561
  u === "other" && (s = !0), this.bumpSpace();
3562
3562
  var m = this.clonePosition();
3563
3563
  if (!this.bumpIf("{"))
3564
- return this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : p.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, g(this.clonePosition(), this.clonePosition()));
3565
- var v = this.parseMessage(t + 1, r, n);
3566
- if (v.err)
3567
- return v;
3568
- var d = this.tryParseArgumentClose(m);
3569
- if (d.err)
3570
- return d;
3564
+ return this.error(r === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : d.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, g(this.clonePosition(), this.clonePosition()));
3565
+ var y = this.parseMessage(t + 1, r, n);
3566
+ if (y.err)
3567
+ return y;
3568
+ var b = this.tryParseArgumentClose(m);
3569
+ if (b.err)
3570
+ return b;
3571
3571
  a.push([
3572
3572
  u,
3573
3573
  {
3574
- value: v.val,
3574
+ value: y.val,
3575
3575
  location: g(m, this.clonePosition())
3576
3576
  }
3577
3577
  ]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
3578
3578
  }
3579
- return a.length === 0 ? this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR : p.EXPECT_PLURAL_ARGUMENT_SELECTOR, g(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(p.MISSING_OTHER_CLAUSE, g(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3579
+ return a.length === 0 ? this.error(r === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR : d.EXPECT_PLURAL_ARGUMENT_SELECTOR, g(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(d.MISSING_OTHER_CLAUSE, g(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3580
3580
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3581
3581
  var n = 1, i = this.clonePosition();
3582
3582
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -3588,7 +3588,7 @@ var hi = (
3588
3588
  break;
3589
3589
  }
3590
3590
  var l = g(i, this.clonePosition());
3591
- return o ? (s *= n, si(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3591
+ return o ? (s *= n, ai(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3592
3592
  }, e.prototype.offset = function() {
3593
3593
  return this.position.offset;
3594
3594
  }, e.prototype.isEOF = function() {
@@ -3657,16 +3657,16 @@ var hi = (
3657
3657
  function Je(e) {
3658
3658
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3659
3659
  }
3660
- function ci(e) {
3660
+ function fi(e) {
3661
3661
  return Je(e) || e === 47;
3662
3662
  }
3663
- function fi(e) {
3663
+ function mi(e) {
3664
3664
  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;
3665
3665
  }
3666
3666
  function cr(e) {
3667
3667
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3668
3668
  }
3669
- function mi(e) {
3669
+ function pi(e) {
3670
3670
  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;
3671
3671
  }
3672
3672
  function Ye(e) {
@@ -3678,11 +3678,11 @@ function Ye(e) {
3678
3678
  qt(t) && ir(t.style) || (Kt(t) || er(t)) && We(t.style) ? delete t.style.location : nr(t) && Ye(t.children);
3679
3679
  });
3680
3680
  }
3681
- function pi(e, t) {
3681
+ function di(e, t) {
3682
3682
  t === void 0 && (t = {}), t = be({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3683
- var r = new hi(e, t).parse();
3683
+ var r = new ci(e, t).parse();
3684
3684
  if (r.err) {
3685
- var n = SyntaxError(p[r.err.kind]);
3685
+ var n = SyntaxError(d[r.err.kind]);
3686
3686
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3687
3687
  }
3688
3688
  return t != null && t.captureLocation || Ye(r.val), r.val;
@@ -3712,7 +3712,7 @@ var Se = (
3712
3712
  }
3713
3713
  return t;
3714
3714
  }(Se)
3715
- ), di = (
3715
+ ), bi = (
3716
3716
  /** @class */
3717
3717
  function(e) {
3718
3718
  Ee(t, e);
@@ -3721,7 +3721,7 @@ var Se = (
3721
3721
  }
3722
3722
  return t;
3723
3723
  }(Se)
3724
- ), bi = (
3724
+ ), gi = (
3725
3725
  /** @class */
3726
3726
  function(e) {
3727
3727
  Ee(t, e);
@@ -3730,24 +3730,24 @@ var Se = (
3730
3730
  }
3731
3731
  return t;
3732
3732
  }(Se)
3733
- ), C;
3733
+ ), P;
3734
3734
  (function(e) {
3735
3735
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3736
- })(C || (C = {}));
3737
- function gi(e) {
3736
+ })(P || (P = {}));
3737
+ function vi(e) {
3738
3738
  return e.length < 2 ? e : e.reduce(function(t, r) {
3739
3739
  var n = t[t.length - 1];
3740
- return !n || n.type !== C.literal || r.type !== C.literal ? t.push(r) : n.value += r.value, t;
3740
+ return !n || n.type !== P.literal || r.type !== P.literal ? t.push(r) : n.value += r.value, t;
3741
3741
  }, []);
3742
3742
  }
3743
- function vi(e) {
3743
+ function yi(e) {
3744
3744
  return typeof e == "function";
3745
3745
  }
3746
3746
  function pe(e, t, r, n, i, o, s) {
3747
3747
  if (e.length === 1 && _t(e[0]))
3748
3748
  return [
3749
3749
  {
3750
- type: C.literal,
3750
+ type: P.literal,
3751
3751
  value: e[0].value
3752
3752
  }
3753
3753
  ];
@@ -3755,100 +3755,100 @@ function pe(e, t, r, n, i, o, s) {
3755
3755
  var h = u[l];
3756
3756
  if (_t(h)) {
3757
3757
  a.push({
3758
- type: C.literal,
3758
+ type: P.literal,
3759
3759
  value: h.value
3760
3760
  });
3761
3761
  continue;
3762
3762
  }
3763
- if (Dn(h)) {
3763
+ if (Fn(h)) {
3764
3764
  typeof o == "number" && a.push({
3765
- type: C.literal,
3765
+ type: P.literal,
3766
3766
  value: r.getNumberFormat(t).format(o)
3767
3767
  });
3768
3768
  continue;
3769
3769
  }
3770
- var c = h.value;
3771
- if (!(i && c in i))
3772
- throw new bi(c, s);
3773
- var f = i[c];
3774
- if (Un(h)) {
3775
- (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3776
- type: typeof f == "string" ? C.literal : C.object,
3777
- value: f
3770
+ var f = h.value;
3771
+ if (!(i && f in i))
3772
+ throw new gi(f, s);
3773
+ var c = i[f];
3774
+ if (Dn(h)) {
3775
+ (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3776
+ type: typeof c == "string" ? P.literal : P.object,
3777
+ value: c
3778
3778
  });
3779
3779
  continue;
3780
3780
  }
3781
3781
  if (Kt(h)) {
3782
3782
  var m = typeof h.style == "string" ? n.date[h.style] : We(h.style) ? h.style.parsedOptions : void 0;
3783
3783
  a.push({
3784
- type: C.literal,
3785
- value: r.getDateTimeFormat(t, m).format(f)
3784
+ type: P.literal,
3785
+ value: r.getDateTimeFormat(t, m).format(c)
3786
3786
  });
3787
3787
  continue;
3788
3788
  }
3789
3789
  if (er(h)) {
3790
3790
  var m = typeof h.style == "string" ? n.time[h.style] : We(h.style) ? h.style.parsedOptions : n.time.medium;
3791
3791
  a.push({
3792
- type: C.literal,
3793
- value: r.getDateTimeFormat(t, m).format(f)
3792
+ type: P.literal,
3793
+ value: r.getDateTimeFormat(t, m).format(c)
3794
3794
  });
3795
3795
  continue;
3796
3796
  }
3797
3797
  if (qt(h)) {
3798
3798
  var m = typeof h.style == "string" ? n.number[h.style] : ir(h.style) ? h.style.parsedOptions : void 0;
3799
- m && m.scale && (f = f * (m.scale || 1)), a.push({
3800
- type: C.literal,
3801
- value: r.getNumberFormat(t, m).format(f)
3799
+ m && m.scale && (c = c * (m.scale || 1)), a.push({
3800
+ type: P.literal,
3801
+ value: r.getNumberFormat(t, m).format(c)
3802
3802
  });
3803
3803
  continue;
3804
3804
  }
3805
3805
  if (nr(h)) {
3806
- var v = h.children, d = h.value, S = i[d];
3807
- if (!vi(S))
3808
- throw new di(d, "function", s);
3809
- var P = pe(v, t, r, n, i, o), H = S(P.map(function(y) {
3810
- return y.value;
3806
+ var y = h.children, b = h.value, H = i[b];
3807
+ if (!yi(H))
3808
+ throw new bi(b, "function", s);
3809
+ var S = pe(y, t, r, n, i, o), A = H(S.map(function(v) {
3810
+ return v.value;
3811
3811
  }));
3812
- Array.isArray(H) || (H = [H]), a.push.apply(a, H.map(function(y) {
3812
+ Array.isArray(A) || (A = [A]), a.push.apply(a, A.map(function(v) {
3813
3813
  return {
3814
- type: typeof y == "string" ? C.literal : C.object,
3815
- value: y
3814
+ type: typeof v == "string" ? P.literal : P.object,
3815
+ value: v
3816
3816
  };
3817
3817
  }));
3818
3818
  }
3819
3819
  if (tr(h)) {
3820
- var _ = h.options[f] || h.options.other;
3820
+ var _ = h.options[c] || h.options.other;
3821
3821
  if (!_)
3822
- throw new At(h.value, f, Object.keys(h.options), s);
3822
+ throw new At(h.value, c, Object.keys(h.options), s);
3823
3823
  a.push.apply(a, pe(_.value, t, r, n, i));
3824
3824
  continue;
3825
3825
  }
3826
3826
  if (rr(h)) {
3827
- var _ = h.options["=".concat(f)];
3827
+ var _ = h.options["=".concat(c)];
3828
3828
  if (!_) {
3829
3829
  if (!Intl.PluralRules)
3830
3830
  throw new Se(`Intl.PluralRules is not available in this environment.
3831
3831
  Try polyfilling it using "@formatjs/intl-pluralrules"
3832
3832
  `, W.MISSING_INTL_API, s);
3833
- var x = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3834
- _ = h.options[x] || h.options.other;
3833
+ var E = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
3834
+ _ = h.options[E] || h.options.other;
3835
3835
  }
3836
3836
  if (!_)
3837
- throw new At(h.value, f, Object.keys(h.options), s);
3838
- a.push.apply(a, pe(_.value, t, r, n, i, f - (h.offset || 0)));
3837
+ throw new At(h.value, c, Object.keys(h.options), s);
3838
+ a.push.apply(a, pe(_.value, t, r, n, i, c - (h.offset || 0)));
3839
3839
  continue;
3840
3840
  }
3841
3841
  }
3842
- return gi(a);
3842
+ return vi(a);
3843
3843
  }
3844
- function yi(e, t) {
3844
+ function _i(e, t) {
3845
3845
  return t ? M(M(M({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3846
3846
  return r[n] = M(M({}, e[n]), t[n] || {}), r;
3847
3847
  }, {})) : e;
3848
3848
  }
3849
- function _i(e, t) {
3849
+ function xi(e, t) {
3850
3850
  return t ? Object.keys(e).reduce(function(r, n) {
3851
- return r[n] = yi(e[n], t[n]), r;
3851
+ return r[n] = _i(e[n], t[n]), r;
3852
3852
  }, M({}, e)) : e;
3853
3853
  }
3854
3854
  function Ne(e) {
@@ -3865,7 +3865,7 @@ function Ne(e) {
3865
3865
  }
3866
3866
  };
3867
3867
  }
3868
- function xi(e) {
3868
+ function Ei(e) {
3869
3869
  return e === void 0 && (e = {
3870
3870
  number: {},
3871
3871
  dateTime: {},
@@ -3897,7 +3897,7 @@ function xi(e) {
3897
3897
  })
3898
3898
  };
3899
3899
  }
3900
- var Ei = (
3900
+ var Si = (
3901
3901
  /** @class */
3902
3902
  function() {
3903
3903
  function e(t, r, n, i) {
@@ -3911,8 +3911,8 @@ var Ei = (
3911
3911
  var u = o.formatToParts(l);
3912
3912
  if (u.length === 1)
3913
3913
  return u[0].value;
3914
- var h = u.reduce(function(c, f) {
3915
- return !c.length || f.type !== C.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3914
+ var h = u.reduce(function(f, c) {
3915
+ return !f.length || c.type !== P.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
3916
3916
  }, []);
3917
3917
  return h.length <= 1 ? h[0] || "" : h;
3918
3918
  }, this.formatToParts = function(l) {
@@ -3929,13 +3929,13 @@ var Ei = (
3929
3929
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3930
3930
  var s = i || {};
3931
3931
  s.formatters;
3932
- var a = On(s, ["formatters"]);
3932
+ var a = In(s, ["formatters"]);
3933
3933
  this.ast = e.__parse(t, M(M({}, a), { locale: this.resolvedLocale }));
3934
3934
  } else
3935
3935
  this.ast = t;
3936
3936
  if (!Array.isArray(this.ast))
3937
3937
  throw new TypeError("A message must be provided as a String or AST.");
3938
- this.formats = _i(e.formats, n), this.formatters = i && i.formatters || xi(this.formatterCache);
3938
+ this.formats = xi(e.formats, n), this.formatters = i && i.formatters || Ei(this.formatterCache);
3939
3939
  }
3940
3940
  return Object.defineProperty(e, "defaultLocale", {
3941
3941
  get: function() {
@@ -3948,7 +3948,7 @@ var Ei = (
3948
3948
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3949
3949
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3950
3950
  }
3951
- }, e.__parse = pi, e.formats = {
3951
+ }, e.__parse = di, e.formats = {
3952
3952
  number: {
3953
3953
  integer: {
3954
3954
  maximumFractionDigits: 0
@@ -4009,7 +4009,7 @@ var Ei = (
4009
4009
  }, e;
4010
4010
  }()
4011
4011
  );
4012
- function Si(e, t) {
4012
+ function wi(e, t) {
4013
4013
  if (t == null)
4014
4014
  return;
4015
4015
  if (t in e)
@@ -4030,33 +4030,33 @@ function Si(e, t) {
4030
4030
  n = void 0;
4031
4031
  return n;
4032
4032
  }
4033
- const $ = {}, wi = (e, t, r) => r && (t in $ || ($[t] = {}), e in $[t] || ($[t][e] = r), r), fr = (e, t) => {
4033
+ const $ = {}, Ti = (e, t, r) => r && (t in $ || ($[t] = {}), e in $[t] || ($[t][e] = r), r), fr = (e, t) => {
4034
4034
  if (t == null)
4035
4035
  return;
4036
4036
  if (t in $ && e in $[t])
4037
4037
  return $[t][e];
4038
4038
  const r = we(t);
4039
4039
  for (let n = 0; n < r.length; n++) {
4040
- const i = r[n], o = Hi(i, e);
4040
+ const i = r[n], o = Ai(i, e);
4041
4041
  if (o)
4042
- return wi(e, t, o);
4042
+ return Ti(e, t, o);
4043
4043
  }
4044
4044
  };
4045
4045
  let rt;
4046
4046
  const se = xe({});
4047
- function Ti(e) {
4047
+ function Hi(e) {
4048
4048
  return rt[e] || null;
4049
4049
  }
4050
4050
  function mr(e) {
4051
4051
  return e in rt;
4052
4052
  }
4053
- function Hi(e, t) {
4053
+ function Ai(e, t) {
4054
4054
  if (!mr(e))
4055
4055
  return null;
4056
- const r = Ti(e);
4057
- return Si(r, t);
4056
+ const r = Hi(e);
4057
+ return wi(r, t);
4058
4058
  }
4059
- function Ai(e) {
4059
+ function Bi(e) {
4060
4060
  if (e == null)
4061
4061
  return;
4062
4062
  const t = we(e);
@@ -4067,7 +4067,7 @@ function Ai(e) {
4067
4067
  }
4068
4068
  }
4069
4069
  function pr(e, ...t) {
4070
- delete $[e], se.update((r) => (r[e] = Pn.all([r[e] || {}, ...t]), r));
4070
+ delete $[e], se.update((r) => (r[e] = On.all([r[e] || {}, ...t]), r));
4071
4071
  }
4072
4072
  J(
4073
4073
  [se],
@@ -4075,13 +4075,13 @@ J(
4075
4075
  );
4076
4076
  se.subscribe((e) => rt = e);
4077
4077
  const de = {};
4078
- function Bi(e, t) {
4078
+ function Ci(e, t) {
4079
4079
  de[e].delete(t), de[e].size === 0 && delete de[e];
4080
4080
  }
4081
4081
  function dr(e) {
4082
4082
  return de[e];
4083
4083
  }
4084
- function Ci(e) {
4084
+ function Pi(e) {
4085
4085
  return we(e).map((t) => {
4086
4086
  const r = dr(t);
4087
4087
  return [t, r ? [...r] : []];
@@ -4095,19 +4095,19 @@ function qe(e) {
4095
4095
  }
4096
4096
  );
4097
4097
  }
4098
- function Pi(e, t) {
4098
+ function Oi(e, t) {
4099
4099
  return Promise.all(
4100
- t.map((n) => (Bi(e, n), n().then((i) => i.default || i)))
4100
+ t.map((n) => (Ci(e, n), n().then((i) => i.default || i)))
4101
4101
  ).then((n) => pr(e, ...n));
4102
4102
  }
4103
4103
  const K = {};
4104
4104
  function br(e) {
4105
4105
  if (!qe(e))
4106
4106
  return e in K ? K[e] : Promise.resolve();
4107
- const t = Ci(e);
4107
+ const t = Pi(e);
4108
4108
  return K[e] = Promise.all(
4109
4109
  t.map(
4110
- ([r, n]) => Pi(r, n)
4110
+ ([r, n]) => Oi(r, n)
4111
4111
  )
4112
4112
  ).then(() => {
4113
4113
  if (qe(e))
@@ -4115,7 +4115,7 @@ function br(e) {
4115
4115
  delete K[e];
4116
4116
  }), K[e];
4117
4117
  }
4118
- const Oi = {
4118
+ const Ii = {
4119
4119
  number: {
4120
4120
  scientific: { notation: "scientific" },
4121
4121
  engineering: { notation: "engineering" },
@@ -4144,26 +4144,26 @@ const Oi = {
4144
4144
  timeZoneName: "short"
4145
4145
  }
4146
4146
  }
4147
- }, Ii = {
4147
+ }, Ni = {
4148
4148
  fallbackLocale: null,
4149
4149
  loadingDelay: 200,
4150
- formats: Oi,
4150
+ formats: Ii,
4151
4151
  warnOnMissingMessages: !0,
4152
4152
  handleMissingMessage: void 0,
4153
4153
  ignoreTag: !0
4154
- }, Ni = Ii;
4154
+ }, Mi = Ni;
4155
4155
  function z() {
4156
- return Ni;
4156
+ return Mi;
4157
4157
  }
4158
4158
  const Me = xe(!1);
4159
- var Mi = Object.defineProperty, Li = Object.defineProperties, Ri = Object.getOwnPropertyDescriptors, Bt = Object.getOwnPropertySymbols, $i = Object.prototype.hasOwnProperty, Gi = Object.prototype.propertyIsEnumerable, Ct = (e, t, r) => t in e ? Mi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ui = (e, t) => {
4159
+ var Li = Object.defineProperty, Ri = Object.defineProperties, $i = Object.getOwnPropertyDescriptors, Bt = Object.getOwnPropertySymbols, Gi = Object.prototype.hasOwnProperty, Ui = Object.prototype.propertyIsEnumerable, Ct = (e, t, r) => t in e ? Li(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Di = (e, t) => {
4160
4160
  for (var r in t || (t = {}))
4161
- $i.call(t, r) && Ct(e, r, t[r]);
4161
+ Gi.call(t, r) && Ct(e, r, t[r]);
4162
4162
  if (Bt)
4163
4163
  for (var r of Bt(t))
4164
- Gi.call(t, r) && Ct(e, r, t[r]);
4164
+ Ui.call(t, r) && Ct(e, r, t[r]);
4165
4165
  return e;
4166
- }, Di = (e, t) => Li(e, Ri(t));
4166
+ }, Fi = (e, t) => Ri(e, $i(t));
4167
4167
  let Ke;
4168
4168
  const ge = xe(null);
4169
4169
  function Pt(e) {
@@ -4179,8 +4179,8 @@ function G() {
4179
4179
  ge.subscribe((e) => {
4180
4180
  Ke = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4181
4181
  });
4182
- const Fi = (e) => {
4183
- if (e && Ai(e) && qe(e)) {
4182
+ const ji = (e) => {
4183
+ if (e && Bi(e) && qe(e)) {
4184
4184
  const { loadingDelay: t } = z();
4185
4185
  let r;
4186
4186
  return typeof window != "undefined" && G() != null && t ? r = window.setTimeout(
@@ -4193,8 +4193,8 @@ const Fi = (e) => {
4193
4193
  });
4194
4194
  }
4195
4195
  return ge.set(e);
4196
- }, Y = Di(Ui({}, ge), {
4197
- set: Fi
4196
+ }, Y = Fi(Di({}, ge), {
4197
+ set: ji
4198
4198
  }), Te = (e) => {
4199
4199
  const t = /* @__PURE__ */ Object.create(null);
4200
4200
  return (n) => {
@@ -4202,7 +4202,7 @@ const Fi = (e) => {
4202
4202
  return i in t ? t[i] : t[i] = e(n);
4203
4203
  };
4204
4204
  };
4205
- var ji = Object.defineProperty, ve = Object.getOwnPropertySymbols, gr = Object.prototype.hasOwnProperty, vr = Object.prototype.propertyIsEnumerable, Ot = (e, t, r) => t in e ? ji(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, nt = (e, t) => {
4205
+ var ki = Object.defineProperty, ve = Object.getOwnPropertySymbols, gr = Object.prototype.hasOwnProperty, vr = Object.prototype.propertyIsEnumerable, Ot = (e, t, r) => t in e ? ki(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, nt = (e, t) => {
4206
4206
  for (var r in t || (t = {}))
4207
4207
  gr.call(t, r) && Ot(e, r, t[r]);
4208
4208
  if (ve)
@@ -4223,21 +4223,21 @@ const ne = (e, t) => {
4223
4223
  if (e in r && t in r[e])
4224
4224
  return r[e][t];
4225
4225
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4226
- }, ki = Te(
4226
+ }, Vi = Te(
4227
4227
  (e) => {
4228
4228
  var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
4229
4229
  if (r == null)
4230
4230
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4231
4231
  return n && (i = ne("number", n)), new Intl.NumberFormat(r, i);
4232
4232
  }
4233
- ), Vi = Te(
4233
+ ), Xi = Te(
4234
4234
  (e) => {
4235
4235
  var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
4236
4236
  if (r == null)
4237
4237
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4238
4238
  return n ? i = ne("date", n) : Object.keys(i).length === 0 && (i = ne("date", "short")), new Intl.DateTimeFormat(r, i);
4239
4239
  }
4240
- ), Xi = Te(
4240
+ ), Wi = Te(
4241
4241
  (e) => {
4242
4242
  var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
4243
4243
  if (r == null)
@@ -4246,33 +4246,33 @@ const ne = (e, t) => {
4246
4246
  );
4247
4247
  return n ? i = ne("time", n) : Object.keys(i).length === 0 && (i = ne("time", "short")), new Intl.DateTimeFormat(r, i);
4248
4248
  }
4249
- ), Wi = (e = {}) => {
4249
+ ), zi = (e = {}) => {
4250
4250
  var t = e, {
4251
4251
  locale: r = G()
4252
4252
  } = t, n = q(t, [
4253
4253
  "locale"
4254
4254
  ]);
4255
- return ki(nt({ locale: r }, n));
4256
- }, zi = (e = {}) => {
4255
+ return Vi(nt({ locale: r }, n));
4256
+ }, Zi = (e = {}) => {
4257
4257
  var t = e, {
4258
4258
  locale: r = G()
4259
4259
  } = t, n = q(t, [
4260
4260
  "locale"
4261
4261
  ]);
4262
- return Vi(nt({ locale: r }, n));
4263
- }, Zi = (e = {}) => {
4262
+ return Xi(nt({ locale: r }, n));
4263
+ }, Qi = (e = {}) => {
4264
4264
  var t = e, {
4265
4265
  locale: r = G()
4266
4266
  } = t, n = q(t, [
4267
4267
  "locale"
4268
4268
  ]);
4269
- return Xi(nt({ locale: r }, n));
4270
- }, Qi = Te(
4269
+ return Wi(nt({ locale: r }, n));
4270
+ }, Ji = Te(
4271
4271
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4272
- (e, t = G()) => new Ei(e, t, z().formats, {
4272
+ (e, t = G()) => new Si(e, t, z().formats, {
4273
4273
  ignoreTag: z().ignoreTag
4274
4274
  })
4275
- ), Ji = (e, t = {}) => {
4275
+ ), Yi = (e, t = {}) => {
4276
4276
  var r, n, i, o;
4277
4277
  let s = t;
4278
4278
  typeof e == "object" && (s = e, e = s.id);
@@ -4294,28 +4294,28 @@ const ne = (e, t) => {
4294
4294
  ), h;
4295
4295
  if (!a)
4296
4296
  return h;
4297
- let c = h;
4297
+ let f = h;
4298
4298
  try {
4299
- c = Qi(h, l).format(a);
4300
- } catch (f) {
4301
- f instanceof Error && console.warn(
4299
+ f = Ji(h, l).format(a);
4300
+ } catch (c) {
4301
+ c instanceof Error && console.warn(
4302
4302
  `[svelte-i18n] Message "${e}" has syntax error:`,
4303
- f.message
4303
+ c.message
4304
4304
  );
4305
4305
  }
4306
- return c;
4307
- }, Yi = (e, t) => Zi(t).format(e), qi = (e, t) => zi(t).format(e), Ki = (e, t) => Wi(t).format(e), eo = (e, t = G()) => fr(e, t), to = J([Y, se], () => Ji);
4308
- J([Y], () => Yi);
4306
+ return f;
4307
+ }, qi = (e, t) => Qi(t).format(e), Ki = (e, t) => Zi(t).format(e), eo = (e, t) => zi(t).format(e), to = (e, t = G()) => fr(e, t), ro = J([Y, se], () => Yi);
4309
4308
  J([Y], () => qi);
4310
4309
  J([Y], () => Ki);
4311
- J([Y, se], () => eo);
4312
- window.emWidgets = { topic: mn };
4313
- const ro = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4310
+ J([Y], () => eo);
4311
+ J([Y, se], () => to);
4312
+ window.emWidgets = { topic: pn };
4313
+ const no = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4314
4314
  String(Number.MAX_SAFE_INTEGER).length;
4315
4315
  function It(e, t) {
4316
4316
  pr(e, t);
4317
4317
  }
4318
- function no(e) {
4318
+ function io(e) {
4319
4319
  Y.set(e);
4320
4320
  }
4321
4321
  const Nt = {
@@ -4364,13 +4364,13 @@ const Nt = {
4364
4364
  confirm: "Confirm"
4365
4365
  }
4366
4366
  };
4367
- function io(e, t) {
4367
+ function oo(e, t) {
4368
4368
  if (e) {
4369
4369
  const r = document.createElement("style");
4370
4370
  r.innerHTML = t, e.appendChild(r);
4371
4371
  }
4372
4372
  }
4373
- function oo(e, t) {
4373
+ function so(e, t) {
4374
4374
  if (!e || !t)
4375
4375
  return;
4376
4376
  const r = new URL(t);
@@ -4381,7 +4381,7 @@ function oo(e, t) {
4381
4381
  console.error("There was an error while trying to load client styling from URL", n);
4382
4382
  });
4383
4383
  }
4384
- function so(e, t, r) {
4384
+ function ao(e, t, r) {
4385
4385
  if (window.emMessageBus) {
4386
4386
  const n = document.createElement("style");
4387
4387
  window.emMessageBus.subscribe(t, (i) => {
@@ -4389,18 +4389,18 @@ function so(e, t, r) {
4389
4389
  });
4390
4390
  }
4391
4391
  }
4392
- function ao(e) {
4393
- Nr(e, "svelte-8g0wf4", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GeneralConfirmationWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:var(--emw--color-background, rgba(0, 0, 0, 0.7));display:flex;justify-content:center;align-items:center;z-index:300;color:var(--emw--color-typography, #ffffff)}.GeneralConfirmationTitle{margin-bottom:20px}.GeneralConfirmationContainer{position:relative;background:linear-gradient(to right, var(--emw--color-primary-variant, #184026), var(--emw--color-secondary-variant, #013e5c));border:5px solid transparent;padding:60px 30px 30px;background-clip:padding-box;border-radius:var(--emw--border-radius-medium, 10px);text-align:center}.GeneralConfirmationContainer::before{content:"";position:absolute;top:-4px;left:-8px;width:103%;height:105%;z-index:-1;background:linear-gradient(to right, var(--emw--color-primary, #22b04e), color-mix(in srgb, var(--emw--color-secondary, #e98b0f) 80%, black 20%), #22b04e);opacity:0.5;border-radius:inherit;filter:blur(6px)}.GeneralConfirmationContainer::after{position:absolute;top:-4px;bottom:-4px;left:-4px;right:-4px;background:linear-gradient(to right, color-mix(in srgb, var(--emw--color-primary-variant, #184026) 80%, white 10%), color-mix(in srgb, var(--emw--color-secondary-variant, #013e5c) 80%, white 10%));content:"";z-index:-1;border-radius:var(--emw--border-radius-medium, 10px)}.GeneralConfirmationContainerMobile{padding:40px;max-width:330px}.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralCancelButton,.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralConfirmButton{width:120px;height:auto;font-size:var(--emw--font-size-x-small, 12px)}.GeneralConfirmationContent{font-size:var(--emw--font-size-medium, 18px);font-weight:300}.GeneralConfirmationControlArea{display:flex;gap:10px;direction:ltr;margin-top:30px}.GeneralConfirmationControlArea .GeneralCancelButton,.GeneralConfirmationControlArea .GeneralConfirmButton{flex:1;background:transparent;border:1px solid var(--emw--color-gray-100, #bfcbc3);color:var(--emw--color-gray-100, #bfcbc3);cursor:pointer;border-radius:var(--emw--button-border-radius, 50px);width:200px;height:50px;font-size:var(--emw--font-size-small, 16px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.GeneralConfirmationControlArea .GeneralConfirmButton{background-color:var(--emw--color-primary, #22b04e);border:2px solid var(--emw--button-border-color, #063b17);border-radius:var(--emw--button-border-radius, 50px);color:var(--emw--button-typography, var(--emw--button-text-color, #ffffff))}.ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:5px;right:5px;padding:8px;border-radius:50%;cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:35px;height:40px}.ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.GeneralConfirmationMobileWrapper{border:none;padding:0}');
4392
+ function uo(e) {
4393
+ Mr(e, "svelte-8g0wf4", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GeneralConfirmationWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:var(--emw--color-background, rgba(0, 0, 0, 0.7));display:flex;justify-content:center;align-items:center;z-index:300;color:var(--emw--color-typography, #ffffff)}.GeneralConfirmationTitle{margin-bottom:20px}.GeneralConfirmationContainer{position:relative;background:linear-gradient(to right, var(--emw--color-primary-variant, #184026), var(--emw--color-secondary-variant, #013e5c));border:5px solid transparent;padding:60px 30px 30px;background-clip:padding-box;border-radius:var(--emw--border-radius-medium, 10px);text-align:center}.GeneralConfirmationContainer::before{content:"";position:absolute;top:-4px;left:-8px;width:103%;height:105%;z-index:-1;background:linear-gradient(to right, var(--emw--color-primary, #22b04e), color-mix(in srgb, var(--emw--color-secondary, #e98b0f) 80%, black 20%), #22b04e);opacity:0.5;border-radius:inherit;filter:blur(6px)}.GeneralConfirmationContainer::after{position:absolute;top:-4px;bottom:-4px;left:-4px;right:-4px;background:linear-gradient(to right, color-mix(in srgb, var(--emw--color-primary-variant, #184026) 80%, white 10%), color-mix(in srgb, var(--emw--color-secondary-variant, #013e5c) 80%, white 10%));content:"";z-index:-1;border-radius:var(--emw--border-radius-medium, 10px)}.GeneralConfirmationContainerMobile{padding:40px;max-width:330px}.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralCancelButton,.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralConfirmButton{width:120px;height:auto;font-size:var(--emw--font-size-x-small, 12px)}.GeneralConfirmationContent{font-size:var(--emw--font-size-medium, 18px);font-weight:300}.GeneralConfirmationControlArea{display:flex;gap:10px;direction:ltr;margin-top:30px}.GeneralConfirmationControlArea .GeneralCancelButton,.GeneralConfirmationControlArea .GeneralConfirmButton{flex:1;background:transparent;border:1px solid var(--emw--color-gray-100, #bfcbc3);color:var(--emw--color-gray-100, #bfcbc3);cursor:pointer;border-radius:var(--emw--button-border-radius, 50px);width:200px;height:50px;font-size:var(--emw--font-size-small, 16px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.GeneralConfirmationControlArea .GeneralConfirmButton{background-color:var(--emw--color-primary, #22b04e);border:2px solid var(--emw--button-border-color, #063b17);border-radius:var(--emw--button-border-radius, 50px);color:var(--emw--button-typography, var(--emw--button-text-color, #ffffff))}.ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:5px;right:5px;padding:8px;border-radius:50%;cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:35px;height:40px}.ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.GeneralConfirmationMobileWrapper{border:none;padding:0}');
4394
4394
  }
4395
- const uo = (e) => ({}), Mt = (e) => ({});
4396
- function lo(e) {
4395
+ const lo = (e) => ({}), Mt = (e) => ({});
4396
+ function ho(e) {
4397
4397
  let t, r;
4398
4398
  return {
4399
4399
  c() {
4400
4400
  t = ht("svg"), r = ht("path"), T(r, "stroke-linecap", "round"), T(r, "stroke-linejoin", "round"), T(r, "stroke-width", "2"), T(r, "d", "M6 18L18 6M6 6l12 12"), T(t, "class", "w-6 h-6"), T(t, "fill", "none"), T(t, "stroke", "currentColor"), T(t, "viewBox", "0 0 24 24"), T(t, "xmlns", "http://www.w3.org/2000/svg");
4401
4401
  },
4402
4402
  m(n, i) {
4403
- ie(n, t, i), B(t, r);
4403
+ ie(n, t, i), C(t, r);
4404
4404
  },
4405
4405
  p: L,
4406
4406
  d(n) {
@@ -4418,7 +4418,7 @@ function Lt(e) {
4418
4418
  ), T(t, "class", "GeneralConfirmationTitle");
4419
4419
  },
4420
4420
  m(i, o) {
4421
- ie(i, t, o), B(t, r), B(r, n);
4421
+ ie(i, t, o), C(t, r), C(r, n);
4422
4422
  },
4423
4423
  p(i, o) {
4424
4424
  o & /*modaltitle*/
@@ -4443,11 +4443,11 @@ function Rt(e) {
4443
4443
  t = N("button"), n = ye(r), T(t, "class", "GeneralCancelButton");
4444
4444
  },
4445
4445
  m(s, a) {
4446
- ie(s, t, a), B(t, n), i || (o = Le(
4446
+ ie(s, t, a), C(t, n), i || (o = Le(
4447
4447
  t,
4448
4448
  "click",
4449
4449
  /*click_handler*/
4450
- e[17]
4450
+ e[18]
4451
4451
  ), i = !0);
4452
4452
  },
4453
4453
  p(s, a) {
@@ -4460,38 +4460,38 @@ function Rt(e) {
4460
4460
  }
4461
4461
  };
4462
4462
  }
4463
- function ho(e) {
4464
- let t, r, n, i, o, s, a, l, u, h, c = (
4463
+ function co(e) {
4464
+ let t, r, n, i, o, s, a, l, u, h, f = (
4465
4465
  /*$_*/
4466
4466
  e[4]("confirm") + ""
4467
- ), f, m, v, d;
4468
- const S = (
4467
+ ), c, m, y, b;
4468
+ const H = (
4469
4469
  /*#slots*/
4470
- e[16].close
4471
- ), P = Cr(
4472
- S,
4470
+ e[17].close
4471
+ ), S = Pr(
4472
+ H,
4473
4473
  e,
4474
4474
  /*$$scope*/
4475
- e[15],
4475
+ e[16],
4476
4476
  Mt
4477
- ), H = P || lo();
4477
+ ), A = S || ho();
4478
4478
  let _ = (
4479
4479
  /*modaltitle*/
4480
4480
  e[1] && Lt(e)
4481
- ), x = (
4481
+ ), E = (
4482
4482
  /*hascancelbutton*/
4483
4483
  e[2] && Rt(e)
4484
4484
  );
4485
4485
  return {
4486
4486
  c() {
4487
- t = N("div"), r = N("div"), n = N("span"), H && H.c(), i = ue(), _ && _.c(), o = ue(), s = N("div"), a = ue(), l = N("div"), x && x.c(), u = ue(), h = N("button"), f = ye(c), T(n, "class", "ModalCloseBtn"), T(n, "role", "button"), T(s, "class", "GeneralConfirmationContent"), T(h, "class", "GeneralConfirmButton"), T(l, "class", "GeneralConfirmationControlArea " + /*isMobile*/
4487
+ t = N("div"), r = N("div"), n = N("span"), A && A.c(), i = ue(), _ && _.c(), o = ue(), s = N("div"), a = ue(), l = N("div"), E && E.c(), u = ue(), h = N("button"), c = ye(f), T(n, "class", "ModalCloseBtn"), T(n, "role", "button"), T(s, "class", "GeneralConfirmationContent"), T(h, "class", "GeneralConfirmButton"), T(l, "class", "GeneralConfirmationControlArea " + /*isMobile*/
4488
4488
  (e[5] ? "GeneralConfirmationControlAreaMobile" : "")), T(r, "class", "GeneralConfirmationContainer " + /*isMobile*/
4489
4489
  (e[5] ? "GeneralConfirmationContainerMobile" : "")), T(t, "class", "GeneralConfirmationWrapper " + /*isMobile*/
4490
4490
  (e[5] ? "GeneralConfirmationMobileWrapper" : ""));
4491
4491
  },
4492
- m(y, A) {
4493
- ie(y, t, A), B(t, r), B(r, n), H && H.m(n, null), B(r, i), _ && _.m(r, null), B(r, o), B(r, s), s.innerHTML = /*modaltext*/
4494
- e[0], B(r, a), B(r, l), x && x.m(l, null), B(l, u), B(l, h), B(h, f), e[19](t), m = !0, v || (d = [
4492
+ m(v, B) {
4493
+ ie(v, t, B), C(t, r), C(r, n), A && A.m(n, null), C(r, i), _ && _.m(r, null), C(r, o), C(r, s), s.innerHTML = /*modaltext*/
4494
+ e[0], C(r, a), C(r, l), E && E.m(l, null), C(l, u), C(l, h), C(h, c), e[20](t), m = !0, y || (b = [
4495
4495
  Le(
4496
4496
  n,
4497
4497
  "click",
@@ -4502,58 +4502,66 @@ function ho(e) {
4502
4502
  h,
4503
4503
  "click",
4504
4504
  /*click_handler_1*/
4505
- e[18]
4505
+ e[19]
4506
4506
  )
4507
- ], v = !0);
4507
+ ], y = !0);
4508
4508
  },
4509
- p(y, [A]) {
4510
- P && P.p && (!m || A & /*$$scope*/
4511
- 32768) && Or(
4512
- P,
4509
+ p(v, [B]) {
4510
+ S && S.p && (!m || B & /*$$scope*/
4511
+ 65536) && Ir(
4513
4512
  S,
4514
- y,
4513
+ H,
4514
+ v,
4515
4515
  /*$$scope*/
4516
- y[15],
4517
- m ? Pr(
4518
- S,
4516
+ v[16],
4517
+ m ? Or(
4518
+ H,
4519
4519
  /*$$scope*/
4520
- y[15],
4521
- A,
4522
- uo
4523
- ) : Ir(
4520
+ v[16],
4521
+ B,
4522
+ lo
4523
+ ) : Nr(
4524
4524
  /*$$scope*/
4525
- y[15]
4525
+ v[16]
4526
4526
  ),
4527
4527
  Mt
4528
4528
  ), /*modaltitle*/
4529
- y[1] ? _ ? _.p(y, A) : (_ = Lt(y), _.c(), _.m(r, o)) : _ && (_.d(1), _ = null), (!m || A & /*modaltext*/
4529
+ v[1] ? _ ? _.p(v, B) : (_ = Lt(v), _.c(), _.m(r, o)) : _ && (_.d(1), _ = null), (!m || B & /*modaltext*/
4530
4530
  1) && (s.innerHTML = /*modaltext*/
4531
- y[0]), /*hascancelbutton*/
4532
- y[2] ? x ? x.p(y, A) : (x = Rt(y), x.c(), x.m(l, u)) : x && (x.d(1), x = null), (!m || A & /*$_*/
4533
- 16) && c !== (c = /*$_*/
4534
- y[4]("confirm") + "") && tt(f, c);
4531
+ v[0]), /*hascancelbutton*/
4532
+ v[2] ? E ? E.p(v, B) : (E = Rt(v), E.c(), E.m(l, u)) : E && (E.d(1), E = null), (!m || B & /*$_*/
4533
+ 16) && f !== (f = /*$_*/
4534
+ v[4]("confirm") + "") && tt(c, f);
4535
4535
  },
4536
- i(y) {
4537
- m || (Ft(H, y), m = !0);
4536
+ i(v) {
4537
+ m || (Ft(A, v), m = !0);
4538
4538
  },
4539
- o(y) {
4540
- Xr(H, y), m = !1;
4539
+ o(v) {
4540
+ Wr(A, v), m = !1;
4541
4541
  },
4542
- d(y) {
4543
- y && Q(t), H && H.d(y), _ && _.d(), x && x.d(), e[19](null), v = !1, Z(d);
4542
+ d(v) {
4543
+ v && Q(t), A && A.d(v), _ && _.d(), E && E.d(), e[20](null), y = !1, Z(b);
4544
4544
  }
4545
4545
  };
4546
4546
  }
4547
- function co(e, t, r) {
4547
+ function fo(e, t, r) {
4548
4548
  let n;
4549
- Br(e, to, (b) => r(4, n = b));
4550
- let { $$slots: i = {}, $$scope: o } = t, { modaltext: s = "Are you sure that you want to perform this action?" } = t, { modaltitle: a = "" } = t, { hascancelbutton: l = !1 } = t, { modalconfirmevent: u = {} } = t, { modalcancelevent: h = {} } = t, { lang: c = "en" } = t, { clientstyling: f = "" } = t, { clientstylingurl: m = "" } = t, { translationurl: v = "" } = t, { mbsource: d } = t, S, P = window.navigator.userAgent, H = ro(P) !== "PC";
4551
- const _ = () => {
4549
+ Cr(e, ro, (p) => r(4, n = p));
4550
+ 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, { modalconfirmdata: f = {} } = t, { lang: c = "en" } = t, { clientstyling: m = "" } = t, { clientstylingurl: y = "" } = t, { translationurl: b = "" } = t, { mbsource: H } = t, S, A = window.navigator.userAgent, _ = no(A) !== "PC";
4551
+ const E = () => {
4552
4552
  window.postMessage({ type: "ModalClosed" }, window.location.href);
4553
- }, x = (b) => {
4554
- b === "confirm" && u && window.postMessage(u, window.location.href), b === "cancel" && h && window.postMessage(h, window.location.href), _();
4555
- }, y = () => {
4556
- fetch(v).then((U) => U.json()).then((U) => {
4553
+ }, v = (p) => {
4554
+ p === "confirm" && u && S.dispatchEvent(new CustomEvent(
4555
+ u,
4556
+ {
4557
+ detail: f,
4558
+ // payload
4559
+ bubbles: !0,
4560
+ composed: !0
4561
+ }
4562
+ )), p === "cancel" && h && S.dispatchEvent(new CustomEvent(h, { bubbles: !0, composed: !0 })), E();
4563
+ }, B = () => {
4564
+ fetch(b).then((U) => U.json()).then((U) => {
4557
4565
  Object.keys(U).forEach((it) => {
4558
4566
  It(it, U[it]);
4559
4567
  });
@@ -4561,59 +4569,60 @@ function co(e, t, r) {
4561
4569
  console.log(U);
4562
4570
  });
4563
4571
  };
4564
- Object.keys(Nt).forEach((b) => {
4565
- It(b, Nt[b]);
4572
+ Object.keys(Nt).forEach((p) => {
4573
+ It(p, Nt[p]);
4566
4574
  });
4567
- const A = () => {
4568
- no(c);
4575
+ const ae = () => {
4576
+ io(c);
4569
4577
  };
4570
- Ur(() => () => {
4578
+ Dr(() => () => {
4571
4579
  });
4572
- const ae = () => x("cancel"), yr = () => x("confirm");
4573
- function _r(b) {
4574
- Re[b ? "unshift" : "push"](() => {
4575
- S = b, r(3, S);
4580
+ const yr = () => v("cancel"), _r = () => v("confirm");
4581
+ function xr(p) {
4582
+ Re[p ? "unshift" : "push"](() => {
4583
+ S = p, r(3, S);
4576
4584
  });
4577
4585
  }
4578
- return e.$$set = (b) => {
4579
- "modaltext" in b && r(0, s = b.modaltext), "modaltitle" in b && r(1, a = b.modaltitle), "hascancelbutton" in b && r(2, l = b.hascancelbutton), "modalconfirmevent" in b && r(8, u = b.modalconfirmevent), "modalcancelevent" in b && r(9, h = b.modalcancelevent), "lang" in b && r(10, c = b.lang), "clientstyling" in b && r(11, f = b.clientstyling), "clientstylingurl" in b && r(12, m = b.clientstylingurl), "translationurl" in b && r(13, v = b.translationurl), "mbsource" in b && r(14, d = b.mbsource), "$$scope" in b && r(15, o = b.$$scope);
4586
+ return e.$$set = (p) => {
4587
+ "modaltext" in p && r(0, s = p.modaltext), "modaltitle" in p && r(1, a = p.modaltitle), "hascancelbutton" in p && r(2, l = p.hascancelbutton), "modalconfirmevent" in p && r(8, u = p.modalconfirmevent), "modalcancelevent" in p && r(9, h = p.modalcancelevent), "modalconfirmdata" in p && r(10, f = p.modalconfirmdata), "lang" in p && r(11, c = p.lang), "clientstyling" in p && r(12, m = p.clientstyling), "clientstylingurl" in p && r(13, y = p.clientstylingurl), "translationurl" in p && r(14, b = p.translationurl), "mbsource" in p && r(15, H = p.mbsource), "$$scope" in p && r(16, o = p.$$scope);
4580
4588
  }, e.$$.update = () => {
4581
4589
  e.$$.dirty & /*modaltext, lang*/
4582
- 1025 && s && c && A(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4583
- 2056 && f && S && io(S, f), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4584
- 4104 && m && S && oo(S, m), e.$$.dirty & /*mbsource, customStylingContainer*/
4585
- 16392 && d && S && so(S, `${d}.Style`), e.$$.dirty & /*translationurl*/
4586
- 8192 && v && y();
4590
+ 2049 && s && c && ae(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4591
+ 4104 && m && S && oo(S, m), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4592
+ 8200 && y && S && so(S, y), e.$$.dirty & /*mbsource, customStylingContainer*/
4593
+ 32776 && H && S && ao(S, `${H}.Style`), e.$$.dirty & /*translationurl*/
4594
+ 16384 && b && B();
4587
4595
  }, [
4588
4596
  s,
4589
4597
  a,
4590
4598
  l,
4591
4599
  S,
4592
4600
  n,
4593
- H,
4594
4601
  _,
4595
- x,
4602
+ E,
4603
+ v,
4596
4604
  u,
4597
4605
  h,
4598
- c,
4599
4606
  f,
4607
+ c,
4600
4608
  m,
4601
- v,
4602
- d,
4609
+ y,
4610
+ b,
4611
+ H,
4603
4612
  o,
4604
4613
  i,
4605
- ae,
4606
4614
  yr,
4607
- _r
4615
+ _r,
4616
+ xr
4608
4617
  ];
4609
4618
  }
4610
- class fo extends Yr {
4619
+ class mo extends qr {
4611
4620
  constructor(t) {
4612
- super(), Qr(
4621
+ super(), Jr(
4613
4622
  this,
4614
4623
  t,
4624
+ fo,
4615
4625
  co,
4616
- ho,
4617
4626
  Gt,
4618
4627
  {
4619
4628
  modaltext: 0,
@@ -4621,77 +4630,84 @@ class fo extends Yr {
4621
4630
  hascancelbutton: 2,
4622
4631
  modalconfirmevent: 8,
4623
4632
  modalcancelevent: 9,
4624
- lang: 10,
4625
- clientstyling: 11,
4626
- clientstylingurl: 12,
4627
- translationurl: 13,
4628
- mbsource: 14
4633
+ modalconfirmdata: 10,
4634
+ lang: 11,
4635
+ clientstyling: 12,
4636
+ clientstylingurl: 13,
4637
+ translationurl: 14,
4638
+ mbsource: 15
4629
4639
  },
4630
- ao
4640
+ uo
4631
4641
  );
4632
4642
  }
4633
4643
  get modaltext() {
4634
4644
  return this.$$.ctx[0];
4635
4645
  }
4636
4646
  set modaltext(t) {
4637
- this.$$set({ modaltext: t }), I();
4647
+ this.$$set({ modaltext: t }), O();
4638
4648
  }
4639
4649
  get modaltitle() {
4640
4650
  return this.$$.ctx[1];
4641
4651
  }
4642
4652
  set modaltitle(t) {
4643
- this.$$set({ modaltitle: t }), I();
4653
+ this.$$set({ modaltitle: t }), O();
4644
4654
  }
4645
4655
  get hascancelbutton() {
4646
4656
  return this.$$.ctx[2];
4647
4657
  }
4648
4658
  set hascancelbutton(t) {
4649
- this.$$set({ hascancelbutton: t }), I();
4659
+ this.$$set({ hascancelbutton: t }), O();
4650
4660
  }
4651
4661
  get modalconfirmevent() {
4652
4662
  return this.$$.ctx[8];
4653
4663
  }
4654
4664
  set modalconfirmevent(t) {
4655
- this.$$set({ modalconfirmevent: t }), I();
4665
+ this.$$set({ modalconfirmevent: t }), O();
4656
4666
  }
4657
4667
  get modalcancelevent() {
4658
4668
  return this.$$.ctx[9];
4659
4669
  }
4660
4670
  set modalcancelevent(t) {
4661
- this.$$set({ modalcancelevent: t }), I();
4671
+ this.$$set({ modalcancelevent: t }), O();
4662
4672
  }
4663
- get lang() {
4673
+ get modalconfirmdata() {
4664
4674
  return this.$$.ctx[10];
4665
4675
  }
4676
+ set modalconfirmdata(t) {
4677
+ this.$$set({ modalconfirmdata: t }), O();
4678
+ }
4679
+ get lang() {
4680
+ return this.$$.ctx[11];
4681
+ }
4666
4682
  set lang(t) {
4667
- this.$$set({ lang: t }), I();
4683
+ this.$$set({ lang: t }), O();
4668
4684
  }
4669
4685
  get clientstyling() {
4670
- return this.$$.ctx[11];
4686
+ return this.$$.ctx[12];
4671
4687
  }
4672
4688
  set clientstyling(t) {
4673
- this.$$set({ clientstyling: t }), I();
4689
+ this.$$set({ clientstyling: t }), O();
4674
4690
  }
4675
4691
  get clientstylingurl() {
4676
- return this.$$.ctx[12];
4692
+ return this.$$.ctx[13];
4677
4693
  }
4678
4694
  set clientstylingurl(t) {
4679
- this.$$set({ clientstylingurl: t }), I();
4695
+ this.$$set({ clientstylingurl: t }), O();
4680
4696
  }
4681
4697
  get translationurl() {
4682
- return this.$$.ctx[13];
4698
+ return this.$$.ctx[14];
4683
4699
  }
4684
4700
  set translationurl(t) {
4685
- this.$$set({ translationurl: t }), I();
4701
+ this.$$set({ translationurl: t }), O();
4686
4702
  }
4687
4703
  get mbsource() {
4688
- return this.$$.ctx[14];
4704
+ return this.$$.ctx[15];
4689
4705
  }
4690
4706
  set mbsource(t) {
4691
- this.$$set({ mbsource: t }), I();
4707
+ this.$$set({ mbsource: t }), O();
4692
4708
  }
4693
4709
  }
4694
- Jr(fo, { modaltext: {}, modaltitle: {}, hascancelbutton: { type: "Boolean" }, modalconfirmevent: {}, modalcancelevent: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["close"], [], !0);
4710
+ Yr(mo, { modaltext: {}, modaltitle: {}, hascancelbutton: { type: "Boolean" }, modalconfirmevent: {}, modalcancelevent: {}, modalconfirmdata: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["close"], [], !0);
4695
4711
  export {
4696
- fo as default
4712
+ mo as default
4697
4713
  };