@everymatrix/general-player-register-form-step1 1.86.1 → 1.86.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/GeneralPlayerRegisterFormStep1-DS_CaKnE.cjs +16 -0
- package/components/{GeneralPlayerRegisterFormStep1-WExqDnGU.js → GeneralPlayerRegisterFormStep1-DgDtAv9h.js} +659 -663
- package/components/{GeneralPlayerRegisterFormStep1-DwmzFer2.js → GeneralPlayerRegisterFormStep1-Jj0arex1.js} +641 -645
- package/es2015/general-player-register-form-step1.cjs +1 -1
- package/es2015/general-player-register-form-step1.js +1 -1
- package/esnext/general-player-register-form-step1.js +1 -1
- package/package.json +1 -1
- package/components/GeneralPlayerRegisterFormStep1-vleLCtgb.cjs +0 -3
|
@@ -6,10 +6,10 @@ function ei(e) {
|
|
|
6
6
|
function Bt() {
|
|
7
7
|
return /* @__PURE__ */ Object.create(null);
|
|
8
8
|
}
|
|
9
|
-
function
|
|
9
|
+
function lr(e) {
|
|
10
10
|
e.forEach(ei);
|
|
11
11
|
}
|
|
12
|
-
function
|
|
12
|
+
function _t(e) {
|
|
13
13
|
return typeof e == "function";
|
|
14
14
|
}
|
|
15
15
|
function ri(e, r) {
|
|
@@ -66,14 +66,14 @@ function ie(e) {
|
|
|
66
66
|
function E(e) {
|
|
67
67
|
return document.createElement(e);
|
|
68
68
|
}
|
|
69
|
-
function
|
|
69
|
+
function _(e) {
|
|
70
70
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
71
71
|
}
|
|
72
|
-
function
|
|
72
|
+
function H(e) {
|
|
73
73
|
return document.createTextNode(e);
|
|
74
74
|
}
|
|
75
|
-
function
|
|
76
|
-
return
|
|
75
|
+
function I() {
|
|
76
|
+
return H(" ");
|
|
77
77
|
}
|
|
78
78
|
function x(e, r, t, i) {
|
|
79
79
|
return e.addEventListener(r, t, i), () => e.removeEventListener(r, t, i);
|
|
@@ -100,65 +100,65 @@ function Li(e) {
|
|
|
100
100
|
}
|
|
101
101
|
), r;
|
|
102
102
|
}
|
|
103
|
-
let
|
|
103
|
+
let Sr;
|
|
104
104
|
function wr(e) {
|
|
105
|
-
|
|
105
|
+
Sr = e;
|
|
106
106
|
}
|
|
107
107
|
function Mi() {
|
|
108
|
-
if (!
|
|
108
|
+
if (!Sr)
|
|
109
109
|
throw new Error("Function called outside component initialization");
|
|
110
|
-
return
|
|
110
|
+
return Sr;
|
|
111
111
|
}
|
|
112
112
|
function Ri(e) {
|
|
113
113
|
Mi().$$.on_mount.push(e);
|
|
114
114
|
}
|
|
115
|
-
const
|
|
116
|
-
let
|
|
115
|
+
const tr = [], _r = [];
|
|
116
|
+
let ir = [];
|
|
117
117
|
const It = [], Ui = /* @__PURE__ */ Promise.resolve();
|
|
118
|
-
let
|
|
118
|
+
let ht = !1;
|
|
119
119
|
function ki() {
|
|
120
|
-
|
|
120
|
+
ht || (ht = !0, Ui.then(be));
|
|
121
121
|
}
|
|
122
|
-
function
|
|
123
|
-
|
|
122
|
+
function ft(e) {
|
|
123
|
+
ir.push(e);
|
|
124
124
|
}
|
|
125
|
-
const
|
|
126
|
-
let
|
|
125
|
+
const nt = /* @__PURE__ */ new Set();
|
|
126
|
+
let er = 0;
|
|
127
127
|
function be() {
|
|
128
|
-
if (
|
|
128
|
+
if (er !== 0)
|
|
129
129
|
return;
|
|
130
|
-
const e =
|
|
130
|
+
const e = Sr;
|
|
131
131
|
do {
|
|
132
132
|
try {
|
|
133
|
-
for (;
|
|
134
|
-
const r =
|
|
135
|
-
|
|
133
|
+
for (; er < tr.length; ) {
|
|
134
|
+
const r = tr[er];
|
|
135
|
+
er++, wr(r), Fi(r.$$);
|
|
136
136
|
}
|
|
137
137
|
} catch (r) {
|
|
138
|
-
throw
|
|
138
|
+
throw tr.length = 0, er = 0, r;
|
|
139
139
|
}
|
|
140
|
-
for (wr(null),
|
|
141
|
-
|
|
142
|
-
for (let r = 0; r <
|
|
143
|
-
const t =
|
|
144
|
-
|
|
140
|
+
for (wr(null), tr.length = 0, er = 0; _r.length; )
|
|
141
|
+
_r.pop()();
|
|
142
|
+
for (let r = 0; r < ir.length; r += 1) {
|
|
143
|
+
const t = ir[r];
|
|
144
|
+
nt.has(t) || (nt.add(t), t());
|
|
145
145
|
}
|
|
146
|
-
|
|
147
|
-
} while (
|
|
146
|
+
ir.length = 0;
|
|
147
|
+
} while (tr.length);
|
|
148
148
|
for (; It.length; )
|
|
149
149
|
It.pop()();
|
|
150
|
-
|
|
150
|
+
ht = !1, nt.clear(), wr(e);
|
|
151
151
|
}
|
|
152
152
|
function Fi(e) {
|
|
153
153
|
if (e.fragment !== null) {
|
|
154
|
-
e.update(),
|
|
154
|
+
e.update(), lr(e.before_update);
|
|
155
155
|
const r = e.dirty;
|
|
156
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, r), e.after_update.forEach(
|
|
156
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, r), e.after_update.forEach(ft);
|
|
157
157
|
}
|
|
158
158
|
}
|
|
159
159
|
function Di(e) {
|
|
160
160
|
const r = [], t = [];
|
|
161
|
-
|
|
161
|
+
ir.forEach((i) => e.indexOf(i) === -1 ? r.push(i) : t.push(i)), t.forEach((i) => i()), ir = r;
|
|
162
162
|
}
|
|
163
163
|
const Gi = /* @__PURE__ */ new Set();
|
|
164
164
|
function ji(e, r) {
|
|
@@ -166,20 +166,20 @@ function ji(e, r) {
|
|
|
166
166
|
}
|
|
167
167
|
function Vi(e, r, t) {
|
|
168
168
|
const { fragment: i, after_update: n } = e.$$;
|
|
169
|
-
i && i.m(r, t),
|
|
170
|
-
const s = e.$$.on_mount.map(ei).filter(
|
|
171
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...s) :
|
|
172
|
-
}), n.forEach(
|
|
169
|
+
i && i.m(r, t), ft(() => {
|
|
170
|
+
const s = e.$$.on_mount.map(ei).filter(_t);
|
|
171
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : lr(s), e.$$.on_mount = [];
|
|
172
|
+
}), n.forEach(ft);
|
|
173
173
|
}
|
|
174
174
|
function $i(e, r) {
|
|
175
175
|
const t = e.$$;
|
|
176
|
-
t.fragment !== null && (Di(t.after_update),
|
|
176
|
+
t.fragment !== null && (Di(t.after_update), lr(t.on_destroy), t.fragment && t.fragment.d(r), t.on_destroy = t.fragment = null, t.ctx = []);
|
|
177
177
|
}
|
|
178
178
|
function Qi(e, r) {
|
|
179
|
-
e.$$.dirty[0] === -1 && (
|
|
179
|
+
e.$$.dirty[0] === -1 && (tr.push(e), ki(), e.$$.dirty.fill(0)), e.$$.dirty[r / 31 | 0] |= 1 << r % 31;
|
|
180
180
|
}
|
|
181
181
|
function zi(e, r, t, i, n, s, u = null, a = [-1]) {
|
|
182
|
-
const f =
|
|
182
|
+
const f = Sr;
|
|
183
183
|
wr(e);
|
|
184
184
|
const c = e.$$ = {
|
|
185
185
|
fragment: null,
|
|
@@ -205,9 +205,9 @@ function zi(e, r, t, i, n, s, u = null, a = [-1]) {
|
|
|
205
205
|
u && u(c.root);
|
|
206
206
|
let h = !1;
|
|
207
207
|
if (c.ctx = t ? t(e, r.props || {}, (m, g, ...b) => {
|
|
208
|
-
const
|
|
209
|
-
return c.ctx && n(c.ctx[m], c.ctx[m] =
|
|
210
|
-
}) : [], c.update(), h = !0,
|
|
208
|
+
const w = b.length ? b[0] : g;
|
|
209
|
+
return c.ctx && n(c.ctx[m], c.ctx[m] = w) && (!c.skip_bound && c.bound[m] && c.bound[m](w), h && Qi(e, m)), g;
|
|
210
|
+
}) : [], c.update(), h = !0, lr(c.before_update), c.fragment = i ? i(c.ctx) : !1, r.target) {
|
|
211
211
|
if (r.hydrate) {
|
|
212
212
|
const m = Oi(r.target);
|
|
213
213
|
c.fragment && c.fragment.l(m), m.forEach(ie);
|
|
@@ -282,7 +282,7 @@ typeof HTMLElement == "function" && (ii = class extends HTMLElement {
|
|
|
282
282
|
n in t && (r[n] = [e(n)]);
|
|
283
283
|
for (const n of this.attributes) {
|
|
284
284
|
const s = this.$$g_p(n.name);
|
|
285
|
-
s in this.$$d || (this.$$d[s] =
|
|
285
|
+
s in this.$$d || (this.$$d[s] = zr(s, n.value, this.$$p_d, "toProp"));
|
|
286
286
|
}
|
|
287
287
|
for (const n in this.$$p_d)
|
|
288
288
|
!(n in this.$$d) && this[n] !== void 0 && (this.$$d[n] = this[n], delete this[n]);
|
|
@@ -300,7 +300,7 @@ typeof HTMLElement == "function" && (ii = class extends HTMLElement {
|
|
|
300
300
|
this.$$r = !0;
|
|
301
301
|
for (const n in this.$$p_d)
|
|
302
302
|
if (this.$$d[n] = this.$$c.$$.ctx[this.$$c.$$.props[n]], this.$$p_d[n].reflect) {
|
|
303
|
-
const s =
|
|
303
|
+
const s = zr(
|
|
304
304
|
n,
|
|
305
305
|
this.$$d[n],
|
|
306
306
|
this.$$p_d,
|
|
@@ -322,7 +322,7 @@ typeof HTMLElement == "function" && (ii = class extends HTMLElement {
|
|
|
322
322
|
// We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
|
|
323
323
|
// and setting attributes through setAttribute etc, this is helpful
|
|
324
324
|
attributeChangedCallback(e, r, t) {
|
|
325
|
-
this.$$r || (e = this.$$g_p(e), this.$$d[e] =
|
|
325
|
+
this.$$r || (e = this.$$g_p(e), this.$$d[e] = zr(e, t, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
|
|
326
326
|
}
|
|
327
327
|
disconnectedCallback() {
|
|
328
328
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -335,7 +335,7 @@ typeof HTMLElement == "function" && (ii = class extends HTMLElement {
|
|
|
335
335
|
) || e;
|
|
336
336
|
}
|
|
337
337
|
});
|
|
338
|
-
function
|
|
338
|
+
function zr(e, r, t, i) {
|
|
339
339
|
const n = t[e]?.type;
|
|
340
340
|
if (r = n === "Boolean" && typeof r != "boolean" ? r != null : r, !i || !t[e])
|
|
341
341
|
return r;
|
|
@@ -381,7 +381,7 @@ function Xi(e, r, t, i, n, s) {
|
|
|
381
381
|
return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
|
|
382
382
|
},
|
|
383
383
|
set(f) {
|
|
384
|
-
f =
|
|
384
|
+
f = zr(a, f, r), this.$$d[a] = f, this.$$c?.$set({ [a]: f });
|
|
385
385
|
}
|
|
386
386
|
});
|
|
387
387
|
}), i.forEach((a) => {
|
|
@@ -421,7 +421,7 @@ class Zi {
|
|
|
421
421
|
* @returns {() => void}
|
|
422
422
|
*/
|
|
423
423
|
$on(r, t) {
|
|
424
|
-
if (!
|
|
424
|
+
if (!_t(t))
|
|
425
425
|
return z;
|
|
426
426
|
const i = this.$$.callbacks[r] || (this.$$.callbacks[r] = []);
|
|
427
427
|
return i.push(t), () => {
|
|
@@ -439,24 +439,24 @@ class Zi {
|
|
|
439
439
|
}
|
|
440
440
|
const Wi = "4";
|
|
441
441
|
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Wi);
|
|
442
|
-
const
|
|
442
|
+
const rr = [];
|
|
443
443
|
function qi(e, r) {
|
|
444
444
|
return {
|
|
445
|
-
subscribe:
|
|
445
|
+
subscribe: Jr(e, r).subscribe
|
|
446
446
|
};
|
|
447
447
|
}
|
|
448
|
-
function
|
|
448
|
+
function Jr(e, r = z) {
|
|
449
449
|
let t;
|
|
450
450
|
const i = /* @__PURE__ */ new Set();
|
|
451
451
|
function n(a) {
|
|
452
452
|
if (ri(e, a) && (e = a, t)) {
|
|
453
|
-
const f = !
|
|
453
|
+
const f = !rr.length;
|
|
454
454
|
for (const c of i)
|
|
455
|
-
c[1](),
|
|
455
|
+
c[1](), rr.push(c, e);
|
|
456
456
|
if (f) {
|
|
457
|
-
for (let c = 0; c <
|
|
458
|
-
|
|
459
|
-
|
|
457
|
+
for (let c = 0; c < rr.length; c += 2)
|
|
458
|
+
rr[c][0](rr[c + 1]);
|
|
459
|
+
rr.length = 0;
|
|
460
460
|
}
|
|
461
461
|
}
|
|
462
462
|
}
|
|
@@ -471,7 +471,7 @@ function Kr(e, r = z) {
|
|
|
471
471
|
}
|
|
472
472
|
return { set: n, update: s, subscribe: u };
|
|
473
473
|
}
|
|
474
|
-
function
|
|
474
|
+
function ur(e, r, t) {
|
|
475
475
|
const i = !Array.isArray(e), n = i ? [e] : e;
|
|
476
476
|
if (!n.every(Boolean))
|
|
477
477
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
@@ -484,11 +484,11 @@ function cr(e, r, t) {
|
|
|
484
484
|
if (h)
|
|
485
485
|
return;
|
|
486
486
|
m();
|
|
487
|
-
const
|
|
488
|
-
s ? u(
|
|
487
|
+
const w = r(i ? c[0] : c, u, a);
|
|
488
|
+
s ? u(w) : m = _t(w) ? w : z;
|
|
489
489
|
}, b = n.map(
|
|
490
|
-
(
|
|
491
|
-
|
|
490
|
+
(w, y) => ti(
|
|
491
|
+
w,
|
|
492
492
|
(A) => {
|
|
493
493
|
c[y] = A, h &= ~(1 << y), f && g();
|
|
494
494
|
},
|
|
@@ -498,7 +498,7 @@ function cr(e, r, t) {
|
|
|
498
498
|
)
|
|
499
499
|
);
|
|
500
500
|
return f = !0, g(), function() {
|
|
501
|
-
|
|
501
|
+
lr(b), m(), f = !1;
|
|
502
502
|
};
|
|
503
503
|
});
|
|
504
504
|
}
|
|
@@ -522,19 +522,19 @@ function nn(e) {
|
|
|
522
522
|
function sn(e) {
|
|
523
523
|
return Array.isArray(e) ? [] : {};
|
|
524
524
|
}
|
|
525
|
-
function
|
|
526
|
-
return r.clone !== !1 && r.isMergeableObject(e) ?
|
|
525
|
+
function Pr(e, r) {
|
|
526
|
+
return r.clone !== !1 && r.isMergeableObject(e) ? nr(sn(e), e, r) : e;
|
|
527
527
|
}
|
|
528
528
|
function on(e, r, t) {
|
|
529
529
|
return e.concat(r).map(function(i) {
|
|
530
|
-
return
|
|
530
|
+
return Pr(i, t);
|
|
531
531
|
});
|
|
532
532
|
}
|
|
533
533
|
function an(e, r) {
|
|
534
534
|
if (!r.customMerge)
|
|
535
|
-
return
|
|
535
|
+
return nr;
|
|
536
536
|
var t = r.customMerge(e);
|
|
537
|
-
return typeof t == "function" ? t :
|
|
537
|
+
return typeof t == "function" ? t : nr;
|
|
538
538
|
}
|
|
539
539
|
function ln(e) {
|
|
540
540
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(r) {
|
|
@@ -557,51 +557,65 @@ function un(e, r) {
|
|
|
557
557
|
function cn(e, r, t) {
|
|
558
558
|
var i = {};
|
|
559
559
|
return t.isMergeableObject(e) && Nt(e).forEach(function(n) {
|
|
560
|
-
i[n] =
|
|
560
|
+
i[n] = Pr(e[n], t);
|
|
561
561
|
}), Nt(r).forEach(function(n) {
|
|
562
|
-
un(e, n) || (ni(e, n) && t.isMergeableObject(r[n]) ? i[n] = an(n, t)(e[n], r[n], t) : i[n] =
|
|
562
|
+
un(e, n) || (ni(e, n) && t.isMergeableObject(r[n]) ? i[n] = an(n, t)(e[n], r[n], t) : i[n] = Pr(r[n], t));
|
|
563
563
|
}), i;
|
|
564
564
|
}
|
|
565
|
-
function
|
|
566
|
-
t = t || {}, t.arrayMerge = t.arrayMerge || on, t.isMergeableObject = t.isMergeableObject || Yi, t.cloneUnlessOtherwiseSpecified =
|
|
565
|
+
function nr(e, r, t) {
|
|
566
|
+
t = t || {}, t.arrayMerge = t.arrayMerge || on, t.isMergeableObject = t.isMergeableObject || Yi, t.cloneUnlessOtherwiseSpecified = Pr;
|
|
567
567
|
var i = Array.isArray(r), n = Array.isArray(e), s = i === n;
|
|
568
|
-
return s ? i ? t.arrayMerge(e, r, t) : cn(e, r, t) :
|
|
568
|
+
return s ? i ? t.arrayMerge(e, r, t) : cn(e, r, t) : Pr(r, t);
|
|
569
569
|
}
|
|
570
|
-
|
|
570
|
+
nr.all = function(r, t) {
|
|
571
571
|
if (!Array.isArray(r))
|
|
572
572
|
throw new Error("first argument should be an array");
|
|
573
573
|
return r.reduce(function(i, n) {
|
|
574
|
-
return
|
|
574
|
+
return nr(i, n, t);
|
|
575
575
|
}, {});
|
|
576
576
|
};
|
|
577
|
-
var hn =
|
|
577
|
+
var hn = nr, fn = hn;
|
|
578
578
|
const dn = /* @__PURE__ */ Ji(fn);
|
|
579
|
-
|
|
580
|
-
|
|
579
|
+
/*! *****************************************************************************
|
|
580
|
+
Copyright (c) Microsoft Corporation.
|
|
581
|
+
|
|
582
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
583
|
+
purpose with or without fee is hereby granted.
|
|
584
|
+
|
|
585
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
586
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
587
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
588
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
589
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
590
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
591
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
592
|
+
***************************************************************************** */
|
|
593
|
+
var dt = function(e, r) {
|
|
594
|
+
return dt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(t, i) {
|
|
581
595
|
t.__proto__ = i;
|
|
582
596
|
} || function(t, i) {
|
|
583
597
|
for (var n in i)
|
|
584
598
|
Object.prototype.hasOwnProperty.call(i, n) && (t[n] = i[n]);
|
|
585
|
-
},
|
|
599
|
+
}, dt(e, r);
|
|
586
600
|
};
|
|
587
|
-
function
|
|
601
|
+
function Yr(e, r) {
|
|
588
602
|
if (typeof r != "function" && r !== null)
|
|
589
603
|
throw new TypeError("Class extends value " + String(r) + " is not a constructor or null");
|
|
590
|
-
|
|
604
|
+
dt(e, r);
|
|
591
605
|
function t() {
|
|
592
606
|
this.constructor = e;
|
|
593
607
|
}
|
|
594
608
|
e.prototype = r === null ? Object.create(r) : (t.prototype = r.prototype, new t());
|
|
595
609
|
}
|
|
596
|
-
var
|
|
597
|
-
return
|
|
610
|
+
var T = function() {
|
|
611
|
+
return T = Object.assign || function(r) {
|
|
598
612
|
for (var t, i = 1, n = arguments.length; i < n; i++) {
|
|
599
613
|
t = arguments[i];
|
|
600
614
|
for (var s in t)
|
|
601
615
|
Object.prototype.hasOwnProperty.call(t, s) && (r[s] = t[s]);
|
|
602
616
|
}
|
|
603
617
|
return r;
|
|
604
|
-
},
|
|
618
|
+
}, T.apply(this, arguments);
|
|
605
619
|
};
|
|
606
620
|
function mn(e, r) {
|
|
607
621
|
var t = {};
|
|
@@ -612,14 +626,14 @@ function mn(e, r) {
|
|
|
612
626
|
r.indexOf(i[n]) < 0 && Object.prototype.propertyIsEnumerable.call(e, i[n]) && (t[i[n]] = e[i[n]]);
|
|
613
627
|
return t;
|
|
614
628
|
}
|
|
615
|
-
function
|
|
616
|
-
if (
|
|
629
|
+
function st(e, r, t) {
|
|
630
|
+
if (arguments.length === 2)
|
|
617
631
|
for (var i = 0, n = r.length, s; i < n; i++)
|
|
618
632
|
(s || !(i in r)) && (s || (s = Array.prototype.slice.call(r, 0, i)), s[i] = r[i]);
|
|
619
|
-
return e.concat(s ||
|
|
633
|
+
return e.concat(s || r);
|
|
620
634
|
}
|
|
621
|
-
function
|
|
622
|
-
var t = r && r.cache ? r.cache :
|
|
635
|
+
function ot(e, r) {
|
|
636
|
+
var t = r && r.cache ? r.cache : vn, i = r && r.serializer ? r.serializer : En, n = r && r.strategy ? r.strategy : pn;
|
|
623
637
|
return n(e, {
|
|
624
638
|
cache: t,
|
|
625
639
|
serializer: i
|
|
@@ -628,103 +642,95 @@ function lt(e, r) {
|
|
|
628
642
|
function gn(e) {
|
|
629
643
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
630
644
|
}
|
|
631
|
-
function
|
|
645
|
+
function si(e, r, t, i) {
|
|
632
646
|
var n = gn(i) ? i : t(i), s = r.get(n);
|
|
633
647
|
return typeof s > "u" && (s = e.call(this, i), r.set(n, s)), s;
|
|
634
648
|
}
|
|
635
|
-
function
|
|
649
|
+
function oi(e, r, t) {
|
|
636
650
|
var i = Array.prototype.slice.call(arguments, 3), n = t(i), s = r.get(n);
|
|
637
651
|
return typeof s > "u" && (s = e.apply(this, i), r.set(n, s)), s;
|
|
638
652
|
}
|
|
639
|
-
function
|
|
653
|
+
function St(e, r, t, i, n) {
|
|
640
654
|
return t.bind(r, e, i, n);
|
|
641
655
|
}
|
|
656
|
+
function pn(e, r) {
|
|
657
|
+
var t = e.length === 1 ? si : oi;
|
|
658
|
+
return St(e, this, t, r.cache.create(), r.serializer);
|
|
659
|
+
}
|
|
642
660
|
function bn(e, r) {
|
|
643
|
-
|
|
644
|
-
return oi(e, this, t, r.cache.create(), r.serializer);
|
|
661
|
+
return St(e, this, oi, r.cache.create(), r.serializer);
|
|
645
662
|
}
|
|
646
663
|
function yn(e, r) {
|
|
647
|
-
return
|
|
664
|
+
return St(e, this, si, r.cache.create(), r.serializer);
|
|
648
665
|
}
|
|
649
666
|
var En = function() {
|
|
650
667
|
return JSON.stringify(arguments);
|
|
651
|
-
}
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
}()
|
|
663
|
-
), _n = {
|
|
668
|
+
};
|
|
669
|
+
function Pt() {
|
|
670
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
671
|
+
}
|
|
672
|
+
Pt.prototype.get = function(e) {
|
|
673
|
+
return this.cache[e];
|
|
674
|
+
};
|
|
675
|
+
Pt.prototype.set = function(e, r) {
|
|
676
|
+
this.cache[e] = r;
|
|
677
|
+
};
|
|
678
|
+
var vn = {
|
|
664
679
|
create: function() {
|
|
665
|
-
return new
|
|
680
|
+
return new Pt();
|
|
666
681
|
}
|
|
667
|
-
},
|
|
668
|
-
variadic:
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
for (var t, i = 1, n = arguments.length; i < n; i++) {
|
|
672
|
-
t = arguments[i];
|
|
673
|
-
for (var s in t)
|
|
674
|
-
Object.prototype.hasOwnProperty.call(t, s) && (r[s] = t[s]);
|
|
675
|
-
}
|
|
676
|
-
return r;
|
|
677
|
-
}, qr.apply(this, arguments);
|
|
678
|
-
};
|
|
679
|
-
var S;
|
|
682
|
+
}, at = {
|
|
683
|
+
variadic: bn,
|
|
684
|
+
monadic: yn
|
|
685
|
+
}, S;
|
|
680
686
|
(function(e) {
|
|
681
687
|
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";
|
|
682
688
|
})(S || (S = {}));
|
|
683
|
-
var
|
|
689
|
+
var L;
|
|
684
690
|
(function(e) {
|
|
685
691
|
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";
|
|
686
|
-
})(
|
|
687
|
-
var
|
|
692
|
+
})(L || (L = {}));
|
|
693
|
+
var sr;
|
|
688
694
|
(function(e) {
|
|
689
695
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
690
|
-
})(
|
|
696
|
+
})(sr || (sr = {}));
|
|
691
697
|
function Ot(e) {
|
|
692
|
-
return e.type ===
|
|
698
|
+
return e.type === L.literal;
|
|
693
699
|
}
|
|
694
700
|
function wn(e) {
|
|
695
|
-
return e.type ===
|
|
701
|
+
return e.type === L.argument;
|
|
696
702
|
}
|
|
697
703
|
function ai(e) {
|
|
698
|
-
return e.type ===
|
|
704
|
+
return e.type === L.number;
|
|
699
705
|
}
|
|
700
706
|
function li(e) {
|
|
701
|
-
return e.type ===
|
|
707
|
+
return e.type === L.date;
|
|
702
708
|
}
|
|
703
709
|
function ui(e) {
|
|
704
|
-
return e.type ===
|
|
710
|
+
return e.type === L.time;
|
|
705
711
|
}
|
|
706
712
|
function ci(e) {
|
|
707
|
-
return e.type ===
|
|
713
|
+
return e.type === L.select;
|
|
708
714
|
}
|
|
709
715
|
function hi(e) {
|
|
710
|
-
return e.type ===
|
|
716
|
+
return e.type === L.plural;
|
|
711
717
|
}
|
|
712
|
-
function
|
|
713
|
-
return e.type ===
|
|
718
|
+
function _n(e) {
|
|
719
|
+
return e.type === L.pound;
|
|
714
720
|
}
|
|
715
721
|
function fi(e) {
|
|
716
|
-
return e.type ===
|
|
722
|
+
return e.type === L.tag;
|
|
717
723
|
}
|
|
718
724
|
function di(e) {
|
|
719
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
725
|
+
return !!(e && typeof e == "object" && e.type === sr.number);
|
|
720
726
|
}
|
|
721
|
-
function
|
|
722
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
727
|
+
function mt(e) {
|
|
728
|
+
return !!(e && typeof e == "object" && e.type === sr.dateTime);
|
|
723
729
|
}
|
|
724
|
-
var mi = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,
|
|
725
|
-
function
|
|
730
|
+
var mi = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Sn = /(?:[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;
|
|
731
|
+
function Pn(e) {
|
|
726
732
|
var r = {};
|
|
727
|
-
return e.replace(
|
|
733
|
+
return e.replace(Sn, function(t) {
|
|
728
734
|
var i = t.length;
|
|
729
735
|
switch (t[0]) {
|
|
730
736
|
case "G":
|
|
@@ -813,21 +819,11 @@ function xn(e) {
|
|
|
813
819
|
return "";
|
|
814
820
|
}), r;
|
|
815
821
|
}
|
|
816
|
-
var
|
|
817
|
-
|
|
818
|
-
for (var t, i = 1, n = arguments.length; i < n; i++) {
|
|
819
|
-
t = arguments[i];
|
|
820
|
-
for (var s in t)
|
|
821
|
-
Object.prototype.hasOwnProperty.call(t, s) && (r[s] = t[s]);
|
|
822
|
-
}
|
|
823
|
-
return r;
|
|
824
|
-
}, L.apply(this, arguments);
|
|
825
|
-
};
|
|
826
|
-
var Cn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
827
|
-
function An(e) {
|
|
822
|
+
var xn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
823
|
+
function Cn(e) {
|
|
828
824
|
if (e.length === 0)
|
|
829
825
|
throw new Error("Number skeleton cannot be empty");
|
|
830
|
-
for (var r = e.split(
|
|
826
|
+
for (var r = e.split(xn).filter(function(g) {
|
|
831
827
|
return g.length > 0;
|
|
832
828
|
}), t = [], i = 0, n = r; i < n.length; i++) {
|
|
833
829
|
var s = n[i], u = s.split("/");
|
|
@@ -842,10 +838,10 @@ function An(e) {
|
|
|
842
838
|
}
|
|
843
839
|
return t;
|
|
844
840
|
}
|
|
845
|
-
function
|
|
841
|
+
function An(e) {
|
|
846
842
|
return e.replace(/^(.*?)-/, "");
|
|
847
843
|
}
|
|
848
|
-
var Lt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, gi = /^(@+)?(\+|#+)?[rs]?$/g,
|
|
844
|
+
var Lt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, gi = /^(@+)?(\+|#+)?[rs]?$/g, Tn = /(\*)(0+)|(#+)(0+)|(0+)/g, pi = /^(0+)$/;
|
|
849
845
|
function Mt(e) {
|
|
850
846
|
var r = {};
|
|
851
847
|
return e[e.length - 1] === "r" ? r.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (r.roundingPriority = "lessPrecision"), e.replace(gi, function(t, i, n) {
|
|
@@ -892,7 +888,7 @@ function bi(e) {
|
|
|
892
888
|
};
|
|
893
889
|
}
|
|
894
890
|
}
|
|
895
|
-
function
|
|
891
|
+
function Hn(e) {
|
|
896
892
|
var r;
|
|
897
893
|
if (e[0] === "E" && e[1] === "E" ? (r = {
|
|
898
894
|
notation: "engineering"
|
|
@@ -910,7 +906,7 @@ function Rt(e) {
|
|
|
910
906
|
var r = {}, t = bi(e);
|
|
911
907
|
return t || r;
|
|
912
908
|
}
|
|
913
|
-
function
|
|
909
|
+
function Bn(e) {
|
|
914
910
|
for (var r = {}, t = 0, i = e; t < i.length; t++) {
|
|
915
911
|
var n = i[t];
|
|
916
912
|
switch (n.stem) {
|
|
@@ -934,7 +930,7 @@ function In(e) {
|
|
|
934
930
|
continue;
|
|
935
931
|
case "measure-unit":
|
|
936
932
|
case "unit":
|
|
937
|
-
r.style = "unit", r.unit =
|
|
933
|
+
r.style = "unit", r.unit = An(n.options[0]);
|
|
938
934
|
continue;
|
|
939
935
|
case "compact-short":
|
|
940
936
|
case "K":
|
|
@@ -945,13 +941,13 @@ function In(e) {
|
|
|
945
941
|
r.notation = "compact", r.compactDisplay = "long";
|
|
946
942
|
continue;
|
|
947
943
|
case "scientific":
|
|
948
|
-
r =
|
|
949
|
-
return
|
|
944
|
+
r = T(T(T({}, r), { notation: "scientific" }), n.options.reduce(function(f, c) {
|
|
945
|
+
return T(T({}, f), Rt(c));
|
|
950
946
|
}, {}));
|
|
951
947
|
continue;
|
|
952
948
|
case "engineering":
|
|
953
|
-
r =
|
|
954
|
-
return
|
|
949
|
+
r = T(T(T({}, r), { notation: "engineering" }), n.options.reduce(function(f, c) {
|
|
950
|
+
return T(T({}, f), Rt(c));
|
|
955
951
|
}, {}));
|
|
956
952
|
continue;
|
|
957
953
|
case "notation-simple":
|
|
@@ -996,7 +992,7 @@ function In(e) {
|
|
|
996
992
|
case "integer-width":
|
|
997
993
|
if (n.options.length > 1)
|
|
998
994
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
999
|
-
n.options[0].replace(
|
|
995
|
+
n.options[0].replace(Tn, function(f, c, h, m, g, b) {
|
|
1000
996
|
if (c)
|
|
1001
997
|
r.minimumIntegerDigits = h.length;
|
|
1002
998
|
else {
|
|
@@ -1020,21 +1016,21 @@ function In(e) {
|
|
|
1020
1016
|
return h === "*" ? r.minimumFractionDigits = c.length : m && m[0] === "#" ? r.maximumFractionDigits = m.length : g && b ? (r.minimumFractionDigits = g.length, r.maximumFractionDigits = g.length + b.length) : (r.minimumFractionDigits = c.length, r.maximumFractionDigits = c.length), "";
|
|
1021
1017
|
});
|
|
1022
1018
|
var s = n.options[0];
|
|
1023
|
-
s === "w" ? r =
|
|
1019
|
+
s === "w" ? r = T(T({}, r), { trailingZeroDisplay: "stripIfInteger" }) : s && (r = T(T({}, r), Mt(s)));
|
|
1024
1020
|
continue;
|
|
1025
1021
|
}
|
|
1026
1022
|
if (gi.test(n.stem)) {
|
|
1027
|
-
r =
|
|
1023
|
+
r = T(T({}, r), Mt(n.stem));
|
|
1028
1024
|
continue;
|
|
1029
1025
|
}
|
|
1030
1026
|
var u = bi(n.stem);
|
|
1031
|
-
u && (r =
|
|
1032
|
-
var a =
|
|
1033
|
-
a && (r =
|
|
1027
|
+
u && (r = T(T({}, r), u));
|
|
1028
|
+
var a = Hn(n.stem);
|
|
1029
|
+
a && (r = T(T({}, r), a));
|
|
1034
1030
|
}
|
|
1035
1031
|
return r;
|
|
1036
1032
|
}
|
|
1037
|
-
var
|
|
1033
|
+
var Qr = {
|
|
1038
1034
|
"001": [
|
|
1039
1035
|
"H",
|
|
1040
1036
|
"h"
|
|
@@ -2449,13 +2445,13 @@ var zr = {
|
|
|
2449
2445
|
"h"
|
|
2450
2446
|
]
|
|
2451
2447
|
};
|
|
2452
|
-
function
|
|
2448
|
+
function In(e, r) {
|
|
2453
2449
|
for (var t = "", i = 0; i < e.length; i++) {
|
|
2454
2450
|
var n = e.charAt(i);
|
|
2455
2451
|
if (n === "j") {
|
|
2456
2452
|
for (var s = 0; i + 1 < e.length && e.charAt(i + 1) === n; )
|
|
2457
2453
|
s++, i++;
|
|
2458
|
-
var u = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), f = "a", c =
|
|
2454
|
+
var u = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), f = "a", c = Nn(r);
|
|
2459
2455
|
for ((c == "H" || c == "k") && (a = 0); a-- > 0; )
|
|
2460
2456
|
t += f;
|
|
2461
2457
|
for (; u-- > 0; )
|
|
@@ -2465,7 +2461,7 @@ function Nn(e, r) {
|
|
|
2465
2461
|
}
|
|
2466
2462
|
return t;
|
|
2467
2463
|
}
|
|
2468
|
-
function
|
|
2464
|
+
function Nn(e) {
|
|
2469
2465
|
var r = e.hourCycle;
|
|
2470
2466
|
if (r === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2471
2467
|
e.hourCycles && // @ts-ignore
|
|
@@ -2484,23 +2480,23 @@ function On(e) {
|
|
|
2484
2480
|
}
|
|
2485
2481
|
var t = e.language, i;
|
|
2486
2482
|
t !== "root" && (i = e.maximize().region);
|
|
2487
|
-
var n =
|
|
2483
|
+
var n = Qr[i || ""] || Qr[t || ""] || Qr["".concat(t, "-001")] || Qr["001"];
|
|
2488
2484
|
return n[0];
|
|
2489
2485
|
}
|
|
2490
|
-
var
|
|
2486
|
+
var lt, On = new RegExp("^".concat(mi.source, "*")), Ln = new RegExp("".concat(mi.source, "*$"));
|
|
2491
2487
|
function P(e, r) {
|
|
2492
2488
|
return { start: e, end: r };
|
|
2493
2489
|
}
|
|
2494
|
-
var
|
|
2490
|
+
var Mn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Rn = !!String.fromCodePoint, Un = !!Object.fromEntries, kn = !!String.prototype.codePointAt, Fn = !!String.prototype.trimStart, Dn = !!String.prototype.trimEnd, Gn = !!Number.isSafeInteger, jn = Gn ? Number.isSafeInteger : function(e) {
|
|
2495
2491
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2496
|
-
},
|
|
2492
|
+
}, gt = !0;
|
|
2497
2493
|
try {
|
|
2498
|
-
var
|
|
2499
|
-
|
|
2494
|
+
var Vn = Ei("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2495
|
+
gt = ((lt = Vn.exec("a")) === null || lt === void 0 ? void 0 : lt[0]) === "a";
|
|
2500
2496
|
} catch {
|
|
2501
|
-
|
|
2497
|
+
gt = !1;
|
|
2502
2498
|
}
|
|
2503
|
-
var Ut =
|
|
2499
|
+
var Ut = Mn ? (
|
|
2504
2500
|
// Native
|
|
2505
2501
|
function(r, t, i) {
|
|
2506
2502
|
return r.startsWith(t, i);
|
|
@@ -2510,7 +2506,7 @@ var Ut = Rn ? (
|
|
|
2510
2506
|
function(r, t, i) {
|
|
2511
2507
|
return r.slice(i, i + t.length) === t;
|
|
2512
2508
|
}
|
|
2513
|
-
),
|
|
2509
|
+
), pt = Rn ? String.fromCodePoint : (
|
|
2514
2510
|
// IE11
|
|
2515
2511
|
function() {
|
|
2516
2512
|
for (var r = [], t = 0; t < arguments.length; t++)
|
|
@@ -2524,7 +2520,7 @@ var Ut = Rn ? (
|
|
|
2524
2520
|
}
|
|
2525
2521
|
), kt = (
|
|
2526
2522
|
// native
|
|
2527
|
-
|
|
2523
|
+
Un ? Object.fromEntries : (
|
|
2528
2524
|
// Ponyfill
|
|
2529
2525
|
function(r) {
|
|
2530
2526
|
for (var t = {}, i = 0, n = r; i < n.length; i++) {
|
|
@@ -2534,7 +2530,7 @@ var Ut = Rn ? (
|
|
|
2534
2530
|
return t;
|
|
2535
2531
|
}
|
|
2536
2532
|
)
|
|
2537
|
-
), yi =
|
|
2533
|
+
), yi = kn ? (
|
|
2538
2534
|
// Native
|
|
2539
2535
|
function(r, t) {
|
|
2540
2536
|
return r.codePointAt(t);
|
|
@@ -2548,7 +2544,7 @@ var Ut = Rn ? (
|
|
|
2548
2544
|
return n < 55296 || n > 56319 || t + 1 === i || (s = r.charCodeAt(t + 1)) < 56320 || s > 57343 ? n : (n - 55296 << 10) + (s - 56320) + 65536;
|
|
2549
2545
|
}
|
|
2550
2546
|
}
|
|
2551
|
-
),
|
|
2547
|
+
), $n = Fn ? (
|
|
2552
2548
|
// Native
|
|
2553
2549
|
function(r) {
|
|
2554
2550
|
return r.trimStart();
|
|
@@ -2556,9 +2552,9 @@ var Ut = Rn ? (
|
|
|
2556
2552
|
) : (
|
|
2557
2553
|
// Ponyfill
|
|
2558
2554
|
function(r) {
|
|
2559
|
-
return r.replace(
|
|
2555
|
+
return r.replace(On, "");
|
|
2560
2556
|
}
|
|
2561
|
-
),
|
|
2557
|
+
), Qn = Dn ? (
|
|
2562
2558
|
// Native
|
|
2563
2559
|
function(r) {
|
|
2564
2560
|
return r.trimEnd();
|
|
@@ -2566,32 +2562,32 @@ var Ut = Rn ? (
|
|
|
2566
2562
|
) : (
|
|
2567
2563
|
// Ponyfill
|
|
2568
2564
|
function(r) {
|
|
2569
|
-
return r.replace(
|
|
2565
|
+
return r.replace(Ln, "");
|
|
2570
2566
|
}
|
|
2571
2567
|
);
|
|
2572
2568
|
function Ei(e, r) {
|
|
2573
2569
|
return new RegExp(e, r);
|
|
2574
2570
|
}
|
|
2575
|
-
var
|
|
2576
|
-
if (
|
|
2571
|
+
var bt;
|
|
2572
|
+
if (gt) {
|
|
2577
2573
|
var Ft = Ei("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2578
|
-
|
|
2574
|
+
bt = function(r, t) {
|
|
2579
2575
|
var i;
|
|
2580
2576
|
Ft.lastIndex = t;
|
|
2581
2577
|
var n = Ft.exec(r);
|
|
2582
2578
|
return (i = n[1]) !== null && i !== void 0 ? i : "";
|
|
2583
2579
|
};
|
|
2584
2580
|
} else
|
|
2585
|
-
|
|
2581
|
+
bt = function(r, t) {
|
|
2586
2582
|
for (var i = []; ; ) {
|
|
2587
2583
|
var n = yi(r, t);
|
|
2588
|
-
if (n === void 0 || vi(n) ||
|
|
2584
|
+
if (n === void 0 || vi(n) || Wn(n))
|
|
2589
2585
|
break;
|
|
2590
2586
|
i.push(n), t += n >= 65536 ? 2 : 1;
|
|
2591
2587
|
}
|
|
2592
|
-
return
|
|
2588
|
+
return pt.apply(void 0, i);
|
|
2593
2589
|
};
|
|
2594
|
-
var
|
|
2590
|
+
var zn = (
|
|
2595
2591
|
/** @class */
|
|
2596
2592
|
function() {
|
|
2597
2593
|
function e(r, t) {
|
|
@@ -2615,14 +2611,14 @@ var Xn = (
|
|
|
2615
2611
|
if (s === 35 && (t === "plural" || t === "selectordinal")) {
|
|
2616
2612
|
var a = this.clonePosition();
|
|
2617
2613
|
this.bump(), n.push({
|
|
2618
|
-
type:
|
|
2614
|
+
type: L.pound,
|
|
2619
2615
|
location: P(a, this.clonePosition())
|
|
2620
2616
|
});
|
|
2621
2617
|
} else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
2622
2618
|
if (i)
|
|
2623
2619
|
break;
|
|
2624
2620
|
return this.error(S.UNMATCHED_CLOSING_TAG, P(this.clonePosition(), this.clonePosition()));
|
|
2625
|
-
} else if (s === 60 && !this.ignoreTag &&
|
|
2621
|
+
} else if (s === 60 && !this.ignoreTag && yt(this.peek() || 0)) {
|
|
2626
2622
|
var u = this.parseTag(r, t);
|
|
2627
2623
|
if (u.err)
|
|
2628
2624
|
return u;
|
|
@@ -2643,7 +2639,7 @@ var Xn = (
|
|
|
2643
2639
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
2644
2640
|
return {
|
|
2645
2641
|
val: {
|
|
2646
|
-
type:
|
|
2642
|
+
type: L.literal,
|
|
2647
2643
|
value: "<".concat(n, "/>"),
|
|
2648
2644
|
location: P(i, this.clonePosition())
|
|
2649
2645
|
},
|
|
@@ -2655,12 +2651,12 @@ var Xn = (
|
|
|
2655
2651
|
return s;
|
|
2656
2652
|
var u = s.val, a = this.clonePosition();
|
|
2657
2653
|
if (this.bumpIf("</")) {
|
|
2658
|
-
if (this.isEOF() || !
|
|
2654
|
+
if (this.isEOF() || !yt(this.char()))
|
|
2659
2655
|
return this.error(S.INVALID_TAG, P(a, this.clonePosition()));
|
|
2660
2656
|
var f = this.clonePosition(), c = this.parseTagName();
|
|
2661
2657
|
return n !== c ? this.error(S.UNMATCHED_CLOSING_TAG, P(f, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
2662
2658
|
val: {
|
|
2663
|
-
type:
|
|
2659
|
+
type: L.tag,
|
|
2664
2660
|
value: n,
|
|
2665
2661
|
children: u,
|
|
2666
2662
|
location: P(i, this.clonePosition())
|
|
@@ -2673,7 +2669,7 @@ var Xn = (
|
|
|
2673
2669
|
return this.error(S.INVALID_TAG, P(i, this.clonePosition()));
|
|
2674
2670
|
}, e.prototype.parseTagName = function() {
|
|
2675
2671
|
var r = this.offset();
|
|
2676
|
-
for (this.bump(); !this.isEOF() &&
|
|
2672
|
+
for (this.bump(); !this.isEOF() && Zn(this.char()); )
|
|
2677
2673
|
this.bump();
|
|
2678
2674
|
return this.message.slice(r, this.offset());
|
|
2679
2675
|
}, e.prototype.parseLiteral = function(r, t) {
|
|
@@ -2697,12 +2693,12 @@ var Xn = (
|
|
|
2697
2693
|
}
|
|
2698
2694
|
var f = P(i, this.clonePosition());
|
|
2699
2695
|
return {
|
|
2700
|
-
val: { type:
|
|
2696
|
+
val: { type: L.literal, value: n, location: f },
|
|
2701
2697
|
err: null
|
|
2702
2698
|
};
|
|
2703
2699
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
2704
2700
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
2705
|
-
!
|
|
2701
|
+
!Xn(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
2706
2702
|
}, e.prototype.tryParseQuote = function(r) {
|
|
2707
2703
|
if (this.isEOF() || this.char() !== 39)
|
|
2708
2704
|
return null;
|
|
@@ -2736,12 +2732,12 @@ var Xn = (
|
|
|
2736
2732
|
t.push(i);
|
|
2737
2733
|
this.bump();
|
|
2738
2734
|
}
|
|
2739
|
-
return
|
|
2735
|
+
return pt.apply(void 0, t);
|
|
2740
2736
|
}, e.prototype.tryParseUnquoted = function(r, t) {
|
|
2741
2737
|
if (this.isEOF())
|
|
2742
2738
|
return null;
|
|
2743
2739
|
var i = this.char();
|
|
2744
|
-
return i === 60 || i === 123 || i === 35 && (t === "plural" || t === "selectordinal") || i === 125 && r > 0 ? null : (this.bump(),
|
|
2740
|
+
return i === 60 || i === 123 || i === 35 && (t === "plural" || t === "selectordinal") || i === 125 && r > 0 ? null : (this.bump(), pt(i));
|
|
2745
2741
|
}, e.prototype.parseArgument = function(r, t) {
|
|
2746
2742
|
var i = this.clonePosition();
|
|
2747
2743
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -2757,7 +2753,7 @@ var Xn = (
|
|
|
2757
2753
|
case 125:
|
|
2758
2754
|
return this.bump(), {
|
|
2759
2755
|
val: {
|
|
2760
|
-
type:
|
|
2756
|
+
type: L.argument,
|
|
2761
2757
|
// value does not include the opening and closing braces.
|
|
2762
2758
|
value: n,
|
|
2763
2759
|
location: P(i, this.clonePosition())
|
|
@@ -2770,7 +2766,7 @@ var Xn = (
|
|
|
2770
2766
|
return this.error(S.MALFORMED_ARGUMENT, P(i, this.clonePosition()));
|
|
2771
2767
|
}
|
|
2772
2768
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
2773
|
-
var r = this.clonePosition(), t = this.offset(), i =
|
|
2769
|
+
var r = this.clonePosition(), t = this.offset(), i = bt(this.message, t), n = t + i.length;
|
|
2774
2770
|
this.bumpTo(n);
|
|
2775
2771
|
var s = this.clonePosition(), u = P(r, s);
|
|
2776
2772
|
return { value: i, location: u };
|
|
@@ -2789,35 +2785,35 @@ var Xn = (
|
|
|
2789
2785
|
var h = this.clonePosition(), m = this.parseSimpleArgStyleIfPossible();
|
|
2790
2786
|
if (m.err)
|
|
2791
2787
|
return m;
|
|
2792
|
-
var g =
|
|
2788
|
+
var g = Qn(m.val);
|
|
2793
2789
|
if (g.length === 0)
|
|
2794
2790
|
return this.error(S.EXPECT_ARGUMENT_STYLE, P(this.clonePosition(), this.clonePosition()));
|
|
2795
2791
|
var b = P(h, this.clonePosition());
|
|
2796
2792
|
c = { style: g, styleLocation: b };
|
|
2797
2793
|
}
|
|
2798
|
-
var
|
|
2799
|
-
if (
|
|
2800
|
-
return
|
|
2794
|
+
var w = this.tryParseArgumentClose(n);
|
|
2795
|
+
if (w.err)
|
|
2796
|
+
return w;
|
|
2801
2797
|
var y = P(n, this.clonePosition());
|
|
2802
2798
|
if (c && Ut(c?.style, "::", 0)) {
|
|
2803
|
-
var A =
|
|
2799
|
+
var A = $n(c.style.slice(2));
|
|
2804
2800
|
if (a === "number") {
|
|
2805
2801
|
var m = this.parseNumberSkeletonFromString(A, c.styleLocation);
|
|
2806
2802
|
return m.err ? m : {
|
|
2807
|
-
val: { type:
|
|
2803
|
+
val: { type: L.number, value: i, location: y, style: m.val },
|
|
2808
2804
|
err: null
|
|
2809
2805
|
};
|
|
2810
2806
|
} else {
|
|
2811
2807
|
if (A.length === 0)
|
|
2812
2808
|
return this.error(S.EXPECT_DATE_TIME_SKELETON, y);
|
|
2813
|
-
var
|
|
2814
|
-
this.locale && (
|
|
2809
|
+
var O = A;
|
|
2810
|
+
this.locale && (O = In(A, this.locale));
|
|
2815
2811
|
var g = {
|
|
2816
|
-
type:
|
|
2817
|
-
pattern:
|
|
2812
|
+
type: sr.dateTime,
|
|
2813
|
+
pattern: O,
|
|
2818
2814
|
location: c.styleLocation,
|
|
2819
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2820
|
-
}, M = a === "date" ?
|
|
2815
|
+
parsedOptions: this.shouldParseSkeletons ? Pn(O) : {}
|
|
2816
|
+
}, M = a === "date" ? L.date : L.time;
|
|
2821
2817
|
return {
|
|
2822
2818
|
val: { type: M, value: i, location: y, style: g },
|
|
2823
2819
|
err: null
|
|
@@ -2826,7 +2822,7 @@ var Xn = (
|
|
|
2826
2822
|
}
|
|
2827
2823
|
return {
|
|
2828
2824
|
val: {
|
|
2829
|
-
type: a === "number" ?
|
|
2825
|
+
type: a === "number" ? L.number : a === "date" ? L.date : L.time,
|
|
2830
2826
|
value: i,
|
|
2831
2827
|
location: y,
|
|
2832
2828
|
style: (s = c?.style) !== null && s !== void 0 ? s : null
|
|
@@ -2839,7 +2835,7 @@ var Xn = (
|
|
|
2839
2835
|
case "select": {
|
|
2840
2836
|
var R = this.clonePosition();
|
|
2841
2837
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
2842
|
-
return this.error(S.EXPECT_SELECT_ARGUMENT_OPTIONS, P(R,
|
|
2838
|
+
return this.error(S.EXPECT_SELECT_ARGUMENT_OPTIONS, P(R, T({}, R)));
|
|
2843
2839
|
this.bumpSpace();
|
|
2844
2840
|
var ce = this.parseIdentifierIfPossible(), G = 0;
|
|
2845
2841
|
if (a !== "select" && ce.value === "offset") {
|
|
@@ -2854,13 +2850,13 @@ var Xn = (
|
|
|
2854
2850
|
var me = this.tryParsePluralOrSelectOptions(r, a, t, ce);
|
|
2855
2851
|
if (me.err)
|
|
2856
2852
|
return me;
|
|
2857
|
-
var
|
|
2858
|
-
if (
|
|
2859
|
-
return
|
|
2853
|
+
var w = this.tryParseArgumentClose(n);
|
|
2854
|
+
if (w.err)
|
|
2855
|
+
return w;
|
|
2860
2856
|
var U = P(n, this.clonePosition());
|
|
2861
2857
|
return a === "select" ? {
|
|
2862
2858
|
val: {
|
|
2863
|
-
type:
|
|
2859
|
+
type: L.select,
|
|
2864
2860
|
value: i,
|
|
2865
2861
|
options: kt(me.val),
|
|
2866
2862
|
location: U
|
|
@@ -2868,7 +2864,7 @@ var Xn = (
|
|
|
2868
2864
|
err: null
|
|
2869
2865
|
} : {
|
|
2870
2866
|
val: {
|
|
2871
|
-
type:
|
|
2867
|
+
type: L.plural,
|
|
2872
2868
|
value: i,
|
|
2873
2869
|
options: kt(me.val),
|
|
2874
2870
|
offset: G,
|
|
@@ -2921,16 +2917,16 @@ var Xn = (
|
|
|
2921
2917
|
}, e.prototype.parseNumberSkeletonFromString = function(r, t) {
|
|
2922
2918
|
var i = [];
|
|
2923
2919
|
try {
|
|
2924
|
-
i =
|
|
2920
|
+
i = Cn(r);
|
|
2925
2921
|
} catch {
|
|
2926
2922
|
return this.error(S.INVALID_NUMBER_SKELETON, t);
|
|
2927
2923
|
}
|
|
2928
2924
|
return {
|
|
2929
2925
|
val: {
|
|
2930
|
-
type:
|
|
2926
|
+
type: sr.number,
|
|
2931
2927
|
tokens: i,
|
|
2932
2928
|
location: t,
|
|
2933
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2929
|
+
parsedOptions: this.shouldParseSkeletons ? Bn(i) : {}
|
|
2934
2930
|
},
|
|
2935
2931
|
err: null
|
|
2936
2932
|
};
|
|
@@ -2952,16 +2948,16 @@ var Xn = (
|
|
|
2952
2948
|
var b = this.clonePosition();
|
|
2953
2949
|
if (!this.bumpIf("{"))
|
|
2954
2950
|
return this.error(t === "select" ? S.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : S.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, P(this.clonePosition(), this.clonePosition()));
|
|
2955
|
-
var
|
|
2956
|
-
if (
|
|
2957
|
-
return
|
|
2951
|
+
var w = this.parseMessage(r + 1, t, i);
|
|
2952
|
+
if (w.err)
|
|
2953
|
+
return w;
|
|
2958
2954
|
var y = this.tryParseArgumentClose(b);
|
|
2959
2955
|
if (y.err)
|
|
2960
2956
|
return y;
|
|
2961
2957
|
a.push([
|
|
2962
2958
|
c,
|
|
2963
2959
|
{
|
|
2964
|
-
value:
|
|
2960
|
+
value: w.val,
|
|
2965
2961
|
location: P(b, this.clonePosition())
|
|
2966
2962
|
}
|
|
2967
2963
|
]), f.add(c), this.bumpSpace(), s = this.parseIdentifierIfPossible(), c = s.value, h = s.location;
|
|
@@ -2978,7 +2974,7 @@ var Xn = (
|
|
|
2978
2974
|
break;
|
|
2979
2975
|
}
|
|
2980
2976
|
var f = P(n, this.clonePosition());
|
|
2981
|
-
return s ? (u *= i,
|
|
2977
|
+
return s ? (u *= i, jn(u) ? { val: u, err: null } : this.error(t, f)) : this.error(r, f);
|
|
2982
2978
|
}, e.prototype.offset = function() {
|
|
2983
2979
|
return this.position.offset;
|
|
2984
2980
|
}, e.prototype.isEOF = function() {
|
|
@@ -3044,47 +3040,47 @@ var Xn = (
|
|
|
3044
3040
|
}, e;
|
|
3045
3041
|
}()
|
|
3046
3042
|
);
|
|
3047
|
-
function
|
|
3043
|
+
function yt(e) {
|
|
3048
3044
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3049
3045
|
}
|
|
3050
|
-
function
|
|
3051
|
-
return
|
|
3046
|
+
function Xn(e) {
|
|
3047
|
+
return yt(e) || e === 47;
|
|
3052
3048
|
}
|
|
3053
|
-
function
|
|
3049
|
+
function Zn(e) {
|
|
3054
3050
|
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;
|
|
3055
3051
|
}
|
|
3056
3052
|
function vi(e) {
|
|
3057
3053
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3058
3054
|
}
|
|
3059
|
-
function
|
|
3055
|
+
function Wn(e) {
|
|
3060
3056
|
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;
|
|
3061
3057
|
}
|
|
3062
|
-
function
|
|
3058
|
+
function Et(e) {
|
|
3063
3059
|
e.forEach(function(r) {
|
|
3064
3060
|
if (delete r.location, ci(r) || hi(r))
|
|
3065
3061
|
for (var t in r.options)
|
|
3066
|
-
delete r.options[t].location,
|
|
3062
|
+
delete r.options[t].location, Et(r.options[t].value);
|
|
3067
3063
|
else
|
|
3068
|
-
ai(r) && di(r.style) || (li(r) || ui(r)) &&
|
|
3064
|
+
ai(r) && di(r.style) || (li(r) || ui(r)) && mt(r.style) ? delete r.style.location : fi(r) && Et(r.children);
|
|
3069
3065
|
});
|
|
3070
3066
|
}
|
|
3071
|
-
function
|
|
3072
|
-
r === void 0 && (r = {}), r =
|
|
3073
|
-
var t = new
|
|
3067
|
+
function qn(e, r) {
|
|
3068
|
+
r === void 0 && (r = {}), r = T({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, r);
|
|
3069
|
+
var t = new zn(e, r).parse();
|
|
3074
3070
|
if (t.err) {
|
|
3075
3071
|
var i = SyntaxError(S[t.err.kind]);
|
|
3076
3072
|
throw i.location = t.err.location, i.originalMessage = t.err.message, i;
|
|
3077
3073
|
}
|
|
3078
|
-
return r?.captureLocation ||
|
|
3074
|
+
return r?.captureLocation || Et(t.val), t.val;
|
|
3079
3075
|
}
|
|
3080
|
-
var
|
|
3076
|
+
var or;
|
|
3081
3077
|
(function(e) {
|
|
3082
3078
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3083
|
-
})(
|
|
3084
|
-
var
|
|
3079
|
+
})(or || (or = {}));
|
|
3080
|
+
var Kr = (
|
|
3085
3081
|
/** @class */
|
|
3086
3082
|
function(e) {
|
|
3087
|
-
|
|
3083
|
+
Yr(r, e);
|
|
3088
3084
|
function r(t, i, n) {
|
|
3089
3085
|
var s = e.call(this, t) || this;
|
|
3090
3086
|
return s.code = i, s.originalMessage = n, s;
|
|
@@ -3096,44 +3092,44 @@ var rt = (
|
|
|
3096
3092
|
), Dt = (
|
|
3097
3093
|
/** @class */
|
|
3098
3094
|
function(e) {
|
|
3099
|
-
|
|
3095
|
+
Yr(r, e);
|
|
3100
3096
|
function r(t, i, n, s) {
|
|
3101
|
-
return e.call(this, 'Invalid values for "'.concat(t, '": "').concat(i, '". Options are "').concat(Object.keys(n).join('", "'), '"'),
|
|
3097
|
+
return e.call(this, 'Invalid values for "'.concat(t, '": "').concat(i, '". Options are "').concat(Object.keys(n).join('", "'), '"'), or.INVALID_VALUE, s) || this;
|
|
3102
3098
|
}
|
|
3103
3099
|
return r;
|
|
3104
|
-
}(
|
|
3105
|
-
),
|
|
3100
|
+
}(Kr)
|
|
3101
|
+
), Jn = (
|
|
3106
3102
|
/** @class */
|
|
3107
3103
|
function(e) {
|
|
3108
|
-
|
|
3104
|
+
Yr(r, e);
|
|
3109
3105
|
function r(t, i, n) {
|
|
3110
|
-
return e.call(this, 'Value for "'.concat(t, '" must be of type ').concat(i),
|
|
3106
|
+
return e.call(this, 'Value for "'.concat(t, '" must be of type ').concat(i), or.INVALID_VALUE, n) || this;
|
|
3111
3107
|
}
|
|
3112
3108
|
return r;
|
|
3113
|
-
}(
|
|
3114
|
-
),
|
|
3109
|
+
}(Kr)
|
|
3110
|
+
), Yn = (
|
|
3115
3111
|
/** @class */
|
|
3116
3112
|
function(e) {
|
|
3117
|
-
|
|
3113
|
+
Yr(r, e);
|
|
3118
3114
|
function r(t, i) {
|
|
3119
|
-
return e.call(this, 'The intl string context variable "'.concat(t, '" was not provided to the string "').concat(i, '"'),
|
|
3115
|
+
return e.call(this, 'The intl string context variable "'.concat(t, '" was not provided to the string "').concat(i, '"'), or.MISSING_VALUE, i) || this;
|
|
3120
3116
|
}
|
|
3121
3117
|
return r;
|
|
3122
|
-
}(
|
|
3118
|
+
}(Kr)
|
|
3123
3119
|
), Q;
|
|
3124
3120
|
(function(e) {
|
|
3125
3121
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3126
3122
|
})(Q || (Q = {}));
|
|
3127
|
-
function
|
|
3123
|
+
function Kn(e) {
|
|
3128
3124
|
return e.length < 2 ? e : e.reduce(function(r, t) {
|
|
3129
3125
|
var i = r[r.length - 1];
|
|
3130
3126
|
return !i || i.type !== Q.literal || t.type !== Q.literal ? r.push(t) : i.value += t.value, r;
|
|
3131
3127
|
}, []);
|
|
3132
3128
|
}
|
|
3133
|
-
function
|
|
3129
|
+
function es(e) {
|
|
3134
3130
|
return typeof e == "function";
|
|
3135
3131
|
}
|
|
3136
|
-
function
|
|
3132
|
+
function Xr(e, r, t, i, n, s, u) {
|
|
3137
3133
|
if (e.length === 1 && Ot(e[0]))
|
|
3138
3134
|
return [
|
|
3139
3135
|
{
|
|
@@ -3150,7 +3146,7 @@ function Zr(e, r, t, i, n, s, u) {
|
|
|
3150
3146
|
});
|
|
3151
3147
|
continue;
|
|
3152
3148
|
}
|
|
3153
|
-
if (
|
|
3149
|
+
if (_n(h)) {
|
|
3154
3150
|
typeof s == "number" && a.push({
|
|
3155
3151
|
type: Q.literal,
|
|
3156
3152
|
value: t.getNumberFormat(r).format(s)
|
|
@@ -3159,7 +3155,7 @@ function Zr(e, r, t, i, n, s, u) {
|
|
|
3159
3155
|
}
|
|
3160
3156
|
var m = h.value;
|
|
3161
3157
|
if (!(n && m in n))
|
|
3162
|
-
throw new
|
|
3158
|
+
throw new Yn(m, u);
|
|
3163
3159
|
var g = n[m];
|
|
3164
3160
|
if (wn(h)) {
|
|
3165
3161
|
(!g || typeof g == "string" || typeof g == "number") && (g = typeof g == "string" || typeof g == "number" ? String(g) : ""), a.push({
|
|
@@ -3169,7 +3165,7 @@ function Zr(e, r, t, i, n, s, u) {
|
|
|
3169
3165
|
continue;
|
|
3170
3166
|
}
|
|
3171
3167
|
if (li(h)) {
|
|
3172
|
-
var b = typeof h.style == "string" ? i.date[h.style] :
|
|
3168
|
+
var b = typeof h.style == "string" ? i.date[h.style] : mt(h.style) ? h.style.parsedOptions : void 0;
|
|
3173
3169
|
a.push({
|
|
3174
3170
|
type: Q.literal,
|
|
3175
3171
|
value: t.getDateTimeFormat(r, b).format(g)
|
|
@@ -3177,7 +3173,7 @@ function Zr(e, r, t, i, n, s, u) {
|
|
|
3177
3173
|
continue;
|
|
3178
3174
|
}
|
|
3179
3175
|
if (ui(h)) {
|
|
3180
|
-
var b = typeof h.style == "string" ? i.time[h.style] :
|
|
3176
|
+
var b = typeof h.style == "string" ? i.time[h.style] : mt(h.style) ? h.style.parsedOptions : i.time.medium;
|
|
3181
3177
|
a.push({
|
|
3182
3178
|
type: Q.literal,
|
|
3183
3179
|
value: t.getDateTimeFormat(r, b).format(g)
|
|
@@ -3193,10 +3189,10 @@ function Zr(e, r, t, i, n, s, u) {
|
|
|
3193
3189
|
continue;
|
|
3194
3190
|
}
|
|
3195
3191
|
if (fi(h)) {
|
|
3196
|
-
var
|
|
3197
|
-
if (!
|
|
3198
|
-
throw new
|
|
3199
|
-
var
|
|
3192
|
+
var w = h.children, y = h.value, A = n[y];
|
|
3193
|
+
if (!es(A))
|
|
3194
|
+
throw new Jn(y, "function", u);
|
|
3195
|
+
var O = Xr(w, r, t, i, n, s), M = A(O.map(function(G) {
|
|
3200
3196
|
return G.value;
|
|
3201
3197
|
}));
|
|
3202
3198
|
Array.isArray(M) || (M = [M]), a.push.apply(a, M.map(function(G) {
|
|
@@ -3210,38 +3206,38 @@ function Zr(e, r, t, i, n, s, u) {
|
|
|
3210
3206
|
var R = h.options[g] || h.options.other;
|
|
3211
3207
|
if (!R)
|
|
3212
3208
|
throw new Dt(h.value, g, Object.keys(h.options), u);
|
|
3213
|
-
a.push.apply(a,
|
|
3209
|
+
a.push.apply(a, Xr(R.value, r, t, i, n));
|
|
3214
3210
|
continue;
|
|
3215
3211
|
}
|
|
3216
3212
|
if (hi(h)) {
|
|
3217
3213
|
var R = h.options["=".concat(g)];
|
|
3218
3214
|
if (!R) {
|
|
3219
3215
|
if (!Intl.PluralRules)
|
|
3220
|
-
throw new
|
|
3216
|
+
throw new Kr(`Intl.PluralRules is not available in this environment.
|
|
3221
3217
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3222
|
-
`,
|
|
3218
|
+
`, or.MISSING_INTL_API, u);
|
|
3223
3219
|
var ce = t.getPluralRules(r, { type: h.pluralType }).select(g - (h.offset || 0));
|
|
3224
3220
|
R = h.options[ce] || h.options.other;
|
|
3225
3221
|
}
|
|
3226
3222
|
if (!R)
|
|
3227
3223
|
throw new Dt(h.value, g, Object.keys(h.options), u);
|
|
3228
|
-
a.push.apply(a,
|
|
3224
|
+
a.push.apply(a, Xr(R.value, r, t, i, n, g - (h.offset || 0)));
|
|
3229
3225
|
continue;
|
|
3230
3226
|
}
|
|
3231
3227
|
}
|
|
3232
|
-
return
|
|
3228
|
+
return Kn(a);
|
|
3233
3229
|
}
|
|
3234
|
-
function
|
|
3235
|
-
return r ?
|
|
3236
|
-
return t[i] =
|
|
3230
|
+
function rs(e, r) {
|
|
3231
|
+
return r ? T(T(T({}, e || {}), r || {}), Object.keys(e).reduce(function(t, i) {
|
|
3232
|
+
return t[i] = T(T({}, e[i]), r[i] || {}), t;
|
|
3237
3233
|
}, {})) : e;
|
|
3238
3234
|
}
|
|
3239
|
-
function
|
|
3235
|
+
function ts(e, r) {
|
|
3240
3236
|
return r ? Object.keys(e).reduce(function(t, i) {
|
|
3241
|
-
return t[i] =
|
|
3242
|
-
},
|
|
3237
|
+
return t[i] = rs(e[i], r[i]), t;
|
|
3238
|
+
}, T({}, e)) : e;
|
|
3243
3239
|
}
|
|
3244
|
-
function
|
|
3240
|
+
function ut(e) {
|
|
3245
3241
|
return {
|
|
3246
3242
|
create: function() {
|
|
3247
3243
|
return {
|
|
@@ -3255,39 +3251,39 @@ function ht(e) {
|
|
|
3255
3251
|
}
|
|
3256
3252
|
};
|
|
3257
3253
|
}
|
|
3258
|
-
function
|
|
3254
|
+
function is(e) {
|
|
3259
3255
|
return e === void 0 && (e = {
|
|
3260
3256
|
number: {},
|
|
3261
3257
|
dateTime: {},
|
|
3262
3258
|
pluralRules: {}
|
|
3263
3259
|
}), {
|
|
3264
|
-
getNumberFormat:
|
|
3260
|
+
getNumberFormat: ot(function() {
|
|
3265
3261
|
for (var r, t = [], i = 0; i < arguments.length; i++)
|
|
3266
3262
|
t[i] = arguments[i];
|
|
3267
|
-
return new ((r = Intl.NumberFormat).bind.apply(r,
|
|
3263
|
+
return new ((r = Intl.NumberFormat).bind.apply(r, st([void 0], t, !1)))();
|
|
3268
3264
|
}, {
|
|
3269
|
-
cache:
|
|
3270
|
-
strategy:
|
|
3265
|
+
cache: ut(e.number),
|
|
3266
|
+
strategy: at.variadic
|
|
3271
3267
|
}),
|
|
3272
|
-
getDateTimeFormat:
|
|
3268
|
+
getDateTimeFormat: ot(function() {
|
|
3273
3269
|
for (var r, t = [], i = 0; i < arguments.length; i++)
|
|
3274
3270
|
t[i] = arguments[i];
|
|
3275
|
-
return new ((r = Intl.DateTimeFormat).bind.apply(r,
|
|
3271
|
+
return new ((r = Intl.DateTimeFormat).bind.apply(r, st([void 0], t, !1)))();
|
|
3276
3272
|
}, {
|
|
3277
|
-
cache:
|
|
3278
|
-
strategy:
|
|
3273
|
+
cache: ut(e.dateTime),
|
|
3274
|
+
strategy: at.variadic
|
|
3279
3275
|
}),
|
|
3280
|
-
getPluralRules:
|
|
3276
|
+
getPluralRules: ot(function() {
|
|
3281
3277
|
for (var r, t = [], i = 0; i < arguments.length; i++)
|
|
3282
3278
|
t[i] = arguments[i];
|
|
3283
|
-
return new ((r = Intl.PluralRules).bind.apply(r,
|
|
3279
|
+
return new ((r = Intl.PluralRules).bind.apply(r, st([void 0], t, !1)))();
|
|
3284
3280
|
}, {
|
|
3285
|
-
cache:
|
|
3286
|
-
strategy:
|
|
3281
|
+
cache: ut(e.pluralRules),
|
|
3282
|
+
strategy: at.variadic
|
|
3287
3283
|
})
|
|
3288
3284
|
};
|
|
3289
3285
|
}
|
|
3290
|
-
var
|
|
3286
|
+
var ns = (
|
|
3291
3287
|
/** @class */
|
|
3292
3288
|
function() {
|
|
3293
3289
|
function e(r, t, i, n) {
|
|
@@ -3306,7 +3302,7 @@ var ss = (
|
|
|
3306
3302
|
}, []);
|
|
3307
3303
|
return h.length <= 1 ? h[0] || "" : h;
|
|
3308
3304
|
}, this.formatToParts = function(f) {
|
|
3309
|
-
return
|
|
3305
|
+
return Xr(s.ast, s.locales, s.formatters, s.formats, f, void 0, s.message);
|
|
3310
3306
|
}, this.resolvedOptions = function() {
|
|
3311
3307
|
var f;
|
|
3312
3308
|
return {
|
|
@@ -3320,12 +3316,12 @@ var ss = (
|
|
|
3320
3316
|
var u = n || {};
|
|
3321
3317
|
u.formatters;
|
|
3322
3318
|
var a = mn(u, ["formatters"]);
|
|
3323
|
-
this.ast = e.__parse(r,
|
|
3319
|
+
this.ast = e.__parse(r, T(T({}, a), { locale: this.resolvedLocale }));
|
|
3324
3320
|
} else
|
|
3325
3321
|
this.ast = r;
|
|
3326
3322
|
if (!Array.isArray(this.ast))
|
|
3327
3323
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3328
|
-
this.formats =
|
|
3324
|
+
this.formats = ts(e.formats, i), this.formatters = n && n.formatters || is(this.formatterCache);
|
|
3329
3325
|
}
|
|
3330
3326
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3331
3327
|
get: function() {
|
|
@@ -3338,7 +3334,7 @@ var ss = (
|
|
|
3338
3334
|
var t = Intl.NumberFormat.supportedLocalesOf(r);
|
|
3339
3335
|
return t.length > 0 ? new Intl.Locale(t[0]) : new Intl.Locale(typeof r == "string" ? r : r[0]);
|
|
3340
3336
|
}
|
|
3341
|
-
}, e.__parse =
|
|
3337
|
+
}, e.__parse = qn, e.formats = {
|
|
3342
3338
|
number: {
|
|
3343
3339
|
integer: {
|
|
3344
3340
|
maximumFractionDigits: 0
|
|
@@ -3399,7 +3395,7 @@ var ss = (
|
|
|
3399
3395
|
}, e;
|
|
3400
3396
|
}()
|
|
3401
3397
|
);
|
|
3402
|
-
function
|
|
3398
|
+
function ss(e, r) {
|
|
3403
3399
|
if (r == null)
|
|
3404
3400
|
return;
|
|
3405
3401
|
if (r in e)
|
|
@@ -3420,92 +3416,92 @@ function os(e, r) {
|
|
|
3420
3416
|
i = void 0;
|
|
3421
3417
|
return i;
|
|
3422
3418
|
}
|
|
3423
|
-
const
|
|
3419
|
+
const Ne = {}, os = (e, r, t) => t && (r in Ne || (Ne[r] = {}), e in Ne[r] || (Ne[r][e] = t), t), wi = (e, r) => {
|
|
3424
3420
|
if (r == null)
|
|
3425
3421
|
return;
|
|
3426
|
-
if (r in
|
|
3427
|
-
return
|
|
3428
|
-
const t =
|
|
3422
|
+
if (r in Ne && e in Ne[r])
|
|
3423
|
+
return Ne[r][e];
|
|
3424
|
+
const t = et(r);
|
|
3429
3425
|
for (let i = 0; i < t.length; i++) {
|
|
3430
|
-
const n = t[i], s =
|
|
3426
|
+
const n = t[i], s = ls(n, e);
|
|
3431
3427
|
if (s)
|
|
3432
|
-
return
|
|
3428
|
+
return os(e, r, s);
|
|
3433
3429
|
}
|
|
3434
3430
|
};
|
|
3435
3431
|
let xt;
|
|
3436
|
-
const
|
|
3437
|
-
function
|
|
3432
|
+
const Cr = Jr({});
|
|
3433
|
+
function as(e) {
|
|
3438
3434
|
return xt[e] || null;
|
|
3439
3435
|
}
|
|
3440
|
-
function
|
|
3436
|
+
function _i(e) {
|
|
3441
3437
|
return e in xt;
|
|
3442
3438
|
}
|
|
3443
|
-
function
|
|
3444
|
-
if (!
|
|
3439
|
+
function ls(e, r) {
|
|
3440
|
+
if (!_i(e))
|
|
3445
3441
|
return null;
|
|
3446
|
-
const t =
|
|
3447
|
-
return
|
|
3442
|
+
const t = as(e);
|
|
3443
|
+
return ss(t, r);
|
|
3448
3444
|
}
|
|
3449
|
-
function
|
|
3445
|
+
function us(e) {
|
|
3450
3446
|
if (e == null)
|
|
3451
3447
|
return;
|
|
3452
|
-
const r =
|
|
3448
|
+
const r = et(e);
|
|
3453
3449
|
for (let t = 0; t < r.length; t++) {
|
|
3454
3450
|
const i = r[t];
|
|
3455
|
-
if (
|
|
3451
|
+
if (_i(i))
|
|
3456
3452
|
return i;
|
|
3457
3453
|
}
|
|
3458
3454
|
}
|
|
3459
3455
|
function Si(e, ...r) {
|
|
3460
|
-
delete
|
|
3456
|
+
delete Ne[e], Cr.update((t) => (t[e] = dn.all([t[e] || {}, ...r]), t));
|
|
3461
3457
|
}
|
|
3462
|
-
|
|
3463
|
-
[
|
|
3458
|
+
ur(
|
|
3459
|
+
[Cr],
|
|
3464
3460
|
([e]) => Object.keys(e)
|
|
3465
3461
|
);
|
|
3466
|
-
|
|
3467
|
-
const
|
|
3468
|
-
function
|
|
3469
|
-
|
|
3462
|
+
Cr.subscribe((e) => xt = e);
|
|
3463
|
+
const Zr = {};
|
|
3464
|
+
function cs(e, r) {
|
|
3465
|
+
Zr[e].delete(r), Zr[e].size === 0 && delete Zr[e];
|
|
3470
3466
|
}
|
|
3471
3467
|
function Pi(e) {
|
|
3472
|
-
return
|
|
3468
|
+
return Zr[e];
|
|
3473
3469
|
}
|
|
3474
|
-
function
|
|
3475
|
-
return
|
|
3470
|
+
function hs(e) {
|
|
3471
|
+
return et(e).map((r) => {
|
|
3476
3472
|
const t = Pi(r);
|
|
3477
3473
|
return [r, t ? [...t] : []];
|
|
3478
3474
|
}).filter(([, r]) => r.length > 0);
|
|
3479
3475
|
}
|
|
3480
|
-
function
|
|
3481
|
-
return e == null ? !1 :
|
|
3476
|
+
function vt(e) {
|
|
3477
|
+
return e == null ? !1 : et(e).some(
|
|
3482
3478
|
(r) => {
|
|
3483
3479
|
var t;
|
|
3484
3480
|
return (t = Pi(r)) == null ? void 0 : t.size;
|
|
3485
3481
|
}
|
|
3486
3482
|
);
|
|
3487
3483
|
}
|
|
3488
|
-
function
|
|
3484
|
+
function fs(e, r) {
|
|
3489
3485
|
return Promise.all(
|
|
3490
|
-
r.map((i) => (
|
|
3486
|
+
r.map((i) => (cs(e, i), i().then((n) => n.default || n)))
|
|
3491
3487
|
).then((i) => Si(e, ...i));
|
|
3492
3488
|
}
|
|
3493
|
-
const
|
|
3489
|
+
const vr = {};
|
|
3494
3490
|
function xi(e) {
|
|
3495
|
-
if (!
|
|
3496
|
-
return e in
|
|
3497
|
-
const r =
|
|
3498
|
-
return
|
|
3491
|
+
if (!vt(e))
|
|
3492
|
+
return e in vr ? vr[e] : Promise.resolve();
|
|
3493
|
+
const r = hs(e);
|
|
3494
|
+
return vr[e] = Promise.all(
|
|
3499
3495
|
r.map(
|
|
3500
|
-
([t, i]) =>
|
|
3496
|
+
([t, i]) => fs(t, i)
|
|
3501
3497
|
)
|
|
3502
3498
|
).then(() => {
|
|
3503
|
-
if (
|
|
3499
|
+
if (vt(e))
|
|
3504
3500
|
return xi(e);
|
|
3505
|
-
delete
|
|
3506
|
-
}),
|
|
3501
|
+
delete vr[e];
|
|
3502
|
+
}), vr[e];
|
|
3507
3503
|
}
|
|
3508
|
-
const
|
|
3504
|
+
const ds = {
|
|
3509
3505
|
number: {
|
|
3510
3506
|
scientific: { notation: "scientific" },
|
|
3511
3507
|
engineering: { notation: "engineering" },
|
|
@@ -3534,150 +3530,150 @@ const ms = {
|
|
|
3534
3530
|
timeZoneName: "short"
|
|
3535
3531
|
}
|
|
3536
3532
|
}
|
|
3537
|
-
},
|
|
3533
|
+
}, ms = {
|
|
3538
3534
|
fallbackLocale: null,
|
|
3539
3535
|
loadingDelay: 200,
|
|
3540
|
-
formats:
|
|
3536
|
+
formats: ds,
|
|
3541
3537
|
warnOnMissingMessages: !0,
|
|
3542
3538
|
handleMissingMessage: void 0,
|
|
3543
3539
|
ignoreTag: !0
|
|
3544
|
-
},
|
|
3545
|
-
function
|
|
3546
|
-
return
|
|
3540
|
+
}, gs = ms;
|
|
3541
|
+
function ar() {
|
|
3542
|
+
return gs;
|
|
3547
3543
|
}
|
|
3548
|
-
const
|
|
3549
|
-
var
|
|
3544
|
+
const ct = Jr(!1);
|
|
3545
|
+
var ps = Object.defineProperty, bs = Object.defineProperties, ys = Object.getOwnPropertyDescriptors, Gt = Object.getOwnPropertySymbols, Es = Object.prototype.hasOwnProperty, vs = Object.prototype.propertyIsEnumerable, jt = (e, r, t) => r in e ? ps(e, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[r] = t, ws = (e, r) => {
|
|
3550
3546
|
for (var t in r || (r = {}))
|
|
3551
|
-
|
|
3547
|
+
Es.call(r, t) && jt(e, t, r[t]);
|
|
3552
3548
|
if (Gt)
|
|
3553
3549
|
for (var t of Gt(r))
|
|
3554
|
-
|
|
3550
|
+
vs.call(r, t) && jt(e, t, r[t]);
|
|
3555
3551
|
return e;
|
|
3556
|
-
},
|
|
3557
|
-
let
|
|
3558
|
-
const
|
|
3552
|
+
}, _s = (e, r) => bs(e, ys(r));
|
|
3553
|
+
let wt;
|
|
3554
|
+
const Wr = Jr(null);
|
|
3559
3555
|
function Vt(e) {
|
|
3560
3556
|
return e.split("-").map((r, t, i) => i.slice(0, t + 1).join("-")).reverse();
|
|
3561
3557
|
}
|
|
3562
|
-
function
|
|
3558
|
+
function et(e, r = ar().fallbackLocale) {
|
|
3563
3559
|
const t = Vt(e);
|
|
3564
3560
|
return r ? [.../* @__PURE__ */ new Set([...t, ...Vt(r)])] : t;
|
|
3565
3561
|
}
|
|
3566
|
-
function
|
|
3567
|
-
return
|
|
3562
|
+
function Fe() {
|
|
3563
|
+
return wt ?? void 0;
|
|
3568
3564
|
}
|
|
3569
|
-
|
|
3570
|
-
|
|
3565
|
+
Wr.subscribe((e) => {
|
|
3566
|
+
wt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3571
3567
|
});
|
|
3572
|
-
const
|
|
3573
|
-
if (e &&
|
|
3574
|
-
const { loadingDelay: r } =
|
|
3568
|
+
const Ss = (e) => {
|
|
3569
|
+
if (e && us(e) && vt(e)) {
|
|
3570
|
+
const { loadingDelay: r } = ar();
|
|
3575
3571
|
let t;
|
|
3576
|
-
return typeof window < "u" &&
|
|
3577
|
-
() =>
|
|
3572
|
+
return typeof window < "u" && Fe() != null && r ? t = window.setTimeout(
|
|
3573
|
+
() => ct.set(!0),
|
|
3578
3574
|
r
|
|
3579
|
-
) :
|
|
3580
|
-
|
|
3575
|
+
) : ct.set(!0), xi(e).then(() => {
|
|
3576
|
+
Wr.set(e);
|
|
3581
3577
|
}).finally(() => {
|
|
3582
|
-
clearTimeout(t),
|
|
3578
|
+
clearTimeout(t), ct.set(!1);
|
|
3583
3579
|
});
|
|
3584
3580
|
}
|
|
3585
|
-
return
|
|
3586
|
-
},
|
|
3587
|
-
set:
|
|
3588
|
-
}),
|
|
3581
|
+
return Wr.set(e);
|
|
3582
|
+
}, cr = _s(ws({}, Wr), {
|
|
3583
|
+
set: Ss
|
|
3584
|
+
}), rt = (e) => {
|
|
3589
3585
|
const r = /* @__PURE__ */ Object.create(null);
|
|
3590
3586
|
return (i) => {
|
|
3591
3587
|
const n = JSON.stringify(i);
|
|
3592
3588
|
return n in r ? r[n] : r[n] = e(i);
|
|
3593
3589
|
};
|
|
3594
3590
|
};
|
|
3595
|
-
var
|
|
3591
|
+
var Ps = Object.defineProperty, qr = Object.getOwnPropertySymbols, Ci = Object.prototype.hasOwnProperty, Ai = Object.prototype.propertyIsEnumerable, $t = (e, r, t) => r in e ? Ps(e, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[r] = t, Ct = (e, r) => {
|
|
3596
3592
|
for (var t in r || (r = {}))
|
|
3597
3593
|
Ci.call(r, t) && $t(e, t, r[t]);
|
|
3598
|
-
if (
|
|
3599
|
-
for (var t of
|
|
3594
|
+
if (qr)
|
|
3595
|
+
for (var t of qr(r))
|
|
3600
3596
|
Ai.call(r, t) && $t(e, t, r[t]);
|
|
3601
3597
|
return e;
|
|
3602
|
-
},
|
|
3598
|
+
}, hr = (e, r) => {
|
|
3603
3599
|
var t = {};
|
|
3604
3600
|
for (var i in e)
|
|
3605
3601
|
Ci.call(e, i) && r.indexOf(i) < 0 && (t[i] = e[i]);
|
|
3606
|
-
if (e != null &&
|
|
3607
|
-
for (var i of
|
|
3602
|
+
if (e != null && qr)
|
|
3603
|
+
for (var i of qr(e))
|
|
3608
3604
|
r.indexOf(i) < 0 && Ai.call(e, i) && (t[i] = e[i]);
|
|
3609
3605
|
return t;
|
|
3610
3606
|
};
|
|
3611
|
-
const
|
|
3612
|
-
const { formats: t } =
|
|
3607
|
+
const xr = (e, r) => {
|
|
3608
|
+
const { formats: t } = ar();
|
|
3613
3609
|
if (e in t && r in t[e])
|
|
3614
3610
|
return t[e][r];
|
|
3615
3611
|
throw new Error(`[svelte-i18n] Unknown "${r}" ${e} format.`);
|
|
3616
|
-
},
|
|
3612
|
+
}, xs = rt(
|
|
3617
3613
|
(e) => {
|
|
3618
|
-
var r = e, { locale: t, format: i } = r, n =
|
|
3614
|
+
var r = e, { locale: t, format: i } = r, n = hr(r, ["locale", "format"]);
|
|
3619
3615
|
if (t == null)
|
|
3620
3616
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3621
|
-
return i && (n =
|
|
3617
|
+
return i && (n = xr("number", i)), new Intl.NumberFormat(t, n);
|
|
3622
3618
|
}
|
|
3623
|
-
),
|
|
3619
|
+
), Cs = rt(
|
|
3624
3620
|
(e) => {
|
|
3625
|
-
var r = e, { locale: t, format: i } = r, n =
|
|
3621
|
+
var r = e, { locale: t, format: i } = r, n = hr(r, ["locale", "format"]);
|
|
3626
3622
|
if (t == null)
|
|
3627
3623
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3628
|
-
return i ? n =
|
|
3624
|
+
return i ? n = xr("date", i) : Object.keys(n).length === 0 && (n = xr("date", "short")), new Intl.DateTimeFormat(t, n);
|
|
3629
3625
|
}
|
|
3630
|
-
),
|
|
3626
|
+
), As = rt(
|
|
3631
3627
|
(e) => {
|
|
3632
|
-
var r = e, { locale: t, format: i } = r, n =
|
|
3628
|
+
var r = e, { locale: t, format: i } = r, n = hr(r, ["locale", "format"]);
|
|
3633
3629
|
if (t == null)
|
|
3634
3630
|
throw new Error(
|
|
3635
3631
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
3636
3632
|
);
|
|
3637
|
-
return i ? n =
|
|
3633
|
+
return i ? n = xr("time", i) : Object.keys(n).length === 0 && (n = xr("time", "short")), new Intl.DateTimeFormat(t, n);
|
|
3638
3634
|
}
|
|
3639
|
-
),
|
|
3635
|
+
), Ts = (e = {}) => {
|
|
3640
3636
|
var r = e, {
|
|
3641
|
-
locale: t =
|
|
3642
|
-
} = r, i =
|
|
3637
|
+
locale: t = Fe()
|
|
3638
|
+
} = r, i = hr(r, [
|
|
3643
3639
|
"locale"
|
|
3644
3640
|
]);
|
|
3645
|
-
return
|
|
3646
|
-
},
|
|
3641
|
+
return xs(Ct({ locale: t }, i));
|
|
3642
|
+
}, Hs = (e = {}) => {
|
|
3647
3643
|
var r = e, {
|
|
3648
|
-
locale: t =
|
|
3649
|
-
} = r, i =
|
|
3644
|
+
locale: t = Fe()
|
|
3645
|
+
} = r, i = hr(r, [
|
|
3650
3646
|
"locale"
|
|
3651
3647
|
]);
|
|
3652
|
-
return
|
|
3653
|
-
},
|
|
3648
|
+
return Cs(Ct({ locale: t }, i));
|
|
3649
|
+
}, Bs = (e = {}) => {
|
|
3654
3650
|
var r = e, {
|
|
3655
|
-
locale: t =
|
|
3656
|
-
} = r, i =
|
|
3651
|
+
locale: t = Fe()
|
|
3652
|
+
} = r, i = hr(r, [
|
|
3657
3653
|
"locale"
|
|
3658
3654
|
]);
|
|
3659
|
-
return
|
|
3660
|
-
},
|
|
3655
|
+
return As(Ct({ locale: t }, i));
|
|
3656
|
+
}, Is = rt(
|
|
3661
3657
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3662
|
-
(e, r =
|
|
3663
|
-
ignoreTag:
|
|
3658
|
+
(e, r = Fe()) => new ns(e, r, ar().formats, {
|
|
3659
|
+
ignoreTag: ar().ignoreTag
|
|
3664
3660
|
})
|
|
3665
|
-
),
|
|
3661
|
+
), Ns = (e, r = {}) => {
|
|
3666
3662
|
var t, i, n, s;
|
|
3667
3663
|
let u = r;
|
|
3668
3664
|
typeof e == "object" && (u = e, e = u.id);
|
|
3669
3665
|
const {
|
|
3670
3666
|
values: a,
|
|
3671
|
-
locale: f =
|
|
3667
|
+
locale: f = Fe(),
|
|
3672
3668
|
default: c
|
|
3673
3669
|
} = u;
|
|
3674
3670
|
if (f == null)
|
|
3675
3671
|
throw new Error(
|
|
3676
3672
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
3677
3673
|
);
|
|
3678
|
-
let h =
|
|
3674
|
+
let h = wi(e, f);
|
|
3679
3675
|
if (!h)
|
|
3680
|
-
h = (s = (n = (i = (t =
|
|
3676
|
+
h = (s = (n = (i = (t = ar()).handleMissingMessage) == null ? void 0 : i.call(t, { locale: f, id: e, defaultValue: c })) != null ? n : c) != null ? s : e;
|
|
3681
3677
|
else if (typeof h != "string")
|
|
3682
3678
|
return console.warn(
|
|
3683
3679
|
`[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.`
|
|
@@ -3686,7 +3682,7 @@ const Cr = (e, r) => {
|
|
|
3686
3682
|
return h;
|
|
3687
3683
|
let m = h;
|
|
3688
3684
|
try {
|
|
3689
|
-
m =
|
|
3685
|
+
m = Is(h, f).format(a);
|
|
3690
3686
|
} catch (g) {
|
|
3691
3687
|
g instanceof Error && console.warn(
|
|
3692
3688
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -3694,16 +3690,16 @@ const Cr = (e, r) => {
|
|
|
3694
3690
|
);
|
|
3695
3691
|
}
|
|
3696
3692
|
return m;
|
|
3697
|
-
},
|
|
3698
|
-
|
|
3699
|
-
|
|
3700
|
-
|
|
3701
|
-
|
|
3693
|
+
}, Os = (e, r) => Bs(r).format(e), Ls = (e, r) => Hs(r).format(e), Ms = (e, r) => Ts(r).format(e), Rs = (e, r = Fe()) => wi(e, r), Us = ur([cr, Cr], () => Ns);
|
|
3694
|
+
ur([cr], () => Os);
|
|
3695
|
+
ur([cr], () => Ls);
|
|
3696
|
+
ur([cr], () => Ms);
|
|
3697
|
+
ur([cr, Cr], () => Rs);
|
|
3702
3698
|
function Qt(e, r) {
|
|
3703
3699
|
Si(e, r);
|
|
3704
3700
|
}
|
|
3705
|
-
function
|
|
3706
|
-
|
|
3701
|
+
function ks(e) {
|
|
3702
|
+
cr.set(e);
|
|
3707
3703
|
}
|
|
3708
3704
|
const zt = {
|
|
3709
3705
|
en: {
|
|
@@ -3960,13 +3956,13 @@ const zt = {
|
|
|
3960
3956
|
registerNext: "Next"
|
|
3961
3957
|
}
|
|
3962
3958
|
};
|
|
3963
|
-
function
|
|
3959
|
+
function Fs(e, r) {
|
|
3964
3960
|
if (e) {
|
|
3965
3961
|
const t = document.createElement("style");
|
|
3966
3962
|
t.innerHTML = r, e.appendChild(t);
|
|
3967
3963
|
}
|
|
3968
3964
|
}
|
|
3969
|
-
function
|
|
3965
|
+
function Ds(e, r) {
|
|
3970
3966
|
if (!e || !r)
|
|
3971
3967
|
return;
|
|
3972
3968
|
const t = new URL(r);
|
|
@@ -3977,7 +3973,7 @@ function Gs(e, r) {
|
|
|
3977
3973
|
console.error("There was an error while trying to load client styling from URL", i);
|
|
3978
3974
|
});
|
|
3979
3975
|
}
|
|
3980
|
-
function
|
|
3976
|
+
function Gs(e, r, t) {
|
|
3981
3977
|
if (window.emMessageBus) {
|
|
3982
3978
|
const i = document.createElement("style");
|
|
3983
3979
|
window.emMessageBus.subscribe(r, (n) => {
|
|
@@ -3985,7 +3981,7 @@ function js(e, r, t) {
|
|
|
3985
3981
|
});
|
|
3986
3982
|
}
|
|
3987
3983
|
}
|
|
3988
|
-
function
|
|
3984
|
+
function js(e) {
|
|
3989
3985
|
Bi(e, "svelte-1ueqy7d", ".RegisterFormTitle{font-size:20px;text-transform:uppercase;font-weight:300;margin:0;padding-bottom:8px}.RegisterFormSubtitle{font-size:14px;margin:0;padding-bottom:20px}.FormLoginCallToAction{color:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));font-size:14px;font-weight:400;text-decoration:none;cursor:pointer}.EmailContainer,.UserContainer,.PasswordContainer,.ConfirmPasswordContainer,.PromoCodeContainer,.SecurityQuestionContainer,.SecurityAnswerContainer{color:var(--emw--registration-contrast, var(--emw--color-gray-300, #58586B));display:flex;flex-direction:column;padding-bottom:40px;position:relative}.EmailContainer label,.UserContainer label,.PasswordContainer label,.ConfirmPasswordContainer label,.PromoCodeContainer label,.SecurityQuestionContainer label,.SecurityAnswerContainer label{font-size:14px;font-weight:300;padding-bottom:5px}.EmailContainer input,.UserContainer input,.PasswordContainer input,.ConfirmPasswordContainer input,.PromoCodeContainer input,.SecurityQuestionContainer input,.SecurityAnswerContainer input{width:100%;height:44px;border:1px solid var(--emw--color-gray-100, #E6E6E6);border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:16px;line-height:18px}.EmailContainer.InvalidField input,.UserContainer.InvalidField input,.PasswordContainer.InvalidField input,.ConfirmPasswordContainer.InvalidField input,.PromoCodeContainer.InvalidField input,.SecurityQuestionContainer.InvalidField input,.SecurityAnswerContainer.InvalidField input{border:1px solid var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));background:var(--emw--color-pale, #FBECF4);color:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E))}.EmailContainer.Hidden,.UserContainer.Hidden,.PasswordContainer.Hidden,.ConfirmPasswordContainer.Hidden,.PromoCodeContainer.Hidden,.SecurityQuestionContainer.Hidden,.SecurityAnswerContainer.Hidden{display:none}.PasswordContainer,.ConfirmPasswordContainer{position:relative}.PasswordContainer input,.ConfirmPasswordContainer input{padding:5px 30px 5px 15px}.FormRequired{color:var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839))}.TogglePasswordVisibility,.ToggleConfirmPasswordVisibility{height:13px;position:absolute;right:8px;bottom:55px}.TogglePasswordVisibility.InvalidToggle path,.TogglePasswordVisibility.InvalidToggle circle,.TogglePasswordVisibility.InvalidToggle rect,.ToggleConfirmPasswordVisibility.InvalidToggle path,.ToggleConfirmPasswordVisibility.InvalidToggle circle,.ToggleConfirmPasswordVisibility.InvalidToggle rect{fill:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E))}.TogglePasswordVisibility path,.TogglePasswordVisibility circle,.TogglePasswordVisibility rect,.ToggleConfirmPasswordVisibility path,.ToggleConfirmPasswordVisibility circle,.ToggleConfirmPasswordVisibility rect{fill:var(--emw--registration-contrast, var(--emw--color-gray-300, #58586B))}.InvalidInput{color:var(--emw--color-error, var(--emw--color-red, #ed0909));font-size:10px;position:absolute;padding-top:5px;top:55px;line-height:10px}.ErrorMessage{margin:0 0 15px 0;font-size:12px;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.RegisterStepNext{color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));background:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));border-radius:5px;width:100%;height:60px;padding:0;text-transform:uppercase;font-size:18px;cursor:pointer;margin-top:24px}.RegisterStepNext[disabled]{background:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-150, #828282);cursor:not-allowed}input::-ms-reveal,input::-ms-clear{display:none}");
|
|
3990
3986
|
}
|
|
3991
3987
|
function Xt(e) {
|
|
@@ -3995,7 +3991,7 @@ function Xt(e) {
|
|
|
3995
3991
|
), i;
|
|
3996
3992
|
return {
|
|
3997
3993
|
c() {
|
|
3998
|
-
r = E("p"), i =
|
|
3994
|
+
r = E("p"), i = H(t), o(r, "class", "InvalidInput");
|
|
3999
3995
|
},
|
|
4000
3996
|
m(n, s) {
|
|
4001
3997
|
ue(n, r, s), l(r, i);
|
|
@@ -4017,7 +4013,7 @@ function Zt(e) {
|
|
|
4017
4013
|
), i;
|
|
4018
4014
|
return {
|
|
4019
4015
|
c() {
|
|
4020
|
-
r = E("p"), i =
|
|
4016
|
+
r = E("p"), i = H(t), o(r, "class", "InvalidInput");
|
|
4021
4017
|
},
|
|
4022
4018
|
m(n, s) {
|
|
4023
4019
|
ue(n, r, s), l(r, i);
|
|
@@ -4032,11 +4028,11 @@ function Zt(e) {
|
|
|
4032
4028
|
}
|
|
4033
4029
|
};
|
|
4034
4030
|
}
|
|
4035
|
-
function
|
|
4031
|
+
function Vs(e) {
|
|
4036
4032
|
let r, t, i, n, s, u, a, f, c;
|
|
4037
4033
|
return {
|
|
4038
4034
|
c() {
|
|
4039
|
-
r =
|
|
4035
|
+
r = _("svg"), t = _("defs"), i = _("style"), n = H(".a{fill:var(--emw--registration-typography, var(--emw--color-background, #07072A));}"), s = _("g"), u = _("path"), a = _("circle"), o(u, "class", "a"), o(u, "d", "M23.541,38.332a11.467,11.467,0,0,1-4.886-1.611,34.413,34.413,0,0,1-3.976-2.469,1.1,1.1,0,0,1-.494-.936,1.21,1.21,0,0,1,.442-.962A37.986,37.986,0,0,1,18.6,29.625a16.06,16.06,0,0,1,2.521-1.248,6.862,6.862,0,0,1,2.417-.546,6.862,6.862,0,0,1,2.417.546,20.541,20.541,0,0,1,2.547,1.248,45.872,45.872,0,0,1,4.054,2.729,1.159,1.159,0,0,1,.468.962,1.067,1.067,0,0,1-.52.936,36.353,36.353,0,0,1-4.054,2.469A11.2,11.2,0,0,1,23.541,38.332Zm0-9.46a9.813,9.813,0,0,0-4.392,1.663,44.138,44.138,0,0,0-3.873,2.651.13.13,0,0,0,0,.208,36.5,36.5,0,0,0,3.873,2.391,10.372,10.372,0,0,0,4.392,1.481,11.051,11.051,0,0,0,4.444-1.481,40.2,40.2,0,0,0,3.925-2.391.13.13,0,0,0,0-.208h0a34.132,34.132,0,0,0-3.925-2.651A10.072,10.072,0,0,0,23.541,28.872Z"), o(u, "transform", "translate(0)"), o(a, "class", "a"), o(a, "cx", "2.779"), o(a, "cy", "2.779"), o(a, "r", "2.779"), o(a, "transform", "translate(20.827 30.303)"), o(s, "transform", "translate(-14.185 -27.832)"), o(r, "class", "TogglePasswordVisibility"), o(r, "xmlns", "http://www.w3.org/2000/svg"), o(r, "width", "18.843"), o(r, "height", "10.5"), o(r, "viewBox", "0 0 18.843 10.5");
|
|
4040
4036
|
},
|
|
4041
4037
|
m(h, m) {
|
|
4042
4038
|
ue(h, r, m), l(r, t), l(t, i), l(i, n), l(r, s), l(s, u), l(s, a), f || (c = x(
|
|
@@ -4052,23 +4048,23 @@ function $s(e) {
|
|
|
4052
4048
|
}
|
|
4053
4049
|
};
|
|
4054
4050
|
}
|
|
4055
|
-
function
|
|
4056
|
-
let r, t, i, n, s, u, a, f, c, h, m, g, b,
|
|
4051
|
+
function $s(e) {
|
|
4052
|
+
let r, t, i, n, s, u, a, f, c, h, m, g, b, w, y;
|
|
4057
4053
|
return {
|
|
4058
4054
|
c() {
|
|
4059
|
-
r =
|
|
4055
|
+
r = _("svg"), t = _("defs"), i = _("style"), n = H(".a{fill:var(--emw--registration-typography, var(--emw--color-background, #07072A));}"), s = _("g"), u = _("circle"), a = _("g"), f = _("path"), c = _("path"), h = _("g"), m = _("path"), g = _("path"), b = _("rect"), o(u, "class", "a"), o(u, "cx", "0.05"), o(u, "cy", "0.05"), o(u, "r", "0.05"), o(u, "transform", "translate(121.017 31.148)"), o(f, "class", "a"), o(f, "d", "M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"), o(f, "transform", "translate(-142.164 -39.123)"), o(c, "class", "a"), o(c, "d", "M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"), o(c, "transform", "translate(-136.413 -42.068)"), o(a, "transform", "translate(117.499 27.37)"), o(m, "class", "a"), o(m, "d", "M122.538,42.061a7.043,7.043,0,0,1-2.325.53,10.373,10.373,0,0,1-4.393-1.482,36.509,36.509,0,0,1-3.873-2.391.13.13,0,0,1,0-.208,44.141,44.141,0,0,1,3.873-2.651c.394-.233.768-.437,1.13-.622l-.686-.838c-.322.167-.651.347-.99.55a37.989,37.989,0,0,0-3.977,2.729,1.21,1.21,0,0,0-.442.962,1.1,1.1,0,0,0,.494.936,34.416,34.416,0,0,0,3.977,2.469,11.468,11.468,0,0,0,4.886,1.611,8.427,8.427,0,0,0,3.039-.725Z"), o(m, "transform", "translate(-110.856 -33.157)"), o(g, "class", "a"), o(g, "d", "M149.119,34.14a45.875,45.875,0,0,0-4.055-2.729,20.541,20.541,0,0,0-2.547-1.248,5.6,5.6,0,0,0-4.79-.017l.7.856a5.254,5.254,0,0,1,1.672-.346,10.072,10.072,0,0,1,4.445,1.663,34.132,34.132,0,0,1,3.925,2.651.13.13,0,0,1,0,.208,40.2,40.2,0,0,1-3.925,2.391c-.179.092-.352.176-.525.26l.684.835c.1-.054.2-.1.309-.159a36.356,36.356,0,0,0,4.055-2.469,1.067,1.067,0,0,0,.52-.936A1.159,1.159,0,0,0,149.119,34.14Z"), o(g, "transform", "translate(-130.743 -29.617)"), o(h, "transform", "translate(110.856 24.899)"), o(b, "class", "a"), o(b, "width", "0.972"), o(b, "height", "15.861"), o(b, "rx", "0.486"), o(b, "transform", "translate(114.827 23.858) rotate(-39.315)"), o(s, "transform", "translate(-110.856 -23.242)"), o(r, "class", "TogglePasswordVisibility"), o(r, "xmlns", "http://www.w3.org/2000/svg"), o(r, "width", "18.844"), o(r, "height", "12.887"), o(r, "viewBox", "0 0 18.844 12.887");
|
|
4060
4056
|
},
|
|
4061
|
-
m(A,
|
|
4062
|
-
ue(A, r,
|
|
4057
|
+
m(A, O) {
|
|
4058
|
+
ue(A, r, O), l(r, t), l(t, i), l(i, n), l(r, s), l(s, u), l(s, a), l(a, f), l(a, c), l(s, h), l(h, m), l(h, g), l(s, b), w || (y = x(
|
|
4063
4059
|
r,
|
|
4064
4060
|
"click",
|
|
4065
4061
|
/*click_handler_1*/
|
|
4066
4062
|
e[61]
|
|
4067
|
-
),
|
|
4063
|
+
), w = !0);
|
|
4068
4064
|
},
|
|
4069
4065
|
p: z,
|
|
4070
4066
|
d(A) {
|
|
4071
|
-
A && ie(r),
|
|
4067
|
+
A && ie(r), w = !1, y();
|
|
4072
4068
|
}
|
|
4073
4069
|
};
|
|
4074
4070
|
}
|
|
@@ -4079,7 +4075,7 @@ function Wt(e) {
|
|
|
4079
4075
|
), i;
|
|
4080
4076
|
return {
|
|
4081
4077
|
c() {
|
|
4082
|
-
r = E("p"), i =
|
|
4078
|
+
r = E("p"), i = H(t), o(r, "class", "InvalidInput");
|
|
4083
4079
|
},
|
|
4084
4080
|
m(n, s) {
|
|
4085
4081
|
ue(n, r, s), l(r, i);
|
|
@@ -4101,7 +4097,7 @@ function qt(e) {
|
|
|
4101
4097
|
), i;
|
|
4102
4098
|
return {
|
|
4103
4099
|
c() {
|
|
4104
|
-
r = E("p"), i =
|
|
4100
|
+
r = E("p"), i = H(t), o(r, "class", "InvalidInput");
|
|
4105
4101
|
},
|
|
4106
4102
|
m(n, s) {
|
|
4107
4103
|
ue(n, r, s), l(r, i);
|
|
@@ -4116,11 +4112,11 @@ function qt(e) {
|
|
|
4116
4112
|
}
|
|
4117
4113
|
};
|
|
4118
4114
|
}
|
|
4119
|
-
function
|
|
4115
|
+
function Qs(e) {
|
|
4120
4116
|
let r, t, i, n, s, u, a, f, c;
|
|
4121
4117
|
return {
|
|
4122
4118
|
c() {
|
|
4123
|
-
r =
|
|
4119
|
+
r = _("svg"), t = _("defs"), i = _("style"), n = H(".a{fill:var(--emw--registration-typography, var(--emw--color-background, #07072A));}"), s = _("g"), u = _("path"), a = _("circle"), o(u, "class", "a"), o(u, "d", "M23.541,38.332a11.467,11.467,0,0,1-4.886-1.611,34.413,34.413,0,0,1-3.976-2.469,1.1,1.1,0,0,1-.494-.936,1.21,1.21,0,0,1,.442-.962A37.986,37.986,0,0,1,18.6,29.625a16.06,16.06,0,0,1,2.521-1.248,6.862,6.862,0,0,1,2.417-.546,6.862,6.862,0,0,1,2.417.546,20.541,20.541,0,0,1,2.547,1.248,45.872,45.872,0,0,1,4.054,2.729,1.159,1.159,0,0,1,.468.962,1.067,1.067,0,0,1-.52.936,36.353,36.353,0,0,1-4.054,2.469A11.2,11.2,0,0,1,23.541,38.332Zm0-9.46a9.813,9.813,0,0,0-4.392,1.663,44.138,44.138,0,0,0-3.873,2.651.13.13,0,0,0,0,.208,36.5,36.5,0,0,0,3.873,2.391,10.372,10.372,0,0,0,4.392,1.481,11.051,11.051,0,0,0,4.444-1.481,40.2,40.2,0,0,0,3.925-2.391.13.13,0,0,0,0-.208h0a34.132,34.132,0,0,0-3.925-2.651A10.072,10.072,0,0,0,23.541,28.872Z"), o(u, "transform", "translate(0)"), o(a, "class", "a"), o(a, "cx", "2.779"), o(a, "cy", "2.779"), o(a, "r", "2.779"), o(a, "transform", "translate(20.827 30.303)"), o(s, "transform", "translate(-14.185 -27.832)"), o(r, "class", "ToggleConfirmPasswordVisibility"), o(r, "xmlns", "http://www.w3.org/2000/svg"), o(r, "width", "18.843"), o(r, "height", "10.5"), o(r, "viewBox", "0 0 18.843 10.5");
|
|
4124
4120
|
},
|
|
4125
4121
|
m(h, m) {
|
|
4126
4122
|
ue(h, r, m), l(r, t), l(t, i), l(i, n), l(r, s), l(s, u), l(s, a), f || (c = x(
|
|
@@ -4136,23 +4132,23 @@ function zs(e) {
|
|
|
4136
4132
|
}
|
|
4137
4133
|
};
|
|
4138
4134
|
}
|
|
4139
|
-
function
|
|
4140
|
-
let r, t, i, n, s, u, a, f, c, h, m, g, b,
|
|
4135
|
+
function zs(e) {
|
|
4136
|
+
let r, t, i, n, s, u, a, f, c, h, m, g, b, w, y;
|
|
4141
4137
|
return {
|
|
4142
4138
|
c() {
|
|
4143
|
-
r =
|
|
4139
|
+
r = _("svg"), t = _("defs"), i = _("style"), n = H(".a{fill:var(--emw--registration-typography, var(--emw--color-background, #07072A));}"), s = _("g"), u = _("circle"), a = _("g"), f = _("path"), c = _("path"), h = _("g"), m = _("path"), g = _("path"), b = _("rect"), o(u, "class", "a"), o(u, "cx", "0.05"), o(u, "cy", "0.05"), o(u, "r", "0.05"), o(u, "transform", "translate(121.017 31.148)"), o(f, "class", "a"), o(f, "d", "M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"), o(f, "transform", "translate(-142.164 -39.123)"), o(c, "class", "a"), o(c, "d", "M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"), o(c, "transform", "translate(-136.413 -42.068)"), o(a, "transform", "translate(117.499 27.37)"), o(m, "class", "a"), o(m, "d", "M122.538,42.061a7.043,7.043,0,0,1-2.325.53,10.373,10.373,0,0,1-4.393-1.482,36.509,36.509,0,0,1-3.873-2.391.13.13,0,0,1,0-.208,44.141,44.141,0,0,1,3.873-2.651c.394-.233.768-.437,1.13-.622l-.686-.838c-.322.167-.651.347-.99.55a37.989,37.989,0,0,0-3.977,2.729,1.21,1.21,0,0,0-.442.962,1.1,1.1,0,0,0,.494.936,34.416,34.416,0,0,0,3.977,2.469,11.468,11.468,0,0,0,4.886,1.611,8.427,8.427,0,0,0,3.039-.725Z"), o(m, "transform", "translate(-110.856 -33.157)"), o(g, "class", "a"), o(g, "d", "M149.119,34.14a45.875,45.875,0,0,0-4.055-2.729,20.541,20.541,0,0,0-2.547-1.248,5.6,5.6,0,0,0-4.79-.017l.7.856a5.254,5.254,0,0,1,1.672-.346,10.072,10.072,0,0,1,4.445,1.663,34.132,34.132,0,0,1,3.925,2.651.13.13,0,0,1,0,.208,40.2,40.2,0,0,1-3.925,2.391c-.179.092-.352.176-.525.26l.684.835c.1-.054.2-.1.309-.159a36.356,36.356,0,0,0,4.055-2.469,1.067,1.067,0,0,0,.52-.936A1.159,1.159,0,0,0,149.119,34.14Z"), o(g, "transform", "translate(-130.743 -29.617)"), o(h, "transform", "translate(110.856 24.899)"), o(b, "class", "a"), o(b, "width", "0.972"), o(b, "height", "15.861"), o(b, "rx", "0.486"), o(b, "transform", "translate(114.827 23.858) rotate(-39.315)"), o(s, "transform", "translate(-110.856 -23.242)"), o(r, "class", "ToggleConfirmPasswordVisibility"), o(r, "xmlns", "http://www.w3.org/2000/svg"), o(r, "width", "18.844"), o(r, "height", "12.887"), o(r, "viewBox", "0 0 18.844 12.887");
|
|
4144
4140
|
},
|
|
4145
|
-
m(A,
|
|
4146
|
-
ue(A, r,
|
|
4141
|
+
m(A, O) {
|
|
4142
|
+
ue(A, r, O), l(r, t), l(t, i), l(i, n), l(r, s), l(s, u), l(s, a), l(a, f), l(a, c), l(s, h), l(h, m), l(h, g), l(s, b), w || (y = x(
|
|
4147
4143
|
r,
|
|
4148
4144
|
"click",
|
|
4149
4145
|
/*click_handler_3*/
|
|
4150
4146
|
e[67]
|
|
4151
|
-
),
|
|
4147
|
+
), w = !0);
|
|
4152
4148
|
},
|
|
4153
4149
|
p: z,
|
|
4154
4150
|
d(A) {
|
|
4155
|
-
A && ie(r),
|
|
4151
|
+
A && ie(r), w = !1, y();
|
|
4156
4152
|
}
|
|
4157
4153
|
};
|
|
4158
4154
|
}
|
|
@@ -4163,7 +4159,7 @@ function Jt(e) {
|
|
|
4163
4159
|
), i;
|
|
4164
4160
|
return {
|
|
4165
4161
|
c() {
|
|
4166
|
-
r = E("p"), i =
|
|
4162
|
+
r = E("p"), i = H(t), o(r, "class", "InvalidInput");
|
|
4167
4163
|
},
|
|
4168
4164
|
m(n, s) {
|
|
4169
4165
|
ue(n, r, s), l(r, i);
|
|
@@ -4191,7 +4187,7 @@ function Yt(e) {
|
|
|
4191
4187
|
), i;
|
|
4192
4188
|
return {
|
|
4193
4189
|
c() {
|
|
4194
|
-
r = E("p"), i =
|
|
4190
|
+
r = E("p"), i = H(t), o(r, "class", "InvalidInput");
|
|
4195
4191
|
},
|
|
4196
4192
|
m(n, s) {
|
|
4197
4193
|
ue(n, r, s), l(r, i);
|
|
@@ -4225,7 +4221,7 @@ function Kt(e) {
|
|
|
4225
4221
|
), i;
|
|
4226
4222
|
return {
|
|
4227
4223
|
c() {
|
|
4228
|
-
r = E("p"), i =
|
|
4224
|
+
r = E("p"), i = H(t), o(r, "class", "InvalidInput");
|
|
4229
4225
|
},
|
|
4230
4226
|
m(n, s) {
|
|
4231
4227
|
ue(n, r, s), l(r, i);
|
|
@@ -4246,7 +4242,7 @@ function Kt(e) {
|
|
|
4246
4242
|
}
|
|
4247
4243
|
};
|
|
4248
4244
|
}
|
|
4249
|
-
function
|
|
4245
|
+
function Xs(e) {
|
|
4250
4246
|
let r, t, i, n = (
|
|
4251
4247
|
/*$_*/
|
|
4252
4248
|
e[30]("registerTitle") + ""
|
|
@@ -4256,22 +4252,22 @@ function Zs(e) {
|
|
|
4256
4252
|
), c, h, m, g = (
|
|
4257
4253
|
/*$_*/
|
|
4258
4254
|
e[30]("registerSubtitleLogin") + ""
|
|
4259
|
-
), b,
|
|
4255
|
+
), b, w, y, A, O, M = (
|
|
4260
4256
|
/*$_*/
|
|
4261
4257
|
e[30]("registerEmail") + ""
|
|
4262
|
-
), R, ce, G, me, U,
|
|
4258
|
+
), R, ce, G, me, U, De, Ce, Ge, k, X, he = (
|
|
4263
4259
|
/*$_*/
|
|
4264
4260
|
e[30]("registerUsername") + ""
|
|
4265
|
-
), ge, ne, V,
|
|
4261
|
+
), ge, ne, V, Ae, F, Pe, Te, ye, pe, C, Ee, Z = (
|
|
4266
4262
|
/*$_*/
|
|
4267
4263
|
e[30]("registerPassword") + ""
|
|
4268
|
-
), ve,
|
|
4264
|
+
), ve, Ar, Oe, Tr, B, Le, fr, dr, je, Me, Re, mr, j, xe, Ve = (
|
|
4269
4265
|
/*$_*/
|
|
4270
4266
|
e[30]("registerConfirmPassword") + ""
|
|
4271
|
-
),
|
|
4267
|
+
), $e, Hr, He, gr, $, pr, Qe, Ue, Br, we, ke, ze = (
|
|
4272
4268
|
/*$_*/
|
|
4273
4269
|
e[30]("registerPromoCode") + ""
|
|
4274
|
-
),
|
|
4270
|
+
), br, Ir, Nr, se, Or, Xe, Lr, fe, Be, Ze = (
|
|
4275
4271
|
/*custominputtextswitch*/
|
|
4276
4272
|
(e[2] == "true" ? (
|
|
4277
4273
|
/*$_*/
|
|
@@ -4280,7 +4276,7 @@ function Zs(e) {
|
|
|
4280
4276
|
/*$_*/
|
|
4281
4277
|
e[30]("registerSecurityQuestion")
|
|
4282
4278
|
)) + ""
|
|
4283
|
-
),
|
|
4279
|
+
), yr, Mr, We, Rr, oe, Ur, qe, kr, de, Ie, Je = (
|
|
4284
4280
|
/*custominputtextswitch*/
|
|
4285
4281
|
(e[2] == "true" ? (
|
|
4286
4282
|
/*$_*/
|
|
@@ -4289,10 +4285,10 @@ function Zs(e) {
|
|
|
4289
4285
|
/*$_*/
|
|
4290
4286
|
e[30]("registerSecurityAnswer")
|
|
4291
4287
|
)) + ""
|
|
4292
|
-
),
|
|
4288
|
+
), Er, Fr, Ye, Dr, ae, Gr, Ke, p, N, le = (
|
|
4293
4289
|
/*$_*/
|
|
4294
4290
|
e[30]("registerNext") + ""
|
|
4295
|
-
),
|
|
4291
|
+
), tt, jr, it, At, W = (
|
|
4296
4292
|
/*invalidEmail*/
|
|
4297
4293
|
e[4] && Xt(e)
|
|
4298
4294
|
), q = (
|
|
@@ -4302,10 +4298,10 @@ function Zs(e) {
|
|
|
4302
4298
|
function Tt(d, v) {
|
|
4303
4299
|
return (
|
|
4304
4300
|
/*isPasswordVisible*/
|
|
4305
|
-
d[25] ?
|
|
4301
|
+
d[25] ? $s : Vs
|
|
4306
4302
|
);
|
|
4307
4303
|
}
|
|
4308
|
-
let
|
|
4304
|
+
let Vr = Tt(e), _e = Vr(e), J = (
|
|
4309
4305
|
/*invalidPassword*/
|
|
4310
4306
|
e[6] && /*simplepasswordvalidation*/
|
|
4311
4307
|
e[0] !== "true" && Wt(e)
|
|
@@ -4317,10 +4313,10 @@ function Zs(e) {
|
|
|
4317
4313
|
function Ht(d, v) {
|
|
4318
4314
|
return (
|
|
4319
4315
|
/*isConfirmPasswordVisible*/
|
|
4320
|
-
d[26] ?
|
|
4316
|
+
d[26] ? zs : Qs
|
|
4321
4317
|
);
|
|
4322
4318
|
}
|
|
4323
|
-
let
|
|
4319
|
+
let $r = Ht(e), Se = $r(e), K = (
|
|
4324
4320
|
/*invalidConfirmPassword*/
|
|
4325
4321
|
e[7] && Jt(e)
|
|
4326
4322
|
), ee = (
|
|
@@ -4332,61 +4328,61 @@ function Zs(e) {
|
|
|
4332
4328
|
);
|
|
4333
4329
|
return {
|
|
4334
4330
|
c() {
|
|
4335
|
-
r = E("div"), t = E("div"), i = E("h2"), s =
|
|
4331
|
+
r = E("div"), t = E("div"), i = E("h2"), s = H(n), u = I(), a = E("p"), c = H(f), h = I(), m = E("span"), b = H(g), w = I(), y = E("form"), A = E("div"), O = E("label"), R = H(M), ce = H(":"), G = E("span"), G.textContent = "*", me = I(), U = E("input"), De = I(), W && W.c(), Ge = I(), k = E("div"), X = E("label"), ge = H(he), ne = H(":"), V = E("span"), V.textContent = "*", Ae = I(), F = E("input"), Te = I(), q && q.c(), pe = I(), C = E("div"), Ee = E("label"), ve = H(Z), Ar = H(":"), Oe = E("span"), Oe.textContent = "*", Tr = I(), B = E("input"), fr = I(), _e.c(), dr = I(), J && J.c(), je = I(), Y && Y.c(), mr = I(), j = E("div"), xe = E("label"), $e = H(Ve), Hr = H(":"), He = E("span"), He.textContent = "*", gr = I(), $ = E("input"), pr = I(), Se.c(), Qe = I(), K && K.c(), Br = I(), we = E("div"), ke = E("label"), br = H(ze), Ir = H(":"), Nr = I(), se = E("input"), Or = I(), Lr = I(), fe = E("div"), Be = E("label"), yr = H(Ze), Mr = H(":"), We = E("span"), We.textContent = "*", Rr = I(), oe = E("input"), Ur = I(), ee && ee.c(), kr = I(), de = E("div"), Ie = E("label"), Er = H(Je), Fr = H(":"), Ye = E("span"), Ye.textContent = "*", Dr = I(), ae = E("input"), Gr = I(), re && re.c(), p = I(), N = E("button"), tt = H(le), o(i, "class", "RegisterFormTitle"), o(m, "class", "FormLoginCallToAction"), o(a, "class", "RegisterFormSubtitle"), o(t, "class", "RegisterFormHeader"), o(G, "class", "FormRequired"), o(O, "for", "Email"), o(U, "type", "text"), o(U, "id", "Email"), o(A, "class", Ce = "EmailContainer " + /*invalidEmail*/
|
|
4336
4332
|
(e[4] && !/*emailFocus*/
|
|
4337
4333
|
e[10] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4338
|
-
(e[17]?.indexOf("email") >= 0 ? "Hidden" : "")), o(V, "class", "FormRequired"), o(X, "for", "UserName"), o(F, "type", "text"), o(F, "id", "UserName"), o(F, "autocomplete",
|
|
4334
|
+
(e[17]?.indexOf("email") >= 0 ? "Hidden" : "")), o(V, "class", "FormRequired"), o(X, "for", "UserName"), o(F, "type", "text"), o(F, "id", "UserName"), o(F, "autocomplete", Pe = /*savecredentials*/
|
|
4339
4335
|
e[1] ? "username" : "off"), o(k, "class", ye = "UserContainer " + /*invalidName*/
|
|
4340
4336
|
(e[5] && !/*usernameFocus*/
|
|
4341
4337
|
e[11] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4342
|
-
(e[17]?.indexOf("username") >= 0 ? "Hidden" : "")), o(
|
|
4343
|
-
e[1] ? "new-password" : "off"), o(
|
|
4338
|
+
(e[17]?.indexOf("username") >= 0 ? "Hidden" : "")), o(Oe, "class", "FormRequired"), o(Ee, "for", "Password"), o(B, "name", "new-password"), o(B, "type", "password"), o(B, "id", "new-password"), o(B, "autocomplete", Le = /*savecredentials*/
|
|
4339
|
+
e[1] ? "new-password" : "off"), o(B, "aria-describedby", "password-constraints"), o(C, "class", Me = "PasswordContainer " + /*invalidPassword*/
|
|
4344
4340
|
(e[6] && !/*passwordFocus*/
|
|
4345
4341
|
e[12] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4346
|
-
(e[17]?.indexOf("password") >= 0 ? "Hidden" : "")), C.hidden =
|
|
4347
|
-
e[17]?.indexOf("password") >= 0, o(
|
|
4342
|
+
(e[17]?.indexOf("password") >= 0 ? "Hidden" : "")), C.hidden = Re = /*disabledFieldsList*/
|
|
4343
|
+
e[17]?.indexOf("password") >= 0, o(He, "class", "FormRequired"), o(xe, "for", "ConfirmPassword"), o($, "type", "password"), o($, "id", "ConfirmPassword"), o(j, "class", Ue = "ConfirmPasswordContainer " + /*invalidConfirmPassword*/
|
|
4348
4344
|
(e[7] && !/*confirmPasswordFocus*/
|
|
4349
4345
|
e[13] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4350
|
-
(e[17]?.indexOf("confirmPassword") >= 0 ? "Hidden" : "")), o(
|
|
4351
|
-
(e[17]?.indexOf("promoCode") >= 0 ? "Hidden" : "")), o(
|
|
4346
|
+
(e[17]?.indexOf("confirmPassword") >= 0 ? "Hidden" : "")), o(ke, "for", "PromoCode"), o(se, "type", "text"), o(se, "id", "PromoCode"), o(we, "class", Xe = "PromoCodeContainer " + /*disabledFieldsList*/
|
|
4347
|
+
(e[17]?.indexOf("promoCode") >= 0 ? "Hidden" : "")), o(We, "class", "FormRequired"), o(Be, "for", "SecurityQuestion"), o(oe, "type", "text"), o(oe, "id", "SecurityQuestion"), o(fe, "class", qe = "SecurityQuestionContainer " + /*invalidSecurityQuestion*/
|
|
4352
4348
|
(e[8] && !/*securityQFocus*/
|
|
4353
4349
|
e[14] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4354
|
-
(e[17]?.indexOf("securityQuestion") >= 0 ? "Hidden" : "")), o(
|
|
4350
|
+
(e[17]?.indexOf("securityQuestion") >= 0 ? "Hidden" : "")), o(Ye, "class", "FormRequired"), o(Ie, "for", "SecurityAnswer"), o(ae, "type", "text"), o(ae, "id", "SecurityAnswer"), o(de, "class", Ke = "SecurityAnswerContainer " + /*invalidSecurityAnswer*/
|
|
4355
4351
|
(e[9] && !/*securityAFocus*/
|
|
4356
4352
|
e[15] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4357
|
-
(e[17]?.indexOf("securityAnswer") >= 0 ? "Hidden" : "")), o(
|
|
4353
|
+
(e[17]?.indexOf("securityAnswer") >= 0 ? "Hidden" : "")), o(N, "class", "RegisterStepNext"), N.disabled = jr = !/*isValid*/
|
|
4358
4354
|
e[29], o(y, "class", "RegisterFormContent");
|
|
4359
4355
|
},
|
|
4360
4356
|
m(d, v) {
|
|
4361
|
-
ue(d, r, v), l(r, t), l(t, i), l(i, s), l(t, u), l(t, a), l(a, c), l(a, h), l(a, m), l(m, b), l(r,
|
|
4357
|
+
ue(d, r, v), l(r, t), l(t, i), l(i, s), l(t, u), l(t, a), l(a, c), l(a, h), l(a, m), l(m, b), l(r, w), l(r, y), l(y, A), l(A, O), l(O, R), l(O, ce), l(O, G), l(A, me), l(A, U), te(
|
|
4362
4358
|
U,
|
|
4363
4359
|
/*userEmail*/
|
|
4364
4360
|
e[19]
|
|
4365
|
-
), l(A,
|
|
4361
|
+
), l(A, De), W && W.m(A, null), l(y, Ge), l(y, k), l(k, X), l(X, ge), l(X, ne), l(X, V), l(k, Ae), l(k, F), te(
|
|
4366
4362
|
F,
|
|
4367
4363
|
/*userValue*/
|
|
4368
4364
|
e[18]
|
|
4369
|
-
), l(k,
|
|
4370
|
-
|
|
4365
|
+
), l(k, Te), q && q.m(k, null), l(y, pe), l(y, C), l(C, Ee), l(Ee, ve), l(Ee, Ar), l(Ee, Oe), l(C, Tr), l(C, B), te(
|
|
4366
|
+
B,
|
|
4371
4367
|
/*userPassword*/
|
|
4372
4368
|
e[20]
|
|
4373
|
-
), e[60](
|
|
4369
|
+
), e[60](B), l(C, fr), _e.m(C, null), l(C, dr), J && J.m(C, null), l(C, je), Y && Y.m(C, null), l(y, mr), l(y, j), l(j, xe), l(xe, $e), l(xe, Hr), l(xe, He), l(j, gr), l(j, $), te(
|
|
4374
4370
|
$,
|
|
4375
4371
|
/*confirmUserPassword*/
|
|
4376
4372
|
e[21]
|
|
4377
|
-
), e[66]($), l(j,
|
|
4373
|
+
), e[66]($), l(j, pr), Se.m(j, null), l(j, Qe), K && K.m(j, null), l(y, Br), l(y, we), l(we, ke), l(ke, br), l(ke, Ir), l(we, Nr), l(we, se), te(
|
|
4378
4374
|
se,
|
|
4379
4375
|
/*promoCode*/
|
|
4380
4376
|
e[24]
|
|
4381
|
-
), l(
|
|
4377
|
+
), l(we, Or), l(y, Lr), l(y, fe), l(fe, Be), l(Be, yr), l(Be, Mr), l(Be, We), l(fe, Rr), l(fe, oe), te(
|
|
4382
4378
|
oe,
|
|
4383
4379
|
/*securityQuestion*/
|
|
4384
4380
|
e[22]
|
|
4385
|
-
), l(fe,
|
|
4381
|
+
), l(fe, Ur), ee && ee.m(fe, null), l(y, kr), l(y, de), l(de, Ie), l(Ie, Er), l(Ie, Fr), l(Ie, Ye), l(de, Dr), l(de, ae), te(
|
|
4386
4382
|
ae,
|
|
4387
4383
|
/*securityAnswer*/
|
|
4388
4384
|
e[23]
|
|
4389
|
-
), l(de,
|
|
4385
|
+
), l(de, Gr), re && re.m(de, null), l(y, p), l(y, N), l(N, tt), e[79](r), it || (At = [
|
|
4390
4386
|
x(
|
|
4391
4387
|
m,
|
|
4392
4388
|
"click",
|
|
@@ -4442,25 +4438,25 @@ function Zs(e) {
|
|
|
4442
4438
|
e[56]
|
|
4443
4439
|
),
|
|
4444
4440
|
x(
|
|
4445
|
-
|
|
4441
|
+
B,
|
|
4446
4442
|
"input",
|
|
4447
4443
|
/*input2_input_handler*/
|
|
4448
4444
|
e[57]
|
|
4449
4445
|
),
|
|
4450
4446
|
x(
|
|
4451
|
-
|
|
4447
|
+
B,
|
|
4452
4448
|
"keyup",
|
|
4453
4449
|
/*validatePassword*/
|
|
4454
4450
|
e[38]
|
|
4455
4451
|
),
|
|
4456
4452
|
x(
|
|
4457
|
-
|
|
4453
|
+
B,
|
|
4458
4454
|
"focus",
|
|
4459
4455
|
/*focus_handler_2*/
|
|
4460
4456
|
e[58]
|
|
4461
4457
|
),
|
|
4462
4458
|
x(
|
|
4463
|
-
|
|
4459
|
+
B,
|
|
4464
4460
|
"blur",
|
|
4465
4461
|
/*blur_handler_2*/
|
|
4466
4462
|
e[59]
|
|
@@ -4562,12 +4558,12 @@ function Zs(e) {
|
|
|
4562
4558
|
e[77]
|
|
4563
4559
|
),
|
|
4564
4560
|
x(
|
|
4565
|
-
|
|
4561
|
+
N,
|
|
4566
4562
|
"click",
|
|
4567
4563
|
/*click_handler_5*/
|
|
4568
4564
|
e[78]
|
|
4569
4565
|
)
|
|
4570
|
-
],
|
|
4566
|
+
], it = !0);
|
|
4571
4567
|
},
|
|
4572
4568
|
p(d, v) {
|
|
4573
4569
|
v[0] & /*$_*/
|
|
@@ -4586,14 +4582,14 @@ function Zs(e) {
|
|
|
4586
4582
|
d[19]
|
|
4587
4583
|
), /*invalidEmail*/
|
|
4588
4584
|
d[4] ? W ? W.p(d, v) : (W = Xt(d), W.c(), W.m(A, null)) : W && (W.d(1), W = null), v[0] & /*invalidEmail, emailFocus, disabledFieldsList*/
|
|
4589
|
-
132112 &&
|
|
4585
|
+
132112 && Ce !== (Ce = "EmailContainer " + /*invalidEmail*/
|
|
4590
4586
|
(d[4] && !/*emailFocus*/
|
|
4591
4587
|
d[10] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4592
|
-
(d[17]?.indexOf("email") >= 0 ? "Hidden" : "")) && o(A, "class",
|
|
4588
|
+
(d[17]?.indexOf("email") >= 0 ? "Hidden" : "")) && o(A, "class", Ce), v[0] & /*$_*/
|
|
4593
4589
|
1073741824 && he !== (he = /*$_*/
|
|
4594
4590
|
d[30]("registerUsername") + "") && D(ge, he), v[0] & /*savecredentials*/
|
|
4595
|
-
2 &&
|
|
4596
|
-
d[1] ? "username" : "off") && o(F, "autocomplete",
|
|
4591
|
+
2 && Pe !== (Pe = /*savecredentials*/
|
|
4592
|
+
d[1] ? "username" : "off") && o(F, "autocomplete", Pe), v[0] & /*userValue*/
|
|
4597
4593
|
262144 && F.value !== /*userValue*/
|
|
4598
4594
|
d[18] && te(
|
|
4599
4595
|
F,
|
|
@@ -4607,55 +4603,55 @@ function Zs(e) {
|
|
|
4607
4603
|
(d[17]?.indexOf("username") >= 0 ? "Hidden" : "")) && o(k, "class", ye), v[0] & /*$_*/
|
|
4608
4604
|
1073741824 && Z !== (Z = /*$_*/
|
|
4609
4605
|
d[30]("registerPassword") + "") && D(ve, Z), v[0] & /*savecredentials*/
|
|
4610
|
-
2 &&
|
|
4611
|
-
d[1] ? "new-password" : "off") && o(
|
|
4612
|
-
1048576 &&
|
|
4606
|
+
2 && Le !== (Le = /*savecredentials*/
|
|
4607
|
+
d[1] ? "new-password" : "off") && o(B, "autocomplete", Le), v[0] & /*userPassword*/
|
|
4608
|
+
1048576 && B.value !== /*userPassword*/
|
|
4613
4609
|
d[20] && te(
|
|
4614
|
-
|
|
4610
|
+
B,
|
|
4615
4611
|
/*userPassword*/
|
|
4616
4612
|
d[20]
|
|
4617
|
-
),
|
|
4613
|
+
), Vr === (Vr = Tt(d)) && _e ? _e.p(d, v) : (_e.d(1), _e = Vr(d), _e && (_e.c(), _e.m(C, dr))), /*invalidPassword*/
|
|
4618
4614
|
d[6] && /*simplepasswordvalidation*/
|
|
4619
|
-
d[0] !== "true" ? J ? J.p(d, v) : (J = Wt(d), J.c(), J.m(C,
|
|
4615
|
+
d[0] !== "true" ? J ? J.p(d, v) : (J = Wt(d), J.c(), J.m(C, je)) : J && (J.d(1), J = null), /*invalidPassword*/
|
|
4620
4616
|
d[6] && /*simplepasswordvalidation*/
|
|
4621
4617
|
d[0] === "true" ? Y ? Y.p(d, v) : (Y = qt(d), Y.c(), Y.m(C, null)) : Y && (Y.d(1), Y = null), v[0] & /*invalidPassword, passwordFocus, disabledFieldsList*/
|
|
4622
|
-
135232 &&
|
|
4618
|
+
135232 && Me !== (Me = "PasswordContainer " + /*invalidPassword*/
|
|
4623
4619
|
(d[6] && !/*passwordFocus*/
|
|
4624
4620
|
d[12] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4625
|
-
(d[17]?.indexOf("password") >= 0 ? "Hidden" : "")) && o(C, "class",
|
|
4626
|
-
131072 &&
|
|
4627
|
-
d[17]?.indexOf("password") >= 0) && (C.hidden =
|
|
4628
|
-
1073741824 &&
|
|
4629
|
-
d[30]("registerConfirmPassword") + "") && D(
|
|
4621
|
+
(d[17]?.indexOf("password") >= 0 ? "Hidden" : "")) && o(C, "class", Me), v[0] & /*disabledFieldsList*/
|
|
4622
|
+
131072 && Re !== (Re = /*disabledFieldsList*/
|
|
4623
|
+
d[17]?.indexOf("password") >= 0) && (C.hidden = Re), v[0] & /*$_*/
|
|
4624
|
+
1073741824 && Ve !== (Ve = /*$_*/
|
|
4625
|
+
d[30]("registerConfirmPassword") + "") && D($e, Ve), v[0] & /*confirmUserPassword*/
|
|
4630
4626
|
2097152 && $.value !== /*confirmUserPassword*/
|
|
4631
4627
|
d[21] && te(
|
|
4632
4628
|
$,
|
|
4633
4629
|
/*confirmUserPassword*/
|
|
4634
4630
|
d[21]
|
|
4635
|
-
),
|
|
4631
|
+
), $r === ($r = Ht(d)) && Se ? Se.p(d, v) : (Se.d(1), Se = $r(d), Se && (Se.c(), Se.m(j, Qe))), /*invalidConfirmPassword*/
|
|
4636
4632
|
d[7] ? K ? K.p(d, v) : (K = Jt(d), K.c(), K.m(j, null)) : K && (K.d(1), K = null), v[0] & /*invalidConfirmPassword, confirmPasswordFocus, disabledFieldsList*/
|
|
4637
|
-
139392 &&
|
|
4633
|
+
139392 && Ue !== (Ue = "ConfirmPasswordContainer " + /*invalidConfirmPassword*/
|
|
4638
4634
|
(d[7] && !/*confirmPasswordFocus*/
|
|
4639
4635
|
d[13] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4640
|
-
(d[17]?.indexOf("confirmPassword") >= 0 ? "Hidden" : "")) && o(j, "class",
|
|
4641
|
-
1073741824 &&
|
|
4642
|
-
d[30]("registerPromoCode") + "") && D(
|
|
4636
|
+
(d[17]?.indexOf("confirmPassword") >= 0 ? "Hidden" : "")) && o(j, "class", Ue), v[0] & /*$_*/
|
|
4637
|
+
1073741824 && ze !== (ze = /*$_*/
|
|
4638
|
+
d[30]("registerPromoCode") + "") && D(br, ze), v[0] & /*promoCode*/
|
|
4643
4639
|
16777216 && se.value !== /*promoCode*/
|
|
4644
4640
|
d[24] && te(
|
|
4645
4641
|
se,
|
|
4646
4642
|
/*promoCode*/
|
|
4647
4643
|
d[24]
|
|
4648
4644
|
), v[0] & /*disabledFieldsList*/
|
|
4649
|
-
131072 &&
|
|
4650
|
-
(d[17]?.indexOf("promoCode") >= 0 ? "Hidden" : "")) && o(
|
|
4651
|
-
1073741828 &&
|
|
4645
|
+
131072 && Xe !== (Xe = "PromoCodeContainer " + /*disabledFieldsList*/
|
|
4646
|
+
(d[17]?.indexOf("promoCode") >= 0 ? "Hidden" : "")) && o(we, "class", Xe), v[0] & /*custominputtextswitch, $_*/
|
|
4647
|
+
1073741828 && Ze !== (Ze = /*custominputtextswitch*/
|
|
4652
4648
|
(d[2] == "true" ? (
|
|
4653
4649
|
/*$_*/
|
|
4654
4650
|
d[30]("registerSecurityQuestion2")
|
|
4655
4651
|
) : (
|
|
4656
4652
|
/*$_*/
|
|
4657
4653
|
d[30]("registerSecurityQuestion")
|
|
4658
|
-
)) + "") && D(
|
|
4654
|
+
)) + "") && D(yr, Ze), v[0] & /*securityQuestion*/
|
|
4659
4655
|
4194304 && oe.value !== /*securityQuestion*/
|
|
4660
4656
|
d[22] && te(
|
|
4661
4657
|
oe,
|
|
@@ -4663,18 +4659,18 @@ function Zs(e) {
|
|
|
4663
4659
|
d[22]
|
|
4664
4660
|
), /*invalidSecurityQuestion*/
|
|
4665
4661
|
d[8] ? ee ? ee.p(d, v) : (ee = Yt(d), ee.c(), ee.m(fe, null)) : ee && (ee.d(1), ee = null), v[0] & /*invalidSecurityQuestion, securityQFocus, disabledFieldsList*/
|
|
4666
|
-
147712 &&
|
|
4662
|
+
147712 && qe !== (qe = "SecurityQuestionContainer " + /*invalidSecurityQuestion*/
|
|
4667
4663
|
(d[8] && !/*securityQFocus*/
|
|
4668
4664
|
d[14] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4669
|
-
(d[17]?.indexOf("securityQuestion") >= 0 ? "Hidden" : "")) && o(fe, "class",
|
|
4670
|
-
1073741828 &&
|
|
4665
|
+
(d[17]?.indexOf("securityQuestion") >= 0 ? "Hidden" : "")) && o(fe, "class", qe), v[0] & /*custominputtextswitch, $_*/
|
|
4666
|
+
1073741828 && Je !== (Je = /*custominputtextswitch*/
|
|
4671
4667
|
(d[2] == "true" ? (
|
|
4672
4668
|
/*$_*/
|
|
4673
4669
|
d[30]("registerSecurityAnswer2")
|
|
4674
4670
|
) : (
|
|
4675
4671
|
/*$_*/
|
|
4676
4672
|
d[30]("registerSecurityAnswer")
|
|
4677
|
-
)) + "") && D(
|
|
4673
|
+
)) + "") && D(Er, Je), v[0] & /*securityAnswer*/
|
|
4678
4674
|
8388608 && ae.value !== /*securityAnswer*/
|
|
4679
4675
|
d[23] && te(
|
|
4680
4676
|
ae,
|
|
@@ -4682,26 +4678,26 @@ function Zs(e) {
|
|
|
4682
4678
|
d[23]
|
|
4683
4679
|
), /*invalidSecurityAnswer*/
|
|
4684
4680
|
d[9] ? re ? re.p(d, v) : (re = Kt(d), re.c(), re.m(de, null)) : re && (re.d(1), re = null), v[0] & /*invalidSecurityAnswer, securityAFocus, disabledFieldsList*/
|
|
4685
|
-
164352 &&
|
|
4681
|
+
164352 && Ke !== (Ke = "SecurityAnswerContainer " + /*invalidSecurityAnswer*/
|
|
4686
4682
|
(d[9] && !/*securityAFocus*/
|
|
4687
4683
|
d[15] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4688
|
-
(d[17]?.indexOf("securityAnswer") >= 0 ? "Hidden" : "")) && o(de, "class",
|
|
4684
|
+
(d[17]?.indexOf("securityAnswer") >= 0 ? "Hidden" : "")) && o(de, "class", Ke), v[0] & /*$_*/
|
|
4689
4685
|
1073741824 && le !== (le = /*$_*/
|
|
4690
|
-
d[30]("registerNext") + "") && D(
|
|
4691
|
-
536870912 &&
|
|
4692
|
-
d[29]) && (
|
|
4686
|
+
d[30]("registerNext") + "") && D(tt, le), v[0] & /*isValid*/
|
|
4687
|
+
536870912 && jr !== (jr = !/*isValid*/
|
|
4688
|
+
d[29]) && (N.disabled = jr);
|
|
4693
4689
|
},
|
|
4694
4690
|
i: z,
|
|
4695
4691
|
o: z,
|
|
4696
4692
|
d(d) {
|
|
4697
|
-
d && ie(r), W && W.d(), q && q.d(), e[60](null),
|
|
4693
|
+
d && ie(r), W && W.d(), q && q.d(), e[60](null), _e.d(), J && J.d(), Y && Y.d(), e[66](null), Se.d(), K && K.d(), ee && ee.d(), re && re.d(), e[79](null), it = !1, lr(At);
|
|
4698
4694
|
}
|
|
4699
4695
|
};
|
|
4700
4696
|
}
|
|
4701
|
-
function
|
|
4697
|
+
function Zs(e, r, t) {
|
|
4702
4698
|
let i;
|
|
4703
|
-
Hi(e,
|
|
4704
|
-
let { lang: n = "" } = r, { disabledfields: s = "" } = r, { simplepasswordvalidation: u = "false" } = r, { mbsource: a } = r, { clientstyling: f = "" } = r, { clientstylingurl: c = "" } = r, { translationurl: h = "" } = r, { savecredentials: m = "" } = r, { custominputtextswitch: g = "false" } = r, b = !1,
|
|
4699
|
+
Hi(e, Us, (p) => t(30, i = p));
|
|
4700
|
+
let { lang: n = "" } = r, { disabledfields: s = "" } = r, { simplepasswordvalidation: u = "false" } = r, { mbsource: a } = r, { clientstyling: f = "" } = r, { clientstylingurl: c = "" } = r, { translationurl: h = "" } = r, { savecredentials: m = "" } = r, { custominputtextswitch: g = "false" } = r, b = !1, w = !1, y = !1, A = !1, O = !1, M = !1, R = !1, ce = !1, G = !1, me = !1, U = !1, De = !1, Ce = !1, Ge, k = "", X = "", he = "", ge = "", ne = "", V = "", Ae = "", F = !1, Pe = !1, Te, ye, pe = {}, C = {
|
|
4705
4701
|
username: !1,
|
|
4706
4702
|
email: !1,
|
|
4707
4703
|
password: !1,
|
|
@@ -4715,106 +4711,106 @@ function Ws(e, r, t) {
|
|
|
4715
4711
|
password: /^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[^\w\s]).{8,20}$/,
|
|
4716
4712
|
document: /^(?=.*[a-zA-Z0-9])[a-zA-Z0-9\s]+$/
|
|
4717
4713
|
};
|
|
4718
|
-
const
|
|
4719
|
-
fetch(h).then((
|
|
4720
|
-
Object.keys(
|
|
4721
|
-
Qt(le,
|
|
4714
|
+
const Ar = () => {
|
|
4715
|
+
fetch(h).then((N) => N.json()).then((N) => {
|
|
4716
|
+
Object.keys(N).forEach((le) => {
|
|
4717
|
+
Qt(le, N[le]);
|
|
4722
4718
|
});
|
|
4723
|
-
}).catch((
|
|
4724
|
-
console.log(
|
|
4719
|
+
}).catch((N) => {
|
|
4720
|
+
console.log(N);
|
|
4725
4721
|
});
|
|
4726
4722
|
};
|
|
4727
4723
|
Object.keys(zt).forEach((p) => {
|
|
4728
4724
|
Qt(p, zt[p]);
|
|
4729
4725
|
});
|
|
4730
|
-
const
|
|
4726
|
+
const Oe = () => {
|
|
4731
4727
|
window.postMessage({ type: "ToLogin" }, window.location.href);
|
|
4732
|
-
},
|
|
4733
|
-
if (!(
|
|
4728
|
+
}, Tr = (p, N) => {
|
|
4729
|
+
if (!(Ge.indexOf(p) >= 0))
|
|
4734
4730
|
switch (p) {
|
|
4735
4731
|
case "username":
|
|
4736
|
-
t(18, k =
|
|
4732
|
+
t(18, k = N), fr();
|
|
4737
4733
|
break;
|
|
4738
4734
|
case "email":
|
|
4739
|
-
t(19, X =
|
|
4735
|
+
t(19, X = N), Le();
|
|
4740
4736
|
break;
|
|
4741
4737
|
case "password":
|
|
4742
|
-
t(20, he =
|
|
4738
|
+
t(20, he = N), $e();
|
|
4743
4739
|
break;
|
|
4744
4740
|
case "confirmUserPassword":
|
|
4745
|
-
t(21, ge =
|
|
4741
|
+
t(21, ge = N), He();
|
|
4746
4742
|
break;
|
|
4747
4743
|
case "securityQuestion":
|
|
4748
|
-
t(22, ne =
|
|
4744
|
+
t(22, ne = N), $();
|
|
4749
4745
|
break;
|
|
4750
4746
|
case "securityAnswer":
|
|
4751
|
-
t(23, V =
|
|
4747
|
+
t(23, V = N), pr();
|
|
4752
4748
|
break;
|
|
4753
4749
|
case "promoCode":
|
|
4754
|
-
t(24,
|
|
4750
|
+
t(24, Ae = N), gr();
|
|
4755
4751
|
break;
|
|
4756
4752
|
}
|
|
4757
|
-
},
|
|
4753
|
+
}, B = () => {
|
|
4758
4754
|
t(29, Ee = Object.keys(C).every((p) => s.includes(p) ? !0 : C[p] !== !1));
|
|
4759
|
-
},
|
|
4760
|
-
pe.email = X, ve.email.test(X) && X.length <= 100 ? t(4, b = !1) : t(4, b = !0), C.email = !b,
|
|
4755
|
+
}, Le = () => {
|
|
4756
|
+
pe.email = X, ve.email.test(X) && X.length <= 100 ? t(4, b = !1) : t(4, b = !0), C.email = !b, B();
|
|
4757
|
+
}, fr = () => {
|
|
4758
|
+
pe.username = k, ve.user.test(k) && k.length <= 20 ? t(5, w = !1) : t(5, w = !0), C.username = !w, B();
|
|
4761
4759
|
}, dr = () => {
|
|
4762
|
-
pe.username = k, ve.user.test(k) && k.length <= 20 ? t(5, _ = !1) : t(5, _ = !0), C.username = !_, H();
|
|
4763
|
-
}, mr = () => {
|
|
4764
4760
|
u == "true" && (ve.password = /^(?!.* ).{8,20}$/);
|
|
4765
|
-
},
|
|
4761
|
+
}, je = () => {
|
|
4766
4762
|
t(25, F = !0), j();
|
|
4763
|
+
}, Me = () => {
|
|
4764
|
+
t(26, Pe = !0), xe();
|
|
4767
4765
|
}, Re = () => {
|
|
4768
|
-
t(26, xe = !0), Ce();
|
|
4769
|
-
}, Ue = () => {
|
|
4770
4766
|
t(25, F = !1), j();
|
|
4771
|
-
},
|
|
4772
|
-
t(26,
|
|
4767
|
+
}, mr = () => {
|
|
4768
|
+
t(26, Pe = !1), xe();
|
|
4773
4769
|
}, j = () => {
|
|
4774
|
-
t(27,
|
|
4775
|
-
},
|
|
4776
|
-
t(28, ye.type =
|
|
4777
|
-
},
|
|
4778
|
-
pe.password = he, t(6, y =
|
|
4779
|
-
},
|
|
4780
|
-
pe.confirmUserPassword = ge, t(7, A = !
|
|
4781
|
-
},
|
|
4782
|
-
pe.promoCode =
|
|
4770
|
+
t(27, Te.type = F ? "text" : "password", Te);
|
|
4771
|
+
}, xe = () => {
|
|
4772
|
+
t(28, ye.type = Pe ? "text" : "password", ye);
|
|
4773
|
+
}, Ve = () => !!ve.password.test(he), $e = () => {
|
|
4774
|
+
pe.password = he, t(6, y = !Ve()), ge.length !== 0 && He(), C.password = !y, B();
|
|
4775
|
+
}, Hr = () => he === ge, He = () => {
|
|
4776
|
+
pe.confirmUserPassword = ge, t(7, A = !Hr()), C.confirmUserPassword = !A, B();
|
|
4777
|
+
}, gr = () => {
|
|
4778
|
+
pe.promoCode = Ae;
|
|
4783
4779
|
}, $ = () => {
|
|
4784
4780
|
if (pe.securityQuestion = ne, ne)
|
|
4785
4781
|
switch (g) {
|
|
4786
4782
|
case "true":
|
|
4787
4783
|
if (ve.document.test(ne) && ne.length <= 50) {
|
|
4788
|
-
t(8,
|
|
4784
|
+
t(8, O = !1), C.securityQuestion = !O, B();
|
|
4789
4785
|
return;
|
|
4790
4786
|
}
|
|
4791
4787
|
break;
|
|
4792
4788
|
case "false":
|
|
4793
4789
|
if (ne && ne.length <= 120) {
|
|
4794
|
-
t(8,
|
|
4790
|
+
t(8, O = !1), C.securityQuestion = !O, B();
|
|
4795
4791
|
return;
|
|
4796
4792
|
}
|
|
4797
4793
|
break;
|
|
4798
4794
|
}
|
|
4799
|
-
t(8,
|
|
4800
|
-
},
|
|
4795
|
+
t(8, O = !0), C.securityQuestion = !O, B();
|
|
4796
|
+
}, pr = () => {
|
|
4801
4797
|
if (pe.securityAnswer = V, V)
|
|
4802
4798
|
switch (g) {
|
|
4803
4799
|
case "true":
|
|
4804
4800
|
if (ve.document.test(V) && V.length <= 50) {
|
|
4805
|
-
t(9, M = !1), C.securityAnswer = !M,
|
|
4801
|
+
t(9, M = !1), C.securityAnswer = !M, B();
|
|
4806
4802
|
return;
|
|
4807
4803
|
}
|
|
4808
4804
|
break;
|
|
4809
4805
|
case "false":
|
|
4810
4806
|
if (V && V.length <= 120) {
|
|
4811
|
-
t(9, M = !1), C.securityAnswer = !M,
|
|
4807
|
+
t(9, M = !1), C.securityAnswer = !M, B();
|
|
4812
4808
|
return;
|
|
4813
4809
|
}
|
|
4814
4810
|
break;
|
|
4815
4811
|
}
|
|
4816
|
-
t(9, M = !0), C.securityAnswer = !M,
|
|
4817
|
-
},
|
|
4812
|
+
t(9, M = !0), C.securityAnswer = !M, B();
|
|
4813
|
+
}, Qe = (p) => {
|
|
4818
4814
|
p.preventDefault(), window.postMessage(
|
|
4819
4815
|
{
|
|
4820
4816
|
type: "RegisterStepOne",
|
|
@@ -4822,67 +4818,67 @@ function Ws(e, r, t) {
|
|
|
4822
4818
|
},
|
|
4823
4819
|
window.location.href
|
|
4824
4820
|
);
|
|
4825
|
-
},
|
|
4821
|
+
}, Ue = (p) => {
|
|
4826
4822
|
if (p.data)
|
|
4827
4823
|
switch (p.data.type) {
|
|
4828
4824
|
case "StepOneDataBackup":
|
|
4829
|
-
const
|
|
4830
|
-
for (const le in
|
|
4831
|
-
|
|
4825
|
+
const N = p.data.userData;
|
|
4826
|
+
for (const le in N)
|
|
4827
|
+
Tr(le, N[le]);
|
|
4832
4828
|
t(29, Ee = Object.keys(C).every((le) => s.includes(le) ? !0 : C[le] !== !1));
|
|
4833
4829
|
break;
|
|
4834
4830
|
}
|
|
4835
|
-
},
|
|
4836
|
-
t(17,
|
|
4837
|
-
},
|
|
4838
|
-
|
|
4831
|
+
}, Br = () => {
|
|
4832
|
+
t(17, Ge = s.split(","));
|
|
4833
|
+
}, we = () => {
|
|
4834
|
+
ks(n);
|
|
4839
4835
|
};
|
|
4840
|
-
Ri(() => (window.addEventListener("message",
|
|
4841
|
-
window.removeEventListener("message",
|
|
4836
|
+
Ri(() => (window.addEventListener("message", Ue, !1), () => {
|
|
4837
|
+
window.removeEventListener("message", Ue);
|
|
4842
4838
|
}));
|
|
4843
|
-
const
|
|
4844
|
-
function
|
|
4839
|
+
const ke = () => Oe();
|
|
4840
|
+
function ze() {
|
|
4845
4841
|
X = this.value, t(19, X);
|
|
4846
4842
|
}
|
|
4847
|
-
const
|
|
4848
|
-
function
|
|
4843
|
+
const br = () => t(10, R = !0), Ir = () => t(10, R = !1);
|
|
4844
|
+
function Nr() {
|
|
4849
4845
|
k = this.value, t(18, k);
|
|
4850
4846
|
}
|
|
4851
|
-
const se = () => t(11, ce = !0),
|
|
4852
|
-
function
|
|
4847
|
+
const se = () => t(11, ce = !0), Or = () => t(11, ce = !1);
|
|
4848
|
+
function Xe() {
|
|
4853
4849
|
he = this.value, t(20, he);
|
|
4854
4850
|
}
|
|
4855
|
-
const
|
|
4856
|
-
function
|
|
4857
|
-
|
|
4858
|
-
|
|
4851
|
+
const Lr = () => t(12, G = !0), fe = () => t(12, G = !1);
|
|
4852
|
+
function Be(p) {
|
|
4853
|
+
_r[p ? "unshift" : "push"](() => {
|
|
4854
|
+
Te = p, t(27, Te);
|
|
4859
4855
|
});
|
|
4860
4856
|
}
|
|
4861
|
-
const
|
|
4862
|
-
function
|
|
4857
|
+
const Ze = () => Re(), yr = () => je();
|
|
4858
|
+
function Mr() {
|
|
4863
4859
|
ge = this.value, t(21, ge);
|
|
4864
4860
|
}
|
|
4865
|
-
const
|
|
4861
|
+
const We = () => t(13, me = !0), Rr = () => t(13, me = !1);
|
|
4866
4862
|
function oe(p) {
|
|
4867
|
-
|
|
4863
|
+
_r[p ? "unshift" : "push"](() => {
|
|
4868
4864
|
ye = p, t(28, ye);
|
|
4869
4865
|
});
|
|
4870
4866
|
}
|
|
4871
|
-
const
|
|
4872
|
-
function
|
|
4873
|
-
|
|
4867
|
+
const Ur = () => mr(), qe = () => Me();
|
|
4868
|
+
function kr() {
|
|
4869
|
+
Ae = this.value, t(24, Ae);
|
|
4874
4870
|
}
|
|
4875
|
-
const de = () => t(16,
|
|
4876
|
-
function
|
|
4871
|
+
const de = () => t(16, Ce = !0), Ie = () => t(16, Ce = !1);
|
|
4872
|
+
function Je() {
|
|
4877
4873
|
ne = this.value, t(22, ne);
|
|
4878
4874
|
}
|
|
4879
|
-
const
|
|
4880
|
-
function
|
|
4875
|
+
const Er = () => t(14, U = !0), Fr = () => t(14, U = !1);
|
|
4876
|
+
function Ye() {
|
|
4881
4877
|
V = this.value, t(23, V);
|
|
4882
4878
|
}
|
|
4883
|
-
const
|
|
4884
|
-
function
|
|
4885
|
-
|
|
4879
|
+
const Dr = () => t(15, De = !0), ae = () => t(15, De = !1), Gr = (p) => Qe(p);
|
|
4880
|
+
function Ke(p) {
|
|
4881
|
+
_r[p ? "unshift" : "push"](() => {
|
|
4886
4882
|
Z = p, t(3, Z);
|
|
4887
4883
|
});
|
|
4888
4884
|
}
|
|
@@ -4890,106 +4886,106 @@ function Ws(e, r, t) {
|
|
|
4890
4886
|
"lang" in p && t(44, n = p.lang), "disabledfields" in p && t(45, s = p.disabledfields), "simplepasswordvalidation" in p && t(0, u = p.simplepasswordvalidation), "mbsource" in p && t(46, a = p.mbsource), "clientstyling" in p && t(47, f = p.clientstyling), "clientstylingurl" in p && t(48, c = p.clientstylingurl), "translationurl" in p && t(49, h = p.translationurl), "savecredentials" in p && t(1, m = p.savecredentials), "custominputtextswitch" in p && t(2, g = p.custominputtextswitch);
|
|
4891
4887
|
}, e.$$.update = () => {
|
|
4892
4888
|
e.$$.dirty[1] & /*lang*/
|
|
4893
|
-
8192 && n &&
|
|
4894
|
-
16384 && s &&
|
|
4895
|
-
1 && u &&
|
|
4889
|
+
8192 && n && we(), e.$$.dirty[1] & /*disabledfields*/
|
|
4890
|
+
16384 && s && Br(), e.$$.dirty[0] & /*simplepasswordvalidation*/
|
|
4891
|
+
1 && u && dr(), e.$$.dirty[0] & /*customStylingContainer*/
|
|
4896
4892
|
8 | e.$$.dirty[1] & /*clientstyling*/
|
|
4897
|
-
65536 && f && Z &&
|
|
4893
|
+
65536 && f && Z && Fs(Z, f), e.$$.dirty[0] & /*customStylingContainer*/
|
|
4898
4894
|
8 | e.$$.dirty[1] & /*clientstylingurl*/
|
|
4899
|
-
131072 && c && Z &&
|
|
4895
|
+
131072 && c && Z && Ds(Z, c), e.$$.dirty[0] & /*customStylingContainer*/
|
|
4900
4896
|
8 | e.$$.dirty[1] & /*mbsource*/
|
|
4901
|
-
32768 && a && Z &&
|
|
4902
|
-
262144 && h &&
|
|
4897
|
+
32768 && a && Z && Gs(Z, `${a}.Style`), e.$$.dirty[1] & /*translationurl*/
|
|
4898
|
+
262144 && h && Ar();
|
|
4903
4899
|
}, [
|
|
4904
4900
|
u,
|
|
4905
4901
|
m,
|
|
4906
4902
|
g,
|
|
4907
4903
|
Z,
|
|
4908
4904
|
b,
|
|
4909
|
-
|
|
4905
|
+
w,
|
|
4910
4906
|
y,
|
|
4911
4907
|
A,
|
|
4912
|
-
|
|
4908
|
+
O,
|
|
4913
4909
|
M,
|
|
4914
4910
|
R,
|
|
4915
4911
|
ce,
|
|
4916
4912
|
G,
|
|
4917
4913
|
me,
|
|
4918
4914
|
U,
|
|
4915
|
+
De,
|
|
4916
|
+
Ce,
|
|
4919
4917
|
Ge,
|
|
4920
|
-
Ae,
|
|
4921
|
-
je,
|
|
4922
4918
|
k,
|
|
4923
4919
|
X,
|
|
4924
4920
|
he,
|
|
4925
4921
|
ge,
|
|
4926
4922
|
ne,
|
|
4927
4923
|
V,
|
|
4928
|
-
|
|
4924
|
+
Ae,
|
|
4929
4925
|
F,
|
|
4930
|
-
|
|
4931
|
-
|
|
4926
|
+
Pe,
|
|
4927
|
+
Te,
|
|
4932
4928
|
ye,
|
|
4933
4929
|
Ee,
|
|
4934
4930
|
i,
|
|
4931
|
+
Oe,
|
|
4935
4932
|
Le,
|
|
4933
|
+
fr,
|
|
4934
|
+
je,
|
|
4936
4935
|
Me,
|
|
4937
|
-
dr,
|
|
4938
|
-
Ve,
|
|
4939
4936
|
Re,
|
|
4940
|
-
|
|
4937
|
+
mr,
|
|
4938
|
+
$e,
|
|
4939
|
+
He,
|
|
4941
4940
|
gr,
|
|
4942
|
-
Qe,
|
|
4943
|
-
Be,
|
|
4944
|
-
pr,
|
|
4945
4941
|
$,
|
|
4946
|
-
|
|
4947
|
-
|
|
4942
|
+
pr,
|
|
4943
|
+
Qe,
|
|
4948
4944
|
n,
|
|
4949
4945
|
s,
|
|
4950
4946
|
a,
|
|
4951
4947
|
f,
|
|
4952
4948
|
c,
|
|
4953
4949
|
h,
|
|
4954
|
-
|
|
4955
|
-
|
|
4956
|
-
|
|
4950
|
+
ke,
|
|
4951
|
+
ze,
|
|
4952
|
+
br,
|
|
4953
|
+
Ir,
|
|
4957
4954
|
Nr,
|
|
4958
|
-
Or,
|
|
4959
4955
|
se,
|
|
4956
|
+
Or,
|
|
4957
|
+
Xe,
|
|
4960
4958
|
Lr,
|
|
4959
|
+
fe,
|
|
4960
|
+
Be,
|
|
4961
4961
|
Ze,
|
|
4962
|
+
yr,
|
|
4962
4963
|
Mr,
|
|
4963
|
-
fe,
|
|
4964
|
-
Ie,
|
|
4965
4964
|
We,
|
|
4966
|
-
Er,
|
|
4967
4965
|
Rr,
|
|
4968
|
-
qe,
|
|
4969
|
-
Ur,
|
|
4970
4966
|
oe,
|
|
4967
|
+
Ur,
|
|
4968
|
+
qe,
|
|
4971
4969
|
kr,
|
|
4970
|
+
de,
|
|
4971
|
+
Ie,
|
|
4972
4972
|
Je,
|
|
4973
|
+
Er,
|
|
4973
4974
|
Fr,
|
|
4974
|
-
de,
|
|
4975
|
-
Ne,
|
|
4976
4975
|
Ye,
|
|
4977
|
-
vr,
|
|
4978
4976
|
Dr,
|
|
4979
|
-
Ke,
|
|
4980
|
-
Gr,
|
|
4981
4977
|
ae,
|
|
4982
|
-
|
|
4983
|
-
|
|
4978
|
+
Gr,
|
|
4979
|
+
Ke
|
|
4984
4980
|
];
|
|
4985
4981
|
}
|
|
4986
|
-
class
|
|
4982
|
+
class Ws extends Zi {
|
|
4987
4983
|
constructor(r) {
|
|
4988
4984
|
super(), zi(
|
|
4989
4985
|
this,
|
|
4990
4986
|
r,
|
|
4991
|
-
Ws,
|
|
4992
4987
|
Zs,
|
|
4988
|
+
Xs,
|
|
4993
4989
|
ri,
|
|
4994
4990
|
{
|
|
4995
4991
|
lang: 44,
|
|
@@ -5002,7 +4998,7 @@ class qs extends Zi {
|
|
|
5002
4998
|
savecredentials: 1,
|
|
5003
4999
|
custominputtextswitch: 2
|
|
5004
5000
|
},
|
|
5005
|
-
|
|
5001
|
+
js,
|
|
5006
5002
|
[-1, -1, -1, -1]
|
|
5007
5003
|
);
|
|
5008
5004
|
}
|
|
@@ -5061,7 +5057,7 @@ class qs extends Zi {
|
|
|
5061
5057
|
this.$$set({ custominputtextswitch: r }), be();
|
|
5062
5058
|
}
|
|
5063
5059
|
}
|
|
5064
|
-
Xi(
|
|
5060
|
+
Xi(Ws, { lang: {}, disabledfields: {}, simplepasswordvalidation: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, savecredentials: {}, custominputtextswitch: {} }, [], [], !0);
|
|
5065
5061
|
export {
|
|
5066
|
-
|
|
5062
|
+
Ws as G
|
|
5067
5063
|
};
|