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