@everymatrix/casino-providers 1.52.6 → 1.53.10

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,79 +1,50 @@
1
- var Jt = Object.defineProperty, qt = Object.defineProperties;
2
- var Yt = Object.getOwnPropertyDescriptors;
3
- var Qe = Object.getOwnPropertySymbols;
4
- var Kt = Object.prototype.hasOwnProperty, er = Object.prototype.propertyIsEnumerable;
5
- var Pe = (e, t, r) => t in e ? Jt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Je = (e, t) => {
6
- for (var r in t || (t = {}))
7
- Kt.call(t, r) && Pe(e, r, t[r]);
8
- if (Qe)
9
- for (var r of Qe(t))
10
- er.call(t, r) && Pe(e, r, t[r]);
11
- return e;
12
- }, qe = (e, t) => qt(e, Yt(t));
13
- var L = (e, t, r) => Pe(e, typeof t != "symbol" ? t + "" : t, r);
14
- var Ye = (e, t, r) => new Promise((n, i) => {
15
- var s = (h) => {
16
- try {
17
- u(r.next(h));
18
- } catch (a) {
19
- i(a);
20
- }
21
- }, o = (h) => {
22
- try {
23
- u(r.throw(h));
24
- } catch (a) {
25
- i(a);
26
- }
27
- }, u = (h) => h.done ? n(h.value) : Promise.resolve(h.value).then(s, o);
28
- u((r = r.apply(e, t)).next());
29
- });
30
- function R() {
1
+ function $() {
31
2
  }
32
- function xt(e) {
3
+ function dt(e) {
33
4
  return e();
34
5
  }
35
- function Ke() {
6
+ function ze() {
36
7
  return /* @__PURE__ */ Object.create(null);
37
8
  }
38
- function oe(e) {
39
- e.forEach(xt);
9
+ function se(e) {
10
+ e.forEach(dt);
40
11
  }
41
- function ke(e) {
12
+ function Fe(e) {
42
13
  return typeof e == "function";
43
14
  }
44
- function yt(e, t) {
15
+ function mt(e, t) {
45
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
17
  }
47
- let he;
18
+ let ue;
48
19
  function de(e, t) {
49
- return e === t ? !0 : (he || (he = document.createElement("a")), he.href = t, e === he.href);
20
+ return e === t ? !0 : (ue || (ue = document.createElement("a")), ue.href = t, e === ue.href);
50
21
  }
51
- function tr(e) {
22
+ function kt(e) {
52
23
  return Object.keys(e).length === 0;
53
24
  }
54
- function Pt(e, ...t) {
25
+ function gt(e, ...t) {
55
26
  if (e == null) {
56
27
  for (const n of t)
57
28
  n(void 0);
58
- return R;
29
+ return $;
59
30
  }
60
31
  const r = e.subscribe(...t);
61
32
  return r.unsubscribe ? () => r.unsubscribe() : r;
62
33
  }
63
- function rr(e, t, r) {
64
- e.$$.on_destroy.push(Pt(t, r));
34
+ function Vt(e, t, r) {
35
+ e.$$.on_destroy.push(gt(t, r));
65
36
  }
66
37
  function y(e, t) {
67
38
  e.appendChild(t);
68
39
  }
69
- function nr(e, t, r) {
70
- const n = ir(e);
40
+ function Xt(e, t, r) {
41
+ const n = zt(e);
71
42
  if (!n.getElementById(t)) {
72
43
  const i = B("style");
73
- i.id = t, i.textContent = r, sr(n, i);
44
+ i.id = t, i.textContent = r, Wt(n, i);
74
45
  }
75
46
  }
76
- function ir(e) {
47
+ function zt(e) {
77
48
  if (!e) return document;
78
49
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
79
50
  return t && /** @type {ShadowRoot} */
@@ -82,49 +53,49 @@ function ir(e) {
82
53
  t
83
54
  ) : e.ownerDocument;
84
55
  }
85
- function sr(e, t) {
56
+ function Wt(e, t) {
86
57
  return y(
87
58
  /** @type {Document} */
88
59
  e.head || e,
89
60
  t
90
61
  ), t.sheet;
91
62
  }
92
- function $(e, t, r) {
63
+ function M(e, t, r) {
93
64
  e.insertBefore(t, r || null);
94
65
  }
95
- function C(e) {
66
+ function L(e) {
96
67
  e.parentNode && e.parentNode.removeChild(e);
97
68
  }
98
- function et(e, t) {
69
+ function We(e, t) {
99
70
  for (let r = 0; r < e.length; r += 1)
100
71
  e[r] && e[r].d(t);
101
72
  }
102
73
  function B(e) {
103
74
  return document.createElement(e);
104
75
  }
105
- function U(e) {
76
+ function R(e) {
106
77
  return document.createTextNode(e);
107
78
  }
108
- function G() {
109
- return U(" ");
79
+ function U() {
80
+ return R(" ");
110
81
  }
111
- function or() {
112
- return U("");
82
+ function Zt() {
83
+ return R("");
113
84
  }
114
- function Ht(e, t, r, n) {
85
+ function bt(e, t, r, n) {
115
86
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
116
87
  }
117
88
  function S(e, t, r) {
118
89
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
119
90
  }
120
- function ar(e) {
91
+ function Qt(e) {
121
92
  return Array.from(e.childNodes);
122
93
  }
123
- function F(e, t) {
94
+ function D(e, t) {
124
95
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
125
96
  t);
126
97
  }
127
- function ur(e) {
98
+ function Jt(e) {
128
99
  const t = {};
129
100
  return e.childNodes.forEach(
130
101
  /** @param {Element} node */
@@ -133,241 +104,237 @@ function ur(e) {
133
104
  }
134
105
  ), t;
135
106
  }
136
- let Ve;
137
- function ne(e) {
138
- Ve = e;
139
- }
140
- const W = [], we = [];
141
- let Z = [];
142
- const tt = [], hr = /* @__PURE__ */ Promise.resolve();
143
- let Ie = !1;
144
- function lr() {
145
- Ie || (Ie = !0, hr.then(j));
146
- }
147
- function Le(e) {
148
- Z.push(e);
149
- }
150
- const He = /* @__PURE__ */ new Set();
151
- let X = 0;
152
- function j() {
153
- if (X !== 0)
107
+ let je;
108
+ function re(e) {
109
+ je = e;
110
+ }
111
+ const z = [], Oe = [];
112
+ let W = [];
113
+ const Ze = [], qt = /* @__PURE__ */ Promise.resolve();
114
+ let Ne = !1;
115
+ function Yt() {
116
+ Ne || (Ne = !0, qt.then(F));
117
+ }
118
+ function we(e) {
119
+ W.push(e);
120
+ }
121
+ const ye = /* @__PURE__ */ new Set();
122
+ let V = 0;
123
+ function F() {
124
+ if (V !== 0)
154
125
  return;
155
- const e = Ve;
126
+ const e = je;
156
127
  do {
157
128
  try {
158
- for (; X < W.length; ) {
159
- const t = W[X];
160
- X++, ne(t), fr(t.$$);
129
+ for (; V < z.length; ) {
130
+ const t = z[V];
131
+ V++, re(t), Kt(t.$$);
161
132
  }
162
133
  } catch (t) {
163
- throw W.length = 0, X = 0, t;
134
+ throw z.length = 0, V = 0, t;
164
135
  }
165
- for (ne(null), W.length = 0, X = 0; we.length; ) we.pop()();
166
- for (let t = 0; t < Z.length; t += 1) {
167
- const r = Z[t];
168
- He.has(r) || (He.add(r), r());
136
+ for (re(null), z.length = 0, V = 0; Oe.length; ) Oe.pop()();
137
+ for (let t = 0; t < W.length; t += 1) {
138
+ const r = W[t];
139
+ ye.has(r) || (ye.add(r), r());
169
140
  }
170
- Z.length = 0;
171
- } while (W.length);
172
- for (; tt.length; )
173
- tt.pop()();
174
- Ie = !1, He.clear(), ne(e);
141
+ W.length = 0;
142
+ } while (z.length);
143
+ for (; Ze.length; )
144
+ Ze.pop()();
145
+ Ne = !1, ye.clear(), re(e);
175
146
  }
176
- function fr(e) {
147
+ function Kt(e) {
177
148
  if (e.fragment !== null) {
178
- e.update(), oe(e.before_update);
149
+ e.update(), se(e.before_update);
179
150
  const t = e.dirty;
180
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Le);
151
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(we);
181
152
  }
182
153
  }
183
- function cr(e) {
154
+ function er(e) {
184
155
  const t = [], r = [];
185
- Z.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Z = t;
156
+ W.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), W = t;
186
157
  }
187
- const pr = /* @__PURE__ */ new Set();
188
- function mr(e, t) {
189
- e && e.i && (pr.delete(e), e.i(t));
158
+ const tr = /* @__PURE__ */ new Set();
159
+ function rr(e, t) {
160
+ e && e.i && (tr.delete(e), e.i(t));
190
161
  }
191
- function le(e) {
192
- return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
162
+ function he(e) {
163
+ return e?.length !== void 0 ? e : Array.from(e);
193
164
  }
194
- function dr(e, t, r) {
165
+ function nr(e, t, r) {
195
166
  const { fragment: n, after_update: i } = e.$$;
196
- n && n.m(t, r), Le(() => {
197
- const s = e.$$.on_mount.map(xt).filter(ke);
198
- e.$$.on_destroy ? e.$$.on_destroy.push(...s) : oe(s), e.$$.on_mount = [];
199
- }), i.forEach(Le);
167
+ n && n.m(t, r), we(() => {
168
+ const s = e.$$.on_mount.map(dt).filter(Fe);
169
+ e.$$.on_destroy ? e.$$.on_destroy.push(...s) : se(s), e.$$.on_mount = [];
170
+ }), i.forEach(we);
200
171
  }
201
- function gr(e, t) {
172
+ function ir(e, t) {
202
173
  const r = e.$$;
203
- r.fragment !== null && (cr(r.after_update), oe(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
174
+ r.fragment !== null && (er(r.after_update), se(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
204
175
  }
205
- function br(e, t) {
206
- e.$$.dirty[0] === -1 && (W.push(e), lr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
176
+ function sr(e, t) {
177
+ e.$$.dirty[0] === -1 && (z.push(e), Yt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
207
178
  }
208
- function vr(e, t, r, n, i, s, o = null, u = [-1]) {
209
- const h = Ve;
210
- ne(e);
211
- const a = e.$$ = {
179
+ function or(e, t, r, n, i, s, o = null, a = [-1]) {
180
+ const l = je;
181
+ re(e);
182
+ const u = e.$$ = {
212
183
  fragment: null,
213
184
  ctx: [],
214
185
  // state
215
186
  props: s,
216
- update: R,
187
+ update: $,
217
188
  not_equal: i,
218
- bound: Ke(),
189
+ bound: ze(),
219
190
  // lifecycle
220
191
  on_mount: [],
221
192
  on_destroy: [],
222
193
  on_disconnect: [],
223
194
  before_update: [],
224
195
  after_update: [],
225
- context: new Map(t.context || (h ? h.$$.context : [])),
196
+ context: new Map(t.context || (l ? l.$$.context : [])),
226
197
  // everything else
227
- callbacks: Ke(),
228
- dirty: u,
198
+ callbacks: ze(),
199
+ dirty: a,
229
200
  skip_bound: !1,
230
- root: t.target || h.$$.root
201
+ root: t.target || l.$$.root
231
202
  };
232
- o && o(a.root);
233
- let l = !1;
234
- if (a.ctx = r ? r(e, t.props || {}, (c, f, ...g) => {
235
- const d = g.length ? g[0] : f;
236
- return a.ctx && i(a.ctx[c], a.ctx[c] = d) && (!a.skip_bound && a.bound[c] && a.bound[c](d), l && br(e, c)), f;
237
- }) : [], a.update(), l = !0, oe(a.before_update), a.fragment = n ? n(a.ctx) : !1, t.target) {
203
+ o && o(u.root);
204
+ let h = !1;
205
+ if (u.ctx = r(e, t.props || {}, (c, f, ...g) => {
206
+ const m = g.length ? g[0] : f;
207
+ return u.ctx && i(u.ctx[c], u.ctx[c] = m) && (!u.skip_bound && u.bound[c] && u.bound[c](m), h && sr(e, c)), f;
208
+ }), u.update(), h = !0, se(u.before_update), u.fragment = n(u.ctx), t.target) {
238
209
  if (t.hydrate) {
239
- const c = ar(t.target);
240
- a.fragment && a.fragment.l(c), c.forEach(C);
210
+ const c = Qt(t.target);
211
+ u.fragment && u.fragment.l(c), c.forEach(L);
241
212
  } else
242
- a.fragment && a.fragment.c();
243
- t.intro && mr(e.$$.fragment), dr(e, t.target, t.anchor), j();
213
+ u.fragment && u.fragment.c();
214
+ t.intro && rr(e.$$.fragment), nr(e, t.target, t.anchor), F();
244
215
  }
245
- ne(h);
246
- }
247
- let Tt;
248
- typeof HTMLElement == "function" && (Tt = class extends HTMLElement {
249
- constructor(t, r, n) {
250
- super();
251
- /** The Svelte component constructor */
252
- L(this, "$$ctor");
253
- /** Slots */
254
- L(this, "$$s");
255
- /** The Svelte component instance */
256
- L(this, "$$c");
257
- /** Whether or not the custom element is connected */
258
- L(this, "$$cn", !1);
259
- /** Component props data */
260
- L(this, "$$d", {});
261
- /** `true` if currently in the process of reflecting component props back to attributes */
262
- L(this, "$$r", !1);
263
- /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
264
- L(this, "$$p_d", {});
265
- /** @type {Record<string, Function[]>} Event listeners */
266
- L(this, "$$l", {});
267
- /** @type {Map<Function, Function>} Event listener unsubscribe functions */
268
- L(this, "$$l_u", /* @__PURE__ */ new Map());
269
- this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
216
+ re(l);
217
+ }
218
+ let vt;
219
+ typeof HTMLElement == "function" && (vt = class extends HTMLElement {
220
+ /** The Svelte component constructor */
221
+ $$ctor;
222
+ /** Slots */
223
+ $$s;
224
+ /** The Svelte component instance */
225
+ $$c;
226
+ /** Whether or not the custom element is connected */
227
+ $$cn = !1;
228
+ /** Component props data */
229
+ $$d = {};
230
+ /** `true` if currently in the process of reflecting component props back to attributes */
231
+ $$r = !1;
232
+ /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
233
+ $$p_d = {};
234
+ /** @type {Record<string, Function[]>} Event listeners */
235
+ $$l = {};
236
+ /** @type {Map<Function, Function>} Event listener unsubscribe functions */
237
+ $$l_u = /* @__PURE__ */ new Map();
238
+ constructor(e, t, r) {
239
+ super(), this.$$ctor = e, this.$$s = t, r && this.attachShadow({ mode: "open" });
270
240
  }
271
- addEventListener(t, r, n) {
272
- if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(r), this.$$c) {
273
- const i = this.$$c.$on(t, r);
274
- this.$$l_u.set(r, i);
241
+ addEventListener(e, t, r) {
242
+ if (this.$$l[e] = this.$$l[e] || [], this.$$l[e].push(t), this.$$c) {
243
+ const n = this.$$c.$on(e, t);
244
+ this.$$l_u.set(t, n);
275
245
  }
276
- super.addEventListener(t, r, n);
246
+ super.addEventListener(e, t, r);
277
247
  }
278
- removeEventListener(t, r, n) {
279
- if (super.removeEventListener(t, r, n), this.$$c) {
280
- const i = this.$$l_u.get(r);
281
- i && (i(), this.$$l_u.delete(r));
248
+ removeEventListener(e, t, r) {
249
+ if (super.removeEventListener(e, t, r), this.$$c) {
250
+ const n = this.$$l_u.get(t);
251
+ n && (n(), this.$$l_u.delete(t));
282
252
  }
283
253
  }
284
- connectedCallback() {
285
- return Ye(this, null, function* () {
286
- if (this.$$cn = !0, !this.$$c) {
287
- let t = function(s) {
288
- return () => {
289
- let o;
290
- return {
291
- c: function() {
292
- o = B("slot"), s !== "default" && S(o, "name", s);
293
- },
294
- /**
295
- * @param {HTMLElement} target
296
- * @param {HTMLElement} [anchor]
297
- */
298
- m: function(a, l) {
299
- $(a, o, l);
300
- },
301
- d: function(a) {
302
- a && C(o);
303
- }
304
- };
254
+ async connectedCallback() {
255
+ if (this.$$cn = !0, !this.$$c) {
256
+ let e = function(i) {
257
+ return () => {
258
+ let s;
259
+ return {
260
+ c: function() {
261
+ s = B("slot"), i !== "default" && S(s, "name", i);
262
+ },
263
+ /**
264
+ * @param {HTMLElement} target
265
+ * @param {HTMLElement} [anchor]
266
+ */
267
+ m: function(l, u) {
268
+ M(l, s, u);
269
+ },
270
+ d: function(l) {
271
+ l && L(s);
272
+ }
305
273
  };
306
274
  };
307
- if (yield Promise.resolve(), !this.$$cn || this.$$c)
308
- return;
309
- const r = {}, n = ur(this);
310
- for (const s of this.$$s)
311
- s in n && (r[s] = [t(s)]);
312
- for (const s of this.attributes) {
313
- const o = this.$$g_p(s.name);
314
- o in this.$$d || (this.$$d[o] = ce(o, s.value, this.$$p_d, "toProp"));
275
+ };
276
+ if (await Promise.resolve(), !this.$$cn || this.$$c)
277
+ return;
278
+ const t = {}, r = Jt(this);
279
+ for (const i of this.$$s)
280
+ i in r && (t[i] = [e(i)]);
281
+ for (const i of this.attributes) {
282
+ const s = this.$$g_p(i.name);
283
+ s in this.$$d || (this.$$d[s] = fe(s, i.value, this.$$p_d, "toProp"));
284
+ }
285
+ for (const i in this.$$p_d)
286
+ !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
287
+ this.$$c = new this.$$ctor({
288
+ target: this.shadowRoot || this,
289
+ props: {
290
+ ...this.$$d,
291
+ $$slots: t,
292
+ $$scope: {
293
+ ctx: []
294
+ }
315
295
  }
316
- for (const s in this.$$p_d)
317
- !(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
318
- this.$$c = new this.$$ctor({
319
- target: this.shadowRoot || this,
320
- props: qe(Je({}, this.$$d), {
321
- $$slots: r,
322
- $$scope: {
323
- ctx: []
324
- }
325
- })
326
- });
327
- const i = () => {
328
- this.$$r = !0;
329
- for (const s in this.$$p_d)
330
- if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
331
- const o = ce(
332
- s,
333
- this.$$d[s],
334
- this.$$p_d,
335
- "toAttribute"
336
- );
337
- o == null ? this.removeAttribute(this.$$p_d[s].attribute || s) : this.setAttribute(this.$$p_d[s].attribute || s, o);
338
- }
339
- this.$$r = !1;
340
- };
341
- this.$$c.$$.after_update.push(i), i();
342
- for (const s in this.$$l)
343
- for (const o of this.$$l[s]) {
344
- const u = this.$$c.$on(s, o);
345
- this.$$l_u.set(o, u);
296
+ });
297
+ const n = () => {
298
+ this.$$r = !0;
299
+ for (const i in this.$$p_d)
300
+ if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
301
+ const s = fe(
302
+ i,
303
+ this.$$d[i],
304
+ this.$$p_d,
305
+ "toAttribute"
306
+ );
307
+ s == null ? this.removeAttribute(this.$$p_d[i].attribute || i) : this.setAttribute(this.$$p_d[i].attribute || i, s);
346
308
  }
347
- this.$$l = {};
348
- }
349
- });
309
+ this.$$r = !1;
310
+ };
311
+ this.$$c.$$.after_update.push(n), n();
312
+ for (const i in this.$$l)
313
+ for (const s of this.$$l[i]) {
314
+ const o = this.$$c.$on(i, s);
315
+ this.$$l_u.set(s, o);
316
+ }
317
+ this.$$l = {};
318
+ }
350
319
  }
351
320
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
352
321
  // and setting attributes through setAttribute etc, this is helpful
353
- attributeChangedCallback(t, r, n) {
354
- var i;
355
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = ce(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
322
+ attributeChangedCallback(e, t, r) {
323
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = fe(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
356
324
  }
357
325
  disconnectedCallback() {
358
326
  this.$$cn = !1, Promise.resolve().then(() => {
359
327
  !this.$$cn && this.$$c && (this.$$c.$destroy(), this.$$c = void 0);
360
328
  });
361
329
  }
362
- $$g_p(t) {
330
+ $$g_p(e) {
363
331
  return Object.keys(this.$$p_d).find(
364
- (r) => this.$$p_d[r].attribute === t || !this.$$p_d[r].attribute && r.toLowerCase() === t
365
- ) || t;
332
+ (t) => this.$$p_d[t].attribute === e || !this.$$p_d[t].attribute && t.toLowerCase() === e
333
+ ) || e;
366
334
  }
367
335
  });
368
- function ce(e, t, r, n) {
369
- var s;
370
- const i = (s = r[e]) == null ? void 0 : s.type;
336
+ function fe(e, t, r, n) {
337
+ const i = r[e]?.type;
371
338
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
372
339
  return t;
373
340
  if (n === "toAttribute")
@@ -378,7 +345,7 @@ function ce(e, t, r, n) {
378
345
  case "Boolean":
379
346
  return t ? "" : null;
380
347
  case "Number":
381
- return t == null ? null : t;
348
+ return t ?? null;
382
349
  default:
383
350
  return t;
384
351
  }
@@ -395,59 +362,55 @@ function ce(e, t, r, n) {
395
362
  return t;
396
363
  }
397
364
  }
398
- function Er(e, t, r, n, i, s) {
399
- let o = class extends Tt {
365
+ function ar(e, t, r, n, i, s) {
366
+ let o = class extends vt {
400
367
  constructor() {
401
368
  super(e, r, i), this.$$p_d = t;
402
369
  }
403
370
  static get observedAttributes() {
404
371
  return Object.keys(t).map(
405
- (u) => (t[u].attribute || u).toLowerCase()
372
+ (a) => (t[a].attribute || a).toLowerCase()
406
373
  );
407
374
  }
408
375
  };
409
- return Object.keys(t).forEach((u) => {
410
- Object.defineProperty(o.prototype, u, {
376
+ return Object.keys(t).forEach((a) => {
377
+ Object.defineProperty(o.prototype, a, {
411
378
  get() {
412
- return this.$$c && u in this.$$c ? this.$$c[u] : this.$$d[u];
379
+ return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
413
380
  },
414
- set(h) {
415
- var a;
416
- h = ce(u, h, t), this.$$d[u] = h, (a = this.$$c) == null || a.$set({ [u]: h });
381
+ set(l) {
382
+ l = fe(a, l, t), this.$$d[a] = l, this.$$c?.$set({ [a]: l });
417
383
  }
418
384
  });
419
- }), n.forEach((u) => {
420
- Object.defineProperty(o.prototype, u, {
385
+ }), n.forEach((a) => {
386
+ Object.defineProperty(o.prototype, a, {
421
387
  get() {
422
- var h;
423
- return (h = this.$$c) == null ? void 0 : h[u];
388
+ return this.$$c?.[a];
424
389
  }
425
390
  });
426
391
  }), e.element = /** @type {any} */
427
392
  o, o;
428
393
  }
429
- class _r {
430
- constructor() {
431
- /**
432
- * ### PRIVATE API
433
- *
434
- * Do not use, may change at any time
435
- *
436
- * @type {any}
437
- */
438
- L(this, "$$");
439
- /**
440
- * ### PRIVATE API
441
- *
442
- * Do not use, may change at any time
443
- *
444
- * @type {any}
445
- */
446
- L(this, "$$set");
447
- }
394
+ class ur {
395
+ /**
396
+ * ### PRIVATE API
397
+ *
398
+ * Do not use, may change at any time
399
+ *
400
+ * @type {any}
401
+ */
402
+ $$ = void 0;
403
+ /**
404
+ * ### PRIVATE API
405
+ *
406
+ * Do not use, may change at any time
407
+ *
408
+ * @type {any}
409
+ */
410
+ $$set = void 0;
448
411
  /** @returns {void} */
449
412
  $destroy() {
450
- gr(this, 1), this.$destroy = R;
413
+ ir(this, 1), this.$destroy = $;
451
414
  }
452
415
  /**
453
416
  * @template {Extract<keyof Events, string>} K
@@ -456,8 +419,8 @@ class _r {
456
419
  * @returns {() => void}
457
420
  */
458
421
  $on(t, r) {
459
- if (!ke(r))
460
- return R;
422
+ if (!Fe(r))
423
+ return $;
461
424
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
462
425
  return n.push(r), () => {
463
426
  const i = n.indexOf(r);
@@ -469,12 +432,12 @@ class _r {
469
432
  * @returns {void}
470
433
  */
471
434
  $set(t) {
472
- this.$$set && !tr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
435
+ this.$$set && !kt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
473
436
  }
474
437
  }
475
- const xr = "4";
476
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(xr);
477
- const rt = {
438
+ const hr = "4";
439
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(hr);
440
+ const Qe = {
478
441
  en: {
479
442
  popularProviders: "Popular Suppliers",
480
443
  otherProviders: "Other Suppliers",
@@ -583,154 +546,154 @@ const rt = {
583
546
  loading: "Loading, please wait...",
584
547
  games: "games"
585
548
  }
586
- }, z = [];
587
- function yr(e, t) {
549
+ }, X = [];
550
+ function lr(e, t) {
588
551
  return {
589
- subscribe: ve(e, t).subscribe
552
+ subscribe: be(e, t).subscribe
590
553
  };
591
554
  }
592
- function ve(e, t = R) {
555
+ function be(e, t = $) {
593
556
  let r;
594
557
  const n = /* @__PURE__ */ new Set();
595
- function i(u) {
596
- if (yt(e, u) && (e = u, r)) {
597
- const h = !z.length;
598
- for (const a of n)
599
- a[1](), z.push(a, e);
600
- if (h) {
601
- for (let a = 0; a < z.length; a += 2)
602
- z[a][0](z[a + 1]);
603
- z.length = 0;
558
+ function i(a) {
559
+ if (mt(e, a) && (e = a, r)) {
560
+ const l = !X.length;
561
+ for (const u of n)
562
+ u[1](), X.push(u, e);
563
+ if (l) {
564
+ for (let u = 0; u < X.length; u += 2)
565
+ X[u][0](X[u + 1]);
566
+ X.length = 0;
604
567
  }
605
568
  }
606
569
  }
607
- function s(u) {
608
- i(u(e));
570
+ function s(a) {
571
+ i(a(e));
609
572
  }
610
- function o(u, h = R) {
611
- const a = [u, h];
612
- return n.add(a), n.size === 1 && (r = t(i, s) || R), u(e), () => {
613
- n.delete(a), n.size === 0 && r && (r(), r = null);
573
+ function o(a, l = $) {
574
+ const u = [a, l];
575
+ return n.add(u), n.size === 1 && (r = t(i, s) || $), a(e), () => {
576
+ n.delete(u), n.size === 0 && r && (r(), r = null);
614
577
  };
615
578
  }
616
579
  return { set: i, update: s, subscribe: o };
617
580
  }
618
- function K(e, t, r) {
581
+ function Y(e, t, r) {
619
582
  const n = !Array.isArray(e), i = n ? [e] : e;
620
583
  if (!i.every(Boolean))
621
584
  throw new Error("derived() expects stores as input, got a falsy value");
622
585
  const s = t.length < 2;
623
- return yr(r, (o, u) => {
624
- let h = !1;
625
- const a = [];
626
- let l = 0, c = R;
586
+ return lr(r, (o, a) => {
587
+ let l = !1;
588
+ const u = [];
589
+ let h = 0, c = $;
627
590
  const f = () => {
628
- if (l)
591
+ if (h)
629
592
  return;
630
593
  c();
631
- const d = t(n ? a[0] : a, o, u);
632
- s ? o(d) : c = ke(d) ? d : R;
594
+ const m = t(n ? u[0] : u, o, a);
595
+ s ? o(m) : c = Fe(m) ? m : $;
633
596
  }, g = i.map(
634
- (d, p) => Pt(
635
- d,
597
+ (m, p) => gt(
598
+ m,
636
599
  (v) => {
637
- a[p] = v, l &= ~(1 << p), h && f();
600
+ u[p] = v, h &= ~(1 << p), l && f();
638
601
  },
639
602
  () => {
640
- l |= 1 << p;
603
+ h |= 1 << p;
641
604
  }
642
605
  )
643
606
  );
644
- return h = !0, f(), function() {
645
- oe(g), c(), h = !1;
607
+ return l = !0, f(), function() {
608
+ se(g), c(), l = !1;
646
609
  };
647
610
  });
648
611
  }
649
- function Pr(e) {
650
- return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
612
+ function fr(e) {
613
+ return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
651
614
  }
652
- var Hr = function(t) {
653
- return Tr(t) && !Sr(t);
615
+ var cr = function(t) {
616
+ return pr(t) && !dr(t);
654
617
  };
655
- function Tr(e) {
618
+ function pr(e) {
656
619
  return !!e && typeof e == "object";
657
620
  }
658
- function Sr(e) {
621
+ function dr(e) {
659
622
  var t = Object.prototype.toString.call(e);
660
- return t === "[object RegExp]" || t === "[object Date]" || Or(e);
623
+ return t === "[object RegExp]" || t === "[object Date]" || br(e);
661
624
  }
662
- var Ar = typeof Symbol == "function" && Symbol.for, Br = Ar ? Symbol.for("react.element") : 60103;
663
- function Or(e) {
664
- return e.$$typeof === Br;
625
+ var mr = typeof Symbol == "function" && Symbol.for, gr = mr ? Symbol.for("react.element") : 60103;
626
+ function br(e) {
627
+ return e.$$typeof === gr;
665
628
  }
666
- function Nr(e) {
629
+ function vr(e) {
667
630
  return Array.isArray(e) ? [] : {};
668
631
  }
669
- function ie(e, t) {
670
- return t.clone !== !1 && t.isMergeableObject(e) ? Q(Nr(e), e, t) : e;
632
+ function ne(e, t) {
633
+ return t.clone !== !1 && t.isMergeableObject(e) ? Z(vr(e), e, t) : e;
671
634
  }
672
- function wr(e, t, r) {
635
+ function _r(e, t, r) {
673
636
  return e.concat(t).map(function(n) {
674
- return ie(n, r);
637
+ return ne(n, r);
675
638
  });
676
639
  }
677
- function Ir(e, t) {
640
+ function Er(e, t) {
678
641
  if (!t.customMerge)
679
- return Q;
642
+ return Z;
680
643
  var r = t.customMerge(e);
681
- return typeof r == "function" ? r : Q;
644
+ return typeof r == "function" ? r : Z;
682
645
  }
683
- function Lr(e) {
646
+ function xr(e) {
684
647
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
685
648
  return Object.propertyIsEnumerable.call(e, t);
686
649
  }) : [];
687
650
  }
688
- function nt(e) {
689
- return Object.keys(e).concat(Lr(e));
651
+ function Je(e) {
652
+ return Object.keys(e).concat(xr(e));
690
653
  }
691
- function St(e, t) {
654
+ function _t(e, t) {
692
655
  try {
693
656
  return t in e;
694
- } catch (r) {
657
+ } catch {
695
658
  return !1;
696
659
  }
697
660
  }
698
- function Cr(e, t) {
699
- return St(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
661
+ function yr(e, t) {
662
+ return _t(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
700
663
  }
701
- function Mr(e, t, r) {
664
+ function Pr(e, t, r) {
702
665
  var n = {};
703
- return r.isMergeableObject(e) && nt(e).forEach(function(i) {
704
- n[i] = ie(e[i], r);
705
- }), nt(t).forEach(function(i) {
706
- Cr(e, i) || (St(e, i) && r.isMergeableObject(t[i]) ? n[i] = Ir(i, r)(e[i], t[i], r) : n[i] = ie(t[i], r));
666
+ return r.isMergeableObject(e) && Je(e).forEach(function(i) {
667
+ n[i] = ne(e[i], r);
668
+ }), Je(t).forEach(function(i) {
669
+ yr(e, i) || (_t(e, i) && r.isMergeableObject(t[i]) ? n[i] = Er(i, r)(e[i], t[i], r) : n[i] = ne(t[i], r));
707
670
  }), n;
708
671
  }
709
- function Q(e, t, r) {
710
- r = r || {}, r.arrayMerge = r.arrayMerge || wr, r.isMergeableObject = r.isMergeableObject || Hr, r.cloneUnlessOtherwiseSpecified = ie;
672
+ function Z(e, t, r) {
673
+ r = r || {}, r.arrayMerge = r.arrayMerge || _r, r.isMergeableObject = r.isMergeableObject || cr, r.cloneUnlessOtherwiseSpecified = ne;
711
674
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
712
- return s ? n ? r.arrayMerge(e, t, r) : Mr(e, t, r) : ie(t, r);
675
+ return s ? n ? r.arrayMerge(e, t, r) : Pr(e, t, r) : ne(t, r);
713
676
  }
714
- Q.all = function(t, r) {
677
+ Z.all = function(t, r) {
715
678
  if (!Array.isArray(t))
716
679
  throw new Error("first argument should be an array");
717
680
  return t.reduce(function(n, i) {
718
- return Q(n, i, r);
681
+ return Z(n, i, r);
719
682
  }, {});
720
683
  };
721
- var $r = Q, Rr = $r;
722
- const Ur = /* @__PURE__ */ Pr(Rr);
723
- var Ce = function(e, t) {
724
- return Ce = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
684
+ var Hr = Z, Tr = Hr;
685
+ const Sr = /* @__PURE__ */ fr(Tr);
686
+ var Ie = function(e, t) {
687
+ return Ie = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
725
688
  r.__proto__ = n;
726
689
  } || function(r, n) {
727
690
  for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
728
- }, Ce(e, t);
691
+ }, Ie(e, t);
729
692
  };
730
- function Ee(e, t) {
693
+ function ve(e, t) {
731
694
  if (typeof t != "function" && t !== null)
732
695
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
733
- Ce(e, t);
696
+ Ie(e, t);
734
697
  function r() {
735
698
  this.constructor = e;
736
699
  }
@@ -745,7 +708,7 @@ var x = function() {
745
708
  return t;
746
709
  }, x.apply(this, arguments);
747
710
  };
748
- function Gr(e, t) {
711
+ function Ar(e, t) {
749
712
  var r = {};
750
713
  for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
751
714
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
@@ -753,110 +716,112 @@ function Gr(e, t) {
753
716
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
754
717
  return r;
755
718
  }
756
- function Te(e, t, r) {
719
+ function Pe(e, t, r) {
757
720
  if (r || arguments.length === 2) for (var n = 0, i = t.length, s; n < i; n++)
758
721
  (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
759
722
  return e.concat(s || Array.prototype.slice.call(t));
760
723
  }
761
- function Se(e, t) {
762
- var r = t && t.cache ? t.cache : Xr, n = t && t.serializer ? t.serializer : Vr, i = t && t.strategy ? t.strategy : Fr;
724
+ function He(e, t) {
725
+ var r = t && t.cache ? t.cache : Cr, n = t && t.serializer ? t.serializer : Ir, i = t && t.strategy ? t.strategy : Or;
763
726
  return i(e, {
764
727
  cache: r,
765
728
  serializer: n
766
729
  });
767
730
  }
768
- function Dr(e) {
731
+ function Br(e) {
769
732
  return e == null || typeof e == "number" || typeof e == "boolean";
770
733
  }
771
- function At(e, t, r, n) {
772
- var i = Dr(n) ? n : r(n), s = t.get(i);
773
- return typeof s == "undefined" && (s = e.call(this, n), t.set(i, s)), s;
734
+ function Et(e, t, r, n) {
735
+ var i = Br(n) ? n : r(n), s = t.get(i);
736
+ return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
774
737
  }
775
- function Bt(e, t, r) {
738
+ function xt(e, t, r) {
776
739
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
777
- return typeof s == "undefined" && (s = e.apply(this, n), t.set(i, s)), s;
740
+ return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
778
741
  }
779
- function Xe(e, t, r, n, i) {
742
+ function ke(e, t, r, n, i) {
780
743
  return r.bind(t, e, n, i);
781
744
  }
782
- function Fr(e, t) {
783
- var r = e.length === 1 ? At : Bt;
784
- return Xe(e, this, r, t.cache.create(), t.serializer);
745
+ function Or(e, t) {
746
+ var r = e.length === 1 ? Et : xt;
747
+ return ke(e, this, r, t.cache.create(), t.serializer);
785
748
  }
786
- function jr(e, t) {
787
- return Xe(e, this, Bt, t.cache.create(), t.serializer);
749
+ function Nr(e, t) {
750
+ return ke(e, this, xt, t.cache.create(), t.serializer);
788
751
  }
789
- function kr(e, t) {
790
- return Xe(e, this, At, t.cache.create(), t.serializer);
752
+ function wr(e, t) {
753
+ return ke(e, this, Et, t.cache.create(), t.serializer);
791
754
  }
792
- var Vr = function() {
755
+ var Ir = function() {
793
756
  return JSON.stringify(arguments);
794
- };
795
- function ze() {
796
- this.cache = /* @__PURE__ */ Object.create(null);
797
- }
798
- ze.prototype.get = function(e) {
799
- return this.cache[e];
800
- };
801
- ze.prototype.set = function(e, t) {
802
- this.cache[e] = t;
803
- };
804
- var Xr = {
757
+ }, Lr = (
758
+ /** @class */
759
+ function() {
760
+ function e() {
761
+ this.cache = /* @__PURE__ */ Object.create(null);
762
+ }
763
+ return e.prototype.get = function(t) {
764
+ return this.cache[t];
765
+ }, e.prototype.set = function(t, r) {
766
+ this.cache[t] = r;
767
+ }, e;
768
+ }()
769
+ ), Cr = {
805
770
  create: function() {
806
- return new ze();
771
+ return new Lr();
807
772
  }
808
- }, Ae = {
809
- variadic: jr,
810
- monadic: kr
811
- }, E;
773
+ }, Te = {
774
+ variadic: Nr,
775
+ monadic: wr
776
+ }, _;
812
777
  (function(e) {
813
778
  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";
814
- })(E || (E = {}));
779
+ })(_ || (_ = {}));
815
780
  var P;
816
781
  (function(e) {
817
782
  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";
818
783
  })(P || (P = {}));
819
- var J;
784
+ var Q;
820
785
  (function(e) {
821
786
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
822
- })(J || (J = {}));
823
- function it(e) {
787
+ })(Q || (Q = {}));
788
+ function qe(e) {
824
789
  return e.type === P.literal;
825
790
  }
826
- function zr(e) {
791
+ function Mr(e) {
827
792
  return e.type === P.argument;
828
793
  }
829
- function Ot(e) {
794
+ function yt(e) {
830
795
  return e.type === P.number;
831
796
  }
832
- function Nt(e) {
797
+ function Pt(e) {
833
798
  return e.type === P.date;
834
799
  }
835
- function wt(e) {
800
+ function Ht(e) {
836
801
  return e.type === P.time;
837
802
  }
838
- function It(e) {
803
+ function Tt(e) {
839
804
  return e.type === P.select;
840
805
  }
841
- function Lt(e) {
806
+ function St(e) {
842
807
  return e.type === P.plural;
843
808
  }
844
- function Wr(e) {
809
+ function $r(e) {
845
810
  return e.type === P.pound;
846
811
  }
847
- function Ct(e) {
812
+ function At(e) {
848
813
  return e.type === P.tag;
849
814
  }
850
- function Mt(e) {
851
- return !!(e && typeof e == "object" && e.type === J.number);
815
+ function Bt(e) {
816
+ return !!(e && typeof e == "object" && e.type === Q.number);
852
817
  }
853
- function Me(e) {
854
- return !!(e && typeof e == "object" && e.type === J.dateTime);
818
+ function Le(e) {
819
+ return !!(e && typeof e == "object" && e.type === Q.dateTime);
855
820
  }
856
- var $t = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Zr = /(?:[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;
857
- function Qr(e) {
821
+ var Ot = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Rr = /(?:[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;
822
+ function Ur(e) {
858
823
  var t = {};
859
- return e.replace(Zr, function(r) {
824
+ return e.replace(Rr, function(r) {
860
825
  var n = r.length;
861
826
  switch (r[0]) {
862
827
  case "G":
@@ -945,36 +910,36 @@ function Qr(e) {
945
910
  return "";
946
911
  }), t;
947
912
  }
948
- var Jr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
949
- function qr(e) {
913
+ var Gr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
914
+ function Dr(e) {
950
915
  if (e.length === 0)
951
916
  throw new Error("Number skeleton cannot be empty");
952
- for (var t = e.split(Jr).filter(function(f) {
917
+ for (var t = e.split(Gr).filter(function(f) {
953
918
  return f.length > 0;
954
919
  }), r = [], n = 0, i = t; n < i.length; n++) {
955
920
  var s = i[n], o = s.split("/");
956
921
  if (o.length === 0)
957
922
  throw new Error("Invalid number skeleton");
958
- for (var u = o[0], h = o.slice(1), a = 0, l = h; a < l.length; a++) {
959
- var c = l[a];
923
+ for (var a = o[0], l = o.slice(1), u = 0, h = l; u < h.length; u++) {
924
+ var c = h[u];
960
925
  if (c.length === 0)
961
926
  throw new Error("Invalid number skeleton");
962
927
  }
963
- r.push({ stem: u, options: h });
928
+ r.push({ stem: a, options: l });
964
929
  }
965
930
  return r;
966
931
  }
967
- function Yr(e) {
932
+ function Fr(e) {
968
933
  return e.replace(/^(.*?)-/, "");
969
934
  }
970
- var st = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Rt = /^(@+)?(\+|#+)?[rs]?$/g, Kr = /(\*)(0+)|(#+)(0+)|(0+)/g, Ut = /^(0+)$/;
971
- function ot(e) {
935
+ var Ye = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Nt = /^(@+)?(\+|#+)?[rs]?$/g, jr = /(\*)(0+)|(#+)(0+)|(0+)/g, wt = /^(0+)$/;
936
+ function Ke(e) {
972
937
  var t = {};
973
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Rt, function(r, n, i) {
938
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Nt, function(r, n, i) {
974
939
  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)), "";
975
940
  }), t;
976
941
  }
977
- function Gt(e) {
942
+ function It(e) {
978
943
  switch (e) {
979
944
  case "sign-auto":
980
945
  return {
@@ -1014,7 +979,7 @@ function Gt(e) {
1014
979
  };
1015
980
  }
1016
981
  }
1017
- function en(e) {
982
+ function kr(e) {
1018
983
  var t;
1019
984
  if (e[0] === "E" && e[1] === "E" ? (t = {
1020
985
  notation: "engineering"
@@ -1022,17 +987,17 @@ function en(e) {
1022
987
  notation: "scientific"
1023
988
  }, e = e.slice(1)), t) {
1024
989
  var r = e.slice(0, 2);
1025
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Ut.test(e))
990
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !wt.test(e))
1026
991
  throw new Error("Malformed concise eng/scientific notation");
1027
992
  t.minimumIntegerDigits = e.length;
1028
993
  }
1029
994
  return t;
1030
995
  }
1031
- function at(e) {
1032
- var t = {}, r = Gt(e);
996
+ function et(e) {
997
+ var t = {}, r = It(e);
1033
998
  return r || t;
1034
999
  }
1035
- function tn(e) {
1000
+ function Vr(e) {
1036
1001
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1037
1002
  var i = n[r];
1038
1003
  switch (i.stem) {
@@ -1056,7 +1021,7 @@ function tn(e) {
1056
1021
  continue;
1057
1022
  case "measure-unit":
1058
1023
  case "unit":
1059
- t.style = "unit", t.unit = Yr(i.options[0]);
1024
+ t.style = "unit", t.unit = Fr(i.options[0]);
1060
1025
  continue;
1061
1026
  case "compact-short":
1062
1027
  case "K":
@@ -1067,13 +1032,13 @@ function tn(e) {
1067
1032
  t.notation = "compact", t.compactDisplay = "long";
1068
1033
  continue;
1069
1034
  case "scientific":
1070
- t = x(x(x({}, t), { notation: "scientific" }), i.options.reduce(function(h, a) {
1071
- return x(x({}, h), at(a));
1035
+ t = x(x(x({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1036
+ return x(x({}, l), et(u));
1072
1037
  }, {}));
1073
1038
  continue;
1074
1039
  case "engineering":
1075
- t = x(x(x({}, t), { notation: "engineering" }), i.options.reduce(function(h, a) {
1076
- return x(x({}, h), at(a));
1040
+ t = x(x(x({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1041
+ return x(x({}, l), et(u));
1077
1042
  }, {}));
1078
1043
  continue;
1079
1044
  case "notation-simple":
@@ -1118,9 +1083,9 @@ function tn(e) {
1118
1083
  case "integer-width":
1119
1084
  if (i.options.length > 1)
1120
1085
  throw new RangeError("integer-width stems only accept a single optional option");
1121
- i.options[0].replace(Kr, function(h, a, l, c, f, g) {
1122
- if (a)
1123
- t.minimumIntegerDigits = l.length;
1086
+ i.options[0].replace(jr, function(l, u, h, c, f, g) {
1087
+ if (u)
1088
+ t.minimumIntegerDigits = h.length;
1124
1089
  else {
1125
1090
  if (c && f)
1126
1091
  throw new Error("We currently do not support maximum integer digits");
@@ -1131,32 +1096,32 @@ function tn(e) {
1131
1096
  });
1132
1097
  continue;
1133
1098
  }
1134
- if (Ut.test(i.stem)) {
1099
+ if (wt.test(i.stem)) {
1135
1100
  t.minimumIntegerDigits = i.stem.length;
1136
1101
  continue;
1137
1102
  }
1138
- if (st.test(i.stem)) {
1103
+ if (Ye.test(i.stem)) {
1139
1104
  if (i.options.length > 1)
1140
1105
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1141
- i.stem.replace(st, function(h, a, l, c, f, g) {
1142
- return l === "*" ? t.minimumFractionDigits = a.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && g ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + g.length) : (t.minimumFractionDigits = a.length, t.maximumFractionDigits = a.length), "";
1106
+ i.stem.replace(Ye, function(l, u, h, c, f, g) {
1107
+ return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && g ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + g.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1143
1108
  });
1144
1109
  var s = i.options[0];
1145
- s === "w" ? t = x(x({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = x(x({}, t), ot(s)));
1110
+ s === "w" ? t = x(x({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = x(x({}, t), Ke(s)));
1146
1111
  continue;
1147
1112
  }
1148
- if (Rt.test(i.stem)) {
1149
- t = x(x({}, t), ot(i.stem));
1113
+ if (Nt.test(i.stem)) {
1114
+ t = x(x({}, t), Ke(i.stem));
1150
1115
  continue;
1151
1116
  }
1152
- var o = Gt(i.stem);
1117
+ var o = It(i.stem);
1153
1118
  o && (t = x(x({}, t), o));
1154
- var u = en(i.stem);
1155
- u && (t = x(x({}, t), u));
1119
+ var a = kr(i.stem);
1120
+ a && (t = x(x({}, t), a));
1156
1121
  }
1157
1122
  return t;
1158
1123
  }
1159
- var fe = {
1124
+ var le = {
1160
1125
  "001": [
1161
1126
  "H",
1162
1127
  "h"
@@ -2571,22 +2536,22 @@ var fe = {
2571
2536
  "h"
2572
2537
  ]
2573
2538
  };
2574
- function rn(e, t) {
2539
+ function Xr(e, t) {
2575
2540
  for (var r = "", n = 0; n < e.length; n++) {
2576
2541
  var i = e.charAt(n);
2577
2542
  if (i === "j") {
2578
2543
  for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2579
2544
  s++, n++;
2580
- var o = 1 + (s & 1), u = s < 2 ? 1 : 3 + (s >> 1), h = "a", a = nn(t);
2581
- for ((a == "H" || a == "k") && (u = 0); u-- > 0; )
2582
- r += h;
2545
+ var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = zr(t);
2546
+ for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2547
+ r += l;
2583
2548
  for (; o-- > 0; )
2584
- r = a + r;
2549
+ r = u + r;
2585
2550
  } else i === "J" ? r += "H" : r += i;
2586
2551
  }
2587
2552
  return r;
2588
2553
  }
2589
- function nn(e) {
2554
+ function zr(e) {
2590
2555
  var t = e.hourCycle;
2591
2556
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2592
2557
  e.hourCycles && // @ts-ignore
@@ -2605,23 +2570,23 @@ function nn(e) {
2605
2570
  }
2606
2571
  var r = e.language, n;
2607
2572
  r !== "root" && (n = e.maximize().region);
2608
- var i = fe[n || ""] || fe[r || ""] || fe["".concat(r, "-001")] || fe["001"];
2573
+ var i = le[n || ""] || le[r || ""] || le["".concat(r, "-001")] || le["001"];
2609
2574
  return i[0];
2610
2575
  }
2611
- var Be, sn = new RegExp("^".concat($t.source, "*")), on = new RegExp("".concat($t.source, "*$"));
2612
- function _(e, t) {
2576
+ var Se, Wr = new RegExp("^".concat(Ot.source, "*")), Zr = new RegExp("".concat(Ot.source, "*$"));
2577
+ function E(e, t) {
2613
2578
  return { start: e, end: t };
2614
2579
  }
2615
- var an = !!String.prototype.startsWith && "_a".startsWith("a", 1), un = !!String.fromCodePoint, hn = !!Object.fromEntries, ln = !!String.prototype.codePointAt, fn = !!String.prototype.trimStart, cn = !!String.prototype.trimEnd, pn = !!Number.isSafeInteger, mn = pn ? Number.isSafeInteger : function(e) {
2580
+ var Qr = !!String.prototype.startsWith && "_a".startsWith("a", 1), Jr = !!String.fromCodePoint, qr = !!Object.fromEntries, Yr = !!String.prototype.codePointAt, Kr = !!String.prototype.trimStart, en = !!String.prototype.trimEnd, tn = !!Number.isSafeInteger, rn = tn ? Number.isSafeInteger : function(e) {
2616
2581
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2617
- }, $e = !0;
2582
+ }, Ce = !0;
2618
2583
  try {
2619
- var dn = Ft("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2620
- $e = ((Be = dn.exec("a")) === null || Be === void 0 ? void 0 : Be[0]) === "a";
2621
- } catch (e) {
2622
- $e = !1;
2584
+ var nn = Ct("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2585
+ Ce = ((Se = nn.exec("a")) === null || Se === void 0 ? void 0 : Se[0]) === "a";
2586
+ } catch {
2587
+ Ce = !1;
2623
2588
  }
2624
- var ut = an ? (
2589
+ var tt = Qr ? (
2625
2590
  // Native
2626
2591
  function(t, r, n) {
2627
2592
  return t.startsWith(r, n);
@@ -2631,7 +2596,7 @@ var ut = an ? (
2631
2596
  function(t, r, n) {
2632
2597
  return t.slice(n, n + r.length) === r;
2633
2598
  }
2634
- ), Re = un ? String.fromCodePoint : (
2599
+ ), Me = Jr ? String.fromCodePoint : (
2635
2600
  // IE11
2636
2601
  function() {
2637
2602
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2643,19 +2608,19 @@ var ut = an ? (
2643
2608
  }
2644
2609
  return n;
2645
2610
  }
2646
- ), ht = (
2611
+ ), rt = (
2647
2612
  // native
2648
- hn ? Object.fromEntries : (
2613
+ qr ? Object.fromEntries : (
2649
2614
  // Ponyfill
2650
2615
  function(t) {
2651
2616
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
2652
- var s = i[n], o = s[0], u = s[1];
2653
- r[o] = u;
2617
+ var s = i[n], o = s[0], a = s[1];
2618
+ r[o] = a;
2654
2619
  }
2655
2620
  return r;
2656
2621
  }
2657
2622
  )
2658
- ), Dt = ln ? (
2623
+ ), Lt = Yr ? (
2659
2624
  // Native
2660
2625
  function(t, r) {
2661
2626
  return t.codePointAt(r);
@@ -2669,7 +2634,7 @@ var ut = an ? (
2669
2634
  return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
2670
2635
  }
2671
2636
  }
2672
- ), gn = fn ? (
2637
+ ), sn = Kr ? (
2673
2638
  // Native
2674
2639
  function(t) {
2675
2640
  return t.trimStart();
@@ -2677,9 +2642,9 @@ var ut = an ? (
2677
2642
  ) : (
2678
2643
  // Ponyfill
2679
2644
  function(t) {
2680
- return t.replace(sn, "");
2645
+ return t.replace(Wr, "");
2681
2646
  }
2682
- ), bn = cn ? (
2647
+ ), on = en ? (
2683
2648
  // Native
2684
2649
  function(t) {
2685
2650
  return t.trimEnd();
@@ -2687,32 +2652,32 @@ var ut = an ? (
2687
2652
  ) : (
2688
2653
  // Ponyfill
2689
2654
  function(t) {
2690
- return t.replace(on, "");
2655
+ return t.replace(Zr, "");
2691
2656
  }
2692
2657
  );
2693
- function Ft(e, t) {
2658
+ function Ct(e, t) {
2694
2659
  return new RegExp(e, t);
2695
2660
  }
2696
- var Ue;
2697
- if ($e) {
2698
- var lt = Ft("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2699
- Ue = function(t, r) {
2661
+ var $e;
2662
+ if (Ce) {
2663
+ var nt = Ct("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2664
+ $e = function(t, r) {
2700
2665
  var n;
2701
- lt.lastIndex = r;
2702
- var i = lt.exec(t);
2666
+ nt.lastIndex = r;
2667
+ var i = nt.exec(t);
2703
2668
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2704
2669
  };
2705
2670
  } else
2706
- Ue = function(t, r) {
2671
+ $e = function(t, r) {
2707
2672
  for (var n = []; ; ) {
2708
- var i = Dt(t, r);
2709
- if (i === void 0 || jt(i) || xn(i))
2673
+ var i = Lt(t, r);
2674
+ if (i === void 0 || Mt(i) || ln(i))
2710
2675
  break;
2711
2676
  n.push(i), r += i >= 65536 ? 2 : 1;
2712
2677
  }
2713
- return Re.apply(void 0, n);
2678
+ return Me.apply(void 0, n);
2714
2679
  };
2715
- var vn = (
2680
+ var an = (
2716
2681
  /** @class */
2717
2682
  function() {
2718
2683
  function e(t, r) {
@@ -2734,16 +2699,16 @@ var vn = (
2734
2699
  if (s === 125 && t > 0)
2735
2700
  break;
2736
2701
  if (s === 35 && (r === "plural" || r === "selectordinal")) {
2737
- var u = this.clonePosition();
2702
+ var a = this.clonePosition();
2738
2703
  this.bump(), i.push({
2739
2704
  type: P.pound,
2740
- location: _(u, this.clonePosition())
2705
+ location: E(a, this.clonePosition())
2741
2706
  });
2742
2707
  } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
2743
2708
  if (n)
2744
2709
  break;
2745
- return this.error(E.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
2746
- } else if (s === 60 && !this.ignoreTag && Ge(this.peek() || 0)) {
2710
+ return this.error(_.UNMATCHED_CLOSING_TAG, E(this.clonePosition(), this.clonePosition()));
2711
+ } else if (s === 60 && !this.ignoreTag && Re(this.peek() || 0)) {
2747
2712
  var o = this.parseTag(t, r);
2748
2713
  if (o.err)
2749
2714
  return o;
@@ -2766,7 +2731,7 @@ var vn = (
2766
2731
  val: {
2767
2732
  type: P.literal,
2768
2733
  value: "<".concat(i, "/>"),
2769
- location: _(n, this.clonePosition())
2734
+ location: E(n, this.clonePosition())
2770
2735
  },
2771
2736
  err: null
2772
2737
  };
@@ -2774,27 +2739,27 @@ var vn = (
2774
2739
  var s = this.parseMessage(t + 1, r, !0);
2775
2740
  if (s.err)
2776
2741
  return s;
2777
- var o = s.val, u = this.clonePosition();
2742
+ var o = s.val, a = this.clonePosition();
2778
2743
  if (this.bumpIf("</")) {
2779
- if (this.isEOF() || !Ge(this.char()))
2780
- return this.error(E.INVALID_TAG, _(u, this.clonePosition()));
2781
- var h = this.clonePosition(), a = this.parseTagName();
2782
- return i !== a ? this.error(E.UNMATCHED_CLOSING_TAG, _(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2744
+ if (this.isEOF() || !Re(this.char()))
2745
+ return this.error(_.INVALID_TAG, E(a, this.clonePosition()));
2746
+ var l = this.clonePosition(), u = this.parseTagName();
2747
+ return i !== u ? this.error(_.UNMATCHED_CLOSING_TAG, E(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2783
2748
  val: {
2784
2749
  type: P.tag,
2785
2750
  value: i,
2786
2751
  children: o,
2787
- location: _(n, this.clonePosition())
2752
+ location: E(n, this.clonePosition())
2788
2753
  },
2789
2754
  err: null
2790
- } : this.error(E.INVALID_TAG, _(u, this.clonePosition())));
2755
+ } : this.error(_.INVALID_TAG, E(a, this.clonePosition())));
2791
2756
  } else
2792
- return this.error(E.UNCLOSED_TAG, _(n, this.clonePosition()));
2757
+ return this.error(_.UNCLOSED_TAG, E(n, this.clonePosition()));
2793
2758
  } else
2794
- return this.error(E.INVALID_TAG, _(n, this.clonePosition()));
2759
+ return this.error(_.INVALID_TAG, E(n, this.clonePosition()));
2795
2760
  }, e.prototype.parseTagName = function() {
2796
2761
  var t = this.offset();
2797
- for (this.bump(); !this.isEOF() && _n(this.char()); )
2762
+ for (this.bump(); !this.isEOF() && hn(this.char()); )
2798
2763
  this.bump();
2799
2764
  return this.message.slice(t, this.offset());
2800
2765
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2809,21 +2774,21 @@ var vn = (
2809
2774
  i += o;
2810
2775
  continue;
2811
2776
  }
2812
- var u = this.tryParseLeftAngleBracket();
2813
- if (u) {
2814
- i += u;
2777
+ var a = this.tryParseLeftAngleBracket();
2778
+ if (a) {
2779
+ i += a;
2815
2780
  continue;
2816
2781
  }
2817
2782
  break;
2818
2783
  }
2819
- var h = _(n, this.clonePosition());
2784
+ var l = E(n, this.clonePosition());
2820
2785
  return {
2821
- val: { type: P.literal, value: i, location: h },
2786
+ val: { type: P.literal, value: i, location: l },
2822
2787
  err: null
2823
2788
  };
2824
2789
  }, e.prototype.tryParseLeftAngleBracket = function() {
2825
2790
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2826
- !En(this.peek() || 0)) ? (this.bump(), "<") : null;
2791
+ !un(this.peek() || 0)) ? (this.bump(), "<") : null;
2827
2792
  }, e.prototype.tryParseQuote = function(t) {
2828
2793
  if (this.isEOF() || this.char() !== 39)
2829
2794
  return null;
@@ -2857,23 +2822,23 @@ var vn = (
2857
2822
  r.push(n);
2858
2823
  this.bump();
2859
2824
  }
2860
- return Re.apply(void 0, r);
2825
+ return Me.apply(void 0, r);
2861
2826
  }, e.prototype.tryParseUnquoted = function(t, r) {
2862
2827
  if (this.isEOF())
2863
2828
  return null;
2864
2829
  var n = this.char();
2865
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Re(n));
2830
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Me(n));
2866
2831
  }, e.prototype.parseArgument = function(t, r) {
2867
2832
  var n = this.clonePosition();
2868
2833
  if (this.bump(), this.bumpSpace(), this.isEOF())
2869
- return this.error(E.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition()));
2834
+ return this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, E(n, this.clonePosition()));
2870
2835
  if (this.char() === 125)
2871
- return this.bump(), this.error(E.EMPTY_ARGUMENT, _(n, this.clonePosition()));
2836
+ return this.bump(), this.error(_.EMPTY_ARGUMENT, E(n, this.clonePosition()));
2872
2837
  var i = this.parseIdentifierIfPossible().value;
2873
2838
  if (!i)
2874
- return this.error(E.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
2839
+ return this.error(_.MALFORMED_ARGUMENT, E(n, this.clonePosition()));
2875
2840
  if (this.bumpSpace(), this.isEOF())
2876
- return this.error(E.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition()));
2841
+ return this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, E(n, this.clonePosition()));
2877
2842
  switch (this.char()) {
2878
2843
  case 125:
2879
2844
  return this.bump(), {
@@ -2881,64 +2846,64 @@ var vn = (
2881
2846
  type: P.argument,
2882
2847
  // value does not include the opening and closing braces.
2883
2848
  value: i,
2884
- location: _(n, this.clonePosition())
2849
+ location: E(n, this.clonePosition())
2885
2850
  },
2886
2851
  err: null
2887
2852
  };
2888
2853
  case 44:
2889
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(E.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2854
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, E(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2890
2855
  default:
2891
- return this.error(E.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
2856
+ return this.error(_.MALFORMED_ARGUMENT, E(n, this.clonePosition()));
2892
2857
  }
2893
2858
  }, e.prototype.parseIdentifierIfPossible = function() {
2894
- var t = this.clonePosition(), r = this.offset(), n = Ue(this.message, r), i = r + n.length;
2859
+ var t = this.clonePosition(), r = this.offset(), n = $e(this.message, r), i = r + n.length;
2895
2860
  this.bumpTo(i);
2896
- var s = this.clonePosition(), o = _(t, s);
2861
+ var s = this.clonePosition(), o = E(t, s);
2897
2862
  return { value: n, location: o };
2898
2863
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
2899
- var s, o = this.clonePosition(), u = this.parseIdentifierIfPossible().value, h = this.clonePosition();
2900
- switch (u) {
2864
+ var s, o = this.clonePosition(), a = this.parseIdentifierIfPossible().value, l = this.clonePosition();
2865
+ switch (a) {
2901
2866
  case "":
2902
- return this.error(E.EXPECT_ARGUMENT_TYPE, _(o, h));
2867
+ return this.error(_.EXPECT_ARGUMENT_TYPE, E(o, l));
2903
2868
  case "number":
2904
2869
  case "date":
2905
2870
  case "time": {
2906
2871
  this.bumpSpace();
2907
- var a = null;
2872
+ var u = null;
2908
2873
  if (this.bumpIf(",")) {
2909
2874
  this.bumpSpace();
2910
- var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
2875
+ var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
2911
2876
  if (c.err)
2912
2877
  return c;
2913
- var f = bn(c.val);
2878
+ var f = on(c.val);
2914
2879
  if (f.length === 0)
2915
- return this.error(E.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
2916
- var g = _(l, this.clonePosition());
2917
- a = { style: f, styleLocation: g };
2880
+ return this.error(_.EXPECT_ARGUMENT_STYLE, E(this.clonePosition(), this.clonePosition()));
2881
+ var g = E(h, this.clonePosition());
2882
+ u = { style: f, styleLocation: g };
2918
2883
  }
2919
- var d = this.tryParseArgumentClose(i);
2920
- if (d.err)
2921
- return d;
2922
- var p = _(i, this.clonePosition());
2923
- if (a && ut(a == null ? void 0 : a.style, "::", 0)) {
2924
- var v = gn(a.style.slice(2));
2925
- if (u === "number") {
2926
- var c = this.parseNumberSkeletonFromString(v, a.styleLocation);
2884
+ var m = this.tryParseArgumentClose(i);
2885
+ if (m.err)
2886
+ return m;
2887
+ var p = E(i, this.clonePosition());
2888
+ if (u && tt(u?.style, "::", 0)) {
2889
+ var v = sn(u.style.slice(2));
2890
+ if (a === "number") {
2891
+ var c = this.parseNumberSkeletonFromString(v, u.styleLocation);
2927
2892
  return c.err ? c : {
2928
2893
  val: { type: P.number, value: n, location: p, style: c.val },
2929
2894
  err: null
2930
2895
  };
2931
2896
  } else {
2932
2897
  if (v.length === 0)
2933
- return this.error(E.EXPECT_DATE_TIME_SKELETON, p);
2934
- var m = v;
2935
- this.locale && (m = rn(v, this.locale));
2898
+ return this.error(_.EXPECT_DATE_TIME_SKELETON, p);
2899
+ var d = v;
2900
+ this.locale && (d = Xr(v, this.locale));
2936
2901
  var f = {
2937
- type: J.dateTime,
2938
- pattern: m,
2939
- location: a.styleLocation,
2940
- parsedOptions: this.shouldParseSkeletons ? Qr(m) : {}
2941
- }, T = u === "date" ? P.date : P.time;
2902
+ type: Q.dateTime,
2903
+ pattern: d,
2904
+ location: u.styleLocation,
2905
+ parsedOptions: this.shouldParseSkeletons ? Ur(d) : {}
2906
+ }, T = a === "date" ? P.date : P.time;
2942
2907
  return {
2943
2908
  val: { type: T, value: n, location: p, style: f },
2944
2909
  err: null
@@ -2947,10 +2912,10 @@ var vn = (
2947
2912
  }
2948
2913
  return {
2949
2914
  val: {
2950
- type: u === "number" ? P.number : u === "date" ? P.date : P.time,
2915
+ type: a === "number" ? P.number : a === "date" ? P.date : P.time,
2951
2916
  value: n,
2952
2917
  location: p,
2953
- style: (s = a == null ? void 0 : a.style) !== null && s !== void 0 ? s : null
2918
+ style: (s = u?.style) !== null && s !== void 0 ? s : null
2954
2919
  },
2955
2920
  err: null
2956
2921
  };
@@ -2960,50 +2925,50 @@ var vn = (
2960
2925
  case "select": {
2961
2926
  var A = this.clonePosition();
2962
2927
  if (this.bumpSpace(), !this.bumpIf(","))
2963
- return this.error(E.EXPECT_SELECT_ARGUMENT_OPTIONS, _(A, x({}, A)));
2928
+ return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, E(A, x({}, A)));
2964
2929
  this.bumpSpace();
2965
2930
  var O = this.parseIdentifierIfPossible(), H = 0;
2966
- if (u !== "select" && O.value === "offset") {
2931
+ if (a !== "select" && O.value === "offset") {
2967
2932
  if (!this.bumpIf(":"))
2968
- return this.error(E.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
2933
+ return this.error(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, E(this.clonePosition(), this.clonePosition()));
2969
2934
  this.bumpSpace();
2970
- var c = this.tryParseDecimalInteger(E.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, E.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2935
+ var c = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2971
2936
  if (c.err)
2972
2937
  return c;
2973
2938
  this.bumpSpace(), O = this.parseIdentifierIfPossible(), H = c.val;
2974
2939
  }
2975
- var I = this.tryParsePluralOrSelectOptions(t, u, r, O);
2940
+ var I = this.tryParsePluralOrSelectOptions(t, a, r, O);
2976
2941
  if (I.err)
2977
2942
  return I;
2978
- var d = this.tryParseArgumentClose(i);
2979
- if (d.err)
2980
- return d;
2981
- var ue = _(i, this.clonePosition());
2982
- return u === "select" ? {
2943
+ var m = this.tryParseArgumentClose(i);
2944
+ if (m.err)
2945
+ return m;
2946
+ var ae = E(i, this.clonePosition());
2947
+ return a === "select" ? {
2983
2948
  val: {
2984
2949
  type: P.select,
2985
2950
  value: n,
2986
- options: ht(I.val),
2987
- location: ue
2951
+ options: rt(I.val),
2952
+ location: ae
2988
2953
  },
2989
2954
  err: null
2990
2955
  } : {
2991
2956
  val: {
2992
2957
  type: P.plural,
2993
2958
  value: n,
2994
- options: ht(I.val),
2959
+ options: rt(I.val),
2995
2960
  offset: H,
2996
- pluralType: u === "plural" ? "cardinal" : "ordinal",
2997
- location: ue
2961
+ pluralType: a === "plural" ? "cardinal" : "ordinal",
2962
+ location: ae
2998
2963
  },
2999
2964
  err: null
3000
2965
  };
3001
2966
  }
3002
2967
  default:
3003
- return this.error(E.INVALID_ARGUMENT_TYPE, _(o, h));
2968
+ return this.error(_.INVALID_ARGUMENT_TYPE, E(o, l));
3004
2969
  }
3005
2970
  }, e.prototype.tryParseArgumentClose = function(t) {
3006
- return this.isEOF() || this.char() !== 125 ? this.error(E.EXPECT_ARGUMENT_CLOSING_BRACE, _(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2971
+ return this.isEOF() || this.char() !== 125 ? this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, E(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3007
2972
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3008
2973
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3009
2974
  var n = this.char();
@@ -3012,7 +2977,7 @@ var vn = (
3012
2977
  this.bump();
3013
2978
  var i = this.clonePosition();
3014
2979
  if (!this.bumpUntil("'"))
3015
- return this.error(E.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, _(i, this.clonePosition()));
2980
+ return this.error(_.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, E(i, this.clonePosition()));
3016
2981
  this.bump();
3017
2982
  break;
3018
2983
  }
@@ -3042,64 +3007,64 @@ var vn = (
3042
3007
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3043
3008
  var n = [];
3044
3009
  try {
3045
- n = qr(t);
3046
- } catch (i) {
3047
- return this.error(E.INVALID_NUMBER_SKELETON, r);
3010
+ n = Dr(t);
3011
+ } catch {
3012
+ return this.error(_.INVALID_NUMBER_SKELETON, r);
3048
3013
  }
3049
3014
  return {
3050
3015
  val: {
3051
- type: J.number,
3016
+ type: Q.number,
3052
3017
  tokens: n,
3053
3018
  location: r,
3054
- parsedOptions: this.shouldParseSkeletons ? tn(n) : {}
3019
+ parsedOptions: this.shouldParseSkeletons ? Vr(n) : {}
3055
3020
  },
3056
3021
  err: null
3057
3022
  };
3058
3023
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3059
- for (var s, o = !1, u = [], h = /* @__PURE__ */ new Set(), a = i.value, l = i.location; ; ) {
3060
- if (a.length === 0) {
3024
+ for (var s, o = !1, a = [], l = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
3025
+ if (u.length === 0) {
3061
3026
  var c = this.clonePosition();
3062
3027
  if (r !== "select" && this.bumpIf("=")) {
3063
- var f = this.tryParseDecimalInteger(E.EXPECT_PLURAL_ARGUMENT_SELECTOR, E.INVALID_PLURAL_ARGUMENT_SELECTOR);
3028
+ var f = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_SELECTOR, _.INVALID_PLURAL_ARGUMENT_SELECTOR);
3064
3029
  if (f.err)
3065
3030
  return f;
3066
- l = _(c, this.clonePosition()), a = this.message.slice(c.offset, this.offset());
3031
+ h = E(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
3067
3032
  } else
3068
3033
  break;
3069
3034
  }
3070
- if (h.has(a))
3071
- return this.error(r === "select" ? E.DUPLICATE_SELECT_ARGUMENT_SELECTOR : E.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
3072
- a === "other" && (o = !0), this.bumpSpace();
3035
+ if (l.has(u))
3036
+ return this.error(r === "select" ? _.DUPLICATE_SELECT_ARGUMENT_SELECTOR : _.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3037
+ u === "other" && (o = !0), this.bumpSpace();
3073
3038
  var g = this.clonePosition();
3074
3039
  if (!this.bumpIf("{"))
3075
- return this.error(r === "select" ? E.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : E.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, _(this.clonePosition(), this.clonePosition()));
3076
- var d = this.parseMessage(t + 1, r, n);
3077
- if (d.err)
3078
- return d;
3040
+ return this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : _.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, E(this.clonePosition(), this.clonePosition()));
3041
+ var m = this.parseMessage(t + 1, r, n);
3042
+ if (m.err)
3043
+ return m;
3079
3044
  var p = this.tryParseArgumentClose(g);
3080
3045
  if (p.err)
3081
3046
  return p;
3082
- u.push([
3083
- a,
3047
+ a.push([
3048
+ u,
3084
3049
  {
3085
- value: d.val,
3086
- location: _(g, this.clonePosition())
3050
+ value: m.val,
3051
+ location: E(g, this.clonePosition())
3087
3052
  }
3088
- ]), h.add(a), this.bumpSpace(), s = this.parseIdentifierIfPossible(), a = s.value, l = s.location;
3053
+ ]), l.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, h = s.location;
3089
3054
  }
3090
- return u.length === 0 ? this.error(r === "select" ? E.EXPECT_SELECT_ARGUMENT_SELECTOR : E.EXPECT_PLURAL_ARGUMENT_SELECTOR, _(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(E.MISSING_OTHER_CLAUSE, _(this.clonePosition(), this.clonePosition())) : { val: u, err: null };
3055
+ return a.length === 0 ? this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR : _.EXPECT_PLURAL_ARGUMENT_SELECTOR, E(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(_.MISSING_OTHER_CLAUSE, E(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3091
3056
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3092
3057
  var n = 1, i = this.clonePosition();
3093
3058
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
3094
3059
  for (var s = !1, o = 0; !this.isEOF(); ) {
3095
- var u = this.char();
3096
- if (u >= 48 && u <= 57)
3097
- s = !0, o = o * 10 + (u - 48), this.bump();
3060
+ var a = this.char();
3061
+ if (a >= 48 && a <= 57)
3062
+ s = !0, o = o * 10 + (a - 48), this.bump();
3098
3063
  else
3099
3064
  break;
3100
3065
  }
3101
- var h = _(i, this.clonePosition());
3102
- return s ? (o *= n, mn(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
3066
+ var l = E(i, this.clonePosition());
3067
+ return s ? (o *= n, rn(o) ? { val: o, err: null } : this.error(r, l)) : this.error(t, l);
3103
3068
  }, e.prototype.offset = function() {
3104
3069
  return this.position.offset;
3105
3070
  }, e.prototype.isEOF = function() {
@@ -3114,7 +3079,7 @@ var vn = (
3114
3079
  var t = this.position.offset;
3115
3080
  if (t >= this.message.length)
3116
3081
  throw Error("out of bound");
3117
- var r = Dt(this.message, t);
3082
+ var r = Lt(this.message, t);
3118
3083
  if (r === void 0)
3119
3084
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3120
3085
  return r;
@@ -3133,7 +3098,7 @@ var vn = (
3133
3098
  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);
3134
3099
  }
3135
3100
  }, e.prototype.bumpIf = function(t) {
3136
- if (ut(this.message, t, this.offset())) {
3101
+ if (tt(this.message, t, this.offset())) {
3137
3102
  for (var r = 0; r < t.length; r++)
3138
3103
  this.bump();
3139
3104
  return !0;
@@ -3155,56 +3120,56 @@ var vn = (
3155
3120
  break;
3156
3121
  }
3157
3122
  }, e.prototype.bumpSpace = function() {
3158
- for (; !this.isEOF() && jt(this.char()); )
3123
+ for (; !this.isEOF() && Mt(this.char()); )
3159
3124
  this.bump();
3160
3125
  }, e.prototype.peek = function() {
3161
3126
  if (this.isEOF())
3162
3127
  return null;
3163
3128
  var t = this.char(), r = this.offset(), n = this.message.charCodeAt(r + (t >= 65536 ? 2 : 1));
3164
- return n != null ? n : null;
3129
+ return n ?? null;
3165
3130
  }, e;
3166
3131
  }()
3167
3132
  );
3168
- function Ge(e) {
3133
+ function Re(e) {
3169
3134
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3170
3135
  }
3171
- function En(e) {
3172
- return Ge(e) || e === 47;
3136
+ function un(e) {
3137
+ return Re(e) || e === 47;
3173
3138
  }
3174
- function _n(e) {
3139
+ function hn(e) {
3175
3140
  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;
3176
3141
  }
3177
- function jt(e) {
3142
+ function Mt(e) {
3178
3143
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3179
3144
  }
3180
- function xn(e) {
3145
+ function ln(e) {
3181
3146
  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;
3182
3147
  }
3183
- function De(e) {
3148
+ function Ue(e) {
3184
3149
  e.forEach(function(t) {
3185
- if (delete t.location, It(t) || Lt(t))
3150
+ if (delete t.location, Tt(t) || St(t))
3186
3151
  for (var r in t.options)
3187
- delete t.options[r].location, De(t.options[r].value);
3188
- else Ot(t) && Mt(t.style) || (Nt(t) || wt(t)) && Me(t.style) ? delete t.style.location : Ct(t) && De(t.children);
3152
+ delete t.options[r].location, Ue(t.options[r].value);
3153
+ else yt(t) && Bt(t.style) || (Pt(t) || Ht(t)) && Le(t.style) ? delete t.style.location : At(t) && Ue(t.children);
3189
3154
  });
3190
3155
  }
3191
- function yn(e, t) {
3156
+ function fn(e, t) {
3192
3157
  t === void 0 && (t = {}), t = x({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3193
- var r = new vn(e, t).parse();
3158
+ var r = new an(e, t).parse();
3194
3159
  if (r.err) {
3195
- var n = SyntaxError(E[r.err.kind]);
3160
+ var n = SyntaxError(_[r.err.kind]);
3196
3161
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3197
3162
  }
3198
- return t != null && t.captureLocation || De(r.val), r.val;
3163
+ return t?.captureLocation || Ue(r.val), r.val;
3199
3164
  }
3200
- var q;
3165
+ var J;
3201
3166
  (function(e) {
3202
3167
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3203
- })(q || (q = {}));
3168
+ })(J || (J = {}));
3204
3169
  var _e = (
3205
3170
  /** @class */
3206
3171
  function(e) {
3207
- Ee(t, e);
3172
+ ve(t, e);
3208
3173
  function t(r, n, i) {
3209
3174
  var s = e.call(this, r) || this;
3210
3175
  return s.code = n, s.originalMessage = i, s;
@@ -3213,30 +3178,30 @@ var _e = (
3213
3178
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3214
3179
  }, t;
3215
3180
  }(Error)
3216
- ), ft = (
3181
+ ), it = (
3217
3182
  /** @class */
3218
3183
  function(e) {
3219
- Ee(t, e);
3184
+ ve(t, e);
3220
3185
  function t(r, n, i, s) {
3221
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), q.INVALID_VALUE, s) || this;
3186
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), J.INVALID_VALUE, s) || this;
3222
3187
  }
3223
3188
  return t;
3224
3189
  }(_e)
3225
- ), Pn = (
3190
+ ), cn = (
3226
3191
  /** @class */
3227
3192
  function(e) {
3228
- Ee(t, e);
3193
+ ve(t, e);
3229
3194
  function t(r, n, i) {
3230
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), q.INVALID_VALUE, i) || this;
3195
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), J.INVALID_VALUE, i) || this;
3231
3196
  }
3232
3197
  return t;
3233
3198
  }(_e)
3234
- ), Hn = (
3199
+ ), pn = (
3235
3200
  /** @class */
3236
3201
  function(e) {
3237
- Ee(t, e);
3202
+ ve(t, e);
3238
3203
  function t(r, n) {
3239
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), q.MISSING_VALUE, n) || this;
3204
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), J.MISSING_VALUE, n) || this;
3240
3205
  }
3241
3206
  return t;
3242
3207
  }(_e)
@@ -3244,124 +3209,124 @@ var _e = (
3244
3209
  (function(e) {
3245
3210
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3246
3211
  })(w || (w = {}));
3247
- function Tn(e) {
3212
+ function dn(e) {
3248
3213
  return e.length < 2 ? e : e.reduce(function(t, r) {
3249
3214
  var n = t[t.length - 1];
3250
3215
  return !n || n.type !== w.literal || r.type !== w.literal ? t.push(r) : n.value += r.value, t;
3251
3216
  }, []);
3252
3217
  }
3253
- function Sn(e) {
3218
+ function mn(e) {
3254
3219
  return typeof e == "function";
3255
3220
  }
3256
- function pe(e, t, r, n, i, s, o) {
3257
- if (e.length === 1 && it(e[0]))
3221
+ function ce(e, t, r, n, i, s, o) {
3222
+ if (e.length === 1 && qe(e[0]))
3258
3223
  return [
3259
3224
  {
3260
3225
  type: w.literal,
3261
3226
  value: e[0].value
3262
3227
  }
3263
3228
  ];
3264
- for (var u = [], h = 0, a = e; h < a.length; h++) {
3265
- var l = a[h];
3266
- if (it(l)) {
3267
- u.push({
3229
+ for (var a = [], l = 0, u = e; l < u.length; l++) {
3230
+ var h = u[l];
3231
+ if (qe(h)) {
3232
+ a.push({
3268
3233
  type: w.literal,
3269
- value: l.value
3234
+ value: h.value
3270
3235
  });
3271
3236
  continue;
3272
3237
  }
3273
- if (Wr(l)) {
3274
- typeof s == "number" && u.push({
3238
+ if ($r(h)) {
3239
+ typeof s == "number" && a.push({
3275
3240
  type: w.literal,
3276
3241
  value: r.getNumberFormat(t).format(s)
3277
3242
  });
3278
3243
  continue;
3279
3244
  }
3280
- var c = l.value;
3245
+ var c = h.value;
3281
3246
  if (!(i && c in i))
3282
- throw new Hn(c, o);
3247
+ throw new pn(c, o);
3283
3248
  var f = i[c];
3284
- if (zr(l)) {
3285
- (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), u.push({
3249
+ if (Mr(h)) {
3250
+ (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3286
3251
  type: typeof f == "string" ? w.literal : w.object,
3287
3252
  value: f
3288
3253
  });
3289
3254
  continue;
3290
3255
  }
3291
- if (Nt(l)) {
3292
- var g = typeof l.style == "string" ? n.date[l.style] : Me(l.style) ? l.style.parsedOptions : void 0;
3293
- u.push({
3256
+ if (Pt(h)) {
3257
+ var g = typeof h.style == "string" ? n.date[h.style] : Le(h.style) ? h.style.parsedOptions : void 0;
3258
+ a.push({
3294
3259
  type: w.literal,
3295
3260
  value: r.getDateTimeFormat(t, g).format(f)
3296
3261
  });
3297
3262
  continue;
3298
3263
  }
3299
- if (wt(l)) {
3300
- var g = typeof l.style == "string" ? n.time[l.style] : Me(l.style) ? l.style.parsedOptions : n.time.medium;
3301
- u.push({
3264
+ if (Ht(h)) {
3265
+ var g = typeof h.style == "string" ? n.time[h.style] : Le(h.style) ? h.style.parsedOptions : n.time.medium;
3266
+ a.push({
3302
3267
  type: w.literal,
3303
3268
  value: r.getDateTimeFormat(t, g).format(f)
3304
3269
  });
3305
3270
  continue;
3306
3271
  }
3307
- if (Ot(l)) {
3308
- var g = typeof l.style == "string" ? n.number[l.style] : Mt(l.style) ? l.style.parsedOptions : void 0;
3309
- g && g.scale && (f = f * (g.scale || 1)), u.push({
3272
+ if (yt(h)) {
3273
+ var g = typeof h.style == "string" ? n.number[h.style] : Bt(h.style) ? h.style.parsedOptions : void 0;
3274
+ g && g.scale && (f = f * (g.scale || 1)), a.push({
3310
3275
  type: w.literal,
3311
3276
  value: r.getNumberFormat(t, g).format(f)
3312
3277
  });
3313
3278
  continue;
3314
3279
  }
3315
- if (Ct(l)) {
3316
- var d = l.children, p = l.value, v = i[p];
3317
- if (!Sn(v))
3318
- throw new Pn(p, "function", o);
3319
- var m = pe(d, t, r, n, i, s), T = v(m.map(function(H) {
3280
+ if (At(h)) {
3281
+ var m = h.children, p = h.value, v = i[p];
3282
+ if (!mn(v))
3283
+ throw new cn(p, "function", o);
3284
+ var d = ce(m, t, r, n, i, s), T = v(d.map(function(H) {
3320
3285
  return H.value;
3321
3286
  }));
3322
- Array.isArray(T) || (T = [T]), u.push.apply(u, T.map(function(H) {
3287
+ Array.isArray(T) || (T = [T]), a.push.apply(a, T.map(function(H) {
3323
3288
  return {
3324
3289
  type: typeof H == "string" ? w.literal : w.object,
3325
3290
  value: H
3326
3291
  };
3327
3292
  }));
3328
3293
  }
3329
- if (It(l)) {
3330
- var A = l.options[f] || l.options.other;
3294
+ if (Tt(h)) {
3295
+ var A = h.options[f] || h.options.other;
3331
3296
  if (!A)
3332
- throw new ft(l.value, f, Object.keys(l.options), o);
3333
- u.push.apply(u, pe(A.value, t, r, n, i));
3297
+ throw new it(h.value, f, Object.keys(h.options), o);
3298
+ a.push.apply(a, ce(A.value, t, r, n, i));
3334
3299
  continue;
3335
3300
  }
3336
- if (Lt(l)) {
3337
- var A = l.options["=".concat(f)];
3301
+ if (St(h)) {
3302
+ var A = h.options["=".concat(f)];
3338
3303
  if (!A) {
3339
3304
  if (!Intl.PluralRules)
3340
3305
  throw new _e(`Intl.PluralRules is not available in this environment.
3341
3306
  Try polyfilling it using "@formatjs/intl-pluralrules"
3342
- `, q.MISSING_INTL_API, o);
3343
- var O = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
3344
- A = l.options[O] || l.options.other;
3307
+ `, J.MISSING_INTL_API, o);
3308
+ var O = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3309
+ A = h.options[O] || h.options.other;
3345
3310
  }
3346
3311
  if (!A)
3347
- throw new ft(l.value, f, Object.keys(l.options), o);
3348
- u.push.apply(u, pe(A.value, t, r, n, i, f - (l.offset || 0)));
3312
+ throw new it(h.value, f, Object.keys(h.options), o);
3313
+ a.push.apply(a, ce(A.value, t, r, n, i, f - (h.offset || 0)));
3349
3314
  continue;
3350
3315
  }
3351
3316
  }
3352
- return Tn(u);
3317
+ return dn(a);
3353
3318
  }
3354
- function An(e, t) {
3319
+ function gn(e, t) {
3355
3320
  return t ? x(x(x({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3356
3321
  return r[n] = x(x({}, e[n]), t[n] || {}), r;
3357
3322
  }, {})) : e;
3358
3323
  }
3359
- function Bn(e, t) {
3324
+ function bn(e, t) {
3360
3325
  return t ? Object.keys(e).reduce(function(r, n) {
3361
- return r[n] = An(e[n], t[n]), r;
3326
+ return r[n] = gn(e[n], t[n]), r;
3362
3327
  }, x({}, e)) : e;
3363
3328
  }
3364
- function Oe(e) {
3329
+ function Ae(e) {
3365
3330
  return {
3366
3331
  create: function() {
3367
3332
  return {
@@ -3375,39 +3340,39 @@ function Oe(e) {
3375
3340
  }
3376
3341
  };
3377
3342
  }
3378
- function On(e) {
3343
+ function vn(e) {
3379
3344
  return e === void 0 && (e = {
3380
3345
  number: {},
3381
3346
  dateTime: {},
3382
3347
  pluralRules: {}
3383
3348
  }), {
3384
- getNumberFormat: Se(function() {
3349
+ getNumberFormat: He(function() {
3385
3350
  for (var t, r = [], n = 0; n < arguments.length; n++)
3386
3351
  r[n] = arguments[n];
3387
- return new ((t = Intl.NumberFormat).bind.apply(t, Te([void 0], r, !1)))();
3352
+ return new ((t = Intl.NumberFormat).bind.apply(t, Pe([void 0], r, !1)))();
3388
3353
  }, {
3389
- cache: Oe(e.number),
3390
- strategy: Ae.variadic
3354
+ cache: Ae(e.number),
3355
+ strategy: Te.variadic
3391
3356
  }),
3392
- getDateTimeFormat: Se(function() {
3357
+ getDateTimeFormat: He(function() {
3393
3358
  for (var t, r = [], n = 0; n < arguments.length; n++)
3394
3359
  r[n] = arguments[n];
3395
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Te([void 0], r, !1)))();
3360
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Pe([void 0], r, !1)))();
3396
3361
  }, {
3397
- cache: Oe(e.dateTime),
3398
- strategy: Ae.variadic
3362
+ cache: Ae(e.dateTime),
3363
+ strategy: Te.variadic
3399
3364
  }),
3400
- getPluralRules: Se(function() {
3365
+ getPluralRules: He(function() {
3401
3366
  for (var t, r = [], n = 0; n < arguments.length; n++)
3402
3367
  r[n] = arguments[n];
3403
- return new ((t = Intl.PluralRules).bind.apply(t, Te([void 0], r, !1)))();
3368
+ return new ((t = Intl.PluralRules).bind.apply(t, Pe([void 0], r, !1)))();
3404
3369
  }, {
3405
- cache: Oe(e.pluralRules),
3406
- strategy: Ae.variadic
3370
+ cache: Ae(e.pluralRules),
3371
+ strategy: Te.variadic
3407
3372
  })
3408
3373
  };
3409
3374
  }
3410
- var Nn = (
3375
+ var _n = (
3411
3376
  /** @class */
3412
3377
  function() {
3413
3378
  function e(t, r, n, i) {
@@ -3417,20 +3382,20 @@ var Nn = (
3417
3382
  number: {},
3418
3383
  dateTime: {},
3419
3384
  pluralRules: {}
3420
- }, this.format = function(h) {
3421
- var a = s.formatToParts(h);
3422
- if (a.length === 1)
3423
- return a[0].value;
3424
- var l = a.reduce(function(c, f) {
3385
+ }, this.format = function(l) {
3386
+ var u = s.formatToParts(l);
3387
+ if (u.length === 1)
3388
+ return u[0].value;
3389
+ var h = u.reduce(function(c, f) {
3425
3390
  return !c.length || f.type !== w.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3426
3391
  }, []);
3427
- return l.length <= 1 ? l[0] || "" : l;
3428
- }, this.formatToParts = function(h) {
3429
- return pe(s.ast, s.locales, s.formatters, s.formats, h, void 0, s.message);
3392
+ return h.length <= 1 ? h[0] || "" : h;
3393
+ }, this.formatToParts = function(l) {
3394
+ return ce(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
3430
3395
  }, this.resolvedOptions = function() {
3431
- var h;
3396
+ var l;
3432
3397
  return {
3433
- locale: ((h = s.resolvedLocale) === null || h === void 0 ? void 0 : h.toString()) || Intl.NumberFormat.supportedLocalesOf(s.locales)[0]
3398
+ locale: ((l = s.resolvedLocale) === null || l === void 0 ? void 0 : l.toString()) || Intl.NumberFormat.supportedLocalesOf(s.locales)[0]
3434
3399
  };
3435
3400
  }, this.getAst = function() {
3436
3401
  return s.ast;
@@ -3439,13 +3404,13 @@ var Nn = (
3439
3404
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3440
3405
  var o = i || {};
3441
3406
  o.formatters;
3442
- var u = Gr(o, ["formatters"]);
3443
- this.ast = e.__parse(t, x(x({}, u), { locale: this.resolvedLocale }));
3407
+ var a = Ar(o, ["formatters"]);
3408
+ this.ast = e.__parse(t, x(x({}, a), { locale: this.resolvedLocale }));
3444
3409
  } else
3445
3410
  this.ast = t;
3446
3411
  if (!Array.isArray(this.ast))
3447
3412
  throw new TypeError("A message must be provided as a String or AST.");
3448
- this.formats = Bn(e.formats, n), this.formatters = i && i.formatters || On(this.formatterCache);
3413
+ this.formats = bn(e.formats, n), this.formatters = i && i.formatters || vn(this.formatterCache);
3449
3414
  }
3450
3415
  return Object.defineProperty(e, "defaultLocale", {
3451
3416
  get: function() {
@@ -3454,11 +3419,11 @@ var Nn = (
3454
3419
  enumerable: !1,
3455
3420
  configurable: !0
3456
3421
  }), e.memoizedDefaultLocale = null, e.resolveLocale = function(t) {
3457
- if (typeof Intl.Locale != "undefined") {
3422
+ if (!(typeof Intl.Locale > "u")) {
3458
3423
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3459
3424
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3460
3425
  }
3461
- }, e.__parse = yn, e.formats = {
3426
+ }, e.__parse = fn, e.formats = {
3462
3427
  number: {
3463
3428
  integer: {
3464
3429
  maximumFractionDigits: 0
@@ -3519,7 +3484,7 @@ var Nn = (
3519
3484
  }, e;
3520
3485
  }()
3521
3486
  );
3522
- function wn(e, t) {
3487
+ function En(e, t) {
3523
3488
  if (t == null)
3524
3489
  return;
3525
3490
  if (t in e)
@@ -3540,92 +3505,92 @@ function wn(e, t) {
3540
3505
  n = void 0;
3541
3506
  return n;
3542
3507
  }
3543
- const k = {}, In = (e, t, r) => r && (t in k || (k[t] = {}), e in k[t] || (k[t][e] = r), r), kt = (e, t) => {
3508
+ const j = {}, xn = (e, t, r) => r && (t in j || (j[t] = {}), e in j[t] || (j[t][e] = r), r), $t = (e, t) => {
3544
3509
  if (t == null)
3545
3510
  return;
3546
- if (t in k && e in k[t])
3547
- return k[t][e];
3548
- const r = xe(t);
3511
+ if (t in j && e in j[t])
3512
+ return j[t][e];
3513
+ const r = Ee(t);
3549
3514
  for (let n = 0; n < r.length; n++) {
3550
- const i = r[n], s = Cn(i, e);
3515
+ const i = r[n], s = Pn(i, e);
3551
3516
  if (s)
3552
- return In(e, t, s);
3517
+ return xn(e, t, s);
3553
3518
  }
3554
3519
  };
3555
- let We;
3556
- const ae = ve({});
3557
- function Ln(e) {
3558
- return We[e] || null;
3520
+ let Ve;
3521
+ const oe = be({});
3522
+ function yn(e) {
3523
+ return Ve[e] || null;
3559
3524
  }
3560
- function Vt(e) {
3561
- return e in We;
3525
+ function Rt(e) {
3526
+ return e in Ve;
3562
3527
  }
3563
- function Cn(e, t) {
3564
- if (!Vt(e))
3528
+ function Pn(e, t) {
3529
+ if (!Rt(e))
3565
3530
  return null;
3566
- const r = Ln(e);
3567
- return wn(r, t);
3531
+ const r = yn(e);
3532
+ return En(r, t);
3568
3533
  }
3569
- function Mn(e) {
3534
+ function Hn(e) {
3570
3535
  if (e == null)
3571
3536
  return;
3572
- const t = xe(e);
3537
+ const t = Ee(e);
3573
3538
  for (let r = 0; r < t.length; r++) {
3574
3539
  const n = t[r];
3575
- if (Vt(n))
3540
+ if (Rt(n))
3576
3541
  return n;
3577
3542
  }
3578
3543
  }
3579
- function Xt(e, ...t) {
3580
- delete k[e], ae.update((r) => (r[e] = Ur.all([r[e] || {}, ...t]), r));
3544
+ function Ut(e, ...t) {
3545
+ delete j[e], oe.update((r) => (r[e] = Sr.all([r[e] || {}, ...t]), r));
3581
3546
  }
3582
- K(
3583
- [ae],
3547
+ Y(
3548
+ [oe],
3584
3549
  ([e]) => Object.keys(e)
3585
3550
  );
3586
- ae.subscribe((e) => We = e);
3587
- const me = {};
3588
- function $n(e, t) {
3589
- me[e].delete(t), me[e].size === 0 && delete me[e];
3551
+ oe.subscribe((e) => Ve = e);
3552
+ const pe = {};
3553
+ function Tn(e, t) {
3554
+ pe[e].delete(t), pe[e].size === 0 && delete pe[e];
3590
3555
  }
3591
- function zt(e) {
3592
- return me[e];
3556
+ function Gt(e) {
3557
+ return pe[e];
3593
3558
  }
3594
- function Rn(e) {
3595
- return xe(e).map((t) => {
3596
- const r = zt(t);
3559
+ function Sn(e) {
3560
+ return Ee(e).map((t) => {
3561
+ const r = Gt(t);
3597
3562
  return [t, r ? [...r] : []];
3598
3563
  }).filter(([, t]) => t.length > 0);
3599
3564
  }
3600
- function Fe(e) {
3601
- return e == null ? !1 : xe(e).some(
3565
+ function Ge(e) {
3566
+ return e == null ? !1 : Ee(e).some(
3602
3567
  (t) => {
3603
3568
  var r;
3604
- return (r = zt(t)) == null ? void 0 : r.size;
3569
+ return (r = Gt(t)) == null ? void 0 : r.size;
3605
3570
  }
3606
3571
  );
3607
3572
  }
3608
- function Un(e, t) {
3573
+ function An(e, t) {
3609
3574
  return Promise.all(
3610
- t.map((n) => ($n(e, n), n().then((i) => i.default || i)))
3611
- ).then((n) => Xt(e, ...n));
3612
- }
3613
- const re = {};
3614
- function Wt(e) {
3615
- if (!Fe(e))
3616
- return e in re ? re[e] : Promise.resolve();
3617
- const t = Rn(e);
3618
- return re[e] = Promise.all(
3575
+ t.map((n) => (Tn(e, n), n().then((i) => i.default || i)))
3576
+ ).then((n) => Ut(e, ...n));
3577
+ }
3578
+ const te = {};
3579
+ function Dt(e) {
3580
+ if (!Ge(e))
3581
+ return e in te ? te[e] : Promise.resolve();
3582
+ const t = Sn(e);
3583
+ return te[e] = Promise.all(
3619
3584
  t.map(
3620
- ([r, n]) => Un(r, n)
3585
+ ([r, n]) => An(r, n)
3621
3586
  )
3622
3587
  ).then(() => {
3623
- if (Fe(e))
3624
- return Wt(e);
3625
- delete re[e];
3626
- }), re[e];
3588
+ if (Ge(e))
3589
+ return Dt(e);
3590
+ delete te[e];
3591
+ }), te[e];
3627
3592
  }
3628
- const Gn = {
3593
+ const Bn = {
3629
3594
  number: {
3630
3595
  scientific: { notation: "scientific" },
3631
3596
  engineering: { notation: "engineering" },
@@ -3654,159 +3619,159 @@ const Gn = {
3654
3619
  timeZoneName: "short"
3655
3620
  }
3656
3621
  }
3657
- }, Dn = {
3622
+ }, On = {
3658
3623
  fallbackLocale: null,
3659
3624
  loadingDelay: 200,
3660
- formats: Gn,
3625
+ formats: Bn,
3661
3626
  warnOnMissingMessages: !0,
3662
3627
  handleMissingMessage: void 0,
3663
3628
  ignoreTag: !0
3664
- }, Fn = Dn;
3665
- function Y() {
3666
- return Fn;
3667
- }
3668
- const Ne = ve(!1);
3669
- var jn = Object.defineProperty, kn = Object.defineProperties, Vn = Object.getOwnPropertyDescriptors, ct = Object.getOwnPropertySymbols, Xn = Object.prototype.hasOwnProperty, zn = Object.prototype.propertyIsEnumerable, pt = (e, t, r) => t in e ? jn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Wn = (e, t) => {
3670
- for (var r in t || (t = {}))
3671
- Xn.call(t, r) && pt(e, r, t[r]);
3672
- if (ct)
3673
- for (var r of ct(t))
3674
- zn.call(t, r) && pt(e, r, t[r]);
3629
+ }, Nn = On;
3630
+ function q() {
3631
+ return Nn;
3632
+ }
3633
+ const Be = be(!1);
3634
+ var wn = Object.defineProperty, In = Object.defineProperties, Ln = Object.getOwnPropertyDescriptors, st = Object.getOwnPropertySymbols, Cn = Object.prototype.hasOwnProperty, Mn = Object.prototype.propertyIsEnumerable, ot = (e, t, r) => t in e ? wn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, $n = (e, t) => {
3635
+ for (var r in t)
3636
+ Cn.call(t, r) && ot(e, r, t[r]);
3637
+ if (st)
3638
+ for (var r of st(t))
3639
+ Mn.call(t, r) && ot(e, r, t[r]);
3675
3640
  return e;
3676
- }, Zn = (e, t) => kn(e, Vn(t));
3677
- let je;
3678
- const ge = ve(null);
3679
- function mt(e) {
3641
+ }, Rn = (e, t) => In(e, Ln(t));
3642
+ let De;
3643
+ const me = be(null);
3644
+ function at(e) {
3680
3645
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3681
3646
  }
3682
- function xe(e, t = Y().fallbackLocale) {
3683
- const r = mt(e);
3684
- return t ? [.../* @__PURE__ */ new Set([...r, ...mt(t)])] : r;
3647
+ function Ee(e, t = q().fallbackLocale) {
3648
+ const r = at(e);
3649
+ return t ? [.../* @__PURE__ */ new Set([...r, ...at(t)])] : r;
3685
3650
  }
3686
- function V() {
3687
- return je != null ? je : void 0;
3651
+ function k() {
3652
+ return De ?? void 0;
3688
3653
  }
3689
- ge.subscribe((e) => {
3690
- je = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3654
+ me.subscribe((e) => {
3655
+ De = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3691
3656
  });
3692
- const Qn = (e) => {
3693
- if (e && Mn(e) && Fe(e)) {
3694
- const { loadingDelay: t } = Y();
3657
+ const Un = (e) => {
3658
+ if (e && Hn(e) && Ge(e)) {
3659
+ const { loadingDelay: t } = q();
3695
3660
  let r;
3696
- return typeof window != "undefined" && V() != null && t ? r = window.setTimeout(
3697
- () => Ne.set(!0),
3661
+ return typeof window < "u" && k() != null && t ? r = window.setTimeout(
3662
+ () => Be.set(!0),
3698
3663
  t
3699
- ) : Ne.set(!0), Wt(e).then(() => {
3700
- ge.set(e);
3664
+ ) : Be.set(!0), Dt(e).then(() => {
3665
+ me.set(e);
3701
3666
  }).finally(() => {
3702
- clearTimeout(r), Ne.set(!1);
3667
+ clearTimeout(r), Be.set(!1);
3703
3668
  });
3704
3669
  }
3705
- return ge.set(e);
3706
- }, ee = Zn(Wn({}, ge), {
3707
- set: Qn
3708
- }), ye = (e) => {
3670
+ return me.set(e);
3671
+ }, K = Rn($n({}, me), {
3672
+ set: Un
3673
+ }), xe = (e) => {
3709
3674
  const t = /* @__PURE__ */ Object.create(null);
3710
3675
  return (n) => {
3711
3676
  const i = JSON.stringify(n);
3712
3677
  return i in t ? t[i] : t[i] = e(n);
3713
3678
  };
3714
3679
  };
3715
- var Jn = Object.defineProperty, be = Object.getOwnPropertySymbols, Zt = Object.prototype.hasOwnProperty, Qt = Object.prototype.propertyIsEnumerable, dt = (e, t, r) => t in e ? Jn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ze = (e, t) => {
3680
+ var Gn = Object.defineProperty, ge = Object.getOwnPropertySymbols, Ft = Object.prototype.hasOwnProperty, jt = Object.prototype.propertyIsEnumerable, ut = (e, t, r) => t in e ? Gn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Xe = (e, t) => {
3716
3681
  for (var r in t || (t = {}))
3717
- Zt.call(t, r) && dt(e, r, t[r]);
3718
- if (be)
3719
- for (var r of be(t))
3720
- Qt.call(t, r) && dt(e, r, t[r]);
3682
+ Ft.call(t, r) && ut(e, r, t[r]);
3683
+ if (ge)
3684
+ for (var r of ge(t))
3685
+ jt.call(t, r) && ut(e, r, t[r]);
3721
3686
  return e;
3722
- }, te = (e, t) => {
3687
+ }, ee = (e, t) => {
3723
3688
  var r = {};
3724
3689
  for (var n in e)
3725
- Zt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3726
- if (e != null && be)
3727
- for (var n of be(e))
3728
- t.indexOf(n) < 0 && Qt.call(e, n) && (r[n] = e[n]);
3690
+ Ft.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3691
+ if (e != null && ge)
3692
+ for (var n of ge(e))
3693
+ t.indexOf(n) < 0 && jt.call(e, n) && (r[n] = e[n]);
3729
3694
  return r;
3730
3695
  };
3731
- const se = (e, t) => {
3732
- const { formats: r } = Y();
3696
+ const ie = (e, t) => {
3697
+ const { formats: r } = q();
3733
3698
  if (e in r && t in r[e])
3734
3699
  return r[e][t];
3735
3700
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3736
- }, qn = ye(
3701
+ }, Dn = xe(
3737
3702
  (e) => {
3738
- var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
3703
+ var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
3739
3704
  if (r == null)
3740
3705
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3741
- return n && (i = se("number", n)), new Intl.NumberFormat(r, i);
3706
+ return n && (i = ie("number", n)), new Intl.NumberFormat(r, i);
3742
3707
  }
3743
- ), Yn = ye(
3708
+ ), Fn = xe(
3744
3709
  (e) => {
3745
- var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
3710
+ var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
3746
3711
  if (r == null)
3747
3712
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3748
- return n ? i = se("date", n) : Object.keys(i).length === 0 && (i = se("date", "short")), new Intl.DateTimeFormat(r, i);
3713
+ return n ? i = ie("date", n) : Object.keys(i).length === 0 && (i = ie("date", "short")), new Intl.DateTimeFormat(r, i);
3749
3714
  }
3750
- ), Kn = ye(
3715
+ ), jn = xe(
3751
3716
  (e) => {
3752
- var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
3717
+ var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
3753
3718
  if (r == null)
3754
3719
  throw new Error(
3755
3720
  '[svelte-i18n] A "locale" must be set to format time values'
3756
3721
  );
3757
- return n ? i = se("time", n) : Object.keys(i).length === 0 && (i = se("time", "short")), new Intl.DateTimeFormat(r, i);
3722
+ return n ? i = ie("time", n) : Object.keys(i).length === 0 && (i = ie("time", "short")), new Intl.DateTimeFormat(r, i);
3758
3723
  }
3759
- ), ei = (e = {}) => {
3724
+ ), kn = (e = {}) => {
3760
3725
  var t = e, {
3761
- locale: r = V()
3762
- } = t, n = te(t, [
3726
+ locale: r = k()
3727
+ } = t, n = ee(t, [
3763
3728
  "locale"
3764
3729
  ]);
3765
- return qn(Ze({ locale: r }, n));
3766
- }, ti = (e = {}) => {
3730
+ return Dn(Xe({ locale: r }, n));
3731
+ }, Vn = (e = {}) => {
3767
3732
  var t = e, {
3768
- locale: r = V()
3769
- } = t, n = te(t, [
3733
+ locale: r = k()
3734
+ } = t, n = ee(t, [
3770
3735
  "locale"
3771
3736
  ]);
3772
- return Yn(Ze({ locale: r }, n));
3773
- }, ri = (e = {}) => {
3737
+ return Fn(Xe({ locale: r }, n));
3738
+ }, Xn = (e = {}) => {
3774
3739
  var t = e, {
3775
- locale: r = V()
3776
- } = t, n = te(t, [
3740
+ locale: r = k()
3741
+ } = t, n = ee(t, [
3777
3742
  "locale"
3778
3743
  ]);
3779
- return Kn(Ze({ locale: r }, n));
3780
- }, ni = ye(
3744
+ return jn(Xe({ locale: r }, n));
3745
+ }, zn = xe(
3781
3746
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3782
- (e, t = V()) => new Nn(e, t, Y().formats, {
3783
- ignoreTag: Y().ignoreTag
3747
+ (e, t = k()) => new _n(e, t, q().formats, {
3748
+ ignoreTag: q().ignoreTag
3784
3749
  })
3785
- ), ii = (e, t = {}) => {
3750
+ ), Wn = (e, t = {}) => {
3786
3751
  var r, n, i, s;
3787
3752
  let o = t;
3788
3753
  typeof e == "object" && (o = e, e = o.id);
3789
3754
  const {
3790
- values: u,
3791
- locale: h = V(),
3792
- default: a
3755
+ values: a,
3756
+ locale: l = k(),
3757
+ default: u
3793
3758
  } = o;
3794
- if (h == null)
3759
+ if (l == null)
3795
3760
  throw new Error(
3796
3761
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3797
3762
  );
3798
- let l = kt(e, h);
3799
- if (!l)
3800
- l = (s = (i = (n = (r = Y()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: a })) != null ? i : a) != null ? s : e;
3801
- else if (typeof l != "string")
3763
+ let h = $t(e, l);
3764
+ if (!h)
3765
+ h = (s = (i = (n = (r = q()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
3766
+ else if (typeof h != "string")
3802
3767
  return console.warn(
3803
- `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
3804
- ), l;
3805
- if (!u)
3806
- return l;
3807
- let c = l;
3768
+ `[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.`
3769
+ ), h;
3770
+ if (!a)
3771
+ return h;
3772
+ let c = h;
3808
3773
  try {
3809
- c = ni(l, h).format(u);
3774
+ c = zn(h, l).format(a);
3810
3775
  } catch (f) {
3811
3776
  f instanceof Error && console.warn(
3812
3777
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3814,140 +3779,140 @@ const se = (e, t) => {
3814
3779
  );
3815
3780
  }
3816
3781
  return c;
3817
- }, si = (e, t) => ri(t).format(e), oi = (e, t) => ti(t).format(e), ai = (e, t) => ei(t).format(e), ui = (e, t = V()) => kt(e, t), hi = K([ee, ae], () => ii);
3818
- K([ee], () => si);
3819
- K([ee], () => oi);
3820
- K([ee], () => ai);
3821
- K([ee, ae], () => ui);
3822
- function gt(e, t) {
3823
- Xt(e, t);
3782
+ }, Zn = (e, t) => Xn(t).format(e), Qn = (e, t) => Vn(t).format(e), Jn = (e, t) => kn(t).format(e), qn = (e, t = k()) => $t(e, t), Yn = Y([K, oe], () => Wn);
3783
+ Y([K], () => Zn);
3784
+ Y([K], () => Qn);
3785
+ Y([K], () => Jn);
3786
+ Y([K, oe], () => qn);
3787
+ function ht(e, t) {
3788
+ Ut(e, t);
3824
3789
  }
3825
- function li(e) {
3826
- ee.set(e);
3790
+ function Kn(e) {
3791
+ K.set(e);
3827
3792
  }
3828
- function fi(e) {
3829
- nr(e, "svelte-r0nv1e", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CasinoProviders{display:flex;flex-direction:column;gap:1rem;padding:10px 60px}.ProviderTitle{font-weight:500;position:relative;right:30px;margin:10px 0}.Provider{border-radius:7px;display:flex;align-items:center;gap:16px;max-width:300px}.ProviderTextContainer{display:flex;flex-direction:column;justify-content:center;gap:10px;font-size:15px;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.ProviderTextContainer p:first-child{font-weight:600;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.ProviderTextContainer p:last-child{color:var(--emw--color-gray-150, #828282);font-weight:300}.ProviderImage{border-radius:4px;object-fit:contain;height:64px;width:64px;font-weight:100;border:0.5px solid var(--emw--color-gray-100, #E6E6E6);overflow:hidden;object-fit:contain}.Message{font-weight:600;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}");
3793
+ function ei(e) {
3794
+ Xt(e, "svelte-r0nv1e", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CasinoProviders{display:flex;flex-direction:column;gap:1rem;padding:10px 60px}.ProviderTitle{font-weight:500;position:relative;right:30px;margin:10px 0}.Provider{border-radius:7px;display:flex;align-items:center;gap:16px;max-width:300px}.ProviderTextContainer{display:flex;flex-direction:column;justify-content:center;gap:10px;font-size:15px;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.ProviderTextContainer p:first-child{font-weight:600;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.ProviderTextContainer p:last-child{color:var(--emw--color-gray-150, #828282);font-weight:300}.ProviderImage{border-radius:4px;object-fit:contain;height:64px;width:64px;font-weight:100;border:0.5px solid var(--emw--color-gray-100, #E6E6E6);overflow:hidden;object-fit:contain}.Message{font-weight:600;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}");
3830
3795
  }
3831
- function bt(e, t, r) {
3796
+ function lt(e, t, r) {
3832
3797
  const n = e.slice();
3833
3798
  return n[21] = t[r], n;
3834
3799
  }
3835
- function vt(e, t, r) {
3800
+ function ft(e, t, r) {
3836
3801
  const n = e.slice();
3837
3802
  return n[21] = t[r], n;
3838
3803
  }
3839
- function ci(e) {
3804
+ function ti(e) {
3840
3805
  let t, r = (
3841
3806
  /*$_*/
3842
3807
  e[4]("popularProviders") + ""
3843
- ), n, i, s, o, u = (
3808
+ ), n, i, s, o, a = (
3844
3809
  /*$_*/
3845
3810
  e[4]("otherProviders") + ""
3846
- ), h, a, l, c = le(
3811
+ ), l, u, h, c = he(
3847
3812
  /*topProviders*/
3848
3813
  e[1]
3849
3814
  ), f = [];
3850
3815
  for (let p = 0; p < c.length; p += 1)
3851
- f[p] = Et(vt(e, c, p));
3852
- let g = le(
3816
+ f[p] = ct(ft(e, c, p));
3817
+ let g = he(
3853
3818
  /*otherProviders*/
3854
3819
  e[2]
3855
- ), d = [];
3820
+ ), m = [];
3856
3821
  for (let p = 0; p < g.length; p += 1)
3857
- d[p] = _t(bt(e, g, p));
3822
+ m[p] = pt(lt(e, g, p));
3858
3823
  return {
3859
3824
  c() {
3860
- t = B("h4"), n = U(r), i = G();
3825
+ t = B("h4"), n = R(r), i = U();
3861
3826
  for (let p = 0; p < f.length; p += 1)
3862
3827
  f[p].c();
3863
- s = G(), o = B("h4"), h = U(u), a = G();
3864
- for (let p = 0; p < d.length; p += 1)
3865
- d[p].c();
3866
- l = or(), S(t, "class", "ProviderTitle"), S(o, "class", "ProviderTitle");
3828
+ s = U(), o = B("h4"), l = R(a), u = U();
3829
+ for (let p = 0; p < m.length; p += 1)
3830
+ m[p].c();
3831
+ h = Zt(), S(t, "class", "ProviderTitle"), S(o, "class", "ProviderTitle");
3867
3832
  },
3868
3833
  m(p, v) {
3869
- $(p, t, v), y(t, n), $(p, i, v);
3870
- for (let m = 0; m < f.length; m += 1)
3871
- f[m] && f[m].m(p, v);
3872
- $(p, s, v), $(p, o, v), y(o, h), $(p, a, v);
3873
- for (let m = 0; m < d.length; m += 1)
3874
- d[m] && d[m].m(p, v);
3875
- $(p, l, v);
3834
+ M(p, t, v), y(t, n), M(p, i, v);
3835
+ for (let d = 0; d < f.length; d += 1)
3836
+ f[d] && f[d].m(p, v);
3837
+ M(p, s, v), M(p, o, v), y(o, l), M(p, u, v);
3838
+ for (let d = 0; d < m.length; d += 1)
3839
+ m[d] && m[d].m(p, v);
3840
+ M(p, h, v);
3876
3841
  },
3877
3842
  p(p, v) {
3878
3843
  if (v & /*$_*/
3879
3844
  16 && r !== (r = /*$_*/
3880
- p[4]("popularProviders") + "") && F(n, r), v & /*openGameProviderPage, topProviders, $_*/
3845
+ p[4]("popularProviders") + "") && D(n, r), v & /*openGameProviderPage, topProviders, $_*/
3881
3846
  50) {
3882
- c = le(
3847
+ c = he(
3883
3848
  /*topProviders*/
3884
3849
  p[1]
3885
3850
  );
3886
- let m;
3887
- for (m = 0; m < c.length; m += 1) {
3888
- const T = vt(p, c, m);
3889
- f[m] ? f[m].p(T, v) : (f[m] = Et(T), f[m].c(), f[m].m(s.parentNode, s));
3851
+ let d;
3852
+ for (d = 0; d < c.length; d += 1) {
3853
+ const T = ft(p, c, d);
3854
+ f[d] ? f[d].p(T, v) : (f[d] = ct(T), f[d].c(), f[d].m(s.parentNode, s));
3890
3855
  }
3891
- for (; m < f.length; m += 1)
3892
- f[m].d(1);
3856
+ for (; d < f.length; d += 1)
3857
+ f[d].d(1);
3893
3858
  f.length = c.length;
3894
3859
  }
3895
3860
  if (v & /*$_*/
3896
- 16 && u !== (u = /*$_*/
3897
- p[4]("otherProviders") + "") && F(h, u), v & /*openGameProviderPage, otherProviders, $_*/
3861
+ 16 && a !== (a = /*$_*/
3862
+ p[4]("otherProviders") + "") && D(l, a), v & /*openGameProviderPage, otherProviders, $_*/
3898
3863
  52) {
3899
- g = le(
3864
+ g = he(
3900
3865
  /*otherProviders*/
3901
3866
  p[2]
3902
3867
  );
3903
- let m;
3904
- for (m = 0; m < g.length; m += 1) {
3905
- const T = bt(p, g, m);
3906
- d[m] ? d[m].p(T, v) : (d[m] = _t(T), d[m].c(), d[m].m(l.parentNode, l));
3868
+ let d;
3869
+ for (d = 0; d < g.length; d += 1) {
3870
+ const T = lt(p, g, d);
3871
+ m[d] ? m[d].p(T, v) : (m[d] = pt(T), m[d].c(), m[d].m(h.parentNode, h));
3907
3872
  }
3908
- for (; m < d.length; m += 1)
3909
- d[m].d(1);
3910
- d.length = g.length;
3873
+ for (; d < m.length; d += 1)
3874
+ m[d].d(1);
3875
+ m.length = g.length;
3911
3876
  }
3912
3877
  },
3913
3878
  d(p) {
3914
- p && (C(t), C(i), C(s), C(o), C(a), C(l)), et(f, p), et(d, p);
3879
+ p && (L(t), L(i), L(s), L(o), L(u), L(h)), We(f, p), We(m, p);
3915
3880
  }
3916
3881
  };
3917
3882
  }
3918
- function pi(e) {
3883
+ function ri(e) {
3919
3884
  let t, r = (
3920
3885
  /*$_*/
3921
3886
  e[4]("loading") + ""
3922
3887
  ), n;
3923
3888
  return {
3924
3889
  c() {
3925
- t = B("p"), n = U(r), S(t, "class", "Message");
3890
+ t = B("p"), n = R(r), S(t, "class", "Message");
3926
3891
  },
3927
3892
  m(i, s) {
3928
- $(i, t, s), y(t, n);
3893
+ M(i, t, s), y(t, n);
3929
3894
  },
3930
3895
  p(i, s) {
3931
3896
  s & /*$_*/
3932
3897
  16 && r !== (r = /*$_*/
3933
- i[4]("loading") + "") && F(n, r);
3898
+ i[4]("loading") + "") && D(n, r);
3934
3899
  },
3935
3900
  d(i) {
3936
- i && C(t);
3901
+ i && L(t);
3937
3902
  }
3938
3903
  };
3939
3904
  }
3940
- function Et(e) {
3941
- let t, r, n, i, s, o, u, h = (
3905
+ function ct(e) {
3906
+ let t, r, n, i, s, o, a, l = (
3942
3907
  /*provider*/
3943
3908
  e[21].name + ""
3944
- ), a, l, c, f = (
3909
+ ), u, h, c, f = (
3945
3910
  /*provider*/
3946
3911
  e[21].games.count + ""
3947
- ), g, d, p = (
3912
+ ), g, m, p = (
3948
3913
  /*$_*/
3949
3914
  e[4]("games") + ""
3950
- ), v, m, T;
3915
+ ), v, d, T;
3951
3916
  function A() {
3952
3917
  return (
3953
3918
  /*click_handler*/
@@ -3959,12 +3924,12 @@ function Et(e) {
3959
3924
  }
3960
3925
  return {
3961
3926
  c() {
3962
- t = B("div"), r = B("img"), s = G(), o = B("div"), u = B("p"), a = U(h), l = G(), c = B("p"), g = U(f), d = G(), v = U(p), de(r.src, n = /*provider*/
3927
+ t = B("div"), r = B("img"), s = U(), o = B("div"), a = B("p"), u = R(l), h = U(), c = B("p"), g = R(f), m = U(), v = R(p), de(r.src, n = /*provider*/
3963
3928
  e[21].logo) || S(r, "src", n), S(r, "alt", i = /*provider*/
3964
3929
  e[21].name), S(r, "class", "ProviderImage"), S(o, "class", "ProviderTextContainer"), S(t, "class", "Provider");
3965
3930
  },
3966
3931
  m(O, H) {
3967
- $(O, t, H), y(t, r), y(t, s), y(t, o), y(o, u), y(u, a), y(o, l), y(o, c), y(c, g), y(c, d), y(c, v), m || (T = Ht(t, "click", A), m = !0);
3932
+ M(O, t, H), y(t, r), y(t, s), y(t, o), y(o, a), y(a, u), y(o, h), y(o, c), y(c, g), y(c, m), y(c, v), d || (T = bt(t, "click", A), d = !0);
3968
3933
  },
3969
3934
  p(O, H) {
3970
3935
  e = O, H & /*topProviders*/
@@ -3972,29 +3937,29 @@ function Et(e) {
3972
3937
  e[21].logo) && S(r, "src", n), H & /*topProviders*/
3973
3938
  2 && i !== (i = /*provider*/
3974
3939
  e[21].name) && S(r, "alt", i), H & /*topProviders*/
3975
- 2 && h !== (h = /*provider*/
3976
- e[21].name + "") && F(a, h), H & /*topProviders*/
3940
+ 2 && l !== (l = /*provider*/
3941
+ e[21].name + "") && D(u, l), H & /*topProviders*/
3977
3942
  2 && f !== (f = /*provider*/
3978
- e[21].games.count + "") && F(g, f), H & /*$_*/
3943
+ e[21].games.count + "") && D(g, f), H & /*$_*/
3979
3944
  16 && p !== (p = /*$_*/
3980
- e[4]("games") + "") && F(v, p);
3945
+ e[4]("games") + "") && D(v, p);
3981
3946
  },
3982
3947
  d(O) {
3983
- O && C(t), m = !1, T();
3948
+ O && L(t), d = !1, T();
3984
3949
  }
3985
3950
  };
3986
3951
  }
3987
- function _t(e) {
3988
- let t, r, n, i, s, o, u, h = (
3952
+ function pt(e) {
3953
+ let t, r, n, i, s, o, a, l = (
3989
3954
  /*provider*/
3990
3955
  e[21].name + ""
3991
- ), a, l, c, f = (
3956
+ ), u, h, c, f = (
3992
3957
  /*provider*/
3993
3958
  e[21].games.count + ""
3994
- ), g, d, p = (
3959
+ ), g, m, p = (
3995
3960
  /*$_*/
3996
3961
  e[4]("games") + ""
3997
- ), v, m, T, A;
3962
+ ), v, d, T, A;
3998
3963
  function O() {
3999
3964
  return (
4000
3965
  /*click_handler_1*/
@@ -4006,12 +3971,12 @@ function _t(e) {
4006
3971
  }
4007
3972
  return {
4008
3973
  c() {
4009
- t = B("div"), r = B("img"), s = G(), o = B("div"), u = B("p"), a = U(h), l = G(), c = B("p"), g = U(f), d = G(), v = U(p), m = G(), de(r.src, n = /*provider*/
3974
+ t = B("div"), r = B("img"), s = U(), o = B("div"), a = B("p"), u = R(l), h = U(), c = B("p"), g = R(f), m = U(), v = R(p), d = U(), de(r.src, n = /*provider*/
4010
3975
  e[21].logo) || S(r, "src", n), S(r, "alt", i = /*provider*/
4011
3976
  e[21].name), S(r, "class", "ProviderImage"), S(o, "class", "ProviderTextContainer"), S(t, "class", "Provider");
4012
3977
  },
4013
3978
  m(H, I) {
4014
- $(H, t, I), y(t, r), y(t, s), y(t, o), y(o, u), y(u, a), y(o, l), y(o, c), y(c, g), y(c, d), y(c, v), y(t, m), T || (A = Ht(t, "click", O), T = !0);
3979
+ M(H, t, I), y(t, r), y(t, s), y(t, o), y(o, a), y(a, u), y(o, h), y(o, c), y(c, g), y(c, m), y(c, v), y(t, d), T || (A = bt(t, "click", O), T = !0);
4015
3980
  },
4016
3981
  p(H, I) {
4017
3982
  e = H, I & /*otherProviders*/
@@ -4019,24 +3984,24 @@ function _t(e) {
4019
3984
  e[21].logo) && S(r, "src", n), I & /*otherProviders*/
4020
3985
  4 && i !== (i = /*provider*/
4021
3986
  e[21].name) && S(r, "alt", i), I & /*otherProviders*/
4022
- 4 && h !== (h = /*provider*/
4023
- e[21].name + "") && F(a, h), I & /*otherProviders*/
3987
+ 4 && l !== (l = /*provider*/
3988
+ e[21].name + "") && D(u, l), I & /*otherProviders*/
4024
3989
  4 && f !== (f = /*provider*/
4025
- e[21].games.count + "") && F(g, f), I & /*$_*/
3990
+ e[21].games.count + "") && D(g, f), I & /*$_*/
4026
3991
  16 && p !== (p = /*$_*/
4027
- e[4]("games") + "") && F(v, p);
3992
+ e[4]("games") + "") && D(v, p);
4028
3993
  },
4029
3994
  d(H) {
4030
- H && C(t), T = !1, A();
3995
+ H && L(t), T = !1, A();
4031
3996
  }
4032
3997
  };
4033
3998
  }
4034
- function mi(e) {
3999
+ function ni(e) {
4035
4000
  let t;
4036
4001
  function r(s, o) {
4037
4002
  return (
4038
4003
  /*isLoading*/
4039
- s[3] === !0 ? pi : ci
4004
+ s[3] === !0 ? ri : ti
4040
4005
  );
4041
4006
  }
4042
4007
  let n = r(e), i = n(e);
@@ -4045,108 +4010,108 @@ function mi(e) {
4045
4010
  t = B("div"), i.c(), S(t, "class", "CasinoProviders");
4046
4011
  },
4047
4012
  m(s, o) {
4048
- $(s, t, o), i.m(t, null), e[14](t);
4013
+ M(s, t, o), i.m(t, null), e[14](t);
4049
4014
  },
4050
4015
  p(s, [o]) {
4051
4016
  n === (n = r(s)) && i ? i.p(s, o) : (i.d(1), i = n(s), i && (i.c(), i.m(t, null)));
4052
4017
  },
4053
- i: R,
4054
- o: R,
4018
+ i: $,
4019
+ o: $,
4055
4020
  d(s) {
4056
- s && C(t), i.d(), e[14](null);
4021
+ s && L(t), i.d(), e[14](null);
4057
4022
  }
4058
4023
  };
4059
4024
  }
4060
- function di(e, t, r) {
4025
+ function ii(e, t, r) {
4061
4026
  let n;
4062
- rr(e, hi, (b) => r(4, n = b));
4063
- let { endpoint: i = "" } = t, { datasource: s = "" } = t, { lang: o = "en" } = t, { clientstyling: u = "" } = t, { clientstylingurl: h = "" } = t, { translationurl: a = "" } = t, l = [], c = [], f = [], g = !1, d;
4027
+ Vt(e, Yn, (b) => r(4, n = b));
4028
+ let { endpoint: i = "" } = t, { datasource: s = "" } = t, { lang: o = "en" } = t, { clientstyling: a = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: u = "" } = t, h = [], c = [], f = [], g = !1, m;
4064
4029
  const p = () => {
4065
- fetch(a).then((N) => N.json()).then((N) => {
4066
- Object.keys(N).forEach((M) => {
4067
- gt(M, N[M]);
4030
+ fetch(u).then((N) => N.json()).then((N) => {
4031
+ Object.keys(N).forEach((C) => {
4032
+ ht(C, N[C]);
4068
4033
  });
4069
4034
  }).catch((N) => {
4070
4035
  console.log(N);
4071
4036
  });
4072
4037
  };
4073
- Object.keys(rt).forEach((b) => {
4074
- gt(b, rt[b]);
4038
+ Object.keys(Qe).forEach((b) => {
4039
+ ht(b, Qe[b]);
4075
4040
  });
4076
4041
  const v = () => {
4077
4042
  r(3, g = !0);
4078
4043
  const b = new URL(`${i}/v1/casino/vendors`);
4079
4044
  b.searchParams.append("datasource", s), b.searchParams.append("language", o), b.searchParams.append("fields", "id,name,displayName,subVendors,isTopVendor,logo,games"), fetch(b).then((N) => N.json()).then((N) => {
4080
- r(3, g = !1), l = N.items.map((D) => D), r(1, c = l.filter((D) => D.isTopVendor === !0)), r(2, f = l.filter((D) => D.isTopVendor === !1));
4081
- let M = [];
4082
- M = l.flatMap((D) => D.subVendors), f.push(...M.filter((D) => D.games.count > 0));
4045
+ r(3, g = !1), h = N.items.map((G) => G), r(1, c = h.filter((G) => G.isTopVendor === !0)), r(2, f = h.filter((G) => G.isTopVendor === !1));
4046
+ let C = [];
4047
+ C = h.flatMap((G) => G.subVendors), f.push(...C.filter((G) => G.games.count > 0));
4083
4048
  });
4084
- }, m = (b, N, M) => {
4049
+ }, d = (b, N, C) => {
4085
4050
  window.postMessage(
4086
4051
  {
4087
4052
  type: "OpenGameProvider",
4088
4053
  providerId: b,
4089
4054
  providerName: N,
4090
- providerLogo: M
4055
+ providerLogo: C
4091
4056
  },
4092
4057
  window.location.href
4093
4058
  );
4094
4059
  }, T = () => {
4095
- li(o);
4060
+ Kn(o);
4096
4061
  }, A = () => {
4097
4062
  let b = document.createElement("style");
4098
- b.innerHTML = u, d.appendChild(b);
4063
+ b.innerHTML = a, m.appendChild(b);
4099
4064
  }, O = () => {
4100
- let b = new URL(h), N = document.createElement("style");
4101
- fetch(b.href).then((M) => M.text()).then((M) => {
4102
- N.innerHTML = M, setTimeout(
4065
+ let b = new URL(l), N = document.createElement("style");
4066
+ fetch(b.href).then((C) => C.text()).then((C) => {
4067
+ N.innerHTML = C, setTimeout(
4103
4068
  () => {
4104
- d.appendChild(N);
4069
+ m.appendChild(N);
4105
4070
  },
4106
4071
  1
4107
4072
  );
4108
4073
  });
4109
- }, H = (b) => m(b.id, b.name, b.logo), I = (b) => m(b.id, b.name, b.logo);
4110
- function ue(b) {
4111
- we[b ? "unshift" : "push"](() => {
4112
- d = b, r(0, d);
4074
+ }, H = (b) => d(b.id, b.name, b.logo), I = (b) => d(b.id, b.name, b.logo);
4075
+ function ae(b) {
4076
+ Oe[b ? "unshift" : "push"](() => {
4077
+ m = b, r(0, m);
4113
4078
  });
4114
4079
  }
4115
4080
  return e.$$set = (b) => {
4116
- "endpoint" in b && r(6, i = b.endpoint), "datasource" in b && r(7, s = b.datasource), "lang" in b && r(8, o = b.lang), "clientstyling" in b && r(9, u = b.clientstyling), "clientstylingurl" in b && r(10, h = b.clientstylingurl), "translationurl" in b && r(11, a = b.translationurl);
4081
+ "endpoint" in b && r(6, i = b.endpoint), "datasource" in b && r(7, s = b.datasource), "lang" in b && r(8, o = b.lang), "clientstyling" in b && r(9, a = b.clientstyling), "clientstylingurl" in b && r(10, l = b.clientstylingurl), "translationurl" in b && r(11, u = b.translationurl);
4117
4082
  }, e.$$.update = () => {
4118
4083
  e.$$.dirty & /*endpoint, lang, datasource*/
4119
4084
  448 && i && o && s && v(), e.$$.dirty & /*lang*/
4120
4085
  256 && o && T(), e.$$.dirty & /*translationurl*/
4121
- 2048 && a && p(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4122
- 513 && u && d && A(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4123
- 1025 && h && d && O();
4086
+ 2048 && u && p(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4087
+ 513 && a && m && A(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4088
+ 1025 && l && m && O();
4124
4089
  }, [
4125
- d,
4090
+ m,
4126
4091
  c,
4127
4092
  f,
4128
4093
  g,
4129
4094
  n,
4130
- m,
4095
+ d,
4131
4096
  i,
4132
4097
  s,
4133
4098
  o,
4134
- u,
4135
- h,
4136
4099
  a,
4100
+ l,
4101
+ u,
4137
4102
  H,
4138
4103
  I,
4139
- ue
4104
+ ae
4140
4105
  ];
4141
4106
  }
4142
- class gi extends _r {
4107
+ class si extends ur {
4143
4108
  constructor(t) {
4144
- super(), vr(
4109
+ super(), or(
4145
4110
  this,
4146
4111
  t,
4147
- di,
4148
- mi,
4149
- yt,
4112
+ ii,
4113
+ ni,
4114
+ mt,
4150
4115
  {
4151
4116
  endpoint: 6,
4152
4117
  datasource: 7,
@@ -4155,47 +4120,47 @@ class gi extends _r {
4155
4120
  clientstylingurl: 10,
4156
4121
  translationurl: 11
4157
4122
  },
4158
- fi
4123
+ ei
4159
4124
  );
4160
4125
  }
4161
4126
  get endpoint() {
4162
4127
  return this.$$.ctx[6];
4163
4128
  }
4164
4129
  set endpoint(t) {
4165
- this.$$set({ endpoint: t }), j();
4130
+ this.$$set({ endpoint: t }), F();
4166
4131
  }
4167
4132
  get datasource() {
4168
4133
  return this.$$.ctx[7];
4169
4134
  }
4170
4135
  set datasource(t) {
4171
- this.$$set({ datasource: t }), j();
4136
+ this.$$set({ datasource: t }), F();
4172
4137
  }
4173
4138
  get lang() {
4174
4139
  return this.$$.ctx[8];
4175
4140
  }
4176
4141
  set lang(t) {
4177
- this.$$set({ lang: t }), j();
4142
+ this.$$set({ lang: t }), F();
4178
4143
  }
4179
4144
  get clientstyling() {
4180
4145
  return this.$$.ctx[9];
4181
4146
  }
4182
4147
  set clientstyling(t) {
4183
- this.$$set({ clientstyling: t }), j();
4148
+ this.$$set({ clientstyling: t }), F();
4184
4149
  }
4185
4150
  get clientstylingurl() {
4186
4151
  return this.$$.ctx[10];
4187
4152
  }
4188
4153
  set clientstylingurl(t) {
4189
- this.$$set({ clientstylingurl: t }), j();
4154
+ this.$$set({ clientstylingurl: t }), F();
4190
4155
  }
4191
4156
  get translationurl() {
4192
4157
  return this.$$.ctx[11];
4193
4158
  }
4194
4159
  set translationurl(t) {
4195
- this.$$set({ translationurl: t }), j();
4160
+ this.$$set({ translationurl: t }), F();
4196
4161
  }
4197
4162
  }
4198
- Er(gi, { endpoint: {}, datasource: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
4163
+ ar(si, { endpoint: {}, datasource: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
4199
4164
  export {
4200
- gi as default
4165
+ si as C
4201
4166
  };