@everymatrix/casino-collections-providers 1.53.12 → 1.54.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,50 +1,79 @@
1
- function I() {
1
+ var Xr = Object.defineProperty, Wr = Object.defineProperties;
2
+ var zr = Object.getOwnPropertyDescriptors;
3
+ var bt = Object.getOwnPropertySymbols;
4
+ var Zr = Object.prototype.hasOwnProperty, Qr = Object.prototype.propertyIsEnumerable;
5
+ var Le = (e, t, r) => t in e ? Xr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, gt = (e, t) => {
6
+ for (var r in t || (t = {}))
7
+ Zr.call(t, r) && Le(e, r, t[r]);
8
+ if (bt)
9
+ for (var r of bt(t))
10
+ Qr.call(t, r) && Le(e, r, t[r]);
11
+ return e;
12
+ }, yt = (e, t) => Wr(e, zr(t));
13
+ var M = (e, t, r) => Le(e, typeof t != "symbol" ? t + "" : t, r);
14
+ var vt = (e, t, r) => new Promise((n, i) => {
15
+ var o = (u) => {
16
+ try {
17
+ a(r.next(u));
18
+ } catch (l) {
19
+ i(l);
20
+ }
21
+ }, s = (u) => {
22
+ try {
23
+ a(r.throw(u));
24
+ } catch (l) {
25
+ i(l);
26
+ }
27
+ }, a = (u) => u.done ? n(u.value) : Promise.resolve(u.value).then(o, s);
28
+ a((r = r.apply(e, t)).next());
29
+ });
30
+ function L() {
2
31
  }
3
- function Ft(e) {
32
+ function Jt(e) {
4
33
  return e();
5
34
  }
6
- function ct() {
35
+ function _t() {
7
36
  return /* @__PURE__ */ Object.create(null);
8
37
  }
9
- function ee(e) {
10
- e.forEach(Ft);
38
+ function te(e) {
39
+ e.forEach(Jt);
11
40
  }
12
- function et(e) {
41
+ function rt(e) {
13
42
  return typeof e == "function";
14
43
  }
15
- function kt(e, t) {
44
+ function Yt(e, t) {
16
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
46
  }
18
- let fe;
19
- function _e(e, t) {
20
- return e === t ? !0 : (fe || (fe = document.createElement("a")), fe.href = t, e === fe.href);
47
+ let de;
48
+ function xe(e, t) {
49
+ return e === t ? !0 : (de || (de = document.createElement("a")), de.href = t, e === de.href);
21
50
  }
22
- function Rr(e) {
51
+ function Jr(e) {
23
52
  return Object.keys(e).length === 0;
24
53
  }
25
- function jt(e, ...t) {
54
+ function qt(e, ...t) {
26
55
  if (e == null) {
27
56
  for (const n of t)
28
57
  n(void 0);
29
- return I;
58
+ return L;
30
59
  }
31
60
  const r = e.subscribe(...t);
32
61
  return r.unsubscribe ? () => r.unsubscribe() : r;
33
62
  }
34
- function $r(e, t, r) {
35
- e.$$.on_destroy.push(jt(t, r));
63
+ function Yr(e, t, r) {
64
+ e.$$.on_destroy.push(qt(t, r));
36
65
  }
37
- function T(e, t) {
66
+ function H(e, t) {
38
67
  e.appendChild(t);
39
68
  }
40
- function Gr(e, t, r) {
41
- const n = Ur(e);
69
+ function qr(e, t, r) {
70
+ const n = Kr(e);
42
71
  if (!n.getElementById(t)) {
43
- const i = H("style");
44
- i.id = t, i.textContent = r, Dr(n, i);
72
+ const i = C("style");
73
+ i.id = t, i.textContent = r, en(n, i);
45
74
  }
46
75
  }
47
- function Ur(e) {
76
+ function Kr(e) {
48
77
  if (!e) return document;
49
78
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
50
79
  return t && /** @type {ShadowRoot} */
@@ -53,36 +82,36 @@ function Ur(e) {
53
82
  t
54
83
  ) : e.ownerDocument;
55
84
  }
56
- function Dr(e, t) {
57
- return T(
85
+ function en(e, t) {
86
+ return H(
58
87
  /** @type {Document} */
59
88
  e.head || e,
60
89
  t
61
90
  ), t.sheet;
62
91
  }
63
- function R(e, t, r) {
92
+ function G(e, t, r) {
64
93
  e.insertBefore(t, r || null);
65
94
  }
66
- function N(e) {
95
+ function R(e) {
67
96
  e.parentNode && e.parentNode.removeChild(e);
68
97
  }
69
- function Vt(e, t) {
98
+ function Kt(e, t) {
70
99
  for (let r = 0; r < e.length; r += 1)
71
100
  e[r] && e[r].d(t);
72
101
  }
73
- function H(e) {
102
+ function C(e) {
74
103
  return document.createElement(e);
75
104
  }
76
- function He(e) {
105
+ function Ce(e) {
77
106
  return document.createTextNode(e);
78
107
  }
79
- function F() {
80
- return He(" ");
108
+ function j() {
109
+ return Ce(" ");
81
110
  }
82
- function Q(e, t, r, n) {
111
+ function J(e, t, r, n) {
83
112
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
84
113
  }
85
- function Fr(e) {
114
+ function tn(e) {
86
115
  return function(t) {
87
116
  return t.stopPropagation(), e.call(this, t);
88
117
  };
@@ -90,38 +119,38 @@ function Fr(e) {
90
119
  function E(e, t, r) {
91
120
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
92
121
  }
93
- function kr(e) {
122
+ function rn(e) {
94
123
  return Array.from(e.childNodes);
95
124
  }
96
- function tt(e, t) {
125
+ function nt(e, t) {
97
126
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
98
127
  t);
99
128
  }
100
- function Ie(e, t, r, n) {
129
+ function Ne(e, t, r, n) {
101
130
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
102
131
  }
103
- let de;
104
- function jr() {
105
- if (de === void 0) {
106
- de = !1;
132
+ let pe;
133
+ function nn() {
134
+ if (pe === void 0) {
135
+ pe = !1;
107
136
  try {
108
- typeof window < "u" && window.parent && window.parent.document;
109
- } catch {
110
- de = !0;
137
+ typeof window != "undefined" && window.parent && window.parent.document;
138
+ } catch (e) {
139
+ pe = !0;
111
140
  }
112
141
  }
113
- return de;
142
+ return pe;
114
143
  }
115
- function Vr(e, t) {
144
+ function on(e, t) {
116
145
  getComputedStyle(e).position === "static" && (e.style.position = "relative");
117
- const n = H("iframe");
146
+ const n = C("iframe");
118
147
  n.setAttribute(
119
148
  "style",
120
149
  "display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"
121
150
  ), n.setAttribute("aria-hidden", "true"), n.tabIndex = -1;
122
- const i = jr();
151
+ const i = nn();
123
152
  let o;
124
- return i ? (n.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", o = Q(
153
+ return i ? (n.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", o = J(
125
154
  window,
126
155
  "message",
127
156
  /** @param {MessageEvent} event */
@@ -129,12 +158,12 @@ function Vr(e, t) {
129
158
  s.source === n.contentWindow && t();
130
159
  }
131
160
  )) : (n.src = "about:blank", n.onload = () => {
132
- o = Q(n.contentWindow, "resize", t), t();
133
- }), T(e, n), () => {
134
- (i || o && n.contentWindow) && o(), N(n);
161
+ o = J(n.contentWindow, "resize", t), t();
162
+ }), H(e, n), () => {
163
+ (i || o && n.contentWindow) && o(), R(n);
135
164
  };
136
165
  }
137
- function Xr(e) {
166
+ function sn(e) {
138
167
  const t = {};
139
168
  return e.childNodes.forEach(
140
169
  /** @param {Element} node */
@@ -143,244 +172,248 @@ function Xr(e) {
143
172
  }
144
173
  ), t;
145
174
  }
146
- let ue;
147
- function ae(e) {
148
- ue = e;
175
+ let le;
176
+ function ue(e) {
177
+ le = e;
149
178
  }
150
- function Wr() {
151
- if (!ue) throw new Error("Function called outside component initialization");
152
- return ue;
179
+ function an() {
180
+ if (!le) throw new Error("Function called outside component initialization");
181
+ return le;
153
182
  }
154
- function zr(e) {
155
- Wr().$$.on_mount.push(e);
183
+ function un(e) {
184
+ an().$$.on_mount.push(e);
156
185
  }
157
- const W = [], xe = [];
158
- let z = [];
159
- const ft = [], Zr = /* @__PURE__ */ Promise.resolve();
160
- let De = !1;
161
- function Qr() {
162
- De || (De = !0, Zr.then(M));
186
+ const z = [], Ee = [];
187
+ let Z = [];
188
+ const xt = [], ln = /* @__PURE__ */ Promise.resolve();
189
+ let je = !1;
190
+ function hn() {
191
+ je || (je = !0, ln.then($));
163
192
  }
164
- function Ee(e) {
165
- z.push(e);
193
+ function Se(e) {
194
+ Z.push(e);
166
195
  }
167
- const Le = /* @__PURE__ */ new Set();
168
- let V = 0;
169
- function M() {
170
- if (V !== 0)
196
+ const Me = /* @__PURE__ */ new Set();
197
+ let X = 0;
198
+ function $() {
199
+ if (X !== 0)
171
200
  return;
172
- const e = ue;
201
+ const e = le;
173
202
  do {
174
203
  try {
175
- for (; V < W.length; ) {
176
- const t = W[V];
177
- V++, ae(t), Jr(t.$$);
204
+ for (; X < z.length; ) {
205
+ const t = z[X];
206
+ X++, ue(t), cn(t.$$);
178
207
  }
179
208
  } catch (t) {
180
- throw W.length = 0, V = 0, t;
209
+ throw z.length = 0, X = 0, t;
181
210
  }
182
- for (ae(null), W.length = 0, V = 0; xe.length; ) xe.pop()();
183
- for (let t = 0; t < z.length; t += 1) {
184
- const r = z[t];
185
- Le.has(r) || (Le.add(r), r());
211
+ for (ue(null), z.length = 0, X = 0; Ee.length; ) Ee.pop()();
212
+ for (let t = 0; t < Z.length; t += 1) {
213
+ const r = Z[t];
214
+ Me.has(r) || (Me.add(r), r());
186
215
  }
187
- z.length = 0;
188
- } while (W.length);
189
- for (; ft.length; )
190
- ft.pop()();
191
- De = !1, Le.clear(), ae(e);
216
+ Z.length = 0;
217
+ } while (z.length);
218
+ for (; xt.length; )
219
+ xt.pop()();
220
+ je = !1, Me.clear(), ue(e);
192
221
  }
193
- function Jr(e) {
222
+ function cn(e) {
194
223
  if (e.fragment !== null) {
195
- e.update(), ee(e.before_update);
224
+ e.update(), te(e.before_update);
196
225
  const t = e.dirty;
197
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ee);
226
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Se);
198
227
  }
199
228
  }
200
- function Yr(e) {
229
+ function fn(e) {
201
230
  const t = [], r = [];
202
- z.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), z = t;
231
+ Z.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Z = t;
203
232
  }
204
- const qr = /* @__PURE__ */ new Set();
205
- function Kr(e, t) {
206
- e && e.i && (qr.delete(e), e.i(t));
233
+ const dn = /* @__PURE__ */ new Set();
234
+ function pn(e, t) {
235
+ e && e.i && (dn.delete(e), e.i(t));
207
236
  }
208
- function Se(e) {
209
- return e?.length !== void 0 ? e : Array.from(e);
237
+ function we(e) {
238
+ return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
210
239
  }
211
- function en(e, t, r) {
240
+ function mn(e, t, r) {
212
241
  const { fragment: n, after_update: i } = e.$$;
213
- n && n.m(t, r), Ee(() => {
214
- const o = e.$$.on_mount.map(Ft).filter(et);
215
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ee(o), e.$$.on_mount = [];
216
- }), i.forEach(Ee);
242
+ n && n.m(t, r), Se(() => {
243
+ const o = e.$$.on_mount.map(Jt).filter(rt);
244
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : te(o), e.$$.on_mount = [];
245
+ }), i.forEach(Se);
217
246
  }
218
- function tn(e, t) {
247
+ function bn(e, t) {
219
248
  const r = e.$$;
220
- r.fragment !== null && (Yr(r.after_update), ee(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
249
+ r.fragment !== null && (fn(r.after_update), te(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
221
250
  }
222
- function rn(e, t) {
223
- e.$$.dirty[0] === -1 && (W.push(e), Qr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
251
+ function gn(e, t) {
252
+ e.$$.dirty[0] === -1 && (z.push(e), hn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
224
253
  }
225
- function nn(e, t, r, n, i, o, s = null, a = [-1]) {
226
- const l = ue;
227
- ae(e);
228
- const h = e.$$ = {
254
+ function yn(e, t, r, n, i, o, s = null, a = [-1]) {
255
+ const u = le;
256
+ ue(e);
257
+ const l = e.$$ = {
229
258
  fragment: null,
230
259
  ctx: [],
231
260
  // state
232
261
  props: o,
233
- update: I,
262
+ update: L,
234
263
  not_equal: i,
235
- bound: ct(),
264
+ bound: _t(),
236
265
  // lifecycle
237
266
  on_mount: [],
238
267
  on_destroy: [],
239
268
  on_disconnect: [],
240
269
  before_update: [],
241
270
  after_update: [],
242
- context: new Map(t.context || (l ? l.$$.context : [])),
271
+ context: new Map(t.context || (u ? u.$$.context : [])),
243
272
  // everything else
244
- callbacks: ct(),
273
+ callbacks: _t(),
245
274
  dirty: a,
246
275
  skip_bound: !1,
247
- root: t.target || l.$$.root
276
+ root: t.target || u.$$.root
248
277
  };
249
- s && s(h.root);
250
- let u = !1;
251
- if (h.ctx = r(e, t.props || {}, (c, f, ...m) => {
252
- const d = m.length ? m[0] : f;
253
- return h.ctx && i(h.ctx[c], h.ctx[c] = d) && (!h.skip_bound && h.bound[c] && h.bound[c](d), u && rn(e, c)), f;
254
- }), h.update(), u = !0, ee(h.before_update), h.fragment = n(h.ctx), t.target) {
278
+ s && s(l.root);
279
+ let h = !1;
280
+ if (l.ctx = r(e, t.props || {}, (c, f, ...p) => {
281
+ const d = p.length ? p[0] : f;
282
+ return l.ctx && i(l.ctx[c], l.ctx[c] = d) && (!l.skip_bound && l.bound[c] && l.bound[c](d), h && gn(e, c)), f;
283
+ }), l.update(), h = !0, te(l.before_update), l.fragment = n(l.ctx), t.target) {
255
284
  if (t.hydrate) {
256
- const c = kr(t.target);
257
- h.fragment && h.fragment.l(c), c.forEach(N);
285
+ const c = rn(t.target);
286
+ l.fragment && l.fragment.l(c), c.forEach(R);
258
287
  } else
259
- h.fragment && h.fragment.c();
260
- t.intro && Kr(e.$$.fragment), en(e, t.target, t.anchor), M();
288
+ l.fragment && l.fragment.c();
289
+ t.intro && pn(e.$$.fragment), mn(e, t.target, t.anchor), $();
261
290
  }
262
- ae(l);
263
- }
264
- let Xt;
265
- typeof HTMLElement == "function" && (Xt = class extends HTMLElement {
266
- /** The Svelte component constructor */
267
- $$ctor;
268
- /** Slots */
269
- $$s;
270
- /** The Svelte component instance */
271
- $$c;
272
- /** Whether or not the custom element is connected */
273
- $$cn = !1;
274
- /** Component props data */
275
- $$d = {};
276
- /** `true` if currently in the process of reflecting component props back to attributes */
277
- $$r = !1;
278
- /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
279
- $$p_d = {};
280
- /** @type {Record<string, Function[]>} Event listeners */
281
- $$l = {};
282
- /** @type {Map<Function, Function>} Event listener unsubscribe functions */
283
- $$l_u = /* @__PURE__ */ new Map();
284
- constructor(e, t, r) {
285
- super(), this.$$ctor = e, this.$$s = t, r && this.attachShadow({ mode: "open" });
291
+ ue(u);
292
+ }
293
+ let er;
294
+ typeof HTMLElement == "function" && (er = class extends HTMLElement {
295
+ constructor(t, r, n) {
296
+ super();
297
+ /** The Svelte component constructor */
298
+ M(this, "$$ctor");
299
+ /** Slots */
300
+ M(this, "$$s");
301
+ /** The Svelte component instance */
302
+ M(this, "$$c");
303
+ /** Whether or not the custom element is connected */
304
+ M(this, "$$cn", !1);
305
+ /** Component props data */
306
+ M(this, "$$d", {});
307
+ /** `true` if currently in the process of reflecting component props back to attributes */
308
+ M(this, "$$r", !1);
309
+ /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
310
+ M(this, "$$p_d", {});
311
+ /** @type {Record<string, Function[]>} Event listeners */
312
+ M(this, "$$l", {});
313
+ /** @type {Map<Function, Function>} Event listener unsubscribe functions */
314
+ M(this, "$$l_u", /* @__PURE__ */ new Map());
315
+ this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
286
316
  }
287
- addEventListener(e, t, r) {
288
- if (this.$$l[e] = this.$$l[e] || [], this.$$l[e].push(t), this.$$c) {
289
- const n = this.$$c.$on(e, t);
290
- this.$$l_u.set(t, n);
317
+ addEventListener(t, r, n) {
318
+ if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(r), this.$$c) {
319
+ const i = this.$$c.$on(t, r);
320
+ this.$$l_u.set(r, i);
291
321
  }
292
- super.addEventListener(e, t, r);
322
+ super.addEventListener(t, r, n);
293
323
  }
294
- removeEventListener(e, t, r) {
295
- if (super.removeEventListener(e, t, r), this.$$c) {
296
- const n = this.$$l_u.get(t);
297
- n && (n(), this.$$l_u.delete(t));
324
+ removeEventListener(t, r, n) {
325
+ if (super.removeEventListener(t, r, n), this.$$c) {
326
+ const i = this.$$l_u.get(r);
327
+ i && (i(), this.$$l_u.delete(r));
298
328
  }
299
329
  }
300
- async connectedCallback() {
301
- if (this.$$cn = !0, !this.$$c) {
302
- let e = function(i) {
303
- return () => {
304
- let o;
305
- return {
306
- c: function() {
307
- o = H("slot"), i !== "default" && E(o, "name", i);
308
- },
309
- /**
310
- * @param {HTMLElement} target
311
- * @param {HTMLElement} [anchor]
312
- */
313
- m: function(l, h) {
314
- R(l, o, h);
315
- },
316
- d: function(l) {
317
- l && N(o);
318
- }
330
+ connectedCallback() {
331
+ return vt(this, null, function* () {
332
+ if (this.$$cn = !0, !this.$$c) {
333
+ let t = function(o) {
334
+ return () => {
335
+ let s;
336
+ return {
337
+ c: function() {
338
+ s = C("slot"), o !== "default" && E(s, "name", o);
339
+ },
340
+ /**
341
+ * @param {HTMLElement} target
342
+ * @param {HTMLElement} [anchor]
343
+ */
344
+ m: function(l, h) {
345
+ G(l, s, h);
346
+ },
347
+ d: function(l) {
348
+ l && R(s);
349
+ }
350
+ };
319
351
  };
320
352
  };
321
- };
322
- if (await Promise.resolve(), !this.$$cn || this.$$c)
323
- return;
324
- const t = {}, r = Xr(this);
325
- for (const i of this.$$s)
326
- i in r && (t[i] = [e(i)]);
327
- for (const i of this.attributes) {
328
- const o = this.$$g_p(i.name);
329
- o in this.$$d || (this.$$d[o] = be(o, i.value, this.$$p_d, "toProp"));
330
- }
331
- for (const i in this.$$p_d)
332
- !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
333
- this.$$c = new this.$$ctor({
334
- target: this.shadowRoot || this,
335
- props: {
336
- ...this.$$d,
337
- $$slots: t,
338
- $$scope: {
339
- ctx: []
340
- }
353
+ if (yield Promise.resolve(), !this.$$cn || this.$$c)
354
+ return;
355
+ const r = {}, n = sn(this);
356
+ for (const o of this.$$s)
357
+ o in n && (r[o] = [t(o)]);
358
+ for (const o of this.attributes) {
359
+ const s = this.$$g_p(o.name);
360
+ s in this.$$d || (this.$$d[s] = ge(s, o.value, this.$$p_d, "toProp"));
341
361
  }
342
- });
343
- const n = () => {
344
- this.$$r = !0;
345
- for (const i in this.$$p_d)
346
- if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
347
- const o = be(
348
- i,
349
- this.$$d[i],
350
- this.$$p_d,
351
- "toAttribute"
352
- );
353
- o == null ? this.removeAttribute(this.$$p_d[i].attribute || i) : this.setAttribute(this.$$p_d[i].attribute || i, o);
362
+ for (const o in this.$$p_d)
363
+ !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
364
+ this.$$c = new this.$$ctor({
365
+ target: this.shadowRoot || this,
366
+ props: yt(gt({}, this.$$d), {
367
+ $$slots: r,
368
+ $$scope: {
369
+ ctx: []
370
+ }
371
+ })
372
+ });
373
+ const i = () => {
374
+ this.$$r = !0;
375
+ for (const o in this.$$p_d)
376
+ if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
377
+ const s = ge(
378
+ o,
379
+ this.$$d[o],
380
+ this.$$p_d,
381
+ "toAttribute"
382
+ );
383
+ s == null ? this.removeAttribute(this.$$p_d[o].attribute || o) : this.setAttribute(this.$$p_d[o].attribute || o, s);
384
+ }
385
+ this.$$r = !1;
386
+ };
387
+ this.$$c.$$.after_update.push(i), i();
388
+ for (const o in this.$$l)
389
+ for (const s of this.$$l[o]) {
390
+ const a = this.$$c.$on(o, s);
391
+ this.$$l_u.set(s, a);
354
392
  }
355
- this.$$r = !1;
356
- };
357
- this.$$c.$$.after_update.push(n), n();
358
- for (const i in this.$$l)
359
- for (const o of this.$$l[i]) {
360
- const s = this.$$c.$on(i, o);
361
- this.$$l_u.set(o, s);
362
- }
363
- this.$$l = {};
364
- }
393
+ this.$$l = {};
394
+ }
395
+ });
365
396
  }
366
397
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
367
398
  // and setting attributes through setAttribute etc, this is helpful
368
- attributeChangedCallback(e, t, r) {
369
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = be(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
399
+ attributeChangedCallback(t, r, n) {
400
+ var i;
401
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = ge(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
370
402
  }
371
403
  disconnectedCallback() {
372
404
  this.$$cn = !1, Promise.resolve().then(() => {
373
405
  !this.$$cn && this.$$c && (this.$$c.$destroy(), this.$$c = void 0);
374
406
  });
375
407
  }
376
- $$g_p(e) {
408
+ $$g_p(t) {
377
409
  return Object.keys(this.$$p_d).find(
378
- (t) => this.$$p_d[t].attribute === e || !this.$$p_d[t].attribute && t.toLowerCase() === e
379
- ) || e;
410
+ (r) => this.$$p_d[r].attribute === t || !this.$$p_d[r].attribute && r.toLowerCase() === t
411
+ ) || t;
380
412
  }
381
413
  });
382
- function be(e, t, r, n) {
383
- const i = r[e]?.type;
414
+ function ge(e, t, r, n) {
415
+ var o;
416
+ const i = (o = r[e]) == null ? void 0 : o.type;
384
417
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
385
418
  return t;
386
419
  if (n === "toAttribute")
@@ -391,7 +424,7 @@ function be(e, t, r, n) {
391
424
  case "Boolean":
392
425
  return t ? "" : null;
393
426
  case "Number":
394
- return t ?? null;
427
+ return t == null ? null : t;
395
428
  default:
396
429
  return t;
397
430
  }
@@ -408,8 +441,8 @@ function be(e, t, r, n) {
408
441
  return t;
409
442
  }
410
443
  }
411
- function on(e, t, r, n, i, o) {
412
- let s = class extends Xt {
444
+ function vn(e, t, r, n, i, o) {
445
+ let s = class extends er {
413
446
  constructor() {
414
447
  super(e, r, i), this.$$p_d = t;
415
448
  }
@@ -424,39 +457,43 @@ function on(e, t, r, n, i, o) {
424
457
  get() {
425
458
  return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
426
459
  },
427
- set(l) {
428
- l = be(a, l, t), this.$$d[a] = l, this.$$c?.$set({ [a]: l });
460
+ set(u) {
461
+ var l;
462
+ u = ge(a, u, t), this.$$d[a] = u, (l = this.$$c) == null || l.$set({ [a]: u });
429
463
  }
430
464
  });
431
465
  }), n.forEach((a) => {
432
466
  Object.defineProperty(s.prototype, a, {
433
467
  get() {
434
- return this.$$c?.[a];
468
+ var u;
469
+ return (u = this.$$c) == null ? void 0 : u[a];
435
470
  }
436
471
  });
437
472
  }), e.element = /** @type {any} */
438
473
  s, s;
439
474
  }
440
- class sn {
441
- /**
442
- * ### PRIVATE API
443
- *
444
- * Do not use, may change at any time
445
- *
446
- * @type {any}
447
- */
448
- $$ = void 0;
449
- /**
450
- * ### PRIVATE API
451
- *
452
- * Do not use, may change at any time
453
- *
454
- * @type {any}
455
- */
456
- $$set = void 0;
475
+ class _n {
476
+ constructor() {
477
+ /**
478
+ * ### PRIVATE API
479
+ *
480
+ * Do not use, may change at any time
481
+ *
482
+ * @type {any}
483
+ */
484
+ M(this, "$$");
485
+ /**
486
+ * ### PRIVATE API
487
+ *
488
+ * Do not use, may change at any time
489
+ *
490
+ * @type {any}
491
+ */
492
+ M(this, "$$set");
493
+ }
457
494
  /** @returns {void} */
458
495
  $destroy() {
459
- tn(this, 1), this.$destroy = I;
496
+ bn(this, 1), this.$destroy = L;
460
497
  }
461
498
  /**
462
499
  * @template {Extract<keyof Events, string>} K
@@ -465,8 +502,8 @@ class sn {
465
502
  * @returns {() => void}
466
503
  */
467
504
  $on(t, r) {
468
- if (!et(r))
469
- return I;
505
+ if (!rt(r))
506
+ return L;
470
507
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
471
508
  return n.push(r), () => {
472
509
  const i = n.indexOf(r);
@@ -478,174 +515,174 @@ class sn {
478
515
  * @returns {void}
479
516
  */
480
517
  $set(t) {
481
- this.$$set && !Rr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
518
+ this.$$set && !Jr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
482
519
  }
483
520
  }
484
- const an = "4";
485
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(an);
486
- const X = [];
487
- function un(e, t) {
521
+ const xn = "4";
522
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(xn);
523
+ const W = [];
524
+ function En(e, t) {
488
525
  return {
489
- subscribe: Ce(e, t).subscribe
526
+ subscribe: Pe(e, t).subscribe
490
527
  };
491
528
  }
492
- function Ce(e, t = I) {
529
+ function Pe(e, t = L) {
493
530
  let r;
494
531
  const n = /* @__PURE__ */ new Set();
495
532
  function i(a) {
496
- if (kt(e, a) && (e = a, r)) {
497
- const l = !X.length;
498
- for (const h of n)
499
- h[1](), X.push(h, e);
500
- if (l) {
501
- for (let h = 0; h < X.length; h += 2)
502
- X[h][0](X[h + 1]);
503
- X.length = 0;
533
+ if (Yt(e, a) && (e = a, r)) {
534
+ const u = !W.length;
535
+ for (const l of n)
536
+ l[1](), W.push(l, e);
537
+ if (u) {
538
+ for (let l = 0; l < W.length; l += 2)
539
+ W[l][0](W[l + 1]);
540
+ W.length = 0;
504
541
  }
505
542
  }
506
543
  }
507
544
  function o(a) {
508
545
  i(a(e));
509
546
  }
510
- function s(a, l = I) {
511
- const h = [a, l];
512
- return n.add(h), n.size === 1 && (r = t(i, o) || I), a(e), () => {
513
- n.delete(h), n.size === 0 && r && (r(), r = null);
547
+ function s(a, u = L) {
548
+ const l = [a, u];
549
+ return n.add(l), n.size === 1 && (r = t(i, o) || L), a(e), () => {
550
+ n.delete(l), n.size === 0 && r && (r(), r = null);
514
551
  };
515
552
  }
516
553
  return { set: i, update: o, subscribe: s };
517
554
  }
518
- function te(e, t, r) {
555
+ function re(e, t, r) {
519
556
  const n = !Array.isArray(e), i = n ? [e] : e;
520
557
  if (!i.every(Boolean))
521
558
  throw new Error("derived() expects stores as input, got a falsy value");
522
559
  const o = t.length < 2;
523
- return un(r, (s, a) => {
524
- let l = !1;
525
- const h = [];
526
- let u = 0, c = I;
560
+ return En(r, (s, a) => {
561
+ let u = !1;
562
+ const l = [];
563
+ let h = 0, c = L;
527
564
  const f = () => {
528
- if (u)
565
+ if (h)
529
566
  return;
530
567
  c();
531
- const d = t(n ? h[0] : h, s, a);
532
- o ? s(d) : c = et(d) ? d : I;
533
- }, m = i.map(
534
- (d, g) => jt(
568
+ const d = t(n ? l[0] : l, s, a);
569
+ o ? s(d) : c = rt(d) ? d : L;
570
+ }, p = i.map(
571
+ (d, g) => qt(
535
572
  d,
536
- (p) => {
537
- h[g] = p, u &= ~(1 << g), l && f();
573
+ (m) => {
574
+ l[g] = m, h &= ~(1 << g), u && f();
538
575
  },
539
576
  () => {
540
- u |= 1 << g;
577
+ h |= 1 << g;
541
578
  }
542
579
  )
543
580
  );
544
- return l = !0, f(), function() {
545
- ee(m), c(), l = !1;
581
+ return u = !0, f(), function() {
582
+ te(p), c(), u = !1;
546
583
  };
547
584
  });
548
585
  }
549
- function ln(e) {
586
+ function Sn(e) {
550
587
  return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
551
588
  }
552
- var hn = function(t) {
553
- return cn(t) && !fn(t);
589
+ var wn = function(t) {
590
+ return Tn(t) && !Hn(t);
554
591
  };
555
- function cn(e) {
592
+ function Tn(e) {
556
593
  return !!e && typeof e == "object";
557
594
  }
558
- function fn(e) {
595
+ function Hn(e) {
559
596
  var t = Object.prototype.toString.call(e);
560
- return t === "[object RegExp]" || t === "[object Date]" || mn(e);
597
+ return t === "[object RegExp]" || t === "[object Date]" || Bn(e);
561
598
  }
562
- var dn = typeof Symbol == "function" && Symbol.for, pn = dn ? Symbol.for("react.element") : 60103;
563
- function mn(e) {
564
- return e.$$typeof === pn;
599
+ var Cn = typeof Symbol == "function" && Symbol.for, Pn = Cn ? Symbol.for("react.element") : 60103;
600
+ function Bn(e) {
601
+ return e.$$typeof === Pn;
565
602
  }
566
- function bn(e) {
603
+ function An(e) {
567
604
  return Array.isArray(e) ? [] : {};
568
605
  }
569
- function le(e, t) {
570
- return t.clone !== !1 && t.isMergeableObject(e) ? J(bn(e), e, t) : e;
606
+ function he(e, t) {
607
+ return t.clone !== !1 && t.isMergeableObject(e) ? Y(An(e), e, t) : e;
571
608
  }
572
- function gn(e, t, r) {
609
+ function On(e, t, r) {
573
610
  return e.concat(t).map(function(n) {
574
- return le(n, r);
611
+ return he(n, r);
575
612
  });
576
613
  }
577
- function yn(e, t) {
614
+ function In(e, t) {
578
615
  if (!t.customMerge)
579
- return J;
616
+ return Y;
580
617
  var r = t.customMerge(e);
581
- return typeof r == "function" ? r : J;
618
+ return typeof r == "function" ? r : Y;
582
619
  }
583
- function vn(e) {
620
+ function Ln(e) {
584
621
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
585
622
  return Object.propertyIsEnumerable.call(e, t);
586
623
  }) : [];
587
624
  }
588
- function dt(e) {
589
- return Object.keys(e).concat(vn(e));
625
+ function Et(e) {
626
+ return Object.keys(e).concat(Ln(e));
590
627
  }
591
- function Wt(e, t) {
628
+ function tr(e, t) {
592
629
  try {
593
630
  return t in e;
594
- } catch {
631
+ } catch (r) {
595
632
  return !1;
596
633
  }
597
634
  }
598
- function _n(e, t) {
599
- return Wt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
635
+ function Nn(e, t) {
636
+ return tr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
600
637
  }
601
- function xn(e, t, r) {
638
+ function Mn(e, t, r) {
602
639
  var n = {};
603
- return r.isMergeableObject(e) && dt(e).forEach(function(i) {
604
- n[i] = le(e[i], r);
605
- }), dt(t).forEach(function(i) {
606
- _n(e, i) || (Wt(e, i) && r.isMergeableObject(t[i]) ? n[i] = yn(i, r)(e[i], t[i], r) : n[i] = le(t[i], r));
640
+ return r.isMergeableObject(e) && Et(e).forEach(function(i) {
641
+ n[i] = he(e[i], r);
642
+ }), Et(t).forEach(function(i) {
643
+ Nn(e, i) || (tr(e, i) && r.isMergeableObject(t[i]) ? n[i] = In(i, r)(e[i], t[i], r) : n[i] = he(t[i], r));
607
644
  }), n;
608
645
  }
609
- function J(e, t, r) {
610
- r = r || {}, r.arrayMerge = r.arrayMerge || gn, r.isMergeableObject = r.isMergeableObject || hn, r.cloneUnlessOtherwiseSpecified = le;
646
+ function Y(e, t, r) {
647
+ r = r || {}, r.arrayMerge = r.arrayMerge || On, r.isMergeableObject = r.isMergeableObject || wn, r.cloneUnlessOtherwiseSpecified = he;
611
648
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
612
- return o ? n ? r.arrayMerge(e, t, r) : xn(e, t, r) : le(t, r);
649
+ return o ? n ? r.arrayMerge(e, t, r) : Mn(e, t, r) : he(t, r);
613
650
  }
614
- J.all = function(t, r) {
651
+ Y.all = function(t, r) {
615
652
  if (!Array.isArray(t))
616
653
  throw new Error("first argument should be an array");
617
654
  return t.reduce(function(n, i) {
618
- return J(n, i, r);
655
+ return Y(n, i, r);
619
656
  }, {});
620
657
  };
621
- var En = J, Sn = En;
622
- const wn = /* @__PURE__ */ ln(Sn);
623
- var Fe = function(e, t) {
624
- return Fe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
658
+ var Rn = Y, $n = Rn;
659
+ const Gn = /* @__PURE__ */ Sn($n);
660
+ var ke = function(e, t) {
661
+ return ke = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
625
662
  r.__proto__ = n;
626
663
  } || function(r, n) {
627
664
  for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
628
- }, Fe(e, t);
665
+ }, ke(e, t);
629
666
  };
630
- function U(e, t) {
667
+ function D(e, t) {
631
668
  if (typeof t != "function" && t !== null)
632
669
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
633
- Fe(e, t);
670
+ ke(e, t);
634
671
  function r() {
635
672
  this.constructor = e;
636
673
  }
637
674
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
638
675
  }
639
- var x = function() {
640
- return x = Object.assign || function(t) {
676
+ var _ = function() {
677
+ return _ = Object.assign || function(t) {
641
678
  for (var r, n = 1, i = arguments.length; n < i; n++) {
642
679
  r = arguments[n];
643
680
  for (var o in r) Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
644
681
  }
645
682
  return t;
646
- }, x.apply(this, arguments);
683
+ }, _.apply(this, arguments);
647
684
  };
648
- function Tn(e, t) {
685
+ function Un(e, t) {
649
686
  var r = {};
650
687
  for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
651
688
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
@@ -653,7 +690,7 @@ function Tn(e, t) {
653
690
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
654
691
  return r;
655
692
  }
656
- function ke(e) {
693
+ function Ve(e) {
657
694
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
658
695
  if (r) return r.call(e);
659
696
  if (e && typeof e.length == "number") return {
@@ -663,7 +700,7 @@ function ke(e) {
663
700
  };
664
701
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
665
702
  }
666
- function je(e, t) {
703
+ function Xe(e, t) {
667
704
  var r = typeof Symbol == "function" && e[Symbol.iterator];
668
705
  if (!r) return e;
669
706
  var n = r.call(e), i, o = [], s;
@@ -680,45 +717,45 @@ function je(e, t) {
680
717
  }
681
718
  return o;
682
719
  }
683
- function Z(e, t, r) {
720
+ function Q(e, t, r) {
684
721
  if (r || arguments.length === 2) for (var n = 0, i = t.length, o; n < i; n++)
685
722
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
686
723
  return e.concat(o || Array.prototype.slice.call(t));
687
724
  }
688
- function Ne(e, t) {
689
- var r = t && t.cache ? t.cache : In, n = t && t.serializer ? t.serializer : An, i = t && t.strategy ? t.strategy : Cn;
725
+ function Re(e, t) {
726
+ var r = t && t.cache ? t.cache : Wn, n = t && t.serializer ? t.serializer : Vn, i = t && t.strategy ? t.strategy : Fn;
690
727
  return i(e, {
691
728
  cache: r,
692
729
  serializer: n
693
730
  });
694
731
  }
695
- function Hn(e) {
732
+ function Dn(e) {
696
733
  return e == null || typeof e == "number" || typeof e == "boolean";
697
734
  }
698
- function zt(e, t, r, n) {
699
- var i = Hn(n) ? n : r(n), o = t.get(i);
700
- return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
735
+ function rr(e, t, r, n) {
736
+ var i = Dn(n) ? n : r(n), o = t.get(i);
737
+ return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
701
738
  }
702
- function Zt(e, t, r) {
739
+ function nr(e, t, r) {
703
740
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
704
- return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
741
+ return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
705
742
  }
706
- function rt(e, t, r, n, i) {
743
+ function it(e, t, r, n, i) {
707
744
  return r.bind(t, e, n, i);
708
745
  }
709
- function Cn(e, t) {
710
- var r = e.length === 1 ? zt : Zt;
711
- return rt(e, this, r, t.cache.create(), t.serializer);
746
+ function Fn(e, t) {
747
+ var r = e.length === 1 ? rr : nr;
748
+ return it(e, this, r, t.cache.create(), t.serializer);
712
749
  }
713
- function Pn(e, t) {
714
- return rt(e, this, Zt, t.cache.create(), t.serializer);
750
+ function jn(e, t) {
751
+ return it(e, this, nr, t.cache.create(), t.serializer);
715
752
  }
716
- function Bn(e, t) {
717
- return rt(e, this, zt, t.cache.create(), t.serializer);
753
+ function kn(e, t) {
754
+ return it(e, this, rr, t.cache.create(), t.serializer);
718
755
  }
719
- var An = function() {
756
+ var Vn = function() {
720
757
  return JSON.stringify(arguments);
721
- }, On = (
758
+ }, Xn = (
722
759
  /** @class */
723
760
  function() {
724
761
  function e() {
@@ -730,13 +767,13 @@ var An = function() {
730
767
  this.cache[t] = r;
731
768
  }, e;
732
769
  }()
733
- ), In = {
770
+ ), Wn = {
734
771
  create: function() {
735
- return new On();
772
+ return new Xn();
736
773
  }
737
- }, Me = {
738
- variadic: Pn,
739
- monadic: Bn
774
+ }, $e = {
775
+ variadic: jn,
776
+ monadic: kn
740
777
  }, y;
741
778
  (function(e) {
742
779
  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";
@@ -745,47 +782,47 @@ var w;
745
782
  (function(e) {
746
783
  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";
747
784
  })(w || (w = {}));
748
- var Y;
785
+ var q;
749
786
  (function(e) {
750
787
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
751
- })(Y || (Y = {}));
752
- function pt(e) {
788
+ })(q || (q = {}));
789
+ function St(e) {
753
790
  return e.type === w.literal;
754
791
  }
755
- function Ln(e) {
792
+ function zn(e) {
756
793
  return e.type === w.argument;
757
794
  }
758
- function Qt(e) {
795
+ function ir(e) {
759
796
  return e.type === w.number;
760
797
  }
761
- function Jt(e) {
798
+ function or(e) {
762
799
  return e.type === w.date;
763
800
  }
764
- function Yt(e) {
801
+ function sr(e) {
765
802
  return e.type === w.time;
766
803
  }
767
- function qt(e) {
804
+ function ar(e) {
768
805
  return e.type === w.select;
769
806
  }
770
- function Kt(e) {
807
+ function ur(e) {
771
808
  return e.type === w.plural;
772
809
  }
773
- function Nn(e) {
810
+ function Zn(e) {
774
811
  return e.type === w.pound;
775
812
  }
776
- function er(e) {
813
+ function lr(e) {
777
814
  return e.type === w.tag;
778
815
  }
779
- function tr(e) {
780
- return !!(e && typeof e == "object" && e.type === Y.number);
816
+ function hr(e) {
817
+ return !!(e && typeof e == "object" && e.type === q.number);
781
818
  }
782
- function Ve(e) {
783
- return !!(e && typeof e == "object" && e.type === Y.dateTime);
819
+ function We(e) {
820
+ return !!(e && typeof e == "object" && e.type === q.dateTime);
784
821
  }
785
- var rr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Mn = /(?:[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;
786
- function Rn(e) {
822
+ var cr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Qn = /(?:[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;
823
+ function Jn(e) {
787
824
  var t = {};
788
- return e.replace(Mn, function(r) {
825
+ return e.replace(Qn, function(r) {
789
826
  var n = r.length;
790
827
  switch (r[0]) {
791
828
  case "G":
@@ -874,36 +911,36 @@ function Rn(e) {
874
911
  return "";
875
912
  }), t;
876
913
  }
877
- var $n = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
878
- function Gn(e) {
914
+ var Yn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
915
+ function qn(e) {
879
916
  if (e.length === 0)
880
917
  throw new Error("Number skeleton cannot be empty");
881
- for (var t = e.split($n).filter(function(f) {
918
+ for (var t = e.split(Yn).filter(function(f) {
882
919
  return f.length > 0;
883
920
  }), r = [], n = 0, i = t; n < i.length; n++) {
884
921
  var o = i[n], s = o.split("/");
885
922
  if (s.length === 0)
886
923
  throw new Error("Invalid number skeleton");
887
- for (var a = s[0], l = s.slice(1), h = 0, u = l; h < u.length; h++) {
888
- var c = u[h];
924
+ for (var a = s[0], u = s.slice(1), l = 0, h = u; l < h.length; l++) {
925
+ var c = h[l];
889
926
  if (c.length === 0)
890
927
  throw new Error("Invalid number skeleton");
891
928
  }
892
- r.push({ stem: a, options: l });
929
+ r.push({ stem: a, options: u });
893
930
  }
894
931
  return r;
895
932
  }
896
- function Un(e) {
933
+ function Kn(e) {
897
934
  return e.replace(/^(.*?)-/, "");
898
935
  }
899
- var mt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, nr = /^(@+)?(\+|#+)?[rs]?$/g, Dn = /(\*)(0+)|(#+)(0+)|(0+)/g, ir = /^(0+)$/;
900
- function bt(e) {
936
+ var wt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, fr = /^(@+)?(\+|#+)?[rs]?$/g, ei = /(\*)(0+)|(#+)(0+)|(0+)/g, dr = /^(0+)$/;
937
+ function Tt(e) {
901
938
  var t = {};
902
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(nr, function(r, n, i) {
939
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(fr, function(r, n, i) {
903
940
  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)), "";
904
941
  }), t;
905
942
  }
906
- function or(e) {
943
+ function pr(e) {
907
944
  switch (e) {
908
945
  case "sign-auto":
909
946
  return {
@@ -943,7 +980,7 @@ function or(e) {
943
980
  };
944
981
  }
945
982
  }
946
- function Fn(e) {
983
+ function ti(e) {
947
984
  var t;
948
985
  if (e[0] === "E" && e[1] === "E" ? (t = {
949
986
  notation: "engineering"
@@ -951,17 +988,17 @@ function Fn(e) {
951
988
  notation: "scientific"
952
989
  }, e = e.slice(1)), t) {
953
990
  var r = e.slice(0, 2);
954
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !ir.test(e))
991
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !dr.test(e))
955
992
  throw new Error("Malformed concise eng/scientific notation");
956
993
  t.minimumIntegerDigits = e.length;
957
994
  }
958
995
  return t;
959
996
  }
960
- function gt(e) {
961
- var t = {}, r = or(e);
997
+ function Ht(e) {
998
+ var t = {}, r = pr(e);
962
999
  return r || t;
963
1000
  }
964
- function kn(e) {
1001
+ function ri(e) {
965
1002
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
966
1003
  var i = n[r];
967
1004
  switch (i.stem) {
@@ -985,7 +1022,7 @@ function kn(e) {
985
1022
  continue;
986
1023
  case "measure-unit":
987
1024
  case "unit":
988
- t.style = "unit", t.unit = Un(i.options[0]);
1025
+ t.style = "unit", t.unit = Kn(i.options[0]);
989
1026
  continue;
990
1027
  case "compact-short":
991
1028
  case "K":
@@ -996,13 +1033,13 @@ function kn(e) {
996
1033
  t.notation = "compact", t.compactDisplay = "long";
997
1034
  continue;
998
1035
  case "scientific":
999
- t = x(x(x({}, t), { notation: "scientific" }), i.options.reduce(function(l, h) {
1000
- return x(x({}, l), gt(h));
1036
+ t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
1037
+ return _(_({}, u), Ht(l));
1001
1038
  }, {}));
1002
1039
  continue;
1003
1040
  case "engineering":
1004
- t = x(x(x({}, t), { notation: "engineering" }), i.options.reduce(function(l, h) {
1005
- return x(x({}, l), gt(h));
1041
+ t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
1042
+ return _(_({}, u), Ht(l));
1006
1043
  }, {}));
1007
1044
  continue;
1008
1045
  case "notation-simple":
@@ -1047,45 +1084,45 @@ function kn(e) {
1047
1084
  case "integer-width":
1048
1085
  if (i.options.length > 1)
1049
1086
  throw new RangeError("integer-width stems only accept a single optional option");
1050
- i.options[0].replace(Dn, function(l, h, u, c, f, m) {
1051
- if (h)
1052
- t.minimumIntegerDigits = u.length;
1087
+ i.options[0].replace(ei, function(u, l, h, c, f, p) {
1088
+ if (l)
1089
+ t.minimumIntegerDigits = h.length;
1053
1090
  else {
1054
1091
  if (c && f)
1055
1092
  throw new Error("We currently do not support maximum integer digits");
1056
- if (m)
1093
+ if (p)
1057
1094
  throw new Error("We currently do not support exact integer digits");
1058
1095
  }
1059
1096
  return "";
1060
1097
  });
1061
1098
  continue;
1062
1099
  }
1063
- if (ir.test(i.stem)) {
1100
+ if (dr.test(i.stem)) {
1064
1101
  t.minimumIntegerDigits = i.stem.length;
1065
1102
  continue;
1066
1103
  }
1067
- if (mt.test(i.stem)) {
1104
+ if (wt.test(i.stem)) {
1068
1105
  if (i.options.length > 1)
1069
1106
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1070
- i.stem.replace(mt, function(l, h, u, c, f, m) {
1071
- return u === "*" ? t.minimumFractionDigits = h.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && m ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + m.length) : (t.minimumFractionDigits = h.length, t.maximumFractionDigits = h.length), "";
1107
+ i.stem.replace(wt, function(u, l, h, c, f, p) {
1108
+ return h === "*" ? t.minimumFractionDigits = l.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1072
1109
  });
1073
1110
  var o = i.options[0];
1074
- o === "w" ? t = x(x({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = x(x({}, t), bt(o)));
1111
+ o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), Tt(o)));
1075
1112
  continue;
1076
1113
  }
1077
- if (nr.test(i.stem)) {
1078
- t = x(x({}, t), bt(i.stem));
1114
+ if (fr.test(i.stem)) {
1115
+ t = _(_({}, t), Tt(i.stem));
1079
1116
  continue;
1080
1117
  }
1081
- var s = or(i.stem);
1082
- s && (t = x(x({}, t), s));
1083
- var a = Fn(i.stem);
1084
- a && (t = x(x({}, t), a));
1118
+ var s = pr(i.stem);
1119
+ s && (t = _(_({}, t), s));
1120
+ var a = ti(i.stem);
1121
+ a && (t = _(_({}, t), a));
1085
1122
  }
1086
1123
  return t;
1087
1124
  }
1088
- var pe = {
1125
+ var me = {
1089
1126
  "001": [
1090
1127
  "H",
1091
1128
  "h"
@@ -2500,22 +2537,22 @@ var pe = {
2500
2537
  "h"
2501
2538
  ]
2502
2539
  };
2503
- function jn(e, t) {
2540
+ function ni(e, t) {
2504
2541
  for (var r = "", n = 0; n < e.length; n++) {
2505
2542
  var i = e.charAt(n);
2506
2543
  if (i === "j") {
2507
2544
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2508
2545
  o++, n++;
2509
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", h = Vn(t);
2510
- for ((h == "H" || h == "k") && (a = 0); a-- > 0; )
2511
- r += l;
2546
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = ii(t);
2547
+ for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
2548
+ r += u;
2512
2549
  for (; s-- > 0; )
2513
- r = h + r;
2550
+ r = l + r;
2514
2551
  } else i === "J" ? r += "H" : r += i;
2515
2552
  }
2516
2553
  return r;
2517
2554
  }
2518
- function Vn(e) {
2555
+ function ii(e) {
2519
2556
  var t = e.hourCycle;
2520
2557
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2521
2558
  e.hourCycles && // @ts-ignore
@@ -2534,23 +2571,23 @@ function Vn(e) {
2534
2571
  }
2535
2572
  var r = e.language, n;
2536
2573
  r !== "root" && (n = e.maximize().region);
2537
- var i = pe[n || ""] || pe[r || ""] || pe["".concat(r, "-001")] || pe["001"];
2574
+ var i = me[n || ""] || me[r || ""] || me["".concat(r, "-001")] || me["001"];
2538
2575
  return i[0];
2539
2576
  }
2540
- var Re, Xn = new RegExp("^".concat(rr.source, "*")), Wn = new RegExp("".concat(rr.source, "*$"));
2577
+ var Ge, oi = new RegExp("^".concat(cr.source, "*")), si = new RegExp("".concat(cr.source, "*$"));
2541
2578
  function v(e, t) {
2542
2579
  return { start: e, end: t };
2543
2580
  }
2544
- var zn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Zn = !!String.fromCodePoint, Qn = !!Object.fromEntries, Jn = !!String.prototype.codePointAt, Yn = !!String.prototype.trimStart, qn = !!String.prototype.trimEnd, Kn = !!Number.isSafeInteger, ei = Kn ? Number.isSafeInteger : function(e) {
2581
+ var ai = !!String.prototype.startsWith && "_a".startsWith("a", 1), ui = !!String.fromCodePoint, li = !!Object.fromEntries, hi = !!String.prototype.codePointAt, ci = !!String.prototype.trimStart, fi = !!String.prototype.trimEnd, di = !!Number.isSafeInteger, pi = di ? Number.isSafeInteger : function(e) {
2545
2582
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2546
- }, Xe = !0;
2583
+ }, ze = !0;
2547
2584
  try {
2548
- var ti = ar("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2549
- Xe = ((Re = ti.exec("a")) === null || Re === void 0 ? void 0 : Re[0]) === "a";
2550
- } catch {
2551
- Xe = !1;
2585
+ var mi = br("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2586
+ ze = ((Ge = mi.exec("a")) === null || Ge === void 0 ? void 0 : Ge[0]) === "a";
2587
+ } catch (e) {
2588
+ ze = !1;
2552
2589
  }
2553
- var yt = zn ? (
2590
+ var Ct = ai ? (
2554
2591
  // Native
2555
2592
  function(t, r, n) {
2556
2593
  return t.startsWith(r, n);
@@ -2560,7 +2597,7 @@ var yt = zn ? (
2560
2597
  function(t, r, n) {
2561
2598
  return t.slice(n, n + r.length) === r;
2562
2599
  }
2563
- ), We = Zn ? String.fromCodePoint : (
2600
+ ), Ze = ui ? String.fromCodePoint : (
2564
2601
  // IE11
2565
2602
  function() {
2566
2603
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2572,9 +2609,9 @@ var yt = zn ? (
2572
2609
  }
2573
2610
  return n;
2574
2611
  }
2575
- ), vt = (
2612
+ ), Pt = (
2576
2613
  // native
2577
- Qn ? Object.fromEntries : (
2614
+ li ? Object.fromEntries : (
2578
2615
  // Ponyfill
2579
2616
  function(t) {
2580
2617
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2584,7 +2621,7 @@ var yt = zn ? (
2584
2621
  return r;
2585
2622
  }
2586
2623
  )
2587
- ), sr = Jn ? (
2624
+ ), mr = hi ? (
2588
2625
  // Native
2589
2626
  function(t, r) {
2590
2627
  return t.codePointAt(r);
@@ -2598,7 +2635,7 @@ var yt = zn ? (
2598
2635
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
2599
2636
  }
2600
2637
  }
2601
- ), ri = Yn ? (
2638
+ ), bi = ci ? (
2602
2639
  // Native
2603
2640
  function(t) {
2604
2641
  return t.trimStart();
@@ -2606,9 +2643,9 @@ var yt = zn ? (
2606
2643
  ) : (
2607
2644
  // Ponyfill
2608
2645
  function(t) {
2609
- return t.replace(Xn, "");
2646
+ return t.replace(oi, "");
2610
2647
  }
2611
- ), ni = qn ? (
2648
+ ), gi = fi ? (
2612
2649
  // Native
2613
2650
  function(t) {
2614
2651
  return t.trimEnd();
@@ -2616,32 +2653,32 @@ var yt = zn ? (
2616
2653
  ) : (
2617
2654
  // Ponyfill
2618
2655
  function(t) {
2619
- return t.replace(Wn, "");
2656
+ return t.replace(si, "");
2620
2657
  }
2621
2658
  );
2622
- function ar(e, t) {
2659
+ function br(e, t) {
2623
2660
  return new RegExp(e, t);
2624
2661
  }
2625
- var ze;
2626
- if (Xe) {
2627
- var _t = ar("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2628
- ze = function(t, r) {
2662
+ var Qe;
2663
+ if (ze) {
2664
+ var Bt = br("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2665
+ Qe = function(t, r) {
2629
2666
  var n;
2630
- _t.lastIndex = r;
2631
- var i = _t.exec(t);
2667
+ Bt.lastIndex = r;
2668
+ var i = Bt.exec(t);
2632
2669
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2633
2670
  };
2634
2671
  } else
2635
- ze = function(t, r) {
2672
+ Qe = function(t, r) {
2636
2673
  for (var n = []; ; ) {
2637
- var i = sr(t, r);
2638
- if (i === void 0 || ur(i) || ai(i))
2674
+ var i = mr(t, r);
2675
+ if (i === void 0 || gr(i) || xi(i))
2639
2676
  break;
2640
2677
  n.push(i), r += i >= 65536 ? 2 : 1;
2641
2678
  }
2642
- return We.apply(void 0, n);
2679
+ return Ze.apply(void 0, n);
2643
2680
  };
2644
- var ii = (
2681
+ var yi = (
2645
2682
  /** @class */
2646
2683
  function() {
2647
2684
  function e(t, r) {
@@ -2672,7 +2709,7 @@ var ii = (
2672
2709
  if (n)
2673
2710
  break;
2674
2711
  return this.error(y.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
2675
- } else if (o === 60 && !this.ignoreTag && Ze(this.peek() || 0)) {
2712
+ } else if (o === 60 && !this.ignoreTag && Je(this.peek() || 0)) {
2676
2713
  var s = this.parseTag(t, r);
2677
2714
  if (s.err)
2678
2715
  return s;
@@ -2705,10 +2742,10 @@ var ii = (
2705
2742
  return o;
2706
2743
  var s = o.val, a = this.clonePosition();
2707
2744
  if (this.bumpIf("</")) {
2708
- if (this.isEOF() || !Ze(this.char()))
2745
+ if (this.isEOF() || !Je(this.char()))
2709
2746
  return this.error(y.INVALID_TAG, v(a, this.clonePosition()));
2710
- var l = this.clonePosition(), h = this.parseTagName();
2711
- return i !== h ? this.error(y.UNMATCHED_CLOSING_TAG, v(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2747
+ var u = this.clonePosition(), l = this.parseTagName();
2748
+ return i !== l ? this.error(y.UNMATCHED_CLOSING_TAG, v(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2712
2749
  val: {
2713
2750
  type: w.tag,
2714
2751
  value: i,
@@ -2723,7 +2760,7 @@ var ii = (
2723
2760
  return this.error(y.INVALID_TAG, v(n, this.clonePosition()));
2724
2761
  }, e.prototype.parseTagName = function() {
2725
2762
  var t = this.offset();
2726
- for (this.bump(); !this.isEOF() && si(this.char()); )
2763
+ for (this.bump(); !this.isEOF() && _i(this.char()); )
2727
2764
  this.bump();
2728
2765
  return this.message.slice(t, this.offset());
2729
2766
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2745,14 +2782,14 @@ var ii = (
2745
2782
  }
2746
2783
  break;
2747
2784
  }
2748
- var l = v(n, this.clonePosition());
2785
+ var u = v(n, this.clonePosition());
2749
2786
  return {
2750
- val: { type: w.literal, value: i, location: l },
2787
+ val: { type: w.literal, value: i, location: u },
2751
2788
  err: null
2752
2789
  };
2753
2790
  }, e.prototype.tryParseLeftAngleBracket = function() {
2754
2791
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2755
- !oi(this.peek() || 0)) ? (this.bump(), "<") : null;
2792
+ !vi(this.peek() || 0)) ? (this.bump(), "<") : null;
2756
2793
  }, e.prototype.tryParseQuote = function(t) {
2757
2794
  if (this.isEOF() || this.char() !== 39)
2758
2795
  return null;
@@ -2786,12 +2823,12 @@ var ii = (
2786
2823
  r.push(n);
2787
2824
  this.bump();
2788
2825
  }
2789
- return We.apply(void 0, r);
2826
+ return Ze.apply(void 0, r);
2790
2827
  }, e.prototype.tryParseUnquoted = function(t, r) {
2791
2828
  if (this.isEOF())
2792
2829
  return null;
2793
2830
  var n = this.char();
2794
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), We(n));
2831
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ze(n));
2795
2832
  }, e.prototype.parseArgument = function(t, r) {
2796
2833
  var n = this.clonePosition();
2797
2834
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -2820,56 +2857,56 @@ var ii = (
2820
2857
  return this.error(y.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
2821
2858
  }
2822
2859
  }, e.prototype.parseIdentifierIfPossible = function() {
2823
- var t = this.clonePosition(), r = this.offset(), n = ze(this.message, r), i = r + n.length;
2860
+ var t = this.clonePosition(), r = this.offset(), n = Qe(this.message, r), i = r + n.length;
2824
2861
  this.bumpTo(i);
2825
2862
  var o = this.clonePosition(), s = v(t, o);
2826
2863
  return { value: n, location: s };
2827
2864
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
2828
- var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, l = this.clonePosition();
2865
+ var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, u = this.clonePosition();
2829
2866
  switch (a) {
2830
2867
  case "":
2831
- return this.error(y.EXPECT_ARGUMENT_TYPE, v(s, l));
2868
+ return this.error(y.EXPECT_ARGUMENT_TYPE, v(s, u));
2832
2869
  case "number":
2833
2870
  case "date":
2834
2871
  case "time": {
2835
2872
  this.bumpSpace();
2836
- var h = null;
2873
+ var l = null;
2837
2874
  if (this.bumpIf(",")) {
2838
2875
  this.bumpSpace();
2839
- var u = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
2876
+ var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
2840
2877
  if (c.err)
2841
2878
  return c;
2842
- var f = ni(c.val);
2879
+ var f = gi(c.val);
2843
2880
  if (f.length === 0)
2844
2881
  return this.error(y.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
2845
- var m = v(u, this.clonePosition());
2846
- h = { style: f, styleLocation: m };
2882
+ var p = v(h, this.clonePosition());
2883
+ l = { style: f, styleLocation: p };
2847
2884
  }
2848
2885
  var d = this.tryParseArgumentClose(i);
2849
2886
  if (d.err)
2850
2887
  return d;
2851
2888
  var g = v(i, this.clonePosition());
2852
- if (h && yt(h?.style, "::", 0)) {
2853
- var p = ri(h.style.slice(2));
2889
+ if (l && Ct(l == null ? void 0 : l.style, "::", 0)) {
2890
+ var m = bi(l.style.slice(2));
2854
2891
  if (a === "number") {
2855
- var c = this.parseNumberSkeletonFromString(p, h.styleLocation);
2892
+ var c = this.parseNumberSkeletonFromString(m, l.styleLocation);
2856
2893
  return c.err ? c : {
2857
2894
  val: { type: w.number, value: n, location: g, style: c.val },
2858
2895
  err: null
2859
2896
  };
2860
2897
  } else {
2861
- if (p.length === 0)
2898
+ if (m.length === 0)
2862
2899
  return this.error(y.EXPECT_DATE_TIME_SKELETON, g);
2863
- var S = p;
2864
- this.locale && (S = jn(p, this.locale));
2900
+ var x = m;
2901
+ this.locale && (x = ni(m, this.locale));
2865
2902
  var f = {
2866
- type: Y.dateTime,
2867
- pattern: S,
2868
- location: h.styleLocation,
2869
- parsedOptions: this.shouldParseSkeletons ? Rn(S) : {}
2870
- }, _ = a === "date" ? w.date : w.time;
2903
+ type: q.dateTime,
2904
+ pattern: x,
2905
+ location: l.styleLocation,
2906
+ parsedOptions: this.shouldParseSkeletons ? Jn(x) : {}
2907
+ }, S = a === "date" ? w.date : w.time;
2871
2908
  return {
2872
- val: { type: _, value: n, location: g, style: f },
2909
+ val: { type: S, value: n, location: g, style: f },
2873
2910
  err: null
2874
2911
  };
2875
2912
  }
@@ -2879,7 +2916,7 @@ var ii = (
2879
2916
  type: a === "number" ? w.number : a === "date" ? w.date : w.time,
2880
2917
  value: n,
2881
2918
  location: g,
2882
- style: (o = h?.style) !== null && o !== void 0 ? o : null
2919
+ style: (o = l == null ? void 0 : l.style) !== null && o !== void 0 ? o : null
2883
2920
  },
2884
2921
  err: null
2885
2922
  };
@@ -2887,49 +2924,49 @@ var ii = (
2887
2924
  case "plural":
2888
2925
  case "selectordinal":
2889
2926
  case "select": {
2890
- var P = this.clonePosition();
2927
+ var A = this.clonePosition();
2891
2928
  if (this.bumpSpace(), !this.bumpIf(","))
2892
- return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, v(P, x({}, P)));
2929
+ return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, v(A, _({}, A)));
2893
2930
  this.bumpSpace();
2894
- var $ = this.parseIdentifierIfPossible(), B = 0;
2895
- if (a !== "select" && $.value === "offset") {
2931
+ var T = this.parseIdentifierIfPossible(), P = 0;
2932
+ if (a !== "select" && T.value === "offset") {
2896
2933
  if (!this.bumpIf(":"))
2897
2934
  return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
2898
2935
  this.bumpSpace();
2899
2936
  var c = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2900
2937
  if (c.err)
2901
2938
  return c;
2902
- this.bumpSpace(), $ = this.parseIdentifierIfPossible(), B = c.val;
2939
+ this.bumpSpace(), T = this.parseIdentifierIfPossible(), P = c.val;
2903
2940
  }
2904
- var j = this.tryParsePluralOrSelectOptions(t, a, r, $);
2905
- if (j.err)
2906
- return j;
2941
+ var V = this.tryParsePluralOrSelectOptions(t, a, r, T);
2942
+ if (V.err)
2943
+ return V;
2907
2944
  var d = this.tryParseArgumentClose(i);
2908
2945
  if (d.err)
2909
2946
  return d;
2910
- var ie = v(i, this.clonePosition());
2947
+ var oe = v(i, this.clonePosition());
2911
2948
  return a === "select" ? {
2912
2949
  val: {
2913
2950
  type: w.select,
2914
2951
  value: n,
2915
- options: vt(j.val),
2916
- location: ie
2952
+ options: Pt(V.val),
2953
+ location: oe
2917
2954
  },
2918
2955
  err: null
2919
2956
  } : {
2920
2957
  val: {
2921
2958
  type: w.plural,
2922
2959
  value: n,
2923
- options: vt(j.val),
2924
- offset: B,
2960
+ options: Pt(V.val),
2961
+ offset: P,
2925
2962
  pluralType: a === "plural" ? "cardinal" : "ordinal",
2926
- location: ie
2963
+ location: oe
2927
2964
  },
2928
2965
  err: null
2929
2966
  };
2930
2967
  }
2931
2968
  default:
2932
- return this.error(y.INVALID_ARGUMENT_TYPE, v(s, l));
2969
+ return this.error(y.INVALID_ARGUMENT_TYPE, v(s, u));
2933
2970
  }
2934
2971
  }, e.prototype.tryParseArgumentClose = function(t) {
2935
2972
  return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
@@ -2971,50 +3008,50 @@ var ii = (
2971
3008
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2972
3009
  var n = [];
2973
3010
  try {
2974
- n = Gn(t);
2975
- } catch {
3011
+ n = qn(t);
3012
+ } catch (i) {
2976
3013
  return this.error(y.INVALID_NUMBER_SKELETON, r);
2977
3014
  }
2978
3015
  return {
2979
3016
  val: {
2980
- type: Y.number,
3017
+ type: q.number,
2981
3018
  tokens: n,
2982
3019
  location: r,
2983
- parsedOptions: this.shouldParseSkeletons ? kn(n) : {}
3020
+ parsedOptions: this.shouldParseSkeletons ? ri(n) : {}
2984
3021
  },
2985
3022
  err: null
2986
3023
  };
2987
3024
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
2988
- for (var o, s = !1, a = [], l = /* @__PURE__ */ new Set(), h = i.value, u = i.location; ; ) {
2989
- if (h.length === 0) {
3025
+ for (var o, s = !1, a = [], u = /* @__PURE__ */ new Set(), l = i.value, h = i.location; ; ) {
3026
+ if (l.length === 0) {
2990
3027
  var c = this.clonePosition();
2991
3028
  if (r !== "select" && this.bumpIf("=")) {
2992
3029
  var f = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_SELECTOR, y.INVALID_PLURAL_ARGUMENT_SELECTOR);
2993
3030
  if (f.err)
2994
3031
  return f;
2995
- u = v(c, this.clonePosition()), h = this.message.slice(c.offset, this.offset());
3032
+ h = v(c, this.clonePosition()), l = this.message.slice(c.offset, this.offset());
2996
3033
  } else
2997
3034
  break;
2998
3035
  }
2999
- if (l.has(h))
3000
- return this.error(r === "select" ? y.DUPLICATE_SELECT_ARGUMENT_SELECTOR : y.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, u);
3001
- h === "other" && (s = !0), this.bumpSpace();
3002
- var m = this.clonePosition();
3036
+ if (u.has(l))
3037
+ return this.error(r === "select" ? y.DUPLICATE_SELECT_ARGUMENT_SELECTOR : y.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3038
+ l === "other" && (s = !0), this.bumpSpace();
3039
+ var p = this.clonePosition();
3003
3040
  if (!this.bumpIf("{"))
3004
3041
  return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, v(this.clonePosition(), this.clonePosition()));
3005
3042
  var d = this.parseMessage(t + 1, r, n);
3006
3043
  if (d.err)
3007
3044
  return d;
3008
- var g = this.tryParseArgumentClose(m);
3045
+ var g = this.tryParseArgumentClose(p);
3009
3046
  if (g.err)
3010
3047
  return g;
3011
3048
  a.push([
3012
- h,
3049
+ l,
3013
3050
  {
3014
3051
  value: d.val,
3015
- location: v(m, this.clonePosition())
3052
+ location: v(p, this.clonePosition())
3016
3053
  }
3017
- ]), l.add(h), this.bumpSpace(), o = this.parseIdentifierIfPossible(), h = o.value, u = o.location;
3054
+ ]), u.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, h = o.location;
3018
3055
  }
3019
3056
  return a.length === 0 ? this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR, v(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(y.MISSING_OTHER_CLAUSE, v(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3020
3057
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
@@ -3027,8 +3064,8 @@ var ii = (
3027
3064
  else
3028
3065
  break;
3029
3066
  }
3030
- var l = v(i, this.clonePosition());
3031
- return o ? (s *= n, ei(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3067
+ var u = v(i, this.clonePosition());
3068
+ return o ? (s *= n, pi(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
3032
3069
  }, e.prototype.offset = function() {
3033
3070
  return this.position.offset;
3034
3071
  }, e.prototype.isEOF = function() {
@@ -3043,7 +3080,7 @@ var ii = (
3043
3080
  var t = this.position.offset;
3044
3081
  if (t >= this.message.length)
3045
3082
  throw Error("out of bound");
3046
- var r = sr(this.message, t);
3083
+ var r = mr(this.message, t);
3047
3084
  if (r === void 0)
3048
3085
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3049
3086
  return r;
@@ -3062,7 +3099,7 @@ var ii = (
3062
3099
  t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
3063
3100
  }
3064
3101
  }, e.prototype.bumpIf = function(t) {
3065
- if (yt(this.message, t, this.offset())) {
3102
+ if (Ct(this.message, t, this.offset())) {
3066
3103
  for (var r = 0; r < t.length; r++)
3067
3104
  this.bump();
3068
3105
  return !0;
@@ -3084,56 +3121,56 @@ var ii = (
3084
3121
  break;
3085
3122
  }
3086
3123
  }, e.prototype.bumpSpace = function() {
3087
- for (; !this.isEOF() && ur(this.char()); )
3124
+ for (; !this.isEOF() && gr(this.char()); )
3088
3125
  this.bump();
3089
3126
  }, e.prototype.peek = function() {
3090
3127
  if (this.isEOF())
3091
3128
  return null;
3092
3129
  var t = this.char(), r = this.offset(), n = this.message.charCodeAt(r + (t >= 65536 ? 2 : 1));
3093
- return n ?? null;
3130
+ return n != null ? n : null;
3094
3131
  }, e;
3095
3132
  }()
3096
3133
  );
3097
- function Ze(e) {
3134
+ function Je(e) {
3098
3135
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3099
3136
  }
3100
- function oi(e) {
3101
- return Ze(e) || e === 47;
3137
+ function vi(e) {
3138
+ return Je(e) || e === 47;
3102
3139
  }
3103
- function si(e) {
3140
+ function _i(e) {
3104
3141
  return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
3105
3142
  }
3106
- function ur(e) {
3143
+ function gr(e) {
3107
3144
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3108
3145
  }
3109
- function ai(e) {
3146
+ function xi(e) {
3110
3147
  return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
3111
3148
  }
3112
- function Qe(e) {
3149
+ function Ye(e) {
3113
3150
  e.forEach(function(t) {
3114
- if (delete t.location, qt(t) || Kt(t))
3151
+ if (delete t.location, ar(t) || ur(t))
3115
3152
  for (var r in t.options)
3116
- delete t.options[r].location, Qe(t.options[r].value);
3117
- else Qt(t) && tr(t.style) || (Jt(t) || Yt(t)) && Ve(t.style) ? delete t.style.location : er(t) && Qe(t.children);
3153
+ delete t.options[r].location, Ye(t.options[r].value);
3154
+ else ir(t) && hr(t.style) || (or(t) || sr(t)) && We(t.style) ? delete t.style.location : lr(t) && Ye(t.children);
3118
3155
  });
3119
3156
  }
3120
- function ui(e, t) {
3121
- t === void 0 && (t = {}), t = x({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3122
- var r = new ii(e, t).parse();
3157
+ function Ei(e, t) {
3158
+ t === void 0 && (t = {}), t = _({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3159
+ var r = new yi(e, t).parse();
3123
3160
  if (r.err) {
3124
3161
  var n = SyntaxError(y[r.err.kind]);
3125
3162
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3126
3163
  }
3127
- return t?.captureLocation || Qe(r.val), r.val;
3164
+ return t != null && t.captureLocation || Ye(r.val), r.val;
3128
3165
  }
3129
- var q;
3166
+ var K;
3130
3167
  (function(e) {
3131
3168
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3132
- })(q || (q = {}));
3133
- var Pe = (
3169
+ })(K || (K = {}));
3170
+ var Be = (
3134
3171
  /** @class */
3135
3172
  function(e) {
3136
- U(t, e);
3173
+ D(t, e);
3137
3174
  function t(r, n, i) {
3138
3175
  var o = e.call(this, r) || this;
3139
3176
  return o.code = n, o.originalMessage = i, o;
@@ -3142,155 +3179,155 @@ var Pe = (
3142
3179
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3143
3180
  }, t;
3144
3181
  }(Error)
3145
- ), xt = (
3182
+ ), At = (
3146
3183
  /** @class */
3147
3184
  function(e) {
3148
- U(t, e);
3185
+ D(t, e);
3149
3186
  function t(r, n, i, o) {
3150
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), q.INVALID_VALUE, o) || this;
3187
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), K.INVALID_VALUE, o) || this;
3151
3188
  }
3152
3189
  return t;
3153
- }(Pe)
3154
- ), li = (
3190
+ }(Be)
3191
+ ), Si = (
3155
3192
  /** @class */
3156
3193
  function(e) {
3157
- U(t, e);
3194
+ D(t, e);
3158
3195
  function t(r, n, i) {
3159
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), q.INVALID_VALUE, i) || this;
3196
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), K.INVALID_VALUE, i) || this;
3160
3197
  }
3161
3198
  return t;
3162
- }(Pe)
3163
- ), hi = (
3199
+ }(Be)
3200
+ ), wi = (
3164
3201
  /** @class */
3165
3202
  function(e) {
3166
- U(t, e);
3203
+ D(t, e);
3167
3204
  function t(r, n) {
3168
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), q.MISSING_VALUE, n) || this;
3205
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), K.MISSING_VALUE, n) || this;
3169
3206
  }
3170
3207
  return t;
3171
- }(Pe)
3172
- ), A;
3208
+ }(Be)
3209
+ ), O;
3173
3210
  (function(e) {
3174
3211
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3175
- })(A || (A = {}));
3176
- function ci(e) {
3212
+ })(O || (O = {}));
3213
+ function Ti(e) {
3177
3214
  return e.length < 2 ? e : e.reduce(function(t, r) {
3178
3215
  var n = t[t.length - 1];
3179
- return !n || n.type !== A.literal || r.type !== A.literal ? t.push(r) : n.value += r.value, t;
3216
+ return !n || n.type !== O.literal || r.type !== O.literal ? t.push(r) : n.value += r.value, t;
3180
3217
  }, []);
3181
3218
  }
3182
- function fi(e) {
3219
+ function Hi(e) {
3183
3220
  return typeof e == "function";
3184
3221
  }
3185
- function ge(e, t, r, n, i, o, s) {
3186
- if (e.length === 1 && pt(e[0]))
3222
+ function ye(e, t, r, n, i, o, s) {
3223
+ if (e.length === 1 && St(e[0]))
3187
3224
  return [
3188
3225
  {
3189
- type: A.literal,
3226
+ type: O.literal,
3190
3227
  value: e[0].value
3191
3228
  }
3192
3229
  ];
3193
- for (var a = [], l = 0, h = e; l < h.length; l++) {
3194
- var u = h[l];
3195
- if (pt(u)) {
3230
+ for (var a = [], u = 0, l = e; u < l.length; u++) {
3231
+ var h = l[u];
3232
+ if (St(h)) {
3196
3233
  a.push({
3197
- type: A.literal,
3198
- value: u.value
3234
+ type: O.literal,
3235
+ value: h.value
3199
3236
  });
3200
3237
  continue;
3201
3238
  }
3202
- if (Nn(u)) {
3239
+ if (Zn(h)) {
3203
3240
  typeof o == "number" && a.push({
3204
- type: A.literal,
3241
+ type: O.literal,
3205
3242
  value: r.getNumberFormat(t).format(o)
3206
3243
  });
3207
3244
  continue;
3208
3245
  }
3209
- var c = u.value;
3246
+ var c = h.value;
3210
3247
  if (!(i && c in i))
3211
- throw new hi(c, s);
3248
+ throw new wi(c, s);
3212
3249
  var f = i[c];
3213
- if (Ln(u)) {
3250
+ if (zn(h)) {
3214
3251
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3215
- type: typeof f == "string" ? A.literal : A.object,
3252
+ type: typeof f == "string" ? O.literal : O.object,
3216
3253
  value: f
3217
3254
  });
3218
3255
  continue;
3219
3256
  }
3220
- if (Jt(u)) {
3221
- var m = typeof u.style == "string" ? n.date[u.style] : Ve(u.style) ? u.style.parsedOptions : void 0;
3257
+ if (or(h)) {
3258
+ var p = typeof h.style == "string" ? n.date[h.style] : We(h.style) ? h.style.parsedOptions : void 0;
3222
3259
  a.push({
3223
- type: A.literal,
3224
- value: r.getDateTimeFormat(t, m).format(f)
3260
+ type: O.literal,
3261
+ value: r.getDateTimeFormat(t, p).format(f)
3225
3262
  });
3226
3263
  continue;
3227
3264
  }
3228
- if (Yt(u)) {
3229
- var m = typeof u.style == "string" ? n.time[u.style] : Ve(u.style) ? u.style.parsedOptions : n.time.medium;
3265
+ if (sr(h)) {
3266
+ var p = typeof h.style == "string" ? n.time[h.style] : We(h.style) ? h.style.parsedOptions : n.time.medium;
3230
3267
  a.push({
3231
- type: A.literal,
3232
- value: r.getDateTimeFormat(t, m).format(f)
3268
+ type: O.literal,
3269
+ value: r.getDateTimeFormat(t, p).format(f)
3233
3270
  });
3234
3271
  continue;
3235
3272
  }
3236
- if (Qt(u)) {
3237
- var m = typeof u.style == "string" ? n.number[u.style] : tr(u.style) ? u.style.parsedOptions : void 0;
3238
- m && m.scale && (f = f * (m.scale || 1)), a.push({
3239
- type: A.literal,
3240
- value: r.getNumberFormat(t, m).format(f)
3273
+ if (ir(h)) {
3274
+ var p = typeof h.style == "string" ? n.number[h.style] : hr(h.style) ? h.style.parsedOptions : void 0;
3275
+ p && p.scale && (f = f * (p.scale || 1)), a.push({
3276
+ type: O.literal,
3277
+ value: r.getNumberFormat(t, p).format(f)
3241
3278
  });
3242
3279
  continue;
3243
3280
  }
3244
- if (er(u)) {
3245
- var d = u.children, g = u.value, p = i[g];
3246
- if (!fi(p))
3247
- throw new li(g, "function", s);
3248
- var S = ge(d, t, r, n, i, o), _ = p(S.map(function(B) {
3249
- return B.value;
3281
+ if (lr(h)) {
3282
+ var d = h.children, g = h.value, m = i[g];
3283
+ if (!Hi(m))
3284
+ throw new Si(g, "function", s);
3285
+ var x = ye(d, t, r, n, i, o), S = m(x.map(function(P) {
3286
+ return P.value;
3250
3287
  }));
3251
- Array.isArray(_) || (_ = [_]), a.push.apply(a, _.map(function(B) {
3288
+ Array.isArray(S) || (S = [S]), a.push.apply(a, S.map(function(P) {
3252
3289
  return {
3253
- type: typeof B == "string" ? A.literal : A.object,
3254
- value: B
3290
+ type: typeof P == "string" ? O.literal : O.object,
3291
+ value: P
3255
3292
  };
3256
3293
  }));
3257
3294
  }
3258
- if (qt(u)) {
3259
- var P = u.options[f] || u.options.other;
3260
- if (!P)
3261
- throw new xt(u.value, f, Object.keys(u.options), s);
3262
- a.push.apply(a, ge(P.value, t, r, n, i));
3295
+ if (ar(h)) {
3296
+ var A = h.options[f] || h.options.other;
3297
+ if (!A)
3298
+ throw new At(h.value, f, Object.keys(h.options), s);
3299
+ a.push.apply(a, ye(A.value, t, r, n, i));
3263
3300
  continue;
3264
3301
  }
3265
- if (Kt(u)) {
3266
- var P = u.options["=".concat(f)];
3267
- if (!P) {
3302
+ if (ur(h)) {
3303
+ var A = h.options["=".concat(f)];
3304
+ if (!A) {
3268
3305
  if (!Intl.PluralRules)
3269
- throw new Pe(`Intl.PluralRules is not available in this environment.
3306
+ throw new Be(`Intl.PluralRules is not available in this environment.
3270
3307
  Try polyfilling it using "@formatjs/intl-pluralrules"
3271
- `, q.MISSING_INTL_API, s);
3272
- var $ = r.getPluralRules(t, { type: u.pluralType }).select(f - (u.offset || 0));
3273
- P = u.options[$] || u.options.other;
3308
+ `, K.MISSING_INTL_API, s);
3309
+ var T = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3310
+ A = h.options[T] || h.options.other;
3274
3311
  }
3275
- if (!P)
3276
- throw new xt(u.value, f, Object.keys(u.options), s);
3277
- a.push.apply(a, ge(P.value, t, r, n, i, f - (u.offset || 0)));
3312
+ if (!A)
3313
+ throw new At(h.value, f, Object.keys(h.options), s);
3314
+ a.push.apply(a, ye(A.value, t, r, n, i, f - (h.offset || 0)));
3278
3315
  continue;
3279
3316
  }
3280
3317
  }
3281
- return ci(a);
3318
+ return Ti(a);
3282
3319
  }
3283
- function di(e, t) {
3284
- return t ? x(x(x({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3285
- return r[n] = x(x({}, e[n]), t[n] || {}), r;
3320
+ function Ci(e, t) {
3321
+ return t ? _(_(_({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3322
+ return r[n] = _(_({}, e[n]), t[n] || {}), r;
3286
3323
  }, {})) : e;
3287
3324
  }
3288
- function pi(e, t) {
3325
+ function Pi(e, t) {
3289
3326
  return t ? Object.keys(e).reduce(function(r, n) {
3290
- return r[n] = di(e[n], t[n]), r;
3291
- }, x({}, e)) : e;
3327
+ return r[n] = Ci(e[n], t[n]), r;
3328
+ }, _({}, e)) : e;
3292
3329
  }
3293
- function $e(e) {
3330
+ function Ue(e) {
3294
3331
  return {
3295
3332
  create: function() {
3296
3333
  return {
@@ -3304,39 +3341,39 @@ function $e(e) {
3304
3341
  }
3305
3342
  };
3306
3343
  }
3307
- function mi(e) {
3344
+ function Bi(e) {
3308
3345
  return e === void 0 && (e = {
3309
3346
  number: {},
3310
3347
  dateTime: {},
3311
3348
  pluralRules: {}
3312
3349
  }), {
3313
- getNumberFormat: Ne(function() {
3350
+ getNumberFormat: Re(function() {
3314
3351
  for (var t, r = [], n = 0; n < arguments.length; n++)
3315
3352
  r[n] = arguments[n];
3316
- return new ((t = Intl.NumberFormat).bind.apply(t, Z([void 0], r, !1)))();
3353
+ return new ((t = Intl.NumberFormat).bind.apply(t, Q([void 0], r, !1)))();
3317
3354
  }, {
3318
- cache: $e(e.number),
3319
- strategy: Me.variadic
3355
+ cache: Ue(e.number),
3356
+ strategy: $e.variadic
3320
3357
  }),
3321
- getDateTimeFormat: Ne(function() {
3358
+ getDateTimeFormat: Re(function() {
3322
3359
  for (var t, r = [], n = 0; n < arguments.length; n++)
3323
3360
  r[n] = arguments[n];
3324
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Z([void 0], r, !1)))();
3361
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Q([void 0], r, !1)))();
3325
3362
  }, {
3326
- cache: $e(e.dateTime),
3327
- strategy: Me.variadic
3363
+ cache: Ue(e.dateTime),
3364
+ strategy: $e.variadic
3328
3365
  }),
3329
- getPluralRules: Ne(function() {
3366
+ getPluralRules: Re(function() {
3330
3367
  for (var t, r = [], n = 0; n < arguments.length; n++)
3331
3368
  r[n] = arguments[n];
3332
- return new ((t = Intl.PluralRules).bind.apply(t, Z([void 0], r, !1)))();
3369
+ return new ((t = Intl.PluralRules).bind.apply(t, Q([void 0], r, !1)))();
3333
3370
  }, {
3334
- cache: $e(e.pluralRules),
3335
- strategy: Me.variadic
3371
+ cache: Ue(e.pluralRules),
3372
+ strategy: $e.variadic
3336
3373
  })
3337
3374
  };
3338
3375
  }
3339
- var bi = (
3376
+ var Ai = (
3340
3377
  /** @class */
3341
3378
  function() {
3342
3379
  function e(t, r, n, i) {
@@ -3346,20 +3383,20 @@ var bi = (
3346
3383
  number: {},
3347
3384
  dateTime: {},
3348
3385
  pluralRules: {}
3349
- }, this.format = function(l) {
3350
- var h = o.formatToParts(l);
3351
- if (h.length === 1)
3352
- return h[0].value;
3353
- var u = h.reduce(function(c, f) {
3354
- return !c.length || f.type !== A.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3386
+ }, this.format = function(u) {
3387
+ var l = o.formatToParts(u);
3388
+ if (l.length === 1)
3389
+ return l[0].value;
3390
+ var h = l.reduce(function(c, f) {
3391
+ return !c.length || f.type !== O.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3355
3392
  }, []);
3356
- return u.length <= 1 ? u[0] || "" : u;
3357
- }, this.formatToParts = function(l) {
3358
- return ge(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
3393
+ return h.length <= 1 ? h[0] || "" : h;
3394
+ }, this.formatToParts = function(u) {
3395
+ return ye(o.ast, o.locales, o.formatters, o.formats, u, void 0, o.message);
3359
3396
  }, this.resolvedOptions = function() {
3360
- var l;
3397
+ var u;
3361
3398
  return {
3362
- locale: ((l = o.resolvedLocale) === null || l === void 0 ? void 0 : l.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
3399
+ locale: ((u = o.resolvedLocale) === null || u === void 0 ? void 0 : u.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
3363
3400
  };
3364
3401
  }, this.getAst = function() {
3365
3402
  return o.ast;
@@ -3368,13 +3405,13 @@ var bi = (
3368
3405
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3369
3406
  var s = i || {};
3370
3407
  s.formatters;
3371
- var a = Tn(s, ["formatters"]);
3372
- this.ast = e.__parse(t, x(x({}, a), { locale: this.resolvedLocale }));
3408
+ var a = Un(s, ["formatters"]);
3409
+ this.ast = e.__parse(t, _(_({}, a), { locale: this.resolvedLocale }));
3373
3410
  } else
3374
3411
  this.ast = t;
3375
3412
  if (!Array.isArray(this.ast))
3376
3413
  throw new TypeError("A message must be provided as a String or AST.");
3377
- this.formats = pi(e.formats, n), this.formatters = i && i.formatters || mi(this.formatterCache);
3414
+ this.formats = Pi(e.formats, n), this.formatters = i && i.formatters || Bi(this.formatterCache);
3378
3415
  }
3379
3416
  return Object.defineProperty(e, "defaultLocale", {
3380
3417
  get: function() {
@@ -3383,11 +3420,11 @@ var bi = (
3383
3420
  enumerable: !1,
3384
3421
  configurable: !0
3385
3422
  }), e.memoizedDefaultLocale = null, e.resolveLocale = function(t) {
3386
- if (!(typeof Intl.Locale > "u")) {
3423
+ if (typeof Intl.Locale != "undefined") {
3387
3424
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3388
3425
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3389
3426
  }
3390
- }, e.__parse = ui, e.formats = {
3427
+ }, e.__parse = Ei, e.formats = {
3391
3428
  number: {
3392
3429
  integer: {
3393
3430
  maximumFractionDigits: 0
@@ -3448,7 +3485,7 @@ var bi = (
3448
3485
  }, e;
3449
3486
  }()
3450
3487
  );
3451
- function gi(e, t) {
3488
+ function Oi(e, t) {
3452
3489
  if (t == null)
3453
3490
  return;
3454
3491
  if (t in e)
@@ -3469,92 +3506,92 @@ function gi(e, t) {
3469
3506
  n = void 0;
3470
3507
  return n;
3471
3508
  }
3472
- const D = {}, yi = (e, t, r) => r && (t in D || (D[t] = {}), e in D[t] || (D[t][e] = r), r), lr = (e, t) => {
3509
+ const F = {}, Ii = (e, t, r) => r && (t in F || (F[t] = {}), e in F[t] || (F[t][e] = r), r), yr = (e, t) => {
3473
3510
  if (t == null)
3474
3511
  return;
3475
- if (t in D && e in D[t])
3476
- return D[t][e];
3477
- const r = Be(t);
3512
+ if (t in F && e in F[t])
3513
+ return F[t][e];
3514
+ const r = Ae(t);
3478
3515
  for (let n = 0; n < r.length; n++) {
3479
- const i = r[n], o = _i(i, e);
3516
+ const i = r[n], o = Ni(i, e);
3480
3517
  if (o)
3481
- return yi(e, t, o);
3518
+ return Ii(e, t, o);
3482
3519
  }
3483
3520
  };
3484
- let nt;
3485
- const ce = Ce({});
3486
- function vi(e) {
3487
- return nt[e] || null;
3521
+ let ot;
3522
+ const fe = Pe({});
3523
+ function Li(e) {
3524
+ return ot[e] || null;
3488
3525
  }
3489
- function hr(e) {
3490
- return e in nt;
3526
+ function vr(e) {
3527
+ return e in ot;
3491
3528
  }
3492
- function _i(e, t) {
3493
- if (!hr(e))
3529
+ function Ni(e, t) {
3530
+ if (!vr(e))
3494
3531
  return null;
3495
- const r = vi(e);
3496
- return gi(r, t);
3532
+ const r = Li(e);
3533
+ return Oi(r, t);
3497
3534
  }
3498
- function xi(e) {
3535
+ function Mi(e) {
3499
3536
  if (e == null)
3500
3537
  return;
3501
- const t = Be(e);
3538
+ const t = Ae(e);
3502
3539
  for (let r = 0; r < t.length; r++) {
3503
3540
  const n = t[r];
3504
- if (hr(n))
3541
+ if (vr(n))
3505
3542
  return n;
3506
3543
  }
3507
3544
  }
3508
- function cr(e, ...t) {
3509
- delete D[e], ce.update((r) => (r[e] = wn.all([r[e] || {}, ...t]), r));
3545
+ function _r(e, ...t) {
3546
+ delete F[e], fe.update((r) => (r[e] = Gn.all([r[e] || {}, ...t]), r));
3510
3547
  }
3511
- te(
3512
- [ce],
3548
+ re(
3549
+ [fe],
3513
3550
  ([e]) => Object.keys(e)
3514
3551
  );
3515
- ce.subscribe((e) => nt = e);
3516
- const ye = {};
3517
- function Ei(e, t) {
3518
- ye[e].delete(t), ye[e].size === 0 && delete ye[e];
3552
+ fe.subscribe((e) => ot = e);
3553
+ const ve = {};
3554
+ function Ri(e, t) {
3555
+ ve[e].delete(t), ve[e].size === 0 && delete ve[e];
3519
3556
  }
3520
- function fr(e) {
3521
- return ye[e];
3557
+ function xr(e) {
3558
+ return ve[e];
3522
3559
  }
3523
- function Si(e) {
3524
- return Be(e).map((t) => {
3525
- const r = fr(t);
3560
+ function $i(e) {
3561
+ return Ae(e).map((t) => {
3562
+ const r = xr(t);
3526
3563
  return [t, r ? [...r] : []];
3527
3564
  }).filter(([, t]) => t.length > 0);
3528
3565
  }
3529
- function Je(e) {
3530
- return e == null ? !1 : Be(e).some(
3566
+ function qe(e) {
3567
+ return e == null ? !1 : Ae(e).some(
3531
3568
  (t) => {
3532
3569
  var r;
3533
- return (r = fr(t)) == null ? void 0 : r.size;
3570
+ return (r = xr(t)) == null ? void 0 : r.size;
3534
3571
  }
3535
3572
  );
3536
3573
  }
3537
- function wi(e, t) {
3574
+ function Gi(e, t) {
3538
3575
  return Promise.all(
3539
- t.map((n) => (Ei(e, n), n().then((i) => i.default || i)))
3540
- ).then((n) => cr(e, ...n));
3541
- }
3542
- const se = {};
3543
- function dr(e) {
3544
- if (!Je(e))
3545
- return e in se ? se[e] : Promise.resolve();
3546
- const t = Si(e);
3547
- return se[e] = Promise.all(
3576
+ t.map((n) => (Ri(e, n), n().then((i) => i.default || i)))
3577
+ ).then((n) => _r(e, ...n));
3578
+ }
3579
+ const ae = {};
3580
+ function Er(e) {
3581
+ if (!qe(e))
3582
+ return e in ae ? ae[e] : Promise.resolve();
3583
+ const t = $i(e);
3584
+ return ae[e] = Promise.all(
3548
3585
  t.map(
3549
- ([r, n]) => wi(r, n)
3586
+ ([r, n]) => Gi(r, n)
3550
3587
  )
3551
3588
  ).then(() => {
3552
- if (Je(e))
3553
- return dr(e);
3554
- delete se[e];
3555
- }), se[e];
3589
+ if (qe(e))
3590
+ return Er(e);
3591
+ delete ae[e];
3592
+ }), ae[e];
3556
3593
  }
3557
- const Ti = {
3594
+ const Ui = {
3558
3595
  number: {
3559
3596
  scientific: { notation: "scientific" },
3560
3597
  engineering: { notation: "engineering" },
@@ -3583,159 +3620,159 @@ const Ti = {
3583
3620
  timeZoneName: "short"
3584
3621
  }
3585
3622
  }
3586
- }, Hi = {
3623
+ }, Di = {
3587
3624
  fallbackLocale: null,
3588
3625
  loadingDelay: 200,
3589
- formats: Ti,
3626
+ formats: Ui,
3590
3627
  warnOnMissingMessages: !0,
3591
3628
  handleMissingMessage: void 0,
3592
3629
  ignoreTag: !0
3593
- }, Ci = Hi;
3594
- function K() {
3595
- return Ci;
3630
+ }, Fi = Di;
3631
+ function ee() {
3632
+ return Fi;
3596
3633
  }
3597
- const Ge = Ce(!1);
3598
- var Pi = Object.defineProperty, Bi = Object.defineProperties, Ai = Object.getOwnPropertyDescriptors, Et = Object.getOwnPropertySymbols, Oi = Object.prototype.hasOwnProperty, Ii = Object.prototype.propertyIsEnumerable, St = (e, t, r) => t in e ? Pi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Li = (e, t) => {
3634
+ const De = Pe(!1);
3635
+ var ji = Object.defineProperty, ki = Object.defineProperties, Vi = Object.getOwnPropertyDescriptors, Ot = Object.getOwnPropertySymbols, Xi = Object.prototype.hasOwnProperty, Wi = Object.prototype.propertyIsEnumerable, It = (e, t, r) => t in e ? ji(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, zi = (e, t) => {
3599
3636
  for (var r in t)
3600
- Oi.call(t, r) && St(e, r, t[r]);
3601
- if (Et)
3602
- for (var r of Et(t))
3603
- Ii.call(t, r) && St(e, r, t[r]);
3637
+ Xi.call(t, r) && It(e, r, t[r]);
3638
+ if (Ot)
3639
+ for (var r of Ot(t))
3640
+ Wi.call(t, r) && It(e, r, t[r]);
3604
3641
  return e;
3605
- }, Ni = (e, t) => Bi(e, Ai(t));
3606
- let Ye;
3607
- const we = Ce(null);
3608
- function wt(e) {
3642
+ }, Zi = (e, t) => ki(e, Vi(t));
3643
+ let Ke;
3644
+ const Te = Pe(null);
3645
+ function Lt(e) {
3609
3646
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3610
3647
  }
3611
- function Be(e, t = K().fallbackLocale) {
3612
- const r = wt(e);
3613
- return t ? [.../* @__PURE__ */ new Set([...r, ...wt(t)])] : r;
3648
+ function Ae(e, t = ee().fallbackLocale) {
3649
+ const r = Lt(e);
3650
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Lt(t)])] : r;
3614
3651
  }
3615
3652
  function k() {
3616
- return Ye ?? void 0;
3653
+ return Ke != null ? Ke : void 0;
3617
3654
  }
3618
- we.subscribe((e) => {
3619
- Ye = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3655
+ Te.subscribe((e) => {
3656
+ Ke = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3620
3657
  });
3621
- const Mi = (e) => {
3622
- if (e && xi(e) && Je(e)) {
3623
- const { loadingDelay: t } = K();
3658
+ const Qi = (e) => {
3659
+ if (e && Mi(e) && qe(e)) {
3660
+ const { loadingDelay: t } = ee();
3624
3661
  let r;
3625
- return typeof window < "u" && k() != null && t ? r = window.setTimeout(
3626
- () => Ge.set(!0),
3662
+ return typeof window != "undefined" && k() != null && t ? r = window.setTimeout(
3663
+ () => De.set(!0),
3627
3664
  t
3628
- ) : Ge.set(!0), dr(e).then(() => {
3629
- we.set(e);
3665
+ ) : De.set(!0), Er(e).then(() => {
3666
+ Te.set(e);
3630
3667
  }).finally(() => {
3631
- clearTimeout(r), Ge.set(!1);
3668
+ clearTimeout(r), De.set(!1);
3632
3669
  });
3633
3670
  }
3634
- return we.set(e);
3635
- }, re = Ni(Li({}, we), {
3636
- set: Mi
3637
- }), Ae = (e) => {
3671
+ return Te.set(e);
3672
+ }, ne = Zi(zi({}, Te), {
3673
+ set: Qi
3674
+ }), Oe = (e) => {
3638
3675
  const t = /* @__PURE__ */ Object.create(null);
3639
3676
  return (n) => {
3640
3677
  const i = JSON.stringify(n);
3641
3678
  return i in t ? t[i] : t[i] = e(n);
3642
3679
  };
3643
3680
  };
3644
- var Ri = Object.defineProperty, Te = Object.getOwnPropertySymbols, pr = Object.prototype.hasOwnProperty, mr = Object.prototype.propertyIsEnumerable, Tt = (e, t, r) => t in e ? Ri(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, it = (e, t) => {
3681
+ var Ji = Object.defineProperty, He = Object.getOwnPropertySymbols, Sr = Object.prototype.hasOwnProperty, wr = Object.prototype.propertyIsEnumerable, Nt = (e, t, r) => t in e ? Ji(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, st = (e, t) => {
3645
3682
  for (var r in t || (t = {}))
3646
- pr.call(t, r) && Tt(e, r, t[r]);
3647
- if (Te)
3648
- for (var r of Te(t))
3649
- mr.call(t, r) && Tt(e, r, t[r]);
3683
+ Sr.call(t, r) && Nt(e, r, t[r]);
3684
+ if (He)
3685
+ for (var r of He(t))
3686
+ wr.call(t, r) && Nt(e, r, t[r]);
3650
3687
  return e;
3651
- }, ne = (e, t) => {
3688
+ }, ie = (e, t) => {
3652
3689
  var r = {};
3653
3690
  for (var n in e)
3654
- pr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3655
- if (e != null && Te)
3656
- for (var n of Te(e))
3657
- t.indexOf(n) < 0 && mr.call(e, n) && (r[n] = e[n]);
3691
+ Sr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3692
+ if (e != null && He)
3693
+ for (var n of He(e))
3694
+ t.indexOf(n) < 0 && wr.call(e, n) && (r[n] = e[n]);
3658
3695
  return r;
3659
3696
  };
3660
- const he = (e, t) => {
3661
- const { formats: r } = K();
3697
+ const ce = (e, t) => {
3698
+ const { formats: r } = ee();
3662
3699
  if (e in r && t in r[e])
3663
3700
  return r[e][t];
3664
3701
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3665
- }, $i = Ae(
3702
+ }, Yi = Oe(
3666
3703
  (e) => {
3667
- var t = e, { locale: r, format: n } = t, i = ne(t, ["locale", "format"]);
3704
+ var t = e, { locale: r, format: n } = t, i = ie(t, ["locale", "format"]);
3668
3705
  if (r == null)
3669
3706
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3670
- return n && (i = he("number", n)), new Intl.NumberFormat(r, i);
3707
+ return n && (i = ce("number", n)), new Intl.NumberFormat(r, i);
3671
3708
  }
3672
- ), Gi = Ae(
3709
+ ), qi = Oe(
3673
3710
  (e) => {
3674
- var t = e, { locale: r, format: n } = t, i = ne(t, ["locale", "format"]);
3711
+ var t = e, { locale: r, format: n } = t, i = ie(t, ["locale", "format"]);
3675
3712
  if (r == null)
3676
3713
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3677
- return n ? i = he("date", n) : Object.keys(i).length === 0 && (i = he("date", "short")), new Intl.DateTimeFormat(r, i);
3714
+ return n ? i = ce("date", n) : Object.keys(i).length === 0 && (i = ce("date", "short")), new Intl.DateTimeFormat(r, i);
3678
3715
  }
3679
- ), Ui = Ae(
3716
+ ), Ki = Oe(
3680
3717
  (e) => {
3681
- var t = e, { locale: r, format: n } = t, i = ne(t, ["locale", "format"]);
3718
+ var t = e, { locale: r, format: n } = t, i = ie(t, ["locale", "format"]);
3682
3719
  if (r == null)
3683
3720
  throw new Error(
3684
3721
  '[svelte-i18n] A "locale" must be set to format time values'
3685
3722
  );
3686
- return n ? i = he("time", n) : Object.keys(i).length === 0 && (i = he("time", "short")), new Intl.DateTimeFormat(r, i);
3723
+ return n ? i = ce("time", n) : Object.keys(i).length === 0 && (i = ce("time", "short")), new Intl.DateTimeFormat(r, i);
3687
3724
  }
3688
- ), Di = (e = {}) => {
3725
+ ), eo = (e = {}) => {
3689
3726
  var t = e, {
3690
3727
  locale: r = k()
3691
- } = t, n = ne(t, [
3728
+ } = t, n = ie(t, [
3692
3729
  "locale"
3693
3730
  ]);
3694
- return $i(it({ locale: r }, n));
3695
- }, Fi = (e = {}) => {
3731
+ return Yi(st({ locale: r }, n));
3732
+ }, to = (e = {}) => {
3696
3733
  var t = e, {
3697
3734
  locale: r = k()
3698
- } = t, n = ne(t, [
3735
+ } = t, n = ie(t, [
3699
3736
  "locale"
3700
3737
  ]);
3701
- return Gi(it({ locale: r }, n));
3702
- }, ki = (e = {}) => {
3738
+ return qi(st({ locale: r }, n));
3739
+ }, ro = (e = {}) => {
3703
3740
  var t = e, {
3704
3741
  locale: r = k()
3705
- } = t, n = ne(t, [
3742
+ } = t, n = ie(t, [
3706
3743
  "locale"
3707
3744
  ]);
3708
- return Ui(it({ locale: r }, n));
3709
- }, ji = Ae(
3745
+ return Ki(st({ locale: r }, n));
3746
+ }, no = Oe(
3710
3747
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3711
- (e, t = k()) => new bi(e, t, K().formats, {
3712
- ignoreTag: K().ignoreTag
3748
+ (e, t = k()) => new Ai(e, t, ee().formats, {
3749
+ ignoreTag: ee().ignoreTag
3713
3750
  })
3714
- ), Vi = (e, t = {}) => {
3751
+ ), io = (e, t = {}) => {
3715
3752
  var r, n, i, o;
3716
3753
  let s = t;
3717
3754
  typeof e == "object" && (s = e, e = s.id);
3718
3755
  const {
3719
3756
  values: a,
3720
- locale: l = k(),
3721
- default: h
3757
+ locale: u = k(),
3758
+ default: l
3722
3759
  } = s;
3723
- if (l == null)
3760
+ if (u == null)
3724
3761
  throw new Error(
3725
3762
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3726
3763
  );
3727
- let u = lr(e, l);
3728
- if (!u)
3729
- u = (o = (i = (n = (r = K()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: h })) != null ? i : h) != null ? o : e;
3730
- else if (typeof u != "string")
3764
+ let h = yr(e, u);
3765
+ if (!h)
3766
+ h = (o = (i = (n = (r = ee()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
3767
+ else if (typeof h != "string")
3731
3768
  return console.warn(
3732
- `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof u}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
3733
- ), u;
3769
+ `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
3770
+ ), h;
3734
3771
  if (!a)
3735
- return u;
3736
- let c = u;
3772
+ return h;
3773
+ let c = h;
3737
3774
  try {
3738
- c = ji(u, l).format(a);
3775
+ c = no(h, u).format(a);
3739
3776
  } catch (f) {
3740
3777
  f instanceof Error && console.warn(
3741
3778
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3743,18 +3780,18 @@ const he = (e, t) => {
3743
3780
  );
3744
3781
  }
3745
3782
  return c;
3746
- }, Xi = (e, t) => ki(t).format(e), Wi = (e, t) => Fi(t).format(e), zi = (e, t) => Di(t).format(e), Zi = (e, t = k()) => lr(e, t), Qi = te([re, ce], () => Vi);
3747
- te([re], () => Xi);
3748
- te([re], () => Wi);
3749
- te([re], () => zi);
3750
- te([re, ce], () => Zi);
3751
- function Ht(e, t) {
3752
- cr(e, t);
3753
- }
3754
- function Ji(e) {
3755
- re.set(e);
3756
- }
3757
- const Ct = {
3783
+ }, oo = (e, t) => ro(t).format(e), so = (e, t) => to(t).format(e), ao = (e, t) => eo(t).format(e), uo = (e, t = k()) => yr(e, t), lo = re([ne, fe], () => io);
3784
+ re([ne], () => oo);
3785
+ re([ne], () => so);
3786
+ re([ne], () => ao);
3787
+ re([ne, fe], () => uo);
3788
+ function Mt(e, t) {
3789
+ _r(e, t);
3790
+ }
3791
+ function ho(e) {
3792
+ ne.set(e);
3793
+ }
3794
+ const Rt = {
3758
3795
  en: {
3759
3796
  collections: "Game Collections",
3760
3797
  providers: "Game Providers",
@@ -3851,16 +3888,16 @@ const Ct = {
3851
3888
  loading: "Loading, please wait ..."
3852
3889
  }
3853
3890
  };
3854
- function G(e) {
3891
+ function U(e) {
3855
3892
  return typeof e == "function";
3856
3893
  }
3857
- function br(e) {
3894
+ function Tr(e) {
3858
3895
  var t = function(n) {
3859
3896
  Error.call(n), n.stack = new Error().stack;
3860
3897
  }, r = e(t);
3861
3898
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
3862
3899
  }
3863
- var Ue = br(function(e) {
3900
+ var Fe = Tr(function(e) {
3864
3901
  return function(r) {
3865
3902
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
3866
3903
  ` + r.map(function(n, i) {
@@ -3869,13 +3906,13 @@ var Ue = br(function(e) {
3869
3906
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
3870
3907
  };
3871
3908
  });
3872
- function qe(e, t) {
3909
+ function et(e, t) {
3873
3910
  if (e) {
3874
3911
  var r = e.indexOf(t);
3875
3912
  0 <= r && e.splice(r, 1);
3876
3913
  }
3877
3914
  }
3878
- var Oe = function() {
3915
+ var Ie = function() {
3879
3916
  function e(t) {
3880
3917
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
3881
3918
  }
@@ -3887,58 +3924,58 @@ var Oe = function() {
3887
3924
  if (s)
3888
3925
  if (this._parentage = null, Array.isArray(s))
3889
3926
  try {
3890
- for (var a = ke(s), l = a.next(); !l.done; l = a.next()) {
3891
- var h = l.value;
3892
- h.remove(this);
3927
+ for (var a = Ve(s), u = a.next(); !u.done; u = a.next()) {
3928
+ var l = u.value;
3929
+ l.remove(this);
3893
3930
  }
3894
3931
  } catch (g) {
3895
3932
  t = { error: g };
3896
3933
  } finally {
3897
3934
  try {
3898
- l && !l.done && (r = a.return) && r.call(a);
3935
+ u && !u.done && (r = a.return) && r.call(a);
3899
3936
  } finally {
3900
3937
  if (t) throw t.error;
3901
3938
  }
3902
3939
  }
3903
3940
  else
3904
3941
  s.remove(this);
3905
- var u = this.initialTeardown;
3906
- if (G(u))
3942
+ var h = this.initialTeardown;
3943
+ if (U(h))
3907
3944
  try {
3908
- u();
3945
+ h();
3909
3946
  } catch (g) {
3910
- o = g instanceof Ue ? g.errors : [g];
3947
+ o = g instanceof Fe ? g.errors : [g];
3911
3948
  }
3912
3949
  var c = this._finalizers;
3913
3950
  if (c) {
3914
3951
  this._finalizers = null;
3915
3952
  try {
3916
- for (var f = ke(c), m = f.next(); !m.done; m = f.next()) {
3917
- var d = m.value;
3953
+ for (var f = Ve(c), p = f.next(); !p.done; p = f.next()) {
3954
+ var d = p.value;
3918
3955
  try {
3919
- Pt(d);
3956
+ $t(d);
3920
3957
  } catch (g) {
3921
- o = o ?? [], g instanceof Ue ? o = Z(Z([], je(o)), je(g.errors)) : o.push(g);
3958
+ o = o != null ? o : [], g instanceof Fe ? o = Q(Q([], Xe(o)), Xe(g.errors)) : o.push(g);
3922
3959
  }
3923
3960
  }
3924
3961
  } catch (g) {
3925
3962
  n = { error: g };
3926
3963
  } finally {
3927
3964
  try {
3928
- m && !m.done && (i = f.return) && i.call(f);
3965
+ p && !p.done && (i = f.return) && i.call(f);
3929
3966
  } finally {
3930
3967
  if (n) throw n.error;
3931
3968
  }
3932
3969
  }
3933
3970
  }
3934
3971
  if (o)
3935
- throw new Ue(o);
3972
+ throw new Fe(o);
3936
3973
  }
3937
3974
  }, e.prototype.add = function(t) {
3938
3975
  var r;
3939
3976
  if (t && t !== this)
3940
3977
  if (this.closed)
3941
- Pt(t);
3978
+ $t(t);
3942
3979
  else {
3943
3980
  if (t instanceof e) {
3944
3981
  if (t.closed || t._hasParent(this))
@@ -3955,56 +3992,56 @@ var Oe = function() {
3955
3992
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
3956
3993
  }, e.prototype._removeParent = function(t) {
3957
3994
  var r = this._parentage;
3958
- r === t ? this._parentage = null : Array.isArray(r) && qe(r, t);
3995
+ r === t ? this._parentage = null : Array.isArray(r) && et(r, t);
3959
3996
  }, e.prototype.remove = function(t) {
3960
3997
  var r = this._finalizers;
3961
- r && qe(r, t), t instanceof e && t._removeParent(this);
3998
+ r && et(r, t), t instanceof e && t._removeParent(this);
3962
3999
  }, e.EMPTY = function() {
3963
4000
  var t = new e();
3964
4001
  return t.closed = !0, t;
3965
4002
  }(), e;
3966
- }(), gr = Oe.EMPTY;
3967
- function yr(e) {
3968
- return e instanceof Oe || e && "closed" in e && G(e.remove) && G(e.add) && G(e.unsubscribe);
4003
+ }(), Hr = Ie.EMPTY;
4004
+ function Cr(e) {
4005
+ return e instanceof Ie || e && "closed" in e && U(e.remove) && U(e.add) && U(e.unsubscribe);
3969
4006
  }
3970
- function Pt(e) {
3971
- G(e) ? e() : e.unsubscribe();
4007
+ function $t(e) {
4008
+ U(e) ? e() : e.unsubscribe();
3972
4009
  }
3973
- var Yi = {
4010
+ var co = {
3974
4011
  onUnhandledError: null,
3975
4012
  onStoppedNotification: null,
3976
4013
  Promise: void 0,
3977
4014
  useDeprecatedSynchronousErrorHandling: !1,
3978
4015
  useDeprecatedNextContext: !1
3979
- }, qi = {
4016
+ }, fo = {
3980
4017
  setTimeout: function(e, t) {
3981
4018
  for (var r = [], n = 2; n < arguments.length; n++)
3982
4019
  r[n - 2] = arguments[n];
3983
- return setTimeout.apply(void 0, Z([e, t], je(r)));
4020
+ return setTimeout.apply(void 0, Q([e, t], Xe(r)));
3984
4021
  },
3985
4022
  clearTimeout: function(e) {
3986
4023
  return clearTimeout(e);
3987
4024
  },
3988
4025
  delegate: void 0
3989
4026
  };
3990
- function Ki(e) {
3991
- qi.setTimeout(function() {
4027
+ function po(e) {
4028
+ fo.setTimeout(function() {
3992
4029
  throw e;
3993
4030
  });
3994
4031
  }
3995
- function Bt() {
4032
+ function Gt() {
3996
4033
  }
3997
- function ve(e) {
4034
+ function _e(e) {
3998
4035
  e();
3999
4036
  }
4000
- var vr = function(e) {
4001
- U(t, e);
4037
+ var Pr = function(e) {
4038
+ D(t, e);
4002
4039
  function t(r) {
4003
4040
  var n = e.call(this) || this;
4004
- return n.isStopped = !1, r ? (n.destination = r, yr(r) && r.add(n)) : n.destination = ro, n;
4041
+ return n.isStopped = !1, r ? (n.destination = r, Cr(r) && r.add(n)) : n.destination = go, n;
4005
4042
  }
4006
4043
  return t.create = function(r, n, i) {
4007
- return new Ke(r, n, i);
4044
+ return new tt(r, n, i);
4008
4045
  }, t.prototype.next = function(r) {
4009
4046
  this.isStopped || this._next(r);
4010
4047
  }, t.prototype.error = function(r) {
@@ -4028,7 +4065,7 @@ var vr = function(e) {
4028
4065
  this.unsubscribe();
4029
4066
  }
4030
4067
  }, t;
4031
- }(Oe), eo = function() {
4068
+ }(Ie), mo = function() {
4032
4069
  function e(t) {
4033
4070
  this.partialObserver = t;
4034
4071
  }
@@ -4038,7 +4075,7 @@ var vr = function(e) {
4038
4075
  try {
4039
4076
  r.next(t);
4040
4077
  } catch (n) {
4041
- me(n);
4078
+ be(n);
4042
4079
  }
4043
4080
  }, e.prototype.error = function(t) {
4044
4081
  var r = this.partialObserver;
@@ -4046,56 +4083,56 @@ var vr = function(e) {
4046
4083
  try {
4047
4084
  r.error(t);
4048
4085
  } catch (n) {
4049
- me(n);
4086
+ be(n);
4050
4087
  }
4051
4088
  else
4052
- me(t);
4089
+ be(t);
4053
4090
  }, e.prototype.complete = function() {
4054
4091
  var t = this.partialObserver;
4055
4092
  if (t.complete)
4056
4093
  try {
4057
4094
  t.complete();
4058
4095
  } catch (r) {
4059
- me(r);
4096
+ be(r);
4060
4097
  }
4061
4098
  }, e;
4062
- }(), Ke = function(e) {
4063
- U(t, e);
4099
+ }(), tt = function(e) {
4100
+ D(t, e);
4064
4101
  function t(r, n, i) {
4065
4102
  var o = e.call(this) || this, s;
4066
- return G(r) || !r ? s = {
4067
- next: r ?? void 0,
4068
- error: n ?? void 0,
4069
- complete: i ?? void 0
4070
- } : s = r, o.destination = new eo(s), o;
4103
+ return U(r) || !r ? s = {
4104
+ next: r != null ? r : void 0,
4105
+ error: n != null ? n : void 0,
4106
+ complete: i != null ? i : void 0
4107
+ } : s = r, o.destination = new mo(s), o;
4071
4108
  }
4072
4109
  return t;
4073
- }(vr);
4074
- function me(e) {
4075
- Ki(e);
4110
+ }(Pr);
4111
+ function be(e) {
4112
+ po(e);
4076
4113
  }
4077
- function to(e) {
4114
+ function bo(e) {
4078
4115
  throw e;
4079
4116
  }
4080
- var ro = {
4117
+ var go = {
4081
4118
  closed: !0,
4082
- next: Bt,
4083
- error: to,
4084
- complete: Bt
4085
- }, no = function() {
4119
+ next: Gt,
4120
+ error: bo,
4121
+ complete: Gt
4122
+ }, yo = function() {
4086
4123
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
4087
4124
  }();
4088
- function io(e) {
4125
+ function vo(e) {
4089
4126
  return e;
4090
4127
  }
4091
- function oo(e) {
4092
- return e.length === 0 ? io : e.length === 1 ? e[0] : function(r) {
4128
+ function _o(e) {
4129
+ return e.length === 0 ? vo : e.length === 1 ? e[0] : function(r) {
4093
4130
  return e.reduce(function(n, i) {
4094
4131
  return i(n);
4095
4132
  }, r);
4096
4133
  };
4097
4134
  }
4098
- var At = function() {
4135
+ var Ut = function() {
4099
4136
  function e(t) {
4100
4137
  t && (this._subscribe = t);
4101
4138
  }
@@ -4103,10 +4140,10 @@ var At = function() {
4103
4140
  var r = new e();
4104
4141
  return r.source = this, r.operator = t, r;
4105
4142
  }, e.prototype.subscribe = function(t, r, n) {
4106
- var i = this, o = ao(t) ? t : new Ke(t, r, n);
4107
- return ve(function() {
4108
- var s = i, a = s.operator, l = s.source;
4109
- o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
4143
+ var i = this, o = Eo(t) ? t : new tt(t, r, n);
4144
+ return _e(function() {
4145
+ var s = i, a = s.operator, u = s.source;
4146
+ o.add(a ? a.call(o, u) : u ? i._subscribe(o) : i._trySubscribe(o));
4110
4147
  }), o;
4111
4148
  }, e.prototype._trySubscribe = function(t) {
4112
4149
  try {
@@ -4116,13 +4153,13 @@ var At = function() {
4116
4153
  }
4117
4154
  }, e.prototype.forEach = function(t, r) {
4118
4155
  var n = this;
4119
- return r = Ot(r), new r(function(i, o) {
4120
- var s = new Ke({
4156
+ return r = Dt(r), new r(function(i, o) {
4157
+ var s = new tt({
4121
4158
  next: function(a) {
4122
4159
  try {
4123
4160
  t(a);
4124
- } catch (l) {
4125
- o(l), s.unsubscribe();
4161
+ } catch (u) {
4162
+ o(u), s.unsubscribe();
4126
4163
  }
4127
4164
  },
4128
4165
  error: o,
@@ -4133,15 +4170,15 @@ var At = function() {
4133
4170
  }, e.prototype._subscribe = function(t) {
4134
4171
  var r;
4135
4172
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
4136
- }, e.prototype[no] = function() {
4173
+ }, e.prototype[yo] = function() {
4137
4174
  return this;
4138
4175
  }, e.prototype.pipe = function() {
4139
4176
  for (var t = [], r = 0; r < arguments.length; r++)
4140
4177
  t[r] = arguments[r];
4141
- return oo(t)(this);
4178
+ return _o(t)(this);
4142
4179
  }, e.prototype.toPromise = function(t) {
4143
4180
  var r = this;
4144
- return t = Ot(t), new t(function(n, i) {
4181
+ return t = Dt(t), new t(function(n, i) {
4145
4182
  var o;
4146
4183
  r.subscribe(function(s) {
4147
4184
  return o = s;
@@ -4155,45 +4192,45 @@ var At = function() {
4155
4192
  return new e(t);
4156
4193
  }, e;
4157
4194
  }();
4158
- function Ot(e) {
4195
+ function Dt(e) {
4159
4196
  var t;
4160
- return (t = e ?? Yi.Promise) !== null && t !== void 0 ? t : Promise;
4197
+ return (t = e != null ? e : co.Promise) !== null && t !== void 0 ? t : Promise;
4161
4198
  }
4162
- function so(e) {
4163
- return e && G(e.next) && G(e.error) && G(e.complete);
4199
+ function xo(e) {
4200
+ return e && U(e.next) && U(e.error) && U(e.complete);
4164
4201
  }
4165
- function ao(e) {
4166
- return e && e instanceof vr || so(e) && yr(e);
4202
+ function Eo(e) {
4203
+ return e && e instanceof Pr || xo(e) && Cr(e);
4167
4204
  }
4168
- var uo = br(function(e) {
4205
+ var So = Tr(function(e) {
4169
4206
  return function() {
4170
4207
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
4171
4208
  };
4172
- }), _r = function(e) {
4173
- U(t, e);
4209
+ }), Br = function(e) {
4210
+ D(t, e);
4174
4211
  function t() {
4175
4212
  var r = e.call(this) || this;
4176
4213
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
4177
4214
  }
4178
4215
  return t.prototype.lift = function(r) {
4179
- var n = new It(this, this);
4216
+ var n = new Ft(this, this);
4180
4217
  return n.operator = r, n;
4181
4218
  }, t.prototype._throwIfClosed = function() {
4182
4219
  if (this.closed)
4183
- throw new uo();
4220
+ throw new So();
4184
4221
  }, t.prototype.next = function(r) {
4185
4222
  var n = this;
4186
- ve(function() {
4223
+ _e(function() {
4187
4224
  var i, o;
4188
4225
  if (n._throwIfClosed(), !n.isStopped) {
4189
4226
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
4190
4227
  try {
4191
- for (var s = ke(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
4192
- var l = a.value;
4193
- l.next(r);
4228
+ for (var s = Ve(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
4229
+ var u = a.value;
4230
+ u.next(r);
4194
4231
  }
4195
- } catch (h) {
4196
- i = { error: h };
4232
+ } catch (l) {
4233
+ i = { error: l };
4197
4234
  } finally {
4198
4235
  try {
4199
4236
  a && !a.done && (o = s.return) && o.call(s);
@@ -4205,7 +4242,7 @@ var uo = br(function(e) {
4205
4242
  });
4206
4243
  }, t.prototype.error = function(r) {
4207
4244
  var n = this;
4208
- ve(function() {
4245
+ _e(function() {
4209
4246
  if (n._throwIfClosed(), !n.isStopped) {
4210
4247
  n.hasError = n.isStopped = !0, n.thrownError = r;
4211
4248
  for (var i = n.observers; i.length; )
@@ -4214,7 +4251,7 @@ var uo = br(function(e) {
4214
4251
  });
4215
4252
  }, t.prototype.complete = function() {
4216
4253
  var r = this;
4217
- ve(function() {
4254
+ _e(function() {
4218
4255
  if (r._throwIfClosed(), !r.isStopped) {
4219
4256
  r.isStopped = !0;
4220
4257
  for (var n = r.observers; n.length; )
@@ -4236,20 +4273,20 @@ var uo = br(function(e) {
4236
4273
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
4237
4274
  }, t.prototype._innerSubscribe = function(r) {
4238
4275
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
4239
- return o || s ? gr : (this.currentObservers = null, a.push(r), new Oe(function() {
4240
- n.currentObservers = null, qe(a, r);
4276
+ return o || s ? Hr : (this.currentObservers = null, a.push(r), new Ie(function() {
4277
+ n.currentObservers = null, et(a, r);
4241
4278
  }));
4242
4279
  }, t.prototype._checkFinalizedStatuses = function(r) {
4243
4280
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
4244
4281
  i ? r.error(o) : s && r.complete();
4245
4282
  }, t.prototype.asObservable = function() {
4246
- var r = new At();
4283
+ var r = new Ut();
4247
4284
  return r.source = this, r;
4248
4285
  }, t.create = function(r, n) {
4249
- return new It(r, n);
4286
+ return new Ft(r, n);
4250
4287
  }, t;
4251
- }(At), It = function(e) {
4252
- U(t, e);
4288
+ }(Ut), Ft = function(e) {
4289
+ D(t, e);
4253
4290
  function t(r, n) {
4254
4291
  var i = e.call(this) || this;
4255
4292
  return i.destination = r, i.source = n, i;
@@ -4265,58 +4302,58 @@ var uo = br(function(e) {
4265
4302
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
4266
4303
  }, t.prototype._subscribe = function(r) {
4267
4304
  var n, i;
4268
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : gr;
4305
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Hr;
4269
4306
  }, t;
4270
- }(_r), xr = {
4307
+ }(Br), Ar = {
4271
4308
  now: function() {
4272
- return (xr.delegate || Date).now();
4309
+ return (Ar.delegate || Date).now();
4273
4310
  },
4274
4311
  delegate: void 0
4275
- }, lo = function(e) {
4276
- U(t, e);
4312
+ }, wo = function(e) {
4313
+ D(t, e);
4277
4314
  function t(r, n, i) {
4278
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = xr);
4315
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Ar);
4279
4316
  var o = e.call(this) || this;
4280
4317
  return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
4281
4318
  }
4282
4319
  return t.prototype.next = function(r) {
4283
- var n = this, i = n.isStopped, o = n._buffer, s = n._infiniteTimeWindow, a = n._timestampProvider, l = n._windowTime;
4284
- i || (o.push(r), !s && o.push(a.now() + l)), this._trimBuffer(), e.prototype.next.call(this, r);
4320
+ var n = this, i = n.isStopped, o = n._buffer, s = n._infiniteTimeWindow, a = n._timestampProvider, u = n._windowTime;
4321
+ i || (o.push(r), !s && o.push(a.now() + u)), this._trimBuffer(), e.prototype.next.call(this, r);
4285
4322
  }, t.prototype._subscribe = function(r) {
4286
4323
  this._throwIfClosed(), this._trimBuffer();
4287
- for (var n = this._innerSubscribe(r), i = this, o = i._infiniteTimeWindow, s = i._buffer, a = s.slice(), l = 0; l < a.length && !r.closed; l += o ? 1 : 2)
4288
- r.next(a[l]);
4324
+ for (var n = this._innerSubscribe(r), i = this, o = i._infiniteTimeWindow, s = i._buffer, a = s.slice(), u = 0; u < a.length && !r.closed; u += o ? 1 : 2)
4325
+ r.next(a[u]);
4289
4326
  return this._checkFinalizedStatuses(r), n;
4290
4327
  }, t.prototype._trimBuffer = function() {
4291
4328
  var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, s = r._infiniteTimeWindow, a = (s ? 1 : 2) * n;
4292
4329
  if (n < 1 / 0 && a < o.length && o.splice(0, o.length - a), !s) {
4293
- for (var l = i.now(), h = 0, u = 1; u < o.length && o[u] <= l; u += 2)
4294
- h = u;
4295
- h && o.splice(0, h + 1);
4330
+ for (var u = i.now(), l = 0, h = 1; h < o.length && o[h] <= u; h += 2)
4331
+ l = h;
4332
+ l && o.splice(0, l + 1);
4296
4333
  }
4297
4334
  }, t;
4298
- }(_r);
4299
- const Lt = [], Nt = {}, ho = (e, t = 0) => {
4300
- if (Lt.indexOf(e) == -1) {
4301
- const r = new lo(t);
4302
- Nt[e] = r, Lt.push(e);
4335
+ }(Br);
4336
+ const jt = [], kt = {}, To = (e, t = 0) => {
4337
+ if (jt.indexOf(e) == -1) {
4338
+ const r = new wo(t);
4339
+ kt[e] = r, jt.push(e);
4303
4340
  }
4304
- return Nt[e];
4341
+ return kt[e];
4305
4342
  };
4306
- window.emWidgets = { topic: ho };
4307
- const co = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
4308
- function fo(e) {
4309
- Gr(e, "svelte-1myc38z", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.CasinoCollectionsProviders{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));width:100%;height:330px;margin:0 auto;margin-top:24px}.CategoriesHeader{display:flex;justify-content:space-between;height:70px}.CategoriesHeader .Title{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:22px;font-weight:500}.CategoriesHeader .ButtonsContainer button{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px;cursor:pointer}.CategoriesHeader .ButtonsContainer button:active{opacity:0.7}.CategoriesSlider{position:relative;height:230px;overflow:hidden;cursor:pointer}.CategoriesSliderWrapper{position:absolute;top:0;left:0}.CategoriesSlider .Animation{transition:transform 0.8s}.CategoriesSlider .CategorySlide{border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:space-evenly;height:200px;width:400px;margin-right:15px;background-size:cover}.CategoriesSlider .CategorySlide:not(.CategorySlideNoHighlight){background-color:#808080;background-blend-mode:multiply}.CategoriesSlider .CategorySlideTopContainer{height:100px;display:flex;align-items:center}.CategoriesSlider .CategorySlideLogo{transform:translate(-50%, -50%);max-width:175px;top:30%;max-height:100%;position:absolute}.CategoriesSlider .CategorySlideTitle{color:var(--emw--casino-typography, var(--emw--color-constrast, #FFFFFF));font-size:18px;letter-spacing:1px}.CategoriesSlider .CategorySlideGameContainer{display:flex;width:40px;justify-content:center;gap:10%;min-height:85px}.CategoriesSlider .CategorySlideGameImage{border-radius:10px;width:auto;height:55px;object-fit:cover}.CategoriesSlider .CategorySlideGames{color:white;text-align:center}.CategoriesSlider .CategorySlideGames p{font-size:8px;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.Mobile.Providers{padding:25px 10px}.Mobile.Collections{padding:25px 10px}.Mobile.CasinoCollectionsProviders{padding:25px 10px}.Mobile .CategoriesSlider{overflow:auto;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.Mobile .CategoriesSlider::-webkit-scrollbar{display:none}.Mobile .CategorySlide{width:80vw;scroll-snap-align:start}.Mobile .ButtonsContainer{display:none}.Mobile .CategorySlideGameImage{border-radius:10px;width:auto;height:40px;object-fit:cover}.LoadingSpinner{display:block;width:80px;height:80px;margin:0 auto}.LoadingSpinner:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C)) transparent var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C)) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
4343
+ window.emWidgets = { topic: To };
4344
+ const Ho = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
4345
+ function Co(e) {
4346
+ qr(e, "svelte-1myc38z", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.CasinoCollectionsProviders{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));width:100%;height:330px;margin:0 auto;margin-top:24px}.CategoriesHeader{display:flex;justify-content:space-between;height:70px}.CategoriesHeader .Title{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:22px;font-weight:500}.CategoriesHeader .ButtonsContainer button{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px;cursor:pointer}.CategoriesHeader .ButtonsContainer button:active{opacity:0.7}.CategoriesSlider{position:relative;height:230px;overflow:hidden;cursor:pointer}.CategoriesSliderWrapper{position:absolute;top:0;left:0}.CategoriesSlider .Animation{transition:transform 0.8s}.CategoriesSlider .CategorySlide{border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:space-evenly;height:200px;width:400px;margin-right:15px;background-size:cover}.CategoriesSlider .CategorySlide:not(.CategorySlideNoHighlight){background-color:#808080;background-blend-mode:multiply}.CategoriesSlider .CategorySlideTopContainer{height:100px;display:flex;align-items:center}.CategoriesSlider .CategorySlideLogo{transform:translate(-50%, -50%);max-width:175px;top:30%;max-height:100%;position:absolute}.CategoriesSlider .CategorySlideTitle{color:var(--emw--casino-typography, var(--emw--color-constrast, #FFFFFF));font-size:18px;letter-spacing:1px}.CategoriesSlider .CategorySlideGameContainer{display:flex;width:40px;justify-content:center;gap:10%;min-height:85px}.CategoriesSlider .CategorySlideGameImage{border-radius:10px;width:auto;height:55px;object-fit:cover}.CategoriesSlider .CategorySlideGames{color:white;text-align:center}.CategoriesSlider .CategorySlideGames p{font-size:8px;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.Mobile.Providers{padding:25px 10px}.Mobile.Collections{padding:25px 10px}.Mobile.CasinoCollectionsProviders{padding:25px 10px}.Mobile .CategoriesSlider{overflow:auto;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.Mobile .CategoriesSlider::-webkit-scrollbar{display:none}.Mobile .CategorySlide{width:80vw;scroll-snap-align:start}.Mobile .ButtonsContainer{display:none}.Mobile .CategorySlideGameImage{border-radius:10px;width:auto;height:40px;object-fit:cover}.LoadingSpinner{display:block;width:80px;height:80px;margin:0 auto}.LoadingSpinner:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C)) transparent var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C)) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
4310
4347
  }
4311
- function Mt(e, t, r) {
4348
+ function Vt(e, t, r) {
4312
4349
  const n = e.slice();
4313
4350
  return n[41] = t[r], n;
4314
4351
  }
4315
- function Rt(e, t, r) {
4352
+ function Xt(e, t, r) {
4316
4353
  const n = e.slice();
4317
4354
  return n[44] = t[r], n;
4318
4355
  }
4319
- function po(e) {
4356
+ function Po(e) {
4320
4357
  let t, r, n, i = (
4321
4358
  /*type*/
4322
4359
  (e[0] == "vendor" ? (
@@ -4326,36 +4363,36 @@ function po(e) {
4326
4363
  /*$_*/
4327
4364
  e[11]("collections")
4328
4365
  )) + ""
4329
- ), o, s, a, l, h, u, c = (
4366
+ ), o, s, a, u, l, h, c = (
4330
4367
  /*numberOfSlides*/
4331
4368
  e[8] > /*numberOfVisibleSlides*/
4332
- e[9] && $t(e)
4333
- ), f = Se(
4369
+ e[9] && Wt(e)
4370
+ ), f = we(
4334
4371
  /*gameCategories*/
4335
4372
  e[3]
4336
- ), m = [];
4373
+ ), p = [];
4337
4374
  for (let d = 0; d < f.length; d += 1)
4338
- m[d] = Dt(Mt(e, f, d));
4375
+ p[d] = Qt(Vt(e, f, d));
4339
4376
  return {
4340
4377
  c() {
4341
- t = H("div"), r = H("div"), n = H("p"), o = He(i), s = F(), c && c.c(), a = F(), l = H("div");
4342
- for (let d = 0; d < m.length; d += 1)
4343
- m[d].c();
4344
- E(n, "class", "Title"), E(r, "class", "CategoriesHeader"), E(l, "class", "CategoriesSlider"), Ee(() => (
4378
+ t = C("div"), r = C("div"), n = C("p"), o = Ce(i), s = j(), c && c.c(), a = j(), u = C("div");
4379
+ for (let d = 0; d < p.length; d += 1)
4380
+ p[d].c();
4381
+ E(n, "class", "Title"), E(r, "class", "CategoriesHeader"), E(u, "class", "CategoriesSlider"), Se(() => (
4345
4382
  /*div1_elementresize_handler*/
4346
- e[27].call(l)
4347
- )), E(t, "class", u = "CasinoCollectionsProviders " + /*mobile*/
4383
+ e[27].call(u)
4384
+ )), E(t, "class", h = "CasinoCollectionsProviders " + /*mobile*/
4348
4385
  (e[10] ? "Mobile" : "") + " " + /*type*/
4349
4386
  (e[0] === "vendor" ? "Providers" : "Collections"));
4350
4387
  },
4351
4388
  m(d, g) {
4352
- R(d, t, g), T(t, r), T(r, n), T(n, o), T(r, s), c && c.m(r, null), T(t, a), T(t, l);
4353
- for (let p = 0; p < m.length; p += 1)
4354
- m[p] && m[p].m(l, null);
4355
- e[26](l), h = Vr(
4356
- l,
4389
+ G(d, t, g), H(t, r), H(r, n), H(n, o), H(r, s), c && c.m(r, null), H(t, a), H(t, u);
4390
+ for (let m = 0; m < p.length; m += 1)
4391
+ p[m] && p[m].m(u, null);
4392
+ e[26](u), l = on(
4393
+ u,
4357
4394
  /*div1_elementresize_handler*/
4358
- e[27].bind(l)
4395
+ e[27].bind(u)
4359
4396
  );
4360
4397
  },
4361
4398
  p(d, g) {
@@ -4367,63 +4404,63 @@ function po(e) {
4367
4404
  ) : (
4368
4405
  /*$_*/
4369
4406
  d[11]("collections")
4370
- )) + "") && tt(o, i), /*numberOfSlides*/
4407
+ )) + "") && nt(o, i), /*numberOfSlides*/
4371
4408
  d[8] > /*numberOfVisibleSlides*/
4372
- d[9] ? c ? c.p(d, g) : (c = $t(d), c.c(), c.m(r, null)) : c && (c.d(1), c = null), g[0] & /*gameCategories, openCategory, collectionprovidersgamenames, openGame, titletype*/
4409
+ d[9] ? c ? c.p(d, g) : (c = Wt(d), c.c(), c.m(r, null)) : c && (c.d(1), c = null), g[0] & /*gameCategories, openCategory, collectionprovidersgamenames, openGame, titletype*/
4373
4410
  49166) {
4374
- f = Se(
4411
+ f = we(
4375
4412
  /*gameCategories*/
4376
4413
  d[3]
4377
4414
  );
4378
- let p;
4379
- for (p = 0; p < f.length; p += 1) {
4380
- const S = Mt(d, f, p);
4381
- m[p] ? m[p].p(S, g) : (m[p] = Dt(S), m[p].c(), m[p].m(l, null));
4415
+ let m;
4416
+ for (m = 0; m < f.length; m += 1) {
4417
+ const x = Vt(d, f, m);
4418
+ p[m] ? p[m].p(x, g) : (p[m] = Qt(x), p[m].c(), p[m].m(u, null));
4382
4419
  }
4383
- for (; p < m.length; p += 1)
4384
- m[p].d(1);
4385
- m.length = f.length;
4420
+ for (; m < p.length; m += 1)
4421
+ p[m].d(1);
4422
+ p.length = f.length;
4386
4423
  }
4387
4424
  g[0] & /*mobile, type*/
4388
- 1025 && u !== (u = "CasinoCollectionsProviders " + /*mobile*/
4425
+ 1025 && h !== (h = "CasinoCollectionsProviders " + /*mobile*/
4389
4426
  (d[10] ? "Mobile" : "") + " " + /*type*/
4390
- (d[0] === "vendor" ? "Providers" : "Collections")) && E(t, "class", u);
4427
+ (d[0] === "vendor" ? "Providers" : "Collections")) && E(t, "class", h);
4391
4428
  },
4392
4429
  d(d) {
4393
- d && N(t), c && c.d(), Vt(m, d), e[26](null), h();
4430
+ d && R(t), c && c.d(), Kt(p, d), e[26](null), l();
4394
4431
  }
4395
4432
  };
4396
4433
  }
4397
- function mo(e) {
4434
+ function Bo(e) {
4398
4435
  let t;
4399
4436
  return {
4400
4437
  c() {
4401
- t = H("div"), E(t, "class", "LoadingSpinner");
4438
+ t = C("div"), E(t, "class", "LoadingSpinner");
4402
4439
  },
4403
4440
  m(r, n) {
4404
- R(r, t, n);
4441
+ G(r, t, n);
4405
4442
  },
4406
- p: I,
4443
+ p: L,
4407
4444
  d(r) {
4408
- r && N(t);
4445
+ r && R(t);
4409
4446
  }
4410
4447
  };
4411
4448
  }
4412
- function $t(e) {
4449
+ function Wt(e) {
4413
4450
  let t, r, n, i, o, s;
4414
4451
  return {
4415
4452
  c() {
4416
- t = H("div"), r = H("button"), r.innerHTML = '<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(14.656 0) rotate(90)" fill="#fff"></path></svg>', n = F(), i = H("button"), i.innerHTML = '<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(0 24.656) rotate(-90)" fill="#fff"></path></svg>', E(t, "class", "ButtonsContainer");
4453
+ t = C("div"), r = C("button"), r.innerHTML = '<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(14.656 0) rotate(90)" fill="#fff"></path></svg>', n = j(), i = C("button"), i.innerHTML = '<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(0 24.656) rotate(-90)" fill="#fff"></path></svg>', E(t, "class", "ButtonsContainer");
4417
4454
  },
4418
- m(a, l) {
4419
- R(a, t, l), T(t, r), T(t, n), T(t, i), o || (s = [
4420
- Q(
4455
+ m(a, u) {
4456
+ G(a, t, u), H(t, r), H(t, n), H(t, i), o || (s = [
4457
+ J(
4421
4458
  r,
4422
4459
  "click",
4423
4460
  /*click_handler*/
4424
4461
  e[22]
4425
4462
  ),
4426
- Q(
4463
+ J(
4427
4464
  i,
4428
4465
  "click",
4429
4466
  /*click_handler_1*/
@@ -4431,85 +4468,85 @@ function $t(e) {
4431
4468
  )
4432
4469
  ], o = !0);
4433
4470
  },
4434
- p: I,
4471
+ p: L,
4435
4472
  d(a) {
4436
- a && N(t), o = !1, ee(s);
4473
+ a && R(t), o = !1, te(s);
4437
4474
  }
4438
4475
  };
4439
4476
  }
4440
- function bo(e) {
4477
+ function Ao(e) {
4441
4478
  let t, r = (
4442
4479
  /*category*/
4443
4480
  e[41].name + ""
4444
4481
  ), n;
4445
4482
  return {
4446
4483
  c() {
4447
- t = H("p"), n = He(r), E(t, "class", "CategorySlideTitle");
4484
+ t = C("p"), n = Ce(r), E(t, "class", "CategorySlideTitle");
4448
4485
  },
4449
4486
  m(i, o) {
4450
- R(i, t, o), T(t, n);
4487
+ G(i, t, o), H(t, n);
4451
4488
  },
4452
4489
  p(i, o) {
4453
4490
  o[0] & /*gameCategories*/
4454
4491
  8 && r !== (r = /*category*/
4455
- i[41].name + "") && tt(n, r);
4492
+ i[41].name + "") && nt(n, r);
4456
4493
  },
4457
4494
  d(i) {
4458
- i && N(t);
4495
+ i && R(t);
4459
4496
  }
4460
4497
  };
4461
4498
  }
4462
- function go(e) {
4499
+ function Oo(e) {
4463
4500
  let t, r, n;
4464
4501
  return {
4465
4502
  c() {
4466
- t = H("img"), E(t, "class", "CategorySlideLogo"), _e(t.src, r = /*category*/
4503
+ t = C("img"), E(t, "class", "CategorySlideLogo"), xe(t.src, r = /*category*/
4467
4504
  e[41].icon) || E(t, "src", r), E(t, "alt", n = /*category*/
4468
4505
  e[41].name + " icon");
4469
4506
  },
4470
4507
  m(i, o) {
4471
- R(i, t, o);
4508
+ G(i, t, o);
4472
4509
  },
4473
4510
  p(i, o) {
4474
4511
  o[0] & /*gameCategories*/
4475
- 8 && !_e(t.src, r = /*category*/
4512
+ 8 && !xe(t.src, r = /*category*/
4476
4513
  i[41].icon) && E(t, "src", r), o[0] & /*gameCategories*/
4477
4514
  8 && n !== (n = /*category*/
4478
4515
  i[41].name + " icon") && E(t, "alt", n);
4479
4516
  },
4480
4517
  d(i) {
4481
- i && N(t);
4518
+ i && R(t);
4482
4519
  }
4483
4520
  };
4484
4521
  }
4485
- function Gt(e) {
4522
+ function zt(e) {
4486
4523
  let t, r = (
4487
4524
  /*game*/
4488
4525
  e[44].name + ""
4489
4526
  ), n, i;
4490
4527
  return {
4491
4528
  c() {
4492
- t = H("p"), n = He(r), E(t, "title", i = /*game*/
4529
+ t = C("p"), n = Ce(r), E(t, "title", i = /*game*/
4493
4530
  e[44].name);
4494
4531
  },
4495
4532
  m(o, s) {
4496
- R(o, t, s), T(t, n);
4533
+ G(o, t, s), H(t, n);
4497
4534
  },
4498
4535
  p(o, s) {
4499
4536
  s[0] & /*gameCategories*/
4500
4537
  8 && r !== (r = /*game*/
4501
- o[44].name + "") && tt(n, r), s[0] & /*gameCategories*/
4538
+ o[44].name + "") && nt(n, r), s[0] & /*gameCategories*/
4502
4539
  8 && i !== (i = /*game*/
4503
4540
  o[44].name) && E(t, "title", i);
4504
4541
  },
4505
4542
  d(o) {
4506
- o && N(t);
4543
+ o && R(t);
4507
4544
  }
4508
4545
  };
4509
4546
  }
4510
- function Ut(e) {
4511
- let t, r, n, i, o, s, a, l;
4512
- function h() {
4547
+ function Zt(e) {
4548
+ let t, r, n, i, o, s, a, u;
4549
+ function l() {
4513
4550
  return (
4514
4551
  /*click_handler_2*/
4515
4552
  e[24](
@@ -4518,50 +4555,50 @@ function Ut(e) {
4518
4555
  )
4519
4556
  );
4520
4557
  }
4521
- let u = (
4558
+ let h = (
4522
4559
  /*collectionprovidersgamenames*/
4523
- e[2] == "true" && Gt(e)
4560
+ e[2] == "true" && zt(e)
4524
4561
  );
4525
4562
  return {
4526
4563
  c() {
4527
- t = H("div"), r = H("img"), o = F(), u && u.c(), s = F(), E(r, "class", "CategorySlideGameImage"), _e(r.src, n = /*game*/
4564
+ t = C("div"), r = C("img"), o = j(), h && h.c(), s = j(), E(r, "class", "CategorySlideGameImage"), xe(r.src, n = /*game*/
4528
4565
  e[44].defaultThumbnail) || E(r, "src", n), E(r, "alt", i = /*game*/
4529
4566
  e[44].name), E(t, "class", "CategorySlideGames");
4530
4567
  },
4531
4568
  m(c, f) {
4532
- R(c, t, f), T(t, r), T(t, o), u && u.m(t, null), T(t, s), a || (l = Q(r, "click", Fr(h)), a = !0);
4569
+ G(c, t, f), H(t, r), H(t, o), h && h.m(t, null), H(t, s), a || (u = J(r, "click", tn(l)), a = !0);
4533
4570
  },
4534
4571
  p(c, f) {
4535
4572
  e = c, f[0] & /*gameCategories*/
4536
- 8 && !_e(r.src, n = /*game*/
4573
+ 8 && !xe(r.src, n = /*game*/
4537
4574
  e[44].defaultThumbnail) && E(r, "src", n), f[0] & /*gameCategories*/
4538
4575
  8 && i !== (i = /*game*/
4539
4576
  e[44].name) && E(r, "alt", i), /*collectionprovidersgamenames*/
4540
- e[2] == "true" ? u ? u.p(e, f) : (u = Gt(e), u.c(), u.m(t, s)) : u && (u.d(1), u = null);
4577
+ e[2] == "true" ? h ? h.p(e, f) : (h = zt(e), h.c(), h.m(t, s)) : h && (h.d(1), h = null);
4541
4578
  },
4542
4579
  d(c) {
4543
- c && N(t), u && u.d(), a = !1, l();
4580
+ c && R(t), h && h.d(), a = !1, u();
4544
4581
  }
4545
4582
  };
4546
4583
  }
4547
- function Dt(e) {
4548
- let t, r, n, i, o, s, a, l, h;
4549
- function u(p, S) {
4584
+ function Qt(e) {
4585
+ let t, r, n, i, o, s, a, u, l;
4586
+ function h(m, x) {
4550
4587
  if (
4551
4588
  /*titletype*/
4552
- p[1] == "logo"
4553
- ) return go;
4589
+ m[1] == "logo"
4590
+ ) return Oo;
4554
4591
  if (
4555
4592
  /*titletype*/
4556
- p[1] == "title"
4557
- ) return bo;
4593
+ m[1] == "title"
4594
+ ) return Ao;
4558
4595
  }
4559
- let c = u(e), f = c && c(e), m = Se(
4596
+ let c = h(e), f = c && c(e), p = we(
4560
4597
  /*category*/
4561
4598
  e[41].games
4562
4599
  ), d = [];
4563
- for (let p = 0; p < m.length; p += 1)
4564
- d[p] = Ut(Rt(e, m, p));
4600
+ for (let m = 0; m < p.length; m += 1)
4601
+ d[m] = Zt(Xt(e, p, m));
4565
4602
  function g() {
4566
4603
  return (
4567
4604
  /*click_handler_3*/
@@ -4573,129 +4610,134 @@ function Dt(e) {
4573
4610
  }
4574
4611
  return {
4575
4612
  c() {
4576
- t = H("div"), r = H("div"), n = H("div"), f && f.c(), i = F(), o = H("div");
4577
- for (let p = 0; p < d.length; p += 1)
4578
- d[p].c();
4579
- a = F(), E(n, "class", "CategorySlideTopContainer"), E(o, "class", "CategorySlideGameContainer"), E(r, "class", s = "CategorySlide " + /*category*/
4580
- (e[41]?.flag[0] == "vendor" ? "CategorySlideNoHighlight" : "")), Ie(r, "background-image", "url(" + /*category*/
4581
- e[41]?.background + ")"), Ie(r, "background-size", "cover"), E(t, "class", "CategoriesSliderWrapper Animation");
4613
+ var m, x;
4614
+ t = C("div"), r = C("div"), n = C("div"), f && f.c(), i = j(), o = C("div");
4615
+ for (let S = 0; S < d.length; S += 1)
4616
+ d[S].c();
4617
+ a = j(), E(n, "class", "CategorySlideTopContainer"), E(o, "class", "CategorySlideGameContainer"), E(r, "class", s = "CategorySlide " + /*category*/
4618
+ (((m = e[41]) == null ? void 0 : m.flag[0]) == "vendor" ? "CategorySlideNoHighlight" : "")), Ne(r, "background-image", "url(" + /*category*/
4619
+ ((x = e[41]) == null ? void 0 : x.background) + ")"), Ne(r, "background-size", "cover"), E(t, "class", "CategoriesSliderWrapper Animation");
4582
4620
  },
4583
- m(p, S) {
4584
- R(p, t, S), T(t, r), T(r, n), f && f.m(n, null), T(r, i), T(r, o);
4585
- for (let _ = 0; _ < d.length; _ += 1)
4586
- d[_] && d[_].m(o, null);
4587
- T(t, a), l || (h = Q(r, "click", g), l = !0);
4621
+ m(m, x) {
4622
+ G(m, t, x), H(t, r), H(r, n), f && f.m(n, null), H(r, i), H(r, o);
4623
+ for (let S = 0; S < d.length; S += 1)
4624
+ d[S] && d[S].m(o, null);
4625
+ H(t, a), u || (l = J(r, "click", g), u = !0);
4588
4626
  },
4589
- p(p, S) {
4590
- if (e = p, c === (c = u(e)) && f ? f.p(e, S) : (f && f.d(1), f = c && c(e), f && (f.c(), f.m(n, null))), S[0] & /*gameCategories, collectionprovidersgamenames, openGame*/
4627
+ p(m, x) {
4628
+ var S, A;
4629
+ if (e = m, c === (c = h(e)) && f ? f.p(e, x) : (f && f.d(1), f = c && c(e), f && (f.c(), f.m(n, null))), x[0] & /*gameCategories, collectionprovidersgamenames, openGame*/
4591
4630
  16396) {
4592
- m = Se(
4631
+ p = we(
4593
4632
  /*category*/
4594
4633
  e[41].games
4595
4634
  );
4596
- let _;
4597
- for (_ = 0; _ < m.length; _ += 1) {
4598
- const P = Rt(e, m, _);
4599
- d[_] ? d[_].p(P, S) : (d[_] = Ut(P), d[_].c(), d[_].m(o, null));
4635
+ let T;
4636
+ for (T = 0; T < p.length; T += 1) {
4637
+ const P = Xt(e, p, T);
4638
+ d[T] ? d[T].p(P, x) : (d[T] = Zt(P), d[T].c(), d[T].m(o, null));
4600
4639
  }
4601
- for (; _ < d.length; _ += 1)
4602
- d[_].d(1);
4603
- d.length = m.length;
4640
+ for (; T < d.length; T += 1)
4641
+ d[T].d(1);
4642
+ d.length = p.length;
4604
4643
  }
4605
- S[0] & /*gameCategories*/
4644
+ x[0] & /*gameCategories*/
4606
4645
  8 && s !== (s = "CategorySlide " + /*category*/
4607
- (e[41]?.flag[0] == "vendor" ? "CategorySlideNoHighlight" : "")) && E(r, "class", s), S[0] & /*gameCategories*/
4608
- 8 && Ie(r, "background-image", "url(" + /*category*/
4609
- e[41]?.background + ")");
4646
+ (((S = e[41]) == null ? void 0 : S.flag[0]) == "vendor" ? "CategorySlideNoHighlight" : "")) && E(r, "class", s), x[0] & /*gameCategories*/
4647
+ 8 && Ne(r, "background-image", "url(" + /*category*/
4648
+ ((A = e[41]) == null ? void 0 : A.background) + ")");
4610
4649
  },
4611
- d(p) {
4612
- p && N(t), f && f.d(), Vt(d, p), l = !1, h();
4650
+ d(m) {
4651
+ m && R(t), f && f.d(), Kt(d, m), u = !1, l();
4613
4652
  }
4614
4653
  };
4615
4654
  }
4616
- function yo(e) {
4655
+ function Io(e) {
4617
4656
  let t;
4618
4657
  function r(o, s) {
4619
4658
  return (
4620
4659
  /*isLoading*/
4621
- o[7] ? mo : po
4660
+ o[7] ? Bo : Po
4622
4661
  );
4623
4662
  }
4624
4663
  let n = r(e), i = n(e);
4625
4664
  return {
4626
4665
  c() {
4627
- t = H("div"), i.c();
4666
+ t = C("div"), i.c();
4628
4667
  },
4629
4668
  m(o, s) {
4630
- R(o, t, s), i.m(t, null), e[28](t);
4669
+ G(o, t, s), i.m(t, null), e[28](t);
4631
4670
  },
4632
4671
  p(o, s) {
4633
4672
  n === (n = r(o)) && i ? i.p(o, s) : (i.d(1), i = n(o), i && (i.c(), i.m(t, null)));
4634
4673
  },
4635
- i: I,
4636
- o: I,
4674
+ i: L,
4675
+ o: L,
4637
4676
  d(o) {
4638
- o && N(t), i.d(), e[28](null);
4677
+ o && R(t), i.d(), e[28](null);
4639
4678
  }
4640
4679
  };
4641
4680
  }
4642
- function vo(e, t, r) {
4681
+ function Lo(e, t, r) {
4643
4682
  let n;
4644
- $r(e, Qi, (b) => r(11, n = b));
4645
- let { endpoint: i = "" } = t, { datasource: o = "" } = t, { lang: s = "" } = t, { type: a = "" } = t, { titletype: l = "" } = t, { clientstyling: h = "" } = t, { clientstylingurl: u = "" } = t, { translationurl: c = "" } = t, { collectionprovidersgamenames: f = "" } = t, m = [], d = !0, g, p = 0, S = 0, _ = 0, P, $, B, j = window.navigator.userAgent, ie, oe = 0;
4646
- const Er = () => {
4647
- fetch(c).then((C) => C.json()).then((C) => {
4648
- Object.keys(C).forEach((O) => {
4649
- Ht(O, C[O]);
4683
+ Yr(e, lo, (b) => r(11, n = b));
4684
+ let { endpoint: i = "" } = t, { datasource: o = "" } = t, { lang: s = "" } = t, { type: a = "" } = t, { titletype: u = "" } = t, { clientstyling: l = "" } = t, { clientstylingurl: h = "" } = t, { translationurl: c = "" } = t, { collectionprovidersgamenames: f = "" } = t, p = [], d = !0, g, m = 0, x = 0, S = 0, A, T, P, V = window.navigator.userAgent, oe, se = 0;
4685
+ const Or = () => {
4686
+ fetch(c).then((B) => B.json()).then((B) => {
4687
+ Object.keys(B).forEach((I) => {
4688
+ Mt(I, B[I]);
4650
4689
  });
4651
- }).catch((C) => {
4652
- console.log(C);
4690
+ }).catch((B) => {
4691
+ console.log(B);
4653
4692
  });
4654
4693
  };
4655
- Object.keys(Ct).forEach((b) => {
4656
- Ht(b, Ct[b]);
4694
+ Object.keys(Rt).forEach((b) => {
4695
+ Mt(b, Rt[b]);
4657
4696
  });
4658
- const Sr = () => {
4697
+ const Ir = () => {
4659
4698
  const b = new URL(`${i}/v2/casino/groups/${o}`);
4660
- b.searchParams.append("language", s), b.searchParams.append("expand", "games"), fetch(b.href).then((C) => C.json()).then((C) => {
4699
+ b.searchParams.append("language", s), b.searchParams.append("expand", "games"), fetch(b.href).then((B) => B.json()).then((B) => {
4661
4700
  r(7, d = !1);
4662
- let O = C.items.filter((L) => L.flags == a);
4663
- r(3, m = O.map((L) => ({
4664
- id: L.id,
4665
- name: L.name,
4666
- icon: L.icon ? L.icon : L.vendors?.items[0]?.subVendors[0]?.logo,
4667
- games: L.games.items.slice(0, 4).map((Mr) => Mr),
4668
- background: L.background,
4669
- flag: L.flags
4670
- }))), r(8, S = m.length);
4701
+ let I = B.items.filter((N) => N.flags == a);
4702
+ r(3, p = I.map((N) => {
4703
+ var dt, pt, mt;
4704
+ return {
4705
+ id: N.id,
4706
+ name: N.name,
4707
+ icon: N.icon ? N.icon : (mt = (pt = (dt = N.vendors) == null ? void 0 : dt.items[0]) == null ? void 0 : pt.subVendors[0]) == null ? void 0 : mt.logo,
4708
+ games: N.games.items.slice(0, 4).map((Vr) => Vr),
4709
+ background: N.background,
4710
+ flag: N.flags
4711
+ };
4712
+ })), r(8, x = p.length);
4671
4713
  });
4672
- }, ot = (b) => {
4673
- $ = [...g.children], $.forEach((C, O) => {
4674
- C.style.transform = `translateX(${100 * (b ? O - b : O)}%)`;
4675
- }), P = $[0].getBoundingClientRect().width, wr();
4676
- }, wr = () => {
4677
- r(9, _ = Math.floor(oe / P));
4678
- }, st = () => {
4679
- ot(p);
4680
- }, at = () => {
4681
- p === 0 ? p = S - _ : p - _ < -1 ? p = 0 : p--, st();
4714
+ }, at = (b) => {
4715
+ T = [...g.children], T.forEach((B, I) => {
4716
+ B.style.transform = `translateX(${100 * (b ? I - b : I)}%)`;
4717
+ }), A = T[0].getBoundingClientRect().width, Lr();
4718
+ }, Lr = () => {
4719
+ r(9, S = Math.floor(se / A));
4682
4720
  }, ut = () => {
4683
- p === S - _ ? p = 0 : S - _ < p + 1 ? p = S - _ : p++, st();
4684
- }, lt = (b, C, O, L) => {
4721
+ at(m);
4722
+ }, lt = () => {
4723
+ m === 0 ? m = x - S : m - S < -1 ? m = 0 : m--, ut();
4724
+ }, ht = () => {
4725
+ m === x - S ? m = 0 : x - S < m + 1 ? m = x - S : m++, ut();
4726
+ }, ct = (b, B, I, N) => {
4685
4727
  window.postMessage(
4686
4728
  {
4687
4729
  type: "OpenCollectionsProvidersGame",
4688
4730
  gameId: b,
4689
- launchUrl: C,
4690
- gameName: O,
4691
- subVendor: L
4731
+ launchUrl: B,
4732
+ gameName: I,
4733
+ subVendor: N
4692
4734
  },
4693
4735
  window.location.href
4694
4736
  ), typeof gtag == "function" && gtag("event", "OpenGame", {
4695
4737
  context: "CollectionsProviders",
4696
- gameName: `${O}`
4738
+ gameName: `${I}`
4697
4739
  });
4698
- }, ht = (b) => {
4740
+ }, ft = (b) => {
4699
4741
  window.postMessage(
4700
4742
  {
4701
4743
  type: "OpenCollectionsProvidersCategory",
@@ -4703,89 +4745,89 @@ function vo(e, t, r) {
4703
4745
  },
4704
4746
  window.location.href
4705
4747
  );
4706
- }, Tr = () => {
4707
- Ji(s);
4708
- }, Hr = () => {
4748
+ }, Nr = () => {
4749
+ ho(s);
4750
+ }, Mr = () => {
4709
4751
  let b = document.createElement("style");
4710
- b.innerHTML = h, B.appendChild(b);
4711
- }, Cr = () => {
4712
- let b = new URL(u), C = document.createElement("style");
4713
- fetch(b.href).then((O) => O.text()).then((O) => {
4714
- C.innerHTML = O, setTimeout(
4752
+ b.innerHTML = l, P.appendChild(b);
4753
+ }, Rr = () => {
4754
+ let b = new URL(h), B = document.createElement("style");
4755
+ fetch(b.href).then((I) => I.text()).then((I) => {
4756
+ B.innerHTML = I, setTimeout(
4715
4757
  () => {
4716
- B.appendChild(C);
4758
+ P.appendChild(B);
4717
4759
  },
4718
4760
  1
4719
4761
  );
4720
4762
  });
4721
4763
  };
4722
- zr(() => {
4723
- r(10, ie = co(j));
4764
+ un(() => {
4765
+ r(10, oe = Ho(V));
4724
4766
  });
4725
- const Pr = () => at(), Br = () => ut(), Ar = (b) => lt(b.gameId, b.launchUrl, b.name, b.subVendor), Or = (b) => ht(b.id);
4726
- function Ir(b) {
4727
- xe[b ? "unshift" : "push"](() => {
4767
+ const $r = () => lt(), Gr = () => ht(), Ur = (b) => ct(b.gameId, b.launchUrl, b.name, b.subVendor), Dr = (b) => ft(b.id);
4768
+ function Fr(b) {
4769
+ Ee[b ? "unshift" : "push"](() => {
4728
4770
  g = b, r(4, g);
4729
4771
  });
4730
4772
  }
4731
- function Lr() {
4732
- oe = this.clientWidth, r(6, oe);
4773
+ function jr() {
4774
+ se = this.clientWidth, r(6, se);
4733
4775
  }
4734
- function Nr(b) {
4735
- xe[b ? "unshift" : "push"](() => {
4736
- B = b, r(5, B);
4776
+ function kr(b) {
4777
+ Ee[b ? "unshift" : "push"](() => {
4778
+ P = b, r(5, P);
4737
4779
  });
4738
4780
  }
4739
4781
  return e.$$set = (b) => {
4740
- "endpoint" in b && r(16, i = b.endpoint), "datasource" in b && r(17, o = b.datasource), "lang" in b && r(18, s = b.lang), "type" in b && r(0, a = b.type), "titletype" in b && r(1, l = b.titletype), "clientstyling" in b && r(19, h = b.clientstyling), "clientstylingurl" in b && r(20, u = b.clientstylingurl), "translationurl" in b && r(21, c = b.translationurl), "collectionprovidersgamenames" in b && r(2, f = b.collectionprovidersgamenames);
4782
+ "endpoint" in b && r(16, i = b.endpoint), "datasource" in b && r(17, o = b.datasource), "lang" in b && r(18, s = b.lang), "type" in b && r(0, a = b.type), "titletype" in b && r(1, u = b.titletype), "clientstyling" in b && r(19, l = b.clientstyling), "clientstylingurl" in b && r(20, h = b.clientstylingurl), "translationurl" in b && r(21, c = b.translationurl), "collectionprovidersgamenames" in b && r(2, f = b.collectionprovidersgamenames);
4741
4783
  }, e.$$.update = () => {
4742
4784
  e.$$.dirty[0] & /*endpoint, datasource, lang*/
4743
- 458752 && i && o && s && Sr(), e.$$.dirty[0] & /*categoriesSliderWidth, gameCategories, categoriesSlider*/
4744
- 88 && oe && m && g && ot(), e.$$.dirty[0] & /*lang*/
4745
- 262144 && s && Tr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4746
- 524320 && h && B && Hr(), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4747
- 1048608 && u && B && Cr(), e.$$.dirty[0] & /*translationurl*/
4748
- 2097152 && c && Er();
4785
+ 458752 && i && o && s && Ir(), e.$$.dirty[0] & /*categoriesSliderWidth, gameCategories, categoriesSlider*/
4786
+ 88 && se && p && g && at(), e.$$.dirty[0] & /*lang*/
4787
+ 262144 && s && Nr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4788
+ 524320 && l && P && Mr(), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4789
+ 1048608 && h && P && Rr(), e.$$.dirty[0] & /*translationurl*/
4790
+ 2097152 && c && Or();
4749
4791
  }, [
4750
4792
  a,
4751
- l,
4793
+ u,
4752
4794
  f,
4753
- m,
4795
+ p,
4754
4796
  g,
4755
- B,
4756
- oe,
4797
+ P,
4798
+ se,
4757
4799
  d,
4800
+ x,
4758
4801
  S,
4759
- _,
4760
- ie,
4802
+ oe,
4761
4803
  n,
4762
- at,
4763
- ut,
4764
4804
  lt,
4765
4805
  ht,
4806
+ ct,
4807
+ ft,
4766
4808
  i,
4767
4809
  o,
4768
4810
  s,
4811
+ l,
4769
4812
  h,
4770
- u,
4771
4813
  c,
4772
- Pr,
4773
- Br,
4774
- Ar,
4775
- Or,
4776
- Ir,
4777
- Lr,
4778
- Nr
4814
+ $r,
4815
+ Gr,
4816
+ Ur,
4817
+ Dr,
4818
+ Fr,
4819
+ jr,
4820
+ kr
4779
4821
  ];
4780
4822
  }
4781
- class _o extends sn {
4823
+ class No extends _n {
4782
4824
  constructor(t) {
4783
- super(), nn(
4825
+ super(), yn(
4784
4826
  this,
4785
4827
  t,
4786
- vo,
4787
- yo,
4788
- kt,
4828
+ Lo,
4829
+ Io,
4830
+ Yt,
4789
4831
  {
4790
4832
  endpoint: 16,
4791
4833
  datasource: 17,
@@ -4797,7 +4839,7 @@ class _o extends sn {
4797
4839
  translationurl: 21,
4798
4840
  collectionprovidersgamenames: 2
4799
4841
  },
4800
- fo,
4842
+ Co,
4801
4843
  [-1, -1]
4802
4844
  );
4803
4845
  }
@@ -4805,58 +4847,58 @@ class _o extends sn {
4805
4847
  return this.$$.ctx[16];
4806
4848
  }
4807
4849
  set endpoint(t) {
4808
- this.$$set({ endpoint: t }), M();
4850
+ this.$$set({ endpoint: t }), $();
4809
4851
  }
4810
4852
  get datasource() {
4811
4853
  return this.$$.ctx[17];
4812
4854
  }
4813
4855
  set datasource(t) {
4814
- this.$$set({ datasource: t }), M();
4856
+ this.$$set({ datasource: t }), $();
4815
4857
  }
4816
4858
  get lang() {
4817
4859
  return this.$$.ctx[18];
4818
4860
  }
4819
4861
  set lang(t) {
4820
- this.$$set({ lang: t }), M();
4862
+ this.$$set({ lang: t }), $();
4821
4863
  }
4822
4864
  get type() {
4823
4865
  return this.$$.ctx[0];
4824
4866
  }
4825
4867
  set type(t) {
4826
- this.$$set({ type: t }), M();
4868
+ this.$$set({ type: t }), $();
4827
4869
  }
4828
4870
  get titletype() {
4829
4871
  return this.$$.ctx[1];
4830
4872
  }
4831
4873
  set titletype(t) {
4832
- this.$$set({ titletype: t }), M();
4874
+ this.$$set({ titletype: t }), $();
4833
4875
  }
4834
4876
  get clientstyling() {
4835
4877
  return this.$$.ctx[19];
4836
4878
  }
4837
4879
  set clientstyling(t) {
4838
- this.$$set({ clientstyling: t }), M();
4880
+ this.$$set({ clientstyling: t }), $();
4839
4881
  }
4840
4882
  get clientstylingurl() {
4841
4883
  return this.$$.ctx[20];
4842
4884
  }
4843
4885
  set clientstylingurl(t) {
4844
- this.$$set({ clientstylingurl: t }), M();
4886
+ this.$$set({ clientstylingurl: t }), $();
4845
4887
  }
4846
4888
  get translationurl() {
4847
4889
  return this.$$.ctx[21];
4848
4890
  }
4849
4891
  set translationurl(t) {
4850
- this.$$set({ translationurl: t }), M();
4892
+ this.$$set({ translationurl: t }), $();
4851
4893
  }
4852
4894
  get collectionprovidersgamenames() {
4853
4895
  return this.$$.ctx[2];
4854
4896
  }
4855
4897
  set collectionprovidersgamenames(t) {
4856
- this.$$set({ collectionprovidersgamenames: t }), M();
4898
+ this.$$set({ collectionprovidersgamenames: t }), $();
4857
4899
  }
4858
4900
  }
4859
- on(_o, { endpoint: {}, datasource: {}, lang: {}, type: {}, titletype: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, collectionprovidersgamenames: {} }, [], [], !0);
4901
+ vn(No, { endpoint: {}, datasource: {}, lang: {}, type: {}, titletype: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, collectionprovidersgamenames: {} }, [], [], !0);
4860
4902
  export {
4861
- _o as C
4903
+ No as default
4862
4904
  };