@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,58 +1,57 @@
1
- var rr = Object.defineProperty, nr = Object.defineProperties;
2
- var ir = Object.getOwnPropertyDescriptors;
3
- var Ye = Object.getOwnPropertySymbols;
4
- var sr = Object.prototype.hasOwnProperty, or = Object.prototype.propertyIsEnumerable;
5
- var Ae = (e, t, r) => t in e ? rr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ke = (e, t) => {
1
+ var Xt = Object.defineProperty, zt = Object.defineProperties;
2
+ var Wt = Object.getOwnPropertyDescriptors;
3
+ var ze = Object.getOwnPropertySymbols;
4
+ var Zt = Object.prototype.hasOwnProperty, Qt = Object.prototype.propertyIsEnumerable;
5
+ var Ee = (e, t, r) => t in e ? Xt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, We = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- sr.call(t, r) && Ae(e, r, t[r]);
8
- if (Ye)
9
- for (var r of Ye(t))
10
- or.call(t, r) && Ae(e, r, t[r]);
7
+ Zt.call(t, r) && Ee(e, r, t[r]);
8
+ if (ze)
9
+ for (var r of ze(t))
10
+ Qt.call(t, r) && Ee(e, r, t[r]);
11
11
  return e;
12
- }, et = (e, t) => nr(e, ir(t));
13
- var N = (e, t, r) => (Ae(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var tt = (e, t, r) => new Promise((n, i) => {
15
- var s = (h) => {
12
+ }, Ze = (e, t) => zt(e, Wt(t));
13
+ var N = (e, t, r) => (Ee(e, typeof t != "symbol" ? t + "" : t, r), r);
14
+ var Qe = (e, t, r) => new Promise((n, i) => {
15
+ var s = (l) => {
16
16
  try {
17
- u(r.next(h));
18
- } catch (a) {
19
- i(a);
17
+ a(r.next(l));
18
+ } catch (u) {
19
+ i(u);
20
20
  }
21
- }, o = (h) => {
21
+ }, o = (l) => {
22
22
  try {
23
- u(r.throw(h));
24
- } catch (a) {
25
- i(a);
23
+ a(r.throw(l));
24
+ } catch (u) {
25
+ i(u);
26
26
  }
27
- }, u = (h) => h.done ? n(h.value) : Promise.resolve(h.value).then(s, o);
28
- u((r = r.apply(e, t)).next());
27
+ }, a = (l) => l.done ? n(l.value) : Promise.resolve(l.value).then(s, o);
28
+ a((r = r.apply(e, t)).next());
29
29
  });
30
- import "../stencil/ui-image-CP8Lp7fB.js";
31
30
  function L() {
32
31
  }
33
- function Ct(e) {
32
+ function pt(e) {
34
33
  return e();
35
34
  }
36
- function rt() {
35
+ function qe() {
37
36
  return /* @__PURE__ */ Object.create(null);
38
37
  }
39
- function he(e) {
40
- e.forEach(Ct);
38
+ function q(e) {
39
+ e.forEach(pt);
41
40
  }
42
- function We(e) {
41
+ function Fe(e) {
43
42
  return typeof e == "function";
44
43
  }
45
- function Ht(e, t) {
44
+ function gt(e, t) {
46
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
47
46
  }
48
- let ce;
49
- function ye(e, t) {
50
- return e === t ? !0 : (ce || (ce = document.createElement("a")), ce.href = t, e === ce.href);
47
+ let oe;
48
+ function bi(e, t) {
49
+ return e === t ? !0 : (oe || (oe = document.createElement("a")), oe.href = t, e === oe.href);
51
50
  }
52
- function ar(e) {
51
+ function qt(e) {
53
52
  return Object.keys(e).length === 0;
54
53
  }
55
- function St(e, ...t) {
54
+ function bt(e, ...t) {
56
55
  if (e == null) {
57
56
  for (const n of t)
58
57
  n(void 0);
@@ -61,20 +60,20 @@ function St(e, ...t) {
61
60
  const r = e.subscribe(...t);
62
61
  return r.unsubscribe ? () => r.unsubscribe() : r;
63
62
  }
64
- function ur(e, t, r) {
65
- e.$$.on_destroy.push(St(t, r));
63
+ function Jt(e, t, r) {
64
+ e.$$.on_destroy.push(bt(t, r));
66
65
  }
67
- function x(e, t) {
66
+ function A(e, t) {
68
67
  e.appendChild(t);
69
68
  }
70
- function hr(e, t, r) {
71
- const n = lr(e);
69
+ function Yt(e, t, r) {
70
+ const n = Kt(e);
72
71
  if (!n.getElementById(t)) {
73
- const i = B("style");
74
- i.id = t, i.textContent = r, fr(n, i);
72
+ const i = I("style");
73
+ i.id = t, i.textContent = r, er(n, i);
75
74
  }
76
75
  }
77
- function lr(e) {
76
+ function Kt(e) {
78
77
  if (!e)
79
78
  return document;
80
79
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -84,53 +83,53 @@ function lr(e) {
84
83
  t
85
84
  ) : e.ownerDocument;
86
85
  }
87
- function fr(e, t) {
88
- return x(
86
+ function er(e, t) {
87
+ return A(
89
88
  /** @type {Document} */
90
89
  e.head || e,
91
90
  t
92
91
  ), t.sheet;
93
92
  }
94
- function ee(e, t, r) {
93
+ function vt(e, t, r) {
95
94
  e.insertBefore(t, r || null);
96
95
  }
97
- function V(e) {
96
+ function je(e) {
98
97
  e.parentNode && e.parentNode.removeChild(e);
99
98
  }
100
- function nt(e, t) {
99
+ function vi(e, t) {
101
100
  for (let r = 0; r < e.length; r += 1)
102
101
  e[r] && e[r].d(t);
103
102
  }
104
- function B(e) {
103
+ function I(e) {
105
104
  return document.createElement(e);
106
105
  }
107
- function G(e) {
106
+ function ce(e) {
108
107
  return document.createTextNode(e);
109
108
  }
110
- function D() {
111
- return G(" ");
109
+ function xe() {
110
+ return ce(" ");
112
111
  }
113
- function Oi() {
114
- return G("");
112
+ function yi() {
113
+ return ce("");
115
114
  }
116
- function At(e, t, r, n) {
115
+ function Je(e, t, r, n) {
117
116
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
118
117
  }
119
- function I(e, t, r) {
118
+ function C(e, t, r) {
120
119
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
121
120
  }
122
- function R(e, t, r) {
121
+ function x(e, t, r) {
123
122
  const n = t.toLowerCase();
124
- n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : I(e, t, r);
123
+ n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : C(e, t, r);
125
124
  }
126
- function cr(e) {
125
+ function tr(e) {
127
126
  return Array.from(e.childNodes);
128
127
  }
129
- function j(e, t) {
128
+ function Ye(e, t) {
130
129
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
131
130
  t);
132
131
  }
133
- function gr(e) {
132
+ function rr(e) {
134
133
  const t = {};
135
134
  return e.childNodes.forEach(
136
135
  /** @param {Element} node */
@@ -139,128 +138,128 @@ function gr(e) {
139
138
  }
140
139
  ), t;
141
140
  }
142
- let oe;
143
- function se(e) {
144
- oe = e;
141
+ let re;
142
+ function te(e) {
143
+ re = e;
145
144
  }
146
- function mr() {
147
- if (!oe)
145
+ function nr() {
146
+ if (!re)
148
147
  throw new Error("Function called outside component initialization");
149
- return oe;
148
+ return re;
150
149
  }
151
- function pr(e) {
152
- mr().$$.on_mount.push(e);
150
+ function ir(e) {
151
+ nr().$$.on_mount.push(e);
153
152
  }
154
- const Z = [], Me = [];
155
- let Q = [];
156
- const it = [], dr = /* @__PURE__ */ Promise.resolve();
157
- let $e = !1;
158
- function br() {
159
- $e || ($e = !0, dr.then(M));
153
+ const V = [], Pe = [];
154
+ let X = [];
155
+ const Ke = [], sr = /* @__PURE__ */ Promise.resolve();
156
+ let Oe = !1;
157
+ function or() {
158
+ Oe || (Oe = !0, sr.then(P));
160
159
  }
161
- function Re(e) {
162
- Q.push(e);
160
+ function Ne(e) {
161
+ X.push(e);
163
162
  }
164
- const Be = /* @__PURE__ */ new Set();
165
- let z = 0;
166
- function M() {
167
- if (z !== 0)
163
+ const _e = /* @__PURE__ */ new Set();
164
+ let F = 0;
165
+ function P() {
166
+ if (F !== 0)
168
167
  return;
169
- const e = oe;
168
+ const e = re;
170
169
  do {
171
170
  try {
172
- for (; z < Z.length; ) {
173
- const t = Z[z];
174
- z++, se(t), yr(t.$$);
171
+ for (; F < V.length; ) {
172
+ const t = V[F];
173
+ F++, te(t), ar(t.$$);
175
174
  }
176
175
  } catch (t) {
177
- throw Z.length = 0, z = 0, t;
176
+ throw V.length = 0, F = 0, t;
178
177
  }
179
- for (se(null), Z.length = 0, z = 0; Me.length; )
180
- Me.pop()();
181
- for (let t = 0; t < Q.length; t += 1) {
182
- const r = Q[t];
183
- Be.has(r) || (Be.add(r), r());
178
+ for (te(null), V.length = 0, F = 0; Pe.length; )
179
+ Pe.pop()();
180
+ for (let t = 0; t < X.length; t += 1) {
181
+ const r = X[t];
182
+ _e.has(r) || (_e.add(r), r());
184
183
  }
185
- Q.length = 0;
186
- } while (Z.length);
187
- for (; it.length; )
188
- it.pop()();
189
- $e = !1, Be.clear(), se(e);
184
+ X.length = 0;
185
+ } while (V.length);
186
+ for (; Ke.length; )
187
+ Ke.pop()();
188
+ Oe = !1, _e.clear(), te(e);
190
189
  }
191
- function yr(e) {
190
+ function ar(e) {
192
191
  if (e.fragment !== null) {
193
- e.update(), he(e.before_update);
192
+ e.update(), q(e.before_update);
194
193
  const t = e.dirty;
195
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Re);
194
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ne);
196
195
  }
197
196
  }
198
- function _r(e) {
197
+ function ur(e) {
199
198
  const t = [], r = [];
200
- Q.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Q = t;
199
+ X.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), X = t;
201
200
  }
202
- const Er = /* @__PURE__ */ new Set();
203
- function xr(e, t) {
204
- e && e.i && (Er.delete(e), e.i(t));
201
+ const hr = /* @__PURE__ */ new Set();
202
+ function lr(e, t) {
203
+ e && e.i && (hr.delete(e), e.i(t));
205
204
  }
206
- function ge(e) {
205
+ function Ei(e) {
207
206
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
208
207
  }
209
- function vr(e, t, r) {
208
+ function cr(e, t, r) {
210
209
  const { fragment: n, after_update: i } = e.$$;
211
- n && n.m(t, r), Re(() => {
212
- const s = e.$$.on_mount.map(Ct).filter(We);
213
- e.$$.on_destroy ? e.$$.on_destroy.push(...s) : he(s), e.$$.on_mount = [];
214
- }), i.forEach(Re);
210
+ n && n.m(t, r), Ne(() => {
211
+ const s = e.$$.on_mount.map(pt).filter(Fe);
212
+ e.$$.on_destroy ? e.$$.on_destroy.push(...s) : q(s), e.$$.on_mount = [];
213
+ }), i.forEach(Ne);
215
214
  }
216
- function Tr(e, t) {
215
+ function fr(e, t) {
217
216
  const r = e.$$;
218
- r.fragment !== null && (_r(r.after_update), he(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
217
+ r.fragment !== null && (ur(r.after_update), q(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
219
218
  }
220
- function Cr(e, t) {
221
- e.$$.dirty[0] === -1 && (Z.push(e), br(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
219
+ function mr(e, t) {
220
+ e.$$.dirty[0] === -1 && (V.push(e), or(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
222
221
  }
223
- function Hr(e, t, r, n, i, s, o = null, u = [-1]) {
224
- const h = oe;
225
- se(e);
226
- const a = e.$$ = {
222
+ function dr(e, t, r, n, i, s, o = null, a = [-1]) {
223
+ const l = re;
224
+ te(e);
225
+ const u = e.$$ = {
227
226
  fragment: null,
228
227
  ctx: [],
229
228
  // state
230
229
  props: s,
231
230
  update: L,
232
231
  not_equal: i,
233
- bound: rt(),
232
+ bound: qe(),
234
233
  // lifecycle
235
234
  on_mount: [],
236
235
  on_destroy: [],
237
236
  on_disconnect: [],
238
237
  before_update: [],
239
238
  after_update: [],
240
- context: new Map(t.context || (h ? h.$$.context : [])),
239
+ context: new Map(t.context || (l ? l.$$.context : [])),
241
240
  // everything else
242
- callbacks: rt(),
243
- dirty: u,
241
+ callbacks: qe(),
242
+ dirty: a,
244
243
  skip_bound: !1,
245
- root: t.target || h.$$.root
244
+ root: t.target || l.$$.root
246
245
  };
247
- o && o(a.root);
248
- let l = !1;
249
- if (a.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
250
- const d = p.length ? p[0] : f;
251
- return a.ctx && i(a.ctx[c], a.ctx[c] = d) && (!a.skip_bound && a.bound[c] && a.bound[c](d), l && Cr(e, c)), f;
252
- }) : [], a.update(), l = !0, he(a.before_update), a.fragment = n ? n(a.ctx) : !1, t.target) {
246
+ o && o(u.root);
247
+ let h = !1;
248
+ if (u.ctx = r ? r(e, t.props || {}, (c, f, ...v) => {
249
+ const b = v.length ? v[0] : f;
250
+ return u.ctx && i(u.ctx[c], u.ctx[c] = b) && (!u.skip_bound && u.bound[c] && u.bound[c](b), h && mr(e, c)), f;
251
+ }) : [], u.update(), h = !0, q(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
253
252
  if (t.hydrate) {
254
- const c = cr(t.target);
255
- a.fragment && a.fragment.l(c), c.forEach(V);
253
+ const c = tr(t.target);
254
+ u.fragment && u.fragment.l(c), c.forEach(je);
256
255
  } else
257
- a.fragment && a.fragment.c();
258
- t.intro && xr(e.$$.fragment), vr(e, t.target, t.anchor), M();
256
+ u.fragment && u.fragment.c();
257
+ t.intro && lr(e.$$.fragment), cr(e, t.target, t.anchor), P();
259
258
  }
260
- se(h);
259
+ te(l);
261
260
  }
262
- let Bt;
263
- typeof HTMLElement == "function" && (Bt = class extends HTMLElement {
261
+ let yt;
262
+ typeof HTMLElement == "function" && (yt = class extends HTMLElement {
264
263
  constructor(t, r, n) {
265
264
  super();
266
265
  /** The Svelte component constructor */
@@ -297,42 +296,42 @@ typeof HTMLElement == "function" && (Bt = class extends HTMLElement {
297
296
  }
298
297
  }
299
298
  connectedCallback() {
300
- return tt(this, null, function* () {
299
+ return Qe(this, null, function* () {
301
300
  if (this.$$cn = !0, !this.$$c) {
302
301
  let t = function(s) {
303
302
  return () => {
304
303
  let o;
305
304
  return {
306
305
  c: function() {
307
- o = B("slot"), s !== "default" && I(o, "name", s);
306
+ o = I("slot"), s !== "default" && C(o, "name", s);
308
307
  },
309
308
  /**
310
309
  * @param {HTMLElement} target
311
310
  * @param {HTMLElement} [anchor]
312
311
  */
313
- m: function(a, l) {
314
- ee(a, o, l);
312
+ m: function(u, h) {
313
+ vt(u, o, h);
315
314
  },
316
- d: function(a) {
317
- a && V(o);
315
+ d: function(u) {
316
+ u && je(o);
318
317
  }
319
318
  };
320
319
  };
321
320
  };
322
321
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
323
322
  return;
324
- const r = {}, n = gr(this);
323
+ const r = {}, n = rr(this);
325
324
  for (const s of this.$$s)
326
325
  s in n && (r[s] = [t(s)]);
327
326
  for (const s of this.attributes) {
328
327
  const o = this.$$g_p(s.name);
329
- o in this.$$d || (this.$$d[o] = pe(o, s.value, this.$$p_d, "toProp"));
328
+ o in this.$$d || (this.$$d[o] = ue(o, s.value, this.$$p_d, "toProp"));
330
329
  }
331
330
  for (const s in this.$$p_d)
332
331
  !(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
333
332
  this.$$c = new this.$$ctor({
334
333
  target: this.shadowRoot || this,
335
- props: et(Ke({}, this.$$d), {
334
+ props: Ze(We({}, this.$$d), {
336
335
  $$slots: r,
337
336
  $$scope: {
338
337
  ctx: []
@@ -343,7 +342,7 @@ typeof HTMLElement == "function" && (Bt = class extends HTMLElement {
343
342
  this.$$r = !0;
344
343
  for (const s in this.$$p_d)
345
344
  if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
346
- const o = pe(
345
+ const o = ue(
347
346
  s,
348
347
  this.$$d[s],
349
348
  this.$$p_d,
@@ -356,8 +355,8 @@ typeof HTMLElement == "function" && (Bt = class extends HTMLElement {
356
355
  this.$$c.$$.after_update.push(i), i();
357
356
  for (const s in this.$$l)
358
357
  for (const o of this.$$l[s]) {
359
- const u = this.$$c.$on(s, o);
360
- this.$$l_u.set(o, u);
358
+ const a = this.$$c.$on(s, o);
359
+ this.$$l_u.set(o, a);
361
360
  }
362
361
  this.$$l = {};
363
362
  }
@@ -367,7 +366,7 @@ typeof HTMLElement == "function" && (Bt = class extends HTMLElement {
367
366
  // and setting attributes through setAttribute etc, this is helpful
368
367
  attributeChangedCallback(t, r, n) {
369
368
  var i;
370
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = pe(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
369
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = ue(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
371
370
  }
372
371
  disconnectedCallback() {
373
372
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -380,7 +379,7 @@ typeof HTMLElement == "function" && (Bt = class extends HTMLElement {
380
379
  ) || t;
381
380
  }
382
381
  });
383
- function pe(e, t, r, n) {
382
+ function ue(e, t, r, n) {
384
383
  var s;
385
384
  const i = (s = r[e]) == null ? void 0 : s.type;
386
385
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
@@ -410,38 +409,38 @@ function pe(e, t, r, n) {
410
409
  return t;
411
410
  }
412
411
  }
413
- function Sr(e, t, r, n, i, s) {
414
- let o = class extends Bt {
412
+ function pr(e, t, r, n, i, s) {
413
+ let o = class extends yt {
415
414
  constructor() {
416
415
  super(e, r, i), this.$$p_d = t;
417
416
  }
418
417
  static get observedAttributes() {
419
418
  return Object.keys(t).map(
420
- (u) => (t[u].attribute || u).toLowerCase()
419
+ (a) => (t[a].attribute || a).toLowerCase()
421
420
  );
422
421
  }
423
422
  };
424
- return Object.keys(t).forEach((u) => {
425
- Object.defineProperty(o.prototype, u, {
423
+ return Object.keys(t).forEach((a) => {
424
+ Object.defineProperty(o.prototype, a, {
426
425
  get() {
427
- return this.$$c && u in this.$$c ? this.$$c[u] : this.$$d[u];
426
+ return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
428
427
  },
429
- set(h) {
430
- var a;
431
- h = pe(u, h, t), this.$$d[u] = h, (a = this.$$c) == null || a.$set({ [u]: h });
428
+ set(l) {
429
+ var u;
430
+ l = ue(a, l, t), this.$$d[a] = l, (u = this.$$c) == null || u.$set({ [a]: l });
432
431
  }
433
432
  });
434
- }), n.forEach((u) => {
435
- Object.defineProperty(o.prototype, u, {
433
+ }), n.forEach((a) => {
434
+ Object.defineProperty(o.prototype, a, {
436
435
  get() {
437
- var h;
438
- return (h = this.$$c) == null ? void 0 : h[u];
436
+ var l;
437
+ return (l = this.$$c) == null ? void 0 : l[a];
439
438
  }
440
439
  });
441
440
  }), e.element = /** @type {any} */
442
441
  o, o;
443
442
  }
444
- class Ar {
443
+ class gr {
445
444
  constructor() {
446
445
  /**
447
446
  * ### PRIVATE API
@@ -462,7 +461,7 @@ class Ar {
462
461
  }
463
462
  /** @returns {void} */
464
463
  $destroy() {
465
- Tr(this, 1), this.$destroy = L;
464
+ fr(this, 1), this.$destroy = L;
466
465
  }
467
466
  /**
468
467
  * @template {Extract<keyof Events, string>} K
@@ -471,7 +470,7 @@ class Ar {
471
470
  * @returns {() => void}
472
471
  */
473
472
  $on(t, r) {
474
- if (!We(r))
473
+ if (!Fe(r))
475
474
  return L;
476
475
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
477
476
  return n.push(r), () => {
@@ -484,176 +483,176 @@ class Ar {
484
483
  * @returns {void}
485
484
  */
486
485
  $set(t) {
487
- this.$$set && !ar(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
486
+ this.$$set && !qt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
488
487
  }
489
488
  }
490
- const Br = "4";
491
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Br);
492
- const W = [];
493
- function Or(e, t) {
489
+ const br = "4";
490
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(br);
491
+ const j = [];
492
+ function vr(e, t) {
494
493
  return {
495
- subscribe: ve(e, t).subscribe
494
+ subscribe: pe(e, t).subscribe
496
495
  };
497
496
  }
498
- function ve(e, t = L) {
497
+ function pe(e, t = L) {
499
498
  let r;
500
499
  const n = /* @__PURE__ */ new Set();
501
- function i(u) {
502
- if (Ht(e, u) && (e = u, r)) {
503
- const h = !W.length;
504
- for (const a of n)
505
- a[1](), W.push(a, e);
506
- if (h) {
507
- for (let a = 0; a < W.length; a += 2)
508
- W[a][0](W[a + 1]);
509
- W.length = 0;
500
+ function i(a) {
501
+ if (gt(e, a) && (e = a, r)) {
502
+ const l = !j.length;
503
+ for (const u of n)
504
+ u[1](), j.push(u, e);
505
+ if (l) {
506
+ for (let u = 0; u < j.length; u += 2)
507
+ j[u][0](j[u + 1]);
508
+ j.length = 0;
510
509
  }
511
510
  }
512
511
  }
513
- function s(u) {
514
- i(u(e));
512
+ function s(a) {
513
+ i(a(e));
515
514
  }
516
- function o(u, h = L) {
517
- const a = [u, h];
518
- return n.add(a), n.size === 1 && (r = t(i, s) || L), u(e), () => {
519
- n.delete(a), n.size === 0 && r && (r(), r = null);
515
+ function o(a, l = L) {
516
+ const u = [a, l];
517
+ return n.add(u), n.size === 1 && (r = t(i, s) || L), a(e), () => {
518
+ n.delete(u), n.size === 0 && r && (r(), r = null);
520
519
  };
521
520
  }
522
521
  return { set: i, update: s, subscribe: o };
523
522
  }
524
- function te(e, t, r) {
523
+ function J(e, t, r) {
525
524
  const n = !Array.isArray(e), i = n ? [e] : e;
526
525
  if (!i.every(Boolean))
527
526
  throw new Error("derived() expects stores as input, got a falsy value");
528
527
  const s = t.length < 2;
529
- return Or(r, (o, u) => {
530
- let h = !1;
531
- const a = [];
532
- let l = 0, c = L;
528
+ return vr(r, (o, a) => {
529
+ let l = !1;
530
+ const u = [];
531
+ let h = 0, c = L;
533
532
  const f = () => {
534
- if (l)
533
+ if (h)
535
534
  return;
536
535
  c();
537
- const d = t(n ? a[0] : a, o, u);
538
- s ? o(d) : c = We(d) ? d : L;
539
- }, p = i.map(
540
- (d, g) => St(
541
- d,
542
- (E) => {
543
- a[g] = E, l &= ~(1 << g), h && f();
536
+ const b = t(n ? u[0] : u, o, a);
537
+ s ? o(b) : c = Fe(b) ? b : L;
538
+ }, v = i.map(
539
+ (b, d) => bt(
540
+ b,
541
+ (_) => {
542
+ u[d] = _, h &= ~(1 << d), l && f();
544
543
  },
545
544
  () => {
546
- l |= 1 << g;
545
+ h |= 1 << d;
547
546
  }
548
547
  )
549
548
  );
550
- return h = !0, f(), function() {
551
- he(p), c(), h = !1;
549
+ return l = !0, f(), function() {
550
+ q(v), c(), l = !1;
552
551
  };
553
552
  });
554
553
  }
555
- function wr(e) {
554
+ function yr(e) {
556
555
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
557
556
  }
558
- var Pr = function(t) {
559
- return Nr(t) && !Lr(t);
557
+ var Er = function(t) {
558
+ return xr(t) && !_r(t);
560
559
  };
561
- function Nr(e) {
560
+ function xr(e) {
562
561
  return !!e && typeof e == "object";
563
562
  }
564
- function Lr(e) {
563
+ function _r(e) {
565
564
  var t = Object.prototype.toString.call(e);
566
- return t === "[object RegExp]" || t === "[object Date]" || $r(e);
565
+ return t === "[object RegExp]" || t === "[object Date]" || Tr(e);
567
566
  }
568
- var Ir = typeof Symbol == "function" && Symbol.for, Mr = Ir ? Symbol.for("react.element") : 60103;
569
- function $r(e) {
570
- return e.$$typeof === Mr;
567
+ var Hr = typeof Symbol == "function" && Symbol.for, Sr = Hr ? Symbol.for("react.element") : 60103;
568
+ function Tr(e) {
569
+ return e.$$typeof === Sr;
571
570
  }
572
- function Rr(e) {
571
+ function Br(e) {
573
572
  return Array.isArray(e) ? [] : {};
574
573
  }
575
- function ae(e, t) {
576
- return t.clone !== !1 && t.isMergeableObject(e) ? q(Rr(e), e, t) : e;
574
+ function ne(e, t) {
575
+ return t.clone !== !1 && t.isMergeableObject(e) ? z(Br(e), e, t) : e;
577
576
  }
578
- function Ur(e, t, r) {
577
+ function Ar(e, t, r) {
579
578
  return e.concat(t).map(function(n) {
580
- return ae(n, r);
579
+ return ne(n, r);
581
580
  });
582
581
  }
583
- function Dr(e, t) {
582
+ function wr(e, t) {
584
583
  if (!t.customMerge)
585
- return q;
584
+ return z;
586
585
  var r = t.customMerge(e);
587
- return typeof r == "function" ? r : q;
586
+ return typeof r == "function" ? r : z;
588
587
  }
589
- function Gr(e) {
588
+ function Pr(e) {
590
589
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
591
590
  return Object.propertyIsEnumerable.call(e, t);
592
591
  }) : [];
593
592
  }
594
- function st(e) {
595
- return Object.keys(e).concat(Gr(e));
593
+ function et(e) {
594
+ return Object.keys(e).concat(Pr(e));
596
595
  }
597
- function Ot(e, t) {
596
+ function Et(e, t) {
598
597
  try {
599
598
  return t in e;
600
599
  } catch (r) {
601
600
  return !1;
602
601
  }
603
602
  }
604
- function Fr(e, t) {
605
- return Ot(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
603
+ function Or(e, t) {
604
+ return Et(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
606
605
  }
607
- function jr(e, t, r) {
606
+ function Nr(e, t, r) {
608
607
  var n = {};
609
- return r.isMergeableObject(e) && st(e).forEach(function(i) {
610
- n[i] = ae(e[i], r);
611
- }), st(t).forEach(function(i) {
612
- Fr(e, i) || (Ot(e, i) && r.isMergeableObject(t[i]) ? n[i] = Dr(i, r)(e[i], t[i], r) : n[i] = ae(t[i], r));
608
+ return r.isMergeableObject(e) && et(e).forEach(function(i) {
609
+ n[i] = ne(e[i], r);
610
+ }), et(t).forEach(function(i) {
611
+ Or(e, i) || (Et(e, i) && r.isMergeableObject(t[i]) ? n[i] = wr(i, r)(e[i], t[i], r) : n[i] = ne(t[i], r));
613
612
  }), n;
614
613
  }
615
- function q(e, t, r) {
616
- r = r || {}, r.arrayMerge = r.arrayMerge || Ur, r.isMergeableObject = r.isMergeableObject || Pr, r.cloneUnlessOtherwiseSpecified = ae;
614
+ function z(e, t, r) {
615
+ r = r || {}, r.arrayMerge = r.arrayMerge || Ar, r.isMergeableObject = r.isMergeableObject || Er, r.cloneUnlessOtherwiseSpecified = ne;
617
616
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
618
- return s ? n ? r.arrayMerge(e, t, r) : jr(e, t, r) : ae(t, r);
617
+ return s ? n ? r.arrayMerge(e, t, r) : Nr(e, t, r) : ne(t, r);
619
618
  }
620
- q.all = function(t, r) {
619
+ z.all = function(t, r) {
621
620
  if (!Array.isArray(t))
622
621
  throw new Error("first argument should be an array");
623
622
  return t.reduce(function(n, i) {
624
- return q(n, i, r);
623
+ return z(n, i, r);
625
624
  }, {});
626
625
  };
627
- var kr = q, Vr = kr;
628
- const Xr = /* @__PURE__ */ wr(Vr);
629
- var Ue = function(e, t) {
630
- return Ue = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
626
+ var Cr = z, Ir = Cr;
627
+ const Lr = /* @__PURE__ */ yr(Ir);
628
+ var Ce = function(e, t) {
629
+ return Ce = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
631
630
  r.__proto__ = n;
632
631
  } || function(r, n) {
633
632
  for (var i in n)
634
633
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
635
- }, Ue(e, t);
634
+ }, Ce(e, t);
636
635
  };
637
- function Te(e, t) {
636
+ function ge(e, t) {
638
637
  if (typeof t != "function" && t !== null)
639
638
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
640
- Ue(e, t);
639
+ Ce(e, t);
641
640
  function r() {
642
641
  this.constructor = e;
643
642
  }
644
643
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
645
644
  }
646
- var U = function() {
647
- return U = Object.assign || function(t) {
645
+ var R = function() {
646
+ return R = Object.assign || function(t) {
648
647
  for (var r, n = 1, i = arguments.length; n < i; n++) {
649
648
  r = arguments[n];
650
649
  for (var s in r)
651
650
  Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
652
651
  }
653
652
  return t;
654
- }, U.apply(this, arguments);
653
+ }, R.apply(this, arguments);
655
654
  };
656
- function zr(e, t) {
655
+ function Mr(e, t) {
657
656
  var r = {};
658
657
  for (var n in e)
659
658
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -662,43 +661,43 @@ function zr(e, t) {
662
661
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
663
662
  return r;
664
663
  }
665
- function Oe(e, t, r) {
664
+ function He(e, t, r) {
666
665
  if (r || arguments.length === 2)
667
666
  for (var n = 0, i = t.length, s; n < i; n++)
668
667
  (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
669
668
  return e.concat(s || Array.prototype.slice.call(t));
670
669
  }
671
- function we(e, t) {
672
- var r = t && t.cache ? t.cache : Kr, n = t && t.serializer ? t.serializer : Jr, i = t && t.strategy ? t.strategy : Qr;
670
+ function Se(e, t) {
671
+ var r = t && t.cache ? t.cache : jr, n = t && t.serializer ? t.serializer : Gr, i = t && t.strategy ? t.strategy : Ur;
673
672
  return i(e, {
674
673
  cache: r,
675
674
  serializer: n
676
675
  });
677
676
  }
678
- function Wr(e) {
677
+ function Rr(e) {
679
678
  return e == null || typeof e == "number" || typeof e == "boolean";
680
679
  }
681
- function Zr(e, t, r, n) {
682
- var i = Wr(n) ? n : r(n), s = t.get(i);
680
+ function $r(e, t, r, n) {
681
+ var i = Rr(n) ? n : r(n), s = t.get(i);
683
682
  return typeof s == "undefined" && (s = e.call(this, n), t.set(i, s)), s;
684
683
  }
685
- function wt(e, t, r) {
684
+ function xt(e, t, r) {
686
685
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
687
686
  return typeof s == "undefined" && (s = e.apply(this, n), t.set(i, s)), s;
688
687
  }
689
- function Pt(e, t, r, n, i) {
688
+ function _t(e, t, r, n, i) {
690
689
  return r.bind(t, e, n, i);
691
690
  }
692
- function Qr(e, t) {
693
- var r = e.length === 1 ? Zr : wt;
694
- return Pt(e, this, r, t.cache.create(), t.serializer);
691
+ function Ur(e, t) {
692
+ var r = e.length === 1 ? $r : xt;
693
+ return _t(e, this, r, t.cache.create(), t.serializer);
695
694
  }
696
- function qr(e, t) {
697
- return Pt(e, this, wt, t.cache.create(), t.serializer);
695
+ function Dr(e, t) {
696
+ return _t(e, this, xt, t.cache.create(), t.serializer);
698
697
  }
699
- var Jr = function() {
698
+ var Gr = function() {
700
699
  return JSON.stringify(arguments);
701
- }, Yr = (
700
+ }, Fr = (
702
701
  /** @class */
703
702
  function() {
704
703
  function e() {
@@ -710,71 +709,71 @@ var Jr = function() {
710
709
  this.cache[t] = r;
711
710
  }, e;
712
711
  }()
713
- ), Kr = {
712
+ ), jr = {
714
713
  create: function() {
715
- return new Yr();
714
+ return new Fr();
716
715
  }
717
- }, Pe = {
718
- variadic: qr
719
- }, _e = function() {
720
- return _e = Object.assign || function(t) {
716
+ }, Te = {
717
+ variadic: Dr
718
+ }, fe = function() {
719
+ return fe = Object.assign || function(t) {
721
720
  for (var r, n = 1, i = arguments.length; n < i; n++) {
722
721
  r = arguments[n];
723
722
  for (var s in r)
724
723
  Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
725
724
  }
726
725
  return t;
727
- }, _e.apply(this, arguments);
726
+ }, fe.apply(this, arguments);
728
727
  };
729
- var y;
728
+ var p;
730
729
  (function(e) {
731
730
  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";
732
- })(y || (y = {}));
733
- var v;
731
+ })(p || (p = {}));
732
+ var H;
734
733
  (function(e) {
735
734
  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";
736
- })(v || (v = {}));
737
- var J;
735
+ })(H || (H = {}));
736
+ var W;
738
737
  (function(e) {
739
738
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
740
- })(J || (J = {}));
741
- function ot(e) {
742
- return e.type === v.literal;
739
+ })(W || (W = {}));
740
+ function tt(e) {
741
+ return e.type === H.literal;
743
742
  }
744
- function en(e) {
745
- return e.type === v.argument;
743
+ function Vr(e) {
744
+ return e.type === H.argument;
746
745
  }
747
- function Nt(e) {
748
- return e.type === v.number;
746
+ function Ht(e) {
747
+ return e.type === H.number;
749
748
  }
750
- function Lt(e) {
751
- return e.type === v.date;
749
+ function St(e) {
750
+ return e.type === H.date;
752
751
  }
753
- function It(e) {
754
- return e.type === v.time;
752
+ function Tt(e) {
753
+ return e.type === H.time;
755
754
  }
756
- function Mt(e) {
757
- return e.type === v.select;
755
+ function Bt(e) {
756
+ return e.type === H.select;
758
757
  }
759
- function $t(e) {
760
- return e.type === v.plural;
758
+ function At(e) {
759
+ return e.type === H.plural;
761
760
  }
762
- function tn(e) {
763
- return e.type === v.pound;
761
+ function kr(e) {
762
+ return e.type === H.pound;
764
763
  }
765
- function Rt(e) {
766
- return e.type === v.tag;
764
+ function wt(e) {
765
+ return e.type === H.tag;
767
766
  }
768
- function Ut(e) {
769
- return !!(e && typeof e == "object" && e.type === J.number);
767
+ function Pt(e) {
768
+ return !!(e && typeof e == "object" && e.type === W.number);
770
769
  }
771
- function De(e) {
772
- return !!(e && typeof e == "object" && e.type === J.dateTime);
770
+ function Ie(e) {
771
+ return !!(e && typeof e == "object" && e.type === W.dateTime);
773
772
  }
774
- var Dt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, rn = /(?:[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;
775
- function nn(e) {
773
+ var Ot = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Xr = /(?:[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;
774
+ function zr(e) {
776
775
  var t = {};
777
- return e.replace(rn, function(r) {
776
+ return e.replace(Xr, function(r) {
778
777
  var n = r.length;
779
778
  switch (r[0]) {
780
779
  case "G":
@@ -863,46 +862,46 @@ function nn(e) {
863
862
  return "";
864
863
  }), t;
865
864
  }
866
- var C = function() {
867
- return C = Object.assign || function(t) {
865
+ var S = function() {
866
+ return S = Object.assign || function(t) {
868
867
  for (var r, n = 1, i = arguments.length; n < i; n++) {
869
868
  r = arguments[n];
870
869
  for (var s in r)
871
870
  Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
872
871
  }
873
872
  return t;
874
- }, C.apply(this, arguments);
873
+ }, S.apply(this, arguments);
875
874
  };
876
- var sn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
877
- function on(e) {
875
+ var Wr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
876
+ function Zr(e) {
878
877
  if (e.length === 0)
879
878
  throw new Error("Number skeleton cannot be empty");
880
- for (var t = e.split(sn).filter(function(f) {
879
+ for (var t = e.split(Wr).filter(function(f) {
881
880
  return f.length > 0;
882
881
  }), r = [], n = 0, i = t; n < i.length; n++) {
883
882
  var s = i[n], o = s.split("/");
884
883
  if (o.length === 0)
885
884
  throw new Error("Invalid number skeleton");
886
- for (var u = o[0], h = o.slice(1), a = 0, l = h; a < l.length; a++) {
887
- var c = l[a];
885
+ for (var a = o[0], l = o.slice(1), u = 0, h = l; u < h.length; u++) {
886
+ var c = h[u];
888
887
  if (c.length === 0)
889
888
  throw new Error("Invalid number skeleton");
890
889
  }
891
- r.push({ stem: u, options: h });
890
+ r.push({ stem: a, options: l });
892
891
  }
893
892
  return r;
894
893
  }
895
- function an(e) {
894
+ function Qr(e) {
896
895
  return e.replace(/^(.*?)-/, "");
897
896
  }
898
- var at = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Gt = /^(@+)?(\+|#+)?[rs]?$/g, un = /(\*)(0+)|(#+)(0+)|(0+)/g, Ft = /^(0+)$/;
899
- function ut(e) {
897
+ var rt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Nt = /^(@+)?(\+|#+)?[rs]?$/g, qr = /(\*)(0+)|(#+)(0+)|(0+)/g, Ct = /^(0+)$/;
898
+ function nt(e) {
900
899
  var t = {};
901
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Gt, function(r, n, i) {
900
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Nt, function(r, n, i) {
902
901
  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)), "";
903
902
  }), t;
904
903
  }
905
- function jt(e) {
904
+ function It(e) {
906
905
  switch (e) {
907
906
  case "sign-auto":
908
907
  return {
@@ -942,7 +941,7 @@ function jt(e) {
942
941
  };
943
942
  }
944
943
  }
945
- function hn(e) {
944
+ function Jr(e) {
946
945
  var t;
947
946
  if (e[0] === "E" && e[1] === "E" ? (t = {
948
947
  notation: "engineering"
@@ -950,17 +949,17 @@ function hn(e) {
950
949
  notation: "scientific"
951
950
  }, e = e.slice(1)), t) {
952
951
  var r = e.slice(0, 2);
953
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Ft.test(e))
952
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Ct.test(e))
954
953
  throw new Error("Malformed concise eng/scientific notation");
955
954
  t.minimumIntegerDigits = e.length;
956
955
  }
957
956
  return t;
958
957
  }
959
- function ht(e) {
960
- var t = {}, r = jt(e);
958
+ function it(e) {
959
+ var t = {}, r = It(e);
961
960
  return r || t;
962
961
  }
963
- function ln(e) {
962
+ function Yr(e) {
964
963
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
965
964
  var i = n[r];
966
965
  switch (i.stem) {
@@ -984,7 +983,7 @@ function ln(e) {
984
983
  continue;
985
984
  case "measure-unit":
986
985
  case "unit":
987
- t.style = "unit", t.unit = an(i.options[0]);
986
+ t.style = "unit", t.unit = Qr(i.options[0]);
988
987
  continue;
989
988
  case "compact-short":
990
989
  case "K":
@@ -995,13 +994,13 @@ function ln(e) {
995
994
  t.notation = "compact", t.compactDisplay = "long";
996
995
  continue;
997
996
  case "scientific":
998
- t = C(C(C({}, t), { notation: "scientific" }), i.options.reduce(function(h, a) {
999
- return C(C({}, h), ht(a));
997
+ t = S(S(S({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
998
+ return S(S({}, l), it(u));
1000
999
  }, {}));
1001
1000
  continue;
1002
1001
  case "engineering":
1003
- t = C(C(C({}, t), { notation: "engineering" }), i.options.reduce(function(h, a) {
1004
- return C(C({}, h), ht(a));
1002
+ t = S(S(S({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1003
+ return S(S({}, l), it(u));
1005
1004
  }, {}));
1006
1005
  continue;
1007
1006
  case "notation-simple":
@@ -1046,45 +1045,45 @@ function ln(e) {
1046
1045
  case "integer-width":
1047
1046
  if (i.options.length > 1)
1048
1047
  throw new RangeError("integer-width stems only accept a single optional option");
1049
- i.options[0].replace(un, function(h, a, l, c, f, p) {
1050
- if (a)
1051
- t.minimumIntegerDigits = l.length;
1048
+ i.options[0].replace(qr, function(l, u, h, c, f, v) {
1049
+ if (u)
1050
+ t.minimumIntegerDigits = h.length;
1052
1051
  else {
1053
1052
  if (c && f)
1054
1053
  throw new Error("We currently do not support maximum integer digits");
1055
- if (p)
1054
+ if (v)
1056
1055
  throw new Error("We currently do not support exact integer digits");
1057
1056
  }
1058
1057
  return "";
1059
1058
  });
1060
1059
  continue;
1061
1060
  }
1062
- if (Ft.test(i.stem)) {
1061
+ if (Ct.test(i.stem)) {
1063
1062
  t.minimumIntegerDigits = i.stem.length;
1064
1063
  continue;
1065
1064
  }
1066
- if (at.test(i.stem)) {
1065
+ if (rt.test(i.stem)) {
1067
1066
  if (i.options.length > 1)
1068
1067
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1069
- i.stem.replace(at, function(h, a, l, c, f, p) {
1070
- return l === "*" ? 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), "";
1068
+ i.stem.replace(rt, function(l, u, h, c, f, v) {
1069
+ return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && v ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + v.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1071
1070
  });
1072
1071
  var s = i.options[0];
1073
- s === "w" ? t = C(C({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = C(C({}, t), ut(s)));
1072
+ s === "w" ? t = S(S({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = S(S({}, t), nt(s)));
1074
1073
  continue;
1075
1074
  }
1076
- if (Gt.test(i.stem)) {
1077
- t = C(C({}, t), ut(i.stem));
1075
+ if (Nt.test(i.stem)) {
1076
+ t = S(S({}, t), nt(i.stem));
1078
1077
  continue;
1079
1078
  }
1080
- var o = jt(i.stem);
1081
- o && (t = C(C({}, t), o));
1082
- var u = hn(i.stem);
1083
- u && (t = C(C({}, t), u));
1079
+ var o = It(i.stem);
1080
+ o && (t = S(S({}, t), o));
1081
+ var a = Jr(i.stem);
1082
+ a && (t = S(S({}, t), a));
1084
1083
  }
1085
1084
  return t;
1086
1085
  }
1087
- var me = {
1086
+ var ae = {
1088
1087
  "001": [
1089
1088
  "H",
1090
1089
  "h"
@@ -2499,23 +2498,23 @@ var me = {
2499
2498
  "h"
2500
2499
  ]
2501
2500
  };
2502
- function fn(e, t) {
2501
+ function Kr(e, t) {
2503
2502
  for (var r = "", n = 0; n < e.length; n++) {
2504
2503
  var i = e.charAt(n);
2505
2504
  if (i === "j") {
2506
2505
  for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2507
2506
  s++, n++;
2508
- var o = 1 + (s & 1), u = s < 2 ? 1 : 3 + (s >> 1), h = "a", a = cn(t);
2509
- for ((a == "H" || a == "k") && (u = 0); u-- > 0; )
2510
- r += h;
2507
+ var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = en(t);
2508
+ for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2509
+ r += l;
2511
2510
  for (; o-- > 0; )
2512
- r = a + r;
2511
+ r = u + r;
2513
2512
  } else
2514
2513
  i === "J" ? r += "H" : r += i;
2515
2514
  }
2516
2515
  return r;
2517
2516
  }
2518
- function cn(e) {
2517
+ function en(e) {
2519
2518
  var t = e.hourCycle;
2520
2519
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2521
2520
  e.hourCycles && // @ts-ignore
@@ -2534,23 +2533,23 @@ function cn(e) {
2534
2533
  }
2535
2534
  var r = e.language, n;
2536
2535
  r !== "root" && (n = e.maximize().region);
2537
- var i = me[n || ""] || me[r || ""] || me["".concat(r, "-001")] || me["001"];
2536
+ var i = ae[n || ""] || ae[r || ""] || ae["".concat(r, "-001")] || ae["001"];
2538
2537
  return i[0];
2539
2538
  }
2540
- var Ne, gn = new RegExp("^".concat(Dt.source, "*")), mn = new RegExp("".concat(Dt.source, "*$"));
2541
- function _(e, t) {
2539
+ var Be, tn = new RegExp("^".concat(Ot.source, "*")), rn = new RegExp("".concat(Ot.source, "*$"));
2540
+ function g(e, t) {
2542
2541
  return { start: e, end: t };
2543
2542
  }
2544
- var pn = !!String.prototype.startsWith && "_a".startsWith("a", 1), dn = !!String.fromCodePoint, bn = !!Object.fromEntries, yn = !!String.prototype.codePointAt, _n = !!String.prototype.trimStart, En = !!String.prototype.trimEnd, xn = !!Number.isSafeInteger, vn = xn ? Number.isSafeInteger : function(e) {
2543
+ var nn = !!String.prototype.startsWith && "_a".startsWith("a", 1), sn = !!String.fromCodePoint, on = !!Object.fromEntries, an = !!String.prototype.codePointAt, un = !!String.prototype.trimStart, hn = !!String.prototype.trimEnd, ln = !!Number.isSafeInteger, cn = ln ? Number.isSafeInteger : function(e) {
2545
2544
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2546
- }, Ge = !0;
2545
+ }, Le = !0;
2547
2546
  try {
2548
- var Tn = Vt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2549
- Ge = ((Ne = Tn.exec("a")) === null || Ne === void 0 ? void 0 : Ne[0]) === "a";
2547
+ var fn = Mt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2548
+ Le = ((Be = fn.exec("a")) === null || Be === void 0 ? void 0 : Be[0]) === "a";
2550
2549
  } catch (e) {
2551
- Ge = !1;
2550
+ Le = !1;
2552
2551
  }
2553
- var lt = pn ? (
2552
+ var st = nn ? (
2554
2553
  // Native
2555
2554
  function(t, r, n) {
2556
2555
  return t.startsWith(r, n);
@@ -2560,7 +2559,7 @@ var lt = pn ? (
2560
2559
  function(t, r, n) {
2561
2560
  return t.slice(n, n + r.length) === r;
2562
2561
  }
2563
- ), Fe = dn ? String.fromCodePoint : (
2562
+ ), Me = sn ? String.fromCodePoint : (
2564
2563
  // IE11
2565
2564
  function() {
2566
2565
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2572,19 +2571,19 @@ var lt = pn ? (
2572
2571
  }
2573
2572
  return n;
2574
2573
  }
2575
- ), ft = (
2574
+ ), ot = (
2576
2575
  // native
2577
- bn ? Object.fromEntries : (
2576
+ on ? Object.fromEntries : (
2578
2577
  // Ponyfill
2579
2578
  function(t) {
2580
2579
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
2581
- var s = i[n], o = s[0], u = s[1];
2582
- r[o] = u;
2580
+ var s = i[n], o = s[0], a = s[1];
2581
+ r[o] = a;
2583
2582
  }
2584
2583
  return r;
2585
2584
  }
2586
2585
  )
2587
- ), kt = yn ? (
2586
+ ), Lt = an ? (
2588
2587
  // Native
2589
2588
  function(t, r) {
2590
2589
  return t.codePointAt(r);
@@ -2598,7 +2597,7 @@ var lt = pn ? (
2598
2597
  return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
2599
2598
  }
2600
2599
  }
2601
- ), Cn = _n ? (
2600
+ ), mn = un ? (
2602
2601
  // Native
2603
2602
  function(t) {
2604
2603
  return t.trimStart();
@@ -2606,9 +2605,9 @@ var lt = pn ? (
2606
2605
  ) : (
2607
2606
  // Ponyfill
2608
2607
  function(t) {
2609
- return t.replace(gn, "");
2608
+ return t.replace(tn, "");
2610
2609
  }
2611
- ), Hn = En ? (
2610
+ ), dn = hn ? (
2612
2611
  // Native
2613
2612
  function(t) {
2614
2613
  return t.trimEnd();
@@ -2616,32 +2615,32 @@ var lt = pn ? (
2616
2615
  ) : (
2617
2616
  // Ponyfill
2618
2617
  function(t) {
2619
- return t.replace(mn, "");
2618
+ return t.replace(rn, "");
2620
2619
  }
2621
2620
  );
2622
- function Vt(e, t) {
2621
+ function Mt(e, t) {
2623
2622
  return new RegExp(e, t);
2624
2623
  }
2625
- var je;
2626
- if (Ge) {
2627
- var ct = Vt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2628
- je = function(t, r) {
2624
+ var Re;
2625
+ if (Le) {
2626
+ var at = Mt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2627
+ Re = function(t, r) {
2629
2628
  var n;
2630
- ct.lastIndex = r;
2631
- var i = ct.exec(t);
2629
+ at.lastIndex = r;
2630
+ var i = at.exec(t);
2632
2631
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2633
2632
  };
2634
2633
  } else
2635
- je = function(t, r) {
2634
+ Re = function(t, r) {
2636
2635
  for (var n = []; ; ) {
2637
- var i = kt(t, r);
2638
- if (i === void 0 || Xt(i) || On(i))
2636
+ var i = Lt(t, r);
2637
+ if (i === void 0 || Rt(i) || vn(i))
2639
2638
  break;
2640
2639
  n.push(i), r += i >= 65536 ? 2 : 1;
2641
2640
  }
2642
- return Fe.apply(void 0, n);
2641
+ return Me.apply(void 0, n);
2643
2642
  };
2644
- var Sn = (
2643
+ var pn = (
2645
2644
  /** @class */
2646
2645
  function() {
2647
2646
  function e(t, r) {
@@ -2663,16 +2662,16 @@ var Sn = (
2663
2662
  if (s === 125 && t > 0)
2664
2663
  break;
2665
2664
  if (s === 35 && (r === "plural" || r === "selectordinal")) {
2666
- var u = this.clonePosition();
2665
+ var a = this.clonePosition();
2667
2666
  this.bump(), i.push({
2668
- type: v.pound,
2669
- location: _(u, this.clonePosition())
2667
+ type: H.pound,
2668
+ location: g(a, this.clonePosition())
2670
2669
  });
2671
2670
  } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
2672
2671
  if (n)
2673
2672
  break;
2674
- return this.error(y.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
2675
- } else if (s === 60 && !this.ignoreTag && ke(this.peek() || 0)) {
2673
+ return this.error(p.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
2674
+ } else if (s === 60 && !this.ignoreTag && $e(this.peek() || 0)) {
2676
2675
  var o = this.parseTag(t, r);
2677
2676
  if (o.err)
2678
2677
  return o;
@@ -2693,9 +2692,9 @@ var Sn = (
2693
2692
  if (this.bumpSpace(), this.bumpIf("/>"))
2694
2693
  return {
2695
2694
  val: {
2696
- type: v.literal,
2695
+ type: H.literal,
2697
2696
  value: "<".concat(i, "/>"),
2698
- location: _(n, this.clonePosition())
2697
+ location: g(n, this.clonePosition())
2699
2698
  },
2700
2699
  err: null
2701
2700
  };
@@ -2703,27 +2702,27 @@ var Sn = (
2703
2702
  var s = this.parseMessage(t + 1, r, !0);
2704
2703
  if (s.err)
2705
2704
  return s;
2706
- var o = s.val, u = this.clonePosition();
2705
+ var o = s.val, a = this.clonePosition();
2707
2706
  if (this.bumpIf("</")) {
2708
- if (this.isEOF() || !ke(this.char()))
2709
- return this.error(y.INVALID_TAG, _(u, this.clonePosition()));
2710
- var h = this.clonePosition(), a = this.parseTagName();
2711
- return i !== a ? this.error(y.UNMATCHED_CLOSING_TAG, _(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2707
+ if (this.isEOF() || !$e(this.char()))
2708
+ return this.error(p.INVALID_TAG, g(a, this.clonePosition()));
2709
+ var l = this.clonePosition(), u = this.parseTagName();
2710
+ return i !== u ? this.error(p.UNMATCHED_CLOSING_TAG, g(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2712
2711
  val: {
2713
- type: v.tag,
2712
+ type: H.tag,
2714
2713
  value: i,
2715
2714
  children: o,
2716
- location: _(n, this.clonePosition())
2715
+ location: g(n, this.clonePosition())
2717
2716
  },
2718
2717
  err: null
2719
- } : this.error(y.INVALID_TAG, _(u, this.clonePosition())));
2718
+ } : this.error(p.INVALID_TAG, g(a, this.clonePosition())));
2720
2719
  } else
2721
- return this.error(y.UNCLOSED_TAG, _(n, this.clonePosition()));
2720
+ return this.error(p.UNCLOSED_TAG, g(n, this.clonePosition()));
2722
2721
  } else
2723
- return this.error(y.INVALID_TAG, _(n, this.clonePosition()));
2722
+ return this.error(p.INVALID_TAG, g(n, this.clonePosition()));
2724
2723
  }, e.prototype.parseTagName = function() {
2725
2724
  var t = this.offset();
2726
- for (this.bump(); !this.isEOF() && Bn(this.char()); )
2725
+ for (this.bump(); !this.isEOF() && bn(this.char()); )
2727
2726
  this.bump();
2728
2727
  return this.message.slice(t, this.offset());
2729
2728
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2738,21 +2737,21 @@ var Sn = (
2738
2737
  i += o;
2739
2738
  continue;
2740
2739
  }
2741
- var u = this.tryParseLeftAngleBracket();
2742
- if (u) {
2743
- i += u;
2740
+ var a = this.tryParseLeftAngleBracket();
2741
+ if (a) {
2742
+ i += a;
2744
2743
  continue;
2745
2744
  }
2746
2745
  break;
2747
2746
  }
2748
- var h = _(n, this.clonePosition());
2747
+ var l = g(n, this.clonePosition());
2749
2748
  return {
2750
- val: { type: v.literal, value: i, location: h },
2749
+ val: { type: H.literal, value: i, location: l },
2751
2750
  err: null
2752
2751
  };
2753
2752
  }, e.prototype.tryParseLeftAngleBracket = function() {
2754
2753
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2755
- !An(this.peek() || 0)) ? (this.bump(), "<") : null;
2754
+ !gn(this.peek() || 0)) ? (this.bump(), "<") : null;
2756
2755
  }, e.prototype.tryParseQuote = function(t) {
2757
2756
  if (this.isEOF() || this.char() !== 39)
2758
2757
  return null;
@@ -2786,100 +2785,100 @@ var Sn = (
2786
2785
  r.push(n);
2787
2786
  this.bump();
2788
2787
  }
2789
- return Fe.apply(void 0, r);
2788
+ return Me.apply(void 0, r);
2790
2789
  }, e.prototype.tryParseUnquoted = function(t, r) {
2791
2790
  if (this.isEOF())
2792
2791
  return null;
2793
2792
  var n = this.char();
2794
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Fe(n));
2793
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Me(n));
2795
2794
  }, e.prototype.parseArgument = function(t, r) {
2796
2795
  var n = this.clonePosition();
2797
2796
  if (this.bump(), this.bumpSpace(), this.isEOF())
2798
- return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition()));
2797
+ return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition()));
2799
2798
  if (this.char() === 125)
2800
- return this.bump(), this.error(y.EMPTY_ARGUMENT, _(n, this.clonePosition()));
2799
+ return this.bump(), this.error(p.EMPTY_ARGUMENT, g(n, this.clonePosition()));
2801
2800
  var i = this.parseIdentifierIfPossible().value;
2802
2801
  if (!i)
2803
- return this.error(y.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
2802
+ return this.error(p.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
2804
2803
  if (this.bumpSpace(), this.isEOF())
2805
- return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition()));
2804
+ return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition()));
2806
2805
  switch (this.char()) {
2807
2806
  case 125:
2808
2807
  return this.bump(), {
2809
2808
  val: {
2810
- type: v.argument,
2809
+ type: H.argument,
2811
2810
  // value does not include the opening and closing braces.
2812
2811
  value: i,
2813
- location: _(n, this.clonePosition())
2812
+ location: g(n, this.clonePosition())
2814
2813
  },
2815
2814
  err: null
2816
2815
  };
2817
2816
  case 44:
2818
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2817
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2819
2818
  default:
2820
- return this.error(y.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
2819
+ return this.error(p.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
2821
2820
  }
2822
2821
  }, e.prototype.parseIdentifierIfPossible = function() {
2823
- var t = this.clonePosition(), r = this.offset(), n = je(this.message, r), i = r + n.length;
2822
+ var t = this.clonePosition(), r = this.offset(), n = Re(this.message, r), i = r + n.length;
2824
2823
  this.bumpTo(i);
2825
- var s = this.clonePosition(), o = _(t, s);
2824
+ var s = this.clonePosition(), o = g(t, s);
2826
2825
  return { value: n, location: o };
2827
2826
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
2828
- var s, o = this.clonePosition(), u = this.parseIdentifierIfPossible().value, h = this.clonePosition();
2829
- switch (u) {
2827
+ var s, o = this.clonePosition(), a = this.parseIdentifierIfPossible().value, l = this.clonePosition();
2828
+ switch (a) {
2830
2829
  case "":
2831
- return this.error(y.EXPECT_ARGUMENT_TYPE, _(o, h));
2830
+ return this.error(p.EXPECT_ARGUMENT_TYPE, g(o, l));
2832
2831
  case "number":
2833
2832
  case "date":
2834
2833
  case "time": {
2835
2834
  this.bumpSpace();
2836
- var a = null;
2835
+ var u = null;
2837
2836
  if (this.bumpIf(",")) {
2838
2837
  this.bumpSpace();
2839
- var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
2838
+ var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
2840
2839
  if (c.err)
2841
2840
  return c;
2842
- var f = Hn(c.val);
2841
+ var f = dn(c.val);
2843
2842
  if (f.length === 0)
2844
- return this.error(y.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
2845
- var p = _(l, this.clonePosition());
2846
- a = { style: f, styleLocation: p };
2843
+ return this.error(p.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
2844
+ var v = g(h, this.clonePosition());
2845
+ u = { style: f, styleLocation: v };
2847
2846
  }
2848
- var d = this.tryParseArgumentClose(i);
2849
- if (d.err)
2850
- return d;
2851
- var g = _(i, this.clonePosition());
2852
- if (a && lt(a == null ? void 0 : a.style, "::", 0)) {
2853
- var E = Cn(a.style.slice(2));
2854
- if (u === "number") {
2855
- var c = this.parseNumberSkeletonFromString(E, a.styleLocation);
2847
+ var b = this.tryParseArgumentClose(i);
2848
+ if (b.err)
2849
+ return b;
2850
+ var d = g(i, this.clonePosition());
2851
+ if (u && st(u == null ? void 0 : u.style, "::", 0)) {
2852
+ var _ = mn(u.style.slice(2));
2853
+ if (a === "number") {
2854
+ var c = this.parseNumberSkeletonFromString(_, u.styleLocation);
2856
2855
  return c.err ? c : {
2857
- val: { type: v.number, value: n, location: g, style: c.val },
2856
+ val: { type: H.number, value: n, location: d, style: c.val },
2858
2857
  err: null
2859
2858
  };
2860
2859
  } else {
2861
- if (E.length === 0)
2862
- return this.error(y.EXPECT_DATE_TIME_SKELETON, g);
2863
- var m = E;
2864
- this.locale && (m = fn(E, this.locale));
2860
+ if (_.length === 0)
2861
+ return this.error(p.EXPECT_DATE_TIME_SKELETON, d);
2862
+ var M = _;
2863
+ this.locale && (M = Kr(_, this.locale));
2865
2864
  var f = {
2866
- type: J.dateTime,
2867
- pattern: m,
2868
- location: a.styleLocation,
2869
- parsedOptions: this.shouldParseSkeletons ? nn(m) : {}
2870
- }, T = u === "date" ? v.date : v.time;
2865
+ type: W.dateTime,
2866
+ pattern: M,
2867
+ location: u.styleLocation,
2868
+ parsedOptions: this.shouldParseSkeletons ? zr(M) : {}
2869
+ }, B = a === "date" ? H.date : H.time;
2871
2870
  return {
2872
- val: { type: T, value: n, location: g, style: f },
2871
+ val: { type: B, value: n, location: d, style: f },
2873
2872
  err: null
2874
2873
  };
2875
2874
  }
2876
2875
  }
2877
2876
  return {
2878
2877
  val: {
2879
- type: u === "number" ? v.number : u === "date" ? v.date : v.time,
2878
+ type: a === "number" ? H.number : a === "date" ? H.date : H.time,
2880
2879
  value: n,
2881
- location: g,
2882
- style: (s = a == null ? void 0 : a.style) !== null && s !== void 0 ? s : null
2880
+ location: d,
2881
+ style: (s = u == null ? void 0 : u.style) !== null && s !== void 0 ? s : null
2883
2882
  },
2884
2883
  err: null
2885
2884
  };
@@ -2887,52 +2886,52 @@ var Sn = (
2887
2886
  case "plural":
2888
2887
  case "selectordinal":
2889
2888
  case "select": {
2890
- var S = this.clonePosition();
2889
+ var y = this.clonePosition();
2891
2890
  if (this.bumpSpace(), !this.bumpIf(","))
2892
- return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, _(S, _e({}, S)));
2891
+ return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, g(y, fe({}, y)));
2893
2892
  this.bumpSpace();
2894
- var w = this.parseIdentifierIfPossible(), A = 0;
2895
- if (u !== "select" && w.value === "offset") {
2893
+ var O = this.parseIdentifierIfPossible(), w = 0;
2894
+ if (a !== "select" && O.value === "offset") {
2896
2895
  if (!this.bumpIf(":"))
2897
- return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
2896
+ return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g(this.clonePosition(), this.clonePosition()));
2898
2897
  this.bumpSpace();
2899
- var c = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2898
+ var c = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, p.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2900
2899
  if (c.err)
2901
2900
  return c;
2902
- this.bumpSpace(), w = this.parseIdentifierIfPossible(), A = c.val;
2901
+ this.bumpSpace(), O = this.parseIdentifierIfPossible(), w = c.val;
2903
2902
  }
2904
- var H = this.tryParsePluralOrSelectOptions(t, u, r, w);
2905
- if (H.err)
2906
- return H;
2907
- var d = this.tryParseArgumentClose(i);
2908
- if (d.err)
2909
- return d;
2910
- var P = _(i, this.clonePosition());
2911
- return u === "select" ? {
2903
+ var $ = this.tryParsePluralOrSelectOptions(t, a, r, O);
2904
+ if ($.err)
2905
+ return $;
2906
+ var b = this.tryParseArgumentClose(i);
2907
+ if (b.err)
2908
+ return b;
2909
+ var E = g(i, this.clonePosition());
2910
+ return a === "select" ? {
2912
2911
  val: {
2913
- type: v.select,
2912
+ type: H.select,
2914
2913
  value: n,
2915
- options: ft(H.val),
2916
- location: P
2914
+ options: ot($.val),
2915
+ location: E
2917
2916
  },
2918
2917
  err: null
2919
2918
  } : {
2920
2919
  val: {
2921
- type: v.plural,
2920
+ type: H.plural,
2922
2921
  value: n,
2923
- options: ft(H.val),
2924
- offset: A,
2925
- pluralType: u === "plural" ? "cardinal" : "ordinal",
2926
- location: P
2922
+ options: ot($.val),
2923
+ offset: w,
2924
+ pluralType: a === "plural" ? "cardinal" : "ordinal",
2925
+ location: E
2927
2926
  },
2928
2927
  err: null
2929
2928
  };
2930
2929
  }
2931
2930
  default:
2932
- return this.error(y.INVALID_ARGUMENT_TYPE, _(o, h));
2931
+ return this.error(p.INVALID_ARGUMENT_TYPE, g(o, l));
2933
2932
  }
2934
2933
  }, e.prototype.tryParseArgumentClose = function(t) {
2935
- return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2934
+ return this.isEOF() || this.char() !== 125 ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, g(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2936
2935
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
2937
2936
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
2938
2937
  var n = this.char();
@@ -2941,7 +2940,7 @@ var Sn = (
2941
2940
  this.bump();
2942
2941
  var i = this.clonePosition();
2943
2942
  if (!this.bumpUntil("'"))
2944
- return this.error(y.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, _(i, this.clonePosition()));
2943
+ return this.error(p.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, g(i, this.clonePosition()));
2945
2944
  this.bump();
2946
2945
  break;
2947
2946
  }
@@ -2971,64 +2970,64 @@ var Sn = (
2971
2970
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2972
2971
  var n = [];
2973
2972
  try {
2974
- n = on(t);
2973
+ n = Zr(t);
2975
2974
  } catch (i) {
2976
- return this.error(y.INVALID_NUMBER_SKELETON, r);
2975
+ return this.error(p.INVALID_NUMBER_SKELETON, r);
2977
2976
  }
2978
2977
  return {
2979
2978
  val: {
2980
- type: J.number,
2979
+ type: W.number,
2981
2980
  tokens: n,
2982
2981
  location: r,
2983
- parsedOptions: this.shouldParseSkeletons ? ln(n) : {}
2982
+ parsedOptions: this.shouldParseSkeletons ? Yr(n) : {}
2984
2983
  },
2985
2984
  err: null
2986
2985
  };
2987
2986
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
2988
- for (var s, o = !1, u = [], h = /* @__PURE__ */ new Set(), a = i.value, l = i.location; ; ) {
2989
- if (a.length === 0) {
2987
+ for (var s, o = !1, a = [], l = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
2988
+ if (u.length === 0) {
2990
2989
  var c = this.clonePosition();
2991
2990
  if (r !== "select" && this.bumpIf("=")) {
2992
- var f = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_SELECTOR, y.INVALID_PLURAL_ARGUMENT_SELECTOR);
2991
+ var f = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_SELECTOR, p.INVALID_PLURAL_ARGUMENT_SELECTOR);
2993
2992
  if (f.err)
2994
2993
  return f;
2995
- l = _(c, this.clonePosition()), a = this.message.slice(c.offset, this.offset());
2994
+ h = g(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
2996
2995
  } else
2997
2996
  break;
2998
2997
  }
2999
- if (h.has(a))
3000
- return this.error(r === "select" ? y.DUPLICATE_SELECT_ARGUMENT_SELECTOR : y.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
3001
- a === "other" && (o = !0), this.bumpSpace();
3002
- var p = this.clonePosition();
2998
+ if (l.has(u))
2999
+ return this.error(r === "select" ? p.DUPLICATE_SELECT_ARGUMENT_SELECTOR : p.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3000
+ u === "other" && (o = !0), this.bumpSpace();
3001
+ var v = this.clonePosition();
3003
3002
  if (!this.bumpIf("{"))
3004
- return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, _(this.clonePosition(), this.clonePosition()));
3005
- var d = this.parseMessage(t + 1, r, n);
3003
+ return this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : p.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, g(this.clonePosition(), this.clonePosition()));
3004
+ var b = this.parseMessage(t + 1, r, n);
3005
+ if (b.err)
3006
+ return b;
3007
+ var d = this.tryParseArgumentClose(v);
3006
3008
  if (d.err)
3007
3009
  return d;
3008
- var g = this.tryParseArgumentClose(p);
3009
- if (g.err)
3010
- return g;
3011
- u.push([
3012
- a,
3010
+ a.push([
3011
+ u,
3013
3012
  {
3014
- value: d.val,
3015
- location: _(p, this.clonePosition())
3013
+ value: b.val,
3014
+ location: g(v, this.clonePosition())
3016
3015
  }
3017
- ]), h.add(a), this.bumpSpace(), s = this.parseIdentifierIfPossible(), a = s.value, l = s.location;
3016
+ ]), l.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, h = s.location;
3018
3017
  }
3019
- return u.length === 0 ? this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR, _(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(y.MISSING_OTHER_CLAUSE, _(this.clonePosition(), this.clonePosition())) : { val: u, err: null };
3018
+ return a.length === 0 ? this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR : p.EXPECT_PLURAL_ARGUMENT_SELECTOR, g(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(p.MISSING_OTHER_CLAUSE, g(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3020
3019
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3021
3020
  var n = 1, i = this.clonePosition();
3022
3021
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
3023
3022
  for (var s = !1, o = 0; !this.isEOF(); ) {
3024
- var u = this.char();
3025
- if (u >= 48 && u <= 57)
3026
- s = !0, o = o * 10 + (u - 48), this.bump();
3023
+ var a = this.char();
3024
+ if (a >= 48 && a <= 57)
3025
+ s = !0, o = o * 10 + (a - 48), this.bump();
3027
3026
  else
3028
3027
  break;
3029
3028
  }
3030
- var h = _(i, this.clonePosition());
3031
- return s ? (o *= n, vn(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
3029
+ var l = g(i, this.clonePosition());
3030
+ return s ? (o *= n, cn(o) ? { val: o, err: null } : this.error(r, l)) : this.error(t, l);
3032
3031
  }, e.prototype.offset = function() {
3033
3032
  return this.position.offset;
3034
3033
  }, e.prototype.isEOF = function() {
@@ -3043,7 +3042,7 @@ var Sn = (
3043
3042
  var t = this.position.offset;
3044
3043
  if (t >= this.message.length)
3045
3044
  throw Error("out of bound");
3046
- var r = kt(this.message, t);
3045
+ var r = Lt(this.message, t);
3047
3046
  if (r === void 0)
3048
3047
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3049
3048
  return r;
@@ -3062,7 +3061,7 @@ var Sn = (
3062
3061
  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);
3063
3062
  }
3064
3063
  }, e.prototype.bumpIf = function(t) {
3065
- if (lt(this.message, t, this.offset())) {
3064
+ if (st(this.message, t, this.offset())) {
3066
3065
  for (var r = 0; r < t.length; r++)
3067
3066
  this.bump();
3068
3067
  return !0;
@@ -3084,7 +3083,7 @@ var Sn = (
3084
3083
  break;
3085
3084
  }
3086
3085
  }, e.prototype.bumpSpace = function() {
3087
- for (; !this.isEOF() && Xt(this.char()); )
3086
+ for (; !this.isEOF() && Rt(this.char()); )
3088
3087
  this.bump();
3089
3088
  }, e.prototype.peek = function() {
3090
3089
  if (this.isEOF())
@@ -3094,47 +3093,47 @@ var Sn = (
3094
3093
  }, e;
3095
3094
  }()
3096
3095
  );
3097
- function ke(e) {
3096
+ function $e(e) {
3098
3097
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3099
3098
  }
3100
- function An(e) {
3101
- return ke(e) || e === 47;
3099
+ function gn(e) {
3100
+ return $e(e) || e === 47;
3102
3101
  }
3103
- function Bn(e) {
3102
+ function bn(e) {
3104
3103
  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;
3105
3104
  }
3106
- function Xt(e) {
3105
+ function Rt(e) {
3107
3106
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3108
3107
  }
3109
- function On(e) {
3108
+ function vn(e) {
3110
3109
  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;
3111
3110
  }
3112
- function Ve(e) {
3111
+ function Ue(e) {
3113
3112
  e.forEach(function(t) {
3114
- if (delete t.location, Mt(t) || $t(t))
3113
+ if (delete t.location, Bt(t) || At(t))
3115
3114
  for (var r in t.options)
3116
- delete t.options[r].location, Ve(t.options[r].value);
3115
+ delete t.options[r].location, Ue(t.options[r].value);
3117
3116
  else
3118
- Nt(t) && Ut(t.style) || (Lt(t) || It(t)) && De(t.style) ? delete t.style.location : Rt(t) && Ve(t.children);
3117
+ Ht(t) && Pt(t.style) || (St(t) || Tt(t)) && Ie(t.style) ? delete t.style.location : wt(t) && Ue(t.children);
3119
3118
  });
3120
3119
  }
3121
- function wn(e, t) {
3122
- t === void 0 && (t = {}), t = _e({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3123
- var r = new Sn(e, t).parse();
3120
+ function yn(e, t) {
3121
+ t === void 0 && (t = {}), t = fe({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3122
+ var r = new pn(e, t).parse();
3124
3123
  if (r.err) {
3125
- var n = SyntaxError(y[r.err.kind]);
3124
+ var n = SyntaxError(p[r.err.kind]);
3126
3125
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3127
3126
  }
3128
- return t != null && t.captureLocation || Ve(r.val), r.val;
3127
+ return t != null && t.captureLocation || Ue(r.val), r.val;
3129
3128
  }
3130
- var Y;
3129
+ var Z;
3131
3130
  (function(e) {
3132
3131
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3133
- })(Y || (Y = {}));
3134
- var Ce = (
3132
+ })(Z || (Z = {}));
3133
+ var be = (
3135
3134
  /** @class */
3136
3135
  function(e) {
3137
- Te(t, e);
3136
+ ge(t, e);
3138
3137
  function t(r, n, i) {
3139
3138
  var s = e.call(this, r) || this;
3140
3139
  return s.code = n, s.originalMessage = i, s;
@@ -3143,155 +3142,155 @@ var Ce = (
3143
3142
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3144
3143
  }, t;
3145
3144
  }(Error)
3146
- ), gt = (
3145
+ ), ut = (
3147
3146
  /** @class */
3148
3147
  function(e) {
3149
- Te(t, e);
3148
+ ge(t, e);
3150
3149
  function t(r, n, i, s) {
3151
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Y.INVALID_VALUE, s) || this;
3150
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Z.INVALID_VALUE, s) || this;
3152
3151
  }
3153
3152
  return t;
3154
- }(Ce)
3155
- ), Pn = (
3153
+ }(be)
3154
+ ), En = (
3156
3155
  /** @class */
3157
3156
  function(e) {
3158
- Te(t, e);
3157
+ ge(t, e);
3159
3158
  function t(r, n, i) {
3160
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Y.INVALID_VALUE, i) || this;
3159
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Z.INVALID_VALUE, i) || this;
3161
3160
  }
3162
3161
  return t;
3163
- }(Ce)
3164
- ), Nn = (
3162
+ }(be)
3163
+ ), xn = (
3165
3164
  /** @class */
3166
3165
  function(e) {
3167
- Te(t, e);
3166
+ ge(t, e);
3168
3167
  function t(r, n) {
3169
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Y.MISSING_VALUE, n) || this;
3168
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Z.MISSING_VALUE, n) || this;
3170
3169
  }
3171
3170
  return t;
3172
- }(Ce)
3173
- ), O;
3171
+ }(be)
3172
+ ), T;
3174
3173
  (function(e) {
3175
3174
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3176
- })(O || (O = {}));
3177
- function Ln(e) {
3175
+ })(T || (T = {}));
3176
+ function _n(e) {
3178
3177
  return e.length < 2 ? e : e.reduce(function(t, r) {
3179
3178
  var n = t[t.length - 1];
3180
- return !n || n.type !== O.literal || r.type !== O.literal ? t.push(r) : n.value += r.value, t;
3179
+ return !n || n.type !== T.literal || r.type !== T.literal ? t.push(r) : n.value += r.value, t;
3181
3180
  }, []);
3182
3181
  }
3183
- function In(e) {
3182
+ function Hn(e) {
3184
3183
  return typeof e == "function";
3185
3184
  }
3186
- function de(e, t, r, n, i, s, o) {
3187
- if (e.length === 1 && ot(e[0]))
3185
+ function he(e, t, r, n, i, s, o) {
3186
+ if (e.length === 1 && tt(e[0]))
3188
3187
  return [
3189
3188
  {
3190
- type: O.literal,
3189
+ type: T.literal,
3191
3190
  value: e[0].value
3192
3191
  }
3193
3192
  ];
3194
- for (var u = [], h = 0, a = e; h < a.length; h++) {
3195
- var l = a[h];
3196
- if (ot(l)) {
3197
- u.push({
3198
- type: O.literal,
3199
- value: l.value
3193
+ for (var a = [], l = 0, u = e; l < u.length; l++) {
3194
+ var h = u[l];
3195
+ if (tt(h)) {
3196
+ a.push({
3197
+ type: T.literal,
3198
+ value: h.value
3200
3199
  });
3201
3200
  continue;
3202
3201
  }
3203
- if (tn(l)) {
3204
- typeof s == "number" && u.push({
3205
- type: O.literal,
3202
+ if (kr(h)) {
3203
+ typeof s == "number" && a.push({
3204
+ type: T.literal,
3206
3205
  value: r.getNumberFormat(t).format(s)
3207
3206
  });
3208
3207
  continue;
3209
3208
  }
3210
- var c = l.value;
3209
+ var c = h.value;
3211
3210
  if (!(i && c in i))
3212
- throw new Nn(c, o);
3211
+ throw new xn(c, o);
3213
3212
  var f = i[c];
3214
- if (en(l)) {
3215
- (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), u.push({
3216
- type: typeof f == "string" ? O.literal : O.object,
3213
+ if (Vr(h)) {
3214
+ (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3215
+ type: typeof f == "string" ? T.literal : T.object,
3217
3216
  value: f
3218
3217
  });
3219
3218
  continue;
3220
3219
  }
3221
- if (Lt(l)) {
3222
- var p = typeof l.style == "string" ? n.date[l.style] : De(l.style) ? l.style.parsedOptions : void 0;
3223
- u.push({
3224
- type: O.literal,
3225
- value: r.getDateTimeFormat(t, p).format(f)
3220
+ if (St(h)) {
3221
+ var v = typeof h.style == "string" ? n.date[h.style] : Ie(h.style) ? h.style.parsedOptions : void 0;
3222
+ a.push({
3223
+ type: T.literal,
3224
+ value: r.getDateTimeFormat(t, v).format(f)
3226
3225
  });
3227
3226
  continue;
3228
3227
  }
3229
- if (It(l)) {
3230
- var p = typeof l.style == "string" ? n.time[l.style] : De(l.style) ? l.style.parsedOptions : n.time.medium;
3231
- u.push({
3232
- type: O.literal,
3233
- value: r.getDateTimeFormat(t, p).format(f)
3228
+ if (Tt(h)) {
3229
+ var v = typeof h.style == "string" ? n.time[h.style] : Ie(h.style) ? h.style.parsedOptions : n.time.medium;
3230
+ a.push({
3231
+ type: T.literal,
3232
+ value: r.getDateTimeFormat(t, v).format(f)
3234
3233
  });
3235
3234
  continue;
3236
3235
  }
3237
- if (Nt(l)) {
3238
- var p = typeof l.style == "string" ? n.number[l.style] : Ut(l.style) ? l.style.parsedOptions : void 0;
3239
- p && p.scale && (f = f * (p.scale || 1)), u.push({
3240
- type: O.literal,
3241
- value: r.getNumberFormat(t, p).format(f)
3236
+ if (Ht(h)) {
3237
+ var v = typeof h.style == "string" ? n.number[h.style] : Pt(h.style) ? h.style.parsedOptions : void 0;
3238
+ v && v.scale && (f = f * (v.scale || 1)), a.push({
3239
+ type: T.literal,
3240
+ value: r.getNumberFormat(t, v).format(f)
3242
3241
  });
3243
3242
  continue;
3244
3243
  }
3245
- if (Rt(l)) {
3246
- var d = l.children, g = l.value, E = i[g];
3247
- if (!In(E))
3248
- throw new Pn(g, "function", o);
3249
- var m = de(d, t, r, n, i, s), T = E(m.map(function(A) {
3250
- return A.value;
3244
+ if (wt(h)) {
3245
+ var b = h.children, d = h.value, _ = i[d];
3246
+ if (!Hn(_))
3247
+ throw new En(d, "function", o);
3248
+ var M = he(b, t, r, n, i, s), B = _(M.map(function(w) {
3249
+ return w.value;
3251
3250
  }));
3252
- Array.isArray(T) || (T = [T]), u.push.apply(u, T.map(function(A) {
3251
+ Array.isArray(B) || (B = [B]), a.push.apply(a, B.map(function(w) {
3253
3252
  return {
3254
- type: typeof A == "string" ? O.literal : O.object,
3255
- value: A
3253
+ type: typeof w == "string" ? T.literal : T.object,
3254
+ value: w
3256
3255
  };
3257
3256
  }));
3258
3257
  }
3259
- if (Mt(l)) {
3260
- var S = l.options[f] || l.options.other;
3261
- if (!S)
3262
- throw new gt(l.value, f, Object.keys(l.options), o);
3263
- u.push.apply(u, de(S.value, t, r, n, i));
3258
+ if (Bt(h)) {
3259
+ var y = h.options[f] || h.options.other;
3260
+ if (!y)
3261
+ throw new ut(h.value, f, Object.keys(h.options), o);
3262
+ a.push.apply(a, he(y.value, t, r, n, i));
3264
3263
  continue;
3265
3264
  }
3266
- if ($t(l)) {
3267
- var S = l.options["=".concat(f)];
3268
- if (!S) {
3265
+ if (At(h)) {
3266
+ var y = h.options["=".concat(f)];
3267
+ if (!y) {
3269
3268
  if (!Intl.PluralRules)
3270
- throw new Ce(`Intl.PluralRules is not available in this environment.
3269
+ throw new be(`Intl.PluralRules is not available in this environment.
3271
3270
  Try polyfilling it using "@formatjs/intl-pluralrules"
3272
- `, Y.MISSING_INTL_API, o);
3273
- var w = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
3274
- S = l.options[w] || l.options.other;
3271
+ `, Z.MISSING_INTL_API, o);
3272
+ var O = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3273
+ y = h.options[O] || h.options.other;
3275
3274
  }
3276
- if (!S)
3277
- throw new gt(l.value, f, Object.keys(l.options), o);
3278
- u.push.apply(u, de(S.value, t, r, n, i, f - (l.offset || 0)));
3275
+ if (!y)
3276
+ throw new ut(h.value, f, Object.keys(h.options), o);
3277
+ a.push.apply(a, he(y.value, t, r, n, i, f - (h.offset || 0)));
3279
3278
  continue;
3280
3279
  }
3281
3280
  }
3282
- return Ln(u);
3281
+ return _n(a);
3283
3282
  }
3284
- function Mn(e, t) {
3285
- return t ? U(U(U({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3286
- return r[n] = U(U({}, e[n]), t[n] || {}), r;
3283
+ function Sn(e, t) {
3284
+ return t ? R(R(R({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3285
+ return r[n] = R(R({}, e[n]), t[n] || {}), r;
3287
3286
  }, {})) : e;
3288
3287
  }
3289
- function $n(e, t) {
3288
+ function Tn(e, t) {
3290
3289
  return t ? Object.keys(e).reduce(function(r, n) {
3291
- return r[n] = Mn(e[n], t[n]), r;
3292
- }, U({}, e)) : e;
3290
+ return r[n] = Sn(e[n], t[n]), r;
3291
+ }, R({}, e)) : e;
3293
3292
  }
3294
- function Le(e) {
3293
+ function Ae(e) {
3295
3294
  return {
3296
3295
  create: function() {
3297
3296
  return {
@@ -3305,39 +3304,39 @@ function Le(e) {
3305
3304
  }
3306
3305
  };
3307
3306
  }
3308
- function Rn(e) {
3307
+ function Bn(e) {
3309
3308
  return e === void 0 && (e = {
3310
3309
  number: {},
3311
3310
  dateTime: {},
3312
3311
  pluralRules: {}
3313
3312
  }), {
3314
- getNumberFormat: we(function() {
3313
+ getNumberFormat: Se(function() {
3315
3314
  for (var t, r = [], n = 0; n < arguments.length; n++)
3316
3315
  r[n] = arguments[n];
3317
- return new ((t = Intl.NumberFormat).bind.apply(t, Oe([void 0], r, !1)))();
3316
+ return new ((t = Intl.NumberFormat).bind.apply(t, He([void 0], r, !1)))();
3318
3317
  }, {
3319
- cache: Le(e.number),
3320
- strategy: Pe.variadic
3318
+ cache: Ae(e.number),
3319
+ strategy: Te.variadic
3321
3320
  }),
3322
- getDateTimeFormat: we(function() {
3321
+ getDateTimeFormat: Se(function() {
3323
3322
  for (var t, r = [], n = 0; n < arguments.length; n++)
3324
3323
  r[n] = arguments[n];
3325
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Oe([void 0], r, !1)))();
3324
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, He([void 0], r, !1)))();
3326
3325
  }, {
3327
- cache: Le(e.dateTime),
3328
- strategy: Pe.variadic
3326
+ cache: Ae(e.dateTime),
3327
+ strategy: Te.variadic
3329
3328
  }),
3330
- getPluralRules: we(function() {
3329
+ getPluralRules: Se(function() {
3331
3330
  for (var t, r = [], n = 0; n < arguments.length; n++)
3332
3331
  r[n] = arguments[n];
3333
- return new ((t = Intl.PluralRules).bind.apply(t, Oe([void 0], r, !1)))();
3332
+ return new ((t = Intl.PluralRules).bind.apply(t, He([void 0], r, !1)))();
3334
3333
  }, {
3335
- cache: Le(e.pluralRules),
3336
- strategy: Pe.variadic
3334
+ cache: Ae(e.pluralRules),
3335
+ strategy: Te.variadic
3337
3336
  })
3338
3337
  };
3339
3338
  }
3340
- var Un = (
3339
+ var An = (
3341
3340
  /** @class */
3342
3341
  function() {
3343
3342
  function e(t, r, n, i) {
@@ -3347,20 +3346,20 @@ var Un = (
3347
3346
  number: {},
3348
3347
  dateTime: {},
3349
3348
  pluralRules: {}
3350
- }, this.format = function(h) {
3351
- var a = s.formatToParts(h);
3352
- if (a.length === 1)
3353
- return a[0].value;
3354
- var l = a.reduce(function(c, f) {
3355
- return !c.length || f.type !== O.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3349
+ }, this.format = function(l) {
3350
+ var u = s.formatToParts(l);
3351
+ if (u.length === 1)
3352
+ return u[0].value;
3353
+ var h = u.reduce(function(c, f) {
3354
+ return !c.length || f.type !== T.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3356
3355
  }, []);
3357
- return l.length <= 1 ? l[0] || "" : l;
3358
- }, this.formatToParts = function(h) {
3359
- return de(s.ast, s.locales, s.formatters, s.formats, h, void 0, s.message);
3356
+ return h.length <= 1 ? h[0] || "" : h;
3357
+ }, this.formatToParts = function(l) {
3358
+ return he(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
3360
3359
  }, this.resolvedOptions = function() {
3361
- var h;
3360
+ var l;
3362
3361
  return {
3363
- locale: ((h = s.resolvedLocale) === null || h === void 0 ? void 0 : h.toString()) || Intl.NumberFormat.supportedLocalesOf(s.locales)[0]
3362
+ locale: ((l = s.resolvedLocale) === null || l === void 0 ? void 0 : l.toString()) || Intl.NumberFormat.supportedLocalesOf(s.locales)[0]
3364
3363
  };
3365
3364
  }, this.getAst = function() {
3366
3365
  return s.ast;
@@ -3369,13 +3368,13 @@ var Un = (
3369
3368
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3370
3369
  var o = i || {};
3371
3370
  o.formatters;
3372
- var u = zr(o, ["formatters"]);
3373
- this.ast = e.__parse(t, U(U({}, u), { locale: this.resolvedLocale }));
3371
+ var a = Mr(o, ["formatters"]);
3372
+ this.ast = e.__parse(t, R(R({}, a), { locale: this.resolvedLocale }));
3374
3373
  } else
3375
3374
  this.ast = t;
3376
3375
  if (!Array.isArray(this.ast))
3377
3376
  throw new TypeError("A message must be provided as a String or AST.");
3378
- this.formats = $n(e.formats, n), this.formatters = i && i.formatters || Rn(this.formatterCache);
3377
+ this.formats = Tn(e.formats, n), this.formatters = i && i.formatters || Bn(this.formatterCache);
3379
3378
  }
3380
3379
  return Object.defineProperty(e, "defaultLocale", {
3381
3380
  get: function() {
@@ -3388,7 +3387,7 @@ var Un = (
3388
3387
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3389
3388
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3390
3389
  }
3391
- }, e.__parse = wn, e.formats = {
3390
+ }, e.__parse = yn, e.formats = {
3392
3391
  number: {
3393
3392
  integer: {
3394
3393
  maximumFractionDigits: 0
@@ -3449,7 +3448,7 @@ var Un = (
3449
3448
  }, e;
3450
3449
  }()
3451
3450
  );
3452
- function Dn(e, t) {
3451
+ function wn(e, t) {
3453
3452
  if (t == null)
3454
3453
  return;
3455
3454
  if (t in e)
@@ -3470,92 +3469,92 @@ function Dn(e, t) {
3470
3469
  n = void 0;
3471
3470
  return n;
3472
3471
  }
3473
- const F = {}, Gn = (e, t, r) => r && (t in F || (F[t] = {}), e in F[t] || (F[t][e] = r), r), zt = (e, t) => {
3472
+ const U = {}, Pn = (e, t, r) => r && (t in U || (U[t] = {}), e in U[t] || (U[t][e] = r), r), $t = (e, t) => {
3474
3473
  if (t == null)
3475
3474
  return;
3476
- if (t in F && e in F[t])
3477
- return F[t][e];
3478
- const r = He(t);
3475
+ if (t in U && e in U[t])
3476
+ return U[t][e];
3477
+ const r = ve(t);
3479
3478
  for (let n = 0; n < r.length; n++) {
3480
- const i = r[n], s = jn(i, e);
3479
+ const i = r[n], s = Nn(i, e);
3481
3480
  if (s)
3482
- return Gn(e, t, s);
3481
+ return Pn(e, t, s);
3483
3482
  }
3484
3483
  };
3485
- let Ze;
3486
- const le = ve({});
3487
- function Fn(e) {
3488
- return Ze[e] || null;
3484
+ let Ve;
3485
+ const se = pe({});
3486
+ function On(e) {
3487
+ return Ve[e] || null;
3489
3488
  }
3490
- function Wt(e) {
3491
- return e in Ze;
3489
+ function Ut(e) {
3490
+ return e in Ve;
3492
3491
  }
3493
- function jn(e, t) {
3494
- if (!Wt(e))
3492
+ function Nn(e, t) {
3493
+ if (!Ut(e))
3495
3494
  return null;
3496
- const r = Fn(e);
3497
- return Dn(r, t);
3495
+ const r = On(e);
3496
+ return wn(r, t);
3498
3497
  }
3499
- function kn(e) {
3498
+ function Cn(e) {
3500
3499
  if (e == null)
3501
3500
  return;
3502
- const t = He(e);
3501
+ const t = ve(e);
3503
3502
  for (let r = 0; r < t.length; r++) {
3504
3503
  const n = t[r];
3505
- if (Wt(n))
3504
+ if (Ut(n))
3506
3505
  return n;
3507
3506
  }
3508
3507
  }
3509
- function Zt(e, ...t) {
3510
- delete F[e], le.update((r) => (r[e] = Xr.all([r[e] || {}, ...t]), r));
3508
+ function Dt(e, ...t) {
3509
+ delete U[e], se.update((r) => (r[e] = Lr.all([r[e] || {}, ...t]), r));
3511
3510
  }
3512
- te(
3513
- [le],
3511
+ J(
3512
+ [se],
3514
3513
  ([e]) => Object.keys(e)
3515
3514
  );
3516
- le.subscribe((e) => Ze = e);
3517
- const be = {};
3518
- function Vn(e, t) {
3519
- be[e].delete(t), be[e].size === 0 && delete be[e];
3515
+ se.subscribe((e) => Ve = e);
3516
+ const le = {};
3517
+ function In(e, t) {
3518
+ le[e].delete(t), le[e].size === 0 && delete le[e];
3520
3519
  }
3521
- function Qt(e) {
3522
- return be[e];
3520
+ function Gt(e) {
3521
+ return le[e];
3523
3522
  }
3524
- function Xn(e) {
3525
- return He(e).map((t) => {
3526
- const r = Qt(t);
3523
+ function Ln(e) {
3524
+ return ve(e).map((t) => {
3525
+ const r = Gt(t);
3527
3526
  return [t, r ? [...r] : []];
3528
3527
  }).filter(([, t]) => t.length > 0);
3529
3528
  }
3530
- function Xe(e) {
3531
- return e == null ? !1 : He(e).some(
3529
+ function De(e) {
3530
+ return e == null ? !1 : ve(e).some(
3532
3531
  (t) => {
3533
3532
  var r;
3534
- return (r = Qt(t)) == null ? void 0 : r.size;
3533
+ return (r = Gt(t)) == null ? void 0 : r.size;
3535
3534
  }
3536
3535
  );
3537
3536
  }
3538
- function zn(e, t) {
3537
+ function Mn(e, t) {
3539
3538
  return Promise.all(
3540
- t.map((n) => (Vn(e, n), n().then((i) => i.default || i)))
3541
- ).then((n) => Zt(e, ...n));
3542
- }
3543
- const ie = {};
3544
- function qt(e) {
3545
- if (!Xe(e))
3546
- return e in ie ? ie[e] : Promise.resolve();
3547
- const t = Xn(e);
3548
- return ie[e] = Promise.all(
3539
+ t.map((n) => (In(e, n), n().then((i) => i.default || i)))
3540
+ ).then((n) => Dt(e, ...n));
3541
+ }
3542
+ const ee = {};
3543
+ function Ft(e) {
3544
+ if (!De(e))
3545
+ return e in ee ? ee[e] : Promise.resolve();
3546
+ const t = Ln(e);
3547
+ return ee[e] = Promise.all(
3549
3548
  t.map(
3550
- ([r, n]) => zn(r, n)
3549
+ ([r, n]) => Mn(r, n)
3551
3550
  )
3552
3551
  ).then(() => {
3553
- if (Xe(e))
3554
- return qt(e);
3555
- delete ie[e];
3556
- }), ie[e];
3552
+ if (De(e))
3553
+ return Ft(e);
3554
+ delete ee[e];
3555
+ }), ee[e];
3557
3556
  }
3558
- const Wn = {
3557
+ const Rn = {
3559
3558
  number: {
3560
3559
  scientific: { notation: "scientific" },
3561
3560
  engineering: { notation: "engineering" },
@@ -3584,159 +3583,159 @@ const Wn = {
3584
3583
  timeZoneName: "short"
3585
3584
  }
3586
3585
  }
3587
- }, Zn = {
3586
+ }, $n = {
3588
3587
  fallbackLocale: null,
3589
3588
  loadingDelay: 200,
3590
- formats: Wn,
3589
+ formats: Rn,
3591
3590
  warnOnMissingMessages: !0,
3592
3591
  handleMissingMessage: void 0,
3593
3592
  ignoreTag: !0
3594
- }, Qn = Zn;
3595
- function K() {
3596
- return Qn;
3593
+ }, Un = $n;
3594
+ function Q() {
3595
+ return Un;
3597
3596
  }
3598
- const Ie = ve(!1);
3599
- var qn = Object.defineProperty, Jn = Object.defineProperties, Yn = Object.getOwnPropertyDescriptors, mt = Object.getOwnPropertySymbols, Kn = Object.prototype.hasOwnProperty, ei = Object.prototype.propertyIsEnumerable, pt = (e, t, r) => t in e ? qn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ti = (e, t) => {
3597
+ const we = pe(!1);
3598
+ var Dn = Object.defineProperty, Gn = Object.defineProperties, Fn = Object.getOwnPropertyDescriptors, ht = Object.getOwnPropertySymbols, jn = Object.prototype.hasOwnProperty, Vn = Object.prototype.propertyIsEnumerable, lt = (e, t, r) => t in e ? Dn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, kn = (e, t) => {
3600
3599
  for (var r in t || (t = {}))
3601
- Kn.call(t, r) && pt(e, r, t[r]);
3602
- if (mt)
3603
- for (var r of mt(t))
3604
- ei.call(t, r) && pt(e, r, t[r]);
3600
+ jn.call(t, r) && lt(e, r, t[r]);
3601
+ if (ht)
3602
+ for (var r of ht(t))
3603
+ Vn.call(t, r) && lt(e, r, t[r]);
3605
3604
  return e;
3606
- }, ri = (e, t) => Jn(e, Yn(t));
3607
- let ze;
3608
- const Ee = ve(null);
3609
- function dt(e) {
3605
+ }, Xn = (e, t) => Gn(e, Fn(t));
3606
+ let Ge;
3607
+ const me = pe(null);
3608
+ function ct(e) {
3610
3609
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3611
3610
  }
3612
- function He(e, t = K().fallbackLocale) {
3613
- const r = dt(e);
3614
- return t ? [.../* @__PURE__ */ new Set([...r, ...dt(t)])] : r;
3611
+ function ve(e, t = Q().fallbackLocale) {
3612
+ const r = ct(e);
3613
+ return t ? [.../* @__PURE__ */ new Set([...r, ...ct(t)])] : r;
3615
3614
  }
3616
- function X() {
3617
- return ze != null ? ze : void 0;
3615
+ function D() {
3616
+ return Ge != null ? Ge : void 0;
3618
3617
  }
3619
- Ee.subscribe((e) => {
3620
- ze = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3618
+ me.subscribe((e) => {
3619
+ Ge = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3621
3620
  });
3622
- const ni = (e) => {
3623
- if (e && kn(e) && Xe(e)) {
3624
- const { loadingDelay: t } = K();
3621
+ const zn = (e) => {
3622
+ if (e && Cn(e) && De(e)) {
3623
+ const { loadingDelay: t } = Q();
3625
3624
  let r;
3626
- return typeof window != "undefined" && X() != null && t ? r = window.setTimeout(
3627
- () => Ie.set(!0),
3625
+ return typeof window != "undefined" && D() != null && t ? r = window.setTimeout(
3626
+ () => we.set(!0),
3628
3627
  t
3629
- ) : Ie.set(!0), qt(e).then(() => {
3630
- Ee.set(e);
3628
+ ) : we.set(!0), Ft(e).then(() => {
3629
+ me.set(e);
3631
3630
  }).finally(() => {
3632
- clearTimeout(r), Ie.set(!1);
3631
+ clearTimeout(r), we.set(!1);
3633
3632
  });
3634
3633
  }
3635
- return Ee.set(e);
3636
- }, re = ri(ti({}, Ee), {
3637
- set: ni
3638
- }), Se = (e) => {
3634
+ return me.set(e);
3635
+ }, Y = Xn(kn({}, me), {
3636
+ set: zn
3637
+ }), ye = (e) => {
3639
3638
  const t = /* @__PURE__ */ Object.create(null);
3640
3639
  return (n) => {
3641
3640
  const i = JSON.stringify(n);
3642
3641
  return i in t ? t[i] : t[i] = e(n);
3643
3642
  };
3644
3643
  };
3645
- var ii = Object.defineProperty, xe = Object.getOwnPropertySymbols, Jt = Object.prototype.hasOwnProperty, Yt = Object.prototype.propertyIsEnumerable, bt = (e, t, r) => t in e ? ii(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Qe = (e, t) => {
3644
+ var Wn = Object.defineProperty, de = Object.getOwnPropertySymbols, jt = Object.prototype.hasOwnProperty, Vt = Object.prototype.propertyIsEnumerable, ft = (e, t, r) => t in e ? Wn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ke = (e, t) => {
3646
3645
  for (var r in t || (t = {}))
3647
- Jt.call(t, r) && bt(e, r, t[r]);
3648
- if (xe)
3649
- for (var r of xe(t))
3650
- Yt.call(t, r) && bt(e, r, t[r]);
3646
+ jt.call(t, r) && ft(e, r, t[r]);
3647
+ if (de)
3648
+ for (var r of de(t))
3649
+ Vt.call(t, r) && ft(e, r, t[r]);
3651
3650
  return e;
3652
- }, ne = (e, t) => {
3651
+ }, K = (e, t) => {
3653
3652
  var r = {};
3654
3653
  for (var n in e)
3655
- Jt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3656
- if (e != null && xe)
3657
- for (var n of xe(e))
3658
- t.indexOf(n) < 0 && Yt.call(e, n) && (r[n] = e[n]);
3654
+ jt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3655
+ if (e != null && de)
3656
+ for (var n of de(e))
3657
+ t.indexOf(n) < 0 && Vt.call(e, n) && (r[n] = e[n]);
3659
3658
  return r;
3660
3659
  };
3661
- const ue = (e, t) => {
3662
- const { formats: r } = K();
3660
+ const ie = (e, t) => {
3661
+ const { formats: r } = Q();
3663
3662
  if (e in r && t in r[e])
3664
3663
  return r[e][t];
3665
3664
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3666
- }, si = Se(
3665
+ }, Zn = ye(
3667
3666
  (e) => {
3668
- var t = e, { locale: r, format: n } = t, i = ne(t, ["locale", "format"]);
3667
+ var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
3669
3668
  if (r == null)
3670
3669
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3671
- return n && (i = ue("number", n)), new Intl.NumberFormat(r, i);
3670
+ return n && (i = ie("number", n)), new Intl.NumberFormat(r, i);
3672
3671
  }
3673
- ), oi = Se(
3672
+ ), Qn = ye(
3674
3673
  (e) => {
3675
- var t = e, { locale: r, format: n } = t, i = ne(t, ["locale", "format"]);
3674
+ var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
3676
3675
  if (r == null)
3677
3676
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3678
- return n ? i = ue("date", n) : Object.keys(i).length === 0 && (i = ue("date", "short")), new Intl.DateTimeFormat(r, i);
3677
+ return n ? i = ie("date", n) : Object.keys(i).length === 0 && (i = ie("date", "short")), new Intl.DateTimeFormat(r, i);
3679
3678
  }
3680
- ), ai = Se(
3679
+ ), qn = ye(
3681
3680
  (e) => {
3682
- var t = e, { locale: r, format: n } = t, i = ne(t, ["locale", "format"]);
3681
+ var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
3683
3682
  if (r == null)
3684
3683
  throw new Error(
3685
3684
  '[svelte-i18n] A "locale" must be set to format time values'
3686
3685
  );
3687
- return n ? i = ue("time", n) : Object.keys(i).length === 0 && (i = ue("time", "short")), new Intl.DateTimeFormat(r, i);
3686
+ return n ? i = ie("time", n) : Object.keys(i).length === 0 && (i = ie("time", "short")), new Intl.DateTimeFormat(r, i);
3688
3687
  }
3689
- ), ui = (e = {}) => {
3688
+ ), Jn = (e = {}) => {
3690
3689
  var t = e, {
3691
- locale: r = X()
3692
- } = t, n = ne(t, [
3690
+ locale: r = D()
3691
+ } = t, n = K(t, [
3693
3692
  "locale"
3694
3693
  ]);
3695
- return si(Qe({ locale: r }, n));
3696
- }, hi = (e = {}) => {
3694
+ return Zn(ke({ locale: r }, n));
3695
+ }, Yn = (e = {}) => {
3697
3696
  var t = e, {
3698
- locale: r = X()
3699
- } = t, n = ne(t, [
3697
+ locale: r = D()
3698
+ } = t, n = K(t, [
3700
3699
  "locale"
3701
3700
  ]);
3702
- return oi(Qe({ locale: r }, n));
3703
- }, li = (e = {}) => {
3701
+ return Qn(ke({ locale: r }, n));
3702
+ }, Kn = (e = {}) => {
3704
3703
  var t = e, {
3705
- locale: r = X()
3706
- } = t, n = ne(t, [
3704
+ locale: r = D()
3705
+ } = t, n = K(t, [
3707
3706
  "locale"
3708
3707
  ]);
3709
- return ai(Qe({ locale: r }, n));
3710
- }, fi = Se(
3708
+ return qn(ke({ locale: r }, n));
3709
+ }, ei = ye(
3711
3710
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3712
- (e, t = X()) => new Un(e, t, K().formats, {
3713
- ignoreTag: K().ignoreTag
3711
+ (e, t = D()) => new An(e, t, Q().formats, {
3712
+ ignoreTag: Q().ignoreTag
3714
3713
  })
3715
- ), ci = (e, t = {}) => {
3714
+ ), ti = (e, t = {}) => {
3716
3715
  var r, n, i, s;
3717
3716
  let o = t;
3718
3717
  typeof e == "object" && (o = e, e = o.id);
3719
3718
  const {
3720
- values: u,
3721
- locale: h = X(),
3722
- default: a
3719
+ values: a,
3720
+ locale: l = D(),
3721
+ default: u
3723
3722
  } = o;
3724
- if (h == null)
3723
+ if (l == null)
3725
3724
  throw new Error(
3726
3725
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3727
3726
  );
3728
- let l = zt(e, h);
3729
- if (!l)
3730
- l = (s = (i = (n = (r = K()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: a })) != null ? i : a) != null ? s : e;
3731
- else if (typeof l != "string")
3727
+ let h = $t(e, l);
3728
+ if (!h)
3729
+ h = (s = (i = (n = (r = Q()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
3730
+ else if (typeof h != "string")
3732
3731
  return console.warn(
3733
- `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
3734
- ), l;
3735
- if (!u)
3736
- return l;
3737
- let c = l;
3732
+ `[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.`
3733
+ ), h;
3734
+ if (!a)
3735
+ return h;
3736
+ let c = h;
3738
3737
  try {
3739
- c = fi(l, h).format(u);
3738
+ c = ei(h, l).format(a);
3740
3739
  } catch (f) {
3741
3740
  f instanceof Error && console.warn(
3742
3741
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3744,573 +3743,573 @@ const ue = (e, t) => {
3744
3743
  );
3745
3744
  }
3746
3745
  return c;
3747
- }, gi = (e, t) => li(t).format(e), mi = (e, t) => hi(t).format(e), pi = (e, t) => ui(t).format(e), di = (e, t = X()) => zt(e, t), bi = te([re, le], () => ci);
3748
- te([re], () => gi);
3749
- te([re], () => mi);
3750
- te([re], () => pi);
3751
- te([re, le], () => di);
3752
- function yi(e, t) {
3753
- if (e) {
3754
- const r = document.createElement("style");
3755
- r.innerHTML = t, e.appendChild(r);
3756
- }
3757
- }
3758
- function _i(e, t) {
3759
- if (!e || !t)
3760
- return;
3761
- const r = new URL(t);
3762
- fetch(r.href).then((n) => n.text()).then((n) => {
3763
- const i = document.createElement("style");
3764
- i.innerHTML = n, e && e.appendChild(i);
3765
- }).catch((n) => {
3766
- console.error("There was an error while trying to load client styling from URL", n);
3767
- });
3768
- }
3769
- function Ei(e, t, r) {
3770
- if (window.emMessageBus) {
3771
- const n = document.createElement("style");
3772
- window.emMessageBus.subscribe(t, (i) => {
3773
- n.innerHTML = i, e && e.appendChild(n);
3774
- });
3775
- }
3776
- }
3777
- function yt(e, t) {
3778
- Zt(e, t);
3779
- }
3780
- function xi(e) {
3781
- re.set(e);
3782
- }
3783
- const _t = {
3746
+ }, ri = (e, t) => Kn(t).format(e), ni = (e, t) => Yn(t).format(e), ii = (e, t) => Jn(t).format(e), si = (e, t = D()) => $t(e, t), oi = J([Y, se], () => ti);
3747
+ J([Y], () => ri);
3748
+ J([Y], () => ni);
3749
+ J([Y], () => ii);
3750
+ J([Y, se], () => si);
3751
+ function mt(e, t) {
3752
+ Dt(e, t);
3753
+ }
3754
+ function ai(e) {
3755
+ Y.set(e);
3756
+ }
3757
+ const dt = {
3784
3758
  en: {
3785
- topCategories: "Top Categories",
3786
- otherCategories: "Other Categories",
3787
- loading: "Loading, please wait...",
3788
- games: "games"
3759
+ categories: "Categories",
3760
+ providers: "Suppliers"
3789
3761
  },
3790
3762
  "zh-hk": {
3791
- topCategories: "热门类别",
3792
- otherCategories: "其他类别",
3793
- loading: "加载请稍候...",
3794
- games: "游戏"
3763
+ categories: "类别",
3764
+ providers: "供应商"
3795
3765
  },
3796
3766
  de: {
3797
- topCategories: "Top Kategorien",
3798
- otherCategories: "Andere Kategorien",
3799
- loading: "Es lädt, bitte warten...",
3800
- games: "Spiele"
3767
+ categories: "Kategorien",
3768
+ providers: "Anbieter"
3801
3769
  },
3802
3770
  it: {
3803
- topCategories: "Top Categories",
3804
- otherCategories: "Other Categories",
3805
- loading: "Loading, please wait...",
3806
- games: "games"
3771
+ categories: "Categories",
3772
+ providers: "Suppliers"
3807
3773
  },
3808
3774
  fr: {
3809
- topCategories: "Catégories principales",
3810
- otherCategories: "Autres catégories",
3811
- loading: "Chargement, veuillez patienter...",
3812
- games: "jeux"
3775
+ categories: "Catégories",
3776
+ providers: "Fournisseurs"
3813
3777
  },
3814
3778
  es: {
3815
- topCategories: "Categorias Top",
3816
- otherCategories: "Otras Categorias",
3817
- loading: "Cargando...",
3818
- games: "juegos"
3779
+ categories: "Categorias",
3780
+ providers: "Proveedores"
3819
3781
  },
3820
3782
  tr: {
3821
- topCategories: "En İyi Kategoriler",
3822
- otherCategories: "Diğer Kategoriler",
3823
- loading: "Yükleniyor, lütfen bekleyin...",
3824
- games: "oyunlar"
3783
+ categories: "Kategoriler",
3784
+ providers: "Tedarikçiler"
3825
3785
  },
3826
3786
  ru: {
3827
- topCategories: "Top Categories",
3828
- otherCategories: "Other Categories",
3829
- loading: "Loading, please wait...",
3830
- games: "games"
3787
+ categories: "Categories",
3788
+ providers: "Suppliers"
3831
3789
  },
3832
3790
  ro: {
3833
- topCategories: "Categorii de top",
3834
- otherCategories: "Alte categorii",
3835
- loading: "Se incarca, te rugam asteapta…",
3836
- games: "jocuri"
3791
+ categories: "Categorii",
3792
+ providers: "Furnizori"
3837
3793
  },
3838
3794
  hr: {
3839
- topCategories: "Najbolje kategorije",
3840
- otherCategories: "Ostale kategorije",
3841
- loading: "Učitavam",
3842
- games: "Igre"
3795
+ categories: "Kategorije",
3796
+ providers: "Provideri"
3843
3797
  },
3844
3798
  hu: {
3845
- topCategories: "Top Categories",
3846
- otherCategories: "Other Categories",
3847
- loading: "Loading, please wait...",
3848
- games: "games"
3799
+ categories: "Categories",
3800
+ providers: "Suppliers"
3849
3801
  },
3850
3802
  pl: {
3851
- topCategories: "Top Categories",
3852
- otherCategories: "Other Categories",
3853
- loading: "Loading, please wait...",
3854
- games: "games"
3803
+ categories: "Categories",
3804
+ providers: "Suppliers"
3855
3805
  },
3856
3806
  pt: {
3857
- topCategories: "Top Categories",
3858
- otherCategories: "Other Categories",
3859
- loading: "Loading, please wait...",
3860
- games: "games"
3807
+ categories: "Categories",
3808
+ providers: "Suppliers"
3861
3809
  },
3862
3810
  sl: {
3863
- topCategories: "Top Categories",
3864
- otherCategories: "Other Categories",
3865
- loading: "Loading, please wait...",
3866
- games: "games"
3811
+ categories: "Categories",
3812
+ providers: "Suppliers"
3867
3813
  },
3868
3814
  sr: {
3869
- topCategories: "Top Categories",
3870
- otherCategories: "Other Categories",
3871
- loading: "Loading, please wait...",
3872
- games: "games"
3815
+ categories: "Categories",
3816
+ providers: "Suppliers"
3873
3817
  },
3874
3818
  "pt-br": {
3875
- topCategories: "Categorias Principais",
3876
- otherCategories: "Outras Categorias",
3877
- Loading: "Carregando, por favor espere...",
3878
- games: "jogos"
3819
+ categories: "Categorias",
3820
+ providers: "Provedores"
3879
3821
  },
3880
3822
  "es-mx": {
3881
- topCategories: "Categorias Principales",
3882
- otherCategories: "Otras Categorias",
3883
- Loading: "Cargando, por favor espere...",
3884
- games: "juegos"
3823
+ categories: "Categorias",
3824
+ providers: "Proveedores"
3885
3825
  },
3886
3826
  "en-us": {
3887
- topCategories: "Top Categories",
3888
- otherCategories: "Other Categories",
3889
- loading: "Loading, please wait...",
3890
- games: "games"
3827
+ categories: "Categories",
3828
+ providers: "Suppliers"
3891
3829
  }
3892
3830
  };
3893
- function vi(e) {
3894
- hr(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}");
3895
- }
3896
- function Et(e, t, r) {
3897
- const n = e.slice();
3898
- return n[23] = t[r], n;
3899
- }
3900
- function xt(e, t, r) {
3901
- const n = e.slice();
3902
- return n[23] = t[r], n;
3903
- }
3904
- function Ti(e) {
3905
- let t, r, n = (
3906
- /*$_*/
3907
- e[5]("topCategories") + ""
3908
- ), i, s, o, u, h = (
3909
- /*$_*/
3910
- e[5]("otherCategories") + ""
3911
- ), a, l, c = ge(
3912
- /*topCategories*/
3913
- e[3]
3914
- ), f = [];
3915
- for (let g = 0; g < c.length; g += 1)
3916
- f[g] = vt(xt(e, c, g));
3917
- let p = ge(
3918
- /*otherCategories*/
3919
- e[4]
3920
- ), d = [];
3921
- for (let g = 0; g < p.length; g += 1)
3922
- d[g] = Tt(Et(e, p, g));
3923
- return {
3924
- c() {
3925
- t = B("div"), r = B("h4"), i = G(n), s = D();
3926
- for (let g = 0; g < f.length; g += 1)
3927
- f[g].c();
3928
- o = D(), u = B("h4"), a = G(h), l = D();
3929
- for (let g = 0; g < d.length; g += 1)
3930
- d[g].c();
3931
- I(r, "class", "CategoryTitle"), I(u, "class", "CategoryTitle"), I(t, "class", "CasinoCategories");
3932
- },
3933
- m(g, E) {
3934
- ee(g, t, E), x(t, r), x(r, i), x(t, s);
3935
- for (let m = 0; m < f.length; m += 1)
3936
- f[m] && f[m].m(t, null);
3937
- x(t, o), x(t, u), x(u, a), x(t, l);
3938
- for (let m = 0; m < d.length; m += 1)
3939
- d[m] && d[m].m(t, null);
3940
- },
3941
- p(g, E) {
3942
- if (E & /*$_*/
3943
- 32 && n !== (n = /*$_*/
3944
- g[5]("topCategories") + "") && j(i, n), E & /*activecategory, topCategories, openGameCategory, $_*/
3945
- 105) {
3946
- c = ge(
3947
- /*topCategories*/
3948
- g[3]
3949
- );
3950
- let m;
3951
- for (m = 0; m < c.length; m += 1) {
3952
- const T = xt(g, c, m);
3953
- f[m] ? f[m].p(T, E) : (f[m] = vt(T), f[m].c(), f[m].m(t, o));
3954
- }
3955
- for (; m < f.length; m += 1)
3956
- f[m].d(1);
3957
- f.length = c.length;
3958
- }
3959
- if (E & /*$_*/
3960
- 32 && h !== (h = /*$_*/
3961
- g[5]("otherCategories") + "") && j(a, h), E & /*activecategory, otherCategories, openGameCategory, $_*/
3962
- 113) {
3963
- p = ge(
3964
- /*otherCategories*/
3965
- g[4]
3966
- );
3967
- let m;
3968
- for (m = 0; m < p.length; m += 1) {
3969
- const T = Et(g, p, m);
3970
- d[m] ? d[m].p(T, E) : (d[m] = Tt(T), d[m].c(), d[m].m(t, null));
3971
- }
3972
- for (; m < d.length; m += 1)
3973
- d[m].d(1);
3974
- d.length = p.length;
3831
+ if (typeof window != "undefined") {
3832
+ let e = function(t) {
3833
+ return function(...r) {
3834
+ try {
3835
+ return t.apply(this, r);
3836
+ } catch (n) {
3837
+ 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"))
3838
+ return !1;
3839
+ throw n;
3975
3840
  }
3976
- },
3977
- d(g) {
3978
- g && V(t), nt(f, g), nt(d, g);
3979
- }
3841
+ };
3980
3842
  };
3843
+ customElements.define = e(customElements.define), import("./CasinoCategories-Dw86jNJS.js").then(({ default: t }) => {
3844
+ !customElements.get("casino-categories") && customElements.define("casino-categories", t.element);
3845
+ });
3981
3846
  }
3982
- function Ci(e) {
3983
- let t;
3984
- return {
3985
- c() {
3986
- t = B("p"), t.textContent = "Loading, please wait...", I(t, "class", "Message");
3987
- },
3988
- m(r, n) {
3989
- ee(r, t, n);
3990
- },
3991
- p: L,
3992
- d(r) {
3993
- r && V(t);
3994
- }
3847
+ if (typeof window != "undefined") {
3848
+ let e = function(t) {
3849
+ return function(...r) {
3850
+ try {
3851
+ return t.apply(this, r);
3852
+ } catch (n) {
3853
+ 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"))
3854
+ return !1;
3855
+ throw n;
3856
+ }
3857
+ };
3995
3858
  };
3859
+ customElements.define = e(customElements.define), import("./CasinoProviders-BNHmYoF1.js").then(({ default: t }) => {
3860
+ !customElements.get("casino-providers") && customElements.define("casino-providers", t.element);
3861
+ });
3996
3862
  }
3997
- function vt(e) {
3998
- let t, r, n, i, s, o, u, h = (
3999
- /*category*/
4000
- e[23].name + ""
4001
- ), a, l, c, f = (
4002
- /*category*/
4003
- e[23].games.count + ""
4004
- ), p, d, g = (
4005
- /*$_*/
4006
- e[5]("games") + ""
4007
- ), E, m, T, S;
4008
- function w() {
4009
- return (
4010
- /*click_handler*/
4011
- e[15](
4012
- /*category*/
4013
- e[23]
4014
- )
4015
- );
3863
+ const k = "__WIDGET_GLOBAL_STYLE_CACHE__";
3864
+ function ui(e, t) {
3865
+ if (e) {
3866
+ const r = document.createElement("style");
3867
+ r.innerHTML = t, e.appendChild(r);
4016
3868
  }
4017
- return {
4018
- c() {
4019
- t = B("div"), r = B("ui-image"), s = D(), o = B("div"), u = B("p"), a = G(h), l = D(), c = B("p"), p = G(f), d = D(), E = G(g), ye(r.src, n = /*category*/
4020
- e[23].icon) || R(r, "src", n), R(r, "alt", i = /*category*/
4021
- e[23].name), R(r, "class", "CategoryImage"), I(o, "class", "CategoryTextContainer"), I(t, "class", m = "Category " + /*activecategory*/
4022
- (e[0] === /*category*/
4023
- e[23].id ? "Active" : ""));
4024
- },
4025
- m(A, H) {
4026
- ee(A, t, H), x(t, r), x(t, s), x(t, o), x(o, u), x(u, a), x(o, l), x(o, c), x(c, p), x(c, d), x(c, E), T || (S = At(t, "click", w), T = !0);
4027
- },
4028
- p(A, H) {
4029
- e = A, H & /*topCategories*/
4030
- 8 && !ye(r.src, n = /*category*/
4031
- e[23].icon) && R(r, "src", n), H & /*topCategories*/
4032
- 8 && i !== (i = /*category*/
4033
- e[23].name) && R(r, "alt", i), H & /*topCategories*/
4034
- 8 && h !== (h = /*category*/
4035
- e[23].name + "") && j(a, h), H & /*topCategories*/
4036
- 8 && f !== (f = /*category*/
4037
- e[23].games.count + "") && j(p, f), H & /*$_*/
4038
- 32 && g !== (g = /*$_*/
4039
- e[5]("games") + "") && j(E, g), H & /*activecategory, topCategories*/
4040
- 9 && m !== (m = "Category " + /*activecategory*/
4041
- (e[0] === /*category*/
4042
- e[23].id ? "Active" : "")) && I(t, "class", m);
4043
- },
4044
- d(A) {
4045
- A && V(t), T = !1, S();
4046
- }
4047
- };
4048
3869
  }
4049
- function Tt(e) {
4050
- let t, r, n, i, s, o, u, h = (
4051
- /*category*/
4052
- e[23].name + ""
4053
- ), a, l, c, f = (
4054
- /*category*/
4055
- e[23].games.count + ""
4056
- ), p, d, g = (
4057
- /*$_*/
4058
- e[5]("games") + ""
4059
- ), E, m, T, S, w;
4060
- function A() {
4061
- return (
4062
- /*click_handler_1*/
4063
- e[16](
4064
- /*category*/
4065
- e[23]
4066
- )
4067
- );
4068
- }
4069
- return {
4070
- c() {
4071
- t = B("div"), r = B("ui-image"), s = D(), o = B("div"), u = B("p"), a = G(h), l = D(), c = B("p"), p = G(f), d = D(), E = G(g), m = D(), ye(r.src, n = /*category*/
4072
- e[23].icon) || R(r, "src", n), R(r, "alt", i = /*category*/
4073
- e[23].name), R(r, "class", "CategoryImage"), I(o, "class", "CategoryTextContainer"), I(t, "class", T = "Category " + /*activecategory*/
4074
- (e[0] === /*category*/
4075
- e[23].id ? "Active" : ""));
4076
- },
4077
- m(H, P) {
4078
- ee(H, t, P), x(t, r), x(t, s), x(t, o), x(o, u), x(u, a), x(o, l), x(o, c), x(c, p), x(c, d), x(c, E), x(t, m), S || (w = At(t, "click", A), S = !0);
4079
- },
4080
- p(H, P) {
4081
- e = H, P & /*otherCategories*/
4082
- 16 && !ye(r.src, n = /*category*/
4083
- e[23].icon) && R(r, "src", n), P & /*otherCategories*/
4084
- 16 && i !== (i = /*category*/
4085
- e[23].name) && R(r, "alt", i), P & /*otherCategories*/
4086
- 16 && h !== (h = /*category*/
4087
- e[23].name + "") && j(a, h), P & /*otherCategories*/
4088
- 16 && f !== (f = /*category*/
4089
- e[23].games.count + "") && j(p, f), P & /*$_*/
4090
- 32 && g !== (g = /*$_*/
4091
- e[5]("games") + "") && j(E, g), P & /*activecategory, otherCategories*/
4092
- 17 && T !== (T = "Category " + /*activecategory*/
4093
- (e[0] === /*category*/
4094
- e[23].id ? "Active" : "")) && I(t, "class", T);
4095
- },
4096
- d(H) {
4097
- H && V(t), S = !1, w();
3870
+ function hi(e, t) {
3871
+ if (!e || !t)
3872
+ return;
3873
+ const r = new URL(t);
3874
+ fetch(r.href).then((n) => n.text()).then((n) => {
3875
+ const i = document.createElement("style");
3876
+ i.innerHTML = n, e && e.appendChild(i);
3877
+ }).catch((n) => {
3878
+ console.error("There was an error while trying to load client styling from URL", n);
3879
+ });
3880
+ }
3881
+ function li(e, t, r, n = !1) {
3882
+ if (!window.emMessageBus)
3883
+ return;
3884
+ if (!("adoptedStyleSheets" in Document.prototype) || !n)
3885
+ return r = ci(e, t), r;
3886
+ window[k] || (window[k] = {}), r = fi(e, t);
3887
+ const s = r.unsubscribe.bind(r), o = () => {
3888
+ if (window[k][t]) {
3889
+ const a = window[k][t];
3890
+ a.refCount > 1 ? a.refCount = a.refCount - 1 : delete window[k][t];
4098
3891
  }
3892
+ s();
4099
3893
  };
3894
+ return r.unsubscribe = o, r;
4100
3895
  }
4101
- function Hi(e) {
4102
- let t;
4103
- function r(s, o) {
4104
- return (
4105
- /*isLoading*/
4106
- s[2] ? Ci : Ti
4107
- );
4108
- }
4109
- let n = r(e), i = n(e);
3896
+ function ci(e, t) {
3897
+ const r = document.createElement("style");
3898
+ return window.emMessageBus.subscribe(t, (n) => {
3899
+ e && (r.innerHTML = n, e.appendChild(r));
3900
+ });
3901
+ }
3902
+ function fi(e, t) {
3903
+ return window.emMessageBus.subscribe(t, (r) => {
3904
+ var a;
3905
+ if (!e)
3906
+ return;
3907
+ const n = e.getRootNode(), i = window[k];
3908
+ let s = (a = i[t]) == null ? void 0 : a.sheet;
3909
+ s ? i[t].refCount = i[t].refCount + 1 : (s = new CSSStyleSheet(), s.replaceSync(r), i[t] = {
3910
+ sheet: s,
3911
+ refCount: 1
3912
+ });
3913
+ const o = n.adoptedStyleSheets || [];
3914
+ o.includes(s) || (n.adoptedStyleSheets = [...o, s]);
3915
+ });
3916
+ }
3917
+ function mi(e) {
3918
+ Yt(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))}");
3919
+ }
3920
+ function di(e) {
3921
+ let t, r, n, i, s = (
3922
+ /*$_*/
3923
+ e[12]("categories") + ""
3924
+ ), o, a, l, u, h = (
3925
+ /*$_*/
3926
+ e[12]("providers") + ""
3927
+ ), c, f, v, b, d, _, M, B, y, O, w, $;
4110
3928
  return {
4111
3929
  c() {
4112
- t = B("div"), i.c();
3930
+ t = I("div"), r = I("div"), n = I("div"), i = I("button"), o = ce(s), l = xe(), u = I("button"), c = ce(h), v = xe(), b = I("div"), d = I("casino-categories"), M = xe(), B = I("div"), y = I("casino-providers"), C(i, "class", a = "HeaderButton " + /*activeTab*/
3931
+ (e[11] === "categories" ? "Active" : "")), C(u, "class", f = "HeaderButton " + /*activeTab*/
3932
+ (e[11] === "providers" ? "Active" : "")), C(n, "class", "Header"), x(
3933
+ d,
3934
+ "endpoint",
3935
+ /*endpointcategories*/
3936
+ e[0]
3937
+ ), x(
3938
+ d,
3939
+ "datasource",
3940
+ /*datasourcecategories*/
3941
+ e[1]
3942
+ ), x(
3943
+ d,
3944
+ "activecategory",
3945
+ /*activecategory*/
3946
+ e[2]
3947
+ ), x(
3948
+ d,
3949
+ "excludedflags",
3950
+ /*excludedflags*/
3951
+ e[5]
3952
+ ), x(
3953
+ d,
3954
+ "lang",
3955
+ /*lang*/
3956
+ e[6]
3957
+ ), x(
3958
+ d,
3959
+ "clientstyling",
3960
+ /*clientstyling*/
3961
+ e[7]
3962
+ ), x(
3963
+ d,
3964
+ "clientstylingurl",
3965
+ /*clientstylingurl*/
3966
+ e[8]
3967
+ ), x(
3968
+ d,
3969
+ "mbsource",
3970
+ /*mbsource*/
3971
+ e[9]
3972
+ ), C(b, "class", _ = /*activeTab*/
3973
+ e[11] === "providers" ? "NotVisible" : ""), x(
3974
+ y,
3975
+ "endpoint",
3976
+ /*endpointproviders*/
3977
+ e[3]
3978
+ ), x(
3979
+ y,
3980
+ "datasource",
3981
+ /*datasourceproviders*/
3982
+ e[4]
3983
+ ), x(
3984
+ y,
3985
+ "lang",
3986
+ /*lang*/
3987
+ e[6]
3988
+ ), x(
3989
+ y,
3990
+ "clientstyling",
3991
+ /*clientstyling*/
3992
+ e[7]
3993
+ ), x(
3994
+ y,
3995
+ "clientstylingurl",
3996
+ /*clientstylingurl*/
3997
+ e[8]
3998
+ ), x(
3999
+ y,
4000
+ "mbsource",
4001
+ /*mbsource*/
4002
+ e[9]
4003
+ ), C(B, "class", O = /*activeTab*/
4004
+ e[11] === "categories" ? "NotVisible" : ""), C(r, "class", "CasinoCategoriesProviders");
4113
4005
  },
4114
- m(s, o) {
4115
- ee(s, t, o), i.m(t, null), e[17](t);
4006
+ m(E, m) {
4007
+ vt(E, t, m), A(t, r), A(r, n), A(n, i), A(i, o), A(n, l), A(n, u), A(u, c), A(r, v), A(r, b), A(b, d), A(r, M), A(r, B), A(B, y), e[17](t), w || ($ = [
4008
+ Je(
4009
+ i,
4010
+ "click",
4011
+ /*click_handler*/
4012
+ e[15]
4013
+ ),
4014
+ Je(
4015
+ u,
4016
+ "click",
4017
+ /*click_handler_1*/
4018
+ e[16]
4019
+ )
4020
+ ], w = !0);
4116
4021
  },
4117
- p(s, [o]) {
4118
- n === (n = r(s)) && i ? i.p(s, o) : (i.d(1), i = n(s), i && (i.c(), i.m(t, null)));
4022
+ p(E, [m]) {
4023
+ m & /*$_*/
4024
+ 4096 && s !== (s = /*$_*/
4025
+ E[12]("categories") + "") && Ye(o, s), m & /*activeTab*/
4026
+ 2048 && a !== (a = "HeaderButton " + /*activeTab*/
4027
+ (E[11] === "categories" ? "Active" : "")) && C(i, "class", a), m & /*$_*/
4028
+ 4096 && h !== (h = /*$_*/
4029
+ E[12]("providers") + "") && Ye(c, h), m & /*activeTab*/
4030
+ 2048 && f !== (f = "HeaderButton " + /*activeTab*/
4031
+ (E[11] === "providers" ? "Active" : "")) && C(u, "class", f), m & /*endpointcategories*/
4032
+ 1 && x(
4033
+ d,
4034
+ "endpoint",
4035
+ /*endpointcategories*/
4036
+ E[0]
4037
+ ), m & /*datasourcecategories*/
4038
+ 2 && x(
4039
+ d,
4040
+ "datasource",
4041
+ /*datasourcecategories*/
4042
+ E[1]
4043
+ ), m & /*activecategory*/
4044
+ 4 && x(
4045
+ d,
4046
+ "activecategory",
4047
+ /*activecategory*/
4048
+ E[2]
4049
+ ), m & /*excludedflags*/
4050
+ 32 && x(
4051
+ d,
4052
+ "excludedflags",
4053
+ /*excludedflags*/
4054
+ E[5]
4055
+ ), m & /*lang*/
4056
+ 64 && x(
4057
+ d,
4058
+ "lang",
4059
+ /*lang*/
4060
+ E[6]
4061
+ ), m & /*clientstyling*/
4062
+ 128 && x(
4063
+ d,
4064
+ "clientstyling",
4065
+ /*clientstyling*/
4066
+ E[7]
4067
+ ), m & /*clientstylingurl*/
4068
+ 256 && x(
4069
+ d,
4070
+ "clientstylingurl",
4071
+ /*clientstylingurl*/
4072
+ E[8]
4073
+ ), m & /*mbsource*/
4074
+ 512 && x(
4075
+ d,
4076
+ "mbsource",
4077
+ /*mbsource*/
4078
+ E[9]
4079
+ ), m & /*activeTab*/
4080
+ 2048 && _ !== (_ = /*activeTab*/
4081
+ E[11] === "providers" ? "NotVisible" : "") && C(b, "class", _), m & /*endpointproviders*/
4082
+ 8 && x(
4083
+ y,
4084
+ "endpoint",
4085
+ /*endpointproviders*/
4086
+ E[3]
4087
+ ), m & /*datasourceproviders*/
4088
+ 16 && x(
4089
+ y,
4090
+ "datasource",
4091
+ /*datasourceproviders*/
4092
+ E[4]
4093
+ ), m & /*lang*/
4094
+ 64 && x(
4095
+ y,
4096
+ "lang",
4097
+ /*lang*/
4098
+ E[6]
4099
+ ), m & /*clientstyling*/
4100
+ 128 && x(
4101
+ y,
4102
+ "clientstyling",
4103
+ /*clientstyling*/
4104
+ E[7]
4105
+ ), m & /*clientstylingurl*/
4106
+ 256 && x(
4107
+ y,
4108
+ "clientstylingurl",
4109
+ /*clientstylingurl*/
4110
+ E[8]
4111
+ ), m & /*mbsource*/
4112
+ 512 && x(
4113
+ y,
4114
+ "mbsource",
4115
+ /*mbsource*/
4116
+ E[9]
4117
+ ), m & /*activeTab*/
4118
+ 2048 && O !== (O = /*activeTab*/
4119
+ E[11] === "categories" ? "NotVisible" : "") && C(B, "class", O);
4119
4120
  },
4120
4121
  i: L,
4121
4122
  o: L,
4122
- d(s) {
4123
- s && V(t), i.d(), e[17](null);
4123
+ d(E) {
4124
+ E && je(t), e[17](null), w = !1, q($);
4124
4125
  }
4125
4126
  };
4126
4127
  }
4127
- function Si(e, t, r) {
4128
+ function pi(e, t, r) {
4128
4129
  let n;
4129
- ur(e, bi, (b) => r(5, n = b));
4130
- let { endpoint: i = "" } = t, { datasource: s = "" } = t, { lang: o = "en" } = t, { activecategory: u = "" } = t, { excludedflags: h = "" } = t, { clientstyling: a = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: c = "" } = t, { mbsource: f } = t, p, d = !1;
4131
- const g = [];
4132
- let E = [], m = [];
4133
- Object.keys(_t).forEach((b) => {
4134
- yt(b, _t[b]);
4135
- });
4136
- const T = () => {
4137
- fetch(c).then(($) => $.json()).then(($) => {
4138
- Object.keys($).forEach((fe) => {
4139
- yt(fe, $[fe]);
4130
+ Jt(e, oi, (m) => r(12, n = m));
4131
+ let { endpointcategories: i = "" } = t, { datasourcecategories: s = "" } = t, { activecategory: o = "" } = t, { endpointproviders: a = "" } = t, { datasourceproviders: l = "" } = t, { excludedflags: u = "" } = t, { lang: h = "en" } = t, { clientstyling: c = "" } = t, { clientstylingurl: f = "" } = t, { translationurl: v = "" } = t, { mbsource: b } = t, d = "categories", _, M;
4132
+ const B = () => {
4133
+ fetch(v).then((G) => G.json()).then((G) => {
4134
+ Object.keys(G).forEach((Xe) => {
4135
+ mt(Xe, G[Xe]);
4140
4136
  });
4141
- }).catch(($) => {
4142
- console.log($);
4143
- });
4144
- }, S = () => {
4145
- r(2, d = !0);
4146
- const b = new URL(`${i}/v1/casino/groups/${s}`);
4147
- b.searchParams.append("language", o), fetch(b).then(($) => $.json()).then(($) => {
4148
- r(2, d = !1);
4149
- const fe = h.split(",").map((k) => k.trim());
4150
- g.push(...$.items);
4151
- const qe = g.filter((k) => !fe.some((tr) => {
4152
- var Je;
4153
- return ((Je = k.flags) == null ? void 0 : Je.indexOf(tr)) >= 0;
4154
- }));
4155
- r(3, E = qe.filter((k) => k.isTopCategory === !0)), r(4, m = qe.filter((k) => k.isTopCategory === !1));
4137
+ }).catch((G) => {
4138
+ console.log(G);
4156
4139
  });
4157
- }, w = (b) => {
4158
- window.postMessage({ type: "OpenGameCategory", categoryId: b }, window.location.href);
4159
- }, A = () => {
4160
- xi(o);
4161
4140
  };
4162
- pr(() => () => {
4141
+ Object.keys(dt).forEach((m) => {
4142
+ mt(m, dt[m]);
4143
+ });
4144
+ const y = (m) => {
4145
+ d !== m && r(11, d = m);
4146
+ }, O = () => {
4147
+ ai(h);
4148
+ };
4149
+ ir(() => () => {
4163
4150
  });
4164
- const H = (b) => w(b.id), P = (b) => w(b.id);
4165
- function er(b) {
4166
- Me[b ? "unshift" : "push"](() => {
4167
- p = b, r(1, p);
4151
+ const w = () => y("categories"), $ = () => y("providers");
4152
+ function E(m) {
4153
+ Pe[m ? "unshift" : "push"](() => {
4154
+ _ = m, r(10, _);
4168
4155
  });
4169
4156
  }
4170
- return e.$$set = (b) => {
4171
- "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, h = b.excludedflags), "clientstyling" in b && r(11, a = b.clientstyling), "clientstylingurl" in b && r(12, l = b.clientstylingurl), "translationurl" in b && r(13, c = b.translationurl), "mbsource" in b && r(14, f = b.mbsource);
4157
+ return e.$$set = (m) => {
4158
+ "endpointcategories" in m && r(0, i = m.endpointcategories), "datasourcecategories" in m && r(1, s = m.datasourcecategories), "activecategory" in m && r(2, o = m.activecategory), "endpointproviders" in m && r(3, a = m.endpointproviders), "datasourceproviders" in m && r(4, l = m.datasourceproviders), "excludedflags" in m && r(5, u = 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);
4172
4159
  }, e.$$.update = () => {
4173
- e.$$.dirty & /*endpoint, datasource*/
4174
- 384 && i && s && S(), e.$$.dirty & /*translationurl*/
4175
- 8192 && c && T(), e.$$.dirty & /*lang*/
4176
- 512 && o && A(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4177
- 2050 && a && p && yi(p, a), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4178
- 4098 && l && p && _i(p, l), e.$$.dirty & /*mbsource, customStylingContainer*/
4179
- 16386 && f && p && Ei(p, `${f}.Style`);
4160
+ e.$$.dirty & /*translationurl*/
4161
+ 16384 && v && B(), e.$$.dirty & /*lang*/
4162
+ 64 && h && O(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4163
+ 1152 && c && _ && ui(_, c), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4164
+ 1280 && f && _ && hi(_, f), e.$$.dirty & /*mbsource, customStylingContainer*/
4165
+ 1536 && b && _ && li(_, `${b}.Style`, M);
4180
4166
  }, [
4181
- u,
4182
- p,
4183
- d,
4184
- E,
4185
- m,
4186
- n,
4187
- w,
4188
4167
  i,
4189
4168
  s,
4190
4169
  o,
4191
- h,
4192
4170
  a,
4193
4171
  l,
4172
+ u,
4173
+ h,
4194
4174
  c,
4195
4175
  f,
4196
- H,
4197
- P,
4198
- er
4176
+ b,
4177
+ _,
4178
+ d,
4179
+ n,
4180
+ y,
4181
+ v,
4182
+ w,
4183
+ $,
4184
+ E
4199
4185
  ];
4200
4186
  }
4201
- class Kt extends Ar {
4187
+ class kt extends gr {
4202
4188
  constructor(t) {
4203
- super(), Hr(
4189
+ super(), dr(
4204
4190
  this,
4205
4191
  t,
4206
- Si,
4207
- Hi,
4208
- Ht,
4192
+ pi,
4193
+ di,
4194
+ gt,
4209
4195
  {
4210
- endpoint: 7,
4211
- datasource: 8,
4212
- lang: 9,
4213
- activecategory: 0,
4214
- excludedflags: 10,
4215
- clientstyling: 11,
4216
- clientstylingurl: 12,
4217
- translationurl: 13,
4218
- mbsource: 14
4196
+ endpointcategories: 0,
4197
+ datasourcecategories: 1,
4198
+ activecategory: 2,
4199
+ endpointproviders: 3,
4200
+ datasourceproviders: 4,
4201
+ excludedflags: 5,
4202
+ lang: 6,
4203
+ clientstyling: 7,
4204
+ clientstylingurl: 8,
4205
+ translationurl: 14,
4206
+ mbsource: 9
4219
4207
  },
4220
- vi
4208
+ mi
4221
4209
  );
4222
4210
  }
4223
- get endpoint() {
4224
- return this.$$.ctx[7];
4225
- }
4226
- set endpoint(t) {
4227
- this.$$set({ endpoint: t }), M();
4228
- }
4229
- get datasource() {
4230
- return this.$$.ctx[8];
4211
+ get endpointcategories() {
4212
+ return this.$$.ctx[0];
4231
4213
  }
4232
- set datasource(t) {
4233
- this.$$set({ datasource: t }), M();
4214
+ set endpointcategories(t) {
4215
+ this.$$set({ endpointcategories: t }), P();
4234
4216
  }
4235
- get lang() {
4236
- return this.$$.ctx[9];
4217
+ get datasourcecategories() {
4218
+ return this.$$.ctx[1];
4237
4219
  }
4238
- set lang(t) {
4239
- this.$$set({ lang: t }), M();
4220
+ set datasourcecategories(t) {
4221
+ this.$$set({ datasourcecategories: t }), P();
4240
4222
  }
4241
4223
  get activecategory() {
4242
- return this.$$.ctx[0];
4224
+ return this.$$.ctx[2];
4243
4225
  }
4244
4226
  set activecategory(t) {
4245
- this.$$set({ activecategory: t }), M();
4227
+ this.$$set({ activecategory: t }), P();
4228
+ }
4229
+ get endpointproviders() {
4230
+ return this.$$.ctx[3];
4231
+ }
4232
+ set endpointproviders(t) {
4233
+ this.$$set({ endpointproviders: t }), P();
4234
+ }
4235
+ get datasourceproviders() {
4236
+ return this.$$.ctx[4];
4237
+ }
4238
+ set datasourceproviders(t) {
4239
+ this.$$set({ datasourceproviders: t }), P();
4246
4240
  }
4247
4241
  get excludedflags() {
4248
- return this.$$.ctx[10];
4242
+ return this.$$.ctx[5];
4249
4243
  }
4250
4244
  set excludedflags(t) {
4251
- this.$$set({ excludedflags: t }), M();
4245
+ this.$$set({ excludedflags: t }), P();
4246
+ }
4247
+ get lang() {
4248
+ return this.$$.ctx[6];
4249
+ }
4250
+ set lang(t) {
4251
+ this.$$set({ lang: t }), P();
4252
4252
  }
4253
4253
  get clientstyling() {
4254
- return this.$$.ctx[11];
4254
+ return this.$$.ctx[7];
4255
4255
  }
4256
4256
  set clientstyling(t) {
4257
- this.$$set({ clientstyling: t }), M();
4257
+ this.$$set({ clientstyling: t }), P();
4258
4258
  }
4259
4259
  get clientstylingurl() {
4260
- return this.$$.ctx[12];
4260
+ return this.$$.ctx[8];
4261
4261
  }
4262
4262
  set clientstylingurl(t) {
4263
- this.$$set({ clientstylingurl: t }), M();
4263
+ this.$$set({ clientstylingurl: t }), P();
4264
4264
  }
4265
4265
  get translationurl() {
4266
- return this.$$.ctx[13];
4266
+ return this.$$.ctx[14];
4267
4267
  }
4268
4268
  set translationurl(t) {
4269
- this.$$set({ translationurl: t }), M();
4269
+ this.$$set({ translationurl: t }), P();
4270
4270
  }
4271
4271
  get mbsource() {
4272
- return this.$$.ctx[14];
4272
+ return this.$$.ctx[9];
4273
4273
  }
4274
4274
  set mbsource(t) {
4275
- this.$$set({ mbsource: t }), M();
4275
+ this.$$set({ mbsource: t }), P();
4276
4276
  }
4277
4277
  }
4278
- Sr(Kt, { endpoint: {}, datasource: {}, lang: {}, activecategory: {}, excludedflags: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
4279
- const wi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4278
+ pr(kt, { endpointcategories: {}, datasourcecategories: {}, activecategory: {}, endpointproviders: {}, datasourceproviders: {}, excludedflags: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
4279
+ const xi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4280
4280
  __proto__: null,
4281
- default: Kt
4281
+ default: kt
4282
4282
  }, Symbol.toStringTag, { value: "Module" }));
4283
4283
  export {
4284
- re as $,
4285
- nt as A,
4286
- Oi as B,
4287
- ye as C,
4288
- wi as D,
4289
- Ar as S,
4290
- Zt as a,
4291
- hr as b,
4292
- Sr as c,
4293
- V as d,
4294
- j as e,
4295
- M as f,
4296
- I as g,
4297
- R as h,
4298
- Hr as i,
4299
- ee as j,
4300
- x as k,
4301
- At as l,
4302
- B as m,
4284
+ Y as $,
4285
+ oi as A,
4286
+ yi as B,
4287
+ xi as C,
4288
+ gr as S,
4289
+ Dt as a,
4290
+ Yt as b,
4291
+ vt as c,
4292
+ je as d,
4293
+ I as e,
4294
+ P as f,
4295
+ Jt as g,
4296
+ Pe as h,
4297
+ dr as i,
4298
+ C as j,
4299
+ Ei as k,
4300
+ vi as l,
4301
+ Ye as m,
4303
4302
  L as n,
4304
- D as o,
4305
- ur as p,
4306
- pr as q,
4307
- he as r,
4308
- Ht as s,
4309
- G as t,
4310
- Me as u,
4311
- bi as v,
4312
- yi as w,
4313
- _i as x,
4314
- Ei as y,
4315
- ge as z
4303
+ ir as o,
4304
+ A as p,
4305
+ xe as q,
4306
+ bi as r,
4307
+ gt as s,
4308
+ ce as t,
4309
+ x as u,
4310
+ Je as v,
4311
+ ui as w,
4312
+ hi as x,
4313
+ li as y,
4314
+ pr as z
4316
4315
  };