@everymatrix/player-account-gaming-limits-wrapper-2-nd 1.57.0 → 1.58.1

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.
Files changed (26) hide show
  1. package/components/{PlayerAccountGamingLimitsHistory2Nd-DdbAjGBm.js → PlayerAccountGamingLimitsHistory2Nd-BhY9Uwd-.js} +633 -655
  2. package/components/{PlayerAccountGamingLimitsHistory2Nd-DL-v3Ybk.js → PlayerAccountGamingLimitsHistory2Nd-Cr1iCTQt.js} +819 -841
  3. package/components/PlayerAccountGamingLimitsHistory2Nd-DyETvmez.cjs +18 -0
  4. package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-C8eNvtWQ.cjs → PlayerAccountGamingLimitsPage2Gm16Nd-Br8b44pc.cjs} +1 -1
  5. package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-BM0QlgIJ.js → PlayerAccountGamingLimitsPage2Gm16Nd-CiAaUrRd.js} +9 -9
  6. package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-Bpo-oa37.js → PlayerAccountGamingLimitsPage2Gm16Nd-DdAAi5Vw.js} +8 -8
  7. package/components/{PlayerAccountGamingLimitsWrapper2Nd-DM74xYQ4.cjs → PlayerAccountGamingLimitsWrapper2Nd-CdfzfVR0.cjs} +1 -1
  8. package/components/{PlayerAccountGamingLimitsWrapper2Nd-iwhgXBbi.js → PlayerAccountGamingLimitsWrapper2Nd-DBLZ2bzg.js} +24 -24
  9. package/components/{PlayerAccountGamingLimitsWrapper2Nd-DsxerPoG.js → PlayerAccountGamingLimitsWrapper2Nd-iQWrZIfs.js} +49 -49
  10. package/es2015/player-account-gaming-limits-wrapper-2-nd.cjs +1 -1
  11. package/es2015/player-account-gaming-limits-wrapper-2-nd.js +1 -1
  12. package/esnext/player-account-gaming-limits-wrapper-2-nd.js +1 -1
  13. package/package.json +3 -2
  14. package/stencil/index-ae04a8b1-BxaX26xW.js +516 -0
  15. package/stencil/index-ae04a8b1-D7qYBP-T.js +532 -0
  16. package/stencil/index-ae04a8b1-Dk7mk6oB.cjs +1 -0
  17. package/stencil/{ui-skeleton-C5gPr5Xv.js → ui-skeleton-DFpfaKvi.js} +2 -2
  18. package/stencil/{ui-skeleton-C1buDKbo.cjs → ui-skeleton-IHMCRYEX.cjs} +1 -1
  19. package/stencil/{ui-skeleton-M7HNQCk1.js → ui-skeleton-UUT_AJxa.js} +2 -2
  20. package/stencil/{ui-skeleton-a642cced-DO34s50a.cjs → ui-skeleton-a642cced-5nW6b8_l.cjs} +1 -1
  21. package/stencil/{ui-skeleton-a642cced-BFJMszWG.js → ui-skeleton-a642cced-BNXFvvk_.js} +1 -1
  22. package/stencil/{ui-skeleton-a642cced-p8tGooXk.js → ui-skeleton-a642cced-DdY2eEM0.js} +1 -1
  23. package/components/PlayerAccountGamingLimitsHistory2Nd-DKIz4RsT.cjs +0 -18
  24. package/stencil/index-ae04a8b1-DPYODDdm.cjs +0 -1
  25. package/stencil/index-ae04a8b1-DRAR7dln.js +0 -532
  26. package/stencil/index-ae04a8b1-eSktas_K.js +0 -516
@@ -1,6 +1,6 @@
1
- function C() {
1
+ function O() {
2
2
  }
3
- function Dr(e, t) {
3
+ function Ir(e, t) {
4
4
  for (const r in t)
5
5
  e[r] = t[r];
6
6
  return (
@@ -8,46 +8,46 @@ function Dr(e, t) {
8
8
  e
9
9
  );
10
10
  }
11
- function Gt(e) {
11
+ function zt(e) {
12
12
  return e();
13
13
  }
14
- function pt() {
14
+ function ct() {
15
15
  return /* @__PURE__ */ Object.create(null);
16
16
  }
17
17
  function ie(e) {
18
- e.forEach(Gt);
18
+ e.forEach(zt);
19
19
  }
20
- function ut(e) {
20
+ function at(e) {
21
21
  return typeof e == "function";
22
22
  }
23
- function Ft(e, t) {
23
+ function Ut(e, t) {
24
24
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
25
25
  }
26
- function zr(e) {
26
+ function Nr(e) {
27
27
  return Object.keys(e).length === 0;
28
28
  }
29
- function jt(e, ...t) {
29
+ function $t(e, ...t) {
30
30
  if (e == null) {
31
31
  for (const i of t)
32
32
  i(void 0);
33
- return C;
33
+ return O;
34
34
  }
35
35
  const r = e.subscribe(...t);
36
36
  return r.unsubscribe ? () => r.unsubscribe() : r;
37
37
  }
38
- function Ur(e, t, r) {
39
- e.$$.on_destroy.push(jt(t, r));
38
+ function Mr(e, t, r) {
39
+ e.$$.on_destroy.push($t(t, r));
40
40
  }
41
- function Lo(e, t, r, i) {
41
+ function xo(e, t, r, i) {
42
42
  if (e) {
43
- const n = kt(e, t, r, i);
43
+ const n = Gt(e, t, r, i);
44
44
  return e[0](n);
45
45
  }
46
46
  }
47
- function kt(e, t, r, i) {
48
- return e[1] && i ? Dr(r.ctx.slice(), e[1](i(t))) : r.ctx;
47
+ function Gt(e, t, r, i) {
48
+ return e[1] && i ? Ir(r.ctx.slice(), e[1](i(t))) : r.ctx;
49
49
  }
50
- function So(e, t, r, i) {
50
+ function Eo(e, t, r, i) {
51
51
  if (e[2] && i) {
52
52
  const n = e[2](i(r));
53
53
  if (t.dirty === void 0)
@@ -62,13 +62,13 @@ function So(e, t, r, i) {
62
62
  }
63
63
  return t.dirty;
64
64
  }
65
- function wo(e, t, r, i, n, o) {
65
+ function To(e, t, r, i, n, o) {
66
66
  if (n) {
67
- const a = kt(t, r, i, o);
67
+ const a = Gt(t, r, i, o);
68
68
  e.p(a, n);
69
69
  }
70
70
  }
71
- function Ho(e) {
71
+ function Lo(e) {
72
72
  if (e.ctx.length > 32) {
73
73
  const t = [], r = e.ctx.length / 32;
74
74
  for (let i = 0; i < r; i++)
@@ -77,20 +77,20 @@ function Ho(e) {
77
77
  }
78
78
  return -1;
79
79
  }
80
- function dt(e) {
80
+ function ft(e) {
81
81
  return e ?? "";
82
82
  }
83
83
  function T(e, t) {
84
84
  e.appendChild(t);
85
85
  }
86
- function $r(e, t, r) {
87
- const i = Gr(e);
86
+ function Rr(e, t, r) {
87
+ const i = Dr(e);
88
88
  if (!i.getElementById(t)) {
89
- const n = A("style");
90
- n.id = t, n.textContent = r, Fr(i, n);
89
+ const n = P("style");
90
+ n.id = t, n.textContent = r, zr(i, n);
91
91
  }
92
92
  }
93
- function Gr(e) {
93
+ function Dr(e) {
94
94
  if (!e)
95
95
  return document;
96
96
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -100,7 +100,7 @@ function Gr(e) {
100
100
  t
101
101
  ) : e.ownerDocument;
102
102
  }
103
- function Fr(e, t) {
103
+ function zr(e, t) {
104
104
  return T(
105
105
  /** @type {Document} */
106
106
  e.head || e,
@@ -113,11 +113,11 @@ function W(e, t, r) {
113
113
  function j(e) {
114
114
  e.parentNode && e.parentNode.removeChild(e);
115
115
  }
116
- function jr(e, t) {
116
+ function Ur(e, t) {
117
117
  for (let r = 0; r < e.length; r += 1)
118
118
  e[r] && e[r].d(t);
119
119
  }
120
- function A(e) {
120
+ function P(e) {
121
121
  return document.createElement(e);
122
122
  }
123
123
  function Re(e) {
@@ -126,39 +126,39 @@ function Re(e) {
126
126
  function M(e) {
127
127
  return document.createTextNode(e);
128
128
  }
129
- function We() {
129
+ function Ve() {
130
130
  return M(" ");
131
131
  }
132
- function Ao() {
132
+ function So() {
133
133
  return M("");
134
134
  }
135
- function kr(e, t, r, i) {
135
+ function $r(e, t, r, i) {
136
136
  return e.addEventListener(t, r, i), () => e.removeEventListener(t, r, i);
137
137
  }
138
138
  function E(e, t, r) {
139
139
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
140
140
  }
141
- function Po(e, t, r) {
141
+ function wo(e, t, r) {
142
142
  const i = t.toLowerCase();
143
143
  i in e ? e[i] = typeof e[i] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : E(e, t, r);
144
144
  }
145
- function Bo(e) {
145
+ function Ho(e) {
146
146
  return e === "" ? null : +e;
147
147
  }
148
- function Vr(e) {
148
+ function Gr(e) {
149
149
  return Array.from(e.childNodes);
150
150
  }
151
151
  function F(e, t) {
152
152
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
153
153
  t);
154
154
  }
155
- function Co(e, t) {
155
+ function Po(e, t) {
156
156
  e.value = t ?? "";
157
157
  }
158
- function Wr(e, t, r, i) {
158
+ function Fr(e, t, r, i) {
159
159
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
160
160
  }
161
- function Oo(e, t, r) {
161
+ function Ao(e, t, r) {
162
162
  for (let i = 0; i < e.options.length; i += 1) {
163
163
  const n = e.options[i];
164
164
  if (n.__value === t) {
@@ -168,14 +168,14 @@ function Oo(e, t, r) {
168
168
  }
169
169
  (!r || t !== void 0) && (e.selectedIndex = -1);
170
170
  }
171
- function Io(e) {
171
+ function Bo(e) {
172
172
  const t = e.querySelector(":checked");
173
173
  return t && t.__value;
174
174
  }
175
175
  function be(e, t, r) {
176
176
  e.classList.toggle(t, !!r);
177
177
  }
178
- function Xr(e) {
178
+ function jr(e) {
179
179
  const t = {};
180
180
  return e.childNodes.forEach(
181
181
  /** @param {Element} node */
@@ -188,27 +188,27 @@ let he;
188
188
  function le(e) {
189
189
  he = e;
190
190
  }
191
- function Zr() {
191
+ function kr() {
192
192
  if (!he)
193
193
  throw new Error("Function called outside component initialization");
194
194
  return he;
195
195
  }
196
- function Qr(e) {
197
- Zr().$$.on_mount.push(e);
196
+ function Vr(e) {
197
+ kr().$$.on_mount.push(e);
198
198
  }
199
199
  const Y = [], Se = [];
200
200
  let J = [];
201
- const yt = [], Yr = /* @__PURE__ */ Promise.resolve();
202
- let Xe = !1;
203
- function Jr() {
204
- Xe || (Xe = !0, Yr.then(O));
201
+ const mt = [], Wr = /* @__PURE__ */ Promise.resolve();
202
+ let We = !1;
203
+ function Xr() {
204
+ We || (We = !0, Wr.then(C));
205
205
  }
206
- function Ze(e) {
206
+ function Xe(e) {
207
207
  J.push(e);
208
208
  }
209
209
  const De = /* @__PURE__ */ new Set();
210
210
  let Z = 0;
211
- function O() {
211
+ function C() {
212
212
  if (Z !== 0)
213
213
  return;
214
214
  const e = he;
@@ -216,7 +216,7 @@ function O() {
216
216
  try {
217
217
  for (; Z < Y.length; ) {
218
218
  const t = Y[Z];
219
- Z++, le(t), qr(t.$$);
219
+ Z++, le(t), Zr(t.$$);
220
220
  }
221
221
  } catch (t) {
222
222
  throw Y.length = 0, Z = 0, t;
@@ -229,24 +229,24 @@ function O() {
229
229
  }
230
230
  J.length = 0;
231
231
  } while (Y.length);
232
- for (; yt.length; )
233
- yt.pop()();
234
- Xe = !1, De.clear(), le(e);
232
+ for (; mt.length; )
233
+ mt.pop()();
234
+ We = !1, De.clear(), le(e);
235
235
  }
236
- function qr(e) {
236
+ function Zr(e) {
237
237
  if (e.fragment !== null) {
238
238
  e.update(), ie(e.before_update);
239
239
  const t = e.dirty;
240
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ze);
240
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Xe);
241
241
  }
242
242
  }
243
- function Kr(e) {
243
+ function Qr(e) {
244
244
  const t = [], r = [];
245
245
  J.forEach((i) => e.indexOf(i) === -1 ? t.push(i) : r.push(i)), r.forEach((i) => i()), J = t;
246
246
  }
247
247
  const _e = /* @__PURE__ */ new Set();
248
248
  let V;
249
- function No() {
249
+ function Oo() {
250
250
  V = {
251
251
  r: 0,
252
252
  c: [],
@@ -254,13 +254,13 @@ function No() {
254
254
  // parent group
255
255
  };
256
256
  }
257
- function Mo() {
257
+ function Co() {
258
258
  V.r || ie(V.c), V = V.p;
259
259
  }
260
- function ei(e, t) {
260
+ function Yr(e, t) {
261
261
  e && e.i && (_e.delete(e), e.i(t));
262
262
  }
263
- function Ro(e, t, r, i) {
263
+ function Io(e, t, r, i) {
264
264
  if (e && e.o) {
265
265
  if (_e.has(e))
266
266
  return;
@@ -270,24 +270,24 @@ function Ro(e, t, r, i) {
270
270
  } else
271
271
  i && i();
272
272
  }
273
- function bt(e) {
273
+ function pt(e) {
274
274
  return e?.length !== void 0 ? e : Array.from(e);
275
275
  }
276
- function ti(e, t, r) {
276
+ function Jr(e, t, r) {
277
277
  const { fragment: i, after_update: n } = e.$$;
278
- i && i.m(t, r), Ze(() => {
279
- const o = e.$$.on_mount.map(Gt).filter(ut);
278
+ i && i.m(t, r), Xe(() => {
279
+ const o = e.$$.on_mount.map(zt).filter(at);
280
280
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ie(o), e.$$.on_mount = [];
281
- }), n.forEach(Ze);
281
+ }), n.forEach(Xe);
282
282
  }
283
- function ri(e, t) {
283
+ function qr(e, t) {
284
284
  const r = e.$$;
285
- r.fragment !== null && (Kr(r.after_update), ie(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
285
+ r.fragment !== null && (Qr(r.after_update), ie(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
286
286
  }
287
- function ii(e, t) {
288
- e.$$.dirty[0] === -1 && (Y.push(e), Jr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
287
+ function Kr(e, t) {
288
+ e.$$.dirty[0] === -1 && (Y.push(e), Xr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
289
289
  }
290
- function ni(e, t, r, i, n, o, a = null, s = [-1]) {
290
+ function ei(e, t, r, i, n, o, a = null, s = [-1]) {
291
291
  const h = he;
292
292
  le(e);
293
293
  const u = e.$$ = {
@@ -295,9 +295,9 @@ function ni(e, t, r, i, n, o, a = null, s = [-1]) {
295
295
  ctx: [],
296
296
  // state
297
297
  props: o,
298
- update: C,
298
+ update: O,
299
299
  not_equal: n,
300
- bound: pt(),
300
+ bound: ct(),
301
301
  // lifecycle
302
302
  on_mount: [],
303
303
  on_destroy: [],
@@ -306,7 +306,7 @@ function ni(e, t, r, i, n, o, a = null, s = [-1]) {
306
306
  after_update: [],
307
307
  context: new Map(t.context || (h ? h.$$.context : [])),
308
308
  // everything else
309
- callbacks: pt(),
309
+ callbacks: ct(),
310
310
  dirty: s,
311
311
  skip_bound: !1,
312
312
  root: t.target || h.$$.root
@@ -315,19 +315,19 @@ function ni(e, t, r, i, n, o, a = null, s = [-1]) {
315
315
  let l = !1;
316
316
  if (u.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
317
317
  const y = p.length ? p[0] : f;
318
- return u.ctx && n(u.ctx[c], u.ctx[c] = y) && (!u.skip_bound && u.bound[c] && u.bound[c](y), l && ii(e, c)), f;
318
+ return u.ctx && n(u.ctx[c], u.ctx[c] = y) && (!u.skip_bound && u.bound[c] && u.bound[c](y), l && Kr(e, c)), f;
319
319
  }) : [], u.update(), l = !0, ie(u.before_update), u.fragment = i ? i(u.ctx) : !1, t.target) {
320
320
  if (t.hydrate) {
321
- const c = Vr(t.target);
321
+ const c = Gr(t.target);
322
322
  u.fragment && u.fragment.l(c), c.forEach(j);
323
323
  } else
324
324
  u.fragment && u.fragment.c();
325
- t.intro && ei(e.$$.fragment), ti(e, t.target, t.anchor), O();
325
+ t.intro && Yr(e.$$.fragment), Jr(e, t.target, t.anchor), C();
326
326
  }
327
327
  le(h);
328
328
  }
329
- let Vt;
330
- typeof HTMLElement == "function" && (Vt = class extends HTMLElement {
329
+ let Ft;
330
+ typeof HTMLElement == "function" && (Ft = class extends HTMLElement {
331
331
  /** The Svelte component constructor */
332
332
  $$ctor;
333
333
  /** Slots */
@@ -369,7 +369,7 @@ typeof HTMLElement == "function" && (Vt = class extends HTMLElement {
369
369
  let o;
370
370
  return {
371
371
  c: function() {
372
- o = A("slot"), n !== "default" && E(o, "name", n);
372
+ o = P("slot"), n !== "default" && E(o, "name", n);
373
373
  },
374
374
  /**
375
375
  * @param {HTMLElement} target
@@ -386,7 +386,7 @@ typeof HTMLElement == "function" && (Vt = class extends HTMLElement {
386
386
  };
387
387
  if (await Promise.resolve(), !this.$$cn || this.$$c)
388
388
  return;
389
- const t = {}, r = Xr(this);
389
+ const t = {}, r = jr(this);
390
390
  for (const n of this.$$s)
391
391
  n in r && (t[n] = [e(n)]);
392
392
  for (const n of this.attributes) {
@@ -473,8 +473,8 @@ function xe(e, t, r, i) {
473
473
  return t;
474
474
  }
475
475
  }
476
- function oi(e, t, r, i, n, o) {
477
- let a = class extends Vt {
476
+ function ti(e, t, r, i, n, o) {
477
+ let a = class extends Ft {
478
478
  constructor() {
479
479
  super(e, r, n), this.$$p_d = t;
480
480
  }
@@ -502,7 +502,7 @@ function oi(e, t, r, i, n, o) {
502
502
  }), e.element = /** @type {any} */
503
503
  a, a;
504
504
  }
505
- class si {
505
+ class ri {
506
506
  /**
507
507
  * ### PRIVATE API
508
508
  *
@@ -521,7 +521,7 @@ class si {
521
521
  $$set = void 0;
522
522
  /** @returns {void} */
523
523
  $destroy() {
524
- ri(this, 1), this.$destroy = C;
524
+ qr(this, 1), this.$destroy = O;
525
525
  }
526
526
  /**
527
527
  * @template {Extract<keyof Events, string>} K
@@ -530,8 +530,8 @@ class si {
530
530
  * @returns {() => void}
531
531
  */
532
532
  $on(t, r) {
533
- if (!ut(r))
534
- return C;
533
+ if (!at(r))
534
+ return O;
535
535
  const i = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
536
536
  return i.push(r), () => {
537
537
  const n = i.indexOf(r);
@@ -543,11 +543,11 @@ class si {
543
543
  * @returns {void}
544
544
  */
545
545
  $set(t) {
546
- this.$$set && !zr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
546
+ this.$$set && !Nr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
547
547
  }
548
548
  }
549
- const ai = "4";
550
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(ai);
549
+ const ii = "4";
550
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(ii);
551
551
  /*! *****************************************************************************
552
552
  Copyright (c) Microsoft Corporation.
553
553
 
@@ -562,18 +562,18 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
562
562
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
563
563
  PERFORMANCE OF THIS SOFTWARE.
564
564
  ***************************************************************************** */
565
- var Qe = function(e, t) {
566
- return Qe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
565
+ var Ze = function(e, t) {
566
+ return Ze = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
567
567
  r.__proto__ = i;
568
568
  } || function(r, i) {
569
569
  for (var n in i)
570
570
  Object.prototype.hasOwnProperty.call(i, n) && (r[n] = i[n]);
571
- }, Qe(e, t);
571
+ }, Ze(e, t);
572
572
  };
573
573
  function $(e, t) {
574
574
  if (typeof t != "function" && t !== null)
575
575
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
576
- Qe(e, t);
576
+ Ze(e, t);
577
577
  function r() {
578
578
  this.constructor = e;
579
579
  }
@@ -589,7 +589,7 @@ var x = function() {
589
589
  return t;
590
590
  }, x.apply(this, arguments);
591
591
  };
592
- function ui(e, t) {
592
+ function ni(e, t) {
593
593
  var r = {};
594
594
  for (var i in e)
595
595
  Object.prototype.hasOwnProperty.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
@@ -598,7 +598,7 @@ function ui(e, t) {
598
598
  t.indexOf(i[n]) < 0 && Object.prototype.propertyIsEnumerable.call(e, i[n]) && (r[i[n]] = e[i[n]]);
599
599
  return r;
600
600
  }
601
- function Ye(e) {
601
+ function Qe(e) {
602
602
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], i = 0;
603
603
  if (r)
604
604
  return r.call(e);
@@ -610,7 +610,7 @@ function Ye(e) {
610
610
  };
611
611
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
612
612
  }
613
- function Je(e, t) {
613
+ function Ye(e, t) {
614
614
  var r = typeof Symbol == "function" && e[Symbol.iterator];
615
615
  if (!r)
616
616
  return e;
@@ -639,13 +639,13 @@ function q(e, t, r) {
639
639
  function U(e) {
640
640
  return typeof e == "function";
641
641
  }
642
- function Wt(e) {
642
+ function jt(e) {
643
643
  var t = function(i) {
644
644
  Error.call(i), i.stack = new Error().stack;
645
645
  }, r = e(t);
646
646
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
647
647
  }
648
- var ze = Wt(function(e) {
648
+ var ze = jt(function(e) {
649
649
  return function(r) {
650
650
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
651
651
  ` + r.map(function(i, n) {
@@ -654,13 +654,13 @@ var ze = Wt(function(e) {
654
654
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
655
655
  };
656
656
  });
657
- function qe(e, t) {
657
+ function Je(e, t) {
658
658
  if (e) {
659
659
  var r = e.indexOf(t);
660
660
  0 <= r && e.splice(r, 1);
661
661
  }
662
662
  }
663
- var Ae = function() {
663
+ var Pe = function() {
664
664
  function e(t) {
665
665
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
666
666
  }
@@ -672,7 +672,7 @@ var Ae = function() {
672
672
  if (a)
673
673
  if (this._parentage = null, Array.isArray(a))
674
674
  try {
675
- for (var s = Ye(a), h = s.next(); !h.done; h = s.next()) {
675
+ for (var s = Qe(a), h = s.next(); !h.done; h = s.next()) {
676
676
  var u = h.value;
677
677
  u.remove(this);
678
678
  }
@@ -699,12 +699,12 @@ var Ae = function() {
699
699
  if (c) {
700
700
  this._finalizers = null;
701
701
  try {
702
- for (var f = Ye(c), p = f.next(); !p.done; p = f.next()) {
702
+ for (var f = Qe(c), p = f.next(); !p.done; p = f.next()) {
703
703
  var y = p.value;
704
704
  try {
705
- gt(y);
705
+ dt(y);
706
706
  } catch (d) {
707
- o = o ?? [], d instanceof ze ? o = q(q([], Je(o)), Je(d.errors)) : o.push(d);
707
+ o = o ?? [], d instanceof ze ? o = q(q([], Ye(o)), Ye(d.errors)) : o.push(d);
708
708
  }
709
709
  }
710
710
  } catch (d) {
@@ -725,7 +725,7 @@ var Ae = function() {
725
725
  var r;
726
726
  if (t && t !== this)
727
727
  if (this.closed)
728
- gt(t);
728
+ dt(t);
729
729
  else {
730
730
  if (t instanceof e) {
731
731
  if (t.closed || t._hasParent(this))
@@ -742,56 +742,52 @@ var Ae = function() {
742
742
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
743
743
  }, e.prototype._removeParent = function(t) {
744
744
  var r = this._parentage;
745
- r === t ? this._parentage = null : Array.isArray(r) && qe(r, t);
745
+ r === t ? this._parentage = null : Array.isArray(r) && Je(r, t);
746
746
  }, e.prototype.remove = function(t) {
747
747
  var r = this._finalizers;
748
- r && qe(r, t), t instanceof e && t._removeParent(this);
748
+ r && Je(r, t), t instanceof e && t._removeParent(this);
749
749
  }, e.EMPTY = function() {
750
750
  var t = new e();
751
751
  return t.closed = !0, t;
752
752
  }(), e;
753
- }(), Xt = Ae.EMPTY;
754
- function Zt(e) {
755
- return e instanceof Ae || e && "closed" in e && U(e.remove) && U(e.add) && U(e.unsubscribe);
753
+ }(), kt = Pe.EMPTY;
754
+ function Vt(e) {
755
+ return e instanceof Pe || e && "closed" in e && U(e.remove) && U(e.add) && U(e.unsubscribe);
756
756
  }
757
- function gt(e) {
757
+ function dt(e) {
758
758
  U(e) ? e() : e.unsubscribe();
759
759
  }
760
- var Qt = {
761
- onUnhandledError: null,
762
- onStoppedNotification: null,
763
- Promise: void 0,
764
- useDeprecatedSynchronousErrorHandling: !1,
765
- useDeprecatedNextContext: !1
766
- }, li = {
760
+ var oi = {
761
+ Promise: void 0
762
+ }, si = {
767
763
  setTimeout: function(e, t) {
768
764
  for (var r = [], i = 2; i < arguments.length; i++)
769
765
  r[i - 2] = arguments[i];
770
- return setTimeout.apply(void 0, q([e, t], Je(r)));
766
+ return setTimeout.apply(void 0, q([e, t], Ye(r)));
771
767
  },
772
768
  clearTimeout: function(e) {
773
769
  return clearTimeout(e);
774
770
  },
775
771
  delegate: void 0
776
772
  };
777
- function hi(e) {
778
- li.setTimeout(function() {
773
+ function ai(e) {
774
+ si.setTimeout(function() {
779
775
  throw e;
780
776
  });
781
777
  }
782
- function vt() {
778
+ function yt() {
783
779
  }
784
780
  function Ee(e) {
785
781
  e();
786
782
  }
787
- var Yt = function(e) {
783
+ var Wt = function(e) {
788
784
  $(t, e);
789
785
  function t(r) {
790
786
  var i = e.call(this) || this;
791
- return i.isStopped = !1, r ? (i.destination = r, Zt(r) && r.add(i)) : i.destination = pi, i;
787
+ return i.isStopped = !1, r ? (i.destination = r, Vt(r) && r.add(i)) : i.destination = hi, i;
792
788
  }
793
789
  return t.create = function(r, i, n) {
794
- return new Ke(r, i, n);
790
+ return new qe(r, i, n);
795
791
  }, t.prototype.next = function(r) {
796
792
  this.isStopped || this._next(r);
797
793
  }, t.prototype.error = function(r) {
@@ -815,11 +811,7 @@ var Yt = function(e) {
815
811
  this.unsubscribe();
816
812
  }
817
813
  }, t;
818
- }(Ae), ci = Function.prototype.bind;
819
- function Ue(e, t) {
820
- return ci.call(e, t);
821
- }
822
- var fi = function() {
814
+ }(Pe), ui = function() {
823
815
  function e(t) {
824
816
  this.partialObserver = t;
825
817
  }
@@ -850,55 +842,43 @@ var fi = function() {
850
842
  ge(r);
851
843
  }
852
844
  }, e;
853
- }(), Ke = function(e) {
845
+ }(), qe = function(e) {
854
846
  $(t, e);
855
847
  function t(r, i, n) {
856
848
  var o = e.call(this) || this, a;
857
- if (U(r) || !r)
858
- a = {
859
- next: r ?? void 0,
860
- error: i ?? void 0,
861
- complete: n ?? void 0
862
- };
863
- else {
864
- var s;
865
- o && Qt.useDeprecatedNextContext ? (s = Object.create(r), s.unsubscribe = function() {
866
- return o.unsubscribe();
867
- }, a = {
868
- next: r.next && Ue(r.next, s),
869
- error: r.error && Ue(r.error, s),
870
- complete: r.complete && Ue(r.complete, s)
871
- }) : a = r;
872
- }
873
- return o.destination = new fi(a), o;
849
+ return U(r) || !r ? a = {
850
+ next: r ?? void 0,
851
+ error: i ?? void 0,
852
+ complete: n ?? void 0
853
+ } : a = r, o.destination = new ui(a), o;
874
854
  }
875
855
  return t;
876
- }(Yt);
856
+ }(Wt);
877
857
  function ge(e) {
878
- hi(e);
858
+ ai(e);
879
859
  }
880
- function mi(e) {
860
+ function li(e) {
881
861
  throw e;
882
862
  }
883
- var pi = {
863
+ var hi = {
884
864
  closed: !0,
885
- next: vt,
886
- error: mi,
887
- complete: vt
888
- }, di = function() {
865
+ next: yt,
866
+ error: li,
867
+ complete: yt
868
+ }, ci = function() {
889
869
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
890
870
  }();
891
- function yi(e) {
871
+ function fi(e) {
892
872
  return e;
893
873
  }
894
- function bi(e) {
895
- return e.length === 0 ? yi : e.length === 1 ? e[0] : function(r) {
874
+ function mi(e) {
875
+ return e.length === 0 ? fi : e.length === 1 ? e[0] : function(r) {
896
876
  return e.reduce(function(i, n) {
897
877
  return n(i);
898
878
  }, r);
899
879
  };
900
880
  }
901
- var _t = function() {
881
+ var bt = function() {
902
882
  function e(t) {
903
883
  t && (this._subscribe = t);
904
884
  }
@@ -906,7 +886,7 @@ var _t = function() {
906
886
  var r = new e();
907
887
  return r.source = this, r.operator = t, r;
908
888
  }, e.prototype.subscribe = function(t, r, i) {
909
- var n = this, o = vi(t) ? t : new Ke(t, r, i);
889
+ var n = this, o = di(t) ? t : new qe(t, r, i);
910
890
  return Ee(function() {
911
891
  var a = n, s = a.operator, h = a.source;
912
892
  o.add(s ? s.call(o, h) : h ? n._subscribe(o) : n._trySubscribe(o));
@@ -919,8 +899,8 @@ var _t = function() {
919
899
  }
920
900
  }, e.prototype.forEach = function(t, r) {
921
901
  var i = this;
922
- return r = xt(r), new r(function(n, o) {
923
- var a = new Ke({
902
+ return r = gt(r), new r(function(n, o) {
903
+ var a = new qe({
924
904
  next: function(s) {
925
905
  try {
926
906
  t(s);
@@ -936,15 +916,15 @@ var _t = function() {
936
916
  }, e.prototype._subscribe = function(t) {
937
917
  var r;
938
918
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
939
- }, e.prototype[di] = function() {
919
+ }, e.prototype[ci] = function() {
940
920
  return this;
941
921
  }, e.prototype.pipe = function() {
942
922
  for (var t = [], r = 0; r < arguments.length; r++)
943
923
  t[r] = arguments[r];
944
- return bi(t)(this);
924
+ return mi(t)(this);
945
925
  }, e.prototype.toPromise = function(t) {
946
926
  var r = this;
947
- return t = xt(t), new t(function(i, n) {
927
+ return t = gt(t), new t(function(i, n) {
948
928
  var o;
949
929
  r.subscribe(function(a) {
950
930
  return o = a;
@@ -958,32 +938,32 @@ var _t = function() {
958
938
  return new e(t);
959
939
  }, e;
960
940
  }();
961
- function xt(e) {
941
+ function gt(e) {
962
942
  var t;
963
- return (t = e ?? Qt.Promise) !== null && t !== void 0 ? t : Promise;
943
+ return (t = e ?? oi.Promise) !== null && t !== void 0 ? t : Promise;
964
944
  }
965
- function gi(e) {
945
+ function pi(e) {
966
946
  return e && U(e.next) && U(e.error) && U(e.complete);
967
947
  }
968
- function vi(e) {
969
- return e && e instanceof Yt || gi(e) && Zt(e);
948
+ function di(e) {
949
+ return e && e instanceof Wt || pi(e) && Vt(e);
970
950
  }
971
- var _i = Wt(function(e) {
951
+ var yi = jt(function(e) {
972
952
  return function() {
973
953
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
974
954
  };
975
- }), Jt = function(e) {
955
+ }), Xt = function(e) {
976
956
  $(t, e);
977
957
  function t() {
978
958
  var r = e.call(this) || this;
979
959
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
980
960
  }
981
961
  return t.prototype.lift = function(r) {
982
- var i = new Et(this, this);
962
+ var i = new vt(this, this);
983
963
  return i.operator = r, i;
984
964
  }, t.prototype._throwIfClosed = function() {
985
965
  if (this.closed)
986
- throw new _i();
966
+ throw new yi();
987
967
  }, t.prototype.next = function(r) {
988
968
  var i = this;
989
969
  Ee(function() {
@@ -991,7 +971,7 @@ var _i = Wt(function(e) {
991
971
  if (i._throwIfClosed(), !i.isStopped) {
992
972
  i.currentObservers || (i.currentObservers = Array.from(i.observers));
993
973
  try {
994
- for (var a = Ye(i.currentObservers), s = a.next(); !s.done; s = a.next()) {
974
+ for (var a = Qe(i.currentObservers), s = a.next(); !s.done; s = a.next()) {
995
975
  var h = s.value;
996
976
  h.next(r);
997
977
  }
@@ -1040,19 +1020,19 @@ var _i = Wt(function(e) {
1040
1020
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
1041
1021
  }, t.prototype._innerSubscribe = function(r) {
1042
1022
  var i = this, n = this, o = n.hasError, a = n.isStopped, s = n.observers;
1043
- return o || a ? Xt : (this.currentObservers = null, s.push(r), new Ae(function() {
1044
- i.currentObservers = null, qe(s, r);
1023
+ return o || a ? kt : (this.currentObservers = null, s.push(r), new Pe(function() {
1024
+ i.currentObservers = null, Je(s, r);
1045
1025
  }));
1046
1026
  }, t.prototype._checkFinalizedStatuses = function(r) {
1047
1027
  var i = this, n = i.hasError, o = i.thrownError, a = i.isStopped;
1048
1028
  n ? r.error(o) : a && r.complete();
1049
1029
  }, t.prototype.asObservable = function() {
1050
- var r = new _t();
1030
+ var r = new bt();
1051
1031
  return r.source = this, r;
1052
1032
  }, t.create = function(r, i) {
1053
- return new Et(r, i);
1033
+ return new vt(r, i);
1054
1034
  }, t;
1055
- }(_t), Et = function(e) {
1035
+ }(bt), vt = function(e) {
1056
1036
  $(t, e);
1057
1037
  function t(r, i) {
1058
1038
  var n = e.call(this) || this;
@@ -1069,17 +1049,17 @@ var _i = Wt(function(e) {
1069
1049
  (i = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || i === void 0 || i.call(r);
1070
1050
  }, t.prototype._subscribe = function(r) {
1071
1051
  var i, n;
1072
- return (n = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(r)) !== null && n !== void 0 ? n : Xt;
1052
+ return (n = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(r)) !== null && n !== void 0 ? n : kt;
1073
1053
  }, t;
1074
- }(Jt), qt = {
1054
+ }(Xt), Zt = {
1075
1055
  now: function() {
1076
- return (qt.delegate || Date).now();
1056
+ return (Zt.delegate || Date).now();
1077
1057
  },
1078
1058
  delegate: void 0
1079
- }, xi = function(e) {
1059
+ }, bi = function(e) {
1080
1060
  $(t, e);
1081
1061
  function t(r, i, n) {
1082
- r === void 0 && (r = 1 / 0), i === void 0 && (i = 1 / 0), n === void 0 && (n = qt);
1062
+ r === void 0 && (r = 1 / 0), i === void 0 && (i = 1 / 0), n === void 0 && (n = Zt);
1083
1063
  var o = e.call(this) || this;
1084
1064
  return o._bufferSize = r, o._windowTime = i, o._timestampProvider = n, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = i === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, i), o;
1085
1065
  }
@@ -1099,24 +1079,24 @@ var _i = Wt(function(e) {
1099
1079
  u && o.splice(0, u + 1);
1100
1080
  }
1101
1081
  }, t;
1102
- }(Jt);
1103
- const Tt = [], Lt = {}, Ei = (e, t = 0) => {
1104
- if (Tt.indexOf(e) == -1) {
1105
- const r = new xi(t);
1106
- Lt[e] = r, Tt.push(e);
1082
+ }(Xt);
1083
+ const _t = [], xt = {}, gi = (e, t = 0) => {
1084
+ if (_t.indexOf(e) == -1) {
1085
+ const r = new bi(t);
1086
+ xt[e] = r, _t.push(e);
1107
1087
  }
1108
- return Lt[e];
1088
+ return xt[e];
1109
1089
  }, Q = [];
1110
- function Ti(e, t) {
1090
+ function vi(e, t) {
1111
1091
  return {
1112
- subscribe: Pe(e, t).subscribe
1092
+ subscribe: Ae(e, t).subscribe
1113
1093
  };
1114
1094
  }
1115
- function Pe(e, t = C) {
1095
+ function Ae(e, t = O) {
1116
1096
  let r;
1117
1097
  const i = /* @__PURE__ */ new Set();
1118
1098
  function n(s) {
1119
- if (Ft(e, s) && (e = s, r)) {
1099
+ if (Ut(e, s) && (e = s, r)) {
1120
1100
  const h = !Q.length;
1121
1101
  for (const u of i)
1122
1102
  u[1](), Q.push(u, e);
@@ -1130,9 +1110,9 @@ function Pe(e, t = C) {
1130
1110
  function o(s) {
1131
1111
  n(s(e));
1132
1112
  }
1133
- function a(s, h = C) {
1113
+ function a(s, h = O) {
1134
1114
  const u = [s, h];
1135
- return i.add(u), i.size === 1 && (r = t(n, o) || C), s(e), () => {
1115
+ return i.add(u), i.size === 1 && (r = t(n, o) || O), s(e), () => {
1136
1116
  i.delete(u), i.size === 0 && r && (r(), r = null);
1137
1117
  };
1138
1118
  }
@@ -1143,18 +1123,18 @@ function ne(e, t, r) {
1143
1123
  if (!n.every(Boolean))
1144
1124
  throw new Error("derived() expects stores as input, got a falsy value");
1145
1125
  const o = t.length < 2;
1146
- return Ti(r, (a, s) => {
1126
+ return vi(r, (a, s) => {
1147
1127
  let h = !1;
1148
1128
  const u = [];
1149
- let l = 0, c = C;
1129
+ let l = 0, c = O;
1150
1130
  const f = () => {
1151
1131
  if (l)
1152
1132
  return;
1153
1133
  c();
1154
1134
  const y = t(i ? u[0] : u, a, s);
1155
- o ? a(y) : c = ut(y) ? y : C;
1135
+ o ? a(y) : c = at(y) ? y : O;
1156
1136
  }, p = n.map(
1157
- (y, d) => jt(
1137
+ (y, d) => $t(
1158
1138
  y,
1159
1139
  (v) => {
1160
1140
  u[d] = v, l &= ~(1 << d), h && f();
@@ -1169,70 +1149,70 @@ function ne(e, t, r) {
1169
1149
  };
1170
1150
  });
1171
1151
  }
1172
- function Li(e) {
1152
+ function _i(e) {
1173
1153
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1174
1154
  }
1175
- var Si = function(t) {
1176
- return wi(t) && !Hi(t);
1155
+ var xi = function(t) {
1156
+ return Ei(t) && !Ti(t);
1177
1157
  };
1178
- function wi(e) {
1158
+ function Ei(e) {
1179
1159
  return !!e && typeof e == "object";
1180
1160
  }
1181
- function Hi(e) {
1161
+ function Ti(e) {
1182
1162
  var t = Object.prototype.toString.call(e);
1183
- return t === "[object RegExp]" || t === "[object Date]" || Bi(e);
1163
+ return t === "[object RegExp]" || t === "[object Date]" || wi(e);
1184
1164
  }
1185
- var Ai = typeof Symbol == "function" && Symbol.for, Pi = Ai ? Symbol.for("react.element") : 60103;
1186
- function Bi(e) {
1187
- return e.$$typeof === Pi;
1165
+ var Li = typeof Symbol == "function" && Symbol.for, Si = Li ? Symbol.for("react.element") : 60103;
1166
+ function wi(e) {
1167
+ return e.$$typeof === Si;
1188
1168
  }
1189
- function Ci(e) {
1169
+ function Hi(e) {
1190
1170
  return Array.isArray(e) ? [] : {};
1191
1171
  }
1192
1172
  function ce(e, t) {
1193
- return t.clone !== !1 && t.isMergeableObject(e) ? K(Ci(e), e, t) : e;
1173
+ return t.clone !== !1 && t.isMergeableObject(e) ? K(Hi(e), e, t) : e;
1194
1174
  }
1195
- function Oi(e, t, r) {
1175
+ function Pi(e, t, r) {
1196
1176
  return e.concat(t).map(function(i) {
1197
1177
  return ce(i, r);
1198
1178
  });
1199
1179
  }
1200
- function Ii(e, t) {
1180
+ function Ai(e, t) {
1201
1181
  if (!t.customMerge)
1202
1182
  return K;
1203
1183
  var r = t.customMerge(e);
1204
1184
  return typeof r == "function" ? r : K;
1205
1185
  }
1206
- function Ni(e) {
1186
+ function Bi(e) {
1207
1187
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1208
1188
  return Object.propertyIsEnumerable.call(e, t);
1209
1189
  }) : [];
1210
1190
  }
1211
- function St(e) {
1212
- return Object.keys(e).concat(Ni(e));
1191
+ function Et(e) {
1192
+ return Object.keys(e).concat(Bi(e));
1213
1193
  }
1214
- function Kt(e, t) {
1194
+ function Qt(e, t) {
1215
1195
  try {
1216
1196
  return t in e;
1217
1197
  } catch {
1218
1198
  return !1;
1219
1199
  }
1220
1200
  }
1221
- function Mi(e, t) {
1222
- return Kt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1201
+ function Oi(e, t) {
1202
+ return Qt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1223
1203
  }
1224
- function Ri(e, t, r) {
1204
+ function Ci(e, t, r) {
1225
1205
  var i = {};
1226
- return r.isMergeableObject(e) && St(e).forEach(function(n) {
1206
+ return r.isMergeableObject(e) && Et(e).forEach(function(n) {
1227
1207
  i[n] = ce(e[n], r);
1228
- }), St(t).forEach(function(n) {
1229
- Mi(e, n) || (Kt(e, n) && r.isMergeableObject(t[n]) ? i[n] = Ii(n, r)(e[n], t[n], r) : i[n] = ce(t[n], r));
1208
+ }), Et(t).forEach(function(n) {
1209
+ Oi(e, n) || (Qt(e, n) && r.isMergeableObject(t[n]) ? i[n] = Ai(n, r)(e[n], t[n], r) : i[n] = ce(t[n], r));
1230
1210
  }), i;
1231
1211
  }
1232
1212
  function K(e, t, r) {
1233
- r = r || {}, r.arrayMerge = r.arrayMerge || Oi, r.isMergeableObject = r.isMergeableObject || Si, r.cloneUnlessOtherwiseSpecified = ce;
1213
+ r = r || {}, r.arrayMerge = r.arrayMerge || Pi, r.isMergeableObject = r.isMergeableObject || xi, r.cloneUnlessOtherwiseSpecified = ce;
1234
1214
  var i = Array.isArray(t), n = Array.isArray(e), o = i === n;
1235
- return o ? i ? r.arrayMerge(e, t, r) : Ri(e, t, r) : ce(t, r);
1215
+ return o ? i ? r.arrayMerge(e, t, r) : Ci(e, t, r) : ce(t, r);
1236
1216
  }
1237
1217
  K.all = function(t, r) {
1238
1218
  if (!Array.isArray(t))
@@ -1241,58 +1221,56 @@ K.all = function(t, r) {
1241
1221
  return K(i, n, r);
1242
1222
  }, {});
1243
1223
  };
1244
- var Di = K, zi = Di;
1245
- const Ui = /* @__PURE__ */ Li(zi);
1246
- function $e(e, t) {
1247
- var r = t && t.cache ? t.cache : Vi, i = t && t.serializer ? t.serializer : ki, n = t && t.strategy ? t.strategy : Gi;
1224
+ var Ii = K, Ni = Ii;
1225
+ const Mi = /* @__PURE__ */ _i(Ni);
1226
+ function Ue(e, t) {
1227
+ var r = t && t.cache ? t.cache : Fi, i = t && t.serializer ? t.serializer : $i, n = t && t.strategy ? t.strategy : zi;
1248
1228
  return n(e, {
1249
1229
  cache: r,
1250
1230
  serializer: i
1251
1231
  });
1252
1232
  }
1253
- function $i(e) {
1233
+ function Ri(e) {
1254
1234
  return e == null || typeof e == "number" || typeof e == "boolean";
1255
1235
  }
1256
- function er(e, t, r, i) {
1257
- var n = $i(i) ? i : r(i), o = t.get(n);
1236
+ function Di(e, t, r, i) {
1237
+ var n = Ri(i) ? i : r(i), o = t.get(n);
1258
1238
  return typeof o > "u" && (o = e.call(this, i), t.set(n, o)), o;
1259
1239
  }
1260
- function tr(e, t, r) {
1240
+ function Yt(e, t, r) {
1261
1241
  var i = Array.prototype.slice.call(arguments, 3), n = r(i), o = t.get(n);
1262
1242
  return typeof o > "u" && (o = e.apply(this, i), t.set(n, o)), o;
1263
1243
  }
1264
- function lt(e, t, r, i, n) {
1244
+ function Jt(e, t, r, i, n) {
1265
1245
  return r.bind(t, e, i, n);
1266
1246
  }
1267
- function Gi(e, t) {
1268
- var r = e.length === 1 ? er : tr;
1269
- return lt(e, this, r, t.cache.create(), t.serializer);
1247
+ function zi(e, t) {
1248
+ var r = e.length === 1 ? Di : Yt;
1249
+ return Jt(e, this, r, t.cache.create(), t.serializer);
1270
1250
  }
1271
- function Fi(e, t) {
1272
- return lt(e, this, tr, t.cache.create(), t.serializer);
1251
+ function Ui(e, t) {
1252
+ return Jt(e, this, Yt, t.cache.create(), t.serializer);
1273
1253
  }
1274
- function ji(e, t) {
1275
- return lt(e, this, er, t.cache.create(), t.serializer);
1276
- }
1277
- var ki = function() {
1254
+ var $i = function() {
1278
1255
  return JSON.stringify(arguments);
1279
- };
1280
- function ht() {
1281
- this.cache = /* @__PURE__ */ Object.create(null);
1282
- }
1283
- ht.prototype.get = function(e) {
1284
- return this.cache[e];
1285
- };
1286
- ht.prototype.set = function(e, t) {
1287
- this.cache[e] = t;
1288
- };
1289
- var Vi = {
1256
+ }, Gi = (
1257
+ /** @class */
1258
+ function() {
1259
+ function e() {
1260
+ this.cache = /* @__PURE__ */ Object.create(null);
1261
+ }
1262
+ return e.prototype.get = function(t) {
1263
+ return this.cache[t];
1264
+ }, e.prototype.set = function(t, r) {
1265
+ this.cache[t] = r;
1266
+ }, e;
1267
+ }()
1268
+ ), Fi = {
1290
1269
  create: function() {
1291
- return new ht();
1270
+ return new Gi();
1292
1271
  }
1293
- }, Ge = {
1294
- variadic: Fi,
1295
- monadic: ji
1272
+ }, $e = {
1273
+ variadic: Ui
1296
1274
  }, g;
1297
1275
  (function(e) {
1298
1276
  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";
@@ -1305,43 +1283,43 @@ var ee;
1305
1283
  (function(e) {
1306
1284
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1307
1285
  })(ee || (ee = {}));
1308
- function wt(e) {
1286
+ function Tt(e) {
1309
1287
  return e.type === S.literal;
1310
1288
  }
1311
- function Wi(e) {
1289
+ function ji(e) {
1312
1290
  return e.type === S.argument;
1313
1291
  }
1314
- function rr(e) {
1292
+ function qt(e) {
1315
1293
  return e.type === S.number;
1316
1294
  }
1317
- function ir(e) {
1295
+ function Kt(e) {
1318
1296
  return e.type === S.date;
1319
1297
  }
1320
- function nr(e) {
1298
+ function er(e) {
1321
1299
  return e.type === S.time;
1322
1300
  }
1323
- function or(e) {
1301
+ function tr(e) {
1324
1302
  return e.type === S.select;
1325
1303
  }
1326
- function sr(e) {
1304
+ function rr(e) {
1327
1305
  return e.type === S.plural;
1328
1306
  }
1329
- function Xi(e) {
1307
+ function ki(e) {
1330
1308
  return e.type === S.pound;
1331
1309
  }
1332
- function ar(e) {
1310
+ function ir(e) {
1333
1311
  return e.type === S.tag;
1334
1312
  }
1335
- function ur(e) {
1313
+ function nr(e) {
1336
1314
  return !!(e && typeof e == "object" && e.type === ee.number);
1337
1315
  }
1338
- function et(e) {
1316
+ function Ke(e) {
1339
1317
  return !!(e && typeof e == "object" && e.type === ee.dateTime);
1340
1318
  }
1341
- var lr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Zi = /(?:[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;
1342
- function Qi(e) {
1319
+ var or = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Vi = /(?:[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;
1320
+ function Wi(e) {
1343
1321
  var t = {};
1344
- return e.replace(Zi, function(r) {
1322
+ return e.replace(Vi, function(r) {
1345
1323
  var i = r.length;
1346
1324
  switch (r[0]) {
1347
1325
  case "G":
@@ -1430,11 +1408,11 @@ function Qi(e) {
1430
1408
  return "";
1431
1409
  }), t;
1432
1410
  }
1433
- var Yi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1434
- function Ji(e) {
1411
+ var Xi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1412
+ function Zi(e) {
1435
1413
  if (e.length === 0)
1436
1414
  throw new Error("Number skeleton cannot be empty");
1437
- for (var t = e.split(Yi).filter(function(f) {
1415
+ for (var t = e.split(Xi).filter(function(f) {
1438
1416
  return f.length > 0;
1439
1417
  }), r = [], i = 0, n = t; i < n.length; i++) {
1440
1418
  var o = n[i], a = o.split("/");
@@ -1449,17 +1427,17 @@ function Ji(e) {
1449
1427
  }
1450
1428
  return r;
1451
1429
  }
1452
- function qi(e) {
1430
+ function Qi(e) {
1453
1431
  return e.replace(/^(.*?)-/, "");
1454
1432
  }
1455
- var Ht = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, hr = /^(@+)?(\+|#+)?[rs]?$/g, Ki = /(\*)(0+)|(#+)(0+)|(0+)/g, cr = /^(0+)$/;
1456
- function At(e) {
1433
+ var Lt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, sr = /^(@+)?(\+|#+)?[rs]?$/g, Yi = /(\*)(0+)|(#+)(0+)|(0+)/g, ar = /^(0+)$/;
1434
+ function St(e) {
1457
1435
  var t = {};
1458
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(hr, function(r, i, n) {
1436
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(sr, function(r, i, n) {
1459
1437
  return typeof n != "string" ? (t.minimumSignificantDigits = i.length, t.maximumSignificantDigits = i.length) : n === "+" ? t.minimumSignificantDigits = i.length : i[0] === "#" ? t.maximumSignificantDigits = i.length : (t.minimumSignificantDigits = i.length, t.maximumSignificantDigits = i.length + (typeof n == "string" ? n.length : 0)), "";
1460
1438
  }), t;
1461
1439
  }
1462
- function fr(e) {
1440
+ function ur(e) {
1463
1441
  switch (e) {
1464
1442
  case "sign-auto":
1465
1443
  return {
@@ -1499,7 +1477,7 @@ function fr(e) {
1499
1477
  };
1500
1478
  }
1501
1479
  }
1502
- function en(e) {
1480
+ function Ji(e) {
1503
1481
  var t;
1504
1482
  if (e[0] === "E" && e[1] === "E" ? (t = {
1505
1483
  notation: "engineering"
@@ -1507,17 +1485,17 @@ function en(e) {
1507
1485
  notation: "scientific"
1508
1486
  }, e = e.slice(1)), t) {
1509
1487
  var r = e.slice(0, 2);
1510
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !cr.test(e))
1488
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !ar.test(e))
1511
1489
  throw new Error("Malformed concise eng/scientific notation");
1512
1490
  t.minimumIntegerDigits = e.length;
1513
1491
  }
1514
1492
  return t;
1515
1493
  }
1516
- function Pt(e) {
1517
- var t = {}, r = fr(e);
1494
+ function wt(e) {
1495
+ var t = {}, r = ur(e);
1518
1496
  return r || t;
1519
1497
  }
1520
- function tn(e) {
1498
+ function qi(e) {
1521
1499
  for (var t = {}, r = 0, i = e; r < i.length; r++) {
1522
1500
  var n = i[r];
1523
1501
  switch (n.stem) {
@@ -1541,7 +1519,7 @@ function tn(e) {
1541
1519
  continue;
1542
1520
  case "measure-unit":
1543
1521
  case "unit":
1544
- t.style = "unit", t.unit = qi(n.options[0]);
1522
+ t.style = "unit", t.unit = Qi(n.options[0]);
1545
1523
  continue;
1546
1524
  case "compact-short":
1547
1525
  case "K":
@@ -1553,12 +1531,12 @@ function tn(e) {
1553
1531
  continue;
1554
1532
  case "scientific":
1555
1533
  t = x(x(x({}, t), { notation: "scientific" }), n.options.reduce(function(h, u) {
1556
- return x(x({}, h), Pt(u));
1534
+ return x(x({}, h), wt(u));
1557
1535
  }, {}));
1558
1536
  continue;
1559
1537
  case "engineering":
1560
1538
  t = x(x(x({}, t), { notation: "engineering" }), n.options.reduce(function(h, u) {
1561
- return x(x({}, h), Pt(u));
1539
+ return x(x({}, h), wt(u));
1562
1540
  }, {}));
1563
1541
  continue;
1564
1542
  case "notation-simple":
@@ -1603,7 +1581,7 @@ function tn(e) {
1603
1581
  case "integer-width":
1604
1582
  if (n.options.length > 1)
1605
1583
  throw new RangeError("integer-width stems only accept a single optional option");
1606
- n.options[0].replace(Ki, function(h, u, l, c, f, p) {
1584
+ n.options[0].replace(Yi, function(h, u, l, c, f, p) {
1607
1585
  if (u)
1608
1586
  t.minimumIntegerDigits = l.length;
1609
1587
  else {
@@ -1616,27 +1594,27 @@ function tn(e) {
1616
1594
  });
1617
1595
  continue;
1618
1596
  }
1619
- if (cr.test(n.stem)) {
1597
+ if (ar.test(n.stem)) {
1620
1598
  t.minimumIntegerDigits = n.stem.length;
1621
1599
  continue;
1622
1600
  }
1623
- if (Ht.test(n.stem)) {
1601
+ if (Lt.test(n.stem)) {
1624
1602
  if (n.options.length > 1)
1625
1603
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1626
- n.stem.replace(Ht, function(h, u, l, c, f, p) {
1604
+ n.stem.replace(Lt, function(h, u, l, c, f, p) {
1627
1605
  return l === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1628
1606
  });
1629
1607
  var o = n.options[0];
1630
- o === "w" ? t = x(x({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = x(x({}, t), At(o)));
1608
+ o === "w" ? t = x(x({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = x(x({}, t), St(o)));
1631
1609
  continue;
1632
1610
  }
1633
- if (hr.test(n.stem)) {
1634
- t = x(x({}, t), At(n.stem));
1611
+ if (sr.test(n.stem)) {
1612
+ t = x(x({}, t), St(n.stem));
1635
1613
  continue;
1636
1614
  }
1637
- var a = fr(n.stem);
1615
+ var a = ur(n.stem);
1638
1616
  a && (t = x(x({}, t), a));
1639
- var s = en(n.stem);
1617
+ var s = Ji(n.stem);
1640
1618
  s && (t = x(x({}, t), s));
1641
1619
  }
1642
1620
  return t;
@@ -3056,13 +3034,13 @@ var ve = {
3056
3034
  "h"
3057
3035
  ]
3058
3036
  };
3059
- function rn(e, t) {
3037
+ function Ki(e, t) {
3060
3038
  for (var r = "", i = 0; i < e.length; i++) {
3061
3039
  var n = e.charAt(i);
3062
3040
  if (n === "j") {
3063
3041
  for (var o = 0; i + 1 < e.length && e.charAt(i + 1) === n; )
3064
3042
  o++, i++;
3065
- var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = nn(t);
3043
+ var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = en(t);
3066
3044
  for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
3067
3045
  r += h;
3068
3046
  for (; a-- > 0; )
@@ -3072,7 +3050,7 @@ function rn(e, t) {
3072
3050
  }
3073
3051
  return r;
3074
3052
  }
3075
- function nn(e) {
3053
+ function en(e) {
3076
3054
  var t = e.hourCycle;
3077
3055
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3078
3056
  e.hourCycles && // @ts-ignore
@@ -3094,20 +3072,20 @@ function nn(e) {
3094
3072
  var n = ve[i || ""] || ve[r || ""] || ve["".concat(r, "-001")] || ve["001"];
3095
3073
  return n[0];
3096
3074
  }
3097
- var Fe, on = new RegExp("^".concat(lr.source, "*")), sn = new RegExp("".concat(lr.source, "*$"));
3075
+ var Ge, tn = new RegExp("^".concat(or.source, "*")), rn = new RegExp("".concat(or.source, "*$"));
3098
3076
  function _(e, t) {
3099
3077
  return { start: e, end: t };
3100
3078
  }
3101
- var an = !!String.prototype.startsWith && "_a".startsWith("a", 1), un = !!String.fromCodePoint, ln = !!Object.fromEntries, hn = !!String.prototype.codePointAt, cn = !!String.prototype.trimStart, fn = !!String.prototype.trimEnd, mn = !!Number.isSafeInteger, pn = mn ? Number.isSafeInteger : function(e) {
3079
+ var nn = !!String.prototype.startsWith && "_a".startsWith("a", 1), on = !!String.fromCodePoint, sn = !!Object.fromEntries, an = !!String.prototype.codePointAt, un = !!String.prototype.trimStart, ln = !!String.prototype.trimEnd, hn = !!Number.isSafeInteger, cn = hn ? Number.isSafeInteger : function(e) {
3102
3080
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3103
- }, tt = !0;
3081
+ }, et = !0;
3104
3082
  try {
3105
- var dn = pr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3106
- tt = ((Fe = dn.exec("a")) === null || Fe === void 0 ? void 0 : Fe[0]) === "a";
3083
+ var fn = hr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3084
+ et = ((Ge = fn.exec("a")) === null || Ge === void 0 ? void 0 : Ge[0]) === "a";
3107
3085
  } catch {
3108
- tt = !1;
3086
+ et = !1;
3109
3087
  }
3110
- var Bt = an ? (
3088
+ var Ht = nn ? (
3111
3089
  // Native
3112
3090
  function(t, r, i) {
3113
3091
  return t.startsWith(r, i);
@@ -3117,7 +3095,7 @@ var Bt = an ? (
3117
3095
  function(t, r, i) {
3118
3096
  return t.slice(i, i + r.length) === r;
3119
3097
  }
3120
- ), rt = un ? String.fromCodePoint : (
3098
+ ), tt = on ? String.fromCodePoint : (
3121
3099
  // IE11
3122
3100
  function() {
3123
3101
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3129,9 +3107,9 @@ var Bt = an ? (
3129
3107
  }
3130
3108
  return i;
3131
3109
  }
3132
- ), Ct = (
3110
+ ), Pt = (
3133
3111
  // native
3134
- ln ? Object.fromEntries : (
3112
+ sn ? Object.fromEntries : (
3135
3113
  // Ponyfill
3136
3114
  function(t) {
3137
3115
  for (var r = {}, i = 0, n = t; i < n.length; i++) {
@@ -3141,7 +3119,7 @@ var Bt = an ? (
3141
3119
  return r;
3142
3120
  }
3143
3121
  )
3144
- ), mr = hn ? (
3122
+ ), lr = an ? (
3145
3123
  // Native
3146
3124
  function(t, r) {
3147
3125
  return t.codePointAt(r);
@@ -3155,7 +3133,7 @@ var Bt = an ? (
3155
3133
  return n < 55296 || n > 56319 || r + 1 === i || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? n : (n - 55296 << 10) + (o - 56320) + 65536;
3156
3134
  }
3157
3135
  }
3158
- ), yn = cn ? (
3136
+ ), mn = un ? (
3159
3137
  // Native
3160
3138
  function(t) {
3161
3139
  return t.trimStart();
@@ -3163,9 +3141,9 @@ var Bt = an ? (
3163
3141
  ) : (
3164
3142
  // Ponyfill
3165
3143
  function(t) {
3166
- return t.replace(on, "");
3144
+ return t.replace(tn, "");
3167
3145
  }
3168
- ), bn = fn ? (
3146
+ ), pn = ln ? (
3169
3147
  // Native
3170
3148
  function(t) {
3171
3149
  return t.trimEnd();
@@ -3173,32 +3151,32 @@ var Bt = an ? (
3173
3151
  ) : (
3174
3152
  // Ponyfill
3175
3153
  function(t) {
3176
- return t.replace(sn, "");
3154
+ return t.replace(rn, "");
3177
3155
  }
3178
3156
  );
3179
- function pr(e, t) {
3157
+ function hr(e, t) {
3180
3158
  return new RegExp(e, t);
3181
3159
  }
3182
- var it;
3183
- if (tt) {
3184
- var Ot = pr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3185
- it = function(t, r) {
3160
+ var rt;
3161
+ if (et) {
3162
+ var At = hr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3163
+ rt = function(t, r) {
3186
3164
  var i;
3187
- Ot.lastIndex = r;
3188
- var n = Ot.exec(t);
3165
+ At.lastIndex = r;
3166
+ var n = At.exec(t);
3189
3167
  return (i = n[1]) !== null && i !== void 0 ? i : "";
3190
3168
  };
3191
3169
  } else
3192
- it = function(t, r) {
3170
+ rt = function(t, r) {
3193
3171
  for (var i = []; ; ) {
3194
- var n = mr(t, r);
3195
- if (n === void 0 || dr(n) || xn(n))
3172
+ var n = lr(t, r);
3173
+ if (n === void 0 || cr(n) || gn(n))
3196
3174
  break;
3197
3175
  i.push(n), r += n >= 65536 ? 2 : 1;
3198
3176
  }
3199
- return rt.apply(void 0, i);
3177
+ return tt.apply(void 0, i);
3200
3178
  };
3201
- var gn = (
3179
+ var dn = (
3202
3180
  /** @class */
3203
3181
  function() {
3204
3182
  function e(t, r) {
@@ -3229,7 +3207,7 @@ var gn = (
3229
3207
  if (i)
3230
3208
  break;
3231
3209
  return this.error(g.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
3232
- } else if (o === 60 && !this.ignoreTag && nt(this.peek() || 0)) {
3210
+ } else if (o === 60 && !this.ignoreTag && it(this.peek() || 0)) {
3233
3211
  var a = this.parseTag(t, r);
3234
3212
  if (a.err)
3235
3213
  return a;
@@ -3262,7 +3240,7 @@ var gn = (
3262
3240
  return o;
3263
3241
  var a = o.val, s = this.clonePosition();
3264
3242
  if (this.bumpIf("</")) {
3265
- if (this.isEOF() || !nt(this.char()))
3243
+ if (this.isEOF() || !it(this.char()))
3266
3244
  return this.error(g.INVALID_TAG, _(s, this.clonePosition()));
3267
3245
  var h = this.clonePosition(), u = this.parseTagName();
3268
3246
  return n !== u ? this.error(g.UNMATCHED_CLOSING_TAG, _(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
@@ -3280,7 +3258,7 @@ var gn = (
3280
3258
  return this.error(g.INVALID_TAG, _(i, this.clonePosition()));
3281
3259
  }, e.prototype.parseTagName = function() {
3282
3260
  var t = this.offset();
3283
- for (this.bump(); !this.isEOF() && _n(this.char()); )
3261
+ for (this.bump(); !this.isEOF() && bn(this.char()); )
3284
3262
  this.bump();
3285
3263
  return this.message.slice(t, this.offset());
3286
3264
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3309,7 +3287,7 @@ var gn = (
3309
3287
  };
3310
3288
  }, e.prototype.tryParseLeftAngleBracket = function() {
3311
3289
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3312
- !vn(this.peek() || 0)) ? (this.bump(), "<") : null;
3290
+ !yn(this.peek() || 0)) ? (this.bump(), "<") : null;
3313
3291
  }, e.prototype.tryParseQuote = function(t) {
3314
3292
  if (this.isEOF() || this.char() !== 39)
3315
3293
  return null;
@@ -3343,12 +3321,12 @@ var gn = (
3343
3321
  r.push(i);
3344
3322
  this.bump();
3345
3323
  }
3346
- return rt.apply(void 0, r);
3324
+ return tt.apply(void 0, r);
3347
3325
  }, e.prototype.tryParseUnquoted = function(t, r) {
3348
3326
  if (this.isEOF())
3349
3327
  return null;
3350
3328
  var i = this.char();
3351
- return i === 60 || i === 123 || i === 35 && (r === "plural" || r === "selectordinal") || i === 125 && t > 0 ? null : (this.bump(), rt(i));
3329
+ return i === 60 || i === 123 || i === 35 && (r === "plural" || r === "selectordinal") || i === 125 && t > 0 ? null : (this.bump(), tt(i));
3352
3330
  }, e.prototype.parseArgument = function(t, r) {
3353
3331
  var i = this.clonePosition();
3354
3332
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3377,7 +3355,7 @@ var gn = (
3377
3355
  return this.error(g.MALFORMED_ARGUMENT, _(i, this.clonePosition()));
3378
3356
  }
3379
3357
  }, e.prototype.parseIdentifierIfPossible = function() {
3380
- var t = this.clonePosition(), r = this.offset(), i = it(this.message, r), n = r + i.length;
3358
+ var t = this.clonePosition(), r = this.offset(), i = rt(this.message, r), n = r + i.length;
3381
3359
  this.bumpTo(n);
3382
3360
  var o = this.clonePosition(), a = _(t, o);
3383
3361
  return { value: i, location: a };
@@ -3396,7 +3374,7 @@ var gn = (
3396
3374
  var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3397
3375
  if (c.err)
3398
3376
  return c;
3399
- var f = bn(c.val);
3377
+ var f = pn(c.val);
3400
3378
  if (f.length === 0)
3401
3379
  return this.error(g.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
3402
3380
  var p = _(l, this.clonePosition());
@@ -3406,8 +3384,8 @@ var gn = (
3406
3384
  if (y.err)
3407
3385
  return y;
3408
3386
  var d = _(n, this.clonePosition());
3409
- if (u && Bt(u?.style, "::", 0)) {
3410
- var v = yn(u.style.slice(2));
3387
+ if (u && Ht(u?.style, "::", 0)) {
3388
+ var v = mn(u.style.slice(2));
3411
3389
  if (s === "number") {
3412
3390
  var c = this.parseNumberSkeletonFromString(v, u.styleLocation);
3413
3391
  return c.err ? c : {
@@ -3417,13 +3395,13 @@ var gn = (
3417
3395
  } else {
3418
3396
  if (v.length === 0)
3419
3397
  return this.error(g.EXPECT_DATE_TIME_SKELETON, d);
3420
- var P = v;
3421
- this.locale && (P = rn(v, this.locale));
3398
+ var A = v;
3399
+ this.locale && (A = Ki(v, this.locale));
3422
3400
  var f = {
3423
3401
  type: ee.dateTime,
3424
- pattern: P,
3402
+ pattern: A,
3425
3403
  location: u.styleLocation,
3426
- parsedOptions: this.shouldParseSkeletons ? Qi(P) : {}
3404
+ parsedOptions: this.shouldParseSkeletons ? Wi(A) : {}
3427
3405
  }, b = s === "date" ? S.date : S.time;
3428
3406
  return {
3429
3407
  val: { type: b, value: i, location: d, style: f },
@@ -3469,7 +3447,7 @@ var gn = (
3469
3447
  val: {
3470
3448
  type: S.select,
3471
3449
  value: i,
3472
- options: Ct(D.val),
3450
+ options: Pt(D.val),
3473
3451
  location: k
3474
3452
  },
3475
3453
  err: null
@@ -3477,7 +3455,7 @@ var gn = (
3477
3455
  val: {
3478
3456
  type: S.plural,
3479
3457
  value: i,
3480
- options: Ct(D.val),
3458
+ options: Pt(D.val),
3481
3459
  offset: N,
3482
3460
  pluralType: s === "plural" ? "cardinal" : "ordinal",
3483
3461
  location: k
@@ -3528,7 +3506,7 @@ var gn = (
3528
3506
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3529
3507
  var i = [];
3530
3508
  try {
3531
- i = Ji(t);
3509
+ i = Zi(t);
3532
3510
  } catch {
3533
3511
  return this.error(g.INVALID_NUMBER_SKELETON, r);
3534
3512
  }
@@ -3537,7 +3515,7 @@ var gn = (
3537
3515
  type: ee.number,
3538
3516
  tokens: i,
3539
3517
  location: r,
3540
- parsedOptions: this.shouldParseSkeletons ? tn(i) : {}
3518
+ parsedOptions: this.shouldParseSkeletons ? qi(i) : {}
3541
3519
  },
3542
3520
  err: null
3543
3521
  };
@@ -3585,7 +3563,7 @@ var gn = (
3585
3563
  break;
3586
3564
  }
3587
3565
  var h = _(n, this.clonePosition());
3588
- return o ? (a *= i, pn(a) ? { val: a, err: null } : this.error(r, h)) : this.error(t, h);
3566
+ return o ? (a *= i, cn(a) ? { val: a, err: null } : this.error(r, h)) : this.error(t, h);
3589
3567
  }, e.prototype.offset = function() {
3590
3568
  return this.position.offset;
3591
3569
  }, e.prototype.isEOF = function() {
@@ -3600,7 +3578,7 @@ var gn = (
3600
3578
  var t = this.position.offset;
3601
3579
  if (t >= this.message.length)
3602
3580
  throw Error("out of bound");
3603
- var r = mr(this.message, t);
3581
+ var r = lr(this.message, t);
3604
3582
  if (r === void 0)
3605
3583
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3606
3584
  return r;
@@ -3619,7 +3597,7 @@ var gn = (
3619
3597
  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);
3620
3598
  }
3621
3599
  }, e.prototype.bumpIf = function(t) {
3622
- if (Bt(this.message, t, this.offset())) {
3600
+ if (Ht(this.message, t, this.offset())) {
3623
3601
  for (var r = 0; r < t.length; r++)
3624
3602
  this.bump();
3625
3603
  return !0;
@@ -3641,7 +3619,7 @@ var gn = (
3641
3619
  break;
3642
3620
  }
3643
3621
  }, e.prototype.bumpSpace = function() {
3644
- for (; !this.isEOF() && dr(this.char()); )
3622
+ for (; !this.isEOF() && cr(this.char()); )
3645
3623
  this.bump();
3646
3624
  }, e.prototype.peek = function() {
3647
3625
  if (this.isEOF())
@@ -3651,38 +3629,38 @@ var gn = (
3651
3629
  }, e;
3652
3630
  }()
3653
3631
  );
3654
- function nt(e) {
3632
+ function it(e) {
3655
3633
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3656
3634
  }
3657
- function vn(e) {
3658
- return nt(e) || e === 47;
3635
+ function yn(e) {
3636
+ return it(e) || e === 47;
3659
3637
  }
3660
- function _n(e) {
3638
+ function bn(e) {
3661
3639
  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;
3662
3640
  }
3663
- function dr(e) {
3641
+ function cr(e) {
3664
3642
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3665
3643
  }
3666
- function xn(e) {
3644
+ function gn(e) {
3667
3645
  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;
3668
3646
  }
3669
- function ot(e) {
3647
+ function nt(e) {
3670
3648
  e.forEach(function(t) {
3671
- if (delete t.location, or(t) || sr(t))
3649
+ if (delete t.location, tr(t) || rr(t))
3672
3650
  for (var r in t.options)
3673
- delete t.options[r].location, ot(t.options[r].value);
3651
+ delete t.options[r].location, nt(t.options[r].value);
3674
3652
  else
3675
- rr(t) && ur(t.style) || (ir(t) || nr(t)) && et(t.style) ? delete t.style.location : ar(t) && ot(t.children);
3653
+ qt(t) && nr(t.style) || (Kt(t) || er(t)) && Ke(t.style) ? delete t.style.location : ir(t) && nt(t.children);
3676
3654
  });
3677
3655
  }
3678
- function En(e, t) {
3656
+ function vn(e, t) {
3679
3657
  t === void 0 && (t = {}), t = x({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3680
- var r = new gn(e, t).parse();
3658
+ var r = new dn(e, t).parse();
3681
3659
  if (r.err) {
3682
3660
  var i = SyntaxError(g[r.err.kind]);
3683
3661
  throw i.location = r.err.location, i.originalMessage = r.err.message, i;
3684
3662
  }
3685
- return t?.captureLocation || ot(r.val), r.val;
3663
+ return t?.captureLocation || nt(r.val), r.val;
3686
3664
  }
3687
3665
  var te;
3688
3666
  (function(e) {
@@ -3700,7 +3678,7 @@ var Be = (
3700
3678
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3701
3679
  }, t;
3702
3680
  }(Error)
3703
- ), It = (
3681
+ ), Bt = (
3704
3682
  /** @class */
3705
3683
  function(e) {
3706
3684
  $(t, e);
@@ -3709,7 +3687,7 @@ var Be = (
3709
3687
  }
3710
3688
  return t;
3711
3689
  }(Be)
3712
- ), Tn = (
3690
+ ), _n = (
3713
3691
  /** @class */
3714
3692
  function(e) {
3715
3693
  $(t, e);
@@ -3718,7 +3696,7 @@ var Be = (
3718
3696
  }
3719
3697
  return t;
3720
3698
  }(Be)
3721
- ), Ln = (
3699
+ ), xn = (
3722
3700
  /** @class */
3723
3701
  function(e) {
3724
3702
  $(t, e);
@@ -3731,17 +3709,17 @@ var Be = (
3731
3709
  (function(e) {
3732
3710
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3733
3711
  })(B || (B = {}));
3734
- function Sn(e) {
3712
+ function En(e) {
3735
3713
  return e.length < 2 ? e : e.reduce(function(t, r) {
3736
3714
  var i = t[t.length - 1];
3737
3715
  return !i || i.type !== B.literal || r.type !== B.literal ? t.push(r) : i.value += r.value, t;
3738
3716
  }, []);
3739
3717
  }
3740
- function wn(e) {
3718
+ function Tn(e) {
3741
3719
  return typeof e == "function";
3742
3720
  }
3743
3721
  function Te(e, t, r, i, n, o, a) {
3744
- if (e.length === 1 && wt(e[0]))
3722
+ if (e.length === 1 && Tt(e[0]))
3745
3723
  return [
3746
3724
  {
3747
3725
  type: B.literal,
@@ -3750,14 +3728,14 @@ function Te(e, t, r, i, n, o, a) {
3750
3728
  ];
3751
3729
  for (var s = [], h = 0, u = e; h < u.length; h++) {
3752
3730
  var l = u[h];
3753
- if (wt(l)) {
3731
+ if (Tt(l)) {
3754
3732
  s.push({
3755
3733
  type: B.literal,
3756
3734
  value: l.value
3757
3735
  });
3758
3736
  continue;
3759
3737
  }
3760
- if (Xi(l)) {
3738
+ if (ki(l)) {
3761
3739
  typeof o == "number" && s.push({
3762
3740
  type: B.literal,
3763
3741
  value: r.getNumberFormat(t).format(o)
@@ -3766,44 +3744,44 @@ function Te(e, t, r, i, n, o, a) {
3766
3744
  }
3767
3745
  var c = l.value;
3768
3746
  if (!(n && c in n))
3769
- throw new Ln(c, a);
3747
+ throw new xn(c, a);
3770
3748
  var f = n[c];
3771
- if (Wi(l)) {
3749
+ if (ji(l)) {
3772
3750
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), s.push({
3773
3751
  type: typeof f == "string" ? B.literal : B.object,
3774
3752
  value: f
3775
3753
  });
3776
3754
  continue;
3777
3755
  }
3778
- if (ir(l)) {
3779
- var p = typeof l.style == "string" ? i.date[l.style] : et(l.style) ? l.style.parsedOptions : void 0;
3756
+ if (Kt(l)) {
3757
+ var p = typeof l.style == "string" ? i.date[l.style] : Ke(l.style) ? l.style.parsedOptions : void 0;
3780
3758
  s.push({
3781
3759
  type: B.literal,
3782
3760
  value: r.getDateTimeFormat(t, p).format(f)
3783
3761
  });
3784
3762
  continue;
3785
3763
  }
3786
- if (nr(l)) {
3787
- var p = typeof l.style == "string" ? i.time[l.style] : et(l.style) ? l.style.parsedOptions : i.time.medium;
3764
+ if (er(l)) {
3765
+ var p = typeof l.style == "string" ? i.time[l.style] : Ke(l.style) ? l.style.parsedOptions : i.time.medium;
3788
3766
  s.push({
3789
3767
  type: B.literal,
3790
3768
  value: r.getDateTimeFormat(t, p).format(f)
3791
3769
  });
3792
3770
  continue;
3793
3771
  }
3794
- if (rr(l)) {
3795
- var p = typeof l.style == "string" ? i.number[l.style] : ur(l.style) ? l.style.parsedOptions : void 0;
3772
+ if (qt(l)) {
3773
+ var p = typeof l.style == "string" ? i.number[l.style] : nr(l.style) ? l.style.parsedOptions : void 0;
3796
3774
  p && p.scale && (f = f * (p.scale || 1)), s.push({
3797
3775
  type: B.literal,
3798
3776
  value: r.getNumberFormat(t, p).format(f)
3799
3777
  });
3800
3778
  continue;
3801
3779
  }
3802
- if (ar(l)) {
3780
+ if (ir(l)) {
3803
3781
  var y = l.children, d = l.value, v = n[d];
3804
- if (!wn(v))
3805
- throw new Tn(d, "function", a);
3806
- var P = Te(y, t, r, i, n, o), b = v(P.map(function(N) {
3782
+ if (!Tn(v))
3783
+ throw new _n(d, "function", a);
3784
+ var A = Te(y, t, r, i, n, o), b = v(A.map(function(N) {
3807
3785
  return N.value;
3808
3786
  }));
3809
3787
  Array.isArray(b) || (b = [b]), s.push.apply(s, b.map(function(N) {
@@ -3813,14 +3791,14 @@ function Te(e, t, r, i, n, o, a) {
3813
3791
  };
3814
3792
  }));
3815
3793
  }
3816
- if (or(l)) {
3794
+ if (tr(l)) {
3817
3795
  var w = l.options[f] || l.options.other;
3818
3796
  if (!w)
3819
- throw new It(l.value, f, Object.keys(l.options), a);
3797
+ throw new Bt(l.value, f, Object.keys(l.options), a);
3820
3798
  s.push.apply(s, Te(w.value, t, r, i, n));
3821
3799
  continue;
3822
3800
  }
3823
- if (sr(l)) {
3801
+ if (rr(l)) {
3824
3802
  var w = l.options["=".concat(f)];
3825
3803
  if (!w) {
3826
3804
  if (!Intl.PluralRules)
@@ -3831,24 +3809,24 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
3831
3809
  w = l.options[R] || l.options.other;
3832
3810
  }
3833
3811
  if (!w)
3834
- throw new It(l.value, f, Object.keys(l.options), a);
3812
+ throw new Bt(l.value, f, Object.keys(l.options), a);
3835
3813
  s.push.apply(s, Te(w.value, t, r, i, n, f - (l.offset || 0)));
3836
3814
  continue;
3837
3815
  }
3838
3816
  }
3839
- return Sn(s);
3817
+ return En(s);
3840
3818
  }
3841
- function Hn(e, t) {
3819
+ function Ln(e, t) {
3842
3820
  return t ? x(x(x({}, e || {}), t || {}), Object.keys(e).reduce(function(r, i) {
3843
3821
  return r[i] = x(x({}, e[i]), t[i] || {}), r;
3844
3822
  }, {})) : e;
3845
3823
  }
3846
- function An(e, t) {
3824
+ function Sn(e, t) {
3847
3825
  return t ? Object.keys(e).reduce(function(r, i) {
3848
- return r[i] = Hn(e[i], t[i]), r;
3826
+ return r[i] = Ln(e[i], t[i]), r;
3849
3827
  }, x({}, e)) : e;
3850
3828
  }
3851
- function je(e) {
3829
+ function Fe(e) {
3852
3830
  return {
3853
3831
  create: function() {
3854
3832
  return {
@@ -3862,39 +3840,39 @@ function je(e) {
3862
3840
  }
3863
3841
  };
3864
3842
  }
3865
- function Pn(e) {
3843
+ function wn(e) {
3866
3844
  return e === void 0 && (e = {
3867
3845
  number: {},
3868
3846
  dateTime: {},
3869
3847
  pluralRules: {}
3870
3848
  }), {
3871
- getNumberFormat: $e(function() {
3849
+ getNumberFormat: Ue(function() {
3872
3850
  for (var t, r = [], i = 0; i < arguments.length; i++)
3873
3851
  r[i] = arguments[i];
3874
3852
  return new ((t = Intl.NumberFormat).bind.apply(t, q([void 0], r, !1)))();
3875
3853
  }, {
3876
- cache: je(e.number),
3877
- strategy: Ge.variadic
3854
+ cache: Fe(e.number),
3855
+ strategy: $e.variadic
3878
3856
  }),
3879
- getDateTimeFormat: $e(function() {
3857
+ getDateTimeFormat: Ue(function() {
3880
3858
  for (var t, r = [], i = 0; i < arguments.length; i++)
3881
3859
  r[i] = arguments[i];
3882
3860
  return new ((t = Intl.DateTimeFormat).bind.apply(t, q([void 0], r, !1)))();
3883
3861
  }, {
3884
- cache: je(e.dateTime),
3885
- strategy: Ge.variadic
3862
+ cache: Fe(e.dateTime),
3863
+ strategy: $e.variadic
3886
3864
  }),
3887
- getPluralRules: $e(function() {
3865
+ getPluralRules: Ue(function() {
3888
3866
  for (var t, r = [], i = 0; i < arguments.length; i++)
3889
3867
  r[i] = arguments[i];
3890
3868
  return new ((t = Intl.PluralRules).bind.apply(t, q([void 0], r, !1)))();
3891
3869
  }, {
3892
- cache: je(e.pluralRules),
3893
- strategy: Ge.variadic
3870
+ cache: Fe(e.pluralRules),
3871
+ strategy: $e.variadic
3894
3872
  })
3895
3873
  };
3896
3874
  }
3897
- var Bn = (
3875
+ var Hn = (
3898
3876
  /** @class */
3899
3877
  function() {
3900
3878
  function e(t, r, i, n) {
@@ -3926,13 +3904,13 @@ var Bn = (
3926
3904
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3927
3905
  var a = n || {};
3928
3906
  a.formatters;
3929
- var s = ui(a, ["formatters"]);
3907
+ var s = ni(a, ["formatters"]);
3930
3908
  this.ast = e.__parse(t, x(x({}, s), { locale: this.resolvedLocale }));
3931
3909
  } else
3932
3910
  this.ast = t;
3933
3911
  if (!Array.isArray(this.ast))
3934
3912
  throw new TypeError("A message must be provided as a String or AST.");
3935
- this.formats = An(e.formats, i), this.formatters = n && n.formatters || Pn(this.formatterCache);
3913
+ this.formats = Sn(e.formats, i), this.formatters = n && n.formatters || wn(this.formatterCache);
3936
3914
  }
3937
3915
  return Object.defineProperty(e, "defaultLocale", {
3938
3916
  get: function() {
@@ -3945,7 +3923,7 @@ var Bn = (
3945
3923
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3946
3924
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3947
3925
  }
3948
- }, e.__parse = En, e.formats = {
3926
+ }, e.__parse = vn, e.formats = {
3949
3927
  number: {
3950
3928
  integer: {
3951
3929
  maximumFractionDigits: 0
@@ -4006,7 +3984,7 @@ var Bn = (
4006
3984
  }, e;
4007
3985
  }()
4008
3986
  );
4009
- function Cn(e, t) {
3987
+ function Pn(e, t) {
4010
3988
  if (t == null)
4011
3989
  return;
4012
3990
  if (t in e)
@@ -4027,92 +4005,92 @@ function Cn(e, t) {
4027
4005
  i = void 0;
4028
4006
  return i;
4029
4007
  }
4030
- const G = {}, On = (e, t, r) => r && (t in G || (G[t] = {}), e in G[t] || (G[t][e] = r), r), yr = (e, t) => {
4008
+ const G = {}, An = (e, t, r) => r && (t in G || (G[t] = {}), e in G[t] || (G[t][e] = r), r), fr = (e, t) => {
4031
4009
  if (t == null)
4032
4010
  return;
4033
4011
  if (t in G && e in G[t])
4034
4012
  return G[t][e];
4035
- const r = Ce(t);
4013
+ const r = Oe(t);
4036
4014
  for (let i = 0; i < r.length; i++) {
4037
- const n = r[i], o = Nn(n, e);
4015
+ const n = r[i], o = On(n, e);
4038
4016
  if (o)
4039
- return On(e, t, o);
4017
+ return An(e, t, o);
4040
4018
  }
4041
4019
  };
4042
- let ct;
4043
- const me = Pe({});
4044
- function In(e) {
4045
- return ct[e] || null;
4020
+ let ut;
4021
+ const me = Ae({});
4022
+ function Bn(e) {
4023
+ return ut[e] || null;
4046
4024
  }
4047
- function br(e) {
4048
- return e in ct;
4025
+ function mr(e) {
4026
+ return e in ut;
4049
4027
  }
4050
- function Nn(e, t) {
4051
- if (!br(e))
4028
+ function On(e, t) {
4029
+ if (!mr(e))
4052
4030
  return null;
4053
- const r = In(e);
4054
- return Cn(r, t);
4031
+ const r = Bn(e);
4032
+ return Pn(r, t);
4055
4033
  }
4056
- function Mn(e) {
4034
+ function Cn(e) {
4057
4035
  if (e == null)
4058
4036
  return;
4059
- const t = Ce(e);
4037
+ const t = Oe(e);
4060
4038
  for (let r = 0; r < t.length; r++) {
4061
4039
  const i = t[r];
4062
- if (br(i))
4040
+ if (mr(i))
4063
4041
  return i;
4064
4042
  }
4065
4043
  }
4066
- function gr(e, ...t) {
4067
- delete G[e], me.update((r) => (r[e] = Ui.all([r[e] || {}, ...t]), r));
4044
+ function pr(e, ...t) {
4045
+ delete G[e], me.update((r) => (r[e] = Mi.all([r[e] || {}, ...t]), r));
4068
4046
  }
4069
4047
  ne(
4070
4048
  [me],
4071
4049
  ([e]) => Object.keys(e)
4072
4050
  );
4073
- me.subscribe((e) => ct = e);
4051
+ me.subscribe((e) => ut = e);
4074
4052
  const Le = {};
4075
- function Rn(e, t) {
4053
+ function In(e, t) {
4076
4054
  Le[e].delete(t), Le[e].size === 0 && delete Le[e];
4077
4055
  }
4078
- function vr(e) {
4056
+ function dr(e) {
4079
4057
  return Le[e];
4080
4058
  }
4081
- function Dn(e) {
4082
- return Ce(e).map((t) => {
4083
- const r = vr(t);
4059
+ function Nn(e) {
4060
+ return Oe(e).map((t) => {
4061
+ const r = dr(t);
4084
4062
  return [t, r ? [...r] : []];
4085
4063
  }).filter(([, t]) => t.length > 0);
4086
4064
  }
4087
- function st(e) {
4088
- return e == null ? !1 : Ce(e).some(
4065
+ function ot(e) {
4066
+ return e == null ? !1 : Oe(e).some(
4089
4067
  (t) => {
4090
4068
  var r;
4091
- return (r = vr(t)) == null ? void 0 : r.size;
4069
+ return (r = dr(t)) == null ? void 0 : r.size;
4092
4070
  }
4093
4071
  );
4094
4072
  }
4095
- function zn(e, t) {
4073
+ function Mn(e, t) {
4096
4074
  return Promise.all(
4097
- t.map((i) => (Rn(e, i), i().then((n) => n.default || n)))
4098
- ).then((i) => gr(e, ...i));
4075
+ t.map((i) => (In(e, i), i().then((n) => n.default || n)))
4076
+ ).then((i) => pr(e, ...i));
4099
4077
  }
4100
4078
  const ue = {};
4101
- function _r(e) {
4102
- if (!st(e))
4079
+ function yr(e) {
4080
+ if (!ot(e))
4103
4081
  return e in ue ? ue[e] : Promise.resolve();
4104
- const t = Dn(e);
4082
+ const t = Nn(e);
4105
4083
  return ue[e] = Promise.all(
4106
4084
  t.map(
4107
- ([r, i]) => zn(r, i)
4085
+ ([r, i]) => Mn(r, i)
4108
4086
  )
4109
4087
  ).then(() => {
4110
- if (st(e))
4111
- return _r(e);
4088
+ if (ot(e))
4089
+ return yr(e);
4112
4090
  delete ue[e];
4113
4091
  }), ue[e];
4114
4092
  }
4115
- const Un = {
4093
+ const Rn = {
4116
4094
  number: {
4117
4095
  scientific: { notation: "scientific" },
4118
4096
  engineering: { notation: "engineering" },
@@ -4141,78 +4119,78 @@ const Un = {
4141
4119
  timeZoneName: "short"
4142
4120
  }
4143
4121
  }
4144
- }, $n = {
4122
+ }, Dn = {
4145
4123
  fallbackLocale: null,
4146
4124
  loadingDelay: 200,
4147
- formats: Un,
4125
+ formats: Rn,
4148
4126
  warnOnMissingMessages: !0,
4149
4127
  handleMissingMessage: void 0,
4150
4128
  ignoreTag: !0
4151
- }, Gn = $n;
4129
+ }, zn = Dn;
4152
4130
  function re() {
4153
- return Gn;
4131
+ return zn;
4154
4132
  }
4155
- const ke = Pe(!1);
4156
- var Fn = Object.defineProperty, jn = Object.defineProperties, kn = Object.getOwnPropertyDescriptors, Nt = Object.getOwnPropertySymbols, Vn = Object.prototype.hasOwnProperty, Wn = Object.prototype.propertyIsEnumerable, Mt = (e, t, r) => t in e ? Fn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Xn = (e, t) => {
4133
+ const je = Ae(!1);
4134
+ var Un = Object.defineProperty, $n = Object.defineProperties, Gn = Object.getOwnPropertyDescriptors, Ot = Object.getOwnPropertySymbols, Fn = Object.prototype.hasOwnProperty, jn = Object.prototype.propertyIsEnumerable, Ct = (e, t, r) => t in e ? Un(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, kn = (e, t) => {
4157
4135
  for (var r in t || (t = {}))
4158
- Vn.call(t, r) && Mt(e, r, t[r]);
4159
- if (Nt)
4160
- for (var r of Nt(t))
4161
- Wn.call(t, r) && Mt(e, r, t[r]);
4136
+ Fn.call(t, r) && Ct(e, r, t[r]);
4137
+ if (Ot)
4138
+ for (var r of Ot(t))
4139
+ jn.call(t, r) && Ct(e, r, t[r]);
4162
4140
  return e;
4163
- }, Zn = (e, t) => jn(e, kn(t));
4164
- let at;
4165
- const we = Pe(null);
4166
- function Rt(e) {
4141
+ }, Vn = (e, t) => $n(e, Gn(t));
4142
+ let st;
4143
+ const we = Ae(null);
4144
+ function It(e) {
4167
4145
  return e.split("-").map((t, r, i) => i.slice(0, r + 1).join("-")).reverse();
4168
4146
  }
4169
- function Ce(e, t = re().fallbackLocale) {
4170
- const r = Rt(e);
4171
- return t ? [.../* @__PURE__ */ new Set([...r, ...Rt(t)])] : r;
4147
+ function Oe(e, t = re().fallbackLocale) {
4148
+ const r = It(e);
4149
+ return t ? [.../* @__PURE__ */ new Set([...r, ...It(t)])] : r;
4172
4150
  }
4173
4151
  function X() {
4174
- return at ?? void 0;
4152
+ return st ?? void 0;
4175
4153
  }
4176
4154
  we.subscribe((e) => {
4177
- at = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4155
+ st = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4178
4156
  });
4179
- const Qn = (e) => {
4180
- if (e && Mn(e) && st(e)) {
4157
+ const Wn = (e) => {
4158
+ if (e && Cn(e) && ot(e)) {
4181
4159
  const { loadingDelay: t } = re();
4182
4160
  let r;
4183
4161
  return typeof window < "u" && X() != null && t ? r = window.setTimeout(
4184
- () => ke.set(!0),
4162
+ () => je.set(!0),
4185
4163
  t
4186
- ) : ke.set(!0), _r(e).then(() => {
4164
+ ) : je.set(!0), yr(e).then(() => {
4187
4165
  we.set(e);
4188
4166
  }).finally(() => {
4189
- clearTimeout(r), ke.set(!1);
4167
+ clearTimeout(r), je.set(!1);
4190
4168
  });
4191
4169
  }
4192
4170
  return we.set(e);
4193
- }, oe = Zn(Xn({}, we), {
4194
- set: Qn
4195
- }), Oe = (e) => {
4171
+ }, oe = Vn(kn({}, we), {
4172
+ set: Wn
4173
+ }), Ce = (e) => {
4196
4174
  const t = /* @__PURE__ */ Object.create(null);
4197
4175
  return (i) => {
4198
4176
  const n = JSON.stringify(i);
4199
4177
  return n in t ? t[n] : t[n] = e(i);
4200
4178
  };
4201
4179
  };
4202
- var Yn = Object.defineProperty, He = Object.getOwnPropertySymbols, xr = Object.prototype.hasOwnProperty, Er = Object.prototype.propertyIsEnumerable, Dt = (e, t, r) => t in e ? Yn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ft = (e, t) => {
4180
+ var Xn = Object.defineProperty, He = Object.getOwnPropertySymbols, br = Object.prototype.hasOwnProperty, gr = Object.prototype.propertyIsEnumerable, Nt = (e, t, r) => t in e ? Xn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, lt = (e, t) => {
4203
4181
  for (var r in t || (t = {}))
4204
- xr.call(t, r) && Dt(e, r, t[r]);
4182
+ br.call(t, r) && Nt(e, r, t[r]);
4205
4183
  if (He)
4206
4184
  for (var r of He(t))
4207
- Er.call(t, r) && Dt(e, r, t[r]);
4185
+ gr.call(t, r) && Nt(e, r, t[r]);
4208
4186
  return e;
4209
4187
  }, se = (e, t) => {
4210
4188
  var r = {};
4211
4189
  for (var i in e)
4212
- xr.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
4190
+ br.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
4213
4191
  if (e != null && He)
4214
4192
  for (var i of He(e))
4215
- t.indexOf(i) < 0 && Er.call(e, i) && (r[i] = e[i]);
4193
+ t.indexOf(i) < 0 && gr.call(e, i) && (r[i] = e[i]);
4216
4194
  return r;
4217
4195
  };
4218
4196
  const fe = (e, t) => {
@@ -4220,21 +4198,21 @@ const fe = (e, t) => {
4220
4198
  if (e in r && t in r[e])
4221
4199
  return r[e][t];
4222
4200
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4223
- }, Jn = Oe(
4201
+ }, Zn = Ce(
4224
4202
  (e) => {
4225
4203
  var t = e, { locale: r, format: i } = t, n = se(t, ["locale", "format"]);
4226
4204
  if (r == null)
4227
4205
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4228
4206
  return i && (n = fe("number", i)), new Intl.NumberFormat(r, n);
4229
4207
  }
4230
- ), qn = Oe(
4208
+ ), Qn = Ce(
4231
4209
  (e) => {
4232
4210
  var t = e, { locale: r, format: i } = t, n = se(t, ["locale", "format"]);
4233
4211
  if (r == null)
4234
4212
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4235
4213
  return i ? n = fe("date", i) : Object.keys(n).length === 0 && (n = fe("date", "short")), new Intl.DateTimeFormat(r, n);
4236
4214
  }
4237
- ), Kn = Oe(
4215
+ ), Yn = Ce(
4238
4216
  (e) => {
4239
4217
  var t = e, { locale: r, format: i } = t, n = se(t, ["locale", "format"]);
4240
4218
  if (r == null)
@@ -4243,33 +4221,33 @@ const fe = (e, t) => {
4243
4221
  );
4244
4222
  return i ? n = fe("time", i) : Object.keys(n).length === 0 && (n = fe("time", "short")), new Intl.DateTimeFormat(r, n);
4245
4223
  }
4246
- ), eo = (e = {}) => {
4224
+ ), Jn = (e = {}) => {
4247
4225
  var t = e, {
4248
4226
  locale: r = X()
4249
4227
  } = t, i = se(t, [
4250
4228
  "locale"
4251
4229
  ]);
4252
- return Jn(ft({ locale: r }, i));
4253
- }, to = (e = {}) => {
4230
+ return Zn(lt({ locale: r }, i));
4231
+ }, qn = (e = {}) => {
4254
4232
  var t = e, {
4255
4233
  locale: r = X()
4256
4234
  } = t, i = se(t, [
4257
4235
  "locale"
4258
4236
  ]);
4259
- return qn(ft({ locale: r }, i));
4260
- }, ro = (e = {}) => {
4237
+ return Qn(lt({ locale: r }, i));
4238
+ }, Kn = (e = {}) => {
4261
4239
  var t = e, {
4262
4240
  locale: r = X()
4263
4241
  } = t, i = se(t, [
4264
4242
  "locale"
4265
4243
  ]);
4266
- return Kn(ft({ locale: r }, i));
4267
- }, io = Oe(
4244
+ return Yn(lt({ locale: r }, i));
4245
+ }, eo = Ce(
4268
4246
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4269
- (e, t = X()) => new Bn(e, t, re().formats, {
4247
+ (e, t = X()) => new Hn(e, t, re().formats, {
4270
4248
  ignoreTag: re().ignoreTag
4271
4249
  })
4272
- ), no = (e, t = {}) => {
4250
+ ), to = (e, t = {}) => {
4273
4251
  var r, i, n, o;
4274
4252
  let a = t;
4275
4253
  typeof e == "object" && (a = e, e = a.id);
@@ -4282,7 +4260,7 @@ const fe = (e, t) => {
4282
4260
  throw new Error(
4283
4261
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4284
4262
  );
4285
- let l = yr(e, h);
4263
+ let l = fr(e, h);
4286
4264
  if (!l)
4287
4265
  l = (o = (n = (i = (r = re()).handleMissingMessage) == null ? void 0 : i.call(r, { locale: h, id: e, defaultValue: u })) != null ? n : u) != null ? o : e;
4288
4266
  else if (typeof l != "string")
@@ -4293,7 +4271,7 @@ const fe = (e, t) => {
4293
4271
  return l;
4294
4272
  let c = l;
4295
4273
  try {
4296
- c = io(l, h).format(s);
4274
+ c = eo(l, h).format(s);
4297
4275
  } catch (f) {
4298
4276
  f instanceof Error && console.warn(
4299
4277
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4301,20 +4279,20 @@ const fe = (e, t) => {
4301
4279
  );
4302
4280
  }
4303
4281
  return c;
4304
- }, oo = (e, t) => ro(t).format(e), so = (e, t) => to(t).format(e), ao = (e, t) => eo(t).format(e), uo = (e, t = X()) => yr(e, t), lo = ne([oe, me], () => no);
4305
- ne([oe], () => oo);
4306
- ne([oe], () => so);
4307
- ne([oe], () => ao);
4308
- ne([oe, me], () => uo);
4309
- window.emWidgets = { topic: Ei };
4310
- const ho = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)), Do = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4311
- function co(e, t) {
4282
+ }, ro = (e, t) => Kn(t).format(e), io = (e, t) => qn(t).format(e), no = (e, t) => Jn(t).format(e), oo = (e, t = X()) => fr(e, t), so = ne([oe, me], () => to);
4283
+ ne([oe], () => ro);
4284
+ ne([oe], () => io);
4285
+ ne([oe], () => no);
4286
+ ne([oe, me], () => oo);
4287
+ window.emWidgets = { topic: gi };
4288
+ const ao = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)), No = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4289
+ function uo(e, t) {
4312
4290
  if (e) {
4313
4291
  const r = document.createElement("style");
4314
4292
  r.innerHTML = t, e.appendChild(r);
4315
4293
  }
4316
4294
  }
4317
- function fo(e, t) {
4295
+ function lo(e, t) {
4318
4296
  const r = new URL(t);
4319
4297
  fetch(r.href).then((i) => i.text()).then((i) => {
4320
4298
  const n = document.createElement("style");
@@ -4323,7 +4301,7 @@ function fo(e, t) {
4323
4301
  console.error("There was an error while trying to load client styling from URL", i);
4324
4302
  });
4325
4303
  }
4326
- function mo(e, t, r) {
4304
+ function ho(e, t, r) {
4327
4305
  if (window.emMessageBus) {
4328
4306
  const i = document.createElement("style");
4329
4307
  window.emMessageBus.subscribe(t, (n) => {
@@ -4331,13 +4309,13 @@ function mo(e, t, r) {
4331
4309
  });
4332
4310
  }
4333
4311
  }
4334
- function zt(e, t) {
4335
- gr(e, t);
4312
+ function Mt(e, t) {
4313
+ pr(e, t);
4336
4314
  }
4337
- function po(e) {
4315
+ function co(e) {
4338
4316
  oe.set(e);
4339
4317
  }
4340
- const Ve = {
4318
+ const ke = {
4341
4319
  en: {
4342
4320
  expandLimits: "Limit history",
4343
4321
  daily: "per day",
@@ -4568,30 +4546,30 @@ const Ve = {
4568
4546
  historyLimitTypeLoss: "Kayıp Limiti"
4569
4547
  }
4570
4548
  };
4571
- function yo(e) {
4572
- $r(e, "svelte-16zv8bz", ':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";font-size:1.3rem}.svelte-16zv8bz.svelte-16zv8bz,.svelte-16zv8bz.svelte-16zv8bz::before,.svelte-16zv8bz.svelte-16zv8bz::after{color:var(--emw--color-typography-contrast, #444444);margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.player-account-gaming-limits-history-2.svelte-16zv8bz.svelte-16zv8bz{color:var(--emw--color-white, #FFFFFF)}button.svelte-16zv8bz.svelte-16zv8bz{font-size:1rem;border:0;padding:0}.ExpandButton.svelte-16zv8bz.svelte-16zv8bz{display:flex;align-items:center;margin-right:-14px;background:transparent;border:none;color:var(--emw--color-primary, #22B04E);font-size:var(--emw--font-size-large, 20px);text-transform:capitalize;font-weight:var(--emw--font-weight-bold, 700)}.ExpandButton.Mobile.svelte-16zv8bz.svelte-16zv8bz{font-size:var(--emw--font-size-medium, 16px);font-weight:var(--emw--font-weight-bold, 700)}.ExpandButton.svelte-16zv8bz svg.svelte-16zv8bz{width:40px;height:auto;margin-left:-4px}.extended.svelte-16zv8bz.svelte-16zv8bz{transform:rotate(180deg)}.HistoryWrapper.svelte-16zv8bz.svelte-16zv8bz{display:flex;flex-direction:column;width:320px;padding:0 12px;margin:12px auto}.HistoryWrapper.svelte-16zv8bz .HistoryDisplayArea.svelte-16zv8bz{width:inherit;background-color:var(--emw--color-typpgraphy, #FFFFFF);border-radius:var(--emw--border-radius-large, 20px);box-shadow:0px 3px 19px 0px rgba(0, 0, 0, 0.3);padding:30px 20px}.HistoryWrapper.svelte-16zv8bz .HistoryDisplayArea .LimitType.svelte-16zv8bz{font-size:var(--emw--font-size-medium, 16px);color:color-mix(in srgb, var(--emw--color-secondary, #E1A749) 80%, black 10%)}.HistoryWrapper.svelte-16zv8bz .HistoryDisplayArea.Mobile.svelte-16zv8bz{width:auto;font-size:var(--emw--font-size-x-small, 12px);padding:15px}.hidden.svelte-16zv8bz.svelte-16zv8bz{display:none}.HistoryRow.svelte-16zv8bz.svelte-16zv8bz{padding:12px 0;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--emw--color-gray-100, #E6E6E6)}.GeneralLimitInformation.svelte-16zv8bz.svelte-16zv8bz{display:flex;flex-direction:column;gap:4px;color:var(--emw--color-grey-150, #C0CBC3)}.LimitAmountPeriod.svelte-16zv8bz.svelte-16zv8bz{color:var(--emw--color-grey-150, #C0CBC3)}.LimitContainer.svelte-16zv8bz.svelte-16zv8bz{animation:svelte-16zv8bz-animateEntry 0.7s ease-in}@keyframes svelte-16zv8bz-animateEntry{0%{opacity:0;transform:translateX(500px)}100%{opacity:1;transform:translateX(0)}}');
4549
+ function fo(e) {
4550
+ Rr(e, "svelte-16zv8bz", ':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";font-size:1.3rem}.svelte-16zv8bz.svelte-16zv8bz,.svelte-16zv8bz.svelte-16zv8bz::before,.svelte-16zv8bz.svelte-16zv8bz::after{color:var(--emw--color-typography-contrast, #444444);margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.player-account-gaming-limits-history-2.svelte-16zv8bz.svelte-16zv8bz{color:var(--emw--color-white, #FFFFFF)}button.svelte-16zv8bz.svelte-16zv8bz{font-size:1rem;border:0;padding:0}.ExpandButton.svelte-16zv8bz.svelte-16zv8bz{display:flex;align-items:center;margin-right:-14px;background:transparent;border:none;color:var(--emw--color-primary, #22B04E);font-size:var(--emw--font-size-large, 20px);text-transform:capitalize;font-weight:var(--emw--font-weight-bold, 700)}.ExpandButton.Mobile.svelte-16zv8bz.svelte-16zv8bz{font-size:var(--emw--font-size-medium, 16px);font-weight:var(--emw--font-weight-bold, 700)}.ExpandButton.svelte-16zv8bz svg.svelte-16zv8bz{width:40px;height:auto;margin-left:-4px}.extended.svelte-16zv8bz.svelte-16zv8bz{transform:rotate(180deg)}.HistoryWrapper.svelte-16zv8bz.svelte-16zv8bz{display:flex;flex-direction:column;width:320px;padding:0 12px;margin:12px auto}.HistoryWrapper.svelte-16zv8bz .HistoryDisplayArea.svelte-16zv8bz{width:inherit;background-color:var(--emw--color-typpgraphy, #FFFFFF);border-radius:var(--emw--border-radius-large, 20px);box-shadow:0px 3px 19px 0px rgba(0, 0, 0, 0.3);padding:30px 20px}.HistoryWrapper.svelte-16zv8bz .HistoryDisplayArea .LimitType.svelte-16zv8bz{font-size:var(--emw--font-size-medium, 16px);color:color-mix(in srgb, var(--emw--color-secondary, #E1A749) 80%, black 10%)}.HistoryWrapper.svelte-16zv8bz .HistoryDisplayArea.Mobile.svelte-16zv8bz{width:auto;font-size:var(--emw--font-size-x-small, 12px);padding:15px}.hidden.svelte-16zv8bz.svelte-16zv8bz{display:none}.HistoryRow.svelte-16zv8bz.svelte-16zv8bz{padding:12px 0;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--emw--color-gray-100, #E6E6E6)}.GeneralLimitInformation.svelte-16zv8bz.svelte-16zv8bz{display:flex;flex-direction:column;gap:4px;color:var(--emw--color-grey-150, #C0CBC3)}.LimitAmountPeriod.svelte-16zv8bz.svelte-16zv8bz{color:var(--emw--color-grey-150, #C0CBC3)}.LimitContainer.svelte-16zv8bz.svelte-16zv8bz{animation:svelte-16zv8bz-animateEntry 0.7s ease-in}@keyframes svelte-16zv8bz-animateEntry{0%{opacity:0;transform:translateX(500px)}100%{opacity:1;transform:translateX(0)}}');
4573
4551
  }
4574
- function Ut(e, t, r) {
4552
+ function Rt(e, t, r) {
4575
4553
  const i = e.slice();
4576
4554
  return i[37] = t[r], i[38] = t, i[39] = r, i;
4577
4555
  }
4578
- function bo(e) {
4556
+ function mo(e) {
4579
4557
  let t, r, i, n = (
4580
4558
  /*$_*/
4581
4559
  e[9]("expandLimits") + ""
4582
- ), o, a, s, h, u, l, c, f, p, y = bt(
4560
+ ), o, a, s, h, u, l, c, f, p, y = pt(
4583
4561
  /*lazyShowedHistoryArray*/
4584
4562
  e[7]
4585
4563
  ), d = [];
4586
4564
  for (let v = 0; v < y.length; v += 1)
4587
- d[v] = $t(Ut(e, y, v));
4565
+ d[v] = Dt(Rt(e, y, v));
4588
4566
  return {
4589
4567
  c() {
4590
- t = A("div"), r = A("div"), i = A("button"), o = M(n), a = We(), s = Re("svg"), h = Re("path"), u = Re("path"), l = We(), c = A("div");
4568
+ t = P("div"), r = P("div"), i = P("button"), o = M(n), a = Ve(), s = Re("svg"), h = Re("path"), u = Re("path"), l = Ve(), c = P("div");
4591
4569
  for (let v = 0; v < d.length; v += 1)
4592
4570
  d[v].c();
4593
4571
  E(h, "d", "M10.5 15l7.5 7.5 7.5-7.5z"), E(h, "class", "svelte-16zv8bz"), E(u, "d", "M0 0h36v36h-36z"), E(u, "fill", "none"), E(u, "class", "svelte-16zv8bz"), E(s, "class", "ExpandArrow " + (/*isDesktop*/
4594
- e[10] ? "" : "Mobile") + " svelte-16zv8bz"), E(s, "xmlns", "http://www.w3.org/2000/svg"), E(s, "width", "36"), E(s, "height", "36"), E(s, "viewBox", "0 0 36 36"), Wr(s, "fill", "var(--emw--color-primary, #22B04E)"), be(
4572
+ e[10] ? "" : "Mobile") + " svelte-16zv8bz"), E(s, "xmlns", "http://www.w3.org/2000/svg"), E(s, "width", "36"), E(s, "height", "36"), E(s, "viewBox", "0 0 36 36"), Fr(s, "fill", "var(--emw--color-primary, #22B04E)"), be(
4595
4573
  s,
4596
4574
  "extended",
4597
4575
  /*extended*/
@@ -4605,42 +4583,42 @@ function bo(e) {
4605
4583
  e[5]
4606
4584
  ), E(r, "class", "HistoryWrapper svelte-16zv8bz"), E(t, "class", "player-account-gaming-limits-history-2 svelte-16zv8bz");
4607
4585
  },
4608
- m(v, P) {
4609
- W(v, t, P), T(t, r), T(r, i), T(i, o), T(i, a), T(i, s), T(s, h), T(s, u), T(r, l), T(r, c);
4586
+ m(v, A) {
4587
+ W(v, t, A), T(t, r), T(r, i), T(i, o), T(i, a), T(i, s), T(s, h), T(s, u), T(r, l), T(r, c);
4610
4588
  for (let b = 0; b < d.length; b += 1)
4611
4589
  d[b] && d[b].m(c, null);
4612
- f || (p = kr(
4590
+ f || (p = $r(
4613
4591
  i,
4614
4592
  "click",
4615
4593
  /*toggleHistoryDisplayArea*/
4616
4594
  e[11]
4617
4595
  ), f = !0);
4618
4596
  },
4619
- p(v, P) {
4620
- if (P[0] & /*$_*/
4597
+ p(v, A) {
4598
+ if (A[0] & /*$_*/
4621
4599
  512 && n !== (n = /*$_*/
4622
- v[9]("expandLimits") + "") && F(o, n), P[0] & /*extended*/
4600
+ v[9]("expandLimits") + "") && F(o, n), A[0] & /*extended*/
4623
4601
  256 && be(
4624
4602
  s,
4625
4603
  "extended",
4626
4604
  /*extended*/
4627
4605
  v[8]
4628
- ), P[0] & /*numberofentries, limitContainer, lazyShowedHistoryArray, $_*/
4606
+ ), A[0] & /*numberofentries, limitContainer, lazyShowedHistoryArray, $_*/
4629
4607
  650) {
4630
- y = bt(
4608
+ y = pt(
4631
4609
  /*lazyShowedHistoryArray*/
4632
4610
  v[7]
4633
4611
  );
4634
4612
  let b;
4635
4613
  for (b = 0; b < y.length; b += 1) {
4636
- const w = Ut(v, y, b);
4637
- d[b] ? d[b].p(w, P) : (d[b] = $t(w), d[b].c(), d[b].m(c, null));
4614
+ const w = Rt(v, y, b);
4615
+ d[b] ? d[b].p(w, A) : (d[b] = Dt(w), d[b].c(), d[b].m(c, null));
4638
4616
  }
4639
4617
  for (; b < d.length; b += 1)
4640
4618
  d[b].d(1);
4641
4619
  d.length = y.length;
4642
4620
  }
4643
- P[0] & /*hidden*/
4621
+ A[0] & /*hidden*/
4644
4622
  32 && be(
4645
4623
  c,
4646
4624
  "hidden",
@@ -4649,14 +4627,14 @@ function bo(e) {
4649
4627
  );
4650
4628
  },
4651
4629
  d(v) {
4652
- v && j(t), jr(d, v), f = !1, p();
4630
+ v && j(t), Ur(d, v), f = !1, p();
4653
4631
  }
4654
4632
  };
4655
4633
  }
4656
- function go(e) {
4657
- return { c: C, m: C, p: C, d: C };
4634
+ function po(e) {
4635
+ return { c: O, m: O, p: O, d: O };
4658
4636
  }
4659
- function vo(e) {
4637
+ function yo(e) {
4660
4638
  let t, r = (
4661
4639
  /*lang*/
4662
4640
  (e[0] ? (
@@ -4666,7 +4644,7 @@ function vo(e) {
4666
4644
  ), i;
4667
4645
  return {
4668
4646
  c() {
4669
- t = A("p"), i = M(r), E(t, "class", "svelte-16zv8bz");
4647
+ t = P("p"), i = M(r), E(t, "class", "svelte-16zv8bz");
4670
4648
  },
4671
4649
  m(n, o) {
4672
4650
  W(n, t, o), T(t, i);
@@ -4684,7 +4662,7 @@ function vo(e) {
4684
4662
  }
4685
4663
  };
4686
4664
  }
4687
- function _o(e) {
4665
+ function bo(e) {
4688
4666
  let t, r, i, n = (
4689
4667
  /*history*/
4690
4668
  e[37].type + ""
@@ -4697,7 +4675,7 @@ function _o(e) {
4697
4675
  ), c;
4698
4676
  return {
4699
4677
  c() {
4700
- t = A("div"), r = A("span"), i = A("span"), o = M(n), a = A("span"), h = M(s), u = A("span"), c = M(l), E(i, "class", "LimitType svelte-16zv8bz"), E(a, "class", "LimitAmountPeriod svelte-16zv8bz"), E(r, "class", "GeneralLimitInformation svelte-16zv8bz"), E(u, "class", "DateLimitInformation svelte-16zv8bz"), E(t, "class", "HistoryRow svelte-16zv8bz");
4678
+ t = P("div"), r = P("span"), i = P("span"), o = M(n), a = P("span"), h = M(s), u = P("span"), c = M(l), E(i, "class", "LimitType svelte-16zv8bz"), E(a, "class", "LimitAmountPeriod svelte-16zv8bz"), E(r, "class", "GeneralLimitInformation svelte-16zv8bz"), E(u, "class", "DateLimitInformation svelte-16zv8bz"), E(t, "class", "HistoryRow svelte-16zv8bz");
4701
4679
  },
4702
4680
  m(f, p) {
4703
4681
  W(f, t, p), T(t, r), T(r, i), T(i, o), T(r, a), T(a, h), T(t, u), T(u, c);
@@ -4716,7 +4694,7 @@ function _o(e) {
4716
4694
  }
4717
4695
  };
4718
4696
  }
4719
- function xo(e) {
4697
+ function go(e) {
4720
4698
  let t, r, i, n = (
4721
4699
  /*history*/
4722
4700
  e[37].type + ""
@@ -4729,7 +4707,7 @@ function xo(e) {
4729
4707
  ), c;
4730
4708
  return {
4731
4709
  c() {
4732
- t = A("div"), r = A("span"), i = A("span"), o = M(n), a = A("span"), h = M(s), u = A("span"), c = M(l), E(i, "class", "LimitType svelte-16zv8bz"), E(a, "class", "LimitAmountPeriod svelte-16zv8bz"), E(r, "class", "GeneralLimitInformation svelte-16zv8bz"), E(u, "class", "DateLimitInformation svelte-16zv8bz"), E(t, "class", "HistoryRow svelte-16zv8bz");
4710
+ t = P("div"), r = P("span"), i = P("span"), o = M(n), a = P("span"), h = M(s), u = P("span"), c = M(l), E(i, "class", "LimitType svelte-16zv8bz"), E(a, "class", "LimitAmountPeriod svelte-16zv8bz"), E(r, "class", "GeneralLimitInformation svelte-16zv8bz"), E(u, "class", "DateLimitInformation svelte-16zv8bz"), E(t, "class", "HistoryRow svelte-16zv8bz");
4733
4711
  },
4734
4712
  m(f, p) {
4735
4713
  W(f, t, p), T(t, r), T(r, i), T(i, o), T(r, a), T(a, h), T(t, u), T(u, c);
@@ -4748,7 +4726,7 @@ function xo(e) {
4748
4726
  }
4749
4727
  };
4750
4728
  }
4751
- function $t(e) {
4729
+ function Dt(e) {
4752
4730
  let t, r, i, n = (
4753
4731
  /*index*/
4754
4732
  e[39]
@@ -4756,7 +4734,7 @@ function $t(e) {
4756
4734
  function o(l, c) {
4757
4735
  return (
4758
4736
  /*history*/
4759
- l[37].removed ? xo : _o
4737
+ l[37].removed ? go : bo
4760
4738
  );
4761
4739
  }
4762
4740
  let a = o(e), s = a(e);
@@ -4769,7 +4747,7 @@ function $t(e) {
4769
4747
  );
4770
4748
  return {
4771
4749
  c() {
4772
- t = A("div"), s.c(), r = We(), E(t, "class", i = dt(
4750
+ t = P("div"), s.c(), r = Ve(), E(t, "class", i = ft(
4773
4751
  /*index*/
4774
4752
  e[39] > +/*numberofentries*/
4775
4753
  e[1] ? "LimitContainer" : ""
@@ -4780,7 +4758,7 @@ function $t(e) {
4780
4758
  },
4781
4759
  p(l, c) {
4782
4760
  e = l, a === (a = o(e)) && s ? s.p(e, c) : (s.d(1), s = a(e), s && (s.c(), s.m(t, r))), c[0] & /*numberofentries*/
4783
- 2 && i !== (i = dt(
4761
+ 2 && i !== (i = ft(
4784
4762
  /*index*/
4785
4763
  e[39] > +/*numberofentries*/
4786
4764
  e[1] ? "LimitContainer" : ""
@@ -4793,21 +4771,21 @@ function $t(e) {
4793
4771
  }
4794
4772
  };
4795
4773
  }
4796
- function Eo(e) {
4774
+ function vo(e) {
4797
4775
  let t;
4798
4776
  function r(o, a) {
4799
4777
  return (
4800
4778
  /*hasErrors*/
4801
- o[6] ? vo : (
4779
+ o[6] ? yo : (
4802
4780
  /*isLoading*/
4803
- o[4] ? go : bo
4781
+ o[4] ? po : mo
4804
4782
  )
4805
4783
  );
4806
4784
  }
4807
4785
  let i = r(e), n = i(e);
4808
4786
  return {
4809
4787
  c() {
4810
- t = A("div"), n.c(), E(t, "class", "svelte-16zv8bz");
4788
+ t = P("div"), n.c(), E(t, "class", "svelte-16zv8bz");
4811
4789
  },
4812
4790
  m(o, a) {
4813
4791
  W(o, t, a), n.m(t, null), e[23](t);
@@ -4815,30 +4793,30 @@ function Eo(e) {
4815
4793
  p(o, a) {
4816
4794
  i === (i = r(o)) && n ? n.p(o, a) : (n.d(1), n = i(o), n && (n.c(), n.m(t, null)));
4817
4795
  },
4818
- i: C,
4819
- o: C,
4796
+ i: O,
4797
+ o: O,
4820
4798
  d(o) {
4821
4799
  o && j(t), n.d(), e[23](null);
4822
4800
  }
4823
4801
  };
4824
4802
  }
4825
- function To(e, t, r) {
4803
+ function _o(e, t, r) {
4826
4804
  let i;
4827
- Ur(e, lo, (m) => r(9, i = m));
4828
- let n = window.navigator.userAgent, o = !ho(n), { lang: a = "" } = t, { userid: s = "" } = t, { session: h = "" } = t, { endpoint: u = "" } = t, { apiversion: l = "" } = t, { numberofentries: c = "10" } = t, { customcurrencysymbols: f = "" } = t, { limitformat: p = "" } = t, { clientstyling: y = "" } = t, { clientstylingurl: d = "" } = t, { mbsource: v } = t, { translationurl: P = "" } = t, b, w = new Array(), R = parseInt(c, 10), N = !1, D = !0, k = [], pe = [], de = !0, Ie = !1, ae = { EUR: "€", RON: "lei", TRY: "₺" };
4829
- const Lr = () => {
4830
- fetch(P).then((L) => L.json()).then((L) => {
4805
+ Mr(e, so, (m) => r(9, i = m));
4806
+ let n = window.navigator.userAgent, o = !ao(n), { lang: a = "" } = t, { userid: s = "" } = t, { session: h = "" } = t, { endpoint: u = "" } = t, { apiversion: l = "" } = t, { numberofentries: c = "10" } = t, { customcurrencysymbols: f = "" } = t, { limitformat: p = "" } = t, { clientstyling: y = "" } = t, { clientstylingurl: d = "" } = t, { mbsource: v } = t, { translationurl: A = "" } = t, b, w = new Array(), R = parseInt(c, 10), N = !1, D = !0, k = [], pe = [], de = !0, Ie = !1, ae = { EUR: "€", RON: "lei", TRY: "₺" };
4807
+ const _r = () => {
4808
+ fetch(A).then((L) => L.json()).then((L) => {
4831
4809
  Object.keys(L).forEach((I) => {
4832
- zt(I, L[I]);
4810
+ Mt(I, L[I]);
4833
4811
  });
4834
4812
  }).catch((L) => {
4835
4813
  console.log(L);
4836
4814
  });
4837
4815
  };
4838
- Object.keys(Ve).forEach((m) => {
4839
- zt(m, Ve[m]);
4816
+ Object.keys(ke).forEach((m) => {
4817
+ Mt(m, ke[m]);
4840
4818
  });
4841
- const Sr = () => {
4819
+ const xr = () => {
4842
4820
  let m = l === "gmcore" ? `/v2/player/${s}/transactions/limit` : `/v1/player/${s}/limits/monetary/history`, L = new URL(m, u);
4843
4821
  L.searchParams.append("startDate", `${(/* @__PURE__ */ new Date("2022")).toISOString()}`), L.searchParams.append("endDate", `${(/* @__PURE__ */ new Date("2099")).toISOString()}`), L.searchParams.append("limit", "10000");
4844
4822
  let I = {
@@ -4851,14 +4829,14 @@ function To(e, t, r) {
4851
4829
  return H.json();
4852
4830
  }).then(
4853
4831
  (H) => {
4854
- H.length && (k = wr(H), r(7, pe = k.slice(0, R))), r(4, D = !1);
4832
+ H.length && (k = Er(H), r(7, pe = k.slice(0, R))), r(4, D = !1);
4855
4833
  },
4856
4834
  (H) => {
4857
4835
  console.error("There was an error", H), r(6, N = !0);
4858
4836
  }
4859
4837
  );
4860
- }, wr = (m) => {
4861
- const L = !!Ve[a];
4838
+ }, Er = (m) => {
4839
+ const L = !!ke[a];
4862
4840
  return m.map((H) => {
4863
4841
  let z = {
4864
4842
  amount: "",
@@ -4868,34 +4846,34 @@ function To(e, t, r) {
4868
4846
  type: "",
4869
4847
  removed: !1
4870
4848
  };
4871
- return z.amount = Hr(H), z.currency = L ? ae[H.limitCurrencyCode] : H.limitCurrencyCode, z.date = new Intl.DateTimeFormat("de", { dateStyle: "medium" }).format(new Date(H.limitDate)), z.period = i(`${H.limitPeriod.toLowerCase()}`), z.type = l === "gmcore" ? i(`historyLimitType${H.limitType.split(" ")[0]}`) : i(`historyLimitType${H.limitType.split(" ")[0]}`) + " " + i(`historyProductType${H.limitProductType}`), z.removed = H.limitAmount === -1, z;
4849
+ return z.amount = Tr(H), z.currency = L ? ae[H.limitCurrencyCode] : H.limitCurrencyCode, z.date = new Intl.DateTimeFormat("de", { dateStyle: "medium" }).format(new Date(H.limitDate)), z.period = i(`${H.limitPeriod.toLowerCase()}`), z.type = l === "gmcore" ? i(`historyLimitType${H.limitType.split(" ")[0]}`) : i(`historyLimitType${H.limitType.split(" ")[0]}`) + " " + i(`historyProductType${H.limitProductType}`), z.removed = H.limitAmount === -1, z;
4872
4850
  });
4873
- }, Hr = (m) => {
4851
+ }, Tr = (m) => {
4874
4852
  let L = p || Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(m.limitAmount);
4875
4853
  if (!p) {
4876
- let Rr = ae[m.limitCurrencyCode] || m.limitCurrencyCode;
4877
- return `${L}${Rr}`;
4854
+ let Cr = ae[m.limitCurrencyCode] || m.limitCurrencyCode;
4855
+ return `${L}${Cr}`;
4878
4856
  }
4879
4857
  typeof m.limitAmount == "string" && m.limitAmount.includes(",") && (m.limitAmount = m.limitAmount.replaceAll(",", ""));
4880
4858
  const I = L.match(/\{(\d+)decimals\}/), H = I ? parseInt(I[1], 10) : 2, z = I ? new RegExp("\\{\\d+decimals\\}", "g") : "{decimals}";
4881
4859
  let ye = parseFloat(m.limitAmount).toFixed(H);
4882
- const [Nr, Ne] = p.includes(".") ? [",", "."] : [".", ","];
4883
- let [Me, Mr] = ye.split(".");
4884
- return Me = Me.replace(/\B(?=(\d{3})+(?!\d))/g, Nr), ye = `${Me}${Ne}${Mr}`, L = L.replace("{currency}", ae[m.limitCurrencyCode] || m.limitCurrencyCode).replace("{amount}", ye.split(Ne)[0]).replace(
4860
+ const [Br, Ne] = p.includes(".") ? [",", "."] : [".", ","];
4861
+ let [Me, Or] = ye.split(".");
4862
+ return Me = Me.replace(/\B(?=(\d{3})+(?!\d))/g, Br), ye = `${Me}${Ne}${Or}`, L = L.replace("{currency}", ae[m.limitCurrencyCode] || m.limitCurrencyCode).replace("{amount}", ye.split(Ne)[0]).replace(
4885
4863
  z,
4886
4864
  ye.split(Ne)[1]
4887
4865
  ), L;
4888
- }, Ar = () => {
4866
+ }, Lr = () => {
4889
4867
  r(5, de = !de), r(8, Ie = !Ie);
4890
4868
  };
4891
- let mt = new IntersectionObserver((m) => {
4869
+ let ht = new IntersectionObserver((m) => {
4892
4870
  m.forEach((L) => {
4893
4871
  L.isIntersecting && (R += parseInt(c, 10) || 10, pe.length < k.length && r(7, pe = k.slice(0, R)));
4894
4872
  });
4895
4873
  });
4896
- const Pr = () => {
4897
- mt.observe(w[w.length - 1]);
4898
- }, Br = () => {
4874
+ const Sr = () => {
4875
+ ht.observe(w[w.length - 1]);
4876
+ }, wr = () => {
4899
4877
  if (!f)
4900
4878
  return;
4901
4879
  let m = {};
@@ -4903,34 +4881,34 @@ function To(e, t, r) {
4903
4881
  let I = L.split(":");
4904
4882
  m[I[0].trim()] = I[1].trim();
4905
4883
  }), ae = { ...ae, ...m };
4906
- }, Cr = () => {
4907
- po(a);
4884
+ }, Hr = () => {
4885
+ co(a);
4908
4886
  };
4909
- Qr(() => () => {
4910
- mt.unobserve(w[w.length - 1]);
4887
+ Vr(() => () => {
4888
+ ht.unobserve(w[w.length - 1]);
4911
4889
  });
4912
- function Or(m, L) {
4890
+ function Pr(m, L) {
4913
4891
  Se[m ? "unshift" : "push"](() => {
4914
4892
  w[L] = m, r(3, w);
4915
4893
  });
4916
4894
  }
4917
- function Ir(m) {
4895
+ function Ar(m) {
4918
4896
  Se[m ? "unshift" : "push"](() => {
4919
4897
  b = m, r(2, b);
4920
4898
  });
4921
4899
  }
4922
4900
  return e.$$set = (m) => {
4923
- "lang" in m && r(0, a = m.lang), "userid" in m && r(12, s = m.userid), "session" in m && r(13, h = m.session), "endpoint" in m && r(14, u = m.endpoint), "apiversion" in m && r(15, l = m.apiversion), "numberofentries" in m && r(1, c = m.numberofentries), "customcurrencysymbols" in m && r(16, f = m.customcurrencysymbols), "limitformat" in m && r(17, p = m.limitformat), "clientstyling" in m && r(18, y = m.clientstyling), "clientstylingurl" in m && r(19, d = m.clientstylingurl), "mbsource" in m && r(20, v = m.mbsource), "translationurl" in m && r(21, P = m.translationurl);
4901
+ "lang" in m && r(0, a = m.lang), "userid" in m && r(12, s = m.userid), "session" in m && r(13, h = m.session), "endpoint" in m && r(14, u = m.endpoint), "apiversion" in m && r(15, l = m.apiversion), "numberofentries" in m && r(1, c = m.numberofentries), "customcurrencysymbols" in m && r(16, f = m.customcurrencysymbols), "limitformat" in m && r(17, p = m.limitformat), "clientstyling" in m && r(18, y = m.clientstyling), "clientstylingurl" in m && r(19, d = m.clientstylingurl), "mbsource" in m && r(20, v = m.mbsource), "translationurl" in m && r(21, A = m.translationurl);
4924
4902
  }, e.$$.update = () => {
4925
4903
  e.$$.dirty[0] & /*customcurrencysymbols*/
4926
- 65536 && f && Br(), e.$$.dirty[0] & /*endpoint, userid, session, apiversion*/
4927
- 61440 && u && s && h && l && Sr(), e.$$.dirty[0] & /*limitContainer, isLoading, hidden*/
4928
- 56 && w[0] && !D && !de && Pr(), e.$$.dirty[0] & /*lang*/
4929
- 1 && a && Cr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4930
- 262148 && y && b && co(b, y), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4931
- 524292 && d && b && fo(b, d), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4932
- 1048580 && v && b && mo(b, `${v}.Style`), e.$$.dirty[0] & /*translationurl, customStylingContainer*/
4933
- 2097156 && P && b && Lr();
4904
+ 65536 && f && wr(), e.$$.dirty[0] & /*endpoint, userid, session, apiversion*/
4905
+ 61440 && u && s && h && l && xr(), e.$$.dirty[0] & /*limitContainer, isLoading, hidden*/
4906
+ 56 && w[0] && !D && !de && Sr(), e.$$.dirty[0] & /*lang*/
4907
+ 1 && a && Hr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4908
+ 262148 && y && b && uo(b, y), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4909
+ 524292 && d && b && lo(b, d), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4910
+ 1048580 && v && b && ho(b, `${v}.Style`), e.$$.dirty[0] & /*translationurl, customStylingContainer*/
4911
+ 2097156 && A && b && _r();
4934
4912
  }, [
4935
4913
  a,
4936
4914
  c,
@@ -4943,7 +4921,7 @@ function To(e, t, r) {
4943
4921
  Ie,
4944
4922
  i,
4945
4923
  o,
4946
- Ar,
4924
+ Lr,
4947
4925
  s,
4948
4926
  h,
4949
4927
  u,
@@ -4953,19 +4931,19 @@ function To(e, t, r) {
4953
4931
  y,
4954
4932
  d,
4955
4933
  v,
4956
- P,
4957
- Or,
4958
- Ir
4934
+ A,
4935
+ Pr,
4936
+ Ar
4959
4937
  ];
4960
4938
  }
4961
- class Tr extends si {
4939
+ class vr extends ri {
4962
4940
  constructor(t) {
4963
- super(), ni(
4941
+ super(), ei(
4964
4942
  this,
4965
4943
  t,
4966
- To,
4967
- Eo,
4968
- Ft,
4944
+ _o,
4945
+ vo,
4946
+ Ut,
4969
4947
  {
4970
4948
  lang: 0,
4971
4949
  userid: 12,
@@ -4980,7 +4958,7 @@ class Tr extends si {
4980
4958
  mbsource: 20,
4981
4959
  translationurl: 21
4982
4960
  },
4983
- yo,
4961
+ fo,
4984
4962
  [-1, -1]
4985
4963
  );
4986
4964
  }
@@ -4988,128 +4966,128 @@ class Tr extends si {
4988
4966
  return this.$$.ctx[0];
4989
4967
  }
4990
4968
  set lang(t) {
4991
- this.$$set({ lang: t }), O();
4969
+ this.$$set({ lang: t }), C();
4992
4970
  }
4993
4971
  get userid() {
4994
4972
  return this.$$.ctx[12];
4995
4973
  }
4996
4974
  set userid(t) {
4997
- this.$$set({ userid: t }), O();
4975
+ this.$$set({ userid: t }), C();
4998
4976
  }
4999
4977
  get session() {
5000
4978
  return this.$$.ctx[13];
5001
4979
  }
5002
4980
  set session(t) {
5003
- this.$$set({ session: t }), O();
4981
+ this.$$set({ session: t }), C();
5004
4982
  }
5005
4983
  get endpoint() {
5006
4984
  return this.$$.ctx[14];
5007
4985
  }
5008
4986
  set endpoint(t) {
5009
- this.$$set({ endpoint: t }), O();
4987
+ this.$$set({ endpoint: t }), C();
5010
4988
  }
5011
4989
  get apiversion() {
5012
4990
  return this.$$.ctx[15];
5013
4991
  }
5014
4992
  set apiversion(t) {
5015
- this.$$set({ apiversion: t }), O();
4993
+ this.$$set({ apiversion: t }), C();
5016
4994
  }
5017
4995
  get numberofentries() {
5018
4996
  return this.$$.ctx[1];
5019
4997
  }
5020
4998
  set numberofentries(t) {
5021
- this.$$set({ numberofentries: t }), O();
4999
+ this.$$set({ numberofentries: t }), C();
5022
5000
  }
5023
5001
  get customcurrencysymbols() {
5024
5002
  return this.$$.ctx[16];
5025
5003
  }
5026
5004
  set customcurrencysymbols(t) {
5027
- this.$$set({ customcurrencysymbols: t }), O();
5005
+ this.$$set({ customcurrencysymbols: t }), C();
5028
5006
  }
5029
5007
  get limitformat() {
5030
5008
  return this.$$.ctx[17];
5031
5009
  }
5032
5010
  set limitformat(t) {
5033
- this.$$set({ limitformat: t }), O();
5011
+ this.$$set({ limitformat: t }), C();
5034
5012
  }
5035
5013
  get clientstyling() {
5036
5014
  return this.$$.ctx[18];
5037
5015
  }
5038
5016
  set clientstyling(t) {
5039
- this.$$set({ clientstyling: t }), O();
5017
+ this.$$set({ clientstyling: t }), C();
5040
5018
  }
5041
5019
  get clientstylingurl() {
5042
5020
  return this.$$.ctx[19];
5043
5021
  }
5044
5022
  set clientstylingurl(t) {
5045
- this.$$set({ clientstylingurl: t }), O();
5023
+ this.$$set({ clientstylingurl: t }), C();
5046
5024
  }
5047
5025
  get mbsource() {
5048
5026
  return this.$$.ctx[20];
5049
5027
  }
5050
5028
  set mbsource(t) {
5051
- this.$$set({ mbsource: t }), O();
5029
+ this.$$set({ mbsource: t }), C();
5052
5030
  }
5053
5031
  get translationurl() {
5054
5032
  return this.$$.ctx[21];
5055
5033
  }
5056
5034
  set translationurl(t) {
5057
- this.$$set({ translationurl: t }), O();
5035
+ this.$$set({ translationurl: t }), C();
5058
5036
  }
5059
5037
  }
5060
- oi(Tr, { lang: {}, userid: {}, session: {}, endpoint: {}, apiversion: {}, numberofentries: {}, customcurrencysymbols: {}, limitformat: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
5061
- const zo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5038
+ ti(vr, { lang: {}, userid: {}, session: {}, endpoint: {}, apiversion: {}, numberofentries: {}, customcurrencysymbols: {}, limitformat: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
5039
+ const Mo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5062
5040
  __proto__: null,
5063
- default: Tr
5041
+ default: vr
5064
5042
  }, Symbol.toStringTag, { value: "Module" }));
5065
5043
  export {
5066
5044
  oe as $,
5067
- bt as A,
5068
- Co as B,
5069
- jr as C,
5070
- ie as D,
5071
- Ze as E,
5072
- Oo as F,
5073
- lo as G,
5074
- Re as H,
5075
- Wr as I,
5045
+ So as A,
5046
+ Ao as B,
5047
+ Xe as C,
5048
+ Re as D,
5049
+ Fr as E,
5050
+ so as F,
5051
+ uo as G,
5052
+ lo as H,
5053
+ ho as I,
5076
5054
  me as J,
5077
- Ro as K,
5078
- Mo as L,
5079
- ei as M,
5080
- Do as N,
5081
- No as O,
5082
- Po as P,
5083
- Lo as Q,
5084
- wo as R,
5085
- si as S,
5086
- Ho as T,
5087
- So as U,
5088
- zo as V,
5089
- gr as a,
5090
- $r as b,
5091
- oi as c,
5092
- We as d,
5093
- A as e,
5094
- O as f,
5095
- E as g,
5096
- T as h,
5097
- ni as i,
5098
- W as j,
5099
- j as k,
5100
- Ur as l,
5101
- ho as m,
5102
- C as n,
5103
- Qr as o,
5104
- fo as p,
5105
- mo as q,
5106
- Io as r,
5107
- Ft as s,
5108
- Bo as t,
5109
- Se as u,
5110
- co as v,
5111
- M as w,
5112
- Ao as x,
5113
- kr as y,
5114
- F as z
5055
+ Io as K,
5056
+ Yr as L,
5057
+ Co as M,
5058
+ No as N,
5059
+ Oo as O,
5060
+ wo as P,
5061
+ xo as Q,
5062
+ To as R,
5063
+ ri as S,
5064
+ Lo as T,
5065
+ Eo as U,
5066
+ Mo as V,
5067
+ pr as a,
5068
+ Rr as b,
5069
+ ti as c,
5070
+ j as d,
5071
+ T as e,
5072
+ C as f,
5073
+ W as g,
5074
+ P as h,
5075
+ ei as i,
5076
+ Ve as j,
5077
+ E as k,
5078
+ Mr as l,
5079
+ ao as m,
5080
+ O as n,
5081
+ Vr as o,
5082
+ Bo as p,
5083
+ Se as q,
5084
+ pt as r,
5085
+ Ut as s,
5086
+ Ho as t,
5087
+ Ur as u,
5088
+ ie as v,
5089
+ F as w,
5090
+ Po as x,
5091
+ $r as y,
5092
+ M as z
5115
5093
  };