@everymatrix/player-account-closure-nd 1.86.4 → 1.86.6

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,17 +1,17 @@
1
- var pr = Object.defineProperty, dr = Object.defineProperties;
2
- var mr = Object.getOwnPropertyDescriptors;
3
- var nt = Object.getOwnPropertySymbols;
4
- var br = Object.prototype.hasOwnProperty, vr = Object.prototype.propertyIsEnumerable;
5
- var Se = (e, t, r) => t in e ? pr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, it = (e, t) => {
1
+ var dr = Object.defineProperty, mr = Object.defineProperties;
2
+ var br = Object.getOwnPropertyDescriptors;
3
+ var ot = Object.getOwnPropertySymbols;
4
+ var vr = Object.prototype.hasOwnProperty, gr = Object.prototype.propertyIsEnumerable;
5
+ var He = (e, t, r) => t in e ? dr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, st = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- br.call(t, r) && Se(e, r, t[r]);
8
- if (nt)
9
- for (var r of nt(t))
10
- vr.call(t, r) && Se(e, r, t[r]);
7
+ vr.call(t, r) && He(e, r, t[r]);
8
+ if (ot)
9
+ for (var r of ot(t))
10
+ gr.call(t, r) && He(e, r, t[r]);
11
11
  return e;
12
- }, ot = (e, t) => dr(e, mr(t));
13
- var I = (e, t, r) => (Se(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var st = (e, t, r) => new Promise((n, i) => {
12
+ }, at = (e, t) => mr(e, br(t));
13
+ var N = (e, t, r) => (He(e, typeof t != "symbol" ? t + "" : t, r), r);
14
+ var ut = (e, t, r) => new Promise((n, i) => {
15
15
  var o = (l) => {
16
16
  try {
17
17
  a(r.next(l));
@@ -27,28 +27,28 @@ var st = (e, t, r) => new Promise((n, i) => {
27
27
  }, a = (l) => l.done ? n(l.value) : Promise.resolve(l.value).then(o, s);
28
28
  a((r = r.apply(e, t)).next());
29
29
  });
30
- import "../stencil/ui-skeleton-YNoAIoec.js";
30
+ import "../stencil/ui-skeleton-xXZA3rYO.js";
31
31
  function O() {
32
32
  }
33
- function Ot(e) {
33
+ function It(e) {
34
34
  return e();
35
35
  }
36
- function at() {
36
+ function lt() {
37
37
  return /* @__PURE__ */ Object.create(null);
38
38
  }
39
- function te(e) {
40
- e.forEach(Ot);
39
+ function ee(e) {
40
+ e.forEach(It);
41
41
  }
42
- function Ye(e) {
42
+ function tt(e) {
43
43
  return typeof e == "function";
44
44
  }
45
- function It(e, t) {
45
+ function Lt(e, t) {
46
46
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
47
47
  }
48
- function gr(e) {
48
+ function yr(e) {
49
49
  return Object.keys(e).length === 0;
50
50
  }
51
- function Nt(e, ...t) {
51
+ function $t(e, ...t) {
52
52
  if (e == null) {
53
53
  for (const n of t)
54
54
  n(void 0);
@@ -57,17 +57,17 @@ function Nt(e, ...t) {
57
57
  const r = e.subscribe(...t);
58
58
  return r.unsubscribe ? () => r.unsubscribe() : r;
59
59
  }
60
- function yr(e, t, r) {
61
- e.$$.on_destroy.push(Nt(t, r));
60
+ function xr(e, t, r) {
61
+ e.$$.on_destroy.push($t(t, r));
62
62
  }
63
63
  function g(e, t) {
64
64
  e.appendChild(t);
65
65
  }
66
- function xr(e, t, r) {
66
+ function _r(e, t, r) {
67
67
  const n = Er(e);
68
68
  if (!n.getElementById(t)) {
69
69
  const i = H("style");
70
- i.id = t, i.textContent = r, _r(n, i);
70
+ i.id = t, i.textContent = r, wr(n, i);
71
71
  }
72
72
  }
73
73
  function Er(e) {
@@ -80,7 +80,7 @@ function Er(e) {
80
80
  t
81
81
  ) : e.ownerDocument;
82
82
  }
83
- function _r(e, t) {
83
+ function wr(e, t) {
84
84
  return g(
85
85
  /** @type {Document} */
86
86
  e.head || e,
@@ -93,14 +93,14 @@ function G(e, t, r) {
93
93
  function D(e) {
94
94
  e.parentNode && e.parentNode.removeChild(e);
95
95
  }
96
- function Cr(e, t) {
96
+ function Ar(e, t) {
97
97
  for (let r = 0; r < e.length; r += 1)
98
98
  e[r] && e[r].d(t);
99
99
  }
100
100
  function H(e) {
101
101
  return document.createElement(e);
102
102
  }
103
- function z(e) {
103
+ function W(e) {
104
104
  return document.createElementNS("http://www.w3.org/2000/svg", e);
105
105
  }
106
106
  function R(e) {
@@ -112,17 +112,17 @@ function F() {
112
112
  function ge(e, t, r, n) {
113
113
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
114
114
  }
115
- function E(e, t, r) {
115
+ function x(e, t, r) {
116
116
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
117
117
  }
118
- function Ar(e) {
118
+ function Cr(e) {
119
119
  return Array.from(e.childNodes);
120
120
  }
121
121
  function Z(e, t) {
122
122
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
123
123
  t);
124
124
  }
125
- function wr(e) {
125
+ function Sr(e) {
126
126
  const t = {};
127
127
  return e.childNodes.forEach(
128
128
  /** @param {Element} node */
@@ -131,90 +131,90 @@ function wr(e) {
131
131
  }
132
132
  ), t;
133
133
  }
134
- let ae;
135
- function se(e) {
136
- ae = e;
134
+ let se;
135
+ function oe(e) {
136
+ se = e;
137
137
  }
138
- function Sr() {
139
- if (!ae)
138
+ function Tr() {
139
+ if (!se)
140
140
  throw new Error("Function called outside component initialization");
141
- return ae;
141
+ return se;
142
142
  }
143
- function Tr(e) {
144
- Sr().$$.on_mount.push(e);
143
+ function Hr(e) {
144
+ Tr().$$.on_mount.push(e);
145
145
  }
146
- const X = [], Le = [];
146
+ const X = [], Re = [];
147
147
  let q = [];
148
- const ut = [], Hr = /* @__PURE__ */ Promise.resolve();
149
- let $e = !1;
150
- function Br() {
151
- $e || ($e = !0, Hr.then(U));
148
+ const ct = [], Br = /* @__PURE__ */ Promise.resolve();
149
+ let De = !1;
150
+ function Mr() {
151
+ De || (De = !0, Br.then(U));
152
152
  }
153
- function Re(e) {
153
+ function Ue(e) {
154
154
  q.push(e);
155
155
  }
156
- const Te = /* @__PURE__ */ new Set();
157
- let W = 0;
156
+ const Be = /* @__PURE__ */ new Set();
157
+ let z = 0;
158
158
  function U() {
159
- if (W !== 0)
159
+ if (z !== 0)
160
160
  return;
161
- const e = ae;
161
+ const e = se;
162
162
  do {
163
163
  try {
164
- for (; W < X.length; ) {
165
- const t = X[W];
166
- W++, se(t), Mr(t.$$);
164
+ for (; z < X.length; ) {
165
+ const t = X[z];
166
+ z++, oe(t), Pr(t.$$);
167
167
  }
168
168
  } catch (t) {
169
- throw X.length = 0, W = 0, t;
169
+ throw X.length = 0, z = 0, t;
170
170
  }
171
- for (se(null), X.length = 0, W = 0; Le.length; )
172
- Le.pop()();
171
+ for (oe(null), X.length = 0, z = 0; Re.length; )
172
+ Re.pop()();
173
173
  for (let t = 0; t < q.length; t += 1) {
174
174
  const r = q[t];
175
- Te.has(r) || (Te.add(r), r());
175
+ Be.has(r) || (Be.add(r), r());
176
176
  }
177
177
  q.length = 0;
178
178
  } while (X.length);
179
- for (; ut.length; )
180
- ut.pop()();
181
- $e = !1, Te.clear(), se(e);
179
+ for (; ct.length; )
180
+ ct.pop()();
181
+ De = !1, Be.clear(), oe(e);
182
182
  }
183
- function Mr(e) {
183
+ function Pr(e) {
184
184
  if (e.fragment !== null) {
185
- e.update(), te(e.before_update);
185
+ e.update(), ee(e.before_update);
186
186
  const t = e.dirty;
187
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Re);
187
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ue);
188
188
  }
189
189
  }
190
- function Pr(e) {
190
+ function Or(e) {
191
191
  const t = [], r = [];
192
192
  q.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), q = t;
193
193
  }
194
- const Or = /* @__PURE__ */ new Set();
194
+ const Nr = /* @__PURE__ */ new Set();
195
195
  function Ir(e, t) {
196
- e && e.i && (Or.delete(e), e.i(t));
196
+ e && e.i && (Nr.delete(e), e.i(t));
197
197
  }
198
- function Nr(e) {
198
+ function Lr(e) {
199
199
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
200
200
  }
201
- function Lr(e, t, r) {
201
+ function $r(e, t, r) {
202
202
  const { fragment: n, after_update: i } = e.$$;
203
- n && n.m(t, r), Re(() => {
204
- const o = e.$$.on_mount.map(Ot).filter(Ye);
205
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : te(o), e.$$.on_mount = [];
206
- }), i.forEach(Re);
203
+ n && n.m(t, r), Ue(() => {
204
+ const o = e.$$.on_mount.map(It).filter(tt);
205
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ee(o), e.$$.on_mount = [];
206
+ }), i.forEach(Ue);
207
207
  }
208
- function $r(e, t) {
208
+ function Rr(e, t) {
209
209
  const r = e.$$;
210
- r.fragment !== null && (Pr(r.after_update), te(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
210
+ r.fragment !== null && (Or(r.after_update), ee(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
211
211
  }
212
- function Rr(e, t) {
213
- e.$$.dirty[0] === -1 && (X.push(e), Br(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
212
+ function Dr(e, t) {
213
+ e.$$.dirty[0] === -1 && (X.push(e), Mr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
214
214
  }
215
- function Dr(e, t, r, n, i, o, s = null, a = [-1]) {
216
- const l = ae;
217
- se(e);
215
+ function Ur(e, t, r, n, i, o, s = null, a = [-1]) {
216
+ const l = se;
217
+ oe(e);
218
218
  const u = e.$$ = {
219
219
  fragment: null,
220
220
  ctx: [],
@@ -222,7 +222,7 @@ function Dr(e, t, r, n, i, o, s = null, a = [-1]) {
222
222
  props: o,
223
223
  update: O,
224
224
  not_equal: i,
225
- bound: at(),
225
+ bound: lt(),
226
226
  // lifecycle
227
227
  on_mount: [],
228
228
  on_destroy: [],
@@ -231,7 +231,7 @@ function Dr(e, t, r, n, i, o, s = null, a = [-1]) {
231
231
  after_update: [],
232
232
  context: new Map(t.context || (l ? l.$$.context : [])),
233
233
  // everything else
234
- callbacks: at(),
234
+ callbacks: lt(),
235
235
  dirty: a,
236
236
  skip_bound: !1,
237
237
  root: t.target || l.$$.root
@@ -240,39 +240,39 @@ function Dr(e, t, r, n, i, o, s = null, a = [-1]) {
240
240
  let c = !1;
241
241
  if (u.ctx = r ? r(e, t.props || {}, (h, f, ...p) => {
242
242
  const m = p.length ? p[0] : f;
243
- return u.ctx && i(u.ctx[h], u.ctx[h] = m) && (!u.skip_bound && u.bound[h] && u.bound[h](m), c && Rr(e, h)), f;
244
- }) : [], u.update(), c = !0, te(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
243
+ return u.ctx && i(u.ctx[h], u.ctx[h] = m) && (!u.skip_bound && u.bound[h] && u.bound[h](m), c && Dr(e, h)), f;
244
+ }) : [], u.update(), c = !0, ee(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
245
245
  if (t.hydrate) {
246
- const h = Ar(t.target);
246
+ const h = Cr(t.target);
247
247
  u.fragment && u.fragment.l(h), h.forEach(D);
248
248
  } else
249
249
  u.fragment && u.fragment.c();
250
- t.intro && Ir(e.$$.fragment), Lr(e, t.target, t.anchor), U();
250
+ t.intro && Ir(e.$$.fragment), $r(e, t.target, t.anchor), U();
251
251
  }
252
- se(l);
252
+ oe(l);
253
253
  }
254
- let Lt;
255
- typeof HTMLElement == "function" && (Lt = class extends HTMLElement {
254
+ let Rt;
255
+ typeof HTMLElement == "function" && (Rt = class extends HTMLElement {
256
256
  constructor(t, r, n) {
257
257
  super();
258
258
  /** The Svelte component constructor */
259
- I(this, "$$ctor");
259
+ N(this, "$$ctor");
260
260
  /** Slots */
261
- I(this, "$$s");
261
+ N(this, "$$s");
262
262
  /** The Svelte component instance */
263
- I(this, "$$c");
263
+ N(this, "$$c");
264
264
  /** Whether or not the custom element is connected */
265
- I(this, "$$cn", !1);
265
+ N(this, "$$cn", !1);
266
266
  /** Component props data */
267
- I(this, "$$d", {});
267
+ N(this, "$$d", {});
268
268
  /** `true` if currently in the process of reflecting component props back to attributes */
269
- I(this, "$$r", !1);
269
+ N(this, "$$r", !1);
270
270
  /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
271
- I(this, "$$p_d", {});
271
+ N(this, "$$p_d", {});
272
272
  /** @type {Record<string, Function[]>} Event listeners */
273
- I(this, "$$l", {});
273
+ N(this, "$$l", {});
274
274
  /** @type {Map<Function, Function>} Event listener unsubscribe functions */
275
- I(this, "$$l_u", /* @__PURE__ */ new Map());
275
+ N(this, "$$l_u", /* @__PURE__ */ new Map());
276
276
  this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
277
277
  }
278
278
  addEventListener(t, r, n) {
@@ -289,14 +289,14 @@ typeof HTMLElement == "function" && (Lt = class extends HTMLElement {
289
289
  }
290
290
  }
291
291
  connectedCallback() {
292
- return st(this, null, function* () {
292
+ return ut(this, null, function* () {
293
293
  if (this.$$cn = !0, !this.$$c) {
294
294
  let t = function(o) {
295
295
  return () => {
296
296
  let s;
297
297
  return {
298
298
  c: function() {
299
- s = H("slot"), o !== "default" && E(s, "name", o);
299
+ s = H("slot"), o !== "default" && x(s, "name", o);
300
300
  },
301
301
  /**
302
302
  * @param {HTMLElement} target
@@ -313,7 +313,7 @@ typeof HTMLElement == "function" && (Lt = class extends HTMLElement {
313
313
  };
314
314
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
315
315
  return;
316
- const r = {}, n = wr(this);
316
+ const r = {}, n = Sr(this);
317
317
  for (const o of this.$$s)
318
318
  o in n && (r[o] = [t(o)]);
319
319
  for (const o of this.attributes) {
@@ -324,7 +324,7 @@ typeof HTMLElement == "function" && (Lt = class extends HTMLElement {
324
324
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
325
325
  this.$$c = new this.$$ctor({
326
326
  target: this.shadowRoot || this,
327
- props: ot(it({}, this.$$d), {
327
+ props: at(st({}, this.$$d), {
328
328
  $$slots: r,
329
329
  $$scope: {
330
330
  ctx: []
@@ -402,8 +402,8 @@ function de(e, t, r, n) {
402
402
  return t;
403
403
  }
404
404
  }
405
- function Ur(e, t, r, n, i, o) {
406
- let s = class extends Lt {
405
+ function Fr(e, t, r, n, i, o) {
406
+ let s = class extends Rt {
407
407
  constructor() {
408
408
  super(e, r, i), this.$$p_d = t;
409
409
  }
@@ -433,7 +433,7 @@ function Ur(e, t, r, n, i, o) {
433
433
  }), e.element = /** @type {any} */
434
434
  s, s;
435
435
  }
436
- class Fr {
436
+ class Gr {
437
437
  constructor() {
438
438
  /**
439
439
  * ### PRIVATE API
@@ -442,7 +442,7 @@ class Fr {
442
442
  *
443
443
  * @type {any}
444
444
  */
445
- I(this, "$$");
445
+ N(this, "$$");
446
446
  /**
447
447
  * ### PRIVATE API
448
448
  *
@@ -450,11 +450,11 @@ class Fr {
450
450
  *
451
451
  * @type {any}
452
452
  */
453
- I(this, "$$set");
453
+ N(this, "$$set");
454
454
  }
455
455
  /** @returns {void} */
456
456
  $destroy() {
457
- $r(this, 1), this.$destroy = O;
457
+ Rr(this, 1), this.$destroy = O;
458
458
  }
459
459
  /**
460
460
  * @template {Extract<keyof Events, string>} K
@@ -463,7 +463,7 @@ class Fr {
463
463
  * @returns {() => void}
464
464
  */
465
465
  $on(t, r) {
466
- if (!Ye(r))
466
+ if (!tt(r))
467
467
  return O;
468
468
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
469
469
  return n.push(r), () => {
@@ -476,11 +476,11 @@ class Fr {
476
476
  * @returns {void}
477
477
  */
478
478
  $set(t) {
479
- this.$$set && !gr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
479
+ this.$$set && !yr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
480
480
  }
481
481
  }
482
- const Gr = "4";
483
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Gr);
482
+ const jr = "4";
483
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(jr);
484
484
  /*! *****************************************************************************
485
485
  Copyright (c) Microsoft Corporation.
486
486
 
@@ -495,43 +495,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
495
495
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
496
496
  PERFORMANCE OF THIS SOFTWARE.
497
497
  ***************************************************************************** */
498
- var De = function(e, t) {
499
- return De = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
498
+ var Fe = function(e, t) {
499
+ return Fe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
500
500
  r.__proto__ = n;
501
501
  } || function(r, n) {
502
502
  for (var i in n)
503
503
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
504
- }, De(e, t);
504
+ }, Fe(e, t);
505
505
  };
506
- function L(e, t) {
506
+ function le(e, t) {
507
507
  if (typeof t != "function" && t !== null)
508
508
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
509
- De(e, t);
509
+ Fe(e, t);
510
510
  function r() {
511
511
  this.constructor = e;
512
512
  }
513
513
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
514
514
  }
515
- var y = function() {
516
- return y = Object.assign || function(t) {
517
- for (var r, n = 1, i = arguments.length; n < i; n++) {
518
- r = arguments[n];
519
- for (var o in r)
520
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
521
- }
522
- return t;
523
- }, y.apply(this, arguments);
524
- };
525
- function jr(e, t) {
526
- var r = {};
527
- for (var n in e)
528
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
529
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
530
- for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
531
- t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
532
- return r;
533
- }
534
- function Ue(e) {
515
+ function Ge(e) {
535
516
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
536
517
  if (r)
537
518
  return r.call(e);
@@ -543,7 +524,7 @@ function Ue(e) {
543
524
  };
544
525
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
545
526
  }
546
- function Fe(e, t) {
527
+ function je(e, t) {
547
528
  var r = typeof Symbol == "function" && e[Symbol.iterator];
548
529
  if (!r)
549
530
  return e;
@@ -563,22 +544,22 @@ function Fe(e, t) {
563
544
  }
564
545
  return o;
565
546
  }
566
- function Q(e, t, r) {
567
- if (r || arguments.length === 2)
547
+ function ke(e, t, r) {
548
+ if (arguments.length === 2)
568
549
  for (var n = 0, i = t.length, o; n < i; n++)
569
550
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
570
551
  return e.concat(o || t);
571
552
  }
572
- function N(e) {
553
+ function L(e) {
573
554
  return typeof e == "function";
574
555
  }
575
- function $t(e) {
556
+ function Dt(e) {
576
557
  var t = function(n) {
577
558
  Error.call(n), n.stack = new Error().stack;
578
559
  }, r = e(t);
579
560
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
580
561
  }
581
- var He = $t(function(e) {
562
+ var Me = Dt(function(e) {
582
563
  return function(r) {
583
564
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
584
565
  ` + r.map(function(n, i) {
@@ -587,7 +568,7 @@ var He = $t(function(e) {
587
568
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
588
569
  };
589
570
  });
590
- function Ge(e, t) {
571
+ function We(e, t) {
591
572
  if (e) {
592
573
  var r = e.indexOf(t);
593
574
  0 <= r && e.splice(r, 1);
@@ -605,7 +586,7 @@ var Ee = function() {
605
586
  if (s)
606
587
  if (this._parentage = null, Array.isArray(s))
607
588
  try {
608
- for (var a = Ue(s), l = a.next(); !l.done; l = a.next()) {
589
+ for (var a = Ge(s), l = a.next(); !l.done; l = a.next()) {
609
590
  var u = l.value;
610
591
  u.remove(this);
611
592
  }
@@ -622,22 +603,22 @@ var Ee = function() {
622
603
  else
623
604
  s.remove(this);
624
605
  var c = this.initialTeardown;
625
- if (N(c))
606
+ if (L(c))
626
607
  try {
627
608
  c();
628
609
  } catch (d) {
629
- o = d instanceof He ? d.errors : [d];
610
+ o = d instanceof Me ? d.errors : [d];
630
611
  }
631
612
  var h = this._finalizers;
632
613
  if (h) {
633
614
  this._finalizers = null;
634
615
  try {
635
- for (var f = Ue(h), p = f.next(); !p.done; p = f.next()) {
616
+ for (var f = Ge(h), p = f.next(); !p.done; p = f.next()) {
636
617
  var m = p.value;
637
618
  try {
638
- lt(m);
619
+ ht(m);
639
620
  } catch (d) {
640
- o = o != null ? o : [], d instanceof He ? o = Q(Q([], Fe(o)), Fe(d.errors)) : o.push(d);
621
+ o = o != null ? o : [], d instanceof Me ? o = ke(ke([], je(o)), je(d.errors)) : o.push(d);
641
622
  }
642
623
  }
643
624
  } catch (d) {
@@ -652,13 +633,13 @@ var Ee = function() {
652
633
  }
653
634
  }
654
635
  if (o)
655
- throw new He(o);
636
+ throw new Me(o);
656
637
  }
657
638
  }, e.prototype.add = function(t) {
658
639
  var r;
659
640
  if (t && t !== this)
660
641
  if (this.closed)
661
- lt(t);
642
+ ht(t);
662
643
  else {
663
644
  if (t instanceof e) {
664
645
  if (t.closed || t._hasParent(this))
@@ -675,32 +656,28 @@ var Ee = function() {
675
656
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
676
657
  }, e.prototype._removeParent = function(t) {
677
658
  var r = this._parentage;
678
- r === t ? this._parentage = null : Array.isArray(r) && Ge(r, t);
659
+ r === t ? this._parentage = null : Array.isArray(r) && We(r, t);
679
660
  }, e.prototype.remove = function(t) {
680
661
  var r = this._finalizers;
681
- r && Ge(r, t), t instanceof e && t._removeParent(this);
662
+ r && We(r, t), t instanceof e && t._removeParent(this);
682
663
  }, e.EMPTY = function() {
683
664
  var t = new e();
684
665
  return t.closed = !0, t;
685
666
  }(), e;
686
- }(), Rt = Ee.EMPTY;
687
- function Dt(e) {
688
- return e instanceof Ee || e && "closed" in e && N(e.remove) && N(e.add) && N(e.unsubscribe);
689
- }
690
- function lt(e) {
691
- N(e) ? e() : e.unsubscribe();
692
- }
693
- var Ut = {
694
- onUnhandledError: null,
695
- onStoppedNotification: null,
696
- Promise: void 0,
697
- useDeprecatedSynchronousErrorHandling: !1,
698
- useDeprecatedNextContext: !1
699
- }, kr = {
667
+ }(), Ut = Ee.EMPTY;
668
+ function Ft(e) {
669
+ return e instanceof Ee || e && "closed" in e && L(e.remove) && L(e.add) && L(e.unsubscribe);
670
+ }
671
+ function ht(e) {
672
+ L(e) ? e() : e.unsubscribe();
673
+ }
674
+ var kr = {
675
+ Promise: void 0
676
+ }, Wr = {
700
677
  setTimeout: function(e, t) {
701
678
  for (var r = [], n = 2; n < arguments.length; n++)
702
679
  r[n - 2] = arguments[n];
703
- return setTimeout.apply(void 0, Q([e, t], Fe(r)));
680
+ return setTimeout.apply(void 0, ke([e, t], je(r)));
704
681
  },
705
682
  clearTimeout: function(e) {
706
683
  return clearTimeout(e);
@@ -708,23 +685,23 @@ var Ut = {
708
685
  delegate: void 0
709
686
  };
710
687
  function zr(e) {
711
- kr.setTimeout(function() {
688
+ Wr.setTimeout(function() {
712
689
  throw e;
713
690
  });
714
691
  }
715
- function ct() {
692
+ function ft() {
716
693
  }
717
694
  function me(e) {
718
695
  e();
719
696
  }
720
- var Ft = function(e) {
721
- L(t, e);
697
+ var Gt = function(e) {
698
+ le(t, e);
722
699
  function t(r) {
723
700
  var n = e.call(this) || this;
724
- return n.isStopped = !1, r ? (n.destination = r, Dt(r) && r.add(n)) : n.destination = Zr, n;
701
+ return n.isStopped = !1, r ? (n.destination = r, Ft(r) && r.add(n)) : n.destination = Zr, n;
725
702
  }
726
703
  return t.create = function(r, n, i) {
727
- return new je(r, n, i);
704
+ return new ze(r, n, i);
728
705
  }, t.prototype.next = function(r) {
729
706
  this.isStopped || this._next(r);
730
707
  }, t.prototype.error = function(r) {
@@ -748,11 +725,7 @@ var Ft = function(e) {
748
725
  this.unsubscribe();
749
726
  }
750
727
  }, t;
751
- }(Ee), Wr = Function.prototype.bind;
752
- function Be(e, t) {
753
- return Wr.call(e, t);
754
- }
755
- var Vr = function() {
728
+ }(Ee), Vr = function() {
756
729
  function e(t) {
757
730
  this.partialObserver = t;
758
731
  }
@@ -783,30 +756,18 @@ var Vr = function() {
783
756
  fe(r);
784
757
  }
785
758
  }, e;
786
- }(), je = function(e) {
787
- L(t, e);
759
+ }(), ze = function(e) {
760
+ le(t, e);
788
761
  function t(r, n, i) {
789
762
  var o = e.call(this) || this, s;
790
- if (N(r) || !r)
791
- s = {
792
- next: r != null ? r : void 0,
793
- error: n != null ? n : void 0,
794
- complete: i != null ? i : void 0
795
- };
796
- else {
797
- var a;
798
- o && Ut.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
799
- return o.unsubscribe();
800
- }, s = {
801
- next: r.next && Be(r.next, a),
802
- error: r.error && Be(r.error, a),
803
- complete: r.complete && Be(r.complete, a)
804
- }) : s = r;
805
- }
806
- return o.destination = new Vr(s), o;
763
+ return L(r) || !r ? s = {
764
+ next: r != null ? r : void 0,
765
+ error: n != null ? n : void 0,
766
+ complete: i != null ? i : void 0
767
+ } : s = r, o.destination = new Vr(s), o;
807
768
  }
808
769
  return t;
809
- }(Ft);
770
+ }(Gt);
810
771
  function fe(e) {
811
772
  zr(e);
812
773
  }
@@ -815,9 +776,9 @@ function Xr(e) {
815
776
  }
816
777
  var Zr = {
817
778
  closed: !0,
818
- next: ct,
779
+ next: ft,
819
780
  error: Xr,
820
- complete: ct
781
+ complete: ft
821
782
  }, qr = function() {
822
783
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
823
784
  }();
@@ -831,7 +792,7 @@ function Yr(e) {
831
792
  }, r);
832
793
  };
833
794
  }
834
- var ht = function() {
795
+ var pt = function() {
835
796
  function e(t) {
836
797
  t && (this._subscribe = t);
837
798
  }
@@ -839,7 +800,7 @@ var ht = function() {
839
800
  var r = new e();
840
801
  return r.source = this, r.operator = t, r;
841
802
  }, e.prototype.subscribe = function(t, r, n) {
842
- var i = this, o = Kr(t) ? t : new je(t, r, n);
803
+ var i = this, o = Kr(t) ? t : new ze(t, r, n);
843
804
  return me(function() {
844
805
  var s = i, a = s.operator, l = s.source;
845
806
  o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
@@ -852,8 +813,8 @@ var ht = function() {
852
813
  }
853
814
  }, e.prototype.forEach = function(t, r) {
854
815
  var n = this;
855
- return r = ft(r), new r(function(i, o) {
856
- var s = new je({
816
+ return r = dt(r), new r(function(i, o) {
817
+ var s = new ze({
857
818
  next: function(a) {
858
819
  try {
859
820
  t(a);
@@ -877,7 +838,7 @@ var ht = function() {
877
838
  return Yr(t)(this);
878
839
  }, e.prototype.toPromise = function(t) {
879
840
  var r = this;
880
- return t = ft(t), new t(function(n, i) {
841
+ return t = dt(t), new t(function(n, i) {
881
842
  var o;
882
843
  r.subscribe(function(s) {
883
844
  return o = s;
@@ -891,28 +852,28 @@ var ht = function() {
891
852
  return new e(t);
892
853
  }, e;
893
854
  }();
894
- function ft(e) {
855
+ function dt(e) {
895
856
  var t;
896
- return (t = e != null ? e : Ut.Promise) !== null && t !== void 0 ? t : Promise;
857
+ return (t = e != null ? e : kr.Promise) !== null && t !== void 0 ? t : Promise;
897
858
  }
898
859
  function Jr(e) {
899
- return e && N(e.next) && N(e.error) && N(e.complete);
860
+ return e && L(e.next) && L(e.error) && L(e.complete);
900
861
  }
901
862
  function Kr(e) {
902
- return e && e instanceof Ft || Jr(e) && Dt(e);
863
+ return e && e instanceof Gt || Jr(e) && Ft(e);
903
864
  }
904
- var en = $t(function(e) {
865
+ var en = Dt(function(e) {
905
866
  return function() {
906
867
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
907
868
  };
908
- }), Gt = function(e) {
909
- L(t, e);
869
+ }), jt = function(e) {
870
+ le(t, e);
910
871
  function t() {
911
872
  var r = e.call(this) || this;
912
873
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
913
874
  }
914
875
  return t.prototype.lift = function(r) {
915
- var n = new pt(this, this);
876
+ var n = new mt(this, this);
916
877
  return n.operator = r, n;
917
878
  }, t.prototype._throwIfClosed = function() {
918
879
  if (this.closed)
@@ -924,7 +885,7 @@ var en = $t(function(e) {
924
885
  if (n._throwIfClosed(), !n.isStopped) {
925
886
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
926
887
  try {
927
- for (var s = Ue(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
888
+ for (var s = Ge(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
928
889
  var l = a.value;
929
890
  l.next(r);
930
891
  }
@@ -973,20 +934,20 @@ var en = $t(function(e) {
973
934
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
974
935
  }, t.prototype._innerSubscribe = function(r) {
975
936
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
976
- return o || s ? Rt : (this.currentObservers = null, a.push(r), new Ee(function() {
977
- n.currentObservers = null, Ge(a, r);
937
+ return o || s ? Ut : (this.currentObservers = null, a.push(r), new Ee(function() {
938
+ n.currentObservers = null, We(a, r);
978
939
  }));
979
940
  }, t.prototype._checkFinalizedStatuses = function(r) {
980
941
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
981
942
  i ? r.error(o) : s && r.complete();
982
943
  }, t.prototype.asObservable = function() {
983
- var r = new ht();
944
+ var r = new pt();
984
945
  return r.source = this, r;
985
946
  }, t.create = function(r, n) {
986
- return new pt(r, n);
947
+ return new mt(r, n);
987
948
  }, t;
988
- }(ht), pt = function(e) {
989
- L(t, e);
949
+ }(pt), mt = function(e) {
950
+ le(t, e);
990
951
  function t(r, n) {
991
952
  var i = e.call(this) || this;
992
953
  return i.destination = r, i.source = n, i;
@@ -1002,17 +963,17 @@ var en = $t(function(e) {
1002
963
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1003
964
  }, t.prototype._subscribe = function(r) {
1004
965
  var n, i;
1005
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Rt;
966
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Ut;
1006
967
  }, t;
1007
- }(Gt), jt = {
968
+ }(jt), kt = {
1008
969
  now: function() {
1009
- return (jt.delegate || Date).now();
970
+ return (kt.delegate || Date).now();
1010
971
  },
1011
972
  delegate: void 0
1012
973
  }, tn = function(e) {
1013
- L(t, e);
974
+ le(t, e);
1014
975
  function t(r, n, i) {
1015
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = jt);
976
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = kt);
1016
977
  var o = e.call(this) || this;
1017
978
  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;
1018
979
  }
@@ -1032,24 +993,24 @@ var en = $t(function(e) {
1032
993
  u && o.splice(0, u + 1);
1033
994
  }
1034
995
  }, t;
1035
- }(Gt);
1036
- const dt = [], mt = {}, rn = (e, t = 0) => {
1037
- if (dt.indexOf(e) == -1) {
996
+ }(jt);
997
+ const bt = [], vt = {}, rn = (e, t = 0) => {
998
+ if (bt.indexOf(e) == -1) {
1038
999
  const r = new tn(t);
1039
- mt[e] = r, dt.push(e);
1000
+ vt[e] = r, bt.push(e);
1040
1001
  }
1041
- return mt[e];
1002
+ return vt[e];
1042
1003
  }, V = [];
1043
1004
  function nn(e, t) {
1044
1005
  return {
1045
- subscribe: _e(e, t).subscribe
1006
+ subscribe: we(e, t).subscribe
1046
1007
  };
1047
1008
  }
1048
- function _e(e, t = O) {
1009
+ function we(e, t = O) {
1049
1010
  let r;
1050
1011
  const n = /* @__PURE__ */ new Set();
1051
1012
  function i(a) {
1052
- if (It(e, a) && (e = a, r)) {
1013
+ if (Lt(e, a) && (e = a, r)) {
1053
1014
  const l = !V.length;
1054
1015
  for (const u of n)
1055
1016
  u[1](), V.push(u, e);
@@ -1071,7 +1032,7 @@ function _e(e, t = O) {
1071
1032
  }
1072
1033
  return { set: i, update: o, subscribe: s };
1073
1034
  }
1074
- function re(e, t, r) {
1035
+ function te(e, t, r) {
1075
1036
  const n = !Array.isArray(e), i = n ? [e] : e;
1076
1037
  if (!i.every(Boolean))
1077
1038
  throw new Error("derived() expects stores as input, got a falsy value");
@@ -1085,9 +1046,9 @@ function re(e, t, r) {
1085
1046
  return;
1086
1047
  h();
1087
1048
  const m = t(n ? u[0] : u, s, a);
1088
- o ? s(m) : h = Ye(m) ? m : O;
1049
+ o ? s(m) : h = tt(m) ? m : O;
1089
1050
  }, p = i.map(
1090
- (m, d) => Nt(
1051
+ (m, d) => $t(
1091
1052
  m,
1092
1053
  (_) => {
1093
1054
  u[d] = _, c &= ~(1 << d), l && f();
@@ -1098,7 +1059,7 @@ function re(e, t, r) {
1098
1059
  )
1099
1060
  );
1100
1061
  return l = !0, f(), function() {
1101
- te(p), h(), l = !1;
1062
+ ee(p), h(), l = !1;
1102
1063
  };
1103
1064
  });
1104
1065
  }
@@ -1122,29 +1083,29 @@ function hn(e) {
1122
1083
  function fn(e) {
1123
1084
  return Array.isArray(e) ? [] : {};
1124
1085
  }
1125
- function ue(e, t) {
1126
- return t.clone !== !1 && t.isMergeableObject(e) ? Y(fn(e), e, t) : e;
1086
+ function ae(e, t) {
1087
+ return t.clone !== !1 && t.isMergeableObject(e) ? Q(fn(e), e, t) : e;
1127
1088
  }
1128
1089
  function pn(e, t, r) {
1129
1090
  return e.concat(t).map(function(n) {
1130
- return ue(n, r);
1091
+ return ae(n, r);
1131
1092
  });
1132
1093
  }
1133
1094
  function dn(e, t) {
1134
1095
  if (!t.customMerge)
1135
- return Y;
1096
+ return Q;
1136
1097
  var r = t.customMerge(e);
1137
- return typeof r == "function" ? r : Y;
1098
+ return typeof r == "function" ? r : Q;
1138
1099
  }
1139
1100
  function mn(e) {
1140
1101
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1141
1102
  return Object.propertyIsEnumerable.call(e, t);
1142
1103
  }) : [];
1143
1104
  }
1144
- function bt(e) {
1105
+ function gt(e) {
1145
1106
  return Object.keys(e).concat(mn(e));
1146
1107
  }
1147
- function kt(e, t) {
1108
+ function Wt(e, t) {
1148
1109
  try {
1149
1110
  return t in e;
1150
1111
  } catch (r) {
@@ -1152,32 +1113,74 @@ function kt(e, t) {
1152
1113
  }
1153
1114
  }
1154
1115
  function bn(e, t) {
1155
- return kt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1116
+ return Wt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1156
1117
  }
1157
1118
  function vn(e, t, r) {
1158
1119
  var n = {};
1159
- return r.isMergeableObject(e) && bt(e).forEach(function(i) {
1160
- n[i] = ue(e[i], r);
1161
- }), bt(t).forEach(function(i) {
1162
- bn(e, i) || (kt(e, i) && r.isMergeableObject(t[i]) ? n[i] = dn(i, r)(e[i], t[i], r) : n[i] = ue(t[i], r));
1120
+ return r.isMergeableObject(e) && gt(e).forEach(function(i) {
1121
+ n[i] = ae(e[i], r);
1122
+ }), gt(t).forEach(function(i) {
1123
+ bn(e, i) || (Wt(e, i) && r.isMergeableObject(t[i]) ? n[i] = dn(i, r)(e[i], t[i], r) : n[i] = ae(t[i], r));
1163
1124
  }), n;
1164
1125
  }
1165
- function Y(e, t, r) {
1166
- r = r || {}, r.arrayMerge = r.arrayMerge || pn, r.isMergeableObject = r.isMergeableObject || sn, r.cloneUnlessOtherwiseSpecified = ue;
1126
+ function Q(e, t, r) {
1127
+ r = r || {}, r.arrayMerge = r.arrayMerge || pn, r.isMergeableObject = r.isMergeableObject || sn, r.cloneUnlessOtherwiseSpecified = ae;
1167
1128
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1168
- return o ? n ? r.arrayMerge(e, t, r) : vn(e, t, r) : ue(t, r);
1129
+ return o ? n ? r.arrayMerge(e, t, r) : vn(e, t, r) : ae(t, r);
1169
1130
  }
1170
- Y.all = function(t, r) {
1131
+ Q.all = function(t, r) {
1171
1132
  if (!Array.isArray(t))
1172
1133
  throw new Error("first argument should be an array");
1173
1134
  return t.reduce(function(n, i) {
1174
- return Y(n, i, r);
1135
+ return Q(n, i, r);
1175
1136
  }, {});
1176
1137
  };
1177
- var gn = Y, yn = gn;
1138
+ var gn = Q, yn = gn;
1178
1139
  const xn = /* @__PURE__ */ on(yn);
1179
- function Me(e, t) {
1180
- var r = t && t.cache ? t.cache : Sn, n = t && t.serializer ? t.serializer : wn, i = t && t.strategy ? t.strategy : _n;
1140
+ var Ve = function(e, t) {
1141
+ return Ve = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1142
+ r.__proto__ = n;
1143
+ } || function(r, n) {
1144
+ for (var i in n)
1145
+ Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1146
+ }, Ve(e, t);
1147
+ };
1148
+ function Ae(e, t) {
1149
+ if (typeof t != "function" && t !== null)
1150
+ throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1151
+ Ve(e, t);
1152
+ function r() {
1153
+ this.constructor = e;
1154
+ }
1155
+ e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1156
+ }
1157
+ var I = function() {
1158
+ return I = Object.assign || function(t) {
1159
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1160
+ r = arguments[n];
1161
+ for (var o in r)
1162
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1163
+ }
1164
+ return t;
1165
+ }, I.apply(this, arguments);
1166
+ };
1167
+ function _n(e, t) {
1168
+ var r = {};
1169
+ for (var n in e)
1170
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
1171
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
1172
+ for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
1173
+ t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1174
+ return r;
1175
+ }
1176
+ function Pe(e, t, r) {
1177
+ if (r || arguments.length === 2)
1178
+ for (var n = 0, i = t.length, o; n < i; n++)
1179
+ (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1180
+ return e.concat(o || Array.prototype.slice.call(t));
1181
+ }
1182
+ function Oe(e, t) {
1183
+ var r = t && t.cache ? t.cache : Hn, n = t && t.serializer ? t.serializer : Sn, i = t && t.strategy ? t.strategy : An;
1181
1184
  return i(e, {
1182
1185
  cache: r,
1183
1186
  serializer: n
@@ -1186,95 +1189,103 @@ function Me(e, t) {
1186
1189
  function En(e) {
1187
1190
  return e == null || typeof e == "number" || typeof e == "boolean";
1188
1191
  }
1189
- function zt(e, t, r, n) {
1192
+ function wn(e, t, r, n) {
1190
1193
  var i = En(n) ? n : r(n), o = t.get(i);
1191
1194
  return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
1192
1195
  }
1193
- function Wt(e, t, r) {
1196
+ function zt(e, t, r) {
1194
1197
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1195
1198
  return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
1196
1199
  }
1197
- function Je(e, t, r, n, i) {
1200
+ function Vt(e, t, r, n, i) {
1198
1201
  return r.bind(t, e, n, i);
1199
1202
  }
1200
- function _n(e, t) {
1201
- var r = e.length === 1 ? zt : Wt;
1202
- return Je(e, this, r, t.cache.create(), t.serializer);
1203
+ function An(e, t) {
1204
+ var r = e.length === 1 ? wn : zt;
1205
+ return Vt(e, this, r, t.cache.create(), t.serializer);
1203
1206
  }
1204
1207
  function Cn(e, t) {
1205
- return Je(e, this, Wt, t.cache.create(), t.serializer);
1208
+ return Vt(e, this, zt, t.cache.create(), t.serializer);
1206
1209
  }
1207
- function An(e, t) {
1208
- return Je(e, this, zt, t.cache.create(), t.serializer);
1209
- }
1210
- var wn = function() {
1210
+ var Sn = function() {
1211
1211
  return JSON.stringify(arguments);
1212
- };
1213
- function Ke() {
1214
- this.cache = /* @__PURE__ */ Object.create(null);
1215
- }
1216
- Ke.prototype.get = function(e) {
1217
- return this.cache[e];
1218
- };
1219
- Ke.prototype.set = function(e, t) {
1220
- this.cache[e] = t;
1221
- };
1222
- var Sn = {
1212
+ }, Tn = (
1213
+ /** @class */
1214
+ function() {
1215
+ function e() {
1216
+ this.cache = /* @__PURE__ */ Object.create(null);
1217
+ }
1218
+ return e.prototype.get = function(t) {
1219
+ return this.cache[t];
1220
+ }, e.prototype.set = function(t, r) {
1221
+ this.cache[t] = r;
1222
+ }, e;
1223
+ }()
1224
+ ), Hn = {
1223
1225
  create: function() {
1224
- return new Ke();
1226
+ return new Tn();
1225
1227
  }
1226
- }, Pe = {
1227
- variadic: Cn,
1228
- monadic: An
1229
- }, b;
1228
+ }, Ne = {
1229
+ variadic: Cn
1230
+ }, ye = function() {
1231
+ return ye = Object.assign || function(t) {
1232
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1233
+ r = arguments[n];
1234
+ for (var o in r)
1235
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1236
+ }
1237
+ return t;
1238
+ }, ye.apply(this, arguments);
1239
+ };
1240
+ var b;
1230
1241
  (function(e) {
1231
1242
  e[e.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", e[e.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", e[e.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", e[e.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", e[e.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", e[e.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", e[e.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", e[e.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", e[e.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", e[e.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", e[e.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", e[e.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", e[e.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", e[e.INVALID_TAG = 23] = "INVALID_TAG", e[e.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", e[e.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", e[e.UNCLOSED_TAG = 27] = "UNCLOSED_TAG";
1232
1243
  })(b || (b = {}));
1233
- var A;
1244
+ var w;
1234
1245
  (function(e) {
1235
1246
  e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
1236
- })(A || (A = {}));
1237
- var J;
1247
+ })(w || (w = {}));
1248
+ var Y;
1238
1249
  (function(e) {
1239
1250
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1240
- })(J || (J = {}));
1241
- function vt(e) {
1242
- return e.type === A.literal;
1243
- }
1244
- function Tn(e) {
1245
- return e.type === A.argument;
1251
+ })(Y || (Y = {}));
1252
+ function yt(e) {
1253
+ return e.type === w.literal;
1246
1254
  }
1247
- function Vt(e) {
1248
- return e.type === A.number;
1255
+ function Bn(e) {
1256
+ return e.type === w.argument;
1249
1257
  }
1250
1258
  function Xt(e) {
1251
- return e.type === A.date;
1259
+ return e.type === w.number;
1252
1260
  }
1253
1261
  function Zt(e) {
1254
- return e.type === A.time;
1262
+ return e.type === w.date;
1255
1263
  }
1256
1264
  function qt(e) {
1257
- return e.type === A.select;
1265
+ return e.type === w.time;
1258
1266
  }
1259
1267
  function Qt(e) {
1260
- return e.type === A.plural;
1261
- }
1262
- function Hn(e) {
1263
- return e.type === A.pound;
1268
+ return e.type === w.select;
1264
1269
  }
1265
1270
  function Yt(e) {
1266
- return e.type === A.tag;
1271
+ return e.type === w.plural;
1272
+ }
1273
+ function Mn(e) {
1274
+ return e.type === w.pound;
1267
1275
  }
1268
1276
  function Jt(e) {
1269
- return !!(e && typeof e == "object" && e.type === J.number);
1277
+ return e.type === w.tag;
1270
1278
  }
1271
- function ke(e) {
1272
- return !!(e && typeof e == "object" && e.type === J.dateTime);
1279
+ function Kt(e) {
1280
+ return !!(e && typeof e == "object" && e.type === Y.number);
1273
1281
  }
1274
- var Kt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Bn = /(?:[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;
1275
- function Mn(e) {
1282
+ function Xe(e) {
1283
+ return !!(e && typeof e == "object" && e.type === Y.dateTime);
1284
+ }
1285
+ var er = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Pn = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1286
+ function On(e) {
1276
1287
  var t = {};
1277
- return e.replace(Bn, function(r) {
1288
+ return e.replace(Pn, function(r) {
1278
1289
  var n = r.length;
1279
1290
  switch (r[0]) {
1280
1291
  case "G":
@@ -1363,11 +1374,21 @@ function Mn(e) {
1363
1374
  return "";
1364
1375
  }), t;
1365
1376
  }
1366
- var Pn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1367
- function On(e) {
1377
+ var S = function() {
1378
+ return S = Object.assign || function(t) {
1379
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1380
+ r = arguments[n];
1381
+ for (var o in r)
1382
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1383
+ }
1384
+ return t;
1385
+ }, S.apply(this, arguments);
1386
+ };
1387
+ var Nn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1388
+ function In(e) {
1368
1389
  if (e.length === 0)
1369
1390
  throw new Error("Number skeleton cannot be empty");
1370
- for (var t = e.split(Pn).filter(function(f) {
1391
+ for (var t = e.split(Nn).filter(function(f) {
1371
1392
  return f.length > 0;
1372
1393
  }), r = [], n = 0, i = t; n < i.length; n++) {
1373
1394
  var o = i[n], s = o.split("/");
@@ -1382,17 +1403,17 @@ function On(e) {
1382
1403
  }
1383
1404
  return r;
1384
1405
  }
1385
- function In(e) {
1406
+ function Ln(e) {
1386
1407
  return e.replace(/^(.*?)-/, "");
1387
1408
  }
1388
- var gt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, er = /^(@+)?(\+|#+)?[rs]?$/g, Nn = /(\*)(0+)|(#+)(0+)|(0+)/g, tr = /^(0+)$/;
1389
- function yt(e) {
1409
+ var xt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, tr = /^(@+)?(\+|#+)?[rs]?$/g, $n = /(\*)(0+)|(#+)(0+)|(0+)/g, rr = /^(0+)$/;
1410
+ function _t(e) {
1390
1411
  var t = {};
1391
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(er, function(r, n, i) {
1412
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(tr, function(r, n, i) {
1392
1413
  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)), "";
1393
1414
  }), t;
1394
1415
  }
1395
- function rr(e) {
1416
+ function nr(e) {
1396
1417
  switch (e) {
1397
1418
  case "sign-auto":
1398
1419
  return {
@@ -1432,7 +1453,7 @@ function rr(e) {
1432
1453
  };
1433
1454
  }
1434
1455
  }
1435
- function Ln(e) {
1456
+ function Rn(e) {
1436
1457
  var t;
1437
1458
  if (e[0] === "E" && e[1] === "E" ? (t = {
1438
1459
  notation: "engineering"
@@ -1440,17 +1461,17 @@ function Ln(e) {
1440
1461
  notation: "scientific"
1441
1462
  }, e = e.slice(1)), t) {
1442
1463
  var r = e.slice(0, 2);
1443
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !tr.test(e))
1464
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !rr.test(e))
1444
1465
  throw new Error("Malformed concise eng/scientific notation");
1445
1466
  t.minimumIntegerDigits = e.length;
1446
1467
  }
1447
1468
  return t;
1448
1469
  }
1449
- function xt(e) {
1450
- var t = {}, r = rr(e);
1470
+ function Et(e) {
1471
+ var t = {}, r = nr(e);
1451
1472
  return r || t;
1452
1473
  }
1453
- function $n(e) {
1474
+ function Dn(e) {
1454
1475
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1455
1476
  var i = n[r];
1456
1477
  switch (i.stem) {
@@ -1474,7 +1495,7 @@ function $n(e) {
1474
1495
  continue;
1475
1496
  case "measure-unit":
1476
1497
  case "unit":
1477
- t.style = "unit", t.unit = In(i.options[0]);
1498
+ t.style = "unit", t.unit = Ln(i.options[0]);
1478
1499
  continue;
1479
1500
  case "compact-short":
1480
1501
  case "K":
@@ -1485,13 +1506,13 @@ function $n(e) {
1485
1506
  t.notation = "compact", t.compactDisplay = "long";
1486
1507
  continue;
1487
1508
  case "scientific":
1488
- t = y(y(y({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1489
- return y(y({}, l), xt(u));
1509
+ t = S(S(S({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1510
+ return S(S({}, l), Et(u));
1490
1511
  }, {}));
1491
1512
  continue;
1492
1513
  case "engineering":
1493
- t = y(y(y({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1494
- return y(y({}, l), xt(u));
1514
+ t = S(S(S({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1515
+ return S(S({}, l), Et(u));
1495
1516
  }, {}));
1496
1517
  continue;
1497
1518
  case "notation-simple":
@@ -1536,7 +1557,7 @@ function $n(e) {
1536
1557
  case "integer-width":
1537
1558
  if (i.options.length > 1)
1538
1559
  throw new RangeError("integer-width stems only accept a single optional option");
1539
- i.options[0].replace(Nn, function(l, u, c, h, f, p) {
1560
+ i.options[0].replace($n, function(l, u, c, h, f, p) {
1540
1561
  if (u)
1541
1562
  t.minimumIntegerDigits = c.length;
1542
1563
  else {
@@ -1549,28 +1570,28 @@ function $n(e) {
1549
1570
  });
1550
1571
  continue;
1551
1572
  }
1552
- if (tr.test(i.stem)) {
1573
+ if (rr.test(i.stem)) {
1553
1574
  t.minimumIntegerDigits = i.stem.length;
1554
1575
  continue;
1555
1576
  }
1556
- if (gt.test(i.stem)) {
1577
+ if (xt.test(i.stem)) {
1557
1578
  if (i.options.length > 1)
1558
1579
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1559
- i.stem.replace(gt, function(l, u, c, h, f, p) {
1580
+ i.stem.replace(xt, function(l, u, c, h, f, p) {
1560
1581
  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), "";
1561
1582
  });
1562
1583
  var o = i.options[0];
1563
- o === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = y(y({}, t), yt(o)));
1584
+ o === "w" ? t = S(S({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = S(S({}, t), _t(o)));
1564
1585
  continue;
1565
1586
  }
1566
- if (er.test(i.stem)) {
1567
- t = y(y({}, t), yt(i.stem));
1587
+ if (tr.test(i.stem)) {
1588
+ t = S(S({}, t), _t(i.stem));
1568
1589
  continue;
1569
1590
  }
1570
- var s = rr(i.stem);
1571
- s && (t = y(y({}, t), s));
1572
- var a = Ln(i.stem);
1573
- a && (t = y(y({}, t), a));
1591
+ var s = nr(i.stem);
1592
+ s && (t = S(S({}, t), s));
1593
+ var a = Rn(i.stem);
1594
+ a && (t = S(S({}, t), a));
1574
1595
  }
1575
1596
  return t;
1576
1597
  }
@@ -2989,13 +3010,13 @@ var pe = {
2989
3010
  "h"
2990
3011
  ]
2991
3012
  };
2992
- function Rn(e, t) {
3013
+ function Un(e, t) {
2993
3014
  for (var r = "", n = 0; n < e.length; n++) {
2994
3015
  var i = e.charAt(n);
2995
3016
  if (i === "j") {
2996
3017
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2997
3018
  o++, n++;
2998
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Dn(t);
3019
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Fn(t);
2999
3020
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
3000
3021
  r += l;
3001
3022
  for (; s-- > 0; )
@@ -3005,7 +3026,7 @@ function Rn(e, t) {
3005
3026
  }
3006
3027
  return r;
3007
3028
  }
3008
- function Dn(e) {
3029
+ function Fn(e) {
3009
3030
  var t = e.hourCycle;
3010
3031
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3011
3032
  e.hourCycles && // @ts-ignore
@@ -3027,20 +3048,20 @@ function Dn(e) {
3027
3048
  var i = pe[n || ""] || pe[r || ""] || pe["".concat(r, "-001")] || pe["001"];
3028
3049
  return i[0];
3029
3050
  }
3030
- var Oe, Un = new RegExp("^".concat(Kt.source, "*")), Fn = new RegExp("".concat(Kt.source, "*$"));
3051
+ var Ie, Gn = new RegExp("^".concat(er.source, "*")), jn = new RegExp("".concat(er.source, "*$"));
3031
3052
  function v(e, t) {
3032
3053
  return { start: e, end: t };
3033
3054
  }
3034
- var Gn = !!String.prototype.startsWith && "_a".startsWith("a", 1), jn = !!String.fromCodePoint, kn = !!Object.fromEntries, zn = !!String.prototype.codePointAt, Wn = !!String.prototype.trimStart, Vn = !!String.prototype.trimEnd, Xn = !!Number.isSafeInteger, Zn = Xn ? Number.isSafeInteger : function(e) {
3055
+ var kn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Wn = !!String.fromCodePoint, zn = !!Object.fromEntries, Vn = !!String.prototype.codePointAt, Xn = !!String.prototype.trimStart, Zn = !!String.prototype.trimEnd, qn = !!Number.isSafeInteger, Qn = qn ? Number.isSafeInteger : function(e) {
3035
3056
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3036
- }, ze = !0;
3057
+ }, Ze = !0;
3037
3058
  try {
3038
- var qn = ir("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3039
- ze = ((Oe = qn.exec("a")) === null || Oe === void 0 ? void 0 : Oe[0]) === "a";
3059
+ var Yn = or("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3060
+ Ze = ((Ie = Yn.exec("a")) === null || Ie === void 0 ? void 0 : Ie[0]) === "a";
3040
3061
  } catch (e) {
3041
- ze = !1;
3062
+ Ze = !1;
3042
3063
  }
3043
- var Et = Gn ? (
3064
+ var wt = kn ? (
3044
3065
  // Native
3045
3066
  function(t, r, n) {
3046
3067
  return t.startsWith(r, n);
@@ -3050,7 +3071,7 @@ var Et = Gn ? (
3050
3071
  function(t, r, n) {
3051
3072
  return t.slice(n, n + r.length) === r;
3052
3073
  }
3053
- ), We = jn ? String.fromCodePoint : (
3074
+ ), qe = Wn ? String.fromCodePoint : (
3054
3075
  // IE11
3055
3076
  function() {
3056
3077
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3062,9 +3083,9 @@ var Et = Gn ? (
3062
3083
  }
3063
3084
  return n;
3064
3085
  }
3065
- ), _t = (
3086
+ ), At = (
3066
3087
  // native
3067
- kn ? Object.fromEntries : (
3088
+ zn ? Object.fromEntries : (
3068
3089
  // Ponyfill
3069
3090
  function(t) {
3070
3091
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3074,7 +3095,7 @@ var Et = Gn ? (
3074
3095
  return r;
3075
3096
  }
3076
3097
  )
3077
- ), nr = zn ? (
3098
+ ), ir = Vn ? (
3078
3099
  // Native
3079
3100
  function(t, r) {
3080
3101
  return t.codePointAt(r);
@@ -3088,7 +3109,7 @@ var Et = Gn ? (
3088
3109
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3089
3110
  }
3090
3111
  }
3091
- ), Qn = Wn ? (
3112
+ ), Jn = Xn ? (
3092
3113
  // Native
3093
3114
  function(t) {
3094
3115
  return t.trimStart();
@@ -3096,9 +3117,9 @@ var Et = Gn ? (
3096
3117
  ) : (
3097
3118
  // Ponyfill
3098
3119
  function(t) {
3099
- return t.replace(Un, "");
3120
+ return t.replace(Gn, "");
3100
3121
  }
3101
- ), Yn = Vn ? (
3122
+ ), Kn = Zn ? (
3102
3123
  // Native
3103
3124
  function(t) {
3104
3125
  return t.trimEnd();
@@ -3106,32 +3127,32 @@ var Et = Gn ? (
3106
3127
  ) : (
3107
3128
  // Ponyfill
3108
3129
  function(t) {
3109
- return t.replace(Fn, "");
3130
+ return t.replace(jn, "");
3110
3131
  }
3111
3132
  );
3112
- function ir(e, t) {
3133
+ function or(e, t) {
3113
3134
  return new RegExp(e, t);
3114
3135
  }
3115
- var Ve;
3116
- if (ze) {
3117
- var Ct = ir("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3118
- Ve = function(t, r) {
3136
+ var Qe;
3137
+ if (Ze) {
3138
+ var Ct = or("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3139
+ Qe = function(t, r) {
3119
3140
  var n;
3120
3141
  Ct.lastIndex = r;
3121
3142
  var i = Ct.exec(t);
3122
3143
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3123
3144
  };
3124
3145
  } else
3125
- Ve = function(t, r) {
3146
+ Qe = function(t, r) {
3126
3147
  for (var n = []; ; ) {
3127
- var i = nr(t, r);
3128
- if (i === void 0 || or(i) || ti(i))
3148
+ var i = ir(t, r);
3149
+ if (i === void 0 || sr(i) || ni(i))
3129
3150
  break;
3130
3151
  n.push(i), r += i >= 65536 ? 2 : 1;
3131
3152
  }
3132
- return We.apply(void 0, n);
3153
+ return qe.apply(void 0, n);
3133
3154
  };
3134
- var Jn = (
3155
+ var ei = (
3135
3156
  /** @class */
3136
3157
  function() {
3137
3158
  function e(t, r) {
@@ -3155,14 +3176,14 @@ var Jn = (
3155
3176
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3156
3177
  var a = this.clonePosition();
3157
3178
  this.bump(), i.push({
3158
- type: A.pound,
3179
+ type: w.pound,
3159
3180
  location: v(a, this.clonePosition())
3160
3181
  });
3161
3182
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3162
3183
  if (n)
3163
3184
  break;
3164
3185
  return this.error(b.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
3165
- } else if (o === 60 && !this.ignoreTag && Xe(this.peek() || 0)) {
3186
+ } else if (o === 60 && !this.ignoreTag && Ye(this.peek() || 0)) {
3166
3187
  var s = this.parseTag(t, r);
3167
3188
  if (s.err)
3168
3189
  return s;
@@ -3183,7 +3204,7 @@ var Jn = (
3183
3204
  if (this.bumpSpace(), this.bumpIf("/>"))
3184
3205
  return {
3185
3206
  val: {
3186
- type: A.literal,
3207
+ type: w.literal,
3187
3208
  value: "<".concat(i, "/>"),
3188
3209
  location: v(n, this.clonePosition())
3189
3210
  },
@@ -3195,12 +3216,12 @@ var Jn = (
3195
3216
  return o;
3196
3217
  var s = o.val, a = this.clonePosition();
3197
3218
  if (this.bumpIf("</")) {
3198
- if (this.isEOF() || !Xe(this.char()))
3219
+ if (this.isEOF() || !Ye(this.char()))
3199
3220
  return this.error(b.INVALID_TAG, v(a, this.clonePosition()));
3200
3221
  var l = this.clonePosition(), u = this.parseTagName();
3201
3222
  return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG, v(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3202
3223
  val: {
3203
- type: A.tag,
3224
+ type: w.tag,
3204
3225
  value: i,
3205
3226
  children: s,
3206
3227
  location: v(n, this.clonePosition())
@@ -3213,7 +3234,7 @@ var Jn = (
3213
3234
  return this.error(b.INVALID_TAG, v(n, this.clonePosition()));
3214
3235
  }, e.prototype.parseTagName = function() {
3215
3236
  var t = this.offset();
3216
- for (this.bump(); !this.isEOF() && ei(this.char()); )
3237
+ for (this.bump(); !this.isEOF() && ri(this.char()); )
3217
3238
  this.bump();
3218
3239
  return this.message.slice(t, this.offset());
3219
3240
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3237,12 +3258,12 @@ var Jn = (
3237
3258
  }
3238
3259
  var l = v(n, this.clonePosition());
3239
3260
  return {
3240
- val: { type: A.literal, value: i, location: l },
3261
+ val: { type: w.literal, value: i, location: l },
3241
3262
  err: null
3242
3263
  };
3243
3264
  }, e.prototype.tryParseLeftAngleBracket = function() {
3244
3265
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3245
- !Kn(this.peek() || 0)) ? (this.bump(), "<") : null;
3266
+ !ti(this.peek() || 0)) ? (this.bump(), "<") : null;
3246
3267
  }, e.prototype.tryParseQuote = function(t) {
3247
3268
  if (this.isEOF() || this.char() !== 39)
3248
3269
  return null;
@@ -3276,12 +3297,12 @@ var Jn = (
3276
3297
  r.push(n);
3277
3298
  this.bump();
3278
3299
  }
3279
- return We.apply(void 0, r);
3300
+ return qe.apply(void 0, r);
3280
3301
  }, e.prototype.tryParseUnquoted = function(t, r) {
3281
3302
  if (this.isEOF())
3282
3303
  return null;
3283
3304
  var n = this.char();
3284
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), We(n));
3305
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), qe(n));
3285
3306
  }, e.prototype.parseArgument = function(t, r) {
3286
3307
  var n = this.clonePosition();
3287
3308
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3297,7 +3318,7 @@ var Jn = (
3297
3318
  case 125:
3298
3319
  return this.bump(), {
3299
3320
  val: {
3300
- type: A.argument,
3321
+ type: w.argument,
3301
3322
  // value does not include the opening and closing braces.
3302
3323
  value: i,
3303
3324
  location: v(n, this.clonePosition())
@@ -3310,7 +3331,7 @@ var Jn = (
3310
3331
  return this.error(b.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
3311
3332
  }
3312
3333
  }, e.prototype.parseIdentifierIfPossible = function() {
3313
- var t = this.clonePosition(), r = this.offset(), n = Ve(this.message, r), i = r + n.length;
3334
+ var t = this.clonePosition(), r = this.offset(), n = Qe(this.message, r), i = r + n.length;
3314
3335
  this.bumpTo(i);
3315
3336
  var o = this.clonePosition(), s = v(t, o);
3316
3337
  return { value: n, location: s };
@@ -3329,7 +3350,7 @@ var Jn = (
3329
3350
  var c = this.clonePosition(), h = this.parseSimpleArgStyleIfPossible();
3330
3351
  if (h.err)
3331
3352
  return h;
3332
- var f = Yn(h.val);
3353
+ var f = Kn(h.val);
3333
3354
  if (f.length === 0)
3334
3355
  return this.error(b.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
3335
3356
  var p = v(c, this.clonePosition());
@@ -3339,25 +3360,25 @@ var Jn = (
3339
3360
  if (m.err)
3340
3361
  return m;
3341
3362
  var d = v(i, this.clonePosition());
3342
- if (u && Et(u == null ? void 0 : u.style, "::", 0)) {
3343
- var _ = Qn(u.style.slice(2));
3363
+ if (u && wt(u == null ? void 0 : u.style, "::", 0)) {
3364
+ var _ = Jn(u.style.slice(2));
3344
3365
  if (a === "number") {
3345
3366
  var h = this.parseNumberSkeletonFromString(_, u.styleLocation);
3346
3367
  return h.err ? h : {
3347
- val: { type: A.number, value: n, location: d, style: h.val },
3368
+ val: { type: w.number, value: n, location: d, style: h.val },
3348
3369
  err: null
3349
3370
  };
3350
3371
  } else {
3351
3372
  if (_.length === 0)
3352
3373
  return this.error(b.EXPECT_DATE_TIME_SKELETON, d);
3353
3374
  var P = _;
3354
- this.locale && (P = Rn(_, this.locale));
3375
+ this.locale && (P = Un(_, this.locale));
3355
3376
  var f = {
3356
- type: J.dateTime,
3377
+ type: Y.dateTime,
3357
3378
  pattern: P,
3358
3379
  location: u.styleLocation,
3359
- parsedOptions: this.shouldParseSkeletons ? Mn(P) : {}
3360
- }, T = a === "date" ? A.date : A.time;
3380
+ parsedOptions: this.shouldParseSkeletons ? On(P) : {}
3381
+ }, T = a === "date" ? w.date : w.time;
3361
3382
  return {
3362
3383
  val: { type: T, value: n, location: d, style: f },
3363
3384
  err: null
@@ -3366,7 +3387,7 @@ var Jn = (
3366
3387
  }
3367
3388
  return {
3368
3389
  val: {
3369
- type: a === "number" ? A.number : a === "date" ? A.date : A.time,
3390
+ type: a === "number" ? w.number : a === "date" ? w.date : w.time,
3370
3391
  value: n,
3371
3392
  location: d,
3372
3393
  style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
@@ -3377,21 +3398,21 @@ var Jn = (
3377
3398
  case "plural":
3378
3399
  case "selectordinal":
3379
3400
  case "select": {
3380
- var x = this.clonePosition();
3401
+ var y = this.clonePosition();
3381
3402
  if (this.bumpSpace(), !this.bumpIf(","))
3382
- return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, v(x, y({}, x)));
3403
+ return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, v(y, ye({}, y)));
3383
3404
  this.bumpSpace();
3384
- var w = this.parseIdentifierIfPossible(), C = 0;
3385
- if (a !== "select" && w.value === "offset") {
3405
+ var A = this.parseIdentifierIfPossible(), E = 0;
3406
+ if (a !== "select" && A.value === "offset") {
3386
3407
  if (!this.bumpIf(":"))
3387
3408
  return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
3388
3409
  this.bumpSpace();
3389
3410
  var h = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3390
3411
  if (h.err)
3391
3412
  return h;
3392
- this.bumpSpace(), w = this.parseIdentifierIfPossible(), C = h.val;
3413
+ this.bumpSpace(), A = this.parseIdentifierIfPossible(), E = h.val;
3393
3414
  }
3394
- var B = this.tryParsePluralOrSelectOptions(t, a, r, w);
3415
+ var B = this.tryParsePluralOrSelectOptions(t, a, r, A);
3395
3416
  if (B.err)
3396
3417
  return B;
3397
3418
  var m = this.tryParseArgumentClose(i);
@@ -3400,18 +3421,18 @@ var Jn = (
3400
3421
  var he = v(i, this.clonePosition());
3401
3422
  return a === "select" ? {
3402
3423
  val: {
3403
- type: A.select,
3424
+ type: w.select,
3404
3425
  value: n,
3405
- options: _t(B.val),
3426
+ options: At(B.val),
3406
3427
  location: he
3407
3428
  },
3408
3429
  err: null
3409
3430
  } : {
3410
3431
  val: {
3411
- type: A.plural,
3432
+ type: w.plural,
3412
3433
  value: n,
3413
- options: _t(B.val),
3414
- offset: C,
3434
+ options: At(B.val),
3435
+ offset: E,
3415
3436
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3416
3437
  location: he
3417
3438
  },
@@ -3461,16 +3482,16 @@ var Jn = (
3461
3482
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3462
3483
  var n = [];
3463
3484
  try {
3464
- n = On(t);
3485
+ n = In(t);
3465
3486
  } catch (i) {
3466
3487
  return this.error(b.INVALID_NUMBER_SKELETON, r);
3467
3488
  }
3468
3489
  return {
3469
3490
  val: {
3470
- type: J.number,
3491
+ type: Y.number,
3471
3492
  tokens: n,
3472
3493
  location: r,
3473
- parsedOptions: this.shouldParseSkeletons ? $n(n) : {}
3494
+ parsedOptions: this.shouldParseSkeletons ? Dn(n) : {}
3474
3495
  },
3475
3496
  err: null
3476
3497
  };
@@ -3518,7 +3539,7 @@ var Jn = (
3518
3539
  break;
3519
3540
  }
3520
3541
  var l = v(i, this.clonePosition());
3521
- return o ? (s *= n, Zn(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3542
+ return o ? (s *= n, Qn(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3522
3543
  }, e.prototype.offset = function() {
3523
3544
  return this.position.offset;
3524
3545
  }, e.prototype.isEOF = function() {
@@ -3533,7 +3554,7 @@ var Jn = (
3533
3554
  var t = this.position.offset;
3534
3555
  if (t >= this.message.length)
3535
3556
  throw Error("out of bound");
3536
- var r = nr(this.message, t);
3557
+ var r = ir(this.message, t);
3537
3558
  if (r === void 0)
3538
3559
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3539
3560
  return r;
@@ -3552,7 +3573,7 @@ var Jn = (
3552
3573
  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);
3553
3574
  }
3554
3575
  }, e.prototype.bumpIf = function(t) {
3555
- if (Et(this.message, t, this.offset())) {
3576
+ if (wt(this.message, t, this.offset())) {
3556
3577
  for (var r = 0; r < t.length; r++)
3557
3578
  this.bump();
3558
3579
  return !0;
@@ -3574,7 +3595,7 @@ var Jn = (
3574
3595
  break;
3575
3596
  }
3576
3597
  }, e.prototype.bumpSpace = function() {
3577
- for (; !this.isEOF() && or(this.char()); )
3598
+ for (; !this.isEOF() && sr(this.char()); )
3578
3599
  this.bump();
3579
3600
  }, e.prototype.peek = function() {
3580
3601
  if (this.isEOF())
@@ -3584,47 +3605,47 @@ var Jn = (
3584
3605
  }, e;
3585
3606
  }()
3586
3607
  );
3587
- function Xe(e) {
3608
+ function Ye(e) {
3588
3609
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3589
3610
  }
3590
- function Kn(e) {
3591
- return Xe(e) || e === 47;
3611
+ function ti(e) {
3612
+ return Ye(e) || e === 47;
3592
3613
  }
3593
- function ei(e) {
3614
+ function ri(e) {
3594
3615
  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;
3595
3616
  }
3596
- function or(e) {
3617
+ function sr(e) {
3597
3618
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3598
3619
  }
3599
- function ti(e) {
3620
+ function ni(e) {
3600
3621
  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;
3601
3622
  }
3602
- function Ze(e) {
3623
+ function Je(e) {
3603
3624
  e.forEach(function(t) {
3604
- if (delete t.location, qt(t) || Qt(t))
3625
+ if (delete t.location, Qt(t) || Yt(t))
3605
3626
  for (var r in t.options)
3606
- delete t.options[r].location, Ze(t.options[r].value);
3627
+ delete t.options[r].location, Je(t.options[r].value);
3607
3628
  else
3608
- Vt(t) && Jt(t.style) || (Xt(t) || Zt(t)) && ke(t.style) ? delete t.style.location : Yt(t) && Ze(t.children);
3629
+ Xt(t) && Kt(t.style) || (Zt(t) || qt(t)) && Xe(t.style) ? delete t.style.location : Jt(t) && Je(t.children);
3609
3630
  });
3610
3631
  }
3611
- function ri(e, t) {
3612
- t === void 0 && (t = {}), t = y({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3613
- var r = new Jn(e, t).parse();
3632
+ function ii(e, t) {
3633
+ t === void 0 && (t = {}), t = ye({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3634
+ var r = new ei(e, t).parse();
3614
3635
  if (r.err) {
3615
3636
  var n = SyntaxError(b[r.err.kind]);
3616
3637
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3617
3638
  }
3618
- return t != null && t.captureLocation || Ze(r.val), r.val;
3639
+ return t != null && t.captureLocation || Je(r.val), r.val;
3619
3640
  }
3620
- var K;
3641
+ var J;
3621
3642
  (function(e) {
3622
3643
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3623
- })(K || (K = {}));
3644
+ })(J || (J = {}));
3624
3645
  var Ce = (
3625
3646
  /** @class */
3626
3647
  function(e) {
3627
- L(t, e);
3648
+ Ae(t, e);
3628
3649
  function t(r, n, i) {
3629
3650
  var o = e.call(this, r) || this;
3630
3651
  return o.code = n, o.originalMessage = i, o;
@@ -3633,30 +3654,30 @@ var Ce = (
3633
3654
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3634
3655
  }, t;
3635
3656
  }(Error)
3636
- ), At = (
3657
+ ), St = (
3637
3658
  /** @class */
3638
3659
  function(e) {
3639
- L(t, e);
3660
+ Ae(t, e);
3640
3661
  function t(r, n, i, o) {
3641
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), K.INVALID_VALUE, o) || this;
3662
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), J.INVALID_VALUE, o) || this;
3642
3663
  }
3643
3664
  return t;
3644
3665
  }(Ce)
3645
- ), ni = (
3666
+ ), oi = (
3646
3667
  /** @class */
3647
3668
  function(e) {
3648
- L(t, e);
3669
+ Ae(t, e);
3649
3670
  function t(r, n, i) {
3650
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), K.INVALID_VALUE, i) || this;
3671
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), J.INVALID_VALUE, i) || this;
3651
3672
  }
3652
3673
  return t;
3653
3674
  }(Ce)
3654
- ), ii = (
3675
+ ), si = (
3655
3676
  /** @class */
3656
3677
  function(e) {
3657
- L(t, e);
3678
+ Ae(t, e);
3658
3679
  function t(r, n) {
3659
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), K.MISSING_VALUE, n) || this;
3680
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), J.MISSING_VALUE, n) || this;
3660
3681
  }
3661
3682
  return t;
3662
3683
  }(Ce)
@@ -3664,17 +3685,17 @@ var Ce = (
3664
3685
  (function(e) {
3665
3686
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3666
3687
  })(M || (M = {}));
3667
- function oi(e) {
3688
+ function ai(e) {
3668
3689
  return e.length < 2 ? e : e.reduce(function(t, r) {
3669
3690
  var n = t[t.length - 1];
3670
3691
  return !n || n.type !== M.literal || r.type !== M.literal ? t.push(r) : n.value += r.value, t;
3671
3692
  }, []);
3672
3693
  }
3673
- function si(e) {
3694
+ function ui(e) {
3674
3695
  return typeof e == "function";
3675
3696
  }
3676
3697
  function be(e, t, r, n, i, o, s) {
3677
- if (e.length === 1 && vt(e[0]))
3698
+ if (e.length === 1 && yt(e[0]))
3678
3699
  return [
3679
3700
  {
3680
3701
  type: M.literal,
@@ -3683,14 +3704,14 @@ function be(e, t, r, n, i, o, s) {
3683
3704
  ];
3684
3705
  for (var a = [], l = 0, u = e; l < u.length; l++) {
3685
3706
  var c = u[l];
3686
- if (vt(c)) {
3707
+ if (yt(c)) {
3687
3708
  a.push({
3688
3709
  type: M.literal,
3689
3710
  value: c.value
3690
3711
  });
3691
3712
  continue;
3692
3713
  }
3693
- if (Hn(c)) {
3714
+ if (Mn(c)) {
3694
3715
  typeof o == "number" && a.push({
3695
3716
  type: M.literal,
3696
3717
  value: r.getNumberFormat(t).format(o)
@@ -3699,89 +3720,89 @@ function be(e, t, r, n, i, o, s) {
3699
3720
  }
3700
3721
  var h = c.value;
3701
3722
  if (!(i && h in i))
3702
- throw new ii(h, s);
3723
+ throw new si(h, s);
3703
3724
  var f = i[h];
3704
- if (Tn(c)) {
3725
+ if (Bn(c)) {
3705
3726
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3706
3727
  type: typeof f == "string" ? M.literal : M.object,
3707
3728
  value: f
3708
3729
  });
3709
3730
  continue;
3710
3731
  }
3711
- if (Xt(c)) {
3712
- var p = typeof c.style == "string" ? n.date[c.style] : ke(c.style) ? c.style.parsedOptions : void 0;
3732
+ if (Zt(c)) {
3733
+ var p = typeof c.style == "string" ? n.date[c.style] : Xe(c.style) ? c.style.parsedOptions : void 0;
3713
3734
  a.push({
3714
3735
  type: M.literal,
3715
3736
  value: r.getDateTimeFormat(t, p).format(f)
3716
3737
  });
3717
3738
  continue;
3718
3739
  }
3719
- if (Zt(c)) {
3720
- var p = typeof c.style == "string" ? n.time[c.style] : ke(c.style) ? c.style.parsedOptions : n.time.medium;
3740
+ if (qt(c)) {
3741
+ var p = typeof c.style == "string" ? n.time[c.style] : Xe(c.style) ? c.style.parsedOptions : n.time.medium;
3721
3742
  a.push({
3722
3743
  type: M.literal,
3723
3744
  value: r.getDateTimeFormat(t, p).format(f)
3724
3745
  });
3725
3746
  continue;
3726
3747
  }
3727
- if (Vt(c)) {
3728
- var p = typeof c.style == "string" ? n.number[c.style] : Jt(c.style) ? c.style.parsedOptions : void 0;
3748
+ if (Xt(c)) {
3749
+ var p = typeof c.style == "string" ? n.number[c.style] : Kt(c.style) ? c.style.parsedOptions : void 0;
3729
3750
  p && p.scale && (f = f * (p.scale || 1)), a.push({
3730
3751
  type: M.literal,
3731
3752
  value: r.getNumberFormat(t, p).format(f)
3732
3753
  });
3733
3754
  continue;
3734
3755
  }
3735
- if (Yt(c)) {
3756
+ if (Jt(c)) {
3736
3757
  var m = c.children, d = c.value, _ = i[d];
3737
- if (!si(_))
3738
- throw new ni(d, "function", s);
3739
- var P = be(m, t, r, n, i, o), T = _(P.map(function(C) {
3740
- return C.value;
3758
+ if (!ui(_))
3759
+ throw new oi(d, "function", s);
3760
+ var P = be(m, t, r, n, i, o), T = _(P.map(function(E) {
3761
+ return E.value;
3741
3762
  }));
3742
- Array.isArray(T) || (T = [T]), a.push.apply(a, T.map(function(C) {
3763
+ Array.isArray(T) || (T = [T]), a.push.apply(a, T.map(function(E) {
3743
3764
  return {
3744
- type: typeof C == "string" ? M.literal : M.object,
3745
- value: C
3765
+ type: typeof E == "string" ? M.literal : M.object,
3766
+ value: E
3746
3767
  };
3747
3768
  }));
3748
3769
  }
3749
- if (qt(c)) {
3750
- var x = c.options[f] || c.options.other;
3751
- if (!x)
3752
- throw new At(c.value, f, Object.keys(c.options), s);
3753
- a.push.apply(a, be(x.value, t, r, n, i));
3770
+ if (Qt(c)) {
3771
+ var y = c.options[f] || c.options.other;
3772
+ if (!y)
3773
+ throw new St(c.value, f, Object.keys(c.options), s);
3774
+ a.push.apply(a, be(y.value, t, r, n, i));
3754
3775
  continue;
3755
3776
  }
3756
- if (Qt(c)) {
3757
- var x = c.options["=".concat(f)];
3758
- if (!x) {
3777
+ if (Yt(c)) {
3778
+ var y = c.options["=".concat(f)];
3779
+ if (!y) {
3759
3780
  if (!Intl.PluralRules)
3760
3781
  throw new Ce(`Intl.PluralRules is not available in this environment.
3761
3782
  Try polyfilling it using "@formatjs/intl-pluralrules"
3762
- `, K.MISSING_INTL_API, s);
3763
- var w = r.getPluralRules(t, { type: c.pluralType }).select(f - (c.offset || 0));
3764
- x = c.options[w] || c.options.other;
3783
+ `, J.MISSING_INTL_API, s);
3784
+ var A = r.getPluralRules(t, { type: c.pluralType }).select(f - (c.offset || 0));
3785
+ y = c.options[A] || c.options.other;
3765
3786
  }
3766
- if (!x)
3767
- throw new At(c.value, f, Object.keys(c.options), s);
3768
- a.push.apply(a, be(x.value, t, r, n, i, f - (c.offset || 0)));
3787
+ if (!y)
3788
+ throw new St(c.value, f, Object.keys(c.options), s);
3789
+ a.push.apply(a, be(y.value, t, r, n, i, f - (c.offset || 0)));
3769
3790
  continue;
3770
3791
  }
3771
3792
  }
3772
- return oi(a);
3793
+ return ai(a);
3773
3794
  }
3774
- function ai(e, t) {
3775
- return t ? y(y(y({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3776
- return r[n] = y(y({}, e[n]), t[n] || {}), r;
3795
+ function li(e, t) {
3796
+ return t ? I(I(I({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3797
+ return r[n] = I(I({}, e[n]), t[n] || {}), r;
3777
3798
  }, {})) : e;
3778
3799
  }
3779
- function ui(e, t) {
3800
+ function ci(e, t) {
3780
3801
  return t ? Object.keys(e).reduce(function(r, n) {
3781
- return r[n] = ai(e[n], t[n]), r;
3782
- }, y({}, e)) : e;
3802
+ return r[n] = li(e[n], t[n]), r;
3803
+ }, I({}, e)) : e;
3783
3804
  }
3784
- function Ie(e) {
3805
+ function Le(e) {
3785
3806
  return {
3786
3807
  create: function() {
3787
3808
  return {
@@ -3795,39 +3816,39 @@ function Ie(e) {
3795
3816
  }
3796
3817
  };
3797
3818
  }
3798
- function li(e) {
3819
+ function hi(e) {
3799
3820
  return e === void 0 && (e = {
3800
3821
  number: {},
3801
3822
  dateTime: {},
3802
3823
  pluralRules: {}
3803
3824
  }), {
3804
- getNumberFormat: Me(function() {
3825
+ getNumberFormat: Oe(function() {
3805
3826
  for (var t, r = [], n = 0; n < arguments.length; n++)
3806
3827
  r[n] = arguments[n];
3807
- return new ((t = Intl.NumberFormat).bind.apply(t, Q([void 0], r, !1)))();
3828
+ return new ((t = Intl.NumberFormat).bind.apply(t, Pe([void 0], r, !1)))();
3808
3829
  }, {
3809
- cache: Ie(e.number),
3810
- strategy: Pe.variadic
3830
+ cache: Le(e.number),
3831
+ strategy: Ne.variadic
3811
3832
  }),
3812
- getDateTimeFormat: Me(function() {
3833
+ getDateTimeFormat: Oe(function() {
3813
3834
  for (var t, r = [], n = 0; n < arguments.length; n++)
3814
3835
  r[n] = arguments[n];
3815
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Q([void 0], r, !1)))();
3836
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Pe([void 0], r, !1)))();
3816
3837
  }, {
3817
- cache: Ie(e.dateTime),
3818
- strategy: Pe.variadic
3838
+ cache: Le(e.dateTime),
3839
+ strategy: Ne.variadic
3819
3840
  }),
3820
- getPluralRules: Me(function() {
3841
+ getPluralRules: Oe(function() {
3821
3842
  for (var t, r = [], n = 0; n < arguments.length; n++)
3822
3843
  r[n] = arguments[n];
3823
- return new ((t = Intl.PluralRules).bind.apply(t, Q([void 0], r, !1)))();
3844
+ return new ((t = Intl.PluralRules).bind.apply(t, Pe([void 0], r, !1)))();
3824
3845
  }, {
3825
- cache: Ie(e.pluralRules),
3826
- strategy: Pe.variadic
3846
+ cache: Le(e.pluralRules),
3847
+ strategy: Ne.variadic
3827
3848
  })
3828
3849
  };
3829
3850
  }
3830
- var ci = (
3851
+ var fi = (
3831
3852
  /** @class */
3832
3853
  function() {
3833
3854
  function e(t, r, n, i) {
@@ -3859,13 +3880,13 @@ var ci = (
3859
3880
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3860
3881
  var s = i || {};
3861
3882
  s.formatters;
3862
- var a = jr(s, ["formatters"]);
3863
- this.ast = e.__parse(t, y(y({}, a), { locale: this.resolvedLocale }));
3883
+ var a = _n(s, ["formatters"]);
3884
+ this.ast = e.__parse(t, I(I({}, a), { locale: this.resolvedLocale }));
3864
3885
  } else
3865
3886
  this.ast = t;
3866
3887
  if (!Array.isArray(this.ast))
3867
3888
  throw new TypeError("A message must be provided as a String or AST.");
3868
- this.formats = ui(e.formats, n), this.formatters = i && i.formatters || li(this.formatterCache);
3889
+ this.formats = ci(e.formats, n), this.formatters = i && i.formatters || hi(this.formatterCache);
3869
3890
  }
3870
3891
  return Object.defineProperty(e, "defaultLocale", {
3871
3892
  get: function() {
@@ -3878,7 +3899,7 @@ var ci = (
3878
3899
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3879
3900
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3880
3901
  }
3881
- }, e.__parse = ri, e.formats = {
3902
+ }, e.__parse = ii, e.formats = {
3882
3903
  number: {
3883
3904
  integer: {
3884
3905
  maximumFractionDigits: 0
@@ -3939,7 +3960,7 @@ var ci = (
3939
3960
  }, e;
3940
3961
  }()
3941
3962
  );
3942
- function hi(e, t) {
3963
+ function pi(e, t) {
3943
3964
  if (t == null)
3944
3965
  return;
3945
3966
  if (t in e)
@@ -3960,92 +3981,92 @@ function hi(e, t) {
3960
3981
  n = void 0;
3961
3982
  return n;
3962
3983
  }
3963
- const $ = {}, fi = (e, t, r) => r && (t in $ || ($[t] = {}), e in $[t] || ($[t][e] = r), r), sr = (e, t) => {
3984
+ const $ = {}, di = (e, t, r) => r && (t in $ || ($[t] = {}), e in $[t] || ($[t][e] = r), r), ar = (e, t) => {
3964
3985
  if (t == null)
3965
3986
  return;
3966
3987
  if (t in $ && e in $[t])
3967
3988
  return $[t][e];
3968
- const r = Ae(t);
3989
+ const r = Se(t);
3969
3990
  for (let n = 0; n < r.length; n++) {
3970
- const i = r[n], o = di(i, e);
3991
+ const i = r[n], o = bi(i, e);
3971
3992
  if (o)
3972
- return fi(e, t, o);
3993
+ return di(e, t, o);
3973
3994
  }
3974
3995
  };
3975
- let et;
3976
- const ce = _e({});
3977
- function pi(e) {
3978
- return et[e] || null;
3996
+ let rt;
3997
+ const ce = we({});
3998
+ function mi(e) {
3999
+ return rt[e] || null;
3979
4000
  }
3980
- function ar(e) {
3981
- return e in et;
4001
+ function ur(e) {
4002
+ return e in rt;
3982
4003
  }
3983
- function di(e, t) {
3984
- if (!ar(e))
4004
+ function bi(e, t) {
4005
+ if (!ur(e))
3985
4006
  return null;
3986
- const r = pi(e);
3987
- return hi(r, t);
4007
+ const r = mi(e);
4008
+ return pi(r, t);
3988
4009
  }
3989
- function mi(e) {
4010
+ function vi(e) {
3990
4011
  if (e == null)
3991
4012
  return;
3992
- const t = Ae(e);
4013
+ const t = Se(e);
3993
4014
  for (let r = 0; r < t.length; r++) {
3994
4015
  const n = t[r];
3995
- if (ar(n))
4016
+ if (ur(n))
3996
4017
  return n;
3997
4018
  }
3998
4019
  }
3999
- function ur(e, ...t) {
4020
+ function lr(e, ...t) {
4000
4021
  delete $[e], ce.update((r) => (r[e] = xn.all([r[e] || {}, ...t]), r));
4001
4022
  }
4002
- re(
4023
+ te(
4003
4024
  [ce],
4004
4025
  ([e]) => Object.keys(e)
4005
4026
  );
4006
- ce.subscribe((e) => et = e);
4027
+ ce.subscribe((e) => rt = e);
4007
4028
  const ve = {};
4008
- function bi(e, t) {
4029
+ function gi(e, t) {
4009
4030
  ve[e].delete(t), ve[e].size === 0 && delete ve[e];
4010
4031
  }
4011
- function lr(e) {
4032
+ function cr(e) {
4012
4033
  return ve[e];
4013
4034
  }
4014
- function vi(e) {
4015
- return Ae(e).map((t) => {
4016
- const r = lr(t);
4035
+ function yi(e) {
4036
+ return Se(e).map((t) => {
4037
+ const r = cr(t);
4017
4038
  return [t, r ? [...r] : []];
4018
4039
  }).filter(([, t]) => t.length > 0);
4019
4040
  }
4020
- function qe(e) {
4021
- return e == null ? !1 : Ae(e).some(
4041
+ function Ke(e) {
4042
+ return e == null ? !1 : Se(e).some(
4022
4043
  (t) => {
4023
4044
  var r;
4024
- return (r = lr(t)) == null ? void 0 : r.size;
4045
+ return (r = cr(t)) == null ? void 0 : r.size;
4025
4046
  }
4026
4047
  );
4027
4048
  }
4028
- function gi(e, t) {
4049
+ function xi(e, t) {
4029
4050
  return Promise.all(
4030
- t.map((n) => (bi(e, n), n().then((i) => i.default || i)))
4031
- ).then((n) => ur(e, ...n));
4032
- }
4033
- const oe = {};
4034
- function cr(e) {
4035
- if (!qe(e))
4036
- return e in oe ? oe[e] : Promise.resolve();
4037
- const t = vi(e);
4038
- return oe[e] = Promise.all(
4051
+ t.map((n) => (gi(e, n), n().then((i) => i.default || i)))
4052
+ ).then((n) => lr(e, ...n));
4053
+ }
4054
+ const ie = {};
4055
+ function hr(e) {
4056
+ if (!Ke(e))
4057
+ return e in ie ? ie[e] : Promise.resolve();
4058
+ const t = yi(e);
4059
+ return ie[e] = Promise.all(
4039
4060
  t.map(
4040
- ([r, n]) => gi(r, n)
4061
+ ([r, n]) => xi(r, n)
4041
4062
  )
4042
4063
  ).then(() => {
4043
- if (qe(e))
4044
- return cr(e);
4045
- delete oe[e];
4046
- }), oe[e];
4064
+ if (Ke(e))
4065
+ return hr(e);
4066
+ delete ie[e];
4067
+ }), ie[e];
4047
4068
  }
4048
- const yi = {
4069
+ const _i = {
4049
4070
  number: {
4050
4071
  scientific: { notation: "scientific" },
4051
4072
  engineering: { notation: "engineering" },
@@ -4074,135 +4095,135 @@ const yi = {
4074
4095
  timeZoneName: "short"
4075
4096
  }
4076
4097
  }
4077
- }, xi = {
4098
+ }, Ei = {
4078
4099
  fallbackLocale: null,
4079
4100
  loadingDelay: 200,
4080
- formats: yi,
4101
+ formats: _i,
4081
4102
  warnOnMissingMessages: !0,
4082
4103
  handleMissingMessage: void 0,
4083
4104
  ignoreTag: !0
4084
- }, Ei = xi;
4085
- function ee() {
4086
- return Ei;
4105
+ }, wi = Ei;
4106
+ function K() {
4107
+ return wi;
4087
4108
  }
4088
- const Ne = _e(!1);
4089
- var _i = Object.defineProperty, Ci = Object.defineProperties, Ai = Object.getOwnPropertyDescriptors, wt = Object.getOwnPropertySymbols, wi = Object.prototype.hasOwnProperty, Si = Object.prototype.propertyIsEnumerable, St = (e, t, r) => t in e ? _i(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ti = (e, t) => {
4109
+ const $e = we(!1);
4110
+ var Ai = Object.defineProperty, Ci = Object.defineProperties, Si = Object.getOwnPropertyDescriptors, Tt = Object.getOwnPropertySymbols, Ti = Object.prototype.hasOwnProperty, Hi = Object.prototype.propertyIsEnumerable, Ht = (e, t, r) => t in e ? Ai(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Bi = (e, t) => {
4090
4111
  for (var r in t || (t = {}))
4091
- wi.call(t, r) && St(e, r, t[r]);
4092
- if (wt)
4093
- for (var r of wt(t))
4094
- Si.call(t, r) && St(e, r, t[r]);
4112
+ Ti.call(t, r) && Ht(e, r, t[r]);
4113
+ if (Tt)
4114
+ for (var r of Tt(t))
4115
+ Hi.call(t, r) && Ht(e, r, t[r]);
4095
4116
  return e;
4096
- }, Hi = (e, t) => Ci(e, Ai(t));
4097
- let Qe;
4098
- const ye = _e(null);
4099
- function Tt(e) {
4117
+ }, Mi = (e, t) => Ci(e, Si(t));
4118
+ let et;
4119
+ const xe = we(null);
4120
+ function Bt(e) {
4100
4121
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4101
4122
  }
4102
- function Ae(e, t = ee().fallbackLocale) {
4103
- const r = Tt(e);
4104
- return t ? [.../* @__PURE__ */ new Set([...r, ...Tt(t)])] : r;
4123
+ function Se(e, t = K().fallbackLocale) {
4124
+ const r = Bt(e);
4125
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Bt(t)])] : r;
4105
4126
  }
4106
4127
  function j() {
4107
- return Qe != null ? Qe : void 0;
4128
+ return et != null ? et : void 0;
4108
4129
  }
4109
- ye.subscribe((e) => {
4110
- Qe = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4130
+ xe.subscribe((e) => {
4131
+ et = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4111
4132
  });
4112
- const Bi = (e) => {
4113
- if (e && mi(e) && qe(e)) {
4114
- const { loadingDelay: t } = ee();
4133
+ const Pi = (e) => {
4134
+ if (e && vi(e) && Ke(e)) {
4135
+ const { loadingDelay: t } = K();
4115
4136
  let r;
4116
4137
  return typeof window != "undefined" && j() != null && t ? r = window.setTimeout(
4117
- () => Ne.set(!0),
4138
+ () => $e.set(!0),
4118
4139
  t
4119
- ) : Ne.set(!0), cr(e).then(() => {
4120
- ye.set(e);
4140
+ ) : $e.set(!0), hr(e).then(() => {
4141
+ xe.set(e);
4121
4142
  }).finally(() => {
4122
- clearTimeout(r), Ne.set(!1);
4143
+ clearTimeout(r), $e.set(!1);
4123
4144
  });
4124
4145
  }
4125
- return ye.set(e);
4126
- }, ne = Hi(Ti({}, ye), {
4127
- set: Bi
4128
- }), we = (e) => {
4146
+ return xe.set(e);
4147
+ }, re = Mi(Bi({}, xe), {
4148
+ set: Pi
4149
+ }), Te = (e) => {
4129
4150
  const t = /* @__PURE__ */ Object.create(null);
4130
4151
  return (n) => {
4131
4152
  const i = JSON.stringify(n);
4132
4153
  return i in t ? t[i] : t[i] = e(n);
4133
4154
  };
4134
4155
  };
4135
- var Mi = Object.defineProperty, xe = Object.getOwnPropertySymbols, hr = Object.prototype.hasOwnProperty, fr = Object.prototype.propertyIsEnumerable, Ht = (e, t, r) => t in e ? Mi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, tt = (e, t) => {
4156
+ var Oi = Object.defineProperty, _e = Object.getOwnPropertySymbols, fr = Object.prototype.hasOwnProperty, pr = Object.prototype.propertyIsEnumerable, Mt = (e, t, r) => t in e ? Oi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, nt = (e, t) => {
4136
4157
  for (var r in t || (t = {}))
4137
- hr.call(t, r) && Ht(e, r, t[r]);
4138
- if (xe)
4139
- for (var r of xe(t))
4140
- fr.call(t, r) && Ht(e, r, t[r]);
4158
+ fr.call(t, r) && Mt(e, r, t[r]);
4159
+ if (_e)
4160
+ for (var r of _e(t))
4161
+ pr.call(t, r) && Mt(e, r, t[r]);
4141
4162
  return e;
4142
- }, ie = (e, t) => {
4163
+ }, ne = (e, t) => {
4143
4164
  var r = {};
4144
4165
  for (var n in e)
4145
- hr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4146
- if (e != null && xe)
4147
- for (var n of xe(e))
4148
- t.indexOf(n) < 0 && fr.call(e, n) && (r[n] = e[n]);
4166
+ fr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4167
+ if (e != null && _e)
4168
+ for (var n of _e(e))
4169
+ t.indexOf(n) < 0 && pr.call(e, n) && (r[n] = e[n]);
4149
4170
  return r;
4150
4171
  };
4151
- const le = (e, t) => {
4152
- const { formats: r } = ee();
4172
+ const ue = (e, t) => {
4173
+ const { formats: r } = K();
4153
4174
  if (e in r && t in r[e])
4154
4175
  return r[e][t];
4155
4176
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4156
- }, Pi = we(
4177
+ }, Ni = Te(
4157
4178
  (e) => {
4158
- var t = e, { locale: r, format: n } = t, i = ie(t, ["locale", "format"]);
4179
+ var t = e, { locale: r, format: n } = t, i = ne(t, ["locale", "format"]);
4159
4180
  if (r == null)
4160
4181
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4161
- return n && (i = le("number", n)), new Intl.NumberFormat(r, i);
4182
+ return n && (i = ue("number", n)), new Intl.NumberFormat(r, i);
4162
4183
  }
4163
- ), Oi = we(
4184
+ ), Ii = Te(
4164
4185
  (e) => {
4165
- var t = e, { locale: r, format: n } = t, i = ie(t, ["locale", "format"]);
4186
+ var t = e, { locale: r, format: n } = t, i = ne(t, ["locale", "format"]);
4166
4187
  if (r == null)
4167
4188
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4168
- return n ? i = le("date", n) : Object.keys(i).length === 0 && (i = le("date", "short")), new Intl.DateTimeFormat(r, i);
4189
+ return n ? i = ue("date", n) : Object.keys(i).length === 0 && (i = ue("date", "short")), new Intl.DateTimeFormat(r, i);
4169
4190
  }
4170
- ), Ii = we(
4191
+ ), Li = Te(
4171
4192
  (e) => {
4172
- var t = e, { locale: r, format: n } = t, i = ie(t, ["locale", "format"]);
4193
+ var t = e, { locale: r, format: n } = t, i = ne(t, ["locale", "format"]);
4173
4194
  if (r == null)
4174
4195
  throw new Error(
4175
4196
  '[svelte-i18n] A "locale" must be set to format time values'
4176
4197
  );
4177
- return n ? i = le("time", n) : Object.keys(i).length === 0 && (i = le("time", "short")), new Intl.DateTimeFormat(r, i);
4198
+ return n ? i = ue("time", n) : Object.keys(i).length === 0 && (i = ue("time", "short")), new Intl.DateTimeFormat(r, i);
4178
4199
  }
4179
- ), Ni = (e = {}) => {
4200
+ ), $i = (e = {}) => {
4180
4201
  var t = e, {
4181
4202
  locale: r = j()
4182
- } = t, n = ie(t, [
4203
+ } = t, n = ne(t, [
4183
4204
  "locale"
4184
4205
  ]);
4185
- return Pi(tt({ locale: r }, n));
4186
- }, Li = (e = {}) => {
4206
+ return Ni(nt({ locale: r }, n));
4207
+ }, Ri = (e = {}) => {
4187
4208
  var t = e, {
4188
4209
  locale: r = j()
4189
- } = t, n = ie(t, [
4210
+ } = t, n = ne(t, [
4190
4211
  "locale"
4191
4212
  ]);
4192
- return Oi(tt({ locale: r }, n));
4193
- }, $i = (e = {}) => {
4213
+ return Ii(nt({ locale: r }, n));
4214
+ }, Di = (e = {}) => {
4194
4215
  var t = e, {
4195
4216
  locale: r = j()
4196
- } = t, n = ie(t, [
4217
+ } = t, n = ne(t, [
4197
4218
  "locale"
4198
4219
  ]);
4199
- return Ii(tt({ locale: r }, n));
4200
- }, Ri = we(
4220
+ return Li(nt({ locale: r }, n));
4221
+ }, Ui = Te(
4201
4222
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4202
- (e, t = j()) => new ci(e, t, ee().formats, {
4203
- ignoreTag: ee().ignoreTag
4223
+ (e, t = j()) => new fi(e, t, K().formats, {
4224
+ ignoreTag: K().ignoreTag
4204
4225
  })
4205
- ), Di = (e, t = {}) => {
4226
+ ), Fi = (e, t = {}) => {
4206
4227
  var r, n, i, o;
4207
4228
  let s = t;
4208
4229
  typeof e == "object" && (s = e, e = s.id);
@@ -4215,9 +4236,9 @@ const le = (e, t) => {
4215
4236
  throw new Error(
4216
4237
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4217
4238
  );
4218
- let c = sr(e, l);
4239
+ let c = ar(e, l);
4219
4240
  if (!c)
4220
- c = (o = (i = (n = (r = ee()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4241
+ 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;
4221
4242
  else if (typeof c != "string")
4222
4243
  return console.warn(
4223
4244
  `[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.`
@@ -4226,7 +4247,7 @@ const le = (e, t) => {
4226
4247
  return c;
4227
4248
  let h = c;
4228
4249
  try {
4229
- h = Ri(c, l).format(a);
4250
+ h = Ui(c, l).format(a);
4230
4251
  } catch (f) {
4231
4252
  f instanceof Error && console.warn(
4232
4253
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4234,21 +4255,21 @@ const le = (e, t) => {
4234
4255
  );
4235
4256
  }
4236
4257
  return h;
4237
- }, Ui = (e, t) => $i(t).format(e), Fi = (e, t) => Li(t).format(e), Gi = (e, t) => Ni(t).format(e), ji = (e, t = j()) => sr(e, t), ki = re([ne, ce], () => Di);
4238
- re([ne], () => Ui);
4239
- re([ne], () => Fi);
4240
- re([ne], () => Gi);
4241
- re([ne, ce], () => ji);
4258
+ }, Gi = (e, t) => Di(t).format(e), ji = (e, t) => Ri(t).format(e), ki = (e, t) => $i(t).format(e), Wi = (e, t = j()) => ar(e, t), zi = te([re, ce], () => Fi);
4259
+ te([re], () => Gi);
4260
+ te([re], () => ji);
4261
+ te([re], () => ki);
4262
+ te([re, ce], () => Wi);
4242
4263
  window.emWidgets = { topic: rn };
4243
- const zi = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4264
+ const Vi = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4244
4265
  String(Number.MAX_SAFE_INTEGER).length;
4245
- function Bt(e, t) {
4246
- ur(e, t);
4266
+ function Pt(e, t) {
4267
+ lr(e, t);
4247
4268
  }
4248
- function Wi(e) {
4249
- ne.set(e);
4269
+ function Xi(e) {
4270
+ re.set(e);
4250
4271
  }
4251
- const Mt = {
4272
+ const Ot = {
4252
4273
  en: {
4253
4274
  titleAccountClosure: "Account Closure",
4254
4275
  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.",
@@ -4338,13 +4359,13 @@ const Mt = {
4338
4359
  accountClosureConfirm: "Yes"
4339
4360
  }
4340
4361
  };
4341
- function Vi(e, t) {
4362
+ function Zi(e, t) {
4342
4363
  if (e) {
4343
4364
  const r = document.createElement("style");
4344
4365
  r.innerHTML = t, e.appendChild(r);
4345
4366
  }
4346
4367
  }
4347
- function Xi(e, t) {
4368
+ function qi(e, t) {
4348
4369
  if (!e || !t)
4349
4370
  return;
4350
4371
  const r = new URL(t);
@@ -4355,7 +4376,7 @@ function Xi(e, t) {
4355
4376
  console.error("There was an error while trying to load client styling from URL", n);
4356
4377
  });
4357
4378
  }
4358
- function Zi(e, t, r) {
4379
+ function Qi(e, t, r) {
4359
4380
  if (window.emMessageBus) {
4360
4381
  const n = document.createElement("style");
4361
4382
  window.emMessageBus.subscribe(t, (i) => {
@@ -4363,21 +4384,21 @@ function Zi(e, t, r) {
4363
4384
  });
4364
4385
  }
4365
4386
  }
4366
- function qi(e) {
4367
- xr(e, "svelte-1qi2pir", '.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:var(--emw--border-radius-medium, 10px);padding:50px;height:100vh}.AccountClosureWrapper.AccountClosureWrapperMobile{padding:20px 15px;max-width:unset;border-radius:0}.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:var(--emw--color-primary, #23B04E);border-radius:var(--emw--button-border-radius, 10px);padding:13px 0;color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF));width:100%;max-width:400px;min-width:200px;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;border:none}.AccountClosureSave:hover{filter:brightness(0.9)}.AccountClosureSave.AccountClosureSaveMobile{width:100%;padding:10px 0;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:300}.ModalWrapper .ModalContent{position:relative;background:var(--emw--color-primary, #23B04E);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;opacity:0.5;border-radius:inherit;filter:blur(6px)}.ModalWrapper .ModalContent::after{position:absolute;top:-4px;bottom:-4px;left:-4px;right:-4px;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{justify-content:center;display:flex;gap:36px}.ModalWrapper .ModalBody .ModalCancel,.ModalWrapper .ModalBody .ModalConfirm{background:transparent;border:1px solid var(--emw--color-white, #FFFFFF);color:var(--emw--color-white, #FFFFFF);cursor:pointer;border-radius:var(--emw--button-border-radius, 10px);width:200px;height:42px;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 .ModalCancel:hover,.ModalWrapper .ModalBody .ModalConfirm:hover{filter:brightness(0.9)}.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)}');
4387
+ function Yi(e) {
4388
+ _r(e, "svelte-1qi2pir", '.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:var(--emw--border-radius-medium, 10px);padding:50px;height:100vh}.AccountClosureWrapper.AccountClosureWrapperMobile{padding:20px 15px;max-width:unset;border-radius:0}.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:var(--emw--color-primary, #23B04E);border-radius:var(--emw--button-border-radius, 10px);padding:13px 0;color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF));width:100%;max-width:400px;min-width:200px;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;border:none}.AccountClosureSave:hover{filter:brightness(0.9)}.AccountClosureSave.AccountClosureSaveMobile{width:100%;padding:10px 0;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:300}.ModalWrapper .ModalContent{position:relative;background:var(--emw--color-primary, #23B04E);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;opacity:0.5;border-radius:inherit;filter:blur(6px)}.ModalWrapper .ModalContent::after{position:absolute;top:-4px;bottom:-4px;left:-4px;right:-4px;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{justify-content:center;display:flex;gap:36px}.ModalWrapper .ModalBody .ModalCancel,.ModalWrapper .ModalBody .ModalConfirm{background:transparent;border:1px solid var(--emw--color-white, #FFFFFF);color:var(--emw--color-white, #FFFFFF);cursor:pointer;border-radius:var(--emw--button-border-radius, 10px);width:200px;height:42px;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 .ModalCancel:hover,.ModalWrapper .ModalBody .ModalConfirm:hover{filter:brightness(0.9)}.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)}');
4368
4389
  }
4369
- function Qi(e, t, r) {
4390
+ function Ji(e, t, r) {
4370
4391
  const n = e.slice();
4371
4392
  return n[22] = t[r], n;
4372
4393
  }
4373
- function Yi(e) {
4394
+ function Ki(e) {
4374
4395
  let t, r, n, i, o, s, a, l, u, c, h = (
4375
4396
  /*$_*/
4376
4397
  e[3]("titleAccountClosure") + ""
4377
4398
  ), f, p, m;
4378
4399
  return {
4379
4400
  c() {
4380
- t = H("div"), r = z("svg"), n = z("defs"), i = z("style"), o = R(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), s = z("g"), a = z("g"), l = z("path"), u = F(), c = H("h2"), f = R(h), E(l, "class", "aaa"), E(l, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), E(l, "transform", "translate(15 15) rotate(180)"), E(a, "transform", "translate(20 158)"), E(s, "transform", "translate(-20 -158)"), E(r, "xmlns", "http://www.w3.org/2000/svg"), E(r, "width", "15"), E(r, "height", "15"), E(r, "viewBox", "0 0 15 15"), E(c, "class", "AccountClosureTitleMobile"), E(c, "part", "AccountClosureTitleMobile"), E(t, "class", "MenuReturnButton"), E(t, "part", "MenuReturnButton");
4401
+ t = H("div"), r = W("svg"), n = W("defs"), i = W("style"), o = R(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), s = W("g"), a = W("g"), l = W("path"), u = F(), c = H("h2"), f = R(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");
4381
4402
  },
4382
4403
  m(d, _) {
4383
4404
  G(d, t, _), 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(
@@ -4397,14 +4418,14 @@ function Yi(e) {
4397
4418
  }
4398
4419
  };
4399
4420
  }
4400
- function Ji(e) {
4421
+ function eo(e) {
4401
4422
  let t, r, n = (
4402
4423
  /*$_*/
4403
4424
  e[3]("accountClosureDescription") + ""
4404
4425
  );
4405
4426
  return {
4406
4427
  c() {
4407
- t = H("div"), r = H("p"), E(t, "class", "AccountClosureDescription " + /*isMobile*/
4428
+ t = H("div"), r = H("p"), x(t, "class", "AccountClosureDescription " + /*isMobile*/
4408
4429
  (e[4] ? "AccountClosureDescriptionMobile" : ""));
4409
4430
  },
4410
4431
  m(i, o) {
@@ -4420,16 +4441,16 @@ function Ji(e) {
4420
4441
  }
4421
4442
  };
4422
4443
  }
4423
- function Ki(e) {
4424
- let t, r, n = Nr({ length: 4 }), i = [];
4444
+ function to(e) {
4445
+ let t, r, n = Lr({ length: 4 }), i = [];
4425
4446
  for (let o = 0; o < n.length; o += 1)
4426
- i[o] = eo(Qi(e, n, o));
4447
+ i[o] = ro(Ji(e, n, o));
4427
4448
  return {
4428
4449
  c() {
4429
4450
  t = H("div"), r = H("div");
4430
4451
  for (let o = 0; o < i.length; o += 1)
4431
4452
  i[o].c();
4432
- E(r, "class", "skeletonWrapper"), E(t, "class", "skeletonContainerClosure");
4453
+ x(r, "class", "skeletonWrapper"), x(t, "class", "skeletonContainerClosure");
4433
4454
  },
4434
4455
  m(o, s) {
4435
4456
  G(o, t, s), g(t, r);
@@ -4438,15 +4459,15 @@ function Ki(e) {
4438
4459
  },
4439
4460
  p: O,
4440
4461
  d(o) {
4441
- o && D(t), Cr(i, o);
4462
+ o && D(t), Ar(i, o);
4442
4463
  }
4443
4464
  };
4444
4465
  }
4445
- function eo(e) {
4466
+ function ro(e) {
4446
4467
  let t;
4447
4468
  return {
4448
4469
  c() {
4449
- t = H("div"), t.innerHTML = '<ui-skeleton structure="rectangle" width="auto" height="24px"></ui-skeleton> ', E(t, "class", "skeletonNotification");
4470
+ t = H("div"), t.innerHTML = '<ui-skeleton structure="rectangle" width="auto" height="24px"></ui-skeleton> ', x(t, "class", "skeletonNotification");
4450
4471
  },
4451
4472
  m(r, n) {
4452
4473
  G(r, t, n);
@@ -4457,7 +4478,7 @@ function eo(e) {
4457
4478
  }
4458
4479
  };
4459
4480
  }
4460
- function Pt(e) {
4481
+ function Nt(e) {
4461
4482
  let t, r, n, i, o = (
4462
4483
  /*$_*/
4463
4484
  e[3]("modal") + ""
@@ -4470,11 +4491,11 @@ function Pt(e) {
4470
4491
  ), d, _, P;
4471
4492
  return {
4472
4493
  c() {
4473
- t = H("div"), r = H("div"), n = H("div"), i = H("p"), s = R(o), a = F(), l = H("div"), u = H("button"), h = R(c), f = F(), p = H("button"), d = R(m), E(i, "class", "ModalText"), E(u, "class", "ModalCancel"), E(p, "class", "ModalConfirm"), E(l, "class", "ModalButtons"), E(n, "class", "ModalBody"), E(r, "class", "ModalContent"), E(t, "class", "ModalWrapper " + /*isMobile*/
4494
+ t = H("div"), r = H("div"), n = H("div"), i = H("p"), s = R(o), a = F(), l = H("div"), u = H("button"), h = R(c), f = F(), p = H("button"), d = R(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*/
4474
4495
  (e[4] ? "ModalWrapperMobile" : ""));
4475
4496
  },
4476
- m(T, x) {
4477
- G(T, t, x), 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), _ || (P = [
4497
+ m(T, y) {
4498
+ G(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), _ || (P = [
4478
4499
  ge(
4479
4500
  u,
4480
4501
  "click",
@@ -4489,21 +4510,21 @@ function Pt(e) {
4489
4510
  )
4490
4511
  ], _ = !0);
4491
4512
  },
4492
- p(T, x) {
4493
- x & /*$_*/
4513
+ p(T, y) {
4514
+ y & /*$_*/
4494
4515
  8 && o !== (o = /*$_*/
4495
- T[3]("modal") + "") && Z(s, o), x & /*$_*/
4516
+ T[3]("modal") + "") && Z(s, o), y & /*$_*/
4496
4517
  8 && c !== (c = /*$_*/
4497
- T[3]("accountClosureCancel") + "") && Z(h, c), x & /*$_*/
4518
+ T[3]("accountClosureCancel") + "") && Z(h, c), y & /*$_*/
4498
4519
  8 && m !== (m = /*$_*/
4499
4520
  T[3]("accountClosureConfirm") + "") && Z(d, m);
4500
4521
  },
4501
4522
  d(T) {
4502
- T && D(t), _ = !1, te(P);
4523
+ T && D(t), _ = !1, ee(P);
4503
4524
  }
4504
4525
  };
4505
4526
  }
4506
- function to(e) {
4527
+ function no(e) {
4507
4528
  let t, r, n, i, o = (
4508
4529
  /*$_*/
4509
4530
  e[3]("titleAccountClosure") + ""
@@ -4512,58 +4533,58 @@ function to(e) {
4512
4533
  e[3]("closeAccount") + ""
4513
4534
  ), f, p, m, d, _ = (
4514
4535
  /*isMobile*/
4515
- e[4] && Yi(e)
4536
+ e[4] && Ki(e)
4516
4537
  );
4517
- function P(C, B) {
4538
+ function P(E, B) {
4518
4539
  return (
4519
4540
  /*skeletonLoading*/
4520
- C[1] ? Ki : Ji
4541
+ E[1] ? to : eo
4521
4542
  );
4522
4543
  }
4523
- let T = P(e), x = T(e), w = (
4544
+ let T = P(e), y = T(e), A = (
4524
4545
  /*closureModal*/
4525
- e[2] && Pt(e)
4546
+ e[2] && Nt(e)
4526
4547
  );
4527
4548
  return {
4528
4549
  c() {
4529
- t = H("div"), r = H("div"), _ && _.c(), n = F(), i = H("h2"), s = R(o), a = F(), x.c(), l = F(), u = H("div"), c = H("button"), f = R(h), p = F(), w && w.c(), E(i, "class", "AccountClosureTitle " + /*isMobile*/
4530
- (e[4] ? "AccountClosureTitleNone" : "")), E(c, "class", "AccountClosureSave " + /*isMobile*/
4531
- (e[4] ? "AccountClosureSaveMobile" : "")), E(u, "class", "AccountClosureActionButtons " + /*isMobile*/
4532
- (e[4] ? "AccountClosureActionButtonsMobile" : "")), E(r, "class", "AccountClosureWrapper " + /*isMobile*/
4550
+ t = H("div"), r = H("div"), _ && _.c(), n = F(), i = H("h2"), s = R(o), a = F(), y.c(), l = F(), u = H("div"), c = H("button"), f = R(h), p = F(), A && A.c(), x(i, "class", "AccountClosureTitle " + /*isMobile*/
4551
+ (e[4] ? "AccountClosureTitleNone" : "")), x(c, "class", "AccountClosureSave " + /*isMobile*/
4552
+ (e[4] ? "AccountClosureSaveMobile" : "")), x(u, "class", "AccountClosureActionButtons " + /*isMobile*/
4553
+ (e[4] ? "AccountClosureActionButtonsMobile" : "")), x(r, "class", "AccountClosureWrapper " + /*isMobile*/
4533
4554
  (e[4] ? "AccountClosureWrapperMobile" : ""));
4534
4555
  },
4535
- m(C, B) {
4536
- G(C, t, B), g(t, r), _ && _.m(r, null), g(r, n), g(r, i), g(i, s), g(r, a), x.m(r, null), g(r, l), g(r, u), g(u, c), g(c, f), g(t, p), w && w.m(t, null), e[17](t), m || (d = ge(
4556
+ m(E, B) {
4557
+ G(E, t, B), g(t, r), _ && _.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), A && A.m(t, null), e[17](t), m || (d = ge(
4537
4558
  c,
4538
4559
  "click",
4539
4560
  /*click_handler_1*/
4540
4561
  e[14]
4541
4562
  ), m = !0);
4542
4563
  },
4543
- p(C, [B]) {
4564
+ p(E, [B]) {
4544
4565
  /*isMobile*/
4545
- C[4] && _.p(C, B), B & /*$_*/
4566
+ E[4] && _.p(E, B), B & /*$_*/
4546
4567
  8 && o !== (o = /*$_*/
4547
- C[3]("titleAccountClosure") + "") && Z(s, o), T === (T = P(C)) && x ? x.p(C, B) : (x.d(1), x = T(C), x && (x.c(), x.m(r, l))), B & /*$_*/
4568
+ E[3]("titleAccountClosure") + "") && Z(s, o), T === (T = P(E)) && y ? y.p(E, B) : (y.d(1), y = T(E), y && (y.c(), y.m(r, l))), B & /*$_*/
4548
4569
  8 && h !== (h = /*$_*/
4549
- C[3]("closeAccount") + "") && Z(f, h), /*closureModal*/
4550
- C[2] ? w ? w.p(C, B) : (w = Pt(C), w.c(), w.m(t, null)) : w && (w.d(1), w = null);
4570
+ E[3]("closeAccount") + "") && Z(f, h), /*closureModal*/
4571
+ E[2] ? A ? A.p(E, B) : (A = Nt(E), A.c(), A.m(t, null)) : A && (A.d(1), A = null);
4551
4572
  },
4552
4573
  i: O,
4553
4574
  o: O,
4554
- d(C) {
4555
- C && D(t), _ && _.d(), x.d(), w && w.d(), e[17](null), m = !1, d();
4575
+ d(E) {
4576
+ E && D(t), _ && _.d(), y.d(), A && A.d(), e[17](null), m = !1, d();
4556
4577
  }
4557
4578
  };
4558
4579
  }
4559
- function ro(e, t, r) {
4580
+ function io(e, t, r) {
4560
4581
  let n;
4561
- yr(e, ki, (S) => r(3, n = S));
4562
- let { lang: i = "en" } = t, { clientstyling: o = "" } = t, { clientstylingurl: s = "" } = t, { mbsource: a } = t, { translationurl: l = "" } = t, u = window.navigator.userAgent, c = zi(u) !== "PC", h = !1, f = !1, p;
4582
+ xr(e, zi, (C) => r(3, n = C));
4583
+ let { lang: i = "en" } = t, { clientstyling: o = "" } = t, { clientstylingurl: s = "" } = t, { mbsource: a } = t, { translationurl: l = "" } = t, u = window.navigator.userAgent, c = Vi(u) !== "PC", h = !1, f = !1, p;
4563
4584
  const m = () => {
4564
4585
  r(1, h = !0), fetch(l).then((k) => k.json()).then((k) => {
4565
- Object.keys(k).forEach((rt) => {
4566
- Bt(rt, k[rt]);
4586
+ Object.keys(k).forEach((it) => {
4587
+ Pt(it, k[it]);
4567
4588
  });
4568
4589
  }).catch((k) => {
4569
4590
  console.log(k);
@@ -4571,11 +4592,11 @@ function ro(e, t, r) {
4571
4592
  r(1, h = !1);
4572
4593
  });
4573
4594
  };
4574
- Object.keys(Mt).forEach((S) => {
4575
- Bt(S, Mt[S]);
4595
+ Object.keys(Ot).forEach((C) => {
4596
+ Pt(C, Ot[C]);
4576
4597
  });
4577
- const d = (S) => {
4578
- r(2, f = S), S === !0 ? window.postMessage({ type: "DisableScroll" }, window.location.href) : window.postMessage({ type: "EnableScroll" }, window.location.href);
4598
+ const d = (C) => {
4599
+ r(2, f = C), C === !0 ? window.postMessage({ type: "DisableScroll" }, window.location.href) : window.postMessage({ type: "EnableScroll" }, window.location.href);
4579
4600
  }, _ = () => {
4580
4601
  d(!1), window.postMessage({ type: "AccountClosure" }, window.location.href);
4581
4602
  }, P = () => {
@@ -4587,24 +4608,24 @@ function ro(e, t, r) {
4587
4608
  window.location.href
4588
4609
  );
4589
4610
  }, T = () => {
4590
- Wi(i);
4611
+ Xi(i);
4591
4612
  };
4592
- Tr(() => () => {
4613
+ Hr(() => () => {
4593
4614
  });
4594
- const x = () => P(), w = () => d(!0), C = () => d(!1), B = () => _();
4595
- function he(S) {
4596
- Le[S ? "unshift" : "push"](() => {
4597
- p = S, r(0, p);
4615
+ const y = () => P(), A = () => d(!0), E = () => d(!1), B = () => _();
4616
+ function he(C) {
4617
+ Re[C ? "unshift" : "push"](() => {
4618
+ p = C, r(0, p);
4598
4619
  });
4599
4620
  }
4600
- return e.$$set = (S) => {
4601
- "lang" in S && r(8, i = S.lang), "clientstyling" in S && r(9, o = S.clientstyling), "clientstylingurl" in S && r(10, s = S.clientstylingurl), "mbsource" in S && r(11, a = S.mbsource), "translationurl" in S && r(12, l = S.translationurl);
4621
+ return e.$$set = (C) => {
4622
+ "lang" in C && r(8, i = C.lang), "clientstyling" in C && r(9, o = C.clientstyling), "clientstylingurl" in C && r(10, s = C.clientstylingurl), "mbsource" in C && r(11, a = C.mbsource), "translationurl" in C && r(12, l = C.translationurl);
4602
4623
  }, e.$$.update = () => {
4603
4624
  e.$$.dirty & /*lang*/
4604
4625
  256 && i && T(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4605
- 513 && o && p && Vi(p, o), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4606
- 1025 && s && p && Xi(p, s), e.$$.dirty & /*mbsource, customStylingContainer*/
4607
- 2049 && a && p && Zi(p, `${a}.Style`), e.$$.dirty & /*translationurl*/
4626
+ 513 && o && p && Zi(p, o), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4627
+ 1025 && s && p && qi(p, s), e.$$.dirty & /*mbsource, customStylingContainer*/
4628
+ 2049 && a && p && Qi(p, `${a}.Style`), e.$$.dirty & /*translationurl*/
4608
4629
  4096 && l && m();
4609
4630
  }, [
4610
4631
  p,
@@ -4620,21 +4641,21 @@ function ro(e, t, r) {
4620
4641
  s,
4621
4642
  a,
4622
4643
  l,
4623
- x,
4624
- w,
4625
- C,
4644
+ y,
4645
+ A,
4646
+ E,
4626
4647
  B,
4627
4648
  he
4628
4649
  ];
4629
4650
  }
4630
- class no extends Fr {
4651
+ class oo extends Gr {
4631
4652
  constructor(t) {
4632
- super(), Dr(
4653
+ super(), Ur(
4633
4654
  this,
4634
4655
  t,
4635
- ro,
4636
- to,
4637
- It,
4656
+ io,
4657
+ no,
4658
+ Lt,
4638
4659
  {
4639
4660
  lang: 8,
4640
4661
  clientstyling: 9,
@@ -4642,7 +4663,7 @@ class no extends Fr {
4642
4663
  mbsource: 11,
4643
4664
  translationurl: 12
4644
4665
  },
4645
- qi
4666
+ Yi
4646
4667
  );
4647
4668
  }
4648
4669
  get lang() {
@@ -4676,7 +4697,7 @@ class no extends Fr {
4676
4697
  this.$$set({ translationurl: t }), U();
4677
4698
  }
4678
4699
  }
4679
- Ur(no, { lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
4700
+ Fr(oo, { lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
4680
4701
  export {
4681
- no as default
4702
+ oo as default
4682
4703
  };