@everymatrix/player-email-verification 1.66.2 → 1.67.3

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,48 +1,48 @@
1
- function v() {
1
+ function _() {
2
2
  }
3
- function Je(e) {
3
+ function Qe(e) {
4
4
  return e();
5
5
  }
6
6
  function Ie() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
- function z(e) {
10
- e.forEach(Je);
9
+ function W(e) {
10
+ e.forEach(Qe);
11
11
  }
12
- function Be(e) {
12
+ function Te(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function qe(e, t) {
15
+ function Je(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
- function Bt(e) {
18
+ function St(e) {
19
19
  return Object.keys(e).length === 0;
20
20
  }
21
- function Ye(e, ...t) {
21
+ function qe(e, ...t) {
22
22
  if (e == null) {
23
23
  for (const n of t)
24
24
  n(void 0);
25
- return v;
25
+ return _;
26
26
  }
27
27
  const r = e.subscribe(...t);
28
28
  return r.unsubscribe ? () => r.unsubscribe() : r;
29
29
  }
30
- function At(e, t, r) {
31
- e.$$.on_destroy.push(Ye(t, r));
30
+ function Bt(e, t, r) {
31
+ e.$$.on_destroy.push(qe(t, r));
32
32
  }
33
- function Ke(e, t, r) {
33
+ function Ye(e, t, r) {
34
34
  e.insertBefore(t, r || null);
35
35
  }
36
- function Ae(e) {
36
+ function Se(e) {
37
37
  e.parentNode && e.parentNode.removeChild(e);
38
38
  }
39
- function et(e) {
39
+ function Ke(e) {
40
40
  return document.createElement(e);
41
41
  }
42
- function Pt(e, t, r) {
42
+ function At(e, t, r) {
43
43
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
44
44
  }
45
- function Ot(e) {
45
+ function Pt(e) {
46
46
  return Array.from(e.childNodes);
47
47
  }
48
48
  function Nt(e) {
@@ -54,85 +54,85 @@ function Nt(e) {
54
54
  }
55
55
  ), t;
56
56
  }
57
- let Pe;
58
- function k(e) {
59
- Pe = e;
57
+ let Be;
58
+ function V(e) {
59
+ Be = e;
60
60
  }
61
- const w = [], $e = [];
62
- let $ = [];
63
- const Le = [], wt = /* @__PURE__ */ Promise.resolve();
64
- let de = !1;
61
+ const O = [], we = [];
62
+ let w = [];
63
+ const $e = [], Ot = /* @__PURE__ */ Promise.resolve();
64
+ let me = !1;
65
65
  function It() {
66
- de || (de = !0, wt.then(I));
66
+ me || (me = !0, Ot.then(I));
67
67
  }
68
- function be(e) {
69
- $.push(e);
68
+ function de(e) {
69
+ w.push(e);
70
70
  }
71
- const ue = /* @__PURE__ */ new Set();
72
- let O = 0;
71
+ const oe = /* @__PURE__ */ new Set();
72
+ let P = 0;
73
73
  function I() {
74
- if (O !== 0)
74
+ if (P !== 0)
75
75
  return;
76
- const e = Pe;
76
+ const e = Be;
77
77
  do {
78
78
  try {
79
- for (; O < w.length; ) {
80
- const t = w[O];
81
- O++, k(t), $t(t.$$);
79
+ for (; P < O.length; ) {
80
+ const t = O[P];
81
+ P++, V(t), wt(t.$$);
82
82
  }
83
83
  } catch (t) {
84
- throw w.length = 0, O = 0, t;
84
+ throw O.length = 0, P = 0, t;
85
85
  }
86
- for (k(null), w.length = 0, O = 0; $e.length; )
87
- $e.pop()();
88
- for (let t = 0; t < $.length; t += 1) {
89
- const r = $[t];
90
- ue.has(r) || (ue.add(r), r());
86
+ for (V(null), O.length = 0, P = 0; we.length; )
87
+ we.pop()();
88
+ for (let t = 0; t < w.length; t += 1) {
89
+ const r = w[t];
90
+ oe.has(r) || (oe.add(r), r());
91
91
  }
92
- $.length = 0;
93
- } while (w.length);
94
- for (; Le.length; )
95
- Le.pop()();
96
- de = !1, ue.clear(), k(e);
92
+ w.length = 0;
93
+ } while (O.length);
94
+ for (; $e.length; )
95
+ $e.pop()();
96
+ me = !1, oe.clear(), V(e);
97
97
  }
98
- function $t(e) {
98
+ function wt(e) {
99
99
  if (e.fragment !== null) {
100
- e.update(), z(e.before_update);
100
+ e.update(), W(e.before_update);
101
101
  const t = e.dirty;
102
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(be);
102
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(de);
103
103
  }
104
104
  }
105
- function Lt(e) {
105
+ function $t(e) {
106
106
  const t = [], r = [];
107
- $.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), $ = t;
107
+ w.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), w = t;
108
108
  }
109
- const Mt = /* @__PURE__ */ new Set();
110
- function Ct(e, t) {
111
- e && e.i && (Mt.delete(e), e.i(t));
109
+ const Lt = /* @__PURE__ */ new Set();
110
+ function Mt(e, t) {
111
+ e && e.i && (Lt.delete(e), e.i(t));
112
112
  }
113
- function Rt(e, t, r) {
113
+ function Ct(e, t, r) {
114
114
  const { fragment: n, after_update: i } = e.$$;
115
- n && n.m(t, r), be(() => {
116
- const s = e.$$.on_mount.map(Je).filter(Be);
117
- e.$$.on_destroy ? e.$$.on_destroy.push(...s) : z(s), e.$$.on_mount = [];
118
- }), i.forEach(be);
115
+ n && n.m(t, r), de(() => {
116
+ const s = e.$$.on_mount.map(Qe).filter(Te);
117
+ e.$$.on_destroy ? e.$$.on_destroy.push(...s) : W(s), e.$$.on_mount = [];
118
+ }), i.forEach(de);
119
119
  }
120
- function Ut(e, t) {
120
+ function Rt(e, t) {
121
121
  const r = e.$$;
122
- r.fragment !== null && (Lt(r.after_update), z(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
122
+ r.fragment !== null && ($t(r.after_update), W(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
123
123
  }
124
- function Gt(e, t) {
125
- e.$$.dirty[0] === -1 && (w.push(e), It(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
124
+ function Ut(e, t) {
125
+ e.$$.dirty[0] === -1 && (O.push(e), It(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
126
126
  }
127
- function Dt(e, t, r, n, i, s, u = null, o = [-1]) {
128
- const f = Pe;
129
- k(e);
127
+ function Gt(e, t, r, n, i, s, u = null, o = [-1]) {
128
+ const f = Be;
129
+ V(e);
130
130
  const a = e.$$ = {
131
131
  fragment: null,
132
132
  ctx: [],
133
133
  // state
134
134
  props: s,
135
- update: v,
135
+ update: _,
136
136
  not_equal: i,
137
137
  bound: Ie(),
138
138
  // lifecycle
@@ -150,21 +150,21 @@ function Dt(e, t, r, n, i, s, u = null, o = [-1]) {
150
150
  };
151
151
  u && u(a.root);
152
152
  let h = !1;
153
- if (a.ctx = r ? r(e, t.props || {}, (l, c, ...d) => {
154
- const b = d.length ? d[0] : c;
155
- return a.ctx && i(a.ctx[l], a.ctx[l] = b) && (!a.skip_bound && a.bound[l] && a.bound[l](b), h && Gt(e, l)), c;
156
- }) : [], a.update(), h = !0, z(a.before_update), a.fragment = n ? n(a.ctx) : !1, t.target) {
153
+ if (a.ctx = r(e, t.props || {}, (l, c, ...b) => {
154
+ const g = b.length ? b[0] : c;
155
+ return a.ctx && i(a.ctx[l], a.ctx[l] = g) && (!a.skip_bound && a.bound[l] && a.bound[l](g), h && Ut(e, l)), c;
156
+ }), a.update(), h = !0, W(a.before_update), a.fragment = n(a.ctx), t.target) {
157
157
  if (t.hydrate) {
158
- const l = Ot(t.target);
159
- a.fragment && a.fragment.l(l), l.forEach(Ae);
158
+ const l = Pt(t.target);
159
+ a.fragment && a.fragment.l(l), l.forEach(Se);
160
160
  } else
161
161
  a.fragment && a.fragment.c();
162
- t.intro && Ct(e.$$.fragment), Rt(e, t.target, t.anchor), I();
162
+ t.intro && Mt(e.$$.fragment), Ct(e, t.target, t.anchor), I();
163
163
  }
164
- k(f);
164
+ V(f);
165
165
  }
166
- let tt;
167
- typeof HTMLElement == "function" && (tt = class extends HTMLElement {
166
+ let et;
167
+ typeof HTMLElement == "function" && (et = class extends HTMLElement {
168
168
  /** The Svelte component constructor */
169
169
  $$ctor;
170
170
  /** Slots */
@@ -206,17 +206,17 @@ typeof HTMLElement == "function" && (tt = class extends HTMLElement {
206
206
  let s;
207
207
  return {
208
208
  c: function() {
209
- s = et("slot"), i !== "default" && Pt(s, "name", i);
209
+ s = Ke("slot"), i !== "default" && At(s, "name", i);
210
210
  },
211
211
  /**
212
212
  * @param {HTMLElement} target
213
213
  * @param {HTMLElement} [anchor]
214
214
  */
215
215
  m: function(f, a) {
216
- Ke(f, s, a);
216
+ Ye(f, s, a);
217
217
  },
218
218
  d: function(f) {
219
- f && Ae(s);
219
+ f && Se(s);
220
220
  }
221
221
  };
222
222
  };
@@ -228,7 +228,7 @@ typeof HTMLElement == "function" && (tt = class extends HTMLElement {
228
228
  i in r && (t[i] = [e(i)]);
229
229
  for (const i of this.attributes) {
230
230
  const s = this.$$g_p(i.name);
231
- s in this.$$d || (this.$$d[s] = q(s, i.value, this.$$p_d, "toProp"));
231
+ s in this.$$d || (this.$$d[s] = J(s, i.value, this.$$p_d, "toProp"));
232
232
  }
233
233
  for (const i in this.$$p_d)
234
234
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -246,7 +246,7 @@ typeof HTMLElement == "function" && (tt = class extends HTMLElement {
246
246
  this.$$r = !0;
247
247
  for (const i in this.$$p_d)
248
248
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
249
- const s = q(
249
+ const s = J(
250
250
  i,
251
251
  this.$$d[i],
252
252
  this.$$p_d,
@@ -268,7 +268,7 @@ typeof HTMLElement == "function" && (tt = class extends HTMLElement {
268
268
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
269
269
  // and setting attributes through setAttribute etc, this is helpful
270
270
  attributeChangedCallback(e, t, r) {
271
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = q(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
271
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = J(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
272
272
  }
273
273
  disconnectedCallback() {
274
274
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -281,7 +281,7 @@ typeof HTMLElement == "function" && (tt = class extends HTMLElement {
281
281
  ) || e;
282
282
  }
283
283
  });
284
- function q(e, t, r, n) {
284
+ function J(e, t, r, n) {
285
285
  const i = r[e]?.type;
286
286
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
287
287
  return t;
@@ -310,8 +310,8 @@ function q(e, t, r, n) {
310
310
  return t;
311
311
  }
312
312
  }
313
- function Ft(e, t, r, n, i, s) {
314
- let u = class extends tt {
313
+ function Dt(e, t, r, n, i, s) {
314
+ let u = class extends et {
315
315
  constructor() {
316
316
  super(e, r, i), this.$$p_d = t;
317
317
  }
@@ -327,7 +327,7 @@ function Ft(e, t, r, n, i, s) {
327
327
  return this.$$c && o in this.$$c ? this.$$c[o] : this.$$d[o];
328
328
  },
329
329
  set(f) {
330
- f = q(o, f, t), this.$$d[o] = f, this.$$c?.$set({ [o]: f });
330
+ f = J(o, f, t), this.$$d[o] = f, this.$$c?.$set({ [o]: f });
331
331
  }
332
332
  });
333
333
  }), n.forEach((o) => {
@@ -339,7 +339,7 @@ function Ft(e, t, r, n, i, s) {
339
339
  }), e.element = /** @type {any} */
340
340
  u, u;
341
341
  }
342
- class jt {
342
+ class Ft {
343
343
  /**
344
344
  * ### PRIVATE API
345
345
  *
@@ -358,7 +358,7 @@ class jt {
358
358
  $$set = void 0;
359
359
  /** @returns {void} */
360
360
  $destroy() {
361
- Ut(this, 1), this.$destroy = v;
361
+ Rt(this, 1), this.$destroy = _;
362
362
  }
363
363
  /**
364
364
  * @template {Extract<keyof Events, string>} K
@@ -367,8 +367,8 @@ class jt {
367
367
  * @returns {() => void}
368
368
  */
369
369
  $on(t, r) {
370
- if (!Be(r))
371
- return v;
370
+ if (!Te(r))
371
+ return _;
372
372
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
373
373
  return n.push(r), () => {
374
374
  const i = n.indexOf(r);
@@ -380,22 +380,22 @@ class jt {
380
380
  * @returns {void}
381
381
  */
382
382
  $set(t) {
383
- this.$$set && !Bt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
383
+ this.$$set && !St(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
384
384
  }
385
385
  }
386
- const Vt = "4";
387
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Vt);
386
+ const jt = "4";
387
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(jt);
388
388
  const N = [];
389
- function kt(e, t) {
389
+ function Vt(e, t) {
390
390
  return {
391
- subscribe: ne(e, t).subscribe
391
+ subscribe: te(e, t).subscribe
392
392
  };
393
393
  }
394
- function ne(e, t = v) {
394
+ function te(e, t = _) {
395
395
  let r;
396
396
  const n = /* @__PURE__ */ new Set();
397
397
  function i(o) {
398
- if (qe(e, o) && (e = o, r)) {
398
+ if (Je(e, o) && (e = o, r)) {
399
399
  const f = !N.length;
400
400
  for (const a of n)
401
401
  a[1](), N.push(a, e);
@@ -409,147 +409,161 @@ function ne(e, t = v) {
409
409
  function s(o) {
410
410
  i(o(e));
411
411
  }
412
- function u(o, f = v) {
412
+ function u(o, f = _) {
413
413
  const a = [o, f];
414
- return n.add(a), n.size === 1 && (r = t(i, s) || v), o(e), () => {
414
+ return n.add(a), n.size === 1 && (r = t(i, s) || _), o(e), () => {
415
415
  n.delete(a), n.size === 0 && r && (r(), r = null);
416
416
  };
417
417
  }
418
418
  return { set: i, update: s, subscribe: u };
419
419
  }
420
- function U(e, t, r) {
420
+ function R(e, t, r) {
421
421
  const n = !Array.isArray(e), i = n ? [e] : e;
422
422
  if (!i.every(Boolean))
423
423
  throw new Error("derived() expects stores as input, got a falsy value");
424
424
  const s = t.length < 2;
425
- return kt(r, (u, o) => {
425
+ return Vt(r, (u, o) => {
426
426
  let f = !1;
427
427
  const a = [];
428
- let h = 0, l = v;
428
+ let h = 0, l = _;
429
429
  const c = () => {
430
430
  if (h)
431
431
  return;
432
432
  l();
433
- const b = t(n ? a[0] : a, u, o);
434
- s ? u(b) : l = Be(b) ? b : v;
435
- }, d = i.map(
436
- (b, x) => Ye(
437
- b,
438
- (S) => {
439
- a[x] = S, h &= ~(1 << x), f && c();
433
+ const g = t(n ? a[0] : a, u, o);
434
+ s ? u(g) : l = Te(g) ? g : _;
435
+ }, b = i.map(
436
+ (g, y) => qe(
437
+ g,
438
+ (H) => {
439
+ a[y] = H, h &= ~(1 << y), f && c();
440
440
  },
441
441
  () => {
442
- h |= 1 << x;
442
+ h |= 1 << y;
443
443
  }
444
444
  )
445
445
  );
446
446
  return f = !0, c(), function() {
447
- z(d), l(), f = !1;
447
+ W(b), l(), f = !1;
448
448
  };
449
449
  });
450
450
  }
451
- function Xt(e) {
452
- return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
451
+ function kt(e) {
452
+ return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
453
453
  }
454
- var Wt = function(t) {
455
- return zt(t) && !Zt(t);
454
+ var Xt = function(t) {
455
+ return Wt(t) && !zt(t);
456
456
  };
457
- function zt(e) {
457
+ function Wt(e) {
458
458
  return !!e && typeof e == "object";
459
459
  }
460
- function Zt(e) {
460
+ function zt(e) {
461
461
  var t = Object.prototype.toString.call(e);
462
- return t === "[object RegExp]" || t === "[object Date]" || qt(e);
462
+ return t === "[object RegExp]" || t === "[object Date]" || Jt(e);
463
463
  }
464
- var Qt = typeof Symbol == "function" && Symbol.for, Jt = Qt ? Symbol.for("react.element") : 60103;
465
- function qt(e) {
466
- return e.$$typeof === Jt;
464
+ var Zt = typeof Symbol == "function" && Symbol.for, Qt = Zt ? Symbol.for("react.element") : 60103;
465
+ function Jt(e) {
466
+ return e.$$typeof === Qt;
467
467
  }
468
- function Yt(e) {
468
+ function qt(e) {
469
469
  return Array.isArray(e) ? [] : {};
470
470
  }
471
- function X(e, t) {
472
- return t.clone !== !1 && t.isMergeableObject(e) ? L(Yt(e), e, t) : e;
471
+ function k(e, t) {
472
+ return t.clone !== !1 && t.isMergeableObject(e) ? $(qt(e), e, t) : e;
473
473
  }
474
- function Kt(e, t, r) {
474
+ function Yt(e, t, r) {
475
475
  return e.concat(t).map(function(n) {
476
- return X(n, r);
476
+ return k(n, r);
477
477
  });
478
478
  }
479
- function er(e, t) {
479
+ function Kt(e, t) {
480
480
  if (!t.customMerge)
481
- return L;
481
+ return $;
482
482
  var r = t.customMerge(e);
483
- return typeof r == "function" ? r : L;
483
+ return typeof r == "function" ? r : $;
484
484
  }
485
- function tr(e) {
485
+ function er(e) {
486
486
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
487
487
  return Object.propertyIsEnumerable.call(e, t);
488
488
  }) : [];
489
489
  }
490
- function Me(e) {
491
- return Object.keys(e).concat(tr(e));
490
+ function Le(e) {
491
+ return Object.keys(e).concat(er(e));
492
492
  }
493
- function rt(e, t) {
493
+ function tt(e, t) {
494
494
  try {
495
495
  return t in e;
496
496
  } catch {
497
497
  return !1;
498
498
  }
499
499
  }
500
- function rr(e, t) {
501
- return rt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
500
+ function tr(e, t) {
501
+ return tt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
502
502
  }
503
- function nr(e, t, r) {
503
+ function rr(e, t, r) {
504
504
  var n = {};
505
- return r.isMergeableObject(e) && Me(e).forEach(function(i) {
506
- n[i] = X(e[i], r);
507
- }), Me(t).forEach(function(i) {
508
- rr(e, i) || (rt(e, i) && r.isMergeableObject(t[i]) ? n[i] = er(i, r)(e[i], t[i], r) : n[i] = X(t[i], r));
505
+ return r.isMergeableObject(e) && Le(e).forEach(function(i) {
506
+ n[i] = k(e[i], r);
507
+ }), Le(t).forEach(function(i) {
508
+ tr(e, i) || (tt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Kt(i, r)(e[i], t[i], r) : n[i] = k(t[i], r));
509
509
  }), n;
510
510
  }
511
- function L(e, t, r) {
512
- r = r || {}, r.arrayMerge = r.arrayMerge || Kt, r.isMergeableObject = r.isMergeableObject || Wt, r.cloneUnlessOtherwiseSpecified = X;
511
+ function $(e, t, r) {
512
+ r = r || {}, r.arrayMerge = r.arrayMerge || Yt, r.isMergeableObject = r.isMergeableObject || Xt, r.cloneUnlessOtherwiseSpecified = k;
513
513
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
514
- return s ? n ? r.arrayMerge(e, t, r) : nr(e, t, r) : X(t, r);
514
+ return s ? n ? r.arrayMerge(e, t, r) : rr(e, t, r) : k(t, r);
515
515
  }
516
- L.all = function(t, r) {
516
+ $.all = function(t, r) {
517
517
  if (!Array.isArray(t))
518
518
  throw new Error("first argument should be an array");
519
519
  return t.reduce(function(n, i) {
520
- return L(n, i, r);
520
+ return $(n, i, r);
521
521
  }, {});
522
522
  };
523
- var ir = L, sr = ir;
524
- const or = /* @__PURE__ */ Xt(sr);
525
- var ge = function(e, t) {
526
- return ge = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
523
+ var nr = $, ir = nr;
524
+ const sr = /* @__PURE__ */ kt(ir);
525
+ /*! *****************************************************************************
526
+ Copyright (c) Microsoft Corporation.
527
+
528
+ Permission to use, copy, modify, and/or distribute this software for any
529
+ purpose with or without fee is hereby granted.
530
+
531
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
532
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
533
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
534
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
535
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
536
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
537
+ PERFORMANCE OF THIS SOFTWARE.
538
+ ***************************************************************************** */
539
+ var pe = function(e, t) {
540
+ return pe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
527
541
  r.__proto__ = n;
528
542
  } || function(r, n) {
529
543
  for (var i in n)
530
544
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
531
- }, ge(e, t);
545
+ }, pe(e, t);
532
546
  };
533
- function ie(e, t) {
547
+ function re(e, t) {
534
548
  if (typeof t != "function" && t !== null)
535
549
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
536
- ge(e, t);
550
+ pe(e, t);
537
551
  function r() {
538
552
  this.constructor = e;
539
553
  }
540
554
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
541
555
  }
542
- var H = function() {
543
- return H = Object.assign || function(t) {
556
+ var p = function() {
557
+ return p = Object.assign || function(t) {
544
558
  for (var r, n = 1, i = arguments.length; n < i; n++) {
545
559
  r = arguments[n];
546
560
  for (var s in r)
547
561
  Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
548
562
  }
549
563
  return t;
550
- }, H.apply(this, arguments);
564
+ }, p.apply(this, arguments);
551
565
  };
552
- function ar(e, t) {
566
+ function or(e, t) {
553
567
  var r = {};
554
568
  for (var n in e)
555
569
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -558,43 +572,46 @@ function ar(e, t) {
558
572
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
559
573
  return r;
560
574
  }
561
- function he(e, t, r) {
562
- if (r || arguments.length === 2)
575
+ function ae(e, t, r) {
576
+ if (arguments.length === 2)
563
577
  for (var n = 0, i = t.length, s; n < i; n++)
564
578
  (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
565
- return e.concat(s || Array.prototype.slice.call(t));
579
+ return e.concat(s || t);
566
580
  }
567
- function le(e, t) {
568
- var r = t && t.cache ? t.cache : pr, n = t && t.serializer ? t.serializer : cr, i = t && t.strategy ? t.strategy : lr;
581
+ function ue(e, t) {
582
+ var r = t && t.cache ? t.cache : mr, n = t && t.serializer ? t.serializer : fr, i = t && t.strategy ? t.strategy : ur;
569
583
  return i(e, {
570
584
  cache: r,
571
585
  serializer: n
572
586
  });
573
587
  }
574
- function ur(e) {
588
+ function ar(e) {
575
589
  return e == null || typeof e == "number" || typeof e == "boolean";
576
590
  }
577
- function hr(e, t, r, n) {
578
- var i = ur(n) ? n : r(n), s = t.get(i);
591
+ function rt(e, t, r, n) {
592
+ var i = ar(n) ? n : r(n), s = t.get(i);
579
593
  return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
580
594
  }
581
595
  function nt(e, t, r) {
582
596
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
583
597
  return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
584
598
  }
585
- function it(e, t, r, n, i) {
599
+ function Ae(e, t, r, n, i) {
586
600
  return r.bind(t, e, n, i);
587
601
  }
588
- function lr(e, t) {
589
- var r = e.length === 1 ? hr : nt;
590
- return it(e, this, r, t.cache.create(), t.serializer);
602
+ function ur(e, t) {
603
+ var r = e.length === 1 ? rt : nt;
604
+ return Ae(e, this, r, t.cache.create(), t.serializer);
605
+ }
606
+ function hr(e, t) {
607
+ return Ae(e, this, nt, t.cache.create(), t.serializer);
591
608
  }
592
- function fr(e, t) {
593
- return it(e, this, nt, t.cache.create(), t.serializer);
609
+ function lr(e, t) {
610
+ return Ae(e, this, rt, t.cache.create(), t.serializer);
594
611
  }
595
- var cr = function() {
612
+ var fr = function() {
596
613
  return JSON.stringify(arguments);
597
- }, mr = (
614
+ }, cr = (
598
615
  /** @class */
599
616
  function() {
600
617
  function e() {
@@ -606,71 +623,62 @@ var cr = function() {
606
623
  this.cache[t] = r;
607
624
  }, e;
608
625
  }()
609
- ), pr = {
626
+ ), mr = {
610
627
  create: function() {
611
- return new mr();
628
+ return new cr();
612
629
  }
613
- }, fe = {
614
- variadic: fr
615
- }, ee = function() {
616
- return ee = Object.assign || function(t) {
617
- for (var r, n = 1, i = arguments.length; n < i; n++) {
618
- r = arguments[n];
619
- for (var s in r)
620
- Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
621
- }
622
- return t;
623
- }, ee.apply(this, arguments);
624
- };
625
- var m;
630
+ }, he = {
631
+ variadic: hr,
632
+ monadic: lr
633
+ }, m;
626
634
  (function(e) {
627
635
  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";
628
636
  })(m || (m = {}));
629
- var g;
637
+ var E;
630
638
  (function(e) {
631
639
  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";
632
- })(g || (g = {}));
633
- var M;
640
+ })(E || (E = {}));
641
+ var L;
634
642
  (function(e) {
635
643
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
636
- })(M || (M = {}));
637
- function Ce(e) {
638
- return e.type === g.literal;
644
+ })(L || (L = {}));
645
+ function Me(e) {
646
+ return e.type === E.literal;
639
647
  }
640
648
  function dr(e) {
641
- return e.type === g.argument;
649
+ return e.type === E.argument;
650
+ }
651
+ function it(e) {
652
+ return e.type === E.number;
642
653
  }
643
654
  function st(e) {
644
- return e.type === g.number;
655
+ return e.type === E.date;
645
656
  }
646
657
  function ot(e) {
647
- return e.type === g.date;
658
+ return e.type === E.time;
648
659
  }
649
660
  function at(e) {
650
- return e.type === g.time;
661
+ return e.type === E.select;
651
662
  }
652
663
  function ut(e) {
653
- return e.type === g.select;
664
+ return e.type === E.plural;
654
665
  }
655
- function ht(e) {
656
- return e.type === g.plural;
666
+ function pr(e) {
667
+ return e.type === E.pound;
657
668
  }
658
- function br(e) {
659
- return e.type === g.pound;
669
+ function ht(e) {
670
+ return e.type === E.tag;
660
671
  }
661
672
  function lt(e) {
662
- return e.type === g.tag;
663
- }
664
- function ft(e) {
665
- return !!(e && typeof e == "object" && e.type === M.number);
673
+ return !!(e && typeof e == "object" && e.type === L.number);
666
674
  }
667
- function Ee(e) {
668
- return !!(e && typeof e == "object" && e.type === M.dateTime);
675
+ function be(e) {
676
+ return !!(e && typeof e == "object" && e.type === L.dateTime);
669
677
  }
670
- var ct = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, gr = /(?:[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;
671
- function Er(e) {
678
+ var ft = /[ \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;
679
+ function gr(e) {
672
680
  var t = {};
673
- return e.replace(gr, function(r) {
681
+ return e.replace(br, function(r) {
674
682
  var n = r.length;
675
683
  switch (r[0]) {
676
684
  case "G":
@@ -759,21 +767,11 @@ function Er(e) {
759
767
  return "";
760
768
  }), t;
761
769
  }
762
- var E = function() {
763
- return E = Object.assign || function(t) {
764
- for (var r, n = 1, i = arguments.length; n < i; n++) {
765
- r = arguments[n];
766
- for (var s in r)
767
- Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
768
- }
769
- return t;
770
- }, E.apply(this, arguments);
771
- };
772
- var yr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
770
+ var Er = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
773
771
  function xr(e) {
774
772
  if (e.length === 0)
775
773
  throw new Error("Number skeleton cannot be empty");
776
- for (var t = e.split(yr).filter(function(c) {
774
+ for (var t = e.split(Er).filter(function(c) {
777
775
  return c.length > 0;
778
776
  }), r = [], n = 0, i = t; n < i.length; n++) {
779
777
  var s = i[n], u = s.split("/");
@@ -788,13 +786,13 @@ function xr(e) {
788
786
  }
789
787
  return r;
790
788
  }
791
- function vr(e) {
789
+ function yr(e) {
792
790
  return e.replace(/^(.*?)-/, "");
793
791
  }
794
- var Re = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, mt = /^(@+)?(\+|#+)?[rs]?$/g, _r = /(\*)(0+)|(#+)(0+)|(0+)/g, pt = /^(0+)$/;
795
- function Ue(e) {
792
+ var Ce = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, ct = /^(@+)?(\+|#+)?[rs]?$/g, _r = /(\*)(0+)|(#+)(0+)|(0+)/g, mt = /^(0+)$/;
793
+ function Re(e) {
796
794
  var t = {};
797
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(mt, function(r, n, i) {
795
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(ct, function(r, n, i) {
798
796
  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)), "";
799
797
  }), t;
800
798
  }
@@ -838,7 +836,7 @@ function dt(e) {
838
836
  };
839
837
  }
840
838
  }
841
- function Hr(e) {
839
+ function vr(e) {
842
840
  var t;
843
841
  if (e[0] === "E" && e[1] === "E" ? (t = {
844
842
  notation: "engineering"
@@ -846,17 +844,17 @@ function Hr(e) {
846
844
  notation: "scientific"
847
845
  }, e = e.slice(1)), t) {
848
846
  var r = e.slice(0, 2);
849
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !pt.test(e))
847
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !mt.test(e))
850
848
  throw new Error("Malformed concise eng/scientific notation");
851
849
  t.minimumIntegerDigits = e.length;
852
850
  }
853
851
  return t;
854
852
  }
855
- function Ge(e) {
853
+ function Ue(e) {
856
854
  var t = {}, r = dt(e);
857
855
  return r || t;
858
856
  }
859
- function Sr(e) {
857
+ function Hr(e) {
860
858
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
861
859
  var i = n[r];
862
860
  switch (i.stem) {
@@ -880,7 +878,7 @@ function Sr(e) {
880
878
  continue;
881
879
  case "measure-unit":
882
880
  case "unit":
883
- t.style = "unit", t.unit = vr(i.options[0]);
881
+ t.style = "unit", t.unit = yr(i.options[0]);
884
882
  continue;
885
883
  case "compact-short":
886
884
  case "K":
@@ -891,13 +889,13 @@ function Sr(e) {
891
889
  t.notation = "compact", t.compactDisplay = "long";
892
890
  continue;
893
891
  case "scientific":
894
- t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(f, a) {
895
- return E(E({}, f), Ge(a));
892
+ t = p(p(p({}, t), { notation: "scientific" }), i.options.reduce(function(f, a) {
893
+ return p(p({}, f), Ue(a));
896
894
  }, {}));
897
895
  continue;
898
896
  case "engineering":
899
- t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(f, a) {
900
- return E(E({}, f), Ge(a));
897
+ t = p(p(p({}, t), { notation: "engineering" }), i.options.reduce(function(f, a) {
898
+ return p(p({}, f), Ue(a));
901
899
  }, {}));
902
900
  continue;
903
901
  case "notation-simple":
@@ -942,45 +940,45 @@ function Sr(e) {
942
940
  case "integer-width":
943
941
  if (i.options.length > 1)
944
942
  throw new RangeError("integer-width stems only accept a single optional option");
945
- i.options[0].replace(_r, function(f, a, h, l, c, d) {
943
+ i.options[0].replace(_r, function(f, a, h, l, c, b) {
946
944
  if (a)
947
945
  t.minimumIntegerDigits = h.length;
948
946
  else {
949
947
  if (l && c)
950
948
  throw new Error("We currently do not support maximum integer digits");
951
- if (d)
949
+ if (b)
952
950
  throw new Error("We currently do not support exact integer digits");
953
951
  }
954
952
  return "";
955
953
  });
956
954
  continue;
957
955
  }
958
- if (pt.test(i.stem)) {
956
+ if (mt.test(i.stem)) {
959
957
  t.minimumIntegerDigits = i.stem.length;
960
958
  continue;
961
959
  }
962
- if (Re.test(i.stem)) {
960
+ if (Ce.test(i.stem)) {
963
961
  if (i.options.length > 1)
964
962
  throw new RangeError("Fraction-precision stems only accept a single optional option");
965
- i.stem.replace(Re, function(f, a, h, l, c, d) {
966
- return h === "*" ? t.minimumFractionDigits = a.length : l && l[0] === "#" ? t.maximumFractionDigits = l.length : c && d ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + d.length) : (t.minimumFractionDigits = a.length, t.maximumFractionDigits = a.length), "";
963
+ i.stem.replace(Ce, function(f, a, h, l, c, b) {
964
+ return h === "*" ? t.minimumFractionDigits = a.length : l && l[0] === "#" ? t.maximumFractionDigits = l.length : c && b ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + b.length) : (t.minimumFractionDigits = a.length, t.maximumFractionDigits = a.length), "";
967
965
  });
968
966
  var s = i.options[0];
969
- s === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = E(E({}, t), Ue(s)));
967
+ s === "w" ? t = p(p({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = p(p({}, t), Re(s)));
970
968
  continue;
971
969
  }
972
- if (mt.test(i.stem)) {
973
- t = E(E({}, t), Ue(i.stem));
970
+ if (ct.test(i.stem)) {
971
+ t = p(p({}, t), Re(i.stem));
974
972
  continue;
975
973
  }
976
974
  var u = dt(i.stem);
977
- u && (t = E(E({}, t), u));
978
- var o = Hr(i.stem);
979
- o && (t = E(E({}, t), o));
975
+ u && (t = p(p({}, t), u));
976
+ var o = vr(i.stem);
977
+ o && (t = p(p({}, t), o));
980
978
  }
981
979
  return t;
982
980
  }
983
- var J = {
981
+ var Q = {
984
982
  "001": [
985
983
  "H",
986
984
  "h"
@@ -2401,7 +2399,7 @@ function Tr(e, t) {
2401
2399
  if (i === "j") {
2402
2400
  for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2403
2401
  s++, n++;
2404
- var u = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), f = "a", a = Br(t);
2402
+ var u = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), f = "a", a = Sr(t);
2405
2403
  for ((a == "H" || a == "k") && (o = 0); o-- > 0; )
2406
2404
  r += f;
2407
2405
  for (; u-- > 0; )
@@ -2411,7 +2409,7 @@ function Tr(e, t) {
2411
2409
  }
2412
2410
  return r;
2413
2411
  }
2414
- function Br(e) {
2412
+ function Sr(e) {
2415
2413
  var t = e.hourCycle;
2416
2414
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2417
2415
  e.hourCycles && // @ts-ignore
@@ -2430,23 +2428,23 @@ function Br(e) {
2430
2428
  }
2431
2429
  var r = e.language, n;
2432
2430
  r !== "root" && (n = e.maximize().region);
2433
- var i = J[n || ""] || J[r || ""] || J["".concat(r, "-001")] || J["001"];
2431
+ var i = Q[n || ""] || Q[r || ""] || Q["".concat(r, "-001")] || Q["001"];
2434
2432
  return i[0];
2435
2433
  }
2436
- var ce, Ar = new RegExp("^".concat(ct.source, "*")), Pr = new RegExp("".concat(ct.source, "*$"));
2437
- function p(e, t) {
2434
+ var le, Br = new RegExp("^".concat(ft.source, "*")), Ar = new RegExp("".concat(ft.source, "*$"));
2435
+ function d(e, t) {
2438
2436
  return { start: e, end: t };
2439
2437
  }
2440
- var Or = !!String.prototype.startsWith && "_a".startsWith("a", 1), Nr = !!String.fromCodePoint, wr = !!Object.fromEntries, Ir = !!String.prototype.codePointAt, $r = !!String.prototype.trimStart, Lr = !!String.prototype.trimEnd, Mr = !!Number.isSafeInteger, Cr = Mr ? Number.isSafeInteger : function(e) {
2438
+ var Pr = !!String.prototype.startsWith && "_a".startsWith("a", 1), Nr = !!String.fromCodePoint, Or = !!Object.fromEntries, Ir = !!String.prototype.codePointAt, wr = !!String.prototype.trimStart, $r = !!String.prototype.trimEnd, Lr = !!Number.isSafeInteger, Mr = Lr ? Number.isSafeInteger : function(e) {
2441
2439
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2442
- }, ye = !0;
2440
+ }, ge = !0;
2443
2441
  try {
2444
- var Rr = gt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2445
- ye = ((ce = Rr.exec("a")) === null || ce === void 0 ? void 0 : ce[0]) === "a";
2442
+ var Cr = bt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2443
+ ge = ((le = Cr.exec("a")) === null || le === void 0 ? void 0 : le[0]) === "a";
2446
2444
  } catch {
2447
- ye = !1;
2445
+ ge = !1;
2448
2446
  }
2449
- var De = Or ? (
2447
+ var Ge = Pr ? (
2450
2448
  // Native
2451
2449
  function(t, r, n) {
2452
2450
  return t.startsWith(r, n);
@@ -2456,7 +2454,7 @@ var De = Or ? (
2456
2454
  function(t, r, n) {
2457
2455
  return t.slice(n, n + r.length) === r;
2458
2456
  }
2459
- ), xe = Nr ? String.fromCodePoint : (
2457
+ ), Ee = Nr ? String.fromCodePoint : (
2460
2458
  // IE11
2461
2459
  function() {
2462
2460
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2468,9 +2466,9 @@ var De = Or ? (
2468
2466
  }
2469
2467
  return n;
2470
2468
  }
2471
- ), Fe = (
2469
+ ), De = (
2472
2470
  // native
2473
- wr ? Object.fromEntries : (
2471
+ Or ? Object.fromEntries : (
2474
2472
  // Ponyfill
2475
2473
  function(t) {
2476
2474
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2480,7 +2478,7 @@ var De = Or ? (
2480
2478
  return r;
2481
2479
  }
2482
2480
  )
2483
- ), bt = Ir ? (
2481
+ ), pt = Ir ? (
2484
2482
  // Native
2485
2483
  function(t, r) {
2486
2484
  return t.codePointAt(r);
@@ -2494,7 +2492,7 @@ var De = Or ? (
2494
2492
  return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
2495
2493
  }
2496
2494
  }
2497
- ), Ur = $r ? (
2495
+ ), Rr = wr ? (
2498
2496
  // Native
2499
2497
  function(t) {
2500
2498
  return t.trimStart();
@@ -2502,9 +2500,9 @@ var De = Or ? (
2502
2500
  ) : (
2503
2501
  // Ponyfill
2504
2502
  function(t) {
2505
- return t.replace(Ar, "");
2503
+ return t.replace(Br, "");
2506
2504
  }
2507
- ), Gr = Lr ? (
2505
+ ), Ur = $r ? (
2508
2506
  // Native
2509
2507
  function(t) {
2510
2508
  return t.trimEnd();
@@ -2512,32 +2510,32 @@ var De = Or ? (
2512
2510
  ) : (
2513
2511
  // Ponyfill
2514
2512
  function(t) {
2515
- return t.replace(Pr, "");
2513
+ return t.replace(Ar, "");
2516
2514
  }
2517
2515
  );
2518
- function gt(e, t) {
2516
+ function bt(e, t) {
2519
2517
  return new RegExp(e, t);
2520
2518
  }
2521
- var ve;
2522
- if (ye) {
2523
- var je = gt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2524
- ve = function(t, r) {
2519
+ var xe;
2520
+ if (ge) {
2521
+ var Fe = bt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2522
+ xe = function(t, r) {
2525
2523
  var n;
2526
- je.lastIndex = r;
2527
- var i = je.exec(t);
2524
+ Fe.lastIndex = r;
2525
+ var i = Fe.exec(t);
2528
2526
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2529
2527
  };
2530
2528
  } else
2531
- ve = function(t, r) {
2529
+ xe = function(t, r) {
2532
2530
  for (var n = []; ; ) {
2533
- var i = bt(t, r);
2534
- if (i === void 0 || Et(i) || Vr(i))
2531
+ var i = pt(t, r);
2532
+ if (i === void 0 || gt(i) || jr(i))
2535
2533
  break;
2536
2534
  n.push(i), r += i >= 65536 ? 2 : 1;
2537
2535
  }
2538
- return xe.apply(void 0, n);
2536
+ return Ee.apply(void 0, n);
2539
2537
  };
2540
- var Dr = (
2538
+ var Gr = (
2541
2539
  /** @class */
2542
2540
  function() {
2543
2541
  function e(t, r) {
@@ -2561,14 +2559,14 @@ var Dr = (
2561
2559
  if (s === 35 && (r === "plural" || r === "selectordinal")) {
2562
2560
  var o = this.clonePosition();
2563
2561
  this.bump(), i.push({
2564
- type: g.pound,
2565
- location: p(o, this.clonePosition())
2562
+ type: E.pound,
2563
+ location: d(o, this.clonePosition())
2566
2564
  });
2567
2565
  } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
2568
2566
  if (n)
2569
2567
  break;
2570
- return this.error(m.UNMATCHED_CLOSING_TAG, p(this.clonePosition(), this.clonePosition()));
2571
- } else if (s === 60 && !this.ignoreTag && _e(this.peek() || 0)) {
2568
+ return this.error(m.UNMATCHED_CLOSING_TAG, d(this.clonePosition(), this.clonePosition()));
2569
+ } else if (s === 60 && !this.ignoreTag && ye(this.peek() || 0)) {
2572
2570
  var u = this.parseTag(t, r);
2573
2571
  if (u.err)
2574
2572
  return u;
@@ -2589,9 +2587,9 @@ var Dr = (
2589
2587
  if (this.bumpSpace(), this.bumpIf("/>"))
2590
2588
  return {
2591
2589
  val: {
2592
- type: g.literal,
2590
+ type: E.literal,
2593
2591
  value: "<".concat(i, "/>"),
2594
- location: p(n, this.clonePosition())
2592
+ location: d(n, this.clonePosition())
2595
2593
  },
2596
2594
  err: null
2597
2595
  };
@@ -2601,25 +2599,25 @@ var Dr = (
2601
2599
  return s;
2602
2600
  var u = s.val, o = this.clonePosition();
2603
2601
  if (this.bumpIf("</")) {
2604
- if (this.isEOF() || !_e(this.char()))
2605
- return this.error(m.INVALID_TAG, p(o, this.clonePosition()));
2602
+ if (this.isEOF() || !ye(this.char()))
2603
+ return this.error(m.INVALID_TAG, d(o, this.clonePosition()));
2606
2604
  var f = this.clonePosition(), a = this.parseTagName();
2607
- return i !== a ? this.error(m.UNMATCHED_CLOSING_TAG, p(f, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2605
+ return i !== a ? this.error(m.UNMATCHED_CLOSING_TAG, d(f, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2608
2606
  val: {
2609
- type: g.tag,
2607
+ type: E.tag,
2610
2608
  value: i,
2611
2609
  children: u,
2612
- location: p(n, this.clonePosition())
2610
+ location: d(n, this.clonePosition())
2613
2611
  },
2614
2612
  err: null
2615
- } : this.error(m.INVALID_TAG, p(o, this.clonePosition())));
2613
+ } : this.error(m.INVALID_TAG, d(o, this.clonePosition())));
2616
2614
  } else
2617
- return this.error(m.UNCLOSED_TAG, p(n, this.clonePosition()));
2615
+ return this.error(m.UNCLOSED_TAG, d(n, this.clonePosition()));
2618
2616
  } else
2619
- return this.error(m.INVALID_TAG, p(n, this.clonePosition()));
2617
+ return this.error(m.INVALID_TAG, d(n, this.clonePosition()));
2620
2618
  }, e.prototype.parseTagName = function() {
2621
2619
  var t = this.offset();
2622
- for (this.bump(); !this.isEOF() && jr(this.char()); )
2620
+ for (this.bump(); !this.isEOF() && Fr(this.char()); )
2623
2621
  this.bump();
2624
2622
  return this.message.slice(t, this.offset());
2625
2623
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2641,14 +2639,14 @@ var Dr = (
2641
2639
  }
2642
2640
  break;
2643
2641
  }
2644
- var f = p(n, this.clonePosition());
2642
+ var f = d(n, this.clonePosition());
2645
2643
  return {
2646
- val: { type: g.literal, value: i, location: f },
2644
+ val: { type: E.literal, value: i, location: f },
2647
2645
  err: null
2648
2646
  };
2649
2647
  }, e.prototype.tryParseLeftAngleBracket = function() {
2650
2648
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2651
- !Fr(this.peek() || 0)) ? (this.bump(), "<") : null;
2649
+ !Dr(this.peek() || 0)) ? (this.bump(), "<") : null;
2652
2650
  }, e.prototype.tryParseQuote = function(t) {
2653
2651
  if (this.isEOF() || this.char() !== 39)
2654
2652
  return null;
@@ -2682,49 +2680,49 @@ var Dr = (
2682
2680
  r.push(n);
2683
2681
  this.bump();
2684
2682
  }
2685
- return xe.apply(void 0, r);
2683
+ return Ee.apply(void 0, r);
2686
2684
  }, e.prototype.tryParseUnquoted = function(t, r) {
2687
2685
  if (this.isEOF())
2688
2686
  return null;
2689
2687
  var n = this.char();
2690
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), xe(n));
2688
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ee(n));
2691
2689
  }, e.prototype.parseArgument = function(t, r) {
2692
2690
  var n = this.clonePosition();
2693
2691
  if (this.bump(), this.bumpSpace(), this.isEOF())
2694
- return this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE, p(n, this.clonePosition()));
2692
+ return this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE, d(n, this.clonePosition()));
2695
2693
  if (this.char() === 125)
2696
- return this.bump(), this.error(m.EMPTY_ARGUMENT, p(n, this.clonePosition()));
2694
+ return this.bump(), this.error(m.EMPTY_ARGUMENT, d(n, this.clonePosition()));
2697
2695
  var i = this.parseIdentifierIfPossible().value;
2698
2696
  if (!i)
2699
- return this.error(m.MALFORMED_ARGUMENT, p(n, this.clonePosition()));
2697
+ return this.error(m.MALFORMED_ARGUMENT, d(n, this.clonePosition()));
2700
2698
  if (this.bumpSpace(), this.isEOF())
2701
- return this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE, p(n, this.clonePosition()));
2699
+ return this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE, d(n, this.clonePosition()));
2702
2700
  switch (this.char()) {
2703
2701
  case 125:
2704
2702
  return this.bump(), {
2705
2703
  val: {
2706
- type: g.argument,
2704
+ type: E.argument,
2707
2705
  // value does not include the opening and closing braces.
2708
2706
  value: i,
2709
- location: p(n, this.clonePosition())
2707
+ location: d(n, this.clonePosition())
2710
2708
  },
2711
2709
  err: null
2712
2710
  };
2713
2711
  case 44:
2714
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE, p(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2712
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE, d(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2715
2713
  default:
2716
- return this.error(m.MALFORMED_ARGUMENT, p(n, this.clonePosition()));
2714
+ return this.error(m.MALFORMED_ARGUMENT, d(n, this.clonePosition()));
2717
2715
  }
2718
2716
  }, e.prototype.parseIdentifierIfPossible = function() {
2719
- var t = this.clonePosition(), r = this.offset(), n = ve(this.message, r), i = r + n.length;
2717
+ var t = this.clonePosition(), r = this.offset(), n = xe(this.message, r), i = r + n.length;
2720
2718
  this.bumpTo(i);
2721
- var s = this.clonePosition(), u = p(t, s);
2719
+ var s = this.clonePosition(), u = d(t, s);
2722
2720
  return { value: n, location: u };
2723
2721
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
2724
2722
  var s, u = this.clonePosition(), o = this.parseIdentifierIfPossible().value, f = this.clonePosition();
2725
2723
  switch (o) {
2726
2724
  case "":
2727
- return this.error(m.EXPECT_ARGUMENT_TYPE, p(u, f));
2725
+ return this.error(m.EXPECT_ARGUMENT_TYPE, d(u, f));
2728
2726
  case "number":
2729
2727
  case "date":
2730
2728
  case "time": {
@@ -2735,46 +2733,46 @@ var Dr = (
2735
2733
  var h = this.clonePosition(), l = this.parseSimpleArgStyleIfPossible();
2736
2734
  if (l.err)
2737
2735
  return l;
2738
- var c = Gr(l.val);
2736
+ var c = Ur(l.val);
2739
2737
  if (c.length === 0)
2740
- return this.error(m.EXPECT_ARGUMENT_STYLE, p(this.clonePosition(), this.clonePosition()));
2741
- var d = p(h, this.clonePosition());
2742
- a = { style: c, styleLocation: d };
2738
+ return this.error(m.EXPECT_ARGUMENT_STYLE, d(this.clonePosition(), this.clonePosition()));
2739
+ var b = d(h, this.clonePosition());
2740
+ a = { style: c, styleLocation: b };
2743
2741
  }
2744
- var b = this.tryParseArgumentClose(i);
2745
- if (b.err)
2746
- return b;
2747
- var x = p(i, this.clonePosition());
2748
- if (a && De(a?.style, "::", 0)) {
2749
- var S = Ur(a.style.slice(2));
2742
+ var g = this.tryParseArgumentClose(i);
2743
+ if (g.err)
2744
+ return g;
2745
+ var y = d(i, this.clonePosition());
2746
+ if (a && Ge(a?.style, "::", 0)) {
2747
+ var H = Rr(a.style.slice(2));
2750
2748
  if (o === "number") {
2751
- var l = this.parseNumberSkeletonFromString(S, a.styleLocation);
2749
+ var l = this.parseNumberSkeletonFromString(H, a.styleLocation);
2752
2750
  return l.err ? l : {
2753
- val: { type: g.number, value: n, location: x, style: l.val },
2751
+ val: { type: E.number, value: n, location: y, style: l.val },
2754
2752
  err: null
2755
2753
  };
2756
2754
  } else {
2757
- if (S.length === 0)
2758
- return this.error(m.EXPECT_DATE_TIME_SKELETON, x);
2759
- var F = S;
2760
- this.locale && (F = Tr(S, this.locale));
2755
+ if (H.length === 0)
2756
+ return this.error(m.EXPECT_DATE_TIME_SKELETON, y);
2757
+ var D = H;
2758
+ this.locale && (D = Tr(H, this.locale));
2761
2759
  var c = {
2762
- type: M.dateTime,
2763
- pattern: F,
2760
+ type: L.dateTime,
2761
+ pattern: D,
2764
2762
  location: a.styleLocation,
2765
- parsedOptions: this.shouldParseSkeletons ? Er(F) : {}
2766
- }, P = o === "date" ? g.date : g.time;
2763
+ parsedOptions: this.shouldParseSkeletons ? gr(D) : {}
2764
+ }, A = o === "date" ? E.date : E.time;
2767
2765
  return {
2768
- val: { type: P, value: n, location: x, style: c },
2766
+ val: { type: A, value: n, location: y, style: c },
2769
2767
  err: null
2770
2768
  };
2771
2769
  }
2772
2770
  }
2773
2771
  return {
2774
2772
  val: {
2775
- type: o === "number" ? g.number : o === "date" ? g.date : g.time,
2773
+ type: o === "number" ? E.number : o === "date" ? E.date : E.time,
2776
2774
  value: n,
2777
- location: x,
2775
+ location: y,
2778
2776
  style: (s = a?.style) !== null && s !== void 0 ? s : null
2779
2777
  },
2780
2778
  err: null
@@ -2783,52 +2781,52 @@ var Dr = (
2783
2781
  case "plural":
2784
2782
  case "selectordinal":
2785
2783
  case "select": {
2786
- var _ = this.clonePosition();
2784
+ var v = this.clonePosition();
2787
2785
  if (this.bumpSpace(), !this.bumpIf(","))
2788
- return this.error(m.EXPECT_SELECT_ARGUMENT_OPTIONS, p(_, ee({}, _)));
2786
+ return this.error(m.EXPECT_SELECT_ARGUMENT_OPTIONS, d(v, p({}, v)));
2789
2787
  this.bumpSpace();
2790
- var j = this.parseIdentifierIfPossible(), B = 0;
2791
- if (o !== "select" && j.value === "offset") {
2788
+ var F = this.parseIdentifierIfPossible(), S = 0;
2789
+ if (o !== "select" && F.value === "offset") {
2792
2790
  if (!this.bumpIf(":"))
2793
- return this.error(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, p(this.clonePosition(), this.clonePosition()));
2791
+ return this.error(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, d(this.clonePosition(), this.clonePosition()));
2794
2792
  this.bumpSpace();
2795
2793
  var l = this.tryParseDecimalInteger(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, m.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2796
2794
  if (l.err)
2797
2795
  return l;
2798
- this.bumpSpace(), j = this.parseIdentifierIfPossible(), B = l.val;
2796
+ this.bumpSpace(), F = this.parseIdentifierIfPossible(), S = l.val;
2799
2797
  }
2800
- var Q = this.tryParsePluralOrSelectOptions(t, o, r, j);
2801
- if (Q.err)
2802
- return Q;
2803
- var b = this.tryParseArgumentClose(i);
2804
- if (b.err)
2805
- return b;
2806
- var we = p(i, this.clonePosition());
2798
+ var Z = this.tryParsePluralOrSelectOptions(t, o, r, F);
2799
+ if (Z.err)
2800
+ return Z;
2801
+ var g = this.tryParseArgumentClose(i);
2802
+ if (g.err)
2803
+ return g;
2804
+ var Oe = d(i, this.clonePosition());
2807
2805
  return o === "select" ? {
2808
2806
  val: {
2809
- type: g.select,
2807
+ type: E.select,
2810
2808
  value: n,
2811
- options: Fe(Q.val),
2812
- location: we
2809
+ options: De(Z.val),
2810
+ location: Oe
2813
2811
  },
2814
2812
  err: null
2815
2813
  } : {
2816
2814
  val: {
2817
- type: g.plural,
2815
+ type: E.plural,
2818
2816
  value: n,
2819
- options: Fe(Q.val),
2820
- offset: B,
2817
+ options: De(Z.val),
2818
+ offset: S,
2821
2819
  pluralType: o === "plural" ? "cardinal" : "ordinal",
2822
- location: we
2820
+ location: Oe
2823
2821
  },
2824
2822
  err: null
2825
2823
  };
2826
2824
  }
2827
2825
  default:
2828
- return this.error(m.INVALID_ARGUMENT_TYPE, p(u, f));
2826
+ return this.error(m.INVALID_ARGUMENT_TYPE, d(u, f));
2829
2827
  }
2830
2828
  }, e.prototype.tryParseArgumentClose = function(t) {
2831
- return this.isEOF() || this.char() !== 125 ? this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE, p(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2829
+ return this.isEOF() || this.char() !== 125 ? this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE, d(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2832
2830
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
2833
2831
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
2834
2832
  var n = this.char();
@@ -2837,7 +2835,7 @@ var Dr = (
2837
2835
  this.bump();
2838
2836
  var i = this.clonePosition();
2839
2837
  if (!this.bumpUntil("'"))
2840
- return this.error(m.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, p(i, this.clonePosition()));
2838
+ return this.error(m.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, d(i, this.clonePosition()));
2841
2839
  this.bump();
2842
2840
  break;
2843
2841
  }
@@ -2873,10 +2871,10 @@ var Dr = (
2873
2871
  }
2874
2872
  return {
2875
2873
  val: {
2876
- type: M.number,
2874
+ type: L.number,
2877
2875
  tokens: n,
2878
2876
  location: r,
2879
- parsedOptions: this.shouldParseSkeletons ? Sr(n) : {}
2877
+ parsedOptions: this.shouldParseSkeletons ? Hr(n) : {}
2880
2878
  },
2881
2879
  err: null
2882
2880
  };
@@ -2888,31 +2886,31 @@ var Dr = (
2888
2886
  var c = this.tryParseDecimalInteger(m.EXPECT_PLURAL_ARGUMENT_SELECTOR, m.INVALID_PLURAL_ARGUMENT_SELECTOR);
2889
2887
  if (c.err)
2890
2888
  return c;
2891
- h = p(l, this.clonePosition()), a = this.message.slice(l.offset, this.offset());
2889
+ h = d(l, this.clonePosition()), a = this.message.slice(l.offset, this.offset());
2892
2890
  } else
2893
2891
  break;
2894
2892
  }
2895
2893
  if (f.has(a))
2896
2894
  return this.error(r === "select" ? m.DUPLICATE_SELECT_ARGUMENT_SELECTOR : m.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
2897
2895
  a === "other" && (u = !0), this.bumpSpace();
2898
- var d = this.clonePosition();
2896
+ var b = this.clonePosition();
2899
2897
  if (!this.bumpIf("{"))
2900
- return this.error(r === "select" ? m.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : m.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, p(this.clonePosition(), this.clonePosition()));
2901
- var b = this.parseMessage(t + 1, r, n);
2902
- if (b.err)
2903
- return b;
2904
- var x = this.tryParseArgumentClose(d);
2905
- if (x.err)
2906
- return x;
2898
+ return this.error(r === "select" ? m.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : m.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, d(this.clonePosition(), this.clonePosition()));
2899
+ var g = this.parseMessage(t + 1, r, n);
2900
+ if (g.err)
2901
+ return g;
2902
+ var y = this.tryParseArgumentClose(b);
2903
+ if (y.err)
2904
+ return y;
2907
2905
  o.push([
2908
2906
  a,
2909
2907
  {
2910
- value: b.val,
2911
- location: p(d, this.clonePosition())
2908
+ value: g.val,
2909
+ location: d(b, this.clonePosition())
2912
2910
  }
2913
2911
  ]), f.add(a), this.bumpSpace(), s = this.parseIdentifierIfPossible(), a = s.value, h = s.location;
2914
2912
  }
2915
- return o.length === 0 ? this.error(r === "select" ? m.EXPECT_SELECT_ARGUMENT_SELECTOR : m.EXPECT_PLURAL_ARGUMENT_SELECTOR, p(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !u ? this.error(m.MISSING_OTHER_CLAUSE, p(this.clonePosition(), this.clonePosition())) : { val: o, err: null };
2913
+ return o.length === 0 ? this.error(r === "select" ? m.EXPECT_SELECT_ARGUMENT_SELECTOR : m.EXPECT_PLURAL_ARGUMENT_SELECTOR, d(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !u ? this.error(m.MISSING_OTHER_CLAUSE, d(this.clonePosition(), this.clonePosition())) : { val: o, err: null };
2916
2914
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
2917
2915
  var n = 1, i = this.clonePosition();
2918
2916
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -2923,8 +2921,8 @@ var Dr = (
2923
2921
  else
2924
2922
  break;
2925
2923
  }
2926
- var f = p(i, this.clonePosition());
2927
- return s ? (u *= n, Cr(u) ? { val: u, err: null } : this.error(r, f)) : this.error(t, f);
2924
+ var f = d(i, this.clonePosition());
2925
+ return s ? (u *= n, Mr(u) ? { val: u, err: null } : this.error(r, f)) : this.error(t, f);
2928
2926
  }, e.prototype.offset = function() {
2929
2927
  return this.position.offset;
2930
2928
  }, e.prototype.isEOF = function() {
@@ -2939,7 +2937,7 @@ var Dr = (
2939
2937
  var t = this.position.offset;
2940
2938
  if (t >= this.message.length)
2941
2939
  throw Error("out of bound");
2942
- var r = bt(this.message, t);
2940
+ var r = pt(this.message, t);
2943
2941
  if (r === void 0)
2944
2942
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
2945
2943
  return r;
@@ -2958,7 +2956,7 @@ var Dr = (
2958
2956
  t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
2959
2957
  }
2960
2958
  }, e.prototype.bumpIf = function(t) {
2961
- if (De(this.message, t, this.offset())) {
2959
+ if (Ge(this.message, t, this.offset())) {
2962
2960
  for (var r = 0; r < t.length; r++)
2963
2961
  this.bump();
2964
2962
  return !0;
@@ -2980,7 +2978,7 @@ var Dr = (
2980
2978
  break;
2981
2979
  }
2982
2980
  }, e.prototype.bumpSpace = function() {
2983
- for (; !this.isEOF() && Et(this.char()); )
2981
+ for (; !this.isEOF() && gt(this.char()); )
2984
2982
  this.bump();
2985
2983
  }, e.prototype.peek = function() {
2986
2984
  if (this.isEOF())
@@ -2990,47 +2988,47 @@ var Dr = (
2990
2988
  }, e;
2991
2989
  }()
2992
2990
  );
2993
- function _e(e) {
2991
+ function ye(e) {
2994
2992
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
2995
2993
  }
2996
- function Fr(e) {
2997
- return _e(e) || e === 47;
2994
+ function Dr(e) {
2995
+ return ye(e) || e === 47;
2998
2996
  }
2999
- function jr(e) {
2997
+ function Fr(e) {
3000
2998
  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;
3001
2999
  }
3002
- function Et(e) {
3000
+ function gt(e) {
3003
3001
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3004
3002
  }
3005
- function Vr(e) {
3003
+ function jr(e) {
3006
3004
  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;
3007
3005
  }
3008
- function He(e) {
3006
+ function _e(e) {
3009
3007
  e.forEach(function(t) {
3010
- if (delete t.location, ut(t) || ht(t))
3008
+ if (delete t.location, at(t) || ut(t))
3011
3009
  for (var r in t.options)
3012
- delete t.options[r].location, He(t.options[r].value);
3010
+ delete t.options[r].location, _e(t.options[r].value);
3013
3011
  else
3014
- st(t) && ft(t.style) || (ot(t) || at(t)) && Ee(t.style) ? delete t.style.location : lt(t) && He(t.children);
3012
+ it(t) && lt(t.style) || (st(t) || ot(t)) && be(t.style) ? delete t.style.location : ht(t) && _e(t.children);
3015
3013
  });
3016
3014
  }
3017
- function kr(e, t) {
3018
- t === void 0 && (t = {}), t = ee({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3019
- var r = new Dr(e, t).parse();
3015
+ function Vr(e, t) {
3016
+ t === void 0 && (t = {}), t = p({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3017
+ var r = new Gr(e, t).parse();
3020
3018
  if (r.err) {
3021
3019
  var n = SyntaxError(m[r.err.kind]);
3022
3020
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3023
3021
  }
3024
- return t?.captureLocation || He(r.val), r.val;
3022
+ return t?.captureLocation || _e(r.val), r.val;
3025
3023
  }
3026
- var C;
3024
+ var M;
3027
3025
  (function(e) {
3028
3026
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3029
- })(C || (C = {}));
3030
- var se = (
3027
+ })(M || (M = {}));
3028
+ var ne = (
3031
3029
  /** @class */
3032
3030
  function(e) {
3033
- ie(t, e);
3031
+ re(t, e);
3034
3032
  function t(r, n, i) {
3035
3033
  var s = e.call(this, r) || this;
3036
3034
  return s.code = n, s.originalMessage = i, s;
@@ -3039,155 +3037,155 @@ var se = (
3039
3037
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3040
3038
  }, t;
3041
3039
  }(Error)
3042
- ), Ve = (
3040
+ ), je = (
3043
3041
  /** @class */
3044
3042
  function(e) {
3045
- ie(t, e);
3043
+ re(t, e);
3046
3044
  function t(r, n, i, s) {
3047
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), C.INVALID_VALUE, s) || this;
3045
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), M.INVALID_VALUE, s) || this;
3048
3046
  }
3049
3047
  return t;
3050
- }(se)
3051
- ), Xr = (
3048
+ }(ne)
3049
+ ), kr = (
3052
3050
  /** @class */
3053
3051
  function(e) {
3054
- ie(t, e);
3052
+ re(t, e);
3055
3053
  function t(r, n, i) {
3056
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), C.INVALID_VALUE, i) || this;
3054
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), M.INVALID_VALUE, i) || this;
3057
3055
  }
3058
3056
  return t;
3059
- }(se)
3060
- ), Wr = (
3057
+ }(ne)
3058
+ ), Xr = (
3061
3059
  /** @class */
3062
3060
  function(e) {
3063
- ie(t, e);
3061
+ re(t, e);
3064
3062
  function t(r, n) {
3065
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), C.MISSING_VALUE, n) || this;
3063
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), M.MISSING_VALUE, n) || this;
3066
3064
  }
3067
3065
  return t;
3068
- }(se)
3069
- ), y;
3066
+ }(ne)
3067
+ ), x;
3070
3068
  (function(e) {
3071
3069
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3072
- })(y || (y = {}));
3073
- function zr(e) {
3070
+ })(x || (x = {}));
3071
+ function Wr(e) {
3074
3072
  return e.length < 2 ? e : e.reduce(function(t, r) {
3075
3073
  var n = t[t.length - 1];
3076
- return !n || n.type !== y.literal || r.type !== y.literal ? t.push(r) : n.value += r.value, t;
3074
+ return !n || n.type !== x.literal || r.type !== x.literal ? t.push(r) : n.value += r.value, t;
3077
3075
  }, []);
3078
3076
  }
3079
- function Zr(e) {
3077
+ function zr(e) {
3080
3078
  return typeof e == "function";
3081
3079
  }
3082
- function Y(e, t, r, n, i, s, u) {
3083
- if (e.length === 1 && Ce(e[0]))
3080
+ function q(e, t, r, n, i, s, u) {
3081
+ if (e.length === 1 && Me(e[0]))
3084
3082
  return [
3085
3083
  {
3086
- type: y.literal,
3084
+ type: x.literal,
3087
3085
  value: e[0].value
3088
3086
  }
3089
3087
  ];
3090
3088
  for (var o = [], f = 0, a = e; f < a.length; f++) {
3091
3089
  var h = a[f];
3092
- if (Ce(h)) {
3090
+ if (Me(h)) {
3093
3091
  o.push({
3094
- type: y.literal,
3092
+ type: x.literal,
3095
3093
  value: h.value
3096
3094
  });
3097
3095
  continue;
3098
3096
  }
3099
- if (br(h)) {
3097
+ if (pr(h)) {
3100
3098
  typeof s == "number" && o.push({
3101
- type: y.literal,
3099
+ type: x.literal,
3102
3100
  value: r.getNumberFormat(t).format(s)
3103
3101
  });
3104
3102
  continue;
3105
3103
  }
3106
3104
  var l = h.value;
3107
3105
  if (!(i && l in i))
3108
- throw new Wr(l, u);
3106
+ throw new Xr(l, u);
3109
3107
  var c = i[l];
3110
3108
  if (dr(h)) {
3111
3109
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), o.push({
3112
- type: typeof c == "string" ? y.literal : y.object,
3110
+ type: typeof c == "string" ? x.literal : x.object,
3113
3111
  value: c
3114
3112
  });
3115
3113
  continue;
3116
3114
  }
3117
- if (ot(h)) {
3118
- var d = typeof h.style == "string" ? n.date[h.style] : Ee(h.style) ? h.style.parsedOptions : void 0;
3115
+ if (st(h)) {
3116
+ var b = typeof h.style == "string" ? n.date[h.style] : be(h.style) ? h.style.parsedOptions : void 0;
3119
3117
  o.push({
3120
- type: y.literal,
3121
- value: r.getDateTimeFormat(t, d).format(c)
3118
+ type: x.literal,
3119
+ value: r.getDateTimeFormat(t, b).format(c)
3122
3120
  });
3123
3121
  continue;
3124
3122
  }
3125
- if (at(h)) {
3126
- var d = typeof h.style == "string" ? n.time[h.style] : Ee(h.style) ? h.style.parsedOptions : n.time.medium;
3123
+ if (ot(h)) {
3124
+ var b = typeof h.style == "string" ? n.time[h.style] : be(h.style) ? h.style.parsedOptions : n.time.medium;
3127
3125
  o.push({
3128
- type: y.literal,
3129
- value: r.getDateTimeFormat(t, d).format(c)
3126
+ type: x.literal,
3127
+ value: r.getDateTimeFormat(t, b).format(c)
3130
3128
  });
3131
3129
  continue;
3132
3130
  }
3133
- if (st(h)) {
3134
- var d = typeof h.style == "string" ? n.number[h.style] : ft(h.style) ? h.style.parsedOptions : void 0;
3135
- d && d.scale && (c = c * (d.scale || 1)), o.push({
3136
- type: y.literal,
3137
- value: r.getNumberFormat(t, d).format(c)
3131
+ if (it(h)) {
3132
+ var b = typeof h.style == "string" ? n.number[h.style] : lt(h.style) ? h.style.parsedOptions : void 0;
3133
+ b && b.scale && (c = c * (b.scale || 1)), o.push({
3134
+ type: x.literal,
3135
+ value: r.getNumberFormat(t, b).format(c)
3138
3136
  });
3139
3137
  continue;
3140
3138
  }
3141
- if (lt(h)) {
3142
- var b = h.children, x = h.value, S = i[x];
3143
- if (!Zr(S))
3144
- throw new Xr(x, "function", u);
3145
- var F = Y(b, t, r, n, i, s), P = S(F.map(function(B) {
3146
- return B.value;
3139
+ if (ht(h)) {
3140
+ var g = h.children, y = h.value, H = i[y];
3141
+ if (!zr(H))
3142
+ throw new kr(y, "function", u);
3143
+ var D = q(g, t, r, n, i, s), A = H(D.map(function(S) {
3144
+ return S.value;
3147
3145
  }));
3148
- Array.isArray(P) || (P = [P]), o.push.apply(o, P.map(function(B) {
3146
+ Array.isArray(A) || (A = [A]), o.push.apply(o, A.map(function(S) {
3149
3147
  return {
3150
- type: typeof B == "string" ? y.literal : y.object,
3151
- value: B
3148
+ type: typeof S == "string" ? x.literal : x.object,
3149
+ value: S
3152
3150
  };
3153
3151
  }));
3154
3152
  }
3155
- if (ut(h)) {
3156
- var _ = h.options[c] || h.options.other;
3157
- if (!_)
3158
- throw new Ve(h.value, c, Object.keys(h.options), u);
3159
- o.push.apply(o, Y(_.value, t, r, n, i));
3153
+ if (at(h)) {
3154
+ var v = h.options[c] || h.options.other;
3155
+ if (!v)
3156
+ throw new je(h.value, c, Object.keys(h.options), u);
3157
+ o.push.apply(o, q(v.value, t, r, n, i));
3160
3158
  continue;
3161
3159
  }
3162
- if (ht(h)) {
3163
- var _ = h.options["=".concat(c)];
3164
- if (!_) {
3160
+ if (ut(h)) {
3161
+ var v = h.options["=".concat(c)];
3162
+ if (!v) {
3165
3163
  if (!Intl.PluralRules)
3166
- throw new se(`Intl.PluralRules is not available in this environment.
3164
+ throw new ne(`Intl.PluralRules is not available in this environment.
3167
3165
  Try polyfilling it using "@formatjs/intl-pluralrules"
3168
- `, C.MISSING_INTL_API, u);
3169
- var j = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
3170
- _ = h.options[j] || h.options.other;
3166
+ `, M.MISSING_INTL_API, u);
3167
+ var F = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
3168
+ v = h.options[F] || h.options.other;
3171
3169
  }
3172
- if (!_)
3173
- throw new Ve(h.value, c, Object.keys(h.options), u);
3174
- o.push.apply(o, Y(_.value, t, r, n, i, c - (h.offset || 0)));
3170
+ if (!v)
3171
+ throw new je(h.value, c, Object.keys(h.options), u);
3172
+ o.push.apply(o, q(v.value, t, r, n, i, c - (h.offset || 0)));
3175
3173
  continue;
3176
3174
  }
3177
3175
  }
3178
- return zr(o);
3176
+ return Wr(o);
3179
3177
  }
3180
- function Qr(e, t) {
3181
- return t ? H(H(H({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3182
- return r[n] = H(H({}, e[n]), t[n] || {}), r;
3178
+ function Zr(e, t) {
3179
+ return t ? p(p(p({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3180
+ return r[n] = p(p({}, e[n]), t[n] || {}), r;
3183
3181
  }, {})) : e;
3184
3182
  }
3185
- function Jr(e, t) {
3183
+ function Qr(e, t) {
3186
3184
  return t ? Object.keys(e).reduce(function(r, n) {
3187
- return r[n] = Qr(e[n], t[n]), r;
3188
- }, H({}, e)) : e;
3185
+ return r[n] = Zr(e[n], t[n]), r;
3186
+ }, p({}, e)) : e;
3189
3187
  }
3190
- function me(e) {
3188
+ function fe(e) {
3191
3189
  return {
3192
3190
  create: function() {
3193
3191
  return {
@@ -3201,39 +3199,39 @@ function me(e) {
3201
3199
  }
3202
3200
  };
3203
3201
  }
3204
- function qr(e) {
3202
+ function Jr(e) {
3205
3203
  return e === void 0 && (e = {
3206
3204
  number: {},
3207
3205
  dateTime: {},
3208
3206
  pluralRules: {}
3209
3207
  }), {
3210
- getNumberFormat: le(function() {
3208
+ getNumberFormat: ue(function() {
3211
3209
  for (var t, r = [], n = 0; n < arguments.length; n++)
3212
3210
  r[n] = arguments[n];
3213
- return new ((t = Intl.NumberFormat).bind.apply(t, he([void 0], r, !1)))();
3211
+ return new ((t = Intl.NumberFormat).bind.apply(t, ae([void 0], r, !1)))();
3214
3212
  }, {
3215
- cache: me(e.number),
3216
- strategy: fe.variadic
3213
+ cache: fe(e.number),
3214
+ strategy: he.variadic
3217
3215
  }),
3218
- getDateTimeFormat: le(function() {
3216
+ getDateTimeFormat: ue(function() {
3219
3217
  for (var t, r = [], n = 0; n < arguments.length; n++)
3220
3218
  r[n] = arguments[n];
3221
- return new ((t = Intl.DateTimeFormat).bind.apply(t, he([void 0], r, !1)))();
3219
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, ae([void 0], r, !1)))();
3222
3220
  }, {
3223
- cache: me(e.dateTime),
3224
- strategy: fe.variadic
3221
+ cache: fe(e.dateTime),
3222
+ strategy: he.variadic
3225
3223
  }),
3226
- getPluralRules: le(function() {
3224
+ getPluralRules: ue(function() {
3227
3225
  for (var t, r = [], n = 0; n < arguments.length; n++)
3228
3226
  r[n] = arguments[n];
3229
- return new ((t = Intl.PluralRules).bind.apply(t, he([void 0], r, !1)))();
3227
+ return new ((t = Intl.PluralRules).bind.apply(t, ae([void 0], r, !1)))();
3230
3228
  }, {
3231
- cache: me(e.pluralRules),
3232
- strategy: fe.variadic
3229
+ cache: fe(e.pluralRules),
3230
+ strategy: he.variadic
3233
3231
  })
3234
3232
  };
3235
3233
  }
3236
- var Yr = (
3234
+ var qr = (
3237
3235
  /** @class */
3238
3236
  function() {
3239
3237
  function e(t, r, n, i) {
@@ -3248,11 +3246,11 @@ var Yr = (
3248
3246
  if (a.length === 1)
3249
3247
  return a[0].value;
3250
3248
  var h = a.reduce(function(l, c) {
3251
- return !l.length || c.type !== y.literal || typeof l[l.length - 1] != "string" ? l.push(c.value) : l[l.length - 1] += c.value, l;
3249
+ return !l.length || c.type !== x.literal || typeof l[l.length - 1] != "string" ? l.push(c.value) : l[l.length - 1] += c.value, l;
3252
3250
  }, []);
3253
3251
  return h.length <= 1 ? h[0] || "" : h;
3254
3252
  }, this.formatToParts = function(f) {
3255
- return Y(s.ast, s.locales, s.formatters, s.formats, f, void 0, s.message);
3253
+ return q(s.ast, s.locales, s.formatters, s.formats, f, void 0, s.message);
3256
3254
  }, this.resolvedOptions = function() {
3257
3255
  var f;
3258
3256
  return {
@@ -3265,13 +3263,13 @@ var Yr = (
3265
3263
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3266
3264
  var u = i || {};
3267
3265
  u.formatters;
3268
- var o = ar(u, ["formatters"]);
3269
- this.ast = e.__parse(t, H(H({}, o), { locale: this.resolvedLocale }));
3266
+ var o = or(u, ["formatters"]);
3267
+ this.ast = e.__parse(t, p(p({}, o), { locale: this.resolvedLocale }));
3270
3268
  } else
3271
3269
  this.ast = t;
3272
3270
  if (!Array.isArray(this.ast))
3273
3271
  throw new TypeError("A message must be provided as a String or AST.");
3274
- this.formats = Jr(e.formats, n), this.formatters = i && i.formatters || qr(this.formatterCache);
3272
+ this.formats = Qr(e.formats, n), this.formatters = i && i.formatters || Jr(this.formatterCache);
3275
3273
  }
3276
3274
  return Object.defineProperty(e, "defaultLocale", {
3277
3275
  get: function() {
@@ -3284,7 +3282,7 @@ var Yr = (
3284
3282
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3285
3283
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3286
3284
  }
3287
- }, e.__parse = kr, e.formats = {
3285
+ }, e.__parse = Vr, e.formats = {
3288
3286
  number: {
3289
3287
  integer: {
3290
3288
  maximumFractionDigits: 0
@@ -3345,7 +3343,7 @@ var Yr = (
3345
3343
  }, e;
3346
3344
  }()
3347
3345
  );
3348
- function Kr(e, t) {
3346
+ function Yr(e, t) {
3349
3347
  if (t == null)
3350
3348
  return;
3351
3349
  if (t in e)
@@ -3366,92 +3364,92 @@ function Kr(e, t) {
3366
3364
  n = void 0;
3367
3365
  return n;
3368
3366
  }
3369
- const T = {}, en = (e, t, r) => r && (t in T || (T[t] = {}), e in T[t] || (T[t][e] = r), r), yt = (e, t) => {
3367
+ const T = {}, Kr = (e, t, r) => r && (t in T || (T[t] = {}), e in T[t] || (T[t][e] = r), r), Et = (e, t) => {
3370
3368
  if (t == null)
3371
3369
  return;
3372
3370
  if (t in T && e in T[t])
3373
3371
  return T[t][e];
3374
- const r = oe(t);
3372
+ const r = ie(t);
3375
3373
  for (let n = 0; n < r.length; n++) {
3376
- const i = r[n], s = rn(i, e);
3374
+ const i = r[n], s = tn(i, e);
3377
3375
  if (s)
3378
- return en(e, t, s);
3376
+ return Kr(e, t, s);
3379
3377
  }
3380
3378
  };
3381
- let Oe;
3382
- const Z = ne({});
3383
- function tn(e) {
3384
- return Oe[e] || null;
3379
+ let Pe;
3380
+ const z = te({});
3381
+ function en(e) {
3382
+ return Pe[e] || null;
3385
3383
  }
3386
3384
  function xt(e) {
3387
- return e in Oe;
3385
+ return e in Pe;
3388
3386
  }
3389
- function rn(e, t) {
3387
+ function tn(e, t) {
3390
3388
  if (!xt(e))
3391
3389
  return null;
3392
- const r = tn(e);
3393
- return Kr(r, t);
3390
+ const r = en(e);
3391
+ return Yr(r, t);
3394
3392
  }
3395
- function nn(e) {
3393
+ function rn(e) {
3396
3394
  if (e == null)
3397
3395
  return;
3398
- const t = oe(e);
3396
+ const t = ie(e);
3399
3397
  for (let r = 0; r < t.length; r++) {
3400
3398
  const n = t[r];
3401
3399
  if (xt(n))
3402
3400
  return n;
3403
3401
  }
3404
3402
  }
3405
- function vt(e, ...t) {
3406
- delete T[e], Z.update((r) => (r[e] = or.all([r[e] || {}, ...t]), r));
3403
+ function yt(e, ...t) {
3404
+ delete T[e], z.update((r) => (r[e] = sr.all([r[e] || {}, ...t]), r));
3407
3405
  }
3408
- U(
3409
- [Z],
3406
+ R(
3407
+ [z],
3410
3408
  ([e]) => Object.keys(e)
3411
3409
  );
3412
- Z.subscribe((e) => Oe = e);
3413
- const K = {};
3414
- function sn(e, t) {
3415
- K[e].delete(t), K[e].size === 0 && delete K[e];
3410
+ z.subscribe((e) => Pe = e);
3411
+ const Y = {};
3412
+ function nn(e, t) {
3413
+ Y[e].delete(t), Y[e].size === 0 && delete Y[e];
3416
3414
  }
3417
3415
  function _t(e) {
3418
- return K[e];
3416
+ return Y[e];
3419
3417
  }
3420
- function on(e) {
3421
- return oe(e).map((t) => {
3418
+ function sn(e) {
3419
+ return ie(e).map((t) => {
3422
3420
  const r = _t(t);
3423
3421
  return [t, r ? [...r] : []];
3424
3422
  }).filter(([, t]) => t.length > 0);
3425
3423
  }
3426
- function Se(e) {
3427
- return e == null ? !1 : oe(e).some(
3424
+ function ve(e) {
3425
+ return e == null ? !1 : ie(e).some(
3428
3426
  (t) => {
3429
3427
  var r;
3430
3428
  return (r = _t(t)) == null ? void 0 : r.size;
3431
3429
  }
3432
3430
  );
3433
3431
  }
3434
- function an(e, t) {
3432
+ function on(e, t) {
3435
3433
  return Promise.all(
3436
- t.map((n) => (sn(e, n), n().then((i) => i.default || i)))
3437
- ).then((n) => vt(e, ...n));
3438
- }
3439
- const V = {};
3440
- function Ht(e) {
3441
- if (!Se(e))
3442
- return e in V ? V[e] : Promise.resolve();
3443
- const t = on(e);
3444
- return V[e] = Promise.all(
3434
+ t.map((n) => (nn(e, n), n().then((i) => i.default || i)))
3435
+ ).then((n) => yt(e, ...n));
3436
+ }
3437
+ const j = {};
3438
+ function vt(e) {
3439
+ if (!ve(e))
3440
+ return e in j ? j[e] : Promise.resolve();
3441
+ const t = sn(e);
3442
+ return j[e] = Promise.all(
3445
3443
  t.map(
3446
- ([r, n]) => an(r, n)
3444
+ ([r, n]) => on(r, n)
3447
3445
  )
3448
3446
  ).then(() => {
3449
- if (Se(e))
3450
- return Ht(e);
3451
- delete V[e];
3452
- }), V[e];
3447
+ if (ve(e))
3448
+ return vt(e);
3449
+ delete j[e];
3450
+ }), j[e];
3453
3451
  }
3454
- const un = {
3452
+ const an = {
3455
3453
  number: {
3456
3454
  scientific: { notation: "scientific" },
3457
3455
  engineering: { notation: "engineering" },
@@ -3480,150 +3478,150 @@ const un = {
3480
3478
  timeZoneName: "short"
3481
3479
  }
3482
3480
  }
3483
- }, hn = {
3481
+ }, un = {
3484
3482
  fallbackLocale: null,
3485
3483
  loadingDelay: 200,
3486
- formats: un,
3484
+ formats: an,
3487
3485
  warnOnMissingMessages: !0,
3488
3486
  handleMissingMessage: void 0,
3489
3487
  ignoreTag: !0
3490
- }, ln = hn;
3491
- function R() {
3492
- return ln;
3493
- }
3494
- const pe = ne(!1);
3495
- var fn = Object.defineProperty, cn = Object.defineProperties, mn = Object.getOwnPropertyDescriptors, ke = Object.getOwnPropertySymbols, pn = Object.prototype.hasOwnProperty, dn = Object.prototype.propertyIsEnumerable, Xe = (e, t, r) => t in e ? fn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, bn = (e, t) => {
3496
- for (var r in t || (t = {}))
3497
- pn.call(t, r) && Xe(e, r, t[r]);
3498
- if (ke)
3499
- for (var r of ke(t))
3500
- dn.call(t, r) && Xe(e, r, t[r]);
3488
+ }, hn = un;
3489
+ function C() {
3490
+ return hn;
3491
+ }
3492
+ const ce = te(!1);
3493
+ var ln = Object.defineProperty, fn = Object.defineProperties, cn = Object.getOwnPropertyDescriptors, Ve = Object.getOwnPropertySymbols, mn = Object.prototype.hasOwnProperty, dn = Object.prototype.propertyIsEnumerable, ke = (e, t, r) => t in e ? ln(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, pn = (e, t) => {
3494
+ for (var r in t)
3495
+ mn.call(t, r) && ke(e, r, t[r]);
3496
+ if (Ve)
3497
+ for (var r of Ve(t))
3498
+ dn.call(t, r) && ke(e, r, t[r]);
3501
3499
  return e;
3502
- }, gn = (e, t) => cn(e, mn(t));
3503
- let Te;
3504
- const te = ne(null);
3505
- function We(e) {
3500
+ }, bn = (e, t) => fn(e, cn(t));
3501
+ let He;
3502
+ const K = te(null);
3503
+ function Xe(e) {
3506
3504
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3507
3505
  }
3508
- function oe(e, t = R().fallbackLocale) {
3509
- const r = We(e);
3510
- return t ? [.../* @__PURE__ */ new Set([...r, ...We(t)])] : r;
3506
+ function ie(e, t = C().fallbackLocale) {
3507
+ const r = Xe(e);
3508
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Xe(t)])] : r;
3511
3509
  }
3512
- function A() {
3513
- return Te ?? void 0;
3510
+ function B() {
3511
+ return He ?? void 0;
3514
3512
  }
3515
- te.subscribe((e) => {
3516
- Te = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3513
+ K.subscribe((e) => {
3514
+ He = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3517
3515
  });
3518
- const En = (e) => {
3519
- if (e && nn(e) && Se(e)) {
3520
- const { loadingDelay: t } = R();
3516
+ const gn = (e) => {
3517
+ if (e && rn(e) && ve(e)) {
3518
+ const { loadingDelay: t } = C();
3521
3519
  let r;
3522
- return typeof window < "u" && A() != null && t ? r = window.setTimeout(
3523
- () => pe.set(!0),
3520
+ return typeof window < "u" && B() != null && t ? r = window.setTimeout(
3521
+ () => ce.set(!0),
3524
3522
  t
3525
- ) : pe.set(!0), Ht(e).then(() => {
3526
- te.set(e);
3523
+ ) : ce.set(!0), vt(e).then(() => {
3524
+ K.set(e);
3527
3525
  }).finally(() => {
3528
- clearTimeout(r), pe.set(!1);
3526
+ clearTimeout(r), ce.set(!1);
3529
3527
  });
3530
3528
  }
3531
- return te.set(e);
3532
- }, G = gn(bn({}, te), {
3533
- set: En
3534
- }), ae = (e) => {
3529
+ return K.set(e);
3530
+ }, U = bn(pn({}, K), {
3531
+ set: gn
3532
+ }), se = (e) => {
3535
3533
  const t = /* @__PURE__ */ Object.create(null);
3536
3534
  return (n) => {
3537
3535
  const i = JSON.stringify(n);
3538
3536
  return i in t ? t[i] : t[i] = e(n);
3539
3537
  };
3540
3538
  };
3541
- var yn = Object.defineProperty, re = Object.getOwnPropertySymbols, St = Object.prototype.hasOwnProperty, Tt = Object.prototype.propertyIsEnumerable, ze = (e, t, r) => t in e ? yn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ne = (e, t) => {
3539
+ var En = Object.defineProperty, ee = Object.getOwnPropertySymbols, Ht = Object.prototype.hasOwnProperty, Tt = Object.prototype.propertyIsEnumerable, We = (e, t, r) => t in e ? En(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ne = (e, t) => {
3542
3540
  for (var r in t || (t = {}))
3543
- St.call(t, r) && ze(e, r, t[r]);
3544
- if (re)
3545
- for (var r of re(t))
3546
- Tt.call(t, r) && ze(e, r, t[r]);
3541
+ Ht.call(t, r) && We(e, r, t[r]);
3542
+ if (ee)
3543
+ for (var r of ee(t))
3544
+ Tt.call(t, r) && We(e, r, t[r]);
3547
3545
  return e;
3548
- }, D = (e, t) => {
3546
+ }, G = (e, t) => {
3549
3547
  var r = {};
3550
3548
  for (var n in e)
3551
- St.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3552
- if (e != null && re)
3553
- for (var n of re(e))
3549
+ Ht.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3550
+ if (e != null && ee)
3551
+ for (var n of ee(e))
3554
3552
  t.indexOf(n) < 0 && Tt.call(e, n) && (r[n] = e[n]);
3555
3553
  return r;
3556
3554
  };
3557
- const W = (e, t) => {
3558
- const { formats: r } = R();
3555
+ const X = (e, t) => {
3556
+ const { formats: r } = C();
3559
3557
  if (e in r && t in r[e])
3560
3558
  return r[e][t];
3561
3559
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3562
- }, xn = ae(
3560
+ }, xn = se(
3563
3561
  (e) => {
3564
- var t = e, { locale: r, format: n } = t, i = D(t, ["locale", "format"]);
3562
+ var t = e, { locale: r, format: n } = t, i = G(t, ["locale", "format"]);
3565
3563
  if (r == null)
3566
3564
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3567
- return n && (i = W("number", n)), new Intl.NumberFormat(r, i);
3565
+ return n && (i = X("number", n)), new Intl.NumberFormat(r, i);
3568
3566
  }
3569
- ), vn = ae(
3567
+ ), yn = se(
3570
3568
  (e) => {
3571
- var t = e, { locale: r, format: n } = t, i = D(t, ["locale", "format"]);
3569
+ var t = e, { locale: r, format: n } = t, i = G(t, ["locale", "format"]);
3572
3570
  if (r == null)
3573
3571
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3574
- return n ? i = W("date", n) : Object.keys(i).length === 0 && (i = W("date", "short")), new Intl.DateTimeFormat(r, i);
3572
+ return n ? i = X("date", n) : Object.keys(i).length === 0 && (i = X("date", "short")), new Intl.DateTimeFormat(r, i);
3575
3573
  }
3576
- ), _n = ae(
3574
+ ), _n = se(
3577
3575
  (e) => {
3578
- var t = e, { locale: r, format: n } = t, i = D(t, ["locale", "format"]);
3576
+ var t = e, { locale: r, format: n } = t, i = G(t, ["locale", "format"]);
3579
3577
  if (r == null)
3580
3578
  throw new Error(
3581
3579
  '[svelte-i18n] A "locale" must be set to format time values'
3582
3580
  );
3583
- return n ? i = W("time", n) : Object.keys(i).length === 0 && (i = W("time", "short")), new Intl.DateTimeFormat(r, i);
3581
+ return n ? i = X("time", n) : Object.keys(i).length === 0 && (i = X("time", "short")), new Intl.DateTimeFormat(r, i);
3584
3582
  }
3585
- ), Hn = (e = {}) => {
3583
+ ), vn = (e = {}) => {
3586
3584
  var t = e, {
3587
- locale: r = A()
3588
- } = t, n = D(t, [
3585
+ locale: r = B()
3586
+ } = t, n = G(t, [
3589
3587
  "locale"
3590
3588
  ]);
3591
3589
  return xn(Ne({ locale: r }, n));
3592
- }, Sn = (e = {}) => {
3590
+ }, Hn = (e = {}) => {
3593
3591
  var t = e, {
3594
- locale: r = A()
3595
- } = t, n = D(t, [
3592
+ locale: r = B()
3593
+ } = t, n = G(t, [
3596
3594
  "locale"
3597
3595
  ]);
3598
- return vn(Ne({ locale: r }, n));
3596
+ return yn(Ne({ locale: r }, n));
3599
3597
  }, Tn = (e = {}) => {
3600
3598
  var t = e, {
3601
- locale: r = A()
3602
- } = t, n = D(t, [
3599
+ locale: r = B()
3600
+ } = t, n = G(t, [
3603
3601
  "locale"
3604
3602
  ]);
3605
3603
  return _n(Ne({ locale: r }, n));
3606
- }, Bn = ae(
3604
+ }, Sn = se(
3607
3605
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3608
- (e, t = A()) => new Yr(e, t, R().formats, {
3609
- ignoreTag: R().ignoreTag
3606
+ (e, t = B()) => new qr(e, t, C().formats, {
3607
+ ignoreTag: C().ignoreTag
3610
3608
  })
3611
- ), An = (e, t = {}) => {
3609
+ ), Bn = (e, t = {}) => {
3612
3610
  var r, n, i, s;
3613
3611
  let u = t;
3614
3612
  typeof e == "object" && (u = e, e = u.id);
3615
3613
  const {
3616
3614
  values: o,
3617
- locale: f = A(),
3615
+ locale: f = B(),
3618
3616
  default: a
3619
3617
  } = u;
3620
3618
  if (f == null)
3621
3619
  throw new Error(
3622
3620
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3623
3621
  );
3624
- let h = yt(e, f);
3622
+ let h = Et(e, f);
3625
3623
  if (!h)
3626
- h = (s = (i = (n = (r = R()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: f, id: e, defaultValue: a })) != null ? i : a) != null ? s : e;
3624
+ h = (s = (i = (n = (r = C()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: f, id: e, defaultValue: a })) != null ? i : a) != null ? s : e;
3627
3625
  else if (typeof h != "string")
3628
3626
  return console.warn(
3629
3627
  `[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.`
@@ -3632,7 +3630,7 @@ const W = (e, t) => {
3632
3630
  return h;
3633
3631
  let l = h;
3634
3632
  try {
3635
- l = Bn(h, f).format(o);
3633
+ l = Sn(h, f).format(o);
3636
3634
  } catch (c) {
3637
3635
  c instanceof Error && console.warn(
3638
3636
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3640,18 +3638,18 @@ const W = (e, t) => {
3640
3638
  );
3641
3639
  }
3642
3640
  return l;
3643
- }, Pn = (e, t) => Tn(t).format(e), On = (e, t) => Sn(t).format(e), Nn = (e, t) => Hn(t).format(e), wn = (e, t = A()) => yt(e, t), In = U([G, Z], () => An);
3644
- U([G], () => Pn);
3645
- U([G], () => On);
3646
- U([G], () => Nn);
3647
- U([G, Z], () => wn);
3648
- function Ze(e, t) {
3649
- vt(e, t);
3650
- }
3651
- function $n(e) {
3652
- G.set(e);
3653
- }
3654
- const Qe = {
3641
+ }, An = (e, t) => Tn(t).format(e), Pn = (e, t) => Hn(t).format(e), Nn = (e, t) => vn(t).format(e), On = (e, t = B()) => Et(e, t), In = R([U, z], () => Bn);
3642
+ R([U], () => An);
3643
+ R([U], () => Pn);
3644
+ R([U], () => Nn);
3645
+ R([U, z], () => On);
3646
+ function ze(e, t) {
3647
+ yt(e, t);
3648
+ }
3649
+ function wn(e) {
3650
+ U.set(e);
3651
+ }
3652
+ const Ze = {
3655
3653
  en: {
3656
3654
  errServerUnavailable: "Server unavailable",
3657
3655
  errEmailVerification: "Sorry! Your e-mail could not be verified. Please try again",
@@ -3665,43 +3663,43 @@ const Qe = {
3665
3663
  msgEmailVerificationSuccess: "Succes! E-mailul tău a fost verificat cu succes"
3666
3664
  }
3667
3665
  };
3668
- function Ln(e) {
3666
+ function $n(e) {
3669
3667
  let t;
3670
3668
  return {
3671
3669
  c() {
3672
- t = et("div");
3670
+ t = Ke("div");
3673
3671
  },
3674
3672
  m(r, n) {
3675
- Ke(r, t, n);
3673
+ Ye(r, t, n);
3676
3674
  },
3677
- p: v,
3678
- i: v,
3679
- o: v,
3675
+ p: _,
3676
+ i: _,
3677
+ o: _,
3680
3678
  d(r) {
3681
- r && Ae(t);
3679
+ r && Se(t);
3682
3680
  }
3683
3681
  };
3684
3682
  }
3685
- function Mn(e, t, r) {
3683
+ function Ln(e, t, r) {
3686
3684
  let n;
3687
- At(e, In, (l) => r(4, n = l));
3685
+ Bt(e, In, (l) => r(4, n = l));
3688
3686
  let { lang: i = "en" } = t, { endpoint: s = "" } = t, { key: u = "" } = t, { translationurl: o = "" } = t;
3689
3687
  const f = () => {
3690
3688
  fetch(o).then((c) => c.json()).then((c) => {
3691
- Object.keys(c).forEach((d) => {
3692
- Ze(d, c[d]);
3689
+ Object.keys(c).forEach((b) => {
3690
+ ze(b, c[b]);
3693
3691
  });
3694
3692
  }).catch((c) => {
3695
3693
  console.log(c);
3696
3694
  });
3697
3695
  };
3698
- Object.keys(Qe).forEach((l) => {
3699
- Ze(l, Qe[l]);
3696
+ Object.keys(Ze).forEach((l) => {
3697
+ ze(l, Ze[l]);
3700
3698
  });
3701
3699
  const a = () => {
3702
- $n(i);
3700
+ wn(i);
3703
3701
  }, h = () => {
3704
- let l = new URL(`${s}/v1/player/activatePlayerByHashKey`), d = {
3702
+ let l = new URL(`${s}/v1/player/activatePlayerByHashKey`), b = {
3705
3703
  method: "POST",
3706
3704
  headers: {
3707
3705
  "Content-Type": "application/json",
@@ -3709,7 +3707,7 @@ function Mn(e, t, r) {
3709
3707
  },
3710
3708
  body: JSON.stringify({ hashKey: u })
3711
3709
  };
3712
- fetch(l.href, d).then((b) => (b.status > 500 && (window.postMessage({ type: "ActivatePlayerResponseFailed" }, window.location.href), window.postMessage(
3710
+ fetch(l.href, b).then((g) => (g.status > 500 && (window.postMessage({ type: "ActivatePlayerResponseFailed" }, window.location.href), window.postMessage(
3713
3711
  {
3714
3712
  type: "WidgetNotification",
3715
3713
  data: {
@@ -3718,8 +3716,8 @@ function Mn(e, t, r) {
3718
3716
  }
3719
3717
  },
3720
3718
  window.location.href
3721
- )), b.json())).then((b) => {
3722
- window.postMessage({ type: "ActivatePlayerResponse", data: b }, window.location.href), b.error && (window.postMessage(
3719
+ )), g.json())).then((g) => {
3720
+ window.postMessage({ type: "ActivatePlayerResponse", data: g }, window.location.href), g.error && (window.postMessage(
3723
3721
  {
3724
3722
  type: "WidgetNotification",
3725
3723
  data: {
@@ -3737,7 +3735,7 @@ function Mn(e, t, r) {
3737
3735
  }
3738
3736
  },
3739
3737
  window.location.href
3740
- )), b.SESSION_ID && window.postMessage(
3738
+ )), g.SESSION_ID && window.postMessage(
3741
3739
  {
3742
3740
  type: "WidgetNotification",
3743
3741
  data: {
@@ -3758,9 +3756,9 @@ function Mn(e, t, r) {
3758
3756
  6 && s && u && h();
3759
3757
  }, [i, s, u, o];
3760
3758
  }
3761
- class Cn extends jt {
3759
+ class Mn extends Ft {
3762
3760
  constructor(t) {
3763
- super(), Dt(this, t, Mn, Ln, qe, {
3761
+ super(), Gt(this, t, Ln, $n, Je, {
3764
3762
  lang: 0,
3765
3763
  endpoint: 1,
3766
3764
  key: 2,
@@ -3792,7 +3790,7 @@ class Cn extends jt {
3792
3790
  this.$$set({ translationurl: t }), I();
3793
3791
  }
3794
3792
  }
3795
- Ft(Cn, { lang: {}, endpoint: {}, key: {}, translationurl: {} }, [], [], !0);
3793
+ Dt(Mn, { lang: {}, endpoint: {}, key: {}, translationurl: {} }, [], [], !0);
3796
3794
  export {
3797
- Cn as P
3795
+ Mn as P
3798
3796
  };