@everymatrix/general-player-register-form-step1-nd 1.87.25 → 1.87.27
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-BXlyNZ9W.js → GeneralPlayerRegisterFormStep1Nd-89pnkEtn.js} +943 -916
- package/components/{GeneralPlayerRegisterFormStep1Nd-DLqJU0K6.js → GeneralPlayerRegisterFormStep1Nd-Sz2bIJtl.js} +1091 -1063
- package/components/GeneralPlayerRegisterFormStep1Nd-oA99iZMW.cjs +3 -0
- 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
- package/components/GeneralPlayerRegisterFormStep1Nd-CljlNjuw.cjs +0 -3
|
@@ -1,46 +1,46 @@
|
|
|
1
|
-
function
|
|
1
|
+
function X() {
|
|
2
2
|
}
|
|
3
|
-
function
|
|
3
|
+
function ri(e) {
|
|
4
4
|
return e();
|
|
5
5
|
}
|
|
6
|
-
function
|
|
6
|
+
function It() {
|
|
7
7
|
return /* @__PURE__ */ Object.create(null);
|
|
8
8
|
}
|
|
9
|
-
function
|
|
10
|
-
e.forEach(
|
|
9
|
+
function cr(e) {
|
|
10
|
+
e.forEach(ri);
|
|
11
11
|
}
|
|
12
|
-
function
|
|
12
|
+
function Ct(e) {
|
|
13
13
|
return typeof e == "function";
|
|
14
14
|
}
|
|
15
|
-
function
|
|
15
|
+
function ti(e, r) {
|
|
16
16
|
return e != e ? r == r : e !== r || e && typeof e == "object" || typeof e == "function";
|
|
17
17
|
}
|
|
18
|
-
function
|
|
18
|
+
function Hi(e) {
|
|
19
19
|
return Object.keys(e).length === 0;
|
|
20
20
|
}
|
|
21
|
-
function
|
|
21
|
+
function ii(e, ...r) {
|
|
22
22
|
if (e == null) {
|
|
23
23
|
for (const i of r)
|
|
24
24
|
i(void 0);
|
|
25
|
-
return
|
|
25
|
+
return X;
|
|
26
26
|
}
|
|
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 Bi(e, r, t) {
|
|
31
|
+
e.$$.on_destroy.push(ii(r, t));
|
|
32
32
|
}
|
|
33
33
|
function l(e, r) {
|
|
34
34
|
e.appendChild(r);
|
|
35
35
|
}
|
|
36
|
-
function
|
|
37
|
-
const i =
|
|
36
|
+
function Ii(e, r, t) {
|
|
37
|
+
const i = Ni(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, Oi(i, n);
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
|
-
function
|
|
43
|
+
function Ni(e) {
|
|
44
44
|
if (!e)
|
|
45
45
|
return document;
|
|
46
46
|
const r = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -50,7 +50,7 @@ function Ii(e) {
|
|
|
50
50
|
r
|
|
51
51
|
) : e.ownerDocument;
|
|
52
52
|
}
|
|
53
|
-
function
|
|
53
|
+
function Oi(e, r) {
|
|
54
54
|
return l(
|
|
55
55
|
/** @type {Document} */
|
|
56
56
|
e.head || e,
|
|
@@ -60,7 +60,7 @@ function Ni(e, r) {
|
|
|
60
60
|
function ue(e, r, t) {
|
|
61
61
|
e.insertBefore(r, t || null);
|
|
62
62
|
}
|
|
63
|
-
function
|
|
63
|
+
function ne(e) {
|
|
64
64
|
e.parentNode && e.parentNode.removeChild(e);
|
|
65
65
|
}
|
|
66
66
|
function E(e) {
|
|
@@ -72,26 +72,26 @@ function _(e) {
|
|
|
72
72
|
function T(e) {
|
|
73
73
|
return document.createTextNode(e);
|
|
74
74
|
}
|
|
75
|
-
function
|
|
75
|
+
function H() {
|
|
76
76
|
return T(" ");
|
|
77
77
|
}
|
|
78
|
-
function
|
|
78
|
+
function C(e, r, t, i) {
|
|
79
79
|
return e.addEventListener(r, t, i), () => e.removeEventListener(r, t, i);
|
|
80
80
|
}
|
|
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 Li(e) {
|
|
85
85
|
return Array.from(e.childNodes);
|
|
86
86
|
}
|
|
87
87
|
function D(e, r) {
|
|
88
88
|
r = "" + r, e.data !== r && (e.data = /** @type {string} */
|
|
89
89
|
r);
|
|
90
90
|
}
|
|
91
|
-
function
|
|
91
|
+
function ie(e, r) {
|
|
92
92
|
e.value = r ?? "";
|
|
93
93
|
}
|
|
94
|
-
function
|
|
94
|
+
function Mi(e) {
|
|
95
95
|
const r = {};
|
|
96
96
|
return e.childNodes.forEach(
|
|
97
97
|
/** @param {Element} node */
|
|
@@ -100,95 +100,95 @@ function Li(e) {
|
|
|
100
100
|
}
|
|
101
101
|
), r;
|
|
102
102
|
}
|
|
103
|
-
let
|
|
104
|
-
function
|
|
105
|
-
|
|
103
|
+
let Hr;
|
|
104
|
+
function Ar(e) {
|
|
105
|
+
Hr = e;
|
|
106
106
|
}
|
|
107
|
-
function
|
|
108
|
-
if (!
|
|
107
|
+
function Ri() {
|
|
108
|
+
if (!Hr)
|
|
109
109
|
throw new Error("Function called outside component initialization");
|
|
110
|
-
return
|
|
110
|
+
return Hr;
|
|
111
111
|
}
|
|
112
|
-
function
|
|
113
|
-
|
|
112
|
+
function Ui(e) {
|
|
113
|
+
Ri().$$.on_mount.push(e);
|
|
114
114
|
}
|
|
115
|
-
const ir = [],
|
|
116
|
-
let
|
|
117
|
-
const
|
|
118
|
-
let
|
|
119
|
-
function
|
|
120
|
-
|
|
115
|
+
const ir = [], Tr = [];
|
|
116
|
+
let sr = [];
|
|
117
|
+
const Nt = [], ki = /* @__PURE__ */ Promise.resolve();
|
|
118
|
+
let mt = !1;
|
|
119
|
+
function Fi() {
|
|
120
|
+
mt || (mt = !0, ki.then(ye));
|
|
121
121
|
}
|
|
122
|
-
function
|
|
123
|
-
|
|
122
|
+
function gt(e) {
|
|
123
|
+
sr.push(e);
|
|
124
124
|
}
|
|
125
|
-
const
|
|
125
|
+
const at = /* @__PURE__ */ new Set();
|
|
126
126
|
let rr = 0;
|
|
127
|
-
function
|
|
127
|
+
function ye() {
|
|
128
128
|
if (rr !== 0)
|
|
129
129
|
return;
|
|
130
|
-
const e =
|
|
130
|
+
const e = Hr;
|
|
131
131
|
do {
|
|
132
132
|
try {
|
|
133
133
|
for (; rr < ir.length; ) {
|
|
134
134
|
const r = ir[rr];
|
|
135
|
-
rr++,
|
|
135
|
+
rr++, Ar(r), Di(r.$$);
|
|
136
136
|
}
|
|
137
137
|
} catch (r) {
|
|
138
138
|
throw ir.length = 0, rr = 0, r;
|
|
139
139
|
}
|
|
140
|
-
for (
|
|
141
|
-
|
|
142
|
-
for (let r = 0; r <
|
|
143
|
-
const t =
|
|
144
|
-
|
|
140
|
+
for (Ar(null), ir.length = 0, rr = 0; Tr.length; )
|
|
141
|
+
Tr.pop()();
|
|
142
|
+
for (let r = 0; r < sr.length; r += 1) {
|
|
143
|
+
const t = sr[r];
|
|
144
|
+
at.has(t) || (at.add(t), t());
|
|
145
145
|
}
|
|
146
|
-
|
|
146
|
+
sr.length = 0;
|
|
147
147
|
} while (ir.length);
|
|
148
|
-
for (;
|
|
149
|
-
|
|
150
|
-
|
|
148
|
+
for (; Nt.length; )
|
|
149
|
+
Nt.pop()();
|
|
150
|
+
mt = !1, at.clear(), Ar(e);
|
|
151
151
|
}
|
|
152
|
-
function
|
|
152
|
+
function Di(e) {
|
|
153
153
|
if (e.fragment !== null) {
|
|
154
|
-
e.update(),
|
|
154
|
+
e.update(), cr(e.before_update);
|
|
155
155
|
const r = e.dirty;
|
|
156
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, r), e.after_update.forEach(
|
|
156
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, r), e.after_update.forEach(gt);
|
|
157
157
|
}
|
|
158
158
|
}
|
|
159
|
-
function
|
|
159
|
+
function Gi(e) {
|
|
160
160
|
const r = [], t = [];
|
|
161
|
-
|
|
161
|
+
sr.forEach((i) => e.indexOf(i) === -1 ? r.push(i) : t.push(i)), t.forEach((i) => i()), sr = r;
|
|
162
162
|
}
|
|
163
|
-
const
|
|
164
|
-
function
|
|
165
|
-
e && e.i && (
|
|
163
|
+
const ji = /* @__PURE__ */ new Set();
|
|
164
|
+
function Vi(e, r) {
|
|
165
|
+
e && e.i && (ji.delete(e), e.i(r));
|
|
166
166
|
}
|
|
167
|
-
function
|
|
167
|
+
function $i(e, r, t) {
|
|
168
168
|
const { fragment: i, after_update: n } = e.$$;
|
|
169
|
-
i && i.m(r, t),
|
|
170
|
-
const s = e.$$.on_mount.map(
|
|
171
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...s) :
|
|
172
|
-
}), n.forEach(
|
|
169
|
+
i && i.m(r, t), gt(() => {
|
|
170
|
+
const s = e.$$.on_mount.map(ri).filter(Ct);
|
|
171
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : cr(s), e.$$.on_mount = [];
|
|
172
|
+
}), n.forEach(gt);
|
|
173
173
|
}
|
|
174
|
-
function
|
|
174
|
+
function zi(e, r) {
|
|
175
175
|
const t = e.$$;
|
|
176
|
-
t.fragment !== null && (
|
|
176
|
+
t.fragment !== null && (Gi(t.after_update), cr(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 && (ir.push(e),
|
|
178
|
+
function Qi(e, r) {
|
|
179
|
+
e.$$.dirty[0] === -1 && (ir.push(e), Fi(), e.$$.dirty.fill(0)), e.$$.dirty[r / 31 | 0] |= 1 << r % 31;
|
|
180
180
|
}
|
|
181
|
-
function
|
|
182
|
-
const f =
|
|
183
|
-
|
|
181
|
+
function Xi(e, r, t, i, n, s, u = null, a = [-1]) {
|
|
182
|
+
const f = Hr;
|
|
183
|
+
Ar(e);
|
|
184
184
|
const c = e.$$ = {
|
|
185
185
|
fragment: null,
|
|
186
186
|
ctx: [],
|
|
187
187
|
// state
|
|
188
188
|
props: s,
|
|
189
|
-
update:
|
|
189
|
+
update: X,
|
|
190
190
|
not_equal: n,
|
|
191
|
-
bound:
|
|
191
|
+
bound: It(),
|
|
192
192
|
// lifecycle
|
|
193
193
|
on_mount: [],
|
|
194
194
|
on_destroy: [],
|
|
@@ -197,7 +197,7 @@ function Qi(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: It(),
|
|
201
201
|
dirty: a,
|
|
202
202
|
skip_bound: !1,
|
|
203
203
|
root: r.target || f.$$.root
|
|
@@ -206,19 +206,19 @@ function Qi(e, r, t, i, n, s, u = null, a = [-1]) {
|
|
|
206
206
|
let h = !1;
|
|
207
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[m], c.ctx[m] = w) && (!c.skip_bound && c.bound[m] && c.bound[m](w), h &&
|
|
210
|
-
}) : [], c.update(), h = !0,
|
|
209
|
+
return c.ctx && n(c.ctx[m], c.ctx[m] = w) && (!c.skip_bound && c.bound[m] && c.bound[m](w), h && Qi(e, m)), g;
|
|
210
|
+
}) : [], c.update(), h = !0, cr(c.before_update), c.fragment = i ? i(c.ctx) : !1, r.target) {
|
|
211
211
|
if (r.hydrate) {
|
|
212
|
-
const m =
|
|
213
|
-
c.fragment && c.fragment.l(m), m.forEach(
|
|
212
|
+
const m = Li(r.target);
|
|
213
|
+
c.fragment && c.fragment.l(m), m.forEach(ne);
|
|
214
214
|
} else
|
|
215
215
|
c.fragment && c.fragment.c();
|
|
216
|
-
r.intro &&
|
|
216
|
+
r.intro && Vi(e.$$.fragment), $i(e, r.target, r.anchor), ye();
|
|
217
217
|
}
|
|
218
|
-
|
|
218
|
+
Ar(f);
|
|
219
219
|
}
|
|
220
|
-
let
|
|
221
|
-
typeof HTMLElement == "function" && (
|
|
220
|
+
let ni;
|
|
221
|
+
typeof HTMLElement == "function" && (ni = class extends HTMLElement {
|
|
222
222
|
/** The Svelte component constructor */
|
|
223
223
|
$$ctor;
|
|
224
224
|
/** Slots */
|
|
@@ -270,19 +270,19 @@ typeof HTMLElement == "function" && (ii = class extends HTMLElement {
|
|
|
270
270
|
ue(f, s, c);
|
|
271
271
|
},
|
|
272
272
|
d: function(f) {
|
|
273
|
-
f &&
|
|
273
|
+
f && ne(s);
|
|
274
274
|
}
|
|
275
275
|
};
|
|
276
276
|
};
|
|
277
277
|
};
|
|
278
278
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
279
279
|
return;
|
|
280
|
-
const r = {}, t =
|
|
280
|
+
const r = {}, t = Mi(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) {
|
|
284
284
|
const s = this.$$g_p(n.name);
|
|
285
|
-
s in this.$$d || (this.$$d[s] =
|
|
285
|
+
s in this.$$d || (this.$$d[s] = Wr(s, n.value, this.$$p_d, "toProp"));
|
|
286
286
|
}
|
|
287
287
|
for (const n in this.$$p_d)
|
|
288
288
|
!(n in this.$$d) && this[n] !== void 0 && (this.$$d[n] = this[n], delete this[n]);
|
|
@@ -300,7 +300,7 @@ typeof HTMLElement == "function" && (ii = class extends HTMLElement {
|
|
|
300
300
|
this.$$r = !0;
|
|
301
301
|
for (const n in this.$$p_d)
|
|
302
302
|
if (this.$$d[n] = this.$$c.$$.ctx[this.$$c.$$.props[n]], this.$$p_d[n].reflect) {
|
|
303
|
-
const s =
|
|
303
|
+
const s = Wr(
|
|
304
304
|
n,
|
|
305
305
|
this.$$d[n],
|
|
306
306
|
this.$$p_d,
|
|
@@ -322,7 +322,7 @@ typeof HTMLElement == "function" && (ii = class extends HTMLElement {
|
|
|
322
322
|
// We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
|
|
323
323
|
// and setting attributes through setAttribute etc, this is helpful
|
|
324
324
|
attributeChangedCallback(e, r, t) {
|
|
325
|
-
this.$$r || (e = this.$$g_p(e), this.$$d[e] =
|
|
325
|
+
this.$$r || (e = this.$$g_p(e), this.$$d[e] = Wr(e, t, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
|
|
326
326
|
}
|
|
327
327
|
disconnectedCallback() {
|
|
328
328
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -335,7 +335,7 @@ typeof HTMLElement == "function" && (ii = class extends HTMLElement {
|
|
|
335
335
|
) || e;
|
|
336
336
|
}
|
|
337
337
|
});
|
|
338
|
-
function
|
|
338
|
+
function Wr(e, r, t, i) {
|
|
339
339
|
const n = t[e]?.type;
|
|
340
340
|
if (r = n === "Boolean" && typeof r != "boolean" ? r != null : r, !i || !t[e])
|
|
341
341
|
return r;
|
|
@@ -364,8 +364,8 @@ function Xr(e, r, t, i) {
|
|
|
364
364
|
return r;
|
|
365
365
|
}
|
|
366
366
|
}
|
|
367
|
-
function
|
|
368
|
-
let u = class extends
|
|
367
|
+
function Zi(e, r, t, i, n, s) {
|
|
368
|
+
let u = class extends ni {
|
|
369
369
|
constructor() {
|
|
370
370
|
super(e, t, n), this.$$p_d = r;
|
|
371
371
|
}
|
|
@@ -381,7 +381,7 @@ function Xi(e, r, t, i, n, s) {
|
|
|
381
381
|
return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
|
|
382
382
|
},
|
|
383
383
|
set(f) {
|
|
384
|
-
f =
|
|
384
|
+
f = Wr(a, f, r), this.$$d[a] = f, this.$$c?.$set({ [a]: f });
|
|
385
385
|
}
|
|
386
386
|
});
|
|
387
387
|
}), i.forEach((a) => {
|
|
@@ -393,7 +393,7 @@ function Xi(e, r, t, i, n, s) {
|
|
|
393
393
|
}), e.element = /** @type {any} */
|
|
394
394
|
u, u;
|
|
395
395
|
}
|
|
396
|
-
class
|
|
396
|
+
class Wi {
|
|
397
397
|
/**
|
|
398
398
|
* ### PRIVATE API
|
|
399
399
|
*
|
|
@@ -412,7 +412,7 @@ class Zi {
|
|
|
412
412
|
$$set = void 0;
|
|
413
413
|
/** @returns {void} */
|
|
414
414
|
$destroy() {
|
|
415
|
-
|
|
415
|
+
zi(this, 1), this.$destroy = X;
|
|
416
416
|
}
|
|
417
417
|
/**
|
|
418
418
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -421,8 +421,8 @@ class Zi {
|
|
|
421
421
|
* @returns {() => void}
|
|
422
422
|
*/
|
|
423
423
|
$on(r, t) {
|
|
424
|
-
if (!
|
|
425
|
-
return
|
|
424
|
+
if (!Ct(t))
|
|
425
|
+
return X;
|
|
426
426
|
const i = this.$$.callbacks[r] || (this.$$.callbacks[r] = []);
|
|
427
427
|
return i.push(t), () => {
|
|
428
428
|
const n = i.indexOf(t);
|
|
@@ -434,22 +434,22 @@ class Zi {
|
|
|
434
434
|
* @returns {void}
|
|
435
435
|
*/
|
|
436
436
|
$set(r) {
|
|
437
|
-
this.$$set && !
|
|
437
|
+
this.$$set && !Hi(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 qi = "4";
|
|
441
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(qi);
|
|
442
442
|
const tr = [];
|
|
443
|
-
function
|
|
443
|
+
function Ji(e, r) {
|
|
444
444
|
return {
|
|
445
|
-
subscribe:
|
|
445
|
+
subscribe: rt(e, r).subscribe
|
|
446
446
|
};
|
|
447
447
|
}
|
|
448
|
-
function
|
|
448
|
+
function rt(e, r = X) {
|
|
449
449
|
let t;
|
|
450
450
|
const i = /* @__PURE__ */ new Set();
|
|
451
451
|
function n(a) {
|
|
452
|
-
if (
|
|
452
|
+
if (ti(e, a) && (e = a, t)) {
|
|
453
453
|
const f = !tr.length;
|
|
454
454
|
for (const c of i)
|
|
455
455
|
c[1](), tr.push(c, e);
|
|
@@ -463,31 +463,31 @@ function Kr(e, r = Q) {
|
|
|
463
463
|
function s(a) {
|
|
464
464
|
n(a(e));
|
|
465
465
|
}
|
|
466
|
-
function u(a, f =
|
|
466
|
+
function u(a, f = X) {
|
|
467
467
|
const c = [a, f];
|
|
468
|
-
return i.add(c), i.size === 1 && (t = r(n, s) ||
|
|
468
|
+
return i.add(c), i.size === 1 && (t = r(n, s) || X), a(e), () => {
|
|
469
469
|
i.delete(c), i.size === 0 && t && (t(), t = null);
|
|
470
470
|
};
|
|
471
471
|
}
|
|
472
472
|
return { set: n, update: s, subscribe: u };
|
|
473
473
|
}
|
|
474
|
-
function
|
|
474
|
+
function hr(e, r, t) {
|
|
475
475
|
const i = !Array.isArray(e), n = i ? [e] : e;
|
|
476
476
|
if (!n.every(Boolean))
|
|
477
477
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
478
478
|
const s = r.length < 2;
|
|
479
|
-
return
|
|
479
|
+
return Ji(t, (u, a) => {
|
|
480
480
|
let f = !1;
|
|
481
481
|
const c = [];
|
|
482
|
-
let h = 0, m =
|
|
482
|
+
let h = 0, m = X;
|
|
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) : m =
|
|
488
|
+
s ? u(w) : m = Ct(w) ? w : X;
|
|
489
489
|
}, b = n.map(
|
|
490
|
-
(w, y) =>
|
|
490
|
+
(w, y) => ii(
|
|
491
491
|
w,
|
|
492
492
|
(A) => {
|
|
493
493
|
c[y] = A, h &= ~(1 << y), f && g();
|
|
@@ -498,96 +498,96 @@ function cr(e, r, t) {
|
|
|
498
498
|
)
|
|
499
499
|
);
|
|
500
500
|
return f = !0, g(), function() {
|
|
501
|
-
|
|
501
|
+
cr(b), m(), f = !1;
|
|
502
502
|
};
|
|
503
503
|
});
|
|
504
504
|
}
|
|
505
|
-
function
|
|
505
|
+
function Yi(e) {
|
|
506
506
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
507
507
|
}
|
|
508
|
-
var
|
|
509
|
-
return
|
|
508
|
+
var Ki = function(r) {
|
|
509
|
+
return en(r) && !rn(r);
|
|
510
510
|
};
|
|
511
|
-
function
|
|
511
|
+
function en(e) {
|
|
512
512
|
return !!e && typeof e == "object";
|
|
513
513
|
}
|
|
514
|
-
function
|
|
514
|
+
function rn(e) {
|
|
515
515
|
var r = Object.prototype.toString.call(e);
|
|
516
|
-
return r === "[object RegExp]" || r === "[object Date]" ||
|
|
517
|
-
}
|
|
518
|
-
var rn = typeof Symbol == "function" && Symbol.for, tn = rn ? Symbol.for("react.element") : 60103;
|
|
519
|
-
function nn(e) {
|
|
520
|
-
return e.$$typeof === tn;
|
|
516
|
+
return r === "[object RegExp]" || r === "[object Date]" || sn(e);
|
|
521
517
|
}
|
|
518
|
+
var tn = typeof Symbol == "function" && Symbol.for, nn = tn ? Symbol.for("react.element") : 60103;
|
|
522
519
|
function sn(e) {
|
|
520
|
+
return e.$$typeof === nn;
|
|
521
|
+
}
|
|
522
|
+
function on(e) {
|
|
523
523
|
return Array.isArray(e) ? [] : {};
|
|
524
524
|
}
|
|
525
|
-
function
|
|
526
|
-
return r.clone !== !1 && r.isMergeableObject(e) ?
|
|
525
|
+
function Br(e, r) {
|
|
526
|
+
return r.clone !== !1 && r.isMergeableObject(e) ? or(on(e), e, r) : e;
|
|
527
527
|
}
|
|
528
|
-
function
|
|
528
|
+
function an(e, r, t) {
|
|
529
529
|
return e.concat(r).map(function(i) {
|
|
530
|
-
return
|
|
530
|
+
return Br(i, t);
|
|
531
531
|
});
|
|
532
532
|
}
|
|
533
|
-
function
|
|
533
|
+
function ln(e, r) {
|
|
534
534
|
if (!r.customMerge)
|
|
535
|
-
return
|
|
535
|
+
return or;
|
|
536
536
|
var t = r.customMerge(e);
|
|
537
|
-
return typeof t == "function" ? t :
|
|
537
|
+
return typeof t == "function" ? t : or;
|
|
538
538
|
}
|
|
539
|
-
function
|
|
539
|
+
function un(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 Ot(e) {
|
|
545
|
+
return Object.keys(e).concat(un(e));
|
|
546
546
|
}
|
|
547
|
-
function
|
|
547
|
+
function si(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 cn(e, r) {
|
|
555
|
+
return si(e, r) && !(Object.hasOwnProperty.call(e, r) && Object.propertyIsEnumerable.call(e, r));
|
|
556
556
|
}
|
|
557
|
-
function
|
|
557
|
+
function hn(e, r, t) {
|
|
558
558
|
var i = {};
|
|
559
|
-
return t.isMergeableObject(e) &&
|
|
560
|
-
i[n] =
|
|
561
|
-
}),
|
|
562
|
-
|
|
559
|
+
return t.isMergeableObject(e) && Ot(e).forEach(function(n) {
|
|
560
|
+
i[n] = Br(e[n], t);
|
|
561
|
+
}), Ot(r).forEach(function(n) {
|
|
562
|
+
cn(e, n) || (si(e, n) && t.isMergeableObject(r[n]) ? i[n] = ln(n, t)(e[n], r[n], t) : i[n] = Br(r[n], t));
|
|
563
563
|
}), i;
|
|
564
564
|
}
|
|
565
|
-
function
|
|
566
|
-
t = t || {}, t.arrayMerge = t.arrayMerge ||
|
|
565
|
+
function or(e, r, t) {
|
|
566
|
+
t = t || {}, t.arrayMerge = t.arrayMerge || an, t.isMergeableObject = t.isMergeableObject || Ki, t.cloneUnlessOtherwiseSpecified = Br;
|
|
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) : hn(e, r, t) : Br(r, t);
|
|
569
569
|
}
|
|
570
|
-
|
|
570
|
+
or.all = function(r, t) {
|
|
571
571
|
if (!Array.isArray(r))
|
|
572
572
|
throw new Error("first argument should be an array");
|
|
573
573
|
return r.reduce(function(i, n) {
|
|
574
|
-
return
|
|
574
|
+
return or(i, n, t);
|
|
575
575
|
}, {});
|
|
576
576
|
};
|
|
577
|
-
var
|
|
578
|
-
const
|
|
579
|
-
var
|
|
580
|
-
return
|
|
577
|
+
var fn = or, dn = fn;
|
|
578
|
+
const mn = /* @__PURE__ */ Yi(dn);
|
|
579
|
+
var pt = function(e, r) {
|
|
580
|
+
return pt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(t, i) {
|
|
581
581
|
t.__proto__ = i;
|
|
582
582
|
} || function(t, i) {
|
|
583
583
|
for (var n in i)
|
|
584
584
|
Object.prototype.hasOwnProperty.call(i, n) && (t[n] = i[n]);
|
|
585
|
-
},
|
|
585
|
+
}, pt(e, r);
|
|
586
586
|
};
|
|
587
|
-
function
|
|
587
|
+
function tt(e, r) {
|
|
588
588
|
if (typeof r != "function" && r !== null)
|
|
589
589
|
throw new TypeError("Class extends value " + String(r) + " is not a constructor or null");
|
|
590
|
-
|
|
590
|
+
pt(e, r);
|
|
591
591
|
function t() {
|
|
592
592
|
this.constructor = e;
|
|
593
593
|
}
|
|
@@ -603,7 +603,7 @@ var Pe = function() {
|
|
|
603
603
|
return r;
|
|
604
604
|
}, Pe.apply(this, arguments);
|
|
605
605
|
};
|
|
606
|
-
function
|
|
606
|
+
function gn(e, r) {
|
|
607
607
|
var t = {};
|
|
608
608
|
for (var i in e)
|
|
609
609
|
Object.prototype.hasOwnProperty.call(e, i) && r.indexOf(i) < 0 && (t[i] = e[i]);
|
|
@@ -612,43 +612,43 @@ function mn(e, r) {
|
|
|
612
612
|
r.indexOf(i[n]) < 0 && Object.prototype.propertyIsEnumerable.call(e, i[n]) && (t[i[n]] = e[i[n]]);
|
|
613
613
|
return t;
|
|
614
614
|
}
|
|
615
|
-
function
|
|
615
|
+
function lt(e, r, t) {
|
|
616
616
|
if (t || arguments.length === 2)
|
|
617
617
|
for (var i = 0, n = r.length, s; i < n; i++)
|
|
618
618
|
(s || !(i in r)) && (s || (s = Array.prototype.slice.call(r, 0, i)), s[i] = r[i]);
|
|
619
619
|
return e.concat(s || Array.prototype.slice.call(r));
|
|
620
620
|
}
|
|
621
|
-
function
|
|
622
|
-
var t = r && r.cache ? r.cache :
|
|
621
|
+
function ut(e, r) {
|
|
622
|
+
var t = r && r.cache ? r.cache : _n, i = r && r.serializer ? r.serializer : vn, n = r && r.strategy ? r.strategy : yn;
|
|
623
623
|
return n(e, {
|
|
624
624
|
cache: t,
|
|
625
625
|
serializer: i
|
|
626
626
|
});
|
|
627
627
|
}
|
|
628
|
-
function
|
|
628
|
+
function pn(e) {
|
|
629
629
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
630
630
|
}
|
|
631
|
-
function
|
|
632
|
-
var n =
|
|
631
|
+
function bn(e, r, t, i) {
|
|
632
|
+
var n = pn(i) ? i : t(i), s = r.get(n);
|
|
633
633
|
return typeof s > "u" && (s = e.call(this, i), r.set(n, s)), s;
|
|
634
634
|
}
|
|
635
|
-
function
|
|
635
|
+
function oi(e, r, t) {
|
|
636
636
|
var i = Array.prototype.slice.call(arguments, 3), n = t(i), s = r.get(n);
|
|
637
637
|
return typeof s > "u" && (s = e.apply(this, i), r.set(n, s)), s;
|
|
638
638
|
}
|
|
639
|
-
function
|
|
639
|
+
function ai(e, r, t, i, n) {
|
|
640
640
|
return t.bind(r, e, i, n);
|
|
641
641
|
}
|
|
642
|
-
function bn(e, r) {
|
|
643
|
-
var t = e.length === 1 ? pn : si;
|
|
644
|
-
return oi(e, this, t, r.cache.create(), r.serializer);
|
|
645
|
-
}
|
|
646
642
|
function yn(e, r) {
|
|
647
|
-
|
|
643
|
+
var t = e.length === 1 ? bn : oi;
|
|
644
|
+
return ai(e, this, t, r.cache.create(), r.serializer);
|
|
645
|
+
}
|
|
646
|
+
function En(e, r) {
|
|
647
|
+
return ai(e, this, oi, r.cache.create(), r.serializer);
|
|
648
648
|
}
|
|
649
|
-
var
|
|
649
|
+
var vn = function() {
|
|
650
650
|
return JSON.stringify(arguments);
|
|
651
|
-
},
|
|
651
|
+
}, wn = (
|
|
652
652
|
/** @class */
|
|
653
653
|
function() {
|
|
654
654
|
function e() {
|
|
@@ -660,71 +660,71 @@ var En = function() {
|
|
|
660
660
|
this.cache[r] = t;
|
|
661
661
|
}, e;
|
|
662
662
|
}()
|
|
663
|
-
),
|
|
663
|
+
), _n = {
|
|
664
664
|
create: function() {
|
|
665
|
-
return new
|
|
665
|
+
return new wn();
|
|
666
666
|
}
|
|
667
|
-
},
|
|
668
|
-
variadic:
|
|
669
|
-
},
|
|
670
|
-
return
|
|
667
|
+
}, ct = {
|
|
668
|
+
variadic: En
|
|
669
|
+
}, Yr = function() {
|
|
670
|
+
return Yr = Object.assign || function(r) {
|
|
671
671
|
for (var t, i = 1, n = arguments.length; i < n; i++) {
|
|
672
672
|
t = arguments[i];
|
|
673
673
|
for (var s in t)
|
|
674
674
|
Object.prototype.hasOwnProperty.call(t, s) && (r[s] = t[s]);
|
|
675
675
|
}
|
|
676
676
|
return r;
|
|
677
|
-
},
|
|
677
|
+
}, Yr.apply(this, arguments);
|
|
678
678
|
};
|
|
679
679
|
var S;
|
|
680
680
|
(function(e) {
|
|
681
681
|
e[e.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", e[e.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", e[e.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", e[e.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", e[e.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", e[e.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", e[e.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", e[e.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", e[e.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", e[e.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", e[e.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", e[e.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", e[e.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", e[e.INVALID_TAG = 23] = "INVALID_TAG", e[e.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", e[e.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", e[e.UNCLOSED_TAG = 27] = "UNCLOSED_TAG";
|
|
682
682
|
})(S || (S = {}));
|
|
683
|
-
var
|
|
683
|
+
var I;
|
|
684
684
|
(function(e) {
|
|
685
685
|
e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
|
|
686
|
-
})(
|
|
687
|
-
var
|
|
686
|
+
})(I || (I = {}));
|
|
687
|
+
var ar;
|
|
688
688
|
(function(e) {
|
|
689
689
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
690
|
-
})(
|
|
691
|
-
function
|
|
692
|
-
return e.type ===
|
|
693
|
-
}
|
|
694
|
-
function _n(e) {
|
|
695
|
-
return e.type === O.argument;
|
|
690
|
+
})(ar || (ar = {}));
|
|
691
|
+
function Lt(e) {
|
|
692
|
+
return e.type === I.literal;
|
|
696
693
|
}
|
|
697
|
-
function
|
|
698
|
-
return e.type ===
|
|
694
|
+
function Sn(e) {
|
|
695
|
+
return e.type === I.argument;
|
|
699
696
|
}
|
|
700
697
|
function li(e) {
|
|
701
|
-
return e.type ===
|
|
698
|
+
return e.type === I.number;
|
|
702
699
|
}
|
|
703
700
|
function ui(e) {
|
|
704
|
-
return e.type ===
|
|
701
|
+
return e.type === I.date;
|
|
705
702
|
}
|
|
706
703
|
function ci(e) {
|
|
707
|
-
return e.type ===
|
|
704
|
+
return e.type === I.time;
|
|
708
705
|
}
|
|
709
706
|
function hi(e) {
|
|
710
|
-
return e.type ===
|
|
711
|
-
}
|
|
712
|
-
function Sn(e) {
|
|
713
|
-
return e.type === O.pound;
|
|
707
|
+
return e.type === I.select;
|
|
714
708
|
}
|
|
715
709
|
function fi(e) {
|
|
716
|
-
return e.type ===
|
|
710
|
+
return e.type === I.plural;
|
|
711
|
+
}
|
|
712
|
+
function Pn(e) {
|
|
713
|
+
return e.type === I.pound;
|
|
717
714
|
}
|
|
718
715
|
function di(e) {
|
|
719
|
-
return
|
|
716
|
+
return e.type === I.tag;
|
|
717
|
+
}
|
|
718
|
+
function mi(e) {
|
|
719
|
+
return !!(e && typeof e == "object" && e.type === ar.number);
|
|
720
720
|
}
|
|
721
|
-
function
|
|
722
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
721
|
+
function bt(e) {
|
|
722
|
+
return !!(e && typeof e == "object" && e.type === ar.dateTime);
|
|
723
723
|
}
|
|
724
|
-
var
|
|
724
|
+
var gi = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Cn = /(?:[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;
|
|
725
725
|
function xn(e) {
|
|
726
726
|
var r = {};
|
|
727
|
-
return e.replace(
|
|
727
|
+
return e.replace(Cn, function(t) {
|
|
728
728
|
var i = t.length;
|
|
729
729
|
switch (t[0]) {
|
|
730
730
|
case "G":
|
|
@@ -813,21 +813,21 @@ function xn(e) {
|
|
|
813
813
|
return "";
|
|
814
814
|
}), r;
|
|
815
815
|
}
|
|
816
|
-
var
|
|
817
|
-
return
|
|
816
|
+
var O = function() {
|
|
817
|
+
return O = Object.assign || function(r) {
|
|
818
818
|
for (var t, i = 1, n = arguments.length; i < n; i++) {
|
|
819
819
|
t = arguments[i];
|
|
820
820
|
for (var s in t)
|
|
821
821
|
Object.prototype.hasOwnProperty.call(t, s) && (r[s] = t[s]);
|
|
822
822
|
}
|
|
823
823
|
return r;
|
|
824
|
-
},
|
|
824
|
+
}, O.apply(this, arguments);
|
|
825
825
|
};
|
|
826
|
-
var
|
|
827
|
-
function
|
|
826
|
+
var An = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
827
|
+
function Tn(e) {
|
|
828
828
|
if (e.length === 0)
|
|
829
829
|
throw new Error("Number skeleton cannot be empty");
|
|
830
|
-
for (var r = e.split(
|
|
830
|
+
for (var r = e.split(An).filter(function(g) {
|
|
831
831
|
return g.length > 0;
|
|
832
832
|
}), t = [], i = 0, n = r; i < n.length; i++) {
|
|
833
833
|
var s = n[i], u = s.split("/");
|
|
@@ -842,17 +842,17 @@ function An(e) {
|
|
|
842
842
|
}
|
|
843
843
|
return t;
|
|
844
844
|
}
|
|
845
|
-
function
|
|
845
|
+
function Hn(e) {
|
|
846
846
|
return e.replace(/^(.*?)-/, "");
|
|
847
847
|
}
|
|
848
|
-
var
|
|
849
|
-
function
|
|
848
|
+
var Mt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, pi = /^(@+)?(\+|#+)?[rs]?$/g, Bn = /(\*)(0+)|(#+)(0+)|(0+)/g, bi = /^(0+)$/;
|
|
849
|
+
function Rt(e) {
|
|
850
850
|
var r = {};
|
|
851
|
-
return e[e.length - 1] === "r" ? r.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (r.roundingPriority = "lessPrecision"), e.replace(
|
|
851
|
+
return e[e.length - 1] === "r" ? r.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (r.roundingPriority = "lessPrecision"), e.replace(pi, function(t, i, n) {
|
|
852
852
|
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)), "";
|
|
853
853
|
}), r;
|
|
854
854
|
}
|
|
855
|
-
function
|
|
855
|
+
function yi(e) {
|
|
856
856
|
switch (e) {
|
|
857
857
|
case "sign-auto":
|
|
858
858
|
return {
|
|
@@ -892,7 +892,7 @@ function bi(e) {
|
|
|
892
892
|
};
|
|
893
893
|
}
|
|
894
894
|
}
|
|
895
|
-
function
|
|
895
|
+
function In(e) {
|
|
896
896
|
var r;
|
|
897
897
|
if (e[0] === "E" && e[1] === "E" ? (r = {
|
|
898
898
|
notation: "engineering"
|
|
@@ -900,17 +900,17 @@ function Bn(e) {
|
|
|
900
900
|
notation: "scientific"
|
|
901
901
|
}, e = e.slice(1)), r) {
|
|
902
902
|
var t = e.slice(0, 2);
|
|
903
|
-
if (t === "+!" ? (r.signDisplay = "always", e = e.slice(2)) : t === "+?" && (r.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
903
|
+
if (t === "+!" ? (r.signDisplay = "always", e = e.slice(2)) : t === "+?" && (r.signDisplay = "exceptZero", e = e.slice(2)), !bi.test(e))
|
|
904
904
|
throw new Error("Malformed concise eng/scientific notation");
|
|
905
905
|
r.minimumIntegerDigits = e.length;
|
|
906
906
|
}
|
|
907
907
|
return r;
|
|
908
908
|
}
|
|
909
|
-
function
|
|
910
|
-
var r = {}, t =
|
|
909
|
+
function Ut(e) {
|
|
910
|
+
var r = {}, t = yi(e);
|
|
911
911
|
return t || r;
|
|
912
912
|
}
|
|
913
|
-
function
|
|
913
|
+
function Nn(e) {
|
|
914
914
|
for (var r = {}, t = 0, i = e; t < i.length; t++) {
|
|
915
915
|
var n = i[t];
|
|
916
916
|
switch (n.stem) {
|
|
@@ -934,7 +934,7 @@ function In(e) {
|
|
|
934
934
|
continue;
|
|
935
935
|
case "measure-unit":
|
|
936
936
|
case "unit":
|
|
937
|
-
r.style = "unit", r.unit =
|
|
937
|
+
r.style = "unit", r.unit = Hn(n.options[0]);
|
|
938
938
|
continue;
|
|
939
939
|
case "compact-short":
|
|
940
940
|
case "K":
|
|
@@ -945,13 +945,13 @@ function In(e) {
|
|
|
945
945
|
r.notation = "compact", r.compactDisplay = "long";
|
|
946
946
|
continue;
|
|
947
947
|
case "scientific":
|
|
948
|
-
r =
|
|
949
|
-
return
|
|
948
|
+
r = O(O(O({}, r), { notation: "scientific" }), n.options.reduce(function(f, c) {
|
|
949
|
+
return O(O({}, f), Ut(c));
|
|
950
950
|
}, {}));
|
|
951
951
|
continue;
|
|
952
952
|
case "engineering":
|
|
953
|
-
r =
|
|
954
|
-
return
|
|
953
|
+
r = O(O(O({}, r), { notation: "engineering" }), n.options.reduce(function(f, c) {
|
|
954
|
+
return O(O({}, f), Ut(c));
|
|
955
955
|
}, {}));
|
|
956
956
|
continue;
|
|
957
957
|
case "notation-simple":
|
|
@@ -996,7 +996,7 @@ function In(e) {
|
|
|
996
996
|
case "integer-width":
|
|
997
997
|
if (n.options.length > 1)
|
|
998
998
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
999
|
-
n.options[0].replace(
|
|
999
|
+
n.options[0].replace(Bn, function(f, c, h, m, g, b) {
|
|
1000
1000
|
if (c)
|
|
1001
1001
|
r.minimumIntegerDigits = h.length;
|
|
1002
1002
|
else {
|
|
@@ -1009,32 +1009,32 @@ function In(e) {
|
|
|
1009
1009
|
});
|
|
1010
1010
|
continue;
|
|
1011
1011
|
}
|
|
1012
|
-
if (
|
|
1012
|
+
if (bi.test(n.stem)) {
|
|
1013
1013
|
r.minimumIntegerDigits = n.stem.length;
|
|
1014
1014
|
continue;
|
|
1015
1015
|
}
|
|
1016
|
-
if (
|
|
1016
|
+
if (Mt.test(n.stem)) {
|
|
1017
1017
|
if (n.options.length > 1)
|
|
1018
1018
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1019
|
-
n.stem.replace(
|
|
1019
|
+
n.stem.replace(Mt, function(f, c, h, m, g, b) {
|
|
1020
1020
|
return h === "*" ? r.minimumFractionDigits = c.length : m && m[0] === "#" ? r.maximumFractionDigits = m.length : g && b ? (r.minimumFractionDigits = g.length, r.maximumFractionDigits = g.length + b.length) : (r.minimumFractionDigits = c.length, r.maximumFractionDigits = c.length), "";
|
|
1021
1021
|
});
|
|
1022
1022
|
var s = n.options[0];
|
|
1023
|
-
s === "w" ? r =
|
|
1023
|
+
s === "w" ? r = O(O({}, r), { trailingZeroDisplay: "stripIfInteger" }) : s && (r = O(O({}, r), Rt(s)));
|
|
1024
1024
|
continue;
|
|
1025
1025
|
}
|
|
1026
|
-
if (
|
|
1027
|
-
r =
|
|
1026
|
+
if (pi.test(n.stem)) {
|
|
1027
|
+
r = O(O({}, r), Rt(n.stem));
|
|
1028
1028
|
continue;
|
|
1029
1029
|
}
|
|
1030
|
-
var u =
|
|
1031
|
-
u && (r =
|
|
1032
|
-
var a =
|
|
1033
|
-
a && (r =
|
|
1030
|
+
var u = yi(n.stem);
|
|
1031
|
+
u && (r = O(O({}, r), u));
|
|
1032
|
+
var a = In(n.stem);
|
|
1033
|
+
a && (r = O(O({}, r), a));
|
|
1034
1034
|
}
|
|
1035
1035
|
return r;
|
|
1036
1036
|
}
|
|
1037
|
-
var
|
|
1037
|
+
var Zr = {
|
|
1038
1038
|
"001": [
|
|
1039
1039
|
"H",
|
|
1040
1040
|
"h"
|
|
@@ -2449,13 +2449,13 @@ var Qr = {
|
|
|
2449
2449
|
"h"
|
|
2450
2450
|
]
|
|
2451
2451
|
};
|
|
2452
|
-
function
|
|
2452
|
+
function On(e, r) {
|
|
2453
2453
|
for (var t = "", i = 0; i < e.length; i++) {
|
|
2454
2454
|
var n = e.charAt(i);
|
|
2455
2455
|
if (n === "j") {
|
|
2456
2456
|
for (var s = 0; i + 1 < e.length && e.charAt(i + 1) === n; )
|
|
2457
2457
|
s++, i++;
|
|
2458
|
-
var u = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), f = "a", c =
|
|
2458
|
+
var u = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), f = "a", c = Ln(r);
|
|
2459
2459
|
for ((c == "H" || c == "k") && (a = 0); a-- > 0; )
|
|
2460
2460
|
t += f;
|
|
2461
2461
|
for (; u-- > 0; )
|
|
@@ -2465,7 +2465,7 @@ function Nn(e, r) {
|
|
|
2465
2465
|
}
|
|
2466
2466
|
return t;
|
|
2467
2467
|
}
|
|
2468
|
-
function
|
|
2468
|
+
function Ln(e) {
|
|
2469
2469
|
var r = e.hourCycle;
|
|
2470
2470
|
if (r === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2471
2471
|
e.hourCycles && // @ts-ignore
|
|
@@ -2484,23 +2484,23 @@ function On(e) {
|
|
|
2484
2484
|
}
|
|
2485
2485
|
var t = e.language, i;
|
|
2486
2486
|
t !== "root" && (i = e.maximize().region);
|
|
2487
|
-
var n =
|
|
2487
|
+
var n = Zr[i || ""] || Zr[t || ""] || Zr["".concat(t, "-001")] || Zr["001"];
|
|
2488
2488
|
return n[0];
|
|
2489
2489
|
}
|
|
2490
|
-
var
|
|
2490
|
+
var ht, Mn = new RegExp("^".concat(gi.source, "*")), Rn = new RegExp("".concat(gi.source, "*$"));
|
|
2491
2491
|
function P(e, r) {
|
|
2492
2492
|
return { start: e, end: r };
|
|
2493
2493
|
}
|
|
2494
|
-
var
|
|
2494
|
+
var Un = !!String.prototype.startsWith && "_a".startsWith("a", 1), kn = !!String.fromCodePoint, Fn = !!Object.fromEntries, Dn = !!String.prototype.codePointAt, Gn = !!String.prototype.trimStart, jn = !!String.prototype.trimEnd, Vn = !!Number.isSafeInteger, $n = Vn ? Number.isSafeInteger : function(e) {
|
|
2495
2495
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2496
|
-
},
|
|
2496
|
+
}, yt = !0;
|
|
2497
2497
|
try {
|
|
2498
|
-
var
|
|
2499
|
-
|
|
2498
|
+
var zn = vi("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2499
|
+
yt = ((ht = zn.exec("a")) === null || ht === void 0 ? void 0 : ht[0]) === "a";
|
|
2500
2500
|
} catch {
|
|
2501
|
-
|
|
2501
|
+
yt = !1;
|
|
2502
2502
|
}
|
|
2503
|
-
var
|
|
2503
|
+
var kt = Un ? (
|
|
2504
2504
|
// Native
|
|
2505
2505
|
function(r, t, i) {
|
|
2506
2506
|
return r.startsWith(t, i);
|
|
@@ -2510,7 +2510,7 @@ var Ut = Rn ? (
|
|
|
2510
2510
|
function(r, t, i) {
|
|
2511
2511
|
return r.slice(i, i + t.length) === t;
|
|
2512
2512
|
}
|
|
2513
|
-
),
|
|
2513
|
+
), Et = kn ? String.fromCodePoint : (
|
|
2514
2514
|
// IE11
|
|
2515
2515
|
function() {
|
|
2516
2516
|
for (var r = [], t = 0; t < arguments.length; t++)
|
|
@@ -2522,9 +2522,9 @@ var Ut = Rn ? (
|
|
|
2522
2522
|
}
|
|
2523
2523
|
return i;
|
|
2524
2524
|
}
|
|
2525
|
-
),
|
|
2525
|
+
), Ft = (
|
|
2526
2526
|
// native
|
|
2527
|
-
|
|
2527
|
+
Fn ? Object.fromEntries : (
|
|
2528
2528
|
// Ponyfill
|
|
2529
2529
|
function(r) {
|
|
2530
2530
|
for (var t = {}, i = 0, n = r; i < n.length; i++) {
|
|
@@ -2534,7 +2534,7 @@ var Ut = Rn ? (
|
|
|
2534
2534
|
return t;
|
|
2535
2535
|
}
|
|
2536
2536
|
)
|
|
2537
|
-
),
|
|
2537
|
+
), Ei = Dn ? (
|
|
2538
2538
|
// Native
|
|
2539
2539
|
function(r, t) {
|
|
2540
2540
|
return r.codePointAt(t);
|
|
@@ -2548,7 +2548,7 @@ var Ut = Rn ? (
|
|
|
2548
2548
|
return n < 55296 || n > 56319 || t + 1 === i || (s = r.charCodeAt(t + 1)) < 56320 || s > 57343 ? n : (n - 55296 << 10) + (s - 56320) + 65536;
|
|
2549
2549
|
}
|
|
2550
2550
|
}
|
|
2551
|
-
),
|
|
2551
|
+
), Qn = Gn ? (
|
|
2552
2552
|
// Native
|
|
2553
2553
|
function(r) {
|
|
2554
2554
|
return r.trimStart();
|
|
@@ -2556,9 +2556,9 @@ var Ut = Rn ? (
|
|
|
2556
2556
|
) : (
|
|
2557
2557
|
// Ponyfill
|
|
2558
2558
|
function(r) {
|
|
2559
|
-
return r.replace(
|
|
2559
|
+
return r.replace(Mn, "");
|
|
2560
2560
|
}
|
|
2561
|
-
),
|
|
2561
|
+
), Xn = jn ? (
|
|
2562
2562
|
// Native
|
|
2563
2563
|
function(r) {
|
|
2564
2564
|
return r.trimEnd();
|
|
@@ -2566,32 +2566,32 @@ var Ut = Rn ? (
|
|
|
2566
2566
|
) : (
|
|
2567
2567
|
// Ponyfill
|
|
2568
2568
|
function(r) {
|
|
2569
|
-
return r.replace(
|
|
2569
|
+
return r.replace(Rn, "");
|
|
2570
2570
|
}
|
|
2571
2571
|
);
|
|
2572
|
-
function
|
|
2572
|
+
function vi(e, r) {
|
|
2573
2573
|
return new RegExp(e, r);
|
|
2574
2574
|
}
|
|
2575
|
-
var
|
|
2576
|
-
if (
|
|
2577
|
-
var
|
|
2578
|
-
|
|
2575
|
+
var vt;
|
|
2576
|
+
if (yt) {
|
|
2577
|
+
var Dt = vi("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2578
|
+
vt = function(r, t) {
|
|
2579
2579
|
var i;
|
|
2580
|
-
|
|
2581
|
-
var n =
|
|
2580
|
+
Dt.lastIndex = t;
|
|
2581
|
+
var n = Dt.exec(r);
|
|
2582
2582
|
return (i = n[1]) !== null && i !== void 0 ? i : "";
|
|
2583
2583
|
};
|
|
2584
2584
|
} else
|
|
2585
|
-
|
|
2585
|
+
vt = function(r, t) {
|
|
2586
2586
|
for (var i = []; ; ) {
|
|
2587
|
-
var n =
|
|
2588
|
-
if (n === void 0 ||
|
|
2587
|
+
var n = Ei(r, t);
|
|
2588
|
+
if (n === void 0 || wi(n) || Jn(n))
|
|
2589
2589
|
break;
|
|
2590
2590
|
i.push(n), t += n >= 65536 ? 2 : 1;
|
|
2591
2591
|
}
|
|
2592
|
-
return
|
|
2592
|
+
return Et.apply(void 0, i);
|
|
2593
2593
|
};
|
|
2594
|
-
var
|
|
2594
|
+
var Zn = (
|
|
2595
2595
|
/** @class */
|
|
2596
2596
|
function() {
|
|
2597
2597
|
function e(r, t) {
|
|
@@ -2615,14 +2615,14 @@ var Xn = (
|
|
|
2615
2615
|
if (s === 35 && (t === "plural" || t === "selectordinal")) {
|
|
2616
2616
|
var a = this.clonePosition();
|
|
2617
2617
|
this.bump(), n.push({
|
|
2618
|
-
type:
|
|
2618
|
+
type: I.pound,
|
|
2619
2619
|
location: P(a, this.clonePosition())
|
|
2620
2620
|
});
|
|
2621
2621
|
} else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
2622
2622
|
if (i)
|
|
2623
2623
|
break;
|
|
2624
2624
|
return this.error(S.UNMATCHED_CLOSING_TAG, P(this.clonePosition(), this.clonePosition()));
|
|
2625
|
-
} else if (s === 60 && !this.ignoreTag &&
|
|
2625
|
+
} else if (s === 60 && !this.ignoreTag && wt(this.peek() || 0)) {
|
|
2626
2626
|
var u = this.parseTag(r, t);
|
|
2627
2627
|
if (u.err)
|
|
2628
2628
|
return u;
|
|
@@ -2643,7 +2643,7 @@ var Xn = (
|
|
|
2643
2643
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
2644
2644
|
return {
|
|
2645
2645
|
val: {
|
|
2646
|
-
type:
|
|
2646
|
+
type: I.literal,
|
|
2647
2647
|
value: "<".concat(n, "/>"),
|
|
2648
2648
|
location: P(i, this.clonePosition())
|
|
2649
2649
|
},
|
|
@@ -2655,12 +2655,12 @@ var Xn = (
|
|
|
2655
2655
|
return s;
|
|
2656
2656
|
var u = s.val, a = this.clonePosition();
|
|
2657
2657
|
if (this.bumpIf("</")) {
|
|
2658
|
-
if (this.isEOF() || !
|
|
2658
|
+
if (this.isEOF() || !wt(this.char()))
|
|
2659
2659
|
return this.error(S.INVALID_TAG, P(a, this.clonePosition()));
|
|
2660
2660
|
var f = this.clonePosition(), c = this.parseTagName();
|
|
2661
2661
|
return n !== c ? this.error(S.UNMATCHED_CLOSING_TAG, P(f, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
2662
2662
|
val: {
|
|
2663
|
-
type:
|
|
2663
|
+
type: I.tag,
|
|
2664
2664
|
value: n,
|
|
2665
2665
|
children: u,
|
|
2666
2666
|
location: P(i, this.clonePosition())
|
|
@@ -2673,7 +2673,7 @@ var Xn = (
|
|
|
2673
2673
|
return this.error(S.INVALID_TAG, P(i, this.clonePosition()));
|
|
2674
2674
|
}, e.prototype.parseTagName = function() {
|
|
2675
2675
|
var r = this.offset();
|
|
2676
|
-
for (this.bump(); !this.isEOF() &&
|
|
2676
|
+
for (this.bump(); !this.isEOF() && qn(this.char()); )
|
|
2677
2677
|
this.bump();
|
|
2678
2678
|
return this.message.slice(r, this.offset());
|
|
2679
2679
|
}, e.prototype.parseLiteral = function(r, t) {
|
|
@@ -2697,12 +2697,12 @@ var Xn = (
|
|
|
2697
2697
|
}
|
|
2698
2698
|
var f = P(i, this.clonePosition());
|
|
2699
2699
|
return {
|
|
2700
|
-
val: { type:
|
|
2700
|
+
val: { type: I.literal, value: n, location: f },
|
|
2701
2701
|
err: null
|
|
2702
2702
|
};
|
|
2703
2703
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
2704
2704
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
2705
|
-
!
|
|
2705
|
+
!Wn(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
2706
2706
|
}, e.prototype.tryParseQuote = function(r) {
|
|
2707
2707
|
if (this.isEOF() || this.char() !== 39)
|
|
2708
2708
|
return null;
|
|
@@ -2736,12 +2736,12 @@ var Xn = (
|
|
|
2736
2736
|
t.push(i);
|
|
2737
2737
|
this.bump();
|
|
2738
2738
|
}
|
|
2739
|
-
return
|
|
2739
|
+
return Et.apply(void 0, t);
|
|
2740
2740
|
}, e.prototype.tryParseUnquoted = function(r, t) {
|
|
2741
2741
|
if (this.isEOF())
|
|
2742
2742
|
return null;
|
|
2743
2743
|
var i = this.char();
|
|
2744
|
-
return i === 60 || i === 123 || i === 35 && (t === "plural" || t === "selectordinal") || i === 125 && r > 0 ? null : (this.bump(),
|
|
2744
|
+
return i === 60 || i === 123 || i === 35 && (t === "plural" || t === "selectordinal") || i === 125 && r > 0 ? null : (this.bump(), Et(i));
|
|
2745
2745
|
}, e.prototype.parseArgument = function(r, t) {
|
|
2746
2746
|
var i = this.clonePosition();
|
|
2747
2747
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -2757,7 +2757,7 @@ var Xn = (
|
|
|
2757
2757
|
case 125:
|
|
2758
2758
|
return this.bump(), {
|
|
2759
2759
|
val: {
|
|
2760
|
-
type:
|
|
2760
|
+
type: I.argument,
|
|
2761
2761
|
// value does not include the opening and closing braces.
|
|
2762
2762
|
value: n,
|
|
2763
2763
|
location: P(i, this.clonePosition())
|
|
@@ -2770,7 +2770,7 @@ var Xn = (
|
|
|
2770
2770
|
return this.error(S.MALFORMED_ARGUMENT, P(i, this.clonePosition()));
|
|
2771
2771
|
}
|
|
2772
2772
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
2773
|
-
var r = this.clonePosition(), t = this.offset(), i =
|
|
2773
|
+
var r = this.clonePosition(), t = this.offset(), i = vt(this.message, t), n = t + i.length;
|
|
2774
2774
|
this.bumpTo(n);
|
|
2775
2775
|
var s = this.clonePosition(), u = P(r, s);
|
|
2776
2776
|
return { value: i, location: u };
|
|
@@ -2789,7 +2789,7 @@ var Xn = (
|
|
|
2789
2789
|
var h = this.clonePosition(), m = this.parseSimpleArgStyleIfPossible();
|
|
2790
2790
|
if (m.err)
|
|
2791
2791
|
return m;
|
|
2792
|
-
var g =
|
|
2792
|
+
var g = Xn(m.val);
|
|
2793
2793
|
if (g.length === 0)
|
|
2794
2794
|
return this.error(S.EXPECT_ARGUMENT_STYLE, P(this.clonePosition(), this.clonePosition()));
|
|
2795
2795
|
var b = P(h, this.clonePosition());
|
|
@@ -2799,34 +2799,34 @@ var Xn = (
|
|
|
2799
2799
|
if (w.err)
|
|
2800
2800
|
return w;
|
|
2801
2801
|
var y = P(n, this.clonePosition());
|
|
2802
|
-
if (c &&
|
|
2803
|
-
var A =
|
|
2802
|
+
if (c && kt(c?.style, "::", 0)) {
|
|
2803
|
+
var A = Qn(c.style.slice(2));
|
|
2804
2804
|
if (a === "number") {
|
|
2805
2805
|
var m = this.parseNumberSkeletonFromString(A, c.styleLocation);
|
|
2806
2806
|
return m.err ? m : {
|
|
2807
|
-
val: { type:
|
|
2807
|
+
val: { type: I.number, value: i, location: y, style: m.val },
|
|
2808
2808
|
err: null
|
|
2809
2809
|
};
|
|
2810
2810
|
} else {
|
|
2811
2811
|
if (A.length === 0)
|
|
2812
2812
|
return this.error(S.EXPECT_DATE_TIME_SKELETON, y);
|
|
2813
|
-
var
|
|
2814
|
-
this.locale && (
|
|
2813
|
+
var B = A;
|
|
2814
|
+
this.locale && (B = On(A, this.locale));
|
|
2815
2815
|
var g = {
|
|
2816
|
-
type:
|
|
2817
|
-
pattern:
|
|
2816
|
+
type: ar.dateTime,
|
|
2817
|
+
pattern: B,
|
|
2818
2818
|
location: c.styleLocation,
|
|
2819
|
-
parsedOptions: this.shouldParseSkeletons ? xn(
|
|
2820
|
-
},
|
|
2819
|
+
parsedOptions: this.shouldParseSkeletons ? xn(B) : {}
|
|
2820
|
+
}, L = a === "date" ? I.date : I.time;
|
|
2821
2821
|
return {
|
|
2822
|
-
val: { type:
|
|
2822
|
+
val: { type: L, value: i, location: y, style: g },
|
|
2823
2823
|
err: null
|
|
2824
2824
|
};
|
|
2825
2825
|
}
|
|
2826
2826
|
}
|
|
2827
2827
|
return {
|
|
2828
2828
|
val: {
|
|
2829
|
-
type: a === "number" ?
|
|
2829
|
+
type: a === "number" ? I.number : a === "date" ? I.date : I.time,
|
|
2830
2830
|
value: i,
|
|
2831
2831
|
location: y,
|
|
2832
2832
|
style: (s = c?.style) !== null && s !== void 0 ? s : null
|
|
@@ -2837,9 +2837,9 @@ var Xn = (
|
|
|
2837
2837
|
case "plural":
|
|
2838
2838
|
case "selectordinal":
|
|
2839
2839
|
case "select": {
|
|
2840
|
-
var
|
|
2840
|
+
var M = this.clonePosition();
|
|
2841
2841
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
2842
|
-
return this.error(S.EXPECT_SELECT_ARGUMENT_OPTIONS, P(
|
|
2842
|
+
return this.error(S.EXPECT_SELECT_ARGUMENT_OPTIONS, P(M, Yr({}, M)));
|
|
2843
2843
|
this.bumpSpace();
|
|
2844
2844
|
var ce = this.parseIdentifierIfPossible(), G = 0;
|
|
2845
2845
|
if (a !== "select" && ce.value === "offset") {
|
|
@@ -2851,29 +2851,29 @@ var Xn = (
|
|
|
2851
2851
|
return m;
|
|
2852
2852
|
this.bumpSpace(), ce = this.parseIdentifierIfPossible(), G = m.val;
|
|
2853
2853
|
}
|
|
2854
|
-
var
|
|
2855
|
-
if (
|
|
2856
|
-
return
|
|
2854
|
+
var ge = this.tryParsePluralOrSelectOptions(r, a, t, ce);
|
|
2855
|
+
if (ge.err)
|
|
2856
|
+
return ge;
|
|
2857
2857
|
var w = this.tryParseArgumentClose(n);
|
|
2858
2858
|
if (w.err)
|
|
2859
2859
|
return w;
|
|
2860
|
-
var
|
|
2860
|
+
var R = P(n, this.clonePosition());
|
|
2861
2861
|
return a === "select" ? {
|
|
2862
2862
|
val: {
|
|
2863
|
-
type:
|
|
2863
|
+
type: I.select,
|
|
2864
2864
|
value: i,
|
|
2865
|
-
options:
|
|
2866
|
-
location:
|
|
2865
|
+
options: Ft(ge.val),
|
|
2866
|
+
location: R
|
|
2867
2867
|
},
|
|
2868
2868
|
err: null
|
|
2869
2869
|
} : {
|
|
2870
2870
|
val: {
|
|
2871
|
-
type:
|
|
2871
|
+
type: I.plural,
|
|
2872
2872
|
value: i,
|
|
2873
|
-
options:
|
|
2873
|
+
options: Ft(ge.val),
|
|
2874
2874
|
offset: G,
|
|
2875
2875
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
2876
|
-
location:
|
|
2876
|
+
location: R
|
|
2877
2877
|
},
|
|
2878
2878
|
err: null
|
|
2879
2879
|
};
|
|
@@ -2921,16 +2921,16 @@ var Xn = (
|
|
|
2921
2921
|
}, e.prototype.parseNumberSkeletonFromString = function(r, t) {
|
|
2922
2922
|
var i = [];
|
|
2923
2923
|
try {
|
|
2924
|
-
i =
|
|
2924
|
+
i = Tn(r);
|
|
2925
2925
|
} catch {
|
|
2926
2926
|
return this.error(S.INVALID_NUMBER_SKELETON, t);
|
|
2927
2927
|
}
|
|
2928
2928
|
return {
|
|
2929
2929
|
val: {
|
|
2930
|
-
type:
|
|
2930
|
+
type: ar.number,
|
|
2931
2931
|
tokens: i,
|
|
2932
2932
|
location: t,
|
|
2933
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2933
|
+
parsedOptions: this.shouldParseSkeletons ? Nn(i) : {}
|
|
2934
2934
|
},
|
|
2935
2935
|
err: null
|
|
2936
2936
|
};
|
|
@@ -2978,7 +2978,7 @@ var Xn = (
|
|
|
2978
2978
|
break;
|
|
2979
2979
|
}
|
|
2980
2980
|
var f = P(n, this.clonePosition());
|
|
2981
|
-
return s ? (u *= i,
|
|
2981
|
+
return s ? (u *= i, $n(u) ? { val: u, err: null } : this.error(t, f)) : this.error(r, f);
|
|
2982
2982
|
}, e.prototype.offset = function() {
|
|
2983
2983
|
return this.position.offset;
|
|
2984
2984
|
}, e.prototype.isEOF = function() {
|
|
@@ -2993,7 +2993,7 @@ var Xn = (
|
|
|
2993
2993
|
var r = this.position.offset;
|
|
2994
2994
|
if (r >= this.message.length)
|
|
2995
2995
|
throw Error("out of bound");
|
|
2996
|
-
var t =
|
|
2996
|
+
var t = Ei(this.message, r);
|
|
2997
2997
|
if (t === void 0)
|
|
2998
2998
|
throw Error("Offset ".concat(r, " is at invalid UTF-16 code unit boundary"));
|
|
2999
2999
|
return t;
|
|
@@ -3012,7 +3012,7 @@ var Xn = (
|
|
|
3012
3012
|
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);
|
|
3013
3013
|
}
|
|
3014
3014
|
}, e.prototype.bumpIf = function(r) {
|
|
3015
|
-
if (
|
|
3015
|
+
if (kt(this.message, r, this.offset())) {
|
|
3016
3016
|
for (var t = 0; t < r.length; t++)
|
|
3017
3017
|
this.bump();
|
|
3018
3018
|
return !0;
|
|
@@ -3034,7 +3034,7 @@ var Xn = (
|
|
|
3034
3034
|
break;
|
|
3035
3035
|
}
|
|
3036
3036
|
}, e.prototype.bumpSpace = function() {
|
|
3037
|
-
for (; !this.isEOF() &&
|
|
3037
|
+
for (; !this.isEOF() && wi(this.char()); )
|
|
3038
3038
|
this.bump();
|
|
3039
3039
|
}, e.prototype.peek = function() {
|
|
3040
3040
|
if (this.isEOF())
|
|
@@ -3044,47 +3044,47 @@ var Xn = (
|
|
|
3044
3044
|
}, e;
|
|
3045
3045
|
}()
|
|
3046
3046
|
);
|
|
3047
|
-
function
|
|
3047
|
+
function wt(e) {
|
|
3048
3048
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3049
3049
|
}
|
|
3050
|
-
function Zn(e) {
|
|
3051
|
-
return vt(e) || e === 47;
|
|
3052
|
-
}
|
|
3053
3050
|
function Wn(e) {
|
|
3051
|
+
return wt(e) || e === 47;
|
|
3052
|
+
}
|
|
3053
|
+
function qn(e) {
|
|
3054
3054
|
return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
|
|
3055
3055
|
}
|
|
3056
|
-
function
|
|
3056
|
+
function wi(e) {
|
|
3057
3057
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3058
3058
|
}
|
|
3059
|
-
function
|
|
3059
|
+
function Jn(e) {
|
|
3060
3060
|
return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
|
|
3061
3061
|
}
|
|
3062
|
-
function
|
|
3062
|
+
function _t(e) {
|
|
3063
3063
|
e.forEach(function(r) {
|
|
3064
|
-
if (delete r.location,
|
|
3064
|
+
if (delete r.location, hi(r) || fi(r))
|
|
3065
3065
|
for (var t in r.options)
|
|
3066
|
-
delete r.options[t].location,
|
|
3066
|
+
delete r.options[t].location, _t(r.options[t].value);
|
|
3067
3067
|
else
|
|
3068
|
-
|
|
3068
|
+
li(r) && mi(r.style) || (ui(r) || ci(r)) && bt(r.style) ? delete r.style.location : di(r) && _t(r.children);
|
|
3069
3069
|
});
|
|
3070
3070
|
}
|
|
3071
|
-
function
|
|
3072
|
-
r === void 0 && (r = {}), r =
|
|
3073
|
-
var t = new
|
|
3071
|
+
function Yn(e, r) {
|
|
3072
|
+
r === void 0 && (r = {}), r = Yr({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, r);
|
|
3073
|
+
var t = new Zn(e, r).parse();
|
|
3074
3074
|
if (t.err) {
|
|
3075
3075
|
var i = SyntaxError(S[t.err.kind]);
|
|
3076
3076
|
throw i.location = t.err.location, i.originalMessage = t.err.message, i;
|
|
3077
3077
|
}
|
|
3078
|
-
return r?.captureLocation ||
|
|
3078
|
+
return r?.captureLocation || _t(t.val), t.val;
|
|
3079
3079
|
}
|
|
3080
|
-
var
|
|
3080
|
+
var lr;
|
|
3081
3081
|
(function(e) {
|
|
3082
3082
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3083
|
-
})(
|
|
3084
|
-
var
|
|
3083
|
+
})(lr || (lr = {}));
|
|
3084
|
+
var it = (
|
|
3085
3085
|
/** @class */
|
|
3086
3086
|
function(e) {
|
|
3087
|
-
|
|
3087
|
+
tt(r, e);
|
|
3088
3088
|
function r(t, i, n) {
|
|
3089
3089
|
var s = e.call(this, t) || this;
|
|
3090
3090
|
return s.code = i, s.originalMessage = n, s;
|
|
@@ -3093,155 +3093,155 @@ var rt = (
|
|
|
3093
3093
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3094
3094
|
}, r;
|
|
3095
3095
|
}(Error)
|
|
3096
|
-
),
|
|
3096
|
+
), Gt = (
|
|
3097
3097
|
/** @class */
|
|
3098
3098
|
function(e) {
|
|
3099
|
-
|
|
3099
|
+
tt(r, e);
|
|
3100
3100
|
function r(t, i, n, s) {
|
|
3101
|
-
return e.call(this, 'Invalid values for "'.concat(t, '": "').concat(i, '". Options are "').concat(Object.keys(n).join('", "'), '"'),
|
|
3101
|
+
return e.call(this, 'Invalid values for "'.concat(t, '": "').concat(i, '". Options are "').concat(Object.keys(n).join('", "'), '"'), lr.INVALID_VALUE, s) || this;
|
|
3102
3102
|
}
|
|
3103
3103
|
return r;
|
|
3104
|
-
}(
|
|
3105
|
-
),
|
|
3104
|
+
}(it)
|
|
3105
|
+
), Kn = (
|
|
3106
3106
|
/** @class */
|
|
3107
3107
|
function(e) {
|
|
3108
|
-
|
|
3108
|
+
tt(r, e);
|
|
3109
3109
|
function r(t, i, n) {
|
|
3110
|
-
return e.call(this, 'Value for "'.concat(t, '" must be of type ').concat(i),
|
|
3110
|
+
return e.call(this, 'Value for "'.concat(t, '" must be of type ').concat(i), lr.INVALID_VALUE, n) || this;
|
|
3111
3111
|
}
|
|
3112
3112
|
return r;
|
|
3113
|
-
}(
|
|
3114
|
-
),
|
|
3113
|
+
}(it)
|
|
3114
|
+
), es = (
|
|
3115
3115
|
/** @class */
|
|
3116
3116
|
function(e) {
|
|
3117
|
-
|
|
3117
|
+
tt(r, e);
|
|
3118
3118
|
function r(t, i) {
|
|
3119
|
-
return e.call(this, 'The intl string context variable "'.concat(t, '" was not provided to the string "').concat(i, '"'),
|
|
3119
|
+
return e.call(this, 'The intl string context variable "'.concat(t, '" was not provided to the string "').concat(i, '"'), lr.MISSING_VALUE, i) || this;
|
|
3120
3120
|
}
|
|
3121
3121
|
return r;
|
|
3122
|
-
}(
|
|
3123
|
-
),
|
|
3122
|
+
}(it)
|
|
3123
|
+
), Q;
|
|
3124
3124
|
(function(e) {
|
|
3125
3125
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3126
|
-
})(
|
|
3127
|
-
function
|
|
3126
|
+
})(Q || (Q = {}));
|
|
3127
|
+
function rs(e) {
|
|
3128
3128
|
return e.length < 2 ? e : e.reduce(function(r, t) {
|
|
3129
3129
|
var i = r[r.length - 1];
|
|
3130
|
-
return !i || i.type !==
|
|
3130
|
+
return !i || i.type !== Q.literal || t.type !== Q.literal ? r.push(t) : i.value += t.value, r;
|
|
3131
3131
|
}, []);
|
|
3132
3132
|
}
|
|
3133
|
-
function
|
|
3133
|
+
function ts(e) {
|
|
3134
3134
|
return typeof e == "function";
|
|
3135
3135
|
}
|
|
3136
|
-
function
|
|
3137
|
-
if (e.length === 1 &&
|
|
3136
|
+
function qr(e, r, t, i, n, s, u) {
|
|
3137
|
+
if (e.length === 1 && Lt(e[0]))
|
|
3138
3138
|
return [
|
|
3139
3139
|
{
|
|
3140
|
-
type:
|
|
3140
|
+
type: Q.literal,
|
|
3141
3141
|
value: e[0].value
|
|
3142
3142
|
}
|
|
3143
3143
|
];
|
|
3144
3144
|
for (var a = [], f = 0, c = e; f < c.length; f++) {
|
|
3145
3145
|
var h = c[f];
|
|
3146
|
-
if (
|
|
3146
|
+
if (Lt(h)) {
|
|
3147
3147
|
a.push({
|
|
3148
|
-
type:
|
|
3148
|
+
type: Q.literal,
|
|
3149
3149
|
value: h.value
|
|
3150
3150
|
});
|
|
3151
3151
|
continue;
|
|
3152
3152
|
}
|
|
3153
|
-
if (
|
|
3153
|
+
if (Pn(h)) {
|
|
3154
3154
|
typeof s == "number" && a.push({
|
|
3155
|
-
type:
|
|
3155
|
+
type: Q.literal,
|
|
3156
3156
|
value: t.getNumberFormat(r).format(s)
|
|
3157
3157
|
});
|
|
3158
3158
|
continue;
|
|
3159
3159
|
}
|
|
3160
3160
|
var m = h.value;
|
|
3161
3161
|
if (!(n && m in n))
|
|
3162
|
-
throw new
|
|
3162
|
+
throw new es(m, u);
|
|
3163
3163
|
var g = n[m];
|
|
3164
|
-
if (
|
|
3164
|
+
if (Sn(h)) {
|
|
3165
3165
|
(!g || typeof g == "string" || typeof g == "number") && (g = typeof g == "string" || typeof g == "number" ? String(g) : ""), a.push({
|
|
3166
|
-
type: typeof g == "string" ?
|
|
3166
|
+
type: typeof g == "string" ? Q.literal : Q.object,
|
|
3167
3167
|
value: g
|
|
3168
3168
|
});
|
|
3169
3169
|
continue;
|
|
3170
3170
|
}
|
|
3171
|
-
if (
|
|
3172
|
-
var b = typeof h.style == "string" ? i.date[h.style] :
|
|
3171
|
+
if (ui(h)) {
|
|
3172
|
+
var b = typeof h.style == "string" ? i.date[h.style] : bt(h.style) ? h.style.parsedOptions : void 0;
|
|
3173
3173
|
a.push({
|
|
3174
|
-
type:
|
|
3174
|
+
type: Q.literal,
|
|
3175
3175
|
value: t.getDateTimeFormat(r, b).format(g)
|
|
3176
3176
|
});
|
|
3177
3177
|
continue;
|
|
3178
3178
|
}
|
|
3179
|
-
if (
|
|
3180
|
-
var b = typeof h.style == "string" ? i.time[h.style] :
|
|
3179
|
+
if (ci(h)) {
|
|
3180
|
+
var b = typeof h.style == "string" ? i.time[h.style] : bt(h.style) ? h.style.parsedOptions : i.time.medium;
|
|
3181
3181
|
a.push({
|
|
3182
|
-
type:
|
|
3182
|
+
type: Q.literal,
|
|
3183
3183
|
value: t.getDateTimeFormat(r, b).format(g)
|
|
3184
3184
|
});
|
|
3185
3185
|
continue;
|
|
3186
3186
|
}
|
|
3187
|
-
if (
|
|
3188
|
-
var b = typeof h.style == "string" ? i.number[h.style] :
|
|
3187
|
+
if (li(h)) {
|
|
3188
|
+
var b = typeof h.style == "string" ? i.number[h.style] : mi(h.style) ? h.style.parsedOptions : void 0;
|
|
3189
3189
|
b && b.scale && (g = g * (b.scale || 1)), a.push({
|
|
3190
|
-
type:
|
|
3190
|
+
type: Q.literal,
|
|
3191
3191
|
value: t.getNumberFormat(r, b).format(g)
|
|
3192
3192
|
});
|
|
3193
3193
|
continue;
|
|
3194
3194
|
}
|
|
3195
|
-
if (
|
|
3195
|
+
if (di(h)) {
|
|
3196
3196
|
var w = h.children, y = h.value, A = n[y];
|
|
3197
|
-
if (!
|
|
3198
|
-
throw new
|
|
3199
|
-
var
|
|
3197
|
+
if (!ts(A))
|
|
3198
|
+
throw new Kn(y, "function", u);
|
|
3199
|
+
var B = qr(w, r, t, i, n, s), L = A(B.map(function(G) {
|
|
3200
3200
|
return G.value;
|
|
3201
3201
|
}));
|
|
3202
|
-
Array.isArray(
|
|
3202
|
+
Array.isArray(L) || (L = [L]), a.push.apply(a, L.map(function(G) {
|
|
3203
3203
|
return {
|
|
3204
|
-
type: typeof G == "string" ?
|
|
3204
|
+
type: typeof G == "string" ? Q.literal : Q.object,
|
|
3205
3205
|
value: G
|
|
3206
3206
|
};
|
|
3207
3207
|
}));
|
|
3208
3208
|
}
|
|
3209
|
-
if (
|
|
3210
|
-
var
|
|
3211
|
-
if (!
|
|
3212
|
-
throw new
|
|
3213
|
-
a.push.apply(a,
|
|
3209
|
+
if (hi(h)) {
|
|
3210
|
+
var M = h.options[g] || h.options.other;
|
|
3211
|
+
if (!M)
|
|
3212
|
+
throw new Gt(h.value, g, Object.keys(h.options), u);
|
|
3213
|
+
a.push.apply(a, qr(M.value, r, t, i, n));
|
|
3214
3214
|
continue;
|
|
3215
3215
|
}
|
|
3216
|
-
if (
|
|
3217
|
-
var
|
|
3218
|
-
if (!
|
|
3216
|
+
if (fi(h)) {
|
|
3217
|
+
var M = h.options["=".concat(g)];
|
|
3218
|
+
if (!M) {
|
|
3219
3219
|
if (!Intl.PluralRules)
|
|
3220
|
-
throw new
|
|
3220
|
+
throw new it(`Intl.PluralRules is not available in this environment.
|
|
3221
3221
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3222
|
-
`,
|
|
3222
|
+
`, lr.MISSING_INTL_API, u);
|
|
3223
3223
|
var ce = t.getPluralRules(r, { type: h.pluralType }).select(g - (h.offset || 0));
|
|
3224
|
-
|
|
3224
|
+
M = h.options[ce] || h.options.other;
|
|
3225
3225
|
}
|
|
3226
|
-
if (!
|
|
3227
|
-
throw new
|
|
3228
|
-
a.push.apply(a,
|
|
3226
|
+
if (!M)
|
|
3227
|
+
throw new Gt(h.value, g, Object.keys(h.options), u);
|
|
3228
|
+
a.push.apply(a, qr(M.value, r, t, i, n, g - (h.offset || 0)));
|
|
3229
3229
|
continue;
|
|
3230
3230
|
}
|
|
3231
3231
|
}
|
|
3232
|
-
return
|
|
3232
|
+
return rs(a);
|
|
3233
3233
|
}
|
|
3234
|
-
function
|
|
3234
|
+
function is(e, r) {
|
|
3235
3235
|
return r ? Pe(Pe(Pe({}, e || {}), r || {}), Object.keys(e).reduce(function(t, i) {
|
|
3236
3236
|
return t[i] = Pe(Pe({}, e[i]), r[i] || {}), t;
|
|
3237
3237
|
}, {})) : e;
|
|
3238
3238
|
}
|
|
3239
|
-
function
|
|
3239
|
+
function ns(e, r) {
|
|
3240
3240
|
return r ? Object.keys(e).reduce(function(t, i) {
|
|
3241
|
-
return t[i] =
|
|
3241
|
+
return t[i] = is(e[i], r[i]), t;
|
|
3242
3242
|
}, Pe({}, e)) : e;
|
|
3243
3243
|
}
|
|
3244
|
-
function
|
|
3244
|
+
function ft(e) {
|
|
3245
3245
|
return {
|
|
3246
3246
|
create: function() {
|
|
3247
3247
|
return {
|
|
@@ -3255,39 +3255,39 @@ function ht(e) {
|
|
|
3255
3255
|
}
|
|
3256
3256
|
};
|
|
3257
3257
|
}
|
|
3258
|
-
function
|
|
3258
|
+
function ss(e) {
|
|
3259
3259
|
return e === void 0 && (e = {
|
|
3260
3260
|
number: {},
|
|
3261
3261
|
dateTime: {},
|
|
3262
3262
|
pluralRules: {}
|
|
3263
3263
|
}), {
|
|
3264
|
-
getNumberFormat:
|
|
3264
|
+
getNumberFormat: ut(function() {
|
|
3265
3265
|
for (var r, t = [], i = 0; i < arguments.length; i++)
|
|
3266
3266
|
t[i] = arguments[i];
|
|
3267
|
-
return new ((r = Intl.NumberFormat).bind.apply(r,
|
|
3267
|
+
return new ((r = Intl.NumberFormat).bind.apply(r, lt([void 0], t, !1)))();
|
|
3268
3268
|
}, {
|
|
3269
|
-
cache:
|
|
3270
|
-
strategy:
|
|
3269
|
+
cache: ft(e.number),
|
|
3270
|
+
strategy: ct.variadic
|
|
3271
3271
|
}),
|
|
3272
|
-
getDateTimeFormat:
|
|
3272
|
+
getDateTimeFormat: ut(function() {
|
|
3273
3273
|
for (var r, t = [], i = 0; i < arguments.length; i++)
|
|
3274
3274
|
t[i] = arguments[i];
|
|
3275
|
-
return new ((r = Intl.DateTimeFormat).bind.apply(r,
|
|
3275
|
+
return new ((r = Intl.DateTimeFormat).bind.apply(r, lt([void 0], t, !1)))();
|
|
3276
3276
|
}, {
|
|
3277
|
-
cache:
|
|
3278
|
-
strategy:
|
|
3277
|
+
cache: ft(e.dateTime),
|
|
3278
|
+
strategy: ct.variadic
|
|
3279
3279
|
}),
|
|
3280
|
-
getPluralRules:
|
|
3280
|
+
getPluralRules: ut(function() {
|
|
3281
3281
|
for (var r, t = [], i = 0; i < arguments.length; i++)
|
|
3282
3282
|
t[i] = arguments[i];
|
|
3283
|
-
return new ((r = Intl.PluralRules).bind.apply(r,
|
|
3283
|
+
return new ((r = Intl.PluralRules).bind.apply(r, lt([void 0], t, !1)))();
|
|
3284
3284
|
}, {
|
|
3285
|
-
cache:
|
|
3286
|
-
strategy:
|
|
3285
|
+
cache: ft(e.pluralRules),
|
|
3286
|
+
strategy: ct.variadic
|
|
3287
3287
|
})
|
|
3288
3288
|
};
|
|
3289
3289
|
}
|
|
3290
|
-
var
|
|
3290
|
+
var os = (
|
|
3291
3291
|
/** @class */
|
|
3292
3292
|
function() {
|
|
3293
3293
|
function e(r, t, i, n) {
|
|
@@ -3302,11 +3302,11 @@ var ss = (
|
|
|
3302
3302
|
if (c.length === 1)
|
|
3303
3303
|
return c[0].value;
|
|
3304
3304
|
var h = c.reduce(function(m, g) {
|
|
3305
|
-
return !m.length || g.type !==
|
|
3305
|
+
return !m.length || g.type !== Q.literal || typeof m[m.length - 1] != "string" ? m.push(g.value) : m[m.length - 1] += g.value, m;
|
|
3306
3306
|
}, []);
|
|
3307
3307
|
return h.length <= 1 ? h[0] || "" : h;
|
|
3308
3308
|
}, this.formatToParts = function(f) {
|
|
3309
|
-
return
|
|
3309
|
+
return qr(s.ast, s.locales, s.formatters, s.formats, f, void 0, s.message);
|
|
3310
3310
|
}, this.resolvedOptions = function() {
|
|
3311
3311
|
var f;
|
|
3312
3312
|
return {
|
|
@@ -3319,13 +3319,13 @@ var ss = (
|
|
|
3319
3319
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3320
3320
|
var u = n || {};
|
|
3321
3321
|
u.formatters;
|
|
3322
|
-
var a =
|
|
3322
|
+
var a = gn(u, ["formatters"]);
|
|
3323
3323
|
this.ast = e.__parse(r, Pe(Pe({}, a), { locale: this.resolvedLocale }));
|
|
3324
3324
|
} else
|
|
3325
3325
|
this.ast = r;
|
|
3326
3326
|
if (!Array.isArray(this.ast))
|
|
3327
3327
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3328
|
-
this.formats =
|
|
3328
|
+
this.formats = ns(e.formats, i), this.formatters = n && n.formatters || ss(this.formatterCache);
|
|
3329
3329
|
}
|
|
3330
3330
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3331
3331
|
get: function() {
|
|
@@ -3338,7 +3338,7 @@ var ss = (
|
|
|
3338
3338
|
var t = Intl.NumberFormat.supportedLocalesOf(r);
|
|
3339
3339
|
return t.length > 0 ? new Intl.Locale(t[0]) : new Intl.Locale(typeof r == "string" ? r : r[0]);
|
|
3340
3340
|
}
|
|
3341
|
-
}, e.__parse =
|
|
3341
|
+
}, e.__parse = Yn, e.formats = {
|
|
3342
3342
|
number: {
|
|
3343
3343
|
integer: {
|
|
3344
3344
|
maximumFractionDigits: 0
|
|
@@ -3399,7 +3399,7 @@ var ss = (
|
|
|
3399
3399
|
}, e;
|
|
3400
3400
|
}()
|
|
3401
3401
|
);
|
|
3402
|
-
function
|
|
3402
|
+
function as(e, r) {
|
|
3403
3403
|
if (r == null)
|
|
3404
3404
|
return;
|
|
3405
3405
|
if (r in e)
|
|
@@ -3420,92 +3420,92 @@ function os(e, r) {
|
|
|
3420
3420
|
i = void 0;
|
|
3421
3421
|
return i;
|
|
3422
3422
|
}
|
|
3423
|
-
const Oe = {},
|
|
3423
|
+
const Oe = {}, ls = (e, r, t) => t && (r in Oe || (Oe[r] = {}), e in Oe[r] || (Oe[r][e] = t), t), _i = (e, r) => {
|
|
3424
3424
|
if (r == null)
|
|
3425
3425
|
return;
|
|
3426
3426
|
if (r in Oe && e in Oe[r])
|
|
3427
3427
|
return Oe[r][e];
|
|
3428
|
-
const t =
|
|
3428
|
+
const t = nt(r);
|
|
3429
3429
|
for (let i = 0; i < t.length; i++) {
|
|
3430
|
-
const n = t[i], s =
|
|
3430
|
+
const n = t[i], s = cs(n, e);
|
|
3431
3431
|
if (s)
|
|
3432
|
-
return
|
|
3432
|
+
return ls(e, r, s);
|
|
3433
3433
|
}
|
|
3434
3434
|
};
|
|
3435
3435
|
let xt;
|
|
3436
|
-
const
|
|
3437
|
-
function
|
|
3436
|
+
const Nr = rt({});
|
|
3437
|
+
function us(e) {
|
|
3438
3438
|
return xt[e] || null;
|
|
3439
3439
|
}
|
|
3440
|
-
function
|
|
3440
|
+
function Si(e) {
|
|
3441
3441
|
return e in xt;
|
|
3442
3442
|
}
|
|
3443
|
-
function
|
|
3444
|
-
if (!
|
|
3443
|
+
function cs(e, r) {
|
|
3444
|
+
if (!Si(e))
|
|
3445
3445
|
return null;
|
|
3446
|
-
const t =
|
|
3447
|
-
return
|
|
3446
|
+
const t = us(e);
|
|
3447
|
+
return as(t, r);
|
|
3448
3448
|
}
|
|
3449
|
-
function
|
|
3449
|
+
function hs(e) {
|
|
3450
3450
|
if (e == null)
|
|
3451
3451
|
return;
|
|
3452
|
-
const r =
|
|
3452
|
+
const r = nt(e);
|
|
3453
3453
|
for (let t = 0; t < r.length; t++) {
|
|
3454
3454
|
const i = r[t];
|
|
3455
|
-
if (
|
|
3455
|
+
if (Si(i))
|
|
3456
3456
|
return i;
|
|
3457
3457
|
}
|
|
3458
3458
|
}
|
|
3459
|
-
function
|
|
3460
|
-
delete Oe[e],
|
|
3459
|
+
function Pi(e, ...r) {
|
|
3460
|
+
delete Oe[e], Nr.update((t) => (t[e] = mn.all([t[e] || {}, ...r]), t));
|
|
3461
3461
|
}
|
|
3462
|
-
|
|
3463
|
-
[
|
|
3462
|
+
hr(
|
|
3463
|
+
[Nr],
|
|
3464
3464
|
([e]) => Object.keys(e)
|
|
3465
3465
|
);
|
|
3466
|
-
|
|
3467
|
-
const
|
|
3468
|
-
function
|
|
3469
|
-
|
|
3466
|
+
Nr.subscribe((e) => xt = e);
|
|
3467
|
+
const Jr = {};
|
|
3468
|
+
function fs(e, r) {
|
|
3469
|
+
Jr[e].delete(r), Jr[e].size === 0 && delete Jr[e];
|
|
3470
3470
|
}
|
|
3471
|
-
function
|
|
3472
|
-
return
|
|
3471
|
+
function Ci(e) {
|
|
3472
|
+
return Jr[e];
|
|
3473
3473
|
}
|
|
3474
|
-
function
|
|
3475
|
-
return
|
|
3476
|
-
const t =
|
|
3474
|
+
function ds(e) {
|
|
3475
|
+
return nt(e).map((r) => {
|
|
3476
|
+
const t = Ci(r);
|
|
3477
3477
|
return [r, t ? [...t] : []];
|
|
3478
3478
|
}).filter(([, r]) => r.length > 0);
|
|
3479
3479
|
}
|
|
3480
|
-
function
|
|
3481
|
-
return e == null ? !1 :
|
|
3480
|
+
function St(e) {
|
|
3481
|
+
return e == null ? !1 : nt(e).some(
|
|
3482
3482
|
(r) => {
|
|
3483
3483
|
var t;
|
|
3484
|
-
return (t =
|
|
3484
|
+
return (t = Ci(r)) == null ? void 0 : t.size;
|
|
3485
3485
|
}
|
|
3486
3486
|
);
|
|
3487
3487
|
}
|
|
3488
|
-
function
|
|
3488
|
+
function ms(e, r) {
|
|
3489
3489
|
return Promise.all(
|
|
3490
|
-
r.map((i) => (
|
|
3491
|
-
).then((i) =>
|
|
3490
|
+
r.map((i) => (fs(e, i), i().then((n) => n.default || n)))
|
|
3491
|
+
).then((i) => Pi(e, ...i));
|
|
3492
3492
|
}
|
|
3493
|
-
const
|
|
3493
|
+
const xr = {};
|
|
3494
3494
|
function xi(e) {
|
|
3495
|
-
if (!
|
|
3496
|
-
return e in
|
|
3497
|
-
const r =
|
|
3498
|
-
return
|
|
3495
|
+
if (!St(e))
|
|
3496
|
+
return e in xr ? xr[e] : Promise.resolve();
|
|
3497
|
+
const r = ds(e);
|
|
3498
|
+
return xr[e] = Promise.all(
|
|
3499
3499
|
r.map(
|
|
3500
|
-
([t, i]) =>
|
|
3500
|
+
([t, i]) => ms(t, i)
|
|
3501
3501
|
)
|
|
3502
3502
|
).then(() => {
|
|
3503
|
-
if (
|
|
3503
|
+
if (St(e))
|
|
3504
3504
|
return xi(e);
|
|
3505
|
-
delete
|
|
3506
|
-
}),
|
|
3505
|
+
delete xr[e];
|
|
3506
|
+
}), xr[e];
|
|
3507
3507
|
}
|
|
3508
|
-
const
|
|
3508
|
+
const gs = {
|
|
3509
3509
|
number: {
|
|
3510
3510
|
scientific: { notation: "scientific" },
|
|
3511
3511
|
engineering: { notation: "engineering" },
|
|
@@ -3534,150 +3534,150 @@ const ms = {
|
|
|
3534
3534
|
timeZoneName: "short"
|
|
3535
3535
|
}
|
|
3536
3536
|
}
|
|
3537
|
-
},
|
|
3537
|
+
}, ps = {
|
|
3538
3538
|
fallbackLocale: null,
|
|
3539
3539
|
loadingDelay: 200,
|
|
3540
|
-
formats:
|
|
3540
|
+
formats: gs,
|
|
3541
3541
|
warnOnMissingMessages: !0,
|
|
3542
3542
|
handleMissingMessage: void 0,
|
|
3543
3543
|
ignoreTag: !0
|
|
3544
|
-
},
|
|
3545
|
-
function
|
|
3546
|
-
return
|
|
3544
|
+
}, bs = ps;
|
|
3545
|
+
function ur() {
|
|
3546
|
+
return bs;
|
|
3547
3547
|
}
|
|
3548
|
-
const
|
|
3549
|
-
var
|
|
3548
|
+
const dt = rt(!1);
|
|
3549
|
+
var ys = Object.defineProperty, Es = Object.defineProperties, vs = Object.getOwnPropertyDescriptors, jt = Object.getOwnPropertySymbols, ws = Object.prototype.hasOwnProperty, _s = Object.prototype.propertyIsEnumerable, Vt = (e, r, t) => r in e ? ys(e, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[r] = t, Ss = (e, r) => {
|
|
3550
3550
|
for (var t in r || (r = {}))
|
|
3551
|
-
|
|
3552
|
-
if (
|
|
3553
|
-
for (var t of
|
|
3554
|
-
|
|
3551
|
+
ws.call(r, t) && Vt(e, t, r[t]);
|
|
3552
|
+
if (jt)
|
|
3553
|
+
for (var t of jt(r))
|
|
3554
|
+
_s.call(r, t) && Vt(e, t, r[t]);
|
|
3555
3555
|
return e;
|
|
3556
|
-
},
|
|
3557
|
-
let
|
|
3558
|
-
const
|
|
3559
|
-
function
|
|
3556
|
+
}, Ps = (e, r) => Es(e, vs(r));
|
|
3557
|
+
let Pt;
|
|
3558
|
+
const Kr = rt(null);
|
|
3559
|
+
function $t(e) {
|
|
3560
3560
|
return e.split("-").map((r, t, i) => i.slice(0, t + 1).join("-")).reverse();
|
|
3561
3561
|
}
|
|
3562
|
-
function
|
|
3563
|
-
const t =
|
|
3564
|
-
return r ? [.../* @__PURE__ */ new Set([...t,
|
|
3562
|
+
function nt(e, r = ur().fallbackLocale) {
|
|
3563
|
+
const t = $t(e);
|
|
3564
|
+
return r ? [.../* @__PURE__ */ new Set([...t, ...$t(r)])] : t;
|
|
3565
3565
|
}
|
|
3566
|
-
function
|
|
3567
|
-
return
|
|
3566
|
+
function Fe() {
|
|
3567
|
+
return Pt ?? void 0;
|
|
3568
3568
|
}
|
|
3569
|
-
|
|
3570
|
-
|
|
3569
|
+
Kr.subscribe((e) => {
|
|
3570
|
+
Pt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3571
3571
|
});
|
|
3572
|
-
const
|
|
3573
|
-
if (e &&
|
|
3574
|
-
const { loadingDelay: r } =
|
|
3572
|
+
const Cs = (e) => {
|
|
3573
|
+
if (e && hs(e) && St(e)) {
|
|
3574
|
+
const { loadingDelay: r } = ur();
|
|
3575
3575
|
let t;
|
|
3576
|
-
return typeof window < "u" &&
|
|
3577
|
-
() =>
|
|
3576
|
+
return typeof window < "u" && Fe() != null && r ? t = window.setTimeout(
|
|
3577
|
+
() => dt.set(!0),
|
|
3578
3578
|
r
|
|
3579
|
-
) :
|
|
3580
|
-
|
|
3579
|
+
) : dt.set(!0), xi(e).then(() => {
|
|
3580
|
+
Kr.set(e);
|
|
3581
3581
|
}).finally(() => {
|
|
3582
|
-
clearTimeout(t),
|
|
3582
|
+
clearTimeout(t), dt.set(!1);
|
|
3583
3583
|
});
|
|
3584
3584
|
}
|
|
3585
|
-
return
|
|
3586
|
-
},
|
|
3587
|
-
set:
|
|
3588
|
-
}),
|
|
3585
|
+
return Kr.set(e);
|
|
3586
|
+
}, fr = Ps(Ss({}, Kr), {
|
|
3587
|
+
set: Cs
|
|
3588
|
+
}), st = (e) => {
|
|
3589
3589
|
const r = /* @__PURE__ */ Object.create(null);
|
|
3590
3590
|
return (i) => {
|
|
3591
3591
|
const n = JSON.stringify(i);
|
|
3592
3592
|
return n in r ? r[n] : r[n] = e(i);
|
|
3593
3593
|
};
|
|
3594
3594
|
};
|
|
3595
|
-
var xs = Object.defineProperty,
|
|
3595
|
+
var xs = Object.defineProperty, et = Object.getOwnPropertySymbols, Ai = Object.prototype.hasOwnProperty, Ti = Object.prototype.propertyIsEnumerable, zt = (e, r, t) => r in e ? xs(e, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[r] = t, At = (e, r) => {
|
|
3596
3596
|
for (var t in r || (r = {}))
|
|
3597
|
-
|
|
3598
|
-
if (
|
|
3599
|
-
for (var t of
|
|
3600
|
-
|
|
3597
|
+
Ai.call(r, t) && zt(e, t, r[t]);
|
|
3598
|
+
if (et)
|
|
3599
|
+
for (var t of et(r))
|
|
3600
|
+
Ti.call(r, t) && zt(e, t, r[t]);
|
|
3601
3601
|
return e;
|
|
3602
|
-
},
|
|
3602
|
+
}, dr = (e, r) => {
|
|
3603
3603
|
var t = {};
|
|
3604
3604
|
for (var i in e)
|
|
3605
|
-
|
|
3606
|
-
if (e != null &&
|
|
3607
|
-
for (var i of
|
|
3608
|
-
r.indexOf(i) < 0 &&
|
|
3605
|
+
Ai.call(e, i) && r.indexOf(i) < 0 && (t[i] = e[i]);
|
|
3606
|
+
if (e != null && et)
|
|
3607
|
+
for (var i of et(e))
|
|
3608
|
+
r.indexOf(i) < 0 && Ti.call(e, i) && (t[i] = e[i]);
|
|
3609
3609
|
return t;
|
|
3610
3610
|
};
|
|
3611
|
-
const
|
|
3612
|
-
const { formats: t } =
|
|
3611
|
+
const Ir = (e, r) => {
|
|
3612
|
+
const { formats: t } = ur();
|
|
3613
3613
|
if (e in t && r in t[e])
|
|
3614
3614
|
return t[e][r];
|
|
3615
3615
|
throw new Error(`[svelte-i18n] Unknown "${r}" ${e} format.`);
|
|
3616
|
-
},
|
|
3616
|
+
}, As = st(
|
|
3617
3617
|
(e) => {
|
|
3618
|
-
var r = e, { locale: t, format: i } = r, n =
|
|
3618
|
+
var r = e, { locale: t, format: i } = r, n = dr(r, ["locale", "format"]);
|
|
3619
3619
|
if (t == null)
|
|
3620
3620
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3621
|
-
return i && (n =
|
|
3621
|
+
return i && (n = Ir("number", i)), new Intl.NumberFormat(t, n);
|
|
3622
3622
|
}
|
|
3623
|
-
),
|
|
3623
|
+
), Ts = st(
|
|
3624
3624
|
(e) => {
|
|
3625
|
-
var r = e, { locale: t, format: i } = r, n =
|
|
3625
|
+
var r = e, { locale: t, format: i } = r, n = dr(r, ["locale", "format"]);
|
|
3626
3626
|
if (t == null)
|
|
3627
3627
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3628
|
-
return i ? n =
|
|
3628
|
+
return i ? n = Ir("date", i) : Object.keys(n).length === 0 && (n = Ir("date", "short")), new Intl.DateTimeFormat(t, n);
|
|
3629
3629
|
}
|
|
3630
|
-
),
|
|
3630
|
+
), Hs = st(
|
|
3631
3631
|
(e) => {
|
|
3632
|
-
var r = e, { locale: t, format: i } = r, n =
|
|
3632
|
+
var r = e, { locale: t, format: i } = r, n = dr(r, ["locale", "format"]);
|
|
3633
3633
|
if (t == null)
|
|
3634
3634
|
throw new Error(
|
|
3635
3635
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
3636
3636
|
);
|
|
3637
|
-
return i ? n =
|
|
3637
|
+
return i ? n = Ir("time", i) : Object.keys(n).length === 0 && (n = Ir("time", "short")), new Intl.DateTimeFormat(t, n);
|
|
3638
3638
|
}
|
|
3639
|
-
),
|
|
3639
|
+
), Bs = (e = {}) => {
|
|
3640
3640
|
var r = e, {
|
|
3641
|
-
locale: t =
|
|
3642
|
-
} = r, i =
|
|
3641
|
+
locale: t = Fe()
|
|
3642
|
+
} = r, i = dr(r, [
|
|
3643
3643
|
"locale"
|
|
3644
3644
|
]);
|
|
3645
|
-
return
|
|
3646
|
-
},
|
|
3645
|
+
return As(At({ locale: t }, i));
|
|
3646
|
+
}, Is = (e = {}) => {
|
|
3647
3647
|
var r = e, {
|
|
3648
|
-
locale: t =
|
|
3649
|
-
} = r, i =
|
|
3648
|
+
locale: t = Fe()
|
|
3649
|
+
} = r, i = dr(r, [
|
|
3650
3650
|
"locale"
|
|
3651
3651
|
]);
|
|
3652
|
-
return
|
|
3653
|
-
},
|
|
3652
|
+
return Ts(At({ locale: t }, i));
|
|
3653
|
+
}, Ns = (e = {}) => {
|
|
3654
3654
|
var r = e, {
|
|
3655
|
-
locale: t =
|
|
3656
|
-
} = r, i =
|
|
3655
|
+
locale: t = Fe()
|
|
3656
|
+
} = r, i = dr(r, [
|
|
3657
3657
|
"locale"
|
|
3658
3658
|
]);
|
|
3659
|
-
return
|
|
3660
|
-
},
|
|
3659
|
+
return Hs(At({ locale: t }, i));
|
|
3660
|
+
}, Os = st(
|
|
3661
3661
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3662
|
-
(e, r =
|
|
3663
|
-
ignoreTag:
|
|
3662
|
+
(e, r = Fe()) => new os(e, r, ur().formats, {
|
|
3663
|
+
ignoreTag: ur().ignoreTag
|
|
3664
3664
|
})
|
|
3665
|
-
),
|
|
3665
|
+
), Ls = (e, r = {}) => {
|
|
3666
3666
|
var t, i, n, s;
|
|
3667
3667
|
let u = r;
|
|
3668
3668
|
typeof e == "object" && (u = e, e = u.id);
|
|
3669
3669
|
const {
|
|
3670
3670
|
values: a,
|
|
3671
|
-
locale: f =
|
|
3671
|
+
locale: f = Fe(),
|
|
3672
3672
|
default: c
|
|
3673
3673
|
} = u;
|
|
3674
3674
|
if (f == null)
|
|
3675
3675
|
throw new Error(
|
|
3676
3676
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
3677
3677
|
);
|
|
3678
|
-
let h =
|
|
3678
|
+
let h = _i(e, f);
|
|
3679
3679
|
if (!h)
|
|
3680
|
-
h = (s = (n = (i = (t =
|
|
3680
|
+
h = (s = (n = (i = (t = ur()).handleMissingMessage) == null ? void 0 : i.call(t, { locale: f, id: e, defaultValue: c })) != null ? n : c) != null ? s : e;
|
|
3681
3681
|
else if (typeof h != "string")
|
|
3682
3682
|
return console.warn(
|
|
3683
3683
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
@@ -3686,7 +3686,7 @@ const Cr = (e, r) => {
|
|
|
3686
3686
|
return h;
|
|
3687
3687
|
let m = h;
|
|
3688
3688
|
try {
|
|
3689
|
-
m =
|
|
3689
|
+
m = Os(h, f).format(a);
|
|
3690
3690
|
} catch (g) {
|
|
3691
3691
|
g instanceof Error && console.warn(
|
|
3692
3692
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -3694,18 +3694,18 @@ const Cr = (e, r) => {
|
|
|
3694
3694
|
);
|
|
3695
3695
|
}
|
|
3696
3696
|
return m;
|
|
3697
|
-
},
|
|
3698
|
-
|
|
3699
|
-
|
|
3700
|
-
|
|
3701
|
-
|
|
3702
|
-
function
|
|
3703
|
-
|
|
3704
|
-
}
|
|
3705
|
-
function
|
|
3706
|
-
|
|
3707
|
-
}
|
|
3708
|
-
const
|
|
3697
|
+
}, Ms = (e, r) => Ns(r).format(e), Rs = (e, r) => Is(r).format(e), Us = (e, r) => Bs(r).format(e), ks = (e, r = Fe()) => _i(e, r), Fs = hr([fr, Nr], () => Ls);
|
|
3698
|
+
hr([fr], () => Ms);
|
|
3699
|
+
hr([fr], () => Rs);
|
|
3700
|
+
hr([fr], () => Us);
|
|
3701
|
+
hr([fr, Nr], () => ks);
|
|
3702
|
+
function Qt(e, r) {
|
|
3703
|
+
Pi(e, r);
|
|
3704
|
+
}
|
|
3705
|
+
function Ds(e) {
|
|
3706
|
+
fr.set(e);
|
|
3707
|
+
}
|
|
3708
|
+
const Xt = {
|
|
3709
3709
|
en: {
|
|
3710
3710
|
registerTitle: "Create your account",
|
|
3711
3711
|
registerSubtitle: "Already have an account?",
|
|
@@ -3959,14 +3959,14 @@ const Qt = {
|
|
|
3959
3959
|
registerSecurityAnswerError2: "Only letters and numbers are accepted.",
|
|
3960
3960
|
registerNext: "Next"
|
|
3961
3961
|
}
|
|
3962
|
-
};
|
|
3963
|
-
function
|
|
3962
|
+
}, nr = "__WIDGET_GLOBAL_STYLE_CACHE__";
|
|
3963
|
+
function Gs(e, r) {
|
|
3964
3964
|
if (e) {
|
|
3965
3965
|
const t = document.createElement("style");
|
|
3966
3966
|
t.innerHTML = r, e.appendChild(t);
|
|
3967
3967
|
}
|
|
3968
3968
|
}
|
|
3969
|
-
function
|
|
3969
|
+
function js(e, r) {
|
|
3970
3970
|
if (!e || !r)
|
|
3971
3971
|
return;
|
|
3972
3972
|
const t = new URL(r);
|
|
@@ -3977,18 +3977,45 @@ function Gs(e, r) {
|
|
|
3977
3977
|
console.error("There was an error while trying to load client styling from URL", i);
|
|
3978
3978
|
});
|
|
3979
3979
|
}
|
|
3980
|
-
function
|
|
3981
|
-
if (window.emMessageBus)
|
|
3982
|
-
|
|
3983
|
-
|
|
3984
|
-
|
|
3980
|
+
function Vs(e, r, t, i = !1) {
|
|
3981
|
+
if (!window.emMessageBus)
|
|
3982
|
+
return;
|
|
3983
|
+
if (!("adoptedStyleSheets" in Document.prototype) || !i)
|
|
3984
|
+
return t = $s(e, r), t;
|
|
3985
|
+
window[nr] || (window[nr] = {}), t = zs(e, r);
|
|
3986
|
+
const s = t.unsubscribe.bind(t), u = () => {
|
|
3987
|
+
if (window[nr][r]) {
|
|
3988
|
+
const a = window[nr][r];
|
|
3989
|
+
a.refCount > 1 ? a.refCount = a.refCount - 1 : delete window[nr][r];
|
|
3990
|
+
}
|
|
3991
|
+
s();
|
|
3992
|
+
};
|
|
3993
|
+
return t.unsubscribe = u, t;
|
|
3994
|
+
}
|
|
3995
|
+
function $s(e, r) {
|
|
3996
|
+
const t = document.createElement("style");
|
|
3997
|
+
return window.emMessageBus.subscribe(r, (i) => {
|
|
3998
|
+
e && (t.innerHTML = i, e.appendChild(t));
|
|
3999
|
+
});
|
|
4000
|
+
}
|
|
4001
|
+
function zs(e, r) {
|
|
4002
|
+
return window.emMessageBus.subscribe(r, (t) => {
|
|
4003
|
+
if (!e)
|
|
4004
|
+
return;
|
|
4005
|
+
const i = e.getRootNode(), n = window[nr];
|
|
4006
|
+
let s = n[r]?.sheet;
|
|
4007
|
+
s ? n[r].refCount = n[r].refCount + 1 : (s = new CSSStyleSheet(), s.replaceSync(t), n[r] = {
|
|
4008
|
+
sheet: s,
|
|
4009
|
+
refCount: 1
|
|
3985
4010
|
});
|
|
3986
|
-
|
|
4011
|
+
const u = i.adoptedStyleSheets || [];
|
|
4012
|
+
u.includes(s) || (i.adoptedStyleSheets = [...u, s]);
|
|
4013
|
+
});
|
|
3987
4014
|
}
|
|
3988
|
-
function
|
|
3989
|
-
|
|
4015
|
+
function Qs(e) {
|
|
4016
|
+
Ii(e, "svelte-x9thh9", "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, 10px);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}");
|
|
3990
4017
|
}
|
|
3991
|
-
function
|
|
4018
|
+
function Zt(e) {
|
|
3992
4019
|
let r, t = (
|
|
3993
4020
|
/*$_*/
|
|
3994
4021
|
e[30]("registerEmailError") + ""
|
|
@@ -4006,11 +4033,11 @@ function Xt(e) {
|
|
|
4006
4033
|
n[30]("registerEmailError") + "") && D(i, t);
|
|
4007
4034
|
},
|
|
4008
4035
|
d(n) {
|
|
4009
|
-
n &&
|
|
4036
|
+
n && ne(r);
|
|
4010
4037
|
}
|
|
4011
4038
|
};
|
|
4012
4039
|
}
|
|
4013
|
-
function
|
|
4040
|
+
function Wt(e) {
|
|
4014
4041
|
let r, t = (
|
|
4015
4042
|
/*$_*/
|
|
4016
4043
|
e[30]("registerUsernameError") + ""
|
|
@@ -4028,51 +4055,51 @@ function Zt(e) {
|
|
|
4028
4055
|
n[30]("registerUsernameError") + "") && D(i, t);
|
|
4029
4056
|
},
|
|
4030
4057
|
d(n) {
|
|
4031
|
-
n &&
|
|
4058
|
+
n && ne(r);
|
|
4032
4059
|
}
|
|
4033
4060
|
};
|
|
4034
4061
|
}
|
|
4035
|
-
function
|
|
4062
|
+
function Xs(e) {
|
|
4036
4063
|
let r, t, i, n, s, u, a, f, c;
|
|
4037
4064
|
return {
|
|
4038
4065
|
c() {
|
|
4039
4066
|
r = _("svg"), t = _("defs"), i = _("style"), n = T(".a{fill:var(--emw--registration-typography, var(--emw--color-background, #07072A));}"), s = _("g"), u = _("path"), a = _("circle"), o(u, "class", "a"), o(u, "d", "M23.541,38.332a11.467,11.467,0,0,1-4.886-1.611,34.413,34.413,0,0,1-3.976-2.469,1.1,1.1,0,0,1-.494-.936,1.21,1.21,0,0,1,.442-.962A37.986,37.986,0,0,1,18.6,29.625a16.06,16.06,0,0,1,2.521-1.248,6.862,6.862,0,0,1,2.417-.546,6.862,6.862,0,0,1,2.417.546,20.541,20.541,0,0,1,2.547,1.248,45.872,45.872,0,0,1,4.054,2.729,1.159,1.159,0,0,1,.468.962,1.067,1.067,0,0,1-.52.936,36.353,36.353,0,0,1-4.054,2.469A11.2,11.2,0,0,1,23.541,38.332Zm0-9.46a9.813,9.813,0,0,0-4.392,1.663,44.138,44.138,0,0,0-3.873,2.651.13.13,0,0,0,0,.208,36.5,36.5,0,0,0,3.873,2.391,10.372,10.372,0,0,0,4.392,1.481,11.051,11.051,0,0,0,4.444-1.481,40.2,40.2,0,0,0,3.925-2.391.13.13,0,0,0,0-.208h0a34.132,34.132,0,0,0-3.925-2.651A10.072,10.072,0,0,0,23.541,28.872Z"), o(u, "transform", "translate(0)"), o(a, "class", "a"), o(a, "cx", "2.779"), o(a, "cy", "2.779"), o(a, "r", "2.779"), o(a, "transform", "translate(20.827 30.303)"), o(s, "transform", "translate(-14.185 -27.832)"), o(r, "class", "TogglePasswordVisibility"), o(r, "xmlns", "http://www.w3.org/2000/svg"), o(r, "width", "18.843"), o(r, "height", "10.5"), o(r, "viewBox", "0 0 18.843 10.5");
|
|
4040
4067
|
},
|
|
4041
4068
|
m(h, m) {
|
|
4042
|
-
ue(h, r, m), l(r, t), l(t, i), l(i, n), l(r, s), l(s, u), l(s, a), f || (c =
|
|
4069
|
+
ue(h, r, m), l(r, t), l(t, i), l(i, n), l(r, s), l(s, u), l(s, a), f || (c = C(
|
|
4043
4070
|
r,
|
|
4044
4071
|
"click",
|
|
4045
4072
|
/*click_handler_2*/
|
|
4046
4073
|
e[62]
|
|
4047
4074
|
), f = !0);
|
|
4048
4075
|
},
|
|
4049
|
-
p:
|
|
4076
|
+
p: X,
|
|
4050
4077
|
d(h) {
|
|
4051
|
-
h &&
|
|
4078
|
+
h && ne(r), f = !1, c();
|
|
4052
4079
|
}
|
|
4053
4080
|
};
|
|
4054
4081
|
}
|
|
4055
|
-
function
|
|
4082
|
+
function Zs(e) {
|
|
4056
4083
|
let r, t, i, n, s, u, a, f, c, h, m, g, b, w, y;
|
|
4057
4084
|
return {
|
|
4058
4085
|
c() {
|
|
4059
4086
|
r = _("svg"), t = _("defs"), i = _("style"), n = T(".a{fill:var(--emw--registration-typography, var(--emw--color-background, #07072A));}"), s = _("g"), u = _("circle"), a = _("g"), f = _("path"), c = _("path"), h = _("g"), m = _("path"), g = _("path"), b = _("rect"), o(u, "class", "a"), o(u, "cx", "0.05"), o(u, "cy", "0.05"), o(u, "r", "0.05"), o(u, "transform", "translate(121.017 31.148)"), o(f, "class", "a"), o(f, "d", "M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"), o(f, "transform", "translate(-142.164 -39.123)"), o(c, "class", "a"), o(c, "d", "M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"), o(c, "transform", "translate(-136.413 -42.068)"), o(a, "transform", "translate(117.499 27.37)"), o(m, "class", "a"), o(m, "d", "M122.538,42.061a7.043,7.043,0,0,1-2.325.53,10.373,10.373,0,0,1-4.393-1.482,36.509,36.509,0,0,1-3.873-2.391.13.13,0,0,1,0-.208,44.141,44.141,0,0,1,3.873-2.651c.394-.233.768-.437,1.13-.622l-.686-.838c-.322.167-.651.347-.99.55a37.989,37.989,0,0,0-3.977,2.729,1.21,1.21,0,0,0-.442.962,1.1,1.1,0,0,0,.494.936,34.416,34.416,0,0,0,3.977,2.469,11.468,11.468,0,0,0,4.886,1.611,8.427,8.427,0,0,0,3.039-.725Z"), o(m, "transform", "translate(-110.856 -33.157)"), o(g, "class", "a"), o(g, "d", "M149.119,34.14a45.875,45.875,0,0,0-4.055-2.729,20.541,20.541,0,0,0-2.547-1.248,5.6,5.6,0,0,0-4.79-.017l.7.856a5.254,5.254,0,0,1,1.672-.346,10.072,10.072,0,0,1,4.445,1.663,34.132,34.132,0,0,1,3.925,2.651.13.13,0,0,1,0,.208,40.2,40.2,0,0,1-3.925,2.391c-.179.092-.352.176-.525.26l.684.835c.1-.054.2-.1.309-.159a36.356,36.356,0,0,0,4.055-2.469,1.067,1.067,0,0,0,.52-.936A1.159,1.159,0,0,0,149.119,34.14Z"), o(g, "transform", "translate(-130.743 -29.617)"), o(h, "transform", "translate(110.856 24.899)"), o(b, "class", "a"), o(b, "width", "0.972"), o(b, "height", "15.861"), o(b, "rx", "0.486"), o(b, "transform", "translate(114.827 23.858) rotate(-39.315)"), o(s, "transform", "translate(-110.856 -23.242)"), o(r, "class", "TogglePasswordVisibility"), o(r, "xmlns", "http://www.w3.org/2000/svg"), o(r, "width", "18.844"), o(r, "height", "12.887"), o(r, "viewBox", "0 0 18.844 12.887");
|
|
4060
4087
|
},
|
|
4061
|
-
m(A,
|
|
4062
|
-
ue(A, r,
|
|
4088
|
+
m(A, B) {
|
|
4089
|
+
ue(A, r, B), 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 = C(
|
|
4063
4090
|
r,
|
|
4064
4091
|
"click",
|
|
4065
4092
|
/*click_handler_1*/
|
|
4066
4093
|
e[61]
|
|
4067
4094
|
), w = !0);
|
|
4068
4095
|
},
|
|
4069
|
-
p:
|
|
4096
|
+
p: X,
|
|
4070
4097
|
d(A) {
|
|
4071
|
-
A &&
|
|
4098
|
+
A && ne(r), w = !1, y();
|
|
4072
4099
|
}
|
|
4073
4100
|
};
|
|
4074
4101
|
}
|
|
4075
|
-
function
|
|
4102
|
+
function qt(e) {
|
|
4076
4103
|
let r, t = (
|
|
4077
4104
|
/*$_*/
|
|
4078
4105
|
e[30]("registerPasswordError") + ""
|
|
@@ -4090,11 +4117,11 @@ function Wt(e) {
|
|
|
4090
4117
|
n[30]("registerPasswordError") + "") && D(i, t);
|
|
4091
4118
|
},
|
|
4092
4119
|
d(n) {
|
|
4093
|
-
n &&
|
|
4120
|
+
n && ne(r);
|
|
4094
4121
|
}
|
|
4095
4122
|
};
|
|
4096
4123
|
}
|
|
4097
|
-
function
|
|
4124
|
+
function Jt(e) {
|
|
4098
4125
|
let r, t = (
|
|
4099
4126
|
/*$_*/
|
|
4100
4127
|
e[30]("registerSimplePasswordError") + ""
|
|
@@ -4112,51 +4139,51 @@ function qt(e) {
|
|
|
4112
4139
|
n[30]("registerSimplePasswordError") + "") && D(i, t);
|
|
4113
4140
|
},
|
|
4114
4141
|
d(n) {
|
|
4115
|
-
n &&
|
|
4142
|
+
n && ne(r);
|
|
4116
4143
|
}
|
|
4117
4144
|
};
|
|
4118
4145
|
}
|
|
4119
|
-
function
|
|
4146
|
+
function Ws(e) {
|
|
4120
4147
|
let r, t, i, n, s, u, a, f, c;
|
|
4121
4148
|
return {
|
|
4122
4149
|
c() {
|
|
4123
4150
|
r = _("svg"), t = _("defs"), i = _("style"), n = T(".a{fill:var(--emw--registration-typography, var(--emw--color-background, #07072A));}"), s = _("g"), u = _("path"), a = _("circle"), o(u, "class", "a"), o(u, "d", "M23.541,38.332a11.467,11.467,0,0,1-4.886-1.611,34.413,34.413,0,0,1-3.976-2.469,1.1,1.1,0,0,1-.494-.936,1.21,1.21,0,0,1,.442-.962A37.986,37.986,0,0,1,18.6,29.625a16.06,16.06,0,0,1,2.521-1.248,6.862,6.862,0,0,1,2.417-.546,6.862,6.862,0,0,1,2.417.546,20.541,20.541,0,0,1,2.547,1.248,45.872,45.872,0,0,1,4.054,2.729,1.159,1.159,0,0,1,.468.962,1.067,1.067,0,0,1-.52.936,36.353,36.353,0,0,1-4.054,2.469A11.2,11.2,0,0,1,23.541,38.332Zm0-9.46a9.813,9.813,0,0,0-4.392,1.663,44.138,44.138,0,0,0-3.873,2.651.13.13,0,0,0,0,.208,36.5,36.5,0,0,0,3.873,2.391,10.372,10.372,0,0,0,4.392,1.481,11.051,11.051,0,0,0,4.444-1.481,40.2,40.2,0,0,0,3.925-2.391.13.13,0,0,0,0-.208h0a34.132,34.132,0,0,0-3.925-2.651A10.072,10.072,0,0,0,23.541,28.872Z"), o(u, "transform", "translate(0)"), o(a, "class", "a"), o(a, "cx", "2.779"), o(a, "cy", "2.779"), o(a, "r", "2.779"), o(a, "transform", "translate(20.827 30.303)"), o(s, "transform", "translate(-14.185 -27.832)"), o(r, "class", "ToggleConfirmPasswordVisibility"), o(r, "xmlns", "http://www.w3.org/2000/svg"), o(r, "width", "18.843"), o(r, "height", "10.5"), o(r, "viewBox", "0 0 18.843 10.5");
|
|
4124
4151
|
},
|
|
4125
4152
|
m(h, m) {
|
|
4126
|
-
ue(h, r, m), l(r, t), l(t, i), l(i, n), l(r, s), l(s, u), l(s, a), f || (c =
|
|
4153
|
+
ue(h, r, m), l(r, t), l(t, i), l(i, n), l(r, s), l(s, u), l(s, a), f || (c = C(
|
|
4127
4154
|
r,
|
|
4128
4155
|
"click",
|
|
4129
4156
|
/*click_handler_4*/
|
|
4130
4157
|
e[68]
|
|
4131
4158
|
), f = !0);
|
|
4132
4159
|
},
|
|
4133
|
-
p:
|
|
4160
|
+
p: X,
|
|
4134
4161
|
d(h) {
|
|
4135
|
-
h &&
|
|
4162
|
+
h && ne(r), f = !1, c();
|
|
4136
4163
|
}
|
|
4137
4164
|
};
|
|
4138
4165
|
}
|
|
4139
|
-
function
|
|
4166
|
+
function qs(e) {
|
|
4140
4167
|
let r, t, i, n, s, u, a, f, c, h, m, g, b, w, y;
|
|
4141
4168
|
return {
|
|
4142
4169
|
c() {
|
|
4143
4170
|
r = _("svg"), t = _("defs"), i = _("style"), n = T(".a{fill:var(--emw--registration-typography, var(--emw--color-background, #07072A));}"), s = _("g"), u = _("circle"), a = _("g"), f = _("path"), c = _("path"), h = _("g"), m = _("path"), g = _("path"), b = _("rect"), o(u, "class", "a"), o(u, "cx", "0.05"), o(u, "cy", "0.05"), o(u, "r", "0.05"), o(u, "transform", "translate(121.017 31.148)"), o(f, "class", "a"), o(f, "d", "M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"), o(f, "transform", "translate(-142.164 -39.123)"), o(c, "class", "a"), o(c, "d", "M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"), o(c, "transform", "translate(-136.413 -42.068)"), o(a, "transform", "translate(117.499 27.37)"), o(m, "class", "a"), o(m, "d", "M122.538,42.061a7.043,7.043,0,0,1-2.325.53,10.373,10.373,0,0,1-4.393-1.482,36.509,36.509,0,0,1-3.873-2.391.13.13,0,0,1,0-.208,44.141,44.141,0,0,1,3.873-2.651c.394-.233.768-.437,1.13-.622l-.686-.838c-.322.167-.651.347-.99.55a37.989,37.989,0,0,0-3.977,2.729,1.21,1.21,0,0,0-.442.962,1.1,1.1,0,0,0,.494.936,34.416,34.416,0,0,0,3.977,2.469,11.468,11.468,0,0,0,4.886,1.611,8.427,8.427,0,0,0,3.039-.725Z"), o(m, "transform", "translate(-110.856 -33.157)"), o(g, "class", "a"), o(g, "d", "M149.119,34.14a45.875,45.875,0,0,0-4.055-2.729,20.541,20.541,0,0,0-2.547-1.248,5.6,5.6,0,0,0-4.79-.017l.7.856a5.254,5.254,0,0,1,1.672-.346,10.072,10.072,0,0,1,4.445,1.663,34.132,34.132,0,0,1,3.925,2.651.13.13,0,0,1,0,.208,40.2,40.2,0,0,1-3.925,2.391c-.179.092-.352.176-.525.26l.684.835c.1-.054.2-.1.309-.159a36.356,36.356,0,0,0,4.055-2.469,1.067,1.067,0,0,0,.52-.936A1.159,1.159,0,0,0,149.119,34.14Z"), o(g, "transform", "translate(-130.743 -29.617)"), o(h, "transform", "translate(110.856 24.899)"), o(b, "class", "a"), o(b, "width", "0.972"), o(b, "height", "15.861"), o(b, "rx", "0.486"), o(b, "transform", "translate(114.827 23.858) rotate(-39.315)"), o(s, "transform", "translate(-110.856 -23.242)"), o(r, "class", "ToggleConfirmPasswordVisibility"), o(r, "xmlns", "http://www.w3.org/2000/svg"), o(r, "width", "18.844"), o(r, "height", "12.887"), o(r, "viewBox", "0 0 18.844 12.887");
|
|
4144
4171
|
},
|
|
4145
|
-
m(A,
|
|
4146
|
-
ue(A, r,
|
|
4172
|
+
m(A, B) {
|
|
4173
|
+
ue(A, r, B), 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 = C(
|
|
4147
4174
|
r,
|
|
4148
4175
|
"click",
|
|
4149
4176
|
/*click_handler_3*/
|
|
4150
4177
|
e[67]
|
|
4151
4178
|
), w = !0);
|
|
4152
4179
|
},
|
|
4153
|
-
p:
|
|
4180
|
+
p: X,
|
|
4154
4181
|
d(A) {
|
|
4155
|
-
A &&
|
|
4182
|
+
A && ne(r), w = !1, y();
|
|
4156
4183
|
}
|
|
4157
4184
|
};
|
|
4158
4185
|
}
|
|
4159
|
-
function
|
|
4186
|
+
function Yt(e) {
|
|
4160
4187
|
let r, t = (
|
|
4161
4188
|
/*$_*/
|
|
4162
4189
|
e[30]("registerConfirmPasswordError") + ""
|
|
@@ -4174,11 +4201,11 @@ function Jt(e) {
|
|
|
4174
4201
|
n[30]("registerConfirmPasswordError") + "") && D(i, t);
|
|
4175
4202
|
},
|
|
4176
4203
|
d(n) {
|
|
4177
|
-
n &&
|
|
4204
|
+
n && ne(r);
|
|
4178
4205
|
}
|
|
4179
4206
|
};
|
|
4180
4207
|
}
|
|
4181
|
-
function
|
|
4208
|
+
function Kt(e) {
|
|
4182
4209
|
let r, t = (
|
|
4183
4210
|
/*custominputtextswitch*/
|
|
4184
4211
|
(e[2] == "true" ? (
|
|
@@ -4208,11 +4235,11 @@ function Yt(e) {
|
|
|
4208
4235
|
)) + "") && D(i, t);
|
|
4209
4236
|
},
|
|
4210
4237
|
d(n) {
|
|
4211
|
-
n &&
|
|
4238
|
+
n && ne(r);
|
|
4212
4239
|
}
|
|
4213
4240
|
};
|
|
4214
4241
|
}
|
|
4215
|
-
function
|
|
4242
|
+
function ei(e) {
|
|
4216
4243
|
let r, t = (
|
|
4217
4244
|
/*custominputtextswitch*/
|
|
4218
4245
|
(e[2] == "true" ? (
|
|
@@ -4242,11 +4269,11 @@ function Kt(e) {
|
|
|
4242
4269
|
)) + "") && D(i, t);
|
|
4243
4270
|
},
|
|
4244
4271
|
d(n) {
|
|
4245
|
-
n &&
|
|
4272
|
+
n && ne(r);
|
|
4246
4273
|
}
|
|
4247
4274
|
};
|
|
4248
4275
|
}
|
|
4249
|
-
function
|
|
4276
|
+
function Js(e) {
|
|
4250
4277
|
let r, t, i, n = (
|
|
4251
4278
|
/*$_*/
|
|
4252
4279
|
e[30]("registerTitle") + ""
|
|
@@ -4256,22 +4283,22 @@ function Zs(e) {
|
|
|
4256
4283
|
), c, h, m, g = (
|
|
4257
4284
|
/*$_*/
|
|
4258
4285
|
e[30]("registerSubtitleLogin") + ""
|
|
4259
|
-
), b, w, y, A,
|
|
4286
|
+
), b, w, y, A, B, L = (
|
|
4260
4287
|
/*$_*/
|
|
4261
4288
|
e[30]("registerEmail") + ""
|
|
4262
|
-
),
|
|
4289
|
+
), M, ce, G, ge, R, De, Te, Ge, U, Z, he = (
|
|
4263
4290
|
/*$_*/
|
|
4264
4291
|
e[30]("registerUsername") + ""
|
|
4265
|
-
),
|
|
4292
|
+
), pe, se, V, He, k, Ce, Be, Ee, be, x, ve, W = (
|
|
4266
4293
|
/*$_*/
|
|
4267
4294
|
e[30]("registerPassword") + ""
|
|
4268
|
-
),
|
|
4295
|
+
), mr, xe, je, gr, F, $, pr, Ve, br, Le, Me, yr, j, Ae, Re = (
|
|
4269
4296
|
/*$_*/
|
|
4270
4297
|
e[30]("registerConfirmPassword") + ""
|
|
4271
|
-
),
|
|
4298
|
+
), Er, vr, $e, ze, z, wr, Qe, Ue, _r, we, ke, Xe = (
|
|
4272
4299
|
/*$_*/
|
|
4273
4300
|
e[30]("registerPromoCode") + ""
|
|
4274
|
-
),
|
|
4301
|
+
), Sr, Or, Lr, oe, Mr, Ze, Rr, fe, Ie, We = (
|
|
4275
4302
|
/*custominputtextswitch*/
|
|
4276
4303
|
(e[2] == "true" ? (
|
|
4277
4304
|
/*$_*/
|
|
@@ -4280,7 +4307,7 @@ function Zs(e) {
|
|
|
4280
4307
|
/*$_*/
|
|
4281
4308
|
e[30]("registerSecurityQuestion")
|
|
4282
4309
|
)) + ""
|
|
4283
|
-
),
|
|
4310
|
+
), Pr, Ur, qe, kr, ae, Fr, Je, Dr, de, Ne, Ye = (
|
|
4284
4311
|
/*custominputtextswitch*/
|
|
4285
4312
|
(e[2] == "true" ? (
|
|
4286
4313
|
/*$_*/
|
|
@@ -4289,285 +4316,285 @@ function Zs(e) {
|
|
|
4289
4316
|
/*$_*/
|
|
4290
4317
|
e[30]("registerSecurityAnswer")
|
|
4291
4318
|
)) + ""
|
|
4292
|
-
),
|
|
4319
|
+
), Cr, Gr, Ke, jr, le, Vr, er, $r, p, N = (
|
|
4293
4320
|
/*$_*/
|
|
4294
4321
|
e[30]("registerNext") + ""
|
|
4295
|
-
),
|
|
4322
|
+
), me, zr, ot, Tt, q = (
|
|
4296
4323
|
/*invalidEmail*/
|
|
4297
|
-
e[4] &&
|
|
4298
|
-
),
|
|
4324
|
+
e[4] && Zt(e)
|
|
4325
|
+
), J = (
|
|
4299
4326
|
/*invalidName*/
|
|
4300
|
-
e[5] &&
|
|
4327
|
+
e[5] && Wt(e)
|
|
4301
4328
|
);
|
|
4302
|
-
function
|
|
4329
|
+
function Ht(d, v) {
|
|
4303
4330
|
return (
|
|
4304
4331
|
/*isPasswordVisible*/
|
|
4305
|
-
d[25] ?
|
|
4332
|
+
d[25] ? Zs : Xs
|
|
4306
4333
|
);
|
|
4307
4334
|
}
|
|
4308
|
-
let
|
|
4335
|
+
let Qr = Ht(e), _e = Qr(e), Y = (
|
|
4309
4336
|
/*invalidPassword*/
|
|
4310
4337
|
e[6] && /*simplepasswordvalidation*/
|
|
4311
|
-
e[0] !== "true" &&
|
|
4312
|
-
),
|
|
4338
|
+
e[0] !== "true" && qt(e)
|
|
4339
|
+
), K = (
|
|
4313
4340
|
/*invalidPassword*/
|
|
4314
4341
|
e[6] && /*simplepasswordvalidation*/
|
|
4315
|
-
e[0] === "true" &&
|
|
4342
|
+
e[0] === "true" && Jt(e)
|
|
4316
4343
|
);
|
|
4317
|
-
function
|
|
4344
|
+
function Bt(d, v) {
|
|
4318
4345
|
return (
|
|
4319
4346
|
/*isConfirmPasswordVisible*/
|
|
4320
|
-
d[26] ?
|
|
4347
|
+
d[26] ? qs : Ws
|
|
4321
4348
|
);
|
|
4322
4349
|
}
|
|
4323
|
-
let
|
|
4350
|
+
let Xr = Bt(e), Se = Xr(e), ee = (
|
|
4324
4351
|
/*invalidConfirmPassword*/
|
|
4325
|
-
e[7] &&
|
|
4326
|
-
), ee = (
|
|
4327
|
-
/*invalidSecurityQuestion*/
|
|
4328
|
-
e[8] && Yt(e)
|
|
4352
|
+
e[7] && Yt(e)
|
|
4329
4353
|
), re = (
|
|
4354
|
+
/*invalidSecurityQuestion*/
|
|
4355
|
+
e[8] && Kt(e)
|
|
4356
|
+
), te = (
|
|
4330
4357
|
/*invalidSecurityAnswer*/
|
|
4331
|
-
e[9] &&
|
|
4358
|
+
e[9] && ei(e)
|
|
4332
4359
|
);
|
|
4333
4360
|
return {
|
|
4334
4361
|
c() {
|
|
4335
|
-
r = E("div"), t = E("div"), i = E("h2"), s = T(n), u =
|
|
4362
|
+
r = E("div"), t = E("div"), i = E("h2"), s = T(n), u = H(), a = E("p"), c = T(f), h = H(), m = E("span"), b = T(g), w = H(), y = E("form"), A = E("div"), B = E("label"), M = T(L), ce = T(":"), G = E("span"), G.textContent = "*", ge = H(), R = E("input"), De = H(), q && q.c(), Ge = H(), U = E("div"), Z = E("label"), pe = T(he), se = T(":"), V = E("span"), V.textContent = "*", He = H(), k = E("input"), Be = H(), J && J.c(), be = H(), x = E("div"), ve = E("label"), mr = T(W), xe = T(":"), je = E("span"), je.textContent = "*", gr = H(), F = E("input"), pr = H(), _e.c(), Ve = H(), Y && Y.c(), br = H(), K && K.c(), yr = H(), j = E("div"), Ae = E("label"), Er = T(Re), vr = T(":"), $e = E("span"), $e.textContent = "*", ze = H(), z = E("input"), wr = H(), Se.c(), Qe = H(), ee && ee.c(), _r = H(), we = E("div"), ke = E("label"), Sr = T(Xe), Or = T(":"), Lr = H(), oe = E("input"), Mr = H(), Rr = H(), fe = E("div"), Ie = E("label"), Pr = T(We), Ur = T(":"), qe = E("span"), qe.textContent = "*", kr = H(), ae = E("input"), Fr = H(), re && re.c(), Dr = H(), de = E("div"), Ne = E("label"), Cr = T(Ye), Gr = T(":"), Ke = E("span"), Ke.textContent = "*", jr = H(), le = E("input"), Vr = H(), te && te.c(), $r = H(), p = E("button"), me = T(N), o(i, "class", "RegisterFormTitle"), o(m, "class", "FormLoginCallToAction"), o(a, "class", "RegisterFormSubtitle"), o(t, "class", "RegisterFormHeader"), o(G, "class", "FormRequired"), o(B, "for", "Email"), o(R, "type", "text"), o(R, "id", "Email"), o(A, "class", Te = "EmailContainer " + /*invalidEmail*/
|
|
4336
4363
|
(e[4] && !/*emailFocus*/
|
|
4337
4364
|
e[10] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4338
|
-
(e[17]?.indexOf("email") >= 0 ? "Hidden" : "")), o(V, "class", "FormRequired"), o(
|
|
4339
|
-
e[1] ? "username" : "off"), o(
|
|
4365
|
+
(e[17]?.indexOf("email") >= 0 ? "Hidden" : "")), o(V, "class", "FormRequired"), o(Z, "for", "UserName"), o(k, "type", "text"), o(k, "id", "UserName"), o(k, "autocomplete", Ce = /*savecredentials*/
|
|
4366
|
+
e[1] ? "username" : "off"), o(U, "class", Ee = "UserContainer " + /*invalidName*/
|
|
4340
4367
|
(e[5] && !/*usernameFocus*/
|
|
4341
4368
|
e[11] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4342
|
-
(e[17]?.indexOf("username") >= 0 ? "Hidden" : "")), o(
|
|
4343
|
-
e[1] ? "new-password" : "off"), o(
|
|
4369
|
+
(e[17]?.indexOf("username") >= 0 ? "Hidden" : "")), o(je, "class", "FormRequired"), o(ve, "for", "Password"), o(F, "name", "new-password"), o(F, "type", "password"), o(F, "id", "new-password"), o(F, "autocomplete", $ = /*savecredentials*/
|
|
4370
|
+
e[1] ? "new-password" : "off"), o(F, "aria-describedby", "password-constraints"), o(x, "class", Le = "PasswordContainer " + /*invalidPassword*/
|
|
4344
4371
|
(e[6] && !/*passwordFocus*/
|
|
4345
4372
|
e[12] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4346
|
-
(e[17]?.indexOf("password") >= 0 ? "Hidden" : "")),
|
|
4347
|
-
e[17]?.indexOf("password") >= 0, o(
|
|
4373
|
+
(e[17]?.indexOf("password") >= 0 ? "Hidden" : "")), x.hidden = Me = /*disabledFieldsList*/
|
|
4374
|
+
e[17]?.indexOf("password") >= 0, o($e, "class", "FormRequired"), o(Ae, "for", "ConfirmPassword"), o(z, "type", "password"), o(z, "id", "ConfirmPassword"), o(j, "class", Ue = "ConfirmPasswordContainer " + /*invalidConfirmPassword*/
|
|
4348
4375
|
(e[7] && !/*confirmPasswordFocus*/
|
|
4349
4376
|
e[13] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4350
|
-
(e[17]?.indexOf("confirmPassword") >= 0 ? "Hidden" : "")), o(
|
|
4351
|
-
(e[17]?.indexOf("promoCode") >= 0 ? "Hidden" : "")), o(qe, "class", "FormRequired"), o(Ie, "for", "SecurityQuestion"), o(
|
|
4377
|
+
(e[17]?.indexOf("confirmPassword") >= 0 ? "Hidden" : "")), o(ke, "for", "PromoCode"), o(oe, "type", "text"), o(oe, "id", "PromoCode"), o(we, "class", Ze = "PromoCodeContainer " + /*disabledFieldsList*/
|
|
4378
|
+
(e[17]?.indexOf("promoCode") >= 0 ? "Hidden" : "")), o(qe, "class", "FormRequired"), o(Ie, "for", "SecurityQuestion"), o(ae, "type", "text"), o(ae, "id", "SecurityQuestion"), o(fe, "class", Je = "SecurityQuestionContainer " + /*invalidSecurityQuestion*/
|
|
4352
4379
|
(e[8] && !/*securityQFocus*/
|
|
4353
4380
|
e[14] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4354
|
-
(e[17]?.indexOf("securityQuestion") >= 0 ? "Hidden" : "")), o(Ke, "class", "FormRequired"), o(Ne, "for", "SecurityAnswer"), o(
|
|
4381
|
+
(e[17]?.indexOf("securityQuestion") >= 0 ? "Hidden" : "")), o(Ke, "class", "FormRequired"), o(Ne, "for", "SecurityAnswer"), o(le, "type", "text"), o(le, "id", "SecurityAnswer"), o(de, "class", er = "SecurityAnswerContainer " + /*invalidSecurityAnswer*/
|
|
4355
4382
|
(e[9] && !/*securityAFocus*/
|
|
4356
4383
|
e[15] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4357
|
-
(e[17]?.indexOf("securityAnswer") >= 0 ? "Hidden" : "")), o(
|
|
4384
|
+
(e[17]?.indexOf("securityAnswer") >= 0 ? "Hidden" : "")), o(p, "class", "RegisterStepNext"), p.disabled = zr = !/*isValid*/
|
|
4358
4385
|
e[29], o(y, "class", "RegisterFormContent");
|
|
4359
4386
|
},
|
|
4360
4387
|
m(d, v) {
|
|
4361
|
-
ue(d, r, v), l(r, t), l(t, i), l(i, s), l(t, u), l(t, a), l(a, c), l(a, h), l(a, m), l(m, b), l(r, w), l(r, y), l(y, A), l(A,
|
|
4362
|
-
|
|
4388
|
+
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, B), l(B, M), l(B, ce), l(B, G), l(A, ge), l(A, R), ie(
|
|
4389
|
+
R,
|
|
4363
4390
|
/*userEmail*/
|
|
4364
4391
|
e[19]
|
|
4365
|
-
), l(A,
|
|
4366
|
-
|
|
4392
|
+
), l(A, De), q && q.m(A, null), l(y, Ge), l(y, U), l(U, Z), l(Z, pe), l(Z, se), l(Z, V), l(U, He), l(U, k), ie(
|
|
4393
|
+
k,
|
|
4367
4394
|
/*userValue*/
|
|
4368
4395
|
e[18]
|
|
4369
|
-
), l(
|
|
4370
|
-
|
|
4396
|
+
), l(U, Be), J && J.m(U, null), l(y, be), l(y, x), l(x, ve), l(ve, mr), l(ve, xe), l(ve, je), l(x, gr), l(x, F), ie(
|
|
4397
|
+
F,
|
|
4371
4398
|
/*userPassword*/
|
|
4372
4399
|
e[20]
|
|
4373
|
-
), e[60](
|
|
4374
|
-
|
|
4400
|
+
), e[60](F), l(x, pr), _e.m(x, null), l(x, Ve), Y && Y.m(x, null), l(x, br), K && K.m(x, null), l(y, yr), l(y, j), l(j, Ae), l(Ae, Er), l(Ae, vr), l(Ae, $e), l(j, ze), l(j, z), ie(
|
|
4401
|
+
z,
|
|
4375
4402
|
/*confirmUserPassword*/
|
|
4376
4403
|
e[21]
|
|
4377
|
-
), e[66](
|
|
4378
|
-
|
|
4404
|
+
), e[66](z), l(j, wr), Se.m(j, null), l(j, Qe), ee && ee.m(j, null), l(y, _r), l(y, we), l(we, ke), l(ke, Sr), l(ke, Or), l(we, Lr), l(we, oe), ie(
|
|
4405
|
+
oe,
|
|
4379
4406
|
/*promoCode*/
|
|
4380
4407
|
e[24]
|
|
4381
|
-
), l(we,
|
|
4382
|
-
|
|
4408
|
+
), l(we, Mr), l(y, Rr), l(y, fe), l(fe, Ie), l(Ie, Pr), l(Ie, Ur), l(Ie, qe), l(fe, kr), l(fe, ae), ie(
|
|
4409
|
+
ae,
|
|
4383
4410
|
/*securityQuestion*/
|
|
4384
4411
|
e[22]
|
|
4385
|
-
), l(fe,
|
|
4386
|
-
|
|
4412
|
+
), l(fe, Fr), re && re.m(fe, null), l(y, Dr), l(y, de), l(de, Ne), l(Ne, Cr), l(Ne, Gr), l(Ne, Ke), l(de, jr), l(de, le), ie(
|
|
4413
|
+
le,
|
|
4387
4414
|
/*securityAnswer*/
|
|
4388
4415
|
e[23]
|
|
4389
|
-
), l(de,
|
|
4390
|
-
|
|
4416
|
+
), l(de, Vr), te && te.m(de, null), l(y, $r), l(y, p), l(p, me), e[79](r), ot || (Tt = [
|
|
4417
|
+
C(
|
|
4391
4418
|
m,
|
|
4392
4419
|
"click",
|
|
4393
4420
|
/*click_handler*/
|
|
4394
4421
|
e[50]
|
|
4395
4422
|
),
|
|
4396
|
-
|
|
4397
|
-
|
|
4423
|
+
C(
|
|
4424
|
+
R,
|
|
4398
4425
|
"input",
|
|
4399
4426
|
/*input0_input_handler*/
|
|
4400
4427
|
e[51]
|
|
4401
4428
|
),
|
|
4402
|
-
|
|
4403
|
-
|
|
4429
|
+
C(
|
|
4430
|
+
R,
|
|
4404
4431
|
"keyup",
|
|
4405
4432
|
/*checkEmailIdentifier*/
|
|
4406
4433
|
e[32]
|
|
4407
4434
|
),
|
|
4408
|
-
|
|
4409
|
-
|
|
4435
|
+
C(
|
|
4436
|
+
R,
|
|
4410
4437
|
"focus",
|
|
4411
4438
|
/*focus_handler*/
|
|
4412
4439
|
e[52]
|
|
4413
4440
|
),
|
|
4414
|
-
|
|
4415
|
-
|
|
4441
|
+
C(
|
|
4442
|
+
R,
|
|
4416
4443
|
"blur",
|
|
4417
4444
|
/*blur_handler*/
|
|
4418
4445
|
e[53]
|
|
4419
4446
|
),
|
|
4420
|
-
|
|
4421
|
-
|
|
4447
|
+
C(
|
|
4448
|
+
k,
|
|
4422
4449
|
"input",
|
|
4423
4450
|
/*input1_input_handler*/
|
|
4424
4451
|
e[54]
|
|
4425
4452
|
),
|
|
4426
|
-
|
|
4427
|
-
|
|
4453
|
+
C(
|
|
4454
|
+
k,
|
|
4428
4455
|
"keyup",
|
|
4429
4456
|
/*checkUserIdentifier*/
|
|
4430
4457
|
e[33]
|
|
4431
4458
|
),
|
|
4432
|
-
|
|
4433
|
-
|
|
4459
|
+
C(
|
|
4460
|
+
k,
|
|
4434
4461
|
"focus",
|
|
4435
4462
|
/*focus_handler_1*/
|
|
4436
4463
|
e[55]
|
|
4437
4464
|
),
|
|
4438
|
-
|
|
4439
|
-
|
|
4465
|
+
C(
|
|
4466
|
+
k,
|
|
4440
4467
|
"blur",
|
|
4441
4468
|
/*blur_handler_1*/
|
|
4442
4469
|
e[56]
|
|
4443
4470
|
),
|
|
4444
|
-
|
|
4445
|
-
|
|
4471
|
+
C(
|
|
4472
|
+
F,
|
|
4446
4473
|
"input",
|
|
4447
4474
|
/*input2_input_handler*/
|
|
4448
4475
|
e[57]
|
|
4449
4476
|
),
|
|
4450
|
-
|
|
4451
|
-
|
|
4477
|
+
C(
|
|
4478
|
+
F,
|
|
4452
4479
|
"keyup",
|
|
4453
4480
|
/*validatePassword*/
|
|
4454
4481
|
e[38]
|
|
4455
4482
|
),
|
|
4456
|
-
|
|
4457
|
-
|
|
4483
|
+
C(
|
|
4484
|
+
F,
|
|
4458
4485
|
"focus",
|
|
4459
4486
|
/*focus_handler_2*/
|
|
4460
4487
|
e[58]
|
|
4461
4488
|
),
|
|
4462
|
-
|
|
4463
|
-
|
|
4489
|
+
C(
|
|
4490
|
+
F,
|
|
4464
4491
|
"blur",
|
|
4465
4492
|
/*blur_handler_2*/
|
|
4466
4493
|
e[59]
|
|
4467
4494
|
),
|
|
4468
|
-
|
|
4469
|
-
|
|
4495
|
+
C(
|
|
4496
|
+
z,
|
|
4470
4497
|
"input",
|
|
4471
4498
|
/*input3_input_handler*/
|
|
4472
4499
|
e[63]
|
|
4473
4500
|
),
|
|
4474
|
-
|
|
4475
|
-
|
|
4501
|
+
C(
|
|
4502
|
+
z,
|
|
4476
4503
|
"keyup",
|
|
4477
4504
|
/*validateConfirmPassword*/
|
|
4478
4505
|
e[39]
|
|
4479
4506
|
),
|
|
4480
|
-
|
|
4481
|
-
|
|
4507
|
+
C(
|
|
4508
|
+
z,
|
|
4482
4509
|
"focus",
|
|
4483
4510
|
/*focus_handler_3*/
|
|
4484
4511
|
e[64]
|
|
4485
4512
|
),
|
|
4486
|
-
|
|
4487
|
-
|
|
4513
|
+
C(
|
|
4514
|
+
z,
|
|
4488
4515
|
"blur",
|
|
4489
4516
|
/*blur_handler_3*/
|
|
4490
4517
|
e[65]
|
|
4491
4518
|
),
|
|
4492
|
-
|
|
4493
|
-
|
|
4519
|
+
C(
|
|
4520
|
+
oe,
|
|
4494
4521
|
"input",
|
|
4495
4522
|
/*input4_input_handler*/
|
|
4496
4523
|
e[69]
|
|
4497
4524
|
),
|
|
4498
|
-
|
|
4499
|
-
|
|
4525
|
+
C(
|
|
4526
|
+
oe,
|
|
4500
4527
|
"keyup",
|
|
4501
4528
|
/*checkPromoCode*/
|
|
4502
4529
|
e[40]
|
|
4503
4530
|
),
|
|
4504
|
-
|
|
4505
|
-
|
|
4531
|
+
C(
|
|
4532
|
+
oe,
|
|
4506
4533
|
"focus",
|
|
4507
4534
|
/*focus_handler_4*/
|
|
4508
4535
|
e[70]
|
|
4509
4536
|
),
|
|
4510
|
-
|
|
4511
|
-
|
|
4537
|
+
C(
|
|
4538
|
+
oe,
|
|
4512
4539
|
"blur",
|
|
4513
4540
|
/*blur_handler_4*/
|
|
4514
4541
|
e[71]
|
|
4515
4542
|
),
|
|
4516
|
-
|
|
4517
|
-
|
|
4543
|
+
C(
|
|
4544
|
+
ae,
|
|
4518
4545
|
"input",
|
|
4519
4546
|
/*input5_input_handler*/
|
|
4520
4547
|
e[72]
|
|
4521
4548
|
),
|
|
4522
|
-
|
|
4523
|
-
|
|
4549
|
+
C(
|
|
4550
|
+
ae,
|
|
4524
4551
|
"keyup",
|
|
4525
4552
|
/*checkSecurityQuestion*/
|
|
4526
4553
|
e[41]
|
|
4527
4554
|
),
|
|
4528
|
-
|
|
4529
|
-
|
|
4555
|
+
C(
|
|
4556
|
+
ae,
|
|
4530
4557
|
"focus",
|
|
4531
4558
|
/*focus_handler_5*/
|
|
4532
4559
|
e[73]
|
|
4533
4560
|
),
|
|
4534
|
-
|
|
4535
|
-
|
|
4561
|
+
C(
|
|
4562
|
+
ae,
|
|
4536
4563
|
"blur",
|
|
4537
4564
|
/*blur_handler_5*/
|
|
4538
4565
|
e[74]
|
|
4539
4566
|
),
|
|
4540
|
-
|
|
4541
|
-
|
|
4567
|
+
C(
|
|
4568
|
+
le,
|
|
4542
4569
|
"input",
|
|
4543
4570
|
/*input6_input_handler*/
|
|
4544
4571
|
e[75]
|
|
4545
4572
|
),
|
|
4546
|
-
|
|
4547
|
-
|
|
4573
|
+
C(
|
|
4574
|
+
le,
|
|
4548
4575
|
"keyup",
|
|
4549
4576
|
/*checkSecurityAnswer*/
|
|
4550
4577
|
e[42]
|
|
4551
4578
|
),
|
|
4552
|
-
|
|
4553
|
-
|
|
4579
|
+
C(
|
|
4580
|
+
le,
|
|
4554
4581
|
"focus",
|
|
4555
4582
|
/*focus_handler_6*/
|
|
4556
4583
|
e[76]
|
|
4557
4584
|
),
|
|
4558
|
-
|
|
4559
|
-
|
|
4585
|
+
C(
|
|
4586
|
+
le,
|
|
4560
4587
|
"blur",
|
|
4561
4588
|
/*blur_handler_6*/
|
|
4562
4589
|
e[77]
|
|
4563
4590
|
),
|
|
4564
|
-
|
|
4565
|
-
|
|
4591
|
+
C(
|
|
4592
|
+
p,
|
|
4566
4593
|
"click",
|
|
4567
4594
|
/*click_handler_5*/
|
|
4568
4595
|
e[78]
|
|
4569
4596
|
)
|
|
4570
|
-
],
|
|
4597
|
+
], ot = !0);
|
|
4571
4598
|
},
|
|
4572
4599
|
p(d, v) {
|
|
4573
4600
|
v[0] & /*$_*/
|
|
@@ -4577,72 +4604,72 @@ function Zs(e) {
|
|
|
4577
4604
|
d[30]("registerSubtitle") + "") && D(c, f), v[0] & /*$_*/
|
|
4578
4605
|
1073741824 && g !== (g = /*$_*/
|
|
4579
4606
|
d[30]("registerSubtitleLogin") + "") && D(b, g), v[0] & /*$_*/
|
|
4580
|
-
1073741824 &&
|
|
4581
|
-
d[30]("registerEmail") + "") && D(
|
|
4582
|
-
524288 &&
|
|
4583
|
-
d[19] &&
|
|
4584
|
-
|
|
4607
|
+
1073741824 && L !== (L = /*$_*/
|
|
4608
|
+
d[30]("registerEmail") + "") && D(M, L), v[0] & /*userEmail*/
|
|
4609
|
+
524288 && R.value !== /*userEmail*/
|
|
4610
|
+
d[19] && ie(
|
|
4611
|
+
R,
|
|
4585
4612
|
/*userEmail*/
|
|
4586
4613
|
d[19]
|
|
4587
4614
|
), /*invalidEmail*/
|
|
4588
|
-
d[4] ?
|
|
4589
|
-
132112 &&
|
|
4615
|
+
d[4] ? q ? q.p(d, v) : (q = Zt(d), q.c(), q.m(A, null)) : q && (q.d(1), q = null), v[0] & /*invalidEmail, emailFocus, disabledFieldsList*/
|
|
4616
|
+
132112 && Te !== (Te = "EmailContainer " + /*invalidEmail*/
|
|
4590
4617
|
(d[4] && !/*emailFocus*/
|
|
4591
4618
|
d[10] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4592
|
-
(d[17]?.indexOf("email") >= 0 ? "Hidden" : "")) && o(A, "class",
|
|
4619
|
+
(d[17]?.indexOf("email") >= 0 ? "Hidden" : "")) && o(A, "class", Te), v[0] & /*$_*/
|
|
4593
4620
|
1073741824 && he !== (he = /*$_*/
|
|
4594
|
-
d[30]("registerUsername") + "") && D(
|
|
4595
|
-
2 &&
|
|
4596
|
-
d[1] ? "username" : "off") && o(
|
|
4597
|
-
262144 &&
|
|
4598
|
-
d[18] &&
|
|
4599
|
-
|
|
4621
|
+
d[30]("registerUsername") + "") && D(pe, he), v[0] & /*savecredentials*/
|
|
4622
|
+
2 && Ce !== (Ce = /*savecredentials*/
|
|
4623
|
+
d[1] ? "username" : "off") && o(k, "autocomplete", Ce), v[0] & /*userValue*/
|
|
4624
|
+
262144 && k.value !== /*userValue*/
|
|
4625
|
+
d[18] && ie(
|
|
4626
|
+
k,
|
|
4600
4627
|
/*userValue*/
|
|
4601
4628
|
d[18]
|
|
4602
4629
|
), /*invalidName*/
|
|
4603
|
-
d[5] ?
|
|
4604
|
-
133152 &&
|
|
4630
|
+
d[5] ? J ? J.p(d, v) : (J = Wt(d), J.c(), J.m(U, null)) : J && (J.d(1), J = null), v[0] & /*invalidName, usernameFocus, disabledFieldsList*/
|
|
4631
|
+
133152 && Ee !== (Ee = "UserContainer " + /*invalidName*/
|
|
4605
4632
|
(d[5] && !/*usernameFocus*/
|
|
4606
4633
|
d[11] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4607
|
-
(d[17]?.indexOf("username") >= 0 ? "Hidden" : "")) && o(
|
|
4608
|
-
1073741824 &&
|
|
4609
|
-
d[30]("registerPassword") + "") && D(
|
|
4610
|
-
2 &&
|
|
4611
|
-
d[1] ? "new-password" : "off") && o(
|
|
4612
|
-
1048576 &&
|
|
4613
|
-
d[20] &&
|
|
4614
|
-
|
|
4634
|
+
(d[17]?.indexOf("username") >= 0 ? "Hidden" : "")) && o(U, "class", Ee), v[0] & /*$_*/
|
|
4635
|
+
1073741824 && W !== (W = /*$_*/
|
|
4636
|
+
d[30]("registerPassword") + "") && D(mr, W), v[0] & /*savecredentials*/
|
|
4637
|
+
2 && $ !== ($ = /*savecredentials*/
|
|
4638
|
+
d[1] ? "new-password" : "off") && o(F, "autocomplete", $), v[0] & /*userPassword*/
|
|
4639
|
+
1048576 && F.value !== /*userPassword*/
|
|
4640
|
+
d[20] && ie(
|
|
4641
|
+
F,
|
|
4615
4642
|
/*userPassword*/
|
|
4616
4643
|
d[20]
|
|
4617
|
-
),
|
|
4644
|
+
), Qr === (Qr = Ht(d)) && _e ? _e.p(d, v) : (_e.d(1), _e = Qr(d), _e && (_e.c(), _e.m(x, Ve))), /*invalidPassword*/
|
|
4618
4645
|
d[6] && /*simplepasswordvalidation*/
|
|
4619
|
-
d[0] !== "true" ?
|
|
4646
|
+
d[0] !== "true" ? Y ? Y.p(d, v) : (Y = qt(d), Y.c(), Y.m(x, br)) : Y && (Y.d(1), Y = null), /*invalidPassword*/
|
|
4620
4647
|
d[6] && /*simplepasswordvalidation*/
|
|
4621
|
-
d[0] === "true" ?
|
|
4622
|
-
135232 &&
|
|
4648
|
+
d[0] === "true" ? K ? K.p(d, v) : (K = Jt(d), K.c(), K.m(x, null)) : K && (K.d(1), K = null), v[0] & /*invalidPassword, passwordFocus, disabledFieldsList*/
|
|
4649
|
+
135232 && Le !== (Le = "PasswordContainer " + /*invalidPassword*/
|
|
4623
4650
|
(d[6] && !/*passwordFocus*/
|
|
4624
4651
|
d[12] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4625
|
-
(d[17]?.indexOf("password") >= 0 ? "Hidden" : "")) && o(
|
|
4626
|
-
131072 &&
|
|
4627
|
-
d[17]?.indexOf("password") >= 0) && (
|
|
4628
|
-
1073741824 &&
|
|
4629
|
-
d[30]("registerConfirmPassword") + "") && D(
|
|
4630
|
-
2097152 &&
|
|
4631
|
-
d[21] &&
|
|
4632
|
-
|
|
4652
|
+
(d[17]?.indexOf("password") >= 0 ? "Hidden" : "")) && o(x, "class", Le), v[0] & /*disabledFieldsList*/
|
|
4653
|
+
131072 && Me !== (Me = /*disabledFieldsList*/
|
|
4654
|
+
d[17]?.indexOf("password") >= 0) && (x.hidden = Me), v[0] & /*$_*/
|
|
4655
|
+
1073741824 && Re !== (Re = /*$_*/
|
|
4656
|
+
d[30]("registerConfirmPassword") + "") && D(Er, Re), v[0] & /*confirmUserPassword*/
|
|
4657
|
+
2097152 && z.value !== /*confirmUserPassword*/
|
|
4658
|
+
d[21] && ie(
|
|
4659
|
+
z,
|
|
4633
4660
|
/*confirmUserPassword*/
|
|
4634
4661
|
d[21]
|
|
4635
|
-
),
|
|
4636
|
-
d[7] ?
|
|
4637
|
-
139392 &&
|
|
4662
|
+
), Xr === (Xr = Bt(d)) && Se ? Se.p(d, v) : (Se.d(1), Se = Xr(d), Se && (Se.c(), Se.m(j, Qe))), /*invalidConfirmPassword*/
|
|
4663
|
+
d[7] ? ee ? ee.p(d, v) : (ee = Yt(d), ee.c(), ee.m(j, null)) : ee && (ee.d(1), ee = null), v[0] & /*invalidConfirmPassword, confirmPasswordFocus, disabledFieldsList*/
|
|
4664
|
+
139392 && Ue !== (Ue = "ConfirmPasswordContainer " + /*invalidConfirmPassword*/
|
|
4638
4665
|
(d[7] && !/*confirmPasswordFocus*/
|
|
4639
4666
|
d[13] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4640
|
-
(d[17]?.indexOf("confirmPassword") >= 0 ? "Hidden" : "")) && o(j, "class",
|
|
4667
|
+
(d[17]?.indexOf("confirmPassword") >= 0 ? "Hidden" : "")) && o(j, "class", Ue), v[0] & /*$_*/
|
|
4641
4668
|
1073741824 && Xe !== (Xe = /*$_*/
|
|
4642
|
-
d[30]("registerPromoCode") + "") && D(
|
|
4643
|
-
16777216 &&
|
|
4644
|
-
d[24] &&
|
|
4645
|
-
|
|
4669
|
+
d[30]("registerPromoCode") + "") && D(Sr, Xe), v[0] & /*promoCode*/
|
|
4670
|
+
16777216 && oe.value !== /*promoCode*/
|
|
4671
|
+
d[24] && ie(
|
|
4672
|
+
oe,
|
|
4646
4673
|
/*promoCode*/
|
|
4647
4674
|
d[24]
|
|
4648
4675
|
), v[0] & /*disabledFieldsList*/
|
|
@@ -4655,14 +4682,14 @@ function Zs(e) {
|
|
|
4655
4682
|
) : (
|
|
4656
4683
|
/*$_*/
|
|
4657
4684
|
d[30]("registerSecurityQuestion")
|
|
4658
|
-
)) + "") && D(
|
|
4659
|
-
4194304 &&
|
|
4660
|
-
d[22] &&
|
|
4661
|
-
|
|
4685
|
+
)) + "") && D(Pr, We), v[0] & /*securityQuestion*/
|
|
4686
|
+
4194304 && ae.value !== /*securityQuestion*/
|
|
4687
|
+
d[22] && ie(
|
|
4688
|
+
ae,
|
|
4662
4689
|
/*securityQuestion*/
|
|
4663
4690
|
d[22]
|
|
4664
4691
|
), /*invalidSecurityQuestion*/
|
|
4665
|
-
d[8] ?
|
|
4692
|
+
d[8] ? re ? re.p(d, v) : (re = Kt(d), re.c(), re.m(fe, null)) : re && (re.d(1), re = null), v[0] & /*invalidSecurityQuestion, securityQFocus, disabledFieldsList*/
|
|
4666
4693
|
147712 && Je !== (Je = "SecurityQuestionContainer " + /*invalidSecurityQuestion*/
|
|
4667
4694
|
(d[8] && !/*securityQFocus*/
|
|
4668
4695
|
d[14] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
@@ -4674,34 +4701,34 @@ function Zs(e) {
|
|
|
4674
4701
|
) : (
|
|
4675
4702
|
/*$_*/
|
|
4676
4703
|
d[30]("registerSecurityAnswer")
|
|
4677
|
-
)) + "") && D(
|
|
4678
|
-
8388608 &&
|
|
4679
|
-
d[23] &&
|
|
4680
|
-
|
|
4704
|
+
)) + "") && D(Cr, Ye), v[0] & /*securityAnswer*/
|
|
4705
|
+
8388608 && le.value !== /*securityAnswer*/
|
|
4706
|
+
d[23] && ie(
|
|
4707
|
+
le,
|
|
4681
4708
|
/*securityAnswer*/
|
|
4682
4709
|
d[23]
|
|
4683
4710
|
), /*invalidSecurityAnswer*/
|
|
4684
|
-
d[9] ?
|
|
4711
|
+
d[9] ? te ? te.p(d, v) : (te = ei(d), te.c(), te.m(de, null)) : te && (te.d(1), te = null), v[0] & /*invalidSecurityAnswer, securityAFocus, disabledFieldsList*/
|
|
4685
4712
|
164352 && er !== (er = "SecurityAnswerContainer " + /*invalidSecurityAnswer*/
|
|
4686
4713
|
(d[9] && !/*securityAFocus*/
|
|
4687
4714
|
d[15] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4688
4715
|
(d[17]?.indexOf("securityAnswer") >= 0 ? "Hidden" : "")) && o(de, "class", er), v[0] & /*$_*/
|
|
4689
|
-
1073741824 &&
|
|
4690
|
-
d[30]("registerNext") + "") && D(
|
|
4691
|
-
536870912 &&
|
|
4692
|
-
d[29]) && (
|
|
4716
|
+
1073741824 && N !== (N = /*$_*/
|
|
4717
|
+
d[30]("registerNext") + "") && D(me, N), v[0] & /*isValid*/
|
|
4718
|
+
536870912 && zr !== (zr = !/*isValid*/
|
|
4719
|
+
d[29]) && (p.disabled = zr);
|
|
4693
4720
|
},
|
|
4694
|
-
i:
|
|
4695
|
-
o:
|
|
4721
|
+
i: X,
|
|
4722
|
+
o: X,
|
|
4696
4723
|
d(d) {
|
|
4697
|
-
d &&
|
|
4724
|
+
d && ne(r), q && q.d(), J && J.d(), e[60](null), _e.d(), Y && Y.d(), K && K.d(), e[66](null), Se.d(), ee && ee.d(), re && re.d(), te && te.d(), e[79](null), ot = !1, cr(Tt);
|
|
4698
4725
|
}
|
|
4699
4726
|
};
|
|
4700
4727
|
}
|
|
4701
|
-
function
|
|
4728
|
+
function Ys(e, r, t) {
|
|
4702
4729
|
let i;
|
|
4703
|
-
|
|
4704
|
-
let { lang: n = "" } = r, { disabledfields: s = "" } = r, { simplepasswordvalidation: u = "false" } = r, { mbsource: a } = r, { clientstyling: f = "" } = r, { clientstylingurl: c = "" } = r, { translationurl: h = "" } = r, { savecredentials: m = "" } = r, { custominputtextswitch: g = "false" } = r, b = !1, w = !1, y = !1, A = !1,
|
|
4730
|
+
Bi(e, Fs, (p) => t(30, i = p));
|
|
4731
|
+
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, B = !1, L = !1, M = !1, ce = !1, G = !1, ge = !1, R = !1, De = !1, Te = !1, Ge, U = "", Z = "", he = "", pe = "", se = "", V = "", He = "", k = !1, Ce = !1, Be, Ee, be = {}, x = {
|
|
4705
4732
|
username: !1,
|
|
4706
4733
|
email: !1,
|
|
4707
4734
|
password: !1,
|
|
@@ -4709,288 +4736,288 @@ function Ws(e, r, t) {
|
|
|
4709
4736
|
securityAnswer: !1,
|
|
4710
4737
|
securityQuestion: !1,
|
|
4711
4738
|
promoCode: !0
|
|
4712
|
-
},
|
|
4739
|
+
}, ve = !1, W, mr, xe = {
|
|
4713
4740
|
user: /^(?!(?:.*\d){9})(?=(?:.*[a-zA-Z]){4})^[a-zA-Z\d]*$/,
|
|
4714
4741
|
email: /^[^<>()*{}=/|?`~[\]\\,;:\%#^\s@\"$&!@]+@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z0-9]+\.)+[a-zA-Z]{2,}))$/i,
|
|
4715
4742
|
password: /^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[^\w\s]).{8,20}$/,
|
|
4716
4743
|
document: /^(?=.*[a-zA-Z0-9])[a-zA-Z0-9\s]+$/
|
|
4717
4744
|
};
|
|
4718
|
-
const
|
|
4719
|
-
fetch(h).then((
|
|
4720
|
-
Object.keys(
|
|
4721
|
-
|
|
4745
|
+
const je = () => {
|
|
4746
|
+
fetch(h).then((N) => N.json()).then((N) => {
|
|
4747
|
+
Object.keys(N).forEach((me) => {
|
|
4748
|
+
Qt(me, N[me]);
|
|
4722
4749
|
});
|
|
4723
|
-
}).catch((
|
|
4724
|
-
console.log(
|
|
4750
|
+
}).catch((N) => {
|
|
4751
|
+
console.log(N);
|
|
4725
4752
|
});
|
|
4726
4753
|
};
|
|
4727
|
-
Object.keys(
|
|
4728
|
-
|
|
4754
|
+
Object.keys(Xt).forEach((p) => {
|
|
4755
|
+
Qt(p, Xt[p]);
|
|
4729
4756
|
});
|
|
4730
|
-
const
|
|
4757
|
+
const gr = () => {
|
|
4731
4758
|
window.postMessage({ type: "ToLogin" }, window.location.href);
|
|
4732
|
-
},
|
|
4733
|
-
if (!(
|
|
4759
|
+
}, F = (p, N) => {
|
|
4760
|
+
if (!(Ge.indexOf(p) >= 0))
|
|
4734
4761
|
switch (p) {
|
|
4735
4762
|
case "username":
|
|
4736
|
-
t(18,
|
|
4763
|
+
t(18, U = N), Ve();
|
|
4737
4764
|
break;
|
|
4738
4765
|
case "email":
|
|
4739
|
-
t(19,
|
|
4766
|
+
t(19, Z = N), pr();
|
|
4740
4767
|
break;
|
|
4741
4768
|
case "password":
|
|
4742
|
-
t(20, he =
|
|
4769
|
+
t(20, he = N), vr();
|
|
4743
4770
|
break;
|
|
4744
4771
|
case "confirmUserPassword":
|
|
4745
|
-
t(21,
|
|
4772
|
+
t(21, pe = N), ze();
|
|
4746
4773
|
break;
|
|
4747
4774
|
case "securityQuestion":
|
|
4748
|
-
t(22,
|
|
4775
|
+
t(22, se = N), wr();
|
|
4749
4776
|
break;
|
|
4750
4777
|
case "securityAnswer":
|
|
4751
|
-
t(23, V =
|
|
4778
|
+
t(23, V = N), Qe();
|
|
4752
4779
|
break;
|
|
4753
4780
|
case "promoCode":
|
|
4754
|
-
t(24,
|
|
4781
|
+
t(24, He = N), z();
|
|
4755
4782
|
break;
|
|
4756
4783
|
}
|
|
4757
|
-
},
|
|
4758
|
-
t(29,
|
|
4759
|
-
},
|
|
4760
|
-
|
|
4761
|
-
}, dr = () => {
|
|
4762
|
-
pe.username = k, ve.user.test(k) && k.length <= 20 ? t(5, w = !1) : t(5, w = !0), C.username = !w, H();
|
|
4763
|
-
}, mr = () => {
|
|
4764
|
-
u == "true" && (ve.password = /^(?!.* ).{8,20}$/);
|
|
4784
|
+
}, $ = () => {
|
|
4785
|
+
t(29, ve = Object.keys(x).every((p) => s.includes(p) ? !0 : x[p] !== !1));
|
|
4786
|
+
}, pr = () => {
|
|
4787
|
+
be.email = Z, xe.email.test(Z) && Z.length <= 100 ? t(4, b = !1) : t(4, b = !0), x.email = !b, $();
|
|
4765
4788
|
}, Ve = () => {
|
|
4766
|
-
t(
|
|
4767
|
-
},
|
|
4768
|
-
|
|
4769
|
-
},
|
|
4770
|
-
t(25,
|
|
4771
|
-
},
|
|
4772
|
-
t(26,
|
|
4789
|
+
be.username = U, xe.user.test(U) && U.length <= 20 ? t(5, w = !1) : t(5, w = !0), x.username = !w, $();
|
|
4790
|
+
}, br = () => {
|
|
4791
|
+
u == "true" && (xe.password = /^(?!.* ).{8,20}$/);
|
|
4792
|
+
}, Le = () => {
|
|
4793
|
+
t(25, k = !0), Ae();
|
|
4794
|
+
}, Me = () => {
|
|
4795
|
+
t(26, Ce = !0), Re();
|
|
4796
|
+
}, yr = () => {
|
|
4797
|
+
t(25, k = !1), Ae();
|
|
4773
4798
|
}, j = () => {
|
|
4774
|
-
t(
|
|
4775
|
-
},
|
|
4776
|
-
t(
|
|
4777
|
-
},
|
|
4778
|
-
|
|
4779
|
-
},
|
|
4780
|
-
|
|
4781
|
-
},
|
|
4782
|
-
pe.
|
|
4783
|
-
},
|
|
4784
|
-
|
|
4799
|
+
t(26, Ce = !1), Re();
|
|
4800
|
+
}, Ae = () => {
|
|
4801
|
+
t(27, Be.type = k ? "text" : "password", Be);
|
|
4802
|
+
}, Re = () => {
|
|
4803
|
+
t(28, Ee.type = Ce ? "text" : "password", Ee);
|
|
4804
|
+
}, Er = () => !!xe.password.test(he), vr = () => {
|
|
4805
|
+
be.password = he, t(6, y = !Er()), pe.length !== 0 && ze(), x.password = !y, $();
|
|
4806
|
+
}, $e = () => he === pe, ze = () => {
|
|
4807
|
+
be.confirmUserPassword = pe, t(7, A = !$e()), x.confirmUserPassword = !A, $();
|
|
4808
|
+
}, z = () => {
|
|
4809
|
+
be.promoCode = He;
|
|
4810
|
+
}, wr = () => {
|
|
4811
|
+
if (be.securityQuestion = se, se)
|
|
4785
4812
|
switch (g) {
|
|
4786
4813
|
case "true":
|
|
4787
|
-
if (
|
|
4788
|
-
t(8,
|
|
4814
|
+
if (xe.document.test(se) && se.length <= 50) {
|
|
4815
|
+
t(8, B = !1), x.securityQuestion = !B, $();
|
|
4789
4816
|
return;
|
|
4790
4817
|
}
|
|
4791
4818
|
break;
|
|
4792
4819
|
case "false":
|
|
4793
|
-
if (
|
|
4794
|
-
t(8,
|
|
4820
|
+
if (se && se.length <= 120) {
|
|
4821
|
+
t(8, B = !1), x.securityQuestion = !B, $();
|
|
4795
4822
|
return;
|
|
4796
4823
|
}
|
|
4797
4824
|
break;
|
|
4798
4825
|
}
|
|
4799
|
-
t(8,
|
|
4800
|
-
},
|
|
4801
|
-
if (
|
|
4826
|
+
t(8, B = !0), x.securityQuestion = !B, $();
|
|
4827
|
+
}, Qe = () => {
|
|
4828
|
+
if (be.securityAnswer = V, V)
|
|
4802
4829
|
switch (g) {
|
|
4803
4830
|
case "true":
|
|
4804
|
-
if (
|
|
4805
|
-
t(9,
|
|
4831
|
+
if (xe.document.test(V) && V.length <= 50) {
|
|
4832
|
+
t(9, L = !1), x.securityAnswer = !L, $();
|
|
4806
4833
|
return;
|
|
4807
4834
|
}
|
|
4808
4835
|
break;
|
|
4809
4836
|
case "false":
|
|
4810
4837
|
if (V && V.length <= 120) {
|
|
4811
|
-
t(9,
|
|
4838
|
+
t(9, L = !1), x.securityAnswer = !L, $();
|
|
4812
4839
|
return;
|
|
4813
4840
|
}
|
|
4814
4841
|
break;
|
|
4815
4842
|
}
|
|
4816
|
-
t(9,
|
|
4817
|
-
},
|
|
4843
|
+
t(9, L = !0), x.securityAnswer = !L, $();
|
|
4844
|
+
}, Ue = (p) => {
|
|
4818
4845
|
p.preventDefault(), window.postMessage(
|
|
4819
4846
|
{
|
|
4820
4847
|
type: "RegisterStepOne",
|
|
4821
|
-
registerStepOneData:
|
|
4848
|
+
registerStepOneData: be
|
|
4822
4849
|
},
|
|
4823
4850
|
window.location.href
|
|
4824
4851
|
);
|
|
4825
|
-
},
|
|
4852
|
+
}, _r = (p) => {
|
|
4826
4853
|
if (p.data)
|
|
4827
4854
|
switch (p.data.type) {
|
|
4828
4855
|
case "StepOneDataBackup":
|
|
4829
|
-
const
|
|
4830
|
-
for (const
|
|
4831
|
-
|
|
4832
|
-
t(29,
|
|
4856
|
+
const N = p.data.userData;
|
|
4857
|
+
for (const me in N)
|
|
4858
|
+
F(me, N[me]);
|
|
4859
|
+
t(29, ve = Object.keys(x).every((me) => s.includes(me) ? !0 : x[me] !== !1));
|
|
4833
4860
|
break;
|
|
4834
4861
|
}
|
|
4835
|
-
}, Ir = () => {
|
|
4836
|
-
t(17, je = s.split(","));
|
|
4837
4862
|
}, we = () => {
|
|
4838
|
-
|
|
4863
|
+
t(17, Ge = s.split(","));
|
|
4864
|
+
}, ke = () => {
|
|
4865
|
+
Ds(n);
|
|
4839
4866
|
};
|
|
4840
|
-
|
|
4841
|
-
window.removeEventListener("message",
|
|
4867
|
+
Ui(() => (window.addEventListener("message", _r, !1), () => {
|
|
4868
|
+
window.removeEventListener("message", _r);
|
|
4842
4869
|
}));
|
|
4843
|
-
const
|
|
4844
|
-
function
|
|
4845
|
-
|
|
4870
|
+
const Xe = () => gr();
|
|
4871
|
+
function Sr() {
|
|
4872
|
+
Z = this.value, t(19, Z);
|
|
4846
4873
|
}
|
|
4847
|
-
const
|
|
4848
|
-
function
|
|
4849
|
-
|
|
4874
|
+
const Or = () => t(10, M = !0), Lr = () => t(10, M = !1);
|
|
4875
|
+
function oe() {
|
|
4876
|
+
U = this.value, t(18, U);
|
|
4850
4877
|
}
|
|
4851
|
-
const
|
|
4852
|
-
function
|
|
4878
|
+
const Mr = () => t(11, ce = !0), Ze = () => t(11, ce = !1);
|
|
4879
|
+
function Rr() {
|
|
4853
4880
|
he = this.value, t(20, he);
|
|
4854
4881
|
}
|
|
4855
|
-
const
|
|
4856
|
-
function
|
|
4857
|
-
|
|
4858
|
-
|
|
4882
|
+
const fe = () => t(12, G = !0), Ie = () => t(12, G = !1);
|
|
4883
|
+
function We(p) {
|
|
4884
|
+
Tr[p ? "unshift" : "push"](() => {
|
|
4885
|
+
Be = p, t(27, Be);
|
|
4859
4886
|
});
|
|
4860
4887
|
}
|
|
4861
|
-
const
|
|
4862
|
-
function
|
|
4863
|
-
|
|
4888
|
+
const Pr = () => yr(), Ur = () => Le();
|
|
4889
|
+
function qe() {
|
|
4890
|
+
pe = this.value, t(21, pe);
|
|
4864
4891
|
}
|
|
4865
|
-
const
|
|
4866
|
-
function
|
|
4867
|
-
|
|
4868
|
-
|
|
4892
|
+
const kr = () => t(13, ge = !0), ae = () => t(13, ge = !1);
|
|
4893
|
+
function Fr(p) {
|
|
4894
|
+
Tr[p ? "unshift" : "push"](() => {
|
|
4895
|
+
Ee = p, t(28, Ee);
|
|
4869
4896
|
});
|
|
4870
4897
|
}
|
|
4871
|
-
const
|
|
4872
|
-
function
|
|
4873
|
-
|
|
4898
|
+
const Je = () => j(), Dr = () => Me();
|
|
4899
|
+
function de() {
|
|
4900
|
+
He = this.value, t(24, He);
|
|
4874
4901
|
}
|
|
4875
|
-
const
|
|
4876
|
-
function
|
|
4877
|
-
|
|
4902
|
+
const Ne = () => t(16, Te = !0), Ye = () => t(16, Te = !1);
|
|
4903
|
+
function Cr() {
|
|
4904
|
+
se = this.value, t(22, se);
|
|
4878
4905
|
}
|
|
4879
|
-
const
|
|
4880
|
-
function
|
|
4906
|
+
const Gr = () => t(14, R = !0), Ke = () => t(14, R = !1);
|
|
4907
|
+
function jr() {
|
|
4881
4908
|
V = this.value, t(23, V);
|
|
4882
4909
|
}
|
|
4883
|
-
const
|
|
4884
|
-
function
|
|
4885
|
-
|
|
4886
|
-
|
|
4910
|
+
const le = () => t(15, De = !0), Vr = () => t(15, De = !1), er = (p) => Ue(p);
|
|
4911
|
+
function $r(p) {
|
|
4912
|
+
Tr[p ? "unshift" : "push"](() => {
|
|
4913
|
+
W = p, t(3, W);
|
|
4887
4914
|
});
|
|
4888
4915
|
}
|
|
4889
4916
|
return e.$$set = (p) => {
|
|
4890
4917
|
"lang" in p && t(44, n = p.lang), "disabledfields" in p && t(45, s = p.disabledfields), "simplepasswordvalidation" in p && t(0, u = p.simplepasswordvalidation), "mbsource" in p && t(46, a = p.mbsource), "clientstyling" in p && t(47, f = p.clientstyling), "clientstylingurl" in p && t(48, c = p.clientstylingurl), "translationurl" in p && t(49, h = p.translationurl), "savecredentials" in p && t(1, m = p.savecredentials), "custominputtextswitch" in p && t(2, g = p.custominputtextswitch);
|
|
4891
4918
|
}, e.$$.update = () => {
|
|
4892
4919
|
e.$$.dirty[1] & /*lang*/
|
|
4893
|
-
8192 && n &&
|
|
4894
|
-
16384 && s &&
|
|
4895
|
-
1 && u &&
|
|
4920
|
+
8192 && n && ke(), e.$$.dirty[1] & /*disabledfields*/
|
|
4921
|
+
16384 && s && we(), e.$$.dirty[0] & /*simplepasswordvalidation*/
|
|
4922
|
+
1 && u && br(), e.$$.dirty[0] & /*customStylingContainer*/
|
|
4896
4923
|
8 | e.$$.dirty[1] & /*clientstyling*/
|
|
4897
|
-
65536 && f &&
|
|
4924
|
+
65536 && f && W && Gs(W, f), e.$$.dirty[0] & /*customStylingContainer*/
|
|
4898
4925
|
8 | e.$$.dirty[1] & /*clientstylingurl*/
|
|
4899
|
-
131072 && c &&
|
|
4926
|
+
131072 && c && W && js(W, c), e.$$.dirty[0] & /*customStylingContainer*/
|
|
4900
4927
|
8 | e.$$.dirty[1] & /*mbsource*/
|
|
4901
|
-
32768 && a &&
|
|
4902
|
-
262144 && h &&
|
|
4928
|
+
32768 && a && W && Vs(W, `${a}.Style`, mr), e.$$.dirty[1] & /*translationurl*/
|
|
4929
|
+
262144 && h && je();
|
|
4903
4930
|
}, [
|
|
4904
4931
|
u,
|
|
4905
4932
|
m,
|
|
4906
4933
|
g,
|
|
4907
|
-
|
|
4934
|
+
W,
|
|
4908
4935
|
b,
|
|
4909
4936
|
w,
|
|
4910
4937
|
y,
|
|
4911
4938
|
A,
|
|
4912
|
-
|
|
4939
|
+
B,
|
|
4940
|
+
L,
|
|
4913
4941
|
M,
|
|
4914
|
-
R,
|
|
4915
4942
|
ce,
|
|
4916
4943
|
G,
|
|
4917
|
-
|
|
4918
|
-
|
|
4944
|
+
ge,
|
|
4945
|
+
R,
|
|
4946
|
+
De,
|
|
4947
|
+
Te,
|
|
4919
4948
|
Ge,
|
|
4920
|
-
|
|
4921
|
-
|
|
4922
|
-
k,
|
|
4923
|
-
X,
|
|
4949
|
+
U,
|
|
4950
|
+
Z,
|
|
4924
4951
|
he,
|
|
4925
|
-
|
|
4926
|
-
|
|
4952
|
+
pe,
|
|
4953
|
+
se,
|
|
4927
4954
|
V,
|
|
4928
|
-
Te,
|
|
4929
|
-
F,
|
|
4930
|
-
xe,
|
|
4931
4955
|
He,
|
|
4932
|
-
|
|
4956
|
+
k,
|
|
4957
|
+
Ce,
|
|
4958
|
+
Be,
|
|
4933
4959
|
Ee,
|
|
4960
|
+
ve,
|
|
4934
4961
|
i,
|
|
4962
|
+
gr,
|
|
4963
|
+
pr,
|
|
4964
|
+
Ve,
|
|
4935
4965
|
Le,
|
|
4936
4966
|
Me,
|
|
4937
|
-
|
|
4938
|
-
|
|
4939
|
-
|
|
4940
|
-
Ue,
|
|
4941
|
-
gr,
|
|
4967
|
+
yr,
|
|
4968
|
+
j,
|
|
4969
|
+
vr,
|
|
4942
4970
|
ze,
|
|
4943
|
-
|
|
4944
|
-
|
|
4945
|
-
$,
|
|
4946
|
-
br,
|
|
4971
|
+
z,
|
|
4972
|
+
wr,
|
|
4947
4973
|
Qe,
|
|
4974
|
+
Ue,
|
|
4948
4975
|
n,
|
|
4949
4976
|
s,
|
|
4950
4977
|
a,
|
|
4951
4978
|
f,
|
|
4952
4979
|
c,
|
|
4953
4980
|
h,
|
|
4954
|
-
Fe,
|
|
4955
4981
|
Xe,
|
|
4956
|
-
|
|
4957
|
-
Nr,
|
|
4982
|
+
Sr,
|
|
4958
4983
|
Or,
|
|
4959
|
-
se,
|
|
4960
4984
|
Lr,
|
|
4961
|
-
|
|
4985
|
+
oe,
|
|
4962
4986
|
Mr,
|
|
4987
|
+
Ze,
|
|
4988
|
+
Rr,
|
|
4963
4989
|
fe,
|
|
4964
4990
|
Ie,
|
|
4965
4991
|
We,
|
|
4966
|
-
|
|
4967
|
-
Rr,
|
|
4968
|
-
qe,
|
|
4992
|
+
Pr,
|
|
4969
4993
|
Ur,
|
|
4970
|
-
|
|
4994
|
+
qe,
|
|
4971
4995
|
kr,
|
|
4972
|
-
|
|
4996
|
+
ae,
|
|
4973
4997
|
Fr,
|
|
4998
|
+
Je,
|
|
4999
|
+
Dr,
|
|
4974
5000
|
de,
|
|
4975
5001
|
Ne,
|
|
4976
5002
|
Ye,
|
|
4977
|
-
|
|
4978
|
-
Dr,
|
|
4979
|
-
Ke,
|
|
5003
|
+
Cr,
|
|
4980
5004
|
Gr,
|
|
4981
|
-
|
|
5005
|
+
Ke,
|
|
4982
5006
|
jr,
|
|
4983
|
-
|
|
5007
|
+
le,
|
|
5008
|
+
Vr,
|
|
5009
|
+
er,
|
|
5010
|
+
$r
|
|
4984
5011
|
];
|
|
4985
5012
|
}
|
|
4986
|
-
class
|
|
5013
|
+
class Ks extends Wi {
|
|
4987
5014
|
constructor(r) {
|
|
4988
|
-
super(),
|
|
5015
|
+
super(), Xi(
|
|
4989
5016
|
this,
|
|
4990
5017
|
r,
|
|
4991
|
-
|
|
4992
|
-
|
|
4993
|
-
|
|
5018
|
+
Ys,
|
|
5019
|
+
Js,
|
|
5020
|
+
ti,
|
|
4994
5021
|
{
|
|
4995
5022
|
lang: 44,
|
|
4996
5023
|
disabledfields: 45,
|
|
@@ -5002,7 +5029,7 @@ class qs extends Zi {
|
|
|
5002
5029
|
savecredentials: 1,
|
|
5003
5030
|
custominputtextswitch: 2
|
|
5004
5031
|
},
|
|
5005
|
-
|
|
5032
|
+
Qs,
|
|
5006
5033
|
[-1, -1, -1, -1]
|
|
5007
5034
|
);
|
|
5008
5035
|
}
|
|
@@ -5010,58 +5037,58 @@ class qs extends Zi {
|
|
|
5010
5037
|
return this.$$.ctx[44];
|
|
5011
5038
|
}
|
|
5012
5039
|
set lang(r) {
|
|
5013
|
-
this.$$set({ lang: r }),
|
|
5040
|
+
this.$$set({ lang: r }), ye();
|
|
5014
5041
|
}
|
|
5015
5042
|
get disabledfields() {
|
|
5016
5043
|
return this.$$.ctx[45];
|
|
5017
5044
|
}
|
|
5018
5045
|
set disabledfields(r) {
|
|
5019
|
-
this.$$set({ disabledfields: r }),
|
|
5046
|
+
this.$$set({ disabledfields: r }), ye();
|
|
5020
5047
|
}
|
|
5021
5048
|
get simplepasswordvalidation() {
|
|
5022
5049
|
return this.$$.ctx[0];
|
|
5023
5050
|
}
|
|
5024
5051
|
set simplepasswordvalidation(r) {
|
|
5025
|
-
this.$$set({ simplepasswordvalidation: r }),
|
|
5052
|
+
this.$$set({ simplepasswordvalidation: r }), ye();
|
|
5026
5053
|
}
|
|
5027
5054
|
get mbsource() {
|
|
5028
5055
|
return this.$$.ctx[46];
|
|
5029
5056
|
}
|
|
5030
5057
|
set mbsource(r) {
|
|
5031
|
-
this.$$set({ mbsource: r }),
|
|
5058
|
+
this.$$set({ mbsource: r }), ye();
|
|
5032
5059
|
}
|
|
5033
5060
|
get clientstyling() {
|
|
5034
5061
|
return this.$$.ctx[47];
|
|
5035
5062
|
}
|
|
5036
5063
|
set clientstyling(r) {
|
|
5037
|
-
this.$$set({ clientstyling: r }),
|
|
5064
|
+
this.$$set({ clientstyling: r }), ye();
|
|
5038
5065
|
}
|
|
5039
5066
|
get clientstylingurl() {
|
|
5040
5067
|
return this.$$.ctx[48];
|
|
5041
5068
|
}
|
|
5042
5069
|
set clientstylingurl(r) {
|
|
5043
|
-
this.$$set({ clientstylingurl: r }),
|
|
5070
|
+
this.$$set({ clientstylingurl: r }), ye();
|
|
5044
5071
|
}
|
|
5045
5072
|
get translationurl() {
|
|
5046
5073
|
return this.$$.ctx[49];
|
|
5047
5074
|
}
|
|
5048
5075
|
set translationurl(r) {
|
|
5049
|
-
this.$$set({ translationurl: r }),
|
|
5076
|
+
this.$$set({ translationurl: r }), ye();
|
|
5050
5077
|
}
|
|
5051
5078
|
get savecredentials() {
|
|
5052
5079
|
return this.$$.ctx[1];
|
|
5053
5080
|
}
|
|
5054
5081
|
set savecredentials(r) {
|
|
5055
|
-
this.$$set({ savecredentials: r }),
|
|
5082
|
+
this.$$set({ savecredentials: r }), ye();
|
|
5056
5083
|
}
|
|
5057
5084
|
get custominputtextswitch() {
|
|
5058
5085
|
return this.$$.ctx[2];
|
|
5059
5086
|
}
|
|
5060
5087
|
set custominputtextswitch(r) {
|
|
5061
|
-
this.$$set({ custominputtextswitch: r }),
|
|
5088
|
+
this.$$set({ custominputtextswitch: r }), ye();
|
|
5062
5089
|
}
|
|
5063
5090
|
}
|
|
5064
|
-
|
|
5091
|
+
Zi(Ks, { lang: {}, disabledfields: {}, simplepasswordvalidation: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, savecredentials: {}, custominputtextswitch: {} }, [], [], !0);
|
|
5065
5092
|
export {
|
|
5066
|
-
|
|
5093
|
+
Ks as G
|
|
5067
5094
|
};
|