@everymatrix/player-account-general-confirmation-modal 1.76.1 → 1.76.4

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