@everymatrix/general-player-register-form-step1 1.54.12 → 1.56.0
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-CZYzQF86.js → GeneralPlayerRegisterFormStep1-CzBIdYyE.js} +814 -798
- package/components/{GeneralPlayerRegisterFormStep1-CYDwnQuK.js → GeneralPlayerRegisterFormStep1-DGWK-Fld.js} +792 -776
- package/components/{GeneralPlayerRegisterFormStep1-oZDxbUpk.cjs → GeneralPlayerRegisterFormStep1-Dgzyl0Td.cjs} +2 -2
- 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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function
|
|
1
|
+
function z() {
|
|
2
2
|
}
|
|
3
3
|
function Yt(e) {
|
|
4
4
|
return e();
|
|
@@ -6,23 +6,23 @@ function Yt(e) {
|
|
|
6
6
|
function Tt() {
|
|
7
7
|
return /* @__PURE__ */ Object.create(null);
|
|
8
8
|
}
|
|
9
|
-
function
|
|
9
|
+
function lr(e) {
|
|
10
10
|
e.forEach(Yt);
|
|
11
11
|
}
|
|
12
|
-
function
|
|
12
|
+
function _t(e) {
|
|
13
13
|
return typeof e == "function";
|
|
14
14
|
}
|
|
15
15
|
function Kt(e, r) {
|
|
16
16
|
return e != e ? r == r : e !== r || e && typeof e == "object" || typeof e == "function";
|
|
17
17
|
}
|
|
18
|
-
function
|
|
18
|
+
function Ci(e) {
|
|
19
19
|
return Object.keys(e).length === 0;
|
|
20
20
|
}
|
|
21
21
|
function ei(e, ...r) {
|
|
22
22
|
if (e == null) {
|
|
23
23
|
for (const i of r)
|
|
24
24
|
i(void 0);
|
|
25
|
-
return
|
|
25
|
+
return z;
|
|
26
26
|
}
|
|
27
27
|
const t = e.subscribe(...r);
|
|
28
28
|
return t.unsubscribe ? () => t.unsubscribe() : t;
|
|
@@ -37,7 +37,7 @@ function Ti(e, r, t) {
|
|
|
37
37
|
const i = Hi(e);
|
|
38
38
|
if (!i.getElementById(r)) {
|
|
39
39
|
const n = E("style");
|
|
40
|
-
n.id = r, n.textContent = t,
|
|
40
|
+
n.id = r, n.textContent = t, Bi(i, n);
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
43
|
function Hi(e) {
|
|
@@ -49,30 +49,30 @@ function Hi(e) {
|
|
|
49
49
|
r
|
|
50
50
|
) : e.ownerDocument;
|
|
51
51
|
}
|
|
52
|
-
function
|
|
52
|
+
function Bi(e, r) {
|
|
53
53
|
return l(
|
|
54
54
|
/** @type {Document} */
|
|
55
55
|
e.head || e,
|
|
56
56
|
r
|
|
57
57
|
), r.sheet;
|
|
58
58
|
}
|
|
59
|
-
function
|
|
59
|
+
function ue(e, r, t) {
|
|
60
60
|
e.insertBefore(r, t || null);
|
|
61
61
|
}
|
|
62
|
-
function
|
|
62
|
+
function ie(e) {
|
|
63
63
|
e.parentNode && e.parentNode.removeChild(e);
|
|
64
64
|
}
|
|
65
65
|
function E(e) {
|
|
66
66
|
return document.createElement(e);
|
|
67
67
|
}
|
|
68
|
-
function
|
|
68
|
+
function _(e) {
|
|
69
69
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
70
70
|
}
|
|
71
|
-
function
|
|
71
|
+
function H(e) {
|
|
72
72
|
return document.createTextNode(e);
|
|
73
73
|
}
|
|
74
|
-
function
|
|
75
|
-
return
|
|
74
|
+
function I() {
|
|
75
|
+
return H(" ");
|
|
76
76
|
}
|
|
77
77
|
function x(e, r, t, i) {
|
|
78
78
|
return e.addEventListener(r, t, i), () => e.removeEventListener(r, t, i);
|
|
@@ -80,14 +80,14 @@ function x(e, r, t, i) {
|
|
|
80
80
|
function o(e, r, t) {
|
|
81
81
|
t == null ? e.removeAttribute(r) : e.getAttribute(r) !== t && e.setAttribute(r, t);
|
|
82
82
|
}
|
|
83
|
-
function
|
|
83
|
+
function Ii(e) {
|
|
84
84
|
return Array.from(e.childNodes);
|
|
85
85
|
}
|
|
86
|
-
function
|
|
86
|
+
function D(e, r) {
|
|
87
87
|
r = "" + r, e.data !== r && (e.data = /** @type {string} */
|
|
88
88
|
r);
|
|
89
89
|
}
|
|
90
|
-
function
|
|
90
|
+
function te(e, r) {
|
|
91
91
|
e.value = r ?? "";
|
|
92
92
|
}
|
|
93
93
|
function Ni(e) {
|
|
@@ -99,63 +99,63 @@ function Ni(e) {
|
|
|
99
99
|
}
|
|
100
100
|
), r;
|
|
101
101
|
}
|
|
102
|
-
let
|
|
103
|
-
function
|
|
104
|
-
|
|
102
|
+
let Sr;
|
|
103
|
+
function wr(e) {
|
|
104
|
+
Sr = e;
|
|
105
105
|
}
|
|
106
106
|
function Oi() {
|
|
107
|
-
if (!
|
|
108
|
-
return
|
|
107
|
+
if (!Sr) throw new Error("Function called outside component initialization");
|
|
108
|
+
return Sr;
|
|
109
109
|
}
|
|
110
110
|
function Li(e) {
|
|
111
111
|
Oi().$$.on_mount.push(e);
|
|
112
112
|
}
|
|
113
|
-
const
|
|
114
|
-
let
|
|
113
|
+
const tr = [], _r = [];
|
|
114
|
+
let ir = [];
|
|
115
115
|
const Ht = [], Mi = /* @__PURE__ */ Promise.resolve();
|
|
116
116
|
let ht = !1;
|
|
117
117
|
function Ri() {
|
|
118
|
-
ht || (ht = !0, Mi.then(
|
|
118
|
+
ht || (ht = !0, Mi.then(be));
|
|
119
119
|
}
|
|
120
120
|
function ft(e) {
|
|
121
|
-
|
|
121
|
+
ir.push(e);
|
|
122
122
|
}
|
|
123
123
|
const nt = /* @__PURE__ */ new Set();
|
|
124
|
-
let
|
|
125
|
-
function
|
|
126
|
-
if (
|
|
124
|
+
let er = 0;
|
|
125
|
+
function be() {
|
|
126
|
+
if (er !== 0)
|
|
127
127
|
return;
|
|
128
|
-
const e =
|
|
128
|
+
const e = Sr;
|
|
129
129
|
do {
|
|
130
130
|
try {
|
|
131
|
-
for (;
|
|
132
|
-
const r =
|
|
133
|
-
|
|
131
|
+
for (; er < tr.length; ) {
|
|
132
|
+
const r = tr[er];
|
|
133
|
+
er++, wr(r), Ui(r.$$);
|
|
134
134
|
}
|
|
135
135
|
} catch (r) {
|
|
136
|
-
throw
|
|
136
|
+
throw tr.length = 0, er = 0, r;
|
|
137
137
|
}
|
|
138
|
-
for (
|
|
139
|
-
for (let r = 0; r <
|
|
140
|
-
const t =
|
|
138
|
+
for (wr(null), tr.length = 0, er = 0; _r.length; ) _r.pop()();
|
|
139
|
+
for (let r = 0; r < ir.length; r += 1) {
|
|
140
|
+
const t = ir[r];
|
|
141
141
|
nt.has(t) || (nt.add(t), t());
|
|
142
142
|
}
|
|
143
|
-
|
|
144
|
-
} while (
|
|
143
|
+
ir.length = 0;
|
|
144
|
+
} while (tr.length);
|
|
145
145
|
for (; Ht.length; )
|
|
146
146
|
Ht.pop()();
|
|
147
|
-
ht = !1, nt.clear(),
|
|
147
|
+
ht = !1, nt.clear(), wr(e);
|
|
148
148
|
}
|
|
149
149
|
function Ui(e) {
|
|
150
150
|
if (e.fragment !== null) {
|
|
151
|
-
e.update(),
|
|
151
|
+
e.update(), lr(e.before_update);
|
|
152
152
|
const r = e.dirty;
|
|
153
153
|
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, r), e.after_update.forEach(ft);
|
|
154
154
|
}
|
|
155
155
|
}
|
|
156
156
|
function ki(e) {
|
|
157
157
|
const r = [], t = [];
|
|
158
|
-
|
|
158
|
+
ir.forEach((i) => e.indexOf(i) === -1 ? r.push(i) : t.push(i)), t.forEach((i) => i()), ir = r;
|
|
159
159
|
}
|
|
160
160
|
const Fi = /* @__PURE__ */ new Set();
|
|
161
161
|
function Di(e, r) {
|
|
@@ -164,26 +164,26 @@ function Di(e, r) {
|
|
|
164
164
|
function Gi(e, r, t) {
|
|
165
165
|
const { fragment: i, after_update: n } = e.$$;
|
|
166
166
|
i && i.m(r, t), ft(() => {
|
|
167
|
-
const s = e.$$.on_mount.map(Yt).filter(
|
|
168
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...s) :
|
|
167
|
+
const s = e.$$.on_mount.map(Yt).filter(_t);
|
|
168
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : lr(s), e.$$.on_mount = [];
|
|
169
169
|
}), n.forEach(ft);
|
|
170
170
|
}
|
|
171
171
|
function ji(e, r) {
|
|
172
172
|
const t = e.$$;
|
|
173
|
-
t.fragment !== null && (ki(t.after_update),
|
|
173
|
+
t.fragment !== null && (ki(t.after_update), lr(t.on_destroy), t.fragment && t.fragment.d(r), t.on_destroy = t.fragment = null, t.ctx = []);
|
|
174
174
|
}
|
|
175
175
|
function Vi(e, r) {
|
|
176
|
-
e.$$.dirty[0] === -1 && (
|
|
176
|
+
e.$$.dirty[0] === -1 && (tr.push(e), Ri(), e.$$.dirty.fill(0)), e.$$.dirty[r / 31 | 0] |= 1 << r % 31;
|
|
177
177
|
}
|
|
178
178
|
function $i(e, r, t, i, n, s, u = null, a = [-1]) {
|
|
179
|
-
const f =
|
|
180
|
-
|
|
179
|
+
const f = Sr;
|
|
180
|
+
wr(e);
|
|
181
181
|
const c = e.$$ = {
|
|
182
182
|
fragment: null,
|
|
183
183
|
ctx: [],
|
|
184
184
|
// state
|
|
185
185
|
props: s,
|
|
186
|
-
update:
|
|
186
|
+
update: z,
|
|
187
187
|
not_equal: n,
|
|
188
188
|
bound: Tt(),
|
|
189
189
|
// lifecycle
|
|
@@ -202,17 +202,17 @@ function $i(e, r, t, i, n, s, u = null, a = [-1]) {
|
|
|
202
202
|
u && u(c.root);
|
|
203
203
|
let h = !1;
|
|
204
204
|
if (c.ctx = t ? t(e, r.props || {}, (m, g, ...b) => {
|
|
205
|
-
const
|
|
206
|
-
return c.ctx && n(c.ctx[m], c.ctx[m] =
|
|
207
|
-
}) : [], c.update(), h = !0,
|
|
205
|
+
const w = b.length ? b[0] : g;
|
|
206
|
+
return c.ctx && n(c.ctx[m], c.ctx[m] = w) && (!c.skip_bound && c.bound[m] && c.bound[m](w), h && Vi(e, m)), g;
|
|
207
|
+
}) : [], c.update(), h = !0, lr(c.before_update), c.fragment = i ? i(c.ctx) : !1, r.target) {
|
|
208
208
|
if (r.hydrate) {
|
|
209
|
-
const m =
|
|
210
|
-
c.fragment && c.fragment.l(m), m.forEach(
|
|
209
|
+
const m = Ii(r.target);
|
|
210
|
+
c.fragment && c.fragment.l(m), m.forEach(ie);
|
|
211
211
|
} else
|
|
212
212
|
c.fragment && c.fragment.c();
|
|
213
|
-
r.intro && Di(e.$$.fragment), Gi(e, r.target, r.anchor),
|
|
213
|
+
r.intro && Di(e.$$.fragment), Gi(e, r.target, r.anchor), be();
|
|
214
214
|
}
|
|
215
|
-
|
|
215
|
+
wr(f);
|
|
216
216
|
}
|
|
217
217
|
let ri;
|
|
218
218
|
typeof HTMLElement == "function" && (ri = class extends HTMLElement {
|
|
@@ -264,10 +264,10 @@ typeof HTMLElement == "function" && (ri = class extends HTMLElement {
|
|
|
264
264
|
* @param {HTMLElement} [anchor]
|
|
265
265
|
*/
|
|
266
266
|
m: function(f, c) {
|
|
267
|
-
|
|
267
|
+
ue(f, s, c);
|
|
268
268
|
},
|
|
269
269
|
d: function(f) {
|
|
270
|
-
f &&
|
|
270
|
+
f && ie(s);
|
|
271
271
|
}
|
|
272
272
|
};
|
|
273
273
|
};
|
|
@@ -279,7 +279,7 @@ typeof HTMLElement == "function" && (ri = class extends HTMLElement {
|
|
|
279
279
|
n in t && (r[n] = [e(n)]);
|
|
280
280
|
for (const n of this.attributes) {
|
|
281
281
|
const s = this.$$g_p(n.name);
|
|
282
|
-
s in this.$$d || (this.$$d[s] =
|
|
282
|
+
s in this.$$d || (this.$$d[s] = zr(s, n.value, this.$$p_d, "toProp"));
|
|
283
283
|
}
|
|
284
284
|
for (const n in this.$$p_d)
|
|
285
285
|
!(n in this.$$d) && this[n] !== void 0 && (this.$$d[n] = this[n], delete this[n]);
|
|
@@ -297,7 +297,7 @@ typeof HTMLElement == "function" && (ri = class extends HTMLElement {
|
|
|
297
297
|
this.$$r = !0;
|
|
298
298
|
for (const n in this.$$p_d)
|
|
299
299
|
if (this.$$d[n] = this.$$c.$$.ctx[this.$$c.$$.props[n]], this.$$p_d[n].reflect) {
|
|
300
|
-
const s =
|
|
300
|
+
const s = zr(
|
|
301
301
|
n,
|
|
302
302
|
this.$$d[n],
|
|
303
303
|
this.$$p_d,
|
|
@@ -319,7 +319,7 @@ typeof HTMLElement == "function" && (ri = class extends HTMLElement {
|
|
|
319
319
|
// We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
|
|
320
320
|
// and setting attributes through setAttribute etc, this is helpful
|
|
321
321
|
attributeChangedCallback(e, r, t) {
|
|
322
|
-
this.$$r || (e = this.$$g_p(e), this.$$d[e] =
|
|
322
|
+
this.$$r || (e = this.$$g_p(e), this.$$d[e] = zr(e, t, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
|
|
323
323
|
}
|
|
324
324
|
disconnectedCallback() {
|
|
325
325
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -332,7 +332,7 @@ typeof HTMLElement == "function" && (ri = class extends HTMLElement {
|
|
|
332
332
|
) || e;
|
|
333
333
|
}
|
|
334
334
|
});
|
|
335
|
-
function
|
|
335
|
+
function zr(e, r, t, i) {
|
|
336
336
|
const n = t[e]?.type;
|
|
337
337
|
if (r = n === "Boolean" && typeof r != "boolean" ? r != null : r, !i || !t[e])
|
|
338
338
|
return r;
|
|
@@ -378,7 +378,7 @@ function Qi(e, r, t, i, n, s) {
|
|
|
378
378
|
return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
|
|
379
379
|
},
|
|
380
380
|
set(f) {
|
|
381
|
-
f =
|
|
381
|
+
f = zr(a, f, r), this.$$d[a] = f, this.$$c?.$set({ [a]: f });
|
|
382
382
|
}
|
|
383
383
|
});
|
|
384
384
|
}), i.forEach((a) => {
|
|
@@ -409,7 +409,7 @@ class zi {
|
|
|
409
409
|
$$set = void 0;
|
|
410
410
|
/** @returns {void} */
|
|
411
411
|
$destroy() {
|
|
412
|
-
ji(this, 1), this.$destroy =
|
|
412
|
+
ji(this, 1), this.$destroy = z;
|
|
413
413
|
}
|
|
414
414
|
/**
|
|
415
415
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -418,8 +418,8 @@ class zi {
|
|
|
418
418
|
* @returns {() => void}
|
|
419
419
|
*/
|
|
420
420
|
$on(r, t) {
|
|
421
|
-
if (!
|
|
422
|
-
return
|
|
421
|
+
if (!_t(t))
|
|
422
|
+
return z;
|
|
423
423
|
const i = this.$$.callbacks[r] || (this.$$.callbacks[r] = []);
|
|
424
424
|
return i.push(t), () => {
|
|
425
425
|
const n = i.indexOf(t);
|
|
@@ -431,44 +431,44 @@ class zi {
|
|
|
431
431
|
* @returns {void}
|
|
432
432
|
*/
|
|
433
433
|
$set(r) {
|
|
434
|
-
this.$$set && !
|
|
434
|
+
this.$$set && !Ci(r) && (this.$$.skip_bound = !0, this.$$set(r), this.$$.skip_bound = !1);
|
|
435
435
|
}
|
|
436
436
|
}
|
|
437
437
|
const Xi = "4";
|
|
438
438
|
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Xi);
|
|
439
|
-
const
|
|
439
|
+
const rr = [];
|
|
440
440
|
function Zi(e, r) {
|
|
441
441
|
return {
|
|
442
|
-
subscribe:
|
|
442
|
+
subscribe: Jr(e, r).subscribe
|
|
443
443
|
};
|
|
444
444
|
}
|
|
445
|
-
function
|
|
445
|
+
function Jr(e, r = z) {
|
|
446
446
|
let t;
|
|
447
447
|
const i = /* @__PURE__ */ new Set();
|
|
448
448
|
function n(a) {
|
|
449
449
|
if (Kt(e, a) && (e = a, t)) {
|
|
450
|
-
const f = !
|
|
450
|
+
const f = !rr.length;
|
|
451
451
|
for (const c of i)
|
|
452
|
-
c[1](),
|
|
452
|
+
c[1](), rr.push(c, e);
|
|
453
453
|
if (f) {
|
|
454
|
-
for (let c = 0; c <
|
|
455
|
-
|
|
456
|
-
|
|
454
|
+
for (let c = 0; c < rr.length; c += 2)
|
|
455
|
+
rr[c][0](rr[c + 1]);
|
|
456
|
+
rr.length = 0;
|
|
457
457
|
}
|
|
458
458
|
}
|
|
459
459
|
}
|
|
460
460
|
function s(a) {
|
|
461
461
|
n(a(e));
|
|
462
462
|
}
|
|
463
|
-
function u(a, f =
|
|
463
|
+
function u(a, f = z) {
|
|
464
464
|
const c = [a, f];
|
|
465
|
-
return i.add(c), i.size === 1 && (t = r(n, s) ||
|
|
465
|
+
return i.add(c), i.size === 1 && (t = r(n, s) || z), a(e), () => {
|
|
466
466
|
i.delete(c), i.size === 0 && t && (t(), t = null);
|
|
467
467
|
};
|
|
468
468
|
}
|
|
469
469
|
return { set: n, update: s, subscribe: u };
|
|
470
470
|
}
|
|
471
|
-
function
|
|
471
|
+
function ur(e, r, t) {
|
|
472
472
|
const i = !Array.isArray(e), n = i ? [e] : e;
|
|
473
473
|
if (!n.every(Boolean))
|
|
474
474
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
@@ -476,18 +476,18 @@ function cr(e, r, t) {
|
|
|
476
476
|
return Zi(t, (u, a) => {
|
|
477
477
|
let f = !1;
|
|
478
478
|
const c = [];
|
|
479
|
-
let h = 0, m =
|
|
479
|
+
let h = 0, m = z;
|
|
480
480
|
const g = () => {
|
|
481
481
|
if (h)
|
|
482
482
|
return;
|
|
483
483
|
m();
|
|
484
|
-
const
|
|
485
|
-
s ? u(
|
|
484
|
+
const w = r(i ? c[0] : c, u, a);
|
|
485
|
+
s ? u(w) : m = _t(w) ? w : z;
|
|
486
486
|
}, b = n.map(
|
|
487
|
-
(
|
|
488
|
-
|
|
489
|
-
(
|
|
490
|
-
c[y] =
|
|
487
|
+
(w, y) => ei(
|
|
488
|
+
w,
|
|
489
|
+
(A) => {
|
|
490
|
+
c[y] = A, h &= ~(1 << y), f && g();
|
|
491
491
|
},
|
|
492
492
|
() => {
|
|
493
493
|
h |= 1 << y;
|
|
@@ -495,7 +495,7 @@ function cr(e, r, t) {
|
|
|
495
495
|
)
|
|
496
496
|
);
|
|
497
497
|
return f = !0, g(), function() {
|
|
498
|
-
|
|
498
|
+
lr(b), m(), f = !1;
|
|
499
499
|
};
|
|
500
500
|
});
|
|
501
501
|
}
|
|
@@ -519,26 +519,26 @@ function rn(e) {
|
|
|
519
519
|
function tn(e) {
|
|
520
520
|
return Array.isArray(e) ? [] : {};
|
|
521
521
|
}
|
|
522
|
-
function
|
|
523
|
-
return r.clone !== !1 && r.isMergeableObject(e) ?
|
|
522
|
+
function Pr(e, r) {
|
|
523
|
+
return r.clone !== !1 && r.isMergeableObject(e) ? nr(tn(e), e, r) : e;
|
|
524
524
|
}
|
|
525
525
|
function nn(e, r, t) {
|
|
526
526
|
return e.concat(r).map(function(i) {
|
|
527
|
-
return
|
|
527
|
+
return Pr(i, t);
|
|
528
528
|
});
|
|
529
529
|
}
|
|
530
530
|
function sn(e, r) {
|
|
531
531
|
if (!r.customMerge)
|
|
532
|
-
return
|
|
532
|
+
return nr;
|
|
533
533
|
var t = r.customMerge(e);
|
|
534
|
-
return typeof t == "function" ? t :
|
|
534
|
+
return typeof t == "function" ? t : nr;
|
|
535
535
|
}
|
|
536
536
|
function on(e) {
|
|
537
537
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(r) {
|
|
538
538
|
return Object.propertyIsEnumerable.call(e, r);
|
|
539
539
|
}) : [];
|
|
540
540
|
}
|
|
541
|
-
function
|
|
541
|
+
function Bt(e) {
|
|
542
542
|
return Object.keys(e).concat(on(e));
|
|
543
543
|
}
|
|
544
544
|
function ti(e, r) {
|
|
@@ -553,25 +553,25 @@ function an(e, r) {
|
|
|
553
553
|
}
|
|
554
554
|
function ln(e, r, t) {
|
|
555
555
|
var i = {};
|
|
556
|
-
return t.isMergeableObject(e) &&
|
|
557
|
-
i[n] =
|
|
558
|
-
}),
|
|
559
|
-
an(e, n) || (ti(e, n) && t.isMergeableObject(r[n]) ? i[n] = sn(n, t)(e[n], r[n], t) : i[n] =
|
|
556
|
+
return t.isMergeableObject(e) && Bt(e).forEach(function(n) {
|
|
557
|
+
i[n] = Pr(e[n], t);
|
|
558
|
+
}), Bt(r).forEach(function(n) {
|
|
559
|
+
an(e, n) || (ti(e, n) && t.isMergeableObject(r[n]) ? i[n] = sn(n, t)(e[n], r[n], t) : i[n] = Pr(r[n], t));
|
|
560
560
|
}), i;
|
|
561
561
|
}
|
|
562
|
-
function
|
|
563
|
-
t = t || {}, t.arrayMerge = t.arrayMerge || nn, t.isMergeableObject = t.isMergeableObject || qi, t.cloneUnlessOtherwiseSpecified =
|
|
562
|
+
function nr(e, r, t) {
|
|
563
|
+
t = t || {}, t.arrayMerge = t.arrayMerge || nn, t.isMergeableObject = t.isMergeableObject || qi, t.cloneUnlessOtherwiseSpecified = Pr;
|
|
564
564
|
var i = Array.isArray(r), n = Array.isArray(e), s = i === n;
|
|
565
|
-
return s ? i ? t.arrayMerge(e, r, t) : ln(e, r, t) :
|
|
565
|
+
return s ? i ? t.arrayMerge(e, r, t) : ln(e, r, t) : Pr(r, t);
|
|
566
566
|
}
|
|
567
|
-
|
|
567
|
+
nr.all = function(r, t) {
|
|
568
568
|
if (!Array.isArray(r))
|
|
569
569
|
throw new Error("first argument should be an array");
|
|
570
570
|
return r.reduce(function(i, n) {
|
|
571
|
-
return
|
|
571
|
+
return nr(i, n, t);
|
|
572
572
|
}, {});
|
|
573
573
|
};
|
|
574
|
-
var un =
|
|
574
|
+
var un = nr, cn = un;
|
|
575
575
|
const hn = /* @__PURE__ */ Wi(cn);
|
|
576
576
|
var dt = function(e, r) {
|
|
577
577
|
return dt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(t, i) {
|
|
@@ -580,7 +580,7 @@ var dt = function(e, r) {
|
|
|
580
580
|
for (var n in i) Object.prototype.hasOwnProperty.call(i, n) && (t[n] = i[n]);
|
|
581
581
|
}, dt(e, r);
|
|
582
582
|
};
|
|
583
|
-
function
|
|
583
|
+
function Yr(e, r) {
|
|
584
584
|
if (typeof r != "function" && r !== null)
|
|
585
585
|
throw new TypeError("Class extends value " + String(r) + " is not a constructor or null");
|
|
586
586
|
dt(e, r);
|
|
@@ -589,14 +589,14 @@ function Kr(e, r) {
|
|
|
589
589
|
}
|
|
590
590
|
e.prototype = r === null ? Object.create(r) : (t.prototype = r.prototype, new t());
|
|
591
591
|
}
|
|
592
|
-
var
|
|
593
|
-
return
|
|
592
|
+
var T = function() {
|
|
593
|
+
return T = Object.assign || function(r) {
|
|
594
594
|
for (var t, i = 1, n = arguments.length; i < n; i++) {
|
|
595
595
|
t = arguments[i];
|
|
596
596
|
for (var s in t) Object.prototype.hasOwnProperty.call(t, s) && (r[s] = t[s]);
|
|
597
597
|
}
|
|
598
598
|
return r;
|
|
599
|
-
},
|
|
599
|
+
}, T.apply(this, arguments);
|
|
600
600
|
};
|
|
601
601
|
function fn(e, r) {
|
|
602
602
|
var t = {};
|
|
@@ -659,55 +659,55 @@ var bn = function() {
|
|
|
659
659
|
}
|
|
660
660
|
}, at = {
|
|
661
661
|
variadic: pn
|
|
662
|
-
},
|
|
662
|
+
}, S;
|
|
663
663
|
(function(e) {
|
|
664
664
|
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";
|
|
665
|
-
})(
|
|
666
|
-
var
|
|
665
|
+
})(S || (S = {}));
|
|
666
|
+
var L;
|
|
667
667
|
(function(e) {
|
|
668
668
|
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";
|
|
669
|
-
})(
|
|
670
|
-
var
|
|
669
|
+
})(L || (L = {}));
|
|
670
|
+
var sr;
|
|
671
671
|
(function(e) {
|
|
672
672
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
673
|
-
})(
|
|
674
|
-
function
|
|
675
|
-
return e.type ===
|
|
673
|
+
})(sr || (sr = {}));
|
|
674
|
+
function It(e) {
|
|
675
|
+
return e.type === L.literal;
|
|
676
676
|
}
|
|
677
677
|
function vn(e) {
|
|
678
|
-
return e.type ===
|
|
678
|
+
return e.type === L.argument;
|
|
679
679
|
}
|
|
680
680
|
function si(e) {
|
|
681
|
-
return e.type ===
|
|
681
|
+
return e.type === L.number;
|
|
682
682
|
}
|
|
683
683
|
function oi(e) {
|
|
684
|
-
return e.type ===
|
|
684
|
+
return e.type === L.date;
|
|
685
685
|
}
|
|
686
686
|
function ai(e) {
|
|
687
|
-
return e.type ===
|
|
687
|
+
return e.type === L.time;
|
|
688
688
|
}
|
|
689
689
|
function li(e) {
|
|
690
|
-
return e.type ===
|
|
690
|
+
return e.type === L.select;
|
|
691
691
|
}
|
|
692
692
|
function ui(e) {
|
|
693
|
-
return e.type ===
|
|
693
|
+
return e.type === L.plural;
|
|
694
694
|
}
|
|
695
|
-
function
|
|
696
|
-
return e.type ===
|
|
695
|
+
function wn(e) {
|
|
696
|
+
return e.type === L.pound;
|
|
697
697
|
}
|
|
698
698
|
function ci(e) {
|
|
699
|
-
return e.type ===
|
|
699
|
+
return e.type === L.tag;
|
|
700
700
|
}
|
|
701
701
|
function hi(e) {
|
|
702
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
702
|
+
return !!(e && typeof e == "object" && e.type === sr.number);
|
|
703
703
|
}
|
|
704
704
|
function mt(e) {
|
|
705
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
705
|
+
return !!(e && typeof e == "object" && e.type === sr.dateTime);
|
|
706
706
|
}
|
|
707
|
-
var fi = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,
|
|
707
|
+
var fi = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, _n = /(?:[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;
|
|
708
708
|
function Sn(e) {
|
|
709
709
|
var r = {};
|
|
710
|
-
return e.replace(
|
|
710
|
+
return e.replace(_n, function(t) {
|
|
711
711
|
var i = t.length;
|
|
712
712
|
switch (t[0]) {
|
|
713
713
|
case "G":
|
|
@@ -797,7 +797,7 @@ function Sn(e) {
|
|
|
797
797
|
}), r;
|
|
798
798
|
}
|
|
799
799
|
var Pn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
800
|
-
function
|
|
800
|
+
function xn(e) {
|
|
801
801
|
if (e.length === 0)
|
|
802
802
|
throw new Error("Number skeleton cannot be empty");
|
|
803
803
|
for (var r = e.split(Pn).filter(function(g) {
|
|
@@ -815,7 +815,7 @@ function Cn(e) {
|
|
|
815
815
|
}
|
|
816
816
|
return t;
|
|
817
817
|
}
|
|
818
|
-
function
|
|
818
|
+
function Cn(e) {
|
|
819
819
|
return e.replace(/^(.*?)-/, "");
|
|
820
820
|
}
|
|
821
821
|
var Nt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, di = /^(@+)?(\+|#+)?[rs]?$/g, An = /(\*)(0+)|(#+)(0+)|(0+)/g, mi = /^(0+)$/;
|
|
@@ -907,7 +907,7 @@ function Hn(e) {
|
|
|
907
907
|
continue;
|
|
908
908
|
case "measure-unit":
|
|
909
909
|
case "unit":
|
|
910
|
-
r.style = "unit", r.unit =
|
|
910
|
+
r.style = "unit", r.unit = Cn(n.options[0]);
|
|
911
911
|
continue;
|
|
912
912
|
case "compact-short":
|
|
913
913
|
case "K":
|
|
@@ -918,13 +918,13 @@ function Hn(e) {
|
|
|
918
918
|
r.notation = "compact", r.compactDisplay = "long";
|
|
919
919
|
continue;
|
|
920
920
|
case "scientific":
|
|
921
|
-
r =
|
|
922
|
-
return
|
|
921
|
+
r = T(T(T({}, r), { notation: "scientific" }), n.options.reduce(function(f, c) {
|
|
922
|
+
return T(T({}, f), Lt(c));
|
|
923
923
|
}, {}));
|
|
924
924
|
continue;
|
|
925
925
|
case "engineering":
|
|
926
|
-
r =
|
|
927
|
-
return
|
|
926
|
+
r = T(T(T({}, r), { notation: "engineering" }), n.options.reduce(function(f, c) {
|
|
927
|
+
return T(T({}, f), Lt(c));
|
|
928
928
|
}, {}));
|
|
929
929
|
continue;
|
|
930
930
|
case "notation-simple":
|
|
@@ -993,21 +993,21 @@ function Hn(e) {
|
|
|
993
993
|
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), "";
|
|
994
994
|
});
|
|
995
995
|
var s = n.options[0];
|
|
996
|
-
s === "w" ? r =
|
|
996
|
+
s === "w" ? r = T(T({}, r), { trailingZeroDisplay: "stripIfInteger" }) : s && (r = T(T({}, r), Ot(s)));
|
|
997
997
|
continue;
|
|
998
998
|
}
|
|
999
999
|
if (di.test(n.stem)) {
|
|
1000
|
-
r =
|
|
1000
|
+
r = T(T({}, r), Ot(n.stem));
|
|
1001
1001
|
continue;
|
|
1002
1002
|
}
|
|
1003
1003
|
var u = gi(n.stem);
|
|
1004
|
-
u && (r =
|
|
1004
|
+
u && (r = T(T({}, r), u));
|
|
1005
1005
|
var a = Tn(n.stem);
|
|
1006
|
-
a && (r =
|
|
1006
|
+
a && (r = T(T({}, r), a));
|
|
1007
1007
|
}
|
|
1008
1008
|
return r;
|
|
1009
1009
|
}
|
|
1010
|
-
var
|
|
1010
|
+
var Qr = {
|
|
1011
1011
|
"001": [
|
|
1012
1012
|
"H",
|
|
1013
1013
|
"h"
|
|
@@ -2422,13 +2422,13 @@ var zr = {
|
|
|
2422
2422
|
"h"
|
|
2423
2423
|
]
|
|
2424
2424
|
};
|
|
2425
|
-
function
|
|
2425
|
+
function Bn(e, r) {
|
|
2426
2426
|
for (var t = "", i = 0; i < e.length; i++) {
|
|
2427
2427
|
var n = e.charAt(i);
|
|
2428
2428
|
if (n === "j") {
|
|
2429
2429
|
for (var s = 0; i + 1 < e.length && e.charAt(i + 1) === n; )
|
|
2430
2430
|
s++, i++;
|
|
2431
|
-
var u = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), f = "a", c =
|
|
2431
|
+
var u = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), f = "a", c = In(r);
|
|
2432
2432
|
for ((c == "H" || c == "k") && (a = 0); a-- > 0; )
|
|
2433
2433
|
t += f;
|
|
2434
2434
|
for (; u-- > 0; )
|
|
@@ -2437,7 +2437,7 @@ function In(e, r) {
|
|
|
2437
2437
|
}
|
|
2438
2438
|
return t;
|
|
2439
2439
|
}
|
|
2440
|
-
function
|
|
2440
|
+
function In(e) {
|
|
2441
2441
|
var r = e.hourCycle;
|
|
2442
2442
|
if (r === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2443
2443
|
e.hourCycles && // @ts-ignore
|
|
@@ -2456,11 +2456,11 @@ function Bn(e) {
|
|
|
2456
2456
|
}
|
|
2457
2457
|
var t = e.language, i;
|
|
2458
2458
|
t !== "root" && (i = e.maximize().region);
|
|
2459
|
-
var n =
|
|
2459
|
+
var n = Qr[i || ""] || Qr[t || ""] || Qr["".concat(t, "-001")] || Qr["001"];
|
|
2460
2460
|
return n[0];
|
|
2461
2461
|
}
|
|
2462
2462
|
var lt, Nn = new RegExp("^".concat(fi.source, "*")), On = new RegExp("".concat(fi.source, "*$"));
|
|
2463
|
-
function
|
|
2463
|
+
function P(e, r) {
|
|
2464
2464
|
return { start: e, end: r };
|
|
2465
2465
|
}
|
|
2466
2466
|
var Ln = !!String.prototype.startsWith && "_a".startsWith("a", 1), Mn = !!String.fromCodePoint, Rn = !!Object.fromEntries, Un = !!String.prototype.codePointAt, kn = !!String.prototype.trimStart, Fn = !!String.prototype.trimEnd, Dn = !!Number.isSafeInteger, Gn = Dn ? Number.isSafeInteger : function(e) {
|
|
@@ -2587,13 +2587,13 @@ var Qn = (
|
|
|
2587
2587
|
if (s === 35 && (t === "plural" || t === "selectordinal")) {
|
|
2588
2588
|
var a = this.clonePosition();
|
|
2589
2589
|
this.bump(), n.push({
|
|
2590
|
-
type:
|
|
2591
|
-
location:
|
|
2590
|
+
type: L.pound,
|
|
2591
|
+
location: P(a, this.clonePosition())
|
|
2592
2592
|
});
|
|
2593
2593
|
} else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
2594
2594
|
if (i)
|
|
2595
2595
|
break;
|
|
2596
|
-
return this.error(
|
|
2596
|
+
return this.error(S.UNMATCHED_CLOSING_TAG, P(this.clonePosition(), this.clonePosition()));
|
|
2597
2597
|
} else if (s === 60 && !this.ignoreTag && yt(this.peek() || 0)) {
|
|
2598
2598
|
var u = this.parseTag(r, t);
|
|
2599
2599
|
if (u.err)
|
|
@@ -2615,9 +2615,9 @@ var Qn = (
|
|
|
2615
2615
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
2616
2616
|
return {
|
|
2617
2617
|
val: {
|
|
2618
|
-
type:
|
|
2618
|
+
type: L.literal,
|
|
2619
2619
|
value: "<".concat(n, "/>"),
|
|
2620
|
-
location:
|
|
2620
|
+
location: P(i, this.clonePosition())
|
|
2621
2621
|
},
|
|
2622
2622
|
err: null
|
|
2623
2623
|
};
|
|
@@ -2628,21 +2628,21 @@ var Qn = (
|
|
|
2628
2628
|
var u = s.val, a = this.clonePosition();
|
|
2629
2629
|
if (this.bumpIf("</")) {
|
|
2630
2630
|
if (this.isEOF() || !yt(this.char()))
|
|
2631
|
-
return this.error(
|
|
2631
|
+
return this.error(S.INVALID_TAG, P(a, this.clonePosition()));
|
|
2632
2632
|
var f = this.clonePosition(), c = this.parseTagName();
|
|
2633
|
-
return n !== c ? this.error(
|
|
2633
|
+
return n !== c ? this.error(S.UNMATCHED_CLOSING_TAG, P(f, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
2634
2634
|
val: {
|
|
2635
|
-
type:
|
|
2635
|
+
type: L.tag,
|
|
2636
2636
|
value: n,
|
|
2637
2637
|
children: u,
|
|
2638
|
-
location:
|
|
2638
|
+
location: P(i, this.clonePosition())
|
|
2639
2639
|
},
|
|
2640
2640
|
err: null
|
|
2641
|
-
} : this.error(
|
|
2641
|
+
} : this.error(S.INVALID_TAG, P(a, this.clonePosition())));
|
|
2642
2642
|
} else
|
|
2643
|
-
return this.error(
|
|
2643
|
+
return this.error(S.UNCLOSED_TAG, P(i, this.clonePosition()));
|
|
2644
2644
|
} else
|
|
2645
|
-
return this.error(
|
|
2645
|
+
return this.error(S.INVALID_TAG, P(i, this.clonePosition()));
|
|
2646
2646
|
}, e.prototype.parseTagName = function() {
|
|
2647
2647
|
var r = this.offset();
|
|
2648
2648
|
for (this.bump(); !this.isEOF() && Xn(this.char()); )
|
|
@@ -2667,9 +2667,9 @@ var Qn = (
|
|
|
2667
2667
|
}
|
|
2668
2668
|
break;
|
|
2669
2669
|
}
|
|
2670
|
-
var f =
|
|
2670
|
+
var f = P(i, this.clonePosition());
|
|
2671
2671
|
return {
|
|
2672
|
-
val: { type:
|
|
2672
|
+
val: { type: L.literal, value: n, location: f },
|
|
2673
2673
|
err: null
|
|
2674
2674
|
};
|
|
2675
2675
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
@@ -2717,40 +2717,40 @@ var Qn = (
|
|
|
2717
2717
|
}, e.prototype.parseArgument = function(r, t) {
|
|
2718
2718
|
var i = this.clonePosition();
|
|
2719
2719
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
2720
|
-
return this.error(
|
|
2720
|
+
return this.error(S.EXPECT_ARGUMENT_CLOSING_BRACE, P(i, this.clonePosition()));
|
|
2721
2721
|
if (this.char() === 125)
|
|
2722
|
-
return this.bump(), this.error(
|
|
2722
|
+
return this.bump(), this.error(S.EMPTY_ARGUMENT, P(i, this.clonePosition()));
|
|
2723
2723
|
var n = this.parseIdentifierIfPossible().value;
|
|
2724
2724
|
if (!n)
|
|
2725
|
-
return this.error(
|
|
2725
|
+
return this.error(S.MALFORMED_ARGUMENT, P(i, this.clonePosition()));
|
|
2726
2726
|
if (this.bumpSpace(), this.isEOF())
|
|
2727
|
-
return this.error(
|
|
2727
|
+
return this.error(S.EXPECT_ARGUMENT_CLOSING_BRACE, P(i, this.clonePosition()));
|
|
2728
2728
|
switch (this.char()) {
|
|
2729
2729
|
case 125:
|
|
2730
2730
|
return this.bump(), {
|
|
2731
2731
|
val: {
|
|
2732
|
-
type:
|
|
2732
|
+
type: L.argument,
|
|
2733
2733
|
// value does not include the opening and closing braces.
|
|
2734
2734
|
value: n,
|
|
2735
|
-
location:
|
|
2735
|
+
location: P(i, this.clonePosition())
|
|
2736
2736
|
},
|
|
2737
2737
|
err: null
|
|
2738
2738
|
};
|
|
2739
2739
|
case 44:
|
|
2740
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(
|
|
2740
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(S.EXPECT_ARGUMENT_CLOSING_BRACE, P(i, this.clonePosition())) : this.parseArgumentOptions(r, t, n, i);
|
|
2741
2741
|
default:
|
|
2742
|
-
return this.error(
|
|
2742
|
+
return this.error(S.MALFORMED_ARGUMENT, P(i, this.clonePosition()));
|
|
2743
2743
|
}
|
|
2744
2744
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
2745
2745
|
var r = this.clonePosition(), t = this.offset(), i = bt(this.message, t), n = t + i.length;
|
|
2746
2746
|
this.bumpTo(n);
|
|
2747
|
-
var s = this.clonePosition(), u =
|
|
2747
|
+
var s = this.clonePosition(), u = P(r, s);
|
|
2748
2748
|
return { value: i, location: u };
|
|
2749
2749
|
}, e.prototype.parseArgumentOptions = function(r, t, i, n) {
|
|
2750
2750
|
var s, u = this.clonePosition(), a = this.parseIdentifierIfPossible().value, f = this.clonePosition();
|
|
2751
2751
|
switch (a) {
|
|
2752
2752
|
case "":
|
|
2753
|
-
return this.error(
|
|
2753
|
+
return this.error(S.EXPECT_ARGUMENT_TYPE, P(u, f));
|
|
2754
2754
|
case "number":
|
|
2755
2755
|
case "date":
|
|
2756
2756
|
case "time": {
|
|
@@ -2763,42 +2763,42 @@ var Qn = (
|
|
|
2763
2763
|
return m;
|
|
2764
2764
|
var g = $n(m.val);
|
|
2765
2765
|
if (g.length === 0)
|
|
2766
|
-
return this.error(
|
|
2767
|
-
var b =
|
|
2766
|
+
return this.error(S.EXPECT_ARGUMENT_STYLE, P(this.clonePosition(), this.clonePosition()));
|
|
2767
|
+
var b = P(h, this.clonePosition());
|
|
2768
2768
|
c = { style: g, styleLocation: b };
|
|
2769
2769
|
}
|
|
2770
|
-
var
|
|
2771
|
-
if (
|
|
2772
|
-
return
|
|
2773
|
-
var y =
|
|
2770
|
+
var w = this.tryParseArgumentClose(n);
|
|
2771
|
+
if (w.err)
|
|
2772
|
+
return w;
|
|
2773
|
+
var y = P(n, this.clonePosition());
|
|
2774
2774
|
if (c && Mt(c?.style, "::", 0)) {
|
|
2775
|
-
var
|
|
2775
|
+
var A = Vn(c.style.slice(2));
|
|
2776
2776
|
if (a === "number") {
|
|
2777
|
-
var m = this.parseNumberSkeletonFromString(
|
|
2777
|
+
var m = this.parseNumberSkeletonFromString(A, c.styleLocation);
|
|
2778
2778
|
return m.err ? m : {
|
|
2779
|
-
val: { type:
|
|
2779
|
+
val: { type: L.number, value: i, location: y, style: m.val },
|
|
2780
2780
|
err: null
|
|
2781
2781
|
};
|
|
2782
2782
|
} else {
|
|
2783
|
-
if (
|
|
2784
|
-
return this.error(
|
|
2785
|
-
var
|
|
2786
|
-
this.locale && (
|
|
2783
|
+
if (A.length === 0)
|
|
2784
|
+
return this.error(S.EXPECT_DATE_TIME_SKELETON, y);
|
|
2785
|
+
var O = A;
|
|
2786
|
+
this.locale && (O = Bn(A, this.locale));
|
|
2787
2787
|
var g = {
|
|
2788
|
-
type:
|
|
2789
|
-
pattern:
|
|
2788
|
+
type: sr.dateTime,
|
|
2789
|
+
pattern: O,
|
|
2790
2790
|
location: c.styleLocation,
|
|
2791
|
-
parsedOptions: this.shouldParseSkeletons ? Sn(
|
|
2792
|
-
},
|
|
2791
|
+
parsedOptions: this.shouldParseSkeletons ? Sn(O) : {}
|
|
2792
|
+
}, M = a === "date" ? L.date : L.time;
|
|
2793
2793
|
return {
|
|
2794
|
-
val: { type:
|
|
2794
|
+
val: { type: M, value: i, location: y, style: g },
|
|
2795
2795
|
err: null
|
|
2796
2796
|
};
|
|
2797
2797
|
}
|
|
2798
2798
|
}
|
|
2799
2799
|
return {
|
|
2800
2800
|
val: {
|
|
2801
|
-
type: a === "number" ?
|
|
2801
|
+
type: a === "number" ? L.number : a === "date" ? L.date : L.time,
|
|
2802
2802
|
value: i,
|
|
2803
2803
|
location: y,
|
|
2804
2804
|
style: (s = c?.style) !== null && s !== void 0 ? s : null
|
|
@@ -2809,52 +2809,52 @@ var Qn = (
|
|
|
2809
2809
|
case "plural":
|
|
2810
2810
|
case "selectordinal":
|
|
2811
2811
|
case "select": {
|
|
2812
|
-
var
|
|
2812
|
+
var R = this.clonePosition();
|
|
2813
2813
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
2814
|
-
return this.error(
|
|
2814
|
+
return this.error(S.EXPECT_SELECT_ARGUMENT_OPTIONS, P(R, T({}, R)));
|
|
2815
2815
|
this.bumpSpace();
|
|
2816
|
-
var
|
|
2817
|
-
if (a !== "select" &&
|
|
2816
|
+
var ce = this.parseIdentifierIfPossible(), G = 0;
|
|
2817
|
+
if (a !== "select" && ce.value === "offset") {
|
|
2818
2818
|
if (!this.bumpIf(":"))
|
|
2819
|
-
return this.error(
|
|
2819
|
+
return this.error(S.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, P(this.clonePosition(), this.clonePosition()));
|
|
2820
2820
|
this.bumpSpace();
|
|
2821
|
-
var m = this.tryParseDecimalInteger(
|
|
2821
|
+
var m = this.tryParseDecimalInteger(S.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, S.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
2822
2822
|
if (m.err)
|
|
2823
2823
|
return m;
|
|
2824
|
-
this.bumpSpace(),
|
|
2824
|
+
this.bumpSpace(), ce = this.parseIdentifierIfPossible(), G = m.val;
|
|
2825
2825
|
}
|
|
2826
|
-
var
|
|
2827
|
-
if (
|
|
2828
|
-
return
|
|
2829
|
-
var
|
|
2830
|
-
if (
|
|
2831
|
-
return
|
|
2832
|
-
var
|
|
2826
|
+
var me = this.tryParsePluralOrSelectOptions(r, a, t, ce);
|
|
2827
|
+
if (me.err)
|
|
2828
|
+
return me;
|
|
2829
|
+
var w = this.tryParseArgumentClose(n);
|
|
2830
|
+
if (w.err)
|
|
2831
|
+
return w;
|
|
2832
|
+
var U = P(n, this.clonePosition());
|
|
2833
2833
|
return a === "select" ? {
|
|
2834
2834
|
val: {
|
|
2835
|
-
type:
|
|
2835
|
+
type: L.select,
|
|
2836
2836
|
value: i,
|
|
2837
|
-
options: Rt(
|
|
2838
|
-
location:
|
|
2837
|
+
options: Rt(me.val),
|
|
2838
|
+
location: U
|
|
2839
2839
|
},
|
|
2840
2840
|
err: null
|
|
2841
2841
|
} : {
|
|
2842
2842
|
val: {
|
|
2843
|
-
type:
|
|
2843
|
+
type: L.plural,
|
|
2844
2844
|
value: i,
|
|
2845
|
-
options: Rt(
|
|
2845
|
+
options: Rt(me.val),
|
|
2846
2846
|
offset: G,
|
|
2847
2847
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
2848
|
-
location:
|
|
2848
|
+
location: U
|
|
2849
2849
|
},
|
|
2850
2850
|
err: null
|
|
2851
2851
|
};
|
|
2852
2852
|
}
|
|
2853
2853
|
default:
|
|
2854
|
-
return this.error(
|
|
2854
|
+
return this.error(S.INVALID_ARGUMENT_TYPE, P(u, f));
|
|
2855
2855
|
}
|
|
2856
2856
|
}, e.prototype.tryParseArgumentClose = function(r) {
|
|
2857
|
-
return this.isEOF() || this.char() !== 125 ? this.error(
|
|
2857
|
+
return this.isEOF() || this.char() !== 125 ? this.error(S.EXPECT_ARGUMENT_CLOSING_BRACE, P(r, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
2858
2858
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
2859
2859
|
for (var r = 0, t = this.clonePosition(); !this.isEOF(); ) {
|
|
2860
2860
|
var i = this.char();
|
|
@@ -2863,7 +2863,7 @@ var Qn = (
|
|
|
2863
2863
|
this.bump();
|
|
2864
2864
|
var n = this.clonePosition();
|
|
2865
2865
|
if (!this.bumpUntil("'"))
|
|
2866
|
-
return this.error(
|
|
2866
|
+
return this.error(S.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, P(n, this.clonePosition()));
|
|
2867
2867
|
this.bump();
|
|
2868
2868
|
break;
|
|
2869
2869
|
}
|
|
@@ -2893,13 +2893,13 @@ var Qn = (
|
|
|
2893
2893
|
}, e.prototype.parseNumberSkeletonFromString = function(r, t) {
|
|
2894
2894
|
var i = [];
|
|
2895
2895
|
try {
|
|
2896
|
-
i =
|
|
2896
|
+
i = xn(r);
|
|
2897
2897
|
} catch {
|
|
2898
|
-
return this.error(
|
|
2898
|
+
return this.error(S.INVALID_NUMBER_SKELETON, t);
|
|
2899
2899
|
}
|
|
2900
2900
|
return {
|
|
2901
2901
|
val: {
|
|
2902
|
-
type:
|
|
2902
|
+
type: sr.number,
|
|
2903
2903
|
tokens: i,
|
|
2904
2904
|
location: t,
|
|
2905
2905
|
parsedOptions: this.shouldParseSkeletons ? Hn(i) : {}
|
|
@@ -2911,34 +2911,34 @@ var Qn = (
|
|
|
2911
2911
|
if (c.length === 0) {
|
|
2912
2912
|
var m = this.clonePosition();
|
|
2913
2913
|
if (t !== "select" && this.bumpIf("=")) {
|
|
2914
|
-
var g = this.tryParseDecimalInteger(
|
|
2914
|
+
var g = this.tryParseDecimalInteger(S.EXPECT_PLURAL_ARGUMENT_SELECTOR, S.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
2915
2915
|
if (g.err)
|
|
2916
2916
|
return g;
|
|
2917
|
-
h =
|
|
2917
|
+
h = P(m, this.clonePosition()), c = this.message.slice(m.offset, this.offset());
|
|
2918
2918
|
} else
|
|
2919
2919
|
break;
|
|
2920
2920
|
}
|
|
2921
2921
|
if (f.has(c))
|
|
2922
|
-
return this.error(t === "select" ?
|
|
2922
|
+
return this.error(t === "select" ? S.DUPLICATE_SELECT_ARGUMENT_SELECTOR : S.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
|
|
2923
2923
|
c === "other" && (u = !0), this.bumpSpace();
|
|
2924
2924
|
var b = this.clonePosition();
|
|
2925
2925
|
if (!this.bumpIf("{"))
|
|
2926
|
-
return this.error(t === "select" ?
|
|
2927
|
-
var
|
|
2928
|
-
if (
|
|
2929
|
-
return
|
|
2926
|
+
return this.error(t === "select" ? S.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : S.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, P(this.clonePosition(), this.clonePosition()));
|
|
2927
|
+
var w = this.parseMessage(r + 1, t, i);
|
|
2928
|
+
if (w.err)
|
|
2929
|
+
return w;
|
|
2930
2930
|
var y = this.tryParseArgumentClose(b);
|
|
2931
2931
|
if (y.err)
|
|
2932
2932
|
return y;
|
|
2933
2933
|
a.push([
|
|
2934
2934
|
c,
|
|
2935
2935
|
{
|
|
2936
|
-
value:
|
|
2937
|
-
location:
|
|
2936
|
+
value: w.val,
|
|
2937
|
+
location: P(b, this.clonePosition())
|
|
2938
2938
|
}
|
|
2939
2939
|
]), f.add(c), this.bumpSpace(), s = this.parseIdentifierIfPossible(), c = s.value, h = s.location;
|
|
2940
2940
|
}
|
|
2941
|
-
return a.length === 0 ? this.error(t === "select" ?
|
|
2941
|
+
return a.length === 0 ? this.error(t === "select" ? S.EXPECT_SELECT_ARGUMENT_SELECTOR : S.EXPECT_PLURAL_ARGUMENT_SELECTOR, P(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !u ? this.error(S.MISSING_OTHER_CLAUSE, P(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
|
|
2942
2942
|
}, e.prototype.tryParseDecimalInteger = function(r, t) {
|
|
2943
2943
|
var i = 1, n = this.clonePosition();
|
|
2944
2944
|
this.bumpIf("+") || this.bumpIf("-") && (i = -1);
|
|
@@ -2949,7 +2949,7 @@ var Qn = (
|
|
|
2949
2949
|
else
|
|
2950
2950
|
break;
|
|
2951
2951
|
}
|
|
2952
|
-
var f =
|
|
2952
|
+
var f = P(n, this.clonePosition());
|
|
2953
2953
|
return s ? (u *= i, Gn(u) ? { val: u, err: null } : this.error(t, f)) : this.error(r, f);
|
|
2954
2954
|
}, e.prototype.offset = function() {
|
|
2955
2955
|
return this.position.offset;
|
|
@@ -3040,22 +3040,22 @@ function Et(e) {
|
|
|
3040
3040
|
});
|
|
3041
3041
|
}
|
|
3042
3042
|
function Wn(e, r) {
|
|
3043
|
-
r === void 0 && (r = {}), r =
|
|
3043
|
+
r === void 0 && (r = {}), r = T({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, r);
|
|
3044
3044
|
var t = new Qn(e, r).parse();
|
|
3045
3045
|
if (t.err) {
|
|
3046
|
-
var i = SyntaxError(
|
|
3046
|
+
var i = SyntaxError(S[t.err.kind]);
|
|
3047
3047
|
throw i.location = t.err.location, i.originalMessage = t.err.message, i;
|
|
3048
3048
|
}
|
|
3049
3049
|
return r?.captureLocation || Et(t.val), t.val;
|
|
3050
3050
|
}
|
|
3051
|
-
var
|
|
3051
|
+
var or;
|
|
3052
3052
|
(function(e) {
|
|
3053
3053
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3054
|
-
})(
|
|
3055
|
-
var
|
|
3054
|
+
})(or || (or = {}));
|
|
3055
|
+
var Kr = (
|
|
3056
3056
|
/** @class */
|
|
3057
3057
|
function(e) {
|
|
3058
|
-
|
|
3058
|
+
Yr(r, e);
|
|
3059
3059
|
function r(t, i, n) {
|
|
3060
3060
|
var s = e.call(this, t) || this;
|
|
3061
3061
|
return s.code = i, s.originalMessage = n, s;
|
|
@@ -3067,63 +3067,63 @@ var et = (
|
|
|
3067
3067
|
), kt = (
|
|
3068
3068
|
/** @class */
|
|
3069
3069
|
function(e) {
|
|
3070
|
-
|
|
3070
|
+
Yr(r, e);
|
|
3071
3071
|
function r(t, i, n, s) {
|
|
3072
|
-
return e.call(this, 'Invalid values for "'.concat(t, '": "').concat(i, '". Options are "').concat(Object.keys(n).join('", "'), '"'),
|
|
3072
|
+
return e.call(this, 'Invalid values for "'.concat(t, '": "').concat(i, '". Options are "').concat(Object.keys(n).join('", "'), '"'), or.INVALID_VALUE, s) || this;
|
|
3073
3073
|
}
|
|
3074
3074
|
return r;
|
|
3075
|
-
}(
|
|
3075
|
+
}(Kr)
|
|
3076
3076
|
), qn = (
|
|
3077
3077
|
/** @class */
|
|
3078
3078
|
function(e) {
|
|
3079
|
-
|
|
3079
|
+
Yr(r, e);
|
|
3080
3080
|
function r(t, i, n) {
|
|
3081
|
-
return e.call(this, 'Value for "'.concat(t, '" must be of type ').concat(i),
|
|
3081
|
+
return e.call(this, 'Value for "'.concat(t, '" must be of type ').concat(i), or.INVALID_VALUE, n) || this;
|
|
3082
3082
|
}
|
|
3083
3083
|
return r;
|
|
3084
|
-
}(
|
|
3084
|
+
}(Kr)
|
|
3085
3085
|
), Jn = (
|
|
3086
3086
|
/** @class */
|
|
3087
3087
|
function(e) {
|
|
3088
|
-
|
|
3088
|
+
Yr(r, e);
|
|
3089
3089
|
function r(t, i) {
|
|
3090
|
-
return e.call(this, 'The intl string context variable "'.concat(t, '" was not provided to the string "').concat(i, '"'),
|
|
3090
|
+
return e.call(this, 'The intl string context variable "'.concat(t, '" was not provided to the string "').concat(i, '"'), or.MISSING_VALUE, i) || this;
|
|
3091
3091
|
}
|
|
3092
3092
|
return r;
|
|
3093
|
-
}(
|
|
3094
|
-
),
|
|
3093
|
+
}(Kr)
|
|
3094
|
+
), Q;
|
|
3095
3095
|
(function(e) {
|
|
3096
3096
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3097
|
-
})(
|
|
3097
|
+
})(Q || (Q = {}));
|
|
3098
3098
|
function Yn(e) {
|
|
3099
3099
|
return e.length < 2 ? e : e.reduce(function(r, t) {
|
|
3100
3100
|
var i = r[r.length - 1];
|
|
3101
|
-
return !i || i.type !==
|
|
3101
|
+
return !i || i.type !== Q.literal || t.type !== Q.literal ? r.push(t) : i.value += t.value, r;
|
|
3102
3102
|
}, []);
|
|
3103
3103
|
}
|
|
3104
3104
|
function Kn(e) {
|
|
3105
3105
|
return typeof e == "function";
|
|
3106
3106
|
}
|
|
3107
|
-
function
|
|
3108
|
-
if (e.length === 1 &&
|
|
3107
|
+
function Xr(e, r, t, i, n, s, u) {
|
|
3108
|
+
if (e.length === 1 && It(e[0]))
|
|
3109
3109
|
return [
|
|
3110
3110
|
{
|
|
3111
|
-
type:
|
|
3111
|
+
type: Q.literal,
|
|
3112
3112
|
value: e[0].value
|
|
3113
3113
|
}
|
|
3114
3114
|
];
|
|
3115
3115
|
for (var a = [], f = 0, c = e; f < c.length; f++) {
|
|
3116
3116
|
var h = c[f];
|
|
3117
|
-
if (
|
|
3117
|
+
if (It(h)) {
|
|
3118
3118
|
a.push({
|
|
3119
|
-
type:
|
|
3119
|
+
type: Q.literal,
|
|
3120
3120
|
value: h.value
|
|
3121
3121
|
});
|
|
3122
3122
|
continue;
|
|
3123
3123
|
}
|
|
3124
|
-
if (
|
|
3124
|
+
if (wn(h)) {
|
|
3125
3125
|
typeof s == "number" && a.push({
|
|
3126
|
-
type:
|
|
3126
|
+
type: Q.literal,
|
|
3127
3127
|
value: t.getNumberFormat(r).format(s)
|
|
3128
3128
|
});
|
|
3129
3129
|
continue;
|
|
@@ -3134,7 +3134,7 @@ function Zr(e, r, t, i, n, s, u) {
|
|
|
3134
3134
|
var g = n[m];
|
|
3135
3135
|
if (vn(h)) {
|
|
3136
3136
|
(!g || typeof g == "string" || typeof g == "number") && (g = typeof g == "string" || typeof g == "number" ? String(g) : ""), a.push({
|
|
3137
|
-
type: typeof g == "string" ?
|
|
3137
|
+
type: typeof g == "string" ? Q.literal : Q.object,
|
|
3138
3138
|
value: g
|
|
3139
3139
|
});
|
|
3140
3140
|
continue;
|
|
@@ -3142,7 +3142,7 @@ function Zr(e, r, t, i, n, s, u) {
|
|
|
3142
3142
|
if (oi(h)) {
|
|
3143
3143
|
var b = typeof h.style == "string" ? i.date[h.style] : mt(h.style) ? h.style.parsedOptions : void 0;
|
|
3144
3144
|
a.push({
|
|
3145
|
-
type:
|
|
3145
|
+
type: Q.literal,
|
|
3146
3146
|
value: t.getDateTimeFormat(r, b).format(g)
|
|
3147
3147
|
});
|
|
3148
3148
|
continue;
|
|
@@ -3150,7 +3150,7 @@ function Zr(e, r, t, i, n, s, u) {
|
|
|
3150
3150
|
if (ai(h)) {
|
|
3151
3151
|
var b = typeof h.style == "string" ? i.time[h.style] : mt(h.style) ? h.style.parsedOptions : i.time.medium;
|
|
3152
3152
|
a.push({
|
|
3153
|
-
type:
|
|
3153
|
+
type: Q.literal,
|
|
3154
3154
|
value: t.getDateTimeFormat(r, b).format(g)
|
|
3155
3155
|
});
|
|
3156
3156
|
continue;
|
|
@@ -3158,59 +3158,59 @@ function Zr(e, r, t, i, n, s, u) {
|
|
|
3158
3158
|
if (si(h)) {
|
|
3159
3159
|
var b = typeof h.style == "string" ? i.number[h.style] : hi(h.style) ? h.style.parsedOptions : void 0;
|
|
3160
3160
|
b && b.scale && (g = g * (b.scale || 1)), a.push({
|
|
3161
|
-
type:
|
|
3161
|
+
type: Q.literal,
|
|
3162
3162
|
value: t.getNumberFormat(r, b).format(g)
|
|
3163
3163
|
});
|
|
3164
3164
|
continue;
|
|
3165
3165
|
}
|
|
3166
3166
|
if (ci(h)) {
|
|
3167
|
-
var
|
|
3168
|
-
if (!Kn(
|
|
3167
|
+
var w = h.children, y = h.value, A = n[y];
|
|
3168
|
+
if (!Kn(A))
|
|
3169
3169
|
throw new qn(y, "function", u);
|
|
3170
|
-
var
|
|
3170
|
+
var O = Xr(w, r, t, i, n, s), M = A(O.map(function(G) {
|
|
3171
3171
|
return G.value;
|
|
3172
3172
|
}));
|
|
3173
|
-
Array.isArray(
|
|
3173
|
+
Array.isArray(M) || (M = [M]), a.push.apply(a, M.map(function(G) {
|
|
3174
3174
|
return {
|
|
3175
|
-
type: typeof G == "string" ?
|
|
3175
|
+
type: typeof G == "string" ? Q.literal : Q.object,
|
|
3176
3176
|
value: G
|
|
3177
3177
|
};
|
|
3178
3178
|
}));
|
|
3179
3179
|
}
|
|
3180
3180
|
if (li(h)) {
|
|
3181
|
-
var
|
|
3182
|
-
if (!
|
|
3181
|
+
var R = h.options[g] || h.options.other;
|
|
3182
|
+
if (!R)
|
|
3183
3183
|
throw new kt(h.value, g, Object.keys(h.options), u);
|
|
3184
|
-
a.push.apply(a,
|
|
3184
|
+
a.push.apply(a, Xr(R.value, r, t, i, n));
|
|
3185
3185
|
continue;
|
|
3186
3186
|
}
|
|
3187
3187
|
if (ui(h)) {
|
|
3188
|
-
var
|
|
3189
|
-
if (!
|
|
3188
|
+
var R = h.options["=".concat(g)];
|
|
3189
|
+
if (!R) {
|
|
3190
3190
|
if (!Intl.PluralRules)
|
|
3191
|
-
throw new
|
|
3191
|
+
throw new Kr(`Intl.PluralRules is not available in this environment.
|
|
3192
3192
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3193
|
-
`,
|
|
3194
|
-
var
|
|
3195
|
-
|
|
3193
|
+
`, or.MISSING_INTL_API, u);
|
|
3194
|
+
var ce = t.getPluralRules(r, { type: h.pluralType }).select(g - (h.offset || 0));
|
|
3195
|
+
R = h.options[ce] || h.options.other;
|
|
3196
3196
|
}
|
|
3197
|
-
if (!
|
|
3197
|
+
if (!R)
|
|
3198
3198
|
throw new kt(h.value, g, Object.keys(h.options), u);
|
|
3199
|
-
a.push.apply(a,
|
|
3199
|
+
a.push.apply(a, Xr(R.value, r, t, i, n, g - (h.offset || 0)));
|
|
3200
3200
|
continue;
|
|
3201
3201
|
}
|
|
3202
3202
|
}
|
|
3203
3203
|
return Yn(a);
|
|
3204
3204
|
}
|
|
3205
3205
|
function es(e, r) {
|
|
3206
|
-
return r ?
|
|
3207
|
-
return t[i] =
|
|
3206
|
+
return r ? T(T(T({}, e || {}), r || {}), Object.keys(e).reduce(function(t, i) {
|
|
3207
|
+
return t[i] = T(T({}, e[i]), r[i] || {}), t;
|
|
3208
3208
|
}, {})) : e;
|
|
3209
3209
|
}
|
|
3210
3210
|
function rs(e, r) {
|
|
3211
3211
|
return r ? Object.keys(e).reduce(function(t, i) {
|
|
3212
3212
|
return t[i] = es(e[i], r[i]), t;
|
|
3213
|
-
},
|
|
3213
|
+
}, T({}, e)) : e;
|
|
3214
3214
|
}
|
|
3215
3215
|
function ut(e) {
|
|
3216
3216
|
return {
|
|
@@ -3273,11 +3273,11 @@ var is = (
|
|
|
3273
3273
|
if (c.length === 1)
|
|
3274
3274
|
return c[0].value;
|
|
3275
3275
|
var h = c.reduce(function(m, g) {
|
|
3276
|
-
return !m.length || g.type !==
|
|
3276
|
+
return !m.length || g.type !== Q.literal || typeof m[m.length - 1] != "string" ? m.push(g.value) : m[m.length - 1] += g.value, m;
|
|
3277
3277
|
}, []);
|
|
3278
3278
|
return h.length <= 1 ? h[0] || "" : h;
|
|
3279
3279
|
}, this.formatToParts = function(f) {
|
|
3280
|
-
return
|
|
3280
|
+
return Xr(s.ast, s.locales, s.formatters, s.formats, f, void 0, s.message);
|
|
3281
3281
|
}, this.resolvedOptions = function() {
|
|
3282
3282
|
var f;
|
|
3283
3283
|
return {
|
|
@@ -3291,7 +3291,7 @@ var is = (
|
|
|
3291
3291
|
var u = n || {};
|
|
3292
3292
|
u.formatters;
|
|
3293
3293
|
var a = fn(u, ["formatters"]);
|
|
3294
|
-
this.ast = e.__parse(r,
|
|
3294
|
+
this.ast = e.__parse(r, T(T({}, a), { locale: this.resolvedLocale }));
|
|
3295
3295
|
} else
|
|
3296
3296
|
this.ast = r;
|
|
3297
3297
|
if (!Array.isArray(this.ast))
|
|
@@ -3391,12 +3391,12 @@ function ns(e, r) {
|
|
|
3391
3391
|
i = void 0;
|
|
3392
3392
|
return i;
|
|
3393
3393
|
}
|
|
3394
|
-
const
|
|
3394
|
+
const Ne = {}, ss = (e, r, t) => t && (r in Ne || (Ne[r] = {}), e in Ne[r] || (Ne[r][e] = t), t), Ei = (e, r) => {
|
|
3395
3395
|
if (r == null)
|
|
3396
3396
|
return;
|
|
3397
|
-
if (r in
|
|
3398
|
-
return
|
|
3399
|
-
const t =
|
|
3397
|
+
if (r in Ne && e in Ne[r])
|
|
3398
|
+
return Ne[r][e];
|
|
3399
|
+
const t = et(r);
|
|
3400
3400
|
for (let i = 0; i < t.length; i++) {
|
|
3401
3401
|
const n = t[i], s = as(n, e);
|
|
3402
3402
|
if (s)
|
|
@@ -3404,7 +3404,7 @@ const Be = {}, ss = (e, r, t) => t && (r in Be || (Be[r] = {}), e in Be[r] || (B
|
|
|
3404
3404
|
}
|
|
3405
3405
|
};
|
|
3406
3406
|
let St;
|
|
3407
|
-
const
|
|
3407
|
+
const Cr = Jr({});
|
|
3408
3408
|
function os(e) {
|
|
3409
3409
|
return St[e] || null;
|
|
3410
3410
|
}
|
|
@@ -3420,61 +3420,61 @@ function as(e, r) {
|
|
|
3420
3420
|
function ls(e) {
|
|
3421
3421
|
if (e == null)
|
|
3422
3422
|
return;
|
|
3423
|
-
const r =
|
|
3423
|
+
const r = et(e);
|
|
3424
3424
|
for (let t = 0; t < r.length; t++) {
|
|
3425
3425
|
const i = r[t];
|
|
3426
3426
|
if (vi(i))
|
|
3427
3427
|
return i;
|
|
3428
3428
|
}
|
|
3429
3429
|
}
|
|
3430
|
-
function
|
|
3431
|
-
delete
|
|
3430
|
+
function wi(e, ...r) {
|
|
3431
|
+
delete Ne[e], Cr.update((t) => (t[e] = hn.all([t[e] || {}, ...r]), t));
|
|
3432
3432
|
}
|
|
3433
|
-
|
|
3434
|
-
[
|
|
3433
|
+
ur(
|
|
3434
|
+
[Cr],
|
|
3435
3435
|
([e]) => Object.keys(e)
|
|
3436
3436
|
);
|
|
3437
|
-
|
|
3438
|
-
const
|
|
3437
|
+
Cr.subscribe((e) => St = e);
|
|
3438
|
+
const Zr = {};
|
|
3439
3439
|
function us(e, r) {
|
|
3440
|
-
|
|
3440
|
+
Zr[e].delete(r), Zr[e].size === 0 && delete Zr[e];
|
|
3441
3441
|
}
|
|
3442
|
-
function
|
|
3443
|
-
return
|
|
3442
|
+
function _i(e) {
|
|
3443
|
+
return Zr[e];
|
|
3444
3444
|
}
|
|
3445
3445
|
function cs(e) {
|
|
3446
|
-
return
|
|
3447
|
-
const t =
|
|
3446
|
+
return et(e).map((r) => {
|
|
3447
|
+
const t = _i(r);
|
|
3448
3448
|
return [r, t ? [...t] : []];
|
|
3449
3449
|
}).filter(([, r]) => r.length > 0);
|
|
3450
3450
|
}
|
|
3451
3451
|
function vt(e) {
|
|
3452
|
-
return e == null ? !1 :
|
|
3452
|
+
return e == null ? !1 : et(e).some(
|
|
3453
3453
|
(r) => {
|
|
3454
3454
|
var t;
|
|
3455
|
-
return (t =
|
|
3455
|
+
return (t = _i(r)) == null ? void 0 : t.size;
|
|
3456
3456
|
}
|
|
3457
3457
|
);
|
|
3458
3458
|
}
|
|
3459
3459
|
function hs(e, r) {
|
|
3460
3460
|
return Promise.all(
|
|
3461
3461
|
r.map((i) => (us(e, i), i().then((n) => n.default || n)))
|
|
3462
|
-
).then((i) =>
|
|
3462
|
+
).then((i) => wi(e, ...i));
|
|
3463
3463
|
}
|
|
3464
|
-
const
|
|
3464
|
+
const vr = {};
|
|
3465
3465
|
function Si(e) {
|
|
3466
3466
|
if (!vt(e))
|
|
3467
|
-
return e in
|
|
3467
|
+
return e in vr ? vr[e] : Promise.resolve();
|
|
3468
3468
|
const r = cs(e);
|
|
3469
|
-
return
|
|
3469
|
+
return vr[e] = Promise.all(
|
|
3470
3470
|
r.map(
|
|
3471
3471
|
([t, i]) => hs(t, i)
|
|
3472
3472
|
)
|
|
3473
3473
|
).then(() => {
|
|
3474
3474
|
if (vt(e))
|
|
3475
3475
|
return Si(e);
|
|
3476
|
-
delete
|
|
3477
|
-
}),
|
|
3476
|
+
delete vr[e];
|
|
3477
|
+
}), vr[e];
|
|
3478
3478
|
}
|
|
3479
3479
|
const fs = {
|
|
3480
3480
|
number: {
|
|
@@ -3513,10 +3513,10 @@ const fs = {
|
|
|
3513
3513
|
handleMissingMessage: void 0,
|
|
3514
3514
|
ignoreTag: !0
|
|
3515
3515
|
}, ms = ds;
|
|
3516
|
-
function
|
|
3516
|
+
function ar() {
|
|
3517
3517
|
return ms;
|
|
3518
3518
|
}
|
|
3519
|
-
const ct =
|
|
3519
|
+
const ct = Jr(!1);
|
|
3520
3520
|
var gs = Object.defineProperty, ps = Object.defineProperties, bs = Object.getOwnPropertyDescriptors, Ft = Object.getOwnPropertySymbols, ys = Object.prototype.hasOwnProperty, Es = Object.prototype.propertyIsEnumerable, Dt = (e, r, t) => r in e ? gs(e, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[r] = t, vs = (e, r) => {
|
|
3521
3521
|
for (var t in r || (r = {}))
|
|
3522
3522
|
ys.call(r, t) && Dt(e, t, r[t]);
|
|
@@ -3524,116 +3524,116 @@ var gs = Object.defineProperty, ps = Object.defineProperties, bs = Object.getOwn
|
|
|
3524
3524
|
for (var t of Ft(r))
|
|
3525
3525
|
Es.call(r, t) && Dt(e, t, r[t]);
|
|
3526
3526
|
return e;
|
|
3527
|
-
},
|
|
3528
|
-
let
|
|
3529
|
-
const
|
|
3527
|
+
}, ws = (e, r) => ps(e, bs(r));
|
|
3528
|
+
let wt;
|
|
3529
|
+
const Wr = Jr(null);
|
|
3530
3530
|
function Gt(e) {
|
|
3531
3531
|
return e.split("-").map((r, t, i) => i.slice(0, t + 1).join("-")).reverse();
|
|
3532
3532
|
}
|
|
3533
|
-
function
|
|
3533
|
+
function et(e, r = ar().fallbackLocale) {
|
|
3534
3534
|
const t = Gt(e);
|
|
3535
3535
|
return r ? [.../* @__PURE__ */ new Set([...t, ...Gt(r)])] : t;
|
|
3536
3536
|
}
|
|
3537
3537
|
function Fe() {
|
|
3538
|
-
return
|
|
3538
|
+
return wt ?? void 0;
|
|
3539
3539
|
}
|
|
3540
|
-
|
|
3541
|
-
|
|
3540
|
+
Wr.subscribe((e) => {
|
|
3541
|
+
wt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3542
3542
|
});
|
|
3543
|
-
const
|
|
3543
|
+
const _s = (e) => {
|
|
3544
3544
|
if (e && ls(e) && vt(e)) {
|
|
3545
|
-
const { loadingDelay: r } =
|
|
3545
|
+
const { loadingDelay: r } = ar();
|
|
3546
3546
|
let t;
|
|
3547
3547
|
return typeof window < "u" && Fe() != null && r ? t = window.setTimeout(
|
|
3548
3548
|
() => ct.set(!0),
|
|
3549
3549
|
r
|
|
3550
3550
|
) : ct.set(!0), Si(e).then(() => {
|
|
3551
|
-
|
|
3551
|
+
Wr.set(e);
|
|
3552
3552
|
}).finally(() => {
|
|
3553
3553
|
clearTimeout(t), ct.set(!1);
|
|
3554
3554
|
});
|
|
3555
3555
|
}
|
|
3556
|
-
return
|
|
3557
|
-
},
|
|
3558
|
-
set:
|
|
3559
|
-
}),
|
|
3556
|
+
return Wr.set(e);
|
|
3557
|
+
}, cr = ws(vs({}, Wr), {
|
|
3558
|
+
set: _s
|
|
3559
|
+
}), rt = (e) => {
|
|
3560
3560
|
const r = /* @__PURE__ */ Object.create(null);
|
|
3561
3561
|
return (i) => {
|
|
3562
3562
|
const n = JSON.stringify(i);
|
|
3563
3563
|
return n in r ? r[n] : r[n] = e(i);
|
|
3564
3564
|
};
|
|
3565
3565
|
};
|
|
3566
|
-
var Ss = Object.defineProperty,
|
|
3566
|
+
var Ss = Object.defineProperty, qr = Object.getOwnPropertySymbols, Pi = Object.prototype.hasOwnProperty, xi = Object.prototype.propertyIsEnumerable, jt = (e, r, t) => r in e ? Ss(e, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[r] = t, Pt = (e, r) => {
|
|
3567
3567
|
for (var t in r || (r = {}))
|
|
3568
3568
|
Pi.call(r, t) && jt(e, t, r[t]);
|
|
3569
|
-
if (
|
|
3570
|
-
for (var t of
|
|
3571
|
-
|
|
3569
|
+
if (qr)
|
|
3570
|
+
for (var t of qr(r))
|
|
3571
|
+
xi.call(r, t) && jt(e, t, r[t]);
|
|
3572
3572
|
return e;
|
|
3573
|
-
},
|
|
3573
|
+
}, hr = (e, r) => {
|
|
3574
3574
|
var t = {};
|
|
3575
3575
|
for (var i in e)
|
|
3576
3576
|
Pi.call(e, i) && r.indexOf(i) < 0 && (t[i] = e[i]);
|
|
3577
|
-
if (e != null &&
|
|
3578
|
-
for (var i of
|
|
3579
|
-
r.indexOf(i) < 0 &&
|
|
3577
|
+
if (e != null && qr)
|
|
3578
|
+
for (var i of qr(e))
|
|
3579
|
+
r.indexOf(i) < 0 && xi.call(e, i) && (t[i] = e[i]);
|
|
3580
3580
|
return t;
|
|
3581
3581
|
};
|
|
3582
|
-
const
|
|
3583
|
-
const { formats: t } =
|
|
3582
|
+
const xr = (e, r) => {
|
|
3583
|
+
const { formats: t } = ar();
|
|
3584
3584
|
if (e in t && r in t[e])
|
|
3585
3585
|
return t[e][r];
|
|
3586
3586
|
throw new Error(`[svelte-i18n] Unknown "${r}" ${e} format.`);
|
|
3587
|
-
}, Ps =
|
|
3587
|
+
}, Ps = rt(
|
|
3588
3588
|
(e) => {
|
|
3589
|
-
var r = e, { locale: t, format: i } = r, n =
|
|
3589
|
+
var r = e, { locale: t, format: i } = r, n = hr(r, ["locale", "format"]);
|
|
3590
3590
|
if (t == null)
|
|
3591
3591
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3592
|
-
return i && (n =
|
|
3592
|
+
return i && (n = xr("number", i)), new Intl.NumberFormat(t, n);
|
|
3593
3593
|
}
|
|
3594
|
-
),
|
|
3594
|
+
), xs = rt(
|
|
3595
3595
|
(e) => {
|
|
3596
|
-
var r = e, { locale: t, format: i } = r, n =
|
|
3596
|
+
var r = e, { locale: t, format: i } = r, n = hr(r, ["locale", "format"]);
|
|
3597
3597
|
if (t == null)
|
|
3598
3598
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3599
|
-
return i ? n =
|
|
3599
|
+
return i ? n = xr("date", i) : Object.keys(n).length === 0 && (n = xr("date", "short")), new Intl.DateTimeFormat(t, n);
|
|
3600
3600
|
}
|
|
3601
|
-
),
|
|
3601
|
+
), Cs = rt(
|
|
3602
3602
|
(e) => {
|
|
3603
|
-
var r = e, { locale: t, format: i } = r, n =
|
|
3603
|
+
var r = e, { locale: t, format: i } = r, n = hr(r, ["locale", "format"]);
|
|
3604
3604
|
if (t == null)
|
|
3605
3605
|
throw new Error(
|
|
3606
3606
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
3607
3607
|
);
|
|
3608
|
-
return i ? n =
|
|
3608
|
+
return i ? n = xr("time", i) : Object.keys(n).length === 0 && (n = xr("time", "short")), new Intl.DateTimeFormat(t, n);
|
|
3609
3609
|
}
|
|
3610
3610
|
), As = (e = {}) => {
|
|
3611
3611
|
var r = e, {
|
|
3612
3612
|
locale: t = Fe()
|
|
3613
|
-
} = r, i =
|
|
3613
|
+
} = r, i = hr(r, [
|
|
3614
3614
|
"locale"
|
|
3615
3615
|
]);
|
|
3616
3616
|
return Ps(Pt({ locale: t }, i));
|
|
3617
3617
|
}, Ts = (e = {}) => {
|
|
3618
3618
|
var r = e, {
|
|
3619
3619
|
locale: t = Fe()
|
|
3620
|
-
} = r, i =
|
|
3620
|
+
} = r, i = hr(r, [
|
|
3621
3621
|
"locale"
|
|
3622
3622
|
]);
|
|
3623
|
-
return
|
|
3623
|
+
return xs(Pt({ locale: t }, i));
|
|
3624
3624
|
}, Hs = (e = {}) => {
|
|
3625
3625
|
var r = e, {
|
|
3626
3626
|
locale: t = Fe()
|
|
3627
|
-
} = r, i =
|
|
3627
|
+
} = r, i = hr(r, [
|
|
3628
3628
|
"locale"
|
|
3629
3629
|
]);
|
|
3630
|
-
return
|
|
3631
|
-
},
|
|
3630
|
+
return Cs(Pt({ locale: t }, i));
|
|
3631
|
+
}, Bs = rt(
|
|
3632
3632
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3633
|
-
(e, r = Fe()) => new is(e, r,
|
|
3634
|
-
ignoreTag:
|
|
3633
|
+
(e, r = Fe()) => new is(e, r, ar().formats, {
|
|
3634
|
+
ignoreTag: ar().ignoreTag
|
|
3635
3635
|
})
|
|
3636
|
-
),
|
|
3636
|
+
), Is = (e, r = {}) => {
|
|
3637
3637
|
var t, i, n, s;
|
|
3638
3638
|
let u = r;
|
|
3639
3639
|
typeof e == "object" && (u = e, e = u.id);
|
|
@@ -3648,7 +3648,7 @@ const Ar = (e, r) => {
|
|
|
3648
3648
|
);
|
|
3649
3649
|
let h = Ei(e, f);
|
|
3650
3650
|
if (!h)
|
|
3651
|
-
h = (s = (n = (i = (t =
|
|
3651
|
+
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;
|
|
3652
3652
|
else if (typeof h != "string")
|
|
3653
3653
|
return console.warn(
|
|
3654
3654
|
`[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.`
|
|
@@ -3657,7 +3657,7 @@ const Ar = (e, r) => {
|
|
|
3657
3657
|
return h;
|
|
3658
3658
|
let m = h;
|
|
3659
3659
|
try {
|
|
3660
|
-
m =
|
|
3660
|
+
m = Bs(h, f).format(a);
|
|
3661
3661
|
} catch (g) {
|
|
3662
3662
|
g instanceof Error && console.warn(
|
|
3663
3663
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -3665,16 +3665,16 @@ const Ar = (e, r) => {
|
|
|
3665
3665
|
);
|
|
3666
3666
|
}
|
|
3667
3667
|
return m;
|
|
3668
|
-
}, Ns = (e, r) => Hs(r).format(e), Os = (e, r) => Ts(r).format(e), Ls = (e, r) => As(r).format(e), Ms = (e, r = Fe()) => Ei(e, r), Rs =
|
|
3669
|
-
|
|
3670
|
-
|
|
3671
|
-
|
|
3672
|
-
|
|
3668
|
+
}, Ns = (e, r) => Hs(r).format(e), Os = (e, r) => Ts(r).format(e), Ls = (e, r) => As(r).format(e), Ms = (e, r = Fe()) => Ei(e, r), Rs = ur([cr, Cr], () => Is);
|
|
3669
|
+
ur([cr], () => Ns);
|
|
3670
|
+
ur([cr], () => Os);
|
|
3671
|
+
ur([cr], () => Ls);
|
|
3672
|
+
ur([cr, Cr], () => Ms);
|
|
3673
3673
|
function Vt(e, r) {
|
|
3674
|
-
|
|
3674
|
+
wi(e, r);
|
|
3675
3675
|
}
|
|
3676
3676
|
function Us(e) {
|
|
3677
|
-
|
|
3677
|
+
cr.set(e);
|
|
3678
3678
|
}
|
|
3679
3679
|
const $t = {
|
|
3680
3680
|
en: {
|
|
@@ -3931,7 +3931,30 @@ const $t = {
|
|
|
3931
3931
|
registerNext: "Next"
|
|
3932
3932
|
}
|
|
3933
3933
|
};
|
|
3934
|
-
function ks(e) {
|
|
3934
|
+
function ks(e, r) {
|
|
3935
|
+
if (e) {
|
|
3936
|
+
const t = document.createElement("style");
|
|
3937
|
+
t.innerHTML = r, e.appendChild(t);
|
|
3938
|
+
}
|
|
3939
|
+
}
|
|
3940
|
+
function Fs(e, r) {
|
|
3941
|
+
const t = new URL(r);
|
|
3942
|
+
fetch(t.href).then((i) => i.text()).then((i) => {
|
|
3943
|
+
const n = document.createElement("style");
|
|
3944
|
+
n.innerHTML = i, e && e.appendChild(n);
|
|
3945
|
+
}).catch((i) => {
|
|
3946
|
+
console.error("There was an error while trying to load client styling from URL", i);
|
|
3947
|
+
});
|
|
3948
|
+
}
|
|
3949
|
+
function Ds(e, r, t) {
|
|
3950
|
+
if (window.emMessageBus) {
|
|
3951
|
+
const i = document.createElement("style");
|
|
3952
|
+
window.emMessageBus.subscribe(r, (n) => {
|
|
3953
|
+
i.innerHTML = n, e && e.appendChild(i);
|
|
3954
|
+
});
|
|
3955
|
+
}
|
|
3956
|
+
}
|
|
3957
|
+
function Gs(e) {
|
|
3935
3958
|
Ti(e, "svelte-6m40jp", ".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, #D0046C));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, #D0046C));background:var(--emw--color-pale, #FBECF4);color:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C))}.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, #D0046C))}.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, #D0046C));border:1px solid var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));border-radius:5px;width:100%;height:60px;padding:0;text-transform:uppercase;font-size:18px;cursor:pointer;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}");
|
|
3936
3959
|
}
|
|
3937
3960
|
function Qt(e) {
|
|
@@ -3941,18 +3964,18 @@ function Qt(e) {
|
|
|
3941
3964
|
), i;
|
|
3942
3965
|
return {
|
|
3943
3966
|
c() {
|
|
3944
|
-
r = E("p"), i =
|
|
3967
|
+
r = E("p"), i = H(t), o(r, "class", "InvalidInput");
|
|
3945
3968
|
},
|
|
3946
3969
|
m(n, s) {
|
|
3947
|
-
|
|
3970
|
+
ue(n, r, s), l(r, i);
|
|
3948
3971
|
},
|
|
3949
3972
|
p(n, s) {
|
|
3950
3973
|
s[0] & /*$_*/
|
|
3951
3974
|
1073741824 && t !== (t = /*$_*/
|
|
3952
|
-
n[30]("registerEmailError") + "") &&
|
|
3975
|
+
n[30]("registerEmailError") + "") && D(i, t);
|
|
3953
3976
|
},
|
|
3954
3977
|
d(n) {
|
|
3955
|
-
n &&
|
|
3978
|
+
n && ie(r);
|
|
3956
3979
|
}
|
|
3957
3980
|
};
|
|
3958
3981
|
}
|
|
@@ -3963,58 +3986,58 @@ function zt(e) {
|
|
|
3963
3986
|
), i;
|
|
3964
3987
|
return {
|
|
3965
3988
|
c() {
|
|
3966
|
-
r = E("p"), i =
|
|
3989
|
+
r = E("p"), i = H(t), o(r, "class", "InvalidInput");
|
|
3967
3990
|
},
|
|
3968
3991
|
m(n, s) {
|
|
3969
|
-
|
|
3992
|
+
ue(n, r, s), l(r, i);
|
|
3970
3993
|
},
|
|
3971
3994
|
p(n, s) {
|
|
3972
3995
|
s[0] & /*$_*/
|
|
3973
3996
|
1073741824 && t !== (t = /*$_*/
|
|
3974
|
-
n[30]("registerUsernameError") + "") &&
|
|
3997
|
+
n[30]("registerUsernameError") + "") && D(i, t);
|
|
3975
3998
|
},
|
|
3976
3999
|
d(n) {
|
|
3977
|
-
n &&
|
|
4000
|
+
n && ie(r);
|
|
3978
4001
|
}
|
|
3979
4002
|
};
|
|
3980
4003
|
}
|
|
3981
|
-
function
|
|
4004
|
+
function js(e) {
|
|
3982
4005
|
let r, t, i, n, s, u, a, f, c;
|
|
3983
4006
|
return {
|
|
3984
4007
|
c() {
|
|
3985
|
-
r =
|
|
4008
|
+
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");
|
|
3986
4009
|
},
|
|
3987
4010
|
m(h, m) {
|
|
3988
|
-
|
|
4011
|
+
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(
|
|
3989
4012
|
r,
|
|
3990
4013
|
"click",
|
|
3991
4014
|
/*click_handler_2*/
|
|
3992
|
-
e[
|
|
4015
|
+
e[62]
|
|
3993
4016
|
), f = !0);
|
|
3994
4017
|
},
|
|
3995
|
-
p:
|
|
4018
|
+
p: z,
|
|
3996
4019
|
d(h) {
|
|
3997
|
-
h &&
|
|
4020
|
+
h && ie(r), f = !1, c();
|
|
3998
4021
|
}
|
|
3999
4022
|
};
|
|
4000
4023
|
}
|
|
4001
|
-
function
|
|
4002
|
-
let r, t, i, n, s, u, a, f, c, h, m, g, b,
|
|
4024
|
+
function Vs(e) {
|
|
4025
|
+
let r, t, i, n, s, u, a, f, c, h, m, g, b, w, y;
|
|
4003
4026
|
return {
|
|
4004
4027
|
c() {
|
|
4005
|
-
r =
|
|
4028
|
+
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");
|
|
4006
4029
|
},
|
|
4007
|
-
m(
|
|
4008
|
-
|
|
4030
|
+
m(A, O) {
|
|
4031
|
+
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(
|
|
4009
4032
|
r,
|
|
4010
4033
|
"click",
|
|
4011
4034
|
/*click_handler_1*/
|
|
4012
|
-
e[
|
|
4013
|
-
),
|
|
4035
|
+
e[61]
|
|
4036
|
+
), w = !0);
|
|
4014
4037
|
},
|
|
4015
|
-
p:
|
|
4016
|
-
d(
|
|
4017
|
-
|
|
4038
|
+
p: z,
|
|
4039
|
+
d(A) {
|
|
4040
|
+
A && ie(r), w = !1, y();
|
|
4018
4041
|
}
|
|
4019
4042
|
};
|
|
4020
4043
|
}
|
|
@@ -4025,18 +4048,18 @@ function Xt(e) {
|
|
|
4025
4048
|
), i;
|
|
4026
4049
|
return {
|
|
4027
4050
|
c() {
|
|
4028
|
-
r = E("p"), i =
|
|
4051
|
+
r = E("p"), i = H(t), o(r, "class", "InvalidInput");
|
|
4029
4052
|
},
|
|
4030
4053
|
m(n, s) {
|
|
4031
|
-
|
|
4054
|
+
ue(n, r, s), l(r, i);
|
|
4032
4055
|
},
|
|
4033
4056
|
p(n, s) {
|
|
4034
4057
|
s[0] & /*$_*/
|
|
4035
4058
|
1073741824 && t !== (t = /*$_*/
|
|
4036
|
-
n[30]("registerPasswordError") + "") &&
|
|
4059
|
+
n[30]("registerPasswordError") + "") && D(i, t);
|
|
4037
4060
|
},
|
|
4038
4061
|
d(n) {
|
|
4039
|
-
n &&
|
|
4062
|
+
n && ie(r);
|
|
4040
4063
|
}
|
|
4041
4064
|
};
|
|
4042
4065
|
}
|
|
@@ -4047,58 +4070,58 @@ function Zt(e) {
|
|
|
4047
4070
|
), i;
|
|
4048
4071
|
return {
|
|
4049
4072
|
c() {
|
|
4050
|
-
r = E("p"), i =
|
|
4073
|
+
r = E("p"), i = H(t), o(r, "class", "InvalidInput");
|
|
4051
4074
|
},
|
|
4052
4075
|
m(n, s) {
|
|
4053
|
-
|
|
4076
|
+
ue(n, r, s), l(r, i);
|
|
4054
4077
|
},
|
|
4055
4078
|
p(n, s) {
|
|
4056
4079
|
s[0] & /*$_*/
|
|
4057
4080
|
1073741824 && t !== (t = /*$_*/
|
|
4058
|
-
n[30]("registerSimplePasswordError") + "") &&
|
|
4081
|
+
n[30]("registerSimplePasswordError") + "") && D(i, t);
|
|
4059
4082
|
},
|
|
4060
4083
|
d(n) {
|
|
4061
|
-
n &&
|
|
4084
|
+
n && ie(r);
|
|
4062
4085
|
}
|
|
4063
4086
|
};
|
|
4064
4087
|
}
|
|
4065
|
-
function
|
|
4088
|
+
function $s(e) {
|
|
4066
4089
|
let r, t, i, n, s, u, a, f, c;
|
|
4067
4090
|
return {
|
|
4068
4091
|
c() {
|
|
4069
|
-
r =
|
|
4092
|
+
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");
|
|
4070
4093
|
},
|
|
4071
4094
|
m(h, m) {
|
|
4072
|
-
|
|
4095
|
+
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(
|
|
4073
4096
|
r,
|
|
4074
4097
|
"click",
|
|
4075
4098
|
/*click_handler_4*/
|
|
4076
|
-
e[
|
|
4099
|
+
e[68]
|
|
4077
4100
|
), f = !0);
|
|
4078
4101
|
},
|
|
4079
|
-
p:
|
|
4102
|
+
p: z,
|
|
4080
4103
|
d(h) {
|
|
4081
|
-
h &&
|
|
4104
|
+
h && ie(r), f = !1, c();
|
|
4082
4105
|
}
|
|
4083
4106
|
};
|
|
4084
4107
|
}
|
|
4085
|
-
function
|
|
4086
|
-
let r, t, i, n, s, u, a, f, c, h, m, g, b,
|
|
4108
|
+
function Qs(e) {
|
|
4109
|
+
let r, t, i, n, s, u, a, f, c, h, m, g, b, w, y;
|
|
4087
4110
|
return {
|
|
4088
4111
|
c() {
|
|
4089
|
-
r =
|
|
4112
|
+
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");
|
|
4090
4113
|
},
|
|
4091
|
-
m(
|
|
4092
|
-
|
|
4114
|
+
m(A, O) {
|
|
4115
|
+
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(
|
|
4093
4116
|
r,
|
|
4094
4117
|
"click",
|
|
4095
4118
|
/*click_handler_3*/
|
|
4096
|
-
e[
|
|
4097
|
-
),
|
|
4119
|
+
e[67]
|
|
4120
|
+
), w = !0);
|
|
4098
4121
|
},
|
|
4099
|
-
p:
|
|
4100
|
-
d(
|
|
4101
|
-
|
|
4122
|
+
p: z,
|
|
4123
|
+
d(A) {
|
|
4124
|
+
A && ie(r), w = !1, y();
|
|
4102
4125
|
}
|
|
4103
4126
|
};
|
|
4104
4127
|
}
|
|
@@ -4109,18 +4132,18 @@ function Wt(e) {
|
|
|
4109
4132
|
), i;
|
|
4110
4133
|
return {
|
|
4111
4134
|
c() {
|
|
4112
|
-
r = E("p"), i =
|
|
4135
|
+
r = E("p"), i = H(t), o(r, "class", "InvalidInput");
|
|
4113
4136
|
},
|
|
4114
4137
|
m(n, s) {
|
|
4115
|
-
|
|
4138
|
+
ue(n, r, s), l(r, i);
|
|
4116
4139
|
},
|
|
4117
4140
|
p(n, s) {
|
|
4118
4141
|
s[0] & /*$_*/
|
|
4119
4142
|
1073741824 && t !== (t = /*$_*/
|
|
4120
|
-
n[30]("registerConfirmPasswordError") + "") &&
|
|
4143
|
+
n[30]("registerConfirmPasswordError") + "") && D(i, t);
|
|
4121
4144
|
},
|
|
4122
4145
|
d(n) {
|
|
4123
|
-
n &&
|
|
4146
|
+
n && ie(r);
|
|
4124
4147
|
}
|
|
4125
4148
|
};
|
|
4126
4149
|
}
|
|
@@ -4137,10 +4160,10 @@ function qt(e) {
|
|
|
4137
4160
|
), i;
|
|
4138
4161
|
return {
|
|
4139
4162
|
c() {
|
|
4140
|
-
r = E("p"), i =
|
|
4163
|
+
r = E("p"), i = H(t), o(r, "class", "InvalidInput");
|
|
4141
4164
|
},
|
|
4142
4165
|
m(n, s) {
|
|
4143
|
-
|
|
4166
|
+
ue(n, r, s), l(r, i);
|
|
4144
4167
|
},
|
|
4145
4168
|
p(n, s) {
|
|
4146
4169
|
s[0] & /*custominputtextswitch, $_*/
|
|
@@ -4151,10 +4174,10 @@ function qt(e) {
|
|
|
4151
4174
|
) : (
|
|
4152
4175
|
/*$_*/
|
|
4153
4176
|
n[30]("registerSecurityQuestionError")
|
|
4154
|
-
)) + "") &&
|
|
4177
|
+
)) + "") && D(i, t);
|
|
4155
4178
|
},
|
|
4156
4179
|
d(n) {
|
|
4157
|
-
n &&
|
|
4180
|
+
n && ie(r);
|
|
4158
4181
|
}
|
|
4159
4182
|
};
|
|
4160
4183
|
}
|
|
@@ -4171,10 +4194,10 @@ function Jt(e) {
|
|
|
4171
4194
|
), i;
|
|
4172
4195
|
return {
|
|
4173
4196
|
c() {
|
|
4174
|
-
r = E("p"), i =
|
|
4197
|
+
r = E("p"), i = H(t), o(r, "class", "InvalidInput");
|
|
4175
4198
|
},
|
|
4176
4199
|
m(n, s) {
|
|
4177
|
-
|
|
4200
|
+
ue(n, r, s), l(r, i);
|
|
4178
4201
|
},
|
|
4179
4202
|
p(n, s) {
|
|
4180
4203
|
s[0] & /*custominputtextswitch, $_*/
|
|
@@ -4185,14 +4208,14 @@ function Jt(e) {
|
|
|
4185
4208
|
) : (
|
|
4186
4209
|
/*$_*/
|
|
4187
4210
|
n[30]("registerSecurityAnswerError")
|
|
4188
|
-
)) + "") &&
|
|
4211
|
+
)) + "") && D(i, t);
|
|
4189
4212
|
},
|
|
4190
4213
|
d(n) {
|
|
4191
|
-
n &&
|
|
4214
|
+
n && ie(r);
|
|
4192
4215
|
}
|
|
4193
4216
|
};
|
|
4194
4217
|
}
|
|
4195
|
-
function
|
|
4218
|
+
function zs(e) {
|
|
4196
4219
|
let r, t, i, n = (
|
|
4197
4220
|
/*$_*/
|
|
4198
4221
|
e[30]("registerTitle") + ""
|
|
@@ -4202,22 +4225,22 @@ function Vs(e) {
|
|
|
4202
4225
|
), c, h, m, g = (
|
|
4203
4226
|
/*$_*/
|
|
4204
4227
|
e[30]("registerSubtitleLogin") + ""
|
|
4205
|
-
), b,
|
|
4228
|
+
), b, w, y, A, O, M = (
|
|
4206
4229
|
/*$_*/
|
|
4207
4230
|
e[30]("registerEmail") + ""
|
|
4208
|
-
),
|
|
4231
|
+
), R, ce, G, me, U, De, Ce, Ge, k, X, he = (
|
|
4209
4232
|
/*$_*/
|
|
4210
4233
|
e[30]("registerUsername") + ""
|
|
4211
|
-
),
|
|
4234
|
+
), ge, ne, V, Ae, F, Pe, Te, ye, pe, C, Ee, Z = (
|
|
4212
4235
|
/*$_*/
|
|
4213
4236
|
e[30]("registerPassword") + ""
|
|
4214
|
-
),
|
|
4237
|
+
), ve, Ar, Oe, Tr, B, Le, fr, dr, je, Me, Re, mr, j, xe, Ve = (
|
|
4215
4238
|
/*$_*/
|
|
4216
4239
|
e[30]("registerConfirmPassword") + ""
|
|
4217
|
-
),
|
|
4240
|
+
), $e, Hr, He, gr, $, pr, Qe, Ue, Br, we, ke, ze = (
|
|
4218
4241
|
/*$_*/
|
|
4219
4242
|
e[30]("registerPromoCode") + ""
|
|
4220
|
-
),
|
|
4243
|
+
), br, Ir, Nr, se, Or, Xe, Lr, fe, Be, Ze = (
|
|
4221
4244
|
/*custominputtextswitch*/
|
|
4222
4245
|
(e[2] == "true" ? (
|
|
4223
4246
|
/*$_*/
|
|
@@ -4226,7 +4249,7 @@ function Vs(e) {
|
|
|
4226
4249
|
/*$_*/
|
|
4227
4250
|
e[30]("registerSecurityQuestion")
|
|
4228
4251
|
)) + ""
|
|
4229
|
-
),
|
|
4252
|
+
), yr, Mr, We, Rr, oe, Ur, qe, kr, de, Ie, Je = (
|
|
4230
4253
|
/*custominputtextswitch*/
|
|
4231
4254
|
(e[2] == "true" ? (
|
|
4232
4255
|
/*$_*/
|
|
@@ -4235,27 +4258,27 @@ function Vs(e) {
|
|
|
4235
4258
|
/*$_*/
|
|
4236
4259
|
e[30]("registerSecurityAnswer")
|
|
4237
4260
|
)) + ""
|
|
4238
|
-
),
|
|
4261
|
+
), Er, Fr, Ye, Dr, ae, Gr, Ke, p, N, le = (
|
|
4239
4262
|
/*$_*/
|
|
4240
4263
|
e[30]("registerNext") + ""
|
|
4241
|
-
),
|
|
4264
|
+
), tt, jr, it, xt, W = (
|
|
4242
4265
|
/*invalidEmail*/
|
|
4243
4266
|
e[4] && Qt(e)
|
|
4244
|
-
),
|
|
4267
|
+
), q = (
|
|
4245
4268
|
/*invalidName*/
|
|
4246
4269
|
e[5] && zt(e)
|
|
4247
4270
|
);
|
|
4248
|
-
function
|
|
4271
|
+
function Ct(d, v) {
|
|
4249
4272
|
return (
|
|
4250
4273
|
/*isPasswordVisible*/
|
|
4251
|
-
d[25] ?
|
|
4274
|
+
d[25] ? Vs : js
|
|
4252
4275
|
);
|
|
4253
4276
|
}
|
|
4254
|
-
let
|
|
4277
|
+
let Vr = Ct(e), _e = Vr(e), J = (
|
|
4255
4278
|
/*invalidPassword*/
|
|
4256
4279
|
e[6] && /*simplepasswordvalidation*/
|
|
4257
4280
|
e[0] !== "true" && Xt(e)
|
|
4258
|
-
),
|
|
4281
|
+
), Y = (
|
|
4259
4282
|
/*invalidPassword*/
|
|
4260
4283
|
e[6] && /*simplepasswordvalidation*/
|
|
4261
4284
|
e[0] === "true" && Zt(e)
|
|
@@ -4263,391 +4286,391 @@ function Vs(e) {
|
|
|
4263
4286
|
function At(d, v) {
|
|
4264
4287
|
return (
|
|
4265
4288
|
/*isConfirmPasswordVisible*/
|
|
4266
|
-
d[26] ?
|
|
4289
|
+
d[26] ? Qs : $s
|
|
4267
4290
|
);
|
|
4268
4291
|
}
|
|
4269
|
-
let
|
|
4292
|
+
let $r = At(e), Se = $r(e), K = (
|
|
4270
4293
|
/*invalidConfirmPassword*/
|
|
4271
4294
|
e[7] && Wt(e)
|
|
4272
|
-
),
|
|
4295
|
+
), ee = (
|
|
4273
4296
|
/*invalidSecurityQuestion*/
|
|
4274
4297
|
e[8] && qt(e)
|
|
4275
|
-
),
|
|
4298
|
+
), re = (
|
|
4276
4299
|
/*invalidSecurityAnswer*/
|
|
4277
4300
|
e[9] && Jt(e)
|
|
4278
4301
|
);
|
|
4279
4302
|
return {
|
|
4280
4303
|
c() {
|
|
4281
|
-
r = E("div"), t = E("div"), i = E("h2"), s =
|
|
4304
|
+
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*/
|
|
4282
4305
|
(e[4] && !/*emailFocus*/
|
|
4283
4306
|
e[10] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4284
|
-
(e[17]?.indexOf("email") >= 0 ? "Hidden" : "")), o(
|
|
4285
|
-
e[1] ? "username" : "off"), o(
|
|
4307
|
+
(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*/
|
|
4308
|
+
e[1] ? "username" : "off"), o(k, "class", ye = "UserContainer " + /*invalidName*/
|
|
4286
4309
|
(e[5] && !/*usernameFocus*/
|
|
4287
4310
|
e[11] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4288
|
-
(e[17]?.indexOf("username") >= 0 ? "Hidden" : "")), o(
|
|
4289
|
-
e[1] ? "new-password" : "off"), o(
|
|
4311
|
+
(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*/
|
|
4312
|
+
e[1] ? "new-password" : "off"), o(B, "aria-describedby", "password-constraints"), o(C, "class", Me = "PasswordContainer " + /*invalidPassword*/
|
|
4290
4313
|
(e[6] && !/*passwordFocus*/
|
|
4291
4314
|
e[12] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4292
|
-
(e[17]?.indexOf("password") >= 0 ? "Hidden" : "")),
|
|
4293
|
-
e[17]?.indexOf("password") >= 0, o(
|
|
4315
|
+
(e[17]?.indexOf("password") >= 0 ? "Hidden" : "")), C.hidden = Re = /*disabledFieldsList*/
|
|
4316
|
+
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*/
|
|
4294
4317
|
(e[7] && !/*confirmPasswordFocus*/
|
|
4295
4318
|
e[13] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4296
|
-
(e[17]?.indexOf("confirmPassword") >= 0 ? "Hidden" : "")), o(ke, "for", "PromoCode"), o(
|
|
4297
|
-
(e[17]?.indexOf("promoCode") >= 0 ? "Hidden" : "")), o(
|
|
4319
|
+
(e[17]?.indexOf("confirmPassword") >= 0 ? "Hidden" : "")), o(ke, "for", "PromoCode"), o(se, "type", "text"), o(se, "id", "PromoCode"), o(we, "class", Xe = "PromoCodeContainer " + /*disabledFieldsList*/
|
|
4320
|
+
(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*/
|
|
4298
4321
|
(e[8] && !/*securityQFocus*/
|
|
4299
4322
|
e[14] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4300
|
-
(e[17]?.indexOf("securityQuestion") >= 0 ? "Hidden" : "")), o(
|
|
4323
|
+
(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*/
|
|
4301
4324
|
(e[9] && !/*securityAFocus*/
|
|
4302
4325
|
e[15] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4303
|
-
(e[17]?.indexOf("securityAnswer") >= 0 ? "Hidden" : "")), o(
|
|
4326
|
+
(e[17]?.indexOf("securityAnswer") >= 0 ? "Hidden" : "")), o(N, "class", "RegisterStepNext"), N.disabled = jr = !/*isValid*/
|
|
4304
4327
|
e[29], o(y, "class", "RegisterFormContent");
|
|
4305
4328
|
},
|
|
4306
4329
|
m(d, v) {
|
|
4307
|
-
|
|
4308
|
-
|
|
4330
|
+
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(
|
|
4331
|
+
U,
|
|
4309
4332
|
/*userEmail*/
|
|
4310
4333
|
e[19]
|
|
4311
|
-
), l(
|
|
4312
|
-
|
|
4334
|
+
), 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(
|
|
4335
|
+
F,
|
|
4313
4336
|
/*userValue*/
|
|
4314
4337
|
e[18]
|
|
4315
|
-
), l(
|
|
4316
|
-
|
|
4338
|
+
), 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(
|
|
4339
|
+
B,
|
|
4317
4340
|
/*userPassword*/
|
|
4318
4341
|
e[20]
|
|
4319
|
-
), e[
|
|
4320
|
-
|
|
4342
|
+
), 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(
|
|
4343
|
+
$,
|
|
4321
4344
|
/*confirmUserPassword*/
|
|
4322
4345
|
e[21]
|
|
4323
|
-
), e[
|
|
4324
|
-
|
|
4346
|
+
), 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(
|
|
4347
|
+
se,
|
|
4325
4348
|
/*promoCode*/
|
|
4326
4349
|
e[24]
|
|
4327
|
-
), l(we, Or), l(y, Lr), l(y,
|
|
4328
|
-
|
|
4350
|
+
), 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(
|
|
4351
|
+
oe,
|
|
4329
4352
|
/*securityQuestion*/
|
|
4330
4353
|
e[22]
|
|
4331
|
-
), l(
|
|
4332
|
-
|
|
4354
|
+
), 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(
|
|
4355
|
+
ae,
|
|
4333
4356
|
/*securityAnswer*/
|
|
4334
4357
|
e[23]
|
|
4335
|
-
), l(
|
|
4358
|
+
), l(de, Gr), re && re.m(de, null), l(y, p), l(y, N), l(N, tt), e[79](r), it || (xt = [
|
|
4336
4359
|
x(
|
|
4337
4360
|
m,
|
|
4338
4361
|
"click",
|
|
4339
4362
|
/*click_handler*/
|
|
4340
|
-
e[
|
|
4363
|
+
e[50]
|
|
4341
4364
|
),
|
|
4342
4365
|
x(
|
|
4343
|
-
|
|
4366
|
+
U,
|
|
4344
4367
|
"input",
|
|
4345
4368
|
/*input0_input_handler*/
|
|
4346
|
-
e[
|
|
4369
|
+
e[51]
|
|
4347
4370
|
),
|
|
4348
4371
|
x(
|
|
4349
|
-
|
|
4372
|
+
U,
|
|
4350
4373
|
"keyup",
|
|
4351
4374
|
/*checkEmailIdentifier*/
|
|
4352
4375
|
e[32]
|
|
4353
4376
|
),
|
|
4354
4377
|
x(
|
|
4355
|
-
|
|
4378
|
+
U,
|
|
4356
4379
|
"focus",
|
|
4357
4380
|
/*focus_handler*/
|
|
4358
|
-
e[
|
|
4381
|
+
e[52]
|
|
4359
4382
|
),
|
|
4360
4383
|
x(
|
|
4361
|
-
|
|
4384
|
+
U,
|
|
4362
4385
|
"blur",
|
|
4363
4386
|
/*blur_handler*/
|
|
4364
|
-
e[
|
|
4387
|
+
e[53]
|
|
4365
4388
|
),
|
|
4366
4389
|
x(
|
|
4367
|
-
|
|
4390
|
+
F,
|
|
4368
4391
|
"input",
|
|
4369
4392
|
/*input1_input_handler*/
|
|
4370
|
-
e[
|
|
4393
|
+
e[54]
|
|
4371
4394
|
),
|
|
4372
4395
|
x(
|
|
4373
|
-
|
|
4396
|
+
F,
|
|
4374
4397
|
"keyup",
|
|
4375
4398
|
/*checkUserIdentifier*/
|
|
4376
4399
|
e[33]
|
|
4377
4400
|
),
|
|
4378
4401
|
x(
|
|
4379
|
-
|
|
4402
|
+
F,
|
|
4380
4403
|
"focus",
|
|
4381
4404
|
/*focus_handler_1*/
|
|
4382
|
-
e[
|
|
4405
|
+
e[55]
|
|
4383
4406
|
),
|
|
4384
4407
|
x(
|
|
4385
|
-
|
|
4408
|
+
F,
|
|
4386
4409
|
"blur",
|
|
4387
4410
|
/*blur_handler_1*/
|
|
4388
|
-
e[
|
|
4411
|
+
e[56]
|
|
4389
4412
|
),
|
|
4390
4413
|
x(
|
|
4391
|
-
|
|
4414
|
+
B,
|
|
4392
4415
|
"input",
|
|
4393
4416
|
/*input2_input_handler*/
|
|
4394
|
-
e[
|
|
4417
|
+
e[57]
|
|
4395
4418
|
),
|
|
4396
4419
|
x(
|
|
4397
|
-
|
|
4420
|
+
B,
|
|
4398
4421
|
"keyup",
|
|
4399
4422
|
/*validatePassword*/
|
|
4400
4423
|
e[38]
|
|
4401
4424
|
),
|
|
4402
4425
|
x(
|
|
4403
|
-
|
|
4426
|
+
B,
|
|
4404
4427
|
"focus",
|
|
4405
4428
|
/*focus_handler_2*/
|
|
4406
|
-
e[
|
|
4429
|
+
e[58]
|
|
4407
4430
|
),
|
|
4408
4431
|
x(
|
|
4409
|
-
|
|
4432
|
+
B,
|
|
4410
4433
|
"blur",
|
|
4411
4434
|
/*blur_handler_2*/
|
|
4412
|
-
e[
|
|
4435
|
+
e[59]
|
|
4413
4436
|
),
|
|
4414
4437
|
x(
|
|
4415
|
-
|
|
4438
|
+
$,
|
|
4416
4439
|
"input",
|
|
4417
4440
|
/*input3_input_handler*/
|
|
4418
|
-
e[
|
|
4441
|
+
e[63]
|
|
4419
4442
|
),
|
|
4420
4443
|
x(
|
|
4421
|
-
|
|
4444
|
+
$,
|
|
4422
4445
|
"keyup",
|
|
4423
4446
|
/*validateConfirmPassword*/
|
|
4424
4447
|
e[39]
|
|
4425
4448
|
),
|
|
4426
4449
|
x(
|
|
4427
|
-
|
|
4450
|
+
$,
|
|
4428
4451
|
"focus",
|
|
4429
4452
|
/*focus_handler_3*/
|
|
4430
|
-
e[
|
|
4453
|
+
e[64]
|
|
4431
4454
|
),
|
|
4432
4455
|
x(
|
|
4433
|
-
|
|
4456
|
+
$,
|
|
4434
4457
|
"blur",
|
|
4435
4458
|
/*blur_handler_3*/
|
|
4436
|
-
e[
|
|
4459
|
+
e[65]
|
|
4437
4460
|
),
|
|
4438
4461
|
x(
|
|
4439
|
-
|
|
4462
|
+
se,
|
|
4440
4463
|
"input",
|
|
4441
4464
|
/*input4_input_handler*/
|
|
4442
|
-
e[
|
|
4465
|
+
e[69]
|
|
4443
4466
|
),
|
|
4444
4467
|
x(
|
|
4445
|
-
|
|
4468
|
+
se,
|
|
4446
4469
|
"keyup",
|
|
4447
4470
|
/*checkPromoCode*/
|
|
4448
4471
|
e[40]
|
|
4449
4472
|
),
|
|
4450
4473
|
x(
|
|
4451
|
-
|
|
4474
|
+
se,
|
|
4452
4475
|
"focus",
|
|
4453
4476
|
/*focus_handler_4*/
|
|
4454
|
-
e[
|
|
4477
|
+
e[70]
|
|
4455
4478
|
),
|
|
4456
4479
|
x(
|
|
4457
|
-
|
|
4480
|
+
se,
|
|
4458
4481
|
"blur",
|
|
4459
4482
|
/*blur_handler_4*/
|
|
4460
|
-
e[
|
|
4483
|
+
e[71]
|
|
4461
4484
|
),
|
|
4462
4485
|
x(
|
|
4463
|
-
|
|
4486
|
+
oe,
|
|
4464
4487
|
"input",
|
|
4465
4488
|
/*input5_input_handler*/
|
|
4466
|
-
e[
|
|
4489
|
+
e[72]
|
|
4467
4490
|
),
|
|
4468
4491
|
x(
|
|
4469
|
-
|
|
4492
|
+
oe,
|
|
4470
4493
|
"keyup",
|
|
4471
4494
|
/*checkSecurityQuestion*/
|
|
4472
4495
|
e[41]
|
|
4473
4496
|
),
|
|
4474
4497
|
x(
|
|
4475
|
-
|
|
4498
|
+
oe,
|
|
4476
4499
|
"focus",
|
|
4477
4500
|
/*focus_handler_5*/
|
|
4478
|
-
e[
|
|
4501
|
+
e[73]
|
|
4479
4502
|
),
|
|
4480
4503
|
x(
|
|
4481
|
-
|
|
4504
|
+
oe,
|
|
4482
4505
|
"blur",
|
|
4483
4506
|
/*blur_handler_5*/
|
|
4484
|
-
e[
|
|
4507
|
+
e[74]
|
|
4485
4508
|
),
|
|
4486
4509
|
x(
|
|
4487
|
-
|
|
4510
|
+
ae,
|
|
4488
4511
|
"input",
|
|
4489
4512
|
/*input6_input_handler*/
|
|
4490
|
-
e[
|
|
4513
|
+
e[75]
|
|
4491
4514
|
),
|
|
4492
4515
|
x(
|
|
4493
|
-
|
|
4516
|
+
ae,
|
|
4494
4517
|
"keyup",
|
|
4495
4518
|
/*checkSecurityAnswer*/
|
|
4496
4519
|
e[42]
|
|
4497
4520
|
),
|
|
4498
4521
|
x(
|
|
4499
|
-
|
|
4522
|
+
ae,
|
|
4500
4523
|
"focus",
|
|
4501
4524
|
/*focus_handler_6*/
|
|
4502
|
-
e[
|
|
4525
|
+
e[76]
|
|
4503
4526
|
),
|
|
4504
4527
|
x(
|
|
4505
|
-
|
|
4528
|
+
ae,
|
|
4506
4529
|
"blur",
|
|
4507
4530
|
/*blur_handler_6*/
|
|
4508
|
-
e[
|
|
4531
|
+
e[77]
|
|
4509
4532
|
),
|
|
4510
4533
|
x(
|
|
4511
|
-
|
|
4534
|
+
N,
|
|
4512
4535
|
"click",
|
|
4513
4536
|
/*click_handler_5*/
|
|
4514
|
-
e[
|
|
4537
|
+
e[78]
|
|
4515
4538
|
)
|
|
4516
4539
|
], it = !0);
|
|
4517
4540
|
},
|
|
4518
4541
|
p(d, v) {
|
|
4519
4542
|
v[0] & /*$_*/
|
|
4520
4543
|
1073741824 && n !== (n = /*$_*/
|
|
4521
|
-
d[30]("registerTitle") + "") &&
|
|
4544
|
+
d[30]("registerTitle") + "") && D(s, n), v[0] & /*$_*/
|
|
4522
4545
|
1073741824 && f !== (f = /*$_*/
|
|
4523
|
-
d[30]("registerSubtitle") + "") &&
|
|
4546
|
+
d[30]("registerSubtitle") + "") && D(c, f), v[0] & /*$_*/
|
|
4524
4547
|
1073741824 && g !== (g = /*$_*/
|
|
4525
|
-
d[30]("registerSubtitleLogin") + "") &&
|
|
4526
|
-
1073741824 &&
|
|
4527
|
-
d[30]("registerEmail") + "") &&
|
|
4528
|
-
524288 &&
|
|
4529
|
-
d[19] &&
|
|
4530
|
-
|
|
4548
|
+
d[30]("registerSubtitleLogin") + "") && D(b, g), v[0] & /*$_*/
|
|
4549
|
+
1073741824 && M !== (M = /*$_*/
|
|
4550
|
+
d[30]("registerEmail") + "") && D(R, M), v[0] & /*userEmail*/
|
|
4551
|
+
524288 && U.value !== /*userEmail*/
|
|
4552
|
+
d[19] && te(
|
|
4553
|
+
U,
|
|
4531
4554
|
/*userEmail*/
|
|
4532
4555
|
d[19]
|
|
4533
4556
|
), /*invalidEmail*/
|
|
4534
|
-
d[4] ?
|
|
4535
|
-
132112 &&
|
|
4557
|
+
d[4] ? W ? W.p(d, v) : (W = Qt(d), W.c(), W.m(A, null)) : W && (W.d(1), W = null), v[0] & /*invalidEmail, emailFocus, disabledFieldsList*/
|
|
4558
|
+
132112 && Ce !== (Ce = "EmailContainer " + /*invalidEmail*/
|
|
4536
4559
|
(d[4] && !/*emailFocus*/
|
|
4537
4560
|
d[10] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4538
|
-
(d[17]?.indexOf("email") >= 0 ? "Hidden" : "")) && o(
|
|
4539
|
-
1073741824 &&
|
|
4540
|
-
d[30]("registerUsername") + "") &&
|
|
4541
|
-
2 &&
|
|
4542
|
-
d[1] ? "username" : "off") && o(
|
|
4543
|
-
262144 &&
|
|
4544
|
-
d[18] &&
|
|
4545
|
-
|
|
4561
|
+
(d[17]?.indexOf("email") >= 0 ? "Hidden" : "")) && o(A, "class", Ce), v[0] & /*$_*/
|
|
4562
|
+
1073741824 && he !== (he = /*$_*/
|
|
4563
|
+
d[30]("registerUsername") + "") && D(ge, he), v[0] & /*savecredentials*/
|
|
4564
|
+
2 && Pe !== (Pe = /*savecredentials*/
|
|
4565
|
+
d[1] ? "username" : "off") && o(F, "autocomplete", Pe), v[0] & /*userValue*/
|
|
4566
|
+
262144 && F.value !== /*userValue*/
|
|
4567
|
+
d[18] && te(
|
|
4568
|
+
F,
|
|
4546
4569
|
/*userValue*/
|
|
4547
4570
|
d[18]
|
|
4548
4571
|
), /*invalidName*/
|
|
4549
|
-
d[5] ?
|
|
4550
|
-
133152 &&
|
|
4572
|
+
d[5] ? q ? q.p(d, v) : (q = zt(d), q.c(), q.m(k, null)) : q && (q.d(1), q = null), v[0] & /*invalidName, usernameFocus, disabledFieldsList*/
|
|
4573
|
+
133152 && ye !== (ye = "UserContainer " + /*invalidName*/
|
|
4551
4574
|
(d[5] && !/*usernameFocus*/
|
|
4552
4575
|
d[11] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4553
|
-
(d[17]?.indexOf("username") >= 0 ? "Hidden" : "")) && o(
|
|
4554
|
-
1073741824 &&
|
|
4555
|
-
d[30]("registerPassword") + "") &&
|
|
4556
|
-
2 &&
|
|
4557
|
-
d[1] ? "new-password" : "off") && o(
|
|
4558
|
-
1048576 &&
|
|
4559
|
-
d[20] &&
|
|
4560
|
-
|
|
4576
|
+
(d[17]?.indexOf("username") >= 0 ? "Hidden" : "")) && o(k, "class", ye), v[0] & /*$_*/
|
|
4577
|
+
1073741824 && Z !== (Z = /*$_*/
|
|
4578
|
+
d[30]("registerPassword") + "") && D(ve, Z), v[0] & /*savecredentials*/
|
|
4579
|
+
2 && Le !== (Le = /*savecredentials*/
|
|
4580
|
+
d[1] ? "new-password" : "off") && o(B, "autocomplete", Le), v[0] & /*userPassword*/
|
|
4581
|
+
1048576 && B.value !== /*userPassword*/
|
|
4582
|
+
d[20] && te(
|
|
4583
|
+
B,
|
|
4561
4584
|
/*userPassword*/
|
|
4562
4585
|
d[20]
|
|
4563
|
-
),
|
|
4586
|
+
), Vr === (Vr = Ct(d)) && _e ? _e.p(d, v) : (_e.d(1), _e = Vr(d), _e && (_e.c(), _e.m(C, dr))), /*invalidPassword*/
|
|
4564
4587
|
d[6] && /*simplepasswordvalidation*/
|
|
4565
|
-
d[0] !== "true" ?
|
|
4588
|
+
d[0] !== "true" ? J ? J.p(d, v) : (J = Xt(d), J.c(), J.m(C, je)) : J && (J.d(1), J = null), /*invalidPassword*/
|
|
4566
4589
|
d[6] && /*simplepasswordvalidation*/
|
|
4567
|
-
d[0] === "true" ?
|
|
4568
|
-
135232 &&
|
|
4590
|
+
d[0] === "true" ? Y ? Y.p(d, v) : (Y = Zt(d), Y.c(), Y.m(C, null)) : Y && (Y.d(1), Y = null), v[0] & /*invalidPassword, passwordFocus, disabledFieldsList*/
|
|
4591
|
+
135232 && Me !== (Me = "PasswordContainer " + /*invalidPassword*/
|
|
4569
4592
|
(d[6] && !/*passwordFocus*/
|
|
4570
4593
|
d[12] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4571
|
-
(d[17]?.indexOf("password") >= 0 ? "Hidden" : "")) && o(
|
|
4572
|
-
131072 &&
|
|
4573
|
-
d[17]?.indexOf("password") >= 0) && (
|
|
4574
|
-
1073741824 &&
|
|
4575
|
-
d[30]("registerConfirmPassword") + "") &&
|
|
4576
|
-
2097152 &&
|
|
4577
|
-
d[21] &&
|
|
4578
|
-
|
|
4594
|
+
(d[17]?.indexOf("password") >= 0 ? "Hidden" : "")) && o(C, "class", Me), v[0] & /*disabledFieldsList*/
|
|
4595
|
+
131072 && Re !== (Re = /*disabledFieldsList*/
|
|
4596
|
+
d[17]?.indexOf("password") >= 0) && (C.hidden = Re), v[0] & /*$_*/
|
|
4597
|
+
1073741824 && Ve !== (Ve = /*$_*/
|
|
4598
|
+
d[30]("registerConfirmPassword") + "") && D($e, Ve), v[0] & /*confirmUserPassword*/
|
|
4599
|
+
2097152 && $.value !== /*confirmUserPassword*/
|
|
4600
|
+
d[21] && te(
|
|
4601
|
+
$,
|
|
4579
4602
|
/*confirmUserPassword*/
|
|
4580
4603
|
d[21]
|
|
4581
|
-
),
|
|
4582
|
-
d[7] ?
|
|
4583
|
-
139392 &&
|
|
4604
|
+
), $r === ($r = At(d)) && Se ? Se.p(d, v) : (Se.d(1), Se = $r(d), Se && (Se.c(), Se.m(j, Qe))), /*invalidConfirmPassword*/
|
|
4605
|
+
d[7] ? K ? K.p(d, v) : (K = Wt(d), K.c(), K.m(j, null)) : K && (K.d(1), K = null), v[0] & /*invalidConfirmPassword, confirmPasswordFocus, disabledFieldsList*/
|
|
4606
|
+
139392 && Ue !== (Ue = "ConfirmPasswordContainer " + /*invalidConfirmPassword*/
|
|
4584
4607
|
(d[7] && !/*confirmPasswordFocus*/
|
|
4585
4608
|
d[13] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4586
|
-
(d[17]?.indexOf("confirmPassword") >= 0 ? "Hidden" : "")) && o(j, "class",
|
|
4587
|
-
1073741824 &&
|
|
4588
|
-
d[30]("registerPromoCode") + "") &&
|
|
4589
|
-
16777216 &&
|
|
4590
|
-
d[24] &&
|
|
4591
|
-
|
|
4609
|
+
(d[17]?.indexOf("confirmPassword") >= 0 ? "Hidden" : "")) && o(j, "class", Ue), v[0] & /*$_*/
|
|
4610
|
+
1073741824 && ze !== (ze = /*$_*/
|
|
4611
|
+
d[30]("registerPromoCode") + "") && D(br, ze), v[0] & /*promoCode*/
|
|
4612
|
+
16777216 && se.value !== /*promoCode*/
|
|
4613
|
+
d[24] && te(
|
|
4614
|
+
se,
|
|
4592
4615
|
/*promoCode*/
|
|
4593
4616
|
d[24]
|
|
4594
4617
|
), v[0] & /*disabledFieldsList*/
|
|
4595
|
-
131072 &&
|
|
4596
|
-
(d[17]?.indexOf("promoCode") >= 0 ? "Hidden" : "")) && o(we, "class",
|
|
4597
|
-
1073741828 &&
|
|
4618
|
+
131072 && Xe !== (Xe = "PromoCodeContainer " + /*disabledFieldsList*/
|
|
4619
|
+
(d[17]?.indexOf("promoCode") >= 0 ? "Hidden" : "")) && o(we, "class", Xe), v[0] & /*custominputtextswitch, $_*/
|
|
4620
|
+
1073741828 && Ze !== (Ze = /*custominputtextswitch*/
|
|
4598
4621
|
(d[2] == "true" ? (
|
|
4599
4622
|
/*$_*/
|
|
4600
4623
|
d[30]("registerSecurityQuestion2")
|
|
4601
4624
|
) : (
|
|
4602
4625
|
/*$_*/
|
|
4603
4626
|
d[30]("registerSecurityQuestion")
|
|
4604
|
-
)) + "") &&
|
|
4605
|
-
4194304 &&
|
|
4606
|
-
d[22] &&
|
|
4607
|
-
|
|
4627
|
+
)) + "") && D(yr, Ze), v[0] & /*securityQuestion*/
|
|
4628
|
+
4194304 && oe.value !== /*securityQuestion*/
|
|
4629
|
+
d[22] && te(
|
|
4630
|
+
oe,
|
|
4608
4631
|
/*securityQuestion*/
|
|
4609
4632
|
d[22]
|
|
4610
4633
|
), /*invalidSecurityQuestion*/
|
|
4611
|
-
d[8] ?
|
|
4612
|
-
147712 &&
|
|
4634
|
+
d[8] ? ee ? ee.p(d, v) : (ee = qt(d), ee.c(), ee.m(fe, null)) : ee && (ee.d(1), ee = null), v[0] & /*invalidSecurityQuestion, securityQFocus, disabledFieldsList*/
|
|
4635
|
+
147712 && qe !== (qe = "SecurityQuestionContainer " + /*invalidSecurityQuestion*/
|
|
4613
4636
|
(d[8] && !/*securityQFocus*/
|
|
4614
4637
|
d[14] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4615
|
-
(d[17]?.indexOf("securityQuestion") >= 0 ? "Hidden" : "")) && o(
|
|
4616
|
-
1073741828 &&
|
|
4638
|
+
(d[17]?.indexOf("securityQuestion") >= 0 ? "Hidden" : "")) && o(fe, "class", qe), v[0] & /*custominputtextswitch, $_*/
|
|
4639
|
+
1073741828 && Je !== (Je = /*custominputtextswitch*/
|
|
4617
4640
|
(d[2] == "true" ? (
|
|
4618
4641
|
/*$_*/
|
|
4619
4642
|
d[30]("registerSecurityAnswer2")
|
|
4620
4643
|
) : (
|
|
4621
4644
|
/*$_*/
|
|
4622
4645
|
d[30]("registerSecurityAnswer")
|
|
4623
|
-
)) + "") &&
|
|
4624
|
-
8388608 &&
|
|
4625
|
-
d[23] &&
|
|
4626
|
-
|
|
4646
|
+
)) + "") && D(Er, Je), v[0] & /*securityAnswer*/
|
|
4647
|
+
8388608 && ae.value !== /*securityAnswer*/
|
|
4648
|
+
d[23] && te(
|
|
4649
|
+
ae,
|
|
4627
4650
|
/*securityAnswer*/
|
|
4628
4651
|
d[23]
|
|
4629
4652
|
), /*invalidSecurityAnswer*/
|
|
4630
|
-
d[9] ?
|
|
4631
|
-
164352 &&
|
|
4653
|
+
d[9] ? re ? re.p(d, v) : (re = Jt(d), re.c(), re.m(de, null)) : re && (re.d(1), re = null), v[0] & /*invalidSecurityAnswer, securityAFocus, disabledFieldsList*/
|
|
4654
|
+
164352 && Ke !== (Ke = "SecurityAnswerContainer " + /*invalidSecurityAnswer*/
|
|
4632
4655
|
(d[9] && !/*securityAFocus*/
|
|
4633
4656
|
d[15] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4634
|
-
(d[17]?.indexOf("securityAnswer") >= 0 ? "Hidden" : "")) && o(
|
|
4635
|
-
1073741824 &&
|
|
4636
|
-
d[30]("registerNext") + "") &&
|
|
4637
|
-
536870912 &&
|
|
4638
|
-
d[29]) && (
|
|
4657
|
+
(d[17]?.indexOf("securityAnswer") >= 0 ? "Hidden" : "")) && o(de, "class", Ke), v[0] & /*$_*/
|
|
4658
|
+
1073741824 && le !== (le = /*$_*/
|
|
4659
|
+
d[30]("registerNext") + "") && D(tt, le), v[0] & /*isValid*/
|
|
4660
|
+
536870912 && jr !== (jr = !/*isValid*/
|
|
4661
|
+
d[29]) && (N.disabled = jr);
|
|
4639
4662
|
},
|
|
4640
|
-
i:
|
|
4641
|
-
o:
|
|
4663
|
+
i: z,
|
|
4664
|
+
o: z,
|
|
4642
4665
|
d(d) {
|
|
4643
|
-
d &&
|
|
4666
|
+
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(xt);
|
|
4644
4667
|
}
|
|
4645
4668
|
};
|
|
4646
4669
|
}
|
|
4647
|
-
function
|
|
4670
|
+
function Xs(e, r, t) {
|
|
4648
4671
|
let i;
|
|
4649
4672
|
Ai(e, Rs, (p) => t(30, i = p));
|
|
4650
|
-
let { lang: n = "" } = r, { disabledfields: s = "" } = r, { simplepasswordvalidation: u = "false" } = r, {
|
|
4673
|
+
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 = {
|
|
4651
4674
|
username: !1,
|
|
4652
4675
|
email: !1,
|
|
4653
4676
|
password: !1,
|
|
@@ -4655,311 +4678,298 @@ function $s(e, r, t) {
|
|
|
4655
4678
|
securityAnswer: !1,
|
|
4656
4679
|
securityQuestion: !1,
|
|
4657
4680
|
promoCode: !0
|
|
4658
|
-
},
|
|
4681
|
+
}, Ee = !1, Z, ve = {
|
|
4659
4682
|
user: /^(?!(?:.*\d){9})(?=(?:.*[a-zA-Z]){4})^[a-zA-Z\d]*$/,
|
|
4660
4683
|
email: /^[^<>()*{}=/|?`~[\]\\,;:\%#^\s@\"$&!@]+@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z0-9]+\.)+[a-zA-Z]{2,}))$/i,
|
|
4661
4684
|
password: /^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[^\w\s]).{8,20}$/,
|
|
4662
4685
|
document: /^(?=.*[a-zA-Z0-9])[a-zA-Z0-9\s]+$/
|
|
4663
4686
|
};
|
|
4664
|
-
const
|
|
4665
|
-
fetch(
|
|
4666
|
-
Object.keys(
|
|
4667
|
-
Vt(
|
|
4687
|
+
const Ar = () => {
|
|
4688
|
+
fetch(h).then((N) => N.json()).then((N) => {
|
|
4689
|
+
Object.keys(N).forEach((le) => {
|
|
4690
|
+
Vt(le, N[le]);
|
|
4668
4691
|
});
|
|
4669
|
-
}).catch((
|
|
4670
|
-
console.log(
|
|
4692
|
+
}).catch((N) => {
|
|
4693
|
+
console.log(N);
|
|
4671
4694
|
});
|
|
4672
4695
|
};
|
|
4673
4696
|
Object.keys($t).forEach((p) => {
|
|
4674
4697
|
Vt(p, $t[p]);
|
|
4675
4698
|
});
|
|
4676
|
-
const
|
|
4699
|
+
const Oe = () => {
|
|
4677
4700
|
window.postMessage({ type: "ToLogin" }, window.location.href);
|
|
4678
|
-
},
|
|
4679
|
-
if (!(
|
|
4701
|
+
}, Tr = (p, N) => {
|
|
4702
|
+
if (!(Ge.indexOf(p) >= 0))
|
|
4680
4703
|
switch (p) {
|
|
4681
4704
|
case "username":
|
|
4682
|
-
t(18,
|
|
4705
|
+
t(18, k = N), fr();
|
|
4683
4706
|
break;
|
|
4684
4707
|
case "email":
|
|
4685
|
-
t(19,
|
|
4708
|
+
t(19, X = N), Le();
|
|
4686
4709
|
break;
|
|
4687
4710
|
case "password":
|
|
4688
|
-
t(20,
|
|
4711
|
+
t(20, he = N), $e();
|
|
4689
4712
|
break;
|
|
4690
4713
|
case "confirmUserPassword":
|
|
4691
|
-
t(21,
|
|
4714
|
+
t(21, ge = N), He();
|
|
4692
4715
|
break;
|
|
4693
4716
|
case "securityQuestion":
|
|
4694
|
-
t(22,
|
|
4717
|
+
t(22, ne = N), $();
|
|
4695
4718
|
break;
|
|
4696
4719
|
case "securityAnswer":
|
|
4697
|
-
t(23,
|
|
4720
|
+
t(23, V = N), pr();
|
|
4698
4721
|
break;
|
|
4699
4722
|
case "promoCode":
|
|
4700
|
-
t(24,
|
|
4723
|
+
t(24, Ae = N), gr();
|
|
4701
4724
|
break;
|
|
4702
4725
|
}
|
|
4703
|
-
},
|
|
4704
|
-
t(29,
|
|
4705
|
-
}, L = () => {
|
|
4706
|
-
ae.email = U, ye.email.test(U) && U.length <= 100 ? t(4, g = !1) : t(4, g = !0), D.email = !g, le();
|
|
4707
|
-
}, Oe = () => {
|
|
4708
|
-
ae.username = Ee, ye.user.test(Ee) && Ee.length <= 20 ? t(5, b = !1) : t(5, b = !0), D.username = !b, le();
|
|
4709
|
-
}, Hr = () => {
|
|
4710
|
-
u == "true" && (ye.password = /^(?!.* ).{8,20}$/);
|
|
4711
|
-
}, je = () => {
|
|
4712
|
-
t(25, Ne = !0), gr();
|
|
4713
|
-
}, Ve = () => {
|
|
4714
|
-
t(26, k = !0), j();
|
|
4726
|
+
}, B = () => {
|
|
4727
|
+
t(29, Ee = Object.keys(C).every((p) => s.includes(p) ? !0 : C[p] !== !1));
|
|
4715
4728
|
}, Le = () => {
|
|
4716
|
-
t(
|
|
4729
|
+
pe.email = X, ve.email.test(X) && X.length <= 100 ? t(4, b = !1) : t(4, b = !0), C.email = !b, B();
|
|
4730
|
+
}, fr = () => {
|
|
4731
|
+
pe.username = k, ve.user.test(k) && k.length <= 20 ? t(5, w = !1) : t(5, w = !0), C.username = !w, B();
|
|
4732
|
+
}, dr = () => {
|
|
4733
|
+
u == "true" && (ve.password = /^(?!.* ).{8,20}$/);
|
|
4734
|
+
}, je = () => {
|
|
4735
|
+
t(25, F = !0), j();
|
|
4717
4736
|
}, Me = () => {
|
|
4718
|
-
t(26,
|
|
4719
|
-
},
|
|
4720
|
-
t(
|
|
4737
|
+
t(26, Pe = !0), xe();
|
|
4738
|
+
}, Re = () => {
|
|
4739
|
+
t(25, F = !1), j();
|
|
4740
|
+
}, mr = () => {
|
|
4741
|
+
t(26, Pe = !1), xe();
|
|
4721
4742
|
}, j = () => {
|
|
4722
|
-
t(
|
|
4723
|
-
},
|
|
4724
|
-
|
|
4725
|
-
},
|
|
4726
|
-
|
|
4727
|
-
},
|
|
4728
|
-
|
|
4729
|
-
},
|
|
4730
|
-
|
|
4743
|
+
t(27, Te.type = F ? "text" : "password", Te);
|
|
4744
|
+
}, xe = () => {
|
|
4745
|
+
t(28, ye.type = Pe ? "text" : "password", ye);
|
|
4746
|
+
}, Ve = () => !!ve.password.test(he), $e = () => {
|
|
4747
|
+
pe.password = he, t(6, y = !Ve()), ge.length !== 0 && He(), C.password = !y, B();
|
|
4748
|
+
}, Hr = () => he === ge, He = () => {
|
|
4749
|
+
pe.confirmUserPassword = ge, t(7, A = !Hr()), C.confirmUserPassword = !A, B();
|
|
4750
|
+
}, gr = () => {
|
|
4751
|
+
pe.promoCode = Ae;
|
|
4752
|
+
}, $ = () => {
|
|
4753
|
+
if (pe.securityQuestion = ne, ne) switch (g) {
|
|
4731
4754
|
case "true":
|
|
4732
|
-
if (
|
|
4733
|
-
t(8,
|
|
4755
|
+
if (ve.document.test(ne) && ne.length <= 50) {
|
|
4756
|
+
t(8, O = !1), C.securityQuestion = !O, B();
|
|
4734
4757
|
return;
|
|
4735
4758
|
}
|
|
4736
4759
|
break;
|
|
4737
4760
|
case "false":
|
|
4738
|
-
if (
|
|
4739
|
-
t(8,
|
|
4761
|
+
if (ne && ne.length <= 120) {
|
|
4762
|
+
t(8, O = !1), C.securityQuestion = !O, B();
|
|
4740
4763
|
return;
|
|
4741
4764
|
}
|
|
4742
4765
|
break;
|
|
4743
4766
|
}
|
|
4744
|
-
t(8,
|
|
4745
|
-
},
|
|
4746
|
-
if (
|
|
4767
|
+
t(8, O = !0), C.securityQuestion = !O, B();
|
|
4768
|
+
}, pr = () => {
|
|
4769
|
+
if (pe.securityAnswer = V, V) switch (g) {
|
|
4747
4770
|
case "true":
|
|
4748
|
-
if (
|
|
4749
|
-
t(9,
|
|
4771
|
+
if (ve.document.test(V) && V.length <= 50) {
|
|
4772
|
+
t(9, M = !1), C.securityAnswer = !M, B();
|
|
4750
4773
|
return;
|
|
4751
4774
|
}
|
|
4752
4775
|
break;
|
|
4753
4776
|
case "false":
|
|
4754
|
-
if (
|
|
4755
|
-
t(9,
|
|
4777
|
+
if (V && V.length <= 120) {
|
|
4778
|
+
t(9, M = !1), C.securityAnswer = !M, B();
|
|
4756
4779
|
return;
|
|
4757
4780
|
}
|
|
4758
4781
|
break;
|
|
4759
4782
|
}
|
|
4760
|
-
t(9,
|
|
4761
|
-
},
|
|
4783
|
+
t(9, M = !0), C.securityAnswer = !M, B();
|
|
4784
|
+
}, Qe = (p) => {
|
|
4762
4785
|
p.preventDefault(), window.postMessage(
|
|
4763
4786
|
{
|
|
4764
4787
|
type: "RegisterStepOne",
|
|
4765
|
-
registerStepOneData:
|
|
4788
|
+
registerStepOneData: pe
|
|
4766
4789
|
},
|
|
4767
4790
|
window.location.href
|
|
4768
4791
|
);
|
|
4769
|
-
},
|
|
4792
|
+
}, Ue = (p) => {
|
|
4770
4793
|
if (p.data)
|
|
4771
4794
|
switch (p.data.type) {
|
|
4772
4795
|
case "StepOneDataBackup":
|
|
4773
|
-
const
|
|
4774
|
-
for (const
|
|
4775
|
-
|
|
4776
|
-
t(29,
|
|
4796
|
+
const N = p.data.userData;
|
|
4797
|
+
for (const le in N)
|
|
4798
|
+
Tr(le, N[le]);
|
|
4799
|
+
t(29, Ee = Object.keys(C).every((le) => s.includes(le) ? !0 : C[le] !== !1));
|
|
4777
4800
|
break;
|
|
4778
4801
|
}
|
|
4779
|
-
},
|
|
4780
|
-
t(17,
|
|
4781
|
-
}, Ir = () => {
|
|
4782
|
-
Us(n);
|
|
4802
|
+
}, Br = () => {
|
|
4803
|
+
t(17, Ge = s.split(","));
|
|
4783
4804
|
}, we = () => {
|
|
4784
|
-
|
|
4785
|
-
p.innerHTML = a, q.appendChild(p);
|
|
4786
|
-
}, ke = () => {
|
|
4787
|
-
let p = new URL(f), I = document.createElement("style");
|
|
4788
|
-
fetch(p.href).then((V) => V.text()).then((V) => {
|
|
4789
|
-
I.innerHTML = V, setTimeout(
|
|
4790
|
-
() => {
|
|
4791
|
-
q.appendChild(I);
|
|
4792
|
-
},
|
|
4793
|
-
1
|
|
4794
|
-
), setTimeout(
|
|
4795
|
-
() => {
|
|
4796
|
-
},
|
|
4797
|
-
500
|
|
4798
|
-
);
|
|
4799
|
-
});
|
|
4805
|
+
Us(n);
|
|
4800
4806
|
};
|
|
4801
|
-
Li(() => (window.addEventListener("message",
|
|
4802
|
-
window.removeEventListener("message",
|
|
4807
|
+
Li(() => (window.addEventListener("message", Ue, !1), () => {
|
|
4808
|
+
window.removeEventListener("message", Ue);
|
|
4803
4809
|
}));
|
|
4804
|
-
const
|
|
4805
|
-
function
|
|
4806
|
-
|
|
4810
|
+
const ke = () => Oe();
|
|
4811
|
+
function ze() {
|
|
4812
|
+
X = this.value, t(19, X);
|
|
4807
4813
|
}
|
|
4808
|
-
const
|
|
4809
|
-
function
|
|
4810
|
-
|
|
4814
|
+
const br = () => t(10, R = !0), Ir = () => t(10, R = !1);
|
|
4815
|
+
function Nr() {
|
|
4816
|
+
k = this.value, t(18, k);
|
|
4811
4817
|
}
|
|
4812
|
-
const
|
|
4813
|
-
function
|
|
4814
|
-
|
|
4818
|
+
const se = () => t(11, ce = !0), Or = () => t(11, ce = !1);
|
|
4819
|
+
function Xe() {
|
|
4820
|
+
he = this.value, t(20, he);
|
|
4815
4821
|
}
|
|
4816
|
-
const
|
|
4817
|
-
function
|
|
4818
|
-
|
|
4819
|
-
|
|
4822
|
+
const Lr = () => t(12, G = !0), fe = () => t(12, G = !1);
|
|
4823
|
+
function Be(p) {
|
|
4824
|
+
_r[p ? "unshift" : "push"](() => {
|
|
4825
|
+
Te = p, t(27, Te);
|
|
4820
4826
|
});
|
|
4821
4827
|
}
|
|
4822
|
-
const
|
|
4823
|
-
function
|
|
4824
|
-
|
|
4828
|
+
const Ze = () => Re(), yr = () => je();
|
|
4829
|
+
function Mr() {
|
|
4830
|
+
ge = this.value, t(21, ge);
|
|
4825
4831
|
}
|
|
4826
|
-
const
|
|
4827
|
-
function
|
|
4828
|
-
|
|
4829
|
-
|
|
4832
|
+
const We = () => t(13, me = !0), Rr = () => t(13, me = !1);
|
|
4833
|
+
function oe(p) {
|
|
4834
|
+
_r[p ? "unshift" : "push"](() => {
|
|
4835
|
+
ye = p, t(28, ye);
|
|
4830
4836
|
});
|
|
4831
4837
|
}
|
|
4832
|
-
const
|
|
4833
|
-
function
|
|
4834
|
-
|
|
4838
|
+
const Ur = () => mr(), qe = () => Me();
|
|
4839
|
+
function kr() {
|
|
4840
|
+
Ae = this.value, t(24, Ae);
|
|
4835
4841
|
}
|
|
4836
|
-
const
|
|
4837
|
-
function
|
|
4838
|
-
|
|
4842
|
+
const de = () => t(16, Ce = !0), Ie = () => t(16, Ce = !1);
|
|
4843
|
+
function Je() {
|
|
4844
|
+
ne = this.value, t(22, ne);
|
|
4839
4845
|
}
|
|
4840
|
-
const
|
|
4841
|
-
function
|
|
4842
|
-
|
|
4846
|
+
const Er = () => t(14, U = !0), Fr = () => t(14, U = !1);
|
|
4847
|
+
function Ye() {
|
|
4848
|
+
V = this.value, t(23, V);
|
|
4843
4849
|
}
|
|
4844
|
-
const
|
|
4845
|
-
function
|
|
4846
|
-
|
|
4847
|
-
|
|
4850
|
+
const Dr = () => t(15, De = !0), ae = () => t(15, De = !1), Gr = (p) => Qe(p);
|
|
4851
|
+
function Ke(p) {
|
|
4852
|
+
_r[p ? "unshift" : "push"](() => {
|
|
4853
|
+
Z = p, t(3, Z);
|
|
4848
4854
|
});
|
|
4849
4855
|
}
|
|
4850
4856
|
return e.$$set = (p) => {
|
|
4851
|
-
"lang" in p && t(44, n = p.lang), "disabledfields" in p && t(45, s = p.disabledfields), "simplepasswordvalidation" in p && t(0, u = p.simplepasswordvalidation), "
|
|
4857
|
+
"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);
|
|
4852
4858
|
}, e.$$.update = () => {
|
|
4853
4859
|
e.$$.dirty[1] & /*lang*/
|
|
4854
|
-
8192 && n &&
|
|
4855
|
-
16384 && s &&
|
|
4856
|
-
1 && u &&
|
|
4860
|
+
8192 && n && we(), e.$$.dirty[1] & /*disabledfields*/
|
|
4861
|
+
16384 && s && Br(), e.$$.dirty[0] & /*simplepasswordvalidation*/
|
|
4862
|
+
1 && u && dr(), e.$$.dirty[0] & /*customStylingContainer*/
|
|
4857
4863
|
8 | e.$$.dirty[1] & /*clientstyling*/
|
|
4858
|
-
|
|
4864
|
+
65536 && f && Z && ks(Z, f), e.$$.dirty[0] & /*customStylingContainer*/
|
|
4859
4865
|
8 | e.$$.dirty[1] & /*clientstylingurl*/
|
|
4860
|
-
|
|
4861
|
-
|
|
4866
|
+
131072 && c && Z && Fs(Z, c), e.$$.dirty[0] & /*customStylingContainer*/
|
|
4867
|
+
8 | e.$$.dirty[1] & /*mbsource*/
|
|
4868
|
+
32768 && a && Z && Ds(Z, `${a}.Style`), e.$$.dirty[1] & /*translationurl*/
|
|
4869
|
+
262144 && h && Ar();
|
|
4862
4870
|
}, [
|
|
4863
4871
|
u,
|
|
4864
|
-
h,
|
|
4865
4872
|
m,
|
|
4866
|
-
q,
|
|
4867
4873
|
g,
|
|
4874
|
+
Z,
|
|
4868
4875
|
b,
|
|
4869
|
-
_,
|
|
4870
|
-
y,
|
|
4871
4876
|
w,
|
|
4872
|
-
|
|
4873
|
-
|
|
4877
|
+
y,
|
|
4878
|
+
A,
|
|
4879
|
+
O,
|
|
4874
4880
|
M,
|
|
4875
|
-
de,
|
|
4876
|
-
G,
|
|
4877
|
-
be,
|
|
4878
4881
|
R,
|
|
4879
|
-
|
|
4880
|
-
|
|
4881
|
-
Ee,
|
|
4882
|
-
U,
|
|
4883
|
-
Z,
|
|
4882
|
+
ce,
|
|
4883
|
+
G,
|
|
4884
4884
|
me,
|
|
4885
|
-
|
|
4886
|
-
|
|
4887
|
-
|
|
4888
|
-
|
|
4885
|
+
U,
|
|
4886
|
+
De,
|
|
4887
|
+
Ce,
|
|
4888
|
+
Ge,
|
|
4889
4889
|
k,
|
|
4890
|
-
|
|
4890
|
+
X,
|
|
4891
|
+
he,
|
|
4892
|
+
ge,
|
|
4893
|
+
ne,
|
|
4894
|
+
V,
|
|
4891
4895
|
Ae,
|
|
4892
|
-
|
|
4896
|
+
F,
|
|
4897
|
+
Pe,
|
|
4898
|
+
Te,
|
|
4899
|
+
ye,
|
|
4900
|
+
Ee,
|
|
4893
4901
|
i,
|
|
4894
|
-
mr,
|
|
4895
|
-
L,
|
|
4896
4902
|
Oe,
|
|
4897
|
-
je,
|
|
4898
|
-
Ve,
|
|
4899
4903
|
Le,
|
|
4904
|
+
fr,
|
|
4905
|
+
je,
|
|
4900
4906
|
Me,
|
|
4901
4907
|
Re,
|
|
4908
|
+
mr,
|
|
4902
4909
|
$e,
|
|
4903
|
-
|
|
4904
|
-
|
|
4905
|
-
|
|
4906
|
-
|
|
4910
|
+
He,
|
|
4911
|
+
gr,
|
|
4912
|
+
$,
|
|
4913
|
+
pr,
|
|
4914
|
+
Qe,
|
|
4907
4915
|
n,
|
|
4908
4916
|
s,
|
|
4909
4917
|
a,
|
|
4910
4918
|
f,
|
|
4911
4919
|
c,
|
|
4912
|
-
|
|
4913
|
-
|
|
4914
|
-
|
|
4920
|
+
h,
|
|
4921
|
+
ke,
|
|
4922
|
+
ze,
|
|
4923
|
+
br,
|
|
4924
|
+
Ir,
|
|
4915
4925
|
Nr,
|
|
4916
|
-
|
|
4926
|
+
se,
|
|
4917
4927
|
Or,
|
|
4918
|
-
|
|
4928
|
+
Xe,
|
|
4919
4929
|
Lr,
|
|
4920
|
-
|
|
4921
|
-
|
|
4922
|
-
|
|
4923
|
-
|
|
4930
|
+
fe,
|
|
4931
|
+
Be,
|
|
4932
|
+
Ze,
|
|
4933
|
+
yr,
|
|
4924
4934
|
Mr,
|
|
4925
|
-
|
|
4935
|
+
We,
|
|
4926
4936
|
Rr,
|
|
4927
|
-
|
|
4937
|
+
oe,
|
|
4928
4938
|
Ur,
|
|
4929
|
-
|
|
4939
|
+
qe,
|
|
4930
4940
|
kr,
|
|
4931
|
-
|
|
4941
|
+
de,
|
|
4932
4942
|
Ie,
|
|
4933
|
-
|
|
4934
|
-
|
|
4943
|
+
Je,
|
|
4944
|
+
Er,
|
|
4935
4945
|
Fr,
|
|
4936
|
-
|
|
4946
|
+
Ye,
|
|
4937
4947
|
Dr,
|
|
4938
|
-
|
|
4948
|
+
ae,
|
|
4939
4949
|
Gr,
|
|
4940
|
-
|
|
4941
|
-
jr
|
|
4950
|
+
Ke
|
|
4942
4951
|
];
|
|
4943
4952
|
}
|
|
4944
|
-
class
|
|
4953
|
+
class Zs extends zi {
|
|
4945
4954
|
constructor(r) {
|
|
4946
4955
|
super(), $i(
|
|
4947
4956
|
this,
|
|
4948
4957
|
r,
|
|
4949
|
-
|
|
4950
|
-
|
|
4958
|
+
Xs,
|
|
4959
|
+
zs,
|
|
4951
4960
|
Kt,
|
|
4952
4961
|
{
|
|
4953
4962
|
lang: 44,
|
|
4954
4963
|
disabledfields: 45,
|
|
4955
4964
|
simplepasswordvalidation: 0,
|
|
4956
|
-
|
|
4957
|
-
|
|
4958
|
-
|
|
4965
|
+
mbsource: 46,
|
|
4966
|
+
clientstyling: 47,
|
|
4967
|
+
clientstylingurl: 48,
|
|
4968
|
+
translationurl: 49,
|
|
4959
4969
|
savecredentials: 1,
|
|
4960
4970
|
custominputtextswitch: 2
|
|
4961
4971
|
},
|
|
4962
|
-
|
|
4972
|
+
Gs,
|
|
4963
4973
|
[-1, -1, -1, -1]
|
|
4964
4974
|
);
|
|
4965
4975
|
}
|
|
@@ -4967,52 +4977,58 @@ class Qs extends zi {
|
|
|
4967
4977
|
return this.$$.ctx[44];
|
|
4968
4978
|
}
|
|
4969
4979
|
set lang(r) {
|
|
4970
|
-
this.$$set({ lang: r }),
|
|
4980
|
+
this.$$set({ lang: r }), be();
|
|
4971
4981
|
}
|
|
4972
4982
|
get disabledfields() {
|
|
4973
4983
|
return this.$$.ctx[45];
|
|
4974
4984
|
}
|
|
4975
4985
|
set disabledfields(r) {
|
|
4976
|
-
this.$$set({ disabledfields: r }),
|
|
4986
|
+
this.$$set({ disabledfields: r }), be();
|
|
4977
4987
|
}
|
|
4978
4988
|
get simplepasswordvalidation() {
|
|
4979
4989
|
return this.$$.ctx[0];
|
|
4980
4990
|
}
|
|
4981
4991
|
set simplepasswordvalidation(r) {
|
|
4982
|
-
this.$$set({ simplepasswordvalidation: r }),
|
|
4992
|
+
this.$$set({ simplepasswordvalidation: r }), be();
|
|
4983
4993
|
}
|
|
4984
|
-
get
|
|
4994
|
+
get mbsource() {
|
|
4985
4995
|
return this.$$.ctx[46];
|
|
4986
4996
|
}
|
|
4997
|
+
set mbsource(r) {
|
|
4998
|
+
this.$$set({ mbsource: r }), be();
|
|
4999
|
+
}
|
|
5000
|
+
get clientstyling() {
|
|
5001
|
+
return this.$$.ctx[47];
|
|
5002
|
+
}
|
|
4987
5003
|
set clientstyling(r) {
|
|
4988
|
-
this.$$set({ clientstyling: r }),
|
|
5004
|
+
this.$$set({ clientstyling: r }), be();
|
|
4989
5005
|
}
|
|
4990
5006
|
get clientstylingurl() {
|
|
4991
|
-
return this.$$.ctx[
|
|
5007
|
+
return this.$$.ctx[48];
|
|
4992
5008
|
}
|
|
4993
5009
|
set clientstylingurl(r) {
|
|
4994
|
-
this.$$set({ clientstylingurl: r }),
|
|
5010
|
+
this.$$set({ clientstylingurl: r }), be();
|
|
4995
5011
|
}
|
|
4996
5012
|
get translationurl() {
|
|
4997
|
-
return this.$$.ctx[
|
|
5013
|
+
return this.$$.ctx[49];
|
|
4998
5014
|
}
|
|
4999
5015
|
set translationurl(r) {
|
|
5000
|
-
this.$$set({ translationurl: r }),
|
|
5016
|
+
this.$$set({ translationurl: r }), be();
|
|
5001
5017
|
}
|
|
5002
5018
|
get savecredentials() {
|
|
5003
5019
|
return this.$$.ctx[1];
|
|
5004
5020
|
}
|
|
5005
5021
|
set savecredentials(r) {
|
|
5006
|
-
this.$$set({ savecredentials: r }),
|
|
5022
|
+
this.$$set({ savecredentials: r }), be();
|
|
5007
5023
|
}
|
|
5008
5024
|
get custominputtextswitch() {
|
|
5009
5025
|
return this.$$.ctx[2];
|
|
5010
5026
|
}
|
|
5011
5027
|
set custominputtextswitch(r) {
|
|
5012
|
-
this.$$set({ custominputtextswitch: r }),
|
|
5028
|
+
this.$$set({ custominputtextswitch: r }), be();
|
|
5013
5029
|
}
|
|
5014
5030
|
}
|
|
5015
|
-
Qi(
|
|
5031
|
+
Qi(Zs, { lang: {}, disabledfields: {}, simplepasswordvalidation: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, savecredentials: {}, custominputtextswitch: {} }, [], [], !0);
|
|
5016
5032
|
export {
|
|
5017
|
-
|
|
5033
|
+
Zs as G
|
|
5018
5034
|
};
|