@everymatrix/player-account-gaming-limits-wrapper-2 1.54.0 → 1.54.2

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