@everymatrix/player-account-gaming-limits-group-edit 1.54.0 → 1.54.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,82 +1,53 @@
1
- var Ar = Object.defineProperty, Pr = Object.defineProperties;
2
- var Lr = Object.getOwnPropertyDescriptors;
3
- var lt = Object.getOwnPropertySymbols;
4
- var Or = Object.prototype.hasOwnProperty, Ir = Object.prototype.propertyIsEnumerable;
5
- var Pe = (e, t, r) => t in e ? Ar(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ht = (e, t) => {
6
- for (var r in t || (t = {}))
7
- Or.call(t, r) && Pe(e, r, t[r]);
8
- if (lt)
9
- for (var r of lt(t))
10
- Ir.call(t, r) && Pe(e, r, t[r]);
11
- return e;
12
- }, ft = (e, t) => Pr(e, Lr(t));
13
- var O = (e, t, r) => Pe(e, typeof t != "symbol" ? t + "" : t, r);
14
- var ct = (e, t, r) => new Promise((n, i) => {
15
- var o = (l) => {
16
- try {
17
- s(r.next(l));
18
- } catch (u) {
19
- i(u);
20
- }
21
- }, a = (l) => {
22
- try {
23
- s(r.throw(l));
24
- } catch (u) {
25
- i(u);
26
- }
27
- }, s = (l) => l.done ? n(l.value) : Promise.resolve(l.value).then(o, a);
28
- s((r = r.apply(e, t)).next());
29
- });
30
- function I() {
1
+ function O() {
31
2
  }
32
- const Mr = (e) => e;
33
- function Nr(e, t) {
3
+ const wr = (e) => e;
4
+ function Sr(e, t) {
34
5
  for (const r in t) e[r] = t[r];
35
6
  return (
36
7
  /** @type {T & S} */
37
8
  e
38
9
  );
39
10
  }
40
- function Dt(e) {
11
+ function Mt(e) {
41
12
  return e();
42
13
  }
43
- function mt() {
14
+ function at() {
44
15
  return /* @__PURE__ */ Object.create(null);
45
16
  }
46
- function F(e) {
47
- e.forEach(Dt);
17
+ function D(e) {
18
+ e.forEach(Mt);
48
19
  }
49
- function Se(e) {
20
+ function we(e) {
50
21
  return typeof e == "function";
51
22
  }
52
- function Ft(e, t) {
23
+ function Nt(e, t) {
53
24
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
54
25
  }
55
- function $r(e) {
26
+ function Tr(e) {
56
27
  return Object.keys(e).length === 0;
57
28
  }
58
- function jt(e, ...t) {
29
+ function $t(e, ...t) {
59
30
  if (e == null) {
60
31
  for (const n of t)
61
32
  n(void 0);
62
- return I;
33
+ return O;
63
34
  }
64
35
  const r = e.subscribe(...t);
65
36
  return r.unsubscribe ? () => r.unsubscribe() : r;
66
37
  }
67
- function Rr(e, t, r) {
68
- e.$$.on_destroy.push(jt(t, r));
38
+ function Hr(e, t, r) {
39
+ e.$$.on_destroy.push($t(t, r));
69
40
  }
70
- function Gr(e, t, r, n) {
41
+ function Cr(e, t, r, n) {
71
42
  if (e) {
72
- const i = kt(e, t, r, n);
43
+ const i = Rt(e, t, r, n);
73
44
  return e[0](i);
74
45
  }
75
46
  }
76
- function kt(e, t, r, n) {
77
- return e[1] && n ? Nr(r.ctx.slice(), e[1](n(t))) : r.ctx;
47
+ function Rt(e, t, r, n) {
48
+ return e[1] && n ? Sr(r.ctx.slice(), e[1](n(t))) : r.ctx;
78
49
  }
79
- function Ur(e, t, r, n) {
50
+ function Br(e, t, r, n) {
80
51
  if (e[2] && n) {
81
52
  const i = e[2](n(r));
82
53
  if (t.dirty === void 0)
@@ -91,13 +62,13 @@ function Ur(e, t, r, n) {
91
62
  }
92
63
  return t.dirty;
93
64
  }
94
- function Dr(e, t, r, n, i, o) {
65
+ function Ar(e, t, r, n, i, o) {
95
66
  if (i) {
96
- const a = kt(t, r, n, o);
67
+ const a = Rt(t, r, n, o);
97
68
  e.p(a, i);
98
69
  }
99
70
  }
100
- function Fr(e) {
71
+ function Pr(e) {
101
72
  if (e.ctx.length > 32) {
102
73
  const t = [], r = e.ctx.length / 32;
103
74
  for (let n = 0; n < r; n++)
@@ -106,36 +77,36 @@ function Fr(e) {
106
77
  }
107
78
  return -1;
108
79
  }
109
- const Vt = typeof window != "undefined";
110
- let jr = Vt ? () => window.performance.now() : () => Date.now(), nt = Vt ? (e) => requestAnimationFrame(e) : I;
111
- const W = /* @__PURE__ */ new Set();
112
- function Xt(e) {
113
- W.forEach((t) => {
114
- t.c(e) || (W.delete(t), t.f());
115
- }), W.size !== 0 && nt(Xt);
80
+ const Gt = typeof window < "u";
81
+ let Lr = Gt ? () => window.performance.now() : () => Date.now(), tt = Gt ? (e) => requestAnimationFrame(e) : O;
82
+ const z = /* @__PURE__ */ new Set();
83
+ function Ut(e) {
84
+ z.forEach((t) => {
85
+ t.c(e) || (z.delete(t), t.f());
86
+ }), z.size !== 0 && tt(Ut);
116
87
  }
117
- function kr(e) {
88
+ function Or(e) {
118
89
  let t;
119
- return W.size === 0 && nt(Xt), {
90
+ return z.size === 0 && tt(Ut), {
120
91
  promise: new Promise((r) => {
121
- W.add(t = { c: e, f: r });
92
+ z.add(t = { c: e, f: r });
122
93
  }),
123
94
  abort() {
124
- W.delete(t);
95
+ z.delete(t);
125
96
  }
126
97
  };
127
98
  }
128
99
  function P(e, t) {
129
100
  e.appendChild(t);
130
101
  }
131
- function Vr(e, t, r) {
132
- const n = it(e);
102
+ function Ir(e, t, r) {
103
+ const n = rt(e);
133
104
  if (!n.getElementById(t)) {
134
- const i = M("style");
135
- i.id = t, i.textContent = r, zt(n, i);
105
+ const i = I("style");
106
+ i.id = t, i.textContent = r, Dt(n, i);
136
107
  }
137
108
  }
138
- function it(e) {
109
+ function rt(e) {
139
110
  if (!e) return document;
140
111
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
141
112
  return t && /** @type {ShadowRoot} */
@@ -144,46 +115,46 @@ function it(e) {
144
115
  t
145
116
  ) : e.ownerDocument;
146
117
  }
147
- function Xr(e) {
148
- const t = M("style");
149
- return t.textContent = "/* empty */", zt(it(e), t), t.sheet;
118
+ function Mr(e) {
119
+ const t = I("style");
120
+ return t.textContent = "/* empty */", Dt(rt(e), t), t.sheet;
150
121
  }
151
- function zt(e, t) {
122
+ function Dt(e, t) {
152
123
  return P(
153
124
  /** @type {Document} */
154
125
  e.head || e,
155
126
  t
156
127
  ), t.sheet;
157
128
  }
158
- function ot(e, t, r) {
129
+ function nt(e, t, r) {
159
130
  e.insertBefore(t, r || null);
160
131
  }
161
- function he(e) {
132
+ function le(e) {
162
133
  e.parentNode && e.parentNode.removeChild(e);
163
134
  }
164
- function Co(e, t) {
135
+ function po(e, t) {
165
136
  for (let r = 0; r < e.length; r += 1)
166
137
  e[r] && e[r].d(t);
167
138
  }
168
- function M(e) {
139
+ function I(e) {
169
140
  return document.createElement(e);
170
141
  }
171
- function dt(e) {
142
+ function ut(e) {
172
143
  return document.createElementNS("http://www.w3.org/2000/svg", e);
173
144
  }
174
- function oe(e) {
145
+ function ie(e) {
175
146
  return document.createTextNode(e);
176
147
  }
177
- function Le() {
178
- return oe(" ");
148
+ function Ae() {
149
+ return ie(" ");
179
150
  }
180
- function Bo() {
181
- return oe("");
151
+ function bo() {
152
+ return ie("");
182
153
  }
183
- function Oe(e, t, r, n) {
154
+ function Pe(e, t, r, n) {
184
155
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
185
156
  }
186
- function Ao(e) {
157
+ function go(e) {
187
158
  return function(t) {
188
159
  return t.preventDefault(), e.call(this, t);
189
160
  };
@@ -191,24 +162,24 @@ function Ao(e) {
191
162
  function H(e, t, r) {
192
163
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
193
164
  }
194
- function Po(e, t, r) {
165
+ function yo(e, t, r) {
195
166
  const n = t.toLowerCase();
196
167
  n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : H(e, t, r);
197
168
  }
198
- function Lo(e) {
169
+ function _o(e) {
199
170
  return e === "" ? null : +e;
200
171
  }
201
- function zr(e) {
172
+ function Nr(e) {
202
173
  return Array.from(e.childNodes);
203
174
  }
204
- function Ie(e, t) {
175
+ function Le(e, t) {
205
176
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
206
177
  t);
207
178
  }
208
- function Oo(e, t) {
209
- e.value = t == null ? "" : t;
179
+ function vo(e, t) {
180
+ e.value = t ?? "";
210
181
  }
211
- function Io(e, t, r) {
182
+ function xo(e, t, r) {
212
183
  for (let n = 0; n < e.options.length; n += 1) {
213
184
  const i = e.options[n];
214
185
  if (i.__value === t) {
@@ -218,14 +189,14 @@ function Io(e, t, r) {
218
189
  }
219
190
  (!r || t !== void 0) && (e.selectedIndex = -1);
220
191
  }
221
- function Mo(e) {
192
+ function Eo(e) {
222
193
  const t = e.querySelector(":checked");
223
194
  return t && t.__value;
224
195
  }
225
- function Wr(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
196
+ function $r(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
226
197
  return new CustomEvent(e, { detail: t, bubbles: r, cancelable: n });
227
198
  }
228
- function Zr(e) {
199
+ function Rr(e) {
229
200
  const t = {};
230
201
  return e.childNodes.forEach(
231
202
  /** @param {Element} node */
@@ -234,18 +205,18 @@ function Zr(e) {
234
205
  }
235
206
  ), t;
236
207
  }
237
- const ve = /* @__PURE__ */ new Map();
238
- let xe = 0;
239
- function Qr(e) {
208
+ const ye = /* @__PURE__ */ new Map();
209
+ let _e = 0;
210
+ function Gr(e) {
240
211
  let t = 5381, r = e.length;
241
212
  for (; r--; ) t = (t << 5) - t ^ e.charCodeAt(r);
242
213
  return t >>> 0;
243
214
  }
244
- function Jr(e, t) {
245
- const r = { stylesheet: Xr(t), rules: {} };
246
- return ve.set(e, r), r;
215
+ function Ur(e, t) {
216
+ const r = { stylesheet: Mr(t), rules: {} };
217
+ return ye.set(e, r), r;
247
218
  }
248
- function pt(e, t, r, n, i, o, a, s = 0) {
219
+ function lt(e, t, r, n, i, o, a, s = 0) {
249
220
  const l = 16.666 / n;
250
221
  let u = `{
251
222
  `;
@@ -255,122 +226,122 @@ function pt(e, t, r, n, i, o, a, s = 0) {
255
226
  `;
256
227
  }
257
228
  const h = u + `100% {${a(r, 1 - r)}}
258
- }`, f = `__svelte_${Qr(h)}_${s}`, c = it(e), { stylesheet: d, rules: m } = ve.get(c) || Jr(c, e);
229
+ }`, f = `__svelte_${Gr(h)}_${s}`, c = rt(e), { stylesheet: d, rules: m } = ye.get(c) || Ur(c, e);
259
230
  m[f] || (m[f] = !0, d.insertRule(`@keyframes ${f} ${h}`, d.cssRules.length));
260
231
  const p = e.style.animation || "";
261
- return e.style.animation = `${p ? `${p}, ` : ""}${f} ${n}ms linear ${i}ms 1 both`, xe += 1, f;
232
+ return e.style.animation = `${p ? `${p}, ` : ""}${f} ${n}ms linear ${i}ms 1 both`, _e += 1, f;
262
233
  }
263
- function qr(e, t) {
234
+ function Dr(e, t) {
264
235
  const r = (e.style.animation || "").split(", "), n = r.filter(
265
236
  t ? (o) => o.indexOf(t) < 0 : (o) => o.indexOf("__svelte") === -1
266
237
  // remove all Svelte animations
267
238
  ), i = r.length - n.length;
268
- i && (e.style.animation = n.join(", "), xe -= i, xe || Yr());
239
+ i && (e.style.animation = n.join(", "), _e -= i, _e || Fr());
269
240
  }
270
- function Yr() {
271
- nt(() => {
272
- xe || (ve.forEach((e) => {
241
+ function Fr() {
242
+ tt(() => {
243
+ _e || (ye.forEach((e) => {
273
244
  const { ownerNode: t } = e.stylesheet;
274
- t && he(t);
275
- }), ve.clear());
245
+ t && le(t);
246
+ }), ye.clear());
276
247
  });
277
248
  }
278
- let ae;
279
- function se(e) {
280
- ae = e;
281
- }
282
- function Kr() {
283
- if (!ae) throw new Error("Function called outside component initialization");
284
- return ae;
285
- }
286
- function en(e) {
287
- Kr().$$.on_mount.push(e);
288
- }
289
- const z = [], je = [];
290
- let Z = [];
291
- const bt = [], tn = /* @__PURE__ */ Promise.resolve();
292
- let ke = !1;
293
- function rn() {
294
- ke || (ke = !0, tn.then(U));
249
+ let se;
250
+ function oe(e) {
251
+ se = e;
295
252
  }
296
- function _e(e) {
297
- Z.push(e);
253
+ function jr() {
254
+ if (!se) throw new Error("Function called outside component initialization");
255
+ return se;
298
256
  }
299
- const Me = /* @__PURE__ */ new Set();
300
- let V = 0;
301
- function U() {
302
- if (V !== 0)
257
+ function kr(e) {
258
+ jr().$$.on_mount.push(e);
259
+ }
260
+ const X = [], De = [];
261
+ let W = [];
262
+ const ht = [], Vr = /* @__PURE__ */ Promise.resolve();
263
+ let Fe = !1;
264
+ function Xr() {
265
+ Fe || (Fe = !0, Vr.then(G));
266
+ }
267
+ function ve(e) {
268
+ W.push(e);
269
+ }
270
+ const Oe = /* @__PURE__ */ new Set();
271
+ let k = 0;
272
+ function G() {
273
+ if (k !== 0)
303
274
  return;
304
- const e = ae;
275
+ const e = se;
305
276
  do {
306
277
  try {
307
- for (; V < z.length; ) {
308
- const t = z[V];
309
- V++, se(t), nn(t.$$);
278
+ for (; k < X.length; ) {
279
+ const t = X[k];
280
+ k++, oe(t), zr(t.$$);
310
281
  }
311
282
  } catch (t) {
312
- throw z.length = 0, V = 0, t;
283
+ throw X.length = 0, k = 0, t;
313
284
  }
314
- for (se(null), z.length = 0, V = 0; je.length; ) je.pop()();
315
- for (let t = 0; t < Z.length; t += 1) {
316
- const r = Z[t];
317
- Me.has(r) || (Me.add(r), r());
285
+ for (oe(null), X.length = 0, k = 0; De.length; ) De.pop()();
286
+ for (let t = 0; t < W.length; t += 1) {
287
+ const r = W[t];
288
+ Oe.has(r) || (Oe.add(r), r());
318
289
  }
319
- Z.length = 0;
320
- } while (z.length);
321
- for (; bt.length; )
322
- bt.pop()();
323
- ke = !1, Me.clear(), se(e);
290
+ W.length = 0;
291
+ } while (X.length);
292
+ for (; ht.length; )
293
+ ht.pop()();
294
+ Fe = !1, Oe.clear(), oe(e);
324
295
  }
325
- function nn(e) {
296
+ function zr(e) {
326
297
  if (e.fragment !== null) {
327
- e.update(), F(e.before_update);
298
+ e.update(), D(e.before_update);
328
299
  const t = e.dirty;
329
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(_e);
300
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(ve);
330
301
  }
331
302
  }
332
- function on(e) {
303
+ function Wr(e) {
333
304
  const t = [], r = [];
334
- Z.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Z = t;
305
+ W.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), W = t;
335
306
  }
336
- let ne;
337
- function sn() {
338
- return ne || (ne = Promise.resolve(), ne.then(() => {
339
- ne = null;
340
- })), ne;
307
+ let re;
308
+ function Zr() {
309
+ return re || (re = Promise.resolve(), re.then(() => {
310
+ re = null;
311
+ })), re;
341
312
  }
342
- function Ne(e, t, r) {
343
- e.dispatchEvent(Wr(`${t ? "intro" : "outro"}${r}`));
313
+ function Ie(e, t, r) {
314
+ e.dispatchEvent($r(`${t ? "intro" : "outro"}${r}`));
344
315
  }
345
- const de = /* @__PURE__ */ new Set();
346
- let $;
347
- function No() {
348
- $ = {
316
+ const me = /* @__PURE__ */ new Set();
317
+ let N;
318
+ function wo() {
319
+ N = {
349
320
  r: 0,
350
321
  c: [],
351
- p: $
322
+ p: N
352
323
  // parent group
353
324
  };
354
325
  }
355
- function $o() {
356
- $.r || F($.c), $ = $.p;
326
+ function So() {
327
+ N.r || D(N.c), N = N.p;
357
328
  }
358
- function Wt(e, t) {
359
- e && e.i && (de.delete(e), e.i(t));
329
+ function Ft(e, t) {
330
+ e && e.i && (me.delete(e), e.i(t));
360
331
  }
361
- function an(e, t, r, n) {
332
+ function Qr(e, t, r, n) {
362
333
  if (e && e.o) {
363
- if (de.has(e)) return;
364
- de.add(e), $.c.push(() => {
365
- de.delete(e), n && (r && e.d(1), n());
334
+ if (me.has(e)) return;
335
+ me.add(e), N.c.push(() => {
336
+ me.delete(e), n && (r && e.d(1), n());
366
337
  }), e.o(t);
367
338
  } else n && n();
368
339
  }
369
- const un = { duration: 0 };
370
- function Ro(e, t, r, n) {
340
+ const Jr = { duration: 0 };
341
+ function To(e, t, r, n) {
371
342
  let o = t(e, r, { direction: "both" }), a = n ? 0 : 1, s = null, l = null, u = null, h;
372
343
  function f() {
373
- u && qr(e, u);
344
+ u && Dr(e, u);
374
345
  }
375
346
  function c(m, p) {
376
347
  const y = (
@@ -391,16 +362,16 @@ function Ro(e, t, r, n) {
391
362
  const {
392
363
  delay: p = 0,
393
364
  duration: y = 300,
394
- easing: T = Mr,
395
- tick: B = I,
365
+ easing: T = wr,
366
+ tick: B = O,
396
367
  css: w
397
- } = o || un, C = {
398
- start: jr() + p,
368
+ } = o || Jr, C = {
369
+ start: Lr() + p,
399
370
  b: m
400
371
  };
401
- m || (C.group = $, $.r += 1), "inert" in e && (m ? h !== void 0 && (e.inert = h) : (h = /** @type {HTMLElement} */
402
- e.inert, e.inert = !0)), s || l ? l = C : (w && (f(), u = pt(e, a, m, y, p, T, w)), m && B(0, 1), s = c(C, y), _e(() => Ne(e, m, "start")), kr((S) => {
403
- if (l && S > l.start && (s = c(l, y), l = null, Ne(e, s.b, "start"), w && (f(), u = pt(
372
+ m || (C.group = N, N.r += 1), "inert" in e && (m ? h !== void 0 && (e.inert = h) : (h = /** @type {HTMLElement} */
373
+ e.inert, e.inert = !0)), s || l ? l = C : (w && (f(), u = lt(e, a, m, y, p, T, w)), m && B(0, 1), s = c(C, y), ve(() => Ie(e, m, "start")), Or((S) => {
374
+ if (l && S > l.start && (s = c(l, y), l = null, Ie(e, s.b, "start"), w && (f(), u = lt(
404
375
  e,
405
376
  a,
406
377
  s.b,
@@ -410,10 +381,10 @@ function Ro(e, t, r, n) {
410
381
  o.css
411
382
  ))), s) {
412
383
  if (S >= s.end)
413
- B(a = s.b, 1 - a), Ne(e, s.b, "end"), l || (s.b ? f() : --s.group.r || F(s.group.c)), s = null;
384
+ B(a = s.b, 1 - a), Ie(e, s.b, "end"), l || (s.b ? f() : --s.group.r || D(s.group.c)), s = null;
414
385
  else if (S >= s.start) {
415
- const _ = S - s.start;
416
- a = s.a + s.d * T(_ / s.duration), B(a, 1 - a);
386
+ const x = S - s.start;
387
+ a = s.a + s.d * T(x / s.duration), B(a, 1 - a);
417
388
  }
418
389
  }
419
390
  return !!(s || l);
@@ -421,7 +392,7 @@ function Ro(e, t, r, n) {
421
392
  }
422
393
  return {
423
394
  run(m) {
424
- Se(o) ? sn().then(() => {
395
+ we(o) ? Zr().then(() => {
425
396
  o = o({ direction: m ? "in" : "out" }), d(m);
426
397
  }) : d(m);
427
398
  },
@@ -430,34 +401,34 @@ function Ro(e, t, r, n) {
430
401
  }
431
402
  };
432
403
  }
433
- function Go(e) {
434
- return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
404
+ function Ho(e) {
405
+ return e?.length !== void 0 ? e : Array.from(e);
435
406
  }
436
- function ln(e, t, r) {
407
+ function qr(e, t, r) {
437
408
  const { fragment: n, after_update: i } = e.$$;
438
- n && n.m(t, r), _e(() => {
439
- const o = e.$$.on_mount.map(Dt).filter(Se);
440
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : F(o), e.$$.on_mount = [];
441
- }), i.forEach(_e);
409
+ n && n.m(t, r), ve(() => {
410
+ const o = e.$$.on_mount.map(Mt).filter(we);
411
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : D(o), e.$$.on_mount = [];
412
+ }), i.forEach(ve);
442
413
  }
443
- function hn(e, t) {
414
+ function Yr(e, t) {
444
415
  const r = e.$$;
445
- r.fragment !== null && (on(r.after_update), F(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
416
+ r.fragment !== null && (Wr(r.after_update), D(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
446
417
  }
447
- function fn(e, t) {
448
- e.$$.dirty[0] === -1 && (z.push(e), rn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
418
+ function Kr(e, t) {
419
+ e.$$.dirty[0] === -1 && (X.push(e), Xr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
449
420
  }
450
- function cn(e, t, r, n, i, o, a = null, s = [-1]) {
451
- const l = ae;
452
- se(e);
421
+ function en(e, t, r, n, i, o, a = null, s = [-1]) {
422
+ const l = se;
423
+ oe(e);
453
424
  const u = e.$$ = {
454
425
  fragment: null,
455
426
  ctx: [],
456
427
  // state
457
428
  props: o,
458
- update: I,
429
+ update: O,
459
430
  not_equal: i,
460
- bound: mt(),
431
+ bound: at(),
461
432
  // lifecycle
462
433
  on_mount: [],
463
434
  on_destroy: [],
@@ -466,7 +437,7 @@ function cn(e, t, r, n, i, o, a = null, s = [-1]) {
466
437
  after_update: [],
467
438
  context: new Map(t.context || (l ? l.$$.context : [])),
468
439
  // everything else
469
- callbacks: mt(),
440
+ callbacks: at(),
470
441
  dirty: s,
471
442
  skip_bound: !1,
472
443
  root: t.target || l.$$.root
@@ -475,141 +446,137 @@ function cn(e, t, r, n, i, o, a = null, s = [-1]) {
475
446
  let h = !1;
476
447
  if (u.ctx = r ? r(e, t.props || {}, (f, c, ...d) => {
477
448
  const m = d.length ? d[0] : c;
478
- return u.ctx && i(u.ctx[f], u.ctx[f] = m) && (!u.skip_bound && u.bound[f] && u.bound[f](m), h && fn(e, f)), c;
479
- }) : [], u.update(), h = !0, F(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
449
+ return u.ctx && i(u.ctx[f], u.ctx[f] = m) && (!u.skip_bound && u.bound[f] && u.bound[f](m), h && Kr(e, f)), c;
450
+ }) : [], u.update(), h = !0, D(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
480
451
  if (t.hydrate) {
481
- const f = zr(t.target);
482
- u.fragment && u.fragment.l(f), f.forEach(he);
452
+ const f = Nr(t.target);
453
+ u.fragment && u.fragment.l(f), f.forEach(le);
483
454
  } else
484
455
  u.fragment && u.fragment.c();
485
- t.intro && Wt(e.$$.fragment), ln(e, t.target, t.anchor), U();
456
+ t.intro && Ft(e.$$.fragment), qr(e, t.target, t.anchor), G();
486
457
  }
487
- se(l);
488
- }
489
- let Zt;
490
- typeof HTMLElement == "function" && (Zt = class extends HTMLElement {
491
- constructor(t, r, n) {
492
- super();
493
- /** The Svelte component constructor */
494
- O(this, "$$ctor");
495
- /** Slots */
496
- O(this, "$$s");
497
- /** The Svelte component instance */
498
- O(this, "$$c");
499
- /** Whether or not the custom element is connected */
500
- O(this, "$$cn", !1);
501
- /** Component props data */
502
- O(this, "$$d", {});
503
- /** `true` if currently in the process of reflecting component props back to attributes */
504
- O(this, "$$r", !1);
505
- /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
506
- O(this, "$$p_d", {});
507
- /** @type {Record<string, Function[]>} Event listeners */
508
- O(this, "$$l", {});
509
- /** @type {Map<Function, Function>} Event listener unsubscribe functions */
510
- O(this, "$$l_u", /* @__PURE__ */ new Map());
511
- this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
458
+ oe(l);
459
+ }
460
+ let jt;
461
+ typeof HTMLElement == "function" && (jt = class extends HTMLElement {
462
+ /** The Svelte component constructor */
463
+ $$ctor;
464
+ /** Slots */
465
+ $$s;
466
+ /** The Svelte component instance */
467
+ $$c;
468
+ /** Whether or not the custom element is connected */
469
+ $$cn = !1;
470
+ /** Component props data */
471
+ $$d = {};
472
+ /** `true` if currently in the process of reflecting component props back to attributes */
473
+ $$r = !1;
474
+ /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
475
+ $$p_d = {};
476
+ /** @type {Record<string, Function[]>} Event listeners */
477
+ $$l = {};
478
+ /** @type {Map<Function, Function>} Event listener unsubscribe functions */
479
+ $$l_u = /* @__PURE__ */ new Map();
480
+ constructor(e, t, r) {
481
+ super(), this.$$ctor = e, this.$$s = t, r && this.attachShadow({ mode: "open" });
512
482
  }
513
- addEventListener(t, r, n) {
514
- if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(r), this.$$c) {
515
- const i = this.$$c.$on(t, r);
516
- this.$$l_u.set(r, i);
483
+ addEventListener(e, t, r) {
484
+ if (this.$$l[e] = this.$$l[e] || [], this.$$l[e].push(t), this.$$c) {
485
+ const n = this.$$c.$on(e, t);
486
+ this.$$l_u.set(t, n);
517
487
  }
518
- super.addEventListener(t, r, n);
488
+ super.addEventListener(e, t, r);
519
489
  }
520
- removeEventListener(t, r, n) {
521
- if (super.removeEventListener(t, r, n), this.$$c) {
522
- const i = this.$$l_u.get(r);
523
- i && (i(), this.$$l_u.delete(r));
490
+ removeEventListener(e, t, r) {
491
+ if (super.removeEventListener(e, t, r), this.$$c) {
492
+ const n = this.$$l_u.get(t);
493
+ n && (n(), this.$$l_u.delete(t));
524
494
  }
525
495
  }
526
- connectedCallback() {
527
- return ct(this, null, function* () {
528
- if (this.$$cn = !0, !this.$$c) {
529
- let t = function(o) {
530
- return () => {
531
- let a;
532
- return {
533
- c: function() {
534
- a = M("slot"), o !== "default" && H(a, "name", o);
535
- },
536
- /**
537
- * @param {HTMLElement} target
538
- * @param {HTMLElement} [anchor]
539
- */
540
- m: function(u, h) {
541
- ot(u, a, h);
542
- },
543
- d: function(u) {
544
- u && he(a);
545
- }
546
- };
496
+ async connectedCallback() {
497
+ if (this.$$cn = !0, !this.$$c) {
498
+ let e = function(i) {
499
+ return () => {
500
+ let o;
501
+ return {
502
+ c: function() {
503
+ o = I("slot"), i !== "default" && H(o, "name", i);
504
+ },
505
+ /**
506
+ * @param {HTMLElement} target
507
+ * @param {HTMLElement} [anchor]
508
+ */
509
+ m: function(l, u) {
510
+ nt(l, o, u);
511
+ },
512
+ d: function(l) {
513
+ l && le(o);
514
+ }
547
515
  };
548
516
  };
549
- if (yield Promise.resolve(), !this.$$cn || this.$$c)
550
- return;
551
- const r = {}, n = Zr(this);
552
- for (const o of this.$$s)
553
- o in n && (r[o] = [t(o)]);
554
- for (const o of this.attributes) {
555
- const a = this.$$g_p(o.name);
556
- a in this.$$d || (this.$$d[a] = pe(a, o.value, this.$$p_d, "toProp"));
517
+ };
518
+ if (await Promise.resolve(), !this.$$cn || this.$$c)
519
+ return;
520
+ const t = {}, r = Rr(this);
521
+ for (const i of this.$$s)
522
+ i in r && (t[i] = [e(i)]);
523
+ for (const i of this.attributes) {
524
+ const o = this.$$g_p(i.name);
525
+ o in this.$$d || (this.$$d[o] = de(o, i.value, this.$$p_d, "toProp"));
526
+ }
527
+ for (const i in this.$$p_d)
528
+ !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
529
+ this.$$c = new this.$$ctor({
530
+ target: this.shadowRoot || this,
531
+ props: {
532
+ ...this.$$d,
533
+ $$slots: t,
534
+ $$scope: {
535
+ ctx: []
536
+ }
557
537
  }
558
- for (const o in this.$$p_d)
559
- !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
560
- this.$$c = new this.$$ctor({
561
- target: this.shadowRoot || this,
562
- props: ft(ht({}, this.$$d), {
563
- $$slots: r,
564
- $$scope: {
565
- ctx: []
566
- }
567
- })
568
- });
569
- const i = () => {
570
- this.$$r = !0;
571
- for (const o in this.$$p_d)
572
- if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
573
- const a = pe(
574
- o,
575
- this.$$d[o],
576
- this.$$p_d,
577
- "toAttribute"
578
- );
579
- a == null ? this.removeAttribute(this.$$p_d[o].attribute || o) : this.setAttribute(this.$$p_d[o].attribute || o, a);
580
- }
581
- this.$$r = !1;
582
- };
583
- this.$$c.$$.after_update.push(i), i();
584
- for (const o in this.$$l)
585
- for (const a of this.$$l[o]) {
586
- const s = this.$$c.$on(o, a);
587
- this.$$l_u.set(a, s);
538
+ });
539
+ const n = () => {
540
+ this.$$r = !0;
541
+ for (const i in this.$$p_d)
542
+ if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
543
+ const o = de(
544
+ i,
545
+ this.$$d[i],
546
+ this.$$p_d,
547
+ "toAttribute"
548
+ );
549
+ o == null ? this.removeAttribute(this.$$p_d[i].attribute || i) : this.setAttribute(this.$$p_d[i].attribute || i, o);
588
550
  }
589
- this.$$l = {};
590
- }
591
- });
551
+ this.$$r = !1;
552
+ };
553
+ this.$$c.$$.after_update.push(n), n();
554
+ for (const i in this.$$l)
555
+ for (const o of this.$$l[i]) {
556
+ const a = this.$$c.$on(i, o);
557
+ this.$$l_u.set(o, a);
558
+ }
559
+ this.$$l = {};
560
+ }
592
561
  }
593
562
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
594
563
  // and setting attributes through setAttribute etc, this is helpful
595
- attributeChangedCallback(t, r, n) {
596
- var i;
597
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = pe(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
564
+ attributeChangedCallback(e, t, r) {
565
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = de(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
598
566
  }
599
567
  disconnectedCallback() {
600
568
  this.$$cn = !1, Promise.resolve().then(() => {
601
569
  !this.$$cn && this.$$c && (this.$$c.$destroy(), this.$$c = void 0);
602
570
  });
603
571
  }
604
- $$g_p(t) {
572
+ $$g_p(e) {
605
573
  return Object.keys(this.$$p_d).find(
606
- (r) => this.$$p_d[r].attribute === t || !this.$$p_d[r].attribute && r.toLowerCase() === t
607
- ) || t;
574
+ (t) => this.$$p_d[t].attribute === e || !this.$$p_d[t].attribute && t.toLowerCase() === e
575
+ ) || e;
608
576
  }
609
577
  });
610
- function pe(e, t, r, n) {
611
- var o;
612
- const i = (o = r[e]) == null ? void 0 : o.type;
578
+ function de(e, t, r, n) {
579
+ const i = r[e]?.type;
613
580
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
614
581
  return t;
615
582
  if (n === "toAttribute")
@@ -620,7 +587,7 @@ function pe(e, t, r, n) {
620
587
  case "Boolean":
621
588
  return t ? "" : null;
622
589
  case "Number":
623
- return t == null ? null : t;
590
+ return t ?? null;
624
591
  default:
625
592
  return t;
626
593
  }
@@ -637,8 +604,8 @@ function pe(e, t, r, n) {
637
604
  return t;
638
605
  }
639
606
  }
640
- function mn(e, t, r, n, i, o) {
641
- let a = class extends Zt {
607
+ function tn(e, t, r, n, i, o) {
608
+ let a = class extends jt {
642
609
  constructor() {
643
610
  super(e, r, i), this.$$p_d = t;
644
611
  }
@@ -654,42 +621,38 @@ function mn(e, t, r, n, i, o) {
654
621
  return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
655
622
  },
656
623
  set(l) {
657
- var u;
658
- l = pe(s, l, t), this.$$d[s] = l, (u = this.$$c) == null || u.$set({ [s]: l });
624
+ l = de(s, l, t), this.$$d[s] = l, this.$$c?.$set({ [s]: l });
659
625
  }
660
626
  });
661
627
  }), n.forEach((s) => {
662
628
  Object.defineProperty(a.prototype, s, {
663
629
  get() {
664
- var l;
665
- return (l = this.$$c) == null ? void 0 : l[s];
630
+ return this.$$c?.[s];
666
631
  }
667
632
  });
668
633
  }), e.element = /** @type {any} */
669
634
  a, a;
670
635
  }
671
- class dn {
672
- constructor() {
673
- /**
674
- * ### PRIVATE API
675
- *
676
- * Do not use, may change at any time
677
- *
678
- * @type {any}
679
- */
680
- O(this, "$$");
681
- /**
682
- * ### PRIVATE API
683
- *
684
- * Do not use, may change at any time
685
- *
686
- * @type {any}
687
- */
688
- O(this, "$$set");
689
- }
636
+ class rn {
637
+ /**
638
+ * ### PRIVATE API
639
+ *
640
+ * Do not use, may change at any time
641
+ *
642
+ * @type {any}
643
+ */
644
+ $$ = void 0;
645
+ /**
646
+ * ### PRIVATE API
647
+ *
648
+ * Do not use, may change at any time
649
+ *
650
+ * @type {any}
651
+ */
652
+ $$set = void 0;
690
653
  /** @returns {void} */
691
654
  $destroy() {
692
- hn(this, 1), this.$destroy = I;
655
+ Yr(this, 1), this.$destroy = O;
693
656
  }
694
657
  /**
695
658
  * @template {Extract<keyof Events, string>} K
@@ -698,8 +661,8 @@ class dn {
698
661
  * @returns {() => void}
699
662
  */
700
663
  $on(t, r) {
701
- if (!Se(r))
702
- return I;
664
+ if (!we(r))
665
+ return O;
703
666
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
704
667
  return n.push(r), () => {
705
668
  const i = n.indexOf(r);
@@ -711,37 +674,37 @@ class dn {
711
674
  * @returns {void}
712
675
  */
713
676
  $set(t) {
714
- this.$$set && !$r(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
677
+ this.$$set && !Tr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
715
678
  }
716
679
  }
717
- const pn = "4";
718
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(pn);
719
- var Ve = function(e, t) {
720
- return Ve = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
680
+ const nn = "4";
681
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(nn);
682
+ var je = function(e, t) {
683
+ return je = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
721
684
  r.__proto__ = n;
722
685
  } || function(r, n) {
723
686
  for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
724
- }, Ve(e, t);
687
+ }, je(e, t);
725
688
  };
726
- function G(e, t) {
689
+ function R(e, t) {
727
690
  if (typeof t != "function" && t !== null)
728
691
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
729
- Ve(e, t);
692
+ je(e, t);
730
693
  function r() {
731
694
  this.constructor = e;
732
695
  }
733
696
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
734
697
  }
735
- var x = function() {
736
- return x = Object.assign || function(t) {
698
+ var v = function() {
699
+ return v = Object.assign || function(t) {
737
700
  for (var r, n = 1, i = arguments.length; n < i; n++) {
738
701
  r = arguments[n];
739
702
  for (var o in r) Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
740
703
  }
741
704
  return t;
742
- }, x.apply(this, arguments);
705
+ }, v.apply(this, arguments);
743
706
  };
744
- function bn(e, t) {
707
+ function on(e, t) {
745
708
  var r = {};
746
709
  for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
747
710
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
@@ -749,7 +712,7 @@ function bn(e, t) {
749
712
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
750
713
  return r;
751
714
  }
752
- function Xe(e) {
715
+ function ke(e) {
753
716
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
754
717
  if (r) return r.call(e);
755
718
  if (e && typeof e.length == "number") return {
@@ -759,7 +722,7 @@ function Xe(e) {
759
722
  };
760
723
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
761
724
  }
762
- function ze(e, t) {
725
+ function Ve(e, t) {
763
726
  var r = typeof Symbol == "function" && e[Symbol.iterator];
764
727
  if (!r) return e;
765
728
  var n = r.call(e), i, o = [], a;
@@ -776,21 +739,21 @@ function ze(e, t) {
776
739
  }
777
740
  return o;
778
741
  }
779
- function Q(e, t, r) {
742
+ function Z(e, t, r) {
780
743
  if (r || arguments.length === 2) for (var n = 0, i = t.length, o; n < i; n++)
781
744
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
782
745
  return e.concat(o || Array.prototype.slice.call(t));
783
746
  }
784
- function R(e) {
747
+ function $(e) {
785
748
  return typeof e == "function";
786
749
  }
787
- function Qt(e) {
750
+ function kt(e) {
788
751
  var t = function(n) {
789
752
  Error.call(n), n.stack = new Error().stack;
790
753
  }, r = e(t);
791
754
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
792
755
  }
793
- var $e = Qt(function(e) {
756
+ var Me = kt(function(e) {
794
757
  return function(r) {
795
758
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
796
759
  ` + r.map(function(n, i) {
@@ -799,13 +762,13 @@ var $e = Qt(function(e) {
799
762
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
800
763
  };
801
764
  });
802
- function We(e, t) {
765
+ function Xe(e, t) {
803
766
  if (e) {
804
767
  var r = e.indexOf(t);
805
768
  0 <= r && e.splice(r, 1);
806
769
  }
807
770
  }
808
- var Te = function() {
771
+ var Se = function() {
809
772
  function e(t) {
810
773
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
811
774
  }
@@ -817,7 +780,7 @@ var Te = function() {
817
780
  if (a)
818
781
  if (this._parentage = null, Array.isArray(a))
819
782
  try {
820
- for (var s = Xe(a), l = s.next(); !l.done; l = s.next()) {
783
+ for (var s = ke(a), l = s.next(); !l.done; l = s.next()) {
821
784
  var u = l.value;
822
785
  u.remove(this);
823
786
  }
@@ -833,22 +796,22 @@ var Te = function() {
833
796
  else
834
797
  a.remove(this);
835
798
  var h = this.initialTeardown;
836
- if (R(h))
799
+ if ($(h))
837
800
  try {
838
801
  h();
839
802
  } catch (p) {
840
- o = p instanceof $e ? p.errors : [p];
803
+ o = p instanceof Me ? p.errors : [p];
841
804
  }
842
805
  var f = this._finalizers;
843
806
  if (f) {
844
807
  this._finalizers = null;
845
808
  try {
846
- for (var c = Xe(f), d = c.next(); !d.done; d = c.next()) {
809
+ for (var c = ke(f), d = c.next(); !d.done; d = c.next()) {
847
810
  var m = d.value;
848
811
  try {
849
- gt(m);
812
+ ft(m);
850
813
  } catch (p) {
851
- o = o != null ? o : [], p instanceof $e ? o = Q(Q([], ze(o)), ze(p.errors)) : o.push(p);
814
+ o = o ?? [], p instanceof Me ? o = Z(Z([], Ve(o)), Ve(p.errors)) : o.push(p);
852
815
  }
853
816
  }
854
817
  } catch (p) {
@@ -862,13 +825,13 @@ var Te = function() {
862
825
  }
863
826
  }
864
827
  if (o)
865
- throw new $e(o);
828
+ throw new Me(o);
866
829
  }
867
830
  }, e.prototype.add = function(t) {
868
831
  var r;
869
832
  if (t && t !== this)
870
833
  if (this.closed)
871
- gt(t);
834
+ ft(t);
872
835
  else {
873
836
  if (t instanceof e) {
874
837
  if (t.closed || t._hasParent(this))
@@ -885,56 +848,56 @@ var Te = function() {
885
848
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
886
849
  }, e.prototype._removeParent = function(t) {
887
850
  var r = this._parentage;
888
- r === t ? this._parentage = null : Array.isArray(r) && We(r, t);
851
+ r === t ? this._parentage = null : Array.isArray(r) && Xe(r, t);
889
852
  }, e.prototype.remove = function(t) {
890
853
  var r = this._finalizers;
891
- r && We(r, t), t instanceof e && t._removeParent(this);
854
+ r && Xe(r, t), t instanceof e && t._removeParent(this);
892
855
  }, e.EMPTY = function() {
893
856
  var t = new e();
894
857
  return t.closed = !0, t;
895
858
  }(), e;
896
- }(), Jt = Te.EMPTY;
897
- function qt(e) {
898
- return e instanceof Te || e && "closed" in e && R(e.remove) && R(e.add) && R(e.unsubscribe);
859
+ }(), Vt = Se.EMPTY;
860
+ function Xt(e) {
861
+ return e instanceof Se || e && "closed" in e && $(e.remove) && $(e.add) && $(e.unsubscribe);
899
862
  }
900
- function gt(e) {
901
- R(e) ? e() : e.unsubscribe();
863
+ function ft(e) {
864
+ $(e) ? e() : e.unsubscribe();
902
865
  }
903
- var gn = {
866
+ var sn = {
904
867
  onUnhandledError: null,
905
868
  onStoppedNotification: null,
906
869
  Promise: void 0,
907
870
  useDeprecatedSynchronousErrorHandling: !1,
908
871
  useDeprecatedNextContext: !1
909
- }, yn = {
872
+ }, an = {
910
873
  setTimeout: function(e, t) {
911
874
  for (var r = [], n = 2; n < arguments.length; n++)
912
875
  r[n - 2] = arguments[n];
913
- return setTimeout.apply(void 0, Q([e, t], ze(r)));
876
+ return setTimeout.apply(void 0, Z([e, t], Ve(r)));
914
877
  },
915
878
  clearTimeout: function(e) {
916
879
  return clearTimeout(e);
917
880
  },
918
881
  delegate: void 0
919
882
  };
920
- function vn(e) {
921
- yn.setTimeout(function() {
883
+ function un(e) {
884
+ an.setTimeout(function() {
922
885
  throw e;
923
886
  });
924
887
  }
925
- function yt() {
888
+ function ct() {
926
889
  }
927
- function be(e) {
890
+ function pe(e) {
928
891
  e();
929
892
  }
930
- var Yt = function(e) {
931
- G(t, e);
893
+ var zt = function(e) {
894
+ R(t, e);
932
895
  function t(r) {
933
896
  var n = e.call(this) || this;
934
- return n.isStopped = !1, r ? (n.destination = r, qt(r) && r.add(n)) : n.destination = En, n;
897
+ return n.isStopped = !1, r ? (n.destination = r, Xt(r) && r.add(n)) : n.destination = fn, n;
935
898
  }
936
899
  return t.create = function(r, n, i) {
937
- return new Ze(r, n, i);
900
+ return new ze(r, n, i);
938
901
  }, t.prototype.next = function(r) {
939
902
  this.isStopped || this._next(r);
940
903
  }, t.prototype.error = function(r) {
@@ -958,7 +921,7 @@ var Yt = function(e) {
958
921
  this.unsubscribe();
959
922
  }
960
923
  }, t;
961
- }(Te), xn = function() {
924
+ }(Se), ln = function() {
962
925
  function e(t) {
963
926
  this.partialObserver = t;
964
927
  }
@@ -968,7 +931,7 @@ var Yt = function(e) {
968
931
  try {
969
932
  r.next(t);
970
933
  } catch (n) {
971
- ce(n);
934
+ fe(n);
972
935
  }
973
936
  }, e.prototype.error = function(t) {
974
937
  var r = this.partialObserver;
@@ -976,56 +939,56 @@ var Yt = function(e) {
976
939
  try {
977
940
  r.error(t);
978
941
  } catch (n) {
979
- ce(n);
942
+ fe(n);
980
943
  }
981
944
  else
982
- ce(t);
945
+ fe(t);
983
946
  }, e.prototype.complete = function() {
984
947
  var t = this.partialObserver;
985
948
  if (t.complete)
986
949
  try {
987
950
  t.complete();
988
951
  } catch (r) {
989
- ce(r);
952
+ fe(r);
990
953
  }
991
954
  }, e;
992
- }(), Ze = function(e) {
993
- G(t, e);
955
+ }(), ze = function(e) {
956
+ R(t, e);
994
957
  function t(r, n, i) {
995
958
  var o = e.call(this) || this, a;
996
- return R(r) || !r ? a = {
997
- next: r != null ? r : void 0,
998
- error: n != null ? n : void 0,
999
- complete: i != null ? i : void 0
1000
- } : a = r, o.destination = new xn(a), o;
959
+ return $(r) || !r ? a = {
960
+ next: r ?? void 0,
961
+ error: n ?? void 0,
962
+ complete: i ?? void 0
963
+ } : a = r, o.destination = new ln(a), o;
1001
964
  }
1002
965
  return t;
1003
- }(Yt);
1004
- function ce(e) {
1005
- vn(e);
966
+ }(zt);
967
+ function fe(e) {
968
+ un(e);
1006
969
  }
1007
- function _n(e) {
970
+ function hn(e) {
1008
971
  throw e;
1009
972
  }
1010
- var En = {
973
+ var fn = {
1011
974
  closed: !0,
1012
- next: yt,
1013
- error: _n,
1014
- complete: yt
1015
- }, wn = function() {
975
+ next: ct,
976
+ error: hn,
977
+ complete: ct
978
+ }, cn = function() {
1016
979
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
1017
980
  }();
1018
- function Sn(e) {
981
+ function mn(e) {
1019
982
  return e;
1020
983
  }
1021
- function Tn(e) {
1022
- return e.length === 0 ? Sn : e.length === 1 ? e[0] : function(r) {
984
+ function dn(e) {
985
+ return e.length === 0 ? mn : e.length === 1 ? e[0] : function(r) {
1023
986
  return e.reduce(function(n, i) {
1024
987
  return i(n);
1025
988
  }, r);
1026
989
  };
1027
990
  }
1028
- var vt = function() {
991
+ var mt = function() {
1029
992
  function e(t) {
1030
993
  t && (this._subscribe = t);
1031
994
  }
@@ -1033,8 +996,8 @@ var vt = function() {
1033
996
  var r = new e();
1034
997
  return r.source = this, r.operator = t, r;
1035
998
  }, e.prototype.subscribe = function(t, r, n) {
1036
- var i = this, o = Cn(t) ? t : new Ze(t, r, n);
1037
- return be(function() {
999
+ var i = this, o = bn(t) ? t : new ze(t, r, n);
1000
+ return pe(function() {
1038
1001
  var a = i, s = a.operator, l = a.source;
1039
1002
  o.add(s ? s.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
1040
1003
  }), o;
@@ -1046,8 +1009,8 @@ var vt = function() {
1046
1009
  }
1047
1010
  }, e.prototype.forEach = function(t, r) {
1048
1011
  var n = this;
1049
- return r = xt(r), new r(function(i, o) {
1050
- var a = new Ze({
1012
+ return r = dt(r), new r(function(i, o) {
1013
+ var a = new ze({
1051
1014
  next: function(s) {
1052
1015
  try {
1053
1016
  t(s);
@@ -1063,15 +1026,15 @@ var vt = function() {
1063
1026
  }, e.prototype._subscribe = function(t) {
1064
1027
  var r;
1065
1028
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
1066
- }, e.prototype[wn] = function() {
1029
+ }, e.prototype[cn] = function() {
1067
1030
  return this;
1068
1031
  }, e.prototype.pipe = function() {
1069
1032
  for (var t = [], r = 0; r < arguments.length; r++)
1070
1033
  t[r] = arguments[r];
1071
- return Tn(t)(this);
1034
+ return dn(t)(this);
1072
1035
  }, e.prototype.toPromise = function(t) {
1073
1036
  var r = this;
1074
- return t = xt(t), new t(function(n, i) {
1037
+ return t = dt(t), new t(function(n, i) {
1075
1038
  var o;
1076
1039
  r.subscribe(function(a) {
1077
1040
  return o = a;
@@ -1085,40 +1048,40 @@ var vt = function() {
1085
1048
  return new e(t);
1086
1049
  }, e;
1087
1050
  }();
1088
- function xt(e) {
1051
+ function dt(e) {
1089
1052
  var t;
1090
- return (t = e != null ? e : gn.Promise) !== null && t !== void 0 ? t : Promise;
1053
+ return (t = e ?? sn.Promise) !== null && t !== void 0 ? t : Promise;
1091
1054
  }
1092
- function Hn(e) {
1093
- return e && R(e.next) && R(e.error) && R(e.complete);
1055
+ function pn(e) {
1056
+ return e && $(e.next) && $(e.error) && $(e.complete);
1094
1057
  }
1095
- function Cn(e) {
1096
- return e && e instanceof Yt || Hn(e) && qt(e);
1058
+ function bn(e) {
1059
+ return e && e instanceof zt || pn(e) && Xt(e);
1097
1060
  }
1098
- var Bn = Qt(function(e) {
1061
+ var gn = kt(function(e) {
1099
1062
  return function() {
1100
1063
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
1101
1064
  };
1102
- }), Kt = function(e) {
1103
- G(t, e);
1065
+ }), Wt = function(e) {
1066
+ R(t, e);
1104
1067
  function t() {
1105
1068
  var r = e.call(this) || this;
1106
1069
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
1107
1070
  }
1108
1071
  return t.prototype.lift = function(r) {
1109
- var n = new _t(this, this);
1072
+ var n = new pt(this, this);
1110
1073
  return n.operator = r, n;
1111
1074
  }, t.prototype._throwIfClosed = function() {
1112
1075
  if (this.closed)
1113
- throw new Bn();
1076
+ throw new gn();
1114
1077
  }, t.prototype.next = function(r) {
1115
1078
  var n = this;
1116
- be(function() {
1079
+ pe(function() {
1117
1080
  var i, o;
1118
1081
  if (n._throwIfClosed(), !n.isStopped) {
1119
1082
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
1120
1083
  try {
1121
- for (var a = Xe(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
1084
+ for (var a = ke(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
1122
1085
  var l = s.value;
1123
1086
  l.next(r);
1124
1087
  }
@@ -1135,7 +1098,7 @@ var Bn = Qt(function(e) {
1135
1098
  });
1136
1099
  }, t.prototype.error = function(r) {
1137
1100
  var n = this;
1138
- be(function() {
1101
+ pe(function() {
1139
1102
  if (n._throwIfClosed(), !n.isStopped) {
1140
1103
  n.hasError = n.isStopped = !0, n.thrownError = r;
1141
1104
  for (var i = n.observers; i.length; )
@@ -1144,7 +1107,7 @@ var Bn = Qt(function(e) {
1144
1107
  });
1145
1108
  }, t.prototype.complete = function() {
1146
1109
  var r = this;
1147
- be(function() {
1110
+ pe(function() {
1148
1111
  if (r._throwIfClosed(), !r.isStopped) {
1149
1112
  r.isStopped = !0;
1150
1113
  for (var n = r.observers; n.length; )
@@ -1166,20 +1129,20 @@ var Bn = Qt(function(e) {
1166
1129
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
1167
1130
  }, t.prototype._innerSubscribe = function(r) {
1168
1131
  var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
1169
- return o || a ? Jt : (this.currentObservers = null, s.push(r), new Te(function() {
1170
- n.currentObservers = null, We(s, r);
1132
+ return o || a ? Vt : (this.currentObservers = null, s.push(r), new Se(function() {
1133
+ n.currentObservers = null, Xe(s, r);
1171
1134
  }));
1172
1135
  }, t.prototype._checkFinalizedStatuses = function(r) {
1173
1136
  var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
1174
1137
  i ? r.error(o) : a && r.complete();
1175
1138
  }, t.prototype.asObservable = function() {
1176
- var r = new vt();
1139
+ var r = new mt();
1177
1140
  return r.source = this, r;
1178
1141
  }, t.create = function(r, n) {
1179
- return new _t(r, n);
1142
+ return new pt(r, n);
1180
1143
  }, t;
1181
- }(vt), _t = function(e) {
1182
- G(t, e);
1144
+ }(mt), pt = function(e) {
1145
+ R(t, e);
1183
1146
  function t(r, n) {
1184
1147
  var i = e.call(this) || this;
1185
1148
  return i.destination = r, i.source = n, i;
@@ -1195,17 +1158,17 @@ var Bn = Qt(function(e) {
1195
1158
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1196
1159
  }, t.prototype._subscribe = function(r) {
1197
1160
  var n, i;
1198
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Jt;
1161
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Vt;
1199
1162
  }, t;
1200
- }(Kt), er = {
1163
+ }(Wt), Zt = {
1201
1164
  now: function() {
1202
- return (er.delegate || Date).now();
1165
+ return (Zt.delegate || Date).now();
1203
1166
  },
1204
1167
  delegate: void 0
1205
- }, An = function(e) {
1206
- G(t, e);
1168
+ }, yn = function(e) {
1169
+ R(t, e);
1207
1170
  function t(r, n, i) {
1208
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = er);
1171
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Zt);
1209
1172
  var o = e.call(this) || this;
1210
1173
  return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
1211
1174
  }
@@ -1225,62 +1188,62 @@ var Bn = Qt(function(e) {
1225
1188
  u && o.splice(0, u + 1);
1226
1189
  }
1227
1190
  }, t;
1228
- }(Kt);
1229
- const Et = [], wt = {}, Pn = (e, t = 0) => {
1230
- if (Et.indexOf(e) == -1) {
1231
- const r = new An(t);
1232
- wt[e] = r, Et.push(e);
1191
+ }(Wt);
1192
+ const bt = [], gt = {}, _n = (e, t = 0) => {
1193
+ if (bt.indexOf(e) == -1) {
1194
+ const r = new yn(t);
1195
+ gt[e] = r, bt.push(e);
1233
1196
  }
1234
- return wt[e];
1235
- }, X = [];
1236
- function Ln(e, t) {
1197
+ return gt[e];
1198
+ }, V = [];
1199
+ function vn(e, t) {
1237
1200
  return {
1238
- subscribe: He(e, t).subscribe
1201
+ subscribe: Te(e, t).subscribe
1239
1202
  };
1240
1203
  }
1241
- function He(e, t = I) {
1204
+ function Te(e, t = O) {
1242
1205
  let r;
1243
1206
  const n = /* @__PURE__ */ new Set();
1244
1207
  function i(s) {
1245
- if (Ft(e, s) && (e = s, r)) {
1246
- const l = !X.length;
1208
+ if (Nt(e, s) && (e = s, r)) {
1209
+ const l = !V.length;
1247
1210
  for (const u of n)
1248
- u[1](), X.push(u, e);
1211
+ u[1](), V.push(u, e);
1249
1212
  if (l) {
1250
- for (let u = 0; u < X.length; u += 2)
1251
- X[u][0](X[u + 1]);
1252
- X.length = 0;
1213
+ for (let u = 0; u < V.length; u += 2)
1214
+ V[u][0](V[u + 1]);
1215
+ V.length = 0;
1253
1216
  }
1254
1217
  }
1255
1218
  }
1256
1219
  function o(s) {
1257
1220
  i(s(e));
1258
1221
  }
1259
- function a(s, l = I) {
1222
+ function a(s, l = O) {
1260
1223
  const u = [s, l];
1261
- return n.add(u), n.size === 1 && (r = t(i, o) || I), s(e), () => {
1224
+ return n.add(u), n.size === 1 && (r = t(i, o) || O), s(e), () => {
1262
1225
  n.delete(u), n.size === 0 && r && (r(), r = null);
1263
1226
  };
1264
1227
  }
1265
1228
  return { set: i, update: o, subscribe: a };
1266
1229
  }
1267
- function ee(e, t, r) {
1230
+ function K(e, t, r) {
1268
1231
  const n = !Array.isArray(e), i = n ? [e] : e;
1269
1232
  if (!i.every(Boolean))
1270
1233
  throw new Error("derived() expects stores as input, got a falsy value");
1271
1234
  const o = t.length < 2;
1272
- return Ln(r, (a, s) => {
1235
+ return vn(r, (a, s) => {
1273
1236
  let l = !1;
1274
1237
  const u = [];
1275
- let h = 0, f = I;
1238
+ let h = 0, f = O;
1276
1239
  const c = () => {
1277
1240
  if (h)
1278
1241
  return;
1279
1242
  f();
1280
1243
  const m = t(n ? u[0] : u, a, s);
1281
- o ? a(m) : f = Se(m) ? m : I;
1244
+ o ? a(m) : f = we(m) ? m : O;
1282
1245
  }, d = i.map(
1283
- (m, p) => jt(
1246
+ (m, p) => $t(
1284
1247
  m,
1285
1248
  (y) => {
1286
1249
  u[p] = y, h &= ~(1 << p), l && c();
@@ -1291,118 +1254,118 @@ function ee(e, t, r) {
1291
1254
  )
1292
1255
  );
1293
1256
  return l = !0, c(), function() {
1294
- F(d), f(), l = !1;
1257
+ D(d), f(), l = !1;
1295
1258
  };
1296
1259
  });
1297
1260
  }
1298
- function On(e) {
1261
+ function xn(e) {
1299
1262
  return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1300
1263
  }
1301
- var In = function(t) {
1302
- return Mn(t) && !Nn(t);
1264
+ var En = function(t) {
1265
+ return wn(t) && !Sn(t);
1303
1266
  };
1304
- function Mn(e) {
1267
+ function wn(e) {
1305
1268
  return !!e && typeof e == "object";
1306
1269
  }
1307
- function Nn(e) {
1270
+ function Sn(e) {
1308
1271
  var t = Object.prototype.toString.call(e);
1309
- return t === "[object RegExp]" || t === "[object Date]" || Gn(e);
1272
+ return t === "[object RegExp]" || t === "[object Date]" || Cn(e);
1310
1273
  }
1311
- var $n = typeof Symbol == "function" && Symbol.for, Rn = $n ? Symbol.for("react.element") : 60103;
1312
- function Gn(e) {
1313
- return e.$$typeof === Rn;
1274
+ var Tn = typeof Symbol == "function" && Symbol.for, Hn = Tn ? Symbol.for("react.element") : 60103;
1275
+ function Cn(e) {
1276
+ return e.$$typeof === Hn;
1314
1277
  }
1315
- function Un(e) {
1278
+ function Bn(e) {
1316
1279
  return Array.isArray(e) ? [] : {};
1317
1280
  }
1318
- function ue(e, t) {
1319
- return t.clone !== !1 && t.isMergeableObject(e) ? J(Un(e), e, t) : e;
1281
+ function ae(e, t) {
1282
+ return t.clone !== !1 && t.isMergeableObject(e) ? Q(Bn(e), e, t) : e;
1320
1283
  }
1321
- function Dn(e, t, r) {
1284
+ function An(e, t, r) {
1322
1285
  return e.concat(t).map(function(n) {
1323
- return ue(n, r);
1286
+ return ae(n, r);
1324
1287
  });
1325
1288
  }
1326
- function Fn(e, t) {
1289
+ function Pn(e, t) {
1327
1290
  if (!t.customMerge)
1328
- return J;
1291
+ return Q;
1329
1292
  var r = t.customMerge(e);
1330
- return typeof r == "function" ? r : J;
1293
+ return typeof r == "function" ? r : Q;
1331
1294
  }
1332
- function jn(e) {
1295
+ function Ln(e) {
1333
1296
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1334
1297
  return Object.propertyIsEnumerable.call(e, t);
1335
1298
  }) : [];
1336
1299
  }
1337
- function St(e) {
1338
- return Object.keys(e).concat(jn(e));
1300
+ function yt(e) {
1301
+ return Object.keys(e).concat(Ln(e));
1339
1302
  }
1340
- function tr(e, t) {
1303
+ function Qt(e, t) {
1341
1304
  try {
1342
1305
  return t in e;
1343
- } catch (r) {
1306
+ } catch {
1344
1307
  return !1;
1345
1308
  }
1346
1309
  }
1347
- function kn(e, t) {
1348
- return tr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1310
+ function On(e, t) {
1311
+ return Qt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1349
1312
  }
1350
- function Vn(e, t, r) {
1313
+ function In(e, t, r) {
1351
1314
  var n = {};
1352
- return r.isMergeableObject(e) && St(e).forEach(function(i) {
1353
- n[i] = ue(e[i], r);
1354
- }), St(t).forEach(function(i) {
1355
- kn(e, i) || (tr(e, i) && r.isMergeableObject(t[i]) ? n[i] = Fn(i, r)(e[i], t[i], r) : n[i] = ue(t[i], r));
1315
+ return r.isMergeableObject(e) && yt(e).forEach(function(i) {
1316
+ n[i] = ae(e[i], r);
1317
+ }), yt(t).forEach(function(i) {
1318
+ On(e, i) || (Qt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Pn(i, r)(e[i], t[i], r) : n[i] = ae(t[i], r));
1356
1319
  }), n;
1357
1320
  }
1358
- function J(e, t, r) {
1359
- r = r || {}, r.arrayMerge = r.arrayMerge || Dn, r.isMergeableObject = r.isMergeableObject || In, r.cloneUnlessOtherwiseSpecified = ue;
1321
+ function Q(e, t, r) {
1322
+ r = r || {}, r.arrayMerge = r.arrayMerge || An, r.isMergeableObject = r.isMergeableObject || En, r.cloneUnlessOtherwiseSpecified = ae;
1360
1323
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1361
- return o ? n ? r.arrayMerge(e, t, r) : Vn(e, t, r) : ue(t, r);
1324
+ return o ? n ? r.arrayMerge(e, t, r) : In(e, t, r) : ae(t, r);
1362
1325
  }
1363
- J.all = function(t, r) {
1326
+ Q.all = function(t, r) {
1364
1327
  if (!Array.isArray(t))
1365
1328
  throw new Error("first argument should be an array");
1366
1329
  return t.reduce(function(n, i) {
1367
- return J(n, i, r);
1330
+ return Q(n, i, r);
1368
1331
  }, {});
1369
1332
  };
1370
- var Xn = J, zn = Xn;
1371
- const Wn = /* @__PURE__ */ On(zn);
1372
- function Re(e, t) {
1373
- var r = t && t.cache ? t.cache : ei, n = t && t.serializer ? t.serializer : Yn, i = t && t.strategy ? t.strategy : Qn;
1333
+ var Mn = Q, Nn = Mn;
1334
+ const $n = /* @__PURE__ */ xn(Nn);
1335
+ function Ne(e, t) {
1336
+ var r = t && t.cache ? t.cache : kn, n = t && t.serializer ? t.serializer : Fn, i = t && t.strategy ? t.strategy : Gn;
1374
1337
  return i(e, {
1375
1338
  cache: r,
1376
1339
  serializer: n
1377
1340
  });
1378
1341
  }
1379
- function Zn(e) {
1342
+ function Rn(e) {
1380
1343
  return e == null || typeof e == "number" || typeof e == "boolean";
1381
1344
  }
1382
- function rr(e, t, r, n) {
1383
- var i = Zn(n) ? n : r(n), o = t.get(i);
1384
- return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
1345
+ function Jt(e, t, r, n) {
1346
+ var i = Rn(n) ? n : r(n), o = t.get(i);
1347
+ return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1385
1348
  }
1386
- function nr(e, t, r) {
1349
+ function qt(e, t, r) {
1387
1350
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1388
- return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
1351
+ return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1389
1352
  }
1390
- function st(e, t, r, n, i) {
1353
+ function it(e, t, r, n, i) {
1391
1354
  return r.bind(t, e, n, i);
1392
1355
  }
1393
- function Qn(e, t) {
1394
- var r = e.length === 1 ? rr : nr;
1395
- return st(e, this, r, t.cache.create(), t.serializer);
1356
+ function Gn(e, t) {
1357
+ var r = e.length === 1 ? Jt : qt;
1358
+ return it(e, this, r, t.cache.create(), t.serializer);
1396
1359
  }
1397
- function Jn(e, t) {
1398
- return st(e, this, nr, t.cache.create(), t.serializer);
1360
+ function Un(e, t) {
1361
+ return it(e, this, qt, t.cache.create(), t.serializer);
1399
1362
  }
1400
- function qn(e, t) {
1401
- return st(e, this, rr, t.cache.create(), t.serializer);
1363
+ function Dn(e, t) {
1364
+ return it(e, this, Jt, t.cache.create(), t.serializer);
1402
1365
  }
1403
- var Yn = function() {
1366
+ var Fn = function() {
1404
1367
  return JSON.stringify(arguments);
1405
- }, Kn = (
1368
+ }, jn = (
1406
1369
  /** @class */
1407
1370
  function() {
1408
1371
  function e() {
@@ -1414,13 +1377,13 @@ var Yn = function() {
1414
1377
  this.cache[t] = r;
1415
1378
  }, e;
1416
1379
  }()
1417
- ), ei = {
1380
+ ), kn = {
1418
1381
  create: function() {
1419
- return new Kn();
1382
+ return new jn();
1420
1383
  }
1421
- }, Ge = {
1422
- variadic: Jn,
1423
- monadic: qn
1384
+ }, $e = {
1385
+ variadic: Un,
1386
+ monadic: Dn
1424
1387
  }, g;
1425
1388
  (function(e) {
1426
1389
  e[e.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", e[e.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", e[e.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", e[e.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", e[e.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", e[e.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", e[e.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", e[e.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", e[e.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", e[e.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", e[e.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", e[e.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", e[e.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", e[e.INVALID_TAG = 23] = "INVALID_TAG", e[e.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", e[e.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", e[e.UNCLOSED_TAG = 27] = "UNCLOSED_TAG";
@@ -1429,47 +1392,47 @@ var E;
1429
1392
  (function(e) {
1430
1393
  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";
1431
1394
  })(E || (E = {}));
1432
- var q;
1395
+ var J;
1433
1396
  (function(e) {
1434
1397
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1435
- })(q || (q = {}));
1436
- function Tt(e) {
1398
+ })(J || (J = {}));
1399
+ function _t(e) {
1437
1400
  return e.type === E.literal;
1438
1401
  }
1439
- function ti(e) {
1402
+ function Vn(e) {
1440
1403
  return e.type === E.argument;
1441
1404
  }
1442
- function ir(e) {
1405
+ function Yt(e) {
1443
1406
  return e.type === E.number;
1444
1407
  }
1445
- function or(e) {
1408
+ function Kt(e) {
1446
1409
  return e.type === E.date;
1447
1410
  }
1448
- function sr(e) {
1411
+ function er(e) {
1449
1412
  return e.type === E.time;
1450
1413
  }
1451
- function ar(e) {
1414
+ function tr(e) {
1452
1415
  return e.type === E.select;
1453
1416
  }
1454
- function ur(e) {
1417
+ function rr(e) {
1455
1418
  return e.type === E.plural;
1456
1419
  }
1457
- function ri(e) {
1420
+ function Xn(e) {
1458
1421
  return e.type === E.pound;
1459
1422
  }
1460
- function lr(e) {
1423
+ function nr(e) {
1461
1424
  return e.type === E.tag;
1462
1425
  }
1463
- function hr(e) {
1464
- return !!(e && typeof e == "object" && e.type === q.number);
1426
+ function ir(e) {
1427
+ return !!(e && typeof e == "object" && e.type === J.number);
1465
1428
  }
1466
- function Qe(e) {
1467
- return !!(e && typeof e == "object" && e.type === q.dateTime);
1429
+ function We(e) {
1430
+ return !!(e && typeof e == "object" && e.type === J.dateTime);
1468
1431
  }
1469
- var fr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, ni = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1470
- function ii(e) {
1432
+ var or = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, zn = /(?:[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;
1433
+ function Wn(e) {
1471
1434
  var t = {};
1472
- return e.replace(ni, function(r) {
1435
+ return e.replace(zn, function(r) {
1473
1436
  var n = r.length;
1474
1437
  switch (r[0]) {
1475
1438
  case "G":
@@ -1558,11 +1521,11 @@ function ii(e) {
1558
1521
  return "";
1559
1522
  }), t;
1560
1523
  }
1561
- var oi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1562
- function si(e) {
1524
+ var Zn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1525
+ function Qn(e) {
1563
1526
  if (e.length === 0)
1564
1527
  throw new Error("Number skeleton cannot be empty");
1565
- for (var t = e.split(oi).filter(function(c) {
1528
+ for (var t = e.split(Zn).filter(function(c) {
1566
1529
  return c.length > 0;
1567
1530
  }), r = [], n = 0, i = t; n < i.length; n++) {
1568
1531
  var o = i[n], a = o.split("/");
@@ -1577,17 +1540,17 @@ function si(e) {
1577
1540
  }
1578
1541
  return r;
1579
1542
  }
1580
- function ai(e) {
1543
+ function Jn(e) {
1581
1544
  return e.replace(/^(.*?)-/, "");
1582
1545
  }
1583
- var Ht = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, cr = /^(@+)?(\+|#+)?[rs]?$/g, ui = /(\*)(0+)|(#+)(0+)|(0+)/g, mr = /^(0+)$/;
1584
- function Ct(e) {
1546
+ var vt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, sr = /^(@+)?(\+|#+)?[rs]?$/g, qn = /(\*)(0+)|(#+)(0+)|(0+)/g, ar = /^(0+)$/;
1547
+ function xt(e) {
1585
1548
  var t = {};
1586
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(cr, function(r, n, i) {
1549
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(sr, function(r, n, i) {
1587
1550
  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)), "";
1588
1551
  }), t;
1589
1552
  }
1590
- function dr(e) {
1553
+ function ur(e) {
1591
1554
  switch (e) {
1592
1555
  case "sign-auto":
1593
1556
  return {
@@ -1627,7 +1590,7 @@ function dr(e) {
1627
1590
  };
1628
1591
  }
1629
1592
  }
1630
- function li(e) {
1593
+ function Yn(e) {
1631
1594
  var t;
1632
1595
  if (e[0] === "E" && e[1] === "E" ? (t = {
1633
1596
  notation: "engineering"
@@ -1635,17 +1598,17 @@ function li(e) {
1635
1598
  notation: "scientific"
1636
1599
  }, e = e.slice(1)), t) {
1637
1600
  var r = e.slice(0, 2);
1638
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !mr.test(e))
1601
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !ar.test(e))
1639
1602
  throw new Error("Malformed concise eng/scientific notation");
1640
1603
  t.minimumIntegerDigits = e.length;
1641
1604
  }
1642
1605
  return t;
1643
1606
  }
1644
- function Bt(e) {
1645
- var t = {}, r = dr(e);
1607
+ function Et(e) {
1608
+ var t = {}, r = ur(e);
1646
1609
  return r || t;
1647
1610
  }
1648
- function hi(e) {
1611
+ function Kn(e) {
1649
1612
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1650
1613
  var i = n[r];
1651
1614
  switch (i.stem) {
@@ -1669,7 +1632,7 @@ function hi(e) {
1669
1632
  continue;
1670
1633
  case "measure-unit":
1671
1634
  case "unit":
1672
- t.style = "unit", t.unit = ai(i.options[0]);
1635
+ t.style = "unit", t.unit = Jn(i.options[0]);
1673
1636
  continue;
1674
1637
  case "compact-short":
1675
1638
  case "K":
@@ -1680,13 +1643,13 @@ function hi(e) {
1680
1643
  t.notation = "compact", t.compactDisplay = "long";
1681
1644
  continue;
1682
1645
  case "scientific":
1683
- t = x(x(x({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1684
- return x(x({}, l), Bt(u));
1646
+ t = v(v(v({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1647
+ return v(v({}, l), Et(u));
1685
1648
  }, {}));
1686
1649
  continue;
1687
1650
  case "engineering":
1688
- t = x(x(x({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1689
- return x(x({}, l), Bt(u));
1651
+ t = v(v(v({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1652
+ return v(v({}, l), Et(u));
1690
1653
  }, {}));
1691
1654
  continue;
1692
1655
  case "notation-simple":
@@ -1731,7 +1694,7 @@ function hi(e) {
1731
1694
  case "integer-width":
1732
1695
  if (i.options.length > 1)
1733
1696
  throw new RangeError("integer-width stems only accept a single optional option");
1734
- i.options[0].replace(ui, function(l, u, h, f, c, d) {
1697
+ i.options[0].replace(qn, function(l, u, h, f, c, d) {
1735
1698
  if (u)
1736
1699
  t.minimumIntegerDigits = h.length;
1737
1700
  else {
@@ -1744,32 +1707,32 @@ function hi(e) {
1744
1707
  });
1745
1708
  continue;
1746
1709
  }
1747
- if (mr.test(i.stem)) {
1710
+ if (ar.test(i.stem)) {
1748
1711
  t.minimumIntegerDigits = i.stem.length;
1749
1712
  continue;
1750
1713
  }
1751
- if (Ht.test(i.stem)) {
1714
+ if (vt.test(i.stem)) {
1752
1715
  if (i.options.length > 1)
1753
1716
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1754
- i.stem.replace(Ht, function(l, u, h, f, c, d) {
1717
+ i.stem.replace(vt, function(l, u, h, f, c, d) {
1755
1718
  return h === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && d ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1756
1719
  });
1757
1720
  var o = i.options[0];
1758
- o === "w" ? t = x(x({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = x(x({}, t), Ct(o)));
1721
+ o === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = v(v({}, t), xt(o)));
1759
1722
  continue;
1760
1723
  }
1761
- if (cr.test(i.stem)) {
1762
- t = x(x({}, t), Ct(i.stem));
1724
+ if (sr.test(i.stem)) {
1725
+ t = v(v({}, t), xt(i.stem));
1763
1726
  continue;
1764
1727
  }
1765
- var a = dr(i.stem);
1766
- a && (t = x(x({}, t), a));
1767
- var s = li(i.stem);
1768
- s && (t = x(x({}, t), s));
1728
+ var a = ur(i.stem);
1729
+ a && (t = v(v({}, t), a));
1730
+ var s = Yn(i.stem);
1731
+ s && (t = v(v({}, t), s));
1769
1732
  }
1770
1733
  return t;
1771
1734
  }
1772
- var me = {
1735
+ var ce = {
1773
1736
  "001": [
1774
1737
  "H",
1775
1738
  "h"
@@ -3184,13 +3147,13 @@ var me = {
3184
3147
  "h"
3185
3148
  ]
3186
3149
  };
3187
- function fi(e, t) {
3150
+ function ei(e, t) {
3188
3151
  for (var r = "", n = 0; n < e.length; n++) {
3189
3152
  var i = e.charAt(n);
3190
3153
  if (i === "j") {
3191
3154
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3192
3155
  o++, n++;
3193
- var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = ci(t);
3156
+ var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = ti(t);
3194
3157
  for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
3195
3158
  r += l;
3196
3159
  for (; a-- > 0; )
@@ -3199,7 +3162,7 @@ function fi(e, t) {
3199
3162
  }
3200
3163
  return r;
3201
3164
  }
3202
- function ci(e) {
3165
+ function ti(e) {
3203
3166
  var t = e.hourCycle;
3204
3167
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3205
3168
  e.hourCycles && // @ts-ignore
@@ -3218,23 +3181,23 @@ function ci(e) {
3218
3181
  }
3219
3182
  var r = e.language, n;
3220
3183
  r !== "root" && (n = e.maximize().region);
3221
- var i = me[n || ""] || me[r || ""] || me["".concat(r, "-001")] || me["001"];
3184
+ var i = ce[n || ""] || ce[r || ""] || ce["".concat(r, "-001")] || ce["001"];
3222
3185
  return i[0];
3223
3186
  }
3224
- var Ue, mi = new RegExp("^".concat(fr.source, "*")), di = new RegExp("".concat(fr.source, "*$"));
3225
- function v(e, t) {
3187
+ var Re, ri = new RegExp("^".concat(or.source, "*")), ni = new RegExp("".concat(or.source, "*$"));
3188
+ function _(e, t) {
3226
3189
  return { start: e, end: t };
3227
3190
  }
3228
- var pi = !!String.prototype.startsWith && "_a".startsWith("a", 1), bi = !!String.fromCodePoint, gi = !!Object.fromEntries, yi = !!String.prototype.codePointAt, vi = !!String.prototype.trimStart, xi = !!String.prototype.trimEnd, _i = !!Number.isSafeInteger, Ei = _i ? Number.isSafeInteger : function(e) {
3191
+ var ii = !!String.prototype.startsWith && "_a".startsWith("a", 1), oi = !!String.fromCodePoint, si = !!Object.fromEntries, ai = !!String.prototype.codePointAt, ui = !!String.prototype.trimStart, li = !!String.prototype.trimEnd, hi = !!Number.isSafeInteger, fi = hi ? Number.isSafeInteger : function(e) {
3229
3192
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3230
- }, Je = !0;
3193
+ }, Ze = !0;
3231
3194
  try {
3232
- var wi = br("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3233
- Je = ((Ue = wi.exec("a")) === null || Ue === void 0 ? void 0 : Ue[0]) === "a";
3234
- } catch (e) {
3235
- Je = !1;
3195
+ var ci = hr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3196
+ Ze = ((Re = ci.exec("a")) === null || Re === void 0 ? void 0 : Re[0]) === "a";
3197
+ } catch {
3198
+ Ze = !1;
3236
3199
  }
3237
- var At = pi ? (
3200
+ var wt = ii ? (
3238
3201
  // Native
3239
3202
  function(t, r, n) {
3240
3203
  return t.startsWith(r, n);
@@ -3244,7 +3207,7 @@ var At = pi ? (
3244
3207
  function(t, r, n) {
3245
3208
  return t.slice(n, n + r.length) === r;
3246
3209
  }
3247
- ), qe = bi ? String.fromCodePoint : (
3210
+ ), Qe = oi ? String.fromCodePoint : (
3248
3211
  // IE11
3249
3212
  function() {
3250
3213
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3256,9 +3219,9 @@ var At = pi ? (
3256
3219
  }
3257
3220
  return n;
3258
3221
  }
3259
- ), Pt = (
3222
+ ), St = (
3260
3223
  // native
3261
- gi ? Object.fromEntries : (
3224
+ si ? Object.fromEntries : (
3262
3225
  // Ponyfill
3263
3226
  function(t) {
3264
3227
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3268,7 +3231,7 @@ var At = pi ? (
3268
3231
  return r;
3269
3232
  }
3270
3233
  )
3271
- ), pr = yi ? (
3234
+ ), lr = ai ? (
3272
3235
  // Native
3273
3236
  function(t, r) {
3274
3237
  return t.codePointAt(r);
@@ -3282,7 +3245,7 @@ var At = pi ? (
3282
3245
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3283
3246
  }
3284
3247
  }
3285
- ), Si = vi ? (
3248
+ ), mi = ui ? (
3286
3249
  // Native
3287
3250
  function(t) {
3288
3251
  return t.trimStart();
@@ -3290,9 +3253,9 @@ var At = pi ? (
3290
3253
  ) : (
3291
3254
  // Ponyfill
3292
3255
  function(t) {
3293
- return t.replace(mi, "");
3256
+ return t.replace(ri, "");
3294
3257
  }
3295
- ), Ti = xi ? (
3258
+ ), di = li ? (
3296
3259
  // Native
3297
3260
  function(t) {
3298
3261
  return t.trimEnd();
@@ -3300,32 +3263,32 @@ var At = pi ? (
3300
3263
  ) : (
3301
3264
  // Ponyfill
3302
3265
  function(t) {
3303
- return t.replace(di, "");
3266
+ return t.replace(ni, "");
3304
3267
  }
3305
3268
  );
3306
- function br(e, t) {
3269
+ function hr(e, t) {
3307
3270
  return new RegExp(e, t);
3308
3271
  }
3309
- var Ye;
3310
- if (Je) {
3311
- var Lt = br("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3312
- Ye = function(t, r) {
3272
+ var Je;
3273
+ if (Ze) {
3274
+ var Tt = hr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3275
+ Je = function(t, r) {
3313
3276
  var n;
3314
- Lt.lastIndex = r;
3315
- var i = Lt.exec(t);
3277
+ Tt.lastIndex = r;
3278
+ var i = Tt.exec(t);
3316
3279
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3317
3280
  };
3318
3281
  } else
3319
- Ye = function(t, r) {
3282
+ Je = function(t, r) {
3320
3283
  for (var n = []; ; ) {
3321
- var i = pr(t, r);
3322
- if (i === void 0 || gr(i) || Ai(i))
3284
+ var i = lr(t, r);
3285
+ if (i === void 0 || fr(i) || yi(i))
3323
3286
  break;
3324
3287
  n.push(i), r += i >= 65536 ? 2 : 1;
3325
3288
  }
3326
- return qe.apply(void 0, n);
3289
+ return Qe.apply(void 0, n);
3327
3290
  };
3328
- var Hi = (
3291
+ var pi = (
3329
3292
  /** @class */
3330
3293
  function() {
3331
3294
  function e(t, r) {
@@ -3350,13 +3313,13 @@ var Hi = (
3350
3313
  var s = this.clonePosition();
3351
3314
  this.bump(), i.push({
3352
3315
  type: E.pound,
3353
- location: v(s, this.clonePosition())
3316
+ location: _(s, this.clonePosition())
3354
3317
  });
3355
3318
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3356
3319
  if (n)
3357
3320
  break;
3358
- return this.error(g.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
3359
- } else if (o === 60 && !this.ignoreTag && Ke(this.peek() || 0)) {
3321
+ return this.error(g.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
3322
+ } else if (o === 60 && !this.ignoreTag && qe(this.peek() || 0)) {
3360
3323
  var a = this.parseTag(t, r);
3361
3324
  if (a.err)
3362
3325
  return a;
@@ -3379,7 +3342,7 @@ var Hi = (
3379
3342
  val: {
3380
3343
  type: E.literal,
3381
3344
  value: "<".concat(i, "/>"),
3382
- location: v(n, this.clonePosition())
3345
+ location: _(n, this.clonePosition())
3383
3346
  },
3384
3347
  err: null
3385
3348
  };
@@ -3389,25 +3352,25 @@ var Hi = (
3389
3352
  return o;
3390
3353
  var a = o.val, s = this.clonePosition();
3391
3354
  if (this.bumpIf("</")) {
3392
- if (this.isEOF() || !Ke(this.char()))
3393
- return this.error(g.INVALID_TAG, v(s, this.clonePosition()));
3355
+ if (this.isEOF() || !qe(this.char()))
3356
+ return this.error(g.INVALID_TAG, _(s, this.clonePosition()));
3394
3357
  var l = this.clonePosition(), u = this.parseTagName();
3395
- return i !== u ? this.error(g.UNMATCHED_CLOSING_TAG, v(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3358
+ return i !== u ? this.error(g.UNMATCHED_CLOSING_TAG, _(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3396
3359
  val: {
3397
3360
  type: E.tag,
3398
3361
  value: i,
3399
3362
  children: a,
3400
- location: v(n, this.clonePosition())
3363
+ location: _(n, this.clonePosition())
3401
3364
  },
3402
3365
  err: null
3403
- } : this.error(g.INVALID_TAG, v(s, this.clonePosition())));
3366
+ } : this.error(g.INVALID_TAG, _(s, this.clonePosition())));
3404
3367
  } else
3405
- return this.error(g.UNCLOSED_TAG, v(n, this.clonePosition()));
3368
+ return this.error(g.UNCLOSED_TAG, _(n, this.clonePosition()));
3406
3369
  } else
3407
- return this.error(g.INVALID_TAG, v(n, this.clonePosition()));
3370
+ return this.error(g.INVALID_TAG, _(n, this.clonePosition()));
3408
3371
  }, e.prototype.parseTagName = function() {
3409
3372
  var t = this.offset();
3410
- for (this.bump(); !this.isEOF() && Bi(this.char()); )
3373
+ for (this.bump(); !this.isEOF() && gi(this.char()); )
3411
3374
  this.bump();
3412
3375
  return this.message.slice(t, this.offset());
3413
3376
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3429,14 +3392,14 @@ var Hi = (
3429
3392
  }
3430
3393
  break;
3431
3394
  }
3432
- var l = v(n, this.clonePosition());
3395
+ var l = _(n, this.clonePosition());
3433
3396
  return {
3434
3397
  val: { type: E.literal, value: i, location: l },
3435
3398
  err: null
3436
3399
  };
3437
3400
  }, e.prototype.tryParseLeftAngleBracket = function() {
3438
3401
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3439
- !Ci(this.peek() || 0)) ? (this.bump(), "<") : null;
3402
+ !bi(this.peek() || 0)) ? (this.bump(), "<") : null;
3440
3403
  }, e.prototype.tryParseQuote = function(t) {
3441
3404
  if (this.isEOF() || this.char() !== 39)
3442
3405
  return null;
@@ -3470,23 +3433,23 @@ var Hi = (
3470
3433
  r.push(n);
3471
3434
  this.bump();
3472
3435
  }
3473
- return qe.apply(void 0, r);
3436
+ return Qe.apply(void 0, r);
3474
3437
  }, e.prototype.tryParseUnquoted = function(t, r) {
3475
3438
  if (this.isEOF())
3476
3439
  return null;
3477
3440
  var n = this.char();
3478
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), qe(n));
3441
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Qe(n));
3479
3442
  }, e.prototype.parseArgument = function(t, r) {
3480
3443
  var n = this.clonePosition();
3481
3444
  if (this.bump(), this.bumpSpace(), this.isEOF())
3482
- return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
3445
+ return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition()));
3483
3446
  if (this.char() === 125)
3484
- return this.bump(), this.error(g.EMPTY_ARGUMENT, v(n, this.clonePosition()));
3447
+ return this.bump(), this.error(g.EMPTY_ARGUMENT, _(n, this.clonePosition()));
3485
3448
  var i = this.parseIdentifierIfPossible().value;
3486
3449
  if (!i)
3487
- return this.error(g.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
3450
+ return this.error(g.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
3488
3451
  if (this.bumpSpace(), this.isEOF())
3489
- return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
3452
+ return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition()));
3490
3453
  switch (this.char()) {
3491
3454
  case 125:
3492
3455
  return this.bump(), {
@@ -3494,25 +3457,25 @@ var Hi = (
3494
3457
  type: E.argument,
3495
3458
  // value does not include the opening and closing braces.
3496
3459
  value: i,
3497
- location: v(n, this.clonePosition())
3460
+ location: _(n, this.clonePosition())
3498
3461
  },
3499
3462
  err: null
3500
3463
  };
3501
3464
  case 44:
3502
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3465
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3503
3466
  default:
3504
- return this.error(g.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
3467
+ return this.error(g.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
3505
3468
  }
3506
3469
  }, e.prototype.parseIdentifierIfPossible = function() {
3507
- var t = this.clonePosition(), r = this.offset(), n = Ye(this.message, r), i = r + n.length;
3470
+ var t = this.clonePosition(), r = this.offset(), n = Je(this.message, r), i = r + n.length;
3508
3471
  this.bumpTo(i);
3509
- var o = this.clonePosition(), a = v(t, o);
3472
+ var o = this.clonePosition(), a = _(t, o);
3510
3473
  return { value: n, location: a };
3511
3474
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3512
3475
  var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, l = this.clonePosition();
3513
3476
  switch (s) {
3514
3477
  case "":
3515
- return this.error(g.EXPECT_ARGUMENT_TYPE, v(a, l));
3478
+ return this.error(g.EXPECT_ARGUMENT_TYPE, _(a, l));
3516
3479
  case "number":
3517
3480
  case "date":
3518
3481
  case "time": {
@@ -3523,18 +3486,18 @@ var Hi = (
3523
3486
  var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3524
3487
  if (f.err)
3525
3488
  return f;
3526
- var c = Ti(f.val);
3489
+ var c = di(f.val);
3527
3490
  if (c.length === 0)
3528
- return this.error(g.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
3529
- var d = v(h, this.clonePosition());
3491
+ return this.error(g.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
3492
+ var d = _(h, this.clonePosition());
3530
3493
  u = { style: c, styleLocation: d };
3531
3494
  }
3532
3495
  var m = this.tryParseArgumentClose(i);
3533
3496
  if (m.err)
3534
3497
  return m;
3535
- var p = v(i, this.clonePosition());
3536
- if (u && At(u == null ? void 0 : u.style, "::", 0)) {
3537
- var y = Si(u.style.slice(2));
3498
+ var p = _(i, this.clonePosition());
3499
+ if (u && wt(u?.style, "::", 0)) {
3500
+ var y = mi(u.style.slice(2));
3538
3501
  if (s === "number") {
3539
3502
  var f = this.parseNumberSkeletonFromString(y, u.styleLocation);
3540
3503
  return f.err ? f : {
@@ -3545,12 +3508,12 @@ var Hi = (
3545
3508
  if (y.length === 0)
3546
3509
  return this.error(g.EXPECT_DATE_TIME_SKELETON, p);
3547
3510
  var T = y;
3548
- this.locale && (T = fi(y, this.locale));
3511
+ this.locale && (T = ei(y, this.locale));
3549
3512
  var c = {
3550
- type: q.dateTime,
3513
+ type: J.dateTime,
3551
3514
  pattern: T,
3552
3515
  location: u.styleLocation,
3553
- parsedOptions: this.shouldParseSkeletons ? ii(T) : {}
3516
+ parsedOptions: this.shouldParseSkeletons ? Wn(T) : {}
3554
3517
  }, B = s === "date" ? E.date : E.time;
3555
3518
  return {
3556
3519
  val: { type: B, value: n, location: p, style: c },
@@ -3563,7 +3526,7 @@ var Hi = (
3563
3526
  type: s === "number" ? E.number : s === "date" ? E.date : E.time,
3564
3527
  value: n,
3565
3528
  location: p,
3566
- style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
3529
+ style: (o = u?.style) !== null && o !== void 0 ? o : null
3567
3530
  },
3568
3531
  err: null
3569
3532
  };
@@ -3573,30 +3536,30 @@ var Hi = (
3573
3536
  case "select": {
3574
3537
  var w = this.clonePosition();
3575
3538
  if (this.bumpSpace(), !this.bumpIf(","))
3576
- return this.error(g.EXPECT_SELECT_ARGUMENT_OPTIONS, v(w, x({}, w)));
3539
+ return this.error(g.EXPECT_SELECT_ARGUMENT_OPTIONS, _(w, v({}, w)));
3577
3540
  this.bumpSpace();
3578
3541
  var C = this.parseIdentifierIfPossible(), S = 0;
3579
3542
  if (s !== "select" && C.value === "offset") {
3580
3543
  if (!this.bumpIf(":"))
3581
- return this.error(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
3544
+ return this.error(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
3582
3545
  this.bumpSpace();
3583
3546
  var f = this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3584
3547
  if (f.err)
3585
3548
  return f;
3586
3549
  this.bumpSpace(), C = this.parseIdentifierIfPossible(), S = f.val;
3587
3550
  }
3588
- var _ = this.tryParsePluralOrSelectOptions(t, s, r, C);
3589
- if (_.err)
3590
- return _;
3551
+ var x = this.tryParsePluralOrSelectOptions(t, s, r, C);
3552
+ if (x.err)
3553
+ return x;
3591
3554
  var m = this.tryParseArgumentClose(i);
3592
3555
  if (m.err)
3593
3556
  return m;
3594
- var L = v(i, this.clonePosition());
3557
+ var L = _(i, this.clonePosition());
3595
3558
  return s === "select" ? {
3596
3559
  val: {
3597
3560
  type: E.select,
3598
3561
  value: n,
3599
- options: Pt(_.val),
3562
+ options: St(x.val),
3600
3563
  location: L
3601
3564
  },
3602
3565
  err: null
@@ -3604,7 +3567,7 @@ var Hi = (
3604
3567
  val: {
3605
3568
  type: E.plural,
3606
3569
  value: n,
3607
- options: Pt(_.val),
3570
+ options: St(x.val),
3608
3571
  offset: S,
3609
3572
  pluralType: s === "plural" ? "cardinal" : "ordinal",
3610
3573
  location: L
@@ -3613,10 +3576,10 @@ var Hi = (
3613
3576
  };
3614
3577
  }
3615
3578
  default:
3616
- return this.error(g.INVALID_ARGUMENT_TYPE, v(a, l));
3579
+ return this.error(g.INVALID_ARGUMENT_TYPE, _(a, l));
3617
3580
  }
3618
3581
  }, e.prototype.tryParseArgumentClose = function(t) {
3619
- return this.isEOF() || this.char() !== 125 ? this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, v(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3582
+ return this.isEOF() || this.char() !== 125 ? this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, _(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3620
3583
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3621
3584
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3622
3585
  var n = this.char();
@@ -3625,7 +3588,7 @@ var Hi = (
3625
3588
  this.bump();
3626
3589
  var i = this.clonePosition();
3627
3590
  if (!this.bumpUntil("'"))
3628
- return this.error(g.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, v(i, this.clonePosition()));
3591
+ return this.error(g.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, _(i, this.clonePosition()));
3629
3592
  this.bump();
3630
3593
  break;
3631
3594
  }
@@ -3655,16 +3618,16 @@ var Hi = (
3655
3618
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3656
3619
  var n = [];
3657
3620
  try {
3658
- n = si(t);
3659
- } catch (i) {
3621
+ n = Qn(t);
3622
+ } catch {
3660
3623
  return this.error(g.INVALID_NUMBER_SKELETON, r);
3661
3624
  }
3662
3625
  return {
3663
3626
  val: {
3664
- type: q.number,
3627
+ type: J.number,
3665
3628
  tokens: n,
3666
3629
  location: r,
3667
- parsedOptions: this.shouldParseSkeletons ? hi(n) : {}
3630
+ parsedOptions: this.shouldParseSkeletons ? Kn(n) : {}
3668
3631
  },
3669
3632
  err: null
3670
3633
  };
@@ -3676,7 +3639,7 @@ var Hi = (
3676
3639
  var c = this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_SELECTOR, g.INVALID_PLURAL_ARGUMENT_SELECTOR);
3677
3640
  if (c.err)
3678
3641
  return c;
3679
- h = v(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
3642
+ h = _(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
3680
3643
  } else
3681
3644
  break;
3682
3645
  }
@@ -3685,7 +3648,7 @@ var Hi = (
3685
3648
  u === "other" && (a = !0), this.bumpSpace();
3686
3649
  var d = this.clonePosition();
3687
3650
  if (!this.bumpIf("{"))
3688
- return this.error(r === "select" ? g.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : g.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, v(this.clonePosition(), this.clonePosition()));
3651
+ return this.error(r === "select" ? g.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : g.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, _(this.clonePosition(), this.clonePosition()));
3689
3652
  var m = this.parseMessage(t + 1, r, n);
3690
3653
  if (m.err)
3691
3654
  return m;
@@ -3696,11 +3659,11 @@ var Hi = (
3696
3659
  u,
3697
3660
  {
3698
3661
  value: m.val,
3699
- location: v(d, this.clonePosition())
3662
+ location: _(d, this.clonePosition())
3700
3663
  }
3701
3664
  ]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
3702
3665
  }
3703
- return s.length === 0 ? this.error(r === "select" ? g.EXPECT_SELECT_ARGUMENT_SELECTOR : g.EXPECT_PLURAL_ARGUMENT_SELECTOR, v(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(g.MISSING_OTHER_CLAUSE, v(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
3666
+ return s.length === 0 ? this.error(r === "select" ? g.EXPECT_SELECT_ARGUMENT_SELECTOR : g.EXPECT_PLURAL_ARGUMENT_SELECTOR, _(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(g.MISSING_OTHER_CLAUSE, _(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
3704
3667
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3705
3668
  var n = 1, i = this.clonePosition();
3706
3669
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -3711,8 +3674,8 @@ var Hi = (
3711
3674
  else
3712
3675
  break;
3713
3676
  }
3714
- var l = v(i, this.clonePosition());
3715
- return o ? (a *= n, Ei(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3677
+ var l = _(i, this.clonePosition());
3678
+ return o ? (a *= n, fi(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3716
3679
  }, e.prototype.offset = function() {
3717
3680
  return this.position.offset;
3718
3681
  }, e.prototype.isEOF = function() {
@@ -3727,7 +3690,7 @@ var Hi = (
3727
3690
  var t = this.position.offset;
3728
3691
  if (t >= this.message.length)
3729
3692
  throw Error("out of bound");
3730
- var r = pr(this.message, t);
3693
+ var r = lr(this.message, t);
3731
3694
  if (r === void 0)
3732
3695
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3733
3696
  return r;
@@ -3746,7 +3709,7 @@ var Hi = (
3746
3709
  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);
3747
3710
  }
3748
3711
  }, e.prototype.bumpIf = function(t) {
3749
- if (At(this.message, t, this.offset())) {
3712
+ if (wt(this.message, t, this.offset())) {
3750
3713
  for (var r = 0; r < t.length; r++)
3751
3714
  this.bump();
3752
3715
  return !0;
@@ -3768,56 +3731,56 @@ var Hi = (
3768
3731
  break;
3769
3732
  }
3770
3733
  }, e.prototype.bumpSpace = function() {
3771
- for (; !this.isEOF() && gr(this.char()); )
3734
+ for (; !this.isEOF() && fr(this.char()); )
3772
3735
  this.bump();
3773
3736
  }, e.prototype.peek = function() {
3774
3737
  if (this.isEOF())
3775
3738
  return null;
3776
3739
  var t = this.char(), r = this.offset(), n = this.message.charCodeAt(r + (t >= 65536 ? 2 : 1));
3777
- return n != null ? n : null;
3740
+ return n ?? null;
3778
3741
  }, e;
3779
3742
  }()
3780
3743
  );
3781
- function Ke(e) {
3744
+ function qe(e) {
3782
3745
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3783
3746
  }
3784
- function Ci(e) {
3785
- return Ke(e) || e === 47;
3747
+ function bi(e) {
3748
+ return qe(e) || e === 47;
3786
3749
  }
3787
- function Bi(e) {
3750
+ function gi(e) {
3788
3751
  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;
3789
3752
  }
3790
- function gr(e) {
3753
+ function fr(e) {
3791
3754
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3792
3755
  }
3793
- function Ai(e) {
3756
+ function yi(e) {
3794
3757
  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;
3795
3758
  }
3796
- function et(e) {
3759
+ function Ye(e) {
3797
3760
  e.forEach(function(t) {
3798
- if (delete t.location, ar(t) || ur(t))
3761
+ if (delete t.location, tr(t) || rr(t))
3799
3762
  for (var r in t.options)
3800
- delete t.options[r].location, et(t.options[r].value);
3801
- else ir(t) && hr(t.style) || (or(t) || sr(t)) && Qe(t.style) ? delete t.style.location : lr(t) && et(t.children);
3763
+ delete t.options[r].location, Ye(t.options[r].value);
3764
+ else Yt(t) && ir(t.style) || (Kt(t) || er(t)) && We(t.style) ? delete t.style.location : nr(t) && Ye(t.children);
3802
3765
  });
3803
3766
  }
3804
- function Pi(e, t) {
3805
- t === void 0 && (t = {}), t = x({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3806
- var r = new Hi(e, t).parse();
3767
+ function _i(e, t) {
3768
+ t === void 0 && (t = {}), t = v({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3769
+ var r = new pi(e, t).parse();
3807
3770
  if (r.err) {
3808
3771
  var n = SyntaxError(g[r.err.kind]);
3809
3772
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3810
3773
  }
3811
- return t != null && t.captureLocation || et(r.val), r.val;
3774
+ return t?.captureLocation || Ye(r.val), r.val;
3812
3775
  }
3813
- var Y;
3776
+ var q;
3814
3777
  (function(e) {
3815
3778
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3816
- })(Y || (Y = {}));
3817
- var Ce = (
3779
+ })(q || (q = {}));
3780
+ var He = (
3818
3781
  /** @class */
3819
3782
  function(e) {
3820
- G(t, e);
3783
+ R(t, e);
3821
3784
  function t(r, n, i) {
3822
3785
  var o = e.call(this, r) || this;
3823
3786
  return o.code = n, o.originalMessage = i, o;
@@ -3826,48 +3789,48 @@ var Ce = (
3826
3789
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3827
3790
  }, t;
3828
3791
  }(Error)
3829
- ), Ot = (
3792
+ ), Ht = (
3830
3793
  /** @class */
3831
3794
  function(e) {
3832
- G(t, e);
3795
+ R(t, e);
3833
3796
  function t(r, n, i, o) {
3834
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Y.INVALID_VALUE, o) || this;
3797
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), q.INVALID_VALUE, o) || this;
3835
3798
  }
3836
3799
  return t;
3837
- }(Ce)
3838
- ), Li = (
3800
+ }(He)
3801
+ ), vi = (
3839
3802
  /** @class */
3840
3803
  function(e) {
3841
- G(t, e);
3804
+ R(t, e);
3842
3805
  function t(r, n, i) {
3843
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Y.INVALID_VALUE, i) || this;
3806
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), q.INVALID_VALUE, i) || this;
3844
3807
  }
3845
3808
  return t;
3846
- }(Ce)
3847
- ), Oi = (
3809
+ }(He)
3810
+ ), xi = (
3848
3811
  /** @class */
3849
3812
  function(e) {
3850
- G(t, e);
3813
+ R(t, e);
3851
3814
  function t(r, n) {
3852
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Y.MISSING_VALUE, n) || this;
3815
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), q.MISSING_VALUE, n) || this;
3853
3816
  }
3854
3817
  return t;
3855
- }(Ce)
3818
+ }(He)
3856
3819
  ), A;
3857
3820
  (function(e) {
3858
3821
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3859
3822
  })(A || (A = {}));
3860
- function Ii(e) {
3823
+ function Ei(e) {
3861
3824
  return e.length < 2 ? e : e.reduce(function(t, r) {
3862
3825
  var n = t[t.length - 1];
3863
3826
  return !n || n.type !== A.literal || r.type !== A.literal ? t.push(r) : n.value += r.value, t;
3864
3827
  }, []);
3865
3828
  }
3866
- function Mi(e) {
3829
+ function wi(e) {
3867
3830
  return typeof e == "function";
3868
3831
  }
3869
- function ge(e, t, r, n, i, o, a) {
3870
- if (e.length === 1 && Tt(e[0]))
3832
+ function be(e, t, r, n, i, o, a) {
3833
+ if (e.length === 1 && _t(e[0]))
3871
3834
  return [
3872
3835
  {
3873
3836
  type: A.literal,
@@ -3876,14 +3839,14 @@ function ge(e, t, r, n, i, o, a) {
3876
3839
  ];
3877
3840
  for (var s = [], l = 0, u = e; l < u.length; l++) {
3878
3841
  var h = u[l];
3879
- if (Tt(h)) {
3842
+ if (_t(h)) {
3880
3843
  s.push({
3881
3844
  type: A.literal,
3882
3845
  value: h.value
3883
3846
  });
3884
3847
  continue;
3885
3848
  }
3886
- if (ri(h)) {
3849
+ if (Xn(h)) {
3887
3850
  typeof o == "number" && s.push({
3888
3851
  type: A.literal,
3889
3852
  value: r.getNumberFormat(t).format(o)
@@ -3892,44 +3855,44 @@ function ge(e, t, r, n, i, o, a) {
3892
3855
  }
3893
3856
  var f = h.value;
3894
3857
  if (!(i && f in i))
3895
- throw new Oi(f, a);
3858
+ throw new xi(f, a);
3896
3859
  var c = i[f];
3897
- if (ti(h)) {
3860
+ if (Vn(h)) {
3898
3861
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), s.push({
3899
3862
  type: typeof c == "string" ? A.literal : A.object,
3900
3863
  value: c
3901
3864
  });
3902
3865
  continue;
3903
3866
  }
3904
- if (or(h)) {
3905
- var d = typeof h.style == "string" ? n.date[h.style] : Qe(h.style) ? h.style.parsedOptions : void 0;
3867
+ if (Kt(h)) {
3868
+ var d = typeof h.style == "string" ? n.date[h.style] : We(h.style) ? h.style.parsedOptions : void 0;
3906
3869
  s.push({
3907
3870
  type: A.literal,
3908
3871
  value: r.getDateTimeFormat(t, d).format(c)
3909
3872
  });
3910
3873
  continue;
3911
3874
  }
3912
- if (sr(h)) {
3913
- var d = typeof h.style == "string" ? n.time[h.style] : Qe(h.style) ? h.style.parsedOptions : n.time.medium;
3875
+ if (er(h)) {
3876
+ var d = typeof h.style == "string" ? n.time[h.style] : We(h.style) ? h.style.parsedOptions : n.time.medium;
3914
3877
  s.push({
3915
3878
  type: A.literal,
3916
3879
  value: r.getDateTimeFormat(t, d).format(c)
3917
3880
  });
3918
3881
  continue;
3919
3882
  }
3920
- if (ir(h)) {
3921
- var d = typeof h.style == "string" ? n.number[h.style] : hr(h.style) ? h.style.parsedOptions : void 0;
3883
+ if (Yt(h)) {
3884
+ var d = typeof h.style == "string" ? n.number[h.style] : ir(h.style) ? h.style.parsedOptions : void 0;
3922
3885
  d && d.scale && (c = c * (d.scale || 1)), s.push({
3923
3886
  type: A.literal,
3924
3887
  value: r.getNumberFormat(t, d).format(c)
3925
3888
  });
3926
3889
  continue;
3927
3890
  }
3928
- if (lr(h)) {
3891
+ if (nr(h)) {
3929
3892
  var m = h.children, p = h.value, y = i[p];
3930
- if (!Mi(y))
3931
- throw new Li(p, "function", a);
3932
- var T = ge(m, t, r, n, i, o), B = y(T.map(function(S) {
3893
+ if (!wi(y))
3894
+ throw new vi(p, "function", a);
3895
+ var T = be(m, t, r, n, i, o), B = y(T.map(function(S) {
3933
3896
  return S.value;
3934
3897
  }));
3935
3898
  Array.isArray(B) || (B = [B]), s.push.apply(s, B.map(function(S) {
@@ -3939,42 +3902,42 @@ function ge(e, t, r, n, i, o, a) {
3939
3902
  };
3940
3903
  }));
3941
3904
  }
3942
- if (ar(h)) {
3905
+ if (tr(h)) {
3943
3906
  var w = h.options[c] || h.options.other;
3944
3907
  if (!w)
3945
- throw new Ot(h.value, c, Object.keys(h.options), a);
3946
- s.push.apply(s, ge(w.value, t, r, n, i));
3908
+ throw new Ht(h.value, c, Object.keys(h.options), a);
3909
+ s.push.apply(s, be(w.value, t, r, n, i));
3947
3910
  continue;
3948
3911
  }
3949
- if (ur(h)) {
3912
+ if (rr(h)) {
3950
3913
  var w = h.options["=".concat(c)];
3951
3914
  if (!w) {
3952
3915
  if (!Intl.PluralRules)
3953
- throw new Ce(`Intl.PluralRules is not available in this environment.
3916
+ throw new He(`Intl.PluralRules is not available in this environment.
3954
3917
  Try polyfilling it using "@formatjs/intl-pluralrules"
3955
- `, Y.MISSING_INTL_API, a);
3918
+ `, q.MISSING_INTL_API, a);
3956
3919
  var C = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
3957
3920
  w = h.options[C] || h.options.other;
3958
3921
  }
3959
3922
  if (!w)
3960
- throw new Ot(h.value, c, Object.keys(h.options), a);
3961
- s.push.apply(s, ge(w.value, t, r, n, i, c - (h.offset || 0)));
3923
+ throw new Ht(h.value, c, Object.keys(h.options), a);
3924
+ s.push.apply(s, be(w.value, t, r, n, i, c - (h.offset || 0)));
3962
3925
  continue;
3963
3926
  }
3964
3927
  }
3965
- return Ii(s);
3928
+ return Ei(s);
3966
3929
  }
3967
- function Ni(e, t) {
3968
- return t ? x(x(x({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3969
- return r[n] = x(x({}, e[n]), t[n] || {}), r;
3930
+ function Si(e, t) {
3931
+ return t ? v(v(v({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3932
+ return r[n] = v(v({}, e[n]), t[n] || {}), r;
3970
3933
  }, {})) : e;
3971
3934
  }
3972
- function $i(e, t) {
3935
+ function Ti(e, t) {
3973
3936
  return t ? Object.keys(e).reduce(function(r, n) {
3974
- return r[n] = Ni(e[n], t[n]), r;
3975
- }, x({}, e)) : e;
3937
+ return r[n] = Si(e[n], t[n]), r;
3938
+ }, v({}, e)) : e;
3976
3939
  }
3977
- function De(e) {
3940
+ function Ge(e) {
3978
3941
  return {
3979
3942
  create: function() {
3980
3943
  return {
@@ -3988,39 +3951,39 @@ function De(e) {
3988
3951
  }
3989
3952
  };
3990
3953
  }
3991
- function Ri(e) {
3954
+ function Hi(e) {
3992
3955
  return e === void 0 && (e = {
3993
3956
  number: {},
3994
3957
  dateTime: {},
3995
3958
  pluralRules: {}
3996
3959
  }), {
3997
- getNumberFormat: Re(function() {
3960
+ getNumberFormat: Ne(function() {
3998
3961
  for (var t, r = [], n = 0; n < arguments.length; n++)
3999
3962
  r[n] = arguments[n];
4000
- return new ((t = Intl.NumberFormat).bind.apply(t, Q([void 0], r, !1)))();
3963
+ return new ((t = Intl.NumberFormat).bind.apply(t, Z([void 0], r, !1)))();
4001
3964
  }, {
4002
- cache: De(e.number),
4003
- strategy: Ge.variadic
3965
+ cache: Ge(e.number),
3966
+ strategy: $e.variadic
4004
3967
  }),
4005
- getDateTimeFormat: Re(function() {
3968
+ getDateTimeFormat: Ne(function() {
4006
3969
  for (var t, r = [], n = 0; n < arguments.length; n++)
4007
3970
  r[n] = arguments[n];
4008
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Q([void 0], r, !1)))();
3971
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Z([void 0], r, !1)))();
4009
3972
  }, {
4010
- cache: De(e.dateTime),
4011
- strategy: Ge.variadic
3973
+ cache: Ge(e.dateTime),
3974
+ strategy: $e.variadic
4012
3975
  }),
4013
- getPluralRules: Re(function() {
3976
+ getPluralRules: Ne(function() {
4014
3977
  for (var t, r = [], n = 0; n < arguments.length; n++)
4015
3978
  r[n] = arguments[n];
4016
- return new ((t = Intl.PluralRules).bind.apply(t, Q([void 0], r, !1)))();
3979
+ return new ((t = Intl.PluralRules).bind.apply(t, Z([void 0], r, !1)))();
4017
3980
  }, {
4018
- cache: De(e.pluralRules),
4019
- strategy: Ge.variadic
3981
+ cache: Ge(e.pluralRules),
3982
+ strategy: $e.variadic
4020
3983
  })
4021
3984
  };
4022
3985
  }
4023
- var Gi = (
3986
+ var Ci = (
4024
3987
  /** @class */
4025
3988
  function() {
4026
3989
  function e(t, r, n, i) {
@@ -4039,7 +4002,7 @@ var Gi = (
4039
4002
  }, []);
4040
4003
  return h.length <= 1 ? h[0] || "" : h;
4041
4004
  }, this.formatToParts = function(l) {
4042
- return ge(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
4005
+ return be(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
4043
4006
  }, this.resolvedOptions = function() {
4044
4007
  var l;
4045
4008
  return {
@@ -4052,13 +4015,13 @@ var Gi = (
4052
4015
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
4053
4016
  var a = i || {};
4054
4017
  a.formatters;
4055
- var s = bn(a, ["formatters"]);
4056
- this.ast = e.__parse(t, x(x({}, s), { locale: this.resolvedLocale }));
4018
+ var s = on(a, ["formatters"]);
4019
+ this.ast = e.__parse(t, v(v({}, s), { locale: this.resolvedLocale }));
4057
4020
  } else
4058
4021
  this.ast = t;
4059
4022
  if (!Array.isArray(this.ast))
4060
4023
  throw new TypeError("A message must be provided as a String or AST.");
4061
- this.formats = $i(e.formats, n), this.formatters = i && i.formatters || Ri(this.formatterCache);
4024
+ this.formats = Ti(e.formats, n), this.formatters = i && i.formatters || Hi(this.formatterCache);
4062
4025
  }
4063
4026
  return Object.defineProperty(e, "defaultLocale", {
4064
4027
  get: function() {
@@ -4067,11 +4030,11 @@ var Gi = (
4067
4030
  enumerable: !1,
4068
4031
  configurable: !0
4069
4032
  }), e.memoizedDefaultLocale = null, e.resolveLocale = function(t) {
4070
- if (typeof Intl.Locale != "undefined") {
4033
+ if (!(typeof Intl.Locale > "u")) {
4071
4034
  var r = Intl.NumberFormat.supportedLocalesOf(t);
4072
4035
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
4073
4036
  }
4074
- }, e.__parse = Pi, e.formats = {
4037
+ }, e.__parse = _i, e.formats = {
4075
4038
  number: {
4076
4039
  integer: {
4077
4040
  maximumFractionDigits: 0
@@ -4132,7 +4095,7 @@ var Gi = (
4132
4095
  }, e;
4133
4096
  }()
4134
4097
  );
4135
- function Ui(e, t) {
4098
+ function Bi(e, t) {
4136
4099
  if (t == null)
4137
4100
  return;
4138
4101
  if (t in e)
@@ -4153,92 +4116,92 @@ function Ui(e, t) {
4153
4116
  n = void 0;
4154
4117
  return n;
4155
4118
  }
4156
- const D = {}, Di = (e, t, r) => r && (t in D || (D[t] = {}), e in D[t] || (D[t][e] = r), r), yr = (e, t) => {
4119
+ const U = {}, Ai = (e, t, r) => r && (t in U || (U[t] = {}), e in U[t] || (U[t][e] = r), r), cr = (e, t) => {
4157
4120
  if (t == null)
4158
4121
  return;
4159
- if (t in D && e in D[t])
4160
- return D[t][e];
4161
- const r = Be(t);
4122
+ if (t in U && e in U[t])
4123
+ return U[t][e];
4124
+ const r = Ce(t);
4162
4125
  for (let n = 0; n < r.length; n++) {
4163
- const i = r[n], o = ji(i, e);
4126
+ const i = r[n], o = Li(i, e);
4164
4127
  if (o)
4165
- return Di(e, t, o);
4128
+ return Ai(e, t, o);
4166
4129
  }
4167
4130
  };
4168
- let at;
4169
- const fe = He({});
4170
- function Fi(e) {
4171
- return at[e] || null;
4131
+ let ot;
4132
+ const he = Te({});
4133
+ function Pi(e) {
4134
+ return ot[e] || null;
4172
4135
  }
4173
- function vr(e) {
4174
- return e in at;
4136
+ function mr(e) {
4137
+ return e in ot;
4175
4138
  }
4176
- function ji(e, t) {
4177
- if (!vr(e))
4139
+ function Li(e, t) {
4140
+ if (!mr(e))
4178
4141
  return null;
4179
- const r = Fi(e);
4180
- return Ui(r, t);
4142
+ const r = Pi(e);
4143
+ return Bi(r, t);
4181
4144
  }
4182
- function ki(e) {
4145
+ function Oi(e) {
4183
4146
  if (e == null)
4184
4147
  return;
4185
- const t = Be(e);
4148
+ const t = Ce(e);
4186
4149
  for (let r = 0; r < t.length; r++) {
4187
4150
  const n = t[r];
4188
- if (vr(n))
4151
+ if (mr(n))
4189
4152
  return n;
4190
4153
  }
4191
4154
  }
4192
- function xr(e, ...t) {
4193
- delete D[e], fe.update((r) => (r[e] = Wn.all([r[e] || {}, ...t]), r));
4155
+ function dr(e, ...t) {
4156
+ delete U[e], he.update((r) => (r[e] = $n.all([r[e] || {}, ...t]), r));
4194
4157
  }
4195
- ee(
4196
- [fe],
4158
+ K(
4159
+ [he],
4197
4160
  ([e]) => Object.keys(e)
4198
4161
  );
4199
- fe.subscribe((e) => at = e);
4200
- const ye = {};
4201
- function Vi(e, t) {
4202
- ye[e].delete(t), ye[e].size === 0 && delete ye[e];
4162
+ he.subscribe((e) => ot = e);
4163
+ const ge = {};
4164
+ function Ii(e, t) {
4165
+ ge[e].delete(t), ge[e].size === 0 && delete ge[e];
4203
4166
  }
4204
- function _r(e) {
4205
- return ye[e];
4167
+ function pr(e) {
4168
+ return ge[e];
4206
4169
  }
4207
- function Xi(e) {
4208
- return Be(e).map((t) => {
4209
- const r = _r(t);
4170
+ function Mi(e) {
4171
+ return Ce(e).map((t) => {
4172
+ const r = pr(t);
4210
4173
  return [t, r ? [...r] : []];
4211
4174
  }).filter(([, t]) => t.length > 0);
4212
4175
  }
4213
- function tt(e) {
4214
- return e == null ? !1 : Be(e).some(
4176
+ function Ke(e) {
4177
+ return e == null ? !1 : Ce(e).some(
4215
4178
  (t) => {
4216
4179
  var r;
4217
- return (r = _r(t)) == null ? void 0 : r.size;
4180
+ return (r = pr(t)) == null ? void 0 : r.size;
4218
4181
  }
4219
4182
  );
4220
4183
  }
4221
- function zi(e, t) {
4184
+ function Ni(e, t) {
4222
4185
  return Promise.all(
4223
- t.map((n) => (Vi(e, n), n().then((i) => i.default || i)))
4224
- ).then((n) => xr(e, ...n));
4225
- }
4226
- const ie = {};
4227
- function Er(e) {
4228
- if (!tt(e))
4229
- return e in ie ? ie[e] : Promise.resolve();
4230
- const t = Xi(e);
4231
- return ie[e] = Promise.all(
4186
+ t.map((n) => (Ii(e, n), n().then((i) => i.default || i)))
4187
+ ).then((n) => dr(e, ...n));
4188
+ }
4189
+ const ne = {};
4190
+ function br(e) {
4191
+ if (!Ke(e))
4192
+ return e in ne ? ne[e] : Promise.resolve();
4193
+ const t = Mi(e);
4194
+ return ne[e] = Promise.all(
4232
4195
  t.map(
4233
- ([r, n]) => zi(r, n)
4196
+ ([r, n]) => Ni(r, n)
4234
4197
  )
4235
4198
  ).then(() => {
4236
- if (tt(e))
4237
- return Er(e);
4238
- delete ie[e];
4239
- }), ie[e];
4199
+ if (Ke(e))
4200
+ return br(e);
4201
+ delete ne[e];
4202
+ }), ne[e];
4240
4203
  }
4241
- const Wi = {
4204
+ const $i = {
4242
4205
  number: {
4243
4206
  scientific: { notation: "scientific" },
4244
4207
  engineering: { notation: "engineering" },
@@ -4267,150 +4230,150 @@ const Wi = {
4267
4230
  timeZoneName: "short"
4268
4231
  }
4269
4232
  }
4270
- }, Zi = {
4233
+ }, Ri = {
4271
4234
  fallbackLocale: null,
4272
4235
  loadingDelay: 200,
4273
- formats: Wi,
4236
+ formats: $i,
4274
4237
  warnOnMissingMessages: !0,
4275
4238
  handleMissingMessage: void 0,
4276
4239
  ignoreTag: !0
4277
- }, Qi = Zi;
4278
- function K() {
4279
- return Qi;
4240
+ }, Gi = Ri;
4241
+ function Y() {
4242
+ return Gi;
4280
4243
  }
4281
- const Fe = He(!1);
4282
- var Ji = Object.defineProperty, qi = Object.defineProperties, Yi = Object.getOwnPropertyDescriptors, It = Object.getOwnPropertySymbols, Ki = Object.prototype.hasOwnProperty, eo = Object.prototype.propertyIsEnumerable, Mt = (e, t, r) => t in e ? Ji(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, to = (e, t) => {
4244
+ const Ue = Te(!1);
4245
+ var Ui = Object.defineProperty, Di = Object.defineProperties, Fi = Object.getOwnPropertyDescriptors, Ct = Object.getOwnPropertySymbols, ji = Object.prototype.hasOwnProperty, ki = Object.prototype.propertyIsEnumerable, Bt = (e, t, r) => t in e ? Ui(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Vi = (e, t) => {
4283
4246
  for (var r in t)
4284
- Ki.call(t, r) && Mt(e, r, t[r]);
4285
- if (It)
4286
- for (var r of It(t))
4287
- eo.call(t, r) && Mt(e, r, t[r]);
4247
+ ji.call(t, r) && Bt(e, r, t[r]);
4248
+ if (Ct)
4249
+ for (var r of Ct(t))
4250
+ ki.call(t, r) && Bt(e, r, t[r]);
4288
4251
  return e;
4289
- }, ro = (e, t) => qi(e, Yi(t));
4290
- let rt;
4291
- const Ee = He(null);
4292
- function Nt(e) {
4252
+ }, Xi = (e, t) => Di(e, Fi(t));
4253
+ let et;
4254
+ const xe = Te(null);
4255
+ function At(e) {
4293
4256
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4294
4257
  }
4295
- function Be(e, t = K().fallbackLocale) {
4296
- const r = Nt(e);
4297
- return t ? [.../* @__PURE__ */ new Set([...r, ...Nt(t)])] : r;
4258
+ function Ce(e, t = Y().fallbackLocale) {
4259
+ const r = At(e);
4260
+ return t ? [.../* @__PURE__ */ new Set([...r, ...At(t)])] : r;
4298
4261
  }
4299
- function j() {
4300
- return rt != null ? rt : void 0;
4262
+ function F() {
4263
+ return et ?? void 0;
4301
4264
  }
4302
- Ee.subscribe((e) => {
4303
- rt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4265
+ xe.subscribe((e) => {
4266
+ et = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4304
4267
  });
4305
- const no = (e) => {
4306
- if (e && ki(e) && tt(e)) {
4307
- const { loadingDelay: t } = K();
4268
+ const zi = (e) => {
4269
+ if (e && Oi(e) && Ke(e)) {
4270
+ const { loadingDelay: t } = Y();
4308
4271
  let r;
4309
- return typeof window != "undefined" && j() != null && t ? r = window.setTimeout(
4310
- () => Fe.set(!0),
4272
+ return typeof window < "u" && F() != null && t ? r = window.setTimeout(
4273
+ () => Ue.set(!0),
4311
4274
  t
4312
- ) : Fe.set(!0), Er(e).then(() => {
4313
- Ee.set(e);
4275
+ ) : Ue.set(!0), br(e).then(() => {
4276
+ xe.set(e);
4314
4277
  }).finally(() => {
4315
- clearTimeout(r), Fe.set(!1);
4278
+ clearTimeout(r), Ue.set(!1);
4316
4279
  });
4317
4280
  }
4318
- return Ee.set(e);
4319
- }, te = ro(to({}, Ee), {
4320
- set: no
4321
- }), Ae = (e) => {
4281
+ return xe.set(e);
4282
+ }, ee = Xi(Vi({}, xe), {
4283
+ set: zi
4284
+ }), Be = (e) => {
4322
4285
  const t = /* @__PURE__ */ Object.create(null);
4323
4286
  return (n) => {
4324
4287
  const i = JSON.stringify(n);
4325
4288
  return i in t ? t[i] : t[i] = e(n);
4326
4289
  };
4327
4290
  };
4328
- var io = Object.defineProperty, we = Object.getOwnPropertySymbols, wr = Object.prototype.hasOwnProperty, Sr = Object.prototype.propertyIsEnumerable, $t = (e, t, r) => t in e ? io(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ut = (e, t) => {
4291
+ var Wi = Object.defineProperty, Ee = Object.getOwnPropertySymbols, gr = Object.prototype.hasOwnProperty, yr = Object.prototype.propertyIsEnumerable, Pt = (e, t, r) => t in e ? Wi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, st = (e, t) => {
4329
4292
  for (var r in t || (t = {}))
4330
- wr.call(t, r) && $t(e, r, t[r]);
4331
- if (we)
4332
- for (var r of we(t))
4333
- Sr.call(t, r) && $t(e, r, t[r]);
4293
+ gr.call(t, r) && Pt(e, r, t[r]);
4294
+ if (Ee)
4295
+ for (var r of Ee(t))
4296
+ yr.call(t, r) && Pt(e, r, t[r]);
4334
4297
  return e;
4335
- }, re = (e, t) => {
4298
+ }, te = (e, t) => {
4336
4299
  var r = {};
4337
4300
  for (var n in e)
4338
- wr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4339
- if (e != null && we)
4340
- for (var n of we(e))
4341
- t.indexOf(n) < 0 && Sr.call(e, n) && (r[n] = e[n]);
4301
+ gr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4302
+ if (e != null && Ee)
4303
+ for (var n of Ee(e))
4304
+ t.indexOf(n) < 0 && yr.call(e, n) && (r[n] = e[n]);
4342
4305
  return r;
4343
4306
  };
4344
- const le = (e, t) => {
4345
- const { formats: r } = K();
4307
+ const ue = (e, t) => {
4308
+ const { formats: r } = Y();
4346
4309
  if (e in r && t in r[e])
4347
4310
  return r[e][t];
4348
4311
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4349
- }, oo = Ae(
4312
+ }, Zi = Be(
4350
4313
  (e) => {
4351
- var t = e, { locale: r, format: n } = t, i = re(t, ["locale", "format"]);
4314
+ var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
4352
4315
  if (r == null)
4353
4316
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4354
- return n && (i = le("number", n)), new Intl.NumberFormat(r, i);
4317
+ return n && (i = ue("number", n)), new Intl.NumberFormat(r, i);
4355
4318
  }
4356
- ), so = Ae(
4319
+ ), Qi = Be(
4357
4320
  (e) => {
4358
- var t = e, { locale: r, format: n } = t, i = re(t, ["locale", "format"]);
4321
+ var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
4359
4322
  if (r == null)
4360
4323
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4361
- return n ? i = le("date", n) : Object.keys(i).length === 0 && (i = le("date", "short")), new Intl.DateTimeFormat(r, i);
4324
+ return n ? i = ue("date", n) : Object.keys(i).length === 0 && (i = ue("date", "short")), new Intl.DateTimeFormat(r, i);
4362
4325
  }
4363
- ), ao = Ae(
4326
+ ), Ji = Be(
4364
4327
  (e) => {
4365
- var t = e, { locale: r, format: n } = t, i = re(t, ["locale", "format"]);
4328
+ var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
4366
4329
  if (r == null)
4367
4330
  throw new Error(
4368
4331
  '[svelte-i18n] A "locale" must be set to format time values'
4369
4332
  );
4370
- return n ? i = le("time", n) : Object.keys(i).length === 0 && (i = le("time", "short")), new Intl.DateTimeFormat(r, i);
4333
+ return n ? i = ue("time", n) : Object.keys(i).length === 0 && (i = ue("time", "short")), new Intl.DateTimeFormat(r, i);
4371
4334
  }
4372
- ), uo = (e = {}) => {
4335
+ ), qi = (e = {}) => {
4373
4336
  var t = e, {
4374
- locale: r = j()
4375
- } = t, n = re(t, [
4337
+ locale: r = F()
4338
+ } = t, n = te(t, [
4376
4339
  "locale"
4377
4340
  ]);
4378
- return oo(ut({ locale: r }, n));
4379
- }, lo = (e = {}) => {
4341
+ return Zi(st({ locale: r }, n));
4342
+ }, Yi = (e = {}) => {
4380
4343
  var t = e, {
4381
- locale: r = j()
4382
- } = t, n = re(t, [
4344
+ locale: r = F()
4345
+ } = t, n = te(t, [
4383
4346
  "locale"
4384
4347
  ]);
4385
- return so(ut({ locale: r }, n));
4386
- }, ho = (e = {}) => {
4348
+ return Qi(st({ locale: r }, n));
4349
+ }, Ki = (e = {}) => {
4387
4350
  var t = e, {
4388
- locale: r = j()
4389
- } = t, n = re(t, [
4351
+ locale: r = F()
4352
+ } = t, n = te(t, [
4390
4353
  "locale"
4391
4354
  ]);
4392
- return ao(ut({ locale: r }, n));
4393
- }, fo = Ae(
4355
+ return Ji(st({ locale: r }, n));
4356
+ }, eo = Be(
4394
4357
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4395
- (e, t = j()) => new Gi(e, t, K().formats, {
4396
- ignoreTag: K().ignoreTag
4358
+ (e, t = F()) => new Ci(e, t, Y().formats, {
4359
+ ignoreTag: Y().ignoreTag
4397
4360
  })
4398
- ), co = (e, t = {}) => {
4361
+ ), to = (e, t = {}) => {
4399
4362
  var r, n, i, o;
4400
4363
  let a = t;
4401
4364
  typeof e == "object" && (a = e, e = a.id);
4402
4365
  const {
4403
4366
  values: s,
4404
- locale: l = j(),
4367
+ locale: l = F(),
4405
4368
  default: u
4406
4369
  } = a;
4407
4370
  if (l == null)
4408
4371
  throw new Error(
4409
4372
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4410
4373
  );
4411
- let h = yr(e, l);
4374
+ let h = cr(e, l);
4412
4375
  if (!h)
4413
- h = (o = (i = (n = (r = K()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4376
+ h = (o = (i = (n = (r = Y()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4414
4377
  else if (typeof h != "string")
4415
4378
  return console.warn(
4416
4379
  `[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.`
@@ -4419,7 +4382,7 @@ const le = (e, t) => {
4419
4382
  return h;
4420
4383
  let f = h;
4421
4384
  try {
4422
- f = fo(h, l).format(s);
4385
+ f = eo(h, l).format(s);
4423
4386
  } catch (c) {
4424
4387
  c instanceof Error && console.warn(
4425
4388
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4427,20 +4390,20 @@ const le = (e, t) => {
4427
4390
  );
4428
4391
  }
4429
4392
  return f;
4430
- }, mo = (e, t) => ho(t).format(e), po = (e, t) => lo(t).format(e), bo = (e, t) => uo(t).format(e), go = (e, t = j()) => yr(e, t), yo = ee([te, fe], () => co);
4431
- ee([te], () => mo);
4432
- ee([te], () => po);
4433
- ee([te], () => bo);
4434
- ee([te, fe], () => go);
4435
- window.emWidgets = { topic: Pn };
4436
- const vo = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4437
- function Rt(e, t) {
4438
- xr(e, t);
4439
- }
4440
- function xo(e) {
4441
- te.set(e);
4442
- }
4443
- const Gt = {
4393
+ }, ro = (e, t) => Ki(t).format(e), no = (e, t) => Yi(t).format(e), io = (e, t) => qi(t).format(e), oo = (e, t = F()) => cr(e, t), so = K([ee, he], () => to);
4394
+ K([ee], () => ro);
4395
+ K([ee], () => no);
4396
+ K([ee], () => io);
4397
+ K([ee, he], () => oo);
4398
+ window.emWidgets = { topic: _n };
4399
+ const ao = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4400
+ function Lt(e, t) {
4401
+ dr(e, t);
4402
+ }
4403
+ function uo(e) {
4404
+ ee.set(e);
4405
+ }
4406
+ const Ot = {
4444
4407
  en: {
4445
4408
  cancel: "Cancel",
4446
4409
  confirm: "Confirm"
@@ -4486,26 +4449,26 @@ const Gt = {
4486
4449
  confirm: "Confirm"
4487
4450
  }
4488
4451
  };
4489
- function _o(e) {
4490
- Vr(e, "svelte-1pkvhrt", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GamingLimitsConfirmationWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:rgba(0, 0, 0, 0.7);display:flex;justify-content:center;align-items:center;z-index:300;color:var(--emw--color-typography, #FFFFFF)}.GamingLimitsConfirmationContainer{position:relative;background:linear-gradient(to right, var(--emw--color-primary-variant, #184026), var(--emw--color-secondary-variant, #013E5C));border:5px solid transparent;padding:60px 30px 30px;background-clip:padding-box;border-radius:var(--emw--border-radius-medium, 20px)}.GamingLimitsConfirmationContainer::before{content:"";position:absolute;top:-4px;left:-8px;width:103%;height:105%;z-index:-1;background:linear-gradient(to right, var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-secondary, #E98B0F) 80%, black 20%), #22B04E);opacity:0.5;border-radius:inherit;filter:blur(6px)}.GamingLimitsConfirmationContainer::after{position:absolute;top:-4px;bottom:-4px;left:-4px;right:-4px;background:linear-gradient(to right, color-mix(in srgb, var(--emw--color-primary-variant, #184026) 80%, white 10%), color-mix(in srgb, var(--emw--color-secondary-variant, #013E5C) 80%, white 10%));content:"";z-index:-1;border-radius:var(--emw--border-radius-medium, 20px)}.GamingLimitsConfirmationContainerMobile{padding:40px;max-width:330px}.GamingLimitsConfirmationContainerMobile .GamingLimitsConfirmationControlAreaMobile .GamingLimitsCancelButton,.GamingLimitsConfirmationContainerMobile .GamingLimitsConfirmationControlAreaMobile .GamingLimitsConfirmButton{width:120px;height:auto;font-size:var(--emw--font-size-x-small, 12px)}.GamingLimitsConfirmationContent{font-size:18px;font-weight:300}.GamingLimitsConfirmationControlArea{display:grid;grid-template-columns:1fr 1fr;grid-gap:10px;direction:ltr;margin-top:30px}.GamingLimitsConfirmationControlArea .GamingLimitsCancelButton,.GamingLimitsConfirmationControlArea .GamingLimitsConfirmButton{background:transparent;border:1px solid #BFCBC3;color:#BFCBC3;cursor:pointer;border-radius:var(--emw--button-border-radius, 50px);width:200px;height:50px;font-size:var(--emw--font-size-medium, 16px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.GamingLimitsConfirmationControlArea .GamingLimitsConfirmButton{background-color:var(--emw--color-primary, #22B04E);border:2px solid var(--emw--button-border-color, #063B17);border-radius:var(--emw--button-border-radius, 50px);color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF))}.ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:5px;right:5px;padding:8px;border-radius:50%;cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:35px;height:40px}.ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.GamingLimitsConfirmationMobileWrapper{border:none;padding:0}');
4452
+ function lo(e) {
4453
+ Ir(e, "svelte-1pkvhrt", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GamingLimitsConfirmationWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:rgba(0, 0, 0, 0.7);display:flex;justify-content:center;align-items:center;z-index:300;color:var(--emw--color-typography, #FFFFFF)}.GamingLimitsConfirmationContainer{position:relative;background:linear-gradient(to right, var(--emw--color-primary-variant, #184026), var(--emw--color-secondary-variant, #013E5C));border:5px solid transparent;padding:60px 30px 30px;background-clip:padding-box;border-radius:var(--emw--border-radius-medium, 20px)}.GamingLimitsConfirmationContainer::before{content:"";position:absolute;top:-4px;left:-8px;width:103%;height:105%;z-index:-1;background:linear-gradient(to right, var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-secondary, #E98B0F) 80%, black 20%), #22B04E);opacity:0.5;border-radius:inherit;filter:blur(6px)}.GamingLimitsConfirmationContainer::after{position:absolute;top:-4px;bottom:-4px;left:-4px;right:-4px;background:linear-gradient(to right, color-mix(in srgb, var(--emw--color-primary-variant, #184026) 80%, white 10%), color-mix(in srgb, var(--emw--color-secondary-variant, #013E5C) 80%, white 10%));content:"";z-index:-1;border-radius:var(--emw--border-radius-medium, 20px)}.GamingLimitsConfirmationContainerMobile{padding:40px;max-width:330px}.GamingLimitsConfirmationContainerMobile .GamingLimitsConfirmationControlAreaMobile .GamingLimitsCancelButton,.GamingLimitsConfirmationContainerMobile .GamingLimitsConfirmationControlAreaMobile .GamingLimitsConfirmButton{width:120px;height:auto;font-size:var(--emw--font-size-x-small, 12px)}.GamingLimitsConfirmationContent{font-size:18px;font-weight:300}.GamingLimitsConfirmationControlArea{display:grid;grid-template-columns:1fr 1fr;grid-gap:10px;direction:ltr;margin-top:30px}.GamingLimitsConfirmationControlArea .GamingLimitsCancelButton,.GamingLimitsConfirmationControlArea .GamingLimitsConfirmButton{background:transparent;border:1px solid #BFCBC3;color:#BFCBC3;cursor:pointer;border-radius:var(--emw--button-border-radius, 50px);width:200px;height:50px;font-size:var(--emw--font-size-medium, 16px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.GamingLimitsConfirmationControlArea .GamingLimitsConfirmButton{background-color:var(--emw--color-primary, #22B04E);border:2px solid var(--emw--button-border-color, #063B17);border-radius:var(--emw--button-border-radius, 50px);color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF))}.ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:5px;right:5px;padding:8px;border-radius:50%;cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:35px;height:40px}.ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.GamingLimitsConfirmationMobileWrapper{border:none;padding:0}');
4491
4454
  }
4492
- const Eo = (e) => ({}), Ut = (e) => ({});
4493
- function wo(e) {
4455
+ const ho = (e) => ({}), It = (e) => ({});
4456
+ function fo(e) {
4494
4457
  let t, r;
4495
4458
  return {
4496
4459
  c() {
4497
- t = dt("svg"), r = dt("path"), H(r, "stroke-linecap", "round"), H(r, "stroke-linejoin", "round"), H(r, "stroke-width", "2"), H(r, "d", "M6 18L18 6M6 6l12 12"), H(t, "class", "w-6 h-6"), H(t, "fill", "none"), H(t, "stroke", "currentColor"), H(t, "viewBox", "0 0 24 24"), H(t, "xmlns", "http://www.w3.org/2000/svg");
4460
+ t = ut("svg"), r = ut("path"), H(r, "stroke-linecap", "round"), H(r, "stroke-linejoin", "round"), H(r, "stroke-width", "2"), H(r, "d", "M6 18L18 6M6 6l12 12"), H(t, "class", "w-6 h-6"), H(t, "fill", "none"), H(t, "stroke", "currentColor"), H(t, "viewBox", "0 0 24 24"), H(t, "xmlns", "http://www.w3.org/2000/svg");
4498
4461
  },
4499
4462
  m(n, i) {
4500
- ot(n, t, i), P(t, r);
4463
+ nt(n, t, i), P(t, r);
4501
4464
  },
4502
- p: I,
4465
+ p: O,
4503
4466
  d(n) {
4504
- n && he(t);
4467
+ n && le(t);
4505
4468
  }
4506
4469
  };
4507
4470
  }
4508
- function So(e) {
4471
+ function co(e) {
4509
4472
  let t, r, n, i, o, a, s, l, u, h = (
4510
4473
  /*$_*/
4511
4474
  e[2]("cancel") + ""
@@ -4516,38 +4479,38 @@ function So(e) {
4516
4479
  const w = (
4517
4480
  /*#slots*/
4518
4481
  e[13].close
4519
- ), C = Gr(
4482
+ ), C = Cr(
4520
4483
  w,
4521
4484
  e,
4522
4485
  /*$$scope*/
4523
4486
  e[12],
4524
- Ut
4525
- ), S = C || wo();
4487
+ It
4488
+ ), S = C || fo();
4526
4489
  return {
4527
4490
  c() {
4528
- t = M("div"), r = M("div"), n = M("span"), S.c(), i = Le(), o = M("div"), a = oe(
4491
+ t = I("div"), r = I("div"), n = I("span"), S.c(), i = Ae(), o = I("div"), a = ie(
4529
4492
  /*modaltext*/
4530
4493
  e[0]
4531
- ), s = Le(), l = M("div"), u = M("button"), f = oe(h), c = Le(), d = M("button"), p = oe(m), H(n, "class", "ModalCloseBtn"), H(n, "role", "button"), H(o, "class", "GamingLimitsConfirmationContent"), H(u, "class", "GamingLimitsCancelButton"), H(d, "class", "GamingLimitsConfirmButton"), H(l, "class", "GamingLimitsConfirmationControlArea " + /*isMobile*/
4494
+ ), s = Ae(), l = I("div"), u = I("button"), f = ie(h), c = Ae(), d = I("button"), p = ie(m), H(n, "class", "ModalCloseBtn"), H(n, "role", "button"), H(o, "class", "GamingLimitsConfirmationContent"), H(u, "class", "GamingLimitsCancelButton"), H(d, "class", "GamingLimitsConfirmButton"), H(l, "class", "GamingLimitsConfirmationControlArea " + /*isMobile*/
4532
4495
  (e[3] ? "GamingLimitsConfirmationControlAreaMobile" : "")), H(r, "class", "GamingLimitsConfirmationContainer " + /*isMobile*/
4533
4496
  (e[3] ? "GamingLimitsConfirmationContainerMobile" : "")), H(t, "class", "GamingLimitsConfirmationWrapper " + /*isMobile*/
4534
4497
  (e[3] ? "GamingLimitsConfirmationMobileWrapper" : ""));
4535
4498
  },
4536
- m(_, L) {
4537
- ot(_, t, L), P(t, r), P(r, n), S.m(n, null), P(r, i), P(r, o), P(o, a), P(r, s), P(r, l), P(l, u), P(u, f), P(l, c), P(l, d), P(d, p), e[14](t), y = !0, T || (B = [
4538
- Oe(
4499
+ m(x, L) {
4500
+ nt(x, t, L), P(t, r), P(r, n), S.m(n, null), P(r, i), P(r, o), P(o, a), P(r, s), P(r, l), P(l, u), P(u, f), P(l, c), P(l, d), P(d, p), e[14](t), y = !0, T || (B = [
4501
+ Pe(
4539
4502
  n,
4540
4503
  "click",
4541
4504
  /*close*/
4542
4505
  e[4]
4543
4506
  ),
4544
- Oe(
4507
+ Pe(
4545
4508
  u,
4546
4509
  "click",
4547
4510
  /*cancelChanges*/
4548
4511
  e[6]
4549
4512
  ),
4550
- Oe(
4513
+ Pe(
4551
4514
  d,
4552
4515
  "click",
4553
4516
  /*confirmChanges*/
@@ -4555,64 +4518,64 @@ function So(e) {
4555
4518
  )
4556
4519
  ], T = !0);
4557
4520
  },
4558
- p(_, [L]) {
4521
+ p(x, [L]) {
4559
4522
  C && C.p && (!y || L & /*$$scope*/
4560
- 4096) && Dr(
4523
+ 4096) && Ar(
4561
4524
  C,
4562
4525
  w,
4563
- _,
4526
+ x,
4564
4527
  /*$$scope*/
4565
- _[12],
4566
- y ? Ur(
4528
+ x[12],
4529
+ y ? Br(
4567
4530
  w,
4568
4531
  /*$$scope*/
4569
- _[12],
4532
+ x[12],
4570
4533
  L,
4571
- Eo
4572
- ) : Fr(
4534
+ ho
4535
+ ) : Pr(
4573
4536
  /*$$scope*/
4574
- _[12]
4537
+ x[12]
4575
4538
  ),
4576
- Ut
4539
+ It
4577
4540
  ), (!y || L & /*modaltext*/
4578
- 1) && Ie(
4541
+ 1) && Le(
4579
4542
  a,
4580
4543
  /*modaltext*/
4581
- _[0]
4544
+ x[0]
4582
4545
  ), (!y || L & /*$_*/
4583
4546
  4) && h !== (h = /*$_*/
4584
- _[2]("cancel") + "") && Ie(f, h), (!y || L & /*$_*/
4547
+ x[2]("cancel") + "") && Le(f, h), (!y || L & /*$_*/
4585
4548
  4) && m !== (m = /*$_*/
4586
- _[2]("confirm") + "") && Ie(p, m);
4549
+ x[2]("confirm") + "") && Le(p, m);
4587
4550
  },
4588
- i(_) {
4589
- y || (Wt(S, _), y = !0);
4551
+ i(x) {
4552
+ y || (Ft(S, x), y = !0);
4590
4553
  },
4591
- o(_) {
4592
- an(S, _), y = !1;
4554
+ o(x) {
4555
+ Qr(S, x), y = !1;
4593
4556
  },
4594
- d(_) {
4595
- _ && he(t), S.d(_), e[14](null), T = !1, F(B);
4557
+ d(x) {
4558
+ x && le(t), S.d(x), e[14](null), T = !1, D(B);
4596
4559
  }
4597
4560
  };
4598
4561
  }
4599
- function To(e, t, r) {
4562
+ function mo(e, t, r) {
4600
4563
  let n;
4601
- Rr(e, yo, (b) => r(2, n = b));
4564
+ Hr(e, so, (b) => r(2, n = b));
4602
4565
  let { $$slots: i = {}, $$scope: o } = t, { modaltext: a = "Are you sure that you want to perform this action?" } = t, { modalsource: s = "" } = t, { lang: l = "en" } = t, { clientstyling: u = "" } = t, { clientstylingurl: h = "" } = t, { translationurl: f = "" } = t;
4603
4566
  const c = () => {
4604
- fetch(f).then((N) => N.json()).then((N) => {
4605
- Object.keys(N).forEach((k) => {
4606
- Rt(k, N[k]);
4567
+ fetch(f).then((M) => M.json()).then((M) => {
4568
+ Object.keys(M).forEach((j) => {
4569
+ Lt(j, M[j]);
4607
4570
  });
4608
- }).catch((N) => {
4609
- console.log(N);
4571
+ }).catch((M) => {
4572
+ console.log(M);
4610
4573
  });
4611
4574
  };
4612
- Object.keys(Gt).forEach((b) => {
4613
- Rt(b, Gt[b]);
4575
+ Object.keys(Ot).forEach((b) => {
4576
+ Lt(b, Ot[b]);
4614
4577
  });
4615
- let d, m = window.navigator.userAgent, p = vo(m) !== "PC", y = {}, T = "";
4578
+ let d, m = window.navigator.userAgent, p = ao(m) !== "PC", y = {}, T = "";
4616
4579
  const B = () => {
4617
4580
  window.postMessage({ type: "ModalClosed" }, window.location.href);
4618
4581
  }, w = () => {
@@ -4626,7 +4589,7 @@ function To(e, t, r) {
4626
4589
  ), window.postMessage({ type: "ModalClosed" }, window.location.href);
4627
4590
  }, C = () => {
4628
4591
  s === "groupEdit" ? window.postMessage({ type: "CancelGamingLimitsChanges" }, window.location.href) : s === "infoCard" && window.postMessage({ type: "CancelGamingLimitsRemove" }, window.location.href), window.postMessage({ type: "ModalClosed" }, window.location.href);
4629
- }, S = (b) => b === "Time Limit" ? "cumulativeSessionLimits" : b === "Deposit Limit" ? "depositLimits" : b === "Wagering Limit" ? "wageringLimit" : "lossLimit", _ = (b) => {
4592
+ }, S = (b) => b === "Time Limit" ? "cumulativeSessionLimits" : b === "Deposit Limit" ? "depositLimits" : b === "Wagering Limit" ? "wageringLimit" : "lossLimit", x = (b) => {
4630
4593
  if (b.data)
4631
4594
  switch (b.data.type) {
4632
4595
  case "DeleteLimitsItem":
@@ -4634,26 +4597,26 @@ function To(e, t, r) {
4634
4597
  break;
4635
4598
  }
4636
4599
  }, L = () => {
4637
- xo(l);
4638
- }, Hr = () => {
4600
+ uo(l);
4601
+ }, vr = () => {
4639
4602
  let b = document.createElement("style");
4640
4603
  b.innerHTML = u, d.appendChild(b);
4641
- }, Cr = () => {
4642
- let b = new URL(h), N = document.createElement("style");
4643
- fetch(b.href).then((k) => k.text()).then((k) => {
4644
- N.innerHTML = k, setTimeout(
4604
+ }, xr = () => {
4605
+ let b = new URL(h), M = document.createElement("style");
4606
+ fetch(b.href).then((j) => j.text()).then((j) => {
4607
+ M.innerHTML = j, setTimeout(
4645
4608
  () => {
4646
- d.appendChild(N);
4609
+ d.appendChild(M);
4647
4610
  },
4648
4611
  1
4649
4612
  );
4650
4613
  });
4651
4614
  };
4652
- en(() => (window.addEventListener("message", _, !1), () => {
4653
- window.removeEventListener("message", _);
4615
+ kr(() => (window.addEventListener("message", x, !1), () => {
4616
+ window.removeEventListener("message", x);
4654
4617
  }));
4655
- function Br(b) {
4656
- je[b ? "unshift" : "push"](() => {
4618
+ function Er(b) {
4619
+ De[b ? "unshift" : "push"](() => {
4657
4620
  d = b, r(1, d);
4658
4621
  });
4659
4622
  }
@@ -4662,8 +4625,8 @@ function To(e, t, r) {
4662
4625
  }, e.$$.update = () => {
4663
4626
  e.$$.dirty & /*modaltext, modalsource, lang*/
4664
4627
  385 && a && s && l && L(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4665
- 514 && u && d && Hr(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4666
- 1026 && h && d && Cr(), e.$$.dirty & /*translationurl*/
4628
+ 514 && u && d && vr(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4629
+ 1026 && h && d && xr(), e.$$.dirty & /*translationurl*/
4667
4630
  2048 && f && c();
4668
4631
  }, [
4669
4632
  a,
@@ -4680,17 +4643,17 @@ function To(e, t, r) {
4680
4643
  f,
4681
4644
  o,
4682
4645
  i,
4683
- Br
4646
+ Er
4684
4647
  ];
4685
4648
  }
4686
- class Tr extends dn {
4649
+ class _r extends rn {
4687
4650
  constructor(t) {
4688
- super(), cn(
4651
+ super(), en(
4689
4652
  this,
4690
4653
  t,
4691
- To,
4692
- So,
4693
- Ft,
4654
+ mo,
4655
+ co,
4656
+ Nt,
4694
4657
  {
4695
4658
  modaltext: 0,
4696
4659
  modalsource: 7,
@@ -4699,97 +4662,97 @@ class Tr extends dn {
4699
4662
  clientstylingurl: 10,
4700
4663
  translationurl: 11
4701
4664
  },
4702
- _o
4665
+ lo
4703
4666
  );
4704
4667
  }
4705
4668
  get modaltext() {
4706
4669
  return this.$$.ctx[0];
4707
4670
  }
4708
4671
  set modaltext(t) {
4709
- this.$$set({ modaltext: t }), U();
4672
+ this.$$set({ modaltext: t }), G();
4710
4673
  }
4711
4674
  get modalsource() {
4712
4675
  return this.$$.ctx[7];
4713
4676
  }
4714
4677
  set modalsource(t) {
4715
- this.$$set({ modalsource: t }), U();
4678
+ this.$$set({ modalsource: t }), G();
4716
4679
  }
4717
4680
  get lang() {
4718
4681
  return this.$$.ctx[8];
4719
4682
  }
4720
4683
  set lang(t) {
4721
- this.$$set({ lang: t }), U();
4684
+ this.$$set({ lang: t }), G();
4722
4685
  }
4723
4686
  get clientstyling() {
4724
4687
  return this.$$.ctx[9];
4725
4688
  }
4726
4689
  set clientstyling(t) {
4727
- this.$$set({ clientstyling: t }), U();
4690
+ this.$$set({ clientstyling: t }), G();
4728
4691
  }
4729
4692
  get clientstylingurl() {
4730
4693
  return this.$$.ctx[10];
4731
4694
  }
4732
4695
  set clientstylingurl(t) {
4733
- this.$$set({ clientstylingurl: t }), U();
4696
+ this.$$set({ clientstylingurl: t }), G();
4734
4697
  }
4735
4698
  get translationurl() {
4736
4699
  return this.$$.ctx[11];
4737
4700
  }
4738
4701
  set translationurl(t) {
4739
- this.$$set({ translationurl: t }), U();
4702
+ this.$$set({ translationurl: t }), G();
4740
4703
  }
4741
4704
  }
4742
- mn(Tr, { modaltext: {}, modalsource: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, ["close"], [], !0);
4743
- const Uo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4705
+ tn(_r, { modaltext: {}, modalsource: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, ["close"], [], !0);
4706
+ const Co = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4744
4707
  __proto__: null,
4745
- default: Tr
4708
+ default: _r
4746
4709
  }, Symbol.toStringTag, { value: "Module" }));
4747
4710
  export {
4748
- te as $,
4749
- Mo as A,
4750
- Lo as B,
4751
- je as C,
4752
- Oo as D,
4753
- _e as E,
4754
- Io as F,
4755
- Se as G,
4756
- yo as H,
4757
- Mr as I,
4758
- Wt as J,
4759
- an as K,
4760
- $o as L,
4761
- Gr as M,
4762
- Dr as N,
4763
- Fr as O,
4764
- Ur as P,
4765
- Ro as Q,
4766
- No as R,
4767
- dn as S,
4768
- Uo as T,
4769
- xr as a,
4770
- Vr as b,
4771
- mn as c,
4772
- Le as d,
4773
- M as e,
4774
- U as f,
4775
- dt as g,
4711
+ ee as $,
4712
+ Eo as A,
4713
+ _o as B,
4714
+ De as C,
4715
+ vo as D,
4716
+ ve as E,
4717
+ xo as F,
4718
+ we as G,
4719
+ so as H,
4720
+ wr as I,
4721
+ Ft as J,
4722
+ Qr as K,
4723
+ So as L,
4724
+ Cr as M,
4725
+ Ar as N,
4726
+ Pr as O,
4727
+ Br as P,
4728
+ To as Q,
4729
+ wo as R,
4730
+ rn as S,
4731
+ Co as T,
4732
+ dr as a,
4733
+ Ir as b,
4734
+ tn as c,
4735
+ Ae as d,
4736
+ I as e,
4737
+ G as f,
4738
+ ut as g,
4776
4739
  H as h,
4777
- cn as i,
4778
- Po as j,
4779
- ot as k,
4740
+ en as i,
4741
+ yo as j,
4742
+ nt as k,
4780
4743
  P as l,
4781
- Oe as m,
4782
- Ie as n,
4783
- I as o,
4784
- Ao as p,
4785
- he as q,
4786
- F as r,
4787
- Ft as s,
4788
- oe as t,
4789
- Rr as u,
4790
- vo as v,
4791
- en as w,
4792
- Go as x,
4793
- Co as y,
4794
- Bo as z
4744
+ Pe as m,
4745
+ Le as n,
4746
+ O as o,
4747
+ go as p,
4748
+ le as q,
4749
+ D as r,
4750
+ Nt as s,
4751
+ ie as t,
4752
+ Hr as u,
4753
+ ao as v,
4754
+ kr as w,
4755
+ Ho as x,
4756
+ po as y,
4757
+ bo as z
4795
4758
  };