@everymatrix/general-player-register-form-step1 1.76.14 → 1.77.1
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-BanFaVoc.js → GeneralPlayerRegisterFormStep1-BGNJ1Tpn.js} +645 -641
- package/components/{GeneralPlayerRegisterFormStep1-BTzDnid7.js → GeneralPlayerRegisterFormStep1-CCtaghRj.js} +663 -659
- package/components/GeneralPlayerRegisterFormStep1-CnwnqG8Z.cjs +3 -0
- package/es2015/general-player-register-form-step1.cjs +1 -1
- package/es2015/general-player-register-form-step1.js +1 -1
- package/esnext/general-player-register-form-step1.js +1 -1
- package/package.json +1 -1
- package/components/GeneralPlayerRegisterFormStep1-Cyv3tS9i.cjs +0 -16
|
@@ -2,15 +2,15 @@ var ji = Object.defineProperty, Vi = Object.defineProperties;
|
|
|
2
2
|
var $i = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var Dt = Object.getOwnPropertySymbols;
|
|
4
4
|
var Qi = Object.prototype.hasOwnProperty, zi = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var
|
|
5
|
+
var dt = (e, r, t) => r in e ? ji(e, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[r] = t, Gt = (e, r) => {
|
|
6
6
|
for (var t in r || (r = {}))
|
|
7
|
-
Qi.call(r, t) &&
|
|
7
|
+
Qi.call(r, t) && dt(e, t, r[t]);
|
|
8
8
|
if (Dt)
|
|
9
9
|
for (var t of Dt(r))
|
|
10
|
-
zi.call(r, t) &&
|
|
10
|
+
zi.call(r, t) && dt(e, t, r[t]);
|
|
11
11
|
return e;
|
|
12
12
|
}, jt = (e, r) => Vi(e, $i(r));
|
|
13
|
-
var me = (e, r, t) => (
|
|
13
|
+
var me = (e, r, t) => (dt(e, typeof r != "symbol" ? r + "" : r, t), t);
|
|
14
14
|
var Vt = (e, r, t) => new Promise((i, n) => {
|
|
15
15
|
var s = (h) => {
|
|
16
16
|
try {
|
|
@@ -35,10 +35,10 @@ function mi(e) {
|
|
|
35
35
|
function $t() {
|
|
36
36
|
return /* @__PURE__ */ Object.create(null);
|
|
37
37
|
}
|
|
38
|
-
function
|
|
38
|
+
function cr(e) {
|
|
39
39
|
e.forEach(mi);
|
|
40
40
|
}
|
|
41
|
-
function
|
|
41
|
+
function Nt(e) {
|
|
42
42
|
return typeof e == "function";
|
|
43
43
|
}
|
|
44
44
|
function gi(e, r) {
|
|
@@ -95,14 +95,14 @@ function ie(e) {
|
|
|
95
95
|
function v(e) {
|
|
96
96
|
return document.createElement(e);
|
|
97
97
|
}
|
|
98
|
-
function
|
|
98
|
+
function w(e) {
|
|
99
99
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
100
100
|
}
|
|
101
|
-
function
|
|
101
|
+
function T(e) {
|
|
102
102
|
return document.createTextNode(e);
|
|
103
103
|
}
|
|
104
|
-
function
|
|
105
|
-
return
|
|
104
|
+
function B() {
|
|
105
|
+
return T(" ");
|
|
106
106
|
}
|
|
107
107
|
function x(e, r, t, i) {
|
|
108
108
|
return e.addEventListener(r, t, i), () => e.removeEventListener(r, t, i);
|
|
@@ -129,65 +129,65 @@ function Ki(e) {
|
|
|
129
129
|
}
|
|
130
130
|
), r;
|
|
131
131
|
}
|
|
132
|
-
let
|
|
133
|
-
function
|
|
134
|
-
|
|
132
|
+
let Ir;
|
|
133
|
+
function Hr(e) {
|
|
134
|
+
Ir = e;
|
|
135
135
|
}
|
|
136
136
|
function en() {
|
|
137
|
-
if (!
|
|
137
|
+
if (!Ir)
|
|
138
138
|
throw new Error("Function called outside component initialization");
|
|
139
|
-
return
|
|
139
|
+
return Ir;
|
|
140
140
|
}
|
|
141
141
|
function rn(e) {
|
|
142
142
|
en().$$.on_mount.push(e);
|
|
143
143
|
}
|
|
144
|
-
const
|
|
145
|
-
let
|
|
144
|
+
const nr = [], Br = [];
|
|
145
|
+
let sr = [];
|
|
146
146
|
const Qt = [], tn = /* @__PURE__ */ Promise.resolve();
|
|
147
|
-
let
|
|
147
|
+
let _t = !1;
|
|
148
148
|
function nn() {
|
|
149
|
-
|
|
149
|
+
_t || (_t = !0, tn.then(ye));
|
|
150
150
|
}
|
|
151
|
-
function
|
|
152
|
-
|
|
151
|
+
function wt(e) {
|
|
152
|
+
sr.push(e);
|
|
153
153
|
}
|
|
154
|
-
const
|
|
155
|
-
let
|
|
154
|
+
const mt = /* @__PURE__ */ new Set();
|
|
155
|
+
let tr = 0;
|
|
156
156
|
function ye() {
|
|
157
|
-
if (
|
|
157
|
+
if (tr !== 0)
|
|
158
158
|
return;
|
|
159
|
-
const e =
|
|
159
|
+
const e = Ir;
|
|
160
160
|
do {
|
|
161
161
|
try {
|
|
162
|
-
for (;
|
|
163
|
-
const r =
|
|
164
|
-
|
|
162
|
+
for (; tr < nr.length; ) {
|
|
163
|
+
const r = nr[tr];
|
|
164
|
+
tr++, Hr(r), sn(r.$$);
|
|
165
165
|
}
|
|
166
166
|
} catch (r) {
|
|
167
|
-
throw
|
|
167
|
+
throw nr.length = 0, tr = 0, r;
|
|
168
168
|
}
|
|
169
|
-
for (
|
|
170
|
-
|
|
171
|
-
for (let r = 0; r <
|
|
172
|
-
const t =
|
|
173
|
-
|
|
169
|
+
for (Hr(null), nr.length = 0, tr = 0; Br.length; )
|
|
170
|
+
Br.pop()();
|
|
171
|
+
for (let r = 0; r < sr.length; r += 1) {
|
|
172
|
+
const t = sr[r];
|
|
173
|
+
mt.has(t) || (mt.add(t), t());
|
|
174
174
|
}
|
|
175
|
-
|
|
176
|
-
} while (
|
|
175
|
+
sr.length = 0;
|
|
176
|
+
} while (nr.length);
|
|
177
177
|
for (; Qt.length; )
|
|
178
178
|
Qt.pop()();
|
|
179
|
-
|
|
179
|
+
_t = !1, mt.clear(), Hr(e);
|
|
180
180
|
}
|
|
181
181
|
function sn(e) {
|
|
182
182
|
if (e.fragment !== null) {
|
|
183
|
-
e.update(),
|
|
183
|
+
e.update(), cr(e.before_update);
|
|
184
184
|
const r = e.dirty;
|
|
185
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, r), e.after_update.forEach(
|
|
185
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, r), e.after_update.forEach(wt);
|
|
186
186
|
}
|
|
187
187
|
}
|
|
188
188
|
function on(e) {
|
|
189
189
|
const r = [], t = [];
|
|
190
|
-
|
|
190
|
+
sr.forEach((i) => e.indexOf(i) === -1 ? r.push(i) : t.push(i)), t.forEach((i) => i()), sr = r;
|
|
191
191
|
}
|
|
192
192
|
const an = /* @__PURE__ */ new Set();
|
|
193
193
|
function ln(e, r) {
|
|
@@ -195,21 +195,21 @@ function ln(e, r) {
|
|
|
195
195
|
}
|
|
196
196
|
function un(e, r, t) {
|
|
197
197
|
const { fragment: i, after_update: n } = e.$$;
|
|
198
|
-
i && i.m(r, t),
|
|
199
|
-
const s = e.$$.on_mount.map(mi).filter(
|
|
200
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...s) :
|
|
201
|
-
}), n.forEach(
|
|
198
|
+
i && i.m(r, t), wt(() => {
|
|
199
|
+
const s = e.$$.on_mount.map(mi).filter(Nt);
|
|
200
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : cr(s), e.$$.on_mount = [];
|
|
201
|
+
}), n.forEach(wt);
|
|
202
202
|
}
|
|
203
203
|
function cn(e, r) {
|
|
204
204
|
const t = e.$$;
|
|
205
|
-
t.fragment !== null && (on(t.after_update),
|
|
205
|
+
t.fragment !== null && (on(t.after_update), cr(t.on_destroy), t.fragment && t.fragment.d(r), t.on_destroy = t.fragment = null, t.ctx = []);
|
|
206
206
|
}
|
|
207
207
|
function hn(e, r) {
|
|
208
|
-
e.$$.dirty[0] === -1 && (
|
|
208
|
+
e.$$.dirty[0] === -1 && (nr.push(e), nn(), e.$$.dirty.fill(0)), e.$$.dirty[r / 31 | 0] |= 1 << r % 31;
|
|
209
209
|
}
|
|
210
210
|
function fn(e, r, t, i, n, s, a = null, l = [-1]) {
|
|
211
|
-
const h =
|
|
212
|
-
|
|
211
|
+
const h = Ir;
|
|
212
|
+
Hr(e);
|
|
213
213
|
const c = e.$$ = {
|
|
214
214
|
fragment: null,
|
|
215
215
|
ctx: [],
|
|
@@ -234,9 +234,9 @@ function fn(e, r, t, i, n, s, a = null, l = [-1]) {
|
|
|
234
234
|
a && a(c.root);
|
|
235
235
|
let f = !1;
|
|
236
236
|
if (c.ctx = t ? t(e, r.props || {}, (m, g, ...b) => {
|
|
237
|
-
const
|
|
238
|
-
return c.ctx && n(c.ctx[m], c.ctx[m] =
|
|
239
|
-
}) : [], c.update(), f = !0,
|
|
237
|
+
const _ = b.length ? b[0] : g;
|
|
238
|
+
return c.ctx && n(c.ctx[m], c.ctx[m] = _) && (!c.skip_bound && c.bound[m] && c.bound[m](_), f && hn(e, m)), g;
|
|
239
|
+
}) : [], c.update(), f = !0, cr(c.before_update), c.fragment = i ? i(c.ctx) : !1, r.target) {
|
|
240
240
|
if (r.hydrate) {
|
|
241
241
|
const m = Yi(r.target);
|
|
242
242
|
c.fragment && c.fragment.l(m), m.forEach(ie);
|
|
@@ -244,7 +244,7 @@ function fn(e, r, t, i, n, s, a = null, l = [-1]) {
|
|
|
244
244
|
c.fragment && c.fragment.c();
|
|
245
245
|
r.intro && ln(e.$$.fragment), un(e, r.target, r.anchor), ye();
|
|
246
246
|
}
|
|
247
|
-
|
|
247
|
+
Hr(h);
|
|
248
248
|
}
|
|
249
249
|
let bi;
|
|
250
250
|
typeof HTMLElement == "function" && (bi = class extends HTMLElement {
|
|
@@ -313,7 +313,7 @@ typeof HTMLElement == "function" && (bi = class extends HTMLElement {
|
|
|
313
313
|
s in i && (t[s] = [r(s)]);
|
|
314
314
|
for (const s of this.attributes) {
|
|
315
315
|
const a = this.$$g_p(s.name);
|
|
316
|
-
a in this.$$d || (this.$$d[a] =
|
|
316
|
+
a in this.$$d || (this.$$d[a] = et(a, s.value, this.$$p_d, "toProp"));
|
|
317
317
|
}
|
|
318
318
|
for (const s in this.$$p_d)
|
|
319
319
|
!(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
|
|
@@ -330,7 +330,7 @@ typeof HTMLElement == "function" && (bi = class extends HTMLElement {
|
|
|
330
330
|
this.$$r = !0;
|
|
331
331
|
for (const s in this.$$p_d)
|
|
332
332
|
if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
|
|
333
|
-
const a =
|
|
333
|
+
const a = et(
|
|
334
334
|
s,
|
|
335
335
|
this.$$d[s],
|
|
336
336
|
this.$$p_d,
|
|
@@ -354,7 +354,7 @@ typeof HTMLElement == "function" && (bi = class extends HTMLElement {
|
|
|
354
354
|
// and setting attributes through setAttribute etc, this is helpful
|
|
355
355
|
attributeChangedCallback(r, t, i) {
|
|
356
356
|
var n;
|
|
357
|
-
this.$$r || (r = this.$$g_p(r), this.$$d[r] =
|
|
357
|
+
this.$$r || (r = this.$$g_p(r), this.$$d[r] = et(r, i, this.$$p_d, "toProp"), (n = this.$$c) == null || n.$set({ [r]: this.$$d[r] }));
|
|
358
358
|
}
|
|
359
359
|
disconnectedCallback() {
|
|
360
360
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -367,7 +367,7 @@ typeof HTMLElement == "function" && (bi = class extends HTMLElement {
|
|
|
367
367
|
) || r;
|
|
368
368
|
}
|
|
369
369
|
});
|
|
370
|
-
function
|
|
370
|
+
function et(e, r, t, i) {
|
|
371
371
|
var s;
|
|
372
372
|
const n = (s = t[e]) == null ? void 0 : s.type;
|
|
373
373
|
if (r = n === "Boolean" && typeof r != "boolean" ? r != null : r, !i || !t[e])
|
|
@@ -415,7 +415,7 @@ function dn(e, r, t, i, n, s) {
|
|
|
415
415
|
},
|
|
416
416
|
set(h) {
|
|
417
417
|
var c;
|
|
418
|
-
h =
|
|
418
|
+
h = et(l, h, r), this.$$d[l] = h, (c = this.$$c) == null || c.$set({ [l]: h });
|
|
419
419
|
}
|
|
420
420
|
});
|
|
421
421
|
}), i.forEach((l) => {
|
|
@@ -458,7 +458,7 @@ class mn {
|
|
|
458
458
|
* @returns {() => void}
|
|
459
459
|
*/
|
|
460
460
|
$on(r, t) {
|
|
461
|
-
if (!
|
|
461
|
+
if (!Nt(t))
|
|
462
462
|
return z;
|
|
463
463
|
const i = this.$$.callbacks[r] || (this.$$.callbacks[r] = []);
|
|
464
464
|
return i.push(t), () => {
|
|
@@ -476,24 +476,24 @@ class mn {
|
|
|
476
476
|
}
|
|
477
477
|
const gn = "4";
|
|
478
478
|
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(gn);
|
|
479
|
-
const
|
|
479
|
+
const ir = [];
|
|
480
480
|
function pn(e, r) {
|
|
481
481
|
return {
|
|
482
|
-
subscribe:
|
|
482
|
+
subscribe: ot(e, r).subscribe
|
|
483
483
|
};
|
|
484
484
|
}
|
|
485
|
-
function
|
|
485
|
+
function ot(e, r = z) {
|
|
486
486
|
let t;
|
|
487
487
|
const i = /* @__PURE__ */ new Set();
|
|
488
488
|
function n(l) {
|
|
489
489
|
if (gi(e, l) && (e = l, t)) {
|
|
490
|
-
const h = !
|
|
490
|
+
const h = !ir.length;
|
|
491
491
|
for (const c of i)
|
|
492
|
-
c[1](),
|
|
492
|
+
c[1](), ir.push(c, e);
|
|
493
493
|
if (h) {
|
|
494
|
-
for (let c = 0; c <
|
|
495
|
-
|
|
496
|
-
|
|
494
|
+
for (let c = 0; c < ir.length; c += 2)
|
|
495
|
+
ir[c][0](ir[c + 1]);
|
|
496
|
+
ir.length = 0;
|
|
497
497
|
}
|
|
498
498
|
}
|
|
499
499
|
}
|
|
@@ -508,7 +508,7 @@ function nt(e, r = z) {
|
|
|
508
508
|
}
|
|
509
509
|
return { set: n, update: s, subscribe: a };
|
|
510
510
|
}
|
|
511
|
-
function
|
|
511
|
+
function hr(e, r, t) {
|
|
512
512
|
const i = !Array.isArray(e), n = i ? [e] : e;
|
|
513
513
|
if (!n.every(Boolean))
|
|
514
514
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
@@ -521,11 +521,11 @@ function cr(e, r, t) {
|
|
|
521
521
|
if (f)
|
|
522
522
|
return;
|
|
523
523
|
m();
|
|
524
|
-
const
|
|
525
|
-
s ? a(
|
|
524
|
+
const _ = r(i ? c[0] : c, a, l);
|
|
525
|
+
s ? a(_) : m = Nt(_) ? _ : z;
|
|
526
526
|
}, b = n.map(
|
|
527
|
-
(
|
|
528
|
-
|
|
527
|
+
(_, E) => pi(
|
|
528
|
+
_,
|
|
529
529
|
(A) => {
|
|
530
530
|
c[E] = A, f &= ~(1 << E), h && g();
|
|
531
531
|
},
|
|
@@ -535,7 +535,7 @@ function cr(e, r, t) {
|
|
|
535
535
|
)
|
|
536
536
|
);
|
|
537
537
|
return h = !0, g(), function() {
|
|
538
|
-
|
|
538
|
+
cr(b), m(), h = !1;
|
|
539
539
|
};
|
|
540
540
|
});
|
|
541
541
|
}
|
|
@@ -552,26 +552,26 @@ function vn(e) {
|
|
|
552
552
|
var r = Object.prototype.toString.call(e);
|
|
553
553
|
return r === "[object RegExp]" || r === "[object Date]" || Sn(e);
|
|
554
554
|
}
|
|
555
|
-
var
|
|
555
|
+
var _n = typeof Symbol == "function" && Symbol.for, wn = _n ? Symbol.for("react.element") : 60103;
|
|
556
556
|
function Sn(e) {
|
|
557
|
-
return e.$$typeof ===
|
|
557
|
+
return e.$$typeof === wn;
|
|
558
558
|
}
|
|
559
559
|
function Pn(e) {
|
|
560
560
|
return Array.isArray(e) ? [] : {};
|
|
561
561
|
}
|
|
562
|
-
function
|
|
563
|
-
return r.clone !== !1 && r.isMergeableObject(e) ?
|
|
562
|
+
function Nr(e, r) {
|
|
563
|
+
return r.clone !== !1 && r.isMergeableObject(e) ? or(Pn(e), e, r) : e;
|
|
564
564
|
}
|
|
565
565
|
function xn(e, r, t) {
|
|
566
566
|
return e.concat(r).map(function(i) {
|
|
567
|
-
return
|
|
567
|
+
return Nr(i, t);
|
|
568
568
|
});
|
|
569
569
|
}
|
|
570
570
|
function Cn(e, r) {
|
|
571
571
|
if (!r.customMerge)
|
|
572
|
-
return
|
|
572
|
+
return or;
|
|
573
573
|
var t = r.customMerge(e);
|
|
574
|
-
return typeof t == "function" ? t :
|
|
574
|
+
return typeof t == "function" ? t : or;
|
|
575
575
|
}
|
|
576
576
|
function An(e) {
|
|
577
577
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(r) {
|
|
@@ -594,65 +594,51 @@ function Tn(e, r) {
|
|
|
594
594
|
function Hn(e, r, t) {
|
|
595
595
|
var i = {};
|
|
596
596
|
return t.isMergeableObject(e) && zt(e).forEach(function(n) {
|
|
597
|
-
i[n] =
|
|
597
|
+
i[n] = Nr(e[n], t);
|
|
598
598
|
}), zt(r).forEach(function(n) {
|
|
599
|
-
Tn(e, n) || (yi(e, n) && t.isMergeableObject(r[n]) ? i[n] = Cn(n, t)(e[n], r[n], t) : i[n] =
|
|
599
|
+
Tn(e, n) || (yi(e, n) && t.isMergeableObject(r[n]) ? i[n] = Cn(n, t)(e[n], r[n], t) : i[n] = Nr(r[n], t));
|
|
600
600
|
}), i;
|
|
601
601
|
}
|
|
602
|
-
function
|
|
603
|
-
t = t || {}, t.arrayMerge = t.arrayMerge || xn, t.isMergeableObject = t.isMergeableObject || yn, t.cloneUnlessOtherwiseSpecified =
|
|
602
|
+
function or(e, r, t) {
|
|
603
|
+
t = t || {}, t.arrayMerge = t.arrayMerge || xn, t.isMergeableObject = t.isMergeableObject || yn, t.cloneUnlessOtherwiseSpecified = Nr;
|
|
604
604
|
var i = Array.isArray(r), n = Array.isArray(e), s = i === n;
|
|
605
|
-
return s ? i ? t.arrayMerge(e, r, t) : Hn(e, r, t) :
|
|
605
|
+
return s ? i ? t.arrayMerge(e, r, t) : Hn(e, r, t) : Nr(r, t);
|
|
606
606
|
}
|
|
607
|
-
|
|
607
|
+
or.all = function(r, t) {
|
|
608
608
|
if (!Array.isArray(r))
|
|
609
609
|
throw new Error("first argument should be an array");
|
|
610
610
|
return r.reduce(function(i, n) {
|
|
611
|
-
return
|
|
611
|
+
return or(i, n, t);
|
|
612
612
|
}, {});
|
|
613
613
|
};
|
|
614
|
-
var Bn =
|
|
614
|
+
var Bn = or, In = Bn;
|
|
615
615
|
const Nn = /* @__PURE__ */ bn(In);
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
|
620
|
-
purpose with or without fee is hereby granted.
|
|
621
|
-
|
|
622
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
623
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
624
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
625
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
626
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
627
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
628
|
-
PERFORMANCE OF THIS SOFTWARE.
|
|
629
|
-
***************************************************************************** */
|
|
630
|
-
var wt = function(e, r) {
|
|
631
|
-
return wt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(t, i) {
|
|
616
|
+
var St = function(e, r) {
|
|
617
|
+
return St = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(t, i) {
|
|
632
618
|
t.__proto__ = i;
|
|
633
619
|
} || function(t, i) {
|
|
634
620
|
for (var n in i)
|
|
635
621
|
Object.prototype.hasOwnProperty.call(i, n) && (t[n] = i[n]);
|
|
636
|
-
},
|
|
622
|
+
}, St(e, r);
|
|
637
623
|
};
|
|
638
|
-
function
|
|
624
|
+
function at(e, r) {
|
|
639
625
|
if (typeof r != "function" && r !== null)
|
|
640
626
|
throw new TypeError("Class extends value " + String(r) + " is not a constructor or null");
|
|
641
|
-
|
|
627
|
+
St(e, r);
|
|
642
628
|
function t() {
|
|
643
629
|
this.constructor = e;
|
|
644
630
|
}
|
|
645
631
|
e.prototype = r === null ? Object.create(r) : (t.prototype = r.prototype, new t());
|
|
646
632
|
}
|
|
647
|
-
var
|
|
648
|
-
return
|
|
633
|
+
var xe = function() {
|
|
634
|
+
return xe = Object.assign || function(r) {
|
|
649
635
|
for (var t, i = 1, n = arguments.length; i < n; i++) {
|
|
650
636
|
t = arguments[i];
|
|
651
637
|
for (var s in t)
|
|
652
638
|
Object.prototype.hasOwnProperty.call(t, s) && (r[s] = t[s]);
|
|
653
639
|
}
|
|
654
640
|
return r;
|
|
655
|
-
},
|
|
641
|
+
}, xe.apply(this, arguments);
|
|
656
642
|
};
|
|
657
643
|
function On(e, r) {
|
|
658
644
|
var t = {};
|
|
@@ -663,14 +649,14 @@ function On(e, r) {
|
|
|
663
649
|
r.indexOf(i[n]) < 0 && Object.prototype.propertyIsEnumerable.call(e, i[n]) && (t[i[n]] = e[i[n]]);
|
|
664
650
|
return t;
|
|
665
651
|
}
|
|
666
|
-
function
|
|
667
|
-
if (arguments.length === 2)
|
|
652
|
+
function gt(e, r, t) {
|
|
653
|
+
if (t || arguments.length === 2)
|
|
668
654
|
for (var i = 0, n = r.length, s; i < n; i++)
|
|
669
655
|
(s || !(i in r)) && (s || (s = Array.prototype.slice.call(r, 0, i)), s[i] = r[i]);
|
|
670
|
-
return e.concat(s || r);
|
|
656
|
+
return e.concat(s || Array.prototype.slice.call(r));
|
|
671
657
|
}
|
|
672
|
-
function
|
|
673
|
-
var t = r && r.cache ? r.cache :
|
|
658
|
+
function pt(e, r) {
|
|
659
|
+
var t = r && r.cache ? r.cache : Dn, i = r && r.serializer ? r.serializer : kn, n = r && r.strategy ? r.strategy : Rn;
|
|
674
660
|
return n(e, {
|
|
675
661
|
cache: t,
|
|
676
662
|
serializer: i
|
|
@@ -679,95 +665,103 @@ function mt(e, r) {
|
|
|
679
665
|
function Ln(e) {
|
|
680
666
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
681
667
|
}
|
|
682
|
-
function
|
|
668
|
+
function Mn(e, r, t, i) {
|
|
683
669
|
var n = Ln(i) ? i : t(i), s = r.get(n);
|
|
684
670
|
return typeof s == "undefined" && (s = e.call(this, i), r.set(n, s)), s;
|
|
685
671
|
}
|
|
686
|
-
function
|
|
672
|
+
function Ei(e, r, t) {
|
|
687
673
|
var i = Array.prototype.slice.call(arguments, 3), n = t(i), s = r.get(n);
|
|
688
674
|
return typeof s == "undefined" && (s = e.apply(this, i), r.set(n, s)), s;
|
|
689
675
|
}
|
|
690
|
-
function
|
|
676
|
+
function vi(e, r, t, i, n) {
|
|
691
677
|
return t.bind(r, e, i, n);
|
|
692
678
|
}
|
|
693
|
-
function Mn(e, r) {
|
|
694
|
-
var t = e.length === 1 ? Ei : vi;
|
|
695
|
-
return It(e, this, t, r.cache.create(), r.serializer);
|
|
696
|
-
}
|
|
697
679
|
function Rn(e, r) {
|
|
698
|
-
|
|
680
|
+
var t = e.length === 1 ? Mn : Ei;
|
|
681
|
+
return vi(e, this, t, r.cache.create(), r.serializer);
|
|
699
682
|
}
|
|
700
683
|
function Un(e, r) {
|
|
701
|
-
return
|
|
684
|
+
return vi(e, this, Ei, r.cache.create(), r.serializer);
|
|
702
685
|
}
|
|
703
686
|
var kn = function() {
|
|
704
687
|
return JSON.stringify(arguments);
|
|
705
|
-
}
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
688
|
+
}, Fn = (
|
|
689
|
+
/** @class */
|
|
690
|
+
function() {
|
|
691
|
+
function e() {
|
|
692
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
693
|
+
}
|
|
694
|
+
return e.prototype.get = function(r) {
|
|
695
|
+
return this.cache[r];
|
|
696
|
+
}, e.prototype.set = function(r, t) {
|
|
697
|
+
this.cache[r] = t;
|
|
698
|
+
}, e;
|
|
699
|
+
}()
|
|
700
|
+
), Dn = {
|
|
716
701
|
create: function() {
|
|
717
|
-
return new
|
|
702
|
+
return new Fn();
|
|
718
703
|
}
|
|
719
|
-
},
|
|
720
|
-
variadic:
|
|
721
|
-
|
|
722
|
-
|
|
704
|
+
}, bt = {
|
|
705
|
+
variadic: Un
|
|
706
|
+
}, it = function() {
|
|
707
|
+
return it = Object.assign || function(r) {
|
|
708
|
+
for (var t, i = 1, n = arguments.length; i < n; i++) {
|
|
709
|
+
t = arguments[i];
|
|
710
|
+
for (var s in t)
|
|
711
|
+
Object.prototype.hasOwnProperty.call(t, s) && (r[s] = t[s]);
|
|
712
|
+
}
|
|
713
|
+
return r;
|
|
714
|
+
}, it.apply(this, arguments);
|
|
715
|
+
};
|
|
716
|
+
var S;
|
|
723
717
|
(function(e) {
|
|
724
718
|
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";
|
|
725
719
|
})(S || (S = {}));
|
|
726
|
-
var
|
|
720
|
+
var O;
|
|
727
721
|
(function(e) {
|
|
728
722
|
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";
|
|
729
|
-
})(
|
|
730
|
-
var
|
|
723
|
+
})(O || (O = {}));
|
|
724
|
+
var ar;
|
|
731
725
|
(function(e) {
|
|
732
726
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
733
|
-
})(
|
|
727
|
+
})(ar || (ar = {}));
|
|
734
728
|
function Xt(e) {
|
|
735
|
-
return e.type ===
|
|
729
|
+
return e.type === O.literal;
|
|
736
730
|
}
|
|
737
|
-
function
|
|
738
|
-
return e.type ===
|
|
739
|
-
}
|
|
740
|
-
function wi(e) {
|
|
741
|
-
return e.type === L.number;
|
|
731
|
+
function Gn(e) {
|
|
732
|
+
return e.type === O.argument;
|
|
742
733
|
}
|
|
743
734
|
function _i(e) {
|
|
744
|
-
return e.type ===
|
|
735
|
+
return e.type === O.number;
|
|
736
|
+
}
|
|
737
|
+
function wi(e) {
|
|
738
|
+
return e.type === O.date;
|
|
745
739
|
}
|
|
746
740
|
function Si(e) {
|
|
747
|
-
return e.type ===
|
|
741
|
+
return e.type === O.time;
|
|
748
742
|
}
|
|
749
743
|
function Pi(e) {
|
|
750
|
-
return e.type ===
|
|
744
|
+
return e.type === O.select;
|
|
751
745
|
}
|
|
752
746
|
function xi(e) {
|
|
753
|
-
return e.type ===
|
|
747
|
+
return e.type === O.plural;
|
|
754
748
|
}
|
|
755
|
-
function
|
|
756
|
-
return e.type ===
|
|
749
|
+
function jn(e) {
|
|
750
|
+
return e.type === O.pound;
|
|
757
751
|
}
|
|
758
752
|
function Ci(e) {
|
|
759
|
-
return e.type ===
|
|
753
|
+
return e.type === O.tag;
|
|
760
754
|
}
|
|
761
755
|
function Ai(e) {
|
|
762
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
756
|
+
return !!(e && typeof e == "object" && e.type === ar.number);
|
|
763
757
|
}
|
|
764
|
-
function
|
|
765
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
758
|
+
function Pt(e) {
|
|
759
|
+
return !!(e && typeof e == "object" && e.type === ar.dateTime);
|
|
766
760
|
}
|
|
767
|
-
var Ti = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,
|
|
768
|
-
function
|
|
761
|
+
var Ti = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Vn = /(?:[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;
|
|
762
|
+
function $n(e) {
|
|
769
763
|
var r = {};
|
|
770
|
-
return e.replace(
|
|
764
|
+
return e.replace(Vn, function(t) {
|
|
771
765
|
var i = t.length;
|
|
772
766
|
switch (t[0]) {
|
|
773
767
|
case "G":
|
|
@@ -856,11 +850,21 @@ function Vn(e) {
|
|
|
856
850
|
return "";
|
|
857
851
|
}), r;
|
|
858
852
|
}
|
|
859
|
-
var
|
|
860
|
-
function
|
|
853
|
+
var L = function() {
|
|
854
|
+
return L = Object.assign || function(r) {
|
|
855
|
+
for (var t, i = 1, n = arguments.length; i < n; i++) {
|
|
856
|
+
t = arguments[i];
|
|
857
|
+
for (var s in t)
|
|
858
|
+
Object.prototype.hasOwnProperty.call(t, s) && (r[s] = t[s]);
|
|
859
|
+
}
|
|
860
|
+
return r;
|
|
861
|
+
}, L.apply(this, arguments);
|
|
862
|
+
};
|
|
863
|
+
var Qn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
864
|
+
function zn(e) {
|
|
861
865
|
if (e.length === 0)
|
|
862
866
|
throw new Error("Number skeleton cannot be empty");
|
|
863
|
-
for (var r = e.split(
|
|
867
|
+
for (var r = e.split(Qn).filter(function(g) {
|
|
864
868
|
return g.length > 0;
|
|
865
869
|
}), t = [], i = 0, n = r; i < n.length; i++) {
|
|
866
870
|
var s = n[i], a = s.split("/");
|
|
@@ -875,10 +879,10 @@ function Qn(e) {
|
|
|
875
879
|
}
|
|
876
880
|
return t;
|
|
877
881
|
}
|
|
878
|
-
function
|
|
882
|
+
function Xn(e) {
|
|
879
883
|
return e.replace(/^(.*?)-/, "");
|
|
880
884
|
}
|
|
881
|
-
var Zt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Hi = /^(@+)?(\+|#+)?[rs]?$/g,
|
|
885
|
+
var Zt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Hi = /^(@+)?(\+|#+)?[rs]?$/g, Zn = /(\*)(0+)|(#+)(0+)|(0+)/g, Bi = /^(0+)$/;
|
|
882
886
|
function Wt(e) {
|
|
883
887
|
var r = {};
|
|
884
888
|
return e[e.length - 1] === "r" ? r.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (r.roundingPriority = "lessPrecision"), e.replace(Hi, function(t, i, n) {
|
|
@@ -925,7 +929,7 @@ function Ii(e) {
|
|
|
925
929
|
};
|
|
926
930
|
}
|
|
927
931
|
}
|
|
928
|
-
function
|
|
932
|
+
function Wn(e) {
|
|
929
933
|
var r;
|
|
930
934
|
if (e[0] === "E" && e[1] === "E" ? (r = {
|
|
931
935
|
notation: "engineering"
|
|
@@ -943,7 +947,7 @@ function qt(e) {
|
|
|
943
947
|
var r = {}, t = Ii(e);
|
|
944
948
|
return t || r;
|
|
945
949
|
}
|
|
946
|
-
function
|
|
950
|
+
function qn(e) {
|
|
947
951
|
for (var r = {}, t = 0, i = e; t < i.length; t++) {
|
|
948
952
|
var n = i[t];
|
|
949
953
|
switch (n.stem) {
|
|
@@ -967,7 +971,7 @@ function Wn(e) {
|
|
|
967
971
|
continue;
|
|
968
972
|
case "measure-unit":
|
|
969
973
|
case "unit":
|
|
970
|
-
r.style = "unit", r.unit =
|
|
974
|
+
r.style = "unit", r.unit = Xn(n.options[0]);
|
|
971
975
|
continue;
|
|
972
976
|
case "compact-short":
|
|
973
977
|
case "K":
|
|
@@ -978,13 +982,13 @@ function Wn(e) {
|
|
|
978
982
|
r.notation = "compact", r.compactDisplay = "long";
|
|
979
983
|
continue;
|
|
980
984
|
case "scientific":
|
|
981
|
-
r =
|
|
982
|
-
return
|
|
985
|
+
r = L(L(L({}, r), { notation: "scientific" }), n.options.reduce(function(h, c) {
|
|
986
|
+
return L(L({}, h), qt(c));
|
|
983
987
|
}, {}));
|
|
984
988
|
continue;
|
|
985
989
|
case "engineering":
|
|
986
|
-
r =
|
|
987
|
-
return
|
|
990
|
+
r = L(L(L({}, r), { notation: "engineering" }), n.options.reduce(function(h, c) {
|
|
991
|
+
return L(L({}, h), qt(c));
|
|
988
992
|
}, {}));
|
|
989
993
|
continue;
|
|
990
994
|
case "notation-simple":
|
|
@@ -1029,7 +1033,7 @@ function Wn(e) {
|
|
|
1029
1033
|
case "integer-width":
|
|
1030
1034
|
if (n.options.length > 1)
|
|
1031
1035
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1032
|
-
n.options[0].replace(
|
|
1036
|
+
n.options[0].replace(Zn, function(h, c, f, m, g, b) {
|
|
1033
1037
|
if (c)
|
|
1034
1038
|
r.minimumIntegerDigits = f.length;
|
|
1035
1039
|
else {
|
|
@@ -1053,21 +1057,21 @@ function Wn(e) {
|
|
|
1053
1057
|
return f === "*" ? 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), "";
|
|
1054
1058
|
});
|
|
1055
1059
|
var s = n.options[0];
|
|
1056
|
-
s === "w" ? r =
|
|
1060
|
+
s === "w" ? r = L(L({}, r), { trailingZeroDisplay: "stripIfInteger" }) : s && (r = L(L({}, r), Wt(s)));
|
|
1057
1061
|
continue;
|
|
1058
1062
|
}
|
|
1059
1063
|
if (Hi.test(n.stem)) {
|
|
1060
|
-
r =
|
|
1064
|
+
r = L(L({}, r), Wt(n.stem));
|
|
1061
1065
|
continue;
|
|
1062
1066
|
}
|
|
1063
1067
|
var a = Ii(n.stem);
|
|
1064
|
-
a && (r =
|
|
1065
|
-
var l =
|
|
1066
|
-
l && (r =
|
|
1068
|
+
a && (r = L(L({}, r), a));
|
|
1069
|
+
var l = Wn(n.stem);
|
|
1070
|
+
l && (r = L(L({}, r), l));
|
|
1067
1071
|
}
|
|
1068
1072
|
return r;
|
|
1069
1073
|
}
|
|
1070
|
-
var
|
|
1074
|
+
var Kr = {
|
|
1071
1075
|
"001": [
|
|
1072
1076
|
"H",
|
|
1073
1077
|
"h"
|
|
@@ -2482,13 +2486,13 @@ var Yr = {
|
|
|
2482
2486
|
"h"
|
|
2483
2487
|
]
|
|
2484
2488
|
};
|
|
2485
|
-
function
|
|
2489
|
+
function Jn(e, r) {
|
|
2486
2490
|
for (var t = "", i = 0; i < e.length; i++) {
|
|
2487
2491
|
var n = e.charAt(i);
|
|
2488
2492
|
if (n === "j") {
|
|
2489
2493
|
for (var s = 0; i + 1 < e.length && e.charAt(i + 1) === n; )
|
|
2490
2494
|
s++, i++;
|
|
2491
|
-
var a = 1 + (s & 1), l = s < 2 ? 1 : 3 + (s >> 1), h = "a", c =
|
|
2495
|
+
var a = 1 + (s & 1), l = s < 2 ? 1 : 3 + (s >> 1), h = "a", c = Yn(r);
|
|
2492
2496
|
for ((c == "H" || c == "k") && (l = 0); l-- > 0; )
|
|
2493
2497
|
t += h;
|
|
2494
2498
|
for (; a-- > 0; )
|
|
@@ -2498,7 +2502,7 @@ function qn(e, r) {
|
|
|
2498
2502
|
}
|
|
2499
2503
|
return t;
|
|
2500
2504
|
}
|
|
2501
|
-
function
|
|
2505
|
+
function Yn(e) {
|
|
2502
2506
|
var r = e.hourCycle;
|
|
2503
2507
|
if (r === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2504
2508
|
e.hourCycles && // @ts-ignore
|
|
@@ -2517,23 +2521,23 @@ function Jn(e) {
|
|
|
2517
2521
|
}
|
|
2518
2522
|
var t = e.language, i;
|
|
2519
2523
|
t !== "root" && (i = e.maximize().region);
|
|
2520
|
-
var n =
|
|
2524
|
+
var n = Kr[i || ""] || Kr[t || ""] || Kr["".concat(t, "-001")] || Kr["001"];
|
|
2521
2525
|
return n[0];
|
|
2522
2526
|
}
|
|
2523
|
-
var
|
|
2527
|
+
var yt, Kn = new RegExp("^".concat(Ti.source, "*")), es = new RegExp("".concat(Ti.source, "*$"));
|
|
2524
2528
|
function P(e, r) {
|
|
2525
2529
|
return { start: e, end: r };
|
|
2526
2530
|
}
|
|
2527
|
-
var
|
|
2531
|
+
var rs = !!String.prototype.startsWith && "_a".startsWith("a", 1), ts = !!String.fromCodePoint, is = !!Object.fromEntries, ns = !!String.prototype.codePointAt, ss = !!String.prototype.trimStart, os = !!String.prototype.trimEnd, as = !!Number.isSafeInteger, ls = as ? Number.isSafeInteger : function(e) {
|
|
2528
2532
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2529
|
-
},
|
|
2533
|
+
}, xt = !0;
|
|
2530
2534
|
try {
|
|
2531
|
-
var
|
|
2532
|
-
|
|
2535
|
+
var us = Oi("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2536
|
+
xt = ((yt = us.exec("a")) === null || yt === void 0 ? void 0 : yt[0]) === "a";
|
|
2533
2537
|
} catch (e) {
|
|
2534
|
-
|
|
2538
|
+
xt = !1;
|
|
2535
2539
|
}
|
|
2536
|
-
var Jt =
|
|
2540
|
+
var Jt = rs ? (
|
|
2537
2541
|
// Native
|
|
2538
2542
|
function(r, t, i) {
|
|
2539
2543
|
return r.startsWith(t, i);
|
|
@@ -2543,7 +2547,7 @@ var Jt = es ? (
|
|
|
2543
2547
|
function(r, t, i) {
|
|
2544
2548
|
return r.slice(i, i + t.length) === t;
|
|
2545
2549
|
}
|
|
2546
|
-
),
|
|
2550
|
+
), Ct = ts ? String.fromCodePoint : (
|
|
2547
2551
|
// IE11
|
|
2548
2552
|
function() {
|
|
2549
2553
|
for (var r = [], t = 0; t < arguments.length; t++)
|
|
@@ -2557,7 +2561,7 @@ var Jt = es ? (
|
|
|
2557
2561
|
}
|
|
2558
2562
|
), Yt = (
|
|
2559
2563
|
// native
|
|
2560
|
-
|
|
2564
|
+
is ? Object.fromEntries : (
|
|
2561
2565
|
// Ponyfill
|
|
2562
2566
|
function(r) {
|
|
2563
2567
|
for (var t = {}, i = 0, n = r; i < n.length; i++) {
|
|
@@ -2567,7 +2571,7 @@ var Jt = es ? (
|
|
|
2567
2571
|
return t;
|
|
2568
2572
|
}
|
|
2569
2573
|
)
|
|
2570
|
-
), Ni =
|
|
2574
|
+
), Ni = ns ? (
|
|
2571
2575
|
// Native
|
|
2572
2576
|
function(r, t) {
|
|
2573
2577
|
return r.codePointAt(t);
|
|
@@ -2581,7 +2585,7 @@ var Jt = es ? (
|
|
|
2581
2585
|
return n < 55296 || n > 56319 || t + 1 === i || (s = r.charCodeAt(t + 1)) < 56320 || s > 57343 ? n : (n - 55296 << 10) + (s - 56320) + 65536;
|
|
2582
2586
|
}
|
|
2583
2587
|
}
|
|
2584
|
-
),
|
|
2588
|
+
), cs = ss ? (
|
|
2585
2589
|
// Native
|
|
2586
2590
|
function(r) {
|
|
2587
2591
|
return r.trimStart();
|
|
@@ -2589,9 +2593,9 @@ var Jt = es ? (
|
|
|
2589
2593
|
) : (
|
|
2590
2594
|
// Ponyfill
|
|
2591
2595
|
function(r) {
|
|
2592
|
-
return r.replace(
|
|
2596
|
+
return r.replace(Kn, "");
|
|
2593
2597
|
}
|
|
2594
|
-
),
|
|
2598
|
+
), hs = os ? (
|
|
2595
2599
|
// Native
|
|
2596
2600
|
function(r) {
|
|
2597
2601
|
return r.trimEnd();
|
|
@@ -2599,32 +2603,32 @@ var Jt = es ? (
|
|
|
2599
2603
|
) : (
|
|
2600
2604
|
// Ponyfill
|
|
2601
2605
|
function(r) {
|
|
2602
|
-
return r.replace(
|
|
2606
|
+
return r.replace(es, "");
|
|
2603
2607
|
}
|
|
2604
2608
|
);
|
|
2605
2609
|
function Oi(e, r) {
|
|
2606
2610
|
return new RegExp(e, r);
|
|
2607
2611
|
}
|
|
2608
|
-
var
|
|
2609
|
-
if (
|
|
2612
|
+
var At;
|
|
2613
|
+
if (xt) {
|
|
2610
2614
|
var Kt = Oi("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2611
|
-
|
|
2615
|
+
At = function(r, t) {
|
|
2612
2616
|
var i;
|
|
2613
2617
|
Kt.lastIndex = t;
|
|
2614
2618
|
var n = Kt.exec(r);
|
|
2615
2619
|
return (i = n[1]) !== null && i !== void 0 ? i : "";
|
|
2616
2620
|
};
|
|
2617
2621
|
} else
|
|
2618
|
-
|
|
2622
|
+
At = function(r, t) {
|
|
2619
2623
|
for (var i = []; ; ) {
|
|
2620
2624
|
var n = Ni(r, t);
|
|
2621
|
-
if (n === void 0 || Li(n) ||
|
|
2625
|
+
if (n === void 0 || Li(n) || gs(n))
|
|
2622
2626
|
break;
|
|
2623
2627
|
i.push(n), t += n >= 65536 ? 2 : 1;
|
|
2624
2628
|
}
|
|
2625
|
-
return
|
|
2629
|
+
return Ct.apply(void 0, i);
|
|
2626
2630
|
};
|
|
2627
|
-
var
|
|
2631
|
+
var fs = (
|
|
2628
2632
|
/** @class */
|
|
2629
2633
|
function() {
|
|
2630
2634
|
function e(r, t) {
|
|
@@ -2648,14 +2652,14 @@ var hs = (
|
|
|
2648
2652
|
if (s === 35 && (t === "plural" || t === "selectordinal")) {
|
|
2649
2653
|
var l = this.clonePosition();
|
|
2650
2654
|
this.bump(), n.push({
|
|
2651
|
-
type:
|
|
2655
|
+
type: O.pound,
|
|
2652
2656
|
location: P(l, this.clonePosition())
|
|
2653
2657
|
});
|
|
2654
2658
|
} else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
2655
2659
|
if (i)
|
|
2656
2660
|
break;
|
|
2657
2661
|
return this.error(S.UNMATCHED_CLOSING_TAG, P(this.clonePosition(), this.clonePosition()));
|
|
2658
|
-
} else if (s === 60 && !this.ignoreTag &&
|
|
2662
|
+
} else if (s === 60 && !this.ignoreTag && Tt(this.peek() || 0)) {
|
|
2659
2663
|
var a = this.parseTag(r, t);
|
|
2660
2664
|
if (a.err)
|
|
2661
2665
|
return a;
|
|
@@ -2676,7 +2680,7 @@ var hs = (
|
|
|
2676
2680
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
2677
2681
|
return {
|
|
2678
2682
|
val: {
|
|
2679
|
-
type:
|
|
2683
|
+
type: O.literal,
|
|
2680
2684
|
value: "<".concat(n, "/>"),
|
|
2681
2685
|
location: P(i, this.clonePosition())
|
|
2682
2686
|
},
|
|
@@ -2688,12 +2692,12 @@ var hs = (
|
|
|
2688
2692
|
return s;
|
|
2689
2693
|
var a = s.val, l = this.clonePosition();
|
|
2690
2694
|
if (this.bumpIf("</")) {
|
|
2691
|
-
if (this.isEOF() || !
|
|
2695
|
+
if (this.isEOF() || !Tt(this.char()))
|
|
2692
2696
|
return this.error(S.INVALID_TAG, P(l, this.clonePosition()));
|
|
2693
2697
|
var h = this.clonePosition(), c = this.parseTagName();
|
|
2694
2698
|
return n !== c ? this.error(S.UNMATCHED_CLOSING_TAG, P(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
2695
2699
|
val: {
|
|
2696
|
-
type:
|
|
2700
|
+
type: O.tag,
|
|
2697
2701
|
value: n,
|
|
2698
2702
|
children: a,
|
|
2699
2703
|
location: P(i, this.clonePosition())
|
|
@@ -2706,7 +2710,7 @@ var hs = (
|
|
|
2706
2710
|
return this.error(S.INVALID_TAG, P(i, this.clonePosition()));
|
|
2707
2711
|
}, e.prototype.parseTagName = function() {
|
|
2708
2712
|
var r = this.offset();
|
|
2709
|
-
for (this.bump(); !this.isEOF() &&
|
|
2713
|
+
for (this.bump(); !this.isEOF() && ms(this.char()); )
|
|
2710
2714
|
this.bump();
|
|
2711
2715
|
return this.message.slice(r, this.offset());
|
|
2712
2716
|
}, e.prototype.parseLiteral = function(r, t) {
|
|
@@ -2730,12 +2734,12 @@ var hs = (
|
|
|
2730
2734
|
}
|
|
2731
2735
|
var h = P(i, this.clonePosition());
|
|
2732
2736
|
return {
|
|
2733
|
-
val: { type:
|
|
2737
|
+
val: { type: O.literal, value: n, location: h },
|
|
2734
2738
|
err: null
|
|
2735
2739
|
};
|
|
2736
2740
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
2737
2741
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
2738
|
-
!
|
|
2742
|
+
!ds(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
2739
2743
|
}, e.prototype.tryParseQuote = function(r) {
|
|
2740
2744
|
if (this.isEOF() || this.char() !== 39)
|
|
2741
2745
|
return null;
|
|
@@ -2769,12 +2773,12 @@ var hs = (
|
|
|
2769
2773
|
t.push(i);
|
|
2770
2774
|
this.bump();
|
|
2771
2775
|
}
|
|
2772
|
-
return
|
|
2776
|
+
return Ct.apply(void 0, t);
|
|
2773
2777
|
}, e.prototype.tryParseUnquoted = function(r, t) {
|
|
2774
2778
|
if (this.isEOF())
|
|
2775
2779
|
return null;
|
|
2776
2780
|
var i = this.char();
|
|
2777
|
-
return i === 60 || i === 123 || i === 35 && (t === "plural" || t === "selectordinal") || i === 125 && r > 0 ? null : (this.bump(),
|
|
2781
|
+
return i === 60 || i === 123 || i === 35 && (t === "plural" || t === "selectordinal") || i === 125 && r > 0 ? null : (this.bump(), Ct(i));
|
|
2778
2782
|
}, e.prototype.parseArgument = function(r, t) {
|
|
2779
2783
|
var i = this.clonePosition();
|
|
2780
2784
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -2790,7 +2794,7 @@ var hs = (
|
|
|
2790
2794
|
case 125:
|
|
2791
2795
|
return this.bump(), {
|
|
2792
2796
|
val: {
|
|
2793
|
-
type:
|
|
2797
|
+
type: O.argument,
|
|
2794
2798
|
// value does not include the opening and closing braces.
|
|
2795
2799
|
value: n,
|
|
2796
2800
|
location: P(i, this.clonePosition())
|
|
@@ -2803,7 +2807,7 @@ var hs = (
|
|
|
2803
2807
|
return this.error(S.MALFORMED_ARGUMENT, P(i, this.clonePosition()));
|
|
2804
2808
|
}
|
|
2805
2809
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
2806
|
-
var r = this.clonePosition(), t = this.offset(), i =
|
|
2810
|
+
var r = this.clonePosition(), t = this.offset(), i = At(this.message, t), n = t + i.length;
|
|
2807
2811
|
this.bumpTo(n);
|
|
2808
2812
|
var s = this.clonePosition(), a = P(r, s);
|
|
2809
2813
|
return { value: i, location: a };
|
|
@@ -2822,35 +2826,35 @@ var hs = (
|
|
|
2822
2826
|
var f = this.clonePosition(), m = this.parseSimpleArgStyleIfPossible();
|
|
2823
2827
|
if (m.err)
|
|
2824
2828
|
return m;
|
|
2825
|
-
var g =
|
|
2829
|
+
var g = hs(m.val);
|
|
2826
2830
|
if (g.length === 0)
|
|
2827
2831
|
return this.error(S.EXPECT_ARGUMENT_STYLE, P(this.clonePosition(), this.clonePosition()));
|
|
2828
2832
|
var b = P(f, this.clonePosition());
|
|
2829
2833
|
c = { style: g, styleLocation: b };
|
|
2830
2834
|
}
|
|
2831
|
-
var
|
|
2832
|
-
if (
|
|
2833
|
-
return
|
|
2835
|
+
var _ = this.tryParseArgumentClose(n);
|
|
2836
|
+
if (_.err)
|
|
2837
|
+
return _;
|
|
2834
2838
|
var E = P(n, this.clonePosition());
|
|
2835
2839
|
if (c && Jt(c == null ? void 0 : c.style, "::", 0)) {
|
|
2836
|
-
var A =
|
|
2840
|
+
var A = cs(c.style.slice(2));
|
|
2837
2841
|
if (l === "number") {
|
|
2838
2842
|
var m = this.parseNumberSkeletonFromString(A, c.styleLocation);
|
|
2839
2843
|
return m.err ? m : {
|
|
2840
|
-
val: { type:
|
|
2844
|
+
val: { type: O.number, value: i, location: E, style: m.val },
|
|
2841
2845
|
err: null
|
|
2842
2846
|
};
|
|
2843
2847
|
} else {
|
|
2844
2848
|
if (A.length === 0)
|
|
2845
2849
|
return this.error(S.EXPECT_DATE_TIME_SKELETON, E);
|
|
2846
|
-
var
|
|
2847
|
-
this.locale && (
|
|
2850
|
+
var N = A;
|
|
2851
|
+
this.locale && (N = Jn(A, this.locale));
|
|
2848
2852
|
var g = {
|
|
2849
|
-
type:
|
|
2850
|
-
pattern:
|
|
2853
|
+
type: ar.dateTime,
|
|
2854
|
+
pattern: N,
|
|
2851
2855
|
location: c.styleLocation,
|
|
2852
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2853
|
-
}, M = l === "date" ?
|
|
2856
|
+
parsedOptions: this.shouldParseSkeletons ? $n(N) : {}
|
|
2857
|
+
}, M = l === "date" ? O.date : O.time;
|
|
2854
2858
|
return {
|
|
2855
2859
|
val: { type: M, value: i, location: E, style: g },
|
|
2856
2860
|
err: null
|
|
@@ -2859,7 +2863,7 @@ var hs = (
|
|
|
2859
2863
|
}
|
|
2860
2864
|
return {
|
|
2861
2865
|
val: {
|
|
2862
|
-
type: l === "number" ?
|
|
2866
|
+
type: l === "number" ? O.number : l === "date" ? O.date : O.time,
|
|
2863
2867
|
value: i,
|
|
2864
2868
|
location: E,
|
|
2865
2869
|
style: (s = c == null ? void 0 : c.style) !== null && s !== void 0 ? s : null
|
|
@@ -2872,7 +2876,7 @@ var hs = (
|
|
|
2872
2876
|
case "select": {
|
|
2873
2877
|
var R = this.clonePosition();
|
|
2874
2878
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
2875
|
-
return this.error(S.EXPECT_SELECT_ARGUMENT_OPTIONS, P(R,
|
|
2879
|
+
return this.error(S.EXPECT_SELECT_ARGUMENT_OPTIONS, P(R, it({}, R)));
|
|
2876
2880
|
this.bumpSpace();
|
|
2877
2881
|
var ce = this.parseIdentifierIfPossible(), G = 0;
|
|
2878
2882
|
if (l !== "select" && ce.value === "offset") {
|
|
@@ -2887,13 +2891,13 @@ var hs = (
|
|
|
2887
2891
|
var ge = this.tryParsePluralOrSelectOptions(r, l, t, ce);
|
|
2888
2892
|
if (ge.err)
|
|
2889
2893
|
return ge;
|
|
2890
|
-
var
|
|
2891
|
-
if (
|
|
2892
|
-
return
|
|
2894
|
+
var _ = this.tryParseArgumentClose(n);
|
|
2895
|
+
if (_.err)
|
|
2896
|
+
return _;
|
|
2893
2897
|
var U = P(n, this.clonePosition());
|
|
2894
2898
|
return l === "select" ? {
|
|
2895
2899
|
val: {
|
|
2896
|
-
type:
|
|
2900
|
+
type: O.select,
|
|
2897
2901
|
value: i,
|
|
2898
2902
|
options: Yt(ge.val),
|
|
2899
2903
|
location: U
|
|
@@ -2901,7 +2905,7 @@ var hs = (
|
|
|
2901
2905
|
err: null
|
|
2902
2906
|
} : {
|
|
2903
2907
|
val: {
|
|
2904
|
-
type:
|
|
2908
|
+
type: O.plural,
|
|
2905
2909
|
value: i,
|
|
2906
2910
|
options: Yt(ge.val),
|
|
2907
2911
|
offset: G,
|
|
@@ -2954,16 +2958,16 @@ var hs = (
|
|
|
2954
2958
|
}, e.prototype.parseNumberSkeletonFromString = function(r, t) {
|
|
2955
2959
|
var i = [];
|
|
2956
2960
|
try {
|
|
2957
|
-
i =
|
|
2961
|
+
i = zn(r);
|
|
2958
2962
|
} catch (n) {
|
|
2959
2963
|
return this.error(S.INVALID_NUMBER_SKELETON, t);
|
|
2960
2964
|
}
|
|
2961
2965
|
return {
|
|
2962
2966
|
val: {
|
|
2963
|
-
type:
|
|
2967
|
+
type: ar.number,
|
|
2964
2968
|
tokens: i,
|
|
2965
2969
|
location: t,
|
|
2966
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2970
|
+
parsedOptions: this.shouldParseSkeletons ? qn(i) : {}
|
|
2967
2971
|
},
|
|
2968
2972
|
err: null
|
|
2969
2973
|
};
|
|
@@ -2985,16 +2989,16 @@ var hs = (
|
|
|
2985
2989
|
var b = this.clonePosition();
|
|
2986
2990
|
if (!this.bumpIf("{"))
|
|
2987
2991
|
return this.error(t === "select" ? S.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : S.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, P(this.clonePosition(), this.clonePosition()));
|
|
2988
|
-
var
|
|
2989
|
-
if (
|
|
2990
|
-
return
|
|
2992
|
+
var _ = this.parseMessage(r + 1, t, i);
|
|
2993
|
+
if (_.err)
|
|
2994
|
+
return _;
|
|
2991
2995
|
var E = this.tryParseArgumentClose(b);
|
|
2992
2996
|
if (E.err)
|
|
2993
2997
|
return E;
|
|
2994
2998
|
l.push([
|
|
2995
2999
|
c,
|
|
2996
3000
|
{
|
|
2997
|
-
value:
|
|
3001
|
+
value: _.val,
|
|
2998
3002
|
location: P(b, this.clonePosition())
|
|
2999
3003
|
}
|
|
3000
3004
|
]), h.add(c), this.bumpSpace(), s = this.parseIdentifierIfPossible(), c = s.value, f = s.location;
|
|
@@ -3011,7 +3015,7 @@ var hs = (
|
|
|
3011
3015
|
break;
|
|
3012
3016
|
}
|
|
3013
3017
|
var h = P(n, this.clonePosition());
|
|
3014
|
-
return s ? (a *= i,
|
|
3018
|
+
return s ? (a *= i, ls(a) ? { val: a, err: null } : this.error(t, h)) : this.error(r, h);
|
|
3015
3019
|
}, e.prototype.offset = function() {
|
|
3016
3020
|
return this.position.offset;
|
|
3017
3021
|
}, e.prototype.isEOF = function() {
|
|
@@ -3077,47 +3081,47 @@ var hs = (
|
|
|
3077
3081
|
}, e;
|
|
3078
3082
|
}()
|
|
3079
3083
|
);
|
|
3080
|
-
function
|
|
3084
|
+
function Tt(e) {
|
|
3081
3085
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3082
3086
|
}
|
|
3083
|
-
function fs(e) {
|
|
3084
|
-
return Ct(e) || e === 47;
|
|
3085
|
-
}
|
|
3086
3087
|
function ds(e) {
|
|
3088
|
+
return Tt(e) || e === 47;
|
|
3089
|
+
}
|
|
3090
|
+
function ms(e) {
|
|
3087
3091
|
return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
|
|
3088
3092
|
}
|
|
3089
3093
|
function Li(e) {
|
|
3090
3094
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3091
3095
|
}
|
|
3092
|
-
function
|
|
3096
|
+
function gs(e) {
|
|
3093
3097
|
return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
|
|
3094
3098
|
}
|
|
3095
|
-
function
|
|
3099
|
+
function Ht(e) {
|
|
3096
3100
|
e.forEach(function(r) {
|
|
3097
3101
|
if (delete r.location, Pi(r) || xi(r))
|
|
3098
3102
|
for (var t in r.options)
|
|
3099
|
-
delete r.options[t].location,
|
|
3103
|
+
delete r.options[t].location, Ht(r.options[t].value);
|
|
3100
3104
|
else
|
|
3101
|
-
|
|
3105
|
+
_i(r) && Ai(r.style) || (wi(r) || Si(r)) && Pt(r.style) ? delete r.style.location : Ci(r) && Ht(r.children);
|
|
3102
3106
|
});
|
|
3103
3107
|
}
|
|
3104
|
-
function
|
|
3105
|
-
r === void 0 && (r = {}), r =
|
|
3106
|
-
var t = new
|
|
3108
|
+
function ps(e, r) {
|
|
3109
|
+
r === void 0 && (r = {}), r = it({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, r);
|
|
3110
|
+
var t = new fs(e, r).parse();
|
|
3107
3111
|
if (t.err) {
|
|
3108
3112
|
var i = SyntaxError(S[t.err.kind]);
|
|
3109
3113
|
throw i.location = t.err.location, i.originalMessage = t.err.message, i;
|
|
3110
3114
|
}
|
|
3111
|
-
return r != null && r.captureLocation ||
|
|
3115
|
+
return r != null && r.captureLocation || Ht(t.val), t.val;
|
|
3112
3116
|
}
|
|
3113
|
-
var
|
|
3117
|
+
var lr;
|
|
3114
3118
|
(function(e) {
|
|
3115
3119
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3116
|
-
})(
|
|
3117
|
-
var
|
|
3120
|
+
})(lr || (lr = {}));
|
|
3121
|
+
var lt = (
|
|
3118
3122
|
/** @class */
|
|
3119
3123
|
function(e) {
|
|
3120
|
-
|
|
3124
|
+
at(r, e);
|
|
3121
3125
|
function r(t, i, n) {
|
|
3122
3126
|
var s = e.call(this, t) || this;
|
|
3123
3127
|
return s.code = i, s.originalMessage = n, s;
|
|
@@ -3129,44 +3133,44 @@ var ot = (
|
|
|
3129
3133
|
), ei = (
|
|
3130
3134
|
/** @class */
|
|
3131
3135
|
function(e) {
|
|
3132
|
-
|
|
3136
|
+
at(r, e);
|
|
3133
3137
|
function r(t, i, n, s) {
|
|
3134
|
-
return e.call(this, 'Invalid values for "'.concat(t, '": "').concat(i, '". Options are "').concat(Object.keys(n).join('", "'), '"'),
|
|
3138
|
+
return e.call(this, 'Invalid values for "'.concat(t, '": "').concat(i, '". Options are "').concat(Object.keys(n).join('", "'), '"'), lr.INVALID_VALUE, s) || this;
|
|
3135
3139
|
}
|
|
3136
3140
|
return r;
|
|
3137
|
-
}(
|
|
3138
|
-
),
|
|
3141
|
+
}(lt)
|
|
3142
|
+
), bs = (
|
|
3139
3143
|
/** @class */
|
|
3140
3144
|
function(e) {
|
|
3141
|
-
|
|
3145
|
+
at(r, e);
|
|
3142
3146
|
function r(t, i, n) {
|
|
3143
|
-
return e.call(this, 'Value for "'.concat(t, '" must be of type ').concat(i),
|
|
3147
|
+
return e.call(this, 'Value for "'.concat(t, '" must be of type ').concat(i), lr.INVALID_VALUE, n) || this;
|
|
3144
3148
|
}
|
|
3145
3149
|
return r;
|
|
3146
|
-
}(
|
|
3147
|
-
),
|
|
3150
|
+
}(lt)
|
|
3151
|
+
), ys = (
|
|
3148
3152
|
/** @class */
|
|
3149
3153
|
function(e) {
|
|
3150
|
-
|
|
3154
|
+
at(r, e);
|
|
3151
3155
|
function r(t, i) {
|
|
3152
|
-
return e.call(this, 'The intl string context variable "'.concat(t, '" was not provided to the string "').concat(i, '"'),
|
|
3156
|
+
return e.call(this, 'The intl string context variable "'.concat(t, '" was not provided to the string "').concat(i, '"'), lr.MISSING_VALUE, i) || this;
|
|
3153
3157
|
}
|
|
3154
3158
|
return r;
|
|
3155
|
-
}(
|
|
3159
|
+
}(lt)
|
|
3156
3160
|
), Q;
|
|
3157
3161
|
(function(e) {
|
|
3158
3162
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3159
3163
|
})(Q || (Q = {}));
|
|
3160
|
-
function
|
|
3164
|
+
function Es(e) {
|
|
3161
3165
|
return e.length < 2 ? e : e.reduce(function(r, t) {
|
|
3162
3166
|
var i = r[r.length - 1];
|
|
3163
3167
|
return !i || i.type !== Q.literal || t.type !== Q.literal ? r.push(t) : i.value += t.value, r;
|
|
3164
3168
|
}, []);
|
|
3165
3169
|
}
|
|
3166
|
-
function
|
|
3170
|
+
function vs(e) {
|
|
3167
3171
|
return typeof e == "function";
|
|
3168
3172
|
}
|
|
3169
|
-
function
|
|
3173
|
+
function rt(e, r, t, i, n, s, a) {
|
|
3170
3174
|
if (e.length === 1 && Xt(e[0]))
|
|
3171
3175
|
return [
|
|
3172
3176
|
{
|
|
@@ -3183,7 +3187,7 @@ function et(e, r, t, i, n, s, a) {
|
|
|
3183
3187
|
});
|
|
3184
3188
|
continue;
|
|
3185
3189
|
}
|
|
3186
|
-
if (
|
|
3190
|
+
if (jn(f)) {
|
|
3187
3191
|
typeof s == "number" && l.push({
|
|
3188
3192
|
type: Q.literal,
|
|
3189
3193
|
value: t.getNumberFormat(r).format(s)
|
|
@@ -3192,17 +3196,17 @@ function et(e, r, t, i, n, s, a) {
|
|
|
3192
3196
|
}
|
|
3193
3197
|
var m = f.value;
|
|
3194
3198
|
if (!(n && m in n))
|
|
3195
|
-
throw new
|
|
3199
|
+
throw new ys(m, a);
|
|
3196
3200
|
var g = n[m];
|
|
3197
|
-
if (
|
|
3201
|
+
if (Gn(f)) {
|
|
3198
3202
|
(!g || typeof g == "string" || typeof g == "number") && (g = typeof g == "string" || typeof g == "number" ? String(g) : ""), l.push({
|
|
3199
3203
|
type: typeof g == "string" ? Q.literal : Q.object,
|
|
3200
3204
|
value: g
|
|
3201
3205
|
});
|
|
3202
3206
|
continue;
|
|
3203
3207
|
}
|
|
3204
|
-
if (
|
|
3205
|
-
var b = typeof f.style == "string" ? i.date[f.style] :
|
|
3208
|
+
if (wi(f)) {
|
|
3209
|
+
var b = typeof f.style == "string" ? i.date[f.style] : Pt(f.style) ? f.style.parsedOptions : void 0;
|
|
3206
3210
|
l.push({
|
|
3207
3211
|
type: Q.literal,
|
|
3208
3212
|
value: t.getDateTimeFormat(r, b).format(g)
|
|
@@ -3210,14 +3214,14 @@ function et(e, r, t, i, n, s, a) {
|
|
|
3210
3214
|
continue;
|
|
3211
3215
|
}
|
|
3212
3216
|
if (Si(f)) {
|
|
3213
|
-
var b = typeof f.style == "string" ? i.time[f.style] :
|
|
3217
|
+
var b = typeof f.style == "string" ? i.time[f.style] : Pt(f.style) ? f.style.parsedOptions : i.time.medium;
|
|
3214
3218
|
l.push({
|
|
3215
3219
|
type: Q.literal,
|
|
3216
3220
|
value: t.getDateTimeFormat(r, b).format(g)
|
|
3217
3221
|
});
|
|
3218
3222
|
continue;
|
|
3219
3223
|
}
|
|
3220
|
-
if (
|
|
3224
|
+
if (_i(f)) {
|
|
3221
3225
|
var b = typeof f.style == "string" ? i.number[f.style] : Ai(f.style) ? f.style.parsedOptions : void 0;
|
|
3222
3226
|
b && b.scale && (g = g * (b.scale || 1)), l.push({
|
|
3223
3227
|
type: Q.literal,
|
|
@@ -3226,10 +3230,10 @@ function et(e, r, t, i, n, s, a) {
|
|
|
3226
3230
|
continue;
|
|
3227
3231
|
}
|
|
3228
3232
|
if (Ci(f)) {
|
|
3229
|
-
var
|
|
3230
|
-
if (!
|
|
3231
|
-
throw new
|
|
3232
|
-
var
|
|
3233
|
+
var _ = f.children, E = f.value, A = n[E];
|
|
3234
|
+
if (!vs(A))
|
|
3235
|
+
throw new bs(E, "function", a);
|
|
3236
|
+
var N = rt(_, r, t, i, n, s), M = A(N.map(function(G) {
|
|
3233
3237
|
return G.value;
|
|
3234
3238
|
}));
|
|
3235
3239
|
Array.isArray(M) || (M = [M]), l.push.apply(l, M.map(function(G) {
|
|
@@ -3243,38 +3247,38 @@ function et(e, r, t, i, n, s, a) {
|
|
|
3243
3247
|
var R = f.options[g] || f.options.other;
|
|
3244
3248
|
if (!R)
|
|
3245
3249
|
throw new ei(f.value, g, Object.keys(f.options), a);
|
|
3246
|
-
l.push.apply(l,
|
|
3250
|
+
l.push.apply(l, rt(R.value, r, t, i, n));
|
|
3247
3251
|
continue;
|
|
3248
3252
|
}
|
|
3249
3253
|
if (xi(f)) {
|
|
3250
3254
|
var R = f.options["=".concat(g)];
|
|
3251
3255
|
if (!R) {
|
|
3252
3256
|
if (!Intl.PluralRules)
|
|
3253
|
-
throw new
|
|
3257
|
+
throw new lt(`Intl.PluralRules is not available in this environment.
|
|
3254
3258
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3255
|
-
`,
|
|
3259
|
+
`, lr.MISSING_INTL_API, a);
|
|
3256
3260
|
var ce = t.getPluralRules(r, { type: f.pluralType }).select(g - (f.offset || 0));
|
|
3257
3261
|
R = f.options[ce] || f.options.other;
|
|
3258
3262
|
}
|
|
3259
3263
|
if (!R)
|
|
3260
3264
|
throw new ei(f.value, g, Object.keys(f.options), a);
|
|
3261
|
-
l.push.apply(l,
|
|
3265
|
+
l.push.apply(l, rt(R.value, r, t, i, n, g - (f.offset || 0)));
|
|
3262
3266
|
continue;
|
|
3263
3267
|
}
|
|
3264
3268
|
}
|
|
3265
|
-
return
|
|
3269
|
+
return Es(l);
|
|
3266
3270
|
}
|
|
3267
|
-
function
|
|
3268
|
-
return r ?
|
|
3269
|
-
return t[i] =
|
|
3271
|
+
function _s(e, r) {
|
|
3272
|
+
return r ? xe(xe(xe({}, e || {}), r || {}), Object.keys(e).reduce(function(t, i) {
|
|
3273
|
+
return t[i] = xe(xe({}, e[i]), r[i] || {}), t;
|
|
3270
3274
|
}, {})) : e;
|
|
3271
3275
|
}
|
|
3272
3276
|
function ws(e, r) {
|
|
3273
3277
|
return r ? Object.keys(e).reduce(function(t, i) {
|
|
3274
|
-
return t[i] =
|
|
3275
|
-
},
|
|
3278
|
+
return t[i] = _s(e[i], r[i]), t;
|
|
3279
|
+
}, xe({}, e)) : e;
|
|
3276
3280
|
}
|
|
3277
|
-
function
|
|
3281
|
+
function Et(e) {
|
|
3278
3282
|
return {
|
|
3279
3283
|
create: function() {
|
|
3280
3284
|
return {
|
|
@@ -3288,39 +3292,39 @@ function bt(e) {
|
|
|
3288
3292
|
}
|
|
3289
3293
|
};
|
|
3290
3294
|
}
|
|
3291
|
-
function
|
|
3295
|
+
function Ss(e) {
|
|
3292
3296
|
return e === void 0 && (e = {
|
|
3293
3297
|
number: {},
|
|
3294
3298
|
dateTime: {},
|
|
3295
3299
|
pluralRules: {}
|
|
3296
3300
|
}), {
|
|
3297
|
-
getNumberFormat:
|
|
3301
|
+
getNumberFormat: pt(function() {
|
|
3298
3302
|
for (var r, t = [], i = 0; i < arguments.length; i++)
|
|
3299
3303
|
t[i] = arguments[i];
|
|
3300
|
-
return new ((r = Intl.NumberFormat).bind.apply(r,
|
|
3304
|
+
return new ((r = Intl.NumberFormat).bind.apply(r, gt([void 0], t, !1)))();
|
|
3301
3305
|
}, {
|
|
3302
|
-
cache:
|
|
3303
|
-
strategy:
|
|
3306
|
+
cache: Et(e.number),
|
|
3307
|
+
strategy: bt.variadic
|
|
3304
3308
|
}),
|
|
3305
|
-
getDateTimeFormat:
|
|
3309
|
+
getDateTimeFormat: pt(function() {
|
|
3306
3310
|
for (var r, t = [], i = 0; i < arguments.length; i++)
|
|
3307
3311
|
t[i] = arguments[i];
|
|
3308
|
-
return new ((r = Intl.DateTimeFormat).bind.apply(r,
|
|
3312
|
+
return new ((r = Intl.DateTimeFormat).bind.apply(r, gt([void 0], t, !1)))();
|
|
3309
3313
|
}, {
|
|
3310
|
-
cache:
|
|
3311
|
-
strategy:
|
|
3314
|
+
cache: Et(e.dateTime),
|
|
3315
|
+
strategy: bt.variadic
|
|
3312
3316
|
}),
|
|
3313
|
-
getPluralRules:
|
|
3317
|
+
getPluralRules: pt(function() {
|
|
3314
3318
|
for (var r, t = [], i = 0; i < arguments.length; i++)
|
|
3315
3319
|
t[i] = arguments[i];
|
|
3316
|
-
return new ((r = Intl.PluralRules).bind.apply(r,
|
|
3320
|
+
return new ((r = Intl.PluralRules).bind.apply(r, gt([void 0], t, !1)))();
|
|
3317
3321
|
}, {
|
|
3318
|
-
cache:
|
|
3319
|
-
strategy:
|
|
3322
|
+
cache: Et(e.pluralRules),
|
|
3323
|
+
strategy: bt.variadic
|
|
3320
3324
|
})
|
|
3321
3325
|
};
|
|
3322
3326
|
}
|
|
3323
|
-
var
|
|
3327
|
+
var Ps = (
|
|
3324
3328
|
/** @class */
|
|
3325
3329
|
function() {
|
|
3326
3330
|
function e(r, t, i, n) {
|
|
@@ -3339,7 +3343,7 @@ var Ss = (
|
|
|
3339
3343
|
}, []);
|
|
3340
3344
|
return f.length <= 1 ? f[0] || "" : f;
|
|
3341
3345
|
}, this.formatToParts = function(h) {
|
|
3342
|
-
return
|
|
3346
|
+
return rt(s.ast, s.locales, s.formatters, s.formats, h, void 0, s.message);
|
|
3343
3347
|
}, this.resolvedOptions = function() {
|
|
3344
3348
|
var h;
|
|
3345
3349
|
return {
|
|
@@ -3353,12 +3357,12 @@ var Ss = (
|
|
|
3353
3357
|
var a = n || {};
|
|
3354
3358
|
a.formatters;
|
|
3355
3359
|
var l = On(a, ["formatters"]);
|
|
3356
|
-
this.ast = e.__parse(r,
|
|
3360
|
+
this.ast = e.__parse(r, xe(xe({}, l), { locale: this.resolvedLocale }));
|
|
3357
3361
|
} else
|
|
3358
3362
|
this.ast = r;
|
|
3359
3363
|
if (!Array.isArray(this.ast))
|
|
3360
3364
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3361
|
-
this.formats = ws(e.formats, i), this.formatters = n && n.formatters ||
|
|
3365
|
+
this.formats = ws(e.formats, i), this.formatters = n && n.formatters || Ss(this.formatterCache);
|
|
3362
3366
|
}
|
|
3363
3367
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3364
3368
|
get: function() {
|
|
@@ -3371,7 +3375,7 @@ var Ss = (
|
|
|
3371
3375
|
var t = Intl.NumberFormat.supportedLocalesOf(r);
|
|
3372
3376
|
return t.length > 0 ? new Intl.Locale(t[0]) : new Intl.Locale(typeof r == "string" ? r : r[0]);
|
|
3373
3377
|
}
|
|
3374
|
-
}, e.__parse =
|
|
3378
|
+
}, e.__parse = ps, e.formats = {
|
|
3375
3379
|
number: {
|
|
3376
3380
|
integer: {
|
|
3377
3381
|
maximumFractionDigits: 0
|
|
@@ -3432,7 +3436,7 @@ var Ss = (
|
|
|
3432
3436
|
}, e;
|
|
3433
3437
|
}()
|
|
3434
3438
|
);
|
|
3435
|
-
function
|
|
3439
|
+
function xs(e, r) {
|
|
3436
3440
|
if (r == null)
|
|
3437
3441
|
return;
|
|
3438
3442
|
if (r in e)
|
|
@@ -3453,36 +3457,36 @@ function Ps(e, r) {
|
|
|
3453
3457
|
i = void 0;
|
|
3454
3458
|
return i;
|
|
3455
3459
|
}
|
|
3456
|
-
const
|
|
3460
|
+
const Le = {}, Cs = (e, r, t) => t && (r in Le || (Le[r] = {}), e in Le[r] || (Le[r][e] = t), t), Mi = (e, r) => {
|
|
3457
3461
|
if (r == null)
|
|
3458
3462
|
return;
|
|
3459
|
-
if (r in
|
|
3460
|
-
return
|
|
3461
|
-
const t =
|
|
3463
|
+
if (r in Le && e in Le[r])
|
|
3464
|
+
return Le[r][e];
|
|
3465
|
+
const t = ut(r);
|
|
3462
3466
|
for (let i = 0; i < t.length; i++) {
|
|
3463
|
-
const n = t[i], s =
|
|
3467
|
+
const n = t[i], s = Ts(n, e);
|
|
3464
3468
|
if (s)
|
|
3465
|
-
return
|
|
3469
|
+
return Cs(e, r, s);
|
|
3466
3470
|
}
|
|
3467
3471
|
};
|
|
3468
3472
|
let Ot;
|
|
3469
|
-
const
|
|
3470
|
-
function
|
|
3473
|
+
const Lr = ot({});
|
|
3474
|
+
function As(e) {
|
|
3471
3475
|
return Ot[e] || null;
|
|
3472
3476
|
}
|
|
3473
3477
|
function Ri(e) {
|
|
3474
3478
|
return e in Ot;
|
|
3475
3479
|
}
|
|
3476
|
-
function
|
|
3480
|
+
function Ts(e, r) {
|
|
3477
3481
|
if (!Ri(e))
|
|
3478
3482
|
return null;
|
|
3479
|
-
const t =
|
|
3480
|
-
return
|
|
3483
|
+
const t = As(e);
|
|
3484
|
+
return xs(t, r);
|
|
3481
3485
|
}
|
|
3482
|
-
function
|
|
3486
|
+
function Hs(e) {
|
|
3483
3487
|
if (e == null)
|
|
3484
3488
|
return;
|
|
3485
|
-
const r =
|
|
3489
|
+
const r = ut(e);
|
|
3486
3490
|
for (let t = 0; t < r.length; t++) {
|
|
3487
3491
|
const i = r[t];
|
|
3488
3492
|
if (Ri(i))
|
|
@@ -3490,55 +3494,55 @@ function Ts(e) {
|
|
|
3490
3494
|
}
|
|
3491
3495
|
}
|
|
3492
3496
|
function Ui(e, ...r) {
|
|
3493
|
-
delete
|
|
3497
|
+
delete Le[e], Lr.update((t) => (t[e] = Nn.all([t[e] || {}, ...r]), t));
|
|
3494
3498
|
}
|
|
3495
|
-
|
|
3496
|
-
[
|
|
3499
|
+
hr(
|
|
3500
|
+
[Lr],
|
|
3497
3501
|
([e]) => Object.keys(e)
|
|
3498
3502
|
);
|
|
3499
|
-
|
|
3500
|
-
const
|
|
3501
|
-
function
|
|
3502
|
-
|
|
3503
|
+
Lr.subscribe((e) => Ot = e);
|
|
3504
|
+
const tt = {};
|
|
3505
|
+
function Bs(e, r) {
|
|
3506
|
+
tt[e].delete(r), tt[e].size === 0 && delete tt[e];
|
|
3503
3507
|
}
|
|
3504
3508
|
function ki(e) {
|
|
3505
|
-
return
|
|
3509
|
+
return tt[e];
|
|
3506
3510
|
}
|
|
3507
|
-
function
|
|
3508
|
-
return
|
|
3511
|
+
function Is(e) {
|
|
3512
|
+
return ut(e).map((r) => {
|
|
3509
3513
|
const t = ki(r);
|
|
3510
3514
|
return [r, t ? [...t] : []];
|
|
3511
3515
|
}).filter(([, r]) => r.length > 0);
|
|
3512
3516
|
}
|
|
3513
|
-
function
|
|
3514
|
-
return e == null ? !1 :
|
|
3517
|
+
function Bt(e) {
|
|
3518
|
+
return e == null ? !1 : ut(e).some(
|
|
3515
3519
|
(r) => {
|
|
3516
3520
|
var t;
|
|
3517
3521
|
return (t = ki(r)) == null ? void 0 : t.size;
|
|
3518
3522
|
}
|
|
3519
3523
|
);
|
|
3520
3524
|
}
|
|
3521
|
-
function
|
|
3525
|
+
function Ns(e, r) {
|
|
3522
3526
|
return Promise.all(
|
|
3523
|
-
r.map((i) => (
|
|
3527
|
+
r.map((i) => (Bs(e, i), i().then((n) => n.default || n)))
|
|
3524
3528
|
).then((i) => Ui(e, ...i));
|
|
3525
3529
|
}
|
|
3526
|
-
const
|
|
3530
|
+
const Tr = {};
|
|
3527
3531
|
function Fi(e) {
|
|
3528
|
-
if (!
|
|
3529
|
-
return e in
|
|
3530
|
-
const r =
|
|
3531
|
-
return
|
|
3532
|
+
if (!Bt(e))
|
|
3533
|
+
return e in Tr ? Tr[e] : Promise.resolve();
|
|
3534
|
+
const r = Is(e);
|
|
3535
|
+
return Tr[e] = Promise.all(
|
|
3532
3536
|
r.map(
|
|
3533
|
-
([t, i]) =>
|
|
3537
|
+
([t, i]) => Ns(t, i)
|
|
3534
3538
|
)
|
|
3535
3539
|
).then(() => {
|
|
3536
|
-
if (
|
|
3540
|
+
if (Bt(e))
|
|
3537
3541
|
return Fi(e);
|
|
3538
|
-
delete
|
|
3539
|
-
}),
|
|
3542
|
+
delete Tr[e];
|
|
3543
|
+
}), Tr[e];
|
|
3540
3544
|
}
|
|
3541
|
-
const
|
|
3545
|
+
const Os = {
|
|
3542
3546
|
number: {
|
|
3543
3547
|
scientific: { notation: "scientific" },
|
|
3544
3548
|
engineering: { notation: "engineering" },
|
|
@@ -3567,141 +3571,141 @@ const Ns = {
|
|
|
3567
3571
|
timeZoneName: "short"
|
|
3568
3572
|
}
|
|
3569
3573
|
}
|
|
3570
|
-
},
|
|
3574
|
+
}, Ls = {
|
|
3571
3575
|
fallbackLocale: null,
|
|
3572
3576
|
loadingDelay: 200,
|
|
3573
|
-
formats:
|
|
3577
|
+
formats: Os,
|
|
3574
3578
|
warnOnMissingMessages: !0,
|
|
3575
3579
|
handleMissingMessage: void 0,
|
|
3576
3580
|
ignoreTag: !0
|
|
3577
|
-
},
|
|
3578
|
-
function
|
|
3579
|
-
return
|
|
3581
|
+
}, Ms = Ls;
|
|
3582
|
+
function ur() {
|
|
3583
|
+
return Ms;
|
|
3580
3584
|
}
|
|
3581
|
-
const
|
|
3582
|
-
var
|
|
3585
|
+
const vt = ot(!1);
|
|
3586
|
+
var Rs = Object.defineProperty, Us = Object.defineProperties, ks = Object.getOwnPropertyDescriptors, ri = Object.getOwnPropertySymbols, Fs = Object.prototype.hasOwnProperty, Ds = Object.prototype.propertyIsEnumerable, ti = (e, r, t) => r in e ? Rs(e, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[r] = t, Gs = (e, r) => {
|
|
3583
3587
|
for (var t in r || (r = {}))
|
|
3584
|
-
|
|
3588
|
+
Fs.call(r, t) && ti(e, t, r[t]);
|
|
3585
3589
|
if (ri)
|
|
3586
3590
|
for (var t of ri(r))
|
|
3587
|
-
|
|
3591
|
+
Ds.call(r, t) && ti(e, t, r[t]);
|
|
3588
3592
|
return e;
|
|
3589
|
-
},
|
|
3590
|
-
let
|
|
3591
|
-
const
|
|
3593
|
+
}, js = (e, r) => Us(e, ks(r));
|
|
3594
|
+
let It;
|
|
3595
|
+
const nt = ot(null);
|
|
3592
3596
|
function ii(e) {
|
|
3593
3597
|
return e.split("-").map((r, t, i) => i.slice(0, t + 1).join("-")).reverse();
|
|
3594
3598
|
}
|
|
3595
|
-
function
|
|
3599
|
+
function ut(e, r = ur().fallbackLocale) {
|
|
3596
3600
|
const t = ii(e);
|
|
3597
3601
|
return r ? [.../* @__PURE__ */ new Set([...t, ...ii(r)])] : t;
|
|
3598
3602
|
}
|
|
3599
|
-
function
|
|
3600
|
-
return
|
|
3603
|
+
function Ge() {
|
|
3604
|
+
return It != null ? It : void 0;
|
|
3601
3605
|
}
|
|
3602
|
-
|
|
3603
|
-
|
|
3606
|
+
nt.subscribe((e) => {
|
|
3607
|
+
It = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3604
3608
|
});
|
|
3605
|
-
const
|
|
3606
|
-
if (e &&
|
|
3607
|
-
const { loadingDelay: r } =
|
|
3609
|
+
const Vs = (e) => {
|
|
3610
|
+
if (e && Hs(e) && Bt(e)) {
|
|
3611
|
+
const { loadingDelay: r } = ur();
|
|
3608
3612
|
let t;
|
|
3609
|
-
return typeof window != "undefined" &&
|
|
3610
|
-
() =>
|
|
3613
|
+
return typeof window != "undefined" && Ge() != null && r ? t = window.setTimeout(
|
|
3614
|
+
() => vt.set(!0),
|
|
3611
3615
|
r
|
|
3612
|
-
) :
|
|
3613
|
-
|
|
3616
|
+
) : vt.set(!0), Fi(e).then(() => {
|
|
3617
|
+
nt.set(e);
|
|
3614
3618
|
}).finally(() => {
|
|
3615
|
-
clearTimeout(t),
|
|
3619
|
+
clearTimeout(t), vt.set(!1);
|
|
3616
3620
|
});
|
|
3617
3621
|
}
|
|
3618
|
-
return
|
|
3619
|
-
},
|
|
3620
|
-
set:
|
|
3621
|
-
}),
|
|
3622
|
+
return nt.set(e);
|
|
3623
|
+
}, fr = js(Gs({}, nt), {
|
|
3624
|
+
set: Vs
|
|
3625
|
+
}), ct = (e) => {
|
|
3622
3626
|
const r = /* @__PURE__ */ Object.create(null);
|
|
3623
3627
|
return (i) => {
|
|
3624
3628
|
const n = JSON.stringify(i);
|
|
3625
3629
|
return n in r ? r[n] : r[n] = e(i);
|
|
3626
3630
|
};
|
|
3627
3631
|
};
|
|
3628
|
-
var
|
|
3632
|
+
var $s = Object.defineProperty, st = Object.getOwnPropertySymbols, Di = Object.prototype.hasOwnProperty, Gi = Object.prototype.propertyIsEnumerable, ni = (e, r, t) => r in e ? $s(e, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[r] = t, Lt = (e, r) => {
|
|
3629
3633
|
for (var t in r || (r = {}))
|
|
3630
3634
|
Di.call(r, t) && ni(e, t, r[t]);
|
|
3631
|
-
if (
|
|
3632
|
-
for (var t of
|
|
3635
|
+
if (st)
|
|
3636
|
+
for (var t of st(r))
|
|
3633
3637
|
Gi.call(r, t) && ni(e, t, r[t]);
|
|
3634
3638
|
return e;
|
|
3635
|
-
},
|
|
3639
|
+
}, dr = (e, r) => {
|
|
3636
3640
|
var t = {};
|
|
3637
3641
|
for (var i in e)
|
|
3638
3642
|
Di.call(e, i) && r.indexOf(i) < 0 && (t[i] = e[i]);
|
|
3639
|
-
if (e != null &&
|
|
3640
|
-
for (var i of
|
|
3643
|
+
if (e != null && st)
|
|
3644
|
+
for (var i of st(e))
|
|
3641
3645
|
r.indexOf(i) < 0 && Gi.call(e, i) && (t[i] = e[i]);
|
|
3642
3646
|
return t;
|
|
3643
3647
|
};
|
|
3644
|
-
const
|
|
3645
|
-
const { formats: t } =
|
|
3648
|
+
const Or = (e, r) => {
|
|
3649
|
+
const { formats: t } = ur();
|
|
3646
3650
|
if (e in t && r in t[e])
|
|
3647
3651
|
return t[e][r];
|
|
3648
3652
|
throw new Error(`[svelte-i18n] Unknown "${r}" ${e} format.`);
|
|
3649
|
-
},
|
|
3653
|
+
}, Qs = ct(
|
|
3650
3654
|
(e) => {
|
|
3651
|
-
var r = e, { locale: t, format: i } = r, n =
|
|
3655
|
+
var r = e, { locale: t, format: i } = r, n = dr(r, ["locale", "format"]);
|
|
3652
3656
|
if (t == null)
|
|
3653
3657
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3654
|
-
return i && (n =
|
|
3658
|
+
return i && (n = Or("number", i)), new Intl.NumberFormat(t, n);
|
|
3655
3659
|
}
|
|
3656
|
-
),
|
|
3660
|
+
), zs = ct(
|
|
3657
3661
|
(e) => {
|
|
3658
|
-
var r = e, { locale: t, format: i } = r, n =
|
|
3662
|
+
var r = e, { locale: t, format: i } = r, n = dr(r, ["locale", "format"]);
|
|
3659
3663
|
if (t == null)
|
|
3660
3664
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3661
|
-
return i ? n =
|
|
3665
|
+
return i ? n = Or("date", i) : Object.keys(n).length === 0 && (n = Or("date", "short")), new Intl.DateTimeFormat(t, n);
|
|
3662
3666
|
}
|
|
3663
|
-
),
|
|
3667
|
+
), Xs = ct(
|
|
3664
3668
|
(e) => {
|
|
3665
|
-
var r = e, { locale: t, format: i } = r, n =
|
|
3669
|
+
var r = e, { locale: t, format: i } = r, n = dr(r, ["locale", "format"]);
|
|
3666
3670
|
if (t == null)
|
|
3667
3671
|
throw new Error(
|
|
3668
3672
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
3669
3673
|
);
|
|
3670
|
-
return i ? n =
|
|
3674
|
+
return i ? n = Or("time", i) : Object.keys(n).length === 0 && (n = Or("time", "short")), new Intl.DateTimeFormat(t, n);
|
|
3671
3675
|
}
|
|
3672
|
-
),
|
|
3676
|
+
), Zs = (e = {}) => {
|
|
3673
3677
|
var r = e, {
|
|
3674
|
-
locale: t =
|
|
3675
|
-
} = r, i =
|
|
3676
|
-
"locale"
|
|
3677
|
-
]);
|
|
3678
|
-
return $s(Lt({ locale: t }, i));
|
|
3679
|
-
}, Zs = (e = {}) => {
|
|
3680
|
-
var r = e, {
|
|
3681
|
-
locale: t = De()
|
|
3682
|
-
} = r, i = fr(r, [
|
|
3678
|
+
locale: t = Ge()
|
|
3679
|
+
} = r, i = dr(r, [
|
|
3683
3680
|
"locale"
|
|
3684
3681
|
]);
|
|
3685
3682
|
return Qs(Lt({ locale: t }, i));
|
|
3686
3683
|
}, Ws = (e = {}) => {
|
|
3687
3684
|
var r = e, {
|
|
3688
|
-
locale: t =
|
|
3689
|
-
} = r, i =
|
|
3685
|
+
locale: t = Ge()
|
|
3686
|
+
} = r, i = dr(r, [
|
|
3690
3687
|
"locale"
|
|
3691
3688
|
]);
|
|
3692
3689
|
return zs(Lt({ locale: t }, i));
|
|
3693
|
-
}, qs =
|
|
3690
|
+
}, qs = (e = {}) => {
|
|
3691
|
+
var r = e, {
|
|
3692
|
+
locale: t = Ge()
|
|
3693
|
+
} = r, i = dr(r, [
|
|
3694
|
+
"locale"
|
|
3695
|
+
]);
|
|
3696
|
+
return Xs(Lt({ locale: t }, i));
|
|
3697
|
+
}, Js = ct(
|
|
3694
3698
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3695
|
-
(e, r =
|
|
3696
|
-
ignoreTag:
|
|
3699
|
+
(e, r = Ge()) => new Ps(e, r, ur().formats, {
|
|
3700
|
+
ignoreTag: ur().ignoreTag
|
|
3697
3701
|
})
|
|
3698
|
-
),
|
|
3702
|
+
), Ys = (e, r = {}) => {
|
|
3699
3703
|
var t, i, n, s;
|
|
3700
3704
|
let a = r;
|
|
3701
3705
|
typeof e == "object" && (a = e, e = a.id);
|
|
3702
3706
|
const {
|
|
3703
3707
|
values: l,
|
|
3704
|
-
locale: h =
|
|
3708
|
+
locale: h = Ge(),
|
|
3705
3709
|
default: c
|
|
3706
3710
|
} = a;
|
|
3707
3711
|
if (h == null)
|
|
@@ -3710,7 +3714,7 @@ const Nr = (e, r) => {
|
|
|
3710
3714
|
);
|
|
3711
3715
|
let f = Mi(e, h);
|
|
3712
3716
|
if (!f)
|
|
3713
|
-
f = (s = (n = (i = (t =
|
|
3717
|
+
f = (s = (n = (i = (t = ur()).handleMissingMessage) == null ? void 0 : i.call(t, { locale: h, id: e, defaultValue: c })) != null ? n : c) != null ? s : e;
|
|
3714
3718
|
else if (typeof f != "string")
|
|
3715
3719
|
return console.warn(
|
|
3716
3720
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof f}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
@@ -3719,7 +3723,7 @@ const Nr = (e, r) => {
|
|
|
3719
3723
|
return f;
|
|
3720
3724
|
let m = f;
|
|
3721
3725
|
try {
|
|
3722
|
-
m =
|
|
3726
|
+
m = Js(f, h).format(l);
|
|
3723
3727
|
} catch (g) {
|
|
3724
3728
|
g instanceof Error && console.warn(
|
|
3725
3729
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -3727,16 +3731,16 @@ const Nr = (e, r) => {
|
|
|
3727
3731
|
);
|
|
3728
3732
|
}
|
|
3729
3733
|
return m;
|
|
3730
|
-
},
|
|
3731
|
-
|
|
3732
|
-
|
|
3733
|
-
|
|
3734
|
-
|
|
3734
|
+
}, Ks = (e, r) => qs(r).format(e), eo = (e, r) => Ws(r).format(e), ro = (e, r) => Zs(r).format(e), to = (e, r = Ge()) => Mi(e, r), io = hr([fr, Lr], () => Ys);
|
|
3735
|
+
hr([fr], () => Ks);
|
|
3736
|
+
hr([fr], () => eo);
|
|
3737
|
+
hr([fr], () => ro);
|
|
3738
|
+
hr([fr, Lr], () => to);
|
|
3735
3739
|
function si(e, r) {
|
|
3736
3740
|
Ui(e, r);
|
|
3737
3741
|
}
|
|
3738
|
-
function
|
|
3739
|
-
|
|
3742
|
+
function no(e) {
|
|
3743
|
+
fr.set(e);
|
|
3740
3744
|
}
|
|
3741
3745
|
const oi = {
|
|
3742
3746
|
en: {
|
|
@@ -3993,13 +3997,13 @@ const oi = {
|
|
|
3993
3997
|
registerNext: "Next"
|
|
3994
3998
|
}
|
|
3995
3999
|
};
|
|
3996
|
-
function
|
|
4000
|
+
function so(e, r) {
|
|
3997
4001
|
if (e) {
|
|
3998
4002
|
const t = document.createElement("style");
|
|
3999
4003
|
t.innerHTML = r, e.appendChild(t);
|
|
4000
4004
|
}
|
|
4001
4005
|
}
|
|
4002
|
-
function
|
|
4006
|
+
function oo(e, r) {
|
|
4003
4007
|
const t = new URL(r);
|
|
4004
4008
|
fetch(t.href).then((i) => i.text()).then((i) => {
|
|
4005
4009
|
const n = document.createElement("style");
|
|
@@ -4008,7 +4012,7 @@ function so(e, r) {
|
|
|
4008
4012
|
console.error("There was an error while trying to load client styling from URL", i);
|
|
4009
4013
|
});
|
|
4010
4014
|
}
|
|
4011
|
-
function
|
|
4015
|
+
function ao(e, r, t) {
|
|
4012
4016
|
if (window.emMessageBus) {
|
|
4013
4017
|
const i = document.createElement("style");
|
|
4014
4018
|
window.emMessageBus.subscribe(r, (n) => {
|
|
@@ -4016,7 +4020,7 @@ function oo(e, r, t) {
|
|
|
4016
4020
|
});
|
|
4017
4021
|
}
|
|
4018
4022
|
}
|
|
4019
|
-
function
|
|
4023
|
+
function lo(e) {
|
|
4020
4024
|
Wi(e, "svelte-1ueqy7d", ".RegisterFormTitle{font-size:20px;text-transform:uppercase;font-weight:300;margin:0;padding-bottom:8px}.RegisterFormSubtitle{font-size:14px;margin:0;padding-bottom:20px}.FormLoginCallToAction{color:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));font-size:14px;font-weight:400;text-decoration:none;cursor:pointer}.EmailContainer,.UserContainer,.PasswordContainer,.ConfirmPasswordContainer,.PromoCodeContainer,.SecurityQuestionContainer,.SecurityAnswerContainer{color:var(--emw--registration-contrast, var(--emw--color-gray-300, #58586B));display:flex;flex-direction:column;padding-bottom:40px;position:relative}.EmailContainer label,.UserContainer label,.PasswordContainer label,.ConfirmPasswordContainer label,.PromoCodeContainer label,.SecurityQuestionContainer label,.SecurityAnswerContainer label{font-size:14px;font-weight:300;padding-bottom:5px}.EmailContainer input,.UserContainer input,.PasswordContainer input,.ConfirmPasswordContainer input,.PromoCodeContainer input,.SecurityQuestionContainer input,.SecurityAnswerContainer input{width:100%;height:44px;border:1px solid var(--emw--color-gray-100, #E6E6E6);border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:16px;line-height:18px}.EmailContainer.InvalidField input,.UserContainer.InvalidField input,.PasswordContainer.InvalidField input,.ConfirmPasswordContainer.InvalidField input,.PromoCodeContainer.InvalidField input,.SecurityQuestionContainer.InvalidField input,.SecurityAnswerContainer.InvalidField input{border:1px solid var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));background:var(--emw--color-pale, #FBECF4);color:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E))}.EmailContainer.Hidden,.UserContainer.Hidden,.PasswordContainer.Hidden,.ConfirmPasswordContainer.Hidden,.PromoCodeContainer.Hidden,.SecurityQuestionContainer.Hidden,.SecurityAnswerContainer.Hidden{display:none}.PasswordContainer,.ConfirmPasswordContainer{position:relative}.PasswordContainer input,.ConfirmPasswordContainer input{padding:5px 30px 5px 15px}.FormRequired{color:var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839))}.TogglePasswordVisibility,.ToggleConfirmPasswordVisibility{height:13px;position:absolute;right:8px;bottom:55px}.TogglePasswordVisibility.InvalidToggle path,.TogglePasswordVisibility.InvalidToggle circle,.TogglePasswordVisibility.InvalidToggle rect,.ToggleConfirmPasswordVisibility.InvalidToggle path,.ToggleConfirmPasswordVisibility.InvalidToggle circle,.ToggleConfirmPasswordVisibility.InvalidToggle rect{fill:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E))}.TogglePasswordVisibility path,.TogglePasswordVisibility circle,.TogglePasswordVisibility rect,.ToggleConfirmPasswordVisibility path,.ToggleConfirmPasswordVisibility circle,.ToggleConfirmPasswordVisibility rect{fill:var(--emw--registration-contrast, var(--emw--color-gray-300, #58586B))}.InvalidInput{color:var(--emw--color-error, var(--emw--color-red, #ed0909));font-size:10px;position:absolute;padding-top:5px;top:55px;line-height:10px}.ErrorMessage{margin:0 0 15px 0;font-size:12px;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.RegisterStepNext{color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));background:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));border-radius:5px;width:100%;height:60px;padding:0;text-transform:uppercase;font-size:18px;cursor:pointer;margin-top:24px}.RegisterStepNext[disabled]{background:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-150, #828282);cursor:not-allowed}input::-ms-reveal,input::-ms-clear{display:none}");
|
|
4021
4025
|
}
|
|
4022
4026
|
function ai(e) {
|
|
@@ -4026,7 +4030,7 @@ function ai(e) {
|
|
|
4026
4030
|
), i;
|
|
4027
4031
|
return {
|
|
4028
4032
|
c() {
|
|
4029
|
-
r = v("p"), i =
|
|
4033
|
+
r = v("p"), i = T(t), o(r, "class", "InvalidInput");
|
|
4030
4034
|
},
|
|
4031
4035
|
m(n, s) {
|
|
4032
4036
|
ue(n, r, s), u(r, i);
|
|
@@ -4048,7 +4052,7 @@ function li(e) {
|
|
|
4048
4052
|
), i;
|
|
4049
4053
|
return {
|
|
4050
4054
|
c() {
|
|
4051
|
-
r = v("p"), i =
|
|
4055
|
+
r = v("p"), i = T(t), o(r, "class", "InvalidInput");
|
|
4052
4056
|
},
|
|
4053
4057
|
m(n, s) {
|
|
4054
4058
|
ue(n, r, s), u(r, i);
|
|
@@ -4063,11 +4067,11 @@ function li(e) {
|
|
|
4063
4067
|
}
|
|
4064
4068
|
};
|
|
4065
4069
|
}
|
|
4066
|
-
function
|
|
4070
|
+
function uo(e) {
|
|
4067
4071
|
let r, t, i, n, s, a, l, h, c;
|
|
4068
4072
|
return {
|
|
4069
4073
|
c() {
|
|
4070
|
-
r =
|
|
4074
|
+
r = w("svg"), t = w("defs"), i = w("style"), n = T(".a{fill:var(--emw--registration-typography, var(--emw--color-background, #07072A));}"), s = w("g"), a = w("path"), l = w("circle"), o(a, "class", "a"), o(a, "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(a, "transform", "translate(0)"), o(l, "class", "a"), o(l, "cx", "2.779"), o(l, "cy", "2.779"), o(l, "r", "2.779"), o(l, "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");
|
|
4071
4075
|
},
|
|
4072
4076
|
m(f, m) {
|
|
4073
4077
|
ue(f, r, m), u(r, t), u(t, i), u(i, n), u(r, s), u(s, a), u(s, l), h || (c = x(
|
|
@@ -4083,23 +4087,23 @@ function lo(e) {
|
|
|
4083
4087
|
}
|
|
4084
4088
|
};
|
|
4085
4089
|
}
|
|
4086
|
-
function
|
|
4087
|
-
let r, t, i, n, s, a, l, h, c, f, m, g, b,
|
|
4090
|
+
function co(e) {
|
|
4091
|
+
let r, t, i, n, s, a, l, h, c, f, m, g, b, _, E;
|
|
4088
4092
|
return {
|
|
4089
4093
|
c() {
|
|
4090
|
-
r =
|
|
4094
|
+
r = w("svg"), t = w("defs"), i = w("style"), n = T(".a{fill:var(--emw--registration-typography, var(--emw--color-background, #07072A));}"), s = w("g"), a = w("circle"), l = w("g"), h = w("path"), c = w("path"), f = w("g"), m = w("path"), g = w("path"), b = w("rect"), o(a, "class", "a"), o(a, "cx", "0.05"), o(a, "cy", "0.05"), o(a, "r", "0.05"), o(a, "transform", "translate(121.017 31.148)"), o(h, "class", "a"), o(h, "d", "M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"), o(h, "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(l, "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(f, "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");
|
|
4091
4095
|
},
|
|
4092
|
-
m(A,
|
|
4093
|
-
ue(A, r,
|
|
4096
|
+
m(A, N) {
|
|
4097
|
+
ue(A, r, N), u(r, t), u(t, i), u(i, n), u(r, s), u(s, a), u(s, l), u(l, h), u(l, c), u(s, f), u(f, m), u(f, g), u(s, b), _ || (E = x(
|
|
4094
4098
|
r,
|
|
4095
4099
|
"click",
|
|
4096
4100
|
/*click_handler_1*/
|
|
4097
4101
|
e[61]
|
|
4098
|
-
),
|
|
4102
|
+
), _ = !0);
|
|
4099
4103
|
},
|
|
4100
4104
|
p: z,
|
|
4101
4105
|
d(A) {
|
|
4102
|
-
A && ie(r),
|
|
4106
|
+
A && ie(r), _ = !1, E();
|
|
4103
4107
|
}
|
|
4104
4108
|
};
|
|
4105
4109
|
}
|
|
@@ -4110,7 +4114,7 @@ function ui(e) {
|
|
|
4110
4114
|
), i;
|
|
4111
4115
|
return {
|
|
4112
4116
|
c() {
|
|
4113
|
-
r = v("p"), i =
|
|
4117
|
+
r = v("p"), i = T(t), o(r, "class", "InvalidInput");
|
|
4114
4118
|
},
|
|
4115
4119
|
m(n, s) {
|
|
4116
4120
|
ue(n, r, s), u(r, i);
|
|
@@ -4132,7 +4136,7 @@ function ci(e) {
|
|
|
4132
4136
|
), i;
|
|
4133
4137
|
return {
|
|
4134
4138
|
c() {
|
|
4135
|
-
r = v("p"), i =
|
|
4139
|
+
r = v("p"), i = T(t), o(r, "class", "InvalidInput");
|
|
4136
4140
|
},
|
|
4137
4141
|
m(n, s) {
|
|
4138
4142
|
ue(n, r, s), u(r, i);
|
|
@@ -4147,11 +4151,11 @@ function ci(e) {
|
|
|
4147
4151
|
}
|
|
4148
4152
|
};
|
|
4149
4153
|
}
|
|
4150
|
-
function
|
|
4154
|
+
function ho(e) {
|
|
4151
4155
|
let r, t, i, n, s, a, l, h, c;
|
|
4152
4156
|
return {
|
|
4153
4157
|
c() {
|
|
4154
|
-
r =
|
|
4158
|
+
r = w("svg"), t = w("defs"), i = w("style"), n = T(".a{fill:var(--emw--registration-typography, var(--emw--color-background, #07072A));}"), s = w("g"), a = w("path"), l = w("circle"), o(a, "class", "a"), o(a, "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(a, "transform", "translate(0)"), o(l, "class", "a"), o(l, "cx", "2.779"), o(l, "cy", "2.779"), o(l, "r", "2.779"), o(l, "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");
|
|
4155
4159
|
},
|
|
4156
4160
|
m(f, m) {
|
|
4157
4161
|
ue(f, r, m), u(r, t), u(t, i), u(i, n), u(r, s), u(s, a), u(s, l), h || (c = x(
|
|
@@ -4167,23 +4171,23 @@ function co(e) {
|
|
|
4167
4171
|
}
|
|
4168
4172
|
};
|
|
4169
4173
|
}
|
|
4170
|
-
function
|
|
4171
|
-
let r, t, i, n, s, a, l, h, c, f, m, g, b,
|
|
4174
|
+
function fo(e) {
|
|
4175
|
+
let r, t, i, n, s, a, l, h, c, f, m, g, b, _, E;
|
|
4172
4176
|
return {
|
|
4173
4177
|
c() {
|
|
4174
|
-
r =
|
|
4178
|
+
r = w("svg"), t = w("defs"), i = w("style"), n = T(".a{fill:var(--emw--registration-typography, var(--emw--color-background, #07072A));}"), s = w("g"), a = w("circle"), l = w("g"), h = w("path"), c = w("path"), f = w("g"), m = w("path"), g = w("path"), b = w("rect"), o(a, "class", "a"), o(a, "cx", "0.05"), o(a, "cy", "0.05"), o(a, "r", "0.05"), o(a, "transform", "translate(121.017 31.148)"), o(h, "class", "a"), o(h, "d", "M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"), o(h, "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(l, "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(f, "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");
|
|
4175
4179
|
},
|
|
4176
|
-
m(A,
|
|
4177
|
-
ue(A, r,
|
|
4180
|
+
m(A, N) {
|
|
4181
|
+
ue(A, r, N), u(r, t), u(t, i), u(i, n), u(r, s), u(s, a), u(s, l), u(l, h), u(l, c), u(s, f), u(f, m), u(f, g), u(s, b), _ || (E = x(
|
|
4178
4182
|
r,
|
|
4179
4183
|
"click",
|
|
4180
4184
|
/*click_handler_3*/
|
|
4181
4185
|
e[67]
|
|
4182
|
-
),
|
|
4186
|
+
), _ = !0);
|
|
4183
4187
|
},
|
|
4184
4188
|
p: z,
|
|
4185
4189
|
d(A) {
|
|
4186
|
-
A && ie(r),
|
|
4190
|
+
A && ie(r), _ = !1, E();
|
|
4187
4191
|
}
|
|
4188
4192
|
};
|
|
4189
4193
|
}
|
|
@@ -4194,7 +4198,7 @@ function hi(e) {
|
|
|
4194
4198
|
), i;
|
|
4195
4199
|
return {
|
|
4196
4200
|
c() {
|
|
4197
|
-
r = v("p"), i =
|
|
4201
|
+
r = v("p"), i = T(t), o(r, "class", "InvalidInput");
|
|
4198
4202
|
},
|
|
4199
4203
|
m(n, s) {
|
|
4200
4204
|
ue(n, r, s), u(r, i);
|
|
@@ -4222,7 +4226,7 @@ function fi(e) {
|
|
|
4222
4226
|
), i;
|
|
4223
4227
|
return {
|
|
4224
4228
|
c() {
|
|
4225
|
-
r = v("p"), i =
|
|
4229
|
+
r = v("p"), i = T(t), o(r, "class", "InvalidInput");
|
|
4226
4230
|
},
|
|
4227
4231
|
m(n, s) {
|
|
4228
4232
|
ue(n, r, s), u(r, i);
|
|
@@ -4256,7 +4260,7 @@ function di(e) {
|
|
|
4256
4260
|
), i;
|
|
4257
4261
|
return {
|
|
4258
4262
|
c() {
|
|
4259
|
-
r = v("p"), i =
|
|
4263
|
+
r = v("p"), i = T(t), o(r, "class", "InvalidInput");
|
|
4260
4264
|
},
|
|
4261
4265
|
m(n, s) {
|
|
4262
4266
|
ue(n, r, s), u(r, i);
|
|
@@ -4277,7 +4281,7 @@ function di(e) {
|
|
|
4277
4281
|
}
|
|
4278
4282
|
};
|
|
4279
4283
|
}
|
|
4280
|
-
function
|
|
4284
|
+
function mo(e) {
|
|
4281
4285
|
let r, t, i, n = (
|
|
4282
4286
|
/*$_*/
|
|
4283
4287
|
e[30]("registerTitle") + ""
|
|
@@ -4287,22 +4291,22 @@ function fo(e) {
|
|
|
4287
4291
|
), c, f, m, g = (
|
|
4288
4292
|
/*$_*/
|
|
4289
4293
|
e[30]("registerSubtitleLogin") + ""
|
|
4290
|
-
), b,
|
|
4294
|
+
), b, _, E, A, N, M = (
|
|
4291
4295
|
/*$_*/
|
|
4292
4296
|
e[30]("registerEmail") + ""
|
|
4293
|
-
), R, ce, G, ge, U,
|
|
4297
|
+
), R, ce, G, ge, U, je, Te, Ve, k, X, he = (
|
|
4294
4298
|
/*$_*/
|
|
4295
4299
|
e[30]("registerUsername") + ""
|
|
4296
|
-
), pe, ne, V,
|
|
4300
|
+
), pe, ne, V, He, F, Ce, Be, Ee, be, C, ve, Z = (
|
|
4297
4301
|
/*$_*/
|
|
4298
4302
|
e[30]("registerPassword") + ""
|
|
4299
|
-
),
|
|
4303
|
+
), _e, Mr, Me, Rr, H, Re, mr, gr, $e, Ue, ke, pr, j, Ae, Qe = (
|
|
4300
4304
|
/*$_*/
|
|
4301
4305
|
e[30]("registerConfirmPassword") + ""
|
|
4302
|
-
),
|
|
4306
|
+
), ze, Ur, Ie, br, $, yr, Xe, Fe, kr, we, De, Ze = (
|
|
4303
4307
|
/*$_*/
|
|
4304
4308
|
e[30]("registerPromoCode") + ""
|
|
4305
|
-
),
|
|
4309
|
+
), Er, Fr, Dr, se, Gr, We, jr, fe, Ne, qe = (
|
|
4306
4310
|
/*custominputtextswitch*/
|
|
4307
4311
|
(e[2] == "true" ? (
|
|
4308
4312
|
/*$_*/
|
|
@@ -4311,7 +4315,7 @@ function fo(e) {
|
|
|
4311
4315
|
/*$_*/
|
|
4312
4316
|
e[30]("registerSecurityQuestion")
|
|
4313
4317
|
)) + ""
|
|
4314
|
-
),
|
|
4318
|
+
), vr, Vr, Je, $r, oe, Qr, Ye, zr, de, Oe, Ke = (
|
|
4315
4319
|
/*custominputtextswitch*/
|
|
4316
4320
|
(e[2] == "true" ? (
|
|
4317
4321
|
/*$_*/
|
|
@@ -4320,10 +4324,10 @@ function fo(e) {
|
|
|
4320
4324
|
/*$_*/
|
|
4321
4325
|
e[30]("registerSecurityAnswer")
|
|
4322
4326
|
)) + ""
|
|
4323
|
-
),
|
|
4327
|
+
), _r, Xr, er, Zr, ae, Wr, rr, p, I, le = (
|
|
4324
4328
|
/*$_*/
|
|
4325
4329
|
e[30]("registerNext") + ""
|
|
4326
|
-
),
|
|
4330
|
+
), ht, qr, ft, Mt, W = (
|
|
4327
4331
|
/*invalidEmail*/
|
|
4328
4332
|
e[4] && ai(e)
|
|
4329
4333
|
), q = (
|
|
@@ -4333,10 +4337,10 @@ function fo(e) {
|
|
|
4333
4337
|
function Rt(d, y) {
|
|
4334
4338
|
return (
|
|
4335
4339
|
/*isPasswordVisible*/
|
|
4336
|
-
d[25] ?
|
|
4340
|
+
d[25] ? co : uo
|
|
4337
4341
|
);
|
|
4338
4342
|
}
|
|
4339
|
-
let
|
|
4343
|
+
let Jr = Rt(e), Se = Jr(e), J = (
|
|
4340
4344
|
/*invalidPassword*/
|
|
4341
4345
|
e[6] && /*simplepasswordvalidation*/
|
|
4342
4346
|
e[0] !== "true" && ui(e)
|
|
@@ -4348,10 +4352,10 @@ function fo(e) {
|
|
|
4348
4352
|
function Ut(d, y) {
|
|
4349
4353
|
return (
|
|
4350
4354
|
/*isConfirmPasswordVisible*/
|
|
4351
|
-
d[26] ?
|
|
4355
|
+
d[26] ? fo : ho
|
|
4352
4356
|
);
|
|
4353
4357
|
}
|
|
4354
|
-
let
|
|
4358
|
+
let Yr = Ut(e), Pe = Yr(e), K = (
|
|
4355
4359
|
/*invalidConfirmPassword*/
|
|
4356
4360
|
e[7] && hi(e)
|
|
4357
4361
|
), ee = (
|
|
@@ -4363,62 +4367,62 @@ function fo(e) {
|
|
|
4363
4367
|
);
|
|
4364
4368
|
return {
|
|
4365
4369
|
c() {
|
|
4366
|
-
var d, y, wr,
|
|
4367
|
-
r = v("div"), t = v("div"), i = v("h2"), s =
|
|
4370
|
+
var d, y, wr, Sr, Pr, xr, Cr, Ar;
|
|
4371
|
+
r = v("div"), t = v("div"), i = v("h2"), s = T(n), a = B(), l = v("p"), c = T(h), f = B(), m = v("span"), b = T(g), _ = B(), E = v("form"), A = v("div"), N = v("label"), R = T(M), ce = T(":"), G = v("span"), G.textContent = "*", ge = B(), U = v("input"), je = B(), W && W.c(), Ve = B(), k = v("div"), X = v("label"), pe = T(he), ne = T(":"), V = v("span"), V.textContent = "*", He = B(), F = v("input"), Be = B(), q && q.c(), be = B(), C = v("div"), ve = v("label"), _e = T(Z), Mr = T(":"), Me = v("span"), Me.textContent = "*", Rr = B(), H = v("input"), mr = B(), Se.c(), gr = B(), J && J.c(), $e = B(), Y && Y.c(), pr = B(), j = v("div"), Ae = v("label"), ze = T(Qe), Ur = T(":"), Ie = v("span"), Ie.textContent = "*", br = B(), $ = v("input"), yr = B(), Pe.c(), Xe = B(), K && K.c(), kr = B(), we = v("div"), De = v("label"), Er = T(Ze), Fr = T(":"), Dr = B(), se = v("input"), Gr = B(), jr = B(), fe = v("div"), Ne = v("label"), vr = T(qe), Vr = T(":"), Je = v("span"), Je.textContent = "*", $r = B(), oe = v("input"), Qr = B(), ee && ee.c(), zr = B(), de = v("div"), Oe = v("label"), _r = T(Ke), Xr = T(":"), er = v("span"), er.textContent = "*", Zr = B(), ae = v("input"), Wr = B(), re && re.c(), p = B(), I = v("button"), ht = T(le), o(i, "class", "RegisterFormTitle"), o(m, "class", "FormLoginCallToAction"), o(l, "class", "RegisterFormSubtitle"), o(t, "class", "RegisterFormHeader"), o(G, "class", "FormRequired"), o(N, "for", "Email"), o(U, "type", "text"), o(U, "id", "Email"), o(A, "class", Te = "EmailContainer " + /*invalidEmail*/
|
|
4368
4372
|
(e[4] && !/*emailFocus*/
|
|
4369
4373
|
e[10] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4370
|
-
(((d = e[17]) == null ? void 0 : d.indexOf("email")) >= 0 ? "Hidden" : "")), o(V, "class", "FormRequired"), o(X, "for", "UserName"), o(F, "type", "text"), o(F, "id", "UserName"), o(F, "autocomplete",
|
|
4374
|
+
(((d = e[17]) == null ? void 0 : d.indexOf("email")) >= 0 ? "Hidden" : "")), o(V, "class", "FormRequired"), o(X, "for", "UserName"), o(F, "type", "text"), o(F, "id", "UserName"), o(F, "autocomplete", Ce = /*savecredentials*/
|
|
4371
4375
|
e[1] ? "username" : "off"), o(k, "class", Ee = "UserContainer " + /*invalidName*/
|
|
4372
4376
|
(e[5] && !/*usernameFocus*/
|
|
4373
4377
|
e[11] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4374
|
-
(((y = e[17]) == null ? void 0 : y.indexOf("username")) >= 0 ? "Hidden" : "")), o(
|
|
4375
|
-
e[1] ? "new-password" : "off"), o(
|
|
4378
|
+
(((y = e[17]) == null ? void 0 : y.indexOf("username")) >= 0 ? "Hidden" : "")), o(Me, "class", "FormRequired"), o(ve, "for", "Password"), o(H, "name", "new-password"), o(H, "type", "password"), o(H, "id", "new-password"), o(H, "autocomplete", Re = /*savecredentials*/
|
|
4379
|
+
e[1] ? "new-password" : "off"), o(H, "aria-describedby", "password-constraints"), o(C, "class", Ue = "PasswordContainer " + /*invalidPassword*/
|
|
4376
4380
|
(e[6] && !/*passwordFocus*/
|
|
4377
4381
|
e[12] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4378
|
-
(((wr = e[17]) == null ? void 0 : wr.indexOf("password")) >= 0 ? "Hidden" : "")), C.hidden =
|
|
4379
|
-
((
|
|
4382
|
+
(((wr = e[17]) == null ? void 0 : wr.indexOf("password")) >= 0 ? "Hidden" : "")), C.hidden = ke = /*disabledFieldsList*/
|
|
4383
|
+
((Sr = e[17]) == null ? void 0 : Sr.indexOf("password")) >= 0, o(Ie, "class", "FormRequired"), o(Ae, "for", "ConfirmPassword"), o($, "type", "password"), o($, "id", "ConfirmPassword"), o(j, "class", Fe = "ConfirmPasswordContainer " + /*invalidConfirmPassword*/
|
|
4380
4384
|
(e[7] && !/*confirmPasswordFocus*/
|
|
4381
4385
|
e[13] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4382
|
-
(((
|
|
4383
|
-
(((
|
|
4386
|
+
(((Pr = e[17]) == null ? void 0 : Pr.indexOf("confirmPassword")) >= 0 ? "Hidden" : "")), o(De, "for", "PromoCode"), o(se, "type", "text"), o(se, "id", "PromoCode"), o(we, "class", We = "PromoCodeContainer " + /*disabledFieldsList*/
|
|
4387
|
+
(((xr = e[17]) == null ? void 0 : xr.indexOf("promoCode")) >= 0 ? "Hidden" : "")), o(Je, "class", "FormRequired"), o(Ne, "for", "SecurityQuestion"), o(oe, "type", "text"), o(oe, "id", "SecurityQuestion"), o(fe, "class", Ye = "SecurityQuestionContainer " + /*invalidSecurityQuestion*/
|
|
4384
4388
|
(e[8] && !/*securityQFocus*/
|
|
4385
4389
|
e[14] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4386
|
-
(((
|
|
4390
|
+
(((Cr = e[17]) == null ? void 0 : Cr.indexOf("securityQuestion")) >= 0 ? "Hidden" : "")), o(er, "class", "FormRequired"), o(Oe, "for", "SecurityAnswer"), o(ae, "type", "text"), o(ae, "id", "SecurityAnswer"), o(de, "class", rr = "SecurityAnswerContainer " + /*invalidSecurityAnswer*/
|
|
4387
4391
|
(e[9] && !/*securityAFocus*/
|
|
4388
4392
|
e[15] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4389
|
-
(((
|
|
4393
|
+
(((Ar = e[17]) == null ? void 0 : Ar.indexOf("securityAnswer")) >= 0 ? "Hidden" : "")), o(I, "class", "RegisterStepNext"), I.disabled = qr = !/*isValid*/
|
|
4390
4394
|
e[29], o(E, "class", "RegisterFormContent");
|
|
4391
4395
|
},
|
|
4392
4396
|
m(d, y) {
|
|
4393
|
-
ue(d, r, y), u(r, t), u(t, i), u(i, s), u(t, a), u(t, l), u(l, c), u(l, f), u(l, m), u(m, b), u(r,
|
|
4397
|
+
ue(d, r, y), u(r, t), u(t, i), u(i, s), u(t, a), u(t, l), u(l, c), u(l, f), u(l, m), u(m, b), u(r, _), u(r, E), u(E, A), u(A, N), u(N, R), u(N, ce), u(N, G), u(A, ge), u(A, U), te(
|
|
4394
4398
|
U,
|
|
4395
4399
|
/*userEmail*/
|
|
4396
4400
|
e[19]
|
|
4397
|
-
), u(A,
|
|
4401
|
+
), u(A, je), W && W.m(A, null), u(E, Ve), u(E, k), u(k, X), u(X, pe), u(X, ne), u(X, V), u(k, He), u(k, F), te(
|
|
4398
4402
|
F,
|
|
4399
4403
|
/*userValue*/
|
|
4400
4404
|
e[18]
|
|
4401
|
-
), u(k,
|
|
4402
|
-
|
|
4405
|
+
), u(k, Be), q && q.m(k, null), u(E, be), u(E, C), u(C, ve), u(ve, _e), u(ve, Mr), u(ve, Me), u(C, Rr), u(C, H), te(
|
|
4406
|
+
H,
|
|
4403
4407
|
/*userPassword*/
|
|
4404
4408
|
e[20]
|
|
4405
|
-
), e[60](
|
|
4409
|
+
), e[60](H), u(C, mr), Se.m(C, null), u(C, gr), J && J.m(C, null), u(C, $e), Y && Y.m(C, null), u(E, pr), u(E, j), u(j, Ae), u(Ae, ze), u(Ae, Ur), u(Ae, Ie), u(j, br), u(j, $), te(
|
|
4406
4410
|
$,
|
|
4407
4411
|
/*confirmUserPassword*/
|
|
4408
4412
|
e[21]
|
|
4409
|
-
), e[66]($), u(j,
|
|
4413
|
+
), e[66]($), u(j, yr), Pe.m(j, null), u(j, Xe), K && K.m(j, null), u(E, kr), u(E, we), u(we, De), u(De, Er), u(De, Fr), u(we, Dr), u(we, se), te(
|
|
4410
4414
|
se,
|
|
4411
4415
|
/*promoCode*/
|
|
4412
4416
|
e[24]
|
|
4413
|
-
), u(
|
|
4417
|
+
), u(we, Gr), u(E, jr), u(E, fe), u(fe, Ne), u(Ne, vr), u(Ne, Vr), u(Ne, Je), u(fe, $r), u(fe, oe), te(
|
|
4414
4418
|
oe,
|
|
4415
4419
|
/*securityQuestion*/
|
|
4416
4420
|
e[22]
|
|
4417
|
-
), u(fe,
|
|
4421
|
+
), u(fe, Qr), ee && ee.m(fe, null), u(E, zr), u(E, de), u(de, Oe), u(Oe, _r), u(Oe, Xr), u(Oe, er), u(de, Zr), u(de, ae), te(
|
|
4418
4422
|
ae,
|
|
4419
4423
|
/*securityAnswer*/
|
|
4420
4424
|
e[23]
|
|
4421
|
-
), u(de,
|
|
4425
|
+
), u(de, Wr), re && re.m(de, null), u(E, p), u(E, I), u(I, ht), e[79](r), ft || (Mt = [
|
|
4422
4426
|
x(
|
|
4423
4427
|
m,
|
|
4424
4428
|
"click",
|
|
@@ -4474,25 +4478,25 @@ function fo(e) {
|
|
|
4474
4478
|
e[56]
|
|
4475
4479
|
),
|
|
4476
4480
|
x(
|
|
4477
|
-
|
|
4481
|
+
H,
|
|
4478
4482
|
"input",
|
|
4479
4483
|
/*input2_input_handler*/
|
|
4480
4484
|
e[57]
|
|
4481
4485
|
),
|
|
4482
4486
|
x(
|
|
4483
|
-
|
|
4487
|
+
H,
|
|
4484
4488
|
"keyup",
|
|
4485
4489
|
/*validatePassword*/
|
|
4486
4490
|
e[38]
|
|
4487
4491
|
),
|
|
4488
4492
|
x(
|
|
4489
|
-
|
|
4493
|
+
H,
|
|
4490
4494
|
"focus",
|
|
4491
4495
|
/*focus_handler_2*/
|
|
4492
4496
|
e[58]
|
|
4493
4497
|
),
|
|
4494
4498
|
x(
|
|
4495
|
-
|
|
4499
|
+
H,
|
|
4496
4500
|
"blur",
|
|
4497
4501
|
/*blur_handler_2*/
|
|
4498
4502
|
e[59]
|
|
@@ -4594,15 +4598,15 @@ function fo(e) {
|
|
|
4594
4598
|
e[77]
|
|
4595
4599
|
),
|
|
4596
4600
|
x(
|
|
4597
|
-
|
|
4601
|
+
I,
|
|
4598
4602
|
"click",
|
|
4599
4603
|
/*click_handler_5*/
|
|
4600
4604
|
e[78]
|
|
4601
4605
|
)
|
|
4602
|
-
],
|
|
4606
|
+
], ft = !0);
|
|
4603
4607
|
},
|
|
4604
4608
|
p(d, y) {
|
|
4605
|
-
var wr,
|
|
4609
|
+
var wr, Sr, Pr, xr, Cr, Ar, kt, Ft;
|
|
4606
4610
|
y[0] & /*$_*/
|
|
4607
4611
|
1073741824 && n !== (n = /*$_*/
|
|
4608
4612
|
d[30]("registerTitle") + "") && D(s, n), y[0] & /*$_*/
|
|
@@ -4619,14 +4623,14 @@ function fo(e) {
|
|
|
4619
4623
|
d[19]
|
|
4620
4624
|
), /*invalidEmail*/
|
|
4621
4625
|
d[4] ? W ? W.p(d, y) : (W = ai(d), W.c(), W.m(A, null)) : W && (W.d(1), W = null), y[0] & /*invalidEmail, emailFocus, disabledFieldsList*/
|
|
4622
|
-
132112 &&
|
|
4626
|
+
132112 && Te !== (Te = "EmailContainer " + /*invalidEmail*/
|
|
4623
4627
|
(d[4] && !/*emailFocus*/
|
|
4624
4628
|
d[10] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4625
|
-
(((wr = d[17]) == null ? void 0 : wr.indexOf("email")) >= 0 ? "Hidden" : "")) && o(A, "class",
|
|
4629
|
+
(((wr = d[17]) == null ? void 0 : wr.indexOf("email")) >= 0 ? "Hidden" : "")) && o(A, "class", Te), y[0] & /*$_*/
|
|
4626
4630
|
1073741824 && he !== (he = /*$_*/
|
|
4627
4631
|
d[30]("registerUsername") + "") && D(pe, he), y[0] & /*savecredentials*/
|
|
4628
|
-
2 &&
|
|
4629
|
-
d[1] ? "username" : "off") && o(F, "autocomplete",
|
|
4632
|
+
2 && Ce !== (Ce = /*savecredentials*/
|
|
4633
|
+
d[1] ? "username" : "off") && o(F, "autocomplete", Ce), y[0] & /*userValue*/
|
|
4630
4634
|
262144 && F.value !== /*userValue*/
|
|
4631
4635
|
d[18] && te(
|
|
4632
4636
|
F,
|
|
@@ -4637,58 +4641,58 @@ function fo(e) {
|
|
|
4637
4641
|
133152 && Ee !== (Ee = "UserContainer " + /*invalidName*/
|
|
4638
4642
|
(d[5] && !/*usernameFocus*/
|
|
4639
4643
|
d[11] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4640
|
-
(((
|
|
4644
|
+
(((Sr = d[17]) == null ? void 0 : Sr.indexOf("username")) >= 0 ? "Hidden" : "")) && o(k, "class", Ee), y[0] & /*$_*/
|
|
4641
4645
|
1073741824 && Z !== (Z = /*$_*/
|
|
4642
|
-
d[30]("registerPassword") + "") && D(
|
|
4643
|
-
2 &&
|
|
4644
|
-
d[1] ? "new-password" : "off") && o(
|
|
4645
|
-
1048576 &&
|
|
4646
|
+
d[30]("registerPassword") + "") && D(_e, Z), y[0] & /*savecredentials*/
|
|
4647
|
+
2 && Re !== (Re = /*savecredentials*/
|
|
4648
|
+
d[1] ? "new-password" : "off") && o(H, "autocomplete", Re), y[0] & /*userPassword*/
|
|
4649
|
+
1048576 && H.value !== /*userPassword*/
|
|
4646
4650
|
d[20] && te(
|
|
4647
|
-
|
|
4651
|
+
H,
|
|
4648
4652
|
/*userPassword*/
|
|
4649
4653
|
d[20]
|
|
4650
|
-
),
|
|
4654
|
+
), Jr === (Jr = Rt(d)) && Se ? Se.p(d, y) : (Se.d(1), Se = Jr(d), Se && (Se.c(), Se.m(C, gr))), /*invalidPassword*/
|
|
4651
4655
|
d[6] && /*simplepasswordvalidation*/
|
|
4652
|
-
d[0] !== "true" ? J ? J.p(d, y) : (J = ui(d), J.c(), J.m(C,
|
|
4656
|
+
d[0] !== "true" ? J ? J.p(d, y) : (J = ui(d), J.c(), J.m(C, $e)) : J && (J.d(1), J = null), /*invalidPassword*/
|
|
4653
4657
|
d[6] && /*simplepasswordvalidation*/
|
|
4654
4658
|
d[0] === "true" ? Y ? Y.p(d, y) : (Y = ci(d), Y.c(), Y.m(C, null)) : Y && (Y.d(1), Y = null), y[0] & /*invalidPassword, passwordFocus, disabledFieldsList*/
|
|
4655
|
-
135232 &&
|
|
4659
|
+
135232 && Ue !== (Ue = "PasswordContainer " + /*invalidPassword*/
|
|
4656
4660
|
(d[6] && !/*passwordFocus*/
|
|
4657
4661
|
d[12] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4658
|
-
(((
|
|
4659
|
-
131072 &&
|
|
4660
|
-
((
|
|
4661
|
-
1073741824 &&
|
|
4662
|
-
d[30]("registerConfirmPassword") + "") && D(
|
|
4662
|
+
(((Pr = d[17]) == null ? void 0 : Pr.indexOf("password")) >= 0 ? "Hidden" : "")) && o(C, "class", Ue), y[0] & /*disabledFieldsList*/
|
|
4663
|
+
131072 && ke !== (ke = /*disabledFieldsList*/
|
|
4664
|
+
((xr = d[17]) == null ? void 0 : xr.indexOf("password")) >= 0) && (C.hidden = ke), y[0] & /*$_*/
|
|
4665
|
+
1073741824 && Qe !== (Qe = /*$_*/
|
|
4666
|
+
d[30]("registerConfirmPassword") + "") && D(ze, Qe), y[0] & /*confirmUserPassword*/
|
|
4663
4667
|
2097152 && $.value !== /*confirmUserPassword*/
|
|
4664
4668
|
d[21] && te(
|
|
4665
4669
|
$,
|
|
4666
4670
|
/*confirmUserPassword*/
|
|
4667
4671
|
d[21]
|
|
4668
|
-
),
|
|
4672
|
+
), Yr === (Yr = Ut(d)) && Pe ? Pe.p(d, y) : (Pe.d(1), Pe = Yr(d), Pe && (Pe.c(), Pe.m(j, Xe))), /*invalidConfirmPassword*/
|
|
4669
4673
|
d[7] ? K ? K.p(d, y) : (K = hi(d), K.c(), K.m(j, null)) : K && (K.d(1), K = null), y[0] & /*invalidConfirmPassword, confirmPasswordFocus, disabledFieldsList*/
|
|
4670
|
-
139392 &&
|
|
4674
|
+
139392 && Fe !== (Fe = "ConfirmPasswordContainer " + /*invalidConfirmPassword*/
|
|
4671
4675
|
(d[7] && !/*confirmPasswordFocus*/
|
|
4672
4676
|
d[13] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4673
|
-
(((
|
|
4674
|
-
1073741824 &&
|
|
4675
|
-
d[30]("registerPromoCode") + "") && D(
|
|
4677
|
+
(((Cr = d[17]) == null ? void 0 : Cr.indexOf("confirmPassword")) >= 0 ? "Hidden" : "")) && o(j, "class", Fe), y[0] & /*$_*/
|
|
4678
|
+
1073741824 && Ze !== (Ze = /*$_*/
|
|
4679
|
+
d[30]("registerPromoCode") + "") && D(Er, Ze), y[0] & /*promoCode*/
|
|
4676
4680
|
16777216 && se.value !== /*promoCode*/
|
|
4677
4681
|
d[24] && te(
|
|
4678
4682
|
se,
|
|
4679
4683
|
/*promoCode*/
|
|
4680
4684
|
d[24]
|
|
4681
4685
|
), y[0] & /*disabledFieldsList*/
|
|
4682
|
-
131072 &&
|
|
4683
|
-
(((
|
|
4684
|
-
1073741828 &&
|
|
4686
|
+
131072 && We !== (We = "PromoCodeContainer " + /*disabledFieldsList*/
|
|
4687
|
+
(((Ar = d[17]) == null ? void 0 : Ar.indexOf("promoCode")) >= 0 ? "Hidden" : "")) && o(we, "class", We), y[0] & /*custominputtextswitch, $_*/
|
|
4688
|
+
1073741828 && qe !== (qe = /*custominputtextswitch*/
|
|
4685
4689
|
(d[2] == "true" ? (
|
|
4686
4690
|
/*$_*/
|
|
4687
4691
|
d[30]("registerSecurityQuestion2")
|
|
4688
4692
|
) : (
|
|
4689
4693
|
/*$_*/
|
|
4690
4694
|
d[30]("registerSecurityQuestion")
|
|
4691
|
-
)) + "") && D(
|
|
4695
|
+
)) + "") && D(vr, qe), y[0] & /*securityQuestion*/
|
|
4692
4696
|
4194304 && oe.value !== /*securityQuestion*/
|
|
4693
4697
|
d[22] && te(
|
|
4694
4698
|
oe,
|
|
@@ -4696,18 +4700,18 @@ function fo(e) {
|
|
|
4696
4700
|
d[22]
|
|
4697
4701
|
), /*invalidSecurityQuestion*/
|
|
4698
4702
|
d[8] ? ee ? ee.p(d, y) : (ee = fi(d), ee.c(), ee.m(fe, null)) : ee && (ee.d(1), ee = null), y[0] & /*invalidSecurityQuestion, securityQFocus, disabledFieldsList*/
|
|
4699
|
-
147712 &&
|
|
4703
|
+
147712 && Ye !== (Ye = "SecurityQuestionContainer " + /*invalidSecurityQuestion*/
|
|
4700
4704
|
(d[8] && !/*securityQFocus*/
|
|
4701
4705
|
d[14] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4702
|
-
(((kt = d[17]) == null ? void 0 : kt.indexOf("securityQuestion")) >= 0 ? "Hidden" : "")) && o(fe, "class",
|
|
4703
|
-
1073741828 &&
|
|
4706
|
+
(((kt = d[17]) == null ? void 0 : kt.indexOf("securityQuestion")) >= 0 ? "Hidden" : "")) && o(fe, "class", Ye), y[0] & /*custominputtextswitch, $_*/
|
|
4707
|
+
1073741828 && Ke !== (Ke = /*custominputtextswitch*/
|
|
4704
4708
|
(d[2] == "true" ? (
|
|
4705
4709
|
/*$_*/
|
|
4706
4710
|
d[30]("registerSecurityAnswer2")
|
|
4707
4711
|
) : (
|
|
4708
4712
|
/*$_*/
|
|
4709
4713
|
d[30]("registerSecurityAnswer")
|
|
4710
|
-
)) + "") && D(
|
|
4714
|
+
)) + "") && D(_r, Ke), y[0] & /*securityAnswer*/
|
|
4711
4715
|
8388608 && ae.value !== /*securityAnswer*/
|
|
4712
4716
|
d[23] && te(
|
|
4713
4717
|
ae,
|
|
@@ -4715,26 +4719,26 @@ function fo(e) {
|
|
|
4715
4719
|
d[23]
|
|
4716
4720
|
), /*invalidSecurityAnswer*/
|
|
4717
4721
|
d[9] ? re ? re.p(d, y) : (re = di(d), re.c(), re.m(de, null)) : re && (re.d(1), re = null), y[0] & /*invalidSecurityAnswer, securityAFocus, disabledFieldsList*/
|
|
4718
|
-
164352 &&
|
|
4722
|
+
164352 && rr !== (rr = "SecurityAnswerContainer " + /*invalidSecurityAnswer*/
|
|
4719
4723
|
(d[9] && !/*securityAFocus*/
|
|
4720
4724
|
d[15] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4721
|
-
(((Ft = d[17]) == null ? void 0 : Ft.indexOf("securityAnswer")) >= 0 ? "Hidden" : "")) && o(de, "class",
|
|
4725
|
+
(((Ft = d[17]) == null ? void 0 : Ft.indexOf("securityAnswer")) >= 0 ? "Hidden" : "")) && o(de, "class", rr), y[0] & /*$_*/
|
|
4722
4726
|
1073741824 && le !== (le = /*$_*/
|
|
4723
|
-
d[30]("registerNext") + "") && D(
|
|
4724
|
-
536870912 &&
|
|
4725
|
-
d[29]) && (
|
|
4727
|
+
d[30]("registerNext") + "") && D(ht, le), y[0] & /*isValid*/
|
|
4728
|
+
536870912 && qr !== (qr = !/*isValid*/
|
|
4729
|
+
d[29]) && (I.disabled = qr);
|
|
4726
4730
|
},
|
|
4727
4731
|
i: z,
|
|
4728
4732
|
o: z,
|
|
4729
4733
|
d(d) {
|
|
4730
|
-
d && ie(r), W && W.d(), q && q.d(), e[60](null), Se.d(), J && J.d(), Y && Y.d(), e[66](null), Pe.d(), K && K.d(), ee && ee.d(), re && re.d(), e[79](null),
|
|
4734
|
+
d && ie(r), W && W.d(), q && q.d(), e[60](null), Se.d(), J && J.d(), Y && Y.d(), e[66](null), Pe.d(), K && K.d(), ee && ee.d(), re && re.d(), e[79](null), ft = !1, cr(Mt);
|
|
4731
4735
|
}
|
|
4732
4736
|
};
|
|
4733
4737
|
}
|
|
4734
|
-
function
|
|
4738
|
+
function go(e, r, t) {
|
|
4735
4739
|
let i;
|
|
4736
|
-
Zi(e,
|
|
4737
|
-
let { lang: n = "" } = r, { disabledfields: s = "" } = r, { simplepasswordvalidation: a = "false" } = r, { mbsource: l } = r, { clientstyling: h = "" } = r, { clientstylingurl: c = "" } = r, { translationurl: f = "" } = r, { savecredentials: m = "" } = r, { custominputtextswitch: g = "false" } = r, b = !1,
|
|
4740
|
+
Zi(e, io, (p) => t(30, i = p));
|
|
4741
|
+
let { lang: n = "" } = r, { disabledfields: s = "" } = r, { simplepasswordvalidation: a = "false" } = r, { mbsource: l } = r, { clientstyling: h = "" } = r, { clientstylingurl: c = "" } = r, { translationurl: f = "" } = r, { savecredentials: m = "" } = r, { custominputtextswitch: g = "false" } = r, b = !1, _ = !1, E = !1, A = !1, N = !1, M = !1, R = !1, ce = !1, G = !1, ge = !1, U = !1, je = !1, Te = !1, Ve, k = "", X = "", he = "", pe = "", ne = "", V = "", He = "", F = !1, Ce = !1, Be, Ee, be = {}, C = {
|
|
4738
4742
|
username: !1,
|
|
4739
4743
|
email: !1,
|
|
4740
4744
|
password: !1,
|
|
@@ -4742,112 +4746,112 @@ function mo(e, r, t) {
|
|
|
4742
4746
|
securityAnswer: !1,
|
|
4743
4747
|
securityQuestion: !1,
|
|
4744
4748
|
promoCode: !0
|
|
4745
|
-
}, ve = !1, Z,
|
|
4749
|
+
}, ve = !1, Z, _e = {
|
|
4746
4750
|
user: /^(?!(?:.*\d){9})(?=(?:.*[a-zA-Z]){4})^[a-zA-Z\d]*$/,
|
|
4747
4751
|
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,
|
|
4748
4752
|
password: /^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[^\w\s]).{8,20}$/,
|
|
4749
4753
|
document: /^(?=.*[a-zA-Z0-9])[a-zA-Z0-9\s]+$/
|
|
4750
4754
|
};
|
|
4751
|
-
const
|
|
4752
|
-
fetch(f).then((
|
|
4753
|
-
Object.keys(
|
|
4754
|
-
si(le,
|
|
4755
|
+
const Mr = () => {
|
|
4756
|
+
fetch(f).then((I) => I.json()).then((I) => {
|
|
4757
|
+
Object.keys(I).forEach((le) => {
|
|
4758
|
+
si(le, I[le]);
|
|
4755
4759
|
});
|
|
4756
|
-
}).catch((
|
|
4757
|
-
console.log(
|
|
4760
|
+
}).catch((I) => {
|
|
4761
|
+
console.log(I);
|
|
4758
4762
|
});
|
|
4759
4763
|
};
|
|
4760
4764
|
Object.keys(oi).forEach((p) => {
|
|
4761
4765
|
si(p, oi[p]);
|
|
4762
4766
|
});
|
|
4763
|
-
const
|
|
4767
|
+
const Me = () => {
|
|
4764
4768
|
window.postMessage({ type: "ToLogin" }, window.location.href);
|
|
4765
|
-
},
|
|
4766
|
-
if (!(
|
|
4769
|
+
}, Rr = (p, I) => {
|
|
4770
|
+
if (!(Ve.indexOf(p) >= 0))
|
|
4767
4771
|
switch (p) {
|
|
4768
4772
|
case "username":
|
|
4769
|
-
t(18, k =
|
|
4773
|
+
t(18, k = I), mr();
|
|
4770
4774
|
break;
|
|
4771
4775
|
case "email":
|
|
4772
|
-
t(19, X =
|
|
4776
|
+
t(19, X = I), Re();
|
|
4773
4777
|
break;
|
|
4774
4778
|
case "password":
|
|
4775
|
-
t(20, he =
|
|
4779
|
+
t(20, he = I), ze();
|
|
4776
4780
|
break;
|
|
4777
4781
|
case "confirmUserPassword":
|
|
4778
|
-
t(21, pe =
|
|
4782
|
+
t(21, pe = I), Ie();
|
|
4779
4783
|
break;
|
|
4780
4784
|
case "securityQuestion":
|
|
4781
|
-
t(22, ne =
|
|
4785
|
+
t(22, ne = I), $();
|
|
4782
4786
|
break;
|
|
4783
4787
|
case "securityAnswer":
|
|
4784
|
-
t(23, V =
|
|
4788
|
+
t(23, V = I), yr();
|
|
4785
4789
|
break;
|
|
4786
4790
|
case "promoCode":
|
|
4787
|
-
t(24,
|
|
4791
|
+
t(24, He = I), br();
|
|
4788
4792
|
break;
|
|
4789
4793
|
}
|
|
4790
|
-
},
|
|
4794
|
+
}, H = () => {
|
|
4791
4795
|
t(29, ve = Object.keys(C).every((p) => s.includes(p) ? !0 : C[p] !== !1));
|
|
4792
|
-
},
|
|
4793
|
-
be.email = X,
|
|
4794
|
-
}, dr = () => {
|
|
4795
|
-
be.username = k, we.user.test(k) && k.length <= 20 ? t(5, w = !1) : t(5, w = !0), C.username = !w, B();
|
|
4796
|
+
}, Re = () => {
|
|
4797
|
+
be.email = X, _e.email.test(X) && X.length <= 100 ? t(4, b = !1) : t(4, b = !0), C.email = !b, H();
|
|
4796
4798
|
}, mr = () => {
|
|
4797
|
-
|
|
4798
|
-
},
|
|
4799
|
+
be.username = k, _e.user.test(k) && k.length <= 20 ? t(5, _ = !1) : t(5, _ = !0), C.username = !_, H();
|
|
4800
|
+
}, gr = () => {
|
|
4801
|
+
a == "true" && (_e.password = /^(?!.* ).{8,20}$/);
|
|
4802
|
+
}, $e = () => {
|
|
4799
4803
|
t(25, F = !0), j();
|
|
4800
|
-
}, Re = () => {
|
|
4801
|
-
t(26, xe = !0), Ce();
|
|
4802
4804
|
}, Ue = () => {
|
|
4805
|
+
t(26, Ce = !0), Ae();
|
|
4806
|
+
}, ke = () => {
|
|
4803
4807
|
t(25, F = !1), j();
|
|
4804
|
-
}, gr = () => {
|
|
4805
|
-
t(26, xe = !1), Ce();
|
|
4806
|
-
}, j = () => {
|
|
4807
|
-
t(27, He.type = F ? "text" : "password", He);
|
|
4808
|
-
}, Ce = () => {
|
|
4809
|
-
t(28, Ee.type = xe ? "text" : "password", Ee);
|
|
4810
|
-
}, $e = () => !!we.password.test(he), Qe = () => {
|
|
4811
|
-
be.password = he, t(6, E = !$e()), pe.length !== 0 && Be(), C.password = !E, B();
|
|
4812
|
-
}, Rr = () => he === pe, Be = () => {
|
|
4813
|
-
be.confirmUserPassword = pe, t(7, A = !Rr()), C.confirmUserPassword = !A, B();
|
|
4814
4808
|
}, pr = () => {
|
|
4815
|
-
|
|
4809
|
+
t(26, Ce = !1), Ae();
|
|
4810
|
+
}, j = () => {
|
|
4811
|
+
t(27, Be.type = F ? "text" : "password", Be);
|
|
4812
|
+
}, Ae = () => {
|
|
4813
|
+
t(28, Ee.type = Ce ? "text" : "password", Ee);
|
|
4814
|
+
}, Qe = () => !!_e.password.test(he), ze = () => {
|
|
4815
|
+
be.password = he, t(6, E = !Qe()), pe.length !== 0 && Ie(), C.password = !E, H();
|
|
4816
|
+
}, Ur = () => he === pe, Ie = () => {
|
|
4817
|
+
be.confirmUserPassword = pe, t(7, A = !Ur()), C.confirmUserPassword = !A, H();
|
|
4818
|
+
}, br = () => {
|
|
4819
|
+
be.promoCode = He;
|
|
4816
4820
|
}, $ = () => {
|
|
4817
4821
|
if (be.securityQuestion = ne, ne)
|
|
4818
4822
|
switch (g) {
|
|
4819
4823
|
case "true":
|
|
4820
|
-
if (
|
|
4821
|
-
t(8,
|
|
4824
|
+
if (_e.document.test(ne) && ne.length <= 50) {
|
|
4825
|
+
t(8, N = !1), C.securityQuestion = !N, H();
|
|
4822
4826
|
return;
|
|
4823
4827
|
}
|
|
4824
4828
|
break;
|
|
4825
4829
|
case "false":
|
|
4826
4830
|
if (ne && ne.length <= 120) {
|
|
4827
|
-
t(8,
|
|
4831
|
+
t(8, N = !1), C.securityQuestion = !N, H();
|
|
4828
4832
|
return;
|
|
4829
4833
|
}
|
|
4830
4834
|
break;
|
|
4831
4835
|
}
|
|
4832
|
-
t(8,
|
|
4833
|
-
},
|
|
4836
|
+
t(8, N = !0), C.securityQuestion = !N, H();
|
|
4837
|
+
}, yr = () => {
|
|
4834
4838
|
if (be.securityAnswer = V, V)
|
|
4835
4839
|
switch (g) {
|
|
4836
4840
|
case "true":
|
|
4837
|
-
if (
|
|
4838
|
-
t(9, M = !1), C.securityAnswer = !M,
|
|
4841
|
+
if (_e.document.test(V) && V.length <= 50) {
|
|
4842
|
+
t(9, M = !1), C.securityAnswer = !M, H();
|
|
4839
4843
|
return;
|
|
4840
4844
|
}
|
|
4841
4845
|
break;
|
|
4842
4846
|
case "false":
|
|
4843
4847
|
if (V && V.length <= 120) {
|
|
4844
|
-
t(9, M = !1), C.securityAnswer = !M,
|
|
4848
|
+
t(9, M = !1), C.securityAnswer = !M, H();
|
|
4845
4849
|
return;
|
|
4846
4850
|
}
|
|
4847
4851
|
break;
|
|
4848
4852
|
}
|
|
4849
|
-
t(9, M = !0), C.securityAnswer = !M,
|
|
4850
|
-
},
|
|
4853
|
+
t(9, M = !0), C.securityAnswer = !M, H();
|
|
4854
|
+
}, Xe = (p) => {
|
|
4851
4855
|
p.preventDefault(), window.postMessage(
|
|
4852
4856
|
{
|
|
4853
4857
|
type: "RegisterStepOne",
|
|
@@ -4855,67 +4859,67 @@ function mo(e, r, t) {
|
|
|
4855
4859
|
},
|
|
4856
4860
|
window.location.href
|
|
4857
4861
|
);
|
|
4858
|
-
},
|
|
4862
|
+
}, Fe = (p) => {
|
|
4859
4863
|
if (p.data)
|
|
4860
4864
|
switch (p.data.type) {
|
|
4861
4865
|
case "StepOneDataBackup":
|
|
4862
|
-
const
|
|
4863
|
-
for (const le in
|
|
4864
|
-
|
|
4866
|
+
const I = p.data.userData;
|
|
4867
|
+
for (const le in I)
|
|
4868
|
+
Rr(le, I[le]);
|
|
4865
4869
|
t(29, ve = Object.keys(C).every((le) => s.includes(le) ? !0 : C[le] !== !1));
|
|
4866
4870
|
break;
|
|
4867
4871
|
}
|
|
4868
|
-
},
|
|
4869
|
-
t(17,
|
|
4870
|
-
},
|
|
4871
|
-
|
|
4872
|
+
}, kr = () => {
|
|
4873
|
+
t(17, Ve = s.split(","));
|
|
4874
|
+
}, we = () => {
|
|
4875
|
+
no(n);
|
|
4872
4876
|
};
|
|
4873
|
-
rn(() => (window.addEventListener("message",
|
|
4874
|
-
window.removeEventListener("message",
|
|
4877
|
+
rn(() => (window.addEventListener("message", Fe, !1), () => {
|
|
4878
|
+
window.removeEventListener("message", Fe);
|
|
4875
4879
|
}));
|
|
4876
|
-
const
|
|
4877
|
-
function
|
|
4880
|
+
const De = () => Me();
|
|
4881
|
+
function Ze() {
|
|
4878
4882
|
X = this.value, t(19, X);
|
|
4879
4883
|
}
|
|
4880
|
-
const
|
|
4881
|
-
function
|
|
4884
|
+
const Er = () => t(10, R = !0), Fr = () => t(10, R = !1);
|
|
4885
|
+
function Dr() {
|
|
4882
4886
|
k = this.value, t(18, k);
|
|
4883
4887
|
}
|
|
4884
|
-
const se = () => t(11, ce = !0),
|
|
4885
|
-
function
|
|
4888
|
+
const se = () => t(11, ce = !0), Gr = () => t(11, ce = !1);
|
|
4889
|
+
function We() {
|
|
4886
4890
|
he = this.value, t(20, he);
|
|
4887
4891
|
}
|
|
4888
|
-
const
|
|
4889
|
-
function
|
|
4890
|
-
|
|
4891
|
-
|
|
4892
|
+
const jr = () => t(12, G = !0), fe = () => t(12, G = !1);
|
|
4893
|
+
function Ne(p) {
|
|
4894
|
+
Br[p ? "unshift" : "push"](() => {
|
|
4895
|
+
Be = p, t(27, Be);
|
|
4892
4896
|
});
|
|
4893
4897
|
}
|
|
4894
|
-
const
|
|
4895
|
-
function
|
|
4898
|
+
const qe = () => ke(), vr = () => $e();
|
|
4899
|
+
function Vr() {
|
|
4896
4900
|
pe = this.value, t(21, pe);
|
|
4897
4901
|
}
|
|
4898
|
-
const
|
|
4902
|
+
const Je = () => t(13, ge = !0), $r = () => t(13, ge = !1);
|
|
4899
4903
|
function oe(p) {
|
|
4900
|
-
|
|
4904
|
+
Br[p ? "unshift" : "push"](() => {
|
|
4901
4905
|
Ee = p, t(28, Ee);
|
|
4902
4906
|
});
|
|
4903
4907
|
}
|
|
4904
|
-
const
|
|
4905
|
-
function
|
|
4906
|
-
|
|
4908
|
+
const Qr = () => pr(), Ye = () => Ue();
|
|
4909
|
+
function zr() {
|
|
4910
|
+
He = this.value, t(24, He);
|
|
4907
4911
|
}
|
|
4908
|
-
const de = () => t(16,
|
|
4909
|
-
function
|
|
4912
|
+
const de = () => t(16, Te = !0), Oe = () => t(16, Te = !1);
|
|
4913
|
+
function Ke() {
|
|
4910
4914
|
ne = this.value, t(22, ne);
|
|
4911
4915
|
}
|
|
4912
|
-
const
|
|
4913
|
-
function
|
|
4916
|
+
const _r = () => t(14, U = !0), Xr = () => t(14, U = !1);
|
|
4917
|
+
function er() {
|
|
4914
4918
|
V = this.value, t(23, V);
|
|
4915
4919
|
}
|
|
4916
|
-
const
|
|
4917
|
-
function
|
|
4918
|
-
|
|
4920
|
+
const Zr = () => t(15, je = !0), ae = () => t(15, je = !1), Wr = (p) => Xe(p);
|
|
4921
|
+
function rr(p) {
|
|
4922
|
+
Br[p ? "unshift" : "push"](() => {
|
|
4919
4923
|
Z = p, t(3, Z);
|
|
4920
4924
|
});
|
|
4921
4925
|
}
|
|
@@ -4923,106 +4927,106 @@ function mo(e, r, t) {
|
|
|
4923
4927
|
"lang" in p && t(44, n = p.lang), "disabledfields" in p && t(45, s = p.disabledfields), "simplepasswordvalidation" in p && t(0, a = p.simplepasswordvalidation), "mbsource" in p && t(46, l = p.mbsource), "clientstyling" in p && t(47, h = p.clientstyling), "clientstylingurl" in p && t(48, c = p.clientstylingurl), "translationurl" in p && t(49, f = p.translationurl), "savecredentials" in p && t(1, m = p.savecredentials), "custominputtextswitch" in p && t(2, g = p.custominputtextswitch);
|
|
4924
4928
|
}, e.$$.update = () => {
|
|
4925
4929
|
e.$$.dirty[1] & /*lang*/
|
|
4926
|
-
8192 && n &&
|
|
4927
|
-
16384 && s &&
|
|
4928
|
-
1 && a &&
|
|
4930
|
+
8192 && n && we(), e.$$.dirty[1] & /*disabledfields*/
|
|
4931
|
+
16384 && s && kr(), e.$$.dirty[0] & /*simplepasswordvalidation*/
|
|
4932
|
+
1 && a && gr(), e.$$.dirty[0] & /*customStylingContainer*/
|
|
4929
4933
|
8 | e.$$.dirty[1] & /*clientstyling*/
|
|
4930
|
-
65536 && h && Z &&
|
|
4934
|
+
65536 && h && Z && so(Z, h), e.$$.dirty[0] & /*customStylingContainer*/
|
|
4931
4935
|
8 | e.$$.dirty[1] & /*clientstylingurl*/
|
|
4932
|
-
131072 && c && Z &&
|
|
4936
|
+
131072 && c && Z && oo(Z, c), e.$$.dirty[0] & /*customStylingContainer*/
|
|
4933
4937
|
8 | e.$$.dirty[1] & /*mbsource*/
|
|
4934
|
-
32768 && l && Z &&
|
|
4935
|
-
262144 && f &&
|
|
4938
|
+
32768 && l && Z && ao(Z, `${l}.Style`), e.$$.dirty[1] & /*translationurl*/
|
|
4939
|
+
262144 && f && Mr();
|
|
4936
4940
|
}, [
|
|
4937
4941
|
a,
|
|
4938
4942
|
m,
|
|
4939
4943
|
g,
|
|
4940
4944
|
Z,
|
|
4941
4945
|
b,
|
|
4942
|
-
|
|
4946
|
+
_,
|
|
4943
4947
|
E,
|
|
4944
4948
|
A,
|
|
4945
|
-
|
|
4949
|
+
N,
|
|
4946
4950
|
M,
|
|
4947
4951
|
R,
|
|
4948
4952
|
ce,
|
|
4949
4953
|
G,
|
|
4950
4954
|
ge,
|
|
4951
4955
|
U,
|
|
4952
|
-
Ge,
|
|
4953
|
-
Ae,
|
|
4954
4956
|
je,
|
|
4957
|
+
Te,
|
|
4958
|
+
Ve,
|
|
4955
4959
|
k,
|
|
4956
4960
|
X,
|
|
4957
4961
|
he,
|
|
4958
4962
|
pe,
|
|
4959
4963
|
ne,
|
|
4960
4964
|
V,
|
|
4961
|
-
Te,
|
|
4962
|
-
F,
|
|
4963
|
-
xe,
|
|
4964
4965
|
He,
|
|
4966
|
+
F,
|
|
4967
|
+
Ce,
|
|
4968
|
+
Be,
|
|
4965
4969
|
Ee,
|
|
4966
4970
|
ve,
|
|
4967
4971
|
i,
|
|
4968
|
-
Le,
|
|
4969
4972
|
Me,
|
|
4970
|
-
dr,
|
|
4971
|
-
Ve,
|
|
4972
4973
|
Re,
|
|
4974
|
+
mr,
|
|
4975
|
+
$e,
|
|
4973
4976
|
Ue,
|
|
4974
|
-
|
|
4975
|
-
Qe,
|
|
4976
|
-
Be,
|
|
4977
|
+
ke,
|
|
4977
4978
|
pr,
|
|
4978
|
-
$,
|
|
4979
|
-
br,
|
|
4980
4979
|
ze,
|
|
4980
|
+
Ie,
|
|
4981
|
+
br,
|
|
4982
|
+
$,
|
|
4983
|
+
yr,
|
|
4984
|
+
Xe,
|
|
4981
4985
|
n,
|
|
4982
4986
|
s,
|
|
4983
4987
|
l,
|
|
4984
4988
|
h,
|
|
4985
4989
|
c,
|
|
4986
4990
|
f,
|
|
4987
|
-
|
|
4988
|
-
|
|
4989
|
-
|
|
4990
|
-
kr,
|
|
4991
|
+
De,
|
|
4992
|
+
Ze,
|
|
4993
|
+
Er,
|
|
4991
4994
|
Fr,
|
|
4992
|
-
se,
|
|
4993
4995
|
Dr,
|
|
4994
|
-
|
|
4996
|
+
se,
|
|
4995
4997
|
Gr,
|
|
4996
|
-
fe,
|
|
4997
|
-
Ie,
|
|
4998
4998
|
We,
|
|
4999
|
-
Er,
|
|
5000
4999
|
jr,
|
|
5000
|
+
fe,
|
|
5001
|
+
Ne,
|
|
5001
5002
|
qe,
|
|
5003
|
+
vr,
|
|
5002
5004
|
Vr,
|
|
5003
|
-
oe,
|
|
5004
|
-
$r,
|
|
5005
5005
|
Je,
|
|
5006
|
+
$r,
|
|
5007
|
+
oe,
|
|
5006
5008
|
Qr,
|
|
5007
|
-
de,
|
|
5008
|
-
Ne,
|
|
5009
5009
|
Ye,
|
|
5010
|
-
vr,
|
|
5011
5010
|
zr,
|
|
5011
|
+
de,
|
|
5012
|
+
Oe,
|
|
5012
5013
|
Ke,
|
|
5014
|
+
_r,
|
|
5013
5015
|
Xr,
|
|
5014
|
-
|
|
5016
|
+
er,
|
|
5015
5017
|
Zr,
|
|
5016
|
-
|
|
5018
|
+
ae,
|
|
5019
|
+
Wr,
|
|
5020
|
+
rr
|
|
5017
5021
|
];
|
|
5018
5022
|
}
|
|
5019
|
-
class
|
|
5023
|
+
class po extends mn {
|
|
5020
5024
|
constructor(r) {
|
|
5021
5025
|
super(), fn(
|
|
5022
5026
|
this,
|
|
5023
5027
|
r,
|
|
5028
|
+
go,
|
|
5024
5029
|
mo,
|
|
5025
|
-
fo,
|
|
5026
5030
|
gi,
|
|
5027
5031
|
{
|
|
5028
5032
|
lang: 44,
|
|
@@ -5035,7 +5039,7 @@ class go extends mn {
|
|
|
5035
5039
|
savecredentials: 1,
|
|
5036
5040
|
custominputtextswitch: 2
|
|
5037
5041
|
},
|
|
5038
|
-
|
|
5042
|
+
lo,
|
|
5039
5043
|
[-1, -1, -1, -1]
|
|
5040
5044
|
);
|
|
5041
5045
|
}
|
|
@@ -5094,7 +5098,7 @@ class go extends mn {
|
|
|
5094
5098
|
this.$$set({ custominputtextswitch: r }), ye();
|
|
5095
5099
|
}
|
|
5096
5100
|
}
|
|
5097
|
-
dn(
|
|
5101
|
+
dn(po, { lang: {}, disabledfields: {}, simplepasswordvalidation: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, savecredentials: {}, custominputtextswitch: {} }, [], [], !0);
|
|
5098
5102
|
export {
|
|
5099
|
-
|
|
5103
|
+
po as default
|
|
5100
5104
|
};
|