@everymatrix/casino-navigation-search 1.76.3 → 1.76.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (36) hide show
  1. package/components/{CasinoCategories-C9scQU9K.js → CasinoCategories-BmFF08EW.js} +733 -767
  2. package/components/{CasinoCategories-qRL96KHo.js → CasinoCategories-CLbdIbvq.js} +835 -869
  3. package/components/CasinoCategories-DI_lt5L1.cjs +3 -0
  4. package/components/{CasinoCategoriesProviders-kzTnQLLU.js → CasinoCategoriesProviders-B5srm74R.js} +28 -28
  5. package/components/{CasinoCategoriesProviders-DNSz_lXO.js → CasinoCategoriesProviders-CwEU98wL.js} +28 -28
  6. package/components/{CasinoCategoriesProviders--yWqonUg.cjs → CasinoCategoriesProviders-DB9rj59t.cjs} +1 -1
  7. package/components/{CasinoGameThumbnail-B_F6hQQb.js → CasinoGameThumbnail-Cj9XIC4t.js} +786 -737
  8. package/components/{CasinoGameThumbnail-qJb8C4DF.cjs → CasinoGameThumbnail-CmsBpZJX.cjs} +25 -12
  9. package/components/{CasinoGameThumbnail-y3OvroV1.js → CasinoGameThumbnail-DUd-Ei_w.js} +1256 -1175
  10. package/components/{CasinoNavigationSearch-CMb1R9Kv.js → CasinoNavigationSearch-B01Oghbi.js} +10 -10
  11. package/components/{CasinoNavigationSearch-B6oP0PGi.js → CasinoNavigationSearch-BDIpZVk5.js} +12 -12
  12. package/components/{CasinoNavigationSearch-BWTNcs2J.cjs → CasinoNavigationSearch-DqkPfTpd.cjs} +1 -1
  13. package/components/{CasinoProviders-DQNWD94s.cjs → CasinoProviders-BMXinKGr.cjs} +1 -1
  14. package/components/{CasinoProviders-B3tQk_c3.js → CasinoProviders-BlDpLhc4.js} +65 -65
  15. package/components/{CasinoProviders-B3zMxMDV.js → CasinoProviders-PrRb69wR.js} +65 -65
  16. package/components/{CasinoSearch-DSB7WwRH.js → CasinoSearch-CORBzunD.js} +56 -56
  17. package/components/{CasinoSearch-CMOtj3tV.js → CasinoSearch-CcR_qysr.js} +58 -58
  18. package/components/{CasinoSearch-PSn5VRm8.cjs → CasinoSearch-qXrumbkR.cjs} +1 -1
  19. package/es2015/casino-navigation-search.cjs +1 -1
  20. package/es2015/casino-navigation-search.js +1 -1
  21. package/esnext/casino-navigation-search.js +1 -1
  22. package/package.json +1 -1
  23. package/stencil/{index-97d17652-C7V2DWFg.js → index-97d17652--F7PvMq9.js} +176 -176
  24. package/stencil/index-97d17652-BhLhk_xz.cjs +1 -0
  25. package/stencil/{index-97d17652-DIpvPU9H.js → index-97d17652-CCFHkzJw.js} +187 -187
  26. package/stencil/{ui-image-DJWD4G-S.cjs → ui-image-BaHsVAxH.cjs} +1 -1
  27. package/stencil/{ui-image-D3_FGUyo.js → ui-image-C7s6Uvn5.js} +1 -1
  28. package/stencil/{ui-image-CYuYAlOX.js → ui-image-CHeV8e9p.js} +1 -1
  29. package/stencil/{ui-image-b7b48fe5-B-k0kWgx.js → ui-image-b7b48fe5-ByRuJtdE.js} +1 -1
  30. package/stencil/{ui-image-b7b48fe5-D8-wEkoZ.js → ui-image-b7b48fe5-D6iig_uN.js} +1 -1
  31. package/stencil/{ui-image-b7b48fe5-yceZ9WkN.cjs → ui-image-b7b48fe5-DG83WzAo.cjs} +1 -1
  32. package/stencil/{ui-image_2-CzFe50WB.js → ui-image_2-Bm97-wkj.js} +2 -2
  33. package/stencil/{ui-image_2-Ha_4GYwN.cjs → ui-image_2-DdFjzzNO.cjs} +1 -1
  34. package/stencil/{ui-image_2-z5LhXZY2.js → ui-image_2-qO3reSlr.js} +2 -2
  35. package/components/CasinoCategories-Duf-3h-n.cjs +0 -16
  36. package/stencil/index-97d17652-BgKdDb-e.cjs +0 -1
@@ -1,17 +1,17 @@
1
- var nr = Object.defineProperty, ir = Object.defineProperties;
2
- var sr = Object.getOwnPropertyDescriptors;
3
- var qe = Object.getOwnPropertySymbols;
4
- var or = Object.prototype.hasOwnProperty, ar = Object.prototype.propertyIsEnumerable;
5
- var He = (e, t, r) => t in e ? nr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ye = (e, t) => {
1
+ var ir = Object.defineProperty, sr = Object.defineProperties;
2
+ var or = Object.getOwnPropertyDescriptors;
3
+ var Ye = Object.getOwnPropertySymbols;
4
+ var ar = Object.prototype.hasOwnProperty, ur = Object.prototype.propertyIsEnumerable;
5
+ var Ae = (e, t, r) => t in e ? ir(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ke = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- or.call(t, r) && He(e, r, t[r]);
8
- if (qe)
9
- for (var r of qe(t))
10
- ar.call(t, r) && He(e, r, t[r]);
7
+ ar.call(t, r) && Ae(e, r, t[r]);
8
+ if (Ye)
9
+ for (var r of Ye(t))
10
+ ur.call(t, r) && Ae(e, r, t[r]);
11
11
  return e;
12
- }, Ke = (e, t) => ir(e, sr(t));
13
- var w = (e, t, r) => (He(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var et = (e, t, r) => new Promise((n, i) => {
12
+ }, et = (e, t) => sr(e, or(t));
13
+ var w = (e, t, r) => (Ae(e, typeof t != "symbol" ? t + "" : t, r), r);
14
+ var tt = (e, t, r) => new Promise((n, i) => {
15
15
  var s = (h) => {
16
16
  try {
17
17
  u(r.next(h));
@@ -27,32 +27,32 @@ var et = (e, t, r) => new Promise((n, i) => {
27
27
  }, u = (h) => h.done ? n(h.value) : Promise.resolve(h.value).then(s, o);
28
28
  u((r = r.apply(e, t)).next());
29
29
  });
30
- import "../stencil/ui-image-D3_FGUyo.js";
30
+ import "../stencil/ui-image-C7s6Uvn5.js";
31
31
  function L() {
32
32
  }
33
- function Tt(e) {
33
+ function Ct(e) {
34
34
  return e();
35
35
  }
36
- function tt() {
36
+ function rt() {
37
37
  return /* @__PURE__ */ Object.create(null);
38
38
  }
39
- function ue(e) {
40
- e.forEach(Tt);
39
+ function he(e) {
40
+ e.forEach(Ct);
41
41
  }
42
- function Xe(e) {
42
+ function We(e) {
43
43
  return typeof e == "function";
44
44
  }
45
- function Ct(e, t) {
45
+ function Ht(e, t) {
46
46
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
47
47
  }
48
- let fe;
49
- function be(e, t) {
50
- return e === t ? !0 : (fe || (fe = document.createElement("a")), fe.href = t, e === fe.href);
48
+ let ce;
49
+ function ye(e, t) {
50
+ return e === t ? !0 : (ce || (ce = document.createElement("a")), ce.href = t, e === ce.href);
51
51
  }
52
- function ur(e) {
52
+ function hr(e) {
53
53
  return Object.keys(e).length === 0;
54
54
  }
55
- function Ht(e, ...t) {
55
+ function St(e, ...t) {
56
56
  if (e == null) {
57
57
  for (const n of t)
58
58
  n(void 0);
@@ -61,20 +61,20 @@ function Ht(e, ...t) {
61
61
  const r = e.subscribe(...t);
62
62
  return r.unsubscribe ? () => r.unsubscribe() : r;
63
63
  }
64
- function hr(e, t, r) {
65
- e.$$.on_destroy.push(Ht(t, r));
64
+ function lr(e, t, r) {
65
+ e.$$.on_destroy.push(St(t, r));
66
66
  }
67
67
  function v(e, t) {
68
68
  e.appendChild(t);
69
69
  }
70
- function lr(e, t, r) {
71
- const n = fr(e);
70
+ function fr(e, t, r) {
71
+ const n = cr(e);
72
72
  if (!n.getElementById(t)) {
73
- const i = S("style");
74
- i.id = t, i.textContent = r, cr(n, i);
73
+ const i = A("style");
74
+ i.id = t, i.textContent = r, gr(n, i);
75
75
  }
76
76
  }
77
- function fr(e) {
77
+ function cr(e) {
78
78
  if (!e)
79
79
  return document;
80
80
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -84,37 +84,37 @@ function fr(e) {
84
84
  t
85
85
  ) : e.ownerDocument;
86
86
  }
87
- function cr(e, t) {
87
+ function gr(e, t) {
88
88
  return v(
89
89
  /** @type {Document} */
90
90
  e.head || e,
91
91
  t
92
92
  ), t.sheet;
93
93
  }
94
- function V(e, t, r) {
94
+ function X(e, t, r) {
95
95
  e.insertBefore(t, r || null);
96
96
  }
97
- function j(e) {
97
+ function k(e) {
98
98
  e.parentNode && e.parentNode.removeChild(e);
99
99
  }
100
- function rt(e, t) {
100
+ function nt(e, t) {
101
101
  for (let r = 0; r < e.length; r += 1)
102
102
  e[r] && e[r].d(t);
103
103
  }
104
- function S(e) {
104
+ function A(e) {
105
105
  return document.createElement(e);
106
106
  }
107
- function gr(e) {
107
+ function mr(e) {
108
108
  return document.createElementNS("http://www.w3.org/2000/svg", e);
109
109
  }
110
- function G(e) {
110
+ function D(e) {
111
111
  return document.createTextNode(e);
112
112
  }
113
- function U() {
114
- return G(" ");
113
+ function G() {
114
+ return D(" ");
115
115
  }
116
- function wi() {
117
- return G("");
116
+ function Oi() {
117
+ return D("");
118
118
  }
119
119
  function At(e, t, r, n) {
120
120
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
@@ -126,20 +126,20 @@ function R(e, t, r) {
126
126
  const n = t.toLowerCase();
127
127
  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);
128
128
  }
129
- function mr(e) {
129
+ function pr(e) {
130
130
  return Array.from(e.childNodes);
131
131
  }
132
- function F(e, t) {
132
+ function j(e, t) {
133
133
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
134
134
  t);
135
135
  }
136
- function Oi(e, t) {
136
+ function Pi(e, t) {
137
137
  e.value = t == null ? "" : t;
138
138
  }
139
- function Pi(e, t, r) {
139
+ function Ni(e, t, r) {
140
140
  e.classList.toggle(t, !!r);
141
141
  }
142
- class Ni {
142
+ class Li {
143
143
  constructor(t = !1) {
144
144
  /**
145
145
  * @private
@@ -170,10 +170,10 @@ class Ni {
170
170
  * @returns {void}
171
171
  */
172
172
  m(t, r, n = null) {
173
- this.e || (this.is_svg ? this.e = gr(
173
+ this.e || (this.is_svg ? this.e = mr(
174
174
  /** @type {keyof SVGElementTagNameMap} */
175
175
  r.nodeName
176
- ) : this.e = S(
176
+ ) : this.e = A(
177
177
  /** @type {keyof HTMLElementTagNameMap} */
178
178
  r.nodeType === 11 ? "TEMPLATE" : r.nodeName
179
179
  ), this.t = r.tagName !== "TEMPLATE" ? r : (
@@ -194,7 +194,7 @@ class Ni {
194
194
  * @returns {void} */
195
195
  i(t) {
196
196
  for (let r = 0; r < this.n.length; r += 1)
197
- V(this.t, this.n[r], t);
197
+ X(this.t, this.n[r], t);
198
198
  }
199
199
  /**
200
200
  * @param {string} html
@@ -206,7 +206,7 @@ class Ni {
206
206
  /**
207
207
  * @returns {void} */
208
208
  d() {
209
- this.n.forEach(j);
209
+ this.n.forEach(k);
210
210
  }
211
211
  }
212
212
  function dr(e) {
@@ -218,93 +218,93 @@ function dr(e) {
218
218
  }
219
219
  ), t;
220
220
  }
221
- let se;
222
- function ie(e) {
223
- se = e;
221
+ let oe;
222
+ function se(e) {
223
+ oe = e;
224
224
  }
225
- function pr() {
226
- if (!se)
225
+ function br() {
226
+ if (!oe)
227
227
  throw new Error("Function called outside component initialization");
228
- return se;
228
+ return oe;
229
229
  }
230
- function br(e) {
231
- pr().$$.on_mount.push(e);
230
+ function yr(e) {
231
+ br().$$.on_mount.push(e);
232
232
  }
233
- const Z = [], Le = [];
234
- let Q = [];
235
- const nt = [], St = /* @__PURE__ */ Promise.resolve();
236
- let Ie = !1;
237
- function Bt() {
238
- Ie || (Ie = !0, St.then(M));
233
+ const Q = [], Me = [];
234
+ let q = [];
235
+ const it = [], Bt = /* @__PURE__ */ Promise.resolve();
236
+ let $e = !1;
237
+ function wt() {
238
+ $e || ($e = !0, Bt.then(M));
239
239
  }
240
- function Li() {
241
- return Bt(), St;
240
+ function Ii() {
241
+ return wt(), Bt;
242
242
  }
243
- function Me(e) {
244
- Q.push(e);
243
+ function Re(e) {
244
+ q.push(e);
245
245
  }
246
- const Ae = /* @__PURE__ */ new Set();
247
- let z = 0;
246
+ const Be = /* @__PURE__ */ new Set();
247
+ let W = 0;
248
248
  function M() {
249
- if (z !== 0)
249
+ if (W !== 0)
250
250
  return;
251
- const e = se;
251
+ const e = oe;
252
252
  do {
253
253
  try {
254
- for (; z < Z.length; ) {
255
- const t = Z[z];
256
- z++, ie(t), yr(t.$$);
254
+ for (; W < Q.length; ) {
255
+ const t = Q[W];
256
+ W++, se(t), _r(t.$$);
257
257
  }
258
258
  } catch (t) {
259
- throw Z.length = 0, z = 0, t;
259
+ throw Q.length = 0, W = 0, t;
260
260
  }
261
- for (ie(null), Z.length = 0, z = 0; Le.length; )
262
- Le.pop()();
263
- for (let t = 0; t < Q.length; t += 1) {
264
- const r = Q[t];
265
- Ae.has(r) || (Ae.add(r), r());
261
+ for (se(null), Q.length = 0, W = 0; Me.length; )
262
+ Me.pop()();
263
+ for (let t = 0; t < q.length; t += 1) {
264
+ const r = q[t];
265
+ Be.has(r) || (Be.add(r), r());
266
266
  }
267
- Q.length = 0;
268
- } while (Z.length);
269
- for (; nt.length; )
270
- nt.pop()();
271
- Ie = !1, Ae.clear(), ie(e);
267
+ q.length = 0;
268
+ } while (Q.length);
269
+ for (; it.length; )
270
+ it.pop()();
271
+ $e = !1, Be.clear(), se(e);
272
272
  }
273
- function yr(e) {
273
+ function _r(e) {
274
274
  if (e.fragment !== null) {
275
- e.update(), ue(e.before_update);
275
+ e.update(), he(e.before_update);
276
276
  const t = e.dirty;
277
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Me);
277
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Re);
278
278
  }
279
279
  }
280
- function _r(e) {
280
+ function Er(e) {
281
281
  const t = [], r = [];
282
- Q.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Q = t;
282
+ q.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), q = t;
283
283
  }
284
- const Er = /* @__PURE__ */ new Set();
284
+ const vr = /* @__PURE__ */ new Set();
285
285
  function xr(e, t) {
286
- e && e.i && (Er.delete(e), e.i(t));
286
+ e && e.i && (vr.delete(e), e.i(t));
287
287
  }
288
- function ce(e) {
288
+ function ge(e) {
289
289
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
290
290
  }
291
- function vr(e, t, r) {
291
+ function Tr(e, t, r) {
292
292
  const { fragment: n, after_update: i } = e.$$;
293
- n && n.m(t, r), Me(() => {
294
- const s = e.$$.on_mount.map(Tt).filter(Xe);
295
- e.$$.on_destroy ? e.$$.on_destroy.push(...s) : ue(s), e.$$.on_mount = [];
296
- }), i.forEach(Me);
293
+ n && n.m(t, r), Re(() => {
294
+ const s = e.$$.on_mount.map(Ct).filter(We);
295
+ e.$$.on_destroy ? e.$$.on_destroy.push(...s) : he(s), e.$$.on_mount = [];
296
+ }), i.forEach(Re);
297
297
  }
298
- function Tr(e, t) {
298
+ function Cr(e, t) {
299
299
  const r = e.$$;
300
- r.fragment !== null && (_r(r.after_update), ue(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
300
+ r.fragment !== null && (Er(r.after_update), he(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
301
301
  }
302
- function Cr(e, t) {
303
- e.$$.dirty[0] === -1 && (Z.push(e), Bt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
302
+ function Hr(e, t) {
303
+ e.$$.dirty[0] === -1 && (Q.push(e), wt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
304
304
  }
305
- function Hr(e, t, r, n, i, s, o = null, u = [-1]) {
306
- const h = se;
307
- ie(e);
305
+ function Sr(e, t, r, n, i, s, o = null, u = [-1]) {
306
+ const h = oe;
307
+ se(e);
308
308
  const a = e.$$ = {
309
309
  fragment: null,
310
310
  ctx: [],
@@ -312,7 +312,7 @@ function Hr(e, t, r, n, i, s, o = null, u = [-1]) {
312
312
  props: s,
313
313
  update: L,
314
314
  not_equal: i,
315
- bound: tt(),
315
+ bound: rt(),
316
316
  // lifecycle
317
317
  on_mount: [],
318
318
  on_destroy: [],
@@ -321,28 +321,28 @@ function Hr(e, t, r, n, i, s, o = null, u = [-1]) {
321
321
  after_update: [],
322
322
  context: new Map(t.context || (h ? h.$$.context : [])),
323
323
  // everything else
324
- callbacks: tt(),
324
+ callbacks: rt(),
325
325
  dirty: u,
326
326
  skip_bound: !1,
327
327
  root: t.target || h.$$.root
328
328
  };
329
329
  o && o(a.root);
330
330
  let l = !1;
331
- if (a.ctx = r ? r(e, t.props || {}, (c, f, ...d) => {
332
- const p = d.length ? d[0] : f;
333
- return a.ctx && i(a.ctx[c], a.ctx[c] = p) && (!a.skip_bound && a.bound[c] && a.bound[c](p), l && Cr(e, c)), f;
334
- }) : [], a.update(), l = !0, ue(a.before_update), a.fragment = n ? n(a.ctx) : !1, t.target) {
331
+ if (a.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
332
+ const d = p.length ? p[0] : f;
333
+ return a.ctx && i(a.ctx[c], a.ctx[c] = d) && (!a.skip_bound && a.bound[c] && a.bound[c](d), l && Hr(e, c)), f;
334
+ }) : [], a.update(), l = !0, he(a.before_update), a.fragment = n ? n(a.ctx) : !1, t.target) {
335
335
  if (t.hydrate) {
336
- const c = mr(t.target);
337
- a.fragment && a.fragment.l(c), c.forEach(j);
336
+ const c = pr(t.target);
337
+ a.fragment && a.fragment.l(c), c.forEach(k);
338
338
  } else
339
339
  a.fragment && a.fragment.c();
340
- t.intro && xr(e.$$.fragment), vr(e, t.target, t.anchor), M();
340
+ t.intro && xr(e.$$.fragment), Tr(e, t.target, t.anchor), M();
341
341
  }
342
- ie(h);
342
+ se(h);
343
343
  }
344
- let wt;
345
- typeof HTMLElement == "function" && (wt = class extends HTMLElement {
344
+ let Ot;
345
+ typeof HTMLElement == "function" && (Ot = class extends HTMLElement {
346
346
  constructor(t, r, n) {
347
347
  super();
348
348
  /** The Svelte component constructor */
@@ -379,24 +379,24 @@ typeof HTMLElement == "function" && (wt = class extends HTMLElement {
379
379
  }
380
380
  }
381
381
  connectedCallback() {
382
- return et(this, null, function* () {
382
+ return tt(this, null, function* () {
383
383
  if (this.$$cn = !0, !this.$$c) {
384
384
  let t = function(s) {
385
385
  return () => {
386
386
  let o;
387
387
  return {
388
388
  c: function() {
389
- o = S("slot"), s !== "default" && I(o, "name", s);
389
+ o = A("slot"), s !== "default" && I(o, "name", s);
390
390
  },
391
391
  /**
392
392
  * @param {HTMLElement} target
393
393
  * @param {HTMLElement} [anchor]
394
394
  */
395
395
  m: function(a, l) {
396
- V(a, o, l);
396
+ X(a, o, l);
397
397
  },
398
398
  d: function(a) {
399
- a && j(o);
399
+ a && k(o);
400
400
  }
401
401
  };
402
402
  };
@@ -408,13 +408,13 @@ typeof HTMLElement == "function" && (wt = class extends HTMLElement {
408
408
  s in n && (r[s] = [t(s)]);
409
409
  for (const s of this.attributes) {
410
410
  const o = this.$$g_p(s.name);
411
- o in this.$$d || (this.$$d[o] = me(o, s.value, this.$$p_d, "toProp"));
411
+ o in this.$$d || (this.$$d[o] = pe(o, s.value, this.$$p_d, "toProp"));
412
412
  }
413
413
  for (const s in this.$$p_d)
414
414
  !(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
415
415
  this.$$c = new this.$$ctor({
416
416
  target: this.shadowRoot || this,
417
- props: Ke(Ye({}, this.$$d), {
417
+ props: et(Ke({}, this.$$d), {
418
418
  $$slots: r,
419
419
  $$scope: {
420
420
  ctx: []
@@ -425,7 +425,7 @@ typeof HTMLElement == "function" && (wt = class extends HTMLElement {
425
425
  this.$$r = !0;
426
426
  for (const s in this.$$p_d)
427
427
  if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
428
- const o = me(
428
+ const o = pe(
429
429
  s,
430
430
  this.$$d[s],
431
431
  this.$$p_d,
@@ -449,7 +449,7 @@ typeof HTMLElement == "function" && (wt = class extends HTMLElement {
449
449
  // and setting attributes through setAttribute etc, this is helpful
450
450
  attributeChangedCallback(t, r, n) {
451
451
  var i;
452
- 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] }));
452
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = pe(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
453
453
  }
454
454
  disconnectedCallback() {
455
455
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -462,7 +462,7 @@ typeof HTMLElement == "function" && (wt = class extends HTMLElement {
462
462
  ) || t;
463
463
  }
464
464
  });
465
- function me(e, t, r, n) {
465
+ function pe(e, t, r, n) {
466
466
  var s;
467
467
  const i = (s = r[e]) == null ? void 0 : s.type;
468
468
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
@@ -493,7 +493,7 @@ function me(e, t, r, n) {
493
493
  }
494
494
  }
495
495
  function Ar(e, t, r, n, i, s) {
496
- let o = class extends wt {
496
+ let o = class extends Ot {
497
497
  constructor() {
498
498
  super(e, r, i), this.$$p_d = t;
499
499
  }
@@ -510,7 +510,7 @@ function Ar(e, t, r, n, i, s) {
510
510
  },
511
511
  set(h) {
512
512
  var a;
513
- h = me(u, h, t), this.$$d[u] = h, (a = this.$$c) == null || a.$set({ [u]: h });
513
+ h = pe(u, h, t), this.$$d[u] = h, (a = this.$$c) == null || a.$set({ [u]: h });
514
514
  }
515
515
  });
516
516
  }), n.forEach((u) => {
@@ -523,7 +523,7 @@ function Ar(e, t, r, n, i, s) {
523
523
  }), e.element = /** @type {any} */
524
524
  o, o;
525
525
  }
526
- class Sr {
526
+ class Br {
527
527
  constructor() {
528
528
  /**
529
529
  * ### PRIVATE API
@@ -544,7 +544,7 @@ class Sr {
544
544
  }
545
545
  /** @returns {void} */
546
546
  $destroy() {
547
- Tr(this, 1), this.$destroy = L;
547
+ Cr(this, 1), this.$destroy = L;
548
548
  }
549
549
  /**
550
550
  * @template {Extract<keyof Events, string>} K
@@ -553,7 +553,7 @@ class Sr {
553
553
  * @returns {() => void}
554
554
  */
555
555
  $on(t, r) {
556
- if (!Xe(r))
556
+ if (!We(r))
557
557
  return L;
558
558
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
559
559
  return n.push(r), () => {
@@ -566,18 +566,18 @@ class Sr {
566
566
  * @returns {void}
567
567
  */
568
568
  $set(t) {
569
- this.$$set && !ur(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
569
+ this.$$set && !hr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
570
570
  }
571
571
  }
572
- const Br = "4";
573
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Br);
574
- function wr(e, t) {
572
+ const wr = "4";
573
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(wr);
574
+ function Or(e, t) {
575
575
  if (e) {
576
576
  const r = document.createElement("style");
577
577
  r.innerHTML = t, e.appendChild(r);
578
578
  }
579
579
  }
580
- function Or(e, t) {
580
+ function Pr(e, t) {
581
581
  const r = new URL(t);
582
582
  fetch(r.href).then((n) => n.text()).then((n) => {
583
583
  const i = document.createElement("style");
@@ -586,7 +586,7 @@ function Or(e, t) {
586
586
  console.error("There was an error while trying to load client styling from URL", n);
587
587
  });
588
588
  }
589
- function Pr(e, t, r) {
589
+ function Nr(e, t, r) {
590
590
  if (window.emMessageBus) {
591
591
  const n = document.createElement("style");
592
592
  window.emMessageBus.subscribe(t, (i) => {
@@ -594,24 +594,24 @@ function Pr(e, t, r) {
594
594
  });
595
595
  }
596
596
  }
597
- const W = [];
598
- function Nr(e, t) {
597
+ const Z = [];
598
+ function Lr(e, t) {
599
599
  return {
600
- subscribe: Ee(e, t).subscribe
600
+ subscribe: xe(e, t).subscribe
601
601
  };
602
602
  }
603
- function Ee(e, t = L) {
603
+ function xe(e, t = L) {
604
604
  let r;
605
605
  const n = /* @__PURE__ */ new Set();
606
606
  function i(u) {
607
- if (Ct(e, u) && (e = u, r)) {
608
- const h = !W.length;
607
+ if (Ht(e, u) && (e = u, r)) {
608
+ const h = !Z.length;
609
609
  for (const a of n)
610
- a[1](), W.push(a, e);
610
+ a[1](), Z.push(a, e);
611
611
  if (h) {
612
- for (let a = 0; a < W.length; a += 2)
613
- W[a][0](W[a + 1]);
614
- W.length = 0;
612
+ for (let a = 0; a < Z.length; a += 2)
613
+ Z[a][0](Z[a + 1]);
614
+ Z.length = 0;
615
615
  }
616
616
  }
617
617
  }
@@ -626,12 +626,12 @@ function Ee(e, t = L) {
626
626
  }
627
627
  return { set: i, update: s, subscribe: o };
628
628
  }
629
- function ee(e, t, r) {
629
+ function te(e, t, r) {
630
630
  const n = !Array.isArray(e), i = n ? [e] : e;
631
631
  if (!i.every(Boolean))
632
632
  throw new Error("derived() expects stores as input, got a falsy value");
633
633
  const s = t.length < 2;
634
- return Nr(r, (o, u) => {
634
+ return Lr(r, (o, u) => {
635
635
  let h = !1;
636
636
  const a = [];
637
637
  let l = 0, c = L;
@@ -639,13 +639,13 @@ function ee(e, t, r) {
639
639
  if (l)
640
640
  return;
641
641
  c();
642
- const p = t(n ? a[0] : a, o, u);
643
- s ? o(p) : c = Xe(p) ? p : L;
644
- }, d = i.map(
645
- (p, g) => Ht(
646
- p,
647
- (x) => {
648
- a[g] = x, l &= ~(1 << g), h && f();
642
+ const d = t(n ? a[0] : a, o, u);
643
+ s ? o(d) : c = We(d) ? d : L;
644
+ }, p = i.map(
645
+ (d, g) => St(
646
+ d,
647
+ (E) => {
648
+ a[g] = E, l &= ~(1 << g), h && f();
649
649
  },
650
650
  () => {
651
651
  l |= 1 << g;
@@ -653,74 +653,74 @@ function ee(e, t, r) {
653
653
  )
654
654
  );
655
655
  return h = !0, f(), function() {
656
- ue(d), c(), h = !1;
656
+ he(p), c(), h = !1;
657
657
  };
658
658
  });
659
659
  }
660
- function Lr(e) {
661
- return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
660
+ function Ir(e) {
661
+ return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
662
662
  }
663
- var Ir = function(t) {
664
- return Mr(t) && !$r(t);
663
+ var Mr = function(t) {
664
+ return $r(t) && !Rr(t);
665
665
  };
666
- function Mr(e) {
666
+ function $r(e) {
667
667
  return !!e && typeof e == "object";
668
668
  }
669
- function $r(e) {
669
+ function Rr(e) {
670
670
  var t = Object.prototype.toString.call(e);
671
- return t === "[object RegExp]" || t === "[object Date]" || Gr(e);
672
- }
673
- var Rr = typeof Symbol == "function" && Symbol.for, Ur = Rr ? Symbol.for("react.element") : 60103;
674
- function Gr(e) {
675
- return e.$$typeof === Ur;
671
+ return t === "[object RegExp]" || t === "[object Date]" || Dr(e);
676
672
  }
673
+ var Ur = typeof Symbol == "function" && Symbol.for, Gr = Ur ? Symbol.for("react.element") : 60103;
677
674
  function Dr(e) {
675
+ return e.$$typeof === Gr;
676
+ }
677
+ function Fr(e) {
678
678
  return Array.isArray(e) ? [] : {};
679
679
  }
680
- function oe(e, t) {
681
- return t.clone !== !1 && t.isMergeableObject(e) ? J(Dr(e), e, t) : e;
680
+ function ae(e, t) {
681
+ return t.clone !== !1 && t.isMergeableObject(e) ? J(Fr(e), e, t) : e;
682
682
  }
683
- function Fr(e, t, r) {
683
+ function jr(e, t, r) {
684
684
  return e.concat(t).map(function(n) {
685
- return oe(n, r);
685
+ return ae(n, r);
686
686
  });
687
687
  }
688
- function jr(e, t) {
688
+ function kr(e, t) {
689
689
  if (!t.customMerge)
690
690
  return J;
691
691
  var r = t.customMerge(e);
692
692
  return typeof r == "function" ? r : J;
693
693
  }
694
- function kr(e) {
694
+ function Vr(e) {
695
695
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
696
696
  return Object.propertyIsEnumerable.call(e, t);
697
697
  }) : [];
698
698
  }
699
- function it(e) {
700
- return Object.keys(e).concat(kr(e));
699
+ function st(e) {
700
+ return Object.keys(e).concat(Vr(e));
701
701
  }
702
- function Ot(e, t) {
702
+ function Pt(e, t) {
703
703
  try {
704
704
  return t in e;
705
705
  } catch (r) {
706
706
  return !1;
707
707
  }
708
708
  }
709
- function Vr(e, t) {
710
- return Ot(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
709
+ function Xr(e, t) {
710
+ return Pt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
711
711
  }
712
- function Xr(e, t, r) {
712
+ function zr(e, t, r) {
713
713
  var n = {};
714
- return r.isMergeableObject(e) && it(e).forEach(function(i) {
715
- n[i] = oe(e[i], r);
716
- }), it(t).forEach(function(i) {
717
- Vr(e, i) || (Ot(e, i) && r.isMergeableObject(t[i]) ? n[i] = jr(i, r)(e[i], t[i], r) : n[i] = oe(t[i], r));
714
+ return r.isMergeableObject(e) && st(e).forEach(function(i) {
715
+ n[i] = ae(e[i], r);
716
+ }), st(t).forEach(function(i) {
717
+ Xr(e, i) || (Pt(e, i) && r.isMergeableObject(t[i]) ? n[i] = kr(i, r)(e[i], t[i], r) : n[i] = ae(t[i], r));
718
718
  }), n;
719
719
  }
720
720
  function J(e, t, r) {
721
- r = r || {}, r.arrayMerge = r.arrayMerge || Fr, r.isMergeableObject = r.isMergeableObject || Ir, r.cloneUnlessOtherwiseSpecified = oe;
721
+ r = r || {}, r.arrayMerge = r.arrayMerge || jr, r.isMergeableObject = r.isMergeableObject || Mr, r.cloneUnlessOtherwiseSpecified = ae;
722
722
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
723
- return s ? n ? r.arrayMerge(e, t, r) : Xr(e, t, r) : oe(t, r);
723
+ return s ? n ? r.arrayMerge(e, t, r) : zr(e, t, r) : ae(t, r);
724
724
  }
725
725
  J.all = function(t, r) {
726
726
  if (!Array.isArray(t))
@@ -729,50 +729,36 @@ J.all = function(t, r) {
729
729
  return J(n, i, r);
730
730
  }, {});
731
731
  };
732
- var zr = J, Wr = zr;
733
- const Zr = /* @__PURE__ */ Lr(Wr);
734
- /*! *****************************************************************************
735
- Copyright (c) Microsoft Corporation.
736
-
737
- Permission to use, copy, modify, and/or distribute this software for any
738
- purpose with or without fee is hereby granted.
739
-
740
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
741
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
742
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
743
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
744
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
745
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
746
- PERFORMANCE OF THIS SOFTWARE.
747
- ***************************************************************************** */
748
- var $e = function(e, t) {
749
- return $e = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
732
+ var Wr = J, Zr = Wr;
733
+ const Qr = /* @__PURE__ */ Ir(Zr);
734
+ var Ue = function(e, t) {
735
+ return Ue = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
750
736
  r.__proto__ = n;
751
737
  } || function(r, n) {
752
738
  for (var i in n)
753
739
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
754
- }, $e(e, t);
740
+ }, Ue(e, t);
755
741
  };
756
- function xe(e, t) {
742
+ function Te(e, t) {
757
743
  if (typeof t != "function" && t !== null)
758
744
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
759
- $e(e, t);
745
+ Ue(e, t);
760
746
  function r() {
761
747
  this.constructor = e;
762
748
  }
763
749
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
764
750
  }
765
- var E = function() {
766
- return E = Object.assign || function(t) {
751
+ var U = function() {
752
+ return U = Object.assign || function(t) {
767
753
  for (var r, n = 1, i = arguments.length; n < i; n++) {
768
754
  r = arguments[n];
769
755
  for (var s in r)
770
756
  Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
771
757
  }
772
758
  return t;
773
- }, E.apply(this, arguments);
759
+ }, U.apply(this, arguments);
774
760
  };
775
- function Qr(e, t) {
761
+ function qr(e, t) {
776
762
  var r = {};
777
763
  for (var n in e)
778
764
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -781,46 +767,14 @@ function Qr(e, t) {
781
767
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
782
768
  return r;
783
769
  }
784
- function Ii(e) {
785
- var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
786
- if (r)
787
- return r.call(e);
788
- if (e && typeof e.length == "number")
789
- return {
790
- next: function() {
791
- return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
792
- }
793
- };
794
- throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
795
- }
796
- function Mi(e, t) {
797
- var r = typeof Symbol == "function" && e[Symbol.iterator];
798
- if (!r)
799
- return e;
800
- var n = r.call(e), i, s = [], o;
801
- try {
802
- for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
803
- s.push(i.value);
804
- } catch (u) {
805
- o = { error: u };
806
- } finally {
807
- try {
808
- i && !i.done && (r = n.return) && r.call(n);
809
- } finally {
810
- if (o)
811
- throw o.error;
812
- }
813
- }
814
- return s;
815
- }
816
- function Se(e, t, r) {
770
+ function we(e, t, r) {
817
771
  if (r || arguments.length === 2)
818
772
  for (var n = 0, i = t.length, s; n < i; n++)
819
773
  (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
820
- return e.concat(s || t);
774
+ return e.concat(s || Array.prototype.slice.call(t));
821
775
  }
822
- function Be(e, t) {
823
- var r = t && t.cache ? t.cache : rn, n = t && t.serializer ? t.serializer : en, i = t && t.strategy ? t.strategy : qr;
776
+ function Oe(e, t) {
777
+ var r = t && t.cache ? t.cache : nn, n = t && t.serializer ? t.serializer : tn, i = t && t.strategy ? t.strategy : Kr;
824
778
  return i(e, {
825
779
  cache: r,
826
780
  serializer: n
@@ -829,7 +783,7 @@ function Be(e, t) {
829
783
  function Jr(e) {
830
784
  return e == null || typeof e == "number" || typeof e == "boolean";
831
785
  }
832
- function Pt(e, t, r, n) {
786
+ function Yr(e, t, r, n) {
833
787
  var i = Jr(n) ? n : r(n), s = t.get(i);
834
788
  return typeof s == "undefined" && (s = e.call(this, n), t.set(i, s)), s;
835
789
  }
@@ -837,22 +791,19 @@ function Nt(e, t, r) {
837
791
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
838
792
  return typeof s == "undefined" && (s = e.apply(this, n), t.set(i, s)), s;
839
793
  }
840
- function ze(e, t, r, n, i) {
794
+ function Lt(e, t, r, n, i) {
841
795
  return r.bind(t, e, n, i);
842
796
  }
843
- function qr(e, t) {
844
- var r = e.length === 1 ? Pt : Nt;
845
- return ze(e, this, r, t.cache.create(), t.serializer);
846
- }
847
- function Yr(e, t) {
848
- return ze(e, this, Nt, t.cache.create(), t.serializer);
849
- }
850
797
  function Kr(e, t) {
851
- return ze(e, this, Pt, t.cache.create(), t.serializer);
798
+ var r = e.length === 1 ? Yr : Nt;
799
+ return Lt(e, this, r, t.cache.create(), t.serializer);
852
800
  }
853
- var en = function() {
801
+ function en(e, t) {
802
+ return Lt(e, this, Nt, t.cache.create(), t.serializer);
803
+ }
804
+ var tn = function() {
854
805
  return JSON.stringify(arguments);
855
- }, tn = (
806
+ }, rn = (
856
807
  /** @class */
857
808
  function() {
858
809
  function e() {
@@ -864,62 +815,71 @@ var en = function() {
864
815
  this.cache[t] = r;
865
816
  }, e;
866
817
  }()
867
- ), rn = {
818
+ ), nn = {
868
819
  create: function() {
869
- return new tn();
820
+ return new rn();
870
821
  }
871
- }, we = {
872
- variadic: Yr,
873
- monadic: Kr
874
- }, y;
822
+ }, Pe = {
823
+ variadic: en
824
+ }, _e = function() {
825
+ return _e = Object.assign || function(t) {
826
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
827
+ r = arguments[n];
828
+ for (var s in r)
829
+ Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
830
+ }
831
+ return t;
832
+ }, _e.apply(this, arguments);
833
+ };
834
+ var y;
875
835
  (function(e) {
876
836
  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";
877
837
  })(y || (y = {}));
878
- var T;
838
+ var x;
879
839
  (function(e) {
880
840
  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";
881
- })(T || (T = {}));
882
- var q;
841
+ })(x || (x = {}));
842
+ var Y;
883
843
  (function(e) {
884
844
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
885
- })(q || (q = {}));
886
- function st(e) {
887
- return e.type === T.literal;
888
- }
889
- function nn(e) {
890
- return e.type === T.argument;
845
+ })(Y || (Y = {}));
846
+ function ot(e) {
847
+ return e.type === x.literal;
891
848
  }
892
- function Lt(e) {
893
- return e.type === T.number;
849
+ function sn(e) {
850
+ return e.type === x.argument;
894
851
  }
895
852
  function It(e) {
896
- return e.type === T.date;
853
+ return e.type === x.number;
897
854
  }
898
855
  function Mt(e) {
899
- return e.type === T.time;
856
+ return e.type === x.date;
900
857
  }
901
858
  function $t(e) {
902
- return e.type === T.select;
859
+ return e.type === x.time;
903
860
  }
904
861
  function Rt(e) {
905
- return e.type === T.plural;
906
- }
907
- function sn(e) {
908
- return e.type === T.pound;
862
+ return e.type === x.select;
909
863
  }
910
864
  function Ut(e) {
911
- return e.type === T.tag;
865
+ return e.type === x.plural;
866
+ }
867
+ function on(e) {
868
+ return e.type === x.pound;
912
869
  }
913
870
  function Gt(e) {
914
- return !!(e && typeof e == "object" && e.type === q.number);
871
+ return e.type === x.tag;
915
872
  }
916
- function Re(e) {
917
- return !!(e && typeof e == "object" && e.type === q.dateTime);
873
+ function Dt(e) {
874
+ return !!(e && typeof e == "object" && e.type === Y.number);
918
875
  }
919
- var Dt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, on = /(?:[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;
920
- function an(e) {
876
+ function Ge(e) {
877
+ return !!(e && typeof e == "object" && e.type === Y.dateTime);
878
+ }
879
+ var Ft = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, an = /(?:[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;
880
+ function un(e) {
921
881
  var t = {};
922
- return e.replace(on, function(r) {
882
+ return e.replace(an, function(r) {
923
883
  var n = r.length;
924
884
  switch (r[0]) {
925
885
  case "G":
@@ -1008,11 +968,21 @@ function an(e) {
1008
968
  return "";
1009
969
  }), t;
1010
970
  }
1011
- var un = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1012
- function hn(e) {
971
+ var C = function() {
972
+ return C = Object.assign || function(t) {
973
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
974
+ r = arguments[n];
975
+ for (var s in r)
976
+ Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
977
+ }
978
+ return t;
979
+ }, C.apply(this, arguments);
980
+ };
981
+ var hn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
982
+ function ln(e) {
1013
983
  if (e.length === 0)
1014
984
  throw new Error("Number skeleton cannot be empty");
1015
- for (var t = e.split(un).filter(function(f) {
985
+ for (var t = e.split(hn).filter(function(f) {
1016
986
  return f.length > 0;
1017
987
  }), r = [], n = 0, i = t; n < i.length; n++) {
1018
988
  var s = i[n], o = s.split("/");
@@ -1027,17 +997,17 @@ function hn(e) {
1027
997
  }
1028
998
  return r;
1029
999
  }
1030
- function ln(e) {
1000
+ function fn(e) {
1031
1001
  return e.replace(/^(.*?)-/, "");
1032
1002
  }
1033
- var ot = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Ft = /^(@+)?(\+|#+)?[rs]?$/g, fn = /(\*)(0+)|(#+)(0+)|(0+)/g, jt = /^(0+)$/;
1034
- function at(e) {
1003
+ var at = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, jt = /^(@+)?(\+|#+)?[rs]?$/g, cn = /(\*)(0+)|(#+)(0+)|(0+)/g, kt = /^(0+)$/;
1004
+ function ut(e) {
1035
1005
  var t = {};
1036
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Ft, function(r, n, i) {
1006
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(jt, function(r, n, i) {
1037
1007
  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)), "";
1038
1008
  }), t;
1039
1009
  }
1040
- function kt(e) {
1010
+ function Vt(e) {
1041
1011
  switch (e) {
1042
1012
  case "sign-auto":
1043
1013
  return {
@@ -1077,7 +1047,7 @@ function kt(e) {
1077
1047
  };
1078
1048
  }
1079
1049
  }
1080
- function cn(e) {
1050
+ function gn(e) {
1081
1051
  var t;
1082
1052
  if (e[0] === "E" && e[1] === "E" ? (t = {
1083
1053
  notation: "engineering"
@@ -1085,17 +1055,17 @@ function cn(e) {
1085
1055
  notation: "scientific"
1086
1056
  }, e = e.slice(1)), t) {
1087
1057
  var r = e.slice(0, 2);
1088
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !jt.test(e))
1058
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !kt.test(e))
1089
1059
  throw new Error("Malformed concise eng/scientific notation");
1090
1060
  t.minimumIntegerDigits = e.length;
1091
1061
  }
1092
1062
  return t;
1093
1063
  }
1094
- function ut(e) {
1095
- var t = {}, r = kt(e);
1064
+ function ht(e) {
1065
+ var t = {}, r = Vt(e);
1096
1066
  return r || t;
1097
1067
  }
1098
- function gn(e) {
1068
+ function mn(e) {
1099
1069
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1100
1070
  var i = n[r];
1101
1071
  switch (i.stem) {
@@ -1119,7 +1089,7 @@ function gn(e) {
1119
1089
  continue;
1120
1090
  case "measure-unit":
1121
1091
  case "unit":
1122
- t.style = "unit", t.unit = ln(i.options[0]);
1092
+ t.style = "unit", t.unit = fn(i.options[0]);
1123
1093
  continue;
1124
1094
  case "compact-short":
1125
1095
  case "K":
@@ -1130,13 +1100,13 @@ function gn(e) {
1130
1100
  t.notation = "compact", t.compactDisplay = "long";
1131
1101
  continue;
1132
1102
  case "scientific":
1133
- t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(h, a) {
1134
- return E(E({}, h), ut(a));
1103
+ t = C(C(C({}, t), { notation: "scientific" }), i.options.reduce(function(h, a) {
1104
+ return C(C({}, h), ht(a));
1135
1105
  }, {}));
1136
1106
  continue;
1137
1107
  case "engineering":
1138
- t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(h, a) {
1139
- return E(E({}, h), ut(a));
1108
+ t = C(C(C({}, t), { notation: "engineering" }), i.options.reduce(function(h, a) {
1109
+ return C(C({}, h), ht(a));
1140
1110
  }, {}));
1141
1111
  continue;
1142
1112
  case "notation-simple":
@@ -1181,45 +1151,45 @@ function gn(e) {
1181
1151
  case "integer-width":
1182
1152
  if (i.options.length > 1)
1183
1153
  throw new RangeError("integer-width stems only accept a single optional option");
1184
- i.options[0].replace(fn, function(h, a, l, c, f, d) {
1154
+ i.options[0].replace(cn, function(h, a, l, c, f, p) {
1185
1155
  if (a)
1186
1156
  t.minimumIntegerDigits = l.length;
1187
1157
  else {
1188
1158
  if (c && f)
1189
1159
  throw new Error("We currently do not support maximum integer digits");
1190
- if (d)
1160
+ if (p)
1191
1161
  throw new Error("We currently do not support exact integer digits");
1192
1162
  }
1193
1163
  return "";
1194
1164
  });
1195
1165
  continue;
1196
1166
  }
1197
- if (jt.test(i.stem)) {
1167
+ if (kt.test(i.stem)) {
1198
1168
  t.minimumIntegerDigits = i.stem.length;
1199
1169
  continue;
1200
1170
  }
1201
- if (ot.test(i.stem)) {
1171
+ if (at.test(i.stem)) {
1202
1172
  if (i.options.length > 1)
1203
1173
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1204
- i.stem.replace(ot, function(h, a, l, c, f, d) {
1205
- return l === "*" ? t.minimumFractionDigits = a.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && d ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + d.length) : (t.minimumFractionDigits = a.length, t.maximumFractionDigits = a.length), "";
1174
+ i.stem.replace(at, function(h, a, l, c, f, p) {
1175
+ 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), "";
1206
1176
  });
1207
1177
  var s = i.options[0];
1208
- s === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = E(E({}, t), at(s)));
1178
+ s === "w" ? t = C(C({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = C(C({}, t), ut(s)));
1209
1179
  continue;
1210
1180
  }
1211
- if (Ft.test(i.stem)) {
1212
- t = E(E({}, t), at(i.stem));
1181
+ if (jt.test(i.stem)) {
1182
+ t = C(C({}, t), ut(i.stem));
1213
1183
  continue;
1214
1184
  }
1215
- var o = kt(i.stem);
1216
- o && (t = E(E({}, t), o));
1217
- var u = cn(i.stem);
1218
- u && (t = E(E({}, t), u));
1185
+ var o = Vt(i.stem);
1186
+ o && (t = C(C({}, t), o));
1187
+ var u = gn(i.stem);
1188
+ u && (t = C(C({}, t), u));
1219
1189
  }
1220
1190
  return t;
1221
1191
  }
1222
- var ge = {
1192
+ var me = {
1223
1193
  "001": [
1224
1194
  "H",
1225
1195
  "h"
@@ -2634,7 +2604,7 @@ var ge = {
2634
2604
  "h"
2635
2605
  ]
2636
2606
  };
2637
- function mn(e, t) {
2607
+ function pn(e, t) {
2638
2608
  for (var r = "", n = 0; n < e.length; n++) {
2639
2609
  var i = e.charAt(n);
2640
2610
  if (i === "j") {
@@ -2669,23 +2639,23 @@ function dn(e) {
2669
2639
  }
2670
2640
  var r = e.language, n;
2671
2641
  r !== "root" && (n = e.maximize().region);
2672
- var i = ge[n || ""] || ge[r || ""] || ge["".concat(r, "-001")] || ge["001"];
2642
+ var i = me[n || ""] || me[r || ""] || me["".concat(r, "-001")] || me["001"];
2673
2643
  return i[0];
2674
2644
  }
2675
- var Oe, pn = new RegExp("^".concat(Dt.source, "*")), bn = new RegExp("".concat(Dt.source, "*$"));
2645
+ var Ne, bn = new RegExp("^".concat(Ft.source, "*")), yn = new RegExp("".concat(Ft.source, "*$"));
2676
2646
  function _(e, t) {
2677
2647
  return { start: e, end: t };
2678
2648
  }
2679
- var yn = !!String.prototype.startsWith && "_a".startsWith("a", 1), _n = !!String.fromCodePoint, En = !!Object.fromEntries, xn = !!String.prototype.codePointAt, vn = !!String.prototype.trimStart, Tn = !!String.prototype.trimEnd, Cn = !!Number.isSafeInteger, Hn = Cn ? Number.isSafeInteger : function(e) {
2649
+ var _n = !!String.prototype.startsWith && "_a".startsWith("a", 1), En = !!String.fromCodePoint, vn = !!Object.fromEntries, xn = !!String.prototype.codePointAt, Tn = !!String.prototype.trimStart, Cn = !!String.prototype.trimEnd, Hn = !!Number.isSafeInteger, Sn = Hn ? Number.isSafeInteger : function(e) {
2680
2650
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2681
- }, Ue = !0;
2651
+ }, De = !0;
2682
2652
  try {
2683
- var An = Xt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2684
- Ue = ((Oe = An.exec("a")) === null || Oe === void 0 ? void 0 : Oe[0]) === "a";
2653
+ var An = zt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2654
+ De = ((Ne = An.exec("a")) === null || Ne === void 0 ? void 0 : Ne[0]) === "a";
2685
2655
  } catch (e) {
2686
- Ue = !1;
2656
+ De = !1;
2687
2657
  }
2688
- var ht = yn ? (
2658
+ var lt = _n ? (
2689
2659
  // Native
2690
2660
  function(t, r, n) {
2691
2661
  return t.startsWith(r, n);
@@ -2695,7 +2665,7 @@ var ht = yn ? (
2695
2665
  function(t, r, n) {
2696
2666
  return t.slice(n, n + r.length) === r;
2697
2667
  }
2698
- ), Ge = _n ? String.fromCodePoint : (
2668
+ ), Fe = En ? String.fromCodePoint : (
2699
2669
  // IE11
2700
2670
  function() {
2701
2671
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2707,9 +2677,9 @@ var ht = yn ? (
2707
2677
  }
2708
2678
  return n;
2709
2679
  }
2710
- ), lt = (
2680
+ ), ft = (
2711
2681
  // native
2712
- En ? Object.fromEntries : (
2682
+ vn ? Object.fromEntries : (
2713
2683
  // Ponyfill
2714
2684
  function(t) {
2715
2685
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2719,7 +2689,7 @@ var ht = yn ? (
2719
2689
  return r;
2720
2690
  }
2721
2691
  )
2722
- ), Vt = xn ? (
2692
+ ), Xt = xn ? (
2723
2693
  // Native
2724
2694
  function(t, r) {
2725
2695
  return t.codePointAt(r);
@@ -2733,7 +2703,7 @@ var ht = yn ? (
2733
2703
  return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
2734
2704
  }
2735
2705
  }
2736
- ), Sn = vn ? (
2706
+ ), Bn = Tn ? (
2737
2707
  // Native
2738
2708
  function(t) {
2739
2709
  return t.trimStart();
@@ -2741,9 +2711,9 @@ var ht = yn ? (
2741
2711
  ) : (
2742
2712
  // Ponyfill
2743
2713
  function(t) {
2744
- return t.replace(pn, "");
2714
+ return t.replace(bn, "");
2745
2715
  }
2746
- ), Bn = Tn ? (
2716
+ ), wn = Cn ? (
2747
2717
  // Native
2748
2718
  function(t) {
2749
2719
  return t.trimEnd();
@@ -2751,32 +2721,32 @@ var ht = yn ? (
2751
2721
  ) : (
2752
2722
  // Ponyfill
2753
2723
  function(t) {
2754
- return t.replace(bn, "");
2724
+ return t.replace(yn, "");
2755
2725
  }
2756
2726
  );
2757
- function Xt(e, t) {
2727
+ function zt(e, t) {
2758
2728
  return new RegExp(e, t);
2759
2729
  }
2760
- var De;
2761
- if (Ue) {
2762
- var ft = Xt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2763
- De = function(t, r) {
2730
+ var je;
2731
+ if (De) {
2732
+ var ct = zt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2733
+ je = function(t, r) {
2764
2734
  var n;
2765
- ft.lastIndex = r;
2766
- var i = ft.exec(t);
2735
+ ct.lastIndex = r;
2736
+ var i = ct.exec(t);
2767
2737
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2768
2738
  };
2769
2739
  } else
2770
- De = function(t, r) {
2740
+ je = function(t, r) {
2771
2741
  for (var n = []; ; ) {
2772
- var i = Vt(t, r);
2773
- if (i === void 0 || zt(i) || Nn(i))
2742
+ var i = Xt(t, r);
2743
+ if (i === void 0 || Wt(i) || Ln(i))
2774
2744
  break;
2775
2745
  n.push(i), r += i >= 65536 ? 2 : 1;
2776
2746
  }
2777
- return Ge.apply(void 0, n);
2747
+ return Fe.apply(void 0, n);
2778
2748
  };
2779
- var wn = (
2749
+ var On = (
2780
2750
  /** @class */
2781
2751
  function() {
2782
2752
  function e(t, r) {
@@ -2800,14 +2770,14 @@ var wn = (
2800
2770
  if (s === 35 && (r === "plural" || r === "selectordinal")) {
2801
2771
  var u = this.clonePosition();
2802
2772
  this.bump(), i.push({
2803
- type: T.pound,
2773
+ type: x.pound,
2804
2774
  location: _(u, this.clonePosition())
2805
2775
  });
2806
2776
  } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
2807
2777
  if (n)
2808
2778
  break;
2809
2779
  return this.error(y.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
2810
- } else if (s === 60 && !this.ignoreTag && Fe(this.peek() || 0)) {
2780
+ } else if (s === 60 && !this.ignoreTag && ke(this.peek() || 0)) {
2811
2781
  var o = this.parseTag(t, r);
2812
2782
  if (o.err)
2813
2783
  return o;
@@ -2828,7 +2798,7 @@ var wn = (
2828
2798
  if (this.bumpSpace(), this.bumpIf("/>"))
2829
2799
  return {
2830
2800
  val: {
2831
- type: T.literal,
2801
+ type: x.literal,
2832
2802
  value: "<".concat(i, "/>"),
2833
2803
  location: _(n, this.clonePosition())
2834
2804
  },
@@ -2840,12 +2810,12 @@ var wn = (
2840
2810
  return s;
2841
2811
  var o = s.val, u = this.clonePosition();
2842
2812
  if (this.bumpIf("</")) {
2843
- if (this.isEOF() || !Fe(this.char()))
2813
+ if (this.isEOF() || !ke(this.char()))
2844
2814
  return this.error(y.INVALID_TAG, _(u, this.clonePosition()));
2845
2815
  var h = this.clonePosition(), a = this.parseTagName();
2846
2816
  return i !== a ? this.error(y.UNMATCHED_CLOSING_TAG, _(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2847
2817
  val: {
2848
- type: T.tag,
2818
+ type: x.tag,
2849
2819
  value: i,
2850
2820
  children: o,
2851
2821
  location: _(n, this.clonePosition())
@@ -2858,7 +2828,7 @@ var wn = (
2858
2828
  return this.error(y.INVALID_TAG, _(n, this.clonePosition()));
2859
2829
  }, e.prototype.parseTagName = function() {
2860
2830
  var t = this.offset();
2861
- for (this.bump(); !this.isEOF() && Pn(this.char()); )
2831
+ for (this.bump(); !this.isEOF() && Nn(this.char()); )
2862
2832
  this.bump();
2863
2833
  return this.message.slice(t, this.offset());
2864
2834
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2882,12 +2852,12 @@ var wn = (
2882
2852
  }
2883
2853
  var h = _(n, this.clonePosition());
2884
2854
  return {
2885
- val: { type: T.literal, value: i, location: h },
2855
+ val: { type: x.literal, value: i, location: h },
2886
2856
  err: null
2887
2857
  };
2888
2858
  }, e.prototype.tryParseLeftAngleBracket = function() {
2889
2859
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2890
- !On(this.peek() || 0)) ? (this.bump(), "<") : null;
2860
+ !Pn(this.peek() || 0)) ? (this.bump(), "<") : null;
2891
2861
  }, e.prototype.tryParseQuote = function(t) {
2892
2862
  if (this.isEOF() || this.char() !== 39)
2893
2863
  return null;
@@ -2921,12 +2891,12 @@ var wn = (
2921
2891
  r.push(n);
2922
2892
  this.bump();
2923
2893
  }
2924
- return Ge.apply(void 0, r);
2894
+ return Fe.apply(void 0, r);
2925
2895
  }, e.prototype.tryParseUnquoted = function(t, r) {
2926
2896
  if (this.isEOF())
2927
2897
  return null;
2928
2898
  var n = this.char();
2929
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ge(n));
2899
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Fe(n));
2930
2900
  }, e.prototype.parseArgument = function(t, r) {
2931
2901
  var n = this.clonePosition();
2932
2902
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -2942,7 +2912,7 @@ var wn = (
2942
2912
  case 125:
2943
2913
  return this.bump(), {
2944
2914
  val: {
2945
- type: T.argument,
2915
+ type: x.argument,
2946
2916
  // value does not include the opening and closing braces.
2947
2917
  value: i,
2948
2918
  location: _(n, this.clonePosition())
@@ -2955,7 +2925,7 @@ var wn = (
2955
2925
  return this.error(y.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
2956
2926
  }
2957
2927
  }, e.prototype.parseIdentifierIfPossible = function() {
2958
- var t = this.clonePosition(), r = this.offset(), n = De(this.message, r), i = r + n.length;
2928
+ var t = this.clonePosition(), r = this.offset(), n = je(this.message, r), i = r + n.length;
2959
2929
  this.bumpTo(i);
2960
2930
  var s = this.clonePosition(), o = _(t, s);
2961
2931
  return { value: n, location: o };
@@ -2974,44 +2944,44 @@ var wn = (
2974
2944
  var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
2975
2945
  if (c.err)
2976
2946
  return c;
2977
- var f = Bn(c.val);
2947
+ var f = wn(c.val);
2978
2948
  if (f.length === 0)
2979
2949
  return this.error(y.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
2980
- var d = _(l, this.clonePosition());
2981
- a = { style: f, styleLocation: d };
2950
+ var p = _(l, this.clonePosition());
2951
+ a = { style: f, styleLocation: p };
2982
2952
  }
2983
- var p = this.tryParseArgumentClose(i);
2984
- if (p.err)
2985
- return p;
2953
+ var d = this.tryParseArgumentClose(i);
2954
+ if (d.err)
2955
+ return d;
2986
2956
  var g = _(i, this.clonePosition());
2987
- if (a && ht(a == null ? void 0 : a.style, "::", 0)) {
2988
- var x = Sn(a.style.slice(2));
2957
+ if (a && lt(a == null ? void 0 : a.style, "::", 0)) {
2958
+ var E = Bn(a.style.slice(2));
2989
2959
  if (u === "number") {
2990
- var c = this.parseNumberSkeletonFromString(x, a.styleLocation);
2960
+ var c = this.parseNumberSkeletonFromString(E, a.styleLocation);
2991
2961
  return c.err ? c : {
2992
- val: { type: T.number, value: n, location: g, style: c.val },
2962
+ val: { type: x.number, value: n, location: g, style: c.val },
2993
2963
  err: null
2994
2964
  };
2995
2965
  } else {
2996
- if (x.length === 0)
2966
+ if (E.length === 0)
2997
2967
  return this.error(y.EXPECT_DATE_TIME_SKELETON, g);
2998
- var m = x;
2999
- this.locale && (m = mn(x, this.locale));
2968
+ var m = E;
2969
+ this.locale && (m = pn(E, this.locale));
3000
2970
  var f = {
3001
- type: q.dateTime,
2971
+ type: Y.dateTime,
3002
2972
  pattern: m,
3003
2973
  location: a.styleLocation,
3004
- parsedOptions: this.shouldParseSkeletons ? an(m) : {}
3005
- }, C = u === "date" ? T.date : T.time;
2974
+ parsedOptions: this.shouldParseSkeletons ? un(m) : {}
2975
+ }, T = u === "date" ? x.date : x.time;
3006
2976
  return {
3007
- val: { type: C, value: n, location: g, style: f },
2977
+ val: { type: T, value: n, location: g, style: f },
3008
2978
  err: null
3009
2979
  };
3010
2980
  }
3011
2981
  }
3012
2982
  return {
3013
2983
  val: {
3014
- type: u === "number" ? T.number : u === "date" ? T.date : T.time,
2984
+ type: u === "number" ? x.number : u === "date" ? x.date : x.time,
3015
2985
  value: n,
3016
2986
  location: g,
3017
2987
  style: (s = a == null ? void 0 : a.style) !== null && s !== void 0 ? s : null
@@ -3022,9 +2992,9 @@ var wn = (
3022
2992
  case "plural":
3023
2993
  case "selectordinal":
3024
2994
  case "select": {
3025
- var A = this.clonePosition();
2995
+ var S = this.clonePosition();
3026
2996
  if (this.bumpSpace(), !this.bumpIf(","))
3027
- return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, _(A, E({}, A)));
2997
+ return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, _(S, _e({}, S)));
3028
2998
  this.bumpSpace();
3029
2999
  var P = this.parseIdentifierIfPossible(), B = 0;
3030
3000
  if (u !== "select" && P.value === "offset") {
@@ -3039,23 +3009,23 @@ var wn = (
3039
3009
  var H = this.tryParsePluralOrSelectOptions(t, u, r, P);
3040
3010
  if (H.err)
3041
3011
  return H;
3042
- var p = this.tryParseArgumentClose(i);
3043
- if (p.err)
3044
- return p;
3012
+ var d = this.tryParseArgumentClose(i);
3013
+ if (d.err)
3014
+ return d;
3045
3015
  var N = _(i, this.clonePosition());
3046
3016
  return u === "select" ? {
3047
3017
  val: {
3048
- type: T.select,
3018
+ type: x.select,
3049
3019
  value: n,
3050
- options: lt(H.val),
3020
+ options: ft(H.val),
3051
3021
  location: N
3052
3022
  },
3053
3023
  err: null
3054
3024
  } : {
3055
3025
  val: {
3056
- type: T.plural,
3026
+ type: x.plural,
3057
3027
  value: n,
3058
- options: lt(H.val),
3028
+ options: ft(H.val),
3059
3029
  offset: B,
3060
3030
  pluralType: u === "plural" ? "cardinal" : "ordinal",
3061
3031
  location: N
@@ -3106,16 +3076,16 @@ var wn = (
3106
3076
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3107
3077
  var n = [];
3108
3078
  try {
3109
- n = hn(t);
3079
+ n = ln(t);
3110
3080
  } catch (i) {
3111
3081
  return this.error(y.INVALID_NUMBER_SKELETON, r);
3112
3082
  }
3113
3083
  return {
3114
3084
  val: {
3115
- type: q.number,
3085
+ type: Y.number,
3116
3086
  tokens: n,
3117
3087
  location: r,
3118
- parsedOptions: this.shouldParseSkeletons ? gn(n) : {}
3088
+ parsedOptions: this.shouldParseSkeletons ? mn(n) : {}
3119
3089
  },
3120
3090
  err: null
3121
3091
  };
@@ -3134,20 +3104,20 @@ var wn = (
3134
3104
  if (h.has(a))
3135
3105
  return this.error(r === "select" ? y.DUPLICATE_SELECT_ARGUMENT_SELECTOR : y.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
3136
3106
  a === "other" && (o = !0), this.bumpSpace();
3137
- var d = this.clonePosition();
3107
+ var p = this.clonePosition();
3138
3108
  if (!this.bumpIf("{"))
3139
3109
  return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, _(this.clonePosition(), this.clonePosition()));
3140
- var p = this.parseMessage(t + 1, r, n);
3141
- if (p.err)
3142
- return p;
3143
- var g = this.tryParseArgumentClose(d);
3110
+ var d = this.parseMessage(t + 1, r, n);
3111
+ if (d.err)
3112
+ return d;
3113
+ var g = this.tryParseArgumentClose(p);
3144
3114
  if (g.err)
3145
3115
  return g;
3146
3116
  u.push([
3147
3117
  a,
3148
3118
  {
3149
- value: p.val,
3150
- location: _(d, this.clonePosition())
3119
+ value: d.val,
3120
+ location: _(p, this.clonePosition())
3151
3121
  }
3152
3122
  ]), h.add(a), this.bumpSpace(), s = this.parseIdentifierIfPossible(), a = s.value, l = s.location;
3153
3123
  }
@@ -3163,7 +3133,7 @@ var wn = (
3163
3133
  break;
3164
3134
  }
3165
3135
  var h = _(i, this.clonePosition());
3166
- return s ? (o *= n, Hn(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
3136
+ return s ? (o *= n, Sn(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
3167
3137
  }, e.prototype.offset = function() {
3168
3138
  return this.position.offset;
3169
3139
  }, e.prototype.isEOF = function() {
@@ -3178,7 +3148,7 @@ var wn = (
3178
3148
  var t = this.position.offset;
3179
3149
  if (t >= this.message.length)
3180
3150
  throw Error("out of bound");
3181
- var r = Vt(this.message, t);
3151
+ var r = Xt(this.message, t);
3182
3152
  if (r === void 0)
3183
3153
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3184
3154
  return r;
@@ -3197,7 +3167,7 @@ var wn = (
3197
3167
  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);
3198
3168
  }
3199
3169
  }, e.prototype.bumpIf = function(t) {
3200
- if (ht(this.message, t, this.offset())) {
3170
+ if (lt(this.message, t, this.offset())) {
3201
3171
  for (var r = 0; r < t.length; r++)
3202
3172
  this.bump();
3203
3173
  return !0;
@@ -3219,7 +3189,7 @@ var wn = (
3219
3189
  break;
3220
3190
  }
3221
3191
  }, e.prototype.bumpSpace = function() {
3222
- for (; !this.isEOF() && zt(this.char()); )
3192
+ for (; !this.isEOF() && Wt(this.char()); )
3223
3193
  this.bump();
3224
3194
  }, e.prototype.peek = function() {
3225
3195
  if (this.isEOF())
@@ -3229,47 +3199,47 @@ var wn = (
3229
3199
  }, e;
3230
3200
  }()
3231
3201
  );
3232
- function Fe(e) {
3202
+ function ke(e) {
3233
3203
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3234
3204
  }
3235
- function On(e) {
3236
- return Fe(e) || e === 47;
3237
- }
3238
3205
  function Pn(e) {
3206
+ return ke(e) || e === 47;
3207
+ }
3208
+ function Nn(e) {
3239
3209
  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;
3240
3210
  }
3241
- function zt(e) {
3211
+ function Wt(e) {
3242
3212
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3243
3213
  }
3244
- function Nn(e) {
3214
+ function Ln(e) {
3245
3215
  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;
3246
3216
  }
3247
- function je(e) {
3217
+ function Ve(e) {
3248
3218
  e.forEach(function(t) {
3249
- if (delete t.location, $t(t) || Rt(t))
3219
+ if (delete t.location, Rt(t) || Ut(t))
3250
3220
  for (var r in t.options)
3251
- delete t.options[r].location, je(t.options[r].value);
3221
+ delete t.options[r].location, Ve(t.options[r].value);
3252
3222
  else
3253
- Lt(t) && Gt(t.style) || (It(t) || Mt(t)) && Re(t.style) ? delete t.style.location : Ut(t) && je(t.children);
3223
+ It(t) && Dt(t.style) || (Mt(t) || $t(t)) && Ge(t.style) ? delete t.style.location : Gt(t) && Ve(t.children);
3254
3224
  });
3255
3225
  }
3256
- function Ln(e, t) {
3257
- t === void 0 && (t = {}), t = E({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3258
- var r = new wn(e, t).parse();
3226
+ function In(e, t) {
3227
+ t === void 0 && (t = {}), t = _e({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3228
+ var r = new On(e, t).parse();
3259
3229
  if (r.err) {
3260
3230
  var n = SyntaxError(y[r.err.kind]);
3261
3231
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3262
3232
  }
3263
- return t != null && t.captureLocation || je(r.val), r.val;
3233
+ return t != null && t.captureLocation || Ve(r.val), r.val;
3264
3234
  }
3265
- var Y;
3235
+ var K;
3266
3236
  (function(e) {
3267
3237
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3268
- })(Y || (Y = {}));
3269
- var ve = (
3238
+ })(K || (K = {}));
3239
+ var Ce = (
3270
3240
  /** @class */
3271
3241
  function(e) {
3272
- xe(t, e);
3242
+ Te(t, e);
3273
3243
  function t(r, n, i) {
3274
3244
  var s = e.call(this, r) || this;
3275
3245
  return s.code = n, s.originalMessage = i, s;
@@ -3278,48 +3248,48 @@ var ve = (
3278
3248
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3279
3249
  }, t;
3280
3250
  }(Error)
3281
- ), ct = (
3251
+ ), gt = (
3282
3252
  /** @class */
3283
3253
  function(e) {
3284
- xe(t, e);
3254
+ Te(t, e);
3285
3255
  function t(r, n, i, s) {
3286
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Y.INVALID_VALUE, s) || this;
3256
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), K.INVALID_VALUE, s) || this;
3287
3257
  }
3288
3258
  return t;
3289
- }(ve)
3290
- ), In = (
3259
+ }(Ce)
3260
+ ), Mn = (
3291
3261
  /** @class */
3292
3262
  function(e) {
3293
- xe(t, e);
3263
+ Te(t, e);
3294
3264
  function t(r, n, i) {
3295
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Y.INVALID_VALUE, i) || this;
3265
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), K.INVALID_VALUE, i) || this;
3296
3266
  }
3297
3267
  return t;
3298
- }(ve)
3299
- ), Mn = (
3268
+ }(Ce)
3269
+ ), $n = (
3300
3270
  /** @class */
3301
3271
  function(e) {
3302
- xe(t, e);
3272
+ Te(t, e);
3303
3273
  function t(r, n) {
3304
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Y.MISSING_VALUE, n) || this;
3274
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), K.MISSING_VALUE, n) || this;
3305
3275
  }
3306
3276
  return t;
3307
- }(ve)
3277
+ }(Ce)
3308
3278
  ), O;
3309
3279
  (function(e) {
3310
3280
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3311
3281
  })(O || (O = {}));
3312
- function $n(e) {
3282
+ function Rn(e) {
3313
3283
  return e.length < 2 ? e : e.reduce(function(t, r) {
3314
3284
  var n = t[t.length - 1];
3315
3285
  return !n || n.type !== O.literal || r.type !== O.literal ? t.push(r) : n.value += r.value, t;
3316
3286
  }, []);
3317
3287
  }
3318
- function Rn(e) {
3288
+ function Un(e) {
3319
3289
  return typeof e == "function";
3320
3290
  }
3321
3291
  function de(e, t, r, n, i, s, o) {
3322
- if (e.length === 1 && st(e[0]))
3292
+ if (e.length === 1 && ot(e[0]))
3323
3293
  return [
3324
3294
  {
3325
3295
  type: O.literal,
@@ -3328,14 +3298,14 @@ function de(e, t, r, n, i, s, o) {
3328
3298
  ];
3329
3299
  for (var u = [], h = 0, a = e; h < a.length; h++) {
3330
3300
  var l = a[h];
3331
- if (st(l)) {
3301
+ if (ot(l)) {
3332
3302
  u.push({
3333
3303
  type: O.literal,
3334
3304
  value: l.value
3335
3305
  });
3336
3306
  continue;
3337
3307
  }
3338
- if (sn(l)) {
3308
+ if (on(l)) {
3339
3309
  typeof s == "number" && u.push({
3340
3310
  type: O.literal,
3341
3311
  value: r.getNumberFormat(t).format(s)
@@ -3344,89 +3314,89 @@ function de(e, t, r, n, i, s, o) {
3344
3314
  }
3345
3315
  var c = l.value;
3346
3316
  if (!(i && c in i))
3347
- throw new Mn(c, o);
3317
+ throw new $n(c, o);
3348
3318
  var f = i[c];
3349
- if (nn(l)) {
3319
+ if (sn(l)) {
3350
3320
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), u.push({
3351
3321
  type: typeof f == "string" ? O.literal : O.object,
3352
3322
  value: f
3353
3323
  });
3354
3324
  continue;
3355
3325
  }
3356
- if (It(l)) {
3357
- var d = typeof l.style == "string" ? n.date[l.style] : Re(l.style) ? l.style.parsedOptions : void 0;
3326
+ if (Mt(l)) {
3327
+ var p = typeof l.style == "string" ? n.date[l.style] : Ge(l.style) ? l.style.parsedOptions : void 0;
3358
3328
  u.push({
3359
3329
  type: O.literal,
3360
- value: r.getDateTimeFormat(t, d).format(f)
3330
+ value: r.getDateTimeFormat(t, p).format(f)
3361
3331
  });
3362
3332
  continue;
3363
3333
  }
3364
- if (Mt(l)) {
3365
- var d = typeof l.style == "string" ? n.time[l.style] : Re(l.style) ? l.style.parsedOptions : n.time.medium;
3334
+ if ($t(l)) {
3335
+ var p = typeof l.style == "string" ? n.time[l.style] : Ge(l.style) ? l.style.parsedOptions : n.time.medium;
3366
3336
  u.push({
3367
3337
  type: O.literal,
3368
- value: r.getDateTimeFormat(t, d).format(f)
3338
+ value: r.getDateTimeFormat(t, p).format(f)
3369
3339
  });
3370
3340
  continue;
3371
3341
  }
3372
- if (Lt(l)) {
3373
- var d = typeof l.style == "string" ? n.number[l.style] : Gt(l.style) ? l.style.parsedOptions : void 0;
3374
- d && d.scale && (f = f * (d.scale || 1)), u.push({
3342
+ if (It(l)) {
3343
+ var p = typeof l.style == "string" ? n.number[l.style] : Dt(l.style) ? l.style.parsedOptions : void 0;
3344
+ p && p.scale && (f = f * (p.scale || 1)), u.push({
3375
3345
  type: O.literal,
3376
- value: r.getNumberFormat(t, d).format(f)
3346
+ value: r.getNumberFormat(t, p).format(f)
3377
3347
  });
3378
3348
  continue;
3379
3349
  }
3380
- if (Ut(l)) {
3381
- var p = l.children, g = l.value, x = i[g];
3382
- if (!Rn(x))
3383
- throw new In(g, "function", o);
3384
- var m = de(p, t, r, n, i, s), C = x(m.map(function(B) {
3350
+ if (Gt(l)) {
3351
+ var d = l.children, g = l.value, E = i[g];
3352
+ if (!Un(E))
3353
+ throw new Mn(g, "function", o);
3354
+ var m = de(d, t, r, n, i, s), T = E(m.map(function(B) {
3385
3355
  return B.value;
3386
3356
  }));
3387
- Array.isArray(C) || (C = [C]), u.push.apply(u, C.map(function(B) {
3357
+ Array.isArray(T) || (T = [T]), u.push.apply(u, T.map(function(B) {
3388
3358
  return {
3389
3359
  type: typeof B == "string" ? O.literal : O.object,
3390
3360
  value: B
3391
3361
  };
3392
3362
  }));
3393
3363
  }
3394
- if ($t(l)) {
3395
- var A = l.options[f] || l.options.other;
3396
- if (!A)
3397
- throw new ct(l.value, f, Object.keys(l.options), o);
3398
- u.push.apply(u, de(A.value, t, r, n, i));
3364
+ if (Rt(l)) {
3365
+ var S = l.options[f] || l.options.other;
3366
+ if (!S)
3367
+ throw new gt(l.value, f, Object.keys(l.options), o);
3368
+ u.push.apply(u, de(S.value, t, r, n, i));
3399
3369
  continue;
3400
3370
  }
3401
- if (Rt(l)) {
3402
- var A = l.options["=".concat(f)];
3403
- if (!A) {
3371
+ if (Ut(l)) {
3372
+ var S = l.options["=".concat(f)];
3373
+ if (!S) {
3404
3374
  if (!Intl.PluralRules)
3405
- throw new ve(`Intl.PluralRules is not available in this environment.
3375
+ throw new Ce(`Intl.PluralRules is not available in this environment.
3406
3376
  Try polyfilling it using "@formatjs/intl-pluralrules"
3407
- `, Y.MISSING_INTL_API, o);
3377
+ `, K.MISSING_INTL_API, o);
3408
3378
  var P = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
3409
- A = l.options[P] || l.options.other;
3379
+ S = l.options[P] || l.options.other;
3410
3380
  }
3411
- if (!A)
3412
- throw new ct(l.value, f, Object.keys(l.options), o);
3413
- u.push.apply(u, de(A.value, t, r, n, i, f - (l.offset || 0)));
3381
+ if (!S)
3382
+ throw new gt(l.value, f, Object.keys(l.options), o);
3383
+ u.push.apply(u, de(S.value, t, r, n, i, f - (l.offset || 0)));
3414
3384
  continue;
3415
3385
  }
3416
3386
  }
3417
- return $n(u);
3387
+ return Rn(u);
3418
3388
  }
3419
- function Un(e, t) {
3420
- return t ? E(E(E({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3421
- return r[n] = E(E({}, e[n]), t[n] || {}), r;
3389
+ function Gn(e, t) {
3390
+ return t ? U(U(U({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3391
+ return r[n] = U(U({}, e[n]), t[n] || {}), r;
3422
3392
  }, {})) : e;
3423
3393
  }
3424
- function Gn(e, t) {
3394
+ function Dn(e, t) {
3425
3395
  return t ? Object.keys(e).reduce(function(r, n) {
3426
- return r[n] = Un(e[n], t[n]), r;
3427
- }, E({}, e)) : e;
3396
+ return r[n] = Gn(e[n], t[n]), r;
3397
+ }, U({}, e)) : e;
3428
3398
  }
3429
- function Pe(e) {
3399
+ function Le(e) {
3430
3400
  return {
3431
3401
  create: function() {
3432
3402
  return {
@@ -3440,39 +3410,39 @@ function Pe(e) {
3440
3410
  }
3441
3411
  };
3442
3412
  }
3443
- function Dn(e) {
3413
+ function Fn(e) {
3444
3414
  return e === void 0 && (e = {
3445
3415
  number: {},
3446
3416
  dateTime: {},
3447
3417
  pluralRules: {}
3448
3418
  }), {
3449
- getNumberFormat: Be(function() {
3419
+ getNumberFormat: Oe(function() {
3450
3420
  for (var t, r = [], n = 0; n < arguments.length; n++)
3451
3421
  r[n] = arguments[n];
3452
- return new ((t = Intl.NumberFormat).bind.apply(t, Se([void 0], r, !1)))();
3422
+ return new ((t = Intl.NumberFormat).bind.apply(t, we([void 0], r, !1)))();
3453
3423
  }, {
3454
- cache: Pe(e.number),
3455
- strategy: we.variadic
3424
+ cache: Le(e.number),
3425
+ strategy: Pe.variadic
3456
3426
  }),
3457
- getDateTimeFormat: Be(function() {
3427
+ getDateTimeFormat: Oe(function() {
3458
3428
  for (var t, r = [], n = 0; n < arguments.length; n++)
3459
3429
  r[n] = arguments[n];
3460
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Se([void 0], r, !1)))();
3430
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, we([void 0], r, !1)))();
3461
3431
  }, {
3462
- cache: Pe(e.dateTime),
3463
- strategy: we.variadic
3432
+ cache: Le(e.dateTime),
3433
+ strategy: Pe.variadic
3464
3434
  }),
3465
- getPluralRules: Be(function() {
3435
+ getPluralRules: Oe(function() {
3466
3436
  for (var t, r = [], n = 0; n < arguments.length; n++)
3467
3437
  r[n] = arguments[n];
3468
- return new ((t = Intl.PluralRules).bind.apply(t, Se([void 0], r, !1)))();
3438
+ return new ((t = Intl.PluralRules).bind.apply(t, we([void 0], r, !1)))();
3469
3439
  }, {
3470
- cache: Pe(e.pluralRules),
3471
- strategy: we.variadic
3440
+ cache: Le(e.pluralRules),
3441
+ strategy: Pe.variadic
3472
3442
  })
3473
3443
  };
3474
3444
  }
3475
- var Fn = (
3445
+ var jn = (
3476
3446
  /** @class */
3477
3447
  function() {
3478
3448
  function e(t, r, n, i) {
@@ -3504,13 +3474,13 @@ var Fn = (
3504
3474
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3505
3475
  var o = i || {};
3506
3476
  o.formatters;
3507
- var u = Qr(o, ["formatters"]);
3508
- this.ast = e.__parse(t, E(E({}, u), { locale: this.resolvedLocale }));
3477
+ var u = qr(o, ["formatters"]);
3478
+ this.ast = e.__parse(t, U(U({}, u), { locale: this.resolvedLocale }));
3509
3479
  } else
3510
3480
  this.ast = t;
3511
3481
  if (!Array.isArray(this.ast))
3512
3482
  throw new TypeError("A message must be provided as a String or AST.");
3513
- this.formats = Gn(e.formats, n), this.formatters = i && i.formatters || Dn(this.formatterCache);
3483
+ this.formats = Dn(e.formats, n), this.formatters = i && i.formatters || Fn(this.formatterCache);
3514
3484
  }
3515
3485
  return Object.defineProperty(e, "defaultLocale", {
3516
3486
  get: function() {
@@ -3523,7 +3493,7 @@ var Fn = (
3523
3493
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3524
3494
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3525
3495
  }
3526
- }, e.__parse = Ln, e.formats = {
3496
+ }, e.__parse = In, e.formats = {
3527
3497
  number: {
3528
3498
  integer: {
3529
3499
  maximumFractionDigits: 0
@@ -3584,7 +3554,7 @@ var Fn = (
3584
3554
  }, e;
3585
3555
  }()
3586
3556
  );
3587
- function jn(e, t) {
3557
+ function kn(e, t) {
3588
3558
  if (t == null)
3589
3559
  return;
3590
3560
  if (t in e)
@@ -3605,90 +3575,90 @@ function jn(e, t) {
3605
3575
  n = void 0;
3606
3576
  return n;
3607
3577
  }
3608
- const D = {}, kn = (e, t, r) => r && (t in D || (D[t] = {}), e in D[t] || (D[t][e] = r), r), Wt = (e, t) => {
3578
+ const F = {}, Vn = (e, t, r) => r && (t in F || (F[t] = {}), e in F[t] || (F[t][e] = r), r), Zt = (e, t) => {
3609
3579
  if (t == null)
3610
3580
  return;
3611
- if (t in D && e in D[t])
3612
- return D[t][e];
3613
- const r = Te(t);
3581
+ if (t in F && e in F[t])
3582
+ return F[t][e];
3583
+ const r = He(t);
3614
3584
  for (let n = 0; n < r.length; n++) {
3615
- const i = r[n], s = Xn(i, e);
3585
+ const i = r[n], s = zn(i, e);
3616
3586
  if (s)
3617
- return kn(e, t, s);
3587
+ return Vn(e, t, s);
3618
3588
  }
3619
3589
  };
3620
- let We;
3621
- const he = Ee({});
3622
- function Vn(e) {
3623
- return We[e] || null;
3590
+ let Ze;
3591
+ const le = xe({});
3592
+ function Xn(e) {
3593
+ return Ze[e] || null;
3624
3594
  }
3625
- function Zt(e) {
3626
- return e in We;
3595
+ function Qt(e) {
3596
+ return e in Ze;
3627
3597
  }
3628
- function Xn(e, t) {
3629
- if (!Zt(e))
3598
+ function zn(e, t) {
3599
+ if (!Qt(e))
3630
3600
  return null;
3631
- const r = Vn(e);
3632
- return jn(r, t);
3601
+ const r = Xn(e);
3602
+ return kn(r, t);
3633
3603
  }
3634
- function zn(e) {
3604
+ function Wn(e) {
3635
3605
  if (e == null)
3636
3606
  return;
3637
- const t = Te(e);
3607
+ const t = He(e);
3638
3608
  for (let r = 0; r < t.length; r++) {
3639
3609
  const n = t[r];
3640
- if (Zt(n))
3610
+ if (Qt(n))
3641
3611
  return n;
3642
3612
  }
3643
3613
  }
3644
- function Qt(e, ...t) {
3645
- delete D[e], he.update((r) => (r[e] = Zr.all([r[e] || {}, ...t]), r));
3614
+ function qt(e, ...t) {
3615
+ delete F[e], le.update((r) => (r[e] = Qr.all([r[e] || {}, ...t]), r));
3646
3616
  }
3647
- ee(
3648
- [he],
3617
+ te(
3618
+ [le],
3649
3619
  ([e]) => Object.keys(e)
3650
3620
  );
3651
- he.subscribe((e) => We = e);
3652
- const pe = {};
3653
- function Wn(e, t) {
3654
- pe[e].delete(t), pe[e].size === 0 && delete pe[e];
3621
+ le.subscribe((e) => Ze = e);
3622
+ const be = {};
3623
+ function Zn(e, t) {
3624
+ be[e].delete(t), be[e].size === 0 && delete be[e];
3655
3625
  }
3656
3626
  function Jt(e) {
3657
- return pe[e];
3627
+ return be[e];
3658
3628
  }
3659
- function Zn(e) {
3660
- return Te(e).map((t) => {
3629
+ function Qn(e) {
3630
+ return He(e).map((t) => {
3661
3631
  const r = Jt(t);
3662
3632
  return [t, r ? [...r] : []];
3663
3633
  }).filter(([, t]) => t.length > 0);
3664
3634
  }
3665
- function ke(e) {
3666
- return e == null ? !1 : Te(e).some(
3635
+ function Xe(e) {
3636
+ return e == null ? !1 : He(e).some(
3667
3637
  (t) => {
3668
3638
  var r;
3669
3639
  return (r = Jt(t)) == null ? void 0 : r.size;
3670
3640
  }
3671
3641
  );
3672
3642
  }
3673
- function Qn(e, t) {
3643
+ function qn(e, t) {
3674
3644
  return Promise.all(
3675
- t.map((n) => (Wn(e, n), n().then((i) => i.default || i)))
3676
- ).then((n) => Qt(e, ...n));
3677
- }
3678
- const ne = {};
3679
- function qt(e) {
3680
- if (!ke(e))
3681
- return e in ne ? ne[e] : Promise.resolve();
3682
- const t = Zn(e);
3683
- return ne[e] = Promise.all(
3645
+ t.map((n) => (Zn(e, n), n().then((i) => i.default || i)))
3646
+ ).then((n) => qt(e, ...n));
3647
+ }
3648
+ const ie = {};
3649
+ function Yt(e) {
3650
+ if (!Xe(e))
3651
+ return e in ie ? ie[e] : Promise.resolve();
3652
+ const t = Qn(e);
3653
+ return ie[e] = Promise.all(
3684
3654
  t.map(
3685
- ([r, n]) => Qn(r, n)
3655
+ ([r, n]) => qn(r, n)
3686
3656
  )
3687
3657
  ).then(() => {
3688
- if (ke(e))
3689
- return qt(e);
3690
- delete ne[e];
3691
- }), ne[e];
3658
+ if (Xe(e))
3659
+ return Yt(e);
3660
+ delete ie[e];
3661
+ }), ie[e];
3692
3662
  }
3693
3663
  const Jn = {
3694
3664
  number: {
@@ -3719,133 +3689,133 @@ const Jn = {
3719
3689
  timeZoneName: "short"
3720
3690
  }
3721
3691
  }
3722
- }, qn = {
3692
+ }, Yn = {
3723
3693
  fallbackLocale: null,
3724
3694
  loadingDelay: 200,
3725
3695
  formats: Jn,
3726
3696
  warnOnMissingMessages: !0,
3727
3697
  handleMissingMessage: void 0,
3728
3698
  ignoreTag: !0
3729
- }, Yn = qn;
3730
- function K() {
3731
- return Yn;
3732
- }
3733
- const Ne = Ee(!1);
3734
- var Kn = Object.defineProperty, ei = Object.defineProperties, ti = Object.getOwnPropertyDescriptors, gt = Object.getOwnPropertySymbols, ri = Object.prototype.hasOwnProperty, ni = Object.prototype.propertyIsEnumerable, mt = (e, t, r) => t in e ? Kn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ii = (e, t) => {
3735
- for (var r in t)
3736
- ri.call(t, r) && mt(e, r, t[r]);
3737
- if (gt)
3738
- for (var r of gt(t))
3739
- ni.call(t, r) && mt(e, r, t[r]);
3699
+ }, Kn = Yn;
3700
+ function ee() {
3701
+ return Kn;
3702
+ }
3703
+ const Ie = xe(!1);
3704
+ var ei = Object.defineProperty, ti = Object.defineProperties, ri = Object.getOwnPropertyDescriptors, mt = Object.getOwnPropertySymbols, ni = Object.prototype.hasOwnProperty, ii = Object.prototype.propertyIsEnumerable, pt = (e, t, r) => t in e ? ei(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, si = (e, t) => {
3705
+ for (var r in t || (t = {}))
3706
+ ni.call(t, r) && pt(e, r, t[r]);
3707
+ if (mt)
3708
+ for (var r of mt(t))
3709
+ ii.call(t, r) && pt(e, r, t[r]);
3740
3710
  return e;
3741
- }, si = (e, t) => ei(e, ti(t));
3742
- let Ve;
3743
- const ye = Ee(null);
3711
+ }, oi = (e, t) => ti(e, ri(t));
3712
+ let ze;
3713
+ const Ee = xe(null);
3744
3714
  function dt(e) {
3745
3715
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3746
3716
  }
3747
- function Te(e, t = K().fallbackLocale) {
3717
+ function He(e, t = ee().fallbackLocale) {
3748
3718
  const r = dt(e);
3749
3719
  return t ? [.../* @__PURE__ */ new Set([...r, ...dt(t)])] : r;
3750
3720
  }
3751
- function X() {
3752
- return Ve != null ? Ve : void 0;
3721
+ function z() {
3722
+ return ze != null ? ze : void 0;
3753
3723
  }
3754
- ye.subscribe((e) => {
3755
- Ve = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3724
+ Ee.subscribe((e) => {
3725
+ ze = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3756
3726
  });
3757
- const oi = (e) => {
3758
- if (e && zn(e) && ke(e)) {
3759
- const { loadingDelay: t } = K();
3727
+ const ai = (e) => {
3728
+ if (e && Wn(e) && Xe(e)) {
3729
+ const { loadingDelay: t } = ee();
3760
3730
  let r;
3761
- return typeof window != "undefined" && X() != null && t ? r = window.setTimeout(
3762
- () => Ne.set(!0),
3731
+ return typeof window != "undefined" && z() != null && t ? r = window.setTimeout(
3732
+ () => Ie.set(!0),
3763
3733
  t
3764
- ) : Ne.set(!0), qt(e).then(() => {
3765
- ye.set(e);
3734
+ ) : Ie.set(!0), Yt(e).then(() => {
3735
+ Ee.set(e);
3766
3736
  }).finally(() => {
3767
- clearTimeout(r), Ne.set(!1);
3737
+ clearTimeout(r), Ie.set(!1);
3768
3738
  });
3769
3739
  }
3770
- return ye.set(e);
3771
- }, te = si(ii({}, ye), {
3772
- set: oi
3773
- }), Ce = (e) => {
3740
+ return Ee.set(e);
3741
+ }, re = oi(si({}, Ee), {
3742
+ set: ai
3743
+ }), Se = (e) => {
3774
3744
  const t = /* @__PURE__ */ Object.create(null);
3775
3745
  return (n) => {
3776
3746
  const i = JSON.stringify(n);
3777
3747
  return i in t ? t[i] : t[i] = e(n);
3778
3748
  };
3779
3749
  };
3780
- var ai = Object.defineProperty, _e = Object.getOwnPropertySymbols, Yt = Object.prototype.hasOwnProperty, Kt = Object.prototype.propertyIsEnumerable, pt = (e, t, r) => t in e ? ai(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ze = (e, t) => {
3750
+ var ui = Object.defineProperty, ve = Object.getOwnPropertySymbols, Kt = Object.prototype.hasOwnProperty, er = Object.prototype.propertyIsEnumerable, bt = (e, t, r) => t in e ? ui(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Qe = (e, t) => {
3781
3751
  for (var r in t || (t = {}))
3782
- Yt.call(t, r) && pt(e, r, t[r]);
3783
- if (_e)
3784
- for (var r of _e(t))
3785
- Kt.call(t, r) && pt(e, r, t[r]);
3752
+ Kt.call(t, r) && bt(e, r, t[r]);
3753
+ if (ve)
3754
+ for (var r of ve(t))
3755
+ er.call(t, r) && bt(e, r, t[r]);
3786
3756
  return e;
3787
- }, re = (e, t) => {
3757
+ }, ne = (e, t) => {
3788
3758
  var r = {};
3789
3759
  for (var n in e)
3790
- Yt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3791
- if (e != null && _e)
3792
- for (var n of _e(e))
3793
- t.indexOf(n) < 0 && Kt.call(e, n) && (r[n] = e[n]);
3760
+ Kt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3761
+ if (e != null && ve)
3762
+ for (var n of ve(e))
3763
+ t.indexOf(n) < 0 && er.call(e, n) && (r[n] = e[n]);
3794
3764
  return r;
3795
3765
  };
3796
- const ae = (e, t) => {
3797
- const { formats: r } = K();
3766
+ const ue = (e, t) => {
3767
+ const { formats: r } = ee();
3798
3768
  if (e in r && t in r[e])
3799
3769
  return r[e][t];
3800
3770
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3801
- }, ui = Ce(
3771
+ }, hi = Se(
3802
3772
  (e) => {
3803
- var t = e, { locale: r, format: n } = t, i = re(t, ["locale", "format"]);
3773
+ var t = e, { locale: r, format: n } = t, i = ne(t, ["locale", "format"]);
3804
3774
  if (r == null)
3805
3775
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3806
- return n && (i = ae("number", n)), new Intl.NumberFormat(r, i);
3776
+ return n && (i = ue("number", n)), new Intl.NumberFormat(r, i);
3807
3777
  }
3808
- ), hi = Ce(
3778
+ ), li = Se(
3809
3779
  (e) => {
3810
- var t = e, { locale: r, format: n } = t, i = re(t, ["locale", "format"]);
3780
+ var t = e, { locale: r, format: n } = t, i = ne(t, ["locale", "format"]);
3811
3781
  if (r == null)
3812
3782
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3813
- return n ? i = ae("date", n) : Object.keys(i).length === 0 && (i = ae("date", "short")), new Intl.DateTimeFormat(r, i);
3783
+ return n ? i = ue("date", n) : Object.keys(i).length === 0 && (i = ue("date", "short")), new Intl.DateTimeFormat(r, i);
3814
3784
  }
3815
- ), li = Ce(
3785
+ ), fi = Se(
3816
3786
  (e) => {
3817
- var t = e, { locale: r, format: n } = t, i = re(t, ["locale", "format"]);
3787
+ var t = e, { locale: r, format: n } = t, i = ne(t, ["locale", "format"]);
3818
3788
  if (r == null)
3819
3789
  throw new Error(
3820
3790
  '[svelte-i18n] A "locale" must be set to format time values'
3821
3791
  );
3822
- return n ? i = ae("time", n) : Object.keys(i).length === 0 && (i = ae("time", "short")), new Intl.DateTimeFormat(r, i);
3792
+ return n ? i = ue("time", n) : Object.keys(i).length === 0 && (i = ue("time", "short")), new Intl.DateTimeFormat(r, i);
3823
3793
  }
3824
- ), fi = (e = {}) => {
3794
+ ), ci = (e = {}) => {
3825
3795
  var t = e, {
3826
- locale: r = X()
3827
- } = t, n = re(t, [
3796
+ locale: r = z()
3797
+ } = t, n = ne(t, [
3828
3798
  "locale"
3829
3799
  ]);
3830
- return ui(Ze({ locale: r }, n));
3831
- }, ci = (e = {}) => {
3800
+ return hi(Qe({ locale: r }, n));
3801
+ }, gi = (e = {}) => {
3832
3802
  var t = e, {
3833
- locale: r = X()
3834
- } = t, n = re(t, [
3803
+ locale: r = z()
3804
+ } = t, n = ne(t, [
3835
3805
  "locale"
3836
3806
  ]);
3837
- return hi(Ze({ locale: r }, n));
3838
- }, gi = (e = {}) => {
3807
+ return li(Qe({ locale: r }, n));
3808
+ }, mi = (e = {}) => {
3839
3809
  var t = e, {
3840
- locale: r = X()
3841
- } = t, n = re(t, [
3810
+ locale: r = z()
3811
+ } = t, n = ne(t, [
3842
3812
  "locale"
3843
3813
  ]);
3844
- return li(Ze({ locale: r }, n));
3845
- }, mi = Ce(
3814
+ return fi(Qe({ locale: r }, n));
3815
+ }, pi = Se(
3846
3816
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3847
- (e, t = X()) => new Fn(e, t, K().formats, {
3848
- ignoreTag: K().ignoreTag
3817
+ (e, t = z()) => new jn(e, t, ee().formats, {
3818
+ ignoreTag: ee().ignoreTag
3849
3819
  })
3850
3820
  ), di = (e, t = {}) => {
3851
3821
  var r, n, i, s;
@@ -3853,16 +3823,16 @@ const ae = (e, t) => {
3853
3823
  typeof e == "object" && (o = e, e = o.id);
3854
3824
  const {
3855
3825
  values: u,
3856
- locale: h = X(),
3826
+ locale: h = z(),
3857
3827
  default: a
3858
3828
  } = o;
3859
3829
  if (h == null)
3860
3830
  throw new Error(
3861
3831
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3862
3832
  );
3863
- let l = Wt(e, h);
3833
+ let l = Zt(e, h);
3864
3834
  if (!l)
3865
- l = (s = (i = (n = (r = K()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: a })) != null ? i : a) != null ? s : e;
3835
+ l = (s = (i = (n = (r = ee()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: a })) != null ? i : a) != null ? s : e;
3866
3836
  else if (typeof l != "string")
3867
3837
  return console.warn(
3868
3838
  `[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.`
@@ -3871,7 +3841,7 @@ const ae = (e, t) => {
3871
3841
  return l;
3872
3842
  let c = l;
3873
3843
  try {
3874
- c = mi(l, h).format(u);
3844
+ c = pi(l, h).format(u);
3875
3845
  } catch (f) {
3876
3846
  f instanceof Error && console.warn(
3877
3847
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3879,18 +3849,18 @@ const ae = (e, t) => {
3879
3849
  );
3880
3850
  }
3881
3851
  return c;
3882
- }, pi = (e, t) => gi(t).format(e), bi = (e, t) => ci(t).format(e), yi = (e, t) => fi(t).format(e), _i = (e, t = X()) => Wt(e, t), Ei = ee([te, he], () => di);
3883
- ee([te], () => pi);
3884
- ee([te], () => bi);
3885
- ee([te], () => yi);
3886
- ee([te, he], () => _i);
3887
- function bt(e, t) {
3888
- Qt(e, t);
3852
+ }, bi = (e, t) => mi(t).format(e), yi = (e, t) => gi(t).format(e), _i = (e, t) => ci(t).format(e), Ei = (e, t = z()) => Zt(e, t), vi = te([re, le], () => di);
3853
+ te([re], () => bi);
3854
+ te([re], () => yi);
3855
+ te([re], () => _i);
3856
+ te([re, le], () => Ei);
3857
+ function yt(e, t) {
3858
+ qt(e, t);
3889
3859
  }
3890
3860
  function xi(e) {
3891
- te.set(e);
3861
+ re.set(e);
3892
3862
  }
3893
- const yt = {
3863
+ const _t = {
3894
3864
  en: {
3895
3865
  topCategories: "Top Categories",
3896
3866
  otherCategories: "Other Categories",
@@ -4000,107 +3970,107 @@ const yt = {
4000
3970
  games: "games"
4001
3971
  }
4002
3972
  };
4003
- function vi(e) {
4004
- lr(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}");
3973
+ function Ti(e) {
3974
+ fr(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}");
4005
3975
  }
4006
- function _t(e, t, r) {
3976
+ function Et(e, t, r) {
4007
3977
  const n = e.slice();
4008
3978
  return n[23] = t[r], n;
4009
3979
  }
4010
- function Et(e, t, r) {
3980
+ function vt(e, t, r) {
4011
3981
  const n = e.slice();
4012
3982
  return n[23] = t[r], n;
4013
3983
  }
4014
- function Ti(e) {
3984
+ function Ci(e) {
4015
3985
  let t, r, n = (
4016
3986
  /*$_*/
4017
3987
  e[5]("topCategories") + ""
4018
3988
  ), i, s, o, u, h = (
4019
3989
  /*$_*/
4020
3990
  e[5]("otherCategories") + ""
4021
- ), a, l, c = ce(
3991
+ ), a, l, c = ge(
4022
3992
  /*topCategories*/
4023
3993
  e[3]
4024
3994
  ), f = [];
4025
3995
  for (let g = 0; g < c.length; g += 1)
4026
- f[g] = xt(Et(e, c, g));
4027
- let d = ce(
3996
+ f[g] = xt(vt(e, c, g));
3997
+ let p = ge(
4028
3998
  /*otherCategories*/
4029
3999
  e[4]
4030
- ), p = [];
4031
- for (let g = 0; g < d.length; g += 1)
4032
- p[g] = vt(_t(e, d, g));
4000
+ ), d = [];
4001
+ for (let g = 0; g < p.length; g += 1)
4002
+ d[g] = Tt(Et(e, p, g));
4033
4003
  return {
4034
4004
  c() {
4035
- t = S("div"), r = S("h4"), i = G(n), s = U();
4005
+ t = A("div"), r = A("h4"), i = D(n), s = G();
4036
4006
  for (let g = 0; g < f.length; g += 1)
4037
4007
  f[g].c();
4038
- o = U(), u = S("h4"), a = G(h), l = U();
4039
- for (let g = 0; g < p.length; g += 1)
4040
- p[g].c();
4008
+ o = G(), u = A("h4"), a = D(h), l = G();
4009
+ for (let g = 0; g < d.length; g += 1)
4010
+ d[g].c();
4041
4011
  I(r, "class", "CategoryTitle"), I(u, "class", "CategoryTitle"), I(t, "class", "CasinoCategories");
4042
4012
  },
4043
- m(g, x) {
4044
- V(g, t, x), v(t, r), v(r, i), v(t, s);
4013
+ m(g, E) {
4014
+ X(g, t, E), v(t, r), v(r, i), v(t, s);
4045
4015
  for (let m = 0; m < f.length; m += 1)
4046
4016
  f[m] && f[m].m(t, null);
4047
4017
  v(t, o), v(t, u), v(u, a), v(t, l);
4048
- for (let m = 0; m < p.length; m += 1)
4049
- p[m] && p[m].m(t, null);
4018
+ for (let m = 0; m < d.length; m += 1)
4019
+ d[m] && d[m].m(t, null);
4050
4020
  },
4051
- p(g, x) {
4052
- if (x & /*$_*/
4021
+ p(g, E) {
4022
+ if (E & /*$_*/
4053
4023
  32 && n !== (n = /*$_*/
4054
- g[5]("topCategories") + "") && F(i, n), x & /*activecategory, topCategories, openGameCategory, $_*/
4024
+ g[5]("topCategories") + "") && j(i, n), E & /*activecategory, topCategories, openGameCategory, $_*/
4055
4025
  105) {
4056
- c = ce(
4026
+ c = ge(
4057
4027
  /*topCategories*/
4058
4028
  g[3]
4059
4029
  );
4060
4030
  let m;
4061
4031
  for (m = 0; m < c.length; m += 1) {
4062
- const C = Et(g, c, m);
4063
- f[m] ? f[m].p(C, x) : (f[m] = xt(C), f[m].c(), f[m].m(t, o));
4032
+ const T = vt(g, c, m);
4033
+ f[m] ? f[m].p(T, E) : (f[m] = xt(T), f[m].c(), f[m].m(t, o));
4064
4034
  }
4065
4035
  for (; m < f.length; m += 1)
4066
4036
  f[m].d(1);
4067
4037
  f.length = c.length;
4068
4038
  }
4069
- if (x & /*$_*/
4039
+ if (E & /*$_*/
4070
4040
  32 && h !== (h = /*$_*/
4071
- g[5]("otherCategories") + "") && F(a, h), x & /*activecategory, otherCategories, openGameCategory, $_*/
4041
+ g[5]("otherCategories") + "") && j(a, h), E & /*activecategory, otherCategories, openGameCategory, $_*/
4072
4042
  113) {
4073
- d = ce(
4043
+ p = ge(
4074
4044
  /*otherCategories*/
4075
4045
  g[4]
4076
4046
  );
4077
4047
  let m;
4078
- for (m = 0; m < d.length; m += 1) {
4079
- const C = _t(g, d, m);
4080
- p[m] ? p[m].p(C, x) : (p[m] = vt(C), p[m].c(), p[m].m(t, null));
4048
+ for (m = 0; m < p.length; m += 1) {
4049
+ const T = Et(g, p, m);
4050
+ d[m] ? d[m].p(T, E) : (d[m] = Tt(T), d[m].c(), d[m].m(t, null));
4081
4051
  }
4082
- for (; m < p.length; m += 1)
4083
- p[m].d(1);
4084
- p.length = d.length;
4052
+ for (; m < d.length; m += 1)
4053
+ d[m].d(1);
4054
+ d.length = p.length;
4085
4055
  }
4086
4056
  },
4087
4057
  d(g) {
4088
- g && j(t), rt(f, g), rt(p, g);
4058
+ g && k(t), nt(f, g), nt(d, g);
4089
4059
  }
4090
4060
  };
4091
4061
  }
4092
- function Ci(e) {
4062
+ function Hi(e) {
4093
4063
  let t;
4094
4064
  return {
4095
4065
  c() {
4096
- t = S("p"), t.textContent = "Loading, please wait...", I(t, "class", "Message");
4066
+ t = A("p"), t.textContent = "Loading, please wait...", I(t, "class", "Message");
4097
4067
  },
4098
4068
  m(r, n) {
4099
- V(r, t, n);
4069
+ X(r, t, n);
4100
4070
  },
4101
4071
  p: L,
4102
4072
  d(r) {
4103
- r && j(t);
4073
+ r && k(t);
4104
4074
  }
4105
4075
  };
4106
4076
  }
@@ -4111,10 +4081,10 @@ function xt(e) {
4111
4081
  ), a, l, c, f = (
4112
4082
  /*category*/
4113
4083
  e[23].games.count + ""
4114
- ), d, p, g = (
4084
+ ), p, d, g = (
4115
4085
  /*$_*/
4116
4086
  e[5]("games") + ""
4117
- ), x, m, C, A;
4087
+ ), E, m, T, S;
4118
4088
  function P() {
4119
4089
  return (
4120
4090
  /*click_handler*/
@@ -4126,47 +4096,47 @@ function xt(e) {
4126
4096
  }
4127
4097
  return {
4128
4098
  c() {
4129
- t = S("div"), r = S("ui-image"), s = U(), o = S("div"), u = S("p"), a = G(h), l = U(), c = S("p"), d = G(f), p = U(), x = G(g), be(r.src, n = /*category*/
4099
+ t = A("div"), r = A("ui-image"), s = G(), o = A("div"), u = A("p"), a = D(h), l = G(), c = A("p"), p = D(f), d = G(), E = D(g), ye(r.src, n = /*category*/
4130
4100
  e[23].icon) || R(r, "src", n), R(r, "alt", i = /*category*/
4131
4101
  e[23].name), R(r, "class", "CategoryImage"), I(o, "class", "CategoryTextContainer"), I(t, "class", m = "Category " + /*activecategory*/
4132
4102
  (e[0] === /*category*/
4133
4103
  e[23].id ? "Active" : ""));
4134
4104
  },
4135
4105
  m(B, H) {
4136
- V(B, t, H), v(t, r), v(t, s), v(t, o), v(o, u), v(u, a), v(o, l), v(o, c), v(c, d), v(c, p), v(c, x), C || (A = At(t, "click", P), C = !0);
4106
+ X(B, t, H), v(t, r), v(t, s), v(t, o), v(o, u), v(u, a), v(o, l), v(o, c), v(c, p), v(c, d), v(c, E), T || (S = At(t, "click", P), T = !0);
4137
4107
  },
4138
4108
  p(B, H) {
4139
4109
  e = B, H & /*topCategories*/
4140
- 8 && !be(r.src, n = /*category*/
4110
+ 8 && !ye(r.src, n = /*category*/
4141
4111
  e[23].icon) && R(r, "src", n), H & /*topCategories*/
4142
4112
  8 && i !== (i = /*category*/
4143
4113
  e[23].name) && R(r, "alt", i), H & /*topCategories*/
4144
4114
  8 && h !== (h = /*category*/
4145
- e[23].name + "") && F(a, h), H & /*topCategories*/
4115
+ e[23].name + "") && j(a, h), H & /*topCategories*/
4146
4116
  8 && f !== (f = /*category*/
4147
- e[23].games.count + "") && F(d, f), H & /*$_*/
4117
+ e[23].games.count + "") && j(p, f), H & /*$_*/
4148
4118
  32 && g !== (g = /*$_*/
4149
- e[5]("games") + "") && F(x, g), H & /*activecategory, topCategories*/
4119
+ e[5]("games") + "") && j(E, g), H & /*activecategory, topCategories*/
4150
4120
  9 && m !== (m = "Category " + /*activecategory*/
4151
4121
  (e[0] === /*category*/
4152
4122
  e[23].id ? "Active" : "")) && I(t, "class", m);
4153
4123
  },
4154
4124
  d(B) {
4155
- B && j(t), C = !1, A();
4125
+ B && k(t), T = !1, S();
4156
4126
  }
4157
4127
  };
4158
4128
  }
4159
- function vt(e) {
4129
+ function Tt(e) {
4160
4130
  let t, r, n, i, s, o, u, h = (
4161
4131
  /*category*/
4162
4132
  e[23].name + ""
4163
4133
  ), a, l, c, f = (
4164
4134
  /*category*/
4165
4135
  e[23].games.count + ""
4166
- ), d, p, g = (
4136
+ ), p, d, g = (
4167
4137
  /*$_*/
4168
4138
  e[5]("games") + ""
4169
- ), x, m, C, A, P;
4139
+ ), E, m, T, S, P;
4170
4140
  function B() {
4171
4141
  return (
4172
4142
  /*click_handler_1*/
@@ -4178,51 +4148,51 @@ function vt(e) {
4178
4148
  }
4179
4149
  return {
4180
4150
  c() {
4181
- t = S("div"), r = S("ui-image"), s = U(), o = S("div"), u = S("p"), a = G(h), l = U(), c = S("p"), d = G(f), p = U(), x = G(g), m = U(), be(r.src, n = /*category*/
4151
+ t = A("div"), r = A("ui-image"), s = G(), o = A("div"), u = A("p"), a = D(h), l = G(), c = A("p"), p = D(f), d = G(), E = D(g), m = G(), ye(r.src, n = /*category*/
4182
4152
  e[23].icon) || R(r, "src", n), R(r, "alt", i = /*category*/
4183
- e[23].name), R(r, "class", "CategoryImage"), I(o, "class", "CategoryTextContainer"), I(t, "class", C = "Category " + /*activecategory*/
4153
+ e[23].name), R(r, "class", "CategoryImage"), I(o, "class", "CategoryTextContainer"), I(t, "class", T = "Category " + /*activecategory*/
4184
4154
  (e[0] === /*category*/
4185
4155
  e[23].id ? "Active" : ""));
4186
4156
  },
4187
4157
  m(H, N) {
4188
- V(H, t, N), v(t, r), v(t, s), v(t, o), v(o, u), v(u, a), v(o, l), v(o, c), v(c, d), v(c, p), v(c, x), v(t, m), A || (P = At(t, "click", B), A = !0);
4158
+ X(H, t, N), v(t, r), v(t, s), v(t, o), v(o, u), v(u, a), v(o, l), v(o, c), v(c, p), v(c, d), v(c, E), v(t, m), S || (P = At(t, "click", B), S = !0);
4189
4159
  },
4190
4160
  p(H, N) {
4191
4161
  e = H, N & /*otherCategories*/
4192
- 16 && !be(r.src, n = /*category*/
4162
+ 16 && !ye(r.src, n = /*category*/
4193
4163
  e[23].icon) && R(r, "src", n), N & /*otherCategories*/
4194
4164
  16 && i !== (i = /*category*/
4195
4165
  e[23].name) && R(r, "alt", i), N & /*otherCategories*/
4196
4166
  16 && h !== (h = /*category*/
4197
- e[23].name + "") && F(a, h), N & /*otherCategories*/
4167
+ e[23].name + "") && j(a, h), N & /*otherCategories*/
4198
4168
  16 && f !== (f = /*category*/
4199
- e[23].games.count + "") && F(d, f), N & /*$_*/
4169
+ e[23].games.count + "") && j(p, f), N & /*$_*/
4200
4170
  32 && g !== (g = /*$_*/
4201
- e[5]("games") + "") && F(x, g), N & /*activecategory, otherCategories*/
4202
- 17 && C !== (C = "Category " + /*activecategory*/
4171
+ e[5]("games") + "") && j(E, g), N & /*activecategory, otherCategories*/
4172
+ 17 && T !== (T = "Category " + /*activecategory*/
4203
4173
  (e[0] === /*category*/
4204
- e[23].id ? "Active" : "")) && I(t, "class", C);
4174
+ e[23].id ? "Active" : "")) && I(t, "class", T);
4205
4175
  },
4206
4176
  d(H) {
4207
- H && j(t), A = !1, P();
4177
+ H && k(t), S = !1, P();
4208
4178
  }
4209
4179
  };
4210
4180
  }
4211
- function Hi(e) {
4181
+ function Si(e) {
4212
4182
  let t;
4213
4183
  function r(s, o) {
4214
4184
  return (
4215
4185
  /*isLoading*/
4216
- s[2] ? Ci : Ti
4186
+ s[2] ? Hi : Ci
4217
4187
  );
4218
4188
  }
4219
4189
  let n = r(e), i = n(e);
4220
4190
  return {
4221
4191
  c() {
4222
- t = S("div"), i.c();
4192
+ t = A("div"), i.c();
4223
4193
  },
4224
4194
  m(s, o) {
4225
- V(s, t, o), i.m(t, null), e[17](t);
4195
+ X(s, t, o), i.m(t, null), e[17](t);
4226
4196
  },
4227
4197
  p(s, [o]) {
4228
4198
  n === (n = r(s)) && i ? i.p(s, o) : (i.d(1), i = n(s), i && (i.c(), i.m(t, null)));
@@ -4230,68 +4200,68 @@ function Hi(e) {
4230
4200
  i: L,
4231
4201
  o: L,
4232
4202
  d(s) {
4233
- s && j(t), i.d(), e[17](null);
4203
+ s && k(t), i.d(), e[17](null);
4234
4204
  }
4235
4205
  };
4236
4206
  }
4237
4207
  function Ai(e, t, r) {
4238
4208
  let n;
4239
- hr(e, Ei, (b) => r(5, n = b));
4240
- let { endpoint: i = "" } = t, { datasource: s = "" } = t, { lang: o = "en" } = t, { activecategory: u = "" } = t, { excludedflags: h = "" } = t, { clientstyling: a = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: c = "" } = t, { mbsource: f } = t, d, p = !1;
4209
+ lr(e, vi, (b) => r(5, n = b));
4210
+ let { endpoint: i = "" } = t, { datasource: s = "" } = t, { lang: o = "en" } = t, { activecategory: u = "" } = t, { excludedflags: h = "" } = t, { clientstyling: a = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: c = "" } = t, { mbsource: f } = t, p, d = !1;
4241
4211
  const g = [];
4242
- let x = [], m = [];
4243
- Object.keys(yt).forEach((b) => {
4244
- bt(b, yt[b]);
4212
+ let E = [], m = [];
4213
+ Object.keys(_t).forEach((b) => {
4214
+ yt(b, _t[b]);
4245
4215
  });
4246
- const C = () => {
4216
+ const T = () => {
4247
4217
  fetch(c).then(($) => $.json()).then(($) => {
4248
- Object.keys($).forEach((le) => {
4249
- bt(le, $[le]);
4218
+ Object.keys($).forEach((fe) => {
4219
+ yt(fe, $[fe]);
4250
4220
  });
4251
4221
  }).catch(($) => {
4252
4222
  console.log($);
4253
4223
  });
4254
- }, A = () => {
4255
- r(2, p = !0);
4224
+ }, S = () => {
4225
+ r(2, d = !0);
4256
4226
  const b = new URL(`${i}/v1/casino/groups/${s}`);
4257
4227
  b.searchParams.append("language", o), fetch(b).then(($) => $.json()).then(($) => {
4258
- r(2, p = !1);
4259
- const le = h.split(",").map((k) => k.trim());
4228
+ r(2, d = !1);
4229
+ const fe = h.split(",").map((V) => V.trim());
4260
4230
  g.push(...$.items);
4261
- const Qe = g.filter((k) => !le.some((rr) => {
4231
+ const qe = g.filter((V) => !fe.some((nr) => {
4262
4232
  var Je;
4263
- return ((Je = k.flags) == null ? void 0 : Je.indexOf(rr)) >= 0;
4233
+ return ((Je = V.flags) == null ? void 0 : Je.indexOf(nr)) >= 0;
4264
4234
  }));
4265
- r(3, x = Qe.filter((k) => k.isTopCategory === !0)), r(4, m = Qe.filter((k) => k.isTopCategory === !1));
4235
+ r(3, E = qe.filter((V) => V.isTopCategory === !0)), r(4, m = qe.filter((V) => V.isTopCategory === !1));
4266
4236
  });
4267
4237
  }, P = (b) => {
4268
4238
  window.postMessage({ type: "OpenGameCategory", categoryId: b }, window.location.href);
4269
4239
  }, B = () => {
4270
4240
  xi(o);
4271
4241
  };
4272
- br(() => () => {
4242
+ yr(() => () => {
4273
4243
  });
4274
4244
  const H = (b) => P(b.id), N = (b) => P(b.id);
4275
- function tr(b) {
4276
- Le[b ? "unshift" : "push"](() => {
4277
- d = b, r(1, d);
4245
+ function rr(b) {
4246
+ Me[b ? "unshift" : "push"](() => {
4247
+ p = b, r(1, p);
4278
4248
  });
4279
4249
  }
4280
4250
  return e.$$set = (b) => {
4281
4251
  "endpoint" in b && r(7, i = b.endpoint), "datasource" in b && r(8, s = b.datasource), "lang" in b && r(9, o = b.lang), "activecategory" in b && r(0, u = b.activecategory), "excludedflags" in b && r(10, h = b.excludedflags), "clientstyling" in b && r(11, a = b.clientstyling), "clientstylingurl" in b && r(12, l = b.clientstylingurl), "translationurl" in b && r(13, c = b.translationurl), "mbsource" in b && r(14, f = b.mbsource);
4282
4252
  }, e.$$.update = () => {
4283
4253
  e.$$.dirty & /*endpoint, datasource*/
4284
- 384 && i && s && A(), e.$$.dirty & /*translationurl*/
4285
- 8192 && c && C(), e.$$.dirty & /*lang*/
4254
+ 384 && i && s && S(), e.$$.dirty & /*translationurl*/
4255
+ 8192 && c && T(), e.$$.dirty & /*lang*/
4286
4256
  512 && o && B(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4287
- 2050 && a && d && wr(d, a), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4288
- 4098 && l && d && Or(d, l), e.$$.dirty & /*mbsource, customStylingContainer*/
4289
- 16386 && f && d && Pr(d, `${f}.Style`);
4257
+ 2050 && a && p && Or(p, a), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4258
+ 4098 && l && p && Pr(p, l), e.$$.dirty & /*mbsource, customStylingContainer*/
4259
+ 16386 && f && p && Nr(p, `${f}.Style`);
4290
4260
  }, [
4291
4261
  u,
4292
- d,
4293
4262
  p,
4294
- x,
4263
+ d,
4264
+ E,
4295
4265
  m,
4296
4266
  n,
4297
4267
  P,
@@ -4305,17 +4275,17 @@ function Ai(e, t, r) {
4305
4275
  f,
4306
4276
  H,
4307
4277
  N,
4308
- tr
4278
+ rr
4309
4279
  ];
4310
4280
  }
4311
- class er extends Sr {
4281
+ class tr extends Br {
4312
4282
  constructor(t) {
4313
- super(), Hr(
4283
+ super(), Sr(
4314
4284
  this,
4315
4285
  t,
4316
4286
  Ai,
4317
- Hi,
4318
- Ct,
4287
+ Si,
4288
+ Ht,
4319
4289
  {
4320
4290
  endpoint: 7,
4321
4291
  datasource: 8,
@@ -4327,7 +4297,7 @@ class er extends Sr {
4327
4297
  translationurl: 13,
4328
4298
  mbsource: 14
4329
4299
  },
4330
- vi
4300
+ Ti
4331
4301
  );
4332
4302
  }
4333
4303
  get endpoint() {
@@ -4385,51 +4355,47 @@ class er extends Sr {
4385
4355
  this.$$set({ mbsource: t }), M();
4386
4356
  }
4387
4357
  }
4388
- Ar(er, { endpoint: {}, datasource: {}, lang: {}, activecategory: {}, excludedflags: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
4389
- const $i = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4358
+ Ar(tr, { endpoint: {}, datasource: {}, lang: {}, activecategory: {}, excludedflags: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
4359
+ const Mi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4390
4360
  __proto__: null,
4391
- default: er
4361
+ default: tr
4392
4362
  }, Symbol.toStringTag, { value: "Module" }));
4393
4363
  export {
4394
- te as $,
4395
- Mi as A,
4396
- xe as B,
4397
- be as C,
4398
- Pi as D,
4399
- wi as E,
4400
- ce as F,
4401
- rt as G,
4402
- Ni as H,
4403
- Li as I,
4404
- gr as J,
4405
- Oi as K,
4406
- $i as L,
4407
- Sr as S,
4408
- Ii as _,
4409
- Qt as a,
4410
- lr as b,
4411
- Ar as c,
4412
- U as d,
4413
- S as e,
4364
+ re as $,
4365
+ Ni as A,
4366
+ Oi as B,
4367
+ ge as C,
4368
+ nt as D,
4369
+ Ii as E,
4370
+ mr as F,
4371
+ Pi as G,
4372
+ Li as H,
4373
+ Mi as I,
4374
+ Br as S,
4375
+ qt as a,
4376
+ fr as b,
4377
+ j as c,
4378
+ k as d,
4379
+ I as e,
4414
4380
  M as f,
4415
- I as g,
4416
- R as h,
4417
- Hr as i,
4418
- V as j,
4419
- v as k,
4381
+ R as g,
4382
+ X as h,
4383
+ Sr as i,
4384
+ v as j,
4385
+ A as k,
4420
4386
  At as l,
4421
- F as m,
4387
+ G as m,
4422
4388
  L as n,
4423
- j as o,
4424
- hr as p,
4425
- br as q,
4426
- ue as r,
4427
- Ct as s,
4428
- G as t,
4429
- Le as u,
4430
- wr as v,
4431
- Or as w,
4432
- Pr as x,
4433
- Ei as y,
4434
- Se as z
4389
+ lr as o,
4390
+ yr as p,
4391
+ Me as q,
4392
+ he as r,
4393
+ Ht as s,
4394
+ D as t,
4395
+ Or as u,
4396
+ Pr as v,
4397
+ Nr as w,
4398
+ Ar as x,
4399
+ vi as y,
4400
+ ye as z
4435
4401
  };