@everymatrix/casino-categories 1.60.1 → 1.61.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,61 +1,62 @@
1
- var er = Object.defineProperty, tr = Object.defineProperties;
2
- var rr = Object.getOwnPropertyDescriptors;
3
- var qe = Object.getOwnPropertySymbols;
4
- var nr = Object.prototype.hasOwnProperty, ir = Object.prototype.propertyIsEnumerable;
5
- var He = (e, t, r) => t in e ? er(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ye = (e, t) => {
1
+ var Kt = Object.defineProperty, er = Object.defineProperties;
2
+ var tr = Object.getOwnPropertyDescriptors;
3
+ var Je = Object.getOwnPropertySymbols;
4
+ var rr = Object.prototype.hasOwnProperty, nr = Object.prototype.propertyIsEnumerable;
5
+ var He = (e, t, r) => t in e ? Kt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, qe = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- nr.call(t, r) && He(e, r, t[r]);
8
- if (qe)
9
- for (var r of qe(t))
10
- ir.call(t, r) && He(e, r, t[r]);
7
+ rr.call(t, r) && He(e, r, t[r]);
8
+ if (Je)
9
+ for (var r of Je(t))
10
+ nr.call(t, r) && He(e, r, t[r]);
11
11
  return e;
12
- }, Ke = (e, t) => tr(e, rr(t));
13
- var L = (e, t, r) => (He(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var et = (e, t, r) => new Promise((n, i) => {
15
- var s = (h) => {
12
+ }, Ye = (e, t) => er(e, tr(t));
13
+ var N = (e, t, r) => (He(e, typeof t != "symbol" ? t + "" : t, r), r);
14
+ var Ke = (e, t, r) => new Promise((n, i) => {
15
+ var o = (h) => {
16
16
  try {
17
17
  u(r.next(h));
18
18
  } catch (a) {
19
19
  i(a);
20
20
  }
21
- }, o = (h) => {
21
+ }, s = (h) => {
22
22
  try {
23
23
  u(r.throw(h));
24
24
  } catch (a) {
25
25
  i(a);
26
26
  }
27
- }, u = (h) => h.done ? n(h.value) : Promise.resolve(h.value).then(s, o);
27
+ }, u = (h) => h.done ? n(h.value) : Promise.resolve(h.value).then(o, s);
28
28
  u((r = r.apply(e, t)).next());
29
29
  });
30
- function I() {
30
+ import "../stencil/ui-image-CPH6BqjQ.js";
31
+ function L() {
31
32
  }
32
- function Tt(e) {
33
+ function vt(e) {
33
34
  return e();
34
35
  }
35
- function tt() {
36
+ function et() {
36
37
  return /* @__PURE__ */ Object.create(null);
37
38
  }
38
- function ae(e) {
39
- e.forEach(Tt);
39
+ function ue(e) {
40
+ e.forEach(vt);
40
41
  }
41
- function Ve(e) {
42
+ function Xe(e) {
42
43
  return typeof e == "function";
43
44
  }
44
- function Ht(e, t) {
45
+ function Tt(e, t) {
45
46
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
47
  }
47
- let le;
48
- function de(e, t) {
49
- return e === t ? !0 : (le || (le = document.createElement("a")), le.href = t, e === le.href);
48
+ let fe;
49
+ function be(e, t) {
50
+ return e === t ? !0 : (fe || (fe = document.createElement("a")), fe.href = t, e === fe.href);
50
51
  }
51
- function sr(e) {
52
+ function ir(e) {
52
53
  return Object.keys(e).length === 0;
53
54
  }
54
55
  function Ct(e, ...t) {
55
56
  if (e == null) {
56
57
  for (const n of t)
57
58
  n(void 0);
58
- return I;
59
+ return L;
59
60
  }
60
61
  const r = e.subscribe(...t);
61
62
  return r.unsubscribe ? () => r.unsubscribe() : r;
@@ -66,14 +67,14 @@ function or(e, t, r) {
66
67
  function v(e, t) {
67
68
  e.appendChild(t);
68
69
  }
69
- function ar(e, t, r) {
70
- const n = ur(e);
70
+ function sr(e, t, r) {
71
+ const n = ar(e);
71
72
  if (!n.getElementById(t)) {
72
- const i = O("style");
73
- i.id = t, i.textContent = r, hr(n, i);
73
+ const i = S("style");
74
+ i.id = t, i.textContent = r, ur(n, i);
74
75
  }
75
76
  }
76
- function ur(e) {
77
+ function ar(e) {
77
78
  if (!e)
78
79
  return document;
79
80
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -83,46 +84,50 @@ function ur(e) {
83
84
  t
84
85
  ) : e.ownerDocument;
85
86
  }
86
- function hr(e, t) {
87
+ function ur(e, t) {
87
88
  return v(
88
89
  /** @type {Document} */
89
90
  e.head || e,
90
91
  t
91
92
  ), t.sheet;
92
93
  }
93
- function Y(e, t, r) {
94
+ function K(e, t, r) {
94
95
  e.insertBefore(t, r || null);
95
96
  }
96
- function j(e) {
97
+ function k(e) {
97
98
  e.parentNode && e.parentNode.removeChild(e);
98
99
  }
99
- function rt(e, t) {
100
+ function tt(e, t) {
100
101
  for (let r = 0; r < e.length; r += 1)
101
102
  e[r] && e[r].d(t);
102
103
  }
103
- function O(e) {
104
+ function S(e) {
104
105
  return document.createElement(e);
105
106
  }
106
- function U(e) {
107
+ function G(e) {
107
108
  return document.createTextNode(e);
108
109
  }
109
- function R() {
110
- return U(" ");
110
+ function U() {
111
+ return G(" ");
111
112
  }
112
- function At(e, t, r, n) {
113
+ function Ht(e, t, r, n) {
113
114
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
114
115
  }
115
- function A(e, t, r) {
116
+ function I(e, t, r) {
116
117
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
117
118
  }
118
- function lr(e) {
119
+ function R(e, t, r) {
120
+ const n = t.toLowerCase();
121
+ 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);
122
+ }
123
+ function hr(e) {
119
124
  return Array.from(e.childNodes);
120
125
  }
121
- function D(e, t) {
126
+ function F(e, t) {
122
127
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
123
128
  t);
124
129
  }
125
- function cr(e) {
130
+ function lr(e) {
126
131
  const t = {};
127
132
  return e.childNodes.forEach(
128
133
  /** @param {Element} node */
@@ -131,98 +136,98 @@ function cr(e) {
131
136
  }
132
137
  ), t;
133
138
  }
134
- let ie;
135
- function ne(e) {
136
- ie = e;
139
+ let oe;
140
+ function ie(e) {
141
+ oe = e;
137
142
  }
138
143
  function fr() {
139
- if (!ie)
144
+ if (!oe)
140
145
  throw new Error("Function called outside component initialization");
141
- return ie;
146
+ return oe;
142
147
  }
143
- function gr(e) {
148
+ function cr(e) {
144
149
  fr().$$.on_mount.push(e);
145
150
  }
146
- const z = [], Ne = [];
147
- let W = [];
148
- const nt = [], mr = /* @__PURE__ */ Promise.resolve();
149
- let Le = !1;
150
- function pr() {
151
- Le || (Le = !0, mr.then(M));
151
+ const W = [], Le = [];
152
+ let Z = [];
153
+ const rt = [], gr = /* @__PURE__ */ Promise.resolve();
154
+ let Ie = !1;
155
+ function mr() {
156
+ Ie || (Ie = !0, gr.then(M));
152
157
  }
153
- function Ie(e) {
154
- W.push(e);
158
+ function Me(e) {
159
+ Z.push(e);
155
160
  }
156
- const Ce = /* @__PURE__ */ new Set();
157
- let V = 0;
161
+ const Ae = /* @__PURE__ */ new Set();
162
+ let X = 0;
158
163
  function M() {
159
- if (V !== 0)
164
+ if (X !== 0)
160
165
  return;
161
- const e = ie;
166
+ const e = oe;
162
167
  do {
163
168
  try {
164
- for (; V < z.length; ) {
165
- const t = z[V];
166
- V++, ne(t), dr(t.$$);
169
+ for (; X < W.length; ) {
170
+ const t = W[X];
171
+ X++, ie(t), pr(t.$$);
167
172
  }
168
173
  } catch (t) {
169
- throw z.length = 0, V = 0, t;
174
+ throw W.length = 0, X = 0, t;
170
175
  }
171
- for (ne(null), z.length = 0, V = 0; Ne.length; )
172
- Ne.pop()();
173
- for (let t = 0; t < W.length; t += 1) {
174
- const r = W[t];
175
- Ce.has(r) || (Ce.add(r), r());
176
+ for (ie(null), W.length = 0, X = 0; Le.length; )
177
+ Le.pop()();
178
+ for (let t = 0; t < Z.length; t += 1) {
179
+ const r = Z[t];
180
+ Ae.has(r) || (Ae.add(r), r());
176
181
  }
177
- W.length = 0;
178
- } while (z.length);
179
- for (; nt.length; )
180
- nt.pop()();
181
- Le = !1, Ce.clear(), ne(e);
182
+ Z.length = 0;
183
+ } while (W.length);
184
+ for (; rt.length; )
185
+ rt.pop()();
186
+ Ie = !1, Ae.clear(), ie(e);
182
187
  }
183
- function dr(e) {
188
+ function pr(e) {
184
189
  if (e.fragment !== null) {
185
- e.update(), ae(e.before_update);
190
+ e.update(), ue(e.before_update);
186
191
  const t = e.dirty;
187
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ie);
192
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Me);
188
193
  }
189
194
  }
190
- function br(e) {
195
+ function dr(e) {
191
196
  const t = [], r = [];
192
- W.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), W = t;
197
+ Z.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Z = t;
193
198
  }
194
- const yr = /* @__PURE__ */ new Set();
195
- function xr(e, t) {
196
- e && e.i && (yr.delete(e), e.i(t));
199
+ const br = /* @__PURE__ */ new Set();
200
+ function yr(e, t) {
201
+ e && e.i && (br.delete(e), e.i(t));
197
202
  }
198
203
  function ce(e) {
199
204
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
200
205
  }
201
- function Er(e, t, r) {
206
+ function _r(e, t, r) {
202
207
  const { fragment: n, after_update: i } = e.$$;
203
- n && n.m(t, r), Ie(() => {
204
- const s = e.$$.on_mount.map(Tt).filter(Ve);
205
- e.$$.on_destroy ? e.$$.on_destroy.push(...s) : ae(s), e.$$.on_mount = [];
206
- }), i.forEach(Ie);
208
+ n && n.m(t, r), Me(() => {
209
+ const o = e.$$.on_mount.map(vt).filter(Xe);
210
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ue(o), e.$$.on_mount = [];
211
+ }), i.forEach(Me);
207
212
  }
208
- function _r(e, t) {
213
+ function xr(e, t) {
209
214
  const r = e.$$;
210
- r.fragment !== null && (br(r.after_update), ae(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
215
+ r.fragment !== null && (dr(r.after_update), ue(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
211
216
  }
212
- function vr(e, t) {
213
- e.$$.dirty[0] === -1 && (z.push(e), pr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
217
+ function Er(e, t) {
218
+ e.$$.dirty[0] === -1 && (W.push(e), mr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
214
219
  }
215
- function Tr(e, t, r, n, i, s, o = null, u = [-1]) {
216
- const h = ie;
217
- ne(e);
220
+ function vr(e, t, r, n, i, o, s = null, u = [-1]) {
221
+ const h = oe;
222
+ ie(e);
218
223
  const a = e.$$ = {
219
224
  fragment: null,
220
225
  ctx: [],
221
226
  // state
222
- props: s,
223
- update: I,
227
+ props: o,
228
+ update: L,
224
229
  not_equal: i,
225
- bound: tt(),
230
+ bound: et(),
226
231
  // lifecycle
227
232
  on_mount: [],
228
233
  on_destroy: [],
@@ -231,48 +236,48 @@ function Tr(e, t, r, n, i, s, o = null, u = [-1]) {
231
236
  after_update: [],
232
237
  context: new Map(t.context || (h ? h.$$.context : [])),
233
238
  // everything else
234
- callbacks: tt(),
239
+ callbacks: et(),
235
240
  dirty: u,
236
241
  skip_bound: !1,
237
242
  root: t.target || h.$$.root
238
243
  };
239
- o && o(a.root);
244
+ s && s(a.root);
240
245
  let l = !1;
241
- if (a.ctx = r ? r(e, t.props || {}, (f, c, ...p) => {
242
- const d = p.length ? p[0] : c;
243
- return a.ctx && i(a.ctx[f], a.ctx[f] = d) && (!a.skip_bound && a.bound[f] && a.bound[f](d), l && vr(e, f)), c;
244
- }) : [], a.update(), l = !0, ae(a.before_update), a.fragment = n ? n(a.ctx) : !1, t.target) {
246
+ if (a.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
247
+ const d = p.length ? p[0] : f;
248
+ return a.ctx && i(a.ctx[c], a.ctx[c] = d) && (!a.skip_bound && a.bound[c] && a.bound[c](d), l && Er(e, c)), f;
249
+ }) : [], a.update(), l = !0, ue(a.before_update), a.fragment = n ? n(a.ctx) : !1, t.target) {
245
250
  if (t.hydrate) {
246
- const f = lr(t.target);
247
- a.fragment && a.fragment.l(f), f.forEach(j);
251
+ const c = hr(t.target);
252
+ a.fragment && a.fragment.l(c), c.forEach(k);
248
253
  } else
249
254
  a.fragment && a.fragment.c();
250
- t.intro && xr(e.$$.fragment), Er(e, t.target, t.anchor), M();
255
+ t.intro && yr(e.$$.fragment), _r(e, t.target, t.anchor), M();
251
256
  }
252
- ne(h);
257
+ ie(h);
253
258
  }
254
- let Bt;
255
- typeof HTMLElement == "function" && (Bt = class extends HTMLElement {
259
+ let At;
260
+ typeof HTMLElement == "function" && (At = class extends HTMLElement {
256
261
  constructor(t, r, n) {
257
262
  super();
258
263
  /** The Svelte component constructor */
259
- L(this, "$$ctor");
264
+ N(this, "$$ctor");
260
265
  /** Slots */
261
- L(this, "$$s");
266
+ N(this, "$$s");
262
267
  /** The Svelte component instance */
263
- L(this, "$$c");
268
+ N(this, "$$c");
264
269
  /** Whether or not the custom element is connected */
265
- L(this, "$$cn", !1);
270
+ N(this, "$$cn", !1);
266
271
  /** Component props data */
267
- L(this, "$$d", {});
272
+ N(this, "$$d", {});
268
273
  /** `true` if currently in the process of reflecting component props back to attributes */
269
- L(this, "$$r", !1);
274
+ N(this, "$$r", !1);
270
275
  /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
271
- L(this, "$$p_d", {});
276
+ N(this, "$$p_d", {});
272
277
  /** @type {Record<string, Function[]>} Event listeners */
273
- L(this, "$$l", {});
278
+ N(this, "$$l", {});
274
279
  /** @type {Map<Function, Function>} Event listener unsubscribe functions */
275
- L(this, "$$l_u", /* @__PURE__ */ new Map());
280
+ N(this, "$$l_u", /* @__PURE__ */ new Map());
276
281
  this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
277
282
  }
278
283
  addEventListener(t, r, n) {
@@ -289,42 +294,42 @@ typeof HTMLElement == "function" && (Bt = class extends HTMLElement {
289
294
  }
290
295
  }
291
296
  connectedCallback() {
292
- return et(this, null, function* () {
297
+ return Ke(this, null, function* () {
293
298
  if (this.$$cn = !0, !this.$$c) {
294
- let t = function(s) {
299
+ let t = function(o) {
295
300
  return () => {
296
- let o;
301
+ let s;
297
302
  return {
298
303
  c: function() {
299
- o = O("slot"), s !== "default" && A(o, "name", s);
304
+ s = S("slot"), o !== "default" && I(s, "name", o);
300
305
  },
301
306
  /**
302
307
  * @param {HTMLElement} target
303
308
  * @param {HTMLElement} [anchor]
304
309
  */
305
310
  m: function(a, l) {
306
- Y(a, o, l);
311
+ K(a, s, l);
307
312
  },
308
313
  d: function(a) {
309
- a && j(o);
314
+ a && k(s);
310
315
  }
311
316
  };
312
317
  };
313
318
  };
314
319
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
315
320
  return;
316
- const r = {}, n = cr(this);
317
- for (const s of this.$$s)
318
- s in n && (r[s] = [t(s)]);
319
- for (const s of this.attributes) {
320
- const o = this.$$g_p(s.name);
321
- o in this.$$d || (this.$$d[o] = ge(o, s.value, this.$$p_d, "toProp"));
321
+ const r = {}, n = lr(this);
322
+ for (const o of this.$$s)
323
+ o in n && (r[o] = [t(o)]);
324
+ for (const o of this.attributes) {
325
+ const s = this.$$g_p(o.name);
326
+ s in this.$$d || (this.$$d[s] = me(s, o.value, this.$$p_d, "toProp"));
322
327
  }
323
- for (const s in this.$$p_d)
324
- !(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
328
+ for (const o in this.$$p_d)
329
+ !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
325
330
  this.$$c = new this.$$ctor({
326
331
  target: this.shadowRoot || this,
327
- props: Ke(Ye({}, this.$$d), {
332
+ props: Ye(qe({}, this.$$d), {
328
333
  $$slots: r,
329
334
  $$scope: {
330
335
  ctx: []
@@ -333,23 +338,23 @@ typeof HTMLElement == "function" && (Bt = class extends HTMLElement {
333
338
  });
334
339
  const i = () => {
335
340
  this.$$r = !0;
336
- for (const s in this.$$p_d)
337
- if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
338
- const o = ge(
339
- s,
340
- this.$$d[s],
341
+ for (const o in this.$$p_d)
342
+ if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
343
+ const s = me(
344
+ o,
345
+ this.$$d[o],
341
346
  this.$$p_d,
342
347
  "toAttribute"
343
348
  );
344
- o == null ? this.removeAttribute(this.$$p_d[s].attribute || s) : this.setAttribute(this.$$p_d[s].attribute || s, o);
349
+ s == null ? this.removeAttribute(this.$$p_d[o].attribute || o) : this.setAttribute(this.$$p_d[o].attribute || o, s);
345
350
  }
346
351
  this.$$r = !1;
347
352
  };
348
353
  this.$$c.$$.after_update.push(i), i();
349
- for (const s in this.$$l)
350
- for (const o of this.$$l[s]) {
351
- const u = this.$$c.$on(s, o);
352
- this.$$l_u.set(o, u);
354
+ for (const o in this.$$l)
355
+ for (const s of this.$$l[o]) {
356
+ const u = this.$$c.$on(o, s);
357
+ this.$$l_u.set(s, u);
353
358
  }
354
359
  this.$$l = {};
355
360
  }
@@ -359,7 +364,7 @@ typeof HTMLElement == "function" && (Bt = class extends HTMLElement {
359
364
  // and setting attributes through setAttribute etc, this is helpful
360
365
  attributeChangedCallback(t, r, n) {
361
366
  var i;
362
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = ge(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
367
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = me(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
363
368
  }
364
369
  disconnectedCallback() {
365
370
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -372,9 +377,9 @@ typeof HTMLElement == "function" && (Bt = class extends HTMLElement {
372
377
  ) || t;
373
378
  }
374
379
  });
375
- function ge(e, t, r, n) {
376
- var s;
377
- const i = (s = r[e]) == null ? void 0 : s.type;
380
+ function me(e, t, r, n) {
381
+ var o;
382
+ const i = (o = r[e]) == null ? void 0 : o.type;
378
383
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
379
384
  return t;
380
385
  if (n === "toAttribute")
@@ -402,8 +407,8 @@ function ge(e, t, r, n) {
402
407
  return t;
403
408
  }
404
409
  }
405
- function Hr(e, t, r, n, i, s) {
406
- let o = class extends Bt {
410
+ function Tr(e, t, r, n, i, o) {
411
+ let s = class extends At {
407
412
  constructor() {
408
413
  super(e, r, i), this.$$p_d = t;
409
414
  }
@@ -414,24 +419,24 @@ function Hr(e, t, r, n, i, s) {
414
419
  }
415
420
  };
416
421
  return Object.keys(t).forEach((u) => {
417
- Object.defineProperty(o.prototype, u, {
422
+ Object.defineProperty(s.prototype, u, {
418
423
  get() {
419
424
  return this.$$c && u in this.$$c ? this.$$c[u] : this.$$d[u];
420
425
  },
421
426
  set(h) {
422
427
  var a;
423
- h = ge(u, h, t), this.$$d[u] = h, (a = this.$$c) == null || a.$set({ [u]: h });
428
+ h = me(u, h, t), this.$$d[u] = h, (a = this.$$c) == null || a.$set({ [u]: h });
424
429
  }
425
430
  });
426
431
  }), n.forEach((u) => {
427
- Object.defineProperty(o.prototype, u, {
432
+ Object.defineProperty(s.prototype, u, {
428
433
  get() {
429
434
  var h;
430
435
  return (h = this.$$c) == null ? void 0 : h[u];
431
436
  }
432
437
  });
433
438
  }), e.element = /** @type {any} */
434
- o, o;
439
+ s, s;
435
440
  }
436
441
  class Cr {
437
442
  constructor() {
@@ -442,7 +447,7 @@ class Cr {
442
447
  *
443
448
  * @type {any}
444
449
  */
445
- L(this, "$$");
450
+ N(this, "$$");
446
451
  /**
447
452
  * ### PRIVATE API
448
453
  *
@@ -450,11 +455,11 @@ class Cr {
450
455
  *
451
456
  * @type {any}
452
457
  */
453
- L(this, "$$set");
458
+ N(this, "$$set");
454
459
  }
455
460
  /** @returns {void} */
456
461
  $destroy() {
457
- _r(this, 1), this.$destroy = I;
462
+ xr(this, 1), this.$destroy = L;
458
463
  }
459
464
  /**
460
465
  * @template {Extract<keyof Events, string>} K
@@ -463,8 +468,8 @@ class Cr {
463
468
  * @returns {() => void}
464
469
  */
465
470
  $on(t, r) {
466
- if (!Ve(r))
467
- return I;
471
+ if (!Xe(r))
472
+ return L;
468
473
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
469
474
  return n.push(r), () => {
470
475
  const i = n.indexOf(r);
@@ -476,148 +481,148 @@ class Cr {
476
481
  * @returns {void}
477
482
  */
478
483
  $set(t) {
479
- this.$$set && !sr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
484
+ this.$$set && !ir(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
480
485
  }
481
486
  }
482
- const Ar = "4";
483
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Ar);
484
- const X = [];
485
- function Br(e, t) {
487
+ const Hr = "4";
488
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Hr);
489
+ const z = [];
490
+ function Ar(e, t) {
486
491
  return {
487
492
  subscribe: xe(e, t).subscribe
488
493
  };
489
494
  }
490
- function xe(e, t = I) {
495
+ function xe(e, t = L) {
491
496
  let r;
492
497
  const n = /* @__PURE__ */ new Set();
493
498
  function i(u) {
494
- if (Ht(e, u) && (e = u, r)) {
495
- const h = !X.length;
499
+ if (Tt(e, u) && (e = u, r)) {
500
+ const h = !z.length;
496
501
  for (const a of n)
497
- a[1](), X.push(a, e);
502
+ a[1](), z.push(a, e);
498
503
  if (h) {
499
- for (let a = 0; a < X.length; a += 2)
500
- X[a][0](X[a + 1]);
501
- X.length = 0;
504
+ for (let a = 0; a < z.length; a += 2)
505
+ z[a][0](z[a + 1]);
506
+ z.length = 0;
502
507
  }
503
508
  }
504
509
  }
505
- function s(u) {
510
+ function o(u) {
506
511
  i(u(e));
507
512
  }
508
- function o(u, h = I) {
513
+ function s(u, h = L) {
509
514
  const a = [u, h];
510
- return n.add(a), n.size === 1 && (r = t(i, s) || I), u(e), () => {
515
+ return n.add(a), n.size === 1 && (r = t(i, o) || L), u(e), () => {
511
516
  n.delete(a), n.size === 0 && r && (r(), r = null);
512
517
  };
513
518
  }
514
- return { set: i, update: s, subscribe: o };
519
+ return { set: i, update: o, subscribe: s };
515
520
  }
516
- function K(e, t, r) {
521
+ function ee(e, t, r) {
517
522
  const n = !Array.isArray(e), i = n ? [e] : e;
518
523
  if (!i.every(Boolean))
519
524
  throw new Error("derived() expects stores as input, got a falsy value");
520
- const s = t.length < 2;
521
- return Br(r, (o, u) => {
525
+ const o = t.length < 2;
526
+ return Ar(r, (s, u) => {
522
527
  let h = !1;
523
528
  const a = [];
524
- let l = 0, f = I;
525
- const c = () => {
529
+ let l = 0, c = L;
530
+ const f = () => {
526
531
  if (l)
527
532
  return;
528
- f();
529
- const d = t(n ? a[0] : a, o, u);
530
- s ? o(d) : f = Ve(d) ? d : I;
533
+ c();
534
+ const d = t(n ? a[0] : a, s, u);
535
+ o ? s(d) : c = Xe(d) ? d : L;
531
536
  }, p = i.map(
532
537
  (d, g) => Ct(
533
538
  d,
534
- (_) => {
535
- a[g] = _, l &= ~(1 << g), h && c();
539
+ (E) => {
540
+ a[g] = E, l &= ~(1 << g), h && f();
536
541
  },
537
542
  () => {
538
543
  l |= 1 << g;
539
544
  }
540
545
  )
541
546
  );
542
- return h = !0, c(), function() {
543
- ae(p), f(), h = !1;
547
+ return h = !0, f(), function() {
548
+ ue(p), c(), h = !1;
544
549
  };
545
550
  });
546
551
  }
547
- function Sr(e) {
552
+ function Br(e) {
548
553
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
549
554
  }
550
- var Or = function(t) {
551
- return wr(t) && !Pr(t);
555
+ var Sr = function(t) {
556
+ return wr(t) && !Or(t);
552
557
  };
553
558
  function wr(e) {
554
559
  return !!e && typeof e == "object";
555
560
  }
556
- function Pr(e) {
561
+ function Or(e) {
557
562
  var t = Object.prototype.toString.call(e);
558
- return t === "[object RegExp]" || t === "[object Date]" || Ir(e);
563
+ return t === "[object RegExp]" || t === "[object Date]" || Lr(e);
559
564
  }
560
- var Nr = typeof Symbol == "function" && Symbol.for, Lr = Nr ? Symbol.for("react.element") : 60103;
561
- function Ir(e) {
562
- return e.$$typeof === Lr;
565
+ var Pr = typeof Symbol == "function" && Symbol.for, Nr = Pr ? Symbol.for("react.element") : 60103;
566
+ function Lr(e) {
567
+ return e.$$typeof === Nr;
563
568
  }
564
- function Mr(e) {
569
+ function Ir(e) {
565
570
  return Array.isArray(e) ? [] : {};
566
571
  }
567
572
  function se(e, t) {
568
- return t.clone !== !1 && t.isMergeableObject(e) ? Z(Mr(e), e, t) : e;
573
+ return t.clone !== !1 && t.isMergeableObject(e) ? Q(Ir(e), e, t) : e;
569
574
  }
570
- function $r(e, t, r) {
575
+ function Mr(e, t, r) {
571
576
  return e.concat(t).map(function(n) {
572
577
  return se(n, r);
573
578
  });
574
579
  }
575
- function Rr(e, t) {
580
+ function $r(e, t) {
576
581
  if (!t.customMerge)
577
- return Z;
582
+ return Q;
578
583
  var r = t.customMerge(e);
579
- return typeof r == "function" ? r : Z;
584
+ return typeof r == "function" ? r : Q;
580
585
  }
581
- function Ur(e) {
586
+ function Rr(e) {
582
587
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
583
588
  return Object.propertyIsEnumerable.call(e, t);
584
589
  }) : [];
585
590
  }
586
- function it(e) {
587
- return Object.keys(e).concat(Ur(e));
591
+ function nt(e) {
592
+ return Object.keys(e).concat(Rr(e));
588
593
  }
589
- function St(e, t) {
594
+ function Bt(e, t) {
590
595
  try {
591
596
  return t in e;
592
597
  } catch (r) {
593
598
  return !1;
594
599
  }
595
600
  }
596
- function Gr(e, t) {
597
- return St(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
601
+ function Ur(e, t) {
602
+ return Bt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
598
603
  }
599
- function Dr(e, t, r) {
604
+ function Gr(e, t, r) {
600
605
  var n = {};
601
- return r.isMergeableObject(e) && it(e).forEach(function(i) {
606
+ return r.isMergeableObject(e) && nt(e).forEach(function(i) {
602
607
  n[i] = se(e[i], r);
603
- }), it(t).forEach(function(i) {
604
- Gr(e, i) || (St(e, i) && r.isMergeableObject(t[i]) ? n[i] = Rr(i, r)(e[i], t[i], r) : n[i] = se(t[i], r));
608
+ }), nt(t).forEach(function(i) {
609
+ Ur(e, i) || (Bt(e, i) && r.isMergeableObject(t[i]) ? n[i] = $r(i, r)(e[i], t[i], r) : n[i] = se(t[i], r));
605
610
  }), n;
606
611
  }
607
- function Z(e, t, r) {
608
- r = r || {}, r.arrayMerge = r.arrayMerge || $r, r.isMergeableObject = r.isMergeableObject || Or, r.cloneUnlessOtherwiseSpecified = se;
609
- var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
610
- return s ? n ? r.arrayMerge(e, t, r) : Dr(e, t, r) : se(t, r);
612
+ function Q(e, t, r) {
613
+ r = r || {}, r.arrayMerge = r.arrayMerge || Mr, r.isMergeableObject = r.isMergeableObject || Sr, r.cloneUnlessOtherwiseSpecified = se;
614
+ var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
615
+ return o ? n ? r.arrayMerge(e, t, r) : Gr(e, t, r) : se(t, r);
611
616
  }
612
- Z.all = function(t, r) {
617
+ Q.all = function(t, r) {
613
618
  if (!Array.isArray(t))
614
619
  throw new Error("first argument should be an array");
615
620
  return t.reduce(function(n, i) {
616
- return Z(n, i, r);
621
+ return Q(n, i, r);
617
622
  }, {});
618
623
  };
619
- var Fr = Z, jr = Fr;
620
- const kr = /* @__PURE__ */ Sr(jr);
624
+ var Dr = Q, Fr = Dr;
625
+ const jr = /* @__PURE__ */ Br(Fr);
621
626
  /*! *****************************************************************************
622
627
  Copyright (c) Microsoft Corporation.
623
628
 
@@ -632,34 +637,34 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
632
637
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
633
638
  PERFORMANCE OF THIS SOFTWARE.
634
639
  ***************************************************************************** */
635
- var Me = function(e, t) {
636
- return Me = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
640
+ var $e = function(e, t) {
641
+ return $e = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
637
642
  r.__proto__ = n;
638
643
  } || function(r, n) {
639
644
  for (var i in n)
640
645
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
641
- }, Me(e, t);
646
+ }, $e(e, t);
642
647
  };
643
648
  function Ee(e, t) {
644
649
  if (typeof t != "function" && t !== null)
645
650
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
646
- Me(e, t);
651
+ $e(e, t);
647
652
  function r() {
648
653
  this.constructor = e;
649
654
  }
650
655
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
651
656
  }
652
- var E = function() {
653
- return E = Object.assign || function(t) {
657
+ var x = function() {
658
+ return x = Object.assign || function(t) {
654
659
  for (var r, n = 1, i = arguments.length; n < i; n++) {
655
660
  r = arguments[n];
656
- for (var s in r)
657
- Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
661
+ for (var o in r)
662
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
658
663
  }
659
664
  return t;
660
- }, E.apply(this, arguments);
665
+ }, x.apply(this, arguments);
661
666
  };
662
- function Vr(e, t) {
667
+ function kr(e, t) {
663
668
  var r = {};
664
669
  for (var n in e)
665
670
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -668,62 +673,60 @@ function Vr(e, t) {
668
673
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
669
674
  return r;
670
675
  }
671
- function Ae(e, t, r) {
676
+ function Be(e, t, r) {
672
677
  if (arguments.length === 2)
673
- for (var n = 0, i = t.length, s; n < i; n++)
674
- (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
675
- return e.concat(s || t);
678
+ for (var n = 0, i = t.length, o; n < i; n++)
679
+ (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
680
+ return e.concat(o || t);
676
681
  }
677
- function Be(e, t) {
678
- var r = t && t.cache ? t.cache : Jr, n = t && t.serializer ? t.serializer : Qr, i = t && t.strategy ? t.strategy : zr;
682
+ function Se(e, t) {
683
+ var r = t && t.cache ? t.cache : Jr, n = t && t.serializer ? t.serializer : Zr, i = t && t.strategy ? t.strategy : zr;
679
684
  return i(e, {
680
685
  cache: r,
681
686
  serializer: n
682
687
  });
683
688
  }
684
- function Xr(e) {
689
+ function Vr(e) {
685
690
  return e == null || typeof e == "number" || typeof e == "boolean";
686
691
  }
687
- function Ot(e, t, r, n) {
688
- var i = Xr(n) ? n : r(n), s = t.get(i);
689
- return typeof s == "undefined" && (s = e.call(this, n), t.set(i, s)), s;
692
+ function Xr(e, t, r, n) {
693
+ var i = Vr(n) ? n : r(n), o = t.get(i);
694
+ return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
690
695
  }
691
- function wt(e, t, r) {
692
- var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
693
- return typeof s == "undefined" && (s = e.apply(this, n), t.set(i, s)), s;
696
+ function St(e, t, r) {
697
+ var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
698
+ return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
694
699
  }
695
- function Xe(e, t, r, n, i) {
700
+ function wt(e, t, r, n, i) {
696
701
  return r.bind(t, e, n, i);
697
702
  }
698
703
  function zr(e, t) {
699
- var r = e.length === 1 ? Ot : wt;
700
- return Xe(e, this, r, t.cache.create(), t.serializer);
704
+ var r = e.length === 1 ? Xr : St;
705
+ return wt(e, this, r, t.cache.create(), t.serializer);
701
706
  }
702
707
  function Wr(e, t) {
703
- return Xe(e, this, wt, t.cache.create(), t.serializer);
708
+ return wt(e, this, St, t.cache.create(), t.serializer);
704
709
  }
705
- function Zr(e, t) {
706
- return Xe(e, this, Ot, t.cache.create(), t.serializer);
707
- }
708
- var Qr = function() {
710
+ var Zr = function() {
709
711
  return JSON.stringify(arguments);
710
- };
711
- function ze() {
712
- this.cache = /* @__PURE__ */ Object.create(null);
713
- }
714
- ze.prototype.get = function(e) {
715
- return this.cache[e];
716
- };
717
- ze.prototype.set = function(e, t) {
718
- this.cache[e] = t;
719
- };
720
- var Jr = {
712
+ }, Qr = (
713
+ /** @class */
714
+ function() {
715
+ function e() {
716
+ this.cache = /* @__PURE__ */ Object.create(null);
717
+ }
718
+ return e.prototype.get = function(t) {
719
+ return this.cache[t];
720
+ }, e.prototype.set = function(t, r) {
721
+ this.cache[t] = r;
722
+ }, e;
723
+ }()
724
+ ), Jr = {
721
725
  create: function() {
722
- return new ze();
726
+ return new Qr();
723
727
  }
724
- }, Se = {
725
- variadic: Wr,
726
- monadic: Zr
728
+ }, we = {
729
+ variadic: Wr
727
730
  }, y;
728
731
  (function(e) {
729
732
  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,44 +735,44 @@ var T;
732
735
  (function(e) {
733
736
  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";
734
737
  })(T || (T = {}));
735
- var Q;
738
+ var J;
736
739
  (function(e) {
737
740
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
738
- })(Q || (Q = {}));
739
- function st(e) {
741
+ })(J || (J = {}));
742
+ function it(e) {
740
743
  return e.type === T.literal;
741
744
  }
742
745
  function qr(e) {
743
746
  return e.type === T.argument;
744
747
  }
745
- function Pt(e) {
748
+ function Ot(e) {
746
749
  return e.type === T.number;
747
750
  }
748
- function Nt(e) {
751
+ function Pt(e) {
749
752
  return e.type === T.date;
750
753
  }
751
- function Lt(e) {
754
+ function Nt(e) {
752
755
  return e.type === T.time;
753
756
  }
754
- function It(e) {
757
+ function Lt(e) {
755
758
  return e.type === T.select;
756
759
  }
757
- function Mt(e) {
760
+ function It(e) {
758
761
  return e.type === T.plural;
759
762
  }
760
763
  function Yr(e) {
761
764
  return e.type === T.pound;
762
765
  }
763
- function $t(e) {
766
+ function Mt(e) {
764
767
  return e.type === T.tag;
765
768
  }
766
- function Rt(e) {
767
- return !!(e && typeof e == "object" && e.type === Q.number);
769
+ function $t(e) {
770
+ return !!(e && typeof e == "object" && e.type === J.number);
768
771
  }
769
- function $e(e) {
770
- return !!(e && typeof e == "object" && e.type === Q.dateTime);
772
+ function Re(e) {
773
+ return !!(e && typeof e == "object" && e.type === J.dateTime);
771
774
  }
772
- var Ut = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Kr = /(?:[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
+ var Rt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Kr = /(?:[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;
773
776
  function en(e) {
774
777
  var t = {};
775
778
  return e.replace(Kr, function(r) {
@@ -865,15 +868,15 @@ var tn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
865
868
  function rn(e) {
866
869
  if (e.length === 0)
867
870
  throw new Error("Number skeleton cannot be empty");
868
- for (var t = e.split(tn).filter(function(c) {
869
- return c.length > 0;
871
+ for (var t = e.split(tn).filter(function(f) {
872
+ return f.length > 0;
870
873
  }), r = [], n = 0, i = t; n < i.length; n++) {
871
- var s = i[n], o = s.split("/");
872
- if (o.length === 0)
874
+ var o = i[n], s = o.split("/");
875
+ if (s.length === 0)
873
876
  throw new Error("Invalid number skeleton");
874
- for (var u = o[0], h = o.slice(1), a = 0, l = h; a < l.length; a++) {
875
- var f = l[a];
876
- if (f.length === 0)
877
+ for (var u = s[0], h = s.slice(1), a = 0, l = h; a < l.length; a++) {
878
+ var c = l[a];
879
+ if (c.length === 0)
877
880
  throw new Error("Invalid number skeleton");
878
881
  }
879
882
  r.push({ stem: u, options: h });
@@ -883,14 +886,14 @@ function rn(e) {
883
886
  function nn(e) {
884
887
  return e.replace(/^(.*?)-/, "");
885
888
  }
886
- var ot = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Gt = /^(@+)?(\+|#+)?[rs]?$/g, sn = /(\*)(0+)|(#+)(0+)|(0+)/g, Dt = /^(0+)$/;
887
- function at(e) {
889
+ var ot = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Ut = /^(@+)?(\+|#+)?[rs]?$/g, on = /(\*)(0+)|(#+)(0+)|(0+)/g, Gt = /^(0+)$/;
890
+ function st(e) {
888
891
  var t = {};
889
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Gt, function(r, n, i) {
892
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Ut, function(r, n, i) {
890
893
  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)), "";
891
894
  }), t;
892
895
  }
893
- function Ft(e) {
896
+ function Dt(e) {
894
897
  switch (e) {
895
898
  case "sign-auto":
896
899
  return {
@@ -930,7 +933,7 @@ function Ft(e) {
930
933
  };
931
934
  }
932
935
  }
933
- function on(e) {
936
+ function sn(e) {
934
937
  var t;
935
938
  if (e[0] === "E" && e[1] === "E" ? (t = {
936
939
  notation: "engineering"
@@ -938,14 +941,14 @@ function on(e) {
938
941
  notation: "scientific"
939
942
  }, e = e.slice(1)), t) {
940
943
  var r = e.slice(0, 2);
941
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Dt.test(e))
944
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Gt.test(e))
942
945
  throw new Error("Malformed concise eng/scientific notation");
943
946
  t.minimumIntegerDigits = e.length;
944
947
  }
945
948
  return t;
946
949
  }
947
- function ut(e) {
948
- var t = {}, r = Ft(e);
950
+ function at(e) {
951
+ var t = {}, r = Dt(e);
949
952
  return r || t;
950
953
  }
951
954
  function an(e) {
@@ -983,13 +986,13 @@ function an(e) {
983
986
  t.notation = "compact", t.compactDisplay = "long";
984
987
  continue;
985
988
  case "scientific":
986
- t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(h, a) {
987
- return E(E({}, h), ut(a));
989
+ t = x(x(x({}, t), { notation: "scientific" }), i.options.reduce(function(h, a) {
990
+ return x(x({}, h), at(a));
988
991
  }, {}));
989
992
  continue;
990
993
  case "engineering":
991
- t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(h, a) {
992
- return E(E({}, h), ut(a));
994
+ t = x(x(x({}, t), { notation: "engineering" }), i.options.reduce(function(h, a) {
995
+ return x(x({}, h), at(a));
993
996
  }, {}));
994
997
  continue;
995
998
  case "notation-simple":
@@ -1034,11 +1037,11 @@ function an(e) {
1034
1037
  case "integer-width":
1035
1038
  if (i.options.length > 1)
1036
1039
  throw new RangeError("integer-width stems only accept a single optional option");
1037
- i.options[0].replace(sn, function(h, a, l, f, c, p) {
1040
+ i.options[0].replace(on, function(h, a, l, c, f, p) {
1038
1041
  if (a)
1039
1042
  t.minimumIntegerDigits = l.length;
1040
1043
  else {
1041
- if (f && c)
1044
+ if (c && f)
1042
1045
  throw new Error("We currently do not support maximum integer digits");
1043
1046
  if (p)
1044
1047
  throw new Error("We currently do not support exact integer digits");
@@ -1047,32 +1050,32 @@ function an(e) {
1047
1050
  });
1048
1051
  continue;
1049
1052
  }
1050
- if (Dt.test(i.stem)) {
1053
+ if (Gt.test(i.stem)) {
1051
1054
  t.minimumIntegerDigits = i.stem.length;
1052
1055
  continue;
1053
1056
  }
1054
1057
  if (ot.test(i.stem)) {
1055
1058
  if (i.options.length > 1)
1056
1059
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1057
- i.stem.replace(ot, function(h, a, l, f, c, p) {
1058
- return l === "*" ? t.minimumFractionDigits = a.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && p ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + p.length) : (t.minimumFractionDigits = a.length, t.maximumFractionDigits = a.length), "";
1060
+ i.stem.replace(ot, function(h, a, l, c, f, p) {
1061
+ 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), "";
1059
1062
  });
1060
- var s = i.options[0];
1061
- s === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = E(E({}, t), at(s)));
1063
+ var o = i.options[0];
1064
+ o === "w" ? t = x(x({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = x(x({}, t), st(o)));
1062
1065
  continue;
1063
1066
  }
1064
- if (Gt.test(i.stem)) {
1065
- t = E(E({}, t), at(i.stem));
1067
+ if (Ut.test(i.stem)) {
1068
+ t = x(x({}, t), st(i.stem));
1066
1069
  continue;
1067
1070
  }
1068
- var o = Ft(i.stem);
1069
- o && (t = E(E({}, t), o));
1070
- var u = on(i.stem);
1071
- u && (t = E(E({}, t), u));
1071
+ var s = Dt(i.stem);
1072
+ s && (t = x(x({}, t), s));
1073
+ var u = sn(i.stem);
1074
+ u && (t = x(x({}, t), u));
1072
1075
  }
1073
1076
  return t;
1074
1077
  }
1075
- var fe = {
1078
+ var ge = {
1076
1079
  "001": [
1077
1080
  "H",
1078
1081
  "h"
@@ -2491,12 +2494,12 @@ function un(e, t) {
2491
2494
  for (var r = "", n = 0; n < e.length; n++) {
2492
2495
  var i = e.charAt(n);
2493
2496
  if (i === "j") {
2494
- for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2495
- s++, n++;
2496
- var o = 1 + (s & 1), u = s < 2 ? 1 : 3 + (s >> 1), h = "a", a = hn(t);
2497
+ for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2498
+ o++, n++;
2499
+ var s = 1 + (o & 1), u = o < 2 ? 1 : 3 + (o >> 1), h = "a", a = hn(t);
2497
2500
  for ((a == "H" || a == "k") && (u = 0); u-- > 0; )
2498
2501
  r += h;
2499
- for (; o-- > 0; )
2502
+ for (; s-- > 0; )
2500
2503
  r = a + r;
2501
2504
  } else
2502
2505
  i === "J" ? r += "H" : r += i;
@@ -2522,23 +2525,23 @@ function hn(e) {
2522
2525
  }
2523
2526
  var r = e.language, n;
2524
2527
  r !== "root" && (n = e.maximize().region);
2525
- var i = fe[n || ""] || fe[r || ""] || fe["".concat(r, "-001")] || fe["001"];
2528
+ var i = ge[n || ""] || ge[r || ""] || ge["".concat(r, "-001")] || ge["001"];
2526
2529
  return i[0];
2527
2530
  }
2528
- var Oe, ln = new RegExp("^".concat(Ut.source, "*")), cn = new RegExp("".concat(Ut.source, "*$"));
2529
- function x(e, t) {
2531
+ var Oe, ln = new RegExp("^".concat(Rt.source, "*")), fn = new RegExp("".concat(Rt.source, "*$"));
2532
+ function _(e, t) {
2530
2533
  return { start: e, end: t };
2531
2534
  }
2532
- var fn = !!String.prototype.startsWith && "_a".startsWith("a", 1), gn = !!String.fromCodePoint, mn = !!Object.fromEntries, pn = !!String.prototype.codePointAt, dn = !!String.prototype.trimStart, bn = !!String.prototype.trimEnd, yn = !!Number.isSafeInteger, xn = yn ? Number.isSafeInteger : function(e) {
2535
+ var cn = !!String.prototype.startsWith && "_a".startsWith("a", 1), gn = !!String.fromCodePoint, mn = !!Object.fromEntries, pn = !!String.prototype.codePointAt, dn = !!String.prototype.trimStart, bn = !!String.prototype.trimEnd, yn = !!Number.isSafeInteger, _n = yn ? Number.isSafeInteger : function(e) {
2533
2536
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2534
- }, Re = !0;
2537
+ }, Ue = !0;
2535
2538
  try {
2536
- var En = kt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2537
- Re = ((Oe = En.exec("a")) === null || Oe === void 0 ? void 0 : Oe[0]) === "a";
2539
+ var xn = jt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2540
+ Ue = ((Oe = xn.exec("a")) === null || Oe === void 0 ? void 0 : Oe[0]) === "a";
2538
2541
  } catch (e) {
2539
- Re = !1;
2542
+ Ue = !1;
2540
2543
  }
2541
- var ht = fn ? (
2544
+ var ut = cn ? (
2542
2545
  // Native
2543
2546
  function(t, r, n) {
2544
2547
  return t.startsWith(r, n);
@@ -2548,31 +2551,31 @@ var ht = fn ? (
2548
2551
  function(t, r, n) {
2549
2552
  return t.slice(n, n + r.length) === r;
2550
2553
  }
2551
- ), Ue = gn ? String.fromCodePoint : (
2554
+ ), Ge = gn ? String.fromCodePoint : (
2552
2555
  // IE11
2553
2556
  function() {
2554
2557
  for (var t = [], r = 0; r < arguments.length; r++)
2555
2558
  t[r] = arguments[r];
2556
- for (var n = "", i = t.length, s = 0, o; i > s; ) {
2557
- if (o = t[s++], o > 1114111)
2558
- throw RangeError(o + " is not a valid code point");
2559
- n += o < 65536 ? String.fromCharCode(o) : String.fromCharCode(((o -= 65536) >> 10) + 55296, o % 1024 + 56320);
2559
+ for (var n = "", i = t.length, o = 0, s; i > o; ) {
2560
+ if (s = t[o++], s > 1114111)
2561
+ throw RangeError(s + " is not a valid code point");
2562
+ n += s < 65536 ? String.fromCharCode(s) : String.fromCharCode(((s -= 65536) >> 10) + 55296, s % 1024 + 56320);
2560
2563
  }
2561
2564
  return n;
2562
2565
  }
2563
- ), lt = (
2566
+ ), ht = (
2564
2567
  // native
2565
2568
  mn ? Object.fromEntries : (
2566
2569
  // Ponyfill
2567
2570
  function(t) {
2568
2571
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
2569
- var s = i[n], o = s[0], u = s[1];
2570
- r[o] = u;
2572
+ var o = i[n], s = o[0], u = o[1];
2573
+ r[s] = u;
2571
2574
  }
2572
2575
  return r;
2573
2576
  }
2574
2577
  )
2575
- ), jt = pn ? (
2578
+ ), Ft = pn ? (
2576
2579
  // Native
2577
2580
  function(t, r) {
2578
2581
  return t.codePointAt(r);
@@ -2582,11 +2585,11 @@ var ht = fn ? (
2582
2585
  function(t, r) {
2583
2586
  var n = t.length;
2584
2587
  if (!(r < 0 || r >= n)) {
2585
- var i = t.charCodeAt(r), s;
2586
- return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
2588
+ var i = t.charCodeAt(r), o;
2589
+ return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
2587
2590
  }
2588
2591
  }
2589
- ), _n = dn ? (
2592
+ ), En = dn ? (
2590
2593
  // Native
2591
2594
  function(t) {
2592
2595
  return t.trimStart();
@@ -2604,30 +2607,30 @@ var ht = fn ? (
2604
2607
  ) : (
2605
2608
  // Ponyfill
2606
2609
  function(t) {
2607
- return t.replace(cn, "");
2610
+ return t.replace(fn, "");
2608
2611
  }
2609
2612
  );
2610
- function kt(e, t) {
2613
+ function jt(e, t) {
2611
2614
  return new RegExp(e, t);
2612
2615
  }
2613
- var Ge;
2614
- if (Re) {
2615
- var ct = kt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2616
- Ge = function(t, r) {
2616
+ var De;
2617
+ if (Ue) {
2618
+ var lt = jt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2619
+ De = function(t, r) {
2617
2620
  var n;
2618
- ct.lastIndex = r;
2619
- var i = ct.exec(t);
2621
+ lt.lastIndex = r;
2622
+ var i = lt.exec(t);
2620
2623
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2621
2624
  };
2622
2625
  } else
2623
- Ge = function(t, r) {
2626
+ De = function(t, r) {
2624
2627
  for (var n = []; ; ) {
2625
- var i = jt(t, r);
2626
- if (i === void 0 || Vt(i) || An(i))
2628
+ var i = Ft(t, r);
2629
+ if (i === void 0 || kt(i) || An(i))
2627
2630
  break;
2628
2631
  n.push(i), r += i >= 65536 ? 2 : 1;
2629
2632
  }
2630
- return Ue.apply(void 0, n);
2633
+ return Ge.apply(void 0, n);
2631
2634
  };
2632
2635
  var Tn = (
2633
2636
  /** @class */
@@ -2641,35 +2644,35 @@ var Tn = (
2641
2644
  return this.parseMessage(0, "", !1);
2642
2645
  }, e.prototype.parseMessage = function(t, r, n) {
2643
2646
  for (var i = []; !this.isEOF(); ) {
2644
- var s = this.char();
2645
- if (s === 123) {
2646
- var o = this.parseArgument(t, n);
2647
- if (o.err)
2648
- return o;
2649
- i.push(o.val);
2647
+ var o = this.char();
2648
+ if (o === 123) {
2649
+ var s = this.parseArgument(t, n);
2650
+ if (s.err)
2651
+ return s;
2652
+ i.push(s.val);
2650
2653
  } else {
2651
- if (s === 125 && t > 0)
2654
+ if (o === 125 && t > 0)
2652
2655
  break;
2653
- if (s === 35 && (r === "plural" || r === "selectordinal")) {
2656
+ if (o === 35 && (r === "plural" || r === "selectordinal")) {
2654
2657
  var u = this.clonePosition();
2655
2658
  this.bump(), i.push({
2656
2659
  type: T.pound,
2657
- location: x(u, this.clonePosition())
2660
+ location: _(u, this.clonePosition())
2658
2661
  });
2659
- } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
2662
+ } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
2660
2663
  if (n)
2661
2664
  break;
2662
- return this.error(y.UNMATCHED_CLOSING_TAG, x(this.clonePosition(), this.clonePosition()));
2663
- } else if (s === 60 && !this.ignoreTag && De(this.peek() || 0)) {
2664
- var o = this.parseTag(t, r);
2665
- if (o.err)
2666
- return o;
2667
- i.push(o.val);
2665
+ return this.error(y.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
2666
+ } else if (o === 60 && !this.ignoreTag && Fe(this.peek() || 0)) {
2667
+ var s = this.parseTag(t, r);
2668
+ if (s.err)
2669
+ return s;
2670
+ i.push(s.val);
2668
2671
  } else {
2669
- var o = this.parseLiteral(t, r);
2670
- if (o.err)
2671
- return o;
2672
- i.push(o.val);
2672
+ var s = this.parseLiteral(t, r);
2673
+ if (s.err)
2674
+ return s;
2675
+ i.push(s.val);
2673
2676
  }
2674
2677
  }
2675
2678
  }
@@ -2683,49 +2686,49 @@ var Tn = (
2683
2686
  val: {
2684
2687
  type: T.literal,
2685
2688
  value: "<".concat(i, "/>"),
2686
- location: x(n, this.clonePosition())
2689
+ location: _(n, this.clonePosition())
2687
2690
  },
2688
2691
  err: null
2689
2692
  };
2690
2693
  if (this.bumpIf(">")) {
2691
- var s = this.parseMessage(t + 1, r, !0);
2692
- if (s.err)
2693
- return s;
2694
- var o = s.val, u = this.clonePosition();
2694
+ var o = this.parseMessage(t + 1, r, !0);
2695
+ if (o.err)
2696
+ return o;
2697
+ var s = o.val, u = this.clonePosition();
2695
2698
  if (this.bumpIf("</")) {
2696
- if (this.isEOF() || !De(this.char()))
2697
- return this.error(y.INVALID_TAG, x(u, this.clonePosition()));
2699
+ if (this.isEOF() || !Fe(this.char()))
2700
+ return this.error(y.INVALID_TAG, _(u, this.clonePosition()));
2698
2701
  var h = this.clonePosition(), a = this.parseTagName();
2699
- return i !== a ? this.error(y.UNMATCHED_CLOSING_TAG, x(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2702
+ return i !== a ? this.error(y.UNMATCHED_CLOSING_TAG, _(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2700
2703
  val: {
2701
2704
  type: T.tag,
2702
2705
  value: i,
2703
- children: o,
2704
- location: x(n, this.clonePosition())
2706
+ children: s,
2707
+ location: _(n, this.clonePosition())
2705
2708
  },
2706
2709
  err: null
2707
- } : this.error(y.INVALID_TAG, x(u, this.clonePosition())));
2710
+ } : this.error(y.INVALID_TAG, _(u, this.clonePosition())));
2708
2711
  } else
2709
- return this.error(y.UNCLOSED_TAG, x(n, this.clonePosition()));
2712
+ return this.error(y.UNCLOSED_TAG, _(n, this.clonePosition()));
2710
2713
  } else
2711
- return this.error(y.INVALID_TAG, x(n, this.clonePosition()));
2714
+ return this.error(y.INVALID_TAG, _(n, this.clonePosition()));
2712
2715
  }, e.prototype.parseTagName = function() {
2713
2716
  var t = this.offset();
2714
- for (this.bump(); !this.isEOF() && Cn(this.char()); )
2717
+ for (this.bump(); !this.isEOF() && Hn(this.char()); )
2715
2718
  this.bump();
2716
2719
  return this.message.slice(t, this.offset());
2717
2720
  }, e.prototype.parseLiteral = function(t, r) {
2718
2721
  for (var n = this.clonePosition(), i = ""; ; ) {
2719
- var s = this.tryParseQuote(r);
2720
- if (s) {
2721
- i += s;
2722
- continue;
2723
- }
2724
- var o = this.tryParseUnquoted(t, r);
2722
+ var o = this.tryParseQuote(r);
2725
2723
  if (o) {
2726
2724
  i += o;
2727
2725
  continue;
2728
2726
  }
2727
+ var s = this.tryParseUnquoted(t, r);
2728
+ if (s) {
2729
+ i += s;
2730
+ continue;
2731
+ }
2729
2732
  var u = this.tryParseLeftAngleBracket();
2730
2733
  if (u) {
2731
2734
  i += u;
@@ -2733,14 +2736,14 @@ var Tn = (
2733
2736
  }
2734
2737
  break;
2735
2738
  }
2736
- var h = x(n, this.clonePosition());
2739
+ var h = _(n, this.clonePosition());
2737
2740
  return {
2738
2741
  val: { type: T.literal, value: i, location: h },
2739
2742
  err: null
2740
2743
  };
2741
2744
  }, e.prototype.tryParseLeftAngleBracket = function() {
2742
2745
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2743
- !Hn(this.peek() || 0)) ? (this.bump(), "<") : null;
2746
+ !Cn(this.peek() || 0)) ? (this.bump(), "<") : null;
2744
2747
  }, e.prototype.tryParseQuote = function(t) {
2745
2748
  if (this.isEOF() || this.char() !== 39)
2746
2749
  return null;
@@ -2774,23 +2777,23 @@ var Tn = (
2774
2777
  r.push(n);
2775
2778
  this.bump();
2776
2779
  }
2777
- return Ue.apply(void 0, r);
2780
+ return Ge.apply(void 0, r);
2778
2781
  }, e.prototype.tryParseUnquoted = function(t, r) {
2779
2782
  if (this.isEOF())
2780
2783
  return null;
2781
2784
  var n = this.char();
2782
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ue(n));
2785
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ge(n));
2783
2786
  }, e.prototype.parseArgument = function(t, r) {
2784
2787
  var n = this.clonePosition();
2785
2788
  if (this.bump(), this.bumpSpace(), this.isEOF())
2786
- return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, x(n, this.clonePosition()));
2789
+ return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition()));
2787
2790
  if (this.char() === 125)
2788
- return this.bump(), this.error(y.EMPTY_ARGUMENT, x(n, this.clonePosition()));
2791
+ return this.bump(), this.error(y.EMPTY_ARGUMENT, _(n, this.clonePosition()));
2789
2792
  var i = this.parseIdentifierIfPossible().value;
2790
2793
  if (!i)
2791
- return this.error(y.MALFORMED_ARGUMENT, x(n, this.clonePosition()));
2794
+ return this.error(y.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
2792
2795
  if (this.bumpSpace(), this.isEOF())
2793
- return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, x(n, this.clonePosition()));
2796
+ return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition()));
2794
2797
  switch (this.char()) {
2795
2798
  case 125:
2796
2799
  return this.bump(), {
@@ -2798,25 +2801,25 @@ var Tn = (
2798
2801
  type: T.argument,
2799
2802
  // value does not include the opening and closing braces.
2800
2803
  value: i,
2801
- location: x(n, this.clonePosition())
2804
+ location: _(n, this.clonePosition())
2802
2805
  },
2803
2806
  err: null
2804
2807
  };
2805
2808
  case 44:
2806
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, x(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2809
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2807
2810
  default:
2808
- return this.error(y.MALFORMED_ARGUMENT, x(n, this.clonePosition()));
2811
+ return this.error(y.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
2809
2812
  }
2810
2813
  }, e.prototype.parseIdentifierIfPossible = function() {
2811
- var t = this.clonePosition(), r = this.offset(), n = Ge(this.message, r), i = r + n.length;
2814
+ var t = this.clonePosition(), r = this.offset(), n = De(this.message, r), i = r + n.length;
2812
2815
  this.bumpTo(i);
2813
- var s = this.clonePosition(), o = x(t, s);
2814
- return { value: n, location: o };
2816
+ var o = this.clonePosition(), s = _(t, o);
2817
+ return { value: n, location: s };
2815
2818
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
2816
- var s, o = this.clonePosition(), u = this.parseIdentifierIfPossible().value, h = this.clonePosition();
2819
+ var o, s = this.clonePosition(), u = this.parseIdentifierIfPossible().value, h = this.clonePosition();
2817
2820
  switch (u) {
2818
2821
  case "":
2819
- return this.error(y.EXPECT_ARGUMENT_TYPE, x(o, h));
2822
+ return this.error(y.EXPECT_ARGUMENT_TYPE, _(s, h));
2820
2823
  case "number":
2821
2824
  case "date":
2822
2825
  case "time": {
@@ -2824,40 +2827,40 @@ var Tn = (
2824
2827
  var a = null;
2825
2828
  if (this.bumpIf(",")) {
2826
2829
  this.bumpSpace();
2827
- var l = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
2828
- if (f.err)
2829
- return f;
2830
- var c = vn(f.val);
2831
- if (c.length === 0)
2832
- return this.error(y.EXPECT_ARGUMENT_STYLE, x(this.clonePosition(), this.clonePosition()));
2833
- var p = x(l, this.clonePosition());
2834
- a = { style: c, styleLocation: p };
2830
+ var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
2831
+ if (c.err)
2832
+ return c;
2833
+ var f = vn(c.val);
2834
+ if (f.length === 0)
2835
+ return this.error(y.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
2836
+ var p = _(l, this.clonePosition());
2837
+ a = { style: f, styleLocation: p };
2835
2838
  }
2836
2839
  var d = this.tryParseArgumentClose(i);
2837
2840
  if (d.err)
2838
2841
  return d;
2839
- var g = x(i, this.clonePosition());
2840
- if (a && ht(a == null ? void 0 : a.style, "::", 0)) {
2841
- var _ = _n(a.style.slice(2));
2842
+ var g = _(i, this.clonePosition());
2843
+ if (a && ut(a == null ? void 0 : a.style, "::", 0)) {
2844
+ var E = En(a.style.slice(2));
2842
2845
  if (u === "number") {
2843
- var f = this.parseNumberSkeletonFromString(_, a.styleLocation);
2844
- return f.err ? f : {
2845
- val: { type: T.number, value: n, location: g, style: f.val },
2846
+ var c = this.parseNumberSkeletonFromString(E, a.styleLocation);
2847
+ return c.err ? c : {
2848
+ val: { type: T.number, value: n, location: g, style: c.val },
2846
2849
  err: null
2847
2850
  };
2848
2851
  } else {
2849
- if (_.length === 0)
2852
+ if (E.length === 0)
2850
2853
  return this.error(y.EXPECT_DATE_TIME_SKELETON, g);
2851
- var m = _;
2852
- this.locale && (m = un(_, this.locale));
2853
- var c = {
2854
- type: Q.dateTime,
2854
+ var m = E;
2855
+ this.locale && (m = un(E, this.locale));
2856
+ var f = {
2857
+ type: J.dateTime,
2855
2858
  pattern: m,
2856
2859
  location: a.styleLocation,
2857
2860
  parsedOptions: this.shouldParseSkeletons ? en(m) : {}
2858
- }, H = u === "date" ? T.date : T.time;
2861
+ }, C = u === "date" ? T.date : T.time;
2859
2862
  return {
2860
- val: { type: H, value: n, location: g, style: c },
2863
+ val: { type: C, value: n, location: g, style: f },
2861
2864
  err: null
2862
2865
  };
2863
2866
  }
@@ -2867,7 +2870,7 @@ var Tn = (
2867
2870
  type: u === "number" ? T.number : u === "date" ? T.date : T.time,
2868
2871
  value: n,
2869
2872
  location: g,
2870
- style: (s = a == null ? void 0 : a.style) !== null && s !== void 0 ? s : null
2873
+ style: (o = a == null ? void 0 : a.style) !== null && o !== void 0 ? o : null
2871
2874
  },
2872
2875
  err: null
2873
2876
  };
@@ -2875,52 +2878,52 @@ var Tn = (
2875
2878
  case "plural":
2876
2879
  case "selectordinal":
2877
2880
  case "select": {
2878
- var B = this.clonePosition();
2881
+ var A = this.clonePosition();
2879
2882
  if (this.bumpSpace(), !this.bumpIf(","))
2880
- return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, x(B, E({}, B)));
2883
+ return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, _(A, x({}, A)));
2881
2884
  this.bumpSpace();
2882
- var P = this.parseIdentifierIfPossible(), S = 0;
2883
- if (u !== "select" && P.value === "offset") {
2885
+ var O = this.parseIdentifierIfPossible(), B = 0;
2886
+ if (u !== "select" && O.value === "offset") {
2884
2887
  if (!this.bumpIf(":"))
2885
- return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, x(this.clonePosition(), this.clonePosition()));
2888
+ return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
2886
2889
  this.bumpSpace();
2887
- var f = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2888
- if (f.err)
2889
- return f;
2890
- this.bumpSpace(), P = this.parseIdentifierIfPossible(), S = f.val;
2890
+ var c = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2891
+ if (c.err)
2892
+ return c;
2893
+ this.bumpSpace(), O = this.parseIdentifierIfPossible(), B = c.val;
2891
2894
  }
2892
- var C = this.tryParsePluralOrSelectOptions(t, u, r, P);
2893
- if (C.err)
2894
- return C;
2895
+ var H = this.tryParsePluralOrSelectOptions(t, u, r, O);
2896
+ if (H.err)
2897
+ return H;
2895
2898
  var d = this.tryParseArgumentClose(i);
2896
2899
  if (d.err)
2897
2900
  return d;
2898
- var N = x(i, this.clonePosition());
2901
+ var P = _(i, this.clonePosition());
2899
2902
  return u === "select" ? {
2900
2903
  val: {
2901
2904
  type: T.select,
2902
2905
  value: n,
2903
- options: lt(C.val),
2904
- location: N
2906
+ options: ht(H.val),
2907
+ location: P
2905
2908
  },
2906
2909
  err: null
2907
2910
  } : {
2908
2911
  val: {
2909
2912
  type: T.plural,
2910
2913
  value: n,
2911
- options: lt(C.val),
2912
- offset: S,
2914
+ options: ht(H.val),
2915
+ offset: B,
2913
2916
  pluralType: u === "plural" ? "cardinal" : "ordinal",
2914
- location: N
2917
+ location: P
2915
2918
  },
2916
2919
  err: null
2917
2920
  };
2918
2921
  }
2919
2922
  default:
2920
- return this.error(y.INVALID_ARGUMENT_TYPE, x(o, h));
2923
+ return this.error(y.INVALID_ARGUMENT_TYPE, _(s, h));
2921
2924
  }
2922
2925
  }, e.prototype.tryParseArgumentClose = function(t) {
2923
- return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, x(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2926
+ return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2924
2927
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
2925
2928
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
2926
2929
  var n = this.char();
@@ -2929,7 +2932,7 @@ var Tn = (
2929
2932
  this.bump();
2930
2933
  var i = this.clonePosition();
2931
2934
  if (!this.bumpUntil("'"))
2932
- return this.error(y.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, x(i, this.clonePosition()));
2935
+ return this.error(y.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, _(i, this.clonePosition()));
2933
2936
  this.bump();
2934
2937
  break;
2935
2938
  }
@@ -2965,7 +2968,7 @@ var Tn = (
2965
2968
  }
2966
2969
  return {
2967
2970
  val: {
2968
- type: Q.number,
2971
+ type: J.number,
2969
2972
  tokens: n,
2970
2973
  location: r,
2971
2974
  parsedOptions: this.shouldParseSkeletons ? an(n) : {}
@@ -2973,23 +2976,23 @@ var Tn = (
2973
2976
  err: null
2974
2977
  };
2975
2978
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
2976
- for (var s, o = !1, u = [], h = /* @__PURE__ */ new Set(), a = i.value, l = i.location; ; ) {
2979
+ for (var o, s = !1, u = [], h = /* @__PURE__ */ new Set(), a = i.value, l = i.location; ; ) {
2977
2980
  if (a.length === 0) {
2978
- var f = this.clonePosition();
2981
+ var c = this.clonePosition();
2979
2982
  if (r !== "select" && this.bumpIf("=")) {
2980
- var c = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_SELECTOR, y.INVALID_PLURAL_ARGUMENT_SELECTOR);
2981
- if (c.err)
2982
- return c;
2983
- l = x(f, this.clonePosition()), a = this.message.slice(f.offset, this.offset());
2983
+ var f = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_SELECTOR, y.INVALID_PLURAL_ARGUMENT_SELECTOR);
2984
+ if (f.err)
2985
+ return f;
2986
+ l = _(c, this.clonePosition()), a = this.message.slice(c.offset, this.offset());
2984
2987
  } else
2985
2988
  break;
2986
2989
  }
2987
2990
  if (h.has(a))
2988
2991
  return this.error(r === "select" ? y.DUPLICATE_SELECT_ARGUMENT_SELECTOR : y.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
2989
- a === "other" && (o = !0), this.bumpSpace();
2992
+ a === "other" && (s = !0), this.bumpSpace();
2990
2993
  var p = this.clonePosition();
2991
2994
  if (!this.bumpIf("{"))
2992
- return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, x(this.clonePosition(), this.clonePosition()));
2995
+ return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, _(this.clonePosition(), this.clonePosition()));
2993
2996
  var d = this.parseMessage(t + 1, r, n);
2994
2997
  if (d.err)
2995
2998
  return d;
@@ -3000,23 +3003,23 @@ var Tn = (
3000
3003
  a,
3001
3004
  {
3002
3005
  value: d.val,
3003
- location: x(p, this.clonePosition())
3006
+ location: _(p, this.clonePosition())
3004
3007
  }
3005
- ]), h.add(a), this.bumpSpace(), s = this.parseIdentifierIfPossible(), a = s.value, l = s.location;
3008
+ ]), h.add(a), this.bumpSpace(), o = this.parseIdentifierIfPossible(), a = o.value, l = o.location;
3006
3009
  }
3007
- return u.length === 0 ? this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR, x(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(y.MISSING_OTHER_CLAUSE, x(this.clonePosition(), this.clonePosition())) : { val: u, err: null };
3010
+ return u.length === 0 ? this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR, _(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(y.MISSING_OTHER_CLAUSE, _(this.clonePosition(), this.clonePosition())) : { val: u, err: null };
3008
3011
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3009
3012
  var n = 1, i = this.clonePosition();
3010
3013
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
3011
- for (var s = !1, o = 0; !this.isEOF(); ) {
3014
+ for (var o = !1, s = 0; !this.isEOF(); ) {
3012
3015
  var u = this.char();
3013
3016
  if (u >= 48 && u <= 57)
3014
- s = !0, o = o * 10 + (u - 48), this.bump();
3017
+ o = !0, s = s * 10 + (u - 48), this.bump();
3015
3018
  else
3016
3019
  break;
3017
3020
  }
3018
- var h = x(i, this.clonePosition());
3019
- return s ? (o *= n, xn(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
3021
+ var h = _(i, this.clonePosition());
3022
+ return o ? (s *= n, _n(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3020
3023
  }, e.prototype.offset = function() {
3021
3024
  return this.position.offset;
3022
3025
  }, e.prototype.isEOF = function() {
@@ -3031,7 +3034,7 @@ var Tn = (
3031
3034
  var t = this.position.offset;
3032
3035
  if (t >= this.message.length)
3033
3036
  throw Error("out of bound");
3034
- var r = jt(this.message, t);
3037
+ var r = Ft(this.message, t);
3035
3038
  if (r === void 0)
3036
3039
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3037
3040
  return r;
@@ -3050,7 +3053,7 @@ var Tn = (
3050
3053
  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);
3051
3054
  }
3052
3055
  }, e.prototype.bumpIf = function(t) {
3053
- if (ht(this.message, t, this.offset())) {
3056
+ if (ut(this.message, t, this.offset())) {
3054
3057
  for (var r = 0; r < t.length; r++)
3055
3058
  this.bump();
3056
3059
  return !0;
@@ -3072,7 +3075,7 @@ var Tn = (
3072
3075
  break;
3073
3076
  }
3074
3077
  }, e.prototype.bumpSpace = function() {
3075
- for (; !this.isEOF() && Vt(this.char()); )
3078
+ for (; !this.isEOF() && kt(this.char()); )
3076
3079
  this.bump();
3077
3080
  }, e.prototype.peek = function() {
3078
3081
  if (this.isEOF())
@@ -3082,50 +3085,50 @@ var Tn = (
3082
3085
  }, e;
3083
3086
  }()
3084
3087
  );
3085
- function De(e) {
3088
+ function Fe(e) {
3086
3089
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3087
3090
  }
3088
- function Hn(e) {
3089
- return De(e) || e === 47;
3090
- }
3091
3091
  function Cn(e) {
3092
+ return Fe(e) || e === 47;
3093
+ }
3094
+ function Hn(e) {
3092
3095
  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;
3093
3096
  }
3094
- function Vt(e) {
3097
+ function kt(e) {
3095
3098
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3096
3099
  }
3097
3100
  function An(e) {
3098
3101
  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;
3099
3102
  }
3100
- function Fe(e) {
3103
+ function je(e) {
3101
3104
  e.forEach(function(t) {
3102
- if (delete t.location, It(t) || Mt(t))
3105
+ if (delete t.location, Lt(t) || It(t))
3103
3106
  for (var r in t.options)
3104
- delete t.options[r].location, Fe(t.options[r].value);
3107
+ delete t.options[r].location, je(t.options[r].value);
3105
3108
  else
3106
- Pt(t) && Rt(t.style) || (Nt(t) || Lt(t)) && $e(t.style) ? delete t.style.location : $t(t) && Fe(t.children);
3109
+ Ot(t) && $t(t.style) || (Pt(t) || Nt(t)) && Re(t.style) ? delete t.style.location : Mt(t) && je(t.children);
3107
3110
  });
3108
3111
  }
3109
3112
  function Bn(e, t) {
3110
- t === void 0 && (t = {}), t = E({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3113
+ t === void 0 && (t = {}), t = x({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3111
3114
  var r = new Tn(e, t).parse();
3112
3115
  if (r.err) {
3113
3116
  var n = SyntaxError(y[r.err.kind]);
3114
3117
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3115
3118
  }
3116
- return t != null && t.captureLocation || Fe(r.val), r.val;
3119
+ return t != null && t.captureLocation || je(r.val), r.val;
3117
3120
  }
3118
- var J;
3121
+ var q;
3119
3122
  (function(e) {
3120
3123
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3121
- })(J || (J = {}));
3122
- var _e = (
3124
+ })(q || (q = {}));
3125
+ var ve = (
3123
3126
  /** @class */
3124
3127
  function(e) {
3125
3128
  Ee(t, e);
3126
3129
  function t(r, n, i) {
3127
- var s = e.call(this, r) || this;
3128
- return s.code = n, s.originalMessage = i, s;
3130
+ var o = e.call(this, r) || this;
3131
+ return o.code = n, o.originalMessage = i, o;
3129
3132
  }
3130
3133
  return t.prototype.toString = function() {
3131
3134
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
@@ -3135,34 +3138,34 @@ var _e = (
3135
3138
  /** @class */
3136
3139
  function(e) {
3137
3140
  Ee(t, e);
3138
- function t(r, n, i, s) {
3139
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), J.INVALID_VALUE, s) || this;
3141
+ function t(r, n, i, o) {
3142
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), q.INVALID_VALUE, o) || this;
3140
3143
  }
3141
3144
  return t;
3142
- }(_e)
3145
+ }(ve)
3143
3146
  ), Sn = (
3144
3147
  /** @class */
3145
3148
  function(e) {
3146
3149
  Ee(t, e);
3147
3150
  function t(r, n, i) {
3148
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), J.INVALID_VALUE, i) || this;
3151
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), q.INVALID_VALUE, i) || this;
3149
3152
  }
3150
3153
  return t;
3151
- }(_e)
3152
- ), On = (
3154
+ }(ve)
3155
+ ), wn = (
3153
3156
  /** @class */
3154
3157
  function(e) {
3155
3158
  Ee(t, e);
3156
3159
  function t(r, n) {
3157
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), J.MISSING_VALUE, n) || this;
3160
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), q.MISSING_VALUE, n) || this;
3158
3161
  }
3159
3162
  return t;
3160
- }(_e)
3163
+ }(ve)
3161
3164
  ), w;
3162
3165
  (function(e) {
3163
3166
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3164
3167
  })(w || (w = {}));
3165
- function wn(e) {
3168
+ function On(e) {
3166
3169
  return e.length < 2 ? e : e.reduce(function(t, r) {
3167
3170
  var n = t[t.length - 1];
3168
3171
  return !n || n.type !== w.literal || r.type !== w.literal ? t.push(r) : n.value += r.value, t;
@@ -3171,8 +3174,8 @@ function wn(e) {
3171
3174
  function Pn(e) {
3172
3175
  return typeof e == "function";
3173
3176
  }
3174
- function me(e, t, r, n, i, s, o) {
3175
- if (e.length === 1 && st(e[0]))
3177
+ function pe(e, t, r, n, i, o, s) {
3178
+ if (e.length === 1 && it(e[0]))
3176
3179
  return [
3177
3180
  {
3178
3181
  type: w.literal,
@@ -3181,7 +3184,7 @@ function me(e, t, r, n, i, s, o) {
3181
3184
  ];
3182
3185
  for (var u = [], h = 0, a = e; h < a.length; h++) {
3183
3186
  var l = a[h];
3184
- if (st(l)) {
3187
+ if (it(l)) {
3185
3188
  u.push({
3186
3189
  type: w.literal,
3187
3190
  value: l.value
@@ -3189,97 +3192,97 @@ function me(e, t, r, n, i, s, o) {
3189
3192
  continue;
3190
3193
  }
3191
3194
  if (Yr(l)) {
3192
- typeof s == "number" && u.push({
3195
+ typeof o == "number" && u.push({
3193
3196
  type: w.literal,
3194
- value: r.getNumberFormat(t).format(s)
3197
+ value: r.getNumberFormat(t).format(o)
3195
3198
  });
3196
3199
  continue;
3197
3200
  }
3198
- var f = l.value;
3199
- if (!(i && f in i))
3200
- throw new On(f, o);
3201
- var c = i[f];
3201
+ var c = l.value;
3202
+ if (!(i && c in i))
3203
+ throw new wn(c, s);
3204
+ var f = i[c];
3202
3205
  if (qr(l)) {
3203
- (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), u.push({
3204
- type: typeof c == "string" ? w.literal : w.object,
3205
- value: c
3206
+ (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), u.push({
3207
+ type: typeof f == "string" ? w.literal : w.object,
3208
+ value: f
3206
3209
  });
3207
3210
  continue;
3208
3211
  }
3209
- if (Nt(l)) {
3210
- var p = typeof l.style == "string" ? n.date[l.style] : $e(l.style) ? l.style.parsedOptions : void 0;
3212
+ if (Pt(l)) {
3213
+ var p = typeof l.style == "string" ? n.date[l.style] : Re(l.style) ? l.style.parsedOptions : void 0;
3211
3214
  u.push({
3212
3215
  type: w.literal,
3213
- value: r.getDateTimeFormat(t, p).format(c)
3216
+ value: r.getDateTimeFormat(t, p).format(f)
3214
3217
  });
3215
3218
  continue;
3216
3219
  }
3217
- if (Lt(l)) {
3218
- var p = typeof l.style == "string" ? n.time[l.style] : $e(l.style) ? l.style.parsedOptions : n.time.medium;
3220
+ if (Nt(l)) {
3221
+ var p = typeof l.style == "string" ? n.time[l.style] : Re(l.style) ? l.style.parsedOptions : n.time.medium;
3219
3222
  u.push({
3220
3223
  type: w.literal,
3221
- value: r.getDateTimeFormat(t, p).format(c)
3224
+ value: r.getDateTimeFormat(t, p).format(f)
3222
3225
  });
3223
3226
  continue;
3224
3227
  }
3225
- if (Pt(l)) {
3226
- var p = typeof l.style == "string" ? n.number[l.style] : Rt(l.style) ? l.style.parsedOptions : void 0;
3227
- p && p.scale && (c = c * (p.scale || 1)), u.push({
3228
+ if (Ot(l)) {
3229
+ var p = typeof l.style == "string" ? n.number[l.style] : $t(l.style) ? l.style.parsedOptions : void 0;
3230
+ p && p.scale && (f = f * (p.scale || 1)), u.push({
3228
3231
  type: w.literal,
3229
- value: r.getNumberFormat(t, p).format(c)
3232
+ value: r.getNumberFormat(t, p).format(f)
3230
3233
  });
3231
3234
  continue;
3232
3235
  }
3233
- if ($t(l)) {
3234
- var d = l.children, g = l.value, _ = i[g];
3235
- if (!Pn(_))
3236
- throw new Sn(g, "function", o);
3237
- var m = me(d, t, r, n, i, s), H = _(m.map(function(S) {
3238
- return S.value;
3236
+ if (Mt(l)) {
3237
+ var d = l.children, g = l.value, E = i[g];
3238
+ if (!Pn(E))
3239
+ throw new Sn(g, "function", s);
3240
+ var m = pe(d, t, r, n, i, o), C = E(m.map(function(B) {
3241
+ return B.value;
3239
3242
  }));
3240
- Array.isArray(H) || (H = [H]), u.push.apply(u, H.map(function(S) {
3243
+ Array.isArray(C) || (C = [C]), u.push.apply(u, C.map(function(B) {
3241
3244
  return {
3242
- type: typeof S == "string" ? w.literal : w.object,
3243
- value: S
3245
+ type: typeof B == "string" ? w.literal : w.object,
3246
+ value: B
3244
3247
  };
3245
3248
  }));
3246
3249
  }
3247
- if (It(l)) {
3248
- var B = l.options[c] || l.options.other;
3249
- if (!B)
3250
- throw new ft(l.value, c, Object.keys(l.options), o);
3251
- u.push.apply(u, me(B.value, t, r, n, i));
3250
+ if (Lt(l)) {
3251
+ var A = l.options[f] || l.options.other;
3252
+ if (!A)
3253
+ throw new ft(l.value, f, Object.keys(l.options), s);
3254
+ u.push.apply(u, pe(A.value, t, r, n, i));
3252
3255
  continue;
3253
3256
  }
3254
- if (Mt(l)) {
3255
- var B = l.options["=".concat(c)];
3256
- if (!B) {
3257
+ if (It(l)) {
3258
+ var A = l.options["=".concat(f)];
3259
+ if (!A) {
3257
3260
  if (!Intl.PluralRules)
3258
- throw new _e(`Intl.PluralRules is not available in this environment.
3261
+ throw new ve(`Intl.PluralRules is not available in this environment.
3259
3262
  Try polyfilling it using "@formatjs/intl-pluralrules"
3260
- `, J.MISSING_INTL_API, o);
3261
- var P = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
3262
- B = l.options[P] || l.options.other;
3263
+ `, q.MISSING_INTL_API, s);
3264
+ var O = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
3265
+ A = l.options[O] || l.options.other;
3263
3266
  }
3264
- if (!B)
3265
- throw new ft(l.value, c, Object.keys(l.options), o);
3266
- u.push.apply(u, me(B.value, t, r, n, i, c - (l.offset || 0)));
3267
+ if (!A)
3268
+ throw new ft(l.value, f, Object.keys(l.options), s);
3269
+ u.push.apply(u, pe(A.value, t, r, n, i, f - (l.offset || 0)));
3267
3270
  continue;
3268
3271
  }
3269
3272
  }
3270
- return wn(u);
3273
+ return On(u);
3271
3274
  }
3272
3275
  function Nn(e, t) {
3273
- return t ? E(E(E({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3274
- return r[n] = E(E({}, e[n]), t[n] || {}), r;
3276
+ return t ? x(x(x({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3277
+ return r[n] = x(x({}, e[n]), t[n] || {}), r;
3275
3278
  }, {})) : e;
3276
3279
  }
3277
3280
  function Ln(e, t) {
3278
3281
  return t ? Object.keys(e).reduce(function(r, n) {
3279
3282
  return r[n] = Nn(e[n], t[n]), r;
3280
- }, E({}, e)) : e;
3283
+ }, x({}, e)) : e;
3281
3284
  }
3282
- function we(e) {
3285
+ function Pe(e) {
3283
3286
  return {
3284
3287
  create: function() {
3285
3288
  return {
@@ -3299,29 +3302,29 @@ function In(e) {
3299
3302
  dateTime: {},
3300
3303
  pluralRules: {}
3301
3304
  }), {
3302
- getNumberFormat: Be(function() {
3305
+ getNumberFormat: Se(function() {
3303
3306
  for (var t, r = [], n = 0; n < arguments.length; n++)
3304
3307
  r[n] = arguments[n];
3305
- return new ((t = Intl.NumberFormat).bind.apply(t, Ae([void 0], r, !1)))();
3308
+ return new ((t = Intl.NumberFormat).bind.apply(t, Be([void 0], r, !1)))();
3306
3309
  }, {
3307
- cache: we(e.number),
3308
- strategy: Se.variadic
3310
+ cache: Pe(e.number),
3311
+ strategy: we.variadic
3309
3312
  }),
3310
- getDateTimeFormat: Be(function() {
3313
+ getDateTimeFormat: Se(function() {
3311
3314
  for (var t, r = [], n = 0; n < arguments.length; n++)
3312
3315
  r[n] = arguments[n];
3313
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Ae([void 0], r, !1)))();
3316
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Be([void 0], r, !1)))();
3314
3317
  }, {
3315
- cache: we(e.dateTime),
3316
- strategy: Se.variadic
3318
+ cache: Pe(e.dateTime),
3319
+ strategy: we.variadic
3317
3320
  }),
3318
- getPluralRules: Be(function() {
3321
+ getPluralRules: Se(function() {
3319
3322
  for (var t, r = [], n = 0; n < arguments.length; n++)
3320
3323
  r[n] = arguments[n];
3321
- return new ((t = Intl.PluralRules).bind.apply(t, Ae([void 0], r, !1)))();
3324
+ return new ((t = Intl.PluralRules).bind.apply(t, Be([void 0], r, !1)))();
3322
3325
  }, {
3323
- cache: we(e.pluralRules),
3324
- strategy: Se.variadic
3326
+ cache: Pe(e.pluralRules),
3327
+ strategy: we.variadic
3325
3328
  })
3326
3329
  };
3327
3330
  }
@@ -3330,35 +3333,35 @@ var Mn = (
3330
3333
  function() {
3331
3334
  function e(t, r, n, i) {
3332
3335
  r === void 0 && (r = e.defaultLocale);
3333
- var s = this;
3336
+ var o = this;
3334
3337
  if (this.formatterCache = {
3335
3338
  number: {},
3336
3339
  dateTime: {},
3337
3340
  pluralRules: {}
3338
3341
  }, this.format = function(h) {
3339
- var a = s.formatToParts(h);
3342
+ var a = o.formatToParts(h);
3340
3343
  if (a.length === 1)
3341
3344
  return a[0].value;
3342
- var l = a.reduce(function(f, c) {
3343
- return !f.length || c.type !== w.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
3345
+ var l = a.reduce(function(c, f) {
3346
+ return !c.length || f.type !== w.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3344
3347
  }, []);
3345
3348
  return l.length <= 1 ? l[0] || "" : l;
3346
3349
  }, this.formatToParts = function(h) {
3347
- return me(s.ast, s.locales, s.formatters, s.formats, h, void 0, s.message);
3350
+ return pe(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
3348
3351
  }, this.resolvedOptions = function() {
3349
3352
  var h;
3350
3353
  return {
3351
- locale: ((h = s.resolvedLocale) === null || h === void 0 ? void 0 : h.toString()) || Intl.NumberFormat.supportedLocalesOf(s.locales)[0]
3354
+ locale: ((h = o.resolvedLocale) === null || h === void 0 ? void 0 : h.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
3352
3355
  };
3353
3356
  }, this.getAst = function() {
3354
- return s.ast;
3357
+ return o.ast;
3355
3358
  }, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
3356
3359
  if (this.message = t, !e.__parse)
3357
3360
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3358
- var o = i || {};
3359
- o.formatters;
3360
- var u = Vr(o, ["formatters"]);
3361
- this.ast = e.__parse(t, E(E({}, u), { locale: this.resolvedLocale }));
3361
+ var s = i || {};
3362
+ s.formatters;
3363
+ var u = kr(s, ["formatters"]);
3364
+ this.ast = e.__parse(t, x(x({}, u), { locale: this.resolvedLocale }));
3362
3365
  } else
3363
3366
  this.ast = t;
3364
3367
  if (!Array.isArray(this.ast))
@@ -3447,9 +3450,9 @@ function $n(e, t) {
3447
3450
  for (let i = 0; i < r.length; i++)
3448
3451
  if (typeof n == "object") {
3449
3452
  if (i > 0) {
3450
- const s = r.slice(i, r.length).join(".");
3451
- if (s in n) {
3452
- n = n[s];
3453
+ const o = r.slice(i, r.length).join(".");
3454
+ if (o in n) {
3455
+ n = n[o];
3453
3456
  break;
3454
3457
  }
3455
3458
  }
@@ -3458,28 +3461,28 @@ function $n(e, t) {
3458
3461
  n = void 0;
3459
3462
  return n;
3460
3463
  }
3461
- const G = {}, Rn = (e, t, r) => r && (t in G || (G[t] = {}), e in G[t] || (G[t][e] = r), r), Xt = (e, t) => {
3464
+ const D = {}, Rn = (e, t, r) => r && (t in D || (D[t] = {}), e in D[t] || (D[t][e] = r), r), Vt = (e, t) => {
3462
3465
  if (t == null)
3463
3466
  return;
3464
- if (t in G && e in G[t])
3465
- return G[t][e];
3466
- const r = ve(t);
3467
+ if (t in D && e in D[t])
3468
+ return D[t][e];
3469
+ const r = Te(t);
3467
3470
  for (let n = 0; n < r.length; n++) {
3468
- const i = r[n], s = Gn(i, e);
3469
- if (s)
3470
- return Rn(e, t, s);
3471
+ const i = r[n], o = Gn(i, e);
3472
+ if (o)
3473
+ return Rn(e, t, o);
3471
3474
  }
3472
3475
  };
3473
- let We;
3474
- const ue = xe({});
3476
+ let ze;
3477
+ const he = xe({});
3475
3478
  function Un(e) {
3476
- return We[e] || null;
3479
+ return ze[e] || null;
3477
3480
  }
3478
- function zt(e) {
3479
- return e in We;
3481
+ function Xt(e) {
3482
+ return e in ze;
3480
3483
  }
3481
3484
  function Gn(e, t) {
3482
- if (!zt(e))
3485
+ if (!Xt(e))
3483
3486
  return null;
3484
3487
  const r = Un(e);
3485
3488
  return $n(r, t);
@@ -3487,61 +3490,61 @@ function Gn(e, t) {
3487
3490
  function Dn(e) {
3488
3491
  if (e == null)
3489
3492
  return;
3490
- const t = ve(e);
3493
+ const t = Te(e);
3491
3494
  for (let r = 0; r < t.length; r++) {
3492
3495
  const n = t[r];
3493
- if (zt(n))
3496
+ if (Xt(n))
3494
3497
  return n;
3495
3498
  }
3496
3499
  }
3497
- function Wt(e, ...t) {
3498
- delete G[e], ue.update((r) => (r[e] = kr.all([r[e] || {}, ...t]), r));
3500
+ function zt(e, ...t) {
3501
+ delete D[e], he.update((r) => (r[e] = jr.all([r[e] || {}, ...t]), r));
3499
3502
  }
3500
- K(
3501
- [ue],
3503
+ ee(
3504
+ [he],
3502
3505
  ([e]) => Object.keys(e)
3503
3506
  );
3504
- ue.subscribe((e) => We = e);
3505
- const pe = {};
3507
+ he.subscribe((e) => ze = e);
3508
+ const de = {};
3506
3509
  function Fn(e, t) {
3507
- pe[e].delete(t), pe[e].size === 0 && delete pe[e];
3510
+ de[e].delete(t), de[e].size === 0 && delete de[e];
3508
3511
  }
3509
- function Zt(e) {
3510
- return pe[e];
3512
+ function Wt(e) {
3513
+ return de[e];
3511
3514
  }
3512
3515
  function jn(e) {
3513
- return ve(e).map((t) => {
3514
- const r = Zt(t);
3516
+ return Te(e).map((t) => {
3517
+ const r = Wt(t);
3515
3518
  return [t, r ? [...r] : []];
3516
3519
  }).filter(([, t]) => t.length > 0);
3517
3520
  }
3518
- function je(e) {
3519
- return e == null ? !1 : ve(e).some(
3521
+ function ke(e) {
3522
+ return e == null ? !1 : Te(e).some(
3520
3523
  (t) => {
3521
3524
  var r;
3522
- return (r = Zt(t)) == null ? void 0 : r.size;
3525
+ return (r = Wt(t)) == null ? void 0 : r.size;
3523
3526
  }
3524
3527
  );
3525
3528
  }
3526
3529
  function kn(e, t) {
3527
3530
  return Promise.all(
3528
3531
  t.map((n) => (Fn(e, n), n().then((i) => i.default || i)))
3529
- ).then((n) => Wt(e, ...n));
3532
+ ).then((n) => zt(e, ...n));
3530
3533
  }
3531
- const re = {};
3532
- function Qt(e) {
3533
- if (!je(e))
3534
- return e in re ? re[e] : Promise.resolve();
3534
+ const ne = {};
3535
+ function Zt(e) {
3536
+ if (!ke(e))
3537
+ return e in ne ? ne[e] : Promise.resolve();
3535
3538
  const t = jn(e);
3536
- return re[e] = Promise.all(
3539
+ return ne[e] = Promise.all(
3537
3540
  t.map(
3538
3541
  ([r, n]) => kn(r, n)
3539
3542
  )
3540
3543
  ).then(() => {
3541
- if (je(e))
3542
- return Qt(e);
3543
- delete re[e];
3544
- }), re[e];
3544
+ if (ke(e))
3545
+ return Zt(e);
3546
+ delete ne[e];
3547
+ }), ne[e];
3545
3548
  }
3546
3549
  const Vn = {
3547
3550
  number: {
@@ -3580,170 +3583,170 @@ const Vn = {
3580
3583
  handleMissingMessage: void 0,
3581
3584
  ignoreTag: !0
3582
3585
  }, zn = Xn;
3583
- function q() {
3586
+ function Y() {
3584
3587
  return zn;
3585
3588
  }
3586
- const Pe = xe(!1);
3587
- var Wn = Object.defineProperty, Zn = Object.defineProperties, Qn = Object.getOwnPropertyDescriptors, gt = Object.getOwnPropertySymbols, Jn = Object.prototype.hasOwnProperty, qn = Object.prototype.propertyIsEnumerable, mt = (e, t, r) => t in e ? Wn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Yn = (e, t) => {
3589
+ const Ne = xe(!1);
3590
+ var Wn = Object.defineProperty, Zn = Object.defineProperties, Qn = Object.getOwnPropertyDescriptors, ct = Object.getOwnPropertySymbols, Jn = Object.prototype.hasOwnProperty, qn = Object.prototype.propertyIsEnumerable, gt = (e, t, r) => t in e ? Wn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Yn = (e, t) => {
3588
3591
  for (var r in t || (t = {}))
3589
- Jn.call(t, r) && mt(e, r, t[r]);
3590
- if (gt)
3591
- for (var r of gt(t))
3592
- qn.call(t, r) && mt(e, r, t[r]);
3592
+ Jn.call(t, r) && gt(e, r, t[r]);
3593
+ if (ct)
3594
+ for (var r of ct(t))
3595
+ qn.call(t, r) && gt(e, r, t[r]);
3593
3596
  return e;
3594
3597
  }, Kn = (e, t) => Zn(e, Qn(t));
3595
- let ke;
3596
- const be = xe(null);
3597
- function pt(e) {
3598
+ let Ve;
3599
+ const ye = xe(null);
3600
+ function mt(e) {
3598
3601
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3599
3602
  }
3600
- function ve(e, t = q().fallbackLocale) {
3601
- const r = pt(e);
3602
- return t ? [.../* @__PURE__ */ new Set([...r, ...pt(t)])] : r;
3603
+ function Te(e, t = Y().fallbackLocale) {
3604
+ const r = mt(e);
3605
+ return t ? [.../* @__PURE__ */ new Set([...r, ...mt(t)])] : r;
3603
3606
  }
3604
- function k() {
3605
- return ke != null ? ke : void 0;
3607
+ function V() {
3608
+ return Ve != null ? Ve : void 0;
3606
3609
  }
3607
- be.subscribe((e) => {
3608
- ke = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3610
+ ye.subscribe((e) => {
3611
+ Ve = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3609
3612
  });
3610
3613
  const ei = (e) => {
3611
- if (e && Dn(e) && je(e)) {
3612
- const { loadingDelay: t } = q();
3614
+ if (e && Dn(e) && ke(e)) {
3615
+ const { loadingDelay: t } = Y();
3613
3616
  let r;
3614
- return typeof window != "undefined" && k() != null && t ? r = window.setTimeout(
3615
- () => Pe.set(!0),
3617
+ return typeof window != "undefined" && V() != null && t ? r = window.setTimeout(
3618
+ () => Ne.set(!0),
3616
3619
  t
3617
- ) : Pe.set(!0), Qt(e).then(() => {
3618
- be.set(e);
3620
+ ) : Ne.set(!0), Zt(e).then(() => {
3621
+ ye.set(e);
3619
3622
  }).finally(() => {
3620
- clearTimeout(r), Pe.set(!1);
3623
+ clearTimeout(r), Ne.set(!1);
3621
3624
  });
3622
3625
  }
3623
- return be.set(e);
3624
- }, ee = Kn(Yn({}, be), {
3626
+ return ye.set(e);
3627
+ }, te = Kn(Yn({}, ye), {
3625
3628
  set: ei
3626
- }), Te = (e) => {
3629
+ }), Ce = (e) => {
3627
3630
  const t = /* @__PURE__ */ Object.create(null);
3628
3631
  return (n) => {
3629
3632
  const i = JSON.stringify(n);
3630
3633
  return i in t ? t[i] : t[i] = e(n);
3631
3634
  };
3632
3635
  };
3633
- var ti = Object.defineProperty, ye = Object.getOwnPropertySymbols, Jt = Object.prototype.hasOwnProperty, qt = Object.prototype.propertyIsEnumerable, dt = (e, t, r) => t in e ? ti(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ze = (e, t) => {
3636
+ var ti = Object.defineProperty, _e = Object.getOwnPropertySymbols, Qt = Object.prototype.hasOwnProperty, Jt = Object.prototype.propertyIsEnumerable, pt = (e, t, r) => t in e ? ti(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, We = (e, t) => {
3634
3637
  for (var r in t || (t = {}))
3635
- Jt.call(t, r) && dt(e, r, t[r]);
3636
- if (ye)
3637
- for (var r of ye(t))
3638
- qt.call(t, r) && dt(e, r, t[r]);
3638
+ Qt.call(t, r) && pt(e, r, t[r]);
3639
+ if (_e)
3640
+ for (var r of _e(t))
3641
+ Jt.call(t, r) && pt(e, r, t[r]);
3639
3642
  return e;
3640
- }, te = (e, t) => {
3643
+ }, re = (e, t) => {
3641
3644
  var r = {};
3642
3645
  for (var n in e)
3643
- Jt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3644
- if (e != null && ye)
3645
- for (var n of ye(e))
3646
- t.indexOf(n) < 0 && qt.call(e, n) && (r[n] = e[n]);
3646
+ Qt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3647
+ if (e != null && _e)
3648
+ for (var n of _e(e))
3649
+ t.indexOf(n) < 0 && Jt.call(e, n) && (r[n] = e[n]);
3647
3650
  return r;
3648
3651
  };
3649
- const oe = (e, t) => {
3650
- const { formats: r } = q();
3652
+ const ae = (e, t) => {
3653
+ const { formats: r } = Y();
3651
3654
  if (e in r && t in r[e])
3652
3655
  return r[e][t];
3653
3656
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3654
- }, ri = Te(
3657
+ }, ri = Ce(
3655
3658
  (e) => {
3656
- var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
3659
+ var t = e, { locale: r, format: n } = t, i = re(t, ["locale", "format"]);
3657
3660
  if (r == null)
3658
3661
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3659
- return n && (i = oe("number", n)), new Intl.NumberFormat(r, i);
3662
+ return n && (i = ae("number", n)), new Intl.NumberFormat(r, i);
3660
3663
  }
3661
- ), ni = Te(
3664
+ ), ni = Ce(
3662
3665
  (e) => {
3663
- var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
3666
+ var t = e, { locale: r, format: n } = t, i = re(t, ["locale", "format"]);
3664
3667
  if (r == null)
3665
3668
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3666
- return n ? i = oe("date", n) : Object.keys(i).length === 0 && (i = oe("date", "short")), new Intl.DateTimeFormat(r, i);
3669
+ return n ? i = ae("date", n) : Object.keys(i).length === 0 && (i = ae("date", "short")), new Intl.DateTimeFormat(r, i);
3667
3670
  }
3668
- ), ii = Te(
3671
+ ), ii = Ce(
3669
3672
  (e) => {
3670
- var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
3673
+ var t = e, { locale: r, format: n } = t, i = re(t, ["locale", "format"]);
3671
3674
  if (r == null)
3672
3675
  throw new Error(
3673
3676
  '[svelte-i18n] A "locale" must be set to format time values'
3674
3677
  );
3675
- return n ? i = oe("time", n) : Object.keys(i).length === 0 && (i = oe("time", "short")), new Intl.DateTimeFormat(r, i);
3678
+ return n ? i = ae("time", n) : Object.keys(i).length === 0 && (i = ae("time", "short")), new Intl.DateTimeFormat(r, i);
3676
3679
  }
3677
- ), si = (e = {}) => {
3680
+ ), oi = (e = {}) => {
3678
3681
  var t = e, {
3679
- locale: r = k()
3680
- } = t, n = te(t, [
3682
+ locale: r = V()
3683
+ } = t, n = re(t, [
3681
3684
  "locale"
3682
3685
  ]);
3683
- return ri(Ze({ locale: r }, n));
3684
- }, oi = (e = {}) => {
3686
+ return ri(We({ locale: r }, n));
3687
+ }, si = (e = {}) => {
3685
3688
  var t = e, {
3686
- locale: r = k()
3687
- } = t, n = te(t, [
3689
+ locale: r = V()
3690
+ } = t, n = re(t, [
3688
3691
  "locale"
3689
3692
  ]);
3690
- return ni(Ze({ locale: r }, n));
3693
+ return ni(We({ locale: r }, n));
3691
3694
  }, ai = (e = {}) => {
3692
3695
  var t = e, {
3693
- locale: r = k()
3694
- } = t, n = te(t, [
3696
+ locale: r = V()
3697
+ } = t, n = re(t, [
3695
3698
  "locale"
3696
3699
  ]);
3697
- return ii(Ze({ locale: r }, n));
3698
- }, ui = Te(
3700
+ return ii(We({ locale: r }, n));
3701
+ }, ui = Ce(
3699
3702
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3700
- (e, t = k()) => new Mn(e, t, q().formats, {
3701
- ignoreTag: q().ignoreTag
3703
+ (e, t = V()) => new Mn(e, t, Y().formats, {
3704
+ ignoreTag: Y().ignoreTag
3702
3705
  })
3703
3706
  ), hi = (e, t = {}) => {
3704
- var r, n, i, s;
3705
- let o = t;
3706
- typeof e == "object" && (o = e, e = o.id);
3707
+ var r, n, i, o;
3708
+ let s = t;
3709
+ typeof e == "object" && (s = e, e = s.id);
3707
3710
  const {
3708
3711
  values: u,
3709
- locale: h = k(),
3712
+ locale: h = V(),
3710
3713
  default: a
3711
- } = o;
3714
+ } = s;
3712
3715
  if (h == null)
3713
3716
  throw new Error(
3714
3717
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3715
3718
  );
3716
- let l = Xt(e, h);
3719
+ let l = Vt(e, h);
3717
3720
  if (!l)
3718
- l = (s = (i = (n = (r = q()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: a })) != null ? i : a) != null ? s : e;
3721
+ l = (o = (i = (n = (r = Y()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: a })) != null ? i : a) != null ? o : e;
3719
3722
  else if (typeof l != "string")
3720
3723
  return console.warn(
3721
3724
  `[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.`
3722
3725
  ), l;
3723
3726
  if (!u)
3724
3727
  return l;
3725
- let f = l;
3728
+ let c = l;
3726
3729
  try {
3727
- f = ui(l, h).format(u);
3728
- } catch (c) {
3729
- c instanceof Error && console.warn(
3730
+ c = ui(l, h).format(u);
3731
+ } catch (f) {
3732
+ f instanceof Error && console.warn(
3730
3733
  `[svelte-i18n] Message "${e}" has syntax error:`,
3731
- c.message
3734
+ f.message
3732
3735
  );
3733
3736
  }
3734
- return f;
3735
- }, li = (e, t) => ai(t).format(e), ci = (e, t) => oi(t).format(e), fi = (e, t) => si(t).format(e), gi = (e, t = k()) => Xt(e, t), mi = K([ee, ue], () => hi);
3736
- K([ee], () => li);
3737
- K([ee], () => ci);
3738
- K([ee], () => fi);
3739
- K([ee, ue], () => gi);
3740
- function bt(e, t) {
3741
- Wt(e, t);
3737
+ return c;
3738
+ }, li = (e, t) => ai(t).format(e), fi = (e, t) => si(t).format(e), ci = (e, t) => oi(t).format(e), gi = (e, t = V()) => Vt(e, t), mi = ee([te, he], () => hi);
3739
+ ee([te], () => li);
3740
+ ee([te], () => fi);
3741
+ ee([te], () => ci);
3742
+ ee([te, he], () => gi);
3743
+ function dt(e, t) {
3744
+ zt(e, t);
3742
3745
  }
3743
3746
  function pi(e) {
3744
- ee.set(e);
3747
+ te.set(e);
3745
3748
  }
3746
- const yt = {
3749
+ const bt = {
3747
3750
  en: {
3748
3751
  topCategories: "Top Categories",
3749
3752
  otherCategories: "Other Categories",
@@ -3876,75 +3879,75 @@ function yi(e, t, r) {
3876
3879
  });
3877
3880
  }
3878
3881
  }
3879
- function xi(e) {
3880
- ar(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}");
3882
+ function _i(e) {
3883
+ sr(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}");
3881
3884
  }
3882
- function xt(e, t, r) {
3885
+ function yt(e, t, r) {
3883
3886
  const n = e.slice();
3884
3887
  return n[23] = t[r], n;
3885
3888
  }
3886
- function Et(e, t, r) {
3889
+ function _t(e, t, r) {
3887
3890
  const n = e.slice();
3888
3891
  return n[23] = t[r], n;
3889
3892
  }
3890
- function Ei(e) {
3893
+ function xi(e) {
3891
3894
  let t, r, n = (
3892
3895
  /*$_*/
3893
3896
  e[5]("topCategories") + ""
3894
- ), i, s, o, u, h = (
3897
+ ), i, o, s, u, h = (
3895
3898
  /*$_*/
3896
3899
  e[5]("otherCategories") + ""
3897
- ), a, l, f = ce(
3900
+ ), a, l, c = ce(
3898
3901
  /*topCategories*/
3899
3902
  e[3]
3900
- ), c = [];
3901
- for (let g = 0; g < f.length; g += 1)
3902
- c[g] = _t(Et(e, f, g));
3903
+ ), f = [];
3904
+ for (let g = 0; g < c.length; g += 1)
3905
+ f[g] = xt(_t(e, c, g));
3903
3906
  let p = ce(
3904
3907
  /*otherCategories*/
3905
3908
  e[4]
3906
3909
  ), d = [];
3907
3910
  for (let g = 0; g < p.length; g += 1)
3908
- d[g] = vt(xt(e, p, g));
3911
+ d[g] = Et(yt(e, p, g));
3909
3912
  return {
3910
3913
  c() {
3911
- t = O("div"), r = O("h4"), i = U(n), s = R();
3912
- for (let g = 0; g < c.length; g += 1)
3913
- c[g].c();
3914
- o = R(), u = O("h4"), a = U(h), l = R();
3914
+ t = S("div"), r = S("h4"), i = G(n), o = U();
3915
+ for (let g = 0; g < f.length; g += 1)
3916
+ f[g].c();
3917
+ s = U(), u = S("h4"), a = G(h), l = U();
3915
3918
  for (let g = 0; g < d.length; g += 1)
3916
3919
  d[g].c();
3917
- A(r, "class", "CategoryTitle"), A(u, "class", "CategoryTitle"), A(t, "class", "CasinoCategories");
3920
+ I(r, "class", "CategoryTitle"), I(u, "class", "CategoryTitle"), I(t, "class", "CasinoCategories");
3918
3921
  },
3919
- m(g, _) {
3920
- Y(g, t, _), v(t, r), v(r, i), v(t, s);
3921
- for (let m = 0; m < c.length; m += 1)
3922
- c[m] && c[m].m(t, null);
3923
- v(t, o), v(t, u), v(u, a), v(t, l);
3922
+ m(g, E) {
3923
+ K(g, t, E), v(t, r), v(r, i), v(t, o);
3924
+ for (let m = 0; m < f.length; m += 1)
3925
+ f[m] && f[m].m(t, null);
3926
+ v(t, s), v(t, u), v(u, a), v(t, l);
3924
3927
  for (let m = 0; m < d.length; m += 1)
3925
3928
  d[m] && d[m].m(t, null);
3926
3929
  },
3927
- p(g, _) {
3928
- if (_ & /*$_*/
3930
+ p(g, E) {
3931
+ if (E & /*$_*/
3929
3932
  32 && n !== (n = /*$_*/
3930
- g[5]("topCategories") + "") && D(i, n), _ & /*activecategory, topCategories, openGameCategory, $_*/
3933
+ g[5]("topCategories") + "") && F(i, n), E & /*activecategory, topCategories, openGameCategory, $_*/
3931
3934
  105) {
3932
- f = ce(
3935
+ c = ce(
3933
3936
  /*topCategories*/
3934
3937
  g[3]
3935
3938
  );
3936
3939
  let m;
3937
- for (m = 0; m < f.length; m += 1) {
3938
- const H = Et(g, f, m);
3939
- c[m] ? c[m].p(H, _) : (c[m] = _t(H), c[m].c(), c[m].m(t, o));
3940
+ for (m = 0; m < c.length; m += 1) {
3941
+ const C = _t(g, c, m);
3942
+ f[m] ? f[m].p(C, E) : (f[m] = xt(C), f[m].c(), f[m].m(t, s));
3940
3943
  }
3941
- for (; m < c.length; m += 1)
3942
- c[m].d(1);
3943
- c.length = f.length;
3944
+ for (; m < f.length; m += 1)
3945
+ f[m].d(1);
3946
+ f.length = c.length;
3944
3947
  }
3945
- if (_ & /*$_*/
3948
+ if (E & /*$_*/
3946
3949
  32 && h !== (h = /*$_*/
3947
- g[5]("otherCategories") + "") && D(a, h), _ & /*activecategory, otherCategories, openGameCategory, $_*/
3950
+ g[5]("otherCategories") + "") && F(a, h), E & /*activecategory, otherCategories, openGameCategory, $_*/
3948
3951
  113) {
3949
3952
  p = ce(
3950
3953
  /*otherCategories*/
@@ -3952,8 +3955,8 @@ function Ei(e) {
3952
3955
  );
3953
3956
  let m;
3954
3957
  for (m = 0; m < p.length; m += 1) {
3955
- const H = xt(g, p, m);
3956
- d[m] ? d[m].p(H, _) : (d[m] = vt(H), d[m].c(), d[m].m(t, null));
3958
+ const C = yt(g, p, m);
3959
+ d[m] ? d[m].p(C, E) : (d[m] = Et(C), d[m].c(), d[m].m(t, null));
3957
3960
  }
3958
3961
  for (; m < d.length; m += 1)
3959
3962
  d[m].d(1);
@@ -3961,37 +3964,37 @@ function Ei(e) {
3961
3964
  }
3962
3965
  },
3963
3966
  d(g) {
3964
- g && j(t), rt(c, g), rt(d, g);
3967
+ g && k(t), tt(f, g), tt(d, g);
3965
3968
  }
3966
3969
  };
3967
3970
  }
3968
- function _i(e) {
3971
+ function Ei(e) {
3969
3972
  let t;
3970
3973
  return {
3971
3974
  c() {
3972
- t = O("p"), t.textContent = "Loading, please wait...", A(t, "class", "Message");
3975
+ t = S("p"), t.textContent = "Loading, please wait...", I(t, "class", "Message");
3973
3976
  },
3974
3977
  m(r, n) {
3975
- Y(r, t, n);
3978
+ K(r, t, n);
3976
3979
  },
3977
- p: I,
3980
+ p: L,
3978
3981
  d(r) {
3979
- r && j(t);
3982
+ r && k(t);
3980
3983
  }
3981
3984
  };
3982
3985
  }
3983
- function _t(e) {
3984
- let t, r, n, i, s, o, u, h = (
3986
+ function xt(e) {
3987
+ let t, r, n, i, o, s, u, h = (
3985
3988
  /*category*/
3986
3989
  e[23].name + ""
3987
- ), a, l, f, c = (
3990
+ ), a, l, c, f = (
3988
3991
  /*category*/
3989
3992
  e[23].games.count + ""
3990
3993
  ), p, d, g = (
3991
3994
  /*$_*/
3992
3995
  e[5]("games") + ""
3993
- ), _, m, H, B;
3994
- function P() {
3996
+ ), E, m, C, A;
3997
+ function O() {
3995
3998
  return (
3996
3999
  /*click_handler*/
3997
4000
  e[15](
@@ -4002,48 +4005,48 @@ function _t(e) {
4002
4005
  }
4003
4006
  return {
4004
4007
  c() {
4005
- t = O("div"), r = O("img"), s = R(), o = O("div"), u = O("p"), a = U(h), l = R(), f = O("p"), p = U(c), d = R(), _ = U(g), de(r.src, n = /*category*/
4006
- e[23].icon) || A(r, "src", n), A(r, "alt", i = /*category*/
4007
- e[23].name), A(r, "class", "CategoryImage"), A(o, "class", "CategoryTextContainer"), A(t, "class", m = "Category " + /*activecategory*/
4008
+ t = S("div"), r = S("ui-image"), o = U(), s = S("div"), u = S("p"), a = G(h), l = U(), c = S("p"), p = G(f), d = U(), E = G(g), be(r.src, n = /*category*/
4009
+ e[23].icon) || R(r, "src", n), R(r, "alt", i = /*category*/
4010
+ e[23].name), R(r, "imgClass", "CategoryImage"), I(s, "class", "CategoryTextContainer"), I(t, "class", m = "Category " + /*activecategory*/
4008
4011
  (e[0] === /*category*/
4009
4012
  e[23].id ? "Active" : ""));
4010
4013
  },
4011
- m(S, C) {
4012
- Y(S, t, C), v(t, r), v(t, s), v(t, o), v(o, u), v(u, a), v(o, l), v(o, f), v(f, p), v(f, d), v(f, _), H || (B = At(t, "click", P), H = !0);
4014
+ m(B, H) {
4015
+ K(B, t, H), v(t, r), v(t, o), v(t, s), v(s, u), v(u, a), v(s, l), v(s, c), v(c, p), v(c, d), v(c, E), C || (A = Ht(t, "click", O), C = !0);
4013
4016
  },
4014
- p(S, C) {
4015
- e = S, C & /*topCategories*/
4016
- 8 && !de(r.src, n = /*category*/
4017
- e[23].icon) && A(r, "src", n), C & /*topCategories*/
4017
+ p(B, H) {
4018
+ e = B, H & /*topCategories*/
4019
+ 8 && !be(r.src, n = /*category*/
4020
+ e[23].icon) && R(r, "src", n), H & /*topCategories*/
4018
4021
  8 && i !== (i = /*category*/
4019
- e[23].name) && A(r, "alt", i), C & /*topCategories*/
4022
+ e[23].name) && R(r, "alt", i), H & /*topCategories*/
4020
4023
  8 && h !== (h = /*category*/
4021
- e[23].name + "") && D(a, h), C & /*topCategories*/
4022
- 8 && c !== (c = /*category*/
4023
- e[23].games.count + "") && D(p, c), C & /*$_*/
4024
+ e[23].name + "") && F(a, h), H & /*topCategories*/
4025
+ 8 && f !== (f = /*category*/
4026
+ e[23].games.count + "") && F(p, f), H & /*$_*/
4024
4027
  32 && g !== (g = /*$_*/
4025
- e[5]("games") + "") && D(_, g), C & /*activecategory, topCategories*/
4028
+ e[5]("games") + "") && F(E, g), H & /*activecategory, topCategories*/
4026
4029
  9 && m !== (m = "Category " + /*activecategory*/
4027
4030
  (e[0] === /*category*/
4028
- e[23].id ? "Active" : "")) && A(t, "class", m);
4031
+ e[23].id ? "Active" : "")) && I(t, "class", m);
4029
4032
  },
4030
- d(S) {
4031
- S && j(t), H = !1, B();
4033
+ d(B) {
4034
+ B && k(t), C = !1, A();
4032
4035
  }
4033
4036
  };
4034
4037
  }
4035
- function vt(e) {
4036
- let t, r, n, i, s, o, u, h = (
4038
+ function Et(e) {
4039
+ let t, r, n, i, o, s, u, h = (
4037
4040
  /*category*/
4038
4041
  e[23].name + ""
4039
- ), a, l, f, c = (
4042
+ ), a, l, c, f = (
4040
4043
  /*category*/
4041
4044
  e[23].games.count + ""
4042
4045
  ), p, d, g = (
4043
4046
  /*$_*/
4044
4047
  e[5]("games") + ""
4045
- ), _, m, H, B, P;
4046
- function S() {
4048
+ ), E, m, C, A, O;
4049
+ function B() {
4047
4050
  return (
4048
4051
  /*click_handler_1*/
4049
4052
  e[16](
@@ -4054,144 +4057,144 @@ function vt(e) {
4054
4057
  }
4055
4058
  return {
4056
4059
  c() {
4057
- t = O("div"), r = O("img"), s = R(), o = O("div"), u = O("p"), a = U(h), l = R(), f = O("p"), p = U(c), d = R(), _ = U(g), m = R(), de(r.src, n = /*category*/
4058
- e[23].icon) || A(r, "src", n), A(r, "alt", i = /*category*/
4059
- e[23].name), A(r, "class", "CategoryImage"), A(o, "class", "CategoryTextContainer"), A(t, "class", H = "Category " + /*activecategory*/
4060
+ t = S("div"), r = S("ui-image"), o = U(), s = S("div"), u = S("p"), a = G(h), l = U(), c = S("p"), p = G(f), d = U(), E = G(g), m = U(), be(r.src, n = /*category*/
4061
+ e[23].icon) || R(r, "src", n), R(r, "alt", i = /*category*/
4062
+ e[23].name), R(r, "imgClass", "CategoryImage"), I(s, "class", "CategoryTextContainer"), I(t, "class", C = "Category " + /*activecategory*/
4060
4063
  (e[0] === /*category*/
4061
4064
  e[23].id ? "Active" : ""));
4062
4065
  },
4063
- m(C, N) {
4064
- Y(C, t, N), v(t, r), v(t, s), v(t, o), v(o, u), v(u, a), v(o, l), v(o, f), v(f, p), v(f, d), v(f, _), v(t, m), B || (P = At(t, "click", S), B = !0);
4066
+ m(H, P) {
4067
+ K(H, t, P), v(t, r), v(t, o), v(t, s), v(s, u), v(u, a), v(s, l), v(s, c), v(c, p), v(c, d), v(c, E), v(t, m), A || (O = Ht(t, "click", B), A = !0);
4065
4068
  },
4066
- p(C, N) {
4067
- e = C, N & /*otherCategories*/
4068
- 16 && !de(r.src, n = /*category*/
4069
- e[23].icon) && A(r, "src", n), N & /*otherCategories*/
4069
+ p(H, P) {
4070
+ e = H, P & /*otherCategories*/
4071
+ 16 && !be(r.src, n = /*category*/
4072
+ e[23].icon) && R(r, "src", n), P & /*otherCategories*/
4070
4073
  16 && i !== (i = /*category*/
4071
- e[23].name) && A(r, "alt", i), N & /*otherCategories*/
4074
+ e[23].name) && R(r, "alt", i), P & /*otherCategories*/
4072
4075
  16 && h !== (h = /*category*/
4073
- e[23].name + "") && D(a, h), N & /*otherCategories*/
4074
- 16 && c !== (c = /*category*/
4075
- e[23].games.count + "") && D(p, c), N & /*$_*/
4076
+ e[23].name + "") && F(a, h), P & /*otherCategories*/
4077
+ 16 && f !== (f = /*category*/
4078
+ e[23].games.count + "") && F(p, f), P & /*$_*/
4076
4079
  32 && g !== (g = /*$_*/
4077
- e[5]("games") + "") && D(_, g), N & /*activecategory, otherCategories*/
4078
- 17 && H !== (H = "Category " + /*activecategory*/
4080
+ e[5]("games") + "") && F(E, g), P & /*activecategory, otherCategories*/
4081
+ 17 && C !== (C = "Category " + /*activecategory*/
4079
4082
  (e[0] === /*category*/
4080
- e[23].id ? "Active" : "")) && A(t, "class", H);
4083
+ e[23].id ? "Active" : "")) && I(t, "class", C);
4081
4084
  },
4082
- d(C) {
4083
- C && j(t), B = !1, P();
4085
+ d(H) {
4086
+ H && k(t), A = !1, O();
4084
4087
  }
4085
4088
  };
4086
4089
  }
4087
4090
  function vi(e) {
4088
4091
  let t;
4089
- function r(s, o) {
4092
+ function r(o, s) {
4090
4093
  return (
4091
4094
  /*isLoading*/
4092
- s[2] ? _i : Ei
4095
+ o[2] ? Ei : xi
4093
4096
  );
4094
4097
  }
4095
4098
  let n = r(e), i = n(e);
4096
4099
  return {
4097
4100
  c() {
4098
- t = O("div"), i.c();
4101
+ t = S("div"), i.c();
4099
4102
  },
4100
- m(s, o) {
4101
- Y(s, t, o), i.m(t, null), e[17](t);
4103
+ m(o, s) {
4104
+ K(o, t, s), i.m(t, null), e[17](t);
4102
4105
  },
4103
- p(s, [o]) {
4104
- n === (n = r(s)) && i ? i.p(s, o) : (i.d(1), i = n(s), i && (i.c(), i.m(t, null)));
4106
+ p(o, [s]) {
4107
+ n === (n = r(o)) && i ? i.p(o, s) : (i.d(1), i = n(o), i && (i.c(), i.m(t, null)));
4105
4108
  },
4106
- i: I,
4107
- o: I,
4108
- d(s) {
4109
- s && j(t), i.d(), e[17](null);
4109
+ i: L,
4110
+ o: L,
4111
+ d(o) {
4112
+ o && k(t), i.d(), e[17](null);
4110
4113
  }
4111
4114
  };
4112
4115
  }
4113
4116
  function Ti(e, t, r) {
4114
4117
  let n;
4115
4118
  or(e, mi, (b) => r(5, n = b));
4116
- let { endpoint: i = "" } = t, { datasource: s = "" } = t, { lang: o = "en" } = t, { activecategory: u = "" } = t, { excludedflags: h = "" } = t, { clientstyling: a = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: f = "" } = t, { mbsource: c } = t, p, d = !1;
4119
+ let { endpoint: i = "" } = t, { datasource: o = "" } = t, { lang: s = "en" } = t, { activecategory: u = "" } = t, { excludedflags: h = "" } = t, { clientstyling: a = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: c = "" } = t, { mbsource: f } = t, p, d = !1;
4117
4120
  const g = [];
4118
- let _ = [], m = [];
4119
- Object.keys(yt).forEach((b) => {
4120
- bt(b, yt[b]);
4121
+ let E = [], m = [];
4122
+ Object.keys(bt).forEach((b) => {
4123
+ dt(b, bt[b]);
4121
4124
  });
4122
- const H = () => {
4123
- fetch(f).then(($) => $.json()).then(($) => {
4124
- Object.keys($).forEach((he) => {
4125
- bt(he, $[he]);
4125
+ const C = () => {
4126
+ fetch(c).then(($) => $.json()).then(($) => {
4127
+ Object.keys($).forEach((le) => {
4128
+ dt(le, $[le]);
4126
4129
  });
4127
4130
  }).catch(($) => {
4128
4131
  console.log($);
4129
4132
  });
4130
- }, B = () => {
4133
+ }, A = () => {
4131
4134
  r(2, d = !0);
4132
- const b = new URL(`${i}/v1/casino/groups/${s}`);
4133
- b.searchParams.append("language", o), fetch(b).then(($) => $.json()).then(($) => {
4135
+ const b = new URL(`${i}/v1/casino/groups/${o}`);
4136
+ b.searchParams.append("language", s), fetch(b).then(($) => $.json()).then(($) => {
4134
4137
  r(2, d = !1);
4135
- const he = h.split(",").map((F) => F.trim());
4138
+ const le = h.split(",").map((j) => j.trim());
4136
4139
  g.push(...$.items);
4137
- const Qe = g.filter((F) => !he.some((Kt) => {
4138
- var Je;
4139
- return ((Je = F.flags) == null ? void 0 : Je.indexOf(Kt)) >= 0;
4140
+ const Ze = g.filter((j) => !le.some((Yt) => {
4141
+ var Qe;
4142
+ return ((Qe = j.flags) == null ? void 0 : Qe.indexOf(Yt)) >= 0;
4140
4143
  }));
4141
- r(3, _ = Qe.filter((F) => F.isTopCategory === !0)), r(4, m = Qe.filter((F) => F.isTopCategory === !1));
4144
+ r(3, E = Ze.filter((j) => j.isTopCategory === !0)), r(4, m = Ze.filter((j) => j.isTopCategory === !1));
4142
4145
  });
4143
- }, P = (b) => {
4146
+ }, O = (b) => {
4144
4147
  window.postMessage({ type: "OpenGameCategory", categoryId: b }, window.location.href);
4145
- }, S = () => {
4146
- pi(o);
4148
+ }, B = () => {
4149
+ pi(s);
4147
4150
  };
4148
- gr(() => () => {
4151
+ cr(() => () => {
4149
4152
  });
4150
- const C = (b) => P(b.id), N = (b) => P(b.id);
4151
- function Yt(b) {
4152
- Ne[b ? "unshift" : "push"](() => {
4153
+ const H = (b) => O(b.id), P = (b) => O(b.id);
4154
+ function qt(b) {
4155
+ Le[b ? "unshift" : "push"](() => {
4153
4156
  p = b, r(1, p);
4154
4157
  });
4155
4158
  }
4156
4159
  return e.$$set = (b) => {
4157
- "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, f = b.translationurl), "mbsource" in b && r(14, c = b.mbsource);
4160
+ "endpoint" in b && r(7, i = b.endpoint), "datasource" in b && r(8, o = b.datasource), "lang" in b && r(9, s = 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);
4158
4161
  }, e.$$.update = () => {
4159
4162
  e.$$.dirty & /*endpoint, datasource*/
4160
- 384 && i && s && B(), e.$$.dirty & /*translationurl*/
4161
- 8192 && f && H(), e.$$.dirty & /*lang*/
4162
- 512 && o && S(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4163
+ 384 && i && o && A(), e.$$.dirty & /*translationurl*/
4164
+ 8192 && c && C(), e.$$.dirty & /*lang*/
4165
+ 512 && s && B(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4163
4166
  2050 && a && p && di(p, a), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4164
4167
  4098 && l && p && bi(p, l), e.$$.dirty & /*mbsource, customStylingContainer*/
4165
- 16386 && c && p && yi(p, `${c}.Style`);
4168
+ 16386 && f && p && yi(p, `${f}.Style`);
4166
4169
  }, [
4167
4170
  u,
4168
4171
  p,
4169
4172
  d,
4170
- _,
4173
+ E,
4171
4174
  m,
4172
4175
  n,
4173
- P,
4176
+ O,
4174
4177
  i,
4175
- s,
4176
4178
  o,
4179
+ s,
4177
4180
  h,
4178
4181
  a,
4179
4182
  l,
4180
- f,
4181
4183
  c,
4182
- C,
4183
- N,
4184
- Yt
4184
+ f,
4185
+ H,
4186
+ P,
4187
+ qt
4185
4188
  ];
4186
4189
  }
4187
- class Hi extends Cr {
4190
+ class Ci extends Cr {
4188
4191
  constructor(t) {
4189
- super(), Tr(
4192
+ super(), vr(
4190
4193
  this,
4191
4194
  t,
4192
4195
  Ti,
4193
4196
  vi,
4194
- Ht,
4197
+ Tt,
4195
4198
  {
4196
4199
  endpoint: 7,
4197
4200
  datasource: 8,
@@ -4203,7 +4206,7 @@ class Hi extends Cr {
4203
4206
  translationurl: 13,
4204
4207
  mbsource: 14
4205
4208
  },
4206
- xi
4209
+ _i
4207
4210
  );
4208
4211
  }
4209
4212
  get endpoint() {
@@ -4261,7 +4264,7 @@ class Hi extends Cr {
4261
4264
  this.$$set({ mbsource: t }), M();
4262
4265
  }
4263
4266
  }
4264
- Hr(Hi, { endpoint: {}, datasource: {}, lang: {}, activecategory: {}, excludedflags: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
4267
+ Tr(Ci, { endpoint: {}, datasource: {}, lang: {}, activecategory: {}, excludedflags: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
4265
4268
  export {
4266
- Hi as default
4269
+ Ci as default
4267
4270
  };