@everymatrix/casino-404 1.54.12 → 1.56.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- function B() {
1
+ function A() {
2
2
  }
3
3
  function it(e) {
4
4
  return e();
@@ -6,10 +6,10 @@ function it(e) {
6
6
  function Ue() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
- function ee(e) {
9
+ function te(e) {
10
10
  e.forEach(it);
11
11
  }
12
- function Ce(e) {
12
+ function $e(e) {
13
13
  return typeof e == "function";
14
14
  }
15
15
  function ot(e, t) {
@@ -22,7 +22,7 @@ function at(e, ...t) {
22
22
  if (e == null) {
23
23
  for (const n of t)
24
24
  n(void 0);
25
- return B;
25
+ return A;
26
26
  }
27
27
  const r = e.subscribe(...t);
28
28
  return r.unsubscribe ? () => r.unsubscribe() : r;
@@ -30,7 +30,7 @@ function at(e, ...t) {
30
30
  function Lt(e, t, r) {
31
31
  e.$$.on_destroy.push(at(t, r));
32
32
  }
33
- function H(e, t) {
33
+ function _(e, t) {
34
34
  e.appendChild(t);
35
35
  }
36
36
  function Ct(e, t, r) {
@@ -50,7 +50,7 @@ function $t(e) {
50
50
  ) : e.ownerDocument;
51
51
  }
52
52
  function Rt(e, t) {
53
- return H(
53
+ return _(
54
54
  /** @type {Document} */
55
55
  e.head || e,
56
56
  t
@@ -59,7 +59,7 @@ function Rt(e, t) {
59
59
  function st(e, t, r) {
60
60
  e.insertBefore(t, r || null);
61
61
  }
62
- function $e(e) {
62
+ function Re(e) {
63
63
  e.parentNode && e.parentNode.removeChild(e);
64
64
  }
65
65
  function L(e) {
@@ -68,11 +68,11 @@ function L(e) {
68
68
  function O(e) {
69
69
  return document.createElementNS("http://www.w3.org/2000/svg", e);
70
70
  }
71
- function ne(e) {
71
+ function ie(e) {
72
72
  return document.createTextNode(e);
73
73
  }
74
- function pe() {
75
- return ne(" ");
74
+ function ge() {
75
+ return ie(" ");
76
76
  }
77
77
  function Ft(e, t, r, n) {
78
78
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
@@ -83,7 +83,7 @@ function x(e, t, r) {
83
83
  function Gt(e) {
84
84
  return Array.from(e.childNodes);
85
85
  }
86
- function ge(e, t) {
86
+ function de(e, t) {
87
87
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
88
88
  t);
89
89
  }
@@ -96,84 +96,91 @@ function Dt(e) {
96
96
  }
97
97
  ), t;
98
98
  }
99
- let Re;
99
+ let Y;
100
100
  function J(e) {
101
- Re = e;
101
+ Y = e;
102
+ }
103
+ function Ut() {
104
+ if (!Y) throw new Error("Function called outside component initialization");
105
+ return Y;
102
106
  }
103
- const G = [], He = [];
107
+ function jt(e) {
108
+ Ut().$$.on_mount.push(e);
109
+ }
110
+ const D = [], Te = [];
104
111
  let U = [];
105
- const je = [], Ut = /* @__PURE__ */ Promise.resolve();
106
- let Te = !1;
107
- function jt() {
108
- Te || (Te = !0, Ut.then(D));
112
+ const je = [], kt = /* @__PURE__ */ Promise.resolve();
113
+ let Pe = !1;
114
+ function Vt() {
115
+ Pe || (Pe = !0, kt.then(C));
109
116
  }
110
- function Pe(e) {
117
+ function Se(e) {
111
118
  U.push(e);
112
119
  }
113
- const de = /* @__PURE__ */ new Set();
114
- let R = 0;
115
- function D() {
116
- if (R !== 0)
120
+ const be = /* @__PURE__ */ new Set();
121
+ let F = 0;
122
+ function C() {
123
+ if (F !== 0)
117
124
  return;
118
- const e = Re;
125
+ const e = Y;
119
126
  do {
120
127
  try {
121
- for (; R < G.length; ) {
122
- const t = G[R];
123
- R++, J(t), kt(t.$$);
128
+ for (; F < D.length; ) {
129
+ const t = D[F];
130
+ F++, J(t), Xt(t.$$);
124
131
  }
125
132
  } catch (t) {
126
- throw G.length = 0, R = 0, t;
133
+ throw D.length = 0, F = 0, t;
127
134
  }
128
- for (J(null), G.length = 0, R = 0; He.length; ) He.pop()();
135
+ for (J(null), D.length = 0, F = 0; Te.length; ) Te.pop()();
129
136
  for (let t = 0; t < U.length; t += 1) {
130
137
  const r = U[t];
131
- de.has(r) || (de.add(r), r());
138
+ be.has(r) || (be.add(r), r());
132
139
  }
133
140
  U.length = 0;
134
- } while (G.length);
141
+ } while (D.length);
135
142
  for (; je.length; )
136
143
  je.pop()();
137
- Te = !1, de.clear(), J(e);
144
+ Pe = !1, be.clear(), J(e);
138
145
  }
139
- function kt(e) {
146
+ function Xt(e) {
140
147
  if (e.fragment !== null) {
141
- e.update(), ee(e.before_update);
148
+ e.update(), te(e.before_update);
142
149
  const t = e.dirty;
143
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Pe);
150
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Se);
144
151
  }
145
152
  }
146
- function Vt(e) {
153
+ function zt(e) {
147
154
  const t = [], r = [];
148
155
  U.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), U = t;
149
156
  }
150
- const Xt = /* @__PURE__ */ new Set();
151
- function zt(e, t) {
152
- e && e.i && (Xt.delete(e), e.i(t));
157
+ const Zt = /* @__PURE__ */ new Set();
158
+ function Wt(e, t) {
159
+ e && e.i && (Zt.delete(e), e.i(t));
153
160
  }
154
- function Zt(e, t, r) {
161
+ function Qt(e, t, r) {
155
162
  const { fragment: n, after_update: i } = e.$$;
156
- n && n.m(t, r), Pe(() => {
157
- const o = e.$$.on_mount.map(it).filter(Ce);
158
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ee(o), e.$$.on_mount = [];
159
- }), i.forEach(Pe);
163
+ n && n.m(t, r), Se(() => {
164
+ const o = e.$$.on_mount.map(it).filter($e);
165
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : te(o), e.$$.on_mount = [];
166
+ }), i.forEach(Se);
160
167
  }
161
- function Wt(e, t) {
168
+ function qt(e, t) {
162
169
  const r = e.$$;
163
- r.fragment !== null && (Vt(r.after_update), ee(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
170
+ r.fragment !== null && (zt(r.after_update), te(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
164
171
  }
165
- function Qt(e, t) {
166
- e.$$.dirty[0] === -1 && (G.push(e), jt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
172
+ function Jt(e, t) {
173
+ e.$$.dirty[0] === -1 && (D.push(e), Vt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
167
174
  }
168
- function qt(e, t, r, n, i, o, u = null, a = [-1]) {
169
- const l = Re;
175
+ function Yt(e, t, r, n, i, o, u = null, s = [-1]) {
176
+ const l = Y;
170
177
  J(e);
171
- const s = e.$$ = {
178
+ const a = e.$$ = {
172
179
  fragment: null,
173
180
  ctx: [],
174
181
  // state
175
182
  props: o,
176
- update: B,
183
+ update: A,
177
184
  not_equal: i,
178
185
  bound: Ue(),
179
186
  // lifecycle
@@ -185,22 +192,22 @@ function qt(e, t, r, n, i, o, u = null, a = [-1]) {
185
192
  context: new Map(t.context || (l ? l.$$.context : [])),
186
193
  // everything else
187
194
  callbacks: Ue(),
188
- dirty: a,
195
+ dirty: s,
189
196
  skip_bound: !1,
190
197
  root: t.target || l.$$.root
191
198
  };
192
- u && u(s.root);
199
+ u && u(a.root);
193
200
  let h = !1;
194
- if (s.ctx = r ? r(e, t.props || {}, (c, f, ...b) => {
195
- const y = b.length ? b[0] : f;
196
- return s.ctx && i(s.ctx[c], s.ctx[c] = y) && (!s.skip_bound && s.bound[c] && s.bound[c](y), h && Qt(e, c)), f;
197
- }) : [], s.update(), h = !0, ee(s.before_update), s.fragment = n ? n(s.ctx) : !1, t.target) {
201
+ if (a.ctx = r ? r(e, t.props || {}, (f, c, ...b) => {
202
+ const y = b.length ? b[0] : c;
203
+ return a.ctx && i(a.ctx[f], a.ctx[f] = y) && (!a.skip_bound && a.bound[f] && a.bound[f](y), h && Jt(e, f)), c;
204
+ }) : [], a.update(), h = !0, te(a.before_update), a.fragment = n ? n(a.ctx) : !1, t.target) {
198
205
  if (t.hydrate) {
199
- const c = Gt(t.target);
200
- s.fragment && s.fragment.l(c), c.forEach($e);
206
+ const f = Gt(t.target);
207
+ a.fragment && a.fragment.l(f), f.forEach(Re);
201
208
  } else
202
- s.fragment && s.fragment.c();
203
- t.intro && zt(e.$$.fragment), Zt(e, t.target, t.anchor), D();
209
+ a.fragment && a.fragment.c();
210
+ t.intro && Wt(e.$$.fragment), Qt(e, t.target, t.anchor), C();
204
211
  }
205
212
  J(l);
206
213
  }
@@ -253,11 +260,11 @@ typeof HTMLElement == "function" && (ut = class extends HTMLElement {
253
260
  * @param {HTMLElement} target
254
261
  * @param {HTMLElement} [anchor]
255
262
  */
256
- m: function(l, s) {
257
- st(l, o, s);
263
+ m: function(l, a) {
264
+ st(l, o, a);
258
265
  },
259
266
  d: function(l) {
260
- l && $e(o);
267
+ l && Re(o);
261
268
  }
262
269
  };
263
270
  };
@@ -269,7 +276,7 @@ typeof HTMLElement == "function" && (ut = class extends HTMLElement {
269
276
  i in r && (t[i] = [e(i)]);
270
277
  for (const i of this.attributes) {
271
278
  const o = this.$$g_p(i.name);
272
- o in this.$$d || (this.$$d[o] = ie(o, i.value, this.$$p_d, "toProp"));
279
+ o in this.$$d || (this.$$d[o] = oe(o, i.value, this.$$p_d, "toProp"));
273
280
  }
274
281
  for (const i in this.$$p_d)
275
282
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -287,7 +294,7 @@ typeof HTMLElement == "function" && (ut = class extends HTMLElement {
287
294
  this.$$r = !0;
288
295
  for (const i in this.$$p_d)
289
296
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
290
- const o = ie(
297
+ const o = oe(
291
298
  i,
292
299
  this.$$d[i],
293
300
  this.$$p_d,
@@ -309,7 +316,7 @@ typeof HTMLElement == "function" && (ut = class extends HTMLElement {
309
316
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
310
317
  // and setting attributes through setAttribute etc, this is helpful
311
318
  attributeChangedCallback(e, t, r) {
312
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = ie(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
319
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = oe(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
313
320
  }
314
321
  disconnectedCallback() {
315
322
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -322,7 +329,7 @@ typeof HTMLElement == "function" && (ut = class extends HTMLElement {
322
329
  ) || e;
323
330
  }
324
331
  });
325
- function ie(e, t, r, n) {
332
+ function oe(e, t, r, n) {
326
333
  const i = r[e]?.type;
327
334
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
328
335
  return t;
@@ -351,36 +358,36 @@ function ie(e, t, r, n) {
351
358
  return t;
352
359
  }
353
360
  }
354
- function Jt(e, t, r, n, i, o) {
361
+ function Kt(e, t, r, n, i, o) {
355
362
  let u = class extends ut {
356
363
  constructor() {
357
364
  super(e, r, i), this.$$p_d = t;
358
365
  }
359
366
  static get observedAttributes() {
360
367
  return Object.keys(t).map(
361
- (a) => (t[a].attribute || a).toLowerCase()
368
+ (s) => (t[s].attribute || s).toLowerCase()
362
369
  );
363
370
  }
364
371
  };
365
- return Object.keys(t).forEach((a) => {
366
- Object.defineProperty(u.prototype, a, {
372
+ return Object.keys(t).forEach((s) => {
373
+ Object.defineProperty(u.prototype, s, {
367
374
  get() {
368
- return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
375
+ return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
369
376
  },
370
377
  set(l) {
371
- l = ie(a, l, t), this.$$d[a] = l, this.$$c?.$set({ [a]: l });
378
+ l = oe(s, l, t), this.$$d[s] = l, this.$$c?.$set({ [s]: l });
372
379
  }
373
380
  });
374
- }), n.forEach((a) => {
375
- Object.defineProperty(u.prototype, a, {
381
+ }), n.forEach((s) => {
382
+ Object.defineProperty(u.prototype, s, {
376
383
  get() {
377
- return this.$$c?.[a];
384
+ return this.$$c?.[s];
378
385
  }
379
386
  });
380
387
  }), e.element = /** @type {any} */
381
388
  u, u;
382
389
  }
383
- class Yt {
390
+ class er {
384
391
  /**
385
392
  * ### PRIVATE API
386
393
  *
@@ -399,7 +406,7 @@ class Yt {
399
406
  $$set = void 0;
400
407
  /** @returns {void} */
401
408
  $destroy() {
402
- Wt(this, 1), this.$destroy = B;
409
+ qt(this, 1), this.$destroy = A;
403
410
  }
404
411
  /**
405
412
  * @template {Extract<keyof Events, string>} K
@@ -408,8 +415,8 @@ class Yt {
408
415
  * @returns {() => void}
409
416
  */
410
417
  $on(t, r) {
411
- if (!Ce(r))
412
- return B;
418
+ if (!$e(r))
419
+ return A;
413
420
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
414
421
  return n.push(r), () => {
415
422
  const i = n.indexOf(r);
@@ -424,36 +431,36 @@ class Yt {
424
431
  this.$$set && !Mt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
425
432
  }
426
433
  }
427
- const Kt = "4";
428
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Kt);
429
- const F = [];
430
- function er(e, t) {
434
+ const tr = "4";
435
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(tr);
436
+ const G = [];
437
+ function rr(e, t) {
431
438
  return {
432
- subscribe: he(e, t).subscribe
439
+ subscribe: le(e, t).subscribe
433
440
  };
434
441
  }
435
- function he(e, t = B) {
442
+ function le(e, t = A) {
436
443
  let r;
437
444
  const n = /* @__PURE__ */ new Set();
438
- function i(a) {
439
- if (ot(e, a) && (e = a, r)) {
440
- const l = !F.length;
441
- for (const s of n)
442
- s[1](), F.push(s, e);
445
+ function i(s) {
446
+ if (ot(e, s) && (e = s, r)) {
447
+ const l = !G.length;
448
+ for (const a of n)
449
+ a[1](), G.push(a, e);
443
450
  if (l) {
444
- for (let s = 0; s < F.length; s += 2)
445
- F[s][0](F[s + 1]);
446
- F.length = 0;
451
+ for (let a = 0; a < G.length; a += 2)
452
+ G[a][0](G[a + 1]);
453
+ G.length = 0;
447
454
  }
448
455
  }
449
456
  }
450
- function o(a) {
451
- i(a(e));
457
+ function o(s) {
458
+ i(s(e));
452
459
  }
453
- function u(a, l = B) {
454
- const s = [a, l];
455
- return n.add(s), n.size === 1 && (r = t(i, o) || B), a(e), () => {
456
- n.delete(s), n.size === 0 && r && (r(), r = null);
460
+ function u(s, l = A) {
461
+ const a = [s, l];
462
+ return n.add(a), n.size === 1 && (r = t(i, o) || A), s(e), () => {
463
+ n.delete(a), n.size === 0 && r && (r(), r = null);
457
464
  };
458
465
  }
459
466
  return { set: i, update: o, subscribe: u };
@@ -463,73 +470,73 @@ function z(e, t, r) {
463
470
  if (!i.every(Boolean))
464
471
  throw new Error("derived() expects stores as input, got a falsy value");
465
472
  const o = t.length < 2;
466
- return er(r, (u, a) => {
473
+ return rr(r, (u, s) => {
467
474
  let l = !1;
468
- const s = [];
469
- let h = 0, c = B;
470
- const f = () => {
475
+ const a = [];
476
+ let h = 0, f = A;
477
+ const c = () => {
471
478
  if (h)
472
479
  return;
473
- c();
474
- const y = t(n ? s[0] : s, u, a);
475
- o ? u(y) : c = Ce(y) ? y : B;
480
+ f();
481
+ const y = t(n ? a[0] : a, u, s);
482
+ o ? u(y) : f = $e(y) ? y : A;
476
483
  }, b = i.map(
477
- (y, _) => at(
484
+ (y, m) => at(
478
485
  y,
479
- (m) => {
480
- s[_] = m, h &= ~(1 << _), l && f();
486
+ (v) => {
487
+ a[m] = v, h &= ~(1 << m), l && c();
481
488
  },
482
489
  () => {
483
- h |= 1 << _;
490
+ h |= 1 << m;
484
491
  }
485
492
  )
486
493
  );
487
- return l = !0, f(), function() {
488
- ee(b), c(), l = !1;
494
+ return l = !0, c(), function() {
495
+ te(b), f(), l = !1;
489
496
  };
490
497
  });
491
498
  }
492
- function tr(e) {
499
+ function nr(e) {
493
500
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
494
501
  }
495
- var rr = function(t) {
496
- return nr(t) && !ir(t);
502
+ var ir = function(t) {
503
+ return or(t) && !ar(t);
497
504
  };
498
- function nr(e) {
505
+ function or(e) {
499
506
  return !!e && typeof e == "object";
500
507
  }
501
- function ir(e) {
508
+ function ar(e) {
502
509
  var t = Object.prototype.toString.call(e);
503
- return t === "[object RegExp]" || t === "[object Date]" || sr(e);
510
+ return t === "[object RegExp]" || t === "[object Date]" || hr(e);
504
511
  }
505
- var or = typeof Symbol == "function" && Symbol.for, ar = or ? Symbol.for("react.element") : 60103;
506
- function sr(e) {
507
- return e.$$typeof === ar;
512
+ var sr = typeof Symbol == "function" && Symbol.for, ur = sr ? Symbol.for("react.element") : 60103;
513
+ function hr(e) {
514
+ return e.$$typeof === ur;
508
515
  }
509
- function ur(e) {
516
+ function lr(e) {
510
517
  return Array.isArray(e) ? [] : {};
511
518
  }
512
- function Y(e, t) {
513
- return t.clone !== !1 && t.isMergeableObject(e) ? j(ur(e), e, t) : e;
519
+ function K(e, t) {
520
+ return t.clone !== !1 && t.isMergeableObject(e) ? j(lr(e), e, t) : e;
514
521
  }
515
- function hr(e, t, r) {
522
+ function fr(e, t, r) {
516
523
  return e.concat(t).map(function(n) {
517
- return Y(n, r);
524
+ return K(n, r);
518
525
  });
519
526
  }
520
- function lr(e, t) {
527
+ function cr(e, t) {
521
528
  if (!t.customMerge)
522
529
  return j;
523
530
  var r = t.customMerge(e);
524
531
  return typeof r == "function" ? r : j;
525
532
  }
526
- function fr(e) {
533
+ function mr(e) {
527
534
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
528
535
  return Object.propertyIsEnumerable.call(e, t);
529
536
  }) : [];
530
537
  }
531
538
  function ke(e) {
532
- return Object.keys(e).concat(fr(e));
539
+ return Object.keys(e).concat(mr(e));
533
540
  }
534
541
  function ht(e, t) {
535
542
  try {
@@ -538,21 +545,21 @@ function ht(e, t) {
538
545
  return !1;
539
546
  }
540
547
  }
541
- function cr(e, t) {
548
+ function pr(e, t) {
542
549
  return ht(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
543
550
  }
544
- function mr(e, t, r) {
551
+ function gr(e, t, r) {
545
552
  var n = {};
546
553
  return r.isMergeableObject(e) && ke(e).forEach(function(i) {
547
- n[i] = Y(e[i], r);
554
+ n[i] = K(e[i], r);
548
555
  }), ke(t).forEach(function(i) {
549
- cr(e, i) || (ht(e, i) && r.isMergeableObject(t[i]) ? n[i] = lr(i, r)(e[i], t[i], r) : n[i] = Y(t[i], r));
556
+ pr(e, i) || (ht(e, i) && r.isMergeableObject(t[i]) ? n[i] = cr(i, r)(e[i], t[i], r) : n[i] = K(t[i], r));
550
557
  }), n;
551
558
  }
552
559
  function j(e, t, r) {
553
- r = r || {}, r.arrayMerge = r.arrayMerge || hr, r.isMergeableObject = r.isMergeableObject || rr, r.cloneUnlessOtherwiseSpecified = Y;
560
+ r = r || {}, r.arrayMerge = r.arrayMerge || fr, r.isMergeableObject = r.isMergeableObject || ir, r.cloneUnlessOtherwiseSpecified = K;
554
561
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
555
- return o ? n ? r.arrayMerge(e, t, r) : mr(e, t, r) : Y(t, r);
562
+ return o ? n ? r.arrayMerge(e, t, r) : gr(e, t, r) : K(t, r);
556
563
  }
557
564
  j.all = function(t, r) {
558
565
  if (!Array.isArray(t))
@@ -561,8 +568,8 @@ j.all = function(t, r) {
561
568
  return j(n, i, r);
562
569
  }, {});
563
570
  };
564
- var pr = j, gr = pr;
565
- const dr = /* @__PURE__ */ tr(gr);
571
+ var dr = j, br = dr;
572
+ const xr = /* @__PURE__ */ nr(br);
566
573
  var Ne = function(e, t) {
567
574
  return Ne = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
568
575
  r.__proto__ = n;
@@ -570,7 +577,7 @@ var Ne = function(e, t) {
570
577
  for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
571
578
  }, Ne(e, t);
572
579
  };
573
- function le(e, t) {
580
+ function fe(e, t) {
574
581
  if (typeof t != "function" && t !== null)
575
582
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
576
583
  Ne(e, t);
@@ -588,7 +595,7 @@ var d = function() {
588
595
  return t;
589
596
  }, d.apply(this, arguments);
590
597
  };
591
- function br(e, t) {
598
+ function yr(e, t) {
592
599
  var r = {};
593
600
  for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
594
601
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
@@ -596,23 +603,23 @@ function br(e, t) {
596
603
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
597
604
  return r;
598
605
  }
599
- function be(e, t, r) {
606
+ function xe(e, t, r) {
600
607
  if (r || arguments.length === 2) for (var n = 0, i = t.length, o; n < i; n++)
601
608
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
602
609
  return e.concat(o || Array.prototype.slice.call(t));
603
610
  }
604
- function xe(e, t) {
605
- var r = t && t.cache ? t.cache : Tr, n = t && t.serializer ? t.serializer : _r, i = t && t.strategy ? t.strategy : vr;
611
+ function ye(e, t) {
612
+ var r = t && t.cache ? t.cache : Sr, n = t && t.serializer ? t.serializer : Tr, i = t && t.strategy ? t.strategy : _r;
606
613
  return i(e, {
607
614
  cache: r,
608
615
  serializer: n
609
616
  });
610
617
  }
611
- function xr(e) {
618
+ function Er(e) {
612
619
  return e == null || typeof e == "number" || typeof e == "boolean";
613
620
  }
614
- function yr(e, t, r, n) {
615
- var i = xr(n) ? n : r(n), o = t.get(i);
621
+ function vr(e, t, r, n) {
622
+ var i = Er(n) ? n : r(n), o = t.get(i);
616
623
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
617
624
  }
618
625
  function lt(e, t, r) {
@@ -622,16 +629,16 @@ function lt(e, t, r) {
622
629
  function ft(e, t, r, n, i) {
623
630
  return r.bind(t, e, n, i);
624
631
  }
625
- function vr(e, t) {
626
- var r = e.length === 1 ? yr : lt;
632
+ function _r(e, t) {
633
+ var r = e.length === 1 ? vr : lt;
627
634
  return ft(e, this, r, t.cache.create(), t.serializer);
628
635
  }
629
- function Er(e, t) {
636
+ function Hr(e, t) {
630
637
  return ft(e, this, lt, t.cache.create(), t.serializer);
631
638
  }
632
- var _r = function() {
639
+ var Tr = function() {
633
640
  return JSON.stringify(arguments);
634
- }, Hr = (
641
+ }, Pr = (
635
642
  /** @class */
636
643
  function() {
637
644
  function e() {
@@ -643,50 +650,50 @@ var _r = function() {
643
650
  this.cache[t] = r;
644
651
  }, e;
645
652
  }()
646
- ), Tr = {
653
+ ), Sr = {
647
654
  create: function() {
648
- return new Hr();
655
+ return new Pr();
649
656
  }
650
- }, ye = {
651
- variadic: Er
657
+ }, Ee = {
658
+ variadic: Hr
652
659
  }, p;
653
660
  (function(e) {
654
661
  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";
655
662
  })(p || (p = {}));
656
- var v;
663
+ var E;
657
664
  (function(e) {
658
665
  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";
659
- })(v || (v = {}));
666
+ })(E || (E = {}));
660
667
  var k;
661
668
  (function(e) {
662
669
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
663
670
  })(k || (k = {}));
664
671
  function Ve(e) {
665
- return e.type === v.literal;
672
+ return e.type === E.literal;
666
673
  }
667
- function Pr(e) {
668
- return e.type === v.argument;
674
+ function Nr(e) {
675
+ return e.type === E.argument;
669
676
  }
670
677
  function ct(e) {
671
- return e.type === v.number;
678
+ return e.type === E.number;
672
679
  }
673
680
  function mt(e) {
674
- return e.type === v.date;
681
+ return e.type === E.date;
675
682
  }
676
683
  function pt(e) {
677
- return e.type === v.time;
684
+ return e.type === E.time;
678
685
  }
679
686
  function gt(e) {
680
- return e.type === v.select;
687
+ return e.type === E.select;
681
688
  }
682
689
  function dt(e) {
683
- return e.type === v.plural;
690
+ return e.type === E.plural;
684
691
  }
685
- function Nr(e) {
686
- return e.type === v.pound;
692
+ function Ar(e) {
693
+ return e.type === E.pound;
687
694
  }
688
695
  function bt(e) {
689
- return e.type === v.tag;
696
+ return e.type === E.tag;
690
697
  }
691
698
  function xt(e) {
692
699
  return !!(e && typeof e == "object" && e.type === k.number);
@@ -694,10 +701,10 @@ function xt(e) {
694
701
  function Ae(e) {
695
702
  return !!(e && typeof e == "object" && e.type === k.dateTime);
696
703
  }
697
- var yt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Ar = /(?:[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;
698
- function Sr(e) {
704
+ var yt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Br = /(?:[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;
705
+ function wr(e) {
699
706
  var t = {};
700
- return e.replace(Ar, function(r) {
707
+ return e.replace(Br, function(r) {
701
708
  var n = r.length;
702
709
  switch (r[0]) {
703
710
  case "G":
@@ -786,32 +793,32 @@ function Sr(e) {
786
793
  return "";
787
794
  }), t;
788
795
  }
789
- var Br = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
790
- function wr(e) {
796
+ var Or = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
797
+ function Ir(e) {
791
798
  if (e.length === 0)
792
799
  throw new Error("Number skeleton cannot be empty");
793
- for (var t = e.split(Br).filter(function(f) {
794
- return f.length > 0;
800
+ for (var t = e.split(Or).filter(function(c) {
801
+ return c.length > 0;
795
802
  }), r = [], n = 0, i = t; n < i.length; n++) {
796
803
  var o = i[n], u = o.split("/");
797
804
  if (u.length === 0)
798
805
  throw new Error("Invalid number skeleton");
799
- for (var a = u[0], l = u.slice(1), s = 0, h = l; s < h.length; s++) {
800
- var c = h[s];
801
- if (c.length === 0)
806
+ for (var s = u[0], l = u.slice(1), a = 0, h = l; a < h.length; a++) {
807
+ var f = h[a];
808
+ if (f.length === 0)
802
809
  throw new Error("Invalid number skeleton");
803
810
  }
804
- r.push({ stem: a, options: l });
811
+ r.push({ stem: s, options: l });
805
812
  }
806
813
  return r;
807
814
  }
808
- function Or(e) {
815
+ function Mr(e) {
809
816
  return e.replace(/^(.*?)-/, "");
810
817
  }
811
- var Xe = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, vt = /^(@+)?(\+|#+)?[rs]?$/g, Ir = /(\*)(0+)|(#+)(0+)|(0+)/g, Et = /^(0+)$/;
818
+ var Xe = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Et = /^(@+)?(\+|#+)?[rs]?$/g, Lr = /(\*)(0+)|(#+)(0+)|(0+)/g, vt = /^(0+)$/;
812
819
  function ze(e) {
813
820
  var t = {};
814
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(vt, function(r, n, i) {
821
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Et, function(r, n, i) {
815
822
  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)), "";
816
823
  }), t;
817
824
  }
@@ -855,7 +862,7 @@ function _t(e) {
855
862
  };
856
863
  }
857
864
  }
858
- function Mr(e) {
865
+ function Cr(e) {
859
866
  var t;
860
867
  if (e[0] === "E" && e[1] === "E" ? (t = {
861
868
  notation: "engineering"
@@ -863,7 +870,7 @@ function Mr(e) {
863
870
  notation: "scientific"
864
871
  }, e = e.slice(1)), t) {
865
872
  var r = e.slice(0, 2);
866
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Et.test(e))
873
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !vt.test(e))
867
874
  throw new Error("Malformed concise eng/scientific notation");
868
875
  t.minimumIntegerDigits = e.length;
869
876
  }
@@ -873,7 +880,7 @@ function Ze(e) {
873
880
  var t = {}, r = _t(e);
874
881
  return r || t;
875
882
  }
876
- function Lr(e) {
883
+ function $r(e) {
877
884
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
878
885
  var i = n[r];
879
886
  switch (i.stem) {
@@ -897,7 +904,7 @@ function Lr(e) {
897
904
  continue;
898
905
  case "measure-unit":
899
906
  case "unit":
900
- t.style = "unit", t.unit = Or(i.options[0]);
907
+ t.style = "unit", t.unit = Mr(i.options[0]);
901
908
  continue;
902
909
  case "compact-short":
903
910
  case "K":
@@ -908,13 +915,13 @@ function Lr(e) {
908
915
  t.notation = "compact", t.compactDisplay = "long";
909
916
  continue;
910
917
  case "scientific":
911
- t = d(d(d({}, t), { notation: "scientific" }), i.options.reduce(function(l, s) {
912
- return d(d({}, l), Ze(s));
918
+ t = d(d(d({}, t), { notation: "scientific" }), i.options.reduce(function(l, a) {
919
+ return d(d({}, l), Ze(a));
913
920
  }, {}));
914
921
  continue;
915
922
  case "engineering":
916
- t = d(d(d({}, t), { notation: "engineering" }), i.options.reduce(function(l, s) {
917
- return d(d({}, l), Ze(s));
923
+ t = d(d(d({}, t), { notation: "engineering" }), i.options.reduce(function(l, a) {
924
+ return d(d({}, l), Ze(a));
918
925
  }, {}));
919
926
  continue;
920
927
  case "notation-simple":
@@ -959,11 +966,11 @@ function Lr(e) {
959
966
  case "integer-width":
960
967
  if (i.options.length > 1)
961
968
  throw new RangeError("integer-width stems only accept a single optional option");
962
- i.options[0].replace(Ir, function(l, s, h, c, f, b) {
963
- if (s)
969
+ i.options[0].replace(Lr, function(l, a, h, f, c, b) {
970
+ if (a)
964
971
  t.minimumIntegerDigits = h.length;
965
972
  else {
966
- if (c && f)
973
+ if (f && c)
967
974
  throw new Error("We currently do not support maximum integer digits");
968
975
  if (b)
969
976
  throw new Error("We currently do not support exact integer digits");
@@ -972,32 +979,32 @@ function Lr(e) {
972
979
  });
973
980
  continue;
974
981
  }
975
- if (Et.test(i.stem)) {
982
+ if (vt.test(i.stem)) {
976
983
  t.minimumIntegerDigits = i.stem.length;
977
984
  continue;
978
985
  }
979
986
  if (Xe.test(i.stem)) {
980
987
  if (i.options.length > 1)
981
988
  throw new RangeError("Fraction-precision stems only accept a single optional option");
982
- i.stem.replace(Xe, function(l, s, h, c, f, b) {
983
- return h === "*" ? t.minimumFractionDigits = s.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && b ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + b.length) : (t.minimumFractionDigits = s.length, t.maximumFractionDigits = s.length), "";
989
+ i.stem.replace(Xe, function(l, a, h, f, c, b) {
990
+ return h === "*" ? t.minimumFractionDigits = a.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && b ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + b.length) : (t.minimumFractionDigits = a.length, t.maximumFractionDigits = a.length), "";
984
991
  });
985
992
  var o = i.options[0];
986
993
  o === "w" ? t = d(d({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = d(d({}, t), ze(o)));
987
994
  continue;
988
995
  }
989
- if (vt.test(i.stem)) {
996
+ if (Et.test(i.stem)) {
990
997
  t = d(d({}, t), ze(i.stem));
991
998
  continue;
992
999
  }
993
1000
  var u = _t(i.stem);
994
1001
  u && (t = d(d({}, t), u));
995
- var a = Mr(i.stem);
996
- a && (t = d(d({}, t), a));
1002
+ var s = Cr(i.stem);
1003
+ s && (t = d(d({}, t), s));
997
1004
  }
998
1005
  return t;
999
1006
  }
1000
- var re = {
1007
+ var ne = {
1001
1008
  "001": [
1002
1009
  "H",
1003
1010
  "h"
@@ -2412,22 +2419,22 @@ var re = {
2412
2419
  "h"
2413
2420
  ]
2414
2421
  };
2415
- function Cr(e, t) {
2422
+ function Rr(e, t) {
2416
2423
  for (var r = "", n = 0; n < e.length; n++) {
2417
2424
  var i = e.charAt(n);
2418
2425
  if (i === "j") {
2419
2426
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2420
2427
  o++, n++;
2421
- var u = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", s = $r(t);
2422
- for ((s == "H" || s == "k") && (a = 0); a-- > 0; )
2428
+ var u = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", a = Fr(t);
2429
+ for ((a == "H" || a == "k") && (s = 0); s-- > 0; )
2423
2430
  r += l;
2424
2431
  for (; u-- > 0; )
2425
- r = s + r;
2432
+ r = a + r;
2426
2433
  } else i === "J" ? r += "H" : r += i;
2427
2434
  }
2428
2435
  return r;
2429
2436
  }
2430
- function $r(e) {
2437
+ function Fr(e) {
2431
2438
  var t = e.hourCycle;
2432
2439
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2433
2440
  e.hourCycles && // @ts-ignore
@@ -2446,23 +2453,23 @@ function $r(e) {
2446
2453
  }
2447
2454
  var r = e.language, n;
2448
2455
  r !== "root" && (n = e.maximize().region);
2449
- var i = re[n || ""] || re[r || ""] || re["".concat(r, "-001")] || re["001"];
2456
+ var i = ne[n || ""] || ne[r || ""] || ne["".concat(r, "-001")] || ne["001"];
2450
2457
  return i[0];
2451
2458
  }
2452
- var ve, Rr = new RegExp("^".concat(yt.source, "*")), Fr = new RegExp("".concat(yt.source, "*$"));
2459
+ var ve, Gr = new RegExp("^".concat(yt.source, "*")), Dr = new RegExp("".concat(yt.source, "*$"));
2453
2460
  function g(e, t) {
2454
2461
  return { start: e, end: t };
2455
2462
  }
2456
- var Gr = !!String.prototype.startsWith && "_a".startsWith("a", 1), Dr = !!String.fromCodePoint, Ur = !!Object.fromEntries, jr = !!String.prototype.codePointAt, kr = !!String.prototype.trimStart, Vr = !!String.prototype.trimEnd, Xr = !!Number.isSafeInteger, zr = Xr ? Number.isSafeInteger : function(e) {
2463
+ var Ur = !!String.prototype.startsWith && "_a".startsWith("a", 1), jr = !!String.fromCodePoint, kr = !!Object.fromEntries, Vr = !!String.prototype.codePointAt, Xr = !!String.prototype.trimStart, zr = !!String.prototype.trimEnd, Zr = !!Number.isSafeInteger, Wr = Zr ? Number.isSafeInteger : function(e) {
2457
2464
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2458
- }, Se = !0;
2465
+ }, Be = !0;
2459
2466
  try {
2460
- var Zr = Tt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2461
- Se = ((ve = Zr.exec("a")) === null || ve === void 0 ? void 0 : ve[0]) === "a";
2467
+ var Qr = Tt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2468
+ Be = ((ve = Qr.exec("a")) === null || ve === void 0 ? void 0 : ve[0]) === "a";
2462
2469
  } catch {
2463
- Se = !1;
2470
+ Be = !1;
2464
2471
  }
2465
- var We = Gr ? (
2472
+ var We = Ur ? (
2466
2473
  // Native
2467
2474
  function(t, r, n) {
2468
2475
  return t.startsWith(r, n);
@@ -2472,7 +2479,7 @@ var We = Gr ? (
2472
2479
  function(t, r, n) {
2473
2480
  return t.slice(n, n + r.length) === r;
2474
2481
  }
2475
- ), Be = Dr ? String.fromCodePoint : (
2482
+ ), we = jr ? String.fromCodePoint : (
2476
2483
  // IE11
2477
2484
  function() {
2478
2485
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2486,17 +2493,17 @@ var We = Gr ? (
2486
2493
  }
2487
2494
  ), Qe = (
2488
2495
  // native
2489
- Ur ? Object.fromEntries : (
2496
+ kr ? Object.fromEntries : (
2490
2497
  // Ponyfill
2491
2498
  function(t) {
2492
2499
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
2493
- var o = i[n], u = o[0], a = o[1];
2494
- r[u] = a;
2500
+ var o = i[n], u = o[0], s = o[1];
2501
+ r[u] = s;
2495
2502
  }
2496
2503
  return r;
2497
2504
  }
2498
2505
  )
2499
- ), Ht = jr ? (
2506
+ ), Ht = Vr ? (
2500
2507
  // Native
2501
2508
  function(t, r) {
2502
2509
  return t.codePointAt(r);
@@ -2510,7 +2517,7 @@ var We = Gr ? (
2510
2517
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
2511
2518
  }
2512
2519
  }
2513
- ), Wr = kr ? (
2520
+ ), qr = Xr ? (
2514
2521
  // Native
2515
2522
  function(t) {
2516
2523
  return t.trimStart();
@@ -2518,9 +2525,9 @@ var We = Gr ? (
2518
2525
  ) : (
2519
2526
  // Ponyfill
2520
2527
  function(t) {
2521
- return t.replace(Rr, "");
2528
+ return t.replace(Gr, "");
2522
2529
  }
2523
- ), Qr = Vr ? (
2530
+ ), Jr = zr ? (
2524
2531
  // Native
2525
2532
  function(t) {
2526
2533
  return t.trimEnd();
@@ -2528,32 +2535,32 @@ var We = Gr ? (
2528
2535
  ) : (
2529
2536
  // Ponyfill
2530
2537
  function(t) {
2531
- return t.replace(Fr, "");
2538
+ return t.replace(Dr, "");
2532
2539
  }
2533
2540
  );
2534
2541
  function Tt(e, t) {
2535
2542
  return new RegExp(e, t);
2536
2543
  }
2537
- var we;
2538
- if (Se) {
2544
+ var Oe;
2545
+ if (Be) {
2539
2546
  var qe = Tt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2540
- we = function(t, r) {
2547
+ Oe = function(t, r) {
2541
2548
  var n;
2542
2549
  qe.lastIndex = r;
2543
2550
  var i = qe.exec(t);
2544
2551
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2545
2552
  };
2546
2553
  } else
2547
- we = function(t, r) {
2554
+ Oe = function(t, r) {
2548
2555
  for (var n = []; ; ) {
2549
2556
  var i = Ht(t, r);
2550
- if (i === void 0 || Pt(i) || Kr(i))
2557
+ if (i === void 0 || Pt(i) || tn(i))
2551
2558
  break;
2552
2559
  n.push(i), r += i >= 65536 ? 2 : 1;
2553
2560
  }
2554
- return Be.apply(void 0, n);
2561
+ return we.apply(void 0, n);
2555
2562
  };
2556
- var qr = (
2563
+ var Yr = (
2557
2564
  /** @class */
2558
2565
  function() {
2559
2566
  function e(t, r) {
@@ -2575,16 +2582,16 @@ var qr = (
2575
2582
  if (o === 125 && t > 0)
2576
2583
  break;
2577
2584
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
2578
- var a = this.clonePosition();
2585
+ var s = this.clonePosition();
2579
2586
  this.bump(), i.push({
2580
- type: v.pound,
2581
- location: g(a, this.clonePosition())
2587
+ type: E.pound,
2588
+ location: g(s, this.clonePosition())
2582
2589
  });
2583
2590
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
2584
2591
  if (n)
2585
2592
  break;
2586
2593
  return this.error(p.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
2587
- } else if (o === 60 && !this.ignoreTag && Oe(this.peek() || 0)) {
2594
+ } else if (o === 60 && !this.ignoreTag && Ie(this.peek() || 0)) {
2588
2595
  var u = this.parseTag(t, r);
2589
2596
  if (u.err)
2590
2597
  return u;
@@ -2605,7 +2612,7 @@ var qr = (
2605
2612
  if (this.bumpSpace(), this.bumpIf("/>"))
2606
2613
  return {
2607
2614
  val: {
2608
- type: v.literal,
2615
+ type: E.literal,
2609
2616
  value: "<".concat(i, "/>"),
2610
2617
  location: g(n, this.clonePosition())
2611
2618
  },
@@ -2615,27 +2622,27 @@ var qr = (
2615
2622
  var o = this.parseMessage(t + 1, r, !0);
2616
2623
  if (o.err)
2617
2624
  return o;
2618
- var u = o.val, a = this.clonePosition();
2625
+ var u = o.val, s = this.clonePosition();
2619
2626
  if (this.bumpIf("</")) {
2620
- if (this.isEOF() || !Oe(this.char()))
2621
- return this.error(p.INVALID_TAG, g(a, this.clonePosition()));
2622
- var l = this.clonePosition(), s = this.parseTagName();
2623
- return i !== s ? this.error(p.UNMATCHED_CLOSING_TAG, g(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2627
+ if (this.isEOF() || !Ie(this.char()))
2628
+ return this.error(p.INVALID_TAG, g(s, this.clonePosition()));
2629
+ var l = this.clonePosition(), a = this.parseTagName();
2630
+ return i !== a ? this.error(p.UNMATCHED_CLOSING_TAG, g(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2624
2631
  val: {
2625
- type: v.tag,
2632
+ type: E.tag,
2626
2633
  value: i,
2627
2634
  children: u,
2628
2635
  location: g(n, this.clonePosition())
2629
2636
  },
2630
2637
  err: null
2631
- } : this.error(p.INVALID_TAG, g(a, this.clonePosition())));
2638
+ } : this.error(p.INVALID_TAG, g(s, this.clonePosition())));
2632
2639
  } else
2633
2640
  return this.error(p.UNCLOSED_TAG, g(n, this.clonePosition()));
2634
2641
  } else
2635
2642
  return this.error(p.INVALID_TAG, g(n, this.clonePosition()));
2636
2643
  }, e.prototype.parseTagName = function() {
2637
2644
  var t = this.offset();
2638
- for (this.bump(); !this.isEOF() && Yr(this.char()); )
2645
+ for (this.bump(); !this.isEOF() && en(this.char()); )
2639
2646
  this.bump();
2640
2647
  return this.message.slice(t, this.offset());
2641
2648
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2650,21 +2657,21 @@ var qr = (
2650
2657
  i += u;
2651
2658
  continue;
2652
2659
  }
2653
- var a = this.tryParseLeftAngleBracket();
2654
- if (a) {
2655
- i += a;
2660
+ var s = this.tryParseLeftAngleBracket();
2661
+ if (s) {
2662
+ i += s;
2656
2663
  continue;
2657
2664
  }
2658
2665
  break;
2659
2666
  }
2660
2667
  var l = g(n, this.clonePosition());
2661
2668
  return {
2662
- val: { type: v.literal, value: i, location: l },
2669
+ val: { type: E.literal, value: i, location: l },
2663
2670
  err: null
2664
2671
  };
2665
2672
  }, e.prototype.tryParseLeftAngleBracket = function() {
2666
2673
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2667
- !Jr(this.peek() || 0)) ? (this.bump(), "<") : null;
2674
+ !Kr(this.peek() || 0)) ? (this.bump(), "<") : null;
2668
2675
  }, e.prototype.tryParseQuote = function(t) {
2669
2676
  if (this.isEOF() || this.char() !== 39)
2670
2677
  return null;
@@ -2698,12 +2705,12 @@ var qr = (
2698
2705
  r.push(n);
2699
2706
  this.bump();
2700
2707
  }
2701
- return Be.apply(void 0, r);
2708
+ return we.apply(void 0, r);
2702
2709
  }, e.prototype.tryParseUnquoted = function(t, r) {
2703
2710
  if (this.isEOF())
2704
2711
  return null;
2705
2712
  var n = this.char();
2706
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Be(n));
2713
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), we(n));
2707
2714
  }, e.prototype.parseArgument = function(t, r) {
2708
2715
  var n = this.clonePosition();
2709
2716
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -2719,7 +2726,7 @@ var qr = (
2719
2726
  case 125:
2720
2727
  return this.bump(), {
2721
2728
  val: {
2722
- type: v.argument,
2729
+ type: E.argument,
2723
2730
  // value does not include the opening and closing braces.
2724
2731
  value: i,
2725
2732
  location: g(n, this.clonePosition())
@@ -2732,66 +2739,66 @@ var qr = (
2732
2739
  return this.error(p.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
2733
2740
  }
2734
2741
  }, e.prototype.parseIdentifierIfPossible = function() {
2735
- var t = this.clonePosition(), r = this.offset(), n = we(this.message, r), i = r + n.length;
2742
+ var t = this.clonePosition(), r = this.offset(), n = Oe(this.message, r), i = r + n.length;
2736
2743
  this.bumpTo(i);
2737
2744
  var o = this.clonePosition(), u = g(t, o);
2738
2745
  return { value: n, location: u };
2739
2746
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
2740
- var o, u = this.clonePosition(), a = this.parseIdentifierIfPossible().value, l = this.clonePosition();
2741
- switch (a) {
2747
+ var o, u = this.clonePosition(), s = this.parseIdentifierIfPossible().value, l = this.clonePosition();
2748
+ switch (s) {
2742
2749
  case "":
2743
2750
  return this.error(p.EXPECT_ARGUMENT_TYPE, g(u, l));
2744
2751
  case "number":
2745
2752
  case "date":
2746
2753
  case "time": {
2747
2754
  this.bumpSpace();
2748
- var s = null;
2755
+ var a = null;
2749
2756
  if (this.bumpIf(",")) {
2750
2757
  this.bumpSpace();
2751
- var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
2752
- if (c.err)
2753
- return c;
2754
- var f = Qr(c.val);
2755
- if (f.length === 0)
2758
+ var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
2759
+ if (f.err)
2760
+ return f;
2761
+ var c = Jr(f.val);
2762
+ if (c.length === 0)
2756
2763
  return this.error(p.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
2757
2764
  var b = g(h, this.clonePosition());
2758
- s = { style: f, styleLocation: b };
2765
+ a = { style: c, styleLocation: b };
2759
2766
  }
2760
2767
  var y = this.tryParseArgumentClose(i);
2761
2768
  if (y.err)
2762
2769
  return y;
2763
- var _ = g(i, this.clonePosition());
2764
- if (s && We(s?.style, "::", 0)) {
2765
- var m = Wr(s.style.slice(2));
2766
- if (a === "number") {
2767
- var c = this.parseNumberSkeletonFromString(m, s.styleLocation);
2768
- return c.err ? c : {
2769
- val: { type: v.number, value: n, location: _, style: c.val },
2770
+ var m = g(i, this.clonePosition());
2771
+ if (a && We(a?.style, "::", 0)) {
2772
+ var v = qr(a.style.slice(2));
2773
+ if (s === "number") {
2774
+ var f = this.parseNumberSkeletonFromString(v, a.styleLocation);
2775
+ return f.err ? f : {
2776
+ val: { type: E.number, value: n, location: m, style: f.val },
2770
2777
  err: null
2771
2778
  };
2772
2779
  } else {
2773
- if (m.length === 0)
2774
- return this.error(p.EXPECT_DATE_TIME_SKELETON, _);
2775
- var E = m;
2776
- this.locale && (E = Cr(m, this.locale));
2777
- var f = {
2780
+ if (v.length === 0)
2781
+ return this.error(p.EXPECT_DATE_TIME_SKELETON, m);
2782
+ var T = v;
2783
+ this.locale && (T = Rr(v, this.locale));
2784
+ var c = {
2778
2785
  type: k.dateTime,
2779
- pattern: E,
2780
- location: s.styleLocation,
2781
- parsedOptions: this.shouldParseSkeletons ? Sr(E) : {}
2782
- }, T = a === "date" ? v.date : v.time;
2786
+ pattern: T,
2787
+ location: a.styleLocation,
2788
+ parsedOptions: this.shouldParseSkeletons ? wr(T) : {}
2789
+ }, B = s === "date" ? E.date : E.time;
2783
2790
  return {
2784
- val: { type: T, value: n, location: _, style: f },
2791
+ val: { type: B, value: n, location: m, style: c },
2785
2792
  err: null
2786
2793
  };
2787
2794
  }
2788
2795
  }
2789
2796
  return {
2790
2797
  val: {
2791
- type: a === "number" ? v.number : a === "date" ? v.date : v.time,
2798
+ type: s === "number" ? E.number : s === "date" ? E.date : E.time,
2792
2799
  value: n,
2793
- location: _,
2794
- style: (o = s?.style) !== null && o !== void 0 ? o : null
2800
+ location: m,
2801
+ style: (o = a?.style) !== null && o !== void 0 ? o : null
2795
2802
  },
2796
2803
  err: null
2797
2804
  };
@@ -2799,43 +2806,43 @@ var qr = (
2799
2806
  case "plural":
2800
2807
  case "selectordinal":
2801
2808
  case "select": {
2802
- var N = this.clonePosition();
2809
+ var P = this.clonePosition();
2803
2810
  if (this.bumpSpace(), !this.bumpIf(","))
2804
- return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, g(N, d({}, N)));
2811
+ return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, g(P, d({}, P)));
2805
2812
  this.bumpSpace();
2806
- var S = this.parseIdentifierIfPossible(), A = 0;
2807
- if (a !== "select" && S.value === "offset") {
2813
+ var N = this.parseIdentifierIfPossible(), S = 0;
2814
+ if (s !== "select" && N.value === "offset") {
2808
2815
  if (!this.bumpIf(":"))
2809
2816
  return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g(this.clonePosition(), this.clonePosition()));
2810
2817
  this.bumpSpace();
2811
- var c = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, p.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2812
- if (c.err)
2813
- return c;
2814
- this.bumpSpace(), S = this.parseIdentifierIfPossible(), A = c.val;
2818
+ var f = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, p.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2819
+ if (f.err)
2820
+ return f;
2821
+ this.bumpSpace(), N = this.parseIdentifierIfPossible(), S = f.val;
2815
2822
  }
2816
- var w = this.tryParsePluralOrSelectOptions(t, a, r, S);
2823
+ var w = this.tryParsePluralOrSelectOptions(t, s, r, N);
2817
2824
  if (w.err)
2818
2825
  return w;
2819
2826
  var y = this.tryParseArgumentClose(i);
2820
2827
  if (y.err)
2821
2828
  return y;
2822
- var $ = g(i, this.clonePosition());
2823
- return a === "select" ? {
2829
+ var R = g(i, this.clonePosition());
2830
+ return s === "select" ? {
2824
2831
  val: {
2825
- type: v.select,
2832
+ type: E.select,
2826
2833
  value: n,
2827
2834
  options: Qe(w.val),
2828
- location: $
2835
+ location: R
2829
2836
  },
2830
2837
  err: null
2831
2838
  } : {
2832
2839
  val: {
2833
- type: v.plural,
2840
+ type: E.plural,
2834
2841
  value: n,
2835
2842
  options: Qe(w.val),
2836
- offset: A,
2837
- pluralType: a === "plural" ? "cardinal" : "ordinal",
2838
- location: $
2843
+ offset: S,
2844
+ pluralType: s === "plural" ? "cardinal" : "ordinal",
2845
+ location: R
2839
2846
  },
2840
2847
  err: null
2841
2848
  };
@@ -2883,7 +2890,7 @@ var qr = (
2883
2890
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2884
2891
  var n = [];
2885
2892
  try {
2886
- n = wr(t);
2893
+ n = Ir(t);
2887
2894
  } catch {
2888
2895
  return this.error(p.INVALID_NUMBER_SKELETON, r);
2889
2896
  }
@@ -2892,55 +2899,55 @@ var qr = (
2892
2899
  type: k.number,
2893
2900
  tokens: n,
2894
2901
  location: r,
2895
- parsedOptions: this.shouldParseSkeletons ? Lr(n) : {}
2902
+ parsedOptions: this.shouldParseSkeletons ? $r(n) : {}
2896
2903
  },
2897
2904
  err: null
2898
2905
  };
2899
2906
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
2900
- for (var o, u = !1, a = [], l = /* @__PURE__ */ new Set(), s = i.value, h = i.location; ; ) {
2901
- if (s.length === 0) {
2902
- var c = this.clonePosition();
2907
+ for (var o, u = !1, s = [], l = /* @__PURE__ */ new Set(), a = i.value, h = i.location; ; ) {
2908
+ if (a.length === 0) {
2909
+ var f = this.clonePosition();
2903
2910
  if (r !== "select" && this.bumpIf("=")) {
2904
- var f = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_SELECTOR, p.INVALID_PLURAL_ARGUMENT_SELECTOR);
2905
- if (f.err)
2906
- return f;
2907
- h = g(c, this.clonePosition()), s = this.message.slice(c.offset, this.offset());
2911
+ var c = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_SELECTOR, p.INVALID_PLURAL_ARGUMENT_SELECTOR);
2912
+ if (c.err)
2913
+ return c;
2914
+ h = g(f, this.clonePosition()), a = this.message.slice(f.offset, this.offset());
2908
2915
  } else
2909
2916
  break;
2910
2917
  }
2911
- if (l.has(s))
2918
+ if (l.has(a))
2912
2919
  return this.error(r === "select" ? p.DUPLICATE_SELECT_ARGUMENT_SELECTOR : p.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
2913
- s === "other" && (u = !0), this.bumpSpace();
2920
+ a === "other" && (u = !0), this.bumpSpace();
2914
2921
  var b = this.clonePosition();
2915
2922
  if (!this.bumpIf("{"))
2916
2923
  return this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : p.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, g(this.clonePosition(), this.clonePosition()));
2917
2924
  var y = this.parseMessage(t + 1, r, n);
2918
2925
  if (y.err)
2919
2926
  return y;
2920
- var _ = this.tryParseArgumentClose(b);
2921
- if (_.err)
2922
- return _;
2923
- a.push([
2924
- s,
2927
+ var m = this.tryParseArgumentClose(b);
2928
+ if (m.err)
2929
+ return m;
2930
+ s.push([
2931
+ a,
2925
2932
  {
2926
2933
  value: y.val,
2927
2934
  location: g(b, this.clonePosition())
2928
2935
  }
2929
- ]), l.add(s), this.bumpSpace(), o = this.parseIdentifierIfPossible(), s = o.value, h = o.location;
2936
+ ]), l.add(a), this.bumpSpace(), o = this.parseIdentifierIfPossible(), a = o.value, h = o.location;
2930
2937
  }
2931
- return a.length === 0 ? this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR : p.EXPECT_PLURAL_ARGUMENT_SELECTOR, g(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !u ? this.error(p.MISSING_OTHER_CLAUSE, g(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
2938
+ return s.length === 0 ? this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR : p.EXPECT_PLURAL_ARGUMENT_SELECTOR, g(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !u ? this.error(p.MISSING_OTHER_CLAUSE, g(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
2932
2939
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
2933
2940
  var n = 1, i = this.clonePosition();
2934
2941
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
2935
2942
  for (var o = !1, u = 0; !this.isEOF(); ) {
2936
- var a = this.char();
2937
- if (a >= 48 && a <= 57)
2938
- o = !0, u = u * 10 + (a - 48), this.bump();
2943
+ var s = this.char();
2944
+ if (s >= 48 && s <= 57)
2945
+ o = !0, u = u * 10 + (s - 48), this.bump();
2939
2946
  else
2940
2947
  break;
2941
2948
  }
2942
2949
  var l = g(i, this.clonePosition());
2943
- return o ? (u *= n, zr(u) ? { val: u, err: null } : this.error(r, l)) : this.error(t, l);
2950
+ return o ? (u *= n, Wr(u) ? { val: u, err: null } : this.error(r, l)) : this.error(t, l);
2944
2951
  }, e.prototype.offset = function() {
2945
2952
  return this.position.offset;
2946
2953
  }, e.prototype.isEOF = function() {
@@ -3006,46 +3013,46 @@ var qr = (
3006
3013
  }, e;
3007
3014
  }()
3008
3015
  );
3009
- function Oe(e) {
3016
+ function Ie(e) {
3010
3017
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3011
3018
  }
3012
- function Jr(e) {
3013
- return Oe(e) || e === 47;
3019
+ function Kr(e) {
3020
+ return Ie(e) || e === 47;
3014
3021
  }
3015
- function Yr(e) {
3022
+ function en(e) {
3016
3023
  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;
3017
3024
  }
3018
3025
  function Pt(e) {
3019
3026
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3020
3027
  }
3021
- function Kr(e) {
3028
+ function tn(e) {
3022
3029
  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;
3023
3030
  }
3024
- function Ie(e) {
3031
+ function Me(e) {
3025
3032
  e.forEach(function(t) {
3026
3033
  if (delete t.location, gt(t) || dt(t))
3027
3034
  for (var r in t.options)
3028
- delete t.options[r].location, Ie(t.options[r].value);
3029
- else ct(t) && xt(t.style) || (mt(t) || pt(t)) && Ae(t.style) ? delete t.style.location : bt(t) && Ie(t.children);
3035
+ delete t.options[r].location, Me(t.options[r].value);
3036
+ else ct(t) && xt(t.style) || (mt(t) || pt(t)) && Ae(t.style) ? delete t.style.location : bt(t) && Me(t.children);
3030
3037
  });
3031
3038
  }
3032
- function en(e, t) {
3039
+ function rn(e, t) {
3033
3040
  t === void 0 && (t = {}), t = d({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3034
- var r = new qr(e, t).parse();
3041
+ var r = new Yr(e, t).parse();
3035
3042
  if (r.err) {
3036
3043
  var n = SyntaxError(p[r.err.kind]);
3037
3044
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3038
3045
  }
3039
- return t?.captureLocation || Ie(r.val), r.val;
3046
+ return t?.captureLocation || Me(r.val), r.val;
3040
3047
  }
3041
3048
  var V;
3042
3049
  (function(e) {
3043
3050
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3044
3051
  })(V || (V = {}));
3045
- var fe = (
3052
+ var ce = (
3046
3053
  /** @class */
3047
3054
  function(e) {
3048
- le(t, e);
3055
+ fe(t, e);
3049
3056
  function t(r, n, i) {
3050
3057
  var o = e.call(this, r) || this;
3051
3058
  return o.code = n, o.originalMessage = i, o;
@@ -3057,152 +3064,152 @@ var fe = (
3057
3064
  ), Je = (
3058
3065
  /** @class */
3059
3066
  function(e) {
3060
- le(t, e);
3067
+ fe(t, e);
3061
3068
  function t(r, n, i, o) {
3062
3069
  return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), V.INVALID_VALUE, o) || this;
3063
3070
  }
3064
3071
  return t;
3065
- }(fe)
3066
- ), tn = (
3072
+ }(ce)
3073
+ ), nn = (
3067
3074
  /** @class */
3068
3075
  function(e) {
3069
- le(t, e);
3076
+ fe(t, e);
3070
3077
  function t(r, n, i) {
3071
3078
  return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), V.INVALID_VALUE, i) || this;
3072
3079
  }
3073
3080
  return t;
3074
- }(fe)
3075
- ), rn = (
3081
+ }(ce)
3082
+ ), on = (
3076
3083
  /** @class */
3077
3084
  function(e) {
3078
- le(t, e);
3085
+ fe(t, e);
3079
3086
  function t(r, n) {
3080
3087
  return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), V.MISSING_VALUE, n) || this;
3081
3088
  }
3082
3089
  return t;
3083
- }(fe)
3084
- ), P;
3090
+ }(ce)
3091
+ ), H;
3085
3092
  (function(e) {
3086
3093
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3087
- })(P || (P = {}));
3088
- function nn(e) {
3094
+ })(H || (H = {}));
3095
+ function an(e) {
3089
3096
  return e.length < 2 ? e : e.reduce(function(t, r) {
3090
3097
  var n = t[t.length - 1];
3091
- return !n || n.type !== P.literal || r.type !== P.literal ? t.push(r) : n.value += r.value, t;
3098
+ return !n || n.type !== H.literal || r.type !== H.literal ? t.push(r) : n.value += r.value, t;
3092
3099
  }, []);
3093
3100
  }
3094
- function on(e) {
3101
+ function sn(e) {
3095
3102
  return typeof e == "function";
3096
3103
  }
3097
- function oe(e, t, r, n, i, o, u) {
3104
+ function ae(e, t, r, n, i, o, u) {
3098
3105
  if (e.length === 1 && Ve(e[0]))
3099
3106
  return [
3100
3107
  {
3101
- type: P.literal,
3108
+ type: H.literal,
3102
3109
  value: e[0].value
3103
3110
  }
3104
3111
  ];
3105
- for (var a = [], l = 0, s = e; l < s.length; l++) {
3106
- var h = s[l];
3112
+ for (var s = [], l = 0, a = e; l < a.length; l++) {
3113
+ var h = a[l];
3107
3114
  if (Ve(h)) {
3108
- a.push({
3109
- type: P.literal,
3115
+ s.push({
3116
+ type: H.literal,
3110
3117
  value: h.value
3111
3118
  });
3112
3119
  continue;
3113
3120
  }
3114
- if (Nr(h)) {
3115
- typeof o == "number" && a.push({
3116
- type: P.literal,
3121
+ if (Ar(h)) {
3122
+ typeof o == "number" && s.push({
3123
+ type: H.literal,
3117
3124
  value: r.getNumberFormat(t).format(o)
3118
3125
  });
3119
3126
  continue;
3120
3127
  }
3121
- var c = h.value;
3122
- if (!(i && c in i))
3123
- throw new rn(c, u);
3124
- var f = i[c];
3125
- if (Pr(h)) {
3126
- (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3127
- type: typeof f == "string" ? P.literal : P.object,
3128
- value: f
3128
+ var f = h.value;
3129
+ if (!(i && f in i))
3130
+ throw new on(f, u);
3131
+ var c = i[f];
3132
+ if (Nr(h)) {
3133
+ (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), s.push({
3134
+ type: typeof c == "string" ? H.literal : H.object,
3135
+ value: c
3129
3136
  });
3130
3137
  continue;
3131
3138
  }
3132
3139
  if (mt(h)) {
3133
3140
  var b = typeof h.style == "string" ? n.date[h.style] : Ae(h.style) ? h.style.parsedOptions : void 0;
3134
- a.push({
3135
- type: P.literal,
3136
- value: r.getDateTimeFormat(t, b).format(f)
3141
+ s.push({
3142
+ type: H.literal,
3143
+ value: r.getDateTimeFormat(t, b).format(c)
3137
3144
  });
3138
3145
  continue;
3139
3146
  }
3140
3147
  if (pt(h)) {
3141
3148
  var b = typeof h.style == "string" ? n.time[h.style] : Ae(h.style) ? h.style.parsedOptions : n.time.medium;
3142
- a.push({
3143
- type: P.literal,
3144
- value: r.getDateTimeFormat(t, b).format(f)
3149
+ s.push({
3150
+ type: H.literal,
3151
+ value: r.getDateTimeFormat(t, b).format(c)
3145
3152
  });
3146
3153
  continue;
3147
3154
  }
3148
3155
  if (ct(h)) {
3149
3156
  var b = typeof h.style == "string" ? n.number[h.style] : xt(h.style) ? h.style.parsedOptions : void 0;
3150
- b && b.scale && (f = f * (b.scale || 1)), a.push({
3151
- type: P.literal,
3152
- value: r.getNumberFormat(t, b).format(f)
3157
+ b && b.scale && (c = c * (b.scale || 1)), s.push({
3158
+ type: H.literal,
3159
+ value: r.getNumberFormat(t, b).format(c)
3153
3160
  });
3154
3161
  continue;
3155
3162
  }
3156
3163
  if (bt(h)) {
3157
- var y = h.children, _ = h.value, m = i[_];
3158
- if (!on(m))
3159
- throw new tn(_, "function", u);
3160
- var E = oe(y, t, r, n, i, o), T = m(E.map(function(A) {
3161
- return A.value;
3164
+ var y = h.children, m = h.value, v = i[m];
3165
+ if (!sn(v))
3166
+ throw new nn(m, "function", u);
3167
+ var T = ae(y, t, r, n, i, o), B = v(T.map(function(S) {
3168
+ return S.value;
3162
3169
  }));
3163
- Array.isArray(T) || (T = [T]), a.push.apply(a, T.map(function(A) {
3170
+ Array.isArray(B) || (B = [B]), s.push.apply(s, B.map(function(S) {
3164
3171
  return {
3165
- type: typeof A == "string" ? P.literal : P.object,
3166
- value: A
3172
+ type: typeof S == "string" ? H.literal : H.object,
3173
+ value: S
3167
3174
  };
3168
3175
  }));
3169
3176
  }
3170
3177
  if (gt(h)) {
3171
- var N = h.options[f] || h.options.other;
3172
- if (!N)
3173
- throw new Je(h.value, f, Object.keys(h.options), u);
3174
- a.push.apply(a, oe(N.value, t, r, n, i));
3178
+ var P = h.options[c] || h.options.other;
3179
+ if (!P)
3180
+ throw new Je(h.value, c, Object.keys(h.options), u);
3181
+ s.push.apply(s, ae(P.value, t, r, n, i));
3175
3182
  continue;
3176
3183
  }
3177
3184
  if (dt(h)) {
3178
- var N = h.options["=".concat(f)];
3179
- if (!N) {
3185
+ var P = h.options["=".concat(c)];
3186
+ if (!P) {
3180
3187
  if (!Intl.PluralRules)
3181
- throw new fe(`Intl.PluralRules is not available in this environment.
3188
+ throw new ce(`Intl.PluralRules is not available in this environment.
3182
3189
  Try polyfilling it using "@formatjs/intl-pluralrules"
3183
3190
  `, V.MISSING_INTL_API, u);
3184
- var S = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3185
- N = h.options[S] || h.options.other;
3191
+ var N = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
3192
+ P = h.options[N] || h.options.other;
3186
3193
  }
3187
- if (!N)
3188
- throw new Je(h.value, f, Object.keys(h.options), u);
3189
- a.push.apply(a, oe(N.value, t, r, n, i, f - (h.offset || 0)));
3194
+ if (!P)
3195
+ throw new Je(h.value, c, Object.keys(h.options), u);
3196
+ s.push.apply(s, ae(P.value, t, r, n, i, c - (h.offset || 0)));
3190
3197
  continue;
3191
3198
  }
3192
3199
  }
3193
- return nn(a);
3200
+ return an(s);
3194
3201
  }
3195
- function an(e, t) {
3202
+ function un(e, t) {
3196
3203
  return t ? d(d(d({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3197
3204
  return r[n] = d(d({}, e[n]), t[n] || {}), r;
3198
3205
  }, {})) : e;
3199
3206
  }
3200
- function sn(e, t) {
3207
+ function hn(e, t) {
3201
3208
  return t ? Object.keys(e).reduce(function(r, n) {
3202
- return r[n] = an(e[n], t[n]), r;
3209
+ return r[n] = un(e[n], t[n]), r;
3203
3210
  }, d({}, e)) : e;
3204
3211
  }
3205
- function Ee(e) {
3212
+ function _e(e) {
3206
3213
  return {
3207
3214
  create: function() {
3208
3215
  return {
@@ -3216,39 +3223,39 @@ function Ee(e) {
3216
3223
  }
3217
3224
  };
3218
3225
  }
3219
- function un(e) {
3226
+ function ln(e) {
3220
3227
  return e === void 0 && (e = {
3221
3228
  number: {},
3222
3229
  dateTime: {},
3223
3230
  pluralRules: {}
3224
3231
  }), {
3225
- getNumberFormat: xe(function() {
3232
+ getNumberFormat: ye(function() {
3226
3233
  for (var t, r = [], n = 0; n < arguments.length; n++)
3227
3234
  r[n] = arguments[n];
3228
- return new ((t = Intl.NumberFormat).bind.apply(t, be([void 0], r, !1)))();
3235
+ return new ((t = Intl.NumberFormat).bind.apply(t, xe([void 0], r, !1)))();
3229
3236
  }, {
3230
- cache: Ee(e.number),
3231
- strategy: ye.variadic
3237
+ cache: _e(e.number),
3238
+ strategy: Ee.variadic
3232
3239
  }),
3233
- getDateTimeFormat: xe(function() {
3240
+ getDateTimeFormat: ye(function() {
3234
3241
  for (var t, r = [], n = 0; n < arguments.length; n++)
3235
3242
  r[n] = arguments[n];
3236
- return new ((t = Intl.DateTimeFormat).bind.apply(t, be([void 0], r, !1)))();
3243
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, xe([void 0], r, !1)))();
3237
3244
  }, {
3238
- cache: Ee(e.dateTime),
3239
- strategy: ye.variadic
3245
+ cache: _e(e.dateTime),
3246
+ strategy: Ee.variadic
3240
3247
  }),
3241
- getPluralRules: xe(function() {
3248
+ getPluralRules: ye(function() {
3242
3249
  for (var t, r = [], n = 0; n < arguments.length; n++)
3243
3250
  r[n] = arguments[n];
3244
- return new ((t = Intl.PluralRules).bind.apply(t, be([void 0], r, !1)))();
3251
+ return new ((t = Intl.PluralRules).bind.apply(t, xe([void 0], r, !1)))();
3245
3252
  }, {
3246
- cache: Ee(e.pluralRules),
3247
- strategy: ye.variadic
3253
+ cache: _e(e.pluralRules),
3254
+ strategy: Ee.variadic
3248
3255
  })
3249
3256
  };
3250
3257
  }
3251
- var hn = (
3258
+ var fn = (
3252
3259
  /** @class */
3253
3260
  function() {
3254
3261
  function e(t, r, n, i) {
@@ -3259,15 +3266,15 @@ var hn = (
3259
3266
  dateTime: {},
3260
3267
  pluralRules: {}
3261
3268
  }, this.format = function(l) {
3262
- var s = o.formatToParts(l);
3263
- if (s.length === 1)
3264
- return s[0].value;
3265
- var h = s.reduce(function(c, f) {
3266
- return !c.length || f.type !== P.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3269
+ var a = o.formatToParts(l);
3270
+ if (a.length === 1)
3271
+ return a[0].value;
3272
+ var h = a.reduce(function(f, c) {
3273
+ return !f.length || c.type !== H.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
3267
3274
  }, []);
3268
3275
  return h.length <= 1 ? h[0] || "" : h;
3269
3276
  }, this.formatToParts = function(l) {
3270
- return oe(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
3277
+ return ae(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
3271
3278
  }, this.resolvedOptions = function() {
3272
3279
  var l;
3273
3280
  return {
@@ -3280,13 +3287,13 @@ var hn = (
3280
3287
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3281
3288
  var u = i || {};
3282
3289
  u.formatters;
3283
- var a = br(u, ["formatters"]);
3284
- this.ast = e.__parse(t, d(d({}, a), { locale: this.resolvedLocale }));
3290
+ var s = yr(u, ["formatters"]);
3291
+ this.ast = e.__parse(t, d(d({}, s), { locale: this.resolvedLocale }));
3285
3292
  } else
3286
3293
  this.ast = t;
3287
3294
  if (!Array.isArray(this.ast))
3288
3295
  throw new TypeError("A message must be provided as a String or AST.");
3289
- this.formats = sn(e.formats, n), this.formatters = i && i.formatters || un(this.formatterCache);
3296
+ this.formats = hn(e.formats, n), this.formatters = i && i.formatters || ln(this.formatterCache);
3290
3297
  }
3291
3298
  return Object.defineProperty(e, "defaultLocale", {
3292
3299
  get: function() {
@@ -3299,7 +3306,7 @@ var hn = (
3299
3306
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3300
3307
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3301
3308
  }
3302
- }, e.__parse = en, e.formats = {
3309
+ }, e.__parse = rn, e.formats = {
3303
3310
  number: {
3304
3311
  integer: {
3305
3312
  maximumFractionDigits: 0
@@ -3360,7 +3367,7 @@ var hn = (
3360
3367
  }, e;
3361
3368
  }()
3362
3369
  );
3363
- function ln(e, t) {
3370
+ function cn(e, t) {
3364
3371
  if (t == null)
3365
3372
  return;
3366
3373
  if (t in e)
@@ -3381,92 +3388,92 @@ function ln(e, t) {
3381
3388
  n = void 0;
3382
3389
  return n;
3383
3390
  }
3384
- const I = {}, fn = (e, t, r) => r && (t in I || (I[t] = {}), e in I[t] || (I[t][e] = r), r), Nt = (e, t) => {
3391
+ const I = {}, mn = (e, t, r) => r && (t in I || (I[t] = {}), e in I[t] || (I[t][e] = r), r), St = (e, t) => {
3385
3392
  if (t == null)
3386
3393
  return;
3387
3394
  if (t in I && e in I[t])
3388
3395
  return I[t][e];
3389
- const r = ce(t);
3396
+ const r = me(t);
3390
3397
  for (let n = 0; n < r.length; n++) {
3391
- const i = r[n], o = mn(i, e);
3398
+ const i = r[n], o = gn(i, e);
3392
3399
  if (o)
3393
- return fn(e, t, o);
3400
+ return mn(e, t, o);
3394
3401
  }
3395
3402
  };
3396
3403
  let Fe;
3397
- const te = he({});
3398
- function cn(e) {
3404
+ const re = le({});
3405
+ function pn(e) {
3399
3406
  return Fe[e] || null;
3400
3407
  }
3401
- function At(e) {
3408
+ function Nt(e) {
3402
3409
  return e in Fe;
3403
3410
  }
3404
- function mn(e, t) {
3405
- if (!At(e))
3411
+ function gn(e, t) {
3412
+ if (!Nt(e))
3406
3413
  return null;
3407
- const r = cn(e);
3408
- return ln(r, t);
3414
+ const r = pn(e);
3415
+ return cn(r, t);
3409
3416
  }
3410
- function pn(e) {
3417
+ function dn(e) {
3411
3418
  if (e == null)
3412
3419
  return;
3413
- const t = ce(e);
3420
+ const t = me(e);
3414
3421
  for (let r = 0; r < t.length; r++) {
3415
3422
  const n = t[r];
3416
- if (At(n))
3423
+ if (Nt(n))
3417
3424
  return n;
3418
3425
  }
3419
3426
  }
3420
- function St(e, ...t) {
3421
- delete I[e], te.update((r) => (r[e] = dr.all([r[e] || {}, ...t]), r));
3427
+ function At(e, ...t) {
3428
+ delete I[e], re.update((r) => (r[e] = xr.all([r[e] || {}, ...t]), r));
3422
3429
  }
3423
3430
  z(
3424
- [te],
3431
+ [re],
3425
3432
  ([e]) => Object.keys(e)
3426
3433
  );
3427
- te.subscribe((e) => Fe = e);
3428
- const ae = {};
3429
- function gn(e, t) {
3430
- ae[e].delete(t), ae[e].size === 0 && delete ae[e];
3434
+ re.subscribe((e) => Fe = e);
3435
+ const se = {};
3436
+ function bn(e, t) {
3437
+ se[e].delete(t), se[e].size === 0 && delete se[e];
3431
3438
  }
3432
3439
  function Bt(e) {
3433
- return ae[e];
3440
+ return se[e];
3434
3441
  }
3435
- function dn(e) {
3436
- return ce(e).map((t) => {
3442
+ function xn(e) {
3443
+ return me(e).map((t) => {
3437
3444
  const r = Bt(t);
3438
3445
  return [t, r ? [...r] : []];
3439
3446
  }).filter(([, t]) => t.length > 0);
3440
3447
  }
3441
- function Me(e) {
3442
- return e == null ? !1 : ce(e).some(
3448
+ function Le(e) {
3449
+ return e == null ? !1 : me(e).some(
3443
3450
  (t) => {
3444
3451
  var r;
3445
3452
  return (r = Bt(t)) == null ? void 0 : r.size;
3446
3453
  }
3447
3454
  );
3448
3455
  }
3449
- function bn(e, t) {
3456
+ function yn(e, t) {
3450
3457
  return Promise.all(
3451
- t.map((n) => (gn(e, n), n().then((i) => i.default || i)))
3452
- ).then((n) => St(e, ...n));
3458
+ t.map((n) => (bn(e, n), n().then((i) => i.default || i)))
3459
+ ).then((n) => At(e, ...n));
3453
3460
  }
3454
3461
  const q = {};
3455
3462
  function wt(e) {
3456
- if (!Me(e))
3463
+ if (!Le(e))
3457
3464
  return e in q ? q[e] : Promise.resolve();
3458
- const t = dn(e);
3465
+ const t = xn(e);
3459
3466
  return q[e] = Promise.all(
3460
3467
  t.map(
3461
- ([r, n]) => bn(r, n)
3468
+ ([r, n]) => yn(r, n)
3462
3469
  )
3463
3470
  ).then(() => {
3464
- if (Me(e))
3471
+ if (Le(e))
3465
3472
  return wt(e);
3466
3473
  delete q[e];
3467
3474
  }), q[e];
3468
3475
  }
3469
- const xn = {
3476
+ const En = {
3470
3477
  number: {
3471
3478
  scientific: { notation: "scientific" },
3472
3479
  engineering: { notation: "engineering" },
@@ -3495,175 +3502,175 @@ const xn = {
3495
3502
  timeZoneName: "short"
3496
3503
  }
3497
3504
  }
3498
- }, yn = {
3505
+ }, vn = {
3499
3506
  fallbackLocale: null,
3500
3507
  loadingDelay: 200,
3501
- formats: xn,
3508
+ formats: En,
3502
3509
  warnOnMissingMessages: !0,
3503
3510
  handleMissingMessage: void 0,
3504
3511
  ignoreTag: !0
3505
- }, vn = yn;
3512
+ }, _n = vn;
3506
3513
  function X() {
3507
- return vn;
3514
+ return _n;
3508
3515
  }
3509
- const _e = he(!1);
3510
- var En = Object.defineProperty, _n = Object.defineProperties, Hn = Object.getOwnPropertyDescriptors, Ye = Object.getOwnPropertySymbols, Tn = Object.prototype.hasOwnProperty, Pn = Object.prototype.propertyIsEnumerable, Ke = (e, t, r) => t in e ? En(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Nn = (e, t) => {
3516
+ const He = le(!1);
3517
+ var Hn = Object.defineProperty, Tn = Object.defineProperties, Pn = Object.getOwnPropertyDescriptors, Ye = Object.getOwnPropertySymbols, Sn = Object.prototype.hasOwnProperty, Nn = Object.prototype.propertyIsEnumerable, Ke = (e, t, r) => t in e ? Hn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, An = (e, t) => {
3511
3518
  for (var r in t || (t = {}))
3512
- Tn.call(t, r) && Ke(e, r, t[r]);
3519
+ Sn.call(t, r) && Ke(e, r, t[r]);
3513
3520
  if (Ye)
3514
3521
  for (var r of Ye(t))
3515
- Pn.call(t, r) && Ke(e, r, t[r]);
3522
+ Nn.call(t, r) && Ke(e, r, t[r]);
3516
3523
  return e;
3517
- }, An = (e, t) => _n(e, Hn(t));
3518
- let Le;
3519
- const se = he(null);
3524
+ }, Bn = (e, t) => Tn(e, Pn(t));
3525
+ let Ce;
3526
+ const ue = le(null);
3520
3527
  function et(e) {
3521
3528
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3522
3529
  }
3523
- function ce(e, t = X().fallbackLocale) {
3530
+ function me(e, t = X().fallbackLocale) {
3524
3531
  const r = et(e);
3525
3532
  return t ? [.../* @__PURE__ */ new Set([...r, ...et(t)])] : r;
3526
3533
  }
3527
- function C() {
3528
- return Le ?? void 0;
3534
+ function $() {
3535
+ return Ce ?? void 0;
3529
3536
  }
3530
- se.subscribe((e) => {
3531
- Le = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3537
+ ue.subscribe((e) => {
3538
+ Ce = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3532
3539
  });
3533
- const Sn = (e) => {
3534
- if (e && pn(e) && Me(e)) {
3540
+ const wn = (e) => {
3541
+ if (e && dn(e) && Le(e)) {
3535
3542
  const { loadingDelay: t } = X();
3536
3543
  let r;
3537
- return typeof window < "u" && C() != null && t ? r = window.setTimeout(
3538
- () => _e.set(!0),
3544
+ return typeof window < "u" && $() != null && t ? r = window.setTimeout(
3545
+ () => He.set(!0),
3539
3546
  t
3540
- ) : _e.set(!0), wt(e).then(() => {
3541
- se.set(e);
3547
+ ) : He.set(!0), wt(e).then(() => {
3548
+ ue.set(e);
3542
3549
  }).finally(() => {
3543
- clearTimeout(r), _e.set(!1);
3550
+ clearTimeout(r), He.set(!1);
3544
3551
  });
3545
3552
  }
3546
- return se.set(e);
3547
- }, Z = An(Nn({}, se), {
3548
- set: Sn
3549
- }), me = (e) => {
3553
+ return ue.set(e);
3554
+ }, Z = Bn(An({}, ue), {
3555
+ set: wn
3556
+ }), pe = (e) => {
3550
3557
  const t = /* @__PURE__ */ Object.create(null);
3551
3558
  return (n) => {
3552
3559
  const i = JSON.stringify(n);
3553
3560
  return i in t ? t[i] : t[i] = e(n);
3554
3561
  };
3555
3562
  };
3556
- var Bn = Object.defineProperty, ue = Object.getOwnPropertySymbols, Ot = Object.prototype.hasOwnProperty, It = Object.prototype.propertyIsEnumerable, tt = (e, t, r) => t in e ? Bn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ge = (e, t) => {
3563
+ var On = Object.defineProperty, he = Object.getOwnPropertySymbols, Ot = Object.prototype.hasOwnProperty, It = Object.prototype.propertyIsEnumerable, tt = (e, t, r) => t in e ? On(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ge = (e, t) => {
3557
3564
  for (var r in t || (t = {}))
3558
3565
  Ot.call(t, r) && tt(e, r, t[r]);
3559
- if (ue)
3560
- for (var r of ue(t))
3566
+ if (he)
3567
+ for (var r of he(t))
3561
3568
  It.call(t, r) && tt(e, r, t[r]);
3562
3569
  return e;
3563
3570
  }, W = (e, t) => {
3564
3571
  var r = {};
3565
3572
  for (var n in e)
3566
3573
  Ot.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3567
- if (e != null && ue)
3568
- for (var n of ue(e))
3574
+ if (e != null && he)
3575
+ for (var n of he(e))
3569
3576
  t.indexOf(n) < 0 && It.call(e, n) && (r[n] = e[n]);
3570
3577
  return r;
3571
3578
  };
3572
- const K = (e, t) => {
3579
+ const ee = (e, t) => {
3573
3580
  const { formats: r } = X();
3574
3581
  if (e in r && t in r[e])
3575
3582
  return r[e][t];
3576
3583
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3577
- }, wn = me(
3584
+ }, In = pe(
3578
3585
  (e) => {
3579
3586
  var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
3580
3587
  if (r == null)
3581
3588
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3582
- return n && (i = K("number", n)), new Intl.NumberFormat(r, i);
3589
+ return n && (i = ee("number", n)), new Intl.NumberFormat(r, i);
3583
3590
  }
3584
- ), On = me(
3591
+ ), Mn = pe(
3585
3592
  (e) => {
3586
3593
  var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
3587
3594
  if (r == null)
3588
3595
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3589
- return n ? i = K("date", n) : Object.keys(i).length === 0 && (i = K("date", "short")), new Intl.DateTimeFormat(r, i);
3596
+ return n ? i = ee("date", n) : Object.keys(i).length === 0 && (i = ee("date", "short")), new Intl.DateTimeFormat(r, i);
3590
3597
  }
3591
- ), In = me(
3598
+ ), Ln = pe(
3592
3599
  (e) => {
3593
3600
  var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
3594
3601
  if (r == null)
3595
3602
  throw new Error(
3596
3603
  '[svelte-i18n] A "locale" must be set to format time values'
3597
3604
  );
3598
- return n ? i = K("time", n) : Object.keys(i).length === 0 && (i = K("time", "short")), new Intl.DateTimeFormat(r, i);
3605
+ return n ? i = ee("time", n) : Object.keys(i).length === 0 && (i = ee("time", "short")), new Intl.DateTimeFormat(r, i);
3599
3606
  }
3600
- ), Mn = (e = {}) => {
3607
+ ), Cn = (e = {}) => {
3601
3608
  var t = e, {
3602
- locale: r = C()
3609
+ locale: r = $()
3603
3610
  } = t, n = W(t, [
3604
3611
  "locale"
3605
3612
  ]);
3606
- return wn(Ge({ locale: r }, n));
3607
- }, Ln = (e = {}) => {
3613
+ return In(Ge({ locale: r }, n));
3614
+ }, $n = (e = {}) => {
3608
3615
  var t = e, {
3609
- locale: r = C()
3616
+ locale: r = $()
3610
3617
  } = t, n = W(t, [
3611
3618
  "locale"
3612
3619
  ]);
3613
- return On(Ge({ locale: r }, n));
3614
- }, Cn = (e = {}) => {
3620
+ return Mn(Ge({ locale: r }, n));
3621
+ }, Rn = (e = {}) => {
3615
3622
  var t = e, {
3616
- locale: r = C()
3623
+ locale: r = $()
3617
3624
  } = t, n = W(t, [
3618
3625
  "locale"
3619
3626
  ]);
3620
- return In(Ge({ locale: r }, n));
3621
- }, $n = me(
3627
+ return Ln(Ge({ locale: r }, n));
3628
+ }, Fn = pe(
3622
3629
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3623
- (e, t = C()) => new hn(e, t, X().formats, {
3630
+ (e, t = $()) => new fn(e, t, X().formats, {
3624
3631
  ignoreTag: X().ignoreTag
3625
3632
  })
3626
- ), Rn = (e, t = {}) => {
3633
+ ), Gn = (e, t = {}) => {
3627
3634
  var r, n, i, o;
3628
3635
  let u = t;
3629
3636
  typeof e == "object" && (u = e, e = u.id);
3630
3637
  const {
3631
- values: a,
3632
- locale: l = C(),
3633
- default: s
3638
+ values: s,
3639
+ locale: l = $(),
3640
+ default: a
3634
3641
  } = u;
3635
3642
  if (l == null)
3636
3643
  throw new Error(
3637
3644
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3638
3645
  );
3639
- let h = Nt(e, l);
3646
+ let h = St(e, l);
3640
3647
  if (!h)
3641
- h = (o = (i = (n = (r = X()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: s })) != null ? i : s) != null ? o : e;
3648
+ h = (o = (i = (n = (r = X()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: a })) != null ? i : a) != null ? o : e;
3642
3649
  else if (typeof h != "string")
3643
3650
  return console.warn(
3644
3651
  `[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.`
3645
3652
  ), h;
3646
- if (!a)
3653
+ if (!s)
3647
3654
  return h;
3648
- let c = h;
3655
+ let f = h;
3649
3656
  try {
3650
- c = $n(h, l).format(a);
3651
- } catch (f) {
3652
- f instanceof Error && console.warn(
3657
+ f = Fn(h, l).format(s);
3658
+ } catch (c) {
3659
+ c instanceof Error && console.warn(
3653
3660
  `[svelte-i18n] Message "${e}" has syntax error:`,
3654
- f.message
3661
+ c.message
3655
3662
  );
3656
3663
  }
3657
- return c;
3658
- }, Fn = (e, t) => Cn(t).format(e), Gn = (e, t) => Ln(t).format(e), Dn = (e, t) => Mn(t).format(e), Un = (e, t = C()) => Nt(e, t), jn = z([Z, te], () => Rn);
3659
- z([Z], () => Fn);
3660
- z([Z], () => Gn);
3664
+ return f;
3665
+ }, Dn = (e, t) => Rn(t).format(e), Un = (e, t) => $n(t).format(e), jn = (e, t) => Cn(t).format(e), kn = (e, t = $()) => St(e, t), Vn = z([Z, re], () => Gn);
3661
3666
  z([Z], () => Dn);
3662
- z([Z, te], () => Un);
3667
+ z([Z], () => Un);
3668
+ z([Z], () => jn);
3669
+ z([Z, re], () => kn);
3663
3670
  function rt(e, t) {
3664
- St(e, t);
3671
+ At(e, t);
3665
3672
  }
3666
- function kn(e) {
3673
+ function Xn(e) {
3667
3674
  Z.set(e);
3668
3675
  }
3669
3676
  const nt = {
@@ -3758,150 +3765,172 @@ const nt = {
3758
3765
  home: "Go to homepage"
3759
3766
  }
3760
3767
  };
3761
- function Vn(e) {
3762
- Ct(e, "svelte-3g8nw6", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:"Helvetica Neue", "Helvetica", sans-serif}.PageWrapper{color:var(--emw--misc-typography, var(--emw--color-white, #FFFFFF));background:var(--emw--misc-color-bg, var(--emw--color-background, #07072A));padding:50px 0;width:100%;text-align:center}.NotFoundPage{display:flex;flex-direction:column;margin:auto;gap:40px;align-items:center;max-width:800px;padding:50px}.NotFoundPage svg{fill:var(--emw--misc-color-primary, var(--emw--color-primary, #D0046C))}.PageTitle{color:var(--emw--misc-color-primary, var(--emw--color-primary, #D0046C));font-weight:500;font-size:28px}.PageContent{color:#D1D1D1;font-size:18px;line-height:24px}.ErrorPageTitle{color:var(--emw--color-error, var(--emw--color-red, #ed0909));font-weight:500;font-size:28px}.ErrorPageContent{color:var(--emw--color-error, var(--emw--color-red, #ed0909));font-size:18px;line-height:24px}.ButtonDefaultSmall{background:var(--emw--misc-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--misc-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));border-radius:5px;width:30%;height:60px;display:flex;align-items:center;justify-content:center;font-size:16px;text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box;cursor:pointer}@media only screen and (max-width: 475px){.PageWrapper{color:var(--emw--misc-typography, var(--emw--color-white, #FFFFFF));background:var(--emw--misc-color-bg, var(--emw--color-background, #07072A));padding:20px 0;width:100%;text-align:center}.NotFoundPage{text-align:center;width:100%}.PageTitle{font-size:22px}.ButtonDefaultSmall{width:80%;height:50px;font-size:14px;grid-template-columns:1fr}.ErrorPageContent{font-size:16px;line-height:18px}.ErrorPageTitle{font-size:18px}.PageContent{font-size:16px;line-height:18px}}');
3768
+ function zn(e, t) {
3769
+ if (e) {
3770
+ const r = document.createElement("style");
3771
+ r.innerHTML = t, e.appendChild(r);
3772
+ }
3763
3773
  }
3764
- function Xn(e) {
3765
- let t, r, n, i, o, u, a, l, s, h, c, f, b = (
3774
+ function Zn(e, t) {
3775
+ const r = new URL(t);
3776
+ fetch(r.href).then((n) => n.text()).then((n) => {
3777
+ const i = document.createElement("style");
3778
+ i.innerHTML = n, e && e.appendChild(i);
3779
+ }).catch((n) => {
3780
+ console.error("There was an error while trying to load client styling from URL", n);
3781
+ });
3782
+ }
3783
+ function Wn(e, t, r) {
3784
+ if (window.emMessageBus) {
3785
+ const n = document.createElement("style");
3786
+ window.emMessageBus.subscribe(t, (i) => {
3787
+ n.innerHTML = i, e && e.appendChild(n);
3788
+ });
3789
+ }
3790
+ }
3791
+ function Qn(e) {
3792
+ Ct(e, "svelte-fokx9n", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.PageWrapper{color:var(--emw--misc-typography, var(--emw--color-white, #FFFFFF));background:var(--emw--misc-color-bg, var(--emw--color-background, #07072A));padding:50px 0;width:100%;text-align:center}.NotFoundPage{display:flex;flex-direction:column;margin:auto;gap:40px;align-items:center;max-width:800px;padding:50px}.NotFoundPage svg{fill:var(--emw--misc-color-primary, var(--emw--color-primary, #D0046C))}.PageTitle{color:var(--emw--misc-color-primary, var(--emw--color-primary, #D0046C));font-weight:500;font-size:28px}.PageContent{color:#D1D1D1;font-size:18px;line-height:24px}.ErrorPageTitle{color:var(--emw--color-error, var(--emw--color-red, #ed0909));font-weight:500;font-size:28px}.ErrorPageContent{color:var(--emw--color-error, var(--emw--color-red, #ed0909));font-size:18px;line-height:24px}.ButtonDefaultSmall{background:var(--emw--misc-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--misc-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));border-radius:5px;width:30%;height:60px;display:flex;align-items:center;justify-content:center;font-size:16px;text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box;cursor:pointer}@media only screen and (max-width: 475px){.PageWrapper{color:var(--emw--misc-typography, var(--emw--color-white, #FFFFFF));background:var(--emw--misc-color-bg, var(--emw--color-background, #07072A));padding:20px 0;width:100%;text-align:center}.NotFoundPage{text-align:center;width:100%}.PageTitle{font-size:22px}.ButtonDefaultSmall{width:80%;height:50px;font-size:14px;grid-template-columns:1fr}.ErrorPageContent{font-size:16px;line-height:18px}.ErrorPageTitle{font-size:18px}.PageContent{font-size:16px;line-height:18px}}");
3793
+ }
3794
+ function qn(e) {
3795
+ let t, r, n, i, o, u, s, l, a, h, f, c, b = (
3766
3796
  /*$_*/
3767
3797
  e[1]("pageNotFound") + ""
3768
- ), y, _, m, E = (
3798
+ ), y, m, v, T = (
3769
3799
  /*$_*/
3770
3800
  e[1]("pageNotFoundMessage") + ""
3771
- ), T, N, S, A = (
3801
+ ), B, P, N, S = (
3772
3802
  /*$_*/
3773
3803
  e[1]("home") + ""
3774
- ), w, $, De;
3804
+ ), w, R, De;
3775
3805
  return {
3776
3806
  c() {
3777
- t = L("div"), r = L("div"), n = O("svg"), i = O("g"), o = O("path"), u = O("path"), a = O("path"), l = O("path"), s = O("path"), h = O("path"), c = pe(), f = L("p"), y = ne(b), _ = pe(), m = L("p"), T = ne(E), N = pe(), S = L("button"), w = ne(A), x(o, "class", "a"), x(o, "d", "M753.094,548.381h11.379v4.138a3.1,3.1,0,1,0,6.207,0v-4.138a3.1,3.1,0,0,0,0-6.207v-27.93a3,3,0,0,0-2.379-3,3.262,3.262,0,0,0-3.517,1.552l-14.483,26.9a3.305,3.305,0,0,0-.31,1.448v4.138a3.048,3.048,0,0,0,3.1,3.1Zm3.1-6.414,8.276-15.414v15.62H756.2Z"), x(o, "transform", "translate(-658.898 -446.452)"), x(u, "class", "a"), x(u, "d", "M508.259,555.422a11.346,11.346,0,0,0,11.379-11.379V522.319a11.379,11.379,0,1,0-22.757,0v21.725A11.346,11.346,0,0,0,508.259,555.422Zm-5.172-33.1a5.172,5.172,0,1,1,10.345,0v21.725a5.172,5.172,0,0,1-10.345,0Z"), x(u, "transform", "translate(-433.716 -446.252)"), x(a, "class", "a"), x(a, "d", "M237.474,548.381h11.379v4.138a3.1,3.1,0,1,0,6.207,0v-4.138a3.1,3.1,0,1,0,0-6.207v-27.93a3,3,0,0,0-2.379-3,3.2,3.2,0,0,0-3.517,1.552l-14.483,26.9a3.3,3.3,0,0,0-.31,1.448v4.138a3.048,3.048,0,0,0,3.1,3.1Zm3.1-6.414,8.276-15.414v15.62h-8.276Z"), x(a, "transform", "translate(-200.173 -446.452)"), x(l, "class", "a"), x(l, "d", "M22.819,139.685H126.266a13.422,13.422,0,0,0,13.449-13.449V22.789A13.422,13.422,0,0,0,126.266,9.34H22.819A13.422,13.422,0,0,0,9.37,22.789V126.236A13.422,13.422,0,0,0,22.819,139.685Zm-7.241-116.9a7.2,7.2,0,0,1,7.241-7.241H126.266a7.2,7.2,0,0,1,7.241,7.241V38.3H15.572Zm0,21.725H133.513v81.723a7.2,7.2,0,0,1-7.241,7.241H22.824a7.2,7.2,0,0,1-7.241-7.241Z"), x(s, "class", "a"), x(s, "d", "M147.866,140.62h-4.138a3.1,3.1,0,0,0,0,6.207h4.138a3.1,3.1,0,0,0,0-6.207Z"), x(s, "transform", "translate(-116.772 -116.794)"), x(h, "class", "a"), x(h, "d", "M297.866,140.62h-4.138a3.1,3.1,0,1,0,0,6.207h4.138a3.1,3.1,0,0,0,0-6.207Z"), x(h, "transform", "translate(-250.22 -116.794)"), x(i, "transform", "translate(-9.37 -9.34)"), x(n, "class", "svgColor"), x(n, "xmlns", "http://www.w3.org/2000/svg"), x(n, "width", "130.345"), x(n, "height", "130.345"), x(n, "viewBox", "0 0 130.345 130.345"), x(f, "class", "PageTitle"), x(m, "class", "PageContent"), x(S, "class", "ButtonDefaultSmall"), x(r, "class", "NotFoundPage"), x(t, "class", "PageWrapper");
3807
+ t = L("div"), r = L("div"), n = O("svg"), i = O("g"), o = O("path"), u = O("path"), s = O("path"), l = O("path"), a = O("path"), h = O("path"), f = ge(), c = L("p"), y = ie(b), m = ge(), v = L("p"), B = ie(T), P = ge(), N = L("button"), w = ie(S), x(o, "class", "a"), x(o, "d", "M753.094,548.381h11.379v4.138a3.1,3.1,0,1,0,6.207,0v-4.138a3.1,3.1,0,0,0,0-6.207v-27.93a3,3,0,0,0-2.379-3,3.262,3.262,0,0,0-3.517,1.552l-14.483,26.9a3.305,3.305,0,0,0-.31,1.448v4.138a3.048,3.048,0,0,0,3.1,3.1Zm3.1-6.414,8.276-15.414v15.62H756.2Z"), x(o, "transform", "translate(-658.898 -446.452)"), x(u, "class", "a"), x(u, "d", "M508.259,555.422a11.346,11.346,0,0,0,11.379-11.379V522.319a11.379,11.379,0,1,0-22.757,0v21.725A11.346,11.346,0,0,0,508.259,555.422Zm-5.172-33.1a5.172,5.172,0,1,1,10.345,0v21.725a5.172,5.172,0,0,1-10.345,0Z"), x(u, "transform", "translate(-433.716 -446.252)"), x(s, "class", "a"), x(s, "d", "M237.474,548.381h11.379v4.138a3.1,3.1,0,1,0,6.207,0v-4.138a3.1,3.1,0,1,0,0-6.207v-27.93a3,3,0,0,0-2.379-3,3.2,3.2,0,0,0-3.517,1.552l-14.483,26.9a3.3,3.3,0,0,0-.31,1.448v4.138a3.048,3.048,0,0,0,3.1,3.1Zm3.1-6.414,8.276-15.414v15.62h-8.276Z"), x(s, "transform", "translate(-200.173 -446.452)"), x(l, "class", "a"), x(l, "d", "M22.819,139.685H126.266a13.422,13.422,0,0,0,13.449-13.449V22.789A13.422,13.422,0,0,0,126.266,9.34H22.819A13.422,13.422,0,0,0,9.37,22.789V126.236A13.422,13.422,0,0,0,22.819,139.685Zm-7.241-116.9a7.2,7.2,0,0,1,7.241-7.241H126.266a7.2,7.2,0,0,1,7.241,7.241V38.3H15.572Zm0,21.725H133.513v81.723a7.2,7.2,0,0,1-7.241,7.241H22.824a7.2,7.2,0,0,1-7.241-7.241Z"), x(a, "class", "a"), x(a, "d", "M147.866,140.62h-4.138a3.1,3.1,0,0,0,0,6.207h4.138a3.1,3.1,0,0,0,0-6.207Z"), x(a, "transform", "translate(-116.772 -116.794)"), x(h, "class", "a"), x(h, "d", "M297.866,140.62h-4.138a3.1,3.1,0,1,0,0,6.207h4.138a3.1,3.1,0,0,0,0-6.207Z"), x(h, "transform", "translate(-250.22 -116.794)"), x(i, "transform", "translate(-9.37 -9.34)"), x(n, "class", "svgColor"), x(n, "xmlns", "http://www.w3.org/2000/svg"), x(n, "width", "130.345"), x(n, "height", "130.345"), x(n, "viewBox", "0 0 130.345 130.345"), x(c, "class", "PageTitle"), x(v, "class", "PageContent"), x(N, "class", "ButtonDefaultSmall"), x(r, "class", "NotFoundPage"), x(t, "class", "PageWrapper");
3778
3808
  },
3779
3809
  m(M, Q) {
3780
- st(M, t, Q), H(t, r), H(r, n), H(n, i), H(i, o), H(i, u), H(i, a), H(i, l), H(i, s), H(i, h), H(r, c), H(r, f), H(f, y), H(r, _), H(r, m), H(m, T), H(r, N), H(r, S), H(S, w), e[8](t), $ || (De = Ft(
3781
- S,
3810
+ st(M, t, Q), _(t, r), _(r, n), _(n, i), _(i, o), _(i, u), _(i, s), _(i, l), _(i, a), _(i, h), _(r, f), _(r, c), _(c, y), _(r, m), _(r, v), _(v, B), _(r, P), _(r, N), _(N, w), e[9](t), R || (De = Ft(
3811
+ N,
3782
3812
  "click",
3783
3813
  /*click_handler*/
3784
- e[7]
3785
- ), $ = !0);
3814
+ e[8]
3815
+ ), R = !0);
3786
3816
  },
3787
3817
  p(M, [Q]) {
3788
3818
  Q & /*$_*/
3789
3819
  2 && b !== (b = /*$_*/
3790
- M[1]("pageNotFound") + "") && ge(y, b), Q & /*$_*/
3791
- 2 && E !== (E = /*$_*/
3792
- M[1]("pageNotFoundMessage") + "") && ge(T, E), Q & /*$_*/
3793
- 2 && A !== (A = /*$_*/
3794
- M[1]("home") + "") && ge(w, A);
3820
+ M[1]("pageNotFound") + "") && de(y, b), Q & /*$_*/
3821
+ 2 && T !== (T = /*$_*/
3822
+ M[1]("pageNotFoundMessage") + "") && de(B, T), Q & /*$_*/
3823
+ 2 && S !== (S = /*$_*/
3824
+ M[1]("home") + "") && de(w, S);
3795
3825
  },
3796
- i: B,
3797
- o: B,
3826
+ i: A,
3827
+ o: A,
3798
3828
  d(M) {
3799
- M && $e(t), e[8](null), $ = !1, De();
3829
+ M && Re(t), e[9](null), R = !1, De();
3800
3830
  }
3801
3831
  };
3802
3832
  }
3803
- function zn(e, t, r) {
3833
+ function Jn(e, t, r) {
3804
3834
  let n;
3805
- Lt(e, jn, (m) => r(1, n = m));
3806
- let { lang: i = "en" } = t, { clientstyling: o = "" } = t, { clientstylingurl: u = "" } = t, { translationurl: a = "" } = t, l;
3807
- const s = () => {
3808
- fetch(a).then((E) => E.json()).then((E) => {
3809
- Object.keys(E).forEach((T) => {
3810
- rt(T, E[T]);
3835
+ Lt(e, Vn, (m) => r(1, n = m));
3836
+ let { lang: i = "en" } = t, { clientstyling: o = "" } = t, { clientstylingurl: u = "" } = t, { translationurl: s = "" } = t, { mbsource: l } = t, a;
3837
+ const h = () => {
3838
+ fetch(s).then((v) => v.json()).then((v) => {
3839
+ Object.keys(v).forEach((T) => {
3840
+ rt(T, v[T]);
3811
3841
  });
3812
- }).catch((E) => {
3813
- console.log(E);
3842
+ }).catch((v) => {
3843
+ console.log(v);
3814
3844
  });
3815
3845
  };
3816
3846
  Object.keys(nt).forEach((m) => {
3817
3847
  rt(m, nt[m]);
3818
3848
  });
3819
- const h = () => {
3849
+ const f = () => {
3820
3850
  window.postMessage({ type: "GoToHomepage" }, window.location.href);
3821
3851
  }, c = () => {
3822
- kn(i);
3823
- }, f = () => {
3824
- let m = document.createElement("style");
3825
- m.innerHTML = o, l.appendChild(m);
3826
- }, b = () => {
3827
- let m = new URL(u), E = document.createElement("style");
3828
- fetch(m.href).then((T) => T.text()).then((T) => {
3829
- E.innerHTML = T, setTimeout(
3830
- () => {
3831
- l.appendChild(E);
3832
- },
3833
- 1
3834
- );
3835
- });
3836
- }, y = () => h();
3837
- function _(m) {
3838
- He[m ? "unshift" : "push"](() => {
3839
- l = m, r(0, l);
3852
+ Xn(i);
3853
+ };
3854
+ jt(() => () => {
3855
+ });
3856
+ const b = () => f();
3857
+ function y(m) {
3858
+ Te[m ? "unshift" : "push"](() => {
3859
+ a = m, r(0, a);
3840
3860
  });
3841
3861
  }
3842
3862
  return e.$$set = (m) => {
3843
- "lang" in m && r(3, i = m.lang), "clientstyling" in m && r(4, o = m.clientstyling), "clientstylingurl" in m && r(5, u = m.clientstylingurl), "translationurl" in m && r(6, a = m.translationurl);
3863
+ "lang" in m && r(3, i = m.lang), "clientstyling" in m && r(4, o = m.clientstyling), "clientstylingurl" in m && r(5, u = m.clientstylingurl), "translationurl" in m && r(6, s = m.translationurl), "mbsource" in m && r(7, l = m.mbsource);
3844
3864
  }, e.$$.update = () => {
3845
3865
  e.$$.dirty & /*lang*/
3846
- 8 && i && c(), e.$$.dirty & /*clientstyling, customStylingContainer*/
3847
- 17 && o && l && f(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
3848
- 33 && u && l && b(), e.$$.dirty & /*translationurl*/
3849
- 64 && a && s();
3866
+ 8 && i && c(), e.$$.dirty & /*translationurl*/
3867
+ 64 && s && h(), e.$$.dirty & /*clientstyling, customStylingContainer*/
3868
+ 17 && o && a && zn(a, o), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
3869
+ 33 && u && a && Zn(a, u), e.$$.dirty & /*mbsource, customStylingContainer*/
3870
+ 129 && l && a && Wn(a, `${l}.Style`);
3850
3871
  }, [
3851
- l,
3872
+ a,
3852
3873
  n,
3853
- h,
3874
+ f,
3854
3875
  i,
3855
3876
  o,
3856
3877
  u,
3857
- a,
3858
- y,
3859
- _
3878
+ s,
3879
+ l,
3880
+ b,
3881
+ y
3860
3882
  ];
3861
3883
  }
3862
- class Zn extends Yt {
3884
+ class Yn extends er {
3863
3885
  constructor(t) {
3864
- super(), qt(
3886
+ super(), Yt(
3865
3887
  this,
3866
3888
  t,
3867
- zn,
3868
- Xn,
3889
+ Jn,
3890
+ qn,
3869
3891
  ot,
3870
3892
  {
3871
3893
  lang: 3,
3872
3894
  clientstyling: 4,
3873
3895
  clientstylingurl: 5,
3874
- translationurl: 6
3896
+ translationurl: 6,
3897
+ mbsource: 7
3875
3898
  },
3876
- Vn
3899
+ Qn
3877
3900
  );
3878
3901
  }
3879
3902
  get lang() {
3880
3903
  return this.$$.ctx[3];
3881
3904
  }
3882
3905
  set lang(t) {
3883
- this.$$set({ lang: t }), D();
3906
+ this.$$set({ lang: t }), C();
3884
3907
  }
3885
3908
  get clientstyling() {
3886
3909
  return this.$$.ctx[4];
3887
3910
  }
3888
3911
  set clientstyling(t) {
3889
- this.$$set({ clientstyling: t }), D();
3912
+ this.$$set({ clientstyling: t }), C();
3890
3913
  }
3891
3914
  get clientstylingurl() {
3892
3915
  return this.$$.ctx[5];
3893
3916
  }
3894
3917
  set clientstylingurl(t) {
3895
- this.$$set({ clientstylingurl: t }), D();
3918
+ this.$$set({ clientstylingurl: t }), C();
3896
3919
  }
3897
3920
  get translationurl() {
3898
3921
  return this.$$.ctx[6];
3899
3922
  }
3900
3923
  set translationurl(t) {
3901
- this.$$set({ translationurl: t }), D();
3924
+ this.$$set({ translationurl: t }), C();
3925
+ }
3926
+ get mbsource() {
3927
+ return this.$$.ctx[7];
3928
+ }
3929
+ set mbsource(t) {
3930
+ this.$$set({ mbsource: t }), C();
3902
3931
  }
3903
3932
  }
3904
- Jt(Zn, { lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
3933
+ Kt(Yn, { lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
3905
3934
  export {
3906
- Zn as C
3935
+ Yn as C
3907
3936
  };