@everymatrix/general-player-login-form 1.87.26 → 1.87.27

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,17 +1,17 @@
1
- var mn = Object.defineProperty, gn = Object.defineProperties;
2
- var bn = Object.getOwnPropertyDescriptors;
3
- var Yt = Object.getOwnPropertySymbols;
4
- var vn = Object.prototype.hasOwnProperty, yn = Object.prototype.propertyIsEnumerable;
5
- var _t = (e, t, r) => t in e ? mn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Kt = (e, t) => {
1
+ var bn = Object.defineProperty, vn = Object.defineProperties;
2
+ var yn = Object.getOwnPropertyDescriptors;
3
+ var Kt = Object.getOwnPropertySymbols;
4
+ var _n = Object.prototype.hasOwnProperty, En = Object.prototype.propertyIsEnumerable;
5
+ var Et = (e, t, r) => t in e ? bn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, er = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- vn.call(t, r) && _t(e, r, t[r]);
8
- if (Yt)
9
- for (var r of Yt(t))
10
- yn.call(t, r) && _t(e, r, t[r]);
7
+ _n.call(t, r) && Et(e, r, t[r]);
8
+ if (Kt)
9
+ for (var r of Kt(t))
10
+ En.call(t, r) && Et(e, r, t[r]);
11
11
  return e;
12
- }, er = (e, t) => gn(e, bn(t));
13
- var K = (e, t, r) => (_t(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var et = (e, t, r) => new Promise((n, i) => {
12
+ }, tr = (e, t) => vn(e, yn(t));
13
+ var Y = (e, t, r) => (Et(e, typeof t != "symbol" ? t + "" : t, r), r);
14
+ var tt = (e, t, r) => new Promise((n, i) => {
15
15
  var o = (u) => {
16
16
  try {
17
17
  a(r.next(u));
@@ -29,29 +29,29 @@ var et = (e, t, r) => new Promise((n, i) => {
29
29
  });
30
30
  function Z() {
31
31
  }
32
- function Or(e) {
32
+ function Cr(e) {
33
33
  return e();
34
34
  }
35
- function tr() {
35
+ function rr() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
38
  function Me(e) {
39
- e.forEach(Or);
39
+ e.forEach(Cr);
40
40
  }
41
- function Xt(e) {
41
+ function Wt(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function Cr(e, t) {
44
+ function Lr(e, t) {
45
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
- let tt;
48
- function rr(e, t) {
49
- return e === t ? !0 : (tt || (tt = document.createElement("a")), tt.href = t, e === tt.href);
47
+ let rt;
48
+ function nr(e, t) {
49
+ return e === t ? !0 : (rt || (rt = document.createElement("a")), rt.href = t, e === rt.href);
50
50
  }
51
- function _n(e) {
51
+ function wn(e) {
52
52
  return Object.keys(e).length === 0;
53
53
  }
54
- function Lr(e, ...t) {
54
+ function Mr(e, ...t) {
55
55
  if (e == null) {
56
56
  for (const n of t)
57
57
  n(void 0);
@@ -60,20 +60,20 @@ function Lr(e, ...t) {
60
60
  const r = e.subscribe(...t);
61
61
  return r.unsubscribe ? () => r.unsubscribe() : r;
62
62
  }
63
- function En(e, t, r) {
64
- e.$$.on_destroy.push(Lr(t, r));
63
+ function xn(e, t, r) {
64
+ e.$$.on_destroy.push(Mr(t, r));
65
65
  }
66
66
  function p(e, t) {
67
67
  e.appendChild(t);
68
68
  }
69
- function wn(e, t, r) {
70
- const n = xn(e);
69
+ function Sn(e, t, r) {
70
+ const n = Pn(e);
71
71
  if (!n.getElementById(t)) {
72
72
  const i = w("style");
73
- i.id = t, i.textContent = r, Sn(n, i);
73
+ i.id = t, i.textContent = r, Tn(n, i);
74
74
  }
75
75
  }
76
- function xn(e) {
76
+ function Pn(e) {
77
77
  if (!e)
78
78
  return document;
79
79
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -83,7 +83,7 @@ function xn(e) {
83
83
  t
84
84
  ) : e.ownerDocument;
85
85
  }
86
- function Sn(e, t) {
86
+ function Tn(e, t) {
87
87
  return p(
88
88
  /** @type {Document} */
89
89
  e.head || e,
@@ -93,7 +93,7 @@ function Sn(e, t) {
93
93
  function M(e, t, r) {
94
94
  e.insertBefore(t, r || null);
95
95
  }
96
- function I(e) {
96
+ function O(e) {
97
97
  e.parentNode && e.parentNode.removeChild(e);
98
98
  }
99
99
  function w(e) {
@@ -108,7 +108,7 @@ function N(e) {
108
108
  function j() {
109
109
  return N(" ");
110
110
  }
111
- function Pn() {
111
+ function Bn() {
112
112
  return N("");
113
113
  }
114
114
  function ae(e, t, r, n) {
@@ -121,17 +121,17 @@ function W(e, t, r) {
121
121
  const n = t.toLowerCase();
122
122
  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);
123
123
  }
124
- function Tn(e) {
124
+ function Hn(e) {
125
125
  return Array.from(e.childNodes);
126
126
  }
127
127
  function re(e, t) {
128
128
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
129
129
  t);
130
130
  }
131
- function rt(e, t) {
131
+ function nt(e, t) {
132
132
  e.value = t == null ? "" : t;
133
133
  }
134
- function Bn(e) {
134
+ function An(e) {
135
135
  const t = {};
136
136
  return e.childNodes.forEach(
137
137
  /** @param {Element} node */
@@ -140,87 +140,87 @@ function Bn(e) {
140
140
  }
141
141
  ), t;
142
142
  }
143
- let ze;
144
- function Ve(e) {
145
- ze = e;
143
+ let We;
144
+ function Xe(e) {
145
+ We = e;
146
146
  }
147
- function Hn() {
148
- if (!ze)
147
+ function In() {
148
+ if (!We)
149
149
  throw new Error("Function called outside component initialization");
150
- return ze;
150
+ return We;
151
151
  }
152
- function An(e) {
153
- Hn().$$.on_mount.push(e);
152
+ function On(e) {
153
+ In().$$.on_mount.push(e);
154
154
  }
155
- const He = [], ut = [];
155
+ const Be = [], ct = [];
156
156
  let Ae = [];
157
- const nr = [], In = /* @__PURE__ */ Promise.resolve();
158
- let At = !1;
159
- function On() {
160
- At || (At = !0, In.then(ee));
157
+ const ir = [], Cn = /* @__PURE__ */ Promise.resolve();
158
+ let It = !1;
159
+ function Ln() {
160
+ It || (It = !0, Cn.then(K));
161
161
  }
162
- function It(e) {
162
+ function Ot(e) {
163
163
  Ae.push(e);
164
164
  }
165
- const Et = /* @__PURE__ */ new Set();
166
- let Te = 0;
167
- function ee() {
168
- if (Te !== 0)
165
+ const wt = /* @__PURE__ */ new Set();
166
+ let Pe = 0;
167
+ function K() {
168
+ if (Pe !== 0)
169
169
  return;
170
- const e = ze;
170
+ const e = We;
171
171
  do {
172
172
  try {
173
- for (; Te < He.length; ) {
174
- const t = He[Te];
175
- Te++, Ve(t), Cn(t.$$);
173
+ for (; Pe < Be.length; ) {
174
+ const t = Be[Pe];
175
+ Pe++, Xe(t), Mn(t.$$);
176
176
  }
177
177
  } catch (t) {
178
- throw He.length = 0, Te = 0, t;
178
+ throw Be.length = 0, Pe = 0, t;
179
179
  }
180
- for (Ve(null), He.length = 0, Te = 0; ut.length; )
181
- ut.pop()();
180
+ for (Xe(null), Be.length = 0, Pe = 0; ct.length; )
181
+ ct.pop()();
182
182
  for (let t = 0; t < Ae.length; t += 1) {
183
183
  const r = Ae[t];
184
- Et.has(r) || (Et.add(r), r());
184
+ wt.has(r) || (wt.add(r), r());
185
185
  }
186
186
  Ae.length = 0;
187
- } while (He.length);
188
- for (; nr.length; )
189
- nr.pop()();
190
- At = !1, Et.clear(), Ve(e);
187
+ } while (Be.length);
188
+ for (; ir.length; )
189
+ ir.pop()();
190
+ It = !1, wt.clear(), Xe(e);
191
191
  }
192
- function Cn(e) {
192
+ function Mn(e) {
193
193
  if (e.fragment !== null) {
194
194
  e.update(), Me(e.before_update);
195
195
  const t = e.dirty;
196
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(It);
196
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ot);
197
197
  }
198
198
  }
199
- function Ln(e) {
199
+ function Nn(e) {
200
200
  const t = [], r = [];
201
201
  Ae.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Ae = t;
202
202
  }
203
- const Mn = /* @__PURE__ */ new Set();
204
- function Nn(e, t) {
205
- e && e.i && (Mn.delete(e), e.i(t));
203
+ const Rn = /* @__PURE__ */ new Set();
204
+ function Un(e, t) {
205
+ e && e.i && (Rn.delete(e), e.i(t));
206
206
  }
207
- function Rn(e, t, r) {
207
+ function Fn(e, t, r) {
208
208
  const { fragment: n, after_update: i } = e.$$;
209
- n && n.m(t, r), It(() => {
210
- const o = e.$$.on_mount.map(Or).filter(Xt);
209
+ n && n.m(t, r), Ot(() => {
210
+ const o = e.$$.on_mount.map(Cr).filter(Wt);
211
211
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Me(o), e.$$.on_mount = [];
212
- }), i.forEach(It);
212
+ }), i.forEach(Ot);
213
213
  }
214
- function Un(e, t) {
214
+ function Dn(e, t) {
215
215
  const r = e.$$;
216
- r.fragment !== null && (Ln(r.after_update), Me(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
216
+ r.fragment !== null && (Nn(r.after_update), Me(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
217
217
  }
218
- function Fn(e, t) {
219
- e.$$.dirty[0] === -1 && (He.push(e), On(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
218
+ function kn(e, t) {
219
+ e.$$.dirty[0] === -1 && (Be.push(e), Ln(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
220
220
  }
221
- function Dn(e, t, r, n, i, o, s = null, a = [-1]) {
222
- const u = ze;
223
- Ve(e);
221
+ function $n(e, t, r, n, i, o, s = null, a = [-1]) {
222
+ const u = We;
223
+ Xe(e);
224
224
  const l = e.$$ = {
225
225
  fragment: null,
226
226
  ctx: [],
@@ -228,7 +228,7 @@ function Dn(e, t, r, n, i, o, s = null, a = [-1]) {
228
228
  props: o,
229
229
  update: Z,
230
230
  not_equal: i,
231
- bound: tr(),
231
+ bound: rr(),
232
232
  // lifecycle
233
233
  on_mount: [],
234
234
  on_destroy: [],
@@ -237,7 +237,7 @@ function Dn(e, t, r, n, i, o, s = null, a = [-1]) {
237
237
  after_update: [],
238
238
  context: new Map(t.context || (u ? u.$$.context : [])),
239
239
  // everything else
240
- callbacks: tr(),
240
+ callbacks: rr(),
241
241
  dirty: a,
242
242
  skip_bound: !1,
243
243
  root: t.target || u.$$.root
@@ -246,39 +246,39 @@ function Dn(e, t, r, n, i, o, s = null, a = [-1]) {
246
246
  let c = !1;
247
247
  if (l.ctx = r ? r(e, t.props || {}, (f, d, ...b) => {
248
248
  const y = b.length ? b[0] : d;
249
- return l.ctx && i(l.ctx[f], l.ctx[f] = y) && (!l.skip_bound && l.bound[f] && l.bound[f](y), c && Fn(e, f)), d;
249
+ 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;
250
250
  }) : [], l.update(), c = !0, Me(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
251
251
  if (t.hydrate) {
252
- const f = Tn(t.target);
253
- l.fragment && l.fragment.l(f), f.forEach(I);
252
+ const f = Hn(t.target);
253
+ l.fragment && l.fragment.l(f), f.forEach(O);
254
254
  } else
255
255
  l.fragment && l.fragment.c();
256
- t.intro && Nn(e.$$.fragment), Rn(e, t.target, t.anchor), ee();
256
+ t.intro && Un(e.$$.fragment), Fn(e, t.target, t.anchor), K();
257
257
  }
258
- Ve(u);
258
+ Xe(u);
259
259
  }
260
- let Mr;
261
- typeof HTMLElement == "function" && (Mr = class extends HTMLElement {
260
+ let Nr;
261
+ typeof HTMLElement == "function" && (Nr = class extends HTMLElement {
262
262
  constructor(t, r, n) {
263
263
  super();
264
264
  /** The Svelte component constructor */
265
- K(this, "$$ctor");
265
+ Y(this, "$$ctor");
266
266
  /** Slots */
267
- K(this, "$$s");
267
+ Y(this, "$$s");
268
268
  /** The Svelte component instance */
269
- K(this, "$$c");
269
+ Y(this, "$$c");
270
270
  /** Whether or not the custom element is connected */
271
- K(this, "$$cn", !1);
271
+ Y(this, "$$cn", !1);
272
272
  /** Component props data */
273
- K(this, "$$d", {});
273
+ Y(this, "$$d", {});
274
274
  /** `true` if currently in the process of reflecting component props back to attributes */
275
- K(this, "$$r", !1);
275
+ Y(this, "$$r", !1);
276
276
  /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
277
- K(this, "$$p_d", {});
277
+ Y(this, "$$p_d", {});
278
278
  /** @type {Record<string, Function[]>} Event listeners */
279
- K(this, "$$l", {});
279
+ Y(this, "$$l", {});
280
280
  /** @type {Map<Function, Function>} Event listener unsubscribe functions */
281
- K(this, "$$l_u", /* @__PURE__ */ new Map());
281
+ Y(this, "$$l_u", /* @__PURE__ */ new Map());
282
282
  this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
283
283
  }
284
284
  addEventListener(t, r, n) {
@@ -295,7 +295,7 @@ typeof HTMLElement == "function" && (Mr = class extends HTMLElement {
295
295
  }
296
296
  }
297
297
  connectedCallback() {
298
- return et(this, null, function* () {
298
+ return tt(this, null, function* () {
299
299
  if (this.$$cn = !0, !this.$$c) {
300
300
  let t = function(o) {
301
301
  return () => {
@@ -312,25 +312,25 @@ typeof HTMLElement == "function" && (Mr = class extends HTMLElement {
312
312
  M(l, s, c);
313
313
  },
314
314
  d: function(l) {
315
- l && I(s);
315
+ l && O(s);
316
316
  }
317
317
  };
318
318
  };
319
319
  };
320
320
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
321
321
  return;
322
- const r = {}, n = Bn(this);
322
+ const r = {}, n = An(this);
323
323
  for (const o of this.$$s)
324
324
  o in n && (r[o] = [t(o)]);
325
325
  for (const o of this.attributes) {
326
326
  const s = this.$$g_p(o.name);
327
- s in this.$$d || (this.$$d[s] = ot(s, o.value, this.$$p_d, "toProp"));
327
+ s in this.$$d || (this.$$d[s] = st(s, o.value, this.$$p_d, "toProp"));
328
328
  }
329
329
  for (const o in this.$$p_d)
330
330
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
331
331
  this.$$c = new this.$$ctor({
332
332
  target: this.shadowRoot || this,
333
- props: er(Kt({}, this.$$d), {
333
+ props: tr(er({}, this.$$d), {
334
334
  $$slots: r,
335
335
  $$scope: {
336
336
  ctx: []
@@ -341,7 +341,7 @@ typeof HTMLElement == "function" && (Mr = class extends HTMLElement {
341
341
  this.$$r = !0;
342
342
  for (const o in this.$$p_d)
343
343
  if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
344
- const s = ot(
344
+ const s = st(
345
345
  o,
346
346
  this.$$d[o],
347
347
  this.$$p_d,
@@ -365,7 +365,7 @@ typeof HTMLElement == "function" && (Mr = class extends HTMLElement {
365
365
  // and setting attributes through setAttribute etc, this is helpful
366
366
  attributeChangedCallback(t, r, n) {
367
367
  var i;
368
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = ot(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
368
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = st(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
369
369
  }
370
370
  disconnectedCallback() {
371
371
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -378,7 +378,7 @@ typeof HTMLElement == "function" && (Mr = class extends HTMLElement {
378
378
  ) || t;
379
379
  }
380
380
  });
381
- function ot(e, t, r, n) {
381
+ function st(e, t, r, n) {
382
382
  var o;
383
383
  const i = (o = r[e]) == null ? void 0 : o.type;
384
384
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
@@ -408,8 +408,8 @@ function ot(e, t, r, n) {
408
408
  return t;
409
409
  }
410
410
  }
411
- function kn(e, t, r, n, i, o) {
412
- let s = class extends Mr {
411
+ function Gn(e, t, r, n, i, o) {
412
+ let s = class extends Nr {
413
413
  constructor() {
414
414
  super(e, r, i), this.$$p_d = t;
415
415
  }
@@ -426,7 +426,7 @@ function kn(e, t, r, n, i, o) {
426
426
  },
427
427
  set(u) {
428
428
  var l;
429
- u = ot(a, u, t), this.$$d[a] = u, (l = this.$$c) == null || l.$set({ [a]: u });
429
+ u = st(a, u, t), this.$$d[a] = u, (l = this.$$c) == null || l.$set({ [a]: u });
430
430
  }
431
431
  });
432
432
  }), n.forEach((a) => {
@@ -439,7 +439,7 @@ function kn(e, t, r, n, i, o) {
439
439
  }), e.element = /** @type {any} */
440
440
  s, s;
441
441
  }
442
- class $n {
442
+ class jn {
443
443
  constructor() {
444
444
  /**
445
445
  * ### PRIVATE API
@@ -448,7 +448,7 @@ class $n {
448
448
  *
449
449
  * @type {any}
450
450
  */
451
- K(this, "$$");
451
+ Y(this, "$$");
452
452
  /**
453
453
  * ### PRIVATE API
454
454
  *
@@ -456,11 +456,11 @@ class $n {
456
456
  *
457
457
  * @type {any}
458
458
  */
459
- K(this, "$$set");
459
+ Y(this, "$$set");
460
460
  }
461
461
  /** @returns {void} */
462
462
  $destroy() {
463
- Un(this, 1), this.$destroy = Z;
463
+ Dn(this, 1), this.$destroy = Z;
464
464
  }
465
465
  /**
466
466
  * @template {Extract<keyof Events, string>} K
@@ -469,7 +469,7 @@ class $n {
469
469
  * @returns {() => void}
470
470
  */
471
471
  $on(t, r) {
472
- if (!Xt(r))
472
+ if (!Wt(r))
473
473
  return Z;
474
474
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
475
475
  return n.push(r), () => {
@@ -482,11 +482,11 @@ class $n {
482
482
  * @returns {void}
483
483
  */
484
484
  $set(t) {
485
- this.$$set && !_n(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
485
+ this.$$set && !wn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
486
486
  }
487
487
  }
488
- const Gn = "4";
489
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Gn);
488
+ const Vn = "4";
489
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Vn);
490
490
  /*! *****************************************************************************
491
491
  Copyright (c) Microsoft Corporation.
492
492
 
@@ -501,24 +501,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
501
501
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
502
502
  PERFORMANCE OF THIS SOFTWARE.
503
503
  ***************************************************************************** */
504
- var Ot = function(e, t) {
505
- return Ot = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
504
+ var Ct = function(e, t) {
505
+ return Ct = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
506
506
  r.__proto__ = n;
507
507
  } || function(r, n) {
508
508
  for (var i in n)
509
509
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
510
- }, Ot(e, t);
510
+ }, Ct(e, t);
511
511
  };
512
- function Ze(e, t) {
512
+ function Je(e, t) {
513
513
  if (typeof t != "function" && t !== null)
514
514
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
515
- Ot(e, t);
515
+ Ct(e, t);
516
516
  function r() {
517
517
  this.constructor = e;
518
518
  }
519
519
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
520
520
  }
521
- function Ct(e) {
521
+ function Lt(e) {
522
522
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
523
523
  if (r)
524
524
  return r.call(e);
@@ -530,7 +530,7 @@ function Ct(e) {
530
530
  };
531
531
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
532
532
  }
533
- function Lt(e, t) {
533
+ function Mt(e, t) {
534
534
  var r = typeof Symbol == "function" && e[Symbol.iterator];
535
535
  if (!r)
536
536
  return e;
@@ -550,7 +550,7 @@ function Lt(e, t) {
550
550
  }
551
551
  return o;
552
552
  }
553
- function Mt(e, t, r) {
553
+ function Nt(e, t, r) {
554
554
  if (arguments.length === 2)
555
555
  for (var n = 0, i = t.length, o; n < i; n++)
556
556
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
@@ -559,13 +559,13 @@ function Mt(e, t, r) {
559
559
  function le(e) {
560
560
  return typeof e == "function";
561
561
  }
562
- function Nr(e) {
562
+ function Rr(e) {
563
563
  var t = function(n) {
564
564
  Error.call(n), n.stack = new Error().stack;
565
565
  }, r = e(t);
566
566
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
567
567
  }
568
- var wt = Nr(function(e) {
568
+ var xt = Rr(function(e) {
569
569
  return function(r) {
570
570
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
571
571
  ` + r.map(function(n, i) {
@@ -574,13 +574,13 @@ var wt = Nr(function(e) {
574
574
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
575
575
  };
576
576
  });
577
- function Nt(e, t) {
577
+ function Rt(e, t) {
578
578
  if (e) {
579
579
  var r = e.indexOf(t);
580
580
  0 <= r && e.splice(r, 1);
581
581
  }
582
582
  }
583
- var dt = function() {
583
+ var pt = function() {
584
584
  function e(t) {
585
585
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
586
586
  }
@@ -592,7 +592,7 @@ var dt = function() {
592
592
  if (s)
593
593
  if (this._parentage = null, Array.isArray(s))
594
594
  try {
595
- for (var a = Ct(s), u = a.next(); !u.done; u = a.next()) {
595
+ for (var a = Lt(s), u = a.next(); !u.done; u = a.next()) {
596
596
  var l = u.value;
597
597
  l.remove(this);
598
598
  }
@@ -613,18 +613,18 @@ var dt = function() {
613
613
  try {
614
614
  c();
615
615
  } catch (g) {
616
- o = g instanceof wt ? g.errors : [g];
616
+ o = g instanceof xt ? g.errors : [g];
617
617
  }
618
618
  var f = this._finalizers;
619
619
  if (f) {
620
620
  this._finalizers = null;
621
621
  try {
622
- for (var d = Ct(f), b = d.next(); !b.done; b = d.next()) {
622
+ for (var d = Lt(f), b = d.next(); !b.done; b = d.next()) {
623
623
  var y = b.value;
624
624
  try {
625
- ir(y);
625
+ or(y);
626
626
  } catch (g) {
627
- o = o != null ? o : [], g instanceof wt ? o = Mt(Mt([], Lt(o)), Lt(g.errors)) : o.push(g);
627
+ o = o != null ? o : [], g instanceof xt ? o = Nt(Nt([], Mt(o)), Mt(g.errors)) : o.push(g);
628
628
  }
629
629
  }
630
630
  } catch (g) {
@@ -639,13 +639,13 @@ var dt = function() {
639
639
  }
640
640
  }
641
641
  if (o)
642
- throw new wt(o);
642
+ throw new xt(o);
643
643
  }
644
644
  }, e.prototype.add = function(t) {
645
645
  var r;
646
646
  if (t && t !== this)
647
647
  if (this.closed)
648
- ir(t);
648
+ or(t);
649
649
  else {
650
650
  if (t instanceof e) {
651
651
  if (t.closed || t._hasParent(this))
@@ -662,52 +662,52 @@ var dt = function() {
662
662
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
663
663
  }, e.prototype._removeParent = function(t) {
664
664
  var r = this._parentage;
665
- r === t ? this._parentage = null : Array.isArray(r) && Nt(r, t);
665
+ r === t ? this._parentage = null : Array.isArray(r) && Rt(r, t);
666
666
  }, e.prototype.remove = function(t) {
667
667
  var r = this._finalizers;
668
- r && Nt(r, t), t instanceof e && t._removeParent(this);
668
+ r && Rt(r, t), t instanceof e && t._removeParent(this);
669
669
  }, e.EMPTY = function() {
670
670
  var t = new e();
671
671
  return t.closed = !0, t;
672
672
  }(), e;
673
- }(), Rr = dt.EMPTY;
674
- function Ur(e) {
675
- return e instanceof dt || e && "closed" in e && le(e.remove) && le(e.add) && le(e.unsubscribe);
673
+ }(), Ur = pt.EMPTY;
674
+ function Fr(e) {
675
+ return e instanceof pt || e && "closed" in e && le(e.remove) && le(e.add) && le(e.unsubscribe);
676
676
  }
677
- function ir(e) {
677
+ function or(e) {
678
678
  le(e) ? e() : e.unsubscribe();
679
679
  }
680
- var jn = {
680
+ var zn = {
681
681
  Promise: void 0
682
- }, Vn = {
682
+ }, Xn = {
683
683
  setTimeout: function(e, t) {
684
684
  for (var r = [], n = 2; n < arguments.length; n++)
685
685
  r[n - 2] = arguments[n];
686
- return setTimeout.apply(void 0, Mt([e, t], Lt(r)));
686
+ return setTimeout.apply(void 0, Nt([e, t], Mt(r)));
687
687
  },
688
688
  clearTimeout: function(e) {
689
689
  return clearTimeout(e);
690
690
  },
691
691
  delegate: void 0
692
692
  };
693
- function zn(e) {
694
- Vn.setTimeout(function() {
693
+ function Wn(e) {
694
+ Xn.setTimeout(function() {
695
695
  throw e;
696
696
  });
697
697
  }
698
- function or() {
698
+ function sr() {
699
699
  }
700
- function st(e) {
700
+ function at(e) {
701
701
  e();
702
702
  }
703
- var Fr = function(e) {
704
- Ze(t, e);
703
+ var Dr = function(e) {
704
+ Je(t, e);
705
705
  function t(r) {
706
706
  var n = e.call(this) || this;
707
- return n.isStopped = !1, r ? (n.destination = r, Ur(r) && r.add(n)) : n.destination = Zn, n;
707
+ return n.isStopped = !1, r ? (n.destination = r, Fr(r) && r.add(n)) : n.destination = Jn, n;
708
708
  }
709
709
  return t.create = function(r, n, i) {
710
- return new Rt(r, n, i);
710
+ return new Ut(r, n, i);
711
711
  }, t.prototype.next = function(r) {
712
712
  this.isStopped || this._next(r);
713
713
  }, t.prototype.error = function(r) {
@@ -731,7 +731,7 @@ var Fr = function(e) {
731
731
  this.unsubscribe();
732
732
  }
733
733
  }, t;
734
- }(dt), Xn = function() {
734
+ }(pt), Zn = function() {
735
735
  function e(t) {
736
736
  this.partialObserver = t;
737
737
  }
@@ -741,7 +741,7 @@ var Fr = function(e) {
741
741
  try {
742
742
  r.next(t);
743
743
  } catch (n) {
744
- nt(n);
744
+ it(n);
745
745
  }
746
746
  }, e.prototype.error = function(t) {
747
747
  var r = this.partialObserver;
@@ -749,56 +749,56 @@ var Fr = function(e) {
749
749
  try {
750
750
  r.error(t);
751
751
  } catch (n) {
752
- nt(n);
752
+ it(n);
753
753
  }
754
754
  else
755
- nt(t);
755
+ it(t);
756
756
  }, e.prototype.complete = function() {
757
757
  var t = this.partialObserver;
758
758
  if (t.complete)
759
759
  try {
760
760
  t.complete();
761
761
  } catch (r) {
762
- nt(r);
762
+ it(r);
763
763
  }
764
764
  }, e;
765
- }(), Rt = function(e) {
766
- Ze(t, e);
765
+ }(), Ut = function(e) {
766
+ Je(t, e);
767
767
  function t(r, n, i) {
768
768
  var o = e.call(this) || this, s;
769
769
  return le(r) || !r ? s = {
770
770
  next: r != null ? r : void 0,
771
771
  error: n != null ? n : void 0,
772
772
  complete: i != null ? i : void 0
773
- } : s = r, o.destination = new Xn(s), o;
773
+ } : s = r, o.destination = new Zn(s), o;
774
774
  }
775
775
  return t;
776
- }(Fr);
777
- function nt(e) {
778
- zn(e);
776
+ }(Dr);
777
+ function it(e) {
778
+ Wn(e);
779
779
  }
780
- function Wn(e) {
780
+ function qn(e) {
781
781
  throw e;
782
782
  }
783
- var Zn = {
783
+ var Jn = {
784
784
  closed: !0,
785
- next: or,
786
- error: Wn,
787
- complete: or
788
- }, qn = function() {
785
+ next: sr,
786
+ error: qn,
787
+ complete: sr
788
+ }, Qn = function() {
789
789
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
790
790
  }();
791
- function Jn(e) {
791
+ function Yn(e) {
792
792
  return e;
793
793
  }
794
- function Qn(e) {
795
- return e.length === 0 ? Jn : e.length === 1 ? e[0] : function(r) {
794
+ function Kn(e) {
795
+ return e.length === 0 ? Yn : e.length === 1 ? e[0] : function(r) {
796
796
  return e.reduce(function(n, i) {
797
797
  return i(n);
798
798
  }, r);
799
799
  };
800
800
  }
801
- var sr = function() {
801
+ var ar = function() {
802
802
  function e(t) {
803
803
  t && (this._subscribe = t);
804
804
  }
@@ -806,8 +806,8 @@ var sr = function() {
806
806
  var r = new e();
807
807
  return r.source = this, r.operator = t, r;
808
808
  }, e.prototype.subscribe = function(t, r, n) {
809
- var i = this, o = Kn(t) ? t : new Rt(t, r, n);
810
- return st(function() {
809
+ var i = this, o = ti(t) ? t : new Ut(t, r, n);
810
+ return at(function() {
811
811
  var s = i, a = s.operator, u = s.source;
812
812
  o.add(a ? a.call(o, u) : u ? i._subscribe(o) : i._trySubscribe(o));
813
813
  }), o;
@@ -819,8 +819,8 @@ var sr = function() {
819
819
  }
820
820
  }, e.prototype.forEach = function(t, r) {
821
821
  var n = this;
822
- return r = ar(r), new r(function(i, o) {
823
- var s = new Rt({
822
+ return r = lr(r), new r(function(i, o) {
823
+ var s = new Ut({
824
824
  next: function(a) {
825
825
  try {
826
826
  t(a);
@@ -836,15 +836,15 @@ var sr = function() {
836
836
  }, e.prototype._subscribe = function(t) {
837
837
  var r;
838
838
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
839
- }, e.prototype[qn] = function() {
839
+ }, e.prototype[Qn] = function() {
840
840
  return this;
841
841
  }, e.prototype.pipe = function() {
842
842
  for (var t = [], r = 0; r < arguments.length; r++)
843
843
  t[r] = arguments[r];
844
- return Qn(t)(this);
844
+ return Kn(t)(this);
845
845
  }, e.prototype.toPromise = function(t) {
846
846
  var r = this;
847
- return t = ar(t), new t(function(n, i) {
847
+ return t = lr(t), new t(function(n, i) {
848
848
  var o;
849
849
  r.subscribe(function(s) {
850
850
  return o = s;
@@ -858,40 +858,40 @@ var sr = function() {
858
858
  return new e(t);
859
859
  }, e;
860
860
  }();
861
- function ar(e) {
861
+ function lr(e) {
862
862
  var t;
863
- return (t = e != null ? e : jn.Promise) !== null && t !== void 0 ? t : Promise;
863
+ return (t = e != null ? e : zn.Promise) !== null && t !== void 0 ? t : Promise;
864
864
  }
865
- function Yn(e) {
865
+ function ei(e) {
866
866
  return e && le(e.next) && le(e.error) && le(e.complete);
867
867
  }
868
- function Kn(e) {
869
- return e && e instanceof Fr || Yn(e) && Ur(e);
868
+ function ti(e) {
869
+ return e && e instanceof Dr || ei(e) && Fr(e);
870
870
  }
871
- var ei = Nr(function(e) {
871
+ var ri = Rr(function(e) {
872
872
  return function() {
873
873
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
874
874
  };
875
- }), Dr = function(e) {
876
- Ze(t, e);
875
+ }), kr = function(e) {
876
+ Je(t, e);
877
877
  function t() {
878
878
  var r = e.call(this) || this;
879
879
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
880
880
  }
881
881
  return t.prototype.lift = function(r) {
882
- var n = new lr(this, this);
882
+ var n = new ur(this, this);
883
883
  return n.operator = r, n;
884
884
  }, t.prototype._throwIfClosed = function() {
885
885
  if (this.closed)
886
- throw new ei();
886
+ throw new ri();
887
887
  }, t.prototype.next = function(r) {
888
888
  var n = this;
889
- st(function() {
889
+ at(function() {
890
890
  var i, o;
891
891
  if (n._throwIfClosed(), !n.isStopped) {
892
892
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
893
893
  try {
894
- for (var s = Ct(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
894
+ for (var s = Lt(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
895
895
  var u = a.value;
896
896
  u.next(r);
897
897
  }
@@ -909,7 +909,7 @@ var ei = Nr(function(e) {
909
909
  });
910
910
  }, t.prototype.error = function(r) {
911
911
  var n = this;
912
- st(function() {
912
+ at(function() {
913
913
  if (n._throwIfClosed(), !n.isStopped) {
914
914
  n.hasError = n.isStopped = !0, n.thrownError = r;
915
915
  for (var i = n.observers; i.length; )
@@ -918,7 +918,7 @@ var ei = Nr(function(e) {
918
918
  });
919
919
  }, t.prototype.complete = function() {
920
920
  var r = this;
921
- st(function() {
921
+ at(function() {
922
922
  if (r._throwIfClosed(), !r.isStopped) {
923
923
  r.isStopped = !0;
924
924
  for (var n = r.observers; n.length; )
@@ -940,20 +940,20 @@ var ei = Nr(function(e) {
940
940
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
941
941
  }, t.prototype._innerSubscribe = function(r) {
942
942
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
943
- return o || s ? Rr : (this.currentObservers = null, a.push(r), new dt(function() {
944
- n.currentObservers = null, Nt(a, r);
943
+ return o || s ? Ur : (this.currentObservers = null, a.push(r), new pt(function() {
944
+ n.currentObservers = null, Rt(a, r);
945
945
  }));
946
946
  }, t.prototype._checkFinalizedStatuses = function(r) {
947
947
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
948
948
  i ? r.error(o) : s && r.complete();
949
949
  }, t.prototype.asObservable = function() {
950
- var r = new sr();
950
+ var r = new ar();
951
951
  return r.source = this, r;
952
952
  }, t.create = function(r, n) {
953
- return new lr(r, n);
953
+ return new ur(r, n);
954
954
  }, t;
955
- }(sr), lr = function(e) {
956
- Ze(t, e);
955
+ }(ar), ur = function(e) {
956
+ Je(t, e);
957
957
  function t(r, n) {
958
958
  var i = e.call(this) || this;
959
959
  return i.destination = r, i.source = n, i;
@@ -969,17 +969,17 @@ var ei = Nr(function(e) {
969
969
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
970
970
  }, t.prototype._subscribe = function(r) {
971
971
  var n, i;
972
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Rr;
972
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Ur;
973
973
  }, t;
974
- }(Dr), kr = {
974
+ }(kr), $r = {
975
975
  now: function() {
976
- return (kr.delegate || Date).now();
976
+ return ($r.delegate || Date).now();
977
977
  },
978
978
  delegate: void 0
979
- }, ti = function(e) {
980
- Ze(t, e);
979
+ }, ni = function(e) {
980
+ Je(t, e);
981
981
  function t(r, n, i) {
982
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = kr);
982
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = $r);
983
983
  var o = e.call(this) || this;
984
984
  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;
985
985
  }
@@ -999,31 +999,31 @@ var ei = Nr(function(e) {
999
999
  l && o.splice(0, l + 1);
1000
1000
  }
1001
1001
  }, t;
1002
- }(Dr);
1003
- const ur = [], cr = {}, ri = (e, t = 0) => {
1004
- if (ur.indexOf(e) == -1) {
1005
- const r = new ti(t);
1006
- cr[e] = r, ur.push(e);
1002
+ }(kr);
1003
+ const cr = [], hr = {}, ii = (e, t = 0) => {
1004
+ if (cr.indexOf(e) == -1) {
1005
+ const r = new ni(t);
1006
+ hr[e] = r, cr.push(e);
1007
1007
  }
1008
- return cr[e];
1009
- }, Be = [];
1010
- function ni(e, t) {
1008
+ return hr[e];
1009
+ }, Te = [];
1010
+ function oi(e, t) {
1011
1011
  return {
1012
- subscribe: pt(e, t).subscribe
1012
+ subscribe: mt(e, t).subscribe
1013
1013
  };
1014
1014
  }
1015
- function pt(e, t = Z) {
1015
+ function mt(e, t = Z) {
1016
1016
  let r;
1017
1017
  const n = /* @__PURE__ */ new Set();
1018
1018
  function i(a) {
1019
- if (Cr(e, a) && (e = a, r)) {
1020
- const u = !Be.length;
1019
+ if (Lr(e, a) && (e = a, r)) {
1020
+ const u = !Te.length;
1021
1021
  for (const l of n)
1022
- l[1](), Be.push(l, e);
1022
+ l[1](), Te.push(l, e);
1023
1023
  if (u) {
1024
- for (let l = 0; l < Be.length; l += 2)
1025
- Be[l][0](Be[l + 1]);
1026
- Be.length = 0;
1024
+ for (let l = 0; l < Te.length; l += 2)
1025
+ Te[l][0](Te[l + 1]);
1026
+ Te.length = 0;
1027
1027
  }
1028
1028
  }
1029
1029
  }
@@ -1043,7 +1043,7 @@ function Ne(e, t, r) {
1043
1043
  if (!i.every(Boolean))
1044
1044
  throw new Error("derived() expects stores as input, got a falsy value");
1045
1045
  const o = t.length < 2;
1046
- return ni(r, (s, a) => {
1046
+ return oi(r, (s, a) => {
1047
1047
  let u = !1;
1048
1048
  const l = [];
1049
1049
  let c = 0, f = Z;
@@ -1052,9 +1052,9 @@ function Ne(e, t, r) {
1052
1052
  return;
1053
1053
  f();
1054
1054
  const y = t(n ? l[0] : l, s, a);
1055
- o ? s(y) : f = Xt(y) ? y : Z;
1055
+ o ? s(y) : f = Wt(y) ? y : Z;
1056
1056
  }, b = i.map(
1057
- (y, g) => Lr(
1057
+ (y, g) => Mr(
1058
1058
  y,
1059
1059
  (x) => {
1060
1060
  l[g] = x, c &= ~(1 << g), u && d();
@@ -1069,70 +1069,70 @@ function Ne(e, t, r) {
1069
1069
  };
1070
1070
  });
1071
1071
  }
1072
- function ii(e) {
1072
+ function si(e) {
1073
1073
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1074
1074
  }
1075
- var oi = function(t) {
1076
- return si(t) && !ai(t);
1075
+ var ai = function(t) {
1076
+ return li(t) && !ui(t);
1077
1077
  };
1078
- function si(e) {
1078
+ function li(e) {
1079
1079
  return !!e && typeof e == "object";
1080
1080
  }
1081
- function ai(e) {
1081
+ function ui(e) {
1082
1082
  var t = Object.prototype.toString.call(e);
1083
- return t === "[object RegExp]" || t === "[object Date]" || ci(e);
1083
+ return t === "[object RegExp]" || t === "[object Date]" || fi(e);
1084
1084
  }
1085
- var li = typeof Symbol == "function" && Symbol.for, ui = li ? Symbol.for("react.element") : 60103;
1086
- function ci(e) {
1087
- return e.$$typeof === ui;
1085
+ var ci = typeof Symbol == "function" && Symbol.for, hi = ci ? Symbol.for("react.element") : 60103;
1086
+ function fi(e) {
1087
+ return e.$$typeof === hi;
1088
1088
  }
1089
- function hi(e) {
1089
+ function di(e) {
1090
1090
  return Array.isArray(e) ? [] : {};
1091
1091
  }
1092
- function Xe(e, t) {
1093
- return t.clone !== !1 && t.isMergeableObject(e) ? Ie(hi(e), e, t) : e;
1092
+ function Ze(e, t) {
1093
+ return t.clone !== !1 && t.isMergeableObject(e) ? Ie(di(e), e, t) : e;
1094
1094
  }
1095
- function fi(e, t, r) {
1095
+ function pi(e, t, r) {
1096
1096
  return e.concat(t).map(function(n) {
1097
- return Xe(n, r);
1097
+ return Ze(n, r);
1098
1098
  });
1099
1099
  }
1100
- function di(e, t) {
1100
+ function mi(e, t) {
1101
1101
  if (!t.customMerge)
1102
1102
  return Ie;
1103
1103
  var r = t.customMerge(e);
1104
1104
  return typeof r == "function" ? r : Ie;
1105
1105
  }
1106
- function pi(e) {
1106
+ function gi(e) {
1107
1107
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1108
1108
  return Object.propertyIsEnumerable.call(e, t);
1109
1109
  }) : [];
1110
1110
  }
1111
- function hr(e) {
1112
- return Object.keys(e).concat(pi(e));
1111
+ function fr(e) {
1112
+ return Object.keys(e).concat(gi(e));
1113
1113
  }
1114
- function $r(e, t) {
1114
+ function Gr(e, t) {
1115
1115
  try {
1116
1116
  return t in e;
1117
1117
  } catch (r) {
1118
1118
  return !1;
1119
1119
  }
1120
1120
  }
1121
- function mi(e, t) {
1122
- return $r(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1121
+ function bi(e, t) {
1122
+ return Gr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1123
1123
  }
1124
- function gi(e, t, r) {
1124
+ function vi(e, t, r) {
1125
1125
  var n = {};
1126
- return r.isMergeableObject(e) && hr(e).forEach(function(i) {
1127
- n[i] = Xe(e[i], r);
1128
- }), hr(t).forEach(function(i) {
1129
- mi(e, i) || ($r(e, i) && r.isMergeableObject(t[i]) ? n[i] = di(i, r)(e[i], t[i], r) : n[i] = Xe(t[i], r));
1126
+ return r.isMergeableObject(e) && fr(e).forEach(function(i) {
1127
+ n[i] = Ze(e[i], r);
1128
+ }), fr(t).forEach(function(i) {
1129
+ bi(e, i) || (Gr(e, i) && r.isMergeableObject(t[i]) ? n[i] = mi(i, r)(e[i], t[i], r) : n[i] = Ze(t[i], r));
1130
1130
  }), n;
1131
1131
  }
1132
1132
  function Ie(e, t, r) {
1133
- r = r || {}, r.arrayMerge = r.arrayMerge || fi, r.isMergeableObject = r.isMergeableObject || oi, r.cloneUnlessOtherwiseSpecified = Xe;
1133
+ r = r || {}, r.arrayMerge = r.arrayMerge || pi, r.isMergeableObject = r.isMergeableObject || ai, r.cloneUnlessOtherwiseSpecified = Ze;
1134
1134
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1135
- return o ? n ? r.arrayMerge(e, t, r) : gi(e, t, r) : Xe(t, r);
1135
+ return o ? n ? r.arrayMerge(e, t, r) : vi(e, t, r) : Ze(t, r);
1136
1136
  }
1137
1137
  Ie.all = function(t, r) {
1138
1138
  if (!Array.isArray(t))
@@ -1141,20 +1141,20 @@ Ie.all = function(t, r) {
1141
1141
  return Ie(n, i, r);
1142
1142
  }, {});
1143
1143
  };
1144
- var bi = Ie, vi = bi;
1145
- const yi = /* @__PURE__ */ ii(vi);
1146
- var Ut = function(e, t) {
1147
- return Ut = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1144
+ var yi = Ie, _i = yi;
1145
+ const Ei = /* @__PURE__ */ si(_i);
1146
+ var Ft = function(e, t) {
1147
+ return Ft = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1148
1148
  r.__proto__ = n;
1149
1149
  } || function(r, n) {
1150
1150
  for (var i in n)
1151
1151
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1152
- }, Ut(e, t);
1152
+ }, Ft(e, t);
1153
1153
  };
1154
- function mt(e, t) {
1154
+ function gt(e, t) {
1155
1155
  if (typeof t != "function" && t !== null)
1156
1156
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1157
- Ut(e, t);
1157
+ Ft(e, t);
1158
1158
  function r() {
1159
1159
  this.constructor = e;
1160
1160
  }
@@ -1170,7 +1170,7 @@ var oe = function() {
1170
1170
  return t;
1171
1171
  }, oe.apply(this, arguments);
1172
1172
  };
1173
- function _i(e, t) {
1173
+ function wi(e, t) {
1174
1174
  var r = {};
1175
1175
  for (var n in e)
1176
1176
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -1179,43 +1179,43 @@ function _i(e, t) {
1179
1179
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1180
1180
  return r;
1181
1181
  }
1182
- function xt(e, t, r) {
1182
+ function St(e, t, r) {
1183
1183
  if (r || arguments.length === 2)
1184
1184
  for (var n = 0, i = t.length, o; n < i; n++)
1185
1185
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1186
1186
  return e.concat(o || Array.prototype.slice.call(t));
1187
1187
  }
1188
- function St(e, t) {
1189
- var r = t && t.cache ? t.cache : Bi, n = t && t.serializer ? t.serializer : Pi, i = t && t.strategy ? t.strategy : xi;
1188
+ function Pt(e, t) {
1189
+ var r = t && t.cache ? t.cache : Ai, n = t && t.serializer ? t.serializer : Bi, i = t && t.strategy ? t.strategy : Pi;
1190
1190
  return i(e, {
1191
1191
  cache: r,
1192
1192
  serializer: n
1193
1193
  });
1194
1194
  }
1195
- function Ei(e) {
1195
+ function xi(e) {
1196
1196
  return e == null || typeof e == "number" || typeof e == "boolean";
1197
1197
  }
1198
- function wi(e, t, r, n) {
1199
- var i = Ei(n) ? n : r(n), o = t.get(i);
1198
+ function Si(e, t, r, n) {
1199
+ var i = xi(n) ? n : r(n), o = t.get(i);
1200
1200
  return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
1201
1201
  }
1202
- function Gr(e, t, r) {
1202
+ function jr(e, t, r) {
1203
1203
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1204
1204
  return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
1205
1205
  }
1206
- function jr(e, t, r, n, i) {
1206
+ function Vr(e, t, r, n, i) {
1207
1207
  return r.bind(t, e, n, i);
1208
1208
  }
1209
- function xi(e, t) {
1210
- var r = e.length === 1 ? wi : Gr;
1211
- return jr(e, this, r, t.cache.create(), t.serializer);
1209
+ function Pi(e, t) {
1210
+ var r = e.length === 1 ? Si : jr;
1211
+ return Vr(e, this, r, t.cache.create(), t.serializer);
1212
1212
  }
1213
- function Si(e, t) {
1214
- return jr(e, this, Gr, t.cache.create(), t.serializer);
1213
+ function Ti(e, t) {
1214
+ return Vr(e, this, jr, t.cache.create(), t.serializer);
1215
1215
  }
1216
- var Pi = function() {
1216
+ var Bi = function() {
1217
1217
  return JSON.stringify(arguments);
1218
- }, Ti = (
1218
+ }, Hi = (
1219
1219
  /** @class */
1220
1220
  function() {
1221
1221
  function e() {
@@ -1227,21 +1227,21 @@ var Pi = function() {
1227
1227
  this.cache[t] = r;
1228
1228
  }, e;
1229
1229
  }()
1230
- ), Bi = {
1230
+ ), Ai = {
1231
1231
  create: function() {
1232
- return new Ti();
1232
+ return new Hi();
1233
1233
  }
1234
- }, Pt = {
1235
- variadic: Si
1236
- }, ct = function() {
1237
- return ct = Object.assign || function(t) {
1234
+ }, Tt = {
1235
+ variadic: Ti
1236
+ }, ht = function() {
1237
+ return ht = Object.assign || function(t) {
1238
1238
  for (var r, n = 1, i = arguments.length; n < i; n++) {
1239
1239
  r = arguments[n];
1240
1240
  for (var o in r)
1241
1241
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1242
1242
  }
1243
1243
  return t;
1244
- }, ct.apply(this, arguments);
1244
+ }, ht.apply(this, arguments);
1245
1245
  };
1246
1246
  var _;
1247
1247
  (function(e) {
@@ -1255,43 +1255,43 @@ var Oe;
1255
1255
  (function(e) {
1256
1256
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1257
1257
  })(Oe || (Oe = {}));
1258
- function fr(e) {
1258
+ function dr(e) {
1259
1259
  return e.type === P.literal;
1260
1260
  }
1261
- function Hi(e) {
1261
+ function Ii(e) {
1262
1262
  return e.type === P.argument;
1263
1263
  }
1264
- function Vr(e) {
1264
+ function zr(e) {
1265
1265
  return e.type === P.number;
1266
1266
  }
1267
- function zr(e) {
1267
+ function Xr(e) {
1268
1268
  return e.type === P.date;
1269
1269
  }
1270
- function Xr(e) {
1270
+ function Wr(e) {
1271
1271
  return e.type === P.time;
1272
1272
  }
1273
- function Wr(e) {
1273
+ function Zr(e) {
1274
1274
  return e.type === P.select;
1275
1275
  }
1276
- function Zr(e) {
1276
+ function qr(e) {
1277
1277
  return e.type === P.plural;
1278
1278
  }
1279
- function Ai(e) {
1279
+ function Oi(e) {
1280
1280
  return e.type === P.pound;
1281
1281
  }
1282
- function qr(e) {
1282
+ function Jr(e) {
1283
1283
  return e.type === P.tag;
1284
1284
  }
1285
- function Jr(e) {
1285
+ function Qr(e) {
1286
1286
  return !!(e && typeof e == "object" && e.type === Oe.number);
1287
1287
  }
1288
- function Ft(e) {
1288
+ function Dt(e) {
1289
1289
  return !!(e && typeof e == "object" && e.type === Oe.dateTime);
1290
1290
  }
1291
- var Qr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Ii = /(?:[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;
1292
- function Oi(e) {
1291
+ var Yr = /[ \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;
1292
+ function Li(e) {
1293
1293
  var t = {};
1294
- return e.replace(Ii, function(r) {
1294
+ return e.replace(Ci, function(r) {
1295
1295
  var n = r.length;
1296
1296
  switch (r[0]) {
1297
1297
  case "G":
@@ -1390,11 +1390,11 @@ var B = function() {
1390
1390
  return t;
1391
1391
  }, B.apply(this, arguments);
1392
1392
  };
1393
- var Ci = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1394
- function Li(e) {
1393
+ var Mi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1394
+ function Ni(e) {
1395
1395
  if (e.length === 0)
1396
1396
  throw new Error("Number skeleton cannot be empty");
1397
- for (var t = e.split(Ci).filter(function(d) {
1397
+ for (var t = e.split(Mi).filter(function(d) {
1398
1398
  return d.length > 0;
1399
1399
  }), r = [], n = 0, i = t; n < i.length; n++) {
1400
1400
  var o = i[n], s = o.split("/");
@@ -1409,17 +1409,17 @@ function Li(e) {
1409
1409
  }
1410
1410
  return r;
1411
1411
  }
1412
- function Mi(e) {
1412
+ function Ri(e) {
1413
1413
  return e.replace(/^(.*?)-/, "");
1414
1414
  }
1415
- var dr = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Yr = /^(@+)?(\+|#+)?[rs]?$/g, Ni = /(\*)(0+)|(#+)(0+)|(0+)/g, Kr = /^(0+)$/;
1416
- function pr(e) {
1415
+ var pr = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Kr = /^(@+)?(\+|#+)?[rs]?$/g, Ui = /(\*)(0+)|(#+)(0+)|(0+)/g, en = /^(0+)$/;
1416
+ function mr(e) {
1417
1417
  var t = {};
1418
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Yr, function(r, n, i) {
1418
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Kr, function(r, n, i) {
1419
1419
  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)), "";
1420
1420
  }), t;
1421
1421
  }
1422
- function en(e) {
1422
+ function tn(e) {
1423
1423
  switch (e) {
1424
1424
  case "sign-auto":
1425
1425
  return {
@@ -1459,7 +1459,7 @@ function en(e) {
1459
1459
  };
1460
1460
  }
1461
1461
  }
1462
- function Ri(e) {
1462
+ function Fi(e) {
1463
1463
  var t;
1464
1464
  if (e[0] === "E" && e[1] === "E" ? (t = {
1465
1465
  notation: "engineering"
@@ -1467,17 +1467,17 @@ function Ri(e) {
1467
1467
  notation: "scientific"
1468
1468
  }, e = e.slice(1)), t) {
1469
1469
  var r = e.slice(0, 2);
1470
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Kr.test(e))
1470
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !en.test(e))
1471
1471
  throw new Error("Malformed concise eng/scientific notation");
1472
1472
  t.minimumIntegerDigits = e.length;
1473
1473
  }
1474
1474
  return t;
1475
1475
  }
1476
- function mr(e) {
1477
- var t = {}, r = en(e);
1476
+ function gr(e) {
1477
+ var t = {}, r = tn(e);
1478
1478
  return r || t;
1479
1479
  }
1480
- function Ui(e) {
1480
+ function Di(e) {
1481
1481
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1482
1482
  var i = n[r];
1483
1483
  switch (i.stem) {
@@ -1501,7 +1501,7 @@ function Ui(e) {
1501
1501
  continue;
1502
1502
  case "measure-unit":
1503
1503
  case "unit":
1504
- t.style = "unit", t.unit = Mi(i.options[0]);
1504
+ t.style = "unit", t.unit = Ri(i.options[0]);
1505
1505
  continue;
1506
1506
  case "compact-short":
1507
1507
  case "K":
@@ -1513,12 +1513,12 @@ function Ui(e) {
1513
1513
  continue;
1514
1514
  case "scientific":
1515
1515
  t = B(B(B({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
1516
- return B(B({}, u), mr(l));
1516
+ return B(B({}, u), gr(l));
1517
1517
  }, {}));
1518
1518
  continue;
1519
1519
  case "engineering":
1520
1520
  t = B(B(B({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
1521
- return B(B({}, u), mr(l));
1521
+ return B(B({}, u), gr(l));
1522
1522
  }, {}));
1523
1523
  continue;
1524
1524
  case "notation-simple":
@@ -1563,7 +1563,7 @@ function Ui(e) {
1563
1563
  case "integer-width":
1564
1564
  if (i.options.length > 1)
1565
1565
  throw new RangeError("integer-width stems only accept a single optional option");
1566
- i.options[0].replace(Ni, function(u, l, c, f, d, b) {
1566
+ i.options[0].replace(Ui, function(u, l, c, f, d, b) {
1567
1567
  if (l)
1568
1568
  t.minimumIntegerDigits = c.length;
1569
1569
  else {
@@ -1576,32 +1576,32 @@ function Ui(e) {
1576
1576
  });
1577
1577
  continue;
1578
1578
  }
1579
- if (Kr.test(i.stem)) {
1579
+ if (en.test(i.stem)) {
1580
1580
  t.minimumIntegerDigits = i.stem.length;
1581
1581
  continue;
1582
1582
  }
1583
- if (dr.test(i.stem)) {
1583
+ if (pr.test(i.stem)) {
1584
1584
  if (i.options.length > 1)
1585
1585
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1586
- i.stem.replace(dr, function(u, l, c, f, d, b) {
1586
+ i.stem.replace(pr, function(u, l, c, f, d, b) {
1587
1587
  return c === "*" ? t.minimumFractionDigits = l.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : d && b ? (t.minimumFractionDigits = d.length, t.maximumFractionDigits = d.length + b.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1588
1588
  });
1589
1589
  var o = i.options[0];
1590
- o === "w" ? t = B(B({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = B(B({}, t), pr(o)));
1590
+ o === "w" ? t = B(B({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = B(B({}, t), mr(o)));
1591
1591
  continue;
1592
1592
  }
1593
- if (Yr.test(i.stem)) {
1594
- t = B(B({}, t), pr(i.stem));
1593
+ if (Kr.test(i.stem)) {
1594
+ t = B(B({}, t), mr(i.stem));
1595
1595
  continue;
1596
1596
  }
1597
- var s = en(i.stem);
1597
+ var s = tn(i.stem);
1598
1598
  s && (t = B(B({}, t), s));
1599
- var a = Ri(i.stem);
1599
+ var a = Fi(i.stem);
1600
1600
  a && (t = B(B({}, t), a));
1601
1601
  }
1602
1602
  return t;
1603
1603
  }
1604
- var it = {
1604
+ var ot = {
1605
1605
  "001": [
1606
1606
  "H",
1607
1607
  "h"
@@ -3016,13 +3016,13 @@ var it = {
3016
3016
  "h"
3017
3017
  ]
3018
3018
  };
3019
- function Fi(e, t) {
3019
+ function ki(e, t) {
3020
3020
  for (var r = "", n = 0; n < e.length; n++) {
3021
3021
  var i = e.charAt(n);
3022
3022
  if (i === "j") {
3023
3023
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3024
3024
  o++, n++;
3025
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = Di(t);
3025
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = $i(t);
3026
3026
  for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
3027
3027
  r += u;
3028
3028
  for (; s-- > 0; )
@@ -3032,7 +3032,7 @@ function Fi(e, t) {
3032
3032
  }
3033
3033
  return r;
3034
3034
  }
3035
- function Di(e) {
3035
+ function $i(e) {
3036
3036
  var t = e.hourCycle;
3037
3037
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3038
3038
  e.hourCycles && // @ts-ignore
@@ -3051,23 +3051,23 @@ function Di(e) {
3051
3051
  }
3052
3052
  var r = e.language, n;
3053
3053
  r !== "root" && (n = e.maximize().region);
3054
- var i = it[n || ""] || it[r || ""] || it["".concat(r, "-001")] || it["001"];
3054
+ var i = ot[n || ""] || ot[r || ""] || ot["".concat(r, "-001")] || ot["001"];
3055
3055
  return i[0];
3056
3056
  }
3057
- var Tt, ki = new RegExp("^".concat(Qr.source, "*")), $i = new RegExp("".concat(Qr.source, "*$"));
3057
+ var Bt, Gi = new RegExp("^".concat(Yr.source, "*")), ji = new RegExp("".concat(Yr.source, "*$"));
3058
3058
  function E(e, t) {
3059
3059
  return { start: e, end: t };
3060
3060
  }
3061
- var Gi = !!String.prototype.startsWith && "_a".startsWith("a", 1), ji = !!String.fromCodePoint, Vi = !!Object.fromEntries, zi = !!String.prototype.codePointAt, Xi = !!String.prototype.trimStart, Wi = !!String.prototype.trimEnd, Zi = !!Number.isSafeInteger, qi = Zi ? Number.isSafeInteger : function(e) {
3061
+ var Vi = !!String.prototype.startsWith && "_a".startsWith("a", 1), zi = !!String.fromCodePoint, Xi = !!Object.fromEntries, Wi = !!String.prototype.codePointAt, Zi = !!String.prototype.trimStart, qi = !!String.prototype.trimEnd, Ji = !!Number.isSafeInteger, Qi = Ji ? Number.isSafeInteger : function(e) {
3062
3062
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3063
- }, Dt = !0;
3063
+ }, kt = !0;
3064
3064
  try {
3065
- var Ji = rn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3066
- Dt = ((Tt = Ji.exec("a")) === null || Tt === void 0 ? void 0 : Tt[0]) === "a";
3065
+ var Yi = nn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3066
+ kt = ((Bt = Yi.exec("a")) === null || Bt === void 0 ? void 0 : Bt[0]) === "a";
3067
3067
  } catch (e) {
3068
- Dt = !1;
3068
+ kt = !1;
3069
3069
  }
3070
- var gr = Gi ? (
3070
+ var br = Vi ? (
3071
3071
  // Native
3072
3072
  function(t, r, n) {
3073
3073
  return t.startsWith(r, n);
@@ -3077,7 +3077,7 @@ var gr = Gi ? (
3077
3077
  function(t, r, n) {
3078
3078
  return t.slice(n, n + r.length) === r;
3079
3079
  }
3080
- ), kt = ji ? String.fromCodePoint : (
3080
+ ), $t = zi ? String.fromCodePoint : (
3081
3081
  // IE11
3082
3082
  function() {
3083
3083
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3089,9 +3089,9 @@ var gr = Gi ? (
3089
3089
  }
3090
3090
  return n;
3091
3091
  }
3092
- ), br = (
3092
+ ), vr = (
3093
3093
  // native
3094
- Vi ? Object.fromEntries : (
3094
+ Xi ? Object.fromEntries : (
3095
3095
  // Ponyfill
3096
3096
  function(t) {
3097
3097
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3101,7 +3101,7 @@ var gr = Gi ? (
3101
3101
  return r;
3102
3102
  }
3103
3103
  )
3104
- ), tn = zi ? (
3104
+ ), rn = Wi ? (
3105
3105
  // Native
3106
3106
  function(t, r) {
3107
3107
  return t.codePointAt(r);
@@ -3115,7 +3115,7 @@ var gr = Gi ? (
3115
3115
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3116
3116
  }
3117
3117
  }
3118
- ), Qi = Xi ? (
3118
+ ), Ki = Zi ? (
3119
3119
  // Native
3120
3120
  function(t) {
3121
3121
  return t.trimStart();
@@ -3123,9 +3123,9 @@ var gr = Gi ? (
3123
3123
  ) : (
3124
3124
  // Ponyfill
3125
3125
  function(t) {
3126
- return t.replace(ki, "");
3126
+ return t.replace(Gi, "");
3127
3127
  }
3128
- ), Yi = Wi ? (
3128
+ ), eo = qi ? (
3129
3129
  // Native
3130
3130
  function(t) {
3131
3131
  return t.trimEnd();
@@ -3133,32 +3133,32 @@ var gr = Gi ? (
3133
3133
  ) : (
3134
3134
  // Ponyfill
3135
3135
  function(t) {
3136
- return t.replace($i, "");
3136
+ return t.replace(ji, "");
3137
3137
  }
3138
3138
  );
3139
- function rn(e, t) {
3139
+ function nn(e, t) {
3140
3140
  return new RegExp(e, t);
3141
3141
  }
3142
- var $t;
3143
- if (Dt) {
3144
- var vr = rn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3145
- $t = function(t, r) {
3142
+ var Gt;
3143
+ if (kt) {
3144
+ var yr = nn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3145
+ Gt = function(t, r) {
3146
3146
  var n;
3147
- vr.lastIndex = r;
3148
- var i = vr.exec(t);
3147
+ yr.lastIndex = r;
3148
+ var i = yr.exec(t);
3149
3149
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3150
3150
  };
3151
3151
  } else
3152
- $t = function(t, r) {
3152
+ Gt = function(t, r) {
3153
3153
  for (var n = []; ; ) {
3154
- var i = tn(t, r);
3155
- if (i === void 0 || nn(i) || ro(i))
3154
+ var i = rn(t, r);
3155
+ if (i === void 0 || on(i) || io(i))
3156
3156
  break;
3157
3157
  n.push(i), r += i >= 65536 ? 2 : 1;
3158
3158
  }
3159
- return kt.apply(void 0, n);
3159
+ return $t.apply(void 0, n);
3160
3160
  };
3161
- var Ki = (
3161
+ var to = (
3162
3162
  /** @class */
3163
3163
  function() {
3164
3164
  function e(t, r) {
@@ -3189,7 +3189,7 @@ var Ki = (
3189
3189
  if (n)
3190
3190
  break;
3191
3191
  return this.error(_.UNMATCHED_CLOSING_TAG, E(this.clonePosition(), this.clonePosition()));
3192
- } else if (o === 60 && !this.ignoreTag && Gt(this.peek() || 0)) {
3192
+ } else if (o === 60 && !this.ignoreTag && jt(this.peek() || 0)) {
3193
3193
  var s = this.parseTag(t, r);
3194
3194
  if (s.err)
3195
3195
  return s;
@@ -3222,7 +3222,7 @@ var Ki = (
3222
3222
  return o;
3223
3223
  var s = o.val, a = this.clonePosition();
3224
3224
  if (this.bumpIf("</")) {
3225
- if (this.isEOF() || !Gt(this.char()))
3225
+ if (this.isEOF() || !jt(this.char()))
3226
3226
  return this.error(_.INVALID_TAG, E(a, this.clonePosition()));
3227
3227
  var u = this.clonePosition(), l = this.parseTagName();
3228
3228
  return i !== l ? this.error(_.UNMATCHED_CLOSING_TAG, E(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
@@ -3240,7 +3240,7 @@ var Ki = (
3240
3240
  return this.error(_.INVALID_TAG, E(n, this.clonePosition()));
3241
3241
  }, e.prototype.parseTagName = function() {
3242
3242
  var t = this.offset();
3243
- for (this.bump(); !this.isEOF() && to(this.char()); )
3243
+ for (this.bump(); !this.isEOF() && no(this.char()); )
3244
3244
  this.bump();
3245
3245
  return this.message.slice(t, this.offset());
3246
3246
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3269,7 +3269,7 @@ var Ki = (
3269
3269
  };
3270
3270
  }, e.prototype.tryParseLeftAngleBracket = function() {
3271
3271
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3272
- !eo(this.peek() || 0)) ? (this.bump(), "<") : null;
3272
+ !ro(this.peek() || 0)) ? (this.bump(), "<") : null;
3273
3273
  }, e.prototype.tryParseQuote = function(t) {
3274
3274
  if (this.isEOF() || this.char() !== 39)
3275
3275
  return null;
@@ -3303,12 +3303,12 @@ var Ki = (
3303
3303
  r.push(n);
3304
3304
  this.bump();
3305
3305
  }
3306
- return kt.apply(void 0, r);
3306
+ return $t.apply(void 0, r);
3307
3307
  }, e.prototype.tryParseUnquoted = function(t, r) {
3308
3308
  if (this.isEOF())
3309
3309
  return null;
3310
3310
  var n = this.char();
3311
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), kt(n));
3311
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), $t(n));
3312
3312
  }, e.prototype.parseArgument = function(t, r) {
3313
3313
  var n = this.clonePosition();
3314
3314
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3337,7 +3337,7 @@ var Ki = (
3337
3337
  return this.error(_.MALFORMED_ARGUMENT, E(n, this.clonePosition()));
3338
3338
  }
3339
3339
  }, e.prototype.parseIdentifierIfPossible = function() {
3340
- var t = this.clonePosition(), r = this.offset(), n = $t(this.message, r), i = r + n.length;
3340
+ var t = this.clonePosition(), r = this.offset(), n = Gt(this.message, r), i = r + n.length;
3341
3341
  this.bumpTo(i);
3342
3342
  var o = this.clonePosition(), s = E(t, o);
3343
3343
  return { value: n, location: s };
@@ -3356,7 +3356,7 @@ var Ki = (
3356
3356
  var c = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3357
3357
  if (f.err)
3358
3358
  return f;
3359
- var d = Yi(f.val);
3359
+ var d = eo(f.val);
3360
3360
  if (d.length === 0)
3361
3361
  return this.error(_.EXPECT_ARGUMENT_STYLE, E(this.clonePosition(), this.clonePosition()));
3362
3362
  var b = E(c, this.clonePosition());
@@ -3366,8 +3366,8 @@ var Ki = (
3366
3366
  if (y.err)
3367
3367
  return y;
3368
3368
  var g = E(i, this.clonePosition());
3369
- if (l && gr(l == null ? void 0 : l.style, "::", 0)) {
3370
- var x = Qi(l.style.slice(2));
3369
+ if (l && br(l == null ? void 0 : l.style, "::", 0)) {
3370
+ var x = Ki(l.style.slice(2));
3371
3371
  if (a === "number") {
3372
3372
  var f = this.parseNumberSkeletonFromString(x, l.styleLocation);
3373
3373
  return f.err ? f : {
@@ -3377,13 +3377,13 @@ var Ki = (
3377
3377
  } else {
3378
3378
  if (x.length === 0)
3379
3379
  return this.error(_.EXPECT_DATE_TIME_SKELETON, g);
3380
- var O = x;
3381
- this.locale && (O = Fi(x, this.locale));
3380
+ var C = x;
3381
+ this.locale && (C = ki(x, this.locale));
3382
3382
  var d = {
3383
3383
  type: Oe.dateTime,
3384
- pattern: O,
3384
+ pattern: C,
3385
3385
  location: l.styleLocation,
3386
- parsedOptions: this.shouldParseSkeletons ? Oi(O) : {}
3386
+ parsedOptions: this.shouldParseSkeletons ? Li(C) : {}
3387
3387
  }, z = a === "date" ? P.date : P.time;
3388
3388
  return {
3389
3389
  val: { type: z, value: n, location: g, style: d },
@@ -3406,9 +3406,9 @@ var Ki = (
3406
3406
  case "select": {
3407
3407
  var R = this.clonePosition();
3408
3408
  if (this.bumpSpace(), !this.bumpIf(","))
3409
- return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, E(R, ct({}, R)));
3409
+ return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, E(R, ht({}, R)));
3410
3410
  this.bumpSpace();
3411
- var U = this.parseIdentifierIfPossible(), A = 0;
3411
+ var U = this.parseIdentifierIfPossible(), I = 0;
3412
3412
  if (a !== "select" && U.value === "offset") {
3413
3413
  if (!this.bumpIf(":"))
3414
3414
  return this.error(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, E(this.clonePosition(), this.clonePosition()));
@@ -3416,7 +3416,7 @@ var Ki = (
3416
3416
  var f = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3417
3417
  if (f.err)
3418
3418
  return f;
3419
- this.bumpSpace(), U = this.parseIdentifierIfPossible(), A = f.val;
3419
+ this.bumpSpace(), U = this.parseIdentifierIfPossible(), I = f.val;
3420
3420
  }
3421
3421
  var ne = this.tryParsePluralOrSelectOptions(t, a, r, U);
3422
3422
  if (ne.err)
@@ -3429,7 +3429,7 @@ var Ki = (
3429
3429
  val: {
3430
3430
  type: P.select,
3431
3431
  value: n,
3432
- options: br(ne.val),
3432
+ options: vr(ne.val),
3433
3433
  location: T
3434
3434
  },
3435
3435
  err: null
@@ -3437,8 +3437,8 @@ var Ki = (
3437
3437
  val: {
3438
3438
  type: P.plural,
3439
3439
  value: n,
3440
- options: br(ne.val),
3441
- offset: A,
3440
+ options: vr(ne.val),
3441
+ offset: I,
3442
3442
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3443
3443
  location: T
3444
3444
  },
@@ -3488,7 +3488,7 @@ var Ki = (
3488
3488
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3489
3489
  var n = [];
3490
3490
  try {
3491
- n = Li(t);
3491
+ n = Ni(t);
3492
3492
  } catch (i) {
3493
3493
  return this.error(_.INVALID_NUMBER_SKELETON, r);
3494
3494
  }
@@ -3497,7 +3497,7 @@ var Ki = (
3497
3497
  type: Oe.number,
3498
3498
  tokens: n,
3499
3499
  location: r,
3500
- parsedOptions: this.shouldParseSkeletons ? Ui(n) : {}
3500
+ parsedOptions: this.shouldParseSkeletons ? Di(n) : {}
3501
3501
  },
3502
3502
  err: null
3503
3503
  };
@@ -3545,7 +3545,7 @@ var Ki = (
3545
3545
  break;
3546
3546
  }
3547
3547
  var u = E(i, this.clonePosition());
3548
- return o ? (s *= n, qi(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
3548
+ return o ? (s *= n, Qi(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
3549
3549
  }, e.prototype.offset = function() {
3550
3550
  return this.position.offset;
3551
3551
  }, e.prototype.isEOF = function() {
@@ -3560,7 +3560,7 @@ var Ki = (
3560
3560
  var t = this.position.offset;
3561
3561
  if (t >= this.message.length)
3562
3562
  throw Error("out of bound");
3563
- var r = tn(this.message, t);
3563
+ var r = rn(this.message, t);
3564
3564
  if (r === void 0)
3565
3565
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3566
3566
  return r;
@@ -3579,7 +3579,7 @@ var Ki = (
3579
3579
  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);
3580
3580
  }
3581
3581
  }, e.prototype.bumpIf = function(t) {
3582
- if (gr(this.message, t, this.offset())) {
3582
+ if (br(this.message, t, this.offset())) {
3583
3583
  for (var r = 0; r < t.length; r++)
3584
3584
  this.bump();
3585
3585
  return !0;
@@ -3601,7 +3601,7 @@ var Ki = (
3601
3601
  break;
3602
3602
  }
3603
3603
  }, e.prototype.bumpSpace = function() {
3604
- for (; !this.isEOF() && nn(this.char()); )
3604
+ for (; !this.isEOF() && on(this.char()); )
3605
3605
  this.bump();
3606
3606
  }, e.prototype.peek = function() {
3607
3607
  if (this.isEOF())
@@ -3611,47 +3611,47 @@ var Ki = (
3611
3611
  }, e;
3612
3612
  }()
3613
3613
  );
3614
- function Gt(e) {
3614
+ function jt(e) {
3615
3615
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3616
3616
  }
3617
- function eo(e) {
3618
- return Gt(e) || e === 47;
3617
+ function ro(e) {
3618
+ return jt(e) || e === 47;
3619
3619
  }
3620
- function to(e) {
3620
+ function no(e) {
3621
3621
  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;
3622
3622
  }
3623
- function nn(e) {
3623
+ function on(e) {
3624
3624
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3625
3625
  }
3626
- function ro(e) {
3626
+ function io(e) {
3627
3627
  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;
3628
3628
  }
3629
- function jt(e) {
3629
+ function Vt(e) {
3630
3630
  e.forEach(function(t) {
3631
- if (delete t.location, Wr(t) || Zr(t))
3631
+ if (delete t.location, Zr(t) || qr(t))
3632
3632
  for (var r in t.options)
3633
- delete t.options[r].location, jt(t.options[r].value);
3633
+ delete t.options[r].location, Vt(t.options[r].value);
3634
3634
  else
3635
- Vr(t) && Jr(t.style) || (zr(t) || Xr(t)) && Ft(t.style) ? delete t.style.location : qr(t) && jt(t.children);
3635
+ zr(t) && Qr(t.style) || (Xr(t) || Wr(t)) && Dt(t.style) ? delete t.style.location : Jr(t) && Vt(t.children);
3636
3636
  });
3637
3637
  }
3638
- function no(e, t) {
3639
- t === void 0 && (t = {}), t = ct({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3640
- var r = new Ki(e, t).parse();
3638
+ function oo(e, t) {
3639
+ t === void 0 && (t = {}), t = ht({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3640
+ var r = new to(e, t).parse();
3641
3641
  if (r.err) {
3642
3642
  var n = SyntaxError(_[r.err.kind]);
3643
3643
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3644
3644
  }
3645
- return t != null && t.captureLocation || jt(r.val), r.val;
3645
+ return t != null && t.captureLocation || Vt(r.val), r.val;
3646
3646
  }
3647
3647
  var Ce;
3648
3648
  (function(e) {
3649
3649
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3650
3650
  })(Ce || (Ce = {}));
3651
- var gt = (
3651
+ var bt = (
3652
3652
  /** @class */
3653
3653
  function(e) {
3654
- mt(t, e);
3654
+ gt(t, e);
3655
3655
  function t(r, n, i) {
3656
3656
  var o = e.call(this, r) || this;
3657
3657
  return o.code = n, o.originalMessage = i, o;
@@ -3660,48 +3660,48 @@ var gt = (
3660
3660
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3661
3661
  }, t;
3662
3662
  }(Error)
3663
- ), yr = (
3663
+ ), _r = (
3664
3664
  /** @class */
3665
3665
  function(e) {
3666
- mt(t, e);
3666
+ gt(t, e);
3667
3667
  function t(r, n, i, o) {
3668
3668
  return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Ce.INVALID_VALUE, o) || this;
3669
3669
  }
3670
3670
  return t;
3671
- }(gt)
3672
- ), io = (
3671
+ }(bt)
3672
+ ), so = (
3673
3673
  /** @class */
3674
3674
  function(e) {
3675
- mt(t, e);
3675
+ gt(t, e);
3676
3676
  function t(r, n, i) {
3677
3677
  return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Ce.INVALID_VALUE, i) || this;
3678
3678
  }
3679
3679
  return t;
3680
- }(gt)
3681
- ), oo = (
3680
+ }(bt)
3681
+ ), ao = (
3682
3682
  /** @class */
3683
3683
  function(e) {
3684
- mt(t, e);
3684
+ gt(t, e);
3685
3685
  function t(r, n) {
3686
3686
  return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Ce.MISSING_VALUE, n) || this;
3687
3687
  }
3688
3688
  return t;
3689
- }(gt)
3689
+ }(bt)
3690
3690
  ), V;
3691
3691
  (function(e) {
3692
3692
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3693
3693
  })(V || (V = {}));
3694
- function so(e) {
3694
+ function lo(e) {
3695
3695
  return e.length < 2 ? e : e.reduce(function(t, r) {
3696
3696
  var n = t[t.length - 1];
3697
3697
  return !n || n.type !== V.literal || r.type !== V.literal ? t.push(r) : n.value += r.value, t;
3698
3698
  }, []);
3699
3699
  }
3700
- function ao(e) {
3700
+ function uo(e) {
3701
3701
  return typeof e == "function";
3702
3702
  }
3703
- function at(e, t, r, n, i, o, s) {
3704
- if (e.length === 1 && fr(e[0]))
3703
+ function lt(e, t, r, n, i, o, s) {
3704
+ if (e.length === 1 && dr(e[0]))
3705
3705
  return [
3706
3706
  {
3707
3707
  type: V.literal,
@@ -3710,14 +3710,14 @@ function at(e, t, r, n, i, o, s) {
3710
3710
  ];
3711
3711
  for (var a = [], u = 0, l = e; u < l.length; u++) {
3712
3712
  var c = l[u];
3713
- if (fr(c)) {
3713
+ if (dr(c)) {
3714
3714
  a.push({
3715
3715
  type: V.literal,
3716
3716
  value: c.value
3717
3717
  });
3718
3718
  continue;
3719
3719
  }
3720
- if (Ai(c)) {
3720
+ if (Oi(c)) {
3721
3721
  typeof o == "number" && a.push({
3722
3722
  type: V.literal,
3723
3723
  value: r.getNumberFormat(t).format(o)
@@ -3726,89 +3726,89 @@ function at(e, t, r, n, i, o, s) {
3726
3726
  }
3727
3727
  var f = c.value;
3728
3728
  if (!(i && f in i))
3729
- throw new oo(f, s);
3729
+ throw new ao(f, s);
3730
3730
  var d = i[f];
3731
- if (Hi(c)) {
3731
+ if (Ii(c)) {
3732
3732
  (!d || typeof d == "string" || typeof d == "number") && (d = typeof d == "string" || typeof d == "number" ? String(d) : ""), a.push({
3733
3733
  type: typeof d == "string" ? V.literal : V.object,
3734
3734
  value: d
3735
3735
  });
3736
3736
  continue;
3737
3737
  }
3738
- if (zr(c)) {
3739
- var b = typeof c.style == "string" ? n.date[c.style] : Ft(c.style) ? c.style.parsedOptions : void 0;
3738
+ if (Xr(c)) {
3739
+ var b = typeof c.style == "string" ? n.date[c.style] : Dt(c.style) ? c.style.parsedOptions : void 0;
3740
3740
  a.push({
3741
3741
  type: V.literal,
3742
3742
  value: r.getDateTimeFormat(t, b).format(d)
3743
3743
  });
3744
3744
  continue;
3745
3745
  }
3746
- if (Xr(c)) {
3747
- var b = typeof c.style == "string" ? n.time[c.style] : Ft(c.style) ? c.style.parsedOptions : n.time.medium;
3746
+ if (Wr(c)) {
3747
+ var b = typeof c.style == "string" ? n.time[c.style] : Dt(c.style) ? c.style.parsedOptions : n.time.medium;
3748
3748
  a.push({
3749
3749
  type: V.literal,
3750
3750
  value: r.getDateTimeFormat(t, b).format(d)
3751
3751
  });
3752
3752
  continue;
3753
3753
  }
3754
- if (Vr(c)) {
3755
- var b = typeof c.style == "string" ? n.number[c.style] : Jr(c.style) ? c.style.parsedOptions : void 0;
3754
+ if (zr(c)) {
3755
+ var b = typeof c.style == "string" ? n.number[c.style] : Qr(c.style) ? c.style.parsedOptions : void 0;
3756
3756
  b && b.scale && (d = d * (b.scale || 1)), a.push({
3757
3757
  type: V.literal,
3758
3758
  value: r.getNumberFormat(t, b).format(d)
3759
3759
  });
3760
3760
  continue;
3761
3761
  }
3762
- if (qr(c)) {
3762
+ if (Jr(c)) {
3763
3763
  var y = c.children, g = c.value, x = i[g];
3764
- if (!ao(x))
3765
- throw new io(g, "function", s);
3766
- var O = at(y, t, r, n, i, o), z = x(O.map(function(A) {
3767
- return A.value;
3764
+ if (!uo(x))
3765
+ throw new so(g, "function", s);
3766
+ var C = lt(y, t, r, n, i, o), z = x(C.map(function(I) {
3767
+ return I.value;
3768
3768
  }));
3769
- Array.isArray(z) || (z = [z]), a.push.apply(a, z.map(function(A) {
3769
+ Array.isArray(z) || (z = [z]), a.push.apply(a, z.map(function(I) {
3770
3770
  return {
3771
- type: typeof A == "string" ? V.literal : V.object,
3772
- value: A
3771
+ type: typeof I == "string" ? V.literal : V.object,
3772
+ value: I
3773
3773
  };
3774
3774
  }));
3775
3775
  }
3776
- if (Wr(c)) {
3776
+ if (Zr(c)) {
3777
3777
  var R = c.options[d] || c.options.other;
3778
3778
  if (!R)
3779
- throw new yr(c.value, d, Object.keys(c.options), s);
3780
- a.push.apply(a, at(R.value, t, r, n, i));
3779
+ throw new _r(c.value, d, Object.keys(c.options), s);
3780
+ a.push.apply(a, lt(R.value, t, r, n, i));
3781
3781
  continue;
3782
3782
  }
3783
- if (Zr(c)) {
3783
+ if (qr(c)) {
3784
3784
  var R = c.options["=".concat(d)];
3785
3785
  if (!R) {
3786
3786
  if (!Intl.PluralRules)
3787
- throw new gt(`Intl.PluralRules is not available in this environment.
3787
+ throw new bt(`Intl.PluralRules is not available in this environment.
3788
3788
  Try polyfilling it using "@formatjs/intl-pluralrules"
3789
3789
  `, Ce.MISSING_INTL_API, s);
3790
3790
  var U = r.getPluralRules(t, { type: c.pluralType }).select(d - (c.offset || 0));
3791
3791
  R = c.options[U] || c.options.other;
3792
3792
  }
3793
3793
  if (!R)
3794
- throw new yr(c.value, d, Object.keys(c.options), s);
3795
- a.push.apply(a, at(R.value, t, r, n, i, d - (c.offset || 0)));
3794
+ throw new _r(c.value, d, Object.keys(c.options), s);
3795
+ a.push.apply(a, lt(R.value, t, r, n, i, d - (c.offset || 0)));
3796
3796
  continue;
3797
3797
  }
3798
3798
  }
3799
- return so(a);
3799
+ return lo(a);
3800
3800
  }
3801
- function lo(e, t) {
3801
+ function co(e, t) {
3802
3802
  return t ? oe(oe(oe({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3803
3803
  return r[n] = oe(oe({}, e[n]), t[n] || {}), r;
3804
3804
  }, {})) : e;
3805
3805
  }
3806
- function uo(e, t) {
3806
+ function ho(e, t) {
3807
3807
  return t ? Object.keys(e).reduce(function(r, n) {
3808
- return r[n] = lo(e[n], t[n]), r;
3808
+ return r[n] = co(e[n], t[n]), r;
3809
3809
  }, oe({}, e)) : e;
3810
3810
  }
3811
- function Bt(e) {
3811
+ function Ht(e) {
3812
3812
  return {
3813
3813
  create: function() {
3814
3814
  return {
@@ -3822,39 +3822,39 @@ function Bt(e) {
3822
3822
  }
3823
3823
  };
3824
3824
  }
3825
- function co(e) {
3825
+ function fo(e) {
3826
3826
  return e === void 0 && (e = {
3827
3827
  number: {},
3828
3828
  dateTime: {},
3829
3829
  pluralRules: {}
3830
3830
  }), {
3831
- getNumberFormat: St(function() {
3831
+ getNumberFormat: Pt(function() {
3832
3832
  for (var t, r = [], n = 0; n < arguments.length; n++)
3833
3833
  r[n] = arguments[n];
3834
- return new ((t = Intl.NumberFormat).bind.apply(t, xt([void 0], r, !1)))();
3834
+ return new ((t = Intl.NumberFormat).bind.apply(t, St([void 0], r, !1)))();
3835
3835
  }, {
3836
- cache: Bt(e.number),
3837
- strategy: Pt.variadic
3836
+ cache: Ht(e.number),
3837
+ strategy: Tt.variadic
3838
3838
  }),
3839
- getDateTimeFormat: St(function() {
3839
+ getDateTimeFormat: Pt(function() {
3840
3840
  for (var t, r = [], n = 0; n < arguments.length; n++)
3841
3841
  r[n] = arguments[n];
3842
- return new ((t = Intl.DateTimeFormat).bind.apply(t, xt([void 0], r, !1)))();
3842
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, St([void 0], r, !1)))();
3843
3843
  }, {
3844
- cache: Bt(e.dateTime),
3845
- strategy: Pt.variadic
3844
+ cache: Ht(e.dateTime),
3845
+ strategy: Tt.variadic
3846
3846
  }),
3847
- getPluralRules: St(function() {
3847
+ getPluralRules: Pt(function() {
3848
3848
  for (var t, r = [], n = 0; n < arguments.length; n++)
3849
3849
  r[n] = arguments[n];
3850
- return new ((t = Intl.PluralRules).bind.apply(t, xt([void 0], r, !1)))();
3850
+ return new ((t = Intl.PluralRules).bind.apply(t, St([void 0], r, !1)))();
3851
3851
  }, {
3852
- cache: Bt(e.pluralRules),
3853
- strategy: Pt.variadic
3852
+ cache: Ht(e.pluralRules),
3853
+ strategy: Tt.variadic
3854
3854
  })
3855
3855
  };
3856
3856
  }
3857
- var ho = (
3857
+ var po = (
3858
3858
  /** @class */
3859
3859
  function() {
3860
3860
  function e(t, r, n, i) {
@@ -3873,7 +3873,7 @@ var ho = (
3873
3873
  }, []);
3874
3874
  return c.length <= 1 ? c[0] || "" : c;
3875
3875
  }, this.formatToParts = function(u) {
3876
- return at(o.ast, o.locales, o.formatters, o.formats, u, void 0, o.message);
3876
+ return lt(o.ast, o.locales, o.formatters, o.formats, u, void 0, o.message);
3877
3877
  }, this.resolvedOptions = function() {
3878
3878
  var u;
3879
3879
  return {
@@ -3886,13 +3886,13 @@ var ho = (
3886
3886
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3887
3887
  var s = i || {};
3888
3888
  s.formatters;
3889
- var a = _i(s, ["formatters"]);
3889
+ var a = wi(s, ["formatters"]);
3890
3890
  this.ast = e.__parse(t, oe(oe({}, a), { locale: this.resolvedLocale }));
3891
3891
  } else
3892
3892
  this.ast = t;
3893
3893
  if (!Array.isArray(this.ast))
3894
3894
  throw new TypeError("A message must be provided as a String or AST.");
3895
- this.formats = uo(e.formats, n), this.formatters = i && i.formatters || co(this.formatterCache);
3895
+ this.formats = ho(e.formats, n), this.formatters = i && i.formatters || fo(this.formatterCache);
3896
3896
  }
3897
3897
  return Object.defineProperty(e, "defaultLocale", {
3898
3898
  get: function() {
@@ -3905,7 +3905,7 @@ var ho = (
3905
3905
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3906
3906
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3907
3907
  }
3908
- }, e.__parse = no, e.formats = {
3908
+ }, e.__parse = oo, e.formats = {
3909
3909
  number: {
3910
3910
  integer: {
3911
3911
  maximumFractionDigits: 0
@@ -3966,7 +3966,7 @@ var ho = (
3966
3966
  }, e;
3967
3967
  }()
3968
3968
  );
3969
- function fo(e, t) {
3969
+ function mo(e, t) {
3970
3970
  if (t == null)
3971
3971
  return;
3972
3972
  if (t in e)
@@ -3987,92 +3987,92 @@ function fo(e, t) {
3987
3987
  n = void 0;
3988
3988
  return n;
3989
3989
  }
3990
- const ce = {}, po = (e, t, r) => r && (t in ce || (ce[t] = {}), e in ce[t] || (ce[t][e] = r), r), on = (e, t) => {
3990
+ const he = {}, go = (e, t, r) => r && (t in he || (he[t] = {}), e in he[t] || (he[t][e] = r), r), sn = (e, t) => {
3991
3991
  if (t == null)
3992
3992
  return;
3993
- if (t in ce && e in ce[t])
3994
- return ce[t][e];
3995
- const r = bt(t);
3993
+ if (t in he && e in he[t])
3994
+ return he[t][e];
3995
+ const r = vt(t);
3996
3996
  for (let n = 0; n < r.length; n++) {
3997
- const i = r[n], o = go(i, e);
3997
+ const i = r[n], o = vo(i, e);
3998
3998
  if (o)
3999
- return po(e, t, o);
3999
+ return go(e, t, o);
4000
4000
  }
4001
4001
  };
4002
- let Wt;
4003
- const Re = pt({});
4004
- function mo(e) {
4005
- return Wt[e] || null;
4002
+ let Zt;
4003
+ const Re = mt({});
4004
+ function bo(e) {
4005
+ return Zt[e] || null;
4006
4006
  }
4007
- function sn(e) {
4008
- return e in Wt;
4007
+ function an(e) {
4008
+ return e in Zt;
4009
4009
  }
4010
- function go(e, t) {
4011
- if (!sn(e))
4010
+ function vo(e, t) {
4011
+ if (!an(e))
4012
4012
  return null;
4013
- const r = mo(e);
4014
- return fo(r, t);
4013
+ const r = bo(e);
4014
+ return mo(r, t);
4015
4015
  }
4016
- function bo(e) {
4016
+ function yo(e) {
4017
4017
  if (e == null)
4018
4018
  return;
4019
- const t = bt(e);
4019
+ const t = vt(e);
4020
4020
  for (let r = 0; r < t.length; r++) {
4021
4021
  const n = t[r];
4022
- if (sn(n))
4022
+ if (an(n))
4023
4023
  return n;
4024
4024
  }
4025
4025
  }
4026
- function an(e, ...t) {
4027
- delete ce[e], Re.update((r) => (r[e] = yi.all([r[e] || {}, ...t]), r));
4026
+ function ln(e, ...t) {
4027
+ delete he[e], Re.update((r) => (r[e] = Ei.all([r[e] || {}, ...t]), r));
4028
4028
  }
4029
4029
  Ne(
4030
4030
  [Re],
4031
4031
  ([e]) => Object.keys(e)
4032
4032
  );
4033
- Re.subscribe((e) => Wt = e);
4034
- const lt = {};
4035
- function vo(e, t) {
4036
- lt[e].delete(t), lt[e].size === 0 && delete lt[e];
4033
+ Re.subscribe((e) => Zt = e);
4034
+ const ut = {};
4035
+ function _o(e, t) {
4036
+ ut[e].delete(t), ut[e].size === 0 && delete ut[e];
4037
4037
  }
4038
- function ln(e) {
4039
- return lt[e];
4038
+ function un(e) {
4039
+ return ut[e];
4040
4040
  }
4041
- function yo(e) {
4042
- return bt(e).map((t) => {
4043
- const r = ln(t);
4041
+ function Eo(e) {
4042
+ return vt(e).map((t) => {
4043
+ const r = un(t);
4044
4044
  return [t, r ? [...r] : []];
4045
4045
  }).filter(([, t]) => t.length > 0);
4046
4046
  }
4047
- function Vt(e) {
4048
- return e == null ? !1 : bt(e).some(
4047
+ function zt(e) {
4048
+ return e == null ? !1 : vt(e).some(
4049
4049
  (t) => {
4050
4050
  var r;
4051
- return (r = ln(t)) == null ? void 0 : r.size;
4051
+ return (r = un(t)) == null ? void 0 : r.size;
4052
4052
  }
4053
4053
  );
4054
4054
  }
4055
- function _o(e, t) {
4055
+ function wo(e, t) {
4056
4056
  return Promise.all(
4057
- t.map((n) => (vo(e, n), n().then((i) => i.default || i)))
4058
- ).then((n) => an(e, ...n));
4059
- }
4060
- const je = {};
4061
- function un(e) {
4062
- if (!Vt(e))
4063
- return e in je ? je[e] : Promise.resolve();
4064
- const t = yo(e);
4065
- return je[e] = Promise.all(
4057
+ t.map((n) => (_o(e, n), n().then((i) => i.default || i)))
4058
+ ).then((n) => ln(e, ...n));
4059
+ }
4060
+ const ze = {};
4061
+ function cn(e) {
4062
+ if (!zt(e))
4063
+ return e in ze ? ze[e] : Promise.resolve();
4064
+ const t = Eo(e);
4065
+ return ze[e] = Promise.all(
4066
4066
  t.map(
4067
- ([r, n]) => _o(r, n)
4067
+ ([r, n]) => wo(r, n)
4068
4068
  )
4069
4069
  ).then(() => {
4070
- if (Vt(e))
4071
- return un(e);
4072
- delete je[e];
4073
- }), je[e];
4070
+ if (zt(e))
4071
+ return cn(e);
4072
+ delete ze[e];
4073
+ }), ze[e];
4074
4074
  }
4075
- const Eo = {
4075
+ const xo = {
4076
4076
  number: {
4077
4077
  scientific: { notation: "scientific" },
4078
4078
  engineering: { notation: "engineering" },
@@ -4101,148 +4101,148 @@ const Eo = {
4101
4101
  timeZoneName: "short"
4102
4102
  }
4103
4103
  }
4104
- }, wo = {
4104
+ }, So = {
4105
4105
  fallbackLocale: null,
4106
4106
  loadingDelay: 200,
4107
- formats: Eo,
4107
+ formats: xo,
4108
4108
  warnOnMissingMessages: !0,
4109
4109
  handleMissingMessage: void 0,
4110
4110
  ignoreTag: !0
4111
- }, xo = wo;
4111
+ }, Po = So;
4112
4112
  function Le() {
4113
- return xo;
4113
+ return Po;
4114
4114
  }
4115
- const Ht = pt(!1);
4116
- var So = Object.defineProperty, Po = Object.defineProperties, To = Object.getOwnPropertyDescriptors, _r = Object.getOwnPropertySymbols, Bo = Object.prototype.hasOwnProperty, Ho = Object.prototype.propertyIsEnumerable, Er = (e, t, r) => t in e ? So(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ao = (e, t) => {
4115
+ const At = mt(!1);
4116
+ var To = Object.defineProperty, Bo = Object.defineProperties, Ho = Object.getOwnPropertyDescriptors, Er = Object.getOwnPropertySymbols, Ao = Object.prototype.hasOwnProperty, Io = Object.prototype.propertyIsEnumerable, wr = (e, t, r) => t in e ? To(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Oo = (e, t) => {
4117
4117
  for (var r in t || (t = {}))
4118
- Bo.call(t, r) && Er(e, r, t[r]);
4119
- if (_r)
4120
- for (var r of _r(t))
4121
- Ho.call(t, r) && Er(e, r, t[r]);
4118
+ Ao.call(t, r) && wr(e, r, t[r]);
4119
+ if (Er)
4120
+ for (var r of Er(t))
4121
+ Io.call(t, r) && wr(e, r, t[r]);
4122
4122
  return e;
4123
- }, Io = (e, t) => Po(e, To(t));
4124
- let zt;
4125
- const ht = pt(null);
4126
- function wr(e) {
4123
+ }, Co = (e, t) => Bo(e, Ho(t));
4124
+ let Xt;
4125
+ const ft = mt(null);
4126
+ function xr(e) {
4127
4127
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4128
4128
  }
4129
- function bt(e, t = Le().fallbackLocale) {
4130
- const r = wr(e);
4131
- return t ? [.../* @__PURE__ */ new Set([...r, ...wr(t)])] : r;
4129
+ function vt(e, t = Le().fallbackLocale) {
4130
+ const r = xr(e);
4131
+ return t ? [.../* @__PURE__ */ new Set([...r, ...xr(t)])] : r;
4132
4132
  }
4133
- function ye() {
4134
- return zt != null ? zt : void 0;
4133
+ function ge() {
4134
+ return Xt != null ? Xt : void 0;
4135
4135
  }
4136
- ht.subscribe((e) => {
4137
- zt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4136
+ ft.subscribe((e) => {
4137
+ Xt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4138
4138
  });
4139
- const Oo = (e) => {
4140
- if (e && bo(e) && Vt(e)) {
4139
+ const Lo = (e) => {
4140
+ if (e && yo(e) && zt(e)) {
4141
4141
  const { loadingDelay: t } = Le();
4142
4142
  let r;
4143
- return typeof window != "undefined" && ye() != null && t ? r = window.setTimeout(
4144
- () => Ht.set(!0),
4143
+ return typeof window != "undefined" && ge() != null && t ? r = window.setTimeout(
4144
+ () => At.set(!0),
4145
4145
  t
4146
- ) : Ht.set(!0), un(e).then(() => {
4147
- ht.set(e);
4146
+ ) : At.set(!0), cn(e).then(() => {
4147
+ ft.set(e);
4148
4148
  }).finally(() => {
4149
- clearTimeout(r), Ht.set(!1);
4149
+ clearTimeout(r), At.set(!1);
4150
4150
  });
4151
4151
  }
4152
- return ht.set(e);
4153
- }, he = Io(Ao({}, ht), {
4154
- set: Oo
4155
- }), vt = (e) => {
4152
+ return ft.set(e);
4153
+ }, fe = Co(Oo({}, ft), {
4154
+ set: Lo
4155
+ }), yt = (e) => {
4156
4156
  const t = /* @__PURE__ */ Object.create(null);
4157
4157
  return (n) => {
4158
4158
  const i = JSON.stringify(n);
4159
4159
  return i in t ? t[i] : t[i] = e(n);
4160
4160
  };
4161
4161
  };
4162
- var Co = Object.defineProperty, ft = Object.getOwnPropertySymbols, cn = Object.prototype.hasOwnProperty, hn = Object.prototype.propertyIsEnumerable, xr = (e, t, r) => t in e ? Co(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Zt = (e, t) => {
4162
+ var Mo = Object.defineProperty, dt = Object.getOwnPropertySymbols, hn = Object.prototype.hasOwnProperty, fn = Object.prototype.propertyIsEnumerable, Sr = (e, t, r) => t in e ? Mo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, qt = (e, t) => {
4163
4163
  for (var r in t || (t = {}))
4164
- cn.call(t, r) && xr(e, r, t[r]);
4165
- if (ft)
4166
- for (var r of ft(t))
4167
- hn.call(t, r) && xr(e, r, t[r]);
4164
+ hn.call(t, r) && Sr(e, r, t[r]);
4165
+ if (dt)
4166
+ for (var r of dt(t))
4167
+ fn.call(t, r) && Sr(e, r, t[r]);
4168
4168
  return e;
4169
4169
  }, Ue = (e, t) => {
4170
4170
  var r = {};
4171
4171
  for (var n in e)
4172
- cn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4173
- if (e != null && ft)
4174
- for (var n of ft(e))
4175
- t.indexOf(n) < 0 && hn.call(e, n) && (r[n] = e[n]);
4172
+ hn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4173
+ if (e != null && dt)
4174
+ for (var n of dt(e))
4175
+ t.indexOf(n) < 0 && fn.call(e, n) && (r[n] = e[n]);
4176
4176
  return r;
4177
4177
  };
4178
- const We = (e, t) => {
4178
+ const qe = (e, t) => {
4179
4179
  const { formats: r } = Le();
4180
4180
  if (e in r && t in r[e])
4181
4181
  return r[e][t];
4182
4182
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4183
- }, Lo = vt(
4183
+ }, No = yt(
4184
4184
  (e) => {
4185
4185
  var t = e, { locale: r, format: n } = t, i = Ue(t, ["locale", "format"]);
4186
4186
  if (r == null)
4187
4187
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4188
- return n && (i = We("number", n)), new Intl.NumberFormat(r, i);
4188
+ return n && (i = qe("number", n)), new Intl.NumberFormat(r, i);
4189
4189
  }
4190
- ), Mo = vt(
4190
+ ), Ro = yt(
4191
4191
  (e) => {
4192
4192
  var t = e, { locale: r, format: n } = t, i = Ue(t, ["locale", "format"]);
4193
4193
  if (r == null)
4194
4194
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4195
- return n ? i = We("date", n) : Object.keys(i).length === 0 && (i = We("date", "short")), new Intl.DateTimeFormat(r, i);
4195
+ return n ? i = qe("date", n) : Object.keys(i).length === 0 && (i = qe("date", "short")), new Intl.DateTimeFormat(r, i);
4196
4196
  }
4197
- ), No = vt(
4197
+ ), Uo = yt(
4198
4198
  (e) => {
4199
4199
  var t = e, { locale: r, format: n } = t, i = Ue(t, ["locale", "format"]);
4200
4200
  if (r == null)
4201
4201
  throw new Error(
4202
4202
  '[svelte-i18n] A "locale" must be set to format time values'
4203
4203
  );
4204
- return n ? i = We("time", n) : Object.keys(i).length === 0 && (i = We("time", "short")), new Intl.DateTimeFormat(r, i);
4204
+ return n ? i = qe("time", n) : Object.keys(i).length === 0 && (i = qe("time", "short")), new Intl.DateTimeFormat(r, i);
4205
4205
  }
4206
- ), Ro = (e = {}) => {
4206
+ ), Fo = (e = {}) => {
4207
4207
  var t = e, {
4208
- locale: r = ye()
4208
+ locale: r = ge()
4209
4209
  } = t, n = Ue(t, [
4210
4210
  "locale"
4211
4211
  ]);
4212
- return Lo(Zt({ locale: r }, n));
4213
- }, Uo = (e = {}) => {
4212
+ return No(qt({ locale: r }, n));
4213
+ }, Do = (e = {}) => {
4214
4214
  var t = e, {
4215
- locale: r = ye()
4215
+ locale: r = ge()
4216
4216
  } = t, n = Ue(t, [
4217
4217
  "locale"
4218
4218
  ]);
4219
- return Mo(Zt({ locale: r }, n));
4220
- }, Fo = (e = {}) => {
4219
+ return Ro(qt({ locale: r }, n));
4220
+ }, ko = (e = {}) => {
4221
4221
  var t = e, {
4222
- locale: r = ye()
4222
+ locale: r = ge()
4223
4223
  } = t, n = Ue(t, [
4224
4224
  "locale"
4225
4225
  ]);
4226
- return No(Zt({ locale: r }, n));
4227
- }, Do = vt(
4226
+ return Uo(qt({ locale: r }, n));
4227
+ }, $o = yt(
4228
4228
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4229
- (e, t = ye()) => new ho(e, t, Le().formats, {
4229
+ (e, t = ge()) => new po(e, t, Le().formats, {
4230
4230
  ignoreTag: Le().ignoreTag
4231
4231
  })
4232
- ), ko = (e, t = {}) => {
4232
+ ), Go = (e, t = {}) => {
4233
4233
  var r, n, i, o;
4234
4234
  let s = t;
4235
4235
  typeof e == "object" && (s = e, e = s.id);
4236
4236
  const {
4237
4237
  values: a,
4238
- locale: u = ye(),
4238
+ locale: u = ge(),
4239
4239
  default: l
4240
4240
  } = s;
4241
4241
  if (u == null)
4242
4242
  throw new Error(
4243
4243
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4244
4244
  );
4245
- let c = on(e, u);
4245
+ let c = sn(e, u);
4246
4246
  if (!c)
4247
4247
  c = (o = (i = (n = (r = Le()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
4248
4248
  else if (typeof c != "string")
@@ -4253,7 +4253,7 @@ const We = (e, t) => {
4253
4253
  return c;
4254
4254
  let f = c;
4255
4255
  try {
4256
- f = Do(c, u).format(a);
4256
+ f = $o(c, u).format(a);
4257
4257
  } catch (d) {
4258
4258
  d instanceof Error && console.warn(
4259
4259
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4261,21 +4261,22 @@ const We = (e, t) => {
4261
4261
  );
4262
4262
  }
4263
4263
  return f;
4264
- }, $o = (e, t) => Fo(t).format(e), Go = (e, t) => Uo(t).format(e), jo = (e, t) => Ro(t).format(e), Vo = (e, t = ye()) => on(e, t), zo = Ne([he, Re], () => ko);
4265
- Ne([he], () => $o);
4266
- Ne([he], () => Go);
4267
- Ne([he], () => jo);
4268
- Ne([he, Re], () => Vo);
4269
- window.emWidgets = { topic: ri };
4270
- const Xo = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
4264
+ }, jo = (e, t) => ko(t).format(e), Vo = (e, t) => Do(t).format(e), zo = (e, t) => Fo(t).format(e), Xo = (e, t = ge()) => sn(e, t), Wo = Ne([fe, Re], () => Go);
4265
+ Ne([fe], () => jo);
4266
+ Ne([fe], () => Vo);
4267
+ Ne([fe], () => zo);
4268
+ Ne([fe, Re], () => Xo);
4269
+ window.emWidgets = { topic: ii };
4270
+ const Zo = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
4271
4271
  String(Number.MAX_SAFE_INTEGER).length;
4272
- function Wo(e, t) {
4272
+ const He = "__WIDGET_GLOBAL_STYLE_CACHE__";
4273
+ function qo(e, t) {
4273
4274
  if (e) {
4274
4275
  const r = document.createElement("style");
4275
4276
  r.innerHTML = t, e.appendChild(r);
4276
4277
  }
4277
4278
  }
4278
- function Zo(e, t) {
4279
+ function Jo(e, t) {
4279
4280
  if (!e || !t)
4280
4281
  return;
4281
4282
  const r = new URL(t);
@@ -4286,13 +4287,41 @@ function Zo(e, t) {
4286
4287
  console.error("There was an error while trying to load client styling from URL", n);
4287
4288
  });
4288
4289
  }
4289
- function qo(e, t, r) {
4290
- if (window.emMessageBus) {
4291
- const n = document.createElement("style");
4292
- window.emMessageBus.subscribe(t, (i) => {
4293
- n.innerHTML = i, e && e.appendChild(n);
4290
+ function Qo(e, t, r, n = !1) {
4291
+ if (!window.emMessageBus)
4292
+ return;
4293
+ if (!("adoptedStyleSheets" in Document.prototype) || !n)
4294
+ return r = Yo(e, t), r;
4295
+ window[He] || (window[He] = {}), r = Ko(e, t);
4296
+ const o = r.unsubscribe.bind(r), s = () => {
4297
+ if (window[He][t]) {
4298
+ const a = window[He][t];
4299
+ a.refCount > 1 ? a.refCount = a.refCount - 1 : delete window[He][t];
4300
+ }
4301
+ o();
4302
+ };
4303
+ return r.unsubscribe = s, r;
4304
+ }
4305
+ function Yo(e, t) {
4306
+ const r = document.createElement("style");
4307
+ return window.emMessageBus.subscribe(t, (n) => {
4308
+ e && (r.innerHTML = n, e.appendChild(r));
4309
+ });
4310
+ }
4311
+ function Ko(e, t) {
4312
+ return window.emMessageBus.subscribe(t, (r) => {
4313
+ var a;
4314
+ if (!e)
4315
+ return;
4316
+ const n = e.getRootNode(), i = window[He];
4317
+ let o = (a = i[t]) == null ? void 0 : a.sheet;
4318
+ o ? i[t].refCount = i[t].refCount + 1 : (o = new CSSStyleSheet(), o.replaceSync(r), i[t] = {
4319
+ sheet: o,
4320
+ refCount: 1
4294
4321
  });
4295
- }
4322
+ const s = n.adoptedStyleSheets || [];
4323
+ s.includes(o) || (n.adoptedStyleSheets = [...s, o]);
4324
+ });
4296
4325
  }
4297
4326
  if (typeof window != "undefined") {
4298
4327
  let e = function(t) {
@@ -4306,22 +4335,22 @@ if (typeof window != "undefined") {
4306
4335
  }
4307
4336
  };
4308
4337
  };
4309
- customElements.define = e(customElements.define), import("./GeneralPlayerSmsVerificationForm-RyF4EBVf.js").then(({ default: t }) => {
4338
+ customElements.define = e(customElements.define), import("./GeneralPlayerSmsVerificationForm-CjFLZwH3.js").then(({ default: t }) => {
4310
4339
  !customElements.get("general-player-sms-verification-form") && customElements.define("general-player-sms-verification-form", t.element);
4311
4340
  });
4312
4341
  }
4313
- function Jo({ withLocale: e, translations: t }) {
4314
- he.subscribe((r) => {
4315
- r == null && (Re.set(t), he.set(e));
4342
+ function es({ withLocale: e, translations: t }) {
4343
+ fe.subscribe((r) => {
4344
+ r == null && (Re.set(t), fe.set(e));
4316
4345
  });
4317
4346
  }
4318
- function Sr(e, t) {
4319
- an(e, t);
4347
+ function Pr(e, t) {
4348
+ ln(e, t);
4320
4349
  }
4321
- function Qo(e) {
4322
- he.set(e);
4350
+ function ts(e) {
4351
+ fe.set(e);
4323
4352
  }
4324
- const Pr = {
4353
+ const Tr = {
4325
4354
  en: {
4326
4355
  loginTitle: "Welcome",
4327
4356
  loginSubtitle: "Don't have an account yet?",
@@ -4466,14 +4495,14 @@ const Pr = {
4466
4495
  successMessage: "Login successful"
4467
4496
  }
4468
4497
  };
4469
- function Yo(e) {
4470
- wn(e, "svelte-1l95g5", '.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, #22B04E));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, #22B04E));background:var(--emw--color-pale, #FBECF4);color:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E))}.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, #22B04E))}.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, #22B04E));border:1px solid var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));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, #22B04E));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, #22B04E));border-color:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E)) transparent var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E)) 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)}}');
4498
+ function rs(e) {
4499
+ Sn(e, "svelte-1l95g5", '.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, #22B04E));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, #22B04E));background:var(--emw--color-pale, #FBECF4);color:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E))}.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, #22B04E))}.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, #22B04E));border:1px solid var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));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, #22B04E));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, #22B04E));border-color:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E)) transparent var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E)) 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)}}');
4471
4500
  }
4472
- function Tr(e) {
4501
+ function Br(e) {
4473
4502
  let t, r;
4474
4503
  return {
4475
4504
  c() {
4476
- t = w("script"), rr(t.src, r = "//www.google.com/recaptcha/api.js?render=" + /*captchakey*/
4505
+ t = w("script"), nr(t.src, r = "//www.google.com/recaptcha/api.js?render=" + /*captchakey*/
4477
4506
  e[1]) || h(t, "src", r), t.async = !0, t.defer = !0;
4478
4507
  },
4479
4508
  m(n, i) {
@@ -4481,20 +4510,20 @@ function Tr(e) {
4481
4510
  },
4482
4511
  p(n, i) {
4483
4512
  i[0] & /*captchakey*/
4484
- 2 && !rr(t.src, r = "//www.google.com/recaptcha/api.js?render=" + /*captchakey*/
4513
+ 2 && !nr(t.src, r = "//www.google.com/recaptcha/api.js?render=" + /*captchakey*/
4485
4514
  n[1]) && h(t, "src", r);
4486
4515
  },
4487
4516
  d(n) {
4488
- n && I(t);
4517
+ n && O(t);
4489
4518
  }
4490
4519
  };
4491
4520
  }
4492
- function Ko(e) {
4521
+ function ns(e) {
4493
4522
  let t, r, n;
4494
4523
  function i(a, u) {
4495
4524
  return (
4496
4525
  /*startSmsValidation*/
4497
- a[21] ? rs : ts
4526
+ a[21] ? ss : os
4498
4527
  );
4499
4528
  }
4500
4529
  let o = i(e), s = o(e);
@@ -4512,11 +4541,11 @@ function Ko(e) {
4512
4541
  (a[11] ? "FormMobileContainer" : "")) && h(t, "class", n);
4513
4542
  },
4514
4543
  d(a) {
4515
- a && I(t), s.d();
4544
+ a && O(t), s.d();
4516
4545
  }
4517
4546
  };
4518
4547
  }
4519
- function es(e) {
4548
+ function is(e) {
4520
4549
  let t;
4521
4550
  return {
4522
4551
  c() {
@@ -4527,11 +4556,11 @@ function es(e) {
4527
4556
  },
4528
4557
  p: Z,
4529
4558
  d(r) {
4530
- r && I(t);
4559
+ r && O(t);
4531
4560
  }
4532
4561
  };
4533
4562
  }
4534
- function ts(e) {
4563
+ function os(e) {
4535
4564
  let t, r, n = (
4536
4565
  /*$_*/
4537
4566
  e[22]("loginTitle") + ""
@@ -4541,59 +4570,59 @@ function ts(e) {
4541
4570
  ), u, l, c, f = (
4542
4571
  /*$_*/
4543
4572
  e[22]("loginSubtitleRegister") + ""
4544
- ), d, b, y, g, x, O, z = (
4573
+ ), d, b, y, g, x, C, z = (
4545
4574
  /*$_*/
4546
4575
  e[22]("loginUsername") + ""
4547
- ), R, U, A, ne, T, se, fe, J, ue, H, ie, X = (
4576
+ ), R, U, I, ne, T, se, de, J, ue, H, ie, X = (
4548
4577
  /*$_*/
4549
4578
  e[22]("loginPassword") + ""
4550
- ), Fe, qe, de, pe, C, _e, Je, Ee, we, me, De, xe, Q, ge = (
4579
+ ), Fe, Qe, be, De, A, ve, Ye, ke, ye, pe, $e, _e, ee, ce = (
4551
4580
  /*$_*/
4552
4581
  e[22]("loginButton") + ""
4553
- ), Se, Qe, be, ve = (
4582
+ ), Ee, Ge, me, we = (
4554
4583
  /*$_*/
4555
4584
  e[22]("loginForgotPassword") + ""
4556
- ), ke, $e, Ye, F = (
4585
+ ), xe, je, Ke, F = (
4557
4586
  /*invalidName*/
4558
- e[14] && Br(e)
4587
+ e[14] && Hr(e)
4559
4588
  );
4560
- function Ke(v, S) {
4589
+ function et(v, S) {
4561
4590
  return (
4562
4591
  /*isPasswordVisible*/
4563
- v[19] ? is : ns
4592
+ v[19] ? ls : as
4564
4593
  );
4565
4594
  }
4566
- let Pe = Ke(e), Y = Pe(e), D = (
4595
+ let Se = et(e), Q = Se(e), D = (
4567
4596
  /*invalidPassword*/
4568
4597
  e[15] && /*simplepasswordvalidation*/
4569
- e[2] !== "true" && Hr(e)
4598
+ e[2] !== "true" && Ar(e)
4570
4599
  ), k = (
4571
4600
  /*invalidPassword*/
4572
4601
  e[15] && /*simplepasswordvalidation*/
4573
- e[2] === "true" && Ar(e)
4602
+ e[2] === "true" && Ir(e)
4574
4603
  ), $ = (
4575
4604
  /*errorMessage*/
4576
- e[16] && Ir(e)
4605
+ e[16] && Or(e)
4577
4606
  );
4578
4607
  return {
4579
4608
  c() {
4580
- t = w("div"), r = w("h4"), i = N(n), o = j(), s = w("p"), u = N(a), l = j(), c = w("span"), d = N(f), b = j(), y = w("div"), g = w("form"), x = w("div"), O = w("label"), R = N(z), U = N(":"), A = w("span"), A.textContent = "*", ne = j(), T = w("input"), fe = j(), F && F.c(), ue = j(), H = w("div"), ie = w("label"), Fe = N(X), qe = N(":"), de = w("span"), de.textContent = "*", pe = j(), C = w("input"), Je = j(), Y.c(), Ee = j(), D && D.c(), we = j(), k && k.c(), De = j(), $ && $.c(), xe = j(), Q = w("button"), Se = N(ge), Qe = j(), be = w("button"), ke = N(ve), h(r, "class", "FormHeaderTitle"), h(c, "class", "FormRegisterCallToAction"), h(s, "class", "FormHeaderSubtitle"), h(t, "class", "FormHeader"), h(A, "class", "FormRequired"), h(O, "for", "username"), h(T, "type", "text"), h(T, "id", "email"), h(T, "name", "email"), h(T, "autocapitalize", "none"), h(T, "autocomplete", se = /*savecredentials*/
4609
+ t = w("div"), r = w("h4"), i = N(n), o = j(), s = w("p"), u = N(a), l = j(), c = w("span"), d = N(f), b = j(), y = w("div"), g = w("form"), x = w("div"), C = w("label"), R = N(z), U = N(":"), I = w("span"), I.textContent = "*", ne = j(), T = w("input"), de = j(), F && F.c(), ue = j(), H = w("div"), ie = w("label"), Fe = N(X), Qe = N(":"), be = w("span"), be.textContent = "*", De = j(), A = w("input"), Ye = j(), Q.c(), ke = j(), D && D.c(), ye = j(), k && k.c(), $e = j(), $ && $.c(), _e = j(), ee = w("button"), Ee = N(ce), Ge = j(), me = w("button"), xe = N(we), h(r, "class", "FormHeaderTitle"), h(c, "class", "FormRegisterCallToAction"), h(s, "class", "FormHeaderSubtitle"), h(t, "class", "FormHeader"), h(I, "class", "FormRequired"), h(C, "for", "username"), h(T, "type", "text"), h(T, "id", "email"), h(T, "name", "email"), h(T, "autocapitalize", "none"), h(T, "autocomplete", se = /*savecredentials*/
4581
4610
  e[6] ? "username email" : "off"), T.required = !0, h(x, "class", J = "UserContainer " + /*invalidName*/
4582
- (e[14] ? "InvalidField" : "")), h(de, "class", "FormRequired"), h(ie, "for", "current-password"), h(C, "type", "password"), h(C, "name", "current-password"), h(C, "id", "current-password"), h(C, "autocapitalize", "none"), h(C, "autocomplete", _e = /*savecredentials*/
4583
- e[6] ? "current-password" : "off"), h(C, "aria-describedby", "password-constraints"), C.required = !0, h(H, "class", me = "PasswordContainer " + /*invalidPassword*/
4584
- (e[15] ? "InvalidField" : "")), h(Q, "class", "SignInButton"), Q.disabled = /*isFormDataInvalid*/
4585
- e[20], h(Q, "id", "signin-button"), h(be, "class", "ForgotPasswordButton"), h(g, "id", "signin"), h(y, "class", "FormContent");
4611
+ (e[14] ? "InvalidField" : "")), h(be, "class", "FormRequired"), h(ie, "for", "current-password"), h(A, "type", "password"), h(A, "name", "current-password"), h(A, "id", "current-password"), h(A, "autocapitalize", "none"), h(A, "autocomplete", ve = /*savecredentials*/
4612
+ e[6] ? "current-password" : "off"), h(A, "aria-describedby", "password-constraints"), A.required = !0, h(H, "class", pe = "PasswordContainer " + /*invalidPassword*/
4613
+ (e[15] ? "InvalidField" : "")), h(ee, "class", "SignInButton"), ee.disabled = /*isFormDataInvalid*/
4614
+ e[20], h(ee, "id", "signin-button"), h(me, "class", "ForgotPasswordButton"), h(g, "id", "signin"), h(y, "class", "FormContent");
4586
4615
  },
4587
4616
  m(v, S) {
4588
- M(v, t, S), p(t, r), p(r, i), p(t, o), p(t, s), p(s, u), p(s, l), p(s, c), p(c, d), M(v, b, S), M(v, y, S), p(y, g), p(g, x), p(x, O), p(O, R), p(O, U), p(O, A), p(x, ne), p(x, T), rt(
4617
+ M(v, t, S), p(t, r), p(r, i), p(t, o), p(t, s), p(s, u), p(s, l), p(s, c), p(c, d), M(v, b, S), M(v, y, S), p(y, g), p(g, x), p(x, C), p(C, R), p(C, U), p(C, I), p(x, ne), p(x, T), nt(
4589
4618
  T,
4590
4619
  /*userValue*/
4591
4620
  e[12]
4592
- ), p(x, fe), F && F.m(x, null), p(g, ue), p(g, H), p(H, ie), p(ie, Fe), p(ie, qe), p(ie, de), p(H, pe), p(H, C), rt(
4593
- C,
4621
+ ), p(x, de), F && F.m(x, null), p(g, ue), p(g, H), p(H, ie), p(ie, Fe), p(ie, Qe), p(ie, be), p(H, De), p(H, A), nt(
4622
+ A,
4594
4623
  /*userPassword*/
4595
4624
  e[13]
4596
- ), e[36](C), p(H, Je), Y.m(H, null), p(H, Ee), D && D.m(H, null), p(H, we), k && k.m(H, null), p(g, De), $ && $.m(g, null), p(g, xe), p(g, Q), p(Q, Se), p(g, Qe), p(g, be), p(be, ke), $e || (Ye = [
4625
+ ), e[36](A), p(H, Ye), Q.m(H, null), p(H, ke), D && D.m(H, null), p(H, ye), k && k.m(H, null), p(g, $e), $ && $.m(g, null), p(g, _e), p(g, ee), p(ee, Ee), p(g, Ge), p(g, me), p(me, xe), je || (Ke = [
4597
4626
  ae(
4598
4627
  c,
4599
4628
  "click",
@@ -4613,30 +4642,30 @@ function ts(e) {
4613
4642
  e[28]
4614
4643
  ),
4615
4644
  ae(
4616
- C,
4645
+ A,
4617
4646
  "input",
4618
4647
  /*input1_input_handler*/
4619
4648
  e[35]
4620
4649
  ),
4621
4650
  ae(
4622
- C,
4651
+ A,
4623
4652
  "input",
4624
4653
  /*validatePassword*/
4625
4654
  e[29]
4626
4655
  ),
4627
4656
  ae(
4628
- Q,
4657
+ ee,
4629
4658
  "click",
4630
4659
  /*click_handler_3*/
4631
4660
  e[39]
4632
4661
  ),
4633
4662
  ae(
4634
- be,
4663
+ me,
4635
4664
  "click",
4636
4665
  /*click_handler_4*/
4637
4666
  e[40]
4638
4667
  )
4639
- ], $e = !0);
4668
+ ], je = !0);
4640
4669
  },
4641
4670
  p(v, S) {
4642
4671
  S[0] & /*$_*/
@@ -4651,44 +4680,44 @@ function ts(e) {
4651
4680
  64 && se !== (se = /*savecredentials*/
4652
4681
  v[6] ? "username email" : "off") && h(T, "autocomplete", se), S[0] & /*userValue*/
4653
4682
  4096 && T.value !== /*userValue*/
4654
- v[12] && rt(
4683
+ v[12] && nt(
4655
4684
  T,
4656
4685
  /*userValue*/
4657
4686
  v[12]
4658
4687
  ), /*invalidName*/
4659
- v[14] ? F ? F.p(v, S) : (F = Br(v), F.c(), F.m(x, null)) : F && (F.d(1), F = null), S[0] & /*invalidName*/
4688
+ v[14] ? F ? F.p(v, S) : (F = Hr(v), F.c(), F.m(x, null)) : F && (F.d(1), F = null), S[0] & /*invalidName*/
4660
4689
  16384 && J !== (J = "UserContainer " + /*invalidName*/
4661
4690
  (v[14] ? "InvalidField" : "")) && h(x, "class", J), S[0] & /*$_*/
4662
4691
  4194304 && X !== (X = /*$_*/
4663
4692
  v[22]("loginPassword") + "") && re(Fe, X), S[0] & /*savecredentials*/
4664
- 64 && _e !== (_e = /*savecredentials*/
4665
- v[6] ? "current-password" : "off") && h(C, "autocomplete", _e), S[0] & /*userPassword*/
4666
- 8192 && C.value !== /*userPassword*/
4667
- v[13] && rt(
4668
- C,
4693
+ 64 && ve !== (ve = /*savecredentials*/
4694
+ v[6] ? "current-password" : "off") && h(A, "autocomplete", ve), S[0] & /*userPassword*/
4695
+ 8192 && A.value !== /*userPassword*/
4696
+ v[13] && nt(
4697
+ A,
4669
4698
  /*userPassword*/
4670
4699
  v[13]
4671
- ), Pe === (Pe = Ke(v)) && Y ? Y.p(v, S) : (Y.d(1), Y = Pe(v), Y && (Y.c(), Y.m(H, Ee))), /*invalidPassword*/
4700
+ ), Se === (Se = et(v)) && Q ? Q.p(v, S) : (Q.d(1), Q = Se(v), Q && (Q.c(), Q.m(H, ke))), /*invalidPassword*/
4672
4701
  v[15] && /*simplepasswordvalidation*/
4673
- v[2] !== "true" ? D ? D.p(v, S) : (D = Hr(v), D.c(), D.m(H, we)) : D && (D.d(1), D = null), /*invalidPassword*/
4702
+ v[2] !== "true" ? D ? D.p(v, S) : (D = Ar(v), D.c(), D.m(H, ye)) : D && (D.d(1), D = null), /*invalidPassword*/
4674
4703
  v[15] && /*simplepasswordvalidation*/
4675
- v[2] === "true" ? k ? k.p(v, S) : (k = Ar(v), k.c(), k.m(H, null)) : k && (k.d(1), k = null), S[0] & /*invalidPassword*/
4676
- 32768 && me !== (me = "PasswordContainer " + /*invalidPassword*/
4677
- (v[15] ? "InvalidField" : "")) && h(H, "class", me), /*errorMessage*/
4678
- v[16] ? $ ? $.p(v, S) : ($ = Ir(v), $.c(), $.m(g, xe)) : $ && ($.d(1), $ = null), S[0] & /*$_*/
4679
- 4194304 && ge !== (ge = /*$_*/
4680
- v[22]("loginButton") + "") && re(Se, ge), S[0] & /*isFormDataInvalid*/
4681
- 1048576 && (Q.disabled = /*isFormDataInvalid*/
4704
+ v[2] === "true" ? k ? k.p(v, S) : (k = Ir(v), k.c(), k.m(H, null)) : k && (k.d(1), k = null), S[0] & /*invalidPassword*/
4705
+ 32768 && pe !== (pe = "PasswordContainer " + /*invalidPassword*/
4706
+ (v[15] ? "InvalidField" : "")) && h(H, "class", pe), /*errorMessage*/
4707
+ v[16] ? $ ? $.p(v, S) : ($ = Or(v), $.c(), $.m(g, _e)) : $ && ($.d(1), $ = null), S[0] & /*$_*/
4708
+ 4194304 && ce !== (ce = /*$_*/
4709
+ v[22]("loginButton") + "") && re(Ee, ce), S[0] & /*isFormDataInvalid*/
4710
+ 1048576 && (ee.disabled = /*isFormDataInvalid*/
4682
4711
  v[20]), S[0] & /*$_*/
4683
- 4194304 && ve !== (ve = /*$_*/
4684
- v[22]("loginForgotPassword") + "") && re(ke, ve);
4712
+ 4194304 && we !== (we = /*$_*/
4713
+ v[22]("loginForgotPassword") + "") && re(xe, we);
4685
4714
  },
4686
4715
  d(v) {
4687
- v && (I(t), I(b), I(y)), F && F.d(), e[36](null), Y.d(), D && D.d(), k && k.d(), $ && $.d(), $e = !1, Me(Ye);
4716
+ v && (O(t), O(b), O(y)), F && F.d(), e[36](null), Q.d(), D && D.d(), k && k.d(), $ && $.d(), je = !1, Me(Ke);
4688
4717
  }
4689
4718
  };
4690
4719
  }
4691
- function rs(e) {
4720
+ function ss(e) {
4692
4721
  let t;
4693
4722
  return {
4694
4723
  c() {
@@ -4778,11 +4807,11 @@ function rs(e) {
4778
4807
  );
4779
4808
  },
4780
4809
  d(r) {
4781
- r && I(t);
4810
+ r && O(t);
4782
4811
  }
4783
4812
  };
4784
4813
  }
4785
- function Br(e) {
4814
+ function Hr(e) {
4786
4815
  let t, r = (
4787
4816
  /*$_*/
4788
4817
  e[22]("loginUsernameError") + ""
@@ -4800,11 +4829,11 @@ function Br(e) {
4800
4829
  i[22]("loginUsernameError") + "") && re(n, r);
4801
4830
  },
4802
4831
  d(i) {
4803
- i && I(t);
4832
+ i && O(t);
4804
4833
  }
4805
4834
  };
4806
4835
  }
4807
- function ns(e) {
4836
+ function as(e) {
4808
4837
  let t, r, n, i, o, s, a, u, l;
4809
4838
  return {
4810
4839
  c() {
@@ -4820,18 +4849,18 @@ function ns(e) {
4820
4849
  },
4821
4850
  p: Z,
4822
4851
  d(c) {
4823
- c && I(t), u = !1, l();
4852
+ c && O(t), u = !1, l();
4824
4853
  }
4825
4854
  };
4826
4855
  }
4827
- function is(e) {
4856
+ function ls(e) {
4828
4857
  let t, r, n, i, o, s, a, u, l, c, f, d, b, y, g;
4829
4858
  return {
4830
4859
  c() {
4831
4860
  t = L("svg"), r = L("defs"), n = L("style"), i = N(".a{fill:var(--emw--registration-typography, var(--emw--color-background, #07072A));}"), o = L("g"), s = L("circle"), a = L("g"), u = L("path"), l = L("path"), c = L("g"), f = L("path"), d = L("path"), b = L("rect"), h(s, "class", "a"), h(s, "cx", "0.05"), h(s, "cy", "0.05"), h(s, "r", "0.05"), h(s, "transform", "translate(121.017 31.148)"), h(u, "class", "a"), h(u, "d", "M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"), h(u, "transform", "translate(-142.164 -39.123)"), h(l, "class", "a"), h(l, "d", "M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"), h(l, "transform", "translate(-136.413 -42.068)"), h(a, "transform", "translate(117.499 27.37)"), h(f, "class", "a"), h(f, "d", "M122.538,42.061a7.043,7.043,0,0,1-2.325.53,10.373,10.373,0,0,1-4.393-1.482,36.509,36.509,0,0,1-3.873-2.391.13.13,0,0,1,0-.208,44.141,44.141,0,0,1,3.873-2.651c.394-.233.768-.437,1.13-.622l-.686-.838c-.322.167-.651.347-.99.55a37.989,37.989,0,0,0-3.977,2.729,1.21,1.21,0,0,0-.442.962,1.1,1.1,0,0,0,.494.936,34.416,34.416,0,0,0,3.977,2.469,11.468,11.468,0,0,0,4.886,1.611,8.427,8.427,0,0,0,3.039-.725Z"), h(f, "transform", "translate(-110.856 -33.157)"), h(d, "class", "a"), h(d, "d", "M149.119,34.14a45.875,45.875,0,0,0-4.055-2.729,20.541,20.541,0,0,0-2.547-1.248,5.6,5.6,0,0,0-4.79-.017l.7.856a5.254,5.254,0,0,1,1.672-.346,10.072,10.072,0,0,1,4.445,1.663,34.132,34.132,0,0,1,3.925,2.651.13.13,0,0,1,0,.208,40.2,40.2,0,0,1-3.925,2.391c-.179.092-.352.176-.525.26l.684.835c.1-.054.2-.1.309-.159a36.356,36.356,0,0,0,4.055-2.469,1.067,1.067,0,0,0,.52-.936A1.159,1.159,0,0,0,149.119,34.14Z"), h(d, "transform", "translate(-130.743 -29.617)"), h(c, "transform", "translate(110.856 24.899)"), h(b, "class", "a"), h(b, "width", "0.972"), h(b, "height", "15.861"), h(b, "rx", "0.486"), h(b, "transform", "translate(114.827 23.858) rotate(-39.315)"), h(o, "transform", "translate(-110.856 -23.242)"), h(t, "class", "TogglePasswordVisibility"), h(t, "xmlns", "http://www.w3.org/2000/svg"), h(t, "width", "18.844"), h(t, "height", "12.887"), h(t, "viewBox", "0 0 18.844 12.887");
4832
4861
  },
4833
- m(x, O) {
4834
- M(x, t, O), p(t, r), p(r, n), p(n, i), p(t, o), p(o, s), p(o, a), p(a, u), p(a, l), p(o, c), p(c, f), p(c, d), p(o, b), y || (g = ae(
4862
+ m(x, C) {
4863
+ M(x, t, C), p(t, r), p(r, n), p(n, i), p(t, o), p(o, s), p(o, a), p(a, u), p(a, l), p(o, c), p(c, f), p(c, d), p(o, b), y || (g = ae(
4835
4864
  t,
4836
4865
  "click",
4837
4866
  /*click_handler_1*/
@@ -4840,11 +4869,11 @@ function is(e) {
4840
4869
  },
4841
4870
  p: Z,
4842
4871
  d(x) {
4843
- x && I(t), y = !1, g();
4872
+ x && O(t), y = !1, g();
4844
4873
  }
4845
4874
  };
4846
4875
  }
4847
- function Hr(e) {
4876
+ function Ar(e) {
4848
4877
  let t, r = (
4849
4878
  /*$_*/
4850
4879
  e[22]("loginPasswordError") + ""
@@ -4862,11 +4891,11 @@ function Hr(e) {
4862
4891
  i[22]("loginPasswordError") + "") && re(n, r);
4863
4892
  },
4864
4893
  d(i) {
4865
- i && I(t);
4894
+ i && O(t);
4866
4895
  }
4867
4896
  };
4868
4897
  }
4869
- function Ar(e) {
4898
+ function Ir(e) {
4870
4899
  let t, r = (
4871
4900
  /*$_*/
4872
4901
  e[22]("loginSimplePasswordError") + ""
@@ -4884,11 +4913,11 @@ function Ar(e) {
4884
4913
  i[22]("loginSimplePasswordError") + "") && re(n, r);
4885
4914
  },
4886
4915
  d(i) {
4887
- i && I(t);
4916
+ i && O(t);
4888
4917
  }
4889
4918
  };
4890
4919
  }
4891
- function Ir(e) {
4920
+ function Or(e) {
4892
4921
  let t, r;
4893
4922
  return {
4894
4923
  c() {
@@ -4909,25 +4938,25 @@ function Ir(e) {
4909
4938
  );
4910
4939
  },
4911
4940
  d(n) {
4912
- n && I(t);
4941
+ n && O(t);
4913
4942
  }
4914
4943
  };
4915
4944
  }
4916
- function os(e) {
4945
+ function us(e) {
4917
4946
  let t, r, n, i, o, s = (
4918
4947
  /*captchakey*/
4919
- e[1] && Tr(e)
4948
+ e[1] && Br(e)
4920
4949
  );
4921
4950
  function a(c, f) {
4922
4951
  return (
4923
4952
  /*isLoading*/
4924
- c[17] ? es : Ko
4953
+ c[17] ? is : ns
4925
4954
  );
4926
4955
  }
4927
4956
  let u = a(e), l = u(e);
4928
4957
  return {
4929
4958
  c() {
4930
- s && s.c(), t = Pn(), r = j(), n = w("div"), i = j(), o = w("div"), l.c(), h(n, "class", "g-recaptcha"), h(
4959
+ s && s.c(), t = Bn(), r = j(), n = w("div"), i = j(), o = w("div"), l.c(), h(n, "class", "g-recaptcha"), h(
4931
4960
  n,
4932
4961
  "data-sitekey",
4933
4962
  /*captchakey*/
@@ -4939,7 +4968,7 @@ function os(e) {
4939
4968
  },
4940
4969
  p(c, f) {
4941
4970
  /*captchakey*/
4942
- c[1] ? s ? s.p(c, f) : (s = Tr(c), s.c(), s.m(t.parentNode, t)) : s && (s.d(1), s = null), f[0] & /*captchakey*/
4971
+ c[1] ? s ? s.p(c, f) : (s = Br(c), s.c(), s.m(t.parentNode, t)) : s && (s.d(1), s = null), f[0] & /*captchakey*/
4943
4972
  2 && h(
4944
4973
  n,
4945
4974
  "data-sitekey",
@@ -4950,63 +4979,63 @@ function os(e) {
4950
4979
  i: Z,
4951
4980
  o: Z,
4952
4981
  d(c) {
4953
- c && (I(r), I(n), I(i), I(o)), s && s.d(c), I(t), l.d(), e[41](null);
4982
+ c && (O(r), O(n), O(i), O(o)), s && s.d(c), O(t), l.d(), e[41](null);
4954
4983
  }
4955
4984
  };
4956
4985
  }
4957
- let ss = "Please use this code {0} to activate your account";
4958
- function as(e, t, r) {
4986
+ let cs = "Please use this code {0} to activate your account";
4987
+ function hs(e, t, r) {
4959
4988
  let n;
4960
- En(e, zo, (m) => r(22, n = m));
4961
- let { endpoint: i = "" } = t, { captchakey: o = "" } = t, { lang: s = "en" } = t, { smsverification: a = "false" } = t, { simplepasswordvalidation: u = "false" } = t, { mbsource: l } = t, { clientstyling: c = "" } = t, { clientstylingurl: f = "" } = t, { translationurl: d = "" } = t, { savecredentials: b = "" } = t, y, g, x = !1, O, z = !1, R = window.navigator.userAgent, U = "", A = "", ne = { username: "", password: "" }, T = !1, se = !1, fe = "", J = !1, ue, H = !1, ie = !0, X, Fe = +localStorage.getItem("smsTimer") || 0, qe = Date.now() / 1e3 - Fe, de = localStorage.getItem("smsValidation") == "true" && qe < 60, pe = {
4989
+ xn(e, Wo, (m) => r(22, n = m));
4990
+ let { endpoint: i = "" } = t, { captchakey: o = "" } = t, { lang: s = "en" } = t, { smsverification: a = "false" } = t, { simplepasswordvalidation: u = "false" } = t, { mbsource: l } = t, { clientstyling: c = "" } = t, { clientstylingurl: f = "" } = t, { translationurl: d = "" } = t, { savecredentials: b = "" } = t, y, g, x = !1, C, z = !1, R = window.navigator.userAgent, U = "", I = "", ne = { username: "", password: "" }, T = !1, se = !1, de = "", J = !1, ue, H = !1, ie = !0, X, Fe, Qe = +localStorage.getItem("smsTimer") || 0, be = Date.now() / 1e3 - Qe, De = localStorage.getItem("smsValidation") == "true" && be < 60, A = {
4962
4991
  user: /^(?!(?:.*\d){9})(?=(?:.*[a-zA-Z]){4})^[a-zA-Z\d]*$/,
4963
4992
  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,
4964
4993
  password: /^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[^\w\s]).{8,20}$/
4965
4994
  };
4966
- Jo({ withLocale: "en", translations: {} });
4967
- const C = () => {
4995
+ es({ withLocale: "en", translations: {} });
4996
+ const ve = () => {
4968
4997
  fetch(d).then((q) => q.json()).then((q) => {
4969
4998
  Object.keys(q).forEach((te) => {
4970
- Sr(te, q[te]);
4999
+ Pr(te, q[te]);
4971
5000
  });
4972
5001
  }).catch((q) => {
4973
5002
  console.log(q);
4974
5003
  });
4975
5004
  };
4976
- Object.keys(Pr).forEach((m) => {
4977
- Sr(m, Pr[m]);
5005
+ Object.keys(Tr).forEach((m) => {
5006
+ Pr(m, Tr[m]);
4978
5007
  });
4979
- const _e = () => new Promise((m, q) => {
5008
+ const Ye = () => new Promise((m, q) => {
4980
5009
  grecaptcha.ready(() => {
4981
5010
  grecaptcha.execute(o, { action: "submit" }).then((te) => {
4982
5011
  m(te);
4983
5012
  });
4984
5013
  });
4985
- }), Je = () => {
4986
- u == "true" && (pe.password = /^(?!.* ).{8,20}$/);
4987
- }, Ee = () => {
4988
- r(19, H = !0), me();
4989
- }, we = () => {
4990
- r(19, H = !1), me();
4991
- }, me = () => {
5014
+ }), ke = () => {
5015
+ u == "true" && (A.password = /^(?!.* ).{8,20}$/);
5016
+ }, ye = () => {
5017
+ r(19, H = !0), $e();
5018
+ }, pe = () => {
5019
+ r(19, H = !1), $e();
5020
+ }, $e = () => {
4992
5021
  r(18, ue.type = H ? "text" : "password", ue);
4993
- }, De = () => {
5022
+ }, _e = () => {
4994
5023
  window.postMessage({ type: "ToRegister" }, window.location.href);
4995
- }, xe = (m) => {
5024
+ }, ee = (m) => {
4996
5025
  m.preventDefault(), window.postMessage({ type: "NavForgotPassword" }, window.location.href);
4997
- }, Q = (m) => {
4998
- m == null || m.preventDefault(), _e().then((q) => {
4999
- ge(U) && Se(A) && (ne = {
5026
+ }, ce = (m) => {
5027
+ m == null || m.preventDefault(), Ye().then((q) => {
5028
+ Ee(U) && Ge(I) && (ne = {
5000
5029
  username: U,
5001
- password: A,
5030
+ password: I,
5002
5031
  token: q
5003
- }, r(17, J = !0), $e(ne));
5032
+ }, r(17, J = !0), Ke(ne));
5004
5033
  });
5005
- }, ge = (m) => !!((pe.user.test(m) || pe.email.test(m)) && m.length <= 100), Se = (m) => !!pe.password.test(m), Qe = () => {
5006
- r(14, T = !ge(U)), r(20, ie = !(!T && !se && A));
5007
- }, be = () => {
5008
- r(15, se = !Se(A)), r(20, ie = !(!T && !se && U));
5009
- }, ve = (m) => {
5034
+ }, Ee = (m) => !!((A.user.test(m) || A.email.test(m)) && m.length <= 100), Ge = (m) => !!A.password.test(m), me = () => {
5035
+ r(14, T = !Ee(U)), r(20, ie = !(!T && !se && I));
5036
+ }, we = () => {
5037
+ r(15, se = !Ge(I)), r(20, ie = !(!T && !se && U));
5038
+ }, xe = (m) => {
5010
5039
  if (m.data)
5011
5040
  switch (m.data.type) {
5012
5041
  case "ModalLoader":
@@ -5016,23 +5045,23 @@ function as(e, t, r) {
5016
5045
  r(17, J = !1);
5017
5046
  break;
5018
5047
  case "SmsHasBeenValidated":
5019
- Q();
5048
+ ce();
5020
5049
  break;
5021
5050
  }
5022
- }, ke = (m) => {
5051
+ }, je = (m) => {
5023
5052
  typeof gtag == "function" && gtag("event", "Login", {
5024
5053
  context: "GeneralPlayerLoginRegisterPage"
5025
5054
  });
5026
- }, $e = (qt) => et(this, [qt], function* ({ username: m, password: q, token: te }) {
5027
- let Jt = {
5055
+ }, Ke = (Jt) => tt(this, [Jt], function* ({ username: m, password: q, token: te }) {
5056
+ let Qt = {
5028
5057
  "Content-Type": "application/json",
5029
5058
  "g-recaptcha-response": te
5030
- }, yt = { username: m, password: q }, pn = {
5059
+ }, _t = { username: m, password: q }, gn = {
5031
5060
  method: "POST",
5032
- headers: Jt,
5033
- body: JSON.stringify(yt)
5061
+ headers: Qt,
5062
+ body: JSON.stringify(_t)
5034
5063
  };
5035
- fetch(`${i}/v1/player/login/player`, pn).then((G) => (G.status >= 500 && (r(16, fe = "Server might not be responsing"), r(17, J = !1), window.postMessage(
5064
+ fetch(`${i}/v1/player/login/player`, gn).then((G) => (G.status >= 500 && (r(16, de = "Server might not be responsing"), r(17, J = !1), window.postMessage(
5036
5065
  {
5037
5066
  type: "WidgetNotification",
5038
5067
  data: {
@@ -5042,7 +5071,7 @@ function as(e, t, r) {
5042
5071
  },
5043
5072
  window.location.href
5044
5073
  )), G.json())).then((G) => {
5045
- if (G.actions !== void 0 && window.postMessage({ type: "PlayerActions" }, window.location.href), a === "true" && G.code === 4 && (r(8, y = G.detail.userId), r(10, O = G.detail.phonePrefix + G.detail.phone), r(21, de = !0), Ye(O, y), localStorage.setItem("smsValidation", "true"), localStorage.setItem("playerData", JSON.stringify({ playerid: y, number: O }))), G.sessionID) {
5074
+ if (G.actions !== void 0 && window.postMessage({ type: "PlayerActions" }, window.location.href), a === "true" && G.code === 4 && (r(8, y = G.detail.userId), r(10, C = G.detail.phonePrefix + G.detail.phone), r(21, De = !0), F(C, y), localStorage.setItem("smsValidation", "true"), localStorage.setItem("playerData", JSON.stringify({ playerid: y, number: C }))), G.sessionID) {
5046
5075
  if (window.postMessage(
5047
5076
  {
5048
5077
  type: "UserSessionID",
@@ -5060,35 +5089,35 @@ function as(e, t, r) {
5060
5089
  },
5061
5090
  window.location.href
5062
5091
  ), window.PasswordCredential && b == "true") {
5063
- const Ge = new PasswordCredential({
5064
- password: yt.password,
5065
- id: yt.username
5092
+ const Ve = new PasswordCredential({
5093
+ password: _t.password,
5094
+ id: _t.username
5066
5095
  });
5067
- navigator.credentials.store(Ge);
5096
+ navigator.credentials.store(Ve);
5068
5097
  }
5069
- ke();
5098
+ je();
5070
5099
  } else
5071
5100
  try {
5072
- let Ge = G.error;
5073
- r(16, fe = Ge), r(17, J = !1), window.postMessage(
5101
+ let Ve = G.error;
5102
+ r(16, de = Ve), r(17, J = !1), window.postMessage(
5074
5103
  {
5075
5104
  type: "WidgetNotification",
5076
- data: { type: "error", message: Ge }
5105
+ data: { type: "error", message: Ve }
5077
5106
  },
5078
5107
  window.location.href
5079
5108
  );
5080
- } catch (Ge) {
5081
- let Qt = G.error.substring(G.error.indexOf("errorMessage") + 13, G.error.length);
5082
- r(16, fe = Qt), r(17, J = !1), window.postMessage(
5109
+ } catch (Ve) {
5110
+ let Yt = G.error.substring(G.error.indexOf("errorMessage") + 13, G.error.length);
5111
+ r(16, de = Yt), r(17, J = !1), window.postMessage(
5083
5112
  {
5084
5113
  type: "WidgetNotification",
5085
- data: { type: "error", message: Qt }
5114
+ data: { type: "error", message: Yt }
5086
5115
  },
5087
5116
  window.location.href
5088
5117
  );
5089
5118
  }
5090
5119
  });
5091
- }), Ye = (m, q) => et(this, null, function* () {
5120
+ }), F = (m, q) => tt(this, null, function* () {
5092
5121
  localStorage.setItem("smsTimer", JSON.stringify(Math.floor(Date.now() / 1e3)));
5093
5122
  try {
5094
5123
  const te = yield fetch(`${i}/v1/player/sms/token`, {
@@ -5099,40 +5128,40 @@ function as(e, t, r) {
5099
5128
  },
5100
5129
  body: JSON.stringify({
5101
5130
  userId: q,
5102
- messageTemplate: ss,
5131
+ messageTemplate: cs,
5103
5132
  destination: m
5104
5133
  })
5105
- }), qt = yield te.json();
5134
+ }), Jt = yield te.json();
5106
5135
  if (te.ok) {
5107
- r(9, g = qt.id);
5108
- let Jt = qt.maxValidationAttempts;
5136
+ r(9, g = Jt.id);
5137
+ let Qt = Jt.maxValidationAttempts;
5109
5138
  x = !1;
5110
5139
  } else
5111
5140
  throw x = !0, new Error("Failed to fetch");
5112
5141
  } catch (te) {
5113
5142
  x = !0, console.error(te);
5114
5143
  }
5115
- }), F = () => {
5116
- Qo(s);
5144
+ }), et = () => {
5145
+ ts(s);
5117
5146
  };
5118
- An(() => (window.addEventListener("message", ve, !1), window.postMessage({ type: "LoginRegisterModalActive" }, window.location.href), r(11, z = Xo(R)), () => {
5119
- window.removeEventListener("message", ve);
5147
+ On(() => (window.addEventListener("message", xe, !1), window.postMessage({ type: "LoginRegisterModalActive" }, window.location.href), r(11, z = Zo(R)), () => {
5148
+ window.removeEventListener("message", xe);
5120
5149
  }));
5121
- const Ke = () => De();
5122
- function Pe() {
5150
+ const Se = () => _e();
5151
+ function Q() {
5123
5152
  U = this.value, r(12, U);
5124
5153
  }
5125
- function Y() {
5126
- A = this.value, r(13, A);
5154
+ function D() {
5155
+ I = this.value, r(13, I);
5127
5156
  }
5128
- function D(m) {
5129
- ut[m ? "unshift" : "push"](() => {
5157
+ function k(m) {
5158
+ ct[m ? "unshift" : "push"](() => {
5130
5159
  ue = m, r(18, ue);
5131
5160
  });
5132
5161
  }
5133
- const k = () => we(), $ = () => Ee(), v = (m) => Q(m), S = (m) => xe(m);
5134
- function dn(m) {
5135
- ut[m ? "unshift" : "push"](() => {
5162
+ const $ = () => pe(), v = () => ye(), S = (m) => ce(m), pn = (m) => ee(m);
5163
+ function mn(m) {
5164
+ ct[m ? "unshift" : "push"](() => {
5136
5165
  X = m, r(7, X);
5137
5166
  });
5138
5167
  }
@@ -5140,12 +5169,12 @@ function as(e, t, r) {
5140
5169
  "endpoint" in m && r(0, i = m.endpoint), "captchakey" in m && r(1, o = m.captchakey), "lang" in m && r(30, s = m.lang), "smsverification" in m && r(31, a = m.smsverification), "simplepasswordvalidation" in m && r(2, u = m.simplepasswordvalidation), "mbsource" in m && r(3, l = m.mbsource), "clientstyling" in m && r(4, c = m.clientstyling), "clientstylingurl" in m && r(5, f = m.clientstylingurl), "translationurl" in m && r(32, d = m.translationurl), "savecredentials" in m && r(6, b = m.savecredentials);
5141
5170
  }, e.$$.update = () => {
5142
5171
  e.$$.dirty[0] & /*endpoint, lang*/
5143
- 1073741825 && i && s && F(), e.$$.dirty[0] & /*simplepasswordvalidation*/
5144
- 4 && u && Je(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5145
- 144 && c && X && Wo(X, c), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5146
- 160 && f && X && Zo(X, f), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5147
- 136 && l && X && qo(X, `${l}.Style`), e.$$.dirty[1] & /*translationurl*/
5148
- 2 && d && C();
5172
+ 1073741825 && i && s && et(), e.$$.dirty[0] & /*simplepasswordvalidation*/
5173
+ 4 && u && ke(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5174
+ 144 && c && X && qo(X, c), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5175
+ 160 && f && X && Jo(X, f), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5176
+ 136 && l && X && Qo(X, `${l}.Style`, Fe), e.$$.dirty[1] & /*translationurl*/
5177
+ 2 && d && ve();
5149
5178
  }, [
5150
5179
  i,
5151
5180
  o,
@@ -5157,48 +5186,48 @@ function as(e, t, r) {
5157
5186
  X,
5158
5187
  y,
5159
5188
  g,
5160
- O,
5189
+ C,
5161
5190
  z,
5162
5191
  U,
5163
- A,
5192
+ I,
5164
5193
  T,
5165
5194
  se,
5166
- fe,
5195
+ de,
5167
5196
  J,
5168
5197
  ue,
5169
5198
  H,
5170
5199
  ie,
5171
- de,
5200
+ De,
5172
5201
  n,
5173
- Ee,
5202
+ ye,
5203
+ pe,
5204
+ _e,
5205
+ ee,
5206
+ ce,
5207
+ me,
5174
5208
  we,
5175
- De,
5176
- xe,
5177
- Q,
5178
- Qe,
5179
- be,
5180
5209
  s,
5181
5210
  a,
5182
5211
  d,
5183
- Ke,
5184
- Pe,
5185
- Y,
5212
+ Se,
5213
+ Q,
5186
5214
  D,
5187
5215
  k,
5188
5216
  $,
5189
5217
  v,
5190
5218
  S,
5191
- dn
5219
+ pn,
5220
+ mn
5192
5221
  ];
5193
5222
  }
5194
- class fn extends $n {
5223
+ class dn extends jn {
5195
5224
  constructor(t) {
5196
- super(), Dn(
5225
+ super(), $n(
5197
5226
  this,
5198
5227
  t,
5199
- as,
5200
- os,
5201
- Cr,
5228
+ hs,
5229
+ us,
5230
+ Lr,
5202
5231
  {
5203
5232
  endpoint: 0,
5204
5233
  captchakey: 1,
@@ -5211,7 +5240,7 @@ class fn extends $n {
5211
5240
  translationurl: 32,
5212
5241
  savecredentials: 6
5213
5242
  },
5214
- Yo,
5243
+ rs,
5215
5244
  [-1, -1]
5216
5245
  );
5217
5246
  }
@@ -5219,96 +5248,96 @@ class fn extends $n {
5219
5248
  return this.$$.ctx[0];
5220
5249
  }
5221
5250
  set endpoint(t) {
5222
- this.$$set({ endpoint: t }), ee();
5251
+ this.$$set({ endpoint: t }), K();
5223
5252
  }
5224
5253
  get captchakey() {
5225
5254
  return this.$$.ctx[1];
5226
5255
  }
5227
5256
  set captchakey(t) {
5228
- this.$$set({ captchakey: t }), ee();
5257
+ this.$$set({ captchakey: t }), K();
5229
5258
  }
5230
5259
  get lang() {
5231
5260
  return this.$$.ctx[30];
5232
5261
  }
5233
5262
  set lang(t) {
5234
- this.$$set({ lang: t }), ee();
5263
+ this.$$set({ lang: t }), K();
5235
5264
  }
5236
5265
  get smsverification() {
5237
5266
  return this.$$.ctx[31];
5238
5267
  }
5239
5268
  set smsverification(t) {
5240
- this.$$set({ smsverification: t }), ee();
5269
+ this.$$set({ smsverification: t }), K();
5241
5270
  }
5242
5271
  get simplepasswordvalidation() {
5243
5272
  return this.$$.ctx[2];
5244
5273
  }
5245
5274
  set simplepasswordvalidation(t) {
5246
- this.$$set({ simplepasswordvalidation: t }), ee();
5275
+ this.$$set({ simplepasswordvalidation: t }), K();
5247
5276
  }
5248
5277
  get mbsource() {
5249
5278
  return this.$$.ctx[3];
5250
5279
  }
5251
5280
  set mbsource(t) {
5252
- this.$$set({ mbsource: t }), ee();
5281
+ this.$$set({ mbsource: t }), K();
5253
5282
  }
5254
5283
  get clientstyling() {
5255
5284
  return this.$$.ctx[4];
5256
5285
  }
5257
5286
  set clientstyling(t) {
5258
- this.$$set({ clientstyling: t }), ee();
5287
+ this.$$set({ clientstyling: t }), K();
5259
5288
  }
5260
5289
  get clientstylingurl() {
5261
5290
  return this.$$.ctx[5];
5262
5291
  }
5263
5292
  set clientstylingurl(t) {
5264
- this.$$set({ clientstylingurl: t }), ee();
5293
+ this.$$set({ clientstylingurl: t }), K();
5265
5294
  }
5266
5295
  get translationurl() {
5267
5296
  return this.$$.ctx[32];
5268
5297
  }
5269
5298
  set translationurl(t) {
5270
- this.$$set({ translationurl: t }), ee();
5299
+ this.$$set({ translationurl: t }), K();
5271
5300
  }
5272
5301
  get savecredentials() {
5273
5302
  return this.$$.ctx[6];
5274
5303
  }
5275
5304
  set savecredentials(t) {
5276
- this.$$set({ savecredentials: t }), ee();
5305
+ this.$$set({ savecredentials: t }), K();
5277
5306
  }
5278
5307
  }
5279
- kn(fn, { endpoint: {}, captchakey: {}, lang: {}, smsverification: {}, simplepasswordvalidation: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, savecredentials: {} }, [], [], !0);
5280
- const us = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5308
+ Gn(dn, { endpoint: {}, captchakey: {}, lang: {}, smsverification: {}, simplepasswordvalidation: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, savecredentials: {} }, [], [], !0);
5309
+ const ds = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5281
5310
  __proto__: null,
5282
- default: fn
5311
+ default: dn
5283
5312
  }, Symbol.toStringTag, { value: "Module" }));
5284
5313
  export {
5285
- he as $,
5286
- us as G,
5287
- $n as S,
5314
+ fe as $,
5315
+ ds as G,
5316
+ jn as S,
5288
5317
  Re as a,
5289
- an as b,
5290
- wn as c,
5291
- I as d,
5318
+ ln as b,
5319
+ Sn as c,
5320
+ O as d,
5292
5321
  re as e,
5293
- ee as f,
5294
- rt as g,
5322
+ K as f,
5323
+ nt as g,
5295
5324
  h,
5296
- Dn as i,
5325
+ $n as i,
5297
5326
  M as j,
5298
5327
  p as k,
5299
5328
  ae as l,
5300
5329
  w as m,
5301
5330
  Z as n,
5302
5331
  j as o,
5303
- En as p,
5304
- An as q,
5332
+ xn as p,
5333
+ On as q,
5305
5334
  Me as r,
5306
- Cr as s,
5335
+ Lr as s,
5307
5336
  N as t,
5308
- ut as u,
5309
- Wo as v,
5310
- Zo as w,
5311
- qo as x,
5312
- kn as y,
5313
- zo as z
5337
+ ct as u,
5338
+ qo as v,
5339
+ Jo as w,
5340
+ Qo as x,
5341
+ Gn as y,
5342
+ Wo as z
5314
5343
  };