@everymatrix/player-account-gaming-limits-wrapper-2-nd 1.70.0 → 1.71.0

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