@everymatrix/player-account-closure 1.87.26 → 1.87.28

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,47 +1,47 @@
1
1
  import "../stencil/ui-skeleton-W50o8tfg.js";
2
- function O() {
2
+ function P() {
3
3
  }
4
- function Bt(e) {
4
+ function Ht(e) {
5
5
  return e();
6
6
  }
7
- function nt() {
7
+ function it() {
8
8
  return /* @__PURE__ */ Object.create(null);
9
9
  }
10
- function K(e) {
11
- e.forEach(Bt);
10
+ function ee(e) {
11
+ e.forEach(Ht);
12
12
  }
13
- function Ke(e) {
13
+ function et(e) {
14
14
  return typeof e == "function";
15
15
  }
16
- function Ht(e, t) {
16
+ function Mt(e, t) {
17
17
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
18
18
  }
19
- function ur(e) {
19
+ function cr(e) {
20
20
  return Object.keys(e).length === 0;
21
21
  }
22
- function Mt(e, ...t) {
22
+ function Ot(e, ...t) {
23
23
  if (e == null) {
24
24
  for (const n of t)
25
25
  n(void 0);
26
- return O;
26
+ return P;
27
27
  }
28
28
  const r = e.subscribe(...t);
29
29
  return r.unsubscribe ? () => r.unsubscribe() : r;
30
30
  }
31
- function lr(e, t, r) {
32
- e.$$.on_destroy.push(Mt(t, r));
31
+ function hr(e, t, r) {
32
+ e.$$.on_destroy.push(Ot(t, r));
33
33
  }
34
34
  function g(e, t) {
35
35
  e.appendChild(t);
36
36
  }
37
- function cr(e, t, r) {
38
- const n = hr(e);
37
+ function fr(e, t, r) {
38
+ const n = pr(e);
39
39
  if (!n.getElementById(t)) {
40
40
  const i = B("style");
41
- i.id = t, i.textContent = r, fr(n, i);
41
+ i.id = t, i.textContent = r, dr(n, i);
42
42
  }
43
43
  }
44
- function hr(e) {
44
+ function pr(e) {
45
45
  if (!e)
46
46
  return document;
47
47
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -51,7 +51,7 @@ function hr(e) {
51
51
  t
52
52
  ) : e.ownerDocument;
53
53
  }
54
- function fr(e, t) {
54
+ function dr(e, t) {
55
55
  return g(
56
56
  /** @type {Document} */
57
57
  e.head || e,
@@ -64,7 +64,7 @@ function F(e, t, r) {
64
64
  function R(e) {
65
65
  e.parentNode && e.parentNode.removeChild(e);
66
66
  }
67
- function pr(e, t) {
67
+ function mr(e, t) {
68
68
  for (let r = 0; r < e.length; r += 1)
69
69
  e[r] && e[r].d(t);
70
70
  }
@@ -80,20 +80,20 @@ function $(e) {
80
80
  function U() {
81
81
  return $(" ");
82
82
  }
83
- function ve(e, t, r, n) {
83
+ function ge(e, t, r, n) {
84
84
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
85
85
  }
86
- function _(e, t, r) {
86
+ function x(e, t, r) {
87
87
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
88
88
  }
89
- function dr(e) {
89
+ function br(e) {
90
90
  return Array.from(e.childNodes);
91
91
  }
92
- function X(e, t) {
92
+ function Z(e, t) {
93
93
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
94
94
  t);
95
95
  }
96
- function mr(e) {
96
+ function vr(e) {
97
97
  const t = {};
98
98
  return e.childNodes.forEach(
99
99
  /** @param {Element} node */
@@ -102,98 +102,98 @@ function mr(e) {
102
102
  }
103
103
  ), t;
104
104
  }
105
- let oe;
106
- function ie(e) {
107
- oe = e;
105
+ let se;
106
+ function oe(e) {
107
+ se = e;
108
108
  }
109
- function br() {
110
- if (!oe)
109
+ function gr() {
110
+ if (!se)
111
111
  throw new Error("Function called outside component initialization");
112
- return oe;
112
+ return se;
113
113
  }
114
- function vr(e) {
115
- br().$$.on_mount.push(e);
114
+ function yr(e) {
115
+ gr().$$.on_mount.push(e);
116
116
  }
117
- const V = [], Le = [];
118
- let Z = [];
119
- const it = [], gr = /* @__PURE__ */ Promise.resolve();
120
- let $e = !1;
121
- function yr() {
122
- $e || ($e = !0, gr.then(D));
117
+ const V = [], $e = [];
118
+ let q = [];
119
+ const ot = [], _r = /* @__PURE__ */ Promise.resolve();
120
+ let Re = !1;
121
+ function xr() {
122
+ Re || (Re = !0, _r.then(D));
123
123
  }
124
- function Re(e) {
125
- Z.push(e);
124
+ function De(e) {
125
+ q.push(e);
126
126
  }
127
- const Te = /* @__PURE__ */ new Set();
127
+ const Be = /* @__PURE__ */ new Set();
128
128
  let W = 0;
129
129
  function D() {
130
130
  if (W !== 0)
131
131
  return;
132
- const e = oe;
132
+ const e = se;
133
133
  do {
134
134
  try {
135
135
  for (; W < V.length; ) {
136
136
  const t = V[W];
137
- W++, ie(t), _r(t.$$);
137
+ W++, oe(t), Er(t.$$);
138
138
  }
139
139
  } catch (t) {
140
140
  throw V.length = 0, W = 0, t;
141
141
  }
142
- for (ie(null), V.length = 0, W = 0; Le.length; )
143
- Le.pop()();
144
- for (let t = 0; t < Z.length; t += 1) {
145
- const r = Z[t];
146
- Te.has(r) || (Te.add(r), r());
142
+ for (oe(null), V.length = 0, W = 0; $e.length; )
143
+ $e.pop()();
144
+ for (let t = 0; t < q.length; t += 1) {
145
+ const r = q[t];
146
+ Be.has(r) || (Be.add(r), r());
147
147
  }
148
- Z.length = 0;
148
+ q.length = 0;
149
149
  } while (V.length);
150
- for (; it.length; )
151
- it.pop()();
152
- $e = !1, Te.clear(), ie(e);
150
+ for (; ot.length; )
151
+ ot.pop()();
152
+ Re = !1, Be.clear(), oe(e);
153
153
  }
154
- function _r(e) {
154
+ function Er(e) {
155
155
  if (e.fragment !== null) {
156
- e.update(), K(e.before_update);
156
+ e.update(), ee(e.before_update);
157
157
  const t = e.dirty;
158
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Re);
158
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(De);
159
159
  }
160
160
  }
161
- function xr(e) {
161
+ function wr(e) {
162
162
  const t = [], r = [];
163
- Z.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Z = t;
163
+ q.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), q = t;
164
164
  }
165
- const Er = /* @__PURE__ */ new Set();
166
- function wr(e, t) {
167
- e && e.i && (Er.delete(e), e.i(t));
165
+ const Sr = /* @__PURE__ */ new Set();
166
+ function Cr(e, t) {
167
+ e && e.i && (Sr.delete(e), e.i(t));
168
168
  }
169
- function Cr(e) {
169
+ function Ar(e) {
170
170
  return e?.length !== void 0 ? e : Array.from(e);
171
171
  }
172
- function Ar(e, t, r) {
172
+ function Tr(e, t, r) {
173
173
  const { fragment: n, after_update: i } = e.$$;
174
- n && n.m(t, r), Re(() => {
175
- const o = e.$$.on_mount.map(Bt).filter(Ke);
176
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : K(o), e.$$.on_mount = [];
177
- }), i.forEach(Re);
174
+ n && n.m(t, r), De(() => {
175
+ const o = e.$$.on_mount.map(Ht).filter(et);
176
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ee(o), e.$$.on_mount = [];
177
+ }), i.forEach(De);
178
178
  }
179
- function Sr(e, t) {
179
+ function Br(e, t) {
180
180
  const r = e.$$;
181
- r.fragment !== null && (xr(r.after_update), K(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
181
+ r.fragment !== null && (wr(r.after_update), ee(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
182
182
  }
183
- function Tr(e, t) {
184
- e.$$.dirty[0] === -1 && (V.push(e), yr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
183
+ function Hr(e, t) {
184
+ e.$$.dirty[0] === -1 && (V.push(e), xr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
185
185
  }
186
- function Br(e, t, r, n, i, o, s = null, a = [-1]) {
187
- const l = oe;
188
- ie(e);
186
+ function Mr(e, t, r, n, i, o, s = null, a = [-1]) {
187
+ const l = se;
188
+ oe(e);
189
189
  const u = e.$$ = {
190
190
  fragment: null,
191
191
  ctx: [],
192
192
  // state
193
193
  props: o,
194
- update: O,
194
+ update: P,
195
195
  not_equal: i,
196
- bound: nt(),
196
+ bound: it(),
197
197
  // lifecycle
198
198
  on_mount: [],
199
199
  on_destroy: [],
@@ -202,7 +202,7 @@ function Br(e, t, r, n, i, o, s = null, a = [-1]) {
202
202
  after_update: [],
203
203
  context: new Map(t.context || (l ? l.$$.context : [])),
204
204
  // everything else
205
- callbacks: nt(),
205
+ callbacks: it(),
206
206
  dirty: a,
207
207
  skip_bound: !1,
208
208
  root: t.target || l.$$.root
@@ -211,16 +211,16 @@ function Br(e, t, r, n, i, o, s = null, a = [-1]) {
211
211
  let c = !1;
212
212
  if (u.ctx = r ? r(e, t.props || {}, (h, f, ...p) => {
213
213
  const m = p.length ? p[0] : f;
214
- return u.ctx && i(u.ctx[h], u.ctx[h] = m) && (!u.skip_bound && u.bound[h] && u.bound[h](m), c && Tr(e, h)), f;
215
- }) : [], u.update(), c = !0, K(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
214
+ return u.ctx && i(u.ctx[h], u.ctx[h] = m) && (!u.skip_bound && u.bound[h] && u.bound[h](m), c && Hr(e, h)), f;
215
+ }) : [], u.update(), c = !0, ee(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
216
216
  if (t.hydrate) {
217
- const h = dr(t.target);
217
+ const h = br(t.target);
218
218
  u.fragment && u.fragment.l(h), h.forEach(R);
219
219
  } else
220
220
  u.fragment && u.fragment.c();
221
- t.intro && wr(e.$$.fragment), Ar(e, t.target, t.anchor), D();
221
+ t.intro && Cr(e.$$.fragment), Tr(e, t.target, t.anchor), D();
222
222
  }
223
- ie(l);
223
+ oe(l);
224
224
  }
225
225
  let Pt;
226
226
  typeof HTMLElement == "function" && (Pt = class extends HTMLElement {
@@ -265,7 +265,7 @@ typeof HTMLElement == "function" && (Pt = class extends HTMLElement {
265
265
  let o;
266
266
  return {
267
267
  c: function() {
268
- o = B("slot"), i !== "default" && _(o, "name", i);
268
+ o = B("slot"), i !== "default" && x(o, "name", i);
269
269
  },
270
270
  /**
271
271
  * @param {HTMLElement} target
@@ -282,12 +282,12 @@ typeof HTMLElement == "function" && (Pt = class extends HTMLElement {
282
282
  };
283
283
  if (await Promise.resolve(), !this.$$cn || this.$$c)
284
284
  return;
285
- const t = {}, r = mr(this);
285
+ const t = {}, r = vr(this);
286
286
  for (const i of this.$$s)
287
287
  i in r && (t[i] = [e(i)]);
288
288
  for (const i of this.attributes) {
289
289
  const o = this.$$g_p(i.name);
290
- o in this.$$d || (this.$$d[o] = pe(o, i.value, this.$$p_d, "toProp"));
290
+ o in this.$$d || (this.$$d[o] = de(o, i.value, this.$$p_d, "toProp"));
291
291
  }
292
292
  for (const i in this.$$p_d)
293
293
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -305,7 +305,7 @@ typeof HTMLElement == "function" && (Pt = class extends HTMLElement {
305
305
  this.$$r = !0;
306
306
  for (const i in this.$$p_d)
307
307
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
308
- const o = pe(
308
+ const o = de(
309
309
  i,
310
310
  this.$$d[i],
311
311
  this.$$p_d,
@@ -327,7 +327,7 @@ typeof HTMLElement == "function" && (Pt = class extends HTMLElement {
327
327
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
328
328
  // and setting attributes through setAttribute etc, this is helpful
329
329
  attributeChangedCallback(e, t, r) {
330
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = pe(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
330
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = de(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
331
331
  }
332
332
  disconnectedCallback() {
333
333
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -340,7 +340,7 @@ typeof HTMLElement == "function" && (Pt = class extends HTMLElement {
340
340
  ) || e;
341
341
  }
342
342
  });
343
- function pe(e, t, r, n) {
343
+ function de(e, t, r, n) {
344
344
  const i = r[e]?.type;
345
345
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
346
346
  return t;
@@ -369,7 +369,7 @@ function pe(e, t, r, n) {
369
369
  return t;
370
370
  }
371
371
  }
372
- function Hr(e, t, r, n, i, o) {
372
+ function Or(e, t, r, n, i, o) {
373
373
  let s = class extends Pt {
374
374
  constructor() {
375
375
  super(e, r, i), this.$$p_d = t;
@@ -386,7 +386,7 @@ function Hr(e, t, r, n, i, o) {
386
386
  return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
387
387
  },
388
388
  set(l) {
389
- l = pe(a, l, t), this.$$d[a] = l, this.$$c?.$set({ [a]: l });
389
+ l = de(a, l, t), this.$$d[a] = l, this.$$c?.$set({ [a]: l });
390
390
  }
391
391
  });
392
392
  }), n.forEach((a) => {
@@ -398,7 +398,7 @@ function Hr(e, t, r, n, i, o) {
398
398
  }), e.element = /** @type {any} */
399
399
  s, s;
400
400
  }
401
- class Mr {
401
+ class Pr {
402
402
  /**
403
403
  * ### PRIVATE API
404
404
  *
@@ -417,7 +417,7 @@ class Mr {
417
417
  $$set = void 0;
418
418
  /** @returns {void} */
419
419
  $destroy() {
420
- Sr(this, 1), this.$destroy = O;
420
+ Br(this, 1), this.$destroy = P;
421
421
  }
422
422
  /**
423
423
  * @template {Extract<keyof Events, string>} K
@@ -426,8 +426,8 @@ class Mr {
426
426
  * @returns {() => void}
427
427
  */
428
428
  $on(t, r) {
429
- if (!Ke(r))
430
- return O;
429
+ if (!et(r))
430
+ return P;
431
431
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
432
432
  return n.push(r), () => {
433
433
  const i = n.indexOf(r);
@@ -439,11 +439,11 @@ class Mr {
439
439
  * @returns {void}
440
440
  */
441
441
  $set(t) {
442
- this.$$set && !ur(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
442
+ this.$$set && !cr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
443
443
  }
444
444
  }
445
- const Pr = "4";
446
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Pr);
445
+ const Nr = "4";
446
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Nr);
447
447
  /*! *****************************************************************************
448
448
  Copyright (c) Microsoft Corporation.
449
449
 
@@ -458,24 +458,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
458
458
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
459
459
  PERFORMANCE OF THIS SOFTWARE.
460
460
  ***************************************************************************** */
461
- var De = function(e, t) {
462
- return De = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
461
+ var Ue = function(e, t) {
462
+ return Ue = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
463
463
  r.__proto__ = n;
464
464
  } || function(r, n) {
465
465
  for (var i in n)
466
466
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
467
- }, De(e, t);
467
+ }, Ue(e, t);
468
468
  };
469
- function ue(e, t) {
469
+ function le(e, t) {
470
470
  if (typeof t != "function" && t !== null)
471
471
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
472
- De(e, t);
472
+ Ue(e, t);
473
473
  function r() {
474
474
  this.constructor = e;
475
475
  }
476
476
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
477
477
  }
478
- function Ue(e) {
478
+ function Fe(e) {
479
479
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
480
480
  if (r)
481
481
  return r.call(e);
@@ -487,7 +487,7 @@ function Ue(e) {
487
487
  };
488
488
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
489
489
  }
490
- function Fe(e, t) {
490
+ function Ge(e, t) {
491
491
  var r = typeof Symbol == "function" && e[Symbol.iterator];
492
492
  if (!r)
493
493
  return e;
@@ -507,7 +507,7 @@ function Fe(e, t) {
507
507
  }
508
508
  return o;
509
509
  }
510
- function Ge(e, t, r) {
510
+ function je(e, t, r) {
511
511
  if (arguments.length === 2)
512
512
  for (var n = 0, i = t.length, o; n < i; n++)
513
513
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
@@ -516,13 +516,13 @@ function Ge(e, t, r) {
516
516
  function I(e) {
517
517
  return typeof e == "function";
518
518
  }
519
- function Ot(e) {
519
+ function Nt(e) {
520
520
  var t = function(n) {
521
521
  Error.call(n), n.stack = new Error().stack;
522
522
  }, r = e(t);
523
523
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
524
524
  }
525
- var Be = Ot(function(e) {
525
+ var He = Nt(function(e) {
526
526
  return function(r) {
527
527
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
528
528
  ` + r.map(function(n, i) {
@@ -531,13 +531,13 @@ var Be = Ot(function(e) {
531
531
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
532
532
  };
533
533
  });
534
- function je(e, t) {
534
+ function ke(e, t) {
535
535
  if (e) {
536
536
  var r = e.indexOf(t);
537
537
  0 <= r && e.splice(r, 1);
538
538
  }
539
539
  }
540
- var xe = function() {
540
+ var Ee = function() {
541
541
  function e(t) {
542
542
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
543
543
  }
@@ -549,7 +549,7 @@ var xe = function() {
549
549
  if (s)
550
550
  if (this._parentage = null, Array.isArray(s))
551
551
  try {
552
- for (var a = Ue(s), l = a.next(); !l.done; l = a.next()) {
552
+ for (var a = Fe(s), l = a.next(); !l.done; l = a.next()) {
553
553
  var u = l.value;
554
554
  u.remove(this);
555
555
  }
@@ -570,18 +570,18 @@ var xe = function() {
570
570
  try {
571
571
  c();
572
572
  } catch (d) {
573
- o = d instanceof Be ? d.errors : [d];
573
+ o = d instanceof He ? d.errors : [d];
574
574
  }
575
575
  var h = this._finalizers;
576
576
  if (h) {
577
577
  this._finalizers = null;
578
578
  try {
579
- for (var f = Ue(h), p = f.next(); !p.done; p = f.next()) {
579
+ for (var f = Fe(h), p = f.next(); !p.done; p = f.next()) {
580
580
  var m = p.value;
581
581
  try {
582
- ot(m);
582
+ st(m);
583
583
  } catch (d) {
584
- o = o ?? [], d instanceof Be ? o = Ge(Ge([], Fe(o)), Fe(d.errors)) : o.push(d);
584
+ o = o ?? [], d instanceof He ? o = je(je([], Ge(o)), Ge(d.errors)) : o.push(d);
585
585
  }
586
586
  }
587
587
  } catch (d) {
@@ -596,13 +596,13 @@ var xe = function() {
596
596
  }
597
597
  }
598
598
  if (o)
599
- throw new Be(o);
599
+ throw new He(o);
600
600
  }
601
601
  }, e.prototype.add = function(t) {
602
602
  var r;
603
603
  if (t && t !== this)
604
604
  if (this.closed)
605
- ot(t);
605
+ st(t);
606
606
  else {
607
607
  if (t instanceof e) {
608
608
  if (t.closed || t._hasParent(this))
@@ -619,52 +619,52 @@ var xe = function() {
619
619
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
620
620
  }, e.prototype._removeParent = function(t) {
621
621
  var r = this._parentage;
622
- r === t ? this._parentage = null : Array.isArray(r) && je(r, t);
622
+ r === t ? this._parentage = null : Array.isArray(r) && ke(r, t);
623
623
  }, e.prototype.remove = function(t) {
624
624
  var r = this._finalizers;
625
- r && je(r, t), t instanceof e && t._removeParent(this);
625
+ r && ke(r, t), t instanceof e && t._removeParent(this);
626
626
  }, e.EMPTY = function() {
627
627
  var t = new e();
628
628
  return t.closed = !0, t;
629
629
  }(), e;
630
- }(), Nt = xe.EMPTY;
631
- function It(e) {
632
- return e instanceof xe || e && "closed" in e && I(e.remove) && I(e.add) && I(e.unsubscribe);
630
+ }(), It = Ee.EMPTY;
631
+ function Lt(e) {
632
+ return e instanceof Ee || e && "closed" in e && I(e.remove) && I(e.add) && I(e.unsubscribe);
633
633
  }
634
- function ot(e) {
634
+ function st(e) {
635
635
  I(e) ? e() : e.unsubscribe();
636
636
  }
637
- var Or = {
637
+ var Ir = {
638
638
  Promise: void 0
639
- }, Nr = {
639
+ }, Lr = {
640
640
  setTimeout: function(e, t) {
641
641
  for (var r = [], n = 2; n < arguments.length; n++)
642
642
  r[n - 2] = arguments[n];
643
- return setTimeout.apply(void 0, Ge([e, t], Fe(r)));
643
+ return setTimeout.apply(void 0, je([e, t], Ge(r)));
644
644
  },
645
645
  clearTimeout: function(e) {
646
646
  return clearTimeout(e);
647
647
  },
648
648
  delegate: void 0
649
649
  };
650
- function Ir(e) {
651
- Nr.setTimeout(function() {
650
+ function $r(e) {
651
+ Lr.setTimeout(function() {
652
652
  throw e;
653
653
  });
654
654
  }
655
- function st() {
655
+ function at() {
656
656
  }
657
- function de(e) {
657
+ function me(e) {
658
658
  e();
659
659
  }
660
- var Lt = function(e) {
661
- ue(t, e);
660
+ var $t = function(e) {
661
+ le(t, e);
662
662
  function t(r) {
663
663
  var n = e.call(this) || this;
664
- return n.isStopped = !1, r ? (n.destination = r, It(r) && r.add(n)) : n.destination = Rr, n;
664
+ return n.isStopped = !1, r ? (n.destination = r, Lt(r) && r.add(n)) : n.destination = Ur, n;
665
665
  }
666
666
  return t.create = function(r, n, i) {
667
- return new ke(r, n, i);
667
+ return new We(r, n, i);
668
668
  }, t.prototype.next = function(r) {
669
669
  this.isStopped || this._next(r);
670
670
  }, t.prototype.error = function(r) {
@@ -688,7 +688,7 @@ var Lt = function(e) {
688
688
  this.unsubscribe();
689
689
  }
690
690
  }, t;
691
- }(xe), Lr = function() {
691
+ }(Ee), Rr = function() {
692
692
  function e(t) {
693
693
  this.partialObserver = t;
694
694
  }
@@ -698,7 +698,7 @@ var Lt = function(e) {
698
698
  try {
699
699
  r.next(t);
700
700
  } catch (n) {
701
- he(n);
701
+ fe(n);
702
702
  }
703
703
  }, e.prototype.error = function(t) {
704
704
  var r = this.partialObserver;
@@ -706,56 +706,56 @@ var Lt = function(e) {
706
706
  try {
707
707
  r.error(t);
708
708
  } catch (n) {
709
- he(n);
709
+ fe(n);
710
710
  }
711
711
  else
712
- he(t);
712
+ fe(t);
713
713
  }, e.prototype.complete = function() {
714
714
  var t = this.partialObserver;
715
715
  if (t.complete)
716
716
  try {
717
717
  t.complete();
718
718
  } catch (r) {
719
- he(r);
719
+ fe(r);
720
720
  }
721
721
  }, e;
722
- }(), ke = function(e) {
723
- ue(t, e);
722
+ }(), We = function(e) {
723
+ le(t, e);
724
724
  function t(r, n, i) {
725
725
  var o = e.call(this) || this, s;
726
726
  return I(r) || !r ? s = {
727
727
  next: r ?? void 0,
728
728
  error: n ?? void 0,
729
729
  complete: i ?? void 0
730
- } : s = r, o.destination = new Lr(s), o;
730
+ } : s = r, o.destination = new Rr(s), o;
731
731
  }
732
732
  return t;
733
- }(Lt);
734
- function he(e) {
735
- Ir(e);
733
+ }($t);
734
+ function fe(e) {
735
+ $r(e);
736
736
  }
737
- function $r(e) {
737
+ function Dr(e) {
738
738
  throw e;
739
739
  }
740
- var Rr = {
740
+ var Ur = {
741
741
  closed: !0,
742
- next: st,
743
- error: $r,
744
- complete: st
745
- }, Dr = function() {
742
+ next: at,
743
+ error: Dr,
744
+ complete: at
745
+ }, Fr = function() {
746
746
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
747
747
  }();
748
- function Ur(e) {
748
+ function Gr(e) {
749
749
  return e;
750
750
  }
751
- function Fr(e) {
752
- return e.length === 0 ? Ur : e.length === 1 ? e[0] : function(r) {
751
+ function jr(e) {
752
+ return e.length === 0 ? Gr : e.length === 1 ? e[0] : function(r) {
753
753
  return e.reduce(function(n, i) {
754
754
  return i(n);
755
755
  }, r);
756
756
  };
757
757
  }
758
- var at = function() {
758
+ var ut = function() {
759
759
  function e(t) {
760
760
  t && (this._subscribe = t);
761
761
  }
@@ -763,8 +763,8 @@ var at = function() {
763
763
  var r = new e();
764
764
  return r.source = this, r.operator = t, r;
765
765
  }, e.prototype.subscribe = function(t, r, n) {
766
- var i = this, o = jr(t) ? t : new ke(t, r, n);
767
- return de(function() {
766
+ var i = this, o = Wr(t) ? t : new We(t, r, n);
767
+ return me(function() {
768
768
  var s = i, a = s.operator, l = s.source;
769
769
  o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
770
770
  }), o;
@@ -776,8 +776,8 @@ var at = function() {
776
776
  }
777
777
  }, e.prototype.forEach = function(t, r) {
778
778
  var n = this;
779
- return r = ut(r), new r(function(i, o) {
780
- var s = new ke({
779
+ return r = lt(r), new r(function(i, o) {
780
+ var s = new We({
781
781
  next: function(a) {
782
782
  try {
783
783
  t(a);
@@ -793,15 +793,15 @@ var at = function() {
793
793
  }, e.prototype._subscribe = function(t) {
794
794
  var r;
795
795
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
796
- }, e.prototype[Dr] = function() {
796
+ }, e.prototype[Fr] = function() {
797
797
  return this;
798
798
  }, e.prototype.pipe = function() {
799
799
  for (var t = [], r = 0; r < arguments.length; r++)
800
800
  t[r] = arguments[r];
801
- return Fr(t)(this);
801
+ return jr(t)(this);
802
802
  }, e.prototype.toPromise = function(t) {
803
803
  var r = this;
804
- return t = ut(t), new t(function(n, i) {
804
+ return t = lt(t), new t(function(n, i) {
805
805
  var o;
806
806
  r.subscribe(function(s) {
807
807
  return o = s;
@@ -815,40 +815,40 @@ var at = function() {
815
815
  return new e(t);
816
816
  }, e;
817
817
  }();
818
- function ut(e) {
818
+ function lt(e) {
819
819
  var t;
820
- return (t = e ?? Or.Promise) !== null && t !== void 0 ? t : Promise;
820
+ return (t = e ?? Ir.Promise) !== null && t !== void 0 ? t : Promise;
821
821
  }
822
- function Gr(e) {
822
+ function kr(e) {
823
823
  return e && I(e.next) && I(e.error) && I(e.complete);
824
824
  }
825
- function jr(e) {
826
- return e && e instanceof Lt || Gr(e) && It(e);
825
+ function Wr(e) {
826
+ return e && e instanceof $t || kr(e) && Lt(e);
827
827
  }
828
- var kr = Ot(function(e) {
828
+ var zr = Nt(function(e) {
829
829
  return function() {
830
830
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
831
831
  };
832
- }), $t = function(e) {
833
- ue(t, e);
832
+ }), Rt = function(e) {
833
+ le(t, e);
834
834
  function t() {
835
835
  var r = e.call(this) || this;
836
836
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
837
837
  }
838
838
  return t.prototype.lift = function(r) {
839
- var n = new lt(this, this);
839
+ var n = new ct(this, this);
840
840
  return n.operator = r, n;
841
841
  }, t.prototype._throwIfClosed = function() {
842
842
  if (this.closed)
843
- throw new kr();
843
+ throw new zr();
844
844
  }, t.prototype.next = function(r) {
845
845
  var n = this;
846
- de(function() {
846
+ me(function() {
847
847
  var i, o;
848
848
  if (n._throwIfClosed(), !n.isStopped) {
849
849
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
850
850
  try {
851
- for (var s = Ue(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
851
+ for (var s = Fe(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
852
852
  var l = a.value;
853
853
  l.next(r);
854
854
  }
@@ -866,7 +866,7 @@ var kr = Ot(function(e) {
866
866
  });
867
867
  }, t.prototype.error = function(r) {
868
868
  var n = this;
869
- de(function() {
869
+ me(function() {
870
870
  if (n._throwIfClosed(), !n.isStopped) {
871
871
  n.hasError = n.isStopped = !0, n.thrownError = r;
872
872
  for (var i = n.observers; i.length; )
@@ -875,7 +875,7 @@ var kr = Ot(function(e) {
875
875
  });
876
876
  }, t.prototype.complete = function() {
877
877
  var r = this;
878
- de(function() {
878
+ me(function() {
879
879
  if (r._throwIfClosed(), !r.isStopped) {
880
880
  r.isStopped = !0;
881
881
  for (var n = r.observers; n.length; )
@@ -897,20 +897,20 @@ var kr = Ot(function(e) {
897
897
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
898
898
  }, t.prototype._innerSubscribe = function(r) {
899
899
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
900
- return o || s ? Nt : (this.currentObservers = null, a.push(r), new xe(function() {
901
- n.currentObservers = null, je(a, r);
900
+ return o || s ? It : (this.currentObservers = null, a.push(r), new Ee(function() {
901
+ n.currentObservers = null, ke(a, r);
902
902
  }));
903
903
  }, t.prototype._checkFinalizedStatuses = function(r) {
904
904
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
905
905
  i ? r.error(o) : s && r.complete();
906
906
  }, t.prototype.asObservable = function() {
907
- var r = new at();
907
+ var r = new ut();
908
908
  return r.source = this, r;
909
909
  }, t.create = function(r, n) {
910
- return new lt(r, n);
910
+ return new ct(r, n);
911
911
  }, t;
912
- }(at), lt = function(e) {
913
- ue(t, e);
912
+ }(ut), ct = function(e) {
913
+ le(t, e);
914
914
  function t(r, n) {
915
915
  var i = e.call(this) || this;
916
916
  return i.destination = r, i.source = n, i;
@@ -926,17 +926,17 @@ var kr = Ot(function(e) {
926
926
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
927
927
  }, t.prototype._subscribe = function(r) {
928
928
  var n, i;
929
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Nt;
929
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : It;
930
930
  }, t;
931
- }($t), Rt = {
931
+ }(Rt), Dt = {
932
932
  now: function() {
933
- return (Rt.delegate || Date).now();
933
+ return (Dt.delegate || Date).now();
934
934
  },
935
935
  delegate: void 0
936
- }, Wr = function(e) {
937
- ue(t, e);
936
+ }, Vr = function(e) {
937
+ le(t, e);
938
938
  function t(r, n, i) {
939
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Rt);
939
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Dt);
940
940
  var o = e.call(this) || this;
941
941
  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;
942
942
  }
@@ -956,24 +956,24 @@ var kr = Ot(function(e) {
956
956
  u && o.splice(0, u + 1);
957
957
  }
958
958
  }, t;
959
- }($t);
960
- const ct = [], ht = {}, zr = (e, t = 0) => {
961
- if (ct.indexOf(e) == -1) {
962
- const r = new Wr(t);
963
- ht[e] = r, ct.push(e);
959
+ }(Rt);
960
+ const ht = [], ft = {}, Xr = (e, t = 0) => {
961
+ if (ht.indexOf(e) == -1) {
962
+ const r = new Vr(t);
963
+ ft[e] = r, ht.push(e);
964
964
  }
965
- return ht[e];
965
+ return ft[e];
966
966
  }, z = [];
967
- function Vr(e, t) {
967
+ function Zr(e, t) {
968
968
  return {
969
- subscribe: Ee(e, t).subscribe
969
+ subscribe: we(e, t).subscribe
970
970
  };
971
971
  }
972
- function Ee(e, t = O) {
972
+ function we(e, t = P) {
973
973
  let r;
974
974
  const n = /* @__PURE__ */ new Set();
975
975
  function i(a) {
976
- if (Ht(e, a) && (e = a, r)) {
976
+ if (Mt(e, a) && (e = a, r)) {
977
977
  const l = !z.length;
978
978
  for (const u of n)
979
979
  u[1](), z.push(u, e);
@@ -987,34 +987,34 @@ function Ee(e, t = O) {
987
987
  function o(a) {
988
988
  i(a(e));
989
989
  }
990
- function s(a, l = O) {
990
+ function s(a, l = P) {
991
991
  const u = [a, l];
992
- return n.add(u), n.size === 1 && (r = t(i, o) || O), a(e), () => {
992
+ return n.add(u), n.size === 1 && (r = t(i, o) || P), a(e), () => {
993
993
  n.delete(u), n.size === 0 && r && (r(), r = null);
994
994
  };
995
995
  }
996
996
  return { set: i, update: o, subscribe: s };
997
997
  }
998
- function ee(e, t, r) {
998
+ function te(e, t, r) {
999
999
  const n = !Array.isArray(e), i = n ? [e] : e;
1000
1000
  if (!i.every(Boolean))
1001
1001
  throw new Error("derived() expects stores as input, got a falsy value");
1002
1002
  const o = t.length < 2;
1003
- return Vr(r, (s, a) => {
1003
+ return Zr(r, (s, a) => {
1004
1004
  let l = !1;
1005
1005
  const u = [];
1006
- let c = 0, h = O;
1006
+ let c = 0, h = P;
1007
1007
  const f = () => {
1008
1008
  if (c)
1009
1009
  return;
1010
1010
  h();
1011
1011
  const m = t(n ? u[0] : u, s, a);
1012
- o ? s(m) : h = Ke(m) ? m : O;
1012
+ o ? s(m) : h = et(m) ? m : P;
1013
1013
  }, p = i.map(
1014
- (m, d) => Mt(
1014
+ (m, d) => Ot(
1015
1015
  m,
1016
- (x) => {
1017
- u[d] = x, c &= ~(1 << d), l && f();
1016
+ (y) => {
1017
+ u[d] = y, c &= ~(1 << d), l && f();
1018
1018
  },
1019
1019
  () => {
1020
1020
  c |= 1 << d;
@@ -1022,96 +1022,96 @@ function ee(e, t, r) {
1022
1022
  )
1023
1023
  );
1024
1024
  return l = !0, f(), function() {
1025
- K(p), h(), l = !1;
1025
+ ee(p), h(), l = !1;
1026
1026
  };
1027
1027
  });
1028
1028
  }
1029
- function Xr(e) {
1029
+ function qr(e) {
1030
1030
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1031
1031
  }
1032
- var Zr = function(t) {
1033
- return qr(t) && !Qr(t);
1032
+ var Yr = function(t) {
1033
+ return Qr(t) && !Jr(t);
1034
1034
  };
1035
- function qr(e) {
1035
+ function Qr(e) {
1036
1036
  return !!e && typeof e == "object";
1037
1037
  }
1038
- function Qr(e) {
1038
+ function Jr(e) {
1039
1039
  var t = Object.prototype.toString.call(e);
1040
- return t === "[object RegExp]" || t === "[object Date]" || Kr(e);
1040
+ return t === "[object RegExp]" || t === "[object Date]" || tn(e);
1041
1041
  }
1042
- var Yr = typeof Symbol == "function" && Symbol.for, Jr = Yr ? Symbol.for("react.element") : 60103;
1043
- function Kr(e) {
1044
- return e.$$typeof === Jr;
1042
+ var Kr = typeof Symbol == "function" && Symbol.for, en = Kr ? Symbol.for("react.element") : 60103;
1043
+ function tn(e) {
1044
+ return e.$$typeof === en;
1045
1045
  }
1046
- function en(e) {
1046
+ function rn(e) {
1047
1047
  return Array.isArray(e) ? [] : {};
1048
1048
  }
1049
- function se(e, t) {
1050
- return t.clone !== !1 && t.isMergeableObject(e) ? q(en(e), e, t) : e;
1049
+ function ae(e, t) {
1050
+ return t.clone !== !1 && t.isMergeableObject(e) ? Y(rn(e), e, t) : e;
1051
1051
  }
1052
- function tn(e, t, r) {
1052
+ function nn(e, t, r) {
1053
1053
  return e.concat(t).map(function(n) {
1054
- return se(n, r);
1054
+ return ae(n, r);
1055
1055
  });
1056
1056
  }
1057
- function rn(e, t) {
1057
+ function on(e, t) {
1058
1058
  if (!t.customMerge)
1059
- return q;
1059
+ return Y;
1060
1060
  var r = t.customMerge(e);
1061
- return typeof r == "function" ? r : q;
1061
+ return typeof r == "function" ? r : Y;
1062
1062
  }
1063
- function nn(e) {
1063
+ function sn(e) {
1064
1064
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1065
1065
  return Object.propertyIsEnumerable.call(e, t);
1066
1066
  }) : [];
1067
1067
  }
1068
- function ft(e) {
1069
- return Object.keys(e).concat(nn(e));
1068
+ function pt(e) {
1069
+ return Object.keys(e).concat(sn(e));
1070
1070
  }
1071
- function Dt(e, t) {
1071
+ function Ut(e, t) {
1072
1072
  try {
1073
1073
  return t in e;
1074
1074
  } catch {
1075
1075
  return !1;
1076
1076
  }
1077
1077
  }
1078
- function on(e, t) {
1079
- return Dt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1078
+ function an(e, t) {
1079
+ return Ut(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1080
1080
  }
1081
- function sn(e, t, r) {
1081
+ function un(e, t, r) {
1082
1082
  var n = {};
1083
- return r.isMergeableObject(e) && ft(e).forEach(function(i) {
1084
- n[i] = se(e[i], r);
1085
- }), ft(t).forEach(function(i) {
1086
- on(e, i) || (Dt(e, i) && r.isMergeableObject(t[i]) ? n[i] = rn(i, r)(e[i], t[i], r) : n[i] = se(t[i], r));
1083
+ return r.isMergeableObject(e) && pt(e).forEach(function(i) {
1084
+ n[i] = ae(e[i], r);
1085
+ }), pt(t).forEach(function(i) {
1086
+ an(e, i) || (Ut(e, i) && r.isMergeableObject(t[i]) ? n[i] = on(i, r)(e[i], t[i], r) : n[i] = ae(t[i], r));
1087
1087
  }), n;
1088
1088
  }
1089
- function q(e, t, r) {
1090
- r = r || {}, r.arrayMerge = r.arrayMerge || tn, r.isMergeableObject = r.isMergeableObject || Zr, r.cloneUnlessOtherwiseSpecified = se;
1089
+ function Y(e, t, r) {
1090
+ r = r || {}, r.arrayMerge = r.arrayMerge || nn, r.isMergeableObject = r.isMergeableObject || Yr, r.cloneUnlessOtherwiseSpecified = ae;
1091
1091
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1092
- return o ? n ? r.arrayMerge(e, t, r) : sn(e, t, r) : se(t, r);
1092
+ return o ? n ? r.arrayMerge(e, t, r) : un(e, t, r) : ae(t, r);
1093
1093
  }
1094
- q.all = function(t, r) {
1094
+ Y.all = function(t, r) {
1095
1095
  if (!Array.isArray(t))
1096
1096
  throw new Error("first argument should be an array");
1097
1097
  return t.reduce(function(n, i) {
1098
- return q(n, i, r);
1098
+ return Y(n, i, r);
1099
1099
  }, {});
1100
1100
  };
1101
- var an = q, un = an;
1102
- const ln = /* @__PURE__ */ Xr(un);
1103
- var We = function(e, t) {
1104
- return We = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1101
+ var ln = Y, cn = ln;
1102
+ const hn = /* @__PURE__ */ qr(cn);
1103
+ var ze = function(e, t) {
1104
+ return ze = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1105
1105
  r.__proto__ = n;
1106
1106
  } || function(r, n) {
1107
1107
  for (var i in n)
1108
1108
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1109
- }, We(e, t);
1109
+ }, ze(e, t);
1110
1110
  };
1111
- function we(e, t) {
1111
+ function Se(e, t) {
1112
1112
  if (typeof t != "function" && t !== null)
1113
1113
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1114
- We(e, t);
1114
+ ze(e, t);
1115
1115
  function r() {
1116
1116
  this.constructor = e;
1117
1117
  }
@@ -1127,7 +1127,7 @@ var N = function() {
1127
1127
  return t;
1128
1128
  }, N.apply(this, arguments);
1129
1129
  };
1130
- function cn(e, t) {
1130
+ function fn(e, t) {
1131
1131
  var r = {};
1132
1132
  for (var n in e)
1133
1133
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -1136,43 +1136,43 @@ function cn(e, t) {
1136
1136
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1137
1137
  return r;
1138
1138
  }
1139
- function He(e, t, r) {
1139
+ function Me(e, t, r) {
1140
1140
  if (r || arguments.length === 2)
1141
1141
  for (var n = 0, i = t.length, o; n < i; n++)
1142
1142
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1143
1143
  return e.concat(o || Array.prototype.slice.call(t));
1144
1144
  }
1145
- function Me(e, t) {
1146
- var r = t && t.cache ? t.cache : vn, n = t && t.serializer ? t.serializer : mn, i = t && t.strategy ? t.strategy : pn;
1145
+ function Oe(e, t) {
1146
+ var r = t && t.cache ? t.cache : yn, n = t && t.serializer ? t.serializer : vn, i = t && t.strategy ? t.strategy : mn;
1147
1147
  return i(e, {
1148
1148
  cache: r,
1149
1149
  serializer: n
1150
1150
  });
1151
1151
  }
1152
- function hn(e) {
1152
+ function pn(e) {
1153
1153
  return e == null || typeof e == "number" || typeof e == "boolean";
1154
1154
  }
1155
- function fn(e, t, r, n) {
1156
- var i = hn(n) ? n : r(n), o = t.get(i);
1155
+ function dn(e, t, r, n) {
1156
+ var i = pn(n) ? n : r(n), o = t.get(i);
1157
1157
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1158
1158
  }
1159
- function Ut(e, t, r) {
1159
+ function Ft(e, t, r) {
1160
1160
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1161
1161
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1162
1162
  }
1163
- function Ft(e, t, r, n, i) {
1163
+ function Gt(e, t, r, n, i) {
1164
1164
  return r.bind(t, e, n, i);
1165
1165
  }
1166
- function pn(e, t) {
1167
- var r = e.length === 1 ? fn : Ut;
1168
- return Ft(e, this, r, t.cache.create(), t.serializer);
1166
+ function mn(e, t) {
1167
+ var r = e.length === 1 ? dn : Ft;
1168
+ return Gt(e, this, r, t.cache.create(), t.serializer);
1169
1169
  }
1170
- function dn(e, t) {
1171
- return Ft(e, this, Ut, t.cache.create(), t.serializer);
1170
+ function bn(e, t) {
1171
+ return Gt(e, this, Ft, t.cache.create(), t.serializer);
1172
1172
  }
1173
- var mn = function() {
1173
+ var vn = function() {
1174
1174
  return JSON.stringify(arguments);
1175
- }, bn = (
1175
+ }, gn = (
1176
1176
  /** @class */
1177
1177
  function() {
1178
1178
  function e() {
@@ -1184,21 +1184,21 @@ var mn = function() {
1184
1184
  this.cache[t] = r;
1185
1185
  }, e;
1186
1186
  }()
1187
- ), vn = {
1187
+ ), yn = {
1188
1188
  create: function() {
1189
- return new bn();
1189
+ return new gn();
1190
1190
  }
1191
1191
  }, Pe = {
1192
- variadic: dn
1193
- }, ge = function() {
1194
- return ge = Object.assign || function(t) {
1192
+ variadic: bn
1193
+ }, ye = function() {
1194
+ return ye = Object.assign || function(t) {
1195
1195
  for (var r, n = 1, i = arguments.length; n < i; n++) {
1196
1196
  r = arguments[n];
1197
1197
  for (var o in r)
1198
1198
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1199
1199
  }
1200
1200
  return t;
1201
- }, ge.apply(this, arguments);
1201
+ }, ye.apply(this, arguments);
1202
1202
  };
1203
1203
  var b;
1204
1204
  (function(e) {
@@ -1212,43 +1212,43 @@ var Q;
1212
1212
  (function(e) {
1213
1213
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1214
1214
  })(Q || (Q = {}));
1215
- function pt(e) {
1215
+ function dt(e) {
1216
1216
  return e.type === w.literal;
1217
1217
  }
1218
- function gn(e) {
1218
+ function _n(e) {
1219
1219
  return e.type === w.argument;
1220
1220
  }
1221
- function Gt(e) {
1221
+ function jt(e) {
1222
1222
  return e.type === w.number;
1223
1223
  }
1224
- function jt(e) {
1224
+ function kt(e) {
1225
1225
  return e.type === w.date;
1226
1226
  }
1227
- function kt(e) {
1227
+ function Wt(e) {
1228
1228
  return e.type === w.time;
1229
1229
  }
1230
- function Wt(e) {
1230
+ function zt(e) {
1231
1231
  return e.type === w.select;
1232
1232
  }
1233
- function zt(e) {
1233
+ function Vt(e) {
1234
1234
  return e.type === w.plural;
1235
1235
  }
1236
- function yn(e) {
1236
+ function xn(e) {
1237
1237
  return e.type === w.pound;
1238
1238
  }
1239
- function Vt(e) {
1239
+ function Xt(e) {
1240
1240
  return e.type === w.tag;
1241
1241
  }
1242
- function Xt(e) {
1242
+ function Zt(e) {
1243
1243
  return !!(e && typeof e == "object" && e.type === Q.number);
1244
1244
  }
1245
- function ze(e) {
1245
+ function Ve(e) {
1246
1246
  return !!(e && typeof e == "object" && e.type === Q.dateTime);
1247
1247
  }
1248
- var Zt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, _n = /(?:[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;
1249
- function xn(e) {
1248
+ var qt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, En = /(?:[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;
1249
+ function wn(e) {
1250
1250
  var t = {};
1251
- return e.replace(_n, function(r) {
1251
+ return e.replace(En, function(r) {
1252
1252
  var n = r.length;
1253
1253
  switch (r[0]) {
1254
1254
  case "G":
@@ -1337,21 +1337,21 @@ function xn(e) {
1337
1337
  return "";
1338
1338
  }), t;
1339
1339
  }
1340
- var S = function() {
1341
- return S = Object.assign || function(t) {
1340
+ var T = function() {
1341
+ return T = Object.assign || function(t) {
1342
1342
  for (var r, n = 1, i = arguments.length; n < i; n++) {
1343
1343
  r = arguments[n];
1344
1344
  for (var o in r)
1345
1345
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1346
1346
  }
1347
1347
  return t;
1348
- }, S.apply(this, arguments);
1348
+ }, T.apply(this, arguments);
1349
1349
  };
1350
- var En = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1351
- function wn(e) {
1350
+ var Sn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1351
+ function Cn(e) {
1352
1352
  if (e.length === 0)
1353
1353
  throw new Error("Number skeleton cannot be empty");
1354
- for (var t = e.split(En).filter(function(f) {
1354
+ for (var t = e.split(Sn).filter(function(f) {
1355
1355
  return f.length > 0;
1356
1356
  }), r = [], n = 0, i = t; n < i.length; n++) {
1357
1357
  var o = i[n], s = o.split("/");
@@ -1366,17 +1366,17 @@ function wn(e) {
1366
1366
  }
1367
1367
  return r;
1368
1368
  }
1369
- function Cn(e) {
1369
+ function An(e) {
1370
1370
  return e.replace(/^(.*?)-/, "");
1371
1371
  }
1372
- var dt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, qt = /^(@+)?(\+|#+)?[rs]?$/g, An = /(\*)(0+)|(#+)(0+)|(0+)/g, Qt = /^(0+)$/;
1373
- function mt(e) {
1372
+ var mt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Yt = /^(@+)?(\+|#+)?[rs]?$/g, Tn = /(\*)(0+)|(#+)(0+)|(0+)/g, Qt = /^(0+)$/;
1373
+ function bt(e) {
1374
1374
  var t = {};
1375
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(qt, function(r, n, i) {
1375
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Yt, function(r, n, i) {
1376
1376
  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)), "";
1377
1377
  }), t;
1378
1378
  }
1379
- function Yt(e) {
1379
+ function Jt(e) {
1380
1380
  switch (e) {
1381
1381
  case "sign-auto":
1382
1382
  return {
@@ -1416,7 +1416,7 @@ function Yt(e) {
1416
1416
  };
1417
1417
  }
1418
1418
  }
1419
- function Sn(e) {
1419
+ function Bn(e) {
1420
1420
  var t;
1421
1421
  if (e[0] === "E" && e[1] === "E" ? (t = {
1422
1422
  notation: "engineering"
@@ -1430,11 +1430,11 @@ function Sn(e) {
1430
1430
  }
1431
1431
  return t;
1432
1432
  }
1433
- function bt(e) {
1434
- var t = {}, r = Yt(e);
1433
+ function vt(e) {
1434
+ var t = {}, r = Jt(e);
1435
1435
  return r || t;
1436
1436
  }
1437
- function Tn(e) {
1437
+ function Hn(e) {
1438
1438
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1439
1439
  var i = n[r];
1440
1440
  switch (i.stem) {
@@ -1458,7 +1458,7 @@ function Tn(e) {
1458
1458
  continue;
1459
1459
  case "measure-unit":
1460
1460
  case "unit":
1461
- t.style = "unit", t.unit = Cn(i.options[0]);
1461
+ t.style = "unit", t.unit = An(i.options[0]);
1462
1462
  continue;
1463
1463
  case "compact-short":
1464
1464
  case "K":
@@ -1469,13 +1469,13 @@ function Tn(e) {
1469
1469
  t.notation = "compact", t.compactDisplay = "long";
1470
1470
  continue;
1471
1471
  case "scientific":
1472
- t = S(S(S({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1473
- return S(S({}, l), bt(u));
1472
+ t = T(T(T({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1473
+ return T(T({}, l), vt(u));
1474
1474
  }, {}));
1475
1475
  continue;
1476
1476
  case "engineering":
1477
- t = S(S(S({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1478
- return S(S({}, l), bt(u));
1477
+ t = T(T(T({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1478
+ return T(T({}, l), vt(u));
1479
1479
  }, {}));
1480
1480
  continue;
1481
1481
  case "notation-simple":
@@ -1520,7 +1520,7 @@ function Tn(e) {
1520
1520
  case "integer-width":
1521
1521
  if (i.options.length > 1)
1522
1522
  throw new RangeError("integer-width stems only accept a single optional option");
1523
- i.options[0].replace(An, function(l, u, c, h, f, p) {
1523
+ i.options[0].replace(Tn, function(l, u, c, h, f, p) {
1524
1524
  if (u)
1525
1525
  t.minimumIntegerDigits = c.length;
1526
1526
  else {
@@ -1537,28 +1537,28 @@ function Tn(e) {
1537
1537
  t.minimumIntegerDigits = i.stem.length;
1538
1538
  continue;
1539
1539
  }
1540
- if (dt.test(i.stem)) {
1540
+ if (mt.test(i.stem)) {
1541
1541
  if (i.options.length > 1)
1542
1542
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1543
- i.stem.replace(dt, function(l, u, c, h, f, p) {
1543
+ i.stem.replace(mt, function(l, u, c, h, f, p) {
1544
1544
  return c === "*" ? t.minimumFractionDigits = u.length : h && h[0] === "#" ? t.maximumFractionDigits = h.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1545
1545
  });
1546
1546
  var o = i.options[0];
1547
- o === "w" ? t = S(S({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = S(S({}, t), mt(o)));
1547
+ o === "w" ? t = T(T({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = T(T({}, t), bt(o)));
1548
1548
  continue;
1549
1549
  }
1550
- if (qt.test(i.stem)) {
1551
- t = S(S({}, t), mt(i.stem));
1550
+ if (Yt.test(i.stem)) {
1551
+ t = T(T({}, t), bt(i.stem));
1552
1552
  continue;
1553
1553
  }
1554
- var s = Yt(i.stem);
1555
- s && (t = S(S({}, t), s));
1556
- var a = Sn(i.stem);
1557
- a && (t = S(S({}, t), a));
1554
+ var s = Jt(i.stem);
1555
+ s && (t = T(T({}, t), s));
1556
+ var a = Bn(i.stem);
1557
+ a && (t = T(T({}, t), a));
1558
1558
  }
1559
1559
  return t;
1560
1560
  }
1561
- var fe = {
1561
+ var pe = {
1562
1562
  "001": [
1563
1563
  "H",
1564
1564
  "h"
@@ -2973,13 +2973,13 @@ var fe = {
2973
2973
  "h"
2974
2974
  ]
2975
2975
  };
2976
- function Bn(e, t) {
2976
+ function Mn(e, t) {
2977
2977
  for (var r = "", n = 0; n < e.length; n++) {
2978
2978
  var i = e.charAt(n);
2979
2979
  if (i === "j") {
2980
2980
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2981
2981
  o++, n++;
2982
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Hn(t);
2982
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = On(t);
2983
2983
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2984
2984
  r += l;
2985
2985
  for (; s-- > 0; )
@@ -2989,7 +2989,7 @@ function Bn(e, t) {
2989
2989
  }
2990
2990
  return r;
2991
2991
  }
2992
- function Hn(e) {
2992
+ function On(e) {
2993
2993
  var t = e.hourCycle;
2994
2994
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2995
2995
  e.hourCycles && // @ts-ignore
@@ -3008,23 +3008,23 @@ function Hn(e) {
3008
3008
  }
3009
3009
  var r = e.language, n;
3010
3010
  r !== "root" && (n = e.maximize().region);
3011
- var i = fe[n || ""] || fe[r || ""] || fe["".concat(r, "-001")] || fe["001"];
3011
+ var i = pe[n || ""] || pe[r || ""] || pe["".concat(r, "-001")] || pe["001"];
3012
3012
  return i[0];
3013
3013
  }
3014
- var Oe, Mn = new RegExp("^".concat(Zt.source, "*")), Pn = new RegExp("".concat(Zt.source, "*$"));
3014
+ var Ne, Pn = new RegExp("^".concat(qt.source, "*")), Nn = new RegExp("".concat(qt.source, "*$"));
3015
3015
  function v(e, t) {
3016
3016
  return { start: e, end: t };
3017
3017
  }
3018
- var On = !!String.prototype.startsWith && "_a".startsWith("a", 1), Nn = !!String.fromCodePoint, In = !!Object.fromEntries, Ln = !!String.prototype.codePointAt, $n = !!String.prototype.trimStart, Rn = !!String.prototype.trimEnd, Dn = !!Number.isSafeInteger, Un = Dn ? Number.isSafeInteger : function(e) {
3018
+ var In = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ln = !!String.fromCodePoint, $n = !!Object.fromEntries, Rn = !!String.prototype.codePointAt, Dn = !!String.prototype.trimStart, Un = !!String.prototype.trimEnd, Fn = !!Number.isSafeInteger, Gn = Fn ? Number.isSafeInteger : function(e) {
3019
3019
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3020
- }, Ve = !0;
3020
+ }, Xe = !0;
3021
3021
  try {
3022
- var Fn = Kt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3023
- Ve = ((Oe = Fn.exec("a")) === null || Oe === void 0 ? void 0 : Oe[0]) === "a";
3022
+ var jn = er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3023
+ Xe = ((Ne = jn.exec("a")) === null || Ne === void 0 ? void 0 : Ne[0]) === "a";
3024
3024
  } catch {
3025
- Ve = !1;
3025
+ Xe = !1;
3026
3026
  }
3027
- var vt = On ? (
3027
+ var gt = In ? (
3028
3028
  // Native
3029
3029
  function(t, r, n) {
3030
3030
  return t.startsWith(r, n);
@@ -3034,7 +3034,7 @@ var vt = On ? (
3034
3034
  function(t, r, n) {
3035
3035
  return t.slice(n, n + r.length) === r;
3036
3036
  }
3037
- ), Xe = Nn ? String.fromCodePoint : (
3037
+ ), Ze = Ln ? String.fromCodePoint : (
3038
3038
  // IE11
3039
3039
  function() {
3040
3040
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3046,9 +3046,9 @@ var vt = On ? (
3046
3046
  }
3047
3047
  return n;
3048
3048
  }
3049
- ), gt = (
3049
+ ), yt = (
3050
3050
  // native
3051
- In ? Object.fromEntries : (
3051
+ $n ? Object.fromEntries : (
3052
3052
  // Ponyfill
3053
3053
  function(t) {
3054
3054
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3058,7 +3058,7 @@ var vt = On ? (
3058
3058
  return r;
3059
3059
  }
3060
3060
  )
3061
- ), Jt = Ln ? (
3061
+ ), Kt = Rn ? (
3062
3062
  // Native
3063
3063
  function(t, r) {
3064
3064
  return t.codePointAt(r);
@@ -3072,7 +3072,7 @@ var vt = On ? (
3072
3072
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3073
3073
  }
3074
3074
  }
3075
- ), Gn = $n ? (
3075
+ ), kn = Dn ? (
3076
3076
  // Native
3077
3077
  function(t) {
3078
3078
  return t.trimStart();
@@ -3080,9 +3080,9 @@ var vt = On ? (
3080
3080
  ) : (
3081
3081
  // Ponyfill
3082
3082
  function(t) {
3083
- return t.replace(Mn, "");
3083
+ return t.replace(Pn, "");
3084
3084
  }
3085
- ), jn = Rn ? (
3085
+ ), Wn = Un ? (
3086
3086
  // Native
3087
3087
  function(t) {
3088
3088
  return t.trimEnd();
@@ -3090,32 +3090,32 @@ var vt = On ? (
3090
3090
  ) : (
3091
3091
  // Ponyfill
3092
3092
  function(t) {
3093
- return t.replace(Pn, "");
3093
+ return t.replace(Nn, "");
3094
3094
  }
3095
3095
  );
3096
- function Kt(e, t) {
3096
+ function er(e, t) {
3097
3097
  return new RegExp(e, t);
3098
3098
  }
3099
- var Ze;
3100
- if (Ve) {
3101
- var yt = Kt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3102
- Ze = function(t, r) {
3099
+ var qe;
3100
+ if (Xe) {
3101
+ var _t = er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3102
+ qe = function(t, r) {
3103
3103
  var n;
3104
- yt.lastIndex = r;
3105
- var i = yt.exec(t);
3104
+ _t.lastIndex = r;
3105
+ var i = _t.exec(t);
3106
3106
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3107
3107
  };
3108
3108
  } else
3109
- Ze = function(t, r) {
3109
+ qe = function(t, r) {
3110
3110
  for (var n = []; ; ) {
3111
- var i = Jt(t, r);
3112
- if (i === void 0 || er(i) || Vn(i))
3111
+ var i = Kt(t, r);
3112
+ if (i === void 0 || tr(i) || Zn(i))
3113
3113
  break;
3114
3114
  n.push(i), r += i >= 65536 ? 2 : 1;
3115
3115
  }
3116
- return Xe.apply(void 0, n);
3116
+ return Ze.apply(void 0, n);
3117
3117
  };
3118
- var kn = (
3118
+ var zn = (
3119
3119
  /** @class */
3120
3120
  function() {
3121
3121
  function e(t, r) {
@@ -3146,7 +3146,7 @@ var kn = (
3146
3146
  if (n)
3147
3147
  break;
3148
3148
  return this.error(b.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
3149
- } else if (o === 60 && !this.ignoreTag && qe(this.peek() || 0)) {
3149
+ } else if (o === 60 && !this.ignoreTag && Ye(this.peek() || 0)) {
3150
3150
  var s = this.parseTag(t, r);
3151
3151
  if (s.err)
3152
3152
  return s;
@@ -3179,7 +3179,7 @@ var kn = (
3179
3179
  return o;
3180
3180
  var s = o.val, a = this.clonePosition();
3181
3181
  if (this.bumpIf("</")) {
3182
- if (this.isEOF() || !qe(this.char()))
3182
+ if (this.isEOF() || !Ye(this.char()))
3183
3183
  return this.error(b.INVALID_TAG, v(a, this.clonePosition()));
3184
3184
  var l = this.clonePosition(), u = this.parseTagName();
3185
3185
  return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG, v(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
@@ -3197,7 +3197,7 @@ var kn = (
3197
3197
  return this.error(b.INVALID_TAG, v(n, this.clonePosition()));
3198
3198
  }, e.prototype.parseTagName = function() {
3199
3199
  var t = this.offset();
3200
- for (this.bump(); !this.isEOF() && zn(this.char()); )
3200
+ for (this.bump(); !this.isEOF() && Xn(this.char()); )
3201
3201
  this.bump();
3202
3202
  return this.message.slice(t, this.offset());
3203
3203
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3226,7 +3226,7 @@ var kn = (
3226
3226
  };
3227
3227
  }, e.prototype.tryParseLeftAngleBracket = function() {
3228
3228
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3229
- !Wn(this.peek() || 0)) ? (this.bump(), "<") : null;
3229
+ !Vn(this.peek() || 0)) ? (this.bump(), "<") : null;
3230
3230
  }, e.prototype.tryParseQuote = function(t) {
3231
3231
  if (this.isEOF() || this.char() !== 39)
3232
3232
  return null;
@@ -3260,12 +3260,12 @@ var kn = (
3260
3260
  r.push(n);
3261
3261
  this.bump();
3262
3262
  }
3263
- return Xe.apply(void 0, r);
3263
+ return Ze.apply(void 0, r);
3264
3264
  }, e.prototype.tryParseUnquoted = function(t, r) {
3265
3265
  if (this.isEOF())
3266
3266
  return null;
3267
3267
  var n = this.char();
3268
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Xe(n));
3268
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ze(n));
3269
3269
  }, e.prototype.parseArgument = function(t, r) {
3270
3270
  var n = this.clonePosition();
3271
3271
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3294,7 +3294,7 @@ var kn = (
3294
3294
  return this.error(b.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
3295
3295
  }
3296
3296
  }, e.prototype.parseIdentifierIfPossible = function() {
3297
- var t = this.clonePosition(), r = this.offset(), n = Ze(this.message, r), i = r + n.length;
3297
+ var t = this.clonePosition(), r = this.offset(), n = qe(this.message, r), i = r + n.length;
3298
3298
  this.bumpTo(i);
3299
3299
  var o = this.clonePosition(), s = v(t, o);
3300
3300
  return { value: n, location: s };
@@ -3313,7 +3313,7 @@ var kn = (
3313
3313
  var c = this.clonePosition(), h = this.parseSimpleArgStyleIfPossible();
3314
3314
  if (h.err)
3315
3315
  return h;
3316
- var f = jn(h.val);
3316
+ var f = Wn(h.val);
3317
3317
  if (f.length === 0)
3318
3318
  return this.error(b.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
3319
3319
  var p = v(c, this.clonePosition());
@@ -3323,27 +3323,27 @@ var kn = (
3323
3323
  if (m.err)
3324
3324
  return m;
3325
3325
  var d = v(i, this.clonePosition());
3326
- if (u && vt(u?.style, "::", 0)) {
3327
- var x = Gn(u.style.slice(2));
3326
+ if (u && gt(u?.style, "::", 0)) {
3327
+ var y = kn(u.style.slice(2));
3328
3328
  if (a === "number") {
3329
- var h = this.parseNumberSkeletonFromString(x, u.styleLocation);
3329
+ var h = this.parseNumberSkeletonFromString(y, u.styleLocation);
3330
3330
  return h.err ? h : {
3331
3331
  val: { type: w.number, value: n, location: d, style: h.val },
3332
3332
  err: null
3333
3333
  };
3334
3334
  } else {
3335
- if (x.length === 0)
3335
+ if (y.length === 0)
3336
3336
  return this.error(b.EXPECT_DATE_TIME_SKELETON, d);
3337
- var P = x;
3338
- this.locale && (P = Bn(x, this.locale));
3337
+ var O = y;
3338
+ this.locale && (O = Mn(y, this.locale));
3339
3339
  var f = {
3340
3340
  type: Q.dateTime,
3341
- pattern: P,
3341
+ pattern: O,
3342
3342
  location: u.styleLocation,
3343
- parsedOptions: this.shouldParseSkeletons ? xn(P) : {}
3344
- }, T = a === "date" ? w.date : w.time;
3343
+ parsedOptions: this.shouldParseSkeletons ? wn(O) : {}
3344
+ }, S = a === "date" ? w.date : w.time;
3345
3345
  return {
3346
- val: { type: T, value: n, location: d, style: f },
3346
+ val: { type: S, value: n, location: d, style: f },
3347
3347
  err: null
3348
3348
  };
3349
3349
  }
@@ -3361,9 +3361,9 @@ var kn = (
3361
3361
  case "plural":
3362
3362
  case "selectordinal":
3363
3363
  case "select": {
3364
- var y = this.clonePosition();
3364
+ var _ = this.clonePosition();
3365
3365
  if (this.bumpSpace(), !this.bumpIf(","))
3366
- return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, v(y, ge({}, y)));
3366
+ return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, v(_, ye({}, _)));
3367
3367
  this.bumpSpace();
3368
3368
  var C = this.parseIdentifierIfPossible(), E = 0;
3369
3369
  if (a !== "select" && C.value === "offset") {
@@ -3381,23 +3381,23 @@ var kn = (
3381
3381
  var m = this.tryParseArgumentClose(i);
3382
3382
  if (m.err)
3383
3383
  return m;
3384
- var ce = v(i, this.clonePosition());
3384
+ var he = v(i, this.clonePosition());
3385
3385
  return a === "select" ? {
3386
3386
  val: {
3387
3387
  type: w.select,
3388
3388
  value: n,
3389
- options: gt(H.val),
3390
- location: ce
3389
+ options: yt(H.val),
3390
+ location: he
3391
3391
  },
3392
3392
  err: null
3393
3393
  } : {
3394
3394
  val: {
3395
3395
  type: w.plural,
3396
3396
  value: n,
3397
- options: gt(H.val),
3397
+ options: yt(H.val),
3398
3398
  offset: E,
3399
3399
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3400
- location: ce
3400
+ location: he
3401
3401
  },
3402
3402
  err: null
3403
3403
  };
@@ -3445,7 +3445,7 @@ var kn = (
3445
3445
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3446
3446
  var n = [];
3447
3447
  try {
3448
- n = wn(t);
3448
+ n = Cn(t);
3449
3449
  } catch {
3450
3450
  return this.error(b.INVALID_NUMBER_SKELETON, r);
3451
3451
  }
@@ -3454,7 +3454,7 @@ var kn = (
3454
3454
  type: Q.number,
3455
3455
  tokens: n,
3456
3456
  location: r,
3457
- parsedOptions: this.shouldParseSkeletons ? Tn(n) : {}
3457
+ parsedOptions: this.shouldParseSkeletons ? Hn(n) : {}
3458
3458
  },
3459
3459
  err: null
3460
3460
  };
@@ -3502,7 +3502,7 @@ var kn = (
3502
3502
  break;
3503
3503
  }
3504
3504
  var l = v(i, this.clonePosition());
3505
- return o ? (s *= n, Un(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3505
+ return o ? (s *= n, Gn(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3506
3506
  }, e.prototype.offset = function() {
3507
3507
  return this.position.offset;
3508
3508
  }, e.prototype.isEOF = function() {
@@ -3517,7 +3517,7 @@ var kn = (
3517
3517
  var t = this.position.offset;
3518
3518
  if (t >= this.message.length)
3519
3519
  throw Error("out of bound");
3520
- var r = Jt(this.message, t);
3520
+ var r = Kt(this.message, t);
3521
3521
  if (r === void 0)
3522
3522
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3523
3523
  return r;
@@ -3536,7 +3536,7 @@ var kn = (
3536
3536
  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);
3537
3537
  }
3538
3538
  }, e.prototype.bumpIf = function(t) {
3539
- if (vt(this.message, t, this.offset())) {
3539
+ if (gt(this.message, t, this.offset())) {
3540
3540
  for (var r = 0; r < t.length; r++)
3541
3541
  this.bump();
3542
3542
  return !0;
@@ -3558,7 +3558,7 @@ var kn = (
3558
3558
  break;
3559
3559
  }
3560
3560
  }, e.prototype.bumpSpace = function() {
3561
- for (; !this.isEOF() && er(this.char()); )
3561
+ for (; !this.isEOF() && tr(this.char()); )
3562
3562
  this.bump();
3563
3563
  }, e.prototype.peek = function() {
3564
3564
  if (this.isEOF())
@@ -3568,47 +3568,47 @@ var kn = (
3568
3568
  }, e;
3569
3569
  }()
3570
3570
  );
3571
- function qe(e) {
3571
+ function Ye(e) {
3572
3572
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3573
3573
  }
3574
- function Wn(e) {
3575
- return qe(e) || e === 47;
3574
+ function Vn(e) {
3575
+ return Ye(e) || e === 47;
3576
3576
  }
3577
- function zn(e) {
3577
+ function Xn(e) {
3578
3578
  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;
3579
3579
  }
3580
- function er(e) {
3580
+ function tr(e) {
3581
3581
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3582
3582
  }
3583
- function Vn(e) {
3583
+ function Zn(e) {
3584
3584
  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;
3585
3585
  }
3586
3586
  function Qe(e) {
3587
3587
  e.forEach(function(t) {
3588
- if (delete t.location, Wt(t) || zt(t))
3588
+ if (delete t.location, zt(t) || Vt(t))
3589
3589
  for (var r in t.options)
3590
3590
  delete t.options[r].location, Qe(t.options[r].value);
3591
3591
  else
3592
- Gt(t) && Xt(t.style) || (jt(t) || kt(t)) && ze(t.style) ? delete t.style.location : Vt(t) && Qe(t.children);
3592
+ jt(t) && Zt(t.style) || (kt(t) || Wt(t)) && Ve(t.style) ? delete t.style.location : Xt(t) && Qe(t.children);
3593
3593
  });
3594
3594
  }
3595
- function Xn(e, t) {
3596
- t === void 0 && (t = {}), t = ge({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3597
- var r = new kn(e, t).parse();
3595
+ function qn(e, t) {
3596
+ t === void 0 && (t = {}), t = ye({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3597
+ var r = new zn(e, t).parse();
3598
3598
  if (r.err) {
3599
3599
  var n = SyntaxError(b[r.err.kind]);
3600
3600
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3601
3601
  }
3602
3602
  return t?.captureLocation || Qe(r.val), r.val;
3603
3603
  }
3604
- var Y;
3604
+ var J;
3605
3605
  (function(e) {
3606
3606
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3607
- })(Y || (Y = {}));
3607
+ })(J || (J = {}));
3608
3608
  var Ce = (
3609
3609
  /** @class */
3610
3610
  function(e) {
3611
- we(t, e);
3611
+ Se(t, e);
3612
3612
  function t(r, n, i) {
3613
3613
  var o = e.call(this, r) || this;
3614
3614
  return o.code = n, o.originalMessage = i, o;
@@ -3617,30 +3617,30 @@ var Ce = (
3617
3617
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3618
3618
  }, t;
3619
3619
  }(Error)
3620
- ), _t = (
3620
+ ), xt = (
3621
3621
  /** @class */
3622
3622
  function(e) {
3623
- we(t, e);
3623
+ Se(t, e);
3624
3624
  function t(r, n, i, o) {
3625
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Y.INVALID_VALUE, o) || this;
3625
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), J.INVALID_VALUE, o) || this;
3626
3626
  }
3627
3627
  return t;
3628
3628
  }(Ce)
3629
- ), Zn = (
3629
+ ), Yn = (
3630
3630
  /** @class */
3631
3631
  function(e) {
3632
- we(t, e);
3632
+ Se(t, e);
3633
3633
  function t(r, n, i) {
3634
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Y.INVALID_VALUE, i) || this;
3634
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), J.INVALID_VALUE, i) || this;
3635
3635
  }
3636
3636
  return t;
3637
3637
  }(Ce)
3638
- ), qn = (
3638
+ ), Qn = (
3639
3639
  /** @class */
3640
3640
  function(e) {
3641
- we(t, e);
3641
+ Se(t, e);
3642
3642
  function t(r, n) {
3643
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Y.MISSING_VALUE, n) || this;
3643
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), J.MISSING_VALUE, n) || this;
3644
3644
  }
3645
3645
  return t;
3646
3646
  }(Ce)
@@ -3648,17 +3648,17 @@ var Ce = (
3648
3648
  (function(e) {
3649
3649
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3650
3650
  })(M || (M = {}));
3651
- function Qn(e) {
3651
+ function Jn(e) {
3652
3652
  return e.length < 2 ? e : e.reduce(function(t, r) {
3653
3653
  var n = t[t.length - 1];
3654
3654
  return !n || n.type !== M.literal || r.type !== M.literal ? t.push(r) : n.value += r.value, t;
3655
3655
  }, []);
3656
3656
  }
3657
- function Yn(e) {
3657
+ function Kn(e) {
3658
3658
  return typeof e == "function";
3659
3659
  }
3660
- function me(e, t, r, n, i, o, s) {
3661
- if (e.length === 1 && pt(e[0]))
3660
+ function be(e, t, r, n, i, o, s) {
3661
+ if (e.length === 1 && dt(e[0]))
3662
3662
  return [
3663
3663
  {
3664
3664
  type: M.literal,
@@ -3667,14 +3667,14 @@ function me(e, t, r, n, i, o, s) {
3667
3667
  ];
3668
3668
  for (var a = [], l = 0, u = e; l < u.length; l++) {
3669
3669
  var c = u[l];
3670
- if (pt(c)) {
3670
+ if (dt(c)) {
3671
3671
  a.push({
3672
3672
  type: M.literal,
3673
3673
  value: c.value
3674
3674
  });
3675
3675
  continue;
3676
3676
  }
3677
- if (yn(c)) {
3677
+ if (xn(c)) {
3678
3678
  typeof o == "number" && a.push({
3679
3679
  type: M.literal,
3680
3680
  value: r.getNumberFormat(t).format(o)
@@ -3683,89 +3683,89 @@ function me(e, t, r, n, i, o, s) {
3683
3683
  }
3684
3684
  var h = c.value;
3685
3685
  if (!(i && h in i))
3686
- throw new qn(h, s);
3686
+ throw new Qn(h, s);
3687
3687
  var f = i[h];
3688
- if (gn(c)) {
3688
+ if (_n(c)) {
3689
3689
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3690
3690
  type: typeof f == "string" ? M.literal : M.object,
3691
3691
  value: f
3692
3692
  });
3693
3693
  continue;
3694
3694
  }
3695
- if (jt(c)) {
3696
- var p = typeof c.style == "string" ? n.date[c.style] : ze(c.style) ? c.style.parsedOptions : void 0;
3695
+ if (kt(c)) {
3696
+ var p = typeof c.style == "string" ? n.date[c.style] : Ve(c.style) ? c.style.parsedOptions : void 0;
3697
3697
  a.push({
3698
3698
  type: M.literal,
3699
3699
  value: r.getDateTimeFormat(t, p).format(f)
3700
3700
  });
3701
3701
  continue;
3702
3702
  }
3703
- if (kt(c)) {
3704
- var p = typeof c.style == "string" ? n.time[c.style] : ze(c.style) ? c.style.parsedOptions : n.time.medium;
3703
+ if (Wt(c)) {
3704
+ var p = typeof c.style == "string" ? n.time[c.style] : Ve(c.style) ? c.style.parsedOptions : n.time.medium;
3705
3705
  a.push({
3706
3706
  type: M.literal,
3707
3707
  value: r.getDateTimeFormat(t, p).format(f)
3708
3708
  });
3709
3709
  continue;
3710
3710
  }
3711
- if (Gt(c)) {
3712
- var p = typeof c.style == "string" ? n.number[c.style] : Xt(c.style) ? c.style.parsedOptions : void 0;
3711
+ if (jt(c)) {
3712
+ var p = typeof c.style == "string" ? n.number[c.style] : Zt(c.style) ? c.style.parsedOptions : void 0;
3713
3713
  p && p.scale && (f = f * (p.scale || 1)), a.push({
3714
3714
  type: M.literal,
3715
3715
  value: r.getNumberFormat(t, p).format(f)
3716
3716
  });
3717
3717
  continue;
3718
3718
  }
3719
- if (Vt(c)) {
3720
- var m = c.children, d = c.value, x = i[d];
3721
- if (!Yn(x))
3722
- throw new Zn(d, "function", s);
3723
- var P = me(m, t, r, n, i, o), T = x(P.map(function(E) {
3719
+ if (Xt(c)) {
3720
+ var m = c.children, d = c.value, y = i[d];
3721
+ if (!Kn(y))
3722
+ throw new Yn(d, "function", s);
3723
+ var O = be(m, t, r, n, i, o), S = y(O.map(function(E) {
3724
3724
  return E.value;
3725
3725
  }));
3726
- Array.isArray(T) || (T = [T]), a.push.apply(a, T.map(function(E) {
3726
+ Array.isArray(S) || (S = [S]), a.push.apply(a, S.map(function(E) {
3727
3727
  return {
3728
3728
  type: typeof E == "string" ? M.literal : M.object,
3729
3729
  value: E
3730
3730
  };
3731
3731
  }));
3732
3732
  }
3733
- if (Wt(c)) {
3734
- var y = c.options[f] || c.options.other;
3735
- if (!y)
3736
- throw new _t(c.value, f, Object.keys(c.options), s);
3737
- a.push.apply(a, me(y.value, t, r, n, i));
3733
+ if (zt(c)) {
3734
+ var _ = c.options[f] || c.options.other;
3735
+ if (!_)
3736
+ throw new xt(c.value, f, Object.keys(c.options), s);
3737
+ a.push.apply(a, be(_.value, t, r, n, i));
3738
3738
  continue;
3739
3739
  }
3740
- if (zt(c)) {
3741
- var y = c.options["=".concat(f)];
3742
- if (!y) {
3740
+ if (Vt(c)) {
3741
+ var _ = c.options["=".concat(f)];
3742
+ if (!_) {
3743
3743
  if (!Intl.PluralRules)
3744
3744
  throw new Ce(`Intl.PluralRules is not available in this environment.
3745
3745
  Try polyfilling it using "@formatjs/intl-pluralrules"
3746
- `, Y.MISSING_INTL_API, s);
3746
+ `, J.MISSING_INTL_API, s);
3747
3747
  var C = r.getPluralRules(t, { type: c.pluralType }).select(f - (c.offset || 0));
3748
- y = c.options[C] || c.options.other;
3748
+ _ = c.options[C] || c.options.other;
3749
3749
  }
3750
- if (!y)
3751
- throw new _t(c.value, f, Object.keys(c.options), s);
3752
- a.push.apply(a, me(y.value, t, r, n, i, f - (c.offset || 0)));
3750
+ if (!_)
3751
+ throw new xt(c.value, f, Object.keys(c.options), s);
3752
+ a.push.apply(a, be(_.value, t, r, n, i, f - (c.offset || 0)));
3753
3753
  continue;
3754
3754
  }
3755
3755
  }
3756
- return Qn(a);
3756
+ return Jn(a);
3757
3757
  }
3758
- function Jn(e, t) {
3758
+ function ei(e, t) {
3759
3759
  return t ? N(N(N({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3760
3760
  return r[n] = N(N({}, e[n]), t[n] || {}), r;
3761
3761
  }, {})) : e;
3762
3762
  }
3763
- function Kn(e, t) {
3763
+ function ti(e, t) {
3764
3764
  return t ? Object.keys(e).reduce(function(r, n) {
3765
- return r[n] = Jn(e[n], t[n]), r;
3765
+ return r[n] = ei(e[n], t[n]), r;
3766
3766
  }, N({}, e)) : e;
3767
3767
  }
3768
- function Ne(e) {
3768
+ function Ie(e) {
3769
3769
  return {
3770
3770
  create: function() {
3771
3771
  return {
@@ -3779,39 +3779,39 @@ function Ne(e) {
3779
3779
  }
3780
3780
  };
3781
3781
  }
3782
- function ei(e) {
3782
+ function ri(e) {
3783
3783
  return e === void 0 && (e = {
3784
3784
  number: {},
3785
3785
  dateTime: {},
3786
3786
  pluralRules: {}
3787
3787
  }), {
3788
- getNumberFormat: Me(function() {
3788
+ getNumberFormat: Oe(function() {
3789
3789
  for (var t, r = [], n = 0; n < arguments.length; n++)
3790
3790
  r[n] = arguments[n];
3791
- return new ((t = Intl.NumberFormat).bind.apply(t, He([void 0], r, !1)))();
3791
+ return new ((t = Intl.NumberFormat).bind.apply(t, Me([void 0], r, !1)))();
3792
3792
  }, {
3793
- cache: Ne(e.number),
3793
+ cache: Ie(e.number),
3794
3794
  strategy: Pe.variadic
3795
3795
  }),
3796
- getDateTimeFormat: Me(function() {
3796
+ getDateTimeFormat: Oe(function() {
3797
3797
  for (var t, r = [], n = 0; n < arguments.length; n++)
3798
3798
  r[n] = arguments[n];
3799
- return new ((t = Intl.DateTimeFormat).bind.apply(t, He([void 0], r, !1)))();
3799
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Me([void 0], r, !1)))();
3800
3800
  }, {
3801
- cache: Ne(e.dateTime),
3801
+ cache: Ie(e.dateTime),
3802
3802
  strategy: Pe.variadic
3803
3803
  }),
3804
- getPluralRules: Me(function() {
3804
+ getPluralRules: Oe(function() {
3805
3805
  for (var t, r = [], n = 0; n < arguments.length; n++)
3806
3806
  r[n] = arguments[n];
3807
- return new ((t = Intl.PluralRules).bind.apply(t, He([void 0], r, !1)))();
3807
+ return new ((t = Intl.PluralRules).bind.apply(t, Me([void 0], r, !1)))();
3808
3808
  }, {
3809
- cache: Ne(e.pluralRules),
3809
+ cache: Ie(e.pluralRules),
3810
3810
  strategy: Pe.variadic
3811
3811
  })
3812
3812
  };
3813
3813
  }
3814
- var ti = (
3814
+ var ni = (
3815
3815
  /** @class */
3816
3816
  function() {
3817
3817
  function e(t, r, n, i) {
@@ -3830,7 +3830,7 @@ var ti = (
3830
3830
  }, []);
3831
3831
  return c.length <= 1 ? c[0] || "" : c;
3832
3832
  }, this.formatToParts = function(l) {
3833
- return me(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
3833
+ return be(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
3834
3834
  }, this.resolvedOptions = function() {
3835
3835
  var l;
3836
3836
  return {
@@ -3843,13 +3843,13 @@ var ti = (
3843
3843
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3844
3844
  var s = i || {};
3845
3845
  s.formatters;
3846
- var a = cn(s, ["formatters"]);
3846
+ var a = fn(s, ["formatters"]);
3847
3847
  this.ast = e.__parse(t, N(N({}, a), { locale: this.resolvedLocale }));
3848
3848
  } else
3849
3849
  this.ast = t;
3850
3850
  if (!Array.isArray(this.ast))
3851
3851
  throw new TypeError("A message must be provided as a String or AST.");
3852
- this.formats = Kn(e.formats, n), this.formatters = i && i.formatters || ei(this.formatterCache);
3852
+ this.formats = ti(e.formats, n), this.formatters = i && i.formatters || ri(this.formatterCache);
3853
3853
  }
3854
3854
  return Object.defineProperty(e, "defaultLocale", {
3855
3855
  get: function() {
@@ -3862,7 +3862,7 @@ var ti = (
3862
3862
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3863
3863
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3864
3864
  }
3865
- }, e.__parse = Xn, e.formats = {
3865
+ }, e.__parse = qn, e.formats = {
3866
3866
  number: {
3867
3867
  integer: {
3868
3868
  maximumFractionDigits: 0
@@ -3923,7 +3923,7 @@ var ti = (
3923
3923
  }, e;
3924
3924
  }()
3925
3925
  );
3926
- function ri(e, t) {
3926
+ function ii(e, t) {
3927
3927
  if (t == null)
3928
3928
  return;
3929
3929
  if (t in e)
@@ -3944,92 +3944,92 @@ function ri(e, t) {
3944
3944
  n = void 0;
3945
3945
  return n;
3946
3946
  }
3947
- const L = {}, ni = (e, t, r) => r && (t in L || (L[t] = {}), e in L[t] || (L[t][e] = r), r), tr = (e, t) => {
3947
+ const L = {}, oi = (e, t, r) => r && (t in L || (L[t] = {}), e in L[t] || (L[t][e] = r), r), rr = (e, t) => {
3948
3948
  if (t == null)
3949
3949
  return;
3950
3950
  if (t in L && e in L[t])
3951
3951
  return L[t][e];
3952
3952
  const r = Ae(t);
3953
3953
  for (let n = 0; n < r.length; n++) {
3954
- const i = r[n], o = oi(i, e);
3954
+ const i = r[n], o = ai(i, e);
3955
3955
  if (o)
3956
- return ni(e, t, o);
3956
+ return oi(e, t, o);
3957
3957
  }
3958
3958
  };
3959
- let et;
3960
- const le = Ee({});
3961
- function ii(e) {
3962
- return et[e] || null;
3959
+ let tt;
3960
+ const ce = we({});
3961
+ function si(e) {
3962
+ return tt[e] || null;
3963
3963
  }
3964
- function rr(e) {
3965
- return e in et;
3964
+ function nr(e) {
3965
+ return e in tt;
3966
3966
  }
3967
- function oi(e, t) {
3968
- if (!rr(e))
3967
+ function ai(e, t) {
3968
+ if (!nr(e))
3969
3969
  return null;
3970
- const r = ii(e);
3971
- return ri(r, t);
3970
+ const r = si(e);
3971
+ return ii(r, t);
3972
3972
  }
3973
- function si(e) {
3973
+ function ui(e) {
3974
3974
  if (e == null)
3975
3975
  return;
3976
3976
  const t = Ae(e);
3977
3977
  for (let r = 0; r < t.length; r++) {
3978
3978
  const n = t[r];
3979
- if (rr(n))
3979
+ if (nr(n))
3980
3980
  return n;
3981
3981
  }
3982
3982
  }
3983
- function nr(e, ...t) {
3984
- delete L[e], le.update((r) => (r[e] = ln.all([r[e] || {}, ...t]), r));
3983
+ function ir(e, ...t) {
3984
+ delete L[e], ce.update((r) => (r[e] = hn.all([r[e] || {}, ...t]), r));
3985
3985
  }
3986
- ee(
3987
- [le],
3986
+ te(
3987
+ [ce],
3988
3988
  ([e]) => Object.keys(e)
3989
3989
  );
3990
- le.subscribe((e) => et = e);
3991
- const be = {};
3992
- function ai(e, t) {
3993
- be[e].delete(t), be[e].size === 0 && delete be[e];
3990
+ ce.subscribe((e) => tt = e);
3991
+ const ve = {};
3992
+ function li(e, t) {
3993
+ ve[e].delete(t), ve[e].size === 0 && delete ve[e];
3994
3994
  }
3995
- function ir(e) {
3996
- return be[e];
3995
+ function or(e) {
3996
+ return ve[e];
3997
3997
  }
3998
- function ui(e) {
3998
+ function ci(e) {
3999
3999
  return Ae(e).map((t) => {
4000
- const r = ir(t);
4000
+ const r = or(t);
4001
4001
  return [t, r ? [...r] : []];
4002
4002
  }).filter(([, t]) => t.length > 0);
4003
4003
  }
4004
- function Ye(e) {
4004
+ function Je(e) {
4005
4005
  return e == null ? !1 : Ae(e).some(
4006
4006
  (t) => {
4007
4007
  var r;
4008
- return (r = ir(t)) == null ? void 0 : r.size;
4008
+ return (r = or(t)) == null ? void 0 : r.size;
4009
4009
  }
4010
4010
  );
4011
4011
  }
4012
- function li(e, t) {
4012
+ function hi(e, t) {
4013
4013
  return Promise.all(
4014
- t.map((n) => (ai(e, n), n().then((i) => i.default || i)))
4015
- ).then((n) => nr(e, ...n));
4016
- }
4017
- const ne = {};
4018
- function or(e) {
4019
- if (!Ye(e))
4020
- return e in ne ? ne[e] : Promise.resolve();
4021
- const t = ui(e);
4022
- return ne[e] = Promise.all(
4014
+ t.map((n) => (li(e, n), n().then((i) => i.default || i)))
4015
+ ).then((n) => ir(e, ...n));
4016
+ }
4017
+ const ie = {};
4018
+ function sr(e) {
4019
+ if (!Je(e))
4020
+ return e in ie ? ie[e] : Promise.resolve();
4021
+ const t = ci(e);
4022
+ return ie[e] = Promise.all(
4023
4023
  t.map(
4024
- ([r, n]) => li(r, n)
4024
+ ([r, n]) => hi(r, n)
4025
4025
  )
4026
4026
  ).then(() => {
4027
- if (Ye(e))
4028
- return or(e);
4029
- delete ne[e];
4030
- }), ne[e];
4027
+ if (Je(e))
4028
+ return sr(e);
4029
+ delete ie[e];
4030
+ }), ie[e];
4031
4031
  }
4032
- const ci = {
4032
+ const fi = {
4033
4033
  number: {
4034
4034
  scientific: { notation: "scientific" },
4035
4035
  engineering: { notation: "engineering" },
@@ -4058,135 +4058,135 @@ const ci = {
4058
4058
  timeZoneName: "short"
4059
4059
  }
4060
4060
  }
4061
- }, hi = {
4061
+ }, pi = {
4062
4062
  fallbackLocale: null,
4063
4063
  loadingDelay: 200,
4064
- formats: ci,
4064
+ formats: fi,
4065
4065
  warnOnMissingMessages: !0,
4066
4066
  handleMissingMessage: void 0,
4067
4067
  ignoreTag: !0
4068
- }, fi = hi;
4069
- function J() {
4070
- return fi;
4068
+ }, di = pi;
4069
+ function K() {
4070
+ return di;
4071
4071
  }
4072
- const Ie = Ee(!1);
4073
- var pi = Object.defineProperty, di = Object.defineProperties, mi = Object.getOwnPropertyDescriptors, xt = Object.getOwnPropertySymbols, bi = Object.prototype.hasOwnProperty, vi = Object.prototype.propertyIsEnumerable, Et = (e, t, r) => t in e ? pi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, gi = (e, t) => {
4072
+ const Le = we(!1);
4073
+ var mi = Object.defineProperty, bi = Object.defineProperties, vi = Object.getOwnPropertyDescriptors, Et = Object.getOwnPropertySymbols, gi = Object.prototype.hasOwnProperty, yi = Object.prototype.propertyIsEnumerable, wt = (e, t, r) => t in e ? mi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, _i = (e, t) => {
4074
4074
  for (var r in t || (t = {}))
4075
- bi.call(t, r) && Et(e, r, t[r]);
4076
- if (xt)
4077
- for (var r of xt(t))
4078
- vi.call(t, r) && Et(e, r, t[r]);
4075
+ gi.call(t, r) && wt(e, r, t[r]);
4076
+ if (Et)
4077
+ for (var r of Et(t))
4078
+ yi.call(t, r) && wt(e, r, t[r]);
4079
4079
  return e;
4080
- }, yi = (e, t) => di(e, mi(t));
4081
- let Je;
4082
- const ye = Ee(null);
4083
- function wt(e) {
4080
+ }, xi = (e, t) => bi(e, vi(t));
4081
+ let Ke;
4082
+ const _e = we(null);
4083
+ function St(e) {
4084
4084
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4085
4085
  }
4086
- function Ae(e, t = J().fallbackLocale) {
4087
- const r = wt(e);
4088
- return t ? [.../* @__PURE__ */ new Set([...r, ...wt(t)])] : r;
4086
+ function Ae(e, t = K().fallbackLocale) {
4087
+ const r = St(e);
4088
+ return t ? [.../* @__PURE__ */ new Set([...r, ...St(t)])] : r;
4089
4089
  }
4090
4090
  function G() {
4091
- return Je ?? void 0;
4091
+ return Ke ?? void 0;
4092
4092
  }
4093
- ye.subscribe((e) => {
4094
- Je = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4093
+ _e.subscribe((e) => {
4094
+ Ke = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4095
4095
  });
4096
- const _i = (e) => {
4097
- if (e && si(e) && Ye(e)) {
4098
- const { loadingDelay: t } = J();
4096
+ const Ei = (e) => {
4097
+ if (e && ui(e) && Je(e)) {
4098
+ const { loadingDelay: t } = K();
4099
4099
  let r;
4100
4100
  return typeof window < "u" && G() != null && t ? r = window.setTimeout(
4101
- () => Ie.set(!0),
4101
+ () => Le.set(!0),
4102
4102
  t
4103
- ) : Ie.set(!0), or(e).then(() => {
4104
- ye.set(e);
4103
+ ) : Le.set(!0), sr(e).then(() => {
4104
+ _e.set(e);
4105
4105
  }).finally(() => {
4106
- clearTimeout(r), Ie.set(!1);
4106
+ clearTimeout(r), Le.set(!1);
4107
4107
  });
4108
4108
  }
4109
- return ye.set(e);
4110
- }, te = yi(gi({}, ye), {
4111
- set: _i
4112
- }), Se = (e) => {
4109
+ return _e.set(e);
4110
+ }, re = xi(_i({}, _e), {
4111
+ set: Ei
4112
+ }), Te = (e) => {
4113
4113
  const t = /* @__PURE__ */ Object.create(null);
4114
4114
  return (n) => {
4115
4115
  const i = JSON.stringify(n);
4116
4116
  return i in t ? t[i] : t[i] = e(n);
4117
4117
  };
4118
4118
  };
4119
- var xi = Object.defineProperty, _e = Object.getOwnPropertySymbols, sr = Object.prototype.hasOwnProperty, ar = Object.prototype.propertyIsEnumerable, Ct = (e, t, r) => t in e ? xi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, tt = (e, t) => {
4119
+ var wi = Object.defineProperty, xe = Object.getOwnPropertySymbols, ar = Object.prototype.hasOwnProperty, ur = Object.prototype.propertyIsEnumerable, Ct = (e, t, r) => t in e ? wi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, rt = (e, t) => {
4120
4120
  for (var r in t || (t = {}))
4121
- sr.call(t, r) && Ct(e, r, t[r]);
4122
- if (_e)
4123
- for (var r of _e(t))
4124
- ar.call(t, r) && Ct(e, r, t[r]);
4121
+ ar.call(t, r) && Ct(e, r, t[r]);
4122
+ if (xe)
4123
+ for (var r of xe(t))
4124
+ ur.call(t, r) && Ct(e, r, t[r]);
4125
4125
  return e;
4126
- }, re = (e, t) => {
4126
+ }, ne = (e, t) => {
4127
4127
  var r = {};
4128
4128
  for (var n in e)
4129
- sr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4130
- if (e != null && _e)
4131
- for (var n of _e(e))
4132
- t.indexOf(n) < 0 && ar.call(e, n) && (r[n] = e[n]);
4129
+ ar.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4130
+ if (e != null && xe)
4131
+ for (var n of xe(e))
4132
+ t.indexOf(n) < 0 && ur.call(e, n) && (r[n] = e[n]);
4133
4133
  return r;
4134
4134
  };
4135
- const ae = (e, t) => {
4136
- const { formats: r } = J();
4135
+ const ue = (e, t) => {
4136
+ const { formats: r } = K();
4137
4137
  if (e in r && t in r[e])
4138
4138
  return r[e][t];
4139
4139
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4140
- }, Ei = Se(
4140
+ }, Si = Te(
4141
4141
  (e) => {
4142
- var t = e, { locale: r, format: n } = t, i = re(t, ["locale", "format"]);
4142
+ var t = e, { locale: r, format: n } = t, i = ne(t, ["locale", "format"]);
4143
4143
  if (r == null)
4144
4144
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4145
- return n && (i = ae("number", n)), new Intl.NumberFormat(r, i);
4145
+ return n && (i = ue("number", n)), new Intl.NumberFormat(r, i);
4146
4146
  }
4147
- ), wi = Se(
4147
+ ), Ci = Te(
4148
4148
  (e) => {
4149
- var t = e, { locale: r, format: n } = t, i = re(t, ["locale", "format"]);
4149
+ var t = e, { locale: r, format: n } = t, i = ne(t, ["locale", "format"]);
4150
4150
  if (r == null)
4151
4151
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4152
- return n ? i = ae("date", n) : Object.keys(i).length === 0 && (i = ae("date", "short")), new Intl.DateTimeFormat(r, i);
4152
+ return n ? i = ue("date", n) : Object.keys(i).length === 0 && (i = ue("date", "short")), new Intl.DateTimeFormat(r, i);
4153
4153
  }
4154
- ), Ci = Se(
4154
+ ), Ai = Te(
4155
4155
  (e) => {
4156
- var t = e, { locale: r, format: n } = t, i = re(t, ["locale", "format"]);
4156
+ var t = e, { locale: r, format: n } = t, i = ne(t, ["locale", "format"]);
4157
4157
  if (r == null)
4158
4158
  throw new Error(
4159
4159
  '[svelte-i18n] A "locale" must be set to format time values'
4160
4160
  );
4161
- return n ? i = ae("time", n) : Object.keys(i).length === 0 && (i = ae("time", "short")), new Intl.DateTimeFormat(r, i);
4161
+ return n ? i = ue("time", n) : Object.keys(i).length === 0 && (i = ue("time", "short")), new Intl.DateTimeFormat(r, i);
4162
4162
  }
4163
- ), Ai = (e = {}) => {
4163
+ ), Ti = (e = {}) => {
4164
4164
  var t = e, {
4165
4165
  locale: r = G()
4166
- } = t, n = re(t, [
4166
+ } = t, n = ne(t, [
4167
4167
  "locale"
4168
4168
  ]);
4169
- return Ei(tt({ locale: r }, n));
4170
- }, Si = (e = {}) => {
4169
+ return Si(rt({ locale: r }, n));
4170
+ }, Bi = (e = {}) => {
4171
4171
  var t = e, {
4172
4172
  locale: r = G()
4173
- } = t, n = re(t, [
4173
+ } = t, n = ne(t, [
4174
4174
  "locale"
4175
4175
  ]);
4176
- return wi(tt({ locale: r }, n));
4177
- }, Ti = (e = {}) => {
4176
+ return Ci(rt({ locale: r }, n));
4177
+ }, Hi = (e = {}) => {
4178
4178
  var t = e, {
4179
4179
  locale: r = G()
4180
- } = t, n = re(t, [
4180
+ } = t, n = ne(t, [
4181
4181
  "locale"
4182
4182
  ]);
4183
- return Ci(tt({ locale: r }, n));
4184
- }, Bi = Se(
4183
+ return Ai(rt({ locale: r }, n));
4184
+ }, Mi = Te(
4185
4185
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4186
- (e, t = G()) => new ti(e, t, J().formats, {
4187
- ignoreTag: J().ignoreTag
4186
+ (e, t = G()) => new ni(e, t, K().formats, {
4187
+ ignoreTag: K().ignoreTag
4188
4188
  })
4189
- ), Hi = (e, t = {}) => {
4189
+ ), Oi = (e, t = {}) => {
4190
4190
  var r, n, i, o;
4191
4191
  let s = t;
4192
4192
  typeof e == "object" && (s = e, e = s.id);
@@ -4199,9 +4199,9 @@ const ae = (e, t) => {
4199
4199
  throw new Error(
4200
4200
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4201
4201
  );
4202
- let c = tr(e, l);
4202
+ let c = rr(e, l);
4203
4203
  if (!c)
4204
- c = (o = (i = (n = (r = J()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4204
+ c = (o = (i = (n = (r = K()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4205
4205
  else if (typeof c != "string")
4206
4206
  return console.warn(
4207
4207
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -4210,7 +4210,7 @@ const ae = (e, t) => {
4210
4210
  return c;
4211
4211
  let h = c;
4212
4212
  try {
4213
- h = Bi(c, l).format(a);
4213
+ h = Mi(c, l).format(a);
4214
4214
  } catch (f) {
4215
4215
  f instanceof Error && console.warn(
4216
4216
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4218,21 +4218,21 @@ const ae = (e, t) => {
4218
4218
  );
4219
4219
  }
4220
4220
  return h;
4221
- }, Mi = (e, t) => Ti(t).format(e), Pi = (e, t) => Si(t).format(e), Oi = (e, t) => Ai(t).format(e), Ni = (e, t = G()) => tr(e, t), Ii = ee([te, le], () => Hi);
4222
- ee([te], () => Mi);
4223
- ee([te], () => Pi);
4224
- ee([te], () => Oi);
4225
- ee([te, le], () => Ni);
4226
- window.emWidgets = { topic: zr };
4227
- const Li = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4221
+ }, Pi = (e, t) => Hi(t).format(e), Ni = (e, t) => Bi(t).format(e), Ii = (e, t) => Ti(t).format(e), Li = (e, t = G()) => rr(e, t), $i = te([re, ce], () => Oi);
4222
+ te([re], () => Pi);
4223
+ te([re], () => Ni);
4224
+ te([re], () => Ii);
4225
+ te([re, ce], () => Li);
4226
+ window.emWidgets = { topic: Xr };
4227
+ const Ri = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4228
4228
  String(Number.MAX_SAFE_INTEGER).length;
4229
4229
  function At(e, t) {
4230
- nr(e, t);
4230
+ ir(e, t);
4231
4231
  }
4232
- function $i(e) {
4233
- te.set(e);
4232
+ function Di(e) {
4233
+ re.set(e);
4234
4234
  }
4235
- const St = {
4235
+ const Tt = {
4236
4236
  en: {
4237
4237
  titleAccountClosure: "Account Closure",
4238
4238
  accountClosureDescription: "Account Closure provides a permanent access restriction to your account if you feel you need a break, or you just want to stop using our services.",
@@ -4321,14 +4321,14 @@ const St = {
4321
4321
  accountClosureCancel: "No",
4322
4322
  accountClosureConfirm: "Yes"
4323
4323
  }
4324
- };
4325
- function Ri(e, t) {
4324
+ }, X = "__WIDGET_GLOBAL_STYLE_CACHE__";
4325
+ function Ui(e, t) {
4326
4326
  if (e) {
4327
4327
  const r = document.createElement("style");
4328
4328
  r.innerHTML = t, e.appendChild(r);
4329
4329
  }
4330
4330
  }
4331
- function Di(e, t) {
4331
+ function Fi(e, t) {
4332
4332
  if (!e || !t)
4333
4333
  return;
4334
4334
  const r = new URL(t);
@@ -4339,56 +4339,83 @@ function Di(e, t) {
4339
4339
  console.error("There was an error while trying to load client styling from URL", n);
4340
4340
  });
4341
4341
  }
4342
- function Ui(e, t, r) {
4343
- if (window.emMessageBus) {
4344
- const n = document.createElement("style");
4345
- window.emMessageBus.subscribe(t, (i) => {
4346
- n.innerHTML = i, e && e.appendChild(n);
4342
+ function Gi(e, t, r, n = !1) {
4343
+ if (!window.emMessageBus)
4344
+ return;
4345
+ if (!("adoptedStyleSheets" in Document.prototype) || !n)
4346
+ return r = ji(e, t), r;
4347
+ window[X] || (window[X] = {}), r = ki(e, t);
4348
+ const o = r.unsubscribe.bind(r), s = () => {
4349
+ if (window[X][t]) {
4350
+ const a = window[X][t];
4351
+ a.refCount > 1 ? a.refCount = a.refCount - 1 : delete window[X][t];
4352
+ }
4353
+ o();
4354
+ };
4355
+ return r.unsubscribe = s, r;
4356
+ }
4357
+ function ji(e, t) {
4358
+ const r = document.createElement("style");
4359
+ return window.emMessageBus.subscribe(t, (n) => {
4360
+ e && (r.innerHTML = n, e.appendChild(r));
4361
+ });
4362
+ }
4363
+ function ki(e, t) {
4364
+ return window.emMessageBus.subscribe(t, (r) => {
4365
+ if (!e)
4366
+ return;
4367
+ const n = e.getRootNode(), i = window[X];
4368
+ let o = i[t]?.sheet;
4369
+ o ? i[t].refCount = i[t].refCount + 1 : (o = new CSSStyleSheet(), o.replaceSync(r), i[t] = {
4370
+ sheet: o,
4371
+ refCount: 1
4347
4372
  });
4348
- }
4373
+ const s = n.adoptedStyleSheets || [];
4374
+ s.includes(o) || (n.adoptedStyleSheets = [...s, o]);
4375
+ });
4349
4376
  }
4350
- function Fi(e) {
4351
- cr(e, "svelte-1oeuewt", '.skeletonContainerClosure .skeletonWrapper{animation:fadeIn ease 0.3s;display:flex;flex-wrap:wrap;gap:8px}.skeletonContainerClosure .skeletonWrapper .skeletonNotification{width:100%}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}.AccountClosureWrapper{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));background-color:var(--emw--pam-color-bg, var(--emw--background-color, #F1F1F1));border-radius:5%;padding:50px;max-width:760px}.AccountClosureWrapper.AccountClosureWrapperMobile{padding:20px 15px;max-width:unset}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg .aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.AccountClosureTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:var(--emw--font-weight-normal, 400)}.AccountClosureTitleMobile{font-size:var(--emw--font-size-large, 20px)}.AccountClosureTitleNone{display:none}.AccountClosureDescription{color:var(--emw--color-gray-300, #58586B);line-height:24px}.AccountClosureDescription.AccountClosureDescriptionMobile{font-size:var(--emw--font-size-small, 14px);line-height:18px}.AccountClosureActionButtons{display:grid;grid-column-gap:10px;grid-template-rows:auto;grid-template-columns:1fr;margin-top:20px;width:50%;color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF))}.AccountClosureActionButtons.AccountClosureActionButtonsMobile{width:100%;grid-template-columns:1fr}.AccountClosureSave{background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0E5924);border-radius:var(--emw--button-border-radius, 10px);padding:30px 0;color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF));width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:var(--emw--font-size-medium, 16px);text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box;cursor:pointer}.AccountClosureSave.AccountClosureSaveMobile{width:100%;height:40px;font-size:var(--emw--font-size-small, 14px);grid-template-columns:1fr}.ModalWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:rgba(0, 0, 0, 0.7);display:flex;justify-content:center;align-items:center;z-index:100}.ModalWrapper .ModalContent{position:relative;background:linear-gradient(to right, var(--emw--color-primary-variant, #184026), var(--emw--color-secondary-variant, #013E5C));border:5px solid transparent;padding:30px;background-clip:padding-box;border-radius:var(--emw--border-radius-medium, 10px)}.ModalWrapper .ModalContent::before{content:"";position:absolute;top:-6px;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)}.ModalWrapper .ModalContent::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)}.ModalWrapper .ModalBody{background:transparent;padding:30px;text-align:center}.ModalWrapper .ModalBody .ModalText{font-size:var(--emw--font-size-x-large, 24px);margin-bottom:40px;color:white}.ModalWrapper .ModalBody .ModalButtons{display:flex;gap:36px}.ModalWrapper .ModalBody .ModalCancel,.ModalWrapper .ModalBody .ModalConfirm{background:transparent;border:1px solid #BFCBC3;color:#BFCBC3;cursor:pointer;border-radius:var(--emw--button-border-radius, 10px);width:200px;height:50px;font-size:var(--emw--font-size-medium, 16px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.ModalWrapper .ModalBody .ModalConfirm{background-color:var(--emw--color-primary, #22B04E);border:2px solid var(--emw--button-border-color, #063B17);border-radius:var(--emw--button-border-radius, 10px);color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF))}.ModalWrapper.ModalWrapperMobile .ModalContent{padding:20px;width:80vw;border-top:none}.ModalWrapper.ModalWrapperMobile .ModalBody{padding:0;background:transparent}.ModalWrapper.ModalWrapperMobile .ModalText{font-size:var(--emw--font-size-medium, 16px)}.ModalWrapper.ModalWrapperMobile .ModalButtons{gap:10px}.ModalWrapper.ModalWrapperMobile .ModalCancel,.ModalWrapper.ModalWrapperMobile .ModalConfirm{height:40px;width:50%;font-size:var(--emw--font-size-small, 14px)}');
4377
+ function Wi(e) {
4378
+ fr(e, "svelte-1oeuewt", '.skeletonContainerClosure .skeletonWrapper{animation:fadeIn ease 0.3s;display:flex;flex-wrap:wrap;gap:8px}.skeletonContainerClosure .skeletonWrapper .skeletonNotification{width:100%}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}.AccountClosureWrapper{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));background-color:var(--emw--pam-color-bg, var(--emw--background-color, #F1F1F1));border-radius:5%;padding:50px;max-width:760px}.AccountClosureWrapper.AccountClosureWrapperMobile{padding:20px 15px;max-width:unset}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg .aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.AccountClosureTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:var(--emw--font-weight-normal, 400)}.AccountClosureTitleMobile{font-size:var(--emw--font-size-large, 20px)}.AccountClosureTitleNone{display:none}.AccountClosureDescription{color:var(--emw--color-gray-300, #58586B);line-height:24px}.AccountClosureDescription.AccountClosureDescriptionMobile{font-size:var(--emw--font-size-small, 14px);line-height:18px}.AccountClosureActionButtons{display:grid;grid-column-gap:10px;grid-template-rows:auto;grid-template-columns:1fr;margin-top:20px;width:50%;color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF))}.AccountClosureActionButtons.AccountClosureActionButtonsMobile{width:100%;grid-template-columns:1fr}.AccountClosureSave{background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0E5924);border-radius:var(--emw--button-border-radius, 10px);padding:30px 0;color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF));width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:var(--emw--font-size-medium, 16px);text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box;cursor:pointer}.AccountClosureSave.AccountClosureSaveMobile{width:100%;height:40px;font-size:var(--emw--font-size-small, 14px);grid-template-columns:1fr}.ModalWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:rgba(0, 0, 0, 0.7);display:flex;justify-content:center;align-items:center;z-index:100}.ModalWrapper .ModalContent{position:relative;background:linear-gradient(to right, var(--emw--color-primary-variant, #184026), var(--emw--color-secondary-variant, #013E5C));border:5px solid transparent;padding:30px;background-clip:padding-box;border-radius:var(--emw--border-radius-medium, 10px)}.ModalWrapper .ModalContent::before{content:"";position:absolute;top:-6px;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)}.ModalWrapper .ModalContent::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)}.ModalWrapper .ModalBody{background:transparent;padding:30px;text-align:center}.ModalWrapper .ModalBody .ModalText{font-size:var(--emw--font-size-x-large, 24px);margin-bottom:40px;color:white}.ModalWrapper .ModalBody .ModalButtons{display:flex;gap:36px}.ModalWrapper .ModalBody .ModalCancel,.ModalWrapper .ModalBody .ModalConfirm{background:transparent;border:1px solid #BFCBC3;color:#BFCBC3;cursor:pointer;border-radius:var(--emw--button-border-radius, 10px);width:200px;height:50px;font-size:var(--emw--font-size-medium, 16px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.ModalWrapper .ModalBody .ModalConfirm{background-color:var(--emw--color-primary, #22B04E);border:2px solid var(--emw--button-border-color, #063B17);border-radius:var(--emw--button-border-radius, 10px);color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF))}.ModalWrapper.ModalWrapperMobile .ModalContent{padding:20px;width:80vw;border-top:none}.ModalWrapper.ModalWrapperMobile .ModalBody{padding:0;background:transparent}.ModalWrapper.ModalWrapperMobile .ModalText{font-size:var(--emw--font-size-medium, 16px)}.ModalWrapper.ModalWrapperMobile .ModalButtons{gap:10px}.ModalWrapper.ModalWrapperMobile .ModalCancel,.ModalWrapper.ModalWrapperMobile .ModalConfirm{height:40px;width:50%;font-size:var(--emw--font-size-small, 14px)}');
4352
4379
  }
4353
- function Gi(e, t, r) {
4380
+ function zi(e, t, r) {
4354
4381
  const n = e.slice();
4355
4382
  return n[22] = t[r], n;
4356
4383
  }
4357
- function ji(e) {
4384
+ function Vi(e) {
4358
4385
  let t, r, n, i, o, s, a, l, u, c, h = (
4359
4386
  /*$_*/
4360
4387
  e[3]("titleAccountClosure") + ""
4361
4388
  ), f, p, m;
4362
4389
  return {
4363
4390
  c() {
4364
- t = B("div"), r = k("svg"), n = k("defs"), i = k("style"), o = $(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), s = k("g"), a = k("g"), l = k("path"), u = U(), c = B("h2"), f = $(h), _(l, "class", "aaa"), _(l, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), _(l, "transform", "translate(15 15) rotate(180)"), _(a, "transform", "translate(20 158)"), _(s, "transform", "translate(-20 -158)"), _(r, "xmlns", "http://www.w3.org/2000/svg"), _(r, "width", "15"), _(r, "height", "15"), _(r, "viewBox", "0 0 15 15"), _(c, "class", "AccountClosureTitleMobile"), _(c, "part", "AccountClosureTitleMobile"), _(t, "class", "MenuReturnButton"), _(t, "part", "MenuReturnButton");
4391
+ t = B("div"), r = k("svg"), n = k("defs"), i = k("style"), o = $(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), s = k("g"), a = k("g"), l = k("path"), u = U(), c = B("h2"), f = $(h), x(l, "class", "aaa"), x(l, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), x(l, "transform", "translate(15 15) rotate(180)"), x(a, "transform", "translate(20 158)"), x(s, "transform", "translate(-20 -158)"), x(r, "xmlns", "http://www.w3.org/2000/svg"), x(r, "width", "15"), x(r, "height", "15"), x(r, "viewBox", "0 0 15 15"), x(c, "class", "AccountClosureTitleMobile"), x(c, "part", "AccountClosureTitleMobile"), x(t, "class", "MenuReturnButton"), x(t, "part", "MenuReturnButton");
4365
4392
  },
4366
- m(d, x) {
4367
- F(d, t, x), g(t, r), g(r, n), g(n, i), g(i, o), g(r, s), g(s, a), g(a, l), g(t, u), g(t, c), g(c, f), p || (m = ve(
4393
+ m(d, y) {
4394
+ F(d, t, y), g(t, r), g(r, n), g(n, i), g(i, o), g(r, s), g(s, a), g(a, l), g(t, u), g(t, c), g(c, f), p || (m = ge(
4368
4395
  t,
4369
4396
  "click",
4370
4397
  /*click_handler*/
4371
4398
  e[13]
4372
4399
  ), p = !0);
4373
4400
  },
4374
- p(d, x) {
4375
- x & /*$_*/
4401
+ p(d, y) {
4402
+ y & /*$_*/
4376
4403
  8 && h !== (h = /*$_*/
4377
- d[3]("titleAccountClosure") + "") && X(f, h);
4404
+ d[3]("titleAccountClosure") + "") && Z(f, h);
4378
4405
  },
4379
4406
  d(d) {
4380
4407
  d && R(t), p = !1, m();
4381
4408
  }
4382
4409
  };
4383
4410
  }
4384
- function ki(e) {
4411
+ function Xi(e) {
4385
4412
  let t, r, n = (
4386
4413
  /*$_*/
4387
4414
  e[3]("accountClosureDescription") + ""
4388
4415
  );
4389
4416
  return {
4390
4417
  c() {
4391
- t = B("div"), r = B("p"), _(t, "class", "AccountClosureDescription " + /*isMobile*/
4418
+ t = B("div"), r = B("p"), x(t, "class", "AccountClosureDescription " + /*isMobile*/
4392
4419
  (e[4] ? "AccountClosureDescriptionMobile" : ""));
4393
4420
  },
4394
4421
  m(i, o) {
@@ -4404,44 +4431,44 @@ function ki(e) {
4404
4431
  }
4405
4432
  };
4406
4433
  }
4407
- function Wi(e) {
4408
- let t, r, n = Cr({ length: 4 }), i = [];
4434
+ function Zi(e) {
4435
+ let t, r, n = Ar({ length: 4 }), i = [];
4409
4436
  for (let o = 0; o < n.length; o += 1)
4410
- i[o] = zi(Gi(e, n, o));
4437
+ i[o] = qi(zi(e, n, o));
4411
4438
  return {
4412
4439
  c() {
4413
4440
  t = B("div"), r = B("div");
4414
4441
  for (let o = 0; o < i.length; o += 1)
4415
4442
  i[o].c();
4416
- _(r, "class", "skeletonWrapper"), _(t, "class", "skeletonContainerClosure");
4443
+ x(r, "class", "skeletonWrapper"), x(t, "class", "skeletonContainerClosure");
4417
4444
  },
4418
4445
  m(o, s) {
4419
4446
  F(o, t, s), g(t, r);
4420
4447
  for (let a = 0; a < i.length; a += 1)
4421
4448
  i[a] && i[a].m(r, null);
4422
4449
  },
4423
- p: O,
4450
+ p: P,
4424
4451
  d(o) {
4425
- o && R(t), pr(i, o);
4452
+ o && R(t), mr(i, o);
4426
4453
  }
4427
4454
  };
4428
4455
  }
4429
- function zi(e) {
4456
+ function qi(e) {
4430
4457
  let t;
4431
4458
  return {
4432
4459
  c() {
4433
- t = B("div"), t.innerHTML = '<ui-skeleton structure="rectangle" width="auto" height="24px"></ui-skeleton> ', _(t, "class", "skeletonNotification");
4460
+ t = B("div"), t.innerHTML = '<ui-skeleton structure="rectangle" width="auto" height="24px"></ui-skeleton> ', x(t, "class", "skeletonNotification");
4434
4461
  },
4435
4462
  m(r, n) {
4436
4463
  F(r, t, n);
4437
4464
  },
4438
- p: O,
4465
+ p: P,
4439
4466
  d(r) {
4440
4467
  r && R(t);
4441
4468
  }
4442
4469
  };
4443
4470
  }
4444
- function Tt(e) {
4471
+ function Bt(e) {
4445
4472
  let t, r, n, i, o = (
4446
4473
  /*$_*/
4447
4474
  e[3]("modal") + ""
@@ -4451,73 +4478,73 @@ function Tt(e) {
4451
4478
  ), h, f, p, m = (
4452
4479
  /*$_*/
4453
4480
  e[3]("accountClosureConfirm") + ""
4454
- ), d, x, P;
4481
+ ), d, y, O;
4455
4482
  return {
4456
4483
  c() {
4457
- t = B("div"), r = B("div"), n = B("div"), i = B("p"), s = $(o), a = U(), l = B("div"), u = B("button"), h = $(c), f = U(), p = B("button"), d = $(m), _(i, "class", "ModalText"), _(u, "class", "ModalCancel"), _(p, "class", "ModalConfirm"), _(l, "class", "ModalButtons"), _(n, "class", "ModalBody"), _(r, "class", "ModalContent"), _(t, "class", "ModalWrapper " + /*isMobile*/
4484
+ t = B("div"), r = B("div"), n = B("div"), i = B("p"), s = $(o), a = U(), l = B("div"), u = B("button"), h = $(c), f = U(), p = B("button"), d = $(m), x(i, "class", "ModalText"), x(u, "class", "ModalCancel"), x(p, "class", "ModalConfirm"), x(l, "class", "ModalButtons"), x(n, "class", "ModalBody"), x(r, "class", "ModalContent"), x(t, "class", "ModalWrapper " + /*isMobile*/
4458
4485
  (e[4] ? "ModalWrapperMobile" : ""));
4459
4486
  },
4460
- m(T, y) {
4461
- F(T, t, y), g(t, r), g(r, n), g(n, i), g(i, s), g(n, a), g(n, l), g(l, u), g(u, h), g(l, f), g(l, p), g(p, d), x || (P = [
4462
- ve(
4487
+ m(S, _) {
4488
+ F(S, t, _), g(t, r), g(r, n), g(n, i), g(i, s), g(n, a), g(n, l), g(l, u), g(u, h), g(l, f), g(l, p), g(p, d), y || (O = [
4489
+ ge(
4463
4490
  u,
4464
4491
  "click",
4465
4492
  /*click_handler_2*/
4466
4493
  e[15]
4467
4494
  ),
4468
- ve(
4495
+ ge(
4469
4496
  p,
4470
4497
  "click",
4471
4498
  /*click_handler_3*/
4472
4499
  e[16]
4473
4500
  )
4474
- ], x = !0);
4501
+ ], y = !0);
4475
4502
  },
4476
- p(T, y) {
4477
- y & /*$_*/
4503
+ p(S, _) {
4504
+ _ & /*$_*/
4478
4505
  8 && o !== (o = /*$_*/
4479
- T[3]("modal") + "") && X(s, o), y & /*$_*/
4506
+ S[3]("modal") + "") && Z(s, o), _ & /*$_*/
4480
4507
  8 && c !== (c = /*$_*/
4481
- T[3]("accountClosureCancel") + "") && X(h, c), y & /*$_*/
4508
+ S[3]("accountClosureCancel") + "") && Z(h, c), _ & /*$_*/
4482
4509
  8 && m !== (m = /*$_*/
4483
- T[3]("accountClosureConfirm") + "") && X(d, m);
4510
+ S[3]("accountClosureConfirm") + "") && Z(d, m);
4484
4511
  },
4485
- d(T) {
4486
- T && R(t), x = !1, K(P);
4512
+ d(S) {
4513
+ S && R(t), y = !1, ee(O);
4487
4514
  }
4488
4515
  };
4489
4516
  }
4490
- function Vi(e) {
4517
+ function Yi(e) {
4491
4518
  let t, r, n, i, o = (
4492
4519
  /*$_*/
4493
4520
  e[3]("titleAccountClosure") + ""
4494
4521
  ), s, a, l, u, c, h = (
4495
4522
  /*$_*/
4496
4523
  e[3]("closeAccount") + ""
4497
- ), f, p, m, d, x = (
4524
+ ), f, p, m, d, y = (
4498
4525
  /*isMobile*/
4499
- e[4] && ji(e)
4526
+ e[4] && Vi(e)
4500
4527
  );
4501
- function P(E, H) {
4528
+ function O(E, H) {
4502
4529
  return (
4503
4530
  /*skeletonLoading*/
4504
- E[1] ? Wi : ki
4531
+ E[1] ? Zi : Xi
4505
4532
  );
4506
4533
  }
4507
- let T = P(e), y = T(e), C = (
4534
+ let S = O(e), _ = S(e), C = (
4508
4535
  /*closureModal*/
4509
- e[2] && Tt(e)
4536
+ e[2] && Bt(e)
4510
4537
  );
4511
4538
  return {
4512
4539
  c() {
4513
- t = B("div"), r = B("div"), x && x.c(), n = U(), i = B("h2"), s = $(o), a = U(), y.c(), l = U(), u = B("div"), c = B("button"), f = $(h), p = U(), C && C.c(), _(i, "class", "AccountClosureTitle " + /*isMobile*/
4514
- (e[4] ? "AccountClosureTitleNone" : "")), _(c, "class", "AccountClosureSave " + /*isMobile*/
4515
- (e[4] ? "AccountClosureSaveMobile" : "")), _(u, "class", "AccountClosureActionButtons " + /*isMobile*/
4516
- (e[4] ? "AccountClosureActionButtonsMobile" : "")), _(r, "class", "AccountClosureWrapper " + /*isMobile*/
4540
+ t = B("div"), r = B("div"), y && y.c(), n = U(), i = B("h2"), s = $(o), a = U(), _.c(), l = U(), u = B("div"), c = B("button"), f = $(h), p = U(), C && C.c(), x(i, "class", "AccountClosureTitle " + /*isMobile*/
4541
+ (e[4] ? "AccountClosureTitleNone" : "")), x(c, "class", "AccountClosureSave " + /*isMobile*/
4542
+ (e[4] ? "AccountClosureSaveMobile" : "")), x(u, "class", "AccountClosureActionButtons " + /*isMobile*/
4543
+ (e[4] ? "AccountClosureActionButtonsMobile" : "")), x(r, "class", "AccountClosureWrapper " + /*isMobile*/
4517
4544
  (e[4] ? "AccountClosureWrapperMobile" : ""));
4518
4545
  },
4519
4546
  m(E, H) {
4520
- F(E, t, H), g(t, r), x && x.m(r, null), g(r, n), g(r, i), g(i, s), g(r, a), y.m(r, null), g(r, l), g(r, u), g(u, c), g(c, f), g(t, p), C && C.m(t, null), e[17](t), m || (d = ve(
4547
+ F(E, t, H), g(t, r), y && y.m(r, null), g(r, n), g(r, i), g(i, s), g(r, a), _.m(r, null), g(r, l), g(r, u), g(u, c), g(c, f), g(t, p), C && C.m(t, null), e[17](t), m || (d = ge(
4521
4548
  c,
4522
4549
  "click",
4523
4550
  /*click_handler_1*/
@@ -4526,28 +4553,28 @@ function Vi(e) {
4526
4553
  },
4527
4554
  p(E, [H]) {
4528
4555
  /*isMobile*/
4529
- E[4] && x.p(E, H), H & /*$_*/
4556
+ E[4] && y.p(E, H), H & /*$_*/
4530
4557
  8 && o !== (o = /*$_*/
4531
- E[3]("titleAccountClosure") + "") && X(s, o), T === (T = P(E)) && y ? y.p(E, H) : (y.d(1), y = T(E), y && (y.c(), y.m(r, l))), H & /*$_*/
4558
+ E[3]("titleAccountClosure") + "") && Z(s, o), S === (S = O(E)) && _ ? _.p(E, H) : (_.d(1), _ = S(E), _ && (_.c(), _.m(r, l))), H & /*$_*/
4532
4559
  8 && h !== (h = /*$_*/
4533
- E[3]("closeAccount") + "") && X(f, h), /*closureModal*/
4534
- E[2] ? C ? C.p(E, H) : (C = Tt(E), C.c(), C.m(t, null)) : C && (C.d(1), C = null);
4560
+ E[3]("closeAccount") + "") && Z(f, h), /*closureModal*/
4561
+ E[2] ? C ? C.p(E, H) : (C = Bt(E), C.c(), C.m(t, null)) : C && (C.d(1), C = null);
4535
4562
  },
4536
- i: O,
4537
- o: O,
4563
+ i: P,
4564
+ o: P,
4538
4565
  d(E) {
4539
- E && R(t), x && x.d(), y.d(), C && C.d(), e[17](null), m = !1, d();
4566
+ E && R(t), y && y.d(), _.d(), C && C.d(), e[17](null), m = !1, d();
4540
4567
  }
4541
4568
  };
4542
4569
  }
4543
- function Xi(e, t, r) {
4570
+ function Qi(e, t, r) {
4544
4571
  let n;
4545
- lr(e, Ii, (A) => r(3, n = A));
4546
- let { lang: i = "en" } = t, { clientstyling: o = "" } = t, { clientstylingurl: s = "" } = t, { mbsource: a } = t, { translationurl: l = "" } = t, u = window.navigator.userAgent, c = Li(u) !== "PC", h = !1, f = !1, p;
4547
- const m = () => {
4572
+ hr(e, $i, (A) => r(3, n = A));
4573
+ let { lang: i = "en" } = t, { clientstyling: o = "" } = t, { clientstylingurl: s = "" } = t, { mbsource: a } = t, { translationurl: l = "" } = t, u = window.navigator.userAgent, c = Ri(u) !== "PC", h = !1, f = !1, p, m;
4574
+ const d = () => {
4548
4575
  r(1, h = !0), fetch(l).then((j) => j.json()).then((j) => {
4549
- Object.keys(j).forEach((rt) => {
4550
- At(rt, j[rt]);
4576
+ Object.keys(j).forEach((nt) => {
4577
+ At(nt, j[nt]);
4551
4578
  });
4552
4579
  }).catch((j) => {
4553
4580
  console.log(j);
@@ -4555,14 +4582,14 @@ function Xi(e, t, r) {
4555
4582
  r(1, h = !1);
4556
4583
  });
4557
4584
  };
4558
- Object.keys(St).forEach((A) => {
4559
- At(A, St[A]);
4585
+ Object.keys(Tt).forEach((A) => {
4586
+ At(A, Tt[A]);
4560
4587
  });
4561
- const d = (A) => {
4588
+ const y = (A) => {
4562
4589
  r(2, f = A), A === !0 ? window.postMessage({ type: "DisableScroll" }, window.location.href) : window.postMessage({ type: "EnableScroll" }, window.location.href);
4563
- }, x = () => {
4564
- d(!1), window.postMessage({ type: "AccountClosure" }, window.location.href);
4565
- }, P = () => {
4590
+ }, O = () => {
4591
+ y(!1), window.postMessage({ type: "AccountClosure" }, window.location.href);
4592
+ }, S = () => {
4566
4593
  window.postMessage(
4567
4594
  {
4568
4595
  type: "PlayerAccountMenuActive",
@@ -4570,14 +4597,14 @@ function Xi(e, t, r) {
4570
4597
  },
4571
4598
  window.location.href
4572
4599
  );
4573
- }, T = () => {
4574
- $i(i);
4600
+ }, _ = () => {
4601
+ Di(i);
4575
4602
  };
4576
- vr(() => () => {
4603
+ yr(() => () => {
4577
4604
  });
4578
- const y = () => P(), C = () => d(!0), E = () => d(!1), H = () => x();
4579
- function ce(A) {
4580
- Le[A ? "unshift" : "push"](() => {
4605
+ const C = () => S(), E = () => y(!0), H = () => y(!1), he = () => O();
4606
+ function lr(A) {
4607
+ $e[A ? "unshift" : "push"](() => {
4581
4608
  p = A, r(0, p);
4582
4609
  });
4583
4610
  }
@@ -4585,40 +4612,40 @@ function Xi(e, t, r) {
4585
4612
  "lang" in A && r(8, i = A.lang), "clientstyling" in A && r(9, o = A.clientstyling), "clientstylingurl" in A && r(10, s = A.clientstylingurl), "mbsource" in A && r(11, a = A.mbsource), "translationurl" in A && r(12, l = A.translationurl);
4586
4613
  }, e.$$.update = () => {
4587
4614
  e.$$.dirty & /*lang*/
4588
- 256 && i && T(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4589
- 513 && o && p && Ri(p, o), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4590
- 1025 && s && p && Di(p, s), e.$$.dirty & /*mbsource, customStylingContainer*/
4591
- 2049 && a && p && Ui(p, `${a}.Style`), e.$$.dirty & /*translationurl*/
4592
- 4096 && l && m();
4615
+ 256 && i && _(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4616
+ 513 && o && p && Ui(p, o), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4617
+ 1025 && s && p && Fi(p, s), e.$$.dirty & /*mbsource, customStylingContainer*/
4618
+ 2049 && a && p && Gi(p, `${a}.Style`, m), e.$$.dirty & /*translationurl*/
4619
+ 4096 && l && d();
4593
4620
  }, [
4594
4621
  p,
4595
4622
  h,
4596
4623
  f,
4597
4624
  n,
4598
4625
  c,
4599
- d,
4600
- x,
4601
- P,
4626
+ y,
4627
+ O,
4628
+ S,
4602
4629
  i,
4603
4630
  o,
4604
4631
  s,
4605
4632
  a,
4606
4633
  l,
4607
- y,
4608
4634
  C,
4609
4635
  E,
4610
4636
  H,
4611
- ce
4637
+ he,
4638
+ lr
4612
4639
  ];
4613
4640
  }
4614
- class Zi extends Mr {
4641
+ class Ji extends Pr {
4615
4642
  constructor(t) {
4616
- super(), Br(
4643
+ super(), Mr(
4617
4644
  this,
4618
4645
  t,
4619
- Xi,
4620
- Vi,
4621
- Ht,
4646
+ Qi,
4647
+ Yi,
4648
+ Mt,
4622
4649
  {
4623
4650
  lang: 8,
4624
4651
  clientstyling: 9,
@@ -4626,7 +4653,7 @@ class Zi extends Mr {
4626
4653
  mbsource: 11,
4627
4654
  translationurl: 12
4628
4655
  },
4629
- Fi
4656
+ Wi
4630
4657
  );
4631
4658
  }
4632
4659
  get lang() {
@@ -4660,7 +4687,7 @@ class Zi extends Mr {
4660
4687
  this.$$set({ translationurl: t }), D();
4661
4688
  }
4662
4689
  }
4663
- Hr(Zi, { lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
4690
+ Or(Ji, { lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
4664
4691
  export {
4665
- Zi as P
4692
+ Ji as P
4666
4693
  };