@everymatrix/player-account-notifications 1.76.13 → 1.76.14

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