@everymatrix/general-player-login-form 1.54.0 → 1.54.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,57 +1,28 @@
1
- var dn = Object.defineProperty, mn = Object.defineProperties;
2
- var pn = Object.getOwnPropertyDescriptors;
3
- var Zt = Object.getOwnPropertySymbols;
4
- var gn = Object.prototype.hasOwnProperty, bn = Object.prototype.propertyIsEnumerable;
5
- var yt = (e, t, r) => t in e ? dn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, qt = (e, t) => {
6
- for (var r in t || (t = {}))
7
- gn.call(t, r) && yt(e, r, t[r]);
8
- if (Zt)
9
- for (var r of Zt(t))
10
- bn.call(t, r) && yt(e, r, t[r]);
11
- return e;
12
- }, Jt = (e, t) => mn(e, pn(t));
13
- var Y = (e, t, r) => yt(e, typeof t != "symbol" ? t + "" : t, r);
14
- var et = (e, t, r) => new Promise((n, i) => {
15
- var o = (u) => {
16
- try {
17
- a(r.next(u));
18
- } catch (l) {
19
- i(l);
20
- }
21
- }, s = (u) => {
22
- try {
23
- a(r.throw(u));
24
- } catch (l) {
25
- i(l);
26
- }
27
- }, a = (u) => u.done ? n(u.value) : Promise.resolve(u.value).then(o, s);
28
- a((r = r.apply(e, t)).next());
29
- });
30
1
  function Z() {
31
2
  }
32
- function Br(e) {
3
+ function Er(e) {
33
4
  return e();
34
5
  }
35
- function Qt() {
6
+ function Vt() {
36
7
  return /* @__PURE__ */ Object.create(null);
37
8
  }
38
- function Le(e) {
39
- e.forEach(Br);
9
+ function Oe(e) {
10
+ e.forEach(Er);
40
11
  }
41
- function $t(e) {
12
+ function Dt(e) {
42
13
  return typeof e == "function";
43
14
  }
44
- function Ar(e, t) {
15
+ function wr(e, t) {
45
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
17
  }
47
18
  let tt;
48
- function Yt(e, t) {
19
+ function zt(e, t) {
49
20
  return e === t ? !0 : (tt || (tt = document.createElement("a")), tt.href = t, e === tt.href);
50
21
  }
51
- function yn(e) {
22
+ function on(e) {
52
23
  return Object.keys(e).length === 0;
53
24
  }
54
- function Ir(e, ...t) {
25
+ function xr(e, ...t) {
55
26
  if (e == null) {
56
27
  for (const n of t)
57
28
  n(void 0);
@@ -60,24 +31,24 @@ function Ir(e, ...t) {
60
31
  const r = e.subscribe(...t);
61
32
  return r.unsubscribe ? () => r.unsubscribe() : r;
62
33
  }
63
- function vn(e, t, r) {
64
- e.$$.on_destroy.push(Ir(t, r));
34
+ function sn(e, t, r) {
35
+ e.$$.on_destroy.push(xr(t, r));
65
36
  }
66
- const _n = typeof window != "undefined" ? window : typeof globalThis != "undefined" ? globalThis : (
37
+ const an = typeof window < "u" ? window : typeof globalThis < "u" ? globalThis : (
67
38
  // @ts-ignore Node typings have this
68
39
  global
69
40
  );
70
- function p(e, t) {
41
+ function m(e, t) {
71
42
  e.appendChild(t);
72
43
  }
73
- function En(e, t, r) {
74
- const n = wn(e);
44
+ function ln(e, t, r) {
45
+ const n = un(e);
75
46
  if (!n.getElementById(t)) {
76
47
  const i = S("style");
77
- i.id = t, i.textContent = r, xn(n, i);
48
+ i.id = t, i.textContent = r, cn(n, i);
78
49
  }
79
50
  }
80
- function wn(e) {
51
+ function un(e) {
81
52
  if (!e) return document;
82
53
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
83
54
  return t && /** @type {ShadowRoot} */
@@ -86,8 +57,8 @@ function wn(e) {
86
57
  t
87
58
  ) : e.ownerDocument;
88
59
  }
89
- function xn(e, t) {
90
- return p(
60
+ function cn(e, t) {
61
+ return m(
91
62
  /** @type {Document} */
92
63
  e.head || e,
93
64
  t
@@ -111,30 +82,30 @@ function N(e) {
111
82
  function z() {
112
83
  return N(" ");
113
84
  }
114
- function Sn() {
85
+ function hn() {
115
86
  return N("");
116
87
  }
117
- function ae(e, t, r, n) {
88
+ function se(e, t, r, n) {
118
89
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
119
90
  }
120
91
  function h(e, t, r) {
121
92
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
122
93
  }
123
- function K(e, t, r) {
94
+ function Y(e, t, r) {
124
95
  const n = t.toLowerCase();
125
96
  n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : h(e, t, r);
126
97
  }
127
- function Pn(e) {
98
+ function fn(e) {
128
99
  return Array.from(e.childNodes);
129
100
  }
130
- function re(e, t) {
101
+ function te(e, t) {
131
102
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
132
103
  t);
133
104
  }
134
105
  function rt(e, t) {
135
- e.value = t == null ? "" : t;
106
+ e.value = t ?? "";
136
107
  }
137
- function Tn(e) {
108
+ function dn(e) {
138
109
  const t = {};
139
110
  return e.childNodes.forEach(
140
111
  /** @param {Element} node */
@@ -143,85 +114,85 @@ function Tn(e) {
143
114
  }
144
115
  ), t;
145
116
  }
146
- let We;
147
- function Xe(e) {
148
- We = e;
117
+ let Xe;
118
+ function ze(e) {
119
+ Xe = e;
149
120
  }
150
- function Hn() {
151
- if (!We) throw new Error("Function called outside component initialization");
152
- return We;
121
+ function mn() {
122
+ if (!Xe) throw new Error("Function called outside component initialization");
123
+ return Xe;
153
124
  }
154
- function Bn(e) {
155
- Hn().$$.on_mount.push(e);
125
+ function pn(e) {
126
+ mn().$$.on_mount.push(e);
156
127
  }
157
- const Te = [], ut = [];
158
- let He = [];
159
- const Kt = [], An = /* @__PURE__ */ Promise.resolve();
160
- let Tt = !1;
161
- function In() {
162
- Tt || (Tt = !0, An.then(te));
128
+ const Pe = [], ut = [];
129
+ let Te = [];
130
+ const Xt = [], gn = /* @__PURE__ */ Promise.resolve();
131
+ let St = !1;
132
+ function bn() {
133
+ St || (St = !0, gn.then(ee));
163
134
  }
164
- function Ht(e) {
165
- He.push(e);
135
+ function Pt(e) {
136
+ Te.push(e);
166
137
  }
167
- const vt = /* @__PURE__ */ new Set();
168
- let Se = 0;
169
- function te() {
170
- if (Se !== 0)
138
+ const bt = /* @__PURE__ */ new Set();
139
+ let xe = 0;
140
+ function ee() {
141
+ if (xe !== 0)
171
142
  return;
172
- const e = We;
143
+ const e = Xe;
173
144
  do {
174
145
  try {
175
- for (; Se < Te.length; ) {
176
- const t = Te[Se];
177
- Se++, Xe(t), Cn(t.$$);
146
+ for (; xe < Pe.length; ) {
147
+ const t = Pe[xe];
148
+ xe++, ze(t), yn(t.$$);
178
149
  }
179
150
  } catch (t) {
180
- throw Te.length = 0, Se = 0, t;
151
+ throw Pe.length = 0, xe = 0, t;
181
152
  }
182
- for (Xe(null), Te.length = 0, Se = 0; ut.length; ) ut.pop()();
183
- for (let t = 0; t < He.length; t += 1) {
184
- const r = He[t];
185
- vt.has(r) || (vt.add(r), r());
153
+ for (ze(null), Pe.length = 0, xe = 0; ut.length; ) ut.pop()();
154
+ for (let t = 0; t < Te.length; t += 1) {
155
+ const r = Te[t];
156
+ bt.has(r) || (bt.add(r), r());
186
157
  }
187
- He.length = 0;
188
- } while (Te.length);
189
- for (; Kt.length; )
190
- Kt.pop()();
191
- Tt = !1, vt.clear(), Xe(e);
158
+ Te.length = 0;
159
+ } while (Pe.length);
160
+ for (; Xt.length; )
161
+ Xt.pop()();
162
+ St = !1, bt.clear(), ze(e);
192
163
  }
193
- function Cn(e) {
164
+ function yn(e) {
194
165
  if (e.fragment !== null) {
195
- e.update(), Le(e.before_update);
166
+ e.update(), Oe(e.before_update);
196
167
  const t = e.dirty;
197
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ht);
168
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Pt);
198
169
  }
199
170
  }
200
- function On(e) {
171
+ function vn(e) {
201
172
  const t = [], r = [];
202
- He.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), He = t;
173
+ Te.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Te = t;
203
174
  }
204
- const Ln = /* @__PURE__ */ new Set();
205
- function Mn(e, t) {
206
- e && e.i && (Ln.delete(e), e.i(t));
175
+ const _n = /* @__PURE__ */ new Set();
176
+ function En(e, t) {
177
+ e && e.i && (_n.delete(e), e.i(t));
207
178
  }
208
- function Nn(e, t, r) {
179
+ function wn(e, t, r) {
209
180
  const { fragment: n, after_update: i } = e.$$;
210
- n && n.m(t, r), Ht(() => {
211
- const o = e.$$.on_mount.map(Br).filter($t);
212
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Le(o), e.$$.on_mount = [];
213
- }), i.forEach(Ht);
181
+ n && n.m(t, r), Pt(() => {
182
+ const o = e.$$.on_mount.map(Er).filter(Dt);
183
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Oe(o), e.$$.on_mount = [];
184
+ }), i.forEach(Pt);
214
185
  }
215
- function Rn(e, t) {
186
+ function xn(e, t) {
216
187
  const r = e.$$;
217
- r.fragment !== null && (On(r.after_update), Le(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
188
+ r.fragment !== null && (vn(r.after_update), Oe(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
218
189
  }
219
- function Un(e, t) {
220
- e.$$.dirty[0] === -1 && (Te.push(e), In(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
190
+ function Sn(e, t) {
191
+ e.$$.dirty[0] === -1 && (Pe.push(e), bn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
221
192
  }
222
- function Fn(e, t, r, n, i, o, s = null, a = [-1]) {
223
- const u = We;
224
- Xe(e);
193
+ function Pn(e, t, r, n, i, o, s = null, a = [-1]) {
194
+ const c = Xe;
195
+ ze(e);
225
196
  const l = e.$$ = {
226
197
  fragment: null,
227
198
  ctx: [],
@@ -229,159 +200,155 @@ function Fn(e, t, r, n, i, o, s = null, a = [-1]) {
229
200
  props: o,
230
201
  update: Z,
231
202
  not_equal: i,
232
- bound: Qt(),
203
+ bound: Vt(),
233
204
  // lifecycle
234
205
  on_mount: [],
235
206
  on_destroy: [],
236
207
  on_disconnect: [],
237
208
  before_update: [],
238
209
  after_update: [],
239
- context: new Map(t.context || (u ? u.$$.context : [])),
210
+ context: new Map(t.context || (c ? c.$$.context : [])),
240
211
  // everything else
241
- callbacks: Qt(),
212
+ callbacks: Vt(),
242
213
  dirty: a,
243
214
  skip_bound: !1,
244
- root: t.target || u.$$.root
215
+ root: t.target || c.$$.root
245
216
  };
246
217
  s && s(l.root);
247
- let c = !1;
218
+ let u = !1;
248
219
  if (l.ctx = r ? r(e, t.props || {}, (f, d, ...b) => {
249
220
  const v = b.length ? b[0] : d;
250
- return l.ctx && i(l.ctx[f], l.ctx[f] = v) && (!l.skip_bound && l.bound[f] && l.bound[f](v), c && Un(e, f)), d;
251
- }) : [], l.update(), c = !0, Le(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
221
+ return l.ctx && i(l.ctx[f], l.ctx[f] = v) && (!l.skip_bound && l.bound[f] && l.bound[f](v), u && Sn(e, f)), d;
222
+ }) : [], l.update(), u = !0, Oe(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
252
223
  if (t.hydrate) {
253
- const f = Pn(t.target);
224
+ const f = fn(t.target);
254
225
  l.fragment && l.fragment.l(f), f.forEach(I);
255
226
  } else
256
227
  l.fragment && l.fragment.c();
257
- t.intro && Mn(e.$$.fragment), Nn(e, t.target, t.anchor), te();
228
+ t.intro && En(e.$$.fragment), wn(e, t.target, t.anchor), ee();
258
229
  }
259
- Xe(u);
260
- }
261
- let Cr;
262
- typeof HTMLElement == "function" && (Cr = class extends HTMLElement {
263
- constructor(t, r, n) {
264
- super();
265
- /** The Svelte component constructor */
266
- Y(this, "$$ctor");
267
- /** Slots */
268
- Y(this, "$$s");
269
- /** The Svelte component instance */
270
- Y(this, "$$c");
271
- /** Whether or not the custom element is connected */
272
- Y(this, "$$cn", !1);
273
- /** Component props data */
274
- Y(this, "$$d", {});
275
- /** `true` if currently in the process of reflecting component props back to attributes */
276
- Y(this, "$$r", !1);
277
- /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
278
- Y(this, "$$p_d", {});
279
- /** @type {Record<string, Function[]>} Event listeners */
280
- Y(this, "$$l", {});
281
- /** @type {Map<Function, Function>} Event listener unsubscribe functions */
282
- Y(this, "$$l_u", /* @__PURE__ */ new Map());
283
- this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
230
+ ze(c);
231
+ }
232
+ let Sr;
233
+ typeof HTMLElement == "function" && (Sr = class extends HTMLElement {
234
+ /** The Svelte component constructor */
235
+ $$ctor;
236
+ /** Slots */
237
+ $$s;
238
+ /** The Svelte component instance */
239
+ $$c;
240
+ /** Whether or not the custom element is connected */
241
+ $$cn = !1;
242
+ /** Component props data */
243
+ $$d = {};
244
+ /** `true` if currently in the process of reflecting component props back to attributes */
245
+ $$r = !1;
246
+ /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
247
+ $$p_d = {};
248
+ /** @type {Record<string, Function[]>} Event listeners */
249
+ $$l = {};
250
+ /** @type {Map<Function, Function>} Event listener unsubscribe functions */
251
+ $$l_u = /* @__PURE__ */ new Map();
252
+ constructor(e, t, r) {
253
+ super(), this.$$ctor = e, this.$$s = t, r && this.attachShadow({ mode: "open" });
284
254
  }
285
- addEventListener(t, r, n) {
286
- if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(r), this.$$c) {
287
- const i = this.$$c.$on(t, r);
288
- this.$$l_u.set(r, i);
255
+ addEventListener(e, t, r) {
256
+ if (this.$$l[e] = this.$$l[e] || [], this.$$l[e].push(t), this.$$c) {
257
+ const n = this.$$c.$on(e, t);
258
+ this.$$l_u.set(t, n);
289
259
  }
290
- super.addEventListener(t, r, n);
260
+ super.addEventListener(e, t, r);
291
261
  }
292
- removeEventListener(t, r, n) {
293
- if (super.removeEventListener(t, r, n), this.$$c) {
294
- const i = this.$$l_u.get(r);
295
- i && (i(), this.$$l_u.delete(r));
262
+ removeEventListener(e, t, r) {
263
+ if (super.removeEventListener(e, t, r), this.$$c) {
264
+ const n = this.$$l_u.get(t);
265
+ n && (n(), this.$$l_u.delete(t));
296
266
  }
297
267
  }
298
- connectedCallback() {
299
- return et(this, null, function* () {
300
- if (this.$$cn = !0, !this.$$c) {
301
- let t = function(o) {
302
- return () => {
303
- let s;
304
- return {
305
- c: function() {
306
- s = S("slot"), o !== "default" && h(s, "name", o);
307
- },
308
- /**
309
- * @param {HTMLElement} target
310
- * @param {HTMLElement} [anchor]
311
- */
312
- m: function(l, c) {
313
- L(l, s, c);
314
- },
315
- d: function(l) {
316
- l && I(s);
317
- }
318
- };
268
+ async connectedCallback() {
269
+ if (this.$$cn = !0, !this.$$c) {
270
+ let e = function(i) {
271
+ return () => {
272
+ let o;
273
+ return {
274
+ c: function() {
275
+ o = S("slot"), i !== "default" && h(o, "name", i);
276
+ },
277
+ /**
278
+ * @param {HTMLElement} target
279
+ * @param {HTMLElement} [anchor]
280
+ */
281
+ m: function(c, l) {
282
+ L(c, o, l);
283
+ },
284
+ d: function(c) {
285
+ c && I(o);
286
+ }
319
287
  };
320
288
  };
321
- if (yield Promise.resolve(), !this.$$cn || this.$$c)
322
- return;
323
- const r = {}, n = Tn(this);
324
- for (const o of this.$$s)
325
- o in n && (r[o] = [t(o)]);
326
- for (const o of this.attributes) {
327
- const s = this.$$g_p(o.name);
328
- s in this.$$d || (this.$$d[s] = ot(s, o.value, this.$$p_d, "toProp"));
289
+ };
290
+ if (await Promise.resolve(), !this.$$cn || this.$$c)
291
+ return;
292
+ const t = {}, r = dn(this);
293
+ for (const i of this.$$s)
294
+ i in r && (t[i] = [e(i)]);
295
+ for (const i of this.attributes) {
296
+ const o = this.$$g_p(i.name);
297
+ o in this.$$d || (this.$$d[o] = ot(o, i.value, this.$$p_d, "toProp"));
298
+ }
299
+ for (const i in this.$$p_d)
300
+ !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
301
+ this.$$c = new this.$$ctor({
302
+ target: this.shadowRoot || this,
303
+ props: {
304
+ ...this.$$d,
305
+ $$slots: t,
306
+ $$scope: {
307
+ ctx: []
308
+ }
329
309
  }
330
- for (const o in this.$$p_d)
331
- !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
332
- this.$$c = new this.$$ctor({
333
- target: this.shadowRoot || this,
334
- props: Jt(qt({}, this.$$d), {
335
- $$slots: r,
336
- $$scope: {
337
- ctx: []
338
- }
339
- })
340
- });
341
- const i = () => {
342
- this.$$r = !0;
343
- for (const o in this.$$p_d)
344
- if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
345
- const s = ot(
346
- o,
347
- this.$$d[o],
348
- this.$$p_d,
349
- "toAttribute"
350
- );
351
- s == null ? this.removeAttribute(this.$$p_d[o].attribute || o) : this.setAttribute(this.$$p_d[o].attribute || o, s);
352
- }
353
- this.$$r = !1;
354
- };
355
- this.$$c.$$.after_update.push(i), i();
356
- for (const o in this.$$l)
357
- for (const s of this.$$l[o]) {
358
- const a = this.$$c.$on(o, s);
359
- this.$$l_u.set(s, a);
310
+ });
311
+ const n = () => {
312
+ this.$$r = !0;
313
+ for (const i in this.$$p_d)
314
+ if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
315
+ const o = ot(
316
+ i,
317
+ this.$$d[i],
318
+ this.$$p_d,
319
+ "toAttribute"
320
+ );
321
+ o == null ? this.removeAttribute(this.$$p_d[i].attribute || i) : this.setAttribute(this.$$p_d[i].attribute || i, o);
360
322
  }
361
- this.$$l = {};
362
- }
363
- });
323
+ this.$$r = !1;
324
+ };
325
+ this.$$c.$$.after_update.push(n), n();
326
+ for (const i in this.$$l)
327
+ for (const o of this.$$l[i]) {
328
+ const s = this.$$c.$on(i, o);
329
+ this.$$l_u.set(o, s);
330
+ }
331
+ this.$$l = {};
332
+ }
364
333
  }
365
334
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
366
335
  // and setting attributes through setAttribute etc, this is helpful
367
- attributeChangedCallback(t, r, n) {
368
- var i;
369
- 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] }));
336
+ attributeChangedCallback(e, t, r) {
337
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = ot(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
370
338
  }
371
339
  disconnectedCallback() {
372
340
  this.$$cn = !1, Promise.resolve().then(() => {
373
341
  !this.$$cn && this.$$c && (this.$$c.$destroy(), this.$$c = void 0);
374
342
  });
375
343
  }
376
- $$g_p(t) {
344
+ $$g_p(e) {
377
345
  return Object.keys(this.$$p_d).find(
378
- (r) => this.$$p_d[r].attribute === t || !this.$$p_d[r].attribute && r.toLowerCase() === t
379
- ) || t;
346
+ (t) => this.$$p_d[t].attribute === e || !this.$$p_d[t].attribute && t.toLowerCase() === e
347
+ ) || e;
380
348
  }
381
349
  });
382
350
  function ot(e, t, r, n) {
383
- var o;
384
- const i = (o = r[e]) == null ? void 0 : o.type;
351
+ const i = r[e]?.type;
385
352
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
386
353
  return t;
387
354
  if (n === "toAttribute")
@@ -392,7 +359,7 @@ function ot(e, t, r, n) {
392
359
  case "Boolean":
393
360
  return t ? "" : null;
394
361
  case "Number":
395
- return t == null ? null : t;
362
+ return t ?? null;
396
363
  default:
397
364
  return t;
398
365
  }
@@ -409,8 +376,8 @@ function ot(e, t, r, n) {
409
376
  return t;
410
377
  }
411
378
  }
412
- function Dn(e, t, r, n, i, o) {
413
- let s = class extends Cr {
379
+ function Tn(e, t, r, n, i, o) {
380
+ let s = class extends Sr {
414
381
  constructor() {
415
382
  super(e, r, i), this.$$p_d = t;
416
383
  }
@@ -425,43 +392,39 @@ function Dn(e, t, r, n, i, o) {
425
392
  get() {
426
393
  return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
427
394
  },
428
- set(u) {
429
- var l;
430
- u = ot(a, u, t), this.$$d[a] = u, (l = this.$$c) == null || l.$set({ [a]: u });
395
+ set(c) {
396
+ c = ot(a, c, t), this.$$d[a] = c, this.$$c?.$set({ [a]: c });
431
397
  }
432
398
  });
433
399
  }), n.forEach((a) => {
434
400
  Object.defineProperty(s.prototype, a, {
435
401
  get() {
436
- var u;
437
- return (u = this.$$c) == null ? void 0 : u[a];
402
+ return this.$$c?.[a];
438
403
  }
439
404
  });
440
405
  }), e.element = /** @type {any} */
441
406
  s, s;
442
407
  }
443
- class kn {
444
- constructor() {
445
- /**
446
- * ### PRIVATE API
447
- *
448
- * Do not use, may change at any time
449
- *
450
- * @type {any}
451
- */
452
- Y(this, "$$");
453
- /**
454
- * ### PRIVATE API
455
- *
456
- * Do not use, may change at any time
457
- *
458
- * @type {any}
459
- */
460
- Y(this, "$$set");
461
- }
408
+ class Hn {
409
+ /**
410
+ * ### PRIVATE API
411
+ *
412
+ * Do not use, may change at any time
413
+ *
414
+ * @type {any}
415
+ */
416
+ $$ = void 0;
417
+ /**
418
+ * ### PRIVATE API
419
+ *
420
+ * Do not use, may change at any time
421
+ *
422
+ * @type {any}
423
+ */
424
+ $$set = void 0;
462
425
  /** @returns {void} */
463
426
  $destroy() {
464
- Rn(this, 1), this.$destroy = Z;
427
+ xn(this, 1), this.$destroy = Z;
465
428
  }
466
429
  /**
467
430
  * @template {Extract<keyof Events, string>} K
@@ -470,7 +433,7 @@ class kn {
470
433
  * @returns {() => void}
471
434
  */
472
435
  $on(t, r) {
473
- if (!$t(r))
436
+ if (!Dt(r))
474
437
  return Z;
475
438
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
476
439
  return n.push(r), () => {
@@ -483,22 +446,22 @@ class kn {
483
446
  * @returns {void}
484
447
  */
485
448
  $set(t) {
486
- this.$$set && !yn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
449
+ this.$$set && !on(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
487
450
  }
488
451
  }
489
- const $n = "4";
490
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add($n);
491
- var Bt = function(e, t) {
492
- return Bt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
452
+ const Bn = "4";
453
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Bn);
454
+ var Tt = function(e, t) {
455
+ return Tt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
493
456
  r.__proto__ = n;
494
457
  } || function(r, n) {
495
458
  for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
496
- }, Bt(e, t);
459
+ }, Tt(e, t);
497
460
  };
498
- function ue(e, t) {
461
+ function le(e, t) {
499
462
  if (typeof t != "function" && t !== null)
500
463
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
501
- Bt(e, t);
464
+ Tt(e, t);
502
465
  function r() {
503
466
  this.constructor = e;
504
467
  }
@@ -513,7 +476,7 @@ var w = function() {
513
476
  return t;
514
477
  }, w.apply(this, arguments);
515
478
  };
516
- function Gn(e, t) {
479
+ function An(e, t) {
517
480
  var r = {};
518
481
  for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
519
482
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
@@ -521,7 +484,7 @@ function Gn(e, t) {
521
484
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
522
485
  return r;
523
486
  }
524
- function At(e) {
487
+ function Ht(e) {
525
488
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
526
489
  if (r) return r.call(e);
527
490
  if (e && typeof e.length == "number") return {
@@ -531,7 +494,7 @@ function At(e) {
531
494
  };
532
495
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
533
496
  }
534
- function It(e, t) {
497
+ function Bt(e, t) {
535
498
  var r = typeof Symbol == "function" && e[Symbol.iterator];
536
499
  if (!r) return e;
537
500
  var n = r.call(e), i, o = [], s;
@@ -548,21 +511,21 @@ function It(e, t) {
548
511
  }
549
512
  return o;
550
513
  }
551
- function Be(e, t, r) {
514
+ function He(e, t, r) {
552
515
  if (r || arguments.length === 2) for (var n = 0, i = t.length, o; n < i; n++)
553
516
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
554
517
  return e.concat(o || Array.prototype.slice.call(t));
555
518
  }
556
- function le(e) {
519
+ function ae(e) {
557
520
  return typeof e == "function";
558
521
  }
559
- function Or(e) {
522
+ function Pr(e) {
560
523
  var t = function(n) {
561
524
  Error.call(n), n.stack = new Error().stack;
562
525
  }, r = e(t);
563
526
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
564
527
  }
565
- var _t = Or(function(e) {
528
+ var yt = Pr(function(e) {
566
529
  return function(r) {
567
530
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
568
531
  ` + r.map(function(n, i) {
@@ -571,7 +534,7 @@ var _t = Or(function(e) {
571
534
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
572
535
  };
573
536
  });
574
- function Ct(e, t) {
537
+ function At(e, t) {
575
538
  if (e) {
576
539
  var r = e.indexOf(t);
577
540
  0 <= r && e.splice(r, 1);
@@ -589,38 +552,38 @@ var ft = function() {
589
552
  if (s)
590
553
  if (this._parentage = null, Array.isArray(s))
591
554
  try {
592
- for (var a = At(s), u = a.next(); !u.done; u = a.next()) {
593
- var l = u.value;
555
+ for (var a = Ht(s), c = a.next(); !c.done; c = a.next()) {
556
+ var l = c.value;
594
557
  l.remove(this);
595
558
  }
596
559
  } catch (g) {
597
560
  t = { error: g };
598
561
  } finally {
599
562
  try {
600
- u && !u.done && (r = a.return) && r.call(a);
563
+ c && !c.done && (r = a.return) && r.call(a);
601
564
  } finally {
602
565
  if (t) throw t.error;
603
566
  }
604
567
  }
605
568
  else
606
569
  s.remove(this);
607
- var c = this.initialTeardown;
608
- if (le(c))
570
+ var u = this.initialTeardown;
571
+ if (ae(u))
609
572
  try {
610
- c();
573
+ u();
611
574
  } catch (g) {
612
- o = g instanceof _t ? g.errors : [g];
575
+ o = g instanceof yt ? g.errors : [g];
613
576
  }
614
577
  var f = this._finalizers;
615
578
  if (f) {
616
579
  this._finalizers = null;
617
580
  try {
618
- for (var d = At(f), b = d.next(); !b.done; b = d.next()) {
581
+ for (var d = Ht(f), b = d.next(); !b.done; b = d.next()) {
619
582
  var v = b.value;
620
583
  try {
621
- er(v);
584
+ Wt(v);
622
585
  } catch (g) {
623
- o = o != null ? o : [], g instanceof _t ? o = Be(Be([], It(o)), It(g.errors)) : o.push(g);
586
+ o = o ?? [], g instanceof yt ? o = He(He([], Bt(o)), Bt(g.errors)) : o.push(g);
624
587
  }
625
588
  }
626
589
  } catch (g) {
@@ -634,13 +597,13 @@ var ft = function() {
634
597
  }
635
598
  }
636
599
  if (o)
637
- throw new _t(o);
600
+ throw new yt(o);
638
601
  }
639
602
  }, e.prototype.add = function(t) {
640
603
  var r;
641
604
  if (t && t !== this)
642
605
  if (this.closed)
643
- er(t);
606
+ Wt(t);
644
607
  else {
645
608
  if (t instanceof e) {
646
609
  if (t.closed || t._hasParent(this))
@@ -657,56 +620,56 @@ var ft = function() {
657
620
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
658
621
  }, e.prototype._removeParent = function(t) {
659
622
  var r = this._parentage;
660
- r === t ? this._parentage = null : Array.isArray(r) && Ct(r, t);
623
+ r === t ? this._parentage = null : Array.isArray(r) && At(r, t);
661
624
  }, e.prototype.remove = function(t) {
662
625
  var r = this._finalizers;
663
- r && Ct(r, t), t instanceof e && t._removeParent(this);
626
+ r && At(r, t), t instanceof e && t._removeParent(this);
664
627
  }, e.EMPTY = function() {
665
628
  var t = new e();
666
629
  return t.closed = !0, t;
667
630
  }(), e;
668
- }(), Lr = ft.EMPTY;
669
- function Mr(e) {
670
- return e instanceof ft || e && "closed" in e && le(e.remove) && le(e.add) && le(e.unsubscribe);
631
+ }(), Tr = ft.EMPTY;
632
+ function Hr(e) {
633
+ return e instanceof ft || e && "closed" in e && ae(e.remove) && ae(e.add) && ae(e.unsubscribe);
671
634
  }
672
- function er(e) {
673
- le(e) ? e() : e.unsubscribe();
635
+ function Wt(e) {
636
+ ae(e) ? e() : e.unsubscribe();
674
637
  }
675
- var jn = {
638
+ var In = {
676
639
  onUnhandledError: null,
677
640
  onStoppedNotification: null,
678
641
  Promise: void 0,
679
642
  useDeprecatedSynchronousErrorHandling: !1,
680
643
  useDeprecatedNextContext: !1
681
- }, Vn = {
644
+ }, Cn = {
682
645
  setTimeout: function(e, t) {
683
646
  for (var r = [], n = 2; n < arguments.length; n++)
684
647
  r[n - 2] = arguments[n];
685
- return setTimeout.apply(void 0, Be([e, t], It(r)));
648
+ return setTimeout.apply(void 0, He([e, t], Bt(r)));
686
649
  },
687
650
  clearTimeout: function(e) {
688
651
  return clearTimeout(e);
689
652
  },
690
653
  delegate: void 0
691
654
  };
692
- function zn(e) {
693
- Vn.setTimeout(function() {
655
+ function On(e) {
656
+ Cn.setTimeout(function() {
694
657
  throw e;
695
658
  });
696
659
  }
697
- function tr() {
660
+ function Zt() {
698
661
  }
699
662
  function st(e) {
700
663
  e();
701
664
  }
702
- var Nr = function(e) {
703
- ue(t, e);
665
+ var Br = function(e) {
666
+ le(t, e);
704
667
  function t(r) {
705
668
  var n = e.call(this) || this;
706
- return n.isStopped = !1, r ? (n.destination = r, Mr(r) && r.add(n)) : n.destination = Zn, n;
669
+ return n.isStopped = !1, r ? (n.destination = r, Hr(r) && r.add(n)) : n.destination = Nn, n;
707
670
  }
708
671
  return t.create = function(r, n, i) {
709
- return new Ot(r, n, i);
672
+ return new It(r, n, i);
710
673
  }, t.prototype.next = function(r) {
711
674
  this.isStopped || this._next(r);
712
675
  }, t.prototype.error = function(r) {
@@ -730,7 +693,7 @@ var Nr = function(e) {
730
693
  this.unsubscribe();
731
694
  }
732
695
  }, t;
733
- }(ft), Xn = function() {
696
+ }(ft), Ln = function() {
734
697
  function e(t) {
735
698
  this.partialObserver = t;
736
699
  }
@@ -761,43 +724,43 @@ var Nr = function(e) {
761
724
  nt(r);
762
725
  }
763
726
  }, e;
764
- }(), Ot = function(e) {
765
- ue(t, e);
727
+ }(), It = function(e) {
728
+ le(t, e);
766
729
  function t(r, n, i) {
767
730
  var o = e.call(this) || this, s;
768
- return le(r) || !r ? s = {
769
- next: r != null ? r : void 0,
770
- error: n != null ? n : void 0,
771
- complete: i != null ? i : void 0
772
- } : s = r, o.destination = new Xn(s), o;
731
+ return ae(r) || !r ? s = {
732
+ next: r ?? void 0,
733
+ error: n ?? void 0,
734
+ complete: i ?? void 0
735
+ } : s = r, o.destination = new Ln(s), o;
773
736
  }
774
737
  return t;
775
- }(Nr);
738
+ }(Br);
776
739
  function nt(e) {
777
- zn(e);
740
+ On(e);
778
741
  }
779
- function Wn(e) {
742
+ function Mn(e) {
780
743
  throw e;
781
744
  }
782
- var Zn = {
745
+ var Nn = {
783
746
  closed: !0,
784
- next: tr,
785
- error: Wn,
786
- complete: tr
787
- }, qn = function() {
747
+ next: Zt,
748
+ error: Mn,
749
+ complete: Zt
750
+ }, Rn = function() {
788
751
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
789
752
  }();
790
- function Jn(e) {
753
+ function Un(e) {
791
754
  return e;
792
755
  }
793
- function Qn(e) {
794
- return e.length === 0 ? Jn : e.length === 1 ? e[0] : function(r) {
756
+ function Fn(e) {
757
+ return e.length === 0 ? Un : e.length === 1 ? e[0] : function(r) {
795
758
  return e.reduce(function(n, i) {
796
759
  return i(n);
797
760
  }, r);
798
761
  };
799
762
  }
800
- var rr = function() {
763
+ var qt = function() {
801
764
  function e(t) {
802
765
  t && (this._subscribe = t);
803
766
  }
@@ -805,10 +768,10 @@ var rr = function() {
805
768
  var r = new e();
806
769
  return r.source = this, r.operator = t, r;
807
770
  }, e.prototype.subscribe = function(t, r, n) {
808
- var i = this, o = Kn(t) ? t : new Ot(t, r, n);
771
+ var i = this, o = kn(t) ? t : new It(t, r, n);
809
772
  return st(function() {
810
- var s = i, a = s.operator, u = s.source;
811
- o.add(a ? a.call(o, u) : u ? i._subscribe(o) : i._trySubscribe(o));
773
+ var s = i, a = s.operator, c = s.source;
774
+ o.add(a ? a.call(o, c) : c ? i._subscribe(o) : i._trySubscribe(o));
812
775
  }), o;
813
776
  }, e.prototype._trySubscribe = function(t) {
814
777
  try {
@@ -818,13 +781,13 @@ var rr = function() {
818
781
  }
819
782
  }, e.prototype.forEach = function(t, r) {
820
783
  var n = this;
821
- return r = nr(r), new r(function(i, o) {
822
- var s = new Ot({
784
+ return r = Jt(r), new r(function(i, o) {
785
+ var s = new It({
823
786
  next: function(a) {
824
787
  try {
825
788
  t(a);
826
- } catch (u) {
827
- o(u), s.unsubscribe();
789
+ } catch (c) {
790
+ o(c), s.unsubscribe();
828
791
  }
829
792
  },
830
793
  error: o,
@@ -835,15 +798,15 @@ var rr = function() {
835
798
  }, e.prototype._subscribe = function(t) {
836
799
  var r;
837
800
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
838
- }, e.prototype[qn] = function() {
801
+ }, e.prototype[Rn] = function() {
839
802
  return this;
840
803
  }, e.prototype.pipe = function() {
841
804
  for (var t = [], r = 0; r < arguments.length; r++)
842
805
  t[r] = arguments[r];
843
- return Qn(t)(this);
806
+ return Fn(t)(this);
844
807
  }, e.prototype.toPromise = function(t) {
845
808
  var r = this;
846
- return t = nr(t), new t(function(n, i) {
809
+ return t = Jt(t), new t(function(n, i) {
847
810
  var o;
848
811
  r.subscribe(function(s) {
849
812
  return o = s;
@@ -857,32 +820,32 @@ var rr = function() {
857
820
  return new e(t);
858
821
  }, e;
859
822
  }();
860
- function nr(e) {
823
+ function Jt(e) {
861
824
  var t;
862
- return (t = e != null ? e : jn.Promise) !== null && t !== void 0 ? t : Promise;
825
+ return (t = e ?? In.Promise) !== null && t !== void 0 ? t : Promise;
863
826
  }
864
- function Yn(e) {
865
- return e && le(e.next) && le(e.error) && le(e.complete);
827
+ function Dn(e) {
828
+ return e && ae(e.next) && ae(e.error) && ae(e.complete);
866
829
  }
867
- function Kn(e) {
868
- return e && e instanceof Nr || Yn(e) && Mr(e);
830
+ function kn(e) {
831
+ return e && e instanceof Br || Dn(e) && Hr(e);
869
832
  }
870
- var ei = Or(function(e) {
833
+ var $n = Pr(function(e) {
871
834
  return function() {
872
835
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
873
836
  };
874
- }), Rr = function(e) {
875
- ue(t, e);
837
+ }), Ar = function(e) {
838
+ le(t, e);
876
839
  function t() {
877
840
  var r = e.call(this) || this;
878
841
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
879
842
  }
880
843
  return t.prototype.lift = function(r) {
881
- var n = new ir(this, this);
844
+ var n = new Qt(this, this);
882
845
  return n.operator = r, n;
883
846
  }, t.prototype._throwIfClosed = function() {
884
847
  if (this.closed)
885
- throw new ei();
848
+ throw new $n();
886
849
  }, t.prototype.next = function(r) {
887
850
  var n = this;
888
851
  st(function() {
@@ -890,9 +853,9 @@ var ei = Or(function(e) {
890
853
  if (n._throwIfClosed(), !n.isStopped) {
891
854
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
892
855
  try {
893
- for (var s = At(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
894
- var u = a.value;
895
- u.next(r);
856
+ for (var s = Ht(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
857
+ var c = a.value;
858
+ c.next(r);
896
859
  }
897
860
  } catch (l) {
898
861
  i = { error: l };
@@ -938,20 +901,20 @@ var ei = Or(function(e) {
938
901
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
939
902
  }, t.prototype._innerSubscribe = function(r) {
940
903
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
941
- return o || s ? Lr : (this.currentObservers = null, a.push(r), new ft(function() {
942
- n.currentObservers = null, Ct(a, r);
904
+ return o || s ? Tr : (this.currentObservers = null, a.push(r), new ft(function() {
905
+ n.currentObservers = null, At(a, r);
943
906
  }));
944
907
  }, t.prototype._checkFinalizedStatuses = function(r) {
945
908
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
946
909
  i ? r.error(o) : s && r.complete();
947
910
  }, t.prototype.asObservable = function() {
948
- var r = new rr();
911
+ var r = new qt();
949
912
  return r.source = this, r;
950
913
  }, t.create = function(r, n) {
951
- return new ir(r, n);
914
+ return new Qt(r, n);
952
915
  }, t;
953
- }(rr), ir = function(e) {
954
- ue(t, e);
916
+ }(qt), Qt = function(e) {
917
+ le(t, e);
955
918
  function t(r, n) {
956
919
  var i = e.call(this) || this;
957
920
  return i.destination = r, i.source = n, i;
@@ -967,45 +930,45 @@ var ei = Or(function(e) {
967
930
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
968
931
  }, t.prototype._subscribe = function(r) {
969
932
  var n, i;
970
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Lr;
933
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Tr;
971
934
  }, t;
972
- }(Rr), Ur = {
935
+ }(Ar), Ir = {
973
936
  now: function() {
974
- return (Ur.delegate || Date).now();
937
+ return (Ir.delegate || Date).now();
975
938
  },
976
939
  delegate: void 0
977
- }, ti = function(e) {
978
- ue(t, e);
940
+ }, Gn = function(e) {
941
+ le(t, e);
979
942
  function t(r, n, i) {
980
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Ur);
943
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Ir);
981
944
  var o = e.call(this) || this;
982
945
  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;
983
946
  }
984
947
  return t.prototype.next = function(r) {
985
- var n = this, i = n.isStopped, o = n._buffer, s = n._infiniteTimeWindow, a = n._timestampProvider, u = n._windowTime;
986
- i || (o.push(r), !s && o.push(a.now() + u)), this._trimBuffer(), e.prototype.next.call(this, r);
948
+ var n = this, i = n.isStopped, o = n._buffer, s = n._infiniteTimeWindow, a = n._timestampProvider, c = n._windowTime;
949
+ i || (o.push(r), !s && o.push(a.now() + c)), this._trimBuffer(), e.prototype.next.call(this, r);
987
950
  }, t.prototype._subscribe = function(r) {
988
951
  this._throwIfClosed(), this._trimBuffer();
989
- for (var n = this._innerSubscribe(r), i = this, o = i._infiniteTimeWindow, s = i._buffer, a = s.slice(), u = 0; u < a.length && !r.closed; u += o ? 1 : 2)
990
- r.next(a[u]);
952
+ for (var n = this._innerSubscribe(r), i = this, o = i._infiniteTimeWindow, s = i._buffer, a = s.slice(), c = 0; c < a.length && !r.closed; c += o ? 1 : 2)
953
+ r.next(a[c]);
991
954
  return this._checkFinalizedStatuses(r), n;
992
955
  }, t.prototype._trimBuffer = function() {
993
956
  var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, s = r._infiniteTimeWindow, a = (s ? 1 : 2) * n;
994
957
  if (n < 1 / 0 && a < o.length && o.splice(0, o.length - a), !s) {
995
- for (var u = i.now(), l = 0, c = 1; c < o.length && o[c] <= u; c += 2)
996
- l = c;
958
+ for (var c = i.now(), l = 0, u = 1; u < o.length && o[u] <= c; u += 2)
959
+ l = u;
997
960
  l && o.splice(0, l + 1);
998
961
  }
999
962
  }, t;
1000
- }(Rr);
1001
- const or = [], sr = {}, ri = (e, t = 0) => {
1002
- if (or.indexOf(e) == -1) {
1003
- const r = new ti(t);
1004
- sr[e] = r, or.push(e);
963
+ }(Ar);
964
+ const Yt = [], Kt = {}, jn = (e, t = 0) => {
965
+ if (Yt.indexOf(e) == -1) {
966
+ const r = new Gn(t);
967
+ Kt[e] = r, Yt.push(e);
1005
968
  }
1006
- return sr[e];
1007
- }, Pe = [];
1008
- function ni(e, t) {
969
+ return Kt[e];
970
+ }, Se = [];
971
+ function Vn(e, t) {
1009
972
  return {
1010
973
  subscribe: dt(e, t).subscribe
1011
974
  };
@@ -1014,167 +977,167 @@ function dt(e, t = Z) {
1014
977
  let r;
1015
978
  const n = /* @__PURE__ */ new Set();
1016
979
  function i(a) {
1017
- if (Ar(e, a) && (e = a, r)) {
1018
- const u = !Pe.length;
980
+ if (wr(e, a) && (e = a, r)) {
981
+ const c = !Se.length;
1019
982
  for (const l of n)
1020
- l[1](), Pe.push(l, e);
1021
- if (u) {
1022
- for (let l = 0; l < Pe.length; l += 2)
1023
- Pe[l][0](Pe[l + 1]);
1024
- Pe.length = 0;
983
+ l[1](), Se.push(l, e);
984
+ if (c) {
985
+ for (let l = 0; l < Se.length; l += 2)
986
+ Se[l][0](Se[l + 1]);
987
+ Se.length = 0;
1025
988
  }
1026
989
  }
1027
990
  }
1028
991
  function o(a) {
1029
992
  i(a(e));
1030
993
  }
1031
- function s(a, u = Z) {
1032
- const l = [a, u];
994
+ function s(a, c = Z) {
995
+ const l = [a, c];
1033
996
  return n.add(l), n.size === 1 && (r = t(i, o) || Z), a(e), () => {
1034
997
  n.delete(l), n.size === 0 && r && (r(), r = null);
1035
998
  };
1036
999
  }
1037
1000
  return { set: i, update: o, subscribe: s };
1038
1001
  }
1039
- function Me(e, t, r) {
1002
+ function Le(e, t, r) {
1040
1003
  const n = !Array.isArray(e), i = n ? [e] : e;
1041
1004
  if (!i.every(Boolean))
1042
1005
  throw new Error("derived() expects stores as input, got a falsy value");
1043
1006
  const o = t.length < 2;
1044
- return ni(r, (s, a) => {
1045
- let u = !1;
1007
+ return Vn(r, (s, a) => {
1008
+ let c = !1;
1046
1009
  const l = [];
1047
- let c = 0, f = Z;
1010
+ let u = 0, f = Z;
1048
1011
  const d = () => {
1049
- if (c)
1012
+ if (u)
1050
1013
  return;
1051
1014
  f();
1052
1015
  const v = t(n ? l[0] : l, s, a);
1053
- o ? s(v) : f = $t(v) ? v : Z;
1016
+ o ? s(v) : f = Dt(v) ? v : Z;
1054
1017
  }, b = i.map(
1055
- (v, g) => Ir(
1018
+ (v, g) => xr(
1056
1019
  v,
1057
1020
  (x) => {
1058
- l[g] = x, c &= ~(1 << g), u && d();
1021
+ l[g] = x, u &= ~(1 << g), c && d();
1059
1022
  },
1060
1023
  () => {
1061
- c |= 1 << g;
1024
+ u |= 1 << g;
1062
1025
  }
1063
1026
  )
1064
1027
  );
1065
- return u = !0, d(), function() {
1066
- Le(b), f(), u = !1;
1028
+ return c = !0, d(), function() {
1029
+ Oe(b), f(), c = !1;
1067
1030
  };
1068
1031
  });
1069
1032
  }
1070
- function ii(e) {
1033
+ function zn(e) {
1071
1034
  return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1072
1035
  }
1073
- var oi = function(t) {
1074
- return si(t) && !ai(t);
1036
+ var Xn = function(t) {
1037
+ return Wn(t) && !Zn(t);
1075
1038
  };
1076
- function si(e) {
1039
+ function Wn(e) {
1077
1040
  return !!e && typeof e == "object";
1078
1041
  }
1079
- function ai(e) {
1042
+ function Zn(e) {
1080
1043
  var t = Object.prototype.toString.call(e);
1081
- return t === "[object RegExp]" || t === "[object Date]" || ci(e);
1044
+ return t === "[object RegExp]" || t === "[object Date]" || Qn(e);
1082
1045
  }
1083
- var li = typeof Symbol == "function" && Symbol.for, ui = li ? Symbol.for("react.element") : 60103;
1084
- function ci(e) {
1085
- return e.$$typeof === ui;
1046
+ var qn = typeof Symbol == "function" && Symbol.for, Jn = qn ? Symbol.for("react.element") : 60103;
1047
+ function Qn(e) {
1048
+ return e.$$typeof === Jn;
1086
1049
  }
1087
- function hi(e) {
1050
+ function Yn(e) {
1088
1051
  return Array.isArray(e) ? [] : {};
1089
1052
  }
1090
- function Ze(e, t) {
1091
- return t.clone !== !1 && t.isMergeableObject(e) ? Ae(hi(e), e, t) : e;
1053
+ function We(e, t) {
1054
+ return t.clone !== !1 && t.isMergeableObject(e) ? Be(Yn(e), e, t) : e;
1092
1055
  }
1093
- function fi(e, t, r) {
1056
+ function Kn(e, t, r) {
1094
1057
  return e.concat(t).map(function(n) {
1095
- return Ze(n, r);
1058
+ return We(n, r);
1096
1059
  });
1097
1060
  }
1098
- function di(e, t) {
1061
+ function ei(e, t) {
1099
1062
  if (!t.customMerge)
1100
- return Ae;
1063
+ return Be;
1101
1064
  var r = t.customMerge(e);
1102
- return typeof r == "function" ? r : Ae;
1065
+ return typeof r == "function" ? r : Be;
1103
1066
  }
1104
- function mi(e) {
1067
+ function ti(e) {
1105
1068
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1106
1069
  return Object.propertyIsEnumerable.call(e, t);
1107
1070
  }) : [];
1108
1071
  }
1109
- function ar(e) {
1110
- return Object.keys(e).concat(mi(e));
1072
+ function er(e) {
1073
+ return Object.keys(e).concat(ti(e));
1111
1074
  }
1112
- function Fr(e, t) {
1075
+ function Cr(e, t) {
1113
1076
  try {
1114
1077
  return t in e;
1115
- } catch (r) {
1078
+ } catch {
1116
1079
  return !1;
1117
1080
  }
1118
1081
  }
1119
- function pi(e, t) {
1120
- return Fr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1082
+ function ri(e, t) {
1083
+ return Cr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1121
1084
  }
1122
- function gi(e, t, r) {
1085
+ function ni(e, t, r) {
1123
1086
  var n = {};
1124
- return r.isMergeableObject(e) && ar(e).forEach(function(i) {
1125
- n[i] = Ze(e[i], r);
1126
- }), ar(t).forEach(function(i) {
1127
- pi(e, i) || (Fr(e, i) && r.isMergeableObject(t[i]) ? n[i] = di(i, r)(e[i], t[i], r) : n[i] = Ze(t[i], r));
1087
+ return r.isMergeableObject(e) && er(e).forEach(function(i) {
1088
+ n[i] = We(e[i], r);
1089
+ }), er(t).forEach(function(i) {
1090
+ ri(e, i) || (Cr(e, i) && r.isMergeableObject(t[i]) ? n[i] = ei(i, r)(e[i], t[i], r) : n[i] = We(t[i], r));
1128
1091
  }), n;
1129
1092
  }
1130
- function Ae(e, t, r) {
1131
- r = r || {}, r.arrayMerge = r.arrayMerge || fi, r.isMergeableObject = r.isMergeableObject || oi, r.cloneUnlessOtherwiseSpecified = Ze;
1093
+ function Be(e, t, r) {
1094
+ r = r || {}, r.arrayMerge = r.arrayMerge || Kn, r.isMergeableObject = r.isMergeableObject || Xn, r.cloneUnlessOtherwiseSpecified = We;
1132
1095
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1133
- return o ? n ? r.arrayMerge(e, t, r) : gi(e, t, r) : Ze(t, r);
1096
+ return o ? n ? r.arrayMerge(e, t, r) : ni(e, t, r) : We(t, r);
1134
1097
  }
1135
- Ae.all = function(t, r) {
1098
+ Be.all = function(t, r) {
1136
1099
  if (!Array.isArray(t))
1137
1100
  throw new Error("first argument should be an array");
1138
1101
  return t.reduce(function(n, i) {
1139
- return Ae(n, i, r);
1102
+ return Be(n, i, r);
1140
1103
  }, {});
1141
1104
  };
1142
- var bi = Ae, yi = bi;
1143
- const vi = /* @__PURE__ */ ii(yi);
1144
- function Et(e, t) {
1145
- var r = t && t.cache ? t.cache : Ti, n = t && t.serializer ? t.serializer : Si, i = t && t.strategy ? t.strategy : Ei;
1105
+ var ii = Be, oi = ii;
1106
+ const si = /* @__PURE__ */ zn(oi);
1107
+ function vt(e, t) {
1108
+ var r = t && t.cache ? t.cache : di, n = t && t.serializer ? t.serializer : hi, i = t && t.strategy ? t.strategy : li;
1146
1109
  return i(e, {
1147
1110
  cache: r,
1148
1111
  serializer: n
1149
1112
  });
1150
1113
  }
1151
- function _i(e) {
1114
+ function ai(e) {
1152
1115
  return e == null || typeof e == "number" || typeof e == "boolean";
1153
1116
  }
1154
- function Dr(e, t, r, n) {
1155
- var i = _i(n) ? n : r(n), o = t.get(i);
1156
- return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
1117
+ function Or(e, t, r, n) {
1118
+ var i = ai(n) ? n : r(n), o = t.get(i);
1119
+ return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1157
1120
  }
1158
- function kr(e, t, r) {
1121
+ function Lr(e, t, r) {
1159
1122
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1160
- return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
1123
+ return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1161
1124
  }
1162
- function Gt(e, t, r, n, i) {
1125
+ function kt(e, t, r, n, i) {
1163
1126
  return r.bind(t, e, n, i);
1164
1127
  }
1165
- function Ei(e, t) {
1166
- var r = e.length === 1 ? Dr : kr;
1167
- return Gt(e, this, r, t.cache.create(), t.serializer);
1128
+ function li(e, t) {
1129
+ var r = e.length === 1 ? Or : Lr;
1130
+ return kt(e, this, r, t.cache.create(), t.serializer);
1168
1131
  }
1169
- function wi(e, t) {
1170
- return Gt(e, this, kr, t.cache.create(), t.serializer);
1132
+ function ui(e, t) {
1133
+ return kt(e, this, Lr, t.cache.create(), t.serializer);
1171
1134
  }
1172
- function xi(e, t) {
1173
- return Gt(e, this, Dr, t.cache.create(), t.serializer);
1135
+ function ci(e, t) {
1136
+ return kt(e, this, Or, t.cache.create(), t.serializer);
1174
1137
  }
1175
- var Si = function() {
1138
+ var hi = function() {
1176
1139
  return JSON.stringify(arguments);
1177
- }, Pi = (
1140
+ }, fi = (
1178
1141
  /** @class */
1179
1142
  function() {
1180
1143
  function e() {
@@ -1186,13 +1149,13 @@ var Si = function() {
1186
1149
  this.cache[t] = r;
1187
1150
  }, e;
1188
1151
  }()
1189
- ), Ti = {
1152
+ ), di = {
1190
1153
  create: function() {
1191
- return new Pi();
1154
+ return new fi();
1192
1155
  }
1193
- }, wt = {
1194
- variadic: wi,
1195
- monadic: xi
1156
+ }, _t = {
1157
+ variadic: ui,
1158
+ monadic: ci
1196
1159
  }, _;
1197
1160
  (function(e) {
1198
1161
  e[e.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", e[e.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", e[e.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", e[e.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", e[e.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", e[e.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", e[e.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", e[e.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", e[e.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", e[e.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", e[e.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", e[e.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", e[e.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", e[e.INVALID_TAG = 23] = "INVALID_TAG", e[e.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", e[e.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", e[e.UNCLOSED_TAG = 27] = "UNCLOSED_TAG";
@@ -1201,47 +1164,47 @@ var T;
1201
1164
  (function(e) {
1202
1165
  e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
1203
1166
  })(T || (T = {}));
1204
- var Ie;
1167
+ var Ae;
1205
1168
  (function(e) {
1206
1169
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1207
- })(Ie || (Ie = {}));
1208
- function lr(e) {
1170
+ })(Ae || (Ae = {}));
1171
+ function tr(e) {
1209
1172
  return e.type === T.literal;
1210
1173
  }
1211
- function Hi(e) {
1174
+ function mi(e) {
1212
1175
  return e.type === T.argument;
1213
1176
  }
1214
- function $r(e) {
1177
+ function Mr(e) {
1215
1178
  return e.type === T.number;
1216
1179
  }
1217
- function Gr(e) {
1180
+ function Nr(e) {
1218
1181
  return e.type === T.date;
1219
1182
  }
1220
- function jr(e) {
1183
+ function Rr(e) {
1221
1184
  return e.type === T.time;
1222
1185
  }
1223
- function Vr(e) {
1186
+ function Ur(e) {
1224
1187
  return e.type === T.select;
1225
1188
  }
1226
- function zr(e) {
1189
+ function Fr(e) {
1227
1190
  return e.type === T.plural;
1228
1191
  }
1229
- function Bi(e) {
1192
+ function pi(e) {
1230
1193
  return e.type === T.pound;
1231
1194
  }
1232
- function Xr(e) {
1195
+ function Dr(e) {
1233
1196
  return e.type === T.tag;
1234
1197
  }
1235
- function Wr(e) {
1236
- return !!(e && typeof e == "object" && e.type === Ie.number);
1198
+ function kr(e) {
1199
+ return !!(e && typeof e == "object" && e.type === Ae.number);
1237
1200
  }
1238
- function Lt(e) {
1239
- return !!(e && typeof e == "object" && e.type === Ie.dateTime);
1201
+ function Ct(e) {
1202
+ return !!(e && typeof e == "object" && e.type === Ae.dateTime);
1240
1203
  }
1241
- var Zr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Ai = /(?:[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;
1242
- function Ii(e) {
1204
+ var $r = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, gi = /(?:[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;
1205
+ function bi(e) {
1243
1206
  var t = {};
1244
- return e.replace(Ai, function(r) {
1207
+ return e.replace(gi, function(r) {
1245
1208
  var n = r.length;
1246
1209
  switch (r[0]) {
1247
1210
  case "G":
@@ -1330,36 +1293,36 @@ function Ii(e) {
1330
1293
  return "";
1331
1294
  }), t;
1332
1295
  }
1333
- var Ci = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1334
- function Oi(e) {
1296
+ var yi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1297
+ function vi(e) {
1335
1298
  if (e.length === 0)
1336
1299
  throw new Error("Number skeleton cannot be empty");
1337
- for (var t = e.split(Ci).filter(function(d) {
1300
+ for (var t = e.split(yi).filter(function(d) {
1338
1301
  return d.length > 0;
1339
1302
  }), r = [], n = 0, i = t; n < i.length; n++) {
1340
1303
  var o = i[n], s = o.split("/");
1341
1304
  if (s.length === 0)
1342
1305
  throw new Error("Invalid number skeleton");
1343
- for (var a = s[0], u = s.slice(1), l = 0, c = u; l < c.length; l++) {
1344
- var f = c[l];
1306
+ for (var a = s[0], c = s.slice(1), l = 0, u = c; l < u.length; l++) {
1307
+ var f = u[l];
1345
1308
  if (f.length === 0)
1346
1309
  throw new Error("Invalid number skeleton");
1347
1310
  }
1348
- r.push({ stem: a, options: u });
1311
+ r.push({ stem: a, options: c });
1349
1312
  }
1350
1313
  return r;
1351
1314
  }
1352
- function Li(e) {
1315
+ function _i(e) {
1353
1316
  return e.replace(/^(.*?)-/, "");
1354
1317
  }
1355
- var ur = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, qr = /^(@+)?(\+|#+)?[rs]?$/g, Mi = /(\*)(0+)|(#+)(0+)|(0+)/g, Jr = /^(0+)$/;
1356
- function cr(e) {
1318
+ var rr = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Gr = /^(@+)?(\+|#+)?[rs]?$/g, Ei = /(\*)(0+)|(#+)(0+)|(0+)/g, jr = /^(0+)$/;
1319
+ function nr(e) {
1357
1320
  var t = {};
1358
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(qr, function(r, n, i) {
1321
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Gr, function(r, n, i) {
1359
1322
  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)), "";
1360
1323
  }), t;
1361
1324
  }
1362
- function Qr(e) {
1325
+ function Vr(e) {
1363
1326
  switch (e) {
1364
1327
  case "sign-auto":
1365
1328
  return {
@@ -1399,7 +1362,7 @@ function Qr(e) {
1399
1362
  };
1400
1363
  }
1401
1364
  }
1402
- function Ni(e) {
1365
+ function wi(e) {
1403
1366
  var t;
1404
1367
  if (e[0] === "E" && e[1] === "E" ? (t = {
1405
1368
  notation: "engineering"
@@ -1407,17 +1370,17 @@ function Ni(e) {
1407
1370
  notation: "scientific"
1408
1371
  }, e = e.slice(1)), t) {
1409
1372
  var r = e.slice(0, 2);
1410
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Jr.test(e))
1373
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !jr.test(e))
1411
1374
  throw new Error("Malformed concise eng/scientific notation");
1412
1375
  t.minimumIntegerDigits = e.length;
1413
1376
  }
1414
1377
  return t;
1415
1378
  }
1416
- function hr(e) {
1417
- var t = {}, r = Qr(e);
1379
+ function ir(e) {
1380
+ var t = {}, r = Vr(e);
1418
1381
  return r || t;
1419
1382
  }
1420
- function Ri(e) {
1383
+ function xi(e) {
1421
1384
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1422
1385
  var i = n[r];
1423
1386
  switch (i.stem) {
@@ -1441,7 +1404,7 @@ function Ri(e) {
1441
1404
  continue;
1442
1405
  case "measure-unit":
1443
1406
  case "unit":
1444
- t.style = "unit", t.unit = Li(i.options[0]);
1407
+ t.style = "unit", t.unit = _i(i.options[0]);
1445
1408
  continue;
1446
1409
  case "compact-short":
1447
1410
  case "K":
@@ -1452,13 +1415,13 @@ function Ri(e) {
1452
1415
  t.notation = "compact", t.compactDisplay = "long";
1453
1416
  continue;
1454
1417
  case "scientific":
1455
- t = w(w(w({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
1456
- return w(w({}, u), hr(l));
1418
+ t = w(w(w({}, t), { notation: "scientific" }), i.options.reduce(function(c, l) {
1419
+ return w(w({}, c), ir(l));
1457
1420
  }, {}));
1458
1421
  continue;
1459
1422
  case "engineering":
1460
- t = w(w(w({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
1461
- return w(w({}, u), hr(l));
1423
+ t = w(w(w({}, t), { notation: "engineering" }), i.options.reduce(function(c, l) {
1424
+ return w(w({}, c), ir(l));
1462
1425
  }, {}));
1463
1426
  continue;
1464
1427
  case "notation-simple":
@@ -1503,9 +1466,9 @@ function Ri(e) {
1503
1466
  case "integer-width":
1504
1467
  if (i.options.length > 1)
1505
1468
  throw new RangeError("integer-width stems only accept a single optional option");
1506
- i.options[0].replace(Mi, function(u, l, c, f, d, b) {
1469
+ i.options[0].replace(Ei, function(c, l, u, f, d, b) {
1507
1470
  if (l)
1508
- t.minimumIntegerDigits = c.length;
1471
+ t.minimumIntegerDigits = u.length;
1509
1472
  else {
1510
1473
  if (f && d)
1511
1474
  throw new Error("We currently do not support maximum integer digits");
@@ -1516,27 +1479,27 @@ function Ri(e) {
1516
1479
  });
1517
1480
  continue;
1518
1481
  }
1519
- if (Jr.test(i.stem)) {
1482
+ if (jr.test(i.stem)) {
1520
1483
  t.minimumIntegerDigits = i.stem.length;
1521
1484
  continue;
1522
1485
  }
1523
- if (ur.test(i.stem)) {
1486
+ if (rr.test(i.stem)) {
1524
1487
  if (i.options.length > 1)
1525
1488
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1526
- i.stem.replace(ur, function(u, l, c, f, d, b) {
1527
- 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), "";
1489
+ i.stem.replace(rr, function(c, l, u, f, d, b) {
1490
+ return u === "*" ? 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), "";
1528
1491
  });
1529
1492
  var o = i.options[0];
1530
- o === "w" ? t = w(w({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = w(w({}, t), cr(o)));
1493
+ o === "w" ? t = w(w({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = w(w({}, t), nr(o)));
1531
1494
  continue;
1532
1495
  }
1533
- if (qr.test(i.stem)) {
1534
- t = w(w({}, t), cr(i.stem));
1496
+ if (Gr.test(i.stem)) {
1497
+ t = w(w({}, t), nr(i.stem));
1535
1498
  continue;
1536
1499
  }
1537
- var s = Qr(i.stem);
1500
+ var s = Vr(i.stem);
1538
1501
  s && (t = w(w({}, t), s));
1539
- var a = Ni(i.stem);
1502
+ var a = wi(i.stem);
1540
1503
  a && (t = w(w({}, t), a));
1541
1504
  }
1542
1505
  return t;
@@ -2956,22 +2919,22 @@ var it = {
2956
2919
  "h"
2957
2920
  ]
2958
2921
  };
2959
- function Ui(e, t) {
2922
+ function Si(e, t) {
2960
2923
  for (var r = "", n = 0; n < e.length; n++) {
2961
2924
  var i = e.charAt(n);
2962
2925
  if (i === "j") {
2963
2926
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2964
2927
  o++, n++;
2965
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = Fi(t);
2928
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), c = "a", l = Pi(t);
2966
2929
  for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
2967
- r += u;
2930
+ r += c;
2968
2931
  for (; s-- > 0; )
2969
2932
  r = l + r;
2970
2933
  } else i === "J" ? r += "H" : r += i;
2971
2934
  }
2972
2935
  return r;
2973
2936
  }
2974
- function Fi(e) {
2937
+ function Pi(e) {
2975
2938
  var t = e.hourCycle;
2976
2939
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2977
2940
  e.hourCycles && // @ts-ignore
@@ -2993,20 +2956,20 @@ function Fi(e) {
2993
2956
  var i = it[n || ""] || it[r || ""] || it["".concat(r, "-001")] || it["001"];
2994
2957
  return i[0];
2995
2958
  }
2996
- var xt, Di = new RegExp("^".concat(Zr.source, "*")), ki = new RegExp("".concat(Zr.source, "*$"));
2959
+ var Et, Ti = new RegExp("^".concat($r.source, "*")), Hi = new RegExp("".concat($r.source, "*$"));
2997
2960
  function E(e, t) {
2998
2961
  return { start: e, end: t };
2999
2962
  }
3000
- var $i = !!String.prototype.startsWith && "_a".startsWith("a", 1), Gi = !!String.fromCodePoint, ji = !!Object.fromEntries, Vi = !!String.prototype.codePointAt, zi = !!String.prototype.trimStart, Xi = !!String.prototype.trimEnd, Wi = !!Number.isSafeInteger, Zi = Wi ? Number.isSafeInteger : function(e) {
2963
+ var Bi = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ai = !!String.fromCodePoint, Ii = !!Object.fromEntries, Ci = !!String.prototype.codePointAt, Oi = !!String.prototype.trimStart, Li = !!String.prototype.trimEnd, Mi = !!Number.isSafeInteger, Ni = Mi ? Number.isSafeInteger : function(e) {
3001
2964
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3002
- }, Mt = !0;
2965
+ }, Ot = !0;
3003
2966
  try {
3004
- var qi = Kr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3005
- Mt = ((xt = qi.exec("a")) === null || xt === void 0 ? void 0 : xt[0]) === "a";
3006
- } catch (e) {
3007
- Mt = !1;
2967
+ var Ri = Xr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2968
+ Ot = ((Et = Ri.exec("a")) === null || Et === void 0 ? void 0 : Et[0]) === "a";
2969
+ } catch {
2970
+ Ot = !1;
3008
2971
  }
3009
- var fr = $i ? (
2972
+ var or = Bi ? (
3010
2973
  // Native
3011
2974
  function(t, r, n) {
3012
2975
  return t.startsWith(r, n);
@@ -3016,7 +2979,7 @@ var fr = $i ? (
3016
2979
  function(t, r, n) {
3017
2980
  return t.slice(n, n + r.length) === r;
3018
2981
  }
3019
- ), Nt = Gi ? String.fromCodePoint : (
2982
+ ), Lt = Ai ? String.fromCodePoint : (
3020
2983
  // IE11
3021
2984
  function() {
3022
2985
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3028,9 +2991,9 @@ var fr = $i ? (
3028
2991
  }
3029
2992
  return n;
3030
2993
  }
3031
- ), dr = (
2994
+ ), sr = (
3032
2995
  // native
3033
- ji ? Object.fromEntries : (
2996
+ Ii ? Object.fromEntries : (
3034
2997
  // Ponyfill
3035
2998
  function(t) {
3036
2999
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3040,7 +3003,7 @@ var fr = $i ? (
3040
3003
  return r;
3041
3004
  }
3042
3005
  )
3043
- ), Yr = Vi ? (
3006
+ ), zr = Ci ? (
3044
3007
  // Native
3045
3008
  function(t, r) {
3046
3009
  return t.codePointAt(r);
@@ -3054,7 +3017,7 @@ var fr = $i ? (
3054
3017
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3055
3018
  }
3056
3019
  }
3057
- ), Ji = zi ? (
3020
+ ), Ui = Oi ? (
3058
3021
  // Native
3059
3022
  function(t) {
3060
3023
  return t.trimStart();
@@ -3062,9 +3025,9 @@ var fr = $i ? (
3062
3025
  ) : (
3063
3026
  // Ponyfill
3064
3027
  function(t) {
3065
- return t.replace(Di, "");
3028
+ return t.replace(Ti, "");
3066
3029
  }
3067
- ), Qi = Xi ? (
3030
+ ), Fi = Li ? (
3068
3031
  // Native
3069
3032
  function(t) {
3070
3033
  return t.trimEnd();
@@ -3072,32 +3035,32 @@ var fr = $i ? (
3072
3035
  ) : (
3073
3036
  // Ponyfill
3074
3037
  function(t) {
3075
- return t.replace(ki, "");
3038
+ return t.replace(Hi, "");
3076
3039
  }
3077
3040
  );
3078
- function Kr(e, t) {
3041
+ function Xr(e, t) {
3079
3042
  return new RegExp(e, t);
3080
3043
  }
3081
- var Rt;
3082
- if (Mt) {
3083
- var mr = Kr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3084
- Rt = function(t, r) {
3044
+ var Mt;
3045
+ if (Ot) {
3046
+ var ar = Xr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3047
+ Mt = function(t, r) {
3085
3048
  var n;
3086
- mr.lastIndex = r;
3087
- var i = mr.exec(t);
3049
+ ar.lastIndex = r;
3050
+ var i = ar.exec(t);
3088
3051
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3089
3052
  };
3090
3053
  } else
3091
- Rt = function(t, r) {
3054
+ Mt = function(t, r) {
3092
3055
  for (var n = []; ; ) {
3093
- var i = Yr(t, r);
3094
- if (i === void 0 || en(i) || to(i))
3056
+ var i = zr(t, r);
3057
+ if (i === void 0 || Wr(i) || Gi(i))
3095
3058
  break;
3096
3059
  n.push(i), r += i >= 65536 ? 2 : 1;
3097
3060
  }
3098
- return Nt.apply(void 0, n);
3061
+ return Lt.apply(void 0, n);
3099
3062
  };
3100
- var Yi = (
3063
+ var Di = (
3101
3064
  /** @class */
3102
3065
  function() {
3103
3066
  function e(t, r) {
@@ -3128,7 +3091,7 @@ var Yi = (
3128
3091
  if (n)
3129
3092
  break;
3130
3093
  return this.error(_.UNMATCHED_CLOSING_TAG, E(this.clonePosition(), this.clonePosition()));
3131
- } else if (o === 60 && !this.ignoreTag && Ut(this.peek() || 0)) {
3094
+ } else if (o === 60 && !this.ignoreTag && Nt(this.peek() || 0)) {
3132
3095
  var s = this.parseTag(t, r);
3133
3096
  if (s.err)
3134
3097
  return s;
@@ -3161,10 +3124,10 @@ var Yi = (
3161
3124
  return o;
3162
3125
  var s = o.val, a = this.clonePosition();
3163
3126
  if (this.bumpIf("</")) {
3164
- if (this.isEOF() || !Ut(this.char()))
3127
+ if (this.isEOF() || !Nt(this.char()))
3165
3128
  return this.error(_.INVALID_TAG, E(a, this.clonePosition()));
3166
- var u = this.clonePosition(), l = this.parseTagName();
3167
- return i !== l ? this.error(_.UNMATCHED_CLOSING_TAG, E(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3129
+ var c = this.clonePosition(), l = this.parseTagName();
3130
+ return i !== l ? this.error(_.UNMATCHED_CLOSING_TAG, E(c, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3168
3131
  val: {
3169
3132
  type: T.tag,
3170
3133
  value: i,
@@ -3179,7 +3142,7 @@ var Yi = (
3179
3142
  return this.error(_.INVALID_TAG, E(n, this.clonePosition()));
3180
3143
  }, e.prototype.parseTagName = function() {
3181
3144
  var t = this.offset();
3182
- for (this.bump(); !this.isEOF() && eo(this.char()); )
3145
+ for (this.bump(); !this.isEOF() && $i(this.char()); )
3183
3146
  this.bump();
3184
3147
  return this.message.slice(t, this.offset());
3185
3148
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3201,14 +3164,14 @@ var Yi = (
3201
3164
  }
3202
3165
  break;
3203
3166
  }
3204
- var u = E(n, this.clonePosition());
3167
+ var c = E(n, this.clonePosition());
3205
3168
  return {
3206
- val: { type: T.literal, value: i, location: u },
3169
+ val: { type: T.literal, value: i, location: c },
3207
3170
  err: null
3208
3171
  };
3209
3172
  }, e.prototype.tryParseLeftAngleBracket = function() {
3210
3173
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3211
- !Ki(this.peek() || 0)) ? (this.bump(), "<") : null;
3174
+ !ki(this.peek() || 0)) ? (this.bump(), "<") : null;
3212
3175
  }, e.prototype.tryParseQuote = function(t) {
3213
3176
  if (this.isEOF() || this.char() !== 39)
3214
3177
  return null;
@@ -3242,12 +3205,12 @@ var Yi = (
3242
3205
  r.push(n);
3243
3206
  this.bump();
3244
3207
  }
3245
- return Nt.apply(void 0, r);
3208
+ return Lt.apply(void 0, r);
3246
3209
  }, e.prototype.tryParseUnquoted = function(t, r) {
3247
3210
  if (this.isEOF())
3248
3211
  return null;
3249
3212
  var n = this.char();
3250
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Nt(n));
3213
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Lt(n));
3251
3214
  }, e.prototype.parseArgument = function(t, r) {
3252
3215
  var n = this.clonePosition();
3253
3216
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3276,15 +3239,15 @@ var Yi = (
3276
3239
  return this.error(_.MALFORMED_ARGUMENT, E(n, this.clonePosition()));
3277
3240
  }
3278
3241
  }, e.prototype.parseIdentifierIfPossible = function() {
3279
- var t = this.clonePosition(), r = this.offset(), n = Rt(this.message, r), i = r + n.length;
3242
+ var t = this.clonePosition(), r = this.offset(), n = Mt(this.message, r), i = r + n.length;
3280
3243
  this.bumpTo(i);
3281
3244
  var o = this.clonePosition(), s = E(t, o);
3282
3245
  return { value: n, location: s };
3283
3246
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3284
- var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, u = this.clonePosition();
3247
+ var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, c = this.clonePosition();
3285
3248
  switch (a) {
3286
3249
  case "":
3287
- return this.error(_.EXPECT_ARGUMENT_TYPE, E(s, u));
3250
+ return this.error(_.EXPECT_ARGUMENT_TYPE, E(s, c));
3288
3251
  case "number":
3289
3252
  case "date":
3290
3253
  case "time": {
@@ -3292,21 +3255,21 @@ var Yi = (
3292
3255
  var l = null;
3293
3256
  if (this.bumpIf(",")) {
3294
3257
  this.bumpSpace();
3295
- var c = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3258
+ var u = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3296
3259
  if (f.err)
3297
3260
  return f;
3298
- var d = Qi(f.val);
3261
+ var d = Fi(f.val);
3299
3262
  if (d.length === 0)
3300
3263
  return this.error(_.EXPECT_ARGUMENT_STYLE, E(this.clonePosition(), this.clonePosition()));
3301
- var b = E(c, this.clonePosition());
3264
+ var b = E(u, this.clonePosition());
3302
3265
  l = { style: d, styleLocation: b };
3303
3266
  }
3304
3267
  var v = this.tryParseArgumentClose(i);
3305
3268
  if (v.err)
3306
3269
  return v;
3307
3270
  var g = E(i, this.clonePosition());
3308
- if (l && fr(l == null ? void 0 : l.style, "::", 0)) {
3309
- var x = Ji(l.style.slice(2));
3271
+ if (l && or(l?.style, "::", 0)) {
3272
+ var x = Ui(l.style.slice(2));
3310
3273
  if (a === "number") {
3311
3274
  var f = this.parseNumberSkeletonFromString(x, l.styleLocation);
3312
3275
  return f.err ? f : {
@@ -3317,12 +3280,12 @@ var Yi = (
3317
3280
  if (x.length === 0)
3318
3281
  return this.error(_.EXPECT_DATE_TIME_SKELETON, g);
3319
3282
  var M = x;
3320
- this.locale && (M = Ui(x, this.locale));
3283
+ this.locale && (M = Si(x, this.locale));
3321
3284
  var d = {
3322
- type: Ie.dateTime,
3285
+ type: Ae.dateTime,
3323
3286
  pattern: M,
3324
3287
  location: l.styleLocation,
3325
- parsedOptions: this.shouldParseSkeletons ? Ii(M) : {}
3288
+ parsedOptions: this.shouldParseSkeletons ? bi(M) : {}
3326
3289
  }, q = a === "date" ? T.date : T.time;
3327
3290
  return {
3328
3291
  val: { type: q, value: n, location: g, style: d },
@@ -3335,7 +3298,7 @@ var Yi = (
3335
3298
  type: a === "number" ? T.number : a === "date" ? T.date : T.time,
3336
3299
  value: n,
3337
3300
  location: g,
3338
- style: (o = l == null ? void 0 : l.style) !== null && o !== void 0 ? o : null
3301
+ style: (o = l?.style) !== null && o !== void 0 ? o : null
3339
3302
  },
3340
3303
  err: null
3341
3304
  };
@@ -3368,7 +3331,7 @@ var Yi = (
3368
3331
  val: {
3369
3332
  type: T.select,
3370
3333
  value: n,
3371
- options: dr(J.val),
3334
+ options: sr(J.val),
3372
3335
  location: B
3373
3336
  },
3374
3337
  err: null
@@ -3376,7 +3339,7 @@ var Yi = (
3376
3339
  val: {
3377
3340
  type: T.plural,
3378
3341
  value: n,
3379
- options: dr(J.val),
3342
+ options: sr(J.val),
3380
3343
  offset: G,
3381
3344
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3382
3345
  location: B
@@ -3385,7 +3348,7 @@ var Yi = (
3385
3348
  };
3386
3349
  }
3387
3350
  default:
3388
- return this.error(_.INVALID_ARGUMENT_TYPE, E(s, u));
3351
+ return this.error(_.INVALID_ARGUMENT_TYPE, E(s, c));
3389
3352
  }
3390
3353
  }, e.prototype.tryParseArgumentClose = function(t) {
3391
3354
  return this.isEOF() || this.char() !== 125 ? this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, E(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
@@ -3427,33 +3390,33 @@ var Yi = (
3427
3390
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3428
3391
  var n = [];
3429
3392
  try {
3430
- n = Oi(t);
3431
- } catch (i) {
3393
+ n = vi(t);
3394
+ } catch {
3432
3395
  return this.error(_.INVALID_NUMBER_SKELETON, r);
3433
3396
  }
3434
3397
  return {
3435
3398
  val: {
3436
- type: Ie.number,
3399
+ type: Ae.number,
3437
3400
  tokens: n,
3438
3401
  location: r,
3439
- parsedOptions: this.shouldParseSkeletons ? Ri(n) : {}
3402
+ parsedOptions: this.shouldParseSkeletons ? xi(n) : {}
3440
3403
  },
3441
3404
  err: null
3442
3405
  };
3443
3406
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3444
- for (var o, s = !1, a = [], u = /* @__PURE__ */ new Set(), l = i.value, c = i.location; ; ) {
3407
+ for (var o, s = !1, a = [], c = /* @__PURE__ */ new Set(), l = i.value, u = i.location; ; ) {
3445
3408
  if (l.length === 0) {
3446
3409
  var f = this.clonePosition();
3447
3410
  if (r !== "select" && this.bumpIf("=")) {
3448
3411
  var d = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_SELECTOR, _.INVALID_PLURAL_ARGUMENT_SELECTOR);
3449
3412
  if (d.err)
3450
3413
  return d;
3451
- c = E(f, this.clonePosition()), l = this.message.slice(f.offset, this.offset());
3414
+ u = E(f, this.clonePosition()), l = this.message.slice(f.offset, this.offset());
3452
3415
  } else
3453
3416
  break;
3454
3417
  }
3455
- if (u.has(l))
3456
- return this.error(r === "select" ? _.DUPLICATE_SELECT_ARGUMENT_SELECTOR : _.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, c);
3418
+ if (c.has(l))
3419
+ return this.error(r === "select" ? _.DUPLICATE_SELECT_ARGUMENT_SELECTOR : _.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, u);
3457
3420
  l === "other" && (s = !0), this.bumpSpace();
3458
3421
  var b = this.clonePosition();
3459
3422
  if (!this.bumpIf("{"))
@@ -3470,7 +3433,7 @@ var Yi = (
3470
3433
  value: v.val,
3471
3434
  location: E(b, this.clonePosition())
3472
3435
  }
3473
- ]), u.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, c = o.location;
3436
+ ]), c.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, u = o.location;
3474
3437
  }
3475
3438
  return a.length === 0 ? this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR : _.EXPECT_PLURAL_ARGUMENT_SELECTOR, E(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(_.MISSING_OTHER_CLAUSE, E(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3476
3439
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
@@ -3483,8 +3446,8 @@ var Yi = (
3483
3446
  else
3484
3447
  break;
3485
3448
  }
3486
- var u = E(i, this.clonePosition());
3487
- return o ? (s *= n, Zi(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
3449
+ var c = E(i, this.clonePosition());
3450
+ return o ? (s *= n, Ni(s) ? { val: s, err: null } : this.error(r, c)) : this.error(t, c);
3488
3451
  }, e.prototype.offset = function() {
3489
3452
  return this.position.offset;
3490
3453
  }, e.prototype.isEOF = function() {
@@ -3499,7 +3462,7 @@ var Yi = (
3499
3462
  var t = this.position.offset;
3500
3463
  if (t >= this.message.length)
3501
3464
  throw Error("out of bound");
3502
- var r = Yr(this.message, t);
3465
+ var r = zr(this.message, t);
3503
3466
  if (r === void 0)
3504
3467
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3505
3468
  return r;
@@ -3518,7 +3481,7 @@ var Yi = (
3518
3481
  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);
3519
3482
  }
3520
3483
  }, e.prototype.bumpIf = function(t) {
3521
- if (fr(this.message, t, this.offset())) {
3484
+ if (or(this.message, t, this.offset())) {
3522
3485
  for (var r = 0; r < t.length; r++)
3523
3486
  this.bump();
3524
3487
  return !0;
@@ -3540,56 +3503,56 @@ var Yi = (
3540
3503
  break;
3541
3504
  }
3542
3505
  }, e.prototype.bumpSpace = function() {
3543
- for (; !this.isEOF() && en(this.char()); )
3506
+ for (; !this.isEOF() && Wr(this.char()); )
3544
3507
  this.bump();
3545
3508
  }, e.prototype.peek = function() {
3546
3509
  if (this.isEOF())
3547
3510
  return null;
3548
3511
  var t = this.char(), r = this.offset(), n = this.message.charCodeAt(r + (t >= 65536 ? 2 : 1));
3549
- return n != null ? n : null;
3512
+ return n ?? null;
3550
3513
  }, e;
3551
3514
  }()
3552
3515
  );
3553
- function Ut(e) {
3516
+ function Nt(e) {
3554
3517
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3555
3518
  }
3556
- function Ki(e) {
3557
- return Ut(e) || e === 47;
3519
+ function ki(e) {
3520
+ return Nt(e) || e === 47;
3558
3521
  }
3559
- function eo(e) {
3522
+ function $i(e) {
3560
3523
  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;
3561
3524
  }
3562
- function en(e) {
3525
+ function Wr(e) {
3563
3526
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3564
3527
  }
3565
- function to(e) {
3528
+ function Gi(e) {
3566
3529
  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;
3567
3530
  }
3568
- function Ft(e) {
3531
+ function Rt(e) {
3569
3532
  e.forEach(function(t) {
3570
- if (delete t.location, Vr(t) || zr(t))
3533
+ if (delete t.location, Ur(t) || Fr(t))
3571
3534
  for (var r in t.options)
3572
- delete t.options[r].location, Ft(t.options[r].value);
3573
- else $r(t) && Wr(t.style) || (Gr(t) || jr(t)) && Lt(t.style) ? delete t.style.location : Xr(t) && Ft(t.children);
3535
+ delete t.options[r].location, Rt(t.options[r].value);
3536
+ else Mr(t) && kr(t.style) || (Nr(t) || Rr(t)) && Ct(t.style) ? delete t.style.location : Dr(t) && Rt(t.children);
3574
3537
  });
3575
3538
  }
3576
- function ro(e, t) {
3539
+ function ji(e, t) {
3577
3540
  t === void 0 && (t = {}), t = w({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3578
- var r = new Yi(e, t).parse();
3541
+ var r = new Di(e, t).parse();
3579
3542
  if (r.err) {
3580
3543
  var n = SyntaxError(_[r.err.kind]);
3581
3544
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3582
3545
  }
3583
- return t != null && t.captureLocation || Ft(r.val), r.val;
3546
+ return t?.captureLocation || Rt(r.val), r.val;
3584
3547
  }
3585
- var Ce;
3548
+ var Ie;
3586
3549
  (function(e) {
3587
3550
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3588
- })(Ce || (Ce = {}));
3551
+ })(Ie || (Ie = {}));
3589
3552
  var mt = (
3590
3553
  /** @class */
3591
3554
  function(e) {
3592
- ue(t, e);
3555
+ le(t, e);
3593
3556
  function t(r, n, i) {
3594
3557
  var o = e.call(this, r) || this;
3595
3558
  return o.code = n, o.originalMessage = i, o;
@@ -3598,30 +3561,30 @@ var mt = (
3598
3561
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3599
3562
  }, t;
3600
3563
  }(Error)
3601
- ), pr = (
3564
+ ), lr = (
3602
3565
  /** @class */
3603
3566
  function(e) {
3604
- ue(t, e);
3567
+ le(t, e);
3605
3568
  function t(r, n, i, o) {
3606
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Ce.INVALID_VALUE, o) || this;
3569
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Ie.INVALID_VALUE, o) || this;
3607
3570
  }
3608
3571
  return t;
3609
3572
  }(mt)
3610
- ), no = (
3573
+ ), Vi = (
3611
3574
  /** @class */
3612
3575
  function(e) {
3613
- ue(t, e);
3576
+ le(t, e);
3614
3577
  function t(r, n, i) {
3615
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Ce.INVALID_VALUE, i) || this;
3578
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Ie.INVALID_VALUE, i) || this;
3616
3579
  }
3617
3580
  return t;
3618
3581
  }(mt)
3619
- ), io = (
3582
+ ), zi = (
3620
3583
  /** @class */
3621
3584
  function(e) {
3622
- ue(t, e);
3585
+ le(t, e);
3623
3586
  function t(r, n) {
3624
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Ce.MISSING_VALUE, n) || this;
3587
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Ie.MISSING_VALUE, n) || this;
3625
3588
  }
3626
3589
  return t;
3627
3590
  }(mt)
@@ -3629,78 +3592,78 @@ var mt = (
3629
3592
  (function(e) {
3630
3593
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3631
3594
  })(X || (X = {}));
3632
- function oo(e) {
3595
+ function Xi(e) {
3633
3596
  return e.length < 2 ? e : e.reduce(function(t, r) {
3634
3597
  var n = t[t.length - 1];
3635
3598
  return !n || n.type !== X.literal || r.type !== X.literal ? t.push(r) : n.value += r.value, t;
3636
3599
  }, []);
3637
3600
  }
3638
- function so(e) {
3601
+ function Wi(e) {
3639
3602
  return typeof e == "function";
3640
3603
  }
3641
3604
  function at(e, t, r, n, i, o, s) {
3642
- if (e.length === 1 && lr(e[0]))
3605
+ if (e.length === 1 && tr(e[0]))
3643
3606
  return [
3644
3607
  {
3645
3608
  type: X.literal,
3646
3609
  value: e[0].value
3647
3610
  }
3648
3611
  ];
3649
- for (var a = [], u = 0, l = e; u < l.length; u++) {
3650
- var c = l[u];
3651
- if (lr(c)) {
3612
+ for (var a = [], c = 0, l = e; c < l.length; c++) {
3613
+ var u = l[c];
3614
+ if (tr(u)) {
3652
3615
  a.push({
3653
3616
  type: X.literal,
3654
- value: c.value
3617
+ value: u.value
3655
3618
  });
3656
3619
  continue;
3657
3620
  }
3658
- if (Bi(c)) {
3621
+ if (pi(u)) {
3659
3622
  typeof o == "number" && a.push({
3660
3623
  type: X.literal,
3661
3624
  value: r.getNumberFormat(t).format(o)
3662
3625
  });
3663
3626
  continue;
3664
3627
  }
3665
- var f = c.value;
3628
+ var f = u.value;
3666
3629
  if (!(i && f in i))
3667
- throw new io(f, s);
3630
+ throw new zi(f, s);
3668
3631
  var d = i[f];
3669
- if (Hi(c)) {
3632
+ if (mi(u)) {
3670
3633
  (!d || typeof d == "string" || typeof d == "number") && (d = typeof d == "string" || typeof d == "number" ? String(d) : ""), a.push({
3671
3634
  type: typeof d == "string" ? X.literal : X.object,
3672
3635
  value: d
3673
3636
  });
3674
3637
  continue;
3675
3638
  }
3676
- if (Gr(c)) {
3677
- var b = typeof c.style == "string" ? n.date[c.style] : Lt(c.style) ? c.style.parsedOptions : void 0;
3639
+ if (Nr(u)) {
3640
+ var b = typeof u.style == "string" ? n.date[u.style] : Ct(u.style) ? u.style.parsedOptions : void 0;
3678
3641
  a.push({
3679
3642
  type: X.literal,
3680
3643
  value: r.getDateTimeFormat(t, b).format(d)
3681
3644
  });
3682
3645
  continue;
3683
3646
  }
3684
- if (jr(c)) {
3685
- var b = typeof c.style == "string" ? n.time[c.style] : Lt(c.style) ? c.style.parsedOptions : n.time.medium;
3647
+ if (Rr(u)) {
3648
+ var b = typeof u.style == "string" ? n.time[u.style] : Ct(u.style) ? u.style.parsedOptions : n.time.medium;
3686
3649
  a.push({
3687
3650
  type: X.literal,
3688
3651
  value: r.getDateTimeFormat(t, b).format(d)
3689
3652
  });
3690
3653
  continue;
3691
3654
  }
3692
- if ($r(c)) {
3693
- var b = typeof c.style == "string" ? n.number[c.style] : Wr(c.style) ? c.style.parsedOptions : void 0;
3655
+ if (Mr(u)) {
3656
+ var b = typeof u.style == "string" ? n.number[u.style] : kr(u.style) ? u.style.parsedOptions : void 0;
3694
3657
  b && b.scale && (d = d * (b.scale || 1)), a.push({
3695
3658
  type: X.literal,
3696
3659
  value: r.getNumberFormat(t, b).format(d)
3697
3660
  });
3698
3661
  continue;
3699
3662
  }
3700
- if (Xr(c)) {
3701
- var v = c.children, g = c.value, x = i[g];
3702
- if (!so(x))
3703
- throw new no(g, "function", s);
3663
+ if (Dr(u)) {
3664
+ var v = u.children, g = u.value, x = i[g];
3665
+ if (!Wi(x))
3666
+ throw new Vi(g, "function", s);
3704
3667
  var M = at(v, t, r, n, i, o), q = x(M.map(function(G) {
3705
3668
  return G.value;
3706
3669
  }));
@@ -3711,42 +3674,42 @@ function at(e, t, r, n, i, o, s) {
3711
3674
  };
3712
3675
  }));
3713
3676
  }
3714
- if (Vr(c)) {
3715
- var H = c.options[d] || c.options.other;
3677
+ if (Ur(u)) {
3678
+ var H = u.options[d] || u.options.other;
3716
3679
  if (!H)
3717
- throw new pr(c.value, d, Object.keys(c.options), s);
3680
+ throw new lr(u.value, d, Object.keys(u.options), s);
3718
3681
  a.push.apply(a, at(H.value, t, r, n, i));
3719
3682
  continue;
3720
3683
  }
3721
- if (zr(c)) {
3722
- var H = c.options["=".concat(d)];
3684
+ if (Fr(u)) {
3685
+ var H = u.options["=".concat(d)];
3723
3686
  if (!H) {
3724
3687
  if (!Intl.PluralRules)
3725
3688
  throw new mt(`Intl.PluralRules is not available in this environment.
3726
3689
  Try polyfilling it using "@formatjs/intl-pluralrules"
3727
- `, Ce.MISSING_INTL_API, s);
3728
- var R = r.getPluralRules(t, { type: c.pluralType }).select(d - (c.offset || 0));
3729
- H = c.options[R] || c.options.other;
3690
+ `, Ie.MISSING_INTL_API, s);
3691
+ var R = r.getPluralRules(t, { type: u.pluralType }).select(d - (u.offset || 0));
3692
+ H = u.options[R] || u.options.other;
3730
3693
  }
3731
3694
  if (!H)
3732
- throw new pr(c.value, d, Object.keys(c.options), s);
3733
- a.push.apply(a, at(H.value, t, r, n, i, d - (c.offset || 0)));
3695
+ throw new lr(u.value, d, Object.keys(u.options), s);
3696
+ a.push.apply(a, at(H.value, t, r, n, i, d - (u.offset || 0)));
3734
3697
  continue;
3735
3698
  }
3736
3699
  }
3737
- return oo(a);
3700
+ return Xi(a);
3738
3701
  }
3739
- function ao(e, t) {
3702
+ function Zi(e, t) {
3740
3703
  return t ? w(w(w({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3741
3704
  return r[n] = w(w({}, e[n]), t[n] || {}), r;
3742
3705
  }, {})) : e;
3743
3706
  }
3744
- function lo(e, t) {
3707
+ function qi(e, t) {
3745
3708
  return t ? Object.keys(e).reduce(function(r, n) {
3746
- return r[n] = ao(e[n], t[n]), r;
3709
+ return r[n] = Zi(e[n], t[n]), r;
3747
3710
  }, w({}, e)) : e;
3748
3711
  }
3749
- function St(e) {
3712
+ function wt(e) {
3750
3713
  return {
3751
3714
  create: function() {
3752
3715
  return {
@@ -3760,39 +3723,39 @@ function St(e) {
3760
3723
  }
3761
3724
  };
3762
3725
  }
3763
- function uo(e) {
3726
+ function Ji(e) {
3764
3727
  return e === void 0 && (e = {
3765
3728
  number: {},
3766
3729
  dateTime: {},
3767
3730
  pluralRules: {}
3768
3731
  }), {
3769
- getNumberFormat: Et(function() {
3732
+ getNumberFormat: vt(function() {
3770
3733
  for (var t, r = [], n = 0; n < arguments.length; n++)
3771
3734
  r[n] = arguments[n];
3772
- return new ((t = Intl.NumberFormat).bind.apply(t, Be([void 0], r, !1)))();
3735
+ return new ((t = Intl.NumberFormat).bind.apply(t, He([void 0], r, !1)))();
3773
3736
  }, {
3774
- cache: St(e.number),
3775
- strategy: wt.variadic
3737
+ cache: wt(e.number),
3738
+ strategy: _t.variadic
3776
3739
  }),
3777
- getDateTimeFormat: Et(function() {
3740
+ getDateTimeFormat: vt(function() {
3778
3741
  for (var t, r = [], n = 0; n < arguments.length; n++)
3779
3742
  r[n] = arguments[n];
3780
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Be([void 0], r, !1)))();
3743
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, He([void 0], r, !1)))();
3781
3744
  }, {
3782
- cache: St(e.dateTime),
3783
- strategy: wt.variadic
3745
+ cache: wt(e.dateTime),
3746
+ strategy: _t.variadic
3784
3747
  }),
3785
- getPluralRules: Et(function() {
3748
+ getPluralRules: vt(function() {
3786
3749
  for (var t, r = [], n = 0; n < arguments.length; n++)
3787
3750
  r[n] = arguments[n];
3788
- return new ((t = Intl.PluralRules).bind.apply(t, Be([void 0], r, !1)))();
3751
+ return new ((t = Intl.PluralRules).bind.apply(t, He([void 0], r, !1)))();
3789
3752
  }, {
3790
- cache: St(e.pluralRules),
3791
- strategy: wt.variadic
3753
+ cache: wt(e.pluralRules),
3754
+ strategy: _t.variadic
3792
3755
  })
3793
3756
  };
3794
3757
  }
3795
- var co = (
3758
+ var Qi = (
3796
3759
  /** @class */
3797
3760
  function() {
3798
3761
  function e(t, r, n, i) {
@@ -3802,20 +3765,20 @@ var co = (
3802
3765
  number: {},
3803
3766
  dateTime: {},
3804
3767
  pluralRules: {}
3805
- }, this.format = function(u) {
3806
- var l = o.formatToParts(u);
3768
+ }, this.format = function(c) {
3769
+ var l = o.formatToParts(c);
3807
3770
  if (l.length === 1)
3808
3771
  return l[0].value;
3809
- var c = l.reduce(function(f, d) {
3772
+ var u = l.reduce(function(f, d) {
3810
3773
  return !f.length || d.type !== X.literal || typeof f[f.length - 1] != "string" ? f.push(d.value) : f[f.length - 1] += d.value, f;
3811
3774
  }, []);
3812
- return c.length <= 1 ? c[0] || "" : c;
3813
- }, this.formatToParts = function(u) {
3814
- return at(o.ast, o.locales, o.formatters, o.formats, u, void 0, o.message);
3775
+ return u.length <= 1 ? u[0] || "" : u;
3776
+ }, this.formatToParts = function(c) {
3777
+ return at(o.ast, o.locales, o.formatters, o.formats, c, void 0, o.message);
3815
3778
  }, this.resolvedOptions = function() {
3816
- var u;
3779
+ var c;
3817
3780
  return {
3818
- locale: ((u = o.resolvedLocale) === null || u === void 0 ? void 0 : u.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
3781
+ locale: ((c = o.resolvedLocale) === null || c === void 0 ? void 0 : c.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
3819
3782
  };
3820
3783
  }, this.getAst = function() {
3821
3784
  return o.ast;
@@ -3824,13 +3787,13 @@ var co = (
3824
3787
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3825
3788
  var s = i || {};
3826
3789
  s.formatters;
3827
- var a = Gn(s, ["formatters"]);
3790
+ var a = An(s, ["formatters"]);
3828
3791
  this.ast = e.__parse(t, w(w({}, a), { locale: this.resolvedLocale }));
3829
3792
  } else
3830
3793
  this.ast = t;
3831
3794
  if (!Array.isArray(this.ast))
3832
3795
  throw new TypeError("A message must be provided as a String or AST.");
3833
- this.formats = lo(e.formats, n), this.formatters = i && i.formatters || uo(this.formatterCache);
3796
+ this.formats = qi(e.formats, n), this.formatters = i && i.formatters || Ji(this.formatterCache);
3834
3797
  }
3835
3798
  return Object.defineProperty(e, "defaultLocale", {
3836
3799
  get: function() {
@@ -3839,11 +3802,11 @@ var co = (
3839
3802
  enumerable: !1,
3840
3803
  configurable: !0
3841
3804
  }), e.memoizedDefaultLocale = null, e.resolveLocale = function(t) {
3842
- if (typeof Intl.Locale != "undefined") {
3805
+ if (!(typeof Intl.Locale > "u")) {
3843
3806
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3844
3807
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3845
3808
  }
3846
- }, e.__parse = ro, e.formats = {
3809
+ }, e.__parse = ji, e.formats = {
3847
3810
  number: {
3848
3811
  integer: {
3849
3812
  maximumFractionDigits: 0
@@ -3904,7 +3867,7 @@ var co = (
3904
3867
  }, e;
3905
3868
  }()
3906
3869
  );
3907
- function ho(e, t) {
3870
+ function Yi(e, t) {
3908
3871
  if (t == null)
3909
3872
  return;
3910
3873
  if (t in e)
@@ -3925,92 +3888,92 @@ function ho(e, t) {
3925
3888
  n = void 0;
3926
3889
  return n;
3927
3890
  }
3928
- const he = {}, fo = (e, t, r) => r && (t in he || (he[t] = {}), e in he[t] || (he[t][e] = r), r), tn = (e, t) => {
3891
+ const ce = {}, Ki = (e, t, r) => r && (t in ce || (ce[t] = {}), e in ce[t] || (ce[t][e] = r), r), Zr = (e, t) => {
3929
3892
  if (t == null)
3930
3893
  return;
3931
- if (t in he && e in he[t])
3932
- return he[t][e];
3894
+ if (t in ce && e in ce[t])
3895
+ return ce[t][e];
3933
3896
  const r = pt(t);
3934
3897
  for (let n = 0; n < r.length; n++) {
3935
- const i = r[n], o = po(i, e);
3898
+ const i = r[n], o = to(i, e);
3936
3899
  if (o)
3937
- return fo(e, t, o);
3900
+ return Ki(e, t, o);
3938
3901
  }
3939
3902
  };
3940
- let jt;
3941
- const Ne = dt({});
3942
- function mo(e) {
3943
- return jt[e] || null;
3903
+ let $t;
3904
+ const Me = dt({});
3905
+ function eo(e) {
3906
+ return $t[e] || null;
3944
3907
  }
3945
- function rn(e) {
3946
- return e in jt;
3908
+ function qr(e) {
3909
+ return e in $t;
3947
3910
  }
3948
- function po(e, t) {
3949
- if (!rn(e))
3911
+ function to(e, t) {
3912
+ if (!qr(e))
3950
3913
  return null;
3951
- const r = mo(e);
3952
- return ho(r, t);
3914
+ const r = eo(e);
3915
+ return Yi(r, t);
3953
3916
  }
3954
- function go(e) {
3917
+ function ro(e) {
3955
3918
  if (e == null)
3956
3919
  return;
3957
3920
  const t = pt(e);
3958
3921
  for (let r = 0; r < t.length; r++) {
3959
3922
  const n = t[r];
3960
- if (rn(n))
3923
+ if (qr(n))
3961
3924
  return n;
3962
3925
  }
3963
3926
  }
3964
- function nn(e, ...t) {
3965
- delete he[e], Ne.update((r) => (r[e] = vi.all([r[e] || {}, ...t]), r));
3927
+ function Jr(e, ...t) {
3928
+ delete ce[e], Me.update((r) => (r[e] = si.all([r[e] || {}, ...t]), r));
3966
3929
  }
3967
- Me(
3968
- [Ne],
3930
+ Le(
3931
+ [Me],
3969
3932
  ([e]) => Object.keys(e)
3970
3933
  );
3971
- Ne.subscribe((e) => jt = e);
3934
+ Me.subscribe((e) => $t = e);
3972
3935
  const lt = {};
3973
- function bo(e, t) {
3936
+ function no(e, t) {
3974
3937
  lt[e].delete(t), lt[e].size === 0 && delete lt[e];
3975
3938
  }
3976
- function on(e) {
3939
+ function Qr(e) {
3977
3940
  return lt[e];
3978
3941
  }
3979
- function yo(e) {
3942
+ function io(e) {
3980
3943
  return pt(e).map((t) => {
3981
- const r = on(t);
3944
+ const r = Qr(t);
3982
3945
  return [t, r ? [...r] : []];
3983
3946
  }).filter(([, t]) => t.length > 0);
3984
3947
  }
3985
- function Dt(e) {
3948
+ function Ut(e) {
3986
3949
  return e == null ? !1 : pt(e).some(
3987
3950
  (t) => {
3988
3951
  var r;
3989
- return (r = on(t)) == null ? void 0 : r.size;
3952
+ return (r = Qr(t)) == null ? void 0 : r.size;
3990
3953
  }
3991
3954
  );
3992
3955
  }
3993
- function vo(e, t) {
3956
+ function oo(e, t) {
3994
3957
  return Promise.all(
3995
- t.map((n) => (bo(e, n), n().then((i) => i.default || i)))
3996
- ).then((n) => nn(e, ...n));
3997
- }
3998
- const ze = {};
3999
- function sn(e) {
4000
- if (!Dt(e))
4001
- return e in ze ? ze[e] : Promise.resolve();
4002
- const t = yo(e);
4003
- return ze[e] = Promise.all(
3958
+ t.map((n) => (no(e, n), n().then((i) => i.default || i)))
3959
+ ).then((n) => Jr(e, ...n));
3960
+ }
3961
+ const Ve = {};
3962
+ function Yr(e) {
3963
+ if (!Ut(e))
3964
+ return e in Ve ? Ve[e] : Promise.resolve();
3965
+ const t = io(e);
3966
+ return Ve[e] = Promise.all(
4004
3967
  t.map(
4005
- ([r, n]) => vo(r, n)
3968
+ ([r, n]) => oo(r, n)
4006
3969
  )
4007
3970
  ).then(() => {
4008
- if (Dt(e))
4009
- return sn(e);
4010
- delete ze[e];
4011
- }), ze[e];
3971
+ if (Ut(e))
3972
+ return Yr(e);
3973
+ delete Ve[e];
3974
+ }), Ve[e];
4012
3975
  }
4013
- const _o = {
3976
+ const so = {
4014
3977
  number: {
4015
3978
  scientific: { notation: "scientific" },
4016
3979
  engineering: { notation: "engineering" },
@@ -4039,57 +4002,57 @@ const _o = {
4039
4002
  timeZoneName: "short"
4040
4003
  }
4041
4004
  }
4042
- }, Eo = {
4005
+ }, ao = {
4043
4006
  fallbackLocale: null,
4044
4007
  loadingDelay: 200,
4045
- formats: _o,
4008
+ formats: so,
4046
4009
  warnOnMissingMessages: !0,
4047
4010
  handleMissingMessage: void 0,
4048
4011
  ignoreTag: !0
4049
- }, wo = Eo;
4050
- function Oe() {
4051
- return wo;
4012
+ }, lo = ao;
4013
+ function Ce() {
4014
+ return lo;
4052
4015
  }
4053
- const Pt = dt(!1);
4054
- var xo = Object.defineProperty, So = Object.defineProperties, Po = Object.getOwnPropertyDescriptors, gr = Object.getOwnPropertySymbols, To = Object.prototype.hasOwnProperty, Ho = Object.prototype.propertyIsEnumerable, br = (e, t, r) => t in e ? xo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Bo = (e, t) => {
4016
+ const xt = dt(!1);
4017
+ var uo = Object.defineProperty, co = Object.defineProperties, ho = Object.getOwnPropertyDescriptors, ur = Object.getOwnPropertySymbols, fo = Object.prototype.hasOwnProperty, mo = Object.prototype.propertyIsEnumerable, cr = (e, t, r) => t in e ? uo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, po = (e, t) => {
4055
4018
  for (var r in t)
4056
- To.call(t, r) && br(e, r, t[r]);
4057
- if (gr)
4058
- for (var r of gr(t))
4059
- Ho.call(t, r) && br(e, r, t[r]);
4019
+ fo.call(t, r) && cr(e, r, t[r]);
4020
+ if (ur)
4021
+ for (var r of ur(t))
4022
+ mo.call(t, r) && cr(e, r, t[r]);
4060
4023
  return e;
4061
- }, Ao = (e, t) => So(e, Po(t));
4062
- let kt;
4024
+ }, go = (e, t) => co(e, ho(t));
4025
+ let Ft;
4063
4026
  const ct = dt(null);
4064
- function yr(e) {
4027
+ function hr(e) {
4065
4028
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4066
4029
  }
4067
- function pt(e, t = Oe().fallbackLocale) {
4068
- const r = yr(e);
4069
- return t ? [.../* @__PURE__ */ new Set([...r, ...yr(t)])] : r;
4030
+ function pt(e, t = Ce().fallbackLocale) {
4031
+ const r = hr(e);
4032
+ return t ? [.../* @__PURE__ */ new Set([...r, ...hr(t)])] : r;
4070
4033
  }
4071
- function be() {
4072
- return kt != null ? kt : void 0;
4034
+ function ge() {
4035
+ return Ft ?? void 0;
4073
4036
  }
4074
4037
  ct.subscribe((e) => {
4075
- kt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4038
+ Ft = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4076
4039
  });
4077
- const Io = (e) => {
4078
- if (e && go(e) && Dt(e)) {
4079
- const { loadingDelay: t } = Oe();
4040
+ const bo = (e) => {
4041
+ if (e && ro(e) && Ut(e)) {
4042
+ const { loadingDelay: t } = Ce();
4080
4043
  let r;
4081
- return typeof window != "undefined" && be() != null && t ? r = window.setTimeout(
4082
- () => Pt.set(!0),
4044
+ return typeof window < "u" && ge() != null && t ? r = window.setTimeout(
4045
+ () => xt.set(!0),
4083
4046
  t
4084
- ) : Pt.set(!0), sn(e).then(() => {
4047
+ ) : xt.set(!0), Yr(e).then(() => {
4085
4048
  ct.set(e);
4086
4049
  }).finally(() => {
4087
- clearTimeout(r), Pt.set(!1);
4050
+ clearTimeout(r), xt.set(!1);
4088
4051
  });
4089
4052
  }
4090
4053
  return ct.set(e);
4091
- }, fe = Ao(Bo({}, ct), {
4092
- set: Io
4054
+ }, he = go(po({}, ct), {
4055
+ set: bo
4093
4056
  }), gt = (e) => {
4094
4057
  const t = /* @__PURE__ */ Object.create(null);
4095
4058
  return (n) => {
@@ -4097,101 +4060,101 @@ const Io = (e) => {
4097
4060
  return i in t ? t[i] : t[i] = e(n);
4098
4061
  };
4099
4062
  };
4100
- var Co = Object.defineProperty, ht = Object.getOwnPropertySymbols, an = Object.prototype.hasOwnProperty, ln = Object.prototype.propertyIsEnumerable, vr = (e, t, r) => t in e ? Co(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Vt = (e, t) => {
4063
+ var yo = Object.defineProperty, ht = Object.getOwnPropertySymbols, Kr = Object.prototype.hasOwnProperty, en = Object.prototype.propertyIsEnumerable, fr = (e, t, r) => t in e ? yo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Gt = (e, t) => {
4101
4064
  for (var r in t || (t = {}))
4102
- an.call(t, r) && vr(e, r, t[r]);
4065
+ Kr.call(t, r) && fr(e, r, t[r]);
4103
4066
  if (ht)
4104
4067
  for (var r of ht(t))
4105
- ln.call(t, r) && vr(e, r, t[r]);
4068
+ en.call(t, r) && fr(e, r, t[r]);
4106
4069
  return e;
4107
- }, Re = (e, t) => {
4070
+ }, Ne = (e, t) => {
4108
4071
  var r = {};
4109
4072
  for (var n in e)
4110
- an.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4073
+ Kr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4111
4074
  if (e != null && ht)
4112
4075
  for (var n of ht(e))
4113
- t.indexOf(n) < 0 && ln.call(e, n) && (r[n] = e[n]);
4076
+ t.indexOf(n) < 0 && en.call(e, n) && (r[n] = e[n]);
4114
4077
  return r;
4115
4078
  };
4116
- const qe = (e, t) => {
4117
- const { formats: r } = Oe();
4079
+ const Ze = (e, t) => {
4080
+ const { formats: r } = Ce();
4118
4081
  if (e in r && t in r[e])
4119
4082
  return r[e][t];
4120
4083
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4121
- }, Oo = gt(
4084
+ }, vo = gt(
4122
4085
  (e) => {
4123
- var t = e, { locale: r, format: n } = t, i = Re(t, ["locale", "format"]);
4086
+ var t = e, { locale: r, format: n } = t, i = Ne(t, ["locale", "format"]);
4124
4087
  if (r == null)
4125
4088
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4126
- return n && (i = qe("number", n)), new Intl.NumberFormat(r, i);
4089
+ return n && (i = Ze("number", n)), new Intl.NumberFormat(r, i);
4127
4090
  }
4128
- ), Lo = gt(
4091
+ ), _o = gt(
4129
4092
  (e) => {
4130
- var t = e, { locale: r, format: n } = t, i = Re(t, ["locale", "format"]);
4093
+ var t = e, { locale: r, format: n } = t, i = Ne(t, ["locale", "format"]);
4131
4094
  if (r == null)
4132
4095
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4133
- return n ? i = qe("date", n) : Object.keys(i).length === 0 && (i = qe("date", "short")), new Intl.DateTimeFormat(r, i);
4096
+ return n ? i = Ze("date", n) : Object.keys(i).length === 0 && (i = Ze("date", "short")), new Intl.DateTimeFormat(r, i);
4134
4097
  }
4135
- ), Mo = gt(
4098
+ ), Eo = gt(
4136
4099
  (e) => {
4137
- var t = e, { locale: r, format: n } = t, i = Re(t, ["locale", "format"]);
4100
+ var t = e, { locale: r, format: n } = t, i = Ne(t, ["locale", "format"]);
4138
4101
  if (r == null)
4139
4102
  throw new Error(
4140
4103
  '[svelte-i18n] A "locale" must be set to format time values'
4141
4104
  );
4142
- return n ? i = qe("time", n) : Object.keys(i).length === 0 && (i = qe("time", "short")), new Intl.DateTimeFormat(r, i);
4105
+ return n ? i = Ze("time", n) : Object.keys(i).length === 0 && (i = Ze("time", "short")), new Intl.DateTimeFormat(r, i);
4143
4106
  }
4144
- ), No = (e = {}) => {
4107
+ ), wo = (e = {}) => {
4145
4108
  var t = e, {
4146
- locale: r = be()
4147
- } = t, n = Re(t, [
4109
+ locale: r = ge()
4110
+ } = t, n = Ne(t, [
4148
4111
  "locale"
4149
4112
  ]);
4150
- return Oo(Vt({ locale: r }, n));
4151
- }, Ro = (e = {}) => {
4113
+ return vo(Gt({ locale: r }, n));
4114
+ }, xo = (e = {}) => {
4152
4115
  var t = e, {
4153
- locale: r = be()
4154
- } = t, n = Re(t, [
4116
+ locale: r = ge()
4117
+ } = t, n = Ne(t, [
4155
4118
  "locale"
4156
4119
  ]);
4157
- return Lo(Vt({ locale: r }, n));
4158
- }, Uo = (e = {}) => {
4120
+ return _o(Gt({ locale: r }, n));
4121
+ }, So = (e = {}) => {
4159
4122
  var t = e, {
4160
- locale: r = be()
4161
- } = t, n = Re(t, [
4123
+ locale: r = ge()
4124
+ } = t, n = Ne(t, [
4162
4125
  "locale"
4163
4126
  ]);
4164
- return Mo(Vt({ locale: r }, n));
4165
- }, Fo = gt(
4127
+ return Eo(Gt({ locale: r }, n));
4128
+ }, Po = gt(
4166
4129
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4167
- (e, t = be()) => new co(e, t, Oe().formats, {
4168
- ignoreTag: Oe().ignoreTag
4130
+ (e, t = ge()) => new Qi(e, t, Ce().formats, {
4131
+ ignoreTag: Ce().ignoreTag
4169
4132
  })
4170
- ), Do = (e, t = {}) => {
4133
+ ), To = (e, t = {}) => {
4171
4134
  var r, n, i, o;
4172
4135
  let s = t;
4173
4136
  typeof e == "object" && (s = e, e = s.id);
4174
4137
  const {
4175
4138
  values: a,
4176
- locale: u = be(),
4139
+ locale: c = ge(),
4177
4140
  default: l
4178
4141
  } = s;
4179
- if (u == null)
4142
+ if (c == null)
4180
4143
  throw new Error(
4181
4144
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4182
4145
  );
4183
- let c = tn(e, u);
4184
- if (!c)
4185
- c = (o = (i = (n = (r = Oe()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
4186
- else if (typeof c != "string")
4146
+ let u = Zr(e, c);
4147
+ if (!u)
4148
+ u = (o = (i = (n = (r = Ce()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: c, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
4149
+ else if (typeof u != "string")
4187
4150
  return console.warn(
4188
- `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
4189
- ), c;
4151
+ `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof u}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
4152
+ ), u;
4190
4153
  if (!a)
4191
- return c;
4192
- let f = c;
4154
+ return u;
4155
+ let f = u;
4193
4156
  try {
4194
- f = Fo(c, u).format(a);
4157
+ f = Po(u, c).format(a);
4195
4158
  } catch (d) {
4196
4159
  d instanceof Error && console.warn(
4197
4160
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4199,14 +4162,14 @@ const qe = (e, t) => {
4199
4162
  );
4200
4163
  }
4201
4164
  return f;
4202
- }, ko = (e, t) => Uo(t).format(e), $o = (e, t) => Ro(t).format(e), Go = (e, t) => No(t).format(e), jo = (e, t = be()) => tn(e, t), Vo = Me([fe, Ne], () => Do);
4203
- Me([fe], () => ko);
4204
- Me([fe], () => $o);
4205
- Me([fe], () => Go);
4206
- Me([fe, Ne], () => jo);
4207
- window.emWidgets = { topic: ri };
4208
- 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));
4209
- if (typeof window != "undefined") {
4165
+ }, Ho = (e, t) => So(t).format(e), Bo = (e, t) => xo(t).format(e), Ao = (e, t) => wo(t).format(e), Io = (e, t = ge()) => Zr(e, t), Co = Le([he, Me], () => To);
4166
+ Le([he], () => Ho);
4167
+ Le([he], () => Bo);
4168
+ Le([he], () => Ao);
4169
+ Le([he, Me], () => Io);
4170
+ window.emWidgets = { topic: jn };
4171
+ const Oo = (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));
4172
+ if (typeof window < "u") {
4210
4173
  let e = function(t) {
4211
4174
  return function(...r) {
4212
4175
  try {
@@ -4218,22 +4181,22 @@ if (typeof window != "undefined") {
4218
4181
  }
4219
4182
  };
4220
4183
  };
4221
- customElements.define = e(customElements.define), import("./GeneralPlayerSmsVerificationForm-YNd10ORF.js").then(({ default: t }) => {
4184
+ customElements.define = e(customElements.define), import("./GeneralPlayerSmsVerificationForm-COg-pr9r.js").then(({ default: t }) => {
4222
4185
  !customElements.get("general-player-sms-verification-form") && customElements.define("general-player-sms-verification-form", t.element);
4223
4186
  });
4224
4187
  }
4225
- function Xo({ withLocale: e, translations: t }) {
4226
- fe.subscribe((r) => {
4227
- r == null && (Ne.set(t), fe.set(e));
4188
+ function Lo({ withLocale: e, translations: t }) {
4189
+ he.subscribe((r) => {
4190
+ r == null && (Me.set(t), he.set(e));
4228
4191
  });
4229
4192
  }
4230
- function _r(e, t) {
4231
- nn(e, t);
4193
+ function dr(e, t) {
4194
+ Jr(e, t);
4232
4195
  }
4233
- function Wo(e) {
4234
- fe.set(e);
4196
+ function Mo(e) {
4197
+ he.set(e);
4235
4198
  }
4236
- const Er = {
4199
+ const mr = {
4237
4200
  en: {
4238
4201
  loginTitle: "Welcome",
4239
4202
  loginSubtitle: "Don't have an account yet?",
@@ -4377,15 +4340,15 @@ const Er = {
4377
4340
  loginForgotPassword: "I forgot my password",
4378
4341
  successMessage: "Login successful"
4379
4342
  }
4380
- }, { document: wr } = _n;
4381
- function Zo(e) {
4382
- En(e, "svelte-b3dr9t", '.grecaptcha-badge{opacity:0}.PlayerLoginFormWrapper{height:100%}.FormContainer{width:100%}.FormLogin{background:var(--emw--registration-color-bg, var(--emw--color-gray-50, #F9F8F8));padding:50px}.FormHeaderTitle{color:var(--emw--registration-typography, var(--emw--color-contrast, #07072A));font-size:20px;font-weight:300;padding:0;text-transform:uppercase;margin:0}.PasswordContainer{position:relative}.FormRequired{color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.FormHeaderSubtitle{color:var(--emw--registration-contrast, var(--emw--color-gray-300, #58586B));font-size:14px;font-weight:300;margin:5px 0 0 0}.FormRegisterCallToAction{color:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));font-size:14px;font-weight:400;text-decoration:none;cursor:pointer}.FormContent{padding-top:20px}.UserContainer,.PasswordContainer,.CaptchaContainer{color:var(--emw--registration-contrast, var(--emw--color-gray-300, #58586B));display:flex;flex-direction:column;position:relative}.UserContainer label,.PasswordContainer label,.CaptchaContainer label{font-size:14px;font-weight:300;padding-bottom:5px}.UserContainer input,.PasswordContainer input,.CaptchaContainer input{width:100%;height:44px;border:1px solid var(--emw--color-gray-100, #E6E6E6);border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:16px;line-height:18px}.UserContainer.InvalidField input,.PasswordContainer.InvalidField input,.CaptchaContainer.InvalidField input{border:1px solid var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));background:var(--emw--color-pale, #FBECF4);color:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C))}.PasswordContainer input{padding:5px 30px 5px 15px}.TogglePasswordVisibility{height:13px;position:absolute;right:8px;bottom:55px}.TogglePasswordVisibility.InvalidToggle path,.TogglePasswordVisibility.InvalidToggle circle,.TogglePasswordVisibility.InvalidToggle rect{fill:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C))}.TogglePasswordVisibility path,.TogglePasswordVisibility circle,.TogglePasswordVisibility rect{fill:var(--emw--registration-contrast, var(--emw--color-gray-300, #58586B))}.SignInButton{color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));background:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));border-radius:5px;width:100%;height:60px;padding:0;text-transform:uppercase;font-size:18px;cursor:pointer}.SignInButton[disabled]{background:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-150, #828282);cursor:not-allowed}.ForgotPasswordButton{border:0;background:transparent;font-size:14px;font-weight:300;color:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));margin-top:15px;cursor:pointer}.PasswordContainer,.UserContainer{padding-bottom:40px}.InvalidInput{color:var(--emw--color-error, var(--emw--color-red, #ed0909));font-size:10px;position:absolute;top:55px;padding-top:5px;line-height:10px}.ErrorMessage{margin:0 0 15px 0;font-size:12px;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.FormMobileContainer{height:100%}.FormMobileContainer .FormLogin{padding:40px 20px}.FormMobileContainer .SignInButton,.FormMobileContainer .UserContainer input,.FormMobileContainer .PasswordContainer input,.FormMobileContainer .CaptchaContainer{max-width:unset}.ModalLoaderWrapper{display:flex;height:100%;align-items:center}.ModalLoader{display:block;width:80px;height:80px;margin:0 auto}.ModalLoader:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));border-color:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C)) transparent var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C)) transparent;animation:Loader 1.2s linear infinite}input::-ms-reveal,input::-ms-clear{display:none}@keyframes Loader{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
4343
+ }, { document: pr } = an;
4344
+ function No(e) {
4345
+ ln(e, "svelte-b3dr9t", '.grecaptcha-badge{opacity:0}.PlayerLoginFormWrapper{height:100%}.FormContainer{width:100%}.FormLogin{background:var(--emw--registration-color-bg, var(--emw--color-gray-50, #F9F8F8));padding:50px}.FormHeaderTitle{color:var(--emw--registration-typography, var(--emw--color-contrast, #07072A));font-size:20px;font-weight:300;padding:0;text-transform:uppercase;margin:0}.PasswordContainer{position:relative}.FormRequired{color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.FormHeaderSubtitle{color:var(--emw--registration-contrast, var(--emw--color-gray-300, #58586B));font-size:14px;font-weight:300;margin:5px 0 0 0}.FormRegisterCallToAction{color:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));font-size:14px;font-weight:400;text-decoration:none;cursor:pointer}.FormContent{padding-top:20px}.UserContainer,.PasswordContainer,.CaptchaContainer{color:var(--emw--registration-contrast, var(--emw--color-gray-300, #58586B));display:flex;flex-direction:column;position:relative}.UserContainer label,.PasswordContainer label,.CaptchaContainer label{font-size:14px;font-weight:300;padding-bottom:5px}.UserContainer input,.PasswordContainer input,.CaptchaContainer input{width:100%;height:44px;border:1px solid var(--emw--color-gray-100, #E6E6E6);border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:16px;line-height:18px}.UserContainer.InvalidField input,.PasswordContainer.InvalidField input,.CaptchaContainer.InvalidField input{border:1px solid var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));background:var(--emw--color-pale, #FBECF4);color:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C))}.PasswordContainer input{padding:5px 30px 5px 15px}.TogglePasswordVisibility{height:13px;position:absolute;right:8px;bottom:55px}.TogglePasswordVisibility.InvalidToggle path,.TogglePasswordVisibility.InvalidToggle circle,.TogglePasswordVisibility.InvalidToggle rect{fill:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C))}.TogglePasswordVisibility path,.TogglePasswordVisibility circle,.TogglePasswordVisibility rect{fill:var(--emw--registration-contrast, var(--emw--color-gray-300, #58586B))}.SignInButton{color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));background:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));border-radius:5px;width:100%;height:60px;padding:0;text-transform:uppercase;font-size:18px;cursor:pointer}.SignInButton[disabled]{background:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-150, #828282);cursor:not-allowed}.ForgotPasswordButton{border:0;background:transparent;font-size:14px;font-weight:300;color:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));margin-top:15px;cursor:pointer}.PasswordContainer,.UserContainer{padding-bottom:40px}.InvalidInput{color:var(--emw--color-error, var(--emw--color-red, #ed0909));font-size:10px;position:absolute;top:55px;padding-top:5px;line-height:10px}.ErrorMessage{margin:0 0 15px 0;font-size:12px;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.FormMobileContainer{height:100%}.FormMobileContainer .FormLogin{padding:40px 20px}.FormMobileContainer .SignInButton,.FormMobileContainer .UserContainer input,.FormMobileContainer .PasswordContainer input,.FormMobileContainer .CaptchaContainer{max-width:unset}.ModalLoaderWrapper{display:flex;height:100%;align-items:center}.ModalLoader{display:block;width:80px;height:80px;margin:0 auto}.ModalLoader:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));border-color:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C)) transparent var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C)) transparent;animation:Loader 1.2s linear infinite}input::-ms-reveal,input::-ms-clear{display:none}@keyframes Loader{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
4383
4346
  }
4384
- function xr(e) {
4347
+ function gr(e) {
4385
4348
  let t, r;
4386
4349
  return {
4387
4350
  c() {
4388
- t = S("script"), Yt(t.src, r = "//www.google.com/recaptcha/api.js?render=" + /*captchakey*/
4351
+ t = S("script"), zt(t.src, r = "//www.google.com/recaptcha/api.js?render=" + /*captchakey*/
4389
4352
  e[1]) || h(t, "src", r), t.async = !0, t.defer = !0;
4390
4353
  },
4391
4354
  m(n, i) {
@@ -4393,7 +4356,7 @@ function xr(e) {
4393
4356
  },
4394
4357
  p(n, i) {
4395
4358
  i[0] & /*captchakey*/
4396
- 2 && !Yt(t.src, r = "//www.google.com/recaptcha/api.js?render=" + /*captchakey*/
4359
+ 2 && !zt(t.src, r = "//www.google.com/recaptcha/api.js?render=" + /*captchakey*/
4397
4360
  n[1]) && h(t, "src", r);
4398
4361
  },
4399
4362
  d(n) {
@@ -4401,12 +4364,12 @@ function xr(e) {
4401
4364
  }
4402
4365
  };
4403
4366
  }
4404
- function qo(e) {
4367
+ function Ro(e) {
4405
4368
  let t, r, n;
4406
- function i(a, u) {
4369
+ function i(a, c) {
4407
4370
  return (
4408
4371
  /*startSmsValidation*/
4409
- a[20] ? Yo : Qo
4372
+ a[20] ? Do : Fo
4410
4373
  );
4411
4374
  }
4412
4375
  let o = i(e), s = o(e);
@@ -4415,11 +4378,11 @@ function qo(e) {
4415
4378
  t = S("div"), r = S("div"), s.c(), h(r, "class", "FormLogin"), h(t, "class", n = "FormContainer " + /*mobileView*/
4416
4379
  (e[10] ? "FormMobileContainer" : ""));
4417
4380
  },
4418
- m(a, u) {
4419
- L(a, t, u), p(t, r), s.m(r, null);
4381
+ m(a, c) {
4382
+ L(a, t, c), m(t, r), s.m(r, null);
4420
4383
  },
4421
- p(a, u) {
4422
- o === (o = i(a)) && s ? s.p(a, u) : (s.d(1), s = o(a), s && (s.c(), s.m(r, null))), u[0] & /*mobileView*/
4384
+ p(a, c) {
4385
+ o === (o = i(a)) && s ? s.p(a, c) : (s.d(1), s = o(a), s && (s.c(), s.m(r, null))), c[0] & /*mobileView*/
4423
4386
  1024 && n !== (n = "FormContainer " + /*mobileView*/
4424
4387
  (a[10] ? "FormMobileContainer" : "")) && h(t, "class", n);
4425
4388
  },
@@ -4428,7 +4391,7 @@ function qo(e) {
4428
4391
  }
4429
4392
  };
4430
4393
  }
4431
- function Jo(e) {
4394
+ function Uo(e) {
4432
4395
  let t;
4433
4396
  return {
4434
4397
  c() {
@@ -4443,193 +4406,193 @@ function Jo(e) {
4443
4406
  }
4444
4407
  };
4445
4408
  }
4446
- function Qo(e) {
4409
+ function Fo(e) {
4447
4410
  let t, r, n = (
4448
4411
  /*$_*/
4449
4412
  e[21]("loginTitle") + ""
4450
4413
  ), i, o, s, a = (
4451
4414
  /*$_*/
4452
4415
  e[21]("loginSubtitle") + ""
4453
- ), u, l, c, f = (
4416
+ ), c, l, u, f = (
4454
4417
  /*$_*/
4455
4418
  e[21]("loginSubtitleRegister") + ""
4456
4419
  ), d, b, v, g, x, M, q = (
4457
4420
  /*$_*/
4458
4421
  e[21]("loginUsername") + ""
4459
- ), H, R, G, J, B, oe, ne, ie, de, A, W, ye = (
4422
+ ), H, R, G, J, B, ie, re, ne, fe, A, W, be = (
4460
4423
  /*$_*/
4461
4424
  e[21]("loginPassword") + ""
4462
- ), Ue, Fe, se, Je, C, ve, De, _e, Ee, me, ke, pe, ee, ge = (
4425
+ ), Re, Ue, oe, qe, C, ye, Fe, ve, _e, de, De, me, K, pe = (
4463
4426
  /*$_*/
4464
4427
  e[21]("loginButton") + ""
4465
- ), $e, Qe, ce, we = (
4428
+ ), ke, Je, ue, Ee = (
4466
4429
  /*$_*/
4467
4430
  e[21]("loginForgotPassword") + ""
4468
- ), Ge, je, Ye, U = (
4431
+ ), $e, Ge, Qe, U = (
4469
4432
  /*invalidName*/
4470
- e[13] && Sr(e)
4433
+ e[13] && br(e)
4471
4434
  );
4472
- function Ke(y, P) {
4435
+ function Ye(y, P) {
4473
4436
  return (
4474
4437
  /*isPasswordVisible*/
4475
- y[18] ? es : Ko
4438
+ y[18] ? $o : ko
4476
4439
  );
4477
4440
  }
4478
- let xe = Ke(e), Q = xe(e), F = (
4441
+ let we = Ye(e), Q = we(e), F = (
4479
4442
  /*invalidPassword*/
4480
4443
  e[14] && /*simplepasswordvalidation*/
4481
- e[2] !== "true" && Pr(e)
4444
+ e[2] !== "true" && yr(e)
4482
4445
  ), D = (
4483
4446
  /*invalidPassword*/
4484
4447
  e[14] && /*simplepasswordvalidation*/
4485
- e[2] === "true" && Tr(e)
4448
+ e[2] === "true" && vr(e)
4486
4449
  ), k = (
4487
4450
  /*errorMessage*/
4488
- e[15] && Hr(e)
4451
+ e[15] && _r(e)
4489
4452
  );
4490
4453
  return {
4491
4454
  c() {
4492
- t = S("div"), r = S("h4"), i = N(n), o = z(), s = S("p"), u = N(a), l = z(), c = S("span"), d = N(f), b = z(), v = S("div"), g = S("form"), x = S("div"), M = S("label"), H = N(q), R = N(":"), G = S("span"), G.textContent = "*", J = z(), B = S("input"), ne = z(), U && U.c(), de = z(), A = S("div"), W = S("label"), Ue = N(ye), Fe = N(":"), se = S("span"), se.textContent = "*", Je = z(), C = S("input"), De = z(), Q.c(), _e = z(), F && F.c(), Ee = z(), D && D.c(), ke = z(), k && k.c(), pe = z(), ee = S("button"), $e = N(ge), Qe = z(), ce = S("button"), Ge = N(we), h(r, "class", "FormHeaderTitle"), h(c, "class", "FormRegisterCallToAction"), h(s, "class", "FormHeaderSubtitle"), h(t, "class", "FormHeader"), h(G, "class", "FormRequired"), h(M, "for", "username"), h(B, "type", "text"), h(B, "id", "email"), h(B, "name", "email"), h(B, "autocapitalize", "none"), h(B, "autocomplete", oe = /*savecredentials*/
4493
- e[5] ? "username email" : "off"), B.required = !0, h(x, "class", ie = "UserContainer " + /*invalidName*/
4494
- (e[13] ? "InvalidField" : "")), h(se, "class", "FormRequired"), h(W, "for", "current-password"), h(C, "type", "password"), h(C, "name", "current-password"), h(C, "id", "current-password"), h(C, "autocapitalize", "none"), h(C, "autocomplete", ve = /*savecredentials*/
4495
- e[5] ? "current-password" : "off"), h(C, "aria-describedby", "password-constraints"), C.required = !0, h(A, "class", me = "PasswordContainer " + /*invalidPassword*/
4496
- (e[14] ? "InvalidField" : "")), h(ee, "class", "SignInButton"), ee.disabled = /*isFormDataInvalid*/
4497
- e[19], h(ee, "id", "signin-button"), h(ce, "class", "ForgotPasswordButton"), h(g, "id", "signin"), h(v, "class", "FormContent");
4455
+ t = S("div"), r = S("h4"), i = N(n), o = z(), s = S("p"), c = N(a), l = z(), u = S("span"), d = N(f), b = z(), v = S("div"), g = S("form"), x = S("div"), M = S("label"), H = N(q), R = N(":"), G = S("span"), G.textContent = "*", J = z(), B = S("input"), re = z(), U && U.c(), fe = z(), A = S("div"), W = S("label"), Re = N(be), Ue = N(":"), oe = S("span"), oe.textContent = "*", qe = z(), C = S("input"), Fe = z(), Q.c(), ve = z(), F && F.c(), _e = z(), D && D.c(), De = z(), k && k.c(), me = z(), K = S("button"), ke = N(pe), Je = z(), ue = S("button"), $e = N(Ee), h(r, "class", "FormHeaderTitle"), h(u, "class", "FormRegisterCallToAction"), h(s, "class", "FormHeaderSubtitle"), h(t, "class", "FormHeader"), h(G, "class", "FormRequired"), h(M, "for", "username"), h(B, "type", "text"), h(B, "id", "email"), h(B, "name", "email"), h(B, "autocapitalize", "none"), h(B, "autocomplete", ie = /*savecredentials*/
4456
+ e[5] ? "username email" : "off"), B.required = !0, h(x, "class", ne = "UserContainer " + /*invalidName*/
4457
+ (e[13] ? "InvalidField" : "")), h(oe, "class", "FormRequired"), h(W, "for", "current-password"), h(C, "type", "password"), h(C, "name", "current-password"), h(C, "id", "current-password"), h(C, "autocapitalize", "none"), h(C, "autocomplete", ye = /*savecredentials*/
4458
+ e[5] ? "current-password" : "off"), h(C, "aria-describedby", "password-constraints"), C.required = !0, h(A, "class", de = "PasswordContainer " + /*invalidPassword*/
4459
+ (e[14] ? "InvalidField" : "")), h(K, "class", "SignInButton"), K.disabled = /*isFormDataInvalid*/
4460
+ e[19], h(K, "id", "signin-button"), h(ue, "class", "ForgotPasswordButton"), h(g, "id", "signin"), h(v, "class", "FormContent");
4498
4461
  },
4499
4462
  m(y, P) {
4500
- L(y, t, P), p(t, r), p(r, i), p(t, o), p(t, s), p(s, u), p(s, l), p(s, c), p(c, d), L(y, b, P), L(y, v, P), p(v, g), p(g, x), p(x, M), p(M, H), p(M, R), p(M, G), p(x, J), p(x, B), rt(
4463
+ L(y, t, P), m(t, r), m(r, i), m(t, o), m(t, s), m(s, c), m(s, l), m(s, u), m(u, d), L(y, b, P), L(y, v, P), m(v, g), m(g, x), m(x, M), m(M, H), m(M, R), m(M, G), m(x, J), m(x, B), rt(
4501
4464
  B,
4502
4465
  /*userValue*/
4503
4466
  e[11]
4504
- ), p(x, ne), U && U.m(x, null), p(g, de), p(g, A), p(A, W), p(W, Ue), p(W, Fe), p(W, se), p(A, Je), p(A, C), rt(
4467
+ ), m(x, re), U && U.m(x, null), m(g, fe), m(g, A), m(A, W), m(W, Re), m(W, Ue), m(W, oe), m(A, qe), m(A, C), rt(
4505
4468
  C,
4506
4469
  /*userPassword*/
4507
4470
  e[12]
4508
- ), e[35](C), p(A, De), Q.m(A, null), p(A, _e), F && F.m(A, null), p(A, Ee), D && D.m(A, null), p(g, ke), k && k.m(g, null), p(g, pe), p(g, ee), p(ee, $e), p(g, Qe), p(g, ce), p(ce, Ge), je || (Ye = [
4509
- ae(
4510
- c,
4471
+ ), e[35](C), m(A, Fe), Q.m(A, null), m(A, ve), F && F.m(A, null), m(A, _e), D && D.m(A, null), m(g, De), k && k.m(g, null), m(g, me), m(g, K), m(K, ke), m(g, Je), m(g, ue), m(ue, $e), Ge || (Qe = [
4472
+ se(
4473
+ u,
4511
4474
  "click",
4512
4475
  /*click_handler*/
4513
4476
  e[32]
4514
4477
  ),
4515
- ae(
4478
+ se(
4516
4479
  B,
4517
4480
  "input",
4518
4481
  /*input0_input_handler*/
4519
4482
  e[33]
4520
4483
  ),
4521
- ae(
4484
+ se(
4522
4485
  B,
4523
4486
  "input",
4524
4487
  /*validateUserName*/
4525
4488
  e[27]
4526
4489
  ),
4527
- ae(
4490
+ se(
4528
4491
  C,
4529
4492
  "input",
4530
4493
  /*input1_input_handler*/
4531
4494
  e[34]
4532
4495
  ),
4533
- ae(
4496
+ se(
4534
4497
  C,
4535
4498
  "input",
4536
4499
  /*validatePassword*/
4537
4500
  e[28]
4538
4501
  ),
4539
- ae(
4540
- ee,
4502
+ se(
4503
+ K,
4541
4504
  "click",
4542
4505
  /*click_handler_3*/
4543
4506
  e[38]
4544
4507
  ),
4545
- ae(
4546
- ce,
4508
+ se(
4509
+ ue,
4547
4510
  "click",
4548
4511
  /*click_handler_4*/
4549
4512
  e[39]
4550
4513
  )
4551
- ], je = !0);
4514
+ ], Ge = !0);
4552
4515
  },
4553
4516
  p(y, P) {
4554
4517
  P[0] & /*$_*/
4555
4518
  2097152 && n !== (n = /*$_*/
4556
- y[21]("loginTitle") + "") && re(i, n), P[0] & /*$_*/
4519
+ y[21]("loginTitle") + "") && te(i, n), P[0] & /*$_*/
4557
4520
  2097152 && a !== (a = /*$_*/
4558
- y[21]("loginSubtitle") + "") && re(u, a), P[0] & /*$_*/
4521
+ y[21]("loginSubtitle") + "") && te(c, a), P[0] & /*$_*/
4559
4522
  2097152 && f !== (f = /*$_*/
4560
- y[21]("loginSubtitleRegister") + "") && re(d, f), P[0] & /*$_*/
4523
+ y[21]("loginSubtitleRegister") + "") && te(d, f), P[0] & /*$_*/
4561
4524
  2097152 && q !== (q = /*$_*/
4562
- y[21]("loginUsername") + "") && re(H, q), P[0] & /*savecredentials*/
4563
- 32 && oe !== (oe = /*savecredentials*/
4564
- y[5] ? "username email" : "off") && h(B, "autocomplete", oe), P[0] & /*userValue*/
4525
+ y[21]("loginUsername") + "") && te(H, q), P[0] & /*savecredentials*/
4526
+ 32 && ie !== (ie = /*savecredentials*/
4527
+ y[5] ? "username email" : "off") && h(B, "autocomplete", ie), P[0] & /*userValue*/
4565
4528
  2048 && B.value !== /*userValue*/
4566
4529
  y[11] && rt(
4567
4530
  B,
4568
4531
  /*userValue*/
4569
4532
  y[11]
4570
4533
  ), /*invalidName*/
4571
- y[13] ? U ? U.p(y, P) : (U = Sr(y), U.c(), U.m(x, null)) : U && (U.d(1), U = null), P[0] & /*invalidName*/
4572
- 8192 && ie !== (ie = "UserContainer " + /*invalidName*/
4573
- (y[13] ? "InvalidField" : "")) && h(x, "class", ie), P[0] & /*$_*/
4574
- 2097152 && ye !== (ye = /*$_*/
4575
- y[21]("loginPassword") + "") && re(Ue, ye), P[0] & /*savecredentials*/
4576
- 32 && ve !== (ve = /*savecredentials*/
4577
- y[5] ? "current-password" : "off") && h(C, "autocomplete", ve), P[0] & /*userPassword*/
4534
+ y[13] ? U ? U.p(y, P) : (U = br(y), U.c(), U.m(x, null)) : U && (U.d(1), U = null), P[0] & /*invalidName*/
4535
+ 8192 && ne !== (ne = "UserContainer " + /*invalidName*/
4536
+ (y[13] ? "InvalidField" : "")) && h(x, "class", ne), P[0] & /*$_*/
4537
+ 2097152 && be !== (be = /*$_*/
4538
+ y[21]("loginPassword") + "") && te(Re, be), P[0] & /*savecredentials*/
4539
+ 32 && ye !== (ye = /*savecredentials*/
4540
+ y[5] ? "current-password" : "off") && h(C, "autocomplete", ye), P[0] & /*userPassword*/
4578
4541
  4096 && C.value !== /*userPassword*/
4579
4542
  y[12] && rt(
4580
4543
  C,
4581
4544
  /*userPassword*/
4582
4545
  y[12]
4583
- ), xe === (xe = Ke(y)) && Q ? Q.p(y, P) : (Q.d(1), Q = xe(y), Q && (Q.c(), Q.m(A, _e))), /*invalidPassword*/
4546
+ ), we === (we = Ye(y)) && Q ? Q.p(y, P) : (Q.d(1), Q = we(y), Q && (Q.c(), Q.m(A, ve))), /*invalidPassword*/
4584
4547
  y[14] && /*simplepasswordvalidation*/
4585
- y[2] !== "true" ? F ? F.p(y, P) : (F = Pr(y), F.c(), F.m(A, Ee)) : F && (F.d(1), F = null), /*invalidPassword*/
4548
+ y[2] !== "true" ? F ? F.p(y, P) : (F = yr(y), F.c(), F.m(A, _e)) : F && (F.d(1), F = null), /*invalidPassword*/
4586
4549
  y[14] && /*simplepasswordvalidation*/
4587
- y[2] === "true" ? D ? D.p(y, P) : (D = Tr(y), D.c(), D.m(A, null)) : D && (D.d(1), D = null), P[0] & /*invalidPassword*/
4588
- 16384 && me !== (me = "PasswordContainer " + /*invalidPassword*/
4589
- (y[14] ? "InvalidField" : "")) && h(A, "class", me), /*errorMessage*/
4590
- y[15] ? k ? k.p(y, P) : (k = Hr(y), k.c(), k.m(g, pe)) : k && (k.d(1), k = null), P[0] & /*$_*/
4591
- 2097152 && ge !== (ge = /*$_*/
4592
- y[21]("loginButton") + "") && re($e, ge), P[0] & /*isFormDataInvalid*/
4593
- 524288 && (ee.disabled = /*isFormDataInvalid*/
4550
+ y[2] === "true" ? D ? D.p(y, P) : (D = vr(y), D.c(), D.m(A, null)) : D && (D.d(1), D = null), P[0] & /*invalidPassword*/
4551
+ 16384 && de !== (de = "PasswordContainer " + /*invalidPassword*/
4552
+ (y[14] ? "InvalidField" : "")) && h(A, "class", de), /*errorMessage*/
4553
+ y[15] ? k ? k.p(y, P) : (k = _r(y), k.c(), k.m(g, me)) : k && (k.d(1), k = null), P[0] & /*$_*/
4554
+ 2097152 && pe !== (pe = /*$_*/
4555
+ y[21]("loginButton") + "") && te(ke, pe), P[0] & /*isFormDataInvalid*/
4556
+ 524288 && (K.disabled = /*isFormDataInvalid*/
4594
4557
  y[19]), P[0] & /*$_*/
4595
- 2097152 && we !== (we = /*$_*/
4596
- y[21]("loginForgotPassword") + "") && re(Ge, we);
4558
+ 2097152 && Ee !== (Ee = /*$_*/
4559
+ y[21]("loginForgotPassword") + "") && te($e, Ee);
4597
4560
  },
4598
4561
  d(y) {
4599
- y && (I(t), I(b), I(v)), U && U.d(), e[35](null), Q.d(), F && F.d(), D && D.d(), k && k.d(), je = !1, Le(Ye);
4562
+ y && (I(t), I(b), I(v)), U && U.d(), e[35](null), Q.d(), F && F.d(), D && D.d(), k && k.d(), Ge = !1, Oe(Qe);
4600
4563
  }
4601
4564
  };
4602
4565
  }
4603
- function Yo(e) {
4566
+ function Do(e) {
4604
4567
  let t;
4605
4568
  return {
4606
4569
  c() {
4607
- t = S("general-player-sms-verification-form"), K(
4570
+ t = S("general-player-sms-verification-form"), Y(
4608
4571
  t,
4609
4572
  "endpoint",
4610
4573
  /*endpoint*/
4611
4574
  e[0]
4612
- ), K(
4575
+ ), Y(
4613
4576
  t,
4614
4577
  "number",
4615
4578
  /*number*/
4616
4579
  e[9]
4617
- ), K(
4580
+ ), Y(
4618
4581
  t,
4619
4582
  "clientstyling",
4620
4583
  /*clientstyling*/
4621
4584
  e[3]
4622
- ), K(
4585
+ ), Y(
4623
4586
  t,
4624
4587
  "clientstylingurl",
4625
4588
  /*clientstylingurl*/
4626
4589
  e[4]
4627
- ), K(
4590
+ ), Y(
4628
4591
  t,
4629
4592
  "playerid",
4630
4593
  /*playerId*/
4631
4594
  e[7]
4632
- ), K(
4595
+ ), Y(
4633
4596
  t,
4634
4597
  "tokenid",
4635
4598
  /*smsTokenId*/
@@ -4641,37 +4604,37 @@ function Yo(e) {
4641
4604
  },
4642
4605
  p(r, n) {
4643
4606
  n[0] & /*endpoint*/
4644
- 1 && K(
4607
+ 1 && Y(
4645
4608
  t,
4646
4609
  "endpoint",
4647
4610
  /*endpoint*/
4648
4611
  r[0]
4649
4612
  ), n[0] & /*number*/
4650
- 512 && K(
4613
+ 512 && Y(
4651
4614
  t,
4652
4615
  "number",
4653
4616
  /*number*/
4654
4617
  r[9]
4655
4618
  ), n[0] & /*clientstyling*/
4656
- 8 && K(
4619
+ 8 && Y(
4657
4620
  t,
4658
4621
  "clientstyling",
4659
4622
  /*clientstyling*/
4660
4623
  r[3]
4661
4624
  ), n[0] & /*clientstylingurl*/
4662
- 16 && K(
4625
+ 16 && Y(
4663
4626
  t,
4664
4627
  "clientstylingurl",
4665
4628
  /*clientstylingurl*/
4666
4629
  r[4]
4667
4630
  ), n[0] & /*playerId*/
4668
- 128 && K(
4631
+ 128 && Y(
4669
4632
  t,
4670
4633
  "playerid",
4671
4634
  /*playerId*/
4672
4635
  r[7]
4673
4636
  ), n[0] & /*smsTokenId*/
4674
- 256 && K(
4637
+ 256 && Y(
4675
4638
  t,
4676
4639
  "tokenid",
4677
4640
  /*smsTokenId*/
@@ -4683,7 +4646,7 @@ function Yo(e) {
4683
4646
  }
4684
4647
  };
4685
4648
  }
4686
- function Sr(e) {
4649
+ function br(e) {
4687
4650
  let t, r = (
4688
4651
  /*$_*/
4689
4652
  e[21]("loginUsernameError") + ""
@@ -4693,46 +4656,46 @@ function Sr(e) {
4693
4656
  t = S("p"), n = N(r), h(t, "class", "InvalidInput");
4694
4657
  },
4695
4658
  m(i, o) {
4696
- L(i, t, o), p(t, n);
4659
+ L(i, t, o), m(t, n);
4697
4660
  },
4698
4661
  p(i, o) {
4699
4662
  o[0] & /*$_*/
4700
4663
  2097152 && r !== (r = /*$_*/
4701
- i[21]("loginUsernameError") + "") && re(n, r);
4664
+ i[21]("loginUsernameError") + "") && te(n, r);
4702
4665
  },
4703
4666
  d(i) {
4704
4667
  i && I(t);
4705
4668
  }
4706
4669
  };
4707
4670
  }
4708
- function Ko(e) {
4709
- let t, r, n, i, o, s, a, u, l;
4671
+ function ko(e) {
4672
+ let t, r, n, i, o, s, a, c, l;
4710
4673
  return {
4711
4674
  c() {
4712
4675
  t = O("svg"), r = O("defs"), n = O("style"), i = N(".a{fill:var(--emw--registration-typography, var(--emw--color-background, #07072A));}"), o = O("g"), s = O("path"), a = O("circle"), h(s, "class", "a"), h(s, "d", "M23.541,38.332a11.467,11.467,0,0,1-4.886-1.611,34.413,34.413,0,0,1-3.976-2.469,1.1,1.1,0,0,1-.494-.936,1.21,1.21,0,0,1,.442-.962A37.986,37.986,0,0,1,18.6,29.625a16.06,16.06,0,0,1,2.521-1.248,6.862,6.862,0,0,1,2.417-.546,6.862,6.862,0,0,1,2.417.546,20.541,20.541,0,0,1,2.547,1.248,45.872,45.872,0,0,1,4.054,2.729,1.159,1.159,0,0,1,.468.962,1.067,1.067,0,0,1-.52.936,36.353,36.353,0,0,1-4.054,2.469A11.2,11.2,0,0,1,23.541,38.332Zm0-9.46a9.813,9.813,0,0,0-4.392,1.663,44.138,44.138,0,0,0-3.873,2.651.13.13,0,0,0,0,.208,36.5,36.5,0,0,0,3.873,2.391,10.372,10.372,0,0,0,4.392,1.481,11.051,11.051,0,0,0,4.444-1.481,40.2,40.2,0,0,0,3.925-2.391.13.13,0,0,0,0-.208h0a34.132,34.132,0,0,0-3.925-2.651A10.072,10.072,0,0,0,23.541,28.872Z"), h(s, "transform", "translate(0)"), h(a, "class", "a"), h(a, "cx", "2.779"), h(a, "cy", "2.779"), h(a, "r", "2.779"), h(a, "transform", "translate(20.827 30.303)"), h(o, "transform", "translate(-14.185 -27.832)"), h(t, "class", "TogglePasswordVisibility"), h(t, "xmlns", "http://www.w3.org/2000/svg"), h(t, "width", "18.843"), h(t, "height", "10.5"), h(t, "viewBox", "0 0 18.843 10.5");
4713
4676
  },
4714
- m(c, f) {
4715
- L(c, t, f), p(t, r), p(r, n), p(n, i), p(t, o), p(o, s), p(o, a), u || (l = ae(
4677
+ m(u, f) {
4678
+ L(u, t, f), m(t, r), m(r, n), m(n, i), m(t, o), m(o, s), m(o, a), c || (l = se(
4716
4679
  t,
4717
4680
  "click",
4718
4681
  /*click_handler_2*/
4719
4682
  e[37]
4720
- ), u = !0);
4683
+ ), c = !0);
4721
4684
  },
4722
4685
  p: Z,
4723
- d(c) {
4724
- c && I(t), u = !1, l();
4686
+ d(u) {
4687
+ u && I(t), c = !1, l();
4725
4688
  }
4726
4689
  };
4727
4690
  }
4728
- function es(e) {
4729
- let t, r, n, i, o, s, a, u, l, c, f, d, b, v, g;
4691
+ function $o(e) {
4692
+ let t, r, n, i, o, s, a, c, l, u, f, d, b, v, g;
4730
4693
  return {
4731
4694
  c() {
4732
- t = O("svg"), r = O("defs"), n = O("style"), i = N(".a{fill:var(--emw--registration-typography, var(--emw--color-background, #07072A));}"), o = O("g"), s = O("circle"), a = O("g"), u = O("path"), l = O("path"), c = O("g"), f = O("path"), d = O("path"), b = O("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");
4695
+ t = O("svg"), r = O("defs"), n = O("style"), i = N(".a{fill:var(--emw--registration-typography, var(--emw--color-background, #07072A));}"), o = O("g"), s = O("circle"), a = O("g"), c = O("path"), l = O("path"), u = O("g"), f = O("path"), d = O("path"), b = O("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(c, "class", "a"), h(c, "d", "M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"), h(c, "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(u, "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");
4733
4696
  },
4734
4697
  m(x, M) {
4735
- L(x, t, M), 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), v || (g = ae(
4698
+ L(x, t, M), m(t, r), m(r, n), m(n, i), m(t, o), m(o, s), m(o, a), m(a, c), m(a, l), m(o, u), m(u, f), m(u, d), m(o, b), v || (g = se(
4736
4699
  t,
4737
4700
  "click",
4738
4701
  /*click_handler_1*/
@@ -4745,7 +4708,7 @@ function es(e) {
4745
4708
  }
4746
4709
  };
4747
4710
  }
4748
- function Pr(e) {
4711
+ function yr(e) {
4749
4712
  let t, r = (
4750
4713
  /*$_*/
4751
4714
  e[21]("loginPasswordError") + ""
@@ -4755,19 +4718,19 @@ function Pr(e) {
4755
4718
  t = S("p"), n = N(r), h(t, "class", "InvalidInput");
4756
4719
  },
4757
4720
  m(i, o) {
4758
- L(i, t, o), p(t, n);
4721
+ L(i, t, o), m(t, n);
4759
4722
  },
4760
4723
  p(i, o) {
4761
4724
  o[0] & /*$_*/
4762
4725
  2097152 && r !== (r = /*$_*/
4763
- i[21]("loginPasswordError") + "") && re(n, r);
4726
+ i[21]("loginPasswordError") + "") && te(n, r);
4764
4727
  },
4765
4728
  d(i) {
4766
4729
  i && I(t);
4767
4730
  }
4768
4731
  };
4769
4732
  }
4770
- function Tr(e) {
4733
+ function vr(e) {
4771
4734
  let t, r = (
4772
4735
  /*$_*/
4773
4736
  e[21]("loginSimplePasswordError") + ""
@@ -4777,19 +4740,19 @@ function Tr(e) {
4777
4740
  t = S("p"), n = N(r), h(t, "class", "InvalidInput");
4778
4741
  },
4779
4742
  m(i, o) {
4780
- L(i, t, o), p(t, n);
4743
+ L(i, t, o), m(t, n);
4781
4744
  },
4782
4745
  p(i, o) {
4783
4746
  o[0] & /*$_*/
4784
4747
  2097152 && r !== (r = /*$_*/
4785
- i[21]("loginSimplePasswordError") + "") && re(n, r);
4748
+ i[21]("loginSimplePasswordError") + "") && te(n, r);
4786
4749
  },
4787
4750
  d(i) {
4788
4751
  i && I(t);
4789
4752
  }
4790
4753
  };
4791
4754
  }
4792
- function Hr(e) {
4755
+ function _r(e) {
4793
4756
  let t, r;
4794
4757
  return {
4795
4758
  c() {
@@ -4799,11 +4762,11 @@ function Hr(e) {
4799
4762
  ), h(t, "class", "ErrorMessage");
4800
4763
  },
4801
4764
  m(n, i) {
4802
- L(n, t, i), p(t, r);
4765
+ L(n, t, i), m(t, r);
4803
4766
  },
4804
4767
  p(n, i) {
4805
4768
  i[0] & /*errorMessage*/
4806
- 32768 && re(
4769
+ 32768 && te(
4807
4770
  r,
4808
4771
  /*errorMessage*/
4809
4772
  n[15]
@@ -4814,126 +4777,126 @@ function Hr(e) {
4814
4777
  }
4815
4778
  };
4816
4779
  }
4817
- function ts(e) {
4780
+ function Go(e) {
4818
4781
  let t, r, n, i, o, s = (
4819
4782
  /*captchakey*/
4820
- e[1] && xr(e)
4783
+ e[1] && gr(e)
4821
4784
  );
4822
- function a(c, f) {
4785
+ function a(u, f) {
4823
4786
  return (
4824
4787
  /*isLoading*/
4825
- c[16] ? Jo : qo
4788
+ u[16] ? Uo : Ro
4826
4789
  );
4827
4790
  }
4828
- let u = a(e), l = u(e);
4791
+ let c = a(e), l = c(e);
4829
4792
  return {
4830
4793
  c() {
4831
- s && s.c(), t = Sn(), r = z(), n = S("div"), i = z(), o = S("div"), l.c(), h(n, "class", "g-recaptcha"), h(
4794
+ s && s.c(), t = hn(), r = z(), n = S("div"), i = z(), o = S("div"), l.c(), h(n, "class", "g-recaptcha"), h(
4832
4795
  n,
4833
4796
  "data-sitekey",
4834
4797
  /*captchakey*/
4835
4798
  e[1]
4836
4799
  ), h(o, "class", "PlayerLoginFormWrapper");
4837
4800
  },
4838
- m(c, f) {
4839
- s && s.m(wr.head, null), p(wr.head, t), L(c, r, f), L(c, n, f), L(c, i, f), L(c, o, f), l.m(o, null), e[40](o);
4801
+ m(u, f) {
4802
+ s && s.m(pr.head, null), m(pr.head, t), L(u, r, f), L(u, n, f), L(u, i, f), L(u, o, f), l.m(o, null), e[40](o);
4840
4803
  },
4841
- p(c, f) {
4804
+ p(u, f) {
4842
4805
  /*captchakey*/
4843
- c[1] ? s ? s.p(c, f) : (s = xr(c), s.c(), s.m(t.parentNode, t)) : s && (s.d(1), s = null), f[0] & /*captchakey*/
4806
+ u[1] ? s ? s.p(u, f) : (s = gr(u), s.c(), s.m(t.parentNode, t)) : s && (s.d(1), s = null), f[0] & /*captchakey*/
4844
4807
  2 && h(
4845
4808
  n,
4846
4809
  "data-sitekey",
4847
4810
  /*captchakey*/
4848
- c[1]
4849
- ), u === (u = a(c)) && l ? l.p(c, f) : (l.d(1), l = u(c), l && (l.c(), l.m(o, null)));
4811
+ u[1]
4812
+ ), c === (c = a(u)) && l ? l.p(u, f) : (l.d(1), l = c(u), l && (l.c(), l.m(o, null)));
4850
4813
  },
4851
4814
  i: Z,
4852
4815
  o: Z,
4853
- d(c) {
4854
- c && (I(r), I(n), I(i), I(o)), s && s.d(c), I(t), l.d(), e[40](null);
4816
+ d(u) {
4817
+ u && (I(r), I(n), I(i), I(o)), s && s.d(u), I(t), l.d(), e[40](null);
4855
4818
  }
4856
4819
  };
4857
4820
  }
4858
- let rs = "Please use this code {0} to activate your account";
4859
- function ns(e, t, r) {
4821
+ let jo = "Please use this code {0} to activate your account";
4822
+ function Vo(e, t, r) {
4860
4823
  let n;
4861
- vn(e, Vo, (m) => r(21, n = m));
4862
- let { endpoint: i = "" } = t, { captchakey: o = "" } = t, { lang: s = "en" } = t, { smsverification: a = "false" } = t, { simplepasswordvalidation: u = "false" } = t, { clientstyling: l = "" } = t, { clientstylingurl: c = "" } = t, { translationurl: f = "" } = t, { savecredentials: d = "" } = t, b, v, g = !1, x, M = !1, q = window.navigator.userAgent, H = "", R = "", G = { username: "", password: "" }, J = !1, B = !1, oe = "", ne = !1, ie, de = !1, A = !0, W, ye = +localStorage.getItem("smsTimer") || 0, Ue = Date.now() / 1e3 - ye, Fe = localStorage.getItem("smsValidation") == "true" && Ue < 60, se = {
4824
+ sn(e, Co, (p) => r(21, n = p));
4825
+ let { endpoint: i = "" } = t, { captchakey: o = "" } = t, { lang: s = "en" } = t, { smsverification: a = "false" } = t, { simplepasswordvalidation: c = "false" } = t, { clientstyling: l = "" } = t, { clientstylingurl: u = "" } = t, { translationurl: f = "" } = t, { savecredentials: d = "" } = t, b, v, g = !1, x, M = !1, q = window.navigator.userAgent, H = "", R = "", G = { username: "", password: "" }, J = !1, B = !1, ie = "", re = !1, ne, fe = !1, A = !0, W, be = +localStorage.getItem("smsTimer") || 0, Re = Date.now() / 1e3 - be, Ue = localStorage.getItem("smsValidation") == "true" && Re < 60, oe = {
4863
4826
  user: /^(?!(?:.*\d){9})(?=(?:.*[a-zA-Z]){4})^[a-zA-Z\d]*$/,
4864
4827
  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,
4865
4828
  password: /^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[^\w\s]).{8,20}$/
4866
4829
  };
4867
- Xo({ withLocale: "en", translations: {} });
4868
- const Je = () => {
4830
+ Lo({ withLocale: "en", translations: {} });
4831
+ const qe = () => {
4869
4832
  fetch(f).then(($) => $.json()).then(($) => {
4870
4833
  Object.keys($).forEach((j) => {
4871
- _r(j, $[j]);
4834
+ dr(j, $[j]);
4872
4835
  });
4873
4836
  }).catch(($) => {
4874
4837
  console.log($);
4875
4838
  });
4876
4839
  };
4877
- Object.keys(Er).forEach((m) => {
4878
- _r(m, Er[m]);
4840
+ Object.keys(mr).forEach((p) => {
4841
+ dr(p, mr[p]);
4879
4842
  });
4880
- const C = () => new Promise((m, $) => {
4843
+ const C = () => new Promise((p, $) => {
4881
4844
  grecaptcha.ready(() => {
4882
4845
  grecaptcha.execute(o, { action: "submit" }).then((j) => {
4883
- m(j);
4846
+ p(j);
4884
4847
  });
4885
4848
  });
4886
- }), ve = () => {
4887
- u == "true" && (se.password = /^(?!.* ).{8,20}$/);
4888
- }, De = () => {
4889
- r(18, de = !0), Ee();
4849
+ }), ye = () => {
4850
+ c == "true" && (oe.password = /^(?!.* ).{8,20}$/);
4851
+ }, Fe = () => {
4852
+ r(18, fe = !0), _e();
4853
+ }, ve = () => {
4854
+ r(18, fe = !1), _e();
4890
4855
  }, _e = () => {
4891
- r(18, de = !1), Ee();
4892
- }, Ee = () => {
4893
- r(17, ie.type = de ? "text" : "password", ie);
4894
- }, me = () => {
4856
+ r(17, ne.type = fe ? "text" : "password", ne);
4857
+ }, de = () => {
4895
4858
  window.postMessage({ type: "ToRegister" }, window.location.href);
4896
- }, ke = (m) => {
4897
- m.preventDefault(), window.postMessage({ type: "NavForgotPassword" }, window.location.href);
4898
- }, pe = (m) => {
4899
- m == null || m.preventDefault(), C().then(($) => {
4900
- ee(H) && ge(R) && (G = {
4859
+ }, De = (p) => {
4860
+ p.preventDefault(), window.postMessage({ type: "NavForgotPassword" }, window.location.href);
4861
+ }, me = (p) => {
4862
+ p?.preventDefault(), C().then(($) => {
4863
+ K(H) && pe(R) && (G = {
4901
4864
  username: H,
4902
4865
  password: R,
4903
4866
  token: $
4904
- }, r(16, ne = !0), Ge(G));
4867
+ }, r(16, re = !0), $e(G));
4905
4868
  });
4906
- }, ee = (m) => !!((se.user.test(m) || se.email.test(m)) && m.length <= 100), ge = (m) => !!se.password.test(m), $e = () => {
4907
- r(13, J = !ee(H)), r(19, A = !(!J && !B && R));
4908
- }, Qe = () => {
4909
- r(14, B = !ge(R)), r(19, A = !(!J && !B && H));
4910
- }, ce = (m) => {
4911
- if (m.data)
4912
- switch (m.data.type) {
4869
+ }, K = (p) => !!((oe.user.test(p) || oe.email.test(p)) && p.length <= 100), pe = (p) => !!oe.password.test(p), ke = () => {
4870
+ r(13, J = !K(H)), r(19, A = !(!J && !B && R));
4871
+ }, Je = () => {
4872
+ r(14, B = !pe(R)), r(19, A = !(!J && !B && H));
4873
+ }, ue = (p) => {
4874
+ if (p.data)
4875
+ switch (p.data.type) {
4913
4876
  case "ModalLoader":
4914
- r(16, ne = !1);
4877
+ r(16, re = !1);
4915
4878
  break;
4916
4879
  case "UserSessionID":
4917
- r(16, ne = !1);
4880
+ r(16, re = !1);
4918
4881
  break;
4919
4882
  case "SmsHasBeenValidated":
4920
- pe();
4883
+ me();
4921
4884
  break;
4922
4885
  }
4923
- }, we = (m) => {
4886
+ }, Ee = (p) => {
4924
4887
  typeof gtag == "function" && gtag("event", "Login", {
4925
4888
  context: "GeneralPlayerLoginRegisterPage"
4926
4889
  });
4927
- }, Ge = (zt) => et(this, [zt], function* ({ username: m, password: $, token: j }) {
4928
- let Xt = {
4890
+ }, $e = async ({ username: p, password: $, token: j }) => {
4891
+ let Ke = {
4929
4892
  "Content-Type": "application/json",
4930
4893
  "g-recaptcha-response": j
4931
- }, bt = { username: m, password: $ }, fn = {
4894
+ }, et = { username: p, password: $ }, nn = {
4932
4895
  method: "POST",
4933
- headers: Xt,
4934
- body: JSON.stringify(bt)
4896
+ headers: Ke,
4897
+ body: JSON.stringify(et)
4935
4898
  };
4936
- fetch(`${i}/v1/player/login/player`, fn).then((V) => (V.status >= 500 && (r(15, oe = "Server might not be responsing"), r(16, ne = !1), window.postMessage(
4899
+ fetch(`${i}/v1/player/login/player`, nn).then((V) => (V.status >= 500 && (r(15, ie = "Server might not be responsing"), r(16, re = !1), window.postMessage(
4937
4900
  {
4938
4901
  type: "WidgetNotification",
4939
4902
  data: {
@@ -4943,7 +4906,7 @@ function ns(e, t, r) {
4943
4906
  },
4944
4907
  window.location.href
4945
4908
  )), V.json())).then((V) => {
4946
- if (V.actions !== void 0 && window.postMessage({ type: "PlayerActions" }, window.location.href), a === "true" && V.code === 4 && (r(7, b = V.detail.userId), r(9, x = V.detail.phonePrefix + V.detail.phone), r(20, Fe = !0), je(x, b), localStorage.setItem("smsValidation", "true"), localStorage.setItem("playerData", JSON.stringify({ playerid: b, number: x }))), V.sessionID) {
4909
+ if (V.actions !== void 0 && window.postMessage({ type: "PlayerActions" }, window.location.href), a === "true" && V.code === 4 && (r(7, b = V.detail.userId), r(9, x = V.detail.phonePrefix + V.detail.phone), r(20, Ue = !0), Ge(x, b), localStorage.setItem("smsValidation", "true"), localStorage.setItem("playerData", JSON.stringify({ playerid: b, number: x }))), V.sessionID) {
4947
4910
  if (window.postMessage(
4948
4911
  {
4949
4912
  type: "UserSessionID",
@@ -4961,38 +4924,38 @@ function ns(e, t, r) {
4961
4924
  },
4962
4925
  window.location.href
4963
4926
  ), window.PasswordCredential && d == "true") {
4964
- const Ve = new PasswordCredential({
4965
- password: bt.password,
4966
- id: bt.username
4927
+ const je = new PasswordCredential({
4928
+ password: et.password,
4929
+ id: et.username
4967
4930
  });
4968
- navigator.credentials.store(Ve);
4931
+ navigator.credentials.store(je);
4969
4932
  }
4970
- we();
4933
+ Ee();
4971
4934
  } else
4972
4935
  try {
4973
- let Ve = V.error;
4974
- r(15, oe = Ve), r(16, ne = !1), window.postMessage(
4936
+ let je = V.error;
4937
+ r(15, ie = je), r(16, re = !1), window.postMessage(
4975
4938
  {
4976
4939
  type: "WidgetNotification",
4977
- data: { type: "error", message: Ve }
4940
+ data: { type: "error", message: je }
4978
4941
  },
4979
4942
  window.location.href
4980
4943
  );
4981
- } catch (Ve) {
4982
- let Wt = V.error.substring(V.error.indexOf("errorMessage") + 13, V.error.length);
4983
- r(15, oe = Wt), r(16, ne = !1), window.postMessage(
4944
+ } catch {
4945
+ let jt = V.error.substring(V.error.indexOf("errorMessage") + 13, V.error.length);
4946
+ r(15, ie = jt), r(16, re = !1), window.postMessage(
4984
4947
  {
4985
4948
  type: "WidgetNotification",
4986
- data: { type: "error", message: Wt }
4949
+ data: { type: "error", message: jt }
4987
4950
  },
4988
4951
  window.location.href
4989
4952
  );
4990
4953
  }
4991
4954
  });
4992
- }), je = (m, $) => et(this, null, function* () {
4955
+ }, Ge = async (p, $) => {
4993
4956
  localStorage.setItem("smsTimer", JSON.stringify(Math.floor(Date.now() / 1e3)));
4994
4957
  try {
4995
- const j = yield fetch(`${i}/v1/player/sms/token`, {
4958
+ const j = await fetch(`${i}/v1/player/sms/token`, {
4996
4959
  method: "POST",
4997
4960
  headers: {
4998
4961
  "Content-Type": "application/json",
@@ -5000,27 +4963,27 @@ function ns(e, t, r) {
5000
4963
  },
5001
4964
  body: JSON.stringify({
5002
4965
  userId: $,
5003
- messageTemplate: rs,
5004
- destination: m
4966
+ messageTemplate: jo,
4967
+ destination: p
5005
4968
  })
5006
- }), zt = yield j.json();
4969
+ }), Ke = await j.json();
5007
4970
  if (j.ok) {
5008
- r(8, v = zt.id);
5009
- let Xt = zt.maxValidationAttempts;
4971
+ r(8, v = Ke.id);
4972
+ let et = Ke.maxValidationAttempts;
5010
4973
  g = !1;
5011
4974
  } else
5012
4975
  throw g = !0, new Error("Failed to fetch");
5013
4976
  } catch (j) {
5014
4977
  g = !0, console.error(j);
5015
4978
  }
5016
- }), Ye = () => {
5017
- Wo(s);
4979
+ }, Qe = () => {
4980
+ Mo(s);
5018
4981
  }, U = () => {
5019
- let m = document.createElement("style");
5020
- m.innerHTML = l, W.appendChild(m);
5021
- }, Ke = () => {
5022
- let m = new URL(c), $ = document.createElement("style");
5023
- fetch(m.href).then((j) => j.text()).then((j) => {
4982
+ let p = document.createElement("style");
4983
+ p.innerHTML = l, W.appendChild(p);
4984
+ }, Ye = () => {
4985
+ let p = new URL(u), $ = document.createElement("style");
4986
+ fetch(p.href).then((j) => j.text()).then((j) => {
5024
4987
  $.innerHTML = j, setTimeout(
5025
4988
  () => {
5026
4989
  W.appendChild($);
@@ -5033,42 +4996,42 @@ function ns(e, t, r) {
5033
4996
  );
5034
4997
  });
5035
4998
  };
5036
- Bn(() => (window.addEventListener("message", ce, !1), window.postMessage({ type: "LoginRegisterModalActive" }, window.location.href), r(10, M = zo(q)), () => {
5037
- window.removeEventListener("message", ce);
4999
+ pn(() => (window.addEventListener("message", ue, !1), window.postMessage({ type: "LoginRegisterModalActive" }, window.location.href), r(10, M = Oo(q)), () => {
5000
+ window.removeEventListener("message", ue);
5038
5001
  }));
5039
- const xe = () => me();
5002
+ const we = () => de();
5040
5003
  function Q() {
5041
5004
  H = this.value, r(11, H);
5042
5005
  }
5043
5006
  function F() {
5044
5007
  R = this.value, r(12, R);
5045
5008
  }
5046
- function D(m) {
5047
- ut[m ? "unshift" : "push"](() => {
5048
- ie = m, r(17, ie);
5009
+ function D(p) {
5010
+ ut[p ? "unshift" : "push"](() => {
5011
+ ne = p, r(17, ne);
5049
5012
  });
5050
5013
  }
5051
- const k = () => _e(), y = () => De(), P = (m) => pe(m), cn = (m) => ke(m);
5052
- function hn(m) {
5053
- ut[m ? "unshift" : "push"](() => {
5054
- W = m, r(6, W);
5014
+ const k = () => ve(), y = () => Fe(), P = (p) => me(p), tn = (p) => De(p);
5015
+ function rn(p) {
5016
+ ut[p ? "unshift" : "push"](() => {
5017
+ W = p, r(6, W);
5055
5018
  });
5056
5019
  }
5057
- return e.$$set = (m) => {
5058
- "endpoint" in m && r(0, i = m.endpoint), "captchakey" in m && r(1, o = m.captchakey), "lang" in m && r(29, s = m.lang), "smsverification" in m && r(30, a = m.smsverification), "simplepasswordvalidation" in m && r(2, u = m.simplepasswordvalidation), "clientstyling" in m && r(3, l = m.clientstyling), "clientstylingurl" in m && r(4, c = m.clientstylingurl), "translationurl" in m && r(31, f = m.translationurl), "savecredentials" in m && r(5, d = m.savecredentials);
5020
+ return e.$$set = (p) => {
5021
+ "endpoint" in p && r(0, i = p.endpoint), "captchakey" in p && r(1, o = p.captchakey), "lang" in p && r(29, s = p.lang), "smsverification" in p && r(30, a = p.smsverification), "simplepasswordvalidation" in p && r(2, c = p.simplepasswordvalidation), "clientstyling" in p && r(3, l = p.clientstyling), "clientstylingurl" in p && r(4, u = p.clientstylingurl), "translationurl" in p && r(31, f = p.translationurl), "savecredentials" in p && r(5, d = p.savecredentials);
5059
5022
  }, e.$$.update = () => {
5060
5023
  e.$$.dirty[0] & /*endpoint, lang*/
5061
- 536870913 && i && s && Ye(), e.$$.dirty[0] & /*simplepasswordvalidation*/
5062
- 4 && u && ve(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5024
+ 536870913 && i && s && Qe(), e.$$.dirty[0] & /*simplepasswordvalidation*/
5025
+ 4 && c && ye(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5063
5026
  72 && l && W && U(), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5064
- 80 && c && W && Ke(), e.$$.dirty[1] & /*translationurl*/
5065
- 1 && f && Je();
5027
+ 80 && u && W && Ye(), e.$$.dirty[1] & /*translationurl*/
5028
+ 1 && f && qe();
5066
5029
  }, [
5067
5030
  i,
5068
5031
  o,
5069
- u,
5070
- l,
5071
5032
  c,
5033
+ l,
5034
+ u,
5072
5035
  d,
5073
5036
  W,
5074
5037
  b,
@@ -5079,42 +5042,42 @@ function ns(e, t, r) {
5079
5042
  R,
5080
5043
  J,
5081
5044
  B,
5082
- oe,
5083
- ne,
5084
5045
  ie,
5085
- de,
5046
+ re,
5047
+ ne,
5048
+ fe,
5086
5049
  A,
5087
- Fe,
5050
+ Ue,
5088
5051
  n,
5052
+ Fe,
5053
+ ve,
5054
+ de,
5089
5055
  De,
5090
- _e,
5091
5056
  me,
5092
5057
  ke,
5093
- pe,
5094
- $e,
5095
- Qe,
5058
+ Je,
5096
5059
  s,
5097
5060
  a,
5098
5061
  f,
5099
- xe,
5062
+ we,
5100
5063
  Q,
5101
5064
  F,
5102
5065
  D,
5103
5066
  k,
5104
5067
  y,
5105
5068
  P,
5106
- cn,
5107
- hn
5069
+ tn,
5070
+ rn
5108
5071
  ];
5109
5072
  }
5110
- class un extends kn {
5073
+ class zo extends Hn {
5111
5074
  constructor(t) {
5112
- super(), Fn(
5075
+ super(), Pn(
5113
5076
  this,
5114
5077
  t,
5115
- ns,
5116
- ts,
5117
- Ar,
5078
+ Vo,
5079
+ Go,
5080
+ wr,
5118
5081
  {
5119
5082
  endpoint: 0,
5120
5083
  captchakey: 1,
@@ -5126,7 +5089,7 @@ class un extends kn {
5126
5089
  translationurl: 31,
5127
5090
  savecredentials: 5
5128
5091
  },
5129
- Zo,
5092
+ No,
5130
5093
  [-1, -1]
5131
5094
  );
5132
5095
  }
@@ -5134,87 +5097,83 @@ class un extends kn {
5134
5097
  return this.$$.ctx[0];
5135
5098
  }
5136
5099
  set endpoint(t) {
5137
- this.$$set({ endpoint: t }), te();
5100
+ this.$$set({ endpoint: t }), ee();
5138
5101
  }
5139
5102
  get captchakey() {
5140
5103
  return this.$$.ctx[1];
5141
5104
  }
5142
5105
  set captchakey(t) {
5143
- this.$$set({ captchakey: t }), te();
5106
+ this.$$set({ captchakey: t }), ee();
5144
5107
  }
5145
5108
  get lang() {
5146
5109
  return this.$$.ctx[29];
5147
5110
  }
5148
5111
  set lang(t) {
5149
- this.$$set({ lang: t }), te();
5112
+ this.$$set({ lang: t }), ee();
5150
5113
  }
5151
5114
  get smsverification() {
5152
5115
  return this.$$.ctx[30];
5153
5116
  }
5154
5117
  set smsverification(t) {
5155
- this.$$set({ smsverification: t }), te();
5118
+ this.$$set({ smsverification: t }), ee();
5156
5119
  }
5157
5120
  get simplepasswordvalidation() {
5158
5121
  return this.$$.ctx[2];
5159
5122
  }
5160
5123
  set simplepasswordvalidation(t) {
5161
- this.$$set({ simplepasswordvalidation: t }), te();
5124
+ this.$$set({ simplepasswordvalidation: t }), ee();
5162
5125
  }
5163
5126
  get clientstyling() {
5164
5127
  return this.$$.ctx[3];
5165
5128
  }
5166
5129
  set clientstyling(t) {
5167
- this.$$set({ clientstyling: t }), te();
5130
+ this.$$set({ clientstyling: t }), ee();
5168
5131
  }
5169
5132
  get clientstylingurl() {
5170
5133
  return this.$$.ctx[4];
5171
5134
  }
5172
5135
  set clientstylingurl(t) {
5173
- this.$$set({ clientstylingurl: t }), te();
5136
+ this.$$set({ clientstylingurl: t }), ee();
5174
5137
  }
5175
5138
  get translationurl() {
5176
5139
  return this.$$.ctx[31];
5177
5140
  }
5178
5141
  set translationurl(t) {
5179
- this.$$set({ translationurl: t }), te();
5142
+ this.$$set({ translationurl: t }), ee();
5180
5143
  }
5181
5144
  get savecredentials() {
5182
5145
  return this.$$.ctx[5];
5183
5146
  }
5184
5147
  set savecredentials(t) {
5185
- this.$$set({ savecredentials: t }), te();
5148
+ this.$$set({ savecredentials: t }), ee();
5186
5149
  }
5187
5150
  }
5188
- Dn(un, { endpoint: {}, captchakey: {}, lang: {}, smsverification: {}, simplepasswordvalidation: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, savecredentials: {} }, [], [], !0);
5189
- const os = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5190
- __proto__: null,
5191
- default: un
5192
- }, Symbol.toStringTag, { value: "Module" }));
5151
+ Tn(zo, { endpoint: {}, captchakey: {}, lang: {}, smsverification: {}, simplepasswordvalidation: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, savecredentials: {} }, [], [], !0);
5193
5152
  export {
5194
- fe as $,
5195
- os as G,
5196
- kn as S,
5197
- Ne as a,
5198
- nn as b,
5199
- Dn as c,
5200
- En as d,
5153
+ he as $,
5154
+ zo as G,
5155
+ Hn as S,
5156
+ Me as a,
5157
+ Jr as b,
5158
+ Tn as c,
5159
+ ln as d,
5201
5160
  S as e,
5202
- te as f,
5161
+ ee as f,
5203
5162
  z as g,
5204
5163
  h,
5205
- Fn as i,
5164
+ Pn as i,
5206
5165
  L as j,
5207
- p as k,
5166
+ m as k,
5208
5167
  rt as l,
5209
- ae as m,
5210
- re as n,
5168
+ se as m,
5169
+ te as n,
5211
5170
  Z as o,
5212
5171
  I as p,
5213
- vn as q,
5214
- Le as r,
5215
- Ar as s,
5172
+ sn as q,
5173
+ Oe as r,
5174
+ wr as s,
5216
5175
  N as t,
5217
- Bn as u,
5176
+ pn as u,
5218
5177
  ut as v,
5219
- Vo as w
5178
+ Co as w
5220
5179
  };