@everymatrix/player-transaction-history 1.55.0 → 1.56.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,17 +1,17 @@
1
- var pr = Object.defineProperty, dr = Object.defineProperties;
1
+ var fr = Object.defineProperty, pr = Object.defineProperties;
2
2
  var mr = Object.getOwnPropertyDescriptors;
3
- var nt = Object.getOwnPropertySymbols;
4
- var br = Object.prototype.hasOwnProperty, yr = Object.prototype.propertyIsEnumerable;
5
- var He = (e, t, r) => t in e ? pr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, it = (e, t) => {
3
+ var rt = Object.getOwnPropertySymbols;
4
+ var dr = Object.prototype.hasOwnProperty, br = Object.prototype.propertyIsEnumerable;
5
+ var He = (e, t, r) => t in e ? fr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, nt = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- br.call(t, r) && He(e, r, t[r]);
8
- if (nt)
9
- for (var r of nt(t))
10
- yr.call(t, r) && He(e, r, t[r]);
7
+ dr.call(t, r) && He(e, r, t[r]);
8
+ if (rt)
9
+ for (var r of rt(t))
10
+ br.call(t, r) && He(e, r, t[r]);
11
11
  return e;
12
- }, ot = (e, t) => dr(e, mr(t));
13
- var B = (e, t, r) => He(e, typeof t != "symbol" ? t + "" : t, r);
14
- var st = (e, t, r) => new Promise((n, i) => {
12
+ }, it = (e, t) => pr(e, mr(t));
13
+ var w = (e, t, r) => (He(e, typeof t != "symbol" ? t + "" : t, r), r);
14
+ var ot = (e, t, r) => new Promise((n, i) => {
15
15
  var o = (h) => {
16
16
  try {
17
17
  a(r.next(h));
@@ -27,54 +27,55 @@ var st = (e, t, r) => new Promise((n, i) => {
27
27
  }, a = (h) => h.done ? n(h.value) : Promise.resolve(h.value).then(o, s);
28
28
  a((r = r.apply(e, t)).next());
29
29
  });
30
- function P() {
30
+ function B() {
31
31
  }
32
- function Nt(e) {
32
+ function It(e) {
33
33
  return e();
34
34
  }
35
- function at() {
35
+ function st() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
- function se(e) {
39
- e.forEach(Nt);
38
+ function ae(e) {
39
+ e.forEach(It);
40
40
  }
41
41
  function Qe(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function Lt(e, t) {
44
+ function Nt(e, t) {
45
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
47
  let le;
48
- function ut(e, t) {
48
+ function at(e, t) {
49
49
  return e === t ? !0 : (le || (le = document.createElement("a")), le.href = t, e === le.href);
50
50
  }
51
- function gr(e) {
51
+ function yr(e) {
52
52
  return Object.keys(e).length === 0;
53
53
  }
54
- function Ct(e, ...t) {
54
+ function Lt(e, ...t) {
55
55
  if (e == null) {
56
56
  for (const n of t)
57
57
  n(void 0);
58
- return P;
58
+ return B;
59
59
  }
60
60
  const r = e.subscribe(...t);
61
61
  return r.unsubscribe ? () => r.unsubscribe() : r;
62
62
  }
63
- function vr(e, t, r) {
64
- e.$$.on_destroy.push(Ct(t, r));
63
+ function gr(e, t, r) {
64
+ e.$$.on_destroy.push(Lt(t, r));
65
65
  }
66
66
  function x(e, t) {
67
67
  e.appendChild(t);
68
68
  }
69
- function _r(e, t, r) {
70
- const n = Er(e);
69
+ function vr(e, t, r) {
70
+ const n = _r(e);
71
71
  if (!n.getElementById(t)) {
72
- const i = L("style");
73
- i.id = t, i.textContent = r, xr(n, i);
72
+ const i = N("style");
73
+ i.id = t, i.textContent = r, Er(n, i);
74
74
  }
75
75
  }
76
- function Er(e) {
77
- if (!e) return document;
76
+ function _r(e) {
77
+ if (!e)
78
+ return document;
78
79
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
79
80
  return t && /** @type {ShadowRoot} */
80
81
  t.host ? (
@@ -82,20 +83,20 @@ function Er(e) {
82
83
  t
83
84
  ) : e.ownerDocument;
84
85
  }
85
- function xr(e, t) {
86
+ function Er(e, t) {
86
87
  return x(
87
88
  /** @type {Document} */
88
89
  e.head || e,
89
90
  t
90
91
  ), t.sheet;
91
92
  }
92
- function ae(e, t, r) {
93
+ function ue(e, t, r) {
93
94
  e.insertBefore(t, r || null);
94
95
  }
95
96
  function J(e) {
96
97
  e.parentNode && e.parentNode.removeChild(e);
97
98
  }
98
- function L(e) {
99
+ function N(e) {
99
100
  return document.createElement(e);
100
101
  }
101
102
  function F(e) {
@@ -107,20 +108,20 @@ function ne(e) {
107
108
  function Le() {
108
109
  return ne(" ");
109
110
  }
110
- function Tr(e, t, r, n) {
111
+ function xr(e, t, r, n) {
111
112
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
112
113
  }
113
114
  function E(e, t, r) {
114
115
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
115
116
  }
116
- function Hr(e) {
117
+ function Tr(e) {
117
118
  return Array.from(e.childNodes);
118
119
  }
119
120
  function Je(e, t) {
120
121
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
121
122
  t);
122
123
  }
123
- function Sr(e) {
124
+ function Hr(e) {
124
125
  const t = {};
125
126
  return e.childNodes.forEach(
126
127
  /** @param {Element} node */
@@ -129,86 +130,95 @@ function Sr(e) {
129
130
  }
130
131
  ), t;
131
132
  }
132
- let Ye;
133
+ let ie;
133
134
  function re(e) {
134
- Ye = e;
135
+ ie = e;
136
+ }
137
+ function Sr() {
138
+ if (!ie)
139
+ throw new Error("Function called outside component initialization");
140
+ return ie;
141
+ }
142
+ function wr(e) {
143
+ Sr().$$.on_mount.push(e);
135
144
  }
136
145
  const V = [], Ce = [];
137
146
  let X = [];
138
- const ht = [], wr = /* @__PURE__ */ Promise.resolve();
147
+ const ut = [], Br = /* @__PURE__ */ Promise.resolve();
139
148
  let Me = !1;
140
- function Br() {
141
- Me || (Me = !0, wr.then(I));
149
+ function Ar() {
150
+ Me || (Me = !0, Br.then(A));
142
151
  }
143
152
  function $e(e) {
144
153
  X.push(e);
145
154
  }
146
155
  const Se = /* @__PURE__ */ new Set();
147
156
  let j = 0;
148
- function I() {
157
+ function A() {
149
158
  if (j !== 0)
150
159
  return;
151
- const e = Ye;
160
+ const e = ie;
152
161
  do {
153
162
  try {
154
163
  for (; j < V.length; ) {
155
164
  const t = V[j];
156
- j++, re(t), Ar(t.$$);
165
+ j++, re(t), Pr(t.$$);
157
166
  }
158
167
  } catch (t) {
159
168
  throw V.length = 0, j = 0, t;
160
169
  }
161
- for (re(null), V.length = 0, j = 0; Ce.length; ) Ce.pop()();
170
+ for (re(null), V.length = 0, j = 0; Ce.length; )
171
+ Ce.pop()();
162
172
  for (let t = 0; t < X.length; t += 1) {
163
173
  const r = X[t];
164
174
  Se.has(r) || (Se.add(r), r());
165
175
  }
166
176
  X.length = 0;
167
177
  } while (V.length);
168
- for (; ht.length; )
169
- ht.pop()();
178
+ for (; ut.length; )
179
+ ut.pop()();
170
180
  Me = !1, Se.clear(), re(e);
171
181
  }
172
- function Ar(e) {
182
+ function Pr(e) {
173
183
  if (e.fragment !== null) {
174
- e.update(), se(e.before_update);
184
+ e.update(), ae(e.before_update);
175
185
  const t = e.dirty;
176
186
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach($e);
177
187
  }
178
188
  }
179
- function Pr(e) {
189
+ function Or(e) {
180
190
  const t = [], r = [];
181
191
  X.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), X = t;
182
192
  }
183
- const Or = /* @__PURE__ */ new Set();
184
- function Ir(e, t) {
185
- e && e.i && (Or.delete(e), e.i(t));
193
+ const Ir = /* @__PURE__ */ new Set();
194
+ function Nr(e, t) {
195
+ e && e.i && (Ir.delete(e), e.i(t));
186
196
  }
187
- function Nr(e, t, r) {
197
+ function Lr(e, t, r) {
188
198
  const { fragment: n, after_update: i } = e.$$;
189
199
  n && n.m(t, r), $e(() => {
190
- const o = e.$$.on_mount.map(Nt).filter(Qe);
191
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : se(o), e.$$.on_mount = [];
200
+ const o = e.$$.on_mount.map(It).filter(Qe);
201
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ae(o), e.$$.on_mount = [];
192
202
  }), i.forEach($e);
193
203
  }
194
- function Lr(e, t) {
204
+ function Cr(e, t) {
195
205
  const r = e.$$;
196
- r.fragment !== null && (Pr(r.after_update), se(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
206
+ r.fragment !== null && (Or(r.after_update), ae(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
197
207
  }
198
- function Cr(e, t) {
199
- e.$$.dirty[0] === -1 && (V.push(e), Br(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
208
+ function Mr(e, t) {
209
+ e.$$.dirty[0] === -1 && (V.push(e), Ar(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
200
210
  }
201
- function Mr(e, t, r, n, i, o, s = null, a = [-1]) {
202
- const h = Ye;
211
+ function $r(e, t, r, n, i, o, s = null, a = [-1]) {
212
+ const h = ie;
203
213
  re(e);
204
214
  const u = e.$$ = {
205
215
  fragment: null,
206
216
  ctx: [],
207
217
  // state
208
218
  props: o,
209
- update: P,
219
+ update: B,
210
220
  not_equal: i,
211
- bound: at(),
221
+ bound: st(),
212
222
  // lifecycle
213
223
  on_mount: [],
214
224
  on_destroy: [],
@@ -217,7 +227,7 @@ function Mr(e, t, r, n, i, o, s = null, a = [-1]) {
217
227
  after_update: [],
218
228
  context: new Map(t.context || (h ? h.$$.context : [])),
219
229
  // everything else
220
- callbacks: at(),
230
+ callbacks: st(),
221
231
  dirty: a,
222
232
  skip_bound: !1,
223
233
  root: t.target || h.$$.root
@@ -226,39 +236,39 @@ function Mr(e, t, r, n, i, o, s = null, a = [-1]) {
226
236
  let l = !1;
227
237
  if (u.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
228
238
  const v = p.length ? p[0] : f;
229
- return u.ctx && i(u.ctx[c], u.ctx[c] = v) && (!u.skip_bound && u.bound[c] && u.bound[c](v), l && Cr(e, c)), f;
230
- }) : [], u.update(), l = !0, se(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
239
+ return u.ctx && i(u.ctx[c], u.ctx[c] = v) && (!u.skip_bound && u.bound[c] && u.bound[c](v), l && Mr(e, c)), f;
240
+ }) : [], u.update(), l = !0, ae(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
231
241
  if (t.hydrate) {
232
- const c = Hr(t.target);
242
+ const c = Tr(t.target);
233
243
  u.fragment && u.fragment.l(c), c.forEach(J);
234
244
  } else
235
245
  u.fragment && u.fragment.c();
236
- t.intro && Ir(e.$$.fragment), Nr(e, t.target, t.anchor), I();
246
+ t.intro && Nr(e.$$.fragment), Lr(e, t.target, t.anchor), A();
237
247
  }
238
248
  re(h);
239
249
  }
240
- let Mt;
241
- typeof HTMLElement == "function" && (Mt = class extends HTMLElement {
250
+ let Ct;
251
+ typeof HTMLElement == "function" && (Ct = class extends HTMLElement {
242
252
  constructor(t, r, n) {
243
253
  super();
244
254
  /** The Svelte component constructor */
245
- B(this, "$$ctor");
255
+ w(this, "$$ctor");
246
256
  /** Slots */
247
- B(this, "$$s");
257
+ w(this, "$$s");
248
258
  /** The Svelte component instance */
249
- B(this, "$$c");
259
+ w(this, "$$c");
250
260
  /** Whether or not the custom element is connected */
251
- B(this, "$$cn", !1);
261
+ w(this, "$$cn", !1);
252
262
  /** Component props data */
253
- B(this, "$$d", {});
263
+ w(this, "$$d", {});
254
264
  /** `true` if currently in the process of reflecting component props back to attributes */
255
- B(this, "$$r", !1);
265
+ w(this, "$$r", !1);
256
266
  /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
257
- B(this, "$$p_d", {});
267
+ w(this, "$$p_d", {});
258
268
  /** @type {Record<string, Function[]>} Event listeners */
259
- B(this, "$$l", {});
269
+ w(this, "$$l", {});
260
270
  /** @type {Map<Function, Function>} Event listener unsubscribe functions */
261
- B(this, "$$l_u", /* @__PURE__ */ new Map());
271
+ w(this, "$$l_u", /* @__PURE__ */ new Map());
262
272
  this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
263
273
  }
264
274
  addEventListener(t, r, n) {
@@ -275,21 +285,21 @@ typeof HTMLElement == "function" && (Mt = class extends HTMLElement {
275
285
  }
276
286
  }
277
287
  connectedCallback() {
278
- return st(this, null, function* () {
288
+ return ot(this, null, function* () {
279
289
  if (this.$$cn = !0, !this.$$c) {
280
290
  let t = function(o) {
281
291
  return () => {
282
292
  let s;
283
293
  return {
284
294
  c: function() {
285
- s = L("slot"), o !== "default" && E(s, "name", o);
295
+ s = N("slot"), o !== "default" && E(s, "name", o);
286
296
  },
287
297
  /**
288
298
  * @param {HTMLElement} target
289
299
  * @param {HTMLElement} [anchor]
290
300
  */
291
301
  m: function(u, l) {
292
- ae(u, s, l);
302
+ ue(u, s, l);
293
303
  },
294
304
  d: function(u) {
295
305
  u && J(s);
@@ -299,7 +309,7 @@ typeof HTMLElement == "function" && (Mt = class extends HTMLElement {
299
309
  };
300
310
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
301
311
  return;
302
- const r = {}, n = Sr(this);
312
+ const r = {}, n = Hr(this);
303
313
  for (const o of this.$$s)
304
314
  o in n && (r[o] = [t(o)]);
305
315
  for (const o of this.attributes) {
@@ -310,7 +320,7 @@ typeof HTMLElement == "function" && (Mt = class extends HTMLElement {
310
320
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
311
321
  this.$$c = new this.$$ctor({
312
322
  target: this.shadowRoot || this,
313
- props: ot(it({}, this.$$d), {
323
+ props: it(nt({}, this.$$d), {
314
324
  $$slots: r,
315
325
  $$scope: {
316
326
  ctx: []
@@ -388,8 +398,8 @@ function pe(e, t, r, n) {
388
398
  return t;
389
399
  }
390
400
  }
391
- function $r(e, t, r, n, i, o) {
392
- let s = class extends Mt {
401
+ function Rr(e, t, r, n, i, o) {
402
+ let s = class extends Ct {
393
403
  constructor() {
394
404
  super(e, r, i), this.$$p_d = t;
395
405
  }
@@ -419,7 +429,7 @@ function $r(e, t, r, n, i, o) {
419
429
  }), e.element = /** @type {any} */
420
430
  s, s;
421
431
  }
422
- class Rr {
432
+ class Ur {
423
433
  constructor() {
424
434
  /**
425
435
  * ### PRIVATE API
@@ -428,7 +438,7 @@ class Rr {
428
438
  *
429
439
  * @type {any}
430
440
  */
431
- B(this, "$$");
441
+ w(this, "$$");
432
442
  /**
433
443
  * ### PRIVATE API
434
444
  *
@@ -436,11 +446,11 @@ class Rr {
436
446
  *
437
447
  * @type {any}
438
448
  */
439
- B(this, "$$set");
449
+ w(this, "$$set");
440
450
  }
441
451
  /** @returns {void} */
442
452
  $destroy() {
443
- Lr(this, 1), this.$destroy = P;
453
+ Cr(this, 1), this.$destroy = B;
444
454
  }
445
455
  /**
446
456
  * @template {Extract<keyof Events, string>} K
@@ -450,7 +460,7 @@ class Rr {
450
460
  */
451
461
  $on(t, r) {
452
462
  if (!Qe(r))
453
- return P;
463
+ return B;
454
464
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
455
465
  return n.push(r), () => {
456
466
  const i = n.indexOf(r);
@@ -462,19 +472,34 @@ class Rr {
462
472
  * @returns {void}
463
473
  */
464
474
  $set(t) {
465
- this.$$set && !gr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
475
+ this.$$set && !yr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
466
476
  }
467
477
  }
468
- const Ur = "4";
469
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Ur);
478
+ const Dr = "4";
479
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Dr);
480
+ /*! *****************************************************************************
481
+ Copyright (c) Microsoft Corporation.
482
+
483
+ Permission to use, copy, modify, and/or distribute this software for any
484
+ purpose with or without fee is hereby granted.
485
+
486
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
487
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
488
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
489
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
490
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
491
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
492
+ PERFORMANCE OF THIS SOFTWARE.
493
+ ***************************************************************************** */
470
494
  var Re = function(e, t) {
471
495
  return Re = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
472
496
  r.__proto__ = n;
473
497
  } || function(r, n) {
474
- for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
498
+ for (var i in n)
499
+ Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
475
500
  }, Re(e, t);
476
501
  };
477
- function C(e, t) {
502
+ function L(e, t) {
478
503
  if (typeof t != "function" && t !== null)
479
504
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
480
505
  Re(e, t);
@@ -487,14 +512,16 @@ var y = function() {
487
512
  return y = Object.assign || function(t) {
488
513
  for (var r, n = 1, i = arguments.length; n < i; n++) {
489
514
  r = arguments[n];
490
- for (var o in r) Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
515
+ for (var o in r)
516
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
491
517
  }
492
518
  return t;
493
519
  }, y.apply(this, arguments);
494
520
  };
495
- function Dr(e, t) {
521
+ function Gr(e, t) {
496
522
  var r = {};
497
- for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
523
+ for (var n in e)
524
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
498
525
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
499
526
  for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
500
527
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
@@ -502,46 +529,52 @@ function Dr(e, t) {
502
529
  }
503
530
  function Ue(e) {
504
531
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
505
- if (r) return r.call(e);
506
- if (e && typeof e.length == "number") return {
507
- next: function() {
508
- return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
509
- }
510
- };
532
+ if (r)
533
+ return r.call(e);
534
+ if (e && typeof e.length == "number")
535
+ return {
536
+ next: function() {
537
+ return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
538
+ }
539
+ };
511
540
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
512
541
  }
513
542
  function De(e, t) {
514
543
  var r = typeof Symbol == "function" && e[Symbol.iterator];
515
- if (!r) return e;
544
+ if (!r)
545
+ return e;
516
546
  var n = r.call(e), i, o = [], s;
517
547
  try {
518
- for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; ) o.push(i.value);
548
+ for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
549
+ o.push(i.value);
519
550
  } catch (a) {
520
551
  s = { error: a };
521
552
  } finally {
522
553
  try {
523
554
  i && !i.done && (r = n.return) && r.call(n);
524
555
  } finally {
525
- if (s) throw s.error;
556
+ if (s)
557
+ throw s.error;
526
558
  }
527
559
  }
528
560
  return o;
529
561
  }
530
562
  function W(e, t, r) {
531
- if (r || arguments.length === 2) for (var n = 0, i = t.length, o; n < i; n++)
532
- (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
533
- return e.concat(o || Array.prototype.slice.call(t));
563
+ if (r || arguments.length === 2)
564
+ for (var n = 0, i = t.length, o; n < i; n++)
565
+ (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
566
+ return e.concat(o || t);
534
567
  }
535
- function N(e) {
568
+ function I(e) {
536
569
  return typeof e == "function";
537
570
  }
538
- function $t(e) {
571
+ function Mt(e) {
539
572
  var t = function(n) {
540
573
  Error.call(n), n.stack = new Error().stack;
541
574
  }, r = e(t);
542
575
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
543
576
  }
544
- var we = $t(function(e) {
577
+ var we = Mt(function(e) {
545
578
  return function(r) {
546
579
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
547
580
  ` + r.map(function(n, i) {
@@ -572,23 +605,24 @@ var ve = function() {
572
605
  var u = h.value;
573
606
  u.remove(this);
574
607
  }
575
- } catch (d) {
576
- t = { error: d };
608
+ } catch (m) {
609
+ t = { error: m };
577
610
  } finally {
578
611
  try {
579
612
  h && !h.done && (r = a.return) && r.call(a);
580
613
  } finally {
581
- if (t) throw t.error;
614
+ if (t)
615
+ throw t.error;
582
616
  }
583
617
  }
584
618
  else
585
619
  s.remove(this);
586
620
  var l = this.initialTeardown;
587
- if (N(l))
621
+ if (I(l))
588
622
  try {
589
623
  l();
590
- } catch (d) {
591
- o = d instanceof we ? d.errors : [d];
624
+ } catch (m) {
625
+ o = m instanceof we ? m.errors : [m];
592
626
  }
593
627
  var c = this._finalizers;
594
628
  if (c) {
@@ -597,18 +631,19 @@ var ve = function() {
597
631
  for (var f = Ue(c), p = f.next(); !p.done; p = f.next()) {
598
632
  var v = p.value;
599
633
  try {
600
- lt(v);
601
- } catch (d) {
602
- o = o != null ? o : [], d instanceof we ? o = W(W([], De(o)), De(d.errors)) : o.push(d);
634
+ ht(v);
635
+ } catch (m) {
636
+ o = o != null ? o : [], m instanceof we ? o = W(W([], De(o)), De(m.errors)) : o.push(m);
603
637
  }
604
638
  }
605
- } catch (d) {
606
- n = { error: d };
639
+ } catch (m) {
640
+ n = { error: m };
607
641
  } finally {
608
642
  try {
609
643
  p && !p.done && (i = f.return) && i.call(f);
610
644
  } finally {
611
- if (n) throw n.error;
645
+ if (n)
646
+ throw n.error;
612
647
  }
613
648
  }
614
649
  }
@@ -619,7 +654,7 @@ var ve = function() {
619
654
  var r;
620
655
  if (t && t !== this)
621
656
  if (this.closed)
622
- lt(t);
657
+ ht(t);
623
658
  else {
624
659
  if (t instanceof e) {
625
660
  if (t.closed || t._hasParent(this))
@@ -644,20 +679,20 @@ var ve = function() {
644
679
  var t = new e();
645
680
  return t.closed = !0, t;
646
681
  }(), e;
647
- }(), Rt = ve.EMPTY;
648
- function Ut(e) {
649
- return e instanceof ve || e && "closed" in e && N(e.remove) && N(e.add) && N(e.unsubscribe);
682
+ }(), $t = ve.EMPTY;
683
+ function Rt(e) {
684
+ return e instanceof ve || e && "closed" in e && I(e.remove) && I(e.add) && I(e.unsubscribe);
650
685
  }
651
- function lt(e) {
652
- N(e) ? e() : e.unsubscribe();
686
+ function ht(e) {
687
+ I(e) ? e() : e.unsubscribe();
653
688
  }
654
- var Dt = {
689
+ var Ut = {
655
690
  onUnhandledError: null,
656
691
  onStoppedNotification: null,
657
692
  Promise: void 0,
658
693
  useDeprecatedSynchronousErrorHandling: !1,
659
694
  useDeprecatedNextContext: !1
660
- }, Gr = {
695
+ }, Fr = {
661
696
  setTimeout: function(e, t) {
662
697
  for (var r = [], n = 2; n < arguments.length; n++)
663
698
  r[n - 2] = arguments[n];
@@ -668,21 +703,21 @@ var Dt = {
668
703
  },
669
704
  delegate: void 0
670
705
  };
671
- function Fr(e) {
672
- Gr.setTimeout(function() {
706
+ function jr(e) {
707
+ Fr.setTimeout(function() {
673
708
  throw e;
674
709
  });
675
710
  }
676
- function ct() {
711
+ function lt() {
677
712
  }
678
- function de(e) {
713
+ function me(e) {
679
714
  e();
680
715
  }
681
- var Gt = function(e) {
682
- C(t, e);
716
+ var Dt = function(e) {
717
+ L(t, e);
683
718
  function t(r) {
684
719
  var n = e.call(this) || this;
685
- return n.isStopped = !1, r ? (n.destination = r, Ut(r) && r.add(n)) : n.destination = Xr, n;
720
+ return n.isStopped = !1, r ? (n.destination = r, Rt(r) && r.add(n)) : n.destination = Wr, n;
686
721
  }
687
722
  return t.create = function(r, n, i) {
688
723
  return new Fe(r, n, i);
@@ -709,11 +744,11 @@ var Gt = function(e) {
709
744
  this.unsubscribe();
710
745
  }
711
746
  }, t;
712
- }(ve), jr = Function.prototype.bind;
747
+ }(ve), kr = Function.prototype.bind;
713
748
  function Be(e, t) {
714
- return jr.call(e, t);
749
+ return kr.call(e, t);
715
750
  }
716
- var kr = function() {
751
+ var Vr = function() {
717
752
  function e(t) {
718
753
  this.partialObserver = t;
719
754
  }
@@ -745,10 +780,10 @@ var kr = function() {
745
780
  }
746
781
  }, e;
747
782
  }(), Fe = function(e) {
748
- C(t, e);
783
+ L(t, e);
749
784
  function t(r, n, i) {
750
785
  var o = e.call(this) || this, s;
751
- if (N(r) || !r)
786
+ if (I(r) || !r)
752
787
  s = {
753
788
  next: r != null ? r : void 0,
754
789
  error: n != null ? n : void 0,
@@ -756,7 +791,7 @@ var kr = function() {
756
791
  };
757
792
  else {
758
793
  var a;
759
- o && Dt.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
794
+ o && Ut.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
760
795
  return o.unsubscribe();
761
796
  }, s = {
762
797
  next: r.next && Be(r.next, a),
@@ -764,35 +799,35 @@ var kr = function() {
764
799
  complete: r.complete && Be(r.complete, a)
765
800
  }) : s = r;
766
801
  }
767
- return o.destination = new kr(s), o;
802
+ return o.destination = new Vr(s), o;
768
803
  }
769
804
  return t;
770
- }(Gt);
805
+ }(Dt);
771
806
  function ce(e) {
772
- Fr(e);
807
+ jr(e);
773
808
  }
774
- function Vr(e) {
809
+ function Xr(e) {
775
810
  throw e;
776
811
  }
777
- var Xr = {
812
+ var Wr = {
778
813
  closed: !0,
779
- next: ct,
780
- error: Vr,
781
- complete: ct
782
- }, Wr = function() {
814
+ next: lt,
815
+ error: Xr,
816
+ complete: lt
817
+ }, zr = function() {
783
818
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
784
819
  }();
785
- function zr(e) {
820
+ function Zr(e) {
786
821
  return e;
787
822
  }
788
- function Zr(e) {
789
- return e.length === 0 ? zr : e.length === 1 ? e[0] : function(r) {
823
+ function qr(e) {
824
+ return e.length === 0 ? Zr : e.length === 1 ? e[0] : function(r) {
790
825
  return e.reduce(function(n, i) {
791
826
  return i(n);
792
827
  }, r);
793
828
  };
794
829
  }
795
- var ft = function() {
830
+ var ct = function() {
796
831
  function e(t) {
797
832
  t && (this._subscribe = t);
798
833
  }
@@ -800,8 +835,8 @@ var ft = function() {
800
835
  var r = new e();
801
836
  return r.source = this, r.operator = t, r;
802
837
  }, e.prototype.subscribe = function(t, r, n) {
803
- var i = this, o = Qr(t) ? t : new Fe(t, r, n);
804
- return de(function() {
838
+ var i = this, o = Jr(t) ? t : new Fe(t, r, n);
839
+ return me(function() {
805
840
  var s = i, a = s.operator, h = s.source;
806
841
  o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
807
842
  }), o;
@@ -813,7 +848,7 @@ var ft = function() {
813
848
  }
814
849
  }, e.prototype.forEach = function(t, r) {
815
850
  var n = this;
816
- return r = pt(r), new r(function(i, o) {
851
+ return r = ft(r), new r(function(i, o) {
817
852
  var s = new Fe({
818
853
  next: function(a) {
819
854
  try {
@@ -830,15 +865,15 @@ var ft = function() {
830
865
  }, e.prototype._subscribe = function(t) {
831
866
  var r;
832
867
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
833
- }, e.prototype[Wr] = function() {
868
+ }, e.prototype[zr] = function() {
834
869
  return this;
835
870
  }, e.prototype.pipe = function() {
836
871
  for (var t = [], r = 0; r < arguments.length; r++)
837
872
  t[r] = arguments[r];
838
- return Zr(t)(this);
873
+ return qr(t)(this);
839
874
  }, e.prototype.toPromise = function(t) {
840
875
  var r = this;
841
- return t = pt(t), new t(function(n, i) {
876
+ return t = ft(t), new t(function(n, i) {
842
877
  var o;
843
878
  r.subscribe(function(s) {
844
879
  return o = s;
@@ -852,35 +887,35 @@ var ft = function() {
852
887
  return new e(t);
853
888
  }, e;
854
889
  }();
855
- function pt(e) {
890
+ function ft(e) {
856
891
  var t;
857
- return (t = e != null ? e : Dt.Promise) !== null && t !== void 0 ? t : Promise;
858
- }
859
- function qr(e) {
860
- return e && N(e.next) && N(e.error) && N(e.complete);
892
+ return (t = e != null ? e : Ut.Promise) !== null && t !== void 0 ? t : Promise;
861
893
  }
862
894
  function Qr(e) {
863
- return e && e instanceof Gt || qr(e) && Ut(e);
895
+ return e && I(e.next) && I(e.error) && I(e.complete);
896
+ }
897
+ function Jr(e) {
898
+ return e && e instanceof Dt || Qr(e) && Rt(e);
864
899
  }
865
- var Jr = $t(function(e) {
900
+ var Yr = Mt(function(e) {
866
901
  return function() {
867
902
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
868
903
  };
869
- }), Ft = function(e) {
870
- C(t, e);
904
+ }), Gt = function(e) {
905
+ L(t, e);
871
906
  function t() {
872
907
  var r = e.call(this) || this;
873
908
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
874
909
  }
875
910
  return t.prototype.lift = function(r) {
876
- var n = new dt(this, this);
911
+ var n = new pt(this, this);
877
912
  return n.operator = r, n;
878
913
  }, t.prototype._throwIfClosed = function() {
879
914
  if (this.closed)
880
- throw new Jr();
915
+ throw new Yr();
881
916
  }, t.prototype.next = function(r) {
882
917
  var n = this;
883
- de(function() {
918
+ me(function() {
884
919
  var i, o;
885
920
  if (n._throwIfClosed(), !n.isStopped) {
886
921
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
@@ -895,14 +930,15 @@ var Jr = $t(function(e) {
895
930
  try {
896
931
  a && !a.done && (o = s.return) && o.call(s);
897
932
  } finally {
898
- if (i) throw i.error;
933
+ if (i)
934
+ throw i.error;
899
935
  }
900
936
  }
901
937
  }
902
938
  });
903
939
  }, t.prototype.error = function(r) {
904
940
  var n = this;
905
- de(function() {
941
+ me(function() {
906
942
  if (n._throwIfClosed(), !n.isStopped) {
907
943
  n.hasError = n.isStopped = !0, n.thrownError = r;
908
944
  for (var i = n.observers; i.length; )
@@ -911,7 +947,7 @@ var Jr = $t(function(e) {
911
947
  });
912
948
  }, t.prototype.complete = function() {
913
949
  var r = this;
914
- de(function() {
950
+ me(function() {
915
951
  if (r._throwIfClosed(), !r.isStopped) {
916
952
  r.isStopped = !0;
917
953
  for (var n = r.observers; n.length; )
@@ -933,20 +969,20 @@ var Jr = $t(function(e) {
933
969
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
934
970
  }, t.prototype._innerSubscribe = function(r) {
935
971
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
936
- return o || s ? Rt : (this.currentObservers = null, a.push(r), new ve(function() {
972
+ return o || s ? $t : (this.currentObservers = null, a.push(r), new ve(function() {
937
973
  n.currentObservers = null, Ge(a, r);
938
974
  }));
939
975
  }, t.prototype._checkFinalizedStatuses = function(r) {
940
976
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
941
977
  i ? r.error(o) : s && r.complete();
942
978
  }, t.prototype.asObservable = function() {
943
- var r = new ft();
979
+ var r = new ct();
944
980
  return r.source = this, r;
945
981
  }, t.create = function(r, n) {
946
- return new dt(r, n);
982
+ return new pt(r, n);
947
983
  }, t;
948
- }(ft), dt = function(e) {
949
- C(t, e);
984
+ }(ct), pt = function(e) {
985
+ L(t, e);
950
986
  function t(r, n) {
951
987
  var i = e.call(this) || this;
952
988
  return i.destination = r, i.source = n, i;
@@ -962,17 +998,17 @@ var Jr = $t(function(e) {
962
998
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
963
999
  }, t.prototype._subscribe = function(r) {
964
1000
  var n, i;
965
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Rt;
1001
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : $t;
966
1002
  }, t;
967
- }(Ft), jt = {
1003
+ }(Gt), Ft = {
968
1004
  now: function() {
969
- return (jt.delegate || Date).now();
1005
+ return (Ft.delegate || Date).now();
970
1006
  },
971
1007
  delegate: void 0
972
- }, Yr = function(e) {
973
- C(t, e);
1008
+ }, Kr = function(e) {
1009
+ L(t, e);
974
1010
  function t(r, n, i) {
975
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = jt);
1011
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Ft);
976
1012
  var o = e.call(this) || this;
977
1013
  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;
978
1014
  }
@@ -992,24 +1028,24 @@ var Jr = $t(function(e) {
992
1028
  u && o.splice(0, u + 1);
993
1029
  }
994
1030
  }, t;
995
- }(Ft);
996
- const mt = [], bt = {}, Kr = (e, t = 0) => {
1031
+ }(Gt);
1032
+ const mt = [], dt = {}, en = (e, t = 0) => {
997
1033
  if (mt.indexOf(e) == -1) {
998
- const r = new Yr(t);
999
- bt[e] = r, mt.push(e);
1034
+ const r = new Kr(t);
1035
+ dt[e] = r, mt.push(e);
1000
1036
  }
1001
- return bt[e];
1037
+ return dt[e];
1002
1038
  }, k = [];
1003
- function en(e, t) {
1039
+ function tn(e, t) {
1004
1040
  return {
1005
1041
  subscribe: _e(e, t).subscribe
1006
1042
  };
1007
1043
  }
1008
- function _e(e, t = P) {
1044
+ function _e(e, t = B) {
1009
1045
  let r;
1010
1046
  const n = /* @__PURE__ */ new Set();
1011
1047
  function i(a) {
1012
- if (Lt(e, a) && (e = a, r)) {
1048
+ if (Nt(e, a) && (e = a, r)) {
1013
1049
  const h = !k.length;
1014
1050
  for (const u of n)
1015
1051
  u[1](), k.push(u, e);
@@ -1023,9 +1059,9 @@ function _e(e, t = P) {
1023
1059
  function o(a) {
1024
1060
  i(a(e));
1025
1061
  }
1026
- function s(a, h = P) {
1062
+ function s(a, h = B) {
1027
1063
  const u = [a, h];
1028
- return n.add(u), n.size === 1 && (r = t(i, o) || P), a(e), () => {
1064
+ return n.add(u), n.size === 1 && (r = t(i, o) || B), a(e), () => {
1029
1065
  n.delete(u), n.size === 0 && r && (r(), r = null);
1030
1066
  };
1031
1067
  }
@@ -1036,96 +1072,96 @@ function Y(e, t, r) {
1036
1072
  if (!i.every(Boolean))
1037
1073
  throw new Error("derived() expects stores as input, got a falsy value");
1038
1074
  const o = t.length < 2;
1039
- return en(r, (s, a) => {
1075
+ return tn(r, (s, a) => {
1040
1076
  let h = !1;
1041
1077
  const u = [];
1042
- let l = 0, c = P;
1078
+ let l = 0, c = B;
1043
1079
  const f = () => {
1044
1080
  if (l)
1045
1081
  return;
1046
1082
  c();
1047
1083
  const v = t(n ? u[0] : u, s, a);
1048
- o ? s(v) : c = Qe(v) ? v : P;
1084
+ o ? s(v) : c = Qe(v) ? v : B;
1049
1085
  }, p = i.map(
1050
- (v, d) => Ct(
1086
+ (v, m) => Lt(
1051
1087
  v,
1052
1088
  (T) => {
1053
- u[d] = T, l &= ~(1 << d), h && f();
1089
+ u[m] = T, l &= ~(1 << m), h && f();
1054
1090
  },
1055
1091
  () => {
1056
- l |= 1 << d;
1092
+ l |= 1 << m;
1057
1093
  }
1058
1094
  )
1059
1095
  );
1060
1096
  return h = !0, f(), function() {
1061
- se(p), c(), h = !1;
1097
+ ae(p), c(), h = !1;
1062
1098
  };
1063
1099
  });
1064
1100
  }
1065
- function tn(e) {
1101
+ function rn(e) {
1066
1102
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1067
1103
  }
1068
- var rn = function(t) {
1069
- return nn(t) && !on(t);
1104
+ var nn = function(t) {
1105
+ return on(t) && !sn(t);
1070
1106
  };
1071
- function nn(e) {
1107
+ function on(e) {
1072
1108
  return !!e && typeof e == "object";
1073
1109
  }
1074
- function on(e) {
1110
+ function sn(e) {
1075
1111
  var t = Object.prototype.toString.call(e);
1076
- return t === "[object RegExp]" || t === "[object Date]" || un(e);
1077
- }
1078
- var sn = typeof Symbol == "function" && Symbol.for, an = sn ? Symbol.for("react.element") : 60103;
1079
- function un(e) {
1080
- return e.$$typeof === an;
1112
+ return t === "[object RegExp]" || t === "[object Date]" || hn(e);
1081
1113
  }
1114
+ var an = typeof Symbol == "function" && Symbol.for, un = an ? Symbol.for("react.element") : 60103;
1082
1115
  function hn(e) {
1116
+ return e.$$typeof === un;
1117
+ }
1118
+ function ln(e) {
1083
1119
  return Array.isArray(e) ? [] : {};
1084
1120
  }
1085
- function ie(e, t) {
1086
- return t.clone !== !1 && t.isMergeableObject(e) ? z(hn(e), e, t) : e;
1121
+ function oe(e, t) {
1122
+ return t.clone !== !1 && t.isMergeableObject(e) ? z(ln(e), e, t) : e;
1087
1123
  }
1088
- function ln(e, t, r) {
1124
+ function cn(e, t, r) {
1089
1125
  return e.concat(t).map(function(n) {
1090
- return ie(n, r);
1126
+ return oe(n, r);
1091
1127
  });
1092
1128
  }
1093
- function cn(e, t) {
1129
+ function fn(e, t) {
1094
1130
  if (!t.customMerge)
1095
1131
  return z;
1096
1132
  var r = t.customMerge(e);
1097
1133
  return typeof r == "function" ? r : z;
1098
1134
  }
1099
- function fn(e) {
1135
+ function pn(e) {
1100
1136
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1101
1137
  return Object.propertyIsEnumerable.call(e, t);
1102
1138
  }) : [];
1103
1139
  }
1104
- function yt(e) {
1105
- return Object.keys(e).concat(fn(e));
1140
+ function bt(e) {
1141
+ return Object.keys(e).concat(pn(e));
1106
1142
  }
1107
- function kt(e, t) {
1143
+ function jt(e, t) {
1108
1144
  try {
1109
1145
  return t in e;
1110
1146
  } catch (r) {
1111
1147
  return !1;
1112
1148
  }
1113
1149
  }
1114
- function pn(e, t) {
1115
- return kt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1150
+ function mn(e, t) {
1151
+ return jt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1116
1152
  }
1117
1153
  function dn(e, t, r) {
1118
1154
  var n = {};
1119
- return r.isMergeableObject(e) && yt(e).forEach(function(i) {
1120
- n[i] = ie(e[i], r);
1121
- }), yt(t).forEach(function(i) {
1122
- pn(e, i) || (kt(e, i) && r.isMergeableObject(t[i]) ? n[i] = cn(i, r)(e[i], t[i], r) : n[i] = ie(t[i], r));
1155
+ return r.isMergeableObject(e) && bt(e).forEach(function(i) {
1156
+ n[i] = oe(e[i], r);
1157
+ }), bt(t).forEach(function(i) {
1158
+ mn(e, i) || (jt(e, i) && r.isMergeableObject(t[i]) ? n[i] = fn(i, r)(e[i], t[i], r) : n[i] = oe(t[i], r));
1123
1159
  }), n;
1124
1160
  }
1125
1161
  function z(e, t, r) {
1126
- r = r || {}, r.arrayMerge = r.arrayMerge || ln, r.isMergeableObject = r.isMergeableObject || rn, r.cloneUnlessOtherwiseSpecified = ie;
1162
+ r = r || {}, r.arrayMerge = r.arrayMerge || cn, r.isMergeableObject = r.isMergeableObject || nn, r.cloneUnlessOtherwiseSpecified = oe;
1127
1163
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1128
- return o ? n ? r.arrayMerge(e, t, r) : dn(e, t, r) : ie(t, r);
1164
+ return o ? n ? r.arrayMerge(e, t, r) : dn(e, t, r) : oe(t, r);
1129
1165
  }
1130
1166
  z.all = function(t, r) {
1131
1167
  if (!Array.isArray(t))
@@ -1134,62 +1170,62 @@ z.all = function(t, r) {
1134
1170
  return z(n, i, r);
1135
1171
  }, {});
1136
1172
  };
1137
- var mn = z, bn = mn;
1138
- const yn = /* @__PURE__ */ tn(bn);
1173
+ var bn = z, yn = bn;
1174
+ const gn = /* @__PURE__ */ rn(yn);
1139
1175
  function Ae(e, t) {
1140
- var r = t && t.cache ? t.cache : Tn, n = t && t.serializer ? t.serializer : xn, i = t && t.strategy ? t.strategy : vn;
1176
+ var r = t && t.cache ? t.cache : Hn, n = t && t.serializer ? t.serializer : Tn, i = t && t.strategy ? t.strategy : _n;
1141
1177
  return i(e, {
1142
1178
  cache: r,
1143
1179
  serializer: n
1144
1180
  });
1145
1181
  }
1146
- function gn(e) {
1182
+ function vn(e) {
1147
1183
  return e == null || typeof e == "number" || typeof e == "boolean";
1148
1184
  }
1149
- function Vt(e, t, r, n) {
1150
- var i = gn(n) ? n : r(n), o = t.get(i);
1185
+ function kt(e, t, r, n) {
1186
+ var i = vn(n) ? n : r(n), o = t.get(i);
1151
1187
  return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
1152
1188
  }
1153
- function Xt(e, t, r) {
1189
+ function Vt(e, t, r) {
1154
1190
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1155
1191
  return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
1156
1192
  }
1157
- function Ke(e, t, r, n, i) {
1193
+ function Ye(e, t, r, n, i) {
1158
1194
  return r.bind(t, e, n, i);
1159
1195
  }
1160
- function vn(e, t) {
1161
- var r = e.length === 1 ? Vt : Xt;
1162
- return Ke(e, this, r, t.cache.create(), t.serializer);
1163
- }
1164
1196
  function _n(e, t) {
1165
- return Ke(e, this, Xt, t.cache.create(), t.serializer);
1197
+ var r = e.length === 1 ? kt : Vt;
1198
+ return Ye(e, this, r, t.cache.create(), t.serializer);
1166
1199
  }
1167
1200
  function En(e, t) {
1168
- return Ke(e, this, Vt, t.cache.create(), t.serializer);
1201
+ return Ye(e, this, Vt, t.cache.create(), t.serializer);
1169
1202
  }
1170
- var xn = function() {
1203
+ function xn(e, t) {
1204
+ return Ye(e, this, kt, t.cache.create(), t.serializer);
1205
+ }
1206
+ var Tn = function() {
1171
1207
  return JSON.stringify(arguments);
1172
1208
  };
1173
- function et() {
1209
+ function Ke() {
1174
1210
  this.cache = /* @__PURE__ */ Object.create(null);
1175
1211
  }
1176
- et.prototype.get = function(e) {
1212
+ Ke.prototype.get = function(e) {
1177
1213
  return this.cache[e];
1178
1214
  };
1179
- et.prototype.set = function(e, t) {
1215
+ Ke.prototype.set = function(e, t) {
1180
1216
  this.cache[e] = t;
1181
1217
  };
1182
- var Tn = {
1218
+ var Hn = {
1183
1219
  create: function() {
1184
- return new et();
1220
+ return new Ke();
1185
1221
  }
1186
1222
  }, Pe = {
1187
- variadic: _n,
1188
- monadic: En
1189
- }, m;
1223
+ variadic: En,
1224
+ monadic: xn
1225
+ }, d;
1190
1226
  (function(e) {
1191
1227
  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";
1192
- })(m || (m = {}));
1228
+ })(d || (d = {}));
1193
1229
  var _;
1194
1230
  (function(e) {
1195
1231
  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";
@@ -1198,43 +1234,43 @@ var Z;
1198
1234
  (function(e) {
1199
1235
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1200
1236
  })(Z || (Z = {}));
1201
- function gt(e) {
1237
+ function yt(e) {
1202
1238
  return e.type === _.literal;
1203
1239
  }
1204
- function Hn(e) {
1240
+ function Sn(e) {
1205
1241
  return e.type === _.argument;
1206
1242
  }
1207
- function Wt(e) {
1243
+ function Xt(e) {
1208
1244
  return e.type === _.number;
1209
1245
  }
1210
- function zt(e) {
1246
+ function Wt(e) {
1211
1247
  return e.type === _.date;
1212
1248
  }
1213
- function Zt(e) {
1249
+ function zt(e) {
1214
1250
  return e.type === _.time;
1215
1251
  }
1216
- function qt(e) {
1252
+ function Zt(e) {
1217
1253
  return e.type === _.select;
1218
1254
  }
1219
- function Qt(e) {
1255
+ function qt(e) {
1220
1256
  return e.type === _.plural;
1221
1257
  }
1222
- function Sn(e) {
1258
+ function wn(e) {
1223
1259
  return e.type === _.pound;
1224
1260
  }
1225
- function Jt(e) {
1261
+ function Qt(e) {
1226
1262
  return e.type === _.tag;
1227
1263
  }
1228
- function Yt(e) {
1264
+ function Jt(e) {
1229
1265
  return !!(e && typeof e == "object" && e.type === Z.number);
1230
1266
  }
1231
1267
  function je(e) {
1232
1268
  return !!(e && typeof e == "object" && e.type === Z.dateTime);
1233
1269
  }
1234
- var Kt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, wn = /(?:[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;
1235
- function Bn(e) {
1270
+ var Yt = /[ \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;
1271
+ function An(e) {
1236
1272
  var t = {};
1237
- return e.replace(wn, function(r) {
1273
+ return e.replace(Bn, function(r) {
1238
1274
  var n = r.length;
1239
1275
  switch (r[0]) {
1240
1276
  case "G":
@@ -1323,11 +1359,11 @@ function Bn(e) {
1323
1359
  return "";
1324
1360
  }), t;
1325
1361
  }
1326
- var An = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1327
- function Pn(e) {
1362
+ var Pn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1363
+ function On(e) {
1328
1364
  if (e.length === 0)
1329
1365
  throw new Error("Number skeleton cannot be empty");
1330
- for (var t = e.split(An).filter(function(f) {
1366
+ for (var t = e.split(Pn).filter(function(f) {
1331
1367
  return f.length > 0;
1332
1368
  }), r = [], n = 0, i = t; n < i.length; n++) {
1333
1369
  var o = i[n], s = o.split("/");
@@ -1342,17 +1378,17 @@ function Pn(e) {
1342
1378
  }
1343
1379
  return r;
1344
1380
  }
1345
- function On(e) {
1381
+ function In(e) {
1346
1382
  return e.replace(/^(.*?)-/, "");
1347
1383
  }
1348
- var vt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, er = /^(@+)?(\+|#+)?[rs]?$/g, In = /(\*)(0+)|(#+)(0+)|(0+)/g, tr = /^(0+)$/;
1349
- function _t(e) {
1384
+ var gt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Kt = /^(@+)?(\+|#+)?[rs]?$/g, Nn = /(\*)(0+)|(#+)(0+)|(0+)/g, er = /^(0+)$/;
1385
+ function vt(e) {
1350
1386
  var t = {};
1351
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(er, function(r, n, i) {
1387
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Kt, function(r, n, i) {
1352
1388
  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)), "";
1353
1389
  }), t;
1354
1390
  }
1355
- function rr(e) {
1391
+ function tr(e) {
1356
1392
  switch (e) {
1357
1393
  case "sign-auto":
1358
1394
  return {
@@ -1392,7 +1428,7 @@ function rr(e) {
1392
1428
  };
1393
1429
  }
1394
1430
  }
1395
- function Nn(e) {
1431
+ function Ln(e) {
1396
1432
  var t;
1397
1433
  if (e[0] === "E" && e[1] === "E" ? (t = {
1398
1434
  notation: "engineering"
@@ -1400,17 +1436,17 @@ function Nn(e) {
1400
1436
  notation: "scientific"
1401
1437
  }, e = e.slice(1)), t) {
1402
1438
  var r = e.slice(0, 2);
1403
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !tr.test(e))
1439
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !er.test(e))
1404
1440
  throw new Error("Malformed concise eng/scientific notation");
1405
1441
  t.minimumIntegerDigits = e.length;
1406
1442
  }
1407
1443
  return t;
1408
1444
  }
1409
- function Et(e) {
1410
- var t = {}, r = rr(e);
1445
+ function _t(e) {
1446
+ var t = {}, r = tr(e);
1411
1447
  return r || t;
1412
1448
  }
1413
- function Ln(e) {
1449
+ function Cn(e) {
1414
1450
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1415
1451
  var i = n[r];
1416
1452
  switch (i.stem) {
@@ -1434,7 +1470,7 @@ function Ln(e) {
1434
1470
  continue;
1435
1471
  case "measure-unit":
1436
1472
  case "unit":
1437
- t.style = "unit", t.unit = On(i.options[0]);
1473
+ t.style = "unit", t.unit = In(i.options[0]);
1438
1474
  continue;
1439
1475
  case "compact-short":
1440
1476
  case "K":
@@ -1446,12 +1482,12 @@ function Ln(e) {
1446
1482
  continue;
1447
1483
  case "scientific":
1448
1484
  t = y(y(y({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1449
- return y(y({}, h), Et(u));
1485
+ return y(y({}, h), _t(u));
1450
1486
  }, {}));
1451
1487
  continue;
1452
1488
  case "engineering":
1453
1489
  t = y(y(y({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1454
- return y(y({}, h), Et(u));
1490
+ return y(y({}, h), _t(u));
1455
1491
  }, {}));
1456
1492
  continue;
1457
1493
  case "notation-simple":
@@ -1496,7 +1532,7 @@ function Ln(e) {
1496
1532
  case "integer-width":
1497
1533
  if (i.options.length > 1)
1498
1534
  throw new RangeError("integer-width stems only accept a single optional option");
1499
- i.options[0].replace(In, function(h, u, l, c, f, p) {
1535
+ i.options[0].replace(Nn, function(h, u, l, c, f, p) {
1500
1536
  if (u)
1501
1537
  t.minimumIntegerDigits = l.length;
1502
1538
  else {
@@ -1509,27 +1545,27 @@ function Ln(e) {
1509
1545
  });
1510
1546
  continue;
1511
1547
  }
1512
- if (tr.test(i.stem)) {
1548
+ if (er.test(i.stem)) {
1513
1549
  t.minimumIntegerDigits = i.stem.length;
1514
1550
  continue;
1515
1551
  }
1516
- if (vt.test(i.stem)) {
1552
+ if (gt.test(i.stem)) {
1517
1553
  if (i.options.length > 1)
1518
1554
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1519
- i.stem.replace(vt, function(h, u, l, c, f, p) {
1555
+ i.stem.replace(gt, function(h, u, l, c, f, p) {
1520
1556
  return l === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1521
1557
  });
1522
1558
  var o = i.options[0];
1523
- o === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = y(y({}, t), _t(o)));
1559
+ o === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = y(y({}, t), vt(o)));
1524
1560
  continue;
1525
1561
  }
1526
- if (er.test(i.stem)) {
1527
- t = y(y({}, t), _t(i.stem));
1562
+ if (Kt.test(i.stem)) {
1563
+ t = y(y({}, t), vt(i.stem));
1528
1564
  continue;
1529
1565
  }
1530
- var s = rr(i.stem);
1566
+ var s = tr(i.stem);
1531
1567
  s && (t = y(y({}, t), s));
1532
- var a = Nn(i.stem);
1568
+ var a = Ln(i.stem);
1533
1569
  a && (t = y(y({}, t), a));
1534
1570
  }
1535
1571
  return t;
@@ -2949,22 +2985,23 @@ var fe = {
2949
2985
  "h"
2950
2986
  ]
2951
2987
  };
2952
- function Cn(e, t) {
2988
+ function Mn(e, t) {
2953
2989
  for (var r = "", n = 0; n < e.length; n++) {
2954
2990
  var i = e.charAt(n);
2955
2991
  if (i === "j") {
2956
2992
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2957
2993
  o++, n++;
2958
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Mn(t);
2994
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = $n(t);
2959
2995
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2960
2996
  r += h;
2961
2997
  for (; s-- > 0; )
2962
2998
  r = u + r;
2963
- } else i === "J" ? r += "H" : r += i;
2999
+ } else
3000
+ i === "J" ? r += "H" : r += i;
2964
3001
  }
2965
3002
  return r;
2966
3003
  }
2967
- function Mn(e) {
3004
+ function $n(e) {
2968
3005
  var t = e.hourCycle;
2969
3006
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2970
3007
  e.hourCycles && // @ts-ignore
@@ -2986,20 +3023,20 @@ function Mn(e) {
2986
3023
  var i = fe[n || ""] || fe[r || ""] || fe["".concat(r, "-001")] || fe["001"];
2987
3024
  return i[0];
2988
3025
  }
2989
- var Oe, $n = new RegExp("^".concat(Kt.source, "*")), Rn = new RegExp("".concat(Kt.source, "*$"));
3026
+ var Oe, Rn = new RegExp("^".concat(Yt.source, "*")), Un = new RegExp("".concat(Yt.source, "*$"));
2990
3027
  function b(e, t) {
2991
3028
  return { start: e, end: t };
2992
3029
  }
2993
- var Un = !!String.prototype.startsWith && "_a".startsWith("a", 1), Dn = !!String.fromCodePoint, Gn = !!Object.fromEntries, Fn = !!String.prototype.codePointAt, jn = !!String.prototype.trimStart, kn = !!String.prototype.trimEnd, Vn = !!Number.isSafeInteger, Xn = Vn ? Number.isSafeInteger : function(e) {
3030
+ var Dn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Gn = !!String.fromCodePoint, Fn = !!Object.fromEntries, jn = !!String.prototype.codePointAt, kn = !!String.prototype.trimStart, Vn = !!String.prototype.trimEnd, Xn = !!Number.isSafeInteger, Wn = Xn ? Number.isSafeInteger : function(e) {
2994
3031
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2995
3032
  }, ke = !0;
2996
3033
  try {
2997
- var Wn = ir("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2998
- ke = ((Oe = Wn.exec("a")) === null || Oe === void 0 ? void 0 : Oe[0]) === "a";
3034
+ var zn = nr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3035
+ ke = ((Oe = zn.exec("a")) === null || Oe === void 0 ? void 0 : Oe[0]) === "a";
2999
3036
  } catch (e) {
3000
3037
  ke = !1;
3001
3038
  }
3002
- var xt = Un ? (
3039
+ var Et = Dn ? (
3003
3040
  // Native
3004
3041
  function(t, r, n) {
3005
3042
  return t.startsWith(r, n);
@@ -3009,7 +3046,7 @@ var xt = Un ? (
3009
3046
  function(t, r, n) {
3010
3047
  return t.slice(n, n + r.length) === r;
3011
3048
  }
3012
- ), Ve = Dn ? String.fromCodePoint : (
3049
+ ), Ve = Gn ? String.fromCodePoint : (
3013
3050
  // IE11
3014
3051
  function() {
3015
3052
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3021,9 +3058,9 @@ var xt = Un ? (
3021
3058
  }
3022
3059
  return n;
3023
3060
  }
3024
- ), Tt = (
3061
+ ), xt = (
3025
3062
  // native
3026
- Gn ? Object.fromEntries : (
3063
+ Fn ? Object.fromEntries : (
3027
3064
  // Ponyfill
3028
3065
  function(t) {
3029
3066
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3033,7 +3070,7 @@ var xt = Un ? (
3033
3070
  return r;
3034
3071
  }
3035
3072
  )
3036
- ), nr = Fn ? (
3073
+ ), rr = jn ? (
3037
3074
  // Native
3038
3075
  function(t, r) {
3039
3076
  return t.codePointAt(r);
@@ -3047,7 +3084,7 @@ var xt = Un ? (
3047
3084
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3048
3085
  }
3049
3086
  }
3050
- ), zn = jn ? (
3087
+ ), Zn = kn ? (
3051
3088
  // Native
3052
3089
  function(t) {
3053
3090
  return t.trimStart();
@@ -3055,9 +3092,9 @@ var xt = Un ? (
3055
3092
  ) : (
3056
3093
  // Ponyfill
3057
3094
  function(t) {
3058
- return t.replace($n, "");
3095
+ return t.replace(Rn, "");
3059
3096
  }
3060
- ), Zn = kn ? (
3097
+ ), qn = Vn ? (
3061
3098
  // Native
3062
3099
  function(t) {
3063
3100
  return t.trimEnd();
@@ -3065,32 +3102,32 @@ var xt = Un ? (
3065
3102
  ) : (
3066
3103
  // Ponyfill
3067
3104
  function(t) {
3068
- return t.replace(Rn, "");
3105
+ return t.replace(Un, "");
3069
3106
  }
3070
3107
  );
3071
- function ir(e, t) {
3108
+ function nr(e, t) {
3072
3109
  return new RegExp(e, t);
3073
3110
  }
3074
3111
  var Xe;
3075
3112
  if (ke) {
3076
- var Ht = ir("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3113
+ var Tt = nr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3077
3114
  Xe = function(t, r) {
3078
3115
  var n;
3079
- Ht.lastIndex = r;
3080
- var i = Ht.exec(t);
3116
+ Tt.lastIndex = r;
3117
+ var i = Tt.exec(t);
3081
3118
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3082
3119
  };
3083
3120
  } else
3084
3121
  Xe = function(t, r) {
3085
3122
  for (var n = []; ; ) {
3086
- var i = nr(t, r);
3087
- if (i === void 0 || or(i) || Yn(i))
3123
+ var i = rr(t, r);
3124
+ if (i === void 0 || ir(i) || Kn(i))
3088
3125
  break;
3089
3126
  n.push(i), r += i >= 65536 ? 2 : 1;
3090
3127
  }
3091
3128
  return Ve.apply(void 0, n);
3092
3129
  };
3093
- var qn = (
3130
+ var Qn = (
3094
3131
  /** @class */
3095
3132
  function() {
3096
3133
  function e(t, r) {
@@ -3120,7 +3157,7 @@ var qn = (
3120
3157
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3121
3158
  if (n)
3122
3159
  break;
3123
- return this.error(m.UNMATCHED_CLOSING_TAG, b(this.clonePosition(), this.clonePosition()));
3160
+ return this.error(d.UNMATCHED_CLOSING_TAG, b(this.clonePosition(), this.clonePosition()));
3124
3161
  } else if (o === 60 && !this.ignoreTag && We(this.peek() || 0)) {
3125
3162
  var s = this.parseTag(t, r);
3126
3163
  if (s.err)
@@ -3155,9 +3192,9 @@ var qn = (
3155
3192
  var s = o.val, a = this.clonePosition();
3156
3193
  if (this.bumpIf("</")) {
3157
3194
  if (this.isEOF() || !We(this.char()))
3158
- return this.error(m.INVALID_TAG, b(a, this.clonePosition()));
3195
+ return this.error(d.INVALID_TAG, b(a, this.clonePosition()));
3159
3196
  var h = this.clonePosition(), u = this.parseTagName();
3160
- return i !== u ? this.error(m.UNMATCHED_CLOSING_TAG, b(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3197
+ return i !== u ? this.error(d.UNMATCHED_CLOSING_TAG, b(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3161
3198
  val: {
3162
3199
  type: _.tag,
3163
3200
  value: i,
@@ -3165,14 +3202,14 @@ var qn = (
3165
3202
  location: b(n, this.clonePosition())
3166
3203
  },
3167
3204
  err: null
3168
- } : this.error(m.INVALID_TAG, b(a, this.clonePosition())));
3205
+ } : this.error(d.INVALID_TAG, b(a, this.clonePosition())));
3169
3206
  } else
3170
- return this.error(m.UNCLOSED_TAG, b(n, this.clonePosition()));
3207
+ return this.error(d.UNCLOSED_TAG, b(n, this.clonePosition()));
3171
3208
  } else
3172
- return this.error(m.INVALID_TAG, b(n, this.clonePosition()));
3209
+ return this.error(d.INVALID_TAG, b(n, this.clonePosition()));
3173
3210
  }, e.prototype.parseTagName = function() {
3174
3211
  var t = this.offset();
3175
- for (this.bump(); !this.isEOF() && Jn(this.char()); )
3212
+ for (this.bump(); !this.isEOF() && Yn(this.char()); )
3176
3213
  this.bump();
3177
3214
  return this.message.slice(t, this.offset());
3178
3215
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3201,7 +3238,7 @@ var qn = (
3201
3238
  };
3202
3239
  }, e.prototype.tryParseLeftAngleBracket = function() {
3203
3240
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3204
- !Qn(this.peek() || 0)) ? (this.bump(), "<") : null;
3241
+ !Jn(this.peek() || 0)) ? (this.bump(), "<") : null;
3205
3242
  }, e.prototype.tryParseQuote = function(t) {
3206
3243
  if (this.isEOF() || this.char() !== 39)
3207
3244
  return null;
@@ -3244,14 +3281,14 @@ var qn = (
3244
3281
  }, e.prototype.parseArgument = function(t, r) {
3245
3282
  var n = this.clonePosition();
3246
3283
  if (this.bump(), this.bumpSpace(), this.isEOF())
3247
- return this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition()));
3284
+ return this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition()));
3248
3285
  if (this.char() === 125)
3249
- return this.bump(), this.error(m.EMPTY_ARGUMENT, b(n, this.clonePosition()));
3286
+ return this.bump(), this.error(d.EMPTY_ARGUMENT, b(n, this.clonePosition()));
3250
3287
  var i = this.parseIdentifierIfPossible().value;
3251
3288
  if (!i)
3252
- return this.error(m.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
3289
+ return this.error(d.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
3253
3290
  if (this.bumpSpace(), this.isEOF())
3254
- return this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition()));
3291
+ return this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition()));
3255
3292
  switch (this.char()) {
3256
3293
  case 125:
3257
3294
  return this.bump(), {
@@ -3264,9 +3301,9 @@ var qn = (
3264
3301
  err: null
3265
3302
  };
3266
3303
  case 44:
3267
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3304
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3268
3305
  default:
3269
- return this.error(m.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
3306
+ return this.error(d.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
3270
3307
  }
3271
3308
  }, e.prototype.parseIdentifierIfPossible = function() {
3272
3309
  var t = this.clonePosition(), r = this.offset(), n = Xe(this.message, r), i = r + n.length;
@@ -3277,7 +3314,7 @@ var qn = (
3277
3314
  var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, h = this.clonePosition();
3278
3315
  switch (a) {
3279
3316
  case "":
3280
- return this.error(m.EXPECT_ARGUMENT_TYPE, b(s, h));
3317
+ return this.error(d.EXPECT_ARGUMENT_TYPE, b(s, h));
3281
3318
  case "number":
3282
3319
  case "date":
3283
3320
  case "time": {
@@ -3288,37 +3325,37 @@ var qn = (
3288
3325
  var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3289
3326
  if (c.err)
3290
3327
  return c;
3291
- var f = Zn(c.val);
3328
+ var f = qn(c.val);
3292
3329
  if (f.length === 0)
3293
- return this.error(m.EXPECT_ARGUMENT_STYLE, b(this.clonePosition(), this.clonePosition()));
3330
+ return this.error(d.EXPECT_ARGUMENT_STYLE, b(this.clonePosition(), this.clonePosition()));
3294
3331
  var p = b(l, this.clonePosition());
3295
3332
  u = { style: f, styleLocation: p };
3296
3333
  }
3297
3334
  var v = this.tryParseArgumentClose(i);
3298
3335
  if (v.err)
3299
3336
  return v;
3300
- var d = b(i, this.clonePosition());
3301
- if (u && xt(u == null ? void 0 : u.style, "::", 0)) {
3302
- var T = zn(u.style.slice(2));
3337
+ var m = b(i, this.clonePosition());
3338
+ if (u && Et(u == null ? void 0 : u.style, "::", 0)) {
3339
+ var T = Zn(u.style.slice(2));
3303
3340
  if (a === "number") {
3304
3341
  var c = this.parseNumberSkeletonFromString(T, u.styleLocation);
3305
3342
  return c.err ? c : {
3306
- val: { type: _.number, value: n, location: d, style: c.val },
3343
+ val: { type: _.number, value: n, location: m, style: c.val },
3307
3344
  err: null
3308
3345
  };
3309
3346
  } else {
3310
3347
  if (T.length === 0)
3311
- return this.error(m.EXPECT_DATE_TIME_SKELETON, d);
3312
- var M = T;
3313
- this.locale && (M = Cn(T, this.locale));
3348
+ return this.error(d.EXPECT_DATE_TIME_SKELETON, m);
3349
+ var R = T;
3350
+ this.locale && (R = Mn(T, this.locale));
3314
3351
  var f = {
3315
3352
  type: Z.dateTime,
3316
- pattern: M,
3353
+ pattern: R,
3317
3354
  location: u.styleLocation,
3318
- parsedOptions: this.shouldParseSkeletons ? Bn(M) : {}
3319
- }, $ = a === "date" ? _.date : _.time;
3355
+ parsedOptions: this.shouldParseSkeletons ? An(R) : {}
3356
+ }, P = a === "date" ? _.date : _.time;
3320
3357
  return {
3321
- val: { type: $, value: n, location: d, style: f },
3358
+ val: { type: P, value: n, location: m, style: f },
3322
3359
  err: null
3323
3360
  };
3324
3361
  }
@@ -3327,7 +3364,7 @@ var qn = (
3327
3364
  val: {
3328
3365
  type: a === "number" ? _.number : a === "date" ? _.date : _.time,
3329
3366
  value: n,
3330
- location: d,
3367
+ location: m,
3331
3368
  style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
3332
3369
  },
3333
3370
  err: null
@@ -3338,14 +3375,14 @@ var qn = (
3338
3375
  case "select": {
3339
3376
  var S = this.clonePosition();
3340
3377
  if (this.bumpSpace(), !this.bumpIf(","))
3341
- return this.error(m.EXPECT_SELECT_ARGUMENT_OPTIONS, b(S, y({}, S)));
3378
+ return this.error(d.EXPECT_SELECT_ARGUMENT_OPTIONS, b(S, y({}, S)));
3342
3379
  this.bumpSpace();
3343
3380
  var U = this.parseIdentifierIfPossible(), O = 0;
3344
3381
  if (a !== "select" && U.value === "offset") {
3345
3382
  if (!this.bumpIf(":"))
3346
- return this.error(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b(this.clonePosition(), this.clonePosition()));
3383
+ return this.error(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b(this.clonePosition(), this.clonePosition()));
3347
3384
  this.bumpSpace();
3348
- var c = this.tryParseDecimalInteger(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, m.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3385
+ var c = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, d.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3349
3386
  if (c.err)
3350
3387
  return c;
3351
3388
  this.bumpSpace(), U = this.parseIdentifierIfPossible(), O = c.val;
@@ -3356,32 +3393,32 @@ var qn = (
3356
3393
  var v = this.tryParseArgumentClose(i);
3357
3394
  if (v.err)
3358
3395
  return v;
3359
- var he = b(i, this.clonePosition());
3396
+ var g = b(i, this.clonePosition());
3360
3397
  return a === "select" ? {
3361
3398
  val: {
3362
3399
  type: _.select,
3363
3400
  value: n,
3364
- options: Tt(G.val),
3365
- location: he
3401
+ options: xt(G.val),
3402
+ location: g
3366
3403
  },
3367
3404
  err: null
3368
3405
  } : {
3369
3406
  val: {
3370
3407
  type: _.plural,
3371
3408
  value: n,
3372
- options: Tt(G.val),
3409
+ options: xt(G.val),
3373
3410
  offset: O,
3374
3411
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3375
- location: he
3412
+ location: g
3376
3413
  },
3377
3414
  err: null
3378
3415
  };
3379
3416
  }
3380
3417
  default:
3381
- return this.error(m.INVALID_ARGUMENT_TYPE, b(s, h));
3418
+ return this.error(d.INVALID_ARGUMENT_TYPE, b(s, h));
3382
3419
  }
3383
3420
  }, e.prototype.tryParseArgumentClose = function(t) {
3384
- return this.isEOF() || this.char() !== 125 ? this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE, b(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3421
+ return this.isEOF() || this.char() !== 125 ? this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, b(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3385
3422
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3386
3423
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3387
3424
  var n = this.char();
@@ -3390,7 +3427,7 @@ var qn = (
3390
3427
  this.bump();
3391
3428
  var i = this.clonePosition();
3392
3429
  if (!this.bumpUntil("'"))
3393
- return this.error(m.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, b(i, this.clonePosition()));
3430
+ return this.error(d.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, b(i, this.clonePosition()));
3394
3431
  this.bump();
3395
3432
  break;
3396
3433
  }
@@ -3420,16 +3457,16 @@ var qn = (
3420
3457
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3421
3458
  var n = [];
3422
3459
  try {
3423
- n = Pn(t);
3460
+ n = On(t);
3424
3461
  } catch (i) {
3425
- return this.error(m.INVALID_NUMBER_SKELETON, r);
3462
+ return this.error(d.INVALID_NUMBER_SKELETON, r);
3426
3463
  }
3427
3464
  return {
3428
3465
  val: {
3429
3466
  type: Z.number,
3430
3467
  tokens: n,
3431
3468
  location: r,
3432
- parsedOptions: this.shouldParseSkeletons ? Ln(n) : {}
3469
+ parsedOptions: this.shouldParseSkeletons ? Cn(n) : {}
3433
3470
  },
3434
3471
  err: null
3435
3472
  };
@@ -3438,7 +3475,7 @@ var qn = (
3438
3475
  if (u.length === 0) {
3439
3476
  var c = this.clonePosition();
3440
3477
  if (r !== "select" && this.bumpIf("=")) {
3441
- var f = this.tryParseDecimalInteger(m.EXPECT_PLURAL_ARGUMENT_SELECTOR, m.INVALID_PLURAL_ARGUMENT_SELECTOR);
3478
+ var f = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_SELECTOR, d.INVALID_PLURAL_ARGUMENT_SELECTOR);
3442
3479
  if (f.err)
3443
3480
  return f;
3444
3481
  l = b(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
@@ -3446,17 +3483,17 @@ var qn = (
3446
3483
  break;
3447
3484
  }
3448
3485
  if (h.has(u))
3449
- return this.error(r === "select" ? m.DUPLICATE_SELECT_ARGUMENT_SELECTOR : m.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
3486
+ return this.error(r === "select" ? d.DUPLICATE_SELECT_ARGUMENT_SELECTOR : d.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
3450
3487
  u === "other" && (s = !0), this.bumpSpace();
3451
3488
  var p = this.clonePosition();
3452
3489
  if (!this.bumpIf("{"))
3453
- return this.error(r === "select" ? m.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : m.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, b(this.clonePosition(), this.clonePosition()));
3490
+ return this.error(r === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : d.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, b(this.clonePosition(), this.clonePosition()));
3454
3491
  var v = this.parseMessage(t + 1, r, n);
3455
3492
  if (v.err)
3456
3493
  return v;
3457
- var d = this.tryParseArgumentClose(p);
3458
- if (d.err)
3459
- return d;
3494
+ var m = this.tryParseArgumentClose(p);
3495
+ if (m.err)
3496
+ return m;
3460
3497
  a.push([
3461
3498
  u,
3462
3499
  {
@@ -3465,7 +3502,7 @@ var qn = (
3465
3502
  }
3466
3503
  ]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
3467
3504
  }
3468
- return a.length === 0 ? this.error(r === "select" ? m.EXPECT_SELECT_ARGUMENT_SELECTOR : m.EXPECT_PLURAL_ARGUMENT_SELECTOR, b(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(m.MISSING_OTHER_CLAUSE, b(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3505
+ return a.length === 0 ? this.error(r === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR : d.EXPECT_PLURAL_ARGUMENT_SELECTOR, b(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(d.MISSING_OTHER_CLAUSE, b(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3469
3506
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3470
3507
  var n = 1, i = this.clonePosition();
3471
3508
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -3477,7 +3514,7 @@ var qn = (
3477
3514
  break;
3478
3515
  }
3479
3516
  var h = b(i, this.clonePosition());
3480
- return o ? (s *= n, Xn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3517
+ return o ? (s *= n, Wn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3481
3518
  }, e.prototype.offset = function() {
3482
3519
  return this.position.offset;
3483
3520
  }, e.prototype.isEOF = function() {
@@ -3492,7 +3529,7 @@ var qn = (
3492
3529
  var t = this.position.offset;
3493
3530
  if (t >= this.message.length)
3494
3531
  throw Error("out of bound");
3495
- var r = nr(this.message, t);
3532
+ var r = rr(this.message, t);
3496
3533
  if (r === void 0)
3497
3534
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3498
3535
  return r;
@@ -3511,7 +3548,7 @@ var qn = (
3511
3548
  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);
3512
3549
  }
3513
3550
  }, e.prototype.bumpIf = function(t) {
3514
- if (xt(this.message, t, this.offset())) {
3551
+ if (Et(this.message, t, this.offset())) {
3515
3552
  for (var r = 0; r < t.length; r++)
3516
3553
  this.bump();
3517
3554
  return !0;
@@ -3533,7 +3570,7 @@ var qn = (
3533
3570
  break;
3534
3571
  }
3535
3572
  }, e.prototype.bumpSpace = function() {
3536
- for (; !this.isEOF() && or(this.char()); )
3573
+ for (; !this.isEOF() && ir(this.char()); )
3537
3574
  this.bump();
3538
3575
  }, e.prototype.peek = function() {
3539
3576
  if (this.isEOF())
@@ -3546,31 +3583,32 @@ var qn = (
3546
3583
  function We(e) {
3547
3584
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3548
3585
  }
3549
- function Qn(e) {
3586
+ function Jn(e) {
3550
3587
  return We(e) || e === 47;
3551
3588
  }
3552
- function Jn(e) {
3589
+ function Yn(e) {
3553
3590
  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;
3554
3591
  }
3555
- function or(e) {
3592
+ function ir(e) {
3556
3593
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3557
3594
  }
3558
- function Yn(e) {
3595
+ function Kn(e) {
3559
3596
  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;
3560
3597
  }
3561
3598
  function ze(e) {
3562
3599
  e.forEach(function(t) {
3563
- if (delete t.location, qt(t) || Qt(t))
3600
+ if (delete t.location, Zt(t) || qt(t))
3564
3601
  for (var r in t.options)
3565
3602
  delete t.options[r].location, ze(t.options[r].value);
3566
- else Wt(t) && Yt(t.style) || (zt(t) || Zt(t)) && je(t.style) ? delete t.style.location : Jt(t) && ze(t.children);
3603
+ else
3604
+ Xt(t) && Jt(t.style) || (Wt(t) || zt(t)) && je(t.style) ? delete t.style.location : Qt(t) && ze(t.children);
3567
3605
  });
3568
3606
  }
3569
- function Kn(e, t) {
3607
+ function ei(e, t) {
3570
3608
  t === void 0 && (t = {}), t = y({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3571
- var r = new qn(e, t).parse();
3609
+ var r = new Qn(e, t).parse();
3572
3610
  if (r.err) {
3573
- var n = SyntaxError(m[r.err.kind]);
3611
+ var n = SyntaxError(d[r.err.kind]);
3574
3612
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3575
3613
  }
3576
3614
  return t != null && t.captureLocation || ze(r.val), r.val;
@@ -3582,7 +3620,7 @@ var q;
3582
3620
  var Ee = (
3583
3621
  /** @class */
3584
3622
  function(e) {
3585
- C(t, e);
3623
+ L(t, e);
3586
3624
  function t(r, n, i) {
3587
3625
  var o = e.call(this, r) || this;
3588
3626
  return o.code = n, o.originalMessage = i, o;
@@ -3591,28 +3629,28 @@ var Ee = (
3591
3629
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3592
3630
  }, t;
3593
3631
  }(Error)
3594
- ), St = (
3632
+ ), Ht = (
3595
3633
  /** @class */
3596
3634
  function(e) {
3597
- C(t, e);
3635
+ L(t, e);
3598
3636
  function t(r, n, i, o) {
3599
3637
  return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), q.INVALID_VALUE, o) || this;
3600
3638
  }
3601
3639
  return t;
3602
3640
  }(Ee)
3603
- ), ei = (
3641
+ ), ti = (
3604
3642
  /** @class */
3605
3643
  function(e) {
3606
- C(t, e);
3644
+ L(t, e);
3607
3645
  function t(r, n, i) {
3608
3646
  return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), q.INVALID_VALUE, i) || this;
3609
3647
  }
3610
3648
  return t;
3611
3649
  }(Ee)
3612
- ), ti = (
3650
+ ), ri = (
3613
3651
  /** @class */
3614
3652
  function(e) {
3615
- C(t, e);
3653
+ L(t, e);
3616
3654
  function t(r, n) {
3617
3655
  return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), q.MISSING_VALUE, n) || this;
3618
3656
  }
@@ -3622,17 +3660,17 @@ var Ee = (
3622
3660
  (function(e) {
3623
3661
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3624
3662
  })(H || (H = {}));
3625
- function ri(e) {
3663
+ function ni(e) {
3626
3664
  return e.length < 2 ? e : e.reduce(function(t, r) {
3627
3665
  var n = t[t.length - 1];
3628
3666
  return !n || n.type !== H.literal || r.type !== H.literal ? t.push(r) : n.value += r.value, t;
3629
3667
  }, []);
3630
3668
  }
3631
- function ni(e) {
3669
+ function ii(e) {
3632
3670
  return typeof e == "function";
3633
3671
  }
3634
- function me(e, t, r, n, i, o, s) {
3635
- if (e.length === 1 && gt(e[0]))
3672
+ function de(e, t, r, n, i, o, s) {
3673
+ if (e.length === 1 && yt(e[0]))
3636
3674
  return [
3637
3675
  {
3638
3676
  type: H.literal,
@@ -3641,14 +3679,14 @@ function me(e, t, r, n, i, o, s) {
3641
3679
  ];
3642
3680
  for (var a = [], h = 0, u = e; h < u.length; h++) {
3643
3681
  var l = u[h];
3644
- if (gt(l)) {
3682
+ if (yt(l)) {
3645
3683
  a.push({
3646
3684
  type: H.literal,
3647
3685
  value: l.value
3648
3686
  });
3649
3687
  continue;
3650
3688
  }
3651
- if (Sn(l)) {
3689
+ if (wn(l)) {
3652
3690
  typeof o == "number" && a.push({
3653
3691
  type: H.literal,
3654
3692
  value: r.getNumberFormat(t).format(o)
@@ -3657,16 +3695,16 @@ function me(e, t, r, n, i, o, s) {
3657
3695
  }
3658
3696
  var c = l.value;
3659
3697
  if (!(i && c in i))
3660
- throw new ti(c, s);
3698
+ throw new ri(c, s);
3661
3699
  var f = i[c];
3662
- if (Hn(l)) {
3700
+ if (Sn(l)) {
3663
3701
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3664
3702
  type: typeof f == "string" ? H.literal : H.object,
3665
3703
  value: f
3666
3704
  });
3667
3705
  continue;
3668
3706
  }
3669
- if (zt(l)) {
3707
+ if (Wt(l)) {
3670
3708
  var p = typeof l.style == "string" ? n.date[l.style] : je(l.style) ? l.style.parsedOptions : void 0;
3671
3709
  a.push({
3672
3710
  type: H.literal,
@@ -3674,7 +3712,7 @@ function me(e, t, r, n, i, o, s) {
3674
3712
  });
3675
3713
  continue;
3676
3714
  }
3677
- if (Zt(l)) {
3715
+ if (zt(l)) {
3678
3716
  var p = typeof l.style == "string" ? n.time[l.style] : je(l.style) ? l.style.parsedOptions : n.time.medium;
3679
3717
  a.push({
3680
3718
  type: H.literal,
@@ -3682,36 +3720,36 @@ function me(e, t, r, n, i, o, s) {
3682
3720
  });
3683
3721
  continue;
3684
3722
  }
3685
- if (Wt(l)) {
3686
- var p = typeof l.style == "string" ? n.number[l.style] : Yt(l.style) ? l.style.parsedOptions : void 0;
3723
+ if (Xt(l)) {
3724
+ var p = typeof l.style == "string" ? n.number[l.style] : Jt(l.style) ? l.style.parsedOptions : void 0;
3687
3725
  p && p.scale && (f = f * (p.scale || 1)), a.push({
3688
3726
  type: H.literal,
3689
3727
  value: r.getNumberFormat(t, p).format(f)
3690
3728
  });
3691
3729
  continue;
3692
3730
  }
3693
- if (Jt(l)) {
3694
- var v = l.children, d = l.value, T = i[d];
3695
- if (!ni(T))
3696
- throw new ei(d, "function", s);
3697
- var M = me(v, t, r, n, i, o), $ = T(M.map(function(O) {
3731
+ if (Qt(l)) {
3732
+ var v = l.children, m = l.value, T = i[m];
3733
+ if (!ii(T))
3734
+ throw new ti(m, "function", s);
3735
+ var R = de(v, t, r, n, i, o), P = T(R.map(function(O) {
3698
3736
  return O.value;
3699
3737
  }));
3700
- Array.isArray($) || ($ = [$]), a.push.apply(a, $.map(function(O) {
3738
+ Array.isArray(P) || (P = [P]), a.push.apply(a, P.map(function(O) {
3701
3739
  return {
3702
3740
  type: typeof O == "string" ? H.literal : H.object,
3703
3741
  value: O
3704
3742
  };
3705
3743
  }));
3706
3744
  }
3707
- if (qt(l)) {
3745
+ if (Zt(l)) {
3708
3746
  var S = l.options[f] || l.options.other;
3709
3747
  if (!S)
3710
- throw new St(l.value, f, Object.keys(l.options), s);
3711
- a.push.apply(a, me(S.value, t, r, n, i));
3748
+ throw new Ht(l.value, f, Object.keys(l.options), s);
3749
+ a.push.apply(a, de(S.value, t, r, n, i));
3712
3750
  continue;
3713
3751
  }
3714
- if (Qt(l)) {
3752
+ if (qt(l)) {
3715
3753
  var S = l.options["=".concat(f)];
3716
3754
  if (!S) {
3717
3755
  if (!Intl.PluralRules)
@@ -3722,21 +3760,21 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
3722
3760
  S = l.options[U] || l.options.other;
3723
3761
  }
3724
3762
  if (!S)
3725
- throw new St(l.value, f, Object.keys(l.options), s);
3726
- a.push.apply(a, me(S.value, t, r, n, i, f - (l.offset || 0)));
3763
+ throw new Ht(l.value, f, Object.keys(l.options), s);
3764
+ a.push.apply(a, de(S.value, t, r, n, i, f - (l.offset || 0)));
3727
3765
  continue;
3728
3766
  }
3729
3767
  }
3730
- return ri(a);
3768
+ return ni(a);
3731
3769
  }
3732
- function ii(e, t) {
3770
+ function oi(e, t) {
3733
3771
  return t ? y(y(y({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3734
3772
  return r[n] = y(y({}, e[n]), t[n] || {}), r;
3735
3773
  }, {})) : e;
3736
3774
  }
3737
- function oi(e, t) {
3775
+ function si(e, t) {
3738
3776
  return t ? Object.keys(e).reduce(function(r, n) {
3739
- return r[n] = ii(e[n], t[n]), r;
3777
+ return r[n] = oi(e[n], t[n]), r;
3740
3778
  }, y({}, e)) : e;
3741
3779
  }
3742
3780
  function Ie(e) {
@@ -3753,7 +3791,7 @@ function Ie(e) {
3753
3791
  }
3754
3792
  };
3755
3793
  }
3756
- function si(e) {
3794
+ function ai(e) {
3757
3795
  return e === void 0 && (e = {
3758
3796
  number: {},
3759
3797
  dateTime: {},
@@ -3785,7 +3823,7 @@ function si(e) {
3785
3823
  })
3786
3824
  };
3787
3825
  }
3788
- var ai = (
3826
+ var ui = (
3789
3827
  /** @class */
3790
3828
  function() {
3791
3829
  function e(t, r, n, i) {
@@ -3804,7 +3842,7 @@ var ai = (
3804
3842
  }, []);
3805
3843
  return l.length <= 1 ? l[0] || "" : l;
3806
3844
  }, this.formatToParts = function(h) {
3807
- return me(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
3845
+ return de(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
3808
3846
  }, this.resolvedOptions = function() {
3809
3847
  var h;
3810
3848
  return {
@@ -3817,13 +3855,13 @@ var ai = (
3817
3855
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3818
3856
  var s = i || {};
3819
3857
  s.formatters;
3820
- var a = Dr(s, ["formatters"]);
3858
+ var a = Gr(s, ["formatters"]);
3821
3859
  this.ast = e.__parse(t, y(y({}, a), { locale: this.resolvedLocale }));
3822
3860
  } else
3823
3861
  this.ast = t;
3824
3862
  if (!Array.isArray(this.ast))
3825
3863
  throw new TypeError("A message must be provided as a String or AST.");
3826
- this.formats = oi(e.formats, n), this.formatters = i && i.formatters || si(this.formatterCache);
3864
+ this.formats = si(e.formats, n), this.formatters = i && i.formatters || ai(this.formatterCache);
3827
3865
  }
3828
3866
  return Object.defineProperty(e, "defaultLocale", {
3829
3867
  get: function() {
@@ -3836,7 +3874,7 @@ var ai = (
3836
3874
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3837
3875
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3838
3876
  }
3839
- }, e.__parse = Kn, e.formats = {
3877
+ }, e.__parse = ei, e.formats = {
3840
3878
  number: {
3841
3879
  integer: {
3842
3880
  maximumFractionDigits: 0
@@ -3897,7 +3935,7 @@ var ai = (
3897
3935
  }, e;
3898
3936
  }()
3899
3937
  );
3900
- function ui(e, t) {
3938
+ function hi(e, t) {
3901
3939
  if (t == null)
3902
3940
  return;
3903
3941
  if (t in e)
@@ -3918,60 +3956,60 @@ function ui(e, t) {
3918
3956
  n = void 0;
3919
3957
  return n;
3920
3958
  }
3921
- const R = {}, hi = (e, t, r) => r && (t in R || (R[t] = {}), e in R[t] || (R[t][e] = r), r), sr = (e, t) => {
3959
+ const $ = {}, li = (e, t, r) => r && (t in $ || ($[t] = {}), e in $[t] || ($[t][e] = r), r), or = (e, t) => {
3922
3960
  if (t == null)
3923
3961
  return;
3924
- if (t in R && e in R[t])
3925
- return R[t][e];
3962
+ if (t in $ && e in $[t])
3963
+ return $[t][e];
3926
3964
  const r = xe(t);
3927
3965
  for (let n = 0; n < r.length; n++) {
3928
- const i = r[n], o = ci(i, e);
3966
+ const i = r[n], o = fi(i, e);
3929
3967
  if (o)
3930
- return hi(e, t, o);
3968
+ return li(e, t, o);
3931
3969
  }
3932
3970
  };
3933
- let tt;
3934
- const ue = _e({});
3935
- function li(e) {
3936
- return tt[e] || null;
3971
+ let et;
3972
+ const he = _e({});
3973
+ function ci(e) {
3974
+ return et[e] || null;
3937
3975
  }
3938
- function ar(e) {
3939
- return e in tt;
3976
+ function sr(e) {
3977
+ return e in et;
3940
3978
  }
3941
- function ci(e, t) {
3942
- if (!ar(e))
3979
+ function fi(e, t) {
3980
+ if (!sr(e))
3943
3981
  return null;
3944
- const r = li(e);
3945
- return ui(r, t);
3982
+ const r = ci(e);
3983
+ return hi(r, t);
3946
3984
  }
3947
- function fi(e) {
3985
+ function pi(e) {
3948
3986
  if (e == null)
3949
3987
  return;
3950
3988
  const t = xe(e);
3951
3989
  for (let r = 0; r < t.length; r++) {
3952
3990
  const n = t[r];
3953
- if (ar(n))
3991
+ if (sr(n))
3954
3992
  return n;
3955
3993
  }
3956
3994
  }
3957
- function ur(e, ...t) {
3958
- delete R[e], ue.update((r) => (r[e] = yn.all([r[e] || {}, ...t]), r));
3995
+ function ar(e, ...t) {
3996
+ delete $[e], he.update((r) => (r[e] = gn.all([r[e] || {}, ...t]), r));
3959
3997
  }
3960
3998
  Y(
3961
- [ue],
3999
+ [he],
3962
4000
  ([e]) => Object.keys(e)
3963
4001
  );
3964
- ue.subscribe((e) => tt = e);
4002
+ he.subscribe((e) => et = e);
3965
4003
  const be = {};
3966
- function pi(e, t) {
4004
+ function mi(e, t) {
3967
4005
  be[e].delete(t), be[e].size === 0 && delete be[e];
3968
4006
  }
3969
- function hr(e) {
4007
+ function ur(e) {
3970
4008
  return be[e];
3971
4009
  }
3972
4010
  function di(e) {
3973
4011
  return xe(e).map((t) => {
3974
- const r = hr(t);
4012
+ const r = ur(t);
3975
4013
  return [t, r ? [...r] : []];
3976
4014
  }).filter(([, t]) => t.length > 0);
3977
4015
  }
@@ -3979,31 +4017,31 @@ function Ze(e) {
3979
4017
  return e == null ? !1 : xe(e).some(
3980
4018
  (t) => {
3981
4019
  var r;
3982
- return (r = hr(t)) == null ? void 0 : r.size;
4020
+ return (r = ur(t)) == null ? void 0 : r.size;
3983
4021
  }
3984
4022
  );
3985
4023
  }
3986
- function mi(e, t) {
4024
+ function bi(e, t) {
3987
4025
  return Promise.all(
3988
- t.map((n) => (pi(e, n), n().then((i) => i.default || i)))
3989
- ).then((n) => ur(e, ...n));
4026
+ t.map((n) => (mi(e, n), n().then((i) => i.default || i)))
4027
+ ).then((n) => ar(e, ...n));
3990
4028
  }
3991
4029
  const te = {};
3992
- function lr(e) {
4030
+ function hr(e) {
3993
4031
  if (!Ze(e))
3994
4032
  return e in te ? te[e] : Promise.resolve();
3995
4033
  const t = di(e);
3996
4034
  return te[e] = Promise.all(
3997
4035
  t.map(
3998
- ([r, n]) => mi(r, n)
4036
+ ([r, n]) => bi(r, n)
3999
4037
  )
4000
4038
  ).then(() => {
4001
4039
  if (Ze(e))
4002
- return lr(e);
4040
+ return hr(e);
4003
4041
  delete te[e];
4004
4042
  }), te[e];
4005
4043
  }
4006
- const bi = {
4044
+ const yi = {
4007
4045
  number: {
4008
4046
  scientific: { notation: "scientific" },
4009
4047
  engineering: { notation: "engineering" },
@@ -4032,34 +4070,34 @@ const bi = {
4032
4070
  timeZoneName: "short"
4033
4071
  }
4034
4072
  }
4035
- }, yi = {
4073
+ }, gi = {
4036
4074
  fallbackLocale: null,
4037
4075
  loadingDelay: 200,
4038
- formats: bi,
4076
+ formats: yi,
4039
4077
  warnOnMissingMessages: !0,
4040
4078
  handleMissingMessage: void 0,
4041
4079
  ignoreTag: !0
4042
- }, gi = yi;
4080
+ }, vi = gi;
4043
4081
  function Q() {
4044
- return gi;
4082
+ return vi;
4045
4083
  }
4046
4084
  const Ne = _e(!1);
4047
- var vi = Object.defineProperty, _i = Object.defineProperties, Ei = Object.getOwnPropertyDescriptors, wt = Object.getOwnPropertySymbols, xi = Object.prototype.hasOwnProperty, Ti = Object.prototype.propertyIsEnumerable, Bt = (e, t, r) => t in e ? vi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Hi = (e, t) => {
4085
+ var _i = Object.defineProperty, Ei = Object.defineProperties, xi = Object.getOwnPropertyDescriptors, St = Object.getOwnPropertySymbols, Ti = Object.prototype.hasOwnProperty, Hi = Object.prototype.propertyIsEnumerable, wt = (e, t, r) => t in e ? _i(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Si = (e, t) => {
4048
4086
  for (var r in t || (t = {}))
4049
- xi.call(t, r) && Bt(e, r, t[r]);
4050
- if (wt)
4051
- for (var r of wt(t))
4052
- Ti.call(t, r) && Bt(e, r, t[r]);
4087
+ Ti.call(t, r) && wt(e, r, t[r]);
4088
+ if (St)
4089
+ for (var r of St(t))
4090
+ Hi.call(t, r) && wt(e, r, t[r]);
4053
4091
  return e;
4054
- }, Si = (e, t) => _i(e, Ei(t));
4092
+ }, wi = (e, t) => Ei(e, xi(t));
4055
4093
  let qe;
4056
4094
  const ye = _e(null);
4057
- function At(e) {
4095
+ function Bt(e) {
4058
4096
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4059
4097
  }
4060
4098
  function xe(e, t = Q().fallbackLocale) {
4061
- const r = At(e);
4062
- return t ? [.../* @__PURE__ */ new Set([...r, ...At(t)])] : r;
4099
+ const r = Bt(e);
4100
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Bt(t)])] : r;
4063
4101
  }
4064
4102
  function D() {
4065
4103
  return qe != null ? qe : void 0;
@@ -4067,22 +4105,22 @@ function D() {
4067
4105
  ye.subscribe((e) => {
4068
4106
  qe = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4069
4107
  });
4070
- const wi = (e) => {
4071
- if (e && fi(e) && Ze(e)) {
4108
+ const Bi = (e) => {
4109
+ if (e && pi(e) && Ze(e)) {
4072
4110
  const { loadingDelay: t } = Q();
4073
4111
  let r;
4074
4112
  return typeof window != "undefined" && D() != null && t ? r = window.setTimeout(
4075
4113
  () => Ne.set(!0),
4076
4114
  t
4077
- ) : Ne.set(!0), lr(e).then(() => {
4115
+ ) : Ne.set(!0), hr(e).then(() => {
4078
4116
  ye.set(e);
4079
4117
  }).finally(() => {
4080
4118
  clearTimeout(r), Ne.set(!1);
4081
4119
  });
4082
4120
  }
4083
4121
  return ye.set(e);
4084
- }, K = Si(Hi({}, ye), {
4085
- set: wi
4122
+ }, K = wi(Si({}, ye), {
4123
+ set: Bi
4086
4124
  }), Te = (e) => {
4087
4125
  const t = /* @__PURE__ */ Object.create(null);
4088
4126
  return (n) => {
@@ -4090,77 +4128,77 @@ const wi = (e) => {
4090
4128
  return i in t ? t[i] : t[i] = e(n);
4091
4129
  };
4092
4130
  };
4093
- var Bi = Object.defineProperty, ge = Object.getOwnPropertySymbols, cr = Object.prototype.hasOwnProperty, fr = Object.prototype.propertyIsEnumerable, Pt = (e, t, r) => t in e ? Bi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, rt = (e, t) => {
4131
+ var Ai = Object.defineProperty, ge = Object.getOwnPropertySymbols, lr = Object.prototype.hasOwnProperty, cr = Object.prototype.propertyIsEnumerable, At = (e, t, r) => t in e ? Ai(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, tt = (e, t) => {
4094
4132
  for (var r in t || (t = {}))
4095
- cr.call(t, r) && Pt(e, r, t[r]);
4133
+ lr.call(t, r) && At(e, r, t[r]);
4096
4134
  if (ge)
4097
4135
  for (var r of ge(t))
4098
- fr.call(t, r) && Pt(e, r, t[r]);
4136
+ cr.call(t, r) && At(e, r, t[r]);
4099
4137
  return e;
4100
4138
  }, ee = (e, t) => {
4101
4139
  var r = {};
4102
4140
  for (var n in e)
4103
- cr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4141
+ lr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4104
4142
  if (e != null && ge)
4105
4143
  for (var n of ge(e))
4106
- t.indexOf(n) < 0 && fr.call(e, n) && (r[n] = e[n]);
4144
+ t.indexOf(n) < 0 && cr.call(e, n) && (r[n] = e[n]);
4107
4145
  return r;
4108
4146
  };
4109
- const oe = (e, t) => {
4147
+ const se = (e, t) => {
4110
4148
  const { formats: r } = Q();
4111
4149
  if (e in r && t in r[e])
4112
4150
  return r[e][t];
4113
4151
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4114
- }, Ai = Te(
4152
+ }, Pi = Te(
4115
4153
  (e) => {
4116
4154
  var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4117
4155
  if (r == null)
4118
4156
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4119
- return n && (i = oe("number", n)), new Intl.NumberFormat(r, i);
4157
+ return n && (i = se("number", n)), new Intl.NumberFormat(r, i);
4120
4158
  }
4121
- ), Pi = Te(
4159
+ ), Oi = Te(
4122
4160
  (e) => {
4123
4161
  var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4124
4162
  if (r == null)
4125
4163
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4126
- return n ? i = oe("date", n) : Object.keys(i).length === 0 && (i = oe("date", "short")), new Intl.DateTimeFormat(r, i);
4164
+ return n ? i = se("date", n) : Object.keys(i).length === 0 && (i = se("date", "short")), new Intl.DateTimeFormat(r, i);
4127
4165
  }
4128
- ), Oi = Te(
4166
+ ), Ii = Te(
4129
4167
  (e) => {
4130
4168
  var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4131
4169
  if (r == null)
4132
4170
  throw new Error(
4133
4171
  '[svelte-i18n] A "locale" must be set to format time values'
4134
4172
  );
4135
- return n ? i = oe("time", n) : Object.keys(i).length === 0 && (i = oe("time", "short")), new Intl.DateTimeFormat(r, i);
4173
+ return n ? i = se("time", n) : Object.keys(i).length === 0 && (i = se("time", "short")), new Intl.DateTimeFormat(r, i);
4136
4174
  }
4137
- ), Ii = (e = {}) => {
4175
+ ), Ni = (e = {}) => {
4138
4176
  var t = e, {
4139
4177
  locale: r = D()
4140
4178
  } = t, n = ee(t, [
4141
4179
  "locale"
4142
4180
  ]);
4143
- return Ai(rt({ locale: r }, n));
4144
- }, Ni = (e = {}) => {
4181
+ return Pi(tt({ locale: r }, n));
4182
+ }, Li = (e = {}) => {
4145
4183
  var t = e, {
4146
4184
  locale: r = D()
4147
4185
  } = t, n = ee(t, [
4148
4186
  "locale"
4149
4187
  ]);
4150
- return Pi(rt({ locale: r }, n));
4151
- }, Li = (e = {}) => {
4188
+ return Oi(tt({ locale: r }, n));
4189
+ }, Ci = (e = {}) => {
4152
4190
  var t = e, {
4153
4191
  locale: r = D()
4154
4192
  } = t, n = ee(t, [
4155
4193
  "locale"
4156
4194
  ]);
4157
- return Oi(rt({ locale: r }, n));
4158
- }, Ci = Te(
4195
+ return Ii(tt({ locale: r }, n));
4196
+ }, Mi = Te(
4159
4197
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4160
- (e, t = D()) => new ai(e, t, Q().formats, {
4198
+ (e, t = D()) => new ui(e, t, Q().formats, {
4161
4199
  ignoreTag: Q().ignoreTag
4162
4200
  })
4163
- ), Mi = (e, t = {}) => {
4201
+ ), $i = (e, t = {}) => {
4164
4202
  var r, n, i, o;
4165
4203
  let s = t;
4166
4204
  typeof e == "object" && (s = e, e = s.id);
@@ -4173,7 +4211,7 @@ const oe = (e, t) => {
4173
4211
  throw new Error(
4174
4212
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4175
4213
  );
4176
- let l = sr(e, h);
4214
+ let l = or(e, h);
4177
4215
  if (!l)
4178
4216
  l = (o = (i = (n = (r = Q()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4179
4217
  else if (typeof l != "string")
@@ -4184,7 +4222,7 @@ const oe = (e, t) => {
4184
4222
  return l;
4185
4223
  let c = l;
4186
4224
  try {
4187
- c = Ci(l, h).format(a);
4225
+ c = Mi(l, h).format(a);
4188
4226
  } catch (f) {
4189
4227
  f instanceof Error && console.warn(
4190
4228
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4192,20 +4230,20 @@ const oe = (e, t) => {
4192
4230
  );
4193
4231
  }
4194
4232
  return c;
4195
- }, $i = (e, t) => Li(t).format(e), Ri = (e, t) => Ni(t).format(e), Ui = (e, t) => Ii(t).format(e), Di = (e, t = D()) => sr(e, t), Gi = Y([K, ue], () => Mi);
4196
- Y([K], () => $i);
4233
+ }, Ri = (e, t) => Ci(t).format(e), Ui = (e, t) => Li(t).format(e), Di = (e, t) => Ni(t).format(e), Gi = (e, t = D()) => or(e, t), Fi = Y([K, he], () => $i);
4197
4234
  Y([K], () => Ri);
4198
4235
  Y([K], () => Ui);
4199
- Y([K, ue], () => Di);
4200
- window.emWidgets = { topic: Kr };
4201
- const Fi = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4202
- function Ot(e, t) {
4203
- ur(e, t);
4236
+ Y([K], () => Di);
4237
+ Y([K, he], () => Gi);
4238
+ window.emWidgets = { topic: en };
4239
+ const ji = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4240
+ function Pt(e, t) {
4241
+ ar(e, t);
4204
4242
  }
4205
- function ji(e) {
4243
+ function ki(e) {
4206
4244
  K.set(e);
4207
4245
  }
4208
- const It = {
4246
+ const Ot = {
4209
4247
  en: {
4210
4248
  titleTransactionHistory: "Transaction History",
4211
4249
  loading: "Loading, please wait ..."
@@ -4247,49 +4285,72 @@ const It = {
4247
4285
  loading: "Loading, please wait ..."
4248
4286
  }
4249
4287
  };
4250
- function ki(e) {
4251
- _r(e, "svelte-1oqxq1j", ".TransactionHistoryWrapper{background-color:var(--emw--color-pale, var(--emw--color-gray-50, #F1F1F1));border-radius:var(--emw--border-radius-large, 20px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));padding:50px 50px 30px 50px;max-width:100%}.TransactionHistoryWrapper.TransactionHistoryWrapperMobile{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{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.TransactionHistoryTitle{font-size:var(--emw--font-size-x-large, 26px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:var(--emw--font-weigh-normal, 400)}.TransactionHistoryTitleMobile{font-size:var(--emw--size-standard, 16px)}.TransactionHistoryTitleNone{display:none}.TransactionHistoryIframeWrapper iframe{border:none;width:100%;height:85vh}");
4288
+ function Vi(e, t) {
4289
+ if (e) {
4290
+ const r = document.createElement("style");
4291
+ r.innerHTML = t, e.appendChild(r);
4292
+ }
4293
+ }
4294
+ function Xi(e, t) {
4295
+ const r = new URL(t);
4296
+ fetch(r.href).then((n) => n.text()).then((n) => {
4297
+ const i = document.createElement("style");
4298
+ i.innerHTML = n, e && e.appendChild(i);
4299
+ }).catch((n) => {
4300
+ console.error("There was an error while trying to load client styling from URL", n);
4301
+ });
4252
4302
  }
4253
- function Vi(e) {
4303
+ function Wi(e, t, r) {
4304
+ if (window.emMessageBus) {
4305
+ const n = document.createElement("style");
4306
+ window.emMessageBus.subscribe(t, (i) => {
4307
+ n.innerHTML = i, e && e.appendChild(n);
4308
+ });
4309
+ }
4310
+ }
4311
+ function zi(e) {
4312
+ vr(e, "svelte-1oqxq1j", ".TransactionHistoryWrapper{background-color:var(--emw--color-pale, var(--emw--color-gray-50, #F1F1F1));border-radius:var(--emw--border-radius-large, 20px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));padding:50px 50px 30px 50px;max-width:100%}.TransactionHistoryWrapper.TransactionHistoryWrapperMobile{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{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.TransactionHistoryTitle{font-size:var(--emw--font-size-x-large, 26px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:var(--emw--font-weigh-normal, 400)}.TransactionHistoryTitleMobile{font-size:var(--emw--size-standard, 16px)}.TransactionHistoryTitleNone{display:none}.TransactionHistoryIframeWrapper iframe{border:none;width:100%;height:85vh}");
4313
+ }
4314
+ function Zi(e) {
4254
4315
  let t, r, n, i, o, s, a, h, u, l, c = (
4255
4316
  /*$_*/
4256
4317
  e[3]("titleTransactionHistory") + ""
4257
4318
  ), f, p, v;
4258
4319
  return {
4259
4320
  c() {
4260
- t = L("div"), r = F("svg"), n = F("defs"), i = F("style"), o = ne(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), s = F("g"), a = F("g"), h = F("path"), u = Le(), l = L("h2"), f = ne(c), E(h, "class", "aaa"), E(h, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), E(h, "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(l, "class", "TransactionHistoryTitleMobile"), E(t, "class", "MenuReturnButton");
4321
+ t = N("div"), r = F("svg"), n = F("defs"), i = F("style"), o = ne(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), s = F("g"), a = F("g"), h = F("path"), u = Le(), l = N("h2"), f = ne(c), E(h, "class", "aaa"), E(h, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), E(h, "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(l, "class", "TransactionHistoryTitleMobile"), E(t, "class", "MenuReturnButton");
4261
4322
  },
4262
- m(d, T) {
4263
- ae(d, t, T), x(t, r), x(r, n), x(n, i), x(i, o), x(r, s), x(s, a), x(a, h), x(t, u), x(t, l), x(l, f), p || (v = Tr(
4323
+ m(m, T) {
4324
+ ue(m, t, T), x(t, r), x(r, n), x(n, i), x(i, o), x(r, s), x(s, a), x(a, h), x(t, u), x(t, l), x(l, f), p || (v = xr(
4264
4325
  t,
4265
4326
  "click",
4266
4327
  /*click_handler*/
4267
- e[13]
4328
+ e[14]
4268
4329
  ), p = !0);
4269
4330
  },
4270
- p(d, T) {
4331
+ p(m, T) {
4271
4332
  T & /*$_*/
4272
4333
  8 && c !== (c = /*$_*/
4273
- d[3]("titleTransactionHistory") + "") && Je(f, c);
4334
+ m[3]("titleTransactionHistory") + "") && Je(f, c);
4274
4335
  },
4275
- d(d) {
4276
- d && J(t), p = !1, v();
4336
+ d(m) {
4337
+ m && J(t), p = !1, v();
4277
4338
  }
4278
4339
  };
4279
4340
  }
4280
- function Xi(e) {
4341
+ function qi(e) {
4281
4342
  let t, r, n;
4282
4343
  return {
4283
4344
  c() {
4284
- t = L("div"), r = L("iframe"), ut(r.src, n = /*iframeUrl*/
4345
+ t = N("div"), r = N("iframe"), at(r.src, n = /*iframeUrl*/
4285
4346
  e[2]) || E(r, "src", n), E(r, "title", "Transaction History Iframe"), E(t, "class", "TransactionHistoryIframeWrapper");
4286
4347
  },
4287
4348
  m(i, o) {
4288
- ae(i, t, o), x(t, r);
4349
+ ue(i, t, o), x(t, r);
4289
4350
  },
4290
4351
  p(i, o) {
4291
4352
  o & /*iframeUrl*/
4292
- 4 && !ut(r.src, n = /*iframeUrl*/
4353
+ 4 && !at(r.src, n = /*iframeUrl*/
4293
4354
  i[2]) && E(r, "src", n);
4294
4355
  },
4295
4356
  d(i) {
@@ -4297,17 +4358,17 @@ function Xi(e) {
4297
4358
  }
4298
4359
  };
4299
4360
  }
4300
- function Wi(e) {
4361
+ function Qi(e) {
4301
4362
  let t, r = (
4302
4363
  /*$_*/
4303
4364
  e[3]("loading") + ""
4304
4365
  ), n;
4305
4366
  return {
4306
4367
  c() {
4307
- t = L("p"), n = ne(r);
4368
+ t = N("p"), n = ne(r);
4308
4369
  },
4309
4370
  m(i, o) {
4310
- ae(i, t, o), x(t, n);
4371
+ ue(i, t, o), x(t, n);
4311
4372
  },
4312
4373
  p(i, o) {
4313
4374
  o & /*$_*/
@@ -4319,29 +4380,29 @@ function Wi(e) {
4319
4380
  }
4320
4381
  };
4321
4382
  }
4322
- function zi(e) {
4383
+ function Ji(e) {
4323
4384
  let t, r, n, i = (
4324
4385
  /*$_*/
4325
4386
  e[3]("titleTransactionHistory") + ""
4326
4387
  ), o, s, a = (
4327
4388
  /*isMobile*/
4328
- e[4] && Vi(e)
4389
+ e[4] && Zi(e)
4329
4390
  );
4330
4391
  function h(c, f) {
4331
4392
  return (
4332
4393
  /*isLoading*/
4333
- c[1] ? Wi : Xi
4394
+ c[1] ? Qi : qi
4334
4395
  );
4335
4396
  }
4336
4397
  let u = h(e), l = u(e);
4337
4398
  return {
4338
4399
  c() {
4339
- t = L("div"), a && a.c(), r = Le(), n = L("h2"), o = ne(i), s = Le(), l.c(), E(n, "class", "TransactionHistoryTitle " + /*isMobile*/
4400
+ t = N("div"), a && a.c(), r = Le(), n = N("h2"), o = ne(i), s = Le(), l.c(), E(n, "class", "TransactionHistoryTitle " + /*isMobile*/
4340
4401
  (e[4] ? "TransactionHistoryTitleNone" : "")), E(t, "class", "TransactionHistoryWrapper " + /*isMobile*/
4341
4402
  (e[4] ? "TransactionHistoryWrapperMobile" : ""));
4342
4403
  },
4343
4404
  m(c, f) {
4344
- ae(c, t, f), a && a.m(t, null), x(t, r), x(t, n), x(n, o), x(t, s), l.m(t, null), e[14](t);
4405
+ ue(c, t, f), a && a.m(t, null), x(t, r), x(t, n), x(n, o), x(t, s), l.m(t, null), e[15](t);
4345
4406
  },
4346
4407
  p(c, [f]) {
4347
4408
  /*isMobile*/
@@ -4349,92 +4410,83 @@ function zi(e) {
4349
4410
  8 && i !== (i = /*$_*/
4350
4411
  c[3]("titleTransactionHistory") + "") && Je(o, i), u === (u = h(c)) && l ? l.p(c, f) : (l.d(1), l = u(c), l && (l.c(), l.m(t, null)));
4351
4412
  },
4352
- i: P,
4353
- o: P,
4413
+ i: B,
4414
+ o: B,
4354
4415
  d(c) {
4355
- c && J(t), a && a.d(), l.d(), e[14](null);
4416
+ c && J(t), a && a.d(), l.d(), e[15](null);
4356
4417
  }
4357
4418
  };
4358
4419
  }
4359
- function Zi(e, t, r) {
4420
+ function Yi(e, t, r) {
4360
4421
  let n;
4361
- vr(e, Gi, (g) => r(3, n = g));
4362
- let { endpoint: i = "" } = t, { session: o = "" } = t, { playerid: s = "" } = t, { lang: a = "en" } = t, { clientstyling: h = "" } = t, { clientstylingurl: u = "" } = t, { translationurl: l = "" } = t, c, f = window.navigator.userAgent, p = Fi(f) !== "PC", v = !0, d = "";
4363
- const T = () => {
4364
- fetch(l).then((A) => A.json()).then((A) => {
4365
- Object.keys(A).forEach((w) => {
4366
- Ot(w, A[w]);
4422
+ gr(e, Fi, (g) => r(3, n = g));
4423
+ let { endpoint: i = "" } = t, { session: o = "" } = t, { playerid: s = "" } = t, { lang: a = "en" } = t, { clientstyling: h = "" } = t, { clientstylingurl: u = "" } = t, { mbsource: l } = t, { translationurl: c = "" } = t, f, p = window.navigator.userAgent, v = ji(p) !== "PC", m = !0, T = "";
4424
+ const R = () => {
4425
+ fetch(c).then((C) => C.json()).then((C) => {
4426
+ Object.keys(C).forEach((M) => {
4427
+ Pt(M, C[M]);
4367
4428
  });
4368
- }).catch((A) => {
4369
- console.log(A);
4429
+ }).catch((C) => {
4430
+ console.log(C);
4370
4431
  });
4371
4432
  };
4372
- Object.keys(It).forEach((g) => {
4373
- Ot(g, It[g]);
4433
+ Object.keys(Ot).forEach((g) => {
4434
+ Pt(g, Ot[g]);
4374
4435
  });
4375
- const M = () => {
4436
+ const P = () => {
4376
4437
  window.postMessage(
4377
4438
  {
4378
4439
  type: "PlayerAccountMenuActive",
4379
- isMobile: p
4440
+ isMobile: v
4380
4441
  },
4381
4442
  window.location.href
4382
4443
  );
4383
- }, $ = () => {
4444
+ }, S = () => {
4384
4445
  let g = new URL(`${i}/v1/player/${s}/hostedcashier/customertransactionhistoryurl`);
4385
4446
  g.searchParams.append("language", a);
4386
- let A = {
4447
+ let C = {
4387
4448
  method: "GET",
4388
4449
  headers: {
4389
4450
  "X-SessionId": o,
4390
4451
  accept: "application/json"
4391
4452
  }
4392
4453
  };
4393
- fetch(g.href, A).then((w) => w.json()).then(
4394
- (w) => {
4395
- r(1, v = !1), r(2, d = w.CashierUrl);
4454
+ fetch(g.href, C).then((M) => M.json()).then(
4455
+ (M) => {
4456
+ r(1, m = !1), r(2, T = M.CashierUrl);
4396
4457
  },
4397
- (w) => {
4398
- console.error(w);
4458
+ (M) => {
4459
+ console.error(M);
4399
4460
  }
4400
4461
  );
4401
- }, S = () => {
4402
- ji(a);
4403
4462
  }, U = () => {
4404
- let g = document.createElement("style");
4405
- g.innerHTML = h, c.appendChild(g);
4406
- }, O = () => {
4407
- let g = new URL(u), A = document.createElement("style");
4408
- fetch(g.href).then((w) => w.text()).then((w) => {
4409
- A.innerHTML = w, setTimeout(
4410
- () => {
4411
- c.appendChild(A);
4412
- },
4413
- 1
4414
- );
4415
- });
4416
- }, G = () => M();
4417
- function he(g) {
4463
+ ki(a);
4464
+ };
4465
+ wr(() => () => {
4466
+ });
4467
+ const O = () => P();
4468
+ function G(g) {
4418
4469
  Ce[g ? "unshift" : "push"](() => {
4419
- c = g, r(0, c);
4470
+ f = g, r(0, f);
4420
4471
  });
4421
4472
  }
4422
4473
  return e.$$set = (g) => {
4423
- "endpoint" in g && r(6, i = g.endpoint), "session" in g && r(7, o = g.session), "playerid" in g && r(8, s = g.playerid), "lang" in g && r(9, a = g.lang), "clientstyling" in g && r(10, h = g.clientstyling), "clientstylingurl" in g && r(11, u = g.clientstylingurl), "translationurl" in g && r(12, l = g.translationurl);
4474
+ "endpoint" in g && r(6, i = g.endpoint), "session" in g && r(7, o = g.session), "playerid" in g && r(8, s = g.playerid), "lang" in g && r(9, a = g.lang), "clientstyling" in g && r(10, h = g.clientstyling), "clientstylingurl" in g && r(11, u = g.clientstylingurl), "mbsource" in g && r(12, l = g.mbsource), "translationurl" in g && r(13, c = g.translationurl);
4424
4475
  }, e.$$.update = () => {
4425
4476
  e.$$.dirty & /*lang*/
4426
- 512 && a && S(), e.$$.dirty & /*session, playerid, endpoint, lang*/
4427
- 960 && o && s && i && a && $(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4428
- 2049 && u && c && O(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4429
- 1025 && h && c && U(), e.$$.dirty & /*translationurl*/
4430
- 4096 && l && T();
4477
+ 512 && a && U(), e.$$.dirty & /*session, playerid, endpoint, lang*/
4478
+ 960 && o && s && i && a && S(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4479
+ 1025 && h && f && Vi(f, h), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4480
+ 2049 && u && f && Xi(f, u), e.$$.dirty & /*mbsource, customStylingContainer*/
4481
+ 4097 && l && f && Wi(f, `${l}.Style`), e.$$.dirty & /*translationurl*/
4482
+ 8192 && c && R();
4431
4483
  }, [
4432
- c,
4433
- v,
4434
- d,
4484
+ f,
4485
+ m,
4486
+ T,
4435
4487
  n,
4436
- p,
4437
- M,
4488
+ v,
4489
+ P,
4438
4490
  i,
4439
4491
  o,
4440
4492
  s,
@@ -4442,18 +4494,19 @@ function Zi(e, t, r) {
4442
4494
  h,
4443
4495
  u,
4444
4496
  l,
4445
- G,
4446
- he
4497
+ c,
4498
+ O,
4499
+ G
4447
4500
  ];
4448
4501
  }
4449
- class qi extends Rr {
4502
+ class Ki extends Ur {
4450
4503
  constructor(t) {
4451
- super(), Mr(
4504
+ super(), $r(
4452
4505
  this,
4453
4506
  t,
4454
- Zi,
4455
- zi,
4456
- Lt,
4507
+ Yi,
4508
+ Ji,
4509
+ Nt,
4457
4510
  {
4458
4511
  endpoint: 6,
4459
4512
  session: 7,
@@ -4461,55 +4514,62 @@ class qi extends Rr {
4461
4514
  lang: 9,
4462
4515
  clientstyling: 10,
4463
4516
  clientstylingurl: 11,
4464
- translationurl: 12
4517
+ mbsource: 12,
4518
+ translationurl: 13
4465
4519
  },
4466
- ki
4520
+ zi
4467
4521
  );
4468
4522
  }
4469
4523
  get endpoint() {
4470
4524
  return this.$$.ctx[6];
4471
4525
  }
4472
4526
  set endpoint(t) {
4473
- this.$$set({ endpoint: t }), I();
4527
+ this.$$set({ endpoint: t }), A();
4474
4528
  }
4475
4529
  get session() {
4476
4530
  return this.$$.ctx[7];
4477
4531
  }
4478
4532
  set session(t) {
4479
- this.$$set({ session: t }), I();
4533
+ this.$$set({ session: t }), A();
4480
4534
  }
4481
4535
  get playerid() {
4482
4536
  return this.$$.ctx[8];
4483
4537
  }
4484
4538
  set playerid(t) {
4485
- this.$$set({ playerid: t }), I();
4539
+ this.$$set({ playerid: t }), A();
4486
4540
  }
4487
4541
  get lang() {
4488
4542
  return this.$$.ctx[9];
4489
4543
  }
4490
4544
  set lang(t) {
4491
- this.$$set({ lang: t }), I();
4545
+ this.$$set({ lang: t }), A();
4492
4546
  }
4493
4547
  get clientstyling() {
4494
4548
  return this.$$.ctx[10];
4495
4549
  }
4496
4550
  set clientstyling(t) {
4497
- this.$$set({ clientstyling: t }), I();
4551
+ this.$$set({ clientstyling: t }), A();
4498
4552
  }
4499
4553
  get clientstylingurl() {
4500
4554
  return this.$$.ctx[11];
4501
4555
  }
4502
4556
  set clientstylingurl(t) {
4503
- this.$$set({ clientstylingurl: t }), I();
4557
+ this.$$set({ clientstylingurl: t }), A();
4504
4558
  }
4505
- get translationurl() {
4559
+ get mbsource() {
4506
4560
  return this.$$.ctx[12];
4507
4561
  }
4562
+ set mbsource(t) {
4563
+ this.$$set({ mbsource: t }), A();
4564
+ }
4565
+ get translationurl() {
4566
+ return this.$$.ctx[13];
4567
+ }
4508
4568
  set translationurl(t) {
4509
- this.$$set({ translationurl: t }), I();
4569
+ this.$$set({ translationurl: t }), A();
4510
4570
  }
4511
4571
  }
4512
- $r(qi, { endpoint: {}, session: {}, playerid: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
4572
+ Rr(Ki, { endpoint: {}, session: {}, playerid: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
4513
4573
  export {
4514
- qi as default
4574
+ Ki as default
4515
4575
  };