@everymatrix/player-account-gaming-limits-wrapper-2 1.55.0 → 1.56.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (29) hide show
  1. package/components/{PlayerAccountGamingLimitsHistory2-4KF7-RcC.js → PlayerAccountGamingLimitsHistory2-B3PpGrMk.js} +1087 -965
  2. package/components/{PlayerAccountGamingLimitsHistory2-CBvsOjCi.js → PlayerAccountGamingLimitsHistory2-DIXg5IuM.js} +1121 -999
  3. package/components/PlayerAccountGamingLimitsHistory2-DOCZA8tu.cjs +18 -0
  4. package/components/{PlayerAccountGamingLimitsPage2Gm16-Dtq9wJaJ.js → PlayerAccountGamingLimitsPage2Gm16-CVQA1OzN.js} +1076 -1039
  5. package/components/{PlayerAccountGamingLimitsPage2Gm16-CuxJ8Xju.js → PlayerAccountGamingLimitsPage2Gm16-DAO9xs8v.js} +1177 -1140
  6. package/components/PlayerAccountGamingLimitsPage2Gm16-YT7q0L2x.cjs +21 -0
  7. package/components/PlayerAccountGamingLimitsWrapper2-BI1e7Suv.js +1011 -0
  8. package/components/PlayerAccountGamingLimitsWrapper2-D6BtA2Oq.cjs +1 -0
  9. package/components/PlayerAccountGamingLimitsWrapper2-T9cBmOrL.js +1017 -0
  10. package/es2015/player-account-gaming-limits-wrapper-2.cjs +1 -1
  11. package/es2015/player-account-gaming-limits-wrapper-2.js +1 -1
  12. package/esnext/player-account-gaming-limits-wrapper-2.js +1 -1
  13. package/package.json +1 -1
  14. package/stencil/app-globals-0f993ce5-D-kw1sls.js +5 -0
  15. package/stencil/app-globals-0f993ce5-sCt45RkC.cjs +1 -0
  16. package/stencil/index-ae04a8b1-DPYODDdm.cjs +1 -0
  17. package/stencil/index-ae04a8b1-DRAR7dln.js +532 -0
  18. package/stencil/index-ae04a8b1-eSktas_K.js +516 -0
  19. package/stencil/ui-skeleton-C1buDKbo.cjs +1 -0
  20. package/stencil/ui-skeleton-C5gPr5Xv.js +11 -0
  21. package/stencil/ui-skeleton-M7HNQCk1.js +29 -0
  22. package/stencil/ui-skeleton-a642cced-BFJMszWG.js +122 -0
  23. package/stencil/ui-skeleton-a642cced-DO34s50a.cjs +1 -0
  24. package/stencil/ui-skeleton-a642cced-p8tGooXk.js +122 -0
  25. package/components/PlayerAccountGamingLimitsHistory2-7xNrE9YG.cjs +0 -5
  26. package/components/PlayerAccountGamingLimitsPage2Gm16--q4xUQS8.cjs +0 -21
  27. package/components/PlayerAccountGamingLimitsWrapper2-BOn1tC_K.cjs +0 -1
  28. package/components/PlayerAccountGamingLimitsWrapper2-Cjgpntyc.js +0 -866
  29. package/components/PlayerAccountGamingLimitsWrapper2-nKKqHfcg.js +0 -860
@@ -1,54 +1,98 @@
1
- function O() {
1
+ function B() {
2
+ }
3
+ function Dr(e, t) {
4
+ for (const r in t)
5
+ e[r] = t[r];
6
+ return (
7
+ /** @type {T & S} */
8
+ e
9
+ );
2
10
  }
3
- function $t(e) {
11
+ function Ft(e) {
4
12
  return e();
5
13
  }
6
- function ct() {
14
+ function pt() {
7
15
  return /* @__PURE__ */ Object.create(null);
8
16
  }
9
- function ce(e) {
10
- e.forEach($t);
17
+ function ie(e) {
18
+ e.forEach(Ft);
11
19
  }
12
- function ot(e) {
20
+ function ut(e) {
13
21
  return typeof e == "function";
14
22
  }
15
- function Ut(e, t) {
23
+ function jt(e, t) {
16
24
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
25
  }
18
- function Rr(e) {
26
+ function Ur(e) {
19
27
  return Object.keys(e).length === 0;
20
28
  }
21
- function Gt(e, ...t) {
29
+ function kt(e, ...t) {
22
30
  if (e == null) {
23
31
  for (const i of t)
24
32
  i(void 0);
25
- return O;
33
+ return B;
26
34
  }
27
35
  const r = e.subscribe(...t);
28
36
  return r.unsubscribe ? () => r.unsubscribe() : r;
29
37
  }
30
- function Mr(e, t, r) {
31
- e.$$.on_destroy.push(Gt(t, r));
38
+ function $r(e, t, r) {
39
+ e.$$.on_destroy.push(kt(t, r));
40
+ }
41
+ function To(e, t, r, i) {
42
+ if (e) {
43
+ const n = Vt(e, t, r, i);
44
+ return e[0](n);
45
+ }
46
+ }
47
+ function Vt(e, t, r, i) {
48
+ return e[1] && i ? Dr(r.ctx.slice(), e[1](i(t))) : r.ctx;
49
+ }
50
+ function Lo(e, t, r, i) {
51
+ if (e[2] && i) {
52
+ const n = e[2](i(r));
53
+ if (t.dirty === void 0)
54
+ return n;
55
+ if (typeof n == "object") {
56
+ const o = [], a = Math.max(t.dirty.length, n.length);
57
+ for (let s = 0; s < a; s += 1)
58
+ o[s] = t.dirty[s] | n[s];
59
+ return o;
60
+ }
61
+ return t.dirty | n;
62
+ }
63
+ return t.dirty;
64
+ }
65
+ function So(e, t, r, i, n, o) {
66
+ if (n) {
67
+ const a = Vt(t, r, i, o);
68
+ e.p(a, n);
69
+ }
70
+ }
71
+ function wo(e) {
72
+ if (e.ctx.length > 32) {
73
+ const t = [], r = e.ctx.length / 32;
74
+ for (let i = 0; i < r; i++)
75
+ t[i] = -1;
76
+ return t;
77
+ }
78
+ return -1;
32
79
  }
33
- function ft(e) {
80
+ function dt(e) {
34
81
  return e ?? "";
35
82
  }
36
- const bo = typeof window < "u" ? window : typeof globalThis < "u" ? globalThis : (
37
- // @ts-ignore Node typings have this
38
- global
39
- );
40
- function L(e, t) {
83
+ function T(e, t) {
41
84
  e.appendChild(t);
42
85
  }
43
- function Dr(e, t, r) {
44
- const i = $r(e);
86
+ function Gr(e, t, r) {
87
+ const i = Fr(e);
45
88
  if (!i.getElementById(t)) {
46
89
  const n = P("style");
47
- n.id = t, n.textContent = r, Ur(i, n);
90
+ n.id = t, n.textContent = r, jr(i, n);
48
91
  }
49
92
  }
50
- function $r(e) {
51
- if (!e) return document;
93
+ function Fr(e) {
94
+ if (!e)
95
+ return document;
52
96
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
53
97
  return t && /** @type {ShadowRoot} */
54
98
  t.host ? (
@@ -56,65 +100,65 @@ function $r(e) {
56
100
  t
57
101
  ) : e.ownerDocument;
58
102
  }
59
- function Ur(e, t) {
60
- return L(
103
+ function jr(e, t) {
104
+ return T(
61
105
  /** @type {Document} */
62
106
  e.head || e,
63
107
  t
64
108
  ), t.sheet;
65
109
  }
66
- function W(e, t, r) {
110
+ function X(e, t, r) {
67
111
  e.insertBefore(t, r || null);
68
112
  }
69
113
  function k(e) {
70
114
  e.parentNode && e.parentNode.removeChild(e);
71
115
  }
72
- function Gr(e, t) {
116
+ function kr(e, t) {
73
117
  for (let r = 0; r < e.length; r += 1)
74
118
  e[r] && e[r].d(t);
75
119
  }
76
120
  function P(e) {
77
121
  return document.createElement(e);
78
122
  }
79
- function Ce(e) {
123
+ function Me(e) {
80
124
  return document.createElementNS("http://www.w3.org/2000/svg", e);
81
125
  }
82
126
  function R(e) {
83
127
  return document.createTextNode(e);
84
128
  }
85
- function ke() {
129
+ function Xe() {
86
130
  return R(" ");
87
131
  }
88
- function vo() {
132
+ function Ao() {
89
133
  return R("");
90
134
  }
91
- function Fr(e, t, r, i) {
135
+ function Vr(e, t, r, i) {
92
136
  return e.addEventListener(t, r, i), () => e.removeEventListener(t, r, i);
93
137
  }
94
138
  function x(e, t, r) {
95
139
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
96
140
  }
97
- function _o(e, t, r) {
141
+ function Po(e, t, r) {
98
142
  const i = t.toLowerCase();
99
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 : x(e, t, r);
100
144
  }
101
- function Eo(e) {
145
+ function Ho(e) {
102
146
  return e === "" ? null : +e;
103
147
  }
104
- function jr(e) {
148
+ function Wr(e) {
105
149
  return Array.from(e.childNodes);
106
150
  }
107
151
  function j(e, t) {
108
152
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
109
153
  t);
110
154
  }
111
- function xo(e, t) {
155
+ function Io(e, t) {
112
156
  e.value = t ?? "";
113
157
  }
114
- function To(e, t, r, i) {
158
+ function Bo(e, t, r, i) {
115
159
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
116
160
  }
117
- function Lo(e, t, r) {
161
+ function Oo(e, t, r) {
118
162
  for (let i = 0; i < e.options.length; i += 1) {
119
163
  const n = e.options[i];
120
164
  if (n.__value === t) {
@@ -124,14 +168,14 @@ function Lo(e, t, r) {
124
168
  }
125
169
  (!r || t !== void 0) && (e.selectedIndex = -1);
126
170
  }
127
- function So(e) {
171
+ function Co(e) {
128
172
  const t = e.querySelector(":checked");
129
173
  return t && t.__value;
130
174
  }
131
- function de(e, t, r) {
175
+ function ge(e, t, r) {
132
176
  e.classList.toggle(t, !!r);
133
177
  }
134
- function kr(e) {
178
+ function Xr(e) {
135
179
  const t = {};
136
180
  return e.childNodes.forEach(
137
181
  /** @param {Element} node */
@@ -140,96 +184,120 @@ function kr(e) {
140
184
  }
141
185
  ), t;
142
186
  }
143
- let le;
144
- function ae(e) {
145
- le = e;
187
+ let he;
188
+ function le(e) {
189
+ he = e;
146
190
  }
147
- function Vr() {
148
- if (!le) throw new Error("Function called outside component initialization");
149
- return le;
191
+ function zr() {
192
+ if (!he)
193
+ throw new Error("Function called outside component initialization");
194
+ return he;
150
195
  }
151
- function Wr(e) {
152
- Vr().$$.on_mount.push(e);
196
+ function Zr(e) {
197
+ zr().$$.on_mount.push(e);
153
198
  }
154
- const Q = [], xe = [];
155
- let Y = [];
156
- const mt = [], Xr = /* @__PURE__ */ Promise.resolve();
157
- let Ve = !1;
158
- function zr() {
159
- Ve || (Ve = !0, Xr.then(C));
199
+ const Y = [], Se = [];
200
+ let J = [];
201
+ const yt = [], Qr = /* @__PURE__ */ Promise.resolve();
202
+ let ze = !1;
203
+ function Yr() {
204
+ ze || (ze = !0, Qr.then(O));
160
205
  }
161
- function We(e) {
162
- Y.push(e);
206
+ function Ze(e) {
207
+ J.push(e);
163
208
  }
164
- const Ne = /* @__PURE__ */ new Set();
165
- let z = 0;
166
- function C() {
167
- if (z !== 0)
209
+ const De = /* @__PURE__ */ new Set();
210
+ let Z = 0;
211
+ function O() {
212
+ if (Z !== 0)
168
213
  return;
169
- const e = le;
214
+ const e = he;
170
215
  do {
171
216
  try {
172
- for (; z < Q.length; ) {
173
- const t = Q[z];
174
- z++, ae(t), Zr(t.$$);
217
+ for (; Z < Y.length; ) {
218
+ const t = Y[Z];
219
+ Z++, le(t), Jr(t.$$);
175
220
  }
176
221
  } catch (t) {
177
- throw Q.length = 0, z = 0, t;
222
+ throw Y.length = 0, Z = 0, t;
178
223
  }
179
- for (ae(null), Q.length = 0, z = 0; xe.length; ) xe.pop()();
180
- for (let t = 0; t < Y.length; t += 1) {
181
- const r = Y[t];
182
- Ne.has(r) || (Ne.add(r), r());
224
+ for (le(null), Y.length = 0, Z = 0; Se.length; )
225
+ Se.pop()();
226
+ for (let t = 0; t < J.length; t += 1) {
227
+ const r = J[t];
228
+ De.has(r) || (De.add(r), r());
183
229
  }
184
- Y.length = 0;
185
- } while (Q.length);
186
- for (; mt.length; )
187
- mt.pop()();
188
- Ve = !1, Ne.clear(), ae(e);
230
+ J.length = 0;
231
+ } while (Y.length);
232
+ for (; yt.length; )
233
+ yt.pop()();
234
+ ze = !1, De.clear(), le(e);
189
235
  }
190
- function Zr(e) {
236
+ function Jr(e) {
191
237
  if (e.fragment !== null) {
192
- e.update(), ce(e.before_update);
238
+ e.update(), ie(e.before_update);
193
239
  const t = e.dirty;
194
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(We);
240
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ze);
195
241
  }
196
242
  }
197
- function Qr(e) {
243
+ function qr(e) {
198
244
  const t = [], r = [];
199
- Y.forEach((i) => e.indexOf(i) === -1 ? t.push(i) : r.push(i)), r.forEach((i) => i()), Y = t;
245
+ J.forEach((i) => e.indexOf(i) === -1 ? t.push(i) : r.push(i)), r.forEach((i) => i()), J = t;
246
+ }
247
+ const _e = /* @__PURE__ */ new Set();
248
+ let W;
249
+ function No() {
250
+ W = {
251
+ r: 0,
252
+ c: [],
253
+ p: W
254
+ // parent group
255
+ };
200
256
  }
201
- const Yr = /* @__PURE__ */ new Set();
202
- function Jr(e, t) {
203
- e && e.i && (Yr.delete(e), e.i(t));
257
+ function Ro() {
258
+ W.r || ie(W.c), W = W.p;
259
+ }
260
+ function Kr(e, t) {
261
+ e && e.i && (_e.delete(e), e.i(t));
262
+ }
263
+ function Mo(e, t, r, i) {
264
+ if (e && e.o) {
265
+ if (_e.has(e))
266
+ return;
267
+ _e.add(e), W.c.push(() => {
268
+ _e.delete(e), i && (r && e.d(1), i());
269
+ }), e.o(t);
270
+ } else
271
+ i && i();
204
272
  }
205
- function pt(e) {
273
+ function gt(e) {
206
274
  return e?.length !== void 0 ? e : Array.from(e);
207
275
  }
208
- function qr(e, t, r) {
276
+ function ei(e, t, r) {
209
277
  const { fragment: i, after_update: n } = e.$$;
210
- i && i.m(t, r), We(() => {
211
- const o = e.$$.on_mount.map($t).filter(ot);
212
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ce(o), e.$$.on_mount = [];
213
- }), n.forEach(We);
278
+ i && i.m(t, r), Ze(() => {
279
+ const o = e.$$.on_mount.map(Ft).filter(ut);
280
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ie(o), e.$$.on_mount = [];
281
+ }), n.forEach(Ze);
214
282
  }
215
- function Kr(e, t) {
283
+ function ti(e, t) {
216
284
  const r = e.$$;
217
- r.fragment !== null && (Qr(r.after_update), ce(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 = []);
218
286
  }
219
- function ei(e, t) {
220
- e.$$.dirty[0] === -1 && (Q.push(e), zr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
287
+ function ri(e, t) {
288
+ e.$$.dirty[0] === -1 && (Y.push(e), Yr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
221
289
  }
222
- function ti(e, t, r, i, n, o, a = null, s = [-1]) {
223
- const h = le;
224
- ae(e);
225
- const l = e.$$ = {
290
+ function ii(e, t, r, i, n, o, a = null, s = [-1]) {
291
+ const h = he;
292
+ le(e);
293
+ const u = e.$$ = {
226
294
  fragment: null,
227
295
  ctx: [],
228
296
  // state
229
297
  props: o,
230
- update: O,
298
+ update: B,
231
299
  not_equal: n,
232
- bound: ct(),
300
+ bound: pt(),
233
301
  // lifecycle
234
302
  on_mount: [],
235
303
  on_destroy: [],
@@ -238,28 +306,28 @@ function ti(e, t, r, i, n, o, a = null, s = [-1]) {
238
306
  after_update: [],
239
307
  context: new Map(t.context || (h ? h.$$.context : [])),
240
308
  // everything else
241
- callbacks: ct(),
309
+ callbacks: pt(),
242
310
  dirty: s,
243
311
  skip_bound: !1,
244
312
  root: t.target || h.$$.root
245
313
  };
246
- a && a(l.root);
247
- let u = !1;
248
- if (l.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
314
+ a && a(u.root);
315
+ let l = !1;
316
+ if (u.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
249
317
  const y = p.length ? p[0] : f;
250
- return l.ctx && n(l.ctx[c], l.ctx[c] = y) && (!l.skip_bound && l.bound[c] && l.bound[c](y), u && ei(e, c)), f;
251
- }) : [], l.update(), u = !0, ce(l.before_update), l.fragment = i ? i(l.ctx) : !1, t.target) {
318
+ return u.ctx && n(u.ctx[c], u.ctx[c] = y) && (!u.skip_bound && u.bound[c] && u.bound[c](y), l && ri(e, c)), f;
319
+ }) : [], u.update(), l = !0, ie(u.before_update), u.fragment = i ? i(u.ctx) : !1, t.target) {
252
320
  if (t.hydrate) {
253
- const c = jr(t.target);
254
- l.fragment && l.fragment.l(c), c.forEach(k);
321
+ const c = Wr(t.target);
322
+ u.fragment && u.fragment.l(c), c.forEach(k);
255
323
  } else
256
- l.fragment && l.fragment.c();
257
- t.intro && Jr(e.$$.fragment), qr(e, t.target, t.anchor), C();
324
+ u.fragment && u.fragment.c();
325
+ t.intro && Kr(e.$$.fragment), ei(e, t.target, t.anchor), O();
258
326
  }
259
- ae(h);
327
+ le(h);
260
328
  }
261
- let Ft;
262
- typeof HTMLElement == "function" && (Ft = class extends HTMLElement {
329
+ let Wt;
330
+ typeof HTMLElement == "function" && (Wt = class extends HTMLElement {
263
331
  /** The Svelte component constructor */
264
332
  $$ctor;
265
333
  /** Slots */
@@ -307,8 +375,8 @@ typeof HTMLElement == "function" && (Ft = class extends HTMLElement {
307
375
  * @param {HTMLElement} target
308
376
  * @param {HTMLElement} [anchor]
309
377
  */
310
- m: function(h, l) {
311
- W(h, o, l);
378
+ m: function(h, u) {
379
+ X(h, o, u);
312
380
  },
313
381
  d: function(h) {
314
382
  h && k(o);
@@ -318,12 +386,12 @@ typeof HTMLElement == "function" && (Ft = class extends HTMLElement {
318
386
  };
319
387
  if (await Promise.resolve(), !this.$$cn || this.$$c)
320
388
  return;
321
- const t = {}, r = kr(this);
389
+ const t = {}, r = Xr(this);
322
390
  for (const n of this.$$s)
323
391
  n in r && (t[n] = [e(n)]);
324
392
  for (const n of this.attributes) {
325
393
  const o = this.$$g_p(n.name);
326
- o in this.$$d || (this.$$d[o] = be(o, n.value, this.$$p_d, "toProp"));
394
+ o in this.$$d || (this.$$d[o] = Ee(o, n.value, this.$$p_d, "toProp"));
327
395
  }
328
396
  for (const n in this.$$p_d)
329
397
  !(n in this.$$d) && this[n] !== void 0 && (this.$$d[n] = this[n], delete this[n]);
@@ -341,7 +409,7 @@ typeof HTMLElement == "function" && (Ft = class extends HTMLElement {
341
409
  this.$$r = !0;
342
410
  for (const n in this.$$p_d)
343
411
  if (this.$$d[n] = this.$$c.$$.ctx[this.$$c.$$.props[n]], this.$$p_d[n].reflect) {
344
- const o = be(
412
+ const o = Ee(
345
413
  n,
346
414
  this.$$d[n],
347
415
  this.$$p_d,
@@ -363,7 +431,7 @@ typeof HTMLElement == "function" && (Ft = class extends HTMLElement {
363
431
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
364
432
  // and setting attributes through setAttribute etc, this is helpful
365
433
  attributeChangedCallback(e, t, r) {
366
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = be(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
434
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = Ee(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
367
435
  }
368
436
  disconnectedCallback() {
369
437
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -376,7 +444,7 @@ typeof HTMLElement == "function" && (Ft = class extends HTMLElement {
376
444
  ) || e;
377
445
  }
378
446
  });
379
- function be(e, t, r, i) {
447
+ function Ee(e, t, r, i) {
380
448
  const n = r[e]?.type;
381
449
  if (t = n === "Boolean" && typeof t != "boolean" ? t != null : t, !i || !r[e])
382
450
  return t;
@@ -405,8 +473,8 @@ function be(e, t, r, i) {
405
473
  return t;
406
474
  }
407
475
  }
408
- function ri(e, t, r, i, n, o) {
409
- let a = class extends Ft {
476
+ function ni(e, t, r, i, n, o) {
477
+ let a = class extends Wt {
410
478
  constructor() {
411
479
  super(e, r, n), this.$$p_d = t;
412
480
  }
@@ -422,7 +490,7 @@ function ri(e, t, r, i, n, o) {
422
490
  return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
423
491
  },
424
492
  set(h) {
425
- h = be(s, h, t), this.$$d[s] = h, this.$$c?.$set({ [s]: h });
493
+ h = Ee(s, h, t), this.$$d[s] = h, this.$$c?.$set({ [s]: h });
426
494
  }
427
495
  });
428
496
  }), i.forEach((s) => {
@@ -434,7 +502,7 @@ function ri(e, t, r, i, n, o) {
434
502
  }), e.element = /** @type {any} */
435
503
  a, a;
436
504
  }
437
- class ii {
505
+ class oi {
438
506
  /**
439
507
  * ### PRIVATE API
440
508
  *
@@ -453,7 +521,7 @@ class ii {
453
521
  $$set = void 0;
454
522
  /** @returns {void} */
455
523
  $destroy() {
456
- Kr(this, 1), this.$destroy = O;
524
+ ti(this, 1), this.$destroy = B;
457
525
  }
458
526
  /**
459
527
  * @template {Extract<keyof Events, string>} K
@@ -462,8 +530,8 @@ class ii {
462
530
  * @returns {() => void}
463
531
  */
464
532
  $on(t, r) {
465
- if (!ot(r))
466
- return O;
533
+ if (!ut(r))
534
+ return B;
467
535
  const i = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
468
536
  return i.push(r), () => {
469
537
  const n = i.indexOf(r);
@@ -475,22 +543,37 @@ class ii {
475
543
  * @returns {void}
476
544
  */
477
545
  $set(t) {
478
- this.$$set && !Rr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
546
+ this.$$set && !Ur(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
479
547
  }
480
548
  }
481
- const ni = "4";
482
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(ni);
483
- var Xe = function(e, t) {
484
- return Xe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
549
+ const si = "4";
550
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(si);
551
+ /*! *****************************************************************************
552
+ Copyright (c) Microsoft Corporation.
553
+
554
+ Permission to use, copy, modify, and/or distribute this software for any
555
+ purpose with or without fee is hereby granted.
556
+
557
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
558
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
559
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
560
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
561
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
562
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
563
+ PERFORMANCE OF THIS SOFTWARE.
564
+ ***************************************************************************** */
565
+ var Qe = function(e, t) {
566
+ return Qe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
485
567
  r.__proto__ = i;
486
568
  } || function(r, i) {
487
- for (var n in i) Object.prototype.hasOwnProperty.call(i, n) && (r[n] = i[n]);
488
- }, Xe(e, t);
569
+ for (var n in i)
570
+ Object.prototype.hasOwnProperty.call(i, n) && (r[n] = i[n]);
571
+ }, Qe(e, t);
489
572
  };
490
573
  function G(e, t) {
491
574
  if (typeof t != "function" && t !== null)
492
575
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
493
- Xe(e, t);
576
+ Qe(e, t);
494
577
  function r() {
495
578
  this.constructor = e;
496
579
  }
@@ -500,61 +583,69 @@ var E = function() {
500
583
  return E = Object.assign || function(t) {
501
584
  for (var r, i = 1, n = arguments.length; i < n; i++) {
502
585
  r = arguments[i];
503
- for (var o in r) Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
586
+ for (var o in r)
587
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
504
588
  }
505
589
  return t;
506
590
  }, E.apply(this, arguments);
507
591
  };
508
- function oi(e, t) {
592
+ function ai(e, t) {
509
593
  var r = {};
510
- for (var i in e) Object.prototype.hasOwnProperty.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
594
+ for (var i in e)
595
+ Object.prototype.hasOwnProperty.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
511
596
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
512
597
  for (var n = 0, i = Object.getOwnPropertySymbols(e); n < i.length; n++)
513
598
  t.indexOf(i[n]) < 0 && Object.prototype.propertyIsEnumerable.call(e, i[n]) && (r[i[n]] = e[i[n]]);
514
599
  return r;
515
600
  }
516
- function ze(e) {
601
+ function Ye(e) {
517
602
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], i = 0;
518
- if (r) return r.call(e);
519
- if (e && typeof e.length == "number") return {
520
- next: function() {
521
- return e && i >= e.length && (e = void 0), { value: e && e[i++], done: !e };
522
- }
523
- };
603
+ if (r)
604
+ return r.call(e);
605
+ if (e && typeof e.length == "number")
606
+ return {
607
+ next: function() {
608
+ return e && i >= e.length && (e = void 0), { value: e && e[i++], done: !e };
609
+ }
610
+ };
524
611
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
525
612
  }
526
- function Ze(e, t) {
613
+ function Je(e, t) {
527
614
  var r = typeof Symbol == "function" && e[Symbol.iterator];
528
- if (!r) return e;
615
+ if (!r)
616
+ return e;
529
617
  var i = r.call(e), n, o = [], a;
530
618
  try {
531
- for (; (t === void 0 || t-- > 0) && !(n = i.next()).done; ) o.push(n.value);
619
+ for (; (t === void 0 || t-- > 0) && !(n = i.next()).done; )
620
+ o.push(n.value);
532
621
  } catch (s) {
533
622
  a = { error: s };
534
623
  } finally {
535
624
  try {
536
625
  n && !n.done && (r = i.return) && r.call(i);
537
626
  } finally {
538
- if (a) throw a.error;
627
+ if (a)
628
+ throw a.error;
539
629
  }
540
630
  }
541
631
  return o;
542
632
  }
543
- function J(e, t, r) {
544
- if (r || arguments.length === 2) for (var i = 0, n = t.length, o; i < n; i++)
545
- (o || !(i in t)) && (o || (o = Array.prototype.slice.call(t, 0, i)), o[i] = t[i]);
546
- return e.concat(o || Array.prototype.slice.call(t));
633
+ function q(e, t, r) {
634
+ if (r || arguments.length === 2)
635
+ for (var i = 0, n = t.length, o; i < n; i++)
636
+ (o || !(i in t)) && (o || (o = Array.prototype.slice.call(t, 0, i)), o[i] = t[i]);
637
+ return e.concat(o || t);
547
638
  }
548
- function U(e) {
639
+ function $(e) {
549
640
  return typeof e == "function";
550
641
  }
551
- function jt(e) {
642
+ function Xt(e) {
552
643
  var t = function(i) {
553
644
  Error.call(i), i.stack = new Error().stack;
554
645
  }, r = e(t);
555
646
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
556
647
  }
557
- var Re = jt(function(e) {
648
+ var Ue = Xt(function(e) {
558
649
  return function(r) {
559
650
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
560
651
  ` + r.map(function(i, n) {
@@ -563,13 +654,13 @@ var Re = jt(function(e) {
563
654
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
564
655
  };
565
656
  });
566
- function Qe(e, t) {
657
+ function qe(e, t) {
567
658
  if (e) {
568
659
  var r = e.indexOf(t);
569
660
  0 <= r && e.splice(r, 1);
570
661
  }
571
662
  }
572
- var Se = function() {
663
+ var Pe = function() {
573
664
  function e(t) {
574
665
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
575
666
  }
@@ -581,9 +672,9 @@ var Se = function() {
581
672
  if (a)
582
673
  if (this._parentage = null, Array.isArray(a))
583
674
  try {
584
- for (var s = ze(a), h = s.next(); !h.done; h = s.next()) {
585
- var l = h.value;
586
- l.remove(this);
675
+ for (var s = Ye(a), h = s.next(); !h.done; h = s.next()) {
676
+ var u = h.value;
677
+ u.remove(this);
587
678
  }
588
679
  } catch (d) {
589
680
  t = { error: d };
@@ -591,28 +682,29 @@ var Se = function() {
591
682
  try {
592
683
  h && !h.done && (r = s.return) && r.call(s);
593
684
  } finally {
594
- if (t) throw t.error;
685
+ if (t)
686
+ throw t.error;
595
687
  }
596
688
  }
597
689
  else
598
690
  a.remove(this);
599
- var u = this.initialTeardown;
600
- if (U(u))
691
+ var l = this.initialTeardown;
692
+ if ($(l))
601
693
  try {
602
- u();
694
+ l();
603
695
  } catch (d) {
604
- o = d instanceof Re ? d.errors : [d];
696
+ o = d instanceof Ue ? d.errors : [d];
605
697
  }
606
698
  var c = this._finalizers;
607
699
  if (c) {
608
700
  this._finalizers = null;
609
701
  try {
610
- for (var f = ze(c), p = f.next(); !p.done; p = f.next()) {
702
+ for (var f = Ye(c), p = f.next(); !p.done; p = f.next()) {
611
703
  var y = p.value;
612
704
  try {
613
- dt(y);
705
+ bt(y);
614
706
  } catch (d) {
615
- o = o ?? [], d instanceof Re ? o = J(J([], Ze(o)), Ze(d.errors)) : o.push(d);
707
+ o = o ?? [], d instanceof Ue ? o = q(q([], Je(o)), Je(d.errors)) : o.push(d);
616
708
  }
617
709
  }
618
710
  } catch (d) {
@@ -621,18 +713,19 @@ var Se = function() {
621
713
  try {
622
714
  p && !p.done && (n = f.return) && n.call(f);
623
715
  } finally {
624
- if (i) throw i.error;
716
+ if (i)
717
+ throw i.error;
625
718
  }
626
719
  }
627
720
  }
628
721
  if (o)
629
- throw new Re(o);
722
+ throw new Ue(o);
630
723
  }
631
724
  }, e.prototype.add = function(t) {
632
725
  var r;
633
726
  if (t && t !== this)
634
727
  if (this.closed)
635
- dt(t);
728
+ bt(t);
636
729
  else {
637
730
  if (t instanceof e) {
638
731
  if (t.closed || t._hasParent(this))
@@ -649,56 +742,56 @@ var Se = function() {
649
742
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
650
743
  }, e.prototype._removeParent = function(t) {
651
744
  var r = this._parentage;
652
- r === t ? this._parentage = null : Array.isArray(r) && Qe(r, t);
745
+ r === t ? this._parentage = null : Array.isArray(r) && qe(r, t);
653
746
  }, e.prototype.remove = function(t) {
654
747
  var r = this._finalizers;
655
- r && Qe(r, t), t instanceof e && t._removeParent(this);
748
+ r && qe(r, t), t instanceof e && t._removeParent(this);
656
749
  }, e.EMPTY = function() {
657
750
  var t = new e();
658
751
  return t.closed = !0, t;
659
752
  }(), e;
660
- }(), kt = Se.EMPTY;
661
- function Vt(e) {
662
- return e instanceof Se || e && "closed" in e && U(e.remove) && U(e.add) && U(e.unsubscribe);
753
+ }(), zt = Pe.EMPTY;
754
+ function Zt(e) {
755
+ return e instanceof Pe || e && "closed" in e && $(e.remove) && $(e.add) && $(e.unsubscribe);
663
756
  }
664
- function dt(e) {
665
- U(e) ? e() : e.unsubscribe();
757
+ function bt(e) {
758
+ $(e) ? e() : e.unsubscribe();
666
759
  }
667
- var Wt = {
760
+ var Qt = {
668
761
  onUnhandledError: null,
669
762
  onStoppedNotification: null,
670
763
  Promise: void 0,
671
764
  useDeprecatedSynchronousErrorHandling: !1,
672
765
  useDeprecatedNextContext: !1
673
- }, si = {
766
+ }, ui = {
674
767
  setTimeout: function(e, t) {
675
768
  for (var r = [], i = 2; i < arguments.length; i++)
676
769
  r[i - 2] = arguments[i];
677
- return setTimeout.apply(void 0, J([e, t], Ze(r)));
770
+ return setTimeout.apply(void 0, q([e, t], Je(r)));
678
771
  },
679
772
  clearTimeout: function(e) {
680
773
  return clearTimeout(e);
681
774
  },
682
775
  delegate: void 0
683
776
  };
684
- function ai(e) {
685
- si.setTimeout(function() {
777
+ function li(e) {
778
+ ui.setTimeout(function() {
686
779
  throw e;
687
780
  });
688
781
  }
689
- function yt() {
782
+ function vt() {
690
783
  }
691
- function ve(e) {
784
+ function xe(e) {
692
785
  e();
693
786
  }
694
- var Xt = function(e) {
787
+ var Yt = function(e) {
695
788
  G(t, e);
696
789
  function t(r) {
697
790
  var i = e.call(this) || this;
698
- return i.isStopped = !1, r ? (i.destination = r, Vt(r) && r.add(i)) : i.destination = ci, i;
791
+ return i.isStopped = !1, r ? (i.destination = r, Zt(r) && r.add(i)) : i.destination = mi, i;
699
792
  }
700
793
  return t.create = function(r, i, n) {
701
- return new Ye(r, i, n);
794
+ return new Ke(r, i, n);
702
795
  }, t.prototype.next = function(r) {
703
796
  this.isStopped || this._next(r);
704
797
  }, t.prototype.error = function(r) {
@@ -722,11 +815,11 @@ var Xt = function(e) {
722
815
  this.unsubscribe();
723
816
  }
724
817
  }, t;
725
- }(Se), li = Function.prototype.bind;
726
- function Me(e, t) {
727
- return li.call(e, t);
818
+ }(Pe), hi = Function.prototype.bind;
819
+ function $e(e, t) {
820
+ return hi.call(e, t);
728
821
  }
729
- var ui = function() {
822
+ var ci = function() {
730
823
  function e(t) {
731
824
  this.partialObserver = t;
732
825
  }
@@ -736,7 +829,7 @@ var ui = function() {
736
829
  try {
737
830
  r.next(t);
738
831
  } catch (i) {
739
- ye(i);
832
+ be(i);
740
833
  }
741
834
  }, e.prototype.error = function(t) {
742
835
  var r = this.partialObserver;
@@ -744,24 +837,24 @@ var ui = function() {
744
837
  try {
745
838
  r.error(t);
746
839
  } catch (i) {
747
- ye(i);
840
+ be(i);
748
841
  }
749
842
  else
750
- ye(t);
843
+ be(t);
751
844
  }, e.prototype.complete = function() {
752
845
  var t = this.partialObserver;
753
846
  if (t.complete)
754
847
  try {
755
848
  t.complete();
756
849
  } catch (r) {
757
- ye(r);
850
+ be(r);
758
851
  }
759
852
  }, e;
760
- }(), Ye = function(e) {
853
+ }(), Ke = function(e) {
761
854
  G(t, e);
762
855
  function t(r, i, n) {
763
856
  var o = e.call(this) || this, a;
764
- if (U(r) || !r)
857
+ if ($(r) || !r)
765
858
  a = {
766
859
  next: r ?? void 0,
767
860
  error: i ?? void 0,
@@ -769,43 +862,43 @@ var ui = function() {
769
862
  };
770
863
  else {
771
864
  var s;
772
- o && Wt.useDeprecatedNextContext ? (s = Object.create(r), s.unsubscribe = function() {
865
+ o && Qt.useDeprecatedNextContext ? (s = Object.create(r), s.unsubscribe = function() {
773
866
  return o.unsubscribe();
774
867
  }, a = {
775
- next: r.next && Me(r.next, s),
776
- error: r.error && Me(r.error, s),
777
- complete: r.complete && Me(r.complete, s)
868
+ next: r.next && $e(r.next, s),
869
+ error: r.error && $e(r.error, s),
870
+ complete: r.complete && $e(r.complete, s)
778
871
  }) : a = r;
779
872
  }
780
- return o.destination = new ui(a), o;
873
+ return o.destination = new ci(a), o;
781
874
  }
782
875
  return t;
783
- }(Xt);
784
- function ye(e) {
785
- ai(e);
876
+ }(Yt);
877
+ function be(e) {
878
+ li(e);
786
879
  }
787
- function hi(e) {
880
+ function fi(e) {
788
881
  throw e;
789
882
  }
790
- var ci = {
883
+ var mi = {
791
884
  closed: !0,
792
- next: yt,
793
- error: hi,
794
- complete: yt
795
- }, fi = function() {
885
+ next: vt,
886
+ error: fi,
887
+ complete: vt
888
+ }, pi = function() {
796
889
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
797
890
  }();
798
- function mi(e) {
891
+ function di(e) {
799
892
  return e;
800
893
  }
801
- function pi(e) {
802
- return e.length === 0 ? mi : e.length === 1 ? e[0] : function(r) {
894
+ function yi(e) {
895
+ return e.length === 0 ? di : e.length === 1 ? e[0] : function(r) {
803
896
  return e.reduce(function(i, n) {
804
897
  return n(i);
805
898
  }, r);
806
899
  };
807
900
  }
808
- var gt = function() {
901
+ var _t = function() {
809
902
  function e(t) {
810
903
  t && (this._subscribe = t);
811
904
  }
@@ -813,8 +906,8 @@ var gt = function() {
813
906
  var r = new e();
814
907
  return r.source = this, r.operator = t, r;
815
908
  }, e.prototype.subscribe = function(t, r, i) {
816
- var n = this, o = yi(t) ? t : new Ye(t, r, i);
817
- return ve(function() {
909
+ var n = this, o = bi(t) ? t : new Ke(t, r, i);
910
+ return xe(function() {
818
911
  var a = n, s = a.operator, h = a.source;
819
912
  o.add(s ? s.call(o, h) : h ? n._subscribe(o) : n._trySubscribe(o));
820
913
  }), o;
@@ -826,8 +919,8 @@ var gt = function() {
826
919
  }
827
920
  }, e.prototype.forEach = function(t, r) {
828
921
  var i = this;
829
- return r = bt(r), new r(function(n, o) {
830
- var a = new Ye({
922
+ return r = Et(r), new r(function(n, o) {
923
+ var a = new Ke({
831
924
  next: function(s) {
832
925
  try {
833
926
  t(s);
@@ -843,15 +936,15 @@ var gt = function() {
843
936
  }, e.prototype._subscribe = function(t) {
844
937
  var r;
845
938
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
846
- }, e.prototype[fi] = function() {
939
+ }, e.prototype[pi] = function() {
847
940
  return this;
848
941
  }, e.prototype.pipe = function() {
849
942
  for (var t = [], r = 0; r < arguments.length; r++)
850
943
  t[r] = arguments[r];
851
- return pi(t)(this);
944
+ return yi(t)(this);
852
945
  }, e.prototype.toPromise = function(t) {
853
946
  var r = this;
854
- return t = bt(t), new t(function(i, n) {
947
+ return t = Et(t), new t(function(i, n) {
855
948
  var o;
856
949
  r.subscribe(function(a) {
857
950
  return o = a;
@@ -865,57 +958,58 @@ var gt = function() {
865
958
  return new e(t);
866
959
  }, e;
867
960
  }();
868
- function bt(e) {
961
+ function Et(e) {
869
962
  var t;
870
- return (t = e ?? Wt.Promise) !== null && t !== void 0 ? t : Promise;
963
+ return (t = e ?? Qt.Promise) !== null && t !== void 0 ? t : Promise;
871
964
  }
872
- function di(e) {
873
- return e && U(e.next) && U(e.error) && U(e.complete);
965
+ function gi(e) {
966
+ return e && $(e.next) && $(e.error) && $(e.complete);
874
967
  }
875
- function yi(e) {
876
- return e && e instanceof Xt || di(e) && Vt(e);
968
+ function bi(e) {
969
+ return e && e instanceof Yt || gi(e) && Zt(e);
877
970
  }
878
- var gi = jt(function(e) {
971
+ var vi = Xt(function(e) {
879
972
  return function() {
880
973
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
881
974
  };
882
- }), zt = function(e) {
975
+ }), Jt = function(e) {
883
976
  G(t, e);
884
977
  function t() {
885
978
  var r = e.call(this) || this;
886
979
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
887
980
  }
888
981
  return t.prototype.lift = function(r) {
889
- var i = new vt(this, this);
982
+ var i = new xt(this, this);
890
983
  return i.operator = r, i;
891
984
  }, t.prototype._throwIfClosed = function() {
892
985
  if (this.closed)
893
- throw new gi();
986
+ throw new vi();
894
987
  }, t.prototype.next = function(r) {
895
988
  var i = this;
896
- ve(function() {
989
+ xe(function() {
897
990
  var n, o;
898
991
  if (i._throwIfClosed(), !i.isStopped) {
899
992
  i.currentObservers || (i.currentObservers = Array.from(i.observers));
900
993
  try {
901
- for (var a = ze(i.currentObservers), s = a.next(); !s.done; s = a.next()) {
994
+ for (var a = Ye(i.currentObservers), s = a.next(); !s.done; s = a.next()) {
902
995
  var h = s.value;
903
996
  h.next(r);
904
997
  }
905
- } catch (l) {
906
- n = { error: l };
998
+ } catch (u) {
999
+ n = { error: u };
907
1000
  } finally {
908
1001
  try {
909
1002
  s && !s.done && (o = a.return) && o.call(a);
910
1003
  } finally {
911
- if (n) throw n.error;
1004
+ if (n)
1005
+ throw n.error;
912
1006
  }
913
1007
  }
914
1008
  }
915
1009
  });
916
1010
  }, t.prototype.error = function(r) {
917
1011
  var i = this;
918
- ve(function() {
1012
+ xe(function() {
919
1013
  if (i._throwIfClosed(), !i.isStopped) {
920
1014
  i.hasError = i.isStopped = !0, i.thrownError = r;
921
1015
  for (var n = i.observers; n.length; )
@@ -924,7 +1018,7 @@ var gi = jt(function(e) {
924
1018
  });
925
1019
  }, t.prototype.complete = function() {
926
1020
  var r = this;
927
- ve(function() {
1021
+ xe(function() {
928
1022
  if (r._throwIfClosed(), !r.isStopped) {
929
1023
  r.isStopped = !0;
930
1024
  for (var i = r.observers; i.length; )
@@ -946,19 +1040,19 @@ var gi = jt(function(e) {
946
1040
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
947
1041
  }, t.prototype._innerSubscribe = function(r) {
948
1042
  var i = this, n = this, o = n.hasError, a = n.isStopped, s = n.observers;
949
- return o || a ? kt : (this.currentObservers = null, s.push(r), new Se(function() {
950
- i.currentObservers = null, Qe(s, r);
1043
+ return o || a ? zt : (this.currentObservers = null, s.push(r), new Pe(function() {
1044
+ i.currentObservers = null, qe(s, r);
951
1045
  }));
952
1046
  }, t.prototype._checkFinalizedStatuses = function(r) {
953
1047
  var i = this, n = i.hasError, o = i.thrownError, a = i.isStopped;
954
1048
  n ? r.error(o) : a && r.complete();
955
1049
  }, t.prototype.asObservable = function() {
956
- var r = new gt();
1050
+ var r = new _t();
957
1051
  return r.source = this, r;
958
1052
  }, t.create = function(r, i) {
959
- return new vt(r, i);
1053
+ return new xt(r, i);
960
1054
  }, t;
961
- }(gt), vt = function(e) {
1055
+ }(_t), xt = function(e) {
962
1056
  G(t, e);
963
1057
  function t(r, i) {
964
1058
  var n = e.call(this) || this;
@@ -975,17 +1069,17 @@ var gi = jt(function(e) {
975
1069
  (i = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || i === void 0 || i.call(r);
976
1070
  }, t.prototype._subscribe = function(r) {
977
1071
  var i, n;
978
- return (n = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(r)) !== null && n !== void 0 ? n : kt;
1072
+ return (n = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(r)) !== null && n !== void 0 ? n : zt;
979
1073
  }, t;
980
- }(zt), Zt = {
1074
+ }(Jt), qt = {
981
1075
  now: function() {
982
- return (Zt.delegate || Date).now();
1076
+ return (qt.delegate || Date).now();
983
1077
  },
984
1078
  delegate: void 0
985
- }, bi = function(e) {
1079
+ }, _i = function(e) {
986
1080
  G(t, e);
987
1081
  function t(r, i, n) {
988
- r === void 0 && (r = 1 / 0), i === void 0 && (i = 1 / 0), n === void 0 && (n = Zt);
1082
+ r === void 0 && (r = 1 / 0), i === void 0 && (i = 1 / 0), n === void 0 && (n = qt);
989
1083
  var o = e.call(this) || this;
990
1084
  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;
991
1085
  }
@@ -1000,254 +1094,254 @@ var gi = jt(function(e) {
1000
1094
  }, t.prototype._trimBuffer = function() {
1001
1095
  var r = this, i = r._bufferSize, n = r._timestampProvider, o = r._buffer, a = r._infiniteTimeWindow, s = (a ? 1 : 2) * i;
1002
1096
  if (i < 1 / 0 && s < o.length && o.splice(0, o.length - s), !a) {
1003
- for (var h = n.now(), l = 0, u = 1; u < o.length && o[u] <= h; u += 2)
1004
- l = u;
1005
- l && o.splice(0, l + 1);
1097
+ for (var h = n.now(), u = 0, l = 1; l < o.length && o[l] <= h; l += 2)
1098
+ u = l;
1099
+ u && o.splice(0, u + 1);
1006
1100
  }
1007
1101
  }, t;
1008
- }(zt);
1009
- const _t = [], Et = {}, vi = (e, t = 0) => {
1010
- if (_t.indexOf(e) == -1) {
1011
- const r = new bi(t);
1012
- Et[e] = r, _t.push(e);
1102
+ }(Jt);
1103
+ const Tt = [], Lt = {}, Ei = (e, t = 0) => {
1104
+ if (Tt.indexOf(e) == -1) {
1105
+ const r = new _i(t);
1106
+ Lt[e] = r, Tt.push(e);
1013
1107
  }
1014
- return Et[e];
1015
- }, Z = [];
1016
- function _i(e, t) {
1108
+ return Lt[e];
1109
+ }, Q = [];
1110
+ function xi(e, t) {
1017
1111
  return {
1018
- subscribe: we(e, t).subscribe
1112
+ subscribe: He(e, t).subscribe
1019
1113
  };
1020
1114
  }
1021
- function we(e, t = O) {
1115
+ function He(e, t = B) {
1022
1116
  let r;
1023
1117
  const i = /* @__PURE__ */ new Set();
1024
1118
  function n(s) {
1025
- if (Ut(e, s) && (e = s, r)) {
1026
- const h = !Z.length;
1027
- for (const l of i)
1028
- l[1](), Z.push(l, e);
1119
+ if (jt(e, s) && (e = s, r)) {
1120
+ const h = !Q.length;
1121
+ for (const u of i)
1122
+ u[1](), Q.push(u, e);
1029
1123
  if (h) {
1030
- for (let l = 0; l < Z.length; l += 2)
1031
- Z[l][0](Z[l + 1]);
1032
- Z.length = 0;
1124
+ for (let u = 0; u < Q.length; u += 2)
1125
+ Q[u][0](Q[u + 1]);
1126
+ Q.length = 0;
1033
1127
  }
1034
1128
  }
1035
1129
  }
1036
1130
  function o(s) {
1037
1131
  n(s(e));
1038
1132
  }
1039
- function a(s, h = O) {
1040
- const l = [s, h];
1041
- return i.add(l), i.size === 1 && (r = t(n, o) || O), s(e), () => {
1042
- i.delete(l), i.size === 0 && r && (r(), r = null);
1133
+ function a(s, h = B) {
1134
+ const u = [s, h];
1135
+ return i.add(u), i.size === 1 && (r = t(n, o) || B), s(e), () => {
1136
+ i.delete(u), i.size === 0 && r && (r(), r = null);
1043
1137
  };
1044
1138
  }
1045
1139
  return { set: n, update: o, subscribe: a };
1046
1140
  }
1047
- function re(e, t, r) {
1141
+ function ne(e, t, r) {
1048
1142
  const i = !Array.isArray(e), n = i ? [e] : e;
1049
1143
  if (!n.every(Boolean))
1050
1144
  throw new Error("derived() expects stores as input, got a falsy value");
1051
1145
  const o = t.length < 2;
1052
- return _i(r, (a, s) => {
1146
+ return xi(r, (a, s) => {
1053
1147
  let h = !1;
1054
- const l = [];
1055
- let u = 0, c = O;
1148
+ const u = [];
1149
+ let l = 0, c = B;
1056
1150
  const f = () => {
1057
- if (u)
1151
+ if (l)
1058
1152
  return;
1059
1153
  c();
1060
- const y = t(i ? l[0] : l, a, s);
1061
- o ? a(y) : c = ot(y) ? y : O;
1154
+ const y = t(i ? u[0] : u, a, s);
1155
+ o ? a(y) : c = ut(y) ? y : B;
1062
1156
  }, p = n.map(
1063
- (y, d) => Gt(
1157
+ (y, d) => kt(
1064
1158
  y,
1065
- (b) => {
1066
- l[d] = b, u &= ~(1 << d), h && f();
1159
+ (v) => {
1160
+ u[d] = v, l &= ~(1 << d), h && f();
1067
1161
  },
1068
1162
  () => {
1069
- u |= 1 << d;
1163
+ l |= 1 << d;
1070
1164
  }
1071
1165
  )
1072
1166
  );
1073
1167
  return h = !0, f(), function() {
1074
- ce(p), c(), h = !1;
1168
+ ie(p), c(), h = !1;
1075
1169
  };
1076
1170
  });
1077
1171
  }
1078
- function Ei(e) {
1172
+ function Ti(e) {
1079
1173
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1080
1174
  }
1081
- var xi = function(t) {
1082
- return Ti(t) && !Li(t);
1175
+ var Li = function(t) {
1176
+ return Si(t) && !wi(t);
1083
1177
  };
1084
- function Ti(e) {
1178
+ function Si(e) {
1085
1179
  return !!e && typeof e == "object";
1086
1180
  }
1087
- function Li(e) {
1181
+ function wi(e) {
1088
1182
  var t = Object.prototype.toString.call(e);
1089
- return t === "[object RegExp]" || t === "[object Date]" || Ai(e);
1183
+ return t === "[object RegExp]" || t === "[object Date]" || Hi(e);
1090
1184
  }
1091
- var Si = typeof Symbol == "function" && Symbol.for, wi = Si ? Symbol.for("react.element") : 60103;
1092
- function Ai(e) {
1093
- return e.$$typeof === wi;
1185
+ var Ai = typeof Symbol == "function" && Symbol.for, Pi = Ai ? Symbol.for("react.element") : 60103;
1186
+ function Hi(e) {
1187
+ return e.$$typeof === Pi;
1094
1188
  }
1095
- function Pi(e) {
1189
+ function Ii(e) {
1096
1190
  return Array.isArray(e) ? [] : {};
1097
1191
  }
1098
- function ue(e, t) {
1099
- return t.clone !== !1 && t.isMergeableObject(e) ? q(Pi(e), e, t) : e;
1192
+ function ce(e, t) {
1193
+ return t.clone !== !1 && t.isMergeableObject(e) ? K(Ii(e), e, t) : e;
1100
1194
  }
1101
- function Hi(e, t, r) {
1195
+ function Bi(e, t, r) {
1102
1196
  return e.concat(t).map(function(i) {
1103
- return ue(i, r);
1197
+ return ce(i, r);
1104
1198
  });
1105
1199
  }
1106
- function Ii(e, t) {
1200
+ function Oi(e, t) {
1107
1201
  if (!t.customMerge)
1108
- return q;
1202
+ return K;
1109
1203
  var r = t.customMerge(e);
1110
- return typeof r == "function" ? r : q;
1204
+ return typeof r == "function" ? r : K;
1111
1205
  }
1112
- function Bi(e) {
1206
+ function Ci(e) {
1113
1207
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1114
1208
  return Object.propertyIsEnumerable.call(e, t);
1115
1209
  }) : [];
1116
1210
  }
1117
- function xt(e) {
1118
- return Object.keys(e).concat(Bi(e));
1211
+ function St(e) {
1212
+ return Object.keys(e).concat(Ci(e));
1119
1213
  }
1120
- function Qt(e, t) {
1214
+ function Kt(e, t) {
1121
1215
  try {
1122
1216
  return t in e;
1123
1217
  } catch {
1124
1218
  return !1;
1125
1219
  }
1126
1220
  }
1127
- function Oi(e, t) {
1128
- return Qt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1221
+ function Ni(e, t) {
1222
+ return Kt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1129
1223
  }
1130
- function Ci(e, t, r) {
1224
+ function Ri(e, t, r) {
1131
1225
  var i = {};
1132
- return r.isMergeableObject(e) && xt(e).forEach(function(n) {
1133
- i[n] = ue(e[n], r);
1134
- }), xt(t).forEach(function(n) {
1135
- Oi(e, n) || (Qt(e, n) && r.isMergeableObject(t[n]) ? i[n] = Ii(n, r)(e[n], t[n], r) : i[n] = ue(t[n], r));
1226
+ return r.isMergeableObject(e) && St(e).forEach(function(n) {
1227
+ i[n] = ce(e[n], r);
1228
+ }), St(t).forEach(function(n) {
1229
+ Ni(e, n) || (Kt(e, n) && r.isMergeableObject(t[n]) ? i[n] = Oi(n, r)(e[n], t[n], r) : i[n] = ce(t[n], r));
1136
1230
  }), i;
1137
1231
  }
1138
- function q(e, t, r) {
1139
- r = r || {}, r.arrayMerge = r.arrayMerge || Hi, r.isMergeableObject = r.isMergeableObject || xi, r.cloneUnlessOtherwiseSpecified = ue;
1232
+ function K(e, t, r) {
1233
+ r = r || {}, r.arrayMerge = r.arrayMerge || Bi, r.isMergeableObject = r.isMergeableObject || Li, r.cloneUnlessOtherwiseSpecified = ce;
1140
1234
  var i = Array.isArray(t), n = Array.isArray(e), o = i === n;
1141
- return o ? i ? r.arrayMerge(e, t, r) : Ci(e, t, r) : ue(t, r);
1235
+ return o ? i ? r.arrayMerge(e, t, r) : Ri(e, t, r) : ce(t, r);
1142
1236
  }
1143
- q.all = function(t, r) {
1237
+ K.all = function(t, r) {
1144
1238
  if (!Array.isArray(t))
1145
1239
  throw new Error("first argument should be an array");
1146
1240
  return t.reduce(function(i, n) {
1147
- return q(i, n, r);
1241
+ return K(i, n, r);
1148
1242
  }, {});
1149
1243
  };
1150
- var Ni = q, Ri = Ni;
1151
- const Mi = /* @__PURE__ */ Ei(Ri);
1152
- function De(e, t) {
1153
- var r = t && t.cache ? t.cache : ji, i = t && t.serializer ? t.serializer : Fi, n = t && t.strategy ? t.strategy : $i;
1244
+ var Mi = K, Di = Mi;
1245
+ const Ui = /* @__PURE__ */ Ti(Di);
1246
+ function Ge(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;
1154
1248
  return n(e, {
1155
1249
  cache: r,
1156
1250
  serializer: i
1157
1251
  });
1158
1252
  }
1159
- function Di(e) {
1253
+ function $i(e) {
1160
1254
  return e == null || typeof e == "number" || typeof e == "boolean";
1161
1255
  }
1162
- function Yt(e, t, r, i) {
1163
- var n = Di(i) ? i : r(i), o = t.get(n);
1256
+ function er(e, t, r, i) {
1257
+ var n = $i(i) ? i : r(i), o = t.get(n);
1164
1258
  return typeof o > "u" && (o = e.call(this, i), t.set(n, o)), o;
1165
1259
  }
1166
- function Jt(e, t, r) {
1260
+ function tr(e, t, r) {
1167
1261
  var i = Array.prototype.slice.call(arguments, 3), n = r(i), o = t.get(n);
1168
1262
  return typeof o > "u" && (o = e.apply(this, i), t.set(n, o)), o;
1169
1263
  }
1170
- function st(e, t, r, i, n) {
1264
+ function lt(e, t, r, i, n) {
1171
1265
  return r.bind(t, e, i, n);
1172
1266
  }
1173
- function $i(e, t) {
1174
- var r = e.length === 1 ? Yt : Jt;
1175
- return st(e, this, r, t.cache.create(), t.serializer);
1267
+ function Gi(e, t) {
1268
+ var r = e.length === 1 ? er : tr;
1269
+ return lt(e, this, r, t.cache.create(), t.serializer);
1176
1270
  }
1177
- function Ui(e, t) {
1178
- return st(e, this, Jt, t.cache.create(), t.serializer);
1271
+ function Fi(e, t) {
1272
+ return lt(e, this, tr, t.cache.create(), t.serializer);
1179
1273
  }
1180
- function Gi(e, t) {
1181
- return st(e, this, Yt, t.cache.create(), t.serializer);
1274
+ function ji(e, t) {
1275
+ return lt(e, this, er, t.cache.create(), t.serializer);
1182
1276
  }
1183
- var Fi = function() {
1277
+ var ki = function() {
1184
1278
  return JSON.stringify(arguments);
1185
1279
  };
1186
- function at() {
1280
+ function ht() {
1187
1281
  this.cache = /* @__PURE__ */ Object.create(null);
1188
1282
  }
1189
- at.prototype.get = function(e) {
1283
+ ht.prototype.get = function(e) {
1190
1284
  return this.cache[e];
1191
1285
  };
1192
- at.prototype.set = function(e, t) {
1286
+ ht.prototype.set = function(e, t) {
1193
1287
  this.cache[e] = t;
1194
1288
  };
1195
- var ji = {
1289
+ var Vi = {
1196
1290
  create: function() {
1197
- return new at();
1291
+ return new ht();
1198
1292
  }
1199
- }, $e = {
1200
- variadic: Ui,
1201
- monadic: Gi
1202
- }, g;
1293
+ }, Fe = {
1294
+ variadic: Fi,
1295
+ monadic: ji
1296
+ }, b;
1203
1297
  (function(e) {
1204
1298
  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";
1205
- })(g || (g = {}));
1299
+ })(b || (b = {}));
1206
1300
  var S;
1207
1301
  (function(e) {
1208
1302
  e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
1209
1303
  })(S || (S = {}));
1210
- var K;
1304
+ var ee;
1211
1305
  (function(e) {
1212
1306
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1213
- })(K || (K = {}));
1214
- function Tt(e) {
1307
+ })(ee || (ee = {}));
1308
+ function wt(e) {
1215
1309
  return e.type === S.literal;
1216
1310
  }
1217
- function ki(e) {
1311
+ function Wi(e) {
1218
1312
  return e.type === S.argument;
1219
1313
  }
1220
- function qt(e) {
1314
+ function rr(e) {
1221
1315
  return e.type === S.number;
1222
1316
  }
1223
- function Kt(e) {
1317
+ function ir(e) {
1224
1318
  return e.type === S.date;
1225
1319
  }
1226
- function er(e) {
1320
+ function nr(e) {
1227
1321
  return e.type === S.time;
1228
1322
  }
1229
- function tr(e) {
1323
+ function or(e) {
1230
1324
  return e.type === S.select;
1231
1325
  }
1232
- function rr(e) {
1326
+ function sr(e) {
1233
1327
  return e.type === S.plural;
1234
1328
  }
1235
- function Vi(e) {
1329
+ function Xi(e) {
1236
1330
  return e.type === S.pound;
1237
1331
  }
1238
- function ir(e) {
1332
+ function ar(e) {
1239
1333
  return e.type === S.tag;
1240
1334
  }
1241
- function nr(e) {
1242
- return !!(e && typeof e == "object" && e.type === K.number);
1335
+ function ur(e) {
1336
+ return !!(e && typeof e == "object" && e.type === ee.number);
1243
1337
  }
1244
- function Je(e) {
1245
- return !!(e && typeof e == "object" && e.type === K.dateTime);
1338
+ function et(e) {
1339
+ return !!(e && typeof e == "object" && e.type === ee.dateTime);
1246
1340
  }
1247
- var or = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Wi = /(?:[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;
1248
- function Xi(e) {
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 Zi(e) {
1249
1343
  var t = {};
1250
- return e.replace(Wi, function(r) {
1344
+ return e.replace(zi, function(r) {
1251
1345
  var i = r.length;
1252
1346
  switch (r[0]) {
1253
1347
  case "G":
@@ -1336,18 +1430,18 @@ function Xi(e) {
1336
1430
  return "";
1337
1431
  }), t;
1338
1432
  }
1339
- var zi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1340
- function Zi(e) {
1433
+ var Qi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1434
+ function Yi(e) {
1341
1435
  if (e.length === 0)
1342
1436
  throw new Error("Number skeleton cannot be empty");
1343
- for (var t = e.split(zi).filter(function(f) {
1437
+ for (var t = e.split(Qi).filter(function(f) {
1344
1438
  return f.length > 0;
1345
1439
  }), r = [], i = 0, n = t; i < n.length; i++) {
1346
1440
  var o = n[i], a = o.split("/");
1347
1441
  if (a.length === 0)
1348
1442
  throw new Error("Invalid number skeleton");
1349
- for (var s = a[0], h = a.slice(1), l = 0, u = h; l < u.length; l++) {
1350
- var c = u[l];
1443
+ for (var s = a[0], h = a.slice(1), u = 0, l = h; u < l.length; u++) {
1444
+ var c = l[u];
1351
1445
  if (c.length === 0)
1352
1446
  throw new Error("Invalid number skeleton");
1353
1447
  }
@@ -1355,17 +1449,17 @@ function Zi(e) {
1355
1449
  }
1356
1450
  return r;
1357
1451
  }
1358
- function Qi(e) {
1452
+ function Ji(e) {
1359
1453
  return e.replace(/^(.*?)-/, "");
1360
1454
  }
1361
- var Lt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, sr = /^(@+)?(\+|#+)?[rs]?$/g, Yi = /(\*)(0+)|(#+)(0+)|(0+)/g, ar = /^(0+)$/;
1362
- function St(e) {
1455
+ var At = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, hr = /^(@+)?(\+|#+)?[rs]?$/g, qi = /(\*)(0+)|(#+)(0+)|(0+)/g, cr = /^(0+)$/;
1456
+ function Pt(e) {
1363
1457
  var t = {};
1364
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(sr, function(r, i, n) {
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) {
1365
1459
  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)), "";
1366
1460
  }), t;
1367
1461
  }
1368
- function lr(e) {
1462
+ function fr(e) {
1369
1463
  switch (e) {
1370
1464
  case "sign-auto":
1371
1465
  return {
@@ -1405,7 +1499,7 @@ function lr(e) {
1405
1499
  };
1406
1500
  }
1407
1501
  }
1408
- function Ji(e) {
1502
+ function Ki(e) {
1409
1503
  var t;
1410
1504
  if (e[0] === "E" && e[1] === "E" ? (t = {
1411
1505
  notation: "engineering"
@@ -1413,17 +1507,17 @@ function Ji(e) {
1413
1507
  notation: "scientific"
1414
1508
  }, e = e.slice(1)), t) {
1415
1509
  var r = e.slice(0, 2);
1416
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !ar.test(e))
1510
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !cr.test(e))
1417
1511
  throw new Error("Malformed concise eng/scientific notation");
1418
1512
  t.minimumIntegerDigits = e.length;
1419
1513
  }
1420
1514
  return t;
1421
1515
  }
1422
- function wt(e) {
1423
- var t = {}, r = lr(e);
1516
+ function Ht(e) {
1517
+ var t = {}, r = fr(e);
1424
1518
  return r || t;
1425
1519
  }
1426
- function qi(e) {
1520
+ function en(e) {
1427
1521
  for (var t = {}, r = 0, i = e; r < i.length; r++) {
1428
1522
  var n = i[r];
1429
1523
  switch (n.stem) {
@@ -1447,7 +1541,7 @@ function qi(e) {
1447
1541
  continue;
1448
1542
  case "measure-unit":
1449
1543
  case "unit":
1450
- t.style = "unit", t.unit = Qi(n.options[0]);
1544
+ t.style = "unit", t.unit = Ji(n.options[0]);
1451
1545
  continue;
1452
1546
  case "compact-short":
1453
1547
  case "K":
@@ -1458,13 +1552,13 @@ function qi(e) {
1458
1552
  t.notation = "compact", t.compactDisplay = "long";
1459
1553
  continue;
1460
1554
  case "scientific":
1461
- t = E(E(E({}, t), { notation: "scientific" }), n.options.reduce(function(h, l) {
1462
- return E(E({}, h), wt(l));
1555
+ t = E(E(E({}, t), { notation: "scientific" }), n.options.reduce(function(h, u) {
1556
+ return E(E({}, h), Ht(u));
1463
1557
  }, {}));
1464
1558
  continue;
1465
1559
  case "engineering":
1466
- t = E(E(E({}, t), { notation: "engineering" }), n.options.reduce(function(h, l) {
1467
- return E(E({}, h), wt(l));
1560
+ t = E(E(E({}, t), { notation: "engineering" }), n.options.reduce(function(h, u) {
1561
+ return E(E({}, h), Ht(u));
1468
1562
  }, {}));
1469
1563
  continue;
1470
1564
  case "notation-simple":
@@ -1509,9 +1603,9 @@ function qi(e) {
1509
1603
  case "integer-width":
1510
1604
  if (n.options.length > 1)
1511
1605
  throw new RangeError("integer-width stems only accept a single optional option");
1512
- n.options[0].replace(Yi, function(h, l, u, c, f, p) {
1513
- if (l)
1514
- t.minimumIntegerDigits = u.length;
1606
+ n.options[0].replace(qi, function(h, u, l, c, f, p) {
1607
+ if (u)
1608
+ t.minimumIntegerDigits = l.length;
1515
1609
  else {
1516
1610
  if (c && f)
1517
1611
  throw new Error("We currently do not support maximum integer digits");
@@ -1522,32 +1616,32 @@ function qi(e) {
1522
1616
  });
1523
1617
  continue;
1524
1618
  }
1525
- if (ar.test(n.stem)) {
1619
+ if (cr.test(n.stem)) {
1526
1620
  t.minimumIntegerDigits = n.stem.length;
1527
1621
  continue;
1528
1622
  }
1529
- if (Lt.test(n.stem)) {
1623
+ if (At.test(n.stem)) {
1530
1624
  if (n.options.length > 1)
1531
1625
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1532
- n.stem.replace(Lt, function(h, l, u, c, f, p) {
1533
- return u === "*" ? t.minimumFractionDigits = l.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1626
+ n.stem.replace(At, function(h, u, l, c, f, p) {
1627
+ 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), "";
1534
1628
  });
1535
1629
  var o = n.options[0];
1536
- o === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = E(E({}, t), St(o)));
1630
+ o === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = E(E({}, t), Pt(o)));
1537
1631
  continue;
1538
1632
  }
1539
- if (sr.test(n.stem)) {
1540
- t = E(E({}, t), St(n.stem));
1633
+ if (hr.test(n.stem)) {
1634
+ t = E(E({}, t), Pt(n.stem));
1541
1635
  continue;
1542
1636
  }
1543
- var a = lr(n.stem);
1637
+ var a = fr(n.stem);
1544
1638
  a && (t = E(E({}, t), a));
1545
- var s = Ji(n.stem);
1639
+ var s = Ki(n.stem);
1546
1640
  s && (t = E(E({}, t), s));
1547
1641
  }
1548
1642
  return t;
1549
1643
  }
1550
- var ge = {
1644
+ var ve = {
1551
1645
  "001": [
1552
1646
  "H",
1553
1647
  "h"
@@ -2962,22 +3056,23 @@ var ge = {
2962
3056
  "h"
2963
3057
  ]
2964
3058
  };
2965
- function Ki(e, t) {
3059
+ function tn(e, t) {
2966
3060
  for (var r = "", i = 0; i < e.length; i++) {
2967
3061
  var n = e.charAt(i);
2968
3062
  if (n === "j") {
2969
3063
  for (var o = 0; i + 1 < e.length && e.charAt(i + 1) === n; )
2970
3064
  o++, i++;
2971
- var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), h = "a", l = en(t);
2972
- for ((l == "H" || l == "k") && (s = 0); s-- > 0; )
3065
+ var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = rn(t);
3066
+ for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
2973
3067
  r += h;
2974
3068
  for (; a-- > 0; )
2975
- r = l + r;
2976
- } else n === "J" ? r += "H" : r += n;
3069
+ r = u + r;
3070
+ } else
3071
+ n === "J" ? r += "H" : r += n;
2977
3072
  }
2978
3073
  return r;
2979
3074
  }
2980
- function en(e) {
3075
+ function rn(e) {
2981
3076
  var t = e.hourCycle;
2982
3077
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2983
3078
  e.hourCycles && // @ts-ignore
@@ -2996,23 +3091,23 @@ function en(e) {
2996
3091
  }
2997
3092
  var r = e.language, i;
2998
3093
  r !== "root" && (i = e.maximize().region);
2999
- var n = ge[i || ""] || ge[r || ""] || ge["".concat(r, "-001")] || ge["001"];
3094
+ var n = ve[i || ""] || ve[r || ""] || ve["".concat(r, "-001")] || ve["001"];
3000
3095
  return n[0];
3001
3096
  }
3002
- var Ue, tn = new RegExp("^".concat(or.source, "*")), rn = new RegExp("".concat(or.source, "*$"));
3003
- function v(e, t) {
3097
+ var je, nn = new RegExp("^".concat(lr.source, "*")), on = new RegExp("".concat(lr.source, "*$"));
3098
+ function _(e, t) {
3004
3099
  return { start: e, end: t };
3005
3100
  }
3006
- var nn = !!String.prototype.startsWith && "_a".startsWith("a", 1), on = !!String.fromCodePoint, sn = !!Object.fromEntries, an = !!String.prototype.codePointAt, ln = !!String.prototype.trimStart, un = !!String.prototype.trimEnd, hn = !!Number.isSafeInteger, cn = hn ? Number.isSafeInteger : function(e) {
3101
+ var sn = !!String.prototype.startsWith && "_a".startsWith("a", 1), an = !!String.fromCodePoint, un = !!Object.fromEntries, ln = !!String.prototype.codePointAt, hn = !!String.prototype.trimStart, cn = !!String.prototype.trimEnd, fn = !!Number.isSafeInteger, mn = fn ? Number.isSafeInteger : function(e) {
3007
3102
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3008
- }, qe = !0;
3103
+ }, tt = !0;
3009
3104
  try {
3010
- var fn = hr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3011
- qe = ((Ue = fn.exec("a")) === null || Ue === void 0 ? void 0 : Ue[0]) === "a";
3105
+ var pn = pr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3106
+ tt = ((je = pn.exec("a")) === null || je === void 0 ? void 0 : je[0]) === "a";
3012
3107
  } catch {
3013
- qe = !1;
3108
+ tt = !1;
3014
3109
  }
3015
- var At = nn ? (
3110
+ var It = sn ? (
3016
3111
  // Native
3017
3112
  function(t, r, i) {
3018
3113
  return t.startsWith(r, i);
@@ -3022,7 +3117,7 @@ var At = nn ? (
3022
3117
  function(t, r, i) {
3023
3118
  return t.slice(i, i + r.length) === r;
3024
3119
  }
3025
- ), Ke = on ? String.fromCodePoint : (
3120
+ ), rt = an ? String.fromCodePoint : (
3026
3121
  // IE11
3027
3122
  function() {
3028
3123
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3034,9 +3129,9 @@ var At = nn ? (
3034
3129
  }
3035
3130
  return i;
3036
3131
  }
3037
- ), Pt = (
3132
+ ), Bt = (
3038
3133
  // native
3039
- sn ? Object.fromEntries : (
3134
+ un ? Object.fromEntries : (
3040
3135
  // Ponyfill
3041
3136
  function(t) {
3042
3137
  for (var r = {}, i = 0, n = t; i < n.length; i++) {
@@ -3046,7 +3141,7 @@ var At = nn ? (
3046
3141
  return r;
3047
3142
  }
3048
3143
  )
3049
- ), ur = an ? (
3144
+ ), mr = ln ? (
3050
3145
  // Native
3051
3146
  function(t, r) {
3052
3147
  return t.codePointAt(r);
@@ -3060,7 +3155,7 @@ var At = nn ? (
3060
3155
  return n < 55296 || n > 56319 || r + 1 === i || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? n : (n - 55296 << 10) + (o - 56320) + 65536;
3061
3156
  }
3062
3157
  }
3063
- ), mn = ln ? (
3158
+ ), dn = hn ? (
3064
3159
  // Native
3065
3160
  function(t) {
3066
3161
  return t.trimStart();
@@ -3068,9 +3163,9 @@ var At = nn ? (
3068
3163
  ) : (
3069
3164
  // Ponyfill
3070
3165
  function(t) {
3071
- return t.replace(tn, "");
3166
+ return t.replace(nn, "");
3072
3167
  }
3073
- ), pn = un ? (
3168
+ ), yn = cn ? (
3074
3169
  // Native
3075
3170
  function(t) {
3076
3171
  return t.trimEnd();
@@ -3078,32 +3173,32 @@ var At = nn ? (
3078
3173
  ) : (
3079
3174
  // Ponyfill
3080
3175
  function(t) {
3081
- return t.replace(rn, "");
3176
+ return t.replace(on, "");
3082
3177
  }
3083
3178
  );
3084
- function hr(e, t) {
3179
+ function pr(e, t) {
3085
3180
  return new RegExp(e, t);
3086
3181
  }
3087
- var et;
3088
- if (qe) {
3089
- var Ht = hr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3090
- et = function(t, r) {
3182
+ var it;
3183
+ if (tt) {
3184
+ var Ot = pr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3185
+ it = function(t, r) {
3091
3186
  var i;
3092
- Ht.lastIndex = r;
3093
- var n = Ht.exec(t);
3187
+ Ot.lastIndex = r;
3188
+ var n = Ot.exec(t);
3094
3189
  return (i = n[1]) !== null && i !== void 0 ? i : "";
3095
3190
  };
3096
3191
  } else
3097
- et = function(t, r) {
3192
+ it = function(t, r) {
3098
3193
  for (var i = []; ; ) {
3099
- var n = ur(t, r);
3100
- if (n === void 0 || cr(n) || bn(n))
3194
+ var n = mr(t, r);
3195
+ if (n === void 0 || dr(n) || _n(n))
3101
3196
  break;
3102
3197
  i.push(n), r += n >= 65536 ? 2 : 1;
3103
3198
  }
3104
- return Ke.apply(void 0, i);
3199
+ return rt.apply(void 0, i);
3105
3200
  };
3106
- var dn = (
3201
+ var gn = (
3107
3202
  /** @class */
3108
3203
  function() {
3109
3204
  function e(t, r) {
@@ -3128,13 +3223,13 @@ var dn = (
3128
3223
  var s = this.clonePosition();
3129
3224
  this.bump(), n.push({
3130
3225
  type: S.pound,
3131
- location: v(s, this.clonePosition())
3226
+ location: _(s, this.clonePosition())
3132
3227
  });
3133
3228
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3134
3229
  if (i)
3135
3230
  break;
3136
- return this.error(g.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
3137
- } else if (o === 60 && !this.ignoreTag && tt(this.peek() || 0)) {
3231
+ return this.error(b.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
3232
+ } else if (o === 60 && !this.ignoreTag && nt(this.peek() || 0)) {
3138
3233
  var a = this.parseTag(t, r);
3139
3234
  if (a.err)
3140
3235
  return a;
@@ -3157,7 +3252,7 @@ var dn = (
3157
3252
  val: {
3158
3253
  type: S.literal,
3159
3254
  value: "<".concat(n, "/>"),
3160
- location: v(i, this.clonePosition())
3255
+ location: _(i, this.clonePosition())
3161
3256
  },
3162
3257
  err: null
3163
3258
  };
@@ -3167,25 +3262,25 @@ var dn = (
3167
3262
  return o;
3168
3263
  var a = o.val, s = this.clonePosition();
3169
3264
  if (this.bumpIf("</")) {
3170
- if (this.isEOF() || !tt(this.char()))
3171
- return this.error(g.INVALID_TAG, v(s, this.clonePosition()));
3172
- var h = this.clonePosition(), l = this.parseTagName();
3173
- return n !== l ? this.error(g.UNMATCHED_CLOSING_TAG, v(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3265
+ if (this.isEOF() || !nt(this.char()))
3266
+ return this.error(b.INVALID_TAG, _(s, this.clonePosition()));
3267
+ var h = this.clonePosition(), u = this.parseTagName();
3268
+ return n !== u ? this.error(b.UNMATCHED_CLOSING_TAG, _(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3174
3269
  val: {
3175
3270
  type: S.tag,
3176
3271
  value: n,
3177
3272
  children: a,
3178
- location: v(i, this.clonePosition())
3273
+ location: _(i, this.clonePosition())
3179
3274
  },
3180
3275
  err: null
3181
- } : this.error(g.INVALID_TAG, v(s, this.clonePosition())));
3276
+ } : this.error(b.INVALID_TAG, _(s, this.clonePosition())));
3182
3277
  } else
3183
- return this.error(g.UNCLOSED_TAG, v(i, this.clonePosition()));
3278
+ return this.error(b.UNCLOSED_TAG, _(i, this.clonePosition()));
3184
3279
  } else
3185
- return this.error(g.INVALID_TAG, v(i, this.clonePosition()));
3280
+ return this.error(b.INVALID_TAG, _(i, this.clonePosition()));
3186
3281
  }, e.prototype.parseTagName = function() {
3187
3282
  var t = this.offset();
3188
- for (this.bump(); !this.isEOF() && gn(this.char()); )
3283
+ for (this.bump(); !this.isEOF() && vn(this.char()); )
3189
3284
  this.bump();
3190
3285
  return this.message.slice(t, this.offset());
3191
3286
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3207,14 +3302,14 @@ var dn = (
3207
3302
  }
3208
3303
  break;
3209
3304
  }
3210
- var h = v(i, this.clonePosition());
3305
+ var h = _(i, this.clonePosition());
3211
3306
  return {
3212
3307
  val: { type: S.literal, value: n, location: h },
3213
3308
  err: null
3214
3309
  };
3215
3310
  }, e.prototype.tryParseLeftAngleBracket = function() {
3216
3311
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3217
- !yn(this.peek() || 0)) ? (this.bump(), "<") : null;
3312
+ !bn(this.peek() || 0)) ? (this.bump(), "<") : null;
3218
3313
  }, e.prototype.tryParseQuote = function(t) {
3219
3314
  if (this.isEOF() || this.char() !== 39)
3220
3315
  return null;
@@ -3248,23 +3343,23 @@ var dn = (
3248
3343
  r.push(i);
3249
3344
  this.bump();
3250
3345
  }
3251
- return Ke.apply(void 0, r);
3346
+ return rt.apply(void 0, r);
3252
3347
  }, e.prototype.tryParseUnquoted = function(t, r) {
3253
3348
  if (this.isEOF())
3254
3349
  return null;
3255
3350
  var i = this.char();
3256
- return i === 60 || i === 123 || i === 35 && (r === "plural" || r === "selectordinal") || i === 125 && t > 0 ? null : (this.bump(), Ke(i));
3351
+ return i === 60 || i === 123 || i === 35 && (r === "plural" || r === "selectordinal") || i === 125 && t > 0 ? null : (this.bump(), rt(i));
3257
3352
  }, e.prototype.parseArgument = function(t, r) {
3258
3353
  var i = this.clonePosition();
3259
3354
  if (this.bump(), this.bumpSpace(), this.isEOF())
3260
- return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, v(i, this.clonePosition()));
3355
+ return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, _(i, this.clonePosition()));
3261
3356
  if (this.char() === 125)
3262
- return this.bump(), this.error(g.EMPTY_ARGUMENT, v(i, this.clonePosition()));
3357
+ return this.bump(), this.error(b.EMPTY_ARGUMENT, _(i, this.clonePosition()));
3263
3358
  var n = this.parseIdentifierIfPossible().value;
3264
3359
  if (!n)
3265
- return this.error(g.MALFORMED_ARGUMENT, v(i, this.clonePosition()));
3360
+ return this.error(b.MALFORMED_ARGUMENT, _(i, this.clonePosition()));
3266
3361
  if (this.bumpSpace(), this.isEOF())
3267
- return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, v(i, this.clonePosition()));
3362
+ return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, _(i, this.clonePosition()));
3268
3363
  switch (this.char()) {
3269
3364
  case 125:
3270
3365
  return this.bump(), {
@@ -3272,66 +3367,66 @@ var dn = (
3272
3367
  type: S.argument,
3273
3368
  // value does not include the opening and closing braces.
3274
3369
  value: n,
3275
- location: v(i, this.clonePosition())
3370
+ location: _(i, this.clonePosition())
3276
3371
  },
3277
3372
  err: null
3278
3373
  };
3279
3374
  case 44:
3280
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, v(i, this.clonePosition())) : this.parseArgumentOptions(t, r, n, i);
3375
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, _(i, this.clonePosition())) : this.parseArgumentOptions(t, r, n, i);
3281
3376
  default:
3282
- return this.error(g.MALFORMED_ARGUMENT, v(i, this.clonePosition()));
3377
+ return this.error(b.MALFORMED_ARGUMENT, _(i, this.clonePosition()));
3283
3378
  }
3284
3379
  }, e.prototype.parseIdentifierIfPossible = function() {
3285
- var t = this.clonePosition(), r = this.offset(), i = et(this.message, r), n = r + i.length;
3380
+ var t = this.clonePosition(), r = this.offset(), i = it(this.message, r), n = r + i.length;
3286
3381
  this.bumpTo(n);
3287
- var o = this.clonePosition(), a = v(t, o);
3382
+ var o = this.clonePosition(), a = _(t, o);
3288
3383
  return { value: i, location: a };
3289
3384
  }, e.prototype.parseArgumentOptions = function(t, r, i, n) {
3290
3385
  var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, h = this.clonePosition();
3291
3386
  switch (s) {
3292
3387
  case "":
3293
- return this.error(g.EXPECT_ARGUMENT_TYPE, v(a, h));
3388
+ return this.error(b.EXPECT_ARGUMENT_TYPE, _(a, h));
3294
3389
  case "number":
3295
3390
  case "date":
3296
3391
  case "time": {
3297
3392
  this.bumpSpace();
3298
- var l = null;
3393
+ var u = null;
3299
3394
  if (this.bumpIf(",")) {
3300
3395
  this.bumpSpace();
3301
- var u = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3396
+ var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3302
3397
  if (c.err)
3303
3398
  return c;
3304
- var f = pn(c.val);
3399
+ var f = yn(c.val);
3305
3400
  if (f.length === 0)
3306
- return this.error(g.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
3307
- var p = v(u, this.clonePosition());
3308
- l = { style: f, styleLocation: p };
3401
+ return this.error(b.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
3402
+ var p = _(l, this.clonePosition());
3403
+ u = { style: f, styleLocation: p };
3309
3404
  }
3310
3405
  var y = this.tryParseArgumentClose(n);
3311
3406
  if (y.err)
3312
3407
  return y;
3313
- var d = v(n, this.clonePosition());
3314
- if (l && At(l?.style, "::", 0)) {
3315
- var b = mn(l.style.slice(2));
3408
+ var d = _(n, this.clonePosition());
3409
+ if (u && It(u?.style, "::", 0)) {
3410
+ var v = dn(u.style.slice(2));
3316
3411
  if (s === "number") {
3317
- var c = this.parseNumberSkeletonFromString(b, l.styleLocation);
3412
+ var c = this.parseNumberSkeletonFromString(v, u.styleLocation);
3318
3413
  return c.err ? c : {
3319
3414
  val: { type: S.number, value: i, location: d, style: c.val },
3320
3415
  err: null
3321
3416
  };
3322
3417
  } else {
3323
- if (b.length === 0)
3324
- return this.error(g.EXPECT_DATE_TIME_SKELETON, d);
3325
- var w = b;
3326
- this.locale && (w = Ki(b, this.locale));
3418
+ if (v.length === 0)
3419
+ return this.error(b.EXPECT_DATE_TIME_SKELETON, d);
3420
+ var H = v;
3421
+ this.locale && (H = tn(v, this.locale));
3327
3422
  var f = {
3328
- type: K.dateTime,
3329
- pattern: w,
3330
- location: l.styleLocation,
3331
- parsedOptions: this.shouldParseSkeletons ? Xi(w) : {}
3332
- }, _ = s === "date" ? S.date : S.time;
3423
+ type: ee.dateTime,
3424
+ pattern: H,
3425
+ location: u.styleLocation,
3426
+ parsedOptions: this.shouldParseSkeletons ? Zi(H) : {}
3427
+ }, g = s === "date" ? S.date : S.time;
3333
3428
  return {
3334
- val: { type: _, value: i, location: d, style: f },
3429
+ val: { type: g, value: i, location: d, style: f },
3335
3430
  err: null
3336
3431
  };
3337
3432
  }
@@ -3341,7 +3436,7 @@ var dn = (
3341
3436
  type: s === "number" ? S.number : s === "date" ? S.date : S.time,
3342
3437
  value: i,
3343
3438
  location: d,
3344
- style: (o = l?.style) !== null && o !== void 0 ? o : null
3439
+ style: (o = u?.style) !== null && o !== void 0 ? o : null
3345
3440
  },
3346
3441
  err: null
3347
3442
  };
@@ -3349,16 +3444,16 @@ var dn = (
3349
3444
  case "plural":
3350
3445
  case "selectordinal":
3351
3446
  case "select": {
3352
- var H = this.clonePosition();
3447
+ var w = this.clonePosition();
3353
3448
  if (this.bumpSpace(), !this.bumpIf(","))
3354
- return this.error(g.EXPECT_SELECT_ARGUMENT_OPTIONS, v(H, E({}, H)));
3449
+ return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, _(w, E({}, w)));
3355
3450
  this.bumpSpace();
3356
3451
  var M = this.parseIdentifierIfPossible(), N = 0;
3357
3452
  if (s !== "select" && M.value === "offset") {
3358
3453
  if (!this.bumpIf(":"))
3359
- return this.error(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
3454
+ return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
3360
3455
  this.bumpSpace();
3361
- var c = this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3456
+ var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3362
3457
  if (c.err)
3363
3458
  return c;
3364
3459
  this.bumpSpace(), M = this.parseIdentifierIfPossible(), N = c.val;
@@ -3369,12 +3464,12 @@ var dn = (
3369
3464
  var y = this.tryParseArgumentClose(n);
3370
3465
  if (y.err)
3371
3466
  return y;
3372
- var V = v(n, this.clonePosition());
3467
+ var V = _(n, this.clonePosition());
3373
3468
  return s === "select" ? {
3374
3469
  val: {
3375
3470
  type: S.select,
3376
3471
  value: i,
3377
- options: Pt(D.val),
3472
+ options: Bt(D.val),
3378
3473
  location: V
3379
3474
  },
3380
3475
  err: null
@@ -3382,7 +3477,7 @@ var dn = (
3382
3477
  val: {
3383
3478
  type: S.plural,
3384
3479
  value: i,
3385
- options: Pt(D.val),
3480
+ options: Bt(D.val),
3386
3481
  offset: N,
3387
3482
  pluralType: s === "plural" ? "cardinal" : "ordinal",
3388
3483
  location: V
@@ -3391,10 +3486,10 @@ var dn = (
3391
3486
  };
3392
3487
  }
3393
3488
  default:
3394
- return this.error(g.INVALID_ARGUMENT_TYPE, v(a, h));
3489
+ return this.error(b.INVALID_ARGUMENT_TYPE, _(a, h));
3395
3490
  }
3396
3491
  }, e.prototype.tryParseArgumentClose = function(t) {
3397
- return this.isEOF() || this.char() !== 125 ? this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, v(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3492
+ return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, _(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3398
3493
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3399
3494
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3400
3495
  var i = this.char();
@@ -3403,7 +3498,7 @@ var dn = (
3403
3498
  this.bump();
3404
3499
  var n = this.clonePosition();
3405
3500
  if (!this.bumpUntil("'"))
3406
- return this.error(g.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, v(n, this.clonePosition()));
3501
+ return this.error(b.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, _(n, this.clonePosition()));
3407
3502
  this.bump();
3408
3503
  break;
3409
3504
  }
@@ -3433,37 +3528,37 @@ var dn = (
3433
3528
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3434
3529
  var i = [];
3435
3530
  try {
3436
- i = Zi(t);
3531
+ i = Yi(t);
3437
3532
  } catch {
3438
- return this.error(g.INVALID_NUMBER_SKELETON, r);
3533
+ return this.error(b.INVALID_NUMBER_SKELETON, r);
3439
3534
  }
3440
3535
  return {
3441
3536
  val: {
3442
- type: K.number,
3537
+ type: ee.number,
3443
3538
  tokens: i,
3444
3539
  location: r,
3445
- parsedOptions: this.shouldParseSkeletons ? qi(i) : {}
3540
+ parsedOptions: this.shouldParseSkeletons ? en(i) : {}
3446
3541
  },
3447
3542
  err: null
3448
3543
  };
3449
3544
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, i, n) {
3450
- for (var o, a = !1, s = [], h = /* @__PURE__ */ new Set(), l = n.value, u = n.location; ; ) {
3451
- if (l.length === 0) {
3545
+ for (var o, a = !1, s = [], h = /* @__PURE__ */ new Set(), u = n.value, l = n.location; ; ) {
3546
+ if (u.length === 0) {
3452
3547
  var c = this.clonePosition();
3453
3548
  if (r !== "select" && this.bumpIf("=")) {
3454
- var f = this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_SELECTOR, g.INVALID_PLURAL_ARGUMENT_SELECTOR);
3549
+ var f = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_SELECTOR, b.INVALID_PLURAL_ARGUMENT_SELECTOR);
3455
3550
  if (f.err)
3456
3551
  return f;
3457
- u = v(c, this.clonePosition()), l = this.message.slice(c.offset, this.offset());
3552
+ l = _(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
3458
3553
  } else
3459
3554
  break;
3460
3555
  }
3461
- if (h.has(l))
3462
- return this.error(r === "select" ? g.DUPLICATE_SELECT_ARGUMENT_SELECTOR : g.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, u);
3463
- l === "other" && (a = !0), this.bumpSpace();
3556
+ if (h.has(u))
3557
+ return this.error(r === "select" ? b.DUPLICATE_SELECT_ARGUMENT_SELECTOR : b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
3558
+ u === "other" && (a = !0), this.bumpSpace();
3464
3559
  var p = this.clonePosition();
3465
3560
  if (!this.bumpIf("{"))
3466
- return this.error(r === "select" ? g.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : g.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, v(this.clonePosition(), this.clonePosition()));
3561
+ return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, _(this.clonePosition(), this.clonePosition()));
3467
3562
  var y = this.parseMessage(t + 1, r, i);
3468
3563
  if (y.err)
3469
3564
  return y;
@@ -3471,14 +3566,14 @@ var dn = (
3471
3566
  if (d.err)
3472
3567
  return d;
3473
3568
  s.push([
3474
- l,
3569
+ u,
3475
3570
  {
3476
3571
  value: y.val,
3477
- location: v(p, this.clonePosition())
3572
+ location: _(p, this.clonePosition())
3478
3573
  }
3479
- ]), h.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, u = o.location;
3574
+ ]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
3480
3575
  }
3481
- return s.length === 0 ? this.error(r === "select" ? g.EXPECT_SELECT_ARGUMENT_SELECTOR : g.EXPECT_PLURAL_ARGUMENT_SELECTOR, v(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(g.MISSING_OTHER_CLAUSE, v(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
3576
+ return s.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, _(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(b.MISSING_OTHER_CLAUSE, _(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
3482
3577
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3483
3578
  var i = 1, n = this.clonePosition();
3484
3579
  this.bumpIf("+") || this.bumpIf("-") && (i = -1);
@@ -3489,8 +3584,8 @@ var dn = (
3489
3584
  else
3490
3585
  break;
3491
3586
  }
3492
- var h = v(n, this.clonePosition());
3493
- return o ? (a *= i, cn(a) ? { val: a, err: null } : this.error(r, h)) : this.error(t, h);
3587
+ var h = _(n, this.clonePosition());
3588
+ return o ? (a *= i, mn(a) ? { val: a, err: null } : this.error(r, h)) : this.error(t, h);
3494
3589
  }, e.prototype.offset = function() {
3495
3590
  return this.position.offset;
3496
3591
  }, e.prototype.isEOF = function() {
@@ -3505,7 +3600,7 @@ var dn = (
3505
3600
  var t = this.position.offset;
3506
3601
  if (t >= this.message.length)
3507
3602
  throw Error("out of bound");
3508
- var r = ur(this.message, t);
3603
+ var r = mr(this.message, t);
3509
3604
  if (r === void 0)
3510
3605
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3511
3606
  return r;
@@ -3524,7 +3619,7 @@ var dn = (
3524
3619
  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);
3525
3620
  }
3526
3621
  }, e.prototype.bumpIf = function(t) {
3527
- if (At(this.message, t, this.offset())) {
3622
+ if (It(this.message, t, this.offset())) {
3528
3623
  for (var r = 0; r < t.length; r++)
3529
3624
  this.bump();
3530
3625
  return !0;
@@ -3546,7 +3641,7 @@ var dn = (
3546
3641
  break;
3547
3642
  }
3548
3643
  }, e.prototype.bumpSpace = function() {
3549
- for (; !this.isEOF() && cr(this.char()); )
3644
+ for (; !this.isEOF() && dr(this.char()); )
3550
3645
  this.bump();
3551
3646
  }, e.prototype.peek = function() {
3552
3647
  if (this.isEOF())
@@ -3556,43 +3651,44 @@ var dn = (
3556
3651
  }, e;
3557
3652
  }()
3558
3653
  );
3559
- function tt(e) {
3654
+ function nt(e) {
3560
3655
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3561
3656
  }
3562
- function yn(e) {
3563
- return tt(e) || e === 47;
3657
+ function bn(e) {
3658
+ return nt(e) || e === 47;
3564
3659
  }
3565
- function gn(e) {
3660
+ function vn(e) {
3566
3661
  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;
3567
3662
  }
3568
- function cr(e) {
3663
+ function dr(e) {
3569
3664
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3570
3665
  }
3571
- function bn(e) {
3666
+ function _n(e) {
3572
3667
  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;
3573
3668
  }
3574
- function rt(e) {
3669
+ function ot(e) {
3575
3670
  e.forEach(function(t) {
3576
- if (delete t.location, tr(t) || rr(t))
3671
+ if (delete t.location, or(t) || sr(t))
3577
3672
  for (var r in t.options)
3578
- delete t.options[r].location, rt(t.options[r].value);
3579
- else qt(t) && nr(t.style) || (Kt(t) || er(t)) && Je(t.style) ? delete t.style.location : ir(t) && rt(t.children);
3673
+ delete t.options[r].location, ot(t.options[r].value);
3674
+ else
3675
+ rr(t) && ur(t.style) || (ir(t) || nr(t)) && et(t.style) ? delete t.style.location : ar(t) && ot(t.children);
3580
3676
  });
3581
3677
  }
3582
- function vn(e, t) {
3678
+ function En(e, t) {
3583
3679
  t === void 0 && (t = {}), t = E({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3584
- var r = new dn(e, t).parse();
3680
+ var r = new gn(e, t).parse();
3585
3681
  if (r.err) {
3586
- var i = SyntaxError(g[r.err.kind]);
3682
+ var i = SyntaxError(b[r.err.kind]);
3587
3683
  throw i.location = r.err.location, i.originalMessage = r.err.message, i;
3588
3684
  }
3589
- return t?.captureLocation || rt(r.val), r.val;
3685
+ return t?.captureLocation || ot(r.val), r.val;
3590
3686
  }
3591
- var ee;
3687
+ var te;
3592
3688
  (function(e) {
3593
3689
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3594
- })(ee || (ee = {}));
3595
- var Ae = (
3690
+ })(te || (te = {}));
3691
+ var Ie = (
3596
3692
  /** @class */
3597
3693
  function(e) {
3598
3694
  G(t, e);
@@ -3604,155 +3700,155 @@ var Ae = (
3604
3700
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3605
3701
  }, t;
3606
3702
  }(Error)
3607
- ), It = (
3703
+ ), Ct = (
3608
3704
  /** @class */
3609
3705
  function(e) {
3610
3706
  G(t, e);
3611
3707
  function t(r, i, n, o) {
3612
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(i, '". Options are "').concat(Object.keys(n).join('", "'), '"'), ee.INVALID_VALUE, o) || this;
3708
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(i, '". Options are "').concat(Object.keys(n).join('", "'), '"'), te.INVALID_VALUE, o) || this;
3613
3709
  }
3614
3710
  return t;
3615
- }(Ae)
3616
- ), _n = (
3711
+ }(Ie)
3712
+ ), xn = (
3617
3713
  /** @class */
3618
3714
  function(e) {
3619
3715
  G(t, e);
3620
3716
  function t(r, i, n) {
3621
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(i), ee.INVALID_VALUE, n) || this;
3717
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(i), te.INVALID_VALUE, n) || this;
3622
3718
  }
3623
3719
  return t;
3624
- }(Ae)
3625
- ), En = (
3720
+ }(Ie)
3721
+ ), Tn = (
3626
3722
  /** @class */
3627
3723
  function(e) {
3628
3724
  G(t, e);
3629
3725
  function t(r, i) {
3630
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(i, '"'), ee.MISSING_VALUE, i) || this;
3726
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(i, '"'), te.MISSING_VALUE, i) || this;
3631
3727
  }
3632
3728
  return t;
3633
- }(Ae)
3634
- ), B;
3729
+ }(Ie)
3730
+ ), I;
3635
3731
  (function(e) {
3636
3732
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3637
- })(B || (B = {}));
3638
- function xn(e) {
3733
+ })(I || (I = {}));
3734
+ function Ln(e) {
3639
3735
  return e.length < 2 ? e : e.reduce(function(t, r) {
3640
3736
  var i = t[t.length - 1];
3641
- return !i || i.type !== B.literal || r.type !== B.literal ? t.push(r) : i.value += r.value, t;
3737
+ return !i || i.type !== I.literal || r.type !== I.literal ? t.push(r) : i.value += r.value, t;
3642
3738
  }, []);
3643
3739
  }
3644
- function Tn(e) {
3740
+ function Sn(e) {
3645
3741
  return typeof e == "function";
3646
3742
  }
3647
- function _e(e, t, r, i, n, o, a) {
3648
- if (e.length === 1 && Tt(e[0]))
3743
+ function Te(e, t, r, i, n, o, a) {
3744
+ if (e.length === 1 && wt(e[0]))
3649
3745
  return [
3650
3746
  {
3651
- type: B.literal,
3747
+ type: I.literal,
3652
3748
  value: e[0].value
3653
3749
  }
3654
3750
  ];
3655
- for (var s = [], h = 0, l = e; h < l.length; h++) {
3656
- var u = l[h];
3657
- if (Tt(u)) {
3751
+ for (var s = [], h = 0, u = e; h < u.length; h++) {
3752
+ var l = u[h];
3753
+ if (wt(l)) {
3658
3754
  s.push({
3659
- type: B.literal,
3660
- value: u.value
3755
+ type: I.literal,
3756
+ value: l.value
3661
3757
  });
3662
3758
  continue;
3663
3759
  }
3664
- if (Vi(u)) {
3760
+ if (Xi(l)) {
3665
3761
  typeof o == "number" && s.push({
3666
- type: B.literal,
3762
+ type: I.literal,
3667
3763
  value: r.getNumberFormat(t).format(o)
3668
3764
  });
3669
3765
  continue;
3670
3766
  }
3671
- var c = u.value;
3767
+ var c = l.value;
3672
3768
  if (!(n && c in n))
3673
- throw new En(c, a);
3769
+ throw new Tn(c, a);
3674
3770
  var f = n[c];
3675
- if (ki(u)) {
3771
+ if (Wi(l)) {
3676
3772
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), s.push({
3677
- type: typeof f == "string" ? B.literal : B.object,
3773
+ type: typeof f == "string" ? I.literal : I.object,
3678
3774
  value: f
3679
3775
  });
3680
3776
  continue;
3681
3777
  }
3682
- if (Kt(u)) {
3683
- var p = typeof u.style == "string" ? i.date[u.style] : Je(u.style) ? u.style.parsedOptions : void 0;
3778
+ if (ir(l)) {
3779
+ var p = typeof l.style == "string" ? i.date[l.style] : et(l.style) ? l.style.parsedOptions : void 0;
3684
3780
  s.push({
3685
- type: B.literal,
3781
+ type: I.literal,
3686
3782
  value: r.getDateTimeFormat(t, p).format(f)
3687
3783
  });
3688
3784
  continue;
3689
3785
  }
3690
- if (er(u)) {
3691
- var p = typeof u.style == "string" ? i.time[u.style] : Je(u.style) ? u.style.parsedOptions : i.time.medium;
3786
+ if (nr(l)) {
3787
+ var p = typeof l.style == "string" ? i.time[l.style] : et(l.style) ? l.style.parsedOptions : i.time.medium;
3692
3788
  s.push({
3693
- type: B.literal,
3789
+ type: I.literal,
3694
3790
  value: r.getDateTimeFormat(t, p).format(f)
3695
3791
  });
3696
3792
  continue;
3697
3793
  }
3698
- if (qt(u)) {
3699
- var p = typeof u.style == "string" ? i.number[u.style] : nr(u.style) ? u.style.parsedOptions : void 0;
3794
+ if (rr(l)) {
3795
+ var p = typeof l.style == "string" ? i.number[l.style] : ur(l.style) ? l.style.parsedOptions : void 0;
3700
3796
  p && p.scale && (f = f * (p.scale || 1)), s.push({
3701
- type: B.literal,
3797
+ type: I.literal,
3702
3798
  value: r.getNumberFormat(t, p).format(f)
3703
3799
  });
3704
3800
  continue;
3705
3801
  }
3706
- if (ir(u)) {
3707
- var y = u.children, d = u.value, b = n[d];
3708
- if (!Tn(b))
3709
- throw new _n(d, "function", a);
3710
- var w = _e(y, t, r, i, n, o), _ = b(w.map(function(N) {
3802
+ if (ar(l)) {
3803
+ var y = l.children, d = l.value, v = n[d];
3804
+ if (!Sn(v))
3805
+ throw new xn(d, "function", a);
3806
+ var H = Te(y, t, r, i, n, o), g = v(H.map(function(N) {
3711
3807
  return N.value;
3712
3808
  }));
3713
- Array.isArray(_) || (_ = [_]), s.push.apply(s, _.map(function(N) {
3809
+ Array.isArray(g) || (g = [g]), s.push.apply(s, g.map(function(N) {
3714
3810
  return {
3715
- type: typeof N == "string" ? B.literal : B.object,
3811
+ type: typeof N == "string" ? I.literal : I.object,
3716
3812
  value: N
3717
3813
  };
3718
3814
  }));
3719
3815
  }
3720
- if (tr(u)) {
3721
- var H = u.options[f] || u.options.other;
3722
- if (!H)
3723
- throw new It(u.value, f, Object.keys(u.options), a);
3724
- s.push.apply(s, _e(H.value, t, r, i, n));
3816
+ if (or(l)) {
3817
+ var w = l.options[f] || l.options.other;
3818
+ if (!w)
3819
+ throw new Ct(l.value, f, Object.keys(l.options), a);
3820
+ s.push.apply(s, Te(w.value, t, r, i, n));
3725
3821
  continue;
3726
3822
  }
3727
- if (rr(u)) {
3728
- var H = u.options["=".concat(f)];
3729
- if (!H) {
3823
+ if (sr(l)) {
3824
+ var w = l.options["=".concat(f)];
3825
+ if (!w) {
3730
3826
  if (!Intl.PluralRules)
3731
- throw new Ae(`Intl.PluralRules is not available in this environment.
3827
+ throw new Ie(`Intl.PluralRules is not available in this environment.
3732
3828
  Try polyfilling it using "@formatjs/intl-pluralrules"
3733
- `, ee.MISSING_INTL_API, a);
3734
- var M = r.getPluralRules(t, { type: u.pluralType }).select(f - (u.offset || 0));
3735
- H = u.options[M] || u.options.other;
3829
+ `, te.MISSING_INTL_API, a);
3830
+ var M = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
3831
+ w = l.options[M] || l.options.other;
3736
3832
  }
3737
- if (!H)
3738
- throw new It(u.value, f, Object.keys(u.options), a);
3739
- s.push.apply(s, _e(H.value, t, r, i, n, f - (u.offset || 0)));
3833
+ if (!w)
3834
+ throw new Ct(l.value, f, Object.keys(l.options), a);
3835
+ s.push.apply(s, Te(w.value, t, r, i, n, f - (l.offset || 0)));
3740
3836
  continue;
3741
3837
  }
3742
3838
  }
3743
- return xn(s);
3839
+ return Ln(s);
3744
3840
  }
3745
- function Ln(e, t) {
3841
+ function wn(e, t) {
3746
3842
  return t ? E(E(E({}, e || {}), t || {}), Object.keys(e).reduce(function(r, i) {
3747
3843
  return r[i] = E(E({}, e[i]), t[i] || {}), r;
3748
3844
  }, {})) : e;
3749
3845
  }
3750
- function Sn(e, t) {
3846
+ function An(e, t) {
3751
3847
  return t ? Object.keys(e).reduce(function(r, i) {
3752
- return r[i] = Ln(e[i], t[i]), r;
3848
+ return r[i] = wn(e[i], t[i]), r;
3753
3849
  }, E({}, e)) : e;
3754
3850
  }
3755
- function Ge(e) {
3851
+ function ke(e) {
3756
3852
  return {
3757
3853
  create: function() {
3758
3854
  return {
@@ -3766,39 +3862,39 @@ function Ge(e) {
3766
3862
  }
3767
3863
  };
3768
3864
  }
3769
- function wn(e) {
3865
+ function Pn(e) {
3770
3866
  return e === void 0 && (e = {
3771
3867
  number: {},
3772
3868
  dateTime: {},
3773
3869
  pluralRules: {}
3774
3870
  }), {
3775
- getNumberFormat: De(function() {
3871
+ getNumberFormat: Ge(function() {
3776
3872
  for (var t, r = [], i = 0; i < arguments.length; i++)
3777
3873
  r[i] = arguments[i];
3778
- return new ((t = Intl.NumberFormat).bind.apply(t, J([void 0], r, !1)))();
3874
+ return new ((t = Intl.NumberFormat).bind.apply(t, q([void 0], r, !1)))();
3779
3875
  }, {
3780
- cache: Ge(e.number),
3781
- strategy: $e.variadic
3876
+ cache: ke(e.number),
3877
+ strategy: Fe.variadic
3782
3878
  }),
3783
- getDateTimeFormat: De(function() {
3879
+ getDateTimeFormat: Ge(function() {
3784
3880
  for (var t, r = [], i = 0; i < arguments.length; i++)
3785
3881
  r[i] = arguments[i];
3786
- return new ((t = Intl.DateTimeFormat).bind.apply(t, J([void 0], r, !1)))();
3882
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, q([void 0], r, !1)))();
3787
3883
  }, {
3788
- cache: Ge(e.dateTime),
3789
- strategy: $e.variadic
3884
+ cache: ke(e.dateTime),
3885
+ strategy: Fe.variadic
3790
3886
  }),
3791
- getPluralRules: De(function() {
3887
+ getPluralRules: Ge(function() {
3792
3888
  for (var t, r = [], i = 0; i < arguments.length; i++)
3793
3889
  r[i] = arguments[i];
3794
- return new ((t = Intl.PluralRules).bind.apply(t, J([void 0], r, !1)))();
3890
+ return new ((t = Intl.PluralRules).bind.apply(t, q([void 0], r, !1)))();
3795
3891
  }, {
3796
- cache: Ge(e.pluralRules),
3797
- strategy: $e.variadic
3892
+ cache: ke(e.pluralRules),
3893
+ strategy: Fe.variadic
3798
3894
  })
3799
3895
  };
3800
3896
  }
3801
- var An = (
3897
+ var Hn = (
3802
3898
  /** @class */
3803
3899
  function() {
3804
3900
  function e(t, r, i, n) {
@@ -3809,15 +3905,15 @@ var An = (
3809
3905
  dateTime: {},
3810
3906
  pluralRules: {}
3811
3907
  }, this.format = function(h) {
3812
- var l = o.formatToParts(h);
3813
- if (l.length === 1)
3814
- return l[0].value;
3815
- var u = l.reduce(function(c, f) {
3816
- return !c.length || f.type !== B.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3908
+ var u = o.formatToParts(h);
3909
+ if (u.length === 1)
3910
+ return u[0].value;
3911
+ var l = u.reduce(function(c, f) {
3912
+ return !c.length || f.type !== I.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3817
3913
  }, []);
3818
- return u.length <= 1 ? u[0] || "" : u;
3914
+ return l.length <= 1 ? l[0] || "" : l;
3819
3915
  }, this.formatToParts = function(h) {
3820
- return _e(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
3916
+ return Te(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
3821
3917
  }, this.resolvedOptions = function() {
3822
3918
  var h;
3823
3919
  return {
@@ -3830,13 +3926,13 @@ var An = (
3830
3926
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3831
3927
  var a = n || {};
3832
3928
  a.formatters;
3833
- var s = oi(a, ["formatters"]);
3929
+ var s = ai(a, ["formatters"]);
3834
3930
  this.ast = e.__parse(t, E(E({}, s), { locale: this.resolvedLocale }));
3835
3931
  } else
3836
3932
  this.ast = t;
3837
3933
  if (!Array.isArray(this.ast))
3838
3934
  throw new TypeError("A message must be provided as a String or AST.");
3839
- this.formats = Sn(e.formats, i), this.formatters = n && n.formatters || wn(this.formatterCache);
3935
+ this.formats = An(e.formats, i), this.formatters = n && n.formatters || Pn(this.formatterCache);
3840
3936
  }
3841
3937
  return Object.defineProperty(e, "defaultLocale", {
3842
3938
  get: function() {
@@ -3849,7 +3945,7 @@ var An = (
3849
3945
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3850
3946
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3851
3947
  }
3852
- }, e.__parse = vn, e.formats = {
3948
+ }, e.__parse = En, e.formats = {
3853
3949
  number: {
3854
3950
  integer: {
3855
3951
  maximumFractionDigits: 0
@@ -3910,7 +4006,7 @@ var An = (
3910
4006
  }, e;
3911
4007
  }()
3912
4008
  );
3913
- function Pn(e, t) {
4009
+ function In(e, t) {
3914
4010
  if (t == null)
3915
4011
  return;
3916
4012
  if (t in e)
@@ -3931,92 +4027,92 @@ function Pn(e, t) {
3931
4027
  i = void 0;
3932
4028
  return i;
3933
4029
  }
3934
- const F = {}, Hn = (e, t, r) => r && (t in F || (F[t] = {}), e in F[t] || (F[t][e] = r), r), fr = (e, t) => {
4030
+ const F = {}, Bn = (e, t, r) => r && (t in F || (F[t] = {}), e in F[t] || (F[t][e] = r), r), yr = (e, t) => {
3935
4031
  if (t == null)
3936
4032
  return;
3937
4033
  if (t in F && e in F[t])
3938
4034
  return F[t][e];
3939
- const r = Pe(t);
4035
+ const r = Be(t);
3940
4036
  for (let i = 0; i < r.length; i++) {
3941
- const n = r[i], o = Bn(n, e);
4037
+ const n = r[i], o = Cn(n, e);
3942
4038
  if (o)
3943
- return Hn(e, t, o);
4039
+ return Bn(e, t, o);
3944
4040
  }
3945
4041
  };
3946
- let lt;
3947
- const fe = we({});
3948
- function In(e) {
3949
- return lt[e] || null;
4042
+ let ct;
4043
+ const me = He({});
4044
+ function On(e) {
4045
+ return ct[e] || null;
3950
4046
  }
3951
- function mr(e) {
3952
- return e in lt;
4047
+ function gr(e) {
4048
+ return e in ct;
3953
4049
  }
3954
- function Bn(e, t) {
3955
- if (!mr(e))
4050
+ function Cn(e, t) {
4051
+ if (!gr(e))
3956
4052
  return null;
3957
- const r = In(e);
3958
- return Pn(r, t);
4053
+ const r = On(e);
4054
+ return In(r, t);
3959
4055
  }
3960
- function On(e) {
4056
+ function Nn(e) {
3961
4057
  if (e == null)
3962
4058
  return;
3963
- const t = Pe(e);
4059
+ const t = Be(e);
3964
4060
  for (let r = 0; r < t.length; r++) {
3965
4061
  const i = t[r];
3966
- if (mr(i))
4062
+ if (gr(i))
3967
4063
  return i;
3968
4064
  }
3969
4065
  }
3970
- function pr(e, ...t) {
3971
- delete F[e], fe.update((r) => (r[e] = Mi.all([r[e] || {}, ...t]), r));
4066
+ function br(e, ...t) {
4067
+ delete F[e], me.update((r) => (r[e] = Ui.all([r[e] || {}, ...t]), r));
3972
4068
  }
3973
- re(
3974
- [fe],
4069
+ ne(
4070
+ [me],
3975
4071
  ([e]) => Object.keys(e)
3976
4072
  );
3977
- fe.subscribe((e) => lt = e);
3978
- const Ee = {};
3979
- function Cn(e, t) {
3980
- Ee[e].delete(t), Ee[e].size === 0 && delete Ee[e];
4073
+ me.subscribe((e) => ct = e);
4074
+ const Le = {};
4075
+ function Rn(e, t) {
4076
+ Le[e].delete(t), Le[e].size === 0 && delete Le[e];
3981
4077
  }
3982
- function dr(e) {
3983
- return Ee[e];
4078
+ function vr(e) {
4079
+ return Le[e];
3984
4080
  }
3985
- function Nn(e) {
3986
- return Pe(e).map((t) => {
3987
- const r = dr(t);
4081
+ function Mn(e) {
4082
+ return Be(e).map((t) => {
4083
+ const r = vr(t);
3988
4084
  return [t, r ? [...r] : []];
3989
4085
  }).filter(([, t]) => t.length > 0);
3990
4086
  }
3991
- function it(e) {
3992
- return e == null ? !1 : Pe(e).some(
4087
+ function st(e) {
4088
+ return e == null ? !1 : Be(e).some(
3993
4089
  (t) => {
3994
4090
  var r;
3995
- return (r = dr(t)) == null ? void 0 : r.size;
4091
+ return (r = vr(t)) == null ? void 0 : r.size;
3996
4092
  }
3997
4093
  );
3998
4094
  }
3999
- function Rn(e, t) {
4095
+ function Dn(e, t) {
4000
4096
  return Promise.all(
4001
- t.map((i) => (Cn(e, i), i().then((n) => n.default || n)))
4002
- ).then((i) => pr(e, ...i));
4003
- }
4004
- const se = {};
4005
- function yr(e) {
4006
- if (!it(e))
4007
- return e in se ? se[e] : Promise.resolve();
4008
- const t = Nn(e);
4009
- return se[e] = Promise.all(
4097
+ t.map((i) => (Rn(e, i), i().then((n) => n.default || n)))
4098
+ ).then((i) => br(e, ...i));
4099
+ }
4100
+ const ue = {};
4101
+ function _r(e) {
4102
+ if (!st(e))
4103
+ return e in ue ? ue[e] : Promise.resolve();
4104
+ const t = Mn(e);
4105
+ return ue[e] = Promise.all(
4010
4106
  t.map(
4011
- ([r, i]) => Rn(r, i)
4107
+ ([r, i]) => Dn(r, i)
4012
4108
  )
4013
4109
  ).then(() => {
4014
- if (it(e))
4015
- return yr(e);
4016
- delete se[e];
4017
- }), se[e];
4110
+ if (st(e))
4111
+ return _r(e);
4112
+ delete ue[e];
4113
+ }), ue[e];
4018
4114
  }
4019
- const Mn = {
4115
+ const Un = {
4020
4116
  number: {
4021
4117
  scientific: { notation: "scientific" },
4022
4118
  engineering: { notation: "engineering" },
@@ -4045,159 +4141,159 @@ const Mn = {
4045
4141
  timeZoneName: "short"
4046
4142
  }
4047
4143
  }
4048
- }, Dn = {
4144
+ }, $n = {
4049
4145
  fallbackLocale: null,
4050
4146
  loadingDelay: 200,
4051
- formats: Mn,
4147
+ formats: Un,
4052
4148
  warnOnMissingMessages: !0,
4053
4149
  handleMissingMessage: void 0,
4054
4150
  ignoreTag: !0
4055
- }, $n = Dn;
4056
- function te() {
4057
- return $n;
4151
+ }, Gn = $n;
4152
+ function re() {
4153
+ return Gn;
4058
4154
  }
4059
- const Fe = we(!1);
4060
- var Un = Object.defineProperty, Gn = Object.defineProperties, Fn = Object.getOwnPropertyDescriptors, Bt = Object.getOwnPropertySymbols, jn = Object.prototype.hasOwnProperty, kn = Object.prototype.propertyIsEnumerable, Ot = (e, t, r) => t in e ? Un(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Vn = (e, t) => {
4155
+ const Ve = He(!1);
4156
+ var Fn = Object.defineProperty, jn = Object.defineProperties, kn = Object.getOwnPropertyDescriptors, Nt = Object.getOwnPropertySymbols, Vn = Object.prototype.hasOwnProperty, Wn = Object.prototype.propertyIsEnumerable, Rt = (e, t, r) => t in e ? Fn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Xn = (e, t) => {
4061
4157
  for (var r in t || (t = {}))
4062
- jn.call(t, r) && Ot(e, r, t[r]);
4063
- if (Bt)
4064
- for (var r of Bt(t))
4065
- kn.call(t, r) && Ot(e, r, t[r]);
4158
+ Vn.call(t, r) && Rt(e, r, t[r]);
4159
+ if (Nt)
4160
+ for (var r of Nt(t))
4161
+ Wn.call(t, r) && Rt(e, r, t[r]);
4066
4162
  return e;
4067
- }, Wn = (e, t) => Gn(e, Fn(t));
4068
- let nt;
4069
- const Te = we(null);
4070
- function Ct(e) {
4163
+ }, zn = (e, t) => jn(e, kn(t));
4164
+ let at;
4165
+ const we = He(null);
4166
+ function Mt(e) {
4071
4167
  return e.split("-").map((t, r, i) => i.slice(0, r + 1).join("-")).reverse();
4072
4168
  }
4073
- function Pe(e, t = te().fallbackLocale) {
4074
- const r = Ct(e);
4075
- return t ? [.../* @__PURE__ */ new Set([...r, ...Ct(t)])] : r;
4169
+ function Be(e, t = re().fallbackLocale) {
4170
+ const r = Mt(e);
4171
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Mt(t)])] : r;
4076
4172
  }
4077
- function X() {
4078
- return nt ?? void 0;
4173
+ function z() {
4174
+ return at ?? void 0;
4079
4175
  }
4080
- Te.subscribe((e) => {
4081
- nt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4176
+ we.subscribe((e) => {
4177
+ at = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4082
4178
  });
4083
- const Xn = (e) => {
4084
- if (e && On(e) && it(e)) {
4085
- const { loadingDelay: t } = te();
4179
+ const Zn = (e) => {
4180
+ if (e && Nn(e) && st(e)) {
4181
+ const { loadingDelay: t } = re();
4086
4182
  let r;
4087
- return typeof window < "u" && X() != null && t ? r = window.setTimeout(
4088
- () => Fe.set(!0),
4183
+ return typeof window < "u" && z() != null && t ? r = window.setTimeout(
4184
+ () => Ve.set(!0),
4089
4185
  t
4090
- ) : Fe.set(!0), yr(e).then(() => {
4091
- Te.set(e);
4186
+ ) : Ve.set(!0), _r(e).then(() => {
4187
+ we.set(e);
4092
4188
  }).finally(() => {
4093
- clearTimeout(r), Fe.set(!1);
4189
+ clearTimeout(r), Ve.set(!1);
4094
4190
  });
4095
4191
  }
4096
- return Te.set(e);
4097
- }, ie = Wn(Vn({}, Te), {
4098
- set: Xn
4099
- }), He = (e) => {
4192
+ return we.set(e);
4193
+ }, oe = zn(Xn({}, we), {
4194
+ set: Zn
4195
+ }), Oe = (e) => {
4100
4196
  const t = /* @__PURE__ */ Object.create(null);
4101
4197
  return (i) => {
4102
4198
  const n = JSON.stringify(i);
4103
4199
  return n in t ? t[n] : t[n] = e(i);
4104
4200
  };
4105
4201
  };
4106
- var zn = Object.defineProperty, Le = Object.getOwnPropertySymbols, gr = Object.prototype.hasOwnProperty, br = Object.prototype.propertyIsEnumerable, Nt = (e, t, r) => t in e ? zn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ut = (e, t) => {
4202
+ var Qn = Object.defineProperty, Ae = Object.getOwnPropertySymbols, Er = Object.prototype.hasOwnProperty, xr = Object.prototype.propertyIsEnumerable, Dt = (e, t, r) => t in e ? Qn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ft = (e, t) => {
4107
4203
  for (var r in t || (t = {}))
4108
- gr.call(t, r) && Nt(e, r, t[r]);
4109
- if (Le)
4110
- for (var r of Le(t))
4111
- br.call(t, r) && Nt(e, r, t[r]);
4204
+ Er.call(t, r) && Dt(e, r, t[r]);
4205
+ if (Ae)
4206
+ for (var r of Ae(t))
4207
+ xr.call(t, r) && Dt(e, r, t[r]);
4112
4208
  return e;
4113
- }, ne = (e, t) => {
4209
+ }, se = (e, t) => {
4114
4210
  var r = {};
4115
4211
  for (var i in e)
4116
- gr.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
4117
- if (e != null && Le)
4118
- for (var i of Le(e))
4119
- t.indexOf(i) < 0 && br.call(e, i) && (r[i] = e[i]);
4212
+ Er.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
4213
+ if (e != null && Ae)
4214
+ for (var i of Ae(e))
4215
+ t.indexOf(i) < 0 && xr.call(e, i) && (r[i] = e[i]);
4120
4216
  return r;
4121
4217
  };
4122
- const he = (e, t) => {
4123
- const { formats: r } = te();
4218
+ const fe = (e, t) => {
4219
+ const { formats: r } = re();
4124
4220
  if (e in r && t in r[e])
4125
4221
  return r[e][t];
4126
4222
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4127
- }, Zn = He(
4223
+ }, Yn = Oe(
4128
4224
  (e) => {
4129
- var t = e, { locale: r, format: i } = t, n = ne(t, ["locale", "format"]);
4225
+ var t = e, { locale: r, format: i } = t, n = se(t, ["locale", "format"]);
4130
4226
  if (r == null)
4131
4227
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4132
- return i && (n = he("number", i)), new Intl.NumberFormat(r, n);
4228
+ return i && (n = fe("number", i)), new Intl.NumberFormat(r, n);
4133
4229
  }
4134
- ), Qn = He(
4230
+ ), Jn = Oe(
4135
4231
  (e) => {
4136
- var t = e, { locale: r, format: i } = t, n = ne(t, ["locale", "format"]);
4232
+ var t = e, { locale: r, format: i } = t, n = se(t, ["locale", "format"]);
4137
4233
  if (r == null)
4138
4234
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4139
- return i ? n = he("date", i) : Object.keys(n).length === 0 && (n = he("date", "short")), new Intl.DateTimeFormat(r, n);
4235
+ return i ? n = fe("date", i) : Object.keys(n).length === 0 && (n = fe("date", "short")), new Intl.DateTimeFormat(r, n);
4140
4236
  }
4141
- ), Yn = He(
4237
+ ), qn = Oe(
4142
4238
  (e) => {
4143
- var t = e, { locale: r, format: i } = t, n = ne(t, ["locale", "format"]);
4239
+ var t = e, { locale: r, format: i } = t, n = se(t, ["locale", "format"]);
4144
4240
  if (r == null)
4145
4241
  throw new Error(
4146
4242
  '[svelte-i18n] A "locale" must be set to format time values'
4147
4243
  );
4148
- return i ? n = he("time", i) : Object.keys(n).length === 0 && (n = he("time", "short")), new Intl.DateTimeFormat(r, n);
4244
+ return i ? n = fe("time", i) : Object.keys(n).length === 0 && (n = fe("time", "short")), new Intl.DateTimeFormat(r, n);
4149
4245
  }
4150
- ), Jn = (e = {}) => {
4246
+ ), Kn = (e = {}) => {
4151
4247
  var t = e, {
4152
- locale: r = X()
4153
- } = t, i = ne(t, [
4248
+ locale: r = z()
4249
+ } = t, i = se(t, [
4154
4250
  "locale"
4155
4251
  ]);
4156
- return Zn(ut({ locale: r }, i));
4157
- }, qn = (e = {}) => {
4252
+ return Yn(ft({ locale: r }, i));
4253
+ }, eo = (e = {}) => {
4158
4254
  var t = e, {
4159
- locale: r = X()
4160
- } = t, i = ne(t, [
4255
+ locale: r = z()
4256
+ } = t, i = se(t, [
4161
4257
  "locale"
4162
4258
  ]);
4163
- return Qn(ut({ locale: r }, i));
4164
- }, Kn = (e = {}) => {
4259
+ return Jn(ft({ locale: r }, i));
4260
+ }, to = (e = {}) => {
4165
4261
  var t = e, {
4166
- locale: r = X()
4167
- } = t, i = ne(t, [
4262
+ locale: r = z()
4263
+ } = t, i = se(t, [
4168
4264
  "locale"
4169
4265
  ]);
4170
- return Yn(ut({ locale: r }, i));
4171
- }, eo = He(
4266
+ return qn(ft({ locale: r }, i));
4267
+ }, ro = Oe(
4172
4268
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4173
- (e, t = X()) => new An(e, t, te().formats, {
4174
- ignoreTag: te().ignoreTag
4269
+ (e, t = z()) => new Hn(e, t, re().formats, {
4270
+ ignoreTag: re().ignoreTag
4175
4271
  })
4176
- ), to = (e, t = {}) => {
4272
+ ), io = (e, t = {}) => {
4177
4273
  var r, i, n, o;
4178
4274
  let a = t;
4179
4275
  typeof e == "object" && (a = e, e = a.id);
4180
4276
  const {
4181
4277
  values: s,
4182
- locale: h = X(),
4183
- default: l
4278
+ locale: h = z(),
4279
+ default: u
4184
4280
  } = a;
4185
4281
  if (h == null)
4186
4282
  throw new Error(
4187
4283
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4188
4284
  );
4189
- let u = fr(e, h);
4190
- if (!u)
4191
- u = (o = (n = (i = (r = te()).handleMissingMessage) == null ? void 0 : i.call(r, { locale: h, id: e, defaultValue: l })) != null ? n : l) != null ? o : e;
4192
- else if (typeof u != "string")
4285
+ let l = yr(e, h);
4286
+ if (!l)
4287
+ 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
+ else if (typeof l != "string")
4193
4289
  return console.warn(
4194
- `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof u}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
4195
- ), u;
4290
+ `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
4291
+ ), l;
4196
4292
  if (!s)
4197
- return u;
4198
- let c = u;
4293
+ return l;
4294
+ let c = l;
4199
4295
  try {
4200
- c = eo(u, h).format(s);
4296
+ c = ro(l, h).format(s);
4201
4297
  } catch (f) {
4202
4298
  f instanceof Error && console.warn(
4203
4299
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4205,20 +4301,43 @@ const he = (e, t) => {
4205
4301
  );
4206
4302
  }
4207
4303
  return c;
4208
- }, 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 = re([ie, fe], () => to);
4209
- re([ie], () => ro);
4210
- re([ie], () => io);
4211
- re([ie], () => no);
4212
- re([ie, fe], () => oo);
4213
- window.emWidgets = { topic: vi };
4214
- 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)), wo = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4215
- function Rt(e, t) {
4216
- pr(e, t);
4217
- }
4218
- function lo(e) {
4219
- ie.set(e);
4220
- }
4221
- const je = {
4304
+ }, no = (e, t) => to(t).format(e), oo = (e, t) => eo(t).format(e), so = (e, t) => Kn(t).format(e), ao = (e, t = z()) => yr(e, t), uo = ne([oe, me], () => io);
4305
+ ne([oe], () => no);
4306
+ ne([oe], () => oo);
4307
+ ne([oe], () => so);
4308
+ ne([oe, me], () => ao);
4309
+ window.emWidgets = { topic: Ei };
4310
+ const lo = (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 ho(e, t) {
4312
+ if (e) {
4313
+ const r = document.createElement("style");
4314
+ r.innerHTML = t, e.appendChild(r);
4315
+ }
4316
+ }
4317
+ function co(e, t) {
4318
+ const r = new URL(t);
4319
+ fetch(r.href).then((i) => i.text()).then((i) => {
4320
+ const n = document.createElement("style");
4321
+ n.innerHTML = i, e && e.appendChild(n);
4322
+ }).catch((i) => {
4323
+ console.error("There was an error while trying to load client styling from URL", i);
4324
+ });
4325
+ }
4326
+ function fo(e, t, r) {
4327
+ if (window.emMessageBus) {
4328
+ const i = document.createElement("style");
4329
+ window.emMessageBus.subscribe(t, (n) => {
4330
+ i.innerHTML = n, e && e.appendChild(i);
4331
+ });
4332
+ }
4333
+ }
4334
+ function Ut(e, t) {
4335
+ br(e, t);
4336
+ }
4337
+ function mo(e) {
4338
+ oe.set(e);
4339
+ }
4340
+ const We = {
4222
4341
  en: {
4223
4342
  expandLimits: "LIMIT HISTORY",
4224
4343
  daily: "per day",
@@ -4469,34 +4588,34 @@ const je = {
4469
4588
  historyLimitTypeLoss: "Loss Limit"
4470
4589
  }
4471
4590
  };
4472
- function uo(e) {
4473
- Dr(e, "svelte-19ml84y", ':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-19ml84y.svelte-19ml84y,.svelte-19ml84y.svelte-19ml84y::before,.svelte-19ml84y.svelte-19ml84y::after{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A));margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.player-account-gaming-limits-history-2.svelte-19ml84y.svelte-19ml84y{color:var(--emw--color-white, #FFFFFF)}button.svelte-19ml84y.svelte-19ml84y{font-size:1rem;border:0;padding:0}.ExpandButton.svelte-19ml84y.svelte-19ml84y{color:#999;display:flex;justify-content:center;align-items:center;margin-right:-14px;background:transparent}.ExpandButton.svelte-19ml84y svg.svelte-19ml84y{width:28px;height:auto;margin-left:-4px}.extended.svelte-19ml84y.svelte-19ml84y{transform:rotate(180deg)}.HistoryWrapper.svelte-19ml84y.svelte-19ml84y{display:flex;flex-direction:column}.HistoryWrapper.Desktop.svelte-19ml84y.svelte-19ml84y{width:320px;padding:0 12px;margin:12px auto}.hidden.svelte-19ml84y.svelte-19ml84y{display:none}.HistoryRow.svelte-19ml84y.svelte-19ml84y{padding:12px 0;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--emw--color-gray-100, #E6E6E6)}.GeneralLimitInformation.svelte-19ml84y.svelte-19ml84y{display:flex;flex-direction:column;gap:4px}.LimitType.svelte-19ml84y.svelte-19ml84y{font-size:1.3rem}.LimitAmountPeriod.svelte-19ml84y.svelte-19ml84y{color:#999}.LimitContainer.svelte-19ml84y.svelte-19ml84y{animation:svelte-19ml84y-animateEntry 0.7s ease-in}@keyframes svelte-19ml84y-animateEntry{0%{opacity:0;transform:translateX(500px)}100%{opacity:1;transform:translateX(0)}}');
4591
+ function po(e) {
4592
+ Gr(e, "svelte-19ml84y", ':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-19ml84y.svelte-19ml84y,.svelte-19ml84y.svelte-19ml84y::before,.svelte-19ml84y.svelte-19ml84y::after{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A));margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.player-account-gaming-limits-history-2.svelte-19ml84y.svelte-19ml84y{color:var(--emw--color-white, #FFFFFF)}button.svelte-19ml84y.svelte-19ml84y{font-size:1rem;border:0;padding:0}.ExpandButton.svelte-19ml84y.svelte-19ml84y{color:#999;display:flex;justify-content:center;align-items:center;margin-right:-14px;background:transparent}.ExpandButton.svelte-19ml84y svg.svelte-19ml84y{width:28px;height:auto;margin-left:-4px}.extended.svelte-19ml84y.svelte-19ml84y{transform:rotate(180deg)}.HistoryWrapper.svelte-19ml84y.svelte-19ml84y{display:flex;flex-direction:column}.HistoryWrapper.Desktop.svelte-19ml84y.svelte-19ml84y{width:320px;padding:0 12px;margin:12px auto}.hidden.svelte-19ml84y.svelte-19ml84y{display:none}.HistoryRow.svelte-19ml84y.svelte-19ml84y{padding:12px 0;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--emw--color-gray-100, #E6E6E6)}.GeneralLimitInformation.svelte-19ml84y.svelte-19ml84y{display:flex;flex-direction:column;gap:4px}.LimitType.svelte-19ml84y.svelte-19ml84y{font-size:1.3rem}.LimitAmountPeriod.svelte-19ml84y.svelte-19ml84y{color:#999}.LimitContainer.svelte-19ml84y.svelte-19ml84y{animation:svelte-19ml84y-animateEntry 0.7s ease-in}@keyframes svelte-19ml84y-animateEntry{0%{opacity:0;transform:translateX(500px)}100%{opacity:1;transform:translateX(0)}}');
4474
4593
  }
4475
- function Mt(e, t, r) {
4594
+ function $t(e, t, r) {
4476
4595
  const i = e.slice();
4477
- return i[38] = t[r], i[39] = t, i[40] = r, i;
4596
+ return i[37] = t[r], i[38] = t, i[39] = r, i;
4478
4597
  }
4479
- function ho(e) {
4598
+ function yo(e) {
4480
4599
  let t, r, i, n = (
4481
4600
  /*$_*/
4482
4601
  e[9]("expandLimits") + ""
4483
- ), o, a, s, h, l, u, c, f, p, y = pt(
4602
+ ), o, a, s, h, u, l, c, f, p, y = gt(
4484
4603
  /*lazyShowedHistoryArray*/
4485
4604
  e[7]
4486
4605
  ), d = [];
4487
- for (let b = 0; b < y.length; b += 1)
4488
- d[b] = Dt(Mt(e, y, b));
4606
+ for (let v = 0; v < y.length; v += 1)
4607
+ d[v] = Gt($t(e, y, v));
4489
4608
  return {
4490
4609
  c() {
4491
- t = P("div"), r = P("div"), i = P("button"), o = R(n), a = ke(), s = Ce("svg"), h = Ce("path"), l = Ce("path"), u = ke(), c = P("div");
4492
- for (let b = 0; b < d.length; b += 1)
4493
- d[b].c();
4494
- x(h, "d", "M10.5 15l7.5 7.5 7.5-7.5z"), x(h, "class", "svelte-19ml84y"), x(l, "d", "M0 0h36v36h-36z"), x(l, "fill", "none"), x(l, "class", "svelte-19ml84y"), x(s, "class", "ExpandArrow svelte-19ml84y"), x(s, "xmlns", "http://www.w3.org/2000/svg"), x(s, "width", "36"), x(s, "height", "36"), x(s, "viewBox", "0 0 36 36"), x(s, "fill", "#999"), de(
4610
+ t = P("div"), r = P("div"), i = P("button"), o = R(n), a = Xe(), s = Me("svg"), h = Me("path"), u = Me("path"), l = Xe(), c = P("div");
4611
+ for (let v = 0; v < d.length; v += 1)
4612
+ d[v].c();
4613
+ x(h, "d", "M10.5 15l7.5 7.5 7.5-7.5z"), x(h, "class", "svelte-19ml84y"), x(u, "d", "M0 0h36v36h-36z"), x(u, "fill", "none"), x(u, "class", "svelte-19ml84y"), x(s, "class", "ExpandArrow svelte-19ml84y"), x(s, "xmlns", "http://www.w3.org/2000/svg"), x(s, "width", "36"), x(s, "height", "36"), x(s, "viewBox", "0 0 36 36"), x(s, "fill", "#999"), ge(
4495
4614
  s,
4496
4615
  "extended",
4497
4616
  /*extended*/
4498
4617
  e[8]
4499
- ), x(i, "class", "ExpandButton svelte-19ml84y"), x(c, "class", "HistoryDisplayArea svelte-19ml84y"), de(
4618
+ ), x(i, "class", "ExpandButton svelte-19ml84y"), x(c, "class", "HistoryDisplayArea svelte-19ml84y"), ge(
4500
4619
  c,
4501
4620
  "hidden",
4502
4621
  /*hidden*/
@@ -4504,58 +4623,58 @@ function ho(e) {
4504
4623
  ), x(r, "class", "HistoryWrapper " + /*isDesktop*/
4505
4624
  (e[10] ? "Desktop" : "") + " svelte-19ml84y"), x(t, "class", "player-account-gaming-limits-history-2 svelte-19ml84y");
4506
4625
  },
4507
- m(b, w) {
4508
- W(b, t, w), L(t, r), L(r, i), L(i, o), L(i, a), L(i, s), L(s, h), L(s, l), L(r, u), L(r, c);
4509
- for (let _ = 0; _ < d.length; _ += 1)
4510
- d[_] && d[_].m(c, null);
4511
- f || (p = Fr(
4626
+ m(v, H) {
4627
+ X(v, t, H), 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);
4628
+ for (let g = 0; g < d.length; g += 1)
4629
+ d[g] && d[g].m(c, null);
4630
+ f || (p = Vr(
4512
4631
  i,
4513
4632
  "click",
4514
4633
  /*toggleHistoryDisplayArea*/
4515
4634
  e[11]
4516
4635
  ), f = !0);
4517
4636
  },
4518
- p(b, w) {
4519
- if (w[0] & /*$_*/
4637
+ p(v, H) {
4638
+ if (H[0] & /*$_*/
4520
4639
  512 && n !== (n = /*$_*/
4521
- b[9]("expandLimits") + "") && j(o, n), w[0] & /*extended*/
4522
- 256 && de(
4640
+ v[9]("expandLimits") + "") && j(o, n), H[0] & /*extended*/
4641
+ 256 && ge(
4523
4642
  s,
4524
4643
  "extended",
4525
4644
  /*extended*/
4526
- b[8]
4527
- ), w[0] & /*numberofentries, limitContainer, lazyShowedHistoryArray, $_*/
4645
+ v[8]
4646
+ ), H[0] & /*numberofentries, limitContainer, lazyShowedHistoryArray, $_*/
4528
4647
  650) {
4529
- y = pt(
4648
+ y = gt(
4530
4649
  /*lazyShowedHistoryArray*/
4531
- b[7]
4650
+ v[7]
4532
4651
  );
4533
- let _;
4534
- for (_ = 0; _ < y.length; _ += 1) {
4535
- const H = Mt(b, y, _);
4536
- d[_] ? d[_].p(H, w) : (d[_] = Dt(H), d[_].c(), d[_].m(c, null));
4652
+ let g;
4653
+ for (g = 0; g < y.length; g += 1) {
4654
+ const w = $t(v, y, g);
4655
+ d[g] ? d[g].p(w, H) : (d[g] = Gt(w), d[g].c(), d[g].m(c, null));
4537
4656
  }
4538
- for (; _ < d.length; _ += 1)
4539
- d[_].d(1);
4657
+ for (; g < d.length; g += 1)
4658
+ d[g].d(1);
4540
4659
  d.length = y.length;
4541
4660
  }
4542
- w[0] & /*hidden*/
4543
- 32 && de(
4661
+ H[0] & /*hidden*/
4662
+ 32 && ge(
4544
4663
  c,
4545
4664
  "hidden",
4546
4665
  /*hidden*/
4547
- b[5]
4666
+ v[5]
4548
4667
  );
4549
4668
  },
4550
- d(b) {
4551
- b && k(t), Gr(d, b), f = !1, p();
4669
+ d(v) {
4670
+ v && k(t), kr(d, v), f = !1, p();
4552
4671
  }
4553
4672
  };
4554
4673
  }
4555
- function co(e) {
4556
- return { c: O, m: O, p: O, d: O };
4674
+ function go(e) {
4675
+ return { c: B, m: B, p: B, d: B };
4557
4676
  }
4558
- function fo(e) {
4677
+ function bo(e) {
4559
4678
  let t, r = (
4560
4679
  /*lang*/
4561
4680
  (e[0] ? (
@@ -4568,7 +4687,7 @@ function fo(e) {
4568
4687
  t = P("p"), i = R(r), x(t, "class", "svelte-19ml84y");
4569
4688
  },
4570
4689
  m(n, o) {
4571
- W(n, t, o), L(t, i);
4690
+ X(n, t, o), T(t, i);
4572
4691
  },
4573
4692
  p(n, o) {
4574
4693
  o[0] & /*lang, $_*/
@@ -4583,123 +4702,123 @@ function fo(e) {
4583
4702
  }
4584
4703
  };
4585
4704
  }
4586
- function mo(e) {
4705
+ function vo(e) {
4587
4706
  let t, r, i, n = (
4588
4707
  /*history*/
4589
- e[38].type + ""
4708
+ e[37].type + ""
4590
4709
  ), o, a, s = (
4591
4710
  /*history*/
4592
- e[38].amount + ""
4593
- ), h, l, u = (
4711
+ e[37].amount + ""
4712
+ ), h, u, l = (
4594
4713
  /*history*/
4595
- e[38].date + ""
4714
+ e[37].date + ""
4596
4715
  ), c;
4597
4716
  return {
4598
4717
  c() {
4599
- t = P("div"), r = P("span"), i = P("span"), o = R(n), a = P("span"), h = R(s), l = P("span"), c = R(u), x(i, "class", "LimitType svelte-19ml84y"), x(a, "class", "LimitAmountPeriod svelte-19ml84y"), x(r, "class", "GeneralLimitInformation svelte-19ml84y"), x(l, "class", "DateLimitInformation svelte-19ml84y"), x(t, "class", "HistoryRow svelte-19ml84y");
4718
+ t = P("div"), r = P("span"), i = P("span"), o = R(n), a = P("span"), h = R(s), u = P("span"), c = R(l), x(i, "class", "LimitType svelte-19ml84y"), x(a, "class", "LimitAmountPeriod svelte-19ml84y"), x(r, "class", "GeneralLimitInformation svelte-19ml84y"), x(u, "class", "DateLimitInformation svelte-19ml84y"), x(t, "class", "HistoryRow svelte-19ml84y");
4600
4719
  },
4601
4720
  m(f, p) {
4602
- W(f, t, p), L(t, r), L(r, i), L(i, o), L(r, a), L(a, h), L(t, l), L(l, c);
4721
+ X(f, t, p), T(t, r), T(r, i), T(i, o), T(r, a), T(a, h), T(t, u), T(u, c);
4603
4722
  },
4604
4723
  p(f, p) {
4605
4724
  p[0] & /*lazyShowedHistoryArray*/
4606
4725
  128 && n !== (n = /*history*/
4607
- f[38].type + "") && j(o, n), p[0] & /*lazyShowedHistoryArray*/
4726
+ f[37].type + "") && j(o, n), p[0] & /*lazyShowedHistoryArray*/
4608
4727
  128 && s !== (s = /*history*/
4609
- f[38].amount + "") && j(h, s), p[0] & /*lazyShowedHistoryArray*/
4610
- 128 && u !== (u = /*history*/
4611
- f[38].date + "") && j(c, u);
4728
+ f[37].amount + "") && j(h, s), p[0] & /*lazyShowedHistoryArray*/
4729
+ 128 && l !== (l = /*history*/
4730
+ f[37].date + "") && j(c, l);
4612
4731
  },
4613
4732
  d(f) {
4614
4733
  f && k(t);
4615
4734
  }
4616
4735
  };
4617
4736
  }
4618
- function po(e) {
4737
+ function _o(e) {
4619
4738
  let t, r, i, n = (
4620
4739
  /*history*/
4621
- e[38].type + ""
4740
+ e[37].type + ""
4622
4741
  ), o, a, s = (
4623
4742
  /*$_*/
4624
4743
  e[9]("limitRemoved") + ""
4625
- ), h, l, u = (
4744
+ ), h, u, l = (
4626
4745
  /*history*/
4627
- e[38].date + ""
4746
+ e[37].date + ""
4628
4747
  ), c;
4629
4748
  return {
4630
4749
  c() {
4631
- t = P("div"), r = P("span"), i = P("span"), o = R(n), a = P("span"), h = R(s), l = P("span"), c = R(u), x(i, "class", "LimitType svelte-19ml84y"), x(a, "class", "LimitAmountPeriod svelte-19ml84y"), x(r, "class", "GeneralLimitInformation svelte-19ml84y"), x(l, "class", "DateLimitInformation svelte-19ml84y"), x(t, "class", "HistoryRow svelte-19ml84y");
4750
+ t = P("div"), r = P("span"), i = P("span"), o = R(n), a = P("span"), h = R(s), u = P("span"), c = R(l), x(i, "class", "LimitType svelte-19ml84y"), x(a, "class", "LimitAmountPeriod svelte-19ml84y"), x(r, "class", "GeneralLimitInformation svelte-19ml84y"), x(u, "class", "DateLimitInformation svelte-19ml84y"), x(t, "class", "HistoryRow svelte-19ml84y");
4632
4751
  },
4633
4752
  m(f, p) {
4634
- W(f, t, p), L(t, r), L(r, i), L(i, o), L(r, a), L(a, h), L(t, l), L(l, c);
4753
+ X(f, t, p), T(t, r), T(r, i), T(i, o), T(r, a), T(a, h), T(t, u), T(u, c);
4635
4754
  },
4636
4755
  p(f, p) {
4637
4756
  p[0] & /*lazyShowedHistoryArray*/
4638
4757
  128 && n !== (n = /*history*/
4639
- f[38].type + "") && j(o, n), p[0] & /*$_*/
4758
+ f[37].type + "") && j(o, n), p[0] & /*$_*/
4640
4759
  512 && s !== (s = /*$_*/
4641
4760
  f[9]("limitRemoved") + "") && j(h, s), p[0] & /*lazyShowedHistoryArray*/
4642
- 128 && u !== (u = /*history*/
4643
- f[38].date + "") && j(c, u);
4761
+ 128 && l !== (l = /*history*/
4762
+ f[37].date + "") && j(c, l);
4644
4763
  },
4645
4764
  d(f) {
4646
4765
  f && k(t);
4647
4766
  }
4648
4767
  };
4649
4768
  }
4650
- function Dt(e) {
4769
+ function Gt(e) {
4651
4770
  let t, r, i, n = (
4652
4771
  /*index*/
4653
- e[40]
4772
+ e[39]
4654
4773
  );
4655
- function o(u, c) {
4774
+ function o(l, c) {
4656
4775
  return (
4657
4776
  /*history*/
4658
- u[38].removed ? po : mo
4777
+ l[37].removed ? _o : vo
4659
4778
  );
4660
4779
  }
4661
4780
  let a = o(e), s = a(e);
4662
4781
  const h = () => (
4663
4782
  /*div_binding*/
4664
- e[21](t, n)
4665
- ), l = () => (
4783
+ e[22](t, n)
4784
+ ), u = () => (
4666
4785
  /*div_binding*/
4667
- e[21](null, n)
4786
+ e[22](null, n)
4668
4787
  );
4669
4788
  return {
4670
4789
  c() {
4671
- t = P("div"), s.c(), r = ke(), x(t, "class", i = ft(
4790
+ t = P("div"), s.c(), r = Xe(), x(t, "class", i = dt(
4672
4791
  /*index*/
4673
- e[40] > +/*numberofentries*/
4792
+ e[39] > +/*numberofentries*/
4674
4793
  e[1] ? "LimitContainer" : ""
4675
4794
  ) + " svelte-19ml84y");
4676
4795
  },
4677
- m(u, c) {
4678
- W(u, t, c), s.m(t, null), L(t, r), h();
4796
+ m(l, c) {
4797
+ X(l, t, c), s.m(t, null), T(t, r), h();
4679
4798
  },
4680
- p(u, c) {
4681
- e = u, 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*/
4682
- 2 && i !== (i = ft(
4799
+ p(l, c) {
4800
+ 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*/
4801
+ 2 && i !== (i = dt(
4683
4802
  /*index*/
4684
- e[40] > +/*numberofentries*/
4803
+ e[39] > +/*numberofentries*/
4685
4804
  e[1] ? "LimitContainer" : ""
4686
4805
  ) + " svelte-19ml84y") && x(t, "class", i), n !== /*index*/
4687
- e[40] && (l(), n = /*index*/
4688
- e[40], h());
4806
+ e[39] && (u(), n = /*index*/
4807
+ e[39], h());
4689
4808
  },
4690
- d(u) {
4691
- u && k(t), s.d(), l();
4809
+ d(l) {
4810
+ l && k(t), s.d(), u();
4692
4811
  }
4693
4812
  };
4694
4813
  }
4695
- function yo(e) {
4814
+ function Eo(e) {
4696
4815
  let t;
4697
4816
  function r(o, a) {
4698
4817
  return (
4699
4818
  /*hasErrors*/
4700
- o[6] ? fo : (
4819
+ o[6] ? bo : (
4701
4820
  /*isLoading*/
4702
- o[4] ? co : ho
4821
+ o[4] ? go : yo
4703
4822
  )
4704
4823
  );
4705
4824
  }
@@ -4709,57 +4828,57 @@ function yo(e) {
4709
4828
  t = P("div"), n.c(), x(t, "class", "svelte-19ml84y");
4710
4829
  },
4711
4830
  m(o, a) {
4712
- W(o, t, a), n.m(t, null), e[22](t);
4831
+ X(o, t, a), n.m(t, null), e[23](t);
4713
4832
  },
4714
4833
  p(o, a) {
4715
4834
  i === (i = r(o)) && n ? n.p(o, a) : (n.d(1), n = i(o), n && (n.c(), n.m(t, null)));
4716
4835
  },
4717
- i: O,
4718
- o: O,
4836
+ i: B,
4837
+ o: B,
4719
4838
  d(o) {
4720
- o && k(t), n.d(), e[22](null);
4839
+ o && k(t), n.d(), e[23](null);
4721
4840
  }
4722
4841
  };
4723
4842
  }
4724
- function go(e, t, r) {
4843
+ function xo(e, t, r) {
4725
4844
  let i;
4726
- Mr(e, so, (m) => r(9, i = m));
4727
- let n = window.navigator.userAgent, o = !ao(n), { lang: a = "" } = t, { userid: s = "" } = t, { session: h = "" } = t, { endpoint: l = "" } = t, { apiversion: u = "" } = t, { numberofentries: c = "10" } = t, { customcurrencysymbols: f = "" } = t, { limitformat: p = "" } = t, { clientstyling: y = "" } = t, { clientstylingurl: d = "" } = t, { translationurl: b = "" } = t, w, _ = new Array(), H = parseInt(c, 10), M = !1, N = !0, D = [], V = [], me = !0, Ie = !1, oe = { EUR: "€", RON: "lei", TRY: "₺" };
4728
- const _r = () => {
4729
- fetch(b).then((T) => T.json()).then((T) => {
4730
- Object.keys(T).forEach((I) => {
4731
- Rt(I, T[I]);
4845
+ $r(e, uo, (m) => r(9, i = m));
4846
+ let n = window.navigator.userAgent, o = !lo(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: H = "" } = t, g, w = new Array(), M = parseInt(c, 10), N = !1, D = !0, V = [], pe = [], de = !0, Ce = !1, ae = { EUR: "€", RON: "lei", TRY: "₺" };
4847
+ const Lr = () => {
4848
+ fetch(H).then((L) => L.json()).then((L) => {
4849
+ Object.keys(L).forEach((C) => {
4850
+ Ut(C, L[C]);
4732
4851
  });
4733
- }).catch((T) => {
4734
- console.log(T);
4852
+ }).catch((L) => {
4853
+ console.log(L);
4735
4854
  });
4736
4855
  };
4737
- Object.keys(je).forEach((m) => {
4738
- Rt(m, je[m]);
4856
+ Object.keys(We).forEach((m) => {
4857
+ Ut(m, We[m]);
4739
4858
  });
4740
- const Er = () => {
4741
- let m = u === "gmcore" ? `/v2/player/${s}/transactions/limit` : `/v1/player/${s}/limits/monetary/history`, T = new URL(m, l);
4742
- T.searchParams.append("startDate", `${(/* @__PURE__ */ new Date("2022")).toISOString()}`), T.searchParams.append("endDate", `${(/* @__PURE__ */ new Date("2099")).toISOString()}`), T.searchParams.append("limit", "10000");
4743
- let I = {
4859
+ const Sr = () => {
4860
+ let m = l === "gmcore" ? `/v2/player/${s}/transactions/limit` : `/v1/player/${s}/limits/monetary/history`, L = new URL(m, u);
4861
+ L.searchParams.append("startDate", `${(/* @__PURE__ */ new Date("2022")).toISOString()}`), L.searchParams.append("endDate", `${(/* @__PURE__ */ new Date("2099")).toISOString()}`), L.searchParams.append("limit", "10000");
4862
+ let C = {
4744
4863
  method: "GET",
4745
4864
  headers: { "X-SessionID": h }
4746
4865
  };
4747
- fetch(T.href, I).then((A) => {
4866
+ fetch(L.href, C).then((A) => {
4748
4867
  if (A.status >= 300)
4749
- throw r(4, N = !1), r(6, M = !0), new Error("There was an error fetching the limits");
4868
+ throw r(4, D = !1), r(6, N = !0), new Error("There was an error fetching the limits");
4750
4869
  return A.json();
4751
4870
  }).then(
4752
4871
  (A) => {
4753
- A.length && (D = xr(A), r(7, V = D.slice(0, H))), r(4, N = !1);
4872
+ A.length && (V = wr(A), r(7, pe = V.slice(0, M))), r(4, D = !1);
4754
4873
  },
4755
4874
  (A) => {
4756
- console.error("There was an error", A), r(6, M = !0);
4875
+ console.error("There was an error", A), r(6, N = !0);
4757
4876
  }
4758
4877
  );
4759
- }, xr = (m) => {
4760
- const T = !!je[a];
4878
+ }, wr = (m) => {
4879
+ const L = !!We[a];
4761
4880
  return m.map((A) => {
4762
- let $ = {
4881
+ let U = {
4763
4882
  amount: "",
4764
4883
  currency: "",
4765
4884
  date: "",
@@ -4767,118 +4886,104 @@ function go(e, t, r) {
4767
4886
  type: "",
4768
4887
  removed: !1
4769
4888
  };
4770
- return $.amount = Tr(A), $.currency = T ? oe[A.limitCurrencyCode] : A.limitCurrencyCode, $.date = new Intl.DateTimeFormat("de", { dateStyle: "medium" }).format(new Date(A.limitDate)), $.period = i(`${A.limitPeriod.toLowerCase()}`), $.type = u === "gmcore" ? i(`historyLimitType${A.limitType.split(" ")[0]}`) : i(`historyLimitType${A.limitType.split(" ")[0]}`) + " " + i(`historyProductType${A.limitProductType}`), $.removed = A.limitAmount === -1, $;
4889
+ return U.amount = Ar(A), U.currency = L ? ae[A.limitCurrencyCode] : A.limitCurrencyCode, U.date = new Intl.DateTimeFormat("de", { dateStyle: "medium" }).format(new Date(A.limitDate)), U.period = i(`${A.limitPeriod.toLowerCase()}`), U.type = l === "gmcore" ? i(`historyLimitType${A.limitType.split(" ")[0]}`) : i(`historyLimitType${A.limitType.split(" ")[0]}`) + " " + i(`historyProductType${A.limitProductType}`), U.removed = A.limitAmount === -1, U;
4771
4890
  });
4772
- }, Tr = (m) => {
4773
- let T = p || Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(m.limitAmount);
4891
+ }, Ar = (m) => {
4892
+ let L = p || Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(m.limitAmount);
4774
4893
  if (!p) {
4775
- let Nr = oe[m.limitCurrencyCode] || m.limitCurrencyCode;
4776
- return `${T}${Nr}`;
4894
+ let Mr = ae[m.limitCurrencyCode] || m.limitCurrencyCode;
4895
+ return `${L}${Mr}`;
4777
4896
  }
4778
4897
  typeof m.limitAmount == "string" && m.limitAmount.includes(",") && (m.limitAmount = m.limitAmount.replaceAll(",", ""));
4779
- const I = T.match(/\{(\d+)decimals\}/), A = I ? parseInt(I[1], 10) : 2, $ = I ? new RegExp("\\{\\d+decimals\\}", "g") : "{decimals}";
4780
- let pe = parseFloat(m.limitAmount).toFixed(A);
4781
- const [Or, Be] = p.includes(".") ? [",", "."] : [".", ","];
4782
- let [Oe, Cr] = pe.split(".");
4783
- return Oe = Oe.replace(/\B(?=(\d{3})+(?!\d))/g, Or), pe = `${Oe}${Be}${Cr}`, T = T.replace("{currency}", oe[m.limitCurrencyCode] || m.limitCurrencyCode).replace("{amount}", pe.split(Be)[0]).replace(
4784
- $,
4785
- pe.split(Be)[1]
4786
- ), T;
4787
- }, Lr = () => {
4788
- r(5, me = !me), r(8, Ie = !Ie);
4898
+ const C = L.match(/\{(\d+)decimals\}/), A = C ? parseInt(C[1], 10) : 2, U = C ? new RegExp("\\{\\d+decimals\\}", "g") : "{decimals}";
4899
+ let ye = parseFloat(m.limitAmount).toFixed(A);
4900
+ const [Nr, Ne] = p.includes(".") ? [",", "."] : [".", ","];
4901
+ let [Re, Rr] = ye.split(".");
4902
+ return Re = Re.replace(/\B(?=(\d{3})+(?!\d))/g, Nr), ye = `${Re}${Ne}${Rr}`, L = L.replace("{currency}", ae[m.limitCurrencyCode] || m.limitCurrencyCode).replace("{amount}", ye.split(Ne)[0]).replace(
4903
+ U,
4904
+ ye.split(Ne)[1]
4905
+ ), L;
4906
+ }, Pr = () => {
4907
+ r(5, de = !de), r(8, Ce = !Ce);
4789
4908
  };
4790
- let ht = new IntersectionObserver((m) => {
4791
- m.forEach((T) => {
4792
- T.isIntersecting && (H += parseInt(c, 10) || 10, V.length < D.length && r(7, V = D.slice(0, H)));
4909
+ let mt = new IntersectionObserver((m) => {
4910
+ m.forEach((L) => {
4911
+ L.isIntersecting && (M += parseInt(c, 10) || 10, pe.length < V.length && r(7, pe = V.slice(0, M)));
4793
4912
  });
4794
4913
  });
4795
- const Sr = () => {
4796
- ht.observe(_[_.length - 1]);
4797
- }, wr = () => {
4798
- if (!f) return;
4914
+ const Hr = () => {
4915
+ mt.observe(w[w.length - 1]);
4916
+ }, Ir = () => {
4917
+ if (!f)
4918
+ return;
4799
4919
  let m = {};
4800
- f.split(",").forEach((T) => {
4801
- let I = T.split(":");
4802
- m[I[0].trim()] = I[1].trim();
4803
- }), oe = { ...oe, ...m };
4804
- }, Ar = () => {
4805
- let m = document.createElement("style");
4806
- m.innerHTML = y, w.appendChild(m);
4807
- }, Pr = () => {
4808
- let m = new URL(d), T = document.createElement("style");
4809
- fetch(m.href).then((I) => I.text()).then((I) => {
4810
- T.innerHTML = I, w && (setTimeout(
4811
- () => {
4812
- w.appendChild(T);
4813
- },
4814
- 1
4815
- ), setTimeout(
4816
- () => {
4817
- },
4818
- 500
4819
- ));
4820
- });
4821
- }, Hr = () => {
4822
- lo(a);
4920
+ f.split(",").forEach((L) => {
4921
+ let C = L.split(":");
4922
+ m[C[0].trim()] = C[1].trim();
4923
+ }), ae = { ...ae, ...m };
4924
+ }, Br = () => {
4925
+ mo(a);
4823
4926
  };
4824
- Wr(() => () => {
4825
- ht.unobserve(_[_.length - 1]);
4927
+ Zr(() => () => {
4928
+ mt.unobserve(w[w.length - 1]);
4826
4929
  });
4827
- function Ir(m, T) {
4828
- xe[m ? "unshift" : "push"](() => {
4829
- _[T] = m, r(3, _);
4930
+ function Or(m, L) {
4931
+ Se[m ? "unshift" : "push"](() => {
4932
+ w[L] = m, r(3, w);
4830
4933
  });
4831
4934
  }
4832
- function Br(m) {
4833
- xe[m ? "unshift" : "push"](() => {
4834
- w = m, r(2, w);
4935
+ function Cr(m) {
4936
+ Se[m ? "unshift" : "push"](() => {
4937
+ g = m, r(2, g);
4835
4938
  });
4836
4939
  }
4837
4940
  return e.$$set = (m) => {
4838
- "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, l = m.endpoint), "apiversion" in m && r(15, u = 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), "translationurl" in m && r(20, b = m.translationurl);
4941
+ "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, H = m.translationurl);
4839
4942
  }, e.$$.update = () => {
4840
4943
  e.$$.dirty[0] & /*customcurrencysymbols*/
4841
- 65536 && f && wr(), e.$$.dirty[0] & /*endpoint, userid, session, apiversion*/
4842
- 61440 && l && s && h && u && Er(), e.$$.dirty[0] & /*limitContainer, isLoading, hidden*/
4843
- 56 && _[0] && !N && !me && Sr(), e.$$.dirty[0] & /*lang*/
4844
- 1 && a && Hr(), e.$$.dirty[0] & /*clientstylingurl*/
4845
- 524288 && d && Pr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4846
- 262148 && y && w && Ar(), e.$$.dirty[0] & /*translationurl, customStylingContainer*/
4847
- 1048580 && b && w && _r();
4944
+ 65536 && f && Ir(), e.$$.dirty[0] & /*endpoint, userid, session, apiversion*/
4945
+ 61440 && u && s && h && l && Sr(), e.$$.dirty[0] & /*limitContainer, isLoading, hidden*/
4946
+ 56 && w[0] && !D && !de && Hr(), e.$$.dirty[0] & /*lang*/
4947
+ 1 && a && Br(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4948
+ 262148 && y && g && ho(g, y), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4949
+ 524292 && d && g && co(g, d), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4950
+ 1048580 && v && g && fo(g, `${v}.Style`), e.$$.dirty[0] & /*translationurl, customStylingContainer*/
4951
+ 2097156 && H && g && Lr();
4848
4952
  }, [
4849
4953
  a,
4850
4954
  c,
4955
+ g,
4851
4956
  w,
4852
- _,
4957
+ D,
4958
+ de,
4853
4959
  N,
4854
- me,
4855
- M,
4856
- V,
4857
- Ie,
4960
+ pe,
4961
+ Ce,
4858
4962
  i,
4859
4963
  o,
4860
- Lr,
4964
+ Pr,
4861
4965
  s,
4862
4966
  h,
4863
- l,
4864
4967
  u,
4968
+ l,
4865
4969
  f,
4866
4970
  p,
4867
4971
  y,
4868
4972
  d,
4869
- b,
4870
- Ir,
4871
- Br
4973
+ v,
4974
+ H,
4975
+ Or,
4976
+ Cr
4872
4977
  ];
4873
4978
  }
4874
- class vr extends ii {
4979
+ class Tr extends oi {
4875
4980
  constructor(t) {
4876
- super(), ti(
4981
+ super(), ii(
4877
4982
  this,
4878
4983
  t,
4879
- go,
4880
- yo,
4881
- Ut,
4984
+ xo,
4985
+ Eo,
4986
+ jt,
4882
4987
  {
4883
4988
  lang: 0,
4884
4989
  userid: 12,
@@ -4890,9 +4995,10 @@ class vr extends ii {
4890
4995
  limitformat: 17,
4891
4996
  clientstyling: 18,
4892
4997
  clientstylingurl: 19,
4893
- translationurl: 20
4998
+ mbsource: 20,
4999
+ translationurl: 21
4894
5000
  },
4895
- uo,
5001
+ po,
4896
5002
  [-1, -1]
4897
5003
  );
4898
5004
  }
@@ -4900,112 +5006,128 @@ class vr extends ii {
4900
5006
  return this.$$.ctx[0];
4901
5007
  }
4902
5008
  set lang(t) {
4903
- this.$$set({ lang: t }), C();
5009
+ this.$$set({ lang: t }), O();
4904
5010
  }
4905
5011
  get userid() {
4906
5012
  return this.$$.ctx[12];
4907
5013
  }
4908
5014
  set userid(t) {
4909
- this.$$set({ userid: t }), C();
5015
+ this.$$set({ userid: t }), O();
4910
5016
  }
4911
5017
  get session() {
4912
5018
  return this.$$.ctx[13];
4913
5019
  }
4914
5020
  set session(t) {
4915
- this.$$set({ session: t }), C();
5021
+ this.$$set({ session: t }), O();
4916
5022
  }
4917
5023
  get endpoint() {
4918
5024
  return this.$$.ctx[14];
4919
5025
  }
4920
5026
  set endpoint(t) {
4921
- this.$$set({ endpoint: t }), C();
5027
+ this.$$set({ endpoint: t }), O();
4922
5028
  }
4923
5029
  get apiversion() {
4924
5030
  return this.$$.ctx[15];
4925
5031
  }
4926
5032
  set apiversion(t) {
4927
- this.$$set({ apiversion: t }), C();
5033
+ this.$$set({ apiversion: t }), O();
4928
5034
  }
4929
5035
  get numberofentries() {
4930
5036
  return this.$$.ctx[1];
4931
5037
  }
4932
5038
  set numberofentries(t) {
4933
- this.$$set({ numberofentries: t }), C();
5039
+ this.$$set({ numberofentries: t }), O();
4934
5040
  }
4935
5041
  get customcurrencysymbols() {
4936
5042
  return this.$$.ctx[16];
4937
5043
  }
4938
5044
  set customcurrencysymbols(t) {
4939
- this.$$set({ customcurrencysymbols: t }), C();
5045
+ this.$$set({ customcurrencysymbols: t }), O();
4940
5046
  }
4941
5047
  get limitformat() {
4942
5048
  return this.$$.ctx[17];
4943
5049
  }
4944
5050
  set limitformat(t) {
4945
- this.$$set({ limitformat: t }), C();
5051
+ this.$$set({ limitformat: t }), O();
4946
5052
  }
4947
5053
  get clientstyling() {
4948
5054
  return this.$$.ctx[18];
4949
5055
  }
4950
5056
  set clientstyling(t) {
4951
- this.$$set({ clientstyling: t }), C();
5057
+ this.$$set({ clientstyling: t }), O();
4952
5058
  }
4953
5059
  get clientstylingurl() {
4954
5060
  return this.$$.ctx[19];
4955
5061
  }
4956
5062
  set clientstylingurl(t) {
4957
- this.$$set({ clientstylingurl: t }), C();
5063
+ this.$$set({ clientstylingurl: t }), O();
4958
5064
  }
4959
- get translationurl() {
5065
+ get mbsource() {
4960
5066
  return this.$$.ctx[20];
4961
5067
  }
5068
+ set mbsource(t) {
5069
+ this.$$set({ mbsource: t }), O();
5070
+ }
5071
+ get translationurl() {
5072
+ return this.$$.ctx[21];
5073
+ }
4962
5074
  set translationurl(t) {
4963
- this.$$set({ translationurl: t }), C();
5075
+ this.$$set({ translationurl: t }), O();
4964
5076
  }
4965
5077
  }
4966
- ri(vr, { lang: {}, userid: {}, session: {}, endpoint: {}, apiversion: {}, numberofentries: {}, customcurrencysymbols: {}, limitformat: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
4967
- const Ao = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5078
+ ni(Tr, { lang: {}, userid: {}, session: {}, endpoint: {}, apiversion: {}, numberofentries: {}, customcurrencysymbols: {}, limitformat: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
5079
+ const Uo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4968
5080
  __proto__: null,
4969
- default: vr
5081
+ default: Tr
4970
5082
  }, Symbol.toStringTag, { value: "Module" }));
4971
5083
  export {
4972
- ie as $,
4973
- ce as A,
4974
- We as B,
4975
- Lo as C,
4976
- so as D,
4977
- Ce as E,
4978
- To as F,
4979
- fe as G,
4980
- wo as H,
4981
- Wr as I,
4982
- _o as J,
4983
- Ao as P,
4984
- ii as S,
4985
- pr as a,
4986
- Dr as b,
4987
- ri as c,
4988
- ke as d,
5084
+ oe as $,
5085
+ gt as A,
5086
+ Io as B,
5087
+ kr as C,
5088
+ ie as D,
5089
+ Ze as E,
5090
+ Oo as F,
5091
+ uo as G,
5092
+ Me as H,
5093
+ Bo as I,
5094
+ me as J,
5095
+ Mo as K,
5096
+ Ro as L,
5097
+ Kr as M,
5098
+ Do as N,
5099
+ No as O,
5100
+ Po as P,
5101
+ To as Q,
5102
+ So as R,
5103
+ oi as S,
5104
+ wo as T,
5105
+ Lo as U,
5106
+ Uo as V,
5107
+ br as a,
5108
+ Gr as b,
5109
+ ni as c,
5110
+ Xe as d,
4989
5111
  P as e,
4990
- C as f,
5112
+ O as f,
4991
5113
  x as g,
4992
- L as h,
4993
- ti as i,
4994
- W as j,
5114
+ T as h,
5115
+ ii as i,
5116
+ X as j,
4995
5117
  k,
4996
- Mr as l,
4997
- ao as m,
4998
- O as n,
4999
- bo as o,
5000
- So as p,
5001
- xe as q,
5002
- R as r,
5003
- Ut as s,
5004
- Eo as t,
5005
- vo as u,
5006
- Fr as v,
5007
- j as w,
5008
- pt as x,
5009
- xo as y,
5010
- Gr as z
5118
+ $r as l,
5119
+ lo as m,
5120
+ B as n,
5121
+ Zr as o,
5122
+ co as p,
5123
+ fo as q,
5124
+ Co as r,
5125
+ jt as s,
5126
+ Ho as t,
5127
+ Se as u,
5128
+ ho as v,
5129
+ R as w,
5130
+ Ao as x,
5131
+ Vr as y,
5132
+ j as z
5011
5133
  };