@everymatrix/casino-favorites-section 1.47.3 → 1.48.1

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