@everymatrix/casino-categories-slider-nd 1.91.0 → 1.91.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,17 +1,17 @@
1
- var Vr = Object.defineProperty, Xr = Object.defineProperties;
2
- var Wr = Object.getOwnPropertyDescriptors;
3
- var _t = Object.getOwnPropertySymbols;
4
- var zr = Object.prototype.hasOwnProperty, Zr = Object.prototype.propertyIsEnumerable;
5
- var Ge = (e, t, r) => t in e ? Vr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Et = (e, t) => {
1
+ var nn = Object.defineProperty, sn = Object.defineProperties;
2
+ var on = Object.getOwnPropertyDescriptors;
3
+ var Ct = Object.getOwnPropertySymbols;
4
+ var an = Object.prototype.hasOwnProperty, un = Object.prototype.propertyIsEnumerable;
5
+ var ze = (e, t, r) => t in e ? nn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, q = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- zr.call(t, r) && Ge(e, r, t[r]);
8
- if (_t)
9
- for (var r of _t(t))
10
- Zr.call(t, r) && Ge(e, r, t[r]);
7
+ an.call(t, r) && ze(e, r, t[r]);
8
+ if (Ct)
9
+ for (var r of Ct(t))
10
+ un.call(t, r) && ze(e, r, t[r]);
11
11
  return e;
12
- }, xt = (e, t) => Xr(e, Wr(t));
13
- var I = (e, t, r) => (Ge(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var St = (e, t, r) => new Promise((n, i) => {
12
+ }, Q = (e, t) => sn(e, on(t));
13
+ var G = (e, t, r) => (ze(e, typeof t != "symbol" ? t + "" : t, r), r);
14
+ var It = (e, t, r) => new Promise((n, i) => {
15
15
  var s = (h) => {
16
16
  try {
17
17
  a(r.next(h));
@@ -27,53 +27,53 @@ var St = (e, t, r) => new Promise((n, i) => {
27
27
  }, a = (h) => h.done ? n(h.value) : Promise.resolve(h.value).then(s, o);
28
28
  a((r = r.apply(e, t)).next());
29
29
  });
30
- function L() {
30
+ function M() {
31
31
  }
32
- function Wt(e) {
32
+ function nr(e) {
33
33
  return e();
34
34
  }
35
- function wt() {
35
+ function Mt() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
- function ie(e) {
39
- e.forEach(Wt);
38
+ function ce(e) {
39
+ e.forEach(nr);
40
40
  }
41
- function ct(e) {
41
+ function Et(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function zt(e, t) {
44
+ function ir(e, t) {
45
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
- let ye;
48
- function Rs(e, t) {
49
- return e === t ? !0 : (ye || (ye = document.createElement("a")), ye.href = t, e === ye.href);
47
+ let Be;
48
+ function qs(e, t) {
49
+ return e === t ? !0 : (Be || (Be = document.createElement("a")), Be.href = t, e === Be.href);
50
50
  }
51
- function qr(e) {
51
+ function hn(e) {
52
52
  return Object.keys(e).length === 0;
53
53
  }
54
- function Zt(e, ...t) {
54
+ function sr(e, ...t) {
55
55
  if (e == null) {
56
56
  for (const n of t)
57
57
  n(void 0);
58
- return L;
58
+ return M;
59
59
  }
60
60
  const r = e.subscribe(...t);
61
61
  return r.unsubscribe ? () => r.unsubscribe() : r;
62
62
  }
63
- function Qr(e, t, r) {
64
- e.$$.on_destroy.push(Zt(t, r));
63
+ function ln(e, t, r) {
64
+ e.$$.on_destroy.push(sr(t, r));
65
65
  }
66
- function qt(e, t) {
66
+ function or(e, t) {
67
67
  e.appendChild(t);
68
68
  }
69
- function Yr(e, t, r) {
70
- const n = Jr(e);
69
+ function cn(e, t, r) {
70
+ const n = fn(e);
71
71
  if (!n.getElementById(t)) {
72
- const i = X("style");
73
- i.id = t, i.textContent = r, Kr(n, i);
72
+ const i = Y("style");
73
+ i.id = t, i.textContent = r, mn(n, i);
74
74
  }
75
75
  }
76
- function Jr(e) {
76
+ function fn(e) {
77
77
  if (!e)
78
78
  return document;
79
79
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -83,56 +83,62 @@ function Jr(e) {
83
83
  t
84
84
  ) : e.ownerDocument;
85
85
  }
86
- function Kr(e, t) {
87
- return qt(
86
+ function mn(e, t) {
87
+ return or(
88
88
  /** @type {Document} */
89
89
  e.head || e,
90
90
  t
91
91
  ), t.sheet;
92
92
  }
93
- function de(e, t, r) {
93
+ function xe(e, t, r) {
94
94
  e.insertBefore(t, r || null);
95
95
  }
96
- function se(e) {
96
+ function fe(e) {
97
97
  e.parentNode && e.parentNode.removeChild(e);
98
98
  }
99
- function Gs(e, t) {
99
+ function Qs(e, t) {
100
100
  for (let r = 0; r < e.length; r += 1)
101
101
  e[r] && e[r].d(t);
102
102
  }
103
- function X(e) {
103
+ function Y(e) {
104
104
  return document.createElement(e);
105
105
  }
106
- function Us(e) {
106
+ function Ys(e) {
107
107
  return document.createElementNS("http://www.w3.org/2000/svg", e);
108
108
  }
109
- function Qt(e) {
109
+ function ar(e) {
110
110
  return document.createTextNode(e);
111
111
  }
112
- function Ds() {
113
- return Qt(" ");
112
+ function Js() {
113
+ return ar(" ");
114
114
  }
115
- function Fs() {
116
- return Qt("");
115
+ function Ks() {
116
+ return ar("");
117
117
  }
118
- function $s(e, t, r, n) {
118
+ function eo(e, t, r, n) {
119
119
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
120
120
  }
121
- function oe(e, t, r) {
121
+ function me(e, t, r) {
122
122
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
123
123
  }
124
124
  function v(e, t, r) {
125
125
  const n = t.toLowerCase();
126
- n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : oe(e, t, r);
126
+ n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : me(e, t, r);
127
127
  }
128
- function en(e) {
128
+ function dn(e) {
129
129
  return Array.from(e.childNodes);
130
130
  }
131
- function js(e, t) {
131
+ function to(e, t) {
132
132
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
133
133
  t);
134
134
  }
135
- function tn(e) {
135
+ function ro(e, t, r, n) {
136
+ r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
137
+ }
138
+ function no(e, t, r) {
139
+ e.classList.toggle(t, !!r);
140
+ }
141
+ function bn(e) {
136
142
  const t = {};
137
143
  return e.childNodes.forEach(
138
144
  /** @param {Element} node */
@@ -141,131 +147,131 @@ function tn(e) {
141
147
  }
142
148
  ), t;
143
149
  }
144
- let ce;
145
- function le(e) {
146
- ce = e;
150
+ let ve;
151
+ function ge(e) {
152
+ ve = e;
147
153
  }
148
- function rn() {
149
- if (!ce)
154
+ function pn() {
155
+ if (!ve)
150
156
  throw new Error("Function called outside component initialization");
151
- return ce;
157
+ return ve;
152
158
  }
153
- function nn(e) {
154
- rn().$$.on_mount.push(e);
159
+ function yn(e) {
160
+ pn().$$.on_mount.push(e);
155
161
  }
156
- const Y = [], We = [];
157
- let K = [];
158
- const Tt = [], Yt = /* @__PURE__ */ Promise.resolve();
159
- let ze = !1;
160
- function Jt() {
161
- ze || (ze = !0, Yt.then(E));
162
+ const ie = [], rt = [];
163
+ let oe = [];
164
+ const Rt = [], ur = /* @__PURE__ */ Promise.resolve();
165
+ let nt = !1;
166
+ function hr() {
167
+ nt || (nt = !0, ur.then(x));
162
168
  }
163
- function sn() {
164
- return Jt(), Yt;
169
+ function gn() {
170
+ return hr(), ur;
165
171
  }
166
- function Ze(e) {
167
- K.push(e);
172
+ function it(e) {
173
+ oe.push(e);
168
174
  }
169
- const Ue = /* @__PURE__ */ new Set();
170
- let q = 0;
171
- function E() {
172
- if (q !== 0)
175
+ const Ze = /* @__PURE__ */ new Set();
176
+ let re = 0;
177
+ function x() {
178
+ if (re !== 0)
173
179
  return;
174
- const e = ce;
180
+ const e = ve;
175
181
  do {
176
182
  try {
177
- for (; q < Y.length; ) {
178
- const t = Y[q];
179
- q++, le(t), on(t.$$);
183
+ for (; re < ie.length; ) {
184
+ const t = ie[re];
185
+ re++, ge(t), vn(t.$$);
180
186
  }
181
187
  } catch (t) {
182
- throw Y.length = 0, q = 0, t;
188
+ throw ie.length = 0, re = 0, t;
183
189
  }
184
- for (le(null), Y.length = 0, q = 0; We.length; )
185
- We.pop()();
186
- for (let t = 0; t < K.length; t += 1) {
187
- const r = K[t];
188
- Ue.has(r) || (Ue.add(r), r());
190
+ for (ge(null), ie.length = 0, re = 0; rt.length; )
191
+ rt.pop()();
192
+ for (let t = 0; t < oe.length; t += 1) {
193
+ const r = oe[t];
194
+ Ze.has(r) || (Ze.add(r), r());
189
195
  }
190
- K.length = 0;
191
- } while (Y.length);
192
- for (; Tt.length; )
193
- Tt.pop()();
194
- ze = !1, Ue.clear(), le(e);
196
+ oe.length = 0;
197
+ } while (ie.length);
198
+ for (; Rt.length; )
199
+ Rt.pop()();
200
+ nt = !1, Ze.clear(), ge(e);
195
201
  }
196
- function on(e) {
202
+ function vn(e) {
197
203
  if (e.fragment !== null) {
198
- e.update(), ie(e.before_update);
204
+ e.update(), ce(e.before_update);
199
205
  const t = e.dirty;
200
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ze);
206
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(it);
201
207
  }
202
208
  }
203
- function an(e) {
209
+ function _n(e) {
204
210
  const t = [], r = [];
205
- K.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), K = t;
211
+ oe.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), oe = t;
206
212
  }
207
- const un = /* @__PURE__ */ new Set();
208
- function Kt(e, t) {
209
- e && e.i && (un.delete(e), e.i(t));
213
+ const En = /* @__PURE__ */ new Set();
214
+ function lr(e, t) {
215
+ e && e.i && (En.delete(e), e.i(t));
210
216
  }
211
- function ks(e) {
217
+ function io(e) {
212
218
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
213
219
  }
214
- function Vs(e, t) {
220
+ function so(e, t) {
215
221
  e.d(1), t.delete(e.key);
216
222
  }
217
- function Xs(e, t, r, n, i, s, o, a, h, u, l, m) {
218
- let c = e.length, d = s.length, p = c;
223
+ function oo(e, t, r, n, i, s, o, a, h, u, l, m) {
224
+ let f = e.length, d = s.length, p = f;
219
225
  const b = {};
220
226
  for (; p--; )
221
227
  b[e[p].key] = p;
222
- const w = [], C = /* @__PURE__ */ new Map(), P = /* @__PURE__ */ new Map(), T = [];
228
+ const H = [], R = /* @__PURE__ */ new Map(), L = /* @__PURE__ */ new Map(), A = [];
223
229
  for (p = d; p--; ) {
224
- const _ = m(i, s, p), N = r(_);
225
- let B = o.get(N);
226
- B ? T.push(() => B.p(_, t)) : (B = u(N, _), B.c()), C.set(N, w[p] = B), N in b && P.set(N, Math.abs(p - b[N]));
230
+ const E = m(i, s, p), I = r(E);
231
+ let N = o.get(I);
232
+ N ? A.push(() => N.p(E, t)) : (N = u(I, E), N.c()), R.set(I, H[p] = N), I in b && L.set(I, Math.abs(p - b[I]));
227
233
  }
228
- const O = /* @__PURE__ */ new Set(), H = /* @__PURE__ */ new Set();
229
- function M(_) {
230
- Kt(_, 1), _.m(a, l), o.set(_.key, _), l = _.first, d--;
234
+ const C = /* @__PURE__ */ new Set(), B = /* @__PURE__ */ new Set();
235
+ function U(E) {
236
+ lr(E, 1), E.m(a, l), o.set(E.key, E), l = E.first, d--;
231
237
  }
232
- for (; c && d; ) {
233
- const _ = w[d - 1], N = e[c - 1], B = _.key, $ = N.key;
234
- _ === N ? (l = _.first, c--, d--) : C.has($) ? !o.has(B) || O.has(B) ? M(_) : H.has($) ? c-- : P.get(B) > P.get($) ? (H.add(B), M(_)) : (O.add($), c--) : (h(N, o), c--);
238
+ for (; f && d; ) {
239
+ const E = H[d - 1], I = e[f - 1], N = E.key, V = I.key;
240
+ E === I ? (l = E.first, f--, d--) : R.has(V) ? !o.has(N) || C.has(N) ? U(E) : B.has(V) ? f-- : L.get(N) > L.get(V) ? (B.add(N), U(E)) : (C.add(V), f--) : (h(I, o), f--);
235
241
  }
236
- for (; c--; ) {
237
- const _ = e[c];
238
- C.has(_.key) || h(_, o);
242
+ for (; f--; ) {
243
+ const E = e[f];
244
+ R.has(E.key) || h(E, o);
239
245
  }
240
246
  for (; d; )
241
- M(w[d - 1]);
242
- return ie(T), w;
247
+ U(H[d - 1]);
248
+ return ce(A), H;
243
249
  }
244
- function hn(e, t, r) {
250
+ function xn(e, t, r) {
245
251
  const { fragment: n, after_update: i } = e.$$;
246
- n && n.m(t, r), Ze(() => {
247
- const s = e.$$.on_mount.map(Wt).filter(ct);
248
- e.$$.on_destroy ? e.$$.on_destroy.push(...s) : ie(s), e.$$.on_mount = [];
249
- }), i.forEach(Ze);
252
+ n && n.m(t, r), it(() => {
253
+ const s = e.$$.on_mount.map(nr).filter(Et);
254
+ e.$$.on_destroy ? e.$$.on_destroy.push(...s) : ce(s), e.$$.on_mount = [];
255
+ }), i.forEach(it);
250
256
  }
251
- function ln(e, t) {
257
+ function Sn(e, t) {
252
258
  const r = e.$$;
253
- r.fragment !== null && (an(r.after_update), ie(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
259
+ r.fragment !== null && (_n(r.after_update), ce(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
254
260
  }
255
- function cn(e, t) {
256
- e.$$.dirty[0] === -1 && (Y.push(e), Jt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
261
+ function wn(e, t) {
262
+ e.$$.dirty[0] === -1 && (ie.push(e), hr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
257
263
  }
258
- function fn(e, t, r, n, i, s, o = null, a = [-1]) {
259
- const h = ce;
260
- le(e);
264
+ function Tn(e, t, r, n, i, s, o = null, a = [-1]) {
265
+ const h = ve;
266
+ ge(e);
261
267
  const u = e.$$ = {
262
268
  fragment: null,
263
269
  ctx: [],
264
270
  // state
265
271
  props: s,
266
- update: L,
272
+ update: M,
267
273
  not_equal: i,
268
- bound: wt(),
274
+ bound: Mt(),
269
275
  // lifecycle
270
276
  on_mount: [],
271
277
  on_destroy: [],
@@ -274,48 +280,48 @@ function fn(e, t, r, n, i, s, o = null, a = [-1]) {
274
280
  after_update: [],
275
281
  context: new Map(t.context || (h ? h.$$.context : [])),
276
282
  // everything else
277
- callbacks: wt(),
283
+ callbacks: Mt(),
278
284
  dirty: a,
279
285
  skip_bound: !1,
280
286
  root: t.target || h.$$.root
281
287
  };
282
288
  o && o(u.root);
283
289
  let l = !1;
284
- if (u.ctx = r ? r(e, t.props || {}, (m, c, ...d) => {
285
- const p = d.length ? d[0] : c;
286
- return u.ctx && i(u.ctx[m], u.ctx[m] = p) && (!u.skip_bound && u.bound[m] && u.bound[m](p), l && cn(e, m)), c;
287
- }) : [], u.update(), l = !0, ie(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
290
+ if (u.ctx = r ? r(e, t.props || {}, (m, f, ...d) => {
291
+ const p = d.length ? d[0] : f;
292
+ return u.ctx && i(u.ctx[m], u.ctx[m] = p) && (!u.skip_bound && u.bound[m] && u.bound[m](p), l && wn(e, m)), f;
293
+ }) : [], u.update(), l = !0, ce(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
288
294
  if (t.hydrate) {
289
- const m = en(t.target);
290
- u.fragment && u.fragment.l(m), m.forEach(se);
295
+ const m = dn(t.target);
296
+ u.fragment && u.fragment.l(m), m.forEach(fe);
291
297
  } else
292
298
  u.fragment && u.fragment.c();
293
- t.intro && Kt(e.$$.fragment), hn(e, t.target, t.anchor), E();
299
+ t.intro && lr(e.$$.fragment), xn(e, t.target, t.anchor), x();
294
300
  }
295
- le(h);
301
+ ge(h);
296
302
  }
297
- let er;
298
- typeof HTMLElement == "function" && (er = class extends HTMLElement {
303
+ let cr;
304
+ typeof HTMLElement == "function" && (cr = class extends HTMLElement {
299
305
  constructor(t, r, n) {
300
306
  super();
301
307
  /** The Svelte component constructor */
302
- I(this, "$$ctor");
308
+ G(this, "$$ctor");
303
309
  /** Slots */
304
- I(this, "$$s");
310
+ G(this, "$$s");
305
311
  /** The Svelte component instance */
306
- I(this, "$$c");
312
+ G(this, "$$c");
307
313
  /** Whether or not the custom element is connected */
308
- I(this, "$$cn", !1);
314
+ G(this, "$$cn", !1);
309
315
  /** Component props data */
310
- I(this, "$$d", {});
316
+ G(this, "$$d", {});
311
317
  /** `true` if currently in the process of reflecting component props back to attributes */
312
- I(this, "$$r", !1);
318
+ G(this, "$$r", !1);
313
319
  /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
314
- I(this, "$$p_d", {});
320
+ G(this, "$$p_d", {});
315
321
  /** @type {Record<string, Function[]>} Event listeners */
316
- I(this, "$$l", {});
322
+ G(this, "$$l", {});
317
323
  /** @type {Map<Function, Function>} Event listener unsubscribe functions */
318
- I(this, "$$l_u", /* @__PURE__ */ new Map());
324
+ G(this, "$$l_u", /* @__PURE__ */ new Map());
319
325
  this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
320
326
  }
321
327
  addEventListener(t, r, n) {
@@ -332,42 +338,42 @@ typeof HTMLElement == "function" && (er = class extends HTMLElement {
332
338
  }
333
339
  }
334
340
  connectedCallback() {
335
- return St(this, null, function* () {
341
+ return It(this, null, function* () {
336
342
  if (this.$$cn = !0, !this.$$c) {
337
343
  let t = function(s) {
338
344
  return () => {
339
345
  let o;
340
346
  return {
341
347
  c: function() {
342
- o = X("slot"), s !== "default" && oe(o, "name", s);
348
+ o = Y("slot"), s !== "default" && me(o, "name", s);
343
349
  },
344
350
  /**
345
351
  * @param {HTMLElement} target
346
352
  * @param {HTMLElement} [anchor]
347
353
  */
348
354
  m: function(u, l) {
349
- de(u, o, l);
355
+ xe(u, o, l);
350
356
  },
351
357
  d: function(u) {
352
- u && se(o);
358
+ u && fe(o);
353
359
  }
354
360
  };
355
361
  };
356
362
  };
357
363
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
358
364
  return;
359
- const r = {}, n = tn(this);
365
+ const r = {}, n = bn(this);
360
366
  for (const s of this.$$s)
361
367
  s in n && (r[s] = [t(s)]);
362
368
  for (const s of this.attributes) {
363
369
  const o = this.$$g_p(s.name);
364
- o in this.$$d || (this.$$d[o] = Ee(o, s.value, this.$$p_d, "toProp"));
370
+ o in this.$$d || (this.$$d[o] = Ne(o, s.value, this.$$p_d, "toProp"));
365
371
  }
366
372
  for (const s in this.$$p_d)
367
373
  !(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
368
374
  this.$$c = new this.$$ctor({
369
375
  target: this.shadowRoot || this,
370
- props: xt(Et({}, this.$$d), {
376
+ props: Q(q({}, this.$$d), {
371
377
  $$slots: r,
372
378
  $$scope: {
373
379
  ctx: []
@@ -378,7 +384,7 @@ typeof HTMLElement == "function" && (er = class extends HTMLElement {
378
384
  this.$$r = !0;
379
385
  for (const s in this.$$p_d)
380
386
  if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
381
- const o = Ee(
387
+ const o = Ne(
382
388
  s,
383
389
  this.$$d[s],
384
390
  this.$$p_d,
@@ -402,7 +408,7 @@ typeof HTMLElement == "function" && (er = class extends HTMLElement {
402
408
  // and setting attributes through setAttribute etc, this is helpful
403
409
  attributeChangedCallback(t, r, n) {
404
410
  var i;
405
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = Ee(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
411
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = Ne(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
406
412
  }
407
413
  disconnectedCallback() {
408
414
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -415,7 +421,7 @@ typeof HTMLElement == "function" && (er = class extends HTMLElement {
415
421
  ) || t;
416
422
  }
417
423
  });
418
- function Ee(e, t, r, n) {
424
+ function Ne(e, t, r, n) {
419
425
  var s;
420
426
  const i = (s = r[e]) == null ? void 0 : s.type;
421
427
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
@@ -445,8 +451,8 @@ function Ee(e, t, r, n) {
445
451
  return t;
446
452
  }
447
453
  }
448
- function mn(e, t, r, n, i, s) {
449
- let o = class extends er {
454
+ function Hn(e, t, r, n, i, s) {
455
+ let o = class extends cr {
450
456
  constructor() {
451
457
  super(e, r, i), this.$$p_d = t;
452
458
  }
@@ -463,7 +469,7 @@ function mn(e, t, r, n, i, s) {
463
469
  },
464
470
  set(h) {
465
471
  var u;
466
- h = Ee(a, h, t), this.$$d[a] = h, (u = this.$$c) == null || u.$set({ [a]: h });
472
+ h = Ne(a, h, t), this.$$d[a] = h, (u = this.$$c) == null || u.$set({ [a]: h });
467
473
  }
468
474
  });
469
475
  }), n.forEach((a) => {
@@ -476,7 +482,7 @@ function mn(e, t, r, n, i, s) {
476
482
  }), e.element = /** @type {any} */
477
483
  o, o;
478
484
  }
479
- class dn {
485
+ class An {
480
486
  constructor() {
481
487
  /**
482
488
  * ### PRIVATE API
@@ -485,7 +491,7 @@ class dn {
485
491
  *
486
492
  * @type {any}
487
493
  */
488
- I(this, "$$");
494
+ G(this, "$$");
489
495
  /**
490
496
  * ### PRIVATE API
491
497
  *
@@ -493,11 +499,11 @@ class dn {
493
499
  *
494
500
  * @type {any}
495
501
  */
496
- I(this, "$$set");
502
+ G(this, "$$set");
497
503
  }
498
504
  /** @returns {void} */
499
505
  $destroy() {
500
- ln(this, 1), this.$destroy = L;
506
+ Sn(this, 1), this.$destroy = M;
501
507
  }
502
508
  /**
503
509
  * @template {Extract<keyof Events, string>} K
@@ -506,8 +512,8 @@ class dn {
506
512
  * @returns {() => void}
507
513
  */
508
514
  $on(t, r) {
509
- if (!ct(r))
510
- return L;
515
+ if (!Et(r))
516
+ return M;
511
517
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
512
518
  return n.push(r), () => {
513
519
  const i = n.indexOf(r);
@@ -519,11 +525,11 @@ class dn {
519
525
  * @returns {void}
520
526
  */
521
527
  $set(t) {
522
- this.$$set && !qr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
528
+ this.$$set && !hn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
523
529
  }
524
530
  }
525
- const bn = "4";
526
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(bn);
531
+ const Bn = "4";
532
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Bn);
527
533
  /*! *****************************************************************************
528
534
  Copyright (c) Microsoft Corporation.
529
535
 
@@ -538,24 +544,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
538
544
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
539
545
  PERFORMANCE OF THIS SOFTWARE.
540
546
  ***************************************************************************** */
541
- var qe = function(e, t) {
542
- return qe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
547
+ var st = function(e, t) {
548
+ return st = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
543
549
  r.__proto__ = n;
544
550
  } || function(r, n) {
545
551
  for (var i in n)
546
552
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
547
- }, qe(e, t);
553
+ }, st(e, t);
548
554
  };
549
- function be(e, t) {
555
+ function Se(e, t) {
550
556
  if (typeof t != "function" && t !== null)
551
557
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
552
- qe(e, t);
558
+ st(e, t);
553
559
  function r() {
554
560
  this.constructor = e;
555
561
  }
556
562
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
557
563
  }
558
- function Qe(e) {
564
+ function ot(e) {
559
565
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
560
566
  if (r)
561
567
  return r.call(e);
@@ -567,7 +573,7 @@ function Qe(e) {
567
573
  };
568
574
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
569
575
  }
570
- function Ye(e, t) {
576
+ function at(e, t) {
571
577
  var r = typeof Symbol == "function" && e[Symbol.iterator];
572
578
  if (!r)
573
579
  return e;
@@ -587,22 +593,22 @@ function Ye(e, t) {
587
593
  }
588
594
  return s;
589
595
  }
590
- function Je(e, t, r) {
596
+ function ut(e, t, r) {
591
597
  if (arguments.length === 2)
592
598
  for (var n = 0, i = t.length, s; n < i; n++)
593
599
  (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
594
600
  return e.concat(s || t);
595
601
  }
596
- function D(e) {
602
+ function $(e) {
597
603
  return typeof e == "function";
598
604
  }
599
- function tr(e) {
605
+ function fr(e) {
600
606
  var t = function(n) {
601
607
  Error.call(n), n.stack = new Error().stack;
602
608
  }, r = e(t);
603
609
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
604
610
  }
605
- var De = tr(function(e) {
611
+ var qe = fr(function(e) {
606
612
  return function(r) {
607
613
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
608
614
  ` + r.map(function(n, i) {
@@ -611,13 +617,13 @@ var De = tr(function(e) {
611
617
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
612
618
  };
613
619
  });
614
- function Ke(e, t) {
620
+ function ht(e, t) {
615
621
  if (e) {
616
622
  var r = e.indexOf(t);
617
623
  0 <= r && e.splice(r, 1);
618
624
  }
619
625
  }
620
- var Be = function() {
626
+ var Ue = function() {
621
627
  function e(t) {
622
628
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
623
629
  }
@@ -629,7 +635,7 @@ var Be = function() {
629
635
  if (o)
630
636
  if (this._parentage = null, Array.isArray(o))
631
637
  try {
632
- for (var a = Qe(o), h = a.next(); !h.done; h = a.next()) {
638
+ for (var a = ot(o), h = a.next(); !h.done; h = a.next()) {
633
639
  var u = h.value;
634
640
  u.remove(this);
635
641
  }
@@ -646,29 +652,29 @@ var Be = function() {
646
652
  else
647
653
  o.remove(this);
648
654
  var l = this.initialTeardown;
649
- if (D(l))
655
+ if ($(l))
650
656
  try {
651
657
  l();
652
658
  } catch (b) {
653
- s = b instanceof De ? b.errors : [b];
659
+ s = b instanceof qe ? b.errors : [b];
654
660
  }
655
661
  var m = this._finalizers;
656
662
  if (m) {
657
663
  this._finalizers = null;
658
664
  try {
659
- for (var c = Qe(m), d = c.next(); !d.done; d = c.next()) {
665
+ for (var f = ot(m), d = f.next(); !d.done; d = f.next()) {
660
666
  var p = d.value;
661
667
  try {
662
- Ht(p);
668
+ Gt(p);
663
669
  } catch (b) {
664
- s = s != null ? s : [], b instanceof De ? s = Je(Je([], Ye(s)), Ye(b.errors)) : s.push(b);
670
+ s = s != null ? s : [], b instanceof qe ? s = ut(ut([], at(s)), at(b.errors)) : s.push(b);
665
671
  }
666
672
  }
667
673
  } catch (b) {
668
674
  n = { error: b };
669
675
  } finally {
670
676
  try {
671
- d && !d.done && (i = c.return) && i.call(c);
677
+ d && !d.done && (i = f.return) && i.call(f);
672
678
  } finally {
673
679
  if (n)
674
680
  throw n.error;
@@ -676,13 +682,13 @@ var Be = function() {
676
682
  }
677
683
  }
678
684
  if (s)
679
- throw new De(s);
685
+ throw new qe(s);
680
686
  }
681
687
  }, e.prototype.add = function(t) {
682
688
  var r;
683
689
  if (t && t !== this)
684
690
  if (this.closed)
685
- Ht(t);
691
+ Gt(t);
686
692
  else {
687
693
  if (t instanceof e) {
688
694
  if (t.closed || t._hasParent(this))
@@ -699,52 +705,52 @@ var Be = function() {
699
705
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
700
706
  }, e.prototype._removeParent = function(t) {
701
707
  var r = this._parentage;
702
- r === t ? this._parentage = null : Array.isArray(r) && Ke(r, t);
708
+ r === t ? this._parentage = null : Array.isArray(r) && ht(r, t);
703
709
  }, e.prototype.remove = function(t) {
704
710
  var r = this._finalizers;
705
- r && Ke(r, t), t instanceof e && t._removeParent(this);
711
+ r && ht(r, t), t instanceof e && t._removeParent(this);
706
712
  }, e.EMPTY = function() {
707
713
  var t = new e();
708
714
  return t.closed = !0, t;
709
715
  }(), e;
710
- }(), rr = Be.EMPTY;
711
- function nr(e) {
712
- return e instanceof Be || e && "closed" in e && D(e.remove) && D(e.add) && D(e.unsubscribe);
716
+ }(), mr = Ue.EMPTY;
717
+ function dr(e) {
718
+ return e instanceof Ue || e && "closed" in e && $(e.remove) && $(e.add) && $(e.unsubscribe);
713
719
  }
714
- function Ht(e) {
715
- D(e) ? e() : e.unsubscribe();
720
+ function Gt(e) {
721
+ $(e) ? e() : e.unsubscribe();
716
722
  }
717
- var pn = {
723
+ var Pn = {
718
724
  Promise: void 0
719
- }, gn = {
725
+ }, On = {
720
726
  setTimeout: function(e, t) {
721
727
  for (var r = [], n = 2; n < arguments.length; n++)
722
728
  r[n - 2] = arguments[n];
723
- return setTimeout.apply(void 0, Je([e, t], Ye(r)));
729
+ return setTimeout.apply(void 0, ut([e, t], at(r)));
724
730
  },
725
731
  clearTimeout: function(e) {
726
732
  return clearTimeout(e);
727
733
  },
728
734
  delegate: void 0
729
735
  };
730
- function yn(e) {
731
- gn.setTimeout(function() {
736
+ function Nn(e) {
737
+ On.setTimeout(function() {
732
738
  throw e;
733
739
  });
734
740
  }
735
- function At() {
741
+ function Ut() {
736
742
  }
737
- function xe(e) {
743
+ function Le(e) {
738
744
  e();
739
745
  }
740
- var ir = function(e) {
741
- be(t, e);
746
+ var br = function(e) {
747
+ Se(t, e);
742
748
  function t(r) {
743
749
  var n = e.call(this) || this;
744
- return n.isStopped = !1, r ? (n.destination = r, nr(r) && r.add(n)) : n.destination = En, n;
750
+ return n.isStopped = !1, r ? (n.destination = r, dr(r) && r.add(n)) : n.destination = In, n;
745
751
  }
746
752
  return t.create = function(r, n, i) {
747
- return new et(r, n, i);
753
+ return new lt(r, n, i);
748
754
  }, t.prototype.next = function(r) {
749
755
  this.isStopped || this._next(r);
750
756
  }, t.prototype.error = function(r) {
@@ -768,7 +774,7 @@ var ir = function(e) {
768
774
  this.unsubscribe();
769
775
  }
770
776
  }, t;
771
- }(Be), vn = function() {
777
+ }(Ue), Ln = function() {
772
778
  function e(t) {
773
779
  this.partialObserver = t;
774
780
  }
@@ -778,7 +784,7 @@ var ir = function(e) {
778
784
  try {
779
785
  r.next(t);
780
786
  } catch (n) {
781
- ve(n);
787
+ Pe(n);
782
788
  }
783
789
  }, e.prototype.error = function(t) {
784
790
  var r = this.partialObserver;
@@ -786,56 +792,56 @@ var ir = function(e) {
786
792
  try {
787
793
  r.error(t);
788
794
  } catch (n) {
789
- ve(n);
795
+ Pe(n);
790
796
  }
791
797
  else
792
- ve(t);
798
+ Pe(t);
793
799
  }, e.prototype.complete = function() {
794
800
  var t = this.partialObserver;
795
801
  if (t.complete)
796
802
  try {
797
803
  t.complete();
798
804
  } catch (r) {
799
- ve(r);
805
+ Pe(r);
800
806
  }
801
807
  }, e;
802
- }(), et = function(e) {
803
- be(t, e);
808
+ }(), lt = function(e) {
809
+ Se(t, e);
804
810
  function t(r, n, i) {
805
811
  var s = e.call(this) || this, o;
806
- return D(r) || !r ? o = {
812
+ return $(r) || !r ? o = {
807
813
  next: r != null ? r : void 0,
808
814
  error: n != null ? n : void 0,
809
815
  complete: i != null ? i : void 0
810
- } : o = r, s.destination = new vn(o), s;
816
+ } : o = r, s.destination = new Ln(o), s;
811
817
  }
812
818
  return t;
813
- }(ir);
814
- function ve(e) {
815
- yn(e);
819
+ }(br);
820
+ function Pe(e) {
821
+ Nn(e);
816
822
  }
817
- function _n(e) {
823
+ function Cn(e) {
818
824
  throw e;
819
825
  }
820
- var En = {
826
+ var In = {
821
827
  closed: !0,
822
- next: At,
823
- error: _n,
824
- complete: At
825
- }, xn = function() {
828
+ next: Ut,
829
+ error: Cn,
830
+ complete: Ut
831
+ }, Mn = function() {
826
832
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
827
833
  }();
828
- function Sn(e) {
834
+ function Rn(e) {
829
835
  return e;
830
836
  }
831
- function wn(e) {
832
- return e.length === 0 ? Sn : e.length === 1 ? e[0] : function(r) {
837
+ function Gn(e) {
838
+ return e.length === 0 ? Rn : e.length === 1 ? e[0] : function(r) {
833
839
  return e.reduce(function(n, i) {
834
840
  return i(n);
835
841
  }, r);
836
842
  };
837
843
  }
838
- var Bt = function() {
844
+ var Dt = function() {
839
845
  function e(t) {
840
846
  t && (this._subscribe = t);
841
847
  }
@@ -843,8 +849,8 @@ var Bt = function() {
843
849
  var r = new e();
844
850
  return r.source = this, r.operator = t, r;
845
851
  }, e.prototype.subscribe = function(t, r, n) {
846
- var i = this, s = Hn(t) ? t : new et(t, r, n);
847
- return xe(function() {
852
+ var i = this, s = Dn(t) ? t : new lt(t, r, n);
853
+ return Le(function() {
848
854
  var o = i, a = o.operator, h = o.source;
849
855
  s.add(a ? a.call(s, h) : h ? i._subscribe(s) : i._trySubscribe(s));
850
856
  }), s;
@@ -856,8 +862,8 @@ var Bt = function() {
856
862
  }
857
863
  }, e.prototype.forEach = function(t, r) {
858
864
  var n = this;
859
- return r = Pt(r), new r(function(i, s) {
860
- var o = new et({
865
+ return r = Ft(r), new r(function(i, s) {
866
+ var o = new lt({
861
867
  next: function(a) {
862
868
  try {
863
869
  t(a);
@@ -873,15 +879,15 @@ var Bt = function() {
873
879
  }, e.prototype._subscribe = function(t) {
874
880
  var r;
875
881
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
876
- }, e.prototype[xn] = function() {
882
+ }, e.prototype[Mn] = function() {
877
883
  return this;
878
884
  }, e.prototype.pipe = function() {
879
885
  for (var t = [], r = 0; r < arguments.length; r++)
880
886
  t[r] = arguments[r];
881
- return wn(t)(this);
887
+ return Gn(t)(this);
882
888
  }, e.prototype.toPromise = function(t) {
883
889
  var r = this;
884
- return t = Pt(t), new t(function(n, i) {
890
+ return t = Ft(t), new t(function(n, i) {
885
891
  var s;
886
892
  r.subscribe(function(o) {
887
893
  return s = o;
@@ -895,40 +901,40 @@ var Bt = function() {
895
901
  return new e(t);
896
902
  }, e;
897
903
  }();
898
- function Pt(e) {
904
+ function Ft(e) {
899
905
  var t;
900
- return (t = e != null ? e : pn.Promise) !== null && t !== void 0 ? t : Promise;
906
+ return (t = e != null ? e : Pn.Promise) !== null && t !== void 0 ? t : Promise;
901
907
  }
902
- function Tn(e) {
903
- return e && D(e.next) && D(e.error) && D(e.complete);
908
+ function Un(e) {
909
+ return e && $(e.next) && $(e.error) && $(e.complete);
904
910
  }
905
- function Hn(e) {
906
- return e && e instanceof ir || Tn(e) && nr(e);
911
+ function Dn(e) {
912
+ return e && e instanceof br || Un(e) && dr(e);
907
913
  }
908
- var An = tr(function(e) {
914
+ var Fn = fr(function(e) {
909
915
  return function() {
910
916
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
911
917
  };
912
- }), sr = function(e) {
913
- be(t, e);
918
+ }), pr = function(e) {
919
+ Se(t, e);
914
920
  function t() {
915
921
  var r = e.call(this) || this;
916
922
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
917
923
  }
918
924
  return t.prototype.lift = function(r) {
919
- var n = new Ot(this, this);
925
+ var n = new $t(this, this);
920
926
  return n.operator = r, n;
921
927
  }, t.prototype._throwIfClosed = function() {
922
928
  if (this.closed)
923
- throw new An();
929
+ throw new Fn();
924
930
  }, t.prototype.next = function(r) {
925
931
  var n = this;
926
- xe(function() {
932
+ Le(function() {
927
933
  var i, s;
928
934
  if (n._throwIfClosed(), !n.isStopped) {
929
935
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
930
936
  try {
931
- for (var o = Qe(n.currentObservers), a = o.next(); !a.done; a = o.next()) {
937
+ for (var o = ot(n.currentObservers), a = o.next(); !a.done; a = o.next()) {
932
938
  var h = a.value;
933
939
  h.next(r);
934
940
  }
@@ -946,7 +952,7 @@ var An = tr(function(e) {
946
952
  });
947
953
  }, t.prototype.error = function(r) {
948
954
  var n = this;
949
- xe(function() {
955
+ Le(function() {
950
956
  if (n._throwIfClosed(), !n.isStopped) {
951
957
  n.hasError = n.isStopped = !0, n.thrownError = r;
952
958
  for (var i = n.observers; i.length; )
@@ -955,7 +961,7 @@ var An = tr(function(e) {
955
961
  });
956
962
  }, t.prototype.complete = function() {
957
963
  var r = this;
958
- xe(function() {
964
+ Le(function() {
959
965
  if (r._throwIfClosed(), !r.isStopped) {
960
966
  r.isStopped = !0;
961
967
  for (var n = r.observers; n.length; )
@@ -977,20 +983,20 @@ var An = tr(function(e) {
977
983
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
978
984
  }, t.prototype._innerSubscribe = function(r) {
979
985
  var n = this, i = this, s = i.hasError, o = i.isStopped, a = i.observers;
980
- return s || o ? rr : (this.currentObservers = null, a.push(r), new Be(function() {
981
- n.currentObservers = null, Ke(a, r);
986
+ return s || o ? mr : (this.currentObservers = null, a.push(r), new Ue(function() {
987
+ n.currentObservers = null, ht(a, r);
982
988
  }));
983
989
  }, t.prototype._checkFinalizedStatuses = function(r) {
984
990
  var n = this, i = n.hasError, s = n.thrownError, o = n.isStopped;
985
991
  i ? r.error(s) : o && r.complete();
986
992
  }, t.prototype.asObservable = function() {
987
- var r = new Bt();
993
+ var r = new Dt();
988
994
  return r.source = this, r;
989
995
  }, t.create = function(r, n) {
990
- return new Ot(r, n);
996
+ return new $t(r, n);
991
997
  }, t;
992
- }(Bt), Ot = function(e) {
993
- be(t, e);
998
+ }(Dt), $t = function(e) {
999
+ Se(t, e);
994
1000
  function t(r, n) {
995
1001
  var i = e.call(this) || this;
996
1002
  return i.destination = r, i.source = n, i;
@@ -1006,17 +1012,17 @@ var An = tr(function(e) {
1006
1012
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1007
1013
  }, t.prototype._subscribe = function(r) {
1008
1014
  var n, i;
1009
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : rr;
1015
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : mr;
1010
1016
  }, t;
1011
- }(sr), or = {
1017
+ }(pr), yr = {
1012
1018
  now: function() {
1013
- return (or.delegate || Date).now();
1019
+ return (yr.delegate || Date).now();
1014
1020
  },
1015
1021
  delegate: void 0
1016
- }, Bn = function(e) {
1017
- be(t, e);
1022
+ }, $n = function(e) {
1023
+ Se(t, e);
1018
1024
  function t(r, n, i) {
1019
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = or);
1025
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = yr);
1020
1026
  var s = e.call(this) || this;
1021
1027
  return s._bufferSize = r, s._windowTime = n, s._timestampProvider = i, s._buffer = [], s._infiniteTimeWindow = !0, s._infiniteTimeWindow = n === 1 / 0, s._bufferSize = Math.max(1, r), s._windowTime = Math.max(1, n), s;
1022
1028
  }
@@ -1036,178 +1042,178 @@ var An = tr(function(e) {
1036
1042
  u && s.splice(0, u + 1);
1037
1043
  }
1038
1044
  }, t;
1039
- }(sr);
1040
- const Nt = [], Lt = {}, Pn = (e, t = 0) => {
1041
- if (Nt.indexOf(e) == -1) {
1042
- const r = new Bn(t);
1043
- Lt[e] = r, Nt.push(e);
1045
+ }(pr);
1046
+ const jt = [], kt = {}, jn = (e, t = 0) => {
1047
+ if (jt.indexOf(e) == -1) {
1048
+ const r = new $n(t);
1049
+ kt[e] = r, jt.push(e);
1044
1050
  }
1045
- return Lt[e];
1046
- }, Q = [];
1047
- function On(e, t) {
1051
+ return kt[e];
1052
+ }, ne = [];
1053
+ function kn(e, t) {
1048
1054
  return {
1049
- subscribe: Pe(e, t).subscribe
1055
+ subscribe: De(e, t).subscribe
1050
1056
  };
1051
1057
  }
1052
- function Pe(e, t = L) {
1058
+ function De(e, t = M) {
1053
1059
  let r;
1054
1060
  const n = /* @__PURE__ */ new Set();
1055
1061
  function i(a) {
1056
- if (zt(e, a) && (e = a, r)) {
1057
- const h = !Q.length;
1062
+ if (ir(e, a) && (e = a, r)) {
1063
+ const h = !ne.length;
1058
1064
  for (const u of n)
1059
- u[1](), Q.push(u, e);
1065
+ u[1](), ne.push(u, e);
1060
1066
  if (h) {
1061
- for (let u = 0; u < Q.length; u += 2)
1062
- Q[u][0](Q[u + 1]);
1063
- Q.length = 0;
1067
+ for (let u = 0; u < ne.length; u += 2)
1068
+ ne[u][0](ne[u + 1]);
1069
+ ne.length = 0;
1064
1070
  }
1065
1071
  }
1066
1072
  }
1067
1073
  function s(a) {
1068
1074
  i(a(e));
1069
1075
  }
1070
- function o(a, h = L) {
1076
+ function o(a, h = M) {
1071
1077
  const u = [a, h];
1072
- return n.add(u), n.size === 1 && (r = t(i, s) || L), a(e), () => {
1078
+ return n.add(u), n.size === 1 && (r = t(i, s) || M), a(e), () => {
1073
1079
  n.delete(u), n.size === 0 && r && (r(), r = null);
1074
1080
  };
1075
1081
  }
1076
1082
  return { set: i, update: s, subscribe: o };
1077
1083
  }
1078
- function ae(e, t, r) {
1084
+ function de(e, t, r) {
1079
1085
  const n = !Array.isArray(e), i = n ? [e] : e;
1080
1086
  if (!i.every(Boolean))
1081
1087
  throw new Error("derived() expects stores as input, got a falsy value");
1082
1088
  const s = t.length < 2;
1083
- return On(r, (o, a) => {
1089
+ return kn(r, (o, a) => {
1084
1090
  let h = !1;
1085
1091
  const u = [];
1086
- let l = 0, m = L;
1087
- const c = () => {
1092
+ let l = 0, m = M;
1093
+ const f = () => {
1088
1094
  if (l)
1089
1095
  return;
1090
1096
  m();
1091
1097
  const p = t(n ? u[0] : u, o, a);
1092
- s ? o(p) : m = ct(p) ? p : L;
1098
+ s ? o(p) : m = Et(p) ? p : M;
1093
1099
  }, d = i.map(
1094
- (p, b) => Zt(
1100
+ (p, b) => sr(
1095
1101
  p,
1096
- (w) => {
1097
- u[b] = w, l &= ~(1 << b), h && c();
1102
+ (H) => {
1103
+ u[b] = H, l &= ~(1 << b), h && f();
1098
1104
  },
1099
1105
  () => {
1100
1106
  l |= 1 << b;
1101
1107
  }
1102
1108
  )
1103
1109
  );
1104
- return h = !0, c(), function() {
1105
- ie(d), m(), h = !1;
1110
+ return h = !0, f(), function() {
1111
+ ce(d), m(), h = !1;
1106
1112
  };
1107
1113
  });
1108
1114
  }
1109
- function Nn(e) {
1115
+ function Vn(e) {
1110
1116
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1111
1117
  }
1112
- var Ln = function(t) {
1113
- return Cn(t) && !In(t);
1118
+ var Xn = function(t) {
1119
+ return Wn(t) && !zn(t);
1114
1120
  };
1115
- function Cn(e) {
1121
+ function Wn(e) {
1116
1122
  return !!e && typeof e == "object";
1117
1123
  }
1118
- function In(e) {
1124
+ function zn(e) {
1119
1125
  var t = Object.prototype.toString.call(e);
1120
- return t === "[object RegExp]" || t === "[object Date]" || Gn(e);
1126
+ return t === "[object RegExp]" || t === "[object Date]" || Qn(e);
1121
1127
  }
1122
- var Mn = typeof Symbol == "function" && Symbol.for, Rn = Mn ? Symbol.for("react.element") : 60103;
1123
- function Gn(e) {
1124
- return e.$$typeof === Rn;
1128
+ var Zn = typeof Symbol == "function" && Symbol.for, qn = Zn ? Symbol.for("react.element") : 60103;
1129
+ function Qn(e) {
1130
+ return e.$$typeof === qn;
1125
1131
  }
1126
- function Un(e) {
1132
+ function Yn(e) {
1127
1133
  return Array.isArray(e) ? [] : {};
1128
1134
  }
1129
- function fe(e, t) {
1130
- return t.clone !== !1 && t.isMergeableObject(e) ? ee(Un(e), e, t) : e;
1135
+ function _e(e, t) {
1136
+ return t.clone !== !1 && t.isMergeableObject(e) ? ae(Yn(e), e, t) : e;
1131
1137
  }
1132
- function Dn(e, t, r) {
1138
+ function Jn(e, t, r) {
1133
1139
  return e.concat(t).map(function(n) {
1134
- return fe(n, r);
1140
+ return _e(n, r);
1135
1141
  });
1136
1142
  }
1137
- function Fn(e, t) {
1143
+ function Kn(e, t) {
1138
1144
  if (!t.customMerge)
1139
- return ee;
1145
+ return ae;
1140
1146
  var r = t.customMerge(e);
1141
- return typeof r == "function" ? r : ee;
1147
+ return typeof r == "function" ? r : ae;
1142
1148
  }
1143
- function $n(e) {
1149
+ function ei(e) {
1144
1150
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1145
1151
  return Object.propertyIsEnumerable.call(e, t);
1146
1152
  }) : [];
1147
1153
  }
1148
- function Ct(e) {
1149
- return Object.keys(e).concat($n(e));
1154
+ function Vt(e) {
1155
+ return Object.keys(e).concat(ei(e));
1150
1156
  }
1151
- function ar(e, t) {
1157
+ function gr(e, t) {
1152
1158
  try {
1153
1159
  return t in e;
1154
1160
  } catch (r) {
1155
1161
  return !1;
1156
1162
  }
1157
1163
  }
1158
- function jn(e, t) {
1159
- return ar(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1164
+ function ti(e, t) {
1165
+ return gr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1160
1166
  }
1161
- function kn(e, t, r) {
1167
+ function ri(e, t, r) {
1162
1168
  var n = {};
1163
- return r.isMergeableObject(e) && Ct(e).forEach(function(i) {
1164
- n[i] = fe(e[i], r);
1165
- }), Ct(t).forEach(function(i) {
1166
- jn(e, i) || (ar(e, i) && r.isMergeableObject(t[i]) ? n[i] = Fn(i, r)(e[i], t[i], r) : n[i] = fe(t[i], r));
1169
+ return r.isMergeableObject(e) && Vt(e).forEach(function(i) {
1170
+ n[i] = _e(e[i], r);
1171
+ }), Vt(t).forEach(function(i) {
1172
+ ti(e, i) || (gr(e, i) && r.isMergeableObject(t[i]) ? n[i] = Kn(i, r)(e[i], t[i], r) : n[i] = _e(t[i], r));
1167
1173
  }), n;
1168
1174
  }
1169
- function ee(e, t, r) {
1170
- r = r || {}, r.arrayMerge = r.arrayMerge || Dn, r.isMergeableObject = r.isMergeableObject || Ln, r.cloneUnlessOtherwiseSpecified = fe;
1175
+ function ae(e, t, r) {
1176
+ r = r || {}, r.arrayMerge = r.arrayMerge || Jn, r.isMergeableObject = r.isMergeableObject || Xn, r.cloneUnlessOtherwiseSpecified = _e;
1171
1177
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
1172
- return s ? n ? r.arrayMerge(e, t, r) : kn(e, t, r) : fe(t, r);
1178
+ return s ? n ? r.arrayMerge(e, t, r) : ri(e, t, r) : _e(t, r);
1173
1179
  }
1174
- ee.all = function(t, r) {
1180
+ ae.all = function(t, r) {
1175
1181
  if (!Array.isArray(t))
1176
1182
  throw new Error("first argument should be an array");
1177
1183
  return t.reduce(function(n, i) {
1178
- return ee(n, i, r);
1184
+ return ae(n, i, r);
1179
1185
  }, {});
1180
1186
  };
1181
- var Vn = ee, Xn = Vn;
1182
- const Wn = /* @__PURE__ */ Nn(Xn);
1183
- var tt = function(e, t) {
1184
- return tt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1187
+ var ni = ae, ii = ni;
1188
+ const si = /* @__PURE__ */ Vn(ii);
1189
+ var ct = function(e, t) {
1190
+ return ct = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1185
1191
  r.__proto__ = n;
1186
1192
  } || function(r, n) {
1187
1193
  for (var i in n)
1188
1194
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1189
- }, tt(e, t);
1195
+ }, ct(e, t);
1190
1196
  };
1191
- function Oe(e, t) {
1197
+ function Fe(e, t) {
1192
1198
  if (typeof t != "function" && t !== null)
1193
1199
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1194
- tt(e, t);
1200
+ ct(e, t);
1195
1201
  function r() {
1196
1202
  this.constructor = e;
1197
1203
  }
1198
1204
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1199
1205
  }
1200
- var G = function() {
1201
- return G = Object.assign || function(t) {
1206
+ var D = function() {
1207
+ return D = Object.assign || function(t) {
1202
1208
  for (var r, n = 1, i = arguments.length; n < i; n++) {
1203
1209
  r = arguments[n];
1204
1210
  for (var s in r)
1205
1211
  Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
1206
1212
  }
1207
1213
  return t;
1208
- }, G.apply(this, arguments);
1214
+ }, D.apply(this, arguments);
1209
1215
  };
1210
- function zn(e, t) {
1216
+ function oi(e, t) {
1211
1217
  var r = {};
1212
1218
  for (var n in e)
1213
1219
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -1216,43 +1222,43 @@ function zn(e, t) {
1216
1222
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1217
1223
  return r;
1218
1224
  }
1219
- function Fe(e, t, r) {
1225
+ function Qe(e, t, r) {
1220
1226
  if (r || arguments.length === 2)
1221
1227
  for (var n = 0, i = t.length, s; n < i; n++)
1222
1228
  (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
1223
1229
  return e.concat(s || Array.prototype.slice.call(t));
1224
1230
  }
1225
- function $e(e, t) {
1226
- var r = t && t.cache ? t.cache : ei, n = t && t.serializer ? t.serializer : Jn, i = t && t.strategy ? t.strategy : Qn;
1231
+ function Ye(e, t) {
1232
+ var r = t && t.cache ? t.cache : mi, n = t && t.serializer ? t.serializer : ci, i = t && t.strategy ? t.strategy : hi;
1227
1233
  return i(e, {
1228
1234
  cache: r,
1229
1235
  serializer: n
1230
1236
  });
1231
1237
  }
1232
- function Zn(e) {
1238
+ function ai(e) {
1233
1239
  return e == null || typeof e == "number" || typeof e == "boolean";
1234
1240
  }
1235
- function qn(e, t, r, n) {
1236
- var i = Zn(n) ? n : r(n), s = t.get(i);
1241
+ function ui(e, t, r, n) {
1242
+ var i = ai(n) ? n : r(n), s = t.get(i);
1237
1243
  return typeof s == "undefined" && (s = e.call(this, n), t.set(i, s)), s;
1238
1244
  }
1239
- function ur(e, t, r) {
1245
+ function vr(e, t, r) {
1240
1246
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
1241
1247
  return typeof s == "undefined" && (s = e.apply(this, n), t.set(i, s)), s;
1242
1248
  }
1243
- function hr(e, t, r, n, i) {
1249
+ function _r(e, t, r, n, i) {
1244
1250
  return r.bind(t, e, n, i);
1245
1251
  }
1246
- function Qn(e, t) {
1247
- var r = e.length === 1 ? qn : ur;
1248
- return hr(e, this, r, t.cache.create(), t.serializer);
1252
+ function hi(e, t) {
1253
+ var r = e.length === 1 ? ui : vr;
1254
+ return _r(e, this, r, t.cache.create(), t.serializer);
1249
1255
  }
1250
- function Yn(e, t) {
1251
- return hr(e, this, ur, t.cache.create(), t.serializer);
1256
+ function li(e, t) {
1257
+ return _r(e, this, vr, t.cache.create(), t.serializer);
1252
1258
  }
1253
- var Jn = function() {
1259
+ var ci = function() {
1254
1260
  return JSON.stringify(arguments);
1255
- }, Kn = (
1261
+ }, fi = (
1256
1262
  /** @class */
1257
1263
  function() {
1258
1264
  function e() {
@@ -1264,71 +1270,71 @@ var Jn = function() {
1264
1270
  this.cache[t] = r;
1265
1271
  }, e;
1266
1272
  }()
1267
- ), ei = {
1273
+ ), mi = {
1268
1274
  create: function() {
1269
- return new Kn();
1275
+ return new fi();
1270
1276
  }
1271
- }, je = {
1272
- variadic: Yn
1273
- }, Te = function() {
1274
- return Te = Object.assign || function(t) {
1277
+ }, Je = {
1278
+ variadic: li
1279
+ }, Me = function() {
1280
+ return Me = Object.assign || function(t) {
1275
1281
  for (var r, n = 1, i = arguments.length; n < i; n++) {
1276
1282
  r = arguments[n];
1277
1283
  for (var s in r)
1278
1284
  Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
1279
1285
  }
1280
1286
  return t;
1281
- }, Te.apply(this, arguments);
1287
+ }, Me.apply(this, arguments);
1282
1288
  };
1283
- var g;
1289
+ var y;
1284
1290
  (function(e) {
1285
1291
  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";
1286
- })(g || (g = {}));
1287
- var x;
1292
+ })(y || (y = {}));
1293
+ var S;
1288
1294
  (function(e) {
1289
1295
  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";
1290
- })(x || (x = {}));
1291
- var te;
1296
+ })(S || (S = {}));
1297
+ var ue;
1292
1298
  (function(e) {
1293
1299
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1294
- })(te || (te = {}));
1295
- function It(e) {
1296
- return e.type === x.literal;
1300
+ })(ue || (ue = {}));
1301
+ function Xt(e) {
1302
+ return e.type === S.literal;
1297
1303
  }
1298
- function ti(e) {
1299
- return e.type === x.argument;
1304
+ function di(e) {
1305
+ return e.type === S.argument;
1300
1306
  }
1301
- function lr(e) {
1302
- return e.type === x.number;
1307
+ function Er(e) {
1308
+ return e.type === S.number;
1303
1309
  }
1304
- function cr(e) {
1305
- return e.type === x.date;
1310
+ function xr(e) {
1311
+ return e.type === S.date;
1306
1312
  }
1307
- function fr(e) {
1308
- return e.type === x.time;
1313
+ function Sr(e) {
1314
+ return e.type === S.time;
1309
1315
  }
1310
- function mr(e) {
1311
- return e.type === x.select;
1316
+ function wr(e) {
1317
+ return e.type === S.select;
1312
1318
  }
1313
- function dr(e) {
1314
- return e.type === x.plural;
1319
+ function Tr(e) {
1320
+ return e.type === S.plural;
1315
1321
  }
1316
- function ri(e) {
1317
- return e.type === x.pound;
1322
+ function bi(e) {
1323
+ return e.type === S.pound;
1318
1324
  }
1319
- function br(e) {
1320
- return e.type === x.tag;
1325
+ function Hr(e) {
1326
+ return e.type === S.tag;
1321
1327
  }
1322
- function pr(e) {
1323
- return !!(e && typeof e == "object" && e.type === te.number);
1328
+ function Ar(e) {
1329
+ return !!(e && typeof e == "object" && e.type === ue.number);
1324
1330
  }
1325
- function rt(e) {
1326
- return !!(e && typeof e == "object" && e.type === te.dateTime);
1331
+ function ft(e) {
1332
+ return !!(e && typeof e == "object" && e.type === ue.dateTime);
1327
1333
  }
1328
- var gr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, ni = /(?:[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;
1329
- function ii(e) {
1334
+ var Br = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, pi = /(?:[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;
1335
+ function yi(e) {
1330
1336
  var t = {};
1331
- return e.replace(ni, function(r) {
1337
+ return e.replace(pi, function(r) {
1332
1338
  var n = r.length;
1333
1339
  switch (r[0]) {
1334
1340
  case "G":
@@ -1417,22 +1423,22 @@ function ii(e) {
1417
1423
  return "";
1418
1424
  }), t;
1419
1425
  }
1420
- var S = function() {
1421
- return S = Object.assign || function(t) {
1426
+ var w = function() {
1427
+ return w = Object.assign || function(t) {
1422
1428
  for (var r, n = 1, i = arguments.length; n < i; n++) {
1423
1429
  r = arguments[n];
1424
1430
  for (var s in r)
1425
1431
  Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
1426
1432
  }
1427
1433
  return t;
1428
- }, S.apply(this, arguments);
1434
+ }, w.apply(this, arguments);
1429
1435
  };
1430
- var si = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1431
- function oi(e) {
1436
+ var gi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1437
+ function vi(e) {
1432
1438
  if (e.length === 0)
1433
1439
  throw new Error("Number skeleton cannot be empty");
1434
- for (var t = e.split(si).filter(function(c) {
1435
- return c.length > 0;
1440
+ for (var t = e.split(gi).filter(function(f) {
1441
+ return f.length > 0;
1436
1442
  }), r = [], n = 0, i = t; n < i.length; n++) {
1437
1443
  var s = i[n], o = s.split("/");
1438
1444
  if (o.length === 0)
@@ -1446,17 +1452,17 @@ function oi(e) {
1446
1452
  }
1447
1453
  return r;
1448
1454
  }
1449
- function ai(e) {
1455
+ function _i(e) {
1450
1456
  return e.replace(/^(.*?)-/, "");
1451
1457
  }
1452
- var Mt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, yr = /^(@+)?(\+|#+)?[rs]?$/g, ui = /(\*)(0+)|(#+)(0+)|(0+)/g, vr = /^(0+)$/;
1453
- function Rt(e) {
1458
+ var Wt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Pr = /^(@+)?(\+|#+)?[rs]?$/g, Ei = /(\*)(0+)|(#+)(0+)|(0+)/g, Or = /^(0+)$/;
1459
+ function zt(e) {
1454
1460
  var t = {};
1455
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(yr, function(r, n, i) {
1461
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Pr, function(r, n, i) {
1456
1462
  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)), "";
1457
1463
  }), t;
1458
1464
  }
1459
- function _r(e) {
1465
+ function Nr(e) {
1460
1466
  switch (e) {
1461
1467
  case "sign-auto":
1462
1468
  return {
@@ -1496,7 +1502,7 @@ function _r(e) {
1496
1502
  };
1497
1503
  }
1498
1504
  }
1499
- function hi(e) {
1505
+ function xi(e) {
1500
1506
  var t;
1501
1507
  if (e[0] === "E" && e[1] === "E" ? (t = {
1502
1508
  notation: "engineering"
@@ -1504,17 +1510,17 @@ function hi(e) {
1504
1510
  notation: "scientific"
1505
1511
  }, e = e.slice(1)), t) {
1506
1512
  var r = e.slice(0, 2);
1507
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !vr.test(e))
1513
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Or.test(e))
1508
1514
  throw new Error("Malformed concise eng/scientific notation");
1509
1515
  t.minimumIntegerDigits = e.length;
1510
1516
  }
1511
1517
  return t;
1512
1518
  }
1513
- function Gt(e) {
1514
- var t = {}, r = _r(e);
1519
+ function Zt(e) {
1520
+ var t = {}, r = Nr(e);
1515
1521
  return r || t;
1516
1522
  }
1517
- function li(e) {
1523
+ function Si(e) {
1518
1524
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1519
1525
  var i = n[r];
1520
1526
  switch (i.stem) {
@@ -1538,7 +1544,7 @@ function li(e) {
1538
1544
  continue;
1539
1545
  case "measure-unit":
1540
1546
  case "unit":
1541
- t.style = "unit", t.unit = ai(i.options[0]);
1547
+ t.style = "unit", t.unit = _i(i.options[0]);
1542
1548
  continue;
1543
1549
  case "compact-short":
1544
1550
  case "K":
@@ -1549,13 +1555,13 @@ function li(e) {
1549
1555
  t.notation = "compact", t.compactDisplay = "long";
1550
1556
  continue;
1551
1557
  case "scientific":
1552
- t = S(S(S({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1553
- return S(S({}, h), Gt(u));
1558
+ t = w(w(w({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1559
+ return w(w({}, h), Zt(u));
1554
1560
  }, {}));
1555
1561
  continue;
1556
1562
  case "engineering":
1557
- t = S(S(S({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1558
- return S(S({}, h), Gt(u));
1563
+ t = w(w(w({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1564
+ return w(w({}, h), Zt(u));
1559
1565
  }, {}));
1560
1566
  continue;
1561
1567
  case "notation-simple":
@@ -1600,11 +1606,11 @@ function li(e) {
1600
1606
  case "integer-width":
1601
1607
  if (i.options.length > 1)
1602
1608
  throw new RangeError("integer-width stems only accept a single optional option");
1603
- i.options[0].replace(ui, function(h, u, l, m, c, d) {
1609
+ i.options[0].replace(Ei, function(h, u, l, m, f, d) {
1604
1610
  if (u)
1605
1611
  t.minimumIntegerDigits = l.length;
1606
1612
  else {
1607
- if (m && c)
1613
+ if (m && f)
1608
1614
  throw new Error("We currently do not support maximum integer digits");
1609
1615
  if (d)
1610
1616
  throw new Error("We currently do not support exact integer digits");
@@ -1613,32 +1619,32 @@ function li(e) {
1613
1619
  });
1614
1620
  continue;
1615
1621
  }
1616
- if (vr.test(i.stem)) {
1622
+ if (Or.test(i.stem)) {
1617
1623
  t.minimumIntegerDigits = i.stem.length;
1618
1624
  continue;
1619
1625
  }
1620
- if (Mt.test(i.stem)) {
1626
+ if (Wt.test(i.stem)) {
1621
1627
  if (i.options.length > 1)
1622
1628
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1623
- i.stem.replace(Mt, function(h, u, l, m, c, d) {
1624
- return l === "*" ? t.minimumFractionDigits = u.length : m && m[0] === "#" ? t.maximumFractionDigits = m.length : c && d ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1629
+ i.stem.replace(Wt, function(h, u, l, m, f, d) {
1630
+ return l === "*" ? t.minimumFractionDigits = u.length : m && m[0] === "#" ? t.maximumFractionDigits = m.length : f && d ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1625
1631
  });
1626
1632
  var s = i.options[0];
1627
- s === "w" ? t = S(S({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = S(S({}, t), Rt(s)));
1633
+ s === "w" ? t = w(w({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = w(w({}, t), zt(s)));
1628
1634
  continue;
1629
1635
  }
1630
- if (yr.test(i.stem)) {
1631
- t = S(S({}, t), Rt(i.stem));
1636
+ if (Pr.test(i.stem)) {
1637
+ t = w(w({}, t), zt(i.stem));
1632
1638
  continue;
1633
1639
  }
1634
- var o = _r(i.stem);
1635
- o && (t = S(S({}, t), o));
1636
- var a = hi(i.stem);
1637
- a && (t = S(S({}, t), a));
1640
+ var o = Nr(i.stem);
1641
+ o && (t = w(w({}, t), o));
1642
+ var a = xi(i.stem);
1643
+ a && (t = w(w({}, t), a));
1638
1644
  }
1639
1645
  return t;
1640
1646
  }
1641
- var _e = {
1647
+ var Oe = {
1642
1648
  "001": [
1643
1649
  "H",
1644
1650
  "h"
@@ -3053,13 +3059,13 @@ var _e = {
3053
3059
  "h"
3054
3060
  ]
3055
3061
  };
3056
- function ci(e, t) {
3062
+ function wi(e, t) {
3057
3063
  for (var r = "", n = 0; n < e.length; n++) {
3058
3064
  var i = e.charAt(n);
3059
3065
  if (i === "j") {
3060
3066
  for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3061
3067
  s++, n++;
3062
- var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), h = "a", u = fi(t);
3068
+ var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), h = "a", u = Ti(t);
3063
3069
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
3064
3070
  r += h;
3065
3071
  for (; o-- > 0; )
@@ -3069,7 +3075,7 @@ function ci(e, t) {
3069
3075
  }
3070
3076
  return r;
3071
3077
  }
3072
- function fi(e) {
3078
+ function Ti(e) {
3073
3079
  var t = e.hourCycle;
3074
3080
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3075
3081
  e.hourCycles && // @ts-ignore
@@ -3088,23 +3094,23 @@ function fi(e) {
3088
3094
  }
3089
3095
  var r = e.language, n;
3090
3096
  r !== "root" && (n = e.maximize().region);
3091
- var i = _e[n || ""] || _e[r || ""] || _e["".concat(r, "-001")] || _e["001"];
3097
+ var i = Oe[n || ""] || Oe[r || ""] || Oe["".concat(r, "-001")] || Oe["001"];
3092
3098
  return i[0];
3093
3099
  }
3094
- var ke, mi = new RegExp("^".concat(gr.source, "*")), di = new RegExp("".concat(gr.source, "*$"));
3095
- function y(e, t) {
3100
+ var Ke, Hi = new RegExp("^".concat(Br.source, "*")), Ai = new RegExp("".concat(Br.source, "*$"));
3101
+ function g(e, t) {
3096
3102
  return { start: e, end: t };
3097
3103
  }
3098
- var bi = !!String.prototype.startsWith && "_a".startsWith("a", 1), pi = !!String.fromCodePoint, gi = !!Object.fromEntries, yi = !!String.prototype.codePointAt, vi = !!String.prototype.trimStart, _i = !!String.prototype.trimEnd, Ei = !!Number.isSafeInteger, xi = Ei ? Number.isSafeInteger : function(e) {
3104
+ var Bi = !!String.prototype.startsWith && "_a".startsWith("a", 1), Pi = !!String.fromCodePoint, Oi = !!Object.fromEntries, Ni = !!String.prototype.codePointAt, Li = !!String.prototype.trimStart, Ci = !!String.prototype.trimEnd, Ii = !!Number.isSafeInteger, Mi = Ii ? Number.isSafeInteger : function(e) {
3099
3105
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3100
- }, nt = !0;
3106
+ }, mt = !0;
3101
3107
  try {
3102
- var Si = xr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3103
- nt = ((ke = Si.exec("a")) === null || ke === void 0 ? void 0 : ke[0]) === "a";
3108
+ var Ri = Cr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3109
+ mt = ((Ke = Ri.exec("a")) === null || Ke === void 0 ? void 0 : Ke[0]) === "a";
3104
3110
  } catch (e) {
3105
- nt = !1;
3111
+ mt = !1;
3106
3112
  }
3107
- var Ut = bi ? (
3113
+ var qt = Bi ? (
3108
3114
  // Native
3109
3115
  function(t, r, n) {
3110
3116
  return t.startsWith(r, n);
@@ -3114,7 +3120,7 @@ var Ut = bi ? (
3114
3120
  function(t, r, n) {
3115
3121
  return t.slice(n, n + r.length) === r;
3116
3122
  }
3117
- ), it = pi ? String.fromCodePoint : (
3123
+ ), dt = Pi ? String.fromCodePoint : (
3118
3124
  // IE11
3119
3125
  function() {
3120
3126
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3126,9 +3132,9 @@ var Ut = bi ? (
3126
3132
  }
3127
3133
  return n;
3128
3134
  }
3129
- ), Dt = (
3135
+ ), Qt = (
3130
3136
  // native
3131
- gi ? Object.fromEntries : (
3137
+ Oi ? Object.fromEntries : (
3132
3138
  // Ponyfill
3133
3139
  function(t) {
3134
3140
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3138,7 +3144,7 @@ var Ut = bi ? (
3138
3144
  return r;
3139
3145
  }
3140
3146
  )
3141
- ), Er = yi ? (
3147
+ ), Lr = Ni ? (
3142
3148
  // Native
3143
3149
  function(t, r) {
3144
3150
  return t.codePointAt(r);
@@ -3152,7 +3158,7 @@ var Ut = bi ? (
3152
3158
  return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
3153
3159
  }
3154
3160
  }
3155
- ), wi = vi ? (
3161
+ ), Gi = Li ? (
3156
3162
  // Native
3157
3163
  function(t) {
3158
3164
  return t.trimStart();
@@ -3160,9 +3166,9 @@ var Ut = bi ? (
3160
3166
  ) : (
3161
3167
  // Ponyfill
3162
3168
  function(t) {
3163
- return t.replace(mi, "");
3169
+ return t.replace(Hi, "");
3164
3170
  }
3165
- ), Ti = _i ? (
3171
+ ), Ui = Ci ? (
3166
3172
  // Native
3167
3173
  function(t) {
3168
3174
  return t.trimEnd();
@@ -3170,32 +3176,32 @@ var Ut = bi ? (
3170
3176
  ) : (
3171
3177
  // Ponyfill
3172
3178
  function(t) {
3173
- return t.replace(di, "");
3179
+ return t.replace(Ai, "");
3174
3180
  }
3175
3181
  );
3176
- function xr(e, t) {
3182
+ function Cr(e, t) {
3177
3183
  return new RegExp(e, t);
3178
3184
  }
3179
- var st;
3180
- if (nt) {
3181
- var Ft = xr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3182
- st = function(t, r) {
3185
+ var bt;
3186
+ if (mt) {
3187
+ var Yt = Cr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3188
+ bt = function(t, r) {
3183
3189
  var n;
3184
- Ft.lastIndex = r;
3185
- var i = Ft.exec(t);
3190
+ Yt.lastIndex = r;
3191
+ var i = Yt.exec(t);
3186
3192
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3187
3193
  };
3188
3194
  } else
3189
- st = function(t, r) {
3195
+ bt = function(t, r) {
3190
3196
  for (var n = []; ; ) {
3191
- var i = Er(t, r);
3192
- if (i === void 0 || Sr(i) || Pi(i))
3197
+ var i = Lr(t, r);
3198
+ if (i === void 0 || Ir(i) || ji(i))
3193
3199
  break;
3194
3200
  n.push(i), r += i >= 65536 ? 2 : 1;
3195
3201
  }
3196
- return it.apply(void 0, n);
3202
+ return dt.apply(void 0, n);
3197
3203
  };
3198
- var Hi = (
3204
+ var Di = (
3199
3205
  /** @class */
3200
3206
  function() {
3201
3207
  function e(t, r) {
@@ -3219,14 +3225,14 @@ var Hi = (
3219
3225
  if (s === 35 && (r === "plural" || r === "selectordinal")) {
3220
3226
  var a = this.clonePosition();
3221
3227
  this.bump(), i.push({
3222
- type: x.pound,
3223
- location: y(a, this.clonePosition())
3228
+ type: S.pound,
3229
+ location: g(a, this.clonePosition())
3224
3230
  });
3225
3231
  } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
3226
3232
  if (n)
3227
3233
  break;
3228
- return this.error(g.UNMATCHED_CLOSING_TAG, y(this.clonePosition(), this.clonePosition()));
3229
- } else if (s === 60 && !this.ignoreTag && ot(this.peek() || 0)) {
3234
+ return this.error(y.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
3235
+ } else if (s === 60 && !this.ignoreTag && pt(this.peek() || 0)) {
3230
3236
  var o = this.parseTag(t, r);
3231
3237
  if (o.err)
3232
3238
  return o;
@@ -3247,9 +3253,9 @@ var Hi = (
3247
3253
  if (this.bumpSpace(), this.bumpIf("/>"))
3248
3254
  return {
3249
3255
  val: {
3250
- type: x.literal,
3256
+ type: S.literal,
3251
3257
  value: "<".concat(i, "/>"),
3252
- location: y(n, this.clonePosition())
3258
+ location: g(n, this.clonePosition())
3253
3259
  },
3254
3260
  err: null
3255
3261
  };
@@ -3259,25 +3265,25 @@ var Hi = (
3259
3265
  return s;
3260
3266
  var o = s.val, a = this.clonePosition();
3261
3267
  if (this.bumpIf("</")) {
3262
- if (this.isEOF() || !ot(this.char()))
3263
- return this.error(g.INVALID_TAG, y(a, this.clonePosition()));
3268
+ if (this.isEOF() || !pt(this.char()))
3269
+ return this.error(y.INVALID_TAG, g(a, this.clonePosition()));
3264
3270
  var h = this.clonePosition(), u = this.parseTagName();
3265
- return i !== u ? this.error(g.UNMATCHED_CLOSING_TAG, y(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3271
+ return i !== u ? this.error(y.UNMATCHED_CLOSING_TAG, g(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3266
3272
  val: {
3267
- type: x.tag,
3273
+ type: S.tag,
3268
3274
  value: i,
3269
3275
  children: o,
3270
- location: y(n, this.clonePosition())
3276
+ location: g(n, this.clonePosition())
3271
3277
  },
3272
3278
  err: null
3273
- } : this.error(g.INVALID_TAG, y(a, this.clonePosition())));
3279
+ } : this.error(y.INVALID_TAG, g(a, this.clonePosition())));
3274
3280
  } else
3275
- return this.error(g.UNCLOSED_TAG, y(n, this.clonePosition()));
3281
+ return this.error(y.UNCLOSED_TAG, g(n, this.clonePosition()));
3276
3282
  } else
3277
- return this.error(g.INVALID_TAG, y(n, this.clonePosition()));
3283
+ return this.error(y.INVALID_TAG, g(n, this.clonePosition()));
3278
3284
  }, e.prototype.parseTagName = function() {
3279
3285
  var t = this.offset();
3280
- for (this.bump(); !this.isEOF() && Bi(this.char()); )
3286
+ for (this.bump(); !this.isEOF() && $i(this.char()); )
3281
3287
  this.bump();
3282
3288
  return this.message.slice(t, this.offset());
3283
3289
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3299,14 +3305,14 @@ var Hi = (
3299
3305
  }
3300
3306
  break;
3301
3307
  }
3302
- var h = y(n, this.clonePosition());
3308
+ var h = g(n, this.clonePosition());
3303
3309
  return {
3304
- val: { type: x.literal, value: i, location: h },
3310
+ val: { type: S.literal, value: i, location: h },
3305
3311
  err: null
3306
3312
  };
3307
3313
  }, e.prototype.tryParseLeftAngleBracket = function() {
3308
3314
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3309
- !Ai(this.peek() || 0)) ? (this.bump(), "<") : null;
3315
+ !Fi(this.peek() || 0)) ? (this.bump(), "<") : null;
3310
3316
  }, e.prototype.tryParseQuote = function(t) {
3311
3317
  if (this.isEOF() || this.char() !== 39)
3312
3318
  return null;
@@ -3340,49 +3346,49 @@ var Hi = (
3340
3346
  r.push(n);
3341
3347
  this.bump();
3342
3348
  }
3343
- return it.apply(void 0, r);
3349
+ return dt.apply(void 0, r);
3344
3350
  }, e.prototype.tryParseUnquoted = function(t, r) {
3345
3351
  if (this.isEOF())
3346
3352
  return null;
3347
3353
  var n = this.char();
3348
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), it(n));
3354
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), dt(n));
3349
3355
  }, e.prototype.parseArgument = function(t, r) {
3350
3356
  var n = this.clonePosition();
3351
3357
  if (this.bump(), this.bumpSpace(), this.isEOF())
3352
- return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition()));
3358
+ return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition()));
3353
3359
  if (this.char() === 125)
3354
- return this.bump(), this.error(g.EMPTY_ARGUMENT, y(n, this.clonePosition()));
3360
+ return this.bump(), this.error(y.EMPTY_ARGUMENT, g(n, this.clonePosition()));
3355
3361
  var i = this.parseIdentifierIfPossible().value;
3356
3362
  if (!i)
3357
- return this.error(g.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
3363
+ return this.error(y.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
3358
3364
  if (this.bumpSpace(), this.isEOF())
3359
- return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition()));
3365
+ return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition()));
3360
3366
  switch (this.char()) {
3361
3367
  case 125:
3362
3368
  return this.bump(), {
3363
3369
  val: {
3364
- type: x.argument,
3370
+ type: S.argument,
3365
3371
  // value does not include the opening and closing braces.
3366
3372
  value: i,
3367
- location: y(n, this.clonePosition())
3373
+ location: g(n, this.clonePosition())
3368
3374
  },
3369
3375
  err: null
3370
3376
  };
3371
3377
  case 44:
3372
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3378
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3373
3379
  default:
3374
- return this.error(g.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
3380
+ return this.error(y.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
3375
3381
  }
3376
3382
  }, e.prototype.parseIdentifierIfPossible = function() {
3377
- var t = this.clonePosition(), r = this.offset(), n = st(this.message, r), i = r + n.length;
3383
+ var t = this.clonePosition(), r = this.offset(), n = bt(this.message, r), i = r + n.length;
3378
3384
  this.bumpTo(i);
3379
- var s = this.clonePosition(), o = y(t, s);
3385
+ var s = this.clonePosition(), o = g(t, s);
3380
3386
  return { value: n, location: o };
3381
3387
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3382
3388
  var s, o = this.clonePosition(), a = this.parseIdentifierIfPossible().value, h = this.clonePosition();
3383
3389
  switch (a) {
3384
3390
  case "":
3385
- return this.error(g.EXPECT_ARGUMENT_TYPE, y(o, h));
3391
+ return this.error(y.EXPECT_ARGUMENT_TYPE, g(o, h));
3386
3392
  case "number":
3387
3393
  case "date":
3388
3394
  case "time": {
@@ -3393,44 +3399,44 @@ var Hi = (
3393
3399
  var l = this.clonePosition(), m = this.parseSimpleArgStyleIfPossible();
3394
3400
  if (m.err)
3395
3401
  return m;
3396
- var c = Ti(m.val);
3397
- if (c.length === 0)
3398
- return this.error(g.EXPECT_ARGUMENT_STYLE, y(this.clonePosition(), this.clonePosition()));
3399
- var d = y(l, this.clonePosition());
3400
- u = { style: c, styleLocation: d };
3402
+ var f = Ui(m.val);
3403
+ if (f.length === 0)
3404
+ return this.error(y.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
3405
+ var d = g(l, this.clonePosition());
3406
+ u = { style: f, styleLocation: d };
3401
3407
  }
3402
3408
  var p = this.tryParseArgumentClose(i);
3403
3409
  if (p.err)
3404
3410
  return p;
3405
- var b = y(i, this.clonePosition());
3406
- if (u && Ut(u == null ? void 0 : u.style, "::", 0)) {
3407
- var w = wi(u.style.slice(2));
3411
+ var b = g(i, this.clonePosition());
3412
+ if (u && qt(u == null ? void 0 : u.style, "::", 0)) {
3413
+ var H = Gi(u.style.slice(2));
3408
3414
  if (a === "number") {
3409
- var m = this.parseNumberSkeletonFromString(w, u.styleLocation);
3415
+ var m = this.parseNumberSkeletonFromString(H, u.styleLocation);
3410
3416
  return m.err ? m : {
3411
- val: { type: x.number, value: n, location: b, style: m.val },
3417
+ val: { type: S.number, value: n, location: b, style: m.val },
3412
3418
  err: null
3413
3419
  };
3414
3420
  } else {
3415
- if (w.length === 0)
3416
- return this.error(g.EXPECT_DATE_TIME_SKELETON, b);
3417
- var C = w;
3418
- this.locale && (C = ci(w, this.locale));
3419
- var c = {
3420
- type: te.dateTime,
3421
- pattern: C,
3421
+ if (H.length === 0)
3422
+ return this.error(y.EXPECT_DATE_TIME_SKELETON, b);
3423
+ var R = H;
3424
+ this.locale && (R = wi(H, this.locale));
3425
+ var f = {
3426
+ type: ue.dateTime,
3427
+ pattern: R,
3422
3428
  location: u.styleLocation,
3423
- parsedOptions: this.shouldParseSkeletons ? ii(C) : {}
3424
- }, P = a === "date" ? x.date : x.time;
3429
+ parsedOptions: this.shouldParseSkeletons ? yi(R) : {}
3430
+ }, L = a === "date" ? S.date : S.time;
3425
3431
  return {
3426
- val: { type: P, value: n, location: b, style: c },
3432
+ val: { type: L, value: n, location: b, style: f },
3427
3433
  err: null
3428
3434
  };
3429
3435
  }
3430
3436
  }
3431
3437
  return {
3432
3438
  val: {
3433
- type: a === "number" ? x.number : a === "date" ? x.date : x.time,
3439
+ type: a === "number" ? S.number : a === "date" ? S.date : S.time,
3434
3440
  value: n,
3435
3441
  location: b,
3436
3442
  style: (s = u == null ? void 0 : u.style) !== null && s !== void 0 ? s : null
@@ -3441,52 +3447,52 @@ var Hi = (
3441
3447
  case "plural":
3442
3448
  case "selectordinal":
3443
3449
  case "select": {
3444
- var T = this.clonePosition();
3450
+ var A = this.clonePosition();
3445
3451
  if (this.bumpSpace(), !this.bumpIf(","))
3446
- return this.error(g.EXPECT_SELECT_ARGUMENT_OPTIONS, y(T, Te({}, T)));
3452
+ return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, g(A, Me({}, A)));
3447
3453
  this.bumpSpace();
3448
- var O = this.parseIdentifierIfPossible(), H = 0;
3449
- if (a !== "select" && O.value === "offset") {
3454
+ var C = this.parseIdentifierIfPossible(), B = 0;
3455
+ if (a !== "select" && C.value === "offset") {
3450
3456
  if (!this.bumpIf(":"))
3451
- return this.error(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y(this.clonePosition(), this.clonePosition()));
3457
+ return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g(this.clonePosition(), this.clonePosition()));
3452
3458
  this.bumpSpace();
3453
- var m = this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3459
+ var m = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3454
3460
  if (m.err)
3455
3461
  return m;
3456
- this.bumpSpace(), O = this.parseIdentifierIfPossible(), H = m.val;
3462
+ this.bumpSpace(), C = this.parseIdentifierIfPossible(), B = m.val;
3457
3463
  }
3458
- var M = this.tryParsePluralOrSelectOptions(t, a, r, O);
3459
- if (M.err)
3460
- return M;
3464
+ var U = this.tryParsePluralOrSelectOptions(t, a, r, C);
3465
+ if (U.err)
3466
+ return U;
3461
3467
  var p = this.tryParseArgumentClose(i);
3462
3468
  if (p.err)
3463
3469
  return p;
3464
- var _ = y(i, this.clonePosition());
3470
+ var E = g(i, this.clonePosition());
3465
3471
  return a === "select" ? {
3466
3472
  val: {
3467
- type: x.select,
3473
+ type: S.select,
3468
3474
  value: n,
3469
- options: Dt(M.val),
3470
- location: _
3475
+ options: Qt(U.val),
3476
+ location: E
3471
3477
  },
3472
3478
  err: null
3473
3479
  } : {
3474
3480
  val: {
3475
- type: x.plural,
3481
+ type: S.plural,
3476
3482
  value: n,
3477
- options: Dt(M.val),
3478
- offset: H,
3483
+ options: Qt(U.val),
3484
+ offset: B,
3479
3485
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3480
- location: _
3486
+ location: E
3481
3487
  },
3482
3488
  err: null
3483
3489
  };
3484
3490
  }
3485
3491
  default:
3486
- return this.error(g.INVALID_ARGUMENT_TYPE, y(o, h));
3492
+ return this.error(y.INVALID_ARGUMENT_TYPE, g(o, h));
3487
3493
  }
3488
3494
  }, e.prototype.tryParseArgumentClose = function(t) {
3489
- return this.isEOF() || this.char() !== 125 ? this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, y(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3495
+ return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, g(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3490
3496
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3491
3497
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3492
3498
  var n = this.char();
@@ -3495,7 +3501,7 @@ var Hi = (
3495
3501
  this.bump();
3496
3502
  var i = this.clonePosition();
3497
3503
  if (!this.bumpUntil("'"))
3498
- return this.error(g.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, y(i, this.clonePosition()));
3504
+ return this.error(y.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, g(i, this.clonePosition()));
3499
3505
  this.bump();
3500
3506
  break;
3501
3507
  }
@@ -3525,16 +3531,16 @@ var Hi = (
3525
3531
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3526
3532
  var n = [];
3527
3533
  try {
3528
- n = oi(t);
3534
+ n = vi(t);
3529
3535
  } catch (i) {
3530
- return this.error(g.INVALID_NUMBER_SKELETON, r);
3536
+ return this.error(y.INVALID_NUMBER_SKELETON, r);
3531
3537
  }
3532
3538
  return {
3533
3539
  val: {
3534
- type: te.number,
3540
+ type: ue.number,
3535
3541
  tokens: n,
3536
3542
  location: r,
3537
- parsedOptions: this.shouldParseSkeletons ? li(n) : {}
3543
+ parsedOptions: this.shouldParseSkeletons ? Si(n) : {}
3538
3544
  },
3539
3545
  err: null
3540
3546
  };
@@ -3543,19 +3549,19 @@ var Hi = (
3543
3549
  if (u.length === 0) {
3544
3550
  var m = this.clonePosition();
3545
3551
  if (r !== "select" && this.bumpIf("=")) {
3546
- var c = this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_SELECTOR, g.INVALID_PLURAL_ARGUMENT_SELECTOR);
3547
- if (c.err)
3548
- return c;
3549
- l = y(m, this.clonePosition()), u = this.message.slice(m.offset, this.offset());
3552
+ var f = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_SELECTOR, y.INVALID_PLURAL_ARGUMENT_SELECTOR);
3553
+ if (f.err)
3554
+ return f;
3555
+ l = g(m, this.clonePosition()), u = this.message.slice(m.offset, this.offset());
3550
3556
  } else
3551
3557
  break;
3552
3558
  }
3553
3559
  if (h.has(u))
3554
- return this.error(r === "select" ? g.DUPLICATE_SELECT_ARGUMENT_SELECTOR : g.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
3560
+ return this.error(r === "select" ? y.DUPLICATE_SELECT_ARGUMENT_SELECTOR : y.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
3555
3561
  u === "other" && (o = !0), this.bumpSpace();
3556
3562
  var d = this.clonePosition();
3557
3563
  if (!this.bumpIf("{"))
3558
- return this.error(r === "select" ? g.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : g.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, y(this.clonePosition(), this.clonePosition()));
3564
+ return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, g(this.clonePosition(), this.clonePosition()));
3559
3565
  var p = this.parseMessage(t + 1, r, n);
3560
3566
  if (p.err)
3561
3567
  return p;
@@ -3566,11 +3572,11 @@ var Hi = (
3566
3572
  u,
3567
3573
  {
3568
3574
  value: p.val,
3569
- location: y(d, this.clonePosition())
3575
+ location: g(d, this.clonePosition())
3570
3576
  }
3571
3577
  ]), h.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, l = s.location;
3572
3578
  }
3573
- return a.length === 0 ? this.error(r === "select" ? g.EXPECT_SELECT_ARGUMENT_SELECTOR : g.EXPECT_PLURAL_ARGUMENT_SELECTOR, y(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(g.MISSING_OTHER_CLAUSE, y(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3579
+ return a.length === 0 ? this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR, g(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(y.MISSING_OTHER_CLAUSE, g(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3574
3580
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3575
3581
  var n = 1, i = this.clonePosition();
3576
3582
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -3581,8 +3587,8 @@ var Hi = (
3581
3587
  else
3582
3588
  break;
3583
3589
  }
3584
- var h = y(i, this.clonePosition());
3585
- return s ? (o *= n, xi(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
3590
+ var h = g(i, this.clonePosition());
3591
+ return s ? (o *= n, Mi(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
3586
3592
  }, e.prototype.offset = function() {
3587
3593
  return this.position.offset;
3588
3594
  }, e.prototype.isEOF = function() {
@@ -3597,7 +3603,7 @@ var Hi = (
3597
3603
  var t = this.position.offset;
3598
3604
  if (t >= this.message.length)
3599
3605
  throw Error("out of bound");
3600
- var r = Er(this.message, t);
3606
+ var r = Lr(this.message, t);
3601
3607
  if (r === void 0)
3602
3608
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3603
3609
  return r;
@@ -3616,7 +3622,7 @@ var Hi = (
3616
3622
  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);
3617
3623
  }
3618
3624
  }, e.prototype.bumpIf = function(t) {
3619
- if (Ut(this.message, t, this.offset())) {
3625
+ if (qt(this.message, t, this.offset())) {
3620
3626
  for (var r = 0; r < t.length; r++)
3621
3627
  this.bump();
3622
3628
  return !0;
@@ -3638,7 +3644,7 @@ var Hi = (
3638
3644
  break;
3639
3645
  }
3640
3646
  }, e.prototype.bumpSpace = function() {
3641
- for (; !this.isEOF() && Sr(this.char()); )
3647
+ for (; !this.isEOF() && Ir(this.char()); )
3642
3648
  this.bump();
3643
3649
  }, e.prototype.peek = function() {
3644
3650
  if (this.isEOF())
@@ -3648,47 +3654,47 @@ var Hi = (
3648
3654
  }, e;
3649
3655
  }()
3650
3656
  );
3651
- function ot(e) {
3657
+ function pt(e) {
3652
3658
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3653
3659
  }
3654
- function Ai(e) {
3655
- return ot(e) || e === 47;
3660
+ function Fi(e) {
3661
+ return pt(e) || e === 47;
3656
3662
  }
3657
- function Bi(e) {
3663
+ function $i(e) {
3658
3664
  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;
3659
3665
  }
3660
- function Sr(e) {
3666
+ function Ir(e) {
3661
3667
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3662
3668
  }
3663
- function Pi(e) {
3669
+ function ji(e) {
3664
3670
  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;
3665
3671
  }
3666
- function at(e) {
3672
+ function yt(e) {
3667
3673
  e.forEach(function(t) {
3668
- if (delete t.location, mr(t) || dr(t))
3674
+ if (delete t.location, wr(t) || Tr(t))
3669
3675
  for (var r in t.options)
3670
- delete t.options[r].location, at(t.options[r].value);
3676
+ delete t.options[r].location, yt(t.options[r].value);
3671
3677
  else
3672
- lr(t) && pr(t.style) || (cr(t) || fr(t)) && rt(t.style) ? delete t.style.location : br(t) && at(t.children);
3678
+ Er(t) && Ar(t.style) || (xr(t) || Sr(t)) && ft(t.style) ? delete t.style.location : Hr(t) && yt(t.children);
3673
3679
  });
3674
3680
  }
3675
- function Oi(e, t) {
3676
- t === void 0 && (t = {}), t = Te({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3677
- var r = new Hi(e, t).parse();
3681
+ function ki(e, t) {
3682
+ t === void 0 && (t = {}), t = Me({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3683
+ var r = new Di(e, t).parse();
3678
3684
  if (r.err) {
3679
- var n = SyntaxError(g[r.err.kind]);
3685
+ var n = SyntaxError(y[r.err.kind]);
3680
3686
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3681
3687
  }
3682
- return t != null && t.captureLocation || at(r.val), r.val;
3688
+ return t != null && t.captureLocation || yt(r.val), r.val;
3683
3689
  }
3684
- var re;
3690
+ var he;
3685
3691
  (function(e) {
3686
3692
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3687
- })(re || (re = {}));
3688
- var Ne = (
3693
+ })(he || (he = {}));
3694
+ var $e = (
3689
3695
  /** @class */
3690
3696
  function(e) {
3691
- Oe(t, e);
3697
+ Fe(t, e);
3692
3698
  function t(r, n, i) {
3693
3699
  var s = e.call(this, r) || this;
3694
3700
  return s.code = n, s.originalMessage = i, s;
@@ -3697,155 +3703,155 @@ var Ne = (
3697
3703
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3698
3704
  }, t;
3699
3705
  }(Error)
3700
- ), $t = (
3706
+ ), Jt = (
3701
3707
  /** @class */
3702
3708
  function(e) {
3703
- Oe(t, e);
3709
+ Fe(t, e);
3704
3710
  function t(r, n, i, s) {
3705
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), re.INVALID_VALUE, s) || this;
3711
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), he.INVALID_VALUE, s) || this;
3706
3712
  }
3707
3713
  return t;
3708
- }(Ne)
3709
- ), Ni = (
3714
+ }($e)
3715
+ ), Vi = (
3710
3716
  /** @class */
3711
3717
  function(e) {
3712
- Oe(t, e);
3718
+ Fe(t, e);
3713
3719
  function t(r, n, i) {
3714
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), re.INVALID_VALUE, i) || this;
3720
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), he.INVALID_VALUE, i) || this;
3715
3721
  }
3716
3722
  return t;
3717
- }(Ne)
3718
- ), Li = (
3723
+ }($e)
3724
+ ), Xi = (
3719
3725
  /** @class */
3720
3726
  function(e) {
3721
- Oe(t, e);
3727
+ Fe(t, e);
3722
3728
  function t(r, n) {
3723
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), re.MISSING_VALUE, n) || this;
3729
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), he.MISSING_VALUE, n) || this;
3724
3730
  }
3725
3731
  return t;
3726
- }(Ne)
3727
- ), A;
3732
+ }($e)
3733
+ ), O;
3728
3734
  (function(e) {
3729
3735
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3730
- })(A || (A = {}));
3731
- function Ci(e) {
3736
+ })(O || (O = {}));
3737
+ function Wi(e) {
3732
3738
  return e.length < 2 ? e : e.reduce(function(t, r) {
3733
3739
  var n = t[t.length - 1];
3734
- return !n || n.type !== A.literal || r.type !== A.literal ? t.push(r) : n.value += r.value, t;
3740
+ return !n || n.type !== O.literal || r.type !== O.literal ? t.push(r) : n.value += r.value, t;
3735
3741
  }, []);
3736
3742
  }
3737
- function Ii(e) {
3743
+ function zi(e) {
3738
3744
  return typeof e == "function";
3739
3745
  }
3740
- function Se(e, t, r, n, i, s, o) {
3741
- if (e.length === 1 && It(e[0]))
3746
+ function Ce(e, t, r, n, i, s, o) {
3747
+ if (e.length === 1 && Xt(e[0]))
3742
3748
  return [
3743
3749
  {
3744
- type: A.literal,
3750
+ type: O.literal,
3745
3751
  value: e[0].value
3746
3752
  }
3747
3753
  ];
3748
3754
  for (var a = [], h = 0, u = e; h < u.length; h++) {
3749
3755
  var l = u[h];
3750
- if (It(l)) {
3756
+ if (Xt(l)) {
3751
3757
  a.push({
3752
- type: A.literal,
3758
+ type: O.literal,
3753
3759
  value: l.value
3754
3760
  });
3755
3761
  continue;
3756
3762
  }
3757
- if (ri(l)) {
3763
+ if (bi(l)) {
3758
3764
  typeof s == "number" && a.push({
3759
- type: A.literal,
3765
+ type: O.literal,
3760
3766
  value: r.getNumberFormat(t).format(s)
3761
3767
  });
3762
3768
  continue;
3763
3769
  }
3764
3770
  var m = l.value;
3765
3771
  if (!(i && m in i))
3766
- throw new Li(m, o);
3767
- var c = i[m];
3768
- if (ti(l)) {
3769
- (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3770
- type: typeof c == "string" ? A.literal : A.object,
3771
- value: c
3772
+ throw new Xi(m, o);
3773
+ var f = i[m];
3774
+ if (di(l)) {
3775
+ (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3776
+ type: typeof f == "string" ? O.literal : O.object,
3777
+ value: f
3772
3778
  });
3773
3779
  continue;
3774
3780
  }
3775
- if (cr(l)) {
3776
- var d = typeof l.style == "string" ? n.date[l.style] : rt(l.style) ? l.style.parsedOptions : void 0;
3781
+ if (xr(l)) {
3782
+ var d = typeof l.style == "string" ? n.date[l.style] : ft(l.style) ? l.style.parsedOptions : void 0;
3777
3783
  a.push({
3778
- type: A.literal,
3779
- value: r.getDateTimeFormat(t, d).format(c)
3784
+ type: O.literal,
3785
+ value: r.getDateTimeFormat(t, d).format(f)
3780
3786
  });
3781
3787
  continue;
3782
3788
  }
3783
- if (fr(l)) {
3784
- var d = typeof l.style == "string" ? n.time[l.style] : rt(l.style) ? l.style.parsedOptions : n.time.medium;
3789
+ if (Sr(l)) {
3790
+ var d = typeof l.style == "string" ? n.time[l.style] : ft(l.style) ? l.style.parsedOptions : n.time.medium;
3785
3791
  a.push({
3786
- type: A.literal,
3787
- value: r.getDateTimeFormat(t, d).format(c)
3792
+ type: O.literal,
3793
+ value: r.getDateTimeFormat(t, d).format(f)
3788
3794
  });
3789
3795
  continue;
3790
3796
  }
3791
- if (lr(l)) {
3792
- var d = typeof l.style == "string" ? n.number[l.style] : pr(l.style) ? l.style.parsedOptions : void 0;
3793
- d && d.scale && (c = c * (d.scale || 1)), a.push({
3794
- type: A.literal,
3795
- value: r.getNumberFormat(t, d).format(c)
3797
+ if (Er(l)) {
3798
+ var d = typeof l.style == "string" ? n.number[l.style] : Ar(l.style) ? l.style.parsedOptions : void 0;
3799
+ d && d.scale && (f = f * (d.scale || 1)), a.push({
3800
+ type: O.literal,
3801
+ value: r.getNumberFormat(t, d).format(f)
3796
3802
  });
3797
3803
  continue;
3798
3804
  }
3799
- if (br(l)) {
3800
- var p = l.children, b = l.value, w = i[b];
3801
- if (!Ii(w))
3802
- throw new Ni(b, "function", o);
3803
- var C = Se(p, t, r, n, i, s), P = w(C.map(function(H) {
3804
- return H.value;
3805
+ if (Hr(l)) {
3806
+ var p = l.children, b = l.value, H = i[b];
3807
+ if (!zi(H))
3808
+ throw new Vi(b, "function", o);
3809
+ var R = Ce(p, t, r, n, i, s), L = H(R.map(function(B) {
3810
+ return B.value;
3805
3811
  }));
3806
- Array.isArray(P) || (P = [P]), a.push.apply(a, P.map(function(H) {
3812
+ Array.isArray(L) || (L = [L]), a.push.apply(a, L.map(function(B) {
3807
3813
  return {
3808
- type: typeof H == "string" ? A.literal : A.object,
3809
- value: H
3814
+ type: typeof B == "string" ? O.literal : O.object,
3815
+ value: B
3810
3816
  };
3811
3817
  }));
3812
3818
  }
3813
- if (mr(l)) {
3814
- var T = l.options[c] || l.options.other;
3815
- if (!T)
3816
- throw new $t(l.value, c, Object.keys(l.options), o);
3817
- a.push.apply(a, Se(T.value, t, r, n, i));
3819
+ if (wr(l)) {
3820
+ var A = l.options[f] || l.options.other;
3821
+ if (!A)
3822
+ throw new Jt(l.value, f, Object.keys(l.options), o);
3823
+ a.push.apply(a, Ce(A.value, t, r, n, i));
3818
3824
  continue;
3819
3825
  }
3820
- if (dr(l)) {
3821
- var T = l.options["=".concat(c)];
3822
- if (!T) {
3826
+ if (Tr(l)) {
3827
+ var A = l.options["=".concat(f)];
3828
+ if (!A) {
3823
3829
  if (!Intl.PluralRules)
3824
- throw new Ne(`Intl.PluralRules is not available in this environment.
3830
+ throw new $e(`Intl.PluralRules is not available in this environment.
3825
3831
  Try polyfilling it using "@formatjs/intl-pluralrules"
3826
- `, re.MISSING_INTL_API, o);
3827
- var O = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
3828
- T = l.options[O] || l.options.other;
3832
+ `, he.MISSING_INTL_API, o);
3833
+ var C = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
3834
+ A = l.options[C] || l.options.other;
3829
3835
  }
3830
- if (!T)
3831
- throw new $t(l.value, c, Object.keys(l.options), o);
3832
- a.push.apply(a, Se(T.value, t, r, n, i, c - (l.offset || 0)));
3836
+ if (!A)
3837
+ throw new Jt(l.value, f, Object.keys(l.options), o);
3838
+ a.push.apply(a, Ce(A.value, t, r, n, i, f - (l.offset || 0)));
3833
3839
  continue;
3834
3840
  }
3835
3841
  }
3836
- return Ci(a);
3842
+ return Wi(a);
3837
3843
  }
3838
- function Mi(e, t) {
3839
- return t ? G(G(G({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3840
- return r[n] = G(G({}, e[n]), t[n] || {}), r;
3844
+ function Zi(e, t) {
3845
+ return t ? D(D(D({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3846
+ return r[n] = D(D({}, e[n]), t[n] || {}), r;
3841
3847
  }, {})) : e;
3842
3848
  }
3843
- function Ri(e, t) {
3849
+ function qi(e, t) {
3844
3850
  return t ? Object.keys(e).reduce(function(r, n) {
3845
- return r[n] = Mi(e[n], t[n]), r;
3846
- }, G({}, e)) : e;
3851
+ return r[n] = Zi(e[n], t[n]), r;
3852
+ }, D({}, e)) : e;
3847
3853
  }
3848
- function Ve(e) {
3854
+ function et(e) {
3849
3855
  return {
3850
3856
  create: function() {
3851
3857
  return {
@@ -3859,39 +3865,39 @@ function Ve(e) {
3859
3865
  }
3860
3866
  };
3861
3867
  }
3862
- function Gi(e) {
3868
+ function Qi(e) {
3863
3869
  return e === void 0 && (e = {
3864
3870
  number: {},
3865
3871
  dateTime: {},
3866
3872
  pluralRules: {}
3867
3873
  }), {
3868
- getNumberFormat: $e(function() {
3874
+ getNumberFormat: Ye(function() {
3869
3875
  for (var t, r = [], n = 0; n < arguments.length; n++)
3870
3876
  r[n] = arguments[n];
3871
- return new ((t = Intl.NumberFormat).bind.apply(t, Fe([void 0], r, !1)))();
3877
+ return new ((t = Intl.NumberFormat).bind.apply(t, Qe([void 0], r, !1)))();
3872
3878
  }, {
3873
- cache: Ve(e.number),
3874
- strategy: je.variadic
3879
+ cache: et(e.number),
3880
+ strategy: Je.variadic
3875
3881
  }),
3876
- getDateTimeFormat: $e(function() {
3882
+ getDateTimeFormat: Ye(function() {
3877
3883
  for (var t, r = [], n = 0; n < arguments.length; n++)
3878
3884
  r[n] = arguments[n];
3879
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Fe([void 0], r, !1)))();
3885
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Qe([void 0], r, !1)))();
3880
3886
  }, {
3881
- cache: Ve(e.dateTime),
3882
- strategy: je.variadic
3887
+ cache: et(e.dateTime),
3888
+ strategy: Je.variadic
3883
3889
  }),
3884
- getPluralRules: $e(function() {
3890
+ getPluralRules: Ye(function() {
3885
3891
  for (var t, r = [], n = 0; n < arguments.length; n++)
3886
3892
  r[n] = arguments[n];
3887
- return new ((t = Intl.PluralRules).bind.apply(t, Fe([void 0], r, !1)))();
3893
+ return new ((t = Intl.PluralRules).bind.apply(t, Qe([void 0], r, !1)))();
3888
3894
  }, {
3889
- cache: Ve(e.pluralRules),
3890
- strategy: je.variadic
3895
+ cache: et(e.pluralRules),
3896
+ strategy: Je.variadic
3891
3897
  })
3892
3898
  };
3893
3899
  }
3894
- var Ui = (
3900
+ var Yi = (
3895
3901
  /** @class */
3896
3902
  function() {
3897
3903
  function e(t, r, n, i) {
@@ -3905,12 +3911,12 @@ var Ui = (
3905
3911
  var u = s.formatToParts(h);
3906
3912
  if (u.length === 1)
3907
3913
  return u[0].value;
3908
- var l = u.reduce(function(m, c) {
3909
- return !m.length || c.type !== A.literal || typeof m[m.length - 1] != "string" ? m.push(c.value) : m[m.length - 1] += c.value, m;
3914
+ var l = u.reduce(function(m, f) {
3915
+ return !m.length || f.type !== O.literal || typeof m[m.length - 1] != "string" ? m.push(f.value) : m[m.length - 1] += f.value, m;
3910
3916
  }, []);
3911
3917
  return l.length <= 1 ? l[0] || "" : l;
3912
3918
  }, this.formatToParts = function(h) {
3913
- return Se(s.ast, s.locales, s.formatters, s.formats, h, void 0, s.message);
3919
+ return Ce(s.ast, s.locales, s.formatters, s.formats, h, void 0, s.message);
3914
3920
  }, this.resolvedOptions = function() {
3915
3921
  var h;
3916
3922
  return {
@@ -3923,13 +3929,13 @@ var Ui = (
3923
3929
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3924
3930
  var o = i || {};
3925
3931
  o.formatters;
3926
- var a = zn(o, ["formatters"]);
3927
- this.ast = e.__parse(t, G(G({}, a), { locale: this.resolvedLocale }));
3932
+ var a = oi(o, ["formatters"]);
3933
+ this.ast = e.__parse(t, D(D({}, a), { locale: this.resolvedLocale }));
3928
3934
  } else
3929
3935
  this.ast = t;
3930
3936
  if (!Array.isArray(this.ast))
3931
3937
  throw new TypeError("A message must be provided as a String or AST.");
3932
- this.formats = Ri(e.formats, n), this.formatters = i && i.formatters || Gi(this.formatterCache);
3938
+ this.formats = qi(e.formats, n), this.formatters = i && i.formatters || Qi(this.formatterCache);
3933
3939
  }
3934
3940
  return Object.defineProperty(e, "defaultLocale", {
3935
3941
  get: function() {
@@ -3942,7 +3948,7 @@ var Ui = (
3942
3948
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3943
3949
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3944
3950
  }
3945
- }, e.__parse = Oi, e.formats = {
3951
+ }, e.__parse = ki, e.formats = {
3946
3952
  number: {
3947
3953
  integer: {
3948
3954
  maximumFractionDigits: 0
@@ -4003,7 +4009,7 @@ var Ui = (
4003
4009
  }, e;
4004
4010
  }()
4005
4011
  );
4006
- function Di(e, t) {
4012
+ function Ji(e, t) {
4007
4013
  if (t == null)
4008
4014
  return;
4009
4015
  if (t in e)
@@ -4024,92 +4030,92 @@ function Di(e, t) {
4024
4030
  n = void 0;
4025
4031
  return n;
4026
4032
  }
4027
- const F = {}, Fi = (e, t, r) => r && (t in F || (F[t] = {}), e in F[t] || (F[t][e] = r), r), wr = (e, t) => {
4033
+ const k = {}, Ki = (e, t, r) => r && (t in k || (k[t] = {}), e in k[t] || (k[t][e] = r), r), Mr = (e, t) => {
4028
4034
  if (t == null)
4029
4035
  return;
4030
- if (t in F && e in F[t])
4031
- return F[t][e];
4032
- const r = Le(t);
4036
+ if (t in k && e in k[t])
4037
+ return k[t][e];
4038
+ const r = je(t);
4033
4039
  for (let n = 0; n < r.length; n++) {
4034
- const i = r[n], s = ji(i, e);
4040
+ const i = r[n], s = ts(i, e);
4035
4041
  if (s)
4036
- return Fi(e, t, s);
4042
+ return Ki(e, t, s);
4037
4043
  }
4038
4044
  };
4039
- let ft;
4040
- const pe = Pe({});
4041
- function $i(e) {
4042
- return ft[e] || null;
4045
+ let xt;
4046
+ const we = De({});
4047
+ function es(e) {
4048
+ return xt[e] || null;
4043
4049
  }
4044
- function Tr(e) {
4045
- return e in ft;
4050
+ function Rr(e) {
4051
+ return e in xt;
4046
4052
  }
4047
- function ji(e, t) {
4048
- if (!Tr(e))
4053
+ function ts(e, t) {
4054
+ if (!Rr(e))
4049
4055
  return null;
4050
- const r = $i(e);
4051
- return Di(r, t);
4056
+ const r = es(e);
4057
+ return Ji(r, t);
4052
4058
  }
4053
- function ki(e) {
4059
+ function rs(e) {
4054
4060
  if (e == null)
4055
4061
  return;
4056
- const t = Le(e);
4062
+ const t = je(e);
4057
4063
  for (let r = 0; r < t.length; r++) {
4058
4064
  const n = t[r];
4059
- if (Tr(n))
4065
+ if (Rr(n))
4060
4066
  return n;
4061
4067
  }
4062
4068
  }
4063
- function Hr(e, ...t) {
4064
- delete F[e], pe.update((r) => (r[e] = Wn.all([r[e] || {}, ...t]), r));
4069
+ function Gr(e, ...t) {
4070
+ delete k[e], we.update((r) => (r[e] = si.all([r[e] || {}, ...t]), r));
4065
4071
  }
4066
- ae(
4067
- [pe],
4072
+ de(
4073
+ [we],
4068
4074
  ([e]) => Object.keys(e)
4069
4075
  );
4070
- pe.subscribe((e) => ft = e);
4071
- const we = {};
4072
- function Vi(e, t) {
4073
- we[e].delete(t), we[e].size === 0 && delete we[e];
4076
+ we.subscribe((e) => xt = e);
4077
+ const Ie = {};
4078
+ function ns(e, t) {
4079
+ Ie[e].delete(t), Ie[e].size === 0 && delete Ie[e];
4074
4080
  }
4075
- function Ar(e) {
4076
- return we[e];
4081
+ function Ur(e) {
4082
+ return Ie[e];
4077
4083
  }
4078
- function Xi(e) {
4079
- return Le(e).map((t) => {
4080
- const r = Ar(t);
4084
+ function is(e) {
4085
+ return je(e).map((t) => {
4086
+ const r = Ur(t);
4081
4087
  return [t, r ? [...r] : []];
4082
4088
  }).filter(([, t]) => t.length > 0);
4083
4089
  }
4084
- function ut(e) {
4085
- return e == null ? !1 : Le(e).some(
4090
+ function gt(e) {
4091
+ return e == null ? !1 : je(e).some(
4086
4092
  (t) => {
4087
4093
  var r;
4088
- return (r = Ar(t)) == null ? void 0 : r.size;
4094
+ return (r = Ur(t)) == null ? void 0 : r.size;
4089
4095
  }
4090
4096
  );
4091
4097
  }
4092
- function Wi(e, t) {
4098
+ function ss(e, t) {
4093
4099
  return Promise.all(
4094
- t.map((n) => (Vi(e, n), n().then((i) => i.default || i)))
4095
- ).then((n) => Hr(e, ...n));
4096
- }
4097
- const he = {};
4098
- function Br(e) {
4099
- if (!ut(e))
4100
- return e in he ? he[e] : Promise.resolve();
4101
- const t = Xi(e);
4102
- return he[e] = Promise.all(
4100
+ t.map((n) => (ns(e, n), n().then((i) => i.default || i)))
4101
+ ).then((n) => Gr(e, ...n));
4102
+ }
4103
+ const ye = {};
4104
+ function Dr(e) {
4105
+ if (!gt(e))
4106
+ return e in ye ? ye[e] : Promise.resolve();
4107
+ const t = is(e);
4108
+ return ye[e] = Promise.all(
4103
4109
  t.map(
4104
- ([r, n]) => Wi(r, n)
4110
+ ([r, n]) => ss(r, n)
4105
4111
  )
4106
4112
  ).then(() => {
4107
- if (ut(e))
4108
- return Br(e);
4109
- delete he[e];
4110
- }), he[e];
4113
+ if (gt(e))
4114
+ return Dr(e);
4115
+ delete ye[e];
4116
+ }), ye[e];
4111
4117
  }
4112
- const zi = {
4118
+ const os = {
4113
4119
  number: {
4114
4120
  scientific: { notation: "scientific" },
4115
4121
  engineering: { notation: "engineering" },
@@ -4138,150 +4144,150 @@ const zi = {
4138
4144
  timeZoneName: "short"
4139
4145
  }
4140
4146
  }
4141
- }, Zi = {
4147
+ }, as = {
4142
4148
  fallbackLocale: null,
4143
4149
  loadingDelay: 200,
4144
- formats: zi,
4150
+ formats: os,
4145
4151
  warnOnMissingMessages: !0,
4146
4152
  handleMissingMessage: void 0,
4147
4153
  ignoreTag: !0
4148
- }, qi = Zi;
4149
- function ne() {
4150
- return qi;
4154
+ }, us = as;
4155
+ function le() {
4156
+ return us;
4151
4157
  }
4152
- const Xe = Pe(!1);
4153
- var Qi = Object.defineProperty, Yi = Object.defineProperties, Ji = Object.getOwnPropertyDescriptors, jt = Object.getOwnPropertySymbols, Ki = Object.prototype.hasOwnProperty, es = Object.prototype.propertyIsEnumerable, kt = (e, t, r) => t in e ? Qi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ts = (e, t) => {
4158
+ const tt = De(!1);
4159
+ var hs = Object.defineProperty, ls = Object.defineProperties, cs = Object.getOwnPropertyDescriptors, Kt = Object.getOwnPropertySymbols, fs = Object.prototype.hasOwnProperty, ms = Object.prototype.propertyIsEnumerable, er = (e, t, r) => t in e ? hs(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ds = (e, t) => {
4154
4160
  for (var r in t || (t = {}))
4155
- Ki.call(t, r) && kt(e, r, t[r]);
4156
- if (jt)
4157
- for (var r of jt(t))
4158
- es.call(t, r) && kt(e, r, t[r]);
4161
+ fs.call(t, r) && er(e, r, t[r]);
4162
+ if (Kt)
4163
+ for (var r of Kt(t))
4164
+ ms.call(t, r) && er(e, r, t[r]);
4159
4165
  return e;
4160
- }, rs = (e, t) => Yi(e, Ji(t));
4161
- let ht;
4162
- const He = Pe(null);
4163
- function Vt(e) {
4166
+ }, bs = (e, t) => ls(e, cs(t));
4167
+ let vt;
4168
+ const Re = De(null);
4169
+ function tr(e) {
4164
4170
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4165
4171
  }
4166
- function Le(e, t = ne().fallbackLocale) {
4167
- const r = Vt(e);
4168
- return t ? [.../* @__PURE__ */ new Set([...r, ...Vt(t)])] : r;
4172
+ function je(e, t = le().fallbackLocale) {
4173
+ const r = tr(e);
4174
+ return t ? [.../* @__PURE__ */ new Set([...r, ...tr(t)])] : r;
4169
4175
  }
4170
- function W() {
4171
- return ht != null ? ht : void 0;
4176
+ function J() {
4177
+ return vt != null ? vt : void 0;
4172
4178
  }
4173
- He.subscribe((e) => {
4174
- ht = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4179
+ Re.subscribe((e) => {
4180
+ vt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4175
4181
  });
4176
- const ns = (e) => {
4177
- if (e && ki(e) && ut(e)) {
4178
- const { loadingDelay: t } = ne();
4182
+ const ps = (e) => {
4183
+ if (e && rs(e) && gt(e)) {
4184
+ const { loadingDelay: t } = le();
4179
4185
  let r;
4180
- return typeof window != "undefined" && W() != null && t ? r = window.setTimeout(
4181
- () => Xe.set(!0),
4186
+ return typeof window != "undefined" && J() != null && t ? r = window.setTimeout(
4187
+ () => tt.set(!0),
4182
4188
  t
4183
- ) : Xe.set(!0), Br(e).then(() => {
4184
- He.set(e);
4189
+ ) : tt.set(!0), Dr(e).then(() => {
4190
+ Re.set(e);
4185
4191
  }).finally(() => {
4186
- clearTimeout(r), Xe.set(!1);
4192
+ clearTimeout(r), tt.set(!1);
4187
4193
  });
4188
4194
  }
4189
- return He.set(e);
4190
- }, ge = rs(ts({}, He), {
4191
- set: ns
4192
- }), Ce = (e) => {
4195
+ return Re.set(e);
4196
+ }, Te = bs(ds({}, Re), {
4197
+ set: ps
4198
+ }), ke = (e) => {
4193
4199
  const t = /* @__PURE__ */ Object.create(null);
4194
4200
  return (n) => {
4195
4201
  const i = JSON.stringify(n);
4196
4202
  return i in t ? t[i] : t[i] = e(n);
4197
4203
  };
4198
4204
  };
4199
- var is = Object.defineProperty, Ae = Object.getOwnPropertySymbols, Pr = Object.prototype.hasOwnProperty, Or = Object.prototype.propertyIsEnumerable, Xt = (e, t, r) => t in e ? is(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, mt = (e, t) => {
4205
+ var ys = Object.defineProperty, Ge = Object.getOwnPropertySymbols, Fr = Object.prototype.hasOwnProperty, $r = Object.prototype.propertyIsEnumerable, rr = (e, t, r) => t in e ? ys(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, St = (e, t) => {
4200
4206
  for (var r in t || (t = {}))
4201
- Pr.call(t, r) && Xt(e, r, t[r]);
4202
- if (Ae)
4203
- for (var r of Ae(t))
4204
- Or.call(t, r) && Xt(e, r, t[r]);
4207
+ Fr.call(t, r) && rr(e, r, t[r]);
4208
+ if (Ge)
4209
+ for (var r of Ge(t))
4210
+ $r.call(t, r) && rr(e, r, t[r]);
4205
4211
  return e;
4206
- }, ue = (e, t) => {
4212
+ }, be = (e, t) => {
4207
4213
  var r = {};
4208
4214
  for (var n in e)
4209
- Pr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4210
- if (e != null && Ae)
4211
- for (var n of Ae(e))
4212
- t.indexOf(n) < 0 && Or.call(e, n) && (r[n] = e[n]);
4215
+ Fr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4216
+ if (e != null && Ge)
4217
+ for (var n of Ge(e))
4218
+ t.indexOf(n) < 0 && $r.call(e, n) && (r[n] = e[n]);
4213
4219
  return r;
4214
4220
  };
4215
- const me = (e, t) => {
4216
- const { formats: r } = ne();
4221
+ const Ee = (e, t) => {
4222
+ const { formats: r } = le();
4217
4223
  if (e in r && t in r[e])
4218
4224
  return r[e][t];
4219
4225
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4220
- }, ss = Ce(
4226
+ }, gs = ke(
4221
4227
  (e) => {
4222
- var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
4228
+ var t = e, { locale: r, format: n } = t, i = be(t, ["locale", "format"]);
4223
4229
  if (r == null)
4224
4230
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4225
- return n && (i = me("number", n)), new Intl.NumberFormat(r, i);
4231
+ return n && (i = Ee("number", n)), new Intl.NumberFormat(r, i);
4226
4232
  }
4227
- ), os = Ce(
4233
+ ), vs = ke(
4228
4234
  (e) => {
4229
- var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
4235
+ var t = e, { locale: r, format: n } = t, i = be(t, ["locale", "format"]);
4230
4236
  if (r == null)
4231
4237
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4232
- return n ? i = me("date", n) : Object.keys(i).length === 0 && (i = me("date", "short")), new Intl.DateTimeFormat(r, i);
4238
+ return n ? i = Ee("date", n) : Object.keys(i).length === 0 && (i = Ee("date", "short")), new Intl.DateTimeFormat(r, i);
4233
4239
  }
4234
- ), as = Ce(
4240
+ ), _s = ke(
4235
4241
  (e) => {
4236
- var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
4242
+ var t = e, { locale: r, format: n } = t, i = be(t, ["locale", "format"]);
4237
4243
  if (r == null)
4238
4244
  throw new Error(
4239
4245
  '[svelte-i18n] A "locale" must be set to format time values'
4240
4246
  );
4241
- return n ? i = me("time", n) : Object.keys(i).length === 0 && (i = me("time", "short")), new Intl.DateTimeFormat(r, i);
4247
+ return n ? i = Ee("time", n) : Object.keys(i).length === 0 && (i = Ee("time", "short")), new Intl.DateTimeFormat(r, i);
4242
4248
  }
4243
- ), us = (e = {}) => {
4249
+ ), Es = (e = {}) => {
4244
4250
  var t = e, {
4245
- locale: r = W()
4246
- } = t, n = ue(t, [
4251
+ locale: r = J()
4252
+ } = t, n = be(t, [
4247
4253
  "locale"
4248
4254
  ]);
4249
- return ss(mt({ locale: r }, n));
4250
- }, hs = (e = {}) => {
4255
+ return gs(St({ locale: r }, n));
4256
+ }, xs = (e = {}) => {
4251
4257
  var t = e, {
4252
- locale: r = W()
4253
- } = t, n = ue(t, [
4258
+ locale: r = J()
4259
+ } = t, n = be(t, [
4254
4260
  "locale"
4255
4261
  ]);
4256
- return os(mt({ locale: r }, n));
4257
- }, ls = (e = {}) => {
4262
+ return vs(St({ locale: r }, n));
4263
+ }, Ss = (e = {}) => {
4258
4264
  var t = e, {
4259
- locale: r = W()
4260
- } = t, n = ue(t, [
4265
+ locale: r = J()
4266
+ } = t, n = be(t, [
4261
4267
  "locale"
4262
4268
  ]);
4263
- return as(mt({ locale: r }, n));
4264
- }, cs = Ce(
4269
+ return _s(St({ locale: r }, n));
4270
+ }, ws = ke(
4265
4271
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4266
- (e, t = W()) => new Ui(e, t, ne().formats, {
4267
- ignoreTag: ne().ignoreTag
4272
+ (e, t = J()) => new Yi(e, t, le().formats, {
4273
+ ignoreTag: le().ignoreTag
4268
4274
  })
4269
- ), fs = (e, t = {}) => {
4275
+ ), Ts = (e, t = {}) => {
4270
4276
  var r, n, i, s;
4271
4277
  let o = t;
4272
4278
  typeof e == "object" && (o = e, e = o.id);
4273
4279
  const {
4274
4280
  values: a,
4275
- locale: h = W(),
4281
+ locale: h = J(),
4276
4282
  default: u
4277
4283
  } = o;
4278
4284
  if (h == null)
4279
4285
  throw new Error(
4280
4286
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4281
4287
  );
4282
- let l = wr(e, h);
4288
+ let l = Mr(e, h);
4283
4289
  if (!l)
4284
- l = (s = (i = (n = (r = ne()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
4290
+ l = (s = (i = (n = (r = le()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
4285
4291
  else if (typeof l != "string")
4286
4292
  return console.warn(
4287
4293
  `[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.`
@@ -4290,26 +4296,26 @@ const me = (e, t) => {
4290
4296
  return l;
4291
4297
  let m = l;
4292
4298
  try {
4293
- m = cs(l, h).format(a);
4294
- } catch (c) {
4295
- c instanceof Error && console.warn(
4299
+ m = ws(l, h).format(a);
4300
+ } catch (f) {
4301
+ f instanceof Error && console.warn(
4296
4302
  `[svelte-i18n] Message "${e}" has syntax error:`,
4297
- c.message
4303
+ f.message
4298
4304
  );
4299
4305
  }
4300
4306
  return m;
4301
- }, ms = (e, t) => ls(t).format(e), ds = (e, t) => hs(t).format(e), bs = (e, t) => us(t).format(e), ps = (e, t = W()) => wr(e, t), gs = ae([ge, pe], () => fs);
4302
- ae([ge], () => ms);
4303
- ae([ge], () => ds);
4304
- ae([ge], () => bs);
4305
- ae([ge, pe], () => ps);
4306
- window.emWidgets = { topic: Pn };
4307
- const ys = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4307
+ }, Hs = (e, t) => Ss(t).format(e), As = (e, t) => xs(t).format(e), Bs = (e, t) => Es(t).format(e), Ps = (e, t = J()) => Mr(e, t), Os = de([Te, we], () => Ts);
4308
+ de([Te], () => Hs);
4309
+ de([Te], () => As);
4310
+ de([Te], () => Bs);
4311
+ de([Te, we], () => Ps);
4312
+ window.emWidgets = { topic: jn };
4313
+ const Ns = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4308
4314
  String(Number.MAX_SAFE_INTEGER).length;
4309
- function vs(e, t) {
4310
- Hr(e, t);
4315
+ function Ls(e, t) {
4316
+ Gr(e, t);
4311
4317
  }
4312
- const _s = {
4318
+ const Cs = {
4313
4319
  en: {
4314
4320
  lobbyName: "Lobby",
4315
4321
  myGamesName: "My games"
@@ -4382,14 +4388,14 @@ const _s = {
4382
4388
  lobbyName: "Lobby",
4383
4389
  myGamesName: "My games"
4384
4390
  }
4385
- }, J = "__WIDGET_GLOBAL_STYLE_CACHE__";
4386
- function Es(e, t) {
4391
+ }, se = "__WIDGET_GLOBAL_STYLE_CACHE__";
4392
+ function Is(e, t) {
4387
4393
  if (e) {
4388
4394
  const r = document.createElement("style");
4389
4395
  r.innerHTML = t, e.appendChild(r);
4390
4396
  }
4391
4397
  }
4392
- function xs(e, t) {
4398
+ function Ms(e, t) {
4393
4399
  if (!e || !t)
4394
4400
  return;
4395
4401
  const r = new URL(t);
@@ -4400,32 +4406,32 @@ function xs(e, t) {
4400
4406
  console.error("There was an error while trying to load client styling from URL", n);
4401
4407
  });
4402
4408
  }
4403
- function Ss(e, t, r, n = !1) {
4409
+ function Rs(e, t, r, n = !1) {
4404
4410
  if (!window.emMessageBus)
4405
4411
  return;
4406
4412
  if (!("adoptedStyleSheets" in Document.prototype) || !n)
4407
- return r = ws(e, t), r;
4408
- window[J] || (window[J] = {}), r = Ts(e, t);
4413
+ return r = Gs(e, t), r;
4414
+ window[se] || (window[se] = {}), r = Us(e, t);
4409
4415
  const s = r.unsubscribe.bind(r), o = () => {
4410
- if (window[J][t]) {
4411
- const a = window[J][t];
4412
- a.refCount > 1 ? a.refCount = a.refCount - 1 : delete window[J][t];
4416
+ if (window[se][t]) {
4417
+ const a = window[se][t];
4418
+ a.refCount > 1 ? a.refCount = a.refCount - 1 : delete window[se][t];
4413
4419
  }
4414
4420
  s();
4415
4421
  };
4416
4422
  return r.unsubscribe = o, r;
4417
4423
  }
4418
- function ws(e, t) {
4424
+ function Gs(e, t) {
4419
4425
  const r = document.createElement("style");
4420
4426
  return window.emMessageBus.subscribe(t, (n) => {
4421
4427
  e && (r.innerHTML = n, e.appendChild(r));
4422
4428
  });
4423
4429
  }
4424
- function Ts(e, t) {
4430
+ function Us(e, t) {
4425
4431
  return window.emMessageBus.subscribe(t, (r) => {
4426
4432
  if (!e)
4427
4433
  return;
4428
- const n = e.getRootNode(), i = window[J];
4434
+ const n = e.getRootNode(), i = window[se];
4429
4435
  let s = i[t] && i[t].sheet;
4430
4436
  s ? i[t].refCount = i[t].refCount + 1 : (s = new CSSStyleSheet(), s.replaceSync(r), i[t] = {
4431
4437
  sheet: s,
@@ -4447,21 +4453,21 @@ if (typeof window != "undefined") {
4447
4453
  }
4448
4454
  };
4449
4455
  };
4450
- customElements.define = e(customElements.define), import("./CasinoSliderNd-cWm8Dova.js").then(({ default: t }) => {
4456
+ customElements.define = e(customElements.define), import("./CasinoSliderNd-BacEGmij.js").then(({ default: t }) => {
4451
4457
  !customElements.get("casino-slider-nd") && customElements.define("casino-slider-nd", t.element);
4452
4458
  });
4453
4459
  }
4454
- function Hs(e, t, r) {
4460
+ function Ds(e, t, r) {
4455
4461
  return window.emMessageBus && (t = window.emMessageBus.subscribe(e, r)), t;
4456
4462
  }
4457
- function As(e) {
4458
- Yr(e, "svelte-ciaihq", ".svelte-ciaihq{font-family:inherit}.CasinoCategoriesLoading.svelte-ciaihq{height:52px}p.svelte-ciaihq{color:var( --emw--categories-typography, var(--emw--color-white) #FFFFFF);text-align:center}.CasinoCategoriesContainer.svelte-ciaihq{background:transparent;border-radius:var(--emw--border-radius-medium, 10px);padding-top:20px}");
4463
+ function Fs(e) {
4464
+ cn(e, "svelte-ciaihq", ".svelte-ciaihq{font-family:inherit}.CasinoCategoriesLoading.svelte-ciaihq{height:52px}p.svelte-ciaihq{color:var( --emw--categories-typography, var(--emw--color-white) #FFFFFF);text-align:center}.CasinoCategoriesContainer.svelte-ciaihq{background:transparent;border-radius:var(--emw--border-radius-medium, 10px);padding-top:20px}");
4459
4465
  }
4460
- function Bs(e) {
4466
+ function $s(e) {
4461
4467
  let t, r;
4462
4468
  return {
4463
4469
  c() {
4464
- t = X("div"), r = X("casino-slider-nd"), v(
4470
+ t = Y("div"), r = Y("casino-slider-nd"), v(
4465
4471
  r,
4466
4472
  "lang",
4467
4473
  /*lang*/
@@ -4476,7 +4482,7 @@ function Bs(e) {
4476
4482
  "endpoint",
4477
4483
  /*endpoint*/
4478
4484
  e[1]
4479
- ), v(r, "identity", lt), v(
4485
+ ), v(r, "identity", _t), v(
4480
4486
  r,
4481
4487
  "favoritesnumber",
4482
4488
  /*numberOfFavoredGames*/
@@ -4496,6 +4502,11 @@ function Bs(e) {
4496
4502
  "clientstylingurl",
4497
4503
  /*clientstylingurl*/
4498
4504
  e[6]
4505
+ ), v(
4506
+ r,
4507
+ "initialactivecategory",
4508
+ /*initialactivecategory*/
4509
+ e[17]
4499
4510
  ), v(
4500
4511
  r,
4501
4512
  "activeindex",
@@ -4531,10 +4542,10 @@ function Bs(e) {
4531
4542
  "mbsource",
4532
4543
  /*mbsource*/
4533
4544
  e[4]
4534
- ), v(r, "class", "svelte-ciaihq"), oe(t, "class", "CasinoCategoriesContainer svelte-ciaihq");
4545
+ ), v(r, "class", "svelte-ciaihq"), me(t, "class", "CasinoCategoriesContainer svelte-ciaihq");
4535
4546
  },
4536
4547
  m(n, i) {
4537
- de(n, t, i), qt(t, r);
4548
+ xe(n, t, i), or(t, r);
4538
4549
  },
4539
4550
  p(n, i) {
4540
4551
  i[0] & /*lang*/
@@ -4624,222 +4635,259 @@ function Bs(e) {
4624
4635
  );
4625
4636
  },
4626
4637
  d(n) {
4627
- n && se(t);
4638
+ n && fe(t);
4628
4639
  }
4629
4640
  };
4630
4641
  }
4631
- function Ps(e) {
4642
+ function js(e) {
4632
4643
  let t;
4633
4644
  return {
4634
4645
  c() {
4635
- t = X("p"), t.textContent = "500 Error - Internal Server Error.", oe(t, "class", "SearchLoading svelte-ciaihq");
4646
+ t = Y("p"), t.textContent = "500 Error - Internal Server Error.", me(t, "class", "SearchLoading svelte-ciaihq");
4636
4647
  },
4637
4648
  m(r, n) {
4638
- de(r, t, n);
4649
+ xe(r, t, n);
4639
4650
  },
4640
- p: L,
4651
+ p: M,
4641
4652
  d(r) {
4642
- r && se(t);
4653
+ r && fe(t);
4643
4654
  }
4644
4655
  };
4645
4656
  }
4646
- function Os(e) {
4657
+ function ks(e) {
4647
4658
  let t;
4648
4659
  return {
4649
4660
  c() {
4650
- t = X("div"), oe(t, "class", "CasinoCategoriesLoading svelte-ciaihq");
4661
+ t = Y("div"), me(t, "class", "CasinoCategoriesLoading svelte-ciaihq");
4651
4662
  },
4652
4663
  m(r, n) {
4653
- de(r, t, n);
4664
+ xe(r, t, n);
4654
4665
  },
4655
- p: L,
4666
+ p: M,
4656
4667
  d(r) {
4657
- r && se(t);
4668
+ r && fe(t);
4658
4669
  }
4659
4670
  };
4660
4671
  }
4661
- function Ns(e) {
4672
+ function Vs(e) {
4662
4673
  let t;
4663
4674
  function r(s, o) {
4664
4675
  return (
4665
4676
  /*isLoading*/
4666
- s[13] || Ls || Cs ? Os : (
4677
+ s[13] || Xs || Ws ? ks : (
4667
4678
  /*hasErrors*/
4668
- s[15] ? Ps : Bs
4679
+ s[15] ? js : $s
4669
4680
  )
4670
4681
  );
4671
4682
  }
4672
4683
  let n = r(e), i = n(e);
4673
4684
  return {
4674
4685
  c() {
4675
- t = X("div"), i.c(), oe(t, "class", "svelte-ciaihq");
4686
+ t = Y("div"), i.c(), me(t, "class", "svelte-ciaihq");
4676
4687
  },
4677
4688
  m(s, o) {
4678
- de(s, t, o), i.m(t, null), e[27](t);
4689
+ xe(s, t, o), i.m(t, null), e[28](t);
4679
4690
  },
4680
4691
  p(s, o) {
4681
4692
  n === (n = r(s)) && i ? i.p(s, o) : (i.d(1), i = n(s), i && (i.c(), i.m(t, null)));
4682
4693
  },
4683
- i: L,
4684
- o: L,
4694
+ i: M,
4695
+ o: M,
4685
4696
  d(s) {
4686
- s && se(t), i.d(), e[27](null);
4697
+ s && fe(t), i.d(), e[28](null);
4687
4698
  }
4688
4699
  };
4689
4700
  }
4690
- let lt = "CasinoSliderData", Ls = !1, Cs = !1;
4691
- function Is(e, t, r) {
4701
+ let _t = "CasinoSliderData", Xs = !1, Ws = !1;
4702
+ function zs(e, t, r) {
4692
4703
  let n;
4693
- Qr(e, gs, (f) => r(33, n = f));
4694
- let { endpoint: i = "" } = t, { datasource: s = "" } = t, { lang: o = "" } = t, { userid: a = "" } = t, { session: h = "" } = t, { mostplayed: u = "" } = t, { lastplayed: l = "false" } = t, { favorites: m = "" } = t, { mbsource: c } = t, { clientstyling: d = "" } = t, { clientstylingurl: p = "" } = t, { activecategory: b = "" } = t, { actionevent: w = "" } = t, { sessioncheck: C = "" } = t, { location: P = "secondaryMenu" } = t, { showsubgroups: T = "false" } = t, { filteredcategories: O = "" } = t, { translationurl: H = "" } = t, { categoriesicon: M = "" } = t, { lobbyiconimage: _ = "" } = t, { mygamesiconimage: N = "" } = t, { customizecategoryicon: B = "false" } = t, $, dt, j = !0, z, Z = [], k = !1, Lr = window.navigator.userAgent, U, Cr, Ir, bt, pt = !1, Ie = !1;
4695
- const Me = (f) => {
4696
- Object.keys(f).forEach((R) => {
4697
- vs(R, f[R]);
4704
+ ln(e, Os, (c) => r(34, n = c));
4705
+ let { endpoint: i = "" } = t, { datasource: s = "" } = t, { lang: o = "" } = t, { userid: a = "" } = t, { session: h = "" } = t, { mostplayed: u = "" } = t, { lastplayed: l = "false" } = t, { favorites: m = "" } = t, { mbsource: f } = t, { clientstyling: d = "" } = t, { clientstylingurl: p = "" } = t, { activecategory: b = "" } = t, { actionevent: H = "" } = t, { sessioncheck: R = "" } = t, { location: L = "secondaryMenu" } = t, { showsubgroups: A = "false" } = t, { filteredcategories: C = "" } = t, { translationurl: B = "" } = t, { categoriesicon: U = "" } = t, { lobbyiconimage: E = "" } = t, { mygamesiconimage: I = "" } = t, { customizecategoryicon: N = "false" } = t, V, wt, X = !0, K, ee = [], W = !1, kr = window.navigator.userAgent, F, Vr, Xr, Tt, Ht = !1, Ve = !1, Wr = b;
4706
+ const Xe = (c) => {
4707
+ Object.keys(c).forEach((T) => {
4708
+ Ls(T, c[T]);
4698
4709
  });
4699
- }, Mr = () => {
4700
- fetch(H).then((R) => R.json()).then((R) => {
4701
- Me(R);
4702
- }).catch((R) => {
4703
- console.log(R);
4710
+ }, zr = () => {
4711
+ fetch(B).then((T) => T.json()).then((T) => {
4712
+ Xe(T);
4713
+ }).catch((T) => {
4714
+ console.log(T);
4704
4715
  });
4705
4716
  };
4706
- Me(_s);
4707
- const Rr = () => {
4708
- pt == !1 && (m == "true" || u == "true" || l == "true") && Z.splice(1, 0, {
4717
+ Xe(Cs);
4718
+ const Zr = () => {
4719
+ Ht == !1 && (m == "true" || u == "true" || l == "true") && ee.splice(1, 0, {
4709
4720
  // @ts-ignore
4710
4721
  id: "MYGAMES",
4711
- name: $,
4722
+ name: V,
4712
4723
  href: "",
4713
4724
  games: []
4714
- }), sn(), pt = !0, r(26, Ie = !0), gt();
4715
- }, Gr = () => (i || (z = "Endpoint is missing! Please provide a valid endpointURL.", r(15, k = !0), r(13, j = !1), console.error(z)), s || (z = "Datasource is missing! Please provide a valid datasource.", r(15, k = !0), r(13, j = !1), console.error(z)), (!o || o.length < 2) && (z = "Language is missing! Please provide a valid language (alpha2code)", r(15, k = !0), r(13, j = !1), console.error(z)), k), Ur = () => {
4716
- if ($ = n("myGamesName"), dt = n("lobbyName"), !Gr()) {
4717
- let f = new URL(`${i}/v2/casino/groups/${s}`);
4718
- f.searchParams.append("language", o), f.searchParams.append("platform", ys(Lr));
4719
- let R = "id,name,games(href),flags";
4720
- B === "true" && (R += ",icon"), f.searchParams.append("fields", R), fetch(f).then((V) => V.json()).then(
4721
- (V) => {
4722
- let $r = O.split(","), jr = V.items.filter((vt) => {
4723
- let Re = !1;
4724
- if (vt.games.total > 0 && (Re = !0, O))
4725
- for (let kr of $r)
4726
- vt.flags == kr && (Re = !1);
4727
- return Re;
4725
+ }), gn(), Ht = !0, r(27, Ve = !0), We();
4726
+ }, qr = () => (i || (K = "Endpoint is missing! Please provide a valid endpointURL.", r(15, W = !0), r(13, X = !1), console.error(K)), s || (K = "Datasource is missing! Please provide a valid datasource.", r(15, W = !0), r(13, X = !1), console.error(K)), (!o || o.length < 2) && (K = "Language is missing! Please provide a valid language (alpha2code)", r(15, W = !0), r(13, X = !1), console.error(K)), W), Qr = (c) => {
4727
+ var T;
4728
+ return ((T = c == null ? void 0 : c.gamesTotal) != null ? T : 0) > 0;
4729
+ }, Yr = (c) => {
4730
+ var T;
4731
+ return Array.isArray((T = c == null ? void 0 : c.subGroups) == null ? void 0 : T.items) && c.subGroups.items.some((P) => {
4732
+ var z;
4733
+ return ((z = P == null ? void 0 : P.gamesTotal) != null ? z : 0) > 0;
4734
+ });
4735
+ }, Jr = (c) => Qr(c) || Yr(c), Kr = (c) => {
4736
+ var z, He;
4737
+ const T = (He = (z = c == null ? void 0 : c.subGroups) == null ? void 0 : z.items) != null ? He : null;
4738
+ if (!Array.isArray(T))
4739
+ return c;
4740
+ const P = T.filter((pe) => {
4741
+ var j;
4742
+ return ((j = pe == null ? void 0 : pe.gamesTotal) != null ? j : 0) > 0;
4743
+ });
4744
+ return P.length === T.length ? c : Q(q({}, c), {
4745
+ subGroups: Q(q({}, c.subGroups), {
4746
+ items: P,
4747
+ count: P.length,
4748
+ total: P.length
4749
+ })
4750
+ });
4751
+ }, en = () => {
4752
+ if (V = n("myGamesName"), wt = n("lobbyName"), !qr()) {
4753
+ let c = new URL(`${i}/v2/casino/groups/${s}`);
4754
+ c.searchParams.append("language", o), c.searchParams.append("platform", Ns(kr));
4755
+ let T = "id,name,games(href),flags";
4756
+ N === "true" && (T += ",icon"), c.searchParams.append("fields", T), fetch(c).then((P) => P.json()).then(
4757
+ (P) => {
4758
+ const z = new Set(C ? C.split(",").map((_) => _.trim()).filter(Boolean) : []), He = (_) => _ ? Array.isArray(_) ? _ : [_] : [], pe = (_) => !He(_.flags).some((Ae) => z.has(Ae));
4759
+ let j = P.items.filter(pe).map((_) => {
4760
+ var te, Ae, Bt, Pt;
4761
+ return Q(q({}, _), {
4762
+ gamesTotal: (Bt = (Ae = (te = _ == null ? void 0 : _.games) == null ? void 0 : te.total) != null ? Ae : _ == null ? void 0 : _.gamesTotal) != null ? Bt : 0,
4763
+ subGroups: _ != null && _.subGroups ? Q(q({}, _.subGroups), {
4764
+ items: ((Pt = _.subGroups.items) != null ? Pt : []).map((Z) => {
4765
+ var Ot, Nt, Lt;
4766
+ return Q(q({}, Z), {
4767
+ gamesTotal: (Lt = (Nt = (Ot = Z == null ? void 0 : Z.games) == null ? void 0 : Ot.total) != null ? Nt : Z == null ? void 0 : Z.gamesTotal) != null ? Lt : 0
4768
+ });
4769
+ })
4770
+ }) : void 0
4771
+ });
4728
4772
  });
4729
- Z = [], Z = Z.concat(jr), Z.unshift({
4773
+ A === "true" ? j = j.map(Kr).filter(Jr) : j = j.filter((_) => {
4774
+ var te;
4775
+ return ((te = _ == null ? void 0 : _.gamesTotal) != null ? te : 0) > 0;
4776
+ }), ee = [], ee = ee.concat(j), ee.unshift({
4730
4777
  // @ts-ignore
4731
4778
  id: "LOBBY",
4732
- name: dt,
4779
+ name: wt,
4733
4780
  href: "",
4734
4781
  games: []
4735
- }), r(13, j = !1);
4782
+ }), We(), r(13, X = !1);
4736
4783
  },
4737
- (V) => {
4738
- r(15, k = !0), console.error("There was an error while fetching the categories", V);
4784
+ (P) => {
4785
+ r(15, W = !0), console.error("There was an error while fetching the categories", P);
4739
4786
  }
4740
- ).catch((V) => {
4741
- r(15, k = !0), console.error("There was an error while fetching the categories", V);
4787
+ ).catch((P) => {
4788
+ r(15, W = !0), console.error("There was an error while fetching the categories", P);
4742
4789
  });
4743
4790
  }
4744
- }, Dr = () => {
4745
- let f = b.split("$");
4746
- r(0, b = f.length > 2 ? b.split("$").slice(0, 2).join("$") : b);
4747
- }, gt = () => {
4791
+ }, tn = () => {
4792
+ let c = b.split("$");
4793
+ r(0, b = c.length > 2 ? b.split("$").slice(0, 2).join("$") : b);
4794
+ }, We = () => {
4748
4795
  window.postMessage(
4749
4796
  {
4750
4797
  type: "SliderData",
4751
- identity: lt,
4752
- data: Z
4798
+ identity: _t,
4799
+ data: ee
4753
4800
  },
4754
4801
  window.location.href
4755
4802
  );
4756
- }, yt = (f) => {
4757
- f.data && f.data.type == "SliderMounted" && f.data.identity == lt && gt();
4803
+ }, At = (c) => {
4804
+ c.data && c.data.type == "SliderMounted" && c.data.identity == _t && We();
4758
4805
  };
4759
- nn(() => (window.addEventListener("message", yt), () => {
4760
- window.removeEventListener("message", yt);
4806
+ yn(() => (window.addEventListener("message", At), () => {
4807
+ window.removeEventListener("message", At);
4761
4808
  }));
4762
- function Fr(f) {
4763
- We[f ? "unshift" : "push"](() => {
4764
- U = f, r(14, U);
4809
+ function rn(c) {
4810
+ rt[c ? "unshift" : "push"](() => {
4811
+ F = c, r(14, F);
4765
4812
  });
4766
4813
  }
4767
- return e.$$set = (f) => {
4768
- "endpoint" in f && r(1, i = f.endpoint), "datasource" in f && r(2, s = f.datasource), "lang" in f && r(3, o = f.lang), "userid" in f && r(17, a = f.userid), "session" in f && r(18, h = f.session), "mostplayed" in f && r(19, u = f.mostplayed), "lastplayed" in f && r(20, l = f.lastplayed), "favorites" in f && r(21, m = f.favorites), "mbsource" in f && r(4, c = f.mbsource), "clientstyling" in f && r(5, d = f.clientstyling), "clientstylingurl" in f && r(6, p = f.clientstylingurl), "activecategory" in f && r(0, b = f.activecategory), "actionevent" in f && r(7, w = f.actionevent), "sessioncheck" in f && r(22, C = f.sessioncheck), "location" in f && r(8, P = f.location), "showsubgroups" in f && r(9, T = f.showsubgroups), "filteredcategories" in f && r(23, O = f.filteredcategories), "translationurl" in f && r(24, H = f.translationurl), "categoriesicon" in f && r(10, M = f.categoriesicon), "lobbyiconimage" in f && r(11, _ = f.lobbyiconimage), "mygamesiconimage" in f && r(12, N = f.mygamesiconimage), "customizecategoryicon" in f && r(25, B = f.customizecategoryicon);
4814
+ return e.$$set = (c) => {
4815
+ "endpoint" in c && r(1, i = c.endpoint), "datasource" in c && r(2, s = c.datasource), "lang" in c && r(3, o = c.lang), "userid" in c && r(18, a = c.userid), "session" in c && r(19, h = c.session), "mostplayed" in c && r(20, u = c.mostplayed), "lastplayed" in c && r(21, l = c.lastplayed), "favorites" in c && r(22, m = c.favorites), "mbsource" in c && r(4, f = c.mbsource), "clientstyling" in c && r(5, d = c.clientstyling), "clientstylingurl" in c && r(6, p = c.clientstylingurl), "activecategory" in c && r(0, b = c.activecategory), "actionevent" in c && r(7, H = c.actionevent), "sessioncheck" in c && r(23, R = c.sessioncheck), "location" in c && r(8, L = c.location), "showsubgroups" in c && r(9, A = c.showsubgroups), "filteredcategories" in c && r(24, C = c.filteredcategories), "translationurl" in c && r(25, B = c.translationurl), "categoriesicon" in c && r(10, U = c.categoriesicon), "lobbyiconimage" in c && r(11, E = c.lobbyiconimage), "mygamesiconimage" in c && r(12, I = c.mygamesiconimage), "customizecategoryicon" in c && r(26, N = c.customizecategoryicon);
4769
4816
  }, e.$$.update = () => {
4770
4817
  e.$$.dirty[0] & /*endpoint, datasource, lang*/
4771
- 14 && i && s && o && Ur(), e.$$.dirty[0] & /*endpoint, session, mostplayed, lastplayed, favorites, isLoading*/
4772
- 3940354 && i && h && (u || l || m) && !j && Rr(), e.$$.dirty[0] & /*isLoading, activecategory, session, confirmCategoryParse*/
4773
- 67379201 && !j && b && (!h || Ie) && Dr(), e.$$.dirty[0] & /*translationurl*/
4774
- 16777216 && H && Mr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4775
- 16416 && d && U && Es(U, d), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4776
- 16448 && p && U && xs(U, p), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4777
- 16400 && c && U && Ss(U, `${c}.Style`, Cr), e.$$.dirty[0] & /*mbsource, translationurl*/
4778
- 16777232 && c && !H && Hs(`${c}.Translation`, Ir, Me);
4779
- }, r(16, bt = 0), [
4818
+ 14 && i && s && o && en(), e.$$.dirty[0] & /*endpoint, session, mostplayed, lastplayed, favorites, isLoading*/
4819
+ 7872514 && i && h && (u || l || m) && !X && Zr(), e.$$.dirty[0] & /*isLoading, activecategory, session, confirmCategoryParse*/
4820
+ 134750209 && !X && b && (!h || Ve) && tn(), e.$$.dirty[0] & /*translationurl*/
4821
+ 33554432 && B && zr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4822
+ 16416 && d && F && Is(F, d), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4823
+ 16448 && p && F && Ms(F, p), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4824
+ 16400 && f && F && Rs(F, `${f}.Style`, Vr), e.$$.dirty[0] & /*mbsource, translationurl*/
4825
+ 33554448 && f && !B && Ds(`${f}.Translation`, Xr, Xe);
4826
+ }, r(16, Tt = 0), [
4780
4827
  b,
4781
4828
  i,
4782
4829
  s,
4783
4830
  o,
4784
- c,
4831
+ f,
4785
4832
  d,
4786
4833
  p,
4787
- w,
4788
- P,
4789
- T,
4790
- M,
4791
- _,
4792
- N,
4793
- j,
4834
+ H,
4835
+ L,
4836
+ A,
4794
4837
  U,
4795
- k,
4796
- bt,
4838
+ E,
4839
+ I,
4840
+ X,
4841
+ F,
4842
+ W,
4843
+ Tt,
4844
+ Wr,
4797
4845
  a,
4798
4846
  h,
4799
4847
  u,
4800
4848
  l,
4801
4849
  m,
4850
+ R,
4802
4851
  C,
4803
- O,
4804
- H,
4805
4852
  B,
4806
- Ie,
4807
- Fr
4853
+ N,
4854
+ Ve,
4855
+ rn
4808
4856
  ];
4809
4857
  }
4810
- class Nr extends dn {
4858
+ class jr extends An {
4811
4859
  constructor(t) {
4812
- super(), fn(
4860
+ super(), Tn(
4813
4861
  this,
4814
4862
  t,
4815
- Is,
4816
- Ns,
4817
- zt,
4863
+ zs,
4864
+ Vs,
4865
+ ir,
4818
4866
  {
4819
4867
  endpoint: 1,
4820
4868
  datasource: 2,
4821
4869
  lang: 3,
4822
- userid: 17,
4823
- session: 18,
4824
- mostplayed: 19,
4825
- lastplayed: 20,
4826
- favorites: 21,
4870
+ userid: 18,
4871
+ session: 19,
4872
+ mostplayed: 20,
4873
+ lastplayed: 21,
4874
+ favorites: 22,
4827
4875
  mbsource: 4,
4828
4876
  clientstyling: 5,
4829
4877
  clientstylingurl: 6,
4830
4878
  activecategory: 0,
4831
4879
  actionevent: 7,
4832
- sessioncheck: 22,
4880
+ sessioncheck: 23,
4833
4881
  location: 8,
4834
4882
  showsubgroups: 9,
4835
- filteredcategories: 23,
4836
- translationurl: 24,
4883
+ filteredcategories: 24,
4884
+ translationurl: 25,
4837
4885
  categoriesicon: 10,
4838
4886
  lobbyiconimage: 11,
4839
4887
  mygamesiconimage: 12,
4840
- customizecategoryicon: 25
4888
+ customizecategoryicon: 26
4841
4889
  },
4842
- As,
4890
+ Fs,
4843
4891
  [-1, -1]
4844
4892
  );
4845
4893
  }
@@ -4847,173 +4895,175 @@ class Nr extends dn {
4847
4895
  return this.$$.ctx[1];
4848
4896
  }
4849
4897
  set endpoint(t) {
4850
- this.$$set({ endpoint: t }), E();
4898
+ this.$$set({ endpoint: t }), x();
4851
4899
  }
4852
4900
  get datasource() {
4853
4901
  return this.$$.ctx[2];
4854
4902
  }
4855
4903
  set datasource(t) {
4856
- this.$$set({ datasource: t }), E();
4904
+ this.$$set({ datasource: t }), x();
4857
4905
  }
4858
4906
  get lang() {
4859
4907
  return this.$$.ctx[3];
4860
4908
  }
4861
4909
  set lang(t) {
4862
- this.$$set({ lang: t }), E();
4910
+ this.$$set({ lang: t }), x();
4863
4911
  }
4864
4912
  get userid() {
4865
- return this.$$.ctx[17];
4913
+ return this.$$.ctx[18];
4866
4914
  }
4867
4915
  set userid(t) {
4868
- this.$$set({ userid: t }), E();
4916
+ this.$$set({ userid: t }), x();
4869
4917
  }
4870
4918
  get session() {
4871
- return this.$$.ctx[18];
4919
+ return this.$$.ctx[19];
4872
4920
  }
4873
4921
  set session(t) {
4874
- this.$$set({ session: t }), E();
4922
+ this.$$set({ session: t }), x();
4875
4923
  }
4876
4924
  get mostplayed() {
4877
- return this.$$.ctx[19];
4925
+ return this.$$.ctx[20];
4878
4926
  }
4879
4927
  set mostplayed(t) {
4880
- this.$$set({ mostplayed: t }), E();
4928
+ this.$$set({ mostplayed: t }), x();
4881
4929
  }
4882
4930
  get lastplayed() {
4883
- return this.$$.ctx[20];
4931
+ return this.$$.ctx[21];
4884
4932
  }
4885
4933
  set lastplayed(t) {
4886
- this.$$set({ lastplayed: t }), E();
4934
+ this.$$set({ lastplayed: t }), x();
4887
4935
  }
4888
4936
  get favorites() {
4889
- return this.$$.ctx[21];
4937
+ return this.$$.ctx[22];
4890
4938
  }
4891
4939
  set favorites(t) {
4892
- this.$$set({ favorites: t }), E();
4940
+ this.$$set({ favorites: t }), x();
4893
4941
  }
4894
4942
  get mbsource() {
4895
4943
  return this.$$.ctx[4];
4896
4944
  }
4897
4945
  set mbsource(t) {
4898
- this.$$set({ mbsource: t }), E();
4946
+ this.$$set({ mbsource: t }), x();
4899
4947
  }
4900
4948
  get clientstyling() {
4901
4949
  return this.$$.ctx[5];
4902
4950
  }
4903
4951
  set clientstyling(t) {
4904
- this.$$set({ clientstyling: t }), E();
4952
+ this.$$set({ clientstyling: t }), x();
4905
4953
  }
4906
4954
  get clientstylingurl() {
4907
4955
  return this.$$.ctx[6];
4908
4956
  }
4909
4957
  set clientstylingurl(t) {
4910
- this.$$set({ clientstylingurl: t }), E();
4958
+ this.$$set({ clientstylingurl: t }), x();
4911
4959
  }
4912
4960
  get activecategory() {
4913
4961
  return this.$$.ctx[0];
4914
4962
  }
4915
4963
  set activecategory(t) {
4916
- this.$$set({ activecategory: t }), E();
4964
+ this.$$set({ activecategory: t }), x();
4917
4965
  }
4918
4966
  get actionevent() {
4919
4967
  return this.$$.ctx[7];
4920
4968
  }
4921
4969
  set actionevent(t) {
4922
- this.$$set({ actionevent: t }), E();
4970
+ this.$$set({ actionevent: t }), x();
4923
4971
  }
4924
4972
  get sessioncheck() {
4925
- return this.$$.ctx[22];
4973
+ return this.$$.ctx[23];
4926
4974
  }
4927
4975
  set sessioncheck(t) {
4928
- this.$$set({ sessioncheck: t }), E();
4976
+ this.$$set({ sessioncheck: t }), x();
4929
4977
  }
4930
4978
  get location() {
4931
4979
  return this.$$.ctx[8];
4932
4980
  }
4933
4981
  set location(t) {
4934
- this.$$set({ location: t }), E();
4982
+ this.$$set({ location: t }), x();
4935
4983
  }
4936
4984
  get showsubgroups() {
4937
4985
  return this.$$.ctx[9];
4938
4986
  }
4939
4987
  set showsubgroups(t) {
4940
- this.$$set({ showsubgroups: t }), E();
4988
+ this.$$set({ showsubgroups: t }), x();
4941
4989
  }
4942
4990
  get filteredcategories() {
4943
- return this.$$.ctx[23];
4991
+ return this.$$.ctx[24];
4944
4992
  }
4945
4993
  set filteredcategories(t) {
4946
- this.$$set({ filteredcategories: t }), E();
4994
+ this.$$set({ filteredcategories: t }), x();
4947
4995
  }
4948
4996
  get translationurl() {
4949
- return this.$$.ctx[24];
4997
+ return this.$$.ctx[25];
4950
4998
  }
4951
4999
  set translationurl(t) {
4952
- this.$$set({ translationurl: t }), E();
5000
+ this.$$set({ translationurl: t }), x();
4953
5001
  }
4954
5002
  get categoriesicon() {
4955
5003
  return this.$$.ctx[10];
4956
5004
  }
4957
5005
  set categoriesicon(t) {
4958
- this.$$set({ categoriesicon: t }), E();
5006
+ this.$$set({ categoriesicon: t }), x();
4959
5007
  }
4960
5008
  get lobbyiconimage() {
4961
5009
  return this.$$.ctx[11];
4962
5010
  }
4963
5011
  set lobbyiconimage(t) {
4964
- this.$$set({ lobbyiconimage: t }), E();
5012
+ this.$$set({ lobbyiconimage: t }), x();
4965
5013
  }
4966
5014
  get mygamesiconimage() {
4967
5015
  return this.$$.ctx[12];
4968
5016
  }
4969
5017
  set mygamesiconimage(t) {
4970
- this.$$set({ mygamesiconimage: t }), E();
5018
+ this.$$set({ mygamesiconimage: t }), x();
4971
5019
  }
4972
5020
  get customizecategoryicon() {
4973
- return this.$$.ctx[25];
5021
+ return this.$$.ctx[26];
4974
5022
  }
4975
5023
  set customizecategoryicon(t) {
4976
- this.$$set({ customizecategoryicon: t }), E();
5024
+ this.$$set({ customizecategoryicon: t }), x();
4977
5025
  }
4978
5026
  }
4979
- mn(Nr, { endpoint: {}, datasource: {}, lang: {}, userid: {}, session: {}, mostplayed: {}, lastplayed: {}, favorites: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, activecategory: {}, actionevent: {}, sessioncheck: {}, location: {}, showsubgroups: {}, filteredcategories: {}, translationurl: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {}, customizecategoryicon: {} }, [], [], !0);
4980
- const Ws = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5027
+ Hn(jr, { endpoint: {}, datasource: {}, lang: {}, userid: {}, session: {}, mostplayed: {}, lastplayed: {}, favorites: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, activecategory: {}, actionevent: {}, sessioncheck: {}, location: {}, showsubgroups: {}, filteredcategories: {}, translationurl: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {}, customizecategoryicon: {} }, [], [], !0);
5028
+ const ao = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4981
5029
  __proto__: null,
4982
- default: Nr
5030
+ default: jr
4983
5031
  }, Symbol.toStringTag, { value: "Module" }));
4984
5032
  export {
4985
- ge as $,
4986
- Rs as A,
4987
- Es as B,
4988
- xs as C,
4989
- Ss as D,
4990
- mn as E,
4991
- Ws as F,
4992
- dn as S,
4993
- pe as a,
4994
- Hr as b,
4995
- Yr as c,
4996
- se as d,
4997
- oe as e,
4998
- E as f,
4999
- de as g,
5000
- qt as h,
5001
- fn as i,
5002
- X as j,
5003
- Ds as k,
5004
- $s as l,
5005
- ys as m,
5006
- L as n,
5007
- nn as o,
5008
- ks as p,
5009
- Fs as q,
5010
- ie as r,
5011
- zt as s,
5012
- We as t,
5013
- Xs as u,
5014
- js as v,
5015
- Qt as w,
5016
- Gs as x,
5017
- Vs as y,
5018
- Us as z
5033
+ Te as $,
5034
+ so as A,
5035
+ Ys as B,
5036
+ qs as C,
5037
+ Is as D,
5038
+ Ms as E,
5039
+ Rs as F,
5040
+ Hn as G,
5041
+ ao as H,
5042
+ An as S,
5043
+ we as a,
5044
+ Gr as b,
5045
+ cn as c,
5046
+ fe as d,
5047
+ ro as e,
5048
+ x as f,
5049
+ xe as g,
5050
+ or as h,
5051
+ Tn as i,
5052
+ Y as j,
5053
+ Js as k,
5054
+ eo as l,
5055
+ me as m,
5056
+ M as n,
5057
+ Ns as o,
5058
+ yn as p,
5059
+ io as q,
5060
+ ce as r,
5061
+ ir as s,
5062
+ no as t,
5063
+ oo as u,
5064
+ Ks as v,
5065
+ rt as w,
5066
+ to as x,
5067
+ ar as y,
5068
+ Qs as z
5019
5069
  };