@everymatrix/general-player-register-form-step1 1.77.19 → 1.77.20
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-BGNJ1Tpn.js → GeneralPlayerRegisterFormStep1-21letT_w.js} +803 -809
- package/components/GeneralPlayerRegisterFormStep1-CRq7lYkO.cjs +16 -0
- package/components/{GeneralPlayerRegisterFormStep1-CCtaghRj.js → GeneralPlayerRegisterFormStep1-DI4oc2Z2.js} +829 -835
- 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,17 +1,17 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
1
|
+
var Di = Object.defineProperty, Gi = Object.defineProperties;
|
|
2
|
+
var ji = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var kt = Object.getOwnPropertySymbols;
|
|
4
|
+
var Vi = Object.prototype.hasOwnProperty, $i = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var ht = (e, r, t) => r in e ? Di(e, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[r] = t, Ft = (e, r) => {
|
|
6
6
|
for (var t in r || (r = {}))
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var t of
|
|
10
|
-
|
|
7
|
+
Vi.call(r, t) && ht(e, t, r[t]);
|
|
8
|
+
if (kt)
|
|
9
|
+
for (var t of kt(r))
|
|
10
|
+
$i.call(r, t) && ht(e, t, r[t]);
|
|
11
11
|
return e;
|
|
12
|
-
},
|
|
13
|
-
var me = (e, r, t) => (
|
|
14
|
-
var
|
|
12
|
+
}, Dt = (e, r) => Gi(e, ji(r));
|
|
13
|
+
var me = (e, r, t) => (ht(e, typeof r != "symbol" ? r + "" : r, t), t);
|
|
14
|
+
var Gt = (e, r, t) => new Promise((i, n) => {
|
|
15
15
|
var s = (h) => {
|
|
16
16
|
try {
|
|
17
17
|
l(t.next(h));
|
|
@@ -29,25 +29,25 @@ var Vt = (e, r, t) => new Promise((i, n) => {
|
|
|
29
29
|
});
|
|
30
30
|
function z() {
|
|
31
31
|
}
|
|
32
|
-
function
|
|
32
|
+
function fi(e) {
|
|
33
33
|
return e();
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function jt() {
|
|
36
36
|
return /* @__PURE__ */ Object.create(null);
|
|
37
37
|
}
|
|
38
|
-
function
|
|
39
|
-
e.forEach(
|
|
38
|
+
function ur(e) {
|
|
39
|
+
e.forEach(fi);
|
|
40
40
|
}
|
|
41
|
-
function
|
|
41
|
+
function Bt(e) {
|
|
42
42
|
return typeof e == "function";
|
|
43
43
|
}
|
|
44
|
-
function
|
|
44
|
+
function di(e, r) {
|
|
45
45
|
return e != e ? r == r : e !== r || e && typeof e == "object" || typeof e == "function";
|
|
46
46
|
}
|
|
47
|
-
function
|
|
47
|
+
function Qi(e) {
|
|
48
48
|
return Object.keys(e).length === 0;
|
|
49
49
|
}
|
|
50
|
-
function
|
|
50
|
+
function mi(e, ...r) {
|
|
51
51
|
if (e == null) {
|
|
52
52
|
for (const i of r)
|
|
53
53
|
i(void 0);
|
|
@@ -56,20 +56,20 @@ function pi(e, ...r) {
|
|
|
56
56
|
const t = e.subscribe(...r);
|
|
57
57
|
return t.unsubscribe ? () => t.unsubscribe() : t;
|
|
58
58
|
}
|
|
59
|
-
function
|
|
60
|
-
e.$$.on_destroy.push(
|
|
59
|
+
function zi(e, r, t) {
|
|
60
|
+
e.$$.on_destroy.push(mi(r, t));
|
|
61
61
|
}
|
|
62
62
|
function u(e, r) {
|
|
63
63
|
e.appendChild(r);
|
|
64
64
|
}
|
|
65
|
-
function
|
|
66
|
-
const i =
|
|
65
|
+
function Xi(e, r, t) {
|
|
66
|
+
const i = Zi(e);
|
|
67
67
|
if (!i.getElementById(r)) {
|
|
68
68
|
const n = v("style");
|
|
69
|
-
n.id = r, n.textContent = t,
|
|
69
|
+
n.id = r, n.textContent = t, Wi(i, n);
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
|
-
function
|
|
72
|
+
function Zi(e) {
|
|
73
73
|
if (!e)
|
|
74
74
|
return document;
|
|
75
75
|
const r = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -79,7 +79,7 @@ function qi(e) {
|
|
|
79
79
|
r
|
|
80
80
|
) : e.ownerDocument;
|
|
81
81
|
}
|
|
82
|
-
function
|
|
82
|
+
function Wi(e, r) {
|
|
83
83
|
return u(
|
|
84
84
|
/** @type {Document} */
|
|
85
85
|
e.head || e,
|
|
@@ -95,14 +95,14 @@ function ie(e) {
|
|
|
95
95
|
function v(e) {
|
|
96
96
|
return document.createElement(e);
|
|
97
97
|
}
|
|
98
|
-
function
|
|
98
|
+
function _(e) {
|
|
99
99
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
100
100
|
}
|
|
101
|
-
function
|
|
101
|
+
function H(e) {
|
|
102
102
|
return document.createTextNode(e);
|
|
103
103
|
}
|
|
104
|
-
function
|
|
105
|
-
return
|
|
104
|
+
function I() {
|
|
105
|
+
return H(" ");
|
|
106
106
|
}
|
|
107
107
|
function x(e, r, t, i) {
|
|
108
108
|
return e.addEventListener(r, t, i), () => e.removeEventListener(r, t, i);
|
|
@@ -110,7 +110,7 @@ function x(e, r, t, i) {
|
|
|
110
110
|
function o(e, r, t) {
|
|
111
111
|
t == null ? e.removeAttribute(r) : e.getAttribute(r) !== t && e.setAttribute(r, t);
|
|
112
112
|
}
|
|
113
|
-
function
|
|
113
|
+
function qi(e) {
|
|
114
114
|
return Array.from(e.childNodes);
|
|
115
115
|
}
|
|
116
116
|
function D(e, r) {
|
|
@@ -120,7 +120,7 @@ function D(e, r) {
|
|
|
120
120
|
function te(e, r) {
|
|
121
121
|
e.value = r == null ? "" : r;
|
|
122
122
|
}
|
|
123
|
-
function
|
|
123
|
+
function Ji(e) {
|
|
124
124
|
const r = {};
|
|
125
125
|
return e.childNodes.forEach(
|
|
126
126
|
/** @param {Element} node */
|
|
@@ -129,87 +129,87 @@ function Ki(e) {
|
|
|
129
129
|
}
|
|
130
130
|
), r;
|
|
131
131
|
}
|
|
132
|
-
let
|
|
133
|
-
function
|
|
134
|
-
|
|
132
|
+
let Br;
|
|
133
|
+
function Tr(e) {
|
|
134
|
+
Br = e;
|
|
135
135
|
}
|
|
136
|
-
function
|
|
137
|
-
if (!
|
|
136
|
+
function Yi() {
|
|
137
|
+
if (!Br)
|
|
138
138
|
throw new Error("Function called outside component initialization");
|
|
139
|
-
return
|
|
139
|
+
return Br;
|
|
140
140
|
}
|
|
141
|
-
function
|
|
142
|
-
|
|
141
|
+
function Ki(e) {
|
|
142
|
+
Yi().$$.on_mount.push(e);
|
|
143
143
|
}
|
|
144
|
-
const
|
|
145
|
-
let
|
|
146
|
-
const
|
|
147
|
-
let
|
|
148
|
-
function
|
|
149
|
-
|
|
144
|
+
const ir = [], Hr = [];
|
|
145
|
+
let nr = [];
|
|
146
|
+
const Vt = [], en = /* @__PURE__ */ Promise.resolve();
|
|
147
|
+
let Et = !1;
|
|
148
|
+
function rn() {
|
|
149
|
+
Et || (Et = !0, en.then(ye));
|
|
150
150
|
}
|
|
151
|
-
function
|
|
152
|
-
|
|
151
|
+
function vt(e) {
|
|
152
|
+
nr.push(e);
|
|
153
153
|
}
|
|
154
|
-
const
|
|
155
|
-
let
|
|
154
|
+
const ft = /* @__PURE__ */ new Set();
|
|
155
|
+
let rr = 0;
|
|
156
156
|
function ye() {
|
|
157
|
-
if (
|
|
157
|
+
if (rr !== 0)
|
|
158
158
|
return;
|
|
159
|
-
const e =
|
|
159
|
+
const e = Br;
|
|
160
160
|
do {
|
|
161
161
|
try {
|
|
162
|
-
for (;
|
|
163
|
-
const r =
|
|
164
|
-
|
|
162
|
+
for (; rr < ir.length; ) {
|
|
163
|
+
const r = ir[rr];
|
|
164
|
+
rr++, Tr(r), tn(r.$$);
|
|
165
165
|
}
|
|
166
166
|
} catch (r) {
|
|
167
|
-
throw
|
|
167
|
+
throw ir.length = 0, rr = 0, r;
|
|
168
168
|
}
|
|
169
|
-
for (
|
|
170
|
-
|
|
171
|
-
for (let r = 0; r <
|
|
172
|
-
const t =
|
|
173
|
-
|
|
169
|
+
for (Tr(null), ir.length = 0, rr = 0; Hr.length; )
|
|
170
|
+
Hr.pop()();
|
|
171
|
+
for (let r = 0; r < nr.length; r += 1) {
|
|
172
|
+
const t = nr[r];
|
|
173
|
+
ft.has(t) || (ft.add(t), t());
|
|
174
174
|
}
|
|
175
|
-
|
|
176
|
-
} while (
|
|
177
|
-
for (;
|
|
178
|
-
|
|
179
|
-
|
|
175
|
+
nr.length = 0;
|
|
176
|
+
} while (ir.length);
|
|
177
|
+
for (; Vt.length; )
|
|
178
|
+
Vt.pop()();
|
|
179
|
+
Et = !1, ft.clear(), Tr(e);
|
|
180
180
|
}
|
|
181
|
-
function
|
|
181
|
+
function tn(e) {
|
|
182
182
|
if (e.fragment !== null) {
|
|
183
|
-
e.update(),
|
|
183
|
+
e.update(), ur(e.before_update);
|
|
184
184
|
const r = e.dirty;
|
|
185
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, r), e.after_update.forEach(
|
|
185
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, r), e.after_update.forEach(vt);
|
|
186
186
|
}
|
|
187
187
|
}
|
|
188
|
-
function
|
|
188
|
+
function nn(e) {
|
|
189
189
|
const r = [], t = [];
|
|
190
|
-
|
|
190
|
+
nr.forEach((i) => e.indexOf(i) === -1 ? r.push(i) : t.push(i)), t.forEach((i) => i()), nr = r;
|
|
191
191
|
}
|
|
192
|
-
const
|
|
193
|
-
function
|
|
194
|
-
e && e.i && (
|
|
192
|
+
const sn = /* @__PURE__ */ new Set();
|
|
193
|
+
function on(e, r) {
|
|
194
|
+
e && e.i && (sn.delete(e), e.i(r));
|
|
195
195
|
}
|
|
196
|
-
function
|
|
196
|
+
function an(e, r, t) {
|
|
197
197
|
const { fragment: i, after_update: n } = e.$$;
|
|
198
|
-
i && i.m(r, t),
|
|
199
|
-
const s = e.$$.on_mount.map(
|
|
200
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...s) :
|
|
201
|
-
}), n.forEach(
|
|
198
|
+
i && i.m(r, t), vt(() => {
|
|
199
|
+
const s = e.$$.on_mount.map(fi).filter(Bt);
|
|
200
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : ur(s), e.$$.on_mount = [];
|
|
201
|
+
}), n.forEach(vt);
|
|
202
202
|
}
|
|
203
|
-
function
|
|
203
|
+
function ln(e, r) {
|
|
204
204
|
const t = e.$$;
|
|
205
|
-
t.fragment !== null && (
|
|
205
|
+
t.fragment !== null && (nn(t.after_update), ur(t.on_destroy), t.fragment && t.fragment.d(r), t.on_destroy = t.fragment = null, t.ctx = []);
|
|
206
206
|
}
|
|
207
|
-
function
|
|
208
|
-
e.$$.dirty[0] === -1 && (
|
|
207
|
+
function un(e, r) {
|
|
208
|
+
e.$$.dirty[0] === -1 && (ir.push(e), rn(), e.$$.dirty.fill(0)), e.$$.dirty[r / 31 | 0] |= 1 << r % 31;
|
|
209
209
|
}
|
|
210
|
-
function
|
|
211
|
-
const h =
|
|
212
|
-
|
|
210
|
+
function cn(e, r, t, i, n, s, a = null, l = [-1]) {
|
|
211
|
+
const h = Br;
|
|
212
|
+
Tr(e);
|
|
213
213
|
const c = e.$$ = {
|
|
214
214
|
fragment: null,
|
|
215
215
|
ctx: [],
|
|
@@ -217,7 +217,7 @@ function fn(e, r, t, i, n, s, a = null, l = [-1]) {
|
|
|
217
217
|
props: s,
|
|
218
218
|
update: z,
|
|
219
219
|
not_equal: n,
|
|
220
|
-
bound:
|
|
220
|
+
bound: jt(),
|
|
221
221
|
// lifecycle
|
|
222
222
|
on_mount: [],
|
|
223
223
|
on_destroy: [],
|
|
@@ -226,7 +226,7 @@ function fn(e, r, t, i, n, s, a = null, l = [-1]) {
|
|
|
226
226
|
after_update: [],
|
|
227
227
|
context: new Map(r.context || (h ? h.$$.context : [])),
|
|
228
228
|
// everything else
|
|
229
|
-
callbacks:
|
|
229
|
+
callbacks: jt(),
|
|
230
230
|
dirty: l,
|
|
231
231
|
skip_bound: !1,
|
|
232
232
|
root: r.target || h.$$.root
|
|
@@ -234,20 +234,20 @@ function fn(e, r, t, i, n, s, a = null, l = [-1]) {
|
|
|
234
234
|
a && a(c.root);
|
|
235
235
|
let f = !1;
|
|
236
236
|
if (c.ctx = t ? t(e, r.props || {}, (m, g, ...b) => {
|
|
237
|
-
const
|
|
238
|
-
return c.ctx && n(c.ctx[m], c.ctx[m] =
|
|
239
|
-
}) : [], c.update(), f = !0,
|
|
237
|
+
const w = b.length ? b[0] : g;
|
|
238
|
+
return c.ctx && n(c.ctx[m], c.ctx[m] = w) && (!c.skip_bound && c.bound[m] && c.bound[m](w), f && un(e, m)), g;
|
|
239
|
+
}) : [], c.update(), f = !0, ur(c.before_update), c.fragment = i ? i(c.ctx) : !1, r.target) {
|
|
240
240
|
if (r.hydrate) {
|
|
241
|
-
const m =
|
|
241
|
+
const m = qi(r.target);
|
|
242
242
|
c.fragment && c.fragment.l(m), m.forEach(ie);
|
|
243
243
|
} else
|
|
244
244
|
c.fragment && c.fragment.c();
|
|
245
|
-
r.intro &&
|
|
245
|
+
r.intro && on(e.$$.fragment), an(e, r.target, r.anchor), ye();
|
|
246
246
|
}
|
|
247
|
-
|
|
247
|
+
Tr(h);
|
|
248
248
|
}
|
|
249
|
-
let
|
|
250
|
-
typeof HTMLElement == "function" && (
|
|
249
|
+
let gi;
|
|
250
|
+
typeof HTMLElement == "function" && (gi = class extends HTMLElement {
|
|
251
251
|
constructor(r, t, i) {
|
|
252
252
|
super();
|
|
253
253
|
/** The Svelte component constructor */
|
|
@@ -284,7 +284,7 @@ typeof HTMLElement == "function" && (bi = class extends HTMLElement {
|
|
|
284
284
|
}
|
|
285
285
|
}
|
|
286
286
|
connectedCallback() {
|
|
287
|
-
return
|
|
287
|
+
return Gt(this, null, function* () {
|
|
288
288
|
if (this.$$cn = !0, !this.$$c) {
|
|
289
289
|
let r = function(s) {
|
|
290
290
|
return () => {
|
|
@@ -308,18 +308,18 @@ typeof HTMLElement == "function" && (bi = class extends HTMLElement {
|
|
|
308
308
|
};
|
|
309
309
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
310
310
|
return;
|
|
311
|
-
const t = {}, i =
|
|
311
|
+
const t = {}, i = Ji(this);
|
|
312
312
|
for (const s of this.$$s)
|
|
313
313
|
s in i && (t[s] = [r(s)]);
|
|
314
314
|
for (const s of this.attributes) {
|
|
315
315
|
const a = this.$$g_p(s.name);
|
|
316
|
-
a in this.$$d || (this.$$d[a] =
|
|
316
|
+
a in this.$$d || (this.$$d[a] = Kr(a, s.value, this.$$p_d, "toProp"));
|
|
317
317
|
}
|
|
318
318
|
for (const s in this.$$p_d)
|
|
319
319
|
!(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
|
|
320
320
|
this.$$c = new this.$$ctor({
|
|
321
321
|
target: this.shadowRoot || this,
|
|
322
|
-
props:
|
|
322
|
+
props: Dt(Ft({}, this.$$d), {
|
|
323
323
|
$$slots: t,
|
|
324
324
|
$$scope: {
|
|
325
325
|
ctx: []
|
|
@@ -330,7 +330,7 @@ typeof HTMLElement == "function" && (bi = class extends HTMLElement {
|
|
|
330
330
|
this.$$r = !0;
|
|
331
331
|
for (const s in this.$$p_d)
|
|
332
332
|
if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
|
|
333
|
-
const a =
|
|
333
|
+
const a = Kr(
|
|
334
334
|
s,
|
|
335
335
|
this.$$d[s],
|
|
336
336
|
this.$$p_d,
|
|
@@ -354,7 +354,7 @@ typeof HTMLElement == "function" && (bi = class extends HTMLElement {
|
|
|
354
354
|
// and setting attributes through setAttribute etc, this is helpful
|
|
355
355
|
attributeChangedCallback(r, t, i) {
|
|
356
356
|
var n;
|
|
357
|
-
this.$$r || (r = this.$$g_p(r), this.$$d[r] =
|
|
357
|
+
this.$$r || (r = this.$$g_p(r), this.$$d[r] = Kr(r, i, this.$$p_d, "toProp"), (n = this.$$c) == null || n.$set({ [r]: this.$$d[r] }));
|
|
358
358
|
}
|
|
359
359
|
disconnectedCallback() {
|
|
360
360
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -367,7 +367,7 @@ typeof HTMLElement == "function" && (bi = class extends HTMLElement {
|
|
|
367
367
|
) || r;
|
|
368
368
|
}
|
|
369
369
|
});
|
|
370
|
-
function
|
|
370
|
+
function Kr(e, r, t, i) {
|
|
371
371
|
var s;
|
|
372
372
|
const n = (s = t[e]) == null ? void 0 : s.type;
|
|
373
373
|
if (r = n === "Boolean" && typeof r != "boolean" ? r != null : r, !i || !t[e])
|
|
@@ -397,8 +397,8 @@ function et(e, r, t, i) {
|
|
|
397
397
|
return r;
|
|
398
398
|
}
|
|
399
399
|
}
|
|
400
|
-
function
|
|
401
|
-
let a = class extends
|
|
400
|
+
function hn(e, r, t, i, n, s) {
|
|
401
|
+
let a = class extends gi {
|
|
402
402
|
constructor() {
|
|
403
403
|
super(e, t, n), this.$$p_d = r;
|
|
404
404
|
}
|
|
@@ -415,7 +415,7 @@ function dn(e, r, t, i, n, s) {
|
|
|
415
415
|
},
|
|
416
416
|
set(h) {
|
|
417
417
|
var c;
|
|
418
|
-
h =
|
|
418
|
+
h = Kr(l, h, r), this.$$d[l] = h, (c = this.$$c) == null || c.$set({ [l]: h });
|
|
419
419
|
}
|
|
420
420
|
});
|
|
421
421
|
}), i.forEach((l) => {
|
|
@@ -428,7 +428,7 @@ function dn(e, r, t, i, n, s) {
|
|
|
428
428
|
}), e.element = /** @type {any} */
|
|
429
429
|
a, a;
|
|
430
430
|
}
|
|
431
|
-
class
|
|
431
|
+
class fn {
|
|
432
432
|
constructor() {
|
|
433
433
|
/**
|
|
434
434
|
* ### PRIVATE API
|
|
@@ -449,7 +449,7 @@ class mn {
|
|
|
449
449
|
}
|
|
450
450
|
/** @returns {void} */
|
|
451
451
|
$destroy() {
|
|
452
|
-
|
|
452
|
+
ln(this, 1), this.$destroy = z;
|
|
453
453
|
}
|
|
454
454
|
/**
|
|
455
455
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -458,7 +458,7 @@ class mn {
|
|
|
458
458
|
* @returns {() => void}
|
|
459
459
|
*/
|
|
460
460
|
$on(r, t) {
|
|
461
|
-
if (!
|
|
461
|
+
if (!Bt(t))
|
|
462
462
|
return z;
|
|
463
463
|
const i = this.$$.callbacks[r] || (this.$$.callbacks[r] = []);
|
|
464
464
|
return i.push(t), () => {
|
|
@@ -471,29 +471,29 @@ class mn {
|
|
|
471
471
|
* @returns {void}
|
|
472
472
|
*/
|
|
473
473
|
$set(r) {
|
|
474
|
-
this.$$set && !
|
|
474
|
+
this.$$set && !Qi(r) && (this.$$.skip_bound = !0, this.$$set(r), this.$$.skip_bound = !1);
|
|
475
475
|
}
|
|
476
476
|
}
|
|
477
|
-
const
|
|
478
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
479
|
-
const
|
|
480
|
-
function
|
|
477
|
+
const dn = "4";
|
|
478
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(dn);
|
|
479
|
+
const tr = [];
|
|
480
|
+
function mn(e, r) {
|
|
481
481
|
return {
|
|
482
|
-
subscribe:
|
|
482
|
+
subscribe: nt(e, r).subscribe
|
|
483
483
|
};
|
|
484
484
|
}
|
|
485
|
-
function
|
|
485
|
+
function nt(e, r = z) {
|
|
486
486
|
let t;
|
|
487
487
|
const i = /* @__PURE__ */ new Set();
|
|
488
488
|
function n(l) {
|
|
489
|
-
if (
|
|
490
|
-
const h = !
|
|
489
|
+
if (di(e, l) && (e = l, t)) {
|
|
490
|
+
const h = !tr.length;
|
|
491
491
|
for (const c of i)
|
|
492
|
-
c[1](),
|
|
492
|
+
c[1](), tr.push(c, e);
|
|
493
493
|
if (h) {
|
|
494
|
-
for (let c = 0; c <
|
|
495
|
-
|
|
496
|
-
|
|
494
|
+
for (let c = 0; c < tr.length; c += 2)
|
|
495
|
+
tr[c][0](tr[c + 1]);
|
|
496
|
+
tr.length = 0;
|
|
497
497
|
}
|
|
498
498
|
}
|
|
499
499
|
}
|
|
@@ -508,12 +508,12 @@ function ot(e, r = z) {
|
|
|
508
508
|
}
|
|
509
509
|
return { set: n, update: s, subscribe: a };
|
|
510
510
|
}
|
|
511
|
-
function
|
|
511
|
+
function cr(e, r, t) {
|
|
512
512
|
const i = !Array.isArray(e), n = i ? [e] : e;
|
|
513
513
|
if (!n.every(Boolean))
|
|
514
514
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
515
515
|
const s = r.length < 2;
|
|
516
|
-
return
|
|
516
|
+
return mn(t, (a, l) => {
|
|
517
517
|
let h = !1;
|
|
518
518
|
const c = [];
|
|
519
519
|
let f = 0, m = z;
|
|
@@ -521,11 +521,11 @@ function hr(e, r, t) {
|
|
|
521
521
|
if (f)
|
|
522
522
|
return;
|
|
523
523
|
m();
|
|
524
|
-
const
|
|
525
|
-
s ? a(
|
|
524
|
+
const w = r(i ? c[0] : c, a, l);
|
|
525
|
+
s ? a(w) : m = Bt(w) ? w : z;
|
|
526
526
|
}, b = n.map(
|
|
527
|
-
(
|
|
528
|
-
|
|
527
|
+
(w, E) => mi(
|
|
528
|
+
w,
|
|
529
529
|
(A) => {
|
|
530
530
|
c[E] = A, f &= ~(1 << E), h && g();
|
|
531
531
|
},
|
|
@@ -535,112 +535,126 @@ function hr(e, r, t) {
|
|
|
535
535
|
)
|
|
536
536
|
);
|
|
537
537
|
return h = !0, g(), function() {
|
|
538
|
-
|
|
538
|
+
ur(b), m(), h = !1;
|
|
539
539
|
};
|
|
540
540
|
});
|
|
541
541
|
}
|
|
542
|
-
function
|
|
542
|
+
function gn(e) {
|
|
543
543
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
544
544
|
}
|
|
545
|
-
var
|
|
546
|
-
return
|
|
545
|
+
var pn = function(r) {
|
|
546
|
+
return bn(r) && !yn(r);
|
|
547
547
|
};
|
|
548
|
-
function
|
|
548
|
+
function bn(e) {
|
|
549
549
|
return !!e && typeof e == "object";
|
|
550
550
|
}
|
|
551
|
-
function
|
|
551
|
+
function yn(e) {
|
|
552
552
|
var r = Object.prototype.toString.call(e);
|
|
553
|
-
return r === "[object RegExp]" || r === "[object Date]" ||
|
|
553
|
+
return r === "[object RegExp]" || r === "[object Date]" || wn(e);
|
|
554
554
|
}
|
|
555
|
-
var
|
|
556
|
-
function
|
|
557
|
-
return e.$$typeof ===
|
|
555
|
+
var En = typeof Symbol == "function" && Symbol.for, vn = En ? Symbol.for("react.element") : 60103;
|
|
556
|
+
function wn(e) {
|
|
557
|
+
return e.$$typeof === vn;
|
|
558
558
|
}
|
|
559
|
-
function
|
|
559
|
+
function _n(e) {
|
|
560
560
|
return Array.isArray(e) ? [] : {};
|
|
561
561
|
}
|
|
562
|
-
function
|
|
563
|
-
return r.clone !== !1 && r.isMergeableObject(e) ?
|
|
562
|
+
function Ir(e, r) {
|
|
563
|
+
return r.clone !== !1 && r.isMergeableObject(e) ? sr(_n(e), e, r) : e;
|
|
564
564
|
}
|
|
565
|
-
function
|
|
565
|
+
function Sn(e, r, t) {
|
|
566
566
|
return e.concat(r).map(function(i) {
|
|
567
|
-
return
|
|
567
|
+
return Ir(i, t);
|
|
568
568
|
});
|
|
569
569
|
}
|
|
570
|
-
function
|
|
570
|
+
function Pn(e, r) {
|
|
571
571
|
if (!r.customMerge)
|
|
572
|
-
return
|
|
572
|
+
return sr;
|
|
573
573
|
var t = r.customMerge(e);
|
|
574
|
-
return typeof t == "function" ? t :
|
|
574
|
+
return typeof t == "function" ? t : sr;
|
|
575
575
|
}
|
|
576
|
-
function
|
|
576
|
+
function xn(e) {
|
|
577
577
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(r) {
|
|
578
578
|
return Object.propertyIsEnumerable.call(e, r);
|
|
579
579
|
}) : [];
|
|
580
580
|
}
|
|
581
|
-
function
|
|
582
|
-
return Object.keys(e).concat(
|
|
581
|
+
function $t(e) {
|
|
582
|
+
return Object.keys(e).concat(xn(e));
|
|
583
583
|
}
|
|
584
|
-
function
|
|
584
|
+
function pi(e, r) {
|
|
585
585
|
try {
|
|
586
586
|
return r in e;
|
|
587
587
|
} catch (t) {
|
|
588
588
|
return !1;
|
|
589
589
|
}
|
|
590
590
|
}
|
|
591
|
-
function
|
|
592
|
-
return
|
|
591
|
+
function Cn(e, r) {
|
|
592
|
+
return pi(e, r) && !(Object.hasOwnProperty.call(e, r) && Object.propertyIsEnumerable.call(e, r));
|
|
593
593
|
}
|
|
594
|
-
function
|
|
594
|
+
function An(e, r, t) {
|
|
595
595
|
var i = {};
|
|
596
|
-
return t.isMergeableObject(e) &&
|
|
597
|
-
i[n] =
|
|
598
|
-
}),
|
|
599
|
-
|
|
596
|
+
return t.isMergeableObject(e) && $t(e).forEach(function(n) {
|
|
597
|
+
i[n] = Ir(e[n], t);
|
|
598
|
+
}), $t(r).forEach(function(n) {
|
|
599
|
+
Cn(e, n) || (pi(e, n) && t.isMergeableObject(r[n]) ? i[n] = Pn(n, t)(e[n], r[n], t) : i[n] = Ir(r[n], t));
|
|
600
600
|
}), i;
|
|
601
601
|
}
|
|
602
|
-
function
|
|
603
|
-
t = t || {}, t.arrayMerge = t.arrayMerge ||
|
|
602
|
+
function sr(e, r, t) {
|
|
603
|
+
t = t || {}, t.arrayMerge = t.arrayMerge || Sn, t.isMergeableObject = t.isMergeableObject || pn, t.cloneUnlessOtherwiseSpecified = Ir;
|
|
604
604
|
var i = Array.isArray(r), n = Array.isArray(e), s = i === n;
|
|
605
|
-
return s ? i ? t.arrayMerge(e, r, t) :
|
|
605
|
+
return s ? i ? t.arrayMerge(e, r, t) : An(e, r, t) : Ir(r, t);
|
|
606
606
|
}
|
|
607
|
-
|
|
607
|
+
sr.all = function(r, t) {
|
|
608
608
|
if (!Array.isArray(r))
|
|
609
609
|
throw new Error("first argument should be an array");
|
|
610
610
|
return r.reduce(function(i, n) {
|
|
611
|
-
return
|
|
611
|
+
return sr(i, n, t);
|
|
612
612
|
}, {});
|
|
613
613
|
};
|
|
614
|
-
var
|
|
615
|
-
const
|
|
616
|
-
|
|
617
|
-
|
|
614
|
+
var Tn = sr, Hn = Tn;
|
|
615
|
+
const Bn = /* @__PURE__ */ gn(Hn);
|
|
616
|
+
/*! *****************************************************************************
|
|
617
|
+
Copyright (c) Microsoft Corporation.
|
|
618
|
+
|
|
619
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
620
|
+
purpose with or without fee is hereby granted.
|
|
621
|
+
|
|
622
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
623
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
624
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
625
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
626
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
627
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
628
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
629
|
+
***************************************************************************** */
|
|
630
|
+
var wt = function(e, r) {
|
|
631
|
+
return wt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(t, i) {
|
|
618
632
|
t.__proto__ = i;
|
|
619
633
|
} || function(t, i) {
|
|
620
634
|
for (var n in i)
|
|
621
635
|
Object.prototype.hasOwnProperty.call(i, n) && (t[n] = i[n]);
|
|
622
|
-
},
|
|
636
|
+
}, wt(e, r);
|
|
623
637
|
};
|
|
624
|
-
function
|
|
638
|
+
function st(e, r) {
|
|
625
639
|
if (typeof r != "function" && r !== null)
|
|
626
640
|
throw new TypeError("Class extends value " + String(r) + " is not a constructor or null");
|
|
627
|
-
|
|
641
|
+
wt(e, r);
|
|
628
642
|
function t() {
|
|
629
643
|
this.constructor = e;
|
|
630
644
|
}
|
|
631
645
|
e.prototype = r === null ? Object.create(r) : (t.prototype = r.prototype, new t());
|
|
632
646
|
}
|
|
633
|
-
var
|
|
634
|
-
return
|
|
647
|
+
var T = function() {
|
|
648
|
+
return T = Object.assign || function(r) {
|
|
635
649
|
for (var t, i = 1, n = arguments.length; i < n; i++) {
|
|
636
650
|
t = arguments[i];
|
|
637
651
|
for (var s in t)
|
|
638
652
|
Object.prototype.hasOwnProperty.call(t, s) && (r[s] = t[s]);
|
|
639
653
|
}
|
|
640
654
|
return r;
|
|
641
|
-
},
|
|
655
|
+
}, T.apply(this, arguments);
|
|
642
656
|
};
|
|
643
|
-
function
|
|
657
|
+
function In(e, r) {
|
|
644
658
|
var t = {};
|
|
645
659
|
for (var i in e)
|
|
646
660
|
Object.prototype.hasOwnProperty.call(e, i) && r.indexOf(i) < 0 && (t[i] = e[i]);
|
|
@@ -649,43 +663,43 @@ function On(e, r) {
|
|
|
649
663
|
r.indexOf(i[n]) < 0 && Object.prototype.propertyIsEnumerable.call(e, i[n]) && (t[i[n]] = e[i[n]]);
|
|
650
664
|
return t;
|
|
651
665
|
}
|
|
652
|
-
function
|
|
653
|
-
if (
|
|
666
|
+
function dt(e, r, t) {
|
|
667
|
+
if (arguments.length === 2)
|
|
654
668
|
for (var i = 0, n = r.length, s; i < n; i++)
|
|
655
669
|
(s || !(i in r)) && (s || (s = Array.prototype.slice.call(r, 0, i)), s[i] = r[i]);
|
|
656
|
-
return e.concat(s ||
|
|
670
|
+
return e.concat(s || r);
|
|
657
671
|
}
|
|
658
|
-
function
|
|
659
|
-
var t = r && r.cache ? r.cache :
|
|
672
|
+
function mt(e, r) {
|
|
673
|
+
var t = r && r.cache ? r.cache : kn, i = r && r.serializer ? r.serializer : Rn, n = r && r.strategy ? r.strategy : Ln;
|
|
660
674
|
return n(e, {
|
|
661
675
|
cache: t,
|
|
662
676
|
serializer: i
|
|
663
677
|
});
|
|
664
678
|
}
|
|
665
|
-
function
|
|
679
|
+
function Nn(e) {
|
|
666
680
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
667
681
|
}
|
|
668
|
-
function
|
|
669
|
-
var n =
|
|
682
|
+
function On(e, r, t, i) {
|
|
683
|
+
var n = Nn(i) ? i : t(i), s = r.get(n);
|
|
670
684
|
return typeof s == "undefined" && (s = e.call(this, i), r.set(n, s)), s;
|
|
671
685
|
}
|
|
672
|
-
function
|
|
686
|
+
function bi(e, r, t) {
|
|
673
687
|
var i = Array.prototype.slice.call(arguments, 3), n = t(i), s = r.get(n);
|
|
674
688
|
return typeof s == "undefined" && (s = e.apply(this, i), r.set(n, s)), s;
|
|
675
689
|
}
|
|
676
|
-
function
|
|
690
|
+
function yi(e, r, t, i, n) {
|
|
677
691
|
return t.bind(r, e, i, n);
|
|
678
692
|
}
|
|
679
|
-
function
|
|
680
|
-
var t = e.length === 1 ?
|
|
681
|
-
return
|
|
693
|
+
function Ln(e, r) {
|
|
694
|
+
var t = e.length === 1 ? On : bi;
|
|
695
|
+
return yi(e, this, t, r.cache.create(), r.serializer);
|
|
682
696
|
}
|
|
683
|
-
function
|
|
684
|
-
return
|
|
697
|
+
function Mn(e, r) {
|
|
698
|
+
return yi(e, this, bi, r.cache.create(), r.serializer);
|
|
685
699
|
}
|
|
686
|
-
var
|
|
700
|
+
var Rn = function() {
|
|
687
701
|
return JSON.stringify(arguments);
|
|
688
|
-
},
|
|
702
|
+
}, Un = (
|
|
689
703
|
/** @class */
|
|
690
704
|
function() {
|
|
691
705
|
function e() {
|
|
@@ -697,71 +711,61 @@ var kn = function() {
|
|
|
697
711
|
this.cache[r] = t;
|
|
698
712
|
}, e;
|
|
699
713
|
}()
|
|
700
|
-
),
|
|
714
|
+
), kn = {
|
|
701
715
|
create: function() {
|
|
702
|
-
return new
|
|
716
|
+
return new Un();
|
|
703
717
|
}
|
|
704
|
-
},
|
|
705
|
-
variadic:
|
|
706
|
-
},
|
|
707
|
-
return it = Object.assign || function(r) {
|
|
708
|
-
for (var t, i = 1, n = arguments.length; i < n; i++) {
|
|
709
|
-
t = arguments[i];
|
|
710
|
-
for (var s in t)
|
|
711
|
-
Object.prototype.hasOwnProperty.call(t, s) && (r[s] = t[s]);
|
|
712
|
-
}
|
|
713
|
-
return r;
|
|
714
|
-
}, it.apply(this, arguments);
|
|
715
|
-
};
|
|
716
|
-
var S;
|
|
718
|
+
}, gt = {
|
|
719
|
+
variadic: Mn
|
|
720
|
+
}, S;
|
|
717
721
|
(function(e) {
|
|
718
722
|
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";
|
|
719
723
|
})(S || (S = {}));
|
|
720
|
-
var
|
|
724
|
+
var L;
|
|
721
725
|
(function(e) {
|
|
722
726
|
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";
|
|
723
|
-
})(
|
|
724
|
-
var
|
|
727
|
+
})(L || (L = {}));
|
|
728
|
+
var or;
|
|
725
729
|
(function(e) {
|
|
726
730
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
727
|
-
})(
|
|
728
|
-
function
|
|
729
|
-
return e.type ===
|
|
731
|
+
})(or || (or = {}));
|
|
732
|
+
function Qt(e) {
|
|
733
|
+
return e.type === L.literal;
|
|
730
734
|
}
|
|
731
|
-
function
|
|
732
|
-
return e.type ===
|
|
735
|
+
function Fn(e) {
|
|
736
|
+
return e.type === L.argument;
|
|
733
737
|
}
|
|
734
|
-
function
|
|
735
|
-
return e.type ===
|
|
738
|
+
function Ei(e) {
|
|
739
|
+
return e.type === L.number;
|
|
740
|
+
}
|
|
741
|
+
function vi(e) {
|
|
742
|
+
return e.type === L.date;
|
|
736
743
|
}
|
|
737
744
|
function wi(e) {
|
|
738
|
-
return e.type ===
|
|
745
|
+
return e.type === L.time;
|
|
746
|
+
}
|
|
747
|
+
function _i(e) {
|
|
748
|
+
return e.type === L.select;
|
|
739
749
|
}
|
|
740
750
|
function Si(e) {
|
|
741
|
-
return e.type ===
|
|
751
|
+
return e.type === L.plural;
|
|
752
|
+
}
|
|
753
|
+
function Dn(e) {
|
|
754
|
+
return e.type === L.pound;
|
|
742
755
|
}
|
|
743
756
|
function Pi(e) {
|
|
744
|
-
return e.type ===
|
|
757
|
+
return e.type === L.tag;
|
|
745
758
|
}
|
|
746
759
|
function xi(e) {
|
|
747
|
-
return e.type ===
|
|
748
|
-
}
|
|
749
|
-
function jn(e) {
|
|
750
|
-
return e.type === O.pound;
|
|
751
|
-
}
|
|
752
|
-
function Ci(e) {
|
|
753
|
-
return e.type === O.tag;
|
|
754
|
-
}
|
|
755
|
-
function Ai(e) {
|
|
756
|
-
return !!(e && typeof e == "object" && e.type === ar.number);
|
|
760
|
+
return !!(e && typeof e == "object" && e.type === or.number);
|
|
757
761
|
}
|
|
758
|
-
function
|
|
759
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
762
|
+
function _t(e) {
|
|
763
|
+
return !!(e && typeof e == "object" && e.type === or.dateTime);
|
|
760
764
|
}
|
|
761
|
-
var
|
|
762
|
-
function
|
|
765
|
+
var Ci = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Gn = /(?:[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;
|
|
766
|
+
function jn(e) {
|
|
763
767
|
var r = {};
|
|
764
|
-
return e.replace(
|
|
768
|
+
return e.replace(Gn, function(t) {
|
|
765
769
|
var i = t.length;
|
|
766
770
|
switch (t[0]) {
|
|
767
771
|
case "G":
|
|
@@ -850,21 +854,11 @@ function $n(e) {
|
|
|
850
854
|
return "";
|
|
851
855
|
}), r;
|
|
852
856
|
}
|
|
853
|
-
var
|
|
854
|
-
|
|
855
|
-
for (var t, i = 1, n = arguments.length; i < n; i++) {
|
|
856
|
-
t = arguments[i];
|
|
857
|
-
for (var s in t)
|
|
858
|
-
Object.prototype.hasOwnProperty.call(t, s) && (r[s] = t[s]);
|
|
859
|
-
}
|
|
860
|
-
return r;
|
|
861
|
-
}, L.apply(this, arguments);
|
|
862
|
-
};
|
|
863
|
-
var Qn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
864
|
-
function zn(e) {
|
|
857
|
+
var Vn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
858
|
+
function $n(e) {
|
|
865
859
|
if (e.length === 0)
|
|
866
860
|
throw new Error("Number skeleton cannot be empty");
|
|
867
|
-
for (var r = e.split(
|
|
861
|
+
for (var r = e.split(Vn).filter(function(g) {
|
|
868
862
|
return g.length > 0;
|
|
869
863
|
}), t = [], i = 0, n = r; i < n.length; i++) {
|
|
870
864
|
var s = n[i], a = s.split("/");
|
|
@@ -879,17 +873,17 @@ function zn(e) {
|
|
|
879
873
|
}
|
|
880
874
|
return t;
|
|
881
875
|
}
|
|
882
|
-
function
|
|
876
|
+
function Qn(e) {
|
|
883
877
|
return e.replace(/^(.*?)-/, "");
|
|
884
878
|
}
|
|
885
|
-
var
|
|
886
|
-
function
|
|
879
|
+
var zt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Ai = /^(@+)?(\+|#+)?[rs]?$/g, zn = /(\*)(0+)|(#+)(0+)|(0+)/g, Ti = /^(0+)$/;
|
|
880
|
+
function Xt(e) {
|
|
887
881
|
var r = {};
|
|
888
|
-
return e[e.length - 1] === "r" ? r.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (r.roundingPriority = "lessPrecision"), e.replace(
|
|
882
|
+
return e[e.length - 1] === "r" ? r.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (r.roundingPriority = "lessPrecision"), e.replace(Ai, function(t, i, n) {
|
|
889
883
|
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)), "";
|
|
890
884
|
}), r;
|
|
891
885
|
}
|
|
892
|
-
function
|
|
886
|
+
function Hi(e) {
|
|
893
887
|
switch (e) {
|
|
894
888
|
case "sign-auto":
|
|
895
889
|
return {
|
|
@@ -929,7 +923,7 @@ function Ii(e) {
|
|
|
929
923
|
};
|
|
930
924
|
}
|
|
931
925
|
}
|
|
932
|
-
function
|
|
926
|
+
function Xn(e) {
|
|
933
927
|
var r;
|
|
934
928
|
if (e[0] === "E" && e[1] === "E" ? (r = {
|
|
935
929
|
notation: "engineering"
|
|
@@ -937,17 +931,17 @@ function Wn(e) {
|
|
|
937
931
|
notation: "scientific"
|
|
938
932
|
}, e = e.slice(1)), r) {
|
|
939
933
|
var t = e.slice(0, 2);
|
|
940
|
-
if (t === "+!" ? (r.signDisplay = "always", e = e.slice(2)) : t === "+?" && (r.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
934
|
+
if (t === "+!" ? (r.signDisplay = "always", e = e.slice(2)) : t === "+?" && (r.signDisplay = "exceptZero", e = e.slice(2)), !Ti.test(e))
|
|
941
935
|
throw new Error("Malformed concise eng/scientific notation");
|
|
942
936
|
r.minimumIntegerDigits = e.length;
|
|
943
937
|
}
|
|
944
938
|
return r;
|
|
945
939
|
}
|
|
946
|
-
function
|
|
947
|
-
var r = {}, t =
|
|
940
|
+
function Zt(e) {
|
|
941
|
+
var r = {}, t = Hi(e);
|
|
948
942
|
return t || r;
|
|
949
943
|
}
|
|
950
|
-
function
|
|
944
|
+
function Zn(e) {
|
|
951
945
|
for (var r = {}, t = 0, i = e; t < i.length; t++) {
|
|
952
946
|
var n = i[t];
|
|
953
947
|
switch (n.stem) {
|
|
@@ -971,7 +965,7 @@ function qn(e) {
|
|
|
971
965
|
continue;
|
|
972
966
|
case "measure-unit":
|
|
973
967
|
case "unit":
|
|
974
|
-
r.style = "unit", r.unit =
|
|
968
|
+
r.style = "unit", r.unit = Qn(n.options[0]);
|
|
975
969
|
continue;
|
|
976
970
|
case "compact-short":
|
|
977
971
|
case "K":
|
|
@@ -982,13 +976,13 @@ function qn(e) {
|
|
|
982
976
|
r.notation = "compact", r.compactDisplay = "long";
|
|
983
977
|
continue;
|
|
984
978
|
case "scientific":
|
|
985
|
-
r =
|
|
986
|
-
return
|
|
979
|
+
r = T(T(T({}, r), { notation: "scientific" }), n.options.reduce(function(h, c) {
|
|
980
|
+
return T(T({}, h), Zt(c));
|
|
987
981
|
}, {}));
|
|
988
982
|
continue;
|
|
989
983
|
case "engineering":
|
|
990
|
-
r =
|
|
991
|
-
return
|
|
984
|
+
r = T(T(T({}, r), { notation: "engineering" }), n.options.reduce(function(h, c) {
|
|
985
|
+
return T(T({}, h), Zt(c));
|
|
992
986
|
}, {}));
|
|
993
987
|
continue;
|
|
994
988
|
case "notation-simple":
|
|
@@ -1033,7 +1027,7 @@ function qn(e) {
|
|
|
1033
1027
|
case "integer-width":
|
|
1034
1028
|
if (n.options.length > 1)
|
|
1035
1029
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1036
|
-
n.options[0].replace(
|
|
1030
|
+
n.options[0].replace(zn, function(h, c, f, m, g, b) {
|
|
1037
1031
|
if (c)
|
|
1038
1032
|
r.minimumIntegerDigits = f.length;
|
|
1039
1033
|
else {
|
|
@@ -1046,32 +1040,32 @@ function qn(e) {
|
|
|
1046
1040
|
});
|
|
1047
1041
|
continue;
|
|
1048
1042
|
}
|
|
1049
|
-
if (
|
|
1043
|
+
if (Ti.test(n.stem)) {
|
|
1050
1044
|
r.minimumIntegerDigits = n.stem.length;
|
|
1051
1045
|
continue;
|
|
1052
1046
|
}
|
|
1053
|
-
if (
|
|
1047
|
+
if (zt.test(n.stem)) {
|
|
1054
1048
|
if (n.options.length > 1)
|
|
1055
1049
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1056
|
-
n.stem.replace(
|
|
1050
|
+
n.stem.replace(zt, function(h, c, f, m, g, b) {
|
|
1057
1051
|
return f === "*" ? r.minimumFractionDigits = c.length : m && m[0] === "#" ? r.maximumFractionDigits = m.length : g && b ? (r.minimumFractionDigits = g.length, r.maximumFractionDigits = g.length + b.length) : (r.minimumFractionDigits = c.length, r.maximumFractionDigits = c.length), "";
|
|
1058
1052
|
});
|
|
1059
1053
|
var s = n.options[0];
|
|
1060
|
-
s === "w" ? r =
|
|
1054
|
+
s === "w" ? r = T(T({}, r), { trailingZeroDisplay: "stripIfInteger" }) : s && (r = T(T({}, r), Xt(s)));
|
|
1061
1055
|
continue;
|
|
1062
1056
|
}
|
|
1063
|
-
if (
|
|
1064
|
-
r =
|
|
1057
|
+
if (Ai.test(n.stem)) {
|
|
1058
|
+
r = T(T({}, r), Xt(n.stem));
|
|
1065
1059
|
continue;
|
|
1066
1060
|
}
|
|
1067
|
-
var a =
|
|
1068
|
-
a && (r =
|
|
1069
|
-
var l =
|
|
1070
|
-
l && (r =
|
|
1061
|
+
var a = Hi(n.stem);
|
|
1062
|
+
a && (r = T(T({}, r), a));
|
|
1063
|
+
var l = Xn(n.stem);
|
|
1064
|
+
l && (r = T(T({}, r), l));
|
|
1071
1065
|
}
|
|
1072
1066
|
return r;
|
|
1073
1067
|
}
|
|
1074
|
-
var
|
|
1068
|
+
var Yr = {
|
|
1075
1069
|
"001": [
|
|
1076
1070
|
"H",
|
|
1077
1071
|
"h"
|
|
@@ -2486,13 +2480,13 @@ var Kr = {
|
|
|
2486
2480
|
"h"
|
|
2487
2481
|
]
|
|
2488
2482
|
};
|
|
2489
|
-
function
|
|
2483
|
+
function Wn(e, r) {
|
|
2490
2484
|
for (var t = "", i = 0; i < e.length; i++) {
|
|
2491
2485
|
var n = e.charAt(i);
|
|
2492
2486
|
if (n === "j") {
|
|
2493
2487
|
for (var s = 0; i + 1 < e.length && e.charAt(i + 1) === n; )
|
|
2494
2488
|
s++, i++;
|
|
2495
|
-
var a = 1 + (s & 1), l = s < 2 ? 1 : 3 + (s >> 1), h = "a", c =
|
|
2489
|
+
var a = 1 + (s & 1), l = s < 2 ? 1 : 3 + (s >> 1), h = "a", c = qn(r);
|
|
2496
2490
|
for ((c == "H" || c == "k") && (l = 0); l-- > 0; )
|
|
2497
2491
|
t += h;
|
|
2498
2492
|
for (; a-- > 0; )
|
|
@@ -2502,7 +2496,7 @@ function Jn(e, r) {
|
|
|
2502
2496
|
}
|
|
2503
2497
|
return t;
|
|
2504
2498
|
}
|
|
2505
|
-
function
|
|
2499
|
+
function qn(e) {
|
|
2506
2500
|
var r = e.hourCycle;
|
|
2507
2501
|
if (r === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2508
2502
|
e.hourCycles && // @ts-ignore
|
|
@@ -2521,23 +2515,23 @@ function Yn(e) {
|
|
|
2521
2515
|
}
|
|
2522
2516
|
var t = e.language, i;
|
|
2523
2517
|
t !== "root" && (i = e.maximize().region);
|
|
2524
|
-
var n =
|
|
2518
|
+
var n = Yr[i || ""] || Yr[t || ""] || Yr["".concat(t, "-001")] || Yr["001"];
|
|
2525
2519
|
return n[0];
|
|
2526
2520
|
}
|
|
2527
|
-
var
|
|
2521
|
+
var pt, Jn = new RegExp("^".concat(Ci.source, "*")), Yn = new RegExp("".concat(Ci.source, "*$"));
|
|
2528
2522
|
function P(e, r) {
|
|
2529
2523
|
return { start: e, end: r };
|
|
2530
2524
|
}
|
|
2531
|
-
var
|
|
2525
|
+
var Kn = !!String.prototype.startsWith && "_a".startsWith("a", 1), es = !!String.fromCodePoint, rs = !!Object.fromEntries, ts = !!String.prototype.codePointAt, is = !!String.prototype.trimStart, ns = !!String.prototype.trimEnd, ss = !!Number.isSafeInteger, os = ss ? Number.isSafeInteger : function(e) {
|
|
2532
2526
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2533
|
-
},
|
|
2527
|
+
}, St = !0;
|
|
2534
2528
|
try {
|
|
2535
|
-
var
|
|
2536
|
-
|
|
2529
|
+
var as = Ii("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2530
|
+
St = ((pt = as.exec("a")) === null || pt === void 0 ? void 0 : pt[0]) === "a";
|
|
2537
2531
|
} catch (e) {
|
|
2538
|
-
|
|
2532
|
+
St = !1;
|
|
2539
2533
|
}
|
|
2540
|
-
var
|
|
2534
|
+
var Wt = Kn ? (
|
|
2541
2535
|
// Native
|
|
2542
2536
|
function(r, t, i) {
|
|
2543
2537
|
return r.startsWith(t, i);
|
|
@@ -2547,7 +2541,7 @@ var Jt = rs ? (
|
|
|
2547
2541
|
function(r, t, i) {
|
|
2548
2542
|
return r.slice(i, i + t.length) === t;
|
|
2549
2543
|
}
|
|
2550
|
-
),
|
|
2544
|
+
), Pt = es ? String.fromCodePoint : (
|
|
2551
2545
|
// IE11
|
|
2552
2546
|
function() {
|
|
2553
2547
|
for (var r = [], t = 0; t < arguments.length; t++)
|
|
@@ -2559,9 +2553,9 @@ var Jt = rs ? (
|
|
|
2559
2553
|
}
|
|
2560
2554
|
return i;
|
|
2561
2555
|
}
|
|
2562
|
-
),
|
|
2556
|
+
), qt = (
|
|
2563
2557
|
// native
|
|
2564
|
-
|
|
2558
|
+
rs ? Object.fromEntries : (
|
|
2565
2559
|
// Ponyfill
|
|
2566
2560
|
function(r) {
|
|
2567
2561
|
for (var t = {}, i = 0, n = r; i < n.length; i++) {
|
|
@@ -2571,7 +2565,7 @@ var Jt = rs ? (
|
|
|
2571
2565
|
return t;
|
|
2572
2566
|
}
|
|
2573
2567
|
)
|
|
2574
|
-
),
|
|
2568
|
+
), Bi = ts ? (
|
|
2575
2569
|
// Native
|
|
2576
2570
|
function(r, t) {
|
|
2577
2571
|
return r.codePointAt(t);
|
|
@@ -2585,7 +2579,7 @@ var Jt = rs ? (
|
|
|
2585
2579
|
return n < 55296 || n > 56319 || t + 1 === i || (s = r.charCodeAt(t + 1)) < 56320 || s > 57343 ? n : (n - 55296 << 10) + (s - 56320) + 65536;
|
|
2586
2580
|
}
|
|
2587
2581
|
}
|
|
2588
|
-
),
|
|
2582
|
+
), ls = is ? (
|
|
2589
2583
|
// Native
|
|
2590
2584
|
function(r) {
|
|
2591
2585
|
return r.trimStart();
|
|
@@ -2593,9 +2587,9 @@ var Jt = rs ? (
|
|
|
2593
2587
|
) : (
|
|
2594
2588
|
// Ponyfill
|
|
2595
2589
|
function(r) {
|
|
2596
|
-
return r.replace(
|
|
2590
|
+
return r.replace(Jn, "");
|
|
2597
2591
|
}
|
|
2598
|
-
),
|
|
2592
|
+
), us = ns ? (
|
|
2599
2593
|
// Native
|
|
2600
2594
|
function(r) {
|
|
2601
2595
|
return r.trimEnd();
|
|
@@ -2603,32 +2597,32 @@ var Jt = rs ? (
|
|
|
2603
2597
|
) : (
|
|
2604
2598
|
// Ponyfill
|
|
2605
2599
|
function(r) {
|
|
2606
|
-
return r.replace(
|
|
2600
|
+
return r.replace(Yn, "");
|
|
2607
2601
|
}
|
|
2608
2602
|
);
|
|
2609
|
-
function
|
|
2603
|
+
function Ii(e, r) {
|
|
2610
2604
|
return new RegExp(e, r);
|
|
2611
2605
|
}
|
|
2612
|
-
var
|
|
2613
|
-
if (
|
|
2614
|
-
var
|
|
2615
|
-
|
|
2606
|
+
var xt;
|
|
2607
|
+
if (St) {
|
|
2608
|
+
var Jt = Ii("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2609
|
+
xt = function(r, t) {
|
|
2616
2610
|
var i;
|
|
2617
|
-
|
|
2618
|
-
var n =
|
|
2611
|
+
Jt.lastIndex = t;
|
|
2612
|
+
var n = Jt.exec(r);
|
|
2619
2613
|
return (i = n[1]) !== null && i !== void 0 ? i : "";
|
|
2620
2614
|
};
|
|
2621
2615
|
} else
|
|
2622
|
-
|
|
2616
|
+
xt = function(r, t) {
|
|
2623
2617
|
for (var i = []; ; ) {
|
|
2624
|
-
var n =
|
|
2625
|
-
if (n === void 0 ||
|
|
2618
|
+
var n = Bi(r, t);
|
|
2619
|
+
if (n === void 0 || Ni(n) || ds(n))
|
|
2626
2620
|
break;
|
|
2627
2621
|
i.push(n), t += n >= 65536 ? 2 : 1;
|
|
2628
2622
|
}
|
|
2629
|
-
return
|
|
2623
|
+
return Pt.apply(void 0, i);
|
|
2630
2624
|
};
|
|
2631
|
-
var
|
|
2625
|
+
var cs = (
|
|
2632
2626
|
/** @class */
|
|
2633
2627
|
function() {
|
|
2634
2628
|
function e(r, t) {
|
|
@@ -2652,14 +2646,14 @@ var fs = (
|
|
|
2652
2646
|
if (s === 35 && (t === "plural" || t === "selectordinal")) {
|
|
2653
2647
|
var l = this.clonePosition();
|
|
2654
2648
|
this.bump(), n.push({
|
|
2655
|
-
type:
|
|
2649
|
+
type: L.pound,
|
|
2656
2650
|
location: P(l, this.clonePosition())
|
|
2657
2651
|
});
|
|
2658
2652
|
} else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
2659
2653
|
if (i)
|
|
2660
2654
|
break;
|
|
2661
2655
|
return this.error(S.UNMATCHED_CLOSING_TAG, P(this.clonePosition(), this.clonePosition()));
|
|
2662
|
-
} else if (s === 60 && !this.ignoreTag &&
|
|
2656
|
+
} else if (s === 60 && !this.ignoreTag && Ct(this.peek() || 0)) {
|
|
2663
2657
|
var a = this.parseTag(r, t);
|
|
2664
2658
|
if (a.err)
|
|
2665
2659
|
return a;
|
|
@@ -2680,7 +2674,7 @@ var fs = (
|
|
|
2680
2674
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
2681
2675
|
return {
|
|
2682
2676
|
val: {
|
|
2683
|
-
type:
|
|
2677
|
+
type: L.literal,
|
|
2684
2678
|
value: "<".concat(n, "/>"),
|
|
2685
2679
|
location: P(i, this.clonePosition())
|
|
2686
2680
|
},
|
|
@@ -2692,12 +2686,12 @@ var fs = (
|
|
|
2692
2686
|
return s;
|
|
2693
2687
|
var a = s.val, l = this.clonePosition();
|
|
2694
2688
|
if (this.bumpIf("</")) {
|
|
2695
|
-
if (this.isEOF() || !
|
|
2689
|
+
if (this.isEOF() || !Ct(this.char()))
|
|
2696
2690
|
return this.error(S.INVALID_TAG, P(l, this.clonePosition()));
|
|
2697
2691
|
var h = this.clonePosition(), c = this.parseTagName();
|
|
2698
2692
|
return n !== c ? this.error(S.UNMATCHED_CLOSING_TAG, P(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
2699
2693
|
val: {
|
|
2700
|
-
type:
|
|
2694
|
+
type: L.tag,
|
|
2701
2695
|
value: n,
|
|
2702
2696
|
children: a,
|
|
2703
2697
|
location: P(i, this.clonePosition())
|
|
@@ -2710,7 +2704,7 @@ var fs = (
|
|
|
2710
2704
|
return this.error(S.INVALID_TAG, P(i, this.clonePosition()));
|
|
2711
2705
|
}, e.prototype.parseTagName = function() {
|
|
2712
2706
|
var r = this.offset();
|
|
2713
|
-
for (this.bump(); !this.isEOF() &&
|
|
2707
|
+
for (this.bump(); !this.isEOF() && fs(this.char()); )
|
|
2714
2708
|
this.bump();
|
|
2715
2709
|
return this.message.slice(r, this.offset());
|
|
2716
2710
|
}, e.prototype.parseLiteral = function(r, t) {
|
|
@@ -2734,12 +2728,12 @@ var fs = (
|
|
|
2734
2728
|
}
|
|
2735
2729
|
var h = P(i, this.clonePosition());
|
|
2736
2730
|
return {
|
|
2737
|
-
val: { type:
|
|
2731
|
+
val: { type: L.literal, value: n, location: h },
|
|
2738
2732
|
err: null
|
|
2739
2733
|
};
|
|
2740
2734
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
2741
2735
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
2742
|
-
!
|
|
2736
|
+
!hs(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
2743
2737
|
}, e.prototype.tryParseQuote = function(r) {
|
|
2744
2738
|
if (this.isEOF() || this.char() !== 39)
|
|
2745
2739
|
return null;
|
|
@@ -2773,12 +2767,12 @@ var fs = (
|
|
|
2773
2767
|
t.push(i);
|
|
2774
2768
|
this.bump();
|
|
2775
2769
|
}
|
|
2776
|
-
return
|
|
2770
|
+
return Pt.apply(void 0, t);
|
|
2777
2771
|
}, e.prototype.tryParseUnquoted = function(r, t) {
|
|
2778
2772
|
if (this.isEOF())
|
|
2779
2773
|
return null;
|
|
2780
2774
|
var i = this.char();
|
|
2781
|
-
return i === 60 || i === 123 || i === 35 && (t === "plural" || t === "selectordinal") || i === 125 && r > 0 ? null : (this.bump(),
|
|
2775
|
+
return i === 60 || i === 123 || i === 35 && (t === "plural" || t === "selectordinal") || i === 125 && r > 0 ? null : (this.bump(), Pt(i));
|
|
2782
2776
|
}, e.prototype.parseArgument = function(r, t) {
|
|
2783
2777
|
var i = this.clonePosition();
|
|
2784
2778
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -2794,7 +2788,7 @@ var fs = (
|
|
|
2794
2788
|
case 125:
|
|
2795
2789
|
return this.bump(), {
|
|
2796
2790
|
val: {
|
|
2797
|
-
type:
|
|
2791
|
+
type: L.argument,
|
|
2798
2792
|
// value does not include the opening and closing braces.
|
|
2799
2793
|
value: n,
|
|
2800
2794
|
location: P(i, this.clonePosition())
|
|
@@ -2807,7 +2801,7 @@ var fs = (
|
|
|
2807
2801
|
return this.error(S.MALFORMED_ARGUMENT, P(i, this.clonePosition()));
|
|
2808
2802
|
}
|
|
2809
2803
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
2810
|
-
var r = this.clonePosition(), t = this.offset(), i =
|
|
2804
|
+
var r = this.clonePosition(), t = this.offset(), i = xt(this.message, t), n = t + i.length;
|
|
2811
2805
|
this.bumpTo(n);
|
|
2812
2806
|
var s = this.clonePosition(), a = P(r, s);
|
|
2813
2807
|
return { value: i, location: a };
|
|
@@ -2826,35 +2820,35 @@ var fs = (
|
|
|
2826
2820
|
var f = this.clonePosition(), m = this.parseSimpleArgStyleIfPossible();
|
|
2827
2821
|
if (m.err)
|
|
2828
2822
|
return m;
|
|
2829
|
-
var g =
|
|
2823
|
+
var g = us(m.val);
|
|
2830
2824
|
if (g.length === 0)
|
|
2831
2825
|
return this.error(S.EXPECT_ARGUMENT_STYLE, P(this.clonePosition(), this.clonePosition()));
|
|
2832
2826
|
var b = P(f, this.clonePosition());
|
|
2833
2827
|
c = { style: g, styleLocation: b };
|
|
2834
2828
|
}
|
|
2835
|
-
var
|
|
2836
|
-
if (
|
|
2837
|
-
return
|
|
2829
|
+
var w = this.tryParseArgumentClose(n);
|
|
2830
|
+
if (w.err)
|
|
2831
|
+
return w;
|
|
2838
2832
|
var E = P(n, this.clonePosition());
|
|
2839
|
-
if (c &&
|
|
2840
|
-
var A =
|
|
2833
|
+
if (c && Wt(c == null ? void 0 : c.style, "::", 0)) {
|
|
2834
|
+
var A = ls(c.style.slice(2));
|
|
2841
2835
|
if (l === "number") {
|
|
2842
2836
|
var m = this.parseNumberSkeletonFromString(A, c.styleLocation);
|
|
2843
2837
|
return m.err ? m : {
|
|
2844
|
-
val: { type:
|
|
2838
|
+
val: { type: L.number, value: i, location: E, style: m.val },
|
|
2845
2839
|
err: null
|
|
2846
2840
|
};
|
|
2847
2841
|
} else {
|
|
2848
2842
|
if (A.length === 0)
|
|
2849
2843
|
return this.error(S.EXPECT_DATE_TIME_SKELETON, E);
|
|
2850
|
-
var
|
|
2851
|
-
this.locale && (
|
|
2844
|
+
var O = A;
|
|
2845
|
+
this.locale && (O = Wn(A, this.locale));
|
|
2852
2846
|
var g = {
|
|
2853
|
-
type:
|
|
2854
|
-
pattern:
|
|
2847
|
+
type: or.dateTime,
|
|
2848
|
+
pattern: O,
|
|
2855
2849
|
location: c.styleLocation,
|
|
2856
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2857
|
-
}, M = l === "date" ?
|
|
2850
|
+
parsedOptions: this.shouldParseSkeletons ? jn(O) : {}
|
|
2851
|
+
}, M = l === "date" ? L.date : L.time;
|
|
2858
2852
|
return {
|
|
2859
2853
|
val: { type: M, value: i, location: E, style: g },
|
|
2860
2854
|
err: null
|
|
@@ -2863,7 +2857,7 @@ var fs = (
|
|
|
2863
2857
|
}
|
|
2864
2858
|
return {
|
|
2865
2859
|
val: {
|
|
2866
|
-
type: l === "number" ?
|
|
2860
|
+
type: l === "number" ? L.number : l === "date" ? L.date : L.time,
|
|
2867
2861
|
value: i,
|
|
2868
2862
|
location: E,
|
|
2869
2863
|
style: (s = c == null ? void 0 : c.style) !== null && s !== void 0 ? s : null
|
|
@@ -2876,7 +2870,7 @@ var fs = (
|
|
|
2876
2870
|
case "select": {
|
|
2877
2871
|
var R = this.clonePosition();
|
|
2878
2872
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
2879
|
-
return this.error(S.EXPECT_SELECT_ARGUMENT_OPTIONS, P(R,
|
|
2873
|
+
return this.error(S.EXPECT_SELECT_ARGUMENT_OPTIONS, P(R, T({}, R)));
|
|
2880
2874
|
this.bumpSpace();
|
|
2881
2875
|
var ce = this.parseIdentifierIfPossible(), G = 0;
|
|
2882
2876
|
if (l !== "select" && ce.value === "offset") {
|
|
@@ -2891,23 +2885,23 @@ var fs = (
|
|
|
2891
2885
|
var ge = this.tryParsePluralOrSelectOptions(r, l, t, ce);
|
|
2892
2886
|
if (ge.err)
|
|
2893
2887
|
return ge;
|
|
2894
|
-
var
|
|
2895
|
-
if (
|
|
2896
|
-
return
|
|
2888
|
+
var w = this.tryParseArgumentClose(n);
|
|
2889
|
+
if (w.err)
|
|
2890
|
+
return w;
|
|
2897
2891
|
var U = P(n, this.clonePosition());
|
|
2898
2892
|
return l === "select" ? {
|
|
2899
2893
|
val: {
|
|
2900
|
-
type:
|
|
2894
|
+
type: L.select,
|
|
2901
2895
|
value: i,
|
|
2902
|
-
options:
|
|
2896
|
+
options: qt(ge.val),
|
|
2903
2897
|
location: U
|
|
2904
2898
|
},
|
|
2905
2899
|
err: null
|
|
2906
2900
|
} : {
|
|
2907
2901
|
val: {
|
|
2908
|
-
type:
|
|
2902
|
+
type: L.plural,
|
|
2909
2903
|
value: i,
|
|
2910
|
-
options:
|
|
2904
|
+
options: qt(ge.val),
|
|
2911
2905
|
offset: G,
|
|
2912
2906
|
pluralType: l === "plural" ? "cardinal" : "ordinal",
|
|
2913
2907
|
location: U
|
|
@@ -2958,16 +2952,16 @@ var fs = (
|
|
|
2958
2952
|
}, e.prototype.parseNumberSkeletonFromString = function(r, t) {
|
|
2959
2953
|
var i = [];
|
|
2960
2954
|
try {
|
|
2961
|
-
i =
|
|
2955
|
+
i = $n(r);
|
|
2962
2956
|
} catch (n) {
|
|
2963
2957
|
return this.error(S.INVALID_NUMBER_SKELETON, t);
|
|
2964
2958
|
}
|
|
2965
2959
|
return {
|
|
2966
2960
|
val: {
|
|
2967
|
-
type:
|
|
2961
|
+
type: or.number,
|
|
2968
2962
|
tokens: i,
|
|
2969
2963
|
location: t,
|
|
2970
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2964
|
+
parsedOptions: this.shouldParseSkeletons ? Zn(i) : {}
|
|
2971
2965
|
},
|
|
2972
2966
|
err: null
|
|
2973
2967
|
};
|
|
@@ -2989,16 +2983,16 @@ var fs = (
|
|
|
2989
2983
|
var b = this.clonePosition();
|
|
2990
2984
|
if (!this.bumpIf("{"))
|
|
2991
2985
|
return this.error(t === "select" ? S.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : S.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, P(this.clonePosition(), this.clonePosition()));
|
|
2992
|
-
var
|
|
2993
|
-
if (
|
|
2994
|
-
return
|
|
2986
|
+
var w = this.parseMessage(r + 1, t, i);
|
|
2987
|
+
if (w.err)
|
|
2988
|
+
return w;
|
|
2995
2989
|
var E = this.tryParseArgumentClose(b);
|
|
2996
2990
|
if (E.err)
|
|
2997
2991
|
return E;
|
|
2998
2992
|
l.push([
|
|
2999
2993
|
c,
|
|
3000
2994
|
{
|
|
3001
|
-
value:
|
|
2995
|
+
value: w.val,
|
|
3002
2996
|
location: P(b, this.clonePosition())
|
|
3003
2997
|
}
|
|
3004
2998
|
]), h.add(c), this.bumpSpace(), s = this.parseIdentifierIfPossible(), c = s.value, f = s.location;
|
|
@@ -3015,7 +3009,7 @@ var fs = (
|
|
|
3015
3009
|
break;
|
|
3016
3010
|
}
|
|
3017
3011
|
var h = P(n, this.clonePosition());
|
|
3018
|
-
return s ? (a *= i,
|
|
3012
|
+
return s ? (a *= i, os(a) ? { val: a, err: null } : this.error(t, h)) : this.error(r, h);
|
|
3019
3013
|
}, e.prototype.offset = function() {
|
|
3020
3014
|
return this.position.offset;
|
|
3021
3015
|
}, e.prototype.isEOF = function() {
|
|
@@ -3030,7 +3024,7 @@ var fs = (
|
|
|
3030
3024
|
var r = this.position.offset;
|
|
3031
3025
|
if (r >= this.message.length)
|
|
3032
3026
|
throw Error("out of bound");
|
|
3033
|
-
var t =
|
|
3027
|
+
var t = Bi(this.message, r);
|
|
3034
3028
|
if (t === void 0)
|
|
3035
3029
|
throw Error("Offset ".concat(r, " is at invalid UTF-16 code unit boundary"));
|
|
3036
3030
|
return t;
|
|
@@ -3049,7 +3043,7 @@ var fs = (
|
|
|
3049
3043
|
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);
|
|
3050
3044
|
}
|
|
3051
3045
|
}, e.prototype.bumpIf = function(r) {
|
|
3052
|
-
if (
|
|
3046
|
+
if (Wt(this.message, r, this.offset())) {
|
|
3053
3047
|
for (var t = 0; t < r.length; t++)
|
|
3054
3048
|
this.bump();
|
|
3055
3049
|
return !0;
|
|
@@ -3071,7 +3065,7 @@ var fs = (
|
|
|
3071
3065
|
break;
|
|
3072
3066
|
}
|
|
3073
3067
|
}, e.prototype.bumpSpace = function() {
|
|
3074
|
-
for (; !this.isEOF() &&
|
|
3068
|
+
for (; !this.isEOF() && Ni(this.char()); )
|
|
3075
3069
|
this.bump();
|
|
3076
3070
|
}, e.prototype.peek = function() {
|
|
3077
3071
|
if (this.isEOF())
|
|
@@ -3081,47 +3075,47 @@ var fs = (
|
|
|
3081
3075
|
}, e;
|
|
3082
3076
|
}()
|
|
3083
3077
|
);
|
|
3084
|
-
function
|
|
3078
|
+
function Ct(e) {
|
|
3085
3079
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3086
3080
|
}
|
|
3087
|
-
function
|
|
3088
|
-
return
|
|
3081
|
+
function hs(e) {
|
|
3082
|
+
return Ct(e) || e === 47;
|
|
3089
3083
|
}
|
|
3090
|
-
function
|
|
3084
|
+
function fs(e) {
|
|
3091
3085
|
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;
|
|
3092
3086
|
}
|
|
3093
|
-
function
|
|
3087
|
+
function Ni(e) {
|
|
3094
3088
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3095
3089
|
}
|
|
3096
|
-
function
|
|
3090
|
+
function ds(e) {
|
|
3097
3091
|
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;
|
|
3098
3092
|
}
|
|
3099
|
-
function
|
|
3093
|
+
function At(e) {
|
|
3100
3094
|
e.forEach(function(r) {
|
|
3101
|
-
if (delete r.location,
|
|
3095
|
+
if (delete r.location, _i(r) || Si(r))
|
|
3102
3096
|
for (var t in r.options)
|
|
3103
|
-
delete r.options[t].location,
|
|
3097
|
+
delete r.options[t].location, At(r.options[t].value);
|
|
3104
3098
|
else
|
|
3105
|
-
|
|
3099
|
+
Ei(r) && xi(r.style) || (vi(r) || wi(r)) && _t(r.style) ? delete r.style.location : Pi(r) && At(r.children);
|
|
3106
3100
|
});
|
|
3107
3101
|
}
|
|
3108
|
-
function
|
|
3109
|
-
r === void 0 && (r = {}), r =
|
|
3110
|
-
var t = new
|
|
3102
|
+
function ms(e, r) {
|
|
3103
|
+
r === void 0 && (r = {}), r = T({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, r);
|
|
3104
|
+
var t = new cs(e, r).parse();
|
|
3111
3105
|
if (t.err) {
|
|
3112
3106
|
var i = SyntaxError(S[t.err.kind]);
|
|
3113
3107
|
throw i.location = t.err.location, i.originalMessage = t.err.message, i;
|
|
3114
3108
|
}
|
|
3115
|
-
return r != null && r.captureLocation ||
|
|
3109
|
+
return r != null && r.captureLocation || At(t.val), t.val;
|
|
3116
3110
|
}
|
|
3117
|
-
var
|
|
3111
|
+
var ar;
|
|
3118
3112
|
(function(e) {
|
|
3119
3113
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3120
|
-
})(
|
|
3121
|
-
var
|
|
3114
|
+
})(ar || (ar = {}));
|
|
3115
|
+
var ot = (
|
|
3122
3116
|
/** @class */
|
|
3123
3117
|
function(e) {
|
|
3124
|
-
|
|
3118
|
+
st(r, e);
|
|
3125
3119
|
function r(t, i, n) {
|
|
3126
3120
|
var s = e.call(this, t) || this;
|
|
3127
3121
|
return s.code = i, s.originalMessage = n, s;
|
|
@@ -3130,48 +3124,48 @@ var lt = (
|
|
|
3130
3124
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3131
3125
|
}, r;
|
|
3132
3126
|
}(Error)
|
|
3133
|
-
),
|
|
3127
|
+
), Yt = (
|
|
3134
3128
|
/** @class */
|
|
3135
3129
|
function(e) {
|
|
3136
|
-
|
|
3130
|
+
st(r, e);
|
|
3137
3131
|
function r(t, i, n, s) {
|
|
3138
|
-
return e.call(this, 'Invalid values for "'.concat(t, '": "').concat(i, '". Options are "').concat(Object.keys(n).join('", "'), '"'),
|
|
3132
|
+
return e.call(this, 'Invalid values for "'.concat(t, '": "').concat(i, '". Options are "').concat(Object.keys(n).join('", "'), '"'), ar.INVALID_VALUE, s) || this;
|
|
3139
3133
|
}
|
|
3140
3134
|
return r;
|
|
3141
|
-
}(
|
|
3142
|
-
),
|
|
3135
|
+
}(ot)
|
|
3136
|
+
), gs = (
|
|
3143
3137
|
/** @class */
|
|
3144
3138
|
function(e) {
|
|
3145
|
-
|
|
3139
|
+
st(r, e);
|
|
3146
3140
|
function r(t, i, n) {
|
|
3147
|
-
return e.call(this, 'Value for "'.concat(t, '" must be of type ').concat(i),
|
|
3141
|
+
return e.call(this, 'Value for "'.concat(t, '" must be of type ').concat(i), ar.INVALID_VALUE, n) || this;
|
|
3148
3142
|
}
|
|
3149
3143
|
return r;
|
|
3150
|
-
}(
|
|
3151
|
-
),
|
|
3144
|
+
}(ot)
|
|
3145
|
+
), ps = (
|
|
3152
3146
|
/** @class */
|
|
3153
3147
|
function(e) {
|
|
3154
|
-
|
|
3148
|
+
st(r, e);
|
|
3155
3149
|
function r(t, i) {
|
|
3156
|
-
return e.call(this, 'The intl string context variable "'.concat(t, '" was not provided to the string "').concat(i, '"'),
|
|
3150
|
+
return e.call(this, 'The intl string context variable "'.concat(t, '" was not provided to the string "').concat(i, '"'), ar.MISSING_VALUE, i) || this;
|
|
3157
3151
|
}
|
|
3158
3152
|
return r;
|
|
3159
|
-
}(
|
|
3153
|
+
}(ot)
|
|
3160
3154
|
), Q;
|
|
3161
3155
|
(function(e) {
|
|
3162
3156
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3163
3157
|
})(Q || (Q = {}));
|
|
3164
|
-
function
|
|
3158
|
+
function bs(e) {
|
|
3165
3159
|
return e.length < 2 ? e : e.reduce(function(r, t) {
|
|
3166
3160
|
var i = r[r.length - 1];
|
|
3167
3161
|
return !i || i.type !== Q.literal || t.type !== Q.literal ? r.push(t) : i.value += t.value, r;
|
|
3168
3162
|
}, []);
|
|
3169
3163
|
}
|
|
3170
|
-
function
|
|
3164
|
+
function ys(e) {
|
|
3171
3165
|
return typeof e == "function";
|
|
3172
3166
|
}
|
|
3173
|
-
function
|
|
3174
|
-
if (e.length === 1 &&
|
|
3167
|
+
function et(e, r, t, i, n, s, a) {
|
|
3168
|
+
if (e.length === 1 && Qt(e[0]))
|
|
3175
3169
|
return [
|
|
3176
3170
|
{
|
|
3177
3171
|
type: Q.literal,
|
|
@@ -3180,14 +3174,14 @@ function rt(e, r, t, i, n, s, a) {
|
|
|
3180
3174
|
];
|
|
3181
3175
|
for (var l = [], h = 0, c = e; h < c.length; h++) {
|
|
3182
3176
|
var f = c[h];
|
|
3183
|
-
if (
|
|
3177
|
+
if (Qt(f)) {
|
|
3184
3178
|
l.push({
|
|
3185
3179
|
type: Q.literal,
|
|
3186
3180
|
value: f.value
|
|
3187
3181
|
});
|
|
3188
3182
|
continue;
|
|
3189
3183
|
}
|
|
3190
|
-
if (
|
|
3184
|
+
if (Dn(f)) {
|
|
3191
3185
|
typeof s == "number" && l.push({
|
|
3192
3186
|
type: Q.literal,
|
|
3193
3187
|
value: t.getNumberFormat(r).format(s)
|
|
@@ -3196,44 +3190,44 @@ function rt(e, r, t, i, n, s, a) {
|
|
|
3196
3190
|
}
|
|
3197
3191
|
var m = f.value;
|
|
3198
3192
|
if (!(n && m in n))
|
|
3199
|
-
throw new
|
|
3193
|
+
throw new ps(m, a);
|
|
3200
3194
|
var g = n[m];
|
|
3201
|
-
if (
|
|
3195
|
+
if (Fn(f)) {
|
|
3202
3196
|
(!g || typeof g == "string" || typeof g == "number") && (g = typeof g == "string" || typeof g == "number" ? String(g) : ""), l.push({
|
|
3203
3197
|
type: typeof g == "string" ? Q.literal : Q.object,
|
|
3204
3198
|
value: g
|
|
3205
3199
|
});
|
|
3206
3200
|
continue;
|
|
3207
3201
|
}
|
|
3208
|
-
if (
|
|
3209
|
-
var b = typeof f.style == "string" ? i.date[f.style] :
|
|
3202
|
+
if (vi(f)) {
|
|
3203
|
+
var b = typeof f.style == "string" ? i.date[f.style] : _t(f.style) ? f.style.parsedOptions : void 0;
|
|
3210
3204
|
l.push({
|
|
3211
3205
|
type: Q.literal,
|
|
3212
3206
|
value: t.getDateTimeFormat(r, b).format(g)
|
|
3213
3207
|
});
|
|
3214
3208
|
continue;
|
|
3215
3209
|
}
|
|
3216
|
-
if (
|
|
3217
|
-
var b = typeof f.style == "string" ? i.time[f.style] :
|
|
3210
|
+
if (wi(f)) {
|
|
3211
|
+
var b = typeof f.style == "string" ? i.time[f.style] : _t(f.style) ? f.style.parsedOptions : i.time.medium;
|
|
3218
3212
|
l.push({
|
|
3219
3213
|
type: Q.literal,
|
|
3220
3214
|
value: t.getDateTimeFormat(r, b).format(g)
|
|
3221
3215
|
});
|
|
3222
3216
|
continue;
|
|
3223
3217
|
}
|
|
3224
|
-
if (
|
|
3225
|
-
var b = typeof f.style == "string" ? i.number[f.style] :
|
|
3218
|
+
if (Ei(f)) {
|
|
3219
|
+
var b = typeof f.style == "string" ? i.number[f.style] : xi(f.style) ? f.style.parsedOptions : void 0;
|
|
3226
3220
|
b && b.scale && (g = g * (b.scale || 1)), l.push({
|
|
3227
3221
|
type: Q.literal,
|
|
3228
3222
|
value: t.getNumberFormat(r, b).format(g)
|
|
3229
3223
|
});
|
|
3230
3224
|
continue;
|
|
3231
3225
|
}
|
|
3232
|
-
if (
|
|
3233
|
-
var
|
|
3234
|
-
if (!
|
|
3235
|
-
throw new
|
|
3236
|
-
var
|
|
3226
|
+
if (Pi(f)) {
|
|
3227
|
+
var w = f.children, E = f.value, A = n[E];
|
|
3228
|
+
if (!ys(A))
|
|
3229
|
+
throw new gs(E, "function", a);
|
|
3230
|
+
var O = et(w, r, t, i, n, s), M = A(O.map(function(G) {
|
|
3237
3231
|
return G.value;
|
|
3238
3232
|
}));
|
|
3239
3233
|
Array.isArray(M) || (M = [M]), l.push.apply(l, M.map(function(G) {
|
|
@@ -3243,42 +3237,42 @@ function rt(e, r, t, i, n, s, a) {
|
|
|
3243
3237
|
};
|
|
3244
3238
|
}));
|
|
3245
3239
|
}
|
|
3246
|
-
if (
|
|
3240
|
+
if (_i(f)) {
|
|
3247
3241
|
var R = f.options[g] || f.options.other;
|
|
3248
3242
|
if (!R)
|
|
3249
|
-
throw new
|
|
3250
|
-
l.push.apply(l,
|
|
3243
|
+
throw new Yt(f.value, g, Object.keys(f.options), a);
|
|
3244
|
+
l.push.apply(l, et(R.value, r, t, i, n));
|
|
3251
3245
|
continue;
|
|
3252
3246
|
}
|
|
3253
|
-
if (
|
|
3247
|
+
if (Si(f)) {
|
|
3254
3248
|
var R = f.options["=".concat(g)];
|
|
3255
3249
|
if (!R) {
|
|
3256
3250
|
if (!Intl.PluralRules)
|
|
3257
|
-
throw new
|
|
3251
|
+
throw new ot(`Intl.PluralRules is not available in this environment.
|
|
3258
3252
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3259
|
-
`,
|
|
3253
|
+
`, ar.MISSING_INTL_API, a);
|
|
3260
3254
|
var ce = t.getPluralRules(r, { type: f.pluralType }).select(g - (f.offset || 0));
|
|
3261
3255
|
R = f.options[ce] || f.options.other;
|
|
3262
3256
|
}
|
|
3263
3257
|
if (!R)
|
|
3264
|
-
throw new
|
|
3265
|
-
l.push.apply(l,
|
|
3258
|
+
throw new Yt(f.value, g, Object.keys(f.options), a);
|
|
3259
|
+
l.push.apply(l, et(R.value, r, t, i, n, g - (f.offset || 0)));
|
|
3266
3260
|
continue;
|
|
3267
3261
|
}
|
|
3268
3262
|
}
|
|
3269
|
-
return
|
|
3263
|
+
return bs(l);
|
|
3270
3264
|
}
|
|
3271
|
-
function
|
|
3272
|
-
return r ?
|
|
3273
|
-
return t[i] =
|
|
3265
|
+
function Es(e, r) {
|
|
3266
|
+
return r ? T(T(T({}, e || {}), r || {}), Object.keys(e).reduce(function(t, i) {
|
|
3267
|
+
return t[i] = T(T({}, e[i]), r[i] || {}), t;
|
|
3274
3268
|
}, {})) : e;
|
|
3275
3269
|
}
|
|
3276
|
-
function
|
|
3270
|
+
function vs(e, r) {
|
|
3277
3271
|
return r ? Object.keys(e).reduce(function(t, i) {
|
|
3278
|
-
return t[i] =
|
|
3279
|
-
},
|
|
3272
|
+
return t[i] = Es(e[i], r[i]), t;
|
|
3273
|
+
}, T({}, e)) : e;
|
|
3280
3274
|
}
|
|
3281
|
-
function
|
|
3275
|
+
function bt(e) {
|
|
3282
3276
|
return {
|
|
3283
3277
|
create: function() {
|
|
3284
3278
|
return {
|
|
@@ -3292,39 +3286,39 @@ function Et(e) {
|
|
|
3292
3286
|
}
|
|
3293
3287
|
};
|
|
3294
3288
|
}
|
|
3295
|
-
function
|
|
3289
|
+
function ws(e) {
|
|
3296
3290
|
return e === void 0 && (e = {
|
|
3297
3291
|
number: {},
|
|
3298
3292
|
dateTime: {},
|
|
3299
3293
|
pluralRules: {}
|
|
3300
3294
|
}), {
|
|
3301
|
-
getNumberFormat:
|
|
3295
|
+
getNumberFormat: mt(function() {
|
|
3302
3296
|
for (var r, t = [], i = 0; i < arguments.length; i++)
|
|
3303
3297
|
t[i] = arguments[i];
|
|
3304
|
-
return new ((r = Intl.NumberFormat).bind.apply(r,
|
|
3298
|
+
return new ((r = Intl.NumberFormat).bind.apply(r, dt([void 0], t, !1)))();
|
|
3305
3299
|
}, {
|
|
3306
|
-
cache:
|
|
3307
|
-
strategy:
|
|
3300
|
+
cache: bt(e.number),
|
|
3301
|
+
strategy: gt.variadic
|
|
3308
3302
|
}),
|
|
3309
|
-
getDateTimeFormat:
|
|
3303
|
+
getDateTimeFormat: mt(function() {
|
|
3310
3304
|
for (var r, t = [], i = 0; i < arguments.length; i++)
|
|
3311
3305
|
t[i] = arguments[i];
|
|
3312
|
-
return new ((r = Intl.DateTimeFormat).bind.apply(r,
|
|
3306
|
+
return new ((r = Intl.DateTimeFormat).bind.apply(r, dt([void 0], t, !1)))();
|
|
3313
3307
|
}, {
|
|
3314
|
-
cache:
|
|
3315
|
-
strategy:
|
|
3308
|
+
cache: bt(e.dateTime),
|
|
3309
|
+
strategy: gt.variadic
|
|
3316
3310
|
}),
|
|
3317
|
-
getPluralRules:
|
|
3311
|
+
getPluralRules: mt(function() {
|
|
3318
3312
|
for (var r, t = [], i = 0; i < arguments.length; i++)
|
|
3319
3313
|
t[i] = arguments[i];
|
|
3320
|
-
return new ((r = Intl.PluralRules).bind.apply(r,
|
|
3314
|
+
return new ((r = Intl.PluralRules).bind.apply(r, dt([void 0], t, !1)))();
|
|
3321
3315
|
}, {
|
|
3322
|
-
cache:
|
|
3323
|
-
strategy:
|
|
3316
|
+
cache: bt(e.pluralRules),
|
|
3317
|
+
strategy: gt.variadic
|
|
3324
3318
|
})
|
|
3325
3319
|
};
|
|
3326
3320
|
}
|
|
3327
|
-
var
|
|
3321
|
+
var _s = (
|
|
3328
3322
|
/** @class */
|
|
3329
3323
|
function() {
|
|
3330
3324
|
function e(r, t, i, n) {
|
|
@@ -3343,7 +3337,7 @@ var Ps = (
|
|
|
3343
3337
|
}, []);
|
|
3344
3338
|
return f.length <= 1 ? f[0] || "" : f;
|
|
3345
3339
|
}, this.formatToParts = function(h) {
|
|
3346
|
-
return
|
|
3340
|
+
return et(s.ast, s.locales, s.formatters, s.formats, h, void 0, s.message);
|
|
3347
3341
|
}, this.resolvedOptions = function() {
|
|
3348
3342
|
var h;
|
|
3349
3343
|
return {
|
|
@@ -3356,13 +3350,13 @@ var Ps = (
|
|
|
3356
3350
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3357
3351
|
var a = n || {};
|
|
3358
3352
|
a.formatters;
|
|
3359
|
-
var l =
|
|
3360
|
-
this.ast = e.__parse(r,
|
|
3353
|
+
var l = In(a, ["formatters"]);
|
|
3354
|
+
this.ast = e.__parse(r, T(T({}, l), { locale: this.resolvedLocale }));
|
|
3361
3355
|
} else
|
|
3362
3356
|
this.ast = r;
|
|
3363
3357
|
if (!Array.isArray(this.ast))
|
|
3364
3358
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3365
|
-
this.formats =
|
|
3359
|
+
this.formats = vs(e.formats, i), this.formatters = n && n.formatters || ws(this.formatterCache);
|
|
3366
3360
|
}
|
|
3367
3361
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3368
3362
|
get: function() {
|
|
@@ -3375,7 +3369,7 @@ var Ps = (
|
|
|
3375
3369
|
var t = Intl.NumberFormat.supportedLocalesOf(r);
|
|
3376
3370
|
return t.length > 0 ? new Intl.Locale(t[0]) : new Intl.Locale(typeof r == "string" ? r : r[0]);
|
|
3377
3371
|
}
|
|
3378
|
-
}, e.__parse =
|
|
3372
|
+
}, e.__parse = ms, e.formats = {
|
|
3379
3373
|
number: {
|
|
3380
3374
|
integer: {
|
|
3381
3375
|
maximumFractionDigits: 0
|
|
@@ -3436,7 +3430,7 @@ var Ps = (
|
|
|
3436
3430
|
}, e;
|
|
3437
3431
|
}()
|
|
3438
3432
|
);
|
|
3439
|
-
function
|
|
3433
|
+
function Ss(e, r) {
|
|
3440
3434
|
if (r == null)
|
|
3441
3435
|
return;
|
|
3442
3436
|
if (r in e)
|
|
@@ -3457,92 +3451,92 @@ function xs(e, r) {
|
|
|
3457
3451
|
i = void 0;
|
|
3458
3452
|
return i;
|
|
3459
3453
|
}
|
|
3460
|
-
const
|
|
3454
|
+
const Oe = {}, Ps = (e, r, t) => t && (r in Oe || (Oe[r] = {}), e in Oe[r] || (Oe[r][e] = t), t), Oi = (e, r) => {
|
|
3461
3455
|
if (r == null)
|
|
3462
3456
|
return;
|
|
3463
|
-
if (r in
|
|
3464
|
-
return
|
|
3465
|
-
const t =
|
|
3457
|
+
if (r in Oe && e in Oe[r])
|
|
3458
|
+
return Oe[r][e];
|
|
3459
|
+
const t = at(r);
|
|
3466
3460
|
for (let i = 0; i < t.length; i++) {
|
|
3467
|
-
const n = t[i], s =
|
|
3461
|
+
const n = t[i], s = Cs(n, e);
|
|
3468
3462
|
if (s)
|
|
3469
|
-
return
|
|
3463
|
+
return Ps(e, r, s);
|
|
3470
3464
|
}
|
|
3471
3465
|
};
|
|
3472
|
-
let
|
|
3473
|
-
const
|
|
3474
|
-
function
|
|
3475
|
-
return
|
|
3466
|
+
let It;
|
|
3467
|
+
const Or = nt({});
|
|
3468
|
+
function xs(e) {
|
|
3469
|
+
return It[e] || null;
|
|
3476
3470
|
}
|
|
3477
|
-
function
|
|
3478
|
-
return e in
|
|
3471
|
+
function Li(e) {
|
|
3472
|
+
return e in It;
|
|
3479
3473
|
}
|
|
3480
|
-
function
|
|
3481
|
-
if (!
|
|
3474
|
+
function Cs(e, r) {
|
|
3475
|
+
if (!Li(e))
|
|
3482
3476
|
return null;
|
|
3483
|
-
const t =
|
|
3484
|
-
return
|
|
3477
|
+
const t = xs(e);
|
|
3478
|
+
return Ss(t, r);
|
|
3485
3479
|
}
|
|
3486
|
-
function
|
|
3480
|
+
function As(e) {
|
|
3487
3481
|
if (e == null)
|
|
3488
3482
|
return;
|
|
3489
|
-
const r =
|
|
3483
|
+
const r = at(e);
|
|
3490
3484
|
for (let t = 0; t < r.length; t++) {
|
|
3491
3485
|
const i = r[t];
|
|
3492
|
-
if (
|
|
3486
|
+
if (Li(i))
|
|
3493
3487
|
return i;
|
|
3494
3488
|
}
|
|
3495
3489
|
}
|
|
3496
|
-
function
|
|
3497
|
-
delete
|
|
3490
|
+
function Mi(e, ...r) {
|
|
3491
|
+
delete Oe[e], Or.update((t) => (t[e] = Bn.all([t[e] || {}, ...r]), t));
|
|
3498
3492
|
}
|
|
3499
|
-
|
|
3500
|
-
[
|
|
3493
|
+
cr(
|
|
3494
|
+
[Or],
|
|
3501
3495
|
([e]) => Object.keys(e)
|
|
3502
3496
|
);
|
|
3503
|
-
|
|
3504
|
-
const
|
|
3505
|
-
function
|
|
3506
|
-
|
|
3497
|
+
Or.subscribe((e) => It = e);
|
|
3498
|
+
const rt = {};
|
|
3499
|
+
function Ts(e, r) {
|
|
3500
|
+
rt[e].delete(r), rt[e].size === 0 && delete rt[e];
|
|
3507
3501
|
}
|
|
3508
|
-
function
|
|
3509
|
-
return
|
|
3502
|
+
function Ri(e) {
|
|
3503
|
+
return rt[e];
|
|
3510
3504
|
}
|
|
3511
|
-
function
|
|
3512
|
-
return
|
|
3513
|
-
const t =
|
|
3505
|
+
function Hs(e) {
|
|
3506
|
+
return at(e).map((r) => {
|
|
3507
|
+
const t = Ri(r);
|
|
3514
3508
|
return [r, t ? [...t] : []];
|
|
3515
3509
|
}).filter(([, r]) => r.length > 0);
|
|
3516
3510
|
}
|
|
3517
|
-
function
|
|
3518
|
-
return e == null ? !1 :
|
|
3511
|
+
function Tt(e) {
|
|
3512
|
+
return e == null ? !1 : at(e).some(
|
|
3519
3513
|
(r) => {
|
|
3520
3514
|
var t;
|
|
3521
|
-
return (t =
|
|
3515
|
+
return (t = Ri(r)) == null ? void 0 : t.size;
|
|
3522
3516
|
}
|
|
3523
3517
|
);
|
|
3524
3518
|
}
|
|
3525
|
-
function
|
|
3519
|
+
function Bs(e, r) {
|
|
3526
3520
|
return Promise.all(
|
|
3527
|
-
r.map((i) => (
|
|
3528
|
-
).then((i) =>
|
|
3529
|
-
}
|
|
3530
|
-
const
|
|
3531
|
-
function
|
|
3532
|
-
if (!
|
|
3533
|
-
return e in
|
|
3534
|
-
const r =
|
|
3535
|
-
return
|
|
3521
|
+
r.map((i) => (Ts(e, i), i().then((n) => n.default || n)))
|
|
3522
|
+
).then((i) => Mi(e, ...i));
|
|
3523
|
+
}
|
|
3524
|
+
const Ar = {};
|
|
3525
|
+
function Ui(e) {
|
|
3526
|
+
if (!Tt(e))
|
|
3527
|
+
return e in Ar ? Ar[e] : Promise.resolve();
|
|
3528
|
+
const r = Hs(e);
|
|
3529
|
+
return Ar[e] = Promise.all(
|
|
3536
3530
|
r.map(
|
|
3537
|
-
([t, i]) =>
|
|
3531
|
+
([t, i]) => Bs(t, i)
|
|
3538
3532
|
)
|
|
3539
3533
|
).then(() => {
|
|
3540
|
-
if (
|
|
3541
|
-
return
|
|
3542
|
-
delete
|
|
3543
|
-
}),
|
|
3534
|
+
if (Tt(e))
|
|
3535
|
+
return Ui(e);
|
|
3536
|
+
delete Ar[e];
|
|
3537
|
+
}), Ar[e];
|
|
3544
3538
|
}
|
|
3545
|
-
const
|
|
3539
|
+
const Is = {
|
|
3546
3540
|
number: {
|
|
3547
3541
|
scientific: { notation: "scientific" },
|
|
3548
3542
|
engineering: { notation: "engineering" },
|
|
@@ -3571,150 +3565,150 @@ const Os = {
|
|
|
3571
3565
|
timeZoneName: "short"
|
|
3572
3566
|
}
|
|
3573
3567
|
}
|
|
3574
|
-
},
|
|
3568
|
+
}, Ns = {
|
|
3575
3569
|
fallbackLocale: null,
|
|
3576
3570
|
loadingDelay: 200,
|
|
3577
|
-
formats:
|
|
3571
|
+
formats: Is,
|
|
3578
3572
|
warnOnMissingMessages: !0,
|
|
3579
3573
|
handleMissingMessage: void 0,
|
|
3580
3574
|
ignoreTag: !0
|
|
3581
|
-
},
|
|
3582
|
-
function
|
|
3583
|
-
return
|
|
3575
|
+
}, Os = Ns;
|
|
3576
|
+
function lr() {
|
|
3577
|
+
return Os;
|
|
3584
3578
|
}
|
|
3585
|
-
const
|
|
3586
|
-
var
|
|
3579
|
+
const yt = nt(!1);
|
|
3580
|
+
var Ls = Object.defineProperty, Ms = Object.defineProperties, Rs = Object.getOwnPropertyDescriptors, Kt = Object.getOwnPropertySymbols, Us = Object.prototype.hasOwnProperty, ks = Object.prototype.propertyIsEnumerable, ei = (e, r, t) => r in e ? Ls(e, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[r] = t, Fs = (e, r) => {
|
|
3587
3581
|
for (var t in r || (r = {}))
|
|
3588
|
-
|
|
3589
|
-
if (
|
|
3590
|
-
for (var t of
|
|
3591
|
-
|
|
3582
|
+
Us.call(r, t) && ei(e, t, r[t]);
|
|
3583
|
+
if (Kt)
|
|
3584
|
+
for (var t of Kt(r))
|
|
3585
|
+
ks.call(r, t) && ei(e, t, r[t]);
|
|
3592
3586
|
return e;
|
|
3593
|
-
},
|
|
3594
|
-
let
|
|
3595
|
-
const
|
|
3596
|
-
function
|
|
3587
|
+
}, Ds = (e, r) => Ms(e, Rs(r));
|
|
3588
|
+
let Ht;
|
|
3589
|
+
const tt = nt(null);
|
|
3590
|
+
function ri(e) {
|
|
3597
3591
|
return e.split("-").map((r, t, i) => i.slice(0, t + 1).join("-")).reverse();
|
|
3598
3592
|
}
|
|
3599
|
-
function
|
|
3600
|
-
const t =
|
|
3601
|
-
return r ? [.../* @__PURE__ */ new Set([...t, ...
|
|
3593
|
+
function at(e, r = lr().fallbackLocale) {
|
|
3594
|
+
const t = ri(e);
|
|
3595
|
+
return r ? [.../* @__PURE__ */ new Set([...t, ...ri(r)])] : t;
|
|
3602
3596
|
}
|
|
3603
|
-
function
|
|
3604
|
-
return
|
|
3597
|
+
function De() {
|
|
3598
|
+
return Ht != null ? Ht : void 0;
|
|
3605
3599
|
}
|
|
3606
|
-
|
|
3607
|
-
|
|
3600
|
+
tt.subscribe((e) => {
|
|
3601
|
+
Ht = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3608
3602
|
});
|
|
3609
|
-
const
|
|
3610
|
-
if (e &&
|
|
3611
|
-
const { loadingDelay: r } =
|
|
3603
|
+
const Gs = (e) => {
|
|
3604
|
+
if (e && As(e) && Tt(e)) {
|
|
3605
|
+
const { loadingDelay: r } = lr();
|
|
3612
3606
|
let t;
|
|
3613
|
-
return typeof window != "undefined" &&
|
|
3614
|
-
() =>
|
|
3607
|
+
return typeof window != "undefined" && De() != null && r ? t = window.setTimeout(
|
|
3608
|
+
() => yt.set(!0),
|
|
3615
3609
|
r
|
|
3616
|
-
) :
|
|
3617
|
-
|
|
3610
|
+
) : yt.set(!0), Ui(e).then(() => {
|
|
3611
|
+
tt.set(e);
|
|
3618
3612
|
}).finally(() => {
|
|
3619
|
-
clearTimeout(t),
|
|
3613
|
+
clearTimeout(t), yt.set(!1);
|
|
3620
3614
|
});
|
|
3621
3615
|
}
|
|
3622
|
-
return
|
|
3623
|
-
},
|
|
3624
|
-
set:
|
|
3625
|
-
}),
|
|
3616
|
+
return tt.set(e);
|
|
3617
|
+
}, hr = Ds(Fs({}, tt), {
|
|
3618
|
+
set: Gs
|
|
3619
|
+
}), lt = (e) => {
|
|
3626
3620
|
const r = /* @__PURE__ */ Object.create(null);
|
|
3627
3621
|
return (i) => {
|
|
3628
3622
|
const n = JSON.stringify(i);
|
|
3629
3623
|
return n in r ? r[n] : r[n] = e(i);
|
|
3630
3624
|
};
|
|
3631
3625
|
};
|
|
3632
|
-
var
|
|
3626
|
+
var js = Object.defineProperty, it = Object.getOwnPropertySymbols, ki = Object.prototype.hasOwnProperty, Fi = Object.prototype.propertyIsEnumerable, ti = (e, r, t) => r in e ? js(e, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[r] = t, Nt = (e, r) => {
|
|
3633
3627
|
for (var t in r || (r = {}))
|
|
3634
|
-
|
|
3635
|
-
if (
|
|
3636
|
-
for (var t of
|
|
3637
|
-
|
|
3628
|
+
ki.call(r, t) && ti(e, t, r[t]);
|
|
3629
|
+
if (it)
|
|
3630
|
+
for (var t of it(r))
|
|
3631
|
+
Fi.call(r, t) && ti(e, t, r[t]);
|
|
3638
3632
|
return e;
|
|
3639
|
-
},
|
|
3633
|
+
}, fr = (e, r) => {
|
|
3640
3634
|
var t = {};
|
|
3641
3635
|
for (var i in e)
|
|
3642
|
-
|
|
3643
|
-
if (e != null &&
|
|
3644
|
-
for (var i of
|
|
3645
|
-
r.indexOf(i) < 0 &&
|
|
3636
|
+
ki.call(e, i) && r.indexOf(i) < 0 && (t[i] = e[i]);
|
|
3637
|
+
if (e != null && it)
|
|
3638
|
+
for (var i of it(e))
|
|
3639
|
+
r.indexOf(i) < 0 && Fi.call(e, i) && (t[i] = e[i]);
|
|
3646
3640
|
return t;
|
|
3647
3641
|
};
|
|
3648
|
-
const
|
|
3649
|
-
const { formats: t } =
|
|
3642
|
+
const Nr = (e, r) => {
|
|
3643
|
+
const { formats: t } = lr();
|
|
3650
3644
|
if (e in t && r in t[e])
|
|
3651
3645
|
return t[e][r];
|
|
3652
3646
|
throw new Error(`[svelte-i18n] Unknown "${r}" ${e} format.`);
|
|
3653
|
-
},
|
|
3647
|
+
}, Vs = lt(
|
|
3654
3648
|
(e) => {
|
|
3655
|
-
var r = e, { locale: t, format: i } = r, n =
|
|
3649
|
+
var r = e, { locale: t, format: i } = r, n = fr(r, ["locale", "format"]);
|
|
3656
3650
|
if (t == null)
|
|
3657
3651
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3658
|
-
return i && (n =
|
|
3652
|
+
return i && (n = Nr("number", i)), new Intl.NumberFormat(t, n);
|
|
3659
3653
|
}
|
|
3660
|
-
),
|
|
3654
|
+
), $s = lt(
|
|
3661
3655
|
(e) => {
|
|
3662
|
-
var r = e, { locale: t, format: i } = r, n =
|
|
3656
|
+
var r = e, { locale: t, format: i } = r, n = fr(r, ["locale", "format"]);
|
|
3663
3657
|
if (t == null)
|
|
3664
3658
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3665
|
-
return i ? n =
|
|
3659
|
+
return i ? n = Nr("date", i) : Object.keys(n).length === 0 && (n = Nr("date", "short")), new Intl.DateTimeFormat(t, n);
|
|
3666
3660
|
}
|
|
3667
|
-
),
|
|
3661
|
+
), Qs = lt(
|
|
3668
3662
|
(e) => {
|
|
3669
|
-
var r = e, { locale: t, format: i } = r, n =
|
|
3663
|
+
var r = e, { locale: t, format: i } = r, n = fr(r, ["locale", "format"]);
|
|
3670
3664
|
if (t == null)
|
|
3671
3665
|
throw new Error(
|
|
3672
3666
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
3673
3667
|
);
|
|
3674
|
-
return i ? n =
|
|
3668
|
+
return i ? n = Nr("time", i) : Object.keys(n).length === 0 && (n = Nr("time", "short")), new Intl.DateTimeFormat(t, n);
|
|
3675
3669
|
}
|
|
3676
|
-
),
|
|
3670
|
+
), zs = (e = {}) => {
|
|
3677
3671
|
var r = e, {
|
|
3678
|
-
locale: t =
|
|
3679
|
-
} = r, i =
|
|
3672
|
+
locale: t = De()
|
|
3673
|
+
} = r, i = fr(r, [
|
|
3680
3674
|
"locale"
|
|
3681
3675
|
]);
|
|
3682
|
-
return
|
|
3683
|
-
},
|
|
3676
|
+
return Vs(Nt({ locale: t }, i));
|
|
3677
|
+
}, Xs = (e = {}) => {
|
|
3684
3678
|
var r = e, {
|
|
3685
|
-
locale: t =
|
|
3686
|
-
} = r, i =
|
|
3679
|
+
locale: t = De()
|
|
3680
|
+
} = r, i = fr(r, [
|
|
3687
3681
|
"locale"
|
|
3688
3682
|
]);
|
|
3689
|
-
return
|
|
3690
|
-
},
|
|
3683
|
+
return $s(Nt({ locale: t }, i));
|
|
3684
|
+
}, Zs = (e = {}) => {
|
|
3691
3685
|
var r = e, {
|
|
3692
|
-
locale: t =
|
|
3693
|
-
} = r, i =
|
|
3686
|
+
locale: t = De()
|
|
3687
|
+
} = r, i = fr(r, [
|
|
3694
3688
|
"locale"
|
|
3695
3689
|
]);
|
|
3696
|
-
return
|
|
3697
|
-
},
|
|
3690
|
+
return Qs(Nt({ locale: t }, i));
|
|
3691
|
+
}, Ws = lt(
|
|
3698
3692
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3699
|
-
(e, r =
|
|
3700
|
-
ignoreTag:
|
|
3693
|
+
(e, r = De()) => new _s(e, r, lr().formats, {
|
|
3694
|
+
ignoreTag: lr().ignoreTag
|
|
3701
3695
|
})
|
|
3702
|
-
),
|
|
3696
|
+
), qs = (e, r = {}) => {
|
|
3703
3697
|
var t, i, n, s;
|
|
3704
3698
|
let a = r;
|
|
3705
3699
|
typeof e == "object" && (a = e, e = a.id);
|
|
3706
3700
|
const {
|
|
3707
3701
|
values: l,
|
|
3708
|
-
locale: h =
|
|
3702
|
+
locale: h = De(),
|
|
3709
3703
|
default: c
|
|
3710
3704
|
} = a;
|
|
3711
3705
|
if (h == null)
|
|
3712
3706
|
throw new Error(
|
|
3713
3707
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
3714
3708
|
);
|
|
3715
|
-
let f =
|
|
3709
|
+
let f = Oi(e, h);
|
|
3716
3710
|
if (!f)
|
|
3717
|
-
f = (s = (n = (i = (t =
|
|
3711
|
+
f = (s = (n = (i = (t = lr()).handleMissingMessage) == null ? void 0 : i.call(t, { locale: h, id: e, defaultValue: c })) != null ? n : c) != null ? s : e;
|
|
3718
3712
|
else if (typeof f != "string")
|
|
3719
3713
|
return console.warn(
|
|
3720
3714
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof f}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
@@ -3723,7 +3717,7 @@ const Or = (e, r) => {
|
|
|
3723
3717
|
return f;
|
|
3724
3718
|
let m = f;
|
|
3725
3719
|
try {
|
|
3726
|
-
m =
|
|
3720
|
+
m = Ws(f, h).format(l);
|
|
3727
3721
|
} catch (g) {
|
|
3728
3722
|
g instanceof Error && console.warn(
|
|
3729
3723
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -3731,18 +3725,18 @@ const Or = (e, r) => {
|
|
|
3731
3725
|
);
|
|
3732
3726
|
}
|
|
3733
3727
|
return m;
|
|
3734
|
-
},
|
|
3735
|
-
|
|
3736
|
-
|
|
3737
|
-
|
|
3738
|
-
|
|
3739
|
-
function
|
|
3740
|
-
|
|
3741
|
-
}
|
|
3742
|
-
function
|
|
3743
|
-
|
|
3744
|
-
}
|
|
3745
|
-
const
|
|
3728
|
+
}, Js = (e, r) => Zs(r).format(e), Ys = (e, r) => Xs(r).format(e), Ks = (e, r) => zs(r).format(e), eo = (e, r = De()) => Oi(e, r), ro = cr([hr, Or], () => qs);
|
|
3729
|
+
cr([hr], () => Js);
|
|
3730
|
+
cr([hr], () => Ys);
|
|
3731
|
+
cr([hr], () => Ks);
|
|
3732
|
+
cr([hr, Or], () => eo);
|
|
3733
|
+
function ii(e, r) {
|
|
3734
|
+
Mi(e, r);
|
|
3735
|
+
}
|
|
3736
|
+
function to(e) {
|
|
3737
|
+
hr.set(e);
|
|
3738
|
+
}
|
|
3739
|
+
const ni = {
|
|
3746
3740
|
en: {
|
|
3747
3741
|
registerTitle: "Create your account",
|
|
3748
3742
|
registerSubtitle: "Already have an account?",
|
|
@@ -3997,13 +3991,13 @@ const oi = {
|
|
|
3997
3991
|
registerNext: "Next"
|
|
3998
3992
|
}
|
|
3999
3993
|
};
|
|
4000
|
-
function
|
|
3994
|
+
function io(e, r) {
|
|
4001
3995
|
if (e) {
|
|
4002
3996
|
const t = document.createElement("style");
|
|
4003
3997
|
t.innerHTML = r, e.appendChild(t);
|
|
4004
3998
|
}
|
|
4005
3999
|
}
|
|
4006
|
-
function
|
|
4000
|
+
function no(e, r) {
|
|
4007
4001
|
const t = new URL(r);
|
|
4008
4002
|
fetch(t.href).then((i) => i.text()).then((i) => {
|
|
4009
4003
|
const n = document.createElement("style");
|
|
@@ -4012,7 +4006,7 @@ function oo(e, r) {
|
|
|
4012
4006
|
console.error("There was an error while trying to load client styling from URL", i);
|
|
4013
4007
|
});
|
|
4014
4008
|
}
|
|
4015
|
-
function
|
|
4009
|
+
function so(e, r, t) {
|
|
4016
4010
|
if (window.emMessageBus) {
|
|
4017
4011
|
const i = document.createElement("style");
|
|
4018
4012
|
window.emMessageBus.subscribe(r, (n) => {
|
|
@@ -4020,17 +4014,17 @@ function ao(e, r, t) {
|
|
|
4020
4014
|
});
|
|
4021
4015
|
}
|
|
4022
4016
|
}
|
|
4023
|
-
function
|
|
4024
|
-
|
|
4017
|
+
function oo(e) {
|
|
4018
|
+
Xi(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}");
|
|
4025
4019
|
}
|
|
4026
|
-
function
|
|
4020
|
+
function si(e) {
|
|
4027
4021
|
let r, t = (
|
|
4028
4022
|
/*$_*/
|
|
4029
4023
|
e[30]("registerEmailError") + ""
|
|
4030
4024
|
), i;
|
|
4031
4025
|
return {
|
|
4032
4026
|
c() {
|
|
4033
|
-
r = v("p"), i =
|
|
4027
|
+
r = v("p"), i = H(t), o(r, "class", "InvalidInput");
|
|
4034
4028
|
},
|
|
4035
4029
|
m(n, s) {
|
|
4036
4030
|
ue(n, r, s), u(r, i);
|
|
@@ -4045,14 +4039,14 @@ function ai(e) {
|
|
|
4045
4039
|
}
|
|
4046
4040
|
};
|
|
4047
4041
|
}
|
|
4048
|
-
function
|
|
4042
|
+
function oi(e) {
|
|
4049
4043
|
let r, t = (
|
|
4050
4044
|
/*$_*/
|
|
4051
4045
|
e[30]("registerUsernameError") + ""
|
|
4052
4046
|
), i;
|
|
4053
4047
|
return {
|
|
4054
4048
|
c() {
|
|
4055
|
-
r = v("p"), i =
|
|
4049
|
+
r = v("p"), i = H(t), o(r, "class", "InvalidInput");
|
|
4056
4050
|
},
|
|
4057
4051
|
m(n, s) {
|
|
4058
4052
|
ue(n, r, s), u(r, i);
|
|
@@ -4067,11 +4061,11 @@ function li(e) {
|
|
|
4067
4061
|
}
|
|
4068
4062
|
};
|
|
4069
4063
|
}
|
|
4070
|
-
function
|
|
4064
|
+
function ao(e) {
|
|
4071
4065
|
let r, t, i, n, s, a, l, h, c;
|
|
4072
4066
|
return {
|
|
4073
4067
|
c() {
|
|
4074
|
-
r =
|
|
4068
|
+
r = _("svg"), t = _("defs"), i = _("style"), n = H(".a{fill:var(--emw--registration-typography, var(--emw--color-background, #07072A));}"), s = _("g"), a = _("path"), l = _("circle"), o(a, "class", "a"), o(a, "d", "M23.541,38.332a11.467,11.467,0,0,1-4.886-1.611,34.413,34.413,0,0,1-3.976-2.469,1.1,1.1,0,0,1-.494-.936,1.21,1.21,0,0,1,.442-.962A37.986,37.986,0,0,1,18.6,29.625a16.06,16.06,0,0,1,2.521-1.248,6.862,6.862,0,0,1,2.417-.546,6.862,6.862,0,0,1,2.417.546,20.541,20.541,0,0,1,2.547,1.248,45.872,45.872,0,0,1,4.054,2.729,1.159,1.159,0,0,1,.468.962,1.067,1.067,0,0,1-.52.936,36.353,36.353,0,0,1-4.054,2.469A11.2,11.2,0,0,1,23.541,38.332Zm0-9.46a9.813,9.813,0,0,0-4.392,1.663,44.138,44.138,0,0,0-3.873,2.651.13.13,0,0,0,0,.208,36.5,36.5,0,0,0,3.873,2.391,10.372,10.372,0,0,0,4.392,1.481,11.051,11.051,0,0,0,4.444-1.481,40.2,40.2,0,0,0,3.925-2.391.13.13,0,0,0,0-.208h0a34.132,34.132,0,0,0-3.925-2.651A10.072,10.072,0,0,0,23.541,28.872Z"), o(a, "transform", "translate(0)"), o(l, "class", "a"), o(l, "cx", "2.779"), o(l, "cy", "2.779"), o(l, "r", "2.779"), o(l, "transform", "translate(20.827 30.303)"), o(s, "transform", "translate(-14.185 -27.832)"), o(r, "class", "TogglePasswordVisibility"), o(r, "xmlns", "http://www.w3.org/2000/svg"), o(r, "width", "18.843"), o(r, "height", "10.5"), o(r, "viewBox", "0 0 18.843 10.5");
|
|
4075
4069
|
},
|
|
4076
4070
|
m(f, m) {
|
|
4077
4071
|
ue(f, r, m), u(r, t), u(t, i), u(i, n), u(r, s), u(s, a), u(s, l), h || (c = x(
|
|
@@ -4087,34 +4081,34 @@ function uo(e) {
|
|
|
4087
4081
|
}
|
|
4088
4082
|
};
|
|
4089
4083
|
}
|
|
4090
|
-
function
|
|
4091
|
-
let r, t, i, n, s, a, l, h, c, f, m, g, b,
|
|
4084
|
+
function lo(e) {
|
|
4085
|
+
let r, t, i, n, s, a, l, h, c, f, m, g, b, w, E;
|
|
4092
4086
|
return {
|
|
4093
4087
|
c() {
|
|
4094
|
-
r =
|
|
4088
|
+
r = _("svg"), t = _("defs"), i = _("style"), n = H(".a{fill:var(--emw--registration-typography, var(--emw--color-background, #07072A));}"), s = _("g"), a = _("circle"), l = _("g"), h = _("path"), c = _("path"), f = _("g"), m = _("path"), g = _("path"), b = _("rect"), o(a, "class", "a"), o(a, "cx", "0.05"), o(a, "cy", "0.05"), o(a, "r", "0.05"), o(a, "transform", "translate(121.017 31.148)"), o(h, "class", "a"), o(h, "d", "M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"), o(h, "transform", "translate(-142.164 -39.123)"), o(c, "class", "a"), o(c, "d", "M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"), o(c, "transform", "translate(-136.413 -42.068)"), o(l, "transform", "translate(117.499 27.37)"), o(m, "class", "a"), o(m, "d", "M122.538,42.061a7.043,7.043,0,0,1-2.325.53,10.373,10.373,0,0,1-4.393-1.482,36.509,36.509,0,0,1-3.873-2.391.13.13,0,0,1,0-.208,44.141,44.141,0,0,1,3.873-2.651c.394-.233.768-.437,1.13-.622l-.686-.838c-.322.167-.651.347-.99.55a37.989,37.989,0,0,0-3.977,2.729,1.21,1.21,0,0,0-.442.962,1.1,1.1,0,0,0,.494.936,34.416,34.416,0,0,0,3.977,2.469,11.468,11.468,0,0,0,4.886,1.611,8.427,8.427,0,0,0,3.039-.725Z"), o(m, "transform", "translate(-110.856 -33.157)"), o(g, "class", "a"), o(g, "d", "M149.119,34.14a45.875,45.875,0,0,0-4.055-2.729,20.541,20.541,0,0,0-2.547-1.248,5.6,5.6,0,0,0-4.79-.017l.7.856a5.254,5.254,0,0,1,1.672-.346,10.072,10.072,0,0,1,4.445,1.663,34.132,34.132,0,0,1,3.925,2.651.13.13,0,0,1,0,.208,40.2,40.2,0,0,1-3.925,2.391c-.179.092-.352.176-.525.26l.684.835c.1-.054.2-.1.309-.159a36.356,36.356,0,0,0,4.055-2.469,1.067,1.067,0,0,0,.52-.936A1.159,1.159,0,0,0,149.119,34.14Z"), o(g, "transform", "translate(-130.743 -29.617)"), o(f, "transform", "translate(110.856 24.899)"), o(b, "class", "a"), o(b, "width", "0.972"), o(b, "height", "15.861"), o(b, "rx", "0.486"), o(b, "transform", "translate(114.827 23.858) rotate(-39.315)"), o(s, "transform", "translate(-110.856 -23.242)"), o(r, "class", "TogglePasswordVisibility"), o(r, "xmlns", "http://www.w3.org/2000/svg"), o(r, "width", "18.844"), o(r, "height", "12.887"), o(r, "viewBox", "0 0 18.844 12.887");
|
|
4095
4089
|
},
|
|
4096
|
-
m(A,
|
|
4097
|
-
ue(A, r,
|
|
4090
|
+
m(A, O) {
|
|
4091
|
+
ue(A, r, O), u(r, t), u(t, i), u(i, n), u(r, s), u(s, a), u(s, l), u(l, h), u(l, c), u(s, f), u(f, m), u(f, g), u(s, b), w || (E = x(
|
|
4098
4092
|
r,
|
|
4099
4093
|
"click",
|
|
4100
4094
|
/*click_handler_1*/
|
|
4101
4095
|
e[61]
|
|
4102
|
-
),
|
|
4096
|
+
), w = !0);
|
|
4103
4097
|
},
|
|
4104
4098
|
p: z,
|
|
4105
4099
|
d(A) {
|
|
4106
|
-
A && ie(r),
|
|
4100
|
+
A && ie(r), w = !1, E();
|
|
4107
4101
|
}
|
|
4108
4102
|
};
|
|
4109
4103
|
}
|
|
4110
|
-
function
|
|
4104
|
+
function ai(e) {
|
|
4111
4105
|
let r, t = (
|
|
4112
4106
|
/*$_*/
|
|
4113
4107
|
e[30]("registerPasswordError") + ""
|
|
4114
4108
|
), i;
|
|
4115
4109
|
return {
|
|
4116
4110
|
c() {
|
|
4117
|
-
r = v("p"), i =
|
|
4111
|
+
r = v("p"), i = H(t), o(r, "class", "InvalidInput");
|
|
4118
4112
|
},
|
|
4119
4113
|
m(n, s) {
|
|
4120
4114
|
ue(n, r, s), u(r, i);
|
|
@@ -4129,14 +4123,14 @@ function ui(e) {
|
|
|
4129
4123
|
}
|
|
4130
4124
|
};
|
|
4131
4125
|
}
|
|
4132
|
-
function
|
|
4126
|
+
function li(e) {
|
|
4133
4127
|
let r, t = (
|
|
4134
4128
|
/*$_*/
|
|
4135
4129
|
e[30]("registerSimplePasswordError") + ""
|
|
4136
4130
|
), i;
|
|
4137
4131
|
return {
|
|
4138
4132
|
c() {
|
|
4139
|
-
r = v("p"), i =
|
|
4133
|
+
r = v("p"), i = H(t), o(r, "class", "InvalidInput");
|
|
4140
4134
|
},
|
|
4141
4135
|
m(n, s) {
|
|
4142
4136
|
ue(n, r, s), u(r, i);
|
|
@@ -4151,11 +4145,11 @@ function ci(e) {
|
|
|
4151
4145
|
}
|
|
4152
4146
|
};
|
|
4153
4147
|
}
|
|
4154
|
-
function
|
|
4148
|
+
function uo(e) {
|
|
4155
4149
|
let r, t, i, n, s, a, l, h, c;
|
|
4156
4150
|
return {
|
|
4157
4151
|
c() {
|
|
4158
|
-
r =
|
|
4152
|
+
r = _("svg"), t = _("defs"), i = _("style"), n = H(".a{fill:var(--emw--registration-typography, var(--emw--color-background, #07072A));}"), s = _("g"), a = _("path"), l = _("circle"), o(a, "class", "a"), o(a, "d", "M23.541,38.332a11.467,11.467,0,0,1-4.886-1.611,34.413,34.413,0,0,1-3.976-2.469,1.1,1.1,0,0,1-.494-.936,1.21,1.21,0,0,1,.442-.962A37.986,37.986,0,0,1,18.6,29.625a16.06,16.06,0,0,1,2.521-1.248,6.862,6.862,0,0,1,2.417-.546,6.862,6.862,0,0,1,2.417.546,20.541,20.541,0,0,1,2.547,1.248,45.872,45.872,0,0,1,4.054,2.729,1.159,1.159,0,0,1,.468.962,1.067,1.067,0,0,1-.52.936,36.353,36.353,0,0,1-4.054,2.469A11.2,11.2,0,0,1,23.541,38.332Zm0-9.46a9.813,9.813,0,0,0-4.392,1.663,44.138,44.138,0,0,0-3.873,2.651.13.13,0,0,0,0,.208,36.5,36.5,0,0,0,3.873,2.391,10.372,10.372,0,0,0,4.392,1.481,11.051,11.051,0,0,0,4.444-1.481,40.2,40.2,0,0,0,3.925-2.391.13.13,0,0,0,0-.208h0a34.132,34.132,0,0,0-3.925-2.651A10.072,10.072,0,0,0,23.541,28.872Z"), o(a, "transform", "translate(0)"), o(l, "class", "a"), o(l, "cx", "2.779"), o(l, "cy", "2.779"), o(l, "r", "2.779"), o(l, "transform", "translate(20.827 30.303)"), o(s, "transform", "translate(-14.185 -27.832)"), o(r, "class", "ToggleConfirmPasswordVisibility"), o(r, "xmlns", "http://www.w3.org/2000/svg"), o(r, "width", "18.843"), o(r, "height", "10.5"), o(r, "viewBox", "0 0 18.843 10.5");
|
|
4159
4153
|
},
|
|
4160
4154
|
m(f, m) {
|
|
4161
4155
|
ue(f, r, m), u(r, t), u(t, i), u(i, n), u(r, s), u(s, a), u(s, l), h || (c = x(
|
|
@@ -4171,34 +4165,34 @@ function ho(e) {
|
|
|
4171
4165
|
}
|
|
4172
4166
|
};
|
|
4173
4167
|
}
|
|
4174
|
-
function
|
|
4175
|
-
let r, t, i, n, s, a, l, h, c, f, m, g, b,
|
|
4168
|
+
function co(e) {
|
|
4169
|
+
let r, t, i, n, s, a, l, h, c, f, m, g, b, w, E;
|
|
4176
4170
|
return {
|
|
4177
4171
|
c() {
|
|
4178
|
-
r =
|
|
4172
|
+
r = _("svg"), t = _("defs"), i = _("style"), n = H(".a{fill:var(--emw--registration-typography, var(--emw--color-background, #07072A));}"), s = _("g"), a = _("circle"), l = _("g"), h = _("path"), c = _("path"), f = _("g"), m = _("path"), g = _("path"), b = _("rect"), o(a, "class", "a"), o(a, "cx", "0.05"), o(a, "cy", "0.05"), o(a, "r", "0.05"), o(a, "transform", "translate(121.017 31.148)"), o(h, "class", "a"), o(h, "d", "M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"), o(h, "transform", "translate(-142.164 -39.123)"), o(c, "class", "a"), o(c, "d", "M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"), o(c, "transform", "translate(-136.413 -42.068)"), o(l, "transform", "translate(117.499 27.37)"), o(m, "class", "a"), o(m, "d", "M122.538,42.061a7.043,7.043,0,0,1-2.325.53,10.373,10.373,0,0,1-4.393-1.482,36.509,36.509,0,0,1-3.873-2.391.13.13,0,0,1,0-.208,44.141,44.141,0,0,1,3.873-2.651c.394-.233.768-.437,1.13-.622l-.686-.838c-.322.167-.651.347-.99.55a37.989,37.989,0,0,0-3.977,2.729,1.21,1.21,0,0,0-.442.962,1.1,1.1,0,0,0,.494.936,34.416,34.416,0,0,0,3.977,2.469,11.468,11.468,0,0,0,4.886,1.611,8.427,8.427,0,0,0,3.039-.725Z"), o(m, "transform", "translate(-110.856 -33.157)"), o(g, "class", "a"), o(g, "d", "M149.119,34.14a45.875,45.875,0,0,0-4.055-2.729,20.541,20.541,0,0,0-2.547-1.248,5.6,5.6,0,0,0-4.79-.017l.7.856a5.254,5.254,0,0,1,1.672-.346,10.072,10.072,0,0,1,4.445,1.663,34.132,34.132,0,0,1,3.925,2.651.13.13,0,0,1,0,.208,40.2,40.2,0,0,1-3.925,2.391c-.179.092-.352.176-.525.26l.684.835c.1-.054.2-.1.309-.159a36.356,36.356,0,0,0,4.055-2.469,1.067,1.067,0,0,0,.52-.936A1.159,1.159,0,0,0,149.119,34.14Z"), o(g, "transform", "translate(-130.743 -29.617)"), o(f, "transform", "translate(110.856 24.899)"), o(b, "class", "a"), o(b, "width", "0.972"), o(b, "height", "15.861"), o(b, "rx", "0.486"), o(b, "transform", "translate(114.827 23.858) rotate(-39.315)"), o(s, "transform", "translate(-110.856 -23.242)"), o(r, "class", "ToggleConfirmPasswordVisibility"), o(r, "xmlns", "http://www.w3.org/2000/svg"), o(r, "width", "18.844"), o(r, "height", "12.887"), o(r, "viewBox", "0 0 18.844 12.887");
|
|
4179
4173
|
},
|
|
4180
|
-
m(A,
|
|
4181
|
-
ue(A, r,
|
|
4174
|
+
m(A, O) {
|
|
4175
|
+
ue(A, r, O), u(r, t), u(t, i), u(i, n), u(r, s), u(s, a), u(s, l), u(l, h), u(l, c), u(s, f), u(f, m), u(f, g), u(s, b), w || (E = x(
|
|
4182
4176
|
r,
|
|
4183
4177
|
"click",
|
|
4184
4178
|
/*click_handler_3*/
|
|
4185
4179
|
e[67]
|
|
4186
|
-
),
|
|
4180
|
+
), w = !0);
|
|
4187
4181
|
},
|
|
4188
4182
|
p: z,
|
|
4189
4183
|
d(A) {
|
|
4190
|
-
A && ie(r),
|
|
4184
|
+
A && ie(r), w = !1, E();
|
|
4191
4185
|
}
|
|
4192
4186
|
};
|
|
4193
4187
|
}
|
|
4194
|
-
function
|
|
4188
|
+
function ui(e) {
|
|
4195
4189
|
let r, t = (
|
|
4196
4190
|
/*$_*/
|
|
4197
4191
|
e[30]("registerConfirmPasswordError") + ""
|
|
4198
4192
|
), i;
|
|
4199
4193
|
return {
|
|
4200
4194
|
c() {
|
|
4201
|
-
r = v("p"), i =
|
|
4195
|
+
r = v("p"), i = H(t), o(r, "class", "InvalidInput");
|
|
4202
4196
|
},
|
|
4203
4197
|
m(n, s) {
|
|
4204
4198
|
ue(n, r, s), u(r, i);
|
|
@@ -4213,7 +4207,7 @@ function hi(e) {
|
|
|
4213
4207
|
}
|
|
4214
4208
|
};
|
|
4215
4209
|
}
|
|
4216
|
-
function
|
|
4210
|
+
function ci(e) {
|
|
4217
4211
|
let r, t = (
|
|
4218
4212
|
/*custominputtextswitch*/
|
|
4219
4213
|
(e[2] == "true" ? (
|
|
@@ -4226,7 +4220,7 @@ function fi(e) {
|
|
|
4226
4220
|
), i;
|
|
4227
4221
|
return {
|
|
4228
4222
|
c() {
|
|
4229
|
-
r = v("p"), i =
|
|
4223
|
+
r = v("p"), i = H(t), o(r, "class", "InvalidInput");
|
|
4230
4224
|
},
|
|
4231
4225
|
m(n, s) {
|
|
4232
4226
|
ue(n, r, s), u(r, i);
|
|
@@ -4247,7 +4241,7 @@ function fi(e) {
|
|
|
4247
4241
|
}
|
|
4248
4242
|
};
|
|
4249
4243
|
}
|
|
4250
|
-
function
|
|
4244
|
+
function hi(e) {
|
|
4251
4245
|
let r, t = (
|
|
4252
4246
|
/*custominputtextswitch*/
|
|
4253
4247
|
(e[2] == "true" ? (
|
|
@@ -4260,7 +4254,7 @@ function di(e) {
|
|
|
4260
4254
|
), i;
|
|
4261
4255
|
return {
|
|
4262
4256
|
c() {
|
|
4263
|
-
r = v("p"), i =
|
|
4257
|
+
r = v("p"), i = H(t), o(r, "class", "InvalidInput");
|
|
4264
4258
|
},
|
|
4265
4259
|
m(n, s) {
|
|
4266
4260
|
ue(n, r, s), u(r, i);
|
|
@@ -4281,7 +4275,7 @@ function di(e) {
|
|
|
4281
4275
|
}
|
|
4282
4276
|
};
|
|
4283
4277
|
}
|
|
4284
|
-
function
|
|
4278
|
+
function ho(e) {
|
|
4285
4279
|
let r, t, i, n = (
|
|
4286
4280
|
/*$_*/
|
|
4287
4281
|
e[30]("registerTitle") + ""
|
|
@@ -4291,22 +4285,22 @@ function mo(e) {
|
|
|
4291
4285
|
), c, f, m, g = (
|
|
4292
4286
|
/*$_*/
|
|
4293
4287
|
e[30]("registerSubtitleLogin") + ""
|
|
4294
|
-
), b,
|
|
4288
|
+
), b, w, E, A, O, M = (
|
|
4295
4289
|
/*$_*/
|
|
4296
4290
|
e[30]("registerEmail") + ""
|
|
4297
|
-
), R, ce, G, ge, U,
|
|
4291
|
+
), R, ce, G, ge, U, Ge, Ae, je, k, X, he = (
|
|
4298
4292
|
/*$_*/
|
|
4299
4293
|
e[30]("registerUsername") + ""
|
|
4300
|
-
), pe, ne, V,
|
|
4294
|
+
), pe, ne, V, Te, F, xe, He, Ee, be, C, ve, Z = (
|
|
4301
4295
|
/*$_*/
|
|
4302
4296
|
e[30]("registerPassword") + ""
|
|
4303
|
-
),
|
|
4297
|
+
), we, Lr, Le, Mr, B, Me, dr, mr, Ve, Re, Ue, gr, j, Ce, $e = (
|
|
4304
4298
|
/*$_*/
|
|
4305
4299
|
e[30]("registerConfirmPassword") + ""
|
|
4306
|
-
),
|
|
4300
|
+
), Qe, Rr, Be, pr, $, br, ze, ke, Ur, _e, Fe, Xe = (
|
|
4307
4301
|
/*$_*/
|
|
4308
4302
|
e[30]("registerPromoCode") + ""
|
|
4309
|
-
),
|
|
4303
|
+
), yr, kr, Fr, se, Dr, Ze, Gr, fe, Ie, We = (
|
|
4310
4304
|
/*custominputtextswitch*/
|
|
4311
4305
|
(e[2] == "true" ? (
|
|
4312
4306
|
/*$_*/
|
|
@@ -4315,7 +4309,7 @@ function mo(e) {
|
|
|
4315
4309
|
/*$_*/
|
|
4316
4310
|
e[30]("registerSecurityQuestion")
|
|
4317
4311
|
)) + ""
|
|
4318
|
-
),
|
|
4312
|
+
), Er, jr, qe, Vr, oe, $r, Je, Qr, de, Ne, Ye = (
|
|
4319
4313
|
/*custominputtextswitch*/
|
|
4320
4314
|
(e[2] == "true" ? (
|
|
4321
4315
|
/*$_*/
|
|
@@ -4324,105 +4318,105 @@ function mo(e) {
|
|
|
4324
4318
|
/*$_*/
|
|
4325
4319
|
e[30]("registerSecurityAnswer")
|
|
4326
4320
|
)) + ""
|
|
4327
|
-
),
|
|
4321
|
+
), vr, zr, Ke, Xr, ae, Zr, er, p, N, le = (
|
|
4328
4322
|
/*$_*/
|
|
4329
4323
|
e[30]("registerNext") + ""
|
|
4330
|
-
),
|
|
4324
|
+
), ut, Wr, ct, Ot, W = (
|
|
4331
4325
|
/*invalidEmail*/
|
|
4332
|
-
e[4] &&
|
|
4326
|
+
e[4] && si(e)
|
|
4333
4327
|
), q = (
|
|
4334
4328
|
/*invalidName*/
|
|
4335
|
-
e[5] &&
|
|
4329
|
+
e[5] && oi(e)
|
|
4336
4330
|
);
|
|
4337
|
-
function
|
|
4331
|
+
function Lt(d, y) {
|
|
4338
4332
|
return (
|
|
4339
4333
|
/*isPasswordVisible*/
|
|
4340
|
-
d[25] ?
|
|
4334
|
+
d[25] ? lo : ao
|
|
4341
4335
|
);
|
|
4342
4336
|
}
|
|
4343
|
-
let
|
|
4337
|
+
let qr = Lt(e), Se = qr(e), J = (
|
|
4344
4338
|
/*invalidPassword*/
|
|
4345
4339
|
e[6] && /*simplepasswordvalidation*/
|
|
4346
|
-
e[0] !== "true" &&
|
|
4340
|
+
e[0] !== "true" && ai(e)
|
|
4347
4341
|
), Y = (
|
|
4348
4342
|
/*invalidPassword*/
|
|
4349
4343
|
e[6] && /*simplepasswordvalidation*/
|
|
4350
|
-
e[0] === "true" &&
|
|
4344
|
+
e[0] === "true" && li(e)
|
|
4351
4345
|
);
|
|
4352
|
-
function
|
|
4346
|
+
function Mt(d, y) {
|
|
4353
4347
|
return (
|
|
4354
4348
|
/*isConfirmPasswordVisible*/
|
|
4355
|
-
d[26] ?
|
|
4349
|
+
d[26] ? co : uo
|
|
4356
4350
|
);
|
|
4357
4351
|
}
|
|
4358
|
-
let
|
|
4352
|
+
let Jr = Mt(e), Pe = Jr(e), K = (
|
|
4359
4353
|
/*invalidConfirmPassword*/
|
|
4360
|
-
e[7] &&
|
|
4354
|
+
e[7] && ui(e)
|
|
4361
4355
|
), ee = (
|
|
4362
4356
|
/*invalidSecurityQuestion*/
|
|
4363
|
-
e[8] &&
|
|
4357
|
+
e[8] && ci(e)
|
|
4364
4358
|
), re = (
|
|
4365
4359
|
/*invalidSecurityAnswer*/
|
|
4366
|
-
e[9] &&
|
|
4360
|
+
e[9] && hi(e)
|
|
4367
4361
|
);
|
|
4368
4362
|
return {
|
|
4369
4363
|
c() {
|
|
4370
|
-
var d, y, wr, Sr, Pr, xr, Cr
|
|
4371
|
-
r = v("div"), t = v("div"), i = v("h2"), s =
|
|
4364
|
+
var d, y, wr, _r, Sr, Pr, xr, Cr;
|
|
4365
|
+
r = v("div"), t = v("div"), i = v("h2"), s = H(n), a = I(), l = v("p"), c = H(h), f = I(), m = v("span"), b = H(g), w = I(), E = v("form"), A = v("div"), O = v("label"), R = H(M), ce = H(":"), G = v("span"), G.textContent = "*", ge = I(), U = v("input"), Ge = I(), W && W.c(), je = I(), k = v("div"), X = v("label"), pe = H(he), ne = H(":"), V = v("span"), V.textContent = "*", Te = I(), F = v("input"), He = I(), q && q.c(), be = I(), C = v("div"), ve = v("label"), we = H(Z), Lr = H(":"), Le = v("span"), Le.textContent = "*", Mr = I(), B = v("input"), dr = I(), Se.c(), mr = I(), J && J.c(), Ve = I(), Y && Y.c(), gr = I(), j = v("div"), Ce = v("label"), Qe = H($e), Rr = H(":"), Be = v("span"), Be.textContent = "*", pr = I(), $ = v("input"), br = I(), Pe.c(), ze = I(), K && K.c(), Ur = I(), _e = v("div"), Fe = v("label"), yr = H(Xe), kr = H(":"), Fr = I(), se = v("input"), Dr = I(), Gr = I(), fe = v("div"), Ie = v("label"), Er = H(We), jr = H(":"), qe = v("span"), qe.textContent = "*", Vr = I(), oe = v("input"), $r = I(), ee && ee.c(), Qr = I(), de = v("div"), Ne = v("label"), vr = H(Ye), zr = H(":"), Ke = v("span"), Ke.textContent = "*", Xr = I(), ae = v("input"), Zr = I(), re && re.c(), p = I(), N = v("button"), ut = H(le), o(i, "class", "RegisterFormTitle"), o(m, "class", "FormLoginCallToAction"), o(l, "class", "RegisterFormSubtitle"), o(t, "class", "RegisterFormHeader"), o(G, "class", "FormRequired"), o(O, "for", "Email"), o(U, "type", "text"), o(U, "id", "Email"), o(A, "class", Ae = "EmailContainer " + /*invalidEmail*/
|
|
4372
4366
|
(e[4] && !/*emailFocus*/
|
|
4373
4367
|
e[10] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4374
|
-
(((d = e[17]) == null ? void 0 : d.indexOf("email")) >= 0 ? "Hidden" : "")), o(V, "class", "FormRequired"), o(X, "for", "UserName"), o(F, "type", "text"), o(F, "id", "UserName"), o(F, "autocomplete",
|
|
4368
|
+
(((d = e[17]) == null ? void 0 : d.indexOf("email")) >= 0 ? "Hidden" : "")), o(V, "class", "FormRequired"), o(X, "for", "UserName"), o(F, "type", "text"), o(F, "id", "UserName"), o(F, "autocomplete", xe = /*savecredentials*/
|
|
4375
4369
|
e[1] ? "username" : "off"), o(k, "class", Ee = "UserContainer " + /*invalidName*/
|
|
4376
4370
|
(e[5] && !/*usernameFocus*/
|
|
4377
4371
|
e[11] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4378
|
-
(((y = e[17]) == null ? void 0 : y.indexOf("username")) >= 0 ? "Hidden" : "")), o(
|
|
4379
|
-
e[1] ? "new-password" : "off"), o(
|
|
4372
|
+
(((y = e[17]) == null ? void 0 : y.indexOf("username")) >= 0 ? "Hidden" : "")), o(Le, "class", "FormRequired"), o(ve, "for", "Password"), o(B, "name", "new-password"), o(B, "type", "password"), o(B, "id", "new-password"), o(B, "autocomplete", Me = /*savecredentials*/
|
|
4373
|
+
e[1] ? "new-password" : "off"), o(B, "aria-describedby", "password-constraints"), o(C, "class", Re = "PasswordContainer " + /*invalidPassword*/
|
|
4380
4374
|
(e[6] && !/*passwordFocus*/
|
|
4381
4375
|
e[12] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4382
|
-
(((wr = e[17]) == null ? void 0 : wr.indexOf("password")) >= 0 ? "Hidden" : "")), C.hidden =
|
|
4383
|
-
((
|
|
4376
|
+
(((wr = e[17]) == null ? void 0 : wr.indexOf("password")) >= 0 ? "Hidden" : "")), C.hidden = Ue = /*disabledFieldsList*/
|
|
4377
|
+
((_r = e[17]) == null ? void 0 : _r.indexOf("password")) >= 0, o(Be, "class", "FormRequired"), o(Ce, "for", "ConfirmPassword"), o($, "type", "password"), o($, "id", "ConfirmPassword"), o(j, "class", ke = "ConfirmPasswordContainer " + /*invalidConfirmPassword*/
|
|
4384
4378
|
(e[7] && !/*confirmPasswordFocus*/
|
|
4385
4379
|
e[13] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4386
|
-
(((
|
|
4387
|
-
(((
|
|
4380
|
+
(((Sr = e[17]) == null ? void 0 : Sr.indexOf("confirmPassword")) >= 0 ? "Hidden" : "")), o(Fe, "for", "PromoCode"), o(se, "type", "text"), o(se, "id", "PromoCode"), o(_e, "class", Ze = "PromoCodeContainer " + /*disabledFieldsList*/
|
|
4381
|
+
(((Pr = e[17]) == null ? void 0 : Pr.indexOf("promoCode")) >= 0 ? "Hidden" : "")), o(qe, "class", "FormRequired"), o(Ie, "for", "SecurityQuestion"), o(oe, "type", "text"), o(oe, "id", "SecurityQuestion"), o(fe, "class", Je = "SecurityQuestionContainer " + /*invalidSecurityQuestion*/
|
|
4388
4382
|
(e[8] && !/*securityQFocus*/
|
|
4389
4383
|
e[14] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4390
|
-
(((
|
|
4384
|
+
(((xr = e[17]) == null ? void 0 : xr.indexOf("securityQuestion")) >= 0 ? "Hidden" : "")), o(Ke, "class", "FormRequired"), o(Ne, "for", "SecurityAnswer"), o(ae, "type", "text"), o(ae, "id", "SecurityAnswer"), o(de, "class", er = "SecurityAnswerContainer " + /*invalidSecurityAnswer*/
|
|
4391
4385
|
(e[9] && !/*securityAFocus*/
|
|
4392
4386
|
e[15] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4393
|
-
(((
|
|
4387
|
+
(((Cr = e[17]) == null ? void 0 : Cr.indexOf("securityAnswer")) >= 0 ? "Hidden" : "")), o(N, "class", "RegisterStepNext"), N.disabled = Wr = !/*isValid*/
|
|
4394
4388
|
e[29], o(E, "class", "RegisterFormContent");
|
|
4395
4389
|
},
|
|
4396
4390
|
m(d, y) {
|
|
4397
|
-
ue(d, r, y), u(r, t), u(t, i), u(i, s), u(t, a), u(t, l), u(l, c), u(l, f), u(l, m), u(m, b), u(r,
|
|
4391
|
+
ue(d, r, y), u(r, t), u(t, i), u(i, s), u(t, a), u(t, l), u(l, c), u(l, f), u(l, m), u(m, b), u(r, w), u(r, E), u(E, A), u(A, O), u(O, R), u(O, ce), u(O, G), u(A, ge), u(A, U), te(
|
|
4398
4392
|
U,
|
|
4399
4393
|
/*userEmail*/
|
|
4400
4394
|
e[19]
|
|
4401
|
-
), u(A,
|
|
4395
|
+
), u(A, Ge), W && W.m(A, null), u(E, je), u(E, k), u(k, X), u(X, pe), u(X, ne), u(X, V), u(k, Te), u(k, F), te(
|
|
4402
4396
|
F,
|
|
4403
4397
|
/*userValue*/
|
|
4404
4398
|
e[18]
|
|
4405
|
-
), u(k,
|
|
4406
|
-
|
|
4399
|
+
), u(k, He), q && q.m(k, null), u(E, be), u(E, C), u(C, ve), u(ve, we), u(ve, Lr), u(ve, Le), u(C, Mr), u(C, B), te(
|
|
4400
|
+
B,
|
|
4407
4401
|
/*userPassword*/
|
|
4408
4402
|
e[20]
|
|
4409
|
-
), e[60](
|
|
4403
|
+
), e[60](B), u(C, dr), Se.m(C, null), u(C, mr), J && J.m(C, null), u(C, Ve), Y && Y.m(C, null), u(E, gr), u(E, j), u(j, Ce), u(Ce, Qe), u(Ce, Rr), u(Ce, Be), u(j, pr), u(j, $), te(
|
|
4410
4404
|
$,
|
|
4411
4405
|
/*confirmUserPassword*/
|
|
4412
4406
|
e[21]
|
|
4413
|
-
), e[66]($), u(j,
|
|
4407
|
+
), e[66]($), u(j, br), Pe.m(j, null), u(j, ze), K && K.m(j, null), u(E, Ur), u(E, _e), u(_e, Fe), u(Fe, yr), u(Fe, kr), u(_e, Fr), u(_e, se), te(
|
|
4414
4408
|
se,
|
|
4415
4409
|
/*promoCode*/
|
|
4416
4410
|
e[24]
|
|
4417
|
-
), u(
|
|
4411
|
+
), u(_e, Dr), u(E, Gr), u(E, fe), u(fe, Ie), u(Ie, Er), u(Ie, jr), u(Ie, qe), u(fe, Vr), u(fe, oe), te(
|
|
4418
4412
|
oe,
|
|
4419
4413
|
/*securityQuestion*/
|
|
4420
4414
|
e[22]
|
|
4421
|
-
), u(fe,
|
|
4415
|
+
), u(fe, $r), ee && ee.m(fe, null), u(E, Qr), u(E, de), u(de, Ne), u(Ne, vr), u(Ne, zr), u(Ne, Ke), u(de, Xr), u(de, ae), te(
|
|
4422
4416
|
ae,
|
|
4423
4417
|
/*securityAnswer*/
|
|
4424
4418
|
e[23]
|
|
4425
|
-
), u(de,
|
|
4419
|
+
), u(de, Zr), re && re.m(de, null), u(E, p), u(E, N), u(N, ut), e[79](r), ct || (Ot = [
|
|
4426
4420
|
x(
|
|
4427
4421
|
m,
|
|
4428
4422
|
"click",
|
|
@@ -4478,25 +4472,25 @@ function mo(e) {
|
|
|
4478
4472
|
e[56]
|
|
4479
4473
|
),
|
|
4480
4474
|
x(
|
|
4481
|
-
|
|
4475
|
+
B,
|
|
4482
4476
|
"input",
|
|
4483
4477
|
/*input2_input_handler*/
|
|
4484
4478
|
e[57]
|
|
4485
4479
|
),
|
|
4486
4480
|
x(
|
|
4487
|
-
|
|
4481
|
+
B,
|
|
4488
4482
|
"keyup",
|
|
4489
4483
|
/*validatePassword*/
|
|
4490
4484
|
e[38]
|
|
4491
4485
|
),
|
|
4492
4486
|
x(
|
|
4493
|
-
|
|
4487
|
+
B,
|
|
4494
4488
|
"focus",
|
|
4495
4489
|
/*focus_handler_2*/
|
|
4496
4490
|
e[58]
|
|
4497
4491
|
),
|
|
4498
4492
|
x(
|
|
4499
|
-
|
|
4493
|
+
B,
|
|
4500
4494
|
"blur",
|
|
4501
4495
|
/*blur_handler_2*/
|
|
4502
4496
|
e[59]
|
|
@@ -4598,15 +4592,15 @@ function mo(e) {
|
|
|
4598
4592
|
e[77]
|
|
4599
4593
|
),
|
|
4600
4594
|
x(
|
|
4601
|
-
|
|
4595
|
+
N,
|
|
4602
4596
|
"click",
|
|
4603
4597
|
/*click_handler_5*/
|
|
4604
4598
|
e[78]
|
|
4605
4599
|
)
|
|
4606
|
-
],
|
|
4600
|
+
], ct = !0);
|
|
4607
4601
|
},
|
|
4608
4602
|
p(d, y) {
|
|
4609
|
-
var wr, Sr, Pr, xr, Cr,
|
|
4603
|
+
var wr, _r, Sr, Pr, xr, Cr, Rt, Ut;
|
|
4610
4604
|
y[0] & /*$_*/
|
|
4611
4605
|
1073741824 && n !== (n = /*$_*/
|
|
4612
4606
|
d[30]("registerTitle") + "") && D(s, n), y[0] & /*$_*/
|
|
@@ -4622,123 +4616,123 @@ function mo(e) {
|
|
|
4622
4616
|
/*userEmail*/
|
|
4623
4617
|
d[19]
|
|
4624
4618
|
), /*invalidEmail*/
|
|
4625
|
-
d[4] ? W ? W.p(d, y) : (W =
|
|
4626
|
-
132112 &&
|
|
4619
|
+
d[4] ? W ? W.p(d, y) : (W = si(d), W.c(), W.m(A, null)) : W && (W.d(1), W = null), y[0] & /*invalidEmail, emailFocus, disabledFieldsList*/
|
|
4620
|
+
132112 && Ae !== (Ae = "EmailContainer " + /*invalidEmail*/
|
|
4627
4621
|
(d[4] && !/*emailFocus*/
|
|
4628
4622
|
d[10] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4629
|
-
(((wr = d[17]) == null ? void 0 : wr.indexOf("email")) >= 0 ? "Hidden" : "")) && o(A, "class",
|
|
4623
|
+
(((wr = d[17]) == null ? void 0 : wr.indexOf("email")) >= 0 ? "Hidden" : "")) && o(A, "class", Ae), y[0] & /*$_*/
|
|
4630
4624
|
1073741824 && he !== (he = /*$_*/
|
|
4631
4625
|
d[30]("registerUsername") + "") && D(pe, he), y[0] & /*savecredentials*/
|
|
4632
|
-
2 &&
|
|
4633
|
-
d[1] ? "username" : "off") && o(F, "autocomplete",
|
|
4626
|
+
2 && xe !== (xe = /*savecredentials*/
|
|
4627
|
+
d[1] ? "username" : "off") && o(F, "autocomplete", xe), y[0] & /*userValue*/
|
|
4634
4628
|
262144 && F.value !== /*userValue*/
|
|
4635
4629
|
d[18] && te(
|
|
4636
4630
|
F,
|
|
4637
4631
|
/*userValue*/
|
|
4638
4632
|
d[18]
|
|
4639
4633
|
), /*invalidName*/
|
|
4640
|
-
d[5] ? q ? q.p(d, y) : (q =
|
|
4634
|
+
d[5] ? q ? q.p(d, y) : (q = oi(d), q.c(), q.m(k, null)) : q && (q.d(1), q = null), y[0] & /*invalidName, usernameFocus, disabledFieldsList*/
|
|
4641
4635
|
133152 && Ee !== (Ee = "UserContainer " + /*invalidName*/
|
|
4642
4636
|
(d[5] && !/*usernameFocus*/
|
|
4643
4637
|
d[11] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4644
|
-
(((
|
|
4638
|
+
(((_r = d[17]) == null ? void 0 : _r.indexOf("username")) >= 0 ? "Hidden" : "")) && o(k, "class", Ee), y[0] & /*$_*/
|
|
4645
4639
|
1073741824 && Z !== (Z = /*$_*/
|
|
4646
|
-
d[30]("registerPassword") + "") && D(
|
|
4647
|
-
2 &&
|
|
4648
|
-
d[1] ? "new-password" : "off") && o(
|
|
4649
|
-
1048576 &&
|
|
4640
|
+
d[30]("registerPassword") + "") && D(we, Z), y[0] & /*savecredentials*/
|
|
4641
|
+
2 && Me !== (Me = /*savecredentials*/
|
|
4642
|
+
d[1] ? "new-password" : "off") && o(B, "autocomplete", Me), y[0] & /*userPassword*/
|
|
4643
|
+
1048576 && B.value !== /*userPassword*/
|
|
4650
4644
|
d[20] && te(
|
|
4651
|
-
|
|
4645
|
+
B,
|
|
4652
4646
|
/*userPassword*/
|
|
4653
4647
|
d[20]
|
|
4654
|
-
),
|
|
4648
|
+
), qr === (qr = Lt(d)) && Se ? Se.p(d, y) : (Se.d(1), Se = qr(d), Se && (Se.c(), Se.m(C, mr))), /*invalidPassword*/
|
|
4655
4649
|
d[6] && /*simplepasswordvalidation*/
|
|
4656
|
-
d[0] !== "true" ? J ? J.p(d, y) : (J =
|
|
4650
|
+
d[0] !== "true" ? J ? J.p(d, y) : (J = ai(d), J.c(), J.m(C, Ve)) : J && (J.d(1), J = null), /*invalidPassword*/
|
|
4657
4651
|
d[6] && /*simplepasswordvalidation*/
|
|
4658
|
-
d[0] === "true" ? Y ? Y.p(d, y) : (Y =
|
|
4659
|
-
135232 &&
|
|
4652
|
+
d[0] === "true" ? Y ? Y.p(d, y) : (Y = li(d), Y.c(), Y.m(C, null)) : Y && (Y.d(1), Y = null), y[0] & /*invalidPassword, passwordFocus, disabledFieldsList*/
|
|
4653
|
+
135232 && Re !== (Re = "PasswordContainer " + /*invalidPassword*/
|
|
4660
4654
|
(d[6] && !/*passwordFocus*/
|
|
4661
4655
|
d[12] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4662
|
-
(((
|
|
4663
|
-
131072 &&
|
|
4664
|
-
((
|
|
4665
|
-
1073741824 &&
|
|
4666
|
-
d[30]("registerConfirmPassword") + "") && D(
|
|
4656
|
+
(((Sr = d[17]) == null ? void 0 : Sr.indexOf("password")) >= 0 ? "Hidden" : "")) && o(C, "class", Re), y[0] & /*disabledFieldsList*/
|
|
4657
|
+
131072 && Ue !== (Ue = /*disabledFieldsList*/
|
|
4658
|
+
((Pr = d[17]) == null ? void 0 : Pr.indexOf("password")) >= 0) && (C.hidden = Ue), y[0] & /*$_*/
|
|
4659
|
+
1073741824 && $e !== ($e = /*$_*/
|
|
4660
|
+
d[30]("registerConfirmPassword") + "") && D(Qe, $e), y[0] & /*confirmUserPassword*/
|
|
4667
4661
|
2097152 && $.value !== /*confirmUserPassword*/
|
|
4668
4662
|
d[21] && te(
|
|
4669
4663
|
$,
|
|
4670
4664
|
/*confirmUserPassword*/
|
|
4671
4665
|
d[21]
|
|
4672
|
-
),
|
|
4673
|
-
d[7] ? K ? K.p(d, y) : (K =
|
|
4674
|
-
139392 &&
|
|
4666
|
+
), Jr === (Jr = Mt(d)) && Pe ? Pe.p(d, y) : (Pe.d(1), Pe = Jr(d), Pe && (Pe.c(), Pe.m(j, ze))), /*invalidConfirmPassword*/
|
|
4667
|
+
d[7] ? K ? K.p(d, y) : (K = ui(d), K.c(), K.m(j, null)) : K && (K.d(1), K = null), y[0] & /*invalidConfirmPassword, confirmPasswordFocus, disabledFieldsList*/
|
|
4668
|
+
139392 && ke !== (ke = "ConfirmPasswordContainer " + /*invalidConfirmPassword*/
|
|
4675
4669
|
(d[7] && !/*confirmPasswordFocus*/
|
|
4676
4670
|
d[13] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4677
|
-
(((
|
|
4678
|
-
1073741824 &&
|
|
4679
|
-
d[30]("registerPromoCode") + "") && D(
|
|
4671
|
+
(((xr = d[17]) == null ? void 0 : xr.indexOf("confirmPassword")) >= 0 ? "Hidden" : "")) && o(j, "class", ke), y[0] & /*$_*/
|
|
4672
|
+
1073741824 && Xe !== (Xe = /*$_*/
|
|
4673
|
+
d[30]("registerPromoCode") + "") && D(yr, Xe), y[0] & /*promoCode*/
|
|
4680
4674
|
16777216 && se.value !== /*promoCode*/
|
|
4681
4675
|
d[24] && te(
|
|
4682
4676
|
se,
|
|
4683
4677
|
/*promoCode*/
|
|
4684
4678
|
d[24]
|
|
4685
4679
|
), y[0] & /*disabledFieldsList*/
|
|
4686
|
-
131072 &&
|
|
4687
|
-
(((
|
|
4688
|
-
1073741828 &&
|
|
4680
|
+
131072 && Ze !== (Ze = "PromoCodeContainer " + /*disabledFieldsList*/
|
|
4681
|
+
(((Cr = d[17]) == null ? void 0 : Cr.indexOf("promoCode")) >= 0 ? "Hidden" : "")) && o(_e, "class", Ze), y[0] & /*custominputtextswitch, $_*/
|
|
4682
|
+
1073741828 && We !== (We = /*custominputtextswitch*/
|
|
4689
4683
|
(d[2] == "true" ? (
|
|
4690
4684
|
/*$_*/
|
|
4691
4685
|
d[30]("registerSecurityQuestion2")
|
|
4692
4686
|
) : (
|
|
4693
4687
|
/*$_*/
|
|
4694
4688
|
d[30]("registerSecurityQuestion")
|
|
4695
|
-
)) + "") && D(
|
|
4689
|
+
)) + "") && D(Er, We), y[0] & /*securityQuestion*/
|
|
4696
4690
|
4194304 && oe.value !== /*securityQuestion*/
|
|
4697
4691
|
d[22] && te(
|
|
4698
4692
|
oe,
|
|
4699
4693
|
/*securityQuestion*/
|
|
4700
4694
|
d[22]
|
|
4701
4695
|
), /*invalidSecurityQuestion*/
|
|
4702
|
-
d[8] ? ee ? ee.p(d, y) : (ee =
|
|
4703
|
-
147712 &&
|
|
4696
|
+
d[8] ? ee ? ee.p(d, y) : (ee = ci(d), ee.c(), ee.m(fe, null)) : ee && (ee.d(1), ee = null), y[0] & /*invalidSecurityQuestion, securityQFocus, disabledFieldsList*/
|
|
4697
|
+
147712 && Je !== (Je = "SecurityQuestionContainer " + /*invalidSecurityQuestion*/
|
|
4704
4698
|
(d[8] && !/*securityQFocus*/
|
|
4705
4699
|
d[14] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4706
|
-
(((
|
|
4707
|
-
1073741828 &&
|
|
4700
|
+
(((Rt = d[17]) == null ? void 0 : Rt.indexOf("securityQuestion")) >= 0 ? "Hidden" : "")) && o(fe, "class", Je), y[0] & /*custominputtextswitch, $_*/
|
|
4701
|
+
1073741828 && Ye !== (Ye = /*custominputtextswitch*/
|
|
4708
4702
|
(d[2] == "true" ? (
|
|
4709
4703
|
/*$_*/
|
|
4710
4704
|
d[30]("registerSecurityAnswer2")
|
|
4711
4705
|
) : (
|
|
4712
4706
|
/*$_*/
|
|
4713
4707
|
d[30]("registerSecurityAnswer")
|
|
4714
|
-
)) + "") && D(
|
|
4708
|
+
)) + "") && D(vr, Ye), y[0] & /*securityAnswer*/
|
|
4715
4709
|
8388608 && ae.value !== /*securityAnswer*/
|
|
4716
4710
|
d[23] && te(
|
|
4717
4711
|
ae,
|
|
4718
4712
|
/*securityAnswer*/
|
|
4719
4713
|
d[23]
|
|
4720
4714
|
), /*invalidSecurityAnswer*/
|
|
4721
|
-
d[9] ? re ? re.p(d, y) : (re =
|
|
4722
|
-
164352 &&
|
|
4715
|
+
d[9] ? re ? re.p(d, y) : (re = hi(d), re.c(), re.m(de, null)) : re && (re.d(1), re = null), y[0] & /*invalidSecurityAnswer, securityAFocus, disabledFieldsList*/
|
|
4716
|
+
164352 && er !== (er = "SecurityAnswerContainer " + /*invalidSecurityAnswer*/
|
|
4723
4717
|
(d[9] && !/*securityAFocus*/
|
|
4724
4718
|
d[15] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4725
|
-
(((
|
|
4719
|
+
(((Ut = d[17]) == null ? void 0 : Ut.indexOf("securityAnswer")) >= 0 ? "Hidden" : "")) && o(de, "class", er), y[0] & /*$_*/
|
|
4726
4720
|
1073741824 && le !== (le = /*$_*/
|
|
4727
|
-
d[30]("registerNext") + "") && D(
|
|
4728
|
-
536870912 &&
|
|
4729
|
-
d[29]) && (
|
|
4721
|
+
d[30]("registerNext") + "") && D(ut, le), y[0] & /*isValid*/
|
|
4722
|
+
536870912 && Wr !== (Wr = !/*isValid*/
|
|
4723
|
+
d[29]) && (N.disabled = Wr);
|
|
4730
4724
|
},
|
|
4731
4725
|
i: z,
|
|
4732
4726
|
o: z,
|
|
4733
4727
|
d(d) {
|
|
4734
|
-
d && ie(r), W && W.d(), q && q.d(), e[60](null), Se.d(), J && J.d(), Y && Y.d(), e[66](null), Pe.d(), K && K.d(), ee && ee.d(), re && re.d(), e[79](null),
|
|
4728
|
+
d && ie(r), W && W.d(), q && q.d(), e[60](null), Se.d(), J && J.d(), Y && Y.d(), e[66](null), Pe.d(), K && K.d(), ee && ee.d(), re && re.d(), e[79](null), ct = !1, ur(Ot);
|
|
4735
4729
|
}
|
|
4736
4730
|
};
|
|
4737
4731
|
}
|
|
4738
|
-
function
|
|
4732
|
+
function fo(e, r, t) {
|
|
4739
4733
|
let i;
|
|
4740
|
-
|
|
4741
|
-
let { lang: n = "" } = r, { disabledfields: s = "" } = r, { simplepasswordvalidation: a = "false" } = r, { mbsource: l } = r, { clientstyling: h = "" } = r, { clientstylingurl: c = "" } = r, { translationurl: f = "" } = r, { savecredentials: m = "" } = r, { custominputtextswitch: g = "false" } = r, b = !1,
|
|
4734
|
+
zi(e, ro, (p) => t(30, i = p));
|
|
4735
|
+
let { lang: n = "" } = r, { disabledfields: s = "" } = r, { simplepasswordvalidation: a = "false" } = r, { mbsource: l } = r, { clientstyling: h = "" } = r, { clientstylingurl: c = "" } = r, { translationurl: f = "" } = r, { savecredentials: m = "" } = r, { custominputtextswitch: g = "false" } = r, b = !1, w = !1, E = !1, A = !1, O = !1, M = !1, R = !1, ce = !1, G = !1, ge = !1, U = !1, Ge = !1, Ae = !1, je, k = "", X = "", he = "", pe = "", ne = "", V = "", Te = "", F = !1, xe = !1, He, Ee, be = {}, C = {
|
|
4742
4736
|
username: !1,
|
|
4743
4737
|
email: !1,
|
|
4744
4738
|
password: !1,
|
|
@@ -4746,112 +4740,112 @@ function go(e, r, t) {
|
|
|
4746
4740
|
securityAnswer: !1,
|
|
4747
4741
|
securityQuestion: !1,
|
|
4748
4742
|
promoCode: !0
|
|
4749
|
-
}, ve = !1, Z,
|
|
4743
|
+
}, ve = !1, Z, we = {
|
|
4750
4744
|
user: /^(?!(?:.*\d){9})(?=(?:.*[a-zA-Z]){4})^[a-zA-Z\d]*$/,
|
|
4751
4745
|
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,
|
|
4752
4746
|
password: /^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[^\w\s]).{8,20}$/,
|
|
4753
4747
|
document: /^(?=.*[a-zA-Z0-9])[a-zA-Z0-9\s]+$/
|
|
4754
4748
|
};
|
|
4755
|
-
const
|
|
4756
|
-
fetch(f).then((
|
|
4757
|
-
Object.keys(
|
|
4758
|
-
|
|
4749
|
+
const Lr = () => {
|
|
4750
|
+
fetch(f).then((N) => N.json()).then((N) => {
|
|
4751
|
+
Object.keys(N).forEach((le) => {
|
|
4752
|
+
ii(le, N[le]);
|
|
4759
4753
|
});
|
|
4760
|
-
}).catch((
|
|
4761
|
-
console.log(
|
|
4754
|
+
}).catch((N) => {
|
|
4755
|
+
console.log(N);
|
|
4762
4756
|
});
|
|
4763
4757
|
};
|
|
4764
|
-
Object.keys(
|
|
4765
|
-
|
|
4758
|
+
Object.keys(ni).forEach((p) => {
|
|
4759
|
+
ii(p, ni[p]);
|
|
4766
4760
|
});
|
|
4767
|
-
const
|
|
4761
|
+
const Le = () => {
|
|
4768
4762
|
window.postMessage({ type: "ToLogin" }, window.location.href);
|
|
4769
|
-
},
|
|
4770
|
-
if (!(
|
|
4763
|
+
}, Mr = (p, N) => {
|
|
4764
|
+
if (!(je.indexOf(p) >= 0))
|
|
4771
4765
|
switch (p) {
|
|
4772
4766
|
case "username":
|
|
4773
|
-
t(18, k =
|
|
4767
|
+
t(18, k = N), dr();
|
|
4774
4768
|
break;
|
|
4775
4769
|
case "email":
|
|
4776
|
-
t(19, X =
|
|
4770
|
+
t(19, X = N), Me();
|
|
4777
4771
|
break;
|
|
4778
4772
|
case "password":
|
|
4779
|
-
t(20, he =
|
|
4773
|
+
t(20, he = N), Qe();
|
|
4780
4774
|
break;
|
|
4781
4775
|
case "confirmUserPassword":
|
|
4782
|
-
t(21, pe =
|
|
4776
|
+
t(21, pe = N), Be();
|
|
4783
4777
|
break;
|
|
4784
4778
|
case "securityQuestion":
|
|
4785
|
-
t(22, ne =
|
|
4779
|
+
t(22, ne = N), $();
|
|
4786
4780
|
break;
|
|
4787
4781
|
case "securityAnswer":
|
|
4788
|
-
t(23, V =
|
|
4782
|
+
t(23, V = N), br();
|
|
4789
4783
|
break;
|
|
4790
4784
|
case "promoCode":
|
|
4791
|
-
t(24,
|
|
4785
|
+
t(24, Te = N), pr();
|
|
4792
4786
|
break;
|
|
4793
4787
|
}
|
|
4794
|
-
},
|
|
4788
|
+
}, B = () => {
|
|
4795
4789
|
t(29, ve = Object.keys(C).every((p) => s.includes(p) ? !0 : C[p] !== !1));
|
|
4796
|
-
},
|
|
4797
|
-
be.email = X,
|
|
4790
|
+
}, Me = () => {
|
|
4791
|
+
be.email = X, we.email.test(X) && X.length <= 100 ? t(4, b = !1) : t(4, b = !0), C.email = !b, B();
|
|
4792
|
+
}, dr = () => {
|
|
4793
|
+
be.username = k, we.user.test(k) && k.length <= 20 ? t(5, w = !1) : t(5, w = !0), C.username = !w, B();
|
|
4798
4794
|
}, mr = () => {
|
|
4799
|
-
|
|
4800
|
-
},
|
|
4801
|
-
a == "true" && (_e.password = /^(?!.* ).{8,20}$/);
|
|
4802
|
-
}, $e = () => {
|
|
4795
|
+
a == "true" && (we.password = /^(?!.* ).{8,20}$/);
|
|
4796
|
+
}, Ve = () => {
|
|
4803
4797
|
t(25, F = !0), j();
|
|
4798
|
+
}, Re = () => {
|
|
4799
|
+
t(26, xe = !0), Ce();
|
|
4804
4800
|
}, Ue = () => {
|
|
4805
|
-
t(26, Ce = !0), Ae();
|
|
4806
|
-
}, ke = () => {
|
|
4807
4801
|
t(25, F = !1), j();
|
|
4808
|
-
},
|
|
4809
|
-
t(26,
|
|
4802
|
+
}, gr = () => {
|
|
4803
|
+
t(26, xe = !1), Ce();
|
|
4810
4804
|
}, j = () => {
|
|
4811
|
-
t(27,
|
|
4812
|
-
},
|
|
4813
|
-
t(28, Ee.type =
|
|
4814
|
-
},
|
|
4815
|
-
be.password = he, t(6, E =
|
|
4816
|
-
},
|
|
4817
|
-
be.confirmUserPassword = pe, t(7, A = !
|
|
4818
|
-
},
|
|
4819
|
-
be.promoCode =
|
|
4805
|
+
t(27, He.type = F ? "text" : "password", He);
|
|
4806
|
+
}, Ce = () => {
|
|
4807
|
+
t(28, Ee.type = xe ? "text" : "password", Ee);
|
|
4808
|
+
}, $e = () => !!we.password.test(he), Qe = () => {
|
|
4809
|
+
be.password = he, t(6, E = !$e()), pe.length !== 0 && Be(), C.password = !E, B();
|
|
4810
|
+
}, Rr = () => he === pe, Be = () => {
|
|
4811
|
+
be.confirmUserPassword = pe, t(7, A = !Rr()), C.confirmUserPassword = !A, B();
|
|
4812
|
+
}, pr = () => {
|
|
4813
|
+
be.promoCode = Te;
|
|
4820
4814
|
}, $ = () => {
|
|
4821
4815
|
if (be.securityQuestion = ne, ne)
|
|
4822
4816
|
switch (g) {
|
|
4823
4817
|
case "true":
|
|
4824
|
-
if (
|
|
4825
|
-
t(8,
|
|
4818
|
+
if (we.document.test(ne) && ne.length <= 50) {
|
|
4819
|
+
t(8, O = !1), C.securityQuestion = !O, B();
|
|
4826
4820
|
return;
|
|
4827
4821
|
}
|
|
4828
4822
|
break;
|
|
4829
4823
|
case "false":
|
|
4830
4824
|
if (ne && ne.length <= 120) {
|
|
4831
|
-
t(8,
|
|
4825
|
+
t(8, O = !1), C.securityQuestion = !O, B();
|
|
4832
4826
|
return;
|
|
4833
4827
|
}
|
|
4834
4828
|
break;
|
|
4835
4829
|
}
|
|
4836
|
-
t(8,
|
|
4837
|
-
},
|
|
4830
|
+
t(8, O = !0), C.securityQuestion = !O, B();
|
|
4831
|
+
}, br = () => {
|
|
4838
4832
|
if (be.securityAnswer = V, V)
|
|
4839
4833
|
switch (g) {
|
|
4840
4834
|
case "true":
|
|
4841
|
-
if (
|
|
4842
|
-
t(9, M = !1), C.securityAnswer = !M,
|
|
4835
|
+
if (we.document.test(V) && V.length <= 50) {
|
|
4836
|
+
t(9, M = !1), C.securityAnswer = !M, B();
|
|
4843
4837
|
return;
|
|
4844
4838
|
}
|
|
4845
4839
|
break;
|
|
4846
4840
|
case "false":
|
|
4847
4841
|
if (V && V.length <= 120) {
|
|
4848
|
-
t(9, M = !1), C.securityAnswer = !M,
|
|
4842
|
+
t(9, M = !1), C.securityAnswer = !M, B();
|
|
4849
4843
|
return;
|
|
4850
4844
|
}
|
|
4851
4845
|
break;
|
|
4852
4846
|
}
|
|
4853
|
-
t(9, M = !0), C.securityAnswer = !M,
|
|
4854
|
-
},
|
|
4847
|
+
t(9, M = !0), C.securityAnswer = !M, B();
|
|
4848
|
+
}, ze = (p) => {
|
|
4855
4849
|
p.preventDefault(), window.postMessage(
|
|
4856
4850
|
{
|
|
4857
4851
|
type: "RegisterStepOne",
|
|
@@ -4859,67 +4853,67 @@ function go(e, r, t) {
|
|
|
4859
4853
|
},
|
|
4860
4854
|
window.location.href
|
|
4861
4855
|
);
|
|
4862
|
-
},
|
|
4856
|
+
}, ke = (p) => {
|
|
4863
4857
|
if (p.data)
|
|
4864
4858
|
switch (p.data.type) {
|
|
4865
4859
|
case "StepOneDataBackup":
|
|
4866
|
-
const
|
|
4867
|
-
for (const le in
|
|
4868
|
-
|
|
4860
|
+
const N = p.data.userData;
|
|
4861
|
+
for (const le in N)
|
|
4862
|
+
Mr(le, N[le]);
|
|
4869
4863
|
t(29, ve = Object.keys(C).every((le) => s.includes(le) ? !0 : C[le] !== !1));
|
|
4870
4864
|
break;
|
|
4871
4865
|
}
|
|
4872
|
-
},
|
|
4873
|
-
t(17,
|
|
4874
|
-
},
|
|
4875
|
-
|
|
4866
|
+
}, Ur = () => {
|
|
4867
|
+
t(17, je = s.split(","));
|
|
4868
|
+
}, _e = () => {
|
|
4869
|
+
to(n);
|
|
4876
4870
|
};
|
|
4877
|
-
|
|
4878
|
-
window.removeEventListener("message",
|
|
4871
|
+
Ki(() => (window.addEventListener("message", ke, !1), () => {
|
|
4872
|
+
window.removeEventListener("message", ke);
|
|
4879
4873
|
}));
|
|
4880
|
-
const
|
|
4881
|
-
function
|
|
4874
|
+
const Fe = () => Le();
|
|
4875
|
+
function Xe() {
|
|
4882
4876
|
X = this.value, t(19, X);
|
|
4883
4877
|
}
|
|
4884
|
-
const
|
|
4885
|
-
function
|
|
4878
|
+
const yr = () => t(10, R = !0), kr = () => t(10, R = !1);
|
|
4879
|
+
function Fr() {
|
|
4886
4880
|
k = this.value, t(18, k);
|
|
4887
4881
|
}
|
|
4888
|
-
const se = () => t(11, ce = !0),
|
|
4889
|
-
function
|
|
4882
|
+
const se = () => t(11, ce = !0), Dr = () => t(11, ce = !1);
|
|
4883
|
+
function Ze() {
|
|
4890
4884
|
he = this.value, t(20, he);
|
|
4891
4885
|
}
|
|
4892
|
-
const
|
|
4893
|
-
function
|
|
4894
|
-
|
|
4895
|
-
|
|
4886
|
+
const Gr = () => t(12, G = !0), fe = () => t(12, G = !1);
|
|
4887
|
+
function Ie(p) {
|
|
4888
|
+
Hr[p ? "unshift" : "push"](() => {
|
|
4889
|
+
He = p, t(27, He);
|
|
4896
4890
|
});
|
|
4897
4891
|
}
|
|
4898
|
-
const
|
|
4899
|
-
function
|
|
4892
|
+
const We = () => Ue(), Er = () => Ve();
|
|
4893
|
+
function jr() {
|
|
4900
4894
|
pe = this.value, t(21, pe);
|
|
4901
4895
|
}
|
|
4902
|
-
const
|
|
4896
|
+
const qe = () => t(13, ge = !0), Vr = () => t(13, ge = !1);
|
|
4903
4897
|
function oe(p) {
|
|
4904
|
-
|
|
4898
|
+
Hr[p ? "unshift" : "push"](() => {
|
|
4905
4899
|
Ee = p, t(28, Ee);
|
|
4906
4900
|
});
|
|
4907
4901
|
}
|
|
4908
|
-
const
|
|
4909
|
-
function
|
|
4910
|
-
|
|
4902
|
+
const $r = () => gr(), Je = () => Re();
|
|
4903
|
+
function Qr() {
|
|
4904
|
+
Te = this.value, t(24, Te);
|
|
4911
4905
|
}
|
|
4912
|
-
const de = () => t(16,
|
|
4913
|
-
function
|
|
4906
|
+
const de = () => t(16, Ae = !0), Ne = () => t(16, Ae = !1);
|
|
4907
|
+
function Ye() {
|
|
4914
4908
|
ne = this.value, t(22, ne);
|
|
4915
4909
|
}
|
|
4916
|
-
const
|
|
4917
|
-
function
|
|
4910
|
+
const vr = () => t(14, U = !0), zr = () => t(14, U = !1);
|
|
4911
|
+
function Ke() {
|
|
4918
4912
|
V = this.value, t(23, V);
|
|
4919
4913
|
}
|
|
4920
|
-
const
|
|
4921
|
-
function
|
|
4922
|
-
|
|
4914
|
+
const Xr = () => t(15, Ge = !0), ae = () => t(15, Ge = !1), Zr = (p) => ze(p);
|
|
4915
|
+
function er(p) {
|
|
4916
|
+
Hr[p ? "unshift" : "push"](() => {
|
|
4923
4917
|
Z = p, t(3, Z);
|
|
4924
4918
|
});
|
|
4925
4919
|
}
|
|
@@ -4927,107 +4921,107 @@ function go(e, r, t) {
|
|
|
4927
4921
|
"lang" in p && t(44, n = p.lang), "disabledfields" in p && t(45, s = p.disabledfields), "simplepasswordvalidation" in p && t(0, a = p.simplepasswordvalidation), "mbsource" in p && t(46, l = p.mbsource), "clientstyling" in p && t(47, h = p.clientstyling), "clientstylingurl" in p && t(48, c = p.clientstylingurl), "translationurl" in p && t(49, f = p.translationurl), "savecredentials" in p && t(1, m = p.savecredentials), "custominputtextswitch" in p && t(2, g = p.custominputtextswitch);
|
|
4928
4922
|
}, e.$$.update = () => {
|
|
4929
4923
|
e.$$.dirty[1] & /*lang*/
|
|
4930
|
-
8192 && n &&
|
|
4931
|
-
16384 && s &&
|
|
4932
|
-
1 && a &&
|
|
4924
|
+
8192 && n && _e(), e.$$.dirty[1] & /*disabledfields*/
|
|
4925
|
+
16384 && s && Ur(), e.$$.dirty[0] & /*simplepasswordvalidation*/
|
|
4926
|
+
1 && a && mr(), e.$$.dirty[0] & /*customStylingContainer*/
|
|
4933
4927
|
8 | e.$$.dirty[1] & /*clientstyling*/
|
|
4934
|
-
65536 && h && Z &&
|
|
4928
|
+
65536 && h && Z && io(Z, h), e.$$.dirty[0] & /*customStylingContainer*/
|
|
4935
4929
|
8 | e.$$.dirty[1] & /*clientstylingurl*/
|
|
4936
|
-
131072 && c && Z &&
|
|
4930
|
+
131072 && c && Z && no(Z, c), e.$$.dirty[0] & /*customStylingContainer*/
|
|
4937
4931
|
8 | e.$$.dirty[1] & /*mbsource*/
|
|
4938
|
-
32768 && l && Z &&
|
|
4939
|
-
262144 && f &&
|
|
4932
|
+
32768 && l && Z && so(Z, `${l}.Style`), e.$$.dirty[1] & /*translationurl*/
|
|
4933
|
+
262144 && f && Lr();
|
|
4940
4934
|
}, [
|
|
4941
4935
|
a,
|
|
4942
4936
|
m,
|
|
4943
4937
|
g,
|
|
4944
4938
|
Z,
|
|
4945
4939
|
b,
|
|
4946
|
-
|
|
4940
|
+
w,
|
|
4947
4941
|
E,
|
|
4948
4942
|
A,
|
|
4949
|
-
|
|
4943
|
+
O,
|
|
4950
4944
|
M,
|
|
4951
4945
|
R,
|
|
4952
4946
|
ce,
|
|
4953
4947
|
G,
|
|
4954
4948
|
ge,
|
|
4955
4949
|
U,
|
|
4950
|
+
Ge,
|
|
4951
|
+
Ae,
|
|
4956
4952
|
je,
|
|
4957
|
-
Te,
|
|
4958
|
-
Ve,
|
|
4959
4953
|
k,
|
|
4960
4954
|
X,
|
|
4961
4955
|
he,
|
|
4962
4956
|
pe,
|
|
4963
4957
|
ne,
|
|
4964
4958
|
V,
|
|
4965
|
-
|
|
4959
|
+
Te,
|
|
4966
4960
|
F,
|
|
4967
|
-
|
|
4968
|
-
|
|
4961
|
+
xe,
|
|
4962
|
+
He,
|
|
4969
4963
|
Ee,
|
|
4970
4964
|
ve,
|
|
4971
4965
|
i,
|
|
4966
|
+
Le,
|
|
4972
4967
|
Me,
|
|
4968
|
+
dr,
|
|
4969
|
+
Ve,
|
|
4973
4970
|
Re,
|
|
4974
|
-
mr,
|
|
4975
|
-
$e,
|
|
4976
4971
|
Ue,
|
|
4977
|
-
|
|
4972
|
+
gr,
|
|
4973
|
+
Qe,
|
|
4974
|
+
Be,
|
|
4978
4975
|
pr,
|
|
4979
|
-
ze,
|
|
4980
|
-
Ie,
|
|
4981
|
-
br,
|
|
4982
4976
|
$,
|
|
4983
|
-
|
|
4984
|
-
|
|
4977
|
+
br,
|
|
4978
|
+
ze,
|
|
4985
4979
|
n,
|
|
4986
4980
|
s,
|
|
4987
4981
|
l,
|
|
4988
4982
|
h,
|
|
4989
4983
|
c,
|
|
4990
4984
|
f,
|
|
4991
|
-
|
|
4992
|
-
|
|
4993
|
-
|
|
4985
|
+
Fe,
|
|
4986
|
+
Xe,
|
|
4987
|
+
yr,
|
|
4988
|
+
kr,
|
|
4994
4989
|
Fr,
|
|
4995
|
-
Dr,
|
|
4996
4990
|
se,
|
|
4991
|
+
Dr,
|
|
4992
|
+
Ze,
|
|
4997
4993
|
Gr,
|
|
4994
|
+
fe,
|
|
4995
|
+
Ie,
|
|
4998
4996
|
We,
|
|
4997
|
+
Er,
|
|
4999
4998
|
jr,
|
|
5000
|
-
fe,
|
|
5001
|
-
Ne,
|
|
5002
4999
|
qe,
|
|
5003
|
-
vr,
|
|
5004
5000
|
Vr,
|
|
5005
|
-
Je,
|
|
5006
|
-
$r,
|
|
5007
5001
|
oe,
|
|
5002
|
+
$r,
|
|
5003
|
+
Je,
|
|
5008
5004
|
Qr,
|
|
5005
|
+
de,
|
|
5006
|
+
Ne,
|
|
5009
5007
|
Ye,
|
|
5008
|
+
vr,
|
|
5010
5009
|
zr,
|
|
5011
|
-
de,
|
|
5012
|
-
Oe,
|
|
5013
5010
|
Ke,
|
|
5014
|
-
_r,
|
|
5015
5011
|
Xr,
|
|
5016
|
-
er,
|
|
5017
|
-
Zr,
|
|
5018
5012
|
ae,
|
|
5019
|
-
|
|
5020
|
-
|
|
5013
|
+
Zr,
|
|
5014
|
+
er
|
|
5021
5015
|
];
|
|
5022
5016
|
}
|
|
5023
|
-
class
|
|
5017
|
+
class mo extends fn {
|
|
5024
5018
|
constructor(r) {
|
|
5025
|
-
super(),
|
|
5019
|
+
super(), cn(
|
|
5026
5020
|
this,
|
|
5027
5021
|
r,
|
|
5028
|
-
|
|
5029
|
-
|
|
5030
|
-
|
|
5022
|
+
fo,
|
|
5023
|
+
ho,
|
|
5024
|
+
di,
|
|
5031
5025
|
{
|
|
5032
5026
|
lang: 44,
|
|
5033
5027
|
disabledfields: 45,
|
|
@@ -5039,7 +5033,7 @@ class po extends mn {
|
|
|
5039
5033
|
savecredentials: 1,
|
|
5040
5034
|
custominputtextswitch: 2
|
|
5041
5035
|
},
|
|
5042
|
-
|
|
5036
|
+
oo,
|
|
5043
5037
|
[-1, -1, -1, -1]
|
|
5044
5038
|
);
|
|
5045
5039
|
}
|
|
@@ -5098,7 +5092,7 @@ class po extends mn {
|
|
|
5098
5092
|
this.$$set({ custominputtextswitch: r }), ye();
|
|
5099
5093
|
}
|
|
5100
5094
|
}
|
|
5101
|
-
|
|
5095
|
+
hn(mo, { lang: {}, disabledfields: {}, simplepasswordvalidation: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, savecredentials: {}, custominputtextswitch: {} }, [], [], !0);
|
|
5102
5096
|
export {
|
|
5103
|
-
|
|
5097
|
+
mo as default
|
|
5104
5098
|
};
|