@everymatrix/general-player-register-form-step1 1.61.1 → 1.62.0
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-i-pdn1Gz.js → GeneralPlayerRegisterFormStep1-85Tc7Od4.js} +360 -358
- package/components/{GeneralPlayerRegisterFormStep1-ByToxPdy.cjs → GeneralPlayerRegisterFormStep1-CfFfqZHI.cjs} +3 -3
- package/components/{GeneralPlayerRegisterFormStep1-BZyAcSul.js → GeneralPlayerRegisterFormStep1-q-cbAkVG.js} +376 -374
- 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
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var ht = (e, r, t) => r in e ?
|
|
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 ht = (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) && ht(e, t, r[t]);
|
|
8
|
+
if (Dt)
|
|
9
|
+
for (var t of Dt(r))
|
|
10
|
+
zi.call(r, t) && ht(e, t, r[t]);
|
|
11
11
|
return e;
|
|
12
|
-
},
|
|
12
|
+
}, jt = (e, r) => Vi(e, $i(r));
|
|
13
13
|
var me = (e, r, t) => (ht(e, typeof r != "symbol" ? r + "" : r, t), t);
|
|
14
|
-
var
|
|
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
38
|
function ur(e) {
|
|
39
|
-
e.forEach(
|
|
39
|
+
e.forEach(mi);
|
|
40
40
|
}
|
|
41
41
|
function Bt(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,
|
|
@@ -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 */
|
|
@@ -133,20 +133,20 @@ let Br;
|
|
|
133
133
|
function Tr(e) {
|
|
134
134
|
Br = e;
|
|
135
135
|
}
|
|
136
|
-
function
|
|
136
|
+
function en() {
|
|
137
137
|
if (!Br)
|
|
138
138
|
throw new Error("Function called outside component initialization");
|
|
139
139
|
return Br;
|
|
140
140
|
}
|
|
141
|
-
function
|
|
142
|
-
|
|
141
|
+
function rn(e) {
|
|
142
|
+
en().$$.on_mount.push(e);
|
|
143
143
|
}
|
|
144
144
|
const ir = [], Hr = [];
|
|
145
145
|
let nr = [];
|
|
146
|
-
const
|
|
146
|
+
const Qt = [], tn = /* @__PURE__ */ Promise.resolve();
|
|
147
147
|
let Et = !1;
|
|
148
|
-
function
|
|
149
|
-
Et || (Et = !0,
|
|
148
|
+
function nn() {
|
|
149
|
+
Et || (Et = !0, tn.then(ye));
|
|
150
150
|
}
|
|
151
151
|
function vt(e) {
|
|
152
152
|
nr.push(e);
|
|
@@ -161,7 +161,7 @@ function ye() {
|
|
|
161
161
|
try {
|
|
162
162
|
for (; rr < ir.length; ) {
|
|
163
163
|
const r = ir[rr];
|
|
164
|
-
rr++, Tr(r),
|
|
164
|
+
rr++, Tr(r), sn(r.$$);
|
|
165
165
|
}
|
|
166
166
|
} catch (r) {
|
|
167
167
|
throw ir.length = 0, rr = 0, r;
|
|
@@ -174,40 +174,40 @@ function ye() {
|
|
|
174
174
|
}
|
|
175
175
|
nr.length = 0;
|
|
176
176
|
} while (ir.length);
|
|
177
|
-
for (;
|
|
178
|
-
|
|
177
|
+
for (; Qt.length; )
|
|
178
|
+
Qt.pop()();
|
|
179
179
|
Et = !1, ft.clear(), Tr(e);
|
|
180
180
|
}
|
|
181
|
-
function
|
|
181
|
+
function sn(e) {
|
|
182
182
|
if (e.fragment !== null) {
|
|
183
183
|
e.update(), ur(e.before_update);
|
|
184
184
|
const r = e.dirty;
|
|
185
185
|
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, r), e.after_update.forEach(vt);
|
|
186
186
|
}
|
|
187
187
|
}
|
|
188
|
-
function
|
|
188
|
+
function on(e) {
|
|
189
189
|
const r = [], t = [];
|
|
190
190
|
nr.forEach((i) => e.indexOf(i) === -1 ? r.push(i) : t.push(i)), t.forEach((i) => i()), nr = r;
|
|
191
191
|
}
|
|
192
|
-
const
|
|
193
|
-
function
|
|
194
|
-
e && e.i && (
|
|
192
|
+
const 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
198
|
i && i.m(r, t), vt(() => {
|
|
199
|
-
const s = e.$$.on_mount.map(
|
|
199
|
+
const s = e.$$.on_mount.map(mi).filter(Bt);
|
|
200
200
|
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : ur(s), e.$$.on_mount = [];
|
|
201
201
|
}), n.forEach(vt);
|
|
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), ur(t.on_destroy), t.fragment && t.fragment.d(r), t.on_destroy = t.fragment = null, t.ctx = []);
|
|
206
206
|
}
|
|
207
|
-
function
|
|
208
|
-
e.$$.dirty[0] === -1 && (ir.push(e),
|
|
207
|
+
function hn(e, r) {
|
|
208
|
+
e.$$.dirty[0] === -1 && (ir.push(e), nn(), e.$$.dirty.fill(0)), e.$$.dirty[r / 31 | 0] |= 1 << r % 31;
|
|
209
209
|
}
|
|
210
|
-
function
|
|
210
|
+
function fn(e, r, t, i, n, s, a = null, l = [-1]) {
|
|
211
211
|
const h = Br;
|
|
212
212
|
Tr(e);
|
|
213
213
|
const c = e.$$ = {
|
|
@@ -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
|
|
@@ -235,19 +235,19 @@ function cn(e, r, t, i, n, s, a = null, l = [-1]) {
|
|
|
235
235
|
let f = !1;
|
|
236
236
|
if (c.ctx = t ? t(e, r.props || {}, (m, g, ...b) => {
|
|
237
237
|
const w = b.length ? b[0] : g;
|
|
238
|
-
return c.ctx && n(c.ctx[m], c.ctx[m] = w) && (!c.skip_bound && c.bound[m] && c.bound[m](w), f &&
|
|
238
|
+
return c.ctx && n(c.ctx[m], c.ctx[m] = w) && (!c.skip_bound && c.bound[m] && c.bound[m](w), f && hn(e, m)), g;
|
|
239
239
|
}) : [], c.update(), f = !0, ur(c.before_update), c.fragment = i ? i(c.ctx) : !1, r.target) {
|
|
240
240
|
if (r.hydrate) {
|
|
241
|
-
const m =
|
|
241
|
+
const m = 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
|
Tr(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,7 +308,7 @@ 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) {
|
|
@@ -319,7 +319,7 @@ typeof HTMLElement == "function" && (gi = class extends HTMLElement {
|
|
|
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: []
|
|
@@ -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
|
}
|
|
@@ -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
|
|
@@ -471,13 +471,13 @@ 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(
|
|
477
|
+
const gn = "4";
|
|
478
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(gn);
|
|
479
479
|
const tr = [];
|
|
480
|
-
function
|
|
480
|
+
function pn(e, r) {
|
|
481
481
|
return {
|
|
482
482
|
subscribe: nt(e, r).subscribe
|
|
483
483
|
};
|
|
@@ -486,7 +486,7 @@ function nt(e, r = z) {
|
|
|
486
486
|
let t;
|
|
487
487
|
const i = /* @__PURE__ */ new Set();
|
|
488
488
|
function n(l) {
|
|
489
|
-
if (
|
|
489
|
+
if (gi(e, l) && (e = l, t)) {
|
|
490
490
|
const h = !tr.length;
|
|
491
491
|
for (const c of i)
|
|
492
492
|
c[1](), tr.push(c, e);
|
|
@@ -513,7 +513,7 @@ function cr(e, r, t) {
|
|
|
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;
|
|
@@ -524,7 +524,7 @@ function cr(e, r, t) {
|
|
|
524
524
|
const w = r(i ? c[0] : c, a, l);
|
|
525
525
|
s ? a(w) : m = Bt(w) ? w : z;
|
|
526
526
|
}, b = n.map(
|
|
527
|
-
(w, E) =>
|
|
527
|
+
(w, E) => pi(
|
|
528
528
|
w,
|
|
529
529
|
(A) => {
|
|
530
530
|
c[E] = A, f &= ~(1 << E), h && g();
|
|
@@ -539,70 +539,70 @@ function cr(e, r, t) {
|
|
|
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 wn = typeof Symbol == "function" && Symbol.for, _n = wn ? Symbol.for("react.element") : 60103;
|
|
556
|
+
function Sn(e) {
|
|
557
|
+
return e.$$typeof === _n;
|
|
558
558
|
}
|
|
559
|
-
function
|
|
559
|
+
function Pn(e) {
|
|
560
560
|
return Array.isArray(e) ? [] : {};
|
|
561
561
|
}
|
|
562
562
|
function Ir(e, r) {
|
|
563
|
-
return r.clone !== !1 && r.isMergeableObject(e) ? sr(
|
|
563
|
+
return r.clone !== !1 && r.isMergeableObject(e) ? sr(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
567
|
return Ir(i, t);
|
|
568
568
|
});
|
|
569
569
|
}
|
|
570
|
-
function
|
|
570
|
+
function Cn(e, r) {
|
|
571
571
|
if (!r.customMerge)
|
|
572
572
|
return sr;
|
|
573
573
|
var t = r.customMerge(e);
|
|
574
574
|
return typeof t == "function" ? t : sr;
|
|
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) &&
|
|
596
|
+
return t.isMergeableObject(e) && zt(e).forEach(function(n) {
|
|
597
597
|
i[n] = Ir(e[n], t);
|
|
598
|
-
}),
|
|
599
|
-
|
|
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] = Ir(r[n], t));
|
|
600
600
|
}), i;
|
|
601
601
|
}
|
|
602
602
|
function sr(e, r, t) {
|
|
603
|
-
t = t || {}, t.arrayMerge = t.arrayMerge ||
|
|
603
|
+
t = t || {}, t.arrayMerge = t.arrayMerge || xn, t.isMergeableObject = t.isMergeableObject || yn, t.cloneUnlessOtherwiseSpecified = Ir;
|
|
604
604
|
var i = Array.isArray(r), n = Array.isArray(e), s = i === n;
|
|
605
|
-
return s ? i ? t.arrayMerge(e, r, t) :
|
|
605
|
+
return s ? i ? t.arrayMerge(e, r, t) : Hn(e, r, t) : Ir(r, t);
|
|
606
606
|
}
|
|
607
607
|
sr.all = function(r, t) {
|
|
608
608
|
if (!Array.isArray(r))
|
|
@@ -611,8 +611,8 @@ sr.all = function(r, t) {
|
|
|
611
611
|
return sr(i, n, t);
|
|
612
612
|
}, {});
|
|
613
613
|
};
|
|
614
|
-
var
|
|
615
|
-
const
|
|
614
|
+
var Bn = sr, In = Bn;
|
|
615
|
+
const Nn = /* @__PURE__ */ bn(In);
|
|
616
616
|
/*! *****************************************************************************
|
|
617
617
|
Copyright (c) Microsoft Corporation.
|
|
618
618
|
|
|
@@ -654,7 +654,7 @@ var T = function() {
|
|
|
654
654
|
return r;
|
|
655
655
|
}, T.apply(this, arguments);
|
|
656
656
|
};
|
|
657
|
-
function
|
|
657
|
+
function On(e, r) {
|
|
658
658
|
var t = {};
|
|
659
659
|
for (var i in e)
|
|
660
660
|
Object.prototype.hasOwnProperty.call(e, i) && r.indexOf(i) < 0 && (t[i] = e[i]);
|
|
@@ -670,53 +670,55 @@ function dt(e, r, t) {
|
|
|
670
670
|
return e.concat(s || r);
|
|
671
671
|
}
|
|
672
672
|
function mt(e, r) {
|
|
673
|
-
var t = r && r.cache ? r.cache :
|
|
673
|
+
var t = r && r.cache ? r.cache : Fn, i = r && r.serializer ? r.serializer : kn, n = r && r.strategy ? r.strategy : Mn;
|
|
674
674
|
return n(e, {
|
|
675
675
|
cache: t,
|
|
676
676
|
serializer: i
|
|
677
677
|
});
|
|
678
678
|
}
|
|
679
|
-
function
|
|
679
|
+
function Ln(e) {
|
|
680
680
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
681
681
|
}
|
|
682
|
-
function
|
|
683
|
-
var n =
|
|
682
|
+
function Ei(e, r, t, i) {
|
|
683
|
+
var n = Ln(i) ? i : t(i), s = r.get(n);
|
|
684
684
|
return typeof s == "undefined" && (s = e.call(this, i), r.set(n, s)), s;
|
|
685
685
|
}
|
|
686
|
-
function
|
|
686
|
+
function vi(e, r, t) {
|
|
687
687
|
var i = Array.prototype.slice.call(arguments, 3), n = t(i), s = r.get(n);
|
|
688
688
|
return typeof s == "undefined" && (s = e.apply(this, i), r.set(n, s)), s;
|
|
689
689
|
}
|
|
690
|
-
function
|
|
690
|
+
function It(e, r, t, i, n) {
|
|
691
691
|
return t.bind(r, e, i, n);
|
|
692
692
|
}
|
|
693
|
-
function Ln(e, r) {
|
|
694
|
-
var t = e.length === 1 ? On : bi;
|
|
695
|
-
return yi(e, this, t, r.cache.create(), r.serializer);
|
|
696
|
-
}
|
|
697
693
|
function Mn(e, r) {
|
|
698
|
-
|
|
694
|
+
var t = e.length === 1 ? Ei : vi;
|
|
695
|
+
return It(e, this, t, r.cache.create(), r.serializer);
|
|
696
|
+
}
|
|
697
|
+
function Rn(e, r) {
|
|
698
|
+
return It(e, this, vi, r.cache.create(), r.serializer);
|
|
699
699
|
}
|
|
700
|
-
|
|
700
|
+
function Un(e, r) {
|
|
701
|
+
return It(e, this, Ei, r.cache.create(), r.serializer);
|
|
702
|
+
}
|
|
703
|
+
var kn = function() {
|
|
701
704
|
return JSON.stringify(arguments);
|
|
702
|
-
}
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
}()
|
|
714
|
-
), kn = {
|
|
705
|
+
};
|
|
706
|
+
function Nt() {
|
|
707
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
708
|
+
}
|
|
709
|
+
Nt.prototype.get = function(e) {
|
|
710
|
+
return this.cache[e];
|
|
711
|
+
};
|
|
712
|
+
Nt.prototype.set = function(e, r) {
|
|
713
|
+
this.cache[e] = r;
|
|
714
|
+
};
|
|
715
|
+
var Fn = {
|
|
715
716
|
create: function() {
|
|
716
|
-
return new
|
|
717
|
+
return new Nt();
|
|
717
718
|
}
|
|
718
719
|
}, gt = {
|
|
719
|
-
variadic:
|
|
720
|
+
variadic: Rn,
|
|
721
|
+
monadic: Un
|
|
720
722
|
}, S;
|
|
721
723
|
(function(e) {
|
|
722
724
|
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";
|
|
@@ -729,43 +731,43 @@ var or;
|
|
|
729
731
|
(function(e) {
|
|
730
732
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
731
733
|
})(or || (or = {}));
|
|
732
|
-
function
|
|
734
|
+
function Xt(e) {
|
|
733
735
|
return e.type === L.literal;
|
|
734
736
|
}
|
|
735
|
-
function
|
|
737
|
+
function Dn(e) {
|
|
736
738
|
return e.type === L.argument;
|
|
737
739
|
}
|
|
738
|
-
function
|
|
740
|
+
function wi(e) {
|
|
739
741
|
return e.type === L.number;
|
|
740
742
|
}
|
|
741
|
-
function
|
|
743
|
+
function _i(e) {
|
|
742
744
|
return e.type === L.date;
|
|
743
745
|
}
|
|
744
|
-
function
|
|
746
|
+
function Si(e) {
|
|
745
747
|
return e.type === L.time;
|
|
746
748
|
}
|
|
747
|
-
function
|
|
749
|
+
function Pi(e) {
|
|
748
750
|
return e.type === L.select;
|
|
749
751
|
}
|
|
750
|
-
function
|
|
752
|
+
function xi(e) {
|
|
751
753
|
return e.type === L.plural;
|
|
752
754
|
}
|
|
753
|
-
function
|
|
755
|
+
function Gn(e) {
|
|
754
756
|
return e.type === L.pound;
|
|
755
757
|
}
|
|
756
|
-
function
|
|
758
|
+
function Ci(e) {
|
|
757
759
|
return e.type === L.tag;
|
|
758
760
|
}
|
|
759
|
-
function
|
|
761
|
+
function Ai(e) {
|
|
760
762
|
return !!(e && typeof e == "object" && e.type === or.number);
|
|
761
763
|
}
|
|
762
764
|
function _t(e) {
|
|
763
765
|
return !!(e && typeof e == "object" && e.type === or.dateTime);
|
|
764
766
|
}
|
|
765
|
-
var
|
|
766
|
-
function
|
|
767
|
+
var Ti = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, jn = /(?:[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;
|
|
768
|
+
function Vn(e) {
|
|
767
769
|
var r = {};
|
|
768
|
-
return e.replace(
|
|
770
|
+
return e.replace(jn, function(t) {
|
|
769
771
|
var i = t.length;
|
|
770
772
|
switch (t[0]) {
|
|
771
773
|
case "G":
|
|
@@ -854,11 +856,11 @@ function jn(e) {
|
|
|
854
856
|
return "";
|
|
855
857
|
}), r;
|
|
856
858
|
}
|
|
857
|
-
var
|
|
858
|
-
function
|
|
859
|
+
var $n = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
860
|
+
function Qn(e) {
|
|
859
861
|
if (e.length === 0)
|
|
860
862
|
throw new Error("Number skeleton cannot be empty");
|
|
861
|
-
for (var r = e.split(
|
|
863
|
+
for (var r = e.split($n).filter(function(g) {
|
|
862
864
|
return g.length > 0;
|
|
863
865
|
}), t = [], i = 0, n = r; i < n.length; i++) {
|
|
864
866
|
var s = n[i], a = s.split("/");
|
|
@@ -873,17 +875,17 @@ function $n(e) {
|
|
|
873
875
|
}
|
|
874
876
|
return t;
|
|
875
877
|
}
|
|
876
|
-
function
|
|
878
|
+
function zn(e) {
|
|
877
879
|
return e.replace(/^(.*?)-/, "");
|
|
878
880
|
}
|
|
879
|
-
var
|
|
880
|
-
function
|
|
881
|
+
var Zt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Hi = /^(@+)?(\+|#+)?[rs]?$/g, Xn = /(\*)(0+)|(#+)(0+)|(0+)/g, Bi = /^(0+)$/;
|
|
882
|
+
function Wt(e) {
|
|
881
883
|
var r = {};
|
|
882
|
-
return e[e.length - 1] === "r" ? r.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (r.roundingPriority = "lessPrecision"), e.replace(
|
|
884
|
+
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
885
|
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
886
|
}), r;
|
|
885
887
|
}
|
|
886
|
-
function
|
|
888
|
+
function Ii(e) {
|
|
887
889
|
switch (e) {
|
|
888
890
|
case "sign-auto":
|
|
889
891
|
return {
|
|
@@ -923,7 +925,7 @@ function Hi(e) {
|
|
|
923
925
|
};
|
|
924
926
|
}
|
|
925
927
|
}
|
|
926
|
-
function
|
|
928
|
+
function Zn(e) {
|
|
927
929
|
var r;
|
|
928
930
|
if (e[0] === "E" && e[1] === "E" ? (r = {
|
|
929
931
|
notation: "engineering"
|
|
@@ -931,17 +933,17 @@ function Xn(e) {
|
|
|
931
933
|
notation: "scientific"
|
|
932
934
|
}, e = e.slice(1)), r) {
|
|
933
935
|
var t = e.slice(0, 2);
|
|
934
|
-
if (t === "+!" ? (r.signDisplay = "always", e = e.slice(2)) : t === "+?" && (r.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
936
|
+
if (t === "+!" ? (r.signDisplay = "always", e = e.slice(2)) : t === "+?" && (r.signDisplay = "exceptZero", e = e.slice(2)), !Bi.test(e))
|
|
935
937
|
throw new Error("Malformed concise eng/scientific notation");
|
|
936
938
|
r.minimumIntegerDigits = e.length;
|
|
937
939
|
}
|
|
938
940
|
return r;
|
|
939
941
|
}
|
|
940
|
-
function
|
|
941
|
-
var r = {}, t =
|
|
942
|
+
function qt(e) {
|
|
943
|
+
var r = {}, t = Ii(e);
|
|
942
944
|
return t || r;
|
|
943
945
|
}
|
|
944
|
-
function
|
|
946
|
+
function Wn(e) {
|
|
945
947
|
for (var r = {}, t = 0, i = e; t < i.length; t++) {
|
|
946
948
|
var n = i[t];
|
|
947
949
|
switch (n.stem) {
|
|
@@ -965,7 +967,7 @@ function Zn(e) {
|
|
|
965
967
|
continue;
|
|
966
968
|
case "measure-unit":
|
|
967
969
|
case "unit":
|
|
968
|
-
r.style = "unit", r.unit =
|
|
970
|
+
r.style = "unit", r.unit = zn(n.options[0]);
|
|
969
971
|
continue;
|
|
970
972
|
case "compact-short":
|
|
971
973
|
case "K":
|
|
@@ -977,12 +979,12 @@ function Zn(e) {
|
|
|
977
979
|
continue;
|
|
978
980
|
case "scientific":
|
|
979
981
|
r = T(T(T({}, r), { notation: "scientific" }), n.options.reduce(function(h, c) {
|
|
980
|
-
return T(T({}, h),
|
|
982
|
+
return T(T({}, h), qt(c));
|
|
981
983
|
}, {}));
|
|
982
984
|
continue;
|
|
983
985
|
case "engineering":
|
|
984
986
|
r = T(T(T({}, r), { notation: "engineering" }), n.options.reduce(function(h, c) {
|
|
985
|
-
return T(T({}, h),
|
|
987
|
+
return T(T({}, h), qt(c));
|
|
986
988
|
}, {}));
|
|
987
989
|
continue;
|
|
988
990
|
case "notation-simple":
|
|
@@ -1027,7 +1029,7 @@ function Zn(e) {
|
|
|
1027
1029
|
case "integer-width":
|
|
1028
1030
|
if (n.options.length > 1)
|
|
1029
1031
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1030
|
-
n.options[0].replace(
|
|
1032
|
+
n.options[0].replace(Xn, function(h, c, f, m, g, b) {
|
|
1031
1033
|
if (c)
|
|
1032
1034
|
r.minimumIntegerDigits = f.length;
|
|
1033
1035
|
else {
|
|
@@ -1040,27 +1042,27 @@ function Zn(e) {
|
|
|
1040
1042
|
});
|
|
1041
1043
|
continue;
|
|
1042
1044
|
}
|
|
1043
|
-
if (
|
|
1045
|
+
if (Bi.test(n.stem)) {
|
|
1044
1046
|
r.minimumIntegerDigits = n.stem.length;
|
|
1045
1047
|
continue;
|
|
1046
1048
|
}
|
|
1047
|
-
if (
|
|
1049
|
+
if (Zt.test(n.stem)) {
|
|
1048
1050
|
if (n.options.length > 1)
|
|
1049
1051
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1050
|
-
n.stem.replace(
|
|
1052
|
+
n.stem.replace(Zt, function(h, c, f, m, g, b) {
|
|
1051
1053
|
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
1054
|
});
|
|
1053
1055
|
var s = n.options[0];
|
|
1054
|
-
s === "w" ? r = T(T({}, r), { trailingZeroDisplay: "stripIfInteger" }) : s && (r = T(T({}, r),
|
|
1056
|
+
s === "w" ? r = T(T({}, r), { trailingZeroDisplay: "stripIfInteger" }) : s && (r = T(T({}, r), Wt(s)));
|
|
1055
1057
|
continue;
|
|
1056
1058
|
}
|
|
1057
|
-
if (
|
|
1058
|
-
r = T(T({}, r),
|
|
1059
|
+
if (Hi.test(n.stem)) {
|
|
1060
|
+
r = T(T({}, r), Wt(n.stem));
|
|
1059
1061
|
continue;
|
|
1060
1062
|
}
|
|
1061
|
-
var a =
|
|
1063
|
+
var a = Ii(n.stem);
|
|
1062
1064
|
a && (r = T(T({}, r), a));
|
|
1063
|
-
var l =
|
|
1065
|
+
var l = Zn(n.stem);
|
|
1064
1066
|
l && (r = T(T({}, r), l));
|
|
1065
1067
|
}
|
|
1066
1068
|
return r;
|
|
@@ -2480,13 +2482,13 @@ var Yr = {
|
|
|
2480
2482
|
"h"
|
|
2481
2483
|
]
|
|
2482
2484
|
};
|
|
2483
|
-
function
|
|
2485
|
+
function qn(e, r) {
|
|
2484
2486
|
for (var t = "", i = 0; i < e.length; i++) {
|
|
2485
2487
|
var n = e.charAt(i);
|
|
2486
2488
|
if (n === "j") {
|
|
2487
2489
|
for (var s = 0; i + 1 < e.length && e.charAt(i + 1) === n; )
|
|
2488
2490
|
s++, i++;
|
|
2489
|
-
var a = 1 + (s & 1), l = s < 2 ? 1 : 3 + (s >> 1), h = "a", c =
|
|
2491
|
+
var a = 1 + (s & 1), l = s < 2 ? 1 : 3 + (s >> 1), h = "a", c = Jn(r);
|
|
2490
2492
|
for ((c == "H" || c == "k") && (l = 0); l-- > 0; )
|
|
2491
2493
|
t += h;
|
|
2492
2494
|
for (; a-- > 0; )
|
|
@@ -2496,7 +2498,7 @@ function Wn(e, r) {
|
|
|
2496
2498
|
}
|
|
2497
2499
|
return t;
|
|
2498
2500
|
}
|
|
2499
|
-
function
|
|
2501
|
+
function Jn(e) {
|
|
2500
2502
|
var r = e.hourCycle;
|
|
2501
2503
|
if (r === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2502
2504
|
e.hourCycles && // @ts-ignore
|
|
@@ -2518,20 +2520,20 @@ function qn(e) {
|
|
|
2518
2520
|
var n = Yr[i || ""] || Yr[t || ""] || Yr["".concat(t, "-001")] || Yr["001"];
|
|
2519
2521
|
return n[0];
|
|
2520
2522
|
}
|
|
2521
|
-
var pt,
|
|
2523
|
+
var pt, Yn = new RegExp("^".concat(Ti.source, "*")), Kn = new RegExp("".concat(Ti.source, "*$"));
|
|
2522
2524
|
function P(e, r) {
|
|
2523
2525
|
return { start: e, end: r };
|
|
2524
2526
|
}
|
|
2525
|
-
var
|
|
2527
|
+
var es = !!String.prototype.startsWith && "_a".startsWith("a", 1), rs = !!String.fromCodePoint, ts = !!Object.fromEntries, is = !!String.prototype.codePointAt, ns = !!String.prototype.trimStart, ss = !!String.prototype.trimEnd, os = !!Number.isSafeInteger, as = os ? Number.isSafeInteger : function(e) {
|
|
2526
2528
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2527
2529
|
}, St = !0;
|
|
2528
2530
|
try {
|
|
2529
|
-
var
|
|
2530
|
-
St = ((pt =
|
|
2531
|
+
var ls = Oi("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2532
|
+
St = ((pt = ls.exec("a")) === null || pt === void 0 ? void 0 : pt[0]) === "a";
|
|
2531
2533
|
} catch (e) {
|
|
2532
2534
|
St = !1;
|
|
2533
2535
|
}
|
|
2534
|
-
var
|
|
2536
|
+
var Jt = es ? (
|
|
2535
2537
|
// Native
|
|
2536
2538
|
function(r, t, i) {
|
|
2537
2539
|
return r.startsWith(t, i);
|
|
@@ -2541,7 +2543,7 @@ var Wt = Kn ? (
|
|
|
2541
2543
|
function(r, t, i) {
|
|
2542
2544
|
return r.slice(i, i + t.length) === t;
|
|
2543
2545
|
}
|
|
2544
|
-
), Pt =
|
|
2546
|
+
), Pt = rs ? String.fromCodePoint : (
|
|
2545
2547
|
// IE11
|
|
2546
2548
|
function() {
|
|
2547
2549
|
for (var r = [], t = 0; t < arguments.length; t++)
|
|
@@ -2553,9 +2555,9 @@ var Wt = Kn ? (
|
|
|
2553
2555
|
}
|
|
2554
2556
|
return i;
|
|
2555
2557
|
}
|
|
2556
|
-
),
|
|
2558
|
+
), Yt = (
|
|
2557
2559
|
// native
|
|
2558
|
-
|
|
2560
|
+
ts ? Object.fromEntries : (
|
|
2559
2561
|
// Ponyfill
|
|
2560
2562
|
function(r) {
|
|
2561
2563
|
for (var t = {}, i = 0, n = r; i < n.length; i++) {
|
|
@@ -2565,7 +2567,7 @@ var Wt = Kn ? (
|
|
|
2565
2567
|
return t;
|
|
2566
2568
|
}
|
|
2567
2569
|
)
|
|
2568
|
-
),
|
|
2570
|
+
), Ni = is ? (
|
|
2569
2571
|
// Native
|
|
2570
2572
|
function(r, t) {
|
|
2571
2573
|
return r.codePointAt(t);
|
|
@@ -2579,7 +2581,7 @@ var Wt = Kn ? (
|
|
|
2579
2581
|
return n < 55296 || n > 56319 || t + 1 === i || (s = r.charCodeAt(t + 1)) < 56320 || s > 57343 ? n : (n - 55296 << 10) + (s - 56320) + 65536;
|
|
2580
2582
|
}
|
|
2581
2583
|
}
|
|
2582
|
-
),
|
|
2584
|
+
), us = ns ? (
|
|
2583
2585
|
// Native
|
|
2584
2586
|
function(r) {
|
|
2585
2587
|
return r.trimStart();
|
|
@@ -2587,9 +2589,9 @@ var Wt = Kn ? (
|
|
|
2587
2589
|
) : (
|
|
2588
2590
|
// Ponyfill
|
|
2589
2591
|
function(r) {
|
|
2590
|
-
return r.replace(
|
|
2592
|
+
return r.replace(Yn, "");
|
|
2591
2593
|
}
|
|
2592
|
-
),
|
|
2594
|
+
), cs = ss ? (
|
|
2593
2595
|
// Native
|
|
2594
2596
|
function(r) {
|
|
2595
2597
|
return r.trimEnd();
|
|
@@ -2597,32 +2599,32 @@ var Wt = Kn ? (
|
|
|
2597
2599
|
) : (
|
|
2598
2600
|
// Ponyfill
|
|
2599
2601
|
function(r) {
|
|
2600
|
-
return r.replace(
|
|
2602
|
+
return r.replace(Kn, "");
|
|
2601
2603
|
}
|
|
2602
2604
|
);
|
|
2603
|
-
function
|
|
2605
|
+
function Oi(e, r) {
|
|
2604
2606
|
return new RegExp(e, r);
|
|
2605
2607
|
}
|
|
2606
2608
|
var xt;
|
|
2607
2609
|
if (St) {
|
|
2608
|
-
var
|
|
2610
|
+
var Kt = Oi("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2609
2611
|
xt = function(r, t) {
|
|
2610
2612
|
var i;
|
|
2611
|
-
|
|
2612
|
-
var n =
|
|
2613
|
+
Kt.lastIndex = t;
|
|
2614
|
+
var n = Kt.exec(r);
|
|
2613
2615
|
return (i = n[1]) !== null && i !== void 0 ? i : "";
|
|
2614
2616
|
};
|
|
2615
2617
|
} else
|
|
2616
2618
|
xt = function(r, t) {
|
|
2617
2619
|
for (var i = []; ; ) {
|
|
2618
|
-
var n =
|
|
2619
|
-
if (n === void 0 ||
|
|
2620
|
+
var n = Ni(r, t);
|
|
2621
|
+
if (n === void 0 || Li(n) || ms(n))
|
|
2620
2622
|
break;
|
|
2621
2623
|
i.push(n), t += n >= 65536 ? 2 : 1;
|
|
2622
2624
|
}
|
|
2623
2625
|
return Pt.apply(void 0, i);
|
|
2624
2626
|
};
|
|
2625
|
-
var
|
|
2627
|
+
var hs = (
|
|
2626
2628
|
/** @class */
|
|
2627
2629
|
function() {
|
|
2628
2630
|
function e(r, t) {
|
|
@@ -2704,7 +2706,7 @@ var cs = (
|
|
|
2704
2706
|
return this.error(S.INVALID_TAG, P(i, this.clonePosition()));
|
|
2705
2707
|
}, e.prototype.parseTagName = function() {
|
|
2706
2708
|
var r = this.offset();
|
|
2707
|
-
for (this.bump(); !this.isEOF() &&
|
|
2709
|
+
for (this.bump(); !this.isEOF() && ds(this.char()); )
|
|
2708
2710
|
this.bump();
|
|
2709
2711
|
return this.message.slice(r, this.offset());
|
|
2710
2712
|
}, e.prototype.parseLiteral = function(r, t) {
|
|
@@ -2733,7 +2735,7 @@ var cs = (
|
|
|
2733
2735
|
};
|
|
2734
2736
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
2735
2737
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
2736
|
-
!
|
|
2738
|
+
!fs(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
2737
2739
|
}, e.prototype.tryParseQuote = function(r) {
|
|
2738
2740
|
if (this.isEOF() || this.char() !== 39)
|
|
2739
2741
|
return null;
|
|
@@ -2820,7 +2822,7 @@ var cs = (
|
|
|
2820
2822
|
var f = this.clonePosition(), m = this.parseSimpleArgStyleIfPossible();
|
|
2821
2823
|
if (m.err)
|
|
2822
2824
|
return m;
|
|
2823
|
-
var g =
|
|
2825
|
+
var g = cs(m.val);
|
|
2824
2826
|
if (g.length === 0)
|
|
2825
2827
|
return this.error(S.EXPECT_ARGUMENT_STYLE, P(this.clonePosition(), this.clonePosition()));
|
|
2826
2828
|
var b = P(f, this.clonePosition());
|
|
@@ -2830,8 +2832,8 @@ var cs = (
|
|
|
2830
2832
|
if (w.err)
|
|
2831
2833
|
return w;
|
|
2832
2834
|
var E = P(n, this.clonePosition());
|
|
2833
|
-
if (c &&
|
|
2834
|
-
var A =
|
|
2835
|
+
if (c && Jt(c == null ? void 0 : c.style, "::", 0)) {
|
|
2836
|
+
var A = us(c.style.slice(2));
|
|
2835
2837
|
if (l === "number") {
|
|
2836
2838
|
var m = this.parseNumberSkeletonFromString(A, c.styleLocation);
|
|
2837
2839
|
return m.err ? m : {
|
|
@@ -2842,12 +2844,12 @@ var cs = (
|
|
|
2842
2844
|
if (A.length === 0)
|
|
2843
2845
|
return this.error(S.EXPECT_DATE_TIME_SKELETON, E);
|
|
2844
2846
|
var O = A;
|
|
2845
|
-
this.locale && (O =
|
|
2847
|
+
this.locale && (O = qn(A, this.locale));
|
|
2846
2848
|
var g = {
|
|
2847
2849
|
type: or.dateTime,
|
|
2848
2850
|
pattern: O,
|
|
2849
2851
|
location: c.styleLocation,
|
|
2850
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2852
|
+
parsedOptions: this.shouldParseSkeletons ? Vn(O) : {}
|
|
2851
2853
|
}, M = l === "date" ? L.date : L.time;
|
|
2852
2854
|
return {
|
|
2853
2855
|
val: { type: M, value: i, location: E, style: g },
|
|
@@ -2893,7 +2895,7 @@ var cs = (
|
|
|
2893
2895
|
val: {
|
|
2894
2896
|
type: L.select,
|
|
2895
2897
|
value: i,
|
|
2896
|
-
options:
|
|
2898
|
+
options: Yt(ge.val),
|
|
2897
2899
|
location: U
|
|
2898
2900
|
},
|
|
2899
2901
|
err: null
|
|
@@ -2901,7 +2903,7 @@ var cs = (
|
|
|
2901
2903
|
val: {
|
|
2902
2904
|
type: L.plural,
|
|
2903
2905
|
value: i,
|
|
2904
|
-
options:
|
|
2906
|
+
options: Yt(ge.val),
|
|
2905
2907
|
offset: G,
|
|
2906
2908
|
pluralType: l === "plural" ? "cardinal" : "ordinal",
|
|
2907
2909
|
location: U
|
|
@@ -2952,7 +2954,7 @@ var cs = (
|
|
|
2952
2954
|
}, e.prototype.parseNumberSkeletonFromString = function(r, t) {
|
|
2953
2955
|
var i = [];
|
|
2954
2956
|
try {
|
|
2955
|
-
i =
|
|
2957
|
+
i = Qn(r);
|
|
2956
2958
|
} catch (n) {
|
|
2957
2959
|
return this.error(S.INVALID_NUMBER_SKELETON, t);
|
|
2958
2960
|
}
|
|
@@ -2961,7 +2963,7 @@ var cs = (
|
|
|
2961
2963
|
type: or.number,
|
|
2962
2964
|
tokens: i,
|
|
2963
2965
|
location: t,
|
|
2964
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2966
|
+
parsedOptions: this.shouldParseSkeletons ? Wn(i) : {}
|
|
2965
2967
|
},
|
|
2966
2968
|
err: null
|
|
2967
2969
|
};
|
|
@@ -3009,7 +3011,7 @@ var cs = (
|
|
|
3009
3011
|
break;
|
|
3010
3012
|
}
|
|
3011
3013
|
var h = P(n, this.clonePosition());
|
|
3012
|
-
return s ? (a *= i,
|
|
3014
|
+
return s ? (a *= i, as(a) ? { val: a, err: null } : this.error(t, h)) : this.error(r, h);
|
|
3013
3015
|
}, e.prototype.offset = function() {
|
|
3014
3016
|
return this.position.offset;
|
|
3015
3017
|
}, e.prototype.isEOF = function() {
|
|
@@ -3024,7 +3026,7 @@ var cs = (
|
|
|
3024
3026
|
var r = this.position.offset;
|
|
3025
3027
|
if (r >= this.message.length)
|
|
3026
3028
|
throw Error("out of bound");
|
|
3027
|
-
var t =
|
|
3029
|
+
var t = Ni(this.message, r);
|
|
3028
3030
|
if (t === void 0)
|
|
3029
3031
|
throw Error("Offset ".concat(r, " is at invalid UTF-16 code unit boundary"));
|
|
3030
3032
|
return t;
|
|
@@ -3043,7 +3045,7 @@ var cs = (
|
|
|
3043
3045
|
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
3046
|
}
|
|
3045
3047
|
}, e.prototype.bumpIf = function(r) {
|
|
3046
|
-
if (
|
|
3048
|
+
if (Jt(this.message, r, this.offset())) {
|
|
3047
3049
|
for (var t = 0; t < r.length; t++)
|
|
3048
3050
|
this.bump();
|
|
3049
3051
|
return !0;
|
|
@@ -3065,7 +3067,7 @@ var cs = (
|
|
|
3065
3067
|
break;
|
|
3066
3068
|
}
|
|
3067
3069
|
}, e.prototype.bumpSpace = function() {
|
|
3068
|
-
for (; !this.isEOF() &&
|
|
3070
|
+
for (; !this.isEOF() && Li(this.char()); )
|
|
3069
3071
|
this.bump();
|
|
3070
3072
|
}, e.prototype.peek = function() {
|
|
3071
3073
|
if (this.isEOF())
|
|
@@ -3078,30 +3080,30 @@ var cs = (
|
|
|
3078
3080
|
function Ct(e) {
|
|
3079
3081
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3080
3082
|
}
|
|
3081
|
-
function
|
|
3083
|
+
function fs(e) {
|
|
3082
3084
|
return Ct(e) || e === 47;
|
|
3083
3085
|
}
|
|
3084
|
-
function
|
|
3086
|
+
function ds(e) {
|
|
3085
3087
|
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
3088
|
}
|
|
3087
|
-
function
|
|
3089
|
+
function Li(e) {
|
|
3088
3090
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3089
3091
|
}
|
|
3090
|
-
function
|
|
3092
|
+
function ms(e) {
|
|
3091
3093
|
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
3094
|
}
|
|
3093
3095
|
function At(e) {
|
|
3094
3096
|
e.forEach(function(r) {
|
|
3095
|
-
if (delete r.location,
|
|
3097
|
+
if (delete r.location, Pi(r) || xi(r))
|
|
3096
3098
|
for (var t in r.options)
|
|
3097
3099
|
delete r.options[t].location, At(r.options[t].value);
|
|
3098
3100
|
else
|
|
3099
|
-
|
|
3101
|
+
wi(r) && Ai(r.style) || (_i(r) || Si(r)) && _t(r.style) ? delete r.style.location : Ci(r) && At(r.children);
|
|
3100
3102
|
});
|
|
3101
3103
|
}
|
|
3102
|
-
function
|
|
3104
|
+
function gs(e, r) {
|
|
3103
3105
|
r === void 0 && (r = {}), r = T({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, r);
|
|
3104
|
-
var t = new
|
|
3106
|
+
var t = new hs(e, r).parse();
|
|
3105
3107
|
if (t.err) {
|
|
3106
3108
|
var i = SyntaxError(S[t.err.kind]);
|
|
3107
3109
|
throw i.location = t.err.location, i.originalMessage = t.err.message, i;
|
|
@@ -3124,7 +3126,7 @@ var ot = (
|
|
|
3124
3126
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3125
3127
|
}, r;
|
|
3126
3128
|
}(Error)
|
|
3127
|
-
),
|
|
3129
|
+
), ei = (
|
|
3128
3130
|
/** @class */
|
|
3129
3131
|
function(e) {
|
|
3130
3132
|
st(r, e);
|
|
@@ -3133,7 +3135,7 @@ var ot = (
|
|
|
3133
3135
|
}
|
|
3134
3136
|
return r;
|
|
3135
3137
|
}(ot)
|
|
3136
|
-
),
|
|
3138
|
+
), ps = (
|
|
3137
3139
|
/** @class */
|
|
3138
3140
|
function(e) {
|
|
3139
3141
|
st(r, e);
|
|
@@ -3142,7 +3144,7 @@ var ot = (
|
|
|
3142
3144
|
}
|
|
3143
3145
|
return r;
|
|
3144
3146
|
}(ot)
|
|
3145
|
-
),
|
|
3147
|
+
), bs = (
|
|
3146
3148
|
/** @class */
|
|
3147
3149
|
function(e) {
|
|
3148
3150
|
st(r, e);
|
|
@@ -3155,17 +3157,17 @@ var ot = (
|
|
|
3155
3157
|
(function(e) {
|
|
3156
3158
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3157
3159
|
})(Q || (Q = {}));
|
|
3158
|
-
function
|
|
3160
|
+
function ys(e) {
|
|
3159
3161
|
return e.length < 2 ? e : e.reduce(function(r, t) {
|
|
3160
3162
|
var i = r[r.length - 1];
|
|
3161
3163
|
return !i || i.type !== Q.literal || t.type !== Q.literal ? r.push(t) : i.value += t.value, r;
|
|
3162
3164
|
}, []);
|
|
3163
3165
|
}
|
|
3164
|
-
function
|
|
3166
|
+
function Es(e) {
|
|
3165
3167
|
return typeof e == "function";
|
|
3166
3168
|
}
|
|
3167
3169
|
function et(e, r, t, i, n, s, a) {
|
|
3168
|
-
if (e.length === 1 &&
|
|
3170
|
+
if (e.length === 1 && Xt(e[0]))
|
|
3169
3171
|
return [
|
|
3170
3172
|
{
|
|
3171
3173
|
type: Q.literal,
|
|
@@ -3174,14 +3176,14 @@ function et(e, r, t, i, n, s, a) {
|
|
|
3174
3176
|
];
|
|
3175
3177
|
for (var l = [], h = 0, c = e; h < c.length; h++) {
|
|
3176
3178
|
var f = c[h];
|
|
3177
|
-
if (
|
|
3179
|
+
if (Xt(f)) {
|
|
3178
3180
|
l.push({
|
|
3179
3181
|
type: Q.literal,
|
|
3180
3182
|
value: f.value
|
|
3181
3183
|
});
|
|
3182
3184
|
continue;
|
|
3183
3185
|
}
|
|
3184
|
-
if (
|
|
3186
|
+
if (Gn(f)) {
|
|
3185
3187
|
typeof s == "number" && l.push({
|
|
3186
3188
|
type: Q.literal,
|
|
3187
3189
|
value: t.getNumberFormat(r).format(s)
|
|
@@ -3190,16 +3192,16 @@ function et(e, r, t, i, n, s, a) {
|
|
|
3190
3192
|
}
|
|
3191
3193
|
var m = f.value;
|
|
3192
3194
|
if (!(n && m in n))
|
|
3193
|
-
throw new
|
|
3195
|
+
throw new bs(m, a);
|
|
3194
3196
|
var g = n[m];
|
|
3195
|
-
if (
|
|
3197
|
+
if (Dn(f)) {
|
|
3196
3198
|
(!g || typeof g == "string" || typeof g == "number") && (g = typeof g == "string" || typeof g == "number" ? String(g) : ""), l.push({
|
|
3197
3199
|
type: typeof g == "string" ? Q.literal : Q.object,
|
|
3198
3200
|
value: g
|
|
3199
3201
|
});
|
|
3200
3202
|
continue;
|
|
3201
3203
|
}
|
|
3202
|
-
if (
|
|
3204
|
+
if (_i(f)) {
|
|
3203
3205
|
var b = typeof f.style == "string" ? i.date[f.style] : _t(f.style) ? f.style.parsedOptions : void 0;
|
|
3204
3206
|
l.push({
|
|
3205
3207
|
type: Q.literal,
|
|
@@ -3207,7 +3209,7 @@ function et(e, r, t, i, n, s, a) {
|
|
|
3207
3209
|
});
|
|
3208
3210
|
continue;
|
|
3209
3211
|
}
|
|
3210
|
-
if (
|
|
3212
|
+
if (Si(f)) {
|
|
3211
3213
|
var b = typeof f.style == "string" ? i.time[f.style] : _t(f.style) ? f.style.parsedOptions : i.time.medium;
|
|
3212
3214
|
l.push({
|
|
3213
3215
|
type: Q.literal,
|
|
@@ -3215,18 +3217,18 @@ function et(e, r, t, i, n, s, a) {
|
|
|
3215
3217
|
});
|
|
3216
3218
|
continue;
|
|
3217
3219
|
}
|
|
3218
|
-
if (
|
|
3219
|
-
var b = typeof f.style == "string" ? i.number[f.style] :
|
|
3220
|
+
if (wi(f)) {
|
|
3221
|
+
var b = typeof f.style == "string" ? i.number[f.style] : Ai(f.style) ? f.style.parsedOptions : void 0;
|
|
3220
3222
|
b && b.scale && (g = g * (b.scale || 1)), l.push({
|
|
3221
3223
|
type: Q.literal,
|
|
3222
3224
|
value: t.getNumberFormat(r, b).format(g)
|
|
3223
3225
|
});
|
|
3224
3226
|
continue;
|
|
3225
3227
|
}
|
|
3226
|
-
if (
|
|
3228
|
+
if (Ci(f)) {
|
|
3227
3229
|
var w = f.children, E = f.value, A = n[E];
|
|
3228
|
-
if (!
|
|
3229
|
-
throw new
|
|
3230
|
+
if (!Es(A))
|
|
3231
|
+
throw new ps(E, "function", a);
|
|
3230
3232
|
var O = et(w, r, t, i, n, s), M = A(O.map(function(G) {
|
|
3231
3233
|
return G.value;
|
|
3232
3234
|
}));
|
|
@@ -3237,14 +3239,14 @@ function et(e, r, t, i, n, s, a) {
|
|
|
3237
3239
|
};
|
|
3238
3240
|
}));
|
|
3239
3241
|
}
|
|
3240
|
-
if (
|
|
3242
|
+
if (Pi(f)) {
|
|
3241
3243
|
var R = f.options[g] || f.options.other;
|
|
3242
3244
|
if (!R)
|
|
3243
|
-
throw new
|
|
3245
|
+
throw new ei(f.value, g, Object.keys(f.options), a);
|
|
3244
3246
|
l.push.apply(l, et(R.value, r, t, i, n));
|
|
3245
3247
|
continue;
|
|
3246
3248
|
}
|
|
3247
|
-
if (
|
|
3249
|
+
if (xi(f)) {
|
|
3248
3250
|
var R = f.options["=".concat(g)];
|
|
3249
3251
|
if (!R) {
|
|
3250
3252
|
if (!Intl.PluralRules)
|
|
@@ -3255,21 +3257,21 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
|
3255
3257
|
R = f.options[ce] || f.options.other;
|
|
3256
3258
|
}
|
|
3257
3259
|
if (!R)
|
|
3258
|
-
throw new
|
|
3260
|
+
throw new ei(f.value, g, Object.keys(f.options), a);
|
|
3259
3261
|
l.push.apply(l, et(R.value, r, t, i, n, g - (f.offset || 0)));
|
|
3260
3262
|
continue;
|
|
3261
3263
|
}
|
|
3262
3264
|
}
|
|
3263
|
-
return
|
|
3265
|
+
return ys(l);
|
|
3264
3266
|
}
|
|
3265
|
-
function
|
|
3267
|
+
function vs(e, r) {
|
|
3266
3268
|
return r ? T(T(T({}, e || {}), r || {}), Object.keys(e).reduce(function(t, i) {
|
|
3267
3269
|
return t[i] = T(T({}, e[i]), r[i] || {}), t;
|
|
3268
3270
|
}, {})) : e;
|
|
3269
3271
|
}
|
|
3270
|
-
function
|
|
3272
|
+
function ws(e, r) {
|
|
3271
3273
|
return r ? Object.keys(e).reduce(function(t, i) {
|
|
3272
|
-
return t[i] =
|
|
3274
|
+
return t[i] = vs(e[i], r[i]), t;
|
|
3273
3275
|
}, T({}, e)) : e;
|
|
3274
3276
|
}
|
|
3275
3277
|
function bt(e) {
|
|
@@ -3286,7 +3288,7 @@ function bt(e) {
|
|
|
3286
3288
|
}
|
|
3287
3289
|
};
|
|
3288
3290
|
}
|
|
3289
|
-
function
|
|
3291
|
+
function _s(e) {
|
|
3290
3292
|
return e === void 0 && (e = {
|
|
3291
3293
|
number: {},
|
|
3292
3294
|
dateTime: {},
|
|
@@ -3318,7 +3320,7 @@ function ws(e) {
|
|
|
3318
3320
|
})
|
|
3319
3321
|
};
|
|
3320
3322
|
}
|
|
3321
|
-
var
|
|
3323
|
+
var Ss = (
|
|
3322
3324
|
/** @class */
|
|
3323
3325
|
function() {
|
|
3324
3326
|
function e(r, t, i, n) {
|
|
@@ -3350,13 +3352,13 @@ var _s = (
|
|
|
3350
3352
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3351
3353
|
var a = n || {};
|
|
3352
3354
|
a.formatters;
|
|
3353
|
-
var l =
|
|
3355
|
+
var l = On(a, ["formatters"]);
|
|
3354
3356
|
this.ast = e.__parse(r, T(T({}, l), { locale: this.resolvedLocale }));
|
|
3355
3357
|
} else
|
|
3356
3358
|
this.ast = r;
|
|
3357
3359
|
if (!Array.isArray(this.ast))
|
|
3358
3360
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3359
|
-
this.formats =
|
|
3361
|
+
this.formats = ws(e.formats, i), this.formatters = n && n.formatters || _s(this.formatterCache);
|
|
3360
3362
|
}
|
|
3361
3363
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3362
3364
|
get: function() {
|
|
@@ -3369,7 +3371,7 @@ var _s = (
|
|
|
3369
3371
|
var t = Intl.NumberFormat.supportedLocalesOf(r);
|
|
3370
3372
|
return t.length > 0 ? new Intl.Locale(t[0]) : new Intl.Locale(typeof r == "string" ? r : r[0]);
|
|
3371
3373
|
}
|
|
3372
|
-
}, e.__parse =
|
|
3374
|
+
}, e.__parse = gs, e.formats = {
|
|
3373
3375
|
number: {
|
|
3374
3376
|
integer: {
|
|
3375
3377
|
maximumFractionDigits: 0
|
|
@@ -3430,7 +3432,7 @@ var _s = (
|
|
|
3430
3432
|
}, e;
|
|
3431
3433
|
}()
|
|
3432
3434
|
);
|
|
3433
|
-
function
|
|
3435
|
+
function Ps(e, r) {
|
|
3434
3436
|
if (r == null)
|
|
3435
3437
|
return;
|
|
3436
3438
|
if (r in e)
|
|
@@ -3451,60 +3453,60 @@ function Ss(e, r) {
|
|
|
3451
3453
|
i = void 0;
|
|
3452
3454
|
return i;
|
|
3453
3455
|
}
|
|
3454
|
-
const Oe = {},
|
|
3456
|
+
const Oe = {}, xs = (e, r, t) => t && (r in Oe || (Oe[r] = {}), e in Oe[r] || (Oe[r][e] = t), t), Mi = (e, r) => {
|
|
3455
3457
|
if (r == null)
|
|
3456
3458
|
return;
|
|
3457
3459
|
if (r in Oe && e in Oe[r])
|
|
3458
3460
|
return Oe[r][e];
|
|
3459
3461
|
const t = at(r);
|
|
3460
3462
|
for (let i = 0; i < t.length; i++) {
|
|
3461
|
-
const n = t[i], s =
|
|
3463
|
+
const n = t[i], s = As(n, e);
|
|
3462
3464
|
if (s)
|
|
3463
|
-
return
|
|
3465
|
+
return xs(e, r, s);
|
|
3464
3466
|
}
|
|
3465
3467
|
};
|
|
3466
|
-
let
|
|
3468
|
+
let Ot;
|
|
3467
3469
|
const Or = nt({});
|
|
3468
|
-
function
|
|
3469
|
-
return
|
|
3470
|
+
function Cs(e) {
|
|
3471
|
+
return Ot[e] || null;
|
|
3470
3472
|
}
|
|
3471
|
-
function
|
|
3472
|
-
return e in
|
|
3473
|
+
function Ri(e) {
|
|
3474
|
+
return e in Ot;
|
|
3473
3475
|
}
|
|
3474
|
-
function
|
|
3475
|
-
if (!
|
|
3476
|
+
function As(e, r) {
|
|
3477
|
+
if (!Ri(e))
|
|
3476
3478
|
return null;
|
|
3477
|
-
const t =
|
|
3478
|
-
return
|
|
3479
|
+
const t = Cs(e);
|
|
3480
|
+
return Ps(t, r);
|
|
3479
3481
|
}
|
|
3480
|
-
function
|
|
3482
|
+
function Ts(e) {
|
|
3481
3483
|
if (e == null)
|
|
3482
3484
|
return;
|
|
3483
3485
|
const r = at(e);
|
|
3484
3486
|
for (let t = 0; t < r.length; t++) {
|
|
3485
3487
|
const i = r[t];
|
|
3486
|
-
if (
|
|
3488
|
+
if (Ri(i))
|
|
3487
3489
|
return i;
|
|
3488
3490
|
}
|
|
3489
3491
|
}
|
|
3490
|
-
function
|
|
3491
|
-
delete Oe[e], Or.update((t) => (t[e] =
|
|
3492
|
+
function Ui(e, ...r) {
|
|
3493
|
+
delete Oe[e], Or.update((t) => (t[e] = Nn.all([t[e] || {}, ...r]), t));
|
|
3492
3494
|
}
|
|
3493
3495
|
cr(
|
|
3494
3496
|
[Or],
|
|
3495
3497
|
([e]) => Object.keys(e)
|
|
3496
3498
|
);
|
|
3497
|
-
Or.subscribe((e) =>
|
|
3499
|
+
Or.subscribe((e) => Ot = e);
|
|
3498
3500
|
const rt = {};
|
|
3499
|
-
function
|
|
3501
|
+
function Hs(e, r) {
|
|
3500
3502
|
rt[e].delete(r), rt[e].size === 0 && delete rt[e];
|
|
3501
3503
|
}
|
|
3502
|
-
function
|
|
3504
|
+
function ki(e) {
|
|
3503
3505
|
return rt[e];
|
|
3504
3506
|
}
|
|
3505
|
-
function
|
|
3507
|
+
function Bs(e) {
|
|
3506
3508
|
return at(e).map((r) => {
|
|
3507
|
-
const t =
|
|
3509
|
+
const t = ki(r);
|
|
3508
3510
|
return [r, t ? [...t] : []];
|
|
3509
3511
|
}).filter(([, r]) => r.length > 0);
|
|
3510
3512
|
}
|
|
@@ -3512,31 +3514,31 @@ function Tt(e) {
|
|
|
3512
3514
|
return e == null ? !1 : at(e).some(
|
|
3513
3515
|
(r) => {
|
|
3514
3516
|
var t;
|
|
3515
|
-
return (t =
|
|
3517
|
+
return (t = ki(r)) == null ? void 0 : t.size;
|
|
3516
3518
|
}
|
|
3517
3519
|
);
|
|
3518
3520
|
}
|
|
3519
|
-
function
|
|
3521
|
+
function Is(e, r) {
|
|
3520
3522
|
return Promise.all(
|
|
3521
|
-
r.map((i) => (
|
|
3522
|
-
).then((i) =>
|
|
3523
|
+
r.map((i) => (Hs(e, i), i().then((n) => n.default || n)))
|
|
3524
|
+
).then((i) => Ui(e, ...i));
|
|
3523
3525
|
}
|
|
3524
3526
|
const Ar = {};
|
|
3525
|
-
function
|
|
3527
|
+
function Fi(e) {
|
|
3526
3528
|
if (!Tt(e))
|
|
3527
3529
|
return e in Ar ? Ar[e] : Promise.resolve();
|
|
3528
|
-
const r =
|
|
3530
|
+
const r = Bs(e);
|
|
3529
3531
|
return Ar[e] = Promise.all(
|
|
3530
3532
|
r.map(
|
|
3531
|
-
([t, i]) =>
|
|
3533
|
+
([t, i]) => Is(t, i)
|
|
3532
3534
|
)
|
|
3533
3535
|
).then(() => {
|
|
3534
3536
|
if (Tt(e))
|
|
3535
|
-
return
|
|
3537
|
+
return Fi(e);
|
|
3536
3538
|
delete Ar[e];
|
|
3537
3539
|
}), Ar[e];
|
|
3538
3540
|
}
|
|
3539
|
-
const
|
|
3541
|
+
const Ns = {
|
|
3540
3542
|
number: {
|
|
3541
3543
|
scientific: { notation: "scientific" },
|
|
3542
3544
|
engineering: { notation: "engineering" },
|
|
@@ -3565,34 +3567,34 @@ const Is = {
|
|
|
3565
3567
|
timeZoneName: "short"
|
|
3566
3568
|
}
|
|
3567
3569
|
}
|
|
3568
|
-
},
|
|
3570
|
+
}, Os = {
|
|
3569
3571
|
fallbackLocale: null,
|
|
3570
3572
|
loadingDelay: 200,
|
|
3571
|
-
formats:
|
|
3573
|
+
formats: Ns,
|
|
3572
3574
|
warnOnMissingMessages: !0,
|
|
3573
3575
|
handleMissingMessage: void 0,
|
|
3574
3576
|
ignoreTag: !0
|
|
3575
|
-
},
|
|
3577
|
+
}, Ls = Os;
|
|
3576
3578
|
function lr() {
|
|
3577
|
-
return
|
|
3579
|
+
return Ls;
|
|
3578
3580
|
}
|
|
3579
3581
|
const yt = nt(!1);
|
|
3580
|
-
var
|
|
3582
|
+
var Ms = Object.defineProperty, Rs = Object.defineProperties, Us = Object.getOwnPropertyDescriptors, ri = Object.getOwnPropertySymbols, ks = Object.prototype.hasOwnProperty, Fs = Object.prototype.propertyIsEnumerable, ti = (e, r, t) => r in e ? Ms(e, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[r] = t, Ds = (e, r) => {
|
|
3581
3583
|
for (var t in r || (r = {}))
|
|
3582
|
-
|
|
3583
|
-
if (
|
|
3584
|
-
for (var t of
|
|
3585
|
-
|
|
3584
|
+
ks.call(r, t) && ti(e, t, r[t]);
|
|
3585
|
+
if (ri)
|
|
3586
|
+
for (var t of ri(r))
|
|
3587
|
+
Fs.call(r, t) && ti(e, t, r[t]);
|
|
3586
3588
|
return e;
|
|
3587
|
-
},
|
|
3589
|
+
}, Gs = (e, r) => Rs(e, Us(r));
|
|
3588
3590
|
let Ht;
|
|
3589
3591
|
const tt = nt(null);
|
|
3590
|
-
function
|
|
3592
|
+
function ii(e) {
|
|
3591
3593
|
return e.split("-").map((r, t, i) => i.slice(0, t + 1).join("-")).reverse();
|
|
3592
3594
|
}
|
|
3593
3595
|
function at(e, r = lr().fallbackLocale) {
|
|
3594
|
-
const t =
|
|
3595
|
-
return r ? [.../* @__PURE__ */ new Set([...t, ...
|
|
3596
|
+
const t = ii(e);
|
|
3597
|
+
return r ? [.../* @__PURE__ */ new Set([...t, ...ii(r)])] : t;
|
|
3596
3598
|
}
|
|
3597
3599
|
function De() {
|
|
3598
3600
|
return Ht != null ? Ht : void 0;
|
|
@@ -3600,22 +3602,22 @@ function De() {
|
|
|
3600
3602
|
tt.subscribe((e) => {
|
|
3601
3603
|
Ht = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3602
3604
|
});
|
|
3603
|
-
const
|
|
3604
|
-
if (e &&
|
|
3605
|
+
const js = (e) => {
|
|
3606
|
+
if (e && Ts(e) && Tt(e)) {
|
|
3605
3607
|
const { loadingDelay: r } = lr();
|
|
3606
3608
|
let t;
|
|
3607
3609
|
return typeof window != "undefined" && De() != null && r ? t = window.setTimeout(
|
|
3608
3610
|
() => yt.set(!0),
|
|
3609
3611
|
r
|
|
3610
|
-
) : yt.set(!0),
|
|
3612
|
+
) : yt.set(!0), Fi(e).then(() => {
|
|
3611
3613
|
tt.set(e);
|
|
3612
3614
|
}).finally(() => {
|
|
3613
3615
|
clearTimeout(t), yt.set(!1);
|
|
3614
3616
|
});
|
|
3615
3617
|
}
|
|
3616
3618
|
return tt.set(e);
|
|
3617
|
-
}, hr = Ds(
|
|
3618
|
-
set:
|
|
3619
|
+
}, hr = Gs(Ds({}, tt), {
|
|
3620
|
+
set: js
|
|
3619
3621
|
}), lt = (e) => {
|
|
3620
3622
|
const r = /* @__PURE__ */ Object.create(null);
|
|
3621
3623
|
return (i) => {
|
|
@@ -3623,20 +3625,20 @@ const Gs = (e) => {
|
|
|
3623
3625
|
return n in r ? r[n] : r[n] = e(i);
|
|
3624
3626
|
};
|
|
3625
3627
|
};
|
|
3626
|
-
var
|
|
3628
|
+
var Vs = Object.defineProperty, it = Object.getOwnPropertySymbols, Di = Object.prototype.hasOwnProperty, Gi = Object.prototype.propertyIsEnumerable, ni = (e, r, t) => r in e ? Vs(e, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[r] = t, Lt = (e, r) => {
|
|
3627
3629
|
for (var t in r || (r = {}))
|
|
3628
|
-
|
|
3630
|
+
Di.call(r, t) && ni(e, t, r[t]);
|
|
3629
3631
|
if (it)
|
|
3630
3632
|
for (var t of it(r))
|
|
3631
|
-
|
|
3633
|
+
Gi.call(r, t) && ni(e, t, r[t]);
|
|
3632
3634
|
return e;
|
|
3633
3635
|
}, fr = (e, r) => {
|
|
3634
3636
|
var t = {};
|
|
3635
3637
|
for (var i in e)
|
|
3636
|
-
|
|
3638
|
+
Di.call(e, i) && r.indexOf(i) < 0 && (t[i] = e[i]);
|
|
3637
3639
|
if (e != null && it)
|
|
3638
3640
|
for (var i of it(e))
|
|
3639
|
-
r.indexOf(i) < 0 &&
|
|
3641
|
+
r.indexOf(i) < 0 && Gi.call(e, i) && (t[i] = e[i]);
|
|
3640
3642
|
return t;
|
|
3641
3643
|
};
|
|
3642
3644
|
const Nr = (e, r) => {
|
|
@@ -3644,21 +3646,21 @@ const Nr = (e, r) => {
|
|
|
3644
3646
|
if (e in t && r in t[e])
|
|
3645
3647
|
return t[e][r];
|
|
3646
3648
|
throw new Error(`[svelte-i18n] Unknown "${r}" ${e} format.`);
|
|
3647
|
-
},
|
|
3649
|
+
}, $s = lt(
|
|
3648
3650
|
(e) => {
|
|
3649
3651
|
var r = e, { locale: t, format: i } = r, n = fr(r, ["locale", "format"]);
|
|
3650
3652
|
if (t == null)
|
|
3651
3653
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3652
3654
|
return i && (n = Nr("number", i)), new Intl.NumberFormat(t, n);
|
|
3653
3655
|
}
|
|
3654
|
-
),
|
|
3656
|
+
), Qs = lt(
|
|
3655
3657
|
(e) => {
|
|
3656
3658
|
var r = e, { locale: t, format: i } = r, n = fr(r, ["locale", "format"]);
|
|
3657
3659
|
if (t == null)
|
|
3658
3660
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3659
3661
|
return i ? n = Nr("date", i) : Object.keys(n).length === 0 && (n = Nr("date", "short")), new Intl.DateTimeFormat(t, n);
|
|
3660
3662
|
}
|
|
3661
|
-
),
|
|
3663
|
+
), zs = lt(
|
|
3662
3664
|
(e) => {
|
|
3663
3665
|
var r = e, { locale: t, format: i } = r, n = fr(r, ["locale", "format"]);
|
|
3664
3666
|
if (t == null)
|
|
@@ -3667,33 +3669,33 @@ const Nr = (e, r) => {
|
|
|
3667
3669
|
);
|
|
3668
3670
|
return i ? n = Nr("time", i) : Object.keys(n).length === 0 && (n = Nr("time", "short")), new Intl.DateTimeFormat(t, n);
|
|
3669
3671
|
}
|
|
3670
|
-
),
|
|
3672
|
+
), Xs = (e = {}) => {
|
|
3671
3673
|
var r = e, {
|
|
3672
3674
|
locale: t = De()
|
|
3673
3675
|
} = r, i = fr(r, [
|
|
3674
3676
|
"locale"
|
|
3675
3677
|
]);
|
|
3676
|
-
return
|
|
3677
|
-
},
|
|
3678
|
+
return $s(Lt({ locale: t }, i));
|
|
3679
|
+
}, Zs = (e = {}) => {
|
|
3678
3680
|
var r = e, {
|
|
3679
3681
|
locale: t = De()
|
|
3680
3682
|
} = r, i = fr(r, [
|
|
3681
3683
|
"locale"
|
|
3682
3684
|
]);
|
|
3683
|
-
return
|
|
3684
|
-
},
|
|
3685
|
+
return Qs(Lt({ locale: t }, i));
|
|
3686
|
+
}, Ws = (e = {}) => {
|
|
3685
3687
|
var r = e, {
|
|
3686
3688
|
locale: t = De()
|
|
3687
3689
|
} = r, i = fr(r, [
|
|
3688
3690
|
"locale"
|
|
3689
3691
|
]);
|
|
3690
|
-
return
|
|
3691
|
-
},
|
|
3692
|
+
return zs(Lt({ locale: t }, i));
|
|
3693
|
+
}, qs = lt(
|
|
3692
3694
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3693
|
-
(e, r = De()) => new
|
|
3695
|
+
(e, r = De()) => new Ss(e, r, lr().formats, {
|
|
3694
3696
|
ignoreTag: lr().ignoreTag
|
|
3695
3697
|
})
|
|
3696
|
-
),
|
|
3698
|
+
), Js = (e, r = {}) => {
|
|
3697
3699
|
var t, i, n, s;
|
|
3698
3700
|
let a = r;
|
|
3699
3701
|
typeof e == "object" && (a = e, e = a.id);
|
|
@@ -3706,7 +3708,7 @@ const Nr = (e, r) => {
|
|
|
3706
3708
|
throw new Error(
|
|
3707
3709
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
3708
3710
|
);
|
|
3709
|
-
let f =
|
|
3711
|
+
let f = Mi(e, h);
|
|
3710
3712
|
if (!f)
|
|
3711
3713
|
f = (s = (n = (i = (t = lr()).handleMissingMessage) == null ? void 0 : i.call(t, { locale: h, id: e, defaultValue: c })) != null ? n : c) != null ? s : e;
|
|
3712
3714
|
else if (typeof f != "string")
|
|
@@ -3717,7 +3719,7 @@ const Nr = (e, r) => {
|
|
|
3717
3719
|
return f;
|
|
3718
3720
|
let m = f;
|
|
3719
3721
|
try {
|
|
3720
|
-
m =
|
|
3722
|
+
m = qs(f, h).format(l);
|
|
3721
3723
|
} catch (g) {
|
|
3722
3724
|
g instanceof Error && console.warn(
|
|
3723
3725
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -3725,18 +3727,18 @@ const Nr = (e, r) => {
|
|
|
3725
3727
|
);
|
|
3726
3728
|
}
|
|
3727
3729
|
return m;
|
|
3728
|
-
},
|
|
3729
|
-
cr([hr], () => Js);
|
|
3730
|
+
}, Ys = (e, r) => Ws(r).format(e), Ks = (e, r) => Zs(r).format(e), eo = (e, r) => Xs(r).format(e), ro = (e, r = De()) => Mi(e, r), to = cr([hr, Or], () => Js);
|
|
3730
3731
|
cr([hr], () => Ys);
|
|
3731
3732
|
cr([hr], () => Ks);
|
|
3732
|
-
cr([hr
|
|
3733
|
-
|
|
3734
|
-
|
|
3733
|
+
cr([hr], () => eo);
|
|
3734
|
+
cr([hr, Or], () => ro);
|
|
3735
|
+
function si(e, r) {
|
|
3736
|
+
Ui(e, r);
|
|
3735
3737
|
}
|
|
3736
|
-
function
|
|
3738
|
+
function io(e) {
|
|
3737
3739
|
hr.set(e);
|
|
3738
3740
|
}
|
|
3739
|
-
const
|
|
3741
|
+
const oi = {
|
|
3740
3742
|
en: {
|
|
3741
3743
|
registerTitle: "Create your account",
|
|
3742
3744
|
registerSubtitle: "Already have an account?",
|
|
@@ -3991,13 +3993,13 @@ const ni = {
|
|
|
3991
3993
|
registerNext: "Next"
|
|
3992
3994
|
}
|
|
3993
3995
|
};
|
|
3994
|
-
function
|
|
3996
|
+
function no(e, r) {
|
|
3995
3997
|
if (e) {
|
|
3996
3998
|
const t = document.createElement("style");
|
|
3997
3999
|
t.innerHTML = r, e.appendChild(t);
|
|
3998
4000
|
}
|
|
3999
4001
|
}
|
|
4000
|
-
function
|
|
4002
|
+
function so(e, r) {
|
|
4001
4003
|
const t = new URL(r);
|
|
4002
4004
|
fetch(t.href).then((i) => i.text()).then((i) => {
|
|
4003
4005
|
const n = document.createElement("style");
|
|
@@ -4006,7 +4008,7 @@ function no(e, r) {
|
|
|
4006
4008
|
console.error("There was an error while trying to load client styling from URL", i);
|
|
4007
4009
|
});
|
|
4008
4010
|
}
|
|
4009
|
-
function
|
|
4011
|
+
function oo(e, r, t) {
|
|
4010
4012
|
if (window.emMessageBus) {
|
|
4011
4013
|
const i = document.createElement("style");
|
|
4012
4014
|
window.emMessageBus.subscribe(r, (n) => {
|
|
@@ -4014,10 +4016,10 @@ function so(e, r, t) {
|
|
|
4014
4016
|
});
|
|
4015
4017
|
}
|
|
4016
4018
|
}
|
|
4017
|
-
function
|
|
4018
|
-
|
|
4019
|
+
function ao(e) {
|
|
4020
|
+
Wi(e, "svelte-6m40jp", ".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, #D0046C));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, #D0046C));background:var(--emw--color-pale, #FBECF4);color:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C))}.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, #D0046C))}.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, #D0046C));border:1px solid var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));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
4021
|
}
|
|
4020
|
-
function
|
|
4022
|
+
function ai(e) {
|
|
4021
4023
|
let r, t = (
|
|
4022
4024
|
/*$_*/
|
|
4023
4025
|
e[30]("registerEmailError") + ""
|
|
@@ -4039,7 +4041,7 @@ function si(e) {
|
|
|
4039
4041
|
}
|
|
4040
4042
|
};
|
|
4041
4043
|
}
|
|
4042
|
-
function
|
|
4044
|
+
function li(e) {
|
|
4043
4045
|
let r, t = (
|
|
4044
4046
|
/*$_*/
|
|
4045
4047
|
e[30]("registerUsernameError") + ""
|
|
@@ -4061,7 +4063,7 @@ function oi(e) {
|
|
|
4061
4063
|
}
|
|
4062
4064
|
};
|
|
4063
4065
|
}
|
|
4064
|
-
function
|
|
4066
|
+
function lo(e) {
|
|
4065
4067
|
let r, t, i, n, s, a, l, h, c;
|
|
4066
4068
|
return {
|
|
4067
4069
|
c() {
|
|
@@ -4081,7 +4083,7 @@ function ao(e) {
|
|
|
4081
4083
|
}
|
|
4082
4084
|
};
|
|
4083
4085
|
}
|
|
4084
|
-
function
|
|
4086
|
+
function uo(e) {
|
|
4085
4087
|
let r, t, i, n, s, a, l, h, c, f, m, g, b, w, E;
|
|
4086
4088
|
return {
|
|
4087
4089
|
c() {
|
|
@@ -4101,7 +4103,7 @@ function lo(e) {
|
|
|
4101
4103
|
}
|
|
4102
4104
|
};
|
|
4103
4105
|
}
|
|
4104
|
-
function
|
|
4106
|
+
function ui(e) {
|
|
4105
4107
|
let r, t = (
|
|
4106
4108
|
/*$_*/
|
|
4107
4109
|
e[30]("registerPasswordError") + ""
|
|
@@ -4123,7 +4125,7 @@ function ai(e) {
|
|
|
4123
4125
|
}
|
|
4124
4126
|
};
|
|
4125
4127
|
}
|
|
4126
|
-
function
|
|
4128
|
+
function ci(e) {
|
|
4127
4129
|
let r, t = (
|
|
4128
4130
|
/*$_*/
|
|
4129
4131
|
e[30]("registerSimplePasswordError") + ""
|
|
@@ -4145,7 +4147,7 @@ function li(e) {
|
|
|
4145
4147
|
}
|
|
4146
4148
|
};
|
|
4147
4149
|
}
|
|
4148
|
-
function
|
|
4150
|
+
function co(e) {
|
|
4149
4151
|
let r, t, i, n, s, a, l, h, c;
|
|
4150
4152
|
return {
|
|
4151
4153
|
c() {
|
|
@@ -4165,7 +4167,7 @@ function uo(e) {
|
|
|
4165
4167
|
}
|
|
4166
4168
|
};
|
|
4167
4169
|
}
|
|
4168
|
-
function
|
|
4170
|
+
function ho(e) {
|
|
4169
4171
|
let r, t, i, n, s, a, l, h, c, f, m, g, b, w, E;
|
|
4170
4172
|
return {
|
|
4171
4173
|
c() {
|
|
@@ -4185,7 +4187,7 @@ function co(e) {
|
|
|
4185
4187
|
}
|
|
4186
4188
|
};
|
|
4187
4189
|
}
|
|
4188
|
-
function
|
|
4190
|
+
function hi(e) {
|
|
4189
4191
|
let r, t = (
|
|
4190
4192
|
/*$_*/
|
|
4191
4193
|
e[30]("registerConfirmPasswordError") + ""
|
|
@@ -4207,7 +4209,7 @@ function ui(e) {
|
|
|
4207
4209
|
}
|
|
4208
4210
|
};
|
|
4209
4211
|
}
|
|
4210
|
-
function
|
|
4212
|
+
function fi(e) {
|
|
4211
4213
|
let r, t = (
|
|
4212
4214
|
/*custominputtextswitch*/
|
|
4213
4215
|
(e[2] == "true" ? (
|
|
@@ -4241,7 +4243,7 @@ function ci(e) {
|
|
|
4241
4243
|
}
|
|
4242
4244
|
};
|
|
4243
4245
|
}
|
|
4244
|
-
function
|
|
4246
|
+
function di(e) {
|
|
4245
4247
|
let r, t = (
|
|
4246
4248
|
/*custominputtextswitch*/
|
|
4247
4249
|
(e[2] == "true" ? (
|
|
@@ -4275,7 +4277,7 @@ function hi(e) {
|
|
|
4275
4277
|
}
|
|
4276
4278
|
};
|
|
4277
4279
|
}
|
|
4278
|
-
function
|
|
4280
|
+
function fo(e) {
|
|
4279
4281
|
let r, t, i, n = (
|
|
4280
4282
|
/*$_*/
|
|
4281
4283
|
e[30]("registerTitle") + ""
|
|
@@ -4321,43 +4323,43 @@ function ho(e) {
|
|
|
4321
4323
|
), vr, zr, Ke, Xr, ae, Zr, er, p, N, le = (
|
|
4322
4324
|
/*$_*/
|
|
4323
4325
|
e[30]("registerNext") + ""
|
|
4324
|
-
), ut, Wr, ct,
|
|
4326
|
+
), ut, Wr, ct, Mt, W = (
|
|
4325
4327
|
/*invalidEmail*/
|
|
4326
|
-
e[4] &&
|
|
4328
|
+
e[4] && ai(e)
|
|
4327
4329
|
), q = (
|
|
4328
4330
|
/*invalidName*/
|
|
4329
|
-
e[5] &&
|
|
4331
|
+
e[5] && li(e)
|
|
4330
4332
|
);
|
|
4331
|
-
function
|
|
4333
|
+
function Rt(d, y) {
|
|
4332
4334
|
return (
|
|
4333
4335
|
/*isPasswordVisible*/
|
|
4334
|
-
d[25] ?
|
|
4336
|
+
d[25] ? uo : lo
|
|
4335
4337
|
);
|
|
4336
4338
|
}
|
|
4337
|
-
let qr =
|
|
4339
|
+
let qr = Rt(e), Se = qr(e), J = (
|
|
4338
4340
|
/*invalidPassword*/
|
|
4339
4341
|
e[6] && /*simplepasswordvalidation*/
|
|
4340
|
-
e[0] !== "true" &&
|
|
4342
|
+
e[0] !== "true" && ui(e)
|
|
4341
4343
|
), Y = (
|
|
4342
4344
|
/*invalidPassword*/
|
|
4343
4345
|
e[6] && /*simplepasswordvalidation*/
|
|
4344
|
-
e[0] === "true" &&
|
|
4346
|
+
e[0] === "true" && ci(e)
|
|
4345
4347
|
);
|
|
4346
|
-
function
|
|
4348
|
+
function Ut(d, y) {
|
|
4347
4349
|
return (
|
|
4348
4350
|
/*isConfirmPasswordVisible*/
|
|
4349
|
-
d[26] ?
|
|
4351
|
+
d[26] ? ho : co
|
|
4350
4352
|
);
|
|
4351
4353
|
}
|
|
4352
|
-
let Jr =
|
|
4354
|
+
let Jr = Ut(e), Pe = Jr(e), K = (
|
|
4353
4355
|
/*invalidConfirmPassword*/
|
|
4354
|
-
e[7] &&
|
|
4356
|
+
e[7] && hi(e)
|
|
4355
4357
|
), ee = (
|
|
4356
4358
|
/*invalidSecurityQuestion*/
|
|
4357
|
-
e[8] &&
|
|
4359
|
+
e[8] && fi(e)
|
|
4358
4360
|
), re = (
|
|
4359
4361
|
/*invalidSecurityAnswer*/
|
|
4360
|
-
e[9] &&
|
|
4362
|
+
e[9] && di(e)
|
|
4361
4363
|
);
|
|
4362
4364
|
return {
|
|
4363
4365
|
c() {
|
|
@@ -4416,7 +4418,7 @@ function ho(e) {
|
|
|
4416
4418
|
ae,
|
|
4417
4419
|
/*securityAnswer*/
|
|
4418
4420
|
e[23]
|
|
4419
|
-
), u(de, Zr), re && re.m(de, null), u(E, p), u(E, N), u(N, ut), e[79](r), ct || (
|
|
4421
|
+
), u(de, Zr), re && re.m(de, null), u(E, p), u(E, N), u(N, ut), e[79](r), ct || (Mt = [
|
|
4420
4422
|
x(
|
|
4421
4423
|
m,
|
|
4422
4424
|
"click",
|
|
@@ -4600,7 +4602,7 @@ function ho(e) {
|
|
|
4600
4602
|
], ct = !0);
|
|
4601
4603
|
},
|
|
4602
4604
|
p(d, y) {
|
|
4603
|
-
var wr, _r, Sr, Pr, xr, Cr,
|
|
4605
|
+
var wr, _r, Sr, Pr, xr, Cr, kt, Ft;
|
|
4604
4606
|
y[0] & /*$_*/
|
|
4605
4607
|
1073741824 && n !== (n = /*$_*/
|
|
4606
4608
|
d[30]("registerTitle") + "") && D(s, n), y[0] & /*$_*/
|
|
@@ -4616,7 +4618,7 @@ function ho(e) {
|
|
|
4616
4618
|
/*userEmail*/
|
|
4617
4619
|
d[19]
|
|
4618
4620
|
), /*invalidEmail*/
|
|
4619
|
-
d[4] ? W ? W.p(d, y) : (W =
|
|
4621
|
+
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*/
|
|
4620
4622
|
132112 && Ae !== (Ae = "EmailContainer " + /*invalidEmail*/
|
|
4621
4623
|
(d[4] && !/*emailFocus*/
|
|
4622
4624
|
d[10] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
@@ -4631,7 +4633,7 @@ function ho(e) {
|
|
|
4631
4633
|
/*userValue*/
|
|
4632
4634
|
d[18]
|
|
4633
4635
|
), /*invalidName*/
|
|
4634
|
-
d[5] ? q ? q.p(d, y) : (q =
|
|
4636
|
+
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
4637
|
133152 && Ee !== (Ee = "UserContainer " + /*invalidName*/
|
|
4636
4638
|
(d[5] && !/*usernameFocus*/
|
|
4637
4639
|
d[11] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
@@ -4645,11 +4647,11 @@ function ho(e) {
|
|
|
4645
4647
|
B,
|
|
4646
4648
|
/*userPassword*/
|
|
4647
4649
|
d[20]
|
|
4648
|
-
), qr === (qr =
|
|
4650
|
+
), qr === (qr = Rt(d)) && Se ? Se.p(d, y) : (Se.d(1), Se = qr(d), Se && (Se.c(), Se.m(C, mr))), /*invalidPassword*/
|
|
4649
4651
|
d[6] && /*simplepasswordvalidation*/
|
|
4650
|
-
d[0] !== "true" ? J ? J.p(d, y) : (J =
|
|
4652
|
+
d[0] !== "true" ? J ? J.p(d, y) : (J = ui(d), J.c(), J.m(C, Ve)) : J && (J.d(1), J = null), /*invalidPassword*/
|
|
4651
4653
|
d[6] && /*simplepasswordvalidation*/
|
|
4652
|
-
d[0] === "true" ? Y ? Y.p(d, y) : (Y =
|
|
4654
|
+
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*/
|
|
4653
4655
|
135232 && Re !== (Re = "PasswordContainer " + /*invalidPassword*/
|
|
4654
4656
|
(d[6] && !/*passwordFocus*/
|
|
4655
4657
|
d[12] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
@@ -4663,8 +4665,8 @@ function ho(e) {
|
|
|
4663
4665
|
$,
|
|
4664
4666
|
/*confirmUserPassword*/
|
|
4665
4667
|
d[21]
|
|
4666
|
-
), Jr === (Jr =
|
|
4667
|
-
d[7] ? K ? K.p(d, y) : (K =
|
|
4668
|
+
), Jr === (Jr = Ut(d)) && Pe ? Pe.p(d, y) : (Pe.d(1), Pe = Jr(d), Pe && (Pe.c(), Pe.m(j, ze))), /*invalidConfirmPassword*/
|
|
4669
|
+
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*/
|
|
4668
4670
|
139392 && ke !== (ke = "ConfirmPasswordContainer " + /*invalidConfirmPassword*/
|
|
4669
4671
|
(d[7] && !/*confirmPasswordFocus*/
|
|
4670
4672
|
d[13] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
@@ -4693,11 +4695,11 @@ function ho(e) {
|
|
|
4693
4695
|
/*securityQuestion*/
|
|
4694
4696
|
d[22]
|
|
4695
4697
|
), /*invalidSecurityQuestion*/
|
|
4696
|
-
d[8] ? ee ? ee.p(d, y) : (ee =
|
|
4698
|
+
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*/
|
|
4697
4699
|
147712 && Je !== (Je = "SecurityQuestionContainer " + /*invalidSecurityQuestion*/
|
|
4698
4700
|
(d[8] && !/*securityQFocus*/
|
|
4699
4701
|
d[14] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4700
|
-
(((
|
|
4702
|
+
(((kt = d[17]) == null ? void 0 : kt.indexOf("securityQuestion")) >= 0 ? "Hidden" : "")) && o(fe, "class", Je), y[0] & /*custominputtextswitch, $_*/
|
|
4701
4703
|
1073741828 && Ye !== (Ye = /*custominputtextswitch*/
|
|
4702
4704
|
(d[2] == "true" ? (
|
|
4703
4705
|
/*$_*/
|
|
@@ -4712,11 +4714,11 @@ function ho(e) {
|
|
|
4712
4714
|
/*securityAnswer*/
|
|
4713
4715
|
d[23]
|
|
4714
4716
|
), /*invalidSecurityAnswer*/
|
|
4715
|
-
d[9] ? re ? re.p(d, y) : (re =
|
|
4717
|
+
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*/
|
|
4716
4718
|
164352 && er !== (er = "SecurityAnswerContainer " + /*invalidSecurityAnswer*/
|
|
4717
4719
|
(d[9] && !/*securityAFocus*/
|
|
4718
4720
|
d[15] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4719
|
-
(((
|
|
4721
|
+
(((Ft = d[17]) == null ? void 0 : Ft.indexOf("securityAnswer")) >= 0 ? "Hidden" : "")) && o(de, "class", er), y[0] & /*$_*/
|
|
4720
4722
|
1073741824 && le !== (le = /*$_*/
|
|
4721
4723
|
d[30]("registerNext") + "") && D(ut, le), y[0] & /*isValid*/
|
|
4722
4724
|
536870912 && Wr !== (Wr = !/*isValid*/
|
|
@@ -4725,13 +4727,13 @@ function ho(e) {
|
|
|
4725
4727
|
i: z,
|
|
4726
4728
|
o: z,
|
|
4727
4729
|
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), ct = !1, ur(
|
|
4730
|
+
d && ie(r), W && W.d(), q && q.d(), e[60](null), Se.d(), J && J.d(), Y && Y.d(), e[66](null), Pe.d(), K && K.d(), ee && ee.d(), re && re.d(), e[79](null), ct = !1, ur(Mt);
|
|
4729
4731
|
}
|
|
4730
4732
|
};
|
|
4731
4733
|
}
|
|
4732
|
-
function
|
|
4734
|
+
function mo(e, r, t) {
|
|
4733
4735
|
let i;
|
|
4734
|
-
|
|
4736
|
+
Zi(e, to, (p) => t(30, i = p));
|
|
4735
4737
|
let { lang: n = "" } = r, { disabledfields: s = "" } = r, { simplepasswordvalidation: a = "false" } = r, { mbsource: l } = r, { clientstyling: h = "" } = r, { clientstylingurl: c = "" } = r, { translationurl: f = "" } = r, { savecredentials: m = "" } = r, { custominputtextswitch: g = "false" } = r, b = !1, w = !1, E = !1, A = !1, O = !1, M = !1, R = !1, ce = !1, G = !1, ge = !1, U = !1, Ge = !1, Ae = !1, je, k = "", X = "", he = "", pe = "", ne = "", V = "", Te = "", F = !1, xe = !1, He, Ee, be = {}, C = {
|
|
4736
4738
|
username: !1,
|
|
4737
4739
|
email: !1,
|
|
@@ -4749,14 +4751,14 @@ function fo(e, r, t) {
|
|
|
4749
4751
|
const Lr = () => {
|
|
4750
4752
|
fetch(f).then((N) => N.json()).then((N) => {
|
|
4751
4753
|
Object.keys(N).forEach((le) => {
|
|
4752
|
-
|
|
4754
|
+
si(le, N[le]);
|
|
4753
4755
|
});
|
|
4754
4756
|
}).catch((N) => {
|
|
4755
4757
|
console.log(N);
|
|
4756
4758
|
});
|
|
4757
4759
|
};
|
|
4758
|
-
Object.keys(
|
|
4759
|
-
|
|
4760
|
+
Object.keys(oi).forEach((p) => {
|
|
4761
|
+
si(p, oi[p]);
|
|
4760
4762
|
});
|
|
4761
4763
|
const Le = () => {
|
|
4762
4764
|
window.postMessage({ type: "ToLogin" }, window.location.href);
|
|
@@ -4866,9 +4868,9 @@ function fo(e, r, t) {
|
|
|
4866
4868
|
}, Ur = () => {
|
|
4867
4869
|
t(17, je = s.split(","));
|
|
4868
4870
|
}, _e = () => {
|
|
4869
|
-
|
|
4871
|
+
io(n);
|
|
4870
4872
|
};
|
|
4871
|
-
|
|
4873
|
+
rn(() => (window.addEventListener("message", ke, !1), () => {
|
|
4872
4874
|
window.removeEventListener("message", ke);
|
|
4873
4875
|
}));
|
|
4874
4876
|
const Fe = () => Le();
|
|
@@ -4925,11 +4927,11 @@ function fo(e, r, t) {
|
|
|
4925
4927
|
16384 && s && Ur(), e.$$.dirty[0] & /*simplepasswordvalidation*/
|
|
4926
4928
|
1 && a && mr(), e.$$.dirty[0] & /*customStylingContainer*/
|
|
4927
4929
|
8 | e.$$.dirty[1] & /*clientstyling*/
|
|
4928
|
-
65536 && h && Z &&
|
|
4930
|
+
65536 && h && Z && no(Z, h), e.$$.dirty[0] & /*customStylingContainer*/
|
|
4929
4931
|
8 | e.$$.dirty[1] & /*clientstylingurl*/
|
|
4930
|
-
131072 && c && Z &&
|
|
4932
|
+
131072 && c && Z && so(Z, c), e.$$.dirty[0] & /*customStylingContainer*/
|
|
4931
4933
|
8 | e.$$.dirty[1] & /*mbsource*/
|
|
4932
|
-
32768 && l && Z &&
|
|
4934
|
+
32768 && l && Z && oo(Z, `${l}.Style`), e.$$.dirty[1] & /*translationurl*/
|
|
4933
4935
|
262144 && f && Lr();
|
|
4934
4936
|
}, [
|
|
4935
4937
|
a,
|
|
@@ -5014,14 +5016,14 @@ function fo(e, r, t) {
|
|
|
5014
5016
|
er
|
|
5015
5017
|
];
|
|
5016
5018
|
}
|
|
5017
|
-
class
|
|
5019
|
+
class go extends mn {
|
|
5018
5020
|
constructor(r) {
|
|
5019
|
-
super(),
|
|
5021
|
+
super(), fn(
|
|
5020
5022
|
this,
|
|
5021
5023
|
r,
|
|
5024
|
+
mo,
|
|
5022
5025
|
fo,
|
|
5023
|
-
|
|
5024
|
-
di,
|
|
5026
|
+
gi,
|
|
5025
5027
|
{
|
|
5026
5028
|
lang: 44,
|
|
5027
5029
|
disabledfields: 45,
|
|
@@ -5033,7 +5035,7 @@ class mo extends fn {
|
|
|
5033
5035
|
savecredentials: 1,
|
|
5034
5036
|
custominputtextswitch: 2
|
|
5035
5037
|
},
|
|
5036
|
-
|
|
5038
|
+
ao,
|
|
5037
5039
|
[-1, -1, -1, -1]
|
|
5038
5040
|
);
|
|
5039
5041
|
}
|
|
@@ -5092,7 +5094,7 @@ class mo extends fn {
|
|
|
5092
5094
|
this.$$set({ custominputtextswitch: r }), ye();
|
|
5093
5095
|
}
|
|
5094
5096
|
}
|
|
5095
|
-
|
|
5097
|
+
dn(go, { lang: {}, disabledfields: {}, simplepasswordvalidation: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, savecredentials: {}, custominputtextswitch: {} }, [], [], !0);
|
|
5096
5098
|
export {
|
|
5097
|
-
|
|
5099
|
+
go as default
|
|
5098
5100
|
};
|