@everymatrix/casino-categories-providers 1.87.25 → 1.87.27

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,51 +1,50 @@
1
- import "../stencil/ui-image-Ch-GHki1.js";
2
- function N() {
1
+ function I() {
3
2
  }
4
- function bt(e) {
3
+ function ht(e) {
5
4
  return e();
6
5
  }
7
- function Qe() {
6
+ function Ve() {
8
7
  return /* @__PURE__ */ Object.create(null);
9
8
  }
10
- function ue(e) {
11
- e.forEach(bt);
9
+ function Q(e) {
10
+ e.forEach(ht);
12
11
  }
13
- function Xe(e) {
12
+ function De(e) {
14
13
  return typeof e == "function";
15
14
  }
16
- function _t(e, t) {
15
+ function lt(e, t) {
17
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
18
17
  }
19
- let fe;
20
- function be(e, t) {
21
- return e === t ? !0 : (fe || (fe = document.createElement("a")), fe.href = t, e === fe.href);
18
+ let se;
19
+ function si(e, t) {
20
+ return e === t ? !0 : (se || (se = document.createElement("a")), se.href = t, e === se.href);
22
21
  }
23
- function Qt(e) {
22
+ function Ut(e) {
24
23
  return Object.keys(e).length === 0;
25
24
  }
26
- function yt(e, ...t) {
25
+ function ct(e, ...t) {
27
26
  if (e == null) {
28
27
  for (const n of t)
29
28
  n(void 0);
30
- return N;
29
+ return I;
31
30
  }
32
31
  const r = e.subscribe(...t);
33
32
  return r.unsubscribe ? () => r.unsubscribe() : r;
34
33
  }
35
- function qt(e, t, r) {
36
- e.$$.on_destroy.push(yt(t, r));
34
+ function Dt(e, t, r) {
35
+ e.$$.on_destroy.push(ct(t, r));
37
36
  }
38
- function x(e, t) {
37
+ function A(e, t) {
39
38
  e.appendChild(t);
40
39
  }
41
- function Jt(e, t, r) {
42
- const n = Yt(e);
40
+ function Gt(e, t, r) {
41
+ const n = Ft(e);
43
42
  if (!n.getElementById(t)) {
44
- const i = B("style");
45
- i.id = t, i.textContent = r, Kt(n, i);
43
+ const i = C("style");
44
+ i.id = t, i.textContent = r, jt(n, i);
46
45
  }
47
46
  }
48
- function Yt(e) {
47
+ function Ft(e) {
49
48
  if (!e)
50
49
  return document;
51
50
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -55,53 +54,53 @@ function Yt(e) {
55
54
  t
56
55
  ) : e.ownerDocument;
57
56
  }
58
- function Kt(e, t) {
59
- return x(
57
+ function jt(e, t) {
58
+ return A(
60
59
  /** @type {Document} */
61
60
  e.head || e,
62
61
  t
63
62
  ), t.sheet;
64
63
  }
65
- function K(e, t, r) {
64
+ function ft(e, t, r) {
66
65
  e.insertBefore(t, r || null);
67
66
  }
68
- function k(e) {
67
+ function Ge(e) {
69
68
  e.parentNode && e.parentNode.removeChild(e);
70
69
  }
71
- function qe(e, t) {
70
+ function oi(e, t) {
72
71
  for (let r = 0; r < e.length; r += 1)
73
72
  e[r] && e[r].d(t);
74
73
  }
75
- function B(e) {
74
+ function C(e) {
76
75
  return document.createElement(e);
77
76
  }
78
- function D(e) {
77
+ function le(e) {
79
78
  return document.createTextNode(e);
80
79
  }
81
- function U() {
82
- return D(" ");
80
+ function ye() {
81
+ return le(" ");
83
82
  }
84
- function di() {
85
- return D("");
83
+ function ai() {
84
+ return le("");
86
85
  }
87
- function Et(e, t, r, n) {
86
+ function Xe(e, t, r, n) {
88
87
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
89
88
  }
90
- function L(e, t, r) {
89
+ function N(e, t, r) {
91
90
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
92
91
  }
93
- function $(e, t, r) {
92
+ function _(e, t, r) {
94
93
  const n = t.toLowerCase();
95
- n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : L(e, t, r);
94
+ n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : N(e, t, r);
96
95
  }
97
- function er(e) {
96
+ function kt(e) {
98
97
  return Array.from(e.childNodes);
99
98
  }
100
- function F(e, t) {
99
+ function ze(e, t) {
101
100
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
102
101
  t);
103
102
  }
104
- function tr(e) {
103
+ function Vt(e) {
105
104
  const t = {};
106
105
  return e.childNodes.forEach(
107
106
  /** @param {Element} node */
@@ -110,98 +109,98 @@ function tr(e) {
110
109
  }
111
110
  ), t;
112
111
  }
113
- let se;
114
- function ie(e) {
115
- se = e;
112
+ let te;
113
+ function ee(e) {
114
+ te = e;
116
115
  }
117
- function rr() {
118
- if (!se)
116
+ function Xt() {
117
+ if (!te)
119
118
  throw new Error("Function called outside component initialization");
120
- return se;
119
+ return te;
121
120
  }
122
- function nr(e) {
123
- rr().$$.on_mount.push(e);
121
+ function zt(e) {
122
+ Xt().$$.on_mount.push(e);
124
123
  }
125
- const W = [], Le = [];
126
- let Z = [];
127
- const Je = [], ir = /* @__PURE__ */ Promise.resolve();
128
- let Ie = !1;
129
- function sr() {
130
- Ie || (Ie = !0, ir.then(I));
124
+ const j = [], Ae = [];
125
+ let V = [];
126
+ const We = [], Wt = /* @__PURE__ */ Promise.resolve();
127
+ let we = !1;
128
+ function Zt() {
129
+ we || (we = !0, Wt.then(P));
131
130
  }
132
- function Me(e) {
133
- Z.push(e);
131
+ function Pe(e) {
132
+ V.push(e);
134
133
  }
135
- const Se = /* @__PURE__ */ new Set();
136
- let X = 0;
137
- function I() {
138
- if (X !== 0)
134
+ const Ee = /* @__PURE__ */ new Set();
135
+ let G = 0;
136
+ function P() {
137
+ if (G !== 0)
139
138
  return;
140
- const e = se;
139
+ const e = te;
141
140
  do {
142
141
  try {
143
- for (; X < W.length; ) {
144
- const t = W[X];
145
- X++, ie(t), or(t.$$);
142
+ for (; G < j.length; ) {
143
+ const t = j[G];
144
+ G++, ee(t), Qt(t.$$);
146
145
  }
147
146
  } catch (t) {
148
- throw W.length = 0, X = 0, t;
147
+ throw j.length = 0, G = 0, t;
149
148
  }
150
- for (ie(null), W.length = 0, X = 0; Le.length; )
151
- Le.pop()();
152
- for (let t = 0; t < Z.length; t += 1) {
153
- const r = Z[t];
154
- Se.has(r) || (Se.add(r), r());
149
+ for (ee(null), j.length = 0, G = 0; Ae.length; )
150
+ Ae.pop()();
151
+ for (let t = 0; t < V.length; t += 1) {
152
+ const r = V[t];
153
+ Ee.has(r) || (Ee.add(r), r());
155
154
  }
156
- Z.length = 0;
157
- } while (W.length);
158
- for (; Je.length; )
159
- Je.pop()();
160
- Ie = !1, Se.clear(), ie(e);
155
+ V.length = 0;
156
+ } while (j.length);
157
+ for (; We.length; )
158
+ We.pop()();
159
+ we = !1, Ee.clear(), ee(e);
161
160
  }
162
- function or(e) {
161
+ function Qt(e) {
163
162
  if (e.fragment !== null) {
164
- e.update(), ue(e.before_update);
163
+ e.update(), Q(e.before_update);
165
164
  const t = e.dirty;
166
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Me);
165
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Pe);
167
166
  }
168
167
  }
169
- function ar(e) {
168
+ function qt(e) {
170
169
  const t = [], r = [];
171
- Z.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Z = t;
170
+ V.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), V = t;
172
171
  }
173
- const ur = /* @__PURE__ */ new Set();
174
- function hr(e, t) {
175
- e && e.i && (ur.delete(e), e.i(t));
172
+ const Jt = /* @__PURE__ */ new Set();
173
+ function Yt(e, t) {
174
+ e && e.i && (Jt.delete(e), e.i(t));
176
175
  }
177
- function ce(e) {
176
+ function ui(e) {
178
177
  return e?.length !== void 0 ? e : Array.from(e);
179
178
  }
180
- function lr(e, t, r) {
179
+ function Kt(e, t, r) {
181
180
  const { fragment: n, after_update: i } = e.$$;
182
- n && n.m(t, r), Me(() => {
183
- const s = e.$$.on_mount.map(bt).filter(Xe);
184
- e.$$.on_destroy ? e.$$.on_destroy.push(...s) : ue(s), e.$$.on_mount = [];
185
- }), i.forEach(Me);
181
+ n && n.m(t, r), Pe(() => {
182
+ const s = e.$$.on_mount.map(ht).filter(De);
183
+ e.$$.on_destroy ? e.$$.on_destroy.push(...s) : Q(s), e.$$.on_mount = [];
184
+ }), i.forEach(Pe);
186
185
  }
187
- function fr(e, t) {
186
+ function er(e, t) {
188
187
  const r = e.$$;
189
- r.fragment !== null && (ar(r.after_update), ue(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
188
+ r.fragment !== null && (qt(r.after_update), Q(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
190
189
  }
191
- function cr(e, t) {
192
- e.$$.dirty[0] === -1 && (W.push(e), sr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
190
+ function tr(e, t) {
191
+ e.$$.dirty[0] === -1 && (j.push(e), Zt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
193
192
  }
194
- function gr(e, t, r, n, i, s, o = null, u = [-1]) {
195
- const l = se;
196
- ie(e);
193
+ function rr(e, t, r, n, i, s, u = null, o = [-1]) {
194
+ const l = te;
195
+ ee(e);
197
196
  const a = e.$$ = {
198
197
  fragment: null,
199
198
  ctx: [],
200
199
  // state
201
200
  props: s,
202
- update: N,
201
+ update: I,
203
202
  not_equal: i,
204
- bound: Qe(),
203
+ bound: Ve(),
205
204
  // lifecycle
206
205
  on_mount: [],
207
206
  on_destroy: [],
@@ -210,28 +209,28 @@ function gr(e, t, r, n, i, s, o = null, u = [-1]) {
210
209
  after_update: [],
211
210
  context: new Map(t.context || (l ? l.$$.context : [])),
212
211
  // everything else
213
- callbacks: Qe(),
214
- dirty: u,
212
+ callbacks: Ve(),
213
+ dirty: o,
215
214
  skip_bound: !1,
216
215
  root: t.target || l.$$.root
217
216
  };
218
- o && o(a.root);
217
+ u && u(a.root);
219
218
  let h = !1;
220
- if (a.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
221
- const d = p.length ? p[0] : f;
222
- return a.ctx && i(a.ctx[c], a.ctx[c] = d) && (!a.skip_bound && a.bound[c] && a.bound[c](d), h && cr(e, c)), f;
223
- }) : [], a.update(), h = !0, ue(a.before_update), a.fragment = n ? n(a.ctx) : !1, t.target) {
219
+ if (a.ctx = r ? r(e, t.props || {}, (c, f, ...v) => {
220
+ const b = v.length ? v[0] : f;
221
+ return a.ctx && i(a.ctx[c], a.ctx[c] = b) && (!a.skip_bound && a.bound[c] && a.bound[c](b), h && tr(e, c)), f;
222
+ }) : [], a.update(), h = !0, Q(a.before_update), a.fragment = n ? n(a.ctx) : !1, t.target) {
224
223
  if (t.hydrate) {
225
- const c = er(t.target);
226
- a.fragment && a.fragment.l(c), c.forEach(k);
224
+ const c = kt(t.target);
225
+ a.fragment && a.fragment.l(c), c.forEach(Ge);
227
226
  } else
228
227
  a.fragment && a.fragment.c();
229
- t.intro && hr(e.$$.fragment), lr(e, t.target, t.anchor), I();
228
+ t.intro && Yt(e.$$.fragment), Kt(e, t.target, t.anchor), P();
230
229
  }
231
- ie(l);
230
+ ee(l);
232
231
  }
233
- let xt;
234
- typeof HTMLElement == "function" && (xt = class extends HTMLElement {
232
+ let mt;
233
+ typeof HTMLElement == "function" && (mt = class extends HTMLElement {
235
234
  /** The Svelte component constructor */
236
235
  $$ctor;
237
236
  /** Slots */
@@ -273,29 +272,29 @@ typeof HTMLElement == "function" && (xt = class extends HTMLElement {
273
272
  let s;
274
273
  return {
275
274
  c: function() {
276
- s = B("slot"), i !== "default" && L(s, "name", i);
275
+ s = C("slot"), i !== "default" && N(s, "name", i);
277
276
  },
278
277
  /**
279
278
  * @param {HTMLElement} target
280
279
  * @param {HTMLElement} [anchor]
281
280
  */
282
281
  m: function(l, a) {
283
- K(l, s, a);
282
+ ft(l, s, a);
284
283
  },
285
284
  d: function(l) {
286
- l && k(s);
285
+ l && Ge(s);
287
286
  }
288
287
  };
289
288
  };
290
289
  };
291
290
  if (await Promise.resolve(), !this.$$cn || this.$$c)
292
291
  return;
293
- const t = {}, r = tr(this);
292
+ const t = {}, r = Vt(this);
294
293
  for (const i of this.$$s)
295
294
  i in r && (t[i] = [e(i)]);
296
295
  for (const i of this.attributes) {
297
296
  const s = this.$$g_p(i.name);
298
- s in this.$$d || (this.$$d[s] = me(s, i.value, this.$$p_d, "toProp"));
297
+ s in this.$$d || (this.$$d[s] = ae(s, i.value, this.$$p_d, "toProp"));
299
298
  }
300
299
  for (const i in this.$$p_d)
301
300
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -313,7 +312,7 @@ typeof HTMLElement == "function" && (xt = class extends HTMLElement {
313
312
  this.$$r = !0;
314
313
  for (const i in this.$$p_d)
315
314
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
316
- const s = me(
315
+ const s = ae(
317
316
  i,
318
317
  this.$$d[i],
319
318
  this.$$p_d,
@@ -326,8 +325,8 @@ typeof HTMLElement == "function" && (xt = class extends HTMLElement {
326
325
  this.$$c.$$.after_update.push(n), n();
327
326
  for (const i in this.$$l)
328
327
  for (const s of this.$$l[i]) {
329
- const o = this.$$c.$on(i, s);
330
- this.$$l_u.set(s, o);
328
+ const u = this.$$c.$on(i, s);
329
+ this.$$l_u.set(s, u);
331
330
  }
332
331
  this.$$l = {};
333
332
  }
@@ -335,7 +334,7 @@ typeof HTMLElement == "function" && (xt = class extends HTMLElement {
335
334
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
336
335
  // and setting attributes through setAttribute etc, this is helpful
337
336
  attributeChangedCallback(e, t, r) {
338
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = me(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
337
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = ae(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
339
338
  }
340
339
  disconnectedCallback() {
341
340
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -348,7 +347,7 @@ typeof HTMLElement == "function" && (xt = class extends HTMLElement {
348
347
  ) || e;
349
348
  }
350
349
  });
351
- function me(e, t, r, n) {
350
+ function ae(e, t, r, n) {
352
351
  const i = r[e]?.type;
353
352
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
354
353
  return t;
@@ -377,36 +376,36 @@ function me(e, t, r, n) {
377
376
  return t;
378
377
  }
379
378
  }
380
- function mr(e, t, r, n, i, s) {
381
- let o = class extends xt {
379
+ function nr(e, t, r, n, i, s) {
380
+ let u = class extends mt {
382
381
  constructor() {
383
382
  super(e, r, i), this.$$p_d = t;
384
383
  }
385
384
  static get observedAttributes() {
386
385
  return Object.keys(t).map(
387
- (u) => (t[u].attribute || u).toLowerCase()
386
+ (o) => (t[o].attribute || o).toLowerCase()
388
387
  );
389
388
  }
390
389
  };
391
- return Object.keys(t).forEach((u) => {
392
- Object.defineProperty(o.prototype, u, {
390
+ return Object.keys(t).forEach((o) => {
391
+ Object.defineProperty(u.prototype, o, {
393
392
  get() {
394
- return this.$$c && u in this.$$c ? this.$$c[u] : this.$$d[u];
393
+ return this.$$c && o in this.$$c ? this.$$c[o] : this.$$d[o];
395
394
  },
396
395
  set(l) {
397
- l = me(u, l, t), this.$$d[u] = l, this.$$c?.$set({ [u]: l });
396
+ l = ae(o, l, t), this.$$d[o] = l, this.$$c?.$set({ [o]: l });
398
397
  }
399
398
  });
400
- }), n.forEach((u) => {
401
- Object.defineProperty(o.prototype, u, {
399
+ }), n.forEach((o) => {
400
+ Object.defineProperty(u.prototype, o, {
402
401
  get() {
403
- return this.$$c?.[u];
402
+ return this.$$c?.[o];
404
403
  }
405
404
  });
406
405
  }), e.element = /** @type {any} */
407
- o, o;
406
+ u, u;
408
407
  }
409
- class pr {
408
+ class ir {
410
409
  /**
411
410
  * ### PRIVATE API
412
411
  *
@@ -425,7 +424,7 @@ class pr {
425
424
  $$set = void 0;
426
425
  /** @returns {void} */
427
426
  $destroy() {
428
- fr(this, 1), this.$destroy = N;
427
+ er(this, 1), this.$destroy = I;
429
428
  }
430
429
  /**
431
430
  * @template {Extract<keyof Events, string>} K
@@ -434,8 +433,8 @@ class pr {
434
433
  * @returns {() => void}
435
434
  */
436
435
  $on(t, r) {
437
- if (!Xe(r))
438
- return N;
436
+ if (!De(r))
437
+ return I;
439
438
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
440
439
  return n.push(r), () => {
441
440
  const i = n.indexOf(r);
@@ -447,176 +446,176 @@ class pr {
447
446
  * @returns {void}
448
447
  */
449
448
  $set(t) {
450
- this.$$set && !Qt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
449
+ this.$$set && !Ut(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
451
450
  }
452
451
  }
453
- const dr = "4";
454
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(dr);
455
- const z = [];
456
- function br(e, t) {
452
+ const sr = "4";
453
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(sr);
454
+ const F = [];
455
+ function or(e, t) {
457
456
  return {
458
- subscribe: xe(e, t).subscribe
457
+ subscribe: de(e, t).subscribe
459
458
  };
460
459
  }
461
- function xe(e, t = N) {
460
+ function de(e, t = I) {
462
461
  let r;
463
462
  const n = /* @__PURE__ */ new Set();
464
- function i(u) {
465
- if (_t(e, u) && (e = u, r)) {
466
- const l = !z.length;
463
+ function i(o) {
464
+ if (lt(e, o) && (e = o, r)) {
465
+ const l = !F.length;
467
466
  for (const a of n)
468
- a[1](), z.push(a, e);
467
+ a[1](), F.push(a, e);
469
468
  if (l) {
470
- for (let a = 0; a < z.length; a += 2)
471
- z[a][0](z[a + 1]);
472
- z.length = 0;
469
+ for (let a = 0; a < F.length; a += 2)
470
+ F[a][0](F[a + 1]);
471
+ F.length = 0;
473
472
  }
474
473
  }
475
474
  }
476
- function s(u) {
477
- i(u(e));
475
+ function s(o) {
476
+ i(o(e));
478
477
  }
479
- function o(u, l = N) {
480
- const a = [u, l];
481
- return n.add(a), n.size === 1 && (r = t(i, s) || N), u(e), () => {
478
+ function u(o, l = I) {
479
+ const a = [o, l];
480
+ return n.add(a), n.size === 1 && (r = t(i, s) || I), o(e), () => {
482
481
  n.delete(a), n.size === 0 && r && (r(), r = null);
483
482
  };
484
483
  }
485
- return { set: i, update: s, subscribe: o };
484
+ return { set: i, update: s, subscribe: u };
486
485
  }
487
- function ee(e, t, r) {
486
+ function q(e, t, r) {
488
487
  const n = !Array.isArray(e), i = n ? [e] : e;
489
488
  if (!i.every(Boolean))
490
489
  throw new Error("derived() expects stores as input, got a falsy value");
491
490
  const s = t.length < 2;
492
- return br(r, (o, u) => {
491
+ return or(r, (u, o) => {
493
492
  let l = !1;
494
493
  const a = [];
495
- let h = 0, c = N;
494
+ let h = 0, c = I;
496
495
  const f = () => {
497
496
  if (h)
498
497
  return;
499
498
  c();
500
- const d = t(n ? a[0] : a, o, u);
501
- s ? o(d) : c = Xe(d) ? d : N;
502
- }, p = i.map(
503
- (d, g) => yt(
504
- d,
505
- (E) => {
506
- a[g] = E, h &= ~(1 << g), l && f();
499
+ const b = t(n ? a[0] : a, u, o);
500
+ s ? u(b) : c = De(b) ? b : I;
501
+ }, v = i.map(
502
+ (b, d) => ct(
503
+ b,
504
+ (x) => {
505
+ a[d] = x, h &= ~(1 << d), l && f();
507
506
  },
508
507
  () => {
509
- h |= 1 << g;
508
+ h |= 1 << d;
510
509
  }
511
510
  )
512
511
  );
513
512
  return l = !0, f(), function() {
514
- ue(p), c(), l = !1;
513
+ Q(v), c(), l = !1;
515
514
  };
516
515
  });
517
516
  }
518
- function _r(e) {
517
+ function ar(e) {
519
518
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
520
519
  }
521
- var yr = function(t) {
522
- return Er(t) && !xr(t);
520
+ var ur = function(t) {
521
+ return hr(t) && !lr(t);
523
522
  };
524
- function Er(e) {
523
+ function hr(e) {
525
524
  return !!e && typeof e == "object";
526
525
  }
527
- function xr(e) {
526
+ function lr(e) {
528
527
  var t = Object.prototype.toString.call(e);
529
- return t === "[object RegExp]" || t === "[object Date]" || Cr(e);
528
+ return t === "[object RegExp]" || t === "[object Date]" || mr(e);
530
529
  }
531
- var vr = typeof Symbol == "function" && Symbol.for, Tr = vr ? Symbol.for("react.element") : 60103;
532
- function Cr(e) {
533
- return e.$$typeof === Tr;
530
+ var cr = typeof Symbol == "function" && Symbol.for, fr = cr ? Symbol.for("react.element") : 60103;
531
+ function mr(e) {
532
+ return e.$$typeof === fr;
534
533
  }
535
- function Hr(e) {
534
+ function dr(e) {
536
535
  return Array.isArray(e) ? [] : {};
537
536
  }
538
- function oe(e, t) {
539
- return t.clone !== !1 && t.isMergeableObject(e) ? Q(Hr(e), e, t) : e;
537
+ function re(e, t) {
538
+ return t.clone !== !1 && t.isMergeableObject(e) ? X(dr(e), e, t) : e;
540
539
  }
541
- function Sr(e, t, r) {
540
+ function pr(e, t, r) {
542
541
  return e.concat(t).map(function(n) {
543
- return oe(n, r);
542
+ return re(n, r);
544
543
  });
545
544
  }
546
- function Ar(e, t) {
545
+ function gr(e, t) {
547
546
  if (!t.customMerge)
548
- return Q;
547
+ return X;
549
548
  var r = t.customMerge(e);
550
- return typeof r == "function" ? r : Q;
549
+ return typeof r == "function" ? r : X;
551
550
  }
552
- function Br(e) {
551
+ function br(e) {
553
552
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
554
553
  return Object.propertyIsEnumerable.call(e, t);
555
554
  }) : [];
556
555
  }
557
- function Ye(e) {
558
- return Object.keys(e).concat(Br(e));
556
+ function Ze(e) {
557
+ return Object.keys(e).concat(br(e));
559
558
  }
560
- function vt(e, t) {
559
+ function dt(e, t) {
561
560
  try {
562
561
  return t in e;
563
562
  } catch {
564
563
  return !1;
565
564
  }
566
565
  }
567
- function Or(e, t) {
568
- return vt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
566
+ function vr(e, t) {
567
+ return dt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
569
568
  }
570
- function wr(e, t, r) {
569
+ function yr(e, t, r) {
571
570
  var n = {};
572
- return r.isMergeableObject(e) && Ye(e).forEach(function(i) {
573
- n[i] = oe(e[i], r);
574
- }), Ye(t).forEach(function(i) {
575
- Or(e, i) || (vt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Ar(i, r)(e[i], t[i], r) : n[i] = oe(t[i], r));
571
+ return r.isMergeableObject(e) && Ze(e).forEach(function(i) {
572
+ n[i] = re(e[i], r);
573
+ }), Ze(t).forEach(function(i) {
574
+ vr(e, i) || (dt(e, i) && r.isMergeableObject(t[i]) ? n[i] = gr(i, r)(e[i], t[i], r) : n[i] = re(t[i], r));
576
575
  }), n;
577
576
  }
578
- function Q(e, t, r) {
579
- r = r || {}, r.arrayMerge = r.arrayMerge || Sr, r.isMergeableObject = r.isMergeableObject || yr, r.cloneUnlessOtherwiseSpecified = oe;
577
+ function X(e, t, r) {
578
+ r = r || {}, r.arrayMerge = r.arrayMerge || pr, r.isMergeableObject = r.isMergeableObject || ur, r.cloneUnlessOtherwiseSpecified = re;
580
579
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
581
- return s ? n ? r.arrayMerge(e, t, r) : wr(e, t, r) : oe(t, r);
580
+ return s ? n ? r.arrayMerge(e, t, r) : yr(e, t, r) : re(t, r);
582
581
  }
583
- Q.all = function(t, r) {
582
+ X.all = function(t, r) {
584
583
  if (!Array.isArray(t))
585
584
  throw new Error("first argument should be an array");
586
585
  return t.reduce(function(n, i) {
587
- return Q(n, i, r);
586
+ return X(n, i, r);
588
587
  }, {});
589
588
  };
590
- var Pr = Q, Nr = Pr;
591
- const Lr = /* @__PURE__ */ _r(Nr);
592
- var $e = function(e, t) {
593
- return $e = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
589
+ var Er = X, _r = Er;
590
+ const xr = /* @__PURE__ */ ar(_r);
591
+ var Oe = function(e, t) {
592
+ return Oe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
594
593
  r.__proto__ = n;
595
594
  } || function(r, n) {
596
595
  for (var i in n)
597
596
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
598
- }, $e(e, t);
597
+ }, Oe(e, t);
599
598
  };
600
- function ve(e, t) {
599
+ function pe(e, t) {
601
600
  if (typeof t != "function" && t !== null)
602
601
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
603
- $e(e, t);
602
+ Oe(e, t);
604
603
  function r() {
605
604
  this.constructor = e;
606
605
  }
607
606
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
608
607
  }
609
- var R = function() {
610
- return R = Object.assign || function(t) {
608
+ var M = function() {
609
+ return M = Object.assign || function(t) {
611
610
  for (var r, n = 1, i = arguments.length; n < i; n++) {
612
611
  r = arguments[n];
613
612
  for (var s in r)
614
613
  Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
615
614
  }
616
615
  return t;
617
- }, R.apply(this, arguments);
616
+ }, M.apply(this, arguments);
618
617
  };
619
- function Ir(e, t) {
618
+ function Hr(e, t) {
620
619
  var r = {};
621
620
  for (var n in e)
622
621
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -625,43 +624,43 @@ function Ir(e, t) {
625
624
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
626
625
  return r;
627
626
  }
628
- function Ae(e, t, r) {
627
+ function _e(e, t, r) {
629
628
  if (r || arguments.length === 2)
630
629
  for (var n = 0, i = t.length, s; n < i; n++)
631
630
  (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
632
631
  return e.concat(s || Array.prototype.slice.call(t));
633
632
  }
634
- function Be(e, t) {
635
- var r = t && t.cache ? t.cache : Fr, n = t && t.serializer ? t.serializer : Dr, i = t && t.strategy ? t.strategy : Rr;
633
+ function xe(e, t) {
634
+ var r = t && t.cache ? t.cache : Or, n = t && t.serializer ? t.serializer : wr, i = t && t.strategy ? t.strategy : Br;
636
635
  return i(e, {
637
636
  cache: r,
638
637
  serializer: n
639
638
  });
640
639
  }
641
- function Mr(e) {
640
+ function Sr(e) {
642
641
  return e == null || typeof e == "number" || typeof e == "boolean";
643
642
  }
644
- function $r(e, t, r, n) {
645
- var i = Mr(n) ? n : r(n), s = t.get(i);
643
+ function Tr(e, t, r, n) {
644
+ var i = Sr(n) ? n : r(n), s = t.get(i);
646
645
  return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
647
646
  }
648
- function Tt(e, t, r) {
647
+ function pt(e, t, r) {
649
648
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
650
649
  return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
651
650
  }
652
- function Ct(e, t, r, n, i) {
651
+ function gt(e, t, r, n, i) {
653
652
  return r.bind(t, e, n, i);
654
653
  }
655
- function Rr(e, t) {
656
- var r = e.length === 1 ? $r : Tt;
657
- return Ct(e, this, r, t.cache.create(), t.serializer);
654
+ function Br(e, t) {
655
+ var r = e.length === 1 ? Tr : pt;
656
+ return gt(e, this, r, t.cache.create(), t.serializer);
658
657
  }
659
- function Ur(e, t) {
660
- return Ct(e, this, Tt, t.cache.create(), t.serializer);
658
+ function Ar(e, t) {
659
+ return gt(e, this, pt, t.cache.create(), t.serializer);
661
660
  }
662
- var Dr = function() {
661
+ var wr = function() {
663
662
  return JSON.stringify(arguments);
664
- }, Gr = (
663
+ }, Pr = (
665
664
  /** @class */
666
665
  function() {
667
666
  function e() {
@@ -673,71 +672,71 @@ var Dr = function() {
673
672
  this.cache[t] = r;
674
673
  }, e;
675
674
  }()
676
- ), Fr = {
675
+ ), Or = {
677
676
  create: function() {
678
- return new Gr();
677
+ return new Pr();
679
678
  }
680
- }, Oe = {
681
- variadic: Ur
682
- }, _e = function() {
683
- return _e = Object.assign || function(t) {
679
+ }, He = {
680
+ variadic: Ar
681
+ }, ce = function() {
682
+ return ce = Object.assign || function(t) {
684
683
  for (var r, n = 1, i = arguments.length; n < i; n++) {
685
684
  r = arguments[n];
686
685
  for (var s in r)
687
686
  Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
688
687
  }
689
688
  return t;
690
- }, _e.apply(this, arguments);
689
+ }, ce.apply(this, arguments);
691
690
  };
692
- var _;
691
+ var p;
693
692
  (function(e) {
694
693
  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";
695
- })(_ || (_ = {}));
696
- var v;
694
+ })(p || (p = {}));
695
+ var H;
697
696
  (function(e) {
698
697
  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";
699
- })(v || (v = {}));
700
- var q;
698
+ })(H || (H = {}));
699
+ var z;
701
700
  (function(e) {
702
701
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
703
- })(q || (q = {}));
704
- function Ke(e) {
705
- return e.type === v.literal;
702
+ })(z || (z = {}));
703
+ function Qe(e) {
704
+ return e.type === H.literal;
706
705
  }
707
- function jr(e) {
708
- return e.type === v.argument;
706
+ function Nr(e) {
707
+ return e.type === H.argument;
709
708
  }
710
- function Ht(e) {
711
- return e.type === v.number;
709
+ function bt(e) {
710
+ return e.type === H.number;
712
711
  }
713
- function St(e) {
714
- return e.type === v.date;
712
+ function vt(e) {
713
+ return e.type === H.date;
715
714
  }
716
- function At(e) {
717
- return e.type === v.time;
715
+ function yt(e) {
716
+ return e.type === H.time;
718
717
  }
719
- function Bt(e) {
720
- return e.type === v.select;
718
+ function Et(e) {
719
+ return e.type === H.select;
721
720
  }
722
- function Ot(e) {
723
- return e.type === v.plural;
721
+ function _t(e) {
722
+ return e.type === H.plural;
724
723
  }
725
- function kr(e) {
726
- return e.type === v.pound;
724
+ function Cr(e) {
725
+ return e.type === H.pound;
727
726
  }
728
- function wt(e) {
729
- return e.type === v.tag;
727
+ function xt(e) {
728
+ return e.type === H.tag;
730
729
  }
731
- function Pt(e) {
732
- return !!(e && typeof e == "object" && e.type === q.number);
730
+ function Ht(e) {
731
+ return !!(e && typeof e == "object" && e.type === z.number);
733
732
  }
734
- function Re(e) {
735
- return !!(e && typeof e == "object" && e.type === q.dateTime);
733
+ function Ne(e) {
734
+ return !!(e && typeof e == "object" && e.type === z.dateTime);
736
735
  }
737
- var Nt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Vr = /(?:[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;
738
- function Xr(e) {
736
+ var St = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Ir = /(?:[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;
737
+ function Lr(e) {
739
738
  var t = {};
740
- return e.replace(Vr, function(r) {
739
+ return e.replace(Ir, function(r) {
741
740
  var n = r.length;
742
741
  switch (r[0]) {
743
742
  case "G":
@@ -826,46 +825,46 @@ function Xr(e) {
826
825
  return "";
827
826
  }), t;
828
827
  }
829
- var C = function() {
830
- return C = Object.assign || function(t) {
828
+ var S = function() {
829
+ return S = Object.assign || function(t) {
831
830
  for (var r, n = 1, i = arguments.length; n < i; n++) {
832
831
  r = arguments[n];
833
832
  for (var s in r)
834
833
  Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
835
834
  }
836
835
  return t;
837
- }, C.apply(this, arguments);
836
+ }, S.apply(this, arguments);
838
837
  };
839
- var zr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
840
- function Wr(e) {
838
+ var Mr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
839
+ function Rr(e) {
841
840
  if (e.length === 0)
842
841
  throw new Error("Number skeleton cannot be empty");
843
- for (var t = e.split(zr).filter(function(f) {
842
+ for (var t = e.split(Mr).filter(function(f) {
844
843
  return f.length > 0;
845
844
  }), r = [], n = 0, i = t; n < i.length; n++) {
846
- var s = i[n], o = s.split("/");
847
- if (o.length === 0)
845
+ var s = i[n], u = s.split("/");
846
+ if (u.length === 0)
848
847
  throw new Error("Invalid number skeleton");
849
- for (var u = o[0], l = o.slice(1), a = 0, h = l; a < h.length; a++) {
848
+ for (var o = u[0], l = u.slice(1), a = 0, h = l; a < h.length; a++) {
850
849
  var c = h[a];
851
850
  if (c.length === 0)
852
851
  throw new Error("Invalid number skeleton");
853
852
  }
854
- r.push({ stem: u, options: l });
853
+ r.push({ stem: o, options: l });
855
854
  }
856
855
  return r;
857
856
  }
858
- function Zr(e) {
857
+ function $r(e) {
859
858
  return e.replace(/^(.*?)-/, "");
860
859
  }
861
- var et = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Lt = /^(@+)?(\+|#+)?[rs]?$/g, Qr = /(\*)(0+)|(#+)(0+)|(0+)/g, It = /^(0+)$/;
862
- function tt(e) {
860
+ var qe = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Tt = /^(@+)?(\+|#+)?[rs]?$/g, Ur = /(\*)(0+)|(#+)(0+)|(0+)/g, Bt = /^(0+)$/;
861
+ function Je(e) {
863
862
  var t = {};
864
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Lt, function(r, n, i) {
863
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Tt, function(r, n, i) {
865
864
  return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
866
865
  }), t;
867
866
  }
868
- function Mt(e) {
867
+ function At(e) {
869
868
  switch (e) {
870
869
  case "sign-auto":
871
870
  return {
@@ -905,7 +904,7 @@ function Mt(e) {
905
904
  };
906
905
  }
907
906
  }
908
- function qr(e) {
907
+ function Dr(e) {
909
908
  var t;
910
909
  if (e[0] === "E" && e[1] === "E" ? (t = {
911
910
  notation: "engineering"
@@ -913,17 +912,17 @@ function qr(e) {
913
912
  notation: "scientific"
914
913
  }, e = e.slice(1)), t) {
915
914
  var r = e.slice(0, 2);
916
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !It.test(e))
915
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Bt.test(e))
917
916
  throw new Error("Malformed concise eng/scientific notation");
918
917
  t.minimumIntegerDigits = e.length;
919
918
  }
920
919
  return t;
921
920
  }
922
- function rt(e) {
923
- var t = {}, r = Mt(e);
921
+ function Ye(e) {
922
+ var t = {}, r = At(e);
924
923
  return r || t;
925
924
  }
926
- function Jr(e) {
925
+ function Gr(e) {
927
926
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
928
927
  var i = n[r];
929
928
  switch (i.stem) {
@@ -947,7 +946,7 @@ function Jr(e) {
947
946
  continue;
948
947
  case "measure-unit":
949
948
  case "unit":
950
- t.style = "unit", t.unit = Zr(i.options[0]);
949
+ t.style = "unit", t.unit = $r(i.options[0]);
951
950
  continue;
952
951
  case "compact-short":
953
952
  case "K":
@@ -958,13 +957,13 @@ function Jr(e) {
958
957
  t.notation = "compact", t.compactDisplay = "long";
959
958
  continue;
960
959
  case "scientific":
961
- t = C(C(C({}, t), { notation: "scientific" }), i.options.reduce(function(l, a) {
962
- return C(C({}, l), rt(a));
960
+ t = S(S(S({}, t), { notation: "scientific" }), i.options.reduce(function(l, a) {
961
+ return S(S({}, l), Ye(a));
963
962
  }, {}));
964
963
  continue;
965
964
  case "engineering":
966
- t = C(C(C({}, t), { notation: "engineering" }), i.options.reduce(function(l, a) {
967
- return C(C({}, l), rt(a));
965
+ t = S(S(S({}, t), { notation: "engineering" }), i.options.reduce(function(l, a) {
966
+ return S(S({}, l), Ye(a));
968
967
  }, {}));
969
968
  continue;
970
969
  case "notation-simple":
@@ -1009,45 +1008,45 @@ function Jr(e) {
1009
1008
  case "integer-width":
1010
1009
  if (i.options.length > 1)
1011
1010
  throw new RangeError("integer-width stems only accept a single optional option");
1012
- i.options[0].replace(Qr, function(l, a, h, c, f, p) {
1011
+ i.options[0].replace(Ur, function(l, a, h, c, f, v) {
1013
1012
  if (a)
1014
1013
  t.minimumIntegerDigits = h.length;
1015
1014
  else {
1016
1015
  if (c && f)
1017
1016
  throw new Error("We currently do not support maximum integer digits");
1018
- if (p)
1017
+ if (v)
1019
1018
  throw new Error("We currently do not support exact integer digits");
1020
1019
  }
1021
1020
  return "";
1022
1021
  });
1023
1022
  continue;
1024
1023
  }
1025
- if (It.test(i.stem)) {
1024
+ if (Bt.test(i.stem)) {
1026
1025
  t.minimumIntegerDigits = i.stem.length;
1027
1026
  continue;
1028
1027
  }
1029
- if (et.test(i.stem)) {
1028
+ if (qe.test(i.stem)) {
1030
1029
  if (i.options.length > 1)
1031
1030
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1032
- i.stem.replace(et, function(l, a, h, c, f, p) {
1033
- return h === "*" ? t.minimumFractionDigits = a.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = a.length, t.maximumFractionDigits = a.length), "";
1031
+ i.stem.replace(qe, function(l, a, h, c, f, v) {
1032
+ return h === "*" ? t.minimumFractionDigits = a.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && v ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + v.length) : (t.minimumFractionDigits = a.length, t.maximumFractionDigits = a.length), "";
1034
1033
  });
1035
1034
  var s = i.options[0];
1036
- s === "w" ? t = C(C({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = C(C({}, t), tt(s)));
1035
+ s === "w" ? t = S(S({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = S(S({}, t), Je(s)));
1037
1036
  continue;
1038
1037
  }
1039
- if (Lt.test(i.stem)) {
1040
- t = C(C({}, t), tt(i.stem));
1038
+ if (Tt.test(i.stem)) {
1039
+ t = S(S({}, t), Je(i.stem));
1041
1040
  continue;
1042
1041
  }
1043
- var o = Mt(i.stem);
1044
- o && (t = C(C({}, t), o));
1045
- var u = qr(i.stem);
1046
- u && (t = C(C({}, t), u));
1042
+ var u = At(i.stem);
1043
+ u && (t = S(S({}, t), u));
1044
+ var o = Dr(i.stem);
1045
+ o && (t = S(S({}, t), o));
1047
1046
  }
1048
1047
  return t;
1049
1048
  }
1050
- var ge = {
1049
+ var oe = {
1051
1050
  "001": [
1052
1051
  "H",
1053
1052
  "h"
@@ -2462,23 +2461,23 @@ var ge = {
2462
2461
  "h"
2463
2462
  ]
2464
2463
  };
2465
- function Yr(e, t) {
2464
+ function Fr(e, t) {
2466
2465
  for (var r = "", n = 0; n < e.length; n++) {
2467
2466
  var i = e.charAt(n);
2468
2467
  if (i === "j") {
2469
2468
  for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2470
2469
  s++, n++;
2471
- var o = 1 + (s & 1), u = s < 2 ? 1 : 3 + (s >> 1), l = "a", a = Kr(t);
2472
- for ((a == "H" || a == "k") && (u = 0); u-- > 0; )
2470
+ var u = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", a = jr(t);
2471
+ for ((a == "H" || a == "k") && (o = 0); o-- > 0; )
2473
2472
  r += l;
2474
- for (; o-- > 0; )
2473
+ for (; u-- > 0; )
2475
2474
  r = a + r;
2476
2475
  } else
2477
2476
  i === "J" ? r += "H" : r += i;
2478
2477
  }
2479
2478
  return r;
2480
2479
  }
2481
- function Kr(e) {
2480
+ function jr(e) {
2482
2481
  var t = e.hourCycle;
2483
2482
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2484
2483
  e.hourCycles && // @ts-ignore
@@ -2497,23 +2496,23 @@ function Kr(e) {
2497
2496
  }
2498
2497
  var r = e.language, n;
2499
2498
  r !== "root" && (n = e.maximize().region);
2500
- var i = ge[n || ""] || ge[r || ""] || ge["".concat(r, "-001")] || ge["001"];
2499
+ var i = oe[n || ""] || oe[r || ""] || oe["".concat(r, "-001")] || oe["001"];
2501
2500
  return i[0];
2502
2501
  }
2503
- var we, en = new RegExp("^".concat(Nt.source, "*")), tn = new RegExp("".concat(Nt.source, "*$"));
2504
- function y(e, t) {
2502
+ var Se, kr = new RegExp("^".concat(St.source, "*")), Vr = new RegExp("".concat(St.source, "*$"));
2503
+ function g(e, t) {
2505
2504
  return { start: e, end: t };
2506
2505
  }
2507
- var rn = !!String.prototype.startsWith && "_a".startsWith("a", 1), nn = !!String.fromCodePoint, sn = !!Object.fromEntries, on = !!String.prototype.codePointAt, an = !!String.prototype.trimStart, un = !!String.prototype.trimEnd, hn = !!Number.isSafeInteger, ln = hn ? Number.isSafeInteger : function(e) {
2506
+ var Xr = !!String.prototype.startsWith && "_a".startsWith("a", 1), zr = !!String.fromCodePoint, Wr = !!Object.fromEntries, Zr = !!String.prototype.codePointAt, Qr = !!String.prototype.trimStart, qr = !!String.prototype.trimEnd, Jr = !!Number.isSafeInteger, Yr = Jr ? Number.isSafeInteger : function(e) {
2508
2507
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2509
- }, Ue = !0;
2508
+ }, Ce = !0;
2510
2509
  try {
2511
- var fn = Rt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2512
- Ue = ((we = fn.exec("a")) === null || we === void 0 ? void 0 : we[0]) === "a";
2510
+ var Kr = Pt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2511
+ Ce = ((Se = Kr.exec("a")) === null || Se === void 0 ? void 0 : Se[0]) === "a";
2513
2512
  } catch {
2514
- Ue = !1;
2513
+ Ce = !1;
2515
2514
  }
2516
- var nt = rn ? (
2515
+ var Ke = Xr ? (
2517
2516
  // Native
2518
2517
  function(t, r, n) {
2519
2518
  return t.startsWith(r, n);
@@ -2523,31 +2522,31 @@ var nt = rn ? (
2523
2522
  function(t, r, n) {
2524
2523
  return t.slice(n, n + r.length) === r;
2525
2524
  }
2526
- ), De = nn ? String.fromCodePoint : (
2525
+ ), Ie = zr ? String.fromCodePoint : (
2527
2526
  // IE11
2528
2527
  function() {
2529
2528
  for (var t = [], r = 0; r < arguments.length; r++)
2530
2529
  t[r] = arguments[r];
2531
- for (var n = "", i = t.length, s = 0, o; i > s; ) {
2532
- if (o = t[s++], o > 1114111)
2533
- throw RangeError(o + " is not a valid code point");
2534
- n += o < 65536 ? String.fromCharCode(o) : String.fromCharCode(((o -= 65536) >> 10) + 55296, o % 1024 + 56320);
2530
+ for (var n = "", i = t.length, s = 0, u; i > s; ) {
2531
+ if (u = t[s++], u > 1114111)
2532
+ throw RangeError(u + " is not a valid code point");
2533
+ n += u < 65536 ? String.fromCharCode(u) : String.fromCharCode(((u -= 65536) >> 10) + 55296, u % 1024 + 56320);
2535
2534
  }
2536
2535
  return n;
2537
2536
  }
2538
- ), it = (
2537
+ ), et = (
2539
2538
  // native
2540
- sn ? Object.fromEntries : (
2539
+ Wr ? Object.fromEntries : (
2541
2540
  // Ponyfill
2542
2541
  function(t) {
2543
2542
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
2544
- var s = i[n], o = s[0], u = s[1];
2545
- r[o] = u;
2543
+ var s = i[n], u = s[0], o = s[1];
2544
+ r[u] = o;
2546
2545
  }
2547
2546
  return r;
2548
2547
  }
2549
2548
  )
2550
- ), $t = on ? (
2549
+ ), wt = Zr ? (
2551
2550
  // Native
2552
2551
  function(t, r) {
2553
2552
  return t.codePointAt(r);
@@ -2561,7 +2560,7 @@ var nt = rn ? (
2561
2560
  return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
2562
2561
  }
2563
2562
  }
2564
- ), cn = an ? (
2563
+ ), en = Qr ? (
2565
2564
  // Native
2566
2565
  function(t) {
2567
2566
  return t.trimStart();
@@ -2569,9 +2568,9 @@ var nt = rn ? (
2569
2568
  ) : (
2570
2569
  // Ponyfill
2571
2570
  function(t) {
2572
- return t.replace(en, "");
2571
+ return t.replace(kr, "");
2573
2572
  }
2574
- ), gn = un ? (
2573
+ ), tn = qr ? (
2575
2574
  // Native
2576
2575
  function(t) {
2577
2576
  return t.trimEnd();
@@ -2579,32 +2578,32 @@ var nt = rn ? (
2579
2578
  ) : (
2580
2579
  // Ponyfill
2581
2580
  function(t) {
2582
- return t.replace(tn, "");
2581
+ return t.replace(Vr, "");
2583
2582
  }
2584
2583
  );
2585
- function Rt(e, t) {
2584
+ function Pt(e, t) {
2586
2585
  return new RegExp(e, t);
2587
2586
  }
2588
- var Ge;
2589
- if (Ue) {
2590
- var st = Rt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2591
- Ge = function(t, r) {
2587
+ var Le;
2588
+ if (Ce) {
2589
+ var tt = Pt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2590
+ Le = function(t, r) {
2592
2591
  var n;
2593
- st.lastIndex = r;
2594
- var i = st.exec(t);
2592
+ tt.lastIndex = r;
2593
+ var i = tt.exec(t);
2595
2594
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2596
2595
  };
2597
2596
  } else
2598
- Ge = function(t, r) {
2597
+ Le = function(t, r) {
2599
2598
  for (var n = []; ; ) {
2600
- var i = $t(t, r);
2601
- if (i === void 0 || Ut(i) || bn(i))
2599
+ var i = wt(t, r);
2600
+ if (i === void 0 || Ot(i) || on(i))
2602
2601
  break;
2603
2602
  n.push(i), r += i >= 65536 ? 2 : 1;
2604
2603
  }
2605
- return De.apply(void 0, n);
2604
+ return Ie.apply(void 0, n);
2606
2605
  };
2607
- var mn = (
2606
+ var rn = (
2608
2607
  /** @class */
2609
2608
  function() {
2610
2609
  function e(t, r) {
@@ -2618,33 +2617,33 @@ var mn = (
2618
2617
  for (var i = []; !this.isEOF(); ) {
2619
2618
  var s = this.char();
2620
2619
  if (s === 123) {
2621
- var o = this.parseArgument(t, n);
2622
- if (o.err)
2623
- return o;
2624
- i.push(o.val);
2620
+ var u = this.parseArgument(t, n);
2621
+ if (u.err)
2622
+ return u;
2623
+ i.push(u.val);
2625
2624
  } else {
2626
2625
  if (s === 125 && t > 0)
2627
2626
  break;
2628
2627
  if (s === 35 && (r === "plural" || r === "selectordinal")) {
2629
- var u = this.clonePosition();
2628
+ var o = this.clonePosition();
2630
2629
  this.bump(), i.push({
2631
- type: v.pound,
2632
- location: y(u, this.clonePosition())
2630
+ type: H.pound,
2631
+ location: g(o, this.clonePosition())
2633
2632
  });
2634
2633
  } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
2635
2634
  if (n)
2636
2635
  break;
2637
- return this.error(_.UNMATCHED_CLOSING_TAG, y(this.clonePosition(), this.clonePosition()));
2638
- } else if (s === 60 && !this.ignoreTag && Fe(this.peek() || 0)) {
2639
- var o = this.parseTag(t, r);
2640
- if (o.err)
2641
- return o;
2642
- i.push(o.val);
2636
+ return this.error(p.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
2637
+ } else if (s === 60 && !this.ignoreTag && Me(this.peek() || 0)) {
2638
+ var u = this.parseTag(t, r);
2639
+ if (u.err)
2640
+ return u;
2641
+ i.push(u.val);
2643
2642
  } else {
2644
- var o = this.parseLiteral(t, r);
2645
- if (o.err)
2646
- return o;
2647
- i.push(o.val);
2643
+ var u = this.parseLiteral(t, r);
2644
+ if (u.err)
2645
+ return u;
2646
+ i.push(u.val);
2648
2647
  }
2649
2648
  }
2650
2649
  }
@@ -2656,9 +2655,9 @@ var mn = (
2656
2655
  if (this.bumpSpace(), this.bumpIf("/>"))
2657
2656
  return {
2658
2657
  val: {
2659
- type: v.literal,
2658
+ type: H.literal,
2660
2659
  value: "<".concat(i, "/>"),
2661
- location: y(n, this.clonePosition())
2660
+ location: g(n, this.clonePosition())
2662
2661
  },
2663
2662
  err: null
2664
2663
  };
@@ -2666,27 +2665,27 @@ var mn = (
2666
2665
  var s = this.parseMessage(t + 1, r, !0);
2667
2666
  if (s.err)
2668
2667
  return s;
2669
- var o = s.val, u = this.clonePosition();
2668
+ var u = s.val, o = this.clonePosition();
2670
2669
  if (this.bumpIf("</")) {
2671
- if (this.isEOF() || !Fe(this.char()))
2672
- return this.error(_.INVALID_TAG, y(u, this.clonePosition()));
2670
+ if (this.isEOF() || !Me(this.char()))
2671
+ return this.error(p.INVALID_TAG, g(o, this.clonePosition()));
2673
2672
  var l = this.clonePosition(), a = this.parseTagName();
2674
- return i !== a ? this.error(_.UNMATCHED_CLOSING_TAG, y(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2673
+ return i !== a ? this.error(p.UNMATCHED_CLOSING_TAG, g(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2675
2674
  val: {
2676
- type: v.tag,
2675
+ type: H.tag,
2677
2676
  value: i,
2678
- children: o,
2679
- location: y(n, this.clonePosition())
2677
+ children: u,
2678
+ location: g(n, this.clonePosition())
2680
2679
  },
2681
2680
  err: null
2682
- } : this.error(_.INVALID_TAG, y(u, this.clonePosition())));
2681
+ } : this.error(p.INVALID_TAG, g(o, this.clonePosition())));
2683
2682
  } else
2684
- return this.error(_.UNCLOSED_TAG, y(n, this.clonePosition()));
2683
+ return this.error(p.UNCLOSED_TAG, g(n, this.clonePosition()));
2685
2684
  } else
2686
- return this.error(_.INVALID_TAG, y(n, this.clonePosition()));
2685
+ return this.error(p.INVALID_TAG, g(n, this.clonePosition()));
2687
2686
  }, e.prototype.parseTagName = function() {
2688
2687
  var t = this.offset();
2689
- for (this.bump(); !this.isEOF() && dn(this.char()); )
2688
+ for (this.bump(); !this.isEOF() && sn(this.char()); )
2690
2689
  this.bump();
2691
2690
  return this.message.slice(t, this.offset());
2692
2691
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2696,26 +2695,26 @@ var mn = (
2696
2695
  i += s;
2697
2696
  continue;
2698
2697
  }
2699
- var o = this.tryParseUnquoted(t, r);
2700
- if (o) {
2701
- i += o;
2702
- continue;
2703
- }
2704
- var u = this.tryParseLeftAngleBracket();
2698
+ var u = this.tryParseUnquoted(t, r);
2705
2699
  if (u) {
2706
2700
  i += u;
2707
2701
  continue;
2708
2702
  }
2703
+ var o = this.tryParseLeftAngleBracket();
2704
+ if (o) {
2705
+ i += o;
2706
+ continue;
2707
+ }
2709
2708
  break;
2710
2709
  }
2711
- var l = y(n, this.clonePosition());
2710
+ var l = g(n, this.clonePosition());
2712
2711
  return {
2713
- val: { type: v.literal, value: i, location: l },
2712
+ val: { type: H.literal, value: i, location: l },
2714
2713
  err: null
2715
2714
  };
2716
2715
  }, e.prototype.tryParseLeftAngleBracket = function() {
2717
2716
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2718
- !pn(this.peek() || 0)) ? (this.bump(), "<") : null;
2717
+ !nn(this.peek() || 0)) ? (this.bump(), "<") : null;
2719
2718
  }, e.prototype.tryParseQuote = function(t) {
2720
2719
  if (this.isEOF() || this.char() !== 39)
2721
2720
  return null;
@@ -2749,49 +2748,49 @@ var mn = (
2749
2748
  r.push(n);
2750
2749
  this.bump();
2751
2750
  }
2752
- return De.apply(void 0, r);
2751
+ return Ie.apply(void 0, r);
2753
2752
  }, e.prototype.tryParseUnquoted = function(t, r) {
2754
2753
  if (this.isEOF())
2755
2754
  return null;
2756
2755
  var n = this.char();
2757
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), De(n));
2756
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ie(n));
2758
2757
  }, e.prototype.parseArgument = function(t, r) {
2759
2758
  var n = this.clonePosition();
2760
2759
  if (this.bump(), this.bumpSpace(), this.isEOF())
2761
- return this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition()));
2760
+ return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition()));
2762
2761
  if (this.char() === 125)
2763
- return this.bump(), this.error(_.EMPTY_ARGUMENT, y(n, this.clonePosition()));
2762
+ return this.bump(), this.error(p.EMPTY_ARGUMENT, g(n, this.clonePosition()));
2764
2763
  var i = this.parseIdentifierIfPossible().value;
2765
2764
  if (!i)
2766
- return this.error(_.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
2765
+ return this.error(p.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
2767
2766
  if (this.bumpSpace(), this.isEOF())
2768
- return this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition()));
2767
+ return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition()));
2769
2768
  switch (this.char()) {
2770
2769
  case 125:
2771
2770
  return this.bump(), {
2772
2771
  val: {
2773
- type: v.argument,
2772
+ type: H.argument,
2774
2773
  // value does not include the opening and closing braces.
2775
2774
  value: i,
2776
- location: y(n, this.clonePosition())
2775
+ location: g(n, this.clonePosition())
2777
2776
  },
2778
2777
  err: null
2779
2778
  };
2780
2779
  case 44:
2781
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2780
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2782
2781
  default:
2783
- return this.error(_.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
2782
+ return this.error(p.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
2784
2783
  }
2785
2784
  }, e.prototype.parseIdentifierIfPossible = function() {
2786
- var t = this.clonePosition(), r = this.offset(), n = Ge(this.message, r), i = r + n.length;
2785
+ var t = this.clonePosition(), r = this.offset(), n = Le(this.message, r), i = r + n.length;
2787
2786
  this.bumpTo(i);
2788
- var s = this.clonePosition(), o = y(t, s);
2789
- return { value: n, location: o };
2787
+ var s = this.clonePosition(), u = g(t, s);
2788
+ return { value: n, location: u };
2790
2789
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
2791
- var s, o = this.clonePosition(), u = this.parseIdentifierIfPossible().value, l = this.clonePosition();
2792
- switch (u) {
2790
+ var s, u = this.clonePosition(), o = this.parseIdentifierIfPossible().value, l = this.clonePosition();
2791
+ switch (o) {
2793
2792
  case "":
2794
- return this.error(_.EXPECT_ARGUMENT_TYPE, y(o, l));
2793
+ return this.error(p.EXPECT_ARGUMENT_TYPE, g(u, l));
2795
2794
  case "number":
2796
2795
  case "date":
2797
2796
  case "time": {
@@ -2802,46 +2801,46 @@ var mn = (
2802
2801
  var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
2803
2802
  if (c.err)
2804
2803
  return c;
2805
- var f = gn(c.val);
2804
+ var f = tn(c.val);
2806
2805
  if (f.length === 0)
2807
- return this.error(_.EXPECT_ARGUMENT_STYLE, y(this.clonePosition(), this.clonePosition()));
2808
- var p = y(h, this.clonePosition());
2809
- a = { style: f, styleLocation: p };
2806
+ return this.error(p.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
2807
+ var v = g(h, this.clonePosition());
2808
+ a = { style: f, styleLocation: v };
2810
2809
  }
2811
- var d = this.tryParseArgumentClose(i);
2812
- if (d.err)
2813
- return d;
2814
- var g = y(i, this.clonePosition());
2815
- if (a && nt(a?.style, "::", 0)) {
2816
- var E = cn(a.style.slice(2));
2817
- if (u === "number") {
2818
- var c = this.parseNumberSkeletonFromString(E, a.styleLocation);
2810
+ var b = this.tryParseArgumentClose(i);
2811
+ if (b.err)
2812
+ return b;
2813
+ var d = g(i, this.clonePosition());
2814
+ if (a && Ke(a?.style, "::", 0)) {
2815
+ var x = en(a.style.slice(2));
2816
+ if (o === "number") {
2817
+ var c = this.parseNumberSkeletonFromString(x, a.styleLocation);
2819
2818
  return c.err ? c : {
2820
- val: { type: v.number, value: n, location: g, style: c.val },
2819
+ val: { type: H.number, value: n, location: d, style: c.val },
2821
2820
  err: null
2822
2821
  };
2823
2822
  } else {
2824
- if (E.length === 0)
2825
- return this.error(_.EXPECT_DATE_TIME_SKELETON, g);
2826
- var m = E;
2827
- this.locale && (m = Yr(E, this.locale));
2823
+ if (x.length === 0)
2824
+ return this.error(p.EXPECT_DATE_TIME_SKELETON, d);
2825
+ var L = x;
2826
+ this.locale && (L = Fr(x, this.locale));
2828
2827
  var f = {
2829
- type: q.dateTime,
2830
- pattern: m,
2828
+ type: z.dateTime,
2829
+ pattern: L,
2831
2830
  location: a.styleLocation,
2832
- parsedOptions: this.shouldParseSkeletons ? Xr(m) : {}
2833
- }, T = u === "date" ? v.date : v.time;
2831
+ parsedOptions: this.shouldParseSkeletons ? Lr(L) : {}
2832
+ }, B = o === "date" ? H.date : H.time;
2834
2833
  return {
2835
- val: { type: T, value: n, location: g, style: f },
2834
+ val: { type: B, value: n, location: d, style: f },
2836
2835
  err: null
2837
2836
  };
2838
2837
  }
2839
2838
  }
2840
2839
  return {
2841
2840
  val: {
2842
- type: u === "number" ? v.number : u === "date" ? v.date : v.time,
2841
+ type: o === "number" ? H.number : o === "date" ? H.date : H.time,
2843
2842
  value: n,
2844
- location: g,
2843
+ location: d,
2845
2844
  style: (s = a?.style) !== null && s !== void 0 ? s : null
2846
2845
  },
2847
2846
  err: null
@@ -2850,52 +2849,52 @@ var mn = (
2850
2849
  case "plural":
2851
2850
  case "selectordinal":
2852
2851
  case "select": {
2853
- var S = this.clonePosition();
2852
+ var y = this.clonePosition();
2854
2853
  if (this.bumpSpace(), !this.bumpIf(","))
2855
- return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, y(S, _e({}, S)));
2854
+ return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, g(y, ce({}, y)));
2856
2855
  this.bumpSpace();
2857
- var w = this.parseIdentifierIfPossible(), A = 0;
2858
- if (u !== "select" && w.value === "offset") {
2856
+ var O = this.parseIdentifierIfPossible(), w = 0;
2857
+ if (o !== "select" && O.value === "offset") {
2859
2858
  if (!this.bumpIf(":"))
2860
- return this.error(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y(this.clonePosition(), this.clonePosition()));
2859
+ return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g(this.clonePosition(), this.clonePosition()));
2861
2860
  this.bumpSpace();
2862
- var c = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2861
+ var c = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, p.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2863
2862
  if (c.err)
2864
2863
  return c;
2865
- this.bumpSpace(), w = this.parseIdentifierIfPossible(), A = c.val;
2864
+ this.bumpSpace(), O = this.parseIdentifierIfPossible(), w = c.val;
2866
2865
  }
2867
- var H = this.tryParsePluralOrSelectOptions(t, u, r, w);
2868
- if (H.err)
2869
- return H;
2870
- var d = this.tryParseArgumentClose(i);
2871
- if (d.err)
2872
- return d;
2873
- var P = y(i, this.clonePosition());
2874
- return u === "select" ? {
2866
+ var R = this.tryParsePluralOrSelectOptions(t, o, r, O);
2867
+ if (R.err)
2868
+ return R;
2869
+ var b = this.tryParseArgumentClose(i);
2870
+ if (b.err)
2871
+ return b;
2872
+ var E = g(i, this.clonePosition());
2873
+ return o === "select" ? {
2875
2874
  val: {
2876
- type: v.select,
2875
+ type: H.select,
2877
2876
  value: n,
2878
- options: it(H.val),
2879
- location: P
2877
+ options: et(R.val),
2878
+ location: E
2880
2879
  },
2881
2880
  err: null
2882
2881
  } : {
2883
2882
  val: {
2884
- type: v.plural,
2883
+ type: H.plural,
2885
2884
  value: n,
2886
- options: it(H.val),
2887
- offset: A,
2888
- pluralType: u === "plural" ? "cardinal" : "ordinal",
2889
- location: P
2885
+ options: et(R.val),
2886
+ offset: w,
2887
+ pluralType: o === "plural" ? "cardinal" : "ordinal",
2888
+ location: E
2890
2889
  },
2891
2890
  err: null
2892
2891
  };
2893
2892
  }
2894
2893
  default:
2895
- return this.error(_.INVALID_ARGUMENT_TYPE, y(o, l));
2894
+ return this.error(p.INVALID_ARGUMENT_TYPE, g(u, l));
2896
2895
  }
2897
2896
  }, e.prototype.tryParseArgumentClose = function(t) {
2898
- return this.isEOF() || this.char() !== 125 ? this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, y(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2897
+ return this.isEOF() || this.char() !== 125 ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, g(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2899
2898
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
2900
2899
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
2901
2900
  var n = this.char();
@@ -2904,7 +2903,7 @@ var mn = (
2904
2903
  this.bump();
2905
2904
  var i = this.clonePosition();
2906
2905
  if (!this.bumpUntil("'"))
2907
- return this.error(_.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, y(i, this.clonePosition()));
2906
+ return this.error(p.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, g(i, this.clonePosition()));
2908
2907
  this.bump();
2909
2908
  break;
2910
2909
  }
@@ -2934,64 +2933,64 @@ var mn = (
2934
2933
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2935
2934
  var n = [];
2936
2935
  try {
2937
- n = Wr(t);
2936
+ n = Rr(t);
2938
2937
  } catch {
2939
- return this.error(_.INVALID_NUMBER_SKELETON, r);
2938
+ return this.error(p.INVALID_NUMBER_SKELETON, r);
2940
2939
  }
2941
2940
  return {
2942
2941
  val: {
2943
- type: q.number,
2942
+ type: z.number,
2944
2943
  tokens: n,
2945
2944
  location: r,
2946
- parsedOptions: this.shouldParseSkeletons ? Jr(n) : {}
2945
+ parsedOptions: this.shouldParseSkeletons ? Gr(n) : {}
2947
2946
  },
2948
2947
  err: null
2949
2948
  };
2950
2949
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
2951
- for (var s, o = !1, u = [], l = /* @__PURE__ */ new Set(), a = i.value, h = i.location; ; ) {
2950
+ for (var s, u = !1, o = [], l = /* @__PURE__ */ new Set(), a = i.value, h = i.location; ; ) {
2952
2951
  if (a.length === 0) {
2953
2952
  var c = this.clonePosition();
2954
2953
  if (r !== "select" && this.bumpIf("=")) {
2955
- var f = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_SELECTOR, _.INVALID_PLURAL_ARGUMENT_SELECTOR);
2954
+ var f = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_SELECTOR, p.INVALID_PLURAL_ARGUMENT_SELECTOR);
2956
2955
  if (f.err)
2957
2956
  return f;
2958
- h = y(c, this.clonePosition()), a = this.message.slice(c.offset, this.offset());
2957
+ h = g(c, this.clonePosition()), a = this.message.slice(c.offset, this.offset());
2959
2958
  } else
2960
2959
  break;
2961
2960
  }
2962
2961
  if (l.has(a))
2963
- return this.error(r === "select" ? _.DUPLICATE_SELECT_ARGUMENT_SELECTOR : _.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
2964
- a === "other" && (o = !0), this.bumpSpace();
2965
- var p = this.clonePosition();
2962
+ return this.error(r === "select" ? p.DUPLICATE_SELECT_ARGUMENT_SELECTOR : p.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
2963
+ a === "other" && (u = !0), this.bumpSpace();
2964
+ var v = this.clonePosition();
2966
2965
  if (!this.bumpIf("{"))
2967
- return this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : _.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, y(this.clonePosition(), this.clonePosition()));
2968
- var d = this.parseMessage(t + 1, r, n);
2966
+ return this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : p.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, g(this.clonePosition(), this.clonePosition()));
2967
+ var b = this.parseMessage(t + 1, r, n);
2968
+ if (b.err)
2969
+ return b;
2970
+ var d = this.tryParseArgumentClose(v);
2969
2971
  if (d.err)
2970
2972
  return d;
2971
- var g = this.tryParseArgumentClose(p);
2972
- if (g.err)
2973
- return g;
2974
- u.push([
2973
+ o.push([
2975
2974
  a,
2976
2975
  {
2977
- value: d.val,
2978
- location: y(p, this.clonePosition())
2976
+ value: b.val,
2977
+ location: g(v, this.clonePosition())
2979
2978
  }
2980
2979
  ]), l.add(a), this.bumpSpace(), s = this.parseIdentifierIfPossible(), a = s.value, h = s.location;
2981
2980
  }
2982
- return u.length === 0 ? this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR : _.EXPECT_PLURAL_ARGUMENT_SELECTOR, y(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(_.MISSING_OTHER_CLAUSE, y(this.clonePosition(), this.clonePosition())) : { val: u, err: null };
2981
+ return o.length === 0 ? this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR : p.EXPECT_PLURAL_ARGUMENT_SELECTOR, g(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !u ? this.error(p.MISSING_OTHER_CLAUSE, g(this.clonePosition(), this.clonePosition())) : { val: o, err: null };
2983
2982
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
2984
2983
  var n = 1, i = this.clonePosition();
2985
2984
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
2986
- for (var s = !1, o = 0; !this.isEOF(); ) {
2987
- var u = this.char();
2988
- if (u >= 48 && u <= 57)
2989
- s = !0, o = o * 10 + (u - 48), this.bump();
2985
+ for (var s = !1, u = 0; !this.isEOF(); ) {
2986
+ var o = this.char();
2987
+ if (o >= 48 && o <= 57)
2988
+ s = !0, u = u * 10 + (o - 48), this.bump();
2990
2989
  else
2991
2990
  break;
2992
2991
  }
2993
- var l = y(i, this.clonePosition());
2994
- return s ? (o *= n, ln(o) ? { val: o, err: null } : this.error(r, l)) : this.error(t, l);
2992
+ var l = g(i, this.clonePosition());
2993
+ return s ? (u *= n, Yr(u) ? { val: u, err: null } : this.error(r, l)) : this.error(t, l);
2995
2994
  }, e.prototype.offset = function() {
2996
2995
  return this.position.offset;
2997
2996
  }, e.prototype.isEOF = function() {
@@ -3006,7 +3005,7 @@ var mn = (
3006
3005
  var t = this.position.offset;
3007
3006
  if (t >= this.message.length)
3008
3007
  throw Error("out of bound");
3009
- var r = $t(this.message, t);
3008
+ var r = wt(this.message, t);
3010
3009
  if (r === void 0)
3011
3010
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3012
3011
  return r;
@@ -3025,7 +3024,7 @@ var mn = (
3025
3024
  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);
3026
3025
  }
3027
3026
  }, e.prototype.bumpIf = function(t) {
3028
- if (nt(this.message, t, this.offset())) {
3027
+ if (Ke(this.message, t, this.offset())) {
3029
3028
  for (var r = 0; r < t.length; r++)
3030
3029
  this.bump();
3031
3030
  return !0;
@@ -3047,7 +3046,7 @@ var mn = (
3047
3046
  break;
3048
3047
  }
3049
3048
  }, e.prototype.bumpSpace = function() {
3050
- for (; !this.isEOF() && Ut(this.char()); )
3049
+ for (; !this.isEOF() && Ot(this.char()); )
3051
3050
  this.bump();
3052
3051
  }, e.prototype.peek = function() {
3053
3052
  if (this.isEOF())
@@ -3057,47 +3056,47 @@ var mn = (
3057
3056
  }, e;
3058
3057
  }()
3059
3058
  );
3060
- function Fe(e) {
3059
+ function Me(e) {
3061
3060
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3062
3061
  }
3063
- function pn(e) {
3064
- return Fe(e) || e === 47;
3062
+ function nn(e) {
3063
+ return Me(e) || e === 47;
3065
3064
  }
3066
- function dn(e) {
3065
+ function sn(e) {
3067
3066
  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;
3068
3067
  }
3069
- function Ut(e) {
3068
+ function Ot(e) {
3070
3069
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3071
3070
  }
3072
- function bn(e) {
3071
+ function on(e) {
3073
3072
  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;
3074
3073
  }
3075
- function je(e) {
3074
+ function Re(e) {
3076
3075
  e.forEach(function(t) {
3077
- if (delete t.location, Bt(t) || Ot(t))
3076
+ if (delete t.location, Et(t) || _t(t))
3078
3077
  for (var r in t.options)
3079
- delete t.options[r].location, je(t.options[r].value);
3078
+ delete t.options[r].location, Re(t.options[r].value);
3080
3079
  else
3081
- Ht(t) && Pt(t.style) || (St(t) || At(t)) && Re(t.style) ? delete t.style.location : wt(t) && je(t.children);
3080
+ bt(t) && Ht(t.style) || (vt(t) || yt(t)) && Ne(t.style) ? delete t.style.location : xt(t) && Re(t.children);
3082
3081
  });
3083
3082
  }
3084
- function _n(e, t) {
3085
- t === void 0 && (t = {}), t = _e({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3086
- var r = new mn(e, t).parse();
3083
+ function an(e, t) {
3084
+ t === void 0 && (t = {}), t = ce({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3085
+ var r = new rn(e, t).parse();
3087
3086
  if (r.err) {
3088
- var n = SyntaxError(_[r.err.kind]);
3087
+ var n = SyntaxError(p[r.err.kind]);
3089
3088
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3090
3089
  }
3091
- return t?.captureLocation || je(r.val), r.val;
3090
+ return t?.captureLocation || Re(r.val), r.val;
3092
3091
  }
3093
- var J;
3092
+ var W;
3094
3093
  (function(e) {
3095
3094
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3096
- })(J || (J = {}));
3097
- var Te = (
3095
+ })(W || (W = {}));
3096
+ var ge = (
3098
3097
  /** @class */
3099
3098
  function(e) {
3100
- ve(t, e);
3099
+ pe(t, e);
3101
3100
  function t(r, n, i) {
3102
3101
  var s = e.call(this, r) || this;
3103
3102
  return s.code = n, s.originalMessage = i, s;
@@ -3106,155 +3105,155 @@ var Te = (
3106
3105
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3107
3106
  }, t;
3108
3107
  }(Error)
3109
- ), ot = (
3108
+ ), rt = (
3110
3109
  /** @class */
3111
3110
  function(e) {
3112
- ve(t, e);
3111
+ pe(t, e);
3113
3112
  function t(r, n, i, s) {
3114
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), J.INVALID_VALUE, s) || this;
3113
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), W.INVALID_VALUE, s) || this;
3115
3114
  }
3116
3115
  return t;
3117
- }(Te)
3118
- ), yn = (
3116
+ }(ge)
3117
+ ), un = (
3119
3118
  /** @class */
3120
3119
  function(e) {
3121
- ve(t, e);
3120
+ pe(t, e);
3122
3121
  function t(r, n, i) {
3123
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), J.INVALID_VALUE, i) || this;
3122
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), W.INVALID_VALUE, i) || this;
3124
3123
  }
3125
3124
  return t;
3126
- }(Te)
3127
- ), En = (
3125
+ }(ge)
3126
+ ), hn = (
3128
3127
  /** @class */
3129
3128
  function(e) {
3130
- ve(t, e);
3129
+ pe(t, e);
3131
3130
  function t(r, n) {
3132
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), J.MISSING_VALUE, n) || this;
3131
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), W.MISSING_VALUE, n) || this;
3133
3132
  }
3134
3133
  return t;
3135
- }(Te)
3136
- ), O;
3134
+ }(ge)
3135
+ ), T;
3137
3136
  (function(e) {
3138
3137
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3139
- })(O || (O = {}));
3140
- function xn(e) {
3138
+ })(T || (T = {}));
3139
+ function ln(e) {
3141
3140
  return e.length < 2 ? e : e.reduce(function(t, r) {
3142
3141
  var n = t[t.length - 1];
3143
- return !n || n.type !== O.literal || r.type !== O.literal ? t.push(r) : n.value += r.value, t;
3142
+ return !n || n.type !== T.literal || r.type !== T.literal ? t.push(r) : n.value += r.value, t;
3144
3143
  }, []);
3145
3144
  }
3146
- function vn(e) {
3145
+ function cn(e) {
3147
3146
  return typeof e == "function";
3148
3147
  }
3149
- function pe(e, t, r, n, i, s, o) {
3150
- if (e.length === 1 && Ke(e[0]))
3148
+ function ue(e, t, r, n, i, s, u) {
3149
+ if (e.length === 1 && Qe(e[0]))
3151
3150
  return [
3152
3151
  {
3153
- type: O.literal,
3152
+ type: T.literal,
3154
3153
  value: e[0].value
3155
3154
  }
3156
3155
  ];
3157
- for (var u = [], l = 0, a = e; l < a.length; l++) {
3156
+ for (var o = [], l = 0, a = e; l < a.length; l++) {
3158
3157
  var h = a[l];
3159
- if (Ke(h)) {
3160
- u.push({
3161
- type: O.literal,
3158
+ if (Qe(h)) {
3159
+ o.push({
3160
+ type: T.literal,
3162
3161
  value: h.value
3163
3162
  });
3164
3163
  continue;
3165
3164
  }
3166
- if (kr(h)) {
3167
- typeof s == "number" && u.push({
3168
- type: O.literal,
3165
+ if (Cr(h)) {
3166
+ typeof s == "number" && o.push({
3167
+ type: T.literal,
3169
3168
  value: r.getNumberFormat(t).format(s)
3170
3169
  });
3171
3170
  continue;
3172
3171
  }
3173
3172
  var c = h.value;
3174
3173
  if (!(i && c in i))
3175
- throw new En(c, o);
3174
+ throw new hn(c, u);
3176
3175
  var f = i[c];
3177
- if (jr(h)) {
3178
- (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), u.push({
3179
- type: typeof f == "string" ? O.literal : O.object,
3176
+ if (Nr(h)) {
3177
+ (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), o.push({
3178
+ type: typeof f == "string" ? T.literal : T.object,
3180
3179
  value: f
3181
3180
  });
3182
3181
  continue;
3183
3182
  }
3184
- if (St(h)) {
3185
- var p = typeof h.style == "string" ? n.date[h.style] : Re(h.style) ? h.style.parsedOptions : void 0;
3186
- u.push({
3187
- type: O.literal,
3188
- value: r.getDateTimeFormat(t, p).format(f)
3183
+ if (vt(h)) {
3184
+ var v = typeof h.style == "string" ? n.date[h.style] : Ne(h.style) ? h.style.parsedOptions : void 0;
3185
+ o.push({
3186
+ type: T.literal,
3187
+ value: r.getDateTimeFormat(t, v).format(f)
3189
3188
  });
3190
3189
  continue;
3191
3190
  }
3192
- if (At(h)) {
3193
- var p = typeof h.style == "string" ? n.time[h.style] : Re(h.style) ? h.style.parsedOptions : n.time.medium;
3194
- u.push({
3195
- type: O.literal,
3196
- value: r.getDateTimeFormat(t, p).format(f)
3191
+ if (yt(h)) {
3192
+ var v = typeof h.style == "string" ? n.time[h.style] : Ne(h.style) ? h.style.parsedOptions : n.time.medium;
3193
+ o.push({
3194
+ type: T.literal,
3195
+ value: r.getDateTimeFormat(t, v).format(f)
3197
3196
  });
3198
3197
  continue;
3199
3198
  }
3200
- if (Ht(h)) {
3201
- var p = typeof h.style == "string" ? n.number[h.style] : Pt(h.style) ? h.style.parsedOptions : void 0;
3202
- p && p.scale && (f = f * (p.scale || 1)), u.push({
3203
- type: O.literal,
3204
- value: r.getNumberFormat(t, p).format(f)
3199
+ if (bt(h)) {
3200
+ var v = typeof h.style == "string" ? n.number[h.style] : Ht(h.style) ? h.style.parsedOptions : void 0;
3201
+ v && v.scale && (f = f * (v.scale || 1)), o.push({
3202
+ type: T.literal,
3203
+ value: r.getNumberFormat(t, v).format(f)
3205
3204
  });
3206
3205
  continue;
3207
3206
  }
3208
- if (wt(h)) {
3209
- var d = h.children, g = h.value, E = i[g];
3210
- if (!vn(E))
3211
- throw new yn(g, "function", o);
3212
- var m = pe(d, t, r, n, i, s), T = E(m.map(function(A) {
3213
- return A.value;
3207
+ if (xt(h)) {
3208
+ var b = h.children, d = h.value, x = i[d];
3209
+ if (!cn(x))
3210
+ throw new un(d, "function", u);
3211
+ var L = ue(b, t, r, n, i, s), B = x(L.map(function(w) {
3212
+ return w.value;
3214
3213
  }));
3215
- Array.isArray(T) || (T = [T]), u.push.apply(u, T.map(function(A) {
3214
+ Array.isArray(B) || (B = [B]), o.push.apply(o, B.map(function(w) {
3216
3215
  return {
3217
- type: typeof A == "string" ? O.literal : O.object,
3218
- value: A
3216
+ type: typeof w == "string" ? T.literal : T.object,
3217
+ value: w
3219
3218
  };
3220
3219
  }));
3221
3220
  }
3222
- if (Bt(h)) {
3223
- var S = h.options[f] || h.options.other;
3224
- if (!S)
3225
- throw new ot(h.value, f, Object.keys(h.options), o);
3226
- u.push.apply(u, pe(S.value, t, r, n, i));
3221
+ if (Et(h)) {
3222
+ var y = h.options[f] || h.options.other;
3223
+ if (!y)
3224
+ throw new rt(h.value, f, Object.keys(h.options), u);
3225
+ o.push.apply(o, ue(y.value, t, r, n, i));
3227
3226
  continue;
3228
3227
  }
3229
- if (Ot(h)) {
3230
- var S = h.options["=".concat(f)];
3231
- if (!S) {
3228
+ if (_t(h)) {
3229
+ var y = h.options["=".concat(f)];
3230
+ if (!y) {
3232
3231
  if (!Intl.PluralRules)
3233
- throw new Te(`Intl.PluralRules is not available in this environment.
3232
+ throw new ge(`Intl.PluralRules is not available in this environment.
3234
3233
  Try polyfilling it using "@formatjs/intl-pluralrules"
3235
- `, J.MISSING_INTL_API, o);
3236
- var w = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3237
- S = h.options[w] || h.options.other;
3234
+ `, W.MISSING_INTL_API, u);
3235
+ var O = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3236
+ y = h.options[O] || h.options.other;
3238
3237
  }
3239
- if (!S)
3240
- throw new ot(h.value, f, Object.keys(h.options), o);
3241
- u.push.apply(u, pe(S.value, t, r, n, i, f - (h.offset || 0)));
3238
+ if (!y)
3239
+ throw new rt(h.value, f, Object.keys(h.options), u);
3240
+ o.push.apply(o, ue(y.value, t, r, n, i, f - (h.offset || 0)));
3242
3241
  continue;
3243
3242
  }
3244
3243
  }
3245
- return xn(u);
3244
+ return ln(o);
3246
3245
  }
3247
- function Tn(e, t) {
3248
- return t ? R(R(R({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3249
- return r[n] = R(R({}, e[n]), t[n] || {}), r;
3246
+ function fn(e, t) {
3247
+ return t ? M(M(M({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3248
+ return r[n] = M(M({}, e[n]), t[n] || {}), r;
3250
3249
  }, {})) : e;
3251
3250
  }
3252
- function Cn(e, t) {
3251
+ function mn(e, t) {
3253
3252
  return t ? Object.keys(e).reduce(function(r, n) {
3254
- return r[n] = Tn(e[n], t[n]), r;
3255
- }, R({}, e)) : e;
3253
+ return r[n] = fn(e[n], t[n]), r;
3254
+ }, M({}, e)) : e;
3256
3255
  }
3257
- function Pe(e) {
3256
+ function Te(e) {
3258
3257
  return {
3259
3258
  create: function() {
3260
3259
  return {
@@ -3268,39 +3267,39 @@ function Pe(e) {
3268
3267
  }
3269
3268
  };
3270
3269
  }
3271
- function Hn(e) {
3270
+ function dn(e) {
3272
3271
  return e === void 0 && (e = {
3273
3272
  number: {},
3274
3273
  dateTime: {},
3275
3274
  pluralRules: {}
3276
3275
  }), {
3277
- getNumberFormat: Be(function() {
3276
+ getNumberFormat: xe(function() {
3278
3277
  for (var t, r = [], n = 0; n < arguments.length; n++)
3279
3278
  r[n] = arguments[n];
3280
- return new ((t = Intl.NumberFormat).bind.apply(t, Ae([void 0], r, !1)))();
3279
+ return new ((t = Intl.NumberFormat).bind.apply(t, _e([void 0], r, !1)))();
3281
3280
  }, {
3282
- cache: Pe(e.number),
3283
- strategy: Oe.variadic
3281
+ cache: Te(e.number),
3282
+ strategy: He.variadic
3284
3283
  }),
3285
- getDateTimeFormat: Be(function() {
3284
+ getDateTimeFormat: xe(function() {
3286
3285
  for (var t, r = [], n = 0; n < arguments.length; n++)
3287
3286
  r[n] = arguments[n];
3288
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Ae([void 0], r, !1)))();
3287
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, _e([void 0], r, !1)))();
3289
3288
  }, {
3290
- cache: Pe(e.dateTime),
3291
- strategy: Oe.variadic
3289
+ cache: Te(e.dateTime),
3290
+ strategy: He.variadic
3292
3291
  }),
3293
- getPluralRules: Be(function() {
3292
+ getPluralRules: xe(function() {
3294
3293
  for (var t, r = [], n = 0; n < arguments.length; n++)
3295
3294
  r[n] = arguments[n];
3296
- return new ((t = Intl.PluralRules).bind.apply(t, Ae([void 0], r, !1)))();
3295
+ return new ((t = Intl.PluralRules).bind.apply(t, _e([void 0], r, !1)))();
3297
3296
  }, {
3298
- cache: Pe(e.pluralRules),
3299
- strategy: Oe.variadic
3297
+ cache: Te(e.pluralRules),
3298
+ strategy: He.variadic
3300
3299
  })
3301
3300
  };
3302
3301
  }
3303
- var Sn = (
3302
+ var pn = (
3304
3303
  /** @class */
3305
3304
  function() {
3306
3305
  function e(t, r, n, i) {
@@ -3315,11 +3314,11 @@ var Sn = (
3315
3314
  if (a.length === 1)
3316
3315
  return a[0].value;
3317
3316
  var h = a.reduce(function(c, f) {
3318
- return !c.length || f.type !== O.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3317
+ return !c.length || f.type !== T.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3319
3318
  }, []);
3320
3319
  return h.length <= 1 ? h[0] || "" : h;
3321
3320
  }, this.formatToParts = function(l) {
3322
- return pe(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
3321
+ return ue(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
3323
3322
  }, this.resolvedOptions = function() {
3324
3323
  var l;
3325
3324
  return {
@@ -3330,15 +3329,15 @@ var Sn = (
3330
3329
  }, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
3331
3330
  if (this.message = t, !e.__parse)
3332
3331
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3333
- var o = i || {};
3334
- o.formatters;
3335
- var u = Ir(o, ["formatters"]);
3336
- this.ast = e.__parse(t, R(R({}, u), { locale: this.resolvedLocale }));
3332
+ var u = i || {};
3333
+ u.formatters;
3334
+ var o = Hr(u, ["formatters"]);
3335
+ this.ast = e.__parse(t, M(M({}, o), { locale: this.resolvedLocale }));
3337
3336
  } else
3338
3337
  this.ast = t;
3339
3338
  if (!Array.isArray(this.ast))
3340
3339
  throw new TypeError("A message must be provided as a String or AST.");
3341
- this.formats = Cn(e.formats, n), this.formatters = i && i.formatters || Hn(this.formatterCache);
3340
+ this.formats = mn(e.formats, n), this.formatters = i && i.formatters || dn(this.formatterCache);
3342
3341
  }
3343
3342
  return Object.defineProperty(e, "defaultLocale", {
3344
3343
  get: function() {
@@ -3351,7 +3350,7 @@ var Sn = (
3351
3350
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3352
3351
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3353
3352
  }
3354
- }, e.__parse = _n, e.formats = {
3353
+ }, e.__parse = an, e.formats = {
3355
3354
  number: {
3356
3355
  integer: {
3357
3356
  maximumFractionDigits: 0
@@ -3412,7 +3411,7 @@ var Sn = (
3412
3411
  }, e;
3413
3412
  }()
3414
3413
  );
3415
- function An(e, t) {
3414
+ function gn(e, t) {
3416
3415
  if (t == null)
3417
3416
  return;
3418
3417
  if (t in e)
@@ -3433,92 +3432,92 @@ function An(e, t) {
3433
3432
  n = void 0;
3434
3433
  return n;
3435
3434
  }
3436
- const G = {}, Bn = (e, t, r) => r && (t in G || (G[t] = {}), e in G[t] || (G[t][e] = r), r), Dt = (e, t) => {
3435
+ const $ = {}, bn = (e, t, r) => r && (t in $ || ($[t] = {}), e in $[t] || ($[t][e] = r), r), Nt = (e, t) => {
3437
3436
  if (t == null)
3438
3437
  return;
3439
- if (t in G && e in G[t])
3440
- return G[t][e];
3441
- const r = Ce(t);
3438
+ if (t in $ && e in $[t])
3439
+ return $[t][e];
3440
+ const r = be(t);
3442
3441
  for (let n = 0; n < r.length; n++) {
3443
- const i = r[n], s = wn(i, e);
3442
+ const i = r[n], s = yn(i, e);
3444
3443
  if (s)
3445
- return Bn(e, t, s);
3444
+ return bn(e, t, s);
3446
3445
  }
3447
3446
  };
3448
- let ze;
3449
- const he = xe({});
3450
- function On(e) {
3451
- return ze[e] || null;
3447
+ let Fe;
3448
+ const ie = de({});
3449
+ function vn(e) {
3450
+ return Fe[e] || null;
3452
3451
  }
3453
- function Gt(e) {
3454
- return e in ze;
3452
+ function Ct(e) {
3453
+ return e in Fe;
3455
3454
  }
3456
- function wn(e, t) {
3457
- if (!Gt(e))
3455
+ function yn(e, t) {
3456
+ if (!Ct(e))
3458
3457
  return null;
3459
- const r = On(e);
3460
- return An(r, t);
3458
+ const r = vn(e);
3459
+ return gn(r, t);
3461
3460
  }
3462
- function Pn(e) {
3461
+ function En(e) {
3463
3462
  if (e == null)
3464
3463
  return;
3465
- const t = Ce(e);
3464
+ const t = be(e);
3466
3465
  for (let r = 0; r < t.length; r++) {
3467
3466
  const n = t[r];
3468
- if (Gt(n))
3467
+ if (Ct(n))
3469
3468
  return n;
3470
3469
  }
3471
3470
  }
3472
- function Ft(e, ...t) {
3473
- delete G[e], he.update((r) => (r[e] = Lr.all([r[e] || {}, ...t]), r));
3471
+ function It(e, ...t) {
3472
+ delete $[e], ie.update((r) => (r[e] = xr.all([r[e] || {}, ...t]), r));
3474
3473
  }
3475
- ee(
3476
- [he],
3474
+ q(
3475
+ [ie],
3477
3476
  ([e]) => Object.keys(e)
3478
3477
  );
3479
- he.subscribe((e) => ze = e);
3480
- const de = {};
3481
- function Nn(e, t) {
3482
- de[e].delete(t), de[e].size === 0 && delete de[e];
3478
+ ie.subscribe((e) => Fe = e);
3479
+ const he = {};
3480
+ function _n(e, t) {
3481
+ he[e].delete(t), he[e].size === 0 && delete he[e];
3483
3482
  }
3484
- function jt(e) {
3485
- return de[e];
3483
+ function Lt(e) {
3484
+ return he[e];
3486
3485
  }
3487
- function Ln(e) {
3488
- return Ce(e).map((t) => {
3489
- const r = jt(t);
3486
+ function xn(e) {
3487
+ return be(e).map((t) => {
3488
+ const r = Lt(t);
3490
3489
  return [t, r ? [...r] : []];
3491
3490
  }).filter(([, t]) => t.length > 0);
3492
3491
  }
3493
- function ke(e) {
3494
- return e == null ? !1 : Ce(e).some(
3492
+ function $e(e) {
3493
+ return e == null ? !1 : be(e).some(
3495
3494
  (t) => {
3496
3495
  var r;
3497
- return (r = jt(t)) == null ? void 0 : r.size;
3496
+ return (r = Lt(t)) == null ? void 0 : r.size;
3498
3497
  }
3499
3498
  );
3500
3499
  }
3501
- function In(e, t) {
3500
+ function Hn(e, t) {
3502
3501
  return Promise.all(
3503
- t.map((n) => (Nn(e, n), n().then((i) => i.default || i)))
3504
- ).then((n) => Ft(e, ...n));
3502
+ t.map((n) => (_n(e, n), n().then((i) => i.default || i)))
3503
+ ).then((n) => It(e, ...n));
3505
3504
  }
3506
- const ne = {};
3507
- function kt(e) {
3508
- if (!ke(e))
3509
- return e in ne ? ne[e] : Promise.resolve();
3510
- const t = Ln(e);
3511
- return ne[e] = Promise.all(
3505
+ const K = {};
3506
+ function Mt(e) {
3507
+ if (!$e(e))
3508
+ return e in K ? K[e] : Promise.resolve();
3509
+ const t = xn(e);
3510
+ return K[e] = Promise.all(
3512
3511
  t.map(
3513
- ([r, n]) => In(r, n)
3512
+ ([r, n]) => Hn(r, n)
3514
3513
  )
3515
3514
  ).then(() => {
3516
- if (ke(e))
3517
- return kt(e);
3518
- delete ne[e];
3519
- }), ne[e];
3515
+ if ($e(e))
3516
+ return Mt(e);
3517
+ delete K[e];
3518
+ }), K[e];
3520
3519
  }
3521
- const Mn = {
3520
+ const Sn = {
3522
3521
  number: {
3523
3522
  scientific: { notation: "scientific" },
3524
3523
  engineering: { notation: "engineering" },
@@ -3547,159 +3546,159 @@ const Mn = {
3547
3546
  timeZoneName: "short"
3548
3547
  }
3549
3548
  }
3550
- }, $n = {
3549
+ }, Tn = {
3551
3550
  fallbackLocale: null,
3552
3551
  loadingDelay: 200,
3553
- formats: Mn,
3552
+ formats: Sn,
3554
3553
  warnOnMissingMessages: !0,
3555
3554
  handleMissingMessage: void 0,
3556
3555
  ignoreTag: !0
3557
- }, Rn = $n;
3558
- function Y() {
3559
- return Rn;
3556
+ }, Bn = Tn;
3557
+ function Z() {
3558
+ return Bn;
3560
3559
  }
3561
- const Ne = xe(!1);
3562
- var Un = Object.defineProperty, Dn = Object.defineProperties, Gn = Object.getOwnPropertyDescriptors, at = Object.getOwnPropertySymbols, Fn = Object.prototype.hasOwnProperty, jn = Object.prototype.propertyIsEnumerable, ut = (e, t, r) => t in e ? Un(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, kn = (e, t) => {
3560
+ const Be = de(!1);
3561
+ var An = Object.defineProperty, wn = Object.defineProperties, Pn = Object.getOwnPropertyDescriptors, nt = Object.getOwnPropertySymbols, On = Object.prototype.hasOwnProperty, Nn = Object.prototype.propertyIsEnumerable, it = (e, t, r) => t in e ? An(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Cn = (e, t) => {
3563
3562
  for (var r in t || (t = {}))
3564
- Fn.call(t, r) && ut(e, r, t[r]);
3565
- if (at)
3566
- for (var r of at(t))
3567
- jn.call(t, r) && ut(e, r, t[r]);
3563
+ On.call(t, r) && it(e, r, t[r]);
3564
+ if (nt)
3565
+ for (var r of nt(t))
3566
+ Nn.call(t, r) && it(e, r, t[r]);
3568
3567
  return e;
3569
- }, Vn = (e, t) => Dn(e, Gn(t));
3570
- let Ve;
3571
- const ye = xe(null);
3572
- function ht(e) {
3568
+ }, In = (e, t) => wn(e, Pn(t));
3569
+ let Ue;
3570
+ const fe = de(null);
3571
+ function st(e) {
3573
3572
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3574
3573
  }
3575
- function Ce(e, t = Y().fallbackLocale) {
3576
- const r = ht(e);
3577
- return t ? [.../* @__PURE__ */ new Set([...r, ...ht(t)])] : r;
3574
+ function be(e, t = Z().fallbackLocale) {
3575
+ const r = st(e);
3576
+ return t ? [.../* @__PURE__ */ new Set([...r, ...st(t)])] : r;
3578
3577
  }
3579
- function V() {
3580
- return Ve ?? void 0;
3578
+ function U() {
3579
+ return Ue ?? void 0;
3581
3580
  }
3582
- ye.subscribe((e) => {
3583
- Ve = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3581
+ fe.subscribe((e) => {
3582
+ Ue = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3584
3583
  });
3585
- const Xn = (e) => {
3586
- if (e && Pn(e) && ke(e)) {
3587
- const { loadingDelay: t } = Y();
3584
+ const Ln = (e) => {
3585
+ if (e && En(e) && $e(e)) {
3586
+ const { loadingDelay: t } = Z();
3588
3587
  let r;
3589
- return typeof window < "u" && V() != null && t ? r = window.setTimeout(
3590
- () => Ne.set(!0),
3588
+ return typeof window < "u" && U() != null && t ? r = window.setTimeout(
3589
+ () => Be.set(!0),
3591
3590
  t
3592
- ) : Ne.set(!0), kt(e).then(() => {
3593
- ye.set(e);
3591
+ ) : Be.set(!0), Mt(e).then(() => {
3592
+ fe.set(e);
3594
3593
  }).finally(() => {
3595
- clearTimeout(r), Ne.set(!1);
3594
+ clearTimeout(r), Be.set(!1);
3596
3595
  });
3597
3596
  }
3598
- return ye.set(e);
3599
- }, te = Vn(kn({}, ye), {
3600
- set: Xn
3601
- }), He = (e) => {
3597
+ return fe.set(e);
3598
+ }, J = In(Cn({}, fe), {
3599
+ set: Ln
3600
+ }), ve = (e) => {
3602
3601
  const t = /* @__PURE__ */ Object.create(null);
3603
3602
  return (n) => {
3604
3603
  const i = JSON.stringify(n);
3605
3604
  return i in t ? t[i] : t[i] = e(n);
3606
3605
  };
3607
3606
  };
3608
- var zn = Object.defineProperty, Ee = Object.getOwnPropertySymbols, Vt = Object.prototype.hasOwnProperty, Xt = Object.prototype.propertyIsEnumerable, lt = (e, t, r) => t in e ? zn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, We = (e, t) => {
3607
+ var Mn = Object.defineProperty, me = Object.getOwnPropertySymbols, Rt = Object.prototype.hasOwnProperty, $t = Object.prototype.propertyIsEnumerable, ot = (e, t, r) => t in e ? Mn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, je = (e, t) => {
3609
3608
  for (var r in t || (t = {}))
3610
- Vt.call(t, r) && lt(e, r, t[r]);
3611
- if (Ee)
3612
- for (var r of Ee(t))
3613
- Xt.call(t, r) && lt(e, r, t[r]);
3609
+ Rt.call(t, r) && ot(e, r, t[r]);
3610
+ if (me)
3611
+ for (var r of me(t))
3612
+ $t.call(t, r) && ot(e, r, t[r]);
3614
3613
  return e;
3615
- }, re = (e, t) => {
3614
+ }, Y = (e, t) => {
3616
3615
  var r = {};
3617
3616
  for (var n in e)
3618
- Vt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3619
- if (e != null && Ee)
3620
- for (var n of Ee(e))
3621
- t.indexOf(n) < 0 && Xt.call(e, n) && (r[n] = e[n]);
3617
+ Rt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3618
+ if (e != null && me)
3619
+ for (var n of me(e))
3620
+ t.indexOf(n) < 0 && $t.call(e, n) && (r[n] = e[n]);
3622
3621
  return r;
3623
3622
  };
3624
- const ae = (e, t) => {
3625
- const { formats: r } = Y();
3623
+ const ne = (e, t) => {
3624
+ const { formats: r } = Z();
3626
3625
  if (e in r && t in r[e])
3627
3626
  return r[e][t];
3628
3627
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3629
- }, Wn = He(
3628
+ }, Rn = ve(
3630
3629
  (e) => {
3631
- var t = e, { locale: r, format: n } = t, i = re(t, ["locale", "format"]);
3630
+ var t = e, { locale: r, format: n } = t, i = Y(t, ["locale", "format"]);
3632
3631
  if (r == null)
3633
3632
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3634
- return n && (i = ae("number", n)), new Intl.NumberFormat(r, i);
3633
+ return n && (i = ne("number", n)), new Intl.NumberFormat(r, i);
3635
3634
  }
3636
- ), Zn = He(
3635
+ ), $n = ve(
3637
3636
  (e) => {
3638
- var t = e, { locale: r, format: n } = t, i = re(t, ["locale", "format"]);
3637
+ var t = e, { locale: r, format: n } = t, i = Y(t, ["locale", "format"]);
3639
3638
  if (r == null)
3640
3639
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3641
- return n ? i = ae("date", n) : Object.keys(i).length === 0 && (i = ae("date", "short")), new Intl.DateTimeFormat(r, i);
3640
+ return n ? i = ne("date", n) : Object.keys(i).length === 0 && (i = ne("date", "short")), new Intl.DateTimeFormat(r, i);
3642
3641
  }
3643
- ), Qn = He(
3642
+ ), Un = ve(
3644
3643
  (e) => {
3645
- var t = e, { locale: r, format: n } = t, i = re(t, ["locale", "format"]);
3644
+ var t = e, { locale: r, format: n } = t, i = Y(t, ["locale", "format"]);
3646
3645
  if (r == null)
3647
3646
  throw new Error(
3648
3647
  '[svelte-i18n] A "locale" must be set to format time values'
3649
3648
  );
3650
- return n ? i = ae("time", n) : Object.keys(i).length === 0 && (i = ae("time", "short")), new Intl.DateTimeFormat(r, i);
3649
+ return n ? i = ne("time", n) : Object.keys(i).length === 0 && (i = ne("time", "short")), new Intl.DateTimeFormat(r, i);
3651
3650
  }
3652
- ), qn = (e = {}) => {
3651
+ ), Dn = (e = {}) => {
3653
3652
  var t = e, {
3654
- locale: r = V()
3655
- } = t, n = re(t, [
3653
+ locale: r = U()
3654
+ } = t, n = Y(t, [
3656
3655
  "locale"
3657
3656
  ]);
3658
- return Wn(We({ locale: r }, n));
3659
- }, Jn = (e = {}) => {
3657
+ return Rn(je({ locale: r }, n));
3658
+ }, Gn = (e = {}) => {
3660
3659
  var t = e, {
3661
- locale: r = V()
3662
- } = t, n = re(t, [
3660
+ locale: r = U()
3661
+ } = t, n = Y(t, [
3663
3662
  "locale"
3664
3663
  ]);
3665
- return Zn(We({ locale: r }, n));
3666
- }, Yn = (e = {}) => {
3664
+ return $n(je({ locale: r }, n));
3665
+ }, Fn = (e = {}) => {
3667
3666
  var t = e, {
3668
- locale: r = V()
3669
- } = t, n = re(t, [
3667
+ locale: r = U()
3668
+ } = t, n = Y(t, [
3670
3669
  "locale"
3671
3670
  ]);
3672
- return Qn(We({ locale: r }, n));
3673
- }, Kn = He(
3671
+ return Un(je({ locale: r }, n));
3672
+ }, jn = ve(
3674
3673
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3675
- (e, t = V()) => new Sn(e, t, Y().formats, {
3676
- ignoreTag: Y().ignoreTag
3674
+ (e, t = U()) => new pn(e, t, Z().formats, {
3675
+ ignoreTag: Z().ignoreTag
3677
3676
  })
3678
- ), ei = (e, t = {}) => {
3677
+ ), kn = (e, t = {}) => {
3679
3678
  var r, n, i, s;
3680
- let o = t;
3681
- typeof e == "object" && (o = e, e = o.id);
3679
+ let u = t;
3680
+ typeof e == "object" && (u = e, e = u.id);
3682
3681
  const {
3683
- values: u,
3684
- locale: l = V(),
3682
+ values: o,
3683
+ locale: l = U(),
3685
3684
  default: a
3686
- } = o;
3685
+ } = u;
3687
3686
  if (l == null)
3688
3687
  throw new Error(
3689
3688
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3690
3689
  );
3691
- let h = Dt(e, l);
3690
+ let h = Nt(e, l);
3692
3691
  if (!h)
3693
- h = (s = (i = (n = (r = Y()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: a })) != null ? i : a) != null ? s : e;
3692
+ h = (s = (i = (n = (r = Z()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: a })) != null ? i : a) != null ? s : e;
3694
3693
  else if (typeof h != "string")
3695
3694
  return console.warn(
3696
3695
  `[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.`
3697
3696
  ), h;
3698
- if (!u)
3697
+ if (!o)
3699
3698
  return h;
3700
3699
  let c = h;
3701
3700
  try {
3702
- c = Kn(h, l).format(u);
3701
+ c = jn(h, l).format(o);
3703
3702
  } catch (f) {
3704
3703
  f instanceof Error && console.warn(
3705
3704
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3707,570 +3706,568 @@ const ae = (e, t) => {
3707
3706
  );
3708
3707
  }
3709
3708
  return c;
3710
- }, ti = (e, t) => Yn(t).format(e), ri = (e, t) => Jn(t).format(e), ni = (e, t) => qn(t).format(e), ii = (e, t = V()) => Dt(e, t), si = ee([te, he], () => ei);
3711
- ee([te], () => ti);
3712
- ee([te], () => ri);
3713
- ee([te], () => ni);
3714
- ee([te, he], () => ii);
3715
- function oi(e, t) {
3716
- if (e) {
3717
- const r = document.createElement("style");
3718
- r.innerHTML = t, e.appendChild(r);
3719
- }
3720
- }
3721
- function ai(e, t) {
3722
- if (!e || !t)
3723
- return;
3724
- const r = new URL(t);
3725
- fetch(r.href).then((n) => n.text()).then((n) => {
3726
- const i = document.createElement("style");
3727
- i.innerHTML = n, e && e.appendChild(i);
3728
- }).catch((n) => {
3729
- console.error("There was an error while trying to load client styling from URL", n);
3730
- });
3731
- }
3732
- function ui(e, t, r) {
3733
- if (window.emMessageBus) {
3734
- const n = document.createElement("style");
3735
- window.emMessageBus.subscribe(t, (i) => {
3736
- n.innerHTML = i, e && e.appendChild(n);
3737
- });
3738
- }
3739
- }
3740
- function ft(e, t) {
3741
- Ft(e, t);
3742
- }
3743
- function hi(e) {
3744
- te.set(e);
3745
- }
3746
- const ct = {
3709
+ }, Vn = (e, t) => Fn(t).format(e), Xn = (e, t) => Gn(t).format(e), zn = (e, t) => Dn(t).format(e), Wn = (e, t = U()) => Nt(e, t), Zn = q([J, ie], () => kn);
3710
+ q([J], () => Vn);
3711
+ q([J], () => Xn);
3712
+ q([J], () => zn);
3713
+ q([J, ie], () => Wn);
3714
+ function at(e, t) {
3715
+ It(e, t);
3716
+ }
3717
+ function Qn(e) {
3718
+ J.set(e);
3719
+ }
3720
+ const ut = {
3747
3721
  en: {
3748
- topCategories: "Top Categories",
3749
- otherCategories: "Other Categories",
3750
- loading: "Loading, please wait...",
3751
- games: "games"
3722
+ categories: "Categories",
3723
+ providers: "Suppliers"
3752
3724
  },
3753
3725
  "zh-hk": {
3754
- topCategories: "热门类别",
3755
- otherCategories: "其他类别",
3756
- loading: "加载请稍候...",
3757
- games: "游戏"
3726
+ categories: "类别",
3727
+ providers: "供应商"
3758
3728
  },
3759
3729
  de: {
3760
- topCategories: "Top Kategorien",
3761
- otherCategories: "Andere Kategorien",
3762
- loading: "Es lädt, bitte warten...",
3763
- games: "Spiele"
3730
+ categories: "Kategorien",
3731
+ providers: "Anbieter"
3764
3732
  },
3765
3733
  it: {
3766
- topCategories: "Top Categories",
3767
- otherCategories: "Other Categories",
3768
- loading: "Loading, please wait...",
3769
- games: "games"
3734
+ categories: "Categories",
3735
+ providers: "Suppliers"
3770
3736
  },
3771
3737
  fr: {
3772
- topCategories: "Catégories principales",
3773
- otherCategories: "Autres catégories",
3774
- loading: "Chargement, veuillez patienter...",
3775
- games: "jeux"
3738
+ categories: "Catégories",
3739
+ providers: "Fournisseurs"
3776
3740
  },
3777
3741
  es: {
3778
- topCategories: "Categorias Top",
3779
- otherCategories: "Otras Categorias",
3780
- loading: "Cargando...",
3781
- games: "juegos"
3742
+ categories: "Categorias",
3743
+ providers: "Proveedores"
3782
3744
  },
3783
3745
  tr: {
3784
- topCategories: "En İyi Kategoriler",
3785
- otherCategories: "Diğer Kategoriler",
3786
- loading: "Yükleniyor, lütfen bekleyin...",
3787
- games: "oyunlar"
3746
+ categories: "Kategoriler",
3747
+ providers: "Tedarikçiler"
3788
3748
  },
3789
3749
  ru: {
3790
- topCategories: "Top Categories",
3791
- otherCategories: "Other Categories",
3792
- loading: "Loading, please wait...",
3793
- games: "games"
3750
+ categories: "Categories",
3751
+ providers: "Suppliers"
3794
3752
  },
3795
3753
  ro: {
3796
- topCategories: "Categorii de top",
3797
- otherCategories: "Alte categorii",
3798
- loading: "Se incarca, te rugam asteapta…",
3799
- games: "jocuri"
3754
+ categories: "Categorii",
3755
+ providers: "Furnizori"
3800
3756
  },
3801
3757
  hr: {
3802
- topCategories: "Najbolje kategorije",
3803
- otherCategories: "Ostale kategorije",
3804
- loading: "Učitavam",
3805
- games: "Igre"
3758
+ categories: "Kategorije",
3759
+ providers: "Provideri"
3806
3760
  },
3807
3761
  hu: {
3808
- topCategories: "Top Categories",
3809
- otherCategories: "Other Categories",
3810
- loading: "Loading, please wait...",
3811
- games: "games"
3762
+ categories: "Categories",
3763
+ providers: "Suppliers"
3812
3764
  },
3813
3765
  pl: {
3814
- topCategories: "Top Categories",
3815
- otherCategories: "Other Categories",
3816
- loading: "Loading, please wait...",
3817
- games: "games"
3766
+ categories: "Categories",
3767
+ providers: "Suppliers"
3818
3768
  },
3819
3769
  pt: {
3820
- topCategories: "Top Categories",
3821
- otherCategories: "Other Categories",
3822
- loading: "Loading, please wait...",
3823
- games: "games"
3770
+ categories: "Categories",
3771
+ providers: "Suppliers"
3824
3772
  },
3825
3773
  sl: {
3826
- topCategories: "Top Categories",
3827
- otherCategories: "Other Categories",
3828
- loading: "Loading, please wait...",
3829
- games: "games"
3774
+ categories: "Categories",
3775
+ providers: "Suppliers"
3830
3776
  },
3831
3777
  sr: {
3832
- topCategories: "Top Categories",
3833
- otherCategories: "Other Categories",
3834
- loading: "Loading, please wait...",
3835
- games: "games"
3778
+ categories: "Categories",
3779
+ providers: "Suppliers"
3836
3780
  },
3837
3781
  "pt-br": {
3838
- topCategories: "Categorias Principais",
3839
- otherCategories: "Outras Categorias",
3840
- Loading: "Carregando, por favor espere...",
3841
- games: "jogos"
3782
+ categories: "Categorias",
3783
+ providers: "Provedores"
3842
3784
  },
3843
3785
  "es-mx": {
3844
- topCategories: "Categorias Principales",
3845
- otherCategories: "Otras Categorias",
3846
- Loading: "Cargando, por favor espere...",
3847
- games: "juegos"
3786
+ categories: "Categorias",
3787
+ providers: "Proveedores"
3848
3788
  },
3849
3789
  "en-us": {
3850
- topCategories: "Top Categories",
3851
- otherCategories: "Other Categories",
3852
- loading: "Loading, please wait...",
3853
- games: "games"
3790
+ categories: "Categories",
3791
+ providers: "Suppliers"
3854
3792
  }
3855
3793
  };
3856
- function li(e) {
3857
- Jt(e, "svelte-2l182v", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}.CasinoCategories{display:flex;flex-direction:column;gap:1rem;padding:10px 60px}.CategoryTitle{font-weight:500;position:relative;right:30px;margin:10px 0;font-size:18px;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.Category{border-radius:7px;display:flex;align-items:center;gap:16px;max-width:300px}.Category.Active{box-shadow:15px 15px 30px var(--emw--color-gray-100, #E6E6E6)}.CategoryTextContainer{display:flex;flex-direction:column;justify-content:center;gap:10px;font-size:15px;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.CategoryTextContainer p:first-child{font-weight:600;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.CategoryTextContainer p:last-child{color:var(--emw--color-gray-150, #828282);font-weight:300}.CategoryImage{border-radius:4px;object-fit:cover;height:64px;width:64px;font-weight:100}.Message{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);font-weight:600}");
3858
- }
3859
- function gt(e, t, r) {
3860
- const n = e.slice();
3861
- return n[23] = t[r], n;
3862
- }
3863
- function mt(e, t, r) {
3864
- const n = e.slice();
3865
- return n[23] = t[r], n;
3866
- }
3867
- function fi(e) {
3868
- let t, r, n = (
3869
- /*$_*/
3870
- e[5]("topCategories") + ""
3871
- ), i, s, o, u, l = (
3872
- /*$_*/
3873
- e[5]("otherCategories") + ""
3874
- ), a, h, c = ce(
3875
- /*topCategories*/
3876
- e[3]
3877
- ), f = [];
3878
- for (let g = 0; g < c.length; g += 1)
3879
- f[g] = pt(mt(e, c, g));
3880
- let p = ce(
3881
- /*otherCategories*/
3882
- e[4]
3883
- ), d = [];
3884
- for (let g = 0; g < p.length; g += 1)
3885
- d[g] = dt(gt(e, p, g));
3886
- return {
3887
- c() {
3888
- t = B("div"), r = B("h4"), i = D(n), s = U();
3889
- for (let g = 0; g < f.length; g += 1)
3890
- f[g].c();
3891
- o = U(), u = B("h4"), a = D(l), h = U();
3892
- for (let g = 0; g < d.length; g += 1)
3893
- d[g].c();
3894
- L(r, "class", "CategoryTitle"), L(u, "class", "CategoryTitle"), L(t, "class", "CasinoCategories");
3895
- },
3896
- m(g, E) {
3897
- K(g, t, E), x(t, r), x(r, i), x(t, s);
3898
- for (let m = 0; m < f.length; m += 1)
3899
- f[m] && f[m].m(t, null);
3900
- x(t, o), x(t, u), x(u, a), x(t, h);
3901
- for (let m = 0; m < d.length; m += 1)
3902
- d[m] && d[m].m(t, null);
3903
- },
3904
- p(g, E) {
3905
- if (E & /*$_*/
3906
- 32 && n !== (n = /*$_*/
3907
- g[5]("topCategories") + "") && F(i, n), E & /*activecategory, topCategories, openGameCategory, $_*/
3908
- 105) {
3909
- c = ce(
3910
- /*topCategories*/
3911
- g[3]
3912
- );
3913
- let m;
3914
- for (m = 0; m < c.length; m += 1) {
3915
- const T = mt(g, c, m);
3916
- f[m] ? f[m].p(T, E) : (f[m] = pt(T), f[m].c(), f[m].m(t, o));
3917
- }
3918
- for (; m < f.length; m += 1)
3919
- f[m].d(1);
3920
- f.length = c.length;
3921
- }
3922
- if (E & /*$_*/
3923
- 32 && l !== (l = /*$_*/
3924
- g[5]("otherCategories") + "") && F(a, l), E & /*activecategory, otherCategories, openGameCategory, $_*/
3925
- 113) {
3926
- p = ce(
3927
- /*otherCategories*/
3928
- g[4]
3929
- );
3930
- let m;
3931
- for (m = 0; m < p.length; m += 1) {
3932
- const T = gt(g, p, m);
3933
- d[m] ? d[m].p(T, E) : (d[m] = dt(T), d[m].c(), d[m].m(t, null));
3934
- }
3935
- for (; m < d.length; m += 1)
3936
- d[m].d(1);
3937
- d.length = p.length;
3794
+ if (typeof window < "u") {
3795
+ let e = function(t) {
3796
+ return function(...r) {
3797
+ try {
3798
+ return t.apply(this, r);
3799
+ } catch (n) {
3800
+ if (n instanceof DOMException && n.message.includes("has already been used with this registry") || n.message.includes("Cannot define multiple custom elements with the same tag name"))
3801
+ return !1;
3802
+ throw n;
3938
3803
  }
3939
- },
3940
- d(g) {
3941
- g && k(t), qe(f, g), qe(d, g);
3942
- }
3804
+ };
3943
3805
  };
3806
+ customElements.define = e(customElements.define), import("./CasinoCategories-C45Gost4.js").then(({ default: t }) => {
3807
+ !customElements.get("casino-categories") && customElements.define("casino-categories", t.element);
3808
+ });
3944
3809
  }
3945
- function ci(e) {
3946
- let t;
3947
- return {
3948
- c() {
3949
- t = B("p"), t.textContent = "Loading, please wait...", L(t, "class", "Message");
3950
- },
3951
- m(r, n) {
3952
- K(r, t, n);
3953
- },
3954
- p: N,
3955
- d(r) {
3956
- r && k(t);
3957
- }
3810
+ if (typeof window < "u") {
3811
+ let e = function(t) {
3812
+ return function(...r) {
3813
+ try {
3814
+ return t.apply(this, r);
3815
+ } catch (n) {
3816
+ if (n instanceof DOMException && n.message.includes("has already been used with this registry") || n.message.includes("Cannot define multiple custom elements with the same tag name"))
3817
+ return !1;
3818
+ throw n;
3819
+ }
3820
+ };
3958
3821
  };
3822
+ customElements.define = e(customElements.define), import("./CasinoProviders-DkCsxxN1.js").then(({ default: t }) => {
3823
+ !customElements.get("casino-providers") && customElements.define("casino-providers", t.element);
3824
+ });
3959
3825
  }
3960
- function pt(e) {
3961
- let t, r, n, i, s, o, u, l = (
3962
- /*category*/
3963
- e[23].name + ""
3964
- ), a, h, c, f = (
3965
- /*category*/
3966
- e[23].games.count + ""
3967
- ), p, d, g = (
3968
- /*$_*/
3969
- e[5]("games") + ""
3970
- ), E, m, T, S;
3971
- function w() {
3972
- return (
3973
- /*click_handler*/
3974
- e[15](
3975
- /*category*/
3976
- e[23]
3977
- )
3978
- );
3826
+ const k = "__WIDGET_GLOBAL_STYLE_CACHE__";
3827
+ function qn(e, t) {
3828
+ if (e) {
3829
+ const r = document.createElement("style");
3830
+ r.innerHTML = t, e.appendChild(r);
3979
3831
  }
3980
- return {
3981
- c() {
3982
- t = B("div"), r = B("ui-image"), s = U(), o = B("div"), u = B("p"), a = D(l), h = U(), c = B("p"), p = D(f), d = U(), E = D(g), be(r.src, n = /*category*/
3983
- e[23].icon) || $(r, "src", n), $(r, "alt", i = /*category*/
3984
- e[23].name), $(r, "class", "CategoryImage"), L(o, "class", "CategoryTextContainer"), L(t, "class", m = "Category " + /*activecategory*/
3985
- (e[0] === /*category*/
3986
- e[23].id ? "Active" : ""));
3987
- },
3988
- m(A, H) {
3989
- K(A, t, H), x(t, r), x(t, s), x(t, o), x(o, u), x(u, a), x(o, h), x(o, c), x(c, p), x(c, d), x(c, E), T || (S = Et(t, "click", w), T = !0);
3990
- },
3991
- p(A, H) {
3992
- e = A, H & /*topCategories*/
3993
- 8 && !be(r.src, n = /*category*/
3994
- e[23].icon) && $(r, "src", n), H & /*topCategories*/
3995
- 8 && i !== (i = /*category*/
3996
- e[23].name) && $(r, "alt", i), H & /*topCategories*/
3997
- 8 && l !== (l = /*category*/
3998
- e[23].name + "") && F(a, l), H & /*topCategories*/
3999
- 8 && f !== (f = /*category*/
4000
- e[23].games.count + "") && F(p, f), H & /*$_*/
4001
- 32 && g !== (g = /*$_*/
4002
- e[5]("games") + "") && F(E, g), H & /*activecategory, topCategories*/
4003
- 9 && m !== (m = "Category " + /*activecategory*/
4004
- (e[0] === /*category*/
4005
- e[23].id ? "Active" : "")) && L(t, "class", m);
4006
- },
4007
- d(A) {
4008
- A && k(t), T = !1, S();
4009
- }
4010
- };
4011
3832
  }
4012
- function dt(e) {
4013
- let t, r, n, i, s, o, u, l = (
4014
- /*category*/
4015
- e[23].name + ""
4016
- ), a, h, c, f = (
4017
- /*category*/
4018
- e[23].games.count + ""
4019
- ), p, d, g = (
4020
- /*$_*/
4021
- e[5]("games") + ""
4022
- ), E, m, T, S, w;
4023
- function A() {
4024
- return (
4025
- /*click_handler_1*/
4026
- e[16](
4027
- /*category*/
4028
- e[23]
4029
- )
4030
- );
4031
- }
4032
- return {
4033
- c() {
4034
- t = B("div"), r = B("ui-image"), s = U(), o = B("div"), u = B("p"), a = D(l), h = U(), c = B("p"), p = D(f), d = U(), E = D(g), m = U(), be(r.src, n = /*category*/
4035
- e[23].icon) || $(r, "src", n), $(r, "alt", i = /*category*/
4036
- e[23].name), $(r, "class", "CategoryImage"), L(o, "class", "CategoryTextContainer"), L(t, "class", T = "Category " + /*activecategory*/
4037
- (e[0] === /*category*/
4038
- e[23].id ? "Active" : ""));
4039
- },
4040
- m(H, P) {
4041
- K(H, t, P), x(t, r), x(t, s), x(t, o), x(o, u), x(u, a), x(o, h), x(o, c), x(c, p), x(c, d), x(c, E), x(t, m), S || (w = Et(t, "click", A), S = !0);
4042
- },
4043
- p(H, P) {
4044
- e = H, P & /*otherCategories*/
4045
- 16 && !be(r.src, n = /*category*/
4046
- e[23].icon) && $(r, "src", n), P & /*otherCategories*/
4047
- 16 && i !== (i = /*category*/
4048
- e[23].name) && $(r, "alt", i), P & /*otherCategories*/
4049
- 16 && l !== (l = /*category*/
4050
- e[23].name + "") && F(a, l), P & /*otherCategories*/
4051
- 16 && f !== (f = /*category*/
4052
- e[23].games.count + "") && F(p, f), P & /*$_*/
4053
- 32 && g !== (g = /*$_*/
4054
- e[5]("games") + "") && F(E, g), P & /*activecategory, otherCategories*/
4055
- 17 && T !== (T = "Category " + /*activecategory*/
4056
- (e[0] === /*category*/
4057
- e[23].id ? "Active" : "")) && L(t, "class", T);
4058
- },
4059
- d(H) {
4060
- H && k(t), S = !1, w();
3833
+ function Jn(e, t) {
3834
+ if (!e || !t)
3835
+ return;
3836
+ const r = new URL(t);
3837
+ fetch(r.href).then((n) => n.text()).then((n) => {
3838
+ const i = document.createElement("style");
3839
+ i.innerHTML = n, e && e.appendChild(i);
3840
+ }).catch((n) => {
3841
+ console.error("There was an error while trying to load client styling from URL", n);
3842
+ });
3843
+ }
3844
+ function Yn(e, t, r, n = !1) {
3845
+ if (!window.emMessageBus)
3846
+ return;
3847
+ if (!("adoptedStyleSheets" in Document.prototype) || !n)
3848
+ return r = Kn(e, t), r;
3849
+ window[k] || (window[k] = {}), r = ei(e, t);
3850
+ const s = r.unsubscribe.bind(r), u = () => {
3851
+ if (window[k][t]) {
3852
+ const o = window[k][t];
3853
+ o.refCount > 1 ? o.refCount = o.refCount - 1 : delete window[k][t];
4061
3854
  }
3855
+ s();
4062
3856
  };
3857
+ return r.unsubscribe = u, r;
4063
3858
  }
4064
- function gi(e) {
4065
- let t;
4066
- function r(s, o) {
4067
- return (
4068
- /*isLoading*/
4069
- s[2] ? ci : fi
4070
- );
4071
- }
4072
- let n = r(e), i = n(e);
3859
+ function Kn(e, t) {
3860
+ const r = document.createElement("style");
3861
+ return window.emMessageBus.subscribe(t, (n) => {
3862
+ e && (r.innerHTML = n, e.appendChild(r));
3863
+ });
3864
+ }
3865
+ function ei(e, t) {
3866
+ return window.emMessageBus.subscribe(t, (r) => {
3867
+ if (!e)
3868
+ return;
3869
+ const n = e.getRootNode(), i = window[k];
3870
+ let s = i[t]?.sheet;
3871
+ s ? i[t].refCount = i[t].refCount + 1 : (s = new CSSStyleSheet(), s.replaceSync(r), i[t] = {
3872
+ sheet: s,
3873
+ refCount: 1
3874
+ });
3875
+ const u = n.adoptedStyleSheets || [];
3876
+ u.includes(s) || (n.adoptedStyleSheets = [...u, s]);
3877
+ });
3878
+ }
3879
+ function ti(e) {
3880
+ Gt(e, "svelte-10w1o04", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}.NotVisible{display:none}.CasinoCategoriesProviders{background-color:var(--emw--casino-color-bg, var(--emw--color-background, #07072A))}.Header{display:flex;max-width:100%;min-width:320px;margin-bottom:14px;font-size:18px;background-color:var(--emw--casino-color-bg, var(--emw--color-background, #07072A))}.HeaderButton{flex:1 2 0;min-height:48px;margin:0;border:none;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));background-color:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));box-shadow:1px 2px 2px rgba(var(--emw--color-gray-150, #828282), 0.1)}.HeaderButton.Active{box-shadow:none;border-bottom:2px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))}");
3881
+ }
3882
+ function ri(e) {
3883
+ let t, r, n, i, s = (
3884
+ /*$_*/
3885
+ e[12]("categories") + ""
3886
+ ), u, o, l, a, h = (
3887
+ /*$_*/
3888
+ e[12]("providers") + ""
3889
+ ), c, f, v, b, d, x, L, B, y, O, w, R;
4073
3890
  return {
4074
3891
  c() {
4075
- t = B("div"), i.c();
3892
+ t = C("div"), r = C("div"), n = C("div"), i = C("button"), u = le(s), l = ye(), a = C("button"), c = le(h), v = ye(), b = C("div"), d = C("casino-categories"), L = ye(), B = C("div"), y = C("casino-providers"), N(i, "class", o = "HeaderButton " + /*activeTab*/
3893
+ (e[11] === "categories" ? "Active" : "")), N(a, "class", f = "HeaderButton " + /*activeTab*/
3894
+ (e[11] === "providers" ? "Active" : "")), N(n, "class", "Header"), _(
3895
+ d,
3896
+ "endpoint",
3897
+ /*endpointcategories*/
3898
+ e[0]
3899
+ ), _(
3900
+ d,
3901
+ "datasource",
3902
+ /*datasourcecategories*/
3903
+ e[1]
3904
+ ), _(
3905
+ d,
3906
+ "activecategory",
3907
+ /*activecategory*/
3908
+ e[2]
3909
+ ), _(
3910
+ d,
3911
+ "excludedflags",
3912
+ /*excludedflags*/
3913
+ e[5]
3914
+ ), _(
3915
+ d,
3916
+ "lang",
3917
+ /*lang*/
3918
+ e[6]
3919
+ ), _(
3920
+ d,
3921
+ "clientstyling",
3922
+ /*clientstyling*/
3923
+ e[7]
3924
+ ), _(
3925
+ d,
3926
+ "clientstylingurl",
3927
+ /*clientstylingurl*/
3928
+ e[8]
3929
+ ), _(
3930
+ d,
3931
+ "mbsource",
3932
+ /*mbsource*/
3933
+ e[9]
3934
+ ), N(b, "class", x = /*activeTab*/
3935
+ e[11] === "providers" ? "NotVisible" : ""), _(
3936
+ y,
3937
+ "endpoint",
3938
+ /*endpointproviders*/
3939
+ e[3]
3940
+ ), _(
3941
+ y,
3942
+ "datasource",
3943
+ /*datasourceproviders*/
3944
+ e[4]
3945
+ ), _(
3946
+ y,
3947
+ "lang",
3948
+ /*lang*/
3949
+ e[6]
3950
+ ), _(
3951
+ y,
3952
+ "clientstyling",
3953
+ /*clientstyling*/
3954
+ e[7]
3955
+ ), _(
3956
+ y,
3957
+ "clientstylingurl",
3958
+ /*clientstylingurl*/
3959
+ e[8]
3960
+ ), _(
3961
+ y,
3962
+ "mbsource",
3963
+ /*mbsource*/
3964
+ e[9]
3965
+ ), N(B, "class", O = /*activeTab*/
3966
+ e[11] === "categories" ? "NotVisible" : ""), N(r, "class", "CasinoCategoriesProviders");
4076
3967
  },
4077
- m(s, o) {
4078
- K(s, t, o), i.m(t, null), e[17](t);
3968
+ m(E, m) {
3969
+ ft(E, t, m), A(t, r), A(r, n), A(n, i), A(i, u), A(n, l), A(n, a), A(a, c), A(r, v), A(r, b), A(b, d), A(r, L), A(r, B), A(B, y), e[17](t), w || (R = [
3970
+ Xe(
3971
+ i,
3972
+ "click",
3973
+ /*click_handler*/
3974
+ e[15]
3975
+ ),
3976
+ Xe(
3977
+ a,
3978
+ "click",
3979
+ /*click_handler_1*/
3980
+ e[16]
3981
+ )
3982
+ ], w = !0);
4079
3983
  },
4080
- p(s, [o]) {
4081
- n === (n = r(s)) && i ? i.p(s, o) : (i.d(1), i = n(s), i && (i.c(), i.m(t, null)));
3984
+ p(E, [m]) {
3985
+ m & /*$_*/
3986
+ 4096 && s !== (s = /*$_*/
3987
+ E[12]("categories") + "") && ze(u, s), m & /*activeTab*/
3988
+ 2048 && o !== (o = "HeaderButton " + /*activeTab*/
3989
+ (E[11] === "categories" ? "Active" : "")) && N(i, "class", o), m & /*$_*/
3990
+ 4096 && h !== (h = /*$_*/
3991
+ E[12]("providers") + "") && ze(c, h), m & /*activeTab*/
3992
+ 2048 && f !== (f = "HeaderButton " + /*activeTab*/
3993
+ (E[11] === "providers" ? "Active" : "")) && N(a, "class", f), m & /*endpointcategories*/
3994
+ 1 && _(
3995
+ d,
3996
+ "endpoint",
3997
+ /*endpointcategories*/
3998
+ E[0]
3999
+ ), m & /*datasourcecategories*/
4000
+ 2 && _(
4001
+ d,
4002
+ "datasource",
4003
+ /*datasourcecategories*/
4004
+ E[1]
4005
+ ), m & /*activecategory*/
4006
+ 4 && _(
4007
+ d,
4008
+ "activecategory",
4009
+ /*activecategory*/
4010
+ E[2]
4011
+ ), m & /*excludedflags*/
4012
+ 32 && _(
4013
+ d,
4014
+ "excludedflags",
4015
+ /*excludedflags*/
4016
+ E[5]
4017
+ ), m & /*lang*/
4018
+ 64 && _(
4019
+ d,
4020
+ "lang",
4021
+ /*lang*/
4022
+ E[6]
4023
+ ), m & /*clientstyling*/
4024
+ 128 && _(
4025
+ d,
4026
+ "clientstyling",
4027
+ /*clientstyling*/
4028
+ E[7]
4029
+ ), m & /*clientstylingurl*/
4030
+ 256 && _(
4031
+ d,
4032
+ "clientstylingurl",
4033
+ /*clientstylingurl*/
4034
+ E[8]
4035
+ ), m & /*mbsource*/
4036
+ 512 && _(
4037
+ d,
4038
+ "mbsource",
4039
+ /*mbsource*/
4040
+ E[9]
4041
+ ), m & /*activeTab*/
4042
+ 2048 && x !== (x = /*activeTab*/
4043
+ E[11] === "providers" ? "NotVisible" : "") && N(b, "class", x), m & /*endpointproviders*/
4044
+ 8 && _(
4045
+ y,
4046
+ "endpoint",
4047
+ /*endpointproviders*/
4048
+ E[3]
4049
+ ), m & /*datasourceproviders*/
4050
+ 16 && _(
4051
+ y,
4052
+ "datasource",
4053
+ /*datasourceproviders*/
4054
+ E[4]
4055
+ ), m & /*lang*/
4056
+ 64 && _(
4057
+ y,
4058
+ "lang",
4059
+ /*lang*/
4060
+ E[6]
4061
+ ), m & /*clientstyling*/
4062
+ 128 && _(
4063
+ y,
4064
+ "clientstyling",
4065
+ /*clientstyling*/
4066
+ E[7]
4067
+ ), m & /*clientstylingurl*/
4068
+ 256 && _(
4069
+ y,
4070
+ "clientstylingurl",
4071
+ /*clientstylingurl*/
4072
+ E[8]
4073
+ ), m & /*mbsource*/
4074
+ 512 && _(
4075
+ y,
4076
+ "mbsource",
4077
+ /*mbsource*/
4078
+ E[9]
4079
+ ), m & /*activeTab*/
4080
+ 2048 && O !== (O = /*activeTab*/
4081
+ E[11] === "categories" ? "NotVisible" : "") && N(B, "class", O);
4082
4082
  },
4083
- i: N,
4084
- o: N,
4085
- d(s) {
4086
- s && k(t), i.d(), e[17](null);
4083
+ i: I,
4084
+ o: I,
4085
+ d(E) {
4086
+ E && Ge(t), e[17](null), w = !1, Q(R);
4087
4087
  }
4088
4088
  };
4089
4089
  }
4090
- function mi(e, t, r) {
4090
+ function ni(e, t, r) {
4091
4091
  let n;
4092
- qt(e, si, (b) => r(5, n = b));
4093
- let { endpoint: i = "" } = t, { datasource: s = "" } = t, { lang: o = "en" } = t, { activecategory: u = "" } = t, { excludedflags: l = "" } = t, { clientstyling: a = "" } = t, { clientstylingurl: h = "" } = t, { translationurl: c = "" } = t, { mbsource: f } = t, p, d = !1;
4094
- const g = [];
4095
- let E = [], m = [];
4096
- Object.keys(ct).forEach((b) => {
4097
- ft(b, ct[b]);
4098
- });
4099
- const T = () => {
4100
- fetch(c).then((M) => M.json()).then((M) => {
4101
- Object.keys(M).forEach((le) => {
4102
- ft(le, M[le]);
4092
+ Dt(e, Zn, (m) => r(12, n = m));
4093
+ let { endpointcategories: i = "" } = t, { datasourcecategories: s = "" } = t, { activecategory: u = "" } = t, { endpointproviders: o = "" } = t, { datasourceproviders: l = "" } = t, { excludedflags: a = "" } = t, { lang: h = "en" } = t, { clientstyling: c = "" } = t, { clientstylingurl: f = "" } = t, { translationurl: v = "" } = t, { mbsource: b } = t, d = "categories", x, L;
4094
+ const B = () => {
4095
+ fetch(v).then((D) => D.json()).then((D) => {
4096
+ Object.keys(D).forEach((ke) => {
4097
+ at(ke, D[ke]);
4103
4098
  });
4104
- }).catch((M) => {
4105
- console.log(M);
4099
+ }).catch((D) => {
4100
+ console.log(D);
4106
4101
  });
4107
- }, S = () => {
4108
- r(2, d = !0);
4109
- const b = new URL(`${i}/v1/casino/groups/${s}`);
4110
- b.searchParams.append("language", o), fetch(b).then((M) => M.json()).then((M) => {
4111
- r(2, d = !1);
4112
- const le = l.split(",").map((j) => j.trim());
4113
- g.push(...M.items);
4114
- const Ze = g.filter((j) => !le.some((Zt) => j.flags?.indexOf(Zt) >= 0));
4115
- r(3, E = Ze.filter((j) => j.isTopCategory === !0)), r(4, m = Ze.filter((j) => j.isTopCategory === !1));
4116
- });
4117
- }, w = (b) => {
4118
- window.postMessage({ type: "OpenGameCategory", categoryId: b }, window.location.href);
4119
- }, A = () => {
4120
- hi(o);
4121
4102
  };
4122
- nr(() => () => {
4103
+ Object.keys(ut).forEach((m) => {
4104
+ at(m, ut[m]);
4105
+ });
4106
+ const y = (m) => {
4107
+ d !== m && r(11, d = m);
4108
+ }, O = () => {
4109
+ Qn(h);
4110
+ };
4111
+ zt(() => () => {
4123
4112
  });
4124
- const H = (b) => w(b.id), P = (b) => w(b.id);
4125
- function Wt(b) {
4126
- Le[b ? "unshift" : "push"](() => {
4127
- p = b, r(1, p);
4113
+ const w = () => y("categories"), R = () => y("providers");
4114
+ function E(m) {
4115
+ Ae[m ? "unshift" : "push"](() => {
4116
+ x = m, r(10, x);
4128
4117
  });
4129
4118
  }
4130
- return e.$$set = (b) => {
4131
- "endpoint" in b && r(7, i = b.endpoint), "datasource" in b && r(8, s = b.datasource), "lang" in b && r(9, o = b.lang), "activecategory" in b && r(0, u = b.activecategory), "excludedflags" in b && r(10, l = b.excludedflags), "clientstyling" in b && r(11, a = b.clientstyling), "clientstylingurl" in b && r(12, h = b.clientstylingurl), "translationurl" in b && r(13, c = b.translationurl), "mbsource" in b && r(14, f = b.mbsource);
4119
+ return e.$$set = (m) => {
4120
+ "endpointcategories" in m && r(0, i = m.endpointcategories), "datasourcecategories" in m && r(1, s = m.datasourcecategories), "activecategory" in m && r(2, u = m.activecategory), "endpointproviders" in m && r(3, o = m.endpointproviders), "datasourceproviders" in m && r(4, l = m.datasourceproviders), "excludedflags" in m && r(5, a = m.excludedflags), "lang" in m && r(6, h = m.lang), "clientstyling" in m && r(7, c = m.clientstyling), "clientstylingurl" in m && r(8, f = m.clientstylingurl), "translationurl" in m && r(14, v = m.translationurl), "mbsource" in m && r(9, b = m.mbsource);
4132
4121
  }, e.$$.update = () => {
4133
- e.$$.dirty & /*endpoint, datasource*/
4134
- 384 && i && s && S(), e.$$.dirty & /*translationurl*/
4135
- 8192 && c && T(), e.$$.dirty & /*lang*/
4136
- 512 && o && A(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4137
- 2050 && a && p && oi(p, a), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4138
- 4098 && h && p && ai(p, h), e.$$.dirty & /*mbsource, customStylingContainer*/
4139
- 16386 && f && p && ui(p, `${f}.Style`);
4122
+ e.$$.dirty & /*translationurl*/
4123
+ 16384 && v && B(), e.$$.dirty & /*lang*/
4124
+ 64 && h && O(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4125
+ 1152 && c && x && qn(x, c), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4126
+ 1280 && f && x && Jn(x, f), e.$$.dirty & /*mbsource, customStylingContainer*/
4127
+ 1536 && b && x && Yn(x, `${b}.Style`, L);
4140
4128
  }, [
4141
- u,
4142
- p,
4143
- d,
4144
- E,
4145
- m,
4146
- n,
4147
- w,
4148
4129
  i,
4149
4130
  s,
4131
+ u,
4150
4132
  o,
4151
4133
  l,
4152
4134
  a,
4153
4135
  h,
4154
4136
  c,
4155
4137
  f,
4156
- H,
4157
- P,
4158
- Wt
4138
+ b,
4139
+ x,
4140
+ d,
4141
+ n,
4142
+ y,
4143
+ v,
4144
+ w,
4145
+ R,
4146
+ E
4159
4147
  ];
4160
4148
  }
4161
- class zt extends pr {
4149
+ class ii extends ir {
4162
4150
  constructor(t) {
4163
- super(), gr(
4151
+ super(), rr(
4164
4152
  this,
4165
4153
  t,
4166
- mi,
4167
- gi,
4168
- _t,
4154
+ ni,
4155
+ ri,
4156
+ lt,
4169
4157
  {
4170
- endpoint: 7,
4171
- datasource: 8,
4172
- lang: 9,
4173
- activecategory: 0,
4174
- excludedflags: 10,
4175
- clientstyling: 11,
4176
- clientstylingurl: 12,
4177
- translationurl: 13,
4178
- mbsource: 14
4158
+ endpointcategories: 0,
4159
+ datasourcecategories: 1,
4160
+ activecategory: 2,
4161
+ endpointproviders: 3,
4162
+ datasourceproviders: 4,
4163
+ excludedflags: 5,
4164
+ lang: 6,
4165
+ clientstyling: 7,
4166
+ clientstylingurl: 8,
4167
+ translationurl: 14,
4168
+ mbsource: 9
4179
4169
  },
4180
- li
4170
+ ti
4181
4171
  );
4182
4172
  }
4183
- get endpoint() {
4184
- return this.$$.ctx[7];
4185
- }
4186
- set endpoint(t) {
4187
- this.$$set({ endpoint: t }), I();
4188
- }
4189
- get datasource() {
4190
- return this.$$.ctx[8];
4173
+ get endpointcategories() {
4174
+ return this.$$.ctx[0];
4191
4175
  }
4192
- set datasource(t) {
4193
- this.$$set({ datasource: t }), I();
4176
+ set endpointcategories(t) {
4177
+ this.$$set({ endpointcategories: t }), P();
4194
4178
  }
4195
- get lang() {
4196
- return this.$$.ctx[9];
4179
+ get datasourcecategories() {
4180
+ return this.$$.ctx[1];
4197
4181
  }
4198
- set lang(t) {
4199
- this.$$set({ lang: t }), I();
4182
+ set datasourcecategories(t) {
4183
+ this.$$set({ datasourcecategories: t }), P();
4200
4184
  }
4201
4185
  get activecategory() {
4202
- return this.$$.ctx[0];
4186
+ return this.$$.ctx[2];
4203
4187
  }
4204
4188
  set activecategory(t) {
4205
- this.$$set({ activecategory: t }), I();
4189
+ this.$$set({ activecategory: t }), P();
4190
+ }
4191
+ get endpointproviders() {
4192
+ return this.$$.ctx[3];
4193
+ }
4194
+ set endpointproviders(t) {
4195
+ this.$$set({ endpointproviders: t }), P();
4196
+ }
4197
+ get datasourceproviders() {
4198
+ return this.$$.ctx[4];
4199
+ }
4200
+ set datasourceproviders(t) {
4201
+ this.$$set({ datasourceproviders: t }), P();
4206
4202
  }
4207
4203
  get excludedflags() {
4208
- return this.$$.ctx[10];
4204
+ return this.$$.ctx[5];
4209
4205
  }
4210
4206
  set excludedflags(t) {
4211
- this.$$set({ excludedflags: t }), I();
4207
+ this.$$set({ excludedflags: t }), P();
4208
+ }
4209
+ get lang() {
4210
+ return this.$$.ctx[6];
4211
+ }
4212
+ set lang(t) {
4213
+ this.$$set({ lang: t }), P();
4212
4214
  }
4213
4215
  get clientstyling() {
4214
- return this.$$.ctx[11];
4216
+ return this.$$.ctx[7];
4215
4217
  }
4216
4218
  set clientstyling(t) {
4217
- this.$$set({ clientstyling: t }), I();
4219
+ this.$$set({ clientstyling: t }), P();
4218
4220
  }
4219
4221
  get clientstylingurl() {
4220
- return this.$$.ctx[12];
4222
+ return this.$$.ctx[8];
4221
4223
  }
4222
4224
  set clientstylingurl(t) {
4223
- this.$$set({ clientstylingurl: t }), I();
4225
+ this.$$set({ clientstylingurl: t }), P();
4224
4226
  }
4225
4227
  get translationurl() {
4226
- return this.$$.ctx[13];
4228
+ return this.$$.ctx[14];
4227
4229
  }
4228
4230
  set translationurl(t) {
4229
- this.$$set({ translationurl: t }), I();
4231
+ this.$$set({ translationurl: t }), P();
4230
4232
  }
4231
4233
  get mbsource() {
4232
- return this.$$.ctx[14];
4234
+ return this.$$.ctx[9];
4233
4235
  }
4234
4236
  set mbsource(t) {
4235
- this.$$set({ mbsource: t }), I();
4237
+ this.$$set({ mbsource: t }), P();
4236
4238
  }
4237
4239
  }
4238
- mr(zt, { endpoint: {}, datasource: {}, lang: {}, activecategory: {}, excludedflags: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
4239
- const bi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4240
- __proto__: null,
4241
- default: zt
4242
- }, Symbol.toStringTag, { value: "Module" }));
4240
+ nr(ii, { endpointcategories: {}, datasourcecategories: {}, activecategory: {}, endpointproviders: {}, datasourceproviders: {}, excludedflags: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
4243
4241
  export {
4244
- te as $,
4245
- qe as A,
4246
- di as B,
4247
- be as C,
4248
- bi as D,
4249
- pr as S,
4250
- Ft as a,
4251
- Jt as b,
4252
- mr as c,
4253
- k as d,
4254
- F as e,
4255
- I as f,
4256
- L as g,
4257
- $ as h,
4258
- gr as i,
4259
- K as j,
4260
- x as k,
4261
- Et as l,
4262
- B as m,
4263
- N as n,
4264
- U as o,
4265
- qt as p,
4266
- nr as q,
4267
- ue as r,
4268
- _t as s,
4269
- D as t,
4270
- Le as u,
4271
- si as v,
4272
- oi as w,
4273
- ai as x,
4274
- ui as y,
4275
- ce as z
4242
+ J as $,
4243
+ Yn as A,
4244
+ ai as B,
4245
+ ii as C,
4246
+ ir as S,
4247
+ It as a,
4248
+ Gt as b,
4249
+ nr as c,
4250
+ Ge as d,
4251
+ ft as e,
4252
+ P as f,
4253
+ C as g,
4254
+ Dt as h,
4255
+ rr as i,
4256
+ Ae as j,
4257
+ N as k,
4258
+ ui as l,
4259
+ oi as m,
4260
+ I as n,
4261
+ zt as o,
4262
+ ze as p,
4263
+ A as q,
4264
+ ye as r,
4265
+ lt as s,
4266
+ le as t,
4267
+ si as u,
4268
+ _ as v,
4269
+ Xe as w,
4270
+ Zn as x,
4271
+ qn as y,
4272
+ Jn as z
4276
4273
  };