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