@everymatrix/general-player-register-form-nd 1.53.0 → 1.53.10

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 ln = Object.defineProperty, hn = Object.defineProperties;
2
- var fn = Object.getOwnPropertyDescriptors;
3
- var Rt = Object.getOwnPropertySymbols;
4
- var cn = Object.prototype.hasOwnProperty, mn = Object.prototype.propertyIsEnumerable;
5
- var $e = (e, t, r) => t in e ? ln(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Lt = (e, t) => {
6
- for (var r in t || (t = {}))
7
- cn.call(t, r) && $e(e, r, t[r]);
8
- if (Rt)
9
- for (var r of Rt(t))
10
- mn.call(t, r) && $e(e, r, t[r]);
11
- return e;
12
- }, Mt = (e, t) => hn(e, fn(t));
13
- var F = (e, t, r) => $e(e, typeof t != "symbol" ? t + "" : t, r);
14
- var we = (e, t, r) => new Promise((n, i) => {
15
- var s = (l) => {
16
- try {
17
- a(r.next(l));
18
- } catch (u) {
19
- i(u);
20
- }
21
- }, o = (l) => {
22
- try {
23
- a(r.throw(l));
24
- } catch (u) {
25
- i(u);
26
- }
27
- }, a = (l) => l.done ? n(l.value) : Promise.resolve(l.value).then(s, o);
28
- a((r = r.apply(e, t)).next());
29
- });
30
1
  function k() {
31
2
  }
32
- function cr(e) {
3
+ function ir(e) {
33
4
  return e();
34
5
  }
35
- function Nt() {
6
+ function At() {
36
7
  return /* @__PURE__ */ Object.create(null);
37
8
  }
38
- function ge(e) {
39
- e.forEach(cr);
9
+ function pe(e) {
10
+ e.forEach(ir);
40
11
  }
41
- function mt(e) {
12
+ function lt(e) {
42
13
  return typeof e == "function";
43
14
  }
44
- function mr(e, t) {
15
+ function sr(e, t) {
45
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
17
  }
47
- let Se;
48
- function Ys(e, t) {
49
- return e === t ? !0 : (Se || (Se = document.createElement("a")), Se.href = t, e === Se.href);
18
+ let Ee;
19
+ function Fs(e, t) {
20
+ return e === t ? !0 : (Ee || (Ee = document.createElement("a")), Ee.href = t, e === Ee.href);
50
21
  }
51
- function pn(e) {
22
+ function Yr(e) {
52
23
  return Object.keys(e).length === 0;
53
24
  }
54
- function pr(e, ...t) {
25
+ function or(e, ...t) {
55
26
  if (e == null) {
56
27
  for (const n of t)
57
28
  n(void 0);
@@ -60,24 +31,24 @@ function pr(e, ...t) {
60
31
  const r = e.subscribe(...t);
61
32
  return r.unsubscribe ? () => r.unsubscribe() : r;
62
33
  }
63
- function dn(e, t, r) {
64
- e.$$.on_destroy.push(pr(t, r));
34
+ function Kr(e, t, r) {
35
+ e.$$.on_destroy.push(or(t, r));
65
36
  }
66
- const Ks = typeof window != "undefined" ? window : typeof globalThis != "undefined" ? globalThis : (
37
+ const Us = typeof window < "u" ? window : typeof globalThis < "u" ? globalThis : (
67
38
  // @ts-ignore Node typings have this
68
39
  global
69
40
  );
70
41
  function E(e, t) {
71
42
  e.appendChild(t);
72
43
  }
73
- function gn(e, t, r) {
74
- const n = bn(e);
44
+ function en(e, t, r) {
45
+ const n = tn(e);
75
46
  if (!n.getElementById(t)) {
76
47
  const i = B("style");
77
- i.id = t, i.textContent = r, yn(n, i);
48
+ i.id = t, i.textContent = r, rn(n, i);
78
49
  }
79
50
  }
80
- function bn(e) {
51
+ function tn(e) {
81
52
  if (!e) return document;
82
53
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
83
54
  return t && /** @type {ShadowRoot} */
@@ -86,59 +57,59 @@ function bn(e) {
86
57
  t
87
58
  ) : e.ownerDocument;
88
59
  }
89
- function yn(e, t) {
60
+ function rn(e, t) {
90
61
  return E(
91
62
  /** @type {Document} */
92
63
  e.head || e,
93
64
  t
94
65
  ), t.sheet;
95
66
  }
96
- function U(e, t, r) {
67
+ function F(e, t, r) {
97
68
  e.insertBefore(t, r || null);
98
69
  }
99
- function N(e) {
70
+ function M(e) {
100
71
  e.parentNode && e.parentNode.removeChild(e);
101
72
  }
102
- function eo(e, t) {
73
+ function ks(e, t) {
103
74
  for (let r = 0; r < e.length; r += 1)
104
75
  e[r] && e[r].d(t);
105
76
  }
106
77
  function B(e) {
107
78
  return document.createElement(e);
108
79
  }
109
- function xe(e) {
80
+ function we(e) {
110
81
  return document.createElementNS("http://www.w3.org/2000/svg", e);
111
82
  }
112
- function $(e) {
83
+ function j(e) {
113
84
  return document.createTextNode(e);
114
85
  }
115
- function G() {
116
- return $(" ");
86
+ function U() {
87
+ return j(" ");
117
88
  }
118
- function vn() {
119
- return $("");
89
+ function nn() {
90
+ return j("");
120
91
  }
121
- function _n(e, t, r, n) {
92
+ function sn(e, t, r, n) {
122
93
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
123
94
  }
124
95
  function T(e, t, r) {
125
96
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
126
97
  }
127
- function m(e, t, r) {
98
+ function d(e, t, r) {
128
99
  const n = t.toLowerCase();
129
100
  n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : T(e, t, r);
130
101
  }
131
- function En(e) {
102
+ function on(e) {
132
103
  return Array.from(e.childNodes);
133
104
  }
134
- function K(e, t) {
105
+ function Y(e, t) {
135
106
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
136
107
  t);
137
108
  }
138
- function to(e, t) {
139
- e.value = t == null ? "" : t;
109
+ function Gs(e, t) {
110
+ e.value = t ?? "";
140
111
  }
141
- function ro(e, t, r) {
112
+ function js(e, t, r) {
142
113
  for (let n = 0; n < e.options.length; n += 1) {
143
114
  const i = e.options[n];
144
115
  if (i.__value === t) {
@@ -148,11 +119,11 @@ function ro(e, t, r) {
148
119
  }
149
120
  (!r || t !== void 0) && (e.selectedIndex = -1);
150
121
  }
151
- function no(e) {
122
+ function $s(e) {
152
123
  const t = e.querySelector(":checked");
153
124
  return t && t.__value;
154
125
  }
155
- function wn(e) {
126
+ function an(e) {
156
127
  const t = {};
157
128
  return e.childNodes.forEach(
158
129
  /** @param {Element} node */
@@ -161,248 +132,244 @@ function wn(e) {
161
132
  }
162
133
  ), t;
163
134
  }
164
- let me;
165
- function ce(e) {
166
- me = e;
135
+ let ce;
136
+ function fe(e) {
137
+ ce = e;
167
138
  }
168
- function Sn() {
169
- if (!me) throw new Error("Function called outside component initialization");
170
- return me;
139
+ function un() {
140
+ if (!ce) throw new Error("Function called outside component initialization");
141
+ return ce;
171
142
  }
172
- function xn(e) {
173
- Sn().$$.on_mount.push(e);
143
+ function ln(e) {
144
+ un().$$.on_mount.push(e);
174
145
  }
175
- const Y = [], Ce = [];
176
- let ee = [];
177
- const Dt = [], Tn = /* @__PURE__ */ Promise.resolve();
178
- let Ye = !1;
179
- function Hn() {
180
- Ye || (Ye = !0, Tn.then(A));
146
+ const Q = [], Pe = [];
147
+ let K = [];
148
+ const Pt = [], hn = /* @__PURE__ */ Promise.resolve();
149
+ let Ze = !1;
150
+ function fn() {
151
+ Ze || (Ze = !0, hn.then(A));
181
152
  }
182
- function Ke(e) {
183
- ee.push(e);
153
+ function Je(e) {
154
+ K.push(e);
184
155
  }
185
- const Ve = /* @__PURE__ */ new Set();
186
- let q = 0;
156
+ const Ge = /* @__PURE__ */ new Set();
157
+ let J = 0;
187
158
  function A() {
188
- if (q !== 0)
159
+ if (J !== 0)
189
160
  return;
190
- const e = me;
161
+ const e = ce;
191
162
  do {
192
163
  try {
193
- for (; q < Y.length; ) {
194
- const t = Y[q];
195
- q++, ce(t), Bn(t.$$);
164
+ for (; J < Q.length; ) {
165
+ const t = Q[J];
166
+ J++, fe(t), cn(t.$$);
196
167
  }
197
168
  } catch (t) {
198
- throw Y.length = 0, q = 0, t;
169
+ throw Q.length = 0, J = 0, t;
199
170
  }
200
- for (ce(null), Y.length = 0, q = 0; Ce.length; ) Ce.pop()();
201
- for (let t = 0; t < ee.length; t += 1) {
202
- const r = ee[t];
203
- Ve.has(r) || (Ve.add(r), r());
171
+ for (fe(null), Q.length = 0, J = 0; Pe.length; ) Pe.pop()();
172
+ for (let t = 0; t < K.length; t += 1) {
173
+ const r = K[t];
174
+ Ge.has(r) || (Ge.add(r), r());
204
175
  }
205
- ee.length = 0;
206
- } while (Y.length);
207
- for (; Dt.length; )
208
- Dt.pop()();
209
- Ye = !1, Ve.clear(), ce(e);
176
+ K.length = 0;
177
+ } while (Q.length);
178
+ for (; Pt.length; )
179
+ Pt.pop()();
180
+ Ze = !1, Ge.clear(), fe(e);
210
181
  }
211
- function Bn(e) {
182
+ function cn(e) {
212
183
  if (e.fragment !== null) {
213
- e.update(), ge(e.before_update);
184
+ e.update(), pe(e.before_update);
214
185
  const t = e.dirty;
215
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ke);
186
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Je);
216
187
  }
217
188
  }
218
- function An(e) {
189
+ function dn(e) {
219
190
  const t = [], r = [];
220
- ee.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), ee = t;
191
+ K.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), K = t;
221
192
  }
222
- const Pn = /* @__PURE__ */ new Set();
223
- function On(e, t) {
224
- e && e.i && (Pn.delete(e), e.i(t));
193
+ const mn = /* @__PURE__ */ new Set();
194
+ function pn(e, t) {
195
+ e && e.i && (mn.delete(e), e.i(t));
225
196
  }
226
- function io(e) {
227
- return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
197
+ function Vs(e) {
198
+ return e?.length !== void 0 ? e : Array.from(e);
228
199
  }
229
- function Cn(e, t, r) {
200
+ function gn(e, t, r) {
230
201
  const { fragment: n, after_update: i } = e.$$;
231
- n && n.m(t, r), Ke(() => {
232
- const s = e.$$.on_mount.map(cr).filter(mt);
233
- e.$$.on_destroy ? e.$$.on_destroy.push(...s) : ge(s), e.$$.on_mount = [];
234
- }), i.forEach(Ke);
202
+ n && n.m(t, r), Je(() => {
203
+ const s = e.$$.on_mount.map(ir).filter(lt);
204
+ e.$$.on_destroy ? e.$$.on_destroy.push(...s) : pe(s), e.$$.on_mount = [];
205
+ }), i.forEach(Je);
235
206
  }
236
- function In(e, t) {
207
+ function bn(e, t) {
237
208
  const r = e.$$;
238
- r.fragment !== null && (An(r.after_update), ge(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
209
+ r.fragment !== null && (dn(r.after_update), pe(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
239
210
  }
240
- function Rn(e, t) {
241
- e.$$.dirty[0] === -1 && (Y.push(e), Hn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
211
+ function yn(e, t) {
212
+ e.$$.dirty[0] === -1 && (Q.push(e), fn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
242
213
  }
243
- function Ln(e, t, r, n, i, s, o = null, a = [-1]) {
244
- const l = me;
245
- ce(e);
246
- const u = e.$$ = {
214
+ function vn(e, t, r, n, i, s, o = null, a = [-1]) {
215
+ const h = ce;
216
+ fe(e);
217
+ const l = e.$$ = {
247
218
  fragment: null,
248
219
  ctx: [],
249
220
  // state
250
221
  props: s,
251
222
  update: k,
252
223
  not_equal: i,
253
- bound: Nt(),
224
+ bound: At(),
254
225
  // lifecycle
255
226
  on_mount: [],
256
227
  on_destroy: [],
257
228
  on_disconnect: [],
258
229
  before_update: [],
259
230
  after_update: [],
260
- context: new Map(t.context || (l ? l.$$.context : [])),
231
+ context: new Map(t.context || (h ? h.$$.context : [])),
261
232
  // everything else
262
- callbacks: Nt(),
233
+ callbacks: At(),
263
234
  dirty: a,
264
235
  skip_bound: !1,
265
- root: t.target || l.$$.root
236
+ root: t.target || h.$$.root
266
237
  };
267
- o && o(u.root);
268
- let h = !1;
269
- if (u.ctx = r ? r(e, t.props || {}, (c, p, ...y) => {
270
- const g = y.length ? y[0] : p;
271
- return u.ctx && i(u.ctx[c], u.ctx[c] = g) && (!u.skip_bound && u.bound[c] && u.bound[c](g), h && Rn(e, c)), p;
272
- }) : [], u.update(), h = !0, ge(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
238
+ o && o(l.root);
239
+ let u = !1;
240
+ if (l.ctx = r ? r(e, t.props || {}, (c, m, ...y) => {
241
+ const g = y.length ? y[0] : m;
242
+ return l.ctx && i(l.ctx[c], l.ctx[c] = g) && (!l.skip_bound && l.bound[c] && l.bound[c](g), u && yn(e, c)), m;
243
+ }) : [], l.update(), u = !0, pe(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
273
244
  if (t.hydrate) {
274
- const c = En(t.target);
275
- u.fragment && u.fragment.l(c), c.forEach(N);
245
+ const c = on(t.target);
246
+ l.fragment && l.fragment.l(c), c.forEach(M);
276
247
  } else
277
- u.fragment && u.fragment.c();
278
- t.intro && On(e.$$.fragment), Cn(e, t.target, t.anchor), A();
248
+ l.fragment && l.fragment.c();
249
+ t.intro && pn(e.$$.fragment), gn(e, t.target, t.anchor), A();
279
250
  }
280
- ce(l);
281
- }
282
- let dr;
283
- typeof HTMLElement == "function" && (dr = class extends HTMLElement {
284
- constructor(t, r, n) {
285
- super();
286
- /** The Svelte component constructor */
287
- F(this, "$$ctor");
288
- /** Slots */
289
- F(this, "$$s");
290
- /** The Svelte component instance */
291
- F(this, "$$c");
292
- /** Whether or not the custom element is connected */
293
- F(this, "$$cn", !1);
294
- /** Component props data */
295
- F(this, "$$d", {});
296
- /** `true` if currently in the process of reflecting component props back to attributes */
297
- F(this, "$$r", !1);
298
- /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
299
- F(this, "$$p_d", {});
300
- /** @type {Record<string, Function[]>} Event listeners */
301
- F(this, "$$l", {});
302
- /** @type {Map<Function, Function>} Event listener unsubscribe functions */
303
- F(this, "$$l_u", /* @__PURE__ */ new Map());
304
- this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
251
+ fe(h);
252
+ }
253
+ let ar;
254
+ typeof HTMLElement == "function" && (ar = class extends HTMLElement {
255
+ /** The Svelte component constructor */
256
+ $$ctor;
257
+ /** Slots */
258
+ $$s;
259
+ /** The Svelte component instance */
260
+ $$c;
261
+ /** Whether or not the custom element is connected */
262
+ $$cn = !1;
263
+ /** Component props data */
264
+ $$d = {};
265
+ /** `true` if currently in the process of reflecting component props back to attributes */
266
+ $$r = !1;
267
+ /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
268
+ $$p_d = {};
269
+ /** @type {Record<string, Function[]>} Event listeners */
270
+ $$l = {};
271
+ /** @type {Map<Function, Function>} Event listener unsubscribe functions */
272
+ $$l_u = /* @__PURE__ */ new Map();
273
+ constructor(e, t, r) {
274
+ super(), this.$$ctor = e, this.$$s = t, r && this.attachShadow({ mode: "open" });
305
275
  }
306
- addEventListener(t, r, n) {
307
- if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(r), this.$$c) {
308
- const i = this.$$c.$on(t, r);
309
- this.$$l_u.set(r, i);
276
+ addEventListener(e, t, r) {
277
+ if (this.$$l[e] = this.$$l[e] || [], this.$$l[e].push(t), this.$$c) {
278
+ const n = this.$$c.$on(e, t);
279
+ this.$$l_u.set(t, n);
310
280
  }
311
- super.addEventListener(t, r, n);
281
+ super.addEventListener(e, t, r);
312
282
  }
313
- removeEventListener(t, r, n) {
314
- if (super.removeEventListener(t, r, n), this.$$c) {
315
- const i = this.$$l_u.get(r);
316
- i && (i(), this.$$l_u.delete(r));
283
+ removeEventListener(e, t, r) {
284
+ if (super.removeEventListener(e, t, r), this.$$c) {
285
+ const n = this.$$l_u.get(t);
286
+ n && (n(), this.$$l_u.delete(t));
317
287
  }
318
288
  }
319
- connectedCallback() {
320
- return we(this, null, function* () {
321
- if (this.$$cn = !0, !this.$$c) {
322
- let t = function(s) {
323
- return () => {
324
- let o;
325
- return {
326
- c: function() {
327
- o = B("slot"), s !== "default" && T(o, "name", s);
328
- },
329
- /**
330
- * @param {HTMLElement} target
331
- * @param {HTMLElement} [anchor]
332
- */
333
- m: function(u, h) {
334
- U(u, o, h);
335
- },
336
- d: function(u) {
337
- u && N(o);
338
- }
339
- };
289
+ async connectedCallback() {
290
+ if (this.$$cn = !0, !this.$$c) {
291
+ let e = function(i) {
292
+ return () => {
293
+ let s;
294
+ return {
295
+ c: function() {
296
+ s = B("slot"), i !== "default" && T(s, "name", i);
297
+ },
298
+ /**
299
+ * @param {HTMLElement} target
300
+ * @param {HTMLElement} [anchor]
301
+ */
302
+ m: function(h, l) {
303
+ F(h, s, l);
304
+ },
305
+ d: function(h) {
306
+ h && M(s);
307
+ }
340
308
  };
341
309
  };
342
- if (yield Promise.resolve(), !this.$$cn || this.$$c)
343
- return;
344
- const r = {}, n = wn(this);
345
- for (const s of this.$$s)
346
- s in n && (r[s] = [t(s)]);
347
- for (const s of this.attributes) {
348
- const o = this.$$g_p(s.name);
349
- o in this.$$d || (this.$$d[o] = Be(o, s.value, this.$$p_d, "toProp"));
310
+ };
311
+ if (await Promise.resolve(), !this.$$cn || this.$$c)
312
+ return;
313
+ const t = {}, r = an(this);
314
+ for (const i of this.$$s)
315
+ i in r && (t[i] = [e(i)]);
316
+ for (const i of this.attributes) {
317
+ const s = this.$$g_p(i.name);
318
+ s in this.$$d || (this.$$d[s] = Te(s, i.value, this.$$p_d, "toProp"));
319
+ }
320
+ for (const i in this.$$p_d)
321
+ !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
322
+ this.$$c = new this.$$ctor({
323
+ target: this.shadowRoot || this,
324
+ props: {
325
+ ...this.$$d,
326
+ $$slots: t,
327
+ $$scope: {
328
+ ctx: []
329
+ }
350
330
  }
351
- for (const s in this.$$p_d)
352
- !(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
353
- this.$$c = new this.$$ctor({
354
- target: this.shadowRoot || this,
355
- props: Mt(Lt({}, this.$$d), {
356
- $$slots: r,
357
- $$scope: {
358
- ctx: []
359
- }
360
- })
361
- });
362
- const i = () => {
363
- this.$$r = !0;
364
- for (const s in this.$$p_d)
365
- if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
366
- const o = Be(
367
- s,
368
- this.$$d[s],
369
- this.$$p_d,
370
- "toAttribute"
371
- );
372
- o == null ? this.removeAttribute(this.$$p_d[s].attribute || s) : this.setAttribute(this.$$p_d[s].attribute || s, o);
373
- }
374
- this.$$r = !1;
375
- };
376
- this.$$c.$$.after_update.push(i), i();
377
- for (const s in this.$$l)
378
- for (const o of this.$$l[s]) {
379
- const a = this.$$c.$on(s, o);
380
- this.$$l_u.set(o, a);
331
+ });
332
+ const n = () => {
333
+ this.$$r = !0;
334
+ for (const i in this.$$p_d)
335
+ if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
336
+ const s = Te(
337
+ i,
338
+ this.$$d[i],
339
+ this.$$p_d,
340
+ "toAttribute"
341
+ );
342
+ s == null ? this.removeAttribute(this.$$p_d[i].attribute || i) : this.setAttribute(this.$$p_d[i].attribute || i, s);
381
343
  }
382
- this.$$l = {};
383
- }
384
- });
344
+ this.$$r = !1;
345
+ };
346
+ this.$$c.$$.after_update.push(n), n();
347
+ for (const i in this.$$l)
348
+ for (const s of this.$$l[i]) {
349
+ const o = this.$$c.$on(i, s);
350
+ this.$$l_u.set(s, o);
351
+ }
352
+ this.$$l = {};
353
+ }
385
354
  }
386
355
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
387
356
  // and setting attributes through setAttribute etc, this is helpful
388
- attributeChangedCallback(t, r, n) {
389
- var i;
390
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = Be(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
357
+ attributeChangedCallback(e, t, r) {
358
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = Te(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
391
359
  }
392
360
  disconnectedCallback() {
393
361
  this.$$cn = !1, Promise.resolve().then(() => {
394
362
  !this.$$cn && this.$$c && (this.$$c.$destroy(), this.$$c = void 0);
395
363
  });
396
364
  }
397
- $$g_p(t) {
365
+ $$g_p(e) {
398
366
  return Object.keys(this.$$p_d).find(
399
- (r) => this.$$p_d[r].attribute === t || !this.$$p_d[r].attribute && r.toLowerCase() === t
400
- ) || t;
367
+ (t) => this.$$p_d[t].attribute === e || !this.$$p_d[t].attribute && t.toLowerCase() === e
368
+ ) || e;
401
369
  }
402
370
  });
403
- function Be(e, t, r, n) {
404
- var s;
405
- const i = (s = r[e]) == null ? void 0 : s.type;
371
+ function Te(e, t, r, n) {
372
+ const i = r[e]?.type;
406
373
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
407
374
  return t;
408
375
  if (n === "toAttribute")
@@ -413,7 +380,7 @@ function Be(e, t, r, n) {
413
380
  case "Boolean":
414
381
  return t ? "" : null;
415
382
  case "Number":
416
- return t == null ? null : t;
383
+ return t ?? null;
417
384
  default:
418
385
  return t;
419
386
  }
@@ -430,8 +397,8 @@ function Be(e, t, r, n) {
430
397
  return t;
431
398
  }
432
399
  }
433
- function Mn(e, t, r, n, i, s) {
434
- let o = class extends dr {
400
+ function _n(e, t, r, n, i, s) {
401
+ let o = class extends ar {
435
402
  constructor() {
436
403
  super(e, r, i), this.$$p_d = t;
437
404
  }
@@ -446,43 +413,39 @@ function Mn(e, t, r, n, i, s) {
446
413
  get() {
447
414
  return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
448
415
  },
449
- set(l) {
450
- var u;
451
- l = Be(a, l, t), this.$$d[a] = l, (u = this.$$c) == null || u.$set({ [a]: l });
416
+ set(h) {
417
+ h = Te(a, h, t), this.$$d[a] = h, this.$$c?.$set({ [a]: h });
452
418
  }
453
419
  });
454
420
  }), n.forEach((a) => {
455
421
  Object.defineProperty(o.prototype, a, {
456
422
  get() {
457
- var l;
458
- return (l = this.$$c) == null ? void 0 : l[a];
423
+ return this.$$c?.[a];
459
424
  }
460
425
  });
461
426
  }), e.element = /** @type {any} */
462
427
  o, o;
463
428
  }
464
- class Nn {
465
- constructor() {
466
- /**
467
- * ### PRIVATE API
468
- *
469
- * Do not use, may change at any time
470
- *
471
- * @type {any}
472
- */
473
- F(this, "$$");
474
- /**
475
- * ### PRIVATE API
476
- *
477
- * Do not use, may change at any time
478
- *
479
- * @type {any}
480
- */
481
- F(this, "$$set");
482
- }
429
+ class En {
430
+ /**
431
+ * ### PRIVATE API
432
+ *
433
+ * Do not use, may change at any time
434
+ *
435
+ * @type {any}
436
+ */
437
+ $$ = void 0;
438
+ /**
439
+ * ### PRIVATE API
440
+ *
441
+ * Do not use, may change at any time
442
+ *
443
+ * @type {any}
444
+ */
445
+ $$set = void 0;
483
446
  /** @returns {void} */
484
447
  $destroy() {
485
- In(this, 1), this.$destroy = k;
448
+ bn(this, 1), this.$destroy = k;
486
449
  }
487
450
  /**
488
451
  * @template {Extract<keyof Events, string>} K
@@ -491,7 +454,7 @@ class Nn {
491
454
  * @returns {() => void}
492
455
  */
493
456
  $on(t, r) {
494
- if (!mt(r))
457
+ if (!lt(r))
495
458
  return k;
496
459
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
497
460
  return n.push(r), () => {
@@ -504,22 +467,22 @@ class Nn {
504
467
  * @returns {void}
505
468
  */
506
469
  $set(t) {
507
- this.$$set && !pn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
470
+ this.$$set && !Yr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
508
471
  }
509
472
  }
510
- const Dn = "4";
511
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Dn);
512
- var et = function(e, t) {
513
- return et = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
473
+ const wn = "4";
474
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(wn);
475
+ var qe = function(e, t) {
476
+ return qe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
514
477
  r.__proto__ = n;
515
478
  } || function(r, n) {
516
479
  for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
517
- }, et(e, t);
480
+ }, qe(e, t);
518
481
  };
519
- function X(e, t) {
482
+ function V(e, t) {
520
483
  if (typeof t != "function" && t !== null)
521
484
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
522
- et(e, t);
485
+ qe(e, t);
523
486
  function r() {
524
487
  this.constructor = e;
525
488
  }
@@ -534,7 +497,7 @@ var w = function() {
534
497
  return t;
535
498
  }, w.apply(this, arguments);
536
499
  };
537
- function Fn(e, t) {
500
+ function xn(e, t) {
538
501
  var r = {};
539
502
  for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
540
503
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
@@ -542,7 +505,7 @@ function Fn(e, t) {
542
505
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
543
506
  return r;
544
507
  }
545
- function tt(e) {
508
+ function Qe(e) {
546
509
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
547
510
  if (r) return r.call(e);
548
511
  if (e && typeof e.length == "number") return {
@@ -552,7 +515,7 @@ function tt(e) {
552
515
  };
553
516
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
554
517
  }
555
- function rt(e, t) {
518
+ function Ye(e, t) {
556
519
  var r = typeof Symbol == "function" && e[Symbol.iterator];
557
520
  if (!r) return e;
558
521
  var n = r.call(e), i, s = [], o;
@@ -569,21 +532,21 @@ function rt(e, t) {
569
532
  }
570
533
  return s;
571
534
  }
572
- function te(e, t, r) {
535
+ function ee(e, t, r) {
573
536
  if (r || arguments.length === 2) for (var n = 0, i = t.length, s; n < i; n++)
574
537
  (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
575
538
  return e.concat(s || Array.prototype.slice.call(t));
576
539
  }
577
- function V(e) {
540
+ function $(e) {
578
541
  return typeof e == "function";
579
542
  }
580
- function gr(e) {
543
+ function ur(e) {
581
544
  var t = function(n) {
582
545
  Error.call(n), n.stack = new Error().stack;
583
546
  }, r = e(t);
584
547
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
585
548
  }
586
- var Xe = gr(function(e) {
549
+ var je = ur(function(e) {
587
550
  return function(r) {
588
551
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
589
552
  ` + r.map(function(n, i) {
@@ -592,13 +555,13 @@ var Xe = gr(function(e) {
592
555
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
593
556
  };
594
557
  });
595
- function nt(e, t) {
558
+ function Ke(e, t) {
596
559
  if (e) {
597
560
  var r = e.indexOf(t);
598
561
  0 <= r && e.splice(r, 1);
599
562
  }
600
563
  }
601
- var Le = function() {
564
+ var Ie = function() {
602
565
  function e(t) {
603
566
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
604
567
  }
@@ -610,58 +573,58 @@ var Le = function() {
610
573
  if (o)
611
574
  if (this._parentage = null, Array.isArray(o))
612
575
  try {
613
- for (var a = tt(o), l = a.next(); !l.done; l = a.next()) {
614
- var u = l.value;
615
- u.remove(this);
576
+ for (var a = Qe(o), h = a.next(); !h.done; h = a.next()) {
577
+ var l = h.value;
578
+ l.remove(this);
616
579
  }
617
- } catch (d) {
618
- t = { error: d };
580
+ } catch (p) {
581
+ t = { error: p };
619
582
  } finally {
620
583
  try {
621
- l && !l.done && (r = a.return) && r.call(a);
584
+ h && !h.done && (r = a.return) && r.call(a);
622
585
  } finally {
623
586
  if (t) throw t.error;
624
587
  }
625
588
  }
626
589
  else
627
590
  o.remove(this);
628
- var h = this.initialTeardown;
629
- if (V(h))
591
+ var u = this.initialTeardown;
592
+ if ($(u))
630
593
  try {
631
- h();
632
- } catch (d) {
633
- s = d instanceof Xe ? d.errors : [d];
594
+ u();
595
+ } catch (p) {
596
+ s = p instanceof je ? p.errors : [p];
634
597
  }
635
598
  var c = this._finalizers;
636
599
  if (c) {
637
600
  this._finalizers = null;
638
601
  try {
639
- for (var p = tt(c), y = p.next(); !y.done; y = p.next()) {
602
+ for (var m = Qe(c), y = m.next(); !y.done; y = m.next()) {
640
603
  var g = y.value;
641
604
  try {
642
- Ft(g);
643
- } catch (d) {
644
- s = s != null ? s : [], d instanceof Xe ? s = te(te([], rt(s)), rt(d.errors)) : s.push(d);
605
+ Ot(g);
606
+ } catch (p) {
607
+ s = s ?? [], p instanceof je ? s = ee(ee([], Ye(s)), Ye(p.errors)) : s.push(p);
645
608
  }
646
609
  }
647
- } catch (d) {
648
- n = { error: d };
610
+ } catch (p) {
611
+ n = { error: p };
649
612
  } finally {
650
613
  try {
651
- y && !y.done && (i = p.return) && i.call(p);
614
+ y && !y.done && (i = m.return) && i.call(m);
652
615
  } finally {
653
616
  if (n) throw n.error;
654
617
  }
655
618
  }
656
619
  }
657
620
  if (s)
658
- throw new Xe(s);
621
+ throw new je(s);
659
622
  }
660
623
  }, e.prototype.add = function(t) {
661
624
  var r;
662
625
  if (t && t !== this)
663
626
  if (this.closed)
664
- Ft(t);
627
+ Ot(t);
665
628
  else {
666
629
  if (t instanceof e) {
667
630
  if (t.closed || t._hasParent(this))
@@ -678,56 +641,56 @@ var Le = function() {
678
641
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
679
642
  }, e.prototype._removeParent = function(t) {
680
643
  var r = this._parentage;
681
- r === t ? this._parentage = null : Array.isArray(r) && nt(r, t);
644
+ r === t ? this._parentage = null : Array.isArray(r) && Ke(r, t);
682
645
  }, e.prototype.remove = function(t) {
683
646
  var r = this._finalizers;
684
- r && nt(r, t), t instanceof e && t._removeParent(this);
647
+ r && Ke(r, t), t instanceof e && t._removeParent(this);
685
648
  }, e.EMPTY = function() {
686
649
  var t = new e();
687
650
  return t.closed = !0, t;
688
651
  }(), e;
689
- }(), br = Le.EMPTY;
690
- function yr(e) {
691
- return e instanceof Le || e && "closed" in e && V(e.remove) && V(e.add) && V(e.unsubscribe);
652
+ }(), lr = Ie.EMPTY;
653
+ function hr(e) {
654
+ return e instanceof Ie || e && "closed" in e && $(e.remove) && $(e.add) && $(e.unsubscribe);
692
655
  }
693
- function Ft(e) {
694
- V(e) ? e() : e.unsubscribe();
656
+ function Ot(e) {
657
+ $(e) ? e() : e.unsubscribe();
695
658
  }
696
- var vr = {
659
+ var Sn = {
697
660
  onUnhandledError: null,
698
661
  onStoppedNotification: null,
699
662
  Promise: void 0,
700
663
  useDeprecatedSynchronousErrorHandling: !1,
701
664
  useDeprecatedNextContext: !1
702
- }, Un = {
665
+ }, Tn = {
703
666
  setTimeout: function(e, t) {
704
667
  for (var r = [], n = 2; n < arguments.length; n++)
705
668
  r[n - 2] = arguments[n];
706
- return setTimeout.apply(void 0, te([e, t], rt(r)));
669
+ return setTimeout.apply(void 0, ee([e, t], Ye(r)));
707
670
  },
708
671
  clearTimeout: function(e) {
709
672
  return clearTimeout(e);
710
673
  },
711
674
  delegate: void 0
712
675
  };
713
- function Gn(e) {
714
- Un.setTimeout(function() {
676
+ function Hn(e) {
677
+ Tn.setTimeout(function() {
715
678
  throw e;
716
679
  });
717
680
  }
718
- function Ut() {
681
+ function Ct() {
719
682
  }
720
- function Ae(e) {
683
+ function He(e) {
721
684
  e();
722
685
  }
723
- var _r = function(e) {
724
- X(t, e);
686
+ var fr = function(e) {
687
+ V(t, e);
725
688
  function t(r) {
726
689
  var n = e.call(this) || this;
727
- return n.isStopped = !1, r ? (n.destination = r, yr(r) && r.add(n)) : n.destination = Vn, n;
690
+ return n.isStopped = !1, r ? (n.destination = r, hr(r) && r.add(n)) : n.destination = Pn, n;
728
691
  }
729
692
  return t.create = function(r, n, i) {
730
- return new it(r, n, i);
693
+ return new et(r, n, i);
731
694
  }, t.prototype.next = function(r) {
732
695
  this.isStopped || this._next(r);
733
696
  }, t.prototype.error = function(r) {
@@ -751,11 +714,7 @@ var _r = function(e) {
751
714
  this.unsubscribe();
752
715
  }
753
716
  }, t;
754
- }(Le), kn = Function.prototype.bind;
755
- function ze(e, t) {
756
- return kn.call(e, t);
757
- }
758
- var jn = function() {
717
+ }(Ie), Bn = function() {
759
718
  function e(t) {
760
719
  this.partialObserver = t;
761
720
  }
@@ -765,7 +724,7 @@ var jn = function() {
765
724
  try {
766
725
  r.next(t);
767
726
  } catch (n) {
768
- Te(n);
727
+ xe(n);
769
728
  }
770
729
  }, e.prototype.error = function(t) {
771
730
  var r = this.partialObserver;
@@ -773,68 +732,56 @@ var jn = function() {
773
732
  try {
774
733
  r.error(t);
775
734
  } catch (n) {
776
- Te(n);
735
+ xe(n);
777
736
  }
778
737
  else
779
- Te(t);
738
+ xe(t);
780
739
  }, e.prototype.complete = function() {
781
740
  var t = this.partialObserver;
782
741
  if (t.complete)
783
742
  try {
784
743
  t.complete();
785
744
  } catch (r) {
786
- Te(r);
745
+ xe(r);
787
746
  }
788
747
  }, e;
789
- }(), it = function(e) {
790
- X(t, e);
748
+ }(), et = function(e) {
749
+ V(t, e);
791
750
  function t(r, n, i) {
792
751
  var s = e.call(this) || this, o;
793
- if (V(r) || !r)
794
- o = {
795
- next: r != null ? r : void 0,
796
- error: n != null ? n : void 0,
797
- complete: i != null ? i : void 0
798
- };
799
- else {
800
- var a;
801
- s && vr.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
802
- return s.unsubscribe();
803
- }, o = {
804
- next: r.next && ze(r.next, a),
805
- error: r.error && ze(r.error, a),
806
- complete: r.complete && ze(r.complete, a)
807
- }) : o = r;
808
- }
809
- return s.destination = new jn(o), s;
752
+ return $(r) || !r ? o = {
753
+ next: r ?? void 0,
754
+ error: n ?? void 0,
755
+ complete: i ?? void 0
756
+ } : o = r, s.destination = new Bn(o), s;
810
757
  }
811
758
  return t;
812
- }(_r);
813
- function Te(e) {
814
- Gn(e);
759
+ }(fr);
760
+ function xe(e) {
761
+ Hn(e);
815
762
  }
816
- function $n(e) {
763
+ function An(e) {
817
764
  throw e;
818
765
  }
819
- var Vn = {
766
+ var Pn = {
820
767
  closed: !0,
821
- next: Ut,
822
- error: $n,
823
- complete: Ut
824
- }, Xn = function() {
768
+ next: Ct,
769
+ error: An,
770
+ complete: Ct
771
+ }, On = function() {
825
772
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
826
773
  }();
827
- function zn(e) {
774
+ function Cn(e) {
828
775
  return e;
829
776
  }
830
- function Wn(e) {
831
- return e.length === 0 ? zn : e.length === 1 ? e[0] : function(r) {
777
+ function In(e) {
778
+ return e.length === 0 ? Cn : e.length === 1 ? e[0] : function(r) {
832
779
  return e.reduce(function(n, i) {
833
780
  return i(n);
834
781
  }, r);
835
782
  };
836
783
  }
837
- var Gt = function() {
784
+ var It = function() {
838
785
  function e(t) {
839
786
  t && (this._subscribe = t);
840
787
  }
@@ -842,10 +789,10 @@ var Gt = function() {
842
789
  var r = new e();
843
790
  return r.source = this, r.operator = t, r;
844
791
  }, e.prototype.subscribe = function(t, r, n) {
845
- var i = this, s = Jn(t) ? t : new it(t, r, n);
846
- return Ae(function() {
847
- var o = i, a = o.operator, l = o.source;
848
- s.add(a ? a.call(s, l) : l ? i._subscribe(s) : i._trySubscribe(s));
792
+ var i = this, s = Ln(t) ? t : new et(t, r, n);
793
+ return He(function() {
794
+ var o = i, a = o.operator, h = o.source;
795
+ s.add(a ? a.call(s, h) : h ? i._subscribe(s) : i._trySubscribe(s));
849
796
  }), s;
850
797
  }, e.prototype._trySubscribe = function(t) {
851
798
  try {
@@ -855,13 +802,13 @@ var Gt = function() {
855
802
  }
856
803
  }, e.prototype.forEach = function(t, r) {
857
804
  var n = this;
858
- return r = kt(r), new r(function(i, s) {
859
- var o = new it({
805
+ return r = Rt(r), new r(function(i, s) {
806
+ var o = new et({
860
807
  next: function(a) {
861
808
  try {
862
809
  t(a);
863
- } catch (l) {
864
- s(l), o.unsubscribe();
810
+ } catch (h) {
811
+ s(h), o.unsubscribe();
865
812
  }
866
813
  },
867
814
  error: s,
@@ -872,15 +819,15 @@ var Gt = function() {
872
819
  }, e.prototype._subscribe = function(t) {
873
820
  var r;
874
821
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
875
- }, e.prototype[Xn] = function() {
822
+ }, e.prototype[On] = function() {
876
823
  return this;
877
824
  }, e.prototype.pipe = function() {
878
825
  for (var t = [], r = 0; r < arguments.length; r++)
879
826
  t[r] = arguments[r];
880
- return Wn(t)(this);
827
+ return In(t)(this);
881
828
  }, e.prototype.toPromise = function(t) {
882
829
  var r = this;
883
- return t = kt(t), new t(function(n, i) {
830
+ return t = Rt(t), new t(function(n, i) {
884
831
  var s;
885
832
  r.subscribe(function(o) {
886
833
  return s = o;
@@ -894,45 +841,45 @@ var Gt = function() {
894
841
  return new e(t);
895
842
  }, e;
896
843
  }();
897
- function kt(e) {
844
+ function Rt(e) {
898
845
  var t;
899
- return (t = e != null ? e : vr.Promise) !== null && t !== void 0 ? t : Promise;
846
+ return (t = e ?? Sn.Promise) !== null && t !== void 0 ? t : Promise;
900
847
  }
901
- function Zn(e) {
902
- return e && V(e.next) && V(e.error) && V(e.complete);
848
+ function Rn(e) {
849
+ return e && $(e.next) && $(e.error) && $(e.complete);
903
850
  }
904
- function Jn(e) {
905
- return e && e instanceof _r || Zn(e) && yr(e);
851
+ function Ln(e) {
852
+ return e && e instanceof fr || Rn(e) && hr(e);
906
853
  }
907
- var qn = gr(function(e) {
854
+ var Nn = ur(function(e) {
908
855
  return function() {
909
856
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
910
857
  };
911
- }), Er = function(e) {
912
- X(t, e);
858
+ }), cr = function(e) {
859
+ V(t, e);
913
860
  function t() {
914
861
  var r = e.call(this) || this;
915
862
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
916
863
  }
917
864
  return t.prototype.lift = function(r) {
918
- var n = new jt(this, this);
865
+ var n = new Lt(this, this);
919
866
  return n.operator = r, n;
920
867
  }, t.prototype._throwIfClosed = function() {
921
868
  if (this.closed)
922
- throw new qn();
869
+ throw new Nn();
923
870
  }, t.prototype.next = function(r) {
924
871
  var n = this;
925
- Ae(function() {
872
+ He(function() {
926
873
  var i, s;
927
874
  if (n._throwIfClosed(), !n.isStopped) {
928
875
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
929
876
  try {
930
- for (var o = tt(n.currentObservers), a = o.next(); !a.done; a = o.next()) {
931
- var l = a.value;
932
- l.next(r);
877
+ for (var o = Qe(n.currentObservers), a = o.next(); !a.done; a = o.next()) {
878
+ var h = a.value;
879
+ h.next(r);
933
880
  }
934
- } catch (u) {
935
- i = { error: u };
881
+ } catch (l) {
882
+ i = { error: l };
936
883
  } finally {
937
884
  try {
938
885
  a && !a.done && (s = o.return) && s.call(o);
@@ -944,7 +891,7 @@ var qn = gr(function(e) {
944
891
  });
945
892
  }, t.prototype.error = function(r) {
946
893
  var n = this;
947
- Ae(function() {
894
+ He(function() {
948
895
  if (n._throwIfClosed(), !n.isStopped) {
949
896
  n.hasError = n.isStopped = !0, n.thrownError = r;
950
897
  for (var i = n.observers; i.length; )
@@ -953,7 +900,7 @@ var qn = gr(function(e) {
953
900
  });
954
901
  }, t.prototype.complete = function() {
955
902
  var r = this;
956
- Ae(function() {
903
+ He(function() {
957
904
  if (r._throwIfClosed(), !r.isStopped) {
958
905
  r.isStopped = !0;
959
906
  for (var n = r.observers; n.length; )
@@ -975,20 +922,20 @@ var qn = gr(function(e) {
975
922
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
976
923
  }, t.prototype._innerSubscribe = function(r) {
977
924
  var n = this, i = this, s = i.hasError, o = i.isStopped, a = i.observers;
978
- return s || o ? br : (this.currentObservers = null, a.push(r), new Le(function() {
979
- n.currentObservers = null, nt(a, r);
925
+ return s || o ? lr : (this.currentObservers = null, a.push(r), new Ie(function() {
926
+ n.currentObservers = null, Ke(a, r);
980
927
  }));
981
928
  }, t.prototype._checkFinalizedStatuses = function(r) {
982
929
  var n = this, i = n.hasError, s = n.thrownError, o = n.isStopped;
983
930
  i ? r.error(s) : o && r.complete();
984
931
  }, t.prototype.asObservable = function() {
985
- var r = new Gt();
932
+ var r = new It();
986
933
  return r.source = this, r;
987
934
  }, t.create = function(r, n) {
988
- return new jt(r, n);
935
+ return new Lt(r, n);
989
936
  }, t;
990
- }(Gt), jt = function(e) {
991
- X(t, e);
937
+ }(It), Lt = function(e) {
938
+ V(t, e);
992
939
  function t(r, n) {
993
940
  var i = e.call(this) || this;
994
941
  return i.destination = r, i.source = n, i;
@@ -1004,230 +951,232 @@ var qn = gr(function(e) {
1004
951
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1005
952
  }, t.prototype._subscribe = function(r) {
1006
953
  var n, i;
1007
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : br;
954
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : lr;
1008
955
  }, t;
1009
- }(Er), wr = {
956
+ }(cr), dr = {
1010
957
  now: function() {
1011
- return (wr.delegate || Date).now();
958
+ return (dr.delegate || Date).now();
1012
959
  },
1013
960
  delegate: void 0
1014
- }, Qn = function(e) {
1015
- X(t, e);
961
+ }, Mn = function(e) {
962
+ V(t, e);
1016
963
  function t(r, n, i) {
1017
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = wr);
964
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = dr);
1018
965
  var s = e.call(this) || this;
1019
966
  return s._bufferSize = r, s._windowTime = n, s._timestampProvider = i, s._buffer = [], s._infiniteTimeWindow = !0, s._infiniteTimeWindow = n === 1 / 0, s._bufferSize = Math.max(1, r), s._windowTime = Math.max(1, n), s;
1020
967
  }
1021
968
  return t.prototype.next = function(r) {
1022
- var n = this, i = n.isStopped, s = n._buffer, o = n._infiniteTimeWindow, a = n._timestampProvider, l = n._windowTime;
1023
- i || (s.push(r), !o && s.push(a.now() + l)), this._trimBuffer(), e.prototype.next.call(this, r);
969
+ var n = this, i = n.isStopped, s = n._buffer, o = n._infiniteTimeWindow, a = n._timestampProvider, h = n._windowTime;
970
+ i || (s.push(r), !o && s.push(a.now() + h)), this._trimBuffer(), e.prototype.next.call(this, r);
1024
971
  }, t.prototype._subscribe = function(r) {
1025
972
  this._throwIfClosed(), this._trimBuffer();
1026
- for (var n = this._innerSubscribe(r), i = this, s = i._infiniteTimeWindow, o = i._buffer, a = o.slice(), l = 0; l < a.length && !r.closed; l += s ? 1 : 2)
1027
- r.next(a[l]);
973
+ for (var n = this._innerSubscribe(r), i = this, s = i._infiniteTimeWindow, o = i._buffer, a = o.slice(), h = 0; h < a.length && !r.closed; h += s ? 1 : 2)
974
+ r.next(a[h]);
1028
975
  return this._checkFinalizedStatuses(r), n;
1029
976
  }, t.prototype._trimBuffer = function() {
1030
977
  var r = this, n = r._bufferSize, i = r._timestampProvider, s = r._buffer, o = r._infiniteTimeWindow, a = (o ? 1 : 2) * n;
1031
978
  if (n < 1 / 0 && a < s.length && s.splice(0, s.length - a), !o) {
1032
- for (var l = i.now(), u = 0, h = 1; h < s.length && s[h] <= l; h += 2)
1033
- u = h;
1034
- u && s.splice(0, u + 1);
979
+ for (var h = i.now(), l = 0, u = 1; u < s.length && s[u] <= h; u += 2)
980
+ l = u;
981
+ l && s.splice(0, l + 1);
1035
982
  }
1036
983
  }, t;
1037
- }(Er);
1038
- const $t = [], Vt = {}, Yn = (e, t = 0) => {
1039
- if ($t.indexOf(e) == -1) {
1040
- const r = new Qn(t);
1041
- Vt[e] = r, $t.push(e);
984
+ }(cr);
985
+ const Nt = [], Mt = {}, Dn = (e, t = 0) => {
986
+ if (Nt.indexOf(e) == -1) {
987
+ const r = new Mn(t);
988
+ Mt[e] = r, Nt.push(e);
1042
989
  }
1043
- return Vt[e];
1044
- }, Q = [];
1045
- function Kn(e, t) {
990
+ return Mt[e];
991
+ }, q = [];
992
+ function Fn(e, t) {
1046
993
  return {
1047
- subscribe: Me(e, t).subscribe
994
+ subscribe: Re(e, t).subscribe
1048
995
  };
1049
996
  }
1050
- function Me(e, t = k) {
997
+ function Re(e, t = k) {
1051
998
  let r;
1052
999
  const n = /* @__PURE__ */ new Set();
1053
1000
  function i(a) {
1054
- if (mr(e, a) && (e = a, r)) {
1055
- const l = !Q.length;
1056
- for (const u of n)
1057
- u[1](), Q.push(u, e);
1058
- if (l) {
1059
- for (let u = 0; u < Q.length; u += 2)
1060
- Q[u][0](Q[u + 1]);
1061
- Q.length = 0;
1001
+ if (sr(e, a) && (e = a, r)) {
1002
+ const h = !q.length;
1003
+ for (const l of n)
1004
+ l[1](), q.push(l, e);
1005
+ if (h) {
1006
+ for (let l = 0; l < q.length; l += 2)
1007
+ q[l][0](q[l + 1]);
1008
+ q.length = 0;
1062
1009
  }
1063
1010
  }
1064
1011
  }
1065
1012
  function s(a) {
1066
1013
  i(a(e));
1067
1014
  }
1068
- function o(a, l = k) {
1069
- const u = [a, l];
1070
- return n.add(u), n.size === 1 && (r = t(i, s) || k), a(e), () => {
1071
- n.delete(u), n.size === 0 && r && (r(), r = null);
1015
+ function o(a, h = k) {
1016
+ const l = [a, h];
1017
+ return n.add(l), n.size === 1 && (r = t(i, s) || k), a(e), () => {
1018
+ n.delete(l), n.size === 0 && r && (r(), r = null);
1072
1019
  };
1073
1020
  }
1074
1021
  return { set: i, update: s, subscribe: o };
1075
1022
  }
1076
- function oe(e, t, r) {
1023
+ function se(e, t, r) {
1077
1024
  const n = !Array.isArray(e), i = n ? [e] : e;
1078
1025
  if (!i.every(Boolean))
1079
1026
  throw new Error("derived() expects stores as input, got a falsy value");
1080
1027
  const s = t.length < 2;
1081
- return Kn(r, (o, a) => {
1082
- let l = !1;
1083
- const u = [];
1084
- let h = 0, c = k;
1085
- const p = () => {
1086
- if (h)
1028
+ return Fn(r, (o, a) => {
1029
+ let h = !1;
1030
+ const l = [];
1031
+ let u = 0, c = k;
1032
+ const m = () => {
1033
+ if (u)
1087
1034
  return;
1088
1035
  c();
1089
- const g = t(n ? u[0] : u, o, a);
1090
- s ? o(g) : c = mt(g) ? g : k;
1036
+ const g = t(n ? l[0] : l, o, a);
1037
+ s ? o(g) : c = lt(g) ? g : k;
1091
1038
  }, y = i.map(
1092
- (g, d) => pr(
1039
+ (g, p) => or(
1093
1040
  g,
1094
1041
  (b) => {
1095
- u[d] = b, h &= ~(1 << d), l && p();
1042
+ l[p] = b, u &= ~(1 << p), h && m();
1096
1043
  },
1097
1044
  () => {
1098
- h |= 1 << d;
1045
+ u |= 1 << p;
1099
1046
  }
1100
1047
  )
1101
1048
  );
1102
- return l = !0, p(), function() {
1103
- ge(y), c(), l = !1;
1049
+ return h = !0, m(), function() {
1050
+ pe(y), c(), h = !1;
1104
1051
  };
1105
1052
  });
1106
1053
  }
1107
- function ei(e) {
1108
- return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1054
+ function Un(e) {
1055
+ return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1109
1056
  }
1110
- var ti = function(t) {
1111
- return ri(t) && !ni(t);
1057
+ var kn = function(t) {
1058
+ return Gn(t) && !jn(t);
1112
1059
  };
1113
- function ri(e) {
1060
+ function Gn(e) {
1114
1061
  return !!e && typeof e == "object";
1115
1062
  }
1116
- function ni(e) {
1063
+ function jn(e) {
1117
1064
  var t = Object.prototype.toString.call(e);
1118
- return t === "[object RegExp]" || t === "[object Date]" || oi(e);
1065
+ return t === "[object RegExp]" || t === "[object Date]" || Xn(e);
1119
1066
  }
1120
- var ii = typeof Symbol == "function" && Symbol.for, si = ii ? Symbol.for("react.element") : 60103;
1121
- function oi(e) {
1122
- return e.$$typeof === si;
1067
+ var $n = typeof Symbol == "function" && Symbol.for, Vn = $n ? Symbol.for("react.element") : 60103;
1068
+ function Xn(e) {
1069
+ return e.$$typeof === Vn;
1123
1070
  }
1124
- function ai(e) {
1071
+ function Wn(e) {
1125
1072
  return Array.isArray(e) ? [] : {};
1126
1073
  }
1127
- function pe(e, t) {
1128
- return t.clone !== !1 && t.isMergeableObject(e) ? re(ai(e), e, t) : e;
1074
+ function de(e, t) {
1075
+ return t.clone !== !1 && t.isMergeableObject(e) ? te(Wn(e), e, t) : e;
1129
1076
  }
1130
- function ui(e, t, r) {
1077
+ function zn(e, t, r) {
1131
1078
  return e.concat(t).map(function(n) {
1132
- return pe(n, r);
1079
+ return de(n, r);
1133
1080
  });
1134
1081
  }
1135
- function li(e, t) {
1082
+ function Zn(e, t) {
1136
1083
  if (!t.customMerge)
1137
- return re;
1084
+ return te;
1138
1085
  var r = t.customMerge(e);
1139
- return typeof r == "function" ? r : re;
1086
+ return typeof r == "function" ? r : te;
1140
1087
  }
1141
- function hi(e) {
1088
+ function Jn(e) {
1142
1089
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1143
1090
  return Object.propertyIsEnumerable.call(e, t);
1144
1091
  }) : [];
1145
1092
  }
1146
- function Xt(e) {
1147
- return Object.keys(e).concat(hi(e));
1093
+ function Dt(e) {
1094
+ return Object.keys(e).concat(Jn(e));
1148
1095
  }
1149
- function Sr(e, t) {
1096
+ function mr(e, t) {
1150
1097
  try {
1151
1098
  return t in e;
1152
- } catch (r) {
1099
+ } catch {
1153
1100
  return !1;
1154
1101
  }
1155
1102
  }
1156
- function fi(e, t) {
1157
- return Sr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1103
+ function qn(e, t) {
1104
+ return mr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1158
1105
  }
1159
- function ci(e, t, r) {
1106
+ function Qn(e, t, r) {
1160
1107
  var n = {};
1161
- return r.isMergeableObject(e) && Xt(e).forEach(function(i) {
1162
- n[i] = pe(e[i], r);
1163
- }), Xt(t).forEach(function(i) {
1164
- fi(e, i) || (Sr(e, i) && r.isMergeableObject(t[i]) ? n[i] = li(i, r)(e[i], t[i], r) : n[i] = pe(t[i], r));
1108
+ return r.isMergeableObject(e) && Dt(e).forEach(function(i) {
1109
+ n[i] = de(e[i], r);
1110
+ }), Dt(t).forEach(function(i) {
1111
+ qn(e, i) || (mr(e, i) && r.isMergeableObject(t[i]) ? n[i] = Zn(i, r)(e[i], t[i], r) : n[i] = de(t[i], r));
1165
1112
  }), n;
1166
1113
  }
1167
- function re(e, t, r) {
1168
- r = r || {}, r.arrayMerge = r.arrayMerge || ui, r.isMergeableObject = r.isMergeableObject || ti, r.cloneUnlessOtherwiseSpecified = pe;
1114
+ function te(e, t, r) {
1115
+ r = r || {}, r.arrayMerge = r.arrayMerge || zn, r.isMergeableObject = r.isMergeableObject || kn, r.cloneUnlessOtherwiseSpecified = de;
1169
1116
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
1170
- return s ? n ? r.arrayMerge(e, t, r) : ci(e, t, r) : pe(t, r);
1117
+ return s ? n ? r.arrayMerge(e, t, r) : Qn(e, t, r) : de(t, r);
1171
1118
  }
1172
- re.all = function(t, r) {
1119
+ te.all = function(t, r) {
1173
1120
  if (!Array.isArray(t))
1174
1121
  throw new Error("first argument should be an array");
1175
1122
  return t.reduce(function(n, i) {
1176
- return re(n, i, r);
1123
+ return te(n, i, r);
1177
1124
  }, {});
1178
1125
  };
1179
- var mi = re, pi = mi;
1180
- const di = /* @__PURE__ */ ei(pi);
1181
- function We(e, t) {
1182
- var r = t && t.cache ? t.cache : Ei, n = t && t.serializer ? t.serializer : _i, i = t && t.strategy ? t.strategy : bi;
1126
+ var Yn = te, Kn = Yn;
1127
+ const ei = /* @__PURE__ */ Un(Kn);
1128
+ function $e(e, t) {
1129
+ var r = t && t.cache ? t.cache : ai, n = t && t.serializer ? t.serializer : si, i = t && t.strategy ? t.strategy : ri;
1183
1130
  return i(e, {
1184
1131
  cache: r,
1185
1132
  serializer: n
1186
1133
  });
1187
1134
  }
1188
- function gi(e) {
1135
+ function ti(e) {
1189
1136
  return e == null || typeof e == "number" || typeof e == "boolean";
1190
1137
  }
1191
- function xr(e, t, r, n) {
1192
- var i = gi(n) ? n : r(n), s = t.get(i);
1193
- return typeof s == "undefined" && (s = e.call(this, n), t.set(i, s)), s;
1138
+ function pr(e, t, r, n) {
1139
+ var i = ti(n) ? n : r(n), s = t.get(i);
1140
+ return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
1194
1141
  }
1195
- function Tr(e, t, r) {
1142
+ function gr(e, t, r) {
1196
1143
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
1197
- return typeof s == "undefined" && (s = e.apply(this, n), t.set(i, s)), s;
1144
+ return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
1198
1145
  }
1199
- function pt(e, t, r, n, i) {
1146
+ function ht(e, t, r, n, i) {
1200
1147
  return r.bind(t, e, n, i);
1201
1148
  }
1202
- function bi(e, t) {
1203
- var r = e.length === 1 ? xr : Tr;
1204
- return pt(e, this, r, t.cache.create(), t.serializer);
1149
+ function ri(e, t) {
1150
+ var r = e.length === 1 ? pr : gr;
1151
+ return ht(e, this, r, t.cache.create(), t.serializer);
1205
1152
  }
1206
- function yi(e, t) {
1207
- return pt(e, this, Tr, t.cache.create(), t.serializer);
1153
+ function ni(e, t) {
1154
+ return ht(e, this, gr, t.cache.create(), t.serializer);
1208
1155
  }
1209
- function vi(e, t) {
1210
- return pt(e, this, xr, t.cache.create(), t.serializer);
1156
+ function ii(e, t) {
1157
+ return ht(e, this, pr, t.cache.create(), t.serializer);
1211
1158
  }
1212
- var _i = function() {
1159
+ var si = function() {
1213
1160
  return JSON.stringify(arguments);
1214
- };
1215
- function dt() {
1216
- this.cache = /* @__PURE__ */ Object.create(null);
1217
- }
1218
- dt.prototype.get = function(e) {
1219
- return this.cache[e];
1220
- };
1221
- dt.prototype.set = function(e, t) {
1222
- this.cache[e] = t;
1223
- };
1224
- var Ei = {
1161
+ }, oi = (
1162
+ /** @class */
1163
+ function() {
1164
+ function e() {
1165
+ this.cache = /* @__PURE__ */ Object.create(null);
1166
+ }
1167
+ return e.prototype.get = function(t) {
1168
+ return this.cache[t];
1169
+ }, e.prototype.set = function(t, r) {
1170
+ this.cache[t] = r;
1171
+ }, e;
1172
+ }()
1173
+ ), ai = {
1225
1174
  create: function() {
1226
- return new dt();
1175
+ return new oi();
1227
1176
  }
1228
- }, Ze = {
1229
- variadic: yi,
1230
- monadic: vi
1177
+ }, Ve = {
1178
+ variadic: ni,
1179
+ monadic: ii
1231
1180
  }, v;
1232
1181
  (function(e) {
1233
1182
  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";
@@ -1236,47 +1185,47 @@ var H;
1236
1185
  (function(e) {
1237
1186
  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";
1238
1187
  })(H || (H = {}));
1239
- var ne;
1188
+ var re;
1240
1189
  (function(e) {
1241
1190
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1242
- })(ne || (ne = {}));
1243
- function zt(e) {
1191
+ })(re || (re = {}));
1192
+ function Ft(e) {
1244
1193
  return e.type === H.literal;
1245
1194
  }
1246
- function wi(e) {
1195
+ function ui(e) {
1247
1196
  return e.type === H.argument;
1248
1197
  }
1249
- function Hr(e) {
1198
+ function br(e) {
1250
1199
  return e.type === H.number;
1251
1200
  }
1252
- function Br(e) {
1201
+ function yr(e) {
1253
1202
  return e.type === H.date;
1254
1203
  }
1255
- function Ar(e) {
1204
+ function vr(e) {
1256
1205
  return e.type === H.time;
1257
1206
  }
1258
- function Pr(e) {
1207
+ function _r(e) {
1259
1208
  return e.type === H.select;
1260
1209
  }
1261
- function Or(e) {
1210
+ function Er(e) {
1262
1211
  return e.type === H.plural;
1263
1212
  }
1264
- function Si(e) {
1213
+ function li(e) {
1265
1214
  return e.type === H.pound;
1266
1215
  }
1267
- function Cr(e) {
1216
+ function wr(e) {
1268
1217
  return e.type === H.tag;
1269
1218
  }
1270
- function Ir(e) {
1271
- return !!(e && typeof e == "object" && e.type === ne.number);
1219
+ function xr(e) {
1220
+ return !!(e && typeof e == "object" && e.type === re.number);
1272
1221
  }
1273
- function st(e) {
1274
- return !!(e && typeof e == "object" && e.type === ne.dateTime);
1222
+ function tt(e) {
1223
+ return !!(e && typeof e == "object" && e.type === re.dateTime);
1275
1224
  }
1276
- var Rr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, xi = /(?:[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;
1277
- function Ti(e) {
1225
+ var Sr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, hi = /(?:[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;
1226
+ function fi(e) {
1278
1227
  var t = {};
1279
- return e.replace(xi, function(r) {
1228
+ return e.replace(hi, function(r) {
1280
1229
  var n = r.length;
1281
1230
  switch (r[0]) {
1282
1231
  case "G":
@@ -1365,36 +1314,36 @@ function Ti(e) {
1365
1314
  return "";
1366
1315
  }), t;
1367
1316
  }
1368
- var Hi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1369
- function Bi(e) {
1317
+ var ci = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1318
+ function di(e) {
1370
1319
  if (e.length === 0)
1371
1320
  throw new Error("Number skeleton cannot be empty");
1372
- for (var t = e.split(Hi).filter(function(p) {
1373
- return p.length > 0;
1321
+ for (var t = e.split(ci).filter(function(m) {
1322
+ return m.length > 0;
1374
1323
  }), r = [], n = 0, i = t; n < i.length; n++) {
1375
1324
  var s = i[n], o = s.split("/");
1376
1325
  if (o.length === 0)
1377
1326
  throw new Error("Invalid number skeleton");
1378
- for (var a = o[0], l = o.slice(1), u = 0, h = l; u < h.length; u++) {
1379
- var c = h[u];
1327
+ for (var a = o[0], h = o.slice(1), l = 0, u = h; l < u.length; l++) {
1328
+ var c = u[l];
1380
1329
  if (c.length === 0)
1381
1330
  throw new Error("Invalid number skeleton");
1382
1331
  }
1383
- r.push({ stem: a, options: l });
1332
+ r.push({ stem: a, options: h });
1384
1333
  }
1385
1334
  return r;
1386
1335
  }
1387
- function Ai(e) {
1336
+ function mi(e) {
1388
1337
  return e.replace(/^(.*?)-/, "");
1389
1338
  }
1390
- var Wt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Lr = /^(@+)?(\+|#+)?[rs]?$/g, Pi = /(\*)(0+)|(#+)(0+)|(0+)/g, Mr = /^(0+)$/;
1391
- function Zt(e) {
1339
+ var Ut = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Tr = /^(@+)?(\+|#+)?[rs]?$/g, pi = /(\*)(0+)|(#+)(0+)|(0+)/g, Hr = /^(0+)$/;
1340
+ function kt(e) {
1392
1341
  var t = {};
1393
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Lr, function(r, n, i) {
1342
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Tr, function(r, n, i) {
1394
1343
  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)), "";
1395
1344
  }), t;
1396
1345
  }
1397
- function Nr(e) {
1346
+ function Br(e) {
1398
1347
  switch (e) {
1399
1348
  case "sign-auto":
1400
1349
  return {
@@ -1434,7 +1383,7 @@ function Nr(e) {
1434
1383
  };
1435
1384
  }
1436
1385
  }
1437
- function Oi(e) {
1386
+ function gi(e) {
1438
1387
  var t;
1439
1388
  if (e[0] === "E" && e[1] === "E" ? (t = {
1440
1389
  notation: "engineering"
@@ -1442,17 +1391,17 @@ function Oi(e) {
1442
1391
  notation: "scientific"
1443
1392
  }, e = e.slice(1)), t) {
1444
1393
  var r = e.slice(0, 2);
1445
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Mr.test(e))
1394
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Hr.test(e))
1446
1395
  throw new Error("Malformed concise eng/scientific notation");
1447
1396
  t.minimumIntegerDigits = e.length;
1448
1397
  }
1449
1398
  return t;
1450
1399
  }
1451
- function Jt(e) {
1452
- var t = {}, r = Nr(e);
1400
+ function Gt(e) {
1401
+ var t = {}, r = Br(e);
1453
1402
  return r || t;
1454
1403
  }
1455
- function Ci(e) {
1404
+ function bi(e) {
1456
1405
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1457
1406
  var i = n[r];
1458
1407
  switch (i.stem) {
@@ -1476,7 +1425,7 @@ function Ci(e) {
1476
1425
  continue;
1477
1426
  case "measure-unit":
1478
1427
  case "unit":
1479
- t.style = "unit", t.unit = Ai(i.options[0]);
1428
+ t.style = "unit", t.unit = mi(i.options[0]);
1480
1429
  continue;
1481
1430
  case "compact-short":
1482
1431
  case "K":
@@ -1487,13 +1436,13 @@ function Ci(e) {
1487
1436
  t.notation = "compact", t.compactDisplay = "long";
1488
1437
  continue;
1489
1438
  case "scientific":
1490
- t = w(w(w({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1491
- return w(w({}, l), Jt(u));
1439
+ t = w(w(w({}, t), { notation: "scientific" }), i.options.reduce(function(h, l) {
1440
+ return w(w({}, h), Gt(l));
1492
1441
  }, {}));
1493
1442
  continue;
1494
1443
  case "engineering":
1495
- t = w(w(w({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1496
- return w(w({}, l), Jt(u));
1444
+ t = w(w(w({}, t), { notation: "engineering" }), i.options.reduce(function(h, l) {
1445
+ return w(w({}, h), Gt(l));
1497
1446
  }, {}));
1498
1447
  continue;
1499
1448
  case "notation-simple":
@@ -1538,11 +1487,11 @@ function Ci(e) {
1538
1487
  case "integer-width":
1539
1488
  if (i.options.length > 1)
1540
1489
  throw new RangeError("integer-width stems only accept a single optional option");
1541
- i.options[0].replace(Pi, function(l, u, h, c, p, y) {
1542
- if (u)
1543
- t.minimumIntegerDigits = h.length;
1490
+ i.options[0].replace(pi, function(h, l, u, c, m, y) {
1491
+ if (l)
1492
+ t.minimumIntegerDigits = u.length;
1544
1493
  else {
1545
- if (c && p)
1494
+ if (c && m)
1546
1495
  throw new Error("We currently do not support maximum integer digits");
1547
1496
  if (y)
1548
1497
  throw new Error("We currently do not support exact integer digits");
@@ -1551,32 +1500,32 @@ function Ci(e) {
1551
1500
  });
1552
1501
  continue;
1553
1502
  }
1554
- if (Mr.test(i.stem)) {
1503
+ if (Hr.test(i.stem)) {
1555
1504
  t.minimumIntegerDigits = i.stem.length;
1556
1505
  continue;
1557
1506
  }
1558
- if (Wt.test(i.stem)) {
1507
+ if (Ut.test(i.stem)) {
1559
1508
  if (i.options.length > 1)
1560
1509
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1561
- i.stem.replace(Wt, function(l, u, h, c, p, y) {
1562
- return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : p && y ? (t.minimumFractionDigits = p.length, t.maximumFractionDigits = p.length + y.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1510
+ i.stem.replace(Ut, function(h, l, u, c, m, y) {
1511
+ return u === "*" ? t.minimumFractionDigits = l.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : m && y ? (t.minimumFractionDigits = m.length, t.maximumFractionDigits = m.length + y.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1563
1512
  });
1564
1513
  var s = i.options[0];
1565
- s === "w" ? t = w(w({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = w(w({}, t), Zt(s)));
1514
+ s === "w" ? t = w(w({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = w(w({}, t), kt(s)));
1566
1515
  continue;
1567
1516
  }
1568
- if (Lr.test(i.stem)) {
1569
- t = w(w({}, t), Zt(i.stem));
1517
+ if (Tr.test(i.stem)) {
1518
+ t = w(w({}, t), kt(i.stem));
1570
1519
  continue;
1571
1520
  }
1572
- var o = Nr(i.stem);
1521
+ var o = Br(i.stem);
1573
1522
  o && (t = w(w({}, t), o));
1574
- var a = Oi(i.stem);
1523
+ var a = gi(i.stem);
1575
1524
  a && (t = w(w({}, t), a));
1576
1525
  }
1577
1526
  return t;
1578
1527
  }
1579
- var He = {
1528
+ var Se = {
1580
1529
  "001": [
1581
1530
  "H",
1582
1531
  "h"
@@ -2991,22 +2940,22 @@ var He = {
2991
2940
  "h"
2992
2941
  ]
2993
2942
  };
2994
- function Ii(e, t) {
2943
+ function yi(e, t) {
2995
2944
  for (var r = "", n = 0; n < e.length; n++) {
2996
2945
  var i = e.charAt(n);
2997
2946
  if (i === "j") {
2998
2947
  for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2999
2948
  s++, n++;
3000
- var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = Ri(t);
3001
- for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
3002
- r += l;
2949
+ var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), h = "a", l = vi(t);
2950
+ for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
2951
+ r += h;
3003
2952
  for (; o-- > 0; )
3004
- r = u + r;
2953
+ r = l + r;
3005
2954
  } else i === "J" ? r += "H" : r += i;
3006
2955
  }
3007
2956
  return r;
3008
2957
  }
3009
- function Ri(e) {
2958
+ function vi(e) {
3010
2959
  var t = e.hourCycle;
3011
2960
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3012
2961
  e.hourCycles && // @ts-ignore
@@ -3025,23 +2974,23 @@ function Ri(e) {
3025
2974
  }
3026
2975
  var r = e.language, n;
3027
2976
  r !== "root" && (n = e.maximize().region);
3028
- var i = He[n || ""] || He[r || ""] || He["".concat(r, "-001")] || He["001"];
2977
+ var i = Se[n || ""] || Se[r || ""] || Se["".concat(r, "-001")] || Se["001"];
3029
2978
  return i[0];
3030
2979
  }
3031
- var Je, Li = new RegExp("^".concat(Rr.source, "*")), Mi = new RegExp("".concat(Rr.source, "*$"));
2980
+ var Xe, _i = new RegExp("^".concat(Sr.source, "*")), Ei = new RegExp("".concat(Sr.source, "*$"));
3032
2981
  function _(e, t) {
3033
2982
  return { start: e, end: t };
3034
2983
  }
3035
- var Ni = !!String.prototype.startsWith && "_a".startsWith("a", 1), Di = !!String.fromCodePoint, Fi = !!Object.fromEntries, Ui = !!String.prototype.codePointAt, Gi = !!String.prototype.trimStart, ki = !!String.prototype.trimEnd, ji = !!Number.isSafeInteger, $i = ji ? Number.isSafeInteger : function(e) {
2984
+ var wi = !!String.prototype.startsWith && "_a".startsWith("a", 1), xi = !!String.fromCodePoint, Si = !!Object.fromEntries, Ti = !!String.prototype.codePointAt, Hi = !!String.prototype.trimStart, Bi = !!String.prototype.trimEnd, Ai = !!Number.isSafeInteger, Pi = Ai ? Number.isSafeInteger : function(e) {
3036
2985
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3037
- }, ot = !0;
2986
+ }, rt = !0;
3038
2987
  try {
3039
- var Vi = Fr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3040
- ot = ((Je = Vi.exec("a")) === null || Je === void 0 ? void 0 : Je[0]) === "a";
3041
- } catch (e) {
3042
- ot = !1;
2988
+ var Oi = Pr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2989
+ rt = ((Xe = Oi.exec("a")) === null || Xe === void 0 ? void 0 : Xe[0]) === "a";
2990
+ } catch {
2991
+ rt = !1;
3043
2992
  }
3044
- var qt = Ni ? (
2993
+ var jt = wi ? (
3045
2994
  // Native
3046
2995
  function(t, r, n) {
3047
2996
  return t.startsWith(r, n);
@@ -3051,7 +3000,7 @@ var qt = Ni ? (
3051
3000
  function(t, r, n) {
3052
3001
  return t.slice(n, n + r.length) === r;
3053
3002
  }
3054
- ), at = Di ? String.fromCodePoint : (
3003
+ ), nt = xi ? String.fromCodePoint : (
3055
3004
  // IE11
3056
3005
  function() {
3057
3006
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3063,9 +3012,9 @@ var qt = Ni ? (
3063
3012
  }
3064
3013
  return n;
3065
3014
  }
3066
- ), Qt = (
3015
+ ), $t = (
3067
3016
  // native
3068
- Fi ? Object.fromEntries : (
3017
+ Si ? Object.fromEntries : (
3069
3018
  // Ponyfill
3070
3019
  function(t) {
3071
3020
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3075,7 +3024,7 @@ var qt = Ni ? (
3075
3024
  return r;
3076
3025
  }
3077
3026
  )
3078
- ), Dr = Ui ? (
3027
+ ), Ar = Ti ? (
3079
3028
  // Native
3080
3029
  function(t, r) {
3081
3030
  return t.codePointAt(r);
@@ -3089,7 +3038,7 @@ var qt = Ni ? (
3089
3038
  return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
3090
3039
  }
3091
3040
  }
3092
- ), Xi = Gi ? (
3041
+ ), Ci = Hi ? (
3093
3042
  // Native
3094
3043
  function(t) {
3095
3044
  return t.trimStart();
@@ -3097,9 +3046,9 @@ var qt = Ni ? (
3097
3046
  ) : (
3098
3047
  // Ponyfill
3099
3048
  function(t) {
3100
- return t.replace(Li, "");
3049
+ return t.replace(_i, "");
3101
3050
  }
3102
- ), zi = ki ? (
3051
+ ), Ii = Bi ? (
3103
3052
  // Native
3104
3053
  function(t) {
3105
3054
  return t.trimEnd();
@@ -3107,32 +3056,32 @@ var qt = Ni ? (
3107
3056
  ) : (
3108
3057
  // Ponyfill
3109
3058
  function(t) {
3110
- return t.replace(Mi, "");
3059
+ return t.replace(Ei, "");
3111
3060
  }
3112
3061
  );
3113
- function Fr(e, t) {
3062
+ function Pr(e, t) {
3114
3063
  return new RegExp(e, t);
3115
3064
  }
3116
- var ut;
3117
- if (ot) {
3118
- var Yt = Fr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3119
- ut = function(t, r) {
3065
+ var it;
3066
+ if (rt) {
3067
+ var Vt = Pr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3068
+ it = function(t, r) {
3120
3069
  var n;
3121
- Yt.lastIndex = r;
3122
- var i = Yt.exec(t);
3070
+ Vt.lastIndex = r;
3071
+ var i = Vt.exec(t);
3123
3072
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3124
3073
  };
3125
3074
  } else
3126
- ut = function(t, r) {
3075
+ it = function(t, r) {
3127
3076
  for (var n = []; ; ) {
3128
- var i = Dr(t, r);
3129
- if (i === void 0 || Ur(i) || qi(i))
3077
+ var i = Ar(t, r);
3078
+ if (i === void 0 || Or(i) || Mi(i))
3130
3079
  break;
3131
3080
  n.push(i), r += i >= 65536 ? 2 : 1;
3132
3081
  }
3133
- return at.apply(void 0, n);
3082
+ return nt.apply(void 0, n);
3134
3083
  };
3135
- var Wi = (
3084
+ var Ri = (
3136
3085
  /** @class */
3137
3086
  function() {
3138
3087
  function e(t, r) {
@@ -3163,7 +3112,7 @@ var Wi = (
3163
3112
  if (n)
3164
3113
  break;
3165
3114
  return this.error(v.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
3166
- } else if (s === 60 && !this.ignoreTag && lt(this.peek() || 0)) {
3115
+ } else if (s === 60 && !this.ignoreTag && st(this.peek() || 0)) {
3167
3116
  var o = this.parseTag(t, r);
3168
3117
  if (o.err)
3169
3118
  return o;
@@ -3196,10 +3145,10 @@ var Wi = (
3196
3145
  return s;
3197
3146
  var o = s.val, a = this.clonePosition();
3198
3147
  if (this.bumpIf("</")) {
3199
- if (this.isEOF() || !lt(this.char()))
3148
+ if (this.isEOF() || !st(this.char()))
3200
3149
  return this.error(v.INVALID_TAG, _(a, this.clonePosition()));
3201
- var l = this.clonePosition(), u = this.parseTagName();
3202
- return i !== u ? this.error(v.UNMATCHED_CLOSING_TAG, _(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3150
+ var h = this.clonePosition(), l = this.parseTagName();
3151
+ return i !== l ? this.error(v.UNMATCHED_CLOSING_TAG, _(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3203
3152
  val: {
3204
3153
  type: H.tag,
3205
3154
  value: i,
@@ -3214,7 +3163,7 @@ var Wi = (
3214
3163
  return this.error(v.INVALID_TAG, _(n, this.clonePosition()));
3215
3164
  }, e.prototype.parseTagName = function() {
3216
3165
  var t = this.offset();
3217
- for (this.bump(); !this.isEOF() && Ji(this.char()); )
3166
+ for (this.bump(); !this.isEOF() && Ni(this.char()); )
3218
3167
  this.bump();
3219
3168
  return this.message.slice(t, this.offset());
3220
3169
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3236,14 +3185,14 @@ var Wi = (
3236
3185
  }
3237
3186
  break;
3238
3187
  }
3239
- var l = _(n, this.clonePosition());
3188
+ var h = _(n, this.clonePosition());
3240
3189
  return {
3241
- val: { type: H.literal, value: i, location: l },
3190
+ val: { type: H.literal, value: i, location: h },
3242
3191
  err: null
3243
3192
  };
3244
3193
  }, e.prototype.tryParseLeftAngleBracket = function() {
3245
3194
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3246
- !Zi(this.peek() || 0)) ? (this.bump(), "<") : null;
3195
+ !Li(this.peek() || 0)) ? (this.bump(), "<") : null;
3247
3196
  }, e.prototype.tryParseQuote = function(t) {
3248
3197
  if (this.isEOF() || this.char() !== 39)
3249
3198
  return null;
@@ -3277,12 +3226,12 @@ var Wi = (
3277
3226
  r.push(n);
3278
3227
  this.bump();
3279
3228
  }
3280
- return at.apply(void 0, r);
3229
+ return nt.apply(void 0, r);
3281
3230
  }, e.prototype.tryParseUnquoted = function(t, r) {
3282
3231
  if (this.isEOF())
3283
3232
  return null;
3284
3233
  var n = this.char();
3285
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), at(n));
3234
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), nt(n));
3286
3235
  }, e.prototype.parseArgument = function(t, r) {
3287
3236
  var n = this.clonePosition();
3288
3237
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3311,56 +3260,56 @@ var Wi = (
3311
3260
  return this.error(v.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
3312
3261
  }
3313
3262
  }, e.prototype.parseIdentifierIfPossible = function() {
3314
- var t = this.clonePosition(), r = this.offset(), n = ut(this.message, r), i = r + n.length;
3263
+ var t = this.clonePosition(), r = this.offset(), n = it(this.message, r), i = r + n.length;
3315
3264
  this.bumpTo(i);
3316
3265
  var s = this.clonePosition(), o = _(t, s);
3317
3266
  return { value: n, location: o };
3318
3267
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3319
- var s, o = this.clonePosition(), a = this.parseIdentifierIfPossible().value, l = this.clonePosition();
3268
+ var s, o = this.clonePosition(), a = this.parseIdentifierIfPossible().value, h = this.clonePosition();
3320
3269
  switch (a) {
3321
3270
  case "":
3322
- return this.error(v.EXPECT_ARGUMENT_TYPE, _(o, l));
3271
+ return this.error(v.EXPECT_ARGUMENT_TYPE, _(o, h));
3323
3272
  case "number":
3324
3273
  case "date":
3325
3274
  case "time": {
3326
3275
  this.bumpSpace();
3327
- var u = null;
3276
+ var l = null;
3328
3277
  if (this.bumpIf(",")) {
3329
3278
  this.bumpSpace();
3330
- var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3279
+ var u = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3331
3280
  if (c.err)
3332
3281
  return c;
3333
- var p = zi(c.val);
3334
- if (p.length === 0)
3282
+ var m = Ii(c.val);
3283
+ if (m.length === 0)
3335
3284
  return this.error(v.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
3336
- var y = _(h, this.clonePosition());
3337
- u = { style: p, styleLocation: y };
3285
+ var y = _(u, this.clonePosition());
3286
+ l = { style: m, styleLocation: y };
3338
3287
  }
3339
3288
  var g = this.tryParseArgumentClose(i);
3340
3289
  if (g.err)
3341
3290
  return g;
3342
- var d = _(i, this.clonePosition());
3343
- if (u && qt(u == null ? void 0 : u.style, "::", 0)) {
3344
- var b = Xi(u.style.slice(2));
3291
+ var p = _(i, this.clonePosition());
3292
+ if (l && jt(l?.style, "::", 0)) {
3293
+ var b = Ci(l.style.slice(2));
3345
3294
  if (a === "number") {
3346
- var c = this.parseNumberSkeletonFromString(b, u.styleLocation);
3295
+ var c = this.parseNumberSkeletonFromString(b, l.styleLocation);
3347
3296
  return c.err ? c : {
3348
- val: { type: H.number, value: n, location: d, style: c.val },
3297
+ val: { type: H.number, value: n, location: p, style: c.val },
3349
3298
  err: null
3350
3299
  };
3351
3300
  } else {
3352
3301
  if (b.length === 0)
3353
- return this.error(v.EXPECT_DATE_TIME_SKELETON, d);
3354
- var S = b;
3355
- this.locale && (S = Ii(b, this.locale));
3356
- var p = {
3357
- type: ne.dateTime,
3358
- pattern: S,
3359
- location: u.styleLocation,
3360
- parsedOptions: this.shouldParseSkeletons ? Ti(S) : {}
3302
+ return this.error(v.EXPECT_DATE_TIME_SKELETON, p);
3303
+ var x = b;
3304
+ this.locale && (x = yi(b, this.locale));
3305
+ var m = {
3306
+ type: re.dateTime,
3307
+ pattern: x,
3308
+ location: l.styleLocation,
3309
+ parsedOptions: this.shouldParseSkeletons ? fi(x) : {}
3361
3310
  }, I = a === "date" ? H.date : H.time;
3362
3311
  return {
3363
- val: { type: I, value: n, location: d, style: p },
3312
+ val: { type: I, value: n, location: p, style: m },
3364
3313
  err: null
3365
3314
  };
3366
3315
  }
@@ -3369,8 +3318,8 @@ var Wi = (
3369
3318
  val: {
3370
3319
  type: a === "number" ? H.number : a === "date" ? H.date : H.time,
3371
3320
  value: n,
3372
- location: d,
3373
- style: (s = u == null ? void 0 : u.style) !== null && s !== void 0 ? s : null
3321
+ location: p,
3322
+ style: (s = l?.style) !== null && s !== void 0 ? s : null
3374
3323
  },
3375
3324
  err: null
3376
3325
  };
@@ -3382,7 +3331,7 @@ var Wi = (
3382
3331
  if (this.bumpSpace(), !this.bumpIf(","))
3383
3332
  return this.error(v.EXPECT_SELECT_ARGUMENT_OPTIONS, _(O, w({}, O)));
3384
3333
  this.bumpSpace();
3385
- var D = this.parseIdentifierIfPossible(), M = 0;
3334
+ var D = this.parseIdentifierIfPossible(), N = 0;
3386
3335
  if (a !== "select" && D.value === "offset") {
3387
3336
  if (!this.bumpIf(":"))
3388
3337
  return this.error(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
@@ -3390,7 +3339,7 @@ var Wi = (
3390
3339
  var c = this.tryParseDecimalInteger(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3391
3340
  if (c.err)
3392
3341
  return c;
3393
- this.bumpSpace(), D = this.parseIdentifierIfPossible(), M = c.val;
3342
+ this.bumpSpace(), D = this.parseIdentifierIfPossible(), N = c.val;
3394
3343
  }
3395
3344
  var R = this.tryParsePluralOrSelectOptions(t, a, r, D);
3396
3345
  if (R.err)
@@ -3403,7 +3352,7 @@ var Wi = (
3403
3352
  val: {
3404
3353
  type: H.select,
3405
3354
  value: n,
3406
- options: Qt(R.val),
3355
+ options: $t(R.val),
3407
3356
  location: C
3408
3357
  },
3409
3358
  err: null
@@ -3411,8 +3360,8 @@ var Wi = (
3411
3360
  val: {
3412
3361
  type: H.plural,
3413
3362
  value: n,
3414
- options: Qt(R.val),
3415
- offset: M,
3363
+ options: $t(R.val),
3364
+ offset: N,
3416
3365
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3417
3366
  location: C
3418
3367
  },
@@ -3420,7 +3369,7 @@ var Wi = (
3420
3369
  };
3421
3370
  }
3422
3371
  default:
3423
- return this.error(v.INVALID_ARGUMENT_TYPE, _(o, l));
3372
+ return this.error(v.INVALID_ARGUMENT_TYPE, _(o, h));
3424
3373
  }
3425
3374
  }, e.prototype.tryParseArgumentClose = function(t) {
3426
3375
  return this.isEOF() || this.char() !== 125 ? this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE, _(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
@@ -3462,50 +3411,50 @@ var Wi = (
3462
3411
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3463
3412
  var n = [];
3464
3413
  try {
3465
- n = Bi(t);
3466
- } catch (i) {
3414
+ n = di(t);
3415
+ } catch {
3467
3416
  return this.error(v.INVALID_NUMBER_SKELETON, r);
3468
3417
  }
3469
3418
  return {
3470
3419
  val: {
3471
- type: ne.number,
3420
+ type: re.number,
3472
3421
  tokens: n,
3473
3422
  location: r,
3474
- parsedOptions: this.shouldParseSkeletons ? Ci(n) : {}
3423
+ parsedOptions: this.shouldParseSkeletons ? bi(n) : {}
3475
3424
  },
3476
3425
  err: null
3477
3426
  };
3478
3427
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3479
- for (var s, o = !1, a = [], l = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
3480
- if (u.length === 0) {
3428
+ for (var s, o = !1, a = [], h = /* @__PURE__ */ new Set(), l = i.value, u = i.location; ; ) {
3429
+ if (l.length === 0) {
3481
3430
  var c = this.clonePosition();
3482
3431
  if (r !== "select" && this.bumpIf("=")) {
3483
- var p = this.tryParseDecimalInteger(v.EXPECT_PLURAL_ARGUMENT_SELECTOR, v.INVALID_PLURAL_ARGUMENT_SELECTOR);
3484
- if (p.err)
3485
- return p;
3486
- h = _(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
3432
+ var m = this.tryParseDecimalInteger(v.EXPECT_PLURAL_ARGUMENT_SELECTOR, v.INVALID_PLURAL_ARGUMENT_SELECTOR);
3433
+ if (m.err)
3434
+ return m;
3435
+ u = _(c, this.clonePosition()), l = this.message.slice(c.offset, this.offset());
3487
3436
  } else
3488
3437
  break;
3489
3438
  }
3490
- if (l.has(u))
3491
- return this.error(r === "select" ? v.DUPLICATE_SELECT_ARGUMENT_SELECTOR : v.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3492
- u === "other" && (o = !0), this.bumpSpace();
3439
+ if (h.has(l))
3440
+ return this.error(r === "select" ? v.DUPLICATE_SELECT_ARGUMENT_SELECTOR : v.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, u);
3441
+ l === "other" && (o = !0), this.bumpSpace();
3493
3442
  var y = this.clonePosition();
3494
3443
  if (!this.bumpIf("{"))
3495
3444
  return this.error(r === "select" ? v.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : v.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, _(this.clonePosition(), this.clonePosition()));
3496
3445
  var g = this.parseMessage(t + 1, r, n);
3497
3446
  if (g.err)
3498
3447
  return g;
3499
- var d = this.tryParseArgumentClose(y);
3500
- if (d.err)
3501
- return d;
3448
+ var p = this.tryParseArgumentClose(y);
3449
+ if (p.err)
3450
+ return p;
3502
3451
  a.push([
3503
- u,
3452
+ l,
3504
3453
  {
3505
3454
  value: g.val,
3506
3455
  location: _(y, this.clonePosition())
3507
3456
  }
3508
- ]), l.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, h = s.location;
3457
+ ]), h.add(l), this.bumpSpace(), s = this.parseIdentifierIfPossible(), l = s.value, u = s.location;
3509
3458
  }
3510
3459
  return a.length === 0 ? this.error(r === "select" ? v.EXPECT_SELECT_ARGUMENT_SELECTOR : v.EXPECT_PLURAL_ARGUMENT_SELECTOR, _(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(v.MISSING_OTHER_CLAUSE, _(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3511
3460
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
@@ -3518,8 +3467,8 @@ var Wi = (
3518
3467
  else
3519
3468
  break;
3520
3469
  }
3521
- var l = _(i, this.clonePosition());
3522
- return s ? (o *= n, $i(o) ? { val: o, err: null } : this.error(r, l)) : this.error(t, l);
3470
+ var h = _(i, this.clonePosition());
3471
+ return s ? (o *= n, Pi(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
3523
3472
  }, e.prototype.offset = function() {
3524
3473
  return this.position.offset;
3525
3474
  }, e.prototype.isEOF = function() {
@@ -3534,7 +3483,7 @@ var Wi = (
3534
3483
  var t = this.position.offset;
3535
3484
  if (t >= this.message.length)
3536
3485
  throw Error("out of bound");
3537
- var r = Dr(this.message, t);
3486
+ var r = Ar(this.message, t);
3538
3487
  if (r === void 0)
3539
3488
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3540
3489
  return r;
@@ -3553,7 +3502,7 @@ var Wi = (
3553
3502
  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);
3554
3503
  }
3555
3504
  }, e.prototype.bumpIf = function(t) {
3556
- if (qt(this.message, t, this.offset())) {
3505
+ if (jt(this.message, t, this.offset())) {
3557
3506
  for (var r = 0; r < t.length; r++)
3558
3507
  this.bump();
3559
3508
  return !0;
@@ -3575,56 +3524,56 @@ var Wi = (
3575
3524
  break;
3576
3525
  }
3577
3526
  }, e.prototype.bumpSpace = function() {
3578
- for (; !this.isEOF() && Ur(this.char()); )
3527
+ for (; !this.isEOF() && Or(this.char()); )
3579
3528
  this.bump();
3580
3529
  }, e.prototype.peek = function() {
3581
3530
  if (this.isEOF())
3582
3531
  return null;
3583
3532
  var t = this.char(), r = this.offset(), n = this.message.charCodeAt(r + (t >= 65536 ? 2 : 1));
3584
- return n != null ? n : null;
3533
+ return n ?? null;
3585
3534
  }, e;
3586
3535
  }()
3587
3536
  );
3588
- function lt(e) {
3537
+ function st(e) {
3589
3538
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3590
3539
  }
3591
- function Zi(e) {
3592
- return lt(e) || e === 47;
3540
+ function Li(e) {
3541
+ return st(e) || e === 47;
3593
3542
  }
3594
- function Ji(e) {
3543
+ function Ni(e) {
3595
3544
  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;
3596
3545
  }
3597
- function Ur(e) {
3546
+ function Or(e) {
3598
3547
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3599
3548
  }
3600
- function qi(e) {
3549
+ function Mi(e) {
3601
3550
  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;
3602
3551
  }
3603
- function ht(e) {
3552
+ function ot(e) {
3604
3553
  e.forEach(function(t) {
3605
- if (delete t.location, Pr(t) || Or(t))
3554
+ if (delete t.location, _r(t) || Er(t))
3606
3555
  for (var r in t.options)
3607
- delete t.options[r].location, ht(t.options[r].value);
3608
- else Hr(t) && Ir(t.style) || (Br(t) || Ar(t)) && st(t.style) ? delete t.style.location : Cr(t) && ht(t.children);
3556
+ delete t.options[r].location, ot(t.options[r].value);
3557
+ else br(t) && xr(t.style) || (yr(t) || vr(t)) && tt(t.style) ? delete t.style.location : wr(t) && ot(t.children);
3609
3558
  });
3610
3559
  }
3611
- function Qi(e, t) {
3560
+ function Di(e, t) {
3612
3561
  t === void 0 && (t = {}), t = w({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3613
- var r = new Wi(e, t).parse();
3562
+ var r = new Ri(e, t).parse();
3614
3563
  if (r.err) {
3615
3564
  var n = SyntaxError(v[r.err.kind]);
3616
3565
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3617
3566
  }
3618
- return t != null && t.captureLocation || ht(r.val), r.val;
3567
+ return t?.captureLocation || ot(r.val), r.val;
3619
3568
  }
3620
- var ie;
3569
+ var ne;
3621
3570
  (function(e) {
3622
3571
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3623
- })(ie || (ie = {}));
3624
- var Ne = (
3572
+ })(ne || (ne = {}));
3573
+ var Le = (
3625
3574
  /** @class */
3626
3575
  function(e) {
3627
- X(t, e);
3576
+ V(t, e);
3628
3577
  function t(r, n, i) {
3629
3578
  var s = e.call(this, r) || this;
3630
3579
  return s.code = n, s.originalMessage = i, s;
@@ -3633,155 +3582,155 @@ var Ne = (
3633
3582
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3634
3583
  }, t;
3635
3584
  }(Error)
3636
- ), Kt = (
3585
+ ), Xt = (
3637
3586
  /** @class */
3638
3587
  function(e) {
3639
- X(t, e);
3588
+ V(t, e);
3640
3589
  function t(r, n, i, s) {
3641
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ie.INVALID_VALUE, s) || this;
3590
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ne.INVALID_VALUE, s) || this;
3642
3591
  }
3643
3592
  return t;
3644
- }(Ne)
3645
- ), Yi = (
3593
+ }(Le)
3594
+ ), Fi = (
3646
3595
  /** @class */
3647
3596
  function(e) {
3648
- X(t, e);
3597
+ V(t, e);
3649
3598
  function t(r, n, i) {
3650
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ie.INVALID_VALUE, i) || this;
3599
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ne.INVALID_VALUE, i) || this;
3651
3600
  }
3652
3601
  return t;
3653
- }(Ne)
3654
- ), Ki = (
3602
+ }(Le)
3603
+ ), Ui = (
3655
3604
  /** @class */
3656
3605
  function(e) {
3657
- X(t, e);
3606
+ V(t, e);
3658
3607
  function t(r, n) {
3659
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ie.MISSING_VALUE, n) || this;
3608
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ne.MISSING_VALUE, n) || this;
3660
3609
  }
3661
3610
  return t;
3662
- }(Ne)
3611
+ }(Le)
3663
3612
  ), L;
3664
3613
  (function(e) {
3665
3614
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3666
3615
  })(L || (L = {}));
3667
- function es(e) {
3616
+ function ki(e) {
3668
3617
  return e.length < 2 ? e : e.reduce(function(t, r) {
3669
3618
  var n = t[t.length - 1];
3670
3619
  return !n || n.type !== L.literal || r.type !== L.literal ? t.push(r) : n.value += r.value, t;
3671
3620
  }, []);
3672
3621
  }
3673
- function ts(e) {
3622
+ function Gi(e) {
3674
3623
  return typeof e == "function";
3675
3624
  }
3676
- function Pe(e, t, r, n, i, s, o) {
3677
- if (e.length === 1 && zt(e[0]))
3625
+ function Be(e, t, r, n, i, s, o) {
3626
+ if (e.length === 1 && Ft(e[0]))
3678
3627
  return [
3679
3628
  {
3680
3629
  type: L.literal,
3681
3630
  value: e[0].value
3682
3631
  }
3683
3632
  ];
3684
- for (var a = [], l = 0, u = e; l < u.length; l++) {
3685
- var h = u[l];
3686
- if (zt(h)) {
3633
+ for (var a = [], h = 0, l = e; h < l.length; h++) {
3634
+ var u = l[h];
3635
+ if (Ft(u)) {
3687
3636
  a.push({
3688
3637
  type: L.literal,
3689
- value: h.value
3638
+ value: u.value
3690
3639
  });
3691
3640
  continue;
3692
3641
  }
3693
- if (Si(h)) {
3642
+ if (li(u)) {
3694
3643
  typeof s == "number" && a.push({
3695
3644
  type: L.literal,
3696
3645
  value: r.getNumberFormat(t).format(s)
3697
3646
  });
3698
3647
  continue;
3699
3648
  }
3700
- var c = h.value;
3649
+ var c = u.value;
3701
3650
  if (!(i && c in i))
3702
- throw new Ki(c, o);
3703
- var p = i[c];
3704
- if (wi(h)) {
3705
- (!p || typeof p == "string" || typeof p == "number") && (p = typeof p == "string" || typeof p == "number" ? String(p) : ""), a.push({
3706
- type: typeof p == "string" ? L.literal : L.object,
3707
- value: p
3651
+ throw new Ui(c, o);
3652
+ var m = i[c];
3653
+ if (ui(u)) {
3654
+ (!m || typeof m == "string" || typeof m == "number") && (m = typeof m == "string" || typeof m == "number" ? String(m) : ""), a.push({
3655
+ type: typeof m == "string" ? L.literal : L.object,
3656
+ value: m
3708
3657
  });
3709
3658
  continue;
3710
3659
  }
3711
- if (Br(h)) {
3712
- var y = typeof h.style == "string" ? n.date[h.style] : st(h.style) ? h.style.parsedOptions : void 0;
3660
+ if (yr(u)) {
3661
+ var y = typeof u.style == "string" ? n.date[u.style] : tt(u.style) ? u.style.parsedOptions : void 0;
3713
3662
  a.push({
3714
3663
  type: L.literal,
3715
- value: r.getDateTimeFormat(t, y).format(p)
3664
+ value: r.getDateTimeFormat(t, y).format(m)
3716
3665
  });
3717
3666
  continue;
3718
3667
  }
3719
- if (Ar(h)) {
3720
- var y = typeof h.style == "string" ? n.time[h.style] : st(h.style) ? h.style.parsedOptions : n.time.medium;
3668
+ if (vr(u)) {
3669
+ var y = typeof u.style == "string" ? n.time[u.style] : tt(u.style) ? u.style.parsedOptions : n.time.medium;
3721
3670
  a.push({
3722
3671
  type: L.literal,
3723
- value: r.getDateTimeFormat(t, y).format(p)
3672
+ value: r.getDateTimeFormat(t, y).format(m)
3724
3673
  });
3725
3674
  continue;
3726
3675
  }
3727
- if (Hr(h)) {
3728
- var y = typeof h.style == "string" ? n.number[h.style] : Ir(h.style) ? h.style.parsedOptions : void 0;
3729
- y && y.scale && (p = p * (y.scale || 1)), a.push({
3676
+ if (br(u)) {
3677
+ var y = typeof u.style == "string" ? n.number[u.style] : xr(u.style) ? u.style.parsedOptions : void 0;
3678
+ y && y.scale && (m = m * (y.scale || 1)), a.push({
3730
3679
  type: L.literal,
3731
- value: r.getNumberFormat(t, y).format(p)
3680
+ value: r.getNumberFormat(t, y).format(m)
3732
3681
  });
3733
3682
  continue;
3734
3683
  }
3735
- if (Cr(h)) {
3736
- var g = h.children, d = h.value, b = i[d];
3737
- if (!ts(b))
3738
- throw new Yi(d, "function", o);
3739
- var S = Pe(g, t, r, n, i, s), I = b(S.map(function(M) {
3740
- return M.value;
3684
+ if (wr(u)) {
3685
+ var g = u.children, p = u.value, b = i[p];
3686
+ if (!Gi(b))
3687
+ throw new Fi(p, "function", o);
3688
+ var x = Be(g, t, r, n, i, s), I = b(x.map(function(N) {
3689
+ return N.value;
3741
3690
  }));
3742
- Array.isArray(I) || (I = [I]), a.push.apply(a, I.map(function(M) {
3691
+ Array.isArray(I) || (I = [I]), a.push.apply(a, I.map(function(N) {
3743
3692
  return {
3744
- type: typeof M == "string" ? L.literal : L.object,
3745
- value: M
3693
+ type: typeof N == "string" ? L.literal : L.object,
3694
+ value: N
3746
3695
  };
3747
3696
  }));
3748
3697
  }
3749
- if (Pr(h)) {
3750
- var O = h.options[p] || h.options.other;
3698
+ if (_r(u)) {
3699
+ var O = u.options[m] || u.options.other;
3751
3700
  if (!O)
3752
- throw new Kt(h.value, p, Object.keys(h.options), o);
3753
- a.push.apply(a, Pe(O.value, t, r, n, i));
3701
+ throw new Xt(u.value, m, Object.keys(u.options), o);
3702
+ a.push.apply(a, Be(O.value, t, r, n, i));
3754
3703
  continue;
3755
3704
  }
3756
- if (Or(h)) {
3757
- var O = h.options["=".concat(p)];
3705
+ if (Er(u)) {
3706
+ var O = u.options["=".concat(m)];
3758
3707
  if (!O) {
3759
3708
  if (!Intl.PluralRules)
3760
- throw new Ne(`Intl.PluralRules is not available in this environment.
3709
+ throw new Le(`Intl.PluralRules is not available in this environment.
3761
3710
  Try polyfilling it using "@formatjs/intl-pluralrules"
3762
- `, ie.MISSING_INTL_API, o);
3763
- var D = r.getPluralRules(t, { type: h.pluralType }).select(p - (h.offset || 0));
3764
- O = h.options[D] || h.options.other;
3711
+ `, ne.MISSING_INTL_API, o);
3712
+ var D = r.getPluralRules(t, { type: u.pluralType }).select(m - (u.offset || 0));
3713
+ O = u.options[D] || u.options.other;
3765
3714
  }
3766
3715
  if (!O)
3767
- throw new Kt(h.value, p, Object.keys(h.options), o);
3768
- a.push.apply(a, Pe(O.value, t, r, n, i, p - (h.offset || 0)));
3716
+ throw new Xt(u.value, m, Object.keys(u.options), o);
3717
+ a.push.apply(a, Be(O.value, t, r, n, i, m - (u.offset || 0)));
3769
3718
  continue;
3770
3719
  }
3771
3720
  }
3772
- return es(a);
3721
+ return ki(a);
3773
3722
  }
3774
- function rs(e, t) {
3723
+ function ji(e, t) {
3775
3724
  return t ? w(w(w({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3776
3725
  return r[n] = w(w({}, e[n]), t[n] || {}), r;
3777
3726
  }, {})) : e;
3778
3727
  }
3779
- function ns(e, t) {
3728
+ function $i(e, t) {
3780
3729
  return t ? Object.keys(e).reduce(function(r, n) {
3781
- return r[n] = rs(e[n], t[n]), r;
3730
+ return r[n] = ji(e[n], t[n]), r;
3782
3731
  }, w({}, e)) : e;
3783
3732
  }
3784
- function qe(e) {
3733
+ function We(e) {
3785
3734
  return {
3786
3735
  create: function() {
3787
3736
  return {
@@ -3795,39 +3744,39 @@ function qe(e) {
3795
3744
  }
3796
3745
  };
3797
3746
  }
3798
- function is(e) {
3747
+ function Vi(e) {
3799
3748
  return e === void 0 && (e = {
3800
3749
  number: {},
3801
3750
  dateTime: {},
3802
3751
  pluralRules: {}
3803
3752
  }), {
3804
- getNumberFormat: We(function() {
3753
+ getNumberFormat: $e(function() {
3805
3754
  for (var t, r = [], n = 0; n < arguments.length; n++)
3806
3755
  r[n] = arguments[n];
3807
- return new ((t = Intl.NumberFormat).bind.apply(t, te([void 0], r, !1)))();
3756
+ return new ((t = Intl.NumberFormat).bind.apply(t, ee([void 0], r, !1)))();
3808
3757
  }, {
3809
- cache: qe(e.number),
3810
- strategy: Ze.variadic
3758
+ cache: We(e.number),
3759
+ strategy: Ve.variadic
3811
3760
  }),
3812
- getDateTimeFormat: We(function() {
3761
+ getDateTimeFormat: $e(function() {
3813
3762
  for (var t, r = [], n = 0; n < arguments.length; n++)
3814
3763
  r[n] = arguments[n];
3815
- return new ((t = Intl.DateTimeFormat).bind.apply(t, te([void 0], r, !1)))();
3764
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, ee([void 0], r, !1)))();
3816
3765
  }, {
3817
- cache: qe(e.dateTime),
3818
- strategy: Ze.variadic
3766
+ cache: We(e.dateTime),
3767
+ strategy: Ve.variadic
3819
3768
  }),
3820
- getPluralRules: We(function() {
3769
+ getPluralRules: $e(function() {
3821
3770
  for (var t, r = [], n = 0; n < arguments.length; n++)
3822
3771
  r[n] = arguments[n];
3823
- return new ((t = Intl.PluralRules).bind.apply(t, te([void 0], r, !1)))();
3772
+ return new ((t = Intl.PluralRules).bind.apply(t, ee([void 0], r, !1)))();
3824
3773
  }, {
3825
- cache: qe(e.pluralRules),
3826
- strategy: Ze.variadic
3774
+ cache: We(e.pluralRules),
3775
+ strategy: Ve.variadic
3827
3776
  })
3828
3777
  };
3829
3778
  }
3830
- var ss = (
3779
+ var Xi = (
3831
3780
  /** @class */
3832
3781
  function() {
3833
3782
  function e(t, r, n, i) {
@@ -3837,20 +3786,20 @@ var ss = (
3837
3786
  number: {},
3838
3787
  dateTime: {},
3839
3788
  pluralRules: {}
3840
- }, this.format = function(l) {
3841
- var u = s.formatToParts(l);
3842
- if (u.length === 1)
3843
- return u[0].value;
3844
- var h = u.reduce(function(c, p) {
3845
- return !c.length || p.type !== L.literal || typeof c[c.length - 1] != "string" ? c.push(p.value) : c[c.length - 1] += p.value, c;
3789
+ }, this.format = function(h) {
3790
+ var l = s.formatToParts(h);
3791
+ if (l.length === 1)
3792
+ return l[0].value;
3793
+ var u = l.reduce(function(c, m) {
3794
+ return !c.length || m.type !== L.literal || typeof c[c.length - 1] != "string" ? c.push(m.value) : c[c.length - 1] += m.value, c;
3846
3795
  }, []);
3847
- return h.length <= 1 ? h[0] || "" : h;
3848
- }, this.formatToParts = function(l) {
3849
- return Pe(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
3796
+ return u.length <= 1 ? u[0] || "" : u;
3797
+ }, this.formatToParts = function(h) {
3798
+ return Be(s.ast, s.locales, s.formatters, s.formats, h, void 0, s.message);
3850
3799
  }, this.resolvedOptions = function() {
3851
- var l;
3800
+ var h;
3852
3801
  return {
3853
- locale: ((l = s.resolvedLocale) === null || l === void 0 ? void 0 : l.toString()) || Intl.NumberFormat.supportedLocalesOf(s.locales)[0]
3802
+ locale: ((h = s.resolvedLocale) === null || h === void 0 ? void 0 : h.toString()) || Intl.NumberFormat.supportedLocalesOf(s.locales)[0]
3854
3803
  };
3855
3804
  }, this.getAst = function() {
3856
3805
  return s.ast;
@@ -3859,13 +3808,13 @@ var ss = (
3859
3808
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3860
3809
  var o = i || {};
3861
3810
  o.formatters;
3862
- var a = Fn(o, ["formatters"]);
3811
+ var a = xn(o, ["formatters"]);
3863
3812
  this.ast = e.__parse(t, w(w({}, a), { locale: this.resolvedLocale }));
3864
3813
  } else
3865
3814
  this.ast = t;
3866
3815
  if (!Array.isArray(this.ast))
3867
3816
  throw new TypeError("A message must be provided as a String or AST.");
3868
- this.formats = ns(e.formats, n), this.formatters = i && i.formatters || is(this.formatterCache);
3817
+ this.formats = $i(e.formats, n), this.formatters = i && i.formatters || Vi(this.formatterCache);
3869
3818
  }
3870
3819
  return Object.defineProperty(e, "defaultLocale", {
3871
3820
  get: function() {
@@ -3874,11 +3823,11 @@ var ss = (
3874
3823
  enumerable: !1,
3875
3824
  configurable: !0
3876
3825
  }), e.memoizedDefaultLocale = null, e.resolveLocale = function(t) {
3877
- if (typeof Intl.Locale != "undefined") {
3826
+ if (!(typeof Intl.Locale > "u")) {
3878
3827
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3879
3828
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3880
3829
  }
3881
- }, e.__parse = Qi, e.formats = {
3830
+ }, e.__parse = Di, e.formats = {
3882
3831
  number: {
3883
3832
  integer: {
3884
3833
  maximumFractionDigits: 0
@@ -3939,7 +3888,7 @@ var ss = (
3939
3888
  }, e;
3940
3889
  }()
3941
3890
  );
3942
- function os(e, t) {
3891
+ function Wi(e, t) {
3943
3892
  if (t == null)
3944
3893
  return;
3945
3894
  if (t in e)
@@ -3960,92 +3909,92 @@ function os(e, t) {
3960
3909
  n = void 0;
3961
3910
  return n;
3962
3911
  }
3963
- const W = {}, as = (e, t, r) => r && (t in W || (W[t] = {}), e in W[t] || (W[t][e] = r), r), Gr = (e, t) => {
3912
+ const W = {}, zi = (e, t, r) => r && (t in W || (W[t] = {}), e in W[t] || (W[t][e] = r), r), Cr = (e, t) => {
3964
3913
  if (t == null)
3965
3914
  return;
3966
3915
  if (t in W && e in W[t])
3967
3916
  return W[t][e];
3968
- const r = De(t);
3917
+ const r = Ne(t);
3969
3918
  for (let n = 0; n < r.length; n++) {
3970
- const i = r[n], s = ls(i, e);
3919
+ const i = r[n], s = Ji(i, e);
3971
3920
  if (s)
3972
- return as(e, t, s);
3921
+ return zi(e, t, s);
3973
3922
  }
3974
3923
  };
3975
- let gt;
3976
- const ae = Me({});
3977
- function us(e) {
3978
- return gt[e] || null;
3924
+ let ft;
3925
+ const oe = Re({});
3926
+ function Zi(e) {
3927
+ return ft[e] || null;
3979
3928
  }
3980
- function kr(e) {
3981
- return e in gt;
3929
+ function Ir(e) {
3930
+ return e in ft;
3982
3931
  }
3983
- function ls(e, t) {
3984
- if (!kr(e))
3932
+ function Ji(e, t) {
3933
+ if (!Ir(e))
3985
3934
  return null;
3986
- const r = us(e);
3987
- return os(r, t);
3935
+ const r = Zi(e);
3936
+ return Wi(r, t);
3988
3937
  }
3989
- function hs(e) {
3938
+ function qi(e) {
3990
3939
  if (e == null)
3991
3940
  return;
3992
- const t = De(e);
3941
+ const t = Ne(e);
3993
3942
  for (let r = 0; r < t.length; r++) {
3994
3943
  const n = t[r];
3995
- if (kr(n))
3944
+ if (Ir(n))
3996
3945
  return n;
3997
3946
  }
3998
3947
  }
3999
- function jr(e, ...t) {
4000
- delete W[e], ae.update((r) => (r[e] = di.all([r[e] || {}, ...t]), r));
3948
+ function Rr(e, ...t) {
3949
+ delete W[e], oe.update((r) => (r[e] = ei.all([r[e] || {}, ...t]), r));
4001
3950
  }
4002
- oe(
4003
- [ae],
3951
+ se(
3952
+ [oe],
4004
3953
  ([e]) => Object.keys(e)
4005
3954
  );
4006
- ae.subscribe((e) => gt = e);
4007
- const Oe = {};
4008
- function fs(e, t) {
4009
- Oe[e].delete(t), Oe[e].size === 0 && delete Oe[e];
3955
+ oe.subscribe((e) => ft = e);
3956
+ const Ae = {};
3957
+ function Qi(e, t) {
3958
+ Ae[e].delete(t), Ae[e].size === 0 && delete Ae[e];
4010
3959
  }
4011
- function $r(e) {
4012
- return Oe[e];
3960
+ function Lr(e) {
3961
+ return Ae[e];
4013
3962
  }
4014
- function cs(e) {
4015
- return De(e).map((t) => {
4016
- const r = $r(t);
3963
+ function Yi(e) {
3964
+ return Ne(e).map((t) => {
3965
+ const r = Lr(t);
4017
3966
  return [t, r ? [...r] : []];
4018
3967
  }).filter(([, t]) => t.length > 0);
4019
3968
  }
4020
- function ft(e) {
4021
- return e == null ? !1 : De(e).some(
3969
+ function at(e) {
3970
+ return e == null ? !1 : Ne(e).some(
4022
3971
  (t) => {
4023
3972
  var r;
4024
- return (r = $r(t)) == null ? void 0 : r.size;
3973
+ return (r = Lr(t)) == null ? void 0 : r.size;
4025
3974
  }
4026
3975
  );
4027
3976
  }
4028
- function ms(e, t) {
3977
+ function Ki(e, t) {
4029
3978
  return Promise.all(
4030
- t.map((n) => (fs(e, n), n().then((i) => i.default || i)))
4031
- ).then((n) => jr(e, ...n));
4032
- }
4033
- const fe = {};
4034
- function Vr(e) {
4035
- if (!ft(e))
4036
- return e in fe ? fe[e] : Promise.resolve();
4037
- const t = cs(e);
4038
- return fe[e] = Promise.all(
3979
+ t.map((n) => (Qi(e, n), n().then((i) => i.default || i)))
3980
+ ).then((n) => Rr(e, ...n));
3981
+ }
3982
+ const he = {};
3983
+ function Nr(e) {
3984
+ if (!at(e))
3985
+ return e in he ? he[e] : Promise.resolve();
3986
+ const t = Yi(e);
3987
+ return he[e] = Promise.all(
4039
3988
  t.map(
4040
- ([r, n]) => ms(r, n)
3989
+ ([r, n]) => Ki(r, n)
4041
3990
  )
4042
3991
  ).then(() => {
4043
- if (ft(e))
4044
- return Vr(e);
4045
- delete fe[e];
4046
- }), fe[e];
3992
+ if (at(e))
3993
+ return Nr(e);
3994
+ delete he[e];
3995
+ }), he[e];
4047
3996
  }
4048
- const ps = {
3997
+ const es = {
4049
3998
  number: {
4050
3999
  scientific: { notation: "scientific" },
4051
4000
  engineering: { notation: "engineering" },
@@ -4074,185 +4023,185 @@ const ps = {
4074
4023
  timeZoneName: "short"
4075
4024
  }
4076
4025
  }
4077
- }, ds = {
4026
+ }, ts = {
4078
4027
  fallbackLocale: null,
4079
4028
  loadingDelay: 200,
4080
- formats: ps,
4029
+ formats: es,
4081
4030
  warnOnMissingMessages: !0,
4082
4031
  handleMissingMessage: void 0,
4083
4032
  ignoreTag: !0
4084
- }, gs = ds;
4085
- function se() {
4086
- return gs;
4087
- }
4088
- const Qe = Me(!1);
4089
- var bs = Object.defineProperty, ys = Object.defineProperties, vs = Object.getOwnPropertyDescriptors, er = Object.getOwnPropertySymbols, _s = Object.prototype.hasOwnProperty, Es = Object.prototype.propertyIsEnumerable, tr = (e, t, r) => t in e ? bs(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ws = (e, t) => {
4090
- for (var r in t || (t = {}))
4091
- _s.call(t, r) && tr(e, r, t[r]);
4092
- if (er)
4093
- for (var r of er(t))
4094
- Es.call(t, r) && tr(e, r, t[r]);
4033
+ }, rs = ts;
4034
+ function ie() {
4035
+ return rs;
4036
+ }
4037
+ const ze = Re(!1);
4038
+ var ns = Object.defineProperty, is = Object.defineProperties, ss = Object.getOwnPropertyDescriptors, Wt = Object.getOwnPropertySymbols, os = Object.prototype.hasOwnProperty, as = Object.prototype.propertyIsEnumerable, zt = (e, t, r) => t in e ? ns(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, us = (e, t) => {
4039
+ for (var r in t)
4040
+ os.call(t, r) && zt(e, r, t[r]);
4041
+ if (Wt)
4042
+ for (var r of Wt(t))
4043
+ as.call(t, r) && zt(e, r, t[r]);
4095
4044
  return e;
4096
- }, Ss = (e, t) => ys(e, vs(t));
4097
- let ct;
4098
- const Ie = Me(null);
4099
- function rr(e) {
4045
+ }, ls = (e, t) => is(e, ss(t));
4046
+ let ut;
4047
+ const Oe = Re(null);
4048
+ function Zt(e) {
4100
4049
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4101
4050
  }
4102
- function De(e, t = se().fallbackLocale) {
4103
- const r = rr(e);
4104
- return t ? [.../* @__PURE__ */ new Set([...r, ...rr(t)])] : r;
4051
+ function Ne(e, t = ie().fallbackLocale) {
4052
+ const r = Zt(e);
4053
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Zt(t)])] : r;
4105
4054
  }
4106
- function J() {
4107
- return ct != null ? ct : void 0;
4055
+ function Z() {
4056
+ return ut ?? void 0;
4108
4057
  }
4109
- Ie.subscribe((e) => {
4110
- ct = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4058
+ Oe.subscribe((e) => {
4059
+ ut = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4111
4060
  });
4112
- const xs = (e) => {
4113
- if (e && hs(e) && ft(e)) {
4114
- const { loadingDelay: t } = se();
4061
+ const hs = (e) => {
4062
+ if (e && qi(e) && at(e)) {
4063
+ const { loadingDelay: t } = ie();
4115
4064
  let r;
4116
- return typeof window != "undefined" && J() != null && t ? r = window.setTimeout(
4117
- () => Qe.set(!0),
4065
+ return typeof window < "u" && Z() != null && t ? r = window.setTimeout(
4066
+ () => ze.set(!0),
4118
4067
  t
4119
- ) : Qe.set(!0), Vr(e).then(() => {
4120
- Ie.set(e);
4068
+ ) : ze.set(!0), Nr(e).then(() => {
4069
+ Oe.set(e);
4121
4070
  }).finally(() => {
4122
- clearTimeout(r), Qe.set(!1);
4071
+ clearTimeout(r), ze.set(!1);
4123
4072
  });
4124
4073
  }
4125
- return Ie.set(e);
4126
- }, Z = Ss(ws({}, Ie), {
4127
- set: xs
4128
- }), Fe = (e) => {
4074
+ return Oe.set(e);
4075
+ }, z = ls(us({}, Oe), {
4076
+ set: hs
4077
+ }), Me = (e) => {
4129
4078
  const t = /* @__PURE__ */ Object.create(null);
4130
4079
  return (n) => {
4131
4080
  const i = JSON.stringify(n);
4132
4081
  return i in t ? t[i] : t[i] = e(n);
4133
4082
  };
4134
4083
  };
4135
- var Ts = Object.defineProperty, Re = Object.getOwnPropertySymbols, Xr = Object.prototype.hasOwnProperty, zr = Object.prototype.propertyIsEnumerable, nr = (e, t, r) => t in e ? Ts(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, bt = (e, t) => {
4084
+ var fs = Object.defineProperty, Ce = Object.getOwnPropertySymbols, Mr = Object.prototype.hasOwnProperty, Dr = Object.prototype.propertyIsEnumerable, Jt = (e, t, r) => t in e ? fs(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ct = (e, t) => {
4136
4085
  for (var r in t || (t = {}))
4137
- Xr.call(t, r) && nr(e, r, t[r]);
4138
- if (Re)
4139
- for (var r of Re(t))
4140
- zr.call(t, r) && nr(e, r, t[r]);
4086
+ Mr.call(t, r) && Jt(e, r, t[r]);
4087
+ if (Ce)
4088
+ for (var r of Ce(t))
4089
+ Dr.call(t, r) && Jt(e, r, t[r]);
4141
4090
  return e;
4142
- }, ue = (e, t) => {
4091
+ }, ae = (e, t) => {
4143
4092
  var r = {};
4144
4093
  for (var n in e)
4145
- Xr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4146
- if (e != null && Re)
4147
- for (var n of Re(e))
4148
- t.indexOf(n) < 0 && zr.call(e, n) && (r[n] = e[n]);
4094
+ Mr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4095
+ if (e != null && Ce)
4096
+ for (var n of Ce(e))
4097
+ t.indexOf(n) < 0 && Dr.call(e, n) && (r[n] = e[n]);
4149
4098
  return r;
4150
4099
  };
4151
- const de = (e, t) => {
4152
- const { formats: r } = se();
4100
+ const me = (e, t) => {
4101
+ const { formats: r } = ie();
4153
4102
  if (e in r && t in r[e])
4154
4103
  return r[e][t];
4155
4104
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4156
- }, Hs = Fe(
4105
+ }, cs = Me(
4157
4106
  (e) => {
4158
- var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
4107
+ var t = e, { locale: r, format: n } = t, i = ae(t, ["locale", "format"]);
4159
4108
  if (r == null)
4160
4109
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4161
- return n && (i = de("number", n)), new Intl.NumberFormat(r, i);
4110
+ return n && (i = me("number", n)), new Intl.NumberFormat(r, i);
4162
4111
  }
4163
- ), Bs = Fe(
4112
+ ), ds = Me(
4164
4113
  (e) => {
4165
- var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
4114
+ var t = e, { locale: r, format: n } = t, i = ae(t, ["locale", "format"]);
4166
4115
  if (r == null)
4167
4116
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4168
- return n ? i = de("date", n) : Object.keys(i).length === 0 && (i = de("date", "short")), new Intl.DateTimeFormat(r, i);
4117
+ return n ? i = me("date", n) : Object.keys(i).length === 0 && (i = me("date", "short")), new Intl.DateTimeFormat(r, i);
4169
4118
  }
4170
- ), As = Fe(
4119
+ ), ms = Me(
4171
4120
  (e) => {
4172
- var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
4121
+ var t = e, { locale: r, format: n } = t, i = ae(t, ["locale", "format"]);
4173
4122
  if (r == null)
4174
4123
  throw new Error(
4175
4124
  '[svelte-i18n] A "locale" must be set to format time values'
4176
4125
  );
4177
- return n ? i = de("time", n) : Object.keys(i).length === 0 && (i = de("time", "short")), new Intl.DateTimeFormat(r, i);
4126
+ return n ? i = me("time", n) : Object.keys(i).length === 0 && (i = me("time", "short")), new Intl.DateTimeFormat(r, i);
4178
4127
  }
4179
- ), Ps = (e = {}) => {
4128
+ ), ps = (e = {}) => {
4180
4129
  var t = e, {
4181
- locale: r = J()
4182
- } = t, n = ue(t, [
4130
+ locale: r = Z()
4131
+ } = t, n = ae(t, [
4183
4132
  "locale"
4184
4133
  ]);
4185
- return Hs(bt({ locale: r }, n));
4186
- }, Os = (e = {}) => {
4134
+ return cs(ct({ locale: r }, n));
4135
+ }, gs = (e = {}) => {
4187
4136
  var t = e, {
4188
- locale: r = J()
4189
- } = t, n = ue(t, [
4137
+ locale: r = Z()
4138
+ } = t, n = ae(t, [
4190
4139
  "locale"
4191
4140
  ]);
4192
- return Bs(bt({ locale: r }, n));
4193
- }, Cs = (e = {}) => {
4141
+ return ds(ct({ locale: r }, n));
4142
+ }, bs = (e = {}) => {
4194
4143
  var t = e, {
4195
- locale: r = J()
4196
- } = t, n = ue(t, [
4144
+ locale: r = Z()
4145
+ } = t, n = ae(t, [
4197
4146
  "locale"
4198
4147
  ]);
4199
- return As(bt({ locale: r }, n));
4200
- }, Is = Fe(
4148
+ return ms(ct({ locale: r }, n));
4149
+ }, ys = Me(
4201
4150
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4202
- (e, t = J()) => new ss(e, t, se().formats, {
4203
- ignoreTag: se().ignoreTag
4151
+ (e, t = Z()) => new Xi(e, t, ie().formats, {
4152
+ ignoreTag: ie().ignoreTag
4204
4153
  })
4205
- ), Rs = (e, t = {}) => {
4154
+ ), vs = (e, t = {}) => {
4206
4155
  var r, n, i, s;
4207
4156
  let o = t;
4208
4157
  typeof e == "object" && (o = e, e = o.id);
4209
4158
  const {
4210
4159
  values: a,
4211
- locale: l = J(),
4212
- default: u
4160
+ locale: h = Z(),
4161
+ default: l
4213
4162
  } = o;
4214
- if (l == null)
4163
+ if (h == null)
4215
4164
  throw new Error(
4216
4165
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4217
4166
  );
4218
- let h = Gr(e, l);
4219
- if (!h)
4220
- h = (s = (i = (n = (r = se()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
4221
- else if (typeof h != "string")
4167
+ let u = Cr(e, h);
4168
+ if (!u)
4169
+ u = (s = (i = (n = (r = ie()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: l })) != null ? i : l) != null ? s : e;
4170
+ else if (typeof u != "string")
4222
4171
  return console.warn(
4223
- `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
4224
- ), h;
4172
+ `[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.`
4173
+ ), u;
4225
4174
  if (!a)
4226
- return h;
4227
- let c = h;
4175
+ return u;
4176
+ let c = u;
4228
4177
  try {
4229
- c = Is(h, l).format(a);
4230
- } catch (p) {
4231
- p instanceof Error && console.warn(
4178
+ c = ys(u, h).format(a);
4179
+ } catch (m) {
4180
+ m instanceof Error && console.warn(
4232
4181
  `[svelte-i18n] Message "${e}" has syntax error:`,
4233
- p.message
4182
+ m.message
4234
4183
  );
4235
4184
  }
4236
4185
  return c;
4237
- }, Ls = (e, t) => Cs(t).format(e), Ms = (e, t) => Os(t).format(e), Ns = (e, t) => Ps(t).format(e), Ds = (e, t = J()) => Gr(e, t), Fs = oe([Z, ae], () => Rs);
4238
- oe([Z], () => Ls);
4239
- oe([Z], () => Ms);
4240
- oe([Z], () => Ns);
4241
- oe([Z, ae], () => Ds);
4242
- window.emWidgets = { topic: Yn };
4243
- const ir = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4244
- function Us({ withLocale: e, translations: t }) {
4245
- Z.subscribe((r) => {
4246
- r == null && (ae.set(t), Z.set(e));
4186
+ }, _s = (e, t) => bs(t).format(e), Es = (e, t) => gs(t).format(e), ws = (e, t) => ps(t).format(e), xs = (e, t = Z()) => Cr(e, t), Ss = se([z, oe], () => vs);
4187
+ se([z], () => _s);
4188
+ se([z], () => Es);
4189
+ se([z], () => ws);
4190
+ se([z, oe], () => xs);
4191
+ window.emWidgets = { topic: Dn };
4192
+ const qt = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4193
+ function Ts({ withLocale: e, translations: t }) {
4194
+ z.subscribe((r) => {
4195
+ r == null && (oe.set(t), z.set(e));
4247
4196
  });
4248
4197
  }
4249
- function sr(e, t) {
4250
- jr(e, t);
4198
+ function Qt(e, t) {
4199
+ Rr(e, t);
4251
4200
  }
4252
- function Gs(e) {
4253
- Z.set(e);
4201
+ function Hs(e) {
4202
+ z.set(e);
4254
4203
  }
4255
- const or = {
4204
+ const Yt = {
4256
4205
  en: {
4257
4206
  goToLoginButton: "Go To Login",
4258
4207
  error: "We encountered an issue. Please go to Login to receive your SMS code."
@@ -4298,7 +4247,7 @@ const or = {
4298
4247
  error: "We encountered an issue. Please go to Login to receive your SMS code."
4299
4248
  }
4300
4249
  };
4301
- if (typeof window != "undefined") {
4250
+ if (typeof window < "u") {
4302
4251
  let e = function(t) {
4303
4252
  return function(...r) {
4304
4253
  try {
@@ -4310,11 +4259,11 @@ if (typeof window != "undefined") {
4310
4259
  }
4311
4260
  };
4312
4261
  };
4313
- customElements.define = e(customElements.define), import("./GeneralPlayerRegisterFormStep1-I6tVsjST.js").then(({ default: t }) => {
4262
+ customElements.define = e(customElements.define), import("./GeneralPlayerRegisterFormStep1-Cn9y1f5F.js").then(({ default: t }) => {
4314
4263
  !customElements.get("general-player-register-form-step1") && customElements.define("general-player-register-form-step1", t.element);
4315
4264
  });
4316
4265
  }
4317
- if (typeof window != "undefined") {
4266
+ if (typeof window < "u") {
4318
4267
  let e = function(t) {
4319
4268
  return function(...r) {
4320
4269
  try {
@@ -4326,11 +4275,11 @@ if (typeof window != "undefined") {
4326
4275
  }
4327
4276
  };
4328
4277
  };
4329
- customElements.define = e(customElements.define), import("./GeneralPlayerRegisterFormStep2-BRIurvy3.js").then(({ default: t }) => {
4278
+ customElements.define = e(customElements.define), import("./GeneralPlayerRegisterFormStep2-B5z6NS4S.js").then(({ default: t }) => {
4330
4279
  !customElements.get("general-player-register-form-step2") && customElements.define("general-player-register-form-step2", t.element);
4331
4280
  });
4332
4281
  }
4333
- if (typeof window != "undefined") {
4282
+ if (typeof window < "u") {
4334
4283
  let e = function(t) {
4335
4284
  return function(...r) {
4336
4285
  try {
@@ -4342,11 +4291,11 @@ if (typeof window != "undefined") {
4342
4291
  }
4343
4292
  };
4344
4293
  };
4345
- customElements.define = e(customElements.define), import("./GeneralPlayerRegisterFormStep3-3yVHwKDi.js").then(({ default: t }) => {
4294
+ customElements.define = e(customElements.define), import("./GeneralPlayerRegisterFormStep3-A2gOkjqF.js").then(({ default: t }) => {
4346
4295
  !customElements.get("general-player-register-form-step3") && customElements.define("general-player-register-form-step3", t.element);
4347
4296
  });
4348
4297
  }
4349
- if (typeof window != "undefined") {
4298
+ if (typeof window < "u") {
4350
4299
  let e = function(t) {
4351
4300
  return function(...r) {
4352
4301
  try {
@@ -4358,72 +4307,72 @@ if (typeof window != "undefined") {
4358
4307
  }
4359
4308
  };
4360
4309
  };
4361
- customElements.define = e(customElements.define), import("./GeneralPlayerSmsVerificationForm-D93ijZa3.js").then(({ default: t }) => {
4310
+ customElements.define = e(customElements.define), import("./GeneralPlayerSmsVerificationForm-D0xFmf31.js").then(({ default: t }) => {
4362
4311
  !customElements.get("general-player-sms-verification-form") && customElements.define("general-player-sms-verification-form", t.element);
4363
4312
  });
4364
4313
  }
4365
- function ks(e) {
4366
- gn(e, "svelte-1ybwcf6", ".RegisterFormWrapper{background:var(--emw--registration-color-bg, var(--emw--color-gray-50, #F9F8F8));border-radius:15px}.RegisterFormContainer{padding:25px;height:404px;overflow-y:auto;scrollbar-color:var(--emw--color-gray-100, #E6E6E6) var(--emw--color-gray-50, #F9F8F8);scrollbar-width:thin}.RegisterFormContainer.RegisterFormContainerMobile{padding:40px 20px;height:65vh;overflow-y:scroll}.RegisterFormContainer::-webkit-scrollbar{width:6px}.RegisterFormContainer::-webkit-scrollbar-track{background:var(--emw--color-gray-50, #F9F8F8)}.RegisterFormContainer::-webkit-scrollbar-thumb{background:var(--emw--color-gray-100, #E6E6E6)}.RegisterSteps{display:flex;gap:10px;padding:20px 0 30px}.RegisterFirstStepDash,.RegisterSecondStepDash,.RegisterThirdStepDash{width:50px;height:2px;background-color:var(--emw--color-gray-100, #E6E6E6)}.RegisterStepDashColor{background-color:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E))}.RegisterStepNext{background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0E5924);border-radius:var(--emw--button-border-radius, 50px);color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF));font-family:var(--emw--button-typography);width:100%;height:60px;padding:0;text-transform:uppercase;font-size:var(--emw--font-size-medium, 16px);cursor:pointer;margin-top:24px}.SMSErrorText{height:80%;display:flex;align-items:center}.RegisterConfirmation{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;margin-top:60px}.RegisterConfirmation svg{width:74px}.RegisterConfirmation .RegisterConfirmationTitle{color:var(--emw--color-valid, var(--emw--color-valid, #48952a));font-size:24px;font-weight:var(--emw--font-weight-normal, 400);text-transform:uppercase;margin-bottom:0}.RegisterConfirmation .RegisterConfirmationSubtitle{color:var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444));font-size:var(--emw--font-size-medium, 16px);line-height:19px;margin-bottom:24px}.RegisterConfirmation .RegisterConfirmationNote{color:var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444));font-size:var(--emw--font-size-medium, 16px);line-height:22px}.RegisterConfirmationGoToLogin{background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0E5924);border-radius:var(--emw--button-border-radius, 50px);color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF));width:100%;height:60px;padding:0;text-transform:uppercase;font-size:var(--emw--font-size-medium, 16px);cursor:pointer;margin-top:24px}");
4314
+ function Bs(e) {
4315
+ en(e, "svelte-1ybwcf6", ".RegisterFormWrapper{background:var(--emw--registration-color-bg, var(--emw--color-gray-50, #F9F8F8));border-radius:15px}.RegisterFormContainer{padding:25px;height:404px;overflow-y:auto;scrollbar-color:var(--emw--color-gray-100, #E6E6E6) var(--emw--color-gray-50, #F9F8F8);scrollbar-width:thin}.RegisterFormContainer.RegisterFormContainerMobile{padding:40px 20px;height:65vh;overflow-y:scroll}.RegisterFormContainer::-webkit-scrollbar{width:6px}.RegisterFormContainer::-webkit-scrollbar-track{background:var(--emw--color-gray-50, #F9F8F8)}.RegisterFormContainer::-webkit-scrollbar-thumb{background:var(--emw--color-gray-100, #E6E6E6)}.RegisterSteps{display:flex;gap:10px;padding:20px 0 30px}.RegisterFirstStepDash,.RegisterSecondStepDash,.RegisterThirdStepDash{width:50px;height:2px;background-color:var(--emw--color-gray-100, #E6E6E6)}.RegisterStepDashColor{background-color:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E))}.RegisterStepNext{background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0E5924);border-radius:var(--emw--button-border-radius, 50px);color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF));font-family:var(--emw--button-typography);width:100%;height:60px;padding:0;text-transform:uppercase;font-size:var(--emw--font-size-medium, 16px);cursor:pointer;margin-top:24px}.SMSErrorText{height:80%;display:flex;align-items:center}.RegisterConfirmation{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;margin-top:60px}.RegisterConfirmation svg{width:74px}.RegisterConfirmation .RegisterConfirmationTitle{color:var(--emw--color-valid, var(--emw--color-valid, #48952a));font-size:24px;font-weight:var(--emw--font-weight-normal, 400);text-transform:uppercase;margin-bottom:0}.RegisterConfirmation .RegisterConfirmationSubtitle{color:var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444));font-size:var(--emw--font-size-medium, 16px);line-height:19px;margin-bottom:24px}.RegisterConfirmation .RegisterConfirmationNote{color:var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444));font-size:var(--emw--font-size-medium, 16px);line-height:22px}.RegisterConfirmationGoToLogin{background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0E5924);border-radius:var(--emw--button-border-radius, 50px);color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF));width:100%;height:60px;padding:0;text-transform:uppercase;font-size:var(--emw--font-size-medium, 16px);cursor:pointer;margin-top:24px}");
4367
4316
  }
4368
- function js(e) {
4369
- let t, r, n, i, s, o, a, l = (
4317
+ function As(e) {
4318
+ let t, r, n, i, s, o, a, h = (
4370
4319
  /*showRegisterStepOne*/
4371
4320
  (e[17] || /*showRegisterStepTwo*/
4372
4321
  e[18] || /*showRegisterStepThree*/
4373
- e[19]) && ar(e)
4374
- ), u = (
4322
+ e[19]) && Kt(e)
4323
+ ), l = (
4375
4324
  /*showRegisterStepOne*/
4376
- e[17] && ur(e)
4377
- ), h = (
4325
+ e[17] && er(e)
4326
+ ), u = (
4378
4327
  /*showRegisterStepTwo*/
4379
- e[18] && lr(e)
4328
+ e[18] && tr(e)
4380
4329
  ), c = (
4381
4330
  /*showRegisterStepThree*/
4382
- e[19] && hr(e)
4331
+ e[19] && rr(e)
4383
4332
  );
4384
- function p(b, S) {
4333
+ function m(b, x) {
4385
4334
  if (
4386
4335
  /*smsverification*/
4387
4336
  b[7] && /*showSmsVerification*/
4388
4337
  b[20]
4389
- ) return Vs;
4338
+ ) return Os;
4390
4339
  if (
4391
4340
  /*smsSendApiFailed*/
4392
4341
  b[30]
4393
- ) return $s;
4342
+ ) return Ps;
4394
4343
  }
4395
- let y = p(e), g = y && y(e), d = (
4344
+ let y = m(e), g = y && y(e), p = (
4396
4345
  /*showConfirmation*/
4397
- e[21] && fr(e)
4346
+ e[21] && nr(e)
4398
4347
  );
4399
4348
  return {
4400
4349
  c() {
4401
- t = B("div"), r = B("div"), l && l.c(), n = G(), u && u.c(), i = G(), h && h.c(), s = G(), c && c.c(), o = G(), g && g.c(), a = G(), d && d.c(), T(r, "class", "RegisterFormContainer " + /*isMobile*/
4350
+ t = B("div"), r = B("div"), h && h.c(), n = U(), l && l.c(), i = U(), u && u.c(), s = U(), c && c.c(), o = U(), g && g.c(), a = U(), p && p.c(), T(r, "class", "RegisterFormContainer " + /*isMobile*/
4402
4351
  (e[34] ? "RegisterFormContainerMobile" : "")), T(t, "class", "RegisterFormWrapper");
4403
4352
  },
4404
- m(b, S) {
4405
- U(b, t, S), E(t, r), l && l.m(r, null), E(r, n), u && u.m(r, null), E(r, i), h && h.m(r, null), E(r, s), c && c.m(r, null), E(r, o), g && g.m(r, null), E(r, a), d && d.m(r, null);
4353
+ m(b, x) {
4354
+ F(b, t, x), E(t, r), h && h.m(r, null), E(r, n), l && l.m(r, null), E(r, i), u && u.m(r, null), E(r, s), c && c.m(r, null), E(r, o), g && g.m(r, null), E(r, a), p && p.m(r, null);
4406
4355
  },
4407
- p(b, S) {
4356
+ p(b, x) {
4408
4357
  /*showRegisterStepOne*/
4409
4358
  b[17] || /*showRegisterStepTwo*/
4410
4359
  b[18] || /*showRegisterStepThree*/
4411
- b[19] ? l ? l.p(b, S) : (l = ar(b), l.c(), l.m(r, n)) : l && (l.d(1), l = null), /*showRegisterStepOne*/
4412
- b[17] ? u ? u.p(b, S) : (u = ur(b), u.c(), u.m(r, i)) : u && (u.d(1), u = null), /*showRegisterStepTwo*/
4413
- b[18] ? h ? h.p(b, S) : (h = lr(b), h.c(), h.m(r, s)) : h && (h.d(1), h = null), /*showRegisterStepThree*/
4414
- b[19] ? c ? c.p(b, S) : (c = hr(b), c.c(), c.m(r, o)) : c && (c.d(1), c = null), y === (y = p(b)) && g ? g.p(b, S) : (g && g.d(1), g = y && y(b), g && (g.c(), g.m(r, a))), /*showConfirmation*/
4415
- b[21] ? d ? d.p(b, S) : (d = fr(b), d.c(), d.m(r, null)) : d && (d.d(1), d = null);
4360
+ b[19] ? h ? h.p(b, x) : (h = Kt(b), h.c(), h.m(r, n)) : h && (h.d(1), h = null), /*showRegisterStepOne*/
4361
+ b[17] ? l ? l.p(b, x) : (l = er(b), l.c(), l.m(r, i)) : l && (l.d(1), l = null), /*showRegisterStepTwo*/
4362
+ b[18] ? u ? u.p(b, x) : (u = tr(b), u.c(), u.m(r, s)) : u && (u.d(1), u = null), /*showRegisterStepThree*/
4363
+ b[19] ? c ? c.p(b, x) : (c = rr(b), c.c(), c.m(r, o)) : c && (c.d(1), c = null), y === (y = m(b)) && g ? g.p(b, x) : (g && g.d(1), g = y && y(b), g && (g.c(), g.m(r, a))), /*showConfirmation*/
4364
+ b[21] ? p ? p.p(b, x) : (p = nr(b), p.c(), p.m(r, null)) : p && (p.d(1), p = null);
4416
4365
  },
4417
4366
  d(b) {
4418
- b && N(t), l && l.d(), u && u.d(), h && h.d(), c && c.d(), g && g.d(), d && d.d();
4367
+ b && M(t), h && h.d(), l && l.d(), u && u.d(), c && c.d(), g && g.d(), p && p.d();
4419
4368
  }
4420
4369
  };
4421
4370
  }
4422
- function ar(e) {
4423
- let t, r, n, i, s, o, a, l, u;
4371
+ function Kt(e) {
4372
+ let t, r, n, i, s, o, a, h, l;
4424
4373
  return {
4425
4374
  c() {
4426
- t = B("div"), r = B("div"), i = G(), s = B("div"), a = G(), l = B("div"), T(r, "class", n = "RegisterFirstStepDash " + /*showRegisterStepOne*/
4375
+ t = B("div"), r = B("div"), i = U(), s = B("div"), a = U(), h = B("div"), T(r, "class", n = "RegisterFirstStepDash " + /*showRegisterStepOne*/
4427
4376
  (e[17] || !/*showRegisterStepOne*/
4428
4377
  e[17] && /*showRegisterStepTwo*/
4429
4378
  e[18] || !/*showRegisterStepOne*/
@@ -4433,79 +4382,79 @@ function ar(e) {
4433
4382
  (e[18] || !/*showRegisterStepOne*/
4434
4383
  e[17] && !/*showRegisterStepTwo*/
4435
4384
  e[18] && /*showRegisterStepThree*/
4436
- e[19] ? "RegisterStepDashColor" : "")), T(l, "class", u = "RegisterThirdStepDash " + /*showRegisterStepThree*/
4385
+ e[19] ? "RegisterStepDashColor" : "")), T(h, "class", l = "RegisterThirdStepDash " + /*showRegisterStepThree*/
4437
4386
  (e[19] ? "RegisterStepDashColor" : "")), T(t, "class", "RegisterSteps");
4438
4387
  },
4439
- m(h, c) {
4440
- U(h, t, c), E(t, r), E(t, i), E(t, s), E(t, a), E(t, l), e[40](t);
4388
+ m(u, c) {
4389
+ F(u, t, c), E(t, r), E(t, i), E(t, s), E(t, a), E(t, h), e[40](t);
4441
4390
  },
4442
- p(h, c) {
4391
+ p(u, c) {
4443
4392
  c[0] & /*showRegisterStepOne, showRegisterStepTwo, showRegisterStepThree*/
4444
4393
  917504 && n !== (n = "RegisterFirstStepDash " + /*showRegisterStepOne*/
4445
- (h[17] || !/*showRegisterStepOne*/
4446
- h[17] && /*showRegisterStepTwo*/
4447
- h[18] || !/*showRegisterStepOne*/
4448
- h[17] && !/*showRegisterStepTwo*/
4449
- h[18] && /*showRegisterStepThree*/
4450
- h[19] ? "RegisterStepDashColor" : "")) && T(r, "class", n), c[0] & /*showRegisterStepTwo, showRegisterStepOne, showRegisterStepThree*/
4394
+ (u[17] || !/*showRegisterStepOne*/
4395
+ u[17] && /*showRegisterStepTwo*/
4396
+ u[18] || !/*showRegisterStepOne*/
4397
+ u[17] && !/*showRegisterStepTwo*/
4398
+ u[18] && /*showRegisterStepThree*/
4399
+ u[19] ? "RegisterStepDashColor" : "")) && T(r, "class", n), c[0] & /*showRegisterStepTwo, showRegisterStepOne, showRegisterStepThree*/
4451
4400
  917504 && o !== (o = "RegisterSecondStepDash " + /*showRegisterStepTwo*/
4452
- (h[18] || !/*showRegisterStepOne*/
4453
- h[17] && !/*showRegisterStepTwo*/
4454
- h[18] && /*showRegisterStepThree*/
4455
- h[19] ? "RegisterStepDashColor" : "")) && T(s, "class", o), c[0] & /*showRegisterStepThree*/
4456
- 524288 && u !== (u = "RegisterThirdStepDash " + /*showRegisterStepThree*/
4457
- (h[19] ? "RegisterStepDashColor" : "")) && T(l, "class", u);
4401
+ (u[18] || !/*showRegisterStepOne*/
4402
+ u[17] && !/*showRegisterStepTwo*/
4403
+ u[18] && /*showRegisterStepThree*/
4404
+ u[19] ? "RegisterStepDashColor" : "")) && T(s, "class", o), c[0] & /*showRegisterStepThree*/
4405
+ 524288 && l !== (l = "RegisterThirdStepDash " + /*showRegisterStepThree*/
4406
+ (u[19] ? "RegisterStepDashColor" : "")) && T(h, "class", l);
4458
4407
  },
4459
- d(h) {
4460
- h && N(t), e[40](null);
4408
+ d(u) {
4409
+ u && M(t), e[40](null);
4461
4410
  }
4462
4411
  };
4463
4412
  }
4464
- function ur(e) {
4413
+ function er(e) {
4465
4414
  let t, r;
4466
4415
  return {
4467
4416
  c() {
4468
- t = B("div"), r = B("general-player-register-form-step1"), m(
4417
+ t = B("div"), r = B("general-player-register-form-step1"), d(
4469
4418
  r,
4470
4419
  "lang",
4471
4420
  /*lang*/
4472
4421
  e[3]
4473
- ), m(
4422
+ ), d(
4474
4423
  r,
4475
4424
  "disabledfields",
4476
4425
  /*disabledfields*/
4477
4426
  e[5]
4478
- ), m(
4427
+ ), d(
4479
4428
  r,
4480
4429
  "defaultoptions",
4481
4430
  /*defaultoptions*/
4482
4431
  e[6]
4483
- ), m(
4432
+ ), d(
4484
4433
  r,
4485
4434
  "custominputtextswitch",
4486
4435
  /*custominputtextswitch*/
4487
4436
  e[13]
4488
- ), m(
4437
+ ), d(
4489
4438
  r,
4490
4439
  "simplepasswordvalidation",
4491
4440
  /*simplepasswordvalidation*/
4492
4441
  e[8]
4493
- ), m(
4442
+ ), d(
4494
4443
  r,
4495
4444
  "clientstyling",
4496
4445
  /*clientstyling*/
4497
4446
  e[9]
4498
- ), m(
4447
+ ), d(
4499
4448
  r,
4500
4449
  "clientstylingurl",
4501
4450
  /*clientstylingurl*/
4502
4451
  e[10]
4503
- ), m(
4452
+ ), d(
4504
4453
  r,
4505
4454
  "savecredentials",
4506
4455
  /*savecredentials*/
4507
4456
  e[12]
4508
- ), m(
4457
+ ), d(
4509
4458
  r,
4510
4459
  "translationurl",
4511
4460
  /*translationurl*/
@@ -4513,59 +4462,59 @@ function ur(e) {
4513
4462
  ), T(t, "class", "RegisterFormStep1");
4514
4463
  },
4515
4464
  m(n, i) {
4516
- U(n, t, i), E(t, r);
4465
+ F(n, t, i), E(t, r);
4517
4466
  },
4518
4467
  p(n, i) {
4519
4468
  i[0] & /*lang*/
4520
- 8 && m(
4469
+ 8 && d(
4521
4470
  r,
4522
4471
  "lang",
4523
4472
  /*lang*/
4524
4473
  n[3]
4525
4474
  ), i[0] & /*disabledfields*/
4526
- 32 && m(
4475
+ 32 && d(
4527
4476
  r,
4528
4477
  "disabledfields",
4529
4478
  /*disabledfields*/
4530
4479
  n[5]
4531
4480
  ), i[0] & /*defaultoptions*/
4532
- 64 && m(
4481
+ 64 && d(
4533
4482
  r,
4534
4483
  "defaultoptions",
4535
4484
  /*defaultoptions*/
4536
4485
  n[6]
4537
4486
  ), i[0] & /*custominputtextswitch*/
4538
- 8192 && m(
4487
+ 8192 && d(
4539
4488
  r,
4540
4489
  "custominputtextswitch",
4541
4490
  /*custominputtextswitch*/
4542
4491
  n[13]
4543
4492
  ), i[0] & /*simplepasswordvalidation*/
4544
- 256 && m(
4493
+ 256 && d(
4545
4494
  r,
4546
4495
  "simplepasswordvalidation",
4547
4496
  /*simplepasswordvalidation*/
4548
4497
  n[8]
4549
4498
  ), i[0] & /*clientstyling*/
4550
- 512 && m(
4499
+ 512 && d(
4551
4500
  r,
4552
4501
  "clientstyling",
4553
4502
  /*clientstyling*/
4554
4503
  n[9]
4555
4504
  ), i[0] & /*clientstylingurl*/
4556
- 1024 && m(
4505
+ 1024 && d(
4557
4506
  r,
4558
4507
  "clientstylingurl",
4559
4508
  /*clientstylingurl*/
4560
4509
  n[10]
4561
4510
  ), i[0] & /*savecredentials*/
4562
- 4096 && m(
4511
+ 4096 && d(
4563
4512
  r,
4564
4513
  "savecredentials",
4565
4514
  /*savecredentials*/
4566
4515
  n[12]
4567
4516
  ), i[0] & /*translationurl*/
4568
- 2048 && m(
4517
+ 2048 && d(
4569
4518
  r,
4570
4519
  "translationurl",
4571
4520
  /*translationurl*/
@@ -4573,55 +4522,55 @@ function ur(e) {
4573
4522
  );
4574
4523
  },
4575
4524
  d(n) {
4576
- n && N(t);
4525
+ n && M(t);
4577
4526
  }
4578
4527
  };
4579
4528
  }
4580
- function lr(e) {
4529
+ function tr(e) {
4581
4530
  let t, r;
4582
4531
  return {
4583
4532
  c() {
4584
- t = B("div"), r = B("general-player-register-form-step2"), m(
4533
+ t = B("div"), r = B("general-player-register-form-step2"), d(
4585
4534
  r,
4586
4535
  "endpoint",
4587
4536
  /*endpoint*/
4588
4537
  e[0]
4589
- ), m(
4538
+ ), d(
4590
4539
  r,
4591
4540
  "lang",
4592
4541
  /*lang*/
4593
4542
  e[3]
4594
- ), m(
4543
+ ), d(
4595
4544
  r,
4596
4545
  "licenseyears",
4597
4546
  /*licenseyears*/
4598
4547
  e[4]
4599
- ), m(
4548
+ ), d(
4600
4549
  r,
4601
4550
  "disabledfields",
4602
4551
  /*disabledfields*/
4603
4552
  e[5]
4604
- ), m(
4553
+ ), d(
4605
4554
  r,
4606
4555
  "defaultoptions",
4607
4556
  /*defaultoptions*/
4608
4557
  e[6]
4609
- ), m(
4558
+ ), d(
4610
4559
  r,
4611
4560
  "personalidlength",
4612
4561
  /*personalidlength*/
4613
4562
  e[14]
4614
- ), m(
4563
+ ), d(
4615
4564
  r,
4616
4565
  "clientstyling",
4617
4566
  /*clientstyling*/
4618
4567
  e[9]
4619
- ), m(
4568
+ ), d(
4620
4569
  r,
4621
4570
  "clientstylingurl",
4622
4571
  /*clientstylingurl*/
4623
4572
  e[10]
4624
- ), m(
4573
+ ), d(
4625
4574
  r,
4626
4575
  "translationurl",
4627
4576
  /*translationurl*/
@@ -4629,59 +4578,59 @@ function lr(e) {
4629
4578
  ), T(t, "class", "RegisterFormStep2");
4630
4579
  },
4631
4580
  m(n, i) {
4632
- U(n, t, i), E(t, r);
4581
+ F(n, t, i), E(t, r);
4633
4582
  },
4634
4583
  p(n, i) {
4635
4584
  i[0] & /*endpoint*/
4636
- 1 && m(
4585
+ 1 && d(
4637
4586
  r,
4638
4587
  "endpoint",
4639
4588
  /*endpoint*/
4640
4589
  n[0]
4641
4590
  ), i[0] & /*lang*/
4642
- 8 && m(
4591
+ 8 && d(
4643
4592
  r,
4644
4593
  "lang",
4645
4594
  /*lang*/
4646
4595
  n[3]
4647
4596
  ), i[0] & /*licenseyears*/
4648
- 16 && m(
4597
+ 16 && d(
4649
4598
  r,
4650
4599
  "licenseyears",
4651
4600
  /*licenseyears*/
4652
4601
  n[4]
4653
4602
  ), i[0] & /*disabledfields*/
4654
- 32 && m(
4603
+ 32 && d(
4655
4604
  r,
4656
4605
  "disabledfields",
4657
4606
  /*disabledfields*/
4658
4607
  n[5]
4659
4608
  ), i[0] & /*defaultoptions*/
4660
- 64 && m(
4609
+ 64 && d(
4661
4610
  r,
4662
4611
  "defaultoptions",
4663
4612
  /*defaultoptions*/
4664
4613
  n[6]
4665
4614
  ), i[0] & /*personalidlength*/
4666
- 16384 && m(
4615
+ 16384 && d(
4667
4616
  r,
4668
4617
  "personalidlength",
4669
4618
  /*personalidlength*/
4670
4619
  n[14]
4671
4620
  ), i[0] & /*clientstyling*/
4672
- 512 && m(
4621
+ 512 && d(
4673
4622
  r,
4674
4623
  "clientstyling",
4675
4624
  /*clientstyling*/
4676
4625
  n[9]
4677
4626
  ), i[0] & /*clientstylingurl*/
4678
- 1024 && m(
4627
+ 1024 && d(
4679
4628
  r,
4680
4629
  "clientstylingurl",
4681
4630
  /*clientstylingurl*/
4682
4631
  n[10]
4683
4632
  ), i[0] & /*translationurl*/
4684
- 2048 && m(
4633
+ 2048 && d(
4685
4634
  r,
4686
4635
  "translationurl",
4687
4636
  /*translationurl*/
@@ -4689,70 +4638,70 @@ function lr(e) {
4689
4638
  );
4690
4639
  },
4691
4640
  d(n) {
4692
- n && N(t);
4641
+ n && M(t);
4693
4642
  }
4694
4643
  };
4695
4644
  }
4696
- function hr(e) {
4645
+ function rr(e) {
4697
4646
  let t, r;
4698
4647
  return {
4699
4648
  c() {
4700
- t = B("div"), r = B("general-player-register-form-step3"), m(
4649
+ t = B("div"), r = B("general-player-register-form-step3"), d(
4701
4650
  r,
4702
4651
  "userconsentsexist",
4703
4652
  /*userconsentsexist*/
4704
4653
  e[25]
4705
- ), m(
4654
+ ), d(
4706
4655
  r,
4707
4656
  "termsconditions",
4708
4657
  /*termsconditions*/
4709
4658
  e[26]
4710
- ), m(
4659
+ ), d(
4711
4660
  r,
4712
4661
  "smsoffers",
4713
4662
  /*smsoffers*/
4714
4663
  e[27]
4715
- ), m(
4664
+ ), d(
4716
4665
  r,
4717
4666
  "emailmarketing",
4718
4667
  /*emailmarketing*/
4719
4668
  e[28]
4720
- ), m(
4669
+ ), d(
4721
4670
  r,
4722
4671
  "endpoint",
4723
4672
  /*endpoint*/
4724
4673
  e[0]
4725
- ), m(
4674
+ ), d(
4726
4675
  r,
4727
4676
  "captchakey",
4728
4677
  /*captchakey*/
4729
4678
  e[2]
4730
- ), m(
4679
+ ), d(
4731
4680
  r,
4732
4681
  "lang",
4733
4682
  /*lang*/
4734
4683
  e[3]
4735
- ), m(
4684
+ ), d(
4736
4685
  r,
4737
4686
  "defaultoptions",
4738
4687
  /*defaultoptions*/
4739
4688
  e[6]
4740
- ), m(
4689
+ ), d(
4741
4690
  r,
4742
4691
  "disabledfields",
4743
4692
  /*disabledfields*/
4744
4693
  e[5]
4745
- ), m(
4694
+ ), d(
4746
4695
  r,
4747
4696
  "clientstyling",
4748
4697
  /*clientstyling*/
4749
4698
  e[9]
4750
- ), m(
4699
+ ), d(
4751
4700
  r,
4752
4701
  "clientstylingurl",
4753
4702
  /*clientstylingurl*/
4754
4703
  e[10]
4755
- ), m(
4704
+ ), d(
4756
4705
  r,
4757
4706
  "translationurl",
4758
4707
  /*translationurl*/
@@ -4760,77 +4709,77 @@ function hr(e) {
4760
4709
  ), T(t, "class", "RegisterFormStep3");
4761
4710
  },
4762
4711
  m(n, i) {
4763
- U(n, t, i), E(t, r);
4712
+ F(n, t, i), E(t, r);
4764
4713
  },
4765
4714
  p(n, i) {
4766
4715
  i[0] & /*userconsentsexist*/
4767
- 33554432 && m(
4716
+ 33554432 && d(
4768
4717
  r,
4769
4718
  "userconsentsexist",
4770
4719
  /*userconsentsexist*/
4771
4720
  n[25]
4772
4721
  ), i[0] & /*termsconditions*/
4773
- 67108864 && m(
4722
+ 67108864 && d(
4774
4723
  r,
4775
4724
  "termsconditions",
4776
4725
  /*termsconditions*/
4777
4726
  n[26]
4778
4727
  ), i[0] & /*smsoffers*/
4779
- 134217728 && m(
4728
+ 134217728 && d(
4780
4729
  r,
4781
4730
  "smsoffers",
4782
4731
  /*smsoffers*/
4783
4732
  n[27]
4784
4733
  ), i[0] & /*emailmarketing*/
4785
- 268435456 && m(
4734
+ 268435456 && d(
4786
4735
  r,
4787
4736
  "emailmarketing",
4788
4737
  /*emailmarketing*/
4789
4738
  n[28]
4790
4739
  ), i[0] & /*endpoint*/
4791
- 1 && m(
4740
+ 1 && d(
4792
4741
  r,
4793
4742
  "endpoint",
4794
4743
  /*endpoint*/
4795
4744
  n[0]
4796
4745
  ), i[0] & /*captchakey*/
4797
- 4 && m(
4746
+ 4 && d(
4798
4747
  r,
4799
4748
  "captchakey",
4800
4749
  /*captchakey*/
4801
4750
  n[2]
4802
4751
  ), i[0] & /*lang*/
4803
- 8 && m(
4752
+ 8 && d(
4804
4753
  r,
4805
4754
  "lang",
4806
4755
  /*lang*/
4807
4756
  n[3]
4808
4757
  ), i[0] & /*defaultoptions*/
4809
- 64 && m(
4758
+ 64 && d(
4810
4759
  r,
4811
4760
  "defaultoptions",
4812
4761
  /*defaultoptions*/
4813
4762
  n[6]
4814
4763
  ), i[0] & /*disabledfields*/
4815
- 32 && m(
4764
+ 32 && d(
4816
4765
  r,
4817
4766
  "disabledfields",
4818
4767
  /*disabledfields*/
4819
4768
  n[5]
4820
4769
  ), i[0] & /*clientstyling*/
4821
- 512 && m(
4770
+ 512 && d(
4822
4771
  r,
4823
4772
  "clientstyling",
4824
4773
  /*clientstyling*/
4825
4774
  n[9]
4826
4775
  ), i[0] & /*clientstylingurl*/
4827
- 1024 && m(
4776
+ 1024 && d(
4828
4777
  r,
4829
4778
  "clientstylingurl",
4830
4779
  /*clientstylingurl*/
4831
4780
  n[10]
4832
4781
  ), i[0] & /*translationurl*/
4833
- 2048 && m(
4782
+ 2048 && d(
4834
4783
  r,
4835
4784
  "translationurl",
4836
4785
  /*translationurl*/
@@ -4838,113 +4787,113 @@ function hr(e) {
4838
4787
  );
4839
4788
  },
4840
4789
  d(n) {
4841
- n && N(t);
4790
+ n && M(t);
4842
4791
  }
4843
4792
  };
4844
4793
  }
4845
- function $s(e) {
4794
+ function Ps(e) {
4846
4795
  let t, r = (
4847
4796
  /*$_*/
4848
4797
  e[33]("error") + ""
4849
4798
  ), n;
4850
4799
  return {
4851
4800
  c() {
4852
- t = B("p"), n = $(r), T(t, "class", "SMSErrorText");
4801
+ t = B("p"), n = j(r), T(t, "class", "SMSErrorText");
4853
4802
  },
4854
4803
  m(i, s) {
4855
- U(i, t, s), E(t, n);
4804
+ F(i, t, s), E(t, n);
4856
4805
  },
4857
4806
  p(i, s) {
4858
4807
  s[1] & /*$_*/
4859
4808
  4 && r !== (r = /*$_*/
4860
- i[33]("error") + "") && K(n, r);
4809
+ i[33]("error") + "") && Y(n, r);
4861
4810
  },
4862
4811
  d(i) {
4863
- i && N(t);
4812
+ i && M(t);
4864
4813
  }
4865
4814
  };
4866
4815
  }
4867
- function Vs(e) {
4816
+ function Os(e) {
4868
4817
  let t;
4869
4818
  function r(s, o) {
4870
4819
  return (
4871
4820
  /*smsSendApiFailed*/
4872
- s[30] ? Xs : zs
4821
+ s[30] ? Cs : Is
4873
4822
  );
4874
4823
  }
4875
4824
  let n = r(e), i = n(e);
4876
4825
  return {
4877
4826
  c() {
4878
- i.c(), t = vn();
4827
+ i.c(), t = nn();
4879
4828
  },
4880
4829
  m(s, o) {
4881
- i.m(s, o), U(s, t, o);
4830
+ i.m(s, o), F(s, t, o);
4882
4831
  },
4883
4832
  p(s, o) {
4884
4833
  n === (n = r(s)) && i ? i.p(s, o) : (i.d(1), i = n(s), i && (i.c(), i.m(t.parentNode, t)));
4885
4834
  },
4886
4835
  d(s) {
4887
- s && N(t), i.d(s);
4836
+ s && M(t), i.d(s);
4888
4837
  }
4889
4838
  };
4890
4839
  }
4891
- function Xs(e) {
4840
+ function Cs(e) {
4892
4841
  let t, r = (
4893
4842
  /*$_*/
4894
4843
  e[33]("error") + ""
4895
4844
  ), n;
4896
4845
  return {
4897
4846
  c() {
4898
- t = B("p"), n = $(r), T(t, "class", "SMSErrorText");
4847
+ t = B("p"), n = j(r), T(t, "class", "SMSErrorText");
4899
4848
  },
4900
4849
  m(i, s) {
4901
- U(i, t, s), E(t, n);
4850
+ F(i, t, s), E(t, n);
4902
4851
  },
4903
4852
  p(i, s) {
4904
4853
  s[1] & /*$_*/
4905
4854
  4 && r !== (r = /*$_*/
4906
- i[33]("error") + "") && K(n, r);
4855
+ i[33]("error") + "") && Y(n, r);
4907
4856
  },
4908
4857
  d(i) {
4909
- i && N(t);
4858
+ i && M(t);
4910
4859
  }
4911
4860
  };
4912
4861
  }
4913
- function zs(e) {
4862
+ function Is(e) {
4914
4863
  let t;
4915
4864
  return {
4916
4865
  c() {
4917
- t = B("general-player-sms-verification-form"), m(
4866
+ t = B("general-player-sms-verification-form"), d(
4918
4867
  t,
4919
4868
  "endpoint",
4920
4869
  /*endpoint*/
4921
4870
  e[0]
4922
- ), m(
4871
+ ), d(
4923
4872
  t,
4924
4873
  "session",
4925
4874
  /*session*/
4926
4875
  e[1]
4927
- ), m(
4876
+ ), d(
4928
4877
  t,
4929
4878
  "number",
4930
4879
  /*number*/
4931
4880
  e[31]
4932
- ), m(
4881
+ ), d(
4933
4882
  t,
4934
4883
  "playerid",
4935
4884
  /*playerid*/
4936
4885
  e[16]
4937
- ), m(
4886
+ ), d(
4938
4887
  t,
4939
4888
  "tokenid",
4940
4889
  /*smstokenid*/
4941
4890
  e[29]
4942
- ), m(
4891
+ ), d(
4943
4892
  t,
4944
4893
  "clientstyling",
4945
4894
  /*clientstyling*/
4946
4895
  e[9]
4947
- ), m(
4896
+ ), d(
4948
4897
  t,
4949
4898
  "clientstylingurl",
4950
4899
  /*clientstylingurl*/
@@ -4952,47 +4901,47 @@ function zs(e) {
4952
4901
  );
4953
4902
  },
4954
4903
  m(r, n) {
4955
- U(r, t, n);
4904
+ F(r, t, n);
4956
4905
  },
4957
4906
  p(r, n) {
4958
4907
  n[0] & /*endpoint*/
4959
- 1 && m(
4908
+ 1 && d(
4960
4909
  t,
4961
4910
  "endpoint",
4962
4911
  /*endpoint*/
4963
4912
  r[0]
4964
4913
  ), n[0] & /*session*/
4965
- 2 && m(
4914
+ 2 && d(
4966
4915
  t,
4967
4916
  "session",
4968
4917
  /*session*/
4969
4918
  r[1]
4970
4919
  ), n[1] & /*number*/
4971
- 1 && m(
4920
+ 1 && d(
4972
4921
  t,
4973
4922
  "number",
4974
4923
  /*number*/
4975
4924
  r[31]
4976
4925
  ), n[0] & /*playerid*/
4977
- 65536 && m(
4926
+ 65536 && d(
4978
4927
  t,
4979
4928
  "playerid",
4980
4929
  /*playerid*/
4981
4930
  r[16]
4982
4931
  ), n[0] & /*smstokenid*/
4983
- 536870912 && m(
4932
+ 536870912 && d(
4984
4933
  t,
4985
4934
  "tokenid",
4986
4935
  /*smstokenid*/
4987
4936
  r[29]
4988
4937
  ), n[0] & /*clientstyling*/
4989
- 512 && m(
4938
+ 512 && d(
4990
4939
  t,
4991
4940
  "clientstyling",
4992
4941
  /*clientstyling*/
4993
4942
  r[9]
4994
4943
  ), n[0] & /*clientstylingurl*/
4995
- 1024 && m(
4944
+ 1024 && d(
4996
4945
  t,
4997
4946
  "clientstylingurl",
4998
4947
  /*clientstylingurl*/
@@ -5000,31 +4949,31 @@ function zs(e) {
5000
4949
  );
5001
4950
  },
5002
4951
  d(r) {
5003
- r && N(t);
4952
+ r && M(t);
5004
4953
  }
5005
4954
  };
5006
4955
  }
5007
- function fr(e) {
5008
- let t, r, n, i, s, o, a, l, u, h, c, p, y, g, d, b, S, I = (
4956
+ function nr(e) {
4957
+ let t, r, n, i, s, o, a, h, l, u, c, m, y, g, p, b, x, I = (
5009
4958
  /*$_*/
5010
4959
  e[33]("goToLoginButton") + ""
5011
- ), O, D, M;
4960
+ ), O, D, N;
5012
4961
  return {
5013
4962
  c() {
5014
- t = B("div"), r = xe("svg"), n = xe("defs"), i = xe("style"), s = $(".a{fill:#var(--emw--color-valid, var(--emw--color-green, #48952a));}"), o = xe("path"), a = G(), l = B("h2"), u = $(
4963
+ t = B("div"), r = we("svg"), n = we("defs"), i = we("style"), s = j(".a{fill:#var(--emw--color-valid, var(--emw--color-green, #48952a));}"), o = we("path"), a = U(), h = B("h2"), l = j(
5015
4964
  /*accountCreationTitle*/
5016
4965
  e[22]
5017
- ), h = G(), c = B("p"), p = $(
4966
+ ), u = U(), c = B("p"), m = j(
5018
4967
  /*accountCreationSubTitle*/
5019
4968
  e[23]
5020
- ), y = G(), g = B("p"), d = $(
4969
+ ), y = U(), g = B("p"), p = j(
5021
4970
  /*accountCreationMessage*/
5022
4971
  e[24]
5023
- ), b = G(), S = B("button"), O = $(I), T(o, "class", "a"), T(o, "d", "M29.325,51,0,21.675l5.95-5.95,23.375,22.95L68,0l5.95,5.95Z"), T(r, "xmlns", "http://www.w3.org/2000/svg"), T(r, "viewBox", "0 0 73.95 51"), T(l, "class", "RegisterConfirmationTitle"), T(c, "class", "RegisterConfirmationSubtitle"), T(g, "class", "RegisterConfirmationNote"), T(S, "class", "RegisterConfirmationGoToLogin"), T(t, "class", "RegisterConfirmation");
4972
+ ), b = U(), x = B("button"), O = j(I), T(o, "class", "a"), T(o, "d", "M29.325,51,0,21.675l5.95-5.95,23.375,22.95L68,0l5.95,5.95Z"), T(r, "xmlns", "http://www.w3.org/2000/svg"), T(r, "viewBox", "0 0 73.95 51"), T(h, "class", "RegisterConfirmationTitle"), T(c, "class", "RegisterConfirmationSubtitle"), T(g, "class", "RegisterConfirmationNote"), T(x, "class", "RegisterConfirmationGoToLogin"), T(t, "class", "RegisterConfirmation");
5024
4973
  },
5025
4974
  m(R, C) {
5026
- U(R, t, C), E(t, r), E(r, n), E(n, i), E(i, s), E(r, o), E(t, a), E(t, l), E(l, u), E(t, h), E(t, c), E(c, p), E(t, y), E(t, g), E(g, d), E(t, b), E(t, S), E(S, O), D || (M = _n(
5027
- S,
4975
+ F(R, t, C), E(t, r), E(r, n), E(n, i), E(i, s), E(r, o), E(t, a), E(t, h), E(h, l), E(t, u), E(t, c), E(c, m), E(t, y), E(t, g), E(g, p), E(t, b), E(t, x), E(x, O), D || (N = sn(
4976
+ x,
5028
4977
  "click",
5029
4978
  /*switchToLogin*/
5030
4979
  e[35]
@@ -5032,33 +4981,33 @@ function fr(e) {
5032
4981
  },
5033
4982
  p(R, C) {
5034
4983
  C[0] & /*accountCreationTitle*/
5035
- 4194304 && K(
5036
- u,
4984
+ 4194304 && Y(
4985
+ l,
5037
4986
  /*accountCreationTitle*/
5038
4987
  R[22]
5039
4988
  ), C[0] & /*accountCreationSubTitle*/
5040
- 8388608 && K(
5041
- p,
4989
+ 8388608 && Y(
4990
+ m,
5042
4991
  /*accountCreationSubTitle*/
5043
4992
  R[23]
5044
4993
  ), C[0] & /*accountCreationMessage*/
5045
- 16777216 && K(
5046
- d,
4994
+ 16777216 && Y(
4995
+ p,
5047
4996
  /*accountCreationMessage*/
5048
4997
  R[24]
5049
4998
  ), C[1] & /*$_*/
5050
4999
  4 && I !== (I = /*$_*/
5051
- R[33]("goToLoginButton") + "") && K(O, I);
5000
+ R[33]("goToLoginButton") + "") && Y(O, I);
5052
5001
  },
5053
5002
  d(R) {
5054
- R && N(t), D = !1, M();
5003
+ R && M(t), D = !1, N();
5055
5004
  }
5056
5005
  };
5057
5006
  }
5058
- function Ws(e) {
5007
+ function Rs(e) {
5059
5008
  let t;
5060
5009
  function r(s, o) {
5061
- return js;
5010
+ return As;
5062
5011
  }
5063
5012
  let i = r()(e);
5064
5013
  return {
@@ -5066,7 +5015,7 @@ function Ws(e) {
5066
5015
  t = B("div"), i.c();
5067
5016
  },
5068
5017
  m(s, o) {
5069
- U(s, t, o), i.m(t, null), e[41](t);
5018
+ F(s, t, o), i.m(t, null), e[41](t);
5070
5019
  },
5071
5020
  p(s, o) {
5072
5021
  i.p(s, o);
@@ -5074,84 +5023,84 @@ function Ws(e) {
5074
5023
  i: k,
5075
5024
  o: k,
5076
5025
  d(s) {
5077
- s && N(t), i.d(), e[41](null);
5026
+ s && M(t), i.d(), e[41](null);
5078
5027
  }
5079
5028
  };
5080
5029
  }
5081
- let Zs = "Please use this code {0} to activate your account";
5082
- function Js(e, t, r) {
5030
+ let Ls = "Please use this code {0} to activate your account";
5031
+ function Ns(e, t, r) {
5083
5032
  let n;
5084
- dn(e, Fs, (f) => r(33, n = f));
5085
- let { endpoint: i = "" } = t, { cmsendpoint: s = "" } = t, { env: o = "" } = t, { session: a = "" } = t, { trackedanalyticsdata: l = "" } = t, { captchakey: u = "" } = t, { lang: h = "en" } = t, { licenseyears: c = "" } = t, { disabledfields: p = "" } = t, { defaultoptions: y = "" } = t, { smsverification: g = "false" } = t, { simplepasswordvalidation: d = "false" } = t, { userroles: b = "" } = t, { clientstyling: S = "" } = t, { clientstylingurl: I = "" } = t, { translationurl: O = "" } = t, { savecredentials: D = "" } = t, { custominputtextswitch: M = "false" } = t, { personalidlength: R = "13" } = t, C, yt = "", Ue = !0, le = !1, be = !1, Ge = !1, ke = !1, ye, vt = !1, _t = "", Et = "", wt = "", St = window.navigator.userAgent, Zr = ir(St) !== "PC", j = {}, xt = !1, Tt = !1, je = "false", Ht = "false", Bt = "false", At = "false", Pt = "", Ot, ve = !1, Ct, _e;
5086
- Us({ withLocale: "en", translations: {} });
5087
- const Jr = () => {
5088
- fetch(O).then((x) => x.json()).then((x) => {
5089
- Object.keys(x).forEach((P) => {
5090
- sr(P, x[P]);
5033
+ Kr(e, Ss, (f) => r(33, n = f));
5034
+ let { endpoint: i = "" } = t, { cmsendpoint: s = "" } = t, { env: o = "" } = t, { session: a = "" } = t, { trackedanalyticsdata: h = "" } = t, { captchakey: l = "" } = t, { lang: u = "en" } = t, { licenseyears: c = "" } = t, { disabledfields: m = "" } = t, { defaultoptions: y = "" } = t, { smsverification: g = "false" } = t, { simplepasswordvalidation: p = "false" } = t, { userroles: b = "" } = t, { clientstyling: x = "" } = t, { clientstylingurl: I = "" } = t, { translationurl: O = "" } = t, { savecredentials: D = "" } = t, { custominputtextswitch: N = "false" } = t, { personalidlength: R = "13" } = t, C, dt = "", De = !0, ue = !1, ge = !1, Fe = !1, Ue = !1, be, mt = !1, pt = "", gt = "", bt = "", yt = window.navigator.userAgent, Fr = qt(yt) !== "PC", G = {}, vt = !1, _t = !1, ke = "false", Et = "false", wt = "false", xt = "false", St = "", Tt, ye = !1, Ht, ve;
5035
+ Ts({ withLocale: "en", translations: {} });
5036
+ const Ur = () => {
5037
+ fetch(O).then((S) => S.json()).then((S) => {
5038
+ Object.keys(S).forEach((P) => {
5039
+ Qt(P, S[P]);
5091
5040
  });
5092
- }).catch((x) => {
5093
- console.log(x);
5041
+ }).catch((S) => {
5042
+ console.log(S);
5094
5043
  });
5095
5044
  };
5096
- Object.keys(or).forEach((f) => {
5097
- sr(f, or[f]);
5045
+ Object.keys(Yt).forEach((f) => {
5046
+ Qt(f, Yt[f]);
5098
5047
  });
5099
- const qr = () => {
5048
+ const kr = () => {
5100
5049
  fetch(`${i}/v1/player/consentRequirements`).then((f) => f.json()).then((f) => {
5101
- f.items.length > 0 ? (r(25, je = "true"), f.items.forEach((x) => {
5102
- switch (x.tagCode) {
5050
+ f.items.length > 0 ? (r(25, ke = "true"), f.items.forEach((S) => {
5051
+ switch (S.tagCode) {
5103
5052
  case "termsandconditions":
5104
- r(26, Ht = "true");
5053
+ r(26, Et = "true");
5105
5054
  break;
5106
5055
  case "sms":
5107
- r(27, Bt = "true");
5056
+ r(27, wt = "true");
5108
5057
  break;
5109
5058
  case "emailmarketing":
5110
- r(28, At = "true");
5059
+ r(28, xt = "true");
5111
5060
  break;
5112
5061
  }
5113
- })) : r(25, je = "false");
5062
+ })) : r(25, ke = "false");
5114
5063
  });
5115
- }, Qr = () => {
5116
- let f = new URL(`${s}/${h}/login-register-content?env=${o}`), x = ir(St);
5117
- x && (x === "PC" ? f.searchParams.append("device", "dk") : f.searchParams.append("device", "mtWeb")), fetch(f.href).then((P) => P.json()).then((P) => {
5118
- ye = P.registerData, r(22, _t = ye.title), r(23, Et = ye.subtitle), r(24, wt = ye.content);
5064
+ }, Gr = () => {
5065
+ let f = new URL(`${s}/${u}/login-register-content?env=${o}`), S = qt(yt);
5066
+ S && (S === "PC" ? f.searchParams.append("device", "dk") : f.searchParams.append("device", "mtWeb")), fetch(f.href).then((P) => P.json()).then((P) => {
5067
+ be = P.registerData, r(22, pt = be.title), r(23, gt = be.subtitle), r(24, bt = be.content);
5119
5068
  }).catch((P) => {
5120
5069
  console.error(P);
5121
5070
  });
5122
- }, Ee = () => {
5123
- _e.scrollIntoView();
5124
- }, he = (f) => {
5125
- for (const x in f)
5126
- j[x] = f[x], x === "mobile" && r(31, Ct = `${f[x].prefix}${f[x].number}`);
5127
- j.affiliateMarker = j.promoCode ? j.promoCode : l != null ? l : "";
5128
- }, It = (f) => {
5071
+ }, _e = () => {
5072
+ ve.scrollIntoView();
5073
+ }, le = (f) => {
5074
+ for (const S in f)
5075
+ G[S] = f[S], S === "mobile" && r(31, Ht = `${f[S].prefix}${f[S].number}`);
5076
+ G.affiliateMarker = G.promoCode ? G.promoCode : h ?? "";
5077
+ }, Bt = (f) => {
5129
5078
  if (f.data)
5130
5079
  switch (f.data.type) {
5131
5080
  case "RegisterStepOne":
5132
- he(f.data.registerStepOneData), Ee(), r(17, Ue = !1), r(18, le = !0), xt == !1 ? xt = !0 : window.postMessage({ type: "StepTwoDataBackup", userData: j }, window.location.href);
5081
+ le(f.data.registerStepOneData), _e(), r(17, De = !1), r(18, ue = !0), vt == !1 ? vt = !0 : window.postMessage({ type: "StepTwoDataBackup", userData: G }, window.location.href);
5133
5082
  break;
5134
5083
  case "RegisterStepTwo":
5135
- he(f.data.registerStepTwoData), Ee(), r(18, le = !1), r(19, be = !0), Tt == !1 ? Tt = !0 : window.postMessage({ type: "StepThreeDataBackup", userData: j }, window.location.href);
5084
+ le(f.data.registerStepTwoData), _e(), r(18, ue = !1), r(19, ge = !0), _t == !1 ? _t = !0 : window.postMessage({ type: "StepThreeDataBackup", userData: G }, window.location.href);
5136
5085
  break;
5137
5086
  case "RegisterStepThree":
5138
- he(f.data.registerStepThreeData), Kr(j);
5087
+ le(f.data.registerStepThreeData), $r(G);
5139
5088
  break;
5140
5089
  case "SmsHasBeenValidated":
5141
- r(21, ke = !0), r(20, Ge = !1);
5090
+ r(21, Ue = !0), r(20, Fe = !1);
5142
5091
  break;
5143
5092
  case "GoBackStepTwo":
5144
- he(f.data.registerStepTwoData), Ee(), r(17, Ue = !0), r(18, le = !1), window.postMessage({ type: "StepOneDataBackup", userData: j }, window.location.href);
5093
+ le(f.data.registerStepTwoData), _e(), r(17, De = !0), r(18, ue = !1), window.postMessage({ type: "StepOneDataBackup", userData: G }, window.location.href);
5145
5094
  break;
5146
5095
  case "GoBackStepThree":
5147
- he(f.data.registerStepThreeData), Ee(), r(18, le = !0), r(19, be = !1), window.postMessage({ type: "StepTwoDataBackup", userData: j }, window.location.href);
5096
+ le(f.data.registerStepThreeData), _e(), r(18, ue = !0), r(19, ge = !1), window.postMessage({ type: "StepTwoDataBackup", userData: G }, window.location.href);
5148
5097
  break;
5149
5098
  }
5150
- }, Yr = () => {
5099
+ }, jr = () => {
5151
5100
  typeof gtag == "function" && gtag("event", "Register", { context: "GeneralPlayerRegisterForm" });
5152
- }, Kr = (f) => we(this, null, function* () {
5153
- f.language = h;
5154
- let x = {
5101
+ }, $r = async (f) => {
5102
+ f.language = u;
5103
+ let S = {
5155
5104
  method: "PUT",
5156
5105
  headers: {
5157
5106
  "g-recaptcha-response": f.token,
@@ -5159,54 +5108,54 @@ function Js(e, t, r) {
5159
5108
  Accept: "application/json"
5160
5109
  },
5161
5110
  body: JSON.stringify(f)
5162
- }, P = yield fetch(`${i}/v1/player/register`, x), z = yield P.json();
5163
- P.ok ? (r(19, be = !1), g === "false" ? r(21, ke = !0) : (r(16, yt = z.id), en(f, z.id)), f.username, f.password, Yr()) : (Pt = z.error.substring(z.error.indexOf("errorMessage") + 13, z.error.length), vt = !0, window.postMessage(
5111
+ }, P = await fetch(`${i}/v1/player/register`, S), X = await P.json();
5112
+ P.ok ? (r(19, ge = !1), g === "false" ? r(21, Ue = !0) : (r(16, dt = X.id), Vr(f, X.id)), f.username, f.password, jr()) : (St = X.error.substring(X.error.indexOf("errorMessage") + 13, X.error.length), mt = !0, window.postMessage(
5164
5113
  {
5165
5114
  type: "ShowRegistrationError",
5166
- showError: vt,
5167
- error: Pt
5115
+ showError: mt,
5116
+ error: St
5168
5117
  },
5169
5118
  window.location.href
5170
5119
  ));
5171
- }), en = (f, x) => we(this, null, function* () {
5120
+ }, Vr = async (f, S) => {
5172
5121
  localStorage.setItem("smsTimer", JSON.stringify(Math.floor(Date.now() / 1e3)));
5173
5122
  try {
5174
- const P = yield fetch(`${i}/v1/player/sms/token`, {
5123
+ const P = await fetch(`${i}/v1/player/sms/token`, {
5175
5124
  method: "POST",
5176
5125
  headers: {
5177
5126
  "Content-Type": "application/json",
5178
5127
  accept: "application/json"
5179
5128
  },
5180
5129
  body: JSON.stringify({
5181
- userId: x,
5182
- messageTemplate: Zs,
5130
+ userId: S,
5131
+ messageTemplate: Ls,
5183
5132
  destination: `${f.mobile.prefix}${f.mobile.number}`
5184
5133
  })
5185
- }), z = yield P.json();
5134
+ }), X = await P.json();
5186
5135
  if (P.ok) {
5187
- r(29, Ot = z.id);
5188
- let qs = z.maxValidationAttempts;
5189
- r(20, Ge = !0), r(30, ve = !1);
5136
+ r(29, Tt = X.id);
5137
+ let Ds = X.maxValidationAttempts;
5138
+ r(20, Fe = !0), r(30, ye = !1);
5190
5139
  } else
5191
- throw r(30, ve = !0), new Error("Failed to fetch");
5140
+ throw r(30, ye = !0), new Error("Failed to fetch");
5192
5141
  } catch (P) {
5193
- r(30, ve = !0), console.error(P);
5142
+ r(30, ye = !0), console.error(P);
5194
5143
  }
5195
- }), tn = () => {
5196
- p.split(",");
5197
- }, rn = () => {
5144
+ }, Xr = () => {
5145
+ m.split(",");
5146
+ }, Wr = () => {
5198
5147
  window.postMessage({ type: "ToLogin" }, window.location.href);
5199
- }, nn = () => {
5200
- Gs(h);
5201
- }, sn = () => {
5148
+ }, zr = () => {
5149
+ Hs(u);
5150
+ }, Zr = () => {
5202
5151
  let f = document.createElement("style");
5203
- f.innerHTML = S, C.appendChild(f);
5204
- }, on = () => {
5205
- let f = new URL(I), x = document.createElement("style");
5152
+ f.innerHTML = x, C.appendChild(f);
5153
+ }, Jr = () => {
5154
+ let f = new URL(I), S = document.createElement("style");
5206
5155
  fetch(f.href).then((P) => P.text()).then((P) => {
5207
- x.innerHTML = P, setTimeout(
5156
+ S.innerHTML = P, setTimeout(
5208
5157
  () => {
5209
- C.appendChild(x);
5158
+ C.appendChild(S);
5210
5159
  },
5211
5160
  1
5212
5161
  ), setTimeout(
@@ -5216,85 +5165,85 @@ function Js(e, t, r) {
5216
5165
  );
5217
5166
  });
5218
5167
  };
5219
- xn(() => (window.addEventListener("message", It, !1), () => {
5220
- window.removeEventListener("message", It);
5168
+ ln(() => (window.addEventListener("message", Bt, !1), () => {
5169
+ window.removeEventListener("message", Bt);
5221
5170
  }));
5222
- function an(f) {
5223
- Ce[f ? "unshift" : "push"](() => {
5224
- _e = f, r(32, _e);
5171
+ function qr(f) {
5172
+ Pe[f ? "unshift" : "push"](() => {
5173
+ ve = f, r(32, ve);
5225
5174
  });
5226
5175
  }
5227
- function un(f) {
5228
- Ce[f ? "unshift" : "push"](() => {
5176
+ function Qr(f) {
5177
+ Pe[f ? "unshift" : "push"](() => {
5229
5178
  C = f, r(15, C);
5230
5179
  });
5231
5180
  }
5232
5181
  return e.$$set = (f) => {
5233
- "endpoint" in f && r(0, i = f.endpoint), "cmsendpoint" in f && r(36, s = f.cmsendpoint), "env" in f && r(37, o = f.env), "session" in f && r(1, a = f.session), "trackedanalyticsdata" in f && r(38, l = f.trackedanalyticsdata), "captchakey" in f && r(2, u = f.captchakey), "lang" in f && r(3, h = f.lang), "licenseyears" in f && r(4, c = f.licenseyears), "disabledfields" in f && r(5, p = f.disabledfields), "defaultoptions" in f && r(6, y = f.defaultoptions), "smsverification" in f && r(7, g = f.smsverification), "simplepasswordvalidation" in f && r(8, d = f.simplepasswordvalidation), "userroles" in f && r(39, b = f.userroles), "clientstyling" in f && r(9, S = f.clientstyling), "clientstylingurl" in f && r(10, I = f.clientstylingurl), "translationurl" in f && r(11, O = f.translationurl), "savecredentials" in f && r(12, D = f.savecredentials), "custominputtextswitch" in f && r(13, M = f.custominputtextswitch), "personalidlength" in f && r(14, R = f.personalidlength);
5182
+ "endpoint" in f && r(0, i = f.endpoint), "cmsendpoint" in f && r(36, s = f.cmsendpoint), "env" in f && r(37, o = f.env), "session" in f && r(1, a = f.session), "trackedanalyticsdata" in f && r(38, h = f.trackedanalyticsdata), "captchakey" in f && r(2, l = f.captchakey), "lang" in f && r(3, u = f.lang), "licenseyears" in f && r(4, c = f.licenseyears), "disabledfields" in f && r(5, m = f.disabledfields), "defaultoptions" in f && r(6, y = f.defaultoptions), "smsverification" in f && r(7, g = f.smsverification), "simplepasswordvalidation" in f && r(8, p = f.simplepasswordvalidation), "userroles" in f && r(39, b = f.userroles), "clientstyling" in f && r(9, x = f.clientstyling), "clientstylingurl" in f && r(10, I = f.clientstylingurl), "translationurl" in f && r(11, O = f.translationurl), "savecredentials" in f && r(12, D = f.savecredentials), "custominputtextswitch" in f && r(13, N = f.custominputtextswitch), "personalidlength" in f && r(14, R = f.personalidlength);
5234
5183
  }, e.$$.update = () => {
5235
5184
  e.$$.dirty[0] & /*endpoint*/
5236
- 1 && i && qr(), e.$$.dirty[0] & /*lang*/
5185
+ 1 && i && kr(), e.$$.dirty[0] & /*lang*/
5237
5186
  8 | e.$$.dirty[1] & /*cmsendpoint, env, userroles*/
5238
- 352 && s && h && o && b && Qr(), e.$$.dirty[0] & /*playerid, session*/
5187
+ 352 && s && u && o && b && Gr(), e.$$.dirty[0] & /*playerid, session*/
5239
5188
  65538, e.$$.dirty[0] & /*lang*/
5240
- 8 && h && nn(), e.$$.dirty[0] & /*disabledfields*/
5241
- 32 && p && tn(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5242
- 33280 && S && C && sn(), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5243
- 33792 && I && C && on(), e.$$.dirty[0] & /*translationurl*/
5244
- 2048 && O && Jr();
5189
+ 8 && u && zr(), e.$$.dirty[0] & /*disabledfields*/
5190
+ 32 && m && Xr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5191
+ 33280 && x && C && Zr(), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5192
+ 33792 && I && C && Jr(), e.$$.dirty[0] & /*translationurl*/
5193
+ 2048 && O && Ur();
5245
5194
  }, [
5246
5195
  i,
5247
5196
  a,
5197
+ l,
5248
5198
  u,
5249
- h,
5250
5199
  c,
5251
- p,
5200
+ m,
5252
5201
  y,
5253
5202
  g,
5254
- d,
5255
- S,
5203
+ p,
5204
+ x,
5256
5205
  I,
5257
5206
  O,
5258
5207
  D,
5259
- M,
5208
+ N,
5260
5209
  R,
5261
5210
  C,
5262
- yt,
5211
+ dt,
5212
+ De,
5213
+ ue,
5214
+ ge,
5215
+ Fe,
5263
5216
  Ue,
5264
- le,
5265
- be,
5266
- Ge,
5217
+ pt,
5218
+ gt,
5219
+ bt,
5267
5220
  ke,
5268
- _t,
5269
5221
  Et,
5270
5222
  wt,
5271
- je,
5223
+ xt,
5224
+ Tt,
5225
+ ye,
5272
5226
  Ht,
5273
- Bt,
5274
- At,
5275
- Ot,
5276
5227
  ve,
5277
- Ct,
5278
- _e,
5279
5228
  n,
5280
- Zr,
5281
- rn,
5229
+ Fr,
5230
+ Wr,
5282
5231
  s,
5283
5232
  o,
5284
- l,
5233
+ h,
5285
5234
  b,
5286
- an,
5287
- un
5235
+ qr,
5236
+ Qr
5288
5237
  ];
5289
5238
  }
5290
- class Wr extends Nn {
5239
+ class Ms extends En {
5291
5240
  constructor(t) {
5292
- super(), Ln(
5241
+ super(), vn(
5293
5242
  this,
5294
5243
  t,
5295
- Js,
5296
- Ws,
5297
- mr,
5244
+ Ns,
5245
+ Rs,
5246
+ sr,
5298
5247
  {
5299
5248
  endpoint: 0,
5300
5249
  cmsendpoint: 36,
@@ -5316,7 +5265,7 @@ class Wr extends Nn {
5316
5265
  custominputtextswitch: 13,
5317
5266
  personalidlength: 14
5318
5267
  },
5319
- ks,
5268
+ Bs,
5320
5269
  [-1, -1, -1]
5321
5270
  );
5322
5271
  }
@@ -5435,45 +5384,41 @@ class Wr extends Nn {
5435
5384
  this.$$set({ personalidlength: t }), A();
5436
5385
  }
5437
5386
  }
5438
- Mn(Wr, { endpoint: {}, cmsendpoint: {}, env: {}, session: {}, trackedanalyticsdata: {}, captchakey: {}, lang: {}, licenseyears: {}, disabledfields: {}, defaultoptions: {}, smsverification: {}, simplepasswordvalidation: {}, userroles: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, savecredentials: {}, custominputtextswitch: {}, personalidlength: {} }, [], [], !0);
5439
- const so = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5440
- __proto__: null,
5441
- default: Wr
5442
- }, Symbol.toStringTag, { value: "Module" }));
5387
+ _n(Ms, { endpoint: {}, cmsendpoint: {}, env: {}, session: {}, trackedanalyticsdata: {}, captchakey: {}, lang: {}, licenseyears: {}, disabledfields: {}, defaultoptions: {}, smsverification: {}, simplepasswordvalidation: {}, userroles: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, savecredentials: {}, custominputtextswitch: {}, personalidlength: {} }, [], [], !0);
5443
5388
  export {
5444
- Z as $,
5445
- eo as A,
5446
- vn as B,
5447
- no as C,
5448
- ae as D,
5449
- Ks as E,
5450
- Ys as F,
5451
- so as G,
5452
- Nn as S,
5453
- jr as a,
5454
- gn as b,
5455
- Mn as c,
5456
- G as d,
5389
+ z as $,
5390
+ ks as A,
5391
+ nn as B,
5392
+ $s as C,
5393
+ oe as D,
5394
+ Us as E,
5395
+ Fs as F,
5396
+ Ms as G,
5397
+ En as S,
5398
+ Rr as a,
5399
+ en as b,
5400
+ _n as c,
5401
+ U as d,
5457
5402
  B as e,
5458
5403
  A as f,
5459
5404
  T as g,
5460
- U as h,
5461
- Ln as i,
5405
+ F as h,
5406
+ vn as i,
5462
5407
  E as j,
5463
- to as k,
5464
- _n as l,
5465
- K as m,
5408
+ Gs as k,
5409
+ sn as l,
5410
+ Y as m,
5466
5411
  k as n,
5467
- N as o,
5468
- dn as p,
5469
- xn as q,
5470
- ge as r,
5471
- mr as s,
5472
- $ as t,
5473
- Ce as u,
5474
- xe as v,
5475
- Fs as w,
5476
- Ke as x,
5477
- ro as y,
5478
- io as z
5412
+ M as o,
5413
+ Kr as p,
5414
+ ln as q,
5415
+ pe as r,
5416
+ sr as s,
5417
+ j as t,
5418
+ Pe as u,
5419
+ we as v,
5420
+ Ss as w,
5421
+ Je as x,
5422
+ js as y,
5423
+ Vs as z
5479
5424
  };