@everymatrix/general-player-register-form-step1-nd 1.59.1 → 1.59.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{GeneralPlayerRegisterFormStep1Nd-CRNfidOJ.js → GeneralPlayerRegisterFormStep1Nd-C0A8GEix.js} +487 -485
- package/components/{GeneralPlayerRegisterFormStep1Nd-DU2WYNRw.js → GeneralPlayerRegisterFormStep1Nd-DEXIfUAt.js} +376 -374
- package/components/{GeneralPlayerRegisterFormStep1Nd-DX2ynO_K.cjs → GeneralPlayerRegisterFormStep1Nd-DzpM9ZEC.cjs} +3 -3
- package/es2015/general-player-register-form-step1-nd.cjs +1 -1
- package/es2015/general-player-register-form-step1-nd.js +1 -1
- package/esnext/general-player-register-form-step1-nd.js +1 -1
- package/package.json +1 -1
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
function Q() {
|
|
2
2
|
}
|
|
3
|
-
function
|
|
3
|
+
function ei(e) {
|
|
4
4
|
return e();
|
|
5
5
|
}
|
|
6
|
-
function
|
|
6
|
+
function Bt() {
|
|
7
7
|
return /* @__PURE__ */ Object.create(null);
|
|
8
8
|
}
|
|
9
9
|
function lr(e) {
|
|
10
|
-
e.forEach(
|
|
10
|
+
e.forEach(ei);
|
|
11
11
|
}
|
|
12
12
|
function _t(e) {
|
|
13
13
|
return typeof e == "function";
|
|
14
14
|
}
|
|
15
|
-
function
|
|
15
|
+
function ri(e, r) {
|
|
16
16
|
return e != e ? r == r : e !== r || e && typeof e == "object" || typeof e == "function";
|
|
17
17
|
}
|
|
18
|
-
function
|
|
18
|
+
function Ti(e) {
|
|
19
19
|
return Object.keys(e).length === 0;
|
|
20
20
|
}
|
|
21
|
-
function
|
|
21
|
+
function ti(e, ...r) {
|
|
22
22
|
if (e == null) {
|
|
23
23
|
for (const i of r)
|
|
24
24
|
i(void 0);
|
|
@@ -27,20 +27,20 @@ function ei(e, ...r) {
|
|
|
27
27
|
const t = e.subscribe(...r);
|
|
28
28
|
return t.unsubscribe ? () => t.unsubscribe() : t;
|
|
29
29
|
}
|
|
30
|
-
function
|
|
31
|
-
e.$$.on_destroy.push(
|
|
30
|
+
function Hi(e, r, t) {
|
|
31
|
+
e.$$.on_destroy.push(ti(r, t));
|
|
32
32
|
}
|
|
33
33
|
function l(e, r) {
|
|
34
34
|
e.appendChild(r);
|
|
35
35
|
}
|
|
36
|
-
function
|
|
37
|
-
const i =
|
|
36
|
+
function Bi(e, r, t) {
|
|
37
|
+
const i = Ii(e);
|
|
38
38
|
if (!i.getElementById(r)) {
|
|
39
39
|
const n = E("style");
|
|
40
|
-
n.id = r, n.textContent = t,
|
|
40
|
+
n.id = r, n.textContent = t, Ni(i, n);
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
|
-
function
|
|
43
|
+
function Ii(e) {
|
|
44
44
|
if (!e)
|
|
45
45
|
return document;
|
|
46
46
|
const r = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -50,7 +50,7 @@ function Hi(e) {
|
|
|
50
50
|
r
|
|
51
51
|
) : e.ownerDocument;
|
|
52
52
|
}
|
|
53
|
-
function
|
|
53
|
+
function Ni(e, r) {
|
|
54
54
|
return l(
|
|
55
55
|
/** @type {Document} */
|
|
56
56
|
e.head || e,
|
|
@@ -81,7 +81,7 @@ function x(e, r, t, i) {
|
|
|
81
81
|
function o(e, r, t) {
|
|
82
82
|
t == null ? e.removeAttribute(r) : e.getAttribute(r) !== t && e.setAttribute(r, t);
|
|
83
83
|
}
|
|
84
|
-
function
|
|
84
|
+
function Oi(e) {
|
|
85
85
|
return Array.from(e.childNodes);
|
|
86
86
|
}
|
|
87
87
|
function D(e, r) {
|
|
@@ -91,7 +91,7 @@ function D(e, r) {
|
|
|
91
91
|
function te(e, r) {
|
|
92
92
|
e.value = r ?? "";
|
|
93
93
|
}
|
|
94
|
-
function
|
|
94
|
+
function Li(e) {
|
|
95
95
|
const r = {};
|
|
96
96
|
return e.childNodes.forEach(
|
|
97
97
|
/** @param {Element} node */
|
|
@@ -104,20 +104,20 @@ let Sr;
|
|
|
104
104
|
function wr(e) {
|
|
105
105
|
Sr = e;
|
|
106
106
|
}
|
|
107
|
-
function
|
|
107
|
+
function Mi() {
|
|
108
108
|
if (!Sr)
|
|
109
109
|
throw new Error("Function called outside component initialization");
|
|
110
110
|
return Sr;
|
|
111
111
|
}
|
|
112
|
-
function
|
|
113
|
-
|
|
112
|
+
function Ri(e) {
|
|
113
|
+
Mi().$$.on_mount.push(e);
|
|
114
114
|
}
|
|
115
115
|
const tr = [], _r = [];
|
|
116
116
|
let ir = [];
|
|
117
|
-
const
|
|
117
|
+
const It = [], Ui = /* @__PURE__ */ Promise.resolve();
|
|
118
118
|
let ht = !1;
|
|
119
|
-
function
|
|
120
|
-
ht || (ht = !0,
|
|
119
|
+
function ki() {
|
|
120
|
+
ht || (ht = !0, Ui.then(be));
|
|
121
121
|
}
|
|
122
122
|
function ft(e) {
|
|
123
123
|
ir.push(e);
|
|
@@ -132,7 +132,7 @@ function be() {
|
|
|
132
132
|
try {
|
|
133
133
|
for (; er < tr.length; ) {
|
|
134
134
|
const r = tr[er];
|
|
135
|
-
er++, wr(r),
|
|
135
|
+
er++, wr(r), Fi(r.$$);
|
|
136
136
|
}
|
|
137
137
|
} catch (r) {
|
|
138
138
|
throw tr.length = 0, er = 0, r;
|
|
@@ -145,40 +145,40 @@ function be() {
|
|
|
145
145
|
}
|
|
146
146
|
ir.length = 0;
|
|
147
147
|
} while (tr.length);
|
|
148
|
-
for (;
|
|
149
|
-
|
|
148
|
+
for (; It.length; )
|
|
149
|
+
It.pop()();
|
|
150
150
|
ht = !1, nt.clear(), wr(e);
|
|
151
151
|
}
|
|
152
|
-
function
|
|
152
|
+
function Fi(e) {
|
|
153
153
|
if (e.fragment !== null) {
|
|
154
154
|
e.update(), lr(e.before_update);
|
|
155
155
|
const r = e.dirty;
|
|
156
156
|
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, r), e.after_update.forEach(ft);
|
|
157
157
|
}
|
|
158
158
|
}
|
|
159
|
-
function
|
|
159
|
+
function Di(e) {
|
|
160
160
|
const r = [], t = [];
|
|
161
161
|
ir.forEach((i) => e.indexOf(i) === -1 ? r.push(i) : t.push(i)), t.forEach((i) => i()), ir = r;
|
|
162
162
|
}
|
|
163
|
-
const
|
|
164
|
-
function
|
|
165
|
-
e && e.i && (
|
|
163
|
+
const Gi = /* @__PURE__ */ new Set();
|
|
164
|
+
function ji(e, r) {
|
|
165
|
+
e && e.i && (Gi.delete(e), e.i(r));
|
|
166
166
|
}
|
|
167
|
-
function
|
|
167
|
+
function Vi(e, r, t) {
|
|
168
168
|
const { fragment: i, after_update: n } = e.$$;
|
|
169
169
|
i && i.m(r, t), ft(() => {
|
|
170
|
-
const s = e.$$.on_mount.map(
|
|
170
|
+
const s = e.$$.on_mount.map(ei).filter(_t);
|
|
171
171
|
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : lr(s), e.$$.on_mount = [];
|
|
172
172
|
}), n.forEach(ft);
|
|
173
173
|
}
|
|
174
|
-
function
|
|
174
|
+
function $i(e, r) {
|
|
175
175
|
const t = e.$$;
|
|
176
|
-
t.fragment !== null && (
|
|
176
|
+
t.fragment !== null && (Di(t.after_update), lr(t.on_destroy), t.fragment && t.fragment.d(r), t.on_destroy = t.fragment = null, t.ctx = []);
|
|
177
177
|
}
|
|
178
|
-
function
|
|
179
|
-
e.$$.dirty[0] === -1 && (tr.push(e),
|
|
178
|
+
function zi(e, r) {
|
|
179
|
+
e.$$.dirty[0] === -1 && (tr.push(e), ki(), e.$$.dirty.fill(0)), e.$$.dirty[r / 31 | 0] |= 1 << r % 31;
|
|
180
180
|
}
|
|
181
|
-
function
|
|
181
|
+
function Qi(e, r, t, i, n, s, u = null, a = [-1]) {
|
|
182
182
|
const f = Sr;
|
|
183
183
|
wr(e);
|
|
184
184
|
const c = e.$$ = {
|
|
@@ -188,7 +188,7 @@ function $i(e, r, t, i, n, s, u = null, a = [-1]) {
|
|
|
188
188
|
props: s,
|
|
189
189
|
update: Q,
|
|
190
190
|
not_equal: n,
|
|
191
|
-
bound:
|
|
191
|
+
bound: Bt(),
|
|
192
192
|
// lifecycle
|
|
193
193
|
on_mount: [],
|
|
194
194
|
on_destroy: [],
|
|
@@ -197,28 +197,28 @@ function $i(e, r, t, i, n, s, u = null, a = [-1]) {
|
|
|
197
197
|
after_update: [],
|
|
198
198
|
context: new Map(r.context || (f ? f.$$.context : [])),
|
|
199
199
|
// everything else
|
|
200
|
-
callbacks:
|
|
200
|
+
callbacks: Bt(),
|
|
201
201
|
dirty: a,
|
|
202
202
|
skip_bound: !1,
|
|
203
203
|
root: r.target || f.$$.root
|
|
204
204
|
};
|
|
205
205
|
u && u(c.root);
|
|
206
206
|
let h = !1;
|
|
207
|
-
if (c.ctx = t ? t(e, r.props || {}, (
|
|
207
|
+
if (c.ctx = t ? t(e, r.props || {}, (m, g, ...b) => {
|
|
208
208
|
const w = b.length ? b[0] : g;
|
|
209
|
-
return c.ctx && n(c.ctx[
|
|
209
|
+
return c.ctx && n(c.ctx[m], c.ctx[m] = w) && (!c.skip_bound && c.bound[m] && c.bound[m](w), h && zi(e, m)), g;
|
|
210
210
|
}) : [], c.update(), h = !0, lr(c.before_update), c.fragment = i ? i(c.ctx) : !1, r.target) {
|
|
211
211
|
if (r.hydrate) {
|
|
212
|
-
const
|
|
213
|
-
c.fragment && c.fragment.l(
|
|
212
|
+
const m = Oi(r.target);
|
|
213
|
+
c.fragment && c.fragment.l(m), m.forEach(ie);
|
|
214
214
|
} else
|
|
215
215
|
c.fragment && c.fragment.c();
|
|
216
|
-
r.intro &&
|
|
216
|
+
r.intro && ji(e.$$.fragment), Vi(e, r.target, r.anchor), be();
|
|
217
217
|
}
|
|
218
218
|
wr(f);
|
|
219
219
|
}
|
|
220
|
-
let
|
|
221
|
-
typeof HTMLElement == "function" && (
|
|
220
|
+
let ii;
|
|
221
|
+
typeof HTMLElement == "function" && (ii = class extends HTMLElement {
|
|
222
222
|
/** The Svelte component constructor */
|
|
223
223
|
$$ctor;
|
|
224
224
|
/** Slots */
|
|
@@ -277,7 +277,7 @@ typeof HTMLElement == "function" && (ri = class extends HTMLElement {
|
|
|
277
277
|
};
|
|
278
278
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
279
279
|
return;
|
|
280
|
-
const r = {}, t =
|
|
280
|
+
const r = {}, t = Li(this);
|
|
281
281
|
for (const n of this.$$s)
|
|
282
282
|
n in t && (r[n] = [e(n)]);
|
|
283
283
|
for (const n of this.attributes) {
|
|
@@ -364,8 +364,8 @@ function Qr(e, r, t, i) {
|
|
|
364
364
|
return r;
|
|
365
365
|
}
|
|
366
366
|
}
|
|
367
|
-
function
|
|
368
|
-
let u = class extends
|
|
367
|
+
function Xi(e, r, t, i, n, s) {
|
|
368
|
+
let u = class extends ii {
|
|
369
369
|
constructor() {
|
|
370
370
|
super(e, t, n), this.$$p_d = r;
|
|
371
371
|
}
|
|
@@ -393,7 +393,7 @@ function zi(e, r, t, i, n, s) {
|
|
|
393
393
|
}), e.element = /** @type {any} */
|
|
394
394
|
u, u;
|
|
395
395
|
}
|
|
396
|
-
class
|
|
396
|
+
class Zi {
|
|
397
397
|
/**
|
|
398
398
|
* ### PRIVATE API
|
|
399
399
|
*
|
|
@@ -412,7 +412,7 @@ class Qi {
|
|
|
412
412
|
$$set = void 0;
|
|
413
413
|
/** @returns {void} */
|
|
414
414
|
$destroy() {
|
|
415
|
-
|
|
415
|
+
$i(this, 1), this.$destroy = Q;
|
|
416
416
|
}
|
|
417
417
|
/**
|
|
418
418
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -434,13 +434,13 @@ class Qi {
|
|
|
434
434
|
* @returns {void}
|
|
435
435
|
*/
|
|
436
436
|
$set(r) {
|
|
437
|
-
this.$$set && !
|
|
437
|
+
this.$$set && !Ti(r) && (this.$$.skip_bound = !0, this.$$set(r), this.$$.skip_bound = !1);
|
|
438
438
|
}
|
|
439
439
|
}
|
|
440
|
-
const
|
|
441
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
440
|
+
const Wi = "4";
|
|
441
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Wi);
|
|
442
442
|
const rr = [];
|
|
443
|
-
function
|
|
443
|
+
function qi(e, r) {
|
|
444
444
|
return {
|
|
445
445
|
subscribe: Jr(e, r).subscribe
|
|
446
446
|
};
|
|
@@ -449,7 +449,7 @@ function Jr(e, r = Q) {
|
|
|
449
449
|
let t;
|
|
450
450
|
const i = /* @__PURE__ */ new Set();
|
|
451
451
|
function n(a) {
|
|
452
|
-
if (
|
|
452
|
+
if (ri(e, a) && (e = a, t)) {
|
|
453
453
|
const f = !rr.length;
|
|
454
454
|
for (const c of i)
|
|
455
455
|
c[1](), rr.push(c, e);
|
|
@@ -476,18 +476,18 @@ function ur(e, r, t) {
|
|
|
476
476
|
if (!n.every(Boolean))
|
|
477
477
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
478
478
|
const s = r.length < 2;
|
|
479
|
-
return
|
|
479
|
+
return qi(t, (u, a) => {
|
|
480
480
|
let f = !1;
|
|
481
481
|
const c = [];
|
|
482
|
-
let h = 0,
|
|
482
|
+
let h = 0, m = Q;
|
|
483
483
|
const g = () => {
|
|
484
484
|
if (h)
|
|
485
485
|
return;
|
|
486
|
-
|
|
486
|
+
m();
|
|
487
487
|
const w = r(i ? c[0] : c, u, a);
|
|
488
|
-
s ? u(w) :
|
|
488
|
+
s ? u(w) : m = _t(w) ? w : Q;
|
|
489
489
|
}, b = n.map(
|
|
490
|
-
(w, y) =>
|
|
490
|
+
(w, y) => ti(
|
|
491
491
|
w,
|
|
492
492
|
(A) => {
|
|
493
493
|
c[y] = A, h &= ~(1 << y), f && g();
|
|
@@ -498,74 +498,74 @@ function ur(e, r, t) {
|
|
|
498
498
|
)
|
|
499
499
|
);
|
|
500
500
|
return f = !0, g(), function() {
|
|
501
|
-
lr(b),
|
|
501
|
+
lr(b), m(), f = !1;
|
|
502
502
|
};
|
|
503
503
|
});
|
|
504
504
|
}
|
|
505
|
-
function
|
|
505
|
+
function Ji(e) {
|
|
506
506
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
507
507
|
}
|
|
508
|
-
var
|
|
509
|
-
return
|
|
508
|
+
var Yi = function(r) {
|
|
509
|
+
return Ki(r) && !en(r);
|
|
510
510
|
};
|
|
511
|
-
function
|
|
511
|
+
function Ki(e) {
|
|
512
512
|
return !!e && typeof e == "object";
|
|
513
513
|
}
|
|
514
|
-
function
|
|
514
|
+
function en(e) {
|
|
515
515
|
var r = Object.prototype.toString.call(e);
|
|
516
|
-
return r === "[object RegExp]" || r === "[object Date]" ||
|
|
516
|
+
return r === "[object RegExp]" || r === "[object Date]" || nn(e);
|
|
517
517
|
}
|
|
518
|
-
var
|
|
519
|
-
function
|
|
520
|
-
return e.$$typeof ===
|
|
518
|
+
var rn = typeof Symbol == "function" && Symbol.for, tn = rn ? Symbol.for("react.element") : 60103;
|
|
519
|
+
function nn(e) {
|
|
520
|
+
return e.$$typeof === tn;
|
|
521
521
|
}
|
|
522
|
-
function
|
|
522
|
+
function sn(e) {
|
|
523
523
|
return Array.isArray(e) ? [] : {};
|
|
524
524
|
}
|
|
525
525
|
function Pr(e, r) {
|
|
526
|
-
return r.clone !== !1 && r.isMergeableObject(e) ? nr(
|
|
526
|
+
return r.clone !== !1 && r.isMergeableObject(e) ? nr(sn(e), e, r) : e;
|
|
527
527
|
}
|
|
528
|
-
function
|
|
528
|
+
function on(e, r, t) {
|
|
529
529
|
return e.concat(r).map(function(i) {
|
|
530
530
|
return Pr(i, t);
|
|
531
531
|
});
|
|
532
532
|
}
|
|
533
|
-
function
|
|
533
|
+
function an(e, r) {
|
|
534
534
|
if (!r.customMerge)
|
|
535
535
|
return nr;
|
|
536
536
|
var t = r.customMerge(e);
|
|
537
537
|
return typeof t == "function" ? t : nr;
|
|
538
538
|
}
|
|
539
|
-
function
|
|
539
|
+
function ln(e) {
|
|
540
540
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(r) {
|
|
541
541
|
return Object.propertyIsEnumerable.call(e, r);
|
|
542
542
|
}) : [];
|
|
543
543
|
}
|
|
544
|
-
function
|
|
545
|
-
return Object.keys(e).concat(
|
|
544
|
+
function Nt(e) {
|
|
545
|
+
return Object.keys(e).concat(ln(e));
|
|
546
546
|
}
|
|
547
|
-
function
|
|
547
|
+
function ni(e, r) {
|
|
548
548
|
try {
|
|
549
549
|
return r in e;
|
|
550
550
|
} catch {
|
|
551
551
|
return !1;
|
|
552
552
|
}
|
|
553
553
|
}
|
|
554
|
-
function
|
|
555
|
-
return
|
|
554
|
+
function un(e, r) {
|
|
555
|
+
return ni(e, r) && !(Object.hasOwnProperty.call(e, r) && Object.propertyIsEnumerable.call(e, r));
|
|
556
556
|
}
|
|
557
|
-
function
|
|
557
|
+
function cn(e, r, t) {
|
|
558
558
|
var i = {};
|
|
559
|
-
return t.isMergeableObject(e) &&
|
|
559
|
+
return t.isMergeableObject(e) && Nt(e).forEach(function(n) {
|
|
560
560
|
i[n] = Pr(e[n], t);
|
|
561
|
-
}),
|
|
562
|
-
|
|
561
|
+
}), Nt(r).forEach(function(n) {
|
|
562
|
+
un(e, n) || (ni(e, n) && t.isMergeableObject(r[n]) ? i[n] = an(n, t)(e[n], r[n], t) : i[n] = Pr(r[n], t));
|
|
563
563
|
}), i;
|
|
564
564
|
}
|
|
565
565
|
function nr(e, r, t) {
|
|
566
|
-
t = t || {}, t.arrayMerge = t.arrayMerge ||
|
|
566
|
+
t = t || {}, t.arrayMerge = t.arrayMerge || on, t.isMergeableObject = t.isMergeableObject || Yi, t.cloneUnlessOtherwiseSpecified = Pr;
|
|
567
567
|
var i = Array.isArray(r), n = Array.isArray(e), s = i === n;
|
|
568
|
-
return s ? i ? t.arrayMerge(e, r, t) :
|
|
568
|
+
return s ? i ? t.arrayMerge(e, r, t) : cn(e, r, t) : Pr(r, t);
|
|
569
569
|
}
|
|
570
570
|
nr.all = function(r, t) {
|
|
571
571
|
if (!Array.isArray(r))
|
|
@@ -574,8 +574,8 @@ nr.all = function(r, t) {
|
|
|
574
574
|
return nr(i, n, t);
|
|
575
575
|
}, {});
|
|
576
576
|
};
|
|
577
|
-
var
|
|
578
|
-
const
|
|
577
|
+
var hn = nr, fn = hn;
|
|
578
|
+
const dn = /* @__PURE__ */ Ji(fn);
|
|
579
579
|
/*! *****************************************************************************
|
|
580
580
|
Copyright (c) Microsoft Corporation.
|
|
581
581
|
|
|
@@ -590,18 +590,18 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
590
590
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
591
591
|
PERFORMANCE OF THIS SOFTWARE.
|
|
592
592
|
***************************************************************************** */
|
|
593
|
-
var
|
|
594
|
-
return
|
|
593
|
+
var dt = function(e, r) {
|
|
594
|
+
return dt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(t, i) {
|
|
595
595
|
t.__proto__ = i;
|
|
596
596
|
} || function(t, i) {
|
|
597
597
|
for (var n in i)
|
|
598
598
|
Object.prototype.hasOwnProperty.call(i, n) && (t[n] = i[n]);
|
|
599
|
-
},
|
|
599
|
+
}, dt(e, r);
|
|
600
600
|
};
|
|
601
601
|
function Yr(e, r) {
|
|
602
602
|
if (typeof r != "function" && r !== null)
|
|
603
603
|
throw new TypeError("Class extends value " + String(r) + " is not a constructor or null");
|
|
604
|
-
|
|
604
|
+
dt(e, r);
|
|
605
605
|
function t() {
|
|
606
606
|
this.constructor = e;
|
|
607
607
|
}
|
|
@@ -617,7 +617,7 @@ var T = function() {
|
|
|
617
617
|
return r;
|
|
618
618
|
}, T.apply(this, arguments);
|
|
619
619
|
};
|
|
620
|
-
function
|
|
620
|
+
function mn(e, r) {
|
|
621
621
|
var t = {};
|
|
622
622
|
for (var i in e)
|
|
623
623
|
Object.prototype.hasOwnProperty.call(e, i) && r.indexOf(i) < 0 && (t[i] = e[i]);
|
|
@@ -633,53 +633,55 @@ function st(e, r, t) {
|
|
|
633
633
|
return e.concat(s || r);
|
|
634
634
|
}
|
|
635
635
|
function ot(e, r) {
|
|
636
|
-
var t = r && r.cache ? r.cache :
|
|
636
|
+
var t = r && r.cache ? r.cache : vn, i = r && r.serializer ? r.serializer : En, n = r && r.strategy ? r.strategy : pn;
|
|
637
637
|
return n(e, {
|
|
638
638
|
cache: t,
|
|
639
639
|
serializer: i
|
|
640
640
|
});
|
|
641
641
|
}
|
|
642
|
-
function
|
|
642
|
+
function gn(e) {
|
|
643
643
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
644
644
|
}
|
|
645
|
-
function
|
|
646
|
-
var n =
|
|
645
|
+
function si(e, r, t, i) {
|
|
646
|
+
var n = gn(i) ? i : t(i), s = r.get(n);
|
|
647
647
|
return typeof s > "u" && (s = e.call(this, i), r.set(n, s)), s;
|
|
648
648
|
}
|
|
649
|
-
function
|
|
649
|
+
function oi(e, r, t) {
|
|
650
650
|
var i = Array.prototype.slice.call(arguments, 3), n = t(i), s = r.get(n);
|
|
651
651
|
return typeof s > "u" && (s = e.apply(this, i), r.set(n, s)), s;
|
|
652
652
|
}
|
|
653
|
-
function
|
|
653
|
+
function St(e, r, t, i, n) {
|
|
654
654
|
return t.bind(r, e, i, n);
|
|
655
655
|
}
|
|
656
|
-
function gn(e, r) {
|
|
657
|
-
var t = e.length === 1 ? dn : ii;
|
|
658
|
-
return ni(e, this, t, r.cache.create(), r.serializer);
|
|
659
|
-
}
|
|
660
656
|
function pn(e, r) {
|
|
661
|
-
|
|
657
|
+
var t = e.length === 1 ? si : oi;
|
|
658
|
+
return St(e, this, t, r.cache.create(), r.serializer);
|
|
659
|
+
}
|
|
660
|
+
function bn(e, r) {
|
|
661
|
+
return St(e, this, oi, r.cache.create(), r.serializer);
|
|
662
|
+
}
|
|
663
|
+
function yn(e, r) {
|
|
664
|
+
return St(e, this, si, r.cache.create(), r.serializer);
|
|
662
665
|
}
|
|
663
|
-
var
|
|
666
|
+
var En = function() {
|
|
664
667
|
return JSON.stringify(arguments);
|
|
665
|
-
}
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
}()
|
|
677
|
-
), En = {
|
|
668
|
+
};
|
|
669
|
+
function Pt() {
|
|
670
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
671
|
+
}
|
|
672
|
+
Pt.prototype.get = function(e) {
|
|
673
|
+
return this.cache[e];
|
|
674
|
+
};
|
|
675
|
+
Pt.prototype.set = function(e, r) {
|
|
676
|
+
this.cache[e] = r;
|
|
677
|
+
};
|
|
678
|
+
var vn = {
|
|
678
679
|
create: function() {
|
|
679
|
-
return new
|
|
680
|
+
return new Pt();
|
|
680
681
|
}
|
|
681
682
|
}, at = {
|
|
682
|
-
variadic:
|
|
683
|
+
variadic: bn,
|
|
684
|
+
monadic: yn
|
|
683
685
|
}, S;
|
|
684
686
|
(function(e) {
|
|
685
687
|
e[e.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", e[e.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", e[e.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", e[e.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", e[e.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", e[e.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", e[e.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", e[e.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", e[e.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", e[e.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", e[e.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", e[e.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", e[e.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", e[e.INVALID_TAG = 23] = "INVALID_TAG", e[e.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", e[e.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", e[e.UNCLOSED_TAG = 27] = "UNCLOSED_TAG";
|
|
@@ -692,43 +694,43 @@ var sr;
|
|
|
692
694
|
(function(e) {
|
|
693
695
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
694
696
|
})(sr || (sr = {}));
|
|
695
|
-
function
|
|
697
|
+
function Ot(e) {
|
|
696
698
|
return e.type === L.literal;
|
|
697
699
|
}
|
|
698
|
-
function
|
|
700
|
+
function wn(e) {
|
|
699
701
|
return e.type === L.argument;
|
|
700
702
|
}
|
|
701
|
-
function
|
|
703
|
+
function ai(e) {
|
|
702
704
|
return e.type === L.number;
|
|
703
705
|
}
|
|
704
|
-
function
|
|
706
|
+
function li(e) {
|
|
705
707
|
return e.type === L.date;
|
|
706
708
|
}
|
|
707
|
-
function
|
|
709
|
+
function ui(e) {
|
|
708
710
|
return e.type === L.time;
|
|
709
711
|
}
|
|
710
|
-
function
|
|
712
|
+
function ci(e) {
|
|
711
713
|
return e.type === L.select;
|
|
712
714
|
}
|
|
713
|
-
function
|
|
715
|
+
function hi(e) {
|
|
714
716
|
return e.type === L.plural;
|
|
715
717
|
}
|
|
716
|
-
function
|
|
718
|
+
function _n(e) {
|
|
717
719
|
return e.type === L.pound;
|
|
718
720
|
}
|
|
719
|
-
function
|
|
721
|
+
function fi(e) {
|
|
720
722
|
return e.type === L.tag;
|
|
721
723
|
}
|
|
722
|
-
function
|
|
724
|
+
function di(e) {
|
|
723
725
|
return !!(e && typeof e == "object" && e.type === sr.number);
|
|
724
726
|
}
|
|
725
|
-
function
|
|
727
|
+
function mt(e) {
|
|
726
728
|
return !!(e && typeof e == "object" && e.type === sr.dateTime);
|
|
727
729
|
}
|
|
728
|
-
var
|
|
729
|
-
function
|
|
730
|
+
var mi = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Sn = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
|
|
731
|
+
function Pn(e) {
|
|
730
732
|
var r = {};
|
|
731
|
-
return e.replace(
|
|
733
|
+
return e.replace(Sn, function(t) {
|
|
732
734
|
var i = t.length;
|
|
733
735
|
switch (t[0]) {
|
|
734
736
|
case "G":
|
|
@@ -817,36 +819,36 @@ function Sn(e) {
|
|
|
817
819
|
return "";
|
|
818
820
|
}), r;
|
|
819
821
|
}
|
|
820
|
-
var
|
|
821
|
-
function
|
|
822
|
+
var xn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
823
|
+
function Cn(e) {
|
|
822
824
|
if (e.length === 0)
|
|
823
825
|
throw new Error("Number skeleton cannot be empty");
|
|
824
|
-
for (var r = e.split(
|
|
826
|
+
for (var r = e.split(xn).filter(function(g) {
|
|
825
827
|
return g.length > 0;
|
|
826
828
|
}), t = [], i = 0, n = r; i < n.length; i++) {
|
|
827
829
|
var s = n[i], u = s.split("/");
|
|
828
830
|
if (u.length === 0)
|
|
829
831
|
throw new Error("Invalid number skeleton");
|
|
830
832
|
for (var a = u[0], f = u.slice(1), c = 0, h = f; c < h.length; c++) {
|
|
831
|
-
var
|
|
832
|
-
if (
|
|
833
|
+
var m = h[c];
|
|
834
|
+
if (m.length === 0)
|
|
833
835
|
throw new Error("Invalid number skeleton");
|
|
834
836
|
}
|
|
835
837
|
t.push({ stem: a, options: f });
|
|
836
838
|
}
|
|
837
839
|
return t;
|
|
838
840
|
}
|
|
839
|
-
function
|
|
841
|
+
function An(e) {
|
|
840
842
|
return e.replace(/^(.*?)-/, "");
|
|
841
843
|
}
|
|
842
|
-
var
|
|
843
|
-
function
|
|
844
|
+
var Lt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, gi = /^(@+)?(\+|#+)?[rs]?$/g, Tn = /(\*)(0+)|(#+)(0+)|(0+)/g, pi = /^(0+)$/;
|
|
845
|
+
function Mt(e) {
|
|
844
846
|
var r = {};
|
|
845
|
-
return e[e.length - 1] === "r" ? r.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (r.roundingPriority = "lessPrecision"), e.replace(
|
|
847
|
+
return e[e.length - 1] === "r" ? r.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (r.roundingPriority = "lessPrecision"), e.replace(gi, function(t, i, n) {
|
|
846
848
|
return typeof n != "string" ? (r.minimumSignificantDigits = i.length, r.maximumSignificantDigits = i.length) : n === "+" ? r.minimumSignificantDigits = i.length : i[0] === "#" ? r.maximumSignificantDigits = i.length : (r.minimumSignificantDigits = i.length, r.maximumSignificantDigits = i.length + (typeof n == "string" ? n.length : 0)), "";
|
|
847
849
|
}), r;
|
|
848
850
|
}
|
|
849
|
-
function
|
|
851
|
+
function bi(e) {
|
|
850
852
|
switch (e) {
|
|
851
853
|
case "sign-auto":
|
|
852
854
|
return {
|
|
@@ -886,7 +888,7 @@ function gi(e) {
|
|
|
886
888
|
};
|
|
887
889
|
}
|
|
888
890
|
}
|
|
889
|
-
function
|
|
891
|
+
function Hn(e) {
|
|
890
892
|
var r;
|
|
891
893
|
if (e[0] === "E" && e[1] === "E" ? (r = {
|
|
892
894
|
notation: "engineering"
|
|
@@ -894,17 +896,17 @@ function Tn(e) {
|
|
|
894
896
|
notation: "scientific"
|
|
895
897
|
}, e = e.slice(1)), r) {
|
|
896
898
|
var t = e.slice(0, 2);
|
|
897
|
-
if (t === "+!" ? (r.signDisplay = "always", e = e.slice(2)) : t === "+?" && (r.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
899
|
+
if (t === "+!" ? (r.signDisplay = "always", e = e.slice(2)) : t === "+?" && (r.signDisplay = "exceptZero", e = e.slice(2)), !pi.test(e))
|
|
898
900
|
throw new Error("Malformed concise eng/scientific notation");
|
|
899
901
|
r.minimumIntegerDigits = e.length;
|
|
900
902
|
}
|
|
901
903
|
return r;
|
|
902
904
|
}
|
|
903
|
-
function
|
|
904
|
-
var r = {}, t =
|
|
905
|
+
function Rt(e) {
|
|
906
|
+
var r = {}, t = bi(e);
|
|
905
907
|
return t || r;
|
|
906
908
|
}
|
|
907
|
-
function
|
|
909
|
+
function Bn(e) {
|
|
908
910
|
for (var r = {}, t = 0, i = e; t < i.length; t++) {
|
|
909
911
|
var n = i[t];
|
|
910
912
|
switch (n.stem) {
|
|
@@ -928,7 +930,7 @@ function Hn(e) {
|
|
|
928
930
|
continue;
|
|
929
931
|
case "measure-unit":
|
|
930
932
|
case "unit":
|
|
931
|
-
r.style = "unit", r.unit =
|
|
933
|
+
r.style = "unit", r.unit = An(n.options[0]);
|
|
932
934
|
continue;
|
|
933
935
|
case "compact-short":
|
|
934
936
|
case "K":
|
|
@@ -940,12 +942,12 @@ function Hn(e) {
|
|
|
940
942
|
continue;
|
|
941
943
|
case "scientific":
|
|
942
944
|
r = T(T(T({}, r), { notation: "scientific" }), n.options.reduce(function(f, c) {
|
|
943
|
-
return T(T({}, f),
|
|
945
|
+
return T(T({}, f), Rt(c));
|
|
944
946
|
}, {}));
|
|
945
947
|
continue;
|
|
946
948
|
case "engineering":
|
|
947
949
|
r = T(T(T({}, r), { notation: "engineering" }), n.options.reduce(function(f, c) {
|
|
948
|
-
return T(T({}, f),
|
|
950
|
+
return T(T({}, f), Rt(c));
|
|
949
951
|
}, {}));
|
|
950
952
|
continue;
|
|
951
953
|
case "notation-simple":
|
|
@@ -990,11 +992,11 @@ function Hn(e) {
|
|
|
990
992
|
case "integer-width":
|
|
991
993
|
if (n.options.length > 1)
|
|
992
994
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
993
|
-
n.options[0].replace(
|
|
995
|
+
n.options[0].replace(Tn, function(f, c, h, m, g, b) {
|
|
994
996
|
if (c)
|
|
995
997
|
r.minimumIntegerDigits = h.length;
|
|
996
998
|
else {
|
|
997
|
-
if (
|
|
999
|
+
if (m && g)
|
|
998
1000
|
throw new Error("We currently do not support maximum integer digits");
|
|
999
1001
|
if (b)
|
|
1000
1002
|
throw new Error("We currently do not support exact integer digits");
|
|
@@ -1003,27 +1005,27 @@ function Hn(e) {
|
|
|
1003
1005
|
});
|
|
1004
1006
|
continue;
|
|
1005
1007
|
}
|
|
1006
|
-
if (
|
|
1008
|
+
if (pi.test(n.stem)) {
|
|
1007
1009
|
r.minimumIntegerDigits = n.stem.length;
|
|
1008
1010
|
continue;
|
|
1009
1011
|
}
|
|
1010
|
-
if (
|
|
1012
|
+
if (Lt.test(n.stem)) {
|
|
1011
1013
|
if (n.options.length > 1)
|
|
1012
1014
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1013
|
-
n.stem.replace(
|
|
1014
|
-
return h === "*" ? r.minimumFractionDigits = c.length :
|
|
1015
|
+
n.stem.replace(Lt, function(f, c, h, m, g, b) {
|
|
1016
|
+
return h === "*" ? r.minimumFractionDigits = c.length : m && m[0] === "#" ? r.maximumFractionDigits = m.length : g && b ? (r.minimumFractionDigits = g.length, r.maximumFractionDigits = g.length + b.length) : (r.minimumFractionDigits = c.length, r.maximumFractionDigits = c.length), "";
|
|
1015
1017
|
});
|
|
1016
1018
|
var s = n.options[0];
|
|
1017
|
-
s === "w" ? r = T(T({}, r), { trailingZeroDisplay: "stripIfInteger" }) : s && (r = T(T({}, r),
|
|
1019
|
+
s === "w" ? r = T(T({}, r), { trailingZeroDisplay: "stripIfInteger" }) : s && (r = T(T({}, r), Mt(s)));
|
|
1018
1020
|
continue;
|
|
1019
1021
|
}
|
|
1020
|
-
if (
|
|
1021
|
-
r = T(T({}, r),
|
|
1022
|
+
if (gi.test(n.stem)) {
|
|
1023
|
+
r = T(T({}, r), Mt(n.stem));
|
|
1022
1024
|
continue;
|
|
1023
1025
|
}
|
|
1024
|
-
var u =
|
|
1026
|
+
var u = bi(n.stem);
|
|
1025
1027
|
u && (r = T(T({}, r), u));
|
|
1026
|
-
var a =
|
|
1028
|
+
var a = Hn(n.stem);
|
|
1027
1029
|
a && (r = T(T({}, r), a));
|
|
1028
1030
|
}
|
|
1029
1031
|
return r;
|
|
@@ -2443,13 +2445,13 @@ var zr = {
|
|
|
2443
2445
|
"h"
|
|
2444
2446
|
]
|
|
2445
2447
|
};
|
|
2446
|
-
function
|
|
2448
|
+
function In(e, r) {
|
|
2447
2449
|
for (var t = "", i = 0; i < e.length; i++) {
|
|
2448
2450
|
var n = e.charAt(i);
|
|
2449
2451
|
if (n === "j") {
|
|
2450
2452
|
for (var s = 0; i + 1 < e.length && e.charAt(i + 1) === n; )
|
|
2451
2453
|
s++, i++;
|
|
2452
|
-
var u = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), f = "a", c =
|
|
2454
|
+
var u = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), f = "a", c = Nn(r);
|
|
2453
2455
|
for ((c == "H" || c == "k") && (a = 0); a-- > 0; )
|
|
2454
2456
|
t += f;
|
|
2455
2457
|
for (; u-- > 0; )
|
|
@@ -2459,7 +2461,7 @@ function Bn(e, r) {
|
|
|
2459
2461
|
}
|
|
2460
2462
|
return t;
|
|
2461
2463
|
}
|
|
2462
|
-
function
|
|
2464
|
+
function Nn(e) {
|
|
2463
2465
|
var r = e.hourCycle;
|
|
2464
2466
|
if (r === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2465
2467
|
e.hourCycles && // @ts-ignore
|
|
@@ -2481,20 +2483,20 @@ function In(e) {
|
|
|
2481
2483
|
var n = zr[i || ""] || zr[t || ""] || zr["".concat(t, "-001")] || zr["001"];
|
|
2482
2484
|
return n[0];
|
|
2483
2485
|
}
|
|
2484
|
-
var lt,
|
|
2486
|
+
var lt, On = new RegExp("^".concat(mi.source, "*")), Ln = new RegExp("".concat(mi.source, "*$"));
|
|
2485
2487
|
function P(e, r) {
|
|
2486
2488
|
return { start: e, end: r };
|
|
2487
2489
|
}
|
|
2488
|
-
var
|
|
2490
|
+
var Mn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Rn = !!String.fromCodePoint, Un = !!Object.fromEntries, kn = !!String.prototype.codePointAt, Fn = !!String.prototype.trimStart, Dn = !!String.prototype.trimEnd, Gn = !!Number.isSafeInteger, jn = Gn ? Number.isSafeInteger : function(e) {
|
|
2489
2491
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2490
2492
|
}, gt = !0;
|
|
2491
2493
|
try {
|
|
2492
|
-
var
|
|
2493
|
-
gt = ((lt =
|
|
2494
|
+
var Vn = Ei("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2495
|
+
gt = ((lt = Vn.exec("a")) === null || lt === void 0 ? void 0 : lt[0]) === "a";
|
|
2494
2496
|
} catch {
|
|
2495
2497
|
gt = !1;
|
|
2496
2498
|
}
|
|
2497
|
-
var
|
|
2499
|
+
var Ut = Mn ? (
|
|
2498
2500
|
// Native
|
|
2499
2501
|
function(r, t, i) {
|
|
2500
2502
|
return r.startsWith(t, i);
|
|
@@ -2504,7 +2506,7 @@ var Mt = Ln ? (
|
|
|
2504
2506
|
function(r, t, i) {
|
|
2505
2507
|
return r.slice(i, i + t.length) === t;
|
|
2506
2508
|
}
|
|
2507
|
-
), pt =
|
|
2509
|
+
), pt = Rn ? String.fromCodePoint : (
|
|
2508
2510
|
// IE11
|
|
2509
2511
|
function() {
|
|
2510
2512
|
for (var r = [], t = 0; t < arguments.length; t++)
|
|
@@ -2516,9 +2518,9 @@ var Mt = Ln ? (
|
|
|
2516
2518
|
}
|
|
2517
2519
|
return i;
|
|
2518
2520
|
}
|
|
2519
|
-
),
|
|
2521
|
+
), kt = (
|
|
2520
2522
|
// native
|
|
2521
|
-
|
|
2523
|
+
Un ? Object.fromEntries : (
|
|
2522
2524
|
// Ponyfill
|
|
2523
2525
|
function(r) {
|
|
2524
2526
|
for (var t = {}, i = 0, n = r; i < n.length; i++) {
|
|
@@ -2528,7 +2530,7 @@ var Mt = Ln ? (
|
|
|
2528
2530
|
return t;
|
|
2529
2531
|
}
|
|
2530
2532
|
)
|
|
2531
|
-
),
|
|
2533
|
+
), yi = kn ? (
|
|
2532
2534
|
// Native
|
|
2533
2535
|
function(r, t) {
|
|
2534
2536
|
return r.codePointAt(t);
|
|
@@ -2542,7 +2544,7 @@ var Mt = Ln ? (
|
|
|
2542
2544
|
return n < 55296 || n > 56319 || t + 1 === i || (s = r.charCodeAt(t + 1)) < 56320 || s > 57343 ? n : (n - 55296 << 10) + (s - 56320) + 65536;
|
|
2543
2545
|
}
|
|
2544
2546
|
}
|
|
2545
|
-
),
|
|
2547
|
+
), $n = Fn ? (
|
|
2546
2548
|
// Native
|
|
2547
2549
|
function(r) {
|
|
2548
2550
|
return r.trimStart();
|
|
@@ -2550,9 +2552,9 @@ var Mt = Ln ? (
|
|
|
2550
2552
|
) : (
|
|
2551
2553
|
// Ponyfill
|
|
2552
2554
|
function(r) {
|
|
2553
|
-
return r.replace(
|
|
2555
|
+
return r.replace(On, "");
|
|
2554
2556
|
}
|
|
2555
|
-
),
|
|
2557
|
+
), zn = Dn ? (
|
|
2556
2558
|
// Native
|
|
2557
2559
|
function(r) {
|
|
2558
2560
|
return r.trimEnd();
|
|
@@ -2560,32 +2562,32 @@ var Mt = Ln ? (
|
|
|
2560
2562
|
) : (
|
|
2561
2563
|
// Ponyfill
|
|
2562
2564
|
function(r) {
|
|
2563
|
-
return r.replace(
|
|
2565
|
+
return r.replace(Ln, "");
|
|
2564
2566
|
}
|
|
2565
2567
|
);
|
|
2566
|
-
function
|
|
2568
|
+
function Ei(e, r) {
|
|
2567
2569
|
return new RegExp(e, r);
|
|
2568
2570
|
}
|
|
2569
2571
|
var bt;
|
|
2570
2572
|
if (gt) {
|
|
2571
|
-
var
|
|
2573
|
+
var Ft = Ei("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2572
2574
|
bt = function(r, t) {
|
|
2573
2575
|
var i;
|
|
2574
|
-
|
|
2575
|
-
var n =
|
|
2576
|
+
Ft.lastIndex = t;
|
|
2577
|
+
var n = Ft.exec(r);
|
|
2576
2578
|
return (i = n[1]) !== null && i !== void 0 ? i : "";
|
|
2577
2579
|
};
|
|
2578
2580
|
} else
|
|
2579
2581
|
bt = function(r, t) {
|
|
2580
2582
|
for (var i = []; ; ) {
|
|
2581
|
-
var n =
|
|
2582
|
-
if (n === void 0 ||
|
|
2583
|
+
var n = yi(r, t);
|
|
2584
|
+
if (n === void 0 || vi(n) || Wn(n))
|
|
2583
2585
|
break;
|
|
2584
2586
|
i.push(n), t += n >= 65536 ? 2 : 1;
|
|
2585
2587
|
}
|
|
2586
2588
|
return pt.apply(void 0, i);
|
|
2587
2589
|
};
|
|
2588
|
-
var
|
|
2590
|
+
var Qn = (
|
|
2589
2591
|
/** @class */
|
|
2590
2592
|
function() {
|
|
2591
2593
|
function e(r, t) {
|
|
@@ -2667,7 +2669,7 @@ var zn = (
|
|
|
2667
2669
|
return this.error(S.INVALID_TAG, P(i, this.clonePosition()));
|
|
2668
2670
|
}, e.prototype.parseTagName = function() {
|
|
2669
2671
|
var r = this.offset();
|
|
2670
|
-
for (this.bump(); !this.isEOF() &&
|
|
2672
|
+
for (this.bump(); !this.isEOF() && Zn(this.char()); )
|
|
2671
2673
|
this.bump();
|
|
2672
2674
|
return this.message.slice(r, this.offset());
|
|
2673
2675
|
}, e.prototype.parseLiteral = function(r, t) {
|
|
@@ -2696,7 +2698,7 @@ var zn = (
|
|
|
2696
2698
|
};
|
|
2697
2699
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
2698
2700
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
2699
|
-
!
|
|
2701
|
+
!Xn(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
2700
2702
|
}, e.prototype.tryParseQuote = function(r) {
|
|
2701
2703
|
if (this.isEOF() || this.char() !== 39)
|
|
2702
2704
|
return null;
|
|
@@ -2780,10 +2782,10 @@ var zn = (
|
|
|
2780
2782
|
var c = null;
|
|
2781
2783
|
if (this.bumpIf(",")) {
|
|
2782
2784
|
this.bumpSpace();
|
|
2783
|
-
var h = this.clonePosition(),
|
|
2784
|
-
if (
|
|
2785
|
-
return
|
|
2786
|
-
var g =
|
|
2785
|
+
var h = this.clonePosition(), m = this.parseSimpleArgStyleIfPossible();
|
|
2786
|
+
if (m.err)
|
|
2787
|
+
return m;
|
|
2788
|
+
var g = zn(m.val);
|
|
2787
2789
|
if (g.length === 0)
|
|
2788
2790
|
return this.error(S.EXPECT_ARGUMENT_STYLE, P(this.clonePosition(), this.clonePosition()));
|
|
2789
2791
|
var b = P(h, this.clonePosition());
|
|
@@ -2793,24 +2795,24 @@ var zn = (
|
|
|
2793
2795
|
if (w.err)
|
|
2794
2796
|
return w;
|
|
2795
2797
|
var y = P(n, this.clonePosition());
|
|
2796
|
-
if (c &&
|
|
2797
|
-
var A =
|
|
2798
|
+
if (c && Ut(c?.style, "::", 0)) {
|
|
2799
|
+
var A = $n(c.style.slice(2));
|
|
2798
2800
|
if (a === "number") {
|
|
2799
|
-
var
|
|
2800
|
-
return
|
|
2801
|
-
val: { type: L.number, value: i, location: y, style:
|
|
2801
|
+
var m = this.parseNumberSkeletonFromString(A, c.styleLocation);
|
|
2802
|
+
return m.err ? m : {
|
|
2803
|
+
val: { type: L.number, value: i, location: y, style: m.val },
|
|
2802
2804
|
err: null
|
|
2803
2805
|
};
|
|
2804
2806
|
} else {
|
|
2805
2807
|
if (A.length === 0)
|
|
2806
2808
|
return this.error(S.EXPECT_DATE_TIME_SKELETON, y);
|
|
2807
2809
|
var O = A;
|
|
2808
|
-
this.locale && (O =
|
|
2810
|
+
this.locale && (O = In(A, this.locale));
|
|
2809
2811
|
var g = {
|
|
2810
2812
|
type: sr.dateTime,
|
|
2811
2813
|
pattern: O,
|
|
2812
2814
|
location: c.styleLocation,
|
|
2813
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2815
|
+
parsedOptions: this.shouldParseSkeletons ? Pn(O) : {}
|
|
2814
2816
|
}, M = a === "date" ? L.date : L.time;
|
|
2815
2817
|
return {
|
|
2816
2818
|
val: { type: M, value: i, location: y, style: g },
|
|
@@ -2840,14 +2842,14 @@ var zn = (
|
|
|
2840
2842
|
if (!this.bumpIf(":"))
|
|
2841
2843
|
return this.error(S.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, P(this.clonePosition(), this.clonePosition()));
|
|
2842
2844
|
this.bumpSpace();
|
|
2843
|
-
var
|
|
2844
|
-
if (
|
|
2845
|
-
return
|
|
2846
|
-
this.bumpSpace(), ce = this.parseIdentifierIfPossible(), G =
|
|
2845
|
+
var m = this.tryParseDecimalInteger(S.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, S.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
2846
|
+
if (m.err)
|
|
2847
|
+
return m;
|
|
2848
|
+
this.bumpSpace(), ce = this.parseIdentifierIfPossible(), G = m.val;
|
|
2847
2849
|
}
|
|
2848
|
-
var
|
|
2849
|
-
if (
|
|
2850
|
-
return
|
|
2850
|
+
var me = this.tryParsePluralOrSelectOptions(r, a, t, ce);
|
|
2851
|
+
if (me.err)
|
|
2852
|
+
return me;
|
|
2851
2853
|
var w = this.tryParseArgumentClose(n);
|
|
2852
2854
|
if (w.err)
|
|
2853
2855
|
return w;
|
|
@@ -2856,7 +2858,7 @@ var zn = (
|
|
|
2856
2858
|
val: {
|
|
2857
2859
|
type: L.select,
|
|
2858
2860
|
value: i,
|
|
2859
|
-
options:
|
|
2861
|
+
options: kt(me.val),
|
|
2860
2862
|
location: U
|
|
2861
2863
|
},
|
|
2862
2864
|
err: null
|
|
@@ -2864,7 +2866,7 @@ var zn = (
|
|
|
2864
2866
|
val: {
|
|
2865
2867
|
type: L.plural,
|
|
2866
2868
|
value: i,
|
|
2867
|
-
options:
|
|
2869
|
+
options: kt(me.val),
|
|
2868
2870
|
offset: G,
|
|
2869
2871
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
2870
2872
|
location: U
|
|
@@ -2915,7 +2917,7 @@ var zn = (
|
|
|
2915
2917
|
}, e.prototype.parseNumberSkeletonFromString = function(r, t) {
|
|
2916
2918
|
var i = [];
|
|
2917
2919
|
try {
|
|
2918
|
-
i =
|
|
2920
|
+
i = Cn(r);
|
|
2919
2921
|
} catch {
|
|
2920
2922
|
return this.error(S.INVALID_NUMBER_SKELETON, t);
|
|
2921
2923
|
}
|
|
@@ -2924,19 +2926,19 @@ var zn = (
|
|
|
2924
2926
|
type: sr.number,
|
|
2925
2927
|
tokens: i,
|
|
2926
2928
|
location: t,
|
|
2927
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2929
|
+
parsedOptions: this.shouldParseSkeletons ? Bn(i) : {}
|
|
2928
2930
|
},
|
|
2929
2931
|
err: null
|
|
2930
2932
|
};
|
|
2931
2933
|
}, e.prototype.tryParsePluralOrSelectOptions = function(r, t, i, n) {
|
|
2932
2934
|
for (var s, u = !1, a = [], f = /* @__PURE__ */ new Set(), c = n.value, h = n.location; ; ) {
|
|
2933
2935
|
if (c.length === 0) {
|
|
2934
|
-
var
|
|
2936
|
+
var m = this.clonePosition();
|
|
2935
2937
|
if (t !== "select" && this.bumpIf("=")) {
|
|
2936
2938
|
var g = this.tryParseDecimalInteger(S.EXPECT_PLURAL_ARGUMENT_SELECTOR, S.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
2937
2939
|
if (g.err)
|
|
2938
2940
|
return g;
|
|
2939
|
-
h = P(
|
|
2941
|
+
h = P(m, this.clonePosition()), c = this.message.slice(m.offset, this.offset());
|
|
2940
2942
|
} else
|
|
2941
2943
|
break;
|
|
2942
2944
|
}
|
|
@@ -2972,7 +2974,7 @@ var zn = (
|
|
|
2972
2974
|
break;
|
|
2973
2975
|
}
|
|
2974
2976
|
var f = P(n, this.clonePosition());
|
|
2975
|
-
return s ? (u *= i,
|
|
2977
|
+
return s ? (u *= i, jn(u) ? { val: u, err: null } : this.error(t, f)) : this.error(r, f);
|
|
2976
2978
|
}, e.prototype.offset = function() {
|
|
2977
2979
|
return this.position.offset;
|
|
2978
2980
|
}, e.prototype.isEOF = function() {
|
|
@@ -2987,7 +2989,7 @@ var zn = (
|
|
|
2987
2989
|
var r = this.position.offset;
|
|
2988
2990
|
if (r >= this.message.length)
|
|
2989
2991
|
throw Error("out of bound");
|
|
2990
|
-
var t =
|
|
2992
|
+
var t = yi(this.message, r);
|
|
2991
2993
|
if (t === void 0)
|
|
2992
2994
|
throw Error("Offset ".concat(r, " is at invalid UTF-16 code unit boundary"));
|
|
2993
2995
|
return t;
|
|
@@ -3006,7 +3008,7 @@ var zn = (
|
|
|
3006
3008
|
r === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += r < 65536 ? 1 : 2);
|
|
3007
3009
|
}
|
|
3008
3010
|
}, e.prototype.bumpIf = function(r) {
|
|
3009
|
-
if (
|
|
3011
|
+
if (Ut(this.message, r, this.offset())) {
|
|
3010
3012
|
for (var t = 0; t < r.length; t++)
|
|
3011
3013
|
this.bump();
|
|
3012
3014
|
return !0;
|
|
@@ -3028,7 +3030,7 @@ var zn = (
|
|
|
3028
3030
|
break;
|
|
3029
3031
|
}
|
|
3030
3032
|
}, e.prototype.bumpSpace = function() {
|
|
3031
|
-
for (; !this.isEOF() &&
|
|
3033
|
+
for (; !this.isEOF() && vi(this.char()); )
|
|
3032
3034
|
this.bump();
|
|
3033
3035
|
}, e.prototype.peek = function() {
|
|
3034
3036
|
if (this.isEOF())
|
|
@@ -3041,30 +3043,30 @@ var zn = (
|
|
|
3041
3043
|
function yt(e) {
|
|
3042
3044
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3043
3045
|
}
|
|
3044
|
-
function
|
|
3046
|
+
function Xn(e) {
|
|
3045
3047
|
return yt(e) || e === 47;
|
|
3046
3048
|
}
|
|
3047
|
-
function
|
|
3049
|
+
function Zn(e) {
|
|
3048
3050
|
return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
|
|
3049
3051
|
}
|
|
3050
|
-
function
|
|
3052
|
+
function vi(e) {
|
|
3051
3053
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3052
3054
|
}
|
|
3053
|
-
function
|
|
3055
|
+
function Wn(e) {
|
|
3054
3056
|
return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
|
|
3055
3057
|
}
|
|
3056
3058
|
function Et(e) {
|
|
3057
3059
|
e.forEach(function(r) {
|
|
3058
|
-
if (delete r.location,
|
|
3060
|
+
if (delete r.location, ci(r) || hi(r))
|
|
3059
3061
|
for (var t in r.options)
|
|
3060
3062
|
delete r.options[t].location, Et(r.options[t].value);
|
|
3061
3063
|
else
|
|
3062
|
-
|
|
3064
|
+
ai(r) && di(r.style) || (li(r) || ui(r)) && mt(r.style) ? delete r.style.location : fi(r) && Et(r.children);
|
|
3063
3065
|
});
|
|
3064
3066
|
}
|
|
3065
|
-
function
|
|
3067
|
+
function qn(e, r) {
|
|
3066
3068
|
r === void 0 && (r = {}), r = T({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, r);
|
|
3067
|
-
var t = new
|
|
3069
|
+
var t = new Qn(e, r).parse();
|
|
3068
3070
|
if (t.err) {
|
|
3069
3071
|
var i = SyntaxError(S[t.err.kind]);
|
|
3070
3072
|
throw i.location = t.err.location, i.originalMessage = t.err.message, i;
|
|
@@ -3087,7 +3089,7 @@ var Kr = (
|
|
|
3087
3089
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3088
3090
|
}, r;
|
|
3089
3091
|
}(Error)
|
|
3090
|
-
),
|
|
3092
|
+
), Dt = (
|
|
3091
3093
|
/** @class */
|
|
3092
3094
|
function(e) {
|
|
3093
3095
|
Yr(r, e);
|
|
@@ -3096,7 +3098,7 @@ var Kr = (
|
|
|
3096
3098
|
}
|
|
3097
3099
|
return r;
|
|
3098
3100
|
}(Kr)
|
|
3099
|
-
),
|
|
3101
|
+
), Jn = (
|
|
3100
3102
|
/** @class */
|
|
3101
3103
|
function(e) {
|
|
3102
3104
|
Yr(r, e);
|
|
@@ -3105,7 +3107,7 @@ var Kr = (
|
|
|
3105
3107
|
}
|
|
3106
3108
|
return r;
|
|
3107
3109
|
}(Kr)
|
|
3108
|
-
),
|
|
3110
|
+
), Yn = (
|
|
3109
3111
|
/** @class */
|
|
3110
3112
|
function(e) {
|
|
3111
3113
|
Yr(r, e);
|
|
@@ -3118,17 +3120,17 @@ var Kr = (
|
|
|
3118
3120
|
(function(e) {
|
|
3119
3121
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3120
3122
|
})(z || (z = {}));
|
|
3121
|
-
function
|
|
3123
|
+
function Kn(e) {
|
|
3122
3124
|
return e.length < 2 ? e : e.reduce(function(r, t) {
|
|
3123
3125
|
var i = r[r.length - 1];
|
|
3124
3126
|
return !i || i.type !== z.literal || t.type !== z.literal ? r.push(t) : i.value += t.value, r;
|
|
3125
3127
|
}, []);
|
|
3126
3128
|
}
|
|
3127
|
-
function
|
|
3129
|
+
function es(e) {
|
|
3128
3130
|
return typeof e == "function";
|
|
3129
3131
|
}
|
|
3130
3132
|
function Xr(e, r, t, i, n, s, u) {
|
|
3131
|
-
if (e.length === 1 &&
|
|
3133
|
+
if (e.length === 1 && Ot(e[0]))
|
|
3132
3134
|
return [
|
|
3133
3135
|
{
|
|
3134
3136
|
type: z.literal,
|
|
@@ -3137,59 +3139,59 @@ function Xr(e, r, t, i, n, s, u) {
|
|
|
3137
3139
|
];
|
|
3138
3140
|
for (var a = [], f = 0, c = e; f < c.length; f++) {
|
|
3139
3141
|
var h = c[f];
|
|
3140
|
-
if (
|
|
3142
|
+
if (Ot(h)) {
|
|
3141
3143
|
a.push({
|
|
3142
3144
|
type: z.literal,
|
|
3143
3145
|
value: h.value
|
|
3144
3146
|
});
|
|
3145
3147
|
continue;
|
|
3146
3148
|
}
|
|
3147
|
-
if (
|
|
3149
|
+
if (_n(h)) {
|
|
3148
3150
|
typeof s == "number" && a.push({
|
|
3149
3151
|
type: z.literal,
|
|
3150
3152
|
value: t.getNumberFormat(r).format(s)
|
|
3151
3153
|
});
|
|
3152
3154
|
continue;
|
|
3153
3155
|
}
|
|
3154
|
-
var
|
|
3155
|
-
if (!(n &&
|
|
3156
|
-
throw new
|
|
3157
|
-
var g = n[
|
|
3158
|
-
if (
|
|
3156
|
+
var m = h.value;
|
|
3157
|
+
if (!(n && m in n))
|
|
3158
|
+
throw new Yn(m, u);
|
|
3159
|
+
var g = n[m];
|
|
3160
|
+
if (wn(h)) {
|
|
3159
3161
|
(!g || typeof g == "string" || typeof g == "number") && (g = typeof g == "string" || typeof g == "number" ? String(g) : ""), a.push({
|
|
3160
3162
|
type: typeof g == "string" ? z.literal : z.object,
|
|
3161
3163
|
value: g
|
|
3162
3164
|
});
|
|
3163
3165
|
continue;
|
|
3164
3166
|
}
|
|
3165
|
-
if (
|
|
3166
|
-
var b = typeof h.style == "string" ? i.date[h.style] :
|
|
3167
|
+
if (li(h)) {
|
|
3168
|
+
var b = typeof h.style == "string" ? i.date[h.style] : mt(h.style) ? h.style.parsedOptions : void 0;
|
|
3167
3169
|
a.push({
|
|
3168
3170
|
type: z.literal,
|
|
3169
3171
|
value: t.getDateTimeFormat(r, b).format(g)
|
|
3170
3172
|
});
|
|
3171
3173
|
continue;
|
|
3172
3174
|
}
|
|
3173
|
-
if (
|
|
3174
|
-
var b = typeof h.style == "string" ? i.time[h.style] :
|
|
3175
|
+
if (ui(h)) {
|
|
3176
|
+
var b = typeof h.style == "string" ? i.time[h.style] : mt(h.style) ? h.style.parsedOptions : i.time.medium;
|
|
3175
3177
|
a.push({
|
|
3176
3178
|
type: z.literal,
|
|
3177
3179
|
value: t.getDateTimeFormat(r, b).format(g)
|
|
3178
3180
|
});
|
|
3179
3181
|
continue;
|
|
3180
3182
|
}
|
|
3181
|
-
if (
|
|
3182
|
-
var b = typeof h.style == "string" ? i.number[h.style] :
|
|
3183
|
+
if (ai(h)) {
|
|
3184
|
+
var b = typeof h.style == "string" ? i.number[h.style] : di(h.style) ? h.style.parsedOptions : void 0;
|
|
3183
3185
|
b && b.scale && (g = g * (b.scale || 1)), a.push({
|
|
3184
3186
|
type: z.literal,
|
|
3185
3187
|
value: t.getNumberFormat(r, b).format(g)
|
|
3186
3188
|
});
|
|
3187
3189
|
continue;
|
|
3188
3190
|
}
|
|
3189
|
-
if (
|
|
3191
|
+
if (fi(h)) {
|
|
3190
3192
|
var w = h.children, y = h.value, A = n[y];
|
|
3191
|
-
if (!
|
|
3192
|
-
throw new
|
|
3193
|
+
if (!es(A))
|
|
3194
|
+
throw new Jn(y, "function", u);
|
|
3193
3195
|
var O = Xr(w, r, t, i, n, s), M = A(O.map(function(G) {
|
|
3194
3196
|
return G.value;
|
|
3195
3197
|
}));
|
|
@@ -3200,14 +3202,14 @@ function Xr(e, r, t, i, n, s, u) {
|
|
|
3200
3202
|
};
|
|
3201
3203
|
}));
|
|
3202
3204
|
}
|
|
3203
|
-
if (
|
|
3205
|
+
if (ci(h)) {
|
|
3204
3206
|
var R = h.options[g] || h.options.other;
|
|
3205
3207
|
if (!R)
|
|
3206
|
-
throw new
|
|
3208
|
+
throw new Dt(h.value, g, Object.keys(h.options), u);
|
|
3207
3209
|
a.push.apply(a, Xr(R.value, r, t, i, n));
|
|
3208
3210
|
continue;
|
|
3209
3211
|
}
|
|
3210
|
-
if (
|
|
3212
|
+
if (hi(h)) {
|
|
3211
3213
|
var R = h.options["=".concat(g)];
|
|
3212
3214
|
if (!R) {
|
|
3213
3215
|
if (!Intl.PluralRules)
|
|
@@ -3218,21 +3220,21 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
|
3218
3220
|
R = h.options[ce] || h.options.other;
|
|
3219
3221
|
}
|
|
3220
3222
|
if (!R)
|
|
3221
|
-
throw new
|
|
3223
|
+
throw new Dt(h.value, g, Object.keys(h.options), u);
|
|
3222
3224
|
a.push.apply(a, Xr(R.value, r, t, i, n, g - (h.offset || 0)));
|
|
3223
3225
|
continue;
|
|
3224
3226
|
}
|
|
3225
3227
|
}
|
|
3226
|
-
return
|
|
3228
|
+
return Kn(a);
|
|
3227
3229
|
}
|
|
3228
|
-
function
|
|
3230
|
+
function rs(e, r) {
|
|
3229
3231
|
return r ? T(T(T({}, e || {}), r || {}), Object.keys(e).reduce(function(t, i) {
|
|
3230
3232
|
return t[i] = T(T({}, e[i]), r[i] || {}), t;
|
|
3231
3233
|
}, {})) : e;
|
|
3232
3234
|
}
|
|
3233
|
-
function
|
|
3235
|
+
function ts(e, r) {
|
|
3234
3236
|
return r ? Object.keys(e).reduce(function(t, i) {
|
|
3235
|
-
return t[i] =
|
|
3237
|
+
return t[i] = rs(e[i], r[i]), t;
|
|
3236
3238
|
}, T({}, e)) : e;
|
|
3237
3239
|
}
|
|
3238
3240
|
function ut(e) {
|
|
@@ -3249,7 +3251,7 @@ function ut(e) {
|
|
|
3249
3251
|
}
|
|
3250
3252
|
};
|
|
3251
3253
|
}
|
|
3252
|
-
function
|
|
3254
|
+
function is(e) {
|
|
3253
3255
|
return e === void 0 && (e = {
|
|
3254
3256
|
number: {},
|
|
3255
3257
|
dateTime: {},
|
|
@@ -3281,7 +3283,7 @@ function ts(e) {
|
|
|
3281
3283
|
})
|
|
3282
3284
|
};
|
|
3283
3285
|
}
|
|
3284
|
-
var
|
|
3286
|
+
var ns = (
|
|
3285
3287
|
/** @class */
|
|
3286
3288
|
function() {
|
|
3287
3289
|
function e(r, t, i, n) {
|
|
@@ -3295,8 +3297,8 @@ var is = (
|
|
|
3295
3297
|
var c = s.formatToParts(f);
|
|
3296
3298
|
if (c.length === 1)
|
|
3297
3299
|
return c[0].value;
|
|
3298
|
-
var h = c.reduce(function(
|
|
3299
|
-
return !
|
|
3300
|
+
var h = c.reduce(function(m, g) {
|
|
3301
|
+
return !m.length || g.type !== z.literal || typeof m[m.length - 1] != "string" ? m.push(g.value) : m[m.length - 1] += g.value, m;
|
|
3300
3302
|
}, []);
|
|
3301
3303
|
return h.length <= 1 ? h[0] || "" : h;
|
|
3302
3304
|
}, this.formatToParts = function(f) {
|
|
@@ -3313,13 +3315,13 @@ var is = (
|
|
|
3313
3315
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3314
3316
|
var u = n || {};
|
|
3315
3317
|
u.formatters;
|
|
3316
|
-
var a =
|
|
3318
|
+
var a = mn(u, ["formatters"]);
|
|
3317
3319
|
this.ast = e.__parse(r, T(T({}, a), { locale: this.resolvedLocale }));
|
|
3318
3320
|
} else
|
|
3319
3321
|
this.ast = r;
|
|
3320
3322
|
if (!Array.isArray(this.ast))
|
|
3321
3323
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3322
|
-
this.formats =
|
|
3324
|
+
this.formats = ts(e.formats, i), this.formatters = n && n.formatters || is(this.formatterCache);
|
|
3323
3325
|
}
|
|
3324
3326
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3325
3327
|
get: function() {
|
|
@@ -3332,7 +3334,7 @@ var is = (
|
|
|
3332
3334
|
var t = Intl.NumberFormat.supportedLocalesOf(r);
|
|
3333
3335
|
return t.length > 0 ? new Intl.Locale(t[0]) : new Intl.Locale(typeof r == "string" ? r : r[0]);
|
|
3334
3336
|
}
|
|
3335
|
-
}, e.__parse =
|
|
3337
|
+
}, e.__parse = qn, e.formats = {
|
|
3336
3338
|
number: {
|
|
3337
3339
|
integer: {
|
|
3338
3340
|
maximumFractionDigits: 0
|
|
@@ -3393,7 +3395,7 @@ var is = (
|
|
|
3393
3395
|
}, e;
|
|
3394
3396
|
}()
|
|
3395
3397
|
);
|
|
3396
|
-
function
|
|
3398
|
+
function ss(e, r) {
|
|
3397
3399
|
if (r == null)
|
|
3398
3400
|
return;
|
|
3399
3401
|
if (r in e)
|
|
@@ -3414,60 +3416,60 @@ function ns(e, r) {
|
|
|
3414
3416
|
i = void 0;
|
|
3415
3417
|
return i;
|
|
3416
3418
|
}
|
|
3417
|
-
const Ne = {},
|
|
3419
|
+
const Ne = {}, os = (e, r, t) => t && (r in Ne || (Ne[r] = {}), e in Ne[r] || (Ne[r][e] = t), t), wi = (e, r) => {
|
|
3418
3420
|
if (r == null)
|
|
3419
3421
|
return;
|
|
3420
3422
|
if (r in Ne && e in Ne[r])
|
|
3421
3423
|
return Ne[r][e];
|
|
3422
3424
|
const t = et(r);
|
|
3423
3425
|
for (let i = 0; i < t.length; i++) {
|
|
3424
|
-
const n = t[i], s =
|
|
3426
|
+
const n = t[i], s = ls(n, e);
|
|
3425
3427
|
if (s)
|
|
3426
|
-
return
|
|
3428
|
+
return os(e, r, s);
|
|
3427
3429
|
}
|
|
3428
3430
|
};
|
|
3429
|
-
let
|
|
3431
|
+
let xt;
|
|
3430
3432
|
const Cr = Jr({});
|
|
3431
|
-
function
|
|
3432
|
-
return
|
|
3433
|
+
function as(e) {
|
|
3434
|
+
return xt[e] || null;
|
|
3433
3435
|
}
|
|
3434
|
-
function
|
|
3435
|
-
return e in
|
|
3436
|
+
function _i(e) {
|
|
3437
|
+
return e in xt;
|
|
3436
3438
|
}
|
|
3437
|
-
function
|
|
3438
|
-
if (!
|
|
3439
|
+
function ls(e, r) {
|
|
3440
|
+
if (!_i(e))
|
|
3439
3441
|
return null;
|
|
3440
|
-
const t =
|
|
3441
|
-
return
|
|
3442
|
+
const t = as(e);
|
|
3443
|
+
return ss(t, r);
|
|
3442
3444
|
}
|
|
3443
|
-
function
|
|
3445
|
+
function us(e) {
|
|
3444
3446
|
if (e == null)
|
|
3445
3447
|
return;
|
|
3446
3448
|
const r = et(e);
|
|
3447
3449
|
for (let t = 0; t < r.length; t++) {
|
|
3448
3450
|
const i = r[t];
|
|
3449
|
-
if (
|
|
3451
|
+
if (_i(i))
|
|
3450
3452
|
return i;
|
|
3451
3453
|
}
|
|
3452
3454
|
}
|
|
3453
|
-
function
|
|
3454
|
-
delete Ne[e], Cr.update((t) => (t[e] =
|
|
3455
|
+
function Si(e, ...r) {
|
|
3456
|
+
delete Ne[e], Cr.update((t) => (t[e] = dn.all([t[e] || {}, ...r]), t));
|
|
3455
3457
|
}
|
|
3456
3458
|
ur(
|
|
3457
3459
|
[Cr],
|
|
3458
3460
|
([e]) => Object.keys(e)
|
|
3459
3461
|
);
|
|
3460
|
-
Cr.subscribe((e) =>
|
|
3462
|
+
Cr.subscribe((e) => xt = e);
|
|
3461
3463
|
const Zr = {};
|
|
3462
|
-
function
|
|
3464
|
+
function cs(e, r) {
|
|
3463
3465
|
Zr[e].delete(r), Zr[e].size === 0 && delete Zr[e];
|
|
3464
3466
|
}
|
|
3465
|
-
function
|
|
3467
|
+
function Pi(e) {
|
|
3466
3468
|
return Zr[e];
|
|
3467
3469
|
}
|
|
3468
|
-
function
|
|
3470
|
+
function hs(e) {
|
|
3469
3471
|
return et(e).map((r) => {
|
|
3470
|
-
const t =
|
|
3472
|
+
const t = Pi(r);
|
|
3471
3473
|
return [r, t ? [...t] : []];
|
|
3472
3474
|
}).filter(([, r]) => r.length > 0);
|
|
3473
3475
|
}
|
|
@@ -3475,31 +3477,31 @@ function vt(e) {
|
|
|
3475
3477
|
return e == null ? !1 : et(e).some(
|
|
3476
3478
|
(r) => {
|
|
3477
3479
|
var t;
|
|
3478
|
-
return (t =
|
|
3480
|
+
return (t = Pi(r)) == null ? void 0 : t.size;
|
|
3479
3481
|
}
|
|
3480
3482
|
);
|
|
3481
3483
|
}
|
|
3482
|
-
function
|
|
3484
|
+
function fs(e, r) {
|
|
3483
3485
|
return Promise.all(
|
|
3484
|
-
r.map((i) => (
|
|
3485
|
-
).then((i) =>
|
|
3486
|
+
r.map((i) => (cs(e, i), i().then((n) => n.default || n)))
|
|
3487
|
+
).then((i) => Si(e, ...i));
|
|
3486
3488
|
}
|
|
3487
3489
|
const vr = {};
|
|
3488
|
-
function
|
|
3490
|
+
function xi(e) {
|
|
3489
3491
|
if (!vt(e))
|
|
3490
3492
|
return e in vr ? vr[e] : Promise.resolve();
|
|
3491
|
-
const r =
|
|
3493
|
+
const r = hs(e);
|
|
3492
3494
|
return vr[e] = Promise.all(
|
|
3493
3495
|
r.map(
|
|
3494
|
-
([t, i]) =>
|
|
3496
|
+
([t, i]) => fs(t, i)
|
|
3495
3497
|
)
|
|
3496
3498
|
).then(() => {
|
|
3497
3499
|
if (vt(e))
|
|
3498
|
-
return
|
|
3500
|
+
return xi(e);
|
|
3499
3501
|
delete vr[e];
|
|
3500
3502
|
}), vr[e];
|
|
3501
3503
|
}
|
|
3502
|
-
const
|
|
3504
|
+
const ds = {
|
|
3503
3505
|
number: {
|
|
3504
3506
|
scientific: { notation: "scientific" },
|
|
3505
3507
|
engineering: { notation: "engineering" },
|
|
@@ -3531,31 +3533,31 @@ const fs = {
|
|
|
3531
3533
|
}, ms = {
|
|
3532
3534
|
fallbackLocale: null,
|
|
3533
3535
|
loadingDelay: 200,
|
|
3534
|
-
formats:
|
|
3536
|
+
formats: ds,
|
|
3535
3537
|
warnOnMissingMessages: !0,
|
|
3536
3538
|
handleMissingMessage: void 0,
|
|
3537
3539
|
ignoreTag: !0
|
|
3538
|
-
},
|
|
3540
|
+
}, gs = ms;
|
|
3539
3541
|
function ar() {
|
|
3540
|
-
return
|
|
3542
|
+
return gs;
|
|
3541
3543
|
}
|
|
3542
3544
|
const ct = Jr(!1);
|
|
3543
|
-
var
|
|
3545
|
+
var ps = Object.defineProperty, bs = Object.defineProperties, ys = Object.getOwnPropertyDescriptors, Gt = Object.getOwnPropertySymbols, Es = Object.prototype.hasOwnProperty, vs = Object.prototype.propertyIsEnumerable, jt = (e, r, t) => r in e ? ps(e, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[r] = t, ws = (e, r) => {
|
|
3544
3546
|
for (var t in r || (r = {}))
|
|
3545
|
-
|
|
3546
|
-
if (
|
|
3547
|
-
for (var t of
|
|
3548
|
-
|
|
3547
|
+
Es.call(r, t) && jt(e, t, r[t]);
|
|
3548
|
+
if (Gt)
|
|
3549
|
+
for (var t of Gt(r))
|
|
3550
|
+
vs.call(r, t) && jt(e, t, r[t]);
|
|
3549
3551
|
return e;
|
|
3550
|
-
},
|
|
3552
|
+
}, _s = (e, r) => bs(e, ys(r));
|
|
3551
3553
|
let wt;
|
|
3552
3554
|
const Wr = Jr(null);
|
|
3553
|
-
function
|
|
3555
|
+
function Vt(e) {
|
|
3554
3556
|
return e.split("-").map((r, t, i) => i.slice(0, t + 1).join("-")).reverse();
|
|
3555
3557
|
}
|
|
3556
3558
|
function et(e, r = ar().fallbackLocale) {
|
|
3557
|
-
const t =
|
|
3558
|
-
return r ? [.../* @__PURE__ */ new Set([...t, ...
|
|
3559
|
+
const t = Vt(e);
|
|
3560
|
+
return r ? [.../* @__PURE__ */ new Set([...t, ...Vt(r)])] : t;
|
|
3559
3561
|
}
|
|
3560
3562
|
function Fe() {
|
|
3561
3563
|
return wt ?? void 0;
|
|
@@ -3563,22 +3565,22 @@ function Fe() {
|
|
|
3563
3565
|
Wr.subscribe((e) => {
|
|
3564
3566
|
wt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3565
3567
|
});
|
|
3566
|
-
const
|
|
3567
|
-
if (e &&
|
|
3568
|
+
const Ss = (e) => {
|
|
3569
|
+
if (e && us(e) && vt(e)) {
|
|
3568
3570
|
const { loadingDelay: r } = ar();
|
|
3569
3571
|
let t;
|
|
3570
3572
|
return typeof window < "u" && Fe() != null && r ? t = window.setTimeout(
|
|
3571
3573
|
() => ct.set(!0),
|
|
3572
3574
|
r
|
|
3573
|
-
) : ct.set(!0),
|
|
3575
|
+
) : ct.set(!0), xi(e).then(() => {
|
|
3574
3576
|
Wr.set(e);
|
|
3575
3577
|
}).finally(() => {
|
|
3576
3578
|
clearTimeout(t), ct.set(!1);
|
|
3577
3579
|
});
|
|
3578
3580
|
}
|
|
3579
3581
|
return Wr.set(e);
|
|
3580
|
-
}, cr = ws(
|
|
3581
|
-
set:
|
|
3582
|
+
}, cr = _s(ws({}, Wr), {
|
|
3583
|
+
set: Ss
|
|
3582
3584
|
}), rt = (e) => {
|
|
3583
3585
|
const r = /* @__PURE__ */ Object.create(null);
|
|
3584
3586
|
return (i) => {
|
|
@@ -3586,20 +3588,20 @@ const _s = (e) => {
|
|
|
3586
3588
|
return n in r ? r[n] : r[n] = e(i);
|
|
3587
3589
|
};
|
|
3588
3590
|
};
|
|
3589
|
-
var
|
|
3591
|
+
var Ps = Object.defineProperty, qr = Object.getOwnPropertySymbols, Ci = Object.prototype.hasOwnProperty, Ai = Object.prototype.propertyIsEnumerable, $t = (e, r, t) => r in e ? Ps(e, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[r] = t, Ct = (e, r) => {
|
|
3590
3592
|
for (var t in r || (r = {}))
|
|
3591
|
-
|
|
3593
|
+
Ci.call(r, t) && $t(e, t, r[t]);
|
|
3592
3594
|
if (qr)
|
|
3593
3595
|
for (var t of qr(r))
|
|
3594
|
-
|
|
3596
|
+
Ai.call(r, t) && $t(e, t, r[t]);
|
|
3595
3597
|
return e;
|
|
3596
3598
|
}, hr = (e, r) => {
|
|
3597
3599
|
var t = {};
|
|
3598
3600
|
for (var i in e)
|
|
3599
|
-
|
|
3601
|
+
Ci.call(e, i) && r.indexOf(i) < 0 && (t[i] = e[i]);
|
|
3600
3602
|
if (e != null && qr)
|
|
3601
3603
|
for (var i of qr(e))
|
|
3602
|
-
r.indexOf(i) < 0 &&
|
|
3604
|
+
r.indexOf(i) < 0 && Ai.call(e, i) && (t[i] = e[i]);
|
|
3603
3605
|
return t;
|
|
3604
3606
|
};
|
|
3605
3607
|
const xr = (e, r) => {
|
|
@@ -3607,21 +3609,21 @@ const xr = (e, r) => {
|
|
|
3607
3609
|
if (e in t && r in t[e])
|
|
3608
3610
|
return t[e][r];
|
|
3609
3611
|
throw new Error(`[svelte-i18n] Unknown "${r}" ${e} format.`);
|
|
3610
|
-
},
|
|
3612
|
+
}, xs = rt(
|
|
3611
3613
|
(e) => {
|
|
3612
3614
|
var r = e, { locale: t, format: i } = r, n = hr(r, ["locale", "format"]);
|
|
3613
3615
|
if (t == null)
|
|
3614
3616
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3615
3617
|
return i && (n = xr("number", i)), new Intl.NumberFormat(t, n);
|
|
3616
3618
|
}
|
|
3617
|
-
),
|
|
3619
|
+
), Cs = rt(
|
|
3618
3620
|
(e) => {
|
|
3619
3621
|
var r = e, { locale: t, format: i } = r, n = hr(r, ["locale", "format"]);
|
|
3620
3622
|
if (t == null)
|
|
3621
3623
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3622
3624
|
return i ? n = xr("date", i) : Object.keys(n).length === 0 && (n = xr("date", "short")), new Intl.DateTimeFormat(t, n);
|
|
3623
3625
|
}
|
|
3624
|
-
),
|
|
3626
|
+
), As = rt(
|
|
3625
3627
|
(e) => {
|
|
3626
3628
|
var r = e, { locale: t, format: i } = r, n = hr(r, ["locale", "format"]);
|
|
3627
3629
|
if (t == null)
|
|
@@ -3630,33 +3632,33 @@ const xr = (e, r) => {
|
|
|
3630
3632
|
);
|
|
3631
3633
|
return i ? n = xr("time", i) : Object.keys(n).length === 0 && (n = xr("time", "short")), new Intl.DateTimeFormat(t, n);
|
|
3632
3634
|
}
|
|
3633
|
-
),
|
|
3635
|
+
), Ts = (e = {}) => {
|
|
3634
3636
|
var r = e, {
|
|
3635
3637
|
locale: t = Fe()
|
|
3636
3638
|
} = r, i = hr(r, [
|
|
3637
3639
|
"locale"
|
|
3638
3640
|
]);
|
|
3639
|
-
return
|
|
3640
|
-
},
|
|
3641
|
+
return xs(Ct({ locale: t }, i));
|
|
3642
|
+
}, Hs = (e = {}) => {
|
|
3641
3643
|
var r = e, {
|
|
3642
3644
|
locale: t = Fe()
|
|
3643
3645
|
} = r, i = hr(r, [
|
|
3644
3646
|
"locale"
|
|
3645
3647
|
]);
|
|
3646
|
-
return
|
|
3647
|
-
},
|
|
3648
|
+
return Cs(Ct({ locale: t }, i));
|
|
3649
|
+
}, Bs = (e = {}) => {
|
|
3648
3650
|
var r = e, {
|
|
3649
3651
|
locale: t = Fe()
|
|
3650
3652
|
} = r, i = hr(r, [
|
|
3651
3653
|
"locale"
|
|
3652
3654
|
]);
|
|
3653
|
-
return
|
|
3654
|
-
},
|
|
3655
|
+
return As(Ct({ locale: t }, i));
|
|
3656
|
+
}, Is = rt(
|
|
3655
3657
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3656
|
-
(e, r = Fe()) => new
|
|
3658
|
+
(e, r = Fe()) => new ns(e, r, ar().formats, {
|
|
3657
3659
|
ignoreTag: ar().ignoreTag
|
|
3658
3660
|
})
|
|
3659
|
-
),
|
|
3661
|
+
), Ns = (e, r = {}) => {
|
|
3660
3662
|
var t, i, n, s;
|
|
3661
3663
|
let u = r;
|
|
3662
3664
|
typeof e == "object" && (u = e, e = u.id);
|
|
@@ -3669,7 +3671,7 @@ const xr = (e, r) => {
|
|
|
3669
3671
|
throw new Error(
|
|
3670
3672
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
3671
3673
|
);
|
|
3672
|
-
let h =
|
|
3674
|
+
let h = wi(e, f);
|
|
3673
3675
|
if (!h)
|
|
3674
3676
|
h = (s = (n = (i = (t = ar()).handleMissingMessage) == null ? void 0 : i.call(t, { locale: f, id: e, defaultValue: c })) != null ? n : c) != null ? s : e;
|
|
3675
3677
|
else if (typeof h != "string")
|
|
@@ -3678,28 +3680,28 @@ const xr = (e, r) => {
|
|
|
3678
3680
|
), h;
|
|
3679
3681
|
if (!a)
|
|
3680
3682
|
return h;
|
|
3681
|
-
let
|
|
3683
|
+
let m = h;
|
|
3682
3684
|
try {
|
|
3683
|
-
|
|
3685
|
+
m = Is(h, f).format(a);
|
|
3684
3686
|
} catch (g) {
|
|
3685
3687
|
g instanceof Error && console.warn(
|
|
3686
3688
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
3687
3689
|
g.message
|
|
3688
3690
|
);
|
|
3689
3691
|
}
|
|
3690
|
-
return
|
|
3691
|
-
},
|
|
3692
|
-
ur([cr], () => Ns);
|
|
3692
|
+
return m;
|
|
3693
|
+
}, Os = (e, r) => Bs(r).format(e), Ls = (e, r) => Hs(r).format(e), Ms = (e, r) => Ts(r).format(e), Rs = (e, r = Fe()) => wi(e, r), Us = ur([cr, Cr], () => Ns);
|
|
3693
3694
|
ur([cr], () => Os);
|
|
3694
3695
|
ur([cr], () => Ls);
|
|
3695
|
-
ur([cr
|
|
3696
|
-
|
|
3697
|
-
|
|
3696
|
+
ur([cr], () => Ms);
|
|
3697
|
+
ur([cr, Cr], () => Rs);
|
|
3698
|
+
function zt(e, r) {
|
|
3699
|
+
Si(e, r);
|
|
3698
3700
|
}
|
|
3699
|
-
function
|
|
3701
|
+
function ks(e) {
|
|
3700
3702
|
cr.set(e);
|
|
3701
3703
|
}
|
|
3702
|
-
const
|
|
3704
|
+
const Qt = {
|
|
3703
3705
|
en: {
|
|
3704
3706
|
registerTitle: "Create your account",
|
|
3705
3707
|
registerSubtitle: "Already have an account?",
|
|
@@ -3954,13 +3956,13 @@ const $t = {
|
|
|
3954
3956
|
registerNext: "Next"
|
|
3955
3957
|
}
|
|
3956
3958
|
};
|
|
3957
|
-
function
|
|
3959
|
+
function Fs(e, r) {
|
|
3958
3960
|
if (e) {
|
|
3959
3961
|
const t = document.createElement("style");
|
|
3960
3962
|
t.innerHTML = r, e.appendChild(t);
|
|
3961
3963
|
}
|
|
3962
3964
|
}
|
|
3963
|
-
function
|
|
3965
|
+
function Ds(e, r) {
|
|
3964
3966
|
const t = new URL(r);
|
|
3965
3967
|
fetch(t.href).then((i) => i.text()).then((i) => {
|
|
3966
3968
|
const n = document.createElement("style");
|
|
@@ -3969,7 +3971,7 @@ function Fs(e, r) {
|
|
|
3969
3971
|
console.error("There was an error while trying to load client styling from URL", i);
|
|
3970
3972
|
});
|
|
3971
3973
|
}
|
|
3972
|
-
function
|
|
3974
|
+
function Gs(e, r, t) {
|
|
3973
3975
|
if (window.emMessageBus) {
|
|
3974
3976
|
const i = document.createElement("style");
|
|
3975
3977
|
window.emMessageBus.subscribe(r, (n) => {
|
|
@@ -3977,10 +3979,10 @@ function Ds(e, r, t) {
|
|
|
3977
3979
|
});
|
|
3978
3980
|
}
|
|
3979
3981
|
}
|
|
3980
|
-
function
|
|
3981
|
-
|
|
3982
|
+
function js(e) {
|
|
3983
|
+
Bi(e, "svelte-1nn3twh", "input,select{font-family:inherit}.RegisterFormTitle{font-size:var(--emw--font-size-large, 20px);text-transform:uppercase;font-weight:var(--emw--font-weight-light, 300);margin:0;padding-bottom:8px}.RegisterFormSubtitle{font-size:var(--emw--font-size-small, 14px);margin:0;padding-bottom:20px}.FormLoginCallToAction{color:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-normal, 400);text-decoration:none;cursor:pointer}.EmailContainer,.UserContainer,.PasswordContainer,.ConfirmPasswordContainer,.PromoCodeContainer,.SecurityQuestionContainer,.SecurityAnswerContainer{color:var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444));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:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-light, 300);padding-bottom:5px}.EmailContainer input,.UserContainer input,.PasswordContainer input,.ConfirmPasswordContainer input,.PromoCodeContainer input,.SecurityQuestionContainer input,.SecurityAnswerContainer input{width:100%;height:44px;border-radius:var(--emw--border-radius-medium, 15px);border:1px solid var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444));box-sizing:border-box;padding:5px 15px;font-size:var(--emw--font-size-medium, 16px);line-height:18px}.EmailContainer input:focus,.UserContainer input:focus,.PasswordContainer input:focus,.ConfirmPasswordContainer input:focus,.PromoCodeContainer input:focus,.SecurityQuestionContainer input:focus,.SecurityAnswerContainer input:focus{border:2px solid var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));outline:none}.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--color-error, #F5090A);background:var(--emw--color-pale, #FBECF4);color:var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444))}.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, #E1A749))}.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-typography-cotrast, #444444))}.InvalidInput{color:var(--emw--color-error, var(--emw--color-error, #ed0909));font-size:10px;position:absolute;padding-top:5px;top:55px;line-height:10px}.ErrorMessage{margin:0 0 15px 0;font-size:var(--emw--font-size-x-small, 12px);color:var(--emw--color-error, var(--emw--color-error, #ed0909))}.RegisterStepNext{background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0E5924);border-radius:var(--emw--button-border-radius, 50px);color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF));width:100%;height:60px;padding:0;text-transform:uppercase;font-size:var(--emw--font-size-medium, 16px);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}");
|
|
3982
3984
|
}
|
|
3983
|
-
function
|
|
3985
|
+
function Xt(e) {
|
|
3984
3986
|
let r, t = (
|
|
3985
3987
|
/*$_*/
|
|
3986
3988
|
e[30]("registerEmailError") + ""
|
|
@@ -4002,7 +4004,7 @@ function zt(e) {
|
|
|
4002
4004
|
}
|
|
4003
4005
|
};
|
|
4004
4006
|
}
|
|
4005
|
-
function
|
|
4007
|
+
function Zt(e) {
|
|
4006
4008
|
let r, t = (
|
|
4007
4009
|
/*$_*/
|
|
4008
4010
|
e[30]("registerUsernameError") + ""
|
|
@@ -4024,14 +4026,14 @@ function Qt(e) {
|
|
|
4024
4026
|
}
|
|
4025
4027
|
};
|
|
4026
4028
|
}
|
|
4027
|
-
function
|
|
4029
|
+
function Vs(e) {
|
|
4028
4030
|
let r, t, i, n, s, u, a, f, c;
|
|
4029
4031
|
return {
|
|
4030
4032
|
c() {
|
|
4031
4033
|
r = _("svg"), t = _("defs"), i = _("style"), n = H(".a{fill:var(--emw--registration-typography, var(--emw--color-background, #07072A));}"), s = _("g"), u = _("path"), a = _("circle"), o(u, "class", "a"), o(u, "d", "M23.541,38.332a11.467,11.467,0,0,1-4.886-1.611,34.413,34.413,0,0,1-3.976-2.469,1.1,1.1,0,0,1-.494-.936,1.21,1.21,0,0,1,.442-.962A37.986,37.986,0,0,1,18.6,29.625a16.06,16.06,0,0,1,2.521-1.248,6.862,6.862,0,0,1,2.417-.546,6.862,6.862,0,0,1,2.417.546,20.541,20.541,0,0,1,2.547,1.248,45.872,45.872,0,0,1,4.054,2.729,1.159,1.159,0,0,1,.468.962,1.067,1.067,0,0,1-.52.936,36.353,36.353,0,0,1-4.054,2.469A11.2,11.2,0,0,1,23.541,38.332Zm0-9.46a9.813,9.813,0,0,0-4.392,1.663,44.138,44.138,0,0,0-3.873,2.651.13.13,0,0,0,0,.208,36.5,36.5,0,0,0,3.873,2.391,10.372,10.372,0,0,0,4.392,1.481,11.051,11.051,0,0,0,4.444-1.481,40.2,40.2,0,0,0,3.925-2.391.13.13,0,0,0,0-.208h0a34.132,34.132,0,0,0-3.925-2.651A10.072,10.072,0,0,0,23.541,28.872Z"), o(u, "transform", "translate(0)"), o(a, "class", "a"), o(a, "cx", "2.779"), o(a, "cy", "2.779"), o(a, "r", "2.779"), o(a, "transform", "translate(20.827 30.303)"), o(s, "transform", "translate(-14.185 -27.832)"), o(r, "class", "TogglePasswordVisibility"), o(r, "xmlns", "http://www.w3.org/2000/svg"), o(r, "width", "18.843"), o(r, "height", "10.5"), o(r, "viewBox", "0 0 18.843 10.5");
|
|
4032
4034
|
},
|
|
4033
|
-
m(h,
|
|
4034
|
-
ue(h, r,
|
|
4035
|
+
m(h, m) {
|
|
4036
|
+
ue(h, r, m), l(r, t), l(t, i), l(i, n), l(r, s), l(s, u), l(s, a), f || (c = x(
|
|
4035
4037
|
r,
|
|
4036
4038
|
"click",
|
|
4037
4039
|
/*click_handler_2*/
|
|
@@ -4044,14 +4046,14 @@ function js(e) {
|
|
|
4044
4046
|
}
|
|
4045
4047
|
};
|
|
4046
4048
|
}
|
|
4047
|
-
function
|
|
4048
|
-
let r, t, i, n, s, u, a, f, c, h,
|
|
4049
|
+
function $s(e) {
|
|
4050
|
+
let r, t, i, n, s, u, a, f, c, h, m, g, b, w, y;
|
|
4049
4051
|
return {
|
|
4050
4052
|
c() {
|
|
4051
|
-
r = _("svg"), t = _("defs"), i = _("style"), n = H(".a{fill:var(--emw--registration-typography, var(--emw--color-background, #07072A));}"), s = _("g"), u = _("circle"), a = _("g"), f = _("path"), c = _("path"), h = _("g"),
|
|
4053
|
+
r = _("svg"), t = _("defs"), i = _("style"), n = H(".a{fill:var(--emw--registration-typography, var(--emw--color-background, #07072A));}"), s = _("g"), u = _("circle"), a = _("g"), f = _("path"), c = _("path"), h = _("g"), m = _("path"), g = _("path"), b = _("rect"), o(u, "class", "a"), o(u, "cx", "0.05"), o(u, "cy", "0.05"), o(u, "r", "0.05"), o(u, "transform", "translate(121.017 31.148)"), o(f, "class", "a"), o(f, "d", "M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"), o(f, "transform", "translate(-142.164 -39.123)"), o(c, "class", "a"), o(c, "d", "M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"), o(c, "transform", "translate(-136.413 -42.068)"), o(a, "transform", "translate(117.499 27.37)"), o(m, "class", "a"), o(m, "d", "M122.538,42.061a7.043,7.043,0,0,1-2.325.53,10.373,10.373,0,0,1-4.393-1.482,36.509,36.509,0,0,1-3.873-2.391.13.13,0,0,1,0-.208,44.141,44.141,0,0,1,3.873-2.651c.394-.233.768-.437,1.13-.622l-.686-.838c-.322.167-.651.347-.99.55a37.989,37.989,0,0,0-3.977,2.729,1.21,1.21,0,0,0-.442.962,1.1,1.1,0,0,0,.494.936,34.416,34.416,0,0,0,3.977,2.469,11.468,11.468,0,0,0,4.886,1.611,8.427,8.427,0,0,0,3.039-.725Z"), o(m, "transform", "translate(-110.856 -33.157)"), o(g, "class", "a"), o(g, "d", "M149.119,34.14a45.875,45.875,0,0,0-4.055-2.729,20.541,20.541,0,0,0-2.547-1.248,5.6,5.6,0,0,0-4.79-.017l.7.856a5.254,5.254,0,0,1,1.672-.346,10.072,10.072,0,0,1,4.445,1.663,34.132,34.132,0,0,1,3.925,2.651.13.13,0,0,1,0,.208,40.2,40.2,0,0,1-3.925,2.391c-.179.092-.352.176-.525.26l.684.835c.1-.054.2-.1.309-.159a36.356,36.356,0,0,0,4.055-2.469,1.067,1.067,0,0,0,.52-.936A1.159,1.159,0,0,0,149.119,34.14Z"), o(g, "transform", "translate(-130.743 -29.617)"), o(h, "transform", "translate(110.856 24.899)"), o(b, "class", "a"), o(b, "width", "0.972"), o(b, "height", "15.861"), o(b, "rx", "0.486"), o(b, "transform", "translate(114.827 23.858) rotate(-39.315)"), o(s, "transform", "translate(-110.856 -23.242)"), o(r, "class", "TogglePasswordVisibility"), o(r, "xmlns", "http://www.w3.org/2000/svg"), o(r, "width", "18.844"), o(r, "height", "12.887"), o(r, "viewBox", "0 0 18.844 12.887");
|
|
4052
4054
|
},
|
|
4053
4055
|
m(A, O) {
|
|
4054
|
-
ue(A, r, O), l(r, t), l(t, i), l(i, n), l(r, s), l(s, u), l(s, a), l(a, f), l(a, c), l(s, h), l(h,
|
|
4056
|
+
ue(A, r, O), l(r, t), l(t, i), l(i, n), l(r, s), l(s, u), l(s, a), l(a, f), l(a, c), l(s, h), l(h, m), l(h, g), l(s, b), w || (y = x(
|
|
4055
4057
|
r,
|
|
4056
4058
|
"click",
|
|
4057
4059
|
/*click_handler_1*/
|
|
@@ -4064,7 +4066,7 @@ function Vs(e) {
|
|
|
4064
4066
|
}
|
|
4065
4067
|
};
|
|
4066
4068
|
}
|
|
4067
|
-
function
|
|
4069
|
+
function Wt(e) {
|
|
4068
4070
|
let r, t = (
|
|
4069
4071
|
/*$_*/
|
|
4070
4072
|
e[30]("registerPasswordError") + ""
|
|
@@ -4086,7 +4088,7 @@ function Xt(e) {
|
|
|
4086
4088
|
}
|
|
4087
4089
|
};
|
|
4088
4090
|
}
|
|
4089
|
-
function
|
|
4091
|
+
function qt(e) {
|
|
4090
4092
|
let r, t = (
|
|
4091
4093
|
/*$_*/
|
|
4092
4094
|
e[30]("registerSimplePasswordError") + ""
|
|
@@ -4108,14 +4110,14 @@ function Zt(e) {
|
|
|
4108
4110
|
}
|
|
4109
4111
|
};
|
|
4110
4112
|
}
|
|
4111
|
-
function
|
|
4113
|
+
function zs(e) {
|
|
4112
4114
|
let r, t, i, n, s, u, a, f, c;
|
|
4113
4115
|
return {
|
|
4114
4116
|
c() {
|
|
4115
4117
|
r = _("svg"), t = _("defs"), i = _("style"), n = H(".a{fill:var(--emw--registration-typography, var(--emw--color-background, #07072A));}"), s = _("g"), u = _("path"), a = _("circle"), o(u, "class", "a"), o(u, "d", "M23.541,38.332a11.467,11.467,0,0,1-4.886-1.611,34.413,34.413,0,0,1-3.976-2.469,1.1,1.1,0,0,1-.494-.936,1.21,1.21,0,0,1,.442-.962A37.986,37.986,0,0,1,18.6,29.625a16.06,16.06,0,0,1,2.521-1.248,6.862,6.862,0,0,1,2.417-.546,6.862,6.862,0,0,1,2.417.546,20.541,20.541,0,0,1,2.547,1.248,45.872,45.872,0,0,1,4.054,2.729,1.159,1.159,0,0,1,.468.962,1.067,1.067,0,0,1-.52.936,36.353,36.353,0,0,1-4.054,2.469A11.2,11.2,0,0,1,23.541,38.332Zm0-9.46a9.813,9.813,0,0,0-4.392,1.663,44.138,44.138,0,0,0-3.873,2.651.13.13,0,0,0,0,.208,36.5,36.5,0,0,0,3.873,2.391,10.372,10.372,0,0,0,4.392,1.481,11.051,11.051,0,0,0,4.444-1.481,40.2,40.2,0,0,0,3.925-2.391.13.13,0,0,0,0-.208h0a34.132,34.132,0,0,0-3.925-2.651A10.072,10.072,0,0,0,23.541,28.872Z"), o(u, "transform", "translate(0)"), o(a, "class", "a"), o(a, "cx", "2.779"), o(a, "cy", "2.779"), o(a, "r", "2.779"), o(a, "transform", "translate(20.827 30.303)"), o(s, "transform", "translate(-14.185 -27.832)"), o(r, "class", "ToggleConfirmPasswordVisibility"), o(r, "xmlns", "http://www.w3.org/2000/svg"), o(r, "width", "18.843"), o(r, "height", "10.5"), o(r, "viewBox", "0 0 18.843 10.5");
|
|
4116
4118
|
},
|
|
4117
|
-
m(h,
|
|
4118
|
-
ue(h, r,
|
|
4119
|
+
m(h, m) {
|
|
4120
|
+
ue(h, r, m), l(r, t), l(t, i), l(i, n), l(r, s), l(s, u), l(s, a), f || (c = x(
|
|
4119
4121
|
r,
|
|
4120
4122
|
"click",
|
|
4121
4123
|
/*click_handler_4*/
|
|
@@ -4128,14 +4130,14 @@ function $s(e) {
|
|
|
4128
4130
|
}
|
|
4129
4131
|
};
|
|
4130
4132
|
}
|
|
4131
|
-
function
|
|
4132
|
-
let r, t, i, n, s, u, a, f, c, h,
|
|
4133
|
+
function Qs(e) {
|
|
4134
|
+
let r, t, i, n, s, u, a, f, c, h, m, g, b, w, y;
|
|
4133
4135
|
return {
|
|
4134
4136
|
c() {
|
|
4135
|
-
r = _("svg"), t = _("defs"), i = _("style"), n = H(".a{fill:var(--emw--registration-typography, var(--emw--color-background, #07072A));}"), s = _("g"), u = _("circle"), a = _("g"), f = _("path"), c = _("path"), h = _("g"),
|
|
4137
|
+
r = _("svg"), t = _("defs"), i = _("style"), n = H(".a{fill:var(--emw--registration-typography, var(--emw--color-background, #07072A));}"), s = _("g"), u = _("circle"), a = _("g"), f = _("path"), c = _("path"), h = _("g"), m = _("path"), g = _("path"), b = _("rect"), o(u, "class", "a"), o(u, "cx", "0.05"), o(u, "cy", "0.05"), o(u, "r", "0.05"), o(u, "transform", "translate(121.017 31.148)"), o(f, "class", "a"), o(f, "d", "M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"), o(f, "transform", "translate(-142.164 -39.123)"), o(c, "class", "a"), o(c, "d", "M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"), o(c, "transform", "translate(-136.413 -42.068)"), o(a, "transform", "translate(117.499 27.37)"), o(m, "class", "a"), o(m, "d", "M122.538,42.061a7.043,7.043,0,0,1-2.325.53,10.373,10.373,0,0,1-4.393-1.482,36.509,36.509,0,0,1-3.873-2.391.13.13,0,0,1,0-.208,44.141,44.141,0,0,1,3.873-2.651c.394-.233.768-.437,1.13-.622l-.686-.838c-.322.167-.651.347-.99.55a37.989,37.989,0,0,0-3.977,2.729,1.21,1.21,0,0,0-.442.962,1.1,1.1,0,0,0,.494.936,34.416,34.416,0,0,0,3.977,2.469,11.468,11.468,0,0,0,4.886,1.611,8.427,8.427,0,0,0,3.039-.725Z"), o(m, "transform", "translate(-110.856 -33.157)"), o(g, "class", "a"), o(g, "d", "M149.119,34.14a45.875,45.875,0,0,0-4.055-2.729,20.541,20.541,0,0,0-2.547-1.248,5.6,5.6,0,0,0-4.79-.017l.7.856a5.254,5.254,0,0,1,1.672-.346,10.072,10.072,0,0,1,4.445,1.663,34.132,34.132,0,0,1,3.925,2.651.13.13,0,0,1,0,.208,40.2,40.2,0,0,1-3.925,2.391c-.179.092-.352.176-.525.26l.684.835c.1-.054.2-.1.309-.159a36.356,36.356,0,0,0,4.055-2.469,1.067,1.067,0,0,0,.52-.936A1.159,1.159,0,0,0,149.119,34.14Z"), o(g, "transform", "translate(-130.743 -29.617)"), o(h, "transform", "translate(110.856 24.899)"), o(b, "class", "a"), o(b, "width", "0.972"), o(b, "height", "15.861"), o(b, "rx", "0.486"), o(b, "transform", "translate(114.827 23.858) rotate(-39.315)"), o(s, "transform", "translate(-110.856 -23.242)"), o(r, "class", "ToggleConfirmPasswordVisibility"), o(r, "xmlns", "http://www.w3.org/2000/svg"), o(r, "width", "18.844"), o(r, "height", "12.887"), o(r, "viewBox", "0 0 18.844 12.887");
|
|
4136
4138
|
},
|
|
4137
4139
|
m(A, O) {
|
|
4138
|
-
ue(A, r, O), l(r, t), l(t, i), l(i, n), l(r, s), l(s, u), l(s, a), l(a, f), l(a, c), l(s, h), l(h,
|
|
4140
|
+
ue(A, r, O), l(r, t), l(t, i), l(i, n), l(r, s), l(s, u), l(s, a), l(a, f), l(a, c), l(s, h), l(h, m), l(h, g), l(s, b), w || (y = x(
|
|
4139
4141
|
r,
|
|
4140
4142
|
"click",
|
|
4141
4143
|
/*click_handler_3*/
|
|
@@ -4148,7 +4150,7 @@ function zs(e) {
|
|
|
4148
4150
|
}
|
|
4149
4151
|
};
|
|
4150
4152
|
}
|
|
4151
|
-
function
|
|
4153
|
+
function Jt(e) {
|
|
4152
4154
|
let r, t = (
|
|
4153
4155
|
/*$_*/
|
|
4154
4156
|
e[30]("registerConfirmPasswordError") + ""
|
|
@@ -4170,7 +4172,7 @@ function Wt(e) {
|
|
|
4170
4172
|
}
|
|
4171
4173
|
};
|
|
4172
4174
|
}
|
|
4173
|
-
function
|
|
4175
|
+
function Yt(e) {
|
|
4174
4176
|
let r, t = (
|
|
4175
4177
|
/*custominputtextswitch*/
|
|
4176
4178
|
(e[2] == "true" ? (
|
|
@@ -4204,7 +4206,7 @@ function qt(e) {
|
|
|
4204
4206
|
}
|
|
4205
4207
|
};
|
|
4206
4208
|
}
|
|
4207
|
-
function
|
|
4209
|
+
function Kt(e) {
|
|
4208
4210
|
let r, t = (
|
|
4209
4211
|
/*custominputtextswitch*/
|
|
4210
4212
|
(e[2] == "true" ? (
|
|
@@ -4238,26 +4240,26 @@ function Jt(e) {
|
|
|
4238
4240
|
}
|
|
4239
4241
|
};
|
|
4240
4242
|
}
|
|
4241
|
-
function
|
|
4243
|
+
function Xs(e) {
|
|
4242
4244
|
let r, t, i, n = (
|
|
4243
4245
|
/*$_*/
|
|
4244
4246
|
e[30]("registerTitle") + ""
|
|
4245
4247
|
), s, u, a, f = (
|
|
4246
4248
|
/*$_*/
|
|
4247
4249
|
e[30]("registerSubtitle") + ""
|
|
4248
|
-
), c, h,
|
|
4250
|
+
), c, h, m, g = (
|
|
4249
4251
|
/*$_*/
|
|
4250
4252
|
e[30]("registerSubtitleLogin") + ""
|
|
4251
4253
|
), b, w, y, A, O, M = (
|
|
4252
4254
|
/*$_*/
|
|
4253
4255
|
e[30]("registerEmail") + ""
|
|
4254
|
-
), R, ce, G,
|
|
4256
|
+
), R, ce, G, me, U, De, Ce, Ge, k, X, he = (
|
|
4255
4257
|
/*$_*/
|
|
4256
4258
|
e[30]("registerUsername") + ""
|
|
4257
4259
|
), ge, ne, V, Ae, F, Pe, Te, ye, pe, C, Ee, Z = (
|
|
4258
4260
|
/*$_*/
|
|
4259
4261
|
e[30]("registerPassword") + ""
|
|
4260
|
-
), ve, Ar, Oe, Tr, B, Le, fr,
|
|
4262
|
+
), ve, Ar, Oe, Tr, B, Le, fr, dr, je, Me, Re, mr, j, xe, Ve = (
|
|
4261
4263
|
/*$_*/
|
|
4262
4264
|
e[30]("registerConfirmPassword") + ""
|
|
4263
4265
|
), $e, Hr, He, gr, $, pr, ze, Ue, Br, we, ke, Qe = (
|
|
@@ -4272,7 +4274,7 @@ function Qs(e) {
|
|
|
4272
4274
|
/*$_*/
|
|
4273
4275
|
e[30]("registerSecurityQuestion")
|
|
4274
4276
|
)) + ""
|
|
4275
|
-
), yr, Mr, We, Rr, oe, Ur, qe, kr,
|
|
4277
|
+
), yr, Mr, We, Rr, oe, Ur, qe, kr, de, Ie, Je = (
|
|
4276
4278
|
/*custominputtextswitch*/
|
|
4277
4279
|
(e[2] == "true" ? (
|
|
4278
4280
|
/*$_*/
|
|
@@ -4284,47 +4286,47 @@ function Qs(e) {
|
|
|
4284
4286
|
), Er, Fr, Ye, Dr, ae, Gr, Ke, p, N, le = (
|
|
4285
4287
|
/*$_*/
|
|
4286
4288
|
e[30]("registerNext") + ""
|
|
4287
|
-
), tt, jr, it,
|
|
4289
|
+
), tt, jr, it, At, W = (
|
|
4288
4290
|
/*invalidEmail*/
|
|
4289
|
-
e[4] &&
|
|
4291
|
+
e[4] && Xt(e)
|
|
4290
4292
|
), q = (
|
|
4291
4293
|
/*invalidName*/
|
|
4292
|
-
e[5] &&
|
|
4294
|
+
e[5] && Zt(e)
|
|
4293
4295
|
);
|
|
4294
|
-
function
|
|
4296
|
+
function Tt(d, v) {
|
|
4295
4297
|
return (
|
|
4296
4298
|
/*isPasswordVisible*/
|
|
4297
|
-
|
|
4299
|
+
d[25] ? $s : Vs
|
|
4298
4300
|
);
|
|
4299
4301
|
}
|
|
4300
|
-
let Vr =
|
|
4302
|
+
let Vr = Tt(e), _e = Vr(e), J = (
|
|
4301
4303
|
/*invalidPassword*/
|
|
4302
4304
|
e[6] && /*simplepasswordvalidation*/
|
|
4303
|
-
e[0] !== "true" &&
|
|
4305
|
+
e[0] !== "true" && Wt(e)
|
|
4304
4306
|
), Y = (
|
|
4305
4307
|
/*invalidPassword*/
|
|
4306
4308
|
e[6] && /*simplepasswordvalidation*/
|
|
4307
|
-
e[0] === "true" &&
|
|
4309
|
+
e[0] === "true" && qt(e)
|
|
4308
4310
|
);
|
|
4309
|
-
function
|
|
4311
|
+
function Ht(d, v) {
|
|
4310
4312
|
return (
|
|
4311
4313
|
/*isConfirmPasswordVisible*/
|
|
4312
|
-
|
|
4314
|
+
d[26] ? Qs : zs
|
|
4313
4315
|
);
|
|
4314
4316
|
}
|
|
4315
|
-
let $r =
|
|
4317
|
+
let $r = Ht(e), Se = $r(e), K = (
|
|
4316
4318
|
/*invalidConfirmPassword*/
|
|
4317
|
-
e[7] &&
|
|
4319
|
+
e[7] && Jt(e)
|
|
4318
4320
|
), ee = (
|
|
4319
4321
|
/*invalidSecurityQuestion*/
|
|
4320
|
-
e[8] &&
|
|
4322
|
+
e[8] && Yt(e)
|
|
4321
4323
|
), re = (
|
|
4322
4324
|
/*invalidSecurityAnswer*/
|
|
4323
|
-
e[9] &&
|
|
4325
|
+
e[9] && Kt(e)
|
|
4324
4326
|
);
|
|
4325
4327
|
return {
|
|
4326
4328
|
c() {
|
|
4327
|
-
r = E("div"), t = E("div"), i = E("h2"), s = H(n), u = I(), a = E("p"), c = H(f), h = I(),
|
|
4329
|
+
r = E("div"), t = E("div"), i = E("h2"), s = H(n), u = I(), a = E("p"), c = H(f), h = I(), m = E("span"), b = H(g), w = I(), y = E("form"), A = E("div"), O = E("label"), R = H(M), ce = H(":"), G = E("span"), G.textContent = "*", me = I(), U = E("input"), De = I(), W && W.c(), Ge = I(), k = E("div"), X = E("label"), ge = H(he), ne = H(":"), V = E("span"), V.textContent = "*", Ae = I(), F = E("input"), Te = I(), q && q.c(), pe = I(), C = E("div"), Ee = E("label"), ve = H(Z), Ar = H(":"), Oe = E("span"), Oe.textContent = "*", Tr = I(), B = E("input"), fr = I(), _e.c(), dr = I(), J && J.c(), je = I(), Y && Y.c(), mr = I(), j = E("div"), xe = E("label"), $e = H(Ve), Hr = H(":"), He = E("span"), He.textContent = "*", gr = I(), $ = E("input"), pr = I(), Se.c(), ze = I(), K && K.c(), Br = I(), we = E("div"), ke = E("label"), br = H(Qe), Ir = H(":"), Nr = I(), se = E("input"), Or = I(), Lr = I(), fe = E("div"), Be = E("label"), yr = H(Ze), Mr = H(":"), We = E("span"), We.textContent = "*", Rr = I(), oe = E("input"), Ur = I(), ee && ee.c(), kr = I(), de = E("div"), Ie = E("label"), Er = H(Je), Fr = H(":"), Ye = E("span"), Ye.textContent = "*", Dr = I(), ae = E("input"), Gr = I(), re && re.c(), p = I(), N = E("button"), tt = H(le), o(i, "class", "RegisterFormTitle"), o(m, "class", "FormLoginCallToAction"), o(a, "class", "RegisterFormSubtitle"), o(t, "class", "RegisterFormHeader"), o(G, "class", "FormRequired"), o(O, "for", "Email"), o(U, "type", "text"), o(U, "id", "Email"), o(A, "class", Ce = "EmailContainer " + /*invalidEmail*/
|
|
4328
4330
|
(e[4] && !/*emailFocus*/
|
|
4329
4331
|
e[10] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4330
4332
|
(e[17]?.indexOf("email") >= 0 ? "Hidden" : "")), o(V, "class", "FormRequired"), o(X, "for", "UserName"), o(F, "type", "text"), o(F, "id", "UserName"), o(F, "autocomplete", Pe = /*savecredentials*/
|
|
@@ -4343,14 +4345,14 @@ function Qs(e) {
|
|
|
4343
4345
|
(e[17]?.indexOf("promoCode") >= 0 ? "Hidden" : "")), o(We, "class", "FormRequired"), o(Be, "for", "SecurityQuestion"), o(oe, "type", "text"), o(oe, "id", "SecurityQuestion"), o(fe, "class", qe = "SecurityQuestionContainer " + /*invalidSecurityQuestion*/
|
|
4344
4346
|
(e[8] && !/*securityQFocus*/
|
|
4345
4347
|
e[14] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4346
|
-
(e[17]?.indexOf("securityQuestion") >= 0 ? "Hidden" : "")), o(Ye, "class", "FormRequired"), o(Ie, "for", "SecurityAnswer"), o(ae, "type", "text"), o(ae, "id", "SecurityAnswer"), o(
|
|
4348
|
+
(e[17]?.indexOf("securityQuestion") >= 0 ? "Hidden" : "")), o(Ye, "class", "FormRequired"), o(Ie, "for", "SecurityAnswer"), o(ae, "type", "text"), o(ae, "id", "SecurityAnswer"), o(de, "class", Ke = "SecurityAnswerContainer " + /*invalidSecurityAnswer*/
|
|
4347
4349
|
(e[9] && !/*securityAFocus*/
|
|
4348
4350
|
e[15] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4349
4351
|
(e[17]?.indexOf("securityAnswer") >= 0 ? "Hidden" : "")), o(N, "class", "RegisterStepNext"), N.disabled = jr = !/*isValid*/
|
|
4350
4352
|
e[29], o(y, "class", "RegisterFormContent");
|
|
4351
4353
|
},
|
|
4352
|
-
m(
|
|
4353
|
-
ue(
|
|
4354
|
+
m(d, v) {
|
|
4355
|
+
ue(d, r, v), l(r, t), l(t, i), l(i, s), l(t, u), l(t, a), l(a, c), l(a, h), l(a, m), l(m, b), l(r, w), l(r, y), l(y, A), l(A, O), l(O, R), l(O, ce), l(O, G), l(A, me), l(A, U), te(
|
|
4354
4356
|
U,
|
|
4355
4357
|
/*userEmail*/
|
|
4356
4358
|
e[19]
|
|
@@ -4362,7 +4364,7 @@ function Qs(e) {
|
|
|
4362
4364
|
B,
|
|
4363
4365
|
/*userPassword*/
|
|
4364
4366
|
e[20]
|
|
4365
|
-
), e[60](B), l(C, fr), _e.m(C, null), l(C,
|
|
4367
|
+
), e[60](B), l(C, fr), _e.m(C, null), l(C, dr), J && J.m(C, null), l(C, je), Y && Y.m(C, null), l(y, mr), l(y, j), l(j, xe), l(xe, $e), l(xe, Hr), l(xe, He), l(j, gr), l(j, $), te(
|
|
4366
4368
|
$,
|
|
4367
4369
|
/*confirmUserPassword*/
|
|
4368
4370
|
e[21]
|
|
@@ -4374,13 +4376,13 @@ function Qs(e) {
|
|
|
4374
4376
|
oe,
|
|
4375
4377
|
/*securityQuestion*/
|
|
4376
4378
|
e[22]
|
|
4377
|
-
), l(fe, Ur), ee && ee.m(fe, null), l(y, kr), l(y,
|
|
4379
|
+
), l(fe, Ur), ee && ee.m(fe, null), l(y, kr), l(y, de), l(de, Ie), l(Ie, Er), l(Ie, Fr), l(Ie, Ye), l(de, Dr), l(de, ae), te(
|
|
4378
4380
|
ae,
|
|
4379
4381
|
/*securityAnswer*/
|
|
4380
4382
|
e[23]
|
|
4381
|
-
), l(
|
|
4383
|
+
), l(de, Gr), re && re.m(de, null), l(y, p), l(y, N), l(N, tt), e[79](r), it || (At = [
|
|
4382
4384
|
x(
|
|
4383
|
-
|
|
4385
|
+
m,
|
|
4384
4386
|
"click",
|
|
4385
4387
|
/*click_handler*/
|
|
4386
4388
|
e[50]
|
|
@@ -4561,139 +4563,139 @@ function Qs(e) {
|
|
|
4561
4563
|
)
|
|
4562
4564
|
], it = !0);
|
|
4563
4565
|
},
|
|
4564
|
-
p(
|
|
4566
|
+
p(d, v) {
|
|
4565
4567
|
v[0] & /*$_*/
|
|
4566
4568
|
1073741824 && n !== (n = /*$_*/
|
|
4567
|
-
|
|
4569
|
+
d[30]("registerTitle") + "") && D(s, n), v[0] & /*$_*/
|
|
4568
4570
|
1073741824 && f !== (f = /*$_*/
|
|
4569
|
-
|
|
4571
|
+
d[30]("registerSubtitle") + "") && D(c, f), v[0] & /*$_*/
|
|
4570
4572
|
1073741824 && g !== (g = /*$_*/
|
|
4571
|
-
|
|
4573
|
+
d[30]("registerSubtitleLogin") + "") && D(b, g), v[0] & /*$_*/
|
|
4572
4574
|
1073741824 && M !== (M = /*$_*/
|
|
4573
|
-
|
|
4575
|
+
d[30]("registerEmail") + "") && D(R, M), v[0] & /*userEmail*/
|
|
4574
4576
|
524288 && U.value !== /*userEmail*/
|
|
4575
|
-
|
|
4577
|
+
d[19] && te(
|
|
4576
4578
|
U,
|
|
4577
4579
|
/*userEmail*/
|
|
4578
|
-
|
|
4580
|
+
d[19]
|
|
4579
4581
|
), /*invalidEmail*/
|
|
4580
|
-
|
|
4582
|
+
d[4] ? W ? W.p(d, v) : (W = Xt(d), W.c(), W.m(A, null)) : W && (W.d(1), W = null), v[0] & /*invalidEmail, emailFocus, disabledFieldsList*/
|
|
4581
4583
|
132112 && Ce !== (Ce = "EmailContainer " + /*invalidEmail*/
|
|
4582
|
-
(
|
|
4583
|
-
|
|
4584
|
-
(
|
|
4584
|
+
(d[4] && !/*emailFocus*/
|
|
4585
|
+
d[10] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4586
|
+
(d[17]?.indexOf("email") >= 0 ? "Hidden" : "")) && o(A, "class", Ce), v[0] & /*$_*/
|
|
4585
4587
|
1073741824 && he !== (he = /*$_*/
|
|
4586
|
-
|
|
4588
|
+
d[30]("registerUsername") + "") && D(ge, he), v[0] & /*savecredentials*/
|
|
4587
4589
|
2 && Pe !== (Pe = /*savecredentials*/
|
|
4588
|
-
|
|
4590
|
+
d[1] ? "username" : "off") && o(F, "autocomplete", Pe), v[0] & /*userValue*/
|
|
4589
4591
|
262144 && F.value !== /*userValue*/
|
|
4590
|
-
|
|
4592
|
+
d[18] && te(
|
|
4591
4593
|
F,
|
|
4592
4594
|
/*userValue*/
|
|
4593
|
-
|
|
4595
|
+
d[18]
|
|
4594
4596
|
), /*invalidName*/
|
|
4595
|
-
|
|
4597
|
+
d[5] ? q ? q.p(d, v) : (q = Zt(d), q.c(), q.m(k, null)) : q && (q.d(1), q = null), v[0] & /*invalidName, usernameFocus, disabledFieldsList*/
|
|
4596
4598
|
133152 && ye !== (ye = "UserContainer " + /*invalidName*/
|
|
4597
|
-
(
|
|
4598
|
-
|
|
4599
|
-
(
|
|
4599
|
+
(d[5] && !/*usernameFocus*/
|
|
4600
|
+
d[11] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4601
|
+
(d[17]?.indexOf("username") >= 0 ? "Hidden" : "")) && o(k, "class", ye), v[0] & /*$_*/
|
|
4600
4602
|
1073741824 && Z !== (Z = /*$_*/
|
|
4601
|
-
|
|
4603
|
+
d[30]("registerPassword") + "") && D(ve, Z), v[0] & /*savecredentials*/
|
|
4602
4604
|
2 && Le !== (Le = /*savecredentials*/
|
|
4603
|
-
|
|
4605
|
+
d[1] ? "new-password" : "off") && o(B, "autocomplete", Le), v[0] & /*userPassword*/
|
|
4604
4606
|
1048576 && B.value !== /*userPassword*/
|
|
4605
|
-
|
|
4607
|
+
d[20] && te(
|
|
4606
4608
|
B,
|
|
4607
4609
|
/*userPassword*/
|
|
4608
|
-
|
|
4609
|
-
), Vr === (Vr =
|
|
4610
|
-
|
|
4611
|
-
|
|
4612
|
-
|
|
4613
|
-
|
|
4610
|
+
d[20]
|
|
4611
|
+
), Vr === (Vr = Tt(d)) && _e ? _e.p(d, v) : (_e.d(1), _e = Vr(d), _e && (_e.c(), _e.m(C, dr))), /*invalidPassword*/
|
|
4612
|
+
d[6] && /*simplepasswordvalidation*/
|
|
4613
|
+
d[0] !== "true" ? J ? J.p(d, v) : (J = Wt(d), J.c(), J.m(C, je)) : J && (J.d(1), J = null), /*invalidPassword*/
|
|
4614
|
+
d[6] && /*simplepasswordvalidation*/
|
|
4615
|
+
d[0] === "true" ? Y ? Y.p(d, v) : (Y = qt(d), Y.c(), Y.m(C, null)) : Y && (Y.d(1), Y = null), v[0] & /*invalidPassword, passwordFocus, disabledFieldsList*/
|
|
4614
4616
|
135232 && Me !== (Me = "PasswordContainer " + /*invalidPassword*/
|
|
4615
|
-
(
|
|
4616
|
-
|
|
4617
|
-
(
|
|
4617
|
+
(d[6] && !/*passwordFocus*/
|
|
4618
|
+
d[12] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4619
|
+
(d[17]?.indexOf("password") >= 0 ? "Hidden" : "")) && o(C, "class", Me), v[0] & /*disabledFieldsList*/
|
|
4618
4620
|
131072 && Re !== (Re = /*disabledFieldsList*/
|
|
4619
|
-
|
|
4621
|
+
d[17]?.indexOf("password") >= 0) && (C.hidden = Re), v[0] & /*$_*/
|
|
4620
4622
|
1073741824 && Ve !== (Ve = /*$_*/
|
|
4621
|
-
|
|
4623
|
+
d[30]("registerConfirmPassword") + "") && D($e, Ve), v[0] & /*confirmUserPassword*/
|
|
4622
4624
|
2097152 && $.value !== /*confirmUserPassword*/
|
|
4623
|
-
|
|
4625
|
+
d[21] && te(
|
|
4624
4626
|
$,
|
|
4625
4627
|
/*confirmUserPassword*/
|
|
4626
|
-
|
|
4627
|
-
), $r === ($r =
|
|
4628
|
-
|
|
4628
|
+
d[21]
|
|
4629
|
+
), $r === ($r = Ht(d)) && Se ? Se.p(d, v) : (Se.d(1), Se = $r(d), Se && (Se.c(), Se.m(j, ze))), /*invalidConfirmPassword*/
|
|
4630
|
+
d[7] ? K ? K.p(d, v) : (K = Jt(d), K.c(), K.m(j, null)) : K && (K.d(1), K = null), v[0] & /*invalidConfirmPassword, confirmPasswordFocus, disabledFieldsList*/
|
|
4629
4631
|
139392 && Ue !== (Ue = "ConfirmPasswordContainer " + /*invalidConfirmPassword*/
|
|
4630
|
-
(
|
|
4631
|
-
|
|
4632
|
-
(
|
|
4632
|
+
(d[7] && !/*confirmPasswordFocus*/
|
|
4633
|
+
d[13] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4634
|
+
(d[17]?.indexOf("confirmPassword") >= 0 ? "Hidden" : "")) && o(j, "class", Ue), v[0] & /*$_*/
|
|
4633
4635
|
1073741824 && Qe !== (Qe = /*$_*/
|
|
4634
|
-
|
|
4636
|
+
d[30]("registerPromoCode") + "") && D(br, Qe), v[0] & /*promoCode*/
|
|
4635
4637
|
16777216 && se.value !== /*promoCode*/
|
|
4636
|
-
|
|
4638
|
+
d[24] && te(
|
|
4637
4639
|
se,
|
|
4638
4640
|
/*promoCode*/
|
|
4639
|
-
|
|
4641
|
+
d[24]
|
|
4640
4642
|
), v[0] & /*disabledFieldsList*/
|
|
4641
4643
|
131072 && Xe !== (Xe = "PromoCodeContainer " + /*disabledFieldsList*/
|
|
4642
|
-
(
|
|
4644
|
+
(d[17]?.indexOf("promoCode") >= 0 ? "Hidden" : "")) && o(we, "class", Xe), v[0] & /*custominputtextswitch, $_*/
|
|
4643
4645
|
1073741828 && Ze !== (Ze = /*custominputtextswitch*/
|
|
4644
|
-
(
|
|
4646
|
+
(d[2] == "true" ? (
|
|
4645
4647
|
/*$_*/
|
|
4646
|
-
|
|
4648
|
+
d[30]("registerSecurityQuestion2")
|
|
4647
4649
|
) : (
|
|
4648
4650
|
/*$_*/
|
|
4649
|
-
|
|
4651
|
+
d[30]("registerSecurityQuestion")
|
|
4650
4652
|
)) + "") && D(yr, Ze), v[0] & /*securityQuestion*/
|
|
4651
4653
|
4194304 && oe.value !== /*securityQuestion*/
|
|
4652
|
-
|
|
4654
|
+
d[22] && te(
|
|
4653
4655
|
oe,
|
|
4654
4656
|
/*securityQuestion*/
|
|
4655
|
-
|
|
4657
|
+
d[22]
|
|
4656
4658
|
), /*invalidSecurityQuestion*/
|
|
4657
|
-
|
|
4659
|
+
d[8] ? ee ? ee.p(d, v) : (ee = Yt(d), ee.c(), ee.m(fe, null)) : ee && (ee.d(1), ee = null), v[0] & /*invalidSecurityQuestion, securityQFocus, disabledFieldsList*/
|
|
4658
4660
|
147712 && qe !== (qe = "SecurityQuestionContainer " + /*invalidSecurityQuestion*/
|
|
4659
|
-
(
|
|
4660
|
-
|
|
4661
|
-
(
|
|
4661
|
+
(d[8] && !/*securityQFocus*/
|
|
4662
|
+
d[14] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4663
|
+
(d[17]?.indexOf("securityQuestion") >= 0 ? "Hidden" : "")) && o(fe, "class", qe), v[0] & /*custominputtextswitch, $_*/
|
|
4662
4664
|
1073741828 && Je !== (Je = /*custominputtextswitch*/
|
|
4663
|
-
(
|
|
4665
|
+
(d[2] == "true" ? (
|
|
4664
4666
|
/*$_*/
|
|
4665
|
-
|
|
4667
|
+
d[30]("registerSecurityAnswer2")
|
|
4666
4668
|
) : (
|
|
4667
4669
|
/*$_*/
|
|
4668
|
-
|
|
4670
|
+
d[30]("registerSecurityAnswer")
|
|
4669
4671
|
)) + "") && D(Er, Je), v[0] & /*securityAnswer*/
|
|
4670
4672
|
8388608 && ae.value !== /*securityAnswer*/
|
|
4671
|
-
|
|
4673
|
+
d[23] && te(
|
|
4672
4674
|
ae,
|
|
4673
4675
|
/*securityAnswer*/
|
|
4674
|
-
|
|
4676
|
+
d[23]
|
|
4675
4677
|
), /*invalidSecurityAnswer*/
|
|
4676
|
-
|
|
4678
|
+
d[9] ? re ? re.p(d, v) : (re = Kt(d), re.c(), re.m(de, null)) : re && (re.d(1), re = null), v[0] & /*invalidSecurityAnswer, securityAFocus, disabledFieldsList*/
|
|
4677
4679
|
164352 && Ke !== (Ke = "SecurityAnswerContainer " + /*invalidSecurityAnswer*/
|
|
4678
|
-
(
|
|
4679
|
-
|
|
4680
|
-
(
|
|
4680
|
+
(d[9] && !/*securityAFocus*/
|
|
4681
|
+
d[15] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4682
|
+
(d[17]?.indexOf("securityAnswer") >= 0 ? "Hidden" : "")) && o(de, "class", Ke), v[0] & /*$_*/
|
|
4681
4683
|
1073741824 && le !== (le = /*$_*/
|
|
4682
|
-
|
|
4684
|
+
d[30]("registerNext") + "") && D(tt, le), v[0] & /*isValid*/
|
|
4683
4685
|
536870912 && jr !== (jr = !/*isValid*/
|
|
4684
|
-
|
|
4686
|
+
d[29]) && (N.disabled = jr);
|
|
4685
4687
|
},
|
|
4686
4688
|
i: Q,
|
|
4687
4689
|
o: Q,
|
|
4688
|
-
d(
|
|
4689
|
-
|
|
4690
|
+
d(d) {
|
|
4691
|
+
d && ie(r), W && W.d(), q && q.d(), e[60](null), _e.d(), J && J.d(), Y && Y.d(), e[66](null), Se.d(), K && K.d(), ee && ee.d(), re && re.d(), e[79](null), it = !1, lr(At);
|
|
4690
4692
|
}
|
|
4691
4693
|
};
|
|
4692
4694
|
}
|
|
4693
|
-
function
|
|
4695
|
+
function Zs(e, r, t) {
|
|
4694
4696
|
let i;
|
|
4695
|
-
|
|
4696
|
-
let { lang: n = "" } = r, { disabledfields: s = "" } = r, { simplepasswordvalidation: u = "false" } = r, { mbsource: a } = r, { clientstyling: f = "" } = r, { clientstylingurl: c = "" } = r, { translationurl: h = "" } = r, { savecredentials:
|
|
4697
|
+
Hi(e, Us, (p) => t(30, i = p));
|
|
4698
|
+
let { lang: n = "" } = r, { disabledfields: s = "" } = r, { simplepasswordvalidation: u = "false" } = r, { mbsource: a } = r, { clientstyling: f = "" } = r, { clientstylingurl: c = "" } = r, { translationurl: h = "" } = r, { savecredentials: m = "" } = r, { custominputtextswitch: g = "false" } = r, b = !1, w = !1, y = !1, A = !1, O = !1, M = !1, R = !1, ce = !1, G = !1, me = !1, U = !1, De = !1, Ce = !1, Ge, k = "", X = "", he = "", ge = "", ne = "", V = "", Ae = "", F = !1, Pe = !1, Te, ye, pe = {}, C = {
|
|
4697
4699
|
username: !1,
|
|
4698
4700
|
email: !1,
|
|
4699
4701
|
password: !1,
|
|
@@ -4710,14 +4712,14 @@ function Xs(e, r, t) {
|
|
|
4710
4712
|
const Ar = () => {
|
|
4711
4713
|
fetch(h).then((N) => N.json()).then((N) => {
|
|
4712
4714
|
Object.keys(N).forEach((le) => {
|
|
4713
|
-
|
|
4715
|
+
zt(le, N[le]);
|
|
4714
4716
|
});
|
|
4715
4717
|
}).catch((N) => {
|
|
4716
4718
|
console.log(N);
|
|
4717
4719
|
});
|
|
4718
4720
|
};
|
|
4719
|
-
Object.keys(
|
|
4720
|
-
|
|
4721
|
+
Object.keys(Qt).forEach((p) => {
|
|
4722
|
+
zt(p, Qt[p]);
|
|
4721
4723
|
});
|
|
4722
4724
|
const Oe = () => {
|
|
4723
4725
|
window.postMessage({ type: "ToLogin" }, window.location.href);
|
|
@@ -4752,7 +4754,7 @@ function Xs(e, r, t) {
|
|
|
4752
4754
|
pe.email = X, ve.email.test(X) && X.length <= 100 ? t(4, b = !1) : t(4, b = !0), C.email = !b, B();
|
|
4753
4755
|
}, fr = () => {
|
|
4754
4756
|
pe.username = k, ve.user.test(k) && k.length <= 20 ? t(5, w = !1) : t(5, w = !0), C.username = !w, B();
|
|
4755
|
-
},
|
|
4757
|
+
}, dr = () => {
|
|
4756
4758
|
u == "true" && (ve.password = /^(?!.* ).{8,20}$/);
|
|
4757
4759
|
}, je = () => {
|
|
4758
4760
|
t(25, F = !0), j();
|
|
@@ -4760,7 +4762,7 @@ function Xs(e, r, t) {
|
|
|
4760
4762
|
t(26, Pe = !0), xe();
|
|
4761
4763
|
}, Re = () => {
|
|
4762
4764
|
t(25, F = !1), j();
|
|
4763
|
-
},
|
|
4765
|
+
}, mr = () => {
|
|
4764
4766
|
t(26, Pe = !1), xe();
|
|
4765
4767
|
}, j = () => {
|
|
4766
4768
|
t(27, Te.type = F ? "text" : "password", Te);
|
|
@@ -4827,9 +4829,9 @@ function Xs(e, r, t) {
|
|
|
4827
4829
|
}, Br = () => {
|
|
4828
4830
|
t(17, Ge = s.split(","));
|
|
4829
4831
|
}, we = () => {
|
|
4830
|
-
|
|
4832
|
+
ks(n);
|
|
4831
4833
|
};
|
|
4832
|
-
|
|
4834
|
+
Ri(() => (window.addEventListener("message", Ue, !1), () => {
|
|
4833
4835
|
window.removeEventListener("message", Ue);
|
|
4834
4836
|
}));
|
|
4835
4837
|
const ke = () => Oe();
|
|
@@ -4854,17 +4856,17 @@ function Xs(e, r, t) {
|
|
|
4854
4856
|
function Mr() {
|
|
4855
4857
|
ge = this.value, t(21, ge);
|
|
4856
4858
|
}
|
|
4857
|
-
const We = () => t(13,
|
|
4859
|
+
const We = () => t(13, me = !0), Rr = () => t(13, me = !1);
|
|
4858
4860
|
function oe(p) {
|
|
4859
4861
|
_r[p ? "unshift" : "push"](() => {
|
|
4860
4862
|
ye = p, t(28, ye);
|
|
4861
4863
|
});
|
|
4862
4864
|
}
|
|
4863
|
-
const Ur = () =>
|
|
4865
|
+
const Ur = () => mr(), qe = () => Me();
|
|
4864
4866
|
function kr() {
|
|
4865
4867
|
Ae = this.value, t(24, Ae);
|
|
4866
4868
|
}
|
|
4867
|
-
const
|
|
4869
|
+
const de = () => t(16, Ce = !0), Ie = () => t(16, Ce = !1);
|
|
4868
4870
|
function Je() {
|
|
4869
4871
|
ne = this.value, t(22, ne);
|
|
4870
4872
|
}
|
|
@@ -4879,22 +4881,22 @@ function Xs(e, r, t) {
|
|
|
4879
4881
|
});
|
|
4880
4882
|
}
|
|
4881
4883
|
return e.$$set = (p) => {
|
|
4882
|
-
"lang" in p && t(44, n = p.lang), "disabledfields" in p && t(45, s = p.disabledfields), "simplepasswordvalidation" in p && t(0, u = p.simplepasswordvalidation), "mbsource" in p && t(46, a = p.mbsource), "clientstyling" in p && t(47, f = p.clientstyling), "clientstylingurl" in p && t(48, c = p.clientstylingurl), "translationurl" in p && t(49, h = p.translationurl), "savecredentials" in p && t(1,
|
|
4884
|
+
"lang" in p && t(44, n = p.lang), "disabledfields" in p && t(45, s = p.disabledfields), "simplepasswordvalidation" in p && t(0, u = p.simplepasswordvalidation), "mbsource" in p && t(46, a = p.mbsource), "clientstyling" in p && t(47, f = p.clientstyling), "clientstylingurl" in p && t(48, c = p.clientstylingurl), "translationurl" in p && t(49, h = p.translationurl), "savecredentials" in p && t(1, m = p.savecredentials), "custominputtextswitch" in p && t(2, g = p.custominputtextswitch);
|
|
4883
4885
|
}, e.$$.update = () => {
|
|
4884
4886
|
e.$$.dirty[1] & /*lang*/
|
|
4885
4887
|
8192 && n && we(), e.$$.dirty[1] & /*disabledfields*/
|
|
4886
4888
|
16384 && s && Br(), e.$$.dirty[0] & /*simplepasswordvalidation*/
|
|
4887
|
-
1 && u &&
|
|
4889
|
+
1 && u && dr(), e.$$.dirty[0] & /*customStylingContainer*/
|
|
4888
4890
|
8 | e.$$.dirty[1] & /*clientstyling*/
|
|
4889
|
-
65536 && f && Z &&
|
|
4891
|
+
65536 && f && Z && Fs(Z, f), e.$$.dirty[0] & /*customStylingContainer*/
|
|
4890
4892
|
8 | e.$$.dirty[1] & /*clientstylingurl*/
|
|
4891
|
-
131072 && c && Z &&
|
|
4893
|
+
131072 && c && Z && Ds(Z, c), e.$$.dirty[0] & /*customStylingContainer*/
|
|
4892
4894
|
8 | e.$$.dirty[1] & /*mbsource*/
|
|
4893
|
-
32768 && a && Z &&
|
|
4895
|
+
32768 && a && Z && Gs(Z, `${a}.Style`), e.$$.dirty[1] & /*translationurl*/
|
|
4894
4896
|
262144 && h && Ar();
|
|
4895
4897
|
}, [
|
|
4896
4898
|
u,
|
|
4897
|
-
|
|
4899
|
+
m,
|
|
4898
4900
|
g,
|
|
4899
4901
|
Z,
|
|
4900
4902
|
b,
|
|
@@ -4906,7 +4908,7 @@ function Xs(e, r, t) {
|
|
|
4906
4908
|
R,
|
|
4907
4909
|
ce,
|
|
4908
4910
|
G,
|
|
4909
|
-
|
|
4911
|
+
me,
|
|
4910
4912
|
U,
|
|
4911
4913
|
De,
|
|
4912
4914
|
Ce,
|
|
@@ -4930,7 +4932,7 @@ function Xs(e, r, t) {
|
|
|
4930
4932
|
je,
|
|
4931
4933
|
Me,
|
|
4932
4934
|
Re,
|
|
4933
|
-
|
|
4935
|
+
mr,
|
|
4934
4936
|
$e,
|
|
4935
4937
|
He,
|
|
4936
4938
|
gr,
|
|
@@ -4963,7 +4965,7 @@ function Xs(e, r, t) {
|
|
|
4963
4965
|
Ur,
|
|
4964
4966
|
qe,
|
|
4965
4967
|
kr,
|
|
4966
|
-
|
|
4968
|
+
de,
|
|
4967
4969
|
Ie,
|
|
4968
4970
|
Je,
|
|
4969
4971
|
Er,
|
|
@@ -4975,14 +4977,14 @@ function Xs(e, r, t) {
|
|
|
4975
4977
|
Ke
|
|
4976
4978
|
];
|
|
4977
4979
|
}
|
|
4978
|
-
class
|
|
4980
|
+
class Ws extends Zi {
|
|
4979
4981
|
constructor(r) {
|
|
4980
|
-
super(),
|
|
4982
|
+
super(), Qi(
|
|
4981
4983
|
this,
|
|
4982
4984
|
r,
|
|
4985
|
+
Zs,
|
|
4983
4986
|
Xs,
|
|
4984
|
-
|
|
4985
|
-
Kt,
|
|
4987
|
+
ri,
|
|
4986
4988
|
{
|
|
4987
4989
|
lang: 44,
|
|
4988
4990
|
disabledfields: 45,
|
|
@@ -4994,7 +4996,7 @@ class Zs extends Qi {
|
|
|
4994
4996
|
savecredentials: 1,
|
|
4995
4997
|
custominputtextswitch: 2
|
|
4996
4998
|
},
|
|
4997
|
-
|
|
4999
|
+
js,
|
|
4998
5000
|
[-1, -1, -1, -1]
|
|
4999
5001
|
);
|
|
5000
5002
|
}
|
|
@@ -5053,7 +5055,7 @@ class Zs extends Qi {
|
|
|
5053
5055
|
this.$$set({ custominputtextswitch: r }), be();
|
|
5054
5056
|
}
|
|
5055
5057
|
}
|
|
5056
|
-
|
|
5058
|
+
Xi(Ws, { lang: {}, disabledfields: {}, simplepasswordvalidation: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, savecredentials: {}, custominputtextswitch: {} }, [], [], !0);
|
|
5057
5059
|
export {
|
|
5058
|
-
|
|
5060
|
+
Ws as G
|
|
5059
5061
|
};
|