@everymatrix/general-player-login-form 1.50.0 → 1.50.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,15 +1,15 @@
1
- var bn = Object.defineProperty, vn = Object.defineProperties;
2
- var yn = Object.getOwnPropertyDescriptors;
1
+ var gn = Object.defineProperty, bn = Object.defineProperties;
2
+ var vn = Object.getOwnPropertyDescriptors;
3
3
  var Jt = Object.getOwnPropertySymbols;
4
- var _n = Object.prototype.hasOwnProperty, En = Object.prototype.propertyIsEnumerable;
5
- var vt = (e, t, r) => t in e ? bn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Qt = (e, t) => {
4
+ var yn = Object.prototype.hasOwnProperty, _n = Object.prototype.propertyIsEnumerable;
5
+ var vt = (e, t, r) => t in e ? gn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Qt = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- _n.call(t, r) && vt(e, r, t[r]);
7
+ yn.call(t, r) && vt(e, r, t[r]);
8
8
  if (Jt)
9
9
  for (var r of Jt(t))
10
- En.call(t, r) && vt(e, r, t[r]);
10
+ _n.call(t, r) && vt(e, r, t[r]);
11
11
  return e;
12
- }, Yt = (e, t) => vn(e, yn(t));
12
+ }, Yt = (e, t) => bn(e, vn(t));
13
13
  var Y = (e, t, r) => vt(e, typeof t != "symbol" ? t + "" : t, r);
14
14
  var et = (e, t, r) => new Promise((n, i) => {
15
15
  var o = (u) => {
@@ -48,7 +48,7 @@ let tt;
48
48
  function er(e, t) {
49
49
  return e === t ? !0 : (tt || (tt = document.createElement("a")), tt.href = t, e === tt.href);
50
50
  }
51
- function wn(e) {
51
+ function En(e) {
52
52
  return Object.keys(e).length === 0;
53
53
  }
54
54
  function Or(e, ...t) {
@@ -60,24 +60,24 @@ function Or(e, ...t) {
60
60
  const r = e.subscribe(...t);
61
61
  return r.unsubscribe ? () => r.unsubscribe() : r;
62
62
  }
63
- function xn(e, t, r) {
63
+ function wn(e, t, r) {
64
64
  e.$$.on_destroy.push(Or(t, r));
65
65
  }
66
- const Sn = typeof window != "undefined" ? window : typeof globalThis != "undefined" ? globalThis : (
66
+ const xn = typeof window != "undefined" ? window : typeof globalThis != "undefined" ? globalThis : (
67
67
  // @ts-ignore Node typings have this
68
68
  global
69
69
  );
70
70
  function p(e, t) {
71
71
  e.appendChild(t);
72
72
  }
73
- function Pn(e, t, r) {
74
- const n = Tn(e);
73
+ function Sn(e, t, r) {
74
+ const n = Pn(e);
75
75
  if (!n.getElementById(t)) {
76
76
  const i = S("style");
77
- i.id = t, i.textContent = r, Hn(n, i);
77
+ i.id = t, i.textContent = r, Tn(n, i);
78
78
  }
79
79
  }
80
- function Tn(e) {
80
+ function Pn(e) {
81
81
  if (!e) return document;
82
82
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
83
83
  return t && /** @type {ShadowRoot} */
@@ -86,7 +86,7 @@ function Tn(e) {
86
86
  t
87
87
  ) : e.ownerDocument;
88
88
  }
89
- function Hn(e, t) {
89
+ function Tn(e, t) {
90
90
  return p(
91
91
  /** @type {Document} */
92
92
  e.head || e,
@@ -111,7 +111,7 @@ function N(e) {
111
111
  function z() {
112
112
  return N(" ");
113
113
  }
114
- function Bn() {
114
+ function Hn() {
115
115
  return N("");
116
116
  }
117
117
  function ae(e, t, r, n) {
@@ -124,7 +124,7 @@ function K(e, t, r) {
124
124
  const n = t.toLowerCase();
125
125
  n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : h(e, t, r);
126
126
  }
127
- function An(e) {
127
+ function Bn(e) {
128
128
  return Array.from(e.childNodes);
129
129
  }
130
130
  function re(e, t) {
@@ -134,7 +134,7 @@ function re(e, t) {
134
134
  function rt(e, t) {
135
135
  e.value = t == null ? "" : t;
136
136
  }
137
- function In(e) {
137
+ function An(e) {
138
138
  const t = {};
139
139
  return e.childNodes.forEach(
140
140
  /** @param {Element} node */
@@ -147,19 +147,19 @@ let We;
147
147
  function Xe(e) {
148
148
  We = e;
149
149
  }
150
- function Cn() {
150
+ function In() {
151
151
  if (!We) throw new Error("Function called outside component initialization");
152
152
  return We;
153
153
  }
154
- function On(e) {
155
- Cn().$$.on_mount.push(e);
154
+ function Cn(e) {
155
+ In().$$.on_mount.push(e);
156
156
  }
157
157
  const Te = [], ut = [];
158
158
  let He = [];
159
- const tr = [], Ln = /* @__PURE__ */ Promise.resolve();
159
+ const tr = [], On = /* @__PURE__ */ Promise.resolve();
160
160
  let Ht = !1;
161
- function Mn() {
162
- Ht || (Ht = !0, Ln.then(te));
161
+ function Ln() {
162
+ Ht || (Ht = !0, On.then(te));
163
163
  }
164
164
  function Bt(e) {
165
165
  He.push(e);
@@ -174,7 +174,7 @@ function te() {
174
174
  try {
175
175
  for (; Se < Te.length; ) {
176
176
  const t = Te[Se];
177
- Se++, Xe(t), Nn(t.$$);
177
+ Se++, Xe(t), Mn(t.$$);
178
178
  }
179
179
  } catch (t) {
180
180
  throw Te.length = 0, Se = 0, t;
@@ -190,36 +190,36 @@ function te() {
190
190
  tr.pop()();
191
191
  Ht = !1, yt.clear(), Xe(e);
192
192
  }
193
- function Nn(e) {
193
+ function Mn(e) {
194
194
  if (e.fragment !== null) {
195
195
  e.update(), Le(e.before_update);
196
196
  const t = e.dirty;
197
197
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Bt);
198
198
  }
199
199
  }
200
- function Rn(e) {
200
+ function Nn(e) {
201
201
  const t = [], r = [];
202
202
  He.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), He = t;
203
203
  }
204
- const Un = /* @__PURE__ */ new Set();
205
- function Fn(e, t) {
206
- e && e.i && (Un.delete(e), e.i(t));
204
+ const Rn = /* @__PURE__ */ new Set();
205
+ function Un(e, t) {
206
+ e && e.i && (Rn.delete(e), e.i(t));
207
207
  }
208
- function Dn(e, t, r) {
208
+ function Fn(e, t, r) {
209
209
  const { fragment: n, after_update: i } = e.$$;
210
210
  n && n.m(t, r), Bt(() => {
211
211
  const o = e.$$.on_mount.map(Ir).filter(Gt);
212
212
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Le(o), e.$$.on_mount = [];
213
213
  }), i.forEach(Bt);
214
214
  }
215
- function kn(e, t) {
215
+ function Dn(e, t) {
216
216
  const r = e.$$;
217
- r.fragment !== null && (Rn(r.after_update), Le(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
217
+ r.fragment !== null && (Nn(r.after_update), Le(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
218
218
  }
219
- function $n(e, t) {
220
- e.$$.dirty[0] === -1 && (Te.push(e), Mn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
219
+ function kn(e, t) {
220
+ e.$$.dirty[0] === -1 && (Te.push(e), Ln(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
221
221
  }
222
- function Gn(e, t, r, n, i, o, s = null, a = [-1]) {
222
+ function $n(e, t, r, n, i, o, s = null, a = [-1]) {
223
223
  const u = We;
224
224
  Xe(e);
225
225
  const l = e.$$ = {
@@ -247,14 +247,14 @@ function Gn(e, t, r, n, i, o, s = null, a = [-1]) {
247
247
  let c = !1;
248
248
  if (l.ctx = r ? r(e, t.props || {}, (f, d, ...b) => {
249
249
  const y = b.length ? b[0] : d;
250
- return l.ctx && i(l.ctx[f], l.ctx[f] = y) && (!l.skip_bound && l.bound[f] && l.bound[f](y), c && $n(e, f)), d;
250
+ return l.ctx && i(l.ctx[f], l.ctx[f] = y) && (!l.skip_bound && l.bound[f] && l.bound[f](y), c && kn(e, f)), d;
251
251
  }) : [], l.update(), c = !0, Le(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
252
252
  if (t.hydrate) {
253
- const f = An(t.target);
253
+ const f = Bn(t.target);
254
254
  l.fragment && l.fragment.l(f), f.forEach(I);
255
255
  } else
256
256
  l.fragment && l.fragment.c();
257
- t.intro && Fn(e.$$.fragment), Dn(e, t.target, t.anchor), te();
257
+ t.intro && Un(e.$$.fragment), Fn(e, t.target, t.anchor), te();
258
258
  }
259
259
  Xe(u);
260
260
  }
@@ -320,7 +320,7 @@ typeof HTMLElement == "function" && (Lr = class extends HTMLElement {
320
320
  };
321
321
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
322
322
  return;
323
- const r = {}, n = In(this);
323
+ const r = {}, n = An(this);
324
324
  for (const o of this.$$s)
325
325
  o in n && (r[o] = [t(o)]);
326
326
  for (const o of this.attributes) {
@@ -409,7 +409,7 @@ function ot(e, t, r, n) {
409
409
  return t;
410
410
  }
411
411
  }
412
- function jn(e, t, r, n, i, o) {
412
+ function Gn(e, t, r, n, i, o) {
413
413
  let s = class extends Lr {
414
414
  constructor() {
415
415
  super(e, r, i), this.$$p_d = t;
@@ -440,7 +440,7 @@ function jn(e, t, r, n, i, o) {
440
440
  }), e.element = /** @type {any} */
441
441
  s, s;
442
442
  }
443
- class Vn {
443
+ class jn {
444
444
  constructor() {
445
445
  /**
446
446
  * ### PRIVATE API
@@ -461,7 +461,7 @@ class Vn {
461
461
  }
462
462
  /** @returns {void} */
463
463
  $destroy() {
464
- kn(this, 1), this.$destroy = Z;
464
+ Dn(this, 1), this.$destroy = Z;
465
465
  }
466
466
  /**
467
467
  * @template {Extract<keyof Events, string>} K
@@ -483,11 +483,11 @@ class Vn {
483
483
  * @returns {void}
484
484
  */
485
485
  $set(t) {
486
- this.$$set && !wn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
486
+ this.$$set && !En(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
487
487
  }
488
488
  }
489
- const zn = "4";
490
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(zn);
489
+ const Vn = "4";
490
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Vn);
491
491
  var At = function(e, t) {
492
492
  return At = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
493
493
  r.__proto__ = n;
@@ -513,7 +513,7 @@ var w = function() {
513
513
  return t;
514
514
  }, w.apply(this, arguments);
515
515
  };
516
- function Xn(e, t) {
516
+ function zn(e, t) {
517
517
  var r = {};
518
518
  for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
519
519
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
@@ -678,20 +678,19 @@ var Ur = {
678
678
  Promise: void 0,
679
679
  useDeprecatedSynchronousErrorHandling: !1,
680
680
  useDeprecatedNextContext: !1
681
- }, Fr = {
681
+ }, Xn = {
682
682
  setTimeout: function(e, t) {
683
683
  for (var r = [], n = 2; n < arguments.length; n++)
684
684
  r[n - 2] = arguments[n];
685
685
  return setTimeout.apply(void 0, Be([e, t], Ct(r)));
686
686
  },
687
687
  clearTimeout: function(e) {
688
- var t = Fr.delegate;
689
- return ((t == null ? void 0 : t.clearTimeout) || clearTimeout)(e);
688
+ return clearTimeout(e);
690
689
  },
691
690
  delegate: void 0
692
691
  };
693
692
  function Wn(e) {
694
- Fr.setTimeout(function() {
693
+ Xn.setTimeout(function() {
695
694
  throw e;
696
695
  });
697
696
  }
@@ -700,7 +699,7 @@ function nr() {
700
699
  function st(e) {
701
700
  e();
702
701
  }
703
- var Dr = function(e) {
702
+ var Fr = function(e) {
704
703
  ue(t, e);
705
704
  function t(r) {
706
705
  var n = e.call(this) || this;
@@ -789,7 +788,7 @@ var qn = function() {
789
788
  return o.destination = new qn(s), o;
790
789
  }
791
790
  return t;
792
- }(Dr);
791
+ }(Fr);
793
792
  function nt(e) {
794
793
  Wn(e);
795
794
  }
@@ -882,13 +881,13 @@ function ti(e) {
882
881
  return e && le(e.next) && le(e.error) && le(e.complete);
883
882
  }
884
883
  function ri(e) {
885
- return e && e instanceof Dr || ti(e) && Rr(e);
884
+ return e && e instanceof Fr || ti(e) && Rr(e);
886
885
  }
887
886
  var ni = Mr(function(e) {
888
887
  return function() {
889
888
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
890
889
  };
891
- }), kr = function(e) {
890
+ }), Dr = function(e) {
892
891
  ue(t, e);
893
892
  function t() {
894
893
  var r = e.call(this) || this;
@@ -986,15 +985,15 @@ var ni = Mr(function(e) {
986
985
  var n, i;
987
986
  return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Nr;
988
987
  }, t;
989
- }(kr), $r = {
988
+ }(Dr), kr = {
990
989
  now: function() {
991
- return ($r.delegate || Date).now();
990
+ return (kr.delegate || Date).now();
992
991
  },
993
992
  delegate: void 0
994
993
  }, ii = function(e) {
995
994
  ue(t, e);
996
995
  function t(r, n, i) {
997
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = $r);
996
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = kr);
998
997
  var o = e.call(this) || this;
999
998
  return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
1000
999
  }
@@ -1014,7 +1013,7 @@ var ni = Mr(function(e) {
1014
1013
  l && o.splice(0, l + 1);
1015
1014
  }
1016
1015
  }, t;
1017
- }(kr);
1016
+ }(Dr);
1018
1017
  const ar = [], lr = {}, oi = (e, t = 0) => {
1019
1018
  if (ar.indexOf(e) == -1) {
1020
1019
  const r = new ii(t);
@@ -1126,7 +1125,7 @@ function bi(e) {
1126
1125
  function ur(e) {
1127
1126
  return Object.keys(e).concat(bi(e));
1128
1127
  }
1129
- function Gr(e, t) {
1128
+ function $r(e, t) {
1130
1129
  try {
1131
1130
  return t in e;
1132
1131
  } catch (r) {
@@ -1134,14 +1133,14 @@ function Gr(e, t) {
1134
1133
  }
1135
1134
  }
1136
1135
  function vi(e, t) {
1137
- return Gr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1136
+ return $r(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1138
1137
  }
1139
1138
  function yi(e, t, r) {
1140
1139
  var n = {};
1141
1140
  return r.isMergeableObject(e) && ur(e).forEach(function(i) {
1142
1141
  n[i] = Ze(e[i], r);
1143
1142
  }), ur(t).forEach(function(i) {
1144
- vi(e, i) || (Gr(e, i) && r.isMergeableObject(t[i]) ? n[i] = gi(i, r)(e[i], t[i], r) : n[i] = Ze(t[i], r));
1143
+ vi(e, i) || ($r(e, i) && r.isMergeableObject(t[i]) ? n[i] = gi(i, r)(e[i], t[i], r) : n[i] = Ze(t[i], r));
1145
1144
  }), n;
1146
1145
  }
1147
1146
  function Ae(e, t, r) {
@@ -1158,7 +1157,57 @@ Ae.all = function(t, r) {
1158
1157
  };
1159
1158
  var _i = Ae, Ei = _i;
1160
1159
  const wi = /* @__PURE__ */ ai(Ei);
1161
- var _;
1160
+ function wt(e, t) {
1161
+ var r = t && t.cache ? t.cache : Bi, n = t && t.serializer ? t.serializer : Hi, i = t && t.strategy ? t.strategy : Si;
1162
+ return i(e, {
1163
+ cache: r,
1164
+ serializer: n
1165
+ });
1166
+ }
1167
+ function xi(e) {
1168
+ return e == null || typeof e == "number" || typeof e == "boolean";
1169
+ }
1170
+ function Gr(e, t, r, n) {
1171
+ var i = xi(n) ? n : r(n), o = t.get(i);
1172
+ return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
1173
+ }
1174
+ function jr(e, t, r) {
1175
+ var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1176
+ return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
1177
+ }
1178
+ function jt(e, t, r, n, i) {
1179
+ return r.bind(t, e, n, i);
1180
+ }
1181
+ function Si(e, t) {
1182
+ var r = e.length === 1 ? Gr : jr;
1183
+ return jt(e, this, r, t.cache.create(), t.serializer);
1184
+ }
1185
+ function Pi(e, t) {
1186
+ return jt(e, this, jr, t.cache.create(), t.serializer);
1187
+ }
1188
+ function Ti(e, t) {
1189
+ return jt(e, this, Gr, t.cache.create(), t.serializer);
1190
+ }
1191
+ var Hi = function() {
1192
+ return JSON.stringify(arguments);
1193
+ };
1194
+ function Vt() {
1195
+ this.cache = /* @__PURE__ */ Object.create(null);
1196
+ }
1197
+ Vt.prototype.get = function(e) {
1198
+ return this.cache[e];
1199
+ };
1200
+ Vt.prototype.set = function(e, t) {
1201
+ this.cache[e] = t;
1202
+ };
1203
+ var Bi = {
1204
+ create: function() {
1205
+ return new Vt();
1206
+ }
1207
+ }, xt = {
1208
+ variadic: Pi,
1209
+ monadic: Ti
1210
+ }, _;
1162
1211
  (function(e) {
1163
1212
  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";
1164
1213
  })(_ || (_ = {}));
@@ -1173,40 +1222,40 @@ var Ie;
1173
1222
  function cr(e) {
1174
1223
  return e.type === T.literal;
1175
1224
  }
1176
- function xi(e) {
1225
+ function Ai(e) {
1177
1226
  return e.type === T.argument;
1178
1227
  }
1179
- function jr(e) {
1228
+ function Vr(e) {
1180
1229
  return e.type === T.number;
1181
1230
  }
1182
- function Vr(e) {
1231
+ function zr(e) {
1183
1232
  return e.type === T.date;
1184
1233
  }
1185
- function zr(e) {
1234
+ function Xr(e) {
1186
1235
  return e.type === T.time;
1187
1236
  }
1188
- function Xr(e) {
1237
+ function Wr(e) {
1189
1238
  return e.type === T.select;
1190
1239
  }
1191
- function Wr(e) {
1240
+ function Zr(e) {
1192
1241
  return e.type === T.plural;
1193
1242
  }
1194
- function Si(e) {
1243
+ function Ii(e) {
1195
1244
  return e.type === T.pound;
1196
1245
  }
1197
- function Zr(e) {
1246
+ function qr(e) {
1198
1247
  return e.type === T.tag;
1199
1248
  }
1200
- function qr(e) {
1249
+ function Jr(e) {
1201
1250
  return !!(e && typeof e == "object" && e.type === Ie.number);
1202
1251
  }
1203
1252
  function Mt(e) {
1204
1253
  return !!(e && typeof e == "object" && e.type === Ie.dateTime);
1205
1254
  }
1206
- var Jr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Pi = /(?:[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;
1207
- function Ti(e) {
1255
+ var Qr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Ci = /(?:[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;
1256
+ function Oi(e) {
1208
1257
  var t = {};
1209
- return e.replace(Pi, function(r) {
1258
+ return e.replace(Ci, function(r) {
1210
1259
  var n = r.length;
1211
1260
  switch (r[0]) {
1212
1261
  case "G":
@@ -1295,11 +1344,11 @@ function Ti(e) {
1295
1344
  return "";
1296
1345
  }), t;
1297
1346
  }
1298
- var Hi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1299
- function Bi(e) {
1347
+ var Li = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1348
+ function Mi(e) {
1300
1349
  if (e.length === 0)
1301
1350
  throw new Error("Number skeleton cannot be empty");
1302
- for (var t = e.split(Hi).filter(function(d) {
1351
+ for (var t = e.split(Li).filter(function(d) {
1303
1352
  return d.length > 0;
1304
1353
  }), r = [], n = 0, i = t; n < i.length; n++) {
1305
1354
  var o = i[n], s = o.split("/");
@@ -1314,17 +1363,17 @@ function Bi(e) {
1314
1363
  }
1315
1364
  return r;
1316
1365
  }
1317
- function Ai(e) {
1366
+ function Ni(e) {
1318
1367
  return e.replace(/^(.*?)-/, "");
1319
1368
  }
1320
- var hr = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Qr = /^(@+)?(\+|#+)?[rs]?$/g, Ii = /(\*)(0+)|(#+)(0+)|(0+)/g, Yr = /^(0+)$/;
1369
+ var hr = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Yr = /^(@+)?(\+|#+)?[rs]?$/g, Ri = /(\*)(0+)|(#+)(0+)|(0+)/g, Kr = /^(0+)$/;
1321
1370
  function fr(e) {
1322
1371
  var t = {};
1323
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Qr, function(r, n, i) {
1372
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Yr, function(r, n, i) {
1324
1373
  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)), "";
1325
1374
  }), t;
1326
1375
  }
1327
- function Kr(e) {
1376
+ function en(e) {
1328
1377
  switch (e) {
1329
1378
  case "sign-auto":
1330
1379
  return {
@@ -1364,7 +1413,7 @@ function Kr(e) {
1364
1413
  };
1365
1414
  }
1366
1415
  }
1367
- function Ci(e) {
1416
+ function Ui(e) {
1368
1417
  var t;
1369
1418
  if (e[0] === "E" && e[1] === "E" ? (t = {
1370
1419
  notation: "engineering"
@@ -1372,17 +1421,17 @@ function Ci(e) {
1372
1421
  notation: "scientific"
1373
1422
  }, e = e.slice(1)), t) {
1374
1423
  var r = e.slice(0, 2);
1375
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Yr.test(e))
1424
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Kr.test(e))
1376
1425
  throw new Error("Malformed concise eng/scientific notation");
1377
1426
  t.minimumIntegerDigits = e.length;
1378
1427
  }
1379
1428
  return t;
1380
1429
  }
1381
1430
  function dr(e) {
1382
- var t = {}, r = Kr(e);
1431
+ var t = {}, r = en(e);
1383
1432
  return r || t;
1384
1433
  }
1385
- function Oi(e) {
1434
+ function Fi(e) {
1386
1435
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1387
1436
  var i = n[r];
1388
1437
  switch (i.stem) {
@@ -1406,7 +1455,7 @@ function Oi(e) {
1406
1455
  continue;
1407
1456
  case "measure-unit":
1408
1457
  case "unit":
1409
- t.style = "unit", t.unit = Ai(i.options[0]);
1458
+ t.style = "unit", t.unit = Ni(i.options[0]);
1410
1459
  continue;
1411
1460
  case "compact-short":
1412
1461
  case "K":
@@ -1468,7 +1517,7 @@ function Oi(e) {
1468
1517
  case "integer-width":
1469
1518
  if (i.options.length > 1)
1470
1519
  throw new RangeError("integer-width stems only accept a single optional option");
1471
- i.options[0].replace(Ii, function(u, l, c, f, d, b) {
1520
+ i.options[0].replace(Ri, function(u, l, c, f, d, b) {
1472
1521
  if (l)
1473
1522
  t.minimumIntegerDigits = c.length;
1474
1523
  else {
@@ -1481,7 +1530,7 @@ function Oi(e) {
1481
1530
  });
1482
1531
  continue;
1483
1532
  }
1484
- if (Yr.test(i.stem)) {
1533
+ if (Kr.test(i.stem)) {
1485
1534
  t.minimumIntegerDigits = i.stem.length;
1486
1535
  continue;
1487
1536
  }
@@ -1495,13 +1544,13 @@ function Oi(e) {
1495
1544
  o === "w" ? t = w(w({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = w(w({}, t), fr(o)));
1496
1545
  continue;
1497
1546
  }
1498
- if (Qr.test(i.stem)) {
1547
+ if (Yr.test(i.stem)) {
1499
1548
  t = w(w({}, t), fr(i.stem));
1500
1549
  continue;
1501
1550
  }
1502
- var s = Kr(i.stem);
1551
+ var s = en(i.stem);
1503
1552
  s && (t = w(w({}, t), s));
1504
- var a = Ci(i.stem);
1553
+ var a = Ui(i.stem);
1505
1554
  a && (t = w(w({}, t), a));
1506
1555
  }
1507
1556
  return t;
@@ -1511,6 +1560,12 @@ var it = {
1511
1560
  "H",
1512
1561
  "h"
1513
1562
  ],
1563
+ 419: [
1564
+ "h",
1565
+ "H",
1566
+ "hB",
1567
+ "hb"
1568
+ ],
1514
1569
  AC: [
1515
1570
  "H",
1516
1571
  "h",
@@ -1559,8 +1614,8 @@ var it = {
1559
1614
  "hB"
1560
1615
  ],
1561
1616
  AR: [
1562
- "H",
1563
1617
  "h",
1618
+ "H",
1564
1619
  "hB",
1565
1620
  "hb"
1566
1621
  ],
@@ -1650,9 +1705,9 @@ var it = {
1650
1705
  "H"
1651
1706
  ],
1652
1707
  BO: [
1708
+ "h",
1653
1709
  "H",
1654
1710
  "hB",
1655
- "h",
1656
1711
  "hb"
1657
1712
  ],
1658
1713
  BQ: [
@@ -1729,8 +1784,8 @@ var it = {
1729
1784
  "hB"
1730
1785
  ],
1731
1786
  CL: [
1732
- "H",
1733
1787
  "h",
1788
+ "H",
1734
1789
  "hB",
1735
1790
  "hb"
1736
1791
  ],
@@ -1755,14 +1810,14 @@ var it = {
1755
1810
  "H"
1756
1811
  ],
1757
1812
  CR: [
1758
- "H",
1759
1813
  "h",
1814
+ "H",
1760
1815
  "hB",
1761
1816
  "hb"
1762
1817
  ],
1763
1818
  CU: [
1764
- "H",
1765
1819
  "h",
1820
+ "H",
1766
1821
  "hB",
1767
1822
  "hb"
1768
1823
  ],
@@ -1831,9 +1886,9 @@ var it = {
1831
1886
  "hb"
1832
1887
  ],
1833
1888
  EC: [
1889
+ "h",
1834
1890
  "H",
1835
1891
  "hB",
1836
- "h",
1837
1892
  "hb"
1838
1893
  ],
1839
1894
  EE: [
@@ -1969,8 +2024,8 @@ var it = {
1969
2024
  "hB"
1970
2025
  ],
1971
2026
  GT: [
1972
- "H",
1973
2027
  "h",
2028
+ "H",
1974
2029
  "hB",
1975
2030
  "hb"
1976
2031
  ],
@@ -1997,8 +2052,8 @@ var it = {
1997
2052
  "H"
1998
2053
  ],
1999
2054
  HN: [
2000
- "H",
2001
2055
  "h",
2056
+ "H",
2002
2057
  "hB",
2003
2058
  "hb"
2004
2059
  ],
@@ -2312,8 +2367,8 @@ var it = {
2312
2367
  "hB"
2313
2368
  ],
2314
2369
  MX: [
2315
- "H",
2316
2370
  "h",
2371
+ "H",
2317
2372
  "hB",
2318
2373
  "hb"
2319
2374
  ],
@@ -2353,8 +2408,8 @@ var it = {
2353
2408
  "hB"
2354
2409
  ],
2355
2410
  NI: [
2356
- "H",
2357
2411
  "h",
2412
+ "H",
2358
2413
  "hB",
2359
2414
  "hb"
2360
2415
  ],
@@ -2402,9 +2457,9 @@ var it = {
2402
2457
  "hb"
2403
2458
  ],
2404
2459
  PE: [
2460
+ "h",
2405
2461
  "H",
2406
2462
  "hB",
2407
- "h",
2408
2463
  "hb"
2409
2464
  ],
2410
2465
  PF: [
@@ -2462,8 +2517,8 @@ var it = {
2462
2517
  "H"
2463
2518
  ],
2464
2519
  PY: [
2465
- "H",
2466
2520
  "h",
2521
+ "H",
2467
2522
  "hB",
2468
2523
  "hb"
2469
2524
  ],
@@ -2576,8 +2631,8 @@ var it = {
2576
2631
  "hB"
2577
2632
  ],
2578
2633
  SV: [
2579
- "H",
2580
2634
  "h",
2635
+ "H",
2581
2636
  "hB",
2582
2637
  "hb"
2583
2638
  ],
@@ -2699,8 +2754,8 @@ var it = {
2699
2754
  "hB"
2700
2755
  ],
2701
2756
  UY: [
2702
- "H",
2703
2757
  "h",
2758
+ "H",
2704
2759
  "hB",
2705
2760
  "hb"
2706
2761
  ],
@@ -2808,37 +2863,37 @@ var it = {
2808
2863
  "H",
2809
2864
  "hB"
2810
2865
  ],
2811
- "es-BO": [
2812
- "H",
2866
+ "en-HK": [
2813
2867
  "h",
2814
- "hB",
2815
- "hb"
2868
+ "hb",
2869
+ "H",
2870
+ "hB"
2816
2871
  ],
2817
- "es-BR": [
2872
+ "en-IL": [
2818
2873
  "H",
2819
2874
  "h",
2820
- "hB",
2821
- "hb"
2875
+ "hb",
2876
+ "hB"
2822
2877
  ],
2823
- "es-EC": [
2824
- "H",
2878
+ "en-MY": [
2825
2879
  "h",
2826
- "hB",
2827
- "hb"
2880
+ "hb",
2881
+ "H",
2882
+ "hB"
2828
2883
  ],
2829
- "es-ES": [
2884
+ "es-BR": [
2830
2885
  "H",
2831
2886
  "h",
2832
2887
  "hB",
2833
2888
  "hb"
2834
2889
  ],
2835
- "es-GQ": [
2890
+ "es-ES": [
2836
2891
  "H",
2837
2892
  "h",
2838
2893
  "hB",
2839
2894
  "hb"
2840
2895
  ],
2841
- "es-PE": [
2896
+ "es-GQ": [
2842
2897
  "H",
2843
2898
  "h",
2844
2899
  "hB",
@@ -2915,13 +2970,13 @@ var it = {
2915
2970
  "h"
2916
2971
  ]
2917
2972
  };
2918
- function Li(e, t) {
2973
+ function Di(e, t) {
2919
2974
  for (var r = "", n = 0; n < e.length; n++) {
2920
2975
  var i = e.charAt(n);
2921
2976
  if (i === "j") {
2922
2977
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2923
2978
  o++, n++;
2924
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = Mi(t);
2979
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = ki(t);
2925
2980
  for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
2926
2981
  r += u;
2927
2982
  for (; s-- > 0; )
@@ -2930,7 +2985,7 @@ function Li(e, t) {
2930
2985
  }
2931
2986
  return r;
2932
2987
  }
2933
- function Mi(e) {
2988
+ function ki(e) {
2934
2989
  var t = e.hourCycle;
2935
2990
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2936
2991
  e.hourCycles && // @ts-ignore
@@ -2952,20 +3007,20 @@ function Mi(e) {
2952
3007
  var i = it[n || ""] || it[r || ""] || it["".concat(r, "-001")] || it["001"];
2953
3008
  return i[0];
2954
3009
  }
2955
- var wt, Ni = new RegExp("^".concat(Jr.source, "*")), Ri = new RegExp("".concat(Jr.source, "*$"));
3010
+ var St, $i = new RegExp("^".concat(Qr.source, "*")), Gi = new RegExp("".concat(Qr.source, "*$"));
2956
3011
  function E(e, t) {
2957
3012
  return { start: e, end: t };
2958
3013
  }
2959
- var Ui = !!String.prototype.startsWith && "_a".startsWith("a", 1), Fi = !!String.fromCodePoint, Di = !!Object.fromEntries, ki = !!String.prototype.codePointAt, $i = !!String.prototype.trimStart, Gi = !!String.prototype.trimEnd, ji = !!Number.isSafeInteger, Vi = ji ? Number.isSafeInteger : function(e) {
3014
+ var ji = !!String.prototype.startsWith && "_a".startsWith("a", 1), Vi = !!String.fromCodePoint, zi = !!Object.fromEntries, Xi = !!String.prototype.codePointAt, Wi = !!String.prototype.trimStart, Zi = !!String.prototype.trimEnd, qi = !!Number.isSafeInteger, Ji = qi ? Number.isSafeInteger : function(e) {
2960
3015
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2961
3016
  }, Nt = !0;
2962
3017
  try {
2963
- var zi = tn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2964
- Nt = ((wt = zi.exec("a")) === null || wt === void 0 ? void 0 : wt[0]) === "a";
3018
+ var Qi = rn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3019
+ Nt = ((St = Qi.exec("a")) === null || St === void 0 ? void 0 : St[0]) === "a";
2965
3020
  } catch (e) {
2966
3021
  Nt = !1;
2967
3022
  }
2968
- var mr = Ui ? (
3023
+ var mr = ji ? (
2969
3024
  // Native
2970
3025
  function(t, r, n) {
2971
3026
  return t.startsWith(r, n);
@@ -2975,7 +3030,7 @@ var mr = Ui ? (
2975
3030
  function(t, r, n) {
2976
3031
  return t.slice(n, n + r.length) === r;
2977
3032
  }
2978
- ), Rt = Fi ? String.fromCodePoint : (
3033
+ ), Rt = Vi ? String.fromCodePoint : (
2979
3034
  // IE11
2980
3035
  function() {
2981
3036
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2989,7 +3044,7 @@ var mr = Ui ? (
2989
3044
  }
2990
3045
  ), pr = (
2991
3046
  // native
2992
- Di ? Object.fromEntries : (
3047
+ zi ? Object.fromEntries : (
2993
3048
  // Ponyfill
2994
3049
  function(t) {
2995
3050
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2999,7 +3054,7 @@ var mr = Ui ? (
2999
3054
  return r;
3000
3055
  }
3001
3056
  )
3002
- ), en = ki ? (
3057
+ ), tn = Xi ? (
3003
3058
  // Native
3004
3059
  function(t, r) {
3005
3060
  return t.codePointAt(r);
@@ -3013,7 +3068,7 @@ var mr = Ui ? (
3013
3068
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3014
3069
  }
3015
3070
  }
3016
- ), Xi = $i ? (
3071
+ ), Yi = Wi ? (
3017
3072
  // Native
3018
3073
  function(t) {
3019
3074
  return t.trimStart();
@@ -3021,9 +3076,9 @@ var mr = Ui ? (
3021
3076
  ) : (
3022
3077
  // Ponyfill
3023
3078
  function(t) {
3024
- return t.replace(Ni, "");
3079
+ return t.replace($i, "");
3025
3080
  }
3026
- ), Wi = Gi ? (
3081
+ ), Ki = Zi ? (
3027
3082
  // Native
3028
3083
  function(t) {
3029
3084
  return t.trimEnd();
@@ -3031,15 +3086,15 @@ var mr = Ui ? (
3031
3086
  ) : (
3032
3087
  // Ponyfill
3033
3088
  function(t) {
3034
- return t.replace(Ri, "");
3089
+ return t.replace(Gi, "");
3035
3090
  }
3036
3091
  );
3037
- function tn(e, t) {
3092
+ function rn(e, t) {
3038
3093
  return new RegExp(e, t);
3039
3094
  }
3040
3095
  var Ut;
3041
3096
  if (Nt) {
3042
- var gr = tn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3097
+ var gr = rn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3043
3098
  Ut = function(t, r) {
3044
3099
  var n;
3045
3100
  gr.lastIndex = r;
@@ -3049,14 +3104,14 @@ if (Nt) {
3049
3104
  } else
3050
3105
  Ut = function(t, r) {
3051
3106
  for (var n = []; ; ) {
3052
- var i = en(t, r);
3053
- if (i === void 0 || rn(i) || Qi(i))
3107
+ var i = tn(t, r);
3108
+ if (i === void 0 || nn(i) || no(i))
3054
3109
  break;
3055
3110
  n.push(i), r += i >= 65536 ? 2 : 1;
3056
3111
  }
3057
3112
  return Rt.apply(void 0, n);
3058
3113
  };
3059
- var Zi = (
3114
+ var eo = (
3060
3115
  /** @class */
3061
3116
  function() {
3062
3117
  function e(t, r) {
@@ -3138,7 +3193,7 @@ var Zi = (
3138
3193
  return this.error(_.INVALID_TAG, E(n, this.clonePosition()));
3139
3194
  }, e.prototype.parseTagName = function() {
3140
3195
  var t = this.offset();
3141
- for (this.bump(); !this.isEOF() && Ji(this.char()); )
3196
+ for (this.bump(); !this.isEOF() && ro(this.char()); )
3142
3197
  this.bump();
3143
3198
  return this.message.slice(t, this.offset());
3144
3199
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3167,7 +3222,7 @@ var Zi = (
3167
3222
  };
3168
3223
  }, e.prototype.tryParseLeftAngleBracket = function() {
3169
3224
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3170
- !qi(this.peek() || 0)) ? (this.bump(), "<") : null;
3225
+ !to(this.peek() || 0)) ? (this.bump(), "<") : null;
3171
3226
  }, e.prototype.tryParseQuote = function(t) {
3172
3227
  if (this.isEOF() || this.char() !== 39)
3173
3228
  return null;
@@ -3254,7 +3309,7 @@ var Zi = (
3254
3309
  var c = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3255
3310
  if (f.err)
3256
3311
  return f;
3257
- var d = Wi(f.val);
3312
+ var d = Ki(f.val);
3258
3313
  if (d.length === 0)
3259
3314
  return this.error(_.EXPECT_ARGUMENT_STYLE, E(this.clonePosition(), this.clonePosition()));
3260
3315
  var b = E(c, this.clonePosition());
@@ -3265,7 +3320,7 @@ var Zi = (
3265
3320
  return y;
3266
3321
  var g = E(i, this.clonePosition());
3267
3322
  if (l && mr(l == null ? void 0 : l.style, "::", 0)) {
3268
- var x = Xi(l.style.slice(2));
3323
+ var x = Yi(l.style.slice(2));
3269
3324
  if (a === "number") {
3270
3325
  var f = this.parseNumberSkeletonFromString(x, l.styleLocation);
3271
3326
  return f.err ? f : {
@@ -3276,12 +3331,12 @@ var Zi = (
3276
3331
  if (x.length === 0)
3277
3332
  return this.error(_.EXPECT_DATE_TIME_SKELETON, g);
3278
3333
  var M = x;
3279
- this.locale && (M = Li(x, this.locale));
3334
+ this.locale && (M = Di(x, this.locale));
3280
3335
  var d = {
3281
3336
  type: Ie.dateTime,
3282
3337
  pattern: M,
3283
3338
  location: l.styleLocation,
3284
- parsedOptions: this.shouldParseSkeletons ? Ti(M) : {}
3339
+ parsedOptions: this.shouldParseSkeletons ? Oi(M) : {}
3285
3340
  }, q = a === "date" ? T.date : T.time;
3286
3341
  return {
3287
3342
  val: { type: q, value: n, location: g, style: d },
@@ -3386,7 +3441,7 @@ var Zi = (
3386
3441
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3387
3442
  var n = [];
3388
3443
  try {
3389
- n = Bi(t);
3444
+ n = Mi(t);
3390
3445
  } catch (i) {
3391
3446
  return this.error(_.INVALID_NUMBER_SKELETON, r);
3392
3447
  }
@@ -3395,7 +3450,7 @@ var Zi = (
3395
3450
  type: Ie.number,
3396
3451
  tokens: n,
3397
3452
  location: r,
3398
- parsedOptions: this.shouldParseSkeletons ? Oi(n) : {}
3453
+ parsedOptions: this.shouldParseSkeletons ? Fi(n) : {}
3399
3454
  },
3400
3455
  err: null
3401
3456
  };
@@ -3443,7 +3498,7 @@ var Zi = (
3443
3498
  break;
3444
3499
  }
3445
3500
  var u = E(i, this.clonePosition());
3446
- return o ? (s *= n, Vi(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
3501
+ return o ? (s *= n, Ji(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
3447
3502
  }, e.prototype.offset = function() {
3448
3503
  return this.position.offset;
3449
3504
  }, e.prototype.isEOF = function() {
@@ -3458,7 +3513,7 @@ var Zi = (
3458
3513
  var t = this.position.offset;
3459
3514
  if (t >= this.message.length)
3460
3515
  throw Error("out of bound");
3461
- var r = en(this.message, t);
3516
+ var r = tn(this.message, t);
3462
3517
  if (r === void 0)
3463
3518
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3464
3519
  return r;
@@ -3499,7 +3554,7 @@ var Zi = (
3499
3554
  break;
3500
3555
  }
3501
3556
  }, e.prototype.bumpSpace = function() {
3502
- for (; !this.isEOF() && rn(this.char()); )
3557
+ for (; !this.isEOF() && nn(this.char()); )
3503
3558
  this.bump();
3504
3559
  }, e.prototype.peek = function() {
3505
3560
  if (this.isEOF())
@@ -3512,86 +3567,36 @@ var Zi = (
3512
3567
  function Ft(e) {
3513
3568
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3514
3569
  }
3515
- function qi(e) {
3570
+ function to(e) {
3516
3571
  return Ft(e) || e === 47;
3517
3572
  }
3518
- function Ji(e) {
3573
+ function ro(e) {
3519
3574
  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;
3520
3575
  }
3521
- function rn(e) {
3576
+ function nn(e) {
3522
3577
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3523
3578
  }
3524
- function Qi(e) {
3579
+ function no(e) {
3525
3580
  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;
3526
3581
  }
3527
3582
  function Dt(e) {
3528
3583
  e.forEach(function(t) {
3529
- if (delete t.location, Xr(t) || Wr(t))
3584
+ if (delete t.location, Wr(t) || Zr(t))
3530
3585
  for (var r in t.options)
3531
3586
  delete t.options[r].location, Dt(t.options[r].value);
3532
- else jr(t) && qr(t.style) || (Vr(t) || zr(t)) && Mt(t.style) ? delete t.style.location : Zr(t) && Dt(t.children);
3587
+ else Vr(t) && Jr(t.style) || (zr(t) || Xr(t)) && Mt(t.style) ? delete t.style.location : qr(t) && Dt(t.children);
3533
3588
  });
3534
3589
  }
3535
- function Yi(e, t) {
3590
+ function io(e, t) {
3536
3591
  t === void 0 && (t = {}), t = w({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3537
- var r = new Zi(e, t).parse();
3592
+ var r = new eo(e, t).parse();
3538
3593
  if (r.err) {
3539
3594
  var n = SyntaxError(_[r.err.kind]);
3540
3595
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3541
3596
  }
3542
3597
  return t != null && t.captureLocation || Dt(r.val), r.val;
3543
3598
  }
3544
- function xt(e, t) {
3545
- var r = t && t.cache ? t.cache : io, n = t && t.serializer ? t.serializer : no, i = t && t.strategy ? t.strategy : eo;
3546
- return i(e, {
3547
- cache: r,
3548
- serializer: n
3549
- });
3550
- }
3551
- function Ki(e) {
3552
- return e == null || typeof e == "number" || typeof e == "boolean";
3553
- }
3554
- function nn(e, t, r, n) {
3555
- var i = Ki(n) ? n : r(n), o = t.get(i);
3556
- return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
3557
- }
3558
- function on(e, t, r) {
3559
- var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
3560
- return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
3561
- }
3562
- function jt(e, t, r, n, i) {
3563
- return r.bind(t, e, n, i);
3564
- }
3565
- function eo(e, t) {
3566
- var r = e.length === 1 ? nn : on;
3567
- return jt(e, this, r, t.cache.create(), t.serializer);
3568
- }
3569
- function to(e, t) {
3570
- return jt(e, this, on, t.cache.create(), t.serializer);
3571
- }
3572
- function ro(e, t) {
3573
- return jt(e, this, nn, t.cache.create(), t.serializer);
3574
- }
3575
- var no = function() {
3576
- return JSON.stringify(arguments);
3577
- };
3578
- function Vt() {
3579
- this.cache = /* @__PURE__ */ Object.create(null);
3580
- }
3581
- Vt.prototype.get = function(e) {
3582
- return this.cache[e];
3583
- };
3584
- Vt.prototype.set = function(e, t) {
3585
- this.cache[e] = t;
3586
- };
3587
- var io = {
3588
- create: function() {
3589
- return new Vt();
3590
- }
3591
- }, St = {
3592
- variadic: to,
3593
- monadic: ro
3594
- }, Ce;
3599
+ var Ce;
3595
3600
  (function(e) {
3596
3601
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3597
3602
  })(Ce || (Ce = {}));
@@ -3664,7 +3669,7 @@ function at(e, t, r, n, i, o, s) {
3664
3669
  });
3665
3670
  continue;
3666
3671
  }
3667
- if (Si(c)) {
3672
+ if (Ii(c)) {
3668
3673
  typeof o == "number" && a.push({
3669
3674
  type: X.literal,
3670
3675
  value: r.getNumberFormat(t).format(o)
@@ -3675,14 +3680,14 @@ function at(e, t, r, n, i, o, s) {
3675
3680
  if (!(i && f in i))
3676
3681
  throw new so(f, s);
3677
3682
  var d = i[f];
3678
- if (xi(c)) {
3683
+ if (Ai(c)) {
3679
3684
  (!d || typeof d == "string" || typeof d == "number") && (d = typeof d == "string" || typeof d == "number" ? String(d) : ""), a.push({
3680
3685
  type: typeof d == "string" ? X.literal : X.object,
3681
3686
  value: d
3682
3687
  });
3683
3688
  continue;
3684
3689
  }
3685
- if (Vr(c)) {
3690
+ if (zr(c)) {
3686
3691
  var b = typeof c.style == "string" ? n.date[c.style] : Mt(c.style) ? c.style.parsedOptions : void 0;
3687
3692
  a.push({
3688
3693
  type: X.literal,
@@ -3690,7 +3695,7 @@ function at(e, t, r, n, i, o, s) {
3690
3695
  });
3691
3696
  continue;
3692
3697
  }
3693
- if (zr(c)) {
3698
+ if (Xr(c)) {
3694
3699
  var b = typeof c.style == "string" ? n.time[c.style] : Mt(c.style) ? c.style.parsedOptions : n.time.medium;
3695
3700
  a.push({
3696
3701
  type: X.literal,
@@ -3698,15 +3703,15 @@ function at(e, t, r, n, i, o, s) {
3698
3703
  });
3699
3704
  continue;
3700
3705
  }
3701
- if (jr(c)) {
3702
- var b = typeof c.style == "string" ? n.number[c.style] : qr(c.style) ? c.style.parsedOptions : void 0;
3706
+ if (Vr(c)) {
3707
+ var b = typeof c.style == "string" ? n.number[c.style] : Jr(c.style) ? c.style.parsedOptions : void 0;
3703
3708
  b && b.scale && (d = d * (b.scale || 1)), a.push({
3704
3709
  type: X.literal,
3705
3710
  value: r.getNumberFormat(t, b).format(d)
3706
3711
  });
3707
3712
  continue;
3708
3713
  }
3709
- if (Zr(c)) {
3714
+ if (qr(c)) {
3710
3715
  var y = c.children, g = c.value, x = i[g];
3711
3716
  if (!lo(x))
3712
3717
  throw new oo(g, "function", s);
@@ -3720,14 +3725,14 @@ function at(e, t, r, n, i, o, s) {
3720
3725
  };
3721
3726
  }));
3722
3727
  }
3723
- if (Xr(c)) {
3728
+ if (Wr(c)) {
3724
3729
  var H = c.options[d] || c.options.other;
3725
3730
  if (!H)
3726
3731
  throw new br(c.value, d, Object.keys(c.options), s);
3727
3732
  a.push.apply(a, at(H.value, t, r, n, i));
3728
3733
  continue;
3729
3734
  }
3730
- if (Wr(c)) {
3735
+ if (Zr(c)) {
3731
3736
  var H = c.options["=".concat(d)];
3732
3737
  if (!H) {
3733
3738
  if (!Intl.PluralRules)
@@ -3775,29 +3780,29 @@ function ho(e) {
3775
3780
  dateTime: {},
3776
3781
  pluralRules: {}
3777
3782
  }), {
3778
- getNumberFormat: xt(function() {
3783
+ getNumberFormat: wt(function() {
3779
3784
  for (var t, r = [], n = 0; n < arguments.length; n++)
3780
3785
  r[n] = arguments[n];
3781
3786
  return new ((t = Intl.NumberFormat).bind.apply(t, Be([void 0], r, !1)))();
3782
3787
  }, {
3783
3788
  cache: Pt(e.number),
3784
- strategy: St.variadic
3789
+ strategy: xt.variadic
3785
3790
  }),
3786
- getDateTimeFormat: xt(function() {
3791
+ getDateTimeFormat: wt(function() {
3787
3792
  for (var t, r = [], n = 0; n < arguments.length; n++)
3788
3793
  r[n] = arguments[n];
3789
3794
  return new ((t = Intl.DateTimeFormat).bind.apply(t, Be([void 0], r, !1)))();
3790
3795
  }, {
3791
3796
  cache: Pt(e.dateTime),
3792
- strategy: St.variadic
3797
+ strategy: xt.variadic
3793
3798
  }),
3794
- getPluralRules: xt(function() {
3799
+ getPluralRules: wt(function() {
3795
3800
  for (var t, r = [], n = 0; n < arguments.length; n++)
3796
3801
  r[n] = arguments[n];
3797
3802
  return new ((t = Intl.PluralRules).bind.apply(t, Be([void 0], r, !1)))();
3798
3803
  }, {
3799
3804
  cache: Pt(e.pluralRules),
3800
- strategy: St.variadic
3805
+ strategy: xt.variadic
3801
3806
  })
3802
3807
  };
3803
3808
  }
@@ -3805,8 +3810,9 @@ var fo = (
3805
3810
  /** @class */
3806
3811
  function() {
3807
3812
  function e(t, r, n, i) {
3813
+ r === void 0 && (r = e.defaultLocale);
3808
3814
  var o = this;
3809
- if (r === void 0 && (r = e.defaultLocale), this.formatterCache = {
3815
+ if (this.formatterCache = {
3810
3816
  number: {},
3811
3817
  dateTime: {},
3812
3818
  pluralRules: {}
@@ -3832,7 +3838,7 @@ var fo = (
3832
3838
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3833
3839
  var s = i || {};
3834
3840
  s.formatters;
3835
- var a = Xn(s, ["formatters"]);
3841
+ var a = zn(s, ["formatters"]);
3836
3842
  this.ast = e.__parse(t, w(w({}, a), { locale: this.resolvedLocale }));
3837
3843
  } else
3838
3844
  this.ast = t;
@@ -3851,7 +3857,7 @@ var fo = (
3851
3857
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3852
3858
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3853
3859
  }
3854
- }, e.__parse = Yi, e.formats = {
3860
+ }, e.__parse = io, e.formats = {
3855
3861
  number: {
3856
3862
  integer: {
3857
3863
  maximumFractionDigits: 0
@@ -3933,7 +3939,7 @@ function mo(e, t) {
3933
3939
  n = void 0;
3934
3940
  return n;
3935
3941
  }
3936
- const he = {}, po = (e, t, r) => r && (t in he || (he[t] = {}), e in he[t] || (he[t][e] = r), r), sn = (e, t) => {
3942
+ const he = {}, po = (e, t, r) => r && (t in he || (he[t] = {}), e in he[t] || (he[t][e] = r), r), on = (e, t) => {
3937
3943
  if (t == null)
3938
3944
  return;
3939
3945
  if (t in he && e in he[t])
@@ -3950,11 +3956,11 @@ const Ne = dt({});
3950
3956
  function go(e) {
3951
3957
  return zt[e] || null;
3952
3958
  }
3953
- function an(e) {
3959
+ function sn(e) {
3954
3960
  return e in zt;
3955
3961
  }
3956
3962
  function bo(e, t) {
3957
- if (!an(e))
3963
+ if (!sn(e))
3958
3964
  return null;
3959
3965
  const r = go(e);
3960
3966
  return mo(r, t);
@@ -3965,11 +3971,11 @@ function vo(e) {
3965
3971
  const t = pt(e);
3966
3972
  for (let r = 0; r < t.length; r++) {
3967
3973
  const n = t[r];
3968
- if (an(n))
3974
+ if (sn(n))
3969
3975
  return n;
3970
3976
  }
3971
3977
  }
3972
- function ln(e, ...t) {
3978
+ function an(e, ...t) {
3973
3979
  delete he[e], Ne.update((r) => (r[e] = wi.all([r[e] || {}, ...t]), r));
3974
3980
  }
3975
3981
  Me(
@@ -3981,12 +3987,12 @@ const lt = {};
3981
3987
  function yo(e, t) {
3982
3988
  lt[e].delete(t), lt[e].size === 0 && delete lt[e];
3983
3989
  }
3984
- function un(e) {
3990
+ function ln(e) {
3985
3991
  return lt[e];
3986
3992
  }
3987
3993
  function _o(e) {
3988
3994
  return pt(e).map((t) => {
3989
- const r = un(t);
3995
+ const r = ln(t);
3990
3996
  return [t, r ? [...r] : []];
3991
3997
  }).filter(([, t]) => t.length > 0);
3992
3998
  }
@@ -3994,17 +4000,17 @@ function kt(e) {
3994
4000
  return e == null ? !1 : pt(e).some(
3995
4001
  (t) => {
3996
4002
  var r;
3997
- return (r = un(t)) == null ? void 0 : r.size;
4003
+ return (r = ln(t)) == null ? void 0 : r.size;
3998
4004
  }
3999
4005
  );
4000
4006
  }
4001
4007
  function Eo(e, t) {
4002
4008
  return Promise.all(
4003
4009
  t.map((n) => (yo(e, n), n().then((i) => i.default || i)))
4004
- ).then((n) => ln(e, ...n));
4010
+ ).then((n) => an(e, ...n));
4005
4011
  }
4006
4012
  const ze = {};
4007
- function cn(e) {
4013
+ function un(e) {
4008
4014
  if (!kt(e))
4009
4015
  return e in ze ? ze[e] : Promise.resolve();
4010
4016
  const t = _o(e);
@@ -4014,7 +4020,7 @@ function cn(e) {
4014
4020
  )
4015
4021
  ).then(() => {
4016
4022
  if (kt(e))
4017
- return cn(e);
4023
+ return un(e);
4018
4024
  delete ze[e];
4019
4025
  }), ze[e];
4020
4026
  }
@@ -4089,7 +4095,7 @@ const Oo = (e) => {
4089
4095
  return typeof window != "undefined" && be() != null && t ? r = window.setTimeout(
4090
4096
  () => Tt.set(!0),
4091
4097
  t
4092
- ) : Tt.set(!0), cn(e).then(() => {
4098
+ ) : Tt.set(!0), un(e).then(() => {
4093
4099
  ct.set(e);
4094
4100
  }).finally(() => {
4095
4101
  clearTimeout(r), Tt.set(!1);
@@ -4105,20 +4111,20 @@ const Oo = (e) => {
4105
4111
  return i in t ? t[i] : t[i] = e(n);
4106
4112
  };
4107
4113
  };
4108
- var Lo = Object.defineProperty, ht = Object.getOwnPropertySymbols, hn = Object.prototype.hasOwnProperty, fn = Object.prototype.propertyIsEnumerable, Er = (e, t, r) => t in e ? Lo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Xt = (e, t) => {
4114
+ var Lo = Object.defineProperty, ht = Object.getOwnPropertySymbols, cn = Object.prototype.hasOwnProperty, hn = Object.prototype.propertyIsEnumerable, Er = (e, t, r) => t in e ? Lo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Xt = (e, t) => {
4109
4115
  for (var r in t || (t = {}))
4110
- hn.call(t, r) && Er(e, r, t[r]);
4116
+ cn.call(t, r) && Er(e, r, t[r]);
4111
4117
  if (ht)
4112
4118
  for (var r of ht(t))
4113
- fn.call(t, r) && Er(e, r, t[r]);
4119
+ hn.call(t, r) && Er(e, r, t[r]);
4114
4120
  return e;
4115
4121
  }, Re = (e, t) => {
4116
4122
  var r = {};
4117
4123
  for (var n in e)
4118
- hn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4124
+ cn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4119
4125
  if (e != null && ht)
4120
4126
  for (var n of ht(e))
4121
- t.indexOf(n) < 0 && fn.call(e, n) && (r[n] = e[n]);
4127
+ t.indexOf(n) < 0 && hn.call(e, n) && (r[n] = e[n]);
4122
4128
  return r;
4123
4129
  };
4124
4130
  const qe = (e, t) => {
@@ -4188,7 +4194,7 @@ const qe = (e, t) => {
4188
4194
  throw new Error(
4189
4195
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4190
4196
  );
4191
- let c = sn(e, u);
4197
+ let c = on(e, u);
4192
4198
  if (!c)
4193
4199
  c = (o = (i = (n = (r = Oe()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
4194
4200
  else if (typeof c != "string")
@@ -4207,7 +4213,7 @@ const qe = (e, t) => {
4207
4213
  );
4208
4214
  }
4209
4215
  return f;
4210
- }, Go = (e, t) => Do(t).format(e), jo = (e, t) => Fo(t).format(e), Vo = (e, t) => Uo(t).format(e), zo = (e, t = be()) => sn(e, t), Xo = Me([fe, Ne], () => $o);
4216
+ }, Go = (e, t) => Do(t).format(e), jo = (e, t) => Fo(t).format(e), Vo = (e, t) => Uo(t).format(e), zo = (e, t = be()) => on(e, t), Xo = Me([fe, Ne], () => $o);
4211
4217
  Me([fe], () => Go);
4212
4218
  Me([fe], () => jo);
4213
4219
  Me([fe], () => Vo);
@@ -4226,7 +4232,7 @@ if (typeof window != "undefined") {
4226
4232
  }
4227
4233
  };
4228
4234
  };
4229
- customElements.define = e(customElements.define), import("./GeneralPlayerSmsVerificationForm-BfpIoHHZ.js").then(({ default: t }) => {
4235
+ customElements.define = e(customElements.define), import("./GeneralPlayerSmsVerificationForm-a1kqwfzc.js").then(({ default: t }) => {
4230
4236
  !customElements.get("general-player-sms-verification-form") && customElements.define("general-player-sms-verification-form", t.element);
4231
4237
  });
4232
4238
  }
@@ -4236,7 +4242,7 @@ function Zo({ withLocale: e, translations: t }) {
4236
4242
  });
4237
4243
  }
4238
4244
  function wr(e, t) {
4239
- ln(e, t);
4245
+ an(e, t);
4240
4246
  }
4241
4247
  function qo(e) {
4242
4248
  fe.set(e);
@@ -4372,9 +4378,9 @@ const xr = {
4372
4378
  loginForgotPassword: "Olvidé mi Contraseña",
4373
4379
  successMessage: "Sesión iniciada exitosamente!"
4374
4380
  }
4375
- }, { document: Sr } = Sn;
4381
+ }, { document: Sr } = xn;
4376
4382
  function Jo(e) {
4377
- Pn(e, "svelte-b3dr9t", '.grecaptcha-badge{opacity:0}.PlayerLoginFormWrapper{height:100%}.FormContainer{width:100%}.FormLogin{background:var(--emw--registration-color-bg, var(--emw--color-gray-50, #F9F8F8));padding:50px}.FormHeaderTitle{color:var(--emw--registration-typography, var(--emw--color-contrast, #07072A));font-size:20px;font-weight:300;padding:0;text-transform:uppercase;margin:0}.PasswordContainer{position:relative}.FormRequired{color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.FormHeaderSubtitle{color:var(--emw--registration-contrast, var(--emw--color-gray-300, #58586B));font-size:14px;font-weight:300;margin:5px 0 0 0}.FormRegisterCallToAction{color:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));font-size:14px;font-weight:400;text-decoration:none;cursor:pointer}.FormContent{padding-top:20px}.UserContainer,.PasswordContainer,.CaptchaContainer{color:var(--emw--registration-contrast, var(--emw--color-gray-300, #58586B));display:flex;flex-direction:column;position:relative}.UserContainer label,.PasswordContainer label,.CaptchaContainer label{font-size:14px;font-weight:300;padding-bottom:5px}.UserContainer input,.PasswordContainer input,.CaptchaContainer input{width:100%;height:44px;border:1px solid var(--emw--color-gray-100, #E6E6E6);border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:16px;line-height:18px}.UserContainer.InvalidField input,.PasswordContainer.InvalidField input,.CaptchaContainer.InvalidField input{border:1px solid var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));background:var(--emw--color-pale, #FBECF4);color:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C))}.PasswordContainer input{padding:5px 30px 5px 15px}.TogglePasswordVisibility{height:13px;position:absolute;right:8px;bottom:55px}.TogglePasswordVisibility.InvalidToggle path,.TogglePasswordVisibility.InvalidToggle circle,.TogglePasswordVisibility.InvalidToggle rect{fill:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C))}.TogglePasswordVisibility path,.TogglePasswordVisibility circle,.TogglePasswordVisibility rect{fill:var(--emw--registration-contrast, var(--emw--color-gray-300, #58586B))}.SignInButton{color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));background:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));border-radius:5px;width:100%;height:60px;padding:0;text-transform:uppercase;font-size:18px;cursor:pointer}.SignInButton[disabled]{background:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-150, #828282);cursor:not-allowed}.ForgotPasswordButton{border:0;background:transparent;font-size:14px;font-weight:300;color:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));margin-top:15px;cursor:pointer}.PasswordContainer,.UserContainer{padding-bottom:40px}.InvalidInput{color:var(--emw--color-error, var(--emw--color-red, #ed0909));font-size:10px;position:absolute;top:55px;padding-top:5px;line-height:10px}.ErrorMessage{margin:0 0 15px 0;font-size:12px;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.FormMobileContainer{height:100%}.FormMobileContainer .FormLogin{padding:40px 20px}.FormMobileContainer .SignInButton,.FormMobileContainer .UserContainer input,.FormMobileContainer .PasswordContainer input,.FormMobileContainer .CaptchaContainer{max-width:unset}.ModalLoaderWrapper{display:flex;height:100%;align-items:center}.ModalLoader{display:block;width:80px;height:80px;margin:0 auto}.ModalLoader:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));border-color:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C)) transparent var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C)) transparent;animation:Loader 1.2s linear infinite}input::-ms-reveal,input::-ms-clear{display:none}@keyframes Loader{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
4383
+ Sn(e, "svelte-b3dr9t", '.grecaptcha-badge{opacity:0}.PlayerLoginFormWrapper{height:100%}.FormContainer{width:100%}.FormLogin{background:var(--emw--registration-color-bg, var(--emw--color-gray-50, #F9F8F8));padding:50px}.FormHeaderTitle{color:var(--emw--registration-typography, var(--emw--color-contrast, #07072A));font-size:20px;font-weight:300;padding:0;text-transform:uppercase;margin:0}.PasswordContainer{position:relative}.FormRequired{color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.FormHeaderSubtitle{color:var(--emw--registration-contrast, var(--emw--color-gray-300, #58586B));font-size:14px;font-weight:300;margin:5px 0 0 0}.FormRegisterCallToAction{color:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));font-size:14px;font-weight:400;text-decoration:none;cursor:pointer}.FormContent{padding-top:20px}.UserContainer,.PasswordContainer,.CaptchaContainer{color:var(--emw--registration-contrast, var(--emw--color-gray-300, #58586B));display:flex;flex-direction:column;position:relative}.UserContainer label,.PasswordContainer label,.CaptchaContainer label{font-size:14px;font-weight:300;padding-bottom:5px}.UserContainer input,.PasswordContainer input,.CaptchaContainer input{width:100%;height:44px;border:1px solid var(--emw--color-gray-100, #E6E6E6);border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:16px;line-height:18px}.UserContainer.InvalidField input,.PasswordContainer.InvalidField input,.CaptchaContainer.InvalidField input{border:1px solid var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));background:var(--emw--color-pale, #FBECF4);color:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C))}.PasswordContainer input{padding:5px 30px 5px 15px}.TogglePasswordVisibility{height:13px;position:absolute;right:8px;bottom:55px}.TogglePasswordVisibility.InvalidToggle path,.TogglePasswordVisibility.InvalidToggle circle,.TogglePasswordVisibility.InvalidToggle rect{fill:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C))}.TogglePasswordVisibility path,.TogglePasswordVisibility circle,.TogglePasswordVisibility rect{fill:var(--emw--registration-contrast, var(--emw--color-gray-300, #58586B))}.SignInButton{color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));background:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));border-radius:5px;width:100%;height:60px;padding:0;text-transform:uppercase;font-size:18px;cursor:pointer}.SignInButton[disabled]{background:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-150, #828282);cursor:not-allowed}.ForgotPasswordButton{border:0;background:transparent;font-size:14px;font-weight:300;color:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));margin-top:15px;cursor:pointer}.PasswordContainer,.UserContainer{padding-bottom:40px}.InvalidInput{color:var(--emw--color-error, var(--emw--color-red, #ed0909));font-size:10px;position:absolute;top:55px;padding-top:5px;line-height:10px}.ErrorMessage{margin:0 0 15px 0;font-size:12px;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.FormMobileContainer{height:100%}.FormMobileContainer .FormLogin{padding:40px 20px}.FormMobileContainer .SignInButton,.FormMobileContainer .UserContainer input,.FormMobileContainer .PasswordContainer input,.FormMobileContainer .CaptchaContainer{max-width:unset}.ModalLoaderWrapper{display:flex;height:100%;align-items:center}.ModalLoader{display:block;width:80px;height:80px;margin:0 auto}.ModalLoader:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));border-color:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C)) transparent var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C)) transparent;animation:Loader 1.2s linear infinite}input::-ms-reveal,input::-ms-clear{display:none}@keyframes Loader{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
4378
4384
  }
4379
4385
  function Pr(e) {
4380
4386
  let t, r;
@@ -4823,7 +4829,7 @@ function ns(e) {
4823
4829
  let u = a(e), l = u(e);
4824
4830
  return {
4825
4831
  c() {
4826
- s && s.c(), t = Bn(), r = z(), n = S("div"), i = z(), o = S("div"), l.c(), h(n, "class", "g-recaptcha"), h(
4832
+ s && s.c(), t = Hn(), r = z(), n = S("div"), i = z(), o = S("div"), l.c(), h(n, "class", "g-recaptcha"), h(
4827
4833
  n,
4828
4834
  "data-sitekey",
4829
4835
  /*captchakey*/
@@ -4853,7 +4859,7 @@ function ns(e) {
4853
4859
  let is = "Please use this code {0} to activate your account";
4854
4860
  function os(e, t, r) {
4855
4861
  let n;
4856
- xn(e, Xo, (m) => r(21, n = m));
4862
+ wn(e, Xo, (m) => r(21, n = m));
4857
4863
  let { endpoint: i = "" } = t, { captchakey: o = "" } = t, { lang: s = "en" } = t, { smsverification: a = "false" } = t, { simplepasswordvalidation: u = "false" } = t, { clientstyling: l = "" } = t, { clientstylingurl: c = "" } = t, { translationurl: f = "" } = t, { savecredentials: d = "" } = t, b, y, g = !1, x, M = !1, q = window.navigator.userAgent, H = "", R = "", G = { username: "", password: "" }, J = !1, B = !1, oe = "", ne = !1, ie, de = !1, A = !0, W, ve = +localStorage.getItem("smsTimer") || 0, Ue = Date.now() / 1e3 - ve, Fe = localStorage.getItem("smsValidation") == "true" && Ue < 60, se = {
4858
4864
  user: /^(?!(?:.*\d){9})(?=(?:.*[a-zA-Z]){4})^[a-zA-Z\d]*$/,
4859
4865
  email: /^[^<>()*{}=/|?`~[\]\\,;:\%#^\s@\"$&!@]+@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z0-9]+\.)+[a-zA-Z]{2,}))$/i,
@@ -4923,12 +4929,12 @@ function os(e, t, r) {
4923
4929
  let Zt = {
4924
4930
  "Content-Type": "application/json",
4925
4931
  "g-recaptcha-response": j
4926
- }, bt = { username: m, password: $ }, gn = {
4932
+ }, bt = { username: m, password: $ }, pn = {
4927
4933
  method: "POST",
4928
4934
  headers: Zt,
4929
4935
  body: JSON.stringify(bt)
4930
4936
  };
4931
- fetch(`${i}/v1/player/login/player`, gn).then((V) => (V.status >= 500 && (r(15, oe = "Server might not be responsing"), r(16, ne = !1), window.postMessage(
4937
+ fetch(`${i}/v1/player/login/player`, pn).then((V) => (V.status >= 500 && (r(15, oe = "Server might not be responsing"), r(16, ne = !1), window.postMessage(
4932
4938
  {
4933
4939
  type: "WidgetNotification",
4934
4940
  data: {
@@ -5028,7 +5034,7 @@ function os(e, t, r) {
5028
5034
  );
5029
5035
  });
5030
5036
  };
5031
- On(() => (window.addEventListener("message", ce, !1), window.postMessage({ type: "LoginRegisterModalActive" }, window.location.href), r(10, M = Wo(q)), () => {
5037
+ Cn(() => (window.addEventListener("message", ce, !1), window.postMessage({ type: "LoginRegisterModalActive" }, window.location.href), r(10, M = Wo(q)), () => {
5032
5038
  window.removeEventListener("message", ce);
5033
5039
  }));
5034
5040
  const xe = () => me();
@@ -5043,8 +5049,8 @@ function os(e, t, r) {
5043
5049
  ie = m, r(17, ie);
5044
5050
  });
5045
5051
  }
5046
- const k = () => _e(), v = () => De(), P = (m) => pe(m), mn = (m) => ke(m);
5047
- function pn(m) {
5052
+ const k = () => _e(), v = () => De(), P = (m) => pe(m), dn = (m) => ke(m);
5053
+ function mn(m) {
5048
5054
  ut[m ? "unshift" : "push"](() => {
5049
5055
  W = m, r(6, W);
5050
5056
  });
@@ -5098,13 +5104,13 @@ function os(e, t, r) {
5098
5104
  k,
5099
5105
  v,
5100
5106
  P,
5101
- mn,
5102
- pn
5107
+ dn,
5108
+ mn
5103
5109
  ];
5104
5110
  }
5105
- class dn extends Vn {
5111
+ class fn extends jn {
5106
5112
  constructor(t) {
5107
- super(), Gn(
5113
+ super(), $n(
5108
5114
  this,
5109
5115
  t,
5110
5116
  os,
@@ -5180,24 +5186,24 @@ class dn extends Vn {
5180
5186
  this.$$set({ savecredentials: t }), te();
5181
5187
  }
5182
5188
  }
5183
- jn(dn, { endpoint: {}, captchakey: {}, lang: {}, smsverification: {}, simplepasswordvalidation: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, savecredentials: {} }, [], [], !0);
5189
+ Gn(fn, { endpoint: {}, captchakey: {}, lang: {}, smsverification: {}, simplepasswordvalidation: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, savecredentials: {} }, [], [], !0);
5184
5190
  const as = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5185
5191
  __proto__: null,
5186
- default: dn
5192
+ default: fn
5187
5193
  }, Symbol.toStringTag, { value: "Module" }));
5188
5194
  export {
5189
5195
  fe as $,
5190
5196
  as as G,
5191
- Vn as S,
5197
+ jn as S,
5192
5198
  Ne as a,
5193
- ln as b,
5194
- jn as c,
5195
- Pn as d,
5199
+ an as b,
5200
+ Gn as c,
5201
+ Sn as d,
5196
5202
  S as e,
5197
5203
  te as f,
5198
5204
  z as g,
5199
5205
  h,
5200
- Gn as i,
5206
+ $n as i,
5201
5207
  L as j,
5202
5208
  p as k,
5203
5209
  rt as l,
@@ -5205,11 +5211,11 @@ export {
5205
5211
  re as n,
5206
5212
  Z as o,
5207
5213
  I as p,
5208
- xn as q,
5214
+ wn as q,
5209
5215
  Le as r,
5210
5216
  Cr as s,
5211
5217
  N as t,
5212
- On as u,
5218
+ Cn as u,
5213
5219
  ut as v,
5214
5220
  Xo as w
5215
5221
  };